From 1e9b9f7ba47d93bea31bcd3268b58c50c3e6287f Mon Sep 17 00:00:00 2001 From: vastxie Date: Tue, 4 Mar 2025 17:36:53 +0800 Subject: [PATCH] v4.1.0 --- .gitignore | 1 - .../.dockerignore | 0 .env.docker => AIWebQuickDeploy/.env.docker | 0 .env.example => AIWebQuickDeploy/.env.example | 2 +- Dockerfile => AIWebQuickDeploy/Dockerfile | 0 {dist => AIWebQuickDeploy/dist}/app.module.js | 0 .../dist}/common/auth/adminAuth.guard.js | 0 .../dist}/common/auth/jwt.strategy.js | 0 .../dist}/common/auth/jwtAuth.guard.js | 0 .../dist}/common/auth/superAuth.guard.js | 0 .../common/constants/balance.constant.js | 0 .../common/constants/errorMessage.constant.js | 0 .../common/constants/midjourney.constant.js | 0 .../dist}/common/constants/status.constant.js | 0 .../dist}/common/constants/user.constant.js | 0 .../common/constants/verification.constant.js | 0 .../dist}/common/entity/baseEntity.js | 0 .../common/filters/allExceptions.filter.js | 0 .../filters/typeOrmQueryFailed.filter.js | 0 .../dist}/common/guards/roles/roles.guard.js | 0 .../common/interceptors/abort.interceptor.js | 0 .../interceptors/transform.interceptor.js | 0 .../common/logger/custom-logger.service.js | 0 .../dist}/common/middleware/xml.middleware.js | 0 .../dist}/common/result/index.js | 0 .../dist}/common/swagger/index.js | 0 .../dist}/common/utils/base.js | 0 .../dist}/common/utils/createOrderId.js | 0 .../dist}/common/utils/createRandomCode.js | 0 .../common/utils/createRandomInviteCode.js | 0 .../common/utils/createRandomNonceStr.js | 0 .../dist}/common/utils/createRandomUid.js | 0 .../dist}/common/utils/date.js | 0 .../dist}/common/utils/encrypt.js | 0 .../dist}/common/utils/fromatUrl.js | 0 .../dist}/common/utils/generateCrami.js | 0 .../dist}/common/utils/getClientIp.js | 0 .../dist}/common/utils/getDiffArray.js | 0 .../dist}/common/utils/getRandomItem.js | 0 .../common/utils/getRandomItemFromArray.js | 0 .../dist}/common/utils/getTokenCount.js | 0 .../dist}/common/utils/handleError.js | 0 .../dist}/common/utils/hideString.js | 0 .../dist}/common/utils/index.js | 0 .../dist}/common/utils/maskCrami.js | 0 .../dist}/common/utils/maskEmail.js | 0 .../dist}/common/utils/maskIpAddress.js | 0 .../common/utils/removeSpecialCharacters.js | 0 .../dist}/common/utils/tools.js | 0 .../dist}/common/utils/utcformatTime.js | 0 {dist => AIWebQuickDeploy/dist}/main.js | 0 .../dist}/modules/ai/aiPPT.js | 0 .../dist}/modules/ai/cogVideo.service.js | 0 .../dist}/modules/ai/fluxDraw.service.js | 0 .../dist}/modules/ai/lumaVideo.service.js | 0 .../modules/ai/midjourneyDraw.service.js | 0 .../dist/modules/ai/netSearch.service.js | 128 + .../dist}/modules/ai/openaiChat.service.js | 0 .../dist}/modules/ai/openaiDraw.service.js | 0 .../modules/ai/stableDiffusion.service.js | 0 .../dist}/modules/ai/suno.service.js | 0 .../dist}/modules/app/app.controller.js | 0 .../dist}/modules/app/app.entity.js | 0 .../dist}/modules/app/app.module.js | 0 .../dist}/modules/app/app.service.js | 0 .../dist}/modules/app/appCats.entity.js | 0 .../dist}/modules/app/dto/collectApp.dto.js | 0 .../dist}/modules/app/dto/createApp.dto.js | 0 .../dist}/modules/app/dto/createCats.dto.js | 0 .../dist}/modules/app/dto/custonApp.dto.js | 0 .../dist}/modules/app/dto/deleteApp.dto.js | 0 .../dist}/modules/app/dto/deleteCats.dto.js | 0 .../dist}/modules/app/dto/queryApp.dto.js | 0 .../dist}/modules/app/dto/queryCats.dto.js | 0 .../dist}/modules/app/dto/updateApp.dto.js | 0 .../dist}/modules/app/dto/updateCats.dto.js | 0 .../dist}/modules/app/userApps.entity.js | 0 .../dist}/modules/auth/auth.controller.js | 0 .../dist}/modules/auth/auth.module.js | 0 .../dist}/modules/auth/auth.service.js | 0 .../dist}/modules/auth/dto/adminLogin.dto.js | 0 .../dist}/modules/auth/dto/authLogin.dto.js | 0 .../modules/auth/dto/authRegister.dto.js | 0 .../dist}/modules/auth/dto/loginByPhone.dt.js | 0 .../modules/auth/dto/sendPhoneCode.dto.js | 0 .../modules/auth/dto/updatePassByOther.dto.js | 0 .../modules/auth/dto/updatePassword.dto.js | 0 .../auth/dto/userRegisterByPhone.dto.js | 0 .../modules/autoreply/autoreply.controller.js | 0 .../modules/autoreply/autoreply.entity.js | 0 .../modules/autoreply/autoreply.module.js | 0 .../modules/autoreply/autoreply.service.js | 0 .../modules/autoreply/dto/addAutoReply.dto.js | 0 .../modules/autoreply/dto/delBadWords.dto.js | 0 .../autoreply/dto/queryAutoReply.dto.js | 0 .../autoreply/dto/updateAutoReply.dto.js | 0 .../modules/badWords/badWords.controller.js | 0 .../dist}/modules/badWords/badWords.entity.js | 0 .../dist}/modules/badWords/badWords.module.js | 0 .../modules/badWords/badWords.service.js | 0 .../modules/badWords/dto/addBadWords.dto.js | 0 .../modules/badWords/dto/delBadWords.dto.js | 0 .../modules/badWords/dto/queryBadWords.dto.js | 0 .../badWords/dto/queryViolation.dto.js | 0 .../badWords/dto/updateBadWords.dto.js | 0 .../modules/badWords/violationLog.entity.js | 0 .../dist}/modules/chat/chat.controller.js | 0 .../dist}/modules/chat/chat.module.js | 2 + .../dist}/modules/chat/chat.service.js | 57 +- .../dist}/modules/chat/dto/chatDraw.dto.js | 0 .../dist}/modules/chat/dto/chatProcess.dto.js | 0 .../dist}/modules/chat/helper.js | 0 .../modules/chatGroup/chatGroup.controller.js | 0 .../modules/chatGroup/chatGroup.entity.js | 0 .../modules/chatGroup/chatGroup.module.js | 0 .../modules/chatGroup/chatGroup.service.js | 0 .../modules/chatGroup/dto/createGroup.dto.js | 0 .../modules/chatGroup/dto/delGroup.dto.js | 0 .../modules/chatGroup/dto/updateGroup.dto.js | 0 .../modules/chatLog/chatLog.controller.js | 0 .../dist}/modules/chatLog/chatLog.entity.js | 0 .../dist}/modules/chatLog/chatLog.module.js | 0 .../dist}/modules/chatLog/chatLog.service.js | 0 .../dist}/modules/chatLog/dto/chatList.dto.js | 0 .../dist}/modules/chatLog/dto/del.dto.js | 0 .../modules/chatLog/dto/delByGroup.dto.js | 0 .../chatLog/dto/exportExcelChatlog.dto.js | 0 .../chatLog/dto/queryAllChatLog.dto.js | 0 .../chatLog/dto/queryAllDrawLog.dto.js | 0 .../modules/chatLog/dto/queryByAppId.dto.js | 0 .../modules/chatLog/dto/queryMyChatLog.dto.js | 0 .../modules/chatLog/dto/recDrawImg.dto.js | 0 .../dist}/modules/crami/crami.controller.js | 0 .../dist}/modules/crami/crami.entity.js | 0 .../dist}/modules/crami/crami.module.js | 0 .../dist}/modules/crami/crami.service.js | 0 .../modules/crami/cramiPackage.entity.js | 0 .../modules/crami/dto/batchDelCrami.dto.js | 0 .../modules/crami/dto/createCrami.dto.js | 0 .../modules/crami/dto/createPackage.dto.js | 0 .../modules/crami/dto/deletePackage.dto.js | 0 .../modules/crami/dto/queryAllCrami.dto.js | 0 .../modules/crami/dto/queryAllPackage.dto.js | 0 .../modules/crami/dto/updatePackage.dto.js | 0 .../dist}/modules/crami/dto/useCrami.dto.js | 0 .../dist}/modules/database/database.module.js | 0 .../modules/database/database.service.js | 0 .../dist}/modules/database/initDatabase.js | 0 .../modules/globalConfig/config.entity.js | 0 .../globalConfig/dto/queryConfig.dto.js | 0 .../modules/globalConfig/dto/setConfig.dto.js | 0 .../globalConfig/dto/setConfigCustom.dto.js | 0 .../globalConfig/globalConfig.controller.js | 0 .../globalConfig/globalConfig.module.js | 0 .../globalConfig/globalConfig.service.js | 3 - .../dist}/modules/mailer/mailer.service.js | 0 .../modules/models/dto/queryModel.dto.js | 0 .../modules/models/dto/queryModelType.dto.js | 0 .../dist}/modules/models/dto/setModel.dto.js | 0 .../modules/models/dto/setModelType.dto.js | 0 .../dist}/modules/models/models.controller.js | 0 .../dist}/modules/models/models.entity.js | 0 .../dist}/modules/models/models.module.js | 0 .../dist}/modules/models/models.service.js | 0 .../modules/official/dto/getQrCode.dto.js | 0 .../modules/official/official.controller.js | 0 .../dist}/modules/official/official.module.js | 0 .../modules/official/official.service.js | 0 .../dist}/modules/order/dto/buy.dto.js | 0 .../modules/order/dto/queryAllOrder.dto.js | 0 .../modules/order/dto/queryByOrder.dto.js | 0 .../dist}/modules/order/order.controller.js | 0 .../dist}/modules/order/order.entity.js | 0 .../dist}/modules/order/order.module.js | 0 .../dist}/modules/order/order.service.js | 0 .../dist}/modules/pay/dto/pay.dto.js | 0 .../dist}/modules/pay/pay.controller.js | 0 .../dist}/modules/pay/pay.module.js | 0 .../dist}/modules/pay/pay.service.js | 0 .../dist}/modules/plugin/plugin.controller.js | 0 .../dist}/modules/plugin/plugin.entity.js | 4 - .../dist}/modules/plugin/plugin.module.js | 0 .../dist}/modules/plugin/plugin.service.js | 24 +- .../dist}/modules/redisCache/dto/redis.dto.js | 0 .../redisCache/redisCache.controller.js | 0 .../modules/redisCache/redisCache.module.js | 0 .../modules/redisCache/redisCache.service.js | 0 .../dist}/modules/signin/signIn.entity.js | 0 .../dist}/modules/signin/signin.controller.js | 0 .../dist}/modules/signin/signin.module.js | 0 .../dist}/modules/signin/signin.service.js | 0 .../statistic/dto/queryStatisticDto.dto.js | 0 .../modules/statistic/statistic.controller.js | 0 .../modules/statistic/statistic.module.js | 0 .../modules/statistic/statistic.service.js | 0 .../dist}/modules/task/task.module.js | 0 .../dist}/modules/task/task.service.js | 0 .../dist}/modules/upload/upload.controller.js | 0 .../dist}/modules/upload/upload.module.js | 0 .../dist}/modules/upload/upload.service.js | 0 .../modules/user/dto/queryAllUser.dto.js | 0 .../modules/user/dto/queryInviteRecord.dto.js | 0 .../dist}/modules/user/dto/queryOne.dto.js | 0 .../modules/user/dto/resetUserPass.dto.js | 0 .../dist}/modules/user/dto/retrieve.dto.js | 0 .../dist}/modules/user/dto/updateUser.dto.js | 0 .../modules/user/dto/updateUserStatus.dto.js | 0 .../modules/user/dto/userRecharge.dto.js | 0 .../dist}/modules/user/user.controller.js | 0 .../dist}/modules/user/user.entity.js | 0 .../dist}/modules/user/user.module.js | 0 .../dist}/modules/user/user.service.js | 0 .../modules/userBalance/accountLog.entity.js | 0 .../modules/userBalance/balance.entity.js | 0 .../dist}/modules/userBalance/dto/test.dto.js | 0 .../modules/userBalance/fingerprint.entity.js | 0 .../userBalance/userBalance.controller.js | 0 .../modules/userBalance/userBalance.entity.js | 0 .../modules/userBalance/userBalance.module.js | 0 .../userBalance/userBalance.service.js | 0 .../verification/dto/verifyCode.dto.js | 0 .../verification/verification.module.js | 0 .../verification/verification.service.js | 0 .../verification/verifycation.entity.js | 0 .../docker-compose.yml | 0 package.json => AIWebQuickDeploy/package.json | 2 +- .../pm2.conf.json | 0 .../public/admin/assets/HButton-Ujw0orpR.js | 2 +- .../admin/assets/HCheckList-DmjIeCde.js | 2 +- ...ue_type_script_setup_true_lang-BLNEihme.js | 2 +- .../public/admin/assets/HDialog-SD64xsF6.js | 2 +- ...ue_type_script_setup_true_lang-an5zbG4e.js | 2 +- .../public/admin/assets/HDropdown-7q7O_XMK.js | 2 +- .../admin/assets/HDropdownMenu-D4uhC_T8.js | 2 +- ...ue_type_script_setup_true_lang-BzkPBd44.js | 2 +- .../public/admin/assets/HInput-BYvs3nsX.js | 2 +- ...ue_type_script_setup_true_lang-B93h6qE_.js | 2 +- .../public/admin/assets/HKbd-Be5shIQ7.js | 2 +- .../public/admin/assets/HSelect-BCiFn2nk.js | 2 +- .../admin/assets/HSlideover-DFpKLdtr.js | 2 +- .../public/admin/assets/HTabList-DKMxIM5w.js | 2 +- ...ue_type_script_setup_true_lang-BuGUQxxq.js | 2 +- .../public/admin/assets/HToggle-BoT9z-_d.js | 2 +- ...ue_type_script_setup_true_lang-CHjOk9yp.js | 2 +- .../public/admin/assets/HTooltip-CW8ZlTRK.js | 2 +- ...ue_type_script_setup_true_lang-CxwyeEWK.js | 2 +- .../public/admin/assets/_...all_-e-47I_Lk.js | 2 +- .../admin/assets/accountLog-fHuxQkeO.js | 2 +- .../public/admin/assets/ali-Mqm0cjbu.js | 2 +- .../public}/admin/assets/apl-B4CMkyY2.js | 0 .../public/admin/assets/app-CZBIwClE.js | 2 +- .../admin/assets/application-BreYJjWu.js | 2 +- .../admin/assets/asciiarmor-Df11BRmG.js | 0 .../public}/admin/assets/asn1-CGOzndHr.js | 0 .../public}/admin/assets/asterisk-B-8jnY81.js | 0 .../public/admin/assets/autpReply-C702DWac.js | 2 +- .../public/admin/assets/badWords-D2Yy-NCt.js | 2 +- .../admin/assets/baiduSensitive-6qem6t8b.js | 2 +- .../admin/assets/baiduStatistics-GAHxOxpS.js | 2 +- .../assets/baseConfiguration-XpujmNvx.js | 2 +- .../admin/assets/brainfuck-C4LP7Hcl.js | 0 .../public/admin/assets/chat-Cul6apvD.js | 2 +- .../public}/admin/assets/chat-DJXUFUH_.css | 0 .../public/admin/assets/chat-u79Q-XSS.js | 2 +- .../public/admin/assets/chevereto-CrU0O1ko.js | 2 +- .../public/admin/assets/classify-C53uJCw1.js | 2 +- .../public}/admin/assets/clike-DWq2Y8ae.js | 0 .../public}/admin/assets/clojure-BMjYHr_A.js | 0 .../public}/admin/assets/cmake-BQqOBYOt.js | 0 .../public}/admin/assets/cobol-XrqhtCFE.js | 0 .../admin/assets/coffeescript-S37ZYGWr.js | 0 .../admin/assets/commonlisp-5jcOZwOE.js | 0 .../public/admin/assets/config-DBls5jtO.js | 2 +- .../public/admin/assets/crami-DF3UkRa8.js | 2 +- .../public}/admin/assets/crystal-SjHAIU92.js | 0 .../public}/admin/assets/css-BnMrqG3P.js | 0 .../public/admin/assets/custom-Dw8_cyTN.js | 2 +- .../public}/admin/assets/cypher-C_CwsFkJ.js | 0 .../public}/admin/assets/d-pRatUO7H.js | 0 .../public}/admin/assets/diff-DbItnlRl.js | 0 .../admin/assets/dockerfile-BuNIbK2j.js | 0 .../public}/admin/assets/draw-BqaQv8sQ.css | 0 .../public/admin/assets/draw-DfPVf5Nv.js | 2 +- .../public}/admin/assets/dtd-DF_7sFjM.js | 0 .../public}/admin/assets/dylan-DwRh75JA.js | 0 .../public}/admin/assets/ebnf-CDyGwa7X.js | 0 .../public}/admin/assets/ecl-Cabwm37j.js | 0 .../public}/admin/assets/edit-C7lymP1E.css | 0 .../admin/assets/edit.password-5Br-3lH_.js | 2 +- .../public}/admin/assets/eiffel-CnydiIhH.js | 0 .../public}/admin/assets/elm-vLlmbW-K.js | 0 .../public/admin/assets/email-Bu_bNWMh.js | 2 +- .../public/admin/assets/epay-ClyHoC23.js | 2 +- .../public}/admin/assets/erlang-BNw1qcRV.js | 0 .../public}/admin/assets/factor-D8pE9siL.js | 0 .../public}/admin/assets/fcl-Kvtd6kyn.js | 0 .../public}/admin/assets/forth-Ffai-XNe.js | 0 .../public}/admin/assets/fortran-DYz_wnZ1.js | 0 .../public}/admin/assets/gas-Bneqetm1.js | 0 .../public}/admin/assets/gherkin-heZmZLOM.js | 0 .../admin/assets/github-redirect-BM9nXGWb.js | 2 +- .../public}/admin/assets/groovy-DKLxxR9y.js | 0 .../public}/admin/assets/haskell-BWDZoCOh.js | 0 .../public}/admin/assets/haxe-pv4rovob.js | 0 .../public}/admin/assets/http-DBlCnlav.js | 0 .../public/admin/assets/hupijiao-PQUyy35q.js | 2 +- .../assets/identityVerification-oP_pBzIE.js | 2 +- .../public}/admin/assets/idl-BEugSyMb.js | 0 .../public}/admin/assets/index--3skRaHe.css | 0 .../public/admin/assets/index-6QRvoxq4.js | 6 +- .../public}/admin/assets/index-7C4DsIyW.css | 0 .../public/admin/assets/index-8uUs3y5b.js | 2 +- .../public/admin/assets/index-B-e7m70K.js | 2 +- .../public/admin/assets/index-B0KIvOZu.js | 2 +- .../public/admin/assets/index-B0yaT7Pj.js | 2 +- .../public}/admin/assets/index-B9lYkwfU.css | 0 .../public}/admin/assets/index-BE-LteFu.js | 0 .../public/admin/assets/index-BE5tQEZB.js | 2 +- .../public/admin/assets/index-BFk93msl.js | 2 +- .../public/admin/assets/index-BLLHBlas.js | 2 +- .../public/admin/assets/index-BRrAnYwh.js | 8 + .../public/admin/assets/index-BYOhJwby.js | 2 +- .../public/admin/assets/index-Bc9Zhmen.js | 2 +- .../public/admin/assets/index-Bd4myPrr.js | 2 +- .../public/admin/assets/index-BdAj7OgB.js | 2 +- .../public/admin/assets/index-BdhdXhTT.js | 2 +- .../public/admin/assets/index-Bnpp2PsS.js | 2 +- .../public/admin/assets/index-BwuB6c9W.js | 8 + .../public/admin/assets/index-BwvH2ULl.js | 8 + .../public/admin/assets/index-CJbdo3UB.js | 2 +- .../public/admin/assets/index-CQq7nD5J.js | 2 +- .../public/admin/assets/index-CTsqQodT.js | 2 +- .../public/admin/assets/index-CYAFQ7HU.js | 2 +- .../public/admin/assets/index-CbgLRpel.js | 2 +- .../public/admin/assets/index-Cho6Pr_4.js | 8 + .../public}/admin/assets/index-CyUQOSLA.css | 0 .../public}/admin/assets/index-D4nnD7rC.css | 0 .../public/admin/assets/index-D5dkoBo_.js | 2 +- .../public}/admin/assets/index-D9XTqpwG.css | 0 .../public}/admin/assets/index-DARZUbFw.css | 0 .../public/admin/assets/index-DFcpibhB.js | 8 + .../public}/admin/assets/index-DLgR7VQ5.css | 0 .../public/admin/assets/index-D_TwDoFD.js | 2 +- .../public}/admin/assets/index-DiTAFdcL.css | 0 .../public/admin/assets/index-DlQMm9C_.js | 2 +- .../public/admin/assets/index-DpvF2gU0.js | 2 +- .../public/admin/assets/index-Dq5t6Z0r.js | 2 +- .../public/admin/assets/index-Dqh7E9u3.js | 2 +- .../public/admin/assets/index-DwPJRGZ5.js | 2 +- .../public/admin/assets/index-DyGHaFdn.js | 2 +- .../public/admin/assets/index-FQR52wpL.js | 2 +- .../public/admin/assets/index-J6vOXMm5.js | 2 +- .../public}/admin/assets/index-KzA8AQdP.css | 0 .../public/admin/assets/index-RKW8DBPc.js | 2 +- .../public/admin/assets/index-V-U6qRSP.js | 2 +- .../public/admin/assets/index-cHk2eZex.js | 2 +- .../public/admin/assets/index-eP4h4BlF.js | 2 +- .../public}/admin/assets/index-eqjq1fUS.css | 0 .../public/admin/assets/index-kG79ZC54.js | 2 +- .../public}/admin/assets/index-matkXqi_.css | 0 .../public}/admin/assets/index-ucei9Tgm.css | 0 .../public/admin/assets/index-wNqALqIp.js | 8 + ...ue_type_script_setup_true_lang-4tK_xNzF.js | 2 +- ...ue_type_script_setup_true_lang-BGlBKwum.js | 2 +- ...ue_type_script_setup_true_lang-BIJvuBmw.js | 2 +- ...ue_type_script_setup_true_lang-BgKLAU11.js | 2 +- ...ue_type_script_setup_true_lang-BhIKqf2a.js | 2 +- ...ue_type_script_setup_true_lang-Bugv63mj.js | 2 +- ...ue_type_script_setup_true_lang-CJnFI54p.js | 2 +- ...ue_type_script_setup_true_lang-DNXKkRlZ.js | 2 +- ...ue_type_script_setup_true_lang-DW2jDI9h.js | 2 +- ...ue_type_script_setup_true_lang-c3O57XSg.js | 2 +- ...ue_type_script_setup_true_lang-zXZwbW_j.js | 2 +- .../public/admin/assets/interface-C0pUInT0.js | 2 +- .../public/admin/assets/item-CgoQGTTQ.js | 8 + .../public/admin/assets/item-DKw0u6VA.js | 8 + ...ue_type_script_setup_true_lang-C02ico3V.js | 8 + ...ue_type_script_setup_true_lang-Dhzk_uDL.js | 2 +- .../admin/assets/javascript-iSgyE4tI.js | 0 .../public}/admin/assets/jinja2-C4DGRd-O.js | 0 .../public}/admin/assets/julia-DuME0IfC.js | 0 .../public/admin/assets/key-SbZ15kXg.js | 2 +- .../public/admin/assets/leftSide-VBkbFeUr.js | 8 + ...ue_type_script_setup_true_lang-Dg-uHS6-.js | 2 +- .../public/admin/assets/link-BvzwK7mO.js | 2 +- .../public}/admin/assets/link-Dx3sI3vO.css | 0 .../admin/assets/livescript-k3uCVVjK.js | 0 .../admin/assets/localStorage-D9Ly4FTr.js | 2 +- .../public/admin/assets/login-CWBz1yfa.js | 2 +- .../public/admin/assets/ltzf-BGADXySl.js | 2 +- .../public}/admin/assets/lua-BgMRiT3U.js | 0 .../admin/assets/marked.esm-8ZxQ78w7.js | 0 .../admin/assets/mathematica-DTrFuWx2.js | 0 .../public}/admin/assets/mbox-CNhZ1qSd.js | 0 .../public}/admin/assets/mirc-CjQqDB4T.js | 0 .../public}/admin/assets/mllike-C_8OmSiT.js | 0 .../public}/admin/assets/modelica-Dc1JOy9r.js | 0 .../public/admin/assets/mpay-02LM1-hB.js | 2 +- .../public}/admin/assets/mscgen-BA5vi2Kp.js | 0 .../public}/admin/assets/mumps-BT43cFF4.js | 0 .../public}/admin/assets/nginx-DdIZxoE0.js | 0 .../public/admin/assets/notice-Dl9A1sfn.js | 2 +- .../public}/admin/assets/nsis-CEAdamBV.js | 0 .../public}/admin/assets/ntriples-BfvgReVJ.js | 0 .../public}/admin/assets/octave-Ck1zUtKM.js | 0 .../public}/admin/assets/oz-BzwKVEFT.js | 0 .../public/admin/assets/package-B_VYKnha.js | 2 +- .../public/admin/assets/package-nRT1s46o.js | 8 + .../public}/admin/assets/pascal-B1wCu0_E.js | 0 .../public}/admin/assets/perl-CdXCOZ3F.js | 0 .../public/admin/assets/phone-DvRFs8Iq.js | 2 +- .../public}/admin/assets/pig-CevX1Tat.js | 0 .../public/admin/assets/plugin-BB9dueQ_.js | 8 + .../public/admin/assets/points-7mr5fEHY.js | 2 +- .../admin/assets/polyfills-CChaUeAE.js | 0 .../admin/assets/powershell-CFHJl5sT.js | 0 .../admin/assets/properties-C78fOPTZ.js | 0 .../public}/admin/assets/protobuf-ChK-085T.js | 0 .../public}/admin/assets/pug-BmUsPMDj.js | 0 .../public}/admin/assets/puppet-DMA9R1ak.js | 0 .../public}/admin/assets/python-BuPzkPfP.js | 0 .../public}/admin/assets/q-ZnEupP5q.js | 0 .../public}/admin/assets/r-DUYO_cvP.js | 0 .../public/admin/assets/register-1wwcbwRm.js | 2 +- .../admin/assets/register-DsQMN5kC.css | 0 .../public/admin/assets/reload-XgcEbP6L.js | 2 +- .../public/admin/assets/rightSide-DeRod8ar.js | 8 + ...ue_type_script_setup_true_lang-Bh_y80-_.js | 2 +- .../public}/admin/assets/rpm-CTu-6PCP.js | 0 .../public}/admin/assets/ruby-B2Rjki9n.js | 0 .../public}/admin/assets/sas-B4kiWyti.js | 0 .../public}/admin/assets/scheme-C41bIUwD.js | 0 .../public/admin/assets/setting-C2TdzxY1.js | 2 +- .../public}/admin/assets/setting-DPas9sHG.css | 0 .../public}/admin/assets/shell-CjFT_Tl9.js | 0 .../public}/admin/assets/sieve-C3Gn_uJK.js | 0 .../admin/assets/simple-mode-C4Nsj8zu.js | 0 .../admin/assets/smalltalk-CnHTOXQT.js | 0 .../public}/admin/assets/solr-DehyRSwq.js | 0 .../public}/admin/assets/sparql-DkYu6x3z.js | 0 .../admin/assets/spreadsheet-BCZA_wO0.js | 0 .../public}/admin/assets/sql-C4g8LzGK.js | 0 .../public}/admin/assets/stex-C3f8Ysf7.js | 0 .../public/admin/assets/style-CSuzBWCF.js | 68 +- .../public}/admin/assets/style-DzVD5h9V.css | 0 .../public}/admin/assets/stylus-q6zbLY83.js | 0 .../public/admin/assets/sub-BYbZdG6Y.js | 8 + ...ue_type_script_setup_true_lang-6LQFZuiJ.js | 2 +- .../public}/admin/assets/swift-BzpIVaGY.js | 0 .../public}/admin/assets/tcl-DVfN8rqt.js | 0 .../public/admin/assets/tencent-DLUjGcyt.js | 2 +- .../public}/admin/assets/textile-CnDTJFAw.js | 0 .../admin/assets/tiddlywiki-DO-Gjzrf.js | 0 .../public}/admin/assets/tiki-DGYXhP31.js | 0 .../public}/admin/assets/toml-BXUEaScT.js | 0 .../public}/admin/assets/troff-wAsdV37c.js | 0 .../public}/admin/assets/ttcn-CiGrtVSZ.js | 0 .../public}/admin/assets/ttcn-cfg-BIkV9KBc.js | 0 .../public}/admin/assets/turtle-B1tBg_DP.js | 0 .../use-resolve-button-type-BE1XPlJv.js | 2 +- .../admin/assets/useMainPage--yVtHxDh.js | 2 +- .../public/admin/assets/useMenu-DJ8_3Y3q.js | 2 +- .../admin/assets/userAgreement-CNd8Qla0.js | 2 +- .../admin/assets/utcformatTime-Bq4gDWNx.js | 0 .../public}/admin/assets/vb-CmGdzxic.js | 0 .../public}/admin/assets/vbscript-BuJXcnF6.js | 0 .../public}/admin/assets/velocity-D8B20fx6.js | 0 .../public}/admin/assets/verilog-C6RDOZhf.js | 0 .../public}/admin/assets/vhdl-lSbBsy5d.js | 0 .../public/admin/assets/violation-BuG_b462.js | 2 +- .../public/admin/assets/visible-D8lJUNYg.js | 8 + .../public}/admin/assets/webidl-ZXfAyPTL.js | 0 .../public/admin/assets/wechat-B077V9uG.js | 2 +- .../public/admin/assets/wechat-iHfqycBm.js | 2 +- .../assets/welcomePageSettings-BNqbw3Pg.js | 2 +- .../public}/admin/assets/xquery-WRlm2TX8.js | 0 .../public}/admin/assets/yacas-BJ4BC0dw.js | 0 .../public}/admin/assets/z80-Hz9HOZM7.js | 0 .../public}/admin/browser_upgrade/chrome.png | Bin .../public}/admin/browser_upgrade/edge.png | Bin .../public}/admin/browser_upgrade/index.css | 0 .../public}/admin/favicon.ico | Bin .../public}/admin/index.html | 2 +- .../public}/admin/loading.css | 0 .../public}/chat/assets/360logo-c09b4832.png | Bin .../public}/chat/assets/404-0d6db85f.svg | 0 .../assets/KaTeX_AMS-Regular-0cdd387c.woff2 | Bin .../assets/KaTeX_AMS-Regular-30da91e8.woff | Bin .../assets/KaTeX_AMS-Regular-68534840.ttf | Bin .../KaTeX_Caligraphic-Bold-07d8e303.ttf | Bin .../KaTeX_Caligraphic-Bold-1ae6bd74.woff | Bin .../KaTeX_Caligraphic-Bold-de7701e4.woff2 | Bin .../KaTeX_Caligraphic-Regular-3398dd02.woff | Bin .../KaTeX_Caligraphic-Regular-5d53e70a.woff2 | Bin .../KaTeX_Caligraphic-Regular-ed0b7437.ttf | Bin .../assets/KaTeX_Fraktur-Bold-74444efd.woff2 | Bin .../assets/KaTeX_Fraktur-Bold-9163df9c.ttf | Bin .../assets/KaTeX_Fraktur-Bold-9be7ceb8.woff | Bin .../assets/KaTeX_Fraktur-Regular-1e6f9579.ttf | Bin .../KaTeX_Fraktur-Regular-51814d27.woff2 | Bin .../KaTeX_Fraktur-Regular-5e28753b.woff | Bin .../assets/KaTeX_Main-Bold-0f60d1b8.woff2 | Bin .../chat/assets/KaTeX_Main-Bold-138ac28d.ttf | Bin .../chat/assets/KaTeX_Main-Bold-c76c5d69.woff | Bin .../assets/KaTeX_Main-BoldItalic-70ee1f64.ttf | Bin .../KaTeX_Main-BoldItalic-99cd42a3.woff2 | Bin .../KaTeX_Main-BoldItalic-a6f7ec0d.woff | Bin .../assets/KaTeX_Main-Italic-0d85ae7c.ttf | Bin .../assets/KaTeX_Main-Italic-97479ca6.woff2 | Bin .../assets/KaTeX_Main-Italic-f1d6ef86.woff | Bin .../assets/KaTeX_Main-Regular-c2342cd8.woff2 | Bin .../assets/KaTeX_Main-Regular-c6368d87.woff | Bin .../assets/KaTeX_Main-Regular-d0332f52.ttf | Bin .../KaTeX_Math-BoldItalic-850c0af5.woff | Bin .../KaTeX_Math-BoldItalic-dc47344d.woff2 | Bin .../assets/KaTeX_Math-BoldItalic-f9377ab0.ttf | Bin .../assets/KaTeX_Math-Italic-08ce98e5.ttf | Bin .../assets/KaTeX_Math-Italic-7af58c5e.woff2 | Bin .../assets/KaTeX_Math-Italic-8a8d2445.woff | Bin .../assets/KaTeX_SansSerif-Bold-1ece03f7.ttf | Bin .../KaTeX_SansSerif-Bold-e99ae511.woff2 | Bin .../assets/KaTeX_SansSerif-Bold-ece03cfd.woff | Bin .../KaTeX_SansSerif-Italic-00b26ac8.woff2 | Bin .../KaTeX_SansSerif-Italic-3931dd81.ttf | Bin .../KaTeX_SansSerif-Italic-91ee6750.woff | Bin .../KaTeX_SansSerif-Regular-11e4dc8a.woff | Bin .../KaTeX_SansSerif-Regular-68e8c73e.woff2 | Bin .../KaTeX_SansSerif-Regular-f36ea897.ttf | Bin .../KaTeX_Script-Regular-036d4e95.woff2 | Bin .../assets/KaTeX_Script-Regular-1c67f068.ttf | Bin .../assets/KaTeX_Script-Regular-d96cdf2b.woff | Bin .../assets/KaTeX_Size1-Regular-6b47c401.woff2 | Bin .../assets/KaTeX_Size1-Regular-95b6d2f1.ttf | Bin .../assets/KaTeX_Size1-Regular-c943cc98.woff | Bin .../assets/KaTeX_Size2-Regular-2014c523.woff | Bin .../assets/KaTeX_Size2-Regular-a6b2099f.ttf | Bin .../assets/KaTeX_Size2-Regular-d04c5421.woff2 | Bin .../assets/KaTeX_Size3-Regular-500e04d5.ttf | Bin .../assets/KaTeX_Size3-Regular-6ab6b62e.woff | Bin .../assets/KaTeX_Size4-Regular-99f9c675.woff | Bin .../assets/KaTeX_Size4-Regular-a4af7d41.woff2 | Bin .../assets/KaTeX_Size4-Regular-c647367d.ttf | Bin .../KaTeX_Typewriter-Regular-71d517d6.woff2 | Bin .../KaTeX_Typewriter-Regular-e14fed02.woff | Bin .../KaTeX_Typewriter-Regular-f01f3e87.ttf | Bin .../public}/chat/assets/Right-153af9c5.js | 0 .../_plugin-vue_export-helper-c27b6911.js | 0 .../public}/chat/assets/alipay-eab94eb8.png | Bin .../public}/chat/assets/avatar-e985e5ec.png | Bin .../chat/assets/baidulogo-bf43b354.png | Bin .../public/chat/assets/chat-7eb7de6c.js | 368 +- .../public/chat/assets/chat-fb203400.css | 1 + .../public/chat/assets/crami-173ca461.js | 2 +- .../public}/chat/assets/dalle-4f19ad1c.png | Bin .../public}/chat/assets/favicon-25a41591.ico | Bin .../public}/chat/assets/google-6f260bf3.gif | Bin .../public/chat/assets/index-1362473a.js | 2 +- .../public}/chat/assets/index-404bb920.css | 0 .../public/chat/assets/index-40baf14c.js | 62 + .../public}/chat/assets/index-5212be5f.css | 0 .../public/chat/assets/index-5d3b5439.js | 2 +- .../public/chat/assets/index-6e56dfd3.css | 10 + .../public}/chat/assets/index-756d601a.css | 0 .../public/chat/assets/index-7e813bfa.js | 4 +- .../public/chat/assets/index-e614ee1e.js | 2 +- .../public/chat/assets/index-fb60d41a.js | 2 +- .../public}/chat/assets/logo-89dd0dfe.png | Bin .../public}/chat/assets/naive-ui-64ac446a.js | 0 .../public}/chat/assets/network-0f22586e.png | Bin .../public}/chat/assets/sdxl-7c167940.png | Bin .../public}/chat/assets/suno-e14fd81c.ico | Bin .../chat/assets/tencentlogo-358d1ec1.png | Bin .../chat/assets/useBasicLayout-18dd2ca5.js | 0 .../public/chat/assets/user-3d98b148.js | 2 +- .../public}/chat/assets/v-viewer-ead8b014.js | 0 .../public}/chat/assets/vue-c19408e5.js | 0 .../chat/assets/vueuse-motion-563da5fd.js | 0 .../public}/chat/assets/wxpay-2d8f84af.png | Bin .../public}/chat/browserconfig.xml | 0 .../public}/chat/favicon.ico | Bin .../chat/icon/android-chrome-192x192.png | Bin .../chat/icon/android-chrome-512x512.png | Bin .../public}/chat/icon/apple-touch-icon.png | Bin .../public}/chat/icon/favicon-16x16.png | Bin .../public}/chat/icon/favicon-32x32.png | Bin .../public}/chat/icon/manifest.webmanifest | 0 .../public}/chat/icon/mstile-150x150.png | Bin .../public}/chat/index.html | 4 +- .../public}/chat/safari-pinned-tab.svg | 0 README.md | 146 +- deploy.sh | 425 - dist/modules/badwords/badwords.controller.js | 100 - dist/modules/badwords/badwords.entity.js | 32 - dist/modules/badwords/badwords.module.js | 30 - dist/modules/badwords/badwords.service.js | 208 - dist/modules/badwords/dto/addBadWords.dto.js | 20 - dist/modules/badwords/dto/delBadWords.dto.js | 20 - .../modules/badwords/dto/queryBadWords.dto.js | 37 - .../badwords/dto/queryViolation.dto.js | 37 - .../badwords/dto/updateBadWords.dto.js | 32 - dist/modules/badwords/violationLog.entity.js | 40 - docs/CHANGELOG.md | 640 + DEPLOYMENT.md => docs/DEPLOYMENT.md | 25 +- docs/DEVELOPMENT.md | 79 + docs/FEATURES.md | 5 + public/admin/assets/index-B26rXOmA.js | 8 - public/admin/assets/index-B8Qbctk3.js | 8 - public/admin/assets/index-BsqAgi1e.js | 8 - public/admin/assets/index-CyBqC5az.js | 8 - public/admin/assets/index-DilPWwlM.js | 8 - public/admin/assets/index-do-psu6b.js | 8 - public/admin/assets/item-BGs210ro.js | 8 - public/admin/assets/item-aUfNz2FD.js | 8 - ...ue_type_script_setup_true_lang-DFSQ8avw.js | 8 - public/admin/assets/leftSide-oWmuAIUP.js | 8 - public/admin/assets/package-B84yLosq.js | 8 - public/admin/assets/plugin-QW7T5kxH.js | 8 - public/admin/assets/rightSide-DTvA-_sw.js | 8 - public/admin/assets/sub-C9kpzA5T.js | 8 - public/admin/assets/visible-ZdW2endy.js | 8 - public/chat/assets/chat-07fbf5d6.css | 1 - public/chat/assets/index-e4921c26.css | 10 - public/chat/assets/index-e5cf7f43.js | 62 - src/DEVELOPMENT.md | 58 - src/admin/package.json | 2 +- .../src/layouts/components/Menu/item.vue | 137 +- src/admin/src/types/auto-imports.d.ts | 4 + src/admin/src/views/app/plugin.vue | 41 +- src/admin/src/views/app/visible.vue | 54 +- src/admin/src/views/models/key.vue | 2 +- src/admin/src/views/package/crami.vue | 2 +- src/admin/src/views/package/package.vue | 4 +- src/build.sh | 37 +- src/chat/package.json | 12 +- .../chat/components/Message/Text/index.vue | 401 +- src/package.json | 32 +- src/pnpm-lock.yaml | 20728 ++++++++++++++++ src/service/.dockerignore | 20 + src/service/.env.docker | 27 + src/service/.env.example | 28 + src/service/Dockerfile | 35 + src/service/docker-compose.yml | 45 + src/service/package.json | 2 +- .../src/modules/ai/netSearch.service.ts | 132 + src/service/src/modules/chat/chat.module.ts | 3 +- src/service/src/modules/chat/chat.service.ts | 65 +- .../globalConfig/globalConfig.service.ts | 5 - .../src/modules/plugin/plugin.entity.ts | 3 - .../src/modules/plugin/plugin.service.ts | 52 +- 649 files changed, 23183 insertions(+), 1925 deletions(-) rename .dockerignore => AIWebQuickDeploy/.dockerignore (100%) rename .env.docker => AIWebQuickDeploy/.env.docker (100%) rename .env.example => AIWebQuickDeploy/.env.example (97%) rename Dockerfile => AIWebQuickDeploy/Dockerfile (100%) rename {dist => AIWebQuickDeploy/dist}/app.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/auth/adminAuth.guard.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/auth/jwt.strategy.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/auth/jwtAuth.guard.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/auth/superAuth.guard.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/constants/balance.constant.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/constants/errorMessage.constant.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/constants/midjourney.constant.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/constants/status.constant.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/constants/user.constant.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/constants/verification.constant.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/entity/baseEntity.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/filters/allExceptions.filter.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/filters/typeOrmQueryFailed.filter.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/guards/roles/roles.guard.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/interceptors/abort.interceptor.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/interceptors/transform.interceptor.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/logger/custom-logger.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/middleware/xml.middleware.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/result/index.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/swagger/index.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/base.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/createOrderId.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/createRandomCode.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/createRandomInviteCode.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/createRandomNonceStr.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/createRandomUid.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/date.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/encrypt.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/fromatUrl.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/generateCrami.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/getClientIp.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/getDiffArray.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/getRandomItem.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/getRandomItemFromArray.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/getTokenCount.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/handleError.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/hideString.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/index.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/maskCrami.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/maskEmail.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/maskIpAddress.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/removeSpecialCharacters.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/tools.js (100%) rename {dist => AIWebQuickDeploy/dist}/common/utils/utcformatTime.js (100%) rename {dist => AIWebQuickDeploy/dist}/main.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/ai/aiPPT.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/ai/cogVideo.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/ai/fluxDraw.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/ai/lumaVideo.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/ai/midjourneyDraw.service.js (100%) create mode 100644 AIWebQuickDeploy/dist/modules/ai/netSearch.service.js rename {dist => AIWebQuickDeploy/dist}/modules/ai/openaiChat.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/ai/openaiDraw.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/ai/stableDiffusion.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/ai/suno.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/app.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/app.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/app.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/app.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/appCats.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/dto/collectApp.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/dto/createApp.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/dto/createCats.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/dto/custonApp.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/dto/deleteApp.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/dto/deleteCats.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/dto/queryApp.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/dto/queryCats.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/dto/updateApp.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/dto/updateCats.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/app/userApps.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/auth.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/auth.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/auth.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/dto/adminLogin.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/dto/authLogin.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/dto/authRegister.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/dto/loginByPhone.dt.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/dto/sendPhoneCode.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/dto/updatePassByOther.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/dto/updatePassword.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/auth/dto/userRegisterByPhone.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/autoreply/autoreply.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/autoreply/autoreply.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/autoreply/autoreply.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/autoreply/autoreply.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/autoreply/dto/addAutoReply.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/autoreply/dto/delBadWords.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/autoreply/dto/queryAutoReply.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/autoreply/dto/updateAutoReply.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/badWords/badWords.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/badWords/badWords.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/badWords/badWords.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/badWords/badWords.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/badWords/dto/addBadWords.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/badWords/dto/delBadWords.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/badWords/dto/queryBadWords.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/badWords/dto/queryViolation.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/badWords/dto/updateBadWords.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/badWords/violationLog.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chat/chat.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chat/chat.module.js (97%) rename {dist => AIWebQuickDeploy/dist}/modules/chat/chat.service.js (91%) rename {dist => AIWebQuickDeploy/dist}/modules/chat/dto/chatDraw.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chat/dto/chatProcess.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chat/helper.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatGroup/chatGroup.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatGroup/chatGroup.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatGroup/chatGroup.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatGroup/chatGroup.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatGroup/dto/createGroup.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatGroup/dto/delGroup.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatGroup/dto/updateGroup.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/chatLog.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/chatLog.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/chatLog.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/chatLog.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/dto/chatList.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/dto/del.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/dto/delByGroup.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/dto/exportExcelChatlog.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/dto/queryAllChatLog.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/dto/queryAllDrawLog.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/dto/queryByAppId.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/dto/queryMyChatLog.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/chatLog/dto/recDrawImg.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/crami.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/crami.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/crami.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/crami.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/cramiPackage.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/dto/batchDelCrami.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/dto/createCrami.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/dto/createPackage.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/dto/deletePackage.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/dto/queryAllCrami.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/dto/queryAllPackage.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/dto/updatePackage.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/crami/dto/useCrami.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/database/database.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/database/database.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/database/initDatabase.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/globalConfig/config.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/globalConfig/dto/queryConfig.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/globalConfig/dto/setConfig.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/globalConfig/dto/setConfigCustom.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/globalConfig/globalConfig.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/globalConfig/globalConfig.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/globalConfig/globalConfig.service.js (98%) rename {dist => AIWebQuickDeploy/dist}/modules/mailer/mailer.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/models/dto/queryModel.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/models/dto/queryModelType.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/models/dto/setModel.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/models/dto/setModelType.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/models/models.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/models/models.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/models/models.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/models/models.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/official/dto/getQrCode.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/official/official.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/official/official.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/official/official.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/order/dto/buy.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/order/dto/queryAllOrder.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/order/dto/queryByOrder.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/order/order.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/order/order.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/order/order.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/order/order.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/pay/dto/pay.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/pay/pay.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/pay/pay.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/pay/pay.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/plugin/plugin.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/plugin/plugin.entity.js (91%) rename {dist => AIWebQuickDeploy/dist}/modules/plugin/plugin.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/plugin/plugin.service.js (82%) rename {dist => AIWebQuickDeploy/dist}/modules/redisCache/dto/redis.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/redisCache/redisCache.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/redisCache/redisCache.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/redisCache/redisCache.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/signin/signIn.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/signin/signin.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/signin/signin.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/signin/signin.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/statistic/dto/queryStatisticDto.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/statistic/statistic.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/statistic/statistic.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/statistic/statistic.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/task/task.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/task/task.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/upload/upload.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/upload/upload.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/upload/upload.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/dto/queryAllUser.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/dto/queryInviteRecord.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/dto/queryOne.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/dto/resetUserPass.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/dto/retrieve.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/dto/updateUser.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/dto/updateUserStatus.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/dto/userRecharge.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/user.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/user.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/user.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/user/user.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/userBalance/accountLog.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/userBalance/balance.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/userBalance/dto/test.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/userBalance/fingerprint.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/userBalance/userBalance.controller.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/userBalance/userBalance.entity.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/userBalance/userBalance.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/userBalance/userBalance.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/verification/dto/verifyCode.dto.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/verification/verification.module.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/verification/verification.service.js (100%) rename {dist => AIWebQuickDeploy/dist}/modules/verification/verifycation.entity.js (100%) rename docker-compose.yml => AIWebQuickDeploy/docker-compose.yml (100%) rename package.json => AIWebQuickDeploy/package.json (99%) rename pm2.conf.json => AIWebQuickDeploy/pm2.conf.json (100%) rename public/admin/assets/HButton-DhTo_DmN.js => AIWebQuickDeploy/public/admin/assets/HButton-Ujw0orpR.js (65%) rename public/admin/assets/HCheckList-C7zKn3lK.js => AIWebQuickDeploy/public/admin/assets/HCheckList-DmjIeCde.js (74%) rename public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-BdsCC1UG.js => AIWebQuickDeploy/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-BLNEihme.js (94%) rename public/admin/assets/HDialog-CPr-tzAo.js => AIWebQuickDeploy/public/admin/assets/HDialog-SD64xsF6.js (74%) rename public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js => AIWebQuickDeploy/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-an5zbG4e.js (97%) rename public/admin/assets/HDropdown-BjwO9ikd.js => AIWebQuickDeploy/public/admin/assets/HDropdown-7q7O_XMK.js (87%) rename public/admin/assets/HDropdownMenu-r0U9_oai.js => AIWebQuickDeploy/public/admin/assets/HDropdownMenu-D4uhC_T8.js (74%) rename public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js => AIWebQuickDeploy/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js (94%) rename public/admin/assets/HInput-B34qGhNq.js => AIWebQuickDeploy/public/admin/assets/HInput-BYvs3nsX.js (74%) rename public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-DzYqFXwU.js => AIWebQuickDeploy/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-B93h6qE_.js (93%) rename public/admin/assets/HKbd-By3ZrrUU.js => AIWebQuickDeploy/public/admin/assets/HKbd-Be5shIQ7.js (88%) rename public/admin/assets/HSelect-CYtELVq1.js => AIWebQuickDeploy/public/admin/assets/HSelect-BCiFn2nk.js (96%) rename public/admin/assets/HSlideover-DVKjWjLO.js => AIWebQuickDeploy/public/admin/assets/HSlideover-DFpKLdtr.js (65%) rename public/admin/assets/HTabList-DFOAZowX.js => AIWebQuickDeploy/public/admin/assets/HTabList-DKMxIM5w.js (62%) rename public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js => AIWebQuickDeploy/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js (98%) rename public/admin/assets/HToggle-5Qxg2Ct6.js => AIWebQuickDeploy/public/admin/assets/HToggle-BoT9z-_d.js (62%) rename public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-iKBpmqsT.js => AIWebQuickDeploy/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-CHjOk9yp.js (96%) rename public/admin/assets/HTooltip-D8zlh0ym.js => AIWebQuickDeploy/public/admin/assets/HTooltip-CW8ZlTRK.js (74%) rename public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js => AIWebQuickDeploy/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js (89%) rename public/admin/assets/_...all_-C9XwyC6X.js => AIWebQuickDeploy/public/admin/assets/_...all_-e-47I_Lk.js (94%) rename public/admin/assets/accountLog-j3jh3-tg.js => AIWebQuickDeploy/public/admin/assets/accountLog-fHuxQkeO.js (94%) rename public/admin/assets/ali-0_edqUL6.js => AIWebQuickDeploy/public/admin/assets/ali-Mqm0cjbu.js (95%) rename {public => AIWebQuickDeploy/public}/admin/assets/apl-B4CMkyY2.js (100%) rename public/admin/assets/app-BCL1kqkG.js => AIWebQuickDeploy/public/admin/assets/app-CZBIwClE.js (87%) rename public/admin/assets/application-Bvco68p6.js => AIWebQuickDeploy/public/admin/assets/application-BreYJjWu.js (97%) rename {public => AIWebQuickDeploy/public}/admin/assets/asciiarmor-Df11BRmG.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/asn1-CGOzndHr.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/asterisk-B-8jnY81.js (100%) rename public/admin/assets/autpReply-iL0HgZca.js => AIWebQuickDeploy/public/admin/assets/autpReply-C702DWac.js (96%) rename public/admin/assets/badWords-C1vgC_-i.js => AIWebQuickDeploy/public/admin/assets/badWords-D2Yy-NCt.js (85%) rename public/admin/assets/baiduSensitive-C9aAS061.js => AIWebQuickDeploy/public/admin/assets/baiduSensitive-6qem6t8b.js (96%) rename public/admin/assets/baiduStatistics-C5Ie8mqw.js => AIWebQuickDeploy/public/admin/assets/baiduStatistics-GAHxOxpS.js (95%) rename public/admin/assets/baseConfiguration-U_8lhRbY.js => AIWebQuickDeploy/public/admin/assets/baseConfiguration-XpujmNvx.js (97%) rename {public => AIWebQuickDeploy/public}/admin/assets/brainfuck-C4LP7Hcl.js (100%) rename public/admin/assets/chat-DSEzBczd.js => AIWebQuickDeploy/public/admin/assets/chat-Cul6apvD.js (80%) rename {public => AIWebQuickDeploy/public}/admin/assets/chat-DJXUFUH_.css (100%) rename public/admin/assets/chat-BWcQBZPb.js => AIWebQuickDeploy/public/admin/assets/chat-u79Q-XSS.js (93%) rename public/admin/assets/chevereto-DL3R-p1F.js => AIWebQuickDeploy/public/admin/assets/chevereto-CrU0O1ko.js (94%) rename public/admin/assets/classify-D6OriOt0.js => AIWebQuickDeploy/public/admin/assets/classify-C53uJCw1.js (95%) rename {public => AIWebQuickDeploy/public}/admin/assets/clike-DWq2Y8ae.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/clojure-BMjYHr_A.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/cmake-BQqOBYOt.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/cobol-XrqhtCFE.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/coffeescript-S37ZYGWr.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/commonlisp-5jcOZwOE.js (100%) rename public/admin/assets/config-CYXO1pNF.js => AIWebQuickDeploy/public/admin/assets/config-DBls5jtO.js (79%) rename public/admin/assets/crami-C4rWwE2o.js => AIWebQuickDeploy/public/admin/assets/crami-DF3UkRa8.js (80%) rename {public => AIWebQuickDeploy/public}/admin/assets/crystal-SjHAIU92.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/css-BnMrqG3P.js (100%) rename public/admin/assets/custom-B5IO_plt.js => AIWebQuickDeploy/public/admin/assets/custom-Dw8_cyTN.js (89%) rename {public => AIWebQuickDeploy/public}/admin/assets/cypher-C_CwsFkJ.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/d-pRatUO7H.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/diff-DbItnlRl.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/dockerfile-BuNIbK2j.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/draw-BqaQv8sQ.css (100%) rename public/admin/assets/draw-VSxgmQtr.js => AIWebQuickDeploy/public/admin/assets/draw-DfPVf5Nv.js (94%) rename {public => AIWebQuickDeploy/public}/admin/assets/dtd-DF_7sFjM.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/dylan-DwRh75JA.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/ebnf-CDyGwa7X.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/ecl-Cabwm37j.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/edit-C7lymP1E.css (100%) rename public/admin/assets/edit.password-C_LVx17b.js => AIWebQuickDeploy/public/admin/assets/edit.password-5Br-3lH_.js (92%) rename {public => AIWebQuickDeploy/public}/admin/assets/eiffel-CnydiIhH.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/elm-vLlmbW-K.js (100%) rename public/admin/assets/email-B1yejiIN.js => AIWebQuickDeploy/public/admin/assets/email-Bu_bNWMh.js (97%) rename public/admin/assets/epay-BFYo5Oti.js => AIWebQuickDeploy/public/admin/assets/epay-ClyHoC23.js (96%) rename {public => AIWebQuickDeploy/public}/admin/assets/erlang-BNw1qcRV.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/factor-D8pE9siL.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/fcl-Kvtd6kyn.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/forth-Ffai-XNe.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/fortran-DYz_wnZ1.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/gas-Bneqetm1.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/gherkin-heZmZLOM.js (100%) rename public/admin/assets/github-redirect-BqXHRsY-.js => AIWebQuickDeploy/public/admin/assets/github-redirect-BM9nXGWb.js (88%) rename {public => AIWebQuickDeploy/public}/admin/assets/groovy-DKLxxR9y.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/haskell-BWDZoCOh.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/haxe-pv4rovob.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/http-DBlCnlav.js (100%) rename public/admin/assets/hupijiao-CgScmBfT.js => AIWebQuickDeploy/public/admin/assets/hupijiao-PQUyy35q.js (97%) rename public/admin/assets/identityVerification-BGG7YaLd.js => AIWebQuickDeploy/public/admin/assets/identityVerification-oP_pBzIE.js (97%) rename {public => AIWebQuickDeploy/public}/admin/assets/idl-BEugSyMb.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/index--3skRaHe.css (100%) rename public/admin/assets/index-nGFMSQGw.js => AIWebQuickDeploy/public/admin/assets/index-6QRvoxq4.js (99%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-7C4DsIyW.css (100%) rename public/admin/assets/index-D2gie-zN.js => AIWebQuickDeploy/public/admin/assets/index-8uUs3y5b.js (98%) rename public/admin/assets/index-D2-DvelZ.js => AIWebQuickDeploy/public/admin/assets/index-B-e7m70K.js (54%) rename public/admin/assets/index-DHoGfsDt.js => AIWebQuickDeploy/public/admin/assets/index-B0KIvOZu.js (97%) rename public/admin/assets/index-CyI3Kccs.js => AIWebQuickDeploy/public/admin/assets/index-B0yaT7Pj.js (98%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-B9lYkwfU.css (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-BE-LteFu.js (100%) rename public/admin/assets/index-CeCYhShg.js => AIWebQuickDeploy/public/admin/assets/index-BE5tQEZB.js (83%) rename public/admin/assets/index-Bh_8enQz.js => AIWebQuickDeploy/public/admin/assets/index-BFk93msl.js (99%) rename public/admin/assets/index-FnTzkwYe.js => AIWebQuickDeploy/public/admin/assets/index-BLLHBlas.js (95%) create mode 100644 AIWebQuickDeploy/public/admin/assets/index-BRrAnYwh.js rename public/admin/assets/index-DaE0Gq3j.js => AIWebQuickDeploy/public/admin/assets/index-BYOhJwby.js (99%) rename public/admin/assets/index-DMib4jzv.js => AIWebQuickDeploy/public/admin/assets/index-Bc9Zhmen.js (98%) rename public/admin/assets/index-BaTBnWfb.js => AIWebQuickDeploy/public/admin/assets/index-Bd4myPrr.js (99%) rename public/admin/assets/index-DaN931b2.js => AIWebQuickDeploy/public/admin/assets/index-BdAj7OgB.js (50%) rename public/admin/assets/index-Dasmtrdh.js => AIWebQuickDeploy/public/admin/assets/index-BdhdXhTT.js (99%) rename public/admin/assets/index-Dllm2_h9.js => AIWebQuickDeploy/public/admin/assets/index-Bnpp2PsS.js (99%) create mode 100644 AIWebQuickDeploy/public/admin/assets/index-BwuB6c9W.js create mode 100644 AIWebQuickDeploy/public/admin/assets/index-BwvH2ULl.js rename public/admin/assets/index-kBKco1xS.js => AIWebQuickDeploy/public/admin/assets/index-CJbdo3UB.js (98%) rename public/admin/assets/index-Bb_mj7fg.js => AIWebQuickDeploy/public/admin/assets/index-CQq7nD5J.js (91%) rename public/admin/assets/index-JmaFc6Op.js => AIWebQuickDeploy/public/admin/assets/index-CTsqQodT.js (65%) rename public/admin/assets/index-BhavOP4W.js => AIWebQuickDeploy/public/admin/assets/index-CYAFQ7HU.js (72%) rename public/admin/assets/index-D5jQENXK.js => AIWebQuickDeploy/public/admin/assets/index-CbgLRpel.js (95%) create mode 100644 AIWebQuickDeploy/public/admin/assets/index-Cho6Pr_4.js rename {public => AIWebQuickDeploy/public}/admin/assets/index-CyUQOSLA.css (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-D4nnD7rC.css (100%) rename public/admin/assets/index-2ff-Jv0C.js => AIWebQuickDeploy/public/admin/assets/index-D5dkoBo_.js (99%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-D9XTqpwG.css (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-DARZUbFw.css (100%) create mode 100644 AIWebQuickDeploy/public/admin/assets/index-DFcpibhB.js rename {public => AIWebQuickDeploy/public}/admin/assets/index-DLgR7VQ5.css (100%) rename public/admin/assets/index-Bc9vnwpI.js => AIWebQuickDeploy/public/admin/assets/index-D_TwDoFD.js (95%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-DiTAFdcL.css (100%) rename public/admin/assets/index-DypIgR1i.js => AIWebQuickDeploy/public/admin/assets/index-DlQMm9C_.js (99%) rename public/admin/assets/index-BBYMB4fF.js => AIWebQuickDeploy/public/admin/assets/index-DpvF2gU0.js (54%) rename public/admin/assets/index-apzNn83J.js => AIWebQuickDeploy/public/admin/assets/index-Dq5t6Z0r.js (57%) rename public/admin/assets/index-ltfup6bp.js => AIWebQuickDeploy/public/admin/assets/index-Dqh7E9u3.js (99%) rename public/admin/assets/index-Bq4zaOcP.js => AIWebQuickDeploy/public/admin/assets/index-DwPJRGZ5.js (99%) rename public/admin/assets/index-DYuViJCA.js => AIWebQuickDeploy/public/admin/assets/index-DyGHaFdn.js (99%) rename public/admin/assets/index-BEgl-D5h.js => AIWebQuickDeploy/public/admin/assets/index-FQR52wpL.js (94%) rename public/admin/assets/index-B5Oqksb-.js => AIWebQuickDeploy/public/admin/assets/index-J6vOXMm5.js (99%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-KzA8AQdP.css (100%) rename public/admin/assets/index-BAThy-QT.js => AIWebQuickDeploy/public/admin/assets/index-RKW8DBPc.js (99%) rename public/admin/assets/index-fSrKMKAy.js => AIWebQuickDeploy/public/admin/assets/index-V-U6qRSP.js (97%) rename public/admin/assets/index-B-Adk9a1.js => AIWebQuickDeploy/public/admin/assets/index-cHk2eZex.js (99%) rename public/admin/assets/index-CFd9RQbU.js => AIWebQuickDeploy/public/admin/assets/index-eP4h4BlF.js (82%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-eqjq1fUS.css (100%) rename public/admin/assets/index-C_igUakG.js => AIWebQuickDeploy/public/admin/assets/index-kG79ZC54.js (74%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-matkXqi_.css (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/index-ucei9Tgm.css (100%) create mode 100644 AIWebQuickDeploy/public/admin/assets/index-wNqALqIp.js rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js (74%) rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-zkYlqh7B.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BGlBKwum.js (96%) rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js (89%) rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-DBGFR6b9.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BgKLAU11.js (95%) rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-BTce45WY.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js (92%) rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-BJqXE6JQ.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-Bugv63mj.js (95%) rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CJnFI54p.js (92%) rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js (88%) rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js (89%) rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-c3O57XSg.js (89%) rename public/admin/assets/index.vue_vue_type_script_setup_true_lang-rI-Pc7n4.js => AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-zXZwbW_j.js (91%) rename public/admin/assets/interface-BdTcay3S.js => AIWebQuickDeploy/public/admin/assets/interface-C0pUInT0.js (98%) create mode 100644 AIWebQuickDeploy/public/admin/assets/item-CgoQGTTQ.js create mode 100644 AIWebQuickDeploy/public/admin/assets/item-DKw0u6VA.js create mode 100644 AIWebQuickDeploy/public/admin/assets/item.vue_vue_type_script_setup_true_lang-C02ico3V.js rename public/admin/assets/item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js => AIWebQuickDeploy/public/admin/assets/item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js (91%) rename {public => AIWebQuickDeploy/public}/admin/assets/javascript-iSgyE4tI.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/jinja2-C4DGRd-O.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/julia-DuME0IfC.js (100%) rename public/admin/assets/key-U1-UhTyN.js => AIWebQuickDeploy/public/admin/assets/key-SbZ15kXg.js (80%) create mode 100644 AIWebQuickDeploy/public/admin/assets/leftSide-VBkbFeUr.js rename public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-CY8It3ua.js => AIWebQuickDeploy/public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-Dg-uHS6-.js (90%) rename public/admin/assets/link-BkZGdTQk.js => AIWebQuickDeploy/public/admin/assets/link-BvzwK7mO.js (79%) rename {public => AIWebQuickDeploy/public}/admin/assets/link-Dx3sI3vO.css (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/livescript-k3uCVVjK.js (100%) rename public/admin/assets/localStorage-cKgrnDbg.js => AIWebQuickDeploy/public/admin/assets/localStorage-D9Ly4FTr.js (94%) rename public/admin/assets/login-BG_4YoSX.js => AIWebQuickDeploy/public/admin/assets/login-CWBz1yfa.js (97%) rename public/admin/assets/ltzf-Cl69CY0O.js => AIWebQuickDeploy/public/admin/assets/ltzf-BGADXySl.js (96%) rename {public => AIWebQuickDeploy/public}/admin/assets/lua-BgMRiT3U.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/marked.esm-8ZxQ78w7.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/mathematica-DTrFuWx2.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/mbox-CNhZ1qSd.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/mirc-CjQqDB4T.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/mllike-C_8OmSiT.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/modelica-Dc1JOy9r.js (100%) rename public/admin/assets/mpay-BhEzThlj.js => AIWebQuickDeploy/public/admin/assets/mpay-02LM1-hB.js (96%) rename {public => AIWebQuickDeploy/public}/admin/assets/mscgen-BA5vi2Kp.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/mumps-BT43cFF4.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/nginx-DdIZxoE0.js (100%) rename public/admin/assets/notice-CN8MQARu.js => AIWebQuickDeploy/public/admin/assets/notice-Dl9A1sfn.js (95%) rename {public => AIWebQuickDeploy/public}/admin/assets/nsis-CEAdamBV.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/ntriples-BfvgReVJ.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/octave-Ck1zUtKM.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/oz-BzwKVEFT.js (100%) rename public/admin/assets/package-DNsyP8d5.js => AIWebQuickDeploy/public/admin/assets/package-B_VYKnha.js (88%) create mode 100644 AIWebQuickDeploy/public/admin/assets/package-nRT1s46o.js rename {public => AIWebQuickDeploy/public}/admin/assets/pascal-B1wCu0_E.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/perl-CdXCOZ3F.js (100%) rename public/admin/assets/phone-BdMZVeeU.js => AIWebQuickDeploy/public/admin/assets/phone-DvRFs8Iq.js (97%) rename {public => AIWebQuickDeploy/public}/admin/assets/pig-CevX1Tat.js (100%) create mode 100644 AIWebQuickDeploy/public/admin/assets/plugin-BB9dueQ_.js rename public/admin/assets/points-dFU6hxKv.js => AIWebQuickDeploy/public/admin/assets/points-7mr5fEHY.js (97%) rename {public => AIWebQuickDeploy/public}/admin/assets/polyfills-CChaUeAE.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/powershell-CFHJl5sT.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/properties-C78fOPTZ.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/protobuf-ChK-085T.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/pug-BmUsPMDj.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/puppet-DMA9R1ak.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/python-BuPzkPfP.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/q-ZnEupP5q.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/r-DUYO_cvP.js (100%) rename public/admin/assets/register-s9FErNB-.js => AIWebQuickDeploy/public/admin/assets/register-1wwcbwRm.js (98%) rename {public => AIWebQuickDeploy/public}/admin/assets/register-DsQMN5kC.css (100%) rename public/admin/assets/reload-ByHYPX1Q.js => AIWebQuickDeploy/public/admin/assets/reload-XgcEbP6L.js (61%) create mode 100644 AIWebQuickDeploy/public/admin/assets/rightSide-DeRod8ar.js rename public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js => AIWebQuickDeploy/public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-Bh_y80-_.js (71%) rename {public => AIWebQuickDeploy/public}/admin/assets/rpm-CTu-6PCP.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/ruby-B2Rjki9n.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/sas-B4kiWyti.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/scheme-C41bIUwD.js (100%) rename public/admin/assets/setting-B_yMB92n.js => AIWebQuickDeploy/public/admin/assets/setting-C2TdzxY1.js (84%) rename {public => AIWebQuickDeploy/public}/admin/assets/setting-DPas9sHG.css (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/shell-CjFT_Tl9.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/sieve-C3Gn_uJK.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/simple-mode-C4Nsj8zu.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/smalltalk-CnHTOXQT.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/solr-DehyRSwq.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/sparql-DkYu6x3z.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/spreadsheet-BCZA_wO0.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/sql-C4g8LzGK.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/stex-C3f8Ysf7.js (100%) rename public/admin/assets/style-CY8tkffG.js => AIWebQuickDeploy/public/admin/assets/style-CSuzBWCF.js (71%) rename {public => AIWebQuickDeploy/public}/admin/assets/style-DzVD5h9V.css (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/stylus-q6zbLY83.js (100%) create mode 100644 AIWebQuickDeploy/public/admin/assets/sub-BYbZdG6Y.js rename public/admin/assets/sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js => AIWebQuickDeploy/public/admin/assets/sub.vue_vue_type_script_setup_true_lang-6LQFZuiJ.js (96%) rename {public => AIWebQuickDeploy/public}/admin/assets/swift-BzpIVaGY.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/tcl-DVfN8rqt.js (100%) rename public/admin/assets/tencent-DrFpx0Hg.js => AIWebQuickDeploy/public/admin/assets/tencent-DLUjGcyt.js (96%) rename {public => AIWebQuickDeploy/public}/admin/assets/textile-CnDTJFAw.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/tiddlywiki-DO-Gjzrf.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/tiki-DGYXhP31.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/toml-BXUEaScT.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/troff-wAsdV37c.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/ttcn-CiGrtVSZ.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/ttcn-cfg-BIkV9KBc.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/turtle-B1tBg_DP.js (100%) rename public/admin/assets/use-resolve-button-type-CVaAVCZ2.js => AIWebQuickDeploy/public/admin/assets/use-resolve-button-type-BE1XPlJv.js (88%) rename public/admin/assets/useMainPage-C9MASyfo.js => AIWebQuickDeploy/public/admin/assets/useMainPage--yVtHxDh.js (74%) rename public/admin/assets/useMenu-CjAI3aXu.js => AIWebQuickDeploy/public/admin/assets/useMenu-DJ8_3Y3q.js (82%) rename public/admin/assets/userAgreement-CRX63ZgH.js => AIWebQuickDeploy/public/admin/assets/userAgreement-CNd8Qla0.js (95%) rename {public => AIWebQuickDeploy/public}/admin/assets/utcformatTime-Bq4gDWNx.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/vb-CmGdzxic.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/vbscript-BuJXcnF6.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/velocity-D8B20fx6.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/verilog-C6RDOZhf.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/vhdl-lSbBsy5d.js (100%) rename public/admin/assets/violation-DSvmBVfk.js => AIWebQuickDeploy/public/admin/assets/violation-BuG_b462.js (95%) create mode 100644 AIWebQuickDeploy/public/admin/assets/visible-D8lJUNYg.js rename {public => AIWebQuickDeploy/public}/admin/assets/webidl-ZXfAyPTL.js (100%) rename public/admin/assets/wechat-B6iz3vsw.js => AIWebQuickDeploy/public/admin/assets/wechat-B077V9uG.js (97%) rename public/admin/assets/wechat-CC1D2I9W.js => AIWebQuickDeploy/public/admin/assets/wechat-iHfqycBm.js (98%) rename public/admin/assets/welcomePageSettings-CtUX5kGT.js => AIWebQuickDeploy/public/admin/assets/welcomePageSettings-BNqbw3Pg.js (93%) rename {public => AIWebQuickDeploy/public}/admin/assets/xquery-WRlm2TX8.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/yacas-BJ4BC0dw.js (100%) rename {public => AIWebQuickDeploy/public}/admin/assets/z80-Hz9HOZM7.js (100%) rename {public => AIWebQuickDeploy/public}/admin/browser_upgrade/chrome.png (100%) rename {public => AIWebQuickDeploy/public}/admin/browser_upgrade/edge.png (100%) rename {public => AIWebQuickDeploy/public}/admin/browser_upgrade/index.css (100%) rename {public => AIWebQuickDeploy/public}/admin/favicon.ico (100%) rename {public => AIWebQuickDeploy/public}/admin/index.html (96%) rename {public => AIWebQuickDeploy/public}/admin/loading.css (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/360logo-c09b4832.png (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/404-0d6db85f.svg (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_AMS-Regular-0cdd387c.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_AMS-Regular-30da91e8.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_AMS-Regular-68534840.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Caligraphic-Regular-3398dd02.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Fraktur-Bold-74444efd.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Fraktur-Bold-9163df9c.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Fraktur-Regular-51814d27.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Fraktur-Regular-5e28753b.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-Bold-0f60d1b8.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-Bold-138ac28d.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-Bold-c76c5d69.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-Italic-0d85ae7c.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-Italic-97479ca6.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-Italic-f1d6ef86.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-Regular-c2342cd8.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-Regular-c6368d87.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Main-Regular-d0332f52.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Math-BoldItalic-850c0af5.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Math-Italic-08ce98e5.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Math-Italic-7af58c5e.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Math-Italic-8a8d2445.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_SansSerif-Bold-ece03cfd.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_SansSerif-Italic-3931dd81.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_SansSerif-Italic-91ee6750.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_SansSerif-Regular-f36ea897.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Script-Regular-036d4e95.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Script-Regular-1c67f068.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Script-Regular-d96cdf2b.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size1-Regular-6b47c401.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size1-Regular-95b6d2f1.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size1-Regular-c943cc98.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size2-Regular-2014c523.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size2-Regular-a6b2099f.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size2-Regular-d04c5421.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size3-Regular-500e04d5.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size3-Regular-6ab6b62e.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size4-Regular-99f9c675.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size4-Regular-a4af7d41.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Size4-Regular-c647367d.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Typewriter-Regular-e14fed02.woff (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/Right-153af9c5.js (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/_plugin-vue_export-helper-c27b6911.js (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/alipay-eab94eb8.png (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/avatar-e985e5ec.png (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/baidulogo-bf43b354.png (100%) rename public/chat/assets/chat-f5a1bdb4.js => AIWebQuickDeploy/public/chat/assets/chat-7eb7de6c.js (83%) create mode 100644 AIWebQuickDeploy/public/chat/assets/chat-fb203400.css rename public/chat/assets/crami-6a16f6dd.js => AIWebQuickDeploy/public/chat/assets/crami-173ca461.js (65%) rename {public => AIWebQuickDeploy/public}/chat/assets/dalle-4f19ad1c.png (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/favicon-25a41591.ico (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/google-6f260bf3.gif (100%) rename public/chat/assets/index-83541074.js => AIWebQuickDeploy/public/chat/assets/index-1362473a.js (99%) rename {public => AIWebQuickDeploy/public}/chat/assets/index-404bb920.css (100%) create mode 100644 AIWebQuickDeploy/public/chat/assets/index-40baf14c.js rename {public => AIWebQuickDeploy/public}/chat/assets/index-5212be5f.css (100%) rename public/chat/assets/index-a7781fa9.js => AIWebQuickDeploy/public/chat/assets/index-5d3b5439.js (93%) create mode 100644 AIWebQuickDeploy/public/chat/assets/index-6e56dfd3.css rename {public => AIWebQuickDeploy/public}/chat/assets/index-756d601a.css (100%) rename public/chat/assets/index-ca77edb1.js => AIWebQuickDeploy/public/chat/assets/index-7e813bfa.js (79%) rename public/chat/assets/index-cff48399.js => AIWebQuickDeploy/public/chat/assets/index-e614ee1e.js (99%) rename public/chat/assets/index-eaba389e.js => AIWebQuickDeploy/public/chat/assets/index-fb60d41a.js (99%) rename {public => AIWebQuickDeploy/public}/chat/assets/logo-89dd0dfe.png (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/naive-ui-64ac446a.js (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/network-0f22586e.png (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/sdxl-7c167940.png (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/suno-e14fd81c.ico (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/tencentlogo-358d1ec1.png (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/useBasicLayout-18dd2ca5.js (100%) rename public/chat/assets/user-fa22762f.js => AIWebQuickDeploy/public/chat/assets/user-3d98b148.js (91%) rename {public => AIWebQuickDeploy/public}/chat/assets/v-viewer-ead8b014.js (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/vue-c19408e5.js (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/vueuse-motion-563da5fd.js (100%) rename {public => AIWebQuickDeploy/public}/chat/assets/wxpay-2d8f84af.png (100%) rename {public => AIWebQuickDeploy/public}/chat/browserconfig.xml (100%) rename {public => AIWebQuickDeploy/public}/chat/favicon.ico (100%) rename {public => AIWebQuickDeploy/public}/chat/icon/android-chrome-192x192.png (100%) rename {public => AIWebQuickDeploy/public}/chat/icon/android-chrome-512x512.png (100%) rename {public => AIWebQuickDeploy/public}/chat/icon/apple-touch-icon.png (100%) rename {public => AIWebQuickDeploy/public}/chat/icon/favicon-16x16.png (100%) rename {public => AIWebQuickDeploy/public}/chat/icon/favicon-32x32.png (100%) rename {public => AIWebQuickDeploy/public}/chat/icon/manifest.webmanifest (100%) rename {public => AIWebQuickDeploy/public}/chat/icon/mstile-150x150.png (100%) rename {public => AIWebQuickDeploy/public}/chat/index.html (91%) rename {public => AIWebQuickDeploy/public}/chat/safari-pinned-tab.svg (100%) delete mode 100755 deploy.sh delete mode 100644 dist/modules/badwords/badwords.controller.js delete mode 100644 dist/modules/badwords/badwords.entity.js delete mode 100644 dist/modules/badwords/badwords.module.js delete mode 100644 dist/modules/badwords/badwords.service.js delete mode 100644 dist/modules/badwords/dto/addBadWords.dto.js delete mode 100644 dist/modules/badwords/dto/delBadWords.dto.js delete mode 100644 dist/modules/badwords/dto/queryBadWords.dto.js delete mode 100644 dist/modules/badwords/dto/queryViolation.dto.js delete mode 100644 dist/modules/badwords/dto/updateBadWords.dto.js delete mode 100644 dist/modules/badwords/violationLog.entity.js create mode 100644 docs/CHANGELOG.md rename DEPLOYMENT.md => docs/DEPLOYMENT.md (82%) create mode 100644 docs/DEVELOPMENT.md create mode 100644 docs/FEATURES.md delete mode 100644 public/admin/assets/index-B26rXOmA.js delete mode 100644 public/admin/assets/index-B8Qbctk3.js delete mode 100644 public/admin/assets/index-BsqAgi1e.js delete mode 100644 public/admin/assets/index-CyBqC5az.js delete mode 100644 public/admin/assets/index-DilPWwlM.js delete mode 100644 public/admin/assets/index-do-psu6b.js delete mode 100644 public/admin/assets/item-BGs210ro.js delete mode 100644 public/admin/assets/item-aUfNz2FD.js delete mode 100644 public/admin/assets/item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js delete mode 100644 public/admin/assets/leftSide-oWmuAIUP.js delete mode 100644 public/admin/assets/package-B84yLosq.js delete mode 100644 public/admin/assets/plugin-QW7T5kxH.js delete mode 100644 public/admin/assets/rightSide-DTvA-_sw.js delete mode 100644 public/admin/assets/sub-C9kpzA5T.js delete mode 100644 public/admin/assets/visible-ZdW2endy.js delete mode 100644 public/chat/assets/chat-07fbf5d6.css delete mode 100644 public/chat/assets/index-e4921c26.css delete mode 100644 public/chat/assets/index-e5cf7f43.js delete mode 100644 src/DEVELOPMENT.md create mode 100644 src/pnpm-lock.yaml create mode 100644 src/service/.dockerignore create mode 100644 src/service/.env.docker create mode 100644 src/service/.env.example create mode 100644 src/service/Dockerfile create mode 100644 src/service/docker-compose.yml create mode 100644 src/service/src/modules/ai/netSearch.service.ts diff --git a/.gitignore b/.gitignore index cff2921..6245d75 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ node_modules logs -pnpm-lock.yaml .env /public/file .DS_Store diff --git a/.dockerignore b/AIWebQuickDeploy/.dockerignore similarity index 100% rename from .dockerignore rename to AIWebQuickDeploy/.dockerignore diff --git a/.env.docker b/AIWebQuickDeploy/.env.docker similarity index 100% rename from .env.docker rename to AIWebQuickDeploy/.env.docker diff --git a/.env.example b/AIWebQuickDeploy/.env.example similarity index 97% rename from .env.example rename to AIWebQuickDeploy/.env.example index 424d5a3..062490f 100644 --- a/.env.example +++ b/AIWebQuickDeploy/.env.example @@ -17,7 +17,7 @@ REDIS_USER= REDIS_DB=0 # 是否测试环境 -ISDEV=FALSE +ISDEV=false # 自定义微信URL weChatOpenUrl=https://open.weixin.qq.com diff --git a/Dockerfile b/AIWebQuickDeploy/Dockerfile similarity index 100% rename from Dockerfile rename to AIWebQuickDeploy/Dockerfile diff --git a/dist/app.module.js b/AIWebQuickDeploy/dist/app.module.js similarity index 100% rename from dist/app.module.js rename to AIWebQuickDeploy/dist/app.module.js diff --git a/dist/common/auth/adminAuth.guard.js b/AIWebQuickDeploy/dist/common/auth/adminAuth.guard.js similarity index 100% rename from dist/common/auth/adminAuth.guard.js rename to AIWebQuickDeploy/dist/common/auth/adminAuth.guard.js diff --git a/dist/common/auth/jwt.strategy.js b/AIWebQuickDeploy/dist/common/auth/jwt.strategy.js similarity index 100% rename from dist/common/auth/jwt.strategy.js rename to AIWebQuickDeploy/dist/common/auth/jwt.strategy.js diff --git a/dist/common/auth/jwtAuth.guard.js b/AIWebQuickDeploy/dist/common/auth/jwtAuth.guard.js similarity index 100% rename from dist/common/auth/jwtAuth.guard.js rename to AIWebQuickDeploy/dist/common/auth/jwtAuth.guard.js diff --git a/dist/common/auth/superAuth.guard.js b/AIWebQuickDeploy/dist/common/auth/superAuth.guard.js similarity index 100% rename from dist/common/auth/superAuth.guard.js rename to AIWebQuickDeploy/dist/common/auth/superAuth.guard.js diff --git a/dist/common/constants/balance.constant.js b/AIWebQuickDeploy/dist/common/constants/balance.constant.js similarity index 100% rename from dist/common/constants/balance.constant.js rename to AIWebQuickDeploy/dist/common/constants/balance.constant.js diff --git a/dist/common/constants/errorMessage.constant.js b/AIWebQuickDeploy/dist/common/constants/errorMessage.constant.js similarity index 100% rename from dist/common/constants/errorMessage.constant.js rename to AIWebQuickDeploy/dist/common/constants/errorMessage.constant.js diff --git a/dist/common/constants/midjourney.constant.js b/AIWebQuickDeploy/dist/common/constants/midjourney.constant.js similarity index 100% rename from dist/common/constants/midjourney.constant.js rename to AIWebQuickDeploy/dist/common/constants/midjourney.constant.js diff --git a/dist/common/constants/status.constant.js b/AIWebQuickDeploy/dist/common/constants/status.constant.js similarity index 100% rename from dist/common/constants/status.constant.js rename to AIWebQuickDeploy/dist/common/constants/status.constant.js diff --git a/dist/common/constants/user.constant.js b/AIWebQuickDeploy/dist/common/constants/user.constant.js similarity index 100% rename from dist/common/constants/user.constant.js rename to AIWebQuickDeploy/dist/common/constants/user.constant.js diff --git a/dist/common/constants/verification.constant.js b/AIWebQuickDeploy/dist/common/constants/verification.constant.js similarity index 100% rename from dist/common/constants/verification.constant.js rename to AIWebQuickDeploy/dist/common/constants/verification.constant.js diff --git a/dist/common/entity/baseEntity.js b/AIWebQuickDeploy/dist/common/entity/baseEntity.js similarity index 100% rename from dist/common/entity/baseEntity.js rename to AIWebQuickDeploy/dist/common/entity/baseEntity.js diff --git a/dist/common/filters/allExceptions.filter.js b/AIWebQuickDeploy/dist/common/filters/allExceptions.filter.js similarity index 100% rename from dist/common/filters/allExceptions.filter.js rename to AIWebQuickDeploy/dist/common/filters/allExceptions.filter.js diff --git a/dist/common/filters/typeOrmQueryFailed.filter.js b/AIWebQuickDeploy/dist/common/filters/typeOrmQueryFailed.filter.js similarity index 100% rename from dist/common/filters/typeOrmQueryFailed.filter.js rename to AIWebQuickDeploy/dist/common/filters/typeOrmQueryFailed.filter.js diff --git a/dist/common/guards/roles/roles.guard.js b/AIWebQuickDeploy/dist/common/guards/roles/roles.guard.js similarity index 100% rename from dist/common/guards/roles/roles.guard.js rename to AIWebQuickDeploy/dist/common/guards/roles/roles.guard.js diff --git a/dist/common/interceptors/abort.interceptor.js b/AIWebQuickDeploy/dist/common/interceptors/abort.interceptor.js similarity index 100% rename from dist/common/interceptors/abort.interceptor.js rename to AIWebQuickDeploy/dist/common/interceptors/abort.interceptor.js diff --git a/dist/common/interceptors/transform.interceptor.js b/AIWebQuickDeploy/dist/common/interceptors/transform.interceptor.js similarity index 100% rename from dist/common/interceptors/transform.interceptor.js rename to AIWebQuickDeploy/dist/common/interceptors/transform.interceptor.js diff --git a/dist/common/logger/custom-logger.service.js b/AIWebQuickDeploy/dist/common/logger/custom-logger.service.js similarity index 100% rename from dist/common/logger/custom-logger.service.js rename to AIWebQuickDeploy/dist/common/logger/custom-logger.service.js diff --git a/dist/common/middleware/xml.middleware.js b/AIWebQuickDeploy/dist/common/middleware/xml.middleware.js similarity index 100% rename from dist/common/middleware/xml.middleware.js rename to AIWebQuickDeploy/dist/common/middleware/xml.middleware.js diff --git a/dist/common/result/index.js b/AIWebQuickDeploy/dist/common/result/index.js similarity index 100% rename from dist/common/result/index.js rename to AIWebQuickDeploy/dist/common/result/index.js diff --git a/dist/common/swagger/index.js b/AIWebQuickDeploy/dist/common/swagger/index.js similarity index 100% rename from dist/common/swagger/index.js rename to AIWebQuickDeploy/dist/common/swagger/index.js diff --git a/dist/common/utils/base.js b/AIWebQuickDeploy/dist/common/utils/base.js similarity index 100% rename from dist/common/utils/base.js rename to AIWebQuickDeploy/dist/common/utils/base.js diff --git a/dist/common/utils/createOrderId.js b/AIWebQuickDeploy/dist/common/utils/createOrderId.js similarity index 100% rename from dist/common/utils/createOrderId.js rename to AIWebQuickDeploy/dist/common/utils/createOrderId.js diff --git a/dist/common/utils/createRandomCode.js b/AIWebQuickDeploy/dist/common/utils/createRandomCode.js similarity index 100% rename from dist/common/utils/createRandomCode.js rename to AIWebQuickDeploy/dist/common/utils/createRandomCode.js diff --git a/dist/common/utils/createRandomInviteCode.js b/AIWebQuickDeploy/dist/common/utils/createRandomInviteCode.js similarity index 100% rename from dist/common/utils/createRandomInviteCode.js rename to AIWebQuickDeploy/dist/common/utils/createRandomInviteCode.js diff --git a/dist/common/utils/createRandomNonceStr.js b/AIWebQuickDeploy/dist/common/utils/createRandomNonceStr.js similarity index 100% rename from dist/common/utils/createRandomNonceStr.js rename to AIWebQuickDeploy/dist/common/utils/createRandomNonceStr.js diff --git a/dist/common/utils/createRandomUid.js b/AIWebQuickDeploy/dist/common/utils/createRandomUid.js similarity index 100% rename from dist/common/utils/createRandomUid.js rename to AIWebQuickDeploy/dist/common/utils/createRandomUid.js diff --git a/dist/common/utils/date.js b/AIWebQuickDeploy/dist/common/utils/date.js similarity index 100% rename from dist/common/utils/date.js rename to AIWebQuickDeploy/dist/common/utils/date.js diff --git a/dist/common/utils/encrypt.js b/AIWebQuickDeploy/dist/common/utils/encrypt.js similarity index 100% rename from dist/common/utils/encrypt.js rename to AIWebQuickDeploy/dist/common/utils/encrypt.js diff --git a/dist/common/utils/fromatUrl.js b/AIWebQuickDeploy/dist/common/utils/fromatUrl.js similarity index 100% rename from dist/common/utils/fromatUrl.js rename to AIWebQuickDeploy/dist/common/utils/fromatUrl.js diff --git a/dist/common/utils/generateCrami.js b/AIWebQuickDeploy/dist/common/utils/generateCrami.js similarity index 100% rename from dist/common/utils/generateCrami.js rename to AIWebQuickDeploy/dist/common/utils/generateCrami.js diff --git a/dist/common/utils/getClientIp.js b/AIWebQuickDeploy/dist/common/utils/getClientIp.js similarity index 100% rename from dist/common/utils/getClientIp.js rename to AIWebQuickDeploy/dist/common/utils/getClientIp.js diff --git a/dist/common/utils/getDiffArray.js b/AIWebQuickDeploy/dist/common/utils/getDiffArray.js similarity index 100% rename from dist/common/utils/getDiffArray.js rename to AIWebQuickDeploy/dist/common/utils/getDiffArray.js diff --git a/dist/common/utils/getRandomItem.js b/AIWebQuickDeploy/dist/common/utils/getRandomItem.js similarity index 100% rename from dist/common/utils/getRandomItem.js rename to AIWebQuickDeploy/dist/common/utils/getRandomItem.js diff --git a/dist/common/utils/getRandomItemFromArray.js b/AIWebQuickDeploy/dist/common/utils/getRandomItemFromArray.js similarity index 100% rename from dist/common/utils/getRandomItemFromArray.js rename to AIWebQuickDeploy/dist/common/utils/getRandomItemFromArray.js diff --git a/dist/common/utils/getTokenCount.js b/AIWebQuickDeploy/dist/common/utils/getTokenCount.js similarity index 100% rename from dist/common/utils/getTokenCount.js rename to AIWebQuickDeploy/dist/common/utils/getTokenCount.js diff --git a/dist/common/utils/handleError.js b/AIWebQuickDeploy/dist/common/utils/handleError.js similarity index 100% rename from dist/common/utils/handleError.js rename to AIWebQuickDeploy/dist/common/utils/handleError.js diff --git a/dist/common/utils/hideString.js b/AIWebQuickDeploy/dist/common/utils/hideString.js similarity index 100% rename from dist/common/utils/hideString.js rename to AIWebQuickDeploy/dist/common/utils/hideString.js diff --git a/dist/common/utils/index.js b/AIWebQuickDeploy/dist/common/utils/index.js similarity index 100% rename from dist/common/utils/index.js rename to AIWebQuickDeploy/dist/common/utils/index.js diff --git a/dist/common/utils/maskCrami.js b/AIWebQuickDeploy/dist/common/utils/maskCrami.js similarity index 100% rename from dist/common/utils/maskCrami.js rename to AIWebQuickDeploy/dist/common/utils/maskCrami.js diff --git a/dist/common/utils/maskEmail.js b/AIWebQuickDeploy/dist/common/utils/maskEmail.js similarity index 100% rename from dist/common/utils/maskEmail.js rename to AIWebQuickDeploy/dist/common/utils/maskEmail.js diff --git a/dist/common/utils/maskIpAddress.js b/AIWebQuickDeploy/dist/common/utils/maskIpAddress.js similarity index 100% rename from dist/common/utils/maskIpAddress.js rename to AIWebQuickDeploy/dist/common/utils/maskIpAddress.js diff --git a/dist/common/utils/removeSpecialCharacters.js b/AIWebQuickDeploy/dist/common/utils/removeSpecialCharacters.js similarity index 100% rename from dist/common/utils/removeSpecialCharacters.js rename to AIWebQuickDeploy/dist/common/utils/removeSpecialCharacters.js diff --git a/dist/common/utils/tools.js b/AIWebQuickDeploy/dist/common/utils/tools.js similarity index 100% rename from dist/common/utils/tools.js rename to AIWebQuickDeploy/dist/common/utils/tools.js diff --git a/dist/common/utils/utcformatTime.js b/AIWebQuickDeploy/dist/common/utils/utcformatTime.js similarity index 100% rename from dist/common/utils/utcformatTime.js rename to AIWebQuickDeploy/dist/common/utils/utcformatTime.js diff --git a/dist/main.js b/AIWebQuickDeploy/dist/main.js similarity index 100% rename from dist/main.js rename to AIWebQuickDeploy/dist/main.js diff --git a/dist/modules/ai/aiPPT.js b/AIWebQuickDeploy/dist/modules/ai/aiPPT.js similarity index 100% rename from dist/modules/ai/aiPPT.js rename to AIWebQuickDeploy/dist/modules/ai/aiPPT.js diff --git a/dist/modules/ai/cogVideo.service.js b/AIWebQuickDeploy/dist/modules/ai/cogVideo.service.js similarity index 100% rename from dist/modules/ai/cogVideo.service.js rename to AIWebQuickDeploy/dist/modules/ai/cogVideo.service.js diff --git a/dist/modules/ai/fluxDraw.service.js b/AIWebQuickDeploy/dist/modules/ai/fluxDraw.service.js similarity index 100% rename from dist/modules/ai/fluxDraw.service.js rename to AIWebQuickDeploy/dist/modules/ai/fluxDraw.service.js diff --git a/dist/modules/ai/lumaVideo.service.js b/AIWebQuickDeploy/dist/modules/ai/lumaVideo.service.js similarity index 100% rename from dist/modules/ai/lumaVideo.service.js rename to AIWebQuickDeploy/dist/modules/ai/lumaVideo.service.js diff --git a/dist/modules/ai/midjourneyDraw.service.js b/AIWebQuickDeploy/dist/modules/ai/midjourneyDraw.service.js similarity index 100% rename from dist/modules/ai/midjourneyDraw.service.js rename to AIWebQuickDeploy/dist/modules/ai/midjourneyDraw.service.js diff --git a/AIWebQuickDeploy/dist/modules/ai/netSearch.service.js b/AIWebQuickDeploy/dist/modules/ai/netSearch.service.js new file mode 100644 index 0000000..df9dadd --- /dev/null +++ b/AIWebQuickDeploy/dist/modules/ai/netSearch.service.js @@ -0,0 +1,128 @@ +"use strict"; +var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { + var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; + if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); + else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +var __metadata = (this && this.__metadata) || function (k, v) { + if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); +}; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.netSearchService = void 0; +const common_1 = require("@nestjs/common"); +const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); +let netSearchService = class netSearchService { + constructor(globalConfigService) { + this.globalConfigService = globalConfigService; + } + async webSearchPro(prompt) { + var _a, _b, _c, _d, _e, _f; + try { + const { pluginUrl, pluginKey } = await this.globalConfigService.getConfigs(['pluginUrl', 'pluginKey']); + if (!pluginUrl || !pluginKey) { + common_1.Logger.warn('搜索插件配置缺失'); + return { searchResults: [] }; + } + const keys = pluginKey.split(',').filter((key) => key.trim()); + const selectedKey = keys[Math.floor(Math.random() * keys.length)]; + const isBochaiApi = pluginUrl.includes('bochaai.com'); + const isBigModelApi = pluginUrl.includes('bigmodel.cn'); + const isTavilyApi = pluginUrl.includes('tavily.com'); + common_1.Logger.log(`[搜索] API类型: ${isBochaiApi + ? 'Bochai' + : isBigModelApi + ? 'BigModel' + : isTavilyApi + ? 'Tavily' + : '未知'}`); + common_1.Logger.log(`[搜索] 请求URL: ${pluginUrl}`); + common_1.Logger.log(`[搜索] 搜索关键词: ${prompt}`); + const requestBody = isBochaiApi + ? { + query: prompt, + freshness: 'oneWeek', + summary: true, + } + : isTavilyApi + ? { + query: prompt, + search_depth: 'basic', + include_answer: false, + include_raw_content: false, + include_images: false, + } + : { + tool: 'web-search-pro', + stream: false, + messages: [{ role: 'user', content: prompt }], + }; + common_1.Logger.log(`[搜索] 请求参数: ${JSON.stringify(requestBody, null, 2)}`); + const response = await fetch(pluginUrl, { + method: 'POST', + headers: { + Authorization: selectedKey, + 'Content-Type': 'application/json', + }, + body: JSON.stringify(requestBody), + }); + if (!response.ok) { + common_1.Logger.error(`[搜索] 接口返回错误: ${response.status}`); + return { searchResults: [] }; + } + const apiResult = await response.json(); + common_1.Logger.log(`[搜索] 原始返回数据: ${JSON.stringify(apiResult, null, 2)}`); + let searchResults = []; + if (isBochaiApi) { + if ((apiResult === null || apiResult === void 0 ? void 0 : apiResult.code) === 200 && ((_b = (_a = apiResult === null || apiResult === void 0 ? void 0 : apiResult.data) === null || _a === void 0 ? void 0 : _a.webPages) === null || _b === void 0 ? void 0 : _b.value)) { + searchResults = apiResult.data.webPages.value.map((item) => ({ + title: (item === null || item === void 0 ? void 0 : item.name) || '', + link: (item === null || item === void 0 ? void 0 : item.url) || '', + content: (item === null || item === void 0 ? void 0 : item.summary) || '', + icon: (item === null || item === void 0 ? void 0 : item.siteIcon) || '', + media: (item === null || item === void 0 ? void 0 : item.siteName) || '', + })); + } + } + else if (isBigModelApi) { + if (((_f = (_e = (_d = (_c = apiResult === null || apiResult === void 0 ? void 0 : apiResult.choices) === null || _c === void 0 ? void 0 : _c[0]) === null || _d === void 0 ? void 0 : _d.message) === null || _e === void 0 ? void 0 : _e.tool_calls) === null || _f === void 0 ? void 0 : _f.length) > 0) { + for (const toolCall of apiResult.choices[0].message.tool_calls) { + if (Array.isArray(toolCall.search_result)) { + searchResults = toolCall.search_result.map((item) => ({ + title: (item === null || item === void 0 ? void 0 : item.title) || '', + link: (item === null || item === void 0 ? void 0 : item.link) || '', + content: (item === null || item === void 0 ? void 0 : item.content) || '', + icon: (item === null || item === void 0 ? void 0 : item.icon) || '', + media: (item === null || item === void 0 ? void 0 : item.media) || '', + })); + break; + } + } + } + } + else if (isTavilyApi) { + if (Array.isArray(apiResult === null || apiResult === void 0 ? void 0 : apiResult.results)) { + searchResults = apiResult.results.map((item) => ({ + title: (item === null || item === void 0 ? void 0 : item.title) || '', + link: (item === null || item === void 0 ? void 0 : item.url) || '', + content: (item === null || item === void 0 ? void 0 : item.content) || '', + icon: '', + media: '', + })); + } + } + const formattedResult = searchResults.map((item, index) => (Object.assign({ resultIndex: index + 1 }, item))); + common_1.Logger.log(`[搜索] 格式化后的结果: ${JSON.stringify(formattedResult, null, 2)}`); + return { searchResults: formattedResult }; + } + catch (fetchError) { + common_1.Logger.error('[搜索] 调用接口出错:', fetchError); + return { searchResults: [] }; + } + } +}; +netSearchService = __decorate([ + (0, common_1.Injectable)(), + __metadata("design:paramtypes", [globalConfig_service_1.GlobalConfigService]) +], netSearchService); +exports.netSearchService = netSearchService; diff --git a/dist/modules/ai/openaiChat.service.js b/AIWebQuickDeploy/dist/modules/ai/openaiChat.service.js similarity index 100% rename from dist/modules/ai/openaiChat.service.js rename to AIWebQuickDeploy/dist/modules/ai/openaiChat.service.js diff --git a/dist/modules/ai/openaiDraw.service.js b/AIWebQuickDeploy/dist/modules/ai/openaiDraw.service.js similarity index 100% rename from dist/modules/ai/openaiDraw.service.js rename to AIWebQuickDeploy/dist/modules/ai/openaiDraw.service.js diff --git a/dist/modules/ai/stableDiffusion.service.js b/AIWebQuickDeploy/dist/modules/ai/stableDiffusion.service.js similarity index 100% rename from dist/modules/ai/stableDiffusion.service.js rename to AIWebQuickDeploy/dist/modules/ai/stableDiffusion.service.js diff --git a/dist/modules/ai/suno.service.js b/AIWebQuickDeploy/dist/modules/ai/suno.service.js similarity index 100% rename from dist/modules/ai/suno.service.js rename to AIWebQuickDeploy/dist/modules/ai/suno.service.js diff --git a/dist/modules/app/app.controller.js b/AIWebQuickDeploy/dist/modules/app/app.controller.js similarity index 100% rename from dist/modules/app/app.controller.js rename to AIWebQuickDeploy/dist/modules/app/app.controller.js diff --git a/dist/modules/app/app.entity.js b/AIWebQuickDeploy/dist/modules/app/app.entity.js similarity index 100% rename from dist/modules/app/app.entity.js rename to AIWebQuickDeploy/dist/modules/app/app.entity.js diff --git a/dist/modules/app/app.module.js b/AIWebQuickDeploy/dist/modules/app/app.module.js similarity index 100% rename from dist/modules/app/app.module.js rename to AIWebQuickDeploy/dist/modules/app/app.module.js diff --git a/dist/modules/app/app.service.js b/AIWebQuickDeploy/dist/modules/app/app.service.js similarity index 100% rename from dist/modules/app/app.service.js rename to AIWebQuickDeploy/dist/modules/app/app.service.js diff --git a/dist/modules/app/appCats.entity.js b/AIWebQuickDeploy/dist/modules/app/appCats.entity.js similarity index 100% rename from dist/modules/app/appCats.entity.js rename to AIWebQuickDeploy/dist/modules/app/appCats.entity.js diff --git a/dist/modules/app/dto/collectApp.dto.js b/AIWebQuickDeploy/dist/modules/app/dto/collectApp.dto.js similarity index 100% rename from dist/modules/app/dto/collectApp.dto.js rename to AIWebQuickDeploy/dist/modules/app/dto/collectApp.dto.js diff --git a/dist/modules/app/dto/createApp.dto.js b/AIWebQuickDeploy/dist/modules/app/dto/createApp.dto.js similarity index 100% rename from dist/modules/app/dto/createApp.dto.js rename to AIWebQuickDeploy/dist/modules/app/dto/createApp.dto.js diff --git a/dist/modules/app/dto/createCats.dto.js b/AIWebQuickDeploy/dist/modules/app/dto/createCats.dto.js similarity index 100% rename from dist/modules/app/dto/createCats.dto.js rename to AIWebQuickDeploy/dist/modules/app/dto/createCats.dto.js diff --git a/dist/modules/app/dto/custonApp.dto.js b/AIWebQuickDeploy/dist/modules/app/dto/custonApp.dto.js similarity index 100% rename from dist/modules/app/dto/custonApp.dto.js rename to AIWebQuickDeploy/dist/modules/app/dto/custonApp.dto.js diff --git a/dist/modules/app/dto/deleteApp.dto.js b/AIWebQuickDeploy/dist/modules/app/dto/deleteApp.dto.js similarity index 100% rename from dist/modules/app/dto/deleteApp.dto.js rename to AIWebQuickDeploy/dist/modules/app/dto/deleteApp.dto.js diff --git a/dist/modules/app/dto/deleteCats.dto.js b/AIWebQuickDeploy/dist/modules/app/dto/deleteCats.dto.js similarity index 100% rename from dist/modules/app/dto/deleteCats.dto.js rename to AIWebQuickDeploy/dist/modules/app/dto/deleteCats.dto.js diff --git a/dist/modules/app/dto/queryApp.dto.js b/AIWebQuickDeploy/dist/modules/app/dto/queryApp.dto.js similarity index 100% rename from dist/modules/app/dto/queryApp.dto.js rename to AIWebQuickDeploy/dist/modules/app/dto/queryApp.dto.js diff --git a/dist/modules/app/dto/queryCats.dto.js b/AIWebQuickDeploy/dist/modules/app/dto/queryCats.dto.js similarity index 100% rename from dist/modules/app/dto/queryCats.dto.js rename to AIWebQuickDeploy/dist/modules/app/dto/queryCats.dto.js diff --git a/dist/modules/app/dto/updateApp.dto.js b/AIWebQuickDeploy/dist/modules/app/dto/updateApp.dto.js similarity index 100% rename from dist/modules/app/dto/updateApp.dto.js rename to AIWebQuickDeploy/dist/modules/app/dto/updateApp.dto.js diff --git a/dist/modules/app/dto/updateCats.dto.js b/AIWebQuickDeploy/dist/modules/app/dto/updateCats.dto.js similarity index 100% rename from dist/modules/app/dto/updateCats.dto.js rename to AIWebQuickDeploy/dist/modules/app/dto/updateCats.dto.js diff --git a/dist/modules/app/userApps.entity.js b/AIWebQuickDeploy/dist/modules/app/userApps.entity.js similarity index 100% rename from dist/modules/app/userApps.entity.js rename to AIWebQuickDeploy/dist/modules/app/userApps.entity.js diff --git a/dist/modules/auth/auth.controller.js b/AIWebQuickDeploy/dist/modules/auth/auth.controller.js similarity index 100% rename from dist/modules/auth/auth.controller.js rename to AIWebQuickDeploy/dist/modules/auth/auth.controller.js diff --git a/dist/modules/auth/auth.module.js b/AIWebQuickDeploy/dist/modules/auth/auth.module.js similarity index 100% rename from dist/modules/auth/auth.module.js rename to AIWebQuickDeploy/dist/modules/auth/auth.module.js diff --git a/dist/modules/auth/auth.service.js b/AIWebQuickDeploy/dist/modules/auth/auth.service.js similarity index 100% rename from dist/modules/auth/auth.service.js rename to AIWebQuickDeploy/dist/modules/auth/auth.service.js diff --git a/dist/modules/auth/dto/adminLogin.dto.js b/AIWebQuickDeploy/dist/modules/auth/dto/adminLogin.dto.js similarity index 100% rename from dist/modules/auth/dto/adminLogin.dto.js rename to AIWebQuickDeploy/dist/modules/auth/dto/adminLogin.dto.js diff --git a/dist/modules/auth/dto/authLogin.dto.js b/AIWebQuickDeploy/dist/modules/auth/dto/authLogin.dto.js similarity index 100% rename from dist/modules/auth/dto/authLogin.dto.js rename to AIWebQuickDeploy/dist/modules/auth/dto/authLogin.dto.js diff --git a/dist/modules/auth/dto/authRegister.dto.js b/AIWebQuickDeploy/dist/modules/auth/dto/authRegister.dto.js similarity index 100% rename from dist/modules/auth/dto/authRegister.dto.js rename to AIWebQuickDeploy/dist/modules/auth/dto/authRegister.dto.js diff --git a/dist/modules/auth/dto/loginByPhone.dt.js b/AIWebQuickDeploy/dist/modules/auth/dto/loginByPhone.dt.js similarity index 100% rename from dist/modules/auth/dto/loginByPhone.dt.js rename to AIWebQuickDeploy/dist/modules/auth/dto/loginByPhone.dt.js diff --git a/dist/modules/auth/dto/sendPhoneCode.dto.js b/AIWebQuickDeploy/dist/modules/auth/dto/sendPhoneCode.dto.js similarity index 100% rename from dist/modules/auth/dto/sendPhoneCode.dto.js rename to AIWebQuickDeploy/dist/modules/auth/dto/sendPhoneCode.dto.js diff --git a/dist/modules/auth/dto/updatePassByOther.dto.js b/AIWebQuickDeploy/dist/modules/auth/dto/updatePassByOther.dto.js similarity index 100% rename from dist/modules/auth/dto/updatePassByOther.dto.js rename to AIWebQuickDeploy/dist/modules/auth/dto/updatePassByOther.dto.js diff --git a/dist/modules/auth/dto/updatePassword.dto.js b/AIWebQuickDeploy/dist/modules/auth/dto/updatePassword.dto.js similarity index 100% rename from dist/modules/auth/dto/updatePassword.dto.js rename to AIWebQuickDeploy/dist/modules/auth/dto/updatePassword.dto.js diff --git a/dist/modules/auth/dto/userRegisterByPhone.dto.js b/AIWebQuickDeploy/dist/modules/auth/dto/userRegisterByPhone.dto.js similarity index 100% rename from dist/modules/auth/dto/userRegisterByPhone.dto.js rename to AIWebQuickDeploy/dist/modules/auth/dto/userRegisterByPhone.dto.js diff --git a/dist/modules/autoreply/autoreply.controller.js b/AIWebQuickDeploy/dist/modules/autoreply/autoreply.controller.js similarity index 100% rename from dist/modules/autoreply/autoreply.controller.js rename to AIWebQuickDeploy/dist/modules/autoreply/autoreply.controller.js diff --git a/dist/modules/autoreply/autoreply.entity.js b/AIWebQuickDeploy/dist/modules/autoreply/autoreply.entity.js similarity index 100% rename from dist/modules/autoreply/autoreply.entity.js rename to AIWebQuickDeploy/dist/modules/autoreply/autoreply.entity.js diff --git a/dist/modules/autoreply/autoreply.module.js b/AIWebQuickDeploy/dist/modules/autoreply/autoreply.module.js similarity index 100% rename from dist/modules/autoreply/autoreply.module.js rename to AIWebQuickDeploy/dist/modules/autoreply/autoreply.module.js diff --git a/dist/modules/autoreply/autoreply.service.js b/AIWebQuickDeploy/dist/modules/autoreply/autoreply.service.js similarity index 100% rename from dist/modules/autoreply/autoreply.service.js rename to AIWebQuickDeploy/dist/modules/autoreply/autoreply.service.js diff --git a/dist/modules/autoreply/dto/addAutoReply.dto.js b/AIWebQuickDeploy/dist/modules/autoreply/dto/addAutoReply.dto.js similarity index 100% rename from dist/modules/autoreply/dto/addAutoReply.dto.js rename to AIWebQuickDeploy/dist/modules/autoreply/dto/addAutoReply.dto.js diff --git a/dist/modules/autoreply/dto/delBadWords.dto.js b/AIWebQuickDeploy/dist/modules/autoreply/dto/delBadWords.dto.js similarity index 100% rename from dist/modules/autoreply/dto/delBadWords.dto.js rename to AIWebQuickDeploy/dist/modules/autoreply/dto/delBadWords.dto.js diff --git a/dist/modules/autoreply/dto/queryAutoReply.dto.js b/AIWebQuickDeploy/dist/modules/autoreply/dto/queryAutoReply.dto.js similarity index 100% rename from dist/modules/autoreply/dto/queryAutoReply.dto.js rename to AIWebQuickDeploy/dist/modules/autoreply/dto/queryAutoReply.dto.js diff --git a/dist/modules/autoreply/dto/updateAutoReply.dto.js b/AIWebQuickDeploy/dist/modules/autoreply/dto/updateAutoReply.dto.js similarity index 100% rename from dist/modules/autoreply/dto/updateAutoReply.dto.js rename to AIWebQuickDeploy/dist/modules/autoreply/dto/updateAutoReply.dto.js diff --git a/dist/modules/badWords/badWords.controller.js b/AIWebQuickDeploy/dist/modules/badWords/badWords.controller.js similarity index 100% rename from dist/modules/badWords/badWords.controller.js rename to AIWebQuickDeploy/dist/modules/badWords/badWords.controller.js diff --git a/dist/modules/badWords/badWords.entity.js b/AIWebQuickDeploy/dist/modules/badWords/badWords.entity.js similarity index 100% rename from dist/modules/badWords/badWords.entity.js rename to AIWebQuickDeploy/dist/modules/badWords/badWords.entity.js diff --git a/dist/modules/badWords/badWords.module.js b/AIWebQuickDeploy/dist/modules/badWords/badWords.module.js similarity index 100% rename from dist/modules/badWords/badWords.module.js rename to AIWebQuickDeploy/dist/modules/badWords/badWords.module.js diff --git a/dist/modules/badWords/badWords.service.js b/AIWebQuickDeploy/dist/modules/badWords/badWords.service.js similarity index 100% rename from dist/modules/badWords/badWords.service.js rename to AIWebQuickDeploy/dist/modules/badWords/badWords.service.js diff --git a/dist/modules/badWords/dto/addBadWords.dto.js b/AIWebQuickDeploy/dist/modules/badWords/dto/addBadWords.dto.js similarity index 100% rename from dist/modules/badWords/dto/addBadWords.dto.js rename to AIWebQuickDeploy/dist/modules/badWords/dto/addBadWords.dto.js diff --git a/dist/modules/badWords/dto/delBadWords.dto.js b/AIWebQuickDeploy/dist/modules/badWords/dto/delBadWords.dto.js similarity index 100% rename from dist/modules/badWords/dto/delBadWords.dto.js rename to AIWebQuickDeploy/dist/modules/badWords/dto/delBadWords.dto.js diff --git a/dist/modules/badWords/dto/queryBadWords.dto.js b/AIWebQuickDeploy/dist/modules/badWords/dto/queryBadWords.dto.js similarity index 100% rename from dist/modules/badWords/dto/queryBadWords.dto.js rename to AIWebQuickDeploy/dist/modules/badWords/dto/queryBadWords.dto.js diff --git a/dist/modules/badWords/dto/queryViolation.dto.js b/AIWebQuickDeploy/dist/modules/badWords/dto/queryViolation.dto.js similarity index 100% rename from dist/modules/badWords/dto/queryViolation.dto.js rename to AIWebQuickDeploy/dist/modules/badWords/dto/queryViolation.dto.js diff --git a/dist/modules/badWords/dto/updateBadWords.dto.js b/AIWebQuickDeploy/dist/modules/badWords/dto/updateBadWords.dto.js similarity index 100% rename from dist/modules/badWords/dto/updateBadWords.dto.js rename to AIWebQuickDeploy/dist/modules/badWords/dto/updateBadWords.dto.js diff --git a/dist/modules/badWords/violationLog.entity.js b/AIWebQuickDeploy/dist/modules/badWords/violationLog.entity.js similarity index 100% rename from dist/modules/badWords/violationLog.entity.js rename to AIWebQuickDeploy/dist/modules/badWords/violationLog.entity.js diff --git a/dist/modules/chat/chat.controller.js b/AIWebQuickDeploy/dist/modules/chat/chat.controller.js similarity index 100% rename from dist/modules/chat/chat.controller.js rename to AIWebQuickDeploy/dist/modules/chat/chat.controller.js diff --git a/dist/modules/chat/chat.module.js b/AIWebQuickDeploy/dist/modules/chat/chat.module.js similarity index 97% rename from dist/modules/chat/chat.module.js rename to AIWebQuickDeploy/dist/modules/chat/chat.module.js index e7650a4..f696b76 100644 --- a/dist/modules/chat/chat.module.js +++ b/AIWebQuickDeploy/dist/modules/chat/chat.module.js @@ -38,6 +38,7 @@ const verification_service_1 = require("../verification/verification.service"); const verifycation_entity_1 = require("../verification/verifycation.entity"); const chat_controller_1 = require("./chat.controller"); const chat_service_1 = require("./chat.service"); +const netSearch_service_1 = require("../ai/netSearch.service"); let ChatModule = class ChatModule { }; ChatModule = __decorate([ @@ -78,6 +79,7 @@ ChatModule = __decorate([ cogVideo_service_1.CogVideoService, fluxDraw_service_1.FluxDrawService, aiPPT_1.AiPptService, + netSearch_service_1.netSearchService, ], exports: [chat_service_1.ChatService], }) diff --git a/dist/modules/chat/chat.service.js b/AIWebQuickDeploy/dist/modules/chat/chat.service.js similarity index 91% rename from dist/modules/chat/chat.service.js rename to AIWebQuickDeploy/dist/modules/chat/chat.service.js index 0e1f345..ae4cea7 100644 --- a/dist/modules/chat/chat.service.js +++ b/AIWebQuickDeploy/dist/modules/chat/chat.service.js @@ -39,8 +39,9 @@ const plugin_entity_1 = require("../plugin/plugin.entity"); const upload_service_1 = require("../upload/upload.service"); const user_service_1 = require("../user/user.service"); const userBalance_service_1 = require("../userBalance/userBalance.service"); +const netSearch_service_1 = require("../ai/netSearch.service"); let ChatService = class ChatService { - constructor(configEntity, appEntity, pluginEntity, sunoService, openAIChatService, chatLogService, midjourneyService, stableDiffusionService, userBalanceService, userService, uploadService, badWordsService, autoreplyService, globalConfigService, chatGroupService, modelsService, openAIDrawService, lumaVideoService, cogVideoService, fluxDrawService, aiPptService) { + constructor(configEntity, appEntity, pluginEntity, sunoService, openAIChatService, chatLogService, midjourneyService, stableDiffusionService, userBalanceService, userService, uploadService, badWordsService, autoreplyService, globalConfigService, chatGroupService, modelsService, openAIDrawService, lumaVideoService, cogVideoService, fluxDrawService, aiPptService, netSearchService) { this.configEntity = configEntity; this.appEntity = appEntity; this.pluginEntity = pluginEntity; @@ -62,6 +63,7 @@ let ChatService = class ChatService { this.cogVideoService = cogVideoService; this.fluxDrawService = fluxDrawService; this.aiPptService = aiPptService; + this.netSearchService = netSearchService; } async chatProcess(body, req, res) { await this.userBalanceService.checkUserCertification(req.user.id); @@ -114,6 +116,7 @@ let ChatService = class ChatService { let usePrompt; let useModelAvatar = ''; let usingPlugin; + let searchResult; if (usingPluginId) { usingPlugin = await this.pluginEntity.findOne({ where: { id: usingPluginId }, @@ -150,17 +153,52 @@ let ChatService = class ChatService { } else { const groupInfo = await this.chatGroupService.getGroupInfoFromId(groupId); - if (usingPlugin && usingPlugin.isSystemPlugin === 0) { - let pluginPrompt = ''; + if ((usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters) === 'net-search') { try { - pluginPrompt = await this.usePlugin(prompt, usingPlugin.parameters); - common_1.Logger.log(`插件返回结果: ${pluginPrompt}`, 'ChatService'); + searchResult = await this.netSearchService.webSearchPro(prompt); } catch (error) { - pluginPrompt = prompt; - common_1.Logger.error(`插件调用错误: ${error}`); + common_1.Logger.error('网络请求失败', error); + searchResult = null; } - setSystemMessage = pluginPrompt; + const now = new Date(); + const options = { + timeZone: 'Asia/Shanghai', + year: 'numeric', + month: '2-digit', + day: '2-digit', + hour: '2-digit', + minute: '2-digit', + hour12: false, + }; + const currentDate = new Intl.DateTimeFormat('zh-CN', options).format(now); + let searchPrompt = ''; + if (searchResult) { + searchPrompt = JSON.stringify(searchResult, null, 2); + } + setSystemMessage = ` + 你的任务是根据用户的问题,通过下面的搜索结果提供更精确、详细、具体的回答。 + 请在适当的情况下在对应部分句子末尾标注引用的链接,使用[[序号resultIndex](链接地址link)]格式,同时使用多个链接可连续使用比如[[2](链接地址)][[5](链接地址)], + 在回答的最后,使用 序号resultIndex.[title](链接地址link) 标记出所有的来源。 + 以下是搜索结果: + ${searchPrompt} + 在回答时,请注意以下几点: + - 现在时间是: ${currentDate}。 + - 并非搜索结果的所有内容都与用户的问题密切相关,你需要结合问题,对搜索结果进行甄别、筛选。 + - 对于列举类的问题(如列举所有航班信息),尽量将答案控制在10个要点以内,并告诉用户可以查看搜索来源、获得完整信息。优先提供信息完整、最相关的列举项;如非必要,不要主动告诉用户搜索结果未提供的内容。 + - 对于创作类的问题(如写论文),请务必在正文的段落中引用对应的参考编号。你需要解读并概括用户的题目要求,选择合适的格式,充分利用搜索结果并抽取重要信息,生成符合用户要求、极具思想深度、富有创造力与专业性的答案。你的创作篇幅需要尽可能延长,对于每一个要点的论述要推测用户的意图,给出尽可能多角度的回答要点,且务必信息量大、论述详尽。 + - 如果回答很长,请尽量结构化、分段落总结。如果需要分点作答,尽量控制在5个点以内,并合并相关的内容。 + - 对于客观类的问答,如果问题的答案非常简短,可以适当补充一到两句相关信息,以丰富内容。 + - 你需要根据用户要求和回答内容选择合适、美观的回答格式,确保可读性强。 + - 你的回答应该综合多个相关网页来回答,不能只重复引用一个网页。 + - 除非用户要求,否则你回答的语言需要和用户提问的语言保持一致。 + `; + currentRequestModelKey = + await this.modelsService.getCurrentModelKeyInfo(model); + } + else if ((usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters) === 'mind-map') { + setSystemMessage = + 'Please provide a detailed outline in Markdown format: Use a multi-level structure with at least 3-4 levels. Include specific solutions or steps under each topic. Make it suitable for creating mind maps. Provide only the outline content without any irrelevant explanations. Start directly with the outline, no introduction needed. Use the language I asked in. Note: Use #, ##, ### etc. for different heading levels. Use - or * for list items. Use bold, italic etc. to emphasize key points. Use tables, code blocks etc. as needed. Please provide a clear, content-rich Markdown format outline based on these requirements.'; currentRequestModelKey = await this.modelsService.getCurrentModelKeyInfo(model); common_1.Logger.log(`使用插件预设: ${setSystemMessage}`, 'ChatService'); @@ -963,6 +1001,7 @@ ChatService = __decorate([ lumaVideo_service_1.LumaVideoService, cogVideo_service_1.CogVideoService, fluxDraw_service_1.FluxDrawService, - aiPPT_1.AiPptService]) + aiPPT_1.AiPptService, + netSearch_service_1.netSearchService]) ], ChatService); exports.ChatService = ChatService; diff --git a/dist/modules/chat/dto/chatDraw.dto.js b/AIWebQuickDeploy/dist/modules/chat/dto/chatDraw.dto.js similarity index 100% rename from dist/modules/chat/dto/chatDraw.dto.js rename to AIWebQuickDeploy/dist/modules/chat/dto/chatDraw.dto.js diff --git a/dist/modules/chat/dto/chatProcess.dto.js b/AIWebQuickDeploy/dist/modules/chat/dto/chatProcess.dto.js similarity index 100% rename from dist/modules/chat/dto/chatProcess.dto.js rename to AIWebQuickDeploy/dist/modules/chat/dto/chatProcess.dto.js diff --git a/dist/modules/chat/helper.js b/AIWebQuickDeploy/dist/modules/chat/helper.js similarity index 100% rename from dist/modules/chat/helper.js rename to AIWebQuickDeploy/dist/modules/chat/helper.js diff --git a/dist/modules/chatGroup/chatGroup.controller.js b/AIWebQuickDeploy/dist/modules/chatGroup/chatGroup.controller.js similarity index 100% rename from dist/modules/chatGroup/chatGroup.controller.js rename to AIWebQuickDeploy/dist/modules/chatGroup/chatGroup.controller.js diff --git a/dist/modules/chatGroup/chatGroup.entity.js b/AIWebQuickDeploy/dist/modules/chatGroup/chatGroup.entity.js similarity index 100% rename from dist/modules/chatGroup/chatGroup.entity.js rename to AIWebQuickDeploy/dist/modules/chatGroup/chatGroup.entity.js diff --git a/dist/modules/chatGroup/chatGroup.module.js b/AIWebQuickDeploy/dist/modules/chatGroup/chatGroup.module.js similarity index 100% rename from dist/modules/chatGroup/chatGroup.module.js rename to AIWebQuickDeploy/dist/modules/chatGroup/chatGroup.module.js diff --git a/dist/modules/chatGroup/chatGroup.service.js b/AIWebQuickDeploy/dist/modules/chatGroup/chatGroup.service.js similarity index 100% rename from dist/modules/chatGroup/chatGroup.service.js rename to AIWebQuickDeploy/dist/modules/chatGroup/chatGroup.service.js diff --git a/dist/modules/chatGroup/dto/createGroup.dto.js b/AIWebQuickDeploy/dist/modules/chatGroup/dto/createGroup.dto.js similarity index 100% rename from dist/modules/chatGroup/dto/createGroup.dto.js rename to AIWebQuickDeploy/dist/modules/chatGroup/dto/createGroup.dto.js diff --git a/dist/modules/chatGroup/dto/delGroup.dto.js b/AIWebQuickDeploy/dist/modules/chatGroup/dto/delGroup.dto.js similarity index 100% rename from dist/modules/chatGroup/dto/delGroup.dto.js rename to AIWebQuickDeploy/dist/modules/chatGroup/dto/delGroup.dto.js diff --git a/dist/modules/chatGroup/dto/updateGroup.dto.js b/AIWebQuickDeploy/dist/modules/chatGroup/dto/updateGroup.dto.js similarity index 100% rename from dist/modules/chatGroup/dto/updateGroup.dto.js rename to AIWebQuickDeploy/dist/modules/chatGroup/dto/updateGroup.dto.js diff --git a/dist/modules/chatLog/chatLog.controller.js b/AIWebQuickDeploy/dist/modules/chatLog/chatLog.controller.js similarity index 100% rename from dist/modules/chatLog/chatLog.controller.js rename to AIWebQuickDeploy/dist/modules/chatLog/chatLog.controller.js diff --git a/dist/modules/chatLog/chatLog.entity.js b/AIWebQuickDeploy/dist/modules/chatLog/chatLog.entity.js similarity index 100% rename from dist/modules/chatLog/chatLog.entity.js rename to AIWebQuickDeploy/dist/modules/chatLog/chatLog.entity.js diff --git a/dist/modules/chatLog/chatLog.module.js b/AIWebQuickDeploy/dist/modules/chatLog/chatLog.module.js similarity index 100% rename from dist/modules/chatLog/chatLog.module.js rename to AIWebQuickDeploy/dist/modules/chatLog/chatLog.module.js diff --git a/dist/modules/chatLog/chatLog.service.js b/AIWebQuickDeploy/dist/modules/chatLog/chatLog.service.js similarity index 100% rename from dist/modules/chatLog/chatLog.service.js rename to AIWebQuickDeploy/dist/modules/chatLog/chatLog.service.js diff --git a/dist/modules/chatLog/dto/chatList.dto.js b/AIWebQuickDeploy/dist/modules/chatLog/dto/chatList.dto.js similarity index 100% rename from dist/modules/chatLog/dto/chatList.dto.js rename to AIWebQuickDeploy/dist/modules/chatLog/dto/chatList.dto.js diff --git a/dist/modules/chatLog/dto/del.dto.js b/AIWebQuickDeploy/dist/modules/chatLog/dto/del.dto.js similarity index 100% rename from dist/modules/chatLog/dto/del.dto.js rename to AIWebQuickDeploy/dist/modules/chatLog/dto/del.dto.js diff --git a/dist/modules/chatLog/dto/delByGroup.dto.js b/AIWebQuickDeploy/dist/modules/chatLog/dto/delByGroup.dto.js similarity index 100% rename from dist/modules/chatLog/dto/delByGroup.dto.js rename to AIWebQuickDeploy/dist/modules/chatLog/dto/delByGroup.dto.js diff --git a/dist/modules/chatLog/dto/exportExcelChatlog.dto.js b/AIWebQuickDeploy/dist/modules/chatLog/dto/exportExcelChatlog.dto.js similarity index 100% rename from dist/modules/chatLog/dto/exportExcelChatlog.dto.js rename to AIWebQuickDeploy/dist/modules/chatLog/dto/exportExcelChatlog.dto.js diff --git a/dist/modules/chatLog/dto/queryAllChatLog.dto.js b/AIWebQuickDeploy/dist/modules/chatLog/dto/queryAllChatLog.dto.js similarity index 100% rename from dist/modules/chatLog/dto/queryAllChatLog.dto.js rename to AIWebQuickDeploy/dist/modules/chatLog/dto/queryAllChatLog.dto.js diff --git a/dist/modules/chatLog/dto/queryAllDrawLog.dto.js b/AIWebQuickDeploy/dist/modules/chatLog/dto/queryAllDrawLog.dto.js similarity index 100% rename from dist/modules/chatLog/dto/queryAllDrawLog.dto.js rename to AIWebQuickDeploy/dist/modules/chatLog/dto/queryAllDrawLog.dto.js diff --git a/dist/modules/chatLog/dto/queryByAppId.dto.js b/AIWebQuickDeploy/dist/modules/chatLog/dto/queryByAppId.dto.js similarity index 100% rename from dist/modules/chatLog/dto/queryByAppId.dto.js rename to AIWebQuickDeploy/dist/modules/chatLog/dto/queryByAppId.dto.js diff --git a/dist/modules/chatLog/dto/queryMyChatLog.dto.js b/AIWebQuickDeploy/dist/modules/chatLog/dto/queryMyChatLog.dto.js similarity index 100% rename from dist/modules/chatLog/dto/queryMyChatLog.dto.js rename to AIWebQuickDeploy/dist/modules/chatLog/dto/queryMyChatLog.dto.js diff --git a/dist/modules/chatLog/dto/recDrawImg.dto.js b/AIWebQuickDeploy/dist/modules/chatLog/dto/recDrawImg.dto.js similarity index 100% rename from dist/modules/chatLog/dto/recDrawImg.dto.js rename to AIWebQuickDeploy/dist/modules/chatLog/dto/recDrawImg.dto.js diff --git a/dist/modules/crami/crami.controller.js b/AIWebQuickDeploy/dist/modules/crami/crami.controller.js similarity index 100% rename from dist/modules/crami/crami.controller.js rename to AIWebQuickDeploy/dist/modules/crami/crami.controller.js diff --git a/dist/modules/crami/crami.entity.js b/AIWebQuickDeploy/dist/modules/crami/crami.entity.js similarity index 100% rename from dist/modules/crami/crami.entity.js rename to AIWebQuickDeploy/dist/modules/crami/crami.entity.js diff --git a/dist/modules/crami/crami.module.js b/AIWebQuickDeploy/dist/modules/crami/crami.module.js similarity index 100% rename from dist/modules/crami/crami.module.js rename to AIWebQuickDeploy/dist/modules/crami/crami.module.js diff --git a/dist/modules/crami/crami.service.js b/AIWebQuickDeploy/dist/modules/crami/crami.service.js similarity index 100% rename from dist/modules/crami/crami.service.js rename to AIWebQuickDeploy/dist/modules/crami/crami.service.js diff --git a/dist/modules/crami/cramiPackage.entity.js b/AIWebQuickDeploy/dist/modules/crami/cramiPackage.entity.js similarity index 100% rename from dist/modules/crami/cramiPackage.entity.js rename to AIWebQuickDeploy/dist/modules/crami/cramiPackage.entity.js diff --git a/dist/modules/crami/dto/batchDelCrami.dto.js b/AIWebQuickDeploy/dist/modules/crami/dto/batchDelCrami.dto.js similarity index 100% rename from dist/modules/crami/dto/batchDelCrami.dto.js rename to AIWebQuickDeploy/dist/modules/crami/dto/batchDelCrami.dto.js diff --git a/dist/modules/crami/dto/createCrami.dto.js b/AIWebQuickDeploy/dist/modules/crami/dto/createCrami.dto.js similarity index 100% rename from dist/modules/crami/dto/createCrami.dto.js rename to AIWebQuickDeploy/dist/modules/crami/dto/createCrami.dto.js diff --git a/dist/modules/crami/dto/createPackage.dto.js b/AIWebQuickDeploy/dist/modules/crami/dto/createPackage.dto.js similarity index 100% rename from dist/modules/crami/dto/createPackage.dto.js rename to AIWebQuickDeploy/dist/modules/crami/dto/createPackage.dto.js diff --git a/dist/modules/crami/dto/deletePackage.dto.js b/AIWebQuickDeploy/dist/modules/crami/dto/deletePackage.dto.js similarity index 100% rename from dist/modules/crami/dto/deletePackage.dto.js rename to AIWebQuickDeploy/dist/modules/crami/dto/deletePackage.dto.js diff --git a/dist/modules/crami/dto/queryAllCrami.dto.js b/AIWebQuickDeploy/dist/modules/crami/dto/queryAllCrami.dto.js similarity index 100% rename from dist/modules/crami/dto/queryAllCrami.dto.js rename to AIWebQuickDeploy/dist/modules/crami/dto/queryAllCrami.dto.js diff --git a/dist/modules/crami/dto/queryAllPackage.dto.js b/AIWebQuickDeploy/dist/modules/crami/dto/queryAllPackage.dto.js similarity index 100% rename from dist/modules/crami/dto/queryAllPackage.dto.js rename to AIWebQuickDeploy/dist/modules/crami/dto/queryAllPackage.dto.js diff --git a/dist/modules/crami/dto/updatePackage.dto.js b/AIWebQuickDeploy/dist/modules/crami/dto/updatePackage.dto.js similarity index 100% rename from dist/modules/crami/dto/updatePackage.dto.js rename to AIWebQuickDeploy/dist/modules/crami/dto/updatePackage.dto.js diff --git a/dist/modules/crami/dto/useCrami.dto.js b/AIWebQuickDeploy/dist/modules/crami/dto/useCrami.dto.js similarity index 100% rename from dist/modules/crami/dto/useCrami.dto.js rename to AIWebQuickDeploy/dist/modules/crami/dto/useCrami.dto.js diff --git a/dist/modules/database/database.module.js b/AIWebQuickDeploy/dist/modules/database/database.module.js similarity index 100% rename from dist/modules/database/database.module.js rename to AIWebQuickDeploy/dist/modules/database/database.module.js diff --git a/dist/modules/database/database.service.js b/AIWebQuickDeploy/dist/modules/database/database.service.js similarity index 100% rename from dist/modules/database/database.service.js rename to AIWebQuickDeploy/dist/modules/database/database.service.js diff --git a/dist/modules/database/initDatabase.js b/AIWebQuickDeploy/dist/modules/database/initDatabase.js similarity index 100% rename from dist/modules/database/initDatabase.js rename to AIWebQuickDeploy/dist/modules/database/initDatabase.js diff --git a/dist/modules/globalConfig/config.entity.js b/AIWebQuickDeploy/dist/modules/globalConfig/config.entity.js similarity index 100% rename from dist/modules/globalConfig/config.entity.js rename to AIWebQuickDeploy/dist/modules/globalConfig/config.entity.js diff --git a/dist/modules/globalConfig/dto/queryConfig.dto.js b/AIWebQuickDeploy/dist/modules/globalConfig/dto/queryConfig.dto.js similarity index 100% rename from dist/modules/globalConfig/dto/queryConfig.dto.js rename to AIWebQuickDeploy/dist/modules/globalConfig/dto/queryConfig.dto.js diff --git a/dist/modules/globalConfig/dto/setConfig.dto.js b/AIWebQuickDeploy/dist/modules/globalConfig/dto/setConfig.dto.js similarity index 100% rename from dist/modules/globalConfig/dto/setConfig.dto.js rename to AIWebQuickDeploy/dist/modules/globalConfig/dto/setConfig.dto.js diff --git a/dist/modules/globalConfig/dto/setConfigCustom.dto.js b/AIWebQuickDeploy/dist/modules/globalConfig/dto/setConfigCustom.dto.js similarity index 100% rename from dist/modules/globalConfig/dto/setConfigCustom.dto.js rename to AIWebQuickDeploy/dist/modules/globalConfig/dto/setConfigCustom.dto.js diff --git a/dist/modules/globalConfig/globalConfig.controller.js b/AIWebQuickDeploy/dist/modules/globalConfig/globalConfig.controller.js similarity index 100% rename from dist/modules/globalConfig/globalConfig.controller.js rename to AIWebQuickDeploy/dist/modules/globalConfig/globalConfig.controller.js diff --git a/dist/modules/globalConfig/globalConfig.module.js b/AIWebQuickDeploy/dist/modules/globalConfig/globalConfig.module.js similarity index 100% rename from dist/modules/globalConfig/globalConfig.module.js rename to AIWebQuickDeploy/dist/modules/globalConfig/globalConfig.module.js diff --git a/dist/modules/globalConfig/globalConfig.service.js b/AIWebQuickDeploy/dist/modules/globalConfig/globalConfig.service.js similarity index 98% rename from dist/modules/globalConfig/globalConfig.service.js rename to AIWebQuickDeploy/dist/modules/globalConfig/globalConfig.service.js index 796d132..4d966ef 100644 --- a/dist/modules/globalConfig/globalConfig.service.js +++ b/AIWebQuickDeploy/dist/modules/globalConfig/globalConfig.service.js @@ -107,9 +107,6 @@ let GlobalConfigService = class GlobalConfigService { if (isInit) { common_1.Logger.error(`获取微信access_token失败、错误信息:${errmsg}`, 'OfficialService'); } - else { - throw new common_1.HttpException('请配置正确的秘钥、当前秘钥检测不通过!', common_1.HttpStatus.BAD_REQUEST); - } return ''; } return access_token; diff --git a/dist/modules/mailer/mailer.service.js b/AIWebQuickDeploy/dist/modules/mailer/mailer.service.js similarity index 100% rename from dist/modules/mailer/mailer.service.js rename to AIWebQuickDeploy/dist/modules/mailer/mailer.service.js diff --git a/dist/modules/models/dto/queryModel.dto.js b/AIWebQuickDeploy/dist/modules/models/dto/queryModel.dto.js similarity index 100% rename from dist/modules/models/dto/queryModel.dto.js rename to AIWebQuickDeploy/dist/modules/models/dto/queryModel.dto.js diff --git a/dist/modules/models/dto/queryModelType.dto.js b/AIWebQuickDeploy/dist/modules/models/dto/queryModelType.dto.js similarity index 100% rename from dist/modules/models/dto/queryModelType.dto.js rename to AIWebQuickDeploy/dist/modules/models/dto/queryModelType.dto.js diff --git a/dist/modules/models/dto/setModel.dto.js b/AIWebQuickDeploy/dist/modules/models/dto/setModel.dto.js similarity index 100% rename from dist/modules/models/dto/setModel.dto.js rename to AIWebQuickDeploy/dist/modules/models/dto/setModel.dto.js diff --git a/dist/modules/models/dto/setModelType.dto.js b/AIWebQuickDeploy/dist/modules/models/dto/setModelType.dto.js similarity index 100% rename from dist/modules/models/dto/setModelType.dto.js rename to AIWebQuickDeploy/dist/modules/models/dto/setModelType.dto.js diff --git a/dist/modules/models/models.controller.js b/AIWebQuickDeploy/dist/modules/models/models.controller.js similarity index 100% rename from dist/modules/models/models.controller.js rename to AIWebQuickDeploy/dist/modules/models/models.controller.js diff --git a/dist/modules/models/models.entity.js b/AIWebQuickDeploy/dist/modules/models/models.entity.js similarity index 100% rename from dist/modules/models/models.entity.js rename to AIWebQuickDeploy/dist/modules/models/models.entity.js diff --git a/dist/modules/models/models.module.js b/AIWebQuickDeploy/dist/modules/models/models.module.js similarity index 100% rename from dist/modules/models/models.module.js rename to AIWebQuickDeploy/dist/modules/models/models.module.js diff --git a/dist/modules/models/models.service.js b/AIWebQuickDeploy/dist/modules/models/models.service.js similarity index 100% rename from dist/modules/models/models.service.js rename to AIWebQuickDeploy/dist/modules/models/models.service.js diff --git a/dist/modules/official/dto/getQrCode.dto.js b/AIWebQuickDeploy/dist/modules/official/dto/getQrCode.dto.js similarity index 100% rename from dist/modules/official/dto/getQrCode.dto.js rename to AIWebQuickDeploy/dist/modules/official/dto/getQrCode.dto.js diff --git a/dist/modules/official/official.controller.js b/AIWebQuickDeploy/dist/modules/official/official.controller.js similarity index 100% rename from dist/modules/official/official.controller.js rename to AIWebQuickDeploy/dist/modules/official/official.controller.js diff --git a/dist/modules/official/official.module.js b/AIWebQuickDeploy/dist/modules/official/official.module.js similarity index 100% rename from dist/modules/official/official.module.js rename to AIWebQuickDeploy/dist/modules/official/official.module.js diff --git a/dist/modules/official/official.service.js b/AIWebQuickDeploy/dist/modules/official/official.service.js similarity index 100% rename from dist/modules/official/official.service.js rename to AIWebQuickDeploy/dist/modules/official/official.service.js diff --git a/dist/modules/order/dto/buy.dto.js b/AIWebQuickDeploy/dist/modules/order/dto/buy.dto.js similarity index 100% rename from dist/modules/order/dto/buy.dto.js rename to AIWebQuickDeploy/dist/modules/order/dto/buy.dto.js diff --git a/dist/modules/order/dto/queryAllOrder.dto.js b/AIWebQuickDeploy/dist/modules/order/dto/queryAllOrder.dto.js similarity index 100% rename from dist/modules/order/dto/queryAllOrder.dto.js rename to AIWebQuickDeploy/dist/modules/order/dto/queryAllOrder.dto.js diff --git a/dist/modules/order/dto/queryByOrder.dto.js b/AIWebQuickDeploy/dist/modules/order/dto/queryByOrder.dto.js similarity index 100% rename from dist/modules/order/dto/queryByOrder.dto.js rename to AIWebQuickDeploy/dist/modules/order/dto/queryByOrder.dto.js diff --git a/dist/modules/order/order.controller.js b/AIWebQuickDeploy/dist/modules/order/order.controller.js similarity index 100% rename from dist/modules/order/order.controller.js rename to AIWebQuickDeploy/dist/modules/order/order.controller.js diff --git a/dist/modules/order/order.entity.js b/AIWebQuickDeploy/dist/modules/order/order.entity.js similarity index 100% rename from dist/modules/order/order.entity.js rename to AIWebQuickDeploy/dist/modules/order/order.entity.js diff --git a/dist/modules/order/order.module.js b/AIWebQuickDeploy/dist/modules/order/order.module.js similarity index 100% rename from dist/modules/order/order.module.js rename to AIWebQuickDeploy/dist/modules/order/order.module.js diff --git a/dist/modules/order/order.service.js b/AIWebQuickDeploy/dist/modules/order/order.service.js similarity index 100% rename from dist/modules/order/order.service.js rename to AIWebQuickDeploy/dist/modules/order/order.service.js diff --git a/dist/modules/pay/dto/pay.dto.js b/AIWebQuickDeploy/dist/modules/pay/dto/pay.dto.js similarity index 100% rename from dist/modules/pay/dto/pay.dto.js rename to AIWebQuickDeploy/dist/modules/pay/dto/pay.dto.js diff --git a/dist/modules/pay/pay.controller.js b/AIWebQuickDeploy/dist/modules/pay/pay.controller.js similarity index 100% rename from dist/modules/pay/pay.controller.js rename to AIWebQuickDeploy/dist/modules/pay/pay.controller.js diff --git a/dist/modules/pay/pay.module.js b/AIWebQuickDeploy/dist/modules/pay/pay.module.js similarity index 100% rename from dist/modules/pay/pay.module.js rename to AIWebQuickDeploy/dist/modules/pay/pay.module.js diff --git a/dist/modules/pay/pay.service.js b/AIWebQuickDeploy/dist/modules/pay/pay.service.js similarity index 100% rename from dist/modules/pay/pay.service.js rename to AIWebQuickDeploy/dist/modules/pay/pay.service.js diff --git a/dist/modules/plugin/plugin.controller.js b/AIWebQuickDeploy/dist/modules/plugin/plugin.controller.js similarity index 100% rename from dist/modules/plugin/plugin.controller.js rename to AIWebQuickDeploy/dist/modules/plugin/plugin.controller.js diff --git a/dist/modules/plugin/plugin.entity.js b/AIWebQuickDeploy/dist/modules/plugin/plugin.entity.js similarity index 91% rename from dist/modules/plugin/plugin.entity.js rename to AIWebQuickDeploy/dist/modules/plugin/plugin.entity.js index 658199a..0e38af3 100644 --- a/dist/modules/plugin/plugin.entity.js +++ b/AIWebQuickDeploy/dist/modules/plugin/plugin.entity.js @@ -30,10 +30,6 @@ __decorate([ (0, typeorm_1.Column)({ comment: '插件是否启用 0:禁用 1:启用', default: 1 }), __metadata("design:type", Number) ], PluginEntity.prototype, "isEnabled", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '插件是否为系统插件 0:否 1:是', default: 0 }), - __metadata("design:type", Number) -], PluginEntity.prototype, "isSystemPlugin", void 0); __decorate([ (0, typeorm_1.Column)({ comment: '调用参数', type: 'text' }), __metadata("design:type", String) diff --git a/dist/modules/plugin/plugin.module.js b/AIWebQuickDeploy/dist/modules/plugin/plugin.module.js similarity index 100% rename from dist/modules/plugin/plugin.module.js rename to AIWebQuickDeploy/dist/modules/plugin/plugin.module.js diff --git a/dist/modules/plugin/plugin.service.js b/AIWebQuickDeploy/dist/modules/plugin/plugin.service.js similarity index 82% rename from dist/modules/plugin/plugin.service.js rename to AIWebQuickDeploy/dist/modules/plugin/plugin.service.js index 075b1aa..816dc34 100644 --- a/dist/modules/plugin/plugin.service.js +++ b/AIWebQuickDeploy/dist/modules/plugin/plugin.service.js @@ -31,17 +31,12 @@ let PluginService = class PluginService { take: size, }); const processedRows = await Promise.all(rows.map(async (plugin) => { - if (plugin.isSystemPlugin === 1) { - try { - const parameters = await this.modelsService.getCurrentModelKeyInfo(plugin.parameters); - const deductType = parameters.deductType; - return Object.assign(Object.assign({}, plugin), { deductType }); - } - catch (error) { - return Object.assign(Object.assign({}, plugin), { deductType: 0 }); - } + try { + const parameters = await this.modelsService.getCurrentModelKeyInfo(plugin.parameters); + const deductType = parameters.deductType; + return Object.assign(Object.assign({}, plugin), { deductType }); } - else { + catch (error) { return Object.assign(Object.assign({}, plugin), { deductType: 0 }); } })); @@ -49,7 +44,7 @@ let PluginService = class PluginService { return { rows: filteredRows, count: filteredRows.length }; } async createPlugin(body) { - const { name, pluginImg, description, isEnabled, isSystemPlugin, parameters, sortOrder, } = body; + const { name, pluginImg, description, isEnabled, parameters, sortOrder } = body; const existingPlugin = await this.PluginEntity.findOne({ where: { name }, }); @@ -61,14 +56,13 @@ let PluginService = class PluginService { pluginImg, description, isEnabled: isEnabled !== undefined ? isEnabled : 1, - isSystemPlugin: isSystemPlugin !== undefined ? isSystemPlugin : 0, parameters, sortOrder: sortOrder !== undefined ? sortOrder : 0, }); return await this.PluginEntity.save(newPlugin); } async updatePlugin(body) { - const { id, name, pluginImg, description, isEnabled, isSystemPlugin, parameters, sortOrder, } = body; + const { id, name, pluginImg, description, isEnabled, parameters, sortOrder, } = body; const existingPlugin = await this.PluginEntity.findOne({ where: { id }, }); @@ -86,10 +80,6 @@ let PluginService = class PluginService { existingPlugin.description = description; existingPlugin.isEnabled = isEnabled !== undefined ? isEnabled : existingPlugin.isEnabled; - existingPlugin.isSystemPlugin = - isSystemPlugin !== undefined - ? isSystemPlugin - : existingPlugin.isSystemPlugin; existingPlugin.parameters = parameters; existingPlugin.sortOrder = sortOrder !== undefined ? sortOrder : existingPlugin.sortOrder; diff --git a/dist/modules/redisCache/dto/redis.dto.js b/AIWebQuickDeploy/dist/modules/redisCache/dto/redis.dto.js similarity index 100% rename from dist/modules/redisCache/dto/redis.dto.js rename to AIWebQuickDeploy/dist/modules/redisCache/dto/redis.dto.js diff --git a/dist/modules/redisCache/redisCache.controller.js b/AIWebQuickDeploy/dist/modules/redisCache/redisCache.controller.js similarity index 100% rename from dist/modules/redisCache/redisCache.controller.js rename to AIWebQuickDeploy/dist/modules/redisCache/redisCache.controller.js diff --git a/dist/modules/redisCache/redisCache.module.js b/AIWebQuickDeploy/dist/modules/redisCache/redisCache.module.js similarity index 100% rename from dist/modules/redisCache/redisCache.module.js rename to AIWebQuickDeploy/dist/modules/redisCache/redisCache.module.js diff --git a/dist/modules/redisCache/redisCache.service.js b/AIWebQuickDeploy/dist/modules/redisCache/redisCache.service.js similarity index 100% rename from dist/modules/redisCache/redisCache.service.js rename to AIWebQuickDeploy/dist/modules/redisCache/redisCache.service.js diff --git a/dist/modules/signin/signIn.entity.js b/AIWebQuickDeploy/dist/modules/signin/signIn.entity.js similarity index 100% rename from dist/modules/signin/signIn.entity.js rename to AIWebQuickDeploy/dist/modules/signin/signIn.entity.js diff --git a/dist/modules/signin/signin.controller.js b/AIWebQuickDeploy/dist/modules/signin/signin.controller.js similarity index 100% rename from dist/modules/signin/signin.controller.js rename to AIWebQuickDeploy/dist/modules/signin/signin.controller.js diff --git a/dist/modules/signin/signin.module.js b/AIWebQuickDeploy/dist/modules/signin/signin.module.js similarity index 100% rename from dist/modules/signin/signin.module.js rename to AIWebQuickDeploy/dist/modules/signin/signin.module.js diff --git a/dist/modules/signin/signin.service.js b/AIWebQuickDeploy/dist/modules/signin/signin.service.js similarity index 100% rename from dist/modules/signin/signin.service.js rename to AIWebQuickDeploy/dist/modules/signin/signin.service.js diff --git a/dist/modules/statistic/dto/queryStatisticDto.dto.js b/AIWebQuickDeploy/dist/modules/statistic/dto/queryStatisticDto.dto.js similarity index 100% rename from dist/modules/statistic/dto/queryStatisticDto.dto.js rename to AIWebQuickDeploy/dist/modules/statistic/dto/queryStatisticDto.dto.js diff --git a/dist/modules/statistic/statistic.controller.js b/AIWebQuickDeploy/dist/modules/statistic/statistic.controller.js similarity index 100% rename from dist/modules/statistic/statistic.controller.js rename to AIWebQuickDeploy/dist/modules/statistic/statistic.controller.js diff --git a/dist/modules/statistic/statistic.module.js b/AIWebQuickDeploy/dist/modules/statistic/statistic.module.js similarity index 100% rename from dist/modules/statistic/statistic.module.js rename to AIWebQuickDeploy/dist/modules/statistic/statistic.module.js diff --git a/dist/modules/statistic/statistic.service.js b/AIWebQuickDeploy/dist/modules/statistic/statistic.service.js similarity index 100% rename from dist/modules/statistic/statistic.service.js rename to AIWebQuickDeploy/dist/modules/statistic/statistic.service.js diff --git a/dist/modules/task/task.module.js b/AIWebQuickDeploy/dist/modules/task/task.module.js similarity index 100% rename from dist/modules/task/task.module.js rename to AIWebQuickDeploy/dist/modules/task/task.module.js diff --git a/dist/modules/task/task.service.js b/AIWebQuickDeploy/dist/modules/task/task.service.js similarity index 100% rename from dist/modules/task/task.service.js rename to AIWebQuickDeploy/dist/modules/task/task.service.js diff --git a/dist/modules/upload/upload.controller.js b/AIWebQuickDeploy/dist/modules/upload/upload.controller.js similarity index 100% rename from dist/modules/upload/upload.controller.js rename to AIWebQuickDeploy/dist/modules/upload/upload.controller.js diff --git a/dist/modules/upload/upload.module.js b/AIWebQuickDeploy/dist/modules/upload/upload.module.js similarity index 100% rename from dist/modules/upload/upload.module.js rename to AIWebQuickDeploy/dist/modules/upload/upload.module.js diff --git a/dist/modules/upload/upload.service.js b/AIWebQuickDeploy/dist/modules/upload/upload.service.js similarity index 100% rename from dist/modules/upload/upload.service.js rename to AIWebQuickDeploy/dist/modules/upload/upload.service.js diff --git a/dist/modules/user/dto/queryAllUser.dto.js b/AIWebQuickDeploy/dist/modules/user/dto/queryAllUser.dto.js similarity index 100% rename from dist/modules/user/dto/queryAllUser.dto.js rename to AIWebQuickDeploy/dist/modules/user/dto/queryAllUser.dto.js diff --git a/dist/modules/user/dto/queryInviteRecord.dto.js b/AIWebQuickDeploy/dist/modules/user/dto/queryInviteRecord.dto.js similarity index 100% rename from dist/modules/user/dto/queryInviteRecord.dto.js rename to AIWebQuickDeploy/dist/modules/user/dto/queryInviteRecord.dto.js diff --git a/dist/modules/user/dto/queryOne.dto.js b/AIWebQuickDeploy/dist/modules/user/dto/queryOne.dto.js similarity index 100% rename from dist/modules/user/dto/queryOne.dto.js rename to AIWebQuickDeploy/dist/modules/user/dto/queryOne.dto.js diff --git a/dist/modules/user/dto/resetUserPass.dto.js b/AIWebQuickDeploy/dist/modules/user/dto/resetUserPass.dto.js similarity index 100% rename from dist/modules/user/dto/resetUserPass.dto.js rename to AIWebQuickDeploy/dist/modules/user/dto/resetUserPass.dto.js diff --git a/dist/modules/user/dto/retrieve.dto.js b/AIWebQuickDeploy/dist/modules/user/dto/retrieve.dto.js similarity index 100% rename from dist/modules/user/dto/retrieve.dto.js rename to AIWebQuickDeploy/dist/modules/user/dto/retrieve.dto.js diff --git a/dist/modules/user/dto/updateUser.dto.js b/AIWebQuickDeploy/dist/modules/user/dto/updateUser.dto.js similarity index 100% rename from dist/modules/user/dto/updateUser.dto.js rename to AIWebQuickDeploy/dist/modules/user/dto/updateUser.dto.js diff --git a/dist/modules/user/dto/updateUserStatus.dto.js b/AIWebQuickDeploy/dist/modules/user/dto/updateUserStatus.dto.js similarity index 100% rename from dist/modules/user/dto/updateUserStatus.dto.js rename to AIWebQuickDeploy/dist/modules/user/dto/updateUserStatus.dto.js diff --git a/dist/modules/user/dto/userRecharge.dto.js b/AIWebQuickDeploy/dist/modules/user/dto/userRecharge.dto.js similarity index 100% rename from dist/modules/user/dto/userRecharge.dto.js rename to AIWebQuickDeploy/dist/modules/user/dto/userRecharge.dto.js diff --git a/dist/modules/user/user.controller.js b/AIWebQuickDeploy/dist/modules/user/user.controller.js similarity index 100% rename from dist/modules/user/user.controller.js rename to AIWebQuickDeploy/dist/modules/user/user.controller.js diff --git a/dist/modules/user/user.entity.js b/AIWebQuickDeploy/dist/modules/user/user.entity.js similarity index 100% rename from dist/modules/user/user.entity.js rename to AIWebQuickDeploy/dist/modules/user/user.entity.js diff --git a/dist/modules/user/user.module.js b/AIWebQuickDeploy/dist/modules/user/user.module.js similarity index 100% rename from dist/modules/user/user.module.js rename to AIWebQuickDeploy/dist/modules/user/user.module.js diff --git a/dist/modules/user/user.service.js b/AIWebQuickDeploy/dist/modules/user/user.service.js similarity index 100% rename from dist/modules/user/user.service.js rename to AIWebQuickDeploy/dist/modules/user/user.service.js diff --git a/dist/modules/userBalance/accountLog.entity.js b/AIWebQuickDeploy/dist/modules/userBalance/accountLog.entity.js similarity index 100% rename from dist/modules/userBalance/accountLog.entity.js rename to AIWebQuickDeploy/dist/modules/userBalance/accountLog.entity.js diff --git a/dist/modules/userBalance/balance.entity.js b/AIWebQuickDeploy/dist/modules/userBalance/balance.entity.js similarity index 100% rename from dist/modules/userBalance/balance.entity.js rename to AIWebQuickDeploy/dist/modules/userBalance/balance.entity.js diff --git a/dist/modules/userBalance/dto/test.dto.js b/AIWebQuickDeploy/dist/modules/userBalance/dto/test.dto.js similarity index 100% rename from dist/modules/userBalance/dto/test.dto.js rename to AIWebQuickDeploy/dist/modules/userBalance/dto/test.dto.js diff --git a/dist/modules/userBalance/fingerprint.entity.js b/AIWebQuickDeploy/dist/modules/userBalance/fingerprint.entity.js similarity index 100% rename from dist/modules/userBalance/fingerprint.entity.js rename to AIWebQuickDeploy/dist/modules/userBalance/fingerprint.entity.js diff --git a/dist/modules/userBalance/userBalance.controller.js b/AIWebQuickDeploy/dist/modules/userBalance/userBalance.controller.js similarity index 100% rename from dist/modules/userBalance/userBalance.controller.js rename to AIWebQuickDeploy/dist/modules/userBalance/userBalance.controller.js diff --git a/dist/modules/userBalance/userBalance.entity.js b/AIWebQuickDeploy/dist/modules/userBalance/userBalance.entity.js similarity index 100% rename from dist/modules/userBalance/userBalance.entity.js rename to AIWebQuickDeploy/dist/modules/userBalance/userBalance.entity.js diff --git a/dist/modules/userBalance/userBalance.module.js b/AIWebQuickDeploy/dist/modules/userBalance/userBalance.module.js similarity index 100% rename from dist/modules/userBalance/userBalance.module.js rename to AIWebQuickDeploy/dist/modules/userBalance/userBalance.module.js diff --git a/dist/modules/userBalance/userBalance.service.js b/AIWebQuickDeploy/dist/modules/userBalance/userBalance.service.js similarity index 100% rename from dist/modules/userBalance/userBalance.service.js rename to AIWebQuickDeploy/dist/modules/userBalance/userBalance.service.js diff --git a/dist/modules/verification/dto/verifyCode.dto.js b/AIWebQuickDeploy/dist/modules/verification/dto/verifyCode.dto.js similarity index 100% rename from dist/modules/verification/dto/verifyCode.dto.js rename to AIWebQuickDeploy/dist/modules/verification/dto/verifyCode.dto.js diff --git a/dist/modules/verification/verification.module.js b/AIWebQuickDeploy/dist/modules/verification/verification.module.js similarity index 100% rename from dist/modules/verification/verification.module.js rename to AIWebQuickDeploy/dist/modules/verification/verification.module.js diff --git a/dist/modules/verification/verification.service.js b/AIWebQuickDeploy/dist/modules/verification/verification.service.js similarity index 100% rename from dist/modules/verification/verification.service.js rename to AIWebQuickDeploy/dist/modules/verification/verification.service.js diff --git a/dist/modules/verification/verifycation.entity.js b/AIWebQuickDeploy/dist/modules/verification/verifycation.entity.js similarity index 100% rename from dist/modules/verification/verifycation.entity.js rename to AIWebQuickDeploy/dist/modules/verification/verifycation.entity.js diff --git a/docker-compose.yml b/AIWebQuickDeploy/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to AIWebQuickDeploy/docker-compose.yml diff --git a/package.json b/AIWebQuickDeploy/package.json similarity index 99% rename from package.json rename to AIWebQuickDeploy/package.json index b700de8..ea491bd 100644 --- a/package.json +++ b/AIWebQuickDeploy/package.json @@ -1,6 +1,6 @@ { "name": "99ai", - "version": "4.0.0", + "version": "4.1.0", "description": "", "author": "vastxie", "private": true, diff --git a/pm2.conf.json b/AIWebQuickDeploy/pm2.conf.json similarity index 100% rename from pm2.conf.json rename to AIWebQuickDeploy/pm2.conf.json diff --git a/public/admin/assets/HButton-DhTo_DmN.js b/AIWebQuickDeploy/public/admin/assets/HButton-Ujw0orpR.js similarity index 65% rename from public/admin/assets/HButton-DhTo_DmN.js rename to AIWebQuickDeploy/public/admin/assets/HButton-Ujw0orpR.js index 95c8008..98bb1b0 100644 --- a/public/admin/assets/HButton-DhTo_DmN.js +++ b/AIWebQuickDeploy/public/admin/assets/HButton-Ujw0orpR.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as f}from"./index-nGFMSQGw.js";export{f as default}; +import{_ as f}from"./index-6QRvoxq4.js";export{f as default}; diff --git a/public/admin/assets/HCheckList-C7zKn3lK.js b/AIWebQuickDeploy/public/admin/assets/HCheckList-DmjIeCde.js similarity index 74% rename from public/admin/assets/HCheckList-C7zKn3lK.js rename to AIWebQuickDeploy/public/admin/assets/HCheckList-DmjIeCde.js index ce77591..0224d4a 100644 --- a/public/admin/assets/HCheckList-C7zKn3lK.js +++ b/AIWebQuickDeploy/public/admin/assets/HCheckList-DmjIeCde.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as m}from"./HCheckList.vue_vue_type_script_setup_true_lang-BdsCC1UG.js";import"./index-nGFMSQGw.js";export{m as default}; +import{_ as m}from"./HCheckList.vue_vue_type_script_setup_true_lang-BLNEihme.js";import"./index-6QRvoxq4.js";export{m as default}; diff --git a/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-BdsCC1UG.js b/AIWebQuickDeploy/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-BLNEihme.js similarity index 94% rename from public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-BdsCC1UG.js rename to AIWebQuickDeploy/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-BLNEihme.js index fdd7909..9141141 100644 --- a/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-BdsCC1UG.js +++ b/AIWebQuickDeploy/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-BLNEihme.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as u,as as n,at as m,X as b,g as s,c as t,F as o,s as p,Q as _,z as g,h,t as f,j as v}from"./index-nGFMSQGw.js";const k={class:"inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark-bg-stone-7"},y=["disabled","onClick"],V=u({__name:"HCheckList",props:n({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:n(["change"],["update:modelValue"]),setup(i,{emit:d}){const r=d,l=m(i,"modelValue");return b(l,a=>{r("change",a)}),(a,x)=>{const c=v;return s(),t("div",k,[(s(!0),t(o,null,p(a.options,e=>(s(),t("button",{key:e.value,disabled:a.disabled||e.disabled,class:_(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled-cursor-not-allowed disabled-opacity-50 hover-not-disabled-bg-ui-primary hover-not-disabled-text-ui-text",{"text-ui-text bg-ui-primary":l.value===e.value}]),onClick:C=>l.value=e.value},[e.icon?(s(),g(c,{key:0,name:e.icon},null,8,["name"])):(s(),t(o,{key:1},[h(f(e.label),1)],64))],10,y))),128))])}}});export{V as _}; +import{d as u,as as n,at as m,X as b,g as s,c as t,F as o,s as p,Q as _,z as g,h,t as f,j as v}from"./index-6QRvoxq4.js";const k={class:"inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark-bg-stone-7"},y=["disabled","onClick"],V=u({__name:"HCheckList",props:n({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:n(["change"],["update:modelValue"]),setup(i,{emit:d}){const r=d,l=m(i,"modelValue");return b(l,a=>{r("change",a)}),(a,x)=>{const c=v;return s(),t("div",k,[(s(!0),t(o,null,p(a.options,e=>(s(),t("button",{key:e.value,disabled:a.disabled||e.disabled,class:_(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled-cursor-not-allowed disabled-opacity-50 hover-not-disabled-bg-ui-primary hover-not-disabled-text-ui-text",{"text-ui-text bg-ui-primary":l.value===e.value}]),onClick:C=>l.value=e.value},[e.icon?(s(),g(c,{key:0,name:e.icon},null,8,["name"])):(s(),t(o,{key:1},[h(f(e.label),1)],64))],10,y))),128))])}}});export{V as _}; diff --git a/public/admin/assets/HDialog-CPr-tzAo.js b/AIWebQuickDeploy/public/admin/assets/HDialog-SD64xsF6.js similarity index 74% rename from public/admin/assets/HDialog-CPr-tzAo.js rename to AIWebQuickDeploy/public/admin/assets/HDialog-SD64xsF6.js index 8c14d6b..c715366 100644 --- a/public/admin/assets/HDialog-CPr-tzAo.js +++ b/AIWebQuickDeploy/public/admin/assets/HDialog-SD64xsF6.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as m}from"./HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js";import"./index-nGFMSQGw.js";export{m as default}; +import{_ as m}from"./HDialog.vue_vue_type_script_setup_true_lang-an5zbG4e.js";import"./index-6QRvoxq4.js";export{m as default}; diff --git a/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js b/AIWebQuickDeploy/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-an5zbG4e.js similarity index 97% rename from public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js rename to AIWebQuickDeploy/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-an5zbG4e.js index 14910d2..27d8c52 100644 --- a/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js +++ b/AIWebQuickDeploy/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-an5zbG4e.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as h,as as i,at as w,U as b,r as k,n as C,g as d,z as B,w as t,b as s,i as e,ah as p,ai as c,e as o,Q as V,aj as T,au as j,h as S,t as F,al as N,P as u,c as $,A as z,an as M,ao as D,j as P}from"./index-nGFMSQGw.js";const A={class:"fixed inset-0 overflow-y-auto"},E={class:"min-h-full flex items-end justify-center p-4 text-center lg-items-center"},G={flex:"~ items-center justify-between","px-4":"","py-3":"","border-b":"~ solid stone/15","text-6":""},H={key:0,flex:"~ items-center justify-end","px-4":"","py-3":"","border-t":"~ solid stone/15"},O=h({__name:"HDialog",props:i({appear:{type:Boolean,default:!1},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:i(["close"],["update:modelValue"]),setup(f,{emit:m}){const y=m,l=w(f,"modelValue"),v=b(),g=k({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),x=C(()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterTo:"opacity-100 translate-y-0 lg-scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 lg-scale-100",leaveTo:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"}));function n(){l.value=!1,y("close")}return(a,r)=>{const _=P;return d(),B(e(D),{as:"template",appear:a.appear,show:l.value},{default:t(()=>[s(e(M),{class:"fixed inset-0 z-2000 flex",onClose:r[0]||(r[0]=I=>!a.preventClose&&n())},{default:t(()=>[s(e(p),c({as:"template",appear:a.appear},e(g)),{default:t(()=>[o("div",{class:V(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":a.overlay}])},null,2)]),_:1},16,["appear"]),o("div",A,[o("div",E,[s(e(p),c({as:"template",appear:a.appear},e(x)),{default:t(()=>[s(e(T),{class:"relative w-full flex flex-col overflow-hidden rounded-xl bg-white text-left shadow-xl lg-my-8 lg-max-w-lg dark-bg-stone-8"},{default:t(()=>[o("div",G,[s(e(j),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:t(()=>[S(F(a.title),1)]),_:1}),s(_,{name:"i-carbon:close","cursor-pointer":"",onClick:n})]),s(e(N),{"m-0":"","overflow-y-auto":"","p-4":""},{default:t(()=>[u(a.$slots,"default")]),_:3}),e(v).footer?(d(),$("div",H,[u(a.$slots,"footer")])):z("",!0)]),_:3})]),_:3},16,["appear"])])])]),_:3})]),_:3},8,["appear","show"])}}});export{O as _}; +import{d as h,as as i,at as w,U as b,r as k,n as C,g as d,z as B,w as t,b as s,i as e,ah as p,ai as c,e as o,Q as V,aj as T,au as j,h as S,t as F,al as N,P as u,c as $,A as z,an as M,ao as D,j as P}from"./index-6QRvoxq4.js";const A={class:"fixed inset-0 overflow-y-auto"},E={class:"min-h-full flex items-end justify-center p-4 text-center lg-items-center"},G={flex:"~ items-center justify-between","px-4":"","py-3":"","border-b":"~ solid stone/15","text-6":""},H={key:0,flex:"~ items-center justify-end","px-4":"","py-3":"","border-t":"~ solid stone/15"},O=h({__name:"HDialog",props:i({appear:{type:Boolean,default:!1},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:i(["close"],["update:modelValue"]),setup(f,{emit:m}){const y=m,l=w(f,"modelValue"),v=b(),g=k({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),x=C(()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterTo:"opacity-100 translate-y-0 lg-scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 lg-scale-100",leaveTo:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"}));function n(){l.value=!1,y("close")}return(a,r)=>{const _=P;return d(),B(e(D),{as:"template",appear:a.appear,show:l.value},{default:t(()=>[s(e(M),{class:"fixed inset-0 z-2000 flex",onClose:r[0]||(r[0]=I=>!a.preventClose&&n())},{default:t(()=>[s(e(p),c({as:"template",appear:a.appear},e(g)),{default:t(()=>[o("div",{class:V(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":a.overlay}])},null,2)]),_:1},16,["appear"]),o("div",A,[o("div",E,[s(e(p),c({as:"template",appear:a.appear},e(x)),{default:t(()=>[s(e(T),{class:"relative w-full flex flex-col overflow-hidden rounded-xl bg-white text-left shadow-xl lg-my-8 lg-max-w-lg dark-bg-stone-8"},{default:t(()=>[o("div",G,[s(e(j),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:t(()=>[S(F(a.title),1)]),_:1}),s(_,{name:"i-carbon:close","cursor-pointer":"",onClick:n})]),s(e(N),{"m-0":"","overflow-y-auto":"","p-4":""},{default:t(()=>[u(a.$slots,"default")]),_:3}),e(v).footer?(d(),$("div",H,[u(a.$slots,"footer")])):z("",!0)]),_:3})]),_:3},16,["appear"])])])]),_:3})]),_:3},8,["appear","show"])}}});export{O as _}; diff --git a/public/admin/assets/HDropdown-BjwO9ikd.js b/AIWebQuickDeploy/public/admin/assets/HDropdown-7q7O_XMK.js similarity index 87% rename from public/admin/assets/HDropdown-BjwO9ikd.js rename to AIWebQuickDeploy/public/admin/assets/HDropdown-7q7O_XMK.js index 9d19636..2ab0663 100644 --- a/public/admin/assets/HDropdown-BjwO9ikd.js +++ b/AIWebQuickDeploy/public/admin/assets/HDropdown-7q7O_XMK.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{l as t,p as n,g as a,z as p,w as o,P as r,ai as d}from"./index-nGFMSQGw.js";const l={};function c(e,_){const s=n("VDropdown");return a(),p(s,d({"show-triggers":["hover"],"hide-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover"],delay:200},e.$attrs),{popper:o(()=>[r(e.$slots,"dropdown")]),default:o(()=>[r(e.$slots,"default")]),_:3},16)}const f=t(l,[["render",c]]);export{f as default}; +import{l as t,p as n,g as a,z as p,w as o,P as r,ai as d}from"./index-6QRvoxq4.js";const l={};function c(e,_){const s=n("VDropdown");return a(),p(s,d({"show-triggers":["hover"],"hide-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover"],delay:200},e.$attrs),{popper:o(()=>[r(e.$slots,"dropdown")]),default:o(()=>[r(e.$slots,"default")]),_:3},16)}const f=t(l,[["render",c]]);export{f as default}; diff --git a/public/admin/assets/HDropdownMenu-r0U9_oai.js b/AIWebQuickDeploy/public/admin/assets/HDropdownMenu-D4uhC_T8.js similarity index 74% rename from public/admin/assets/HDropdownMenu-r0U9_oai.js rename to AIWebQuickDeploy/public/admin/assets/HDropdownMenu-D4uhC_T8.js index ff6aa61..70e7c9d 100644 --- a/public/admin/assets/HDropdownMenu-r0U9_oai.js +++ b/AIWebQuickDeploy/public/admin/assets/HDropdownMenu-D4uhC_T8.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as m}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js";import"./index-nGFMSQGw.js";export{m as default}; +import{_ as m}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js";import"./index-6QRvoxq4.js";export{m as default}; diff --git a/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js b/AIWebQuickDeploy/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js similarity index 94% rename from public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js rename to AIWebQuickDeploy/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js index a44f3ae..0429d7f 100644 --- a/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js +++ b/AIWebQuickDeploy/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as h,n as g,p as k,g as t,z as f,w as n,c as s,s as a,i as _,F as l,P as w,ai as y,t as x}from"./index-nGFMSQGw.js";const C=["disabled","onClick"],z=h({__name:"HDropdownMenu",props:{items:{}},setup(d){const i=d,p=g(()=>i.items.map(e=>e.filter(o=>!o.hide)).filter(e=>e.length));return(e,o)=>{const c=k("VMenu");return t(),f(c,y({"show-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover","click"],delay:200},e.$attrs),{popper:n(()=>[(t(!0),s(l,null,a(_(p),(u,b)=>(t(),s("div",{key:b,class:"b-b-stone-2 b-b-solid p-1 last-b-b-size-0 dark-b-b-stone-7"},[(t(!0),s(l,null,a(u,(r,m)=>(t(),s("button",{key:m,disabled:r.disabled,class:"w-full flex cursor-pointer items-center gap-2 border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark disabled-cursor-not-allowed dark-text-white disabled-opacity-50 hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",onClick:r.handle},x(r.label),9,C))),128))]))),128))]),default:n(()=>[w(e.$slots,"default")]),_:3},16)}}});export{z as _}; +import{d as h,n as g,p as k,g as t,z as f,w as n,c as s,s as a,i as _,F as l,P as w,ai as y,t as x}from"./index-6QRvoxq4.js";const C=["disabled","onClick"],z=h({__name:"HDropdownMenu",props:{items:{}},setup(d){const i=d,p=g(()=>i.items.map(e=>e.filter(o=>!o.hide)).filter(e=>e.length));return(e,o)=>{const c=k("VMenu");return t(),f(c,y({"show-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover","click"],delay:200},e.$attrs),{popper:n(()=>[(t(!0),s(l,null,a(_(p),(u,b)=>(t(),s("div",{key:b,class:"b-b-stone-2 b-b-solid p-1 last-b-b-size-0 dark-b-b-stone-7"},[(t(!0),s(l,null,a(u,(r,m)=>(t(),s("button",{key:m,disabled:r.disabled,class:"w-full flex cursor-pointer items-center gap-2 border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark disabled-cursor-not-allowed dark-text-white disabled-opacity-50 hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",onClick:r.handle},x(r.label),9,C))),128))]))),128))]),default:n(()=>[w(e.$slots,"default")]),_:3},16)}}});export{z as _}; diff --git a/public/admin/assets/HInput-B34qGhNq.js b/AIWebQuickDeploy/public/admin/assets/HInput-BYvs3nsX.js similarity index 74% rename from public/admin/assets/HInput-B34qGhNq.js rename to AIWebQuickDeploy/public/admin/assets/HInput-BYvs3nsX.js index 717c7c5..d3e11d3 100644 --- a/public/admin/assets/HInput-B34qGhNq.js +++ b/AIWebQuickDeploy/public/admin/assets/HInput-BYvs3nsX.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as m}from"./HInput.vue_vue_type_script_setup_true_lang-DzYqFXwU.js";import"./index-nGFMSQGw.js";export{m as default}; +import{_ as m}from"./HInput.vue_vue_type_script_setup_true_lang-B93h6qE_.js";import"./index-6QRvoxq4.js";export{m as default}; diff --git a/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-DzYqFXwU.js b/AIWebQuickDeploy/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-B93h6qE_.js similarity index 93% rename from public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-DzYqFXwU.js rename to AIWebQuickDeploy/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-B93h6qE_.js index 2c9bfe3..2596f3e 100644 --- a/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-DzYqFXwU.js +++ b/AIWebQuickDeploy/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-B93h6qE_.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as r,as as n,at as i,r as u,g as p,c,y as m,ak as f,e as g}from"./index-nGFMSQGw.js";const b={class:"relative w-full lg-w-48"},h=["placeholder","disabled"],v=r({__name:"HInput",props:n({placeholder:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:s}){const e=i(o,"modelValue"),d=u();return s({ref:d}),(l,a)=>(p(),c("div",b,[m(g("input",{"onUpdate:modelValue":a[0]||(a[0]=t=>e.value=t),type:"text",placeholder:l.placeholder,disabled:l.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled-cursor-not-allowed dark-bg-dark disabled-opacity-50 focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary placeholder-stone-4 dark-placeholder-stone-5"},null,8,h),[[f,e.value]])]))}});export{v as _}; +import{d as r,as as n,at as i,r as u,g as p,c,y as m,ak as f,e as g}from"./index-6QRvoxq4.js";const b={class:"relative w-full lg-w-48"},h=["placeholder","disabled"],v=r({__name:"HInput",props:n({placeholder:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:s}){const e=i(o,"modelValue"),d=u();return s({ref:d}),(l,a)=>(p(),c("div",b,[m(g("input",{"onUpdate:modelValue":a[0]||(a[0]=t=>e.value=t),type:"text",placeholder:l.placeholder,disabled:l.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled-cursor-not-allowed dark-bg-dark disabled-opacity-50 focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary placeholder-stone-4 dark-placeholder-stone-5"},null,8,h),[[f,e.value]])]))}});export{v as _}; diff --git a/public/admin/assets/HKbd-By3ZrrUU.js b/AIWebQuickDeploy/public/admin/assets/HKbd-Be5shIQ7.js similarity index 88% rename from public/admin/assets/HKbd-By3ZrrUU.js rename to AIWebQuickDeploy/public/admin/assets/HKbd-Be5shIQ7.js index 38b3b22..d6f14d3 100644 --- a/public/admin/assets/HKbd-By3ZrrUU.js +++ b/AIWebQuickDeploy/public/admin/assets/HKbd-Be5shIQ7.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{l as t,g as n,c as r,P as s}from"./index-nGFMSQGw.js";const o={},a={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] text-dark font-medium font-sans ring-1 ring-stone-3 ring-inset last:mr-0 dark-bg-dark-9 dark-text-white dark-ring-stone-7"};function c(e,i){return n(),r("kbd",a,[s(e.$slots,"default")])}const l=t(o,[["render",c]]);export{l as default}; +import{l as t,g as n,c as r,P as s}from"./index-6QRvoxq4.js";const o={},a={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] text-dark font-medium font-sans ring-1 ring-stone-3 ring-inset last:mr-0 dark-bg-dark-9 dark-text-white dark-ring-stone-7"};function c(e,i){return n(),r("kbd",a,[s(e.$slots,"default")])}const l=t(o,[["render",c]]);export{l as default}; diff --git a/public/admin/assets/HSelect-CYtELVq1.js b/AIWebQuickDeploy/public/admin/assets/HSelect-BCiFn2nk.js similarity index 96% rename from public/admin/assets/HSelect-CYtELVq1.js rename to AIWebQuickDeploy/public/admin/assets/HSelect-BCiFn2nk.js index cdd4ce3..0e8a7ee 100644 --- a/public/admin/assets/HSelect-CYtELVq1.js +++ b/AIWebQuickDeploy/public/admin/assets/HSelect-BCiFn2nk.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as b,as as m,at as f,n as g,p as v,g as a,z as h,w as r,e as t,c as i,s as _,F as k,t as c,i as w,b as x,ai as y,j as V,Q as C}from"./index-nGFMSQGw.js";const B={class:"w-full inline-flex"},M=["disabled"],z={class:"block truncate"},S={class:"pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5"},$={class:"max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg-w-48 focus-outline-none"},F=["disabled","onClick"],E=b({__name:"HSelect",props:m({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const l=o,n=f(o,"modelValue"),d=g({get(){return l.options.find(e=>e.value===n.value)??l.options[0]},set(e){n.value=e.value}});return(e,N)=>{const u=V,p=v("VMenu");return a(),h(p,y({triggers:["click"],"popper-triggers":["click"],delay:0,disabled:e.disabled},e.$attrs),{popper:r(()=>[t("div",$,[(a(!0),i(k,null,_(e.options,s=>(a(),i("button",{key:s.value,disabled:s.disabled,class:C(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled-cursor-not-allowed hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",{"font-bold":o.modelValue===s.value}]),onClick:j=>d.value=s},c(s.label),11,F))),128))])]),default:r(()=>[t("div",B,[t("button",{class:"relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg-w-48 disabled-cursor-not-allowed dark-bg-dark focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary",disabled:e.disabled},[t("span",z,c(w(d).label),1),t("span",S,[x(u,{name:"i-carbon:chevron-down",class:"h-5 w-5 flex-shrink-0 text-stone-5"})])],8,M)])]),_:1},16,["disabled"])}}});export{E as default}; +import{d as b,as as m,at as f,n as g,p as v,g as a,z as h,w as r,e as t,c as i,s as _,F as k,t as c,i as w,b as x,ai as y,j as V,Q as C}from"./index-6QRvoxq4.js";const B={class:"w-full inline-flex"},M=["disabled"],z={class:"block truncate"},S={class:"pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5"},$={class:"max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg-w-48 focus-outline-none"},F=["disabled","onClick"],E=b({__name:"HSelect",props:m({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o){const l=o,n=f(o,"modelValue"),d=g({get(){return l.options.find(e=>e.value===n.value)??l.options[0]},set(e){n.value=e.value}});return(e,N)=>{const u=V,p=v("VMenu");return a(),h(p,y({triggers:["click"],"popper-triggers":["click"],delay:0,disabled:e.disabled},e.$attrs),{popper:r(()=>[t("div",$,[(a(!0),i(k,null,_(e.options,s=>(a(),i("button",{key:s.value,disabled:s.disabled,class:C(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled-cursor-not-allowed hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",{"font-bold":o.modelValue===s.value}]),onClick:j=>d.value=s},c(s.label),11,F))),128))])]),default:r(()=>[t("div",B,[t("button",{class:"relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg-w-48 disabled-cursor-not-allowed dark-bg-dark focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary",disabled:e.disabled},[t("span",z,c(w(d).label),1),t("span",S,[x(u,{name:"i-carbon:chevron-down",class:"h-5 w-5 flex-shrink-0 text-stone-5"})])],8,M)])]),_:1},16,["disabled"])}}});export{E as default}; diff --git a/public/admin/assets/HSlideover-DVKjWjLO.js b/AIWebQuickDeploy/public/admin/assets/HSlideover-DFpKLdtr.js similarity index 65% rename from public/admin/assets/HSlideover-DVKjWjLO.js rename to AIWebQuickDeploy/public/admin/assets/HSlideover-DFpKLdtr.js index a7c895b..f428fdc 100644 --- a/public/admin/assets/HSlideover-DVKjWjLO.js +++ b/AIWebQuickDeploy/public/admin/assets/HSlideover-DFpKLdtr.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{cy as f}from"./index-nGFMSQGw.js";export{f as default}; +import{cy as f}from"./index-6QRvoxq4.js";export{f as default}; diff --git a/public/admin/assets/HTabList-DFOAZowX.js b/AIWebQuickDeploy/public/admin/assets/HTabList-DKMxIM5w.js similarity index 62% rename from public/admin/assets/HTabList-DFOAZowX.js rename to AIWebQuickDeploy/public/admin/assets/HTabList-DKMxIM5w.js index 10fc662..6bb75bd 100644 --- a/public/admin/assets/HTabList-DFOAZowX.js +++ b/AIWebQuickDeploy/public/admin/assets/HTabList-DKMxIM5w.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as o}from"./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js";import"./index-nGFMSQGw.js";import"./use-resolve-button-type-CVaAVCZ2.js";export{o as default}; +import{_ as o}from"./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js";import"./index-6QRvoxq4.js";import"./use-resolve-button-type-BE1XPlJv.js";export{o as default}; diff --git a/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js b/AIWebQuickDeploy/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js similarity index 98% rename from public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js rename to AIWebQuickDeploy/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js index 72b8c2a..03ce089 100644 --- a/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js +++ b/AIWebQuickDeploy/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as E,r as T,a1 as j,cj as Q,ck as X,n as x,cl as F,a4 as G,a as M,X as W,c9 as J,cm as c,cn as V,co as Y,F as R,W as U,cp as B,cq as Z,O as ee,cr as h,cs as $,ct as te,cu as ae,cv as A,cw as I,as as z,at as le,g as C,z as L,w as N,b as ne,c as re,s as ue,i as _,e as se,Q as oe,A as ie,h as de,t as ce,j as ve}from"./index-nGFMSQGw.js";import{s as pe}from"./use-resolve-button-type-CVaAVCZ2.js";let fe=E({props:{onFocus:{type:Function,required:!0}},setup(e){let v=T(!0);return()=>v.value?j(X,{as:"button",type:"button",features:Q.Focusable,onFocus(d){d.preventDefault();let p,f=50;function u(){var l;if(f--<=0){p&&cancelAnimationFrame(p);return}if((l=e.onFocus)!=null&&l.call(e)){v.value=!1,cancelAnimationFrame(p);return}p=requestAnimationFrame(u)}p=requestAnimationFrame(u)}}):null}});var me=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(me||{}),be=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(be||{});let H=Symbol("TabsContext");function q(e){let v=U(H,null);if(v===null){let d=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(d,q),d}return v}let K=Symbol("TabsSSRContext"),xe=E({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:v,attrs:d,emit:p}){var f;let u=T((f=e.selectedIndex)!=null?f:e.defaultIndex),l=T([]),n=T([]),y=x(()=>e.selectedIndex!==null),S=x(()=>y.value?e.selectedIndex:u.value);function g(a){var r;let o=F(s.tabs.value,c),t=F(s.panels.value,c),i=o.filter(m=>{var b;return!((b=c(m))!=null&&b.hasAttribute("disabled"))});if(a<0||a>o.length-1){let m=B(u.value===null?0:Math.sign(a-u.value),{[-1]:()=>1,0:()=>B(Math.sign(a),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),b=B(m,{0:()=>o.indexOf(i[0]),1:()=>o.indexOf(i[i.length-1])});b!==-1&&(u.value=b),s.tabs.value=o,s.panels.value=t}else{let m=o.slice(0,a),b=[...o.slice(a),...m].find(D=>i.includes(D));if(!b)return;let w=(r=o.indexOf(b))!=null?r:s.selectedIndex.value;w===-1&&(w=s.selectedIndex.value),u.value=w,s.tabs.value=o,s.panels.value=t}}let s={selectedIndex:x(()=>{var a,r;return(r=(a=u.value)!=null?a:e.defaultIndex)!=null?r:null}),orientation:x(()=>e.vertical?"vertical":"horizontal"),activation:x(()=>e.manual?"manual":"auto"),tabs:l,panels:n,setSelectedIndex(a){S.value!==a&&p("change",a),y.value||g(a)},registerTab(a){var r;if(l.value.includes(a))return;let o=l.value[u.value];if(l.value.push(a),l.value=F(l.value,c),!y.value){let t=(r=l.value.indexOf(o))!=null?r:u.value;t!==-1&&(u.value=t)}},unregisterTab(a){let r=l.value.indexOf(a);r!==-1&&l.value.splice(r,1)},registerPanel(a){n.value.includes(a)||(n.value.push(a),n.value=F(n.value,c))},unregisterPanel(a){let r=n.value.indexOf(a);r!==-1&&n.value.splice(r,1)}};G(H,s);let k=T({tabs:[],panels:[]}),O=T(!1);M(()=>{O.value=!0}),G(K,x(()=>O.value?null:k.value));let P=x(()=>e.selectedIndex);return M(()=>{W([P],()=>{var a;return g((a=e.selectedIndex)!=null?a:e.defaultIndex)},{immediate:!0})}),J(()=>{if(!y.value||S.value==null||s.tabs.value.length<=0)return;let a=F(s.tabs.value,c);a.some((r,o)=>c(s.tabs.value[o])!==c(r))&&s.setSelectedIndex(a.findIndex(r=>c(r)===c(s.tabs.value[S.value])))}),()=>{let a={selectedIndex:u.value};return j(R,[l.value.length<=0&&j(fe,{onFocus:()=>{for(let r of l.value){let o=c(r);if((o==null?void 0:o.tabIndex)===0)return o.focus(),!0}return!1}}),V({theirProps:{...d,...Y(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:a,slots:v,attrs:d,name:"TabGroup"})])}}}),ge=E({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:v,slots:d}){let p=q("TabList");return()=>{let f={selectedIndex:p.selectedIndex.value},u={role:"tablist","aria-orientation":p.orientation.value};return V({ourProps:u,theirProps:e,slot:f,attrs:v,slots:d,name:"TabList"})}}}),he=E({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:v,slots:d,expose:p}){var f;let u=(f=e.id)!=null?f:`headlessui-tabs-tab-${Z()}`,l=q("Tab"),n=T(null);p({el:n,$el:n}),M(()=>l.registerTab(n)),ee(()=>l.unregisterTab(n));let y=U(K),S=x(()=>{if(y.value){let t=y.value.tabs.indexOf(u);return t===-1?y.value.tabs.push(u)-1:t}return-1}),g=x(()=>{let t=l.tabs.value.indexOf(n);return t===-1?S.value:t}),s=x(()=>g.value===l.selectedIndex.value);function k(t){var i;let m=t();if(m===$.Success&&l.activation.value==="auto"){let b=(i=ae(n))==null?void 0:i.activeElement,w=l.tabs.value.findIndex(D=>c(D)===b);w!==-1&&l.setSelectedIndex(w)}return m}function O(t){let i=l.tabs.value.map(m=>c(m)).filter(Boolean);if(t.key===h.Space||t.key===h.Enter){t.preventDefault(),t.stopPropagation(),l.setSelectedIndex(g.value);return}switch(t.key){case h.Home:case h.PageUp:return t.preventDefault(),t.stopPropagation(),k(()=>A(i,I.First));case h.End:case h.PageDown:return t.preventDefault(),t.stopPropagation(),k(()=>A(i,I.Last))}if(k(()=>B(l.orientation.value,{vertical(){return t.key===h.ArrowUp?A(i,I.Previous|I.WrapAround):t.key===h.ArrowDown?A(i,I.Next|I.WrapAround):$.Error},horizontal(){return t.key===h.ArrowLeft?A(i,I.Previous|I.WrapAround):t.key===h.ArrowRight?A(i,I.Next|I.WrapAround):$.Error}}))===$.Success)return t.preventDefault()}let P=T(!1);function a(){var t;P.value||(P.value=!0,!e.disabled&&((t=c(n))==null||t.focus({preventScroll:!0}),l.setSelectedIndex(g.value),te(()=>{P.value=!1})))}function r(t){t.preventDefault()}let o=pe(x(()=>({as:e.as,type:v.type})),n);return()=>{var t,i;let m={selected:s.value,disabled:(t=e.disabled)!=null?t:!1},{...b}=e,w={ref:n,onKeydown:O,onMousedown:r,onClick:a,id:u,role:"tab",type:o.value,"aria-controls":(i=c(l.panels.value[g.value]))==null?void 0:i.id,"aria-selected":s.value,tabIndex:s.value?0:-1,disabled:e.disabled?!0:void 0};return V({ourProps:w,theirProps:b,slot:m,attrs:v,slots:d,name:"Tab"})}}});const ke=E({__name:"HTabList",props:z({options:{}},{modelValue:{},modelModifiers:{}}),emits:z(["change"],["update:modelValue"]),setup(e,{emit:v}){const d=e,p=v,f=le(e,"modelValue"),u=x({get(){return d.options.findIndex(n=>n.value===f.value)},set(n){f.value=d.options[n].value}});W(f,n=>{n&&p("change",n)});function l(n){f.value=d.options[n].value}return(n,y)=>{const S=ve;return C(),L(_(xe),{"selected-index":_(u),onChange:l},{default:N(()=>[ne(_(ge),{class:"inline-flex select-none items-center justify-center rounded-md bg-stone-1 p-1 ring-1 ring-stone-2 dark-bg-stone-9 dark-ring-stone-8"},{default:N(()=>[(C(!0),re(R,null,ue(n.options,(g,s)=>(C(),L(_(he),{key:s,as:"template"},{default:N(({selected:k})=>[se("button",{class:oe(["w-full inline-flex items-center justify-center gap-1 break-keep border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark ring-stone-2 ring-inset dark-text-white focus-outline-none focus-ring-2 dark-ring-stone-8",{"cursor-default bg-white dark-bg-dark-9":k,"cursor-pointer opacity-50 hover-opacity-100":!k}])},[g.icon?(C(),L(S,{key:0,name:g.icon,class:"flex-shrink-0"},null,8,["name"])):ie("",!0),de(" "+ce(g.label),1)],2)]),_:2},1024))),128))]),_:1})]),_:1},8,["selected-index"])}}});export{ke as _}; +import{d as E,r as T,a1 as j,cj as Q,ck as X,n as x,cl as F,a4 as G,a as M,X as W,c9 as J,cm as c,cn as V,co as Y,F as R,W as U,cp as B,cq as Z,O as ee,cr as h,cs as $,ct as te,cu as ae,cv as A,cw as I,as as z,at as le,g as C,z as L,w as N,b as ne,c as re,s as ue,i as _,e as se,Q as oe,A as ie,h as de,t as ce,j as ve}from"./index-6QRvoxq4.js";import{s as pe}from"./use-resolve-button-type-BE1XPlJv.js";let fe=E({props:{onFocus:{type:Function,required:!0}},setup(e){let v=T(!0);return()=>v.value?j(X,{as:"button",type:"button",features:Q.Focusable,onFocus(d){d.preventDefault();let p,f=50;function u(){var l;if(f--<=0){p&&cancelAnimationFrame(p);return}if((l=e.onFocus)!=null&&l.call(e)){v.value=!1,cancelAnimationFrame(p);return}p=requestAnimationFrame(u)}p=requestAnimationFrame(u)}}):null}});var me=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(me||{}),be=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(be||{});let H=Symbol("TabsContext");function q(e){let v=U(H,null);if(v===null){let d=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(d,q),d}return v}let K=Symbol("TabsSSRContext"),xe=E({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:v,attrs:d,emit:p}){var f;let u=T((f=e.selectedIndex)!=null?f:e.defaultIndex),l=T([]),n=T([]),y=x(()=>e.selectedIndex!==null),S=x(()=>y.value?e.selectedIndex:u.value);function g(a){var r;let o=F(s.tabs.value,c),t=F(s.panels.value,c),i=o.filter(m=>{var b;return!((b=c(m))!=null&&b.hasAttribute("disabled"))});if(a<0||a>o.length-1){let m=B(u.value===null?0:Math.sign(a-u.value),{[-1]:()=>1,0:()=>B(Math.sign(a),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),b=B(m,{0:()=>o.indexOf(i[0]),1:()=>o.indexOf(i[i.length-1])});b!==-1&&(u.value=b),s.tabs.value=o,s.panels.value=t}else{let m=o.slice(0,a),b=[...o.slice(a),...m].find(D=>i.includes(D));if(!b)return;let w=(r=o.indexOf(b))!=null?r:s.selectedIndex.value;w===-1&&(w=s.selectedIndex.value),u.value=w,s.tabs.value=o,s.panels.value=t}}let s={selectedIndex:x(()=>{var a,r;return(r=(a=u.value)!=null?a:e.defaultIndex)!=null?r:null}),orientation:x(()=>e.vertical?"vertical":"horizontal"),activation:x(()=>e.manual?"manual":"auto"),tabs:l,panels:n,setSelectedIndex(a){S.value!==a&&p("change",a),y.value||g(a)},registerTab(a){var r;if(l.value.includes(a))return;let o=l.value[u.value];if(l.value.push(a),l.value=F(l.value,c),!y.value){let t=(r=l.value.indexOf(o))!=null?r:u.value;t!==-1&&(u.value=t)}},unregisterTab(a){let r=l.value.indexOf(a);r!==-1&&l.value.splice(r,1)},registerPanel(a){n.value.includes(a)||(n.value.push(a),n.value=F(n.value,c))},unregisterPanel(a){let r=n.value.indexOf(a);r!==-1&&n.value.splice(r,1)}};G(H,s);let k=T({tabs:[],panels:[]}),O=T(!1);M(()=>{O.value=!0}),G(K,x(()=>O.value?null:k.value));let P=x(()=>e.selectedIndex);return M(()=>{W([P],()=>{var a;return g((a=e.selectedIndex)!=null?a:e.defaultIndex)},{immediate:!0})}),J(()=>{if(!y.value||S.value==null||s.tabs.value.length<=0)return;let a=F(s.tabs.value,c);a.some((r,o)=>c(s.tabs.value[o])!==c(r))&&s.setSelectedIndex(a.findIndex(r=>c(r)===c(s.tabs.value[S.value])))}),()=>{let a={selectedIndex:u.value};return j(R,[l.value.length<=0&&j(fe,{onFocus:()=>{for(let r of l.value){let o=c(r);if((o==null?void 0:o.tabIndex)===0)return o.focus(),!0}return!1}}),V({theirProps:{...d,...Y(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:a,slots:v,attrs:d,name:"TabGroup"})])}}}),ge=E({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:v,slots:d}){let p=q("TabList");return()=>{let f={selectedIndex:p.selectedIndex.value},u={role:"tablist","aria-orientation":p.orientation.value};return V({ourProps:u,theirProps:e,slot:f,attrs:v,slots:d,name:"TabList"})}}}),he=E({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:v,slots:d,expose:p}){var f;let u=(f=e.id)!=null?f:`headlessui-tabs-tab-${Z()}`,l=q("Tab"),n=T(null);p({el:n,$el:n}),M(()=>l.registerTab(n)),ee(()=>l.unregisterTab(n));let y=U(K),S=x(()=>{if(y.value){let t=y.value.tabs.indexOf(u);return t===-1?y.value.tabs.push(u)-1:t}return-1}),g=x(()=>{let t=l.tabs.value.indexOf(n);return t===-1?S.value:t}),s=x(()=>g.value===l.selectedIndex.value);function k(t){var i;let m=t();if(m===$.Success&&l.activation.value==="auto"){let b=(i=ae(n))==null?void 0:i.activeElement,w=l.tabs.value.findIndex(D=>c(D)===b);w!==-1&&l.setSelectedIndex(w)}return m}function O(t){let i=l.tabs.value.map(m=>c(m)).filter(Boolean);if(t.key===h.Space||t.key===h.Enter){t.preventDefault(),t.stopPropagation(),l.setSelectedIndex(g.value);return}switch(t.key){case h.Home:case h.PageUp:return t.preventDefault(),t.stopPropagation(),k(()=>A(i,I.First));case h.End:case h.PageDown:return t.preventDefault(),t.stopPropagation(),k(()=>A(i,I.Last))}if(k(()=>B(l.orientation.value,{vertical(){return t.key===h.ArrowUp?A(i,I.Previous|I.WrapAround):t.key===h.ArrowDown?A(i,I.Next|I.WrapAround):$.Error},horizontal(){return t.key===h.ArrowLeft?A(i,I.Previous|I.WrapAround):t.key===h.ArrowRight?A(i,I.Next|I.WrapAround):$.Error}}))===$.Success)return t.preventDefault()}let P=T(!1);function a(){var t;P.value||(P.value=!0,!e.disabled&&((t=c(n))==null||t.focus({preventScroll:!0}),l.setSelectedIndex(g.value),te(()=>{P.value=!1})))}function r(t){t.preventDefault()}let o=pe(x(()=>({as:e.as,type:v.type})),n);return()=>{var t,i;let m={selected:s.value,disabled:(t=e.disabled)!=null?t:!1},{...b}=e,w={ref:n,onKeydown:O,onMousedown:r,onClick:a,id:u,role:"tab",type:o.value,"aria-controls":(i=c(l.panels.value[g.value]))==null?void 0:i.id,"aria-selected":s.value,tabIndex:s.value?0:-1,disabled:e.disabled?!0:void 0};return V({ourProps:w,theirProps:b,slot:m,attrs:v,slots:d,name:"Tab"})}}});const ke=E({__name:"HTabList",props:z({options:{}},{modelValue:{},modelModifiers:{}}),emits:z(["change"],["update:modelValue"]),setup(e,{emit:v}){const d=e,p=v,f=le(e,"modelValue"),u=x({get(){return d.options.findIndex(n=>n.value===f.value)},set(n){f.value=d.options[n].value}});W(f,n=>{n&&p("change",n)});function l(n){f.value=d.options[n].value}return(n,y)=>{const S=ve;return C(),L(_(xe),{"selected-index":_(u),onChange:l},{default:N(()=>[ne(_(ge),{class:"inline-flex select-none items-center justify-center rounded-md bg-stone-1 p-1 ring-1 ring-stone-2 dark-bg-stone-9 dark-ring-stone-8"},{default:N(()=>[(C(!0),re(R,null,ue(n.options,(g,s)=>(C(),L(_(he),{key:s,as:"template"},{default:N(({selected:k})=>[se("button",{class:oe(["w-full inline-flex items-center justify-center gap-1 break-keep border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark ring-stone-2 ring-inset dark-text-white focus-outline-none focus-ring-2 dark-ring-stone-8",{"cursor-default bg-white dark-bg-dark-9":k,"cursor-pointer opacity-50 hover-opacity-100":!k}])},[g.icon?(C(),L(S,{key:0,name:g.icon,class:"flex-shrink-0"},null,8,["name"])):ie("",!0),de(" "+ce(g.label),1)],2)]),_:2},1024))),128))]),_:1})]),_:1},8,["selected-index"])}}});export{ke as _}; diff --git a/public/admin/assets/HToggle-5Qxg2Ct6.js b/AIWebQuickDeploy/public/admin/assets/HToggle-BoT9z-_d.js similarity index 62% rename from public/admin/assets/HToggle-5Qxg2Ct6.js rename to AIWebQuickDeploy/public/admin/assets/HToggle-BoT9z-_d.js index 03c6dac..7584e94 100644 --- a/public/admin/assets/HToggle-5Qxg2Ct6.js +++ b/AIWebQuickDeploy/public/admin/assets/HToggle-BoT9z-_d.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as o}from"./HToggle.vue_vue_type_script_setup_true_lang-iKBpmqsT.js";import"./index-nGFMSQGw.js";import"./use-resolve-button-type-CVaAVCZ2.js";export{o as default}; +import{_ as o}from"./HToggle.vue_vue_type_script_setup_true_lang-CHjOk9yp.js";import"./index-6QRvoxq4.js";import"./use-resolve-button-type-BE1XPlJv.js";export{o as default}; diff --git a/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-iKBpmqsT.js b/AIWebQuickDeploy/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-CHjOk9yp.js similarity index 96% rename from public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-iKBpmqsT.js rename to AIWebQuickDeploy/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-CHjOk9yp.js index 8607e59..ba98c2c 100644 --- a/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-iKBpmqsT.js +++ b/AIWebQuickDeploy/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-CHjOk9yp.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{r as V,n as i,d as x,cq as D,W as M,cm as P,a as U,X as z,a1 as y,ck as A,cz as K,cj as L,cn as O,co as q,F,cr as h,as as H,at as R,g,z as k,w as G,e as w,A as Q,Q as I,i as W,j as X}from"./index-nGFMSQGw.js";import{s as J}from"./use-resolve-button-type-CVaAVCZ2.js";function Y(a,l,t){let o=V(t==null?void 0:t.value),n=i(()=>a.value!==void 0);return[i(()=>n.value?a.value:o.value),function(s){return n.value||(o.value=s),l==null?void 0:l(s)}]}function Z(a){var l,t;let o=(l=a==null?void 0:a.form)!=null?l:a.closest("form");if(o){for(let n of o.elements)if(n!==a&&(n.tagName==="INPUT"&&n.type==="submit"||n.tagName==="BUTTON"&&n.type==="submit"||n.nodeName==="INPUT"&&n.type==="image")){n.click();return}(t=o.requestSubmit)==null||t.call(o)}}let ee=Symbol("GroupContext"),ae=x({name:"Switch",emits:{"update:modelValue":a=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(a,{emit:l,attrs:t,slots:o,expose:n}){var s;let C=(s=a.id)!=null?s:`headlessui-switch-${D()}`,r=M(ee,null),[d,m]=Y(i(()=>a.modelValue),e=>l("update:modelValue",e),i(()=>a.defaultChecked));function p(){m(!d.value)}let S=V(null),c=r===null?S:r.switchRef,$=J(i(()=>({as:a.as,type:t.type})),c);n({el:c,$el:c});function B(e){e.preventDefault(),p()}function N(e){e.key===h.Space?(e.preventDefault(),p()):e.key===h.Enter&&Z(e.currentTarget)}function T(e){e.preventDefault()}let f=i(()=>{var e,u;return(u=(e=P(c))==null?void 0:e.closest)==null?void 0:u.call(e,"form")});return U(()=>{z([f],()=>{if(!f.value||a.defaultChecked===void 0)return;function e(){m(a.defaultChecked)}return f.value.addEventListener("reset",e),()=>{var u;(u=f.value)==null||u.removeEventListener("reset",e)}},{immediate:!0})}),()=>{let{name:e,value:u,form:_,tabIndex:v,...b}=a,j={checked:d.value},E={id:C,ref:c,role:"switch",type:$.value,tabIndex:v===-1?0:v,"aria-checked":d.value,"aria-labelledby":r==null?void 0:r.labelledby.value,"aria-describedby":r==null?void 0:r.describedby.value,onClick:B,onKeyup:N,onKeypress:T};return y(F,[e!=null&&d.value!=null?y(A,K({features:L.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d.value,form:_,disabled:b.disabled,name:e,value:u})):null,O({ourProps:E,theirProps:{...t,...q(b,["modelValue","defaultChecked"])},slot:j,attrs:t,slots:o,name:"Switch"})])}}});const le={class:"absolute inset-0 h-full w-full flex items-center justify-center"},oe=x({__name:"HToggle",props:H({disabled:{type:Boolean,default:!1},onIcon:{},offIcon:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const l=R(a,"modelValue");return(t,o)=>{const n=X;return g(),k(W(ae),{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=s=>l.value=s),disabled:t.disabled,class:I(["relative h-5 w-10 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full p-0 vertical-middle disabled-cursor-not-allowed disabled-opacity-50 focus-outline-none focus-visible-ring-2 focus-visible-ring-offset-2 focus-visible-ring-offset-white dark-focus-visible-ring-offset-gray-900",[l.value?"bg-ui-primary":"bg-stone-3 dark-bg-stone-7"]])},{default:G(()=>[w("span",{class:I(["pointer-events-none relative inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out dark-bg-dark",[l.value?"translate-x-5":"translate-x-0"]])},[w("span",le,[l.value&&t.onIcon||!l.value&&t.offIcon?(g(),k(n,{key:0,name:l.value?t.onIcon:t.offIcon,class:"h-3 w-3 text-stone-7 dark-text-stone-3"},null,8,["name"])):Q("",!0)])],2)]),_:1},8,["modelValue","disabled","class"])}}});export{oe as _}; +import{r as V,n as i,d as x,cq as D,W as M,cm as P,a as U,X as z,a1 as y,ck as A,cz as K,cj as L,cn as O,co as q,F,cr as h,as as H,at as R,g,z as k,w as G,e as w,A as Q,Q as I,i as W,j as X}from"./index-6QRvoxq4.js";import{s as J}from"./use-resolve-button-type-BE1XPlJv.js";function Y(a,l,t){let o=V(t==null?void 0:t.value),n=i(()=>a.value!==void 0);return[i(()=>n.value?a.value:o.value),function(s){return n.value||(o.value=s),l==null?void 0:l(s)}]}function Z(a){var l,t;let o=(l=a==null?void 0:a.form)!=null?l:a.closest("form");if(o){for(let n of o.elements)if(n!==a&&(n.tagName==="INPUT"&&n.type==="submit"||n.tagName==="BUTTON"&&n.type==="submit"||n.nodeName==="INPUT"&&n.type==="image")){n.click();return}(t=o.requestSubmit)==null||t.call(o)}}let ee=Symbol("GroupContext"),ae=x({name:"Switch",emits:{"update:modelValue":a=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(a,{emit:l,attrs:t,slots:o,expose:n}){var s;let C=(s=a.id)!=null?s:`headlessui-switch-${D()}`,r=M(ee,null),[d,m]=Y(i(()=>a.modelValue),e=>l("update:modelValue",e),i(()=>a.defaultChecked));function p(){m(!d.value)}let S=V(null),c=r===null?S:r.switchRef,$=J(i(()=>({as:a.as,type:t.type})),c);n({el:c,$el:c});function B(e){e.preventDefault(),p()}function N(e){e.key===h.Space?(e.preventDefault(),p()):e.key===h.Enter&&Z(e.currentTarget)}function T(e){e.preventDefault()}let f=i(()=>{var e,u;return(u=(e=P(c))==null?void 0:e.closest)==null?void 0:u.call(e,"form")});return U(()=>{z([f],()=>{if(!f.value||a.defaultChecked===void 0)return;function e(){m(a.defaultChecked)}return f.value.addEventListener("reset",e),()=>{var u;(u=f.value)==null||u.removeEventListener("reset",e)}},{immediate:!0})}),()=>{let{name:e,value:u,form:_,tabIndex:v,...b}=a,j={checked:d.value},E={id:C,ref:c,role:"switch",type:$.value,tabIndex:v===-1?0:v,"aria-checked":d.value,"aria-labelledby":r==null?void 0:r.labelledby.value,"aria-describedby":r==null?void 0:r.describedby.value,onClick:B,onKeyup:N,onKeypress:T};return y(F,[e!=null&&d.value!=null?y(A,K({features:L.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d.value,form:_,disabled:b.disabled,name:e,value:u})):null,O({ourProps:E,theirProps:{...t,...q(b,["modelValue","defaultChecked"])},slot:j,attrs:t,slots:o,name:"Switch"})])}}});const le={class:"absolute inset-0 h-full w-full flex items-center justify-center"},oe=x({__name:"HToggle",props:H({disabled:{type:Boolean,default:!1},onIcon:{},offIcon:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const l=R(a,"modelValue");return(t,o)=>{const n=X;return g(),k(W(ae),{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=s=>l.value=s),disabled:t.disabled,class:I(["relative h-5 w-10 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full p-0 vertical-middle disabled-cursor-not-allowed disabled-opacity-50 focus-outline-none focus-visible-ring-2 focus-visible-ring-offset-2 focus-visible-ring-offset-white dark-focus-visible-ring-offset-gray-900",[l.value?"bg-ui-primary":"bg-stone-3 dark-bg-stone-7"]])},{default:G(()=>[w("span",{class:I(["pointer-events-none relative inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out dark-bg-dark",[l.value?"translate-x-5":"translate-x-0"]])},[w("span",le,[l.value&&t.onIcon||!l.value&&t.offIcon?(g(),k(n,{key:0,name:l.value?t.onIcon:t.offIcon,class:"h-3 w-3 text-stone-7 dark-text-stone-3"},null,8,["name"])):Q("",!0)])],2)]),_:1},8,["modelValue","disabled","class"])}}});export{oe as _}; diff --git a/public/admin/assets/HTooltip-D8zlh0ym.js b/AIWebQuickDeploy/public/admin/assets/HTooltip-CW8ZlTRK.js similarity index 74% rename from public/admin/assets/HTooltip-D8zlh0ym.js rename to AIWebQuickDeploy/public/admin/assets/HTooltip-CW8ZlTRK.js index b10d5a7..1a873f5 100644 --- a/public/admin/assets/HTooltip-D8zlh0ym.js +++ b/AIWebQuickDeploy/public/admin/assets/HTooltip-CW8ZlTRK.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as m}from"./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js";import"./index-nGFMSQGw.js";export{m as default}; +import{_ as m}from"./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js";import"./index-6QRvoxq4.js";export{m as default}; diff --git a/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js b/AIWebQuickDeploy/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js similarity index 89% rename from public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js rename to AIWebQuickDeploy/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js index cadde17..ded97e4 100644 --- a/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js +++ b/AIWebQuickDeploy/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as r,p,g as o,z as l,w as s,P as t,ai as n,c as i,h as d,t as c}from"./index-nGFMSQGw.js";const m={key:1},g=r({__name:"HTooltip",props:{text:{default:""},enable:{type:Boolean,default:!0}},setup(u){return(e,f)=>{const a=p("VTooltip");return e.enable?(o(),l(a,n({key:0,"popper-triggers":["hover"]},e.$attrs),{popper:s(()=>[t(e.$slots,"text",{},()=>[d(c(e.text),1)])]),default:s(()=>[t(e.$slots,"default")]),_:3},16)):(o(),i("div",m,[t(e.$slots,"default")]))}}});export{g as _}; +import{d as r,p,g as o,z as l,w as s,P as t,ai as n,c as i,h as d,t as c}from"./index-6QRvoxq4.js";const m={key:1},g=r({__name:"HTooltip",props:{text:{default:""},enable:{type:Boolean,default:!0}},setup(u){return(e,f)=>{const a=p("VTooltip");return e.enable?(o(),l(a,n({key:0,"popper-triggers":["hover"]},e.$attrs),{popper:s(()=>[t(e.$slots,"text",{},()=>[d(c(e.text),1)])]),default:s(()=>[t(e.$slots,"default")]),_:3},16)):(o(),i("div",m,[t(e.$slots,"default")]))}}});export{g as _}; diff --git a/public/admin/assets/_...all_-C9XwyC6X.js b/AIWebQuickDeploy/public/admin/assets/_...all_-e-47I_Lk.js similarity index 94% rename from public/admin/assets/_...all_-C9XwyC6X.js rename to AIWebQuickDeploy/public/admin/assets/_...all_-e-47I_Lk.js index f1b17d4..68df37a 100644 --- a/public/admin/assets/_...all_-C9XwyC6X.js +++ b/AIWebQuickDeploy/public/admin/assets/_...all_-e-47I_Lk.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as i,u,r as _,o as f,a as d,c as x,b as o,e as t,w as p,f as m,_ as v,g as w,h as g,t as h,i as k,j as B,k as s}from"./index-nGFMSQGw.js";const N={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},b={class:"flex flex-col gap-4"},S=t("h1",{class:"m-0 text-6xl font-sans"}," 404 ",-1),y=t("div",{class:"mx-0 text-xl text-stone-5"}," 抱歉,你访问的页面不存在 ",-1),I=i({__name:"[...all]",setup(C){const a=m(),l=u(),e=_({inter:Number.NaN,countdown:5});f(()=>{e.value.inter&&window.clearInterval(e.value.inter)}),d(()=>{e.value.inter=window.setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&window.clearInterval(e.value.inter),n())},1e3)});function n(){a.push(l.settings.home.fullPath)}return(V,j)=>{const c=B,r=v;return w(),x("div",N,[o(c,{name:"404",class:"text-[300px] lg-text-[400px]"}),t("div",b,[S,y,t("div",null,[o(r,{onClick:n},{default:p(()=>[g(h(k(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});typeof s=="function"&&s(I);export{I as default}; +import{d as i,u,r as _,o as f,a as d,c as x,b as o,e as t,w as p,f as m,_ as v,g as w,h as g,t as h,i as k,j as B,k as s}from"./index-6QRvoxq4.js";const N={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},b={class:"flex flex-col gap-4"},S=t("h1",{class:"m-0 text-6xl font-sans"}," 404 ",-1),y=t("div",{class:"mx-0 text-xl text-stone-5"}," 抱歉,你访问的页面不存在 ",-1),I=i({__name:"[...all]",setup(C){const a=m(),l=u(),e=_({inter:Number.NaN,countdown:5});f(()=>{e.value.inter&&window.clearInterval(e.value.inter)}),d(()=>{e.value.inter=window.setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&window.clearInterval(e.value.inter),n())},1e3)});function n(){a.push(l.settings.home.fullPath)}return(V,j)=>{const c=B,r=v;return w(),x("div",N,[o(c,{name:"404",class:"text-[300px] lg-text-[400px]"}),t("div",b,[S,y,t("div",null,[o(r,{onClick:n},{default:p(()=>[g(h(k(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});typeof s=="function"&&s(I);export{I as default}; diff --git a/public/admin/assets/accountLog-j3jh3-tg.js b/AIWebQuickDeploy/public/admin/assets/accountLog-fHuxQkeO.js similarity index 94% rename from public/admin/assets/accountLog-j3jh3-tg.js rename to AIWebQuickDeploy/public/admin/assets/accountLog-fHuxQkeO.js index de79cd4..4db4fd4 100644 --- a/public/admin/assets/accountLog-j3jh3-tg.js +++ b/AIWebQuickDeploy/public/admin/assets/accountLog-fHuxQkeO.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as H,r as _,m as I,a as G,p as r,q as O,g as u,c as v,b as t,w as a,F as R,s as M,i as m,h as d,y as K,z as h,t as g,e as J,K as P,k as V}from"./index-nGFMSQGw.js";import{R as Q,l as W,U as X,j as Z}from"./index-BE-LteFu.js";import{u as ee}from"./utcformatTime-Bq4gDWNx.js";const te=J("div",{class:"flex items-center gap-4"},"账户明细",-1),ae=H({__name:"accountLog",setup(le){const C=_(),T=_(0),f=_(!1),n=I({userId:"",rechargeType:"",packageId:"",page:1,size:15});I({model3Count:[{required:!0,message:"请填写赠送基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写赠送高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写赠送绘画积分额度",trigger:"blur"}]});const A=_(),k=_([]);async function i(){try{f.value=!0;const s=await P.queryUserAccountLog(n),{rows:l,count:b}=s.data;f.value=!1,T.value=b,k.value=l}catch{f.value=!1}}async function D(s){const l=await P.queryAllUser({size:30,keyword:s});A.value=l.data.rows}function q(s){s==null||s.resetFields(),i()}return G(()=>i()),(s,l)=>{const b=F,U=r("el-option"),x=r("el-select"),w=r("el-form-item"),z=r("el-button"),Y=r("el-form"),S=$,E=r("el-avatar"),o=r("el-table-column"),y=r("el-tag"),j=r("el-table"),L=r("el-pagination"),B=r("el-row"),N=O("loading");return u(),v("div",null,[t(b,null,{title:a(()=>[te]),_:1}),t(S,null,{default:a(()=>[t(Y,{ref_key:"formRef",ref:C,inline:!0,model:n},{default:a(()=>[t(w,{label:"用户名称",prop:"userId"},{default:a(()=>[t(x,{modelValue:n.userId,"onUpdate:modelValue":l[0]||(l[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"昵称|手机号|邮箱[模糊搜索]","remote-show-suffix":"","remote-method":D,style:{width:"200px"}},{default:a(()=>[(u(!0),v(R,null,M(A.value,e=>(u(),h(U,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"充值类型",prop:"rechargeType"},{default:a(()=>[t(x,{modelValue:n.rechargeType,"onUpdate:modelValue":l[1]||(l[1]=e=>n.rechargeType=e),placeholder:"请选择充值类型",clearable:"",style:{width:"160px"}},{default:a(()=>[(u(!0),v(R,null,M(m(Q),e=>(u(),h(U,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,null,{default:a(()=>[t(z,{type:"primary",onClick:i},{default:a(()=>[d(" 查询 ")]),_:1}),t(z,{onClick:l[2]||(l[2]=e=>q(C.value))},{default:a(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(S,{style:{width:"100%"}},{default:a(()=>[K((u(),h(j,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:a(()=>[t(o,{prop:"avatar",label:"用户头像",width:"120",fixed:""},{default:a(e=>[t(E,{src:e.row.avatar},null,8,["src"])]),_:1}),t(o,{prop:"username",label:"用户名称",width:"150",fixed:""}),t(o,{prop:"userId",label:"用户ID",width:"80"}),t(o,{prop:"uid",label:"订单ID",width:"130"}),t(o,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),t(o,{prop:"balanceInfo.useModel4Count",label:"充值类型",width:"160",align:"center"},{default:a(e=>[t(y,{type:"success"},{default:a(()=>{var c,p;return[d(g((c=e.row)!=null&&c.rechargeType?m(W)[(p=e.row)==null?void 0:p.rechargeType]:"---"),1)]}),_:2},1024)]),_:1}),t(o,{prop:"model3Count",label:"基础模型额度",width:"120",align:"center"}),t(o,{prop:"model4Count",label:"高级模型额度",width:"120",align:"center"}),t(o,{prop:"drawMjCount",label:"绘画余额额度",width:"120",align:"center"}),t(o,{label:"额度有效期",width:"170",align:"center"},{default:a(e=>[t(y,{type:"success"},{default:a(()=>{var c,p;return[d(g(((c=e.row)==null?void 0:c.days)<=0?"永久时效":`${(p=e.row)==null?void 0:p.days}天`),1)]}),_:2},1024)]),_:1}),t(o,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:a(({row:e})=>[t(y,{type:m(X)[e.status]},{default:a(()=>[d(g(m(Z)[e.status]),1)]),_:2},1032,["type"])]),_:1}),t(o,{prop:"createdAt",label:"充值时间",width:"200",align:"center"},{default:a(e=>[d(g(m(ee)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[N,f.value]]),t(B,{class:"mt-5 flex justify-end"},{default:a(()=>[t(L,{"current-page":n.page,"onUpdate:currentPage":l[3]||(l[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":l[4]||(l[4]=e=>n.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:T.value,onSizeChange:i,onCurrentChange:i},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof V=="function"&&V(ae);export{ae as default}; +import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as H,r as _,m as I,a as G,p as r,q as O,g as u,c as v,b as t,w as a,F as R,s as M,i as m,h as d,y as K,z as h,t as g,e as J,K as P,k as V}from"./index-6QRvoxq4.js";import{R as Q,l as W,U as X,j as Z}from"./index-BE-LteFu.js";import{u as ee}from"./utcformatTime-Bq4gDWNx.js";const te=J("div",{class:"flex items-center gap-4"},"账户明细",-1),ae=H({__name:"accountLog",setup(le){const C=_(),T=_(0),f=_(!1),n=I({userId:"",rechargeType:"",packageId:"",page:1,size:15});I({model3Count:[{required:!0,message:"请填写赠送基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写赠送高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写赠送绘画积分额度",trigger:"blur"}]});const A=_(),k=_([]);async function i(){try{f.value=!0;const s=await P.queryUserAccountLog(n),{rows:l,count:b}=s.data;f.value=!1,T.value=b,k.value=l}catch{f.value=!1}}async function D(s){const l=await P.queryAllUser({size:30,keyword:s});A.value=l.data.rows}function q(s){s==null||s.resetFields(),i()}return G(()=>i()),(s,l)=>{const b=F,U=r("el-option"),x=r("el-select"),w=r("el-form-item"),z=r("el-button"),Y=r("el-form"),S=$,E=r("el-avatar"),o=r("el-table-column"),y=r("el-tag"),j=r("el-table"),L=r("el-pagination"),B=r("el-row"),N=O("loading");return u(),v("div",null,[t(b,null,{title:a(()=>[te]),_:1}),t(S,null,{default:a(()=>[t(Y,{ref_key:"formRef",ref:C,inline:!0,model:n},{default:a(()=>[t(w,{label:"用户名称",prop:"userId"},{default:a(()=>[t(x,{modelValue:n.userId,"onUpdate:modelValue":l[0]||(l[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"昵称|手机号|邮箱[模糊搜索]","remote-show-suffix":"","remote-method":D,style:{width:"200px"}},{default:a(()=>[(u(!0),v(R,null,M(A.value,e=>(u(),h(U,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"充值类型",prop:"rechargeType"},{default:a(()=>[t(x,{modelValue:n.rechargeType,"onUpdate:modelValue":l[1]||(l[1]=e=>n.rechargeType=e),placeholder:"请选择充值类型",clearable:"",style:{width:"160px"}},{default:a(()=>[(u(!0),v(R,null,M(m(Q),e=>(u(),h(U,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,null,{default:a(()=>[t(z,{type:"primary",onClick:i},{default:a(()=>[d(" 查询 ")]),_:1}),t(z,{onClick:l[2]||(l[2]=e=>q(C.value))},{default:a(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(S,{style:{width:"100%"}},{default:a(()=>[K((u(),h(j,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:a(()=>[t(o,{prop:"avatar",label:"用户头像",width:"120",fixed:""},{default:a(e=>[t(E,{src:e.row.avatar},null,8,["src"])]),_:1}),t(o,{prop:"username",label:"用户名称",width:"150",fixed:""}),t(o,{prop:"userId",label:"用户ID",width:"80"}),t(o,{prop:"uid",label:"订单ID",width:"130"}),t(o,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),t(o,{prop:"balanceInfo.useModel4Count",label:"充值类型",width:"160",align:"center"},{default:a(e=>[t(y,{type:"success"},{default:a(()=>{var c,p;return[d(g((c=e.row)!=null&&c.rechargeType?m(W)[(p=e.row)==null?void 0:p.rechargeType]:"---"),1)]}),_:2},1024)]),_:1}),t(o,{prop:"model3Count",label:"基础模型额度",width:"120",align:"center"}),t(o,{prop:"model4Count",label:"高级模型额度",width:"120",align:"center"}),t(o,{prop:"drawMjCount",label:"绘画余额额度",width:"120",align:"center"}),t(o,{label:"额度有效期",width:"170",align:"center"},{default:a(e=>[t(y,{type:"success"},{default:a(()=>{var c,p;return[d(g(((c=e.row)==null?void 0:c.days)<=0?"永久时效":`${(p=e.row)==null?void 0:p.days}天`),1)]}),_:2},1024)]),_:1}),t(o,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:a(({row:e})=>[t(y,{type:m(X)[e.status]},{default:a(()=>[d(g(m(Z)[e.status]),1)]),_:2},1032,["type"])]),_:1}),t(o,{prop:"createdAt",label:"充值时间",width:"200",align:"center"},{default:a(e=>[d(g(m(ee)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[N,f.value]]),t(B,{class:"mt-5 flex justify-end"},{default:a(()=>[t(L,{"current-page":n.page,"onUpdate:currentPage":l[3]||(l[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":l[4]||(l[4]=e=>n.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:T.value,onSizeChange:i,onCurrentChange:i},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof V=="function"&&V(ae);export{ae as default}; diff --git a/public/admin/assets/ali-0_edqUL6.js b/AIWebQuickDeploy/public/admin/assets/ali-Mqm0cjbu.js similarity index 95% rename from public/admin/assets/ali-0_edqUL6.js rename to AIWebQuickDeploy/public/admin/assets/ali-Mqm0cjbu.js index 19f4747..f93e714 100644 --- a/public/admin/assets/ali-0_edqUL6.js +++ b/AIWebQuickDeploy/public/admin/assets/ali-Mqm0cjbu.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as B,m as I,r as C,n as R,a as U,p as n,g as D,c as N,b as e,w as l,h as p,i as m,e as f,G as y,j,_ as q,k as V}from"./index-nGFMSQGw.js";import{a as x}from"./config-CYXO1pNF.js";const $=f("div",{class:"flex items-center gap-4"},"阿里云OSS参数设置",-1),E=f("div",{class:"text-sm/6"},[f("div",null,[p(" 需前往阿里云申请对象存储服务,更多配置及申请详见"),f("a",{href:"https://oss.console.aliyun.com",target:"_blank"},"阿里云OSS"),p(" 。如果同时开启多个存储服务,腾讯云优先级高于阿里云。 ")])],-1),H=B({__name:"ali",setup(M){const a=I({aliOssStatus:"",aliOssAccessKeyId:"",aliOssAccessKeySecret:"",aliOssRegion:"",aliOssBucket:"",aliOssAcceleratedDomain:""}),_=C();async function O(){const o=await x.queryConfig({keys:["aliOssAccessKeySecret","aliOssRegion","aliOssBucket","aliOssAccessKeyId","aliOssStatus","aliOssAcceleratedDomain"]});Object.assign(a,o.data)}function S(){var o;(o=_.value)==null||o.validate(async s=>{if(s){try{await x.setConfig({settings:b(a)}),y.success("变更配置信息成功")}catch{}O()}else y.error("请填写完整信息")})}function b(o){return Object.keys(o).map(s=>({configKey:s,configVal:o[s]}))}const d=R(()=>[{required:Number(a.aliOssStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return U(()=>{O()}),(o,s)=>{const g=j,A=q,w=h,k=n("el-switch"),c=n("el-form-item"),r=n("el-col"),u=n("el-row"),i=n("el-input"),v=n("el-form"),K=n("el-card");return D(),N("div",null,[e(w,null,{title:l(()=>[$]),content:l(()=>[E]),default:l(()=>[e(A,{outline:"",onClick:S},{default:l(()=>[e(g,{name:"i-ri:file-text-line"}),p(" 保存设置 ")]),_:1})]),_:1}),e(K,{style:{margin:"20px"}},{default:l(()=>[e(v,{ref_key:"formRef",ref:_,model:a,"label-width":"120px"},{default:l(()=>[e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"服务启用状态",prop:"aliOssStatus"},{default:l(()=>[e(k,{modelValue:a.aliOssStatus,"onUpdate:modelValue":s[0]||(s[0]=t=>a.aliOssStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"accessKeyId",prop:"aliOssAccessKeyId",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeyId,"onUpdate:modelValue":s[1]||(s[1]=t=>a.aliOssAccessKeyId=t),placeholder:"请填写SecretId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"keySecret",prop:"aliOssAccessKeySecret",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeySecret,"onUpdate:modelValue":s[2]||(s[2]=t=>a.aliOssAccessKeySecret=t),placeholder:"请填写SecretKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"存储桶名称",prop:"aliOssBucket",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssBucket,"onUpdate:modelValue":s[3]||(s[3]=t=>a.aliOssBucket=t),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"所属地域",prop:"aliOssRegion",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssRegion,"onUpdate:modelValue":s[4]||(s[4]=t=>a.aliOssRegion=t),placeholder:"请填写所属地域(oss-cn-shanghai)",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"全球加速域名",prop:"aliOssAcceleratedDomain"},{default:l(()=>[e(i,{modelValue:a.aliOssAcceleratedDomain,"onUpdate:modelValue":s[5]||(s[5]=t=>a.aliOssAcceleratedDomain=t),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof V=="function"&&V(H);export{H as default}; +import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as B,m as I,r as C,n as R,a as U,p as n,g as D,c as N,b as e,w as l,h as p,i as m,e as f,G as y,j,_ as q,k as V}from"./index-6QRvoxq4.js";import{a as x}from"./config-DBls5jtO.js";const $=f("div",{class:"flex items-center gap-4"},"阿里云OSS参数设置",-1),E=f("div",{class:"text-sm/6"},[f("div",null,[p(" 需前往阿里云申请对象存储服务,更多配置及申请详见"),f("a",{href:"https://oss.console.aliyun.com",target:"_blank"},"阿里云OSS"),p(" 。如果同时开启多个存储服务,腾讯云优先级高于阿里云。 ")])],-1),H=B({__name:"ali",setup(M){const a=I({aliOssStatus:"",aliOssAccessKeyId:"",aliOssAccessKeySecret:"",aliOssRegion:"",aliOssBucket:"",aliOssAcceleratedDomain:""}),_=C();async function O(){const o=await x.queryConfig({keys:["aliOssAccessKeySecret","aliOssRegion","aliOssBucket","aliOssAccessKeyId","aliOssStatus","aliOssAcceleratedDomain"]});Object.assign(a,o.data)}function S(){var o;(o=_.value)==null||o.validate(async s=>{if(s){try{await x.setConfig({settings:b(a)}),y.success("变更配置信息成功")}catch{}O()}else y.error("请填写完整信息")})}function b(o){return Object.keys(o).map(s=>({configKey:s,configVal:o[s]}))}const d=R(()=>[{required:Number(a.aliOssStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return U(()=>{O()}),(o,s)=>{const g=j,A=q,w=h,k=n("el-switch"),c=n("el-form-item"),r=n("el-col"),u=n("el-row"),i=n("el-input"),v=n("el-form"),K=n("el-card");return D(),N("div",null,[e(w,null,{title:l(()=>[$]),content:l(()=>[E]),default:l(()=>[e(A,{outline:"",onClick:S},{default:l(()=>[e(g,{name:"i-ri:file-text-line"}),p(" 保存设置 ")]),_:1})]),_:1}),e(K,{style:{margin:"20px"}},{default:l(()=>[e(v,{ref_key:"formRef",ref:_,model:a,"label-width":"120px"},{default:l(()=>[e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"服务启用状态",prop:"aliOssStatus"},{default:l(()=>[e(k,{modelValue:a.aliOssStatus,"onUpdate:modelValue":s[0]||(s[0]=t=>a.aliOssStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"accessKeyId",prop:"aliOssAccessKeyId",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeyId,"onUpdate:modelValue":s[1]||(s[1]=t=>a.aliOssAccessKeyId=t),placeholder:"请填写SecretId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"keySecret",prop:"aliOssAccessKeySecret",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeySecret,"onUpdate:modelValue":s[2]||(s[2]=t=>a.aliOssAccessKeySecret=t),placeholder:"请填写SecretKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"存储桶名称",prop:"aliOssBucket",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssBucket,"onUpdate:modelValue":s[3]||(s[3]=t=>a.aliOssBucket=t),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"所属地域",prop:"aliOssRegion",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssRegion,"onUpdate:modelValue":s[4]||(s[4]=t=>a.aliOssRegion=t),placeholder:"请填写所属地域(oss-cn-shanghai)",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"全球加速域名",prop:"aliOssAcceleratedDomain"},{default:l(()=>[e(i,{modelValue:a.aliOssAcceleratedDomain,"onUpdate:modelValue":s[5]||(s[5]=t=>a.aliOssAcceleratedDomain=t),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof V=="function"&&V(H);export{H as default}; diff --git a/public/admin/assets/apl-B4CMkyY2.js b/AIWebQuickDeploy/public/admin/assets/apl-B4CMkyY2.js similarity index 100% rename from public/admin/assets/apl-B4CMkyY2.js rename to AIWebQuickDeploy/public/admin/assets/apl-B4CMkyY2.js diff --git a/public/admin/assets/app-BCL1kqkG.js b/AIWebQuickDeploy/public/admin/assets/app-CZBIwClE.js similarity index 87% rename from public/admin/assets/app-BCL1kqkG.js rename to AIWebQuickDeploy/public/admin/assets/app-CZBIwClE.js index 4f44c6e..5fa4bdd 100644 --- a/public/admin/assets/app-BCL1kqkG.js +++ b/AIWebQuickDeploy/public/admin/assets/app-CZBIwClE.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{I as t}from"./index-nGFMSQGw.js";const e={queryCats:p=>t.get("app/queryAppCats",{params:p}),deleteCats:p=>t.post("app/delAppCats",p),createCats:p=>t.post("app/createAppCats",p),updateCats:p=>t.post("app/updateAppCats",p),queryApp:p=>t.get("app/queryApp",{params:p}),deleteApp:p=>t.post("app/delApp",p),createApp:p=>t.post("app/createApp",p),updateApp:p=>t.post("app/updateApp",p)};export{e as A}; +import{I as t}from"./index-6QRvoxq4.js";const e={queryCats:p=>t.get("app/queryAppCats",{params:p}),deleteCats:p=>t.post("app/delAppCats",p),createCats:p=>t.post("app/createAppCats",p),updateCats:p=>t.post("app/updateAppCats",p),queryApp:p=>t.get("app/queryApp",{params:p}),deleteApp:p=>t.post("app/delApp",p),createApp:p=>t.post("app/createApp",p),updateApp:p=>t.post("app/updateApp",p)};export{e as A}; diff --git a/public/admin/assets/application-Bvco68p6.js b/AIWebQuickDeploy/public/admin/assets/application-BreYJjWu.js similarity index 97% rename from public/admin/assets/application-Bvco68p6.js rename to AIWebQuickDeploy/public/admin/assets/application-BreYJjWu.js index a914d3a..e323392 100644 --- a/public/admin/assets/application-Bvco68p6.js +++ b/AIWebQuickDeploy/public/admin/assets/application-BreYJjWu.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as Ie}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as Ae}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as xe,r as c,m as S,n as J,a as ke,p as i,q as he,g as r,c as U,b as t,w as a,h as _,F as j,s as B,i as n,v as De,x as Te,y as Ue,z as u,t as x,e as w,A as y,B as Pe,C as ze,D as Ce,E as Me,G as P,H as X,j as Ge,_ as Fe,k as Z}from"./index-nGFMSQGw.js";import{A as z}from"./app-BCL1kqkG.js";import{u as qe}from"./utcformatTime-Bq4gDWNx.js";import{Q as Ne,M as $e}from"./index-BE-LteFu.js";const Se=w("div",{class:"flex items-center gap-4"},"应用配置",-1),je=w("div",{class:"text-sm/6"},[w("div",null," 应用一旦创建,可能会被多处使用,请保持规范命名分类,后续尽量变更而不是删除。 "),w("div",null," 可自行选择应用是否固定模型。GPTs 需单独在特殊模型中配置 gpts 模型,并自行搜索填写 gizmoID(例如:g-alKfVrz9K)。 ")],-1),Be={style:{maxWidth:"350px"}},Re={style:{maxHeight:"50px",cursor:"pointer"}},Le={style:{maxWidth:"350px"}},Ke={style:{maxHeight:"50px",cursor:"pointer"}},He=["src"],Oe={class:"mr-5 flex justify-end"},Ye=xe({__name:"application",setup(We){const R=c(),L=c(0),A=c(!1),C=c(!1),f=S({catId:"",name:"",status:"",role:"",page:1,size:10,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),K=c(`/api/upload/file?dir=${encodeURIComponent("system/app")}`),F=c(),k=c(0),h=c(!1),H=c(0),o=S({catId:"",name:"",preset:"",des:"",coverImg:"",demoData:"",order:100,status:0,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),E=S({catId:[{required:!0,message:"请选择App分类",trigger:"change"}],name:[{required:!0,message:"请填写App名称",trigger:"blur"}],preset:[{required:!1,message:"请填写App预设信息",trigger:"blur"}],des:[{required:!0,message:"请填写App描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写App封面图片地址",trigger:"blur"}],demoData:[{required:!1,message:"请填写App演示数据",trigger:"blur"}],isGPTs:[{required:!0,message:"是否GPTs",trigger:"blur"}],gizmoID:[{required:!1,message:"GPTs 的ID",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择App状态",trigger:"change"}],isFixedModel:[{required:!0,message:"请选择App是否固定模型",trigger:"blur"}],appModel:[{required:!1,message:"请选择App使用的模型",trigger:"change"}]}),O=c([]),q=c([]),ee=J(()=>k.value?"更新应用":"新增应用"),le=J(()=>k.value?"确认更新":"确认新增");async function V(){try{C.value=!0;const s=await z.queryApp(f),{rows:l,count:d}=s.data;C.value=!1,L.value=d,O.value=l.sort((m,v)=>v.order-m.order)}catch{C.value=!1}}async function te(){const s=await z.queryCats({size:100}),{rows:l}=s.data;q.value=l}function ae(s){k.value=s.id,h.value=s.role==="user",H.value=s.status;const{name:l,status:d,des:m,order:v,coverImg:D,catId:T,preset:p,demoData:g,isGPTs:I,gizmoID:M,isFixedModel:G,appModel:N}=s;Me(()=>{Object.assign(o,{name:l,status:d,des:m,order:v,coverImg:D,catId:T,preset:p,demoData:g,isGPTs:I,gizmoID:M,isFixedModel:G,appModel:N})}),A.value=!0}function oe(s){k.value=0,s==null||s.resetFields()}async function se(s){await z.deleteApp({id:s.id}),P.success("删除分类成功"),V()}function ne(s){s==null||s.resetFields(),V()}const Y=(s,l)=>{console.log("response: ",s.data),o.coverImg=s.data},re=s=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(s.type)){if(s.size/1024>300)return P.error("当前限制文件最大不超过 300KB!"),!1}else return P.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};async function de(){if(o.coverImg){const s=await pe(o.coverImg);ie(s,Y)}}function ie(s,l){const d=new FormData;d.append("file",s),X.post(K.value,d,{headers:{"Content-Type":"multipart/form-data"}}).then(m=>{l(m.data)}).catch(m=>{console.error("上传失败",m)})}async function pe(s){const l=await X.get(s,{responseType:"blob"});let d="downloaded_file";const m=l.headers["content-disposition"];if(m){const v=/filename="([^"]+)"/.exec(m);v!=null&&v[1]&&(d=v[1])}else d=ue(s);return new File([l.data],d,{type:l.data.type})}function ue(s){const d=new URL(s).pathname;return d.substring(d.lastIndexOf("/")+1)}function me(s){s==null||s.validate(async l=>{if(l){if(k.value){const d={id:k.value,...o};h.value&&Object.assign(d,{status:H.value}),await z.updateApp(d),P({type:"success",message:"更新应用成功!"})}else await z.createApp(o),P({type:"success",message:"创建新的应用成功!"});A.value=!1,V()}})}return ke(()=>{V(),te()}),(s,l)=>{const d=Ge,m=Fe,v=Ae,D=i("el-option"),T=i("el-select"),p=i("el-form-item"),g=i("el-input"),I=i("el-button"),M=i("el-form"),G=Ie,N=i("el-image"),b=i("el-table-column"),ce=i("el-tag"),W=i("el-tooltip"),fe=i("el-popconfirm"),ge=i("el-table"),_e=i("el-pagination"),ve=i("el-row"),$=i("el-switch"),Q=i("el-icon"),be=i("el-upload"),ye=i("el-dialog"),we=he("loading");return r(),U("div",null,[t(v,null,{title:a(()=>[Se]),content:a(()=>[je]),default:a(()=>[t(m,{outline:"",onClick:l[0]||(l[0]=e=>A.value=!0)},{default:a(()=>[t(d,{name:"ic:baseline-plus"}),_(" 新增应用 ")]),_:1})]),_:1}),t(G,null,{default:a(()=>[t(M,{ref_key:"formRef",ref:R,inline:!0,model:f},{default:a(()=>[t(p,{label:"App分类",prop:"catId"},{default:a(()=>[t(T,{modelValue:f.catId,"onUpdate:modelValue":l[1]||(l[1]=e=>f.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"160px"}},{default:a(()=>[(r(!0),U(j,null,B(n(q),e=>(r(),u(D,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(p,{label:"App名称",prop:"name"},{default:a(()=>[t(g,{modelValue:f.name,"onUpdate:modelValue":l[2]||(l[2]=e=>f.name=e),placeholder:"App名称[模糊搜索]",clearable:"",onKeydown:De(Te(V,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),t(p,null,{default:a(()=>[t(I,{type:"primary",onClick:V},{default:a(()=>[_(" 查询 ")]),_:1}),t(I,{onClick:l[3]||(l[3]=e=>ne(n(R)))},{default:a(()=>[_(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(G,{style:{width:"100%"}},{default:a(()=>[Ue((r(),u(ge,{border:"",data:n(O),style:{width:"100%"},size:"large"},{default:a(()=>[t(b,{prop:"coverImg",label:"应用封面",width:"100"},{default:a(e=>[t(N,{style:{height:"50px"},src:e.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),t(b,{prop:"catName",label:"应用分类",width:"100"}),t(b,{prop:"name",label:"应用名称",width:"120"}),t(b,{prop:"status",label:"应用状态",width:"100"},{default:a(e=>[t(ce,{type:e.row.status===1?"success":"danger"},{default:a(()=>[_(x(n(Ne)[e.row.status]),1)]),_:2},1032,["type"])]),_:1}),t(b,{prop:"order",label:"排序ID"}),_(" /> "),t(b,{prop:"preset",label:"预设信息",width:"400"},{default:a(e=>[t(W,{class:"box-item",effect:"dark",placement:"top-start"},{content:a(()=>[w("div",Be,x(e.row.preset),1)]),default:a(()=>[w("div",Re,x(e.row.preset),1)]),_:2},1024)]),_:1}),t(b,{prop:"des",label:"描述信息",width:"300"},{default:a(e=>[t(W,{class:"box-item",effect:"dark",placement:"top-start"},{content:a(()=>[w("div",Le,x(e.row.des),1)]),default:a(()=>[w("div",Ke,x(e.row.des),1)]),_:2},1024)]),_:1}),t(b,{prop:"createdAt",label:"创建时间",width:"120"},{default:a(e=>[_(x(n(qe)(e.row.createdAt,"YYYY-MM-DD")),1)]),_:1}),t(b,{label:"操作",width:"200"},{default:a(e=>[e.row.role==="system"||e.row.public?(r(),u(I,{key:0,link:"",type:"primary",size:"small",onClick:Ve=>ae(e.row)},{default:a(()=>[_(" 编辑 ")]),_:2},1032,["onClick"])):y("",!0),e.row.role==="system"?(r(),u(fe,{key:1,title:"确认删除此应用么?",width:"200","icon-color":"red",onConfirm:Ve=>se(e.row)},{reference:a(()=>[t(I,{link:"",type:"danger",size:"small"},{default:a(()=>[_(" 删除应用 ")]),_:1})]),_:2},1032,["onConfirm"])):y("",!0)]),_:1})]),_:1},8,["data"])),[[we,n(C)]]),t(ve,{class:"mt-5 flex justify-end"},{default:a(()=>[t(_e,{"current-page":f.page,"onUpdate:currentPage":l[4]||(l[4]=e=>f.page=e),"page-size":f.size,"onUpdate:pageSize":l[5]||(l[5]=e=>f.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:n(L),onSizeChange:V,onCurrentChange:V},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(ye,{modelValue:n(A),"onUpdate:modelValue":l[20]||(l[20]=e=>Ce(A)?A.value=e:null),"close-on-click-modal":!1,title:n(ee),width:"570",onClose:l[21]||(l[21]=e=>oe(n(F)))},{footer:a(()=>[w("span",Oe,[t(I,{onClick:l[18]||(l[18]=e=>A.value=!1)},{default:a(()=>[_("取消")]),_:1}),t(I,{type:"primary",onClick:l[19]||(l[19]=e=>me(n(F)))},{default:a(()=>[_(x(n(le)),1)]),_:1})])]),default:a(()=>[t(M,{ref_key:"formPackageRef",ref:F,"label-position":"right","label-width":"100px",model:o,rules:E},{default:a(()=>[t(p,{label:"App分类",prop:"catId"},{default:a(()=>[t(T,{modelValue:o.catId,"onUpdate:modelValue":l[6]||(l[6]=e=>o.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"100%"}},{default:a(()=>[(r(!0),U(j,null,B(n(q),e=>(r(),u(D,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(p,{label:"App名称",prop:"name"},{default:a(()=>[t(g,{modelValue:o.name,"onUpdate:modelValue":l[7]||(l[7]=e=>o.name=e),placeholder:"请填写App名称"},null,8,["modelValue"])]),_:1}),n(h)?y("",!0):(r(),u(p,{key:0,label:"App状态",prop:"status"},{default:a(()=>[t($,{modelValue:o.status,"onUpdate:modelValue":l[8]||(l[8]=e=>o.status=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),t(p,{label:"App描述",prop:"des"},{default:a(()=>[t(g,{modelValue:o.des,"onUpdate:modelValue":l[9]||(l[9]=e=>o.des=e),type:"textarea",placeholder:"请填写App介绍信息、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1}),n(h)?y("",!0):(r(),u(p,{key:1,label:"启用GPTs",prop:"isGPTs"},{default:a(()=>[t($,{modelValue:o.isGPTs,"onUpdate:modelValue":l[10]||(l[10]=e=>o.isGPTs=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),Number(o.isGPTs)===1?(r(),u(p,{key:2,label:"gizmoID",prop:"gizmoID"},{default:a(()=>[t(g,{modelValue:o.gizmoID,"onUpdate:modelValue":l[11]||(l[11]=e=>o.gizmoID=e),placeholder:"请填写 GPTs 使用的 gizmoID"},null,8,["modelValue"])]),_:1})):y("",!0),Number(o.isGPTs)!==1?(r(),u(p,{key:3,label:"App预设",prop:"preset"},{default:a(()=>[t(g,{modelValue:o.preset,"onUpdate:modelValue":l[12]||(l[12]=e=>o.preset=e),type:"textarea",placeholder:"请填写App预设信息、用于给AI预设身份...",rows:4},null,8,["modelValue"])]),_:1})):y("",!0),!n(h)&&Number(o.isGPTs)!==1?(r(),u(p,{key:4,label:"固定模型",prop:"isFixedModel"},{default:a(()=>[t($,{modelValue:o.isFixedModel,"onUpdate:modelValue":l[13]||(l[13]=e=>o.isFixedModel=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})):y("",!0),Number(o.isFixedModel)===1&&Number(o.isGPTs)!==1?(r(),u(p,{key:5,label:"使用模型",prop:"appModel"},{default:a(()=>[t(T,{modelValue:o.appModel,"onUpdate:modelValue":l[14]||(l[14]=e=>o.appModel=e),filterable:"","allow-create":"",placeholder:"请选择应用使用的模型",clearable:""},{default:a(()=>[(r(!0),U(j,null,B(n($e),e=>(r(),u(D,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):y("",!0),t(p,{label:"示例内容",prop:"demoData"},{default:a(()=>[t(g,{modelValue:o.demoData,"onUpdate:modelValue":l[15]||(l[15]=e=>o.demoData=e),type:"textarea",placeholder:"请填写App的demo示例数据、每换行一次表示一个新的示例...",rows:4},null,8,["modelValue"])]),_:1}),t(p,{label:"应用图标",prop:"coverImg"},{default:a(()=>[t(g,{modelValue:o.coverImg,"onUpdate:modelValue":l[16]||(l[16]=e=>o.coverImg=e),placeholder:"请填写或上传应用图标",clearable:""},{append:a(()=>[t(be,{class:"avatar-uploader",action:n(K),"show-file-list":!1,"on-success":Y,"before-upload":re,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[o.coverImg?(r(),U("img",{key:0,src:o.coverImg,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,He)):(r(),u(Q,{key:1,style:{width:"1rem"}},{default:a(()=>[t(n(Pe))]),_:1}))]),_:1},8,["action"]),o.coverImg?(r(),u(Q,{key:0,onClick:de,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[t(n(ze))]),_:1})):y("",!0)]),_:1},8,["modelValue"])]),_:1}),t(p,{label:"排序ID",prop:"order"},{default:a(()=>[t(g,{modelValue:o.order,"onUpdate:modelValue":l[17]||(l[17]=e=>o.order=e),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof Z=="function"&&Z(Ye);export{Ye as default}; +import{_ as Ie}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as Ae}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as xe,r as c,m as S,n as J,a as ke,p as i,q as he,g as r,c as U,b as t,w as a,h as _,F as j,s as B,i as n,v as De,x as Te,y as Ue,z as u,t as x,e as w,A as y,B as Pe,C as ze,D as Ce,E as Me,G as P,H as X,j as Ge,_ as Fe,k as Z}from"./index-6QRvoxq4.js";import{A as z}from"./app-CZBIwClE.js";import{u as qe}from"./utcformatTime-Bq4gDWNx.js";import{Q as Ne,M as $e}from"./index-BE-LteFu.js";const Se=w("div",{class:"flex items-center gap-4"},"应用配置",-1),je=w("div",{class:"text-sm/6"},[w("div",null," 应用一旦创建,可能会被多处使用,请保持规范命名分类,后续尽量变更而不是删除。 "),w("div",null," 可自行选择应用是否固定模型。GPTs 需单独在特殊模型中配置 gpts 模型,并自行搜索填写 gizmoID(例如:g-alKfVrz9K)。 ")],-1),Be={style:{maxWidth:"350px"}},Re={style:{maxHeight:"50px",cursor:"pointer"}},Le={style:{maxWidth:"350px"}},Ke={style:{maxHeight:"50px",cursor:"pointer"}},He=["src"],Oe={class:"mr-5 flex justify-end"},Ye=xe({__name:"application",setup(We){const R=c(),L=c(0),A=c(!1),C=c(!1),f=S({catId:"",name:"",status:"",role:"",page:1,size:10,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),K=c(`/api/upload/file?dir=${encodeURIComponent("system/app")}`),F=c(),k=c(0),h=c(!1),H=c(0),o=S({catId:"",name:"",preset:"",des:"",coverImg:"",demoData:"",order:100,status:0,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),E=S({catId:[{required:!0,message:"请选择App分类",trigger:"change"}],name:[{required:!0,message:"请填写App名称",trigger:"blur"}],preset:[{required:!1,message:"请填写App预设信息",trigger:"blur"}],des:[{required:!0,message:"请填写App描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写App封面图片地址",trigger:"blur"}],demoData:[{required:!1,message:"请填写App演示数据",trigger:"blur"}],isGPTs:[{required:!0,message:"是否GPTs",trigger:"blur"}],gizmoID:[{required:!1,message:"GPTs 的ID",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择App状态",trigger:"change"}],isFixedModel:[{required:!0,message:"请选择App是否固定模型",trigger:"blur"}],appModel:[{required:!1,message:"请选择App使用的模型",trigger:"change"}]}),O=c([]),q=c([]),ee=J(()=>k.value?"更新应用":"新增应用"),le=J(()=>k.value?"确认更新":"确认新增");async function V(){try{C.value=!0;const s=await z.queryApp(f),{rows:l,count:d}=s.data;C.value=!1,L.value=d,O.value=l.sort((m,v)=>v.order-m.order)}catch{C.value=!1}}async function te(){const s=await z.queryCats({size:100}),{rows:l}=s.data;q.value=l}function ae(s){k.value=s.id,h.value=s.role==="user",H.value=s.status;const{name:l,status:d,des:m,order:v,coverImg:D,catId:T,preset:p,demoData:g,isGPTs:I,gizmoID:M,isFixedModel:G,appModel:N}=s;Me(()=>{Object.assign(o,{name:l,status:d,des:m,order:v,coverImg:D,catId:T,preset:p,demoData:g,isGPTs:I,gizmoID:M,isFixedModel:G,appModel:N})}),A.value=!0}function oe(s){k.value=0,s==null||s.resetFields()}async function se(s){await z.deleteApp({id:s.id}),P.success("删除分类成功"),V()}function ne(s){s==null||s.resetFields(),V()}const Y=(s,l)=>{console.log("response: ",s.data),o.coverImg=s.data},re=s=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(s.type)){if(s.size/1024>300)return P.error("当前限制文件最大不超过 300KB!"),!1}else return P.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};async function de(){if(o.coverImg){const s=await pe(o.coverImg);ie(s,Y)}}function ie(s,l){const d=new FormData;d.append("file",s),X.post(K.value,d,{headers:{"Content-Type":"multipart/form-data"}}).then(m=>{l(m.data)}).catch(m=>{console.error("上传失败",m)})}async function pe(s){const l=await X.get(s,{responseType:"blob"});let d="downloaded_file";const m=l.headers["content-disposition"];if(m){const v=/filename="([^"]+)"/.exec(m);v!=null&&v[1]&&(d=v[1])}else d=ue(s);return new File([l.data],d,{type:l.data.type})}function ue(s){const d=new URL(s).pathname;return d.substring(d.lastIndexOf("/")+1)}function me(s){s==null||s.validate(async l=>{if(l){if(k.value){const d={id:k.value,...o};h.value&&Object.assign(d,{status:H.value}),await z.updateApp(d),P({type:"success",message:"更新应用成功!"})}else await z.createApp(o),P({type:"success",message:"创建新的应用成功!"});A.value=!1,V()}})}return ke(()=>{V(),te()}),(s,l)=>{const d=Ge,m=Fe,v=Ae,D=i("el-option"),T=i("el-select"),p=i("el-form-item"),g=i("el-input"),I=i("el-button"),M=i("el-form"),G=Ie,N=i("el-image"),b=i("el-table-column"),ce=i("el-tag"),W=i("el-tooltip"),fe=i("el-popconfirm"),ge=i("el-table"),_e=i("el-pagination"),ve=i("el-row"),$=i("el-switch"),Q=i("el-icon"),be=i("el-upload"),ye=i("el-dialog"),we=he("loading");return r(),U("div",null,[t(v,null,{title:a(()=>[Se]),content:a(()=>[je]),default:a(()=>[t(m,{outline:"",onClick:l[0]||(l[0]=e=>A.value=!0)},{default:a(()=>[t(d,{name:"ic:baseline-plus"}),_(" 新增应用 ")]),_:1})]),_:1}),t(G,null,{default:a(()=>[t(M,{ref_key:"formRef",ref:R,inline:!0,model:f},{default:a(()=>[t(p,{label:"App分类",prop:"catId"},{default:a(()=>[t(T,{modelValue:f.catId,"onUpdate:modelValue":l[1]||(l[1]=e=>f.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"160px"}},{default:a(()=>[(r(!0),U(j,null,B(n(q),e=>(r(),u(D,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(p,{label:"App名称",prop:"name"},{default:a(()=>[t(g,{modelValue:f.name,"onUpdate:modelValue":l[2]||(l[2]=e=>f.name=e),placeholder:"App名称[模糊搜索]",clearable:"",onKeydown:De(Te(V,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),t(p,null,{default:a(()=>[t(I,{type:"primary",onClick:V},{default:a(()=>[_(" 查询 ")]),_:1}),t(I,{onClick:l[3]||(l[3]=e=>ne(n(R)))},{default:a(()=>[_(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(G,{style:{width:"100%"}},{default:a(()=>[Ue((r(),u(ge,{border:"",data:n(O),style:{width:"100%"},size:"large"},{default:a(()=>[t(b,{prop:"coverImg",label:"应用封面",width:"100"},{default:a(e=>[t(N,{style:{height:"50px"},src:e.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),t(b,{prop:"catName",label:"应用分类",width:"100"}),t(b,{prop:"name",label:"应用名称",width:"120"}),t(b,{prop:"status",label:"应用状态",width:"100"},{default:a(e=>[t(ce,{type:e.row.status===1?"success":"danger"},{default:a(()=>[_(x(n(Ne)[e.row.status]),1)]),_:2},1032,["type"])]),_:1}),t(b,{prop:"order",label:"排序ID"}),_(" /> "),t(b,{prop:"preset",label:"预设信息",width:"400"},{default:a(e=>[t(W,{class:"box-item",effect:"dark",placement:"top-start"},{content:a(()=>[w("div",Be,x(e.row.preset),1)]),default:a(()=>[w("div",Re,x(e.row.preset),1)]),_:2},1024)]),_:1}),t(b,{prop:"des",label:"描述信息",width:"300"},{default:a(e=>[t(W,{class:"box-item",effect:"dark",placement:"top-start"},{content:a(()=>[w("div",Le,x(e.row.des),1)]),default:a(()=>[w("div",Ke,x(e.row.des),1)]),_:2},1024)]),_:1}),t(b,{prop:"createdAt",label:"创建时间",width:"120"},{default:a(e=>[_(x(n(qe)(e.row.createdAt,"YYYY-MM-DD")),1)]),_:1}),t(b,{label:"操作",width:"200"},{default:a(e=>[e.row.role==="system"||e.row.public?(r(),u(I,{key:0,link:"",type:"primary",size:"small",onClick:Ve=>ae(e.row)},{default:a(()=>[_(" 编辑 ")]),_:2},1032,["onClick"])):y("",!0),e.row.role==="system"?(r(),u(fe,{key:1,title:"确认删除此应用么?",width:"200","icon-color":"red",onConfirm:Ve=>se(e.row)},{reference:a(()=>[t(I,{link:"",type:"danger",size:"small"},{default:a(()=>[_(" 删除应用 ")]),_:1})]),_:2},1032,["onConfirm"])):y("",!0)]),_:1})]),_:1},8,["data"])),[[we,n(C)]]),t(ve,{class:"mt-5 flex justify-end"},{default:a(()=>[t(_e,{"current-page":f.page,"onUpdate:currentPage":l[4]||(l[4]=e=>f.page=e),"page-size":f.size,"onUpdate:pageSize":l[5]||(l[5]=e=>f.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:n(L),onSizeChange:V,onCurrentChange:V},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(ye,{modelValue:n(A),"onUpdate:modelValue":l[20]||(l[20]=e=>Ce(A)?A.value=e:null),"close-on-click-modal":!1,title:n(ee),width:"570",onClose:l[21]||(l[21]=e=>oe(n(F)))},{footer:a(()=>[w("span",Oe,[t(I,{onClick:l[18]||(l[18]=e=>A.value=!1)},{default:a(()=>[_("取消")]),_:1}),t(I,{type:"primary",onClick:l[19]||(l[19]=e=>me(n(F)))},{default:a(()=>[_(x(n(le)),1)]),_:1})])]),default:a(()=>[t(M,{ref_key:"formPackageRef",ref:F,"label-position":"right","label-width":"100px",model:o,rules:E},{default:a(()=>[t(p,{label:"App分类",prop:"catId"},{default:a(()=>[t(T,{modelValue:o.catId,"onUpdate:modelValue":l[6]||(l[6]=e=>o.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"100%"}},{default:a(()=>[(r(!0),U(j,null,B(n(q),e=>(r(),u(D,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(p,{label:"App名称",prop:"name"},{default:a(()=>[t(g,{modelValue:o.name,"onUpdate:modelValue":l[7]||(l[7]=e=>o.name=e),placeholder:"请填写App名称"},null,8,["modelValue"])]),_:1}),n(h)?y("",!0):(r(),u(p,{key:0,label:"App状态",prop:"status"},{default:a(()=>[t($,{modelValue:o.status,"onUpdate:modelValue":l[8]||(l[8]=e=>o.status=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),t(p,{label:"App描述",prop:"des"},{default:a(()=>[t(g,{modelValue:o.des,"onUpdate:modelValue":l[9]||(l[9]=e=>o.des=e),type:"textarea",placeholder:"请填写App介绍信息、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1}),n(h)?y("",!0):(r(),u(p,{key:1,label:"启用GPTs",prop:"isGPTs"},{default:a(()=>[t($,{modelValue:o.isGPTs,"onUpdate:modelValue":l[10]||(l[10]=e=>o.isGPTs=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),Number(o.isGPTs)===1?(r(),u(p,{key:2,label:"gizmoID",prop:"gizmoID"},{default:a(()=>[t(g,{modelValue:o.gizmoID,"onUpdate:modelValue":l[11]||(l[11]=e=>o.gizmoID=e),placeholder:"请填写 GPTs 使用的 gizmoID"},null,8,["modelValue"])]),_:1})):y("",!0),Number(o.isGPTs)!==1?(r(),u(p,{key:3,label:"App预设",prop:"preset"},{default:a(()=>[t(g,{modelValue:o.preset,"onUpdate:modelValue":l[12]||(l[12]=e=>o.preset=e),type:"textarea",placeholder:"请填写App预设信息、用于给AI预设身份...",rows:4},null,8,["modelValue"])]),_:1})):y("",!0),!n(h)&&Number(o.isGPTs)!==1?(r(),u(p,{key:4,label:"固定模型",prop:"isFixedModel"},{default:a(()=>[t($,{modelValue:o.isFixedModel,"onUpdate:modelValue":l[13]||(l[13]=e=>o.isFixedModel=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})):y("",!0),Number(o.isFixedModel)===1&&Number(o.isGPTs)!==1?(r(),u(p,{key:5,label:"使用模型",prop:"appModel"},{default:a(()=>[t(T,{modelValue:o.appModel,"onUpdate:modelValue":l[14]||(l[14]=e=>o.appModel=e),filterable:"","allow-create":"",placeholder:"请选择应用使用的模型",clearable:""},{default:a(()=>[(r(!0),U(j,null,B(n($e),e=>(r(),u(D,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):y("",!0),t(p,{label:"示例内容",prop:"demoData"},{default:a(()=>[t(g,{modelValue:o.demoData,"onUpdate:modelValue":l[15]||(l[15]=e=>o.demoData=e),type:"textarea",placeholder:"请填写App的demo示例数据、每换行一次表示一个新的示例...",rows:4},null,8,["modelValue"])]),_:1}),t(p,{label:"应用图标",prop:"coverImg"},{default:a(()=>[t(g,{modelValue:o.coverImg,"onUpdate:modelValue":l[16]||(l[16]=e=>o.coverImg=e),placeholder:"请填写或上传应用图标",clearable:""},{append:a(()=>[t(be,{class:"avatar-uploader",action:n(K),"show-file-list":!1,"on-success":Y,"before-upload":re,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[o.coverImg?(r(),U("img",{key:0,src:o.coverImg,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,He)):(r(),u(Q,{key:1,style:{width:"1rem"}},{default:a(()=>[t(n(Pe))]),_:1}))]),_:1},8,["action"]),o.coverImg?(r(),u(Q,{key:0,onClick:de,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[t(n(ze))]),_:1})):y("",!0)]),_:1},8,["modelValue"])]),_:1}),t(p,{label:"排序ID",prop:"order"},{default:a(()=>[t(g,{modelValue:o.order,"onUpdate:modelValue":l[17]||(l[17]=e=>o.order=e),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof Z=="function"&&Z(Ye);export{Ye as default}; diff --git a/public/admin/assets/asciiarmor-Df11BRmG.js b/AIWebQuickDeploy/public/admin/assets/asciiarmor-Df11BRmG.js similarity index 100% rename from public/admin/assets/asciiarmor-Df11BRmG.js rename to AIWebQuickDeploy/public/admin/assets/asciiarmor-Df11BRmG.js diff --git a/public/admin/assets/asn1-CGOzndHr.js b/AIWebQuickDeploy/public/admin/assets/asn1-CGOzndHr.js similarity index 100% rename from public/admin/assets/asn1-CGOzndHr.js rename to AIWebQuickDeploy/public/admin/assets/asn1-CGOzndHr.js diff --git a/public/admin/assets/asterisk-B-8jnY81.js b/AIWebQuickDeploy/public/admin/assets/asterisk-B-8jnY81.js similarity index 100% rename from public/admin/assets/asterisk-B-8jnY81.js rename to AIWebQuickDeploy/public/admin/assets/asterisk-B-8jnY81.js diff --git a/public/admin/assets/autpReply-iL0HgZca.js b/AIWebQuickDeploy/public/admin/assets/autpReply-C702DWac.js similarity index 96% rename from public/admin/assets/autpReply-iL0HgZca.js rename to AIWebQuickDeploy/public/admin/assets/autpReply-C702DWac.js index 92560b1..a013520 100644 --- a/public/admin/assets/autpReply-iL0HgZca.js +++ b/AIWebQuickDeploy/public/admin/assets/autpReply-C702DWac.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as ae}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{I as A,d as ne,m as z,r as _,n as se,a as ue,p as n,q as re,g as R,c as B,b as e,w as a,h as d,v as ie,x as pe,F as de,s as me,i as u,y as ce,z as O,t as j,e as v,D as _e,G as V,E as fe,j as ye,_ as ge,k as F}from"./index-nGFMSQGw.js";import{b as ve,Q as be}from"./index-BE-LteFu.js";const x={queryAutoReply:i=>A.get("autoreply/query",{params:i}),delAutoReply:i=>A.post("autoreply/del",i),addAutoReply:i=>A.post("autoreply/add",i),updateAutoReply:i=>A.post("autoreply/update",i)},we=v("div",{class:"flex items-center gap-4"},"自定义知识库说明",-1),Ae=v("div",{class:"text-sm/6"},[v("div",null," 自定义知识库会根据用户提问中的关键词匹配知识库的内容作为预设。同一知识库支持多个关键词,多个关键词用空格隔开。 "),v("div",null,"默认开启 AI 回复,关闭后将直接回复预设答案。")],-1),Re={class:"dialog-footer"},Ve=ne({__name:"autpReply",setup(i){const r=z({prompt:"",status:void 0,page:1,size:10}),m=_(!1),b=_(!1),y=_(0),$=_(0),S=_(),k=_(),s=z({status:1,prompt:"",answer:"",isAIReplyEnabled:1}),M=z({status:[{required:!0,message:"请选择开启状态",trigger:"change"}],prompt:[{required:!0,message:"请填写预设问题",trigger:"blur"}],answer:[{required:!0,message:"请填写回复答案",trigger:"blur"}],isAIReplyEnabled:[{required:!0,message:"请选择是否开启AI回复",trigger:"change"}]}),q=_([]);async function p(){try{b.value=!0;const o=await x.queryAutoReply(r),{rows:t,count:g}=o.data;b.value=!1,$.value=g,q.value=t}catch{b.value=!1}}async function P(o){await x.delAutoReply({id:o}),V.success("删除自定义知识库成功"),await p()}function K(o){o==null||o.resetFields(),p()}function Q(o){y.value=o.id;const{status:t,prompt:g,answer:C,isAIReplyEnabled:I}=o;m.value=!0,fe(()=>{Object.assign(s,{status:t,prompt:g,answer:C,isAIReplyEnabled:I})})}const T=se(()=>y.value!==0);function H(o){o==null||o.resetFields(),y.value=0}async function L(o){o==null||o.validate(async t=>{if(!t){V.warning("请按规则填写所有信息!");return}y.value===0?(await x.addAutoReply(s),V.success("添加自定义知识库成功")):(await x.updateAutoReply({id:y.value,...s}),V.success("更新自定义知识库成功")),m.value=!1,p()})}return ue(()=>{p()}),(o,t)=>{const g=ye,C=ge,I=oe,U=n("el-input"),c=n("el-form-item"),G=n("el-option"),E=n("el-select"),f=n("el-button"),h=n("el-form"),D=ae,w=n("el-table-column"),J=n("el-tag"),W=n("el-popconfirm"),X=n("el-table"),Y=n("el-pagination"),Z=n("el-row"),N=n("el-switch"),ee=n("el-dialog"),te=re("loading");return R(),B("div",null,[e(I,null,{title:a(()=>[we]),content:a(()=>[Ae]),default:a(()=>[e(C,{outline:"",onClick:t[0]||(t[0]=l=>m.value=!0)},{default:a(()=>[e(g,{name:"i-ri:file-text-line"}),d(" 添加知识库 ")]),_:1})]),_:1}),e(D,null,{default:a(()=>[e(h,{ref_key:"formRef",ref:S,inline:!0,model:r},{default:a(()=>[e(c,{label:"关键词",prop:"prompt"},{default:a(()=>[e(U,{modelValue:r.prompt,"onUpdate:modelValue":t[1]||(t[1]=l=>r.prompt=l),placeholder:"关键词[模糊搜索]",onKeydown:ie(pe(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(c,{label:"启用状态",prop:"status"},{default:a(()=>[e(E,{modelValue:r.status,"onUpdate:modelValue":t[2]||(t[2]=l=>r.status=l),placeholder:"请选择启用状态",clearable:"",style:{width:"160px"}},{default:a(()=>[(R(!0),B(de,null,me(u(ve),l=>(R(),O(G,{key:l.value,label:l.label,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:a(()=>[e(f,{type:"primary",onClick:p},{default:a(()=>[d(" 查询 ")]),_:1}),e(f,{onClick:t[3]||(t[3]=l=>K(u(S)))},{default:a(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(D,{style:{width:"100%"}},{default:a(()=>[ce((R(),O(X,{border:"",data:u(q),style:{width:"100%"},size:"large"},{default:a(()=>[e(w,{prop:"prompt",label:"关键词"}),e(w,{prop:"answer",label:"知识库"}),e(w,{prop:"status",label:"状态",width:"120"},{default:a(l=>[e(J,{type:l.row.status===1?"success":"danger"},{default:a(()=>[d(j(u(be)[l.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(w,{fixed:"right",label:"操作",width:"200"},{default:a(l=>[e(f,{link:"",type:"primary",size:"small",onClick:le=>Q(l.row)},{default:a(()=>[d(" 编辑 ")]),_:2},1032,["onClick"]),e(W,{"confirm-button-text":"确认删除","cancel-button-text":"放弃",type:"danger",width:"230px","icon-color":"red",title:"确定删除次条知识库?",onConfirm:le=>P(l.row.id)},{reference:a(()=>[e(f,{link:"",type:"danger",size:"small"},{default:a(()=>[d(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,u(b)]]),e(Z,{class:"mt-5 flex justify-end"},{default:a(()=>[e(Y,{"current-page":r.page,"onUpdate:currentPage":t[4]||(t[4]=l=>r.page=l),"page-size":r.size,"onUpdate:pageSize":t[5]||(t[5]=l=>r.size=l),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:u($),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(ee,{modelValue:u(m),"onUpdate:modelValue":t[12]||(t[12]=l=>_e(m)?m.value=l:null),title:`${u(T)?"编辑":"添加"}知识库`,width:"600px",onClose:t[13]||(t[13]=l=>H(u(k)))},{footer:a(()=>[v("span",Re,[e(f,{onClick:t[10]||(t[10]=l=>m.value=!1)},{default:a(()=>[d("取消")]),_:1}),e(f,{type:"primary",onClick:t[11]||(t[11]=l=>L(u(k)))},{default:a(()=>[d(j(`${u(T)?"更新":"新增"}知识库 `),1)]),_:1})])]),default:a(()=>[e(h,{ref_key:"formAutoReplyRef",ref:k,"label-position":"right","label-width":"80px",model:s,rules:M},{default:a(()=>[e(c,{label:"开启状态",prop:"status"},{default:a(()=>[e(N,{modelValue:s.status,"onUpdate:modelValue":t[6]||(t[6]=l=>s.status=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(c,{label:"AI回复",prop:"isAIReplyEnabled"},{default:a(()=>[e(N,{modelValue:s.isAIReplyEnabled,"onUpdate:modelValue":t[7]||(t[7]=l=>s.isAIReplyEnabled=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(c,{label:"关键词",prop:"prompt"},{default:a(()=>[e(U,{modelValue:s.prompt,"onUpdate:modelValue":t[8]||(t[8]=l=>s.prompt=l),type:"textarea",rows:5,placeholder:"请填写关键词,多个关键词用空格隔开"},null,8,["modelValue"])]),_:1}),e(c,{label:"知识库",prop:"answer"},{default:a(()=>[e(U,{modelValue:s.answer,"onUpdate:modelValue":t[9]||(t[9]=l=>s.answer=l),type:"textarea",rows:5,placeholder:"请填写匹配的知识库内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof F=="function"&&F(Ve);export{Ve as default}; +import{_ as ae}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{I as A,d as ne,m as z,r as _,n as se,a as ue,p as n,q as re,g as R,c as B,b as e,w as a,h as d,v as ie,x as pe,F as de,s as me,i as u,y as ce,z as O,t as j,e as v,D as _e,G as V,E as fe,j as ye,_ as ge,k as F}from"./index-6QRvoxq4.js";import{b as ve,Q as be}from"./index-BE-LteFu.js";const x={queryAutoReply:i=>A.get("autoreply/query",{params:i}),delAutoReply:i=>A.post("autoreply/del",i),addAutoReply:i=>A.post("autoreply/add",i),updateAutoReply:i=>A.post("autoreply/update",i)},we=v("div",{class:"flex items-center gap-4"},"自定义知识库说明",-1),Ae=v("div",{class:"text-sm/6"},[v("div",null," 自定义知识库会根据用户提问中的关键词匹配知识库的内容作为预设。同一知识库支持多个关键词,多个关键词用空格隔开。 "),v("div",null,"默认开启 AI 回复,关闭后将直接回复预设答案。")],-1),Re={class:"dialog-footer"},Ve=ne({__name:"autpReply",setup(i){const r=z({prompt:"",status:void 0,page:1,size:10}),m=_(!1),b=_(!1),y=_(0),$=_(0),S=_(),k=_(),s=z({status:1,prompt:"",answer:"",isAIReplyEnabled:1}),M=z({status:[{required:!0,message:"请选择开启状态",trigger:"change"}],prompt:[{required:!0,message:"请填写预设问题",trigger:"blur"}],answer:[{required:!0,message:"请填写回复答案",trigger:"blur"}],isAIReplyEnabled:[{required:!0,message:"请选择是否开启AI回复",trigger:"change"}]}),q=_([]);async function p(){try{b.value=!0;const o=await x.queryAutoReply(r),{rows:t,count:g}=o.data;b.value=!1,$.value=g,q.value=t}catch{b.value=!1}}async function P(o){await x.delAutoReply({id:o}),V.success("删除自定义知识库成功"),await p()}function K(o){o==null||o.resetFields(),p()}function Q(o){y.value=o.id;const{status:t,prompt:g,answer:C,isAIReplyEnabled:I}=o;m.value=!0,fe(()=>{Object.assign(s,{status:t,prompt:g,answer:C,isAIReplyEnabled:I})})}const T=se(()=>y.value!==0);function H(o){o==null||o.resetFields(),y.value=0}async function L(o){o==null||o.validate(async t=>{if(!t){V.warning("请按规则填写所有信息!");return}y.value===0?(await x.addAutoReply(s),V.success("添加自定义知识库成功")):(await x.updateAutoReply({id:y.value,...s}),V.success("更新自定义知识库成功")),m.value=!1,p()})}return ue(()=>{p()}),(o,t)=>{const g=ye,C=ge,I=oe,U=n("el-input"),c=n("el-form-item"),G=n("el-option"),E=n("el-select"),f=n("el-button"),h=n("el-form"),D=ae,w=n("el-table-column"),J=n("el-tag"),W=n("el-popconfirm"),X=n("el-table"),Y=n("el-pagination"),Z=n("el-row"),N=n("el-switch"),ee=n("el-dialog"),te=re("loading");return R(),B("div",null,[e(I,null,{title:a(()=>[we]),content:a(()=>[Ae]),default:a(()=>[e(C,{outline:"",onClick:t[0]||(t[0]=l=>m.value=!0)},{default:a(()=>[e(g,{name:"i-ri:file-text-line"}),d(" 添加知识库 ")]),_:1})]),_:1}),e(D,null,{default:a(()=>[e(h,{ref_key:"formRef",ref:S,inline:!0,model:r},{default:a(()=>[e(c,{label:"关键词",prop:"prompt"},{default:a(()=>[e(U,{modelValue:r.prompt,"onUpdate:modelValue":t[1]||(t[1]=l=>r.prompt=l),placeholder:"关键词[模糊搜索]",onKeydown:ie(pe(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(c,{label:"启用状态",prop:"status"},{default:a(()=>[e(E,{modelValue:r.status,"onUpdate:modelValue":t[2]||(t[2]=l=>r.status=l),placeholder:"请选择启用状态",clearable:"",style:{width:"160px"}},{default:a(()=>[(R(!0),B(de,null,me(u(ve),l=>(R(),O(G,{key:l.value,label:l.label,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:a(()=>[e(f,{type:"primary",onClick:p},{default:a(()=>[d(" 查询 ")]),_:1}),e(f,{onClick:t[3]||(t[3]=l=>K(u(S)))},{default:a(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(D,{style:{width:"100%"}},{default:a(()=>[ce((R(),O(X,{border:"",data:u(q),style:{width:"100%"},size:"large"},{default:a(()=>[e(w,{prop:"prompt",label:"关键词"}),e(w,{prop:"answer",label:"知识库"}),e(w,{prop:"status",label:"状态",width:"120"},{default:a(l=>[e(J,{type:l.row.status===1?"success":"danger"},{default:a(()=>[d(j(u(be)[l.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(w,{fixed:"right",label:"操作",width:"200"},{default:a(l=>[e(f,{link:"",type:"primary",size:"small",onClick:le=>Q(l.row)},{default:a(()=>[d(" 编辑 ")]),_:2},1032,["onClick"]),e(W,{"confirm-button-text":"确认删除","cancel-button-text":"放弃",type:"danger",width:"230px","icon-color":"red",title:"确定删除次条知识库?",onConfirm:le=>P(l.row.id)},{reference:a(()=>[e(f,{link:"",type:"danger",size:"small"},{default:a(()=>[d(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,u(b)]]),e(Z,{class:"mt-5 flex justify-end"},{default:a(()=>[e(Y,{"current-page":r.page,"onUpdate:currentPage":t[4]||(t[4]=l=>r.page=l),"page-size":r.size,"onUpdate:pageSize":t[5]||(t[5]=l=>r.size=l),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:u($),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(ee,{modelValue:u(m),"onUpdate:modelValue":t[12]||(t[12]=l=>_e(m)?m.value=l:null),title:`${u(T)?"编辑":"添加"}知识库`,width:"600px",onClose:t[13]||(t[13]=l=>H(u(k)))},{footer:a(()=>[v("span",Re,[e(f,{onClick:t[10]||(t[10]=l=>m.value=!1)},{default:a(()=>[d("取消")]),_:1}),e(f,{type:"primary",onClick:t[11]||(t[11]=l=>L(u(k)))},{default:a(()=>[d(j(`${u(T)?"更新":"新增"}知识库 `),1)]),_:1})])]),default:a(()=>[e(h,{ref_key:"formAutoReplyRef",ref:k,"label-position":"right","label-width":"80px",model:s,rules:M},{default:a(()=>[e(c,{label:"开启状态",prop:"status"},{default:a(()=>[e(N,{modelValue:s.status,"onUpdate:modelValue":t[6]||(t[6]=l=>s.status=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(c,{label:"AI回复",prop:"isAIReplyEnabled"},{default:a(()=>[e(N,{modelValue:s.isAIReplyEnabled,"onUpdate:modelValue":t[7]||(t[7]=l=>s.isAIReplyEnabled=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(c,{label:"关键词",prop:"prompt"},{default:a(()=>[e(U,{modelValue:s.prompt,"onUpdate:modelValue":t[8]||(t[8]=l=>s.prompt=l),type:"textarea",rows:5,placeholder:"请填写关键词,多个关键词用空格隔开"},null,8,["modelValue"])]),_:1}),e(c,{label:"知识库",prop:"answer"},{default:a(()=>[e(U,{modelValue:s.answer,"onUpdate:modelValue":t[9]||(t[9]=l=>s.answer=l),type:"textarea",rows:5,placeholder:"请填写匹配的知识库内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof F=="function"&&F(Ve);export{Ve as default}; diff --git a/public/admin/assets/badWords-C1vgC_-i.js b/AIWebQuickDeploy/public/admin/assets/badWords-D2Yy-NCt.js similarity index 85% rename from public/admin/assets/badWords-C1vgC_-i.js rename to AIWebQuickDeploy/public/admin/assets/badWords-D2Yy-NCt.js index bb8dca2..2a4632b 100644 --- a/public/admin/assets/badWords-C1vgC_-i.js +++ b/AIWebQuickDeploy/public/admin/assets/badWords-D2Yy-NCt.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{I as o}from"./index-nGFMSQGw.js";const r={queryBadWords:(d={})=>o.get("badwords/query",{params:d}),queryViolation:(d={})=>o.get("badwords/violation",{params:d}),delBadWords:d=>o.post("badwords/del",d),addBadWords:d=>o.post("badwords/add",d),updateBadWords:d=>o.post("badwords/update",d)};export{r as A}; +import{I as o}from"./index-6QRvoxq4.js";const r={queryBadWords:(d={})=>o.get("badwords/query",{params:d}),queryViolation:(d={})=>o.get("badwords/violation",{params:d}),delBadWords:d=>o.post("badwords/del",d),addBadWords:d=>o.post("badwords/add",d),updateBadWords:d=>o.post("badwords/update",d)};export{r as A}; diff --git a/public/admin/assets/baiduSensitive-C9aAS061.js b/AIWebQuickDeploy/public/admin/assets/baiduSensitive-6qem6t8b.js similarity index 96% rename from public/admin/assets/baiduSensitive-C9aAS061.js rename to AIWebQuickDeploy/public/admin/assets/baiduSensitive-6qem6t8b.js index fd1da9d..8076427 100644 --- a/public/admin/assets/baiduSensitive-C9aAS061.js +++ b/AIWebQuickDeploy/public/admin/assets/baiduSensitive-6qem6t8b.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as q,m as B,r as b,a as U,p as n,g as j,c as I,b as e,w as t,h as d,e as r,G as x,j as N,_ as $,k as g}from"./index-nGFMSQGw.js";import{a as y}from"./config-CYXO1pNF.js";const E=r("div",{class:"flex items-center gap-4"},"百度文本审核参数设置",-1),H=r("div",{class:"text-sm/6"},[r("div",null,[d(" 当前百度云免费5万条,可查看"),r("a",{href:"https://console.bce.baidu.com/ai/#/ai/antiporn/overview/index",target:"_blank"},"使用文档"),d(",如果百度云敏感词与自定义敏感词都配置的情况,会先检测百度云后检测自定义的敏感词。 ")])],-1),M=q({__name:"baiduSensitive",setup(O){const l=B({baiduTextStatus:"",baiduTextApiKey:"",baiduTextSecretKey:""}),K=b({baiduTextStatus:[{required:!0,trigger:"blur",message:"请选择是否启用百度文本审核"}],baiduTextSecretKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核SecretKey"}],baiduTextApiKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核APIKey"}]}),_=b();async function m(){const o=await y.queryConfig({keys:["baiduTextStatus","baiduTextSecretKey","baiduTextApiKey"]});Object.assign(l,o.data)}function T(){var o;(o=_.value)==null||o.validate(async a=>{if(a){try{await y.setConfig({settings:S(l)}),x.success("变更配置信息成功")}catch{}m()}else x.error("请填写完整信息")})}function S(o){return Object.keys(o).map(a=>({configKey:a,configVal:o[a]}))}return U(()=>{m()}),(o,a)=>{const p=N,v=$,V=C,w=n("el-switch"),A=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),c=n("el-row"),f=n("el-input"),h=n("el-form"),k=n("el-card");return j(),I("div",null,[e(V,null,{title:t(()=>[E]),content:t(()=>[H]),default:t(()=>[e(v,{outline:"",onClick:T},{default:t(()=>[e(p,{name:"i-ri:file-text-line"}),d(" 保存设置 ")]),_:1})]),_:1}),e(k,{style:{margin:"20px"}},{default:t(()=>[e(h,{ref_key:"formRef",ref:_,rules:K.value,model:l,"label-width":"150px"},{default:t(()=>[e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"开启此敏感词设置",prop:"baiduTextStatus"},{default:t(()=>[e(A,{content:"开启将打开敏感词检测、如果同时开启其他敏感词将会通过菜单顺序仅同时开启一个!",placement:"top","show-after":500},{default:t(()=>[e(w,{modelValue:l.baiduTextStatus,"onUpdate:modelValue":a[0]||(a[0]=i=>l.baiduTextStatus=i),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核ApiKey",prop:"baiduTextApiKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextApiKey,"onUpdate:modelValue":a[1]||(a[1]=i=>l.baiduTextApiKey=i),placeholder:"请填写百度文本审核ApiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核SecretKey",prop:"baiduTextSecretKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextSecretKey,"onUpdate:modelValue":a[2]||(a[2]=i=>l.baiduTextSecretKey=i),placeholder:"请填写百度文本审核SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(M);export{M as default}; +import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as q,m as B,r as b,a as U,p as n,g as j,c as I,b as e,w as t,h as d,e as r,G as x,j as N,_ as $,k as g}from"./index-6QRvoxq4.js";import{a as y}from"./config-DBls5jtO.js";const E=r("div",{class:"flex items-center gap-4"},"百度文本审核参数设置",-1),H=r("div",{class:"text-sm/6"},[r("div",null,[d(" 当前百度云免费5万条,可查看"),r("a",{href:"https://console.bce.baidu.com/ai/#/ai/antiporn/overview/index",target:"_blank"},"使用文档"),d(",如果百度云敏感词与自定义敏感词都配置的情况,会先检测百度云后检测自定义的敏感词。 ")])],-1),M=q({__name:"baiduSensitive",setup(O){const l=B({baiduTextStatus:"",baiduTextApiKey:"",baiduTextSecretKey:""}),K=b({baiduTextStatus:[{required:!0,trigger:"blur",message:"请选择是否启用百度文本审核"}],baiduTextSecretKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核SecretKey"}],baiduTextApiKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核APIKey"}]}),_=b();async function m(){const o=await y.queryConfig({keys:["baiduTextStatus","baiduTextSecretKey","baiduTextApiKey"]});Object.assign(l,o.data)}function T(){var o;(o=_.value)==null||o.validate(async a=>{if(a){try{await y.setConfig({settings:S(l)}),x.success("变更配置信息成功")}catch{}m()}else x.error("请填写完整信息")})}function S(o){return Object.keys(o).map(a=>({configKey:a,configVal:o[a]}))}return U(()=>{m()}),(o,a)=>{const p=N,v=$,V=C,w=n("el-switch"),A=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),c=n("el-row"),f=n("el-input"),h=n("el-form"),k=n("el-card");return j(),I("div",null,[e(V,null,{title:t(()=>[E]),content:t(()=>[H]),default:t(()=>[e(v,{outline:"",onClick:T},{default:t(()=>[e(p,{name:"i-ri:file-text-line"}),d(" 保存设置 ")]),_:1})]),_:1}),e(k,{style:{margin:"20px"}},{default:t(()=>[e(h,{ref_key:"formRef",ref:_,rules:K.value,model:l,"label-width":"150px"},{default:t(()=>[e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"开启此敏感词设置",prop:"baiduTextStatus"},{default:t(()=>[e(A,{content:"开启将打开敏感词检测、如果同时开启其他敏感词将会通过菜单顺序仅同时开启一个!",placement:"top","show-after":500},{default:t(()=>[e(w,{modelValue:l.baiduTextStatus,"onUpdate:modelValue":a[0]||(a[0]=i=>l.baiduTextStatus=i),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核ApiKey",prop:"baiduTextApiKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextApiKey,"onUpdate:modelValue":a[1]||(a[1]=i=>l.baiduTextApiKey=i),placeholder:"请填写百度文本审核ApiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核SecretKey",prop:"baiduTextSecretKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextSecretKey,"onUpdate:modelValue":a[2]||(a[2]=i=>l.baiduTextSecretKey=i),placeholder:"请填写百度文本审核SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(M);export{M as default}; diff --git a/public/admin/assets/baiduStatistics-C5Ie8mqw.js b/AIWebQuickDeploy/public/admin/assets/baiduStatistics-GAHxOxpS.js similarity index 95% rename from public/admin/assets/baiduStatistics-C5Ie8mqw.js rename to AIWebQuickDeploy/public/admin/assets/baiduStatistics-GAHxOxpS.js index fc78ecc..f3bea66 100644 --- a/public/admin/assets/baiduStatistics-C5Ie8mqw.js +++ b/AIWebQuickDeploy/public/admin/assets/baiduStatistics-GAHxOxpS.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as I,m as w,r as b,a as A,p as s,g as R,c as U,b as e,w as l,h as m,e as f,G as y,j,_ as B,k}from"./index-nGFMSQGw.js";import{a as g}from"./config-CYXO1pNF.js";const N=f("div",{class:"flex items-center gap-4"},"百度统计设置",-1),$=f("div",{class:"text-sm/6"},[f("div",null,"百度统计主要用于展示,实际的统计数据将在网站首页显示。"),f("div",null,[m(" 为获取更精确的数据分析,请参考"),f("a",{href:"https://tongji.baidu.com/api/manual/Chapter2/openapi.html",target:"_blank"},"百度统计接口说明"),m(",申请专属于您网站的 siteId 、key 以及 token 等信息。 ")]),f("div",null," 百度统计提供的是一项免费服务,如果您选择不使用这项服务,只需将相关设置项留空即可。 ")],-1),q=I({__name:"baiduStatistics",setup(E){const o=w({baiduCode:"",baiduSiteId:"",baiduToken:"",baiduApiKey:"",baiduSecretKey:"",baiduRefreshToken:""}),x=b({}),c=b();async function p(){const d=await g.queryConfig({keys:["baiduCode","baiduSiteId","baiduToken","baiduApiKey","baiduSecretKey","baiduRefreshToken"]});Object.assign(o,d.data)}function V(){var d;(d=c.value)==null||d.validate(async a=>{if(a){try{await g.setConfig({settings:K(o)}),y.success("变更配置信息成功")}catch{}p()}else y.error("请填写完整信息")})}function K(d){return Object.keys(d).map(a=>({configKey:a,configVal:d[a]}))}return A(()=>{p()}),(d,a)=>{const _=j,C=B,S=v,n=s("el-input"),u=s("el-form-item"),i=s("el-col"),r=s("el-row"),h=s("el-form"),T=s("el-card");return R(),U("div",null,[e(S,null,{title:l(()=>[N]),content:l(()=>[$]),default:l(()=>[e(C,{outline:"",onClick:V},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),m(" 保存设置 ")]),_:1})]),_:1}),e(T,{style:{margin:"20px"}},{default:l(()=>[e(h,{ref_key:"formRef",ref:c,rules:x.value,model:o,"label-width":"120px"},{default:l(()=>[e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"siteId",prop:"baiduSiteId"},{default:l(()=>[e(n,{modelValue:o.baiduSiteId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.baiduSiteId=t),placeholder:"请填写百度site_id",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"ApiKey",prop:"baiduApiKey"},{default:l(()=>[e(n,{modelValue:o.baiduApiKey,"onUpdate:modelValue":a[1]||(a[1]=t=>o.baiduApiKey=t),placeholder:"请填写百度apiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SecretKey",prop:"baiduSecretKey"},{default:l(()=>[e(n,{modelValue:o.baiduSecretKey,"onUpdate:modelValue":a[2]||(a[2]=t=>o.baiduSecretKey=t),placeholder:"请填写百度 secretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"AccessToken",prop:"baiduToken"},{default:l(()=>[e(n,{modelValue:o.baiduToken,"onUpdate:modelValue":a[3]||(a[3]=t=>o.baiduToken=t),placeholder:"请填写百度 access_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"RefreshToken",prop:"baiduRefreshToken"},{default:l(()=>[e(n,{modelValue:o.baiduRefreshToken,"onUpdate:modelValue":a[4]||(a[4]=t=>o.baiduRefreshToken=t),placeholder:"请填写百度 refresh_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"统计代码",prop:"baiduCode"},{default:l(()=>[e(n,{modelValue:o.baiduCode,"onUpdate:modelValue":a[5]||(a[5]=t=>o.baiduCode=t),placeholder:"填写百度统计代码可统计每日访问量详情,如果没有使用用请查看详细文档!",type:"textarea",rows:12,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof k=="function"&&k(q);export{q as default}; +import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as I,m as w,r as b,a as A,p as s,g as R,c as U,b as e,w as l,h as m,e as f,G as y,j,_ as B,k}from"./index-6QRvoxq4.js";import{a as g}from"./config-DBls5jtO.js";const N=f("div",{class:"flex items-center gap-4"},"百度统计设置",-1),$=f("div",{class:"text-sm/6"},[f("div",null,"百度统计主要用于展示,实际的统计数据将在网站首页显示。"),f("div",null,[m(" 为获取更精确的数据分析,请参考"),f("a",{href:"https://tongji.baidu.com/api/manual/Chapter2/openapi.html",target:"_blank"},"百度统计接口说明"),m(",申请专属于您网站的 siteId 、key 以及 token 等信息。 ")]),f("div",null," 百度统计提供的是一项免费服务,如果您选择不使用这项服务,只需将相关设置项留空即可。 ")],-1),q=I({__name:"baiduStatistics",setup(E){const o=w({baiduCode:"",baiduSiteId:"",baiduToken:"",baiduApiKey:"",baiduSecretKey:"",baiduRefreshToken:""}),x=b({}),c=b();async function p(){const d=await g.queryConfig({keys:["baiduCode","baiduSiteId","baiduToken","baiduApiKey","baiduSecretKey","baiduRefreshToken"]});Object.assign(o,d.data)}function V(){var d;(d=c.value)==null||d.validate(async a=>{if(a){try{await g.setConfig({settings:K(o)}),y.success("变更配置信息成功")}catch{}p()}else y.error("请填写完整信息")})}function K(d){return Object.keys(d).map(a=>({configKey:a,configVal:d[a]}))}return A(()=>{p()}),(d,a)=>{const _=j,C=B,S=v,n=s("el-input"),u=s("el-form-item"),i=s("el-col"),r=s("el-row"),h=s("el-form"),T=s("el-card");return R(),U("div",null,[e(S,null,{title:l(()=>[N]),content:l(()=>[$]),default:l(()=>[e(C,{outline:"",onClick:V},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),m(" 保存设置 ")]),_:1})]),_:1}),e(T,{style:{margin:"20px"}},{default:l(()=>[e(h,{ref_key:"formRef",ref:c,rules:x.value,model:o,"label-width":"120px"},{default:l(()=>[e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"siteId",prop:"baiduSiteId"},{default:l(()=>[e(n,{modelValue:o.baiduSiteId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.baiduSiteId=t),placeholder:"请填写百度site_id",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"ApiKey",prop:"baiduApiKey"},{default:l(()=>[e(n,{modelValue:o.baiduApiKey,"onUpdate:modelValue":a[1]||(a[1]=t=>o.baiduApiKey=t),placeholder:"请填写百度apiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SecretKey",prop:"baiduSecretKey"},{default:l(()=>[e(n,{modelValue:o.baiduSecretKey,"onUpdate:modelValue":a[2]||(a[2]=t=>o.baiduSecretKey=t),placeholder:"请填写百度 secretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"AccessToken",prop:"baiduToken"},{default:l(()=>[e(n,{modelValue:o.baiduToken,"onUpdate:modelValue":a[3]||(a[3]=t=>o.baiduToken=t),placeholder:"请填写百度 access_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"RefreshToken",prop:"baiduRefreshToken"},{default:l(()=>[e(n,{modelValue:o.baiduRefreshToken,"onUpdate:modelValue":a[4]||(a[4]=t=>o.baiduRefreshToken=t),placeholder:"请填写百度 refresh_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"统计代码",prop:"baiduCode"},{default:l(()=>[e(n,{modelValue:o.baiduCode,"onUpdate:modelValue":a[5]||(a[5]=t=>o.baiduCode=t),placeholder:"填写百度统计代码可统计每日访问量详情,如果没有使用用请查看详细文档!",type:"textarea",rows:12,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof k=="function"&&k(q);export{q as default}; diff --git a/public/admin/assets/baseConfiguration-U_8lhRbY.js b/AIWebQuickDeploy/public/admin/assets/baseConfiguration-XpujmNvx.js similarity index 97% rename from public/admin/assets/baseConfiguration-U_8lhRbY.js rename to AIWebQuickDeploy/public/admin/assets/baseConfiguration-XpujmNvx.js index 8ed4da9..dc354e4 100644 --- a/public/admin/assets/baseConfiguration-U_8lhRbY.js +++ b/AIWebQuickDeploy/public/admin/assets/baseConfiguration-XpujmNvx.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as W}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as Q,m as X,r as F,a as Y,p,g as s,c as v,b as e,w as a,h as Z,z as _,i as g,B as V,C as P,A as U,e as I,G as k,j as ee,_ as ae,H as R,k as S}from"./index-nGFMSQGw.js";import{a as B}from"./config-CYXO1pNF.js";const te=I("div",{class:"flex items-center gap-4"},"网站基础配置",-1),le=I("div",{class:"text-sm/6"},[I("div",null," 网站基础配置支持即时更新网站的主要视觉与功能元素。配置内容包括网站名称、备案号、版权信息、LOGO与ICO、默认AI头像与用户头像,以及首页设置等。 "),I("div",null,"请认真填写各项配置,确保提供给用户的信息准确无误。")],-1),oe=["src"],ne=["src"],se=["src"],re=["src"],ie=Q({__name:"baseConfiguration",setup(ce){const t=X({siteName:"",robotAvatar:"",userDefautlAvatar:"",filingNumber:"",companyName:"",buyCramiAddress:"",siteUrl:"",isShowAppCatIcon:"",clientFavoIconPath:"",clientLogoPath:""}),G=F({siteName:[{required:!0,trigger:"blur",message:"请填写网站名称"}]}),N=F(),h=F(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);async function L(){const l=await B.queryConfig({keys:["siteName","robotAvatar","userDefautlAvatar","filingNumber","companyName","isShowAppCatIcon","clientLogoPath","clientFavoIconPath","siteUrl"]});Object.assign(t,l.data)}function T(){var l;(l=N.value)==null||l.validate(async o=>{if(o){try{await B.setConfig({settings:K(t)}),k.success("变更配置信息成功")}catch{}L()}else k.error("请填写完整信息")})}async function b(l){const o=await R.get(l,{responseType:"blob"});let r="downloaded_file";const i=o.headers["content-disposition"];if(i){const y=/filename="([^"]+)"/.exec(i);y!=null&&y[1]&&(r=y[1])}else r=$(l);return new File([o.data],r,{type:o.data.type})}function $(l){const r=new URL(l).pathname;return r.substring(r.lastIndexOf("/")+1)}function x(l,o){const r=new FormData;r.append("file",l),R.post(h.value,r,{headers:{"Content-Type":"multipart/form-data"}}).then(i=>{o(i.data)}).catch(i=>{console.error("上传失败",i)})}const C=(l,o)=>{console.log("response: ",l.data),t.clientLogoPath=l.data};async function q(){if(t.clientLogoPath){const l=await b(t.clientLogoPath);x(l,C)}}async function E(){if(t.clientFavoIconPath){const l=await b(t.clientFavoIconPath);x(l,D)}}async function H(){if(t.robotAvatar){const l=await b(t.robotAvatar);x(l,j)}}async function z(){if(t.userDefautlAvatar){const l=await b(t.userDefautlAvatar);x(l,O)}}const D=(l,o)=>{console.log("response: ",l.data),t.clientFavoIconPath=l.data},j=(l,o)=>{console.log("response: ",l.data),t.robotAvatar=l.data},O=(l,o)=>{console.log("response: ",l.data),t.userDefautlAvatar=l.data},w=l=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(l.type)){if(l.size/1024>300)return k.error("当前限制文件最大不超过 300KB!"),!1}else return k.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};function K(l){return Object.keys(l).map(o=>({configKey:o,configVal:l[o]}))}return Y(()=>{L()}),(l,o)=>{const r=ee,i=ae,y=W,c=p("el-input"),u=p("el-form-item"),d=p("el-col"),f=p("el-row"),m=p("el-icon"),A=p("el-upload"),M=p("el-form"),J=p("el-card");return s(),v("div",null,[e(y,null,{title:a(()=>[te]),content:a(()=>[le]),default:a(()=>[e(i,{outline:"",onClick:T},{default:a(()=>[e(r,{name:"i-ri:file-text-line"}),Z(" 保存设置 ")]),_:1})]),_:1}),e(J,{style:{margin:"20px"}},{default:a(()=>[e(M,{ref_key:"formRef",ref:N,rules:G.value,model:t,"label-width":"150px"},{default:a(()=>[e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"网站名称",prop:"siteName"},{default:a(()=>[e(c,{modelValue:t.siteName,"onUpdate:modelValue":o[0]||(o[0]=n=>t.siteName=n),placeholder:"网站名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"网站地址",prop:"siteUrl"},{default:a(()=>[e(c,{modelValue:t.siteUrl,"onUpdate:modelValue":o[1]||(o[1]=n=>t.siteUrl=n),placeholder:"网站地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"公司/组织名称",prop:"companyName"},{default:a(()=>[e(c,{modelValue:t.companyName,"onUpdate:modelValue":o[2]||(o[2]=n=>t.companyName=n),placeholder:"填入具体的公司或组织名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"网站备案号",prop:"filingNumber"},{default:a(()=>[e(c,{modelValue:t.filingNumber,"onUpdate:modelValue":o[3]||(o[3]=n=>t.filingNumber=n),placeholder:"填写网站备案信息的备案号",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"用户端LOGO",prop:"clientLogoPath"},{default:a(()=>[e(c,{modelValue:t.clientLogoPath,"onUpdate:modelValue":o[4]||(o[4]=n=>t.clientLogoPath=n),placeholder:"请填写或上传网站 LOGO 图片 URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:h.value,"show-file-list":!1,"on-success":C,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.clientLogoPath?(s(),v("img",{key:0,src:t.clientLogoPath,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,oe)):(s(),_(m,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(V))]),_:1}))]),_:1},8,["action"]),t.clientLogoPath?(s(),_(m,{key:0,onClick:q,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"网站 ico",prop:"clientFavoIconPath"},{default:a(()=>[e(c,{modelValue:t.clientFavoIconPath,"onUpdate:modelValue":o[5]||(o[5]=n=>t.clientFavoIconPath=n),placeholder:"请填写或上传网站 ico URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:h.value,"show-file-list":!1,"on-success":D,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.clientFavoIconPath?(s(),v("img",{key:0,src:t.clientFavoIconPath,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,ne)):(s(),_(m,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(V))]),_:1}))]),_:1},8,["action"]),t.clientFavoIconPath?(s(),_(m,{key:0,onClick:E,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"AI头像",prop:"robotAvatar"},{default:a(()=>[e(c,{modelValue:t.robotAvatar,"onUpdate:modelValue":o[6]||(o[6]=n=>t.robotAvatar=n),placeholder:"请填写或上传网站 AI 头像 URL、为空将根据模型自动显示",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:h.value,"show-file-list":!1,"on-success":j,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.robotAvatar?(s(),v("img",{key:0,src:t.robotAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,se)):(s(),_(m,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(V))]),_:1}))]),_:1},8,["action"]),t.robotAvatar?(s(),_(m,{key:0,onClick:H,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"用户默认头像",prop:"userDefautlAvatar"},{default:a(()=>[e(c,{modelValue:t.userDefautlAvatar,"onUpdate:modelValue":o[7]||(o[7]=n=>t.userDefautlAvatar=n),placeholder:"请填写或上传网站新用户默认的头像 URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:h.value,"show-file-list":!1,"on-success":O,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.userDefautlAvatar?(s(),v("img",{key:0,src:t.userDefautlAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,re)):(s(),_(m,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(V))]),_:1}))]),_:1},8,["action"]),t.userDefautlAvatar?(s(),_(m,{key:0,onClick:z,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof S=="function"&&S(ie);export{ie as default}; +import{_ as W}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as Q,m as X,r as F,a as Y,p,g as s,c as v,b as e,w as a,h as Z,z as _,i as g,B as V,C as P,A as U,e as I,G as k,j as ee,_ as ae,H as R,k as S}from"./index-6QRvoxq4.js";import{a as B}from"./config-DBls5jtO.js";const te=I("div",{class:"flex items-center gap-4"},"网站基础配置",-1),le=I("div",{class:"text-sm/6"},[I("div",null," 网站基础配置支持即时更新网站的主要视觉与功能元素。配置内容包括网站名称、备案号、版权信息、LOGO与ICO、默认AI头像与用户头像,以及首页设置等。 "),I("div",null,"请认真填写各项配置,确保提供给用户的信息准确无误。")],-1),oe=["src"],ne=["src"],se=["src"],re=["src"],ie=Q({__name:"baseConfiguration",setup(ce){const t=X({siteName:"",robotAvatar:"",userDefautlAvatar:"",filingNumber:"",companyName:"",buyCramiAddress:"",siteUrl:"",isShowAppCatIcon:"",clientFavoIconPath:"",clientLogoPath:""}),G=F({siteName:[{required:!0,trigger:"blur",message:"请填写网站名称"}]}),N=F(),h=F(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);async function L(){const l=await B.queryConfig({keys:["siteName","robotAvatar","userDefautlAvatar","filingNumber","companyName","isShowAppCatIcon","clientLogoPath","clientFavoIconPath","siteUrl"]});Object.assign(t,l.data)}function T(){var l;(l=N.value)==null||l.validate(async o=>{if(o){try{await B.setConfig({settings:K(t)}),k.success("变更配置信息成功")}catch{}L()}else k.error("请填写完整信息")})}async function b(l){const o=await R.get(l,{responseType:"blob"});let r="downloaded_file";const i=o.headers["content-disposition"];if(i){const y=/filename="([^"]+)"/.exec(i);y!=null&&y[1]&&(r=y[1])}else r=$(l);return new File([o.data],r,{type:o.data.type})}function $(l){const r=new URL(l).pathname;return r.substring(r.lastIndexOf("/")+1)}function x(l,o){const r=new FormData;r.append("file",l),R.post(h.value,r,{headers:{"Content-Type":"multipart/form-data"}}).then(i=>{o(i.data)}).catch(i=>{console.error("上传失败",i)})}const C=(l,o)=>{console.log("response: ",l.data),t.clientLogoPath=l.data};async function q(){if(t.clientLogoPath){const l=await b(t.clientLogoPath);x(l,C)}}async function E(){if(t.clientFavoIconPath){const l=await b(t.clientFavoIconPath);x(l,D)}}async function H(){if(t.robotAvatar){const l=await b(t.robotAvatar);x(l,j)}}async function z(){if(t.userDefautlAvatar){const l=await b(t.userDefautlAvatar);x(l,O)}}const D=(l,o)=>{console.log("response: ",l.data),t.clientFavoIconPath=l.data},j=(l,o)=>{console.log("response: ",l.data),t.robotAvatar=l.data},O=(l,o)=>{console.log("response: ",l.data),t.userDefautlAvatar=l.data},w=l=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(l.type)){if(l.size/1024>300)return k.error("当前限制文件最大不超过 300KB!"),!1}else return k.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};function K(l){return Object.keys(l).map(o=>({configKey:o,configVal:l[o]}))}return Y(()=>{L()}),(l,o)=>{const r=ee,i=ae,y=W,c=p("el-input"),u=p("el-form-item"),d=p("el-col"),f=p("el-row"),m=p("el-icon"),A=p("el-upload"),M=p("el-form"),J=p("el-card");return s(),v("div",null,[e(y,null,{title:a(()=>[te]),content:a(()=>[le]),default:a(()=>[e(i,{outline:"",onClick:T},{default:a(()=>[e(r,{name:"i-ri:file-text-line"}),Z(" 保存设置 ")]),_:1})]),_:1}),e(J,{style:{margin:"20px"}},{default:a(()=>[e(M,{ref_key:"formRef",ref:N,rules:G.value,model:t,"label-width":"150px"},{default:a(()=>[e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"网站名称",prop:"siteName"},{default:a(()=>[e(c,{modelValue:t.siteName,"onUpdate:modelValue":o[0]||(o[0]=n=>t.siteName=n),placeholder:"网站名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"网站地址",prop:"siteUrl"},{default:a(()=>[e(c,{modelValue:t.siteUrl,"onUpdate:modelValue":o[1]||(o[1]=n=>t.siteUrl=n),placeholder:"网站地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"公司/组织名称",prop:"companyName"},{default:a(()=>[e(c,{modelValue:t.companyName,"onUpdate:modelValue":o[2]||(o[2]=n=>t.companyName=n),placeholder:"填入具体的公司或组织名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"网站备案号",prop:"filingNumber"},{default:a(()=>[e(c,{modelValue:t.filingNumber,"onUpdate:modelValue":o[3]||(o[3]=n=>t.filingNumber=n),placeholder:"填写网站备案信息的备案号",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"用户端LOGO",prop:"clientLogoPath"},{default:a(()=>[e(c,{modelValue:t.clientLogoPath,"onUpdate:modelValue":o[4]||(o[4]=n=>t.clientLogoPath=n),placeholder:"请填写或上传网站 LOGO 图片 URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:h.value,"show-file-list":!1,"on-success":C,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.clientLogoPath?(s(),v("img",{key:0,src:t.clientLogoPath,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,oe)):(s(),_(m,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(V))]),_:1}))]),_:1},8,["action"]),t.clientLogoPath?(s(),_(m,{key:0,onClick:q,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"网站 ico",prop:"clientFavoIconPath"},{default:a(()=>[e(c,{modelValue:t.clientFavoIconPath,"onUpdate:modelValue":o[5]||(o[5]=n=>t.clientFavoIconPath=n),placeholder:"请填写或上传网站 ico URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:h.value,"show-file-list":!1,"on-success":D,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.clientFavoIconPath?(s(),v("img",{key:0,src:t.clientFavoIconPath,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,ne)):(s(),_(m,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(V))]),_:1}))]),_:1},8,["action"]),t.clientFavoIconPath?(s(),_(m,{key:0,onClick:E,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"AI头像",prop:"robotAvatar"},{default:a(()=>[e(c,{modelValue:t.robotAvatar,"onUpdate:modelValue":o[6]||(o[6]=n=>t.robotAvatar=n),placeholder:"请填写或上传网站 AI 头像 URL、为空将根据模型自动显示",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:h.value,"show-file-list":!1,"on-success":j,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.robotAvatar?(s(),v("img",{key:0,src:t.robotAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,se)):(s(),_(m,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(V))]),_:1}))]),_:1},8,["action"]),t.robotAvatar?(s(),_(m,{key:0,onClick:H,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(u,{label:"用户默认头像",prop:"userDefautlAvatar"},{default:a(()=>[e(c,{modelValue:t.userDefautlAvatar,"onUpdate:modelValue":o[7]||(o[7]=n=>t.userDefautlAvatar=n),placeholder:"请填写或上传网站新用户默认的头像 URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:h.value,"show-file-list":!1,"on-success":O,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.userDefautlAvatar?(s(),v("img",{key:0,src:t.userDefautlAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,re)):(s(),_(m,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(V))]),_:1}))]),_:1},8,["action"]),t.userDefautlAvatar?(s(),_(m,{key:0,onClick:z,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof S=="function"&&S(ie);export{ie as default}; diff --git a/public/admin/assets/brainfuck-C4LP7Hcl.js b/AIWebQuickDeploy/public/admin/assets/brainfuck-C4LP7Hcl.js similarity index 100% rename from public/admin/assets/brainfuck-C4LP7Hcl.js rename to AIWebQuickDeploy/public/admin/assets/brainfuck-C4LP7Hcl.js diff --git a/public/admin/assets/chat-DSEzBczd.js b/AIWebQuickDeploy/public/admin/assets/chat-Cul6apvD.js similarity index 80% rename from public/admin/assets/chat-DSEzBczd.js rename to AIWebQuickDeploy/public/admin/assets/chat-Cul6apvD.js index c5cd18d..d810dc7 100644 --- a/public/admin/assets/chat-DSEzBczd.js +++ b/AIWebQuickDeploy/public/admin/assets/chat-Cul6apvD.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{I as t}from"./index-nGFMSQGw.js";const l={queryChatAll:a=>t.get("chatLog/chatAll",{params:a}),queryDrawAll:a=>t.get("chatLog/drawAll",{params:a}),recDrawImg:a=>t.post("chatLog/recDrawImg",a)};export{l as A}; +import{I as t}from"./index-6QRvoxq4.js";const l={queryChatAll:a=>t.get("chatLog/chatAll",{params:a}),queryDrawAll:a=>t.get("chatLog/drawAll",{params:a}),recDrawImg:a=>t.post("chatLog/recDrawImg",a)};export{l as A}; diff --git a/public/admin/assets/chat-DJXUFUH_.css b/AIWebQuickDeploy/public/admin/assets/chat-DJXUFUH_.css similarity index 100% rename from public/admin/assets/chat-DJXUFUH_.css rename to AIWebQuickDeploy/public/admin/assets/chat-DJXUFUH_.css diff --git a/public/admin/assets/chat-BWcQBZPb.js b/AIWebQuickDeploy/public/admin/assets/chat-u79Q-XSS.js similarity index 93% rename from public/admin/assets/chat-BWcQBZPb.js rename to AIWebQuickDeploy/public/admin/assets/chat-u79Q-XSS.js index edadfe6..bef3570 100644 --- a/public/admin/assets/chat-BWcQBZPb.js +++ b/AIWebQuickDeploy/public/admin/assets/chat-u79Q-XSS.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as N,r as d,m as $,a as j,p as n,q as P,g as c,c as C,b as t,w as o,F as O,s as G,i,v as J,x as Q,h as u,y as W,z as T,t as _,e as h,K as X,k as A}from"./index-nGFMSQGw.js";import{A as Z}from"./chat-DSEzBczd.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";import{m as g}from"./marked.esm-8ZxQ78w7.js";const ee=h("div",{class:"flex items-center gap-4"},"对话记录",-1),te={class:"answer"},oe=["innerHTML"],ae=N({__name:"chat",setup(ne){const V=new g.Renderer;g.setOptions({renderer:V,gfm:!0,pedantic:!1});const m=d(!1),v=d(),b=d(),y=d(0),l=$({userId:"",prompt:"",page:1,size:10}),k=d([]);async function p(){m.value=!0;try{const r=await Z.queryChatAll(l);m.value=!1;const{rows:a,count:f}=r.data;y.value=f,k.value=a}catch{m.value=!1}}async function U(r){const a=await X.queryAllUser({size:30,username:r});v.value=a.data.rows}function D(r){r==null||r.resetFields(),p()}return j(()=>{p()}),(r,a)=>{const f=H,I=n("el-option"),M=n("el-select"),w=n("el-form-item"),L=n("el-input"),z=n("el-button"),S=n("el-form"),x=F,s=n("el-table-column"),q=n("el-popover"),B=n("el-table"),K=n("el-pagination"),R=n("el-row"),Y=P("loading");return c(),C("div",null,[t(f,null,{title:o(()=>[ee]),_:1}),t(x,null,{default:o(()=>[t(S,{ref_key:"formRef",ref:b,inline:!0,model:l},{default:o(()=>[t(w,{label:"用户名称",prop:"userId"},{default:o(()=>[t(M,{modelValue:l.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>l.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":U,style:{width:"160px"}},{default:o(()=>[(c(!0),C(O,null,G(i(v),e=>(c(),T(I,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"用户询问的问题",prop:"prompt"},{default:o(()=>[t(L,{modelValue:l.prompt,"onUpdate:modelValue":a[1]||(a[1]=e=>l.prompt=e),placeholder:"提问问题[模糊搜索]",onKeydown:J(Q(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),t(w,null,{default:o(()=>[t(z,{type:"primary",onClick:p},{default:o(()=>[u(" 查询 ")]),_:1}),t(z,{onClick:a[2]||(a[2]=e=>D(i(b)))},{default:o(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(x,{style:{width:"100%"}},{default:o(()=>[W((c(),T(B,{border:"",data:i(k),style:{width:"100%"},size:"large","tooltip-options":{}},{default:o(()=>[t(s,{fixed:"",prop:"username",label:"用户名称",width:"150"}),t(s,{prop:"createdAt",label:"角色",width:"80"},{default:o(e=>[u(_(e.row.role==="user"?"用户":"电脑"),1)]),_:1}),t(s,{prop:"email",label:"用户邮箱",width:"200"}),t(s,{prop:"answer",label:"用户询问/AI回复",width:"400"},{default:o(e=>[t(q,{placement:"top",width:"450",trigger:"click"},{reference:o(()=>[h("div",te,_(e.row.role==="user"?e.row.prompt:e.row.answer),1)]),default:o(()=>[h("div",{class:"answer_container",innerHTML:i(g)(e.row.role==="user"?e.row.prompt:e.row.answer||"")},null,8,oe)]),_:2},1024)]),_:1}),t(s,{prop:"completionTokens",label:"提问/回答Token",width:"140",align:"center"},{default:o(e=>[u(_(e.row.role==="user"?e.row.promptTokens:e.row.completionTokens),1)]),_:1}),t(s,{prop:"totalTokens",label:"总计Token",width:"110",align:"center"}),t(s,{prop:"model",label:"模型",width:"200"}),t(s,{prop:"createdAt",label:"提问时间",width:"200"},{default:o(e=>[u(_(i(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[Y,i(m)]]),t(R,{class:"mt-5 flex justify-end"},{default:o(()=>[t(K,{"current-page":l.page,"onUpdate:currentPage":a[3]||(a[3]=e=>l.page=e),"page-size":l.size,"onUpdate:pageSize":a[4]||(a[4]=e=>l.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:i(y),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof A=="function"&&A(ae);export{ae as default}; +import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as N,r as d,m as $,a as j,p as n,q as P,g as c,c as C,b as t,w as o,F as O,s as G,i,v as J,x as Q,h as u,y as W,z as T,t as _,e as h,K as X,k as A}from"./index-6QRvoxq4.js";import{A as Z}from"./chat-Cul6apvD.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";import{m as g}from"./marked.esm-8ZxQ78w7.js";const ee=h("div",{class:"flex items-center gap-4"},"对话记录",-1),te={class:"answer"},oe=["innerHTML"],ae=N({__name:"chat",setup(ne){const V=new g.Renderer;g.setOptions({renderer:V,gfm:!0,pedantic:!1});const m=d(!1),v=d(),b=d(),y=d(0),l=$({userId:"",prompt:"",page:1,size:10}),k=d([]);async function p(){m.value=!0;try{const r=await Z.queryChatAll(l);m.value=!1;const{rows:a,count:f}=r.data;y.value=f,k.value=a}catch{m.value=!1}}async function U(r){const a=await X.queryAllUser({size:30,username:r});v.value=a.data.rows}function D(r){r==null||r.resetFields(),p()}return j(()=>{p()}),(r,a)=>{const f=H,I=n("el-option"),M=n("el-select"),w=n("el-form-item"),L=n("el-input"),z=n("el-button"),S=n("el-form"),x=F,s=n("el-table-column"),q=n("el-popover"),B=n("el-table"),K=n("el-pagination"),R=n("el-row"),Y=P("loading");return c(),C("div",null,[t(f,null,{title:o(()=>[ee]),_:1}),t(x,null,{default:o(()=>[t(S,{ref_key:"formRef",ref:b,inline:!0,model:l},{default:o(()=>[t(w,{label:"用户名称",prop:"userId"},{default:o(()=>[t(M,{modelValue:l.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>l.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":U,style:{width:"160px"}},{default:o(()=>[(c(!0),C(O,null,G(i(v),e=>(c(),T(I,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"用户询问的问题",prop:"prompt"},{default:o(()=>[t(L,{modelValue:l.prompt,"onUpdate:modelValue":a[1]||(a[1]=e=>l.prompt=e),placeholder:"提问问题[模糊搜索]",onKeydown:J(Q(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),t(w,null,{default:o(()=>[t(z,{type:"primary",onClick:p},{default:o(()=>[u(" 查询 ")]),_:1}),t(z,{onClick:a[2]||(a[2]=e=>D(i(b)))},{default:o(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(x,{style:{width:"100%"}},{default:o(()=>[W((c(),T(B,{border:"",data:i(k),style:{width:"100%"},size:"large","tooltip-options":{}},{default:o(()=>[t(s,{fixed:"",prop:"username",label:"用户名称",width:"150"}),t(s,{prop:"createdAt",label:"角色",width:"80"},{default:o(e=>[u(_(e.row.role==="user"?"用户":"电脑"),1)]),_:1}),t(s,{prop:"email",label:"用户邮箱",width:"200"}),t(s,{prop:"answer",label:"用户询问/AI回复",width:"400"},{default:o(e=>[t(q,{placement:"top",width:"450",trigger:"click"},{reference:o(()=>[h("div",te,_(e.row.role==="user"?e.row.prompt:e.row.answer),1)]),default:o(()=>[h("div",{class:"answer_container",innerHTML:i(g)(e.row.role==="user"?e.row.prompt:e.row.answer||"")},null,8,oe)]),_:2},1024)]),_:1}),t(s,{prop:"completionTokens",label:"提问/回答Token",width:"140",align:"center"},{default:o(e=>[u(_(e.row.role==="user"?e.row.promptTokens:e.row.completionTokens),1)]),_:1}),t(s,{prop:"totalTokens",label:"总计Token",width:"110",align:"center"}),t(s,{prop:"model",label:"模型",width:"200"}),t(s,{prop:"createdAt",label:"提问时间",width:"200"},{default:o(e=>[u(_(i(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[Y,i(m)]]),t(R,{class:"mt-5 flex justify-end"},{default:o(()=>[t(K,{"current-page":l.page,"onUpdate:currentPage":a[3]||(a[3]=e=>l.page=e),"page-size":l.size,"onUpdate:pageSize":a[4]||(a[4]=e=>l.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:i(y),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof A=="function"&&A(ae);export{ae as default}; diff --git a/public/admin/assets/chevereto-DL3R-p1F.js b/AIWebQuickDeploy/public/admin/assets/chevereto-CrU0O1ko.js similarity index 94% rename from public/admin/assets/chevereto-DL3R-p1F.js rename to AIWebQuickDeploy/public/admin/assets/chevereto-CrU0O1ko.js index bae9a3a..44daea7 100644 --- a/public/admin/assets/chevereto-DL3R-p1F.js +++ b/AIWebQuickDeploy/public/admin/assets/chevereto-CrU0O1ko.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as j,m as B,r as N,n as q,a as A,p as n,g as R,c as $,b as e,w as t,h as c,e as s,i as g,G as y,j as E,_ as H,k as b}from"./index-nGFMSQGw.js";import{a as x}from"./config-CYXO1pNF.js";const I=s("div",{class:"flex items-center gap-4"},"Chevereto图床设置",-1),M=s("div",{class:"text-sm/6"},[s("div",null,[c(" 详细搭建及配置请参考 "),s("a",{href:"https://v4-docs.chevereto.com/developer/api/api-v1.html",target:"_blank"},"Chevereto图床文档"),c(" 。如果同时开启多个存储服务,腾讯云、阿里云优先级高于 Chevereto 图床。 ")])],-1),O={class:"flex justify-between"},G=s("b",null,"chevereto图床参数设置",-1),T=j({__name:"chevereto",setup(z){const l=B({cheveretoStatus:"",cheveretoUploadPath:"",cheveretoKey:""}),_=N();async function m(){const a=await x.queryConfig({keys:["cheveretoKey","cheveretoUploadPath","cheveretoStatus"]});Object.assign(l,a.data)}function p(){var a;(a=_.value)==null||a.validate(async o=>{if(o){try{await x.setConfig({settings:w(l)}),y.success("变更配置信息成功")}catch{}m()}else y.error("请填写完整信息")})}function w(a){return Object.keys(a).map(o=>({configKey:o,configVal:a[o]}))}const f=q(()=>[{required:Number(l.cheveretoStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return A(()=>{m()}),(a,o)=>{const h=E,V=H,C=P,k=n("el-button"),U=n("el-switch"),u=n("el-form-item"),d=n("el-col"),i=n("el-row"),v=n("el-input"),K=n("el-form"),S=n("el-card");return R(),$("div",null,[e(C,null,{title:t(()=>[I]),content:t(()=>[M]),default:t(()=>[e(V,{outline:"",onClick:p},{default:t(()=>[e(h,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{header:t(()=>[s("div",O,[G,e(k,{class:"button",text:"",onClick:p},{default:t(()=>[c(" 保存设置 ")]),_:1})])]),default:t(()=>[e(K,{ref_key:"formRef",ref:_,model:l,"label-width":"100px"},{default:t(()=>[e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{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(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"上传地址",prop:"cheveretoUploadPath",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoUploadPath,"onUpdate:modelValue":o[1]||(o[1]=r=>l.cheveretoUploadPath=r),placeholder:"请填写您的图床上传地址",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"ApiKey",prop:"cheveretoKey",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoKey,"onUpdate:modelValue":o[2]||(o[2]=r=>l.cheveretoKey=r),placeholder:"请填写ApiKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof b=="function"&&b(T);export{T as default}; +import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as j,m as B,r as N,n as q,a as A,p as n,g as R,c as $,b as e,w as t,h as c,e as s,i as g,G as y,j as E,_ as H,k as b}from"./index-6QRvoxq4.js";import{a as x}from"./config-DBls5jtO.js";const I=s("div",{class:"flex items-center gap-4"},"Chevereto图床设置",-1),M=s("div",{class:"text-sm/6"},[s("div",null,[c(" 详细搭建及配置请参考 "),s("a",{href:"https://v4-docs.chevereto.com/developer/api/api-v1.html",target:"_blank"},"Chevereto图床文档"),c(" 。如果同时开启多个存储服务,腾讯云、阿里云优先级高于 Chevereto 图床。 ")])],-1),O={class:"flex justify-between"},G=s("b",null,"chevereto图床参数设置",-1),T=j({__name:"chevereto",setup(z){const l=B({cheveretoStatus:"",cheveretoUploadPath:"",cheveretoKey:""}),_=N();async function m(){const a=await x.queryConfig({keys:["cheveretoKey","cheveretoUploadPath","cheveretoStatus"]});Object.assign(l,a.data)}function p(){var a;(a=_.value)==null||a.validate(async o=>{if(o){try{await x.setConfig({settings:w(l)}),y.success("变更配置信息成功")}catch{}m()}else y.error("请填写完整信息")})}function w(a){return Object.keys(a).map(o=>({configKey:o,configVal:a[o]}))}const f=q(()=>[{required:Number(l.cheveretoStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return A(()=>{m()}),(a,o)=>{const h=E,V=H,C=P,k=n("el-button"),U=n("el-switch"),u=n("el-form-item"),d=n("el-col"),i=n("el-row"),v=n("el-input"),K=n("el-form"),S=n("el-card");return R(),$("div",null,[e(C,null,{title:t(()=>[I]),content:t(()=>[M]),default:t(()=>[e(V,{outline:"",onClick:p},{default:t(()=>[e(h,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{header:t(()=>[s("div",O,[G,e(k,{class:"button",text:"",onClick:p},{default:t(()=>[c(" 保存设置 ")]),_:1})])]),default:t(()=>[e(K,{ref_key:"formRef",ref:_,model:l,"label-width":"100px"},{default:t(()=>[e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{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(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"上传地址",prop:"cheveretoUploadPath",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoUploadPath,"onUpdate:modelValue":o[1]||(o[1]=r=>l.cheveretoUploadPath=r),placeholder:"请填写您的图床上传地址",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"ApiKey",prop:"cheveretoKey",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoKey,"onUpdate:modelValue":o[2]||(o[2]=r=>l.cheveretoKey=r),placeholder:"请填写ApiKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof b=="function"&&b(T);export{T as default}; diff --git a/public/admin/assets/classify-D6OriOt0.js b/AIWebQuickDeploy/public/admin/assets/classify-C53uJCw1.js similarity index 95% rename from public/admin/assets/classify-D6OriOt0.js rename to AIWebQuickDeploy/public/admin/assets/classify-C53uJCw1.js index 04f01d1..d663f7c 100644 --- a/public/admin/assets/classify-D6OriOt0.js +++ b/AIWebQuickDeploy/public/admin/assets/classify-C53uJCw1.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as le}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as ne,r as p,m as D,n as P,a as se,p as n,q as re,g as w,c as q,b as e,w as l,h as u,v as ie,x as ue,F as de,s as pe,i as s,y as me,z as B,t as I,e as C,D as ce,E as _e,G as S,j as fe,_ as ge,k as M}from"./index-nGFMSQGw.js";import{A as k}from"./app-BCL1kqkG.js";import{u as ve}from"./utcformatTime-Bq4gDWNx.js";import{E as be,Q as ye}from"./index-BE-LteFu.js";const we=C("div",{class:"flex items-center gap-4"},"应用分类配置",-1),ke=C("div",{class:"text-sm/6"},[C("div",null,"应用分类可能会被多个用户收藏,一旦创建,不建议删除。")],-1),Ce={class:"mr-5 flex justify-end"},Ve=ne({__name:"classify",setup(xe){const U=p(),$=p(0),m=p(!1),y=p(!1);p("/api/upload/file");const r=D({name:"",status:"",page:1,size:10}),V=p(),c=p(0),i=D({name:"",des:"",coverImg:"",order:100,status:0}),N=D({name:[{required:!0,message:"请填写分类名称",trigger:"blur"}],des:[{required:!1,message:"请填写分类描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写分类封面图片地址",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择分类状态",trigger:"change"}]}),h=p([]),R=P(()=>c.value?"更新分类":"新增分类"),j=P(()=>c.value?"确认更新":"确认新增");async function d(){try{y.value=!0;const o=await k.queryCats(r),{rows:t,count:v}=o.data;y.value=!1,$.value=v,h.value=t}catch{y.value=!1}}function F(o){c.value=o.id;const{name:t,status:v,des:x,order:z,coverImg:b}=o;_e(()=>{Object.assign(i,{name:t,status:v,des:x,order:z,coverImg:b})}),m.value=!0}function O(o){c.value=0,o==null||o.resetFields()}async function Y(o){await k.deleteCats({id:o.id}),S.success("删除分类成功"),d()}function K(o){o==null||o.resetFields(),d()}function L(o){o==null||o.validate(async t=>{t&&(c.value?(await k.updateCats({id:c.value,...i}),S({type:"success",message:"更新分类成功!"})):(await k.createCats(i),S({type:"success",message:"创建新的分类成功!"})),m.value=!1,d())})}return se(()=>{d()}),(o,t)=>{const v=fe,x=ge,z=oe,b=n("el-input"),_=n("el-form-item"),H=n("el-option"),Q=n("el-select"),f=n("el-button"),T=n("el-form"),A=le,g=n("el-table-column"),G=n("el-tag"),J=n("el-popconfirm"),W=n("el-table"),X=n("el-pagination"),Z=n("el-row"),E=n("el-switch"),ee=n("el-dialog"),te=re("loading");return w(),q("div",null,[e(z,null,{title:l(()=>[we]),content:l(()=>[ke]),default:l(()=>[e(x,{outline:"",onClick:t[0]||(t[0]=a=>m.value=!0)},{default:l(()=>[e(v,{name:"ic:baseline-plus"}),u(" 新增分类 ")]),_:1})]),_:1}),e(A,null,{default:l(()=>[e(T,{ref_key:"formRef",ref:U,inline:!0,model:r},{default:l(()=>[e(_,{label:"分类名称",prop:"name"},{default:l(()=>[e(b,{modelValue:r.name,"onUpdate:modelValue":t[1]||(t[1]=a=>r.name=a),placeholder:"分类名称[模糊搜索]",onKeydown:ie(ue(d,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(_,{label:"分类状态",prop:"status"},{default:l(()=>[e(Q,{modelValue:r.status,"onUpdate:modelValue":t[2]||(t[2]=a=>r.status=a),placeholder:"请选择分类状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(w(!0),q(de,null,pe(s(be),a=>(w(),B(H,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(_,null,{default:l(()=>[e(f,{type:"primary",onClick:d},{default:l(()=>[u(" 查询 ")]),_:1}),e(f,{onClick:t[3]||(t[3]=a=>K(s(U)))},{default:l(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(A,{style:{width:"100%"}},{default:l(()=>[me((w(),B(W,{border:"",data:s(h),style:{width:"100%"},size:"large"},{default:l(()=>[e(g,{prop:"name",label:"分类名称"}),e(g,{prop:"appCount",label:"应用数量"}),e(g,{prop:"order",label:"排序ID"}),e(g,{prop:"status",label:"分类状态"},{default:l(a=>[e(G,{type:a.row.status===1?"success":"danger"},{default:l(()=>[u(I(s(ye)[a.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(g,{prop:"createdAt",label:"创建时间",width:"200"},{default:l(a=>[u(I(s(ve)(a.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(g,{label:"操作",width:"200"},{default:l(a=>[e(f,{link:"",type:"primary",size:"small",onClick:ae=>F(a.row)},{default:l(()=>[u(" 编辑 ")]),_:2},1032,["onClick"]),e(J,{title:"确认删除此分类么?",width:"200","icon-color":"red",onConfirm:ae=>Y(a.row)},{reference:l(()=>[e(f,{link:"",type:"danger",size:"small"},{default:l(()=>[u(" 删除分类 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,s(y)]]),e(Z,{class:"mt-5 flex justify-end"},{default:l(()=>[e(X,{"current-page":r.page,"onUpdate:currentPage":t[4]||(t[4]=a=>r.page=a),"page-size":r.size,"onUpdate:pageSize":t[5]||(t[5]=a=>r.size=a),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s($),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(ee,{modelValue:s(m),"onUpdate:modelValue":t[11]||(t[11]=a=>ce(m)?m.value=a:null),"close-on-click-modal":!1,title:s(R),width:"570",onClose:t[12]||(t[12]=a=>O(s(V)))},{footer:l(()=>[C("span",Ce,[e(f,{onClick:t[9]||(t[9]=a=>m.value=!1)},{default:l(()=>[u("取消")]),_:1}),e(f,{type:"primary",onClick:t[10]||(t[10]=a=>L(s(V)))},{default:l(()=>[u(I(s(j)),1)]),_:1})])]),default:l(()=>[e(T,{ref_key:"formPackageRef",ref:V,"label-position":"right","label-width":"100px",model:i,rules:N},{default:l(()=>[e(_,{label:"分类名称",prop:"name"},{default:l(()=>[e(b,{modelValue:i.name,"onUpdate:modelValue":t[6]||(t[6]=a=>i.name=a),placeholder:"请填写分类名称"},null,8,["modelValue"])]),_:1}),e(_,{label:"分类状态",prop:"status"},{default:l(()=>[e(E,{modelValue:i.status,"onUpdate:modelValue":t[7]||(t[7]=a=>i.status=a),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(_,{label:"排序ID",prop:"order"},{default:l(()=>[e(b,{modelValue:i.order,"onUpdate:modelValue":t[8]||(t[8]=a=>i.order=a),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(Ve);export{Ve as default}; +import{_ as le}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as ne,r as p,m as D,n as P,a as se,p as n,q as re,g as w,c as q,b as e,w as l,h as u,v as ie,x as ue,F as de,s as pe,i as s,y as me,z as B,t as I,e as C,D as ce,E as _e,G as S,j as fe,_ as ge,k as M}from"./index-6QRvoxq4.js";import{A as k}from"./app-CZBIwClE.js";import{u as ve}from"./utcformatTime-Bq4gDWNx.js";import{E as be,Q as ye}from"./index-BE-LteFu.js";const we=C("div",{class:"flex items-center gap-4"},"应用分类配置",-1),ke=C("div",{class:"text-sm/6"},[C("div",null,"应用分类可能会被多个用户收藏,一旦创建,不建议删除。")],-1),Ce={class:"mr-5 flex justify-end"},Ve=ne({__name:"classify",setup(xe){const U=p(),$=p(0),m=p(!1),y=p(!1);p("/api/upload/file");const r=D({name:"",status:"",page:1,size:10}),V=p(),c=p(0),i=D({name:"",des:"",coverImg:"",order:100,status:0}),N=D({name:[{required:!0,message:"请填写分类名称",trigger:"blur"}],des:[{required:!1,message:"请填写分类描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写分类封面图片地址",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择分类状态",trigger:"change"}]}),h=p([]),R=P(()=>c.value?"更新分类":"新增分类"),j=P(()=>c.value?"确认更新":"确认新增");async function d(){try{y.value=!0;const o=await k.queryCats(r),{rows:t,count:v}=o.data;y.value=!1,$.value=v,h.value=t}catch{y.value=!1}}function F(o){c.value=o.id;const{name:t,status:v,des:x,order:z,coverImg:b}=o;_e(()=>{Object.assign(i,{name:t,status:v,des:x,order:z,coverImg:b})}),m.value=!0}function O(o){c.value=0,o==null||o.resetFields()}async function Y(o){await k.deleteCats({id:o.id}),S.success("删除分类成功"),d()}function K(o){o==null||o.resetFields(),d()}function L(o){o==null||o.validate(async t=>{t&&(c.value?(await k.updateCats({id:c.value,...i}),S({type:"success",message:"更新分类成功!"})):(await k.createCats(i),S({type:"success",message:"创建新的分类成功!"})),m.value=!1,d())})}return se(()=>{d()}),(o,t)=>{const v=fe,x=ge,z=oe,b=n("el-input"),_=n("el-form-item"),H=n("el-option"),Q=n("el-select"),f=n("el-button"),T=n("el-form"),A=le,g=n("el-table-column"),G=n("el-tag"),J=n("el-popconfirm"),W=n("el-table"),X=n("el-pagination"),Z=n("el-row"),E=n("el-switch"),ee=n("el-dialog"),te=re("loading");return w(),q("div",null,[e(z,null,{title:l(()=>[we]),content:l(()=>[ke]),default:l(()=>[e(x,{outline:"",onClick:t[0]||(t[0]=a=>m.value=!0)},{default:l(()=>[e(v,{name:"ic:baseline-plus"}),u(" 新增分类 ")]),_:1})]),_:1}),e(A,null,{default:l(()=>[e(T,{ref_key:"formRef",ref:U,inline:!0,model:r},{default:l(()=>[e(_,{label:"分类名称",prop:"name"},{default:l(()=>[e(b,{modelValue:r.name,"onUpdate:modelValue":t[1]||(t[1]=a=>r.name=a),placeholder:"分类名称[模糊搜索]",onKeydown:ie(ue(d,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(_,{label:"分类状态",prop:"status"},{default:l(()=>[e(Q,{modelValue:r.status,"onUpdate:modelValue":t[2]||(t[2]=a=>r.status=a),placeholder:"请选择分类状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(w(!0),q(de,null,pe(s(be),a=>(w(),B(H,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(_,null,{default:l(()=>[e(f,{type:"primary",onClick:d},{default:l(()=>[u(" 查询 ")]),_:1}),e(f,{onClick:t[3]||(t[3]=a=>K(s(U)))},{default:l(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(A,{style:{width:"100%"}},{default:l(()=>[me((w(),B(W,{border:"",data:s(h),style:{width:"100%"},size:"large"},{default:l(()=>[e(g,{prop:"name",label:"分类名称"}),e(g,{prop:"appCount",label:"应用数量"}),e(g,{prop:"order",label:"排序ID"}),e(g,{prop:"status",label:"分类状态"},{default:l(a=>[e(G,{type:a.row.status===1?"success":"danger"},{default:l(()=>[u(I(s(ye)[a.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(g,{prop:"createdAt",label:"创建时间",width:"200"},{default:l(a=>[u(I(s(ve)(a.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(g,{label:"操作",width:"200"},{default:l(a=>[e(f,{link:"",type:"primary",size:"small",onClick:ae=>F(a.row)},{default:l(()=>[u(" 编辑 ")]),_:2},1032,["onClick"]),e(J,{title:"确认删除此分类么?",width:"200","icon-color":"red",onConfirm:ae=>Y(a.row)},{reference:l(()=>[e(f,{link:"",type:"danger",size:"small"},{default:l(()=>[u(" 删除分类 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,s(y)]]),e(Z,{class:"mt-5 flex justify-end"},{default:l(()=>[e(X,{"current-page":r.page,"onUpdate:currentPage":t[4]||(t[4]=a=>r.page=a),"page-size":r.size,"onUpdate:pageSize":t[5]||(t[5]=a=>r.size=a),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s($),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(ee,{modelValue:s(m),"onUpdate:modelValue":t[11]||(t[11]=a=>ce(m)?m.value=a:null),"close-on-click-modal":!1,title:s(R),width:"570",onClose:t[12]||(t[12]=a=>O(s(V)))},{footer:l(()=>[C("span",Ce,[e(f,{onClick:t[9]||(t[9]=a=>m.value=!1)},{default:l(()=>[u("取消")]),_:1}),e(f,{type:"primary",onClick:t[10]||(t[10]=a=>L(s(V)))},{default:l(()=>[u(I(s(j)),1)]),_:1})])]),default:l(()=>[e(T,{ref_key:"formPackageRef",ref:V,"label-position":"right","label-width":"100px",model:i,rules:N},{default:l(()=>[e(_,{label:"分类名称",prop:"name"},{default:l(()=>[e(b,{modelValue:i.name,"onUpdate:modelValue":t[6]||(t[6]=a=>i.name=a),placeholder:"请填写分类名称"},null,8,["modelValue"])]),_:1}),e(_,{label:"分类状态",prop:"status"},{default:l(()=>[e(E,{modelValue:i.status,"onUpdate:modelValue":t[7]||(t[7]=a=>i.status=a),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(_,{label:"排序ID",prop:"order"},{default:l(()=>[e(b,{modelValue:i.order,"onUpdate:modelValue":t[8]||(t[8]=a=>i.order=a),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(Ve);export{Ve as default}; diff --git a/public/admin/assets/clike-DWq2Y8ae.js b/AIWebQuickDeploy/public/admin/assets/clike-DWq2Y8ae.js similarity index 100% rename from public/admin/assets/clike-DWq2Y8ae.js rename to AIWebQuickDeploy/public/admin/assets/clike-DWq2Y8ae.js diff --git a/public/admin/assets/clojure-BMjYHr_A.js b/AIWebQuickDeploy/public/admin/assets/clojure-BMjYHr_A.js similarity index 100% rename from public/admin/assets/clojure-BMjYHr_A.js rename to AIWebQuickDeploy/public/admin/assets/clojure-BMjYHr_A.js diff --git a/public/admin/assets/cmake-BQqOBYOt.js b/AIWebQuickDeploy/public/admin/assets/cmake-BQqOBYOt.js similarity index 100% rename from public/admin/assets/cmake-BQqOBYOt.js rename to AIWebQuickDeploy/public/admin/assets/cmake-BQqOBYOt.js diff --git a/public/admin/assets/cobol-XrqhtCFE.js b/AIWebQuickDeploy/public/admin/assets/cobol-XrqhtCFE.js similarity index 100% rename from public/admin/assets/cobol-XrqhtCFE.js rename to AIWebQuickDeploy/public/admin/assets/cobol-XrqhtCFE.js diff --git a/public/admin/assets/coffeescript-S37ZYGWr.js b/AIWebQuickDeploy/public/admin/assets/coffeescript-S37ZYGWr.js similarity index 100% rename from public/admin/assets/coffeescript-S37ZYGWr.js rename to AIWebQuickDeploy/public/admin/assets/coffeescript-S37ZYGWr.js diff --git a/public/admin/assets/commonlisp-5jcOZwOE.js b/AIWebQuickDeploy/public/admin/assets/commonlisp-5jcOZwOE.js similarity index 100% rename from public/admin/assets/commonlisp-5jcOZwOE.js rename to AIWebQuickDeploy/public/admin/assets/commonlisp-5jcOZwOE.js diff --git a/public/admin/assets/config-CYXO1pNF.js b/AIWebQuickDeploy/public/admin/assets/config-DBls5jtO.js similarity index 79% rename from public/admin/assets/config-CYXO1pNF.js rename to AIWebQuickDeploy/public/admin/assets/config-DBls5jtO.js index e2483e0..72a5878 100644 --- a/public/admin/assets/config-CYXO1pNF.js +++ b/AIWebQuickDeploy/public/admin/assets/config-DBls5jtO.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{I as i}from"./index-nGFMSQGw.js";const f={queryAllConfig:()=>i.get("config/queryAll"),queryConfig:o=>i.post("config/query",o),setConfig:o=>i.post("config/set",o)};export{f as a}; +import{I as i}from"./index-6QRvoxq4.js";const f={queryAllConfig:()=>i.get("config/queryAll"),queryConfig:o=>i.post("config/query",o),setConfig:o=>i.post("config/set",o)};export{f as a}; diff --git a/public/admin/assets/crami-C4rWwE2o.js b/AIWebQuickDeploy/public/admin/assets/crami-DF3UkRa8.js similarity index 80% rename from public/admin/assets/crami-C4rWwE2o.js rename to AIWebQuickDeploy/public/admin/assets/crami-DF3UkRa8.js index da5cb1a..6223e4b 100644 --- a/public/admin/assets/crami-C4rWwE2o.js +++ b/AIWebQuickDeploy/public/admin/assets/crami-DF3UkRa8.js @@ -5,5 +5,5 @@ * https://fantastic-admin.github.io */ -import{_ as be}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as ve}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as Ce,r as m,m as L,n as we,a as ke,p as u,q as he,g as r,c as w,b as t,w as a,i as n,z as _,h as s,A as V,F as A,s as D,y as Ve,t as M,e as b,D as N,K as xe,G as T,_ as Ue,j as Me,k as X}from"./index-nGFMSQGw.js";import{A as $}from"./package-DNsyP8d5.js";import{C as $e}from"./index-BE-LteFu.js";import{u as Ie}from"./utcformatTime-Bq4gDWNx.js";const ze=b("div",{class:"flex items-center gap-4"},"卡密设置",-1),Ae=b("div",{class:"text-sm/6"},[b("div",null,"可生成套餐类卡密与自定义卡密,套餐类卡密的设置项更多。"),b("div",null," 过期时间表示卡密的过期时间,不是用户充值后的有效期,设置为0表示永不过期。 ")],-1),De=b("div",{style:{float:"right"}},null,-1),je={key:1},qe={class:"dialog-footer"},Se={style:{"max-height":"200px",overflow:"scroll"}},Re={class:"dialog-footer"},Le=Ce({__name:"crami",setup(Ne){const B=m(),P=m(0),k=m(!1),x=m(!1),j=m(),U=m(0),F=m([]),O=m([]),v=m(!1),C=m([]),Y=m([]),d=L({packageId:null,count:1,drawMjCount:0,model3Count:0,model4Count:0}),p=L({useId:"",status:"",page:1,size:15}),Z=L({packageId:[{required:!0,message:"请选择套餐类型",trigger:"change"}],days:[{required:!0,message:"请填写有效期天数",trigger:"blur"}],count:[{required:!0,message:"请填写想要生成的数量",trigger:"blur"}],drawMjCount:[{required:!0,message:"卡密携带绘画数量",trigger:"blur"}],model3Count:[{required:!0,message:"卡密携带基础模型对话数量",trigger:"blur"}],model4Count:[{required:!0,message:"卡密携带高级模型金额",trigger:"blur"}]}),q=m([]);async function g(){try{v.value=!0;const o=await $.queryAllCrami(p),{rows:l,count:y}=o.data;v.value=!1,P.value=y,q.value=l}catch{v.value=!1}}async function E(o){const l=await xe.queryAllUser({size:30,username:o});O.value=l.data.rows}async function ee(){const o=await $.queryAllPackage({size:100});F.value=o.data.rows}function le(){ee(),k.value=!0}async function te(o){o==null||o.validate(async l=>{l&&(await $.createCrami(d),T({type:"success",message:"生成卡密成功!"}),k.value=!1,g())})}function ae(o){o==null||o.resetFields()}function oe(o){o==null||o.resetFields(),g()}async function ne(o){await $.delCrami({id:o.id}),T({type:"success",message:"删除卡密成功!"}),g()}async function re(o){C.value=o}async function ue(){try{v.value=!0,await $.batchDelCrami({ids:C.value.map(o=>o.id)}),v.value=!1,T({type:"success",message:"删除卡密成功!"}),g()}catch{v.value=!1}}function se(){x.value=!0;const o=C.value.map(l=>`${l.code}<---->${l.packageName||"自定义套餐"}`);Y.value=o}function de(o){return o.join(` +import{_ as be}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as ve}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as Ce,r as m,m as L,n as we,a as ke,p as u,q as he,g as r,c as w,b as t,w as a,i as n,z as _,h as s,A as V,F as A,s as D,y as Ve,t as M,e as b,D as N,K as xe,G as T,_ as Ue,j as Me,k as X}from"./index-6QRvoxq4.js";import{A as $}from"./package-B_VYKnha.js";import{C as $e}from"./index-BE-LteFu.js";import{u as Ie}from"./utcformatTime-Bq4gDWNx.js";const ze=b("div",{class:"flex items-center gap-4"},"卡密设置",-1),Ae=b("div",{class:"text-sm/6"},[b("div",null,"可生成套餐类卡密与自定义卡密,套餐类卡密的设置项更多。"),b("div",null," 过期时间表示卡密的过期时间,不是用户充值后的有效期,设置为0表示永不过期。 ")],-1),De=b("div",{style:{float:"right"}},null,-1),je={key:1},qe={class:"dialog-footer"},Se={style:{"max-height":"200px",overflow:"scroll"}},Re={class:"dialog-footer"},Le=Ce({__name:"crami",setup(Ne){const B=m(),P=m(0),k=m(!1),x=m(!1),j=m(),U=m(0),F=m([]),O=m([]),v=m(!1),C=m([]),Y=m([]),d=L({packageId:void 0,count:1,drawMjCount:0,model3Count:0,model4Count:0}),p=L({useId:"",status:"",page:1,size:15}),Z=L({packageId:[{required:!0,message:"请选择套餐类型",trigger:"change"}],days:[{required:!0,message:"请填写有效期天数",trigger:"blur"}],count:[{required:!0,message:"请填写想要生成的数量",trigger:"blur"}],drawMjCount:[{required:!0,message:"卡密携带绘画数量",trigger:"blur"}],model3Count:[{required:!0,message:"卡密携带基础模型对话数量",trigger:"blur"}],model4Count:[{required:!0,message:"卡密携带高级模型金额",trigger:"blur"}]}),q=m([]);async function g(){try{v.value=!0;const o=await $.queryAllCrami(p),{rows:l,count:y}=o.data;v.value=!1,P.value=y,q.value=l}catch{v.value=!1}}async function E(o){const l=await xe.queryAllUser({size:30,username:o});O.value=l.data.rows}async function ee(){const o=await $.queryAllPackage({size:100});F.value=o.data.rows}function le(){ee(),k.value=!0}async function te(o){o==null||o.validate(async l=>{l&&(await $.createCrami(d),T({type:"success",message:"生成卡密成功!"}),k.value=!1,g())})}function ae(o){o==null||o.resetFields()}function oe(o){o==null||o.resetFields(),g()}async function ne(o){await $.delCrami({id:o.id}),T({type:"success",message:"删除卡密成功!"}),g()}async function re(o){C.value=o}async function ue(){try{v.value=!0,await $.batchDelCrami({ids:C.value.map(o=>o.id)}),v.value=!1,T({type:"success",message:"删除卡密成功!"}),g()}catch{v.value=!1}}function se(){x.value=!0;const o=C.value.map(l=>`${l.code}<---->${l.packageName||"自定义套餐"}`);Y.value=o}function de(o){return o.join(` `)}function ie(o,l){const y=de(o),S=new Blob([y],{type:"text/plain"}),I=URL.createObjectURL(S),c=document.createElement("a");c.href=I,c.download=`${l}.txt`,document.body.appendChild(c),c.click(),document.body.removeChild(c),setTimeout(()=>URL.revokeObjectURL(I),0)}function me(){const o=C.value.map(l=>`${l.code}<---->${l.packageName||"自定义套餐"}`);ie(o,"卡密信息")}const pe=we(()=>q.value.some(o=>o.email));return ke(()=>{g()}),(o,l)=>{const y=Ue,S=Me,I=ve,c=u("el-option"),R=u("el-select"),f=u("el-form-item"),h=u("el-button"),H=u("el-form"),G=be,i=u("el-table-column"),K=u("el-tag"),ce=u("el-popconfirm"),fe=u("el-table"),_e=u("el-pagination"),J=u("el-row"),ge=u("el-switch"),z=u("el-input"),Q=u("el-dialog"),ye=he("loading");return r(),w("div",null,[t(I,null,{title:a(()=>[ze]),content:a(()=>[Ae]),default:a(()=>[n(C).length?(r(),_(y,{key:0,outline:"",type:"danger",onClick:se},{default:a(()=>[s(" 显示选中卡密 ")]),_:1})):V("",!0),n(C).length?(r(),_(y,{key:1,outline:"",type:"danger",onClick:ue},{default:a(()=>[s(" 批量删除卡密 ")]),_:1})):V("",!0),n(C).length?(r(),_(y,{key:2,outline:"",type:"primary",onClick:me},{default:a(()=>[s(" 批量导出卡密 ")]),_:1})):V("",!0),t(y,{outline:"",type:"success",onClick:le},{default:a(()=>[t(S,{name:"ic:baseline-plus"}),s(" 批量生成卡密 ")]),_:1})]),_:1}),t(G,null,{default:a(()=>[t(H,{ref_key:"formRef",ref:B,inline:!0,model:p},{default:a(()=>[t(f,{label:"用户名称",prop:"useId"},{default:a(()=>[t(R,{modelValue:p.useId,"onUpdate:modelValue":l[0]||(l[0]=e=>p.useId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":E,style:{width:"160px"}},{default:a(()=>[(r(!0),w(A,null,D(n(O),e=>(r(),_(c,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"卡密状态",prop:"status"},{default:a(()=>[t(R,{modelValue:p.status,"onUpdate:modelValue":l[1]||(l[1]=e=>p.status=e),placeholder:"请选择卡密状态",clearable:"",style:{width:"160px"}},{default:a(()=>[(r(!0),w(A,null,D(n($e),e=>(r(),_(c,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,null,{default:a(()=>[t(h,{type:"primary",onClick:g},{default:a(()=>[s(" 查询 ")]),_:1}),t(h,{onClick:l[2]||(l[2]=e=>oe(n(B)))},{default:a(()=>[s(" 重置 ")]),_:1})]),_:1}),De]),_:1},8,["model"])]),_:1}),t(G,{style:{width:"100%"}},{default:a(()=>[Ve((r(),_(fe,{border:"",data:n(q),style:{width:"100%"},size:"large",onSelectionChange:re},{default:a(()=>[t(i,{type:"selection",width:"55"}),t(i,{prop:"code",label:"卡密账号",width:"180"}),t(i,{prop:"packageName",label:"套餐类型",width:"180"},{default:a(e=>[t(K,{type:e.row.packageName?"success":"danger"},{default:a(()=>[s(M(e.row.packageName||"自定义卡密"),1)]),_:2},1032,["type"])]),_:1}),t(i,{prop:"code",label:"卡密状态",width:"180"},{default:a(e=>[t(K,{type:e.row.status?"danger":"success"},{default:a(()=>[s(M(e.row.status?"已使用":"未使用"),1)]),_:2},1032,["type"])]),_:1}),t(i,{prop:"useId",label:"使用人ID",width:"90"}),n(pe)?(r(),_(i,{key:0,prop:"email",label:"使用人邮箱",width:"180"})):V("",!0),t(i,{prop:"model3Count",label:"基础模型额度"}),t(i,{prop:"model4Count",label:"高级模型额度"}),t(i,{prop:"drawMjCount",label:"绘画模型额度"}),t(i,{prop:"days",label:"有效天数"},{default:a(e=>[s(M(e.row.days>0?`${e.row.days}天`:"永久"),1)]),_:1}),t(i,{prop:"createdAt",label:"注册时间",width:"200"},{default:a(e=>[s(M(n(Ie)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(i,{label:"操作"},{default:a(e=>[t(ce,{title:"确认删除此卡密么?",width:"200","icon-color":"red",onConfirm:W=>ne(e.row)},{reference:a(()=>[t(h,{link:"",type:"danger",size:"small"},{default:a(()=>[s(" 删除卡密 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[ye,n(v)]]),t(J,{class:"mt-5 flex justify-end"},{default:a(()=>[t(_e,{"current-page":p.page,"onUpdate:currentPage":l[3]||(l[3]=e=>p.page=e),"page-size":p.size,"onUpdate:pageSize":l[4]||(l[4]=e=>p.size=e),class:"mr-5","page-sizes":[15,50,100,200],layout:"total, sizes, prev, pager, next, jumper",total:n(P),onSizeChange:g,onCurrentChange:g},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(Q,{modelValue:n(k),"onUpdate:modelValue":l[13]||(l[13]=e=>N(k)?k.value=e:null),title:"生成卡密",width:"450",onClose:l[14]||(l[14]=e=>ae(n(j)))},{footer:a(()=>[b("span",qe,[t(h,{onClick:l[11]||(l[11]=e=>k.value=!1)},{default:a(()=>[s("放弃生成")]),_:1}),t(h,{type:"primary",onClick:l[12]||(l[12]=e=>te(n(j)))},{default:a(()=>[s(" 确定生成 ")]),_:1})])]),default:a(()=>[t(H,{ref_key:"formCramiRef",ref:j,"label-position":"right","label-width":"100px",model:d,rules:Z},{default:a(()=>[t(J,null,{default:a(()=>[t(f,{label:"是否生成自定义卡密","label-width":"170px"},{default:a(()=>[t(ge,{modelValue:n(U),"onUpdate:modelValue":l[5]||(l[5]=e=>N(U)?U.value=e:null),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1}),n(U)?V("",!0):(r(),_(f,{key:0,label:"套餐类型",prop:"packageId"},{default:a(()=>[t(R,{modelValue:d.packageId,"onUpdate:modelValue":l[6]||(l[6]=e=>d.packageId=e),modelModifiers:{number:!0},placeholder:"请选择套餐类型",clearable:"",style:{width:"100%"}},{default:a(()=>[(r(!0),w(A,null,D(n(F),e=>(r(),_(c,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})),n(U)?(r(),w("div",je,[t(f,{label:"基础模型额度",prop:"model3Count"},{default:a(()=>[t(z,{modelValue:d.model3Count,"onUpdate:modelValue":l[7]||(l[7]=e=>d.model3Count=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带基础模型额度"},null,8,["modelValue"])]),_:1}),t(f,{label:"高级模型额度",prop:"model4Count"},{default:a(()=>[t(z,{modelValue:d.model4Count,"onUpdate:modelValue":l[8]||(l[8]=e=>d.model4Count=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带高级模型额度"},null,8,["modelValue"])]),_:1}),t(f,{label:"绘画模型额度",prop:"drawMjCount"},{default:a(()=>[t(z,{modelValue:d.drawMjCount,"onUpdate:modelValue":l[9]||(l[9]=e=>d.drawMjCount=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带绘画积分额度"},null,8,["modelValue"])]),_:1})])):V("",!0),t(f,{label:"生成数量",prop:"count"},{default:a(()=>[t(z,{modelValue:d.count,"onUpdate:modelValue":l[10]||(l[10]=e=>d.count=e),modelModifiers:{number:!0},type:"number",placeholder:"本次生成的张数"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"]),t(Q,{modelValue:n(x),"onUpdate:modelValue":l[16]||(l[16]=e=>N(x)?x.value=e:null),title:"卡密列表"},{footer:a(()=>[b("span",Re,[t(h,{onClick:l[15]||(l[15]=e=>x.value=!1)},{default:a(()=>[s("关闭弹窗")]),_:1})])]),default:a(()=>[b("div",Se,[(r(!0),w(A,null,D(n(Y),(e,W)=>(r(),w("div",{key:W},M(e),1))),128))])]),_:1},8,["modelValue"])])}}});typeof X=="function"&&X(Le);export{Le as default}; diff --git a/public/admin/assets/crystal-SjHAIU92.js b/AIWebQuickDeploy/public/admin/assets/crystal-SjHAIU92.js similarity index 100% rename from public/admin/assets/crystal-SjHAIU92.js rename to AIWebQuickDeploy/public/admin/assets/crystal-SjHAIU92.js diff --git a/public/admin/assets/css-BnMrqG3P.js b/AIWebQuickDeploy/public/admin/assets/css-BnMrqG3P.js similarity index 100% rename from public/admin/assets/css-BnMrqG3P.js rename to AIWebQuickDeploy/public/admin/assets/css-BnMrqG3P.js diff --git a/public/admin/assets/custom-B5IO_plt.js b/AIWebQuickDeploy/public/admin/assets/custom-Dw8_cyTN.js similarity index 89% rename from public/admin/assets/custom-B5IO_plt.js rename to AIWebQuickDeploy/public/admin/assets/custom-Dw8_cyTN.js index 00af92a..480f83a 100644 --- a/public/admin/assets/custom-B5IO_plt.js +++ b/AIWebQuickDeploy/public/admin/assets/custom-Dw8_cyTN.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as M,u as O,r as u,m as P,a as G,p as c,q as H,g as s,c as b,b as l,w as t,i as n,T as C,v as I,x as j,F as W,s as N,h as m,y as J,z as f,D as Q,e as X,E as Y,G as R,t as Z,k as S}from"./index-nGFMSQGw.js";import{A as g}from"./badWords-C1vgC_-i.js";import{E as ee}from"./index-BE-LteFu.js";const te=X("div",{class:"flex items-center gap-4"},"自定义敏感词",-1),ae=M({__name:"custom",setup(le){O();const k=u(),T=u(0),p=u(!1),r=P({word:"",status:"",page:1,size:500}),V=u();async function i(){try{p.value=!0;const o=await g.queryBadWords(r),{rows:a,count:v}=o.data;p.value=!1,T.value=v,V.value=a}catch{p.value=!1}}function D(o){o==null||o.resetFields(),i()}G(()=>{i()});const d=u(""),_=u(!1),B=u();async function z(o){await g.delBadWords({id:o}),R.success("删除敏感词成功"),await i()}function A(){_.value=!0,Y(()=>{B.value.input.focus()})}async function h(){d.value&&(await g.addBadWords({word:d.value}),R.success("添加敏感词成功"),r.status="",await i()),_.value=!1,d.value=""}return(o,a)=>{const v=F,w=c("el-form-item"),K=c("el-option"),L=c("el-select"),y=c("el-button"),U=c("el-form"),x=E,$=c("el-tag"),q=H("loading");return s(),b("div",null,[l(v,null,{title:t(()=>[te]),_:1}),l(x,null,{default:t(()=>[l(U,{ref_key:"formRef",ref:k,inline:!0,model:r},{default:t(()=>[l(w,{label:"敏感词",prop:"word"},{default:t(()=>[l(n(C),{modelValue:r.word,"onUpdate:modelValue":a[0]||(a[0]=e=>r.word=e),placeholder:"敏感词[模糊搜索]",onKeydown:I(j(i,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(w,{label:"敏感词状态",prop:"status"},{default:t(()=>[l(L,{modelValue:r.status,"onUpdate:modelValue":a[1]||(a[1]=e=>r.status=e),placeholder:"请选择敏感词状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(s(!0),b(W,null,N(n(ee),e=>(s(),f(K,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(w,null,{default:t(()=>[l(y,{type:"primary",onClick:i},{default:t(()=>[m(" 查询 ")]),_:1}),l(y,{onClick:a[2]||(a[2]=e=>D(n(k)))},{default:t(()=>[m(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),J((s(),f(x,{style:{width:"100%"}},{default:t(()=>[(s(!0),b(W,null,N(n(V),e=>(s(),f($,{key:e.id,type:"warning",class:"mb-3 mr-3",closable:"",hit:"","disable-transitions":!0,onClose:oe=>z(e.id)},{default:t(()=>[m(Z(e.word),1)]),_:2},1032,["onClose"]))),128)),n(_)?(s(),f(n(C),{key:0,ref_key:"InputRef",ref:B,modelValue:n(d),"onUpdate:modelValue":a[3]||(a[3]=e=>Q(d)?d.value=e:null),class:"ml-1",style:{width:"80px"},size:"small",onKeyup:I(h,["enter"]),onBlur:h},null,8,["modelValue"])):(s(),f(y,{key:1,class:"ml-1",size:"small",onClick:A},{default:t(()=>[m(" + New Word ")]),_:1}))]),_:1})),[[q,n(p)]])])}}});typeof S=="function"&&S(ae);export{ae as default}; +import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as M,u as O,r as u,m as P,a as G,p as c,q as H,g as s,c as b,b as l,w as t,i as n,T as C,v as I,x as j,F as W,s as N,h as m,y as J,z as f,D as Q,e as X,E as Y,G as R,t as Z,k as S}from"./index-6QRvoxq4.js";import{A as g}from"./badWords-D2Yy-NCt.js";import{E as ee}from"./index-BE-LteFu.js";const te=X("div",{class:"flex items-center gap-4"},"自定义敏感词",-1),ae=M({__name:"custom",setup(le){O();const k=u(),T=u(0),p=u(!1),r=P({word:"",status:"",page:1,size:500}),V=u();async function i(){try{p.value=!0;const o=await g.queryBadWords(r),{rows:a,count:v}=o.data;p.value=!1,T.value=v,V.value=a}catch{p.value=!1}}function D(o){o==null||o.resetFields(),i()}G(()=>{i()});const d=u(""),_=u(!1),B=u();async function z(o){await g.delBadWords({id:o}),R.success("删除敏感词成功"),await i()}function A(){_.value=!0,Y(()=>{B.value.input.focus()})}async function h(){d.value&&(await g.addBadWords({word:d.value}),R.success("添加敏感词成功"),r.status="",await i()),_.value=!1,d.value=""}return(o,a)=>{const v=F,w=c("el-form-item"),K=c("el-option"),L=c("el-select"),y=c("el-button"),U=c("el-form"),x=E,$=c("el-tag"),q=H("loading");return s(),b("div",null,[l(v,null,{title:t(()=>[te]),_:1}),l(x,null,{default:t(()=>[l(U,{ref_key:"formRef",ref:k,inline:!0,model:r},{default:t(()=>[l(w,{label:"敏感词",prop:"word"},{default:t(()=>[l(n(C),{modelValue:r.word,"onUpdate:modelValue":a[0]||(a[0]=e=>r.word=e),placeholder:"敏感词[模糊搜索]",onKeydown:I(j(i,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(w,{label:"敏感词状态",prop:"status"},{default:t(()=>[l(L,{modelValue:r.status,"onUpdate:modelValue":a[1]||(a[1]=e=>r.status=e),placeholder:"请选择敏感词状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(s(!0),b(W,null,N(n(ee),e=>(s(),f(K,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(w,null,{default:t(()=>[l(y,{type:"primary",onClick:i},{default:t(()=>[m(" 查询 ")]),_:1}),l(y,{onClick:a[2]||(a[2]=e=>D(n(k)))},{default:t(()=>[m(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),J((s(),f(x,{style:{width:"100%"}},{default:t(()=>[(s(!0),b(W,null,N(n(V),e=>(s(),f($,{key:e.id,type:"warning",class:"mb-3 mr-3",closable:"",hit:"","disable-transitions":!0,onClose:oe=>z(e.id)},{default:t(()=>[m(Z(e.word),1)]),_:2},1032,["onClose"]))),128)),n(_)?(s(),f(n(C),{key:0,ref_key:"InputRef",ref:B,modelValue:n(d),"onUpdate:modelValue":a[3]||(a[3]=e=>Q(d)?d.value=e:null),class:"ml-1",style:{width:"80px"},size:"small",onKeyup:I(h,["enter"]),onBlur:h},null,8,["modelValue"])):(s(),f(y,{key:1,class:"ml-1",size:"small",onClick:A},{default:t(()=>[m(" + New Word ")]),_:1}))]),_:1})),[[q,n(p)]])])}}});typeof S=="function"&&S(ae);export{ae as default}; diff --git a/public/admin/assets/cypher-C_CwsFkJ.js b/AIWebQuickDeploy/public/admin/assets/cypher-C_CwsFkJ.js similarity index 100% rename from public/admin/assets/cypher-C_CwsFkJ.js rename to AIWebQuickDeploy/public/admin/assets/cypher-C_CwsFkJ.js diff --git a/public/admin/assets/d-pRatUO7H.js b/AIWebQuickDeploy/public/admin/assets/d-pRatUO7H.js similarity index 100% rename from public/admin/assets/d-pRatUO7H.js rename to AIWebQuickDeploy/public/admin/assets/d-pRatUO7H.js diff --git a/public/admin/assets/diff-DbItnlRl.js b/AIWebQuickDeploy/public/admin/assets/diff-DbItnlRl.js similarity index 100% rename from public/admin/assets/diff-DbItnlRl.js rename to AIWebQuickDeploy/public/admin/assets/diff-DbItnlRl.js diff --git a/public/admin/assets/dockerfile-BuNIbK2j.js b/AIWebQuickDeploy/public/admin/assets/dockerfile-BuNIbK2j.js similarity index 100% rename from public/admin/assets/dockerfile-BuNIbK2j.js rename to AIWebQuickDeploy/public/admin/assets/dockerfile-BuNIbK2j.js diff --git a/public/admin/assets/draw-BqaQv8sQ.css b/AIWebQuickDeploy/public/admin/assets/draw-BqaQv8sQ.css similarity index 100% rename from public/admin/assets/draw-BqaQv8sQ.css rename to AIWebQuickDeploy/public/admin/assets/draw-BqaQv8sQ.css diff --git a/public/admin/assets/draw-VSxgmQtr.js b/AIWebQuickDeploy/public/admin/assets/draw-DfPVf5Nv.js similarity index 94% rename from public/admin/assets/draw-VSxgmQtr.js rename to AIWebQuickDeploy/public/admin/assets/draw-DfPVf5Nv.js index 67b38b5..57f4ba3 100644 --- a/public/admin/assets/draw-VSxgmQtr.js +++ b/AIWebQuickDeploy/public/admin/assets/draw-DfPVf5Nv.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{A as K}from"./chat-DSEzBczd.js";import{d as O,r as d,m as W,a as G,p as o,q as J,g as i,c as g,b as t,w as l,F as V,s as U,i as S,h as c,y as Q,z as w,t as _,e as v,K as X,k as L}from"./index-nGFMSQGw.js";import{D as Z}from"./index-BE-LteFu.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";const ee=v("div",{class:"flex items-center gap-4"},"绘画记录",-1),te={class:"answer"},le={class:"answer_container"},ae=O({__name:"draw",setup(oe){const u=d(!1),b=d(),h=d(0),y=d(),n=W({userId:"",rec:"",model:"",page:1,size:14}),k=d([]);async function p(){u.value=!0;try{const r=await K.queryDrawAll(n),{rows:a,count:m}=r.data;u.value=!1,h.value=m,k.value=a}catch{u.value=!1}}async function q(r){const a=await X.queryAllUser({size:30,username:r});y.value=a.data.rows}function B(r){r==null||r.resetFields(),p()}return G(()=>{p()}),(r,a)=>{const m=H,z=o("el-option"),D=o("el-select"),f=o("el-form-item"),x=o("el-button"),M=o("el-form"),I=P,s=o("el-table-column"),R=o("el-image"),T=o("el-tag"),Y=o("el-popover"),F=o("el-table"),N=o("el-pagination"),$=o("el-row"),j=J("loading");return i(),g("div",null,[t(m,null,{title:l(()=>[ee]),_:1}),t(I,null,{default:l(()=>[t(M,{ref_key:"formRef",ref:b,inline:!0,model:n},{default:l(()=>[t(f,{label:"用户名称",prop:"userId"},{default:l(()=>[t(D,{modelValue:n.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":q,style:{width:"160px"}},{default:l(()=>[(i(!0),g(V,null,U(y.value,e=>(i(),w(z,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"绘画模型",prop:"model"},{default:l(()=>[t(D,{modelValue:n.model,"onUpdate:modelValue":a[1]||(a[1]=e=>n.model=e),placeholder:"请选择绘画模型",clearable:"",style:{width:"160px"}},{default:l(()=>[(i(!0),g(V,null,U(S(Z),e=>(i(),w(z,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,null,{default:l(()=>[t(x,{type:"primary",onClick:p},{default:l(()=>[c(" 查询 ")]),_:1}),t(x,{onClick:a[2]||(a[2]=e=>B(b.value))},{default:l(()=>[c(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(I,{style:{width:"100%"}},{default:l(()=>[Q((i(),w(F,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:l(()=>[t(s,{prop:"id",align:"center",label:"ID",width:"70"}),t(s,{prop:"userInfo.username",align:"center",label:"用户名",width:"120"}),t(s,{prop:"userInfo.email",align:"center",label:"用户邮箱",width:"200"}),t(s,{prop:"drawUrl",align:"center",label:"绘图结果",width:"200"},{default:l(e=>{var A,C;return[t(R,{style:{height:"50px"},"preview-teleported":"",fit:"contain","preview-src-list":[(A=e.row)==null?void 0:A.fileInfo],src:(C=e.row)==null?void 0:C.fileInfo,lazy:"","hide-on-click-modal":""},null,8,["preview-src-list","src"])]}),_:1}),t(s,{prop:"model",label:"种类",width:"180",align:"center"},{default:l(e=>[t(T,{type:"success"},{default:l(()=>[c(_(e.row.model),1)]),_:2},1024)]),_:1}),t(s,{prop:"prompt",label:"绘图指令",align:"center",width:"250"},{default:l(e=>[t(Y,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[v("div",te,_(e.row.prompt),1)]),default:l(()=>[v("div",le,_(e.row.prompt),1)]),_:2},1024)]),_:1}),t(s,{prop:"progress",align:"center",label:"绘图进度",width:"90"}),t(s,{prop:"createdAt",label:"绘图时间",align:"center",width:"200"},{default:l(e=>[c(_(S(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[j,u.value]]),t($,{class:"mt-5 flex justify-end"},{default:l(()=>[t(N,{"current-page":n.page,"onUpdate:currentPage":a[3]||(a[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":a[4]||(a[4]=e=>n.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:h.value,onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof L=="function"&&L(ae);export{ae as default}; +import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{A as K}from"./chat-Cul6apvD.js";import{d as O,r as d,m as W,a as G,p as o,q as J,g as i,c as g,b as t,w as l,F as V,s as U,i as S,h as c,y as Q,z as w,t as _,e as v,K as X,k as L}from"./index-6QRvoxq4.js";import{D as Z}from"./index-BE-LteFu.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";const ee=v("div",{class:"flex items-center gap-4"},"绘画记录",-1),te={class:"answer"},le={class:"answer_container"},ae=O({__name:"draw",setup(oe){const u=d(!1),b=d(),h=d(0),y=d(),n=W({userId:"",rec:"",model:"",page:1,size:14}),k=d([]);async function p(){u.value=!0;try{const r=await K.queryDrawAll(n),{rows:a,count:m}=r.data;u.value=!1,h.value=m,k.value=a}catch{u.value=!1}}async function q(r){const a=await X.queryAllUser({size:30,username:r});y.value=a.data.rows}function B(r){r==null||r.resetFields(),p()}return G(()=>{p()}),(r,a)=>{const m=H,z=o("el-option"),D=o("el-select"),f=o("el-form-item"),x=o("el-button"),M=o("el-form"),I=P,s=o("el-table-column"),R=o("el-image"),T=o("el-tag"),Y=o("el-popover"),F=o("el-table"),N=o("el-pagination"),$=o("el-row"),j=J("loading");return i(),g("div",null,[t(m,null,{title:l(()=>[ee]),_:1}),t(I,null,{default:l(()=>[t(M,{ref_key:"formRef",ref:b,inline:!0,model:n},{default:l(()=>[t(f,{label:"用户名称",prop:"userId"},{default:l(()=>[t(D,{modelValue:n.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":q,style:{width:"160px"}},{default:l(()=>[(i(!0),g(V,null,U(y.value,e=>(i(),w(z,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"绘画模型",prop:"model"},{default:l(()=>[t(D,{modelValue:n.model,"onUpdate:modelValue":a[1]||(a[1]=e=>n.model=e),placeholder:"请选择绘画模型",clearable:"",style:{width:"160px"}},{default:l(()=>[(i(!0),g(V,null,U(S(Z),e=>(i(),w(z,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,null,{default:l(()=>[t(x,{type:"primary",onClick:p},{default:l(()=>[c(" 查询 ")]),_:1}),t(x,{onClick:a[2]||(a[2]=e=>B(b.value))},{default:l(()=>[c(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(I,{style:{width:"100%"}},{default:l(()=>[Q((i(),w(F,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:l(()=>[t(s,{prop:"id",align:"center",label:"ID",width:"70"}),t(s,{prop:"userInfo.username",align:"center",label:"用户名",width:"120"}),t(s,{prop:"userInfo.email",align:"center",label:"用户邮箱",width:"200"}),t(s,{prop:"drawUrl",align:"center",label:"绘图结果",width:"200"},{default:l(e=>{var A,C;return[t(R,{style:{height:"50px"},"preview-teleported":"",fit:"contain","preview-src-list":[(A=e.row)==null?void 0:A.fileInfo],src:(C=e.row)==null?void 0:C.fileInfo,lazy:"","hide-on-click-modal":""},null,8,["preview-src-list","src"])]}),_:1}),t(s,{prop:"model",label:"种类",width:"180",align:"center"},{default:l(e=>[t(T,{type:"success"},{default:l(()=>[c(_(e.row.model),1)]),_:2},1024)]),_:1}),t(s,{prop:"prompt",label:"绘图指令",align:"center",width:"250"},{default:l(e=>[t(Y,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[v("div",te,_(e.row.prompt),1)]),default:l(()=>[v("div",le,_(e.row.prompt),1)]),_:2},1024)]),_:1}),t(s,{prop:"progress",align:"center",label:"绘图进度",width:"90"}),t(s,{prop:"createdAt",label:"绘图时间",align:"center",width:"200"},{default:l(e=>[c(_(S(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[j,u.value]]),t($,{class:"mt-5 flex justify-end"},{default:l(()=>[t(N,{"current-page":n.page,"onUpdate:currentPage":a[3]||(a[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":a[4]||(a[4]=e=>n.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:h.value,onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof L=="function"&&L(ae);export{ae as default}; diff --git a/public/admin/assets/dtd-DF_7sFjM.js b/AIWebQuickDeploy/public/admin/assets/dtd-DF_7sFjM.js similarity index 100% rename from public/admin/assets/dtd-DF_7sFjM.js rename to AIWebQuickDeploy/public/admin/assets/dtd-DF_7sFjM.js diff --git a/public/admin/assets/dylan-DwRh75JA.js b/AIWebQuickDeploy/public/admin/assets/dylan-DwRh75JA.js similarity index 100% rename from public/admin/assets/dylan-DwRh75JA.js rename to AIWebQuickDeploy/public/admin/assets/dylan-DwRh75JA.js diff --git a/public/admin/assets/ebnf-CDyGwa7X.js b/AIWebQuickDeploy/public/admin/assets/ebnf-CDyGwa7X.js similarity index 100% rename from public/admin/assets/ebnf-CDyGwa7X.js rename to AIWebQuickDeploy/public/admin/assets/ebnf-CDyGwa7X.js diff --git a/public/admin/assets/ecl-Cabwm37j.js b/AIWebQuickDeploy/public/admin/assets/ecl-Cabwm37j.js similarity index 100% rename from public/admin/assets/ecl-Cabwm37j.js rename to AIWebQuickDeploy/public/admin/assets/ecl-Cabwm37j.js diff --git a/public/admin/assets/edit-C7lymP1E.css b/AIWebQuickDeploy/public/admin/assets/edit-C7lymP1E.css similarity index 100% rename from public/admin/assets/edit-C7lymP1E.css rename to AIWebQuickDeploy/public/admin/assets/edit-C7lymP1E.css diff --git a/public/admin/assets/edit.password-C_LVx17b.js b/AIWebQuickDeploy/public/admin/assets/edit.password-5Br-3lH_.js similarity index 92% rename from public/admin/assets/edit.password-C_LVx17b.js rename to AIWebQuickDeploy/public/admin/assets/edit.password-5Br-3lH_.js index 111fdd2..922716c 100644 --- a/public/admin/assets/edit.password-C_LVx17b.js +++ b/AIWebQuickDeploy/public/admin/assets/edit.password-5Br-3lH_.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as b,r as i,a as z,O as B,g as v,c as x,P as M,Q as R,i as n,l as T,N as $,f as L,L as N,p as l,b as e,w as t,h as g,K as A,G as F,k as h}from"./index-nGFMSQGw.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{u as K}from"./useMainPage-C9MASyfo.js";const O=b({name:"FixedActionBar",__name:"index",setup(y){const p=i(!1);z(()=>{d(),window.addEventListener("scroll",d)}),B(()=>{window.removeEventListener("scroll",d)});function d(){const u=document.documentElement.scrollTop||document.body.scrollTop,r=document.documentElement.clientHeight||document.body.clientHeight,o=document.documentElement.scrollHeight||document.body.scrollHeight;p.value=Math.ceil(u+r)>=o}return(u,r)=>(v(),x("div",{class:R(["fixed-action-bar bottom-0 z-4 bg-[var(--g-container-bg)] p-5 text-center transition",{shadow:!n(p)}]),"data-fixed-calc-width":""},[M(u.$slots,"default",{},void 0,!0)],2))}}),Q=T(O,[["__scopeId","data-v-9af45002"]]),j=b({__name:"edit.password",setup(y){const p=$(),d=L(),u=N(),r=i(),o=i({password:"",newpassword:"",checkpassword:""}),k=K(),V=i({password:[{required:!0,message:"请输入原密码",trigger:"blur"}],newpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}],checkpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{validator:(m,s,a)=>{s!==o.value.newpassword?a(new Error("两次密码不一致!")):a()}}]});function E(){r.value&&r.value.validate(m=>{if(m){const{password:s,newpassword:a}=o.value;A.passwordEdit({oldPassword:s,password:a}).then(()=>{F({type:"success",message:"修改密码成功,请重新登录"}),u.logout().then(()=>{d.push({name:"login",query:{redirect:p.fullPath}})})})}})}function C(){k.reload()}return(m,s)=>{const a=I,_=l("el-input"),w=l("el-form-item"),H=l("el-form"),U=l("el-col"),P=l("el-row"),S=G,f=l("el-button"),q=Q;return v(),x("div",null,[e(a,{title:"修改密码",content:"定期修改密码可以提高帐号安全性噢~"}),e(S,null,{default:t(()=>[e(P,null,{default:t(()=>[e(U,{md:24,lg:12},{default:t(()=>[e(H,{ref_key:"formRef",ref:r,model:n(o),rules:n(V),"label-width":"120px"},{default:t(()=>[e(w,{label:"原密码",prop:"password"},{default:t(()=>[e(_,{modelValue:n(o).password,"onUpdate:modelValue":s[0]||(s[0]=c=>n(o).password=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(w,{label:"新密码",prop:"newpassword"},{default:t(()=>[e(_,{modelValue:n(o).newpassword,"onUpdate:modelValue":s[1]||(s[1]=c=>n(o).newpassword=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(w,{label:"确认新密码",prop:"checkpassword"},{default:t(()=>[e(_,{modelValue:n(o).checkpassword,"onUpdate:modelValue":s[2]||(s[2]=c=>n(o).checkpassword=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1})]),_:1})]),_:1}),e(q,null,{default:t(()=>[e(f,{type:"primary",size:"large",onClick:E},{default:t(()=>[g(" 提交 ")]),_:1}),e(f,{type:"default",size:"large",onClick:C},{default:t(()=>[g(" 取消 ")]),_:1})]),_:1})])}}});typeof h=="function"&&h(j);export{j as default}; +import{d as b,r as i,a as z,O as B,g as v,c as x,P as M,Q as R,i as n,l as T,N as $,f as L,L as N,p as l,b as e,w as t,h as g,K as A,G as F,k as h}from"./index-6QRvoxq4.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{u as K}from"./useMainPage--yVtHxDh.js";const O=b({name:"FixedActionBar",__name:"index",setup(y){const p=i(!1);z(()=>{d(),window.addEventListener("scroll",d)}),B(()=>{window.removeEventListener("scroll",d)});function d(){const u=document.documentElement.scrollTop||document.body.scrollTop,r=document.documentElement.clientHeight||document.body.clientHeight,o=document.documentElement.scrollHeight||document.body.scrollHeight;p.value=Math.ceil(u+r)>=o}return(u,r)=>(v(),x("div",{class:R(["fixed-action-bar bottom-0 z-4 bg-[var(--g-container-bg)] p-5 text-center transition",{shadow:!n(p)}]),"data-fixed-calc-width":""},[M(u.$slots,"default",{},void 0,!0)],2))}}),Q=T(O,[["__scopeId","data-v-9af45002"]]),j=b({__name:"edit.password",setup(y){const p=$(),d=L(),u=N(),r=i(),o=i({password:"",newpassword:"",checkpassword:""}),k=K(),V=i({password:[{required:!0,message:"请输入原密码",trigger:"blur"}],newpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}],checkpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{validator:(m,s,a)=>{s!==o.value.newpassword?a(new Error("两次密码不一致!")):a()}}]});function E(){r.value&&r.value.validate(m=>{if(m){const{password:s,newpassword:a}=o.value;A.passwordEdit({oldPassword:s,password:a}).then(()=>{F({type:"success",message:"修改密码成功,请重新登录"}),u.logout().then(()=>{d.push({name:"login",query:{redirect:p.fullPath}})})})}})}function C(){k.reload()}return(m,s)=>{const a=I,_=l("el-input"),w=l("el-form-item"),H=l("el-form"),U=l("el-col"),P=l("el-row"),S=G,f=l("el-button"),q=Q;return v(),x("div",null,[e(a,{title:"修改密码",content:"定期修改密码可以提高帐号安全性噢~"}),e(S,null,{default:t(()=>[e(P,null,{default:t(()=>[e(U,{md:24,lg:12},{default:t(()=>[e(H,{ref_key:"formRef",ref:r,model:n(o),rules:n(V),"label-width":"120px"},{default:t(()=>[e(w,{label:"原密码",prop:"password"},{default:t(()=>[e(_,{modelValue:n(o).password,"onUpdate:modelValue":s[0]||(s[0]=c=>n(o).password=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(w,{label:"新密码",prop:"newpassword"},{default:t(()=>[e(_,{modelValue:n(o).newpassword,"onUpdate:modelValue":s[1]||(s[1]=c=>n(o).newpassword=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(w,{label:"确认新密码",prop:"checkpassword"},{default:t(()=>[e(_,{modelValue:n(o).checkpassword,"onUpdate:modelValue":s[2]||(s[2]=c=>n(o).checkpassword=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1})]),_:1})]),_:1}),e(q,null,{default:t(()=>[e(f,{type:"primary",size:"large",onClick:E},{default:t(()=>[g(" 提交 ")]),_:1}),e(f,{type:"default",size:"large",onClick:C},{default:t(()=>[g(" 取消 ")]),_:1})]),_:1})])}}});typeof h=="function"&&h(j);export{j as default}; diff --git a/public/admin/assets/eiffel-CnydiIhH.js b/AIWebQuickDeploy/public/admin/assets/eiffel-CnydiIhH.js similarity index 100% rename from public/admin/assets/eiffel-CnydiIhH.js rename to AIWebQuickDeploy/public/admin/assets/eiffel-CnydiIhH.js diff --git a/public/admin/assets/elm-vLlmbW-K.js b/AIWebQuickDeploy/public/admin/assets/elm-vLlmbW-K.js similarity index 100% rename from public/admin/assets/elm-vLlmbW-K.js rename to AIWebQuickDeploy/public/admin/assets/elm-vLlmbW-K.js diff --git a/public/admin/assets/email-B1yejiIN.js b/AIWebQuickDeploy/public/admin/assets/email-Bu_bNWMh.js similarity index 97% rename from public/admin/assets/email-B1yejiIN.js rename to AIWebQuickDeploy/public/admin/assets/email-Bu_bNWMh.js index eb90716..430d730 100644 --- a/public/admin/assets/email-B1yejiIN.js +++ b/AIWebQuickDeploy/public/admin/assets/email-Bu_bNWMh.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as y,m as C,r as S,a as O,p as n,g as w,c as k,b as e,w as l,h as E,e as _,G as g,j as H,_ as q,k as M}from"./index-nGFMSQGw.js";import{a as L}from"./config-CYXO1pNF.js";const h=_("div",{class:"flex items-center gap-4"},"邮件登录设置",-1),B=_("div",{class:"text-sm/6"},[_("div",null,"邮件设置主要用于发送注册时的激活邮件。"),_("div",null,"是否开启邮箱登录:决定用户是否可以通过邮箱进行登录。"),_("div",null,"是否开启邮箱注册:决定用户是否可以通过邮箱进行注册。"),_("div",null,"SMTP服务器配置,用于发送邮件的 SMTP 相关配置,需自行测试。")],-1),j=y({__name:"email",setup(N){const o=C({noVerifyRegister:"",emailLoginStatus:"",MAILER_HOST:"",MAILER_PORT:"",MAILER_USER:"",MAILER_PASS:"",MAILER_SECURE:""}),A=S({MAILER_HOST:[{required:!0,trigger:"blur",message:"请填写SMTP服务器地址"}],MAILER_PORT:[{required:!0,trigger:"blur",message:"请填写SMTP服务器端口"}],MAILER_USER:[{required:!0,trigger:"blur",message:"请填写SMTP用户名称"}],MAILER_PASS:[{required:!0,trigger:"blur",message:"请填写SMTP用户密码"}],MAILER_SECURE:[{required:!0,trigger:"blur",message:"是否使用SSL"}]}),m=S();async function f(){const r=await L.queryConfig({keys:["noVerifyRegister","emailLoginStatus","MAILER_HOST","MAILER_PORT","MAILER_USER","MAILER_PASS","MAILER_SECURE"]});Object.assign(o,r.data)}function I(){var r;(r=m.value)==null||r.validate(async t=>{if(t){try{await L.setConfig({settings:V(o)}),g.success("变更配置信息成功")}catch{}f()}else g.error("请填写完整信息")})}function V(r){return Object.keys(r).map(t=>({configKey:t,configVal:r[t]}))}return O(()=>{f()}),(r,t)=>{const c=H,x=q,b=U,p=n("el-switch"),R=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),d=n("el-row"),i=n("el-input"),P=n("el-checkbox"),T=n("el-form"),v=n("el-card");return w(),k("div",null,[e(b,null,{title:l(()=>[h]),content:l(()=>[B]),default:l(()=>[e(x,{text:"",outline:"",onClick:I},{default:l(()=>[e(c,{name:"i-ri:file-text-line"}),E(" 保存设置 ")]),_:1})]),_:1}),e(v,{style:{margin:"20px"}},{default:l(()=>[e(T,{ref_key:"formRef",ref:m,rules:A.value,model:o,"label-width":"190px"},{default:l(()=>[e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启邮箱注册/登录",prop:"emailLoginStatus"},{default:l(()=>[e(R,{class:"box-item",effect:"dark",content:"如您启用当前邮箱登录、则用户端可以通过邮箱登录!",placement:"right"},{default:l(()=>[e(p,{modelValue:o.emailLoginStatus,"onUpdate:modelValue":t[0]||(t[0]=a=>o.emailLoginStatus=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"关闭注册验证",prop:"noVerifyRegister"},{default:l(()=>[e(R,{class:"box-item",effect:"dark",content:"打开即为关闭注册校验、注册将直接成功、请谨慎开启!",placement:"right"},{default:l(()=>[e(p,{modelValue:o.noVerifyRegister,"onUpdate:modelValue":t[1]||(t[1]=a=>o.noVerifyRegister=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP服务器地址",prop:"MAILER_HOST"},{default:l(()=>[e(i,{modelValue:o.MAILER_HOST,"onUpdate:modelValue":t[2]||(t[2]=a=>o.MAILER_HOST=a),placeholder:"示例: smtp.example.com",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP服务器端口",prop:"MAILER_PORT"},{default:l(()=>[e(i,{modelValue:o.MAILER_PORT,"onUpdate:modelValue":t[3]||(t[3]=a=>o.MAILER_PORT=a),placeholder:"示例: 465",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP用户名称",prop:"MAILER_USER"},{default:l(()=>[e(i,{modelValue:o.MAILER_USER,"onUpdate:modelValue":t[4]||(t[4]=a=>o.MAILER_USER=a),placeholder:"SMTP认证用户名",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP用户密码",prop:"MAILER_PASS"},{default:l(()=>[e(i,{modelValue:o.MAILER_PASS,"onUpdate:modelValue":t[5]||(t[5]=a=>o.MAILER_PASS=a),placeholder:"SMTP认证密码",type:"password","show-password":"",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邮箱SSL配置",prop:"MAILER_SECURE"},{default:l(()=>[e(P,{modelValue:o.MAILER_SECURE,"onUpdate:modelValue":t[6]||(t[6]=a=>o.MAILER_SECURE=a),"true-label":"1","false-label":"0"},{default:l(()=>[E(" 启用SSL ")]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof M=="function"&&M(j);export{j as default}; +import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as y,m as C,r as S,a as O,p as n,g as w,c as k,b as e,w as l,h as E,e as _,G as g,j as H,_ as q,k as M}from"./index-6QRvoxq4.js";import{a as L}from"./config-DBls5jtO.js";const h=_("div",{class:"flex items-center gap-4"},"邮件登录设置",-1),B=_("div",{class:"text-sm/6"},[_("div",null,"邮件设置主要用于发送注册时的激活邮件。"),_("div",null,"是否开启邮箱登录:决定用户是否可以通过邮箱进行登录。"),_("div",null,"是否开启邮箱注册:决定用户是否可以通过邮箱进行注册。"),_("div",null,"SMTP服务器配置,用于发送邮件的 SMTP 相关配置,需自行测试。")],-1),j=y({__name:"email",setup(N){const o=C({noVerifyRegister:"",emailLoginStatus:"",MAILER_HOST:"",MAILER_PORT:"",MAILER_USER:"",MAILER_PASS:"",MAILER_SECURE:""}),A=S({MAILER_HOST:[{required:!0,trigger:"blur",message:"请填写SMTP服务器地址"}],MAILER_PORT:[{required:!0,trigger:"blur",message:"请填写SMTP服务器端口"}],MAILER_USER:[{required:!0,trigger:"blur",message:"请填写SMTP用户名称"}],MAILER_PASS:[{required:!0,trigger:"blur",message:"请填写SMTP用户密码"}],MAILER_SECURE:[{required:!0,trigger:"blur",message:"是否使用SSL"}]}),m=S();async function f(){const r=await L.queryConfig({keys:["noVerifyRegister","emailLoginStatus","MAILER_HOST","MAILER_PORT","MAILER_USER","MAILER_PASS","MAILER_SECURE"]});Object.assign(o,r.data)}function I(){var r;(r=m.value)==null||r.validate(async t=>{if(t){try{await L.setConfig({settings:V(o)}),g.success("变更配置信息成功")}catch{}f()}else g.error("请填写完整信息")})}function V(r){return Object.keys(r).map(t=>({configKey:t,configVal:r[t]}))}return O(()=>{f()}),(r,t)=>{const c=H,x=q,b=U,p=n("el-switch"),R=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),d=n("el-row"),i=n("el-input"),P=n("el-checkbox"),T=n("el-form"),v=n("el-card");return w(),k("div",null,[e(b,null,{title:l(()=>[h]),content:l(()=>[B]),default:l(()=>[e(x,{text:"",outline:"",onClick:I},{default:l(()=>[e(c,{name:"i-ri:file-text-line"}),E(" 保存设置 ")]),_:1})]),_:1}),e(v,{style:{margin:"20px"}},{default:l(()=>[e(T,{ref_key:"formRef",ref:m,rules:A.value,model:o,"label-width":"190px"},{default:l(()=>[e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启邮箱注册/登录",prop:"emailLoginStatus"},{default:l(()=>[e(R,{class:"box-item",effect:"dark",content:"如您启用当前邮箱登录、则用户端可以通过邮箱登录!",placement:"right"},{default:l(()=>[e(p,{modelValue:o.emailLoginStatus,"onUpdate:modelValue":t[0]||(t[0]=a=>o.emailLoginStatus=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"关闭注册验证",prop:"noVerifyRegister"},{default:l(()=>[e(R,{class:"box-item",effect:"dark",content:"打开即为关闭注册校验、注册将直接成功、请谨慎开启!",placement:"right"},{default:l(()=>[e(p,{modelValue:o.noVerifyRegister,"onUpdate:modelValue":t[1]||(t[1]=a=>o.noVerifyRegister=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP服务器地址",prop:"MAILER_HOST"},{default:l(()=>[e(i,{modelValue:o.MAILER_HOST,"onUpdate:modelValue":t[2]||(t[2]=a=>o.MAILER_HOST=a),placeholder:"示例: smtp.example.com",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP服务器端口",prop:"MAILER_PORT"},{default:l(()=>[e(i,{modelValue:o.MAILER_PORT,"onUpdate:modelValue":t[3]||(t[3]=a=>o.MAILER_PORT=a),placeholder:"示例: 465",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP用户名称",prop:"MAILER_USER"},{default:l(()=>[e(i,{modelValue:o.MAILER_USER,"onUpdate:modelValue":t[4]||(t[4]=a=>o.MAILER_USER=a),placeholder:"SMTP认证用户名",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP用户密码",prop:"MAILER_PASS"},{default:l(()=>[e(i,{modelValue:o.MAILER_PASS,"onUpdate:modelValue":t[5]||(t[5]=a=>o.MAILER_PASS=a),placeholder:"SMTP认证密码",type:"password","show-password":"",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邮箱SSL配置",prop:"MAILER_SECURE"},{default:l(()=>[e(P,{modelValue:o.MAILER_SECURE,"onUpdate:modelValue":t[6]||(t[6]=a=>o.MAILER_SECURE=a),"true-label":"1","false-label":"0"},{default:l(()=>[E(" 启用SSL ")]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof M=="function"&&M(j);export{j as default}; diff --git a/public/admin/assets/epay-BFYo5Oti.js b/AIWebQuickDeploy/public/admin/assets/epay-ClyHoC23.js similarity index 96% rename from public/admin/assets/epay-BFYo5Oti.js rename to AIWebQuickDeploy/public/admin/assets/epay-ClyHoC23.js index d108484..410be51 100644 --- a/public/admin/assets/epay-BFYo5Oti.js +++ b/AIWebQuickDeploy/public/admin/assets/epay-ClyHoC23.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as D,m as O,r as E,a as j,p as n,g,c as b,b as e,w as a,h as x,F as L,s as M,e as i,G as U,j as $,_ as F,t as H,k as V}from"./index-nGFMSQGw.js";import{a as v}from"./config-CYXO1pNF.js";const J=i("div",{class:"flex items-center gap-4"},"易支付设置",-1),z=i("div",{class:"text-sm/6"},[i("div",null,"通用易支付渠道,请按文档配置即可。"),i("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),G=D({__name:"epay",setup(K){const t=O({payEpayStatus:"",payEpayPid:"",payEpaySecret:"",payEpayNotifyUrl:"",payEpayReturnUrl:"",payEpayApiPayUrl:"",payEpayApiQueryUrl:"",payEpayRedirect:"",payEpayChannel:[]}),P=E({payEpayStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payEpaySecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payEpayPid:[{required:!0,trigger:"blur",message:"请填写商户PID"}],payEpayNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payEpayApiPayUrl:[{required:!0,trigger:"blur",message:"请填写平台支付API请求地址"}],payEpayApiQueryUrl:[{required:!0,trigger:"blur",message:"请填写平台API商户查询地址"}]}),s=E(),C=[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}];async function m(){const o=await v.queryConfig({keys:["payEpaySecret","payEpayNotifyUrl","payEpayReturnUrl","payEpayPid","payEpayStatus","payEpayApiPayUrl","payEpayApiQueryUrl","payEpayRedirect","payEpayChannel"]}),l=o.data.payEpayChannel?JSON.parse(o.data.payEpayChannel):[];Object.assign(t,o.data,{payEpayChannel:l})}function S(){var o;(o=s.value)==null||o.validate(async l=>{if(l){try{await v.setConfig({settings:A(t)}),U.success("变更配置信息成功")}catch{}m()}else U.error("请填写完整信息")})}function h(o,l){if(["payEpayChannel"].includes(o)){if(!l)return[];if(l)return JSON.stringify(l)}else return l}function A(o){return Object.keys(o).map(l=>({configKey:l,configVal:h(l,o[l])}))}return j(()=>{m()}),(o,l)=>{const c=$,k=F,w=B,f=n("el-switch"),r=n("el-form-item"),u=n("el-col"),y=n("el-row"),d=n("el-input"),_=n("el-divider"),R=n("el-tooltip"),N=n("el-checkbox"),q=n("el-checkbox-group"),I=n("el-form"),Q=n("el-card");return g(),b("div",null,[e(w,null,{title:a(()=>[J]),content:a(()=>[z]),default:a(()=>[e(k,{outline:"",onClick:S},{default:a(()=>[e(c,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(Q,{style:{margin:"20px"}},{default:a(()=>[e(I,{ref_key:"formRef",ref:s,rules:P.value,model:t,"label-width":"120px"},{default:a(()=>[e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"启用当前支付",prop:"payEpayPid"},{default:a(()=>[e(f,{modelValue:t.payEpayStatus,"onUpdate:modelValue":l[0]||(l[0]=p=>t.payEpayStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户PID",prop:"payEpayPid"},{default:a(()=>[e(d,{modelValue:t.payEpayPid,"onUpdate:modelValue":l[1]||(l[1]=p=>t.payEpayPid=p),placeholder:"请填写商户PID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户秘钥",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpaySecret,"onUpdate:modelValue":l[2]||(l[2]=p=>t.payEpaySecret=p),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付通知地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=p=>t.payEpayNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付回调地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=p=>t.payEpayReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付请求地址",prop:"payEpayApiPayUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiPayUrl,"onUpdate:modelValue":l[5]||(l[5]=p=>t.payEpayApiPayUrl=p),placeholder:"请填写平台支付请求地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户查询地址",prop:"payEpayApiQueryUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiQueryUrl,"onUpdate:modelValue":l[6]||(l[6]=p=>t.payEpayApiQueryUrl=p),placeholder:"请填写平台查询商户地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"是否开启跳转支付",prop:"payEpayRedirect","label-width":"130px"},{default:a(()=>[e(R,{class:"box-item",effect:"dark",content:"请注意、仅mapi支持不跳转支付、其他都需要为跳转支付、不开启跳转支付表示购买页面显示二维码直接扫码购买、跳转支付表示前往新页面!",placement:"right"},{default:a(()=>[e(f,{modelValue:t.payEpayRedirect,"onUpdate:modelValue":l[7]||(l[7]=p=>t.payEpayRedirect=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(r,{label:"开启支付渠道",prop:"payEpayChannel"},{default:a(()=>[e(q,{modelValue:t.payEpayChannel,"onUpdate:modelValue":l[8]||(l[8]=p=>t.payEpayChannel=p),size:"small"},{default:a(()=>[(g(),b(L,null,M(C,p=>e(N,{key:p.value,border:"",label:p.value},{default:a(()=>[x(H(p.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof V=="function"&&V(G);export{G as default}; +import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as D,m as O,r as E,a as j,p as n,g,c as b,b as e,w as a,h as x,F as L,s as M,e as i,G as U,j as $,_ as F,t as H,k as V}from"./index-6QRvoxq4.js";import{a as v}from"./config-DBls5jtO.js";const J=i("div",{class:"flex items-center gap-4"},"易支付设置",-1),z=i("div",{class:"text-sm/6"},[i("div",null,"通用易支付渠道,请按文档配置即可。"),i("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),G=D({__name:"epay",setup(K){const t=O({payEpayStatus:"",payEpayPid:"",payEpaySecret:"",payEpayNotifyUrl:"",payEpayReturnUrl:"",payEpayApiPayUrl:"",payEpayApiQueryUrl:"",payEpayRedirect:"",payEpayChannel:[]}),P=E({payEpayStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payEpaySecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payEpayPid:[{required:!0,trigger:"blur",message:"请填写商户PID"}],payEpayNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payEpayApiPayUrl:[{required:!0,trigger:"blur",message:"请填写平台支付API请求地址"}],payEpayApiQueryUrl:[{required:!0,trigger:"blur",message:"请填写平台API商户查询地址"}]}),s=E(),C=[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}];async function m(){const o=await v.queryConfig({keys:["payEpaySecret","payEpayNotifyUrl","payEpayReturnUrl","payEpayPid","payEpayStatus","payEpayApiPayUrl","payEpayApiQueryUrl","payEpayRedirect","payEpayChannel"]}),l=o.data.payEpayChannel?JSON.parse(o.data.payEpayChannel):[];Object.assign(t,o.data,{payEpayChannel:l})}function S(){var o;(o=s.value)==null||o.validate(async l=>{if(l){try{await v.setConfig({settings:A(t)}),U.success("变更配置信息成功")}catch{}m()}else U.error("请填写完整信息")})}function h(o,l){if(["payEpayChannel"].includes(o)){if(!l)return[];if(l)return JSON.stringify(l)}else return l}function A(o){return Object.keys(o).map(l=>({configKey:l,configVal:h(l,o[l])}))}return j(()=>{m()}),(o,l)=>{const c=$,k=F,w=B,f=n("el-switch"),r=n("el-form-item"),u=n("el-col"),y=n("el-row"),d=n("el-input"),_=n("el-divider"),R=n("el-tooltip"),N=n("el-checkbox"),q=n("el-checkbox-group"),I=n("el-form"),Q=n("el-card");return g(),b("div",null,[e(w,null,{title:a(()=>[J]),content:a(()=>[z]),default:a(()=>[e(k,{outline:"",onClick:S},{default:a(()=>[e(c,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(Q,{style:{margin:"20px"}},{default:a(()=>[e(I,{ref_key:"formRef",ref:s,rules:P.value,model:t,"label-width":"120px"},{default:a(()=>[e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"启用当前支付",prop:"payEpayPid"},{default:a(()=>[e(f,{modelValue:t.payEpayStatus,"onUpdate:modelValue":l[0]||(l[0]=p=>t.payEpayStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户PID",prop:"payEpayPid"},{default:a(()=>[e(d,{modelValue:t.payEpayPid,"onUpdate:modelValue":l[1]||(l[1]=p=>t.payEpayPid=p),placeholder:"请填写商户PID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户秘钥",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpaySecret,"onUpdate:modelValue":l[2]||(l[2]=p=>t.payEpaySecret=p),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付通知地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=p=>t.payEpayNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付回调地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=p=>t.payEpayReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付请求地址",prop:"payEpayApiPayUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiPayUrl,"onUpdate:modelValue":l[5]||(l[5]=p=>t.payEpayApiPayUrl=p),placeholder:"请填写平台支付请求地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户查询地址",prop:"payEpayApiQueryUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiQueryUrl,"onUpdate:modelValue":l[6]||(l[6]=p=>t.payEpayApiQueryUrl=p),placeholder:"请填写平台查询商户地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"是否开启跳转支付",prop:"payEpayRedirect","label-width":"130px"},{default:a(()=>[e(R,{class:"box-item",effect:"dark",content:"请注意、仅mapi支持不跳转支付、其他都需要为跳转支付、不开启跳转支付表示购买页面显示二维码直接扫码购买、跳转支付表示前往新页面!",placement:"right"},{default:a(()=>[e(f,{modelValue:t.payEpayRedirect,"onUpdate:modelValue":l[7]||(l[7]=p=>t.payEpayRedirect=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(r,{label:"开启支付渠道",prop:"payEpayChannel"},{default:a(()=>[e(q,{modelValue:t.payEpayChannel,"onUpdate:modelValue":l[8]||(l[8]=p=>t.payEpayChannel=p),size:"small"},{default:a(()=>[(g(),b(L,null,M(C,p=>e(N,{key:p.value,border:"",label:p.value},{default:a(()=>[x(H(p.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof V=="function"&&V(G);export{G as default}; diff --git a/public/admin/assets/erlang-BNw1qcRV.js b/AIWebQuickDeploy/public/admin/assets/erlang-BNw1qcRV.js similarity index 100% rename from public/admin/assets/erlang-BNw1qcRV.js rename to AIWebQuickDeploy/public/admin/assets/erlang-BNw1qcRV.js diff --git a/public/admin/assets/factor-D8pE9siL.js b/AIWebQuickDeploy/public/admin/assets/factor-D8pE9siL.js similarity index 100% rename from public/admin/assets/factor-D8pE9siL.js rename to AIWebQuickDeploy/public/admin/assets/factor-D8pE9siL.js diff --git a/public/admin/assets/fcl-Kvtd6kyn.js b/AIWebQuickDeploy/public/admin/assets/fcl-Kvtd6kyn.js similarity index 100% rename from public/admin/assets/fcl-Kvtd6kyn.js rename to AIWebQuickDeploy/public/admin/assets/fcl-Kvtd6kyn.js diff --git a/public/admin/assets/forth-Ffai-XNe.js b/AIWebQuickDeploy/public/admin/assets/forth-Ffai-XNe.js similarity index 100% rename from public/admin/assets/forth-Ffai-XNe.js rename to AIWebQuickDeploy/public/admin/assets/forth-Ffai-XNe.js diff --git a/public/admin/assets/fortran-DYz_wnZ1.js b/AIWebQuickDeploy/public/admin/assets/fortran-DYz_wnZ1.js similarity index 100% rename from public/admin/assets/fortran-DYz_wnZ1.js rename to AIWebQuickDeploy/public/admin/assets/fortran-DYz_wnZ1.js diff --git a/public/admin/assets/gas-Bneqetm1.js b/AIWebQuickDeploy/public/admin/assets/gas-Bneqetm1.js similarity index 100% rename from public/admin/assets/gas-Bneqetm1.js rename to AIWebQuickDeploy/public/admin/assets/gas-Bneqetm1.js diff --git a/public/admin/assets/gherkin-heZmZLOM.js b/AIWebQuickDeploy/public/admin/assets/gherkin-heZmZLOM.js similarity index 100% rename from public/admin/assets/gherkin-heZmZLOM.js rename to AIWebQuickDeploy/public/admin/assets/gherkin-heZmZLOM.js diff --git a/public/admin/assets/github-redirect-BqXHRsY-.js b/AIWebQuickDeploy/public/admin/assets/github-redirect-BM9nXGWb.js similarity index 88% rename from public/admin/assets/github-redirect-BqXHRsY-.js rename to AIWebQuickDeploy/public/admin/assets/github-redirect-BM9nXGWb.js index 7498e77..412f1a0 100644 --- a/public/admin/assets/github-redirect-BqXHRsY-.js +++ b/AIWebQuickDeploy/public/admin/assets/github-redirect-BM9nXGWb.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{l as o,g as c,c as n}from"./index-nGFMSQGw.js";const s={mounted(){const e=this.decrypt("Z2l0aHViLmNvbS92YXN0eGllLzk5QUk=");if(e){const t=`https://${e}`;window.open(t,"_blank"),this.$router.go(-1)}else console.error("解密失败或无效的地址")},methods:{decrypt(r){try{return atob(r)}catch(e){return console.error("解密失败",e),""}}}};function l(r,e,t,d,p,a){return c(),n("div")}const u=o(s,[["render",l]]);export{u as default}; +import{l as o,g as c,c as n}from"./index-6QRvoxq4.js";const s={mounted(){const e=this.decrypt("Z2l0aHViLmNvbS92YXN0eGllLzk5QUk=");if(e){const t=`https://${e}`;window.open(t,"_blank"),this.$router.go(-1)}else console.error("解密失败或无效的地址")},methods:{decrypt(r){try{return atob(r)}catch(e){return console.error("解密失败",e),""}}}};function l(r,e,t,d,p,a){return c(),n("div")}const u=o(s,[["render",l]]);export{u as default}; diff --git a/public/admin/assets/groovy-DKLxxR9y.js b/AIWebQuickDeploy/public/admin/assets/groovy-DKLxxR9y.js similarity index 100% rename from public/admin/assets/groovy-DKLxxR9y.js rename to AIWebQuickDeploy/public/admin/assets/groovy-DKLxxR9y.js diff --git a/public/admin/assets/haskell-BWDZoCOh.js b/AIWebQuickDeploy/public/admin/assets/haskell-BWDZoCOh.js similarity index 100% rename from public/admin/assets/haskell-BWDZoCOh.js rename to AIWebQuickDeploy/public/admin/assets/haskell-BWDZoCOh.js diff --git a/public/admin/assets/haxe-pv4rovob.js b/AIWebQuickDeploy/public/admin/assets/haxe-pv4rovob.js similarity index 100% rename from public/admin/assets/haxe-pv4rovob.js rename to AIWebQuickDeploy/public/admin/assets/haxe-pv4rovob.js diff --git a/public/admin/assets/http-DBlCnlav.js b/AIWebQuickDeploy/public/admin/assets/http-DBlCnlav.js similarity index 100% rename from public/admin/assets/http-DBlCnlav.js rename to AIWebQuickDeploy/public/admin/assets/http-DBlCnlav.js diff --git a/public/admin/assets/hupijiao-CgScmBfT.js b/AIWebQuickDeploy/public/admin/assets/hupijiao-PQUyy35q.js similarity index 97% rename from public/admin/assets/hupijiao-CgScmBfT.js rename to AIWebQuickDeploy/public/admin/assets/hupijiao-PQUyy35q.js index 688a398..465b796 100644 --- a/public/admin/assets/hupijiao-CgScmBfT.js +++ b/AIWebQuickDeploy/public/admin/assets/hupijiao-PQUyy35q.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as k,m as C,r as _,a as N,p as o,g as q,c as G,b as e,w as l,h as x,e as s,G as y,j as R,_ as j,k as g}from"./index-nGFMSQGw.js";import{a as H}from"./config-CYXO1pNF.js";const B=s("div",{class:"flex items-center gap-4"},"虎皮椒支付设置",-1),$=s("div",{class:"text-sm/6"},[s("div",null,[s("a",{href:"https://www.xunhupay.com/",target:"_blank"},"虎皮椒支付"),x(" 为第三方支付,接入请购买微信渠道。 ")]),s("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),E=k({__name:"hupijiao",setup(M){const t=C({payHupiStatus:"",payHupiAppId:"",payHupiSecret:"",payHupiGatewayUrl:"",payHupiNotifyUrl:"",payHupiReturnUrl:""}),U=_({payHupiStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payHupiSecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payHupiGatewayUrl:[{required:!0,trigger:"blur",message:"请填写网关"}],payHupiAppId:[{required:!0,trigger:"blur",message:"请填写Appid"}],payHupiNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}]}),m=_();async function c(){const u=await H.queryConfig({keys:["payHupiSecret","payHupiNotifyUrl","payHupiGatewayUrl","payHupiReturnUrl","payHupiAppId","payHupiStatus"]});Object.assign(t,u.data)}function V(){var u;(u=m.value)==null||u.validate(async a=>{if(a){try{await H.setConfig({settings:b(t)}),y.success("变更配置信息成功")}catch{}c()}else y.error("请填写完整信息")})}function b(u){return Object.keys(u).map(a=>({configKey:a,configVal:u[a]}))}return N(()=>{c()}),(u,a)=>{const f=R,w=j,S=h,v=o("el-switch"),r=o("el-form-item"),n=o("el-col"),i=o("el-row"),d=o("el-input"),A=o("el-form"),I=o("el-card");return q(),G("div",null,[e(S,null,{title:l(()=>[B]),content:l(()=>[$]),default:l(()=>[e(w,{outline:"",onClick:V},{default:l(()=>[e(f,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(I,{style:{margin:"20px"}},{default:l(()=>[e(A,{ref_key:"formRef",ref:m,rules:U.value,model:t,"label-width":"120px"},{default:l(()=>[e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"启用当前支付",prop:"payHupiAppId"},{default:l(()=>[e(v,{modelValue:t.payHupiStatus,"onUpdate:modelValue":a[0]||(a[0]=p=>t.payHupiStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付AppId",prop:"payHupiAppId"},{default:l(()=>[e(d,{modelValue:t.payHupiAppId,"onUpdate:modelValue":a[1]||(a[1]=p=>t.payHupiAppId=p),placeholder:"请填写AppId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付网关地址",prop:"payHupiGatewayUrl"},{default:l(()=>[e(d,{modelValue:t.payHupiGatewayUrl,"onUpdate:modelValue":a[2]||(a[2]=p=>t.payHupiGatewayUrl=p),placeholder:"请填写支付网关地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"Secret秘钥",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiSecret,"onUpdate:modelValue":a[3]||(a[3]=p=>t.payHupiSecret=p),placeholder:"请填写支付秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付通知地址",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiNotifyUrl,"onUpdate:modelValue":a[4]||(a[4]=p=>t.payHupiNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付回调地址",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiReturnUrl,"onUpdate:modelValue":a[5]||(a[5]=p=>t.payHupiReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(E);export{E as default}; +import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as k,m as C,r as _,a as N,p as o,g as q,c as G,b as e,w as l,h as x,e as s,G as y,j as R,_ as j,k as g}from"./index-6QRvoxq4.js";import{a as H}from"./config-DBls5jtO.js";const B=s("div",{class:"flex items-center gap-4"},"虎皮椒支付设置",-1),$=s("div",{class:"text-sm/6"},[s("div",null,[s("a",{href:"https://www.xunhupay.com/",target:"_blank"},"虎皮椒支付"),x(" 为第三方支付,接入请购买微信渠道。 ")]),s("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),E=k({__name:"hupijiao",setup(M){const t=C({payHupiStatus:"",payHupiAppId:"",payHupiSecret:"",payHupiGatewayUrl:"",payHupiNotifyUrl:"",payHupiReturnUrl:""}),U=_({payHupiStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payHupiSecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payHupiGatewayUrl:[{required:!0,trigger:"blur",message:"请填写网关"}],payHupiAppId:[{required:!0,trigger:"blur",message:"请填写Appid"}],payHupiNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}]}),m=_();async function c(){const u=await H.queryConfig({keys:["payHupiSecret","payHupiNotifyUrl","payHupiGatewayUrl","payHupiReturnUrl","payHupiAppId","payHupiStatus"]});Object.assign(t,u.data)}function V(){var u;(u=m.value)==null||u.validate(async a=>{if(a){try{await H.setConfig({settings:b(t)}),y.success("变更配置信息成功")}catch{}c()}else y.error("请填写完整信息")})}function b(u){return Object.keys(u).map(a=>({configKey:a,configVal:u[a]}))}return N(()=>{c()}),(u,a)=>{const f=R,w=j,S=h,v=o("el-switch"),r=o("el-form-item"),n=o("el-col"),i=o("el-row"),d=o("el-input"),A=o("el-form"),I=o("el-card");return q(),G("div",null,[e(S,null,{title:l(()=>[B]),content:l(()=>[$]),default:l(()=>[e(w,{outline:"",onClick:V},{default:l(()=>[e(f,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(I,{style:{margin:"20px"}},{default:l(()=>[e(A,{ref_key:"formRef",ref:m,rules:U.value,model:t,"label-width":"120px"},{default:l(()=>[e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"启用当前支付",prop:"payHupiAppId"},{default:l(()=>[e(v,{modelValue:t.payHupiStatus,"onUpdate:modelValue":a[0]||(a[0]=p=>t.payHupiStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付AppId",prop:"payHupiAppId"},{default:l(()=>[e(d,{modelValue:t.payHupiAppId,"onUpdate:modelValue":a[1]||(a[1]=p=>t.payHupiAppId=p),placeholder:"请填写AppId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付网关地址",prop:"payHupiGatewayUrl"},{default:l(()=>[e(d,{modelValue:t.payHupiGatewayUrl,"onUpdate:modelValue":a[2]||(a[2]=p=>t.payHupiGatewayUrl=p),placeholder:"请填写支付网关地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"Secret秘钥",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiSecret,"onUpdate:modelValue":a[3]||(a[3]=p=>t.payHupiSecret=p),placeholder:"请填写支付秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付通知地址",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiNotifyUrl,"onUpdate:modelValue":a[4]||(a[4]=p=>t.payHupiNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付回调地址",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiReturnUrl,"onUpdate:modelValue":a[5]||(a[5]=p=>t.payHupiReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(E);export{E as default}; diff --git a/public/admin/assets/identityVerification-BGG7YaLd.js b/AIWebQuickDeploy/public/admin/assets/identityVerification-oP_pBzIE.js similarity index 97% rename from public/admin/assets/identityVerification-BGG7YaLd.js rename to AIWebQuickDeploy/public/admin/assets/identityVerification-oP_pBzIE.js index a1cae0a..a8e64ac 100644 --- a/public/admin/assets/identityVerification-BGG7YaLd.js +++ b/AIWebQuickDeploy/public/admin/assets/identityVerification-oP_pBzIE.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as P,m as U,r as V,a as F,p as i,g as W,c as B,b as e,w as t,h as c,e as s,G as v,j,_ as N,k as C}from"./index-nGFMSQGw.js";import{a as y}from"./config-CYXO1pNF.js";const $=s("div",{class:"flex items-center gap-4"},"认证设置",-1),A=s("div",{class:"text-sm/6"},[s("div",null,[c(" 实名认证接口使用阿里云"),s("a",{href:"https://market.aliyun.com/apimarket/detail/cmapi026109#sku=yuncode20109000025",target:"_blank"},"实名认证"),c(",需自行开通并获取 appCode。 ")]),s("div",null," 开启实名认证/手机号验证后,当用户对话条数超过对应阈值时,将会触发实名认证/手机号验证。 "),s("div",null,"触发优先级:手机号验证 > 实名认证"),s("div",null," 开启敏感词过滤后,将会对用户发送以及 AI 回复的消息进行敏感词过滤。 ")],-1),E=P({__name:"identityVerification",setup(H){const o=U({appCode:"",openIdentity:"",openPhoneValidation:"",phoneValidationMessageCount:"",identityVerificationMessageCount:"",isSensitiveWordFilter:""}),b=V({appCode:[{required:!0,trigger:"blur",message:"请填写身份认证appCode"}],openIdentity:[{required:!0,trigger:"blur",message:"请选择是否开启身份认证"}],openPhoneValidation:[{required:!0,trigger:"blur",message:"请选择是否开启手机号验证"}],phoneValidationMessageCount:[{required:!0,trigger:"blur",message:"请填写消息数量"}],identityVerificationMessageCount:[{required:!0,trigger:"blur",message:"请填写消息数量"}],isSensitiveWordFilter:[{required:!0,trigger:"blur",message:"请选择是否开启敏感词过滤"}]}),f=V();async function _(){const a=await y.queryConfig({keys:["appCode","openIdentity","openPhoneValidation","phoneValidationMessageCount","identityVerificationMessageCount","isSensitiveWordFilter"]});Object.assign(o,a.data)}function x(){var a;(a=f.value)==null||a.validate(async l=>{if(l){try{await y.setConfig({settings:h(o)}),v.success("变更配置信息成功")}catch{}_()}else v.error("请填写完整信息")})}function h(a){return Object.keys(a).map(l=>({configKey:l,configVal:a[l]}))}return F(()=>{_()}),(a,l)=>{const g=j,M=N,w=S,p=i("el-switch"),k=i("el-tooltip"),d=i("el-form-item"),r=i("el-col"),u=i("el-row"),m=i("el-input"),I=i("el-form"),q=i("el-card");return W(),B("div",null,[e(w,null,{title:t(()=>[$]),content:t(()=>[A]),default:t(()=>[e(M,{outline:"",onClick:x},{default:t(()=>[e(g,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(q,{style:{margin:"20px"}},{default:t(()=>[e(I,{ref_key:"formRef",ref:f,rules:b.value,model:o,"label-width":"150px"},{default:t(()=>[e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"开启实名验证",prop:"openIdentity"},{default:t(()=>[e(k,{content:"开启将打开实名验证",placement:"top","show-after":500},{default:t(()=>[e(p,{modelValue:o.openIdentity,"onUpdate:modelValue":l[0]||(l[0]=n=>o.openIdentity=n),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"appCode",prop:"appCode"},{default:t(()=>[e(m,{modelValue:o.appCode,"onUpdate:modelValue":l[1]||(l[1]=n=>o.appCode=n),placeholder:"请填写实名认证 appCode",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"开启手机号验证",prop:"openPhoneValidation"},{default:t(()=>[e(p,{modelValue:o.openPhoneValidation,"onUpdate:modelValue":l[2]||(l[2]=n=>o.openPhoneValidation=n),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"手机号验证阈值",prop:"phoneValidationMessageCount"},{default:t(()=>[e(m,{modelValue:o.phoneValidationMessageCount,"onUpdate:modelValue":l[3]||(l[3]=n=>o.phoneValidationMessageCount=n),placeholder:"请填写消息数量",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"实名认证阈值",prop:"identityVerificationMessageCount"},{default:t(()=>[e(m,{modelValue:o.identityVerificationMessageCount,"onUpdate:modelValue":l[4]||(l[4]=n=>o.identityVerificationMessageCount=n),placeholder:"请填写消息数量",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"开启敏感词过滤",prop:"isSensitiveWordFilter"},{default:t(()=>[e(p,{modelValue:o.isSensitiveWordFilter,"onUpdate:modelValue":l[5]||(l[5]=n=>o.isSensitiveWordFilter=n),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof C=="function"&&C(E);export{E as default}; +import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as P,m as U,r as V,a as F,p as i,g as W,c as B,b as e,w as t,h as c,e as s,G as v,j,_ as N,k as C}from"./index-6QRvoxq4.js";import{a as y}from"./config-DBls5jtO.js";const $=s("div",{class:"flex items-center gap-4"},"认证设置",-1),A=s("div",{class:"text-sm/6"},[s("div",null,[c(" 实名认证接口使用阿里云"),s("a",{href:"https://market.aliyun.com/apimarket/detail/cmapi026109#sku=yuncode20109000025",target:"_blank"},"实名认证"),c(",需自行开通并获取 appCode。 ")]),s("div",null," 开启实名认证/手机号验证后,当用户对话条数超过对应阈值时,将会触发实名认证/手机号验证。 "),s("div",null,"触发优先级:手机号验证 > 实名认证"),s("div",null," 开启敏感词过滤后,将会对用户发送以及 AI 回复的消息进行敏感词过滤。 ")],-1),E=P({__name:"identityVerification",setup(H){const o=U({appCode:"",openIdentity:"",openPhoneValidation:"",phoneValidationMessageCount:"",identityVerificationMessageCount:"",isSensitiveWordFilter:""}),b=V({appCode:[{required:!0,trigger:"blur",message:"请填写身份认证appCode"}],openIdentity:[{required:!0,trigger:"blur",message:"请选择是否开启身份认证"}],openPhoneValidation:[{required:!0,trigger:"blur",message:"请选择是否开启手机号验证"}],phoneValidationMessageCount:[{required:!0,trigger:"blur",message:"请填写消息数量"}],identityVerificationMessageCount:[{required:!0,trigger:"blur",message:"请填写消息数量"}],isSensitiveWordFilter:[{required:!0,trigger:"blur",message:"请选择是否开启敏感词过滤"}]}),f=V();async function _(){const a=await y.queryConfig({keys:["appCode","openIdentity","openPhoneValidation","phoneValidationMessageCount","identityVerificationMessageCount","isSensitiveWordFilter"]});Object.assign(o,a.data)}function x(){var a;(a=f.value)==null||a.validate(async l=>{if(l){try{await y.setConfig({settings:h(o)}),v.success("变更配置信息成功")}catch{}_()}else v.error("请填写完整信息")})}function h(a){return Object.keys(a).map(l=>({configKey:l,configVal:a[l]}))}return F(()=>{_()}),(a,l)=>{const g=j,M=N,w=S,p=i("el-switch"),k=i("el-tooltip"),d=i("el-form-item"),r=i("el-col"),u=i("el-row"),m=i("el-input"),I=i("el-form"),q=i("el-card");return W(),B("div",null,[e(w,null,{title:t(()=>[$]),content:t(()=>[A]),default:t(()=>[e(M,{outline:"",onClick:x},{default:t(()=>[e(g,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(q,{style:{margin:"20px"}},{default:t(()=>[e(I,{ref_key:"formRef",ref:f,rules:b.value,model:o,"label-width":"150px"},{default:t(()=>[e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"开启实名验证",prop:"openIdentity"},{default:t(()=>[e(k,{content:"开启将打开实名验证",placement:"top","show-after":500},{default:t(()=>[e(p,{modelValue:o.openIdentity,"onUpdate:modelValue":l[0]||(l[0]=n=>o.openIdentity=n),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"appCode",prop:"appCode"},{default:t(()=>[e(m,{modelValue:o.appCode,"onUpdate:modelValue":l[1]||(l[1]=n=>o.appCode=n),placeholder:"请填写实名认证 appCode",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"开启手机号验证",prop:"openPhoneValidation"},{default:t(()=>[e(p,{modelValue:o.openPhoneValidation,"onUpdate:modelValue":l[2]||(l[2]=n=>o.openPhoneValidation=n),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"手机号验证阈值",prop:"phoneValidationMessageCount"},{default:t(()=>[e(m,{modelValue:o.phoneValidationMessageCount,"onUpdate:modelValue":l[3]||(l[3]=n=>o.phoneValidationMessageCount=n),placeholder:"请填写消息数量",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"实名认证阈值",prop:"identityVerificationMessageCount"},{default:t(()=>[e(m,{modelValue:o.identityVerificationMessageCount,"onUpdate:modelValue":l[4]||(l[4]=n=>o.identityVerificationMessageCount=n),placeholder:"请填写消息数量",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(d,{label:"开启敏感词过滤",prop:"isSensitiveWordFilter"},{default:t(()=>[e(p,{modelValue:o.isSensitiveWordFilter,"onUpdate:modelValue":l[5]||(l[5]=n=>o.isSensitiveWordFilter=n),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof C=="function"&&C(E);export{E as default}; diff --git a/public/admin/assets/idl-BEugSyMb.js b/AIWebQuickDeploy/public/admin/assets/idl-BEugSyMb.js similarity index 100% rename from public/admin/assets/idl-BEugSyMb.js rename to AIWebQuickDeploy/public/admin/assets/idl-BEugSyMb.js diff --git a/public/admin/assets/index--3skRaHe.css b/AIWebQuickDeploy/public/admin/assets/index--3skRaHe.css similarity index 100% rename from public/admin/assets/index--3skRaHe.css rename to AIWebQuickDeploy/public/admin/assets/index--3skRaHe.css diff --git a/public/admin/assets/index-nGFMSQGw.js b/AIWebQuickDeploy/public/admin/assets/index-6QRvoxq4.js similarity index 99% rename from public/admin/assets/index-nGFMSQGw.js rename to AIWebQuickDeploy/public/admin/assets/index-6QRvoxq4.js index b49250c..0393ae4 100644 --- a/public/admin/assets/index-nGFMSQGw.js +++ b/AIWebQuickDeploy/public/admin/assets/index-6QRvoxq4.js @@ -5,7 +5,7 @@ * https://fantastic-admin.github.io */ -const __vite__fileDeps=["./wechat-CC1D2I9W.js","./index.vue_vue_type_script_setup_true_lang-BTce45WY.js","./config-CYXO1pNF.js","./userAgreement-CRX63ZgH.js","./style-CY8tkffG.js","./style-DzVD5h9V.css","./register-s9FErNB-.js","./register-DsQMN5kC.css","./phone-BdMZVeeU.js","./index-DMib4jzv.js","./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js","./index-BE-LteFu.js","./utcformatTime-Bq4gDWNx.js","./email-B1yejiIN.js","./accountLog-j3jh3-tg.js","./welcomePageSettings-CtUX5kGT.js","./notice-CN8MQARu.js","./baseConfiguration-U_8lhRbY.js","./baiduStatistics-C5Ie8mqw.js","./tencent-DrFpx0Hg.js","./localStorage-cKgrnDbg.js","./chevereto-DL3R-p1F.js","./ali-0_edqUL6.js","./violation-DSvmBVfk.js","./badWords-C1vgC_-i.js","./marked.esm-8ZxQ78w7.js","./chat-DJXUFUH_.css","./identityVerification-BGG7YaLd.js","./custom-B5IO_plt.js","./baiduSensitive-C9aAS061.js","./autpReply-iL0HgZca.js","./setting-B_yMB92n.js","./setting-DPas9sHG.css","./edit.password-C_LVx17b.js","./useMainPage-C9MASyfo.js","./edit-C7lymP1E.css","./wechat-B6iz3vsw.js","./mpay-BhEzThlj.js","./ltzf-Cl69CY0O.js","./hupijiao-CgScmBfT.js","./epay-BFYo5Oti.js","./points-dFU6hxKv.js","./package-B84yLosq.js","./package-DNsyP8d5.js","./crami-C4rWwE2o.js","./index-Bc9vnwpI.js","./index-DiTAFdcL.css","./key-U1-UhTyN.js","./interface-BdTcay3S.js","./draw-VSxgmQtr.js","./chat-DSEzBczd.js","./draw-BqaQv8sQ.css","./chat-BWcQBZPb.js","./visible-ZdW2endy.js","./plugin-QW7T5kxH.js","./classify-D6OriOt0.js","./app-BCL1kqkG.js","./application-Bvco68p6.js","./index-FnTzkwYe.js","./HInput.vue_vue_type_script_setup_true_lang-DzYqFXwU.js","./HCheckList.vue_vue_type_script_setup_true_lang-BdsCC1UG.js","./HToggle.vue_vue_type_script_setup_true_lang-iKBpmqsT.js","./use-resolve-button-type-CVaAVCZ2.js","./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js","./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js","./index-CyI3Kccs.js","./index-B9lYkwfU.css","./index-C_igUakG.js","./index.vue_vue_type_script_setup_true_lang-BJqXE6JQ.js","./index-CeCYhShg.js","./index-D4nnD7rC.css","./item-aUfNz2FD.js","./item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js","./index-BEgl-D5h.js","./index-DLgR7VQ5.css","./index-BhavOP4W.js","./index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js","./rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js","./HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js","./index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js","./HDropdown-BjwO9ikd.js","./index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js","./index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js","./HKbd-By3ZrrUU.js","./index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js","./useMenu-CjAI3aXu.js","./index-ucei9Tgm.css","./index-BBYMB4fF.js","./index.vue_vue_type_script_setup_true_lang-DBGFR6b9.js","./HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js","./index-BsqAgi1e.js","./index-Bb_mj7fg.js","./index-eqjq1fUS.css","./index-do-psu6b.js","./index.vue_vue_type_script_setup_true_lang-rI-Pc7n4.js","./sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js","./item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js","./item-BGs210ro.js","./sub-C9kpzA5T.js","./index-B8Qbctk3.js","./index.vue_vue_type_script_setup_true_lang-zkYlqh7B.js","./index-CFd9RQbU.js","./index-CyUQOSLA.css","./index-DYuViJCA.js","./index-D9XTqpwG.css","./index-D5jQENXK.js","./index-KzA8AQdP.css","./index-B26rXOmA.js","./index-D2-DvelZ.js","./index-CyBqC5az.js","./index-JmaFc6Op.js","./index-DilPWwlM.js","./leftSide.vue_vue_type_script_setup_true_lang-CY8It3ua.js","./index--3skRaHe.css","./leftSide-oWmuAIUP.js","./rightSide-DTvA-_sw.js","./index-apzNn83J.js","./index-DARZUbFw.css","./link-BkZGdTQk.js","./link-Dx3sI3vO.css","./index-DaN931b2.js","./index-7C4DsIyW.css","./HCheckList-C7zKn3lK.js","./HDialog-CPr-tzAo.js","./HDropdownMenu-r0U9_oai.js","./HInput-B34qGhNq.js","./HTabList-DFOAZowX.js","./HToggle-5Qxg2Ct6.js","./HTooltip-D8zlh0ym.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +const __vite__fileDeps=["./wechat-iHfqycBm.js","./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js","./config-DBls5jtO.js","./userAgreement-CNd8Qla0.js","./style-CSuzBWCF.js","./style-DzVD5h9V.css","./register-1wwcbwRm.js","./register-DsQMN5kC.css","./phone-DvRFs8Iq.js","./index-Bc9Zhmen.js","./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js","./index-BE-LteFu.js","./utcformatTime-Bq4gDWNx.js","./email-Bu_bNWMh.js","./accountLog-fHuxQkeO.js","./welcomePageSettings-BNqbw3Pg.js","./notice-Dl9A1sfn.js","./baseConfiguration-XpujmNvx.js","./baiduStatistics-GAHxOxpS.js","./tencent-DLUjGcyt.js","./localStorage-D9Ly4FTr.js","./chevereto-CrU0O1ko.js","./ali-Mqm0cjbu.js","./violation-BuG_b462.js","./badWords-D2Yy-NCt.js","./marked.esm-8ZxQ78w7.js","./chat-DJXUFUH_.css","./identityVerification-oP_pBzIE.js","./custom-Dw8_cyTN.js","./baiduSensitive-6qem6t8b.js","./autpReply-C702DWac.js","./setting-C2TdzxY1.js","./setting-DPas9sHG.css","./edit.password-5Br-3lH_.js","./useMainPage--yVtHxDh.js","./edit-C7lymP1E.css","./wechat-B077V9uG.js","./mpay-02LM1-hB.js","./ltzf-BGADXySl.js","./hupijiao-PQUyy35q.js","./epay-ClyHoC23.js","./points-7mr5fEHY.js","./package-nRT1s46o.js","./package-B_VYKnha.js","./crami-DF3UkRa8.js","./index-D_TwDoFD.js","./index-DiTAFdcL.css","./key-SbZ15kXg.js","./interface-C0pUInT0.js","./draw-DfPVf5Nv.js","./chat-Cul6apvD.js","./draw-BqaQv8sQ.css","./chat-u79Q-XSS.js","./visible-D8lJUNYg.js","./plugin-BB9dueQ_.js","./classify-C53uJCw1.js","./app-CZBIwClE.js","./application-BreYJjWu.js","./index-BLLHBlas.js","./HInput.vue_vue_type_script_setup_true_lang-B93h6qE_.js","./HCheckList.vue_vue_type_script_setup_true_lang-BLNEihme.js","./HToggle.vue_vue_type_script_setup_true_lang-CHjOk9yp.js","./use-resolve-button-type-BE1XPlJv.js","./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js","./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js","./index-B0yaT7Pj.js","./index-B9lYkwfU.css","./index-kG79ZC54.js","./index.vue_vue_type_script_setup_true_lang-Bugv63mj.js","./index-BE5tQEZB.js","./index-D4nnD7rC.css","./item-CgoQGTTQ.js","./item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js","./index-FQR52wpL.js","./index-DLgR7VQ5.css","./index-CYAFQ7HU.js","./index.vue_vue_type_script_setup_true_lang-CJnFI54p.js","./rightSide.vue_vue_type_script_setup_true_lang-Bh_y80-_.js","./HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js","./index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js","./HDropdown-7q7O_XMK.js","./index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js","./index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js","./HKbd-Be5shIQ7.js","./index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js","./useMenu-DJ8_3Y3q.js","./index-ucei9Tgm.css","./index-B-e7m70K.js","./index.vue_vue_type_script_setup_true_lang-BgKLAU11.js","./HDialog.vue_vue_type_script_setup_true_lang-an5zbG4e.js","./index-BwuB6c9W.js","./index-CQq7nD5J.js","./index-eqjq1fUS.css","./index-wNqALqIp.js","./index.vue_vue_type_script_setup_true_lang-zXZwbW_j.js","./sub.vue_vue_type_script_setup_true_lang-6LQFZuiJ.js","./item.vue_vue_type_script_setup_true_lang-C02ico3V.js","./item-DKw0u6VA.js","./sub-BYbZdG6Y.js","./index-Cho6Pr_4.js","./index.vue_vue_type_script_setup_true_lang-BGlBKwum.js","./index-eP4h4BlF.js","./index-CyUQOSLA.css","./index-DyGHaFdn.js","./index-D9XTqpwG.css","./index-CbgLRpel.js","./index-KzA8AQdP.css","./index-BwvH2ULl.js","./index-CTsqQodT.js","./index-DpvF2gU0.js","./index-DFcpibhB.js","./index-BRrAnYwh.js","./leftSide.vue_vue_type_script_setup_true_lang-Dg-uHS6-.js","./index--3skRaHe.css","./leftSide-VBkbFeUr.js","./rightSide-DeRod8ar.js","./index-Dq5t6Z0r.js","./index-DARZUbFw.css","./link-BvzwK7mO.js","./link-Dx3sI3vO.css","./index-BdAj7OgB.js","./index-7C4DsIyW.css","./HCheckList-DmjIeCde.js","./HDialog-SD64xsF6.js","./HDropdownMenu-D4uhC_T8.js","./HInput-BYvs3nsX.js","./HTabList-DKMxIM5w.js","./HToggle-BoT9z-_d.js","./HTooltip-CW8ZlTRK.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); (function(){const $e=document.createElement("link").relList;if($e&&$e.supports&&$e.supports("modulepreload"))return;for(const Ue of document.querySelectorAll('link[rel="modulepreload"]'))Fe(Ue);new MutationObserver(Ue=>{for(const qe of Ue)if(qe.type==="childList")for(const At of qe.addedNodes)At.tagName==="LINK"&&At.rel==="modulepreload"&&Fe(At)}).observe(document,{childList:!0,subtree:!0});function Ie(Ue){const qe={};return Ue.integrity&&(qe.integrity=Ue.integrity),Ue.referrerPolicy&&(qe.referrerPolicy=Ue.referrerPolicy),Ue.crossOrigin==="use-credentials"?qe.credentials="include":Ue.crossOrigin==="anonymous"?qe.credentials="omit":qe.credentials="same-origin",qe}function Fe(Ue){if(Ue.ep)return;Ue.ep=!0;const qe=Ie(Ue);fetch(Ue.href,qe)}})();{const xe="font-size: 14px; margin-bottom: 2px; padding: 6px 8px; color: #fff;",$e=`${xe} background: #e24329;`,Ie=`${xe} background: #707070;`;navigator.language.toLowerCase()==="zh-cn"?console.info("%c由%cFantastic-admin%c驱动",Ie,$e,Ie,` https://fantastic-admin.github.io`):console.info("%cPowered by%cFantastic-admin",Ie,$e,` https://fantastic-admin.github.io`)}/** @@ -38,7 +38,7 @@ https://fantastic-admin.github.io`)}/** * https://github.com/KingSora * * Released under the MIT license. - */const createCache=(xe,$e)=>{const{o:Ie,i:Fe,u:Ue}=xe;let qe=Ie,At;const Dt=(hn,vn)=>{const bn=qe,_n=hn,wn=vn||(Fe?!Fe(bn,_n):bn!==_n);return(wn||Ue)&&(qe=_n,At=bn),[qe,wn,At]};return[$e?hn=>Dt($e(qe,At),hn):Dt,hn=>[qe,!!hn,At]]},t=typeof window<"u"&&typeof document<"u",n=t?window:{},o$1=Math.max,s$1=Math.min,e$1=Math.round,c$1=Math.abs,r=Math.sign,l$1=n.cancelAnimationFrame,i$1=n.requestAnimationFrame,a$1=n.setTimeout,u$1=n.clearTimeout,getApi=xe=>typeof n[xe]<"u"?n[xe]:void 0,_$1=getApi("MutationObserver"),d$1=getApi("IntersectionObserver"),f$1=getApi("ResizeObserver"),p$1=getApi("ScrollTimeline"),v$1=t&&Node.ELEMENT_NODE,{toString:h$1,hasOwnProperty:g$1}=Object.prototype,isUndefined$3=xe=>xe===void 0,isNull=xe=>xe===null,isNumber$3=xe=>typeof xe=="number",isString$3=xe=>typeof xe=="string",isBoolean$2=xe=>typeof xe=="boolean",isFunction$4=xe=>typeof xe=="function",isArray$5=xe=>Array.isArray(xe),isObject$7=xe=>typeof xe=="object"&&!isArray$5(xe)&&!isNull(xe),isArrayLike$2=xe=>{const $e=!!xe&&xe.length,Ie=isNumber$3($e)&&$e>-1&&$e%1==0;return isArray$5(xe)||!isFunction$4(xe)&&Ie?$e>0&&isObject$7(xe)?$e-1 in xe:!0:!1},isPlainObject$3=xe=>{if(!xe||!isObject$7(xe))return!1;let $e;const Ie="constructor",Fe=xe[Ie],Ue=Fe&&Fe.prototype,qe=g$1.call(xe,Ie),At=Ue&&g$1.call(Ue,"isPrototypeOf");if(Fe&&!qe&&!At)return!1;for($e in xe);return isUndefined$3($e)||g$1.call(xe,$e)},isHTMLElement$1=xe=>{const $e=HTMLElement;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1},isElement$2=xe=>{const $e=Element;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1};function each$g(xe,$e){if(isArrayLike$2(xe))for(let Ie=0;Ie$e(xe[Ie],Ie,xe));return xe}const inArray=(xe,$e)=>xe.indexOf($e)>=0,concat=(xe,$e)=>xe.concat($e),push$1=(xe,$e,Ie)=>(!isString$3($e)&&isArrayLike$2($e)?Array.prototype.push.apply(xe,$e):xe.push($e),xe),from=xe=>Array.from(xe||[]),createOrKeepArray=xe=>isArray$5(xe)?xe:[xe],isEmptyArray=xe=>!!xe&&!xe.length,deduplicateArray=xe=>from(new Set(xe)),runEachAndClear=(xe,$e,Ie)=>{each$g(xe,Ue=>Ue&&Ue.apply(void 0,$e||[])),!Ie&&(xe.length=0)},b$1="paddingTop",w$1="paddingRight",y="paddingLeft",m$2="paddingBottom",S$1="marginLeft",O$1="marginRight",$="marginBottom",C$1="overflowX",x$2="overflowY",H$1="width",E$2="height",z="visible",I$2="hidden",A$1="scroll",capitalizeFirstLetter=xe=>{const $e=String(xe||"");return $e?$e[0].toUpperCase()+$e.slice(1):""},equal=(xe,$e,Ie,Fe)=>{if(xe&&$e){let Ue=!0;return each$g(Ie,qe=>{const At=xe[qe],Dt=$e[qe];At!==Dt&&(Ue=!1)}),Ue}return!1},equalWH=(xe,$e)=>equal(xe,$e,["w","h"]),equalXY=(xe,$e)=>equal(xe,$e,["x","y"]),equalTRBL=(xe,$e)=>equal(xe,$e,["t","r","b","l"]),noop$7=()=>{},bind$3=(xe,...$e)=>xe.bind(0,...$e),selfClearTimeout=xe=>{let $e;const Ie=xe?a$1:i$1,Fe=xe?u$1:l$1;return[Ue=>{Fe($e),$e=Ie(()=>Ue(),isFunction$4(xe)?xe():xe)},()=>Fe($e)]},debounce$1=(xe,$e)=>{const{_:Ie,p:Fe,v:Ue,m:qe}=$e||{};let At,Dt,Lt,jt,hn=noop$7;const vn=function(Cn){hn(),u$1(At),jt=At=Dt=void 0,hn=noop$7,xe.apply(this,Cn)},bn=kn=>qe&&Dt?qe(Dt,kn):kn,_n=()=>{hn!==noop$7&&vn(bn(Lt)||Lt)},wn=function(){const Cn=from(arguments),Sn=isFunction$4(Ie)?Ie():Ie;if(isNumber$3(Sn)&&Sn>=0){const En=isFunction$4(Fe)?Fe():Fe,Tn=isNumber$3(En)&&En>=0,An=Sn>0?a$1:i$1,$n=Sn>0?u$1:l$1,Nn=bn(Cn)||Cn,Mn=vn.bind(0,Nn);let In;hn(),Ue&&!jt?(Mn(),jt=!0,In=An(()=>jt=void 0,Sn)):(In=An(Mn,Sn),Tn&&!At&&(At=a$1(_n,En))),hn=()=>$n(In),Dt=Lt=Nn}else vn(Cn)};return wn.S=_n,wn},hasOwnProperty$e=(xe,$e)=>Object.prototype.hasOwnProperty.call(xe,$e),keys$2=xe=>xe?Object.keys(xe):[],assignDeep=(xe,$e,Ie,Fe,Ue,qe,At)=>{const Dt=[$e,Ie,Fe,Ue,qe,At];return(typeof xe!="object"||isNull(xe))&&!isFunction$4(xe)&&(xe={}),each$g(Dt,Lt=>{each$g(Lt,(jt,hn)=>{const vn=Lt[hn];if(xe===vn)return!0;const bn=isArray$5(vn);if(vn&&isPlainObject$3(vn)){const _n=xe[hn];let wn=_n;bn&&!isArray$5(_n)?wn=[]:!bn&&!isPlainObject$3(_n)&&(wn={}),xe[hn]=assignDeep(wn,vn)}else xe[hn]=bn?vn.slice():vn})}),xe},removeUndefinedProperties=(xe,$e)=>each$g(assignDeep({},xe),(Ie,Fe,Ue)=>{Ie===void 0?delete Ue[Fe]:Ie&&isPlainObject$3(Ie)&&(Ue[Fe]=removeUndefinedProperties(Ie))}),isEmptyObject=xe=>{for(const $e in xe)return!1;return!0},capNumber=(xe,$e,Ie)=>o$1(xe,s$1($e,Ie)),getDomTokensArray=xe=>from(new Set((isArray$5(xe)?xe:(xe||"").split(" ")).filter($e=>$e))),getAttr=(xe,$e)=>xe&&xe.getAttribute($e),hasAttr=(xe,$e)=>xe&&xe.hasAttribute($e),setAttrs=(xe,$e,Ie)=>{each$g(getDomTokensArray($e),Fe=>{xe&&xe.setAttribute(Fe,String(Ie||""))})},removeAttrs=(xe,$e)=>{each$g(getDomTokensArray($e),Ie=>xe&&xe.removeAttribute(Ie))},domTokenListAttr=(xe,$e)=>{const Ie=getDomTokensArray(getAttr(xe,$e)),Fe=bind$3(setAttrs,xe,$e),Ue=(qe,At)=>{const Dt=new Set(Ie);return each$g(getDomTokensArray(qe),Lt=>{Dt[At](Lt)}),from(Dt).join(" ")};return{O:qe=>Fe(Ue(qe,"delete")),$:qe=>Fe(Ue(qe,"add")),C:qe=>{const At=getDomTokensArray(qe);return At.reduce((Dt,Lt)=>Dt&&Ie.includes(Lt),At.length>0)}}},removeAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).O(Ie),bind$3(addAttrClass,xe,$e,Ie)),addAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).$(Ie),bind$3(removeAttrClass,xe,$e,Ie)),addRemoveAttrClass=(xe,$e,Ie,Fe)=>(Fe?addAttrClass:removeAttrClass)(xe,$e,Ie),hasAttrClass=(xe,$e,Ie)=>domTokenListAttr(xe,$e).C(Ie),createDomTokenListClass=xe=>domTokenListAttr(xe,"class"),removeClass$1=(xe,$e)=>{createDomTokenListClass(xe).O($e)},addClass$1=(xe,$e)=>(createDomTokenListClass(xe).$($e),bind$3(removeClass$1,xe,$e)),find$1=(xe,$e)=>{const Ie=[],Fe=$e?isElement$2($e)&&$e:document;return Fe?push$1(Ie,Fe.querySelectorAll(xe)):Ie},findFirst=(xe,$e)=>{const Ie=$e?isElement$2($e)&&$e:document;return Ie?Ie.querySelector(xe):null},is=(xe,$e)=>isElement$2(xe)?xe.matches($e):!1,isBodyElement=xe=>is(xe,"body"),contents=xe=>xe?from(xe.childNodes):[],parent$2=xe=>xe&&xe.parentElement,closest=(xe,$e)=>isElement$2(xe)&&xe.closest($e),getFocusedElement=xe=>document.activeElement,liesBetween=(xe,$e,Ie)=>{const Fe=closest(xe,$e),Ue=xe&&findFirst(Ie,Fe),qe=closest(Ue,$e)===Fe;return Fe&&Ue?Fe===xe||Ue===xe||qe&&closest(closest(xe,Ie),$e)!==Fe:!1},removeElements=xe=>{if(isArrayLike$2(xe))each$g(from(xe),$e=>removeElements($e));else if(xe){const $e=parent$2(xe);$e&&$e.removeChild(xe)}},before=(xe,$e,Ie)=>{if(Ie&&xe){let Fe=$e,Ue;return isArrayLike$2(Ie)?(Ue=document.createDocumentFragment(),each$g(Ie,qe=>{qe===Fe&&(Fe=qe.previousSibling),Ue.appendChild(qe)})):Ue=Ie,$e&&(Fe?Fe!==$e&&(Fe=Fe.nextSibling):Fe=xe.firstChild),xe.insertBefore(Ue,Fe||null),()=>removeElements(Ie)}return noop$7},appendChildren=(xe,$e)=>before(xe,null,$e),insertAfter=(xe,$e)=>before(parent$2(xe),xe&&xe.nextSibling,$e),createDiv=xe=>{const $e=document.createElement("div");return setAttrs($e,"class",xe),$e},createDOM=xe=>{const $e=createDiv();return $e.innerHTML=xe.trim(),each$g(contents($e),Ie=>removeElements(Ie))},T$1=/^--/,getCSSVal=(xe,$e)=>xe.getPropertyValue($e)||xe[$e]||"",validFiniteNumber=xe=>{const $e=xe||0;return isFinite($e)?$e:0},parseToZeroOrNumber=xe=>validFiniteNumber(parseFloat(xe||"")),ratioToCssPercent=xe=>`${(validFiniteNumber(xe)*100).toFixed(3)}%`,numberToCssPx=xe=>`${validFiniteNumber(xe)}px`;function setStyles(xe,$e){xe&&$e&&each$g($e,(Ie,Fe)=>{try{const Ue=xe.style,qe=isNumber$3(Ie)?numberToCssPx(Ie):(Ie||"")+"";T$1.test(Fe)?Ue.setProperty(Fe,qe):Ue[Fe]=qe}catch{}})}function getStyles(xe,$e,Ie){const Fe=isString$3($e);let Ue=Fe?"":{};if(xe){const qe=n.getComputedStyle(xe,Ie)||xe.style;Ue=Fe?getCSSVal(qe,$e):from($e).reduce((At,Dt)=>(At[Dt]=getCSSVal(qe,Dt),At),Ue)}return Ue}const topRightBottomLeft=(xe,$e,Ie)=>{const Fe=$e?`${$e}-`:"",Ue=Ie?`-${Ie}`:"",qe=`${Fe}top${Ue}`,At=`${Fe}right${Ue}`,Dt=`${Fe}bottom${Ue}`,Lt=`${Fe}left${Ue}`,jt=getStyles(xe,[qe,At,Dt,Lt]);return{t:parseToZeroOrNumber(jt[qe]),r:parseToZeroOrNumber(jt[At]),b:parseToZeroOrNumber(jt[Dt]),l:parseToZeroOrNumber(jt[Lt])}},getTrasformTranslateValue=(xe,$e)=>`translate${isObject$7(xe)?`(${xe.x},${xe.y})`:`${$e?"X":"Y"}(${xe})`}`,elementHasDimensions=xe=>!!(xe.offsetWidth||xe.offsetHeight||xe.getClientRects().length),D$1={w:0,h:0},getElmWidthHeightProperty=(xe,$e)=>$e?{w:$e[`${xe}Width`],h:$e[`${xe}Height`]}:D$1,getWindowSize=xe=>getElmWidthHeightProperty("inner",xe||n),k$1=bind$3(getElmWidthHeightProperty,"offset"),M$1=bind$3(getElmWidthHeightProperty,"client"),R$1=bind$3(getElmWidthHeightProperty,"scroll"),getFractionalSize=xe=>{const $e=parseFloat(getStyles(xe,H$1))||0,Ie=parseFloat(getStyles(xe,E$2))||0;return{w:$e-e$1($e),h:Ie-e$1(Ie)}},getBoundingClientRect$1=xe=>xe.getBoundingClientRect(),hasDimensions=xe=>!!xe&&elementHasDimensions(xe),domRectHasDimensions=xe=>!!(xe&&(xe[E$2]||xe[H$1])),domRectAppeared=(xe,$e)=>{const Ie=domRectHasDimensions(xe);return!domRectHasDimensions($e)&&Ie},removeEventListener$1=(xe,$e,Ie,Fe)=>{each$g(getDomTokensArray($e),Ue=>{xe&&xe.removeEventListener(Ue,Ie,Fe)})},addEventListener$1=(xe,$e,Ie,Fe)=>{var Ue;const qe=(Ue=Fe&&Fe.H)!=null?Ue:!0,At=Fe&&Fe.I||!1,Dt=Fe&&Fe.A||!1,Lt={passive:qe,capture:At};return bind$3(runEachAndClear,getDomTokensArray($e).map(jt=>{const hn=Dt?vn=>{removeEventListener$1(xe,jt,hn,At),Ie&&Ie(vn)}:Ie;return xe&&xe.addEventListener(jt,hn,Lt),bind$3(removeEventListener$1,xe,jt,hn,At)}))},stopPropagation=xe=>xe.stopPropagation(),preventDefault$1=xe=>xe.preventDefault(),stopAndPrevent=xe=>stopPropagation(xe)||preventDefault$1(xe),scrollElementTo=(xe,$e)=>{const{x:Ie,y:Fe}=isNumber$3($e)?{x:$e,y:$e}:$e||{};isNumber$3(Ie)&&(xe.scrollLeft=Ie),isNumber$3(Fe)&&(xe.scrollTop=Fe)},getElementScroll=xe=>({x:xe.scrollLeft,y:xe.scrollTop}),getZeroScrollCoordinates=()=>({T:{x:0,y:0},D:{x:0,y:0}}),sanitizeScrollCoordinates=(xe,$e)=>{const{T:Ie,D:Fe}=xe,{w:Ue,h:qe}=$e,At=(vn,bn,_n)=>{let wn=r(vn)*_n,kn=r(bn)*_n;if(wn===kn){const Cn=c$1(vn),Sn=c$1(bn);kn=Cn>Sn?0:kn,wn=Cn{const Ie=(Fe,Ue)=>Fe===0&&Fe<=Ue;return{x:Ie(xe.x,$e.x),y:Ie(xe.y,$e.y)}},getScrollCoordinatesPercent=({T:xe,D:$e},Ie)=>{const Fe=(Ue,qe,At)=>capNumber(0,1,(Ue-At)/(Ue-qe)||0);return{x:Fe(xe.x,$e.x,Ie.x),y:Fe(xe.y,$e.y,Ie.y)}},focusElement=xe=>{xe&&xe.focus&&xe.focus({preventScroll:!0})},manageListener=(xe,$e)=>{each$g(createOrKeepArray($e),xe)},createEventListenerHub=xe=>{const $e=new Map,Ie=(qe,At)=>{if(qe){const Dt=$e.get(qe);manageListener(Lt=>{Dt&&Dt[Lt?"delete":"clear"](Lt)},At)}else $e.forEach(Dt=>{Dt.clear()}),$e.clear()},Fe=(qe,At)=>{if(isString$3(qe)){const jt=$e.get(qe)||new Set;return $e.set(qe,jt),manageListener(hn=>{isFunction$4(hn)&&jt.add(hn)},At),bind$3(Ie,qe,At)}isBoolean$2(At)&&At&&Ie();const Dt=keys$2(qe),Lt=[];return each$g(Dt,jt=>{const hn=qe[jt];hn&&push$1(Lt,Fe(jt,hn))}),bind$3(runEachAndClear,Lt)},Ue=(qe,At)=>{each$g(from($e.get(qe)),Dt=>{At&&!isEmptyArray(At)?Dt.apply(0,At):Dt()})};return Fe(xe||{}),[Fe,Ie,Ue]},opsStringify=xe=>JSON.stringify(xe,($e,Ie)=>{if(isFunction$4(Ie))throw 0;return Ie}),getPropByPath=(xe,$e)=>xe?`${$e}`.split(".").reduce((Ie,Fe)=>Ie&&hasOwnProperty$e(Ie,Fe)?Ie[Fe]:void 0,xe):void 0,V={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},getOptionsDiff=(xe,$e)=>{const Ie={},Fe=concat(keys$2($e),keys$2(xe));return each$g(Fe,Ue=>{const qe=xe[Ue],At=$e[Ue];if(isObject$7(qe)&&isObject$7(At))assignDeep(Ie[Ue]={},getOptionsDiff(qe,At)),isEmptyObject(Ie[Ue])&&delete Ie[Ue];else if(hasOwnProperty$e($e,Ue)&&At!==qe){let Dt=!0;if(isArray$5(qe)||isArray$5(At))try{opsStringify(qe)===opsStringify(At)&&(Dt=!1)}catch{}Dt&&(Ie[Ue]=At)}}),Ie},createOptionCheck=(xe,$e,Ie)=>Fe=>[getPropByPath(xe,Fe),Ie||getPropByPath($e,Fe)!==void 0],L="data-overlayscrollbars",P$3="os-environment",U$2=`${P$3}-scrollbar-hidden`,N$2=`${L}-initialize`,q$1="noClipping",B$1=`${L}-body`,F$1=L,j="host",X$2=`${L}-viewport`,Y$1=C$1,W$1=x$2,J$1="arrange",K$1="measuring",G$1="scrollbarHidden",Q$1="scrollbarPressed",Z$1="noContent",tt$1=`${L}-padding`,nt$1=`${L}-content`,ot$1="os-size-observer",st$1=`${ot$1}-appear`,et$1=`${ot$1}-listener`,it$1="os-trinsic-observer",at$1="os-theme-none",ut$1="os-scrollbar",_t$1=`${ut$1}-rtl`,dt$1=`${ut$1}-horizontal`,ft$1=`${ut$1}-vertical`,pt$1=`${ut$1}-track`,vt$1=`${ut$1}-handle`,ht$1=`${ut$1}-visible`,gt$1=`${ut$1}-cornerless`,bt$1=`${ut$1}-interaction`,wt$1=`${ut$1}-unusable`,yt$1=`${ut$1}-auto-hide`,mt$1=`${yt$1}-hidden`,St$1=`${ut$1}-wheel`,Ot$1=`${pt$1}-interactive`,$t$1=`${vt$1}-interactive`;let Ct$1;const createEnvironment=()=>{const xe=(xn,En,Tn)=>{appendChildren(document.body,xn),appendChildren(document.body,xn);const An=M$1(xn),$n=k$1(xn),Pn=getFractionalSize(En);return Tn&&removeElements(xn),{x:$n.h-An.h+Pn.h,y:$n.w-An.w+Pn.w}},$e=xn=>{let En=!1;const Tn=addClass$1(xn,U$2);try{En=getStyles(xn,"scrollbar-width")==="none"||getStyles(xn,"display","::-webkit-scrollbar")==="none"}catch{}return Tn(),En},Ie=`.${P$3}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${P$3} div{width:200%;height:200%;margin:10px 0}.${U$2}{scrollbar-width:none!important}.${U$2}::-webkit-scrollbar,.${U$2}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,Ue=createDOM(`
`)[0],qe=Ue.firstChild,[At,,Dt]=createEventListenerHub(),[Lt,jt]=createCache({o:xe(Ue,qe),i:equalXY},bind$3(xe,Ue,qe,!0)),[hn]=jt(),vn=$e(Ue),bn={x:hn.x===0,y:hn.y===0},_n={elements:{host:null,padding:!vn,viewport:xn=>vn&&isBodyElement(xn)&&xn,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},wn=assignDeep({},V),kn=bind$3(assignDeep,{},wn),Cn=bind$3(assignDeep,{},_n),Sn={k:hn,M:bn,R:vn,V:!!p$1,L:bind$3(At,"r"),P:Cn,U:xn=>assignDeep(_n,xn)&&Cn(),N:kn,q:xn=>assignDeep(wn,xn)&&kn(),B:assignDeep({},_n),F:assignDeep({},wn)};if(removeAttrs(Ue,"style"),removeElements(Ue),addEventListener$1(n,"resize",()=>{Dt("r",[])}),isFunction$4(n.matchMedia)&&!vn&&(!bn.x||!bn.y)){const xn=En=>{const Tn=n.matchMedia(`(resolution: ${n.devicePixelRatio}dppx)`);addEventListener$1(Tn,"change",()=>{En(),xn(En)},{A:!0})};xn(()=>{const[En,Tn]=Lt();assignDeep(Sn.k,En),Dt("r",[Tn])})}return Sn},getEnvironment=()=>(Ct$1||(Ct$1=createEnvironment()),Ct$1),resolveInitialization=(xe,$e)=>isFunction$4($e)?$e.apply(0,xe):$e,staticInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe;return resolveInitialization(xe,Ue)||$e.apply(0,xe)},dynamicInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe,qe=resolveInitialization(xe,Ue);return!!qe&&(isHTMLElement$1(qe)?qe:$e.apply(0,xe))},cancelInitialization=(xe,$e)=>{const{nativeScrollbarsOverlaid:Ie,body:Fe}=$e||{},{M:Ue,R:qe,P:At}=getEnvironment(),{nativeScrollbarsOverlaid:Dt,body:Lt}=At().cancel,jt=Ie??Dt,hn=isUndefined$3(Fe)?Lt:Fe,vn=(Ue.x||Ue.y)&&jt,bn=xe&&(isNull(hn)?!qe:hn);return!!vn||!!bn},xt$1=new WeakMap,addInstance=(xe,$e)=>{xt$1.set(xe,$e)},removeInstance=xe=>{xt$1.delete(xe)},getInstance$1=xe=>xt$1.get(xe),createEventContentChange=(xe,$e,Ie)=>{let Fe=!1;const Ue=Ie?new WeakMap:!1,qe=()=>{Fe=!0},At=Dt=>{if(Ue&&Ie){const Lt=Ie.map(jt=>{const[hn,vn]=jt||[];return[vn&&hn?(Dt||find$1)(hn,xe):[],vn]});each$g(Lt,jt=>each$g(jt[0],hn=>{const vn=jt[1],bn=Ue.get(hn)||[];if(xe.contains(hn)&&vn){const wn=addEventListener$1(hn,vn,kn=>{Fe?(wn(),Ue.delete(hn)):$e(kn)});Ue.set(hn,push$1(bn,wn))}else runEachAndClear(bn),Ue.delete(hn)}))}};return At(),[qe,At]},createDOMObserver=(xe,$e,Ie,Fe)=>{let Ue=!1;const{j:qe,X:At,Y:Dt,W:Lt,J:jt,K:hn}=Fe||{},vn=debounce$1(()=>Ue&&Ie(!0),{_:33,p:99}),[bn,_n]=createEventContentChange(xe,vn,Dt),wn=qe||[],kn=At||[],Cn=concat(wn,kn),Sn=(En,Tn)=>{if(!isEmptyArray(Tn)){const An=jt||noop$7,$n=hn||noop$7,Pn=[],Nn=[];let Mn=!1,In=!1;if(each$g(Tn,On=>{const{attributeName:Rn,target:Bn,type:Vn,oldValue:Ln,addedNodes:Dn,removedNodes:Hn}=On,Fn=Vn==="attributes",zn=Vn==="childList",jn=xe===Bn,Gn=Fn&&Rn,Wn=Gn&&getAttr(Bn,Rn||""),Xn=isString$3(Wn)?Wn:null,er=Gn&&Ln!==Xn,rr=inArray(kn,Rn)&&er;if($e&&(zn||!jn)){const Jn=Fn&&er,qn=Jn&&Lt&&is(Bn,Lt),ar=(qn?!An(Bn,Rn,Ln,Xn):!Fn||Jn)&&!$n(On,!!qn,xe,Fe);each$g(Dn,tr=>push$1(Pn,tr)),each$g(Hn,tr=>push$1(Pn,tr)),In=In||ar}!$e&&jn&&er&&!An(Bn,Rn,Ln,Xn)&&(push$1(Nn,Rn),Mn=Mn||rr)}),_n(On=>deduplicateArray(Pn).reduce((Rn,Bn)=>(push$1(Rn,find$1(On,Bn)),is(Bn,On)?push$1(Rn,Bn):Rn),[])),$e)return!En&&In&&Ie(!1),[!1];if(!isEmptyArray(Nn)||Mn){const On=[deduplicateArray(Nn),Mn];return!En&&Ie.apply(0,On),On}}},xn=new _$1(bind$3(Sn,!1));return[()=>(xn.observe(xe,{attributes:!0,attributeOldValue:!0,attributeFilter:Cn,subtree:$e,childList:$e,characterData:$e}),Ue=!0,()=>{Ue&&(bn(),xn.disconnect(),Ue=!1)}),()=>{if(Ue)return vn.S(),Sn(!0,xn.takeRecords())}]},Ht$1={},Et={},addPlugins=xe=>{each$g(xe,$e=>each$g($e,(Ie,Fe)=>{Ht$1[Fe]=$e[Fe]}))},registerPluginModuleInstances=(xe,$e,Ie)=>keys$2(xe).map(Fe=>{const{static:Ue,instance:qe}=xe[Fe],[At,Dt,Lt]=Ie||[],jt=Ie?qe:Ue;if(jt){const hn=Ie?jt(At,Dt,$e):jt($e);return(Lt||Et)[Fe]=hn}}),getStaticPluginModuleInstance=xe=>Et[xe],zt$1="__osOptionsValidationPlugin",It$1="__osSizeObserverPlugin",getShowNativeOverlaidScrollbars=(xe,$e)=>{const{M:Ie}=$e,[Fe,Ue]=xe("showNativeOverlaidScrollbars");return[Fe&&Ie.x&&Ie.y,Ue]},overflowIsVisible=xe=>xe.indexOf(z)===0,createViewportOverflowState=(xe,$e)=>{const Ie=(Ue,qe,At,Dt)=>{const Lt=Ue===z?I$2:Ue.replace(`${z}-`,""),jt=overflowIsVisible(Ue),hn=overflowIsVisible(At);return!qe&&!Dt?I$2:jt&&hn?z:jt?qe&&Dt?Lt:qe?z:I$2:qe?Lt:hn&&Dt?z:I$2},Fe={x:Ie($e.x,xe.x,$e.y,xe.y),y:Ie($e.y,xe.y,$e.x,xe.x)};return{G:Fe,Z:{x:Fe.x===A$1,y:Fe.y===A$1}}},Tt$1="__osScrollbarsHidingPlugin",kt="__osClickScrollPlugin",createSizeObserver=(xe,$e,Ie)=>{const{dt:Fe}=Ie||{},Ue=getStaticPluginModuleInstance(It$1),[qe]=createCache({o:!1,u:!0});return()=>{const At=[],Lt=createDOM(`
`)[0],jt=Lt.firstChild,hn=vn=>{const bn=vn instanceof ResizeObserverEntry;let _n=!1,wn=!1;if(bn){const[kn,,Cn]=qe(vn.contentRect),Sn=domRectHasDimensions(kn);wn=domRectAppeared(kn,Cn),_n=!wn&&!Sn}else wn=vn===!0;_n||$e({ft:!0,dt:wn})};if(f$1){const vn=new f$1(bn=>hn(bn.pop()));vn.observe(jt),push$1(At,()=>{vn.disconnect()})}else if(Ue){const[vn,bn]=Ue(jt,hn,Fe);push$1(At,concat([addClass$1(Lt,st$1),addEventListener$1(Lt,"animationstart",vn)],bn))}else return noop$7;return bind$3(runEachAndClear,push$1(At,appendChildren(xe,Lt)))}},createTrinsicObserver=(xe,$e)=>{let Ie;const Fe=Lt=>Lt.h===0||Lt.isIntersecting||Lt.intersectionRatio>0,Ue=createDiv(it$1),[qe]=createCache({o:!1}),At=(Lt,jt)=>{if(Lt){const hn=qe(Fe(Lt)),[,vn]=hn;return vn&&!jt&&$e(hn)&&[hn]}},Dt=(Lt,jt)=>At(jt.pop(),Lt);return[()=>{const Lt=[];if(d$1)Ie=new d$1(bind$3(Dt,!1),{root:xe}),Ie.observe(Ue),push$1(Lt,()=>{Ie.disconnect()});else{const jt=()=>{const hn=k$1(Ue);At(hn)};push$1(Lt,createSizeObserver(Ue,jt)()),jt()}return bind$3(runEachAndClear,push$1(Lt,appendChildren(xe,Ue)))},()=>Ie&&Dt(!0,Ie.takeRecords())]},createObserversSetup=(xe,$e,Ie,Fe)=>{let Ue,qe,At,Dt,Lt,jt;const hn=`[${F$1}]`,vn=`[${X$2}]`,bn=[],_n=["wrap","cols","rows"],wn=["id","class","style","open"],{vt:kn,ht:Cn,ot:Sn,gt:xn,bt:En,wt:Tn,nt:An,yt:$n,St:Pn,Ot:Nn}=xe,Mn=Yn=>getStyles(Yn,"direction")==="rtl",In={$t:!1,ct:Mn(kn)},On=getEnvironment(),Rn=getStaticPluginModuleInstance(Tt$1),[Bn]=createCache({i:equalWH,o:{w:0,h:0}},()=>{const Yn=Rn&&Rn.tt(xe,$e,In,On,Ie).ut,tr=!($n&&An)&&hasAttrClass(Cn,F$1,q$1),or=!An&&Pn(J$1),sr=or&&getElementScroll(xn),Kn=Nn(K$1,tr),Zn=or&&Yn&&Yn()[0],nr=R$1(Sn),lr=getFractionalSize(Sn);return Zn&&Zn(),scrollElementTo(xn,sr),tr&&Kn(),{w:nr.w+lr.w,h:nr.h+lr.h}}),Vn=Tn?_n:concat(wn,_n),Ln=debounce$1(Fe,{_:()=>Ue,p:()=>qe,m(Yn,ar){const[tr]=Yn,[or]=ar;return[concat(keys$2(tr),keys$2(or)).reduce((sr,Kn)=>(sr[Kn]=tr[Kn]||or[Kn],sr),{})]}}),Dn=Yn=>{const ar=Mn(kn);assignDeep(Yn,{Ct:jt!==ar}),assignDeep(In,{ct:ar}),jt=ar},Hn=(Yn,ar)=>{const[tr,or]=Yn,sr={xt:or};return assignDeep(In,{$t:tr}),!ar&&Fe(sr),sr},Fn=({ft:Yn,dt:ar})=>{const or=!(Yn&&!ar)&&On.R?Ln:Fe,sr={ft:Yn||ar,dt:ar};Dn(sr),or(sr)},zn=(Yn,ar)=>{const[,tr]=Bn(),or={Ht:tr};return Dn(or),tr&&!ar&&(Yn?Fe:Ln)(or),or},jn=(Yn,ar,tr)=>{const or={Et:ar};return Dn(or),ar&&!tr&&Ln(or),or},[Gn,Wn]=En?createTrinsicObserver(Cn,Hn):[],Xn=!An&&createSizeObserver(Cn,Fn,{dt:!0}),[er,rr]=createDOMObserver(Cn,!1,jn,{X:wn,j:concat(wn,bn)}),Jn=An&&f$1&&new f$1(Yn=>{const ar=Yn[Yn.length-1].contentRect;Fn({ft:!0,dt:domRectAppeared(ar,Lt)}),Lt=ar}),qn=debounce$1(()=>{const[,Yn]=Bn();Fe({Ht:Yn})},{_:222,v:!0});return[()=>{Jn&&Jn.observe(Cn);const Yn=Xn&&Xn(),ar=Gn&&Gn(),tr=er(),or=On.L(sr=>{sr?Ln({zt:sr}):qn()});return()=>{Jn&&Jn.disconnect(),Yn&&Yn(),ar&&ar(),Dt&&Dt(),tr(),or()}},({It:Yn,At:ar,Tt:tr})=>{const or={},[sr]=Yn("update.ignoreMutation"),[Kn,Zn]=Yn("update.attributes"),[nr,lr]=Yn("update.elementEvents"),[ir,kr]=Yn("update.debounce"),Cr=lr||Zn,Er=ar||tr,dr=br=>isFunction$4(sr)&&sr(br);if(Cr){At&&At(),Dt&&Dt();const[br,_r]=createDOMObserver(En||Sn,!0,zn,{j:concat(Vn,Kn||[]),Y:nr,W:hn,K:(Pr,vr)=>{const{target:xr,attributeName:Rr}=Pr;return(!vr&&Rr&&!An?liesBetween(xr,hn,vn):!1)||!!closest(xr,`.${ut$1}`)||!!dr(Pr)}});Dt=br(),At=_r}if(kr)if(Ln.S(),isArray$5(ir)){const br=ir[0],_r=ir[1];Ue=isNumber$3(br)&&br,qe=isNumber$3(_r)&&_r}else isNumber$3(ir)?(Ue=ir,qe=!1):(Ue=!1,qe=!1);if(Er){const br=rr(),_r=Wn&&Wn(),Pr=At&&At();br&&assignDeep(or,jn(br[0],br[1],Er)),_r&&assignDeep(or,Hn(_r[0],Er)),Pr&&assignDeep(or,zn(Pr[0],Er))}return Dn(or),or},In]},createScrollbarsSetupElements=(xe,$e,Ie,Fe)=>{const{P:Ue}=getEnvironment(),{scrollbars:qe}=Ue(),{slot:At}=qe,{vt:Dt,ht:Lt,ot:jt,Dt:hn,gt:vn,yt:bn,nt:_n}=$e,{scrollbars:wn}=hn?{}:xe,{slot:kn}=wn||{},Cn=new Map,Sn=rr=>p$1&&new p$1({source:vn,axis:rr}),xn={x:Sn("x"),y:Sn("y")},En=dynamicInitializationElement([Dt,Lt,jt],()=>_n&&bn?Dt:Lt,At,kn),Tn=(rr,Jn)=>{if(Jn){const sr=rr?H$1:E$2,{kt:Kn,Mt:Zn}=Jn,nr=getBoundingClientRect$1(Zn)[sr],lr=getBoundingClientRect$1(Kn)[sr];return capNumber(0,1,nr/lr||0)}const qn=rr?"x":"y",{Rt:Yn,Vt:ar}=Ie,tr=ar[qn],or=Yn[qn];return capNumber(0,1,tr/(tr+or)||0)},An=(rr,Jn,qn)=>{const Yn=Tn(qn,rr);return 1/Yn*(1-Yn)*Jn},$n=rr=>assignDeep(rr,{clear:["left"]}),Pn=rr=>{Cn.forEach((Jn,qn)=>{(rr?inArray(createOrKeepArray(rr),qn):!0)&&(each$g(Jn||[],ar=>{ar&&ar.cancel()}),Cn.delete(qn))})},Nn=(rr,Jn,qn,Yn)=>{const ar=Cn.get(rr)||[],tr=ar.find(or=>or&&or.timeline===Jn);tr?tr.effect=new KeyframeEffect(rr,qn,{composite:Yn}):Cn.set(rr,concat(ar,[rr.animate(qn,{timeline:Jn,composite:Yn})]))},Mn=(rr,Jn,qn)=>{const Yn=qn?addClass$1:removeClass$1;each$g(rr,ar=>{Yn(ar.Lt,Jn)})},In=(rr,Jn)=>{each$g(rr,qn=>{const[Yn,ar]=Jn(qn);setStyles(Yn,ar)})},On=(rr,Jn)=>{In(rr,qn=>{const{Mt:Yn}=qn;return[Yn,{[Jn?H$1:E$2]:ratioToCssPercent(Tn(Jn))}]})},Rn=(rr,Jn)=>{const{Pt:qn}=Ie,Yn=Jn?"x":"y",ar=xn[Yn],tr=isDefaultDirectionScrollCoordinates(qn)[Yn],or=(sr,Kn)=>getTrasformTranslateValue(ratioToCssPercent(An(sr,tr?Kn:1-Kn,Jn)),Jn);ar?each$g(rr,sr=>{const{Mt:Kn}=sr;Nn(Kn,ar,$n({transform:[0,1].map(Zn=>or(sr,Zn))}))}):In(rr,sr=>[sr.Mt,{transform:or(sr,getScrollCoordinatesPercent(qn,getElementScroll(vn))[Yn])}])},Bn=rr=>_n&&!bn&&parent$2(rr)===jt,Vn=[],Ln=[],Dn=[],Hn=(rr,Jn,qn)=>{const Yn=isBoolean$2(qn),ar=Yn?qn:!0,tr=Yn?!qn:!0;ar&&Mn(Ln,rr,Jn),tr&&Mn(Dn,rr,Jn)},Fn=()=>{On(Ln,!0),On(Dn)},zn=()=>{Rn(Ln,!0),Rn(Dn)},jn=()=>{if(_n){const{Rt:rr,Pt:Jn}=Ie,qn=isDefaultDirectionScrollCoordinates(Jn),Yn=.5;if(xn.x&&xn.y)each$g(concat(Dn,Ln),({Lt:ar})=>{if(Bn(ar)){const tr=or=>Nn(ar,xn[or],$n({transform:[0,qn[or]?1:-1].map(sr=>getTrasformTranslateValue(numberToCssPx(sr*(rr[or]-Yn)),or==="x"))}),"add");tr("x"),tr("y")}else Pn(ar)});else{const ar=getScrollCoordinatesPercent(Jn,getElementScroll(vn)),tr=or=>{const{Lt:sr}=or,Kn=Bn(sr)&&sr,Zn=(nr,lr,ir)=>{const kr=lr*nr;return numberToCssPx(ir?kr:-kr)};return[Kn,Kn&&{transform:getTrasformTranslateValue({x:Zn(ar.x,rr.x,qn.x),y:Zn(ar.y,rr.y,qn.y)})}]};In(Ln,tr),In(Dn,tr)}}},Gn=rr=>{const qn=createDiv(`${ut$1} ${rr?dt$1:ft$1}`),Yn=createDiv(pt$1),ar=createDiv(vt$1),tr={Lt:qn,kt:Yn,Mt:ar};return push$1(rr?Ln:Dn,tr),push$1(Vn,[appendChildren(qn,Yn),appendChildren(Yn,ar),bind$3(removeElements,qn),Pn,Fe(tr,Hn,Rn,rr)]),tr},Wn=bind$3(Gn,!0),Xn=bind$3(Gn,!1),er=()=>(appendChildren(En,Ln[0].Lt),appendChildren(En,Dn[0].Lt),bind$3(runEachAndClear,Vn));return Wn(),Xn(),[{Ut:Fn,Nt:zn,qt:jn,Bt:Hn,Ft:{V:xn.x,jt:Ln,Xt:Wn,Yt:bind$3(In,Ln)},Wt:{V:xn.y,jt:Dn,Xt:Xn,Yt:bind$3(In,Dn)}},er]},createScrollbarsSetupEvents=(xe,$e,Ie,Fe)=>(Ue,qe,At,Dt)=>{const{ht:Lt,ot:jt,nt:hn,gt:vn,Jt:bn,Ot:_n}=$e,{Lt:wn,kt:kn,Mt:Cn}=Ue,[Sn,xn]=selfClearTimeout(333),[En,Tn]=selfClearTimeout(444),[An,$n]=selfClearTimeout(),Pn=bind$3(At,[Ue],Dt),Nn=Bn=>{isFunction$4(vn.scrollBy)&&vn.scrollBy({behavior:"smooth",left:Bn.x,top:Bn.y})},Mn=Dt?H$1:E$2,In=()=>{const Bn="pointerup pointercancel lostpointercapture",Vn=`client${Dt?"X":"Y"}`,Ln=Dt?"left":"top",Dn=Dt?"w":"h",Hn=Dt?"x":"y",Fn=(zn,jn)=>Gn=>{const{Rt:Wn}=Ie,Xn=k$1(kn)[Dn]-k$1(Cn)[Dn],rr=jn*Gn/Xn*Wn[Hn];scrollElementTo(vn,{[Hn]:zn+rr})};return addEventListener$1(kn,"pointerdown",zn=>{const jn=closest(zn.target,`.${vt$1}`)===Cn,Gn=jn?Cn:kn,Wn=xe.scrollbars,{button:Xn,isPrimary:er,pointerType:rr}=zn,{pointers:Jn}=Wn;if(Xn===0&&er&&Wn[jn?"dragScroll":"clickScroll"]&&(Jn||[]).includes(rr)){Tn();const Yn=!jn&&zn.shiftKey,ar=bind$3(getBoundingClientRect$1,Cn),tr=bind$3(getBoundingClientRect$1,kn),or=(vr,xr)=>(vr||ar())[Ln]-(xr||tr())[Ln],sr=e$1(getBoundingClientRect$1(vn)[Mn])/k$1(vn)[Dn]||1,Kn=Fn(getElementScroll(vn)[Hn],1/sr),Zn=zn[Vn],nr=ar(),lr=tr(),ir=nr[Mn],kr=or(nr,lr)+ir/2,Cr=Zn-lr[Ln],Er=jn?0:Cr-kr,dr=vr=>{runEachAndClear(Pr),Gn.releasePointerCapture(vr.pointerId)},br=()=>_n(Q$1,!0),_r=br(),Pr=[()=>{const vr=getElementScroll(vn);_r();const xr=getElementScroll(vn),Rr={x:xr.x-vr.x,y:xr.y-vr.y};(c$1(Rr.x)>3||c$1(Rr.y)>3)&&(br(),scrollElementTo(vn,vr),Nn(Rr),En(_r))},addEventListener$1(bn,Bn,dr),addEventListener$1(bn,"selectstart",vr=>preventDefault$1(vr),{H:!1}),addEventListener$1(kn,Bn,dr),addEventListener$1(kn,"pointermove",vr=>{const xr=vr[Vn]-Zn;(jn||Yn)&&Kn(Er+xr)})];if(Gn.setPointerCapture(zn.pointerId),Yn)Kn(Er);else if(!jn){const vr=getStaticPluginModuleInstance(kt);vr&&push$1(Pr,vr(Kn,or,Er,ir,Cr))}}})};let On=!0;const Rn=Bn=>Bn.propertyName.indexOf(Mn)>-1;return bind$3(runEachAndClear,[addEventListener$1(Cn,"pointermove pointerleave",Fe),addEventListener$1(wn,"pointerenter",()=>{qe(bt$1,!0)}),addEventListener$1(wn,"pointerleave pointercancel",()=>{qe(bt$1,!1)}),!hn&&addEventListener$1(wn,"mousedown",()=>{const Bn=getFocusedElement();(hasAttr(Bn,X$2)||hasAttr(Bn,F$1)||Bn===document.body)&&a$1(bind$3(focusElement,jt),25)}),addEventListener$1(wn,"wheel",Bn=>{const{deltaX:Vn,deltaY:Ln,deltaMode:Dn}=Bn;On&&Dn===0&&parent$2(wn)===Lt&&Nn({x:Vn,y:Ln}),On=!1,qe(St$1,!0),Sn(()=>{On=!0,qe(St$1)}),preventDefault$1(Bn)},{H:!1,I:!0}),addEventListener$1(Cn,"transitionstart",Bn=>{if(Rn(Bn)){const Vn=()=>{Pn(),An(Vn)};Vn()}}),addEventListener$1(Cn,"transitionend transitioncancel",Bn=>{Rn(Bn)&&($n(),Pn())}),addEventListener$1(wn,"pointerdown",bind$3(addEventListener$1,bn,"click",stopAndPrevent,{A:!0,I:!0,H:!1}),{I:!0}),In(),xn,Tn,$n])},createScrollbarsSetup=(xe,$e,Ie,Fe,Ue,qe)=>{let At,Dt,Lt,jt,hn,vn=noop$7,bn=0;const _n=jn=>jn.pointerType==="mouse",[wn,kn]=selfClearTimeout(),[Cn,Sn]=selfClearTimeout(100),[xn,En]=selfClearTimeout(100),[Tn,An]=selfClearTimeout(()=>bn),[$n,Pn]=createScrollbarsSetupElements(xe,Ue,Fe,createScrollbarsSetupEvents($e,Ue,Fe,jn=>_n(jn)&&Dn())),{ht:Nn,Kt:Mn,yt:In}=Ue,{Bt:On,Ut:Rn,Nt:Bn,qt:Vn}=$n,Ln=(jn,Gn)=>{if(An(),jn)On(mt$1);else{const Wn=bind$3(On,mt$1,!0);bn>0&&!Gn?Tn(Wn):Wn()}},Dn=()=>{(Lt?!At:!jt)&&(Ln(!0),Cn(()=>{Ln(!1)}))},Hn=jn=>{On(yt$1,jn,!0),On(yt$1,jn,!1)},Fn=jn=>{_n(jn)&&(At=Lt,Lt&&Ln(!0))},zn=[An,Sn,En,kn,()=>vn(),addEventListener$1(Nn,"pointerover",Fn,{A:!0}),addEventListener$1(Nn,"pointerenter",Fn),addEventListener$1(Nn,"pointerleave",jn=>{_n(jn)&&(At=!1,Lt&&Ln(!1))}),addEventListener$1(Nn,"pointermove",jn=>{_n(jn)&&Dt&&Dn()}),addEventListener$1(Mn,"scroll",jn=>{wn(()=>{Bn(),Dn()}),qe(jn),Vn()})];return[()=>bind$3(runEachAndClear,push$1(zn,Pn())),({It:jn,Tt:Gn,Gt:Wn,Qt:Xn})=>{const{Zt:er,tn:rr,nn:Jn,sn:qn}=Xn||{},{Ct:Yn,dt:ar}=Wn||{},{ct:tr}=Ie,{M:or}=getEnvironment(),{G:sr,en:Kn}=Fe,[Zn,nr]=jn("showNativeOverlaidScrollbars"),[lr,ir]=jn("scrollbars.theme"),[kr,Cr]=jn("scrollbars.visibility"),[Er,dr]=jn("scrollbars.autoHide"),[br,_r]=jn("scrollbars.autoHideSuspend"),[Pr]=jn("scrollbars.autoHideDelay"),[vr,xr]=jn("scrollbars.dragScroll"),[Rr,Hr]=jn("scrollbars.clickScroll"),[Jr,Gr]=jn("overflow"),$r=ar&&!Gn,Br=Kn.x||Kn.y,Tr=er||rr||qn||Yn||Gn,cr=Jn||Cr||Gr,Sr=Zn&&or.x&&or.y,Dr=(mr,Lr,zr)=>{const Vr=mr.includes(A$1)&&(kr===z||kr==="auto"&&Lr===A$1);return On(ht$1,Vr,zr),Vr};if(bn=Pr,$r&&(br&&Br?(Hn(!1),vn(),xn(()=>{vn=addEventListener$1(Mn,"scroll",bind$3(Hn,!0),{A:!0})})):Hn(!0)),nr&&On(at$1,Sr),ir&&(On(hn),On(lr,!0),hn=lr),_r&&!br&&Hn(!0),dr&&(Dt=Er==="move",Lt=Er==="leave",jt=Er==="never",Ln(jt,!0)),xr&&On($t$1,vr),Hr&&On(Ot$1,Rr),cr){const mr=Dr(Jr.x,sr.x,!0),Lr=Dr(Jr.y,sr.y,!1);On(gt$1,!(mr&&Lr))}Tr&&(Rn(),Bn(),Vn(),On(wt$1,!Kn.x,!0),On(wt$1,!Kn.y,!1),On(_t$1,tr&&!In))},{},$n]},createStructureSetupElements=xe=>{const $e=getEnvironment(),{P:Ie,R:Fe}=$e,{elements:Ue}=Ie(),{host:qe,padding:At,viewport:Dt,content:Lt}=Ue,jt=isHTMLElement$1(xe),hn=jt?{}:xe,{elements:vn}=hn,{host:bn,padding:_n,viewport:wn,content:kn}=vn||{},Cn=jt?xe:hn.target,Sn=isBodyElement(Cn),xn=is(Cn,"textarea"),En=Cn.ownerDocument,Tn=En.documentElement,An=()=>En.defaultView||n,$n=bind$3(staticInitializationElement,[Cn]),Pn=bind$3(dynamicInitializationElement,[Cn]),Nn=bind$3(createDiv,""),Mn=bind$3($n,Nn,Dt),In=bind$3(Pn,Nn,Lt),On=Mn(wn),Rn=On===Cn,Bn=Rn&&Sn,Vn=!Rn&&In(kn),Ln=!Rn&&On===Vn,Dn=Bn?Tn:On,Hn=xn?$n(Nn,qe,bn):Cn,Fn=Bn?Dn:Hn,zn=!Rn&&Pn(Nn,At,_n),jn=!Ln&&Vn,Gn=[jn,Dn,zn,Fn].map(lr=>isHTMLElement$1(lr)&&!parent$2(lr)&&lr),Wn=lr=>lr&&inArray(Gn,lr),Xn=Wn(Dn)?Cn:Dn,er={vt:Cn,ht:Fn,ot:Dn,cn:zn,bt:jn,gt:Bn?Tn:Dn,Kt:Bn?En:Dn,rn:Sn?Tn:Xn,Jt:En,wt:xn,yt:Sn,Dt:jt,nt:Rn,ln:An,St:lr=>hasAttrClass(Dn,X$2,lr),Ot:(lr,ir)=>addRemoveAttrClass(Dn,X$2,lr,ir)},{vt:rr,ht:Jn,cn:qn,ot:Yn,bt:ar}=er,tr=[()=>{removeAttrs(Jn,[F$1,N$2]),removeAttrs(rr,N$2),Sn&&removeAttrs(Tn,[N$2,F$1])}],or=xn&&Wn(Jn);let sr=xn?rr:contents([ar,Yn,qn,Jn,rr].find(lr=>lr&&!Wn(lr)));const Kn=Bn?rr:ar||Yn,Zn=bind$3(runEachAndClear,tr);return[er,()=>{const lr=An(),ir=getFocusedElement(),kr=_r=>{appendChildren(parent$2(_r),contents(_r)),removeElements(_r)},Cr=_r=>addEventListener$1(_r,"focusin focusout focus blur",stopAndPrevent,{I:!0,H:!1}),Er="tabindex",dr=getAttr(Yn,Er),br=Cr(ir);return setAttrs(Jn,F$1,Rn?"":j),setAttrs(qn,tt$1,""),setAttrs(Yn,X$2,""),setAttrs(ar,nt$1,""),Rn||(setAttrs(Yn,Er,dr||"-1"),Sn&&setAttrs(Tn,B$1,"")),or&&(insertAfter(rr,Jn),push$1(tr,()=>{insertAfter(Jn,rr),removeElements(Jn)})),appendChildren(Kn,sr),appendChildren(Jn,qn),appendChildren(qn||Jn,!Rn&&Yn),appendChildren(Yn,ar),push$1(tr,[br,()=>{const _r=getFocusedElement(),Pr=Wn(Yn),vr=Pr&&_r===Yn?rr:_r,xr=Cr(vr);removeAttrs(qn,tt$1),removeAttrs(ar,nt$1),removeAttrs(Yn,X$2),Sn&&removeAttrs(Tn,B$1),dr?setAttrs(Yn,Er,dr):removeAttrs(Yn,Er),Wn(ar)&&kr(ar),Pr&&kr(Yn),Wn(qn)&&kr(qn),focusElement(vr),xr()}]),Fe&&!Rn&&(addAttrClass(Yn,X$2,G$1),push$1(tr,bind$3(removeAttrs,Yn,X$2))),focusElement(!Rn&&Sn&&ir===rr&&lr.top===lr?Yn:ir),br(),sr=0,Zn},Zn]},createTrinsicUpdateSegment=({bt:xe})=>({Gt:$e,an:Ie,Tt:Fe})=>{const{xt:Ue}=$e||{},{$t:qe}=Ie;xe&&(Ue||Fe)&&setStyles(xe,{[E$2]:qe&&"100%"})},createPaddingUpdateSegment=({ht:xe,cn:$e,ot:Ie,nt:Fe},Ue)=>{const[qe,At]=createCache({i:equalTRBL,o:topRightBottomLeft()},bind$3(topRightBottomLeft,xe,"padding",""));return({It:Dt,Gt:Lt,an:jt,Tt:hn})=>{let[vn,bn]=At(hn);const{R:_n}=getEnvironment(),{ft:wn,Ht:kn,Ct:Cn}=Lt||{},{ct:Sn}=jt,[xn,En]=Dt("paddingAbsolute");(wn||bn||(hn||kn))&&([vn,bn]=qe(hn));const An=!Fe&&(En||Cn||bn);if(An){const $n=!xn||!$e&&!_n,Pn=vn.r+vn.l,Nn=vn.t+vn.b,Mn={[O$1]:$n&&!Sn?-Pn:0,[$]:$n?-Nn:0,[S$1]:$n&&Sn?-Pn:0,top:$n?-vn.t:0,right:$n?Sn?-vn.r:"auto":0,left:$n?Sn?"auto":-vn.l:0,[H$1]:$n&&`calc(100% + ${Pn}px)`},In={[b$1]:$n?vn.t:0,[w$1]:$n?vn.r:0,[m$2]:$n?vn.b:0,[y]:$n?vn.l:0};setStyles($e||Ie,Mn),setStyles(Ie,In),assignDeep(Ue,{cn:vn,un:!$n,rt:$e?In:assignDeep({},Mn,In)})}return{_n:An}}},createOverflowUpdateSegment=(xe,$e)=>{const Ie=getEnvironment(),{ht:Fe,cn:Ue,ot:qe,nt:At,Kt:Dt,gt:Lt,yt:jt,Ot:hn,ln:vn}=xe,{R:bn}=Ie,_n=jt&&At,wn=bind$3(o$1,0),kn=["display","direction","flexDirection","writingMode"],Cn={i:equalWH,o:{w:0,h:0}},Sn={i:equalXY,o:{}},xn=jn=>{hn(K$1,!_n&&jn)},En=(jn,Gn)=>{const Wn=n.devicePixelRatio%1!==0?1:0,Xn={w:wn(jn.w-Gn.w),h:wn(jn.h-Gn.h)};return{w:Xn.w>Wn?Xn.w:0,h:Xn.h>Wn?Xn.h:0}},[Tn,An]=createCache(Cn,bind$3(getFractionalSize,qe)),[$n,Pn]=createCache(Cn,bind$3(R$1,qe)),[Nn,Mn]=createCache(Cn),[In]=createCache(Sn),[On,Rn]=createCache(Cn),[Bn]=createCache(Sn),[Vn]=createCache({i:(jn,Gn)=>equal(jn,Gn,kn),o:{}},()=>hasDimensions(qe)?getStyles(qe,kn):{}),[Ln,Dn]=createCache({i:(jn,Gn)=>equalXY(jn.T,Gn.T)&&equalXY(jn.D,Gn.D),o:getZeroScrollCoordinates()},()=>{xn(!0);const jn=getElementScroll(Lt),Gn=hn(Z$1,!0),Wn=addEventListener$1(Dt,A$1,qn=>{const Yn=getElementScroll(Lt);qn.isTrusted&&Yn.x===jn.x&&Yn.y===jn.y&&stopPropagation(qn)},{I:!0,A:!0});scrollElementTo(Lt,{x:0,y:0}),Gn();const Xn=getElementScroll(Lt),er=R$1(Lt);scrollElementTo(Lt,{x:er.w,y:er.h});const rr=getElementScroll(Lt);scrollElementTo(Lt,{x:rr.x-Xn.x<1&&-er.w,y:rr.y-Xn.y<1&&-er.h});const Jn=getElementScroll(Lt);return scrollElementTo(Lt,jn),i$1(()=>Wn()),{T:Xn,D:Jn}}),Hn=getStaticPluginModuleInstance(Tt$1),Fn=(jn,Gn)=>`${Gn?Y$1:W$1}${capitalizeFirstLetter(jn)}`,zn=jn=>{const Gn=Xn=>[z,I$2,A$1].map(er=>Fn(er,Xn)),Wn=Gn(!0).concat(Gn()).join(" ");hn(Wn),hn(keys$2(jn).map(Xn=>Fn(jn[Xn],Xn==="x")).join(" "),!0)};return({It:jn,Gt:Gn,an:Wn,Tt:Xn},{_n:er})=>{const{ft:rr,Ht:Jn,Ct:qn,dt:Yn,zt:ar}=Gn||{},tr=Hn&&Hn.tt(xe,$e,Wn,Ie,jn),{it:or,ut:sr,_t:Kn}=tr||{},[Zn,nr]=getShowNativeOverlaidScrollbars(jn,Ie),[lr,ir]=jn("overflow"),kr=overflowIsVisible(lr.x),Cr=overflowIsVisible(lr.y),Er=rr||er||Jn||qn||ar||nr;let dr=An(Xn),br=Pn(Xn),_r=Mn(Xn),Pr=Rn(Xn);if(nr&&bn&&hn(G$1,!Zn),Er){hasAttrClass(Fe,F$1,q$1)&&xn(!0);const[uo]=sr?sr():[],[go]=dr=Tn(Xn),[_o]=br=$n(Xn),Ao=M$1(qe),ko=_n&&getWindowSize(vn()),Do={w:wn(_o.w+go.w),h:wn(_o.h+go.h)},Ro={w:wn((ko?ko.w:Ao.w+wn(Ao.w-_o.w))+go.w),h:wn((ko?ko.h:Ao.h+wn(Ao.h-_o.h))+go.h)};uo&&uo(),Pr=On(Ro),_r=Nn(En(Do,Ro),Xn)}const[vr,xr]=Pr,[Rr,Hr]=_r,[Jr,Gr]=br,[$r,Br]=dr,[Tr,cr]=In({x:Rr.w>0,y:Rr.h>0}),Sr=kr&&Cr&&(Tr.x||Tr.y)||kr&&Tr.x&&!Tr.y||Cr&&Tr.y&&!Tr.x,Dr=er||qn||ar||Br||Gr||xr||Hr||ir||nr||Er,mr=createViewportOverflowState(Tr,lr),[Lr,zr]=Bn(mr.G),[,Vr]=Vn(Xn),Kr=qn||Yn||Vr||cr||Xn,[Yr,Ur]=Kr?Ln(Xn):Dn();return Dr&&(zr&&zn(mr.G),Kn&&or&&setStyles(qe,Kn(mr,Wn,or(mr,Jr,$r)))),xn(!1),addRemoveAttrClass(Fe,F$1,q$1,Sr),addRemoveAttrClass(Ue,tt$1,q$1,Sr),assignDeep($e,{G:Lr,Vt:{x:vr.w,y:vr.h},Rt:{x:Rr.w,y:Rr.h},en:Tr,Pt:sanitizeScrollCoordinates(Yr,Rr)}),{nn:zr,Zt:xr,tn:Hr,sn:Ur||Hr,dn:Kr}}},createStructureSetup=xe=>{const[$e,Ie,Fe]=createStructureSetupElements(xe),Ue={cn:{t:0,r:0,b:0,l:0},un:!1,rt:{[O$1]:0,[$]:0,[S$1]:0,[b$1]:0,[w$1]:0,[m$2]:0,[y]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},G:{x:I$2,y:I$2},en:{x:!1,y:!1},Pt:getZeroScrollCoordinates()},{vt:qe,gt:At,nt:Dt}=$e,{R:Lt,M:jt}=getEnvironment(),hn=!Lt&&(jt.x||jt.y),vn=[createTrinsicUpdateSegment($e),createPaddingUpdateSegment($e,Ue),createOverflowUpdateSegment($e,Ue)];return[Ie,bn=>{const _n={},kn=hn&&getElementScroll(At);return each$g(vn,Cn=>{assignDeep(_n,Cn(bn,_n)||{})}),scrollElementTo(At,kn),!Dt&&scrollElementTo(qe,0),_n},Ue,$e,Fe]},createSetups=(xe,$e,Ie,Fe,Ue)=>{const qe=createOptionCheck($e,{}),[At,Dt,Lt,jt,hn]=createStructureSetup(xe),[vn,bn,_n]=createObserversSetup(jt,Lt,qe,En=>{xn({},En)}),[wn,kn,,Cn]=createScrollbarsSetup(xe,$e,_n,Lt,jt,Ue),Sn=En=>keys$2(En).some(Tn=>!!En[Tn]),xn=(En,Tn)=>{if(Ie())return!1;const{fn:An,Tt:$n,At:Pn,pn:Nn}=En,Mn=An||{},In=!!$n,On={It:createOptionCheck($e,Mn,In),fn:Mn,Tt:In};if(Nn)return kn(On),!1;const Rn=Tn||bn(assignDeep({},On,{At:Pn})),Bn=Dt(assignDeep({},On,{an:_n,Gt:Rn}));kn(assignDeep({},On,{Gt:Rn,Qt:Bn}));const Vn=Sn(Rn),Ln=Sn(Bn),Dn=Vn||Ln||!isEmptyObject(Mn)||In;return Dn&&Fe(En,{Gt:Rn,Qt:Bn}),Dn};return[()=>{const{rn:En,gt:Tn}=jt,An=getElementScroll(En),$n=[vn(),At(),wn()];return scrollElementTo(Tn,An),bind$3(runEachAndClear,$n)},xn,()=>({vn:_n,hn:Lt}),{gn:jt,bn:Cn},hn]},OverlayScrollbars=(xe,$e,Ie)=>{const{N:Fe}=getEnvironment(),Ue=isHTMLElement$1(xe),qe=Ue?xe:xe.target,At=getInstance$1(qe);if($e&&!At){let Dt=!1;const Lt=[],jt={},hn=In=>{const On=removeUndefinedProperties(In),Rn=getStaticPluginModuleInstance(zt$1);return Rn?Rn(On,!0):On},vn=assignDeep({},Fe(),hn($e)),[bn,_n,wn]=createEventListenerHub(),[kn,Cn,Sn]=createEventListenerHub(Ie),xn=(In,On)=>{Sn(In,On),wn(In,On)},[En,Tn,An,$n,Pn]=createSetups(xe,vn,()=>Dt,({fn:In,Tt:On},{Gt:Rn,Qt:Bn})=>{const{ft:Vn,Ct:Ln,xt:Dn,Ht:Hn,Et:Fn,dt:zn}=Rn,{Zt:jn,tn:Gn,nn:Wn,sn:Xn}=Bn;xn("updated",[Mn,{updateHints:{sizeChanged:!!Vn,directionChanged:!!Ln,heightIntrinsicChanged:!!Dn,overflowEdgeChanged:!!jn,overflowAmountChanged:!!Gn,overflowStyleChanged:!!Wn,scrollCoordinatesChanged:!!Xn,contentMutation:!!Hn,hostMutation:!!Fn,appear:!!zn},changedOptions:In||{},force:!!On}])},In=>xn("scroll",[Mn,In])),Nn=In=>{removeInstance(qe),runEachAndClear(Lt),Dt=!0,xn("destroyed",[Mn,In]),_n(),Cn()},Mn={options(In,On){if(In){const Rn=On?Fe():{},Bn=getOptionsDiff(vn,assignDeep(Rn,hn(In)));isEmptyObject(Bn)||(assignDeep(vn,Bn),Tn({fn:Bn}))}return assignDeep({},vn)},on:kn,off:(In,On)=>{In&&On&&Cn(In,On)},state(){const{vn:In,hn:On}=An(),{ct:Rn}=In,{Vt:Bn,Rt:Vn,G:Ln,en:Dn,cn:Hn,un:Fn,Pt:zn}=On;return assignDeep({},{overflowEdge:Bn,overflowAmount:Vn,overflowStyle:Ln,hasOverflow:Dn,scrollCoordinates:{start:zn.T,end:zn.D},padding:Hn,paddingAbsolute:Fn,directionRTL:Rn,destroyed:Dt})},elements(){const{vt:In,ht:On,cn:Rn,ot:Bn,bt:Vn,gt:Ln,Kt:Dn}=$n.gn,{Ft:Hn,Wt:Fn}=$n.bn,zn=Gn=>{const{Mt:Wn,kt:Xn,Lt:er}=Gn;return{scrollbar:er,track:Xn,handle:Wn}},jn=Gn=>{const{jt:Wn,Xt:Xn}=Gn,er=zn(Wn[0]);return assignDeep({},er,{clone:()=>{const rr=zn(Xn());return Tn({pn:!0}),rr}})};return assignDeep({},{target:In,host:On,padding:Rn||Bn,viewport:Bn,content:Vn||Bn,scrollOffsetElement:Ln,scrollEventElement:Dn,scrollbarHorizontal:jn(Hn),scrollbarVertical:jn(Fn)})},update:In=>Tn({Tt:In,At:!0}),destroy:bind$3(Nn,!1),plugin:In=>jt[keys$2(In)[0]]};return push$1(Lt,[Pn]),addInstance(qe,Mn),registerPluginModuleInstances(Ht$1,OverlayScrollbars,[Mn,bn,jt]),cancelInitialization($n.gn.yt,!Ue&&xe.cancel)?(Nn(!0),Mn):(push$1(Lt,En()),xn("initialized",[Mn]),Mn.update(!0),Mn)}return At};OverlayScrollbars.plugin=xe=>{const $e=isArray$5(xe),Ie=$e?xe:[xe],Fe=Ie.map(Ue=>registerPluginModuleInstances(Ue,OverlayScrollbars)[0]);return addPlugins(Ie),$e?Fe:Fe[0]};OverlayScrollbars.valid=xe=>{const $e=xe&&xe.elements,Ie=isFunction$4($e)&&$e();return isPlainObject$3(Ie)&&!!getInstance$1(Ie.target)};OverlayScrollbars.env=()=>{const{k:xe,M:$e,R:Ie,V:Fe,B:Ue,F:qe,P:At,U:Dt,N:Lt,q:jt}=getEnvironment();return assignDeep({},{scrollbarsSize:xe,scrollbarsOverlaid:$e,scrollbarsHiding:Ie,scrollTimeline:Fe,staticDefaultInitialization:Ue,staticDefaultOptions:qe,getDefaultInitialization:At,setDefaultInitialization:Dt,getDefaultOptions:Lt,setDefaultOptions:jt})};const g=()=>{if(typeof window>"u"){const jt=()=>{};return[jt,jt]}let xe,$e;const Ie=window,Fe=typeof Ie.requestIdleCallback=="function",Ue=Ie.requestAnimationFrame,qe=Ie.cancelAnimationFrame,At=Fe?Ie.requestIdleCallback:Ue,Dt=Fe?Ie.cancelIdleCallback:qe,Lt=()=>{Dt(xe),qe($e)};return[(jt,hn)=>{Lt(),xe=At(Fe?()=>{Lt(),$e=Ue(jt)}:jt,typeof hn=="object"?hn:{timeout:2233})},Lt]},x$1=xe=>{let $e=null,Ie,Fe,Ue;const qe=shallowRef(xe||{}),[At,Dt]=g();return watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.defer)},Lt=>{Ue=Lt},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.options)},Lt=>{Ie=Lt,OverlayScrollbars.valid($e)&&$e.options(Ie||{},!0)},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.events)},Lt=>{Fe=Lt,OverlayScrollbars.valid($e)&&$e.on(Fe||{},!0)},{deep:!0,immediate:!0}),onUnmounted(()=>{Dt(),$e==null||$e.destroy()}),[Lt=>{if(OverlayScrollbars.valid($e))return $e;const jt=()=>$e=OverlayScrollbars(Lt,Ie||{},Fe||{});Ue?At(jt,Ue):jt()},()=>$e]},P$2=defineComponent({__name:"OverlayScrollbarsComponent",props:{element:{type:[String,Object],default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:qe,options:At,events:Dt,defer:Lt}=toRefs(Fe),jt=shallowRef(null),hn=shallowRef(null),vn=ref(),[bn,_n]=x$1({options:At,events:vn,defer:Lt});return $e({osInstance:_n,getElement:()=>jt.value}),watchPostEffect(wn=>{const{value:kn}=jt,{value:Cn}=hn;kn&&(bn(qe.value==="body"?{target:kn,cancel:{body:null}}:{target:kn,elements:{viewport:Cn,content:Cn}}),wn(()=>{var Sn;return(Sn=_n())==null?void 0:Sn.destroy()}))}),watch(()=>unref(Dt),wn=>{const kn=wn||{};vn.value=Object.keys(Ue).reduce((Cn,Sn)=>{const xn=kn[Sn];return Cn[Sn]=[(...En)=>Ie(Ue[Sn],...En),...(Array.isArray(xn)?xn:[xn]).filter(Boolean)],Cn},{})},{deep:!0,immediate:!0}),(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(unref(qe)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:jt},{default:withCtx(()=>[unref(qe)==="body"?renderSlot(wn.$slots,"default",{key:0}):(openBlock(),createElementBlock("div",{key:1,"data-overlayscrollbars-contents":"",ref_key:"slotRef",ref:hn},[renderSlot(wn.$slots,"default")],512))]),_:3},512))}}),_hoisted_1$1d={flex:"~ items-center justify-between","p-4":"","border-b":"~ solid stone/15","text-6":""},_hoisted_2$N={key:0,flex:"~ items-center justify-end","px-3":"","py-2":"","border-t":"~ solid stone/15"},_sfc_main$2x=defineComponent({__name:"HSlideover",props:mergeModels({appear:{type:Boolean,default:!1},side:{default:"right"},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:mergeModels(["close"],["update:modelValue"]),setup(xe,{emit:$e}){const Ie=xe,Fe=$e,Ue=useModel(xe,"modelValue"),qe=useSlots(),At=ref({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),Dt=computed(()=>({enter:"transform transition ease-in-out duration-300",leave:"transform transition ease-in-out duration-200",enterFrom:Ie.side==="left"?"-translate-x-full":"translate-x-full",enterTo:"translate-x-0",leaveFrom:"translate-x-0",leaveTo:Ie.side==="left"?"-translate-x-full":"translate-x-full"}));function Lt(){Ue.value=!1,Fe("close")}return(jt,hn)=>{const vn=_sfc_main$2y;return openBlock(),createBlock(unref(Se$1),{as:"template",appear:jt.appear,show:Ue.value},{default:withCtx(()=>[createVNode$1(unref(Ye$1),{class:normalizeClass(["fixed inset-0 z-2000 flex",{"justify-end":jt.side==="right"}]),onClose:hn[0]||(hn[0]=bn=>!jt.preventClose&&Lt())},{default:withCtx(()=>[createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(At)),{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":jt.overlay}])},null,2)]),_:1},16,["appear"]),createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(Dt)),{default:withCtx(()=>[createVNode$1(unref(Ge$1),{relative:"","max-w-md":"","w-full":"","w-screen":"",flex:"","flex-1":"","flex-col":"","bg-white":"","dark-bg-stone-8":"","focus-outline-none":""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1d,[createVNode$1(unref(Ve),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:withCtx(()=>[createTextVNode(toDisplayString(jt.title),1)]),_:1}),createVNode$1(vn,{name:"i-carbon:close","cursor-pointer":"",onClick:Lt})]),createVNode$1(unref(Je$1),{"m-0":"","flex-1":"","of-y-hidden":""},{default:withCtx(()=>[createVNode$1(unref(P$2),{options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full p-4"},{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3})]),_:3}),unref(qe).footer?(openBlock(),createElementBlock("div",_hoisted_2$N,[renderSlot(jt.$slots,"footer")])):createCommentVNode("",!0)]),_:3})]),_:3},16,["appear"])]),_:3},8,["class"])]),_:3},8,["appear","show"])}}});function mitt(xe){return{all:xe=xe||new Map,on:function($e,Ie){var Fe=xe.get($e);Fe?Fe.push(Ie):xe.set($e,[Ie])},off:function($e,Ie){var Fe=xe.get($e);Fe&&(Ie?Fe.splice(Fe.indexOf(Ie)>>>0,1):xe.set($e,[]))},emit:function($e,Ie){var Fe=xe.get($e);Fe&&Fe.slice().map(function(Ue){Ue(Ie)}),(Fe=xe.get("*"))&&Fe.slice().map(function(Ue){Ue($e,Ie)})}}}const eventBus=mitt();var define_SYSTEM_INFO_default={pkg:{version:"4.0.0",dependencies:{"@element-plus/icons-vue":"^2.3.1","@headlessui/vue":"^1.7.22","@imengyu/vue3-context-menu":"^1.4.1","@vueuse/core":"^10.10.0","@vueuse/integrations":"^10.10.0",autoprefixer:"^10.4.19",axios:"^1.7.2",dayjs:"^1.11.11",echarts:"^5.5.0","element-plus":"^2.7.4",eruda:"^3.0.1","floating-vue":"5.2.2","hotkeys-js":"^3.13.7",less:"^4.2.0","lodash-es":"^4.17.21",marked:"^13.0.0","md-editor-v3":"^4.16.7",mitt:"^3.0.1",mockjs:"^1.1.0",nprogress:"^0.2.0",overlayscrollbars:"^2.8.3","overlayscrollbars-vue":"^0.5.9","path-browserify":"^1.0.1","path-to-regexp":"^6.2.2","resize-observer-polyfill":"^1.5.1",vconsole:"^3.15.1",vue:"^3.4.27","vue-m-message":"^4.0.2","vue-router":"^4.3.2"},devDependencies:{"@iconify/json":"^2.2.217","@iconify/vue":"^4.1.2","@types/lodash-es":"^4.17.12","@types/mockjs":"^1.0.10","@types/path-browserify":"^1.0.2","@unocss/core":"^0.61.0","@unocss/preset-mini":"^0.61.0","@vitejs/plugin-legacy":"^5.4.1","@vitejs/plugin-vue":"^5.0.5","@vitejs/plugin-vue-jsx":"^4.0.0",archiver:"^7.0.1",boxen:"^7.1.1",bumpp:"^9.4.1",eslint:"^9.4.0",esno:"^4.7.0","fs-extra":"^11.2.0","http-server":"^14.1.1",inquirer:"^9.2.23","npm-run-all2":"^6.2.0",picocolors:"^1.0.1",plop:"^4.0.1",sass:"^1.77.4",stylelint:"^16.6.1",svgo:"^3.3.2",typescript:"^5.4.5",unocss:"^0.60.4","unplugin-auto-import":"^0.17.6","unplugin-turbo-console":"^1.8.6","unplugin-vue-components":"^0.27.0",vite:"^5.2.12","vite-plugin-banner":"^0.7.1","vite-plugin-checker":"^0.6.4","vite-plugin-compression2":"^1.1.1","vite-plugin-fake-server":"^2.1.1","vite-plugin-pages":"^0.32.2","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-devtools":"^7.2.1","vite-plugin-vue-meta-layouts":"^0.4.3","vue-tsc":"^2.0.19"}},lastBuildTime:"2024-12-12 23:07:13"};const _hoisted_1$1c={class:"px-4"},_hoisted_2$M=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 最后编译时间 ",-1),_hoisted_3$o={class:"my-4 text-center text-lg font-sans"},_hoisted_4$e={class:"px-4"},_hoisted_5$9=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 生产环境依赖 ",-1),_hoisted_6$6={class:"list-none pl-0 text-sm"},_hoisted_7$4={class:"font-bold"},_hoisted_8$4={class:"font-sans"},_hoisted_9$3={class:"px-4"},_hoisted_10$2=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 开发环境依赖 ",-1),_hoisted_11$2={class:"list-none pl-0 text-sm"},_hoisted_12$2={class:"font-bold"},_hoisted_13$2={class:"font-sans"},_sfc_main$2w=defineComponent({__name:"index",setup(xe){const $e=ref(!1),{pkg:Ie,lastBuildTime:Fe}=define_SYSTEM_INFO_default;return onMounted(()=>{eventBus.on("global-system-info-toggle",()=>{$e.value=!$e.value})}),(Ue,qe)=>{const At=_sfc_main$2x;return openBlock(),createBlock(At,{modelValue:unref($e),"onUpdate:modelValue":qe[0]||(qe[0]=Dt=>isRef($e)?$e.value=Dt:null),title:"系统信息"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1c,[_hoisted_2$M,createBaseVNode("div",_hoisted_3$o,toDisplayString(unref(Fe)),1)]),createBaseVNode("div",_hoisted_4$e,[_hoisted_5$9,createBaseVNode("ul",_hoisted_6$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).dependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_7$4,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_8$4,toDisplayString(Dt),1)]))),128))])]),createBaseVNode("div",_hoisted_9$3,[_hoisted_10$2,createBaseVNode("ul",_hoisted_11$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).devDependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_12$2,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_13$2,toDisplayString(Dt),1)]))),128))])])]),_:1},8,["modelValue"])}}}),_hoisted_1$1b=["disabled"],_sfc_main$2v=defineComponent({__name:"HButton",props:{block:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(xe){const $e=xe,Ie=computed(()=>["focus-outline-none focus-visible-outline-0 cursor-pointer disabled-cursor-not-allowed disabled-opacity-75 flex-shrink-0 gap-x-1.5 px-2.5 py-1.5 border-size-0 font-medium text-sm rounded-md select-none",$e.block?"w-full flex justify-center items-center":"inline-flex items-center",$e.outline?"shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark-bg-dark hover-not-disabled-bg-ui-primary/10 dark-hover-not-disabled-bg-ui-primary/10 focus-visible-ring-2":"shadow-sm text-ui-text bg-ui-primary hover-bg-ui-primary/75 disabled-bg-ui-primary/90 focus-visible-ring-inset focus-visible-ring-2"]);return(Fe,Ue)=>(openBlock(),createElementBlock("button",{disabled:Fe.disabled,class:normalizeClass(unref(Ie))},[renderSlot(Fe.$slots,"default")],10,_hoisted_1$1b))}});var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$2=root.Symbol,objectProto$f=Object.prototype,hasOwnProperty$d=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(xe){var $e=hasOwnProperty$d.call(xe,symToStringTag$1),Ie=xe[symToStringTag$1];try{xe[symToStringTag$1]=void 0;var Fe=!0}catch{}var Ue=nativeObjectToString$1.call(xe);return Fe&&($e?xe[symToStringTag$1]=Ie:delete xe[symToStringTag$1]),Ue}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString(xe){return nativeObjectToString.call(xe)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(xe){return xe==null?xe===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(xe)?getRawTag(xe):objectToString(xe)}function isObjectLike(xe){return xe!=null&&typeof xe=="object"}var symbolTag$3="[object Symbol]";function isSymbol(xe){return typeof xe=="symbol"||isObjectLike(xe)&&baseGetTag(xe)==symbolTag$3}function arrayMap(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length,Ue=Array(Fe);++Ie0){if(++$e>=HOT_COUNT)return arguments[0]}else $e=0;return xe.apply(void 0,arguments)}}function constant(xe){return function(){return xe}}var defineProperty=function(){try{var xe=getNative(Object,"defineProperty");return xe({},"",{}),xe}catch{}}(),baseSetToString=defineProperty?function(xe,$e){return defineProperty(xe,"toString",{configurable:!0,enumerable:!1,value:constant($e),writable:!0})}:identity$2,setToString=shortOut(baseSetToString);function arrayEach(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length;++Ie-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(xe,$e){var Ie=typeof xe;return $e=$e??MAX_SAFE_INTEGER$2,!!$e&&(Ie=="number"||Ie!="symbol"&&reIsUint.test(xe))&&xe>-1&&xe%1==0&&xe<$e}function baseAssignValue(xe,$e,Ie){$e=="__proto__"&&defineProperty?defineProperty(xe,$e,{configurable:!0,enumerable:!0,value:Ie,writable:!0}):xe[$e]=Ie}function eq(xe,$e){return xe===$e||xe!==xe&&$e!==$e}var objectProto$c=Object.prototype,hasOwnProperty$b=objectProto$c.hasOwnProperty;function assignValue(xe,$e,Ie){var Fe=xe[$e];(!(hasOwnProperty$b.call(xe,$e)&&eq(Fe,Ie))||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function copyObject(xe,$e,Ie,Fe){var Ue=!Ie;Ie||(Ie={});for(var qe=-1,At=$e.length;++qe-1&&xe%1==0&&xe<=MAX_SAFE_INTEGER$1}function isArrayLike$1(xe){return xe!=null&&isLength(xe.length)&&!isFunction$3(xe)}function isIterateeCall(xe,$e,Ie){if(!isObject$6(Ie))return!1;var Fe=typeof $e;return(Fe=="number"?isArrayLike$1(Ie)&&isIndex($e,Ie.length):Fe=="string"&&$e in Ie)?eq(Ie[$e],xe):!1}function createAssigner(xe){return baseRest(function($e,Ie){var Fe=-1,Ue=Ie.length,qe=Ue>1?Ie[Ue-1]:void 0,At=Ue>2?Ie[2]:void 0;for(qe=xe.length>3&&typeof qe=="function"?(Ue--,qe):void 0,At&&isIterateeCall(Ie[0],Ie[1],At)&&(qe=Ue<3?void 0:qe,Ue=1),$e=Object($e);++Fe-1}function listCacheSet$1(xe,$e){var Ie=this.__data__,Fe=assocIndexOf(Ie,xe);return Fe<0?(++this.size,Ie.push([xe,$e])):Ie[Fe][1]=$e,this}function ListCache(xe){var $e=-1,Ie=xe==null?0:xe.length;for(this.clear();++$e0&&Ie(Dt)?$e>1?baseFlatten(Dt,$e-1,Ie,Fe,Ue):arrayPush(Ue,Dt):Fe||(Ue[Ue.length]=Dt)}return Ue}function flatten(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,1):[]}function flatRest(xe){return setToString(overRest(xe,void 0,flatten),xe+"")}var getPrototype=overArg(Object.getPrototypeOf,Object),objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$4=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(xe){if(!isObjectLike(xe)||baseGetTag(xe)!=objectTag$3)return!1;var $e=getPrototype(xe);if($e===null)return!0;var Ie=hasOwnProperty$4.call($e,"constructor")&&$e.constructor;return typeof Ie=="function"&&Ie instanceof Ie&&funcToString.call(Ie)==objectCtorString}function baseSlice(xe,$e,Ie){var Fe=-1,Ue=xe.length;$e<0&&($e=-$e>Ue?0:Ue+$e),Ie=Ie>Ue?Ue:Ie,Ie<0&&(Ie+=Ue),Ue=$e>Ie?0:Ie-$e>>>0,$e>>>=0;for(var qe=Array(Ue);++FeDt))return!1;var jt=qe.get(xe),hn=qe.get($e);if(jt&&hn)return jt==$e&&hn==xe;var vn=-1,bn=!0,_n=Ie&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(qe.set(xe,$e),qe.set($e,xe);++vn=$e||Pn<0||vn&&Nn>=qe}function Sn(){var $n=now();if(Cn($n))return xn($n);Dt=setTimeout(Sn,kn($n))}function xn($n){return Dt=void 0,bn&&Fe?_n($n):(Fe=Ue=void 0,At)}function En(){Dt!==void 0&&clearTimeout(Dt),jt=0,Fe=Lt=Ue=Dt=void 0}function Tn(){return Dt===void 0?At:xn(now())}function An(){var $n=now(),Pn=Cn($n);if(Fe=arguments,Ue=this,Lt=$n,Pn){if(Dt===void 0)return wn(Lt);if(vn)return clearTimeout(Dt),Dt=setTimeout(Sn,$e),_n(Lt)}return Dt===void 0&&(Dt=setTimeout(Sn,$e)),At}return An.cancel=En,An.flush=Tn,An}function assignMergeValue(xe,$e,Ie){(Ie!==void 0&&!eq(xe[$e],Ie)||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function isArrayLikeObject(xe){return isObjectLike(xe)&&isArrayLike$1(xe)}function safeGet(xe,$e){if(!($e==="constructor"&&typeof xe[$e]=="function")&&$e!="__proto__")return xe[$e]}function toPlainObject(xe){return copyObject(xe,keysIn(xe))}function baseMergeDeep(xe,$e,Ie,Fe,Ue,qe,At){var Dt=safeGet(xe,Ie),Lt=safeGet($e,Ie),jt=At.get(Lt);if(jt){assignMergeValue(xe,Ie,jt);return}var hn=qe?qe(Dt,Lt,Ie+"",xe,$e,At):void 0,vn=hn===void 0;if(vn){var bn=isArray$4(Lt),_n=!bn&&isBuffer$1(Lt),wn=!bn&&!_n&&isTypedArray$2(Lt);hn=Lt,bn||_n||wn?isArray$4(Dt)?hn=Dt:isArrayLikeObject(Dt)?hn=copyArray(Dt):_n?(vn=!1,hn=cloneBuffer(Lt,!0)):wn?(vn=!1,hn=cloneTypedArray(Lt,!0)):hn=[]:isPlainObject$2(Lt)||isArguments(Lt)?(hn=Dt,isArguments(Dt)?hn=toPlainObject(Dt):(!isObject$6(Dt)||isFunction$3(Dt))&&(hn=initCloneObject(Lt))):vn=!1}vn&&(At.set(Lt,hn),Ue(hn,Lt,Fe,qe,At),At.delete(Lt)),assignMergeValue(xe,Ie,hn)}function baseMerge(xe,$e,Ie,Fe,Ue){xe!==$e&&baseFor($e,function(qe,At){if(Ue||(Ue=new Stack),isObject$6(qe))baseMergeDeep(xe,$e,At,Ie,baseMerge,Fe,Ue);else{var Dt=Fe?Fe(safeGet(xe,At),qe,At+"",xe,$e,Ue):void 0;Dt===void 0&&(Dt=qe),assignMergeValue(xe,At,Dt)}},keysIn)}function customDefaultsMerge(xe,$e,Ie,Fe,Ue,qe){return isObject$6(xe)&&isObject$6($e)&&(qe.set($e,xe),baseMerge(xe,$e,void 0,customDefaultsMerge,qe),qe.delete($e)),xe}var mergeWith=createAssigner(function(xe,$e,Ie,Fe){baseMerge(xe,$e,Ie,Fe)}),defaultsDeep=baseRest(function(xe){return xe.push(void 0,customDefaultsMerge),apply(mergeWith,void 0,xe)});function last(xe){var $e=xe==null?0:xe.length;return $e?xe[$e-1]:void 0}function findLastIndex(xe,$e,Ie){var Fe=xe==null?0:xe.length;if(!Fe)return-1;var Ue=Fe-1;return baseFindIndex(xe,baseIteratee($e),Ue,!0)}function baseMap(xe,$e){var Ie=-1,Fe=isArrayLike$1(xe)?Array(xe.length):[];return baseEach(xe,function(Ue,qe,At){Fe[++Ie]=$e(Ue,qe,At)}),Fe}function map$2(xe,$e){var Ie=isArray$4(xe)?arrayMap:baseMap;return Ie(xe,baseIteratee($e))}function flatMap(xe,$e){return baseFlatten(map$2(xe,$e),1)}var INFINITY$1=1/0;function flattenDeep(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,INFINITY$1):[]}function fromPairs(xe){for(var $e=-1,Ie=xe==null?0:xe.length,Fe={};++$e1),qe}),copyObject(xe,getAllKeysIn(xe),Ie),Fe&&(Ie=baseClone(Ie,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var Ue=$e.length;Ue--;)baseUnset(Ie,$e[Ue]);return Ie});function baseSet(xe,$e,Ie,Fe){if(!isObject$6(xe))return xe;$e=castPath($e,xe);for(var Ue=-1,qe=$e.length,At=qe-1,Dt=xe;Dt!=null&&++Ue=LARGE_ARRAY_SIZE){var jt=createSet(xe);if(jt)return setToArray(jt);At=!1,Ue=cacheHas,Lt=new SetCache}else Lt=Dt;e:for(;++Fe{const{o:Ie,i:Fe,u:Ue}=xe;let qe=Ie,At;const Dt=(hn,vn)=>{const bn=qe,_n=hn,wn=vn||(Fe?!Fe(bn,_n):bn!==_n);return(wn||Ue)&&(qe=_n,At=bn),[qe,wn,At]};return[$e?hn=>Dt($e(qe,At),hn):Dt,hn=>[qe,!!hn,At]]},t=typeof window<"u"&&typeof document<"u",n=t?window:{},o$1=Math.max,s$1=Math.min,e$1=Math.round,c$1=Math.abs,r=Math.sign,l$1=n.cancelAnimationFrame,i$1=n.requestAnimationFrame,a$1=n.setTimeout,u$1=n.clearTimeout,getApi=xe=>typeof n[xe]<"u"?n[xe]:void 0,_$1=getApi("MutationObserver"),d$1=getApi("IntersectionObserver"),f$1=getApi("ResizeObserver"),p$1=getApi("ScrollTimeline"),v$1=t&&Node.ELEMENT_NODE,{toString:h$1,hasOwnProperty:g$1}=Object.prototype,isUndefined$3=xe=>xe===void 0,isNull=xe=>xe===null,isNumber$3=xe=>typeof xe=="number",isString$3=xe=>typeof xe=="string",isBoolean$2=xe=>typeof xe=="boolean",isFunction$4=xe=>typeof xe=="function",isArray$5=xe=>Array.isArray(xe),isObject$7=xe=>typeof xe=="object"&&!isArray$5(xe)&&!isNull(xe),isArrayLike$2=xe=>{const $e=!!xe&&xe.length,Ie=isNumber$3($e)&&$e>-1&&$e%1==0;return isArray$5(xe)||!isFunction$4(xe)&&Ie?$e>0&&isObject$7(xe)?$e-1 in xe:!0:!1},isPlainObject$3=xe=>{if(!xe||!isObject$7(xe))return!1;let $e;const Ie="constructor",Fe=xe[Ie],Ue=Fe&&Fe.prototype,qe=g$1.call(xe,Ie),At=Ue&&g$1.call(Ue,"isPrototypeOf");if(Fe&&!qe&&!At)return!1;for($e in xe);return isUndefined$3($e)||g$1.call(xe,$e)},isHTMLElement$1=xe=>{const $e=HTMLElement;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1},isElement$2=xe=>{const $e=Element;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1};function each$g(xe,$e){if(isArrayLike$2(xe))for(let Ie=0;Ie$e(xe[Ie],Ie,xe));return xe}const inArray=(xe,$e)=>xe.indexOf($e)>=0,concat=(xe,$e)=>xe.concat($e),push$1=(xe,$e,Ie)=>(!isString$3($e)&&isArrayLike$2($e)?Array.prototype.push.apply(xe,$e):xe.push($e),xe),from=xe=>Array.from(xe||[]),createOrKeepArray=xe=>isArray$5(xe)?xe:[xe],isEmptyArray=xe=>!!xe&&!xe.length,deduplicateArray=xe=>from(new Set(xe)),runEachAndClear=(xe,$e,Ie)=>{each$g(xe,Ue=>Ue&&Ue.apply(void 0,$e||[])),!Ie&&(xe.length=0)},b$1="paddingTop",w$1="paddingRight",y="paddingLeft",m$2="paddingBottom",S$1="marginLeft",O$1="marginRight",$="marginBottom",C$1="overflowX",x$2="overflowY",H$1="width",E$2="height",z="visible",I$2="hidden",A$1="scroll",capitalizeFirstLetter=xe=>{const $e=String(xe||"");return $e?$e[0].toUpperCase()+$e.slice(1):""},equal=(xe,$e,Ie,Fe)=>{if(xe&&$e){let Ue=!0;return each$g(Ie,qe=>{const At=xe[qe],Dt=$e[qe];At!==Dt&&(Ue=!1)}),Ue}return!1},equalWH=(xe,$e)=>equal(xe,$e,["w","h"]),equalXY=(xe,$e)=>equal(xe,$e,["x","y"]),equalTRBL=(xe,$e)=>equal(xe,$e,["t","r","b","l"]),noop$7=()=>{},bind$3=(xe,...$e)=>xe.bind(0,...$e),selfClearTimeout=xe=>{let $e;const Ie=xe?a$1:i$1,Fe=xe?u$1:l$1;return[Ue=>{Fe($e),$e=Ie(()=>Ue(),isFunction$4(xe)?xe():xe)},()=>Fe($e)]},debounce$1=(xe,$e)=>{const{_:Ie,p:Fe,v:Ue,m:qe}=$e||{};let At,Dt,Lt,jt,hn=noop$7;const vn=function(Cn){hn(),u$1(At),jt=At=Dt=void 0,hn=noop$7,xe.apply(this,Cn)},bn=kn=>qe&&Dt?qe(Dt,kn):kn,_n=()=>{hn!==noop$7&&vn(bn(Lt)||Lt)},wn=function(){const Cn=from(arguments),Sn=isFunction$4(Ie)?Ie():Ie;if(isNumber$3(Sn)&&Sn>=0){const En=isFunction$4(Fe)?Fe():Fe,Tn=isNumber$3(En)&&En>=0,An=Sn>0?a$1:i$1,$n=Sn>0?u$1:l$1,Nn=bn(Cn)||Cn,Mn=vn.bind(0,Nn);let In;hn(),Ue&&!jt?(Mn(),jt=!0,In=An(()=>jt=void 0,Sn)):(In=An(Mn,Sn),Tn&&!At&&(At=a$1(_n,En))),hn=()=>$n(In),Dt=Lt=Nn}else vn(Cn)};return wn.S=_n,wn},hasOwnProperty$e=(xe,$e)=>Object.prototype.hasOwnProperty.call(xe,$e),keys$2=xe=>xe?Object.keys(xe):[],assignDeep=(xe,$e,Ie,Fe,Ue,qe,At)=>{const Dt=[$e,Ie,Fe,Ue,qe,At];return(typeof xe!="object"||isNull(xe))&&!isFunction$4(xe)&&(xe={}),each$g(Dt,Lt=>{each$g(Lt,(jt,hn)=>{const vn=Lt[hn];if(xe===vn)return!0;const bn=isArray$5(vn);if(vn&&isPlainObject$3(vn)){const _n=xe[hn];let wn=_n;bn&&!isArray$5(_n)?wn=[]:!bn&&!isPlainObject$3(_n)&&(wn={}),xe[hn]=assignDeep(wn,vn)}else xe[hn]=bn?vn.slice():vn})}),xe},removeUndefinedProperties=(xe,$e)=>each$g(assignDeep({},xe),(Ie,Fe,Ue)=>{Ie===void 0?delete Ue[Fe]:Ie&&isPlainObject$3(Ie)&&(Ue[Fe]=removeUndefinedProperties(Ie))}),isEmptyObject=xe=>{for(const $e in xe)return!1;return!0},capNumber=(xe,$e,Ie)=>o$1(xe,s$1($e,Ie)),getDomTokensArray=xe=>from(new Set((isArray$5(xe)?xe:(xe||"").split(" ")).filter($e=>$e))),getAttr=(xe,$e)=>xe&&xe.getAttribute($e),hasAttr=(xe,$e)=>xe&&xe.hasAttribute($e),setAttrs=(xe,$e,Ie)=>{each$g(getDomTokensArray($e),Fe=>{xe&&xe.setAttribute(Fe,String(Ie||""))})},removeAttrs=(xe,$e)=>{each$g(getDomTokensArray($e),Ie=>xe&&xe.removeAttribute(Ie))},domTokenListAttr=(xe,$e)=>{const Ie=getDomTokensArray(getAttr(xe,$e)),Fe=bind$3(setAttrs,xe,$e),Ue=(qe,At)=>{const Dt=new Set(Ie);return each$g(getDomTokensArray(qe),Lt=>{Dt[At](Lt)}),from(Dt).join(" ")};return{O:qe=>Fe(Ue(qe,"delete")),$:qe=>Fe(Ue(qe,"add")),C:qe=>{const At=getDomTokensArray(qe);return At.reduce((Dt,Lt)=>Dt&&Ie.includes(Lt),At.length>0)}}},removeAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).O(Ie),bind$3(addAttrClass,xe,$e,Ie)),addAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).$(Ie),bind$3(removeAttrClass,xe,$e,Ie)),addRemoveAttrClass=(xe,$e,Ie,Fe)=>(Fe?addAttrClass:removeAttrClass)(xe,$e,Ie),hasAttrClass=(xe,$e,Ie)=>domTokenListAttr(xe,$e).C(Ie),createDomTokenListClass=xe=>domTokenListAttr(xe,"class"),removeClass$1=(xe,$e)=>{createDomTokenListClass(xe).O($e)},addClass$1=(xe,$e)=>(createDomTokenListClass(xe).$($e),bind$3(removeClass$1,xe,$e)),find$1=(xe,$e)=>{const Ie=[],Fe=$e?isElement$2($e)&&$e:document;return Fe?push$1(Ie,Fe.querySelectorAll(xe)):Ie},findFirst=(xe,$e)=>{const Ie=$e?isElement$2($e)&&$e:document;return Ie?Ie.querySelector(xe):null},is=(xe,$e)=>isElement$2(xe)?xe.matches($e):!1,isBodyElement=xe=>is(xe,"body"),contents=xe=>xe?from(xe.childNodes):[],parent$2=xe=>xe&&xe.parentElement,closest=(xe,$e)=>isElement$2(xe)&&xe.closest($e),getFocusedElement=xe=>document.activeElement,liesBetween=(xe,$e,Ie)=>{const Fe=closest(xe,$e),Ue=xe&&findFirst(Ie,Fe),qe=closest(Ue,$e)===Fe;return Fe&&Ue?Fe===xe||Ue===xe||qe&&closest(closest(xe,Ie),$e)!==Fe:!1},removeElements=xe=>{if(isArrayLike$2(xe))each$g(from(xe),$e=>removeElements($e));else if(xe){const $e=parent$2(xe);$e&&$e.removeChild(xe)}},before=(xe,$e,Ie)=>{if(Ie&&xe){let Fe=$e,Ue;return isArrayLike$2(Ie)?(Ue=document.createDocumentFragment(),each$g(Ie,qe=>{qe===Fe&&(Fe=qe.previousSibling),Ue.appendChild(qe)})):Ue=Ie,$e&&(Fe?Fe!==$e&&(Fe=Fe.nextSibling):Fe=xe.firstChild),xe.insertBefore(Ue,Fe||null),()=>removeElements(Ie)}return noop$7},appendChildren=(xe,$e)=>before(xe,null,$e),insertAfter=(xe,$e)=>before(parent$2(xe),xe&&xe.nextSibling,$e),createDiv=xe=>{const $e=document.createElement("div");return setAttrs($e,"class",xe),$e},createDOM=xe=>{const $e=createDiv();return $e.innerHTML=xe.trim(),each$g(contents($e),Ie=>removeElements(Ie))},T$1=/^--/,getCSSVal=(xe,$e)=>xe.getPropertyValue($e)||xe[$e]||"",validFiniteNumber=xe=>{const $e=xe||0;return isFinite($e)?$e:0},parseToZeroOrNumber=xe=>validFiniteNumber(parseFloat(xe||"")),ratioToCssPercent=xe=>`${(validFiniteNumber(xe)*100).toFixed(3)}%`,numberToCssPx=xe=>`${validFiniteNumber(xe)}px`;function setStyles(xe,$e){xe&&$e&&each$g($e,(Ie,Fe)=>{try{const Ue=xe.style,qe=isNumber$3(Ie)?numberToCssPx(Ie):(Ie||"")+"";T$1.test(Fe)?Ue.setProperty(Fe,qe):Ue[Fe]=qe}catch{}})}function getStyles(xe,$e,Ie){const Fe=isString$3($e);let Ue=Fe?"":{};if(xe){const qe=n.getComputedStyle(xe,Ie)||xe.style;Ue=Fe?getCSSVal(qe,$e):from($e).reduce((At,Dt)=>(At[Dt]=getCSSVal(qe,Dt),At),Ue)}return Ue}const topRightBottomLeft=(xe,$e,Ie)=>{const Fe=$e?`${$e}-`:"",Ue=Ie?`-${Ie}`:"",qe=`${Fe}top${Ue}`,At=`${Fe}right${Ue}`,Dt=`${Fe}bottom${Ue}`,Lt=`${Fe}left${Ue}`,jt=getStyles(xe,[qe,At,Dt,Lt]);return{t:parseToZeroOrNumber(jt[qe]),r:parseToZeroOrNumber(jt[At]),b:parseToZeroOrNumber(jt[Dt]),l:parseToZeroOrNumber(jt[Lt])}},getTrasformTranslateValue=(xe,$e)=>`translate${isObject$7(xe)?`(${xe.x},${xe.y})`:`${$e?"X":"Y"}(${xe})`}`,elementHasDimensions=xe=>!!(xe.offsetWidth||xe.offsetHeight||xe.getClientRects().length),D$1={w:0,h:0},getElmWidthHeightProperty=(xe,$e)=>$e?{w:$e[`${xe}Width`],h:$e[`${xe}Height`]}:D$1,getWindowSize=xe=>getElmWidthHeightProperty("inner",xe||n),k$1=bind$3(getElmWidthHeightProperty,"offset"),M$1=bind$3(getElmWidthHeightProperty,"client"),R$1=bind$3(getElmWidthHeightProperty,"scroll"),getFractionalSize=xe=>{const $e=parseFloat(getStyles(xe,H$1))||0,Ie=parseFloat(getStyles(xe,E$2))||0;return{w:$e-e$1($e),h:Ie-e$1(Ie)}},getBoundingClientRect$1=xe=>xe.getBoundingClientRect(),hasDimensions=xe=>!!xe&&elementHasDimensions(xe),domRectHasDimensions=xe=>!!(xe&&(xe[E$2]||xe[H$1])),domRectAppeared=(xe,$e)=>{const Ie=domRectHasDimensions(xe);return!domRectHasDimensions($e)&&Ie},removeEventListener$1=(xe,$e,Ie,Fe)=>{each$g(getDomTokensArray($e),Ue=>{xe&&xe.removeEventListener(Ue,Ie,Fe)})},addEventListener$1=(xe,$e,Ie,Fe)=>{var Ue;const qe=(Ue=Fe&&Fe.H)!=null?Ue:!0,At=Fe&&Fe.I||!1,Dt=Fe&&Fe.A||!1,Lt={passive:qe,capture:At};return bind$3(runEachAndClear,getDomTokensArray($e).map(jt=>{const hn=Dt?vn=>{removeEventListener$1(xe,jt,hn,At),Ie&&Ie(vn)}:Ie;return xe&&xe.addEventListener(jt,hn,Lt),bind$3(removeEventListener$1,xe,jt,hn,At)}))},stopPropagation=xe=>xe.stopPropagation(),preventDefault$1=xe=>xe.preventDefault(),stopAndPrevent=xe=>stopPropagation(xe)||preventDefault$1(xe),scrollElementTo=(xe,$e)=>{const{x:Ie,y:Fe}=isNumber$3($e)?{x:$e,y:$e}:$e||{};isNumber$3(Ie)&&(xe.scrollLeft=Ie),isNumber$3(Fe)&&(xe.scrollTop=Fe)},getElementScroll=xe=>({x:xe.scrollLeft,y:xe.scrollTop}),getZeroScrollCoordinates=()=>({T:{x:0,y:0},D:{x:0,y:0}}),sanitizeScrollCoordinates=(xe,$e)=>{const{T:Ie,D:Fe}=xe,{w:Ue,h:qe}=$e,At=(vn,bn,_n)=>{let wn=r(vn)*_n,kn=r(bn)*_n;if(wn===kn){const Cn=c$1(vn),Sn=c$1(bn);kn=Cn>Sn?0:kn,wn=Cn{const Ie=(Fe,Ue)=>Fe===0&&Fe<=Ue;return{x:Ie(xe.x,$e.x),y:Ie(xe.y,$e.y)}},getScrollCoordinatesPercent=({T:xe,D:$e},Ie)=>{const Fe=(Ue,qe,At)=>capNumber(0,1,(Ue-At)/(Ue-qe)||0);return{x:Fe(xe.x,$e.x,Ie.x),y:Fe(xe.y,$e.y,Ie.y)}},focusElement=xe=>{xe&&xe.focus&&xe.focus({preventScroll:!0})},manageListener=(xe,$e)=>{each$g(createOrKeepArray($e),xe)},createEventListenerHub=xe=>{const $e=new Map,Ie=(qe,At)=>{if(qe){const Dt=$e.get(qe);manageListener(Lt=>{Dt&&Dt[Lt?"delete":"clear"](Lt)},At)}else $e.forEach(Dt=>{Dt.clear()}),$e.clear()},Fe=(qe,At)=>{if(isString$3(qe)){const jt=$e.get(qe)||new Set;return $e.set(qe,jt),manageListener(hn=>{isFunction$4(hn)&&jt.add(hn)},At),bind$3(Ie,qe,At)}isBoolean$2(At)&&At&&Ie();const Dt=keys$2(qe),Lt=[];return each$g(Dt,jt=>{const hn=qe[jt];hn&&push$1(Lt,Fe(jt,hn))}),bind$3(runEachAndClear,Lt)},Ue=(qe,At)=>{each$g(from($e.get(qe)),Dt=>{At&&!isEmptyArray(At)?Dt.apply(0,At):Dt()})};return Fe(xe||{}),[Fe,Ie,Ue]},opsStringify=xe=>JSON.stringify(xe,($e,Ie)=>{if(isFunction$4(Ie))throw 0;return Ie}),getPropByPath=(xe,$e)=>xe?`${$e}`.split(".").reduce((Ie,Fe)=>Ie&&hasOwnProperty$e(Ie,Fe)?Ie[Fe]:void 0,xe):void 0,V={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},getOptionsDiff=(xe,$e)=>{const Ie={},Fe=concat(keys$2($e),keys$2(xe));return each$g(Fe,Ue=>{const qe=xe[Ue],At=$e[Ue];if(isObject$7(qe)&&isObject$7(At))assignDeep(Ie[Ue]={},getOptionsDiff(qe,At)),isEmptyObject(Ie[Ue])&&delete Ie[Ue];else if(hasOwnProperty$e($e,Ue)&&At!==qe){let Dt=!0;if(isArray$5(qe)||isArray$5(At))try{opsStringify(qe)===opsStringify(At)&&(Dt=!1)}catch{}Dt&&(Ie[Ue]=At)}}),Ie},createOptionCheck=(xe,$e,Ie)=>Fe=>[getPropByPath(xe,Fe),Ie||getPropByPath($e,Fe)!==void 0],L="data-overlayscrollbars",P$3="os-environment",U$2=`${P$3}-scrollbar-hidden`,N$2=`${L}-initialize`,q$1="noClipping",B$1=`${L}-body`,F$1=L,j="host",X$2=`${L}-viewport`,Y$1=C$1,W$1=x$2,J$1="arrange",K$1="measuring",G$1="scrollbarHidden",Q$1="scrollbarPressed",Z$1="noContent",tt$1=`${L}-padding`,nt$1=`${L}-content`,ot$1="os-size-observer",st$1=`${ot$1}-appear`,et$1=`${ot$1}-listener`,it$1="os-trinsic-observer",at$1="os-theme-none",ut$1="os-scrollbar",_t$1=`${ut$1}-rtl`,dt$1=`${ut$1}-horizontal`,ft$1=`${ut$1}-vertical`,pt$1=`${ut$1}-track`,vt$1=`${ut$1}-handle`,ht$1=`${ut$1}-visible`,gt$1=`${ut$1}-cornerless`,bt$1=`${ut$1}-interaction`,wt$1=`${ut$1}-unusable`,yt$1=`${ut$1}-auto-hide`,mt$1=`${yt$1}-hidden`,St$1=`${ut$1}-wheel`,Ot$1=`${pt$1}-interactive`,$t$1=`${vt$1}-interactive`;let Ct$1;const createEnvironment=()=>{const xe=(xn,En,Tn)=>{appendChildren(document.body,xn),appendChildren(document.body,xn);const An=M$1(xn),$n=k$1(xn),Pn=getFractionalSize(En);return Tn&&removeElements(xn),{x:$n.h-An.h+Pn.h,y:$n.w-An.w+Pn.w}},$e=xn=>{let En=!1;const Tn=addClass$1(xn,U$2);try{En=getStyles(xn,"scrollbar-width")==="none"||getStyles(xn,"display","::-webkit-scrollbar")==="none"}catch{}return Tn(),En},Ie=`.${P$3}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${P$3} div{width:200%;height:200%;margin:10px 0}.${U$2}{scrollbar-width:none!important}.${U$2}::-webkit-scrollbar,.${U$2}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,Ue=createDOM(`
`)[0],qe=Ue.firstChild,[At,,Dt]=createEventListenerHub(),[Lt,jt]=createCache({o:xe(Ue,qe),i:equalXY},bind$3(xe,Ue,qe,!0)),[hn]=jt(),vn=$e(Ue),bn={x:hn.x===0,y:hn.y===0},_n={elements:{host:null,padding:!vn,viewport:xn=>vn&&isBodyElement(xn)&&xn,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},wn=assignDeep({},V),kn=bind$3(assignDeep,{},wn),Cn=bind$3(assignDeep,{},_n),Sn={k:hn,M:bn,R:vn,V:!!p$1,L:bind$3(At,"r"),P:Cn,U:xn=>assignDeep(_n,xn)&&Cn(),N:kn,q:xn=>assignDeep(wn,xn)&&kn(),B:assignDeep({},_n),F:assignDeep({},wn)};if(removeAttrs(Ue,"style"),removeElements(Ue),addEventListener$1(n,"resize",()=>{Dt("r",[])}),isFunction$4(n.matchMedia)&&!vn&&(!bn.x||!bn.y)){const xn=En=>{const Tn=n.matchMedia(`(resolution: ${n.devicePixelRatio}dppx)`);addEventListener$1(Tn,"change",()=>{En(),xn(En)},{A:!0})};xn(()=>{const[En,Tn]=Lt();assignDeep(Sn.k,En),Dt("r",[Tn])})}return Sn},getEnvironment=()=>(Ct$1||(Ct$1=createEnvironment()),Ct$1),resolveInitialization=(xe,$e)=>isFunction$4($e)?$e.apply(0,xe):$e,staticInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe;return resolveInitialization(xe,Ue)||$e.apply(0,xe)},dynamicInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe,qe=resolveInitialization(xe,Ue);return!!qe&&(isHTMLElement$1(qe)?qe:$e.apply(0,xe))},cancelInitialization=(xe,$e)=>{const{nativeScrollbarsOverlaid:Ie,body:Fe}=$e||{},{M:Ue,R:qe,P:At}=getEnvironment(),{nativeScrollbarsOverlaid:Dt,body:Lt}=At().cancel,jt=Ie??Dt,hn=isUndefined$3(Fe)?Lt:Fe,vn=(Ue.x||Ue.y)&&jt,bn=xe&&(isNull(hn)?!qe:hn);return!!vn||!!bn},xt$1=new WeakMap,addInstance=(xe,$e)=>{xt$1.set(xe,$e)},removeInstance=xe=>{xt$1.delete(xe)},getInstance$1=xe=>xt$1.get(xe),createEventContentChange=(xe,$e,Ie)=>{let Fe=!1;const Ue=Ie?new WeakMap:!1,qe=()=>{Fe=!0},At=Dt=>{if(Ue&&Ie){const Lt=Ie.map(jt=>{const[hn,vn]=jt||[];return[vn&&hn?(Dt||find$1)(hn,xe):[],vn]});each$g(Lt,jt=>each$g(jt[0],hn=>{const vn=jt[1],bn=Ue.get(hn)||[];if(xe.contains(hn)&&vn){const wn=addEventListener$1(hn,vn,kn=>{Fe?(wn(),Ue.delete(hn)):$e(kn)});Ue.set(hn,push$1(bn,wn))}else runEachAndClear(bn),Ue.delete(hn)}))}};return At(),[qe,At]},createDOMObserver=(xe,$e,Ie,Fe)=>{let Ue=!1;const{j:qe,X:At,Y:Dt,W:Lt,J:jt,K:hn}=Fe||{},vn=debounce$1(()=>Ue&&Ie(!0),{_:33,p:99}),[bn,_n]=createEventContentChange(xe,vn,Dt),wn=qe||[],kn=At||[],Cn=concat(wn,kn),Sn=(En,Tn)=>{if(!isEmptyArray(Tn)){const An=jt||noop$7,$n=hn||noop$7,Pn=[],Nn=[];let Mn=!1,In=!1;if(each$g(Tn,On=>{const{attributeName:Rn,target:Bn,type:Vn,oldValue:Ln,addedNodes:Dn,removedNodes:Hn}=On,Fn=Vn==="attributes",zn=Vn==="childList",jn=xe===Bn,Gn=Fn&&Rn,Wn=Gn&&getAttr(Bn,Rn||""),Xn=isString$3(Wn)?Wn:null,er=Gn&&Ln!==Xn,rr=inArray(kn,Rn)&&er;if($e&&(zn||!jn)){const Jn=Fn&&er,qn=Jn&&Lt&&is(Bn,Lt),ar=(qn?!An(Bn,Rn,Ln,Xn):!Fn||Jn)&&!$n(On,!!qn,xe,Fe);each$g(Dn,tr=>push$1(Pn,tr)),each$g(Hn,tr=>push$1(Pn,tr)),In=In||ar}!$e&&jn&&er&&!An(Bn,Rn,Ln,Xn)&&(push$1(Nn,Rn),Mn=Mn||rr)}),_n(On=>deduplicateArray(Pn).reduce((Rn,Bn)=>(push$1(Rn,find$1(On,Bn)),is(Bn,On)?push$1(Rn,Bn):Rn),[])),$e)return!En&&In&&Ie(!1),[!1];if(!isEmptyArray(Nn)||Mn){const On=[deduplicateArray(Nn),Mn];return!En&&Ie.apply(0,On),On}}},xn=new _$1(bind$3(Sn,!1));return[()=>(xn.observe(xe,{attributes:!0,attributeOldValue:!0,attributeFilter:Cn,subtree:$e,childList:$e,characterData:$e}),Ue=!0,()=>{Ue&&(bn(),xn.disconnect(),Ue=!1)}),()=>{if(Ue)return vn.S(),Sn(!0,xn.takeRecords())}]},Ht$1={},Et={},addPlugins=xe=>{each$g(xe,$e=>each$g($e,(Ie,Fe)=>{Ht$1[Fe]=$e[Fe]}))},registerPluginModuleInstances=(xe,$e,Ie)=>keys$2(xe).map(Fe=>{const{static:Ue,instance:qe}=xe[Fe],[At,Dt,Lt]=Ie||[],jt=Ie?qe:Ue;if(jt){const hn=Ie?jt(At,Dt,$e):jt($e);return(Lt||Et)[Fe]=hn}}),getStaticPluginModuleInstance=xe=>Et[xe],zt$1="__osOptionsValidationPlugin",It$1="__osSizeObserverPlugin",getShowNativeOverlaidScrollbars=(xe,$e)=>{const{M:Ie}=$e,[Fe,Ue]=xe("showNativeOverlaidScrollbars");return[Fe&&Ie.x&&Ie.y,Ue]},overflowIsVisible=xe=>xe.indexOf(z)===0,createViewportOverflowState=(xe,$e)=>{const Ie=(Ue,qe,At,Dt)=>{const Lt=Ue===z?I$2:Ue.replace(`${z}-`,""),jt=overflowIsVisible(Ue),hn=overflowIsVisible(At);return!qe&&!Dt?I$2:jt&&hn?z:jt?qe&&Dt?Lt:qe?z:I$2:qe?Lt:hn&&Dt?z:I$2},Fe={x:Ie($e.x,xe.x,$e.y,xe.y),y:Ie($e.y,xe.y,$e.x,xe.x)};return{G:Fe,Z:{x:Fe.x===A$1,y:Fe.y===A$1}}},Tt$1="__osScrollbarsHidingPlugin",kt="__osClickScrollPlugin",createSizeObserver=(xe,$e,Ie)=>{const{dt:Fe}=Ie||{},Ue=getStaticPluginModuleInstance(It$1),[qe]=createCache({o:!1,u:!0});return()=>{const At=[],Lt=createDOM(`
`)[0],jt=Lt.firstChild,hn=vn=>{const bn=vn instanceof ResizeObserverEntry;let _n=!1,wn=!1;if(bn){const[kn,,Cn]=qe(vn.contentRect),Sn=domRectHasDimensions(kn);wn=domRectAppeared(kn,Cn),_n=!wn&&!Sn}else wn=vn===!0;_n||$e({ft:!0,dt:wn})};if(f$1){const vn=new f$1(bn=>hn(bn.pop()));vn.observe(jt),push$1(At,()=>{vn.disconnect()})}else if(Ue){const[vn,bn]=Ue(jt,hn,Fe);push$1(At,concat([addClass$1(Lt,st$1),addEventListener$1(Lt,"animationstart",vn)],bn))}else return noop$7;return bind$3(runEachAndClear,push$1(At,appendChildren(xe,Lt)))}},createTrinsicObserver=(xe,$e)=>{let Ie;const Fe=Lt=>Lt.h===0||Lt.isIntersecting||Lt.intersectionRatio>0,Ue=createDiv(it$1),[qe]=createCache({o:!1}),At=(Lt,jt)=>{if(Lt){const hn=qe(Fe(Lt)),[,vn]=hn;return vn&&!jt&&$e(hn)&&[hn]}},Dt=(Lt,jt)=>At(jt.pop(),Lt);return[()=>{const Lt=[];if(d$1)Ie=new d$1(bind$3(Dt,!1),{root:xe}),Ie.observe(Ue),push$1(Lt,()=>{Ie.disconnect()});else{const jt=()=>{const hn=k$1(Ue);At(hn)};push$1(Lt,createSizeObserver(Ue,jt)()),jt()}return bind$3(runEachAndClear,push$1(Lt,appendChildren(xe,Ue)))},()=>Ie&&Dt(!0,Ie.takeRecords())]},createObserversSetup=(xe,$e,Ie,Fe)=>{let Ue,qe,At,Dt,Lt,jt;const hn=`[${F$1}]`,vn=`[${X$2}]`,bn=[],_n=["wrap","cols","rows"],wn=["id","class","style","open"],{vt:kn,ht:Cn,ot:Sn,gt:xn,bt:En,wt:Tn,nt:An,yt:$n,St:Pn,Ot:Nn}=xe,Mn=Yn=>getStyles(Yn,"direction")==="rtl",In={$t:!1,ct:Mn(kn)},On=getEnvironment(),Rn=getStaticPluginModuleInstance(Tt$1),[Bn]=createCache({i:equalWH,o:{w:0,h:0}},()=>{const Yn=Rn&&Rn.tt(xe,$e,In,On,Ie).ut,tr=!($n&&An)&&hasAttrClass(Cn,F$1,q$1),or=!An&&Pn(J$1),sr=or&&getElementScroll(xn),Kn=Nn(K$1,tr),Zn=or&&Yn&&Yn()[0],nr=R$1(Sn),lr=getFractionalSize(Sn);return Zn&&Zn(),scrollElementTo(xn,sr),tr&&Kn(),{w:nr.w+lr.w,h:nr.h+lr.h}}),Vn=Tn?_n:concat(wn,_n),Ln=debounce$1(Fe,{_:()=>Ue,p:()=>qe,m(Yn,ar){const[tr]=Yn,[or]=ar;return[concat(keys$2(tr),keys$2(or)).reduce((sr,Kn)=>(sr[Kn]=tr[Kn]||or[Kn],sr),{})]}}),Dn=Yn=>{const ar=Mn(kn);assignDeep(Yn,{Ct:jt!==ar}),assignDeep(In,{ct:ar}),jt=ar},Hn=(Yn,ar)=>{const[tr,or]=Yn,sr={xt:or};return assignDeep(In,{$t:tr}),!ar&&Fe(sr),sr},Fn=({ft:Yn,dt:ar})=>{const or=!(Yn&&!ar)&&On.R?Ln:Fe,sr={ft:Yn||ar,dt:ar};Dn(sr),or(sr)},zn=(Yn,ar)=>{const[,tr]=Bn(),or={Ht:tr};return Dn(or),tr&&!ar&&(Yn?Fe:Ln)(or),or},jn=(Yn,ar,tr)=>{const or={Et:ar};return Dn(or),ar&&!tr&&Ln(or),or},[Gn,Wn]=En?createTrinsicObserver(Cn,Hn):[],Xn=!An&&createSizeObserver(Cn,Fn,{dt:!0}),[er,rr]=createDOMObserver(Cn,!1,jn,{X:wn,j:concat(wn,bn)}),Jn=An&&f$1&&new f$1(Yn=>{const ar=Yn[Yn.length-1].contentRect;Fn({ft:!0,dt:domRectAppeared(ar,Lt)}),Lt=ar}),qn=debounce$1(()=>{const[,Yn]=Bn();Fe({Ht:Yn})},{_:222,v:!0});return[()=>{Jn&&Jn.observe(Cn);const Yn=Xn&&Xn(),ar=Gn&&Gn(),tr=er(),or=On.L(sr=>{sr?Ln({zt:sr}):qn()});return()=>{Jn&&Jn.disconnect(),Yn&&Yn(),ar&&ar(),Dt&&Dt(),tr(),or()}},({It:Yn,At:ar,Tt:tr})=>{const or={},[sr]=Yn("update.ignoreMutation"),[Kn,Zn]=Yn("update.attributes"),[nr,lr]=Yn("update.elementEvents"),[ir,kr]=Yn("update.debounce"),Cr=lr||Zn,Er=ar||tr,dr=br=>isFunction$4(sr)&&sr(br);if(Cr){At&&At(),Dt&&Dt();const[br,_r]=createDOMObserver(En||Sn,!0,zn,{j:concat(Vn,Kn||[]),Y:nr,W:hn,K:(Pr,vr)=>{const{target:xr,attributeName:Rr}=Pr;return(!vr&&Rr&&!An?liesBetween(xr,hn,vn):!1)||!!closest(xr,`.${ut$1}`)||!!dr(Pr)}});Dt=br(),At=_r}if(kr)if(Ln.S(),isArray$5(ir)){const br=ir[0],_r=ir[1];Ue=isNumber$3(br)&&br,qe=isNumber$3(_r)&&_r}else isNumber$3(ir)?(Ue=ir,qe=!1):(Ue=!1,qe=!1);if(Er){const br=rr(),_r=Wn&&Wn(),Pr=At&&At();br&&assignDeep(or,jn(br[0],br[1],Er)),_r&&assignDeep(or,Hn(_r[0],Er)),Pr&&assignDeep(or,zn(Pr[0],Er))}return Dn(or),or},In]},createScrollbarsSetupElements=(xe,$e,Ie,Fe)=>{const{P:Ue}=getEnvironment(),{scrollbars:qe}=Ue(),{slot:At}=qe,{vt:Dt,ht:Lt,ot:jt,Dt:hn,gt:vn,yt:bn,nt:_n}=$e,{scrollbars:wn}=hn?{}:xe,{slot:kn}=wn||{},Cn=new Map,Sn=rr=>p$1&&new p$1({source:vn,axis:rr}),xn={x:Sn("x"),y:Sn("y")},En=dynamicInitializationElement([Dt,Lt,jt],()=>_n&&bn?Dt:Lt,At,kn),Tn=(rr,Jn)=>{if(Jn){const sr=rr?H$1:E$2,{kt:Kn,Mt:Zn}=Jn,nr=getBoundingClientRect$1(Zn)[sr],lr=getBoundingClientRect$1(Kn)[sr];return capNumber(0,1,nr/lr||0)}const qn=rr?"x":"y",{Rt:Yn,Vt:ar}=Ie,tr=ar[qn],or=Yn[qn];return capNumber(0,1,tr/(tr+or)||0)},An=(rr,Jn,qn)=>{const Yn=Tn(qn,rr);return 1/Yn*(1-Yn)*Jn},$n=rr=>assignDeep(rr,{clear:["left"]}),Pn=rr=>{Cn.forEach((Jn,qn)=>{(rr?inArray(createOrKeepArray(rr),qn):!0)&&(each$g(Jn||[],ar=>{ar&&ar.cancel()}),Cn.delete(qn))})},Nn=(rr,Jn,qn,Yn)=>{const ar=Cn.get(rr)||[],tr=ar.find(or=>or&&or.timeline===Jn);tr?tr.effect=new KeyframeEffect(rr,qn,{composite:Yn}):Cn.set(rr,concat(ar,[rr.animate(qn,{timeline:Jn,composite:Yn})]))},Mn=(rr,Jn,qn)=>{const Yn=qn?addClass$1:removeClass$1;each$g(rr,ar=>{Yn(ar.Lt,Jn)})},In=(rr,Jn)=>{each$g(rr,qn=>{const[Yn,ar]=Jn(qn);setStyles(Yn,ar)})},On=(rr,Jn)=>{In(rr,qn=>{const{Mt:Yn}=qn;return[Yn,{[Jn?H$1:E$2]:ratioToCssPercent(Tn(Jn))}]})},Rn=(rr,Jn)=>{const{Pt:qn}=Ie,Yn=Jn?"x":"y",ar=xn[Yn],tr=isDefaultDirectionScrollCoordinates(qn)[Yn],or=(sr,Kn)=>getTrasformTranslateValue(ratioToCssPercent(An(sr,tr?Kn:1-Kn,Jn)),Jn);ar?each$g(rr,sr=>{const{Mt:Kn}=sr;Nn(Kn,ar,$n({transform:[0,1].map(Zn=>or(sr,Zn))}))}):In(rr,sr=>[sr.Mt,{transform:or(sr,getScrollCoordinatesPercent(qn,getElementScroll(vn))[Yn])}])},Bn=rr=>_n&&!bn&&parent$2(rr)===jt,Vn=[],Ln=[],Dn=[],Hn=(rr,Jn,qn)=>{const Yn=isBoolean$2(qn),ar=Yn?qn:!0,tr=Yn?!qn:!0;ar&&Mn(Ln,rr,Jn),tr&&Mn(Dn,rr,Jn)},Fn=()=>{On(Ln,!0),On(Dn)},zn=()=>{Rn(Ln,!0),Rn(Dn)},jn=()=>{if(_n){const{Rt:rr,Pt:Jn}=Ie,qn=isDefaultDirectionScrollCoordinates(Jn),Yn=.5;if(xn.x&&xn.y)each$g(concat(Dn,Ln),({Lt:ar})=>{if(Bn(ar)){const tr=or=>Nn(ar,xn[or],$n({transform:[0,qn[or]?1:-1].map(sr=>getTrasformTranslateValue(numberToCssPx(sr*(rr[or]-Yn)),or==="x"))}),"add");tr("x"),tr("y")}else Pn(ar)});else{const ar=getScrollCoordinatesPercent(Jn,getElementScroll(vn)),tr=or=>{const{Lt:sr}=or,Kn=Bn(sr)&&sr,Zn=(nr,lr,ir)=>{const kr=lr*nr;return numberToCssPx(ir?kr:-kr)};return[Kn,Kn&&{transform:getTrasformTranslateValue({x:Zn(ar.x,rr.x,qn.x),y:Zn(ar.y,rr.y,qn.y)})}]};In(Ln,tr),In(Dn,tr)}}},Gn=rr=>{const qn=createDiv(`${ut$1} ${rr?dt$1:ft$1}`),Yn=createDiv(pt$1),ar=createDiv(vt$1),tr={Lt:qn,kt:Yn,Mt:ar};return push$1(rr?Ln:Dn,tr),push$1(Vn,[appendChildren(qn,Yn),appendChildren(Yn,ar),bind$3(removeElements,qn),Pn,Fe(tr,Hn,Rn,rr)]),tr},Wn=bind$3(Gn,!0),Xn=bind$3(Gn,!1),er=()=>(appendChildren(En,Ln[0].Lt),appendChildren(En,Dn[0].Lt),bind$3(runEachAndClear,Vn));return Wn(),Xn(),[{Ut:Fn,Nt:zn,qt:jn,Bt:Hn,Ft:{V:xn.x,jt:Ln,Xt:Wn,Yt:bind$3(In,Ln)},Wt:{V:xn.y,jt:Dn,Xt:Xn,Yt:bind$3(In,Dn)}},er]},createScrollbarsSetupEvents=(xe,$e,Ie,Fe)=>(Ue,qe,At,Dt)=>{const{ht:Lt,ot:jt,nt:hn,gt:vn,Jt:bn,Ot:_n}=$e,{Lt:wn,kt:kn,Mt:Cn}=Ue,[Sn,xn]=selfClearTimeout(333),[En,Tn]=selfClearTimeout(444),[An,$n]=selfClearTimeout(),Pn=bind$3(At,[Ue],Dt),Nn=Bn=>{isFunction$4(vn.scrollBy)&&vn.scrollBy({behavior:"smooth",left:Bn.x,top:Bn.y})},Mn=Dt?H$1:E$2,In=()=>{const Bn="pointerup pointercancel lostpointercapture",Vn=`client${Dt?"X":"Y"}`,Ln=Dt?"left":"top",Dn=Dt?"w":"h",Hn=Dt?"x":"y",Fn=(zn,jn)=>Gn=>{const{Rt:Wn}=Ie,Xn=k$1(kn)[Dn]-k$1(Cn)[Dn],rr=jn*Gn/Xn*Wn[Hn];scrollElementTo(vn,{[Hn]:zn+rr})};return addEventListener$1(kn,"pointerdown",zn=>{const jn=closest(zn.target,`.${vt$1}`)===Cn,Gn=jn?Cn:kn,Wn=xe.scrollbars,{button:Xn,isPrimary:er,pointerType:rr}=zn,{pointers:Jn}=Wn;if(Xn===0&&er&&Wn[jn?"dragScroll":"clickScroll"]&&(Jn||[]).includes(rr)){Tn();const Yn=!jn&&zn.shiftKey,ar=bind$3(getBoundingClientRect$1,Cn),tr=bind$3(getBoundingClientRect$1,kn),or=(vr,xr)=>(vr||ar())[Ln]-(xr||tr())[Ln],sr=e$1(getBoundingClientRect$1(vn)[Mn])/k$1(vn)[Dn]||1,Kn=Fn(getElementScroll(vn)[Hn],1/sr),Zn=zn[Vn],nr=ar(),lr=tr(),ir=nr[Mn],kr=or(nr,lr)+ir/2,Cr=Zn-lr[Ln],Er=jn?0:Cr-kr,dr=vr=>{runEachAndClear(Pr),Gn.releasePointerCapture(vr.pointerId)},br=()=>_n(Q$1,!0),_r=br(),Pr=[()=>{const vr=getElementScroll(vn);_r();const xr=getElementScroll(vn),Rr={x:xr.x-vr.x,y:xr.y-vr.y};(c$1(Rr.x)>3||c$1(Rr.y)>3)&&(br(),scrollElementTo(vn,vr),Nn(Rr),En(_r))},addEventListener$1(bn,Bn,dr),addEventListener$1(bn,"selectstart",vr=>preventDefault$1(vr),{H:!1}),addEventListener$1(kn,Bn,dr),addEventListener$1(kn,"pointermove",vr=>{const xr=vr[Vn]-Zn;(jn||Yn)&&Kn(Er+xr)})];if(Gn.setPointerCapture(zn.pointerId),Yn)Kn(Er);else if(!jn){const vr=getStaticPluginModuleInstance(kt);vr&&push$1(Pr,vr(Kn,or,Er,ir,Cr))}}})};let On=!0;const Rn=Bn=>Bn.propertyName.indexOf(Mn)>-1;return bind$3(runEachAndClear,[addEventListener$1(Cn,"pointermove pointerleave",Fe),addEventListener$1(wn,"pointerenter",()=>{qe(bt$1,!0)}),addEventListener$1(wn,"pointerleave pointercancel",()=>{qe(bt$1,!1)}),!hn&&addEventListener$1(wn,"mousedown",()=>{const Bn=getFocusedElement();(hasAttr(Bn,X$2)||hasAttr(Bn,F$1)||Bn===document.body)&&a$1(bind$3(focusElement,jt),25)}),addEventListener$1(wn,"wheel",Bn=>{const{deltaX:Vn,deltaY:Ln,deltaMode:Dn}=Bn;On&&Dn===0&&parent$2(wn)===Lt&&Nn({x:Vn,y:Ln}),On=!1,qe(St$1,!0),Sn(()=>{On=!0,qe(St$1)}),preventDefault$1(Bn)},{H:!1,I:!0}),addEventListener$1(Cn,"transitionstart",Bn=>{if(Rn(Bn)){const Vn=()=>{Pn(),An(Vn)};Vn()}}),addEventListener$1(Cn,"transitionend transitioncancel",Bn=>{Rn(Bn)&&($n(),Pn())}),addEventListener$1(wn,"pointerdown",bind$3(addEventListener$1,bn,"click",stopAndPrevent,{A:!0,I:!0,H:!1}),{I:!0}),In(),xn,Tn,$n])},createScrollbarsSetup=(xe,$e,Ie,Fe,Ue,qe)=>{let At,Dt,Lt,jt,hn,vn=noop$7,bn=0;const _n=jn=>jn.pointerType==="mouse",[wn,kn]=selfClearTimeout(),[Cn,Sn]=selfClearTimeout(100),[xn,En]=selfClearTimeout(100),[Tn,An]=selfClearTimeout(()=>bn),[$n,Pn]=createScrollbarsSetupElements(xe,Ue,Fe,createScrollbarsSetupEvents($e,Ue,Fe,jn=>_n(jn)&&Dn())),{ht:Nn,Kt:Mn,yt:In}=Ue,{Bt:On,Ut:Rn,Nt:Bn,qt:Vn}=$n,Ln=(jn,Gn)=>{if(An(),jn)On(mt$1);else{const Wn=bind$3(On,mt$1,!0);bn>0&&!Gn?Tn(Wn):Wn()}},Dn=()=>{(Lt?!At:!jt)&&(Ln(!0),Cn(()=>{Ln(!1)}))},Hn=jn=>{On(yt$1,jn,!0),On(yt$1,jn,!1)},Fn=jn=>{_n(jn)&&(At=Lt,Lt&&Ln(!0))},zn=[An,Sn,En,kn,()=>vn(),addEventListener$1(Nn,"pointerover",Fn,{A:!0}),addEventListener$1(Nn,"pointerenter",Fn),addEventListener$1(Nn,"pointerleave",jn=>{_n(jn)&&(At=!1,Lt&&Ln(!1))}),addEventListener$1(Nn,"pointermove",jn=>{_n(jn)&&Dt&&Dn()}),addEventListener$1(Mn,"scroll",jn=>{wn(()=>{Bn(),Dn()}),qe(jn),Vn()})];return[()=>bind$3(runEachAndClear,push$1(zn,Pn())),({It:jn,Tt:Gn,Gt:Wn,Qt:Xn})=>{const{Zt:er,tn:rr,nn:Jn,sn:qn}=Xn||{},{Ct:Yn,dt:ar}=Wn||{},{ct:tr}=Ie,{M:or}=getEnvironment(),{G:sr,en:Kn}=Fe,[Zn,nr]=jn("showNativeOverlaidScrollbars"),[lr,ir]=jn("scrollbars.theme"),[kr,Cr]=jn("scrollbars.visibility"),[Er,dr]=jn("scrollbars.autoHide"),[br,_r]=jn("scrollbars.autoHideSuspend"),[Pr]=jn("scrollbars.autoHideDelay"),[vr,xr]=jn("scrollbars.dragScroll"),[Rr,Hr]=jn("scrollbars.clickScroll"),[Jr,Gr]=jn("overflow"),$r=ar&&!Gn,Br=Kn.x||Kn.y,Tr=er||rr||qn||Yn||Gn,cr=Jn||Cr||Gr,Sr=Zn&&or.x&&or.y,Dr=(mr,Lr,zr)=>{const Vr=mr.includes(A$1)&&(kr===z||kr==="auto"&&Lr===A$1);return On(ht$1,Vr,zr),Vr};if(bn=Pr,$r&&(br&&Br?(Hn(!1),vn(),xn(()=>{vn=addEventListener$1(Mn,"scroll",bind$3(Hn,!0),{A:!0})})):Hn(!0)),nr&&On(at$1,Sr),ir&&(On(hn),On(lr,!0),hn=lr),_r&&!br&&Hn(!0),dr&&(Dt=Er==="move",Lt=Er==="leave",jt=Er==="never",Ln(jt,!0)),xr&&On($t$1,vr),Hr&&On(Ot$1,Rr),cr){const mr=Dr(Jr.x,sr.x,!0),Lr=Dr(Jr.y,sr.y,!1);On(gt$1,!(mr&&Lr))}Tr&&(Rn(),Bn(),Vn(),On(wt$1,!Kn.x,!0),On(wt$1,!Kn.y,!1),On(_t$1,tr&&!In))},{},$n]},createStructureSetupElements=xe=>{const $e=getEnvironment(),{P:Ie,R:Fe}=$e,{elements:Ue}=Ie(),{host:qe,padding:At,viewport:Dt,content:Lt}=Ue,jt=isHTMLElement$1(xe),hn=jt?{}:xe,{elements:vn}=hn,{host:bn,padding:_n,viewport:wn,content:kn}=vn||{},Cn=jt?xe:hn.target,Sn=isBodyElement(Cn),xn=is(Cn,"textarea"),En=Cn.ownerDocument,Tn=En.documentElement,An=()=>En.defaultView||n,$n=bind$3(staticInitializationElement,[Cn]),Pn=bind$3(dynamicInitializationElement,[Cn]),Nn=bind$3(createDiv,""),Mn=bind$3($n,Nn,Dt),In=bind$3(Pn,Nn,Lt),On=Mn(wn),Rn=On===Cn,Bn=Rn&&Sn,Vn=!Rn&&In(kn),Ln=!Rn&&On===Vn,Dn=Bn?Tn:On,Hn=xn?$n(Nn,qe,bn):Cn,Fn=Bn?Dn:Hn,zn=!Rn&&Pn(Nn,At,_n),jn=!Ln&&Vn,Gn=[jn,Dn,zn,Fn].map(lr=>isHTMLElement$1(lr)&&!parent$2(lr)&&lr),Wn=lr=>lr&&inArray(Gn,lr),Xn=Wn(Dn)?Cn:Dn,er={vt:Cn,ht:Fn,ot:Dn,cn:zn,bt:jn,gt:Bn?Tn:Dn,Kt:Bn?En:Dn,rn:Sn?Tn:Xn,Jt:En,wt:xn,yt:Sn,Dt:jt,nt:Rn,ln:An,St:lr=>hasAttrClass(Dn,X$2,lr),Ot:(lr,ir)=>addRemoveAttrClass(Dn,X$2,lr,ir)},{vt:rr,ht:Jn,cn:qn,ot:Yn,bt:ar}=er,tr=[()=>{removeAttrs(Jn,[F$1,N$2]),removeAttrs(rr,N$2),Sn&&removeAttrs(Tn,[N$2,F$1])}],or=xn&&Wn(Jn);let sr=xn?rr:contents([ar,Yn,qn,Jn,rr].find(lr=>lr&&!Wn(lr)));const Kn=Bn?rr:ar||Yn,Zn=bind$3(runEachAndClear,tr);return[er,()=>{const lr=An(),ir=getFocusedElement(),kr=_r=>{appendChildren(parent$2(_r),contents(_r)),removeElements(_r)},Cr=_r=>addEventListener$1(_r,"focusin focusout focus blur",stopAndPrevent,{I:!0,H:!1}),Er="tabindex",dr=getAttr(Yn,Er),br=Cr(ir);return setAttrs(Jn,F$1,Rn?"":j),setAttrs(qn,tt$1,""),setAttrs(Yn,X$2,""),setAttrs(ar,nt$1,""),Rn||(setAttrs(Yn,Er,dr||"-1"),Sn&&setAttrs(Tn,B$1,"")),or&&(insertAfter(rr,Jn),push$1(tr,()=>{insertAfter(Jn,rr),removeElements(Jn)})),appendChildren(Kn,sr),appendChildren(Jn,qn),appendChildren(qn||Jn,!Rn&&Yn),appendChildren(Yn,ar),push$1(tr,[br,()=>{const _r=getFocusedElement(),Pr=Wn(Yn),vr=Pr&&_r===Yn?rr:_r,xr=Cr(vr);removeAttrs(qn,tt$1),removeAttrs(ar,nt$1),removeAttrs(Yn,X$2),Sn&&removeAttrs(Tn,B$1),dr?setAttrs(Yn,Er,dr):removeAttrs(Yn,Er),Wn(ar)&&kr(ar),Pr&&kr(Yn),Wn(qn)&&kr(qn),focusElement(vr),xr()}]),Fe&&!Rn&&(addAttrClass(Yn,X$2,G$1),push$1(tr,bind$3(removeAttrs,Yn,X$2))),focusElement(!Rn&&Sn&&ir===rr&&lr.top===lr?Yn:ir),br(),sr=0,Zn},Zn]},createTrinsicUpdateSegment=({bt:xe})=>({Gt:$e,an:Ie,Tt:Fe})=>{const{xt:Ue}=$e||{},{$t:qe}=Ie;xe&&(Ue||Fe)&&setStyles(xe,{[E$2]:qe&&"100%"})},createPaddingUpdateSegment=({ht:xe,cn:$e,ot:Ie,nt:Fe},Ue)=>{const[qe,At]=createCache({i:equalTRBL,o:topRightBottomLeft()},bind$3(topRightBottomLeft,xe,"padding",""));return({It:Dt,Gt:Lt,an:jt,Tt:hn})=>{let[vn,bn]=At(hn);const{R:_n}=getEnvironment(),{ft:wn,Ht:kn,Ct:Cn}=Lt||{},{ct:Sn}=jt,[xn,En]=Dt("paddingAbsolute");(wn||bn||(hn||kn))&&([vn,bn]=qe(hn));const An=!Fe&&(En||Cn||bn);if(An){const $n=!xn||!$e&&!_n,Pn=vn.r+vn.l,Nn=vn.t+vn.b,Mn={[O$1]:$n&&!Sn?-Pn:0,[$]:$n?-Nn:0,[S$1]:$n&&Sn?-Pn:0,top:$n?-vn.t:0,right:$n?Sn?-vn.r:"auto":0,left:$n?Sn?"auto":-vn.l:0,[H$1]:$n&&`calc(100% + ${Pn}px)`},In={[b$1]:$n?vn.t:0,[w$1]:$n?vn.r:0,[m$2]:$n?vn.b:0,[y]:$n?vn.l:0};setStyles($e||Ie,Mn),setStyles(Ie,In),assignDeep(Ue,{cn:vn,un:!$n,rt:$e?In:assignDeep({},Mn,In)})}return{_n:An}}},createOverflowUpdateSegment=(xe,$e)=>{const Ie=getEnvironment(),{ht:Fe,cn:Ue,ot:qe,nt:At,Kt:Dt,gt:Lt,yt:jt,Ot:hn,ln:vn}=xe,{R:bn}=Ie,_n=jt&&At,wn=bind$3(o$1,0),kn=["display","direction","flexDirection","writingMode"],Cn={i:equalWH,o:{w:0,h:0}},Sn={i:equalXY,o:{}},xn=jn=>{hn(K$1,!_n&&jn)},En=(jn,Gn)=>{const Wn=n.devicePixelRatio%1!==0?1:0,Xn={w:wn(jn.w-Gn.w),h:wn(jn.h-Gn.h)};return{w:Xn.w>Wn?Xn.w:0,h:Xn.h>Wn?Xn.h:0}},[Tn,An]=createCache(Cn,bind$3(getFractionalSize,qe)),[$n,Pn]=createCache(Cn,bind$3(R$1,qe)),[Nn,Mn]=createCache(Cn),[In]=createCache(Sn),[On,Rn]=createCache(Cn),[Bn]=createCache(Sn),[Vn]=createCache({i:(jn,Gn)=>equal(jn,Gn,kn),o:{}},()=>hasDimensions(qe)?getStyles(qe,kn):{}),[Ln,Dn]=createCache({i:(jn,Gn)=>equalXY(jn.T,Gn.T)&&equalXY(jn.D,Gn.D),o:getZeroScrollCoordinates()},()=>{xn(!0);const jn=getElementScroll(Lt),Gn=hn(Z$1,!0),Wn=addEventListener$1(Dt,A$1,qn=>{const Yn=getElementScroll(Lt);qn.isTrusted&&Yn.x===jn.x&&Yn.y===jn.y&&stopPropagation(qn)},{I:!0,A:!0});scrollElementTo(Lt,{x:0,y:0}),Gn();const Xn=getElementScroll(Lt),er=R$1(Lt);scrollElementTo(Lt,{x:er.w,y:er.h});const rr=getElementScroll(Lt);scrollElementTo(Lt,{x:rr.x-Xn.x<1&&-er.w,y:rr.y-Xn.y<1&&-er.h});const Jn=getElementScroll(Lt);return scrollElementTo(Lt,jn),i$1(()=>Wn()),{T:Xn,D:Jn}}),Hn=getStaticPluginModuleInstance(Tt$1),Fn=(jn,Gn)=>`${Gn?Y$1:W$1}${capitalizeFirstLetter(jn)}`,zn=jn=>{const Gn=Xn=>[z,I$2,A$1].map(er=>Fn(er,Xn)),Wn=Gn(!0).concat(Gn()).join(" ");hn(Wn),hn(keys$2(jn).map(Xn=>Fn(jn[Xn],Xn==="x")).join(" "),!0)};return({It:jn,Gt:Gn,an:Wn,Tt:Xn},{_n:er})=>{const{ft:rr,Ht:Jn,Ct:qn,dt:Yn,zt:ar}=Gn||{},tr=Hn&&Hn.tt(xe,$e,Wn,Ie,jn),{it:or,ut:sr,_t:Kn}=tr||{},[Zn,nr]=getShowNativeOverlaidScrollbars(jn,Ie),[lr,ir]=jn("overflow"),kr=overflowIsVisible(lr.x),Cr=overflowIsVisible(lr.y),Er=rr||er||Jn||qn||ar||nr;let dr=An(Xn),br=Pn(Xn),_r=Mn(Xn),Pr=Rn(Xn);if(nr&&bn&&hn(G$1,!Zn),Er){hasAttrClass(Fe,F$1,q$1)&&xn(!0);const[uo]=sr?sr():[],[go]=dr=Tn(Xn),[_o]=br=$n(Xn),Ao=M$1(qe),ko=_n&&getWindowSize(vn()),Do={w:wn(_o.w+go.w),h:wn(_o.h+go.h)},Ro={w:wn((ko?ko.w:Ao.w+wn(Ao.w-_o.w))+go.w),h:wn((ko?ko.h:Ao.h+wn(Ao.h-_o.h))+go.h)};uo&&uo(),Pr=On(Ro),_r=Nn(En(Do,Ro),Xn)}const[vr,xr]=Pr,[Rr,Hr]=_r,[Jr,Gr]=br,[$r,Br]=dr,[Tr,cr]=In({x:Rr.w>0,y:Rr.h>0}),Sr=kr&&Cr&&(Tr.x||Tr.y)||kr&&Tr.x&&!Tr.y||Cr&&Tr.y&&!Tr.x,Dr=er||qn||ar||Br||Gr||xr||Hr||ir||nr||Er,mr=createViewportOverflowState(Tr,lr),[Lr,zr]=Bn(mr.G),[,Vr]=Vn(Xn),Kr=qn||Yn||Vr||cr||Xn,[Yr,Ur]=Kr?Ln(Xn):Dn();return Dr&&(zr&&zn(mr.G),Kn&&or&&setStyles(qe,Kn(mr,Wn,or(mr,Jr,$r)))),xn(!1),addRemoveAttrClass(Fe,F$1,q$1,Sr),addRemoveAttrClass(Ue,tt$1,q$1,Sr),assignDeep($e,{G:Lr,Vt:{x:vr.w,y:vr.h},Rt:{x:Rr.w,y:Rr.h},en:Tr,Pt:sanitizeScrollCoordinates(Yr,Rr)}),{nn:zr,Zt:xr,tn:Hr,sn:Ur||Hr,dn:Kr}}},createStructureSetup=xe=>{const[$e,Ie,Fe]=createStructureSetupElements(xe),Ue={cn:{t:0,r:0,b:0,l:0},un:!1,rt:{[O$1]:0,[$]:0,[S$1]:0,[b$1]:0,[w$1]:0,[m$2]:0,[y]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},G:{x:I$2,y:I$2},en:{x:!1,y:!1},Pt:getZeroScrollCoordinates()},{vt:qe,gt:At,nt:Dt}=$e,{R:Lt,M:jt}=getEnvironment(),hn=!Lt&&(jt.x||jt.y),vn=[createTrinsicUpdateSegment($e),createPaddingUpdateSegment($e,Ue),createOverflowUpdateSegment($e,Ue)];return[Ie,bn=>{const _n={},kn=hn&&getElementScroll(At);return each$g(vn,Cn=>{assignDeep(_n,Cn(bn,_n)||{})}),scrollElementTo(At,kn),!Dt&&scrollElementTo(qe,0),_n},Ue,$e,Fe]},createSetups=(xe,$e,Ie,Fe,Ue)=>{const qe=createOptionCheck($e,{}),[At,Dt,Lt,jt,hn]=createStructureSetup(xe),[vn,bn,_n]=createObserversSetup(jt,Lt,qe,En=>{xn({},En)}),[wn,kn,,Cn]=createScrollbarsSetup(xe,$e,_n,Lt,jt,Ue),Sn=En=>keys$2(En).some(Tn=>!!En[Tn]),xn=(En,Tn)=>{if(Ie())return!1;const{fn:An,Tt:$n,At:Pn,pn:Nn}=En,Mn=An||{},In=!!$n,On={It:createOptionCheck($e,Mn,In),fn:Mn,Tt:In};if(Nn)return kn(On),!1;const Rn=Tn||bn(assignDeep({},On,{At:Pn})),Bn=Dt(assignDeep({},On,{an:_n,Gt:Rn}));kn(assignDeep({},On,{Gt:Rn,Qt:Bn}));const Vn=Sn(Rn),Ln=Sn(Bn),Dn=Vn||Ln||!isEmptyObject(Mn)||In;return Dn&&Fe(En,{Gt:Rn,Qt:Bn}),Dn};return[()=>{const{rn:En,gt:Tn}=jt,An=getElementScroll(En),$n=[vn(),At(),wn()];return scrollElementTo(Tn,An),bind$3(runEachAndClear,$n)},xn,()=>({vn:_n,hn:Lt}),{gn:jt,bn:Cn},hn]},OverlayScrollbars=(xe,$e,Ie)=>{const{N:Fe}=getEnvironment(),Ue=isHTMLElement$1(xe),qe=Ue?xe:xe.target,At=getInstance$1(qe);if($e&&!At){let Dt=!1;const Lt=[],jt={},hn=In=>{const On=removeUndefinedProperties(In),Rn=getStaticPluginModuleInstance(zt$1);return Rn?Rn(On,!0):On},vn=assignDeep({},Fe(),hn($e)),[bn,_n,wn]=createEventListenerHub(),[kn,Cn,Sn]=createEventListenerHub(Ie),xn=(In,On)=>{Sn(In,On),wn(In,On)},[En,Tn,An,$n,Pn]=createSetups(xe,vn,()=>Dt,({fn:In,Tt:On},{Gt:Rn,Qt:Bn})=>{const{ft:Vn,Ct:Ln,xt:Dn,Ht:Hn,Et:Fn,dt:zn}=Rn,{Zt:jn,tn:Gn,nn:Wn,sn:Xn}=Bn;xn("updated",[Mn,{updateHints:{sizeChanged:!!Vn,directionChanged:!!Ln,heightIntrinsicChanged:!!Dn,overflowEdgeChanged:!!jn,overflowAmountChanged:!!Gn,overflowStyleChanged:!!Wn,scrollCoordinatesChanged:!!Xn,contentMutation:!!Hn,hostMutation:!!Fn,appear:!!zn},changedOptions:In||{},force:!!On}])},In=>xn("scroll",[Mn,In])),Nn=In=>{removeInstance(qe),runEachAndClear(Lt),Dt=!0,xn("destroyed",[Mn,In]),_n(),Cn()},Mn={options(In,On){if(In){const Rn=On?Fe():{},Bn=getOptionsDiff(vn,assignDeep(Rn,hn(In)));isEmptyObject(Bn)||(assignDeep(vn,Bn),Tn({fn:Bn}))}return assignDeep({},vn)},on:kn,off:(In,On)=>{In&&On&&Cn(In,On)},state(){const{vn:In,hn:On}=An(),{ct:Rn}=In,{Vt:Bn,Rt:Vn,G:Ln,en:Dn,cn:Hn,un:Fn,Pt:zn}=On;return assignDeep({},{overflowEdge:Bn,overflowAmount:Vn,overflowStyle:Ln,hasOverflow:Dn,scrollCoordinates:{start:zn.T,end:zn.D},padding:Hn,paddingAbsolute:Fn,directionRTL:Rn,destroyed:Dt})},elements(){const{vt:In,ht:On,cn:Rn,ot:Bn,bt:Vn,gt:Ln,Kt:Dn}=$n.gn,{Ft:Hn,Wt:Fn}=$n.bn,zn=Gn=>{const{Mt:Wn,kt:Xn,Lt:er}=Gn;return{scrollbar:er,track:Xn,handle:Wn}},jn=Gn=>{const{jt:Wn,Xt:Xn}=Gn,er=zn(Wn[0]);return assignDeep({},er,{clone:()=>{const rr=zn(Xn());return Tn({pn:!0}),rr}})};return assignDeep({},{target:In,host:On,padding:Rn||Bn,viewport:Bn,content:Vn||Bn,scrollOffsetElement:Ln,scrollEventElement:Dn,scrollbarHorizontal:jn(Hn),scrollbarVertical:jn(Fn)})},update:In=>Tn({Tt:In,At:!0}),destroy:bind$3(Nn,!1),plugin:In=>jt[keys$2(In)[0]]};return push$1(Lt,[Pn]),addInstance(qe,Mn),registerPluginModuleInstances(Ht$1,OverlayScrollbars,[Mn,bn,jt]),cancelInitialization($n.gn.yt,!Ue&&xe.cancel)?(Nn(!0),Mn):(push$1(Lt,En()),xn("initialized",[Mn]),Mn.update(!0),Mn)}return At};OverlayScrollbars.plugin=xe=>{const $e=isArray$5(xe),Ie=$e?xe:[xe],Fe=Ie.map(Ue=>registerPluginModuleInstances(Ue,OverlayScrollbars)[0]);return addPlugins(Ie),$e?Fe:Fe[0]};OverlayScrollbars.valid=xe=>{const $e=xe&&xe.elements,Ie=isFunction$4($e)&&$e();return isPlainObject$3(Ie)&&!!getInstance$1(Ie.target)};OverlayScrollbars.env=()=>{const{k:xe,M:$e,R:Ie,V:Fe,B:Ue,F:qe,P:At,U:Dt,N:Lt,q:jt}=getEnvironment();return assignDeep({},{scrollbarsSize:xe,scrollbarsOverlaid:$e,scrollbarsHiding:Ie,scrollTimeline:Fe,staticDefaultInitialization:Ue,staticDefaultOptions:qe,getDefaultInitialization:At,setDefaultInitialization:Dt,getDefaultOptions:Lt,setDefaultOptions:jt})};const g=()=>{if(typeof window>"u"){const jt=()=>{};return[jt,jt]}let xe,$e;const Ie=window,Fe=typeof Ie.requestIdleCallback=="function",Ue=Ie.requestAnimationFrame,qe=Ie.cancelAnimationFrame,At=Fe?Ie.requestIdleCallback:Ue,Dt=Fe?Ie.cancelIdleCallback:qe,Lt=()=>{Dt(xe),qe($e)};return[(jt,hn)=>{Lt(),xe=At(Fe?()=>{Lt(),$e=Ue(jt)}:jt,typeof hn=="object"?hn:{timeout:2233})},Lt]},x$1=xe=>{let $e=null,Ie,Fe,Ue;const qe=shallowRef(xe||{}),[At,Dt]=g();return watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.defer)},Lt=>{Ue=Lt},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.options)},Lt=>{Ie=Lt,OverlayScrollbars.valid($e)&&$e.options(Ie||{},!0)},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.events)},Lt=>{Fe=Lt,OverlayScrollbars.valid($e)&&$e.on(Fe||{},!0)},{deep:!0,immediate:!0}),onUnmounted(()=>{Dt(),$e==null||$e.destroy()}),[Lt=>{if(OverlayScrollbars.valid($e))return $e;const jt=()=>$e=OverlayScrollbars(Lt,Ie||{},Fe||{});Ue?At(jt,Ue):jt()},()=>$e]},P$2=defineComponent({__name:"OverlayScrollbarsComponent",props:{element:{type:[String,Object],default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:qe,options:At,events:Dt,defer:Lt}=toRefs(Fe),jt=shallowRef(null),hn=shallowRef(null),vn=ref(),[bn,_n]=x$1({options:At,events:vn,defer:Lt});return $e({osInstance:_n,getElement:()=>jt.value}),watchPostEffect(wn=>{const{value:kn}=jt,{value:Cn}=hn;kn&&(bn(qe.value==="body"?{target:kn,cancel:{body:null}}:{target:kn,elements:{viewport:Cn,content:Cn}}),wn(()=>{var Sn;return(Sn=_n())==null?void 0:Sn.destroy()}))}),watch(()=>unref(Dt),wn=>{const kn=wn||{};vn.value=Object.keys(Ue).reduce((Cn,Sn)=>{const xn=kn[Sn];return Cn[Sn]=[(...En)=>Ie(Ue[Sn],...En),...(Array.isArray(xn)?xn:[xn]).filter(Boolean)],Cn},{})},{deep:!0,immediate:!0}),(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(unref(qe)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:jt},{default:withCtx(()=>[unref(qe)==="body"?renderSlot(wn.$slots,"default",{key:0}):(openBlock(),createElementBlock("div",{key:1,"data-overlayscrollbars-contents":"",ref_key:"slotRef",ref:hn},[renderSlot(wn.$slots,"default")],512))]),_:3},512))}}),_hoisted_1$1d={flex:"~ items-center justify-between","p-4":"","border-b":"~ solid stone/15","text-6":""},_hoisted_2$N={key:0,flex:"~ items-center justify-end","px-3":"","py-2":"","border-t":"~ solid stone/15"},_sfc_main$2x=defineComponent({__name:"HSlideover",props:mergeModels({appear:{type:Boolean,default:!1},side:{default:"right"},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:mergeModels(["close"],["update:modelValue"]),setup(xe,{emit:$e}){const Ie=xe,Fe=$e,Ue=useModel(xe,"modelValue"),qe=useSlots(),At=ref({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),Dt=computed(()=>({enter:"transform transition ease-in-out duration-300",leave:"transform transition ease-in-out duration-200",enterFrom:Ie.side==="left"?"-translate-x-full":"translate-x-full",enterTo:"translate-x-0",leaveFrom:"translate-x-0",leaveTo:Ie.side==="left"?"-translate-x-full":"translate-x-full"}));function Lt(){Ue.value=!1,Fe("close")}return(jt,hn)=>{const vn=_sfc_main$2y;return openBlock(),createBlock(unref(Se$1),{as:"template",appear:jt.appear,show:Ue.value},{default:withCtx(()=>[createVNode$1(unref(Ye$1),{class:normalizeClass(["fixed inset-0 z-2000 flex",{"justify-end":jt.side==="right"}]),onClose:hn[0]||(hn[0]=bn=>!jt.preventClose&&Lt())},{default:withCtx(()=>[createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(At)),{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":jt.overlay}])},null,2)]),_:1},16,["appear"]),createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(Dt)),{default:withCtx(()=>[createVNode$1(unref(Ge$1),{relative:"","max-w-md":"","w-full":"","w-screen":"",flex:"","flex-1":"","flex-col":"","bg-white":"","dark-bg-stone-8":"","focus-outline-none":""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1d,[createVNode$1(unref(Ve),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:withCtx(()=>[createTextVNode(toDisplayString(jt.title),1)]),_:1}),createVNode$1(vn,{name:"i-carbon:close","cursor-pointer":"",onClick:Lt})]),createVNode$1(unref(Je$1),{"m-0":"","flex-1":"","of-y-hidden":""},{default:withCtx(()=>[createVNode$1(unref(P$2),{options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full p-4"},{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3})]),_:3}),unref(qe).footer?(openBlock(),createElementBlock("div",_hoisted_2$N,[renderSlot(jt.$slots,"footer")])):createCommentVNode("",!0)]),_:3})]),_:3},16,["appear"])]),_:3},8,["class"])]),_:3},8,["appear","show"])}}});function mitt(xe){return{all:xe=xe||new Map,on:function($e,Ie){var Fe=xe.get($e);Fe?Fe.push(Ie):xe.set($e,[Ie])},off:function($e,Ie){var Fe=xe.get($e);Fe&&(Ie?Fe.splice(Fe.indexOf(Ie)>>>0,1):xe.set($e,[]))},emit:function($e,Ie){var Fe=xe.get($e);Fe&&Fe.slice().map(function(Ue){Ue(Ie)}),(Fe=xe.get("*"))&&Fe.slice().map(function(Ue){Ue($e,Ie)})}}}const eventBus=mitt();var define_SYSTEM_INFO_default={pkg:{version:"4.1.0",dependencies:{"@element-plus/icons-vue":"^2.3.1","@headlessui/vue":"^1.7.22","@imengyu/vue3-context-menu":"^1.4.1","@vueuse/core":"^10.10.0","@vueuse/integrations":"^10.10.0",autoprefixer:"^10.4.19",axios:"^1.7.2",dayjs:"^1.11.11",echarts:"^5.5.0","element-plus":"^2.7.4",eruda:"^3.0.1","floating-vue":"5.2.2","hotkeys-js":"^3.13.7",less:"^4.2.0","lodash-es":"^4.17.21",marked:"^13.0.0","md-editor-v3":"^4.16.7",mitt:"^3.0.1",mockjs:"^1.1.0",nprogress:"^0.2.0",overlayscrollbars:"^2.8.3","overlayscrollbars-vue":"^0.5.9","path-browserify":"^1.0.1","path-to-regexp":"^6.2.2","resize-observer-polyfill":"^1.5.1",vconsole:"^3.15.1",vue:"^3.4.27","vue-m-message":"^4.0.2","vue-router":"^4.3.2"},devDependencies:{"@iconify/json":"^2.2.217","@iconify/vue":"^4.1.2","@types/lodash-es":"^4.17.12","@types/mockjs":"^1.0.10","@types/path-browserify":"^1.0.2","@unocss/core":"^0.61.0","@unocss/preset-mini":"^0.61.0","@vitejs/plugin-legacy":"^5.4.1","@vitejs/plugin-vue":"^5.0.5","@vitejs/plugin-vue-jsx":"^4.0.0",archiver:"^7.0.1",boxen:"^7.1.1",bumpp:"^9.4.1",eslint:"^9.4.0",esno:"^4.7.0","fs-extra":"^11.2.0","http-server":"^14.1.1",inquirer:"^9.2.23","npm-run-all2":"^6.2.0",picocolors:"^1.0.1",plop:"^4.0.1",sass:"^1.77.4",stylelint:"^16.6.1",svgo:"^3.3.2",typescript:"^5.4.5",unocss:"^0.60.4","unplugin-auto-import":"^0.17.6","unplugin-turbo-console":"^1.8.6","unplugin-vue-components":"^0.27.0",vite:"^5.2.12","vite-plugin-banner":"^0.7.1","vite-plugin-checker":"^0.6.4","vite-plugin-compression2":"^1.1.1","vite-plugin-fake-server":"^2.1.1","vite-plugin-pages":"^0.32.2","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-devtools":"^7.2.1","vite-plugin-vue-meta-layouts":"^0.4.3","vue-tsc":"^2.0.19"}},lastBuildTime:"2025-03-04 15:58:24"};const _hoisted_1$1c={class:"px-4"},_hoisted_2$M=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 最后编译时间 ",-1),_hoisted_3$o={class:"my-4 text-center text-lg font-sans"},_hoisted_4$e={class:"px-4"},_hoisted_5$9=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 生产环境依赖 ",-1),_hoisted_6$6={class:"list-none pl-0 text-sm"},_hoisted_7$4={class:"font-bold"},_hoisted_8$4={class:"font-sans"},_hoisted_9$3={class:"px-4"},_hoisted_10$2=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 开发环境依赖 ",-1),_hoisted_11$2={class:"list-none pl-0 text-sm"},_hoisted_12$2={class:"font-bold"},_hoisted_13$2={class:"font-sans"},_sfc_main$2w=defineComponent({__name:"index",setup(xe){const $e=ref(!1),{pkg:Ie,lastBuildTime:Fe}=define_SYSTEM_INFO_default;return onMounted(()=>{eventBus.on("global-system-info-toggle",()=>{$e.value=!$e.value})}),(Ue,qe)=>{const At=_sfc_main$2x;return openBlock(),createBlock(At,{modelValue:unref($e),"onUpdate:modelValue":qe[0]||(qe[0]=Dt=>isRef($e)?$e.value=Dt:null),title:"系统信息"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1c,[_hoisted_2$M,createBaseVNode("div",_hoisted_3$o,toDisplayString(unref(Fe)),1)]),createBaseVNode("div",_hoisted_4$e,[_hoisted_5$9,createBaseVNode("ul",_hoisted_6$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).dependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_7$4,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_8$4,toDisplayString(Dt),1)]))),128))])]),createBaseVNode("div",_hoisted_9$3,[_hoisted_10$2,createBaseVNode("ul",_hoisted_11$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).devDependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_12$2,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_13$2,toDisplayString(Dt),1)]))),128))])])]),_:1},8,["modelValue"])}}}),_hoisted_1$1b=["disabled"],_sfc_main$2v=defineComponent({__name:"HButton",props:{block:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(xe){const $e=xe,Ie=computed(()=>["focus-outline-none focus-visible-outline-0 cursor-pointer disabled-cursor-not-allowed disabled-opacity-75 flex-shrink-0 gap-x-1.5 px-2.5 py-1.5 border-size-0 font-medium text-sm rounded-md select-none",$e.block?"w-full flex justify-center items-center":"inline-flex items-center",$e.outline?"shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark-bg-dark hover-not-disabled-bg-ui-primary/10 dark-hover-not-disabled-bg-ui-primary/10 focus-visible-ring-2":"shadow-sm text-ui-text bg-ui-primary hover-bg-ui-primary/75 disabled-bg-ui-primary/90 focus-visible-ring-inset focus-visible-ring-2"]);return(Fe,Ue)=>(openBlock(),createElementBlock("button",{disabled:Fe.disabled,class:normalizeClass(unref(Ie))},[renderSlot(Fe.$slots,"default")],10,_hoisted_1$1b))}});var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$2=root.Symbol,objectProto$f=Object.prototype,hasOwnProperty$d=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(xe){var $e=hasOwnProperty$d.call(xe,symToStringTag$1),Ie=xe[symToStringTag$1];try{xe[symToStringTag$1]=void 0;var Fe=!0}catch{}var Ue=nativeObjectToString$1.call(xe);return Fe&&($e?xe[symToStringTag$1]=Ie:delete xe[symToStringTag$1]),Ue}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString(xe){return nativeObjectToString.call(xe)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(xe){return xe==null?xe===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(xe)?getRawTag(xe):objectToString(xe)}function isObjectLike(xe){return xe!=null&&typeof xe=="object"}var symbolTag$3="[object Symbol]";function isSymbol(xe){return typeof xe=="symbol"||isObjectLike(xe)&&baseGetTag(xe)==symbolTag$3}function arrayMap(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length,Ue=Array(Fe);++Ie0){if(++$e>=HOT_COUNT)return arguments[0]}else $e=0;return xe.apply(void 0,arguments)}}function constant(xe){return function(){return xe}}var defineProperty=function(){try{var xe=getNative(Object,"defineProperty");return xe({},"",{}),xe}catch{}}(),baseSetToString=defineProperty?function(xe,$e){return defineProperty(xe,"toString",{configurable:!0,enumerable:!1,value:constant($e),writable:!0})}:identity$2,setToString=shortOut(baseSetToString);function arrayEach(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length;++Ie-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(xe,$e){var Ie=typeof xe;return $e=$e??MAX_SAFE_INTEGER$2,!!$e&&(Ie=="number"||Ie!="symbol"&&reIsUint.test(xe))&&xe>-1&&xe%1==0&&xe<$e}function baseAssignValue(xe,$e,Ie){$e=="__proto__"&&defineProperty?defineProperty(xe,$e,{configurable:!0,enumerable:!0,value:Ie,writable:!0}):xe[$e]=Ie}function eq(xe,$e){return xe===$e||xe!==xe&&$e!==$e}var objectProto$c=Object.prototype,hasOwnProperty$b=objectProto$c.hasOwnProperty;function assignValue(xe,$e,Ie){var Fe=xe[$e];(!(hasOwnProperty$b.call(xe,$e)&&eq(Fe,Ie))||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function copyObject(xe,$e,Ie,Fe){var Ue=!Ie;Ie||(Ie={});for(var qe=-1,At=$e.length;++qe-1&&xe%1==0&&xe<=MAX_SAFE_INTEGER$1}function isArrayLike$1(xe){return xe!=null&&isLength(xe.length)&&!isFunction$3(xe)}function isIterateeCall(xe,$e,Ie){if(!isObject$6(Ie))return!1;var Fe=typeof $e;return(Fe=="number"?isArrayLike$1(Ie)&&isIndex($e,Ie.length):Fe=="string"&&$e in Ie)?eq(Ie[$e],xe):!1}function createAssigner(xe){return baseRest(function($e,Ie){var Fe=-1,Ue=Ie.length,qe=Ue>1?Ie[Ue-1]:void 0,At=Ue>2?Ie[2]:void 0;for(qe=xe.length>3&&typeof qe=="function"?(Ue--,qe):void 0,At&&isIterateeCall(Ie[0],Ie[1],At)&&(qe=Ue<3?void 0:qe,Ue=1),$e=Object($e);++Fe-1}function listCacheSet$1(xe,$e){var Ie=this.__data__,Fe=assocIndexOf(Ie,xe);return Fe<0?(++this.size,Ie.push([xe,$e])):Ie[Fe][1]=$e,this}function ListCache(xe){var $e=-1,Ie=xe==null?0:xe.length;for(this.clear();++$e0&&Ie(Dt)?$e>1?baseFlatten(Dt,$e-1,Ie,Fe,Ue):arrayPush(Ue,Dt):Fe||(Ue[Ue.length]=Dt)}return Ue}function flatten(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,1):[]}function flatRest(xe){return setToString(overRest(xe,void 0,flatten),xe+"")}var getPrototype=overArg(Object.getPrototypeOf,Object),objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$4=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(xe){if(!isObjectLike(xe)||baseGetTag(xe)!=objectTag$3)return!1;var $e=getPrototype(xe);if($e===null)return!0;var Ie=hasOwnProperty$4.call($e,"constructor")&&$e.constructor;return typeof Ie=="function"&&Ie instanceof Ie&&funcToString.call(Ie)==objectCtorString}function baseSlice(xe,$e,Ie){var Fe=-1,Ue=xe.length;$e<0&&($e=-$e>Ue?0:Ue+$e),Ie=Ie>Ue?Ue:Ie,Ie<0&&(Ie+=Ue),Ue=$e>Ie?0:Ie-$e>>>0,$e>>>=0;for(var qe=Array(Ue);++FeDt))return!1;var jt=qe.get(xe),hn=qe.get($e);if(jt&&hn)return jt==$e&&hn==xe;var vn=-1,bn=!0,_n=Ie&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(qe.set(xe,$e),qe.set($e,xe);++vn=$e||Pn<0||vn&&Nn>=qe}function Sn(){var $n=now();if(Cn($n))return xn($n);Dt=setTimeout(Sn,kn($n))}function xn($n){return Dt=void 0,bn&&Fe?_n($n):(Fe=Ue=void 0,At)}function En(){Dt!==void 0&&clearTimeout(Dt),jt=0,Fe=Lt=Ue=Dt=void 0}function Tn(){return Dt===void 0?At:xn(now())}function An(){var $n=now(),Pn=Cn($n);if(Fe=arguments,Ue=this,Lt=$n,Pn){if(Dt===void 0)return wn(Lt);if(vn)return clearTimeout(Dt),Dt=setTimeout(Sn,$e),_n(Lt)}return Dt===void 0&&(Dt=setTimeout(Sn,$e)),At}return An.cancel=En,An.flush=Tn,An}function assignMergeValue(xe,$e,Ie){(Ie!==void 0&&!eq(xe[$e],Ie)||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function isArrayLikeObject(xe){return isObjectLike(xe)&&isArrayLike$1(xe)}function safeGet(xe,$e){if(!($e==="constructor"&&typeof xe[$e]=="function")&&$e!="__proto__")return xe[$e]}function toPlainObject(xe){return copyObject(xe,keysIn(xe))}function baseMergeDeep(xe,$e,Ie,Fe,Ue,qe,At){var Dt=safeGet(xe,Ie),Lt=safeGet($e,Ie),jt=At.get(Lt);if(jt){assignMergeValue(xe,Ie,jt);return}var hn=qe?qe(Dt,Lt,Ie+"",xe,$e,At):void 0,vn=hn===void 0;if(vn){var bn=isArray$4(Lt),_n=!bn&&isBuffer$1(Lt),wn=!bn&&!_n&&isTypedArray$2(Lt);hn=Lt,bn||_n||wn?isArray$4(Dt)?hn=Dt:isArrayLikeObject(Dt)?hn=copyArray(Dt):_n?(vn=!1,hn=cloneBuffer(Lt,!0)):wn?(vn=!1,hn=cloneTypedArray(Lt,!0)):hn=[]:isPlainObject$2(Lt)||isArguments(Lt)?(hn=Dt,isArguments(Dt)?hn=toPlainObject(Dt):(!isObject$6(Dt)||isFunction$3(Dt))&&(hn=initCloneObject(Lt))):vn=!1}vn&&(At.set(Lt,hn),Ue(hn,Lt,Fe,qe,At),At.delete(Lt)),assignMergeValue(xe,Ie,hn)}function baseMerge(xe,$e,Ie,Fe,Ue){xe!==$e&&baseFor($e,function(qe,At){if(Ue||(Ue=new Stack),isObject$6(qe))baseMergeDeep(xe,$e,At,Ie,baseMerge,Fe,Ue);else{var Dt=Fe?Fe(safeGet(xe,At),qe,At+"",xe,$e,Ue):void 0;Dt===void 0&&(Dt=qe),assignMergeValue(xe,At,Dt)}},keysIn)}function customDefaultsMerge(xe,$e,Ie,Fe,Ue,qe){return isObject$6(xe)&&isObject$6($e)&&(qe.set($e,xe),baseMerge(xe,$e,void 0,customDefaultsMerge,qe),qe.delete($e)),xe}var mergeWith=createAssigner(function(xe,$e,Ie,Fe){baseMerge(xe,$e,Ie,Fe)}),defaultsDeep=baseRest(function(xe){return xe.push(void 0,customDefaultsMerge),apply(mergeWith,void 0,xe)});function last(xe){var $e=xe==null?0:xe.length;return $e?xe[$e-1]:void 0}function findLastIndex(xe,$e,Ie){var Fe=xe==null?0:xe.length;if(!Fe)return-1;var Ue=Fe-1;return baseFindIndex(xe,baseIteratee($e),Ue,!0)}function baseMap(xe,$e){var Ie=-1,Fe=isArrayLike$1(xe)?Array(xe.length):[];return baseEach(xe,function(Ue,qe,At){Fe[++Ie]=$e(Ue,qe,At)}),Fe}function map$2(xe,$e){var Ie=isArray$4(xe)?arrayMap:baseMap;return Ie(xe,baseIteratee($e))}function flatMap(xe,$e){return baseFlatten(map$2(xe,$e),1)}var INFINITY$1=1/0;function flattenDeep(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,INFINITY$1):[]}function fromPairs(xe){for(var $e=-1,Ie=xe==null?0:xe.length,Fe={};++$e1),qe}),copyObject(xe,getAllKeysIn(xe),Ie),Fe&&(Ie=baseClone(Ie,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var Ue=$e.length;Ue--;)baseUnset(Ie,$e[Ue]);return Ie});function baseSet(xe,$e,Ie,Fe){if(!isObject$6(xe))return xe;$e=castPath($e,xe);for(var Ue=-1,qe=$e.length,At=qe-1,Dt=xe;Dt!=null&&++Ue=LARGE_ARRAY_SIZE){var jt=createSet(xe);if(jt)return setToArray(jt);At=!1,Ue=cacheHas,Lt=new SetCache}else Lt=Dt;e:for(;++Fe",Sn=vn.join(Cn);this._showOrMove(Dt,function(){this._updateContentNotChangedOnAxis(Ie,jt)?this._updatePosition(Dt,_n,At[0],At[1],this._tooltipContent,jt):this._showTooltipContent(Dt,Sn,jt,Math.random()+"",At[0],At[1],_n,null,bn)})},$e.prototype._showSeriesItemTooltip=function(Ie,Fe,Ue){var qe=this._ecModel,At=getECData(Fe),Dt=At.seriesIndex,Lt=qe.getSeriesByIndex(Dt),jt=At.dataModel||Lt,hn=At.dataIndex,vn=At.dataType,bn=jt.getData(vn),_n=this._renderMode,wn=Ie.positionDefault,kn=buildTooltipModel([bn.getItemModel(hn),jt,Lt&&(Lt.coordinateSystem||{}).model],this._tooltipModel,wn?{position:wn}:null),Cn=kn.get("trigger");if(!(Cn!=null&&Cn!=="item")){var Sn=jt.getDataParams(hn,vn),xn=new TooltipMarkupStyleCreator;Sn.marker=xn.makeTooltipMarker("item",convertToColorString(Sn.color),_n);var En=normalizeTooltipFormatResult(jt.formatTooltip(hn,!1,vn)),Tn=kn.get("order"),An=kn.get("valueFormatter"),$n=En.frag,Pn=$n?buildTooltipMarkup(An?extend$1({valueFormatter:An},$n):$n,xn,_n,Tn,qe.get("useUTC"),kn.get("textStyle")):En.text,Nn="item_"+jt.name+"_"+hn;this._showOrMove(kn,function(){this._showTooltipContent(kn,Pn,Sn,Nn,Ie.offsetX,Ie.offsetY,Ie.position,Ie.target,xn)}),Ue({type:"showTip",dataIndexInside:hn,dataIndex:bn.getRawIndex(hn),seriesIndex:Dt,from:this.uid})}},$e.prototype._showComponentItemTooltip=function(Ie,Fe,Ue){var qe=getECData(Fe),At=qe.tooltipConfig,Dt=At.option||{};if(isString$2(Dt)){var Lt=Dt;Dt={content:Lt,formatter:Lt}}var jt=[Dt],hn=this._ecModel.getComponent(qe.componentMainType,qe.componentIndex);hn&&jt.push(hn),jt.push({formatter:Dt.content});var vn=Ie.positionDefault,bn=buildTooltipModel(jt,this._tooltipModel,vn?{position:vn}:null),_n=bn.get("content"),wn=Math.random()+"",kn=new TooltipMarkupStyleCreator;this._showOrMove(bn,function(){var Cn=clone$4(bn.get("formatterParams")||{});this._showTooltipContent(bn,_n,Cn,wn,Ie.offsetX,Ie.offsetY,Ie.position,Fe,kn)}),Ue({type:"showTip",from:this.uid})},$e.prototype._showTooltipContent=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn){if(this._ticket="",!(!Ie.get("showContent")||!Ie.get("show"))){var vn=this._tooltipContent;vn.setEnterable(Ie.get("enterable"));var bn=Ie.get("formatter");Lt=Lt||Ie.get("position");var _n=Fe,wn=this._getNearestPoint([At,Dt],Ue,Ie.get("trigger"),Ie.get("borderColor")),kn=wn.color;if(bn)if(isString$2(bn)){var Cn=Ie.ecModel.get("useUTC"),Sn=isArray$2(Ue)?Ue[0]:Ue,xn=Sn&&Sn.axisType&&Sn.axisType.indexOf("time")>=0;_n=bn,xn&&(_n=format$1(Sn.axisValue,_n,Cn)),_n=formatTpl(_n,Ue,!0)}else if(isFunction$2(bn)){var En=bind$2(function(Tn,An){Tn===this._ticket&&(vn.setContent(An,hn,Ie,kn,Lt),this._updatePosition(Ie,Lt,At,Dt,vn,Ue,jt))},this);this._ticket=qe,_n=bn(Ue,qe,En)}else _n=bn;vn.setContent(_n,hn,Ie,kn,Lt),vn.show(Ie,kn),this._updatePosition(Ie,Lt,At,Dt,vn,Ue,jt)}},$e.prototype._getNearestPoint=function(Ie,Fe,Ue,qe){if(Ue==="axis"||isArray$2(Fe))return{color:qe||(this._renderMode==="html"?"#fff":"none")};if(!isArray$2(Fe))return{color:qe||Fe.color||Fe.borderColor}},$e.prototype._updatePosition=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this._api.getWidth(),hn=this._api.getHeight();Fe=Fe||Ie.get("position");var vn=At.getSize(),bn=Ie.get("align"),_n=Ie.get("verticalAlign"),wn=Lt&&Lt.getBoundingRect().clone();if(Lt&&wn.applyTransform(Lt.transform),isFunction$2(Fe)&&(Fe=Fe([Ue,qe],Dt,At.el,wn,{viewSize:[jt,hn],contentSize:vn.slice()})),isArray$2(Fe))Ue=parsePercent(Fe[0],jt),qe=parsePercent(Fe[1],hn);else if(isObject$4(Fe)){var kn=Fe;kn.width=vn[0],kn.height=vn[1];var Cn=getLayoutRect(kn,{width:jt,height:hn});Ue=Cn.x,qe=Cn.y,bn=null,_n=null}else if(isString$2(Fe)&&Lt){var Sn=calcTooltipPosition(Fe,wn,vn,Ie.get("borderWidth"));Ue=Sn[0],qe=Sn[1]}else{var Sn=refixTooltipPosition(Ue,qe,At,jt,hn,bn?null:20,_n?null:20);Ue=Sn[0],qe=Sn[1]}if(bn&&(Ue-=isCenterAlign(bn)?vn[0]/2:bn==="right"?vn[0]:0),_n&&(qe-=isCenterAlign(_n)?vn[1]/2:_n==="bottom"?vn[1]:0),shouldTooltipConfine(Ie)){var Sn=confineTooltipPosition(Ue,qe,At,jt,hn);Ue=Sn[0],qe=Sn[1]}At.moveTo(Ue,qe)},$e.prototype._updateContentNotChangedOnAxis=function(Ie,Fe){var Ue=this._lastDataByCoordSys,qe=this._cbParamsList,At=!!Ue&&Ue.length===Ie.length;return At&&each$f(Ue,function(Dt,Lt){var jt=Dt.dataByAxis||[],hn=Ie[Lt]||{},vn=hn.dataByAxis||[];At=At&&jt.length===vn.length,At&&each$f(jt,function(bn,_n){var wn=vn[_n]||{},kn=bn.seriesDataIndices||[],Cn=wn.seriesDataIndices||[];At=At&&bn.value===wn.value&&bn.axisType===wn.axisType&&bn.axisId===wn.axisId&&kn.length===Cn.length,At&&each$f(kn,function(Sn,xn){var En=Cn[xn];At=At&&Sn.seriesIndex===En.seriesIndex&&Sn.dataIndex===En.dataIndex}),qe&&each$f(bn.seriesDataIndices,function(Sn){var xn=Sn.seriesIndex,En=Fe[xn],Tn=qe[xn];En&&Tn&&Tn.data!==En.data&&(At=!1)})})}),this._lastDataByCoordSys=Ie,this._cbParamsList=Fe,!!At},$e.prototype._hide=function(Ie){this._lastDataByCoordSys=null,Ie({type:"hideTip",from:this.uid})},$e.prototype.dispose=function(Ie,Fe){env.node||!Fe.getDom()||(clear$1(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",Fe))},$e.type="tooltip",$e}(ComponentView);function buildTooltipModel(xe,$e,Ie){var Fe=$e.ecModel,Ue;Ie?(Ue=new Model(Ie,Fe,Fe),Ue=new Model($e.option,Ue,Fe)):Ue=$e;for(var qe=xe.length-1;qe>=0;qe--){var At=xe[qe];At&&(At instanceof Model&&(At=At.get("tooltip",!0)),isString$2(At)&&(At={formatter:At}),At&&(Ue=new Model(At,Ue,Fe)))}return Ue}function makeDispatchAction(xe,$e){return xe.dispatchAction||bind$2($e.dispatchAction,$e)}function refixTooltipPosition(xe,$e,Ie,Fe,Ue,qe,At){var Dt=Ie.getSize(),Lt=Dt[0],jt=Dt[1];return qe!=null&&(xe+Lt+qe+2>Fe?xe-=Lt+qe:xe+=qe),At!=null&&($e+jt+At>Ue?$e-=jt+At:$e+=At),[xe,$e]}function confineTooltipPosition(xe,$e,Ie,Fe,Ue){var qe=Ie.getSize(),At=qe[0],Dt=qe[1];return xe=Math.min(xe+At,Fe)-At,$e=Math.min($e+Dt,Ue)-Dt,xe=Math.max(xe,0),$e=Math.max($e,0),[xe,$e]}function calcTooltipPosition(xe,$e,Ie,Fe){var Ue=Ie[0],qe=Ie[1],At=Math.ceil(Math.SQRT2*Fe)+8,Dt=0,Lt=0,jt=$e.width,hn=$e.height;switch(xe){case"inside":Dt=$e.x+jt/2-Ue/2,Lt=$e.y+hn/2-qe/2;break;case"top":Dt=$e.x+jt/2-Ue/2,Lt=$e.y-qe-At;break;case"bottom":Dt=$e.x+jt/2-Ue/2,Lt=$e.y+hn+At;break;case"left":Dt=$e.x-Ue-At,Lt=$e.y+hn/2-qe/2;break;case"right":Dt=$e.x+jt+At,Lt=$e.y+hn/2-qe/2}return[Dt,Lt]}function isCenterAlign(xe){return xe==="center"||xe==="middle"}function findComponentReference(xe,$e,Ie){var Fe=preParseFinder(xe).queryOptionMap,Ue=Fe.keys()[0];if(!(!Ue||Ue==="series")){var qe=queryReferringComponents($e,Ue,Fe.get(Ue),{useDefault:!1,enableAll:!1,enableNone:!1}),At=qe.models[0];if(At){var Dt=Ie.getViewOfComponentModel(At),Lt;if(Dt.group.traverse(function(jt){var hn=getECData(jt).tooltipConfig;if(hn&&hn.name===xe.name)return Lt=jt,!0}),Lt)return{componentMainType:Ue,componentIndex:At.componentIndex,el:Lt}}}}function install$j(xe){use(install$r),xe.registerComponentModel(TooltipModel),xe.registerComponentView(TooltipView),xe.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop$2),xe.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop$2)}var DEFAULT_TOOLBOX_BTNS=["rect","polygon","keep","clear"];function brushPreprocessor(xe,$e){var Ie=normalizeToArray(xe?xe.brush:[]);if(Ie.length){var Fe=[];each$f(Ie,function(Lt){var jt=Lt.hasOwnProperty("toolbox")?Lt.toolbox:[];jt instanceof Array&&(Fe=Fe.concat(jt))});var Ue=xe&&xe.toolbox;isArray$2(Ue)&&(Ue=Ue[0]),Ue||(Ue={feature:{}},xe.toolbox=[Ue]);var qe=Ue.feature||(Ue.feature={}),At=qe.brush||(qe.brush={}),Dt=At.type||(At.type=[]);Dt.push.apply(Dt,Fe),removeDuplicate(Dt),$e&&!Dt.length&&Dt.push.apply(Dt,DEFAULT_TOOLBOX_BTNS)}}function removeDuplicate(xe){var $e={};each$f(xe,function(Ie){$e[Ie]=1}),xe.length=0,each$f($e,function(Ie,Fe){xe.push(Fe)})}var each$4=each$f;function hasKeys(xe){if(xe){for(var $e in xe)if(xe.hasOwnProperty($e))return!0}}function createVisualMappings(xe,$e,Ie){var Fe={};return each$4($e,function(qe){var At=Fe[qe]=Ue();each$4(xe[qe],function(Dt,Lt){if(VisualMapping.isValidType(Lt)){var jt={type:Lt,visual:Dt};Ie&&Ie(jt,qe),At[Lt]=new VisualMapping(jt),Lt==="opacity"&&(jt=clone$4(jt),jt.type="colorAlpha",At.__hidden.__alphaForOpacity=new VisualMapping(jt))}})}),Fe;function Ue(){var qe=function(){};qe.prototype.__hidden=qe.prototype;var At=new qe;return At}}function replaceVisualOption(xe,$e,Ie){var Fe;each$f(Ie,function(Ue){$e.hasOwnProperty(Ue)&&hasKeys($e[Ue])&&(Fe=!0)}),Fe&&each$f(Ie,function(Ue){$e.hasOwnProperty(Ue)&&hasKeys($e[Ue])?xe[Ue]=clone$4($e[Ue]):delete xe[Ue]})}function applyVisual(xe,$e,Ie,Fe,Ue,qe){var At={};each$f(xe,function(vn){var bn=VisualMapping.prepareVisualTypes($e[vn]);At[vn]=bn});var Dt;function Lt(vn){return getItemVisualFromData(Ie,Dt,vn)}function jt(vn,bn){setItemVisualFromData(Ie,Dt,vn,bn)}Ie.each(hn);function hn(vn,bn){Dt=vn;var _n=Ie.getRawDataItem(Dt);if(!(_n&&_n.visualMap===!1))for(var wn=Fe.call(Ue,vn),kn=$e[wn],Cn=At[wn],Sn=0,xn=Cn.length;Sn$e[0][1]&&($e[0][1]=qe[0]),qe[1]<$e[1][0]&&($e[1][0]=qe[1]),qe[1]>$e[1][1]&&($e[1][1]=qe[1])}return $e&&getBoundingRectFromMinMax($e)}};function getBoundingRectFromMinMax(xe){return new BoundingRect(xe[0][0],xe[1][0],xe[0][1]-xe[0][0],xe[1][1]-xe[1][0])}var BrushView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){this.ecModel=Ie,this.api=Fe,this.model,(this._brushController=new BrushController(Fe.getZr())).on("brush",bind$2(this._onBrush,this)).mount()},$e.prototype.render=function(Ie,Fe,Ue,qe){this.model=Ie,this._updateController(Ie,Fe,Ue,qe)},$e.prototype.updateTransform=function(Ie,Fe,Ue,qe){layoutCovers(Fe),this._updateController(Ie,Fe,Ue,qe)},$e.prototype.updateVisual=function(Ie,Fe,Ue,qe){this.updateTransform(Ie,Fe,Ue,qe)},$e.prototype.updateView=function(Ie,Fe,Ue,qe){this._updateController(Ie,Fe,Ue,qe)},$e.prototype._updateController=function(Ie,Fe,Ue,qe){(!qe||qe.$from!==Ie.id)&&this._brushController.setPanels(Ie.brushTargetManager.makePanelOpts(Ue)).enableBrush(Ie.brushOption).updateCovers(Ie.areas.slice())},$e.prototype.dispose=function(){this._brushController.dispose()},$e.prototype._onBrush=function(Ie){var Fe=this.model.id,Ue=this.model.brushTargetManager.setOutputRanges(Ie.areas,this.ecModel);(!Ie.isEnd||Ie.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:Fe,areas:clone$4(Ue),$from:Fe}),Ie.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:Fe,areas:clone$4(Ue),$from:Fe})},$e.type="brush",$e}(ComponentView),DEFAULT_OUT_OF_BRUSH_COLOR="#ddd",BrushModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.areas=[],Ie.brushOption={},Ie}return $e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option;!Fe&&replaceVisualOption(Ue,Ie,["inBrush","outOfBrush"]);var qe=Ue.inBrush=Ue.inBrush||{};Ue.outOfBrush=Ue.outOfBrush||{color:DEFAULT_OUT_OF_BRUSH_COLOR},qe.hasOwnProperty("liftZ")||(qe.liftZ=5)},$e.prototype.setAreas=function(Ie){Ie&&(this.areas=map$1(Ie,function(Fe){return generateBrushOption(this.option,Fe)},this))},$e.prototype.setBrushOption=function(Ie){this.brushOption=generateBrushOption(this.option,Ie),this.brushType=this.brushOption.brushType},$e.type="brush",$e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],$e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},$e}(ComponentModel);function generateBrushOption(xe,$e){return merge$1({brushType:xe.brushType,brushMode:xe.brushMode,transformable:xe.transformable,brushStyle:new Model(xe.brushStyle).getItemStyle(),removeOnClick:xe.removeOnClick,z:xe.z},$e,!0)}var ICON_TYPES=["rect","polygon","lineX","lineY","keep","clear"],BrushFeature=function(xe){__extends($e,xe);function $e(){return xe!==null&&xe.apply(this,arguments)||this}return $e.prototype.render=function(Ie,Fe,Ue){var qe,At,Dt;Fe.eachComponent({mainType:"brush"},function(Lt){qe=Lt.brushType,At=Lt.brushOption.brushMode||"single",Dt=Dt||!!Lt.areas.length}),this._brushType=qe,this._brushMode=At,each$f(Ie.get("type",!0),function(Lt){Ie.setIconStatus(Lt,(Lt==="keep"?At==="multiple":Lt==="clear"?Dt:Lt===qe)?"emphasis":"normal")})},$e.prototype.updateView=function(Ie,Fe,Ue){this.render(Ie,Fe,Ue)},$e.prototype.getIcons=function(){var Ie=this.model,Fe=Ie.get("icon",!0),Ue={};return each$f(Ie.get("type",!0),function(qe){Fe[qe]&&(Ue[qe]=Fe[qe])}),Ue},$e.prototype.onclick=function(Ie,Fe,Ue){var qe=this._brushType,At=this._brushMode;Ue==="clear"?(Fe.dispatchAction({type:"axisAreaSelect",intervals:[]}),Fe.dispatchAction({type:"brush",command:"clear",areas:[]})):Fe.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:Ue==="keep"?qe:qe===Ue?!1:Ue,brushMode:Ue==="keep"?At==="multiple"?"single":"multiple":At}})},$e.getDefaultOption=function(Ie){var Fe={show:!0,type:ICON_TYPES.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:Ie.getLocaleModel().get(["toolbox","brush","title"])};return Fe},$e}(ToolboxFeature);function install$i(xe){xe.registerComponentView(BrushView),xe.registerComponentModel(BrushModel),xe.registerPreprocessor(brushPreprocessor),xe.registerVisual(xe.PRIORITY.VISUAL.BRUSH,brushVisual),xe.registerAction({type:"brush",event:"brush",update:"updateVisual"},function($e,Ie){Ie.eachComponent({mainType:"brush",query:$e},function(Fe){Fe.setAreas($e.areas)})}),xe.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},noop$2),xe.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},noop$2),registerFeature("brush",BrushFeature)}var TitleModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.layoutMode={type:"box",ignoreSize:!0},Ie}return $e.type="title",$e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},$e}(ComponentModel),TitleView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.render=function(Ie,Fe,Ue){if(this.group.removeAll(),!!Ie.get("show")){var qe=this.group,At=Ie.getModel("textStyle"),Dt=Ie.getModel("subtextStyle"),Lt=Ie.get("textAlign"),jt=retrieve2(Ie.get("textBaseline"),Ie.get("textVerticalAlign")),hn=new ZRText({style:createTextStyle(At,{text:Ie.get("text"),fill:At.getTextColor()},{disableBox:!0}),z2:10}),vn=hn.getBoundingRect(),bn=Ie.get("subtext"),_n=new ZRText({style:createTextStyle(Dt,{text:bn,fill:Dt.getTextColor(),y:vn.height+Ie.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),wn=Ie.get("link"),kn=Ie.get("sublink"),Cn=Ie.get("triggerEvent",!0);hn.silent=!wn&&!Cn,_n.silent=!kn&&!Cn,wn&&hn.on("click",function(){windowOpen(wn,"_"+Ie.get("target"))}),kn&&_n.on("click",function(){windowOpen(kn,"_"+Ie.get("subtarget"))}),getECData(hn).eventData=getECData(_n).eventData=Cn?{componentType:"title",componentIndex:Ie.componentIndex}:null,qe.add(hn),bn&&qe.add(_n);var Sn=qe.getBoundingRect(),xn=Ie.getBoxLayoutParams();xn.width=Sn.width,xn.height=Sn.height;var En=getLayoutRect(xn,{width:Ue.getWidth(),height:Ue.getHeight()},Ie.get("padding"));Lt||(Lt=Ie.get("left")||Ie.get("right"),Lt==="middle"&&(Lt="center"),Lt==="right"?En.x+=En.width:Lt==="center"&&(En.x+=En.width/2)),jt||(jt=Ie.get("top")||Ie.get("bottom"),jt==="center"&&(jt="middle"),jt==="bottom"?En.y+=En.height:jt==="middle"&&(En.y+=En.height/2),jt=jt||"top"),qe.x=En.x,qe.y=En.y,qe.markRedraw();var Tn={align:Lt,verticalAlign:jt};hn.setStyle(Tn),_n.setStyle(Tn),Sn=qe.getBoundingRect();var An=En.margin,$n=Ie.getItemStyle(["color","opacity"]);$n.fill=Ie.get("backgroundColor");var Pn=new Rect$2({shape:{x:Sn.x-An[3],y:Sn.y-An[0],width:Sn.width+An[1]+An[3],height:Sn.height+An[0]+An[2],r:Ie.get("borderRadius")},style:$n,subPixelOptimize:!0,silent:!0});qe.add(Pn)}},$e.type="title",$e}(ComponentView);function install$h(xe){xe.registerComponentModel(TitleModel),xe.registerComponentView(TitleView)}var TimelineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.layoutMode="box",Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue),this._initData()},$e.prototype.mergeOption=function(Ie){xe.prototype.mergeOption.apply(this,arguments),this._initData()},$e.prototype.setCurrentIndex=function(Ie){Ie==null&&(Ie=this.option.currentIndex);var Fe=this._data.count();this.option.loop?Ie=(Ie%Fe+Fe)%Fe:(Ie>=Fe&&(Ie=Fe-1),Ie<0&&(Ie=0)),this.option.currentIndex=Ie},$e.prototype.getCurrentIndex=function(){return this.option.currentIndex},$e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},$e.prototype.setPlayState=function(Ie){this.option.autoPlay=!!Ie},$e.prototype.getPlayState=function(){return!!this.option.autoPlay},$e.prototype._initData=function(){var Ie=this.option,Fe=Ie.data||[],Ue=Ie.axisType,qe=this._names=[],At;Ue==="category"?(At=[],each$f(Fe,function(jt,hn){var vn=convertOptionIdName(getDataItemValue(jt),""),bn;isObject$4(jt)?(bn=clone$4(jt),bn.value=hn):bn=hn,At.push(bn),qe.push(vn)})):At=Fe;var Dt={category:"ordinal",time:"time",value:"number"}[Ue]||"number",Lt=this._data=new SeriesData([{name:"value",type:Dt}],this);Lt.initData(At,qe)},$e.prototype.getData=function(){return this._data},$e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},$e.type="timeline",$e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},$e}(ComponentModel),SliderTimelineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="timeline.slider",$e.defaultOption=inheritDefaultOption(TimelineModel.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),$e}(TimelineModel);mixin(SliderTimelineModel,DataFormatMixin.prototype);var TimelineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="timeline",$e}(ComponentView),TimelineAxis=function(xe){__extends($e,xe);function $e(Ie,Fe,Ue,qe){var At=xe.call(this,Ie,Fe,Ue)||this;return At.type=qe||"value",At}return $e.prototype.getLabelModel=function(){return this.model.getModel("label")},$e.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},$e}(Axis),PI=Math.PI,labelDataIndexStore=makeInner(),SliderTimelineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(Ie,Fe){this.api=Fe},$e.prototype.render=function(Ie,Fe,Ue){if(this.model=Ie,this.api=Ue,this.ecModel=Fe,this.group.removeAll(),Ie.get("show",!0)){var qe=this._layout(Ie,Ue),At=this._createGroup("_mainGroup"),Dt=this._createGroup("_labelGroup"),Lt=this._axis=this._createAxis(qe,Ie);Ie.formatTooltip=function(jt){var hn=Lt.scale.getLabel({value:jt});return createTooltipMarkup("nameValue",{noName:!0,value:hn})},each$f(["AxisLine","AxisTick","Control","CurrentPointer"],function(jt){this["_render"+jt](qe,At,Lt,Ie)},this),this._renderAxisLabel(qe,Dt,Lt,Ie),this._position(qe,Ie)}this._doPlayStop(),this._updateTicksStatus()},$e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},$e.prototype.dispose=function(){this._clearTimer()},$e.prototype._layout=function(Ie,Fe){var Ue=Ie.get(["label","position"]),qe=Ie.get("orient"),At=getViewRect(Ie,Fe),Dt;Ue==null||Ue==="auto"?Dt=qe==="horizontal"?At.y+At.height/2=0||Dt==="+"?"left":"right"},jt={horizontal:Dt>=0||Dt==="+"?"top":"bottom",vertical:"middle"},hn={horizontal:0,vertical:PI/2},vn=qe==="vertical"?At.height:At.width,bn=Ie.getModel("controlStyle"),_n=bn.get("show",!0),wn=_n?bn.get("itemSize"):0,kn=_n?bn.get("itemGap"):0,Cn=wn+kn,Sn=Ie.get(["label","rotate"])||0;Sn=Sn*PI/180;var xn,En,Tn,An=bn.get("position",!0),$n=_n&&bn.get("showPlayBtn",!0),Pn=_n&&bn.get("showPrevBtn",!0),Nn=_n&&bn.get("showNextBtn",!0),Mn=0,In=vn;An==="left"||An==="bottom"?($n&&(xn=[0,0],Mn+=Cn),Pn&&(En=[Mn,0],Mn+=Cn),Nn&&(Tn=[In-wn,0],In-=Cn)):($n&&(xn=[In-wn,0],In-=Cn),Pn&&(En=[0,0],Mn+=Cn),Nn&&(Tn=[In-wn,0],In-=Cn));var On=[Mn,In];return Ie.get("inverse")&&On.reverse(),{viewRect:At,mainLength:vn,orient:qe,rotation:hn[qe],labelRotation:Sn,labelPosOpt:Dt,labelAlign:Ie.get(["label","align"])||Lt[qe],labelBaseline:Ie.get(["label","verticalAlign"])||Ie.get(["label","baseline"])||jt[qe],playPosition:xn,prevBtnPosition:En,nextBtnPosition:Tn,axisExtent:On,controlSize:wn,controlGap:kn}},$e.prototype._position=function(Ie,Fe){var Ue=this._mainGroup,qe=this._labelGroup,At=Ie.viewRect;if(Ie.orient==="vertical"){var Dt=create$1(),Lt=At.x,jt=At.y+At.height;translate$1(Dt,Dt,[-Lt,-jt]),rotate(Dt,Dt,-PI/2),translate$1(Dt,Dt,[Lt,jt]),At=At.clone(),At.applyTransform(Dt)}var hn=xn(At),vn=xn(Ue.getBoundingRect()),bn=xn(qe.getBoundingRect()),_n=[Ue.x,Ue.y],wn=[qe.x,qe.y];wn[0]=_n[0]=hn[0][0];var kn=Ie.labelPosOpt;if(kn==null||isString$2(kn)){var Cn=kn==="+"?0:1;En(_n,vn,hn,1,Cn),En(wn,bn,hn,1,1-Cn)}else{var Cn=kn>=0?0:1;En(_n,vn,hn,1,Cn),wn[1]=_n[1]+kn}Ue.setPosition(_n),qe.setPosition(wn),Ue.rotation=qe.rotation=Ie.rotation,Sn(Ue),Sn(qe);function Sn(Tn){Tn.originX=hn[0][0]-Tn.x,Tn.originY=hn[1][0]-Tn.y}function xn(Tn){return[[Tn.x,Tn.x+Tn.width],[Tn.y,Tn.y+Tn.height]]}function En(Tn,An,$n,Pn,Nn){Tn[Pn]+=$n[Pn][Nn]-An[Pn][Nn]}},$e.prototype._createAxis=function(Ie,Fe){var Ue=Fe.getData(),qe=Fe.get("axisType"),At=createScaleByModel(Fe,qe);At.getTicks=function(){return Ue.mapArray(["value"],function(jt){return{value:jt}})};var Dt=Ue.getDataExtent("value");At.setExtent(Dt[0],Dt[1]),At.calcNiceTicks();var Lt=new TimelineAxis("value",At,Ie.axisExtent,qe);return Lt.model=Fe,Lt},$e.prototype._createGroup=function(Ie){var Fe=this[Ie]=new Group$3;return this.group.add(Fe),Fe},$e.prototype._renderAxisLine=function(Ie,Fe,Ue,qe){var At=Ue.getExtent();if(qe.get(["lineStyle","show"])){var Dt=new Line$1({shape:{x1:At[0],y1:0,x2:At[1],y2:0},style:extend$1({lineCap:"round"},qe.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});Fe.add(Dt);var Lt=this._progressLine=new Line$1({shape:{x1:At[0],x2:this._currentPointer?this._currentPointer.x:At[0],y1:0,y2:0},style:defaults$1({lineCap:"round",lineWidth:Dt.style.lineWidth},qe.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});Fe.add(Lt)}},$e.prototype._renderAxisTick=function(Ie,Fe,Ue,qe){var At=this,Dt=qe.getData(),Lt=Ue.scale.getTicks();this._tickSymbols=[],each$f(Lt,function(jt){var hn=Ue.dataToCoord(jt.value),vn=Dt.getItemModel(jt.value),bn=vn.getModel("itemStyle"),_n=vn.getModel(["emphasis","itemStyle"]),wn=vn.getModel(["progress","itemStyle"]),kn={x:hn,y:0,onclick:bind$2(At._changeTimeline,At,jt.value)},Cn=giveSymbol(vn,bn,Fe,kn);Cn.ensureState("emphasis").style=_n.getItemStyle(),Cn.ensureState("progress").style=wn.getItemStyle(),enableHoverEmphasis(Cn);var Sn=getECData(Cn);vn.get("tooltip")?(Sn.dataIndex=jt.value,Sn.dataModel=qe):Sn.dataIndex=Sn.dataModel=null,At._tickSymbols.push(Cn)})},$e.prototype._renderAxisLabel=function(Ie,Fe,Ue,qe){var At=this,Dt=Ue.getLabelModel();if(Dt.get("show")){var Lt=qe.getData(),jt=Ue.getViewLabels();this._tickLabels=[],each$f(jt,function(hn){var vn=hn.tickValue,bn=Lt.getItemModel(vn),_n=bn.getModel("label"),wn=bn.getModel(["emphasis","label"]),kn=bn.getModel(["progress","label"]),Cn=Ue.dataToCoord(hn.tickValue),Sn=new ZRText({x:Cn,y:0,rotation:Ie.labelRotation-Ie.rotation,onclick:bind$2(At._changeTimeline,At,vn),silent:!1,style:createTextStyle(_n,{text:hn.formattedLabel,align:Ie.labelAlign,verticalAlign:Ie.labelBaseline})});Sn.ensureState("emphasis").style=createTextStyle(wn),Sn.ensureState("progress").style=createTextStyle(kn),Fe.add(Sn),enableHoverEmphasis(Sn),labelDataIndexStore(Sn).dataIndex=vn,At._tickLabels.push(Sn)})}},$e.prototype._renderControl=function(Ie,Fe,Ue,qe){var At=Ie.controlSize,Dt=Ie.rotation,Lt=qe.getModel("controlStyle").getItemStyle(),jt=qe.getModel(["emphasis","controlStyle"]).getItemStyle(),hn=qe.getPlayState(),vn=qe.get("inverse",!0);bn(Ie.nextBtnPosition,"next",bind$2(this._changeTimeline,this,vn?"-":"+")),bn(Ie.prevBtnPosition,"prev",bind$2(this._changeTimeline,this,vn?"+":"-")),bn(Ie.playPosition,hn?"stop":"play",bind$2(this._handlePlayClick,this,!hn),!0);function bn(_n,wn,kn,Cn){if(_n){var Sn=parsePercent$1(retrieve2(qe.get(["controlStyle",wn+"BtnSize"]),At),At),xn=[0,-Sn/2,Sn,Sn],En=makeControlIcon(qe,wn+"Icon",xn,{x:_n[0],y:_n[1],originX:At/2,originY:0,rotation:Cn?-Dt:0,rectHover:!0,style:Lt,onclick:kn});En.ensureState("emphasis").style=jt,Fe.add(En),enableHoverEmphasis(En)}}},$e.prototype._renderCurrentPointer=function(Ie,Fe,Ue,qe){var At=qe.getData(),Dt=qe.getCurrentIndex(),Lt=At.getItemModel(Dt).getModel("checkpointStyle"),jt=this,hn={onCreate:function(vn){vn.draggable=!0,vn.drift=bind$2(jt._handlePointerDrag,jt),vn.ondragend=bind$2(jt._handlePointerDragend,jt),pointerMoveTo(vn,jt._progressLine,Dt,Ue,qe,!0)},onUpdate:function(vn){pointerMoveTo(vn,jt._progressLine,Dt,Ue,qe)}};this._currentPointer=giveSymbol(Lt,Lt,this._mainGroup,{},this._currentPointer,hn)},$e.prototype._handlePlayClick=function(Ie){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:Ie,from:this.uid})},$e.prototype._handlePointerDrag=function(Ie,Fe,Ue){this._clearTimer(),this._pointerChangeTimeline([Ue.offsetX,Ue.offsetY])},$e.prototype._handlePointerDragend=function(Ie){this._pointerChangeTimeline([Ie.offsetX,Ie.offsetY],!0)},$e.prototype._pointerChangeTimeline=function(Ie,Fe){var Ue=this._toAxisCoord(Ie)[0],qe=this._axis,At=asc$2(qe.getExtent().slice());Ue>At[1]&&(Ue=At[1]),Ue=0&&(At[qe]=+At[qe].toFixed(bn)),[At,vn]}var markerTypeCalculator={min:curry$1(markerTypeCalculatorWithExtent,"min"),max:curry$1(markerTypeCalculatorWithExtent,"max"),average:curry$1(markerTypeCalculatorWithExtent,"average"),median:curry$1(markerTypeCalculatorWithExtent,"median")};function dataTransform(xe,$e){if($e){var Ie=xe.getData(),Fe=xe.coordinateSystem,Ue=Fe&&Fe.dimensions;if(!hasXAndY($e)&&!isArray$2($e.coord)&&isArray$2(Ue)){var qe=getAxisInfo($e,Ie,Fe,xe);if($e=clone$4($e),$e.type&&markerTypeCalculator[$e.type]&&qe.baseAxis&&qe.valueAxis){var At=indexOf(Ue,qe.baseAxis.dim),Dt=indexOf(Ue,qe.valueAxis.dim),Lt=markerTypeCalculator[$e.type](Ie,qe.baseDataDim,qe.valueDataDim,At,Dt);$e.coord=Lt[0],$e.value=Lt[1]}else $e.coord=[$e.xAxis!=null?$e.xAxis:$e.radiusAxis,$e.yAxis!=null?$e.yAxis:$e.angleAxis]}if($e.coord==null||!isArray$2(Ue))$e.coord=[];else for(var jt=$e.coord,hn=0;hn<2;hn++)markerTypeCalculator[jt[hn]]&&(jt[hn]=numCalculate(Ie,Ie.mapDimension(Ue[hn]),jt[hn]));return $e}}function getAxisInfo(xe,$e,Ie,Fe){var Ue={};return xe.valueIndex!=null||xe.valueDim!=null?(Ue.valueDataDim=xe.valueIndex!=null?$e.getDimension(xe.valueIndex):xe.valueDim,Ue.valueAxis=Ie.getAxis(dataDimToCoordDim(Fe,Ue.valueDataDim)),Ue.baseAxis=Ie.getOtherAxis(Ue.valueAxis),Ue.baseDataDim=$e.mapDimension(Ue.baseAxis.dim)):(Ue.baseAxis=Fe.getBaseAxis(),Ue.valueAxis=Ie.getOtherAxis(Ue.baseAxis),Ue.baseDataDim=$e.mapDimension(Ue.baseAxis.dim),Ue.valueDataDim=$e.mapDimension(Ue.valueAxis.dim)),Ue}function dataDimToCoordDim(xe,$e){var Ie=xe.getData().getDimensionInfo($e);return Ie&&Ie.coordDim}function dataFilter(xe,$e){return xe&&xe.containData&&$e.coord&&!hasXOrY($e)?xe.containData($e.coord):!0}function zoneFilter(xe,$e,Ie){return xe&&xe.containZone&&$e.coord&&Ie.coord&&!hasXOrY($e)&&!hasXOrY(Ie)?xe.containZone($e.coord,Ie.coord):!0}function createMarkerDimValueGetter(xe,$e){return xe?function(Ie,Fe,Ue,qe){var At=qe<2?Ie.coord&&Ie.coord[qe]:Ie.value;return parseDataValue(At,$e[qe])}:function(Ie,Fe,Ue,qe){return parseDataValue(Ie.value,$e[qe])}}function numCalculate(xe,$e,Ie){if(Ie==="average"){var Fe=0,Ue=0;return xe.each($e,function(qe,At){isNaN(qe)||(Fe+=qe,Ue++)}),Fe/Ue}else return Ie==="median"?xe.getMedian($e):xe.getDataExtent($e)[Ie==="max"?1:0]}var inner$4=makeInner(),MarkerView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.init=function(){this.markerGroupMap=createHashMap()},$e.prototype.render=function(Ie,Fe,Ue){var qe=this,At=this.markerGroupMap;At.each(function(Dt){inner$4(Dt).keep=!1}),Fe.eachSeries(function(Dt){var Lt=MarkerModel.getMarkerModelFromSeries(Dt,qe.type);Lt&&qe.renderSeries(Dt,Lt,Fe,Ue)}),At.each(function(Dt){!inner$4(Dt).keep&&qe.group.remove(Dt.group)})},$e.prototype.markKeep=function(Ie){inner$4(Ie).keep=!0},$e.prototype.toggleBlurSeries=function(Ie,Fe){var Ue=this;each$f(Ie,function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,Ue.type);if(At){var Dt=At.getData();Dt.eachItemGraphicEl(function(Lt){Lt&&(Fe?enterBlur(Lt):leaveBlur(Lt))})}})},$e.type="marker",$e}(ComponentView);function updateMarkerLayout(xe,$e,Ie){var Fe=$e.coordinateSystem;xe.each(function(Ue){var qe=xe.getItemModel(Ue),At,Dt=parsePercent(qe.get("x"),Ie.getWidth()),Lt=parsePercent(qe.get("y"),Ie.getHeight());if(!isNaN(Dt)&&!isNaN(Lt))At=[Dt,Lt];else if($e.getMarkerPosition)At=$e.getMarkerPosition(xe.getValues(xe.dimensions,Ue));else if(Fe){var jt=xe.get(Fe.dimensions[0],Ue),hn=xe.get(Fe.dimensions[1],Ue);At=Fe.dataToPoint([jt,hn])}isNaN(Dt)||(At[0]=Dt),isNaN(Lt)||(At[1]=Lt),xe.setItemLayout(Ue,At)})}var MarkPointView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markPoint");At&&(updateMarkerLayout(At.getData(),qe,Ue),this.markerGroupMap.get(qe.id).updateLayout())},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,new SymbolDraw),vn=createData(At,Ie,Fe);Fe.setData(vn),updateMarkerLayout(Fe.getData(),Ie,qe),vn.each(function(bn){var _n=vn.getItemModel(bn),wn=_n.getShallow("symbol"),kn=_n.getShallow("symbolSize"),Cn=_n.getShallow("symbolRotate"),Sn=_n.getShallow("symbolOffset"),xn=_n.getShallow("symbolKeepAspect");if(isFunction$2(wn)||isFunction$2(kn)||isFunction$2(Cn)||isFunction$2(Sn)){var En=Fe.getRawValue(bn),Tn=Fe.getDataParams(bn);isFunction$2(wn)&&(wn=wn(En,Tn)),isFunction$2(kn)&&(kn=kn(En,Tn)),isFunction$2(Cn)&&(Cn=Cn(En,Tn)),isFunction$2(Sn)&&(Sn=Sn(En,Tn))}var An=_n.getModel("itemStyle").getItemStyle(),$n=getVisualFromData(Lt,"color");An.fill||(An.fill=$n),vn.setItemVisual(bn,{symbol:wn,symbolSize:kn,symbolRotate:Cn,symbolOffset:Sn,symbolKeepAspect:xn,style:An})}),hn.updateData(vn),this.group.add(hn.group),vn.eachItemGraphicEl(function(bn){bn.traverse(function(_n){getECData(_n).dataModel=Fe})}),this.markKeep(hn),hn.group.silent=Fe.get("silent")||Ie.get("silent")},$e.type="markPoint",$e}(MarkerView);function createData(xe,$e,Ie){var Fe;xe?Fe=map$1(xe&&xe.dimensions,function(Dt){var Lt=$e.getData().getDimensionInfo($e.getData().mapDimension(Dt))||{};return extend$1(extend$1({},Lt),{name:Dt,ordinalMeta:null})}):Fe=[{name:"value",type:"float"}];var Ue=new SeriesData(Fe,Ie),qe=map$1(Ie.get("data"),curry$1(dataTransform,$e));xe&&(qe=filter(qe,curry$1(dataFilter,xe)));var At=createMarkerDimValueGetter(!!xe,Fe);return Ue.initData(qe,null,At),Ue}function install$f(xe){xe.registerComponentModel(MarkPointModel),xe.registerComponentView(MarkPointView),xe.registerPreprocessor(function($e){checkMarkerInSeries($e.series,"markPoint")&&($e.markPoint=$e.markPoint||{})})}var MarkLineModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.createMarkerModelFromSeries=function(Ie,Fe,Ue){return new $e(Ie,Fe,Ue)},$e.type="markLine",$e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},$e}(MarkerModel),inner$3=makeInner(),markLineTransform=function(xe,$e,Ie,Fe){var Ue=xe.getData(),qe;if(isArray$2(Fe))qe=Fe;else{var At=Fe.type;if(At==="min"||At==="max"||At==="average"||At==="median"||Fe.xAxis!=null||Fe.yAxis!=null){var Dt=void 0,Lt=void 0;if(Fe.yAxis!=null||Fe.xAxis!=null)Dt=$e.getAxis(Fe.yAxis!=null?"y":"x"),Lt=retrieve(Fe.yAxis,Fe.xAxis);else{var jt=getAxisInfo(Fe,Ue,$e,xe);Dt=jt.valueAxis;var hn=getStackedDimension(Ue,jt.valueDataDim);Lt=numCalculate(Ue,hn,At)}var vn=Dt.dim==="x"?0:1,bn=1-vn,_n=clone$4(Fe),wn={coord:[]};_n.type=null,_n.coord=[],_n.coord[bn]=-1/0,wn.coord[bn]=1/0;var kn=Ie.get("precision");kn>=0&&isNumber$2(Lt)&&(Lt=+Lt.toFixed(Math.min(kn,20))),_n.coord[vn]=wn.coord[vn]=Lt,qe=[_n,wn,{type:At,valueIndex:Fe.valueIndex,value:Lt}]}else qe=[]}var Cn=[dataTransform(xe,qe[0]),dataTransform(xe,qe[1]),extend$1({},qe[2])];return Cn[2].type=Cn[2].type||null,merge$1(Cn[2],Cn[0]),merge$1(Cn[2],Cn[1]),Cn};function isInfinity$1(xe){return!isNaN(xe)&&!isFinite(xe)}function ifMarkLineHasOnlyDim(xe,$e,Ie,Fe){var Ue=1-xe,qe=Fe.dimensions[xe];return isInfinity$1($e[Ue])&&isInfinity$1(Ie[Ue])&&$e[xe]===Ie[xe]&&Fe.getAxis(qe).containData($e[xe])}function markLineFilter(xe,$e){if(xe.type==="cartesian2d"){var Ie=$e[0].coord,Fe=$e[1].coord;if(Ie&&Fe&&(ifMarkLineHasOnlyDim(1,Ie,Fe,xe)||ifMarkLineHasOnlyDim(0,Ie,Fe,xe)))return!0}return dataFilter(xe,$e[0])&&dataFilter(xe,$e[1])}function updateSingleMarkerEndLayout(xe,$e,Ie,Fe,Ue){var qe=Fe.coordinateSystem,At=xe.getItemModel($e),Dt,Lt=parsePercent(At.get("x"),Ue.getWidth()),jt=parsePercent(At.get("y"),Ue.getHeight());if(!isNaN(Lt)&&!isNaN(jt))Dt=[Lt,jt];else{if(Fe.getMarkerPosition)Dt=Fe.getMarkerPosition(xe.getValues(xe.dimensions,$e));else{var hn=qe.dimensions,vn=xe.get(hn[0],$e),bn=xe.get(hn[1],$e);Dt=qe.dataToPoint([vn,bn])}if(isCoordinateSystemType(qe,"cartesian2d")){var _n=qe.getAxis("x"),wn=qe.getAxis("y"),hn=qe.dimensions;isInfinity$1(xe.get(hn[0],$e))?Dt[0]=_n.toGlobalCoord(_n.getExtent()[Ie?0:1]):isInfinity$1(xe.get(hn[1],$e))&&(Dt[1]=wn.toGlobalCoord(wn.getExtent()[Ie?0:1]))}isNaN(Lt)||(Dt[0]=Lt),isNaN(jt)||(Dt[1]=jt)}xe.setItemLayout($e,Dt)}var MarkLineView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markLine");if(At){var Dt=At.getData(),Lt=inner$3(At).from,jt=inner$3(At).to;Lt.each(function(hn){updateSingleMarkerEndLayout(Lt,hn,!0,qe,Ue),updateSingleMarkerEndLayout(jt,hn,!1,qe,Ue)}),Dt.each(function(hn){Dt.setItemLayout(hn,[Lt.getItemLayout(hn),jt.getItemLayout(hn)])}),this.markerGroupMap.get(qe.id).updateLayout()}},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,new LineDraw);this.group.add(hn.group);var vn=createList$2(At,Ie,Fe),bn=vn.from,_n=vn.to,wn=vn.line;inner$3(Fe).from=bn,inner$3(Fe).to=_n,Fe.setData(wn);var kn=Fe.get("symbol"),Cn=Fe.get("symbolSize"),Sn=Fe.get("symbolRotate"),xn=Fe.get("symbolOffset");isArray$2(kn)||(kn=[kn,kn]),isArray$2(Cn)||(Cn=[Cn,Cn]),isArray$2(Sn)||(Sn=[Sn,Sn]),isArray$2(xn)||(xn=[xn,xn]),vn.from.each(function(Tn){En(bn,Tn,!0),En(_n,Tn,!1)}),wn.each(function(Tn){var An=wn.getItemModel(Tn).getModel("lineStyle").getLineStyle();wn.setItemLayout(Tn,[bn.getItemLayout(Tn),_n.getItemLayout(Tn)]),An.stroke==null&&(An.stroke=bn.getItemVisual(Tn,"style").fill),wn.setItemVisual(Tn,{fromSymbolKeepAspect:bn.getItemVisual(Tn,"symbolKeepAspect"),fromSymbolOffset:bn.getItemVisual(Tn,"symbolOffset"),fromSymbolRotate:bn.getItemVisual(Tn,"symbolRotate"),fromSymbolSize:bn.getItemVisual(Tn,"symbolSize"),fromSymbol:bn.getItemVisual(Tn,"symbol"),toSymbolKeepAspect:_n.getItemVisual(Tn,"symbolKeepAspect"),toSymbolOffset:_n.getItemVisual(Tn,"symbolOffset"),toSymbolRotate:_n.getItemVisual(Tn,"symbolRotate"),toSymbolSize:_n.getItemVisual(Tn,"symbolSize"),toSymbol:_n.getItemVisual(Tn,"symbol"),style:An})}),hn.updateData(wn),vn.line.eachItemGraphicEl(function(Tn){getECData(Tn).dataModel=Fe,Tn.traverse(function(An){getECData(An).dataModel=Fe})});function En(Tn,An,$n){var Pn=Tn.getItemModel(An);updateSingleMarkerEndLayout(Tn,An,$n,Ie,qe);var Nn=Pn.getModel("itemStyle").getItemStyle();Nn.fill==null&&(Nn.fill=getVisualFromData(Lt,"color")),Tn.setItemVisual(An,{symbolKeepAspect:Pn.get("symbolKeepAspect"),symbolOffset:retrieve2(Pn.get("symbolOffset",!0),xn[$n?0:1]),symbolRotate:retrieve2(Pn.get("symbolRotate",!0),Sn[$n?0:1]),symbolSize:retrieve2(Pn.get("symbolSize"),Cn[$n?0:1]),symbol:retrieve2(Pn.get("symbol",!0),kn[$n?0:1]),style:Nn})}this.markKeep(hn),hn.group.silent=Fe.get("silent")||Ie.get("silent")},$e.type="markLine",$e}(MarkerView);function createList$2(xe,$e,Ie){var Fe;xe?Fe=map$1(xe&&xe.dimensions,function(jt){var hn=$e.getData().getDimensionInfo($e.getData().mapDimension(jt))||{};return extend$1(extend$1({},hn),{name:jt,ordinalMeta:null})}):Fe=[{name:"value",type:"float"}];var Ue=new SeriesData(Fe,Ie),qe=new SeriesData(Fe,Ie),At=new SeriesData([],Ie),Dt=map$1(Ie.get("data"),curry$1(markLineTransform,$e,xe,Ie));xe&&(Dt=filter(Dt,curry$1(markLineFilter,xe)));var Lt=createMarkerDimValueGetter(!!xe,Fe);return Ue.initData(map$1(Dt,function(jt){return jt[0]}),null,Lt),qe.initData(map$1(Dt,function(jt){return jt[1]}),null,Lt),At.initData(map$1(Dt,function(jt){return jt[2]})),At.hasItemOption=!0,{from:Ue,to:qe,line:At}}function install$e(xe){xe.registerComponentModel(MarkLineModel),xe.registerComponentView(MarkLineView),xe.registerPreprocessor(function($e){checkMarkerInSeries($e.series,"markLine")&&($e.markLine=$e.markLine||{})})}var MarkAreaModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.createMarkerModelFromSeries=function(Ie,Fe,Ue){return new $e(Ie,Fe,Ue)},$e.type="markArea",$e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},$e}(MarkerModel),inner$2=makeInner(),markAreaTransform=function(xe,$e,Ie,Fe){var Ue=Fe[0],qe=Fe[1];if(!(!Ue||!qe)){var At=dataTransform(xe,Ue),Dt=dataTransform(xe,qe),Lt=At.coord,jt=Dt.coord;Lt[0]=retrieve(Lt[0],-1/0),Lt[1]=retrieve(Lt[1],-1/0),jt[0]=retrieve(jt[0],1/0),jt[1]=retrieve(jt[1],1/0);var hn=mergeAll([{},At,Dt]);return hn.coord=[At.coord,Dt.coord],hn.x0=At.x,hn.y0=At.y,hn.x1=Dt.x,hn.y1=Dt.y,hn}};function isInfinity(xe){return!isNaN(xe)&&!isFinite(xe)}function ifMarkAreaHasOnlyDim(xe,$e,Ie,Fe){var Ue=1-xe;return isInfinity($e[Ue])&&isInfinity(Ie[Ue])}function markAreaFilter(xe,$e){var Ie=$e.coord[0],Fe=$e.coord[1],Ue={coord:Ie,x:$e.x0,y:$e.y0},qe={coord:Fe,x:$e.x1,y:$e.y1};return isCoordinateSystemType(xe,"cartesian2d")?Ie&&Fe&&(ifMarkAreaHasOnlyDim(1,Ie,Fe)||ifMarkAreaHasOnlyDim(0,Ie,Fe))?!0:zoneFilter(xe,Ue,qe):dataFilter(xe,Ue)||dataFilter(xe,qe)}function getSingleMarkerEndPoint(xe,$e,Ie,Fe,Ue){var qe=Fe.coordinateSystem,At=xe.getItemModel($e),Dt,Lt=parsePercent(At.get(Ie[0]),Ue.getWidth()),jt=parsePercent(At.get(Ie[1]),Ue.getHeight());if(!isNaN(Lt)&&!isNaN(jt))Dt=[Lt,jt];else{if(Fe.getMarkerPosition){var hn=xe.getValues(["x0","y0"],$e),vn=xe.getValues(["x1","y1"],$e),bn=qe.clampData(hn),_n=qe.clampData(vn),wn=[];Ie[0]==="x0"?wn[0]=bn[0]>_n[0]?vn[0]:hn[0]:wn[0]=bn[0]>_n[0]?hn[0]:vn[0],Ie[1]==="y0"?wn[1]=bn[1]>_n[1]?vn[1]:hn[1]:wn[1]=bn[1]>_n[1]?hn[1]:vn[1],Dt=Fe.getMarkerPosition(wn,Ie,!0)}else{var kn=xe.get(Ie[0],$e),Cn=xe.get(Ie[1],$e),Sn=[kn,Cn];qe.clampData&&qe.clampData(Sn,Sn),Dt=qe.dataToPoint(Sn,!0)}if(isCoordinateSystemType(qe,"cartesian2d")){var xn=qe.getAxis("x"),En=qe.getAxis("y"),kn=xe.get(Ie[0],$e),Cn=xe.get(Ie[1],$e);isInfinity(kn)?Dt[0]=xn.toGlobalCoord(xn.getExtent()[Ie[0]==="x0"?0:1]):isInfinity(Cn)&&(Dt[1]=En.toGlobalCoord(En.getExtent()[Ie[1]==="y0"?0:1]))}isNaN(Lt)||(Dt[0]=Lt),isNaN(jt)||(Dt[1]=jt)}return Dt}var dimPermutations=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],MarkAreaView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.updateTransform=function(Ie,Fe,Ue){Fe.eachSeries(function(qe){var At=MarkerModel.getMarkerModelFromSeries(qe,"markArea");if(At){var Dt=At.getData();Dt.each(function(Lt){var jt=map$1(dimPermutations,function(vn){return getSingleMarkerEndPoint(Dt,Lt,vn,qe,Ue)});Dt.setItemLayout(Lt,jt);var hn=Dt.getItemGraphicEl(Lt);hn.setShape("points",jt)})}},this)},$e.prototype.renderSeries=function(Ie,Fe,Ue,qe){var At=Ie.coordinateSystem,Dt=Ie.id,Lt=Ie.getData(),jt=this.markerGroupMap,hn=jt.get(Dt)||jt.set(Dt,{group:new Group$3});this.group.add(hn.group),this.markKeep(hn);var vn=createList$1(At,Ie,Fe);Fe.setData(vn),vn.each(function(bn){var _n=map$1(dimPermutations,function(Nn){return getSingleMarkerEndPoint(vn,bn,Nn,Ie,qe)}),wn=At.getAxis("x").scale,kn=At.getAxis("y").scale,Cn=wn.getExtent(),Sn=kn.getExtent(),xn=[wn.parse(vn.get("x0",bn)),wn.parse(vn.get("x1",bn))],En=[kn.parse(vn.get("y0",bn)),kn.parse(vn.get("y1",bn))];asc$2(xn),asc$2(En);var Tn=!(Cn[0]>xn[1]||Cn[1]En[1]||Sn[1]=0},$e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},$e.type="legend.plain",$e.dependencies=["series"],$e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},$e}(ComponentModel),curry=curry$1,each$3=each$f,Group$1=Group$3,LegendView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.newlineDisabled=!1,Ie}return $e.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},$e.prototype.getContentGroup=function(){return this._contentGroup},$e.prototype.getSelectorGroup=function(){return this._selectorGroup},$e.prototype.render=function(Ie,Fe,Ue){var qe=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!Ie.get("show",!0)){var At=Ie.get("align"),Dt=Ie.get("orient");(!At||At==="auto")&&(At=Ie.get("left")==="right"&&Dt==="vertical"?"right":"left");var Lt=Ie.get("selector",!0),jt=Ie.get("selectorPosition",!0);Lt&&(!jt||jt==="auto")&&(jt=Dt==="horizontal"?"end":"start"),this.renderInner(At,Ie,Fe,Ue,Lt,Dt,jt);var hn=Ie.getBoxLayoutParams(),vn={width:Ue.getWidth(),height:Ue.getHeight()},bn=Ie.get("padding"),_n=getLayoutRect(hn,vn,bn),wn=this.layoutInner(Ie,At,_n,qe,Lt,jt),kn=getLayoutRect(defaults$1({width:wn.width,height:wn.height},hn),vn,bn);this.group.x=kn.x-wn.x,this.group.y=kn.y-wn.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(wn,Ie))}},$e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},$e.prototype.renderInner=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this.getContentGroup(),hn=createHashMap(),vn=Fe.get("selectedMode"),bn=[];Ue.eachRawSeries(function(_n){!_n.get("legendHoverLink")&&bn.push(_n.id)}),each$3(Fe.getData(),function(_n,wn){var kn=_n.get("name");if(!this.newlineDisabled&&(kn===""||kn===` `)){var Cn=new Group$1;Cn.newline=!0,jt.add(Cn);return}var Sn=Ue.getSeriesByName(kn)[0];if(!hn.get(kn))if(Sn){var xn=Sn.getData(),En=xn.getVisual("legendLineStyle")||{},Tn=xn.getVisual("legendIcon"),An=xn.getVisual("style"),$n=this._createItem(Sn,kn,wn,_n,Fe,Ie,En,An,Tn,vn,qe);$n.on("click",curry(dispatchSelectAction,kn,null,qe,bn)).on("mouseover",curry(dispatchHighlightAction,Sn.name,null,qe,bn)).on("mouseout",curry(dispatchDownplayAction,Sn.name,null,qe,bn)),Ue.ssr&&$n.eachChild(function(Pn){var Nn=getECData(Pn);Nn.seriesIndex=Sn.seriesIndex,Nn.dataIndex=wn,Nn.ssrType="legend"}),hn.set(kn,!0)}else Ue.eachRawSeries(function(Pn){if(!hn.get(kn)&&Pn.legendVisualProvider){var Nn=Pn.legendVisualProvider;if(!Nn.containName(kn))return;var Mn=Nn.indexOfName(kn),In=Nn.getItemVisual(Mn,"style"),On=Nn.getItemVisual(Mn,"legendIcon"),Rn=parse(In.fill);Rn&&Rn[3]===0&&(Rn[3]=.2,In=extend$1(extend$1({},In),{fill:stringify(Rn,"rgba")}));var Bn=this._createItem(Pn,kn,wn,_n,Fe,Ie,{},In,On,vn,qe);Bn.on("click",curry(dispatchSelectAction,null,kn,qe,bn)).on("mouseover",curry(dispatchHighlightAction,null,kn,qe,bn)).on("mouseout",curry(dispatchDownplayAction,null,kn,qe,bn)),Ue.ssr&&Bn.eachChild(function(Vn){var Ln=getECData(Vn);Ln.seriesIndex=Pn.seriesIndex,Ln.dataIndex=wn,Ln.ssrType="legend"}),hn.set(kn,!0)}},this)},this),At&&this._createSelector(At,Fe,qe,Dt,Lt)},$e.prototype._createSelector=function(Ie,Fe,Ue,qe,At){var Dt=this.getSelectorGroup();each$3(Ie,function(jt){var hn=jt.type,vn=new ZRText({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){Ue.dispatchAction({type:hn==="all"?"legendAllSelect":"legendInverseSelect"})}});Dt.add(vn);var bn=Fe.getModel("selectorLabel"),_n=Fe.getModel(["emphasis","selectorLabel"]);setLabelStyle(vn,{normal:bn,emphasis:_n},{defaultText:jt.title}),enableHoverEmphasis(vn)})},$e.prototype._createItem=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn,vn,bn){var _n=Ie.visualDrawType,wn=At.get("itemWidth"),kn=At.get("itemHeight"),Cn=At.isSelected(Fe),Sn=qe.get("symbolRotate"),xn=qe.get("symbolKeepAspect"),En=qe.get("icon");hn=En||hn||"roundRect";var Tn=getLegendStyle(hn,qe,Lt,jt,_n,Cn,bn),An=new Group$1,$n=qe.getModel("textStyle");if(isFunction$2(Ie.getLegendIcon)&&(!En||En==="inherit"))An.add(Ie.getLegendIcon({itemWidth:wn,itemHeight:kn,icon:hn,iconRotate:Sn,itemStyle:Tn.itemStyle,lineStyle:Tn.lineStyle,symbolKeepAspect:xn}));else{var Pn=En==="inherit"&&Ie.getData().getVisual("symbol")?Sn==="inherit"?Ie.getData().getVisual("symbolRotate"):Sn:0;An.add(getDefaultLegendIcon({itemWidth:wn,itemHeight:kn,icon:hn,iconRotate:Pn,itemStyle:Tn.itemStyle,lineStyle:Tn.lineStyle,symbolKeepAspect:xn}))}var Nn=Dt==="left"?wn+5:-5,Mn=Dt,In=At.get("formatter"),On=Fe;isString$2(In)&&In?On=In.replace("{name}",Fe??""):isFunction$2(In)&&(On=In(Fe));var Rn=Cn?$n.getTextColor():qe.get("inactiveColor");An.add(new ZRText({style:createTextStyle($n,{text:On,x:Nn,y:kn/2,fill:Rn,align:Mn,verticalAlign:"middle"},{inheritColor:Rn})}));var Bn=new Rect$2({shape:An.getBoundingRect(),style:{fill:"transparent"}}),Vn=qe.getModel("tooltip");return Vn.get("show")&&setTooltipConfig({el:Bn,componentModel:At,itemName:Fe,itemTooltipOption:Vn.option}),An.add(Bn),An.eachChild(function(Ln){Ln.silent=!0}),Bn.silent=!vn,this.getContentGroup().add(An),enableHoverEmphasis(An),An.__legendDataIndex=Ue,An},$e.prototype.layoutInner=function(Ie,Fe,Ue,qe,At,Dt){var Lt=this.getContentGroup(),jt=this.getSelectorGroup();box(Ie.get("orient"),Lt,Ie.get("itemGap"),Ue.width,Ue.height);var hn=Lt.getBoundingRect(),vn=[-hn.x,-hn.y];if(jt.markRedraw(),Lt.markRedraw(),At){box("horizontal",jt,Ie.get("selectorItemGap",!0));var bn=jt.getBoundingRect(),_n=[-bn.x,-bn.y],wn=Ie.get("selectorButtonGap",!0),kn=Ie.getOrient().index,Cn=kn===0?"width":"height",Sn=kn===0?"height":"width",xn=kn===0?"y":"x";Dt==="end"?_n[kn]+=hn[Cn]+wn:vn[kn]+=bn[Cn]+wn,_n[1-kn]+=hn[Sn]/2-bn[Sn]/2,jt.x=_n[0],jt.y=_n[1],Lt.x=vn[0],Lt.y=vn[1];var En={x:0,y:0};return En[Cn]=hn[Cn]+wn+bn[Cn],En[Sn]=Math.max(hn[Sn],bn[Sn]),En[xn]=Math.min(0,bn[xn]+_n[1-kn]),En}else return Lt.x=vn[0],Lt.y=vn[1],this.group.getBoundingRect()},$e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},$e.type="legend.plain",$e}(ComponentView);function getLegendStyle(xe,$e,Ie,Fe,Ue,qe,At){function Dt(Cn,Sn){Cn.lineWidth==="auto"&&(Cn.lineWidth=Sn.lineWidth>0?2:0),each$3(Cn,function(xn,En){Cn[En]==="inherit"&&(Cn[En]=Sn[En])})}var Lt=$e.getModel("itemStyle"),jt=Lt.getItemStyle(),hn=xe.lastIndexOf("empty",0)===0?"fill":"stroke",vn=Lt.getShallow("decal");jt.decal=!vn||vn==="inherit"?Fe.decal:createOrUpdatePatternFromDecal(vn,At),jt.fill==="inherit"&&(jt.fill=Fe[Ue]),jt.stroke==="inherit"&&(jt.stroke=Fe[hn]),jt.opacity==="inherit"&&(jt.opacity=(Ue==="fill"?Fe:Ie).opacity),Dt(jt,Fe);var bn=$e.getModel("lineStyle"),_n=bn.getLineStyle();if(Dt(_n,Ie),jt.fill==="auto"&&(jt.fill=Fe.fill),jt.stroke==="auto"&&(jt.stroke=Fe.fill),_n.stroke==="auto"&&(_n.stroke=Fe.fill),!qe){var wn=$e.get("inactiveBorderWidth"),kn=jt[hn];jt.lineWidth=wn==="auto"?Fe.lineWidth>0&&kn?2:0:jt.lineWidth,jt.fill=$e.get("inactiveColor"),jt.stroke=$e.get("inactiveBorderColor"),_n.stroke=bn.get("inactiveColor"),_n.lineWidth=bn.get("inactiveWidth")}return{itemStyle:jt,lineStyle:_n}}function getDefaultLegendIcon(xe){var $e=xe.icon||"roundRect",Ie=createSymbol$1($e,0,0,xe.itemWidth,xe.itemHeight,xe.itemStyle.fill,xe.symbolKeepAspect);return Ie.setStyle(xe.itemStyle),Ie.rotation=(xe.iconRotate||0)*Math.PI/180,Ie.setOrigin([xe.itemWidth/2,xe.itemHeight/2]),$e.indexOf("empty")>-1&&(Ie.style.stroke=Ie.style.fill,Ie.style.fill="#fff",Ie.style.lineWidth=2),Ie}function dispatchSelectAction(xe,$e,Ie,Fe){dispatchDownplayAction(xe,$e,Ie,Fe),Ie.dispatchAction({type:"legendToggleSelect",name:xe??$e}),dispatchHighlightAction(xe,$e,Ie,Fe)}function isUseHoverLayer(xe){for(var $e=xe.getZr().storage.getDisplayList(),Ie,Fe=0,Ue=$e.length;FeUe[At],Cn=[-_n.x,-_n.y];Fe||(Cn[qe]=hn[jt]);var Sn=[0,0],xn=[-wn.x,-wn.y],En=retrieve2(Ie.get("pageButtonGap",!0),Ie.get("itemGap",!0));if(kn){var Tn=Ie.get("pageButtonPosition",!0);Tn==="end"?xn[qe]+=Ue[At]-wn[At]:Sn[qe]+=wn[At]+En}xn[1-qe]+=_n[Dt]/2-wn[Dt]/2,hn.setPosition(Cn),vn.setPosition(Sn),bn.setPosition(xn);var An={x:0,y:0};if(An[At]=kn?Ue[At]:_n[At],An[Dt]=Math.max(_n[Dt],wn[Dt]),An[Lt]=Math.min(0,wn[Lt]+xn[1-qe]),vn.__rectSize=Ue[At],kn){var $n={x:0,y:0};$n[At]=Math.max(Ue[At]-wn[At]-En,0),$n[Dt]=An[Dt],vn.setClipPath(new Rect$2({shape:$n})),vn.__rectSize=$n[At]}else bn.eachChild(function(Nn){Nn.attr({invisible:!0,silent:!0})});var Pn=this._getPageInfo(Ie);return Pn.pageIndex!=null&&updateProps$1(hn,{x:Pn.contentPosition[0],y:Pn.contentPosition[1]},kn?Ie:null),this._updatePageInfoView(Ie,Pn),An},$e.prototype._pageGo=function(Ie,Fe,Ue){var qe=this._getPageInfo(Fe)[Ie];qe!=null&&Ue.dispatchAction({type:"legendScroll",scrollDataIndex:qe,legendId:Fe.id})},$e.prototype._updatePageInfoView=function(Ie,Fe){var Ue=this._controllerGroup;each$f(["pagePrev","pageNext"],function(hn){var vn=hn+"DataIndex",bn=Fe[vn]!=null,_n=Ue.childOfName(hn);_n&&(_n.setStyle("fill",bn?Ie.get("pageIconColor",!0):Ie.get("pageIconInactiveColor",!0)),_n.cursor=bn?"pointer":"default")});var qe=Ue.childOfName("pageText"),At=Ie.get("pageFormatter"),Dt=Fe.pageIndex,Lt=Dt!=null?Dt+1:0,jt=Fe.pageCount;qe&&At&&qe.setStyle("text",isString$2(At)?At.replace("{current}",Lt==null?"":Lt+"").replace("{total}",jt==null?"":jt+""):At({current:Lt,total:jt}))},$e.prototype._getPageInfo=function(Ie){var Fe=Ie.get("scrollDataIndex",!0),Ue=this.getContentGroup(),qe=this._containerGroup.__rectSize,At=Ie.getOrient().index,Dt=WH[At],Lt=XY[At],jt=this._findTargetItemIndex(Fe),hn=Ue.children(),vn=hn[jt],bn=hn.length,_n=bn?1:0,wn={contentPosition:[Ue.x,Ue.y],pageCount:_n,pageIndex:_n-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!vn)return wn;var kn=Tn(vn);wn.contentPosition[At]=-kn.s;for(var Cn=jt+1,Sn=kn,xn=kn,En=null;Cn<=bn;++Cn)En=Tn(hn[Cn]),(!En&&xn.e>Sn.s+qe||En&&!An(En,Sn.s))&&(xn.i>Sn.i?Sn=xn:Sn=En,Sn&&(wn.pageNextDataIndex==null&&(wn.pageNextDataIndex=Sn.i),++wn.pageCount)),xn=En;for(var Cn=jt-1,Sn=kn,xn=kn,En=null;Cn>=-1;--Cn)En=Tn(hn[Cn]),(!En||!An(xn,En.s))&&Sn.i=Pn&&$n.s<=Pn+qe}},$e.prototype._findTargetItemIndex=function(Ie){if(!this._showController)return 0;var Fe,Ue=this.getContentGroup(),qe;return Ue.eachChild(function(At,Dt){var Lt=At.__legendDataIndex;qe==null&&Lt!=null&&(qe=Dt),Lt===Ie&&(Fe=Dt)}),Fe??qe},$e.type="legend.scroll",$e}(LegendView);function installScrollableLegendAction(xe){xe.registerAction("legendScroll","legendscroll",function($e,Ie){var Fe=$e.scrollDataIndex;Fe!=null&&Ie.eachComponent({mainType:"legend",subType:"scroll",query:$e},function(Ue){Ue.setScrollDataIndex(Fe)})})}function install$b(xe){use(install$c),xe.registerComponentModel(ScrollableLegendModel),xe.registerComponentView(ScrollableLegendView),installScrollableLegendAction(xe)}function install$a(xe){use(install$c),use(install$b)}var InsideZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.inside",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),$e}(DataZoomModel),inner$1=makeInner();function setViewInfoToCoordSysRecord(xe,$e,Ie){inner$1(xe).coordSysRecordMap.each(function(Fe){var Ue=Fe.dataZoomInfoMap.get($e.uid);Ue&&(Ue.getRange=Ie)})}function disposeCoordSysRecordIfNeeded(xe,$e){for(var Ie=inner$1(xe).coordSysRecordMap,Fe=Ie.keys(),Ue=0;UeFe[Ie+$e]&&($e=Dt),Ue=Ue&&At.get("preventDefaultMouseMove",!0)}),{controlType:$e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!Ue}}}function installDataZoomRoamProcessor(xe){xe.registerProcessor(xe.PRIORITY.PROCESSOR.FILTER,function($e,Ie){var Fe=inner$1(Ie),Ue=Fe.coordSysRecordMap||(Fe.coordSysRecordMap=createHashMap());Ue.each(function(qe){qe.dataZoomInfoMap=null}),$e.eachComponent({mainType:"dataZoom",subType:"inside"},function(qe){var At=collectReferCoordSysModelInfo(qe);each$f(At.infoList,function(Dt){var Lt=Dt.model.uid,jt=Ue.get(Lt)||Ue.set(Lt,createCoordSysRecord(Ie,Dt.model)),hn=jt.dataZoomInfoMap||(jt.dataZoomInfoMap=createHashMap());hn.set(qe.uid,{dzReferCoordSysInfo:Dt,model:qe,getRange:null})})}),Ue.each(function(qe){var At=qe.controller,Dt,Lt=qe.dataZoomInfoMap;if(Lt){var jt=Lt.keys()[0];jt!=null&&(Dt=Lt.get(jt))}if(!Dt){disposeCoordSysRecord(Ue,qe);return}var hn=mergeControllerParams(Lt);At.enable(hn.controlType,hn.opt),At.setPointerChecker(qe.containsPoint),createOrUpdate(qe,"dispatchAction",Dt.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="dataZoom.inside",Ie}return $e.prototype.render=function(Ie,Fe,Ue){if(xe.prototype.render.apply(this,arguments),Ie.noTarget()){this._clear();return}this.range=Ie.getPercentRange(),setViewInfoToCoordSysRecord(Ue,Ie,{pan:bind$2(getRangeHandlers.pan,this),zoom:bind$2(getRangeHandlers.zoom,this),scrollMove:bind$2(getRangeHandlers.scrollMove,this)})},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},$e.type="dataZoom.inside",$e}(DataZoomView),getRangeHandlers={zoom:function(xe,$e,Ie,Fe){var Ue=this.range,qe=Ue.slice(),At=xe.axisModels[0];if(At){var Dt=getDirectionInfo[$e](null,[Fe.originX,Fe.originY],At,Ie,xe),Lt=(Dt.signal>0?Dt.pixelStart+Dt.pixelLength-Dt.pixel:Dt.pixel-Dt.pixelStart)/Dt.pixelLength*(qe[1]-qe[0])+qe[0],jt=Math.max(1/Fe.scale,0);qe[0]=(qe[0]-Lt)*jt+Lt,qe[1]=(qe[1]-Lt)*jt+Lt;var hn=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,qe,[0,100],0,hn.minSpan,hn.maxSpan),this.range=qe,Ue[0]!==qe[0]||Ue[1]!==qe[1])return qe}},pan:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([qe.oldX,qe.oldY],[qe.newX,qe.newY],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*At.pixel/At.pixelLength}),scrollMove:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([0,0],[qe.scrollDelta,qe.scrollDelta],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*qe.scrollDelta})};function makeMover(xe){return function($e,Ie,Fe,Ue){var qe=this.range,At=qe.slice(),Dt=$e.axisModels[0];if(Dt){var Lt=xe(At,Dt,$e,Ie,Fe,Ue);if(sliderMove(Lt,At,[0,100],"all"),this.range=At,qe[0]!==At[0]||qe[1]!==At[1])return At}}}var getDirectionInfo={grid:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem.getRect();return xe=xe||[0,0],qe.dim==="x"?(At.pixel=$e[0]-xe[0],At.pixelLength=Dt.width,At.pixelStart=Dt.x,At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=Dt.height,At.pixelStart=Dt.y,At.signal=qe.inverse?-1:1),At},polar:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem,Lt=Dt.getRadiusAxis().getExtent(),jt=Dt.getAngleAxis().getExtent();return xe=xe?Dt.pointToCoord(xe):[0,0],$e=Dt.pointToCoord($e),Ie.mainType==="radiusAxis"?(At.pixel=$e[0]-xe[0],At.pixelLength=Lt[1]-Lt[0],At.pixelStart=Lt[0],At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=jt[1]-jt[0],At.pixelStart=jt[0],At.signal=qe.inverse?-1:1),At},singleAxis:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At=Ue.model.coordinateSystem.getRect(),Dt={};return xe=xe||[0,0],qe.orient==="horizontal"?(Dt.pixel=$e[0]-xe[0],Dt.pixelLength=At.width,Dt.pixelStart=At.x,Dt.signal=qe.inverse?1:-1):(Dt.pixel=$e[1]-xe[1],Dt.pixelLength=At.height,Dt.pixelStart=At.y,Dt.signal=qe.inverse?-1:1),Dt}};function install$9(xe){installCommon$1(xe),xe.registerComponentModel(InsideZoomModel),xe.registerComponentView(InsideZoomView),installDataZoomRoamProcessor(xe)}var SliderZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.slider",$e.layoutMode="box",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),$e}(DataZoomModel),Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL$1="horizontal",VERTICAL$1="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._displayables={},Ie}return $e.prototype.init=function(Ie,Fe){this.api=Fe,this._onBrush=bind$2(this._onBrush,this),this._onBrushEnd=bind$2(this._onBrushEnd,this)},$e.prototype.render=function(Ie,Fe,Ue,qe){if(xe.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",Ie.get("throttle"),"fixRate"),this._orient=Ie.getOrient(),Ie.get("show")===!1){this.group.removeAll();return}if(Ie.noTarget()){this._clear(),this.group.removeAll();return}(!qe||qe.type!=="dataZoom"||qe.from!==this.uid)&&this._buildView(),this._updateView()},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var Ie=this.api.getZr();Ie.off("mousemove",this._onBrush),Ie.off("mouseup",this._onBrushEnd)},$e.prototype._buildView=function(){var Ie=this.group;Ie.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var Fe=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),Ie.add(Fe),this._positionGroup()},$e.prototype._resetLocation=function(){var Ie=this.dataZoomModel,Fe=this.api,Ue=Ie.get("brushSelect"),qe=Ue?DEFAULT_MOVE_HANDLE_SIZE:0,At=this._findCoordRect(),Dt={width:Fe.getWidth(),height:Fe.getHeight()},Lt=this._orient===HORIZONTAL$1?{right:Dt.width-At.x-At.width,top:Dt.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-qe,width:At.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:At.y,width:DEFAULT_FILLER_SIZE,height:At.height},jt=getLayoutParams(Ie.option);each$f(["right","top","width","height"],function(vn){jt[vn]==="ph"&&(jt[vn]=Lt[vn])});var hn=getLayoutRect(jt,Dt);this._location={x:hn.x,y:hn.y},this._size=[hn.width,hn.height],this._orient===VERTICAL$1&&this._size.reverse()},$e.prototype._positionGroup=function(){var Ie=this.group,Fe=this._location,Ue=this._orient,qe=this.dataZoomModel.getFirstTargetAxisModel(),At=qe&&qe.get("inverse"),Dt=this._displayables.sliderGroup,Lt=(this._dataShadowInfo||{}).otherAxisInverse;Dt.attr(Ue===HORIZONTAL$1&&!At?{scaleY:Lt?1:-1,scaleX:1}:Ue===HORIZONTAL$1&&At?{scaleY:Lt?1:-1,scaleX:-1}:Ue===VERTICAL$1&&!At?{scaleY:Lt?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:Lt?-1:1,scaleX:-1,rotation:Math.PI/2});var jt=Ie.getBoundingRect([Dt]);Ie.x=Fe.x-jt.x,Ie.y=Fe.y-jt.y,Ie.markRedraw()},$e.prototype._getViewExtent=function(){return[0,this._size[0]]},$e.prototype._renderBackground=function(){var Ie=this.dataZoomModel,Fe=this._size,Ue=this._displayables.sliderGroup,qe=Ie.get("brushSelect");Ue.add(new Rect({silent:!0,shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:Ie.get("backgroundColor")},z2:-40}));var At=new Rect({shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:"transparent"},z2:0,onclick:bind$2(this._onClickPanel,this)}),Dt=this.api.getZr();qe?(At.on("mousedown",this._onBrushStart,this),At.cursor="crosshair",Dt.on("mousemove",this._onBrush),Dt.on("mouseup",this._onBrushEnd)):(Dt.off("mousemove",this._onBrush),Dt.off("mouseup",this._onBrushEnd)),Ue.add(At)},$e.prototype._renderDataShadow=function(){var Ie=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!Ie)return;var Fe=this._size,Ue=this._shadowSize||[],qe=Ie.series,At=qe.getRawData(),Dt=qe.getShadowDim&&qe.getShadowDim(),Lt=Dt&&At.getDimensionInfo(Dt)?qe.getShadowDim():Ie.otherDim;if(Lt==null)return;var jt=this._shadowPolygonPts,hn=this._shadowPolylinePts;if(At!==this._shadowData||Lt!==this._shadowDim||Fe[0]!==Ue[0]||Fe[1]!==Ue[1]){var vn=At.getDataExtent(Lt),bn=(vn[1]-vn[0])*.3;vn=[vn[0]-bn,vn[1]+bn];var _n=[0,Fe[1]],wn=[0,Fe[0]],kn=[[Fe[0],0],[0,0]],Cn=[],Sn=wn[1]/(At.count()-1),xn=0,En=Math.round(At.count()/Fe[0]),Tn;At.each([Lt],function(Mn,In){if(En>0&&In%En){xn+=Sn;return}var On=Mn==null||isNaN(Mn)||Mn==="",Rn=On?0:linearMap$2(Mn,vn,_n,!0);On&&!Tn&&In?(kn.push([kn[kn.length-1][0],0]),Cn.push([Cn[Cn.length-1][0],0])):!On&&Tn&&(kn.push([xn,0]),Cn.push([xn,0])),kn.push([xn,Rn]),Cn.push([xn,Rn]),xn+=Sn,Tn=On}),jt=this._shadowPolygonPts=kn,hn=this._shadowPolylinePts=Cn}this._shadowData=At,this._shadowDim=Lt,this._shadowSize=[Fe[0],Fe[1]];var An=this.dataZoomModel;function $n(Mn){var In=An.getModel(Mn?"selectedDataBackground":"dataBackground"),On=new Group$3,Rn=new Polygon({shape:{points:jt},segmentIgnoreThreshold:1,style:In.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),Bn=new Polyline$1({shape:{points:hn},segmentIgnoreThreshold:1,style:In.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return On.add(Rn),On.add(Bn),On}for(var Pn=0;Pn<3;Pn++){var Nn=$n(Pn===1);this._displayables.sliderGroup.add(Nn),this._displayables.dataShadowSegs.push(Nn)}},$e.prototype._prepareDataShadowInfo=function(){var Ie=this.dataZoomModel,Fe=Ie.get("showDataShadow");if(Fe!==!1){var Ue,qe=this.ecModel;return Ie.eachTargetAxis(function(At,Dt){var Lt=Ie.getAxisProxy(At,Dt).getTargetSeriesModels();each$f(Lt,function(jt){if(!Ue&&!(Fe!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,jt.get("type"))<0)){var hn=qe.getComponent(getAxisMainType(At),Dt).axis,vn=getOtherDim(At),bn,_n=jt.coordinateSystem;vn!=null&&_n.getOtherAxis&&(bn=_n.getOtherAxis(hn).inverse),vn=jt.getData().mapDimension(vn),Ue={thisAxis:hn,series:jt,thisDim:At,otherDim:vn,otherAxisInverse:bn}}},this)},this),Ue}},$e.prototype._renderHandle=function(){var Ie=this.group,Fe=this._displayables,Ue=Fe.handles=[null,null],qe=Fe.handleLabels=[null,null],At=this._displayables.sliderGroup,Dt=this._size,Lt=this.dataZoomModel,jt=this.api,hn=Lt.get("borderRadius")||0,vn=Lt.get("brushSelect"),bn=Fe.filler=new Rect({silent:vn,style:{fill:Lt.get("fillerColor")},textConfig:{position:"inside"}});At.add(bn),At.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:Dt[0],height:Dt[1],r:hn},style:{stroke:Lt.get("dataBackgroundColor")||Lt.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$f([0,1],function(En){var Tn=Lt.get("handleIcon");!symbolBuildProxies[Tn]&&Tn.indexOf("path://")<0&&Tn.indexOf("image://")<0&&(Tn="path://"+Tn);var An=createSymbol$1(Tn,-1,0,2,2,null,!0);An.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$2(this._onDragMove,this,En),ondragend:bind$2(this._onDragEnd,this),onmouseover:bind$2(this._showDataInfo,this,!0),onmouseout:bind$2(this._showDataInfo,this,!1),z2:5});var $n=An.getBoundingRect(),Pn=Lt.get("handleSize");this._handleHeight=parsePercent(Pn,this._size[1]),this._handleWidth=$n.width/$n.height*this._handleHeight,An.setStyle(Lt.getModel("handleStyle").getItemStyle()),An.style.strokeNoScale=!0,An.rectHover=!0,An.ensureState("emphasis").style=Lt.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(An);var Nn=Lt.get("handleColor");Nn!=null&&(An.style.fill=Nn),At.add(Ue[En]=An);var Mn=Lt.getModel("textStyle");Ie.add(qe[En]=new ZRText({silent:!0,invisible:!0,style:createTextStyle(Mn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Mn.getTextColor(),font:Mn.getFont()}),z2:10}))},this);var _n=bn;if(vn){var wn=parsePercent(Lt.get("moveHandleSize"),Dt[1]),kn=Fe.moveHandle=new Rect$2({style:Lt.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:Dt[1]-.5,height:wn}}),Cn=wn*.8,Sn=Fe.moveHandleIcon=createSymbol$1(Lt.get("moveHandleIcon"),-Cn/2,-Cn/2,Cn,Cn,"#fff",!0);Sn.silent=!0,Sn.y=Dt[1]+wn/2-.5,kn.ensureState("emphasis").style=Lt.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var xn=Math.min(Dt[1]/2,Math.max(wn,10));_n=Fe.moveZone=new Rect$2({invisible:!0,shape:{y:Dt[1]-xn,height:wn+xn}}),_n.on("mouseover",function(){jt.enterEmphasis(kn)}).on("mouseout",function(){jt.leaveEmphasis(kn)}),At.add(kn),At.add(Sn),At.add(_n)}_n.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$2(this._onDragMove,this,"all"),ondragstart:bind$2(this._showDataInfo,this,!0),ondragend:bind$2(this._onDragEnd,this),onmouseover:bind$2(this._showDataInfo,this,!0),onmouseout:bind$2(this._showDataInfo,this,!1)})},$e.prototype._resetInterval=function(){var Ie=this._range=this.dataZoomModel.getPercentRange(),Fe=this._getViewExtent();this._handleEnds=[linearMap$2(Ie[0],[0,100],Fe,!0),linearMap$2(Ie[1],[0,100],Fe,!0)]},$e.prototype._updateInterval=function(Ie,Fe){var Ue=this.dataZoomModel,qe=this._handleEnds,At=this._getViewExtent(),Dt=Ue.findRepresentativeAxisProxy().getMinMaxSpan(),Lt=[0,100];sliderMove(Fe,qe,At,Ue.get("zoomLock")?"all":Ie,Dt.minSpan!=null?linearMap$2(Dt.minSpan,Lt,At,!0):null,Dt.maxSpan!=null?linearMap$2(Dt.maxSpan,Lt,At,!0):null);var jt=this._range,hn=this._range=asc$2([linearMap$2(qe[0],At,Lt,!0),linearMap$2(qe[1],At,Lt,!0)]);return!jt||jt[0]!==hn[0]||jt[1]!==hn[1]},$e.prototype._updateView=function(Ie){var Fe=this._displayables,Ue=this._handleEnds,qe=asc$2(Ue.slice()),At=this._size;each$f([0,1],function(_n){var wn=Fe.handles[_n],kn=this._handleHeight;wn.attr({scaleX:kn/2,scaleY:kn/2,x:Ue[_n]+(_n?-1:1),y:At[1]/2-kn/2})},this),Fe.filler.setShape({x:qe[0],y:0,width:qe[1]-qe[0],height:At[1]});var Dt={x:qe[0],width:qe[1]-qe[0]};Fe.moveHandle&&(Fe.moveHandle.setShape(Dt),Fe.moveZone.setShape(Dt),Fe.moveZone.getBoundingRect(),Fe.moveHandleIcon&&Fe.moveHandleIcon.attr("x",Dt.x+Dt.width/2));for(var Lt=Fe.dataShadowSegs,jt=[0,qe[0],qe[1],At[0]],hn=0;hnFe[0]||Ue[1]<0||Ue[1]>Fe[1])){var qe=this._handleEnds,At=(qe[0]+qe[1])/2,Dt=this._updateInterval("all",Ue[0]-At);this._updateView(),Dt&&this._dispatchZoomAction(!1)}},$e.prototype._onBrushStart=function(Ie){var Fe=Ie.offsetX,Ue=Ie.offsetY;this._brushStart=new Point(Fe,Ue),this._brushing=!0,this._brushStartTime=+new Date},$e.prototype._onBrushEnd=function(Ie){if(this._brushing){var Fe=this._displayables.brushRect;if(this._brushing=!1,!!Fe){Fe.attr("ignore",!0);var Ue=Fe.shape,qe=+new Date;if(!(qe-this._brushStartTime<200&&Math.abs(Ue.width)<5)){var At=this._getViewExtent(),Dt=[0,100];this._range=asc$2([linearMap$2(Ue.x,At,Dt,!0),linearMap$2(Ue.x+Ue.width,At,Dt,!0)]),this._handleEnds=[Ue.x,Ue.x+Ue.width],this._updateView(),this._dispatchZoomAction(!1)}}}},$e.prototype._onBrush=function(Ie){this._brushing&&(stop(Ie.event),this._updateBrushRect(Ie.offsetX,Ie.offsetY))},$e.prototype._updateBrushRect=function(Ie,Fe){var Ue=this._displayables,qe=this.dataZoomModel,At=Ue.brushRect;At||(At=Ue.brushRect=new Rect({silent:!0,style:qe.getModel("brushStyle").getItemStyle()}),Ue.sliderGroup.add(At)),At.attr("ignore",!1);var Dt=this._brushStart,Lt=this._displayables.sliderGroup,jt=Lt.transformCoordToLocal(Ie,Fe),hn=Lt.transformCoordToLocal(Dt.x,Dt.y),vn=this._size;jt[0]=Math.max(Math.min(vn[0],jt[0]),0),At.setShape({x:hn[0],y:0,width:jt[0]-hn[0],height:vn[1]})},$e.prototype._dispatchZoomAction=function(Ie){var Fe=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:Ie?REALTIME_ANIMATION_CONFIG:null,start:Fe[0],end:Fe[1]})},$e.prototype._findCoordRect=function(){var Ie,Fe=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!Ie&&Fe.length){var Ue=Fe[0].model.coordinateSystem;Ie=Ue.getRect&&Ue.getRect()}if(!Ie){var qe=this.api.getWidth(),At=this.api.getHeight();Ie={x:qe*.2,y:At*.2,width:qe*.6,height:At*.6}}return Ie},$e.type="dataZoom.slider",$e}(DataZoomView);function getOtherDim(xe){var $e={x:"y",y:"x",radius:"angle",angle:"radius"};return $e[xe]}function getCursor$1(xe){return xe==="vertical"?"ns-resize":"ew-resize"}function install$8(xe){xe.registerComponentModel(SliderZoomModel),xe.registerComponentView(SliderZoomView),installCommon$1(xe)}function install$7(xe){use(install$9),use(install$8)}var visualDefault={get:function(xe,$e,Ie){var Fe=clone$4((defaultOption[xe]||{})[$e]);return Ie&&isArray$2(Fe)?Fe[Fe.length-1]:Fe}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},mapVisual=VisualMapping.mapVisual,eachVisual=VisualMapping.eachVisual,isArray$1=isArray$2,each$2=each$f,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.stateList=["inRange","outOfRange"],Ie.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],Ie.layoutMode={type:"box",ignoreSize:!0},Ie.dataBound=[-1/0,1/0],Ie.targetVisuals={},Ie.controllerVisuals={},Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue)},$e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option;!Fe&&replaceVisualOption(Ue,Ie,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},$e.prototype.resetVisual=function(Ie){var Fe=this.stateList;Ie=bind$2(Ie,this),this.controllerVisuals=createVisualMappings(this.option.controller,Fe,Ie),this.targetVisuals=createVisualMappings(this.option.target,Fe,Ie)},$e.prototype.getItemSymbol=function(){return null},$e.prototype.getTargetSeriesIndices=function(){var Ie=this.option.seriesIndex,Fe=[];return Ie==null||Ie==="all"?this.ecModel.eachSeries(function(Ue,qe){Fe.push(qe)}):Fe=normalizeToArray(Ie),Fe},$e.prototype.eachTargetSeries=function(Ie,Fe){each$f(this.getTargetSeriesIndices(),function(Ue){var qe=this.ecModel.getSeriesByIndex(Ue);qe&&Ie.call(Fe,qe)},this)},$e.prototype.isTargetSeries=function(Ie){var Fe=!1;return this.eachTargetSeries(function(Ue){Ue===Ie&&(Fe=!0)}),Fe},$e.prototype.formatValueText=function(Ie,Fe,Ue){var qe=this.option,At=qe.precision,Dt=this.dataBound,Lt=qe.formatter,jt;Ue=Ue||["<",">"],isArray$2(Ie)&&(Ie=Ie.slice(),jt=!0);var hn=Fe?Ie:jt?[vn(Ie[0]),vn(Ie[1])]:vn(Ie);if(isString$2(Lt))return Lt.replace("{value}",jt?hn[0]:hn).replace("{value2}",jt?hn[1]:hn);if(isFunction$2(Lt))return jt?Lt(Ie[0],Ie[1]):Lt(Ie);if(jt)return Ie[0]===Dt[0]?Ue[0]+" "+hn[1]:Ie[1]===Dt[1]?Ue[1]+" "+hn[0]:hn[0]+" - "+hn[1];return hn;function vn(bn){return bn===Dt[0]?"min":bn===Dt[1]?"max":(+bn).toFixed(Math.min(At,20))}},$e.prototype.resetExtent=function(){var Ie=this.option,Fe=asc([Ie.min,Ie.max]);this._dataExtent=Fe},$e.prototype.getDataDimensionIndex=function(Ie){var Fe=this.option.dimension;if(Fe!=null)return Ie.getDimensionIndex(Fe);for(var Ue=Ie.dimensions,qe=Ue.length-1;qe>=0;qe--){var At=Ue[qe],Dt=Ie.getDimensionInfo(At);if(!Dt.isCalculationCoord)return Dt.storeDimIndex}},$e.prototype.getExtent=function(){return this._dataExtent.slice()},$e.prototype.completeVisualOption=function(){var Ie=this.ecModel,Fe=this.option,Ue={inRange:Fe.inRange,outOfRange:Fe.outOfRange},qe=Fe.target||(Fe.target={}),At=Fe.controller||(Fe.controller={});merge$1(qe,Ue),merge$1(At,Ue);var Dt=this.isCategory();Lt.call(this,qe),Lt.call(this,At),jt.call(this,qe,"inRange","outOfRange"),hn.call(this,At);function Lt(vn){isArray$1(Fe.color)&&!vn.inRange&&(vn.inRange={color:Fe.color.slice().reverse()}),vn.inRange=vn.inRange||{color:Ie.get("gradientColor")}}function jt(vn,bn,_n){var wn=vn[bn],kn=vn[_n];wn&&!kn&&(kn=vn[_n]={},each$2(wn,function(Cn,Sn){if(VisualMapping.isValidType(Sn)){var xn=visualDefault.get(Sn,"inactive",Dt);xn!=null&&(kn[Sn]=xn,Sn==="color"&&!kn.hasOwnProperty("opacity")&&!kn.hasOwnProperty("colorAlpha")&&(kn.opacity=[0,0]))}}))}function hn(vn){var bn=(vn.inRange||{}).symbol||(vn.outOfRange||{}).symbol,_n=(vn.inRange||{}).symbolSize||(vn.outOfRange||{}).symbolSize,wn=this.get("inactiveColor"),kn=this.getItemSymbol(),Cn=kn||"roundRect";each$2(this.stateList,function(Sn){var xn=this.itemSize,En=vn[Sn];En||(En=vn[Sn]={color:Dt?wn:[wn]}),En.symbol==null&&(En.symbol=bn&&clone$4(bn)||(Dt?Cn:[Cn])),En.symbolSize==null&&(En.symbolSize=_n&&clone$4(_n)||(Dt?xn[0]:[xn[0],xn[0]])),En.symbol=mapVisual(En.symbol,function($n){return $n==="none"?Cn:$n});var Tn=En.symbolSize;if(Tn!=null){var An=-1/0;eachVisual(Tn,function($n){$n>An&&(An=$n)}),En.symbolSize=mapVisual(Tn,function($n){return linearMap$1($n,[0,An],[0,xn[0]],!0)})}},this)}},$e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},$e.prototype.isCategory=function(){return!!this.option.categories},$e.prototype.setSelected=function(Ie){},$e.prototype.getSelected=function(){return null},$e.prototype.getValueState=function(Ie){return null},$e.prototype.getVisualMeta=function(Ie){return null},$e.type="visualMap",$e.dependencies=["series"],$e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},$e}(ComponentModel),DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(Ue){Ue.mappingMethod="linear",Ue.dataExtent=this.getExtent()}),this._resetRange()},$e.prototype.resetItemSize=function(){xe.prototype.resetItemSize.apply(this,arguments);var Ie=this.itemSize;(Ie[0]==null||isNaN(Ie[0]))&&(Ie[0]=DEFAULT_BAR_BOUND[0]),(Ie[1]==null||isNaN(Ie[1]))&&(Ie[1]=DEFAULT_BAR_BOUND[1])},$e.prototype._resetRange=function(){var Ie=this.getExtent(),Fe=this.option.range;!Fe||Fe.auto?(Ie.auto=1,this.option.range=Ie):isArray$2(Fe)&&(Fe[0]>Fe[1]&&Fe.reverse(),Fe[0]=Math.max(Fe[0],Ie[0]),Fe[1]=Math.min(Fe[1],Ie[1]))},$e.prototype.completeVisualOption=function(){xe.prototype.completeVisualOption.apply(this,arguments),each$f(this.stateList,function(Ie){var Fe=this.option.controller[Ie].symbolSize;Fe&&Fe[0]!==Fe[1]&&(Fe[0]=Fe[1]/3)},this)},$e.prototype.setSelected=function(Ie){this.option.range=Ie.slice(),this._resetRange()},$e.prototype.getSelected=function(){var Ie=this.getExtent(),Fe=asc$2((this.get("range")||[]).slice());return Fe[0]>Ie[1]&&(Fe[0]=Ie[1]),Fe[1]>Ie[1]&&(Fe[1]=Ie[1]),Fe[0]=Ue[1]||Ie<=Fe[1])?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[];return this.eachTargetSeries(function(Ue){var qe=[],At=Ue.getData();At.each(this.getDataDimensionIndex(At),function(Dt,Lt){Ie[0]<=Dt&&Dt<=Ie[1]&&qe.push(Lt)},this),Fe.push({seriesId:Ue.id,dataIndex:qe})},this),Fe},$e.prototype.getVisualMeta=function(Ie){var Fe=getColorStopValues(this,"outOfRange",this.getExtent()),Ue=getColorStopValues(this,"inRange",this.option.range.slice()),qe=[];function At(_n,wn){qe.push({value:_n,color:Ie(_n,wn)})}for(var Dt=0,Lt=0,jt=Ue.length,hn=Fe.length;LtIe[1])break;qe.push({color:this.getControllerVisual(Lt,"color",Fe),offset:Dt/Ue})}return qe.push({color:this.getControllerVisual(Ie[1],"color",Fe),offset:1}),qe},$e.prototype._createBarPoints=function(Ie,Fe){var Ue=this.visualMapModel.itemSize;return[[Ue[0]-Fe[0],Ie[0]],[Ue[0],Ie[0]],[Ue[0],Ie[1]],[Ue[0]-Fe[1],Ie[1]]]},$e.prototype._createBarGroup=function(Ie){var Fe=this._orient,Ue=this.visualMapModel.get("inverse");return new Group$3(Fe==="horizontal"&&!Ue?{scaleX:Ie==="bottom"?1:-1,rotation:Math.PI/2}:Fe==="horizontal"&&Ue?{scaleX:Ie==="bottom"?-1:1,rotation:-Math.PI/2}:Fe==="vertical"&&!Ue?{scaleX:Ie==="left"?1:-1,scaleY:-1}:{scaleX:Ie==="left"?1:-1})},$e.prototype._updateHandle=function(Ie,Fe){if(this._useHandle){var Ue=this._shapes,qe=this.visualMapModel,At=Ue.handleThumbs,Dt=Ue.handleLabels,Lt=qe.itemSize,jt=qe.getExtent();each$1([0,1],function(hn){var vn=At[hn];vn.setStyle("fill",Fe.handlesColor[hn]),vn.y=Ie[hn];var bn=linearMap(Ie[hn],[0,Lt[1]],jt,!0),_n=this.getControllerVisual(bn,"symbolSize");vn.scaleX=vn.scaleY=_n/Lt[0],vn.x=Lt[0]-_n/2;var wn=applyTransform(Ue.handleLabelPoints[hn],getTransform$1(vn,this.group));Dt[hn].setStyle({x:wn[0],y:wn[1],text:qe.formatValueText(this._dataInterval[hn]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",Ue.mainGroup):"center"})},this)}},$e.prototype._showIndicator=function(Ie,Fe,Ue,qe){var At=this.visualMapModel,Dt=At.getExtent(),Lt=At.itemSize,jt=[0,Lt[1]],hn=this._shapes,vn=hn.indicator;if(vn){vn.attr("invisible",!1);var bn={convertOpacityToAlpha:!0},_n=this.getControllerVisual(Ie,"color",bn),wn=this.getControllerVisual(Ie,"symbolSize"),kn=linearMap(Ie,Dt,jt,!0),Cn=Lt[0]-wn/2,Sn={x:vn.x,y:vn.y};vn.y=kn,vn.x=Cn;var xn=applyTransform(hn.indicatorLabelPoint,getTransform$1(vn,this.group)),En=hn.indicatorLabel;En.attr("invisible",!1);var Tn=this._applyTransform("left",hn.mainGroup),An=this._orient,$n=An==="horizontal";En.setStyle({text:(Ue||"")+At.formatValueText(Fe),verticalAlign:$n?Tn:"middle",align:$n?"center":Tn});var Pn={x:Cn,y:kn,style:{fill:_n}},Nn={style:{x:xn[0],y:xn[1]}};if(At.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var Mn={duration:100,easing:"cubicInOut",additive:!0};vn.x=Sn.x,vn.y=Sn.y,vn.animateTo(Pn,Mn),En.animateTo(Nn,Mn)}else vn.attr(Pn),En.attr(Nn);this._firstShowIndicator=!1;var In=this._shapes.handleLabels;if(In)for(var On=0;OnAt[1]&&(vn[1]=1/0),Fe&&(vn[0]===-1/0?this._showIndicator(hn,vn[1],"< ",Lt):vn[1]===1/0?this._showIndicator(hn,vn[0],"> ",Lt):this._showIndicator(hn,hn,"≈ ",Lt));var bn=this._hoverLinkDataIndices,_n=[];(Fe||useHoverLinkOnHandle(Ue))&&(_n=this._hoverLinkDataIndices=Ue.findTargetDataIndices(vn));var wn=compressBatches(bn,_n);this._dispatchHighDown("downplay",makeHighDownBatch(wn[0],Ue)),this._dispatchHighDown("highlight",makeHighDownBatch(wn[1],Ue))}},$e.prototype._hoverLinkFromSeriesMouseOver=function(Ie){var Fe;if(findEventDispatcher(Ie.target,function(Lt){var jt=getECData(Lt);if(jt.dataIndex!=null)return Fe=jt,!0},!0),!!Fe){var Ue=this.ecModel.getSeriesByIndex(Fe.seriesIndex),qe=this.visualMapModel;if(qe.isTargetSeries(Ue)){var At=Ue.getData(Fe.dataType),Dt=At.getStore().get(qe.getDataDimensionIndex(At),Fe.dataIndex);isNaN(Dt)||this._showIndicator(Dt,Dt)}}},$e.prototype._hideIndicator=function(){var Ie=this._shapes;Ie.indicator&&Ie.indicator.attr("invisible",!0),Ie.indicatorLabel&&Ie.indicatorLabel.attr("invisible",!0);var Fe=this._shapes.handleLabels;if(Fe)for(var Ue=0;Ue=0&&(qe.dimension=At,Fe.push(qe))}}),xe.getData().setVisual("visualMeta",Fe)}}];function getColorVisual(xe,$e,Ie,Fe){for(var Ue=$e.targetVisuals[Fe],qe=VisualMapping.prepareVisualTypes(Ue),At={color:getVisualFromData(xe.getData(),"color")},Dt=0,Lt=qe.length;Dt0:$e.splitNumber>0)||$e.calculable)?"continuous":"piecewise"}),xe.registerAction(visualMapActionInfo,visualMapActionHander),each$f(visualMapEncodingHandlers,function($e){xe.registerVisual(xe.PRIORITY.VISUAL.COMPONENT,$e)}),xe.registerPreprocessor(visualMapPreprocessor))}function install$6(xe){xe.registerComponentModel(ContinuousModel),xe.registerComponentView(ContinuousView),installCommon(xe)}var PiecewiseModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._pieceList=[],Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var Ue=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(Ie,Fe);var qe=this.option.categories;this.resetVisual(function(At,Dt){Ue==="categories"?(At.mappingMethod="category",At.categories=clone$4(qe)):(At.dataExtent=this.getExtent(),At.mappingMethod="piecewise",At.pieceList=map$1(this._pieceList,function(Lt){return Lt=clone$4(Lt),Dt!=="inRange"&&(Lt.visual=null),Lt}))})},$e.prototype.completeVisualOption=function(){var Ie=this.option,Fe={},Ue=VisualMapping.listVisualTypes(),qe=this.isCategory();each$f(Ie.pieces,function(Dt){each$f(Ue,function(Lt){Dt.hasOwnProperty(Lt)&&(Fe[Lt]=1)})}),each$f(Fe,function(Dt,Lt){var jt=!1;each$f(this.stateList,function(hn){jt=jt||At(Ie,hn,Lt)||At(Ie.target,hn,Lt)},this),!jt&&each$f(this.stateList,function(hn){(Ie[hn]||(Ie[hn]={}))[Lt]=visualDefault.get(Lt,hn==="inRange"?"active":"inactive",qe)})},this);function At(Dt,Lt,jt){return Dt&&Dt[Lt]&&Dt[Lt].hasOwnProperty(jt)}xe.prototype.completeVisualOption.apply(this,arguments)},$e.prototype._resetSelected=function(Ie,Fe){var Ue=this.option,qe=this._pieceList,At=(Fe?Ue:Ie).selected||{};if(Ue.selected=At,each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At.hasOwnProperty(hn)||(At[hn]=!0)},this),Ue.selectedMode==="single"){var Dt=!1;each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At[hn]&&(Dt?At[hn]=!1:Dt=!0)},this)}},$e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},$e.prototype.getSelectedMapKey=function(Ie){return this._mode==="categories"?Ie.value+"":Ie.index+""},$e.prototype.getPieceList=function(){return this._pieceList},$e.prototype._determineMode=function(){var Ie=this.option;return Ie.pieces&&Ie.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},$e.prototype.setSelected=function(Ie){this.option.selected=clone$4(Ie)},$e.prototype.getValueState=function(Ie){var Fe=VisualMapping.findPieceIndex(Ie,this._pieceList);return Fe!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[Fe])]?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[],Ue=this._pieceList;return this.eachTargetSeries(function(qe){var At=[],Dt=qe.getData();Dt.each(this.getDataDimensionIndex(Dt),function(Lt,jt){var hn=VisualMapping.findPieceIndex(Lt,Ue);hn===Ie&&At.push(jt)},this),Fe.push({seriesId:qe.id,dataIndex:At})},this),Fe},$e.prototype.getRepresentValue=function(Ie){var Fe;if(this.isCategory())Fe=Ie.value;else if(Ie.value!=null)Fe=Ie.value;else{var Ue=Ie.interval||[];Fe=Ue[0]===-1/0&&Ue[1]===1/0?0:(Ue[0]+Ue[1])/2}return Fe},$e.prototype.getVisualMeta=function(Ie){if(this.isCategory())return;var Fe=[],Ue=["",""],qe=this;function At(hn,vn){var bn=qe.getRepresentValue({interval:hn});vn||(vn=qe.getValueState(bn));var _n=Ie(bn,vn);hn[0]===-1/0?Ue[0]=_n:hn[1]===1/0?Ue[1]=_n:Fe.push({value:hn[0],color:_n},{value:hn[1],color:_n})}var Dt=this._pieceList.slice();if(!Dt.length)Dt.push({interval:[-1/0,1/0]});else{var Lt=Dt[0].interval[0];Lt!==-1/0&&Dt.unshift({interval:[-1/0,Lt]}),Lt=Dt[Dt.length-1].interval[1],Lt!==1/0&&Dt.push({interval:[Lt,1/0]})}var jt=-1/0;return each$f(Dt,function(hn){var vn=hn.interval;vn&&(vn[0]>jt&&At([jt,vn[0]],"outOfRange"),At(vn.slice()),jt=vn[1])},this),{stops:Fe,outerColors:Ue}},$e.type="visualMap.piecewise",$e.defaultOption=inheritDefaultOption(VisualMapModel.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),$e}(VisualMapModel),resetMethods={splitNumber:function(xe){var $e=this.option,Ie=Math.min($e.precision,20),Fe=this.getExtent(),Ue=$e.splitNumber;Ue=Math.max(parseInt(Ue,10),1),$e.splitNumber=Ue;for(var qe=(Fe[1]-Fe[0])/Ue;+qe.toFixed(Ie)!==qe&&Ie<5;)Ie++;$e.precision=Ie,qe=+qe.toFixed(Ie),$e.minOpen&&xe.push({interval:[-1/0,Fe[0]],close:[0,0]});for(var At=0,Dt=Fe[0];At","≥"][Fe[0]]];Ie.text=Ie.text||this.formatValueText(Ie.value!=null?Ie.value:Ie.interval,!1,Ue)},this)}};function normalizeReverse(xe,$e){var Ie=xe.inverse;(xe.orient==="vertical"?!Ie:Ie)&&$e.reverse()}var PiecewiseVisualMapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.doRender=function(){var Ie=this.group;Ie.removeAll();var Fe=this.visualMapModel,Ue=Fe.get("textGap"),qe=Fe.textStyleModel,At=qe.getFont(),Dt=qe.getTextColor(),Lt=this._getItemAlign(),jt=Fe.itemSize,hn=this._getViewData(),vn=hn.endsText,bn=retrieve(Fe.get("showLabel",!0),!vn);vn&&this._renderEndsText(Ie,vn[0],jt,bn,Lt),each$f(hn.viewPieceList,function(_n){var wn=_n.piece,kn=new Group$3;kn.onclick=bind$2(this._onItemClick,this,wn),this._enableHoverLink(kn,_n.indexInModelPieceList);var Cn=Fe.getRepresentValue(wn);if(this._createItemSymbol(kn,Cn,[0,0,jt[0],jt[1]]),bn){var Sn=this.visualMapModel.getValueState(Cn);kn.add(new ZRText({style:{x:Lt==="right"?-Ue:jt[0]+Ue,y:jt[1]/2,text:wn.text,verticalAlign:"middle",align:Lt,font:At,fill:Dt,opacity:Sn==="outOfRange"?.5:1}}))}Ie.add(kn)},this),vn&&this._renderEndsText(Ie,vn[1],jt,bn,Lt),box(Fe.get("orient"),Ie,Fe.get("itemGap")),this.renderBackground(Ie),this.positionGroup(Ie)},$e.prototype._enableHoverLink=function(Ie,Fe){var Ue=this;Ie.on("mouseover",function(){return qe("highlight")}).on("mouseout",function(){return qe("downplay")});var qe=function(At){var Dt=Ue.visualMapModel;Dt.option.hoverLink&&Ue.api.dispatchAction({type:At,batch:makeHighDownBatch(Dt.findTargetDataIndices(Fe),Dt)})}},$e.prototype._getItemAlign=function(){var Ie=this.visualMapModel,Fe=Ie.option;if(Fe.orient==="vertical")return getItemAlign(Ie,this.api,Ie.itemSize);var Ue=Fe.align;return(!Ue||Ue==="auto")&&(Ue="left"),Ue},$e.prototype._renderEndsText=function(Ie,Fe,Ue,qe,At){if(Fe){var Dt=new Group$3,Lt=this.visualMapModel.textStyleModel;Dt.add(new ZRText({style:createTextStyle(Lt,{x:qe?At==="right"?Ue[0]:0:Ue[0]/2,y:Ue[1]/2,verticalAlign:"middle",align:qe?At:"center",text:Fe})})),Ie.add(Dt)}},$e.prototype._getViewData=function(){var Ie=this.visualMapModel,Fe=map$1(Ie.getPieceList(),function(Dt,Lt){return{piece:Dt,indexInModelPieceList:Lt}}),Ue=Ie.get("text"),qe=Ie.get("orient"),At=Ie.get("inverse");return(qe==="horizontal"?At:!At)?Fe.reverse():Ue&&(Ue=Ue.slice().reverse()),{viewPieceList:Fe,endsText:Ue}},$e.prototype._createItemSymbol=function(Ie,Fe,Ue){Ie.add(createSymbol$1(this.getControllerVisual(Fe,"symbol"),Ue[0],Ue[1],Ue[2],Ue[3],this.getControllerVisual(Fe,"color")))},$e.prototype._onItemClick=function(Ie){var Fe=this.visualMapModel,Ue=Fe.option,qe=Ue.selectedMode;if(qe){var At=clone$4(Ue.selected),Dt=Fe.getSelectedMapKey(Ie);qe==="single"||qe===!0?(At[Dt]=!0,each$f(At,function(Lt,jt){At[jt]=jt===Dt})):At[Dt]=!At[Dt],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:At})}},$e.type="visualMap.piecewise",$e}(VisualMapView);function install$5(xe){xe.registerComponentModel(PiecewiseModel),xe.registerComponentView(PiecewiseVisualMapView),installCommon(xe)}function install$4(xe){use(install$6),use(install$5)}var DEFAULT_OPTION={label:{enabled:!0},decal:{show:!1}},inner=makeInner(),decalPaletteScope={};function ariaVisual(xe,$e){var Ie=xe.getModel("aria");if(!Ie.get("enabled"))return;var Fe=clone$4(DEFAULT_OPTION);merge$1(Fe.label,xe.getLocaleModel().get("aria"),!1),merge$1(Ie.option,Fe,!1),Ue(),qe();function Ue(){var jt=Ie.getModel("decal"),hn=jt.get("show");if(hn){var vn=createHashMap();xe.eachSeries(function(bn){if(!bn.isColorBySeries()){var _n=vn.get(bn.type);_n||(_n={},vn.set(bn.type,_n)),inner(bn).scope=_n}}),xe.eachRawSeries(function(bn){if(xe.isSeriesFiltered(bn))return;if(isFunction$2(bn.enableAriaDecal)){bn.enableAriaDecal();return}var _n=bn.getData();if(bn.isColorBySeries()){var xn=getDecalFromPalette(bn.ecModel,bn.name,decalPaletteScope,xe.getSeriesCount()),En=_n.getVisual("decal");_n.setVisual("decal",Tn(En,xn))}else{var wn=bn.getRawData(),kn={},Cn=inner(bn).scope;_n.each(function(An){var $n=_n.getRawIndex(An);kn[$n]=An});var Sn=wn.count();wn.each(function(An){var $n=kn[An],Pn=wn.getName(An)||An+"",Nn=getDecalFromPalette(bn.ecModel,Pn,Cn,Sn),Mn=_n.getItemVisual($n,"decal");_n.setItemVisual($n,"decal",Tn(Mn,Nn))})}function Tn(An,$n){var Pn=An?extend$1(extend$1({},$n),An):$n;return Pn.dirty=!0,Pn}})}}function qe(){var jt=xe.getLocaleModel().get("aria"),hn=Ie.getModel("label");if(hn.option=defaults$1(hn.option,jt),!!hn.get("enabled")){var vn=$e.getZr().dom;if(hn.get("description")){vn.setAttribute("aria-label",hn.get("description"));return}var bn=xe.getSeriesCount(),_n=hn.get(["data","maxCount"])||10,wn=hn.get(["series","maxCount"])||10,kn=Math.min(bn,wn),Cn;if(!(bn<1)){var Sn=Dt();if(Sn){var xn=hn.get(["general","withTitle"]);Cn=At(xn,{title:Sn})}else Cn=hn.get(["general","withoutTitle"]);var En=[],Tn=bn>1?hn.get(["series","multiple","prefix"]):hn.get(["series","single","prefix"]);Cn+=At(Tn,{seriesCount:bn}),xe.eachSeries(function(Nn,Mn){if(Mn1?hn.get(["series","multiple",Rn]):hn.get(["series","single",Rn]),In=At(In,{seriesId:Nn.seriesIndex,seriesName:Nn.get("name"),seriesType:Lt(Nn.subType)});var Bn=Nn.getData();if(Bn.count()>_n){var Vn=hn.get(["data","partialData"]);In+=At(Vn,{displayCnt:_n})}else In+=hn.get(["data","allData"]);for(var Ln=hn.get(["data","separator","middle"]),Dn=hn.get(["data","separator","end"]),Hn=[],Fn=0;Fn":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RegExpEvaluator=function(){function xe($e){var Ie=this._condVal=isString$2($e)?new RegExp($e):isRegExp$1($e)?$e:null;if(Ie==null){var Fe="";throwError$1(Fe)}}return xe.prototype.evaluate=function($e){var Ie=typeof $e;return isString$2(Ie)?this._condVal.test($e):isNumber$2(Ie)?this._condVal.test($e+""):!1},xe}(),ConstConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return this.value},xe}(),AndConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if(!$e[Ie].evaluate())return!1;return!0},xe}(),OrConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if($e[Ie].evaluate())return!0;return!1},xe}(),NotConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return!this.child.evaluate()},xe}(),RelationalConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=!!this.valueParser,Ie=this.getValue,Fe=Ie(this.valueGetterParam),Ue=$e?this.valueParser(Fe):null,qe=0;qe2&&Fe.push(Ue),Ue=[Bn,Vn]}function hn(Bn,Vn,Ln,Dn){aroundEqual(Bn,Ln)&&aroundEqual(Vn,Dn)||Ue.push(Bn,Vn,Ln,Dn,Ln,Dn)}function vn(Bn,Vn,Ln,Dn,Hn,Fn){var zn=Math.abs(Vn-Bn),jn=Math.tan(zn/4)*4/3,Gn=VnNn:On2&&Fe.push(Ue),Fe}function adpativeBezier(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(aroundEqual(xe,Ie)&&aroundEqual($e,Fe)&&aroundEqual(Ue,At)&&aroundEqual(qe,Dt)){Lt.push(At,Dt);return}var hn=2/jt,vn=hn*hn,bn=At-xe,_n=Dt-$e,wn=Math.sqrt(bn*bn+_n*_n);bn/=wn,_n/=wn;var kn=Ie-xe,Cn=Fe-$e,Sn=Ue-At,xn=qe-Dt,En=kn*kn+Cn*Cn,Tn=Sn*Sn+xn*xn;if(En=0&&Nn=0){Lt.push(At,Dt);return}var Mn=[],In=[];cubicSubdivide(xe,Ie,Ue,At,.5,Mn),cubicSubdivide($e,Fe,qe,Dt,.5,In),adpativeBezier(Mn[0],In[0],Mn[1],In[1],Mn[2],In[2],Mn[3],In[3],Lt,jt),adpativeBezier(Mn[4],In[4],Mn[5],In[5],Mn[6],In[6],Mn[7],In[7],Lt,jt)}function pathToPolygons(xe,$e){var Ie=pathToBezierCurves(xe),Fe=[];$e=$e||1;for(var Ue=0;Ue0)for(var jt=0;jtMath.abs(jt),vn=getDividingGrids([Lt,jt],hn?0:1,$e),bn=(hn?Dt:jt)/vn.length,_n=0;_nUe,At=getDividingGrids([Fe,Ue],qe?0:1,$e),Dt=qe?"width":"height",Lt=qe?"height":"width",jt=qe?"x":"y",hn=qe?"y":"x",vn=xe[Dt]/At.length,bn=0;bn1?null:new Point(kn*Lt+xe,kn*jt+$e)}function projPtOnLine(xe,$e,Ie){var Fe=new Point;Point.sub(Fe,Ie,$e),Fe.normalize();var Ue=new Point;Point.sub(Ue,xe,$e);var qe=Ue.dot(Fe);return qe}function addToPoly(xe,$e){var Ie=xe[xe.length-1];Ie&&Ie[0]===$e[0]&&Ie[1]===$e[1]||xe.push($e)}function splitPolygonByLine(xe,$e,Ie){for(var Fe=xe.length,Ue=[],qe=0;qeAt?(jt.x=hn.x=Dt+qe/2,jt.y=Lt,hn.y=Lt+At):(jt.y=hn.y=Lt+At/2,jt.x=Dt,hn.x=Dt+qe),splitPolygonByLine($e,jt,hn)}function binaryDivideRecursive(xe,$e,Ie,Fe){if(Ie===1)Fe.push($e);else{var Ue=Math.floor(Ie/2),qe=xe($e);binaryDivideRecursive(xe,qe[0],Ue,Fe),binaryDivideRecursive(xe,qe[1],Ie-Ue,Fe)}return Fe}function clone(xe,$e){for(var Ie=[],Fe=0;Fe<$e;Fe++)Ie.push(clonePath(xe));return Ie}function copyPathProps(xe,$e){$e.setStyle(xe.style),$e.z=xe.z,$e.z2=xe.z2,$e.zlevel=xe.zlevel}function polygonConvert(xe){for(var $e=[],Ie=0;Ie0;jt/=2){var hn=0,vn=0;(xe&jt)>0&&(hn=1),($e&jt)>0&&(vn=1),Dt+=jt*jt*(3*hn^vn),vn===0&&(hn===1&&(xe=jt-1-xe,$e=jt-1-$e),Lt=xe,xe=$e,$e=Lt)}return Dt}function sortPaths(xe){var $e=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,qe=map$1(xe,function(Dt){var Lt=Dt.getBoundingRect(),jt=Dt.getComputedTransform(),hn=Lt.x+Lt.width/2+(jt?jt[4]:0),vn=Lt.y+Lt.height/2+(jt?jt[5]:0);return $e=Math.min(hn,$e),Ie=Math.min(vn,Ie),Fe=Math.max(hn,Fe),Ue=Math.max(vn,Ue),[hn,vn]}),At=map$1(qe,function(Dt,Lt){return{cp:Dt,z:hilbert(Dt[0],Dt[1],$e,Ie,Fe,Ue),path:xe[Lt]}});return At.sort(function(Dt,Lt){return Dt.z-Lt.z}).map(function(Dt){return Dt.path})}function defaultDividePath(xe){return split(xe.path,xe.count)}function createEmptyReturn(){return{fromIndividuals:[],toIndividuals:[],count:0}}function combineMorph(xe,$e,Ie){var Fe=[];function Ue(An){for(var $n=0;$n=0;Ue--)if(!Ie[Ue].many.length){var Lt=Ie[Dt].many;if(Lt.length<=1)if(Dt)Dt=0;else return Ie;var qe=Lt.length,jt=Math.ceil(qe/2);Ie[Ue].many=Lt.slice(jt,qe),Ie[Dt].many=Lt.slice(0,jt),Dt++}return Ie}var pathDividers={clone:function(xe){for(var $e=[],Ie=1-Math.pow(1-xe.path.style.opacity,1/xe.count),Fe=0;Fe0))return;var Dt=Fe.getModel("universalTransition").get("delay"),Lt=Object.assign({setToFinal:!0},At),jt,hn;isMultiple(xe)&&(jt=xe,hn=$e),isMultiple($e)&&(jt=$e,hn=xe);function vn(Sn,xn,En,Tn,An){var $n=Sn.many,Pn=Sn.one;if($n.length===1&&!An){var Nn=xn?$n[0]:Pn,Mn=xn?Pn:$n[0];if(isCombineMorphing(Nn))vn({many:[Nn],one:Mn},!0,En,Tn,!0);else{var In=Dt?defaults$1({delay:Dt(En,Tn)},Lt):Lt;morphPath(Nn,Mn,In),qe(Nn,Mn,Nn,Mn,In)}}else for(var On=defaults$1({dividePath:pathDividers[Ie],individualDelay:Dt&&function(Hn,Fn,zn,jn){return Dt(Hn+En,Tn)}},Lt),Rn=xn?combineMorph($n,Pn,On):separateMorph(Pn,$n,On),Bn=Rn.fromIndividuals,Vn=Rn.toIndividuals,Ln=Bn.length,Dn=0;Dn$e.length,_n=jt?prepareMorphBatches(hn,jt):prepareMorphBatches(bn?$e:xe,[bn?xe:$e]),wn=0,kn=0;kn<_n.length;kn++)wn+=_n[kn].many.length;for(var Cn=0,kn=0;kn<_n.length;kn++)vn(_n[kn],bn,Cn,wn),Cn+=_n[kn].many.length}function getPathList(xe){if(!xe)return[];if(isArray$2(xe)){for(var $e=[],Ie=0;IeDATA_COUNT_THRESHOLD))for(var qe=Fe.getIndices(),At=0;At0&&$n.group.traverse(function(Nn){Nn instanceof Path&&!Nn.animators.length&&Nn.animateFrom({style:{opacity:0}},Pn)})})}function getSeriesTransitionKey(xe){var $e=xe.getModel("universalTransition").get("seriesKey");return $e||xe.id}function convertArraySeriesKeyToString(xe){return isArray$2(xe)?xe.sort().join(","):xe}function getDivideShapeFromData(xe){if(xe.hostModel)return xe.hostModel.getModel("universalTransition").get("divideShape")}function findTransitionSeriesBatches(xe,$e){var Ie=createHashMap(),Fe=createHashMap(),Ue=createHashMap();return each$f(xe.oldSeries,function(qe,At){var Dt=xe.oldDataGroupIds[At],Lt=xe.oldData[At],jt=getSeriesTransitionKey(qe),hn=convertArraySeriesKeyToString(jt);Fe.set(hn,{dataGroupId:Dt,data:Lt}),isArray$2(jt)&&each$f(jt,function(vn){Ue.set(vn,{key:hn,dataGroupId:Dt,data:Lt})})}),each$f($e.updatedSeries,function(qe){if(qe.isUniversalTransitionEnabled()&&qe.isAnimationEnabled()){var At=qe.get("dataGroupId"),Dt=qe.getData(),Lt=getSeriesTransitionKey(qe),jt=convertArraySeriesKeyToString(Lt),hn=Fe.get(jt);if(hn)Ie.set(jt,{oldSeries:[{dataGroupId:hn.dataGroupId,divide:getDivideShapeFromData(hn.data),data:hn.data}],newSeries:[{dataGroupId:At,divide:getDivideShapeFromData(Dt),data:Dt}]});else if(isArray$2(Lt)){var vn=[];each$f(Lt,function(wn){var kn=Fe.get(wn);kn.data&&vn.push({dataGroupId:kn.dataGroupId,divide:getDivideShapeFromData(kn.data),data:kn.data})}),vn.length&&Ie.set(jt,{oldSeries:vn,newSeries:[{dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)}]})}else{var bn=Ue.get(Lt);if(bn){var _n=Ie.get(bn.key);_n||(_n={oldSeries:[{dataGroupId:bn.dataGroupId,data:bn.data,divide:getDivideShapeFromData(bn.data)}],newSeries:[]},Ie.set(bn.key,_n)),_n.newSeries.push({dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)})}}}}),Ie}function querySeries(xe,$e){for(var Ie=0;Ie=0&&Ue.push({dataGroupId:$e.oldDataGroupIds[Dt],data:$e.oldData[Dt],divide:getDivideShapeFromData($e.oldData[Dt]),groupIdDim:At.dimension})}),each$f(normalizeToArray(xe.to),function(At){var Dt=querySeries(Ie.updatedSeries,At);if(Dt>=0){var Lt=Ie.updatedSeries[Dt].getData();qe.push({dataGroupId:$e.oldDataGroupIds[Dt],data:Lt,divide:getDivideShapeFromData(Lt),groupIdDim:At.dimension})}}),Ue.length>0&&qe.length>0&&transitionBetween(Ue,qe,Fe)}function installUniversalTransition(xe){xe.registerUpdateLifecycle("series:beforeupdate",function($e,Ie,Fe){each$f(normalizeToArray(Fe.seriesTransition),function(Ue){each$f(normalizeToArray(Ue.to),function(qe){for(var At=Fe.updatedSeries,Dt=0;Dt0},xe.prototype.connect_=function(){!isBrowser||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},xe.prototype.disconnect_=function(){!isBrowser||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},xe.prototype.onTransitionEnd_=function($e){var Ie=$e.propertyName,Fe=Ie===void 0?"":Ie,Ue=transitionKeys.some(function(qe){return!!~Fe.indexOf(qe)});Ue&&this.refresh()},xe.getInstance=function(){return this.instance_||(this.instance_=new xe),this.instance_},xe.instance_=null,xe}(),defineConfigurable=function(xe,$e){for(var Ie=0,Fe=Object.keys($e);Ie"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)||(Ie.set($e,new ResizeObservation($e)),this.controller_.addObserver(this),this.controller_.refresh())}},xe.prototype.unobserve=function($e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)&&(Ie.delete($e),Ie.size||this.controller_.removeObserver(this))}},xe.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},xe.prototype.gatherActive=function(){var $e=this;this.clearActive(),this.observations_.forEach(function(Ie){Ie.isActive()&&$e.activeObservations_.push(Ie)})},xe.prototype.broadcastActive=function(){if(this.hasActive()){var $e=this.callbackCtx_,Ie=this.activeObservations_.map(function(Fe){return new ResizeObserverEntry$1(Fe.target,Fe.broadcastRect())});this.callback_.call($e,Ie,$e),this.clearActive()}},xe.prototype.clearActive=function(){this.activeObservations_.splice(0)},xe.prototype.hasActive=function(){return this.activeObservations_.length>0},xe}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver$1=function(){function xe($e){if(!(this instanceof xe))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ie=ResizeObserverController.getInstance(),Fe=new ResizeObserverSPI($e,Ie,this);observers.set(this,Fe)}return xe}();["observe","unobserve","disconnect"].forEach(function(xe){ResizeObserver$1.prototype[xe]=function(){var $e;return($e=observers.get(this))[xe].apply($e,arguments)}});var index=function(){return typeof global$1.ResizeObserver<"u"?global$1.ResizeObserver:ResizeObserver$1}();const _withScopeId=xe=>(pushScopeId("data-v-b113cb86"),xe=xe(),popScopeId(),xe),_hoisted_1$19={style:{padding:"15px"}},_hoisted_2$K={class:"justify-between flex"},_hoisted_3$m=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日新增用户数量",-1)),_hoisted_4$c={class:"flex justify-between"},_hoisted_5$8=_withScopeId(()=>createBaseVNode("span",null,"总计用户数量:",-1)),_hoisted_6$5={class:"flex justify-between"},_hoisted_7$3=_withScopeId(()=>createBaseVNode("span",{class:"font-bold"},"今日对话",-1)),_hoisted_8$3={class:"flex justify-between"},_hoisted_9$2=_withScopeId(()=>createBaseVNode("span",null,"总计对话",-1)),_hoisted_10$1={class:"flex justify-between"},_hoisted_11$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日绘画数量",-1)),_hoisted_12$1={class:"flex justify-between"},_hoisted_13$1=_withScopeId(()=>createBaseVNode("span",null,"总计绘画数量:",-1)),_hoisted_14$1={class:"justify-between flex"},_hoisted_15$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日订单数量",-1)),_hoisted_16$1={class:"flex justify-between"},_hoisted_17$1=_withScopeId(()=>createBaseVNode("span",null,"总计订单数量:",-1)),_hoisted_18$1={class:"align-center flex justify-between"},_hoisted_19$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"对话信息统计",-1)),_hoisted_20$1=_withScopeId(()=>createBaseVNode("div",{id:"chat"},null,-1)),_hoisted_21$1={class:"align-center flex justify-between"},_hoisted_22$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"网站访客统计",-1)),_hoisted_23$1=_withScopeId(()=>createBaseVNode("div",{id:"baidu"},null,-1)),_sfc_main$2s=defineComponent({__name:"index",setup(xe){const $e=useSettingsStore(),Ie=computed(()=>$e.settings.app.colorScheme),Fe=ref({userCount:0,newUserCount:0,chatCount:0,newChatCount:0,drawCount:0,newDrawCount:0,orderCount:0,newOrderCount:0});let Ue,qe,At;const Dt=ref(30),Lt=ref(30),jt={title:{text:"对话统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{top:"30px",data:[{name:"对话数量",icon:"rect",itemWidth:10,itemHeight:5},{name:"绘画数量",icon:"rect"}]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}}],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}}],series:[{name:"对话数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"rgba(17, 76, 255, 0.2)"},emphasis:{focus:"series"},data:[]},{name:"绘画数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"#00d7ff33"},emphasis:{focus:"series"},data:[]}]},hn={title:{text:"访问量统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis"},legend:{data:["pv","uv","ip"]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}},yAxis:{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}},series:[{name:"pv",type:"bar",smooth:!0,areaStyle:{color:"rgba(17, 76, 255, 0.2)"},data:[]},{name:"uv",type:"bar",smooth:!0,areaStyle:{color:"#00d7ff33"},data:[]},{name:"ip",smooth:!0,areaStyle:{color:"rgba(0, 215, 255, 0.2)"},type:"bar",data:[]}]},vn=[{label:7,value:"最近七天"},{label:15,value:"最近半月"},{label:30,value:"最近一月"},{label:90,value:"最近三月"}];async function bn(){const Cn=await apiDashboard.getBaseInfo();console.log(Cn.data),Fe.value=Cn.data}async function _n(){const Cn=await apiDashboard.getBaiduVisit({days:Lt.value}),{data:Sn}=Cn;hn.xAxis.data=Sn.items[0].map(En=>En[0]),hn.series.forEach((En,Tn)=>{En.data=Sn.items[1].map(An=>An[Tn])});const xn=document.getElementById("baidu");qe=init$1(xn),qe.setOption(hn)}async function wn(){const Cn=await apiDashboard.getChatStatistic({days:Dt.value}),{date:Sn,chat:xn,draw:En}=Cn.data;jt.xAxis[0].data=Sn,jt.series[0].data=xn,jt.series[1].data=En;const Tn=document.getElementById("chat");Ue=init$1(Tn),Ue.setOption(jt)}watch(Ie,()=>{kn()});function kn(){const Sn=$e.settings.app.colorScheme==="dark"?["#ffffff1a"]:["#0000001a"];jt.yAxis[0].splitLine.lineStyle.color=Sn,jt.xAxis[0].splitLine.lineStyle.color=Sn,Ue.setOption(jt),hn.yAxis.splitLine.lineStyle.color=Sn,hn.xAxis.splitLine.lineStyle.color=Sn,qe.setOption(hn)}return onMounted(async()=>{await bn(),await Promise.all([wn(),_n()]),kn()}),onMounted(()=>{At=new index(()=>{Ue&&Ue.resize(),qe&&qe.resize()});const Cn=document.getElementById("chat");Cn&&(At==null||At.observe(Cn));const Sn=document.getElementById("baidu");Sn&&(At==null||At.observe(Sn))}),onBeforeMount(()=>{At&&At.disconnect()}),(Cn,Sn)=>{const xn=resolveComponent("el-card"),En=resolveComponent("el-col"),Tn=resolveComponent("el-row"),An=resolveComponent("Histogram"),$n=resolveComponent("el-icon"),Pn=resolveComponent("el-radio-button"),Nn=resolveComponent("el-radio-group");return openBlock(),createElementBlock("div",_hoisted_1$19,[createVNode$1(Tn,{gutter:10},{default:withCtx(()=>[createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>{var Mn;return[createBaseVNode("div",_hoisted_2$K,[_hoisted_3$m,createBaseVNode("b",null,toDisplayString((Mn=unref(Fe))==null?void 0:Mn.newUserCount),1)])]}),default:withCtx(()=>[createBaseVNode("div",_hoisted_4$c,[_hoisted_5$8,createBaseVNode("span",null,toDisplayString(unref(Fe).userCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_6$5,[_hoisted_7$3,createBaseVNode("b",null,toDisplayString(unref(Fe).newChatCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_8$3,[_hoisted_9$2,createBaseVNode("span",null,toDisplayString(unref(Fe).chatCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_10$1,[_hoisted_11$1,createBaseVNode("b",null,toDisplayString(unref(Fe).newDrawCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_12$1,[_hoisted_13$1,createBaseVNode("span",null,toDisplayString(unref(Fe).drawCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_14$1,[_hoisted_15$1,createBaseVNode("b",null,toDisplayString(unref(Fe).newOrderCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_16$1,[_hoisted_17$1,createBaseVNode("span",null,toDisplayString(unref(Fe).orderCount),1)])]),_:1})]),_:1})]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_18$1,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_19$1]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Dt),"onUpdate:modelValue":Sn[0]||(Sn[0]=Mn=>isRef(Dt)?Dt.value=Mn:null),onChange:wn},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_20$1]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_21$1,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_22$1]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Lt),"onUpdate:modelValue":Sn[1]||(Sn[1]=Mn=>isRef(Lt)?Lt.value=Mn:null),onChange:_n},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_23$1]),_:1})])}}}),block0={},_export_sfc$1=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};typeof block0=="function"&&block0(_sfc_main$2s);const Home=_export_sfc$1(_sfc_main$2s,[["__scopeId","data-v-b113cb86"]]),__pages_import_0__=()=>__vitePreload(()=>import("./wechat-CC1D2I9W.js"),__vite__mapDeps([0,1,2]),import.meta.url),__pages_import_1__=()=>__vitePreload(()=>import("./userAgreement-CRX63ZgH.js"),__vite__mapDeps([3,1,2,4,5]),import.meta.url),__pages_import_2__=()=>__vitePreload(()=>import("./register-s9FErNB-.js"),__vite__mapDeps([6,1,2,7]),import.meta.url),__pages_import_3__=()=>__vitePreload(()=>import("./phone-BdMZVeeU.js"),__vite__mapDeps([8,1,2]),import.meta.url),__pages_import_4__=()=>__vitePreload(()=>import("./index-DMib4jzv.js"),__vite__mapDeps([9,10,1,11,12]),import.meta.url),__pages_import_5__=()=>__vitePreload(()=>import("./email-B1yejiIN.js"),__vite__mapDeps([13,1,2]),import.meta.url),__pages_import_6__=()=>__vitePreload(()=>import("./accountLog-j3jh3-tg.js"),__vite__mapDeps([14,10,1,11,12]),import.meta.url),__pages_import_7__=()=>__vitePreload(()=>import("./welcomePageSettings-CtUX5kGT.js"),__vite__mapDeps([15,1,2]),import.meta.url),__pages_import_8__=()=>__vitePreload(()=>import("./notice-CN8MQARu.js"),__vite__mapDeps([16,1,2,4,5]),import.meta.url),__pages_import_9__=()=>__vitePreload(()=>import("./baseConfiguration-U_8lhRbY.js"),__vite__mapDeps([17,1,2]),import.meta.url),__pages_import_10__=()=>__vitePreload(()=>import("./baiduStatistics-C5Ie8mqw.js"),__vite__mapDeps([18,1,2]),import.meta.url),__pages_import_11__=()=>__vitePreload(()=>import("./tencent-DrFpx0Hg.js"),__vite__mapDeps([19,1,2]),import.meta.url),__pages_import_12__=()=>__vitePreload(()=>import("./localStorage-cKgrnDbg.js"),__vite__mapDeps([20,1,2]),import.meta.url),__pages_import_13__=()=>__vitePreload(()=>import("./chevereto-DL3R-p1F.js"),__vite__mapDeps([21,1,2]),import.meta.url),__pages_import_14__=()=>__vitePreload(()=>import("./ali-0_edqUL6.js"),__vite__mapDeps([22,1,2]),import.meta.url),__pages_import_15__=()=>__vitePreload(()=>import("./violation-DSvmBVfk.js"),__vite__mapDeps([23,10,1,24,12,25,11,26]),import.meta.url),__pages_import_16__=()=>__vitePreload(()=>import("./identityVerification-BGG7YaLd.js"),__vite__mapDeps([27,1,2]),import.meta.url),__pages_import_17__=()=>__vitePreload(()=>import("./custom-B5IO_plt.js"),__vite__mapDeps([28,10,1,24,11]),import.meta.url),__pages_import_18__=()=>__vitePreload(()=>import("./baiduSensitive-C9aAS061.js"),__vite__mapDeps([29,1,2]),import.meta.url),__pages_import_19__=()=>__vitePreload(()=>import("./autpReply-iL0HgZca.js"),__vite__mapDeps([30,10,1,11]),import.meta.url),__pages_import_20__=()=>__vitePreload(()=>import("./setting-B_yMB92n.js"),__vite__mapDeps([31,10,32]),import.meta.url),__pages_import_21__=()=>__vitePreload(()=>import("./edit.password-C_LVx17b.js"),__vite__mapDeps([33,10,1,34,35]),import.meta.url),__pages_import_22__=()=>__vitePreload(()=>import("./wechat-B6iz3vsw.js"),__vite__mapDeps([36,1,2]),import.meta.url),__pages_import_23__=()=>__vitePreload(()=>import("./mpay-BhEzThlj.js"),__vite__mapDeps([37,1,2]),import.meta.url),__pages_import_24__=()=>__vitePreload(()=>import("./ltzf-Cl69CY0O.js"),__vite__mapDeps([38,1,2]),import.meta.url),__pages_import_25__=()=>__vitePreload(()=>import("./hupijiao-CgScmBfT.js"),__vite__mapDeps([39,1,2]),import.meta.url),__pages_import_26__=()=>__vitePreload(()=>import("./epay-BFYo5Oti.js"),__vite__mapDeps([40,1,2]),import.meta.url),__pages_import_27__=()=>__vitePreload(()=>import("./points-dFU6hxKv.js"),__vite__mapDeps([41,1,2]),import.meta.url),__pages_import_28__=()=>__vitePreload(()=>import("./package-B84yLosq.js"),__vite__mapDeps([42,10,1,43,11,12]),import.meta.url),__pages_import_29__=()=>__vitePreload(()=>import("./crami-C4rWwE2o.js"),__vite__mapDeps([44,10,1,43,11,12]),import.meta.url),__pages_import_30__=()=>__vitePreload(()=>import("./index-Bc9vnwpI.js"),__vite__mapDeps([45,10,1,11,12,46]),import.meta.url),__pages_import_31__=()=>__vitePreload(()=>import("./key-U1-UhTyN.js"),__vite__mapDeps([47,10,1,12,11]),import.meta.url),__pages_import_32__=()=>__vitePreload(()=>import("./interface-BdTcay3S.js"),__vite__mapDeps([48,1,2]),import.meta.url),__pages_import_33__=()=>__vitePreload(()=>import("./draw-VSxgmQtr.js"),__vite__mapDeps([49,10,1,50,11,12,51]),import.meta.url),__pages_import_34__=()=>__vitePreload(()=>import("./chat-BWcQBZPb.js"),__vite__mapDeps([52,10,1,50,12,25,26]),import.meta.url),__pages_import_35__=()=>__vitePreload(()=>import("./visible-ZdW2endy.js"),__vite__mapDeps([53,1,2]),import.meta.url),__pages_import_36__=()=>__vitePreload(()=>import("./plugin-QW7T5kxH.js"),__vite__mapDeps([54,10,1,11]),import.meta.url),__pages_import_37__=()=>__vitePreload(()=>import("./classify-D6OriOt0.js"),__vite__mapDeps([55,10,1,56,12,11]),import.meta.url),__pages_import_38__=()=>__vitePreload(()=>import("./application-Bvco68p6.js"),__vite__mapDeps([57,10,1,56,12,11]),import.meta.url),__pages_import_39__=()=>__vitePreload(()=>import("./github-redirect-BqXHRsY-.js"),[],import.meta.url),__pages_import_40__=()=>__vitePreload(()=>import("./reload-ByHYPX1Q.js"),[],import.meta.url),__pages_import_41__=()=>__vitePreload(()=>import("./login-BG_4YoSX.js"),[],import.meta.url),__pages_import_43__=()=>__vitePreload(()=>import("./_...all_-C9XwyC6X.js"),[],import.meta.url),routes$a=[{name:"users-wechat",path:"/users/wechat",component:__pages_import_0__,props:!0,meta:{title:"微信设置"}},{name:"users-userAgreement",path:"/users/useragreement",component:__pages_import_1__,props:!0,meta:{title:"用户协议"}},{name:"users-register",path:"/users/register",component:__pages_import_2__,props:!0,meta:{title:"访问配置"}},{name:"users-phone",path:"/users/phone",component:__pages_import_3__,props:!0,meta:{title:"手机验证码配置"}},{name:"users",path:"/users",component:__pages_import_4__,props:!0,meta:{title:"用户管理"}},{name:"users-email",path:"/users/email",component:__pages_import_5__,props:!0,meta:{title:"邮件设置"}},{name:"users-accountLog",path:"/users/accountlog",component:__pages_import_6__,props:!0,meta:{title:"账户变更记录"}},{name:"system-welcomePageSettings",path:"/system/welcomepagesettings",component:__pages_import_7__,props:!0,meta:{title:"欢迎页设置"}},{name:"system-notice",path:"/system/notice",component:__pages_import_8__,props:!0,meta:{title:"公告设置"}},{name:"system-baseConfiguration",path:"/system/baseconfiguration",component:__pages_import_9__,props:!0,meta:{title:"基础配置"}},{name:"system-baiduStatistics",path:"/system/baidustatistics",component:__pages_import_10__,props:!0,meta:{title:"百度统计"}},{name:"storage-tencent",path:"/storage/tencent",component:__pages_import_11__,props:!0,meta:{title:"腾讯云cos设置"}},{name:"storage-localStorage",path:"/storage/localstorage",component:__pages_import_12__,props:!0,meta:{title:"本地存储配置"}},{name:"storage-chevereto",path:"/storage/chevereto",component:__pages_import_13__,props:!0,meta:{title:"Chevereto图床设置"}},{name:"storage-ali",path:"/storage/ali",component:__pages_import_14__,props:!0,meta:{title:"阿里云oss设置"}},{name:"sensitive-violation",path:"/sensitive/violation",component:__pages_import_15__,props:!0,meta:{title:"违规记录"}},{name:"sensitive-identityVerification",path:"/sensitive/identityverification",component:__pages_import_16__,props:!0,meta:{title:"风控设置"}},{name:"sensitive-custom",path:"/sensitive/custom",component:__pages_import_17__,props:!0,meta:{title:"敏感词预设"}},{name:"sensitive-baiduSensitive",path:"/sensitive/baidusensitive",component:__pages_import_18__,props:!0,meta:{title:"百度云敏感词设置"}},{name:"sensitive-autpReply",path:"/sensitive/autpreply",component:__pages_import_19__,props:!0,meta:{title:"自定义回复预设"}},{name:"personalSetting",path:"/personal/setting",component:__pages_import_20__,props:!0,meta:{title:"个人设置",cache:"personal-edit.password"}},{name:"personalEditPassword",path:"/personal/edit.password",component:__pages_import_21__,props:!0,meta:{title:"修改密码"}},{name:"pay-wechat",path:"/pay/wechat",component:__pages_import_22__,props:!0,meta:{title:"官方微信支付设置"}},{name:"pay-mpay",path:"/pay/mpay",component:__pages_import_23__,props:!0,meta:{title:"码支付设置"}},{name:"pay-ltzf",path:"/pay/ltzf",component:__pages_import_24__,props:!0,meta:{title:"蓝兔支付设置"}},{name:"pay-hupijiao",path:"/pay/hupijiao",component:__pages_import_25__,props:!0,meta:{title:"虎皮椒支付设置"}},{name:"pay-epay",path:"/pay/epay",component:__pages_import_26__,props:!0,meta:{title:"易支付设置"}},{name:"package-points",path:"/package/points",component:__pages_import_27__,props:!0,meta:{title:"积分显示"}},{name:"package-package",path:"/package/package",component:__pages_import_28__,props:!0,meta:{title:"卡券管理"}},{name:"package-crami",path:"/package/crami",component:__pages_import_29__,props:!0,meta:{title:"卡密管理"}},{name:"order",path:"/order",component:__pages_import_30__,props:!0,meta:{title:"对话管理"}},{name:"models-key",path:"/models/key",component:__pages_import_31__,props:!0,meta:{title:"模型列表"}},{name:"models-interface",path:"/models/interface",component:__pages_import_32__,props:!0,meta:{title:"接口请求设置"}},{name:"chat-draw",path:"/chat/draw",component:__pages_import_33__,props:!0,meta:{title:"绘画管理"}},{name:"chat-chat",path:"/chat/chat",component:__pages_import_34__,props:!0,meta:{title:"对话管理"}},{name:"app-visible",path:"/app/visible",component:__pages_import_35__,props:!0,meta:{title:"基础设置"}},{name:"app-plugin",path:"/app/plugin",component:__pages_import_36__,props:!0,meta:{title:"插件管理"}},{name:"app-classify",path:"/app/classify",component:__pages_import_37__,props:!0,meta:{title:"App分类管理"}},{name:"app-application",path:"/app/application",component:__pages_import_38__,props:!0,meta:{title:"应用管理"}},{name:"ai-github-redirect",path:"/ai/github-redirect",component:__pages_import_39__,props:!0},{name:"reload",path:"/reload",component:__pages_import_40__,props:!0},{name:"login",path:"/login",component:__pages_import_41__,props:!0,meta:{title:"登录",constant:!0,layout:!1}},{name:"home",path:"/",component:Home,props:!0,meta:{title:"主页"}},{name:"notFound",path:"/:all(.*)*",component:__pages_import_43__,props:!0,meta:{title:"找不到页面",constant:!0,layout:!1}}];function setupLayouts(xe){const $e={};Object.entries(Object.assign({"/src/layouts/components/AppSetting/index.vue":()=>__vitePreload(()=>import("./index-FnTzkwYe.js"),__vite__mapDeps([58,59,60,61,62,63,64,65,66]),import.meta.url),"/src/layouts/components/BackTop/index.vue":()=>__vitePreload(()=>import("./index-C_igUakG.js"),__vite__mapDeps([67,68]),import.meta.url),"/src/layouts/components/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-CeCYhShg.js"),__vite__mapDeps([69,70]),import.meta.url),"/src/layouts/components/Breadcrumb/item.vue":()=>__vitePreload(()=>import("./item-aUfNz2FD.js"),__vite__mapDeps([71,72]),import.meta.url),"/src/layouts/components/Copyright/index.vue":()=>__vitePreload(()=>import("./index-BEgl-D5h.js"),__vite__mapDeps([73,74]),import.meta.url),"/src/layouts/components/Header/index.vue":()=>__vitePreload(()=>import("./index-BhavOP4W.js"),__vite__mapDeps([75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86]),import.meta.url),"/src/layouts/components/HotkeysIntro/index.vue":()=>__vitePreload(()=>import("./index-BBYMB4fF.js"),__vite__mapDeps([87,88,89,83]),import.meta.url),"/src/layouts/components/Logo/index.vue":()=>__vitePreload(()=>import("./index-BsqAgi1e.js"),__vite__mapDeps([90,76]),import.meta.url),"/src/layouts/components/MainSidebar/index.vue":()=>__vitePreload(()=>import("./index-Bb_mj7fg.js"),__vite__mapDeps([91,76,85,92]),import.meta.url),"/src/layouts/components/Menu/index.vue":()=>__vitePreload(()=>import("./index-do-psu6b.js"),__vite__mapDeps([93,94,95,96,63]),import.meta.url),"/src/layouts/components/Menu/item.vue":()=>__vitePreload(()=>import("./item-BGs210ro.js"),__vite__mapDeps([97,96,63]),import.meta.url),"/src/layouts/components/Menu/sub.vue":()=>__vitePreload(()=>import("./sub-C9kpzA5T.js"),__vite__mapDeps([98,95,96,63]),import.meta.url),"/src/layouts/components/Search/index.vue":()=>__vitePreload(()=>import("./index-B8Qbctk3.js"),__vite__mapDeps([99,100,83,69,70,72]),import.meta.url),"/src/layouts/components/SubSidebar/index.vue":()=>__vitePreload(()=>import("./index-CFd9RQbU.js"),__vite__mapDeps([101,65,76,94,95,96,63,102]),import.meta.url),"/src/layouts/components/Topbar/Tabbar/index.vue":()=>__vitePreload(()=>import("./index-DYuViJCA.js"),__vite__mapDeps([103,65,34,104]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-D5jQENXK.js"),__vite__mapDeps([105,69,70,72,106]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/ColorScheme/index.vue":()=>__vitePreload(()=>import("./index-B26rXOmA.js"),__vite__mapDeps([107,79,80,64,62]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/Fullscreen/index.vue":()=>__vitePreload(()=>import("./index-D2-DvelZ.js"),__vite__mapDeps([108,81,65]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/NavSearch/index.vue":()=>__vitePreload(()=>import("./index-CyBqC5az.js"),__vite__mapDeps([109,82,83]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/PageReload/index.vue":()=>__vitePreload(()=>import("./index-JmaFc6Op.js"),__vite__mapDeps([110,84,34]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/index.vue":()=>__vitePreload(()=>import("./index-DilPWwlM.js"),__vite__mapDeps([111,112,105,69,70,72,106,77,78,79,80,64,62,81,65,82,83,84,34,113]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/leftSide.vue":()=>__vitePreload(()=>import("./leftSide-oWmuAIUP.js"),__vite__mapDeps([114,112,105,69,70,72,106]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/rightSide.vue":()=>__vitePreload(()=>import("./rightSide-DTvA-_sw.js"),__vite__mapDeps([115,77,78,79,80,64,62,81,65,82,83,84,34]),import.meta.url),"/src/layouts/components/Topbar/index.vue":()=>__vitePreload(()=>import("./index-apzNn83J.js"),__vite__mapDeps([116,103,65,34,104,111,112,105,69,70,72,106,77,78,79,80,64,62,81,82,83,84,113,117]),import.meta.url),"/src/layouts/components/views/link.vue":()=>__vitePreload(()=>import("./link-BkZGdTQk.js"),__vite__mapDeps([118,10,63,65,119]),import.meta.url),"/src/layouts/index.vue":()=>__vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url),"/src/layouts/ui-kit/HButton.vue":()=>__vitePreload(()=>import("./HButton-DhTo_DmN.js"),[],import.meta.url),"/src/layouts/ui-kit/HCheckList.vue":()=>__vitePreload(()=>import("./HCheckList-C7zKn3lK.js"),__vite__mapDeps([122,60]),import.meta.url),"/src/layouts/ui-kit/HDialog.vue":()=>__vitePreload(()=>import("./HDialog-CPr-tzAo.js"),__vite__mapDeps([123,89]),import.meta.url),"/src/layouts/ui-kit/HDropdown.vue":()=>__vitePreload(()=>import("./HDropdown-BjwO9ikd.js"),[],import.meta.url),"/src/layouts/ui-kit/HDropdownMenu.vue":()=>__vitePreload(()=>import("./HDropdownMenu-r0U9_oai.js"),__vite__mapDeps([124,78]),import.meta.url),"/src/layouts/ui-kit/HInput.vue":()=>__vitePreload(()=>import("./HInput-B34qGhNq.js"),__vite__mapDeps([125,59]),import.meta.url),"/src/layouts/ui-kit/HKbd.vue":()=>__vitePreload(()=>import("./HKbd-By3ZrrUU.js"),[],import.meta.url),"/src/layouts/ui-kit/HSelect.vue":()=>__vitePreload(()=>import("./HSelect-CYtELVq1.js"),[],import.meta.url),"/src/layouts/ui-kit/HSlideover.vue":()=>__vitePreload(()=>import("./HSlideover-DVKjWjLO.js"),[],import.meta.url),"/src/layouts/ui-kit/HTabList.vue":()=>__vitePreload(()=>import("./HTabList-DFOAZowX.js"),__vite__mapDeps([126,64,62]),import.meta.url),"/src/layouts/ui-kit/HToggle.vue":()=>__vitePreload(()=>import("./HToggle-5Qxg2Ct6.js"),__vite__mapDeps([127,61,62]),import.meta.url),"/src/layouts/ui-kit/HTooltip.vue":()=>__vitePreload(()=>import("./HTooltip-D8zlh0ym.js"),__vite__mapDeps([128,63]),import.meta.url)})).forEach(([Ue,qe])=>{let At=Ue.replace("/src/layouts/","").replace(".vue","");$e[At]=qe});function Fe(Ue,qe=!0){return Ue.map(At=>{var Dt,Lt,jt,hn,vn;return((Dt=At.children)==null?void 0:Dt.length)>0&&(At.children=Fe(At.children,!1)),qe&&((Lt=At.meta)==null?void 0:Lt.layout)!==!1?{path:At.path,component:$e[((jt=At.meta)==null?void 0:jt.layout)||"index"],children:At.path==="/"?[At]:[{...At,path:""}],meta:{isLayout:!0}}:(hn=At.meta)!=null&&hn.layout?{path:At.path,component:$e[(vn=At.meta)==null?void 0:vn.layout],children:[{...At,path:""}],meta:{isLayout:!0}}:At})}return Fe(xe)}function Layout$8(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$9={path:"/app",component:Layout$8,redirect:"/app/classify",name:"AppMenu",meta:{title:"插件应用",icon:"tdesign:app"},children:[{path:"visible",name:"VisibleMenu",component:()=>__vitePreload(()=>import("./visible-ZdW2endy.js"),__vite__mapDeps([53,1,2]),import.meta.url),meta:{title:"基础设置",icon:"tdesign:setting"}},{path:"pluginmenu",name:"PluginMenu",component:()=>__vitePreload(()=>import("./plugin-QW7T5kxH.js"),__vite__mapDeps([54,10,1,11]),import.meta.url),meta:{title:"插件列表",icon:"mingcute:plugin-2-line"}},{path:"classify",name:"AppMenuClassify",component:()=>__vitePreload(()=>import("./classify-D6OriOt0.js"),__vite__mapDeps([55,10,1,56,12,11]),import.meta.url),meta:{title:"分类列表",icon:"ph:list-fill"}},{path:"application",name:"Application",component:()=>__vitePreload(()=>import("./application-Bvco68p6.js"),__vite__mapDeps([57,10,1,56,12,11]),import.meta.url),meta:{title:"应用列表",icon:"clarity:vmw-app-line"}}]};function Layout$7(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$8={path:"/chat",component:Layout$7,redirect:"/chat/chat",name:"chatMenu",meta:{title:"数据管理",icon:"majesticons:data-line"},children:[{path:"dashboard",name:"dashboardMenu",component:()=>__vitePreload(()=>import("./index-DMib4jzv.js"),__vite__mapDeps([9,10,1,11,12]),import.meta.url),meta:{title:"用户信息",icon:"fa6-solid:list-ul"}},{path:"list",name:"chatMenuList",component:()=>__vitePreload(()=>import("./chat-BWcQBZPb.js"),__vite__mapDeps([52,10,1,50,12,25,26]),import.meta.url),meta:{title:"对话记录",icon:"material-symbols-light:chat-outline"}},{path:"draw",name:"drawMenuList",component:()=>__vitePreload(()=>import("./draw-VSxgmQtr.js"),__vite__mapDeps([49,10,1,50,11,12,51]),import.meta.url),meta:{title:"绘画记录",icon:"material-symbols:draw-outline"}},{path:"auto-reply",name:"ReplyMenuList",component:()=>__vitePreload(()=>import("./autpReply-iL0HgZca.js"),__vite__mapDeps([30,10,1,11]),import.meta.url),meta:{title:"内容预设",icon:"ic:outline-question-answer"}}]};function Layout$6(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$7={path:"/ai",component:Layout$6,redirect:"/ai/chat-key-list",name:"AiMenu",meta:{title:"模型管理",icon:"hugeicons:ai-book"},children:[{path:"model",name:"AiMenuInterface",component:()=>__vitePreload(()=>import("./interface-BdTcay3S.js"),__vite__mapDeps([48,1,2]),import.meta.url),meta:{title:"全局配置",icon:"tabler:box-model"}},{path:"keys",name:"AiMenuKeys",component:()=>__vitePreload(()=>import("./key-U1-UhTyN.js"),__vite__mapDeps([47,10,1,12,11]),import.meta.url),meta:{title:"模型设置",icon:"ph:open-ai-logo-light"}}]};function Layout$5(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$6={path:"/package",component:Layout$5,redirect:"/package/list",name:"packageMenu",meta:{title:"套餐管理",icon:"icon-park-outline:buy"},children:[{path:"order-list",name:"OrderMenuList",component:()=>__vitePreload(()=>import("./index-Bc9vnwpI.js"),__vite__mapDeps([45,10,1,11,12,46]),import.meta.url),meta:{title:"订单列表",icon:"lets-icons:order"}},{path:"account-log",name:"AccountLogMenu",component:()=>__vitePreload(()=>import("./accountLog-j3jh3-tg.js"),__vite__mapDeps([14,10,1,11,12]),import.meta.url),meta:{title:"账户明细",icon:"carbon:account"}},{path:"list",name:"packageMenuList",component:()=>__vitePreload(()=>import("./package-B84yLosq.js"),__vite__mapDeps([42,10,1,43,11,12]),import.meta.url),meta:{title:"套餐设置",icon:"icon-park-outline:commodity"}},{path:"crami",name:"cramiMenuList",component:()=>__vitePreload(()=>import("./crami-C4rWwE2o.js"),__vite__mapDeps([44,10,1,43,11,12]),import.meta.url),meta:{title:"卡密管理",icon:"solar:passport-broken"}}]};function Layout$4(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$5={path:"/pay",component:Layout$4,redirect:"/pay/hupijiao",name:"PayMenu",meta:{title:"支付管理",icon:"mingcute:card-pay-line"},children:[{path:"wechat",name:"WechatConfig",component:()=>__vitePreload(()=>import("./wechat-B6iz3vsw.js"),__vite__mapDeps([36,1,2]),import.meta.url),meta:{title:"微信支付",icon:"ic:baseline-wechat"}},{path:"epay",name:"EpayConfig",component:()=>__vitePreload(()=>import("./epay-BFYo5Oti.js"),__vite__mapDeps([40,1,2]),import.meta.url),meta:{title:"易支付",icon:"uiw:pay"}},{path:"mpay",name:"MpayConfig",component:()=>__vitePreload(()=>import("./mpay-BhEzThlj.js"),__vite__mapDeps([37,1,2]),import.meta.url),meta:{title:"码支付",icon:"ant-design:pay-circle-outlined"}},{path:"hupi",name:"HupioConfig",component:()=>__vitePreload(()=>import("./hupijiao-CgScmBfT.js"),__vite__mapDeps([39,1,2]),import.meta.url),meta:{title:"虎皮椒支付",icon:"token:pay"}},{path:"ltzf",name:"LtzfConfig",component:()=>__vitePreload(()=>import("./ltzf-Cl69CY0O.js"),__vite__mapDeps([38,1,2]),import.meta.url),meta:{title:"蓝兔支付",icon:"ph:rabbit"}}]},routes$4={path:"/github",component:()=>__vitePreload(()=>import("./github-redirect-BqXHRsY-.js"),[],import.meta.url),name:"ProjectAddressMenu",meta:{title:"开源地址",icon:"mdi:github"}};function Layout$3(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$3={path:"/secure",component:Layout$3,redirect:"/secure/sensitive-baidu",name:"SecureMenu",meta:{title:"风控管理",icon:"ri:secure-payment-line"},children:[{path:"identity-verification",name:"IdentityVerification",component:()=>__vitePreload(()=>import("./identityVerification-BGG7YaLd.js"),__vite__mapDeps([27,1,2]),import.meta.url),meta:{title:"风控安全配置",icon:"hugeicons:identification"}},{path:"sensitive-violation",name:"SensitiveViolationLog",component:()=>__vitePreload(()=>import("./violation-DSvmBVfk.js"),__vite__mapDeps([23,10,1,24,12,25,11,26]),import.meta.url),meta:{title:"违规检测记录",icon:"tabler:ban"}},{path:"sensitive-baidu",name:"SensitiveBaiduyun",component:()=>__vitePreload(()=>import("./baiduSensitive-C9aAS061.js"),__vite__mapDeps([29,1,2]),import.meta.url),meta:{title:"百度云敏感词",icon:"ri:baidu-line"}},{path:"sensitive-custom",name:"SensitiveCuston",component:()=>__vitePreload(()=>import("./custom-B5IO_plt.js"),__vite__mapDeps([28,10,1,24,11]),import.meta.url),meta:{title:"自定义敏感词",icon:"carbon:word-cloud"}}]};function Layout$2(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$2={path:"/storage",component:Layout$2,redirect:"/storage/config",name:"StorageMenu",meta:{title:"存储配置",icon:"mingcute:storage-line"},children:[{path:"localStorage",name:"LocalStorage",component:()=>__vitePreload(()=>import("./localStorage-cKgrnDbg.js"),__vite__mapDeps([20,1,2]),import.meta.url),meta:{title:"本地存储",icon:"icon-park-outline:cloud-storage"}},{path:"tencent",name:"StorageTencent",component:()=>__vitePreload(()=>import("./tencent-DrFpx0Hg.js"),__vite__mapDeps([19,1,2]),import.meta.url),meta:{title:"腾讯云COS",icon:"teenyicons:cost-estimate-outline"}},{path:"ali",name:"StorageAli",component:()=>__vitePreload(()=>import("./ali-0_edqUL6.js"),__vite__mapDeps([22,1,2]),import.meta.url),meta:{title:"阿里云OSS",icon:"material-symbols:home-storage-outline"}},{path:"chevereto",name:"StorageChevereto",component:()=>__vitePreload(()=>import("./chevereto-DL3R-p1F.js"),__vite__mapDeps([21,1,2]),import.meta.url),meta:{title:"chevereto图床",icon:"material-symbols:image-outline"}}]};function Layout$1(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$1={path:"/system",component:Layout$1,redirect:"/system/base",name:"systemMenu",meta:{title:"系统管理",icon:"tdesign:system-2"},children:[{path:"base-configuration",name:"ClientBaseConfig",component:()=>__vitePreload(()=>import("./baseConfiguration-U_8lhRbY.js"),__vite__mapDeps([17,1,2]),import.meta.url),meta:{title:"基础配置",icon:"uil:setting"}},{path:"points",name:"PointsDisplay",component:()=>__vitePreload(()=>import("./points-dFU6hxKv.js"),__vite__mapDeps([41,1,2]),import.meta.url),meta:{title:"显示设置",icon:"mdi:show-outline"}},{path:"notice",name:"systemMenuNotice",component:()=>__vitePreload(()=>import("./notice-CN8MQARu.js"),__vite__mapDeps([16,1,2,4,5]),import.meta.url),meta:{title:"公告设置",icon:"mdi:notice-board"}},{path:"welcome",name:"systemMenuWelcome",component:()=>__vitePreload(()=>import("./welcomePageSettings-CtUX5kGT.js"),__vite__mapDeps([15,1,2]),import.meta.url),meta:{title:"欢迎页设置",icon:"mdi:human-welcome"}},{path:"baidu",name:"systemMenuBase",component:()=>__vitePreload(()=>import("./baiduStatistics-C5Ie8mqw.js"),__vite__mapDeps([18,1,2]),import.meta.url),meta:{title:"统计设置",icon:"wpf:statistics"}}]};function Layout(){return __vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes={path:"/user",component:Layout,redirect:"/user/dashboard",name:"userMenu",meta:{title:"访问管理",icon:"mdi:user-outline"},children:[{path:"register",name:"systemMenuRegister",component:()=>__vitePreload(()=>import("./register-s9FErNB-.js"),__vite__mapDeps([6,1,2,7]),import.meta.url),meta:{title:"访问配置",icon:"hugeicons:access"}},{path:"useragreement",name:"userAgreement",component:()=>__vitePreload(()=>import("./userAgreement-CRX63ZgH.js"),__vite__mapDeps([3,1,2,4,5]),import.meta.url),meta:{title:"用户协议配置",icon:"hugeicons:access"}},{path:"email",name:"systemMenuEmail",component:()=>__vitePreload(()=>import("./email-B1yejiIN.js"),__vite__mapDeps([13,1,2]),import.meta.url),meta:{title:"邮件登录配置",icon:"material-symbols:mail-outline"}},{path:"wechat",name:"systemMenuWechat",component:()=>__vitePreload(()=>import("./wechat-CC1D2I9W.js"),__vite__mapDeps([0,1,2]),import.meta.url),meta:{title:"微信登录配置",icon:"la:weixin"}},{path:"ali-phone",name:"AliPhoneMenu",component:()=>__vitePreload(()=>import("./phone-BdMZVeeU.js"),__vite__mapDeps([8,1,2]),import.meta.url),meta:{title:"短信登录配置",icon:"tabler:message"}}]},constantRoutes=[{path:"/login",name:"login",component:()=>__vitePreload(()=>import("./login-BG_4YoSX.js"),[],import.meta.url),meta:{title:"登录"}},{path:"/:all(.*)*",name:"notFound",component:()=>__vitePreload(()=>import("./_...all_-C9XwyC6X.js"),[],import.meta.url),meta:{title:"找不到页面"}}],systemRoutes=[{path:"/",component:()=>__vitePreload(()=>import("./index-DaN931b2.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url),meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1},children:[{path:"",name:"home",component:Home,meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1}},{path:"reload",name:"reload",component:()=>__vitePreload(()=>import("./reload-ByHYPX1Q.js"),[],import.meta.url),meta:{title:"重新加载",breadcrumb:!1}},{path:"setting",name:"personalSetting",component:()=>__vitePreload(()=>import("./setting-B_yMB92n.js"),__vite__mapDeps([31,10,32]),import.meta.url),meta:{title:"个人设置",cache:"personalEditPassword"}},{path:"edit/password",name:"personalEditPassword",component:()=>__vitePreload(()=>import("./edit.password-C_LVx17b.js"),__vite__mapDeps([33,10,1,34,35]),import.meta.url),meta:{title:"修改密码"}}]}],asyncRoutes=[{children:[routes$1,routes,routes$7,routes$8,routes$9,routes$3,routes$2,routes$6,routes$5,routes$4]}],constantRoutesByFilesystem=routes$a.filter(xe=>{var $e,Ie;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)===!0}),asyncRoutesByFilesystem=setupLayouts(routes$a.filter(xe=>{var $e,Ie,Fe;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)!==!0&&((Fe=xe.meta)==null?void 0:Fe.layout)!==!1}));function validateProjectAddressMenu(xe){if(!xe.find(Ue=>{var qe;return(qe=Ue.children)==null?void 0:qe.includes(routes$4)}))return!1;const Ie=routes$4.path,Fe=routes$4.component;return!(!Ie||typeof Ie!="string"||!Fe||typeof Fe!="function")}if(!validateProjectAddressMenu(asyncRoutes))throw document.body.innerHTML="

",new Error("");const useRouteStore=defineStore("route",()=>{const xe=useSettingsStore(),$e=ref(!1),Ie=ref([]),Fe=ref([]),Ue=ref([]);function qe(Cn){var Sn,xn,En,Tn;return Cn.children&&(Cn.children=At(Cn.children,[{path:Cn.path,title:(Sn=Cn.meta)==null?void 0:Sn.title,icon:(xn=Cn.meta)==null?void 0:xn.icon,hide:!((En=Cn.meta)!=null&&En.breadcrumb)&&((Tn=Cn.meta)==null?void 0:Tn.breadcrumb)===!1}],Cn.path)),Cn}function At(Cn,Sn=[],xn=""){const En=[];return Cn.forEach(Tn=>{var An,$n,Pn,Nn,Mn,In,On,Rn;if(Tn.children){const Bn=resolveRoutePath(xn,Tn.path),Vn=cloneDeep(Sn);Vn.push({path:Bn,title:(An=Tn.meta)==null?void 0:An.title,icon:($n=Tn.meta)==null?void 0:$n.icon,hide:!((Pn=Tn.meta)!=null&&Pn.breadcrumb)&&((Nn=Tn.meta)==null?void 0:Nn.breadcrumb)===!1});const Ln=cloneDeep(Tn);Ln.path=Bn,Ln.meta||(Ln.meta={}),Ln.meta.breadcrumbNeste=Vn,delete Ln.children,En.push(Ln),At(Tn.children,Vn,Bn).forEach(Hn=>{En.some(Fn=>Fn.path===Hn.path)?En.forEach((Fn,zn)=>{Fn.path===Hn.path&&(En[zn]=Hn)}):En.push(Hn)})}else{const Bn=cloneDeep(Tn);Bn.path=resolveRoutePath(xn,Bn.path);const Vn=cloneDeep(Sn);Vn.push({path:Bn.path,title:(Mn=Bn.meta)==null?void 0:Mn.title,icon:(In=Bn.meta)==null?void 0:In.icon,hide:!((On=Bn.meta)!=null&&On.breadcrumb)&&((Rn=Bn.meta)==null?void 0:Rn.breadcrumb)===!1}),Bn.meta||(Bn.meta={}),Bn.meta.breadcrumbNeste=Vn,En.push(Bn)}}),En}const Dt=computed(()=>{const Cn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Ie.value&&(Ie.value.forEach(Sn=>{const xn=cloneDeep(Sn.children);xn.map(En=>{var Tn,An;return En.meta||(En.meta={}),En.meta.auth=((Tn=Sn.meta)==null?void 0:Tn.auth)??((An=En.meta)==null?void 0:An.auth),En}),Cn.push(...xn)}),Cn.forEach(Sn=>qe(Sn))):Cn.push(...cloneDeep(Fe.value)),Cn}),Lt=computed(()=>{const Cn=[...systemRoutes];return Cn.forEach(Sn=>qe(Sn)),Cn});let jt=!1;function hn(Cn){return Cn.forEach(Sn=>{Sn.children=vn(Sn.children)}),jt&&console.warn('[Fantastic-admin] 路由配置中的 "sidebar" 属性即将被弃用, 请尽快替换为 "menu" 属性'),Cn}function vn(Cn){return Cn&&Cn.forEach(Sn=>{var xn;typeof((xn=Sn.meta)==null?void 0:xn.sidebar)=="boolean"&&(jt=!0,Sn.meta.menu=Sn.meta.sidebar,delete Sn.meta.sidebar),Sn.children&&vn(Sn.children)}),Cn}function bn(Cn){Ie.value=hn(cloneDeep(Cn)),$e.value=!0}function _n(Cn){Fe.value=cloneDeep(Cn),$e.value=!0}function wn(Cn){Ue.value=Cn}function kn(){$e.value=!1,Ie.value=[],Fe.value=[],Ue.value.forEach(Cn=>{Cn()}),Ue.value=[]}return{isGenerate:$e,routesRaw:Ie,currentRemoveRoutes:Ue,flatRoutes:Dt,flatSystemRoutes:Lt,generateRoutesAtFront:bn,generateRoutesAtFilesystem:_n,setCurrentRemoveRoutes:wn,removeRoutes:kn}}),useMenuStore=defineStore("menu",()=>{const xe=useSettingsStore(),$e=useUserStore$1(),Ie=useRouteStore(),Fe=ref([]),Ue=ref(0);function qe(Sn){const xn=[];return Sn.forEach(En=>{var Tn,An,$n;if(xe.settings.menu.menuMode==="single")xn.length===0&&xn.push({meta:{},children:[]}),xn[0].children.push(...At(En.children));else{const Pn={meta:{title:(Tn=En==null?void 0:En.meta)==null?void 0:Tn.title,icon:(An=En==null?void 0:En.meta)==null?void 0:An.icon,auth:($n=En==null?void 0:En.meta)==null?void 0:$n.auth},children:[]};Pn.children=At(En.children),xn.push(Pn)}}),xn}function At(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var $n,Pn,Nn,Mn,In,On;const An={path:resolveRoutePath(xn,Tn.path),meta:{title:($n=Tn==null?void 0:Tn.meta)==null?void 0:$n.title,icon:(Pn=Tn==null?void 0:Tn.meta)==null?void 0:Pn.icon,defaultOpened:(Nn=Tn==null?void 0:Tn.meta)==null?void 0:Nn.defaultOpened,auth:(Mn=Tn==null?void 0:Tn.meta)==null?void 0:Mn.auth,menu:(In=Tn==null?void 0:Tn.meta)==null?void 0:In.menu,link:(On=Tn==null?void 0:Tn.meta)==null?void 0:On.link}};Tn.children&&(An.children=At(Tn.children,An.path)),En.push(An)}),En}const Dt=computed(()=>{let Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Sn=qe(Ie.routesRaw):Sn=Fe.value,xe.settings.app.enablePermission&&(Sn=wn(Sn,$e.permissions)),Sn}),Lt=computed(()=>Dt.value.length>0?Dt.value.length>1?Dt.value[Ue.value].children:Dt.value[0].children:[]),jt=computed(()=>Lt.value.length>0?hn(Lt.value[0]):xe.settings.home.fullPath);function hn(Sn,xn=""){let En="";if(Sn.children){const Tn=Sn.children.find(An=>{var $n;return(($n=An.meta)==null?void 0:$n.menu)!==!1});Tn?En=hn(Tn,resolveRoutePath(xn,Sn.path)):En=hn(Sn.children[0],resolveRoutePath(xn,Sn.path))}else En=resolveRoutePath(xn,Sn.path);return En}const vn=computed(()=>{const Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"&&Dt.value.forEach(xn=>{Sn.push(...bn(xn.children))}),Sn});function bn(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var An;if((An=Tn.meta)!=null&&An.defaultOpened&&Tn.children){En.push(resolveRoutePath(xn,Tn.path));const $n=bn(Tn.children,resolveRoutePath(xn,Tn.path));$n.length>0&&En.push(...$n)}}),En}function _n(Sn,xn){var Tn;let En=!1;return(Tn=xn.meta)!=null&&Tn.auth?En=Sn.some(An=>{var $n,Pn;return typeof(($n=xn.meta)==null?void 0:$n.auth)=="string"?xn.meta.auth!==""?xn.meta.auth===An:!0:typeof((Pn=xn.meta)==null?void 0:Pn.auth)=="object"?xn.meta.auth.length>0?xn.meta.auth.includes(An):!0:!1}):En=!0,En}function wn(Sn,xn){const En=[];return Sn.forEach(Tn=>{if(_n(xn,Tn)){const An=cloneDeep(Tn);An.children&&An.children.length>0?(An.children=wn(An.children,xn),An.children.length>0&&En.push(An)):(delete An.children,En.push(An))}}),En}async function kn(){Fe.value=menu.filter(Sn=>Sn.children.length!==0)}function Cn(Sn){if(typeof Sn=="number")Ue.value=Sn;else{const xn=Dt.value.findIndex(En=>En.children.some(Tn=>Sn.indexOf(`${Tn.path}/`)===0||Sn===Tn.path));xn>=0&&(Ue.value=xn)}}return{actived:Ue,allMenus:Dt,sidebarMenus:Lt,sidebarMenusFirstDeepestPath:jt,defaultOpenedPaths:vn,generateMenusAtFront:kn,setActived:Cn}}),{isLoading}=useNProgress(),router=createRouter({history:createWebHashHistory(""),routes:useSettingsStore(pinia).settings.app.routeBaseOn==="filesystem"?constantRoutesByFilesystem:constantRoutes});router.beforeEach(async(xe,$e,Ie)=>{const Fe=useSettingsStore(),Ue=useUserStore$1(),qe=useRouteStore(),At=useMenuStore();if(Fe.settings.app.enableProgress&&(isLoading.value=!0),Ue.isLogin)if(qe.isGenerate)Fe.settings.menu.menuMode!=="single"&&At.setActived(xe.path),xe.name==="login"?Ie({path:Fe.settings.home.fullPath,replace:!0}):!Fe.settings.home.enable&&xe.fullPath===Fe.settings.home.fullPath&&At.sidebarMenus.length>0?Ie({path:At.sidebarMenusFirstDeepestPath,replace:!0}):Ie();else{switch(Fe.settings.app.enablePermission&&await Ue.getPermissions(),Fe.settings.app.routeBaseOn){case"frontend":qe.generateRoutesAtFront(asyncRoutes);break;case"filesystem":switch(qe.generateRoutesAtFilesystem(asyncRoutesByFilesystem),Fe.settings.menu.baseOn){case"frontend":At.generateMenusAtFront();break}break}const Dt=[];qe.flatRoutes.forEach(Lt=>{/^(?:https?:|mailto:|tel:)/.test(Lt.path)||Dt.push(router.addRoute(Lt))}),Fe.settings.app.routeBaseOn!=="filesystem"&&qe.flatSystemRoutes.forEach(Lt=>{Dt.push(router.addRoute(Lt))}),qe.setCurrentRemoveRoutes(Dt),Ie({path:xe.path,query:xe.query,replace:!0})}else xe.name!=="login"?Ie({name:"login",query:{redirect:xe.fullPath!==Fe.settings.home.fullPath?xe.fullPath:void 0}}):Ie()});router.afterEach((xe,$e)=>{var Ue,qe,At,Dt,Lt,jt;const Ie=useSettingsStore(),Fe=useKeepAliveStore();if(Ie.settings.app.enableProgress&&(isLoading.value=!1),Ie.settings.app.routeBaseOn!=="filesystem"?Ie.setTitle(((qe=(Ue=xe.meta.breadcrumbNeste)==null?void 0:Ue.at(-1))==null?void 0:qe.title)??xe.meta.title):Ie.setTitle(xe.meta.title),xe.meta.cache){const hn=(Dt=(At=xe.matched.at(-1))==null?void 0:At.components)==null?void 0:Dt.default.name;hn?Fe.add(hn):console.warn("[Fantastic-admin] 该页面组件未设置组件名,会导致缓存失效,请检查")}if($e.meta.cache){const hn=(jt=(Lt=$e.matched.at(-1))==null?void 0:Lt.components)==null?void 0:jt.default.name;if(hn){switch(typeof $e.meta.cache){case"string":$e.meta.cache!==xe.name&&Fe.remove(hn);break;case"object":$e.meta.cache.includes(xe.name)||Fe.remove(hn);break}if($e.meta.noCache)switch(typeof $e.meta.noCache){case"string":$e.meta.noCache===xe.name&&Fe.remove(hn);break;case"object":$e.meta.noCache.includes(xe.name)&&Fe.remove(hn);break}xe.name==="reload"&&Fe.remove(hn)}}document.documentElement.scrollTop=0});function bind(xe,$e){return function(){return xe.apply($e,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=(xe=>$e=>{const Ie=toString.call($e);return xe[Ie]||(xe[Ie]=Ie.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=xe=>(xe=xe.toLowerCase(),$e=>kindOf($e)===xe),typeOfTest=xe=>$e=>typeof $e===xe,{isArray}=Array,isUndefined$1=typeOfTest("undefined");function isBuffer(xe){return xe!==null&&!isUndefined$1(xe)&&xe.constructor!==null&&!isUndefined$1(xe.constructor)&&isFunction$1(xe.constructor.isBuffer)&&xe.constructor.isBuffer(xe)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(xe){let $e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?$e=ArrayBuffer.isView(xe):$e=xe&&xe.buffer&&isArrayBuffer(xe.buffer),$e}const isString$1=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject=xe=>xe!==null&&typeof xe=="object",isBoolean$1=xe=>xe===!0||xe===!1,isPlainObject=xe=>{if(kindOf(xe)!=="object")return!1;const $e=getPrototypeOf(xe);return($e===null||$e===Object.prototype||Object.getPrototypeOf($e)===null)&&!(Symbol.toStringTag in xe)&&!(Symbol.iterator in xe)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=xe=>isObject(xe)&&isFunction$1(xe.pipe),isFormData=xe=>{let $e;return xe&&(typeof FormData=="function"&&xe instanceof FormData||isFunction$1(xe.append)&&(($e=kindOf(xe))==="formdata"||$e==="object"&&isFunction$1(xe.toString)&&xe.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=xe=>xe.trim?xe.trim():xe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(xe,$e,{allOwnKeys:Ie=!1}={}){if(xe===null||typeof xe>"u")return;let Fe,Ue;if(typeof xe!="object"&&(xe=[xe]),isArray(xe))for(Fe=0,Ue=xe.length;Fe0;)if(Ue=Ie[Fe],$e===Ue.toLowerCase())return Ue;return null}const _global$1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,isContextDefined=xe=>!isUndefined$1(xe)&&xe!==_global$1;function merge(){const{caseless:xe}=isContextDefined(this)&&this||{},$e={},Ie=(Fe,Ue)=>{const qe=xe&&findKey($e,Ue)||Ue;isPlainObject($e[qe])&&isPlainObject(Fe)?$e[qe]=merge($e[qe],Fe):isPlainObject(Fe)?$e[qe]=merge({},Fe):isArray(Fe)?$e[qe]=Fe.slice():$e[qe]=Fe};for(let Fe=0,Ue=arguments.length;Fe(forEach($e,(Ue,qe)=>{Ie&&isFunction$1(Ue)?xe[qe]=bind(Ue,Ie):xe[qe]=Ue},{allOwnKeys:Fe}),xe),stripBOM=xe=>(xe.charCodeAt(0)===65279&&(xe=xe.slice(1)),xe),inherits=(xe,$e,Ie,Fe)=>{xe.prototype=Object.create($e.prototype,Fe),xe.prototype.constructor=xe,Object.defineProperty(xe,"super",{value:$e.prototype}),Ie&&Object.assign(xe.prototype,Ie)},toFlatObject=(xe,$e,Ie,Fe)=>{let Ue,qe,At;const Dt={};if($e=$e||{},xe==null)return $e;do{for(Ue=Object.getOwnPropertyNames(xe),qe=Ue.length;qe-- >0;)At=Ue[qe],(!Fe||Fe(At,xe,$e))&&!Dt[At]&&($e[At]=xe[At],Dt[At]=!0);xe=Ie!==!1&&getPrototypeOf(xe)}while(xe&&(!Ie||Ie(xe,$e))&&xe!==Object.prototype);return $e},endsWith=(xe,$e,Ie)=>{xe=String(xe),(Ie===void 0||Ie>xe.length)&&(Ie=xe.length),Ie-=$e.length;const Fe=xe.indexOf($e,Ie);return Fe!==-1&&Fe===Ie},toArray=xe=>{if(!xe)return null;if(isArray(xe))return xe;let $e=xe.length;if(!isNumber$1($e))return null;const Ie=new Array($e);for(;$e-- >0;)Ie[$e]=xe[$e];return Ie},isTypedArray=(xe=>$e=>xe&&$e instanceof xe)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(xe,$e)=>{const Fe=(xe&&xe[Symbol.iterator]).call(xe);let Ue;for(;(Ue=Fe.next())&&!Ue.done;){const qe=Ue.value;$e.call(xe,qe[0],qe[1])}},matchAll=(xe,$e)=>{let Ie;const Fe=[];for(;(Ie=xe.exec($e))!==null;)Fe.push(Ie);return Fe},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=xe=>xe.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Ie,Fe,Ue){return Fe.toUpperCase()+Ue}),hasOwnProperty=(({hasOwnProperty:xe})=>($e,Ie)=>xe.call($e,Ie))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(xe,$e)=>{const Ie=Object.getOwnPropertyDescriptors(xe),Fe={};forEach(Ie,(Ue,qe)=>{let At;(At=$e(Ue,qe,xe))!==!1&&(Fe[qe]=At||Ue)}),Object.defineProperties(xe,Fe)},freezeMethods=xe=>{reduceDescriptors(xe,($e,Ie)=>{if(isFunction$1(xe)&&["arguments","caller","callee"].indexOf(Ie)!==-1)return!1;const Fe=xe[Ie];if(isFunction$1(Fe)){if($e.enumerable=!1,"writable"in $e){$e.writable=!1;return}$e.set||($e.set=()=>{throw Error("Can not rewrite read-only method '"+Ie+"'")})}})},toObjectSet=(xe,$e)=>{const Ie={},Fe=Ue=>{Ue.forEach(qe=>{Ie[qe]=!0})};return isArray(xe)?Fe(xe):Fe(String(xe).split($e)),Ie},noop$1=()=>{},toFiniteNumber=(xe,$e)=>xe!=null&&Number.isFinite(xe=+xe)?xe:$e,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(xe=16,$e=ALPHABET.ALPHA_DIGIT)=>{let Ie="";const{length:Fe}=$e;for(;xe--;)Ie+=$e[Math.random()*Fe|0];return Ie};function isSpecCompliantForm(xe){return!!(xe&&isFunction$1(xe.append)&&xe[Symbol.toStringTag]==="FormData"&&xe[Symbol.iterator])}const toJSONObject=xe=>{const $e=new Array(10),Ie=(Fe,Ue)=>{if(isObject(Fe)){if($e.indexOf(Fe)>=0)return;if(!("toJSON"in Fe)){$e[Ue]=Fe;const qe=isArray(Fe)?[]:{};return forEach(Fe,(At,Dt)=>{const Lt=Ie(At,Ue+1);!isUndefined$1(Lt)&&(qe[Dt]=Lt)}),$e[Ue]=void 0,qe}}return Fe};return Ie(xe,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=xe=>xe&&(isObject(xe)||isFunction$1(xe))&&isFunction$1(xe.then)&&isFunction$1(xe.catch),utils$1={isArray,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject,isPlainObject,isReadableStream,isRequest,isResponse,isHeaders,isUndefined:isUndefined$1,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend,trim,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$1,toFiniteNumber,findKey,global:_global$1,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(xe,$e,Ie,Fe,Ue){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=xe,this.name="AxiosError",$e&&(this.code=$e),Ie&&(this.config=Ie),Fe&&(this.request=Fe),Ue&&(this.response=Ue)}utils$1.inherits(AxiosError,Error,{toJSON:function xe(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(xe=>{descriptors[xe]={value:xe}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(xe,$e,Ie,Fe,Ue,qe)=>{const At=Object.create(prototype$1);return utils$1.toFlatObject(xe,At,function(Lt){return Lt!==Error.prototype},Dt=>Dt!=="isAxiosError"),AxiosError.call(At,xe.message,$e,Ie,Fe,Ue),At.cause=xe,At.name=xe.name,qe&&Object.assign(At,qe),At};const httpAdapter=null;function isVisitable(xe){return utils$1.isPlainObject(xe)||utils$1.isArray(xe)}function removeBrackets(xe){return utils$1.endsWith(xe,"[]")?xe.slice(0,-2):xe}function renderKey(xe,$e,Ie){return xe?xe.concat($e).map(function(Ue,qe){return Ue=removeBrackets(Ue),!Ie&&qe?"["+Ue+"]":Ue}).join(Ie?".":""):$e}function isFlatArray(xe){return utils$1.isArray(xe)&&!xe.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function xe($e){return/^is[A-Z]/.test($e)});function toFormData(xe,$e,Ie){if(!utils$1.isObject(xe))throw new TypeError("target must be an object");$e=$e||new FormData,Ie=utils$1.toFlatObject(Ie,{metaTokens:!0,dots:!1,indexes:!1},!1,function(kn,Cn){return!utils$1.isUndefined(Cn[kn])});const Fe=Ie.metaTokens,Ue=Ie.visitor||hn,qe=Ie.dots,At=Ie.indexes,Lt=(Ie.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm($e);if(!utils$1.isFunction(Ue))throw new TypeError("visitor must be a function");function jt(wn){if(wn===null)return"";if(utils$1.isDate(wn))return wn.toISOString();if(!Lt&&utils$1.isBlob(wn))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(wn)||utils$1.isTypedArray(wn)?Lt&&typeof Blob=="function"?new Blob([wn]):Buffer.from(wn):wn}function hn(wn,kn,Cn){let Sn=wn;if(wn&&!Cn&&typeof wn=="object"){if(utils$1.endsWith(kn,"{}"))kn=Fe?kn:kn.slice(0,-2),wn=JSON.stringify(wn);else if(utils$1.isArray(wn)&&isFlatArray(wn)||(utils$1.isFileList(wn)||utils$1.endsWith(kn,"[]"))&&(Sn=utils$1.toArray(wn)))return kn=removeBrackets(kn),Sn.forEach(function(En,Tn){!(utils$1.isUndefined(En)||En===null)&&$e.append(At===!0?renderKey([kn],Tn,qe):At===null?kn:kn+"[]",jt(En))}),!1}return isVisitable(wn)?!0:($e.append(renderKey(Cn,kn,qe),jt(wn)),!1)}const vn=[],bn=Object.assign(predicates,{defaultVisitor:hn,convertValue:jt,isVisitable});function _n(wn,kn){if(!utils$1.isUndefined(wn)){if(vn.indexOf(wn)!==-1)throw Error("Circular reference detected in "+kn.join("."));vn.push(wn),utils$1.forEach(wn,function(Sn,xn){(!(utils$1.isUndefined(Sn)||Sn===null)&&Ue.call($e,Sn,utils$1.isString(xn)?xn.trim():xn,kn,bn))===!0&&_n(Sn,kn?kn.concat(xn):[xn])}),vn.pop()}}if(!utils$1.isObject(xe))throw new TypeError("data must be an object");return _n(xe),$e}function encode$1(xe){const $e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(xe).replace(/[!'()~]|%20|%00/g,function(Fe){return $e[Fe]})}function AxiosURLSearchParams(xe,$e){this._pairs=[],xe&&toFormData(xe,this,$e)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function xe($e,Ie){this._pairs.push([$e,Ie])};prototype.toString=function xe($e){const Ie=$e?function(Fe){return $e.call(this,Fe,encode$1)}:encode$1;return this._pairs.map(function(Ue){return Ie(Ue[0])+"="+Ie(Ue[1])},"").join("&")};function encode(xe){return encodeURIComponent(xe).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(xe,$e,Ie){if(!$e)return xe;const Fe=Ie&&Ie.encode||encode,Ue=Ie&&Ie.serialize;let qe;if(Ue?qe=Ue($e,Ie):qe=utils$1.isURLSearchParams($e)?$e.toString():new AxiosURLSearchParams($e,Ie).toString(Fe),qe){const At=xe.indexOf("#");At!==-1&&(xe=xe.slice(0,At)),xe+=(xe.indexOf("?")===-1?"?":"&")+qe}return xe}class InterceptorManager{constructor(){this.handlers=[]}use($e,Ie,Fe){return this.handlers.push({fulfilled:$e,rejected:Ie,synchronous:Fe?Fe.synchronous:!1,runWhen:Fe?Fe.runWhen:null}),this.handlers.length-1}eject($e){this.handlers[$e]&&(this.handlers[$e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach($e){utils$1.forEach(this.handlers,function(Fe){Fe!==null&&$e(Fe)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$2={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",hasStandardBrowserEnv=(xe=>hasBrowserEnv&&["ReactNative","NativeScript","NS"].indexOf(xe)<0)(typeof navigator<"u"&&navigator.product),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,origin},Symbol.toStringTag,{value:"Module"})),platform$1={...utils,...platform$2};function toURLEncodedForm(xe,$e){return toFormData(xe,new platform$1.classes.URLSearchParams,Object.assign({visitor:function(Ie,Fe,Ue,qe){return platform$1.isNode&&utils$1.isBuffer(Ie)?(this.append(Fe,Ie.toString("base64")),!1):qe.defaultVisitor.apply(this,arguments)}},$e))}function parsePropPath(xe){return utils$1.matchAll(/\w+|\[(\w*)]/g,xe).map($e=>$e[0]==="[]"?"":$e[1]||$e[0])}function arrayToObject(xe){const $e={},Ie=Object.keys(xe);let Fe;const Ue=Ie.length;let qe;for(Fe=0;Fe=Ie.length;return At=!At&&utils$1.isArray(Ue)?Ue.length:At,Lt?(utils$1.hasOwnProp(Ue,At)?Ue[At]=[Ue[At],Fe]:Ue[At]=Fe,!Dt):((!Ue[At]||!utils$1.isObject(Ue[At]))&&(Ue[At]=[]),$e(Ie,Fe,Ue[At],qe)&&utils$1.isArray(Ue[At])&&(Ue[At]=arrayToObject(Ue[At])),!Dt)}if(utils$1.isFormData(xe)&&utils$1.isFunction(xe.entries)){const Ie={};return utils$1.forEachEntry(xe,(Fe,Ue)=>{$e(parsePropPath(Fe),Ue,Ie,0)}),Ie}return null}function stringifySafely(xe,$e,Ie){if(utils$1.isString(xe))try{return($e||JSON.parse)(xe),utils$1.trim(xe)}catch(Fe){if(Fe.name!=="SyntaxError")throw Fe}return(Ie||JSON.stringify)(xe)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function xe($e,Ie){const Fe=Ie.getContentType()||"",Ue=Fe.indexOf("application/json")>-1,qe=utils$1.isObject($e);if(qe&&utils$1.isHTMLForm($e)&&($e=new FormData($e)),utils$1.isFormData($e))return Ue?JSON.stringify(formDataToJSON($e)):$e;if(utils$1.isArrayBuffer($e)||utils$1.isBuffer($e)||utils$1.isStream($e)||utils$1.isFile($e)||utils$1.isBlob($e)||utils$1.isReadableStream($e))return $e;if(utils$1.isArrayBufferView($e))return $e.buffer;if(utils$1.isURLSearchParams($e))return Ie.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),$e.toString();let Dt;if(qe){if(Fe.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm($e,this.formSerializer).toString();if((Dt=utils$1.isFileList($e))||Fe.indexOf("multipart/form-data")>-1){const Lt=this.env&&this.env.FormData;return toFormData(Dt?{"files[]":$e}:$e,Lt&&new Lt,this.formSerializer)}}return qe||Ue?(Ie.setContentType("application/json",!1),stringifySafely($e)):$e}],transformResponse:[function xe($e){const Ie=this.transitional||defaults.transitional,Fe=Ie&&Ie.forcedJSONParsing,Ue=this.responseType==="json";if(utils$1.isResponse($e)||utils$1.isReadableStream($e))return $e;if($e&&utils$1.isString($e)&&(Fe&&!this.responseType||Ue)){const At=!(Ie&&Ie.silentJSONParsing)&&Ue;try{return JSON.parse($e)}catch(Dt){if(At)throw Dt.name==="SyntaxError"?AxiosError.from(Dt,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):Dt}}return $e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$1.classes.FormData,Blob:platform$1.classes.Blob},validateStatus:function xe($e){return $e>=200&&$e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],xe=>{defaults.headers[xe]={}});const ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=xe=>{const $e={};let Ie,Fe,Ue;return xe&&xe.split(` +`||jt==="")){var hn=At.isSelected(jt);Fe.hasOwnProperty(jt)?Fe[jt]=Fe[jt]&&hn:Fe[jt]=hn}})}),xe==="allSelect"||xe==="inverseSelect"?{selected:Fe}:{name:$e.name,selected:Fe}}function installLegendAction(xe){xe.registerAction("legendToggleSelect","legendselectchanged",curry$1(legendSelectActionHandler,"toggleSelected")),xe.registerAction("legendAllSelect","legendselectall",curry$1(legendSelectActionHandler,"allSelect")),xe.registerAction("legendInverseSelect","legendinverseselect",curry$1(legendSelectActionHandler,"inverseSelect")),xe.registerAction("legendSelect","legendselected",curry$1(legendSelectActionHandler,"select")),xe.registerAction("legendUnSelect","legendunselected",curry$1(legendSelectActionHandler,"unSelect"))}function install$c(xe){xe.registerComponentModel(LegendModel),xe.registerComponentView(LegendView),xe.registerProcessor(xe.PRIORITY.PROCESSOR.SERIES_FILTER,legendFilter),xe.registerSubTypeDefaulter("legend",function(){return"plain"}),installLegendAction(xe)}var ScrollableLegendModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.setScrollDataIndex=function(Ie){this.option.scrollDataIndex=Ie},$e.prototype.init=function(Ie,Fe,Ue){var qe=getLayoutParams(Ie);xe.prototype.init.call(this,Ie,Fe,Ue),mergeAndNormalizeLayoutParams(this,Ie,qe)},$e.prototype.mergeOption=function(Ie,Fe){xe.prototype.mergeOption.call(this,Ie,Fe),mergeAndNormalizeLayoutParams(this,this.option,Ie)},$e.type="legend.scroll",$e.defaultOption=inheritDefaultOption(LegendModel.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),$e}(LegendModel);function mergeAndNormalizeLayoutParams(xe,$e,Ie){var Fe=xe.getOrient(),Ue=[1,1];Ue[Fe.index]=0,mergeLayoutParam($e,Ie,{type:"box",ignoreSize:!!Ue})}var Group=Group$3,WH=["width","height"],XY=["x","y"],ScrollableLegendView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.newlineDisabled=!0,Ie._currentIndex=0,Ie}return $e.prototype.init=function(){xe.prototype.init.call(this),this.group.add(this._containerGroup=new Group),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Group)},$e.prototype.resetInner=function(){xe.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},$e.prototype.renderInner=function(Ie,Fe,Ue,qe,At,Dt,Lt){var jt=this;xe.prototype.renderInner.call(this,Ie,Fe,Ue,qe,At,Dt,Lt);var hn=this._controllerGroup,vn=Fe.get("pageIconSize",!0),bn=isArray$2(vn)?vn:[vn,vn];wn("pagePrev",0);var _n=Fe.getModel("pageTextStyle");hn.add(new ZRText({name:"pageText",style:{text:"xx/xx",fill:_n.getTextColor(),font:_n.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),wn("pageNext",1);function wn(kn,Cn){var Sn=kn+"DataIndex",xn=createIcon(Fe.get("pageIcons",!0)[Fe.getOrient().name][Cn],{onclick:bind$2(jt._pageGo,jt,Sn,Fe,qe)},{x:-bn[0]/2,y:-bn[1]/2,width:bn[0],height:bn[1]});xn.name=kn,hn.add(xn)}},$e.prototype.layoutInner=function(Ie,Fe,Ue,qe,At,Dt){var Lt=this.getSelectorGroup(),jt=Ie.getOrient().index,hn=WH[jt],vn=XY[jt],bn=WH[1-jt],_n=XY[1-jt];At&&box("horizontal",Lt,Ie.get("selectorItemGap",!0));var wn=Ie.get("selectorButtonGap",!0),kn=Lt.getBoundingRect(),Cn=[-kn.x,-kn.y],Sn=clone$4(Ue);At&&(Sn[hn]=Ue[hn]-kn[hn]-wn);var xn=this._layoutContentAndController(Ie,qe,Sn,jt,hn,bn,_n,vn);if(At){if(Dt==="end")Cn[jt]+=xn[hn]+wn;else{var En=kn[hn]+wn;Cn[jt]-=En,xn[vn]-=En}xn[hn]+=kn[hn]+wn,Cn[1-jt]+=xn[_n]+xn[bn]/2-kn[bn]/2,xn[bn]=Math.max(xn[bn],kn[bn]),xn[_n]=Math.min(xn[_n],kn[_n]+Cn[1-jt]),Lt.x=Cn[0],Lt.y=Cn[1],Lt.markRedraw()}return xn},$e.prototype._layoutContentAndController=function(Ie,Fe,Ue,qe,At,Dt,Lt,jt){var hn=this.getContentGroup(),vn=this._containerGroup,bn=this._controllerGroup;box(Ie.get("orient"),hn,Ie.get("itemGap"),qe?Ue.width:null,qe?null:Ue.height),box("horizontal",bn,Ie.get("pageButtonItemGap",!0));var _n=hn.getBoundingRect(),wn=bn.getBoundingRect(),kn=this._showController=_n[At]>Ue[At],Cn=[-_n.x,-_n.y];Fe||(Cn[qe]=hn[jt]);var Sn=[0,0],xn=[-wn.x,-wn.y],En=retrieve2(Ie.get("pageButtonGap",!0),Ie.get("itemGap",!0));if(kn){var Tn=Ie.get("pageButtonPosition",!0);Tn==="end"?xn[qe]+=Ue[At]-wn[At]:Sn[qe]+=wn[At]+En}xn[1-qe]+=_n[Dt]/2-wn[Dt]/2,hn.setPosition(Cn),vn.setPosition(Sn),bn.setPosition(xn);var An={x:0,y:0};if(An[At]=kn?Ue[At]:_n[At],An[Dt]=Math.max(_n[Dt],wn[Dt]),An[Lt]=Math.min(0,wn[Lt]+xn[1-qe]),vn.__rectSize=Ue[At],kn){var $n={x:0,y:0};$n[At]=Math.max(Ue[At]-wn[At]-En,0),$n[Dt]=An[Dt],vn.setClipPath(new Rect$2({shape:$n})),vn.__rectSize=$n[At]}else bn.eachChild(function(Nn){Nn.attr({invisible:!0,silent:!0})});var Pn=this._getPageInfo(Ie);return Pn.pageIndex!=null&&updateProps$1(hn,{x:Pn.contentPosition[0],y:Pn.contentPosition[1]},kn?Ie:null),this._updatePageInfoView(Ie,Pn),An},$e.prototype._pageGo=function(Ie,Fe,Ue){var qe=this._getPageInfo(Fe)[Ie];qe!=null&&Ue.dispatchAction({type:"legendScroll",scrollDataIndex:qe,legendId:Fe.id})},$e.prototype._updatePageInfoView=function(Ie,Fe){var Ue=this._controllerGroup;each$f(["pagePrev","pageNext"],function(hn){var vn=hn+"DataIndex",bn=Fe[vn]!=null,_n=Ue.childOfName(hn);_n&&(_n.setStyle("fill",bn?Ie.get("pageIconColor",!0):Ie.get("pageIconInactiveColor",!0)),_n.cursor=bn?"pointer":"default")});var qe=Ue.childOfName("pageText"),At=Ie.get("pageFormatter"),Dt=Fe.pageIndex,Lt=Dt!=null?Dt+1:0,jt=Fe.pageCount;qe&&At&&qe.setStyle("text",isString$2(At)?At.replace("{current}",Lt==null?"":Lt+"").replace("{total}",jt==null?"":jt+""):At({current:Lt,total:jt}))},$e.prototype._getPageInfo=function(Ie){var Fe=Ie.get("scrollDataIndex",!0),Ue=this.getContentGroup(),qe=this._containerGroup.__rectSize,At=Ie.getOrient().index,Dt=WH[At],Lt=XY[At],jt=this._findTargetItemIndex(Fe),hn=Ue.children(),vn=hn[jt],bn=hn.length,_n=bn?1:0,wn={contentPosition:[Ue.x,Ue.y],pageCount:_n,pageIndex:_n-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!vn)return wn;var kn=Tn(vn);wn.contentPosition[At]=-kn.s;for(var Cn=jt+1,Sn=kn,xn=kn,En=null;Cn<=bn;++Cn)En=Tn(hn[Cn]),(!En&&xn.e>Sn.s+qe||En&&!An(En,Sn.s))&&(xn.i>Sn.i?Sn=xn:Sn=En,Sn&&(wn.pageNextDataIndex==null&&(wn.pageNextDataIndex=Sn.i),++wn.pageCount)),xn=En;for(var Cn=jt-1,Sn=kn,xn=kn,En=null;Cn>=-1;--Cn)En=Tn(hn[Cn]),(!En||!An(xn,En.s))&&Sn.i=Pn&&$n.s<=Pn+qe}},$e.prototype._findTargetItemIndex=function(Ie){if(!this._showController)return 0;var Fe,Ue=this.getContentGroup(),qe;return Ue.eachChild(function(At,Dt){var Lt=At.__legendDataIndex;qe==null&&Lt!=null&&(qe=Dt),Lt===Ie&&(Fe=Dt)}),Fe??qe},$e.type="legend.scroll",$e}(LegendView);function installScrollableLegendAction(xe){xe.registerAction("legendScroll","legendscroll",function($e,Ie){var Fe=$e.scrollDataIndex;Fe!=null&&Ie.eachComponent({mainType:"legend",subType:"scroll",query:$e},function(Ue){Ue.setScrollDataIndex(Fe)})})}function install$b(xe){use(install$c),xe.registerComponentModel(ScrollableLegendModel),xe.registerComponentView(ScrollableLegendView),installScrollableLegendAction(xe)}function install$a(xe){use(install$c),use(install$b)}var InsideZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.inside",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),$e}(DataZoomModel),inner$1=makeInner();function setViewInfoToCoordSysRecord(xe,$e,Ie){inner$1(xe).coordSysRecordMap.each(function(Fe){var Ue=Fe.dataZoomInfoMap.get($e.uid);Ue&&(Ue.getRange=Ie)})}function disposeCoordSysRecordIfNeeded(xe,$e){for(var Ie=inner$1(xe).coordSysRecordMap,Fe=Ie.keys(),Ue=0;UeFe[Ie+$e]&&($e=Dt),Ue=Ue&&At.get("preventDefaultMouseMove",!0)}),{controlType:$e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!Ue}}}function installDataZoomRoamProcessor(xe){xe.registerProcessor(xe.PRIORITY.PROCESSOR.FILTER,function($e,Ie){var Fe=inner$1(Ie),Ue=Fe.coordSysRecordMap||(Fe.coordSysRecordMap=createHashMap());Ue.each(function(qe){qe.dataZoomInfoMap=null}),$e.eachComponent({mainType:"dataZoom",subType:"inside"},function(qe){var At=collectReferCoordSysModelInfo(qe);each$f(At.infoList,function(Dt){var Lt=Dt.model.uid,jt=Ue.get(Lt)||Ue.set(Lt,createCoordSysRecord(Ie,Dt.model)),hn=jt.dataZoomInfoMap||(jt.dataZoomInfoMap=createHashMap());hn.set(qe.uid,{dzReferCoordSysInfo:Dt,model:qe,getRange:null})})}),Ue.each(function(qe){var At=qe.controller,Dt,Lt=qe.dataZoomInfoMap;if(Lt){var jt=Lt.keys()[0];jt!=null&&(Dt=Lt.get(jt))}if(!Dt){disposeCoordSysRecord(Ue,qe);return}var hn=mergeControllerParams(Lt);At.enable(hn.controlType,hn.opt),At.setPointerChecker(qe.containsPoint),createOrUpdate(qe,"dispatchAction",Dt.model.get("throttle",!0),"fixRate")})})}var InsideZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type="dataZoom.inside",Ie}return $e.prototype.render=function(Ie,Fe,Ue){if(xe.prototype.render.apply(this,arguments),Ie.noTarget()){this._clear();return}this.range=Ie.getPercentRange(),setViewInfoToCoordSysRecord(Ue,Ie,{pan:bind$2(getRangeHandlers.pan,this),zoom:bind$2(getRangeHandlers.zoom,this),scrollMove:bind$2(getRangeHandlers.scrollMove,this)})},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){disposeCoordSysRecordIfNeeded(this.api,this.dataZoomModel),this.range=null},$e.type="dataZoom.inside",$e}(DataZoomView),getRangeHandlers={zoom:function(xe,$e,Ie,Fe){var Ue=this.range,qe=Ue.slice(),At=xe.axisModels[0];if(At){var Dt=getDirectionInfo[$e](null,[Fe.originX,Fe.originY],At,Ie,xe),Lt=(Dt.signal>0?Dt.pixelStart+Dt.pixelLength-Dt.pixel:Dt.pixel-Dt.pixelStart)/Dt.pixelLength*(qe[1]-qe[0])+qe[0],jt=Math.max(1/Fe.scale,0);qe[0]=(qe[0]-Lt)*jt+Lt,qe[1]=(qe[1]-Lt)*jt+Lt;var hn=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(sliderMove(0,qe,[0,100],0,hn.minSpan,hn.maxSpan),this.range=qe,Ue[0]!==qe[0]||Ue[1]!==qe[1])return qe}},pan:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([qe.oldX,qe.oldY],[qe.newX,qe.newY],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*At.pixel/At.pixelLength}),scrollMove:makeMover(function(xe,$e,Ie,Fe,Ue,qe){var At=getDirectionInfo[Fe]([0,0],[qe.scrollDelta,qe.scrollDelta],$e,Ue,Ie);return At.signal*(xe[1]-xe[0])*qe.scrollDelta})};function makeMover(xe){return function($e,Ie,Fe,Ue){var qe=this.range,At=qe.slice(),Dt=$e.axisModels[0];if(Dt){var Lt=xe(At,Dt,$e,Ie,Fe,Ue);if(sliderMove(Lt,At,[0,100],"all"),this.range=At,qe[0]!==At[0]||qe[1]!==At[1])return At}}}var getDirectionInfo={grid:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem.getRect();return xe=xe||[0,0],qe.dim==="x"?(At.pixel=$e[0]-xe[0],At.pixelLength=Dt.width,At.pixelStart=Dt.x,At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=Dt.height,At.pixelStart=Dt.y,At.signal=qe.inverse?-1:1),At},polar:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At={},Dt=Ue.model.coordinateSystem,Lt=Dt.getRadiusAxis().getExtent(),jt=Dt.getAngleAxis().getExtent();return xe=xe?Dt.pointToCoord(xe):[0,0],$e=Dt.pointToCoord($e),Ie.mainType==="radiusAxis"?(At.pixel=$e[0]-xe[0],At.pixelLength=Lt[1]-Lt[0],At.pixelStart=Lt[0],At.signal=qe.inverse?1:-1):(At.pixel=$e[1]-xe[1],At.pixelLength=jt[1]-jt[0],At.pixelStart=jt[0],At.signal=qe.inverse?-1:1),At},singleAxis:function(xe,$e,Ie,Fe,Ue){var qe=Ie.axis,At=Ue.model.coordinateSystem.getRect(),Dt={};return xe=xe||[0,0],qe.orient==="horizontal"?(Dt.pixel=$e[0]-xe[0],Dt.pixelLength=At.width,Dt.pixelStart=At.x,Dt.signal=qe.inverse?1:-1):(Dt.pixel=$e[1]-xe[1],Dt.pixelLength=At.height,Dt.pixelStart=At.y,Dt.signal=qe.inverse?-1:1),Dt}};function install$9(xe){installCommon$1(xe),xe.registerComponentModel(InsideZoomModel),xe.registerComponentView(InsideZoomView),installDataZoomRoamProcessor(xe)}var SliderZoomModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.type="dataZoom.slider",$e.layoutMode="box",$e.defaultOption=inheritDefaultOption(DataZoomModel.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),$e}(DataZoomModel),Rect=Rect$2,DEFAULT_LOCATION_EDGE_GAP=7,DEFAULT_FRAME_BORDER_WIDTH=1,DEFAULT_FILLER_SIZE=30,DEFAULT_MOVE_HANDLE_SIZE=7,HORIZONTAL$1="horizontal",VERTICAL$1="vertical",LABEL_GAP=5,SHOW_DATA_SHADOW_SERIES_TYPE=["line","bar","candlestick","scatter"],REALTIME_ANIMATION_CONFIG={easing:"cubicOut",duration:100,delay:0},SliderZoomView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._displayables={},Ie}return $e.prototype.init=function(Ie,Fe){this.api=Fe,this._onBrush=bind$2(this._onBrush,this),this._onBrushEnd=bind$2(this._onBrushEnd,this)},$e.prototype.render=function(Ie,Fe,Ue,qe){if(xe.prototype.render.apply(this,arguments),createOrUpdate(this,"_dispatchZoomAction",Ie.get("throttle"),"fixRate"),this._orient=Ie.getOrient(),Ie.get("show")===!1){this.group.removeAll();return}if(Ie.noTarget()){this._clear(),this.group.removeAll();return}(!qe||qe.type!=="dataZoom"||qe.from!==this.uid)&&this._buildView(),this._updateView()},$e.prototype.dispose=function(){this._clear(),xe.prototype.dispose.apply(this,arguments)},$e.prototype._clear=function(){clear$1(this,"_dispatchZoomAction");var Ie=this.api.getZr();Ie.off("mousemove",this._onBrush),Ie.off("mouseup",this._onBrushEnd)},$e.prototype._buildView=function(){var Ie=this.group;Ie.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var Fe=this._displayables.sliderGroup=new Group$3;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),Ie.add(Fe),this._positionGroup()},$e.prototype._resetLocation=function(){var Ie=this.dataZoomModel,Fe=this.api,Ue=Ie.get("brushSelect"),qe=Ue?DEFAULT_MOVE_HANDLE_SIZE:0,At=this._findCoordRect(),Dt={width:Fe.getWidth(),height:Fe.getHeight()},Lt=this._orient===HORIZONTAL$1?{right:Dt.width-At.x-At.width,top:Dt.height-DEFAULT_FILLER_SIZE-DEFAULT_LOCATION_EDGE_GAP-qe,width:At.width,height:DEFAULT_FILLER_SIZE}:{right:DEFAULT_LOCATION_EDGE_GAP,top:At.y,width:DEFAULT_FILLER_SIZE,height:At.height},jt=getLayoutParams(Ie.option);each$f(["right","top","width","height"],function(vn){jt[vn]==="ph"&&(jt[vn]=Lt[vn])});var hn=getLayoutRect(jt,Dt);this._location={x:hn.x,y:hn.y},this._size=[hn.width,hn.height],this._orient===VERTICAL$1&&this._size.reverse()},$e.prototype._positionGroup=function(){var Ie=this.group,Fe=this._location,Ue=this._orient,qe=this.dataZoomModel.getFirstTargetAxisModel(),At=qe&&qe.get("inverse"),Dt=this._displayables.sliderGroup,Lt=(this._dataShadowInfo||{}).otherAxisInverse;Dt.attr(Ue===HORIZONTAL$1&&!At?{scaleY:Lt?1:-1,scaleX:1}:Ue===HORIZONTAL$1&&At?{scaleY:Lt?1:-1,scaleX:-1}:Ue===VERTICAL$1&&!At?{scaleY:Lt?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:Lt?-1:1,scaleX:-1,rotation:Math.PI/2});var jt=Ie.getBoundingRect([Dt]);Ie.x=Fe.x-jt.x,Ie.y=Fe.y-jt.y,Ie.markRedraw()},$e.prototype._getViewExtent=function(){return[0,this._size[0]]},$e.prototype._renderBackground=function(){var Ie=this.dataZoomModel,Fe=this._size,Ue=this._displayables.sliderGroup,qe=Ie.get("brushSelect");Ue.add(new Rect({silent:!0,shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:Ie.get("backgroundColor")},z2:-40}));var At=new Rect({shape:{x:0,y:0,width:Fe[0],height:Fe[1]},style:{fill:"transparent"},z2:0,onclick:bind$2(this._onClickPanel,this)}),Dt=this.api.getZr();qe?(At.on("mousedown",this._onBrushStart,this),At.cursor="crosshair",Dt.on("mousemove",this._onBrush),Dt.on("mouseup",this._onBrushEnd)):(Dt.off("mousemove",this._onBrush),Dt.off("mouseup",this._onBrushEnd)),Ue.add(At)},$e.prototype._renderDataShadow=function(){var Ie=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!Ie)return;var Fe=this._size,Ue=this._shadowSize||[],qe=Ie.series,At=qe.getRawData(),Dt=qe.getShadowDim&&qe.getShadowDim(),Lt=Dt&&At.getDimensionInfo(Dt)?qe.getShadowDim():Ie.otherDim;if(Lt==null)return;var jt=this._shadowPolygonPts,hn=this._shadowPolylinePts;if(At!==this._shadowData||Lt!==this._shadowDim||Fe[0]!==Ue[0]||Fe[1]!==Ue[1]){var vn=At.getDataExtent(Lt),bn=(vn[1]-vn[0])*.3;vn=[vn[0]-bn,vn[1]+bn];var _n=[0,Fe[1]],wn=[0,Fe[0]],kn=[[Fe[0],0],[0,0]],Cn=[],Sn=wn[1]/(At.count()-1),xn=0,En=Math.round(At.count()/Fe[0]),Tn;At.each([Lt],function(Mn,In){if(En>0&&In%En){xn+=Sn;return}var On=Mn==null||isNaN(Mn)||Mn==="",Rn=On?0:linearMap$2(Mn,vn,_n,!0);On&&!Tn&&In?(kn.push([kn[kn.length-1][0],0]),Cn.push([Cn[Cn.length-1][0],0])):!On&&Tn&&(kn.push([xn,0]),Cn.push([xn,0])),kn.push([xn,Rn]),Cn.push([xn,Rn]),xn+=Sn,Tn=On}),jt=this._shadowPolygonPts=kn,hn=this._shadowPolylinePts=Cn}this._shadowData=At,this._shadowDim=Lt,this._shadowSize=[Fe[0],Fe[1]];var An=this.dataZoomModel;function $n(Mn){var In=An.getModel(Mn?"selectedDataBackground":"dataBackground"),On=new Group$3,Rn=new Polygon({shape:{points:jt},segmentIgnoreThreshold:1,style:In.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),Bn=new Polyline$1({shape:{points:hn},segmentIgnoreThreshold:1,style:In.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return On.add(Rn),On.add(Bn),On}for(var Pn=0;Pn<3;Pn++){var Nn=$n(Pn===1);this._displayables.sliderGroup.add(Nn),this._displayables.dataShadowSegs.push(Nn)}},$e.prototype._prepareDataShadowInfo=function(){var Ie=this.dataZoomModel,Fe=Ie.get("showDataShadow");if(Fe!==!1){var Ue,qe=this.ecModel;return Ie.eachTargetAxis(function(At,Dt){var Lt=Ie.getAxisProxy(At,Dt).getTargetSeriesModels();each$f(Lt,function(jt){if(!Ue&&!(Fe!==!0&&indexOf(SHOW_DATA_SHADOW_SERIES_TYPE,jt.get("type"))<0)){var hn=qe.getComponent(getAxisMainType(At),Dt).axis,vn=getOtherDim(At),bn,_n=jt.coordinateSystem;vn!=null&&_n.getOtherAxis&&(bn=_n.getOtherAxis(hn).inverse),vn=jt.getData().mapDimension(vn),Ue={thisAxis:hn,series:jt,thisDim:At,otherDim:vn,otherAxisInverse:bn}}},this)},this),Ue}},$e.prototype._renderHandle=function(){var Ie=this.group,Fe=this._displayables,Ue=Fe.handles=[null,null],qe=Fe.handleLabels=[null,null],At=this._displayables.sliderGroup,Dt=this._size,Lt=this.dataZoomModel,jt=this.api,hn=Lt.get("borderRadius")||0,vn=Lt.get("brushSelect"),bn=Fe.filler=new Rect({silent:vn,style:{fill:Lt.get("fillerColor")},textConfig:{position:"inside"}});At.add(bn),At.add(new Rect({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:Dt[0],height:Dt[1],r:hn},style:{stroke:Lt.get("dataBackgroundColor")||Lt.get("borderColor"),lineWidth:DEFAULT_FRAME_BORDER_WIDTH,fill:"rgba(0,0,0,0)"}})),each$f([0,1],function(En){var Tn=Lt.get("handleIcon");!symbolBuildProxies[Tn]&&Tn.indexOf("path://")<0&&Tn.indexOf("image://")<0&&(Tn="path://"+Tn);var An=createSymbol$1(Tn,-1,0,2,2,null,!0);An.attr({cursor:getCursor$1(this._orient),draggable:!0,drift:bind$2(this._onDragMove,this,En),ondragend:bind$2(this._onDragEnd,this),onmouseover:bind$2(this._showDataInfo,this,!0),onmouseout:bind$2(this._showDataInfo,this,!1),z2:5});var $n=An.getBoundingRect(),Pn=Lt.get("handleSize");this._handleHeight=parsePercent(Pn,this._size[1]),this._handleWidth=$n.width/$n.height*this._handleHeight,An.setStyle(Lt.getModel("handleStyle").getItemStyle()),An.style.strokeNoScale=!0,An.rectHover=!0,An.ensureState("emphasis").style=Lt.getModel(["emphasis","handleStyle"]).getItemStyle(),enableHoverEmphasis(An);var Nn=Lt.get("handleColor");Nn!=null&&(An.style.fill=Nn),At.add(Ue[En]=An);var Mn=Lt.getModel("textStyle");Ie.add(qe[En]=new ZRText({silent:!0,invisible:!0,style:createTextStyle(Mn,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:Mn.getTextColor(),font:Mn.getFont()}),z2:10}))},this);var _n=bn;if(vn){var wn=parsePercent(Lt.get("moveHandleSize"),Dt[1]),kn=Fe.moveHandle=new Rect$2({style:Lt.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:Dt[1]-.5,height:wn}}),Cn=wn*.8,Sn=Fe.moveHandleIcon=createSymbol$1(Lt.get("moveHandleIcon"),-Cn/2,-Cn/2,Cn,Cn,"#fff",!0);Sn.silent=!0,Sn.y=Dt[1]+wn/2-.5,kn.ensureState("emphasis").style=Lt.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var xn=Math.min(Dt[1]/2,Math.max(wn,10));_n=Fe.moveZone=new Rect$2({invisible:!0,shape:{y:Dt[1]-xn,height:wn+xn}}),_n.on("mouseover",function(){jt.enterEmphasis(kn)}).on("mouseout",function(){jt.leaveEmphasis(kn)}),At.add(kn),At.add(Sn),At.add(_n)}_n.attr({draggable:!0,cursor:getCursor$1(this._orient),drift:bind$2(this._onDragMove,this,"all"),ondragstart:bind$2(this._showDataInfo,this,!0),ondragend:bind$2(this._onDragEnd,this),onmouseover:bind$2(this._showDataInfo,this,!0),onmouseout:bind$2(this._showDataInfo,this,!1)})},$e.prototype._resetInterval=function(){var Ie=this._range=this.dataZoomModel.getPercentRange(),Fe=this._getViewExtent();this._handleEnds=[linearMap$2(Ie[0],[0,100],Fe,!0),linearMap$2(Ie[1],[0,100],Fe,!0)]},$e.prototype._updateInterval=function(Ie,Fe){var Ue=this.dataZoomModel,qe=this._handleEnds,At=this._getViewExtent(),Dt=Ue.findRepresentativeAxisProxy().getMinMaxSpan(),Lt=[0,100];sliderMove(Fe,qe,At,Ue.get("zoomLock")?"all":Ie,Dt.minSpan!=null?linearMap$2(Dt.minSpan,Lt,At,!0):null,Dt.maxSpan!=null?linearMap$2(Dt.maxSpan,Lt,At,!0):null);var jt=this._range,hn=this._range=asc$2([linearMap$2(qe[0],At,Lt,!0),linearMap$2(qe[1],At,Lt,!0)]);return!jt||jt[0]!==hn[0]||jt[1]!==hn[1]},$e.prototype._updateView=function(Ie){var Fe=this._displayables,Ue=this._handleEnds,qe=asc$2(Ue.slice()),At=this._size;each$f([0,1],function(_n){var wn=Fe.handles[_n],kn=this._handleHeight;wn.attr({scaleX:kn/2,scaleY:kn/2,x:Ue[_n]+(_n?-1:1),y:At[1]/2-kn/2})},this),Fe.filler.setShape({x:qe[0],y:0,width:qe[1]-qe[0],height:At[1]});var Dt={x:qe[0],width:qe[1]-qe[0]};Fe.moveHandle&&(Fe.moveHandle.setShape(Dt),Fe.moveZone.setShape(Dt),Fe.moveZone.getBoundingRect(),Fe.moveHandleIcon&&Fe.moveHandleIcon.attr("x",Dt.x+Dt.width/2));for(var Lt=Fe.dataShadowSegs,jt=[0,qe[0],qe[1],At[0]],hn=0;hnFe[0]||Ue[1]<0||Ue[1]>Fe[1])){var qe=this._handleEnds,At=(qe[0]+qe[1])/2,Dt=this._updateInterval("all",Ue[0]-At);this._updateView(),Dt&&this._dispatchZoomAction(!1)}},$e.prototype._onBrushStart=function(Ie){var Fe=Ie.offsetX,Ue=Ie.offsetY;this._brushStart=new Point(Fe,Ue),this._brushing=!0,this._brushStartTime=+new Date},$e.prototype._onBrushEnd=function(Ie){if(this._brushing){var Fe=this._displayables.brushRect;if(this._brushing=!1,!!Fe){Fe.attr("ignore",!0);var Ue=Fe.shape,qe=+new Date;if(!(qe-this._brushStartTime<200&&Math.abs(Ue.width)<5)){var At=this._getViewExtent(),Dt=[0,100];this._range=asc$2([linearMap$2(Ue.x,At,Dt,!0),linearMap$2(Ue.x+Ue.width,At,Dt,!0)]),this._handleEnds=[Ue.x,Ue.x+Ue.width],this._updateView(),this._dispatchZoomAction(!1)}}}},$e.prototype._onBrush=function(Ie){this._brushing&&(stop(Ie.event),this._updateBrushRect(Ie.offsetX,Ie.offsetY))},$e.prototype._updateBrushRect=function(Ie,Fe){var Ue=this._displayables,qe=this.dataZoomModel,At=Ue.brushRect;At||(At=Ue.brushRect=new Rect({silent:!0,style:qe.getModel("brushStyle").getItemStyle()}),Ue.sliderGroup.add(At)),At.attr("ignore",!1);var Dt=this._brushStart,Lt=this._displayables.sliderGroup,jt=Lt.transformCoordToLocal(Ie,Fe),hn=Lt.transformCoordToLocal(Dt.x,Dt.y),vn=this._size;jt[0]=Math.max(Math.min(vn[0],jt[0]),0),At.setShape({x:hn[0],y:0,width:jt[0]-hn[0],height:vn[1]})},$e.prototype._dispatchZoomAction=function(Ie){var Fe=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:Ie?REALTIME_ANIMATION_CONFIG:null,start:Fe[0],end:Fe[1]})},$e.prototype._findCoordRect=function(){var Ie,Fe=collectReferCoordSysModelInfo(this.dataZoomModel).infoList;if(!Ie&&Fe.length){var Ue=Fe[0].model.coordinateSystem;Ie=Ue.getRect&&Ue.getRect()}if(!Ie){var qe=this.api.getWidth(),At=this.api.getHeight();Ie={x:qe*.2,y:At*.2,width:qe*.6,height:At*.6}}return Ie},$e.type="dataZoom.slider",$e}(DataZoomView);function getOtherDim(xe){var $e={x:"y",y:"x",radius:"angle",angle:"radius"};return $e[xe]}function getCursor$1(xe){return xe==="vertical"?"ns-resize":"ew-resize"}function install$8(xe){xe.registerComponentModel(SliderZoomModel),xe.registerComponentView(SliderZoomView),installCommon$1(xe)}function install$7(xe){use(install$9),use(install$8)}var visualDefault={get:function(xe,$e,Ie){var Fe=clone$4((defaultOption[xe]||{})[$e]);return Ie&&isArray$2(Fe)?Fe[Fe.length-1]:Fe}},defaultOption={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},mapVisual=VisualMapping.mapVisual,eachVisual=VisualMapping.eachVisual,isArray$1=isArray$2,each$2=each$f,asc=asc$2,linearMap$1=linearMap$2,VisualMapModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie.stateList=["inRange","outOfRange"],Ie.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],Ie.layoutMode={type:"box",ignoreSize:!0},Ie.dataBound=[-1/0,1/0],Ie.targetVisuals={},Ie.controllerVisuals={},Ie}return $e.prototype.init=function(Ie,Fe,Ue){this.mergeDefaultAndTheme(Ie,Ue)},$e.prototype.optionUpdated=function(Ie,Fe){var Ue=this.option;!Fe&&replaceVisualOption(Ue,Ie,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},$e.prototype.resetVisual=function(Ie){var Fe=this.stateList;Ie=bind$2(Ie,this),this.controllerVisuals=createVisualMappings(this.option.controller,Fe,Ie),this.targetVisuals=createVisualMappings(this.option.target,Fe,Ie)},$e.prototype.getItemSymbol=function(){return null},$e.prototype.getTargetSeriesIndices=function(){var Ie=this.option.seriesIndex,Fe=[];return Ie==null||Ie==="all"?this.ecModel.eachSeries(function(Ue,qe){Fe.push(qe)}):Fe=normalizeToArray(Ie),Fe},$e.prototype.eachTargetSeries=function(Ie,Fe){each$f(this.getTargetSeriesIndices(),function(Ue){var qe=this.ecModel.getSeriesByIndex(Ue);qe&&Ie.call(Fe,qe)},this)},$e.prototype.isTargetSeries=function(Ie){var Fe=!1;return this.eachTargetSeries(function(Ue){Ue===Ie&&(Fe=!0)}),Fe},$e.prototype.formatValueText=function(Ie,Fe,Ue){var qe=this.option,At=qe.precision,Dt=this.dataBound,Lt=qe.formatter,jt;Ue=Ue||["<",">"],isArray$2(Ie)&&(Ie=Ie.slice(),jt=!0);var hn=Fe?Ie:jt?[vn(Ie[0]),vn(Ie[1])]:vn(Ie);if(isString$2(Lt))return Lt.replace("{value}",jt?hn[0]:hn).replace("{value2}",jt?hn[1]:hn);if(isFunction$2(Lt))return jt?Lt(Ie[0],Ie[1]):Lt(Ie);if(jt)return Ie[0]===Dt[0]?Ue[0]+" "+hn[1]:Ie[1]===Dt[1]?Ue[1]+" "+hn[0]:hn[0]+" - "+hn[1];return hn;function vn(bn){return bn===Dt[0]?"min":bn===Dt[1]?"max":(+bn).toFixed(Math.min(At,20))}},$e.prototype.resetExtent=function(){var Ie=this.option,Fe=asc([Ie.min,Ie.max]);this._dataExtent=Fe},$e.prototype.getDataDimensionIndex=function(Ie){var Fe=this.option.dimension;if(Fe!=null)return Ie.getDimensionIndex(Fe);for(var Ue=Ie.dimensions,qe=Ue.length-1;qe>=0;qe--){var At=Ue[qe],Dt=Ie.getDimensionInfo(At);if(!Dt.isCalculationCoord)return Dt.storeDimIndex}},$e.prototype.getExtent=function(){return this._dataExtent.slice()},$e.prototype.completeVisualOption=function(){var Ie=this.ecModel,Fe=this.option,Ue={inRange:Fe.inRange,outOfRange:Fe.outOfRange},qe=Fe.target||(Fe.target={}),At=Fe.controller||(Fe.controller={});merge$1(qe,Ue),merge$1(At,Ue);var Dt=this.isCategory();Lt.call(this,qe),Lt.call(this,At),jt.call(this,qe,"inRange","outOfRange"),hn.call(this,At);function Lt(vn){isArray$1(Fe.color)&&!vn.inRange&&(vn.inRange={color:Fe.color.slice().reverse()}),vn.inRange=vn.inRange||{color:Ie.get("gradientColor")}}function jt(vn,bn,_n){var wn=vn[bn],kn=vn[_n];wn&&!kn&&(kn=vn[_n]={},each$2(wn,function(Cn,Sn){if(VisualMapping.isValidType(Sn)){var xn=visualDefault.get(Sn,"inactive",Dt);xn!=null&&(kn[Sn]=xn,Sn==="color"&&!kn.hasOwnProperty("opacity")&&!kn.hasOwnProperty("colorAlpha")&&(kn.opacity=[0,0]))}}))}function hn(vn){var bn=(vn.inRange||{}).symbol||(vn.outOfRange||{}).symbol,_n=(vn.inRange||{}).symbolSize||(vn.outOfRange||{}).symbolSize,wn=this.get("inactiveColor"),kn=this.getItemSymbol(),Cn=kn||"roundRect";each$2(this.stateList,function(Sn){var xn=this.itemSize,En=vn[Sn];En||(En=vn[Sn]={color:Dt?wn:[wn]}),En.symbol==null&&(En.symbol=bn&&clone$4(bn)||(Dt?Cn:[Cn])),En.symbolSize==null&&(En.symbolSize=_n&&clone$4(_n)||(Dt?xn[0]:[xn[0],xn[0]])),En.symbol=mapVisual(En.symbol,function($n){return $n==="none"?Cn:$n});var Tn=En.symbolSize;if(Tn!=null){var An=-1/0;eachVisual(Tn,function($n){$n>An&&(An=$n)}),En.symbolSize=mapVisual(Tn,function($n){return linearMap$1($n,[0,An],[0,xn[0]],!0)})}},this)}},$e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},$e.prototype.isCategory=function(){return!!this.option.categories},$e.prototype.setSelected=function(Ie){},$e.prototype.getSelected=function(){return null},$e.prototype.getValueState=function(Ie){return null},$e.prototype.getVisualMeta=function(Ie){return null},$e.type="visualMap",$e.dependencies=["series"],$e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},$e}(ComponentModel),DEFAULT_BAR_BOUND=[20,140],ContinuousModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(Ue){Ue.mappingMethod="linear",Ue.dataExtent=this.getExtent()}),this._resetRange()},$e.prototype.resetItemSize=function(){xe.prototype.resetItemSize.apply(this,arguments);var Ie=this.itemSize;(Ie[0]==null||isNaN(Ie[0]))&&(Ie[0]=DEFAULT_BAR_BOUND[0]),(Ie[1]==null||isNaN(Ie[1]))&&(Ie[1]=DEFAULT_BAR_BOUND[1])},$e.prototype._resetRange=function(){var Ie=this.getExtent(),Fe=this.option.range;!Fe||Fe.auto?(Ie.auto=1,this.option.range=Ie):isArray$2(Fe)&&(Fe[0]>Fe[1]&&Fe.reverse(),Fe[0]=Math.max(Fe[0],Ie[0]),Fe[1]=Math.min(Fe[1],Ie[1]))},$e.prototype.completeVisualOption=function(){xe.prototype.completeVisualOption.apply(this,arguments),each$f(this.stateList,function(Ie){var Fe=this.option.controller[Ie].symbolSize;Fe&&Fe[0]!==Fe[1]&&(Fe[0]=Fe[1]/3)},this)},$e.prototype.setSelected=function(Ie){this.option.range=Ie.slice(),this._resetRange()},$e.prototype.getSelected=function(){var Ie=this.getExtent(),Fe=asc$2((this.get("range")||[]).slice());return Fe[0]>Ie[1]&&(Fe[0]=Ie[1]),Fe[1]>Ie[1]&&(Fe[1]=Ie[1]),Fe[0]=Ue[1]||Ie<=Fe[1])?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[];return this.eachTargetSeries(function(Ue){var qe=[],At=Ue.getData();At.each(this.getDataDimensionIndex(At),function(Dt,Lt){Ie[0]<=Dt&&Dt<=Ie[1]&&qe.push(Lt)},this),Fe.push({seriesId:Ue.id,dataIndex:qe})},this),Fe},$e.prototype.getVisualMeta=function(Ie){var Fe=getColorStopValues(this,"outOfRange",this.getExtent()),Ue=getColorStopValues(this,"inRange",this.option.range.slice()),qe=[];function At(_n,wn){qe.push({value:_n,color:Ie(_n,wn)})}for(var Dt=0,Lt=0,jt=Ue.length,hn=Fe.length;LtIe[1])break;qe.push({color:this.getControllerVisual(Lt,"color",Fe),offset:Dt/Ue})}return qe.push({color:this.getControllerVisual(Ie[1],"color",Fe),offset:1}),qe},$e.prototype._createBarPoints=function(Ie,Fe){var Ue=this.visualMapModel.itemSize;return[[Ue[0]-Fe[0],Ie[0]],[Ue[0],Ie[0]],[Ue[0],Ie[1]],[Ue[0]-Fe[1],Ie[1]]]},$e.prototype._createBarGroup=function(Ie){var Fe=this._orient,Ue=this.visualMapModel.get("inverse");return new Group$3(Fe==="horizontal"&&!Ue?{scaleX:Ie==="bottom"?1:-1,rotation:Math.PI/2}:Fe==="horizontal"&&Ue?{scaleX:Ie==="bottom"?-1:1,rotation:-Math.PI/2}:Fe==="vertical"&&!Ue?{scaleX:Ie==="left"?1:-1,scaleY:-1}:{scaleX:Ie==="left"?1:-1})},$e.prototype._updateHandle=function(Ie,Fe){if(this._useHandle){var Ue=this._shapes,qe=this.visualMapModel,At=Ue.handleThumbs,Dt=Ue.handleLabels,Lt=qe.itemSize,jt=qe.getExtent();each$1([0,1],function(hn){var vn=At[hn];vn.setStyle("fill",Fe.handlesColor[hn]),vn.y=Ie[hn];var bn=linearMap(Ie[hn],[0,Lt[1]],jt,!0),_n=this.getControllerVisual(bn,"symbolSize");vn.scaleX=vn.scaleY=_n/Lt[0],vn.x=Lt[0]-_n/2;var wn=applyTransform(Ue.handleLabelPoints[hn],getTransform$1(vn,this.group));Dt[hn].setStyle({x:wn[0],y:wn[1],text:qe.formatValueText(this._dataInterval[hn]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",Ue.mainGroup):"center"})},this)}},$e.prototype._showIndicator=function(Ie,Fe,Ue,qe){var At=this.visualMapModel,Dt=At.getExtent(),Lt=At.itemSize,jt=[0,Lt[1]],hn=this._shapes,vn=hn.indicator;if(vn){vn.attr("invisible",!1);var bn={convertOpacityToAlpha:!0},_n=this.getControllerVisual(Ie,"color",bn),wn=this.getControllerVisual(Ie,"symbolSize"),kn=linearMap(Ie,Dt,jt,!0),Cn=Lt[0]-wn/2,Sn={x:vn.x,y:vn.y};vn.y=kn,vn.x=Cn;var xn=applyTransform(hn.indicatorLabelPoint,getTransform$1(vn,this.group)),En=hn.indicatorLabel;En.attr("invisible",!1);var Tn=this._applyTransform("left",hn.mainGroup),An=this._orient,$n=An==="horizontal";En.setStyle({text:(Ue||"")+At.formatValueText(Fe),verticalAlign:$n?Tn:"middle",align:$n?"center":Tn});var Pn={x:Cn,y:kn,style:{fill:_n}},Nn={style:{x:xn[0],y:xn[1]}};if(At.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var Mn={duration:100,easing:"cubicInOut",additive:!0};vn.x=Sn.x,vn.y=Sn.y,vn.animateTo(Pn,Mn),En.animateTo(Nn,Mn)}else vn.attr(Pn),En.attr(Nn);this._firstShowIndicator=!1;var In=this._shapes.handleLabels;if(In)for(var On=0;OnAt[1]&&(vn[1]=1/0),Fe&&(vn[0]===-1/0?this._showIndicator(hn,vn[1],"< ",Lt):vn[1]===1/0?this._showIndicator(hn,vn[0],"> ",Lt):this._showIndicator(hn,hn,"≈ ",Lt));var bn=this._hoverLinkDataIndices,_n=[];(Fe||useHoverLinkOnHandle(Ue))&&(_n=this._hoverLinkDataIndices=Ue.findTargetDataIndices(vn));var wn=compressBatches(bn,_n);this._dispatchHighDown("downplay",makeHighDownBatch(wn[0],Ue)),this._dispatchHighDown("highlight",makeHighDownBatch(wn[1],Ue))}},$e.prototype._hoverLinkFromSeriesMouseOver=function(Ie){var Fe;if(findEventDispatcher(Ie.target,function(Lt){var jt=getECData(Lt);if(jt.dataIndex!=null)return Fe=jt,!0},!0),!!Fe){var Ue=this.ecModel.getSeriesByIndex(Fe.seriesIndex),qe=this.visualMapModel;if(qe.isTargetSeries(Ue)){var At=Ue.getData(Fe.dataType),Dt=At.getStore().get(qe.getDataDimensionIndex(At),Fe.dataIndex);isNaN(Dt)||this._showIndicator(Dt,Dt)}}},$e.prototype._hideIndicator=function(){var Ie=this._shapes;Ie.indicator&&Ie.indicator.attr("invisible",!0),Ie.indicatorLabel&&Ie.indicatorLabel.attr("invisible",!0);var Fe=this._shapes.handleLabels;if(Fe)for(var Ue=0;Ue=0&&(qe.dimension=At,Fe.push(qe))}}),xe.getData().setVisual("visualMeta",Fe)}}];function getColorVisual(xe,$e,Ie,Fe){for(var Ue=$e.targetVisuals[Fe],qe=VisualMapping.prepareVisualTypes(Ue),At={color:getVisualFromData(xe.getData(),"color")},Dt=0,Lt=qe.length;Dt0:$e.splitNumber>0)||$e.calculable)?"continuous":"piecewise"}),xe.registerAction(visualMapActionInfo,visualMapActionHander),each$f(visualMapEncodingHandlers,function($e){xe.registerVisual(xe.PRIORITY.VISUAL.COMPONENT,$e)}),xe.registerPreprocessor(visualMapPreprocessor))}function install$6(xe){xe.registerComponentModel(ContinuousModel),xe.registerComponentView(ContinuousView),installCommon(xe)}var PiecewiseModel=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie._pieceList=[],Ie}return $e.prototype.optionUpdated=function(Ie,Fe){xe.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var Ue=this._mode=this._determineMode();this._pieceList=[],resetMethods[this._mode].call(this,this._pieceList),this._resetSelected(Ie,Fe);var qe=this.option.categories;this.resetVisual(function(At,Dt){Ue==="categories"?(At.mappingMethod="category",At.categories=clone$4(qe)):(At.dataExtent=this.getExtent(),At.mappingMethod="piecewise",At.pieceList=map$1(this._pieceList,function(Lt){return Lt=clone$4(Lt),Dt!=="inRange"&&(Lt.visual=null),Lt}))})},$e.prototype.completeVisualOption=function(){var Ie=this.option,Fe={},Ue=VisualMapping.listVisualTypes(),qe=this.isCategory();each$f(Ie.pieces,function(Dt){each$f(Ue,function(Lt){Dt.hasOwnProperty(Lt)&&(Fe[Lt]=1)})}),each$f(Fe,function(Dt,Lt){var jt=!1;each$f(this.stateList,function(hn){jt=jt||At(Ie,hn,Lt)||At(Ie.target,hn,Lt)},this),!jt&&each$f(this.stateList,function(hn){(Ie[hn]||(Ie[hn]={}))[Lt]=visualDefault.get(Lt,hn==="inRange"?"active":"inactive",qe)})},this);function At(Dt,Lt,jt){return Dt&&Dt[Lt]&&Dt[Lt].hasOwnProperty(jt)}xe.prototype.completeVisualOption.apply(this,arguments)},$e.prototype._resetSelected=function(Ie,Fe){var Ue=this.option,qe=this._pieceList,At=(Fe?Ue:Ie).selected||{};if(Ue.selected=At,each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At.hasOwnProperty(hn)||(At[hn]=!0)},this),Ue.selectedMode==="single"){var Dt=!1;each$f(qe,function(Lt,jt){var hn=this.getSelectedMapKey(Lt);At[hn]&&(Dt?At[hn]=!1:Dt=!0)},this)}},$e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},$e.prototype.getSelectedMapKey=function(Ie){return this._mode==="categories"?Ie.value+"":Ie.index+""},$e.prototype.getPieceList=function(){return this._pieceList},$e.prototype._determineMode=function(){var Ie=this.option;return Ie.pieces&&Ie.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},$e.prototype.setSelected=function(Ie){this.option.selected=clone$4(Ie)},$e.prototype.getValueState=function(Ie){var Fe=VisualMapping.findPieceIndex(Ie,this._pieceList);return Fe!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[Fe])]?"inRange":"outOfRange"},$e.prototype.findTargetDataIndices=function(Ie){var Fe=[],Ue=this._pieceList;return this.eachTargetSeries(function(qe){var At=[],Dt=qe.getData();Dt.each(this.getDataDimensionIndex(Dt),function(Lt,jt){var hn=VisualMapping.findPieceIndex(Lt,Ue);hn===Ie&&At.push(jt)},this),Fe.push({seriesId:qe.id,dataIndex:At})},this),Fe},$e.prototype.getRepresentValue=function(Ie){var Fe;if(this.isCategory())Fe=Ie.value;else if(Ie.value!=null)Fe=Ie.value;else{var Ue=Ie.interval||[];Fe=Ue[0]===-1/0&&Ue[1]===1/0?0:(Ue[0]+Ue[1])/2}return Fe},$e.prototype.getVisualMeta=function(Ie){if(this.isCategory())return;var Fe=[],Ue=["",""],qe=this;function At(hn,vn){var bn=qe.getRepresentValue({interval:hn});vn||(vn=qe.getValueState(bn));var _n=Ie(bn,vn);hn[0]===-1/0?Ue[0]=_n:hn[1]===1/0?Ue[1]=_n:Fe.push({value:hn[0],color:_n},{value:hn[1],color:_n})}var Dt=this._pieceList.slice();if(!Dt.length)Dt.push({interval:[-1/0,1/0]});else{var Lt=Dt[0].interval[0];Lt!==-1/0&&Dt.unshift({interval:[-1/0,Lt]}),Lt=Dt[Dt.length-1].interval[1],Lt!==1/0&&Dt.push({interval:[Lt,1/0]})}var jt=-1/0;return each$f(Dt,function(hn){var vn=hn.interval;vn&&(vn[0]>jt&&At([jt,vn[0]],"outOfRange"),At(vn.slice()),jt=vn[1])},this),{stops:Fe,outerColors:Ue}},$e.type="visualMap.piecewise",$e.defaultOption=inheritDefaultOption(VisualMapModel.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),$e}(VisualMapModel),resetMethods={splitNumber:function(xe){var $e=this.option,Ie=Math.min($e.precision,20),Fe=this.getExtent(),Ue=$e.splitNumber;Ue=Math.max(parseInt(Ue,10),1),$e.splitNumber=Ue;for(var qe=(Fe[1]-Fe[0])/Ue;+qe.toFixed(Ie)!==qe&&Ie<5;)Ie++;$e.precision=Ie,qe=+qe.toFixed(Ie),$e.minOpen&&xe.push({interval:[-1/0,Fe[0]],close:[0,0]});for(var At=0,Dt=Fe[0];At","≥"][Fe[0]]];Ie.text=Ie.text||this.formatValueText(Ie.value!=null?Ie.value:Ie.interval,!1,Ue)},this)}};function normalizeReverse(xe,$e){var Ie=xe.inverse;(xe.orient==="vertical"?!Ie:Ie)&&$e.reverse()}var PiecewiseVisualMapView=function(xe){__extends($e,xe);function $e(){var Ie=xe!==null&&xe.apply(this,arguments)||this;return Ie.type=$e.type,Ie}return $e.prototype.doRender=function(){var Ie=this.group;Ie.removeAll();var Fe=this.visualMapModel,Ue=Fe.get("textGap"),qe=Fe.textStyleModel,At=qe.getFont(),Dt=qe.getTextColor(),Lt=this._getItemAlign(),jt=Fe.itemSize,hn=this._getViewData(),vn=hn.endsText,bn=retrieve(Fe.get("showLabel",!0),!vn);vn&&this._renderEndsText(Ie,vn[0],jt,bn,Lt),each$f(hn.viewPieceList,function(_n){var wn=_n.piece,kn=new Group$3;kn.onclick=bind$2(this._onItemClick,this,wn),this._enableHoverLink(kn,_n.indexInModelPieceList);var Cn=Fe.getRepresentValue(wn);if(this._createItemSymbol(kn,Cn,[0,0,jt[0],jt[1]]),bn){var Sn=this.visualMapModel.getValueState(Cn);kn.add(new ZRText({style:{x:Lt==="right"?-Ue:jt[0]+Ue,y:jt[1]/2,text:wn.text,verticalAlign:"middle",align:Lt,font:At,fill:Dt,opacity:Sn==="outOfRange"?.5:1}}))}Ie.add(kn)},this),vn&&this._renderEndsText(Ie,vn[1],jt,bn,Lt),box(Fe.get("orient"),Ie,Fe.get("itemGap")),this.renderBackground(Ie),this.positionGroup(Ie)},$e.prototype._enableHoverLink=function(Ie,Fe){var Ue=this;Ie.on("mouseover",function(){return qe("highlight")}).on("mouseout",function(){return qe("downplay")});var qe=function(At){var Dt=Ue.visualMapModel;Dt.option.hoverLink&&Ue.api.dispatchAction({type:At,batch:makeHighDownBatch(Dt.findTargetDataIndices(Fe),Dt)})}},$e.prototype._getItemAlign=function(){var Ie=this.visualMapModel,Fe=Ie.option;if(Fe.orient==="vertical")return getItemAlign(Ie,this.api,Ie.itemSize);var Ue=Fe.align;return(!Ue||Ue==="auto")&&(Ue="left"),Ue},$e.prototype._renderEndsText=function(Ie,Fe,Ue,qe,At){if(Fe){var Dt=new Group$3,Lt=this.visualMapModel.textStyleModel;Dt.add(new ZRText({style:createTextStyle(Lt,{x:qe?At==="right"?Ue[0]:0:Ue[0]/2,y:Ue[1]/2,verticalAlign:"middle",align:qe?At:"center",text:Fe})})),Ie.add(Dt)}},$e.prototype._getViewData=function(){var Ie=this.visualMapModel,Fe=map$1(Ie.getPieceList(),function(Dt,Lt){return{piece:Dt,indexInModelPieceList:Lt}}),Ue=Ie.get("text"),qe=Ie.get("orient"),At=Ie.get("inverse");return(qe==="horizontal"?At:!At)?Fe.reverse():Ue&&(Ue=Ue.slice().reverse()),{viewPieceList:Fe,endsText:Ue}},$e.prototype._createItemSymbol=function(Ie,Fe,Ue){Ie.add(createSymbol$1(this.getControllerVisual(Fe,"symbol"),Ue[0],Ue[1],Ue[2],Ue[3],this.getControllerVisual(Fe,"color")))},$e.prototype._onItemClick=function(Ie){var Fe=this.visualMapModel,Ue=Fe.option,qe=Ue.selectedMode;if(qe){var At=clone$4(Ue.selected),Dt=Fe.getSelectedMapKey(Ie);qe==="single"||qe===!0?(At[Dt]=!0,each$f(At,function(Lt,jt){At[jt]=jt===Dt})):At[Dt]=!At[Dt],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:At})}},$e.type="visualMap.piecewise",$e}(VisualMapView);function install$5(xe){xe.registerComponentModel(PiecewiseModel),xe.registerComponentView(PiecewiseVisualMapView),installCommon(xe)}function install$4(xe){use(install$6),use(install$5)}var DEFAULT_OPTION={label:{enabled:!0},decal:{show:!1}},inner=makeInner(),decalPaletteScope={};function ariaVisual(xe,$e){var Ie=xe.getModel("aria");if(!Ie.get("enabled"))return;var Fe=clone$4(DEFAULT_OPTION);merge$1(Fe.label,xe.getLocaleModel().get("aria"),!1),merge$1(Ie.option,Fe,!1),Ue(),qe();function Ue(){var jt=Ie.getModel("decal"),hn=jt.get("show");if(hn){var vn=createHashMap();xe.eachSeries(function(bn){if(!bn.isColorBySeries()){var _n=vn.get(bn.type);_n||(_n={},vn.set(bn.type,_n)),inner(bn).scope=_n}}),xe.eachRawSeries(function(bn){if(xe.isSeriesFiltered(bn))return;if(isFunction$2(bn.enableAriaDecal)){bn.enableAriaDecal();return}var _n=bn.getData();if(bn.isColorBySeries()){var xn=getDecalFromPalette(bn.ecModel,bn.name,decalPaletteScope,xe.getSeriesCount()),En=_n.getVisual("decal");_n.setVisual("decal",Tn(En,xn))}else{var wn=bn.getRawData(),kn={},Cn=inner(bn).scope;_n.each(function(An){var $n=_n.getRawIndex(An);kn[$n]=An});var Sn=wn.count();wn.each(function(An){var $n=kn[An],Pn=wn.getName(An)||An+"",Nn=getDecalFromPalette(bn.ecModel,Pn,Cn,Sn),Mn=_n.getItemVisual($n,"decal");_n.setItemVisual($n,"decal",Tn(Mn,Nn))})}function Tn(An,$n){var Pn=An?extend$1(extend$1({},$n),An):$n;return Pn.dirty=!0,Pn}})}}function qe(){var jt=xe.getLocaleModel().get("aria"),hn=Ie.getModel("label");if(hn.option=defaults$1(hn.option,jt),!!hn.get("enabled")){var vn=$e.getZr().dom;if(hn.get("description")){vn.setAttribute("aria-label",hn.get("description"));return}var bn=xe.getSeriesCount(),_n=hn.get(["data","maxCount"])||10,wn=hn.get(["series","maxCount"])||10,kn=Math.min(bn,wn),Cn;if(!(bn<1)){var Sn=Dt();if(Sn){var xn=hn.get(["general","withTitle"]);Cn=At(xn,{title:Sn})}else Cn=hn.get(["general","withoutTitle"]);var En=[],Tn=bn>1?hn.get(["series","multiple","prefix"]):hn.get(["series","single","prefix"]);Cn+=At(Tn,{seriesCount:bn}),xe.eachSeries(function(Nn,Mn){if(Mn1?hn.get(["series","multiple",Rn]):hn.get(["series","single",Rn]),In=At(In,{seriesId:Nn.seriesIndex,seriesName:Nn.get("name"),seriesType:Lt(Nn.subType)});var Bn=Nn.getData();if(Bn.count()>_n){var Vn=hn.get(["data","partialData"]);In+=At(Vn,{displayCnt:_n})}else In+=hn.get(["data","allData"]);for(var Ln=hn.get(["data","separator","middle"]),Dn=hn.get(["data","separator","end"]),Hn=[],Fn=0;Fn":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},RegExpEvaluator=function(){function xe($e){var Ie=this._condVal=isString$2($e)?new RegExp($e):isRegExp$1($e)?$e:null;if(Ie==null){var Fe="";throwError$1(Fe)}}return xe.prototype.evaluate=function($e){var Ie=typeof $e;return isString$2(Ie)?this._condVal.test($e):isNumber$2(Ie)?this._condVal.test($e+""):!1},xe}(),ConstConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return this.value},xe}(),AndConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if(!$e[Ie].evaluate())return!1;return!0},xe}(),OrConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=this.children,Ie=0;Ie<$e.length;Ie++)if($e[Ie].evaluate())return!0;return!1},xe}(),NotConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){return!this.child.evaluate()},xe}(),RelationalConditionInternal=function(){function xe(){}return xe.prototype.evaluate=function(){for(var $e=!!this.valueParser,Ie=this.getValue,Fe=Ie(this.valueGetterParam),Ue=$e?this.valueParser(Fe):null,qe=0;qe2&&Fe.push(Ue),Ue=[Bn,Vn]}function hn(Bn,Vn,Ln,Dn){aroundEqual(Bn,Ln)&&aroundEqual(Vn,Dn)||Ue.push(Bn,Vn,Ln,Dn,Ln,Dn)}function vn(Bn,Vn,Ln,Dn,Hn,Fn){var zn=Math.abs(Vn-Bn),jn=Math.tan(zn/4)*4/3,Gn=VnNn:On2&&Fe.push(Ue),Fe}function adpativeBezier(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(aroundEqual(xe,Ie)&&aroundEqual($e,Fe)&&aroundEqual(Ue,At)&&aroundEqual(qe,Dt)){Lt.push(At,Dt);return}var hn=2/jt,vn=hn*hn,bn=At-xe,_n=Dt-$e,wn=Math.sqrt(bn*bn+_n*_n);bn/=wn,_n/=wn;var kn=Ie-xe,Cn=Fe-$e,Sn=Ue-At,xn=qe-Dt,En=kn*kn+Cn*Cn,Tn=Sn*Sn+xn*xn;if(En=0&&Nn=0){Lt.push(At,Dt);return}var Mn=[],In=[];cubicSubdivide(xe,Ie,Ue,At,.5,Mn),cubicSubdivide($e,Fe,qe,Dt,.5,In),adpativeBezier(Mn[0],In[0],Mn[1],In[1],Mn[2],In[2],Mn[3],In[3],Lt,jt),adpativeBezier(Mn[4],In[4],Mn[5],In[5],Mn[6],In[6],Mn[7],In[7],Lt,jt)}function pathToPolygons(xe,$e){var Ie=pathToBezierCurves(xe),Fe=[];$e=$e||1;for(var Ue=0;Ue0)for(var jt=0;jtMath.abs(jt),vn=getDividingGrids([Lt,jt],hn?0:1,$e),bn=(hn?Dt:jt)/vn.length,_n=0;_nUe,At=getDividingGrids([Fe,Ue],qe?0:1,$e),Dt=qe?"width":"height",Lt=qe?"height":"width",jt=qe?"x":"y",hn=qe?"y":"x",vn=xe[Dt]/At.length,bn=0;bn1?null:new Point(kn*Lt+xe,kn*jt+$e)}function projPtOnLine(xe,$e,Ie){var Fe=new Point;Point.sub(Fe,Ie,$e),Fe.normalize();var Ue=new Point;Point.sub(Ue,xe,$e);var qe=Ue.dot(Fe);return qe}function addToPoly(xe,$e){var Ie=xe[xe.length-1];Ie&&Ie[0]===$e[0]&&Ie[1]===$e[1]||xe.push($e)}function splitPolygonByLine(xe,$e,Ie){for(var Fe=xe.length,Ue=[],qe=0;qeAt?(jt.x=hn.x=Dt+qe/2,jt.y=Lt,hn.y=Lt+At):(jt.y=hn.y=Lt+At/2,jt.x=Dt,hn.x=Dt+qe),splitPolygonByLine($e,jt,hn)}function binaryDivideRecursive(xe,$e,Ie,Fe){if(Ie===1)Fe.push($e);else{var Ue=Math.floor(Ie/2),qe=xe($e);binaryDivideRecursive(xe,qe[0],Ue,Fe),binaryDivideRecursive(xe,qe[1],Ie-Ue,Fe)}return Fe}function clone(xe,$e){for(var Ie=[],Fe=0;Fe<$e;Fe++)Ie.push(clonePath(xe));return Ie}function copyPathProps(xe,$e){$e.setStyle(xe.style),$e.z=xe.z,$e.z2=xe.z2,$e.zlevel=xe.zlevel}function polygonConvert(xe){for(var $e=[],Ie=0;Ie0;jt/=2){var hn=0,vn=0;(xe&jt)>0&&(hn=1),($e&jt)>0&&(vn=1),Dt+=jt*jt*(3*hn^vn),vn===0&&(hn===1&&(xe=jt-1-xe,$e=jt-1-$e),Lt=xe,xe=$e,$e=Lt)}return Dt}function sortPaths(xe){var $e=1/0,Ie=1/0,Fe=-1/0,Ue=-1/0,qe=map$1(xe,function(Dt){var Lt=Dt.getBoundingRect(),jt=Dt.getComputedTransform(),hn=Lt.x+Lt.width/2+(jt?jt[4]:0),vn=Lt.y+Lt.height/2+(jt?jt[5]:0);return $e=Math.min(hn,$e),Ie=Math.min(vn,Ie),Fe=Math.max(hn,Fe),Ue=Math.max(vn,Ue),[hn,vn]}),At=map$1(qe,function(Dt,Lt){return{cp:Dt,z:hilbert(Dt[0],Dt[1],$e,Ie,Fe,Ue),path:xe[Lt]}});return At.sort(function(Dt,Lt){return Dt.z-Lt.z}).map(function(Dt){return Dt.path})}function defaultDividePath(xe){return split(xe.path,xe.count)}function createEmptyReturn(){return{fromIndividuals:[],toIndividuals:[],count:0}}function combineMorph(xe,$e,Ie){var Fe=[];function Ue(An){for(var $n=0;$n=0;Ue--)if(!Ie[Ue].many.length){var Lt=Ie[Dt].many;if(Lt.length<=1)if(Dt)Dt=0;else return Ie;var qe=Lt.length,jt=Math.ceil(qe/2);Ie[Ue].many=Lt.slice(jt,qe),Ie[Dt].many=Lt.slice(0,jt),Dt++}return Ie}var pathDividers={clone:function(xe){for(var $e=[],Ie=1-Math.pow(1-xe.path.style.opacity,1/xe.count),Fe=0;Fe0))return;var Dt=Fe.getModel("universalTransition").get("delay"),Lt=Object.assign({setToFinal:!0},At),jt,hn;isMultiple(xe)&&(jt=xe,hn=$e),isMultiple($e)&&(jt=$e,hn=xe);function vn(Sn,xn,En,Tn,An){var $n=Sn.many,Pn=Sn.one;if($n.length===1&&!An){var Nn=xn?$n[0]:Pn,Mn=xn?Pn:$n[0];if(isCombineMorphing(Nn))vn({many:[Nn],one:Mn},!0,En,Tn,!0);else{var In=Dt?defaults$1({delay:Dt(En,Tn)},Lt):Lt;morphPath(Nn,Mn,In),qe(Nn,Mn,Nn,Mn,In)}}else for(var On=defaults$1({dividePath:pathDividers[Ie],individualDelay:Dt&&function(Hn,Fn,zn,jn){return Dt(Hn+En,Tn)}},Lt),Rn=xn?combineMorph($n,Pn,On):separateMorph(Pn,$n,On),Bn=Rn.fromIndividuals,Vn=Rn.toIndividuals,Ln=Bn.length,Dn=0;Dn$e.length,_n=jt?prepareMorphBatches(hn,jt):prepareMorphBatches(bn?$e:xe,[bn?xe:$e]),wn=0,kn=0;kn<_n.length;kn++)wn+=_n[kn].many.length;for(var Cn=0,kn=0;kn<_n.length;kn++)vn(_n[kn],bn,Cn,wn),Cn+=_n[kn].many.length}function getPathList(xe){if(!xe)return[];if(isArray$2(xe)){for(var $e=[],Ie=0;IeDATA_COUNT_THRESHOLD))for(var qe=Fe.getIndices(),At=0;At0&&$n.group.traverse(function(Nn){Nn instanceof Path&&!Nn.animators.length&&Nn.animateFrom({style:{opacity:0}},Pn)})})}function getSeriesTransitionKey(xe){var $e=xe.getModel("universalTransition").get("seriesKey");return $e||xe.id}function convertArraySeriesKeyToString(xe){return isArray$2(xe)?xe.sort().join(","):xe}function getDivideShapeFromData(xe){if(xe.hostModel)return xe.hostModel.getModel("universalTransition").get("divideShape")}function findTransitionSeriesBatches(xe,$e){var Ie=createHashMap(),Fe=createHashMap(),Ue=createHashMap();return each$f(xe.oldSeries,function(qe,At){var Dt=xe.oldDataGroupIds[At],Lt=xe.oldData[At],jt=getSeriesTransitionKey(qe),hn=convertArraySeriesKeyToString(jt);Fe.set(hn,{dataGroupId:Dt,data:Lt}),isArray$2(jt)&&each$f(jt,function(vn){Ue.set(vn,{key:hn,dataGroupId:Dt,data:Lt})})}),each$f($e.updatedSeries,function(qe){if(qe.isUniversalTransitionEnabled()&&qe.isAnimationEnabled()){var At=qe.get("dataGroupId"),Dt=qe.getData(),Lt=getSeriesTransitionKey(qe),jt=convertArraySeriesKeyToString(Lt),hn=Fe.get(jt);if(hn)Ie.set(jt,{oldSeries:[{dataGroupId:hn.dataGroupId,divide:getDivideShapeFromData(hn.data),data:hn.data}],newSeries:[{dataGroupId:At,divide:getDivideShapeFromData(Dt),data:Dt}]});else if(isArray$2(Lt)){var vn=[];each$f(Lt,function(wn){var kn=Fe.get(wn);kn.data&&vn.push({dataGroupId:kn.dataGroupId,divide:getDivideShapeFromData(kn.data),data:kn.data})}),vn.length&&Ie.set(jt,{oldSeries:vn,newSeries:[{dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)}]})}else{var bn=Ue.get(Lt);if(bn){var _n=Ie.get(bn.key);_n||(_n={oldSeries:[{dataGroupId:bn.dataGroupId,data:bn.data,divide:getDivideShapeFromData(bn.data)}],newSeries:[]},Ie.set(bn.key,_n)),_n.newSeries.push({dataGroupId:At,data:Dt,divide:getDivideShapeFromData(Dt)})}}}}),Ie}function querySeries(xe,$e){for(var Ie=0;Ie=0&&Ue.push({dataGroupId:$e.oldDataGroupIds[Dt],data:$e.oldData[Dt],divide:getDivideShapeFromData($e.oldData[Dt]),groupIdDim:At.dimension})}),each$f(normalizeToArray(xe.to),function(At){var Dt=querySeries(Ie.updatedSeries,At);if(Dt>=0){var Lt=Ie.updatedSeries[Dt].getData();qe.push({dataGroupId:$e.oldDataGroupIds[Dt],data:Lt,divide:getDivideShapeFromData(Lt),groupIdDim:At.dimension})}}),Ue.length>0&&qe.length>0&&transitionBetween(Ue,qe,Fe)}function installUniversalTransition(xe){xe.registerUpdateLifecycle("series:beforeupdate",function($e,Ie,Fe){each$f(normalizeToArray(Fe.seriesTransition),function(Ue){each$f(normalizeToArray(Ue.to),function(qe){for(var At=Fe.updatedSeries,Dt=0;Dt0},xe.prototype.connect_=function(){!isBrowser||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},xe.prototype.disconnect_=function(){!isBrowser||!this.connected_||(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},xe.prototype.onTransitionEnd_=function($e){var Ie=$e.propertyName,Fe=Ie===void 0?"":Ie,Ue=transitionKeys.some(function(qe){return!!~Fe.indexOf(qe)});Ue&&this.refresh()},xe.getInstance=function(){return this.instance_||(this.instance_=new xe),this.instance_},xe.instance_=null,xe}(),defineConfigurable=function(xe,$e){for(var Ie=0,Fe=Object.keys($e);Ie"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)||(Ie.set($e,new ResizeObservation($e)),this.controller_.addObserver(this),this.controller_.refresh())}},xe.prototype.unobserve=function($e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!($e instanceof getWindowOf($e).Element))throw new TypeError('parameter 1 is not of type "Element".');var Ie=this.observations_;Ie.has($e)&&(Ie.delete($e),Ie.size||this.controller_.removeObserver(this))}},xe.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},xe.prototype.gatherActive=function(){var $e=this;this.clearActive(),this.observations_.forEach(function(Ie){Ie.isActive()&&$e.activeObservations_.push(Ie)})},xe.prototype.broadcastActive=function(){if(this.hasActive()){var $e=this.callbackCtx_,Ie=this.activeObservations_.map(function(Fe){return new ResizeObserverEntry$1(Fe.target,Fe.broadcastRect())});this.callback_.call($e,Ie,$e),this.clearActive()}},xe.prototype.clearActive=function(){this.activeObservations_.splice(0)},xe.prototype.hasActive=function(){return this.activeObservations_.length>0},xe}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver$1=function(){function xe($e){if(!(this instanceof xe))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var Ie=ResizeObserverController.getInstance(),Fe=new ResizeObserverSPI($e,Ie,this);observers.set(this,Fe)}return xe}();["observe","unobserve","disconnect"].forEach(function(xe){ResizeObserver$1.prototype[xe]=function(){var $e;return($e=observers.get(this))[xe].apply($e,arguments)}});var index=function(){return typeof global$1.ResizeObserver<"u"?global$1.ResizeObserver:ResizeObserver$1}();const _withScopeId=xe=>(pushScopeId("data-v-b113cb86"),xe=xe(),popScopeId(),xe),_hoisted_1$19={style:{padding:"15px"}},_hoisted_2$K={class:"justify-between flex"},_hoisted_3$m=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日新增用户数量",-1)),_hoisted_4$c={class:"flex justify-between"},_hoisted_5$8=_withScopeId(()=>createBaseVNode("span",null,"总计用户数量:",-1)),_hoisted_6$5={class:"flex justify-between"},_hoisted_7$3=_withScopeId(()=>createBaseVNode("span",{class:"font-bold"},"今日对话",-1)),_hoisted_8$3={class:"flex justify-between"},_hoisted_9$2=_withScopeId(()=>createBaseVNode("span",null,"总计对话",-1)),_hoisted_10$1={class:"flex justify-between"},_hoisted_11$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日绘画数量",-1)),_hoisted_12$1={class:"flex justify-between"},_hoisted_13$1=_withScopeId(()=>createBaseVNode("span",null,"总计绘画数量:",-1)),_hoisted_14$1={class:"justify-between flex"},_hoisted_15$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"今日订单数量",-1)),_hoisted_16$1={class:"flex justify-between"},_hoisted_17$1=_withScopeId(()=>createBaseVNode("span",null,"总计订单数量:",-1)),_hoisted_18$1={class:"align-center flex justify-between"},_hoisted_19$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"对话信息统计",-1)),_hoisted_20$1=_withScopeId(()=>createBaseVNode("div",{id:"chat"},null,-1)),_hoisted_21$1={class:"align-center flex justify-between"},_hoisted_22$1=_withScopeId(()=>createBaseVNode("span",{class:"ml-1 font-bold"},"网站访客统计",-1)),_hoisted_23$1=_withScopeId(()=>createBaseVNode("div",{id:"baidu"},null,-1)),_sfc_main$2s=defineComponent({__name:"index",setup(xe){const $e=useSettingsStore(),Ie=computed(()=>$e.settings.app.colorScheme),Fe=ref({userCount:0,newUserCount:0,chatCount:0,newChatCount:0,drawCount:0,newDrawCount:0,orderCount:0,newOrderCount:0});let Ue,qe,At;const Dt=ref(30),Lt=ref(30),jt={title:{text:"对话统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis",axisPointer:{type:"cross",label:{backgroundColor:"#6a7985"}}},legend:{top:"30px",data:[{name:"对话数量",icon:"rect",itemWidth:10,itemHeight:5},{name:"绘画数量",icon:"rect"}]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:[{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}}],yAxis:[{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}}],series:[{name:"对话数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"rgba(17, 76, 255, 0.2)"},emphasis:{focus:"series"},data:[]},{name:"绘画数量",type:"bar",smooth:!0,itemStyle:{},areaStyle:{color:"#00d7ff33"},emphasis:{focus:"series"},data:[]}]},hn={title:{text:"访问量统计",left:"2%",padding:[10,0]},tooltip:{trigger:"axis"},legend:{data:["pv","uv","ip"]},toolbox:{feature:{saveAsImage:{},restore:{},magicType:{type:["line","bar","stack"]}},right:"60px"},grid:{top:"80px",left:"2%",right:"4%",bottom:"3%",containLabel:!0},xAxis:{type:"category",boundaryGap:!1,data:[],splitLine:{show:!0,lineStyle:{color:["#ffffff1a"],width:1,type:"solid"}}},yAxis:{type:"value",splitLine:{show:!0,lineStyle:{width:1,color:["#ffffff1a"],type:"solid"}}},series:[{name:"pv",type:"bar",smooth:!0,areaStyle:{color:"rgba(17, 76, 255, 0.2)"},data:[]},{name:"uv",type:"bar",smooth:!0,areaStyle:{color:"#00d7ff33"},data:[]},{name:"ip",smooth:!0,areaStyle:{color:"rgba(0, 215, 255, 0.2)"},type:"bar",data:[]}]},vn=[{label:7,value:"最近七天"},{label:15,value:"最近半月"},{label:30,value:"最近一月"},{label:90,value:"最近三月"}];async function bn(){const Cn=await apiDashboard.getBaseInfo();console.log(Cn.data),Fe.value=Cn.data}async function _n(){const Cn=await apiDashboard.getBaiduVisit({days:Lt.value}),{data:Sn}=Cn;hn.xAxis.data=Sn.items[0].map(En=>En[0]),hn.series.forEach((En,Tn)=>{En.data=Sn.items[1].map(An=>An[Tn])});const xn=document.getElementById("baidu");qe=init$1(xn),qe.setOption(hn)}async function wn(){const Cn=await apiDashboard.getChatStatistic({days:Dt.value}),{date:Sn,chat:xn,draw:En}=Cn.data;jt.xAxis[0].data=Sn,jt.series[0].data=xn,jt.series[1].data=En;const Tn=document.getElementById("chat");Ue=init$1(Tn),Ue.setOption(jt)}watch(Ie,()=>{kn()});function kn(){const Sn=$e.settings.app.colorScheme==="dark"?["#ffffff1a"]:["#0000001a"];jt.yAxis[0].splitLine.lineStyle.color=Sn,jt.xAxis[0].splitLine.lineStyle.color=Sn,Ue.setOption(jt),hn.yAxis.splitLine.lineStyle.color=Sn,hn.xAxis.splitLine.lineStyle.color=Sn,qe.setOption(hn)}return onMounted(async()=>{await bn(),await Promise.all([wn(),_n()]),kn()}),onMounted(()=>{At=new index(()=>{Ue&&Ue.resize(),qe&&qe.resize()});const Cn=document.getElementById("chat");Cn&&(At==null||At.observe(Cn));const Sn=document.getElementById("baidu");Sn&&(At==null||At.observe(Sn))}),onBeforeMount(()=>{At&&At.disconnect()}),(Cn,Sn)=>{const xn=resolveComponent("el-card"),En=resolveComponent("el-col"),Tn=resolveComponent("el-row"),An=resolveComponent("Histogram"),$n=resolveComponent("el-icon"),Pn=resolveComponent("el-radio-button"),Nn=resolveComponent("el-radio-group");return openBlock(),createElementBlock("div",_hoisted_1$19,[createVNode$1(Tn,{gutter:10},{default:withCtx(()=>[createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>{var Mn;return[createBaseVNode("div",_hoisted_2$K,[_hoisted_3$m,createBaseVNode("b",null,toDisplayString((Mn=unref(Fe))==null?void 0:Mn.newUserCount),1)])]}),default:withCtx(()=>[createBaseVNode("div",_hoisted_4$c,[_hoisted_5$8,createBaseVNode("span",null,toDisplayString(unref(Fe).userCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_6$5,[_hoisted_7$3,createBaseVNode("b",null,toDisplayString(unref(Fe).newChatCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_8$3,[_hoisted_9$2,createBaseVNode("span",null,toDisplayString(unref(Fe).chatCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_10$1,[_hoisted_11$1,createBaseVNode("b",null,toDisplayString(unref(Fe).newDrawCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_12$1,[_hoisted_13$1,createBaseVNode("span",null,toDisplayString(unref(Fe).drawCount),1)])]),_:1})]),_:1}),createVNode$1(En,{lg:6,class:"header-tongji mb-3"},{default:withCtx(()=>[createVNode$1(xn,null,{header:withCtx(()=>[createBaseVNode("div",_hoisted_14$1,[_hoisted_15$1,createBaseVNode("b",null,toDisplayString(unref(Fe).newOrderCount),1)])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_16$1,[_hoisted_17$1,createBaseVNode("span",null,toDisplayString(unref(Fe).orderCount),1)])]),_:1})]),_:1})]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_18$1,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_19$1]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Dt),"onUpdate:modelValue":Sn[0]||(Sn[0]=Mn=>isRef(Dt)?Dt.value=Mn:null),onChange:wn},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_20$1]),_:1}),createVNode$1(xn,{style:{width:"100%"},class:"mb-5"},{header:withCtx(()=>[createBaseVNode("div",_hoisted_21$1,[createBaseVNode("div",null,[createVNode$1($n,null,{default:withCtx(()=>[createVNode$1(An)]),_:1}),_hoisted_22$1]),createBaseVNode("div",null,[createVNode$1(Nn,{modelValue:unref(Lt),"onUpdate:modelValue":Sn[1]||(Sn[1]=Mn=>isRef(Lt)?Lt.value=Mn:null),onChange:_n},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(vn,Mn=>createVNode$1(Pn,{key:Mn.value,label:Mn.label},{default:withCtx(()=>[createTextVNode(toDisplayString(Mn.value),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])])])]),default:withCtx(()=>[_hoisted_23$1]),_:1})])}}}),block0={},_export_sfc$1=(xe,$e)=>{const Ie=xe.__vccOpts||xe;for(const[Fe,Ue]of $e)Ie[Fe]=Ue;return Ie};typeof block0=="function"&&block0(_sfc_main$2s);const Home=_export_sfc$1(_sfc_main$2s,[["__scopeId","data-v-b113cb86"]]),__pages_import_0__=()=>__vitePreload(()=>import("./wechat-iHfqycBm.js"),__vite__mapDeps([0,1,2]),import.meta.url),__pages_import_1__=()=>__vitePreload(()=>import("./userAgreement-CNd8Qla0.js"),__vite__mapDeps([3,1,2,4,5]),import.meta.url),__pages_import_2__=()=>__vitePreload(()=>import("./register-1wwcbwRm.js"),__vite__mapDeps([6,1,2,7]),import.meta.url),__pages_import_3__=()=>__vitePreload(()=>import("./phone-DvRFs8Iq.js"),__vite__mapDeps([8,1,2]),import.meta.url),__pages_import_4__=()=>__vitePreload(()=>import("./index-Bc9Zhmen.js"),__vite__mapDeps([9,10,1,11,12]),import.meta.url),__pages_import_5__=()=>__vitePreload(()=>import("./email-Bu_bNWMh.js"),__vite__mapDeps([13,1,2]),import.meta.url),__pages_import_6__=()=>__vitePreload(()=>import("./accountLog-fHuxQkeO.js"),__vite__mapDeps([14,10,1,11,12]),import.meta.url),__pages_import_7__=()=>__vitePreload(()=>import("./welcomePageSettings-BNqbw3Pg.js"),__vite__mapDeps([15,1,2]),import.meta.url),__pages_import_8__=()=>__vitePreload(()=>import("./notice-Dl9A1sfn.js"),__vite__mapDeps([16,1,2,4,5]),import.meta.url),__pages_import_9__=()=>__vitePreload(()=>import("./baseConfiguration-XpujmNvx.js"),__vite__mapDeps([17,1,2]),import.meta.url),__pages_import_10__=()=>__vitePreload(()=>import("./baiduStatistics-GAHxOxpS.js"),__vite__mapDeps([18,1,2]),import.meta.url),__pages_import_11__=()=>__vitePreload(()=>import("./tencent-DLUjGcyt.js"),__vite__mapDeps([19,1,2]),import.meta.url),__pages_import_12__=()=>__vitePreload(()=>import("./localStorage-D9Ly4FTr.js"),__vite__mapDeps([20,1,2]),import.meta.url),__pages_import_13__=()=>__vitePreload(()=>import("./chevereto-CrU0O1ko.js"),__vite__mapDeps([21,1,2]),import.meta.url),__pages_import_14__=()=>__vitePreload(()=>import("./ali-Mqm0cjbu.js"),__vite__mapDeps([22,1,2]),import.meta.url),__pages_import_15__=()=>__vitePreload(()=>import("./violation-BuG_b462.js"),__vite__mapDeps([23,10,1,24,12,25,11,26]),import.meta.url),__pages_import_16__=()=>__vitePreload(()=>import("./identityVerification-oP_pBzIE.js"),__vite__mapDeps([27,1,2]),import.meta.url),__pages_import_17__=()=>__vitePreload(()=>import("./custom-Dw8_cyTN.js"),__vite__mapDeps([28,10,1,24,11]),import.meta.url),__pages_import_18__=()=>__vitePreload(()=>import("./baiduSensitive-6qem6t8b.js"),__vite__mapDeps([29,1,2]),import.meta.url),__pages_import_19__=()=>__vitePreload(()=>import("./autpReply-C702DWac.js"),__vite__mapDeps([30,10,1,11]),import.meta.url),__pages_import_20__=()=>__vitePreload(()=>import("./setting-C2TdzxY1.js"),__vite__mapDeps([31,10,32]),import.meta.url),__pages_import_21__=()=>__vitePreload(()=>import("./edit.password-5Br-3lH_.js"),__vite__mapDeps([33,10,1,34,35]),import.meta.url),__pages_import_22__=()=>__vitePreload(()=>import("./wechat-B077V9uG.js"),__vite__mapDeps([36,1,2]),import.meta.url),__pages_import_23__=()=>__vitePreload(()=>import("./mpay-02LM1-hB.js"),__vite__mapDeps([37,1,2]),import.meta.url),__pages_import_24__=()=>__vitePreload(()=>import("./ltzf-BGADXySl.js"),__vite__mapDeps([38,1,2]),import.meta.url),__pages_import_25__=()=>__vitePreload(()=>import("./hupijiao-PQUyy35q.js"),__vite__mapDeps([39,1,2]),import.meta.url),__pages_import_26__=()=>__vitePreload(()=>import("./epay-ClyHoC23.js"),__vite__mapDeps([40,1,2]),import.meta.url),__pages_import_27__=()=>__vitePreload(()=>import("./points-7mr5fEHY.js"),__vite__mapDeps([41,1,2]),import.meta.url),__pages_import_28__=()=>__vitePreload(()=>import("./package-nRT1s46o.js"),__vite__mapDeps([42,10,1,43,11,12]),import.meta.url),__pages_import_29__=()=>__vitePreload(()=>import("./crami-DF3UkRa8.js"),__vite__mapDeps([44,10,1,43,11,12]),import.meta.url),__pages_import_30__=()=>__vitePreload(()=>import("./index-D_TwDoFD.js"),__vite__mapDeps([45,10,1,11,12,46]),import.meta.url),__pages_import_31__=()=>__vitePreload(()=>import("./key-SbZ15kXg.js"),__vite__mapDeps([47,10,1,12,11]),import.meta.url),__pages_import_32__=()=>__vitePreload(()=>import("./interface-C0pUInT0.js"),__vite__mapDeps([48,1,2]),import.meta.url),__pages_import_33__=()=>__vitePreload(()=>import("./draw-DfPVf5Nv.js"),__vite__mapDeps([49,10,1,50,11,12,51]),import.meta.url),__pages_import_34__=()=>__vitePreload(()=>import("./chat-u79Q-XSS.js"),__vite__mapDeps([52,10,1,50,12,25,26]),import.meta.url),__pages_import_35__=()=>__vitePreload(()=>import("./visible-D8lJUNYg.js"),__vite__mapDeps([53,1,2]),import.meta.url),__pages_import_36__=()=>__vitePreload(()=>import("./plugin-BB9dueQ_.js"),__vite__mapDeps([54,10,1,11]),import.meta.url),__pages_import_37__=()=>__vitePreload(()=>import("./classify-C53uJCw1.js"),__vite__mapDeps([55,10,1,56,12,11]),import.meta.url),__pages_import_38__=()=>__vitePreload(()=>import("./application-BreYJjWu.js"),__vite__mapDeps([57,10,1,56,12,11]),import.meta.url),__pages_import_39__=()=>__vitePreload(()=>import("./github-redirect-BM9nXGWb.js"),[],import.meta.url),__pages_import_40__=()=>__vitePreload(()=>import("./reload-XgcEbP6L.js"),[],import.meta.url),__pages_import_41__=()=>__vitePreload(()=>import("./login-CWBz1yfa.js"),[],import.meta.url),__pages_import_43__=()=>__vitePreload(()=>import("./_...all_-e-47I_Lk.js"),[],import.meta.url),routes$a=[{name:"users-wechat",path:"/users/wechat",component:__pages_import_0__,props:!0,meta:{title:"微信设置"}},{name:"users-userAgreement",path:"/users/useragreement",component:__pages_import_1__,props:!0,meta:{title:"用户协议"}},{name:"users-register",path:"/users/register",component:__pages_import_2__,props:!0,meta:{title:"访问配置"}},{name:"users-phone",path:"/users/phone",component:__pages_import_3__,props:!0,meta:{title:"手机验证码配置"}},{name:"users",path:"/users",component:__pages_import_4__,props:!0,meta:{title:"用户管理"}},{name:"users-email",path:"/users/email",component:__pages_import_5__,props:!0,meta:{title:"邮件设置"}},{name:"users-accountLog",path:"/users/accountlog",component:__pages_import_6__,props:!0,meta:{title:"账户变更记录"}},{name:"system-welcomePageSettings",path:"/system/welcomepagesettings",component:__pages_import_7__,props:!0,meta:{title:"欢迎页设置"}},{name:"system-notice",path:"/system/notice",component:__pages_import_8__,props:!0,meta:{title:"公告设置"}},{name:"system-baseConfiguration",path:"/system/baseconfiguration",component:__pages_import_9__,props:!0,meta:{title:"基础配置"}},{name:"system-baiduStatistics",path:"/system/baidustatistics",component:__pages_import_10__,props:!0,meta:{title:"百度统计"}},{name:"storage-tencent",path:"/storage/tencent",component:__pages_import_11__,props:!0,meta:{title:"腾讯云cos设置"}},{name:"storage-localStorage",path:"/storage/localstorage",component:__pages_import_12__,props:!0,meta:{title:"本地存储配置"}},{name:"storage-chevereto",path:"/storage/chevereto",component:__pages_import_13__,props:!0,meta:{title:"Chevereto图床设置"}},{name:"storage-ali",path:"/storage/ali",component:__pages_import_14__,props:!0,meta:{title:"阿里云oss设置"}},{name:"sensitive-violation",path:"/sensitive/violation",component:__pages_import_15__,props:!0,meta:{title:"违规记录"}},{name:"sensitive-identityVerification",path:"/sensitive/identityverification",component:__pages_import_16__,props:!0,meta:{title:"风控设置"}},{name:"sensitive-custom",path:"/sensitive/custom",component:__pages_import_17__,props:!0,meta:{title:"敏感词预设"}},{name:"sensitive-baiduSensitive",path:"/sensitive/baidusensitive",component:__pages_import_18__,props:!0,meta:{title:"百度云敏感词设置"}},{name:"sensitive-autpReply",path:"/sensitive/autpreply",component:__pages_import_19__,props:!0,meta:{title:"自定义回复预设"}},{name:"personalSetting",path:"/personal/setting",component:__pages_import_20__,props:!0,meta:{title:"个人设置",cache:"personal-edit.password"}},{name:"personalEditPassword",path:"/personal/edit.password",component:__pages_import_21__,props:!0,meta:{title:"修改密码"}},{name:"pay-wechat",path:"/pay/wechat",component:__pages_import_22__,props:!0,meta:{title:"官方微信支付设置"}},{name:"pay-mpay",path:"/pay/mpay",component:__pages_import_23__,props:!0,meta:{title:"码支付设置"}},{name:"pay-ltzf",path:"/pay/ltzf",component:__pages_import_24__,props:!0,meta:{title:"蓝兔支付设置"}},{name:"pay-hupijiao",path:"/pay/hupijiao",component:__pages_import_25__,props:!0,meta:{title:"虎皮椒支付设置"}},{name:"pay-epay",path:"/pay/epay",component:__pages_import_26__,props:!0,meta:{title:"易支付设置"}},{name:"package-points",path:"/package/points",component:__pages_import_27__,props:!0,meta:{title:"积分显示"}},{name:"package-package",path:"/package/package",component:__pages_import_28__,props:!0,meta:{title:"卡券管理"}},{name:"package-crami",path:"/package/crami",component:__pages_import_29__,props:!0,meta:{title:"卡密管理"}},{name:"order",path:"/order",component:__pages_import_30__,props:!0,meta:{title:"对话管理"}},{name:"models-key",path:"/models/key",component:__pages_import_31__,props:!0,meta:{title:"模型列表"}},{name:"models-interface",path:"/models/interface",component:__pages_import_32__,props:!0,meta:{title:"接口请求设置"}},{name:"chat-draw",path:"/chat/draw",component:__pages_import_33__,props:!0,meta:{title:"绘画管理"}},{name:"chat-chat",path:"/chat/chat",component:__pages_import_34__,props:!0,meta:{title:"对话管理"}},{name:"app-visible",path:"/app/visible",component:__pages_import_35__,props:!0,meta:{title:"基础设置"}},{name:"app-plugin",path:"/app/plugin",component:__pages_import_36__,props:!0,meta:{title:"插件管理"}},{name:"app-classify",path:"/app/classify",component:__pages_import_37__,props:!0,meta:{title:"App分类管理"}},{name:"app-application",path:"/app/application",component:__pages_import_38__,props:!0,meta:{title:"应用管理"}},{name:"ai-github-redirect",path:"/ai/github-redirect",component:__pages_import_39__,props:!0},{name:"reload",path:"/reload",component:__pages_import_40__,props:!0},{name:"login",path:"/login",component:__pages_import_41__,props:!0,meta:{title:"登录",constant:!0,layout:!1}},{name:"home",path:"/",component:Home,props:!0,meta:{title:"主页"}},{name:"notFound",path:"/:all(.*)*",component:__pages_import_43__,props:!0,meta:{title:"找不到页面",constant:!0,layout:!1}}];function setupLayouts(xe){const $e={};Object.entries(Object.assign({"/src/layouts/components/AppSetting/index.vue":()=>__vitePreload(()=>import("./index-BLLHBlas.js"),__vite__mapDeps([58,59,60,61,62,63,64,65,66]),import.meta.url),"/src/layouts/components/BackTop/index.vue":()=>__vitePreload(()=>import("./index-kG79ZC54.js"),__vite__mapDeps([67,68]),import.meta.url),"/src/layouts/components/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-BE5tQEZB.js"),__vite__mapDeps([69,70]),import.meta.url),"/src/layouts/components/Breadcrumb/item.vue":()=>__vitePreload(()=>import("./item-CgoQGTTQ.js"),__vite__mapDeps([71,72]),import.meta.url),"/src/layouts/components/Copyright/index.vue":()=>__vitePreload(()=>import("./index-FQR52wpL.js"),__vite__mapDeps([73,74]),import.meta.url),"/src/layouts/components/Header/index.vue":()=>__vitePreload(()=>import("./index-CYAFQ7HU.js"),__vite__mapDeps([75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86]),import.meta.url),"/src/layouts/components/HotkeysIntro/index.vue":()=>__vitePreload(()=>import("./index-B-e7m70K.js"),__vite__mapDeps([87,88,89,83]),import.meta.url),"/src/layouts/components/Logo/index.vue":()=>__vitePreload(()=>import("./index-BwuB6c9W.js"),__vite__mapDeps([90,76]),import.meta.url),"/src/layouts/components/MainSidebar/index.vue":()=>__vitePreload(()=>import("./index-CQq7nD5J.js"),__vite__mapDeps([91,76,85,92]),import.meta.url),"/src/layouts/components/Menu/index.vue":()=>__vitePreload(()=>import("./index-wNqALqIp.js"),__vite__mapDeps([93,94,95,96,63]),import.meta.url),"/src/layouts/components/Menu/item.vue":()=>__vitePreload(()=>import("./item-DKw0u6VA.js"),__vite__mapDeps([97,96,63]),import.meta.url),"/src/layouts/components/Menu/sub.vue":()=>__vitePreload(()=>import("./sub-BYbZdG6Y.js"),__vite__mapDeps([98,95,96,63]),import.meta.url),"/src/layouts/components/Search/index.vue":()=>__vitePreload(()=>import("./index-Cho6Pr_4.js"),__vite__mapDeps([99,100,83,69,70,72]),import.meta.url),"/src/layouts/components/SubSidebar/index.vue":()=>__vitePreload(()=>import("./index-eP4h4BlF.js"),__vite__mapDeps([101,65,76,94,95,96,63,102]),import.meta.url),"/src/layouts/components/Topbar/Tabbar/index.vue":()=>__vitePreload(()=>import("./index-DyGHaFdn.js"),__vite__mapDeps([103,65,34,104]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/Breadcrumb/index.vue":()=>__vitePreload(()=>import("./index-CbgLRpel.js"),__vite__mapDeps([105,69,70,72,106]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/ColorScheme/index.vue":()=>__vitePreload(()=>import("./index-BwvH2ULl.js"),__vite__mapDeps([107,79,80,64,62]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/Fullscreen/index.vue":()=>__vitePreload(()=>import("./index-CTsqQodT.js"),__vite__mapDeps([108,81,65]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/NavSearch/index.vue":()=>__vitePreload(()=>import("./index-DpvF2gU0.js"),__vite__mapDeps([109,82,83]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/PageReload/index.vue":()=>__vitePreload(()=>import("./index-DFcpibhB.js"),__vite__mapDeps([110,84,34]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/index.vue":()=>__vitePreload(()=>import("./index-BRrAnYwh.js"),__vite__mapDeps([111,112,105,69,70,72,106,77,78,79,80,64,62,81,65,82,83,84,34,113]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/leftSide.vue":()=>__vitePreload(()=>import("./leftSide-VBkbFeUr.js"),__vite__mapDeps([114,112,105,69,70,72,106]),import.meta.url),"/src/layouts/components/Topbar/Toolbar/rightSide.vue":()=>__vitePreload(()=>import("./rightSide-DeRod8ar.js"),__vite__mapDeps([115,77,78,79,80,64,62,81,65,82,83,84,34]),import.meta.url),"/src/layouts/components/Topbar/index.vue":()=>__vitePreload(()=>import("./index-Dq5t6Z0r.js"),__vite__mapDeps([116,103,65,34,104,111,112,105,69,70,72,106,77,78,79,80,64,62,81,82,83,84,113,117]),import.meta.url),"/src/layouts/components/views/link.vue":()=>__vitePreload(()=>import("./link-BvzwK7mO.js"),__vite__mapDeps([118,10,63,65,119]),import.meta.url),"/src/layouts/index.vue":()=>__vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url),"/src/layouts/ui-kit/HButton.vue":()=>__vitePreload(()=>import("./HButton-Ujw0orpR.js"),[],import.meta.url),"/src/layouts/ui-kit/HCheckList.vue":()=>__vitePreload(()=>import("./HCheckList-DmjIeCde.js"),__vite__mapDeps([122,60]),import.meta.url),"/src/layouts/ui-kit/HDialog.vue":()=>__vitePreload(()=>import("./HDialog-SD64xsF6.js"),__vite__mapDeps([123,89]),import.meta.url),"/src/layouts/ui-kit/HDropdown.vue":()=>__vitePreload(()=>import("./HDropdown-7q7O_XMK.js"),[],import.meta.url),"/src/layouts/ui-kit/HDropdownMenu.vue":()=>__vitePreload(()=>import("./HDropdownMenu-D4uhC_T8.js"),__vite__mapDeps([124,78]),import.meta.url),"/src/layouts/ui-kit/HInput.vue":()=>__vitePreload(()=>import("./HInput-BYvs3nsX.js"),__vite__mapDeps([125,59]),import.meta.url),"/src/layouts/ui-kit/HKbd.vue":()=>__vitePreload(()=>import("./HKbd-Be5shIQ7.js"),[],import.meta.url),"/src/layouts/ui-kit/HSelect.vue":()=>__vitePreload(()=>import("./HSelect-BCiFn2nk.js"),[],import.meta.url),"/src/layouts/ui-kit/HSlideover.vue":()=>__vitePreload(()=>import("./HSlideover-DFpKLdtr.js"),[],import.meta.url),"/src/layouts/ui-kit/HTabList.vue":()=>__vitePreload(()=>import("./HTabList-DKMxIM5w.js"),__vite__mapDeps([126,64,62]),import.meta.url),"/src/layouts/ui-kit/HToggle.vue":()=>__vitePreload(()=>import("./HToggle-BoT9z-_d.js"),__vite__mapDeps([127,61,62]),import.meta.url),"/src/layouts/ui-kit/HTooltip.vue":()=>__vitePreload(()=>import("./HTooltip-CW8ZlTRK.js"),__vite__mapDeps([128,63]),import.meta.url)})).forEach(([Ue,qe])=>{let At=Ue.replace("/src/layouts/","").replace(".vue","");$e[At]=qe});function Fe(Ue,qe=!0){return Ue.map(At=>{var Dt,Lt,jt,hn,vn;return((Dt=At.children)==null?void 0:Dt.length)>0&&(At.children=Fe(At.children,!1)),qe&&((Lt=At.meta)==null?void 0:Lt.layout)!==!1?{path:At.path,component:$e[((jt=At.meta)==null?void 0:jt.layout)||"index"],children:At.path==="/"?[At]:[{...At,path:""}],meta:{isLayout:!0}}:(hn=At.meta)!=null&&hn.layout?{path:At.path,component:$e[(vn=At.meta)==null?void 0:vn.layout],children:[{...At,path:""}],meta:{isLayout:!0}}:At})}return Fe(xe)}function Layout$8(){return __vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$9={path:"/app",component:Layout$8,redirect:"/app/classify",name:"AppMenu",meta:{title:"插件应用",icon:"tdesign:app"},children:[{path:"visible",name:"VisibleMenu",component:()=>__vitePreload(()=>import("./visible-D8lJUNYg.js"),__vite__mapDeps([53,1,2]),import.meta.url),meta:{title:"基础设置",icon:"tdesign:setting"}},{path:"pluginmenu",name:"PluginMenu",component:()=>__vitePreload(()=>import("./plugin-BB9dueQ_.js"),__vite__mapDeps([54,10,1,11]),import.meta.url),meta:{title:"插件列表",icon:"mingcute:plugin-2-line"}},{path:"classify",name:"AppMenuClassify",component:()=>__vitePreload(()=>import("./classify-C53uJCw1.js"),__vite__mapDeps([55,10,1,56,12,11]),import.meta.url),meta:{title:"分类列表",icon:"ph:list-fill"}},{path:"application",name:"Application",component:()=>__vitePreload(()=>import("./application-BreYJjWu.js"),__vite__mapDeps([57,10,1,56,12,11]),import.meta.url),meta:{title:"应用列表",icon:"clarity:vmw-app-line"}}]};function Layout$7(){return __vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$8={path:"/chat",component:Layout$7,redirect:"/chat/chat",name:"chatMenu",meta:{title:"数据管理",icon:"majesticons:data-line"},children:[{path:"dashboard",name:"dashboardMenu",component:()=>__vitePreload(()=>import("./index-Bc9Zhmen.js"),__vite__mapDeps([9,10,1,11,12]),import.meta.url),meta:{title:"用户信息",icon:"fa6-solid:list-ul"}},{path:"list",name:"chatMenuList",component:()=>__vitePreload(()=>import("./chat-u79Q-XSS.js"),__vite__mapDeps([52,10,1,50,12,25,26]),import.meta.url),meta:{title:"对话记录",icon:"material-symbols-light:chat-outline"}},{path:"draw",name:"drawMenuList",component:()=>__vitePreload(()=>import("./draw-DfPVf5Nv.js"),__vite__mapDeps([49,10,1,50,11,12,51]),import.meta.url),meta:{title:"绘画记录",icon:"material-symbols:draw-outline"}},{path:"auto-reply",name:"ReplyMenuList",component:()=>__vitePreload(()=>import("./autpReply-C702DWac.js"),__vite__mapDeps([30,10,1,11]),import.meta.url),meta:{title:"内容预设",icon:"ic:outline-question-answer"}}]};function Layout$6(){return __vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$7={path:"/ai",component:Layout$6,redirect:"/ai/chat-key-list",name:"AiMenu",meta:{title:"模型管理",icon:"hugeicons:ai-book"},children:[{path:"model",name:"AiMenuInterface",component:()=>__vitePreload(()=>import("./interface-C0pUInT0.js"),__vite__mapDeps([48,1,2]),import.meta.url),meta:{title:"全局配置",icon:"tabler:box-model"}},{path:"keys",name:"AiMenuKeys",component:()=>__vitePreload(()=>import("./key-SbZ15kXg.js"),__vite__mapDeps([47,10,1,12,11]),import.meta.url),meta:{title:"模型设置",icon:"ph:open-ai-logo-light"}}]};function Layout$5(){return __vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$6={path:"/package",component:Layout$5,redirect:"/package/list",name:"packageMenu",meta:{title:"套餐管理",icon:"icon-park-outline:buy"},children:[{path:"order-list",name:"OrderMenuList",component:()=>__vitePreload(()=>import("./index-D_TwDoFD.js"),__vite__mapDeps([45,10,1,11,12,46]),import.meta.url),meta:{title:"订单列表",icon:"lets-icons:order"}},{path:"account-log",name:"AccountLogMenu",component:()=>__vitePreload(()=>import("./accountLog-fHuxQkeO.js"),__vite__mapDeps([14,10,1,11,12]),import.meta.url),meta:{title:"账户明细",icon:"carbon:account"}},{path:"list",name:"packageMenuList",component:()=>__vitePreload(()=>import("./package-nRT1s46o.js"),__vite__mapDeps([42,10,1,43,11,12]),import.meta.url),meta:{title:"套餐设置",icon:"icon-park-outline:commodity"}},{path:"crami",name:"cramiMenuList",component:()=>__vitePreload(()=>import("./crami-DF3UkRa8.js"),__vite__mapDeps([44,10,1,43,11,12]),import.meta.url),meta:{title:"卡密管理",icon:"solar:passport-broken"}}]};function Layout$4(){return __vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$5={path:"/pay",component:Layout$4,redirect:"/pay/hupijiao",name:"PayMenu",meta:{title:"支付管理",icon:"mingcute:card-pay-line"},children:[{path:"wechat",name:"WechatConfig",component:()=>__vitePreload(()=>import("./wechat-B077V9uG.js"),__vite__mapDeps([36,1,2]),import.meta.url),meta:{title:"微信支付",icon:"ic:baseline-wechat"}},{path:"epay",name:"EpayConfig",component:()=>__vitePreload(()=>import("./epay-ClyHoC23.js"),__vite__mapDeps([40,1,2]),import.meta.url),meta:{title:"易支付",icon:"uiw:pay"}},{path:"mpay",name:"MpayConfig",component:()=>__vitePreload(()=>import("./mpay-02LM1-hB.js"),__vite__mapDeps([37,1,2]),import.meta.url),meta:{title:"码支付",icon:"ant-design:pay-circle-outlined"}},{path:"hupi",name:"HupioConfig",component:()=>__vitePreload(()=>import("./hupijiao-PQUyy35q.js"),__vite__mapDeps([39,1,2]),import.meta.url),meta:{title:"虎皮椒支付",icon:"token:pay"}},{path:"ltzf",name:"LtzfConfig",component:()=>__vitePreload(()=>import("./ltzf-BGADXySl.js"),__vite__mapDeps([38,1,2]),import.meta.url),meta:{title:"蓝兔支付",icon:"ph:rabbit"}}]},routes$4={path:"/github",component:()=>__vitePreload(()=>import("./github-redirect-BM9nXGWb.js"),[],import.meta.url),name:"ProjectAddressMenu",meta:{title:"开源地址",icon:"mdi:github"}};function Layout$3(){return __vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$3={path:"/secure",component:Layout$3,redirect:"/secure/sensitive-baidu",name:"SecureMenu",meta:{title:"风控管理",icon:"ri:secure-payment-line"},children:[{path:"identity-verification",name:"IdentityVerification",component:()=>__vitePreload(()=>import("./identityVerification-oP_pBzIE.js"),__vite__mapDeps([27,1,2]),import.meta.url),meta:{title:"风控安全配置",icon:"hugeicons:identification"}},{path:"sensitive-violation",name:"SensitiveViolationLog",component:()=>__vitePreload(()=>import("./violation-BuG_b462.js"),__vite__mapDeps([23,10,1,24,12,25,11,26]),import.meta.url),meta:{title:"违规检测记录",icon:"tabler:ban"}},{path:"sensitive-baidu",name:"SensitiveBaiduyun",component:()=>__vitePreload(()=>import("./baiduSensitive-6qem6t8b.js"),__vite__mapDeps([29,1,2]),import.meta.url),meta:{title:"百度云敏感词",icon:"ri:baidu-line"}},{path:"sensitive-custom",name:"SensitiveCuston",component:()=>__vitePreload(()=>import("./custom-Dw8_cyTN.js"),__vite__mapDeps([28,10,1,24,11]),import.meta.url),meta:{title:"自定义敏感词",icon:"carbon:word-cloud"}}]};function Layout$2(){return __vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$2={path:"/storage",component:Layout$2,redirect:"/storage/config",name:"StorageMenu",meta:{title:"存储配置",icon:"mingcute:storage-line"},children:[{path:"localStorage",name:"LocalStorage",component:()=>__vitePreload(()=>import("./localStorage-D9Ly4FTr.js"),__vite__mapDeps([20,1,2]),import.meta.url),meta:{title:"本地存储",icon:"icon-park-outline:cloud-storage"}},{path:"tencent",name:"StorageTencent",component:()=>__vitePreload(()=>import("./tencent-DLUjGcyt.js"),__vite__mapDeps([19,1,2]),import.meta.url),meta:{title:"腾讯云COS",icon:"teenyicons:cost-estimate-outline"}},{path:"ali",name:"StorageAli",component:()=>__vitePreload(()=>import("./ali-Mqm0cjbu.js"),__vite__mapDeps([22,1,2]),import.meta.url),meta:{title:"阿里云OSS",icon:"material-symbols:home-storage-outline"}},{path:"chevereto",name:"StorageChevereto",component:()=>__vitePreload(()=>import("./chevereto-CrU0O1ko.js"),__vite__mapDeps([21,1,2]),import.meta.url),meta:{title:"chevereto图床",icon:"material-symbols:image-outline"}}]};function Layout$1(){return __vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes$1={path:"/system",component:Layout$1,redirect:"/system/base",name:"systemMenu",meta:{title:"系统管理",icon:"tdesign:system-2"},children:[{path:"base-configuration",name:"ClientBaseConfig",component:()=>__vitePreload(()=>import("./baseConfiguration-XpujmNvx.js"),__vite__mapDeps([17,1,2]),import.meta.url),meta:{title:"基础配置",icon:"uil:setting"}},{path:"points",name:"PointsDisplay",component:()=>__vitePreload(()=>import("./points-7mr5fEHY.js"),__vite__mapDeps([41,1,2]),import.meta.url),meta:{title:"显示设置",icon:"mdi:show-outline"}},{path:"notice",name:"systemMenuNotice",component:()=>__vitePreload(()=>import("./notice-Dl9A1sfn.js"),__vite__mapDeps([16,1,2,4,5]),import.meta.url),meta:{title:"公告设置",icon:"mdi:notice-board"}},{path:"welcome",name:"systemMenuWelcome",component:()=>__vitePreload(()=>import("./welcomePageSettings-BNqbw3Pg.js"),__vite__mapDeps([15,1,2]),import.meta.url),meta:{title:"欢迎页设置",icon:"mdi:human-welcome"}},{path:"baidu",name:"systemMenuBase",component:()=>__vitePreload(()=>import("./baiduStatistics-GAHxOxpS.js"),__vite__mapDeps([18,1,2]),import.meta.url),meta:{title:"统计设置",icon:"wpf:statistics"}}]};function Layout(){return __vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url)}const routes={path:"/user",component:Layout,redirect:"/user/dashboard",name:"userMenu",meta:{title:"访问管理",icon:"mdi:user-outline"},children:[{path:"register",name:"systemMenuRegister",component:()=>__vitePreload(()=>import("./register-1wwcbwRm.js"),__vite__mapDeps([6,1,2,7]),import.meta.url),meta:{title:"访问配置",icon:"hugeicons:access"}},{path:"useragreement",name:"userAgreement",component:()=>__vitePreload(()=>import("./userAgreement-CNd8Qla0.js"),__vite__mapDeps([3,1,2,4,5]),import.meta.url),meta:{title:"用户协议配置",icon:"hugeicons:access"}},{path:"email",name:"systemMenuEmail",component:()=>__vitePreload(()=>import("./email-Bu_bNWMh.js"),__vite__mapDeps([13,1,2]),import.meta.url),meta:{title:"邮件登录配置",icon:"material-symbols:mail-outline"}},{path:"wechat",name:"systemMenuWechat",component:()=>__vitePreload(()=>import("./wechat-iHfqycBm.js"),__vite__mapDeps([0,1,2]),import.meta.url),meta:{title:"微信登录配置",icon:"la:weixin"}},{path:"ali-phone",name:"AliPhoneMenu",component:()=>__vitePreload(()=>import("./phone-DvRFs8Iq.js"),__vite__mapDeps([8,1,2]),import.meta.url),meta:{title:"短信登录配置",icon:"tabler:message"}}]},constantRoutes=[{path:"/login",name:"login",component:()=>__vitePreload(()=>import("./login-CWBz1yfa.js"),[],import.meta.url),meta:{title:"登录"}},{path:"/:all(.*)*",name:"notFound",component:()=>__vitePreload(()=>import("./_...all_-e-47I_Lk.js"),[],import.meta.url),meta:{title:"找不到页面"}}],systemRoutes=[{path:"/",component:()=>__vitePreload(()=>import("./index-BdAj7OgB.js"),__vite__mapDeps([120,75,76,77,78,79,80,64,62,81,65,82,83,84,34,85,86,91,92,101,94,95,96,63,102,116,103,104,111,112,105,69,70,72,106,113,117,100,88,89,118,10,119,73,74,68,121,66]),import.meta.url),meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1},children:[{path:"",name:"home",component:Home,meta:{title:()=>useSettingsStore().settings.home.title,breadcrumb:!1}},{path:"reload",name:"reload",component:()=>__vitePreload(()=>import("./reload-XgcEbP6L.js"),[],import.meta.url),meta:{title:"重新加载",breadcrumb:!1}},{path:"setting",name:"personalSetting",component:()=>__vitePreload(()=>import("./setting-C2TdzxY1.js"),__vite__mapDeps([31,10,32]),import.meta.url),meta:{title:"个人设置",cache:"personalEditPassword"}},{path:"edit/password",name:"personalEditPassword",component:()=>__vitePreload(()=>import("./edit.password-5Br-3lH_.js"),__vite__mapDeps([33,10,1,34,35]),import.meta.url),meta:{title:"修改密码"}}]}],asyncRoutes=[{children:[routes$1,routes,routes$7,routes$8,routes$9,routes$3,routes$2,routes$6,routes$5,routes$4]}],constantRoutesByFilesystem=routes$a.filter(xe=>{var $e,Ie;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)===!0}),asyncRoutesByFilesystem=setupLayouts(routes$a.filter(xe=>{var $e,Ie,Fe;return(($e=xe.meta)==null?void 0:$e.enabled)!==!1&&((Ie=xe.meta)==null?void 0:Ie.constant)!==!0&&((Fe=xe.meta)==null?void 0:Fe.layout)!==!1}));function validateProjectAddressMenu(xe){if(!xe.find(Ue=>{var qe;return(qe=Ue.children)==null?void 0:qe.includes(routes$4)}))return!1;const Ie=routes$4.path,Fe=routes$4.component;return!(!Ie||typeof Ie!="string"||!Fe||typeof Fe!="function")}if(!validateProjectAddressMenu(asyncRoutes))throw document.body.innerHTML="

",new Error("");const useRouteStore=defineStore("route",()=>{const xe=useSettingsStore(),$e=ref(!1),Ie=ref([]),Fe=ref([]),Ue=ref([]);function qe(Cn){var Sn,xn,En,Tn;return Cn.children&&(Cn.children=At(Cn.children,[{path:Cn.path,title:(Sn=Cn.meta)==null?void 0:Sn.title,icon:(xn=Cn.meta)==null?void 0:xn.icon,hide:!((En=Cn.meta)!=null&&En.breadcrumb)&&((Tn=Cn.meta)==null?void 0:Tn.breadcrumb)===!1}],Cn.path)),Cn}function At(Cn,Sn=[],xn=""){const En=[];return Cn.forEach(Tn=>{var An,$n,Pn,Nn,Mn,In,On,Rn;if(Tn.children){const Bn=resolveRoutePath(xn,Tn.path),Vn=cloneDeep(Sn);Vn.push({path:Bn,title:(An=Tn.meta)==null?void 0:An.title,icon:($n=Tn.meta)==null?void 0:$n.icon,hide:!((Pn=Tn.meta)!=null&&Pn.breadcrumb)&&((Nn=Tn.meta)==null?void 0:Nn.breadcrumb)===!1});const Ln=cloneDeep(Tn);Ln.path=Bn,Ln.meta||(Ln.meta={}),Ln.meta.breadcrumbNeste=Vn,delete Ln.children,En.push(Ln),At(Tn.children,Vn,Bn).forEach(Hn=>{En.some(Fn=>Fn.path===Hn.path)?En.forEach((Fn,zn)=>{Fn.path===Hn.path&&(En[zn]=Hn)}):En.push(Hn)})}else{const Bn=cloneDeep(Tn);Bn.path=resolveRoutePath(xn,Bn.path);const Vn=cloneDeep(Sn);Vn.push({path:Bn.path,title:(Mn=Bn.meta)==null?void 0:Mn.title,icon:(In=Bn.meta)==null?void 0:In.icon,hide:!((On=Bn.meta)!=null&&On.breadcrumb)&&((Rn=Bn.meta)==null?void 0:Rn.breadcrumb)===!1}),Bn.meta||(Bn.meta={}),Bn.meta.breadcrumbNeste=Vn,En.push(Bn)}}),En}const Dt=computed(()=>{const Cn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Ie.value&&(Ie.value.forEach(Sn=>{const xn=cloneDeep(Sn.children);xn.map(En=>{var Tn,An;return En.meta||(En.meta={}),En.meta.auth=((Tn=Sn.meta)==null?void 0:Tn.auth)??((An=En.meta)==null?void 0:An.auth),En}),Cn.push(...xn)}),Cn.forEach(Sn=>qe(Sn))):Cn.push(...cloneDeep(Fe.value)),Cn}),Lt=computed(()=>{const Cn=[...systemRoutes];return Cn.forEach(Sn=>qe(Sn)),Cn});let jt=!1;function hn(Cn){return Cn.forEach(Sn=>{Sn.children=vn(Sn.children)}),jt&&console.warn('[Fantastic-admin] 路由配置中的 "sidebar" 属性即将被弃用, 请尽快替换为 "menu" 属性'),Cn}function vn(Cn){return Cn&&Cn.forEach(Sn=>{var xn;typeof((xn=Sn.meta)==null?void 0:xn.sidebar)=="boolean"&&(jt=!0,Sn.meta.menu=Sn.meta.sidebar,delete Sn.meta.sidebar),Sn.children&&vn(Sn.children)}),Cn}function bn(Cn){Ie.value=hn(cloneDeep(Cn)),$e.value=!0}function _n(Cn){Fe.value=cloneDeep(Cn),$e.value=!0}function wn(Cn){Ue.value=Cn}function kn(){$e.value=!1,Ie.value=[],Fe.value=[],Ue.value.forEach(Cn=>{Cn()}),Ue.value=[]}return{isGenerate:$e,routesRaw:Ie,currentRemoveRoutes:Ue,flatRoutes:Dt,flatSystemRoutes:Lt,generateRoutesAtFront:bn,generateRoutesAtFilesystem:_n,setCurrentRemoveRoutes:wn,removeRoutes:kn}}),useMenuStore=defineStore("menu",()=>{const xe=useSettingsStore(),$e=useUserStore$1(),Ie=useRouteStore(),Fe=ref([]),Ue=ref(0);function qe(Sn){const xn=[];return Sn.forEach(En=>{var Tn,An,$n;if(xe.settings.menu.menuMode==="single")xn.length===0&&xn.push({meta:{},children:[]}),xn[0].children.push(...At(En.children));else{const Pn={meta:{title:(Tn=En==null?void 0:En.meta)==null?void 0:Tn.title,icon:(An=En==null?void 0:En.meta)==null?void 0:An.icon,auth:($n=En==null?void 0:En.meta)==null?void 0:$n.auth},children:[]};Pn.children=At(En.children),xn.push(Pn)}}),xn}function At(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var $n,Pn,Nn,Mn,In,On;const An={path:resolveRoutePath(xn,Tn.path),meta:{title:($n=Tn==null?void 0:Tn.meta)==null?void 0:$n.title,icon:(Pn=Tn==null?void 0:Tn.meta)==null?void 0:Pn.icon,defaultOpened:(Nn=Tn==null?void 0:Tn.meta)==null?void 0:Nn.defaultOpened,auth:(Mn=Tn==null?void 0:Tn.meta)==null?void 0:Mn.auth,menu:(In=Tn==null?void 0:Tn.meta)==null?void 0:In.menu,link:(On=Tn==null?void 0:Tn.meta)==null?void 0:On.link}};Tn.children&&(An.children=At(Tn.children,An.path)),En.push(An)}),En}const Dt=computed(()=>{let Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"?Sn=qe(Ie.routesRaw):Sn=Fe.value,xe.settings.app.enablePermission&&(Sn=wn(Sn,$e.permissions)),Sn}),Lt=computed(()=>Dt.value.length>0?Dt.value.length>1?Dt.value[Ue.value].children:Dt.value[0].children:[]),jt=computed(()=>Lt.value.length>0?hn(Lt.value[0]):xe.settings.home.fullPath);function hn(Sn,xn=""){let En="";if(Sn.children){const Tn=Sn.children.find(An=>{var $n;return(($n=An.meta)==null?void 0:$n.menu)!==!1});Tn?En=hn(Tn,resolveRoutePath(xn,Sn.path)):En=hn(Sn.children[0],resolveRoutePath(xn,Sn.path))}else En=resolveRoutePath(xn,Sn.path);return En}const vn=computed(()=>{const Sn=[];return xe.settings.app.routeBaseOn!=="filesystem"&&Dt.value.forEach(xn=>{Sn.push(...bn(xn.children))}),Sn});function bn(Sn,xn=""){const En=[];return Sn.forEach(Tn=>{var An;if((An=Tn.meta)!=null&&An.defaultOpened&&Tn.children){En.push(resolveRoutePath(xn,Tn.path));const $n=bn(Tn.children,resolveRoutePath(xn,Tn.path));$n.length>0&&En.push(...$n)}}),En}function _n(Sn,xn){var Tn;let En=!1;return(Tn=xn.meta)!=null&&Tn.auth?En=Sn.some(An=>{var $n,Pn;return typeof(($n=xn.meta)==null?void 0:$n.auth)=="string"?xn.meta.auth!==""?xn.meta.auth===An:!0:typeof((Pn=xn.meta)==null?void 0:Pn.auth)=="object"?xn.meta.auth.length>0?xn.meta.auth.includes(An):!0:!1}):En=!0,En}function wn(Sn,xn){const En=[];return Sn.forEach(Tn=>{if(_n(xn,Tn)){const An=cloneDeep(Tn);An.children&&An.children.length>0?(An.children=wn(An.children,xn),An.children.length>0&&En.push(An)):(delete An.children,En.push(An))}}),En}async function kn(){Fe.value=menu.filter(Sn=>Sn.children.length!==0)}function Cn(Sn){if(typeof Sn=="number")Ue.value=Sn;else{const xn=Dt.value.findIndex(En=>En.children.some(Tn=>Sn.indexOf(`${Tn.path}/`)===0||Sn===Tn.path));xn>=0&&(Ue.value=xn)}}return{actived:Ue,allMenus:Dt,sidebarMenus:Lt,sidebarMenusFirstDeepestPath:jt,defaultOpenedPaths:vn,generateMenusAtFront:kn,setActived:Cn}}),{isLoading}=useNProgress(),router=createRouter({history:createWebHashHistory(""),routes:useSettingsStore(pinia).settings.app.routeBaseOn==="filesystem"?constantRoutesByFilesystem:constantRoutes});router.beforeEach(async(xe,$e,Ie)=>{const Fe=useSettingsStore(),Ue=useUserStore$1(),qe=useRouteStore(),At=useMenuStore();if(Fe.settings.app.enableProgress&&(isLoading.value=!0),Ue.isLogin)if(qe.isGenerate)Fe.settings.menu.menuMode!=="single"&&At.setActived(xe.path),xe.name==="login"?Ie({path:Fe.settings.home.fullPath,replace:!0}):!Fe.settings.home.enable&&xe.fullPath===Fe.settings.home.fullPath&&At.sidebarMenus.length>0?Ie({path:At.sidebarMenusFirstDeepestPath,replace:!0}):Ie();else{switch(Fe.settings.app.enablePermission&&await Ue.getPermissions(),Fe.settings.app.routeBaseOn){case"frontend":qe.generateRoutesAtFront(asyncRoutes);break;case"filesystem":switch(qe.generateRoutesAtFilesystem(asyncRoutesByFilesystem),Fe.settings.menu.baseOn){case"frontend":At.generateMenusAtFront();break}break}const Dt=[];qe.flatRoutes.forEach(Lt=>{/^(?:https?:|mailto:|tel:)/.test(Lt.path)||Dt.push(router.addRoute(Lt))}),Fe.settings.app.routeBaseOn!=="filesystem"&&qe.flatSystemRoutes.forEach(Lt=>{Dt.push(router.addRoute(Lt))}),qe.setCurrentRemoveRoutes(Dt),Ie({path:xe.path,query:xe.query,replace:!0})}else xe.name!=="login"?Ie({name:"login",query:{redirect:xe.fullPath!==Fe.settings.home.fullPath?xe.fullPath:void 0}}):Ie()});router.afterEach((xe,$e)=>{var Ue,qe,At,Dt,Lt,jt;const Ie=useSettingsStore(),Fe=useKeepAliveStore();if(Ie.settings.app.enableProgress&&(isLoading.value=!1),Ie.settings.app.routeBaseOn!=="filesystem"?Ie.setTitle(((qe=(Ue=xe.meta.breadcrumbNeste)==null?void 0:Ue.at(-1))==null?void 0:qe.title)??xe.meta.title):Ie.setTitle(xe.meta.title),xe.meta.cache){const hn=(Dt=(At=xe.matched.at(-1))==null?void 0:At.components)==null?void 0:Dt.default.name;hn?Fe.add(hn):console.warn("[Fantastic-admin] 该页面组件未设置组件名,会导致缓存失效,请检查")}if($e.meta.cache){const hn=(jt=(Lt=$e.matched.at(-1))==null?void 0:Lt.components)==null?void 0:jt.default.name;if(hn){switch(typeof $e.meta.cache){case"string":$e.meta.cache!==xe.name&&Fe.remove(hn);break;case"object":$e.meta.cache.includes(xe.name)||Fe.remove(hn);break}if($e.meta.noCache)switch(typeof $e.meta.noCache){case"string":$e.meta.noCache===xe.name&&Fe.remove(hn);break;case"object":$e.meta.noCache.includes(xe.name)&&Fe.remove(hn);break}xe.name==="reload"&&Fe.remove(hn)}}document.documentElement.scrollTop=0});function bind(xe,$e){return function(){return xe.apply($e,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,kindOf=(xe=>$e=>{const Ie=toString.call($e);return xe[Ie]||(xe[Ie]=Ie.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=xe=>(xe=xe.toLowerCase(),$e=>kindOf($e)===xe),typeOfTest=xe=>$e=>typeof $e===xe,{isArray}=Array,isUndefined$1=typeOfTest("undefined");function isBuffer(xe){return xe!==null&&!isUndefined$1(xe)&&xe.constructor!==null&&!isUndefined$1(xe.constructor)&&isFunction$1(xe.constructor.isBuffer)&&xe.constructor.isBuffer(xe)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(xe){let $e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?$e=ArrayBuffer.isView(xe):$e=xe&&xe.buffer&&isArrayBuffer(xe.buffer),$e}const isString$1=typeOfTest("string"),isFunction$1=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject=xe=>xe!==null&&typeof xe=="object",isBoolean$1=xe=>xe===!0||xe===!1,isPlainObject=xe=>{if(kindOf(xe)!=="object")return!1;const $e=getPrototypeOf(xe);return($e===null||$e===Object.prototype||Object.getPrototypeOf($e)===null)&&!(Symbol.toStringTag in xe)&&!(Symbol.iterator in xe)},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=xe=>isObject(xe)&&isFunction$1(xe.pipe),isFormData=xe=>{let $e;return xe&&(typeof FormData=="function"&&xe instanceof FormData||isFunction$1(xe.append)&&(($e=kindOf(xe))==="formdata"||$e==="object"&&isFunction$1(xe.toString)&&xe.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim=xe=>xe.trim?xe.trim():xe.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(xe,$e,{allOwnKeys:Ie=!1}={}){if(xe===null||typeof xe>"u")return;let Fe,Ue;if(typeof xe!="object"&&(xe=[xe]),isArray(xe))for(Fe=0,Ue=xe.length;Fe0;)if(Ue=Ie[Fe],$e===Ue.toLowerCase())return Ue;return null}const _global$1=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,isContextDefined=xe=>!isUndefined$1(xe)&&xe!==_global$1;function merge(){const{caseless:xe}=isContextDefined(this)&&this||{},$e={},Ie=(Fe,Ue)=>{const qe=xe&&findKey($e,Ue)||Ue;isPlainObject($e[qe])&&isPlainObject(Fe)?$e[qe]=merge($e[qe],Fe):isPlainObject(Fe)?$e[qe]=merge({},Fe):isArray(Fe)?$e[qe]=Fe.slice():$e[qe]=Fe};for(let Fe=0,Ue=arguments.length;Fe(forEach($e,(Ue,qe)=>{Ie&&isFunction$1(Ue)?xe[qe]=bind(Ue,Ie):xe[qe]=Ue},{allOwnKeys:Fe}),xe),stripBOM=xe=>(xe.charCodeAt(0)===65279&&(xe=xe.slice(1)),xe),inherits=(xe,$e,Ie,Fe)=>{xe.prototype=Object.create($e.prototype,Fe),xe.prototype.constructor=xe,Object.defineProperty(xe,"super",{value:$e.prototype}),Ie&&Object.assign(xe.prototype,Ie)},toFlatObject=(xe,$e,Ie,Fe)=>{let Ue,qe,At;const Dt={};if($e=$e||{},xe==null)return $e;do{for(Ue=Object.getOwnPropertyNames(xe),qe=Ue.length;qe-- >0;)At=Ue[qe],(!Fe||Fe(At,xe,$e))&&!Dt[At]&&($e[At]=xe[At],Dt[At]=!0);xe=Ie!==!1&&getPrototypeOf(xe)}while(xe&&(!Ie||Ie(xe,$e))&&xe!==Object.prototype);return $e},endsWith=(xe,$e,Ie)=>{xe=String(xe),(Ie===void 0||Ie>xe.length)&&(Ie=xe.length),Ie-=$e.length;const Fe=xe.indexOf($e,Ie);return Fe!==-1&&Fe===Ie},toArray=xe=>{if(!xe)return null;if(isArray(xe))return xe;let $e=xe.length;if(!isNumber$1($e))return null;const Ie=new Array($e);for(;$e-- >0;)Ie[$e]=xe[$e];return Ie},isTypedArray=(xe=>$e=>xe&&$e instanceof xe)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(xe,$e)=>{const Fe=(xe&&xe[Symbol.iterator]).call(xe);let Ue;for(;(Ue=Fe.next())&&!Ue.done;){const qe=Ue.value;$e.call(xe,qe[0],qe[1])}},matchAll=(xe,$e)=>{let Ie;const Fe=[];for(;(Ie=xe.exec($e))!==null;)Fe.push(Ie);return Fe},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase=xe=>xe.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(Ie,Fe,Ue){return Fe.toUpperCase()+Ue}),hasOwnProperty=(({hasOwnProperty:xe})=>($e,Ie)=>xe.call($e,Ie))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(xe,$e)=>{const Ie=Object.getOwnPropertyDescriptors(xe),Fe={};forEach(Ie,(Ue,qe)=>{let At;(At=$e(Ue,qe,xe))!==!1&&(Fe[qe]=At||Ue)}),Object.defineProperties(xe,Fe)},freezeMethods=xe=>{reduceDescriptors(xe,($e,Ie)=>{if(isFunction$1(xe)&&["arguments","caller","callee"].indexOf(Ie)!==-1)return!1;const Fe=xe[Ie];if(isFunction$1(Fe)){if($e.enumerable=!1,"writable"in $e){$e.writable=!1;return}$e.set||($e.set=()=>{throw Error("Can not rewrite read-only method '"+Ie+"'")})}})},toObjectSet=(xe,$e)=>{const Ie={},Fe=Ue=>{Ue.forEach(qe=>{Ie[qe]=!0})};return isArray(xe)?Fe(xe):Fe(String(xe).split($e)),Ie},noop$1=()=>{},toFiniteNumber=(xe,$e)=>xe!=null&&Number.isFinite(xe=+xe)?xe:$e,ALPHA="abcdefghijklmnopqrstuvwxyz",DIGIT="0123456789",ALPHABET={DIGIT,ALPHA,ALPHA_DIGIT:ALPHA+ALPHA.toUpperCase()+DIGIT},generateString=(xe=16,$e=ALPHABET.ALPHA_DIGIT)=>{let Ie="";const{length:Fe}=$e;for(;xe--;)Ie+=$e[Math.random()*Fe|0];return Ie};function isSpecCompliantForm(xe){return!!(xe&&isFunction$1(xe.append)&&xe[Symbol.toStringTag]==="FormData"&&xe[Symbol.iterator])}const toJSONObject=xe=>{const $e=new Array(10),Ie=(Fe,Ue)=>{if(isObject(Fe)){if($e.indexOf(Fe)>=0)return;if(!("toJSON"in Fe)){$e[Ue]=Fe;const qe=isArray(Fe)?[]:{};return forEach(Fe,(At,Dt)=>{const Lt=Ie(At,Ue+1);!isUndefined$1(Lt)&&(qe[Dt]=Lt)}),$e[Ue]=void 0,qe}}return Fe};return Ie(xe,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=xe=>xe&&(isObject(xe)||isFunction$1(xe))&&isFunction$1(xe.then)&&isFunction$1(xe.catch),utils$1={isArray,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean:isBoolean$1,isObject,isPlainObject,isReadableStream,isRequest,isResponse,isHeaders,isUndefined:isUndefined$1,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$1,isStream,isURLSearchParams,isTypedArray,isFileList,forEach,merge,extend,trim,stripBOM,inherits,toFlatObject,kindOf,kindOfTest,endsWith,toArray,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase,noop:noop$1,toFiniteNumber,findKey,global:_global$1,isContextDefined,ALPHABET,generateString,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable};function AxiosError(xe,$e,Ie,Fe,Ue){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=xe,this.name="AxiosError",$e&&(this.code=$e),Ie&&(this.config=Ie),Fe&&(this.request=Fe),Ue&&(this.response=Ue)}utils$1.inherits(AxiosError,Error,{toJSON:function xe(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(xe=>{descriptors[xe]={value:xe}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(xe,$e,Ie,Fe,Ue,qe)=>{const At=Object.create(prototype$1);return utils$1.toFlatObject(xe,At,function(Lt){return Lt!==Error.prototype},Dt=>Dt!=="isAxiosError"),AxiosError.call(At,xe.message,$e,Ie,Fe,Ue),At.cause=xe,At.name=xe.name,qe&&Object.assign(At,qe),At};const httpAdapter=null;function isVisitable(xe){return utils$1.isPlainObject(xe)||utils$1.isArray(xe)}function removeBrackets(xe){return utils$1.endsWith(xe,"[]")?xe.slice(0,-2):xe}function renderKey(xe,$e,Ie){return xe?xe.concat($e).map(function(Ue,qe){return Ue=removeBrackets(Ue),!Ie&&qe?"["+Ue+"]":Ue}).join(Ie?".":""):$e}function isFlatArray(xe){return utils$1.isArray(xe)&&!xe.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function xe($e){return/^is[A-Z]/.test($e)});function toFormData(xe,$e,Ie){if(!utils$1.isObject(xe))throw new TypeError("target must be an object");$e=$e||new FormData,Ie=utils$1.toFlatObject(Ie,{metaTokens:!0,dots:!1,indexes:!1},!1,function(kn,Cn){return!utils$1.isUndefined(Cn[kn])});const Fe=Ie.metaTokens,Ue=Ie.visitor||hn,qe=Ie.dots,At=Ie.indexes,Lt=(Ie.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm($e);if(!utils$1.isFunction(Ue))throw new TypeError("visitor must be a function");function jt(wn){if(wn===null)return"";if(utils$1.isDate(wn))return wn.toISOString();if(!Lt&&utils$1.isBlob(wn))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(wn)||utils$1.isTypedArray(wn)?Lt&&typeof Blob=="function"?new Blob([wn]):Buffer.from(wn):wn}function hn(wn,kn,Cn){let Sn=wn;if(wn&&!Cn&&typeof wn=="object"){if(utils$1.endsWith(kn,"{}"))kn=Fe?kn:kn.slice(0,-2),wn=JSON.stringify(wn);else if(utils$1.isArray(wn)&&isFlatArray(wn)||(utils$1.isFileList(wn)||utils$1.endsWith(kn,"[]"))&&(Sn=utils$1.toArray(wn)))return kn=removeBrackets(kn),Sn.forEach(function(En,Tn){!(utils$1.isUndefined(En)||En===null)&&$e.append(At===!0?renderKey([kn],Tn,qe):At===null?kn:kn+"[]",jt(En))}),!1}return isVisitable(wn)?!0:($e.append(renderKey(Cn,kn,qe),jt(wn)),!1)}const vn=[],bn=Object.assign(predicates,{defaultVisitor:hn,convertValue:jt,isVisitable});function _n(wn,kn){if(!utils$1.isUndefined(wn)){if(vn.indexOf(wn)!==-1)throw Error("Circular reference detected in "+kn.join("."));vn.push(wn),utils$1.forEach(wn,function(Sn,xn){(!(utils$1.isUndefined(Sn)||Sn===null)&&Ue.call($e,Sn,utils$1.isString(xn)?xn.trim():xn,kn,bn))===!0&&_n(Sn,kn?kn.concat(xn):[xn])}),vn.pop()}}if(!utils$1.isObject(xe))throw new TypeError("data must be an object");return _n(xe),$e}function encode$1(xe){const $e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(xe).replace(/[!'()~]|%20|%00/g,function(Fe){return $e[Fe]})}function AxiosURLSearchParams(xe,$e){this._pairs=[],xe&&toFormData(xe,this,$e)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function xe($e,Ie){this._pairs.push([$e,Ie])};prototype.toString=function xe($e){const Ie=$e?function(Fe){return $e.call(this,Fe,encode$1)}:encode$1;return this._pairs.map(function(Ue){return Ie(Ue[0])+"="+Ie(Ue[1])},"").join("&")};function encode(xe){return encodeURIComponent(xe).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function buildURL(xe,$e,Ie){if(!$e)return xe;const Fe=Ie&&Ie.encode||encode,Ue=Ie&&Ie.serialize;let qe;if(Ue?qe=Ue($e,Ie):qe=utils$1.isURLSearchParams($e)?$e.toString():new AxiosURLSearchParams($e,Ie).toString(Fe),qe){const At=xe.indexOf("#");At!==-1&&(xe=xe.slice(0,At)),xe+=(xe.indexOf("?")===-1?"?":"&")+qe}return xe}class InterceptorManager{constructor(){this.handlers=[]}use($e,Ie,Fe){return this.handlers.push({fulfilled:$e,rejected:Ie,synchronous:Fe?Fe.synchronous:!1,runWhen:Fe?Fe.runWhen:null}),this.handlers.length-1}eject($e){this.handlers[$e]&&(this.handlers[$e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach($e){utils$1.forEach(this.handlers,function(Fe){Fe!==null&&$e(Fe)})}}const transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$2={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",hasStandardBrowserEnv=(xe=>hasBrowserEnv&&["ReactNative","NativeScript","NS"].indexOf(xe)<0)(typeof navigator<"u"&&navigator.product),hasStandardBrowserWebWorkerEnv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",origin=hasBrowserEnv&&window.location.href||"http://localhost",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,origin},Symbol.toStringTag,{value:"Module"})),platform$1={...utils,...platform$2};function toURLEncodedForm(xe,$e){return toFormData(xe,new platform$1.classes.URLSearchParams,Object.assign({visitor:function(Ie,Fe,Ue,qe){return platform$1.isNode&&utils$1.isBuffer(Ie)?(this.append(Fe,Ie.toString("base64")),!1):qe.defaultVisitor.apply(this,arguments)}},$e))}function parsePropPath(xe){return utils$1.matchAll(/\w+|\[(\w*)]/g,xe).map($e=>$e[0]==="[]"?"":$e[1]||$e[0])}function arrayToObject(xe){const $e={},Ie=Object.keys(xe);let Fe;const Ue=Ie.length;let qe;for(Fe=0;Fe=Ie.length;return At=!At&&utils$1.isArray(Ue)?Ue.length:At,Lt?(utils$1.hasOwnProp(Ue,At)?Ue[At]=[Ue[At],Fe]:Ue[At]=Fe,!Dt):((!Ue[At]||!utils$1.isObject(Ue[At]))&&(Ue[At]=[]),$e(Ie,Fe,Ue[At],qe)&&utils$1.isArray(Ue[At])&&(Ue[At]=arrayToObject(Ue[At])),!Dt)}if(utils$1.isFormData(xe)&&utils$1.isFunction(xe.entries)){const Ie={};return utils$1.forEachEntry(xe,(Fe,Ue)=>{$e(parsePropPath(Fe),Ue,Ie,0)}),Ie}return null}function stringifySafely(xe,$e,Ie){if(utils$1.isString(xe))try{return($e||JSON.parse)(xe),utils$1.trim(xe)}catch(Fe){if(Fe.name!=="SyntaxError")throw Fe}return(Ie||JSON.stringify)(xe)}const defaults={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function xe($e,Ie){const Fe=Ie.getContentType()||"",Ue=Fe.indexOf("application/json")>-1,qe=utils$1.isObject($e);if(qe&&utils$1.isHTMLForm($e)&&($e=new FormData($e)),utils$1.isFormData($e))return Ue?JSON.stringify(formDataToJSON($e)):$e;if(utils$1.isArrayBuffer($e)||utils$1.isBuffer($e)||utils$1.isStream($e)||utils$1.isFile($e)||utils$1.isBlob($e)||utils$1.isReadableStream($e))return $e;if(utils$1.isArrayBufferView($e))return $e.buffer;if(utils$1.isURLSearchParams($e))return Ie.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),$e.toString();let Dt;if(qe){if(Fe.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm($e,this.formSerializer).toString();if((Dt=utils$1.isFileList($e))||Fe.indexOf("multipart/form-data")>-1){const Lt=this.env&&this.env.FormData;return toFormData(Dt?{"files[]":$e}:$e,Lt&&new Lt,this.formSerializer)}}return qe||Ue?(Ie.setContentType("application/json",!1),stringifySafely($e)):$e}],transformResponse:[function xe($e){const Ie=this.transitional||defaults.transitional,Fe=Ie&&Ie.forcedJSONParsing,Ue=this.responseType==="json";if(utils$1.isResponse($e)||utils$1.isReadableStream($e))return $e;if($e&&utils$1.isString($e)&&(Fe&&!this.responseType||Ue)){const At=!(Ie&&Ie.silentJSONParsing)&&Ue;try{return JSON.parse($e)}catch(Dt){if(At)throw Dt.name==="SyntaxError"?AxiosError.from(Dt,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):Dt}}return $e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$1.classes.FormData,Blob:platform$1.classes.Blob},validateStatus:function xe($e){return $e>=200&&$e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],xe=>{defaults.headers[xe]={}});const ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=xe=>{const $e={};let Ie,Fe,Ue;return xe&&xe.split(` `).forEach(function(At){Ue=At.indexOf(":"),Ie=At.substring(0,Ue).trim().toLowerCase(),Fe=At.substring(Ue+1).trim(),!(!Ie||$e[Ie]&&ignoreDuplicateOf[Ie])&&(Ie==="set-cookie"?$e[Ie]?$e[Ie].push(Fe):$e[Ie]=[Fe]:$e[Ie]=$e[Ie]?$e[Ie]+", "+Fe:Fe)}),$e},$internals=Symbol("internals");function normalizeHeader(xe){return xe&&String(xe).trim().toLowerCase()}function normalizeValue(xe){return xe===!1||xe==null?xe:utils$1.isArray(xe)?xe.map(normalizeValue):String(xe)}function parseTokens(xe){const $e=Object.create(null),Ie=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let Fe;for(;Fe=Ie.exec(xe);)$e[Fe[1]]=Fe[2];return $e}const isValidHeaderName=xe=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(xe.trim());function matchHeaderValue(xe,$e,Ie,Fe,Ue){if(utils$1.isFunction(Fe))return Fe.call(this,$e,Ie);if(Ue&&($e=Ie),!!utils$1.isString($e)){if(utils$1.isString(Fe))return $e.indexOf(Fe)!==-1;if(utils$1.isRegExp(Fe))return Fe.test($e)}}function formatHeader(xe){return xe.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,($e,Ie,Fe)=>Ie.toUpperCase()+Fe)}function buildAccessors(xe,$e){const Ie=utils$1.toCamelCase(" "+$e);["get","set","has"].forEach(Fe=>{Object.defineProperty(xe,Fe+Ie,{value:function(Ue,qe,At){return this[Fe].call(this,$e,Ue,qe,At)},configurable:!0})})}class AxiosHeaders{constructor($e){$e&&this.set($e)}set($e,Ie,Fe){const Ue=this;function qe(Dt,Lt,jt){const hn=normalizeHeader(Lt);if(!hn)throw new Error("header name must be a non-empty string");const vn=utils$1.findKey(Ue,hn);(!vn||Ue[vn]===void 0||jt===!0||jt===void 0&&Ue[vn]!==!1)&&(Ue[vn||Lt]=normalizeValue(Dt))}const At=(Dt,Lt)=>utils$1.forEach(Dt,(jt,hn)=>qe(jt,hn,Lt));if(utils$1.isPlainObject($e)||$e instanceof this.constructor)At($e,Ie);else if(utils$1.isString($e)&&($e=$e.trim())&&!isValidHeaderName($e))At(parseHeaders($e),Ie);else if(utils$1.isHeaders($e))for(const[Dt,Lt]of $e.entries())qe(Lt,Dt,Fe);else $e!=null&&qe(Ie,$e,Fe);return this}get($e,Ie){if($e=normalizeHeader($e),$e){const Fe=utils$1.findKey(this,$e);if(Fe){const Ue=this[Fe];if(!Ie)return Ue;if(Ie===!0)return parseTokens(Ue);if(utils$1.isFunction(Ie))return Ie.call(this,Ue,Fe);if(utils$1.isRegExp(Ie))return Ie.exec(Ue);throw new TypeError("parser must be boolean|regexp|function")}}}has($e,Ie){if($e=normalizeHeader($e),$e){const Fe=utils$1.findKey(this,$e);return!!(Fe&&this[Fe]!==void 0&&(!Ie||matchHeaderValue(this,this[Fe],Fe,Ie)))}return!1}delete($e,Ie){const Fe=this;let Ue=!1;function qe(At){if(At=normalizeHeader(At),At){const Dt=utils$1.findKey(Fe,At);Dt&&(!Ie||matchHeaderValue(Fe,Fe[Dt],Dt,Ie))&&(delete Fe[Dt],Ue=!0)}}return utils$1.isArray($e)?$e.forEach(qe):qe($e),Ue}clear($e){const Ie=Object.keys(this);let Fe=Ie.length,Ue=!1;for(;Fe--;){const qe=Ie[Fe];(!$e||matchHeaderValue(this,this[qe],qe,$e,!0))&&(delete this[qe],Ue=!0)}return Ue}normalize($e){const Ie=this,Fe={};return utils$1.forEach(this,(Ue,qe)=>{const At=utils$1.findKey(Fe,qe);if(At){Ie[At]=normalizeValue(Ue),delete Ie[qe];return}const Dt=$e?formatHeader(qe):String(qe).trim();Dt!==qe&&delete Ie[qe],Ie[Dt]=normalizeValue(Ue),Fe[Dt]=!0}),this}concat(...$e){return this.constructor.concat(this,...$e)}toJSON($e){const Ie=Object.create(null);return utils$1.forEach(this,(Fe,Ue)=>{Fe!=null&&Fe!==!1&&(Ie[Ue]=$e&&utils$1.isArray(Fe)?Fe.join(", "):Fe)}),Ie}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([$e,Ie])=>$e+": "+Ie).join(` `)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from($e){return $e instanceof this?$e:new this($e)}static concat($e,...Ie){const Fe=new this($e);return Ie.forEach(Ue=>Fe.set(Ue)),Fe}static accessor($e){const Fe=(this[$internals]=this[$internals]={accessors:{}}).accessors,Ue=this.prototype;function qe(At){const Dt=normalizeHeader(At);Fe[Dt]||(buildAccessors(Ue,At),Fe[Dt]=!0)}return utils$1.isArray($e)?$e.forEach(qe):qe($e),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:xe},$e)=>{let Ie=$e[0].toUpperCase()+$e.slice(1);return{get:()=>xe,set(Fe){this[Ie]=Fe}}});utils$1.freezeMethods(AxiosHeaders);function transformData(xe,$e){const Ie=this||defaults,Fe=$e||Ie,Ue=AxiosHeaders.from(Fe.headers);let qe=Fe.data;return utils$1.forEach(xe,function(Dt){qe=Dt.call(Ie,qe,Ue.normalize(),$e?$e.status:void 0)}),Ue.normalize(),qe}function isCancel(xe){return!!(xe&&xe.__CANCEL__)}function CanceledError(xe,$e,Ie){AxiosError.call(this,xe??"canceled",AxiosError.ERR_CANCELED,$e,Ie),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(xe,$e,Ie){const Fe=Ie.config.validateStatus;!Ie.status||!Fe||Fe(Ie.status)?xe(Ie):$e(new AxiosError("Request failed with status code "+Ie.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(Ie.status/100)-4],Ie.config,Ie.request,Ie))}function parseProtocol(xe){const $e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(xe);return $e&&$e[1]||""}function speedometer(xe,$e){xe=xe||10;const Ie=new Array(xe),Fe=new Array(xe);let Ue=0,qe=0,At;return $e=$e!==void 0?$e:1e3,function(Lt){const jt=Date.now(),hn=Fe[qe];At||(At=jt),Ie[Ue]=Lt,Fe[Ue]=jt;let vn=qe,bn=0;for(;vn!==Ue;)bn+=Ie[vn++],vn=vn%xe;if(Ue=(Ue+1)%xe,Ue===qe&&(qe=(qe+1)%xe),jt-At<$e)return;const _n=hn&&jt-hn;return _n?Math.round(bn*1e3/_n):void 0}}function throttle(xe,$e){let Ie=0;const Fe=1e3/$e;let Ue=null;return function(){const At=this===!0,Dt=Date.now();if(At||Dt-Ie>Fe)return Ue&&(clearTimeout(Ue),Ue=null),Ie=Dt,xe.apply(null,arguments);Ue||(Ue=setTimeout(()=>(Ue=null,Ie=Date.now(),xe.apply(null,arguments)),Fe-(Dt-Ie)))}}const progressEventReducer=(xe,$e,Ie=3)=>{let Fe=0;const Ue=speedometer(50,250);return throttle(qe=>{const At=qe.loaded,Dt=qe.lengthComputable?qe.total:void 0,Lt=At-Fe,jt=Ue(Lt),hn=At<=Dt;Fe=At;const vn={loaded:At,total:Dt,progress:Dt?At/Dt:void 0,bytes:Lt,rate:jt||void 0,estimated:jt&&Dt&&hn?(Dt-At)/jt:void 0,event:qe,lengthComputable:Dt!=null};vn[$e?"download":"upload"]=!0,xe(vn)},Ie)},isURLSameOrigin=platform$1.hasStandardBrowserEnv?function xe(){const $e=/(msie|trident)/i.test(navigator.userAgent),Ie=document.createElement("a");let Fe;function Ue(qe){let At=qe;return $e&&(Ie.setAttribute("href",At),At=Ie.href),Ie.setAttribute("href",At),{href:Ie.href,protocol:Ie.protocol?Ie.protocol.replace(/:$/,""):"",host:Ie.host,search:Ie.search?Ie.search.replace(/^\?/,""):"",hash:Ie.hash?Ie.hash.replace(/^#/,""):"",hostname:Ie.hostname,port:Ie.port,pathname:Ie.pathname.charAt(0)==="/"?Ie.pathname:"/"+Ie.pathname}}return Fe=Ue(window.location.href),function(At){const Dt=utils$1.isString(At)?Ue(At):At;return Dt.protocol===Fe.protocol&&Dt.host===Fe.host}}():function xe(){return function(){return!0}}(),cookies=platform$1.hasStandardBrowserEnv?{write(xe,$e,Ie,Fe,Ue,qe){const At=[xe+"="+encodeURIComponent($e)];utils$1.isNumber(Ie)&&At.push("expires="+new Date(Ie).toGMTString()),utils$1.isString(Fe)&&At.push("path="+Fe),utils$1.isString(Ue)&&At.push("domain="+Ue),qe===!0&&At.push("secure"),document.cookie=At.join("; ")},read(xe){const $e=document.cookie.match(new RegExp("(^|;\\s*)("+xe+")=([^;]*)"));return $e?decodeURIComponent($e[3]):null},remove(xe){this.write(xe,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(xe){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(xe)}function combineURLs(xe,$e){return $e?xe.replace(/\/?\/$/,"")+"/"+$e.replace(/^\/+/,""):xe}function buildFullPath(xe,$e){return xe&&!isAbsoluteURL($e)?combineURLs(xe,$e):$e}const headersToObject=xe=>xe instanceof AxiosHeaders?{...xe}:xe;function mergeConfig$1(xe,$e){$e=$e||{};const Ie={};function Fe(jt,hn,vn){return utils$1.isPlainObject(jt)&&utils$1.isPlainObject(hn)?utils$1.merge.call({caseless:vn},jt,hn):utils$1.isPlainObject(hn)?utils$1.merge({},hn):utils$1.isArray(hn)?hn.slice():hn}function Ue(jt,hn,vn){if(utils$1.isUndefined(hn)){if(!utils$1.isUndefined(jt))return Fe(void 0,jt,vn)}else return Fe(jt,hn,vn)}function qe(jt,hn){if(!utils$1.isUndefined(hn))return Fe(void 0,hn)}function At(jt,hn){if(utils$1.isUndefined(hn)){if(!utils$1.isUndefined(jt))return Fe(void 0,jt)}else return Fe(void 0,hn)}function Dt(jt,hn,vn){if(vn in $e)return Fe(jt,hn);if(vn in xe)return Fe(void 0,jt)}const Lt={url:qe,method:qe,data:qe,baseURL:At,transformRequest:At,transformResponse:At,paramsSerializer:At,timeout:At,timeoutMessage:At,withCredentials:At,withXSRFToken:At,adapter:At,responseType:At,xsrfCookieName:At,xsrfHeaderName:At,onUploadProgress:At,onDownloadProgress:At,decompress:At,maxContentLength:At,maxBodyLength:At,beforeRedirect:At,transport:At,httpAgent:At,httpsAgent:At,cancelToken:At,socketPath:At,responseEncoding:At,validateStatus:Dt,headers:(jt,hn)=>Ue(headersToObject(jt),headersToObject(hn),!0)};return utils$1.forEach(Object.keys(Object.assign({},xe,$e)),function(hn){const vn=Lt[hn]||Ue,bn=vn(xe[hn],$e[hn],hn);utils$1.isUndefined(bn)&&vn!==Dt||(Ie[hn]=bn)}),Ie}const resolveConfig=xe=>{const $e=mergeConfig$1({},xe);let{data:Ie,withXSRFToken:Fe,xsrfHeaderName:Ue,xsrfCookieName:qe,headers:At,auth:Dt}=$e;$e.headers=At=AxiosHeaders.from(At),$e.url=buildURL(buildFullPath($e.baseURL,$e.url),xe.params,xe.paramsSerializer),Dt&&At.set("Authorization","Basic "+btoa((Dt.username||"")+":"+(Dt.password?unescape(encodeURIComponent(Dt.password)):"")));let Lt;if(utils$1.isFormData(Ie)){if(platform$1.hasStandardBrowserEnv||platform$1.hasStandardBrowserWebWorkerEnv)At.setContentType(void 0);else if((Lt=At.getContentType())!==!1){const[jt,...hn]=Lt?Lt.split(";").map(vn=>vn.trim()).filter(Boolean):[];At.setContentType([jt||"multipart/form-data",...hn].join("; "))}}if(platform$1.hasStandardBrowserEnv&&(Fe&&utils$1.isFunction(Fe)&&(Fe=Fe($e)),Fe||Fe!==!1&&isURLSameOrigin($e.url))){const jt=Ue&&qe&&cookies.read(qe);jt&&At.set(Ue,jt)}return $e},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(xe){return new Promise(function(Ie,Fe){const Ue=resolveConfig(xe);let qe=Ue.data;const At=AxiosHeaders.from(Ue.headers).normalize();let{responseType:Dt}=Ue,Lt;function jt(){Ue.cancelToken&&Ue.cancelToken.unsubscribe(Lt),Ue.signal&&Ue.signal.removeEventListener("abort",Lt)}let hn=new XMLHttpRequest;hn.open(Ue.method.toUpperCase(),Ue.url,!0),hn.timeout=Ue.timeout;function vn(){if(!hn)return;const _n=AxiosHeaders.from("getAllResponseHeaders"in hn&&hn.getAllResponseHeaders()),kn={data:!Dt||Dt==="text"||Dt==="json"?hn.responseText:hn.response,status:hn.status,statusText:hn.statusText,headers:_n,config:xe,request:hn};settle(function(Sn){Ie(Sn),jt()},function(Sn){Fe(Sn),jt()},kn),hn=null}"onloadend"in hn?hn.onloadend=vn:hn.onreadystatechange=function(){!hn||hn.readyState!==4||hn.status===0&&!(hn.responseURL&&hn.responseURL.indexOf("file:")===0)||setTimeout(vn)},hn.onabort=function(){hn&&(Fe(new AxiosError("Request aborted",AxiosError.ECONNABORTED,Ue,hn)),hn=null)},hn.onerror=function(){Fe(new AxiosError("Network Error",AxiosError.ERR_NETWORK,Ue,hn)),hn=null},hn.ontimeout=function(){let wn=Ue.timeout?"timeout of "+Ue.timeout+"ms exceeded":"timeout exceeded";const kn=Ue.transitional||transitionalDefaults;Ue.timeoutErrorMessage&&(wn=Ue.timeoutErrorMessage),Fe(new AxiosError(wn,kn.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,Ue,hn)),hn=null},qe===void 0&&At.setContentType(null),"setRequestHeader"in hn&&utils$1.forEach(At.toJSON(),function(wn,kn){hn.setRequestHeader(kn,wn)}),utils$1.isUndefined(Ue.withCredentials)||(hn.withCredentials=!!Ue.withCredentials),Dt&&Dt!=="json"&&(hn.responseType=Ue.responseType),typeof Ue.onDownloadProgress=="function"&&hn.addEventListener("progress",progressEventReducer(Ue.onDownloadProgress,!0)),typeof Ue.onUploadProgress=="function"&&hn.upload&&hn.upload.addEventListener("progress",progressEventReducer(Ue.onUploadProgress)),(Ue.cancelToken||Ue.signal)&&(Lt=_n=>{hn&&(Fe(!_n||_n.type?new CanceledError(null,xe,hn):_n),hn.abort(),hn=null)},Ue.cancelToken&&Ue.cancelToken.subscribe(Lt),Ue.signal&&(Ue.signal.aborted?Lt():Ue.signal.addEventListener("abort",Lt)));const bn=parseProtocol(Ue.url);if(bn&&platform$1.protocols.indexOf(bn)===-1){Fe(new AxiosError("Unsupported protocol "+bn+":",AxiosError.ERR_BAD_REQUEST,xe));return}hn.send(qe||null)})},composeSignals=(xe,$e)=>{let Ie=new AbortController,Fe;const Ue=function(Lt){if(!Fe){Fe=!0,At();const jt=Lt instanceof Error?Lt:this.reason;Ie.abort(jt instanceof AxiosError?jt:new CanceledError(jt instanceof Error?jt.message:jt))}};let qe=$e&&setTimeout(()=>{Ue(new AxiosError(`timeout ${$e} of ms exceeded`,AxiosError.ETIMEDOUT))},$e);const At=()=>{xe&&(qe&&clearTimeout(qe),qe=null,xe.forEach(Lt=>{Lt&&(Lt.removeEventListener?Lt.removeEventListener("abort",Ue):Lt.unsubscribe(Ue))}),xe=null)};xe.forEach(Lt=>Lt&&Lt.addEventListener&&Lt.addEventListener("abort",Ue));const{signal:Dt}=Ie;return Dt.unsubscribe=At,[Dt,()=>{qe&&clearTimeout(qe),qe=null}]},streamChunk=function*(xe,$e){let Ie=xe.byteLength;if(!$e||Ie<$e){yield xe;return}let Fe=0,Ue;for(;Fe{const qe=readBytes(xe,$e,Ue);let At=0;return new ReadableStream({type:"bytes",async pull(Dt){const{done:Lt,value:jt}=await qe.next();if(Lt){Dt.close(),Fe();return}let hn=jt.byteLength;Ie&&Ie(At+=hn),Dt.enqueue(new Uint8Array(jt))},cancel(Dt){return Fe(Dt),qe.return()}},{highWaterMark:2})},fetchProgressDecorator=(xe,$e)=>{const Ie=xe!=null;return Fe=>setTimeout(()=>$e({lengthComputable:Ie,total:xe,loaded:Fe}))},isFetchSupported=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",isReadableStreamSupported=isFetchSupported&&typeof ReadableStream=="function",encodeText=isFetchSupported&&(typeof TextEncoder=="function"?(xe=>$e=>xe.encode($e))(new TextEncoder):async xe=>new Uint8Array(await new Response(xe).arrayBuffer())),supportsRequestStream=isReadableStreamSupported&&(()=>{let xe=!1;const $e=new Request(platform$1.origin,{body:new ReadableStream,method:"POST",get duplex(){return xe=!0,"half"}}).headers.has("Content-Type");return xe&&!$e})(),DEFAULT_CHUNK_SIZE=64*1024,supportsResponseStream=isReadableStreamSupported&&!!(()=>{try{return utils$1.isReadableStream(new Response("").body)}catch{}})(),resolvers={stream:supportsResponseStream&&(xe=>xe.body)};isFetchSupported&&(xe=>{["text","arrayBuffer","blob","formData","stream"].forEach($e=>{!resolvers[$e]&&(resolvers[$e]=utils$1.isFunction(xe[$e])?Ie=>Ie[$e]():(Ie,Fe)=>{throw new AxiosError(`Response type '${$e}' is not supported`,AxiosError.ERR_NOT_SUPPORT,Fe)})})})(new Response);const getBodyLength=async xe=>{if(xe==null)return 0;if(utils$1.isBlob(xe))return xe.size;if(utils$1.isSpecCompliantForm(xe))return(await new Request(xe).arrayBuffer()).byteLength;if(utils$1.isArrayBufferView(xe))return xe.byteLength;if(utils$1.isURLSearchParams(xe)&&(xe=xe+""),utils$1.isString(xe))return(await encodeText(xe)).byteLength},resolveBodyLength=async(xe,$e)=>{const Ie=utils$1.toFiniteNumber(xe.getContentLength());return Ie??getBodyLength($e)},fetchAdapter=isFetchSupported&&(async xe=>{let{url:$e,method:Ie,data:Fe,signal:Ue,cancelToken:qe,timeout:At,onDownloadProgress:Dt,onUploadProgress:Lt,responseType:jt,headers:hn,withCredentials:vn="same-origin",fetchOptions:bn}=resolveConfig(xe);jt=jt?(jt+"").toLowerCase():"text";let[_n,wn]=Ue||qe||At?composeSignals([Ue,qe],At):[],kn,Cn;const Sn=()=>{!kn&&setTimeout(()=>{_n&&_n.unsubscribe()}),kn=!0};let xn;try{if(Lt&&supportsRequestStream&&Ie!=="get"&&Ie!=="head"&&(xn=await resolveBodyLength(hn,Fe))!==0){let $n=new Request($e,{method:"POST",body:Fe,duplex:"half"}),Pn;utils$1.isFormData(Fe)&&(Pn=$n.headers.get("content-type"))&&hn.setContentType(Pn),$n.body&&(Fe=trackStream($n.body,DEFAULT_CHUNK_SIZE,fetchProgressDecorator(xn,progressEventReducer(Lt)),null,encodeText))}utils$1.isString(vn)||(vn=vn?"cors":"omit"),Cn=new Request($e,{...bn,signal:_n,method:Ie.toUpperCase(),headers:hn.normalize().toJSON(),body:Fe,duplex:"half",withCredentials:vn});let En=await fetch(Cn);const Tn=supportsResponseStream&&(jt==="stream"||jt==="response");if(supportsResponseStream&&(Dt||Tn)){const $n={};["status","statusText","headers"].forEach(Nn=>{$n[Nn]=En[Nn]});const Pn=utils$1.toFiniteNumber(En.headers.get("content-length"));En=new Response(trackStream(En.body,DEFAULT_CHUNK_SIZE,Dt&&fetchProgressDecorator(Pn,progressEventReducer(Dt,!0)),Tn&&Sn,encodeText),$n)}jt=jt||"text";let An=await resolvers[utils$1.findKey(resolvers,jt)||"text"](En,xe);return!Tn&&Sn(),wn&&wn(),await new Promise(($n,Pn)=>{settle($n,Pn,{data:An,headers:AxiosHeaders.from(En.headers),status:En.status,statusText:En.statusText,config:xe,request:Cn})})}catch(En){throw Sn(),En&&En.name==="TypeError"&&/fetch/i.test(En.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,xe,Cn),{cause:En.cause||En}):AxiosError.from(En,En&&En.code,xe,Cn)}}),knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:fetchAdapter};utils$1.forEach(knownAdapters,(xe,$e)=>{if(xe){try{Object.defineProperty(xe,"name",{value:$e})}catch{}Object.defineProperty(xe,"adapterName",{value:$e})}});const renderReason=xe=>`- ${xe}`,isResolvedHandle=xe=>utils$1.isFunction(xe)||xe===null||xe===!1,adapters={getAdapter:xe=>{xe=utils$1.isArray(xe)?xe:[xe];const{length:$e}=xe;let Ie,Fe;const Ue={};for(let qe=0;qe<$e;qe++){Ie=xe[qe];let At;if(Fe=Ie,!isResolvedHandle(Ie)&&(Fe=knownAdapters[(At=String(Ie)).toLowerCase()],Fe===void 0))throw new AxiosError(`Unknown adapter '${At}'`);if(Fe)break;Ue[At||"#"+qe]=Fe}if(!Fe){const qe=Object.entries(Ue).map(([Dt,Lt])=>`adapter ${Dt} `+(Lt===!1?"is not supported by the environment":"is not available in the build"));let At=$e?qe.length>1?`since : `+qe.map(renderReason).join(` diff --git a/public/admin/assets/index-7C4DsIyW.css b/AIWebQuickDeploy/public/admin/assets/index-7C4DsIyW.css similarity index 100% rename from public/admin/assets/index-7C4DsIyW.css rename to AIWebQuickDeploy/public/admin/assets/index-7C4DsIyW.css diff --git a/public/admin/assets/index-D2gie-zN.js b/AIWebQuickDeploy/public/admin/assets/index-8uUs3y5b.js similarity index 98% rename from public/admin/assets/index-D2gie-zN.js rename to AIWebQuickDeploy/public/admin/assets/index-8uUs3y5b.js index 764d261..8888b6c 100644 --- a/public/admin/assets/index-D2gie-zN.js +++ b/AIWebQuickDeploy/public/admin/assets/index-8uUs3y5b.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{s as p,t as e,L as u,a as l,d as m,m as r,r as b,u as n,w as S}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const c=m.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new r("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new r("[~RPwxU~ZOp~~",11,15),new r("[~RPrsU~ZOn~~",11,14),new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),P=S.parser.configure({top:"SingleExpression"}),s=c.configure({props:[p({Text:e.content,Is:e.definitionOperator,AttributeName:e.attributeName,VueAttributeName:e.keyword,Identifier:e.variableName,"AttributeValue ScriptAttributeValue":e.attributeValue,Entity:e.character,"{{ }}":e.brace,"@ :":e.punctuation})]}),o={parser:P},Q=s.configure({wrap:n((O,t)=>O.name=="InterpolationContent"?o:null)}),g=s.configure({wrap:n((O,t)=>O.name=="AttributeScript"?o:null),top:"Attribute"}),y={parser:Q},R={parser:g},a=b();function i(O){return O.configure({dialect:"selfClosing",wrap:n(X)},"vue")}const T=i(a.language);function X(O,t){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(t.read(O.from,O.from+2))?R:null;case"Text":return y}return null}function q(O={}){let t=a;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof u))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new l(t.language==a.language?T:i(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["{",'"']}})])}export{q as vue,T as vueLanguage}; +import{s as p,t as e,L as u,a as l,d as m,m as r,r as b,u as n,w as S}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const c=m.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new r("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new r("[~RPwxU~ZOp~~",11,15),new r("[~RPrsU~ZOn~~",11,14),new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),P=S.parser.configure({top:"SingleExpression"}),s=c.configure({props:[p({Text:e.content,Is:e.definitionOperator,AttributeName:e.attributeName,VueAttributeName:e.keyword,Identifier:e.variableName,"AttributeValue ScriptAttributeValue":e.attributeValue,Entity:e.character,"{{ }}":e.brace,"@ :":e.punctuation})]}),o={parser:P},Q=s.configure({wrap:n((O,t)=>O.name=="InterpolationContent"?o:null)}),g=s.configure({wrap:n((O,t)=>O.name=="AttributeScript"?o:null),top:"Attribute"}),y={parser:Q},R={parser:g},a=b();function i(O){return O.configure({dialect:"selfClosing",wrap:n(X)},"vue")}const T=i(a.language);function X(O,t){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(t.read(O.from,O.from+2))?R:null;case"Text":return y}return null}function q(O={}){let t=a;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof u))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new l(t.language==a.language?T:i(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["{",'"']}})])}export{q as vue,T as vueLanguage}; diff --git a/public/admin/assets/index-D2-DvelZ.js b/AIWebQuickDeploy/public/admin/assets/index-B-e7m70K.js similarity index 54% rename from public/admin/assets/index-D2-DvelZ.js rename to AIWebQuickDeploy/public/admin/assets/index-B-e7m70K.js index 8827b8d..856c918 100644 --- a/public/admin/assets/index-D2-DvelZ.js +++ b/AIWebQuickDeploy/public/admin/assets/index-B-e7m70K.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js";import"./index-nGFMSQGw.js";import"./index-CyI3Kccs.js";export{o as default}; +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BgKLAU11.js";import"./HDialog.vue_vue_type_script_setup_true_lang-an5zbG4e.js";import"./index-6QRvoxq4.js";import"./HKbd-Be5shIQ7.js";export{o as default}; diff --git a/public/admin/assets/index-DHoGfsDt.js b/AIWebQuickDeploy/public/admin/assets/index-B0KIvOZu.js similarity index 97% rename from public/admin/assets/index-DHoGfsDt.js rename to AIWebQuickDeploy/public/admin/assets/index-B0KIvOZu.js index a0439f2..c23aff6 100644 --- a/public/admin/assets/index-DHoGfsDt.js +++ b/AIWebQuickDeploy/public/admin/assets/index-B0KIvOZu.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{s,t as r,d as n,L as o,i as P,c as a,f as Q,l as i,a as c}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const g=s({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,",":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),p=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:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[g],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),m=()=>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 l=o.define({name:"json",parser:p.configure({props:[P.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),Q.add({"Object Array":i})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function h(){return new c(l)}export{h as json,l as jsonLanguage,m as jsonParseLinter}; +import{s,t as r,d as n,L as o,i as P,c as a,f as Q,l as i,a as c}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const g=s({String:r.string,Number:r.number,"True False":r.bool,PropertyName:r.propertyName,Null:r.null,",":r.separator,"[ ]":r.squareBracket,"{ }":r.brace}),p=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:[["isolate",-2,6,11,""],["openedBy",7,"{",12,"["],["closedBy",8,"}",13,"]"]],propSources:[g],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),m=()=>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 l=o.define({name:"json",parser:p.configure({props:[P.add({Object:a({except:/^\s*\}/}),Array:a({except:/^\s*\]/})}),Q.add({"Object Array":i})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function h(){return new c(l)}export{h as json,l as jsonLanguage,m as jsonParseLinter}; diff --git a/public/admin/assets/index-CyI3Kccs.js b/AIWebQuickDeploy/public/admin/assets/index-B0yaT7Pj.js similarity index 98% rename from public/admin/assets/index-CyI3Kccs.js rename to AIWebQuickDeploy/public/admin/assets/index-B0yaT7Pj.js index ebf10b0..c2a4342 100644 --- a/public/admin/assets/index-CyI3Kccs.js +++ b/AIWebQuickDeploy/public/admin/assets/index-B0yaT7Pj.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{n as b,r as x,av as P,aw as T,X as A,ax as W,m as B,ay as R,az as _,aA as H,aB as z,a as I,aC as K,aD as V}from"./index-nGFMSQGw.js";function S(o){var l;const e=R(o);return(l=e==null?void 0:e.$el)!=null?l:e}const k=_?window:void 0,j=_?window.document:void 0,D=_?window.navigator:void 0;function F(...o){let l,e,v,a;if(typeof o[0]=="string"||Array.isArray(o[0])?([e,v,a]=o,l=k):[l,e,v,a]=o,!l)return W;Array.isArray(e)||(e=[e]),Array.isArray(v)||(v=[v]);const s=[],u=()=>{s.forEach(d=>d()),s.length=0},r=(d,t,m,h)=>(d.addEventListener(t,m,h),()=>d.removeEventListener(t,m,h)),f=A(()=>[S(l),R(a)],([d,t])=>{if(u(),!d)return;const m=H(t)?{...t}:t;s.push(...e.flatMap(h=>v.map(y=>r(d,h,y,m))))},{immediate:!0,flush:"post"}),p=()=>{f(),u()};return z(p),p}function N(){const o=x(!1),l=V();return l&&I(()=>{o.value=!0},l),o}function M(o){const l=N();return b(()=>(l.value,!!o()))}function O(o,l={}){const{controls:e=!1,navigator:v=D}=l,a=M(()=>v&&"permissions"in v);let s;const u=typeof o=="string"?{name:o}:o,r=x(),f=()=>{s&&(r.value=s.state)},p=K(async()=>{if(a.value){if(!s)try{s=await v.permissions.query(u),F(s,"change",f),f()}catch{r.value="prompt"}return s}});return p(),e?{state:r,isSupported:a,query:p}:r}function U(o={}){const{navigator:l=D,read:e=!1,source:v,copiedDuring:a=1500,legacy:s=!1}=o,u=M(()=>l&&"clipboard"in l),r=O("clipboard-read"),f=O("clipboard-write"),p=b(()=>u.value||s),d=x(""),t=x(!1),m=P(()=>t.value=!1,a);function h(){u.value&&n(r.value)?l.clipboard.readText().then(w=>{d.value=w}):d.value=c()}p.value&&e&&F(["copy","cut"],h);async function y(w=R(v)){p.value&&w!=null&&(u.value&&n(f.value)?await l.clipboard.writeText(w):i(w),d.value=w,t.value=!0,m.start())}function i(w){const g=document.createElement("textarea");g.value=w??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function c(){var w,g,E;return(E=(g=(w=document==null?void 0:document.getSelection)==null?void 0:w.call(document))==null?void 0:g.toString())!=null?E:""}function n(w){return w==="granted"||w==="prompt"}return{isSupported:p,text:d,copied:t,copy:y}}function $(o,l,e={}){const{window:v=k,...a}=e;let s;const u=M(()=>v&&"ResizeObserver"in v),r=()=>{s&&(s.disconnect(),s=void 0)},f=b(()=>Array.isArray(o)?o.map(t=>S(t)):[S(o)]),p=A(f,t=>{if(r(),u.value&&v){s=new ResizeObserver(l);for(const m of t)m&&s.observe(m,a)}},{immediate:!0,flush:"post"}),d=()=>{r(),p()};return z(d),{isSupported:u,stop:d}}function X(o,l={width:0,height:0},e={}){const{window:v=k,box:a="content-box"}=e,s=b(()=>{var t,m;return(m=(t=S(o))==null?void 0:t.namespaceURI)==null?void 0:m.includes("svg")}),u=x(l.width),r=x(l.height),{stop:f}=$(o,([t])=>{const m=a==="border-box"?t.borderBoxSize:a==="content-box"?t.contentBoxSize:t.devicePixelContentBoxSize;if(v&&s.value){const h=S(o);if(h){const y=h.getBoundingClientRect();u.value=y.width,r.value=y.height}}else if(m){const h=Array.isArray(m)?m:[m];u.value=h.reduce((y,{inlineSize:i})=>y+i,0),r.value=h.reduce((y,{blockSize:i})=>y+i,0)}else u.value=t.contentRect.width,r.value=t.contentRect.height},e);T(()=>{const t=S(o);t&&(u.value="offsetWidth"in t?t.offsetWidth:l.width,r.value="offsetHeight"in t?t.offsetHeight:l.height)});const p=A(()=>S(o),t=>{u.value=t?l.width:0,r.value=t?l.height:0});function d(){f(),p()}return{width:u,height:r,stop:d}}const L=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Q(o,l={}){const{document:e=j,autoExit:v=!1}=l,a=b(()=>{var n;return(n=S(o))!=null?n:e==null?void 0:e.querySelector("html")}),s=x(!1),u=b(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(n=>e&&n in e||a.value&&n in a.value)),r=b(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(n=>e&&n in e||a.value&&n in a.value)),f=b(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(n=>e&&n in e||a.value&&n in a.value)),p=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(n=>e&&n in e),d=M(()=>a.value&&e&&u.value!==void 0&&r.value!==void 0&&f.value!==void 0),t=()=>p?(e==null?void 0:e[p])===a.value:!1,m=()=>{if(f.value){if(e&&e[f.value]!=null)return e[f.value];{const n=a.value;if((n==null?void 0:n[f.value])!=null)return!!n[f.value]}}return!1};async function h(){if(!(!d.value||!s.value)){if(r.value)if((e==null?void 0:e[r.value])!=null)await e[r.value]();else{const n=a.value;(n==null?void 0:n[r.value])!=null&&await n[r.value]()}s.value=!1}}async function y(){if(!d.value||s.value)return;m()&&await h();const n=a.value;u.value&&(n==null?void 0:n[u.value])!=null&&(await n[u.value](),s.value=!0)}async function i(){await(s.value?h():y())}const c=()=>{const n=m();(!n||n&&t())&&(s.value=n)};return F(e,L,c,!1),F(()=>S(a),L,c,!1),v&&z(h),{isSupported:d,isFullscreen:s,enter:y,exit:h,toggle:i}}const G={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Y(o={}){const{reactive:l=!1,target:e=k,aliasMap:v=G,passive:a=!0,onEventFired:s=W}=o,u=B(new Set),r={toJSON(){return{}},current:u},f=l?B(r):r,p=new Set,d=new Set;function t(i,c){i in f&&(l?f[i]=c:f[i].value=c)}function m(){u.clear();for(const i of d)t(i,!1)}function h(i,c){var n,w;const g=(n=i.key)==null?void 0:n.toLowerCase(),q=[(w=i.code)==null?void 0:w.toLowerCase(),g].filter(Boolean);g&&(c?u.add(g):u.delete(g));for(const C of q)d.add(C),t(C,c);g==="meta"&&!c?(p.forEach(C=>{u.delete(C),t(C,!1)}),p.clear()):typeof i.getModifierState=="function"&&i.getModifierState("Meta")&&c&&[...u,...q].forEach(C=>p.add(C))}F(e,"keydown",i=>(h(i,!0),s(i)),{passive:a}),F(e,"keyup",i=>(h(i,!1),s(i)),{passive:a}),F("blur",m,{passive:!0}),F("focus",m,{passive:!0});const y=new Proxy(f,{get(i,c,n){if(typeof c!="string")return Reflect.get(i,c,n);if(c=c.toLowerCase(),c in v&&(c=v[c]),!(c in f))if(/[+_-]/.test(c)){const g=c.split(/[+_-]/g).map(E=>E.trim());f[c]=b(()=>g.every(E=>R(y[E])))}else f[c]=x(!1);const w=Reflect.get(i,c,n);return l?R(w):w}});return y}export{U as a,Y as b,Q as c,X as u}; +import{n as b,r as x,av as P,aw as T,X as A,ax as W,m as B,ay as R,az as _,aA as H,aB as z,a as I,aC as K,aD as V}from"./index-6QRvoxq4.js";function S(o){var l;const e=R(o);return(l=e==null?void 0:e.$el)!=null?l:e}const k=_?window:void 0,j=_?window.document:void 0,D=_?window.navigator:void 0;function F(...o){let l,e,v,a;if(typeof o[0]=="string"||Array.isArray(o[0])?([e,v,a]=o,l=k):[l,e,v,a]=o,!l)return W;Array.isArray(e)||(e=[e]),Array.isArray(v)||(v=[v]);const s=[],u=()=>{s.forEach(d=>d()),s.length=0},r=(d,t,m,h)=>(d.addEventListener(t,m,h),()=>d.removeEventListener(t,m,h)),f=A(()=>[S(l),R(a)],([d,t])=>{if(u(),!d)return;const m=H(t)?{...t}:t;s.push(...e.flatMap(h=>v.map(y=>r(d,h,y,m))))},{immediate:!0,flush:"post"}),p=()=>{f(),u()};return z(p),p}function N(){const o=x(!1),l=V();return l&&I(()=>{o.value=!0},l),o}function M(o){const l=N();return b(()=>(l.value,!!o()))}function O(o,l={}){const{controls:e=!1,navigator:v=D}=l,a=M(()=>v&&"permissions"in v);let s;const u=typeof o=="string"?{name:o}:o,r=x(),f=()=>{s&&(r.value=s.state)},p=K(async()=>{if(a.value){if(!s)try{s=await v.permissions.query(u),F(s,"change",f),f()}catch{r.value="prompt"}return s}});return p(),e?{state:r,isSupported:a,query:p}:r}function U(o={}){const{navigator:l=D,read:e=!1,source:v,copiedDuring:a=1500,legacy:s=!1}=o,u=M(()=>l&&"clipboard"in l),r=O("clipboard-read"),f=O("clipboard-write"),p=b(()=>u.value||s),d=x(""),t=x(!1),m=P(()=>t.value=!1,a);function h(){u.value&&n(r.value)?l.clipboard.readText().then(w=>{d.value=w}):d.value=c()}p.value&&e&&F(["copy","cut"],h);async function y(w=R(v)){p.value&&w!=null&&(u.value&&n(f.value)?await l.clipboard.writeText(w):i(w),d.value=w,t.value=!0,m.start())}function i(w){const g=document.createElement("textarea");g.value=w??"",g.style.position="absolute",g.style.opacity="0",document.body.appendChild(g),g.select(),document.execCommand("copy"),g.remove()}function c(){var w,g,E;return(E=(g=(w=document==null?void 0:document.getSelection)==null?void 0:w.call(document))==null?void 0:g.toString())!=null?E:""}function n(w){return w==="granted"||w==="prompt"}return{isSupported:p,text:d,copied:t,copy:y}}function $(o,l,e={}){const{window:v=k,...a}=e;let s;const u=M(()=>v&&"ResizeObserver"in v),r=()=>{s&&(s.disconnect(),s=void 0)},f=b(()=>Array.isArray(o)?o.map(t=>S(t)):[S(o)]),p=A(f,t=>{if(r(),u.value&&v){s=new ResizeObserver(l);for(const m of t)m&&s.observe(m,a)}},{immediate:!0,flush:"post"}),d=()=>{r(),p()};return z(d),{isSupported:u,stop:d}}function X(o,l={width:0,height:0},e={}){const{window:v=k,box:a="content-box"}=e,s=b(()=>{var t,m;return(m=(t=S(o))==null?void 0:t.namespaceURI)==null?void 0:m.includes("svg")}),u=x(l.width),r=x(l.height),{stop:f}=$(o,([t])=>{const m=a==="border-box"?t.borderBoxSize:a==="content-box"?t.contentBoxSize:t.devicePixelContentBoxSize;if(v&&s.value){const h=S(o);if(h){const y=h.getBoundingClientRect();u.value=y.width,r.value=y.height}}else if(m){const h=Array.isArray(m)?m:[m];u.value=h.reduce((y,{inlineSize:i})=>y+i,0),r.value=h.reduce((y,{blockSize:i})=>y+i,0)}else u.value=t.contentRect.width,r.value=t.contentRect.height},e);T(()=>{const t=S(o);t&&(u.value="offsetWidth"in t?t.offsetWidth:l.width,r.value="offsetHeight"in t?t.offsetHeight:l.height)});const p=A(()=>S(o),t=>{u.value=t?l.width:0,r.value=t?l.height:0});function d(){f(),p()}return{width:u,height:r,stop:d}}const L=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function Q(o,l={}){const{document:e=j,autoExit:v=!1}=l,a=b(()=>{var n;return(n=S(o))!=null?n:e==null?void 0:e.querySelector("html")}),s=x(!1),u=b(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(n=>e&&n in e||a.value&&n in a.value)),r=b(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(n=>e&&n in e||a.value&&n in a.value)),f=b(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(n=>e&&n in e||a.value&&n in a.value)),p=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(n=>e&&n in e),d=M(()=>a.value&&e&&u.value!==void 0&&r.value!==void 0&&f.value!==void 0),t=()=>p?(e==null?void 0:e[p])===a.value:!1,m=()=>{if(f.value){if(e&&e[f.value]!=null)return e[f.value];{const n=a.value;if((n==null?void 0:n[f.value])!=null)return!!n[f.value]}}return!1};async function h(){if(!(!d.value||!s.value)){if(r.value)if((e==null?void 0:e[r.value])!=null)await e[r.value]();else{const n=a.value;(n==null?void 0:n[r.value])!=null&&await n[r.value]()}s.value=!1}}async function y(){if(!d.value||s.value)return;m()&&await h();const n=a.value;u.value&&(n==null?void 0:n[u.value])!=null&&(await n[u.value](),s.value=!0)}async function i(){await(s.value?h():y())}const c=()=>{const n=m();(!n||n&&t())&&(s.value=n)};return F(e,L,c,!1),F(()=>S(a),L,c,!1),v&&z(h),{isSupported:d,isFullscreen:s,enter:y,exit:h,toggle:i}}const G={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};function Y(o={}){const{reactive:l=!1,target:e=k,aliasMap:v=G,passive:a=!0,onEventFired:s=W}=o,u=B(new Set),r={toJSON(){return{}},current:u},f=l?B(r):r,p=new Set,d=new Set;function t(i,c){i in f&&(l?f[i]=c:f[i].value=c)}function m(){u.clear();for(const i of d)t(i,!1)}function h(i,c){var n,w;const g=(n=i.key)==null?void 0:n.toLowerCase(),q=[(w=i.code)==null?void 0:w.toLowerCase(),g].filter(Boolean);g&&(c?u.add(g):u.delete(g));for(const C of q)d.add(C),t(C,c);g==="meta"&&!c?(p.forEach(C=>{u.delete(C),t(C,!1)}),p.clear()):typeof i.getModifierState=="function"&&i.getModifierState("Meta")&&c&&[...u,...q].forEach(C=>p.add(C))}F(e,"keydown",i=>(h(i,!0),s(i)),{passive:a}),F(e,"keyup",i=>(h(i,!1),s(i)),{passive:a}),F("blur",m,{passive:!0}),F("focus",m,{passive:!0});const y=new Proxy(f,{get(i,c,n){if(typeof c!="string")return Reflect.get(i,c,n);if(c=c.toLowerCase(),c in v&&(c=v[c]),!(c in f))if(/[+_-]/.test(c)){const g=c.split(/[+_-]/g).map(E=>E.trim());f[c]=b(()=>g.every(E=>R(y[E])))}else f[c]=x(!1);const w=Reflect.get(i,c,n);return l?R(w):w}});return y}export{U as a,Y as b,Q as c,X as u}; diff --git a/public/admin/assets/index-B9lYkwfU.css b/AIWebQuickDeploy/public/admin/assets/index-B9lYkwfU.css similarity index 100% rename from public/admin/assets/index-B9lYkwfU.css rename to AIWebQuickDeploy/public/admin/assets/index-B9lYkwfU.css diff --git a/public/admin/assets/index-BE-LteFu.js b/AIWebQuickDeploy/public/admin/assets/index-BE-LteFu.js similarity index 100% rename from public/admin/assets/index-BE-LteFu.js rename to AIWebQuickDeploy/public/admin/assets/index-BE-LteFu.js diff --git a/public/admin/assets/index-CeCYhShg.js b/AIWebQuickDeploy/public/admin/assets/index-BE5tQEZB.js similarity index 83% rename from public/admin/assets/index-CeCYhShg.js rename to AIWebQuickDeploy/public/admin/assets/index-BE5tQEZB.js index 8bce0c6..f059f27 100644 --- a/public/admin/assets/index-CeCYhShg.js +++ b/AIWebQuickDeploy/public/admin/assets/index-BE5tQEZB.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{l as t,g as s,c,P as r}from"./index-nGFMSQGw.js";const n={},o={class:"flex items-center text-sm"};function a(e,d){return s(),c("div",o,[r(e.$slots,"default",{},void 0,!0)])}const l=t(n,[["render",a],["__scopeId","data-v-57b61e27"]]);export{l as default}; +import{l as t,g as s,c,P as r}from"./index-6QRvoxq4.js";const n={},o={class:"flex items-center text-sm"};function a(e,d){return s(),c("div",o,[r(e.$slots,"default",{},void 0,!0)])}const l=t(n,[["render",a],["__scopeId","data-v-57b61e27"]]);export{l as default}; diff --git a/public/admin/assets/index-Bh_8enQz.js b/AIWebQuickDeploy/public/admin/assets/index-BFk93msl.js similarity index 99% rename from public/admin/assets/index-Bh_8enQz.js rename to AIWebQuickDeploy/public/admin/assets/index-BFk93msl.js index 0c534e5..f5e2688 100644 --- a/public/admin/assets/index-Bh_8enQz.js +++ b/AIWebQuickDeploy/public/admin/assets/index-BFk93msl.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -var w=Object.defineProperty;var _=(O,e,a)=>e in O?w(O,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):O[e]=a;var q=(O,e,a)=>(_(O,typeof e!="symbol"?e+"":e,a),a);import{C as L,b as k,s as B,t as P,d as M,L as E,i as j,k as D,f as A,l as H,a as N}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const f=63,p=64,u=1,I=2,y=3,F=4,Y=5,K=6,J=7,z=65,OO=66,eO=8,aO=9,rO=10,QO=11,PO=12,G=13,tO=19,oO=20,nO=29,sO=33,lO=34,fO=47,cO=0,T=1,g=2,d=3,x=4,i=class i{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}};q(i,"top",new i(null,-1,cO));let s=i;function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let t=O.peek(r);if(o(t)||t==-1)return a}}function m(O){return O==32||O==9}function o(O){return O==10||O==13}function V(O){return m(O)||o(O)}function l(O){return O<0||V(O)}const XO=new L({start:s.top,reduce(O,e){return O.type==d&&(e==oO||e==lO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),T);if(e==z||e==Y)return new s(O,X(r,r.pos),g);if(e==f)return O.parent;if(e==tO||e==sO)return new s(O,0,d);if(e==G&&O.type==x)return O.parent;if(e==fO){let t=/[1-9]/.exec(r.read(r.pos,a.pos));if(t)return new s(O,O.depth+ +t[0],x)}return O},hash(O){return O.hash}});function c(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const dO=new k((O,e)=>{if(O.next==-1&&e.canShift(p))return O.acceptToken(p);let a=O.peek(-1);if((o(a)||a<0)&&e.context.type!=d){if(c(O,45))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(u,3);if(c(O,46))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(I,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(J));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?F:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?K:Y);else{let a=O.pos;for(;;)if(m(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)C(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(h(O,!0))break;return}else if(O.next==91||O.next==123){if(!iO(O))return;break}else{Z(O,!0,!1,0);break}for(;m(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(nO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?OO:z,a)}}},{contextual:!0});function SO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function U(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function W(O,e){return O.next==37?(O.advance(),U(O.next)&&O.advance(),U(O.next)&&O.advance(),!0):SO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function C(O){if(O.advance(),O.next==60){for(O.advance();;)if(!W(O,!0)){O.next==62&&O.advance();break}}else for(;W(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.tag)!="f";)O.advance()}function h(O,e){let a=O.next,r=!1,t=O.pos;for(O.advance();;){let Q=O.next;if(Q<0)break;if(O.advance(),Q==a)if(Q==39)if(O.next==39)O.advance();else break;else break;else if(Q==92&&a==34)O.next>=0&&O.advance();else if(o(Q)){if(e)return!1;r=!0}else if(e&&O.pos>=t+1024)return!1}return!r}function iO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!h(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||o(O.next))return!1;O.advance()}}const kO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":kO[O-33]}function b(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function Z(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&b(O.peek(1),a))O.advance();else return!1;let t=O.pos;for(;;){let Q=O.next,n=0,R=r+1;for(;V(Q);){if(o(Q)){if(e)return!1;R=0}else R++;Q=O.peek(++n)}if(!(Q>=0&&(Q==58?b(O.peek(n+1),a):Q==35?O.peek(n-1)!=32:b(Q,a)))||!a&&R<=r||R==0&&!a&&(c(O,45,n)||c(O,46,n)))break;if(e&&S(Q)=="f")return!1;for(let v=n;v>=0;v--)O.advance();if(e&&O.pos>t+1024)return!1}return!0}const bO=new k((O,e)=>{if(O.next==33)C(O),O.acceptToken(PO);else if(O.next==38||O.next==42){let a=O.next==38?rO:QO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(h(O,!1),O.acceptToken(aO)):Z(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(eO)}),gO=new k((O,e)=>{let a=e.context.type==x?e.context.depth:-1,r=O.pos;O:for(;;){let t=0,Q=O.next;for(;Q==32;)Q=O.peek(++t);if(!t&&(c(O,45,t)||c(O,46,t))||!o(Q)&&(a<0&&(a=Math.max(e.context.depth+1,t)),tYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:XO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[xO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[dO,RO,bO,gO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),$O=E.define({name:"yaml",parser:mO.configure({props:[j.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:D({closing:"}"}),FlowSequence:D({closing:"]"})}),A.add({"FlowMapping FlowSequence":H,"BlockSequence BlockMapping BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function DO(){return new N($O)}export{DO as yaml,$O as yamlLanguage}; +var w=Object.defineProperty;var _=(O,e,a)=>e in O?w(O,e,{enumerable:!0,configurable:!0,writable:!0,value:a}):O[e]=a;var q=(O,e,a)=>(_(O,typeof e!="symbol"?e+"":e,a),a);import{C as L,b as k,s as B,t as P,d as M,L as E,i as j,k as D,f as A,l as H,a as N}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const f=63,p=64,u=1,I=2,y=3,F=4,Y=5,K=6,J=7,z=65,OO=66,eO=8,aO=9,rO=10,QO=11,PO=12,G=13,tO=19,oO=20,nO=29,sO=33,lO=34,fO=47,cO=0,T=1,g=2,d=3,x=4,i=class i{constructor(e,a,r){this.parent=e,this.depth=a,this.type=r,this.hash=(e?e.hash+e.hash<<8:0)+a+(a<<4)+r}};q(i,"top",new i(null,-1,cO));let s=i;function X(O,e){for(let a=0,r=e-O.pos-1;;r--,a++){let t=O.peek(r);if(o(t)||t==-1)return a}}function m(O){return O==32||O==9}function o(O){return O==10||O==13}function V(O){return m(O)||o(O)}function l(O){return O<0||V(O)}const XO=new L({start:s.top,reduce(O,e){return O.type==d&&(e==oO||e==lO)?O.parent:O},shift(O,e,a,r){if(e==y)return new s(O,X(r,r.pos),T);if(e==z||e==Y)return new s(O,X(r,r.pos),g);if(e==f)return O.parent;if(e==tO||e==sO)return new s(O,0,d);if(e==G&&O.type==x)return O.parent;if(e==fO){let t=/[1-9]/.exec(r.read(r.pos,a.pos));if(t)return new s(O,O.depth+ +t[0],x)}return O},hash(O){return O.hash}});function c(O,e,a=0){return O.peek(a)==e&&O.peek(a+1)==e&&O.peek(a+2)==e&&l(O.peek(a+3))}const dO=new k((O,e)=>{if(O.next==-1&&e.canShift(p))return O.acceptToken(p);let a=O.peek(-1);if((o(a)||a<0)&&e.context.type!=d){if(c(O,45))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(u,3);if(c(O,46))if(e.canShift(f))O.acceptToken(f);else return O.acceptToken(I,3);let r=0;for(;O.next==32;)r++,O.advance();(r{if(e.context.type==d){O.next==63&&(O.advance(),l(O.next)&&O.acceptToken(J));return}if(O.next==45)O.advance(),l(O.next)&&O.acceptToken(e.context.type==T&&e.context.depth==X(O,O.pos-1)?F:y);else if(O.next==63)O.advance(),l(O.next)&&O.acceptToken(e.context.type==g&&e.context.depth==X(O,O.pos-1)?K:Y);else{let a=O.pos;for(;;)if(m(O.next)){if(O.pos==a)return;O.advance()}else if(O.next==33)C(O);else if(O.next==38)$(O);else if(O.next==42){$(O);break}else if(O.next==39||O.next==34){if(h(O,!0))break;return}else if(O.next==91||O.next==123){if(!iO(O))return;break}else{Z(O,!0,!1,0);break}for(;m(O.next);)O.advance();if(O.next==58){if(O.pos==a&&e.canShift(nO))return;let r=O.peek(1);l(r)&&O.acceptTokenTo(e.context.type==g&&e.context.depth==X(O,a)?OO:z,a)}}},{contextual:!0});function SO(O){return O>32&&O<127&&O!=34&&O!=37&&O!=44&&O!=60&&O!=62&&O!=92&&O!=94&&O!=96&&O!=123&&O!=124&&O!=125}function U(O){return O>=48&&O<=57||O>=97&&O<=102||O>=65&&O<=70}function W(O,e){return O.next==37?(O.advance(),U(O.next)&&O.advance(),U(O.next)&&O.advance(),!0):SO(O.next)||e&&O.next==44?(O.advance(),!0):!1}function C(O){if(O.advance(),O.next==60){for(O.advance();;)if(!W(O,!0)){O.next==62&&O.advance();break}}else for(;W(O,!1););}function $(O){for(O.advance();!l(O.next)&&S(O.tag)!="f";)O.advance()}function h(O,e){let a=O.next,r=!1,t=O.pos;for(O.advance();;){let Q=O.next;if(Q<0)break;if(O.advance(),Q==a)if(Q==39)if(O.next==39)O.advance();else break;else break;else if(Q==92&&a==34)O.next>=0&&O.advance();else if(o(Q)){if(e)return!1;r=!0}else if(e&&O.pos>=t+1024)return!1}return!r}function iO(O){for(let e=[],a=O.pos+1024;;)if(O.next==91||O.next==123)e.push(O.next),O.advance();else if(O.next==39||O.next==34){if(!h(O,!0))return!1}else if(O.next==93||O.next==125){if(e[e.length-1]!=O.next-2)return!1;if(e.pop(),O.advance(),!e.length)return!0}else{if(O.next<0||O.pos>a||o(O.next))return!1;O.advance()}}const kO="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif";function S(O){return O<33?"u":O>125?"s":kO[O-33]}function b(O,e){let a=S(O);return a!="u"&&!(e&&a=="f")}function Z(O,e,a,r){if(S(O.next)=="s"||(O.next==63||O.next==58||O.next==45)&&b(O.peek(1),a))O.advance();else return!1;let t=O.pos;for(;;){let Q=O.next,n=0,R=r+1;for(;V(Q);){if(o(Q)){if(e)return!1;R=0}else R++;Q=O.peek(++n)}if(!(Q>=0&&(Q==58?b(O.peek(n+1),a):Q==35?O.peek(n-1)!=32:b(Q,a)))||!a&&R<=r||R==0&&!a&&(c(O,45,n)||c(O,46,n)))break;if(e&&S(Q)=="f")return!1;for(let v=n;v>=0;v--)O.advance();if(e&&O.pos>t+1024)return!1}return!0}const bO=new k((O,e)=>{if(O.next==33)C(O),O.acceptToken(PO);else if(O.next==38||O.next==42){let a=O.next==38?rO:QO;$(O),O.acceptToken(a)}else O.next==39||O.next==34?(h(O,!1),O.acceptToken(aO)):Z(O,!1,e.context.type==d,e.context.depth)&&O.acceptToken(eO)}),gO=new k((O,e)=>{let a=e.context.type==x?e.context.depth:-1,r=O.pos;O:for(;;){let t=0,Q=O.next;for(;Q==32;)Q=O.peek(++t);if(!t&&(c(O,45,t)||c(O,46,t))||!o(Q)&&(a<0&&(a=Math.max(e.context.depth+1,t)),tYAN>Y",stateData:";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",goto:",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",nodeNames:"⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",maxTerm:74,context:XO,nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],propSources:[xO],skippedNodes:[0],repeatNodeCount:6,tokenData:"-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",tokenizers:[dO,RO,bO,gO,0,1],topRules:{Stream:[0,15]},tokenPrec:0}),$O=E.define({name:"yaml",parser:mO.configure({props:[j.add({Stream:O=>{for(let e=O.node.resolve(O.pos,-1);e&&e.to>=O.pos;e=e.parent){if(e.name=="BlockLiteralContent"&&e.fromO.pos)return null}}return null},FlowMapping:D({closing:"}"}),FlowSequence:D({closing:"]"})}),A.add({"FlowMapping FlowSequence":H,"BlockSequence BlockMapping BlockLiteral":(O,e)=>({from:e.doc.lineAt(O.from).to,to:O.to})})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}});function DO(){return new N($O)}export{DO as yaml,$O as yamlLanguage}; diff --git a/public/admin/assets/index-FnTzkwYe.js b/AIWebQuickDeploy/public/admin/assets/index-BLLHBlas.js similarity index 95% rename from public/admin/assets/index-FnTzkwYe.js rename to AIWebQuickDeploy/public/admin/assets/index-BLLHBlas.js index 8bb078c..99baf38 100644 --- a/public/admin/assets/index-FnTzkwYe.js +++ b/AIWebQuickDeploy/public/admin/assets/index-BLLHBlas.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as w,N as A,u as P,a8 as B,r as I,X as N,a as D,af as T,g,z as J,b1 as R,i as t,w as u,b as n,h as c,e as s,c as v,A as V,Q as S,D as O,cx as j,j as z,_ as L,cy as E,R as Q,S as X,l as F}from"./index-nGFMSQGw.js";import{_ as G}from"./HInput.vue_vue_type_script_setup_true_lang-DzYqFXwU.js";import{_ as K}from"./HCheckList.vue_vue_type_script_setup_true_lang-BdsCC1UG.js";import{_ as W}from"./HToggle.vue_vue_type_script_setup_true_lang-iKBpmqsT.js";import{_ as Y}from"./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js";import{_ as Z}from"./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js";import{a as ee}from"./index-CyI3Kccs.js";/* empty css */import"./use-resolve-button-type-CVaAVCZ2.js";const i=f=>(Q("data-v-7df0dc7f"),f=f(),X(),f),te=i(()=>s("div",{class:"rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose"},[s("p",{class:"my-1"}," 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "),s("p",{class:"my-1"},"注意:在生产环境中应关闭该模块。")],-1)),se=i(()=>s("div",{class:"divider"},"颜色主题风格",-1)),le={class:"flex items-center justify-center pb-4"},oe={key:0,class:"divider"},ne={key:1,class:"menu-mode"},ie=i(()=>s("div",{class:"mode-container"},null,-1)),de=[ie],ae=i(()=>s("div",{class:"mode-container"},null,-1)),ue=[ae],me=i(()=>s("div",{class:"mode-container"},null,-1)),ce=[me],re=i(()=>s("div",{class:"divider"},"导航栏",-1)),ge={class:"setting-item"},_e={class:"label"},be={class:"setting-item"},pe={class:"label"},ve={class:"setting-item"},Ve=i(()=>s("div",{class:"label"},"次导航是否折叠",-1)),fe={key:2,class:"setting-item"},he=i(()=>s("div",{class:"label"},"显示次导航折叠按钮",-1)),ye={class:"setting-item"},Se=i(()=>s("div",{class:"label"},"是否启用快捷键",-1)),Ue=i(()=>s("div",{class:"divider"},"顶栏",-1)),ke={class:"setting-item"},xe=i(()=>s("div",{class:"label"},"模式",-1)),Me=i(()=>s("div",{class:"divider"},"标签栏",-1)),Ce={class:"setting-item"},He=i(()=>s("div",{class:"label"},"是否启用",-1)),qe={class:"setting-item"},$e=i(()=>s("div",{class:"label"},"是否显示图标",-1)),we={class:"setting-item"},Ae=i(()=>s("div",{class:"label"},"是否启用快捷键",-1)),Pe=i(()=>s("div",{class:"divider"},"工具栏",-1)),Be={key:3,class:"setting-item"},Ie=i(()=>s("div",{class:"label"},"面包屑导航",-1)),Ne={class:"setting-item"},De={class:"label"},Te={key:4,class:"setting-item"},Je=i(()=>s("div",{class:"label"},"全屏",-1)),Re={class:"setting-item"},Oe={class:"label"},je={class:"setting-item"},ze={class:"label"},Le=i(()=>s("div",{class:"divider"},"页面",-1)),Ee={class:"setting-item"},Qe=i(()=>s("div",{class:"label"},"是否启用快捷键",-1)),Xe=i(()=>s("div",{class:"divider"},"导航搜索",-1)),Fe={class:"setting-item"},Ge=i(()=>s("div",{class:"label"},"是否启用快捷键",-1)),Ke=i(()=>s("div",{class:"divider"},"底部版权",-1)),We={class:"setting-item"},Ye=i(()=>s("div",{class:"label"},"是否启用",-1)),Ze={class:"setting-item"},et=i(()=>s("div",{class:"label"},"日期",-1)),tt={class:"setting-item"},st=i(()=>s("div",{class:"label"},"公司",-1)),lt={class:"setting-item"},ot=i(()=>s("div",{class:"label"},"网址",-1)),nt={class:"setting-item"},it=i(()=>s("div",{class:"label"},"备案",-1)),dt=i(()=>s("div",{class:"divider"},"主页",-1)),at={class:"setting-item"},ut={class:"label"},mt={class:"setting-item"},ct={class:"label"},rt=i(()=>s("div",{class:"divider"},"其它",-1)),gt={class:"setting-item"},_t=i(()=>s("div",{class:"label"},"是否启用权限",-1)),bt={class:"setting-item"},pt={class:"label"},vt={class:"setting-item"},Vt={class:"label"},ft=w({name:"AppSetting",__name:"index",setup(f){const x=A(),e=P(),U=B(),_=I(!1);N(()=>e.settings.menu.menuMode,r=>{r==="single"?U.setActived(0):U.setActived(x.fullPath)}),D(()=>{T.on("global-app-setting-toggle",()=>{_.value=!_.value})});const{copy:M,copied:ht,isSupported:C}=ee();function h(r){return typeof r=="object"&&!Array.isArray(r)}function k(r,l){if(!h(r)||!h(l))return l;const b={};for(const a in l){const m=r[a],d=l[a];if(JSON.stringify(m)!==JSON.stringify(d))if(h(m)&&h(d)){const y=k(m,d);Object.keys(y).length>0&&(b[a]=y)}else b[a]=d}return b}function H(){M(JSON.stringify(k(j,e.settings),null,2))}return(r,l)=>{const b=Z,a=Y,m=z,d=W,y=K,p=G,q=L,$=E;return g(),J($,{modelValue:t(_),"onUpdate:modelValue":l[30]||(l[30]=o=>O(_)?_.value=o:null),title:"应用配置"},R({default:u(()=>[te,se,s("div",le,[n(b,{modelValue:t(e).settings.app.colorScheme,"onUpdate:modelValue":l[0]||(l[0]=o=>t(e).settings.app.colorScheme=o),options:[{icon:"i-ri:sun-line",label:"明亮",value:"light"},{icon:"i-ri:moon-line",label:"暗黑",value:"dark"},{icon:"i-codicon:color-mode",label:"系统",value:""}],class:"w-60"},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",oe,"导航栏模式")):V("",!0),t(e).mode==="pc"?(g(),v("div",ne,[n(a,{text:"侧边栏模式 (含主导航)",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:S(["mode mode-side",{active:t(e).settings.menu.menuMode==="side"}]),onClick:l[1]||(l[1]=o=>t(e).settings.menu.menuMode="side")},de,2)]),_:1}),n(a,{text:"顶部模式",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:S(["mode mode-head",{active:t(e).settings.menu.menuMode==="head"}]),onClick:l[2]||(l[2]=o=>t(e).settings.menu.menuMode="head")},ue,2)]),_:1}),n(a,{text:"侧边栏模式 (不含主导航)",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:S(["mode mode-single",{active:t(e).settings.menu.menuMode==="single"}]),onClick:l[3]||(l[3]=o=>t(e).settings.menu.menuMode="single")},ce,2)]),_:1})])):V("",!0),re,s("div",ge,[s("div",_e,[c(" 主导航切换跳转 "),n(a,{text:"开启该功能后,切换主导航时,页面自动跳转至该主导航下,次导航里第一个导航"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.menu.switchMainMenuAndPageJump,"onUpdate:modelValue":l[4]||(l[4]=o=>t(e).settings.menu.switchMainMenuAndPageJump=o),disabled:["single"].includes(t(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),s("div",be,[s("div",pe,[c(" 次导航保持展开一个 "),n(a,{text:"开启该功能后,次导航只保持单个菜单的展开"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.menu.subMenuUniqueOpened,"onUpdate:modelValue":l[5]||(l[5]=o=>t(e).settings.menu.subMenuUniqueOpened=o)},null,8,["modelValue"])]),s("div",ve,[Ve,n(d,{modelValue:t(e).settings.menu.subMenuCollapse,"onUpdate:modelValue":l[6]||(l[6]=o=>t(e).settings.menu.subMenuCollapse=o)},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",fe,[he,n(d,{modelValue:t(e).settings.menu.enableSubMenuCollapseButton,"onUpdate:modelValue":l[7]||(l[7]=o=>t(e).settings.menu.enableSubMenuCollapseButton=o)},null,8,["modelValue"])])):V("",!0),s("div",ye,[Se,n(d,{modelValue:t(e).settings.menu.enableHotkeys,"onUpdate:modelValue":l[8]||(l[8]=o=>t(e).settings.menu.enableHotkeys=o),disabled:["single"].includes(t(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),Ue,s("div",ke,[xe,n(y,{modelValue:t(e).settings.topbar.mode,"onUpdate:modelValue":l[9]||(l[9]=o=>t(e).settings.topbar.mode=o),options:[{label:"静止",value:"static"},{label:"固定",value:"fixed"},{label:"粘性",value:"sticky"}]},null,8,["modelValue"])]),s("div",null,[Me,s("div",Ce,[He,n(d,{modelValue:t(e).settings.tabbar.enable,"onUpdate:modelValue":l[10]||(l[10]=o=>t(e).settings.tabbar.enable=o)},null,8,["modelValue"])]),s("div",qe,[$e,n(d,{modelValue:t(e).settings.tabbar.enableIcon,"onUpdate:modelValue":l[11]||(l[11]=o=>t(e).settings.tabbar.enableIcon=o),disabled:!t(e).settings.tabbar.enable},null,8,["modelValue","disabled"])]),s("div",we,[Ae,n(d,{modelValue:t(e).settings.tabbar.enableHotkeys,"onUpdate:modelValue":l[12]||(l[12]=o=>t(e).settings.tabbar.enableHotkeys=o),disabled:!t(e).settings.tabbar.enable},null,8,["modelValue","disabled"])])]),Pe,t(e).mode==="pc"?(g(),v("div",Be,[Ie,n(d,{modelValue:t(e).settings.toolbar.breadcrumb,"onUpdate:modelValue":l[13]||(l[13]=o=>t(e).settings.toolbar.breadcrumb=o)},null,8,["modelValue"])])):V("",!0),s("div",Ne,[s("div",De,[c(" 导航搜索 "),n(a,{text:"对导航进行快捷搜索"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.toolbar.navSearch,"onUpdate:modelValue":l[14]||(l[14]=o=>t(e).settings.toolbar.navSearch=o)},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",Te,[Je,n(d,{modelValue:t(e).settings.toolbar.fullscreen,"onUpdate:modelValue":l[15]||(l[15]=o=>t(e).settings.toolbar.fullscreen=o)},null,8,["modelValue"])])):V("",!0),s("div",Re,[s("div",Oe,[c(" 页面刷新 "),n(a,{text:"使用框架内提供的刷新功能进行页面刷新"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.toolbar.pageReload,"onUpdate:modelValue":l[16]||(l[16]=o=>t(e).settings.toolbar.pageReload=o)},null,8,["modelValue"])]),s("div",je,[s("div",ze,[c(" 颜色主题 "),n(a,{text:"开启后可在明亮/暗黑模式中切换"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.toolbar.colorScheme,"onUpdate:modelValue":l[17]||(l[17]=o=>t(e).settings.toolbar.colorScheme=o)},null,8,["modelValue"])]),Le,s("div",Ee,[Qe,n(d,{modelValue:t(e).settings.mainPage.enableHotkeys,"onUpdate:modelValue":l[18]||(l[18]=o=>t(e).settings.mainPage.enableHotkeys=o)},null,8,["modelValue"])]),Xe,s("div",Fe,[Ge,n(d,{modelValue:t(e).settings.navSearch.enableHotkeys,"onUpdate:modelValue":l[19]||(l[19]=o=>t(e).settings.navSearch.enableHotkeys=o),disabled:!t(e).settings.toolbar.navSearch},null,8,["modelValue","disabled"])]),Ke,s("div",We,[Ye,n(d,{modelValue:t(e).settings.copyright.enable,"onUpdate:modelValue":l[20]||(l[20]=o=>t(e).settings.copyright.enable=o)},null,8,["modelValue"])]),s("div",Ze,[et,n(p,{modelValue:t(e).settings.copyright.dates,"onUpdate:modelValue":l[21]||(l[21]=o=>t(e).settings.copyright.dates=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",tt,[st,n(p,{modelValue:t(e).settings.copyright.company,"onUpdate:modelValue":l[22]||(l[22]=o=>t(e).settings.copyright.company=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",lt,[ot,n(p,{modelValue:t(e).settings.copyright.website,"onUpdate:modelValue":l[23]||(l[23]=o=>t(e).settings.copyright.website=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",nt,[it,n(p,{modelValue:t(e).settings.copyright.beian,"onUpdate:modelValue":l[24]||(l[24]=o=>t(e).settings.copyright.beian=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),dt,s("div",at,[s("div",ut,[c(" 是否启用 "),n(a,{text:"该功能开启时,登录成功默认进入主页,反之则默认进入导航栏里第一个导航页面"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.home.enable,"onUpdate:modelValue":l[25]||(l[25]=o=>t(e).settings.home.enable=o)},null,8,["modelValue"])]),s("div",mt,[s("div",ct,[c(" 主页名称 "),n(a,{text:"开启国际化时,该设置无效"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(p,{modelValue:t(e).settings.home.title,"onUpdate:modelValue":l[26]||(l[26]=o=>t(e).settings.home.title=o)},null,8,["modelValue"])]),rt,s("div",gt,[_t,n(d,{modelValue:t(e).settings.app.enablePermission,"onUpdate:modelValue":l[27]||(l[27]=o=>t(e).settings.app.enablePermission=o)},null,8,["modelValue"])]),s("div",bt,[s("div",pt,[c(" 载入进度条 "),n(a,{text:"该功能开启时,跳转路由会看到页面顶部有进度条"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.app.enableProgress,"onUpdate:modelValue":l[28]||(l[28]=o=>t(e).settings.app.enableProgress=o)},null,8,["modelValue"])]),s("div",vt,[s("div",Vt,[c(" 动态标题 "),n(a,{text:"该功能开启时,页面标题会显示当前路由标题,格式为“页面标题 - 网站名称”;关闭时则显示网站名称,网站名称在项目根目录下 .env.* 文件里配置"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.app.enableDynamicTitle,"onUpdate:modelValue":l[29]||(l[29]=o=>t(e).settings.app.enableDynamicTitle=o)},null,8,["modelValue"])])]),_:2},[t(C)?{name:"footer",fn:u(()=>[n(q,{block:"",onClick:H},{default:u(()=>[n(m,{name:"i-ep:document-copy"}),c(" 复制配置 ")]),_:1})]),key:"0"}:void 0]),1032,["modelValue"])}}}),$t=F(ft,[["__scopeId","data-v-7df0dc7f"]]);export{$t as default}; +import{d as w,N as A,u as P,a8 as B,r as I,X as N,a as D,af as T,g,z as J,b1 as R,i as t,w as u,b as n,h as c,e as s,c as v,A as V,Q as S,D as O,cx as j,j as z,_ as L,cy as E,R as Q,S as X,l as F}from"./index-6QRvoxq4.js";import{_ as G}from"./HInput.vue_vue_type_script_setup_true_lang-B93h6qE_.js";import{_ as K}from"./HCheckList.vue_vue_type_script_setup_true_lang-BLNEihme.js";import{_ as W}from"./HToggle.vue_vue_type_script_setup_true_lang-CHjOk9yp.js";import{_ as Y}from"./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js";import{_ as Z}from"./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js";import{a as ee}from"./index-B0yaT7Pj.js";/* empty css */import"./use-resolve-button-type-BE1XPlJv.js";const i=f=>(Q("data-v-7df0dc7f"),f=f(),X(),f),te=i(()=>s("div",{class:"rounded-2 bg-rose/20 px-4 py-2 text-sm/6 c-rose"},[s("p",{class:"my-1"}," 应用配置可实时预览效果,但只是临时生效,要想真正应用于项目,可以点击下方的「复制配置」按钮,并将配置粘贴到 src/settings.ts 文件中。 "),s("p",{class:"my-1"},"注意:在生产环境中应关闭该模块。")],-1)),se=i(()=>s("div",{class:"divider"},"颜色主题风格",-1)),le={class:"flex items-center justify-center pb-4"},oe={key:0,class:"divider"},ne={key:1,class:"menu-mode"},ie=i(()=>s("div",{class:"mode-container"},null,-1)),de=[ie],ae=i(()=>s("div",{class:"mode-container"},null,-1)),ue=[ae],me=i(()=>s("div",{class:"mode-container"},null,-1)),ce=[me],re=i(()=>s("div",{class:"divider"},"导航栏",-1)),ge={class:"setting-item"},_e={class:"label"},be={class:"setting-item"},pe={class:"label"},ve={class:"setting-item"},Ve=i(()=>s("div",{class:"label"},"次导航是否折叠",-1)),fe={key:2,class:"setting-item"},he=i(()=>s("div",{class:"label"},"显示次导航折叠按钮",-1)),ye={class:"setting-item"},Se=i(()=>s("div",{class:"label"},"是否启用快捷键",-1)),Ue=i(()=>s("div",{class:"divider"},"顶栏",-1)),ke={class:"setting-item"},xe=i(()=>s("div",{class:"label"},"模式",-1)),Me=i(()=>s("div",{class:"divider"},"标签栏",-1)),Ce={class:"setting-item"},He=i(()=>s("div",{class:"label"},"是否启用",-1)),qe={class:"setting-item"},$e=i(()=>s("div",{class:"label"},"是否显示图标",-1)),we={class:"setting-item"},Ae=i(()=>s("div",{class:"label"},"是否启用快捷键",-1)),Pe=i(()=>s("div",{class:"divider"},"工具栏",-1)),Be={key:3,class:"setting-item"},Ie=i(()=>s("div",{class:"label"},"面包屑导航",-1)),Ne={class:"setting-item"},De={class:"label"},Te={key:4,class:"setting-item"},Je=i(()=>s("div",{class:"label"},"全屏",-1)),Re={class:"setting-item"},Oe={class:"label"},je={class:"setting-item"},ze={class:"label"},Le=i(()=>s("div",{class:"divider"},"页面",-1)),Ee={class:"setting-item"},Qe=i(()=>s("div",{class:"label"},"是否启用快捷键",-1)),Xe=i(()=>s("div",{class:"divider"},"导航搜索",-1)),Fe={class:"setting-item"},Ge=i(()=>s("div",{class:"label"},"是否启用快捷键",-1)),Ke=i(()=>s("div",{class:"divider"},"底部版权",-1)),We={class:"setting-item"},Ye=i(()=>s("div",{class:"label"},"是否启用",-1)),Ze={class:"setting-item"},et=i(()=>s("div",{class:"label"},"日期",-1)),tt={class:"setting-item"},st=i(()=>s("div",{class:"label"},"公司",-1)),lt={class:"setting-item"},ot=i(()=>s("div",{class:"label"},"网址",-1)),nt={class:"setting-item"},it=i(()=>s("div",{class:"label"},"备案",-1)),dt=i(()=>s("div",{class:"divider"},"主页",-1)),at={class:"setting-item"},ut={class:"label"},mt={class:"setting-item"},ct={class:"label"},rt=i(()=>s("div",{class:"divider"},"其它",-1)),gt={class:"setting-item"},_t=i(()=>s("div",{class:"label"},"是否启用权限",-1)),bt={class:"setting-item"},pt={class:"label"},vt={class:"setting-item"},Vt={class:"label"},ft=w({name:"AppSetting",__name:"index",setup(f){const x=A(),e=P(),U=B(),_=I(!1);N(()=>e.settings.menu.menuMode,r=>{r==="single"?U.setActived(0):U.setActived(x.fullPath)}),D(()=>{T.on("global-app-setting-toggle",()=>{_.value=!_.value})});const{copy:M,copied:ht,isSupported:C}=ee();function h(r){return typeof r=="object"&&!Array.isArray(r)}function k(r,l){if(!h(r)||!h(l))return l;const b={};for(const a in l){const m=r[a],d=l[a];if(JSON.stringify(m)!==JSON.stringify(d))if(h(m)&&h(d)){const y=k(m,d);Object.keys(y).length>0&&(b[a]=y)}else b[a]=d}return b}function H(){M(JSON.stringify(k(j,e.settings),null,2))}return(r,l)=>{const b=Z,a=Y,m=z,d=W,y=K,p=G,q=L,$=E;return g(),J($,{modelValue:t(_),"onUpdate:modelValue":l[30]||(l[30]=o=>O(_)?_.value=o:null),title:"应用配置"},R({default:u(()=>[te,se,s("div",le,[n(b,{modelValue:t(e).settings.app.colorScheme,"onUpdate:modelValue":l[0]||(l[0]=o=>t(e).settings.app.colorScheme=o),options:[{icon:"i-ri:sun-line",label:"明亮",value:"light"},{icon:"i-ri:moon-line",label:"暗黑",value:"dark"},{icon:"i-codicon:color-mode",label:"系统",value:""}],class:"w-60"},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",oe,"导航栏模式")):V("",!0),t(e).mode==="pc"?(g(),v("div",ne,[n(a,{text:"侧边栏模式 (含主导航)",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:S(["mode mode-side",{active:t(e).settings.menu.menuMode==="side"}]),onClick:l[1]||(l[1]=o=>t(e).settings.menu.menuMode="side")},de,2)]),_:1}),n(a,{text:"顶部模式",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:S(["mode mode-head",{active:t(e).settings.menu.menuMode==="head"}]),onClick:l[2]||(l[2]=o=>t(e).settings.menu.menuMode="head")},ue,2)]),_:1}),n(a,{text:"侧边栏模式 (不含主导航)",placement:"bottom",delay:500},{default:u(()=>[s("div",{class:S(["mode mode-single",{active:t(e).settings.menu.menuMode==="single"}]),onClick:l[3]||(l[3]=o=>t(e).settings.menu.menuMode="single")},ce,2)]),_:1})])):V("",!0),re,s("div",ge,[s("div",_e,[c(" 主导航切换跳转 "),n(a,{text:"开启该功能后,切换主导航时,页面自动跳转至该主导航下,次导航里第一个导航"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.menu.switchMainMenuAndPageJump,"onUpdate:modelValue":l[4]||(l[4]=o=>t(e).settings.menu.switchMainMenuAndPageJump=o),disabled:["single"].includes(t(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),s("div",be,[s("div",pe,[c(" 次导航保持展开一个 "),n(a,{text:"开启该功能后,次导航只保持单个菜单的展开"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.menu.subMenuUniqueOpened,"onUpdate:modelValue":l[5]||(l[5]=o=>t(e).settings.menu.subMenuUniqueOpened=o)},null,8,["modelValue"])]),s("div",ve,[Ve,n(d,{modelValue:t(e).settings.menu.subMenuCollapse,"onUpdate:modelValue":l[6]||(l[6]=o=>t(e).settings.menu.subMenuCollapse=o)},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",fe,[he,n(d,{modelValue:t(e).settings.menu.enableSubMenuCollapseButton,"onUpdate:modelValue":l[7]||(l[7]=o=>t(e).settings.menu.enableSubMenuCollapseButton=o)},null,8,["modelValue"])])):V("",!0),s("div",ye,[Se,n(d,{modelValue:t(e).settings.menu.enableHotkeys,"onUpdate:modelValue":l[8]||(l[8]=o=>t(e).settings.menu.enableHotkeys=o),disabled:["single"].includes(t(e).settings.menu.menuMode)},null,8,["modelValue","disabled"])]),Ue,s("div",ke,[xe,n(y,{modelValue:t(e).settings.topbar.mode,"onUpdate:modelValue":l[9]||(l[9]=o=>t(e).settings.topbar.mode=o),options:[{label:"静止",value:"static"},{label:"固定",value:"fixed"},{label:"粘性",value:"sticky"}]},null,8,["modelValue"])]),s("div",null,[Me,s("div",Ce,[He,n(d,{modelValue:t(e).settings.tabbar.enable,"onUpdate:modelValue":l[10]||(l[10]=o=>t(e).settings.tabbar.enable=o)},null,8,["modelValue"])]),s("div",qe,[$e,n(d,{modelValue:t(e).settings.tabbar.enableIcon,"onUpdate:modelValue":l[11]||(l[11]=o=>t(e).settings.tabbar.enableIcon=o),disabled:!t(e).settings.tabbar.enable},null,8,["modelValue","disabled"])]),s("div",we,[Ae,n(d,{modelValue:t(e).settings.tabbar.enableHotkeys,"onUpdate:modelValue":l[12]||(l[12]=o=>t(e).settings.tabbar.enableHotkeys=o),disabled:!t(e).settings.tabbar.enable},null,8,["modelValue","disabled"])])]),Pe,t(e).mode==="pc"?(g(),v("div",Be,[Ie,n(d,{modelValue:t(e).settings.toolbar.breadcrumb,"onUpdate:modelValue":l[13]||(l[13]=o=>t(e).settings.toolbar.breadcrumb=o)},null,8,["modelValue"])])):V("",!0),s("div",Ne,[s("div",De,[c(" 导航搜索 "),n(a,{text:"对导航进行快捷搜索"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.toolbar.navSearch,"onUpdate:modelValue":l[14]||(l[14]=o=>t(e).settings.toolbar.navSearch=o)},null,8,["modelValue"])]),t(e).mode==="pc"?(g(),v("div",Te,[Je,n(d,{modelValue:t(e).settings.toolbar.fullscreen,"onUpdate:modelValue":l[15]||(l[15]=o=>t(e).settings.toolbar.fullscreen=o)},null,8,["modelValue"])])):V("",!0),s("div",Re,[s("div",Oe,[c(" 页面刷新 "),n(a,{text:"使用框架内提供的刷新功能进行页面刷新"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.toolbar.pageReload,"onUpdate:modelValue":l[16]||(l[16]=o=>t(e).settings.toolbar.pageReload=o)},null,8,["modelValue"])]),s("div",je,[s("div",ze,[c(" 颜色主题 "),n(a,{text:"开启后可在明亮/暗黑模式中切换"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.toolbar.colorScheme,"onUpdate:modelValue":l[17]||(l[17]=o=>t(e).settings.toolbar.colorScheme=o)},null,8,["modelValue"])]),Le,s("div",Ee,[Qe,n(d,{modelValue:t(e).settings.mainPage.enableHotkeys,"onUpdate:modelValue":l[18]||(l[18]=o=>t(e).settings.mainPage.enableHotkeys=o)},null,8,["modelValue"])]),Xe,s("div",Fe,[Ge,n(d,{modelValue:t(e).settings.navSearch.enableHotkeys,"onUpdate:modelValue":l[19]||(l[19]=o=>t(e).settings.navSearch.enableHotkeys=o),disabled:!t(e).settings.toolbar.navSearch},null,8,["modelValue","disabled"])]),Ke,s("div",We,[Ye,n(d,{modelValue:t(e).settings.copyright.enable,"onUpdate:modelValue":l[20]||(l[20]=o=>t(e).settings.copyright.enable=o)},null,8,["modelValue"])]),s("div",Ze,[et,n(p,{modelValue:t(e).settings.copyright.dates,"onUpdate:modelValue":l[21]||(l[21]=o=>t(e).settings.copyright.dates=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",tt,[st,n(p,{modelValue:t(e).settings.copyright.company,"onUpdate:modelValue":l[22]||(l[22]=o=>t(e).settings.copyright.company=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",lt,[ot,n(p,{modelValue:t(e).settings.copyright.website,"onUpdate:modelValue":l[23]||(l[23]=o=>t(e).settings.copyright.website=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),s("div",nt,[it,n(p,{modelValue:t(e).settings.copyright.beian,"onUpdate:modelValue":l[24]||(l[24]=o=>t(e).settings.copyright.beian=o),disabled:!t(e).settings.copyright.enable},null,8,["modelValue","disabled"])]),dt,s("div",at,[s("div",ut,[c(" 是否启用 "),n(a,{text:"该功能开启时,登录成功默认进入主页,反之则默认进入导航栏里第一个导航页面"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.home.enable,"onUpdate:modelValue":l[25]||(l[25]=o=>t(e).settings.home.enable=o)},null,8,["modelValue"])]),s("div",mt,[s("div",ct,[c(" 主页名称 "),n(a,{text:"开启国际化时,该设置无效"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(p,{modelValue:t(e).settings.home.title,"onUpdate:modelValue":l[26]||(l[26]=o=>t(e).settings.home.title=o)},null,8,["modelValue"])]),rt,s("div",gt,[_t,n(d,{modelValue:t(e).settings.app.enablePermission,"onUpdate:modelValue":l[27]||(l[27]=o=>t(e).settings.app.enablePermission=o)},null,8,["modelValue"])]),s("div",bt,[s("div",pt,[c(" 载入进度条 "),n(a,{text:"该功能开启时,跳转路由会看到页面顶部有进度条"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.app.enableProgress,"onUpdate:modelValue":l[28]||(l[28]=o=>t(e).settings.app.enableProgress=o)},null,8,["modelValue"])]),s("div",vt,[s("div",Vt,[c(" 动态标题 "),n(a,{text:"该功能开启时,页面标题会显示当前路由标题,格式为“页面标题 - 网站名称”;关闭时则显示网站名称,网站名称在项目根目录下 .env.* 文件里配置"},{default:u(()=>[n(m,{name:"i-ri:question-line"})]),_:1})]),n(d,{modelValue:t(e).settings.app.enableDynamicTitle,"onUpdate:modelValue":l[29]||(l[29]=o=>t(e).settings.app.enableDynamicTitle=o)},null,8,["modelValue"])])]),_:2},[t(C)?{name:"footer",fn:u(()=>[n(q,{block:"",onClick:H},{default:u(()=>[n(m,{name:"i-ep:document-copy"}),c(" 复制配置 ")]),_:1})]),key:"0"}:void 0]),1032,["modelValue"])}}}),$t=F(ft,[["__scopeId","data-v-7df0dc7f"]]);export{$t as default}; diff --git a/AIWebQuickDeploy/public/admin/assets/index-BRrAnYwh.js b/AIWebQuickDeploy/public/admin/assets/index-BRrAnYwh.js new file mode 100644 index 0000000..6ef4f81 --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/index-BRrAnYwh.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{d as o,u as i,g as r,c as a,e,b as t,y as n,M as m,i as c,l as p}from"./index-6QRvoxq4.js";import{_ as l}from"./leftSide.vue_vue_type_script_setup_true_lang-Dg-uHS6-.js";import{_}from"./rightSide.vue_vue_type_script_setup_true_lang-Bh_y80-_.js";import"./index-CbgLRpel.js";import"./index-BE5tQEZB.js";import"./item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js";import"./index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js";import"./HDropdown-7q7O_XMK.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js";import"./use-resolve-button-type-BE1XPlJv.js";import"./index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js";import"./index-B0yaT7Pj.js";import"./index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js";import"./HKbd-Be5shIQ7.js";import"./index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js";import"./useMainPage--yVtHxDh.js";const d={class:"toolbar-container flex items-center justify-between"},f={class:"h-full flex items-center of-hidden pl-2 pr-16",style:{"mask-image":"linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent)"}},u={class:"h-full flex items-center px-2"},h=o({name:"Toolbar",__name:"index",setup(x){const s=i();return(g,b)=>(r(),a("div",d,[e("div",f,[t(l)]),n(e("div",u,[t(_)],512),[[m,["side","single"].includes(c(s).settings.menu.menuMode)]])]))}}),z=p(h,[["__scopeId","data-v-6a8fd0ab"]]);export{z as default}; diff --git a/public/admin/assets/index-DaE0Gq3j.js b/AIWebQuickDeploy/public/admin/assets/index-BYOhJwby.js similarity index 99% rename from public/admin/assets/index-DaE0Gq3j.js rename to AIWebQuickDeploy/public/admin/assets/index-BYOhJwby.js index b098730..5941043 100644 --- a/public/admin/assets/index-DaE0Gq3j.js +++ b/AIWebQuickDeploy/public/admin/assets/index-BYOhJwby.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{b as a,s as o,t as Q,d as Z,L as _,i as q,c as r,f as l,l as w,a as V}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,v=102,t=114,p=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==p){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==v){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=o({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=Z.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#FgOOQO'#J`'#J`OOQV'#Io'#IoOA]Q_O'#InOEPQWO'#InOOQV'#Fw'#FwOF[QWO'#JuOFcQWO'#F|OOQO'#IO'#IOOGrQWO'#GhOOQV'#Im'#ImOOQV'#Il'#IlOOQV'#Hj'#HjQGyQ_OOOKeQ_O'#DUOKlQYO'#CqOOQP'#I_'#I_OOQV'#Hg'#HgQ]Q_OOOLuQWO'#I`ONsQYO'#DXO!!eQWO'#JuO!!lQWO'#JuO!!vQ_O'#DfO!%]Q_O'#E}O!(sQ_O'#FWO!,ZQWO'#FZO!.^QXO'#FbO!.cQ_O'#EeO!!vQ_O'#FmO!0uQWO'#FoO!0zQWO'#FoO!1PQ^O'#FqO!1WQWO'#JuO!1_QWO'#FtO!1dQWO'#FxO!2WQWO'#JjO!2_QWO'#GOO!2_QWO'#G`O!2_QWO'#GbO!2_QWO'#GsOOQO'#Ju'#JuO!2dQWO'#GhO!2lQYO'#GpO!2_QWO'#GqO!3uQ^O'#GtO!3|QWO'#GuO!4hQWO'#HOP!4sOpO'#CcPOOO)CC})CC}OOOO'#Hi'#HiO!5OO`O,59iOOQV,59i,59iO!5ZQYO,5?aOOQO-E;i-E;iOOQO,5:[,5:[OOQP,59Z,59ZO)xQWO,5:[O)xQWO,5:[O!5oQWO,5?kO!5zQYO,5;qO!6PQYO,5;TO!6hQWO,59QO!7kQXO'#CnO!7xQXO'#I`O!9SQWO'#CoO,^QWO'#EiOOQV-E;n-E;nO!9eQWO'#FsOOQV,5WQWO,5:fOOQP,5:h,5:hO!1PQ^O,5:hO!1PQ^O,5:mO$>]QYO,5gQ_O'#HsO$>tQXO,5@QOOQV1G1i1G1iOOQP,5:e,5:eO$>|QXO,5]QYO,5=vO$LRQWO'#KRO$L^QWO,5=xOOQR,5=y,5=yO$LcQWO,5=zO$>]QYO,5>PO$>]QYO,5>POOQO1G.w1G.wO$>]QYO1G.wO$LnQYO,5=pO$LvQZO,59^OOQR,59^,59^O$>]QYO,5=wO% YQZO,5=}OOQR,5=},5=}O%#lQWO1G/_O!6PQYO1G/_O#FYQYO1G2vO%#qQWO1G2vO%$PQYO1G2vOOQV1G/i1G/iO%%YQWO,5:SO%%bQ_O1G/lO%*kQWO1G1^O%+RQWO1G1hOOQO1G1h1G1hO$>]QYO1G1hO%+iQ^O'#EgOOQV1G0k1G0kOOQV1G1s1G1sO!!vQ_O1G1sO!0zQWO1G1uO!1PQ^O1G1wO!.cQ_O1G1wOOQP,5:j,5:jO$>]QYO1G/^OOQO'#Cn'#CnO%+vQWO1G1zOOQV1G2O1G2OO%,OQWO'#CnO%,WQWO1G3TO%,]QWO1G3TO%,bQYO'#GQO%,sQWO'#G]O%-UQYO'#G_O%.hQYO'#GXOOQV1G2U1G2UO%/wQWO1G2UO%/|QWO1G2UO$ARQWO1G2UOOQV1G2f1G2fO%/wQWO1G2fO#CpQWO1G2fO%0UQWO'#GdOOQV1G2h1G2hO%0gQWO1G2hO#C{QWO1G2hO%0lQYO'#GSO$>]QYO1G2lO$AdQWO1G2lOOQV1G2y1G2yO%1xQWO1G2yO%3hQ^O'#GkO%3rQWO1G2nO#DfQWO1G2nO%4QQYO,5]QYO1G2vOOQV1G2w1G2wO%5tQWO1G2wO%5yQWO1G2wO#HXQWO1G2wOOQV1G2z1G2zO.YQ_O1G2zO$>]QYO1G2zO%6RQWO1G2zOOQO,5>l,5>lOOQO-E]QYO1G3UPOOO-E;d-E;dPOOO1G.i1G.iOOQO7+*g7+*gO%7VQYO'#IcO%7nQYO'#IfO%7yQYO'#IfO%8RQYO'#IfO%8^QYO,59eOOQO7+%b7+%bOOQP7+$a7+$aO%8cQ!fO'#JTOOQS'#EX'#EXOOQS'#EY'#EYOOQS'#EZ'#EZOOQS'#JT'#JTO%;UQWO'#EWOOQS'#E`'#E`OOQS'#JR'#JROOQS'#Hn'#HnO%;ZQ!fO,5:oOOQV,5:o,5:oOOQV'#JQ'#JQO%;bQ!fO,5:{OOQV,5:{,5:{O%;iQ!fO,5:|OOQV,5:|,5:|OOQV7+'e7+'eOOQV7+&Z7+&ZO%;pQ!fO,59TOOQO,59T,59TO%>YQWO7+$WO%>_QWO1G1yOOQV1G1y1G1yO!9SQWO1G.uO%>dQWO,5?}O%>nQ_O'#HqO%@|QWO,5?}OOQO1G1X1G1XOOQO7+&}7+&}O%AUQWO,5>^OOQO-E;p-E;pO%AcQWO7+'OO.YQ_O7+'OOOQO7+'O7+'OOOQO7+'P7+'PO%AjQWO7+'POOQO7+'W7+'WOOQP1G0V1G0VO%ArQXO1G/tO!M{QWO1G/tO%BsQXO1G0RO%CkQ^O'#HlO%C{QWO,5?eOOQP1G/u1G/uO%DWQWO1G/uO%D]QWO'#D_OOQO'#Dt'#DtO%DhQWO'#DtO%DmQWO'#I{OOQO'#Iz'#IzO%DuQWO,5:_O%DzQWO'#DtO%EPQWO'#DtOOQP1G0Q1G0QOOQP1G0S1G0SOOQP1G0X1G0XO%EXQXO1G1jO%EdQXO'#FeOOQP,5>_,5>_O!1PQ^O'#FeOOQP-E;q-E;qO$>]QYO1G1jOOQO7+'S7+'SOOQO,5]QYO7+$xOOQV7+'j7+'jO%FsQWO7+(oO%FxQWO7+(oOOQV7+'p7+'pO%/wQWO7+'pO%F}QWO7+'pO%GVQWO7+'pOOQV7+(Q7+(QO%/wQWO7+(QO#CpQWO7+(QOOQV7+(S7+(SO%0gQWO7+(SO#C{QWO7+(SO$>]QYO7+(WO%GeQWO7+(WO#HUQYO7+(cO%GjQWO7+(YO#DfQWO7+(YOOQV7+(c7+(cO%5tQWO7+(cO%5yQWO7+(cO#HXQWO7+(cOOQV7+(g7+(gO$>]QYO7+(pO%GxQWO7+(pO!1dQWO7+(pOOQV7+$v7+$vO%G}QWO7+$vO%HSQZO1G3ZO%JfQWO1G4jOOQO1G4j1G4jOOQR1G.}1G.}O#.WQWO1G.}O%JkQWO'#KQOOQO'#HW'#HWO%J|QWO'#HXO%KXQWO'#KQOOQO'#KP'#KPO%KaQWO,5=qO%KfQYO'#H[O%LrQWO'#GmO%L}QYO'#CtO%MXQWO'#GmO$>]QYO1G3ZOOQR1G3g1G3gO#7aQWO1G3ZO%M^QZO1G3bO$>]QYO1G3bO& mQYO'#IVO& }QWO,5@mOOQR1G3d1G3dOOQR1G3f1G3fO.YQ_O1G3fOOQR1G3k1G3kO&!VQYO7+$cO&!_QYO'#KOOOQQ'#J}'#J}O&!gQYO1G3[O&!lQZO1G3cOOQQ7+$y7+$yO&${QWO7+$yO&%QQWO7+(bOOQV7+(b7+(bO%5tQWO7+(bO$>]QYO7+(bO#FYQYO7+(bO&%YQWO7+(bO!.cQ_O1G/nO&%hQWO7+%WO$?[QWO7+'SO&%pQWO'#EhO&%{Q^O'#EhOOQU'#Ho'#HoO&%{Q^O,5;ROOQV,5;R,5;RO&&VQWO,5;RO&&[Q^O,5;RO!0zQWO7+'_OOQV7+'a7+'aO&&iQWO7+'cO&&qQWO7+'cO&&xQWO7+$xO&'TQ!fO7+'fO&'[Q!fO7+'fOOQV7+(o7+(oO!1dQWO7+(oO&'cQYO,5]QYO'#JrOOQO'#Jq'#JqO&*YQWO,5]QYO'#GUO&,SQYO'#JkOOQQ,5]QYO7+(YO&0SQYO'#HxO&0hQYO1G2WOOQQ1G2W1G2WOOQQ,5]QYO,5]QYO7+(fO&1dQWO'#IRO&1nQWO,5@hOOQO1G3Q1G3QOOQO1G2}1G2}OOQO1G3P1G3POOQO1G3R1G3ROOQO1G3S1G3SOOQO1G3O1G3OO&1vQWO7+(pO$>]QYO,59fO&2RQ^O'#ISO&2xQYO,5?QOOQR1G/P1G/PO&3QQ!bO,5:pO&3VQ!fO,5:rOOQS-E;l-E;lOOQV1G0Z1G0ZOOQV1G0g1G0gOOQV1G0h1G0hO&3^QWO'#JTOOQO1G.o1G.oOOQV<]O&3qQWO,5>]OOQO-E;o-E;oOOQO<WOOQO-E;j-E;jOOQP7+%a7+%aO!1PQ^O,5:`O&5cQWO'#HmO&5wQWO,5?gOOQP1G/y1G/yOOQO,5:`,5:`O&6PQWO,5:`O%DzQWO,5:`O$>]QYO,5`,5>`OOQO-E;r-E;rOOQV7+'l7+'lO&6yQWO<]QYO<]QYO<]QYO<]QYO7+(uOOQO7+*U7+*UOOQR7+$i7+$iO&8cQWO,5@lOOQO'#Gm'#GmO&8kQWO'#GmO&8vQYO'#IUO&8cQWO,5@lOOQR1G3]1G3]O&:cQYO,5=vO&;rQYO,5=XO&;|QWO,5=XOOQO,5=X,5=XOOQR7+(u7+(uO&eQZO7+(|O&@tQWO,5>qOOQO-E]QYO<]QYO,5]QYO,5@^O&D^QYO'#H|O&EsQWO,5@^OOQO1G2e1G2eO%,nQWO,5]QYO,5PO&I]QYO,5@VOOQV<]QYO,5=WO&KuQWO,5@cO&K}QWO,5@cO&MvQ^O'#IPO&KuQWO,5@cOOQO1G2q1G2qO&NTQWO,5=WO&N]QWO<oO&NvQYO,5>dO' UQYO,5>dOOQQ,5>d,5>dOOQQ-E;v-E;vOOQQ7+'r7+'rO' aQYO1G2]O$>]QYO1G2^OOQV<m,5>mOOQO-EnOOQQ,5>n,5>nO'!fQYO,5>nOOQQ-EX,5>XOOQO-E;k-E;kO!1PQ^O1G/zOOQO1G/z1G/zO'%oQWO1G/zO'%tQXO1G1kO$>]QYO1G1kO'&PQWO7+'[OOQVANA`ANA`O'&ZQWOANA`O$>]QYOANA`O'&cQWOANA`OOQVAN>OAN>OO.YQ_OAN>OO'&qQWOANAuOOQVAN@vAN@vO'&vQWOAN@vOOQVANAWANAWOOQVANAYANAYOOQVANA^ANA^O'&{QWOANA^OOQVANAiANAiO%5tQWOANAiO%5yQWOANAiO''TQWOANA`OOQVANAvANAvO.YQ_OANAvO''cQWOANAvO$>]QYOANAvOOQR<pOOQO'#HY'#HYO''vQWO'#HZOOQO,5>p,5>pOOQO-E]QYO<o,5>oOOQQ-E]QYOANAhO'(bQWO1G1rO')UQ^O1G0nO.YQ_O1G0nO'*zQWO,5;UO'+RQWO1G0nP'+WQWO'#ERP&%{Q^O'#HpOOQV7+&X7+&XO'+cQWO7+&XO&&qQWOAN@iO'+hQWOAN>OO!5oQWO,5a,5>aO'+oQWOAN@lO'+tQWOAN@lOOQS-E;s-E;sOOQVAN@lAN@lO'+|QWOAN@lOOQVANAuANAuO',UQWO1G5vO',^QWO1G2dO$>]QYO1G2dO&'|QWO,5>gOOQO,5>g,5>gOOQO-E;y-E;yO',iQWO1G5xO',qQWO1G5xO&(nQYO,5>hO',|QWO,5>hO$>]QYO,5>hOOQO-E;z-E;zO'-XQWO'#JnOOQO1G2a1G2aOOQO,5>f,5>fOOQO-E;x-E;xO&'cQYO,5iOOQO,5>i,5>iOOQO-E;{-E;{OOQQ,5>c,5>cOOQQ-E;u-E;uO'.pQWO1G2sO'/QQWO1G2rO'/]QWO1G5}O'/eQ^O,5>kOOQO'#Go'#GoOOQO,5>k,5>kO'/lQWO,5>kOOQO-E;}-E;}O$>]QYO1G2rO'/zQYO7+'xO'0VQWOANAlOOQVANAlANAlO.YQ_OANAlO'0^QWOANAvOOQS7+%x7+%xO'0eQWO7+%xO'0pQ!fO7+%xO'0}QWO7+%fO!1PQ^O7+%fO'1YQXO7+'VOOQVG26zG26zO'1eQWOG26zO'1sQWOG26zO$>]QYOG26zO'1{QWOG23jOOQVG27aG27aOOQVG26bG26bOOQVG26xG26xOOQVG27TG27TO%5tQWOG27TO'2SQWOG27bOOQVG27bG27bO.YQ_OG27bO'2ZQWOG27bOOQO1G4[1G4[OOQO7+(_7+(_OOQRANA{ANA{OOQVG27SG27SO%5tQWOG27SO&0uQWOG27SO'2fQ^O7+&YO'4PQWO7+'^O'4sQ^O7+&YO.YQ_O7+&YP.YQ_O,5;SP'6PQWO,5;SP'6UQWO,5;SOOQV<]QYO1G4SO%,nQWO'#HyO'7UQWO,5@YO'7dQWO7+(VO.YQ_O7+(VOOQO1G4T1G4TOOQO1G4V1G4VO'7nQWO1G4VO'7|QWO7+(^OOQVG27WG27WO'8XQWOG27WOOQS<e,5>eOOQO-E;w-E;wO'?rQWO<wD_DpPDvHQPPPPPPK`P! P! _PPPPP!!VP!$oP!$oPP!&oP!(rP!(w!)n!*f!*f!*f!(w!+]P!(w!.Q!.TPP!.ZP!(w!(w!(w!(wP!(w!(wP!(w!(w!.y!/dP!/dJ}J}J}PPPP!/d!.y!/sPP!$oP!0^!0a!0g!1h!1t!3t!3t!5r!7t!1t!1t!9p!;_!=O!>k!@U!Am!CS!De!1t!1tP!1tP!1t!1t!Et!1tP!Ge!1t!1tP!Ie!1tP!1t!7t!7t!1t!7t!1t!Kl!Mt!Mw!7t!1t!Mz!M}!M}!M}!NR!$oP!$oP!$oP! P! PP!N]! P! PP!Ni# }! PP! PP#!^##c##k#$Z#$_#$e#$e#$mP#&s#&s#&y#'o#'{! PP! PP#(]#(l! PP! PPP#(x#)W#)d#)|#)^! P! PP! P! P! PP#*S#*S#*Y#*`#*S#*S! P! PP#*m#*v#+Q#+Q#,x#.l#.x#.x#.{#.{5a5a5a5a5a5a5a5aP5a#/O#/U#/p#1{#2R#2b#6^#6d#6j#6|#7W#8w#9R#9b#9h#9n#9x#:S#:Y#:g#:m#:s#:}#;]#;g#=u#>R#>`#>f#>n#>u#?PPPPPPPP#?V#BaP#F^#Jx#Ls#Nr$&^P$&aPPP$)_$)h$)z$/U$1d$1m$3fP!(w$4`$7r$:i$>T$>^$>c$>fPPP$>i$A`$A|P$BaPPPPPPPPPP$BvP$EU$EX$E[$Eb$Ee$Eh$Ek$En$Et$HO$HR$HU$HX$H[$H_$Hb$He$Hh$Hk$Hn$Jt$Jw$Jz#*S$KW$K^$Ka$Kd$Kh$Kl$Ko$KrQ!tPT'V!s'Wi!SOlm!P!T$T$W$y%b)U*f/gQ'i#QR,n'l(OSOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%X%_%b&U&Y&[&b&u&z&|'P'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n+z,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1P1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:gS(z$v-oQ*p&eQ*t&hQ-k(yQ-y)ZW0Z+Q0Y4Z7UR4Y0[&w!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#r]Ofgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hb#[b#Q$y'l(b)S)U*Z-t!h$bo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m$b%k!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g!W:y!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:|%n$_%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g$e%l!Q!n$O$u%n%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g'hZOY[fgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r%_%b%i%j&U&Y&[&b&u'a'}(W(Y(d(e(f(j(o(p(r(|)i)p)q*f*i*k*l+Z+n,s,z-R-T-g-m.i.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:x$^%l!Q!n$O$u%n%o%p%q%y%{&P&p&r(q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ&j!hQ&k!iQ&l!jQ&m!kQ&s!oQ)[%QQ)]%RQ)^%SQ)_%TQ)b%WQ+`&oS,R']1ZQ.W)`S/r*u4TR4n0s+yTOY[bfgilmop!O!P!Q!T!Y!Z![!_!`!c!n!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$O$T$W$`$a$e$g$h$q$r$u$y%X%_%b%i%j%n%o%p%q%y%{&P&U&Y&[&b&o&p&r&u&z&|'P']'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(q(r(|)S)U)i)p)q)s)x)y*O*P*R*V*Z*[*^*e*f*i*k*l*n*w*x+U+V+Z+h+n+o+z+},q,s,z-R-T-g-i-m-t-v.U.`.i.p.t.x.y.}/Z/[/^/b/d/g/{/}0`0e0g0m0r0w0}1O1P1Y1Z1h1r1y1|2a2h2j2m2s2v3V3_3a3f3h3k3u3{3|4R4U4W4_4c4e4h4t4v4|5[5`5d5g5t5v6R6Y6]6a6p6v6x7S7^7c7g7m7r7{8W8X8g8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:xQ'[!xQ'h#PQ)l%gU)r%m*T*WR.f)kQ,T']R5P1Z#t%s!Q!n$O$u%p%q&P&p&r(q)x)y*O*R*V*[*^*e*n*w+V+h+o+}-i-v.U.`.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2v3V3u3{3|4U4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)x%oQ+_&oQ,U']n,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7kS.q)s2sQ/O*PQ/Q*SQ/q*uS0Q*x4RQ0a+U[0o+Z.j0g4h5y7^Q2v.pS4d0e2rQ4m0sQ5Q1ZQ6T3RQ6z4PQ7O4TQ7X4_R9Y8h&jVOfgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u']'}(W(Y(b(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1Z1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fU&g!g%P%[o,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7k$nsOfgilm!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y'}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9z9{:O:P:Q:R:S:T:U:V:W:X:Y:eS$tp9xS&O!W#bS&Q!X#cQ&`!bQ*_&RQ*a&VS*d&[:fQ*h&^Q,T']Q-j(wQ/i*jQ0p+[S2f.X0qQ3]/_Q3^/`Q3g/hQ3i/kQ5P1ZU5b2R2g4lU7o5c5e5rQ8]6dS8u7p7qS9_8v8wR9i9`i{Ob!O!P!T$y%_%b)S)U)i-thxOb!O!P!T$y%_%b)S)U)i-tW/v*v/t3w6qQ/}*wW0[+Q0Y4Z7UQ3{/{Q6x3|R8g6v!h$do!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ&d!dQ&f!fQ&n!mW&x!q%X&|1PQ'S!rQ)X$}Q)Y%OQ)a%VU)d%Y'T'UQ*s&hS+s&z'PS-Y(k1sQ-u)WQ-x)ZS.a)e)fS0x+c/sQ1S+zQ1W+{S1v-_-`Q2k.bQ3s/pQ5]1xR5h2V${sOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$zsOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR3]/_V&T!Y!`*i!i$lo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!k$^o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!i$co!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&e^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR(l$fQ-[(kR5Y1sQ(S#|S({$v-oS-Z(k1sQ-l(yW/u*v/t3w6qS1w-_-`Q3v/vR5^1xQ'e#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,o'mk,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ'f#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,p'mR*g&]X/c*f/d/g3f!}aOb!O!P!T#z$v$y%_%b'}(y)S)U)i)s*f*v*w+Q+Z,s-o-t.j/b/d/g/t/{0Y0g1h2s3f3w3|4Z4h5y6a6q6v7U7^Q3`/aQ6_3bQ8Y6`R9V8Z${rOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#nfOfglmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!T9u!Y!_!`*i*l/^3h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#rfOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!X9u!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$srOfglmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#U#oh#d$P$Q$V$s%^&W&X'q't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b}:P&S&]/k3[6d:[:]:c:d:h:j:k:l:m:n:o:p:q:r:v:w:{#W#ph#d$P$Q$V$s%^&W&X'q'r't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b!P:Q&S&]/k3[6d:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{#S#qh#d$P$Q$V$s%^&W&X'q'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b{:R&S&]/k3[6d:[:]:c:d:h:k:l:m:n:o:p:q:r:v:w:{#Q#rh#d$P$Q$V$s%^&W&X'q'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9by:S&S&]/k3[6d:[:]:c:d:h:l:m:n:o:p:q:r:v:w:{#O#sh#d$P$Q$V$s%^&W&X'q'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bw:T&S&]/k3[6d:[:]:c:d:h:m:n:o:p:q:r:v:w:{!|#th#d$P$Q$V$s%^&W&X'q'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bu:U&S&]/k3[6d:[:]:c:d:h:n:o:p:q:r:v:w:{!x#vh#d$P$Q$V$s%^&W&X'q'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bq:W&S&]/k3[6d:[:]:c:d:h:p:q:r:v:w:{!v#wh#d$P$Q$V$s%^&W&X'q'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bo:X&S&]/k3[6d:[:]:c:d:h:q:r:v:w:{$]#{h#`#d$P$Q$V$s%^&S&W&X&]'q'r's't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n/k0z1i1l1}3P3[4w5V5a6^6d6e7R7e7h7s7y8j8q8{9[9b:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{${jOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$v!aOfgilmp!O!P!T!Y!Z!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ&Y![Q&Z!]R:e9{#rpOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hQ&[!^!W9x!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:f:zR$moR-f(rR$wqT(}$v-oQ/f*fS3d/d/gR6c3fQ3m/mQ3p/nQ6i3nR6l3qQ$zwQ)V${Q*q&fQ+f&qQ+i&sQ-w)YW.Z)b+j+k+lS/X*]+gW2b.W.[.].^U3W/Y/]0yU5o2c2d2eS6W3X3ZS7w5p5qS8Q6V6XQ8y7xS8}8R8SR9c9O^|O!O!P!T%_%b)iX)R$y)S)U-tQ&r!nQ*^&PQ*|&jQ+P&kQ+T&lQ+W&mQ+]&nQ+l&sQ-})[Q.Q)]Q.T)^Q.V)_Q.Y)aQ.^)bQ2S-uQ2e.WR4U0VU+a&o*u4TR4o0sQ+Y&mQ+k&sS.])b+l^0v+_+`/q/r4m4n7OS2d.W.^S4Q0R0SR5q2eS0R*x4RQ0a+UR7X4_U+d&o*u4TR4p0sQ*z&jQ+O&kQ+S&lQ+g&qQ+j&sS-{)[*|S.P)]+PS.S)^+TU.[)b+k+lQ/Y*]Q0X*{Q0q+[Q2X-|Q2Y-}Q2].QQ2_.TU2c.W.].^Q2g.XS3Z/]0yS5c2R4lQ5j2ZS5p2d2eQ6X3XS7q5e5rQ7x5qQ8R6VQ8v7pQ9O8SR9`8wQ0T*xR6|4RQ*y&jQ*}&kU-z)[*z*|U.O)]+O+PS2W-{-}S2[.P.QQ4X0ZQ5i2YQ5k2]R7T4YQ/w*vQ3t/tQ6r3wR8d6qQ*{&jS-|)[*|Q2Z-}Q4X0ZR7T4YQ+R&lU.R)^+S+TS2^.S.TR5l2_Q0]+QQ4V0YQ7V4ZR8l7UQ+[&nS.X)a+]S2R-u.YR5e2SQ0i+ZQ4f0gQ7`4hR8m7^Q.m)sQ0i+ZQ2p.jQ4f0gQ5|2sQ7`4hQ7}5yR8m7^Q0i+ZR4f0gX'O!q%X&|1PX&{!q%X&|1PW'O!q%X&|1PS+u&z'PR1U+z_|O!O!P!T%_%b)iQ%a!PS)h%_%bR.d)i$^%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ*U%yR*X%{$c%n!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gW)t%m%x*T*WQ.e)jR2{.vR.m)sR5|2sQ'W!sR,O'WQ!TOQ$TlQ$WmQ%b!P[%|!T$T$W%b)U/gQ)U$yR/g*f$b%i!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g[)n%i)p.i:`:t:xQ)p%jQ.i)qQ:`%nQ:t:aR:x:uQ!vUR'Y!vS!OO!TU%]!O%_)iQ%_!PR)i%b#rYOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hh!yY!|#U$`'a'n(d,q-R9s9|:gQ!|[b#Ub#Q$y'l(b)S)U*Z-t!h$`o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ'a!}Q'n#ZQ(d$aQ,q'oQ-R(e!W9s!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ9|9tR:g9}Q-U(gR1p-UQ1t-[R5Z1tQ,c'bQ,f'cQ,h'dW1`,c,f,h5UR5U1_Q/d*fS3c/d3fR3f/gfbO!O!P!T$y%_%b)S)U)i-tp#Wb'}(y.j/b/t/{0Y0g1h5y6a6q6v7U7^Q'}#zS(y$v-oQ.j)sW/b*f/d/g3fQ/t*vQ/{*wQ0Y+QQ0g+ZQ1h,sQ5y2sQ6q3wQ6v3|Q7U4ZR7^4hQ,t(OQ1g,rT1j,t1gS(X$Q([Q(^$VU,x(X(^,}R,}(`Q(s$mR-h(sQ-p)OR2P-pQ3n/mQ3q/nT6j3n3qQ)S$yS-r)S-tR-t)UQ4`0aR7Y4``0t+^+_+`+a+d/q/r7OR4q0tQ8i6zR9Z8iQ4S0TR6}4SQ3x/wQ6n3tT6s3x6nQ3}/|Q6t3zU6y3}6t8eR8e6uQ4[0]Q7Q4VT7W4[7QhzOb!O!P!T$y%_%b)S)U)i-tQ$|xW%Zz$|%f)v$b%f!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR)v%nS4i0i0nS7]4f4gT7b4i7]W&z!q%X&|1PS+r&z+zR+z'PQ1Q+wR4z1QU1[,S,T,UR5R1[S3S/Q7OR6U3SQ2t.mQ5x2pT5}2t5xQ.z)zR3O.z^_O!O!P!T%_%b)iY#Xb$y)S)U-t$l#_fgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!h$io!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'j#Q'lQ-P(bR/V*Z&v!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!{Y[#U#Z9s9tW&{!q%X&|1P['`!|!}'n'o9|9}S(c$`$aS+t&z'PU,X'a,q:gS-Q(d(eQ1T+zR1n-RS%t!Q&oQ&q!nQ(V$OQ(w$uS)w%o.pQ)z%pQ)}%qS*]&P&rQ+e&pQ,S']Q-d(qQ.l)sU.w)x)y2vS/O*O*PQ/P*RQ/T*VQ/W*[Q/]*^Q/`*eQ/l*nQ/|*wS0S*x4RQ0a+UQ0c+VQ0y+hQ0{+oQ1X+}Q1{-iQ2T-vQ2`.UQ2i.`Q2z.tQ2|.xQ2}.yQ3X/ZQ3Y/[S3z/{/}Q4^0`Q4l0rQ4s0wQ4x1OQ4}1YQ5O1ZQ5_1yQ5n2aQ5r2hQ5u2jQ5w2mQ5{2sQ6V3VQ6o3uQ6u3{Q6w3|Q7P4UQ7X4_Q7[4eQ7d4tQ7n5`Q7p5dQ7|5vQ8P6RQ8S6YQ8c6pS8f6v6xQ8o7cQ8w7rR9X8g$^%m!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)j%nQ*T%yR*W%{$y%h!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x'pWOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$x%g!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x_&y!q%X&z&|'P+z1PR,V']$zrOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!j$]o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ,T']R5P1Z_}O!O!P!T%_%b)i^|O!O!P!T%_%b)iQ#YbX)R$y)S)U-tbhO!O!T3_6]8W8X9U9hS#`f9uQ#dgQ$PiQ$QlQ$VmQ$spW%^!P%_%b)iU&S!Y!`*iQ&W!ZQ&X![Q&]!_Q'q#eQ'r#oS's#p:QQ't#qQ'u#rQ'v#sQ'w#tQ'x#uQ'y#vQ'z#wQ'{#xQ'|#yQ(O#zQ(U#}Q([$TQ(`$WQ*b&YQ*c&[Q,r'}Q,w(WQ,y(YQ-n(|Q/k*lQ0z+nQ1i,sQ1l,zQ1}-mQ3P.}Q3[/^Q4w0}Q5V1hQ5a1|Q6^3aQ6d3hQ6e3kQ7R4WQ7e4vQ7h4|Q7s5gQ7y5tQ8j7SQ8q7gQ8{7{Q9[8kQ9b8|Q:[9wQ:]9xQ:c9zQ:d9{Q:h:OQ:i:PQ:j:RQ:k:SQ:l:TQ:m:UQ:n:VQ:o:WQ:p:XQ:q:YQ:r:ZQ:v:eQ:w:fR:{9v^tO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6[3_Q8V6]Q9R8WQ9T8XQ9g9UR9m9hQ&V!YQ&^!`R/h*iQ$joQ&a!cQ&t!pU(g$e$g(jS(n$h0eQ(u$qQ(v$rQ*`&UQ*m&bQ+p&uQ-S(fS-b(o4cQ-c(pQ-e(rW/a*f/d/g3fQ/j*kW0f+Z0g4h7^Q1o-TQ1z-gQ3b/bQ4k0mQ5X1rQ7l5[Q8Z6aR8t7m!h$_o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mR-P(b'qXOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$zqOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$fo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&d^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!zY[$`$a9s9t['_!|!}(d(e9|9}W)o%i%j:`:aU,W'a-R:gW.h)p)q:t:uT2o.i:xQ(i$eQ(m$gR-W(jV(h$e$g(jR-^(kR-](k$znOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$ko!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'g#O'pj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ,m'jQ.u)uR8_6f`,b'b'c'd,c,f,h1_5UQ1e,lX3l/m/n3n3qj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ7j5TR8s7k^uO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6Z3_Q8U6]Q9Q8WQ9S8XQ9f9UR9l9hR(Q#zR(P#zQ$SlR(]$TR$ooR$noR)Q$vR)P$vQ)O$vR2O-ohwOb!O!P!T$y%_%b)S)U)i-t$l!lz!Q!n$O$u$|%f%n%o%p%q%y%{&P&o&p&r'](q)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR${xR0b+UR0W*xR0U*xR6{4PR/y*vR/x*vR0P*wR0O*wR0_+QR0^+Q%XyObxz!O!P!Q!T!n$O$u$y$|%_%b%f%n%o%p%q%y%{&P&o&p&r'](q)S)U)i)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-t-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR0k+ZR0j+ZQ'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&aV'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`S'cVOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S'{UOz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`S(bUOz(t{!P(t!P!Q(_!Q;'S(t;'S;=`*a<%lO(tS(wVOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)eV'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)}UOz(tz{)z{!P(t!Q;'S(t;'S;=`*a<%lO(tS*dP;=`<%l(tS*jP;=`<%l)^S*pP;=`<%l'`S*vP;=`<%l&[S+OO'PSU+T]'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U,R]'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU-P]'_QOY+|YZ-xZr+|rs'`sz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U-}V'_QOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[Q.iV'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.dQ/TO'_QQ/WP;=`<%l.dU/`]'_QOY0XYZ3uZr0Xrs(tsz0Xz{.d{!P0X!P!Q/Z!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU0^]'_QOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU1`]'_Q'PS'OSOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU2bV'_Q'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U2|]'_QOY0XYZ3uZr0Xrs(tsz0Xz{2w{!P0X!P!Q.d!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU3zV'_QOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U4dP;=`<%l0XU4jP;=`<%l1VU4pP;=`<%l+|U4vP;=`<%l$nU5QV'_Q'PSOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_5p]'_Q&|X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_6rV'_Q&|X'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_7b_ZX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`8a!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_8j]#PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_9lV']Q'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_:[]'QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_;^i'_Q'vW'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_=Uj'_Q_X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![<{![!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_?P_(TP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_@X]#OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_AZa!qX'_Q'OSOY$nYZ%nZr$nrs&[sv$nvwB`wz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Bi]'}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Cik'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q!cE^!c!}Lp!}#OE^#O#P!!l#P#RE^#R#SLp#S#TE^#T#oLp#o${E^${$|Lp$|4wE^4w5bLp5b5iE^5i6SLp6S;'SE^;'S;=`!*}<%lOE^_Ee_'_Q'OSOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Fm]'_Q'OSsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_GmX'_Q'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]HaV'OSsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]H{X'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_Im_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Js]'_QsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Kq_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Lyl'_Q'OS'ZXOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n_Nzj'_Q'OS'ZXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n]!!qZ'OSOzHvz{!#d{!PHv!P!Q!$n!Q#iHv#i#j!%Z#j#lHv#l#m!'V#m;'SHv;'S;=`!*w<%lOHv]!#gXOw'`wx!$Sxz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`]!$XVsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]!$qWOw'`wx!$Sxz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`]!%`^'OSOz&[z{&v{!P&[!P!Q'x!Q![!&[![!c&[!c!i!&[!i#T&[#T#Z!&[#Z#o&[#o#p!({#p;'S&[;'S;=`*s<%lO&[]!&a['OSOz&[z{&v{!P&[!P!Q'x!Q![!'V![!c&[!c!i!'V!i#T&[#T#Z!'V#Z;'S&[;'S;=`*s<%lO&[]!'[['OSOz&[z{&v{!P&[!P!Q'x!Q![!(Q![!c&[!c!i!(Q!i#T&[#T#Z!(Q#Z;'S&[;'S;=`*s<%lO&[]!(V['OSOz&[z{&v{!P&[!P!Q'x!Q![Hv![!c&[!c!iHv!i#T&[#T#ZHv#Z;'S&[;'S;=`*s<%lO&[]!)Q['OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z;'S&[;'S;=`*s<%lO&[]!){^'OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z#q&[#q#rHv#r;'S&[;'S;=`*s<%lO&[]!*zP;=`<%lHv_!+QP;=`<%lE^_!+^]}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!,`]!PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!-`_(QX'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!.f]#OX'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!/h_(PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!0p]!eX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!1r`'gX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`!a!2t!a#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!2}]#QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!4P^(OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!4{!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!5U`!lX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!6W!P!Q,z!Q!_$n!_!`!7Y!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!6a]!tX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nV!7c]'qP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!8c_'_Q'xXOY+|YZ-xZr+|rs'`sz+|z{!9b{!P+|!P!Q!:O!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!9iV&}]'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_!:V]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!Aq{!P!;O!P!Q!:O!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;O_!;V]'_QUXOY!jYZ(tZz!>jz{!=x{!P!>j!P!Q!?|!Q;'S!>j;'S;=`!@e<%lO!>j]!>oXUXOY!=SYZ)^Zz!=Sz{!=x{!P!=S!P!Q!?[!Q;'S!=S;'S;=`!@k<%lO!=S]!?aXUXOY!>jYZ(tZz!>jz{!?|{!P!>j!P!Q!?[!Q;'S!>j;'S;=`!@e<%lO!>jX!@RSUXOY!?|Z;'S!?|;'S;=`!@_<%lO!?|X!@bP;=`<%l!?|]!@hP;=`<%l!>j]!@nP;=`<%l!=S_!@x]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!@q{!P!;O!P!Q!Aq!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;OZ!AxX'_QUXOY!AqYZ/OZr!Aqrs!?|s#O!Aq#O#P!?|#P;'S!Aq;'S;=`!Be<%lO!AqZ!BhP;=`<%l!Aq_!BnP;=`<%l!;O_!BtP;=`<%l!o![!c&[!c!i#>o!i#T&[#T#Z#>o#Z#o&[#o#p#A`#p;'S&[;'S;=`*s<%lO&[U#>t['OSOz&[z{&v{!P&[!P!Q'x!Q![#?j![!c&[!c!i#?j!i#T&[#T#Z#?j#Z;'S&[;'S;=`*s<%lO&[U#?o['OSOz&[z{&v{!P&[!P!Q'x!Q![#@e![!c&[!c!i#@e!i#T&[#T#Z#@e#Z;'S&[;'S;=`*s<%lO&[U#@j['OSOz&[z{&v{!P&[!P!Q'x!Q![#;}![!c&[!c!i#;}!i#T&[#T#Z#;}#Z;'S&[;'S;=`*s<%lO&[U#Ae['OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z;'S&[;'S;=`*s<%lO&[U#B`^'OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z#q&[#q#r#;}#r;'S&[;'S;=`*s<%lO&[U#C_P;=`<%l#;}_#Ck]XX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Dm_'{X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Ewl'_Q'OS!yW'TPOY$nYZ%nZr$nrs#Gosw$nwx#H]xz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$n]#GvV'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_#Hd_'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q#OE^#O#P!!l#P;'SE^;'S;=`!*}<%lOE^_#Ink'_Q'OS!yW'TPOY$nYZ%nZr$nrs&[st#Kctz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[m,u,G,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:O=>j[O]||-1}],tokenPrec:15596}),I=_.define({name:"rust",parser:E.configure({props:[q.add({IfExpression:r({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),l.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return w;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function D(){return new V(I)}export{D as rust,I as rustLanguage}; +import{b as a,s as o,t as Q,d as Z,L as _,i as q,c as r,f as l,l as w,a as V}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,v=102,t=114,p=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==p){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==v){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=o({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=Z.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FYO7{Q_O'#F^O:WQ_O'#FaOOQO'#F`'#F`O=sQ_O'#FcO=}Q_O'#FbO@VQWO'#FgOOQO'#J`'#J`OOQV'#Io'#IoOA]Q_O'#InOEPQWO'#InOOQV'#Fw'#FwOF[QWO'#JuOFcQWO'#F|OOQO'#IO'#IOOGrQWO'#GhOOQV'#Im'#ImOOQV'#Il'#IlOOQV'#Hj'#HjQGyQ_OOOKeQ_O'#DUOKlQYO'#CqOOQP'#I_'#I_OOQV'#Hg'#HgQ]Q_OOOLuQWO'#I`ONsQYO'#DXO!!eQWO'#JuO!!lQWO'#JuO!!vQ_O'#DfO!%]Q_O'#E}O!(sQ_O'#FWO!,ZQWO'#FZO!.^QXO'#FbO!.cQ_O'#EeO!!vQ_O'#FmO!0uQWO'#FoO!0zQWO'#FoO!1PQ^O'#FqO!1WQWO'#JuO!1_QWO'#FtO!1dQWO'#FxO!2WQWO'#JjO!2_QWO'#GOO!2_QWO'#G`O!2_QWO'#GbO!2_QWO'#GsOOQO'#Ju'#JuO!2dQWO'#GhO!2lQYO'#GpO!2_QWO'#GqO!3uQ^O'#GtO!3|QWO'#GuO!4hQWO'#HOP!4sOpO'#CcPOOO)CC})CC}OOOO'#Hi'#HiO!5OO`O,59iOOQV,59i,59iO!5ZQYO,5?aOOQO-E;i-E;iOOQO,5:[,5:[OOQP,59Z,59ZO)xQWO,5:[O)xQWO,5:[O!5oQWO,5?kO!5zQYO,5;qO!6PQYO,5;TO!6hQWO,59QO!7kQXO'#CnO!7xQXO'#I`O!9SQWO'#CoO,^QWO'#EiOOQV-E;n-E;nO!9eQWO'#FsOOQV,5WQWO,5:fOOQP,5:h,5:hO!1PQ^O,5:hO!1PQ^O,5:mO$>]QYO,5gQ_O'#HsO$>tQXO,5@QOOQV1G1i1G1iOOQP,5:e,5:eO$>|QXO,5]QYO,5=vO$LRQWO'#KRO$L^QWO,5=xOOQR,5=y,5=yO$LcQWO,5=zO$>]QYO,5>PO$>]QYO,5>POOQO1G.w1G.wO$>]QYO1G.wO$LnQYO,5=pO$LvQZO,59^OOQR,59^,59^O$>]QYO,5=wO% YQZO,5=}OOQR,5=},5=}O%#lQWO1G/_O!6PQYO1G/_O#FYQYO1G2vO%#qQWO1G2vO%$PQYO1G2vOOQV1G/i1G/iO%%YQWO,5:SO%%bQ_O1G/lO%*kQWO1G1^O%+RQWO1G1hOOQO1G1h1G1hO$>]QYO1G1hO%+iQ^O'#EgOOQV1G0k1G0kOOQV1G1s1G1sO!!vQ_O1G1sO!0zQWO1G1uO!1PQ^O1G1wO!.cQ_O1G1wOOQP,5:j,5:jO$>]QYO1G/^OOQO'#Cn'#CnO%+vQWO1G1zOOQV1G2O1G2OO%,OQWO'#CnO%,WQWO1G3TO%,]QWO1G3TO%,bQYO'#GQO%,sQWO'#G]O%-UQYO'#G_O%.hQYO'#GXOOQV1G2U1G2UO%/wQWO1G2UO%/|QWO1G2UO$ARQWO1G2UOOQV1G2f1G2fO%/wQWO1G2fO#CpQWO1G2fO%0UQWO'#GdOOQV1G2h1G2hO%0gQWO1G2hO#C{QWO1G2hO%0lQYO'#GSO$>]QYO1G2lO$AdQWO1G2lOOQV1G2y1G2yO%1xQWO1G2yO%3hQ^O'#GkO%3rQWO1G2nO#DfQWO1G2nO%4QQYO,5]QYO1G2vOOQV1G2w1G2wO%5tQWO1G2wO%5yQWO1G2wO#HXQWO1G2wOOQV1G2z1G2zO.YQ_O1G2zO$>]QYO1G2zO%6RQWO1G2zOOQO,5>l,5>lOOQO-E]QYO1G3UPOOO-E;d-E;dPOOO1G.i1G.iOOQO7+*g7+*gO%7VQYO'#IcO%7nQYO'#IfO%7yQYO'#IfO%8RQYO'#IfO%8^QYO,59eOOQO7+%b7+%bOOQP7+$a7+$aO%8cQ!fO'#JTOOQS'#EX'#EXOOQS'#EY'#EYOOQS'#EZ'#EZOOQS'#JT'#JTO%;UQWO'#EWOOQS'#E`'#E`OOQS'#JR'#JROOQS'#Hn'#HnO%;ZQ!fO,5:oOOQV,5:o,5:oOOQV'#JQ'#JQO%;bQ!fO,5:{OOQV,5:{,5:{O%;iQ!fO,5:|OOQV,5:|,5:|OOQV7+'e7+'eOOQV7+&Z7+&ZO%;pQ!fO,59TOOQO,59T,59TO%>YQWO7+$WO%>_QWO1G1yOOQV1G1y1G1yO!9SQWO1G.uO%>dQWO,5?}O%>nQ_O'#HqO%@|QWO,5?}OOQO1G1X1G1XOOQO7+&}7+&}O%AUQWO,5>^OOQO-E;p-E;pO%AcQWO7+'OO.YQ_O7+'OOOQO7+'O7+'OOOQO7+'P7+'PO%AjQWO7+'POOQO7+'W7+'WOOQP1G0V1G0VO%ArQXO1G/tO!M{QWO1G/tO%BsQXO1G0RO%CkQ^O'#HlO%C{QWO,5?eOOQP1G/u1G/uO%DWQWO1G/uO%D]QWO'#D_OOQO'#Dt'#DtO%DhQWO'#DtO%DmQWO'#I{OOQO'#Iz'#IzO%DuQWO,5:_O%DzQWO'#DtO%EPQWO'#DtOOQP1G0Q1G0QOOQP1G0S1G0SOOQP1G0X1G0XO%EXQXO1G1jO%EdQXO'#FeOOQP,5>_,5>_O!1PQ^O'#FeOOQP-E;q-E;qO$>]QYO1G1jOOQO7+'S7+'SOOQO,5]QYO7+$xOOQV7+'j7+'jO%FsQWO7+(oO%FxQWO7+(oOOQV7+'p7+'pO%/wQWO7+'pO%F}QWO7+'pO%GVQWO7+'pOOQV7+(Q7+(QO%/wQWO7+(QO#CpQWO7+(QOOQV7+(S7+(SO%0gQWO7+(SO#C{QWO7+(SO$>]QYO7+(WO%GeQWO7+(WO#HUQYO7+(cO%GjQWO7+(YO#DfQWO7+(YOOQV7+(c7+(cO%5tQWO7+(cO%5yQWO7+(cO#HXQWO7+(cOOQV7+(g7+(gO$>]QYO7+(pO%GxQWO7+(pO!1dQWO7+(pOOQV7+$v7+$vO%G}QWO7+$vO%HSQZO1G3ZO%JfQWO1G4jOOQO1G4j1G4jOOQR1G.}1G.}O#.WQWO1G.}O%JkQWO'#KQOOQO'#HW'#HWO%J|QWO'#HXO%KXQWO'#KQOOQO'#KP'#KPO%KaQWO,5=qO%KfQYO'#H[O%LrQWO'#GmO%L}QYO'#CtO%MXQWO'#GmO$>]QYO1G3ZOOQR1G3g1G3gO#7aQWO1G3ZO%M^QZO1G3bO$>]QYO1G3bO& mQYO'#IVO& }QWO,5@mOOQR1G3d1G3dOOQR1G3f1G3fO.YQ_O1G3fOOQR1G3k1G3kO&!VQYO7+$cO&!_QYO'#KOOOQQ'#J}'#J}O&!gQYO1G3[O&!lQZO1G3cOOQQ7+$y7+$yO&${QWO7+$yO&%QQWO7+(bOOQV7+(b7+(bO%5tQWO7+(bO$>]QYO7+(bO#FYQYO7+(bO&%YQWO7+(bO!.cQ_O1G/nO&%hQWO7+%WO$?[QWO7+'SO&%pQWO'#EhO&%{Q^O'#EhOOQU'#Ho'#HoO&%{Q^O,5;ROOQV,5;R,5;RO&&VQWO,5;RO&&[Q^O,5;RO!0zQWO7+'_OOQV7+'a7+'aO&&iQWO7+'cO&&qQWO7+'cO&&xQWO7+$xO&'TQ!fO7+'fO&'[Q!fO7+'fOOQV7+(o7+(oO!1dQWO7+(oO&'cQYO,5]QYO'#JrOOQO'#Jq'#JqO&*YQWO,5]QYO'#GUO&,SQYO'#JkOOQQ,5]QYO7+(YO&0SQYO'#HxO&0hQYO1G2WOOQQ1G2W1G2WOOQQ,5]QYO,5]QYO7+(fO&1dQWO'#IRO&1nQWO,5@hOOQO1G3Q1G3QOOQO1G2}1G2}OOQO1G3P1G3POOQO1G3R1G3ROOQO1G3S1G3SOOQO1G3O1G3OO&1vQWO7+(pO$>]QYO,59fO&2RQ^O'#ISO&2xQYO,5?QOOQR1G/P1G/PO&3QQ!bO,5:pO&3VQ!fO,5:rOOQS-E;l-E;lOOQV1G0Z1G0ZOOQV1G0g1G0gOOQV1G0h1G0hO&3^QWO'#JTOOQO1G.o1G.oOOQV<]O&3qQWO,5>]OOQO-E;o-E;oOOQO<WOOQO-E;j-E;jOOQP7+%a7+%aO!1PQ^O,5:`O&5cQWO'#HmO&5wQWO,5?gOOQP1G/y1G/yOOQO,5:`,5:`O&6PQWO,5:`O%DzQWO,5:`O$>]QYO,5`,5>`OOQO-E;r-E;rOOQV7+'l7+'lO&6yQWO<]QYO<]QYO<]QYO<]QYO7+(uOOQO7+*U7+*UOOQR7+$i7+$iO&8cQWO,5@lOOQO'#Gm'#GmO&8kQWO'#GmO&8vQYO'#IUO&8cQWO,5@lOOQR1G3]1G3]O&:cQYO,5=vO&;rQYO,5=XO&;|QWO,5=XOOQO,5=X,5=XOOQR7+(u7+(uO&eQZO7+(|O&@tQWO,5>qOOQO-E]QYO<]QYO,5]QYO,5@^O&D^QYO'#H|O&EsQWO,5@^OOQO1G2e1G2eO%,nQWO,5]QYO,5PO&I]QYO,5@VOOQV<]QYO,5=WO&KuQWO,5@cO&K}QWO,5@cO&MvQ^O'#IPO&KuQWO,5@cOOQO1G2q1G2qO&NTQWO,5=WO&N]QWO<oO&NvQYO,5>dO' UQYO,5>dOOQQ,5>d,5>dOOQQ-E;v-E;vOOQQ7+'r7+'rO' aQYO1G2]O$>]QYO1G2^OOQV<m,5>mOOQO-EnOOQQ,5>n,5>nO'!fQYO,5>nOOQQ-EX,5>XOOQO-E;k-E;kO!1PQ^O1G/zOOQO1G/z1G/zO'%oQWO1G/zO'%tQXO1G1kO$>]QYO1G1kO'&PQWO7+'[OOQVANA`ANA`O'&ZQWOANA`O$>]QYOANA`O'&cQWOANA`OOQVAN>OAN>OO.YQ_OAN>OO'&qQWOANAuOOQVAN@vAN@vO'&vQWOAN@vOOQVANAWANAWOOQVANAYANAYOOQVANA^ANA^O'&{QWOANA^OOQVANAiANAiO%5tQWOANAiO%5yQWOANAiO''TQWOANA`OOQVANAvANAvO.YQ_OANAvO''cQWOANAvO$>]QYOANAvOOQR<pOOQO'#HY'#HYO''vQWO'#HZOOQO,5>p,5>pOOQO-E]QYO<o,5>oOOQQ-E]QYOANAhO'(bQWO1G1rO')UQ^O1G0nO.YQ_O1G0nO'*zQWO,5;UO'+RQWO1G0nP'+WQWO'#ERP&%{Q^O'#HpOOQV7+&X7+&XO'+cQWO7+&XO&&qQWOAN@iO'+hQWOAN>OO!5oQWO,5a,5>aO'+oQWOAN@lO'+tQWOAN@lOOQS-E;s-E;sOOQVAN@lAN@lO'+|QWOAN@lOOQVANAuANAuO',UQWO1G5vO',^QWO1G2dO$>]QYO1G2dO&'|QWO,5>gOOQO,5>g,5>gOOQO-E;y-E;yO',iQWO1G5xO',qQWO1G5xO&(nQYO,5>hO',|QWO,5>hO$>]QYO,5>hOOQO-E;z-E;zO'-XQWO'#JnOOQO1G2a1G2aOOQO,5>f,5>fOOQO-E;x-E;xO&'cQYO,5iOOQO,5>i,5>iOOQO-E;{-E;{OOQQ,5>c,5>cOOQQ-E;u-E;uO'.pQWO1G2sO'/QQWO1G2rO'/]QWO1G5}O'/eQ^O,5>kOOQO'#Go'#GoOOQO,5>k,5>kO'/lQWO,5>kOOQO-E;}-E;}O$>]QYO1G2rO'/zQYO7+'xO'0VQWOANAlOOQVANAlANAlO.YQ_OANAlO'0^QWOANAvOOQS7+%x7+%xO'0eQWO7+%xO'0pQ!fO7+%xO'0}QWO7+%fO!1PQ^O7+%fO'1YQXO7+'VOOQVG26zG26zO'1eQWOG26zO'1sQWOG26zO$>]QYOG26zO'1{QWOG23jOOQVG27aG27aOOQVG26bG26bOOQVG26xG26xOOQVG27TG27TO%5tQWOG27TO'2SQWOG27bOOQVG27bG27bO.YQ_OG27bO'2ZQWOG27bOOQO1G4[1G4[OOQO7+(_7+(_OOQRANA{ANA{OOQVG27SG27SO%5tQWOG27SO&0uQWOG27SO'2fQ^O7+&YO'4PQWO7+'^O'4sQ^O7+&YO.YQ_O7+&YP.YQ_O,5;SP'6PQWO,5;SP'6UQWO,5;SOOQV<]QYO1G4SO%,nQWO'#HyO'7UQWO,5@YO'7dQWO7+(VO.YQ_O7+(VOOQO1G4T1G4TOOQO1G4V1G4VO'7nQWO1G4VO'7|QWO7+(^OOQVG27WG27WO'8XQWOG27WOOQS<e,5>eOOQO-E;w-E;wO'?rQWO<wD_DpPDvHQPPPPPPK`P! P! _PPPPP!!VP!$oP!$oPP!&oP!(rP!(w!)n!*f!*f!*f!(w!+]P!(w!.Q!.TPP!.ZP!(w!(w!(w!(wP!(w!(wP!(w!(w!.y!/dP!/dJ}J}J}PPPP!/d!.y!/sPP!$oP!0^!0a!0g!1h!1t!3t!3t!5r!7t!1t!1t!9p!;_!=O!>k!@U!Am!CS!De!1t!1tP!1tP!1t!1t!Et!1tP!Ge!1t!1tP!Ie!1tP!1t!7t!7t!1t!7t!1t!Kl!Mt!Mw!7t!1t!Mz!M}!M}!M}!NR!$oP!$oP!$oP! P! PP!N]! P! PP!Ni# }! PP! PP#!^##c##k#$Z#$_#$e#$e#$mP#&s#&s#&y#'o#'{! PP! PP#(]#(l! PP! PPP#(x#)W#)d#)|#)^! P! PP! P! P! PP#*S#*S#*Y#*`#*S#*S! P! PP#*m#*v#+Q#+Q#,x#.l#.x#.x#.{#.{5a5a5a5a5a5a5a5aP5a#/O#/U#/p#1{#2R#2b#6^#6d#6j#6|#7W#8w#9R#9b#9h#9n#9x#:S#:Y#:g#:m#:s#:}#;]#;g#=u#>R#>`#>f#>n#>u#?PPPPPPPP#?V#BaP#F^#Jx#Ls#Nr$&^P$&aPPP$)_$)h$)z$/U$1d$1m$3fP!(w$4`$7r$:i$>T$>^$>c$>fPPP$>i$A`$A|P$BaPPPPPPPPPP$BvP$EU$EX$E[$Eb$Ee$Eh$Ek$En$Et$HO$HR$HU$HX$H[$H_$Hb$He$Hh$Hk$Hn$Jt$Jw$Jz#*S$KW$K^$Ka$Kd$Kh$Kl$Ko$KrQ!tPT'V!s'Wi!SOlm!P!T$T$W$y%b)U*f/gQ'i#QR,n'l(OSOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%X%_%b&U&Y&[&b&u&z&|'P'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n+z,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1P1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:gS(z$v-oQ*p&eQ*t&hQ-k(yQ-y)ZW0Z+Q0Y4Z7UR4Y0[&w!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#r]Ofgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hb#[b#Q$y'l(b)S)U*Z-t!h$bo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m$b%k!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g!W:y!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:|%n$_%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g$e%l!Q!n$O$u%n%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g'hZOY[fgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r%_%b%i%j&U&Y&[&b&u'a'}(W(Y(d(e(f(j(o(p(r(|)i)p)q*f*i*k*l+Z+n,s,z-R-T-g-m.i.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:x$^%l!Q!n$O$u%n%o%p%q%y%{&P&p&r(q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ&j!hQ&k!iQ&l!jQ&m!kQ&s!oQ)[%QQ)]%RQ)^%SQ)_%TQ)b%WQ+`&oS,R']1ZQ.W)`S/r*u4TR4n0s+yTOY[bfgilmop!O!P!Q!T!Y!Z![!_!`!c!n!p!q!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$O$T$W$`$a$e$g$h$q$r$u$y%X%_%b%i%j%n%o%p%q%y%{&P&U&Y&[&b&o&p&r&u&z&|'P']'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(q(r(|)S)U)i)p)q)s)x)y*O*P*R*V*Z*[*^*e*f*i*k*l*n*w*x+U+V+Z+h+n+o+z+},q,s,z-R-T-g-i-m-t-v.U.`.i.p.t.x.y.}/Z/[/^/b/d/g/{/}0`0e0g0m0r0w0}1O1P1Y1Z1h1r1y1|2a2h2j2m2s2v3V3_3a3f3h3k3u3{3|4R4U4W4_4c4e4h4t4v4|5[5`5d5g5t5v6R6Y6]6a6p6v6x7S7^7c7g7m7r7{8W8X8g8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:`:a:e:f:g:t:u:xQ'[!xQ'h#PQ)l%gU)r%m*T*WR.f)kQ,T']R5P1Z#t%s!Q!n$O$u%p%q&P&p&r(q)x)y*O*R*V*[*^*e*n*w+V+h+o+}-i-v.U.`.t.x.y/Z/[/{/}0`0r0w1O1Y1y2a2h2j2m2v3V3u3{3|4U4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)x%oQ+_&oQ,U']n,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7kS.q)s2sQ/O*PQ/Q*SQ/q*uS0Q*x4RQ0a+U[0o+Z.j0g4h5y7^Q2v.pS4d0e2rQ4m0sQ5Q1ZQ6T3RQ6z4PQ7O4TQ7X4_R9Y8h&jVOfgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u']'}(W(Y(b(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1Z1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fU&g!g%P%[o,^'b'c'd,c,f,h,l/m/n1_3n3q5T5U7k$nsOfgilm!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y'}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9z9{:O:P:Q:R:S:T:U:V:W:X:Y:eS$tp9xS&O!W#bS&Q!X#cQ&`!bQ*_&RQ*a&VS*d&[:fQ*h&^Q,T']Q-j(wQ/i*jQ0p+[S2f.X0qQ3]/_Q3^/`Q3g/hQ3i/kQ5P1ZU5b2R2g4lU7o5c5e5rQ8]6dS8u7p7qS9_8v8wR9i9`i{Ob!O!P!T$y%_%b)S)U)i-thxOb!O!P!T$y%_%b)S)U)i-tW/v*v/t3w6qQ/}*wW0[+Q0Y4Z7UQ3{/{Q6x3|R8g6v!h$do!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ&d!dQ&f!fQ&n!mW&x!q%X&|1PQ'S!rQ)X$}Q)Y%OQ)a%VU)d%Y'T'UQ*s&hS+s&z'PS-Y(k1sQ-u)WQ-x)ZS.a)e)fS0x+c/sQ1S+zQ1W+{S1v-_-`Q2k.bQ3s/pQ5]1xR5h2V${sOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$zsOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR3]/_V&T!Y!`*i!i$lo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!k$^o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m!i$co!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&e^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR(l$fQ-[(kR5Y1sQ(S#|S({$v-oS-Z(k1sQ-l(yW/u*v/t3w6qS1w-_-`Q3v/vR5^1xQ'e#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,o'mk,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ'f#Or,e'b'c'd'j'p)u,c,f,h,l/m/n1_3n3q5U6fR,p'mR*g&]X/c*f/d/g3f!}aOb!O!P!T#z$v$y%_%b'}(y)S)U)i)s*f*v*w+Q+Z,s-o-t.j/b/d/g/t/{0Y0g1h2s3f3w3|4Z4h5y6a6q6v7U7^Q3`/aQ6_3bQ8Y6`R9V8Z${rOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f#nfOfglmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!T9u!Y!_!`*i*l/^3h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#rfOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h!X9u!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$srOfglmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:e:f#U#oh#d$P$Q$V$s%^&W&X'q't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b}:P&S&]/k3[6d:[:]:c:d:h:j:k:l:m:n:o:p:q:r:v:w:{#W#ph#d$P$Q$V$s%^&W&X'q'r't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b!P:Q&S&]/k3[6d:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{#S#qh#d$P$Q$V$s%^&W&X'q'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9b{:R&S&]/k3[6d:[:]:c:d:h:k:l:m:n:o:p:q:r:v:w:{#Q#rh#d$P$Q$V$s%^&W&X'q'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9by:S&S&]/k3[6d:[:]:c:d:h:l:m:n:o:p:q:r:v:w:{#O#sh#d$P$Q$V$s%^&W&X'q'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bw:T&S&]/k3[6d:[:]:c:d:h:m:n:o:p:q:r:v:w:{!|#th#d$P$Q$V$s%^&W&X'q'x'y'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bu:U&S&]/k3[6d:[:]:c:d:h:n:o:p:q:r:v:w:{!x#vh#d$P$Q$V$s%^&W&X'q'z'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bq:W&S&]/k3[6d:[:]:c:d:h:p:q:r:v:w:{!v#wh#d$P$Q$V$s%^&W&X'q'{'|(O(U([(`*b*c,r,w,y-n0z1i1l1}3P4w5V5a6^6e7R7e7h7s7y8j8q8{9[9bo:X&S&]/k3[6d:[:]:c:d:h:q:r:v:w:{$]#{h#`#d$P$Q$V$s%^&S&W&X&]'q'r's't'u'v'w'x'y'z'{'|(O(U([(`*b*c,r,w,y-n/k0z1i1l1}3P3[4w5V5a6^6d6e7R7e7h7s7y8j8q8{9[9b:[:]:c:d:h:i:j:k:l:m:n:o:p:q:r:v:w:{${jOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f$v!aOfgilmp!O!P!T!Y!Z!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ&Y![Q&Z!]R:e9{#rpOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hQ&[!^!W9x!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fR:f:zR$moR-f(rR$wqT(}$v-oQ/f*fS3d/d/gR6c3fQ3m/mQ3p/nQ6i3nR6l3qQ$zwQ)V${Q*q&fQ+f&qQ+i&sQ-w)YW.Z)b+j+k+lS/X*]+gW2b.W.[.].^U3W/Y/]0yU5o2c2d2eS6W3X3ZS7w5p5qS8Q6V6XQ8y7xS8}8R8SR9c9O^|O!O!P!T%_%b)iX)R$y)S)U-tQ&r!nQ*^&PQ*|&jQ+P&kQ+T&lQ+W&mQ+]&nQ+l&sQ-})[Q.Q)]Q.T)^Q.V)_Q.Y)aQ.^)bQ2S-uQ2e.WR4U0VU+a&o*u4TR4o0sQ+Y&mQ+k&sS.])b+l^0v+_+`/q/r4m4n7OS2d.W.^S4Q0R0SR5q2eS0R*x4RQ0a+UR7X4_U+d&o*u4TR4p0sQ*z&jQ+O&kQ+S&lQ+g&qQ+j&sS-{)[*|S.P)]+PS.S)^+TU.[)b+k+lQ/Y*]Q0X*{Q0q+[Q2X-|Q2Y-}Q2].QQ2_.TU2c.W.].^Q2g.XS3Z/]0yS5c2R4lQ5j2ZS5p2d2eQ6X3XS7q5e5rQ7x5qQ8R6VQ8v7pQ9O8SR9`8wQ0T*xR6|4RQ*y&jQ*}&kU-z)[*z*|U.O)]+O+PS2W-{-}S2[.P.QQ4X0ZQ5i2YQ5k2]R7T4YQ/w*vQ3t/tQ6r3wR8d6qQ*{&jS-|)[*|Q2Z-}Q4X0ZR7T4YQ+R&lU.R)^+S+TS2^.S.TR5l2_Q0]+QQ4V0YQ7V4ZR8l7UQ+[&nS.X)a+]S2R-u.YR5e2SQ0i+ZQ4f0gQ7`4hR8m7^Q.m)sQ0i+ZQ2p.jQ4f0gQ5|2sQ7`4hQ7}5yR8m7^Q0i+ZR4f0gX'O!q%X&|1PX&{!q%X&|1PW'O!q%X&|1PS+u&z'PR1U+z_|O!O!P!T%_%b)iQ%a!PS)h%_%bR.d)i$^%u!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ*U%yR*X%{$c%n!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gW)t%m%x*T*WQ.e)jR2{.vR.m)sR5|2sQ'W!sR,O'WQ!TOQ$TlQ$WmQ%b!P[%|!T$T$W%b)U/gQ)U$yR/g*f$b%i!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g[)n%i)p.i:`:t:xQ)p%jQ.i)qQ:`%nQ:t:aR:x:uQ!vUR'Y!vS!OO!TU%]!O%_)iQ%_!PR)i%b#rYOfgilmp!O!P!T!Z![#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i+n,s,z-m.}0}1h1|3_3a3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9hh!yY!|#U$`'a'n(d,q-R9s9|:gQ!|[b#Ub#Q$y'l(b)S)U*Z-t!h$`o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ'a!}Q'n#ZQ(d$aQ,q'oQ-R(e!W9s!Y!_!`*i*l/^3h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ9|9tR:g9}Q-U(gR1p-UQ1t-[R5Z1tQ,c'bQ,f'cQ,h'dW1`,c,f,h5UR5U1_Q/d*fS3c/d3fR3f/gfbO!O!P!T$y%_%b)S)U)i-tp#Wb'}(y.j/b/t/{0Y0g1h5y6a6q6v7U7^Q'}#zS(y$v-oQ.j)sW/b*f/d/g3fQ/t*vQ/{*wQ0Y+QQ0g+ZQ1h,sQ5y2sQ6q3wQ6v3|Q7U4ZR7^4hQ,t(OQ1g,rT1j,t1gS(X$Q([Q(^$VU,x(X(^,}R,}(`Q(s$mR-h(sQ-p)OR2P-pQ3n/mQ3q/nT6j3n3qQ)S$yS-r)S-tR-t)UQ4`0aR7Y4``0t+^+_+`+a+d/q/r7OR4q0tQ8i6zR9Z8iQ4S0TR6}4SQ3x/wQ6n3tT6s3x6nQ3}/|Q6t3zU6y3}6t8eR8e6uQ4[0]Q7Q4VT7W4[7QhzOb!O!P!T$y%_%b)S)U)i-tQ$|xW%Zz$|%f)v$b%f!Q!n$O$u%o%p%q%y%{&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR)v%nS4i0i0nS7]4f4gT7b4i7]W&z!q%X&|1PS+r&z+zR+z'PQ1Q+wR4z1QU1[,S,T,UR5R1[S3S/Q7OR6U3SQ2t.mQ5x2pT5}2t5xQ.z)zR3O.z^_O!O!P!T%_%b)iY#Xb$y)S)U-t$l#_fgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!h$io!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'j#Q'lQ-P(bR/V*Z&v!RObfgilmop!O!P!T!Y!Z![!_!`!c!p#Q#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r$y%_%b&U&Y&[&b&u'l'}(W(Y(b(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,s,z-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!{Y[#U#Z9s9tW&{!q%X&|1P['`!|!}'n'o9|9}S(c$`$aS+t&z'PU,X'a,q:gS-Q(d(eQ1T+zR1n-RS%t!Q&oQ&q!nQ(V$OQ(w$uS)w%o.pQ)z%pQ)}%qS*]&P&rQ+e&pQ,S']Q-d(qQ.l)sU.w)x)y2vS/O*O*PQ/P*RQ/T*VQ/W*[Q/]*^Q/`*eQ/l*nQ/|*wS0S*x4RQ0a+UQ0c+VQ0y+hQ0{+oQ1X+}Q1{-iQ2T-vQ2`.UQ2i.`Q2z.tQ2|.xQ2}.yQ3X/ZQ3Y/[S3z/{/}Q4^0`Q4l0rQ4s0wQ4x1OQ4}1YQ5O1ZQ5_1yQ5n2aQ5r2hQ5u2jQ5w2mQ5{2sQ6V3VQ6o3uQ6u3{Q6w3|Q7P4UQ7X4_Q7[4eQ7d4tQ7n5`Q7p5dQ7|5vQ8P6RQ8S6YQ8c6pS8f6v6xQ8o7cQ8w7rR9X8g$^%m!Q!n$O$u%o%p%q&P&o&p&r'](q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gQ)j%nQ*T%yR*W%{$y%h!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x'pWOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$x%g!Q!n$O$u%i%j%n%o%p%q%y%{&P&o&p&r'](q)p)q)s)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.i.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8g:`:a:t:u:x_&y!q%X&z&|'P+z1PR,V']$zrOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!j$]o!c!p$e$g$h$q$r&U&b&u(b(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mQ,T']R5P1Z_}O!O!P!T%_%b)i^|O!O!P!T%_%b)iQ#YbX)R$y)S)U-tbhO!O!T3_6]8W8X9U9hS#`f9uQ#dgQ$PiQ$QlQ$VmQ$spW%^!P%_%b)iU&S!Y!`*iQ&W!ZQ&X![Q&]!_Q'q#eQ'r#oS's#p:QQ't#qQ'u#rQ'v#sQ'w#tQ'x#uQ'y#vQ'z#wQ'{#xQ'|#yQ(O#zQ(U#}Q([$TQ(`$WQ*b&YQ*c&[Q,r'}Q,w(WQ,y(YQ-n(|Q/k*lQ0z+nQ1i,sQ1l,zQ1}-mQ3P.}Q3[/^Q4w0}Q5V1hQ5a1|Q6^3aQ6d3hQ6e3kQ7R4WQ7e4vQ7h4|Q7s5gQ7y5tQ8j7SQ8q7gQ8{7{Q9[8kQ9b8|Q:[9wQ:]9xQ:c9zQ:d9{Q:h:OQ:i:PQ:j:RQ:k:SQ:l:TQ:m:UQ:n:VQ:o:WQ:p:XQ:q:YQ:r:ZQ:v:eQ:w:fR:{9v^tO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6[3_Q8V6]Q9R8WQ9T8XQ9g9UR9m9hQ&V!YQ&^!`R/h*iQ$joQ&a!cQ&t!pU(g$e$g(jS(n$h0eQ(u$qQ(v$rQ*`&UQ*m&bQ+p&uQ-S(fS-b(o4cQ-c(pQ-e(rW/a*f/d/g3fQ/j*kW0f+Z0g4h7^Q1o-TQ1z-gQ3b/bQ4k0mQ5X1rQ7l5[Q8Z6aR8t7m!h$_o!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mR-P(b'qXOY[bfgilmop!O!P!T!Y!Z![!_!`!c!p!|!}#Q#U#Z#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$`$a$e$g$h$q$r$y%_%b&U&Y&[&b&u'a'l'n'o'}(W(Y(b(d(e(f(j(o(p(r(|)S)U)i*Z*f*i*k*l+Z+n,q,s,z-R-T-g-m-t.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9s9t9u9v9w9x9z9{9|9}:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f:g$zqOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$fo!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7m&d^Ofgilmop!O!P!T!Y!Z![!_!`!c!p#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W$e$g$h$q$r%_%b&U&Y&[&b&u'}(W(Y(f(j(o(p(r(|)i*f*i*k*l+Z+n,s,z-T-g-m.}/^/b/d/g0e0g0m0}1h1r1|3_3a3f3h3k4W4c4h4v4|5[5g5t6]6a7S7^7g7m7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f[!zY[$`$a9s9t['_!|!}(d(e9|9}W)o%i%j:`:aU,W'a-R:gW.h)p)q:t:uT2o.i:xQ(i$eQ(m$gR-W(jV(h$e$g(jR-^(kR-](k$znOfgilmp!O!P!T!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W%_%b&Y&['}(W(Y(|)i*i*l+n,s,z-m.}/^0}1h1|3_3a3h3k4W4v4|5g5t6]7S7g7{8W8X8k8|9U9h9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:f!i$ko!c!p$e$g$h$q$r&U&b&u(f(j(o(p(r*f*k+Z-T-g/b/d/g0e0g0m1r3f4c4h5[6a7^7mS'g#O'pj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ,m'jQ.u)uR8_6f`,b'b'c'd,c,f,h1_5UQ1e,lX3l/m/n3n3qj,a'b'c'd,c,f,h,l/m/n1_3n3q5UQ7j5TR8s7k^uO!O!P!T%_%b)i$`#afgilmp!Y!Z![!_!`#e#o#p#q#r#s#t#u#v#w#x#y#z#}$T$W&Y&['}(W(Y(|*i*l+n,s,z-m.}/^0}1h1|3a3h3k4W4v4|5g5t7S7g7{8k8|9u9v9w9x9z9{:O:P:Q:R:S:T:U:V:W:X:Y:Z:e:fQ6Z3_Q8U6]Q9Q8WQ9S8XQ9f9UR9l9hR(Q#zR(P#zQ$SlR(]$TR$ooR$noR)Q$vR)P$vQ)O$vR2O-ohwOb!O!P!T$y%_%b)S)U)i-t$l!lz!Q!n$O$u$|%f%n%o%p%q%y%{&P&o&p&r'](q)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR${xR0b+UR0W*xR0U*xR6{4PR/y*vR/x*vR0P*wR0O*wR0_+QR0^+Q%XyObxz!O!P!Q!T!n$O$u$y$|%_%b%f%n%o%p%q%y%{&P&o&p&r'](q)S)U)i)s)v)x)y*O*P*R*V*[*^*e*n*w*x+U+V+h+o+}-i-t-v.U.`.p.t.x.y/Z/[/{/}0`0r0w1O1Y1Z1y2a2h2j2m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR0k+ZR0j+ZQ'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&aV'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&yVOz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`S'cVOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S'{UOz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`S(bUOz(t{!P(t!P!Q(_!Q;'S(t;'S;=`*a<%lO(tS(wVOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)eV'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^S)}UOz(tz{)z{!P(t!Q;'S(t;'S;=`*a<%lO(tS*dP;=`<%l(tS*jP;=`<%l)^S*pP;=`<%l'`S*vP;=`<%l&[S+OO'PSU+T]'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U,R]'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU-P]'_QOY+|YZ-xZr+|rs'`sz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|U-}V'_QOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[Q.iV'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.dQ/TO'_QQ/WP;=`<%l.dU/`]'_QOY0XYZ3uZr0Xrs(tsz0Xz{.d{!P0X!P!Q/Z!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU0^]'_QOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU1`]'_Q'PS'OSOY1VYZ2XZr1Vrs)^sz1Vz{2w{!P1V!P!Q/Z!Q#O1V#O#P)^#P;'S1V;'S;=`4g<%lO1VU2bV'_Q'PS'OSOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U2|]'_QOY0XYZ3uZr0Xrs(tsz0Xz{2w{!P0X!P!Q.d!Q#O0X#O#P(t#P;'S0X;'S;=`4a<%lO0XU3zV'_QOz)^z{)z{!P)^!P!Q(_!Q;'S)^;'S;=`*g<%lO)^U4dP;=`<%l0XU4jP;=`<%l1VU4pP;=`<%l+|U4vP;=`<%l$nU5QV'_Q'PSOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_5p]'_Q&|X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_6rV'_Q&|X'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_7b_ZX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`8a!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_8j]#PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_9lV']Q'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_:[]'QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_;^i'_Q'vW'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_=Uj'_Q_X'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![<{![!c$n!c!}<{!}#O$n#O#P&[#P#R$n#R#S<{#S#T$n#T#o<{#o${$n${$|<{$|4w$n4w5b<{5b5i$n5i6S<{6S;'S$n;'S;=`4s<%lO$n_?P_(TP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_@X]#OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_AZa!qX'_Q'OSOY$nYZ%nZr$nrs&[sv$nvwB`wz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Bi]'}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Cik'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q!cE^!c!}Lp!}#OE^#O#P!!l#P#RE^#R#SLp#S#TE^#T#oLp#o${E^${$|Lp$|4wE^4w5bLp5b5iE^5i6SLp6S;'SE^;'S;=`!*}<%lOE^_Ee_'_Q'OSOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Fm]'_Q'OSsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_GmX'_Q'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]HaV'OSsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]H{X'OSOw&[wxHYxz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_Im_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{+O{!P+|!P!Q4y!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Js]'_QsXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_Kq_'_QOY+|YZ-xZr+|rs'`sw+|wxJlxz+|z{.d{!P+|!P!Q/Z!Q#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_Lyl'_Q'OS'ZXOY$nYZ%nZr$nrs&[sw$nwxFdxz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n_Nzj'_Q'OS'ZXOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![Nq![!c$n!c!}Nq!}#O$n#O#P&[#P#R$n#R#SNq#S#T$n#T#oNq#o${$n${$|Nq$|4w$n4w5bNq5b5i$n5i6SNq6S;'S$n;'S;=`4s<%lO$n]!!qZ'OSOzHvz{!#d{!PHv!P!Q!$n!Q#iHv#i#j!%Z#j#lHv#l#m!'V#m;'SHv;'S;=`!*w<%lOHv]!#gXOw'`wx!$Sxz'`z{&v{!P'`!P!Q*y!Q;'S'`;'S;=`*m<%lO'`]!$XVsXOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[]!$qWOw'`wx!$Sxz'`{!P'`!P!Q(_!Q;'S'`;'S;=`*m<%lO'`]!%`^'OSOz&[z{&v{!P&[!P!Q'x!Q![!&[![!c&[!c!i!&[!i#T&[#T#Z!&[#Z#o&[#o#p!({#p;'S&[;'S;=`*s<%lO&[]!&a['OSOz&[z{&v{!P&[!P!Q'x!Q![!'V![!c&[!c!i!'V!i#T&[#T#Z!'V#Z;'S&[;'S;=`*s<%lO&[]!'[['OSOz&[z{&v{!P&[!P!Q'x!Q![!(Q![!c&[!c!i!(Q!i#T&[#T#Z!(Q#Z;'S&[;'S;=`*s<%lO&[]!(V['OSOz&[z{&v{!P&[!P!Q'x!Q![Hv![!c&[!c!iHv!i#T&[#T#ZHv#Z;'S&[;'S;=`*s<%lO&[]!)Q['OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z;'S&[;'S;=`*s<%lO&[]!){^'OSOz&[z{&v{!P&[!P!Q'x!Q![!)v![!c&[!c!i!)v!i#T&[#T#Z!)v#Z#q&[#q#rHv#r;'S&[;'S;=`*s<%lO&[]!*zP;=`<%lHv_!+QP;=`<%lE^_!+^]}X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!,`]!PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!-`_(QX'_QOY+|YZ-xZr+|rs'`sz+|z{+O{!P+|!P!Q4y!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!.f]#OX'_QOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!/h_(PX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!0p]!eX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!1r`'gX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`!a!2t!a#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!2}]#QX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!4P^(OX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!4{!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!5U`!lX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!O$n!O!P!6W!P!Q,z!Q!_$n!_!`!7Y!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!6a]!tX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nV!7c]'qP'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_!8c_'_Q'xXOY+|YZ-xZr+|rs'`sz+|z{!9b{!P+|!P!Q!:O!Q!_+|!_!`!._!`#O+|#O#P'`#P;'S+|;'S;=`4m<%lO+|_!9iV&}]'_QOY.dYZ/OZr.ds#O.d#P;'S.d;'S;=`/T<%lO.d_!:V]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!Aq{!P!;O!P!Q!:O!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;O_!;V]'_QUXOY!jYZ(tZz!>jz{!=x{!P!>j!P!Q!?|!Q;'S!>j;'S;=`!@e<%lO!>j]!>oXUXOY!=SYZ)^Zz!=Sz{!=x{!P!=S!P!Q!?[!Q;'S!=S;'S;=`!@k<%lO!=S]!?aXUXOY!>jYZ(tZz!>jz{!?|{!P!>j!P!Q!?[!Q;'S!>j;'S;=`!@e<%lO!>jX!@RSUXOY!?|Z;'S!?|;'S;=`!@_<%lO!?|X!@bP;=`<%l!?|]!@hP;=`<%l!>j]!@nP;=`<%l!=S_!@x]'_QUXOY!;OYZ3uZr!;Ors!>jsz!;Oz{!@q{!P!;O!P!Q!Aq!Q#O!;O#O#P!>j#P;'S!;O;'S;=`!Bk<%lO!;OZ!AxX'_QUXOY!AqYZ/OZr!Aqrs!?|s#O!Aq#O#P!?|#P;'S!Aq;'S;=`!Be<%lO!AqZ!BhP;=`<%l!Aq_!BnP;=`<%l!;O_!BtP;=`<%l!o![!c&[!c!i#>o!i#T&[#T#Z#>o#Z#o&[#o#p#A`#p;'S&[;'S;=`*s<%lO&[U#>t['OSOz&[z{&v{!P&[!P!Q'x!Q![#?j![!c&[!c!i#?j!i#T&[#T#Z#?j#Z;'S&[;'S;=`*s<%lO&[U#?o['OSOz&[z{&v{!P&[!P!Q'x!Q![#@e![!c&[!c!i#@e!i#T&[#T#Z#@e#Z;'S&[;'S;=`*s<%lO&[U#@j['OSOz&[z{&v{!P&[!P!Q'x!Q![#;}![!c&[!c!i#;}!i#T&[#T#Z#;}#Z;'S&[;'S;=`*s<%lO&[U#Ae['OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z;'S&[;'S;=`*s<%lO&[U#B`^'OSOz&[z{&v{!P&[!P!Q'x!Q![#BZ![!c&[!c!i#BZ!i#T&[#T#Z#BZ#Z#q&[#q#r#;}#r;'S&[;'S;=`*s<%lO&[U#C_P;=`<%l#;}_#Ck]XX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Dm_'{X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_#Ewl'_Q'OS!yW'TPOY$nYZ%nZr$nrs#Gosw$nwx#H]xz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$n]#GvV'OS'^XOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[_#Hd_'_Q'OSOYE^YZGfZrE^rsHvswE^wxFdxzE^z{Ih{!PE^!P!QKl!Q#OE^#O#P!!l#P;'SE^;'S;=`!*}<%lOE^_#Ink'_Q'OS!yW'TPOY$nYZ%nZr$nrs&[st#Kctz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[m,u,G,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:O=>j[O]||-1}],tokenPrec:15596}),I=_.define({name:"rust",parser:E.configure({props:[q.add({IfExpression:r({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),l.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return w;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function D(){return new V(I)}export{D as rust,I as rustLanguage}; diff --git a/public/admin/assets/index-DMib4jzv.js b/AIWebQuickDeploy/public/admin/assets/index-Bc9Zhmen.js similarity index 98% rename from public/admin/assets/index-DMib4jzv.js rename to AIWebQuickDeploy/public/admin/assets/index-Bc9Zhmen.js index 9ef16ff..2ccdb7c 100644 --- a/public/admin/assets/index-DMib4jzv.js +++ b/AIWebQuickDeploy/public/admin/assets/index-Bc9Zhmen.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as me}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as ce,r as _,m as x,a as fe,p as u,q as _e,g as w,c as z,b as l,w as t,F as G,s as H,i as k,h as r,y as be,z as j,t as p,e as I,K as U,G as D,k as K}from"./index-nGFMSQGw.js";import{k as J}from"./index-BE-LteFu.js";import{u as Q}from"./utcformatTime-Bq4gDWNx.js";const ge=I("div",{class:"flex items-center gap-4"},"用户信息列表",-1),we={class:"input-with-text"},ve={class:"input-with-text"},Ce={class:"input-with-text"},ye=ce({__name:"index",setup(he){const A=_(),R=_(0),y=_(!1),h=_(!1),v=_(!1),M=_(0),S=_(),g=x({status:"0",id:0}),m=x({model3Count:0,model4Count:0,drawMjCount:0}),i=x({username:"",email:"",status:"",phone:"",page:1,size:15}),W={0:"Inactive",1:"Active",2:"Banned",3:"Suspended"},X=x({model3Count:[{required:!0,message:"请填写调整的基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写调整的高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写调整的绘画积分额度",trigger:"blur"}]}),q=_([]);async function b(){try{h.value=!0;const n=await U.queryAllUser(i),{rows:a,count:C}=n.data;h.value=!1,R.value=C,q.value=a}catch{h.value=!1}}function Z(n){y.value=!0,g.status=n.status.toString(),g.id=n.id}function E(n){v.value=!0,M.value=n.id}async function ee(){(await U.updateUserStatus(g)).success&&D({type:"success",message:"变更用户状态成功!"}),y.value=!1,b()}function le(n){n==null||n.resetFields(),b()}async function te(n){const{id:a,email:C}=n;(await U.resetUserPassword({id:a})).success&&D({type:"success",message:`重置用户[${C}密码为初始密码为[123456]完成!`})}function ae(n){M.value=0,n==null||n.resetFields()}async function ne(n){n==null||n.validate(async a=>{a&&(await U.sendUserCrami({...m,userId:M.value}),D.success("调整成功!"),v.value=!1,b())})}return fe(()=>b()),(n,a)=>{const C=me,V=u("el-input"),d=u("el-form-item"),N=u("el-option"),P=u("el-select"),c=u("el-button"),T=u("el-form"),B=pe,oe=u("el-avatar"),s=u("el-table-column"),L=u("el-tag"),se=u("el-popconfirm"),re=u("el-table"),ue=u("el-pagination"),ie=u("el-row"),F=u("el-dialog"),$=u("el-input-number"),de=_e("loading");return w(),z("div",null,[l(C,null,{title:t(()=>[ge]),_:1}),l(B,null,{default:t(()=>[l(T,{ref_key:"formRef",ref:A,inline:!0,model:i},{default:t(()=>[l(d,{label:"用户名称",prop:"username"},{default:t(()=>[l(V,{modelValue:i.username,"onUpdate:modelValue":a[0]||(a[0]=e=>i.username=e),placeholder:"用户姓名[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"用户邮箱",prop:"email"},{default:t(()=>[l(V,{modelValue:i.email,"onUpdate:modelValue":a[1]||(a[1]=e=>i.email=e),placeholder:"用户邮箱[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"手机号码",prop:"phone"},{default:t(()=>[l(V,{modelValue:i.phone,"onUpdate:modelValue":a[2]||(a[2]=e=>i.phone=e),placeholder:"手机号码[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"用户状态",prop:"status"},{default:t(()=>[l(P,{modelValue:i.status,"onUpdate:modelValue":a[3]||(a[3]=e=>i.status=e),placeholder:"请选择用户状态",style:{width:"160px"},clearable:""},{default:t(()=>[(w(!0),z(G,null,H(k(J),e=>(w(),j(N,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(c,{type:"primary",onClick:b},{default:t(()=>[r(" 查询 ")]),_:1}),l(c,{onClick:a[4]||(a[4]=e=>le(A.value))},{default:t(()=>[r(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(B,{style:{width:"100%"}},{default:t(()=>[be((w(),j(re,{border:"",data:q.value,style:{width:"100%"},size:"large"},{default:t(()=>[l(s,{prop:"avatar",label:"用户头像",fixed:"",width:"120"},{default:t(e=>[l(oe,{src:e.row.avatar},null,8,["src"])]),_:1}),l(s,{fixed:"",prop:"username",label:"用户名称",width:"150"}),l(s,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),l(s,{prop:"phone",label:"用户手机号",width:"250",align:"left"},{default:t(e=>{var o;return[r(p(((o=e.row)==null?void 0:o.phone)||"未绑定手机号"),1)]}),_:1}),l(s,{prop:"realName",label:"真实姓名",width:"150",align:"center"},{default:t(e=>{var o;return[r(p(((o=e.row)==null?void 0:o.realName)||"未实名认证"),1)]}),_:1}),l(s,{prop:"idCard",label:"身份证号",width:"200",align:"center"},{default:t(e=>{var o;return[r(p(((o=e.row)==null?void 0:o.idCard)||"未实名认证"),1)]}),_:1}),l(s,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:t(({row:e})=>[l(L,{type:"success"},{default:t(()=>[r(p(W[e.status]),1)]),_:2},1024)]),_:1}),l(s,{prop:"balanceInfo.model3Count",label:"基础模型",width:"120",align:"center"}),l(s,{prop:"balanceInfo.model4Count",label:"高级模型",width:"120",align:"center"}),l(s,{prop:"balanceInfo.drawMjCount",label:"绘画余额",width:"120",align:"center"}),r("expirationTime "),l(s,{prop:"balanceInfo.drawMjCount",label:"会员到期时间",width:"170",align:"center"},{default:t(e=>[l(L,{type:"success"},{default:t(()=>{var o,f,Y,O;return[r(p((f=(o=e.row)==null?void 0:o.balanceInfo)!=null&&f.expirationTime?k(Q)(new Date((O=(Y=e.row)==null?void 0:Y.balanceInfo)==null?void 0:O.expirationTime).toString()):"非会员"),1)]}),_:2},1024)]),_:1}),l(s,{prop:"balanceInfo.memberModel3Count",label:"基础模型[会员]",width:"120",align:"center"}),l(s,{prop:"balanceInfo.memberModel4Count",label:"高级模型[会员]",width:"120",align:"center"}),l(s,{prop:"balanceInfo.memberDrawMjCount",label:"绘画余额[会员]",width:"120",align:"center"}),l(s,{prop:"balanceInfo.useModel3Count",label:"已用基础模型",width:"160",align:"center"},{default:t(e=>{var o,f;return[r(p(`${((o=e.row.balanceInfo)==null?void 0:o.useModel3Count)||0}次 | ${((f=e.row.balanceInfo)==null?void 0:f.useModel3Token)||0} Token`),1)]}),_:1}),l(s,{prop:"balanceInfo.useModel4Count",label:"已用高级模型",width:"160",align:"center"},{default:t(e=>{var o,f;return[r(p(`${((o=e.row.balanceInfo)==null?void 0:o.useModel4Count)||0}次 | ${((f=e.row.balanceInfo)==null?void 0:f.useModel4Token)||0} Token`),1)]}),_:1}),l(s,{prop:"balanceInfo.useDrawMjToken",label:"已用绘画积分",width:"160",align:"center"},{default:t(e=>{var o;return[r(p(`${((o=e.row.balanceInfo)==null?void 0:o.useDrawMjToken)||0} Token`),1)]}),_:1}),l(s,{prop:"createdAt",label:"注册时间",width:"200",align:"center"},{default:t(e=>[r(p(k(Q)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),l(s,{fixed:"right",label:"操作",width:"250",align:"center"},{default:t(e=>[l(c,{link:"",type:"primary",size:"small",onClick:o=>Z(e.row)},{default:t(()=>[r(" 修改状态 ")]),_:2},1032,["onClick"]),l(se,{title:"确认重置此用户密码为【123456】?","confirm-button-text":"确认重置",onConfirm:o=>te(e.row)},{reference:t(()=>[l(c,{link:"",type:"danger"},{default:t(()=>[r(" 重置密码 ")]),_:1})]),_:2},1032,["onConfirm"]),l(c,{link:"",type:"primary",size:"small",onClick:o=>E(e.row)},{default:t(()=>[r(" 调整积分 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[de,h.value]]),l(ie,{class:"mt-5 flex justify-end"},{default:t(()=>[l(ue,{"current-page":i.page,"onUpdate:currentPage":a[5]||(a[5]=e=>i.page=e),"page-size":i.size,"onUpdate:pageSize":a[6]||(a[6]=e=>i.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:R.value,onSizeChange:b,onCurrentChange:b},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(F,{modelValue:y.value,"onUpdate:modelValue":a[8]||(a[8]=e=>y.value=e),title:"变更用户状态",width:"500px"},{default:t(()=>[l(T,{model:g,inline:!0},{default:t(()=>[l(d,{label:"用户状态","label-width":"90px"},{default:t(()=>[l(P,{modelValue:g.status,"onUpdate:modelValue":a[7]||(a[7]=e=>g.status=e),placeholder:"请选择用户状态",style:{width:"160px"},clearable:""},{default:t(()=>[(w(!0),z(G,null,H(k(J),e=>(w(),j(N,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(c,{type:"primary",onClick:ee},{default:t(()=>[r(" 确认变更 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),l(F,{modelValue:v.value,"onUpdate:modelValue":a[14]||(a[14]=e=>v.value=e),title:"调整用户积分(赠送/扣除)",width:"450px",onClose:a[15]||(a[15]=e=>ae(S.value))},{footer:t(()=>[l(c,{onClick:a[12]||(a[12]=e=>v.value=!1)},{default:t(()=>[r(" 取消 ")]),_:1}),l(c,{type:"primary",onClick:a[13]||(a[13]=e=>ne(S.value))},{default:t(()=>[r(" 确认调整 ")]),_:1})]),default:t(()=>[l(T,{ref_key:"cramiRef",ref:S,model:m,rules:X,"label-width":"100px"},{default:t(()=>[l(d,{label:"基础积分",prop:"modelLimits"},{default:t(()=>[I("div",we,[l($,{modelValue:m.model3Count,"onUpdate:modelValue":a[9]||(a[9]=e=>m.model3Count=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1}),l(d,{label:"高级积分",prop:"modelLimits"},{default:t(()=>[I("div",ve,[l($,{modelValue:m.model4Count,"onUpdate:modelValue":a[10]||(a[10]=e=>m.model4Count=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1}),l(d,{label:"绘画积分",prop:"modelLimits"},{default:t(()=>[I("div",Ce,[l($,{modelValue:m.drawMjCount,"onUpdate:modelValue":a[11]||(a[11]=e=>m.drawMjCount=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}});typeof K=="function"&&K(ye);export{ye as default}; +import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as me}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as ce,r as _,m as x,a as fe,p as u,q as _e,g as w,c as z,b as l,w as t,F as G,s as H,i as k,h as r,y as be,z as j,t as p,e as I,K as U,G as D,k as K}from"./index-6QRvoxq4.js";import{k as J}from"./index-BE-LteFu.js";import{u as Q}from"./utcformatTime-Bq4gDWNx.js";const ge=I("div",{class:"flex items-center gap-4"},"用户信息列表",-1),we={class:"input-with-text"},ve={class:"input-with-text"},Ce={class:"input-with-text"},ye=ce({__name:"index",setup(he){const A=_(),R=_(0),y=_(!1),h=_(!1),v=_(!1),M=_(0),S=_(),g=x({status:"0",id:0}),m=x({model3Count:0,model4Count:0,drawMjCount:0}),i=x({username:"",email:"",status:"",phone:"",page:1,size:15}),W={0:"Inactive",1:"Active",2:"Banned",3:"Suspended"},X=x({model3Count:[{required:!0,message:"请填写调整的基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写调整的高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写调整的绘画积分额度",trigger:"blur"}]}),q=_([]);async function b(){try{h.value=!0;const n=await U.queryAllUser(i),{rows:a,count:C}=n.data;h.value=!1,R.value=C,q.value=a}catch{h.value=!1}}function Z(n){y.value=!0,g.status=n.status.toString(),g.id=n.id}function E(n){v.value=!0,M.value=n.id}async function ee(){(await U.updateUserStatus(g)).success&&D({type:"success",message:"变更用户状态成功!"}),y.value=!1,b()}function le(n){n==null||n.resetFields(),b()}async function te(n){const{id:a,email:C}=n;(await U.resetUserPassword({id:a})).success&&D({type:"success",message:`重置用户[${C}密码为初始密码为[123456]完成!`})}function ae(n){M.value=0,n==null||n.resetFields()}async function ne(n){n==null||n.validate(async a=>{a&&(await U.sendUserCrami({...m,userId:M.value}),D.success("调整成功!"),v.value=!1,b())})}return fe(()=>b()),(n,a)=>{const C=me,V=u("el-input"),d=u("el-form-item"),N=u("el-option"),P=u("el-select"),c=u("el-button"),T=u("el-form"),B=pe,oe=u("el-avatar"),s=u("el-table-column"),L=u("el-tag"),se=u("el-popconfirm"),re=u("el-table"),ue=u("el-pagination"),ie=u("el-row"),F=u("el-dialog"),$=u("el-input-number"),de=_e("loading");return w(),z("div",null,[l(C,null,{title:t(()=>[ge]),_:1}),l(B,null,{default:t(()=>[l(T,{ref_key:"formRef",ref:A,inline:!0,model:i},{default:t(()=>[l(d,{label:"用户名称",prop:"username"},{default:t(()=>[l(V,{modelValue:i.username,"onUpdate:modelValue":a[0]||(a[0]=e=>i.username=e),placeholder:"用户姓名[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"用户邮箱",prop:"email"},{default:t(()=>[l(V,{modelValue:i.email,"onUpdate:modelValue":a[1]||(a[1]=e=>i.email=e),placeholder:"用户邮箱[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"手机号码",prop:"phone"},{default:t(()=>[l(V,{modelValue:i.phone,"onUpdate:modelValue":a[2]||(a[2]=e=>i.phone=e),placeholder:"手机号码[模糊搜索]",clearable:""},null,8,["modelValue"])]),_:1}),l(d,{label:"用户状态",prop:"status"},{default:t(()=>[l(P,{modelValue:i.status,"onUpdate:modelValue":a[3]||(a[3]=e=>i.status=e),placeholder:"请选择用户状态",style:{width:"160px"},clearable:""},{default:t(()=>[(w(!0),z(G,null,H(k(J),e=>(w(),j(N,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(c,{type:"primary",onClick:b},{default:t(()=>[r(" 查询 ")]),_:1}),l(c,{onClick:a[4]||(a[4]=e=>le(A.value))},{default:t(()=>[r(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(B,{style:{width:"100%"}},{default:t(()=>[be((w(),j(re,{border:"",data:q.value,style:{width:"100%"},size:"large"},{default:t(()=>[l(s,{prop:"avatar",label:"用户头像",fixed:"",width:"120"},{default:t(e=>[l(oe,{src:e.row.avatar},null,8,["src"])]),_:1}),l(s,{fixed:"",prop:"username",label:"用户名称",width:"150"}),l(s,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),l(s,{prop:"phone",label:"用户手机号",width:"250",align:"left"},{default:t(e=>{var o;return[r(p(((o=e.row)==null?void 0:o.phone)||"未绑定手机号"),1)]}),_:1}),l(s,{prop:"realName",label:"真实姓名",width:"150",align:"center"},{default:t(e=>{var o;return[r(p(((o=e.row)==null?void 0:o.realName)||"未实名认证"),1)]}),_:1}),l(s,{prop:"idCard",label:"身份证号",width:"200",align:"center"},{default:t(e=>{var o;return[r(p(((o=e.row)==null?void 0:o.idCard)||"未实名认证"),1)]}),_:1}),l(s,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:t(({row:e})=>[l(L,{type:"success"},{default:t(()=>[r(p(W[e.status]),1)]),_:2},1024)]),_:1}),l(s,{prop:"balanceInfo.model3Count",label:"基础模型",width:"120",align:"center"}),l(s,{prop:"balanceInfo.model4Count",label:"高级模型",width:"120",align:"center"}),l(s,{prop:"balanceInfo.drawMjCount",label:"绘画余额",width:"120",align:"center"}),r("expirationTime "),l(s,{prop:"balanceInfo.drawMjCount",label:"会员到期时间",width:"170",align:"center"},{default:t(e=>[l(L,{type:"success"},{default:t(()=>{var o,f,Y,O;return[r(p((f=(o=e.row)==null?void 0:o.balanceInfo)!=null&&f.expirationTime?k(Q)(new Date((O=(Y=e.row)==null?void 0:Y.balanceInfo)==null?void 0:O.expirationTime).toString()):"非会员"),1)]}),_:2},1024)]),_:1}),l(s,{prop:"balanceInfo.memberModel3Count",label:"基础模型[会员]",width:"120",align:"center"}),l(s,{prop:"balanceInfo.memberModel4Count",label:"高级模型[会员]",width:"120",align:"center"}),l(s,{prop:"balanceInfo.memberDrawMjCount",label:"绘画余额[会员]",width:"120",align:"center"}),l(s,{prop:"balanceInfo.useModel3Count",label:"已用基础模型",width:"160",align:"center"},{default:t(e=>{var o,f;return[r(p(`${((o=e.row.balanceInfo)==null?void 0:o.useModel3Count)||0}次 | ${((f=e.row.balanceInfo)==null?void 0:f.useModel3Token)||0} Token`),1)]}),_:1}),l(s,{prop:"balanceInfo.useModel4Count",label:"已用高级模型",width:"160",align:"center"},{default:t(e=>{var o,f;return[r(p(`${((o=e.row.balanceInfo)==null?void 0:o.useModel4Count)||0}次 | ${((f=e.row.balanceInfo)==null?void 0:f.useModel4Token)||0} Token`),1)]}),_:1}),l(s,{prop:"balanceInfo.useDrawMjToken",label:"已用绘画积分",width:"160",align:"center"},{default:t(e=>{var o;return[r(p(`${((o=e.row.balanceInfo)==null?void 0:o.useDrawMjToken)||0} Token`),1)]}),_:1}),l(s,{prop:"createdAt",label:"注册时间",width:"200",align:"center"},{default:t(e=>[r(p(k(Q)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),l(s,{fixed:"right",label:"操作",width:"250",align:"center"},{default:t(e=>[l(c,{link:"",type:"primary",size:"small",onClick:o=>Z(e.row)},{default:t(()=>[r(" 修改状态 ")]),_:2},1032,["onClick"]),l(se,{title:"确认重置此用户密码为【123456】?","confirm-button-text":"确认重置",onConfirm:o=>te(e.row)},{reference:t(()=>[l(c,{link:"",type:"danger"},{default:t(()=>[r(" 重置密码 ")]),_:1})]),_:2},1032,["onConfirm"]),l(c,{link:"",type:"primary",size:"small",onClick:o=>E(e.row)},{default:t(()=>[r(" 调整积分 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[de,h.value]]),l(ie,{class:"mt-5 flex justify-end"},{default:t(()=>[l(ue,{"current-page":i.page,"onUpdate:currentPage":a[5]||(a[5]=e=>i.page=e),"page-size":i.size,"onUpdate:pageSize":a[6]||(a[6]=e=>i.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:R.value,onSizeChange:b,onCurrentChange:b},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(F,{modelValue:y.value,"onUpdate:modelValue":a[8]||(a[8]=e=>y.value=e),title:"变更用户状态",width:"500px"},{default:t(()=>[l(T,{model:g,inline:!0},{default:t(()=>[l(d,{label:"用户状态","label-width":"90px"},{default:t(()=>[l(P,{modelValue:g.status,"onUpdate:modelValue":a[7]||(a[7]=e=>g.status=e),placeholder:"请选择用户状态",style:{width:"160px"},clearable:""},{default:t(()=>[(w(!0),z(G,null,H(k(J),e=>(w(),j(N,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(d,null,{default:t(()=>[l(c,{type:"primary",onClick:ee},{default:t(()=>[r(" 确认变更 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"]),l(F,{modelValue:v.value,"onUpdate:modelValue":a[14]||(a[14]=e=>v.value=e),title:"调整用户积分(赠送/扣除)",width:"450px",onClose:a[15]||(a[15]=e=>ae(S.value))},{footer:t(()=>[l(c,{onClick:a[12]||(a[12]=e=>v.value=!1)},{default:t(()=>[r(" 取消 ")]),_:1}),l(c,{type:"primary",onClick:a[13]||(a[13]=e=>ne(S.value))},{default:t(()=>[r(" 确认调整 ")]),_:1})]),default:t(()=>[l(T,{ref_key:"cramiRef",ref:S,model:m,rules:X,"label-width":"100px"},{default:t(()=>[l(d,{label:"基础积分",prop:"modelLimits"},{default:t(()=>[I("div",we,[l($,{modelValue:m.model3Count,"onUpdate:modelValue":a[9]||(a[9]=e=>m.model3Count=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1}),l(d,{label:"高级积分",prop:"modelLimits"},{default:t(()=>[I("div",ve,[l($,{modelValue:m.model4Count,"onUpdate:modelValue":a[10]||(a[10]=e=>m.model4Count=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1}),l(d,{label:"绘画积分",prop:"modelLimits"},{default:t(()=>[I("div",Ce,[l($,{modelValue:m.drawMjCount,"onUpdate:modelValue":a[11]||(a[11]=e=>m.drawMjCount=e),max:99999,min:-99999,step:1,"step-strictly":"",class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"])])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])])}}});typeof K=="function"&&K(ye);export{ye as default}; diff --git a/public/admin/assets/index-BaTBnWfb.js b/AIWebQuickDeploy/public/admin/assets/index-Bd4myPrr.js similarity index 99% rename from public/admin/assets/index-BaTBnWfb.js rename to AIWebQuickDeploy/public/admin/assets/index-Bd4myPrr.js index 8d31c29..93fab14 100644 --- a/public/admin/assets/index-BaTBnWfb.js +++ b/AIWebQuickDeploy/public/admin/assets/index-Bd4myPrr.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{s as X,t as O,d as e,L as r,i as s,c as $,j as S,k as l,f as Z,l as Y,a as t}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const n=X({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),o={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:236,open:265,module:267,requires:272,transitive:274,exports:276,to:278,opens:280,uses:282,provides:284,with:286,package:290,import:294,if:306,else:308,while:312,for:316,var:323,assert:330,switch:334,case:340,do:344,break:348,continue:352,return:356,throw:362,try:366,catch:370,finally:378},c=e.deserialize({version:14,states:"#!tQ]QPOOQ$wQPOOO(_QQO'#H]O*cQQO'#CbOOQO'#Cb'#CbO*jQPO'#CaO*rOSO'#CpOOQO'#Hb'#HbOOQO'#Cu'#CuO,_QPO'#D_O,xQQO'#HlOOQO'#Hl'#HlO/^QQO'#HgO/eQQO'#HgOOQO'#Hg'#HgOOQO'#Hf'#HfO1iQPO'#DUO1vQPO'#GmO4nQPO'#D_O4uQPO'#DzO*jQPO'#E[O5hQPO'#E[OOQO'#DV'#DVO6vQQO'#H`O8}QQO'#EeO9UQPO'#EdO9ZQPO'#EfOOQO'#Ha'#HaO7^QQO'#HaO:^QQO'#FgO:eQPO'#EwO:jQPO'#E|O:jQPO'#FOOOQO'#H`'#H`OOQO'#HX'#HXOOQO'#Gg'#GgOOQO'#HW'#HWO;zQPO'#FhOOQO'#HV'#HVOOQO'#Gf'#GfQ]QPOOOOQO'#Hr'#HrOQQPO'#GYO>nQQO'#HhO?ZQQO'#CuO?bQPO'#HwO?pQPO'#D_O@`QPO'#DpO?eQPO'#DqO@jQPO'#HwO@{QPO'#DpOATQPO'#IQOAYQPO'#E`OOQO'#Hq'#HqOOQO'#Gl'#GlQ$wQPOOOAbQPO'#HrOOQO'#H]'#H]OCaQQO,58{OOQO'#HZ'#HZOOOO'#Gh'#GhOESOSO,59[OOQO,59[,59[OOQO'#Hh'#HhOEsQPO,59eOFuQPO,59yOOQO-E:e-E:eO*jQPO,58zOGiQPO,58zO*jQPO,5;|OGnQPO'#DQOGsQPO'#DQOOQO'#Gj'#GjOHsQQO,59jOOQO'#Dm'#DmOJ[QPO'#HtOJfQPO'#DlOJtQPO'#HsOJ|QPO,5<^OKRQPO,59^OKlQPO'#CxOOQO,59c,59cOKsQPO,59bOLOQQO'#H]OM}QQO'#CbO! |QPO'#D_O!#RQQO'#HlO!#cQQO,59pO!#jQPO'#DvO!#xQPO'#H{O!$QQPO,5:`O!$VQPO,5:`O!$mQPO,5;mO!$xQPO'#ISO!%TQPO,5;dO!%YQPO,5=XOOQO-E:k-E:kOOQO,5:f,5:fO!&pQPO,5:fO!&wQPO,5:vO?bQPO,5<^O*jQPO,5:vO^,5>^O!*TQPO,5:gO!*cQPO,5:qO!*kQPO,5:lO!*vQPO,5>ZO!#jQPO,5>ZO!&|QPO,59UO!+RQQO,58zO!+ZQQO,5;|O!+cQQO,5TQPO,5TQPO,5<|O!1}QPO,59jO!2[QPO'#HtO!2cQPO,59xO!2hQPO,5>cO?bQPO,59xO!2sQPO,5:[OAYQPO,5:zO!2{QPO'#DrO?eQPO'#DrO!3WQPO'#HxO!3`QPO,5:]O?bQPO,5>cO!'{QPO,5>cOATQPO,5>lOOQO,5:[,5:[O!$VQPO'#DtOOQO,5>l,5>lO!3eQPO'#EaOOQO,5:z,5:zO!6fQPO,5:zO!'{QPO'#DxOOQO-E:j-E:jOOQO,5:y,5:yO*jQPO,58}O!6kQPO'#ChOOQO1G.k1G.kOOOO-E:f-E:fOOQO1G.v1G.vO!+RQQO1G.fO*jQPO1G.fO!6uQQO1G1hOOQO,59l,59lO!6}QPO,59lOOQO-E:h-E:hO!7SQPO,5>`O!7kQPO,5:WO_OOQO1G1x1G1xOOQO1G.x1G.xO!8]QPO'#CyO!8{QPO'#HlO!9VQPO'#CzO!9eQPO'#HkO!9mQPO,59dOOQO1G.|1G.|OKsQPO1G.|O!:TQPO,59eO!:bQQO'#H]O!:sQQO'#CbOOQO,5:b,5:bOgOOQO1G/z1G/zO!nOOQO1G1O1G1OOOQO1G0Q1G0QO!=PQPO'#E]OOQO1G0b1G0bO!=pQPO1G1xO!&wQPO1G0bO!*TQPO1G0RO!*cQPO1G0]O!*kQPO1G0WOOQO1G/]1G/]O!=uQQO1G.pO9UQPO1G0jO*jQPO1G0jO<^QPO'#HoO!?iQQO1G.pOOQO1G.p1G.pO!?nQQO1G0iOOQO1G0l1G0lO!?uQPO1G0lO!@QQQO1G.oO!@hQQO'#HpO!@uQPO,59sO!BUQQO1G0pO!CmQQO1G0pO!D{QQO1G0pO!EYQQO1G0pO!F_QQO1G0pO!FuQQO1G0pO!GPQQO1G1PO!GWQQO'#HlOOQO1G0{1G0{O!HZQQO1G0}OOQO1G0}1G0}OOQO1G1n1G1nO!HqQPO'#D[O!'{QPO'#D|O!'{QPO'#D}OOQO1G0R1G0RO!HxQPO1G0RO!H}QPO1G0RO!IVQPO1G0RO!IbQPO'#EXOOQO1G0]1G0]O!IuQPO1G0]O!IzQPO'#ETO!'{QPO'#ESOOQO1G0W1G0WO!JtQPO1G0WO!JyQPO1G0WO!KRQPO'#EhO!KYQPO'#EhOOQO'#Gw'#GwO!KbQQO1G0mO!MRQQO1G3uO9UQPO1G3uO# QQPO'#FWOOQO1G.f1G.fOOQO1G1h1G1hO# XQPO1G1jOOQO1G1j1G1jO# dQQO1G1jO# lQPO1G1pOOQO1G1s1G1sO*zQPO'#D_O,xQQO,5TQPO'#G`OOQO1G2`1G2`O#/{QPO1G2hO#3yQPO,5>fOOQO1G/d1G/dOOQO1G3}1G3}O#4[QPO1G/dOOQO1G/v1G/vOOQO1G0f1G0fO!6fQPO1G0fOOQO,5:^,5:^O!'{QPO'#DsO#4aQPO,5:^O?eQPO'#GqO#4lQPO,5>dOOQO1G/w1G/wOATQPO'#HzO#4tQPO1G3}O?bQPO1G3}OOQO1G4W1G4WO!!mQPO'#DvO! |QPO'#D_OOQO,5:{,5:{O#5PQPO,5:{O#5PQPO,5:{O#5WQQO'#H`O#6fQQO'#HaO#6pQQO'#EbO#6{QPO'#EbO#7TQPO'#H}OOQO,5:d,5:dOOQO1G.i1G.iO#7`QQO'#EeO#7pQQO'#H_O#8QQPO'#FSOOQO'#H_'#H_O#8[QPO'#H_O#8yQPO'#IVO#9RQPO,59SOOQO7+$Q7+$QO!+RQQO7+$QOOQO7+'S7+'SOOQO1G/W1G/WO#9WQPO'#DoO#9bQQO'#HuOOQO'#Hu'#HuOOQO1G/r1G/rOOQO,5=Z,5=ZOOQO-E:m-E:mO#9rQWO,58{O#9yQPO,59fOOQO,59f,59fO!'{QPO'#HnOKWQPO'#GiO#:XQPO,5>VOOQO1G/O1G/OOOQO7+$h7+$hOOQO1G/{1G/{O#:aQQO1G/{OOQO1G/}1G/}O#:fQPO1G/{OOQO1G/|1G/|OZO#[OOQO1G/_1G/_O:jQPO7+&kO#XQPO'#IOO#>dQPO,5:sO?bQPO'#HwO!'{QPO'#HwO#>lQPO'#DpOOQO'#Gt'#GtO#>sQPO,5:oOOQO,5:o,5:oOOQO,5:n,5:nOOQO,5;S,5;SO#?mQQO,5;SO#?tQPO,5;SOOQO-E:u-E:uOOQO7+&X7+&XOOQO7+)a7+)aO#?{QQO7+)aOOQO'#G{'#G{O#AiQPO,5;rOOQO,5;r,5;rO#ApQPO'#FXO*jQPO'#FXO*jQPO'#FXO*jQPO'#FXO#BOQPO7+'UO#BTQPO7+'UOOQO7+'U7+'UO]QPO7+'[O#B`QPO1G1{O?bQPO1G1{O#BnQQO1G1wO!'tQPO1G1wO#BuQPO1G1wO#B|QQO7+'hOOQO'#HO'#HOO#CTQPO,5TQPO,5iO#JsQPO,59TO#JzQPO'#IUO#KSQPO,5;nO*jQPO'#GzO#KXQPO,5>qOOQO1G.n1G.nOOQO<Y,5>YOOQO,5=T,5=TOOQO-E:g-E:gO#KnQPO7+%gOOQO7+%g7+%gOOQO7+%i7+%iOOQO<jO$!iQPO'#EZOOQO1G0_1G0_O$!pQPO1G0_O?bQPO,5:pOOQO-E:r-E:rOOQO1G0Z1G0ZOOQO1G0n1G0nO$!uQQO1G0nOOQO<pOOQO1G1Y1G1YO$(XQPO'#FTOOQO,5=f,5=fOOQO-E:x-E:xO$(^QPO'#GnO$(kQPO,5>bOOQO1G/u1G/uOOQO<sAN>sO!HxQPOAN>sOOQOAN>xAN>xOOQOAN?[AN?[O9UQPOAN?[OOQO1G0`1G0`O$)SQPO1G0`OOQO,5=a,5=aOOQO-E:s-E:sO$)bQPO,5:uOOQO7+%y7+%yOOQO7+&Y7+&YOOQO1G1_1G1_O$)iQQO1G1_OOQO-E:z-E:zO$)qQQO'#IXO$)lQPO1G1_O$#[QPO1G1_O*jQPO1G1_OOQOAN@[AN@[O$)|QQO<sO$+fQPO7+&yO$+kQQO'#IYOOQOAN@mAN@mO$+vQQOAN@mOOQOAN@iAN@iO$+}QPOAN@iO$,SQQO<tOOQOG26XG26XOOQOG26TG26TOOQO<YOWiXuiX%|iX&OiX&QiX&^iX~OZ!aX~P>uOu#OO%|TO&O#SO&Q#SO~O%|TO~P3^Og^Oh^Ov#pO!u#rO!z#qO&^!hO&s#oO~O&O!cO&Q!dO~P?wOg^Oh^O%|TO&O!cO&Q!dO~O}cO!P%^O~OZ%_O~O}%aO!m%dO~O}cOg&fXh&fXv&fX!S&fX!T&fX!U&fX!V&fX!W&fX!X&fX!Y&fX!Z&fX!]&fX!^&fX!_&fX!u&fX!z&fX%|&fX&O&fX&Q&fX&^&fX&s&fX~OW%gOZ%hOgTahTa%|Ta&OTa&QTa~OvTa!STa!TTa!UTa!VTa!WTa!XTa!YTa!ZTa!]Ta!^Ta!_Ta!uTa!zTa#xTa#yTa$VTa$gTa&sTa&^TauTaYTaqTa|Ta!PTa~PBxO&V%kO&X!tO~Ou#OO%|TOqma&]maYma&mma!Pma~O&uma}ma!rma~PE[O!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yO~Og!Rah!Rav!Ra!u!Ra!z!Ra$g!Ra&O!Ra&Q!Ra&s!Ra&^!Ra~PFQO#y%mO~Os%oO~Ou%pO%|TO~Ou#OO%|ra&Ora&Qra&uraYrawra&mra&pra!Pra&]raqra~OWra#_ra#ara#cra#dra#era#fra#gra#hra#jra#nra#qra&^ra#orasra|ra~PG{Ou#OO%|TOq&hX!P&hX!b&hX~OY&hX#o&hX~PIyO!b%sOq!`X!P!`XY!`X~Oq%tO!P&gX~O!P%vO~Ov%wO~Og^Oh^O%|0iO&O!wO&QWO&a%zO~O&]&_P~PKWO%|TO&O!wO&QWO~OW&PXYiXY!aXY&PXZ&PXq!aXu&PXwiX!b&PX#]&PX#_&PX#a&PX#c&PX#d&PX#e&PX#f&PX#g&PX#h&PX#j&PX#n&PX#q&PX&]&PX&^&PX&miX&m&PX&piX&uiX&u&PX&w!aX~P>uOWUXYUXY!aXY&[XZUXq!aXuUXw&[X!bUX#]UX#_UX#aUX#cUX#dUX#eUX#fUX#gUX#hUX#jUX#nUX#qUX&]UX&^UX&mUX&m&[X&p&[X&uUX&u&[X&w!aX~P>YOg^Oh^O%|TO&O!wO&QWOg!RXh!RX&O!RX&Q!RX~PFQOu#OOw&UO%|TO&O&RO&Q&QO&p&TO~OW#XOY&`X&m&`X&u&`X~P!!mOY&WO~P9`Og^Oh^O&O!wO&QWO~Oq&YOY&oX~OY&[O~Og^Oh^O%|TO&O!wO&QWOY&oP~PFQOY&aO&m&_O&u#vO~Oq&bO&w$WOY&vX~OY&dO~O%|TOg%aah%aav%aa!S%aa!T%aa!U%aa!V%aa!W%aa!X%aa!Y%aa!Z%aa!]%aa!^%aa!_%aa!u%aa!z%aa$g%aa&O%aa&Q%aa&s%aa&^%aa~O|&eO~P]O}&fO~Op&rOw&sO&OSO&Q!qO&^#YO~Oz&qO~P!&|Oz&uO&OSO&Q!qO&^#YO~OY&dP~P:jOg^Oh^O%|TO&O!wO&QWO~O}cO~P:jOW#XOu#OO%|TO&u&`X~O#q$TO!P#ra#_#ra#a#ra#c#ra#d#ra#e#ra#f#ra#g#ra#h#ra#j#ra#n#ra&]#ra&^#ra&m#raY#ra#o#ras#raq#ra|#ra~Oo'XO}'WO!r'YO&^!hO~O}'_O!r'YO~Oo'cO}'bO&^!hO~OZ#xOu'gO%|TO~OW%gO}'mO~OW%gO!P'oO~OW'pO!P'qO~O$g!WO&O0kO&Q0jO!P&dP~P/lO!P'|O#o'}O~P9`O}(OO~O$b(QO~O!P(RO~O!P(SO~O!P(TO~P9`O!P(VO~P9`OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQO%P(bO%T(cOZ$|a_$|a`$|aa$|ab$|ac$|ae$|ag$|ah$|ap$|av$|aw$|az$|a}$|a!P$|a!S$|a!T$|a!U$|a!V$|a!W$|a!X$|a!Y$|a!Z$|a![$|a!]$|a!^$|a!_$|a!u$|a!z$|a#e$|a#q$|a#s$|a#t$|a#x$|a#y$|a$V$|a$X$|a$_$|a$b$|a$d$|a$g$|a$k$|a$m$|a$r$|a$t$|a$v$|a$x$|a${$|a$}$|a%v$|a%|$|a&O$|a&Q$|a&W$|a&s$|a|$|a$`$|a$p$|a~O}ra!rra&}ra~PG{OZ%_O~PIyO!P(gO~O!m%dO}&ka!P&ka~O}cO!P(jO~Oo(nOq!fX&]!fX~Oq(pO&]&lX~O&](rO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op)OOv{Ow(}Oz!OO|(yO}cO!PvO![!`O!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&^#YO&sdO~PFQO}%aO~O})VOY&yP~P:jOW%gO!P)^O~Os)_O~Ou#OO%|TOq&ha!P&ha!b&haY&ha#o&ha~O})`O~P:jOq%tO!P&ga~Og^Oh^O%|0iO&O!wO&QWO~O&a)gO~P!7zOu#OO%|TOq&`X&]&`XY&`X&m&`X!P&`X~O}&`X!r&`X~P!8dOo)iOp)iOqnX&]nX~Oq)jO&]&_X~O&])lO~Ou#OOw)nO%|TO&OSO&Q!qO~OYma&mma&uma~P!9rOW&PXY!aXq!aXu!aX%|!aX~OWUXY!aXq!aXu!aX%|!aX~OW)qO~Ou#OO%|TO&O#SO&Q#SO&p)sO~Og^Oh^O%|TO&O!wO&QWO~PFQOq&YOY&oa~Ou#OO%|TO&O#SO&Q#SO&p&TO~OY)vO~OY)yO&m&_O~Oq&bOY&va~Og^Oh^Ov{O|*RO!u}O%|TO&O!wO&QWO&sdO~PFQO!P*SO~OW^iZ#XXu^i!P^i!b^i#]^i#_^i#a^i#c^i#d^i#e^i#f^i#g^i#h^i#j^i#n^i#q^i&]^i&^^i&m^i&u^iY^i#o^is^iq^i|^i~OW*cO~Os*dO~P9`Oz*eO&OSO&Q!qO~O!P]iY]i#o]is]iq]i|]i~P9`Oq*fOY&dX!P&dX~P9`OY*hO~O#q$TO!P#^i#_#^i#a#^i#c#^i#d#^i#e#^i#f#^i#j#^i#n#^i&]#^i&^#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#g$RO#h$RO~P!@zO#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#a#^i#c#^i#d#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#e$PO~P!B`O#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#c#^i#d#^i#n#^iY#^i#o#^is#^iq#^i|#^i~O#a#}O#e$PO&m#{O~P!CtO#e#^i~P!B`O#q$TO!P#^i#a#^i#c#^i#d#^i#e#^i#f#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#_#|O#g$RO#h$RO#j$VO&]#zO&^#zO~P!EaO#g#^i#h#^i~P!@zO#o*iO~P9`O#_&`X#a&`X#c&`X#d&`X#e&`X#f&`X#g&`X#h&`X#j&`X#n&`X#q&`X&^&`X#o&`Xs&`X|&`X~P!8dO!P#kiY#ki#o#kis#kiq#ki|#ki~P9`O|*lO~P$wO}'WO~O}'WO!r'YO~Oo'XO}'WO!r'YO~O%|TO&O#SO&Q#SO|&rP!P&rP~PFQO}'_O~Og^Oh^Ov{O|*yO!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQO}'bO~Oo'cO}'bO~Os*{O~P:jOu*}O%|TO~Ou'gO})`O%|TOW#Zi!P#Zi#_#Zi#a#Zi#c#Zi#d#Zi#e#Zi#f#Zi#g#Zi#h#Zi#j#Zi#n#Zi#q#Zi&]#Zi&^#Zi&m#Zi&u#ZiY#Zi#o#Zis#Ziq#Zi|#Zi~O}'WOW&ciu&ci!P&ci#_&ci#a&ci#c&ci#d&ci#e&ci#f&ci#g&ci#h&ci#j&ci#n&ci#q&ci&]&ci&^&ci&m&ci&u&ciY&ci#o&cis&ciq&ci|&ci~O#|+VO$O+WO$Q+WO$R+XO$S+YO~O|+UO~P!NoO$Y+ZO&OSO&Q!qO~OW+[O!P+]O~O$`+^OZ$^i_$^i`$^ia$^ib$^ic$^ie$^ig$^ih$^ip$^iv$^iw$^iz$^i}$^i!P$^i!S$^i!T$^i!U$^i!V$^i!W$^i!X$^i!Y$^i!Z$^i![$^i!]$^i!^$^i!_$^i!u$^i!z$^i#e$^i#q$^i#s$^i#t$^i#x$^i#y$^i$V$^i$X$^i$_$^i$b$^i$d$^i$g$^i$k$^i$m$^i$r$^i$t$^i$v$^i$x$^i${$^i$}$^i%v$^i%|$^i&O$^i&Q$^i&W$^i&s$^i|$^i$p$^i~Og^Oh^O$g#sO&O!wO&QWO~O!P+bO~P:jO!P+cO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POv{OwkOz!OO}cO!PvO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!Z+hO![!`O!]yO!^yO!_yO!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$p+iO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&sdO~O|+gO~P#&ROW&PXY&PXZ&PXu&PX!P&PX&uiX&u&PX~P>uOWUXYUXZUXuUX!PUX&uUX&u&[X~P>YOW#tOu#uO&u#vO~OW&TXY%WXu&TX!P%WX&u&TX~OZ#XX~P#+WOY+oO!P+mO~O%P(bO%T(cOZ$|i_$|i`$|ia$|ib$|ic$|ie$|ig$|ih$|ip$|iv$|iw$|iz$|i}$|i!P$|i!S$|i!T$|i!U$|i!V$|i!W$|i!X$|i!Y$|i!Z$|i![$|i!]$|i!^$|i!_$|i!u$|i!z$|i#e$|i#q$|i#s$|i#t$|i#x$|i#y$|i$V$|i$X$|i$_$|i$b$|i$d$|i$g$|i$k$|i$m$|i$r$|i$t$|i$v$|i$x$|i${$|i$}$|i%v$|i%|$|i&O$|i&Q$|i&W$|i&s$|i|$|i$`$|i$p$|i~OZ+rO~O%P(bO%T(cOZ%Ui_%Ui`%Uia%Uib%Uic%Uie%Uig%Uih%Uip%Uiv%Uiw%Uiz%Ui}%Ui!P%Ui!S%Ui!T%Ui!U%Ui!V%Ui!W%Ui!X%Ui!Y%Ui!Z%Ui![%Ui!]%Ui!^%Ui!_%Ui!u%Ui!z%Ui#e%Ui#q%Ui#s%Ui#t%Ui#x%Ui#y%Ui$V%Ui$X%Ui$_%Ui$b%Ui$d%Ui$g%Ui$k%Ui$m%Ui$r%Ui$t%Ui$v%Ui$x%Ui${%Ui$}%Ui%v%Ui%|%Ui&O%Ui&Q%Ui&W%Ui&s%Ui|%Ui$`%Ui$p%Ui~Ou#OO%|TO}&na!P&na!m&na~O!P+xO~Oo(nOq!fa&]!fa~Oq(pO&]&la~O!m%dO}&ki!P&ki~O|,RO~P]OW,TO~P5oOW&TXu&TX#_&TX#a&TX#c&TX#d&TX#e&TX#f&TX#g&TX#h&TX#j&TX#n&TX#q&TX&]&TX&^&TX&m&TX&u&TX~OZ#xO!P&TX~P#5_OW$dOZ#xO&u#vO~Op,VOw,VO~Oq,WO}&qX!P&qX~O!b,YO#]#wOY&TXZ#XX~P#5_OY&RXq&RX|&RX!P&RX~P9`O})VO|&xP~P:jOY&RXg%ZXh%ZX%|%ZX&O%ZX&Q%ZXq&RX|&RX!P&RX~Oq,]OY&yX~OY,_O~O})`O|&jP~P:jOq&iX!P&iX|&iXY&iX~P9`O&aTa~PBxOo)iOp)iOqna&]na~Oq)jO&]&_a~OW,gO~Ow,hO~Ou#OO%|TO&O,lO&Q,kO~Og^Oh^Ov#pO!u#rO&O!wO&QWO&s#oO~Og^Oh^Ov{O|,qO!u}O%|TO&O!wO&QWO&sdO~PFQOw,|O&OSO&Q!qO&^#YO~Oq*fOY&da!P&da~O#_ma#ama#cma#dma#ema#fma#gma#hma#jma#nma#qma&^ma#omasma|ma~PE[O|-QO~P$wOZ#xO}'WOq!|X|!|X!P!|X~Oq-UO|&rX!P&rX~O|-XO!P-WO~O&^!hO~P4|Og^Oh^Ov{O|-]O!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQOs-^O~P9`Os-^O~P:jO}'WOW&cqu&cq!P&cq#_&cq#a&cq#c&cq#d&cq#e&cq#f&cq#g&cq#h&cq#j&cq#n&cq#q&cq&]&cq&^&cq&m&cq&u&cqY&cq#o&cqs&cqq&cq|&cq~O|-bO~P!NoO!W-fO#}-fO&OSO&Q!qO~O!P-iO~O$Y-jO&OSO&Q!qO~O!b%sO#o-lOq!`X!P!`X~O!P-nO~P9`O!P-nO~P:jO!P-qO~P9`O|-sO~P#&RO![$^O#o-tO~O!P-vO~O!b-wO~OY-zOZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOY-zO!P-{O~O%P(bO%T(cOZ%Uq_%Uq`%Uqa%Uqb%Uqc%Uqe%Uqg%Uqh%Uqp%Uqv%Uqw%Uqz%Uq}%Uq!P%Uq!S%Uq!T%Uq!U%Uq!V%Uq!W%Uq!X%Uq!Y%Uq!Z%Uq![%Uq!]%Uq!^%Uq!_%Uq!u%Uq!z%Uq#e%Uq#q%Uq#s%Uq#t%Uq#x%Uq#y%Uq$V%Uq$X%Uq$_%Uq$b%Uq$d%Uq$g%Uq$k%Uq$m%Uq$r%Uq$t%Uq$v%Uq$x%Uq${%Uq$}%Uq%v%Uq%|%Uq&O%Uq&Q%Uq&W%Uq&s%Uq|%Uq$`%Uq$p%Uq~Ou#OO%|TO}&ni!P&ni!m&ni~O&m&_Oq!ga&]!ga~O!m%dO}&kq!P&kq~O|.WO~P]Op.YOw&sOz&qO&OSO&Q!qO&^#YO~O!P.ZO~Oq,WO}&qa!P&qa~O})VO~P:jOq.aO|&xX~O|.cO~Oq,]OY&ya~Oq.gO|&jX~O|.iO~Ow.jO~Oq!aXu!aX!P!aX!b!aX%|!aX~OZ&PX~P#KsOZUX~P#KsO!P.kO~OZ.lO~OW^yZ#XXu^y!P^y!b^y#]^y#_^y#a^y#c^y#d^y#e^y#f^y#g^y#h^y#j^y#n^y#q^y&]^y&^^y&m^y&u^yY^y#o^ys^yq^y|^y~OY%_aq%_a!P%_a~P9`O!P#myY#my#o#mys#myq#my|#my~P9`O}'WOq!|a|!|a!P!|a~OZ#xO}'WOq!|a|!|a!P!|a~O%|TO&O#SO&Q#SOq%iX|%iX!P%iX~PFQOq-UO|&ra!P&ra~O|!}X~P$wO|.yO~Os.zO~P9`OW%gO!P.{O~OW%gO$P/QO&OSO&Q!qO!P&{P~OW%gO$T/RO~O!P/SO~O!b%sO#o/UOq!`X!P!`X~OY/WO~O!P/XO~P9`O#o/YO~P9`O!b/[O~OY/]OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOW#[Ou&ZX%|&ZX&O&ZX&Q&ZX&}&ZX~O&^#YO~P$%uOu#OO%|TO&}/_O&O%RX&Q%RX~O&m&_Oq!gi&]!gi~Op/cO&OSO&Q!qO~OW*cOZ#xO~O!P/eO~OY&RXq&RX~P9`O})VOq%mX|%mX~P:jOq.aO|&xa~O!b/hO~O})`Oq%bX|%bX~P:jOq.gO|&ja~OY/kO~O!P/lO~OZ/mO~O}'WOq!|i|!|i!P!|i~O|!}a~P$wOW%gO!P/qO~OW%gOq/rO!P&{X~OY/vO~P9`OY/xO~OY%Wq!P%Wq~P9`O&}/_O&O%Ra&Q%Ra~OY/}O~O!P0QO~Ou#OO!P0SO!Z0TO%|TO~OY0UO~Oq/rO!P&{a~O!P0XO~OW%gOq/rO!P&|X~OY0ZO~P9`OY0[O~OY%Wy!P%Wy~P9`Ou#OO%|TO&O%ta&Q%ta&}%ta~OY0]O~O!P0^O~Ou#OO!P0_O!Z0`O%|TO~OW%gOq%qa!P%qa~Oq/rO!P&|a~O!P0dO~Ou#OO!P0dO!Z0eO%|TO~O!P0fO~O!P0hO~O#o&PXY&PXs&PXq&PX|&PX~P&bO#oUXYUXsUXqUX|UX~P(fO`Q_P#f&Wc~",goto:"#)S&}PPPP'O'c*t-wP'cPP.].a/uPPPPP1aP2yPP4c7U9q<^kPPP>qPAXPPPBR2yPCzPPDuPElEtPPPPPPPPPPPPGPGhPJpJxKUKpKvK|MlMpMpMxPNX! a!!U!!`P!!u! aP!!{!#V! |!#fP!$V!$a!$g! a!$j!$pElEl!$t!%O!%R2y!&m2y2y!(fP.aP!(jP!)ZPPPPPP.aP.a!)w.aPP.aP.aPP.a!+]!+gPP!+m!+vPPPPPPPP'OP'OPP!+z!+z!,_!+zPP!+zP!+zP!,x!,{P!+z!-c!+zP!+zP!-f!-iP!+zP!+zP!+zP!+zP!+z!+zP!+zP!-mP!-s!-v!-|P!+z!.Y!.]P!.e!.w!2v!2|!3S!4Y!4`!4n!5t!5z!6Q!6[!6b!6h!6n!6t!6z!7Q!7W!7^!7d!7j!7p!7v!8Q!8W!8b!8hPPP!8n!+z!9cP!g!]!^!?w!^!_!@e!_!`!BO!`!a!Br!a!b!D`!b!c!EO!c!}!Kz!}#O!MW#O#P%Q#P#Q!Mt#Q#R!Nb#R#S4e#S#T%Q#T#o4e#o#p# U#p#q# r#q#r##[#r#s##x#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%QS%VV&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&XSS%tVOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZS&^VOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS&vP;=`<%l%QS&|UOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZS'cP;=`<%l&Z_'mk&XS%xZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qs#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%Q_)iY&XS%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XZ*^Y%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XV+TX#sP&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QU+wV#_Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT,aXOY,|YZ%lZr,|rs3Ys#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T-PXOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT-qX&XSOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT.cVcPOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZT.}V&XSOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT/iW&XSOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0UWOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0sOcPP0vTOY0RYZ0RZ;'S0R;'S;=`1V<%lO0RP1YP;=`<%l0RT1`XOY,|YZ%lZr,|rs1{s#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T2QUcPOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZT2gVOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT3PP;=`<%l-lT3VP;=`<%l,|T3_VcPOY&ZYZ%lZr&Zrs3ts;'S&Z;'S;=`'`<%lO&ZT3yR&VSXY4SYZ4`pq4SP4VRXY4SYZ4`pq4SP4eO&WP_4la&OZ&XSOY%QYZ%lZr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o;'S%Q;'S;=`&s<%lO%QU5xX#gQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU6lV#]Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV7YZ&mR&XSOY%QYZ%lZr%Qrs%qsv%Qvw7{w!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU8SV#aQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT8nZ&XSOY9aYZ%lZr9ars:osw9awx%Qx#O9a#O#P;y#P;'S9a;'S;=`@z<%lO9aT9fX&XSOY%QYZ%lZr%Qrs%qsw%Qwx:Rx;'S%Q;'S;=`&s<%lO%QT:YVbP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT:rXOY&ZYZ%lZr&Zrs&ysw&Zwx;_x;'S&Z;'S;=`'`<%lO&ZT;dVbPOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT_YZ%lZr>_rs?Zsw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_T>bZOY_YZ%lZr>_rs@Psw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_P@SVOY@PZw@Pwx@ix#O@P#P;'S@P;'S;=`@n<%lO@PP@nObPP@qP;=`<%l@PT@wP;=`<%l>_T@}P;=`<%l9a_AXVZZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVAuVYR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVBeX$YP&XS#fQOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVCXZ#eR&XSOY%QYZ%lZr%Qrs%qs{%Q{|Cz|!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVDRV#qR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVDoVqR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVE][#eR&XSOY%QYZ%lZr%Qrs%qs}%Q}!OCz!O!_%Q!_!`6e!`!aFR!a;'S%Q;'S;=`&s<%lO%QVFYV&wR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_FvZWY&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PGi!P!Q%Q!Q![Hw![;'S%Q;'S;=`&s<%lO%QVGnX&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PHZ!P;'S%Q;'S;=`&s<%lO%QVHbV&pR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTIOc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#R%Q#R#SNq#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTJbV&XS`POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTJ|]&XSOY%QYZ%lZr%Qrs%qs{%Q{|Ku|}%Q}!OKu!O!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTKzX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTLnc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![!f%Q!f!gJZ!g!h%Q!h!iJZ!i#R%Q#R#SMy#S#W%Q#W#XJZ#X#Y%Q#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTNOZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![#R%Q#R#SMy#S;'S%Q;'S;=`&s<%lO%QTNvZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![#R%Q#R#SNq#S;'S%Q;'S;=`&s<%lO%Q_! p]&XS#fQOY%QYZ%lZr%Qrs%qsz%Qz{!!i{!P%Q!P!Q!)[!Q!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%Q_!!nX&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!#`T&XSOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!#rTOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!$UVOz!#oz{!$R{!P!#o!P!Q!$k!Q;'S!#o;'S;=`!$p<%lO!#oZ!$pOQZZ!$sP;=`<%l!#o_!$yXOY!%fYZ!#ZZr!%frs!'psz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!%iXOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!&ZZ&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!'TV&XSQZOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!'mP;=`<%l!!i_!'sXOY!%fYZ!#ZZr!%frs!#osz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!(cZOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!)XP;=`<%l!%f_!)cV&XSPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!)}VPZOY!*dYZ%lZr!*drs!+Us;'S!*d;'S;=`!,X<%lO!*d_!*iVPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!+RP;=`<%l!)[_!+ZVPZOY!*dYZ%lZr!*drs!+ps;'S!*d;'S;=`!,X<%lO!*dZ!+uSPZOY!+pZ;'S!+p;'S;=`!,R<%lO!+pZ!,UP;=`<%l!+p_!,[P;=`<%l!*dT!,fu&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!d%Q!d!e!3a!e!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o!q%Q!q!r!5_!r!z%Q!z!{!7V!{#R%Q#R#S!2i#S#U%Q#U#V!3a#V#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a#c%Q#c#d!5_#d#l%Q#l#m!7V#m;'S%Q;'S;=`&s<%lO%QT!/Qa&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QT!0^i&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o#R%Q#R#S!2i#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!2SV&XS_POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT!2nZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!0V![#R%Q#R#S!2i#S;'S%Q;'S;=`&s<%lO%QT!3fY&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S;'S%Q;'S;=`&s<%lO%QT!4]`&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S!n%Q!n!o!1{!o#R%Q#R#S!3a#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!5dX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y;'S%Q;'S;=`&s<%lO%QT!6W_&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y!n%Q!n!o!1{!o#R%Q#R#S!5_#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!7[_&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!P!8Z!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i#T%Q#T#Z!:i#Z;'S%Q;'S;=`&s<%lO%QT!8`]&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i#T%Q#T#Z!9X#Z;'S%Q;'S;=`&s<%lO%QT!9^c&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i!r%Q!r!sJw!s#R%Q#R#S!8Z#S#T%Q#T#Z!9X#Z#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!:pi&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!<_!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i!n%Q!n!o!1{!o!r%Q!r!sJw!s#R%Q#R#S!=i#S#T%Q#T#Z!:i#Z#`%Q#`#a!1{#a#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!nX#oR&XSOY%QYZ%lZr%Qrs%qs![%Q![!]!?Z!];'S%Q;'S;=`&s<%lO%QV!?bV&uR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!@OV!PR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!@lY&^Z&XSOY%QYZ%lZr%Qrs%qs!^%Q!^!_!A[!_!`+p!`;'S%Q;'S;=`&s<%lO%QU!AcX#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV!BVX!bR&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QV!ByY&]R&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`!a!Ci!a;'S%Q;'S;=`&s<%lO%QU!CpY#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`!a!A[!a;'S%Q;'S;=`&s<%lO%Q_!DiV&aX#nQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!EVX%|Z&XSOY%QYZ%lZr%Qrs%qs#]%Q#]#^!Er#^;'S%Q;'S;=`&s<%lO%QV!EwX&XSOY%QYZ%lZr%Qrs%qs#b%Q#b#c!Fd#c;'S%Q;'S;=`&s<%lO%QV!FiX&XSOY%QYZ%lZr%Qrs%qs#h%Q#h#i!GU#i;'S%Q;'S;=`&s<%lO%QV!GZX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!Gv#Y;'S%Q;'S;=`&s<%lO%QV!G{X&XSOY%QYZ%lZr%Qrs%qs#f%Q#f#g!Hh#g;'S%Q;'S;=`&s<%lO%QV!HmX&XSOY%QYZ%lZr%Qrs%qs#Y%Q#Y#Z!IY#Z;'S%Q;'S;=`&s<%lO%QV!I_X&XSOY%QYZ%lZr%Qrs%qs#T%Q#T#U!Iz#U;'S%Q;'S;=`&s<%lO%QV!JPX&XSOY%QYZ%lZr%Qrs%qs#V%Q#V#W!Jl#W;'S%Q;'S;=`&s<%lO%QV!JqX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!K^#Y;'S%Q;'S;=`&s<%lO%QV!KeV&sR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!LRa&QZ&XSOY%QYZ%lZr%Qrs%qst%Qtu!Kzu!Q%Q!Q![!Kz![!c%Q!c!}!Kz!}#R%Q#R#S!Kz#S#T%Q#T#o!Kz#o;'S%Q;'S;=`&s<%lO%Q_!M_VuZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!M{VsR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QU!NiX#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV# ]V}R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_# {Z&}X#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`#p%Q#p#q#!n#q;'S%Q;'S;=`&s<%lO%QU#!uV#dQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV##cV|R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$PV#tP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,193]},dynamicPrecedences:{27:1,231:-1,242:-1},specialized:[{term:230,get:Q=>o[Q]||-1}],tokenPrec:6995}),T=r.define({name:"java",parser:c.configure({props:[s.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch|finally)\b/}),LabeledStatement:S,SwitchBlock:Q=>{let P=Q.textAfter,a=/^\s*\}/.test(P),i=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(a?0:i?1:2)*Q.unit},Block:l({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),Z.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":Y,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function R(){return new t(T)}export{R as java,T as javaLanguage}; +import{s as X,t as O,d as e,L as r,i as s,c as $,j as S,k as l,f as Z,l as Y,a as t}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const n=X({null:O.null,instanceof:O.operatorKeyword,this:O.self,"new super assert open to with void":O.keyword,"class interface extends implements enum var":O.definitionKeyword,"module package import":O.moduleKeyword,"switch while for if else case default do break continue return try catch finally throw":O.controlKeyword,"requires exports opens uses provides public private protected static transitive abstract final strictfp synchronized native transient volatile throws":O.modifier,IntegerLiteral:O.integer,FloatingPointLiteral:O.float,"StringLiteral TextBlock":O.string,CharacterLiteral:O.character,LineComment:O.lineComment,BlockComment:O.blockComment,BooleanLiteral:O.bool,PrimitiveType:O.standard(O.typeName),TypeName:O.typeName,Identifier:O.variableName,"MethodName/Identifier":O.function(O.variableName),Definition:O.definition(O.variableName),ArithOp:O.arithmeticOperator,LogicOp:O.logicOperator,BitOp:O.bitwiseOperator,CompareOp:O.compareOperator,AssignOp:O.definitionOperator,UpdateOp:O.updateOperator,Asterisk:O.punctuation,Label:O.labelName,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace,".":O.derefOperator,", ;":O.separator}),o={__proto__:null,true:34,false:34,null:42,void:46,byte:48,short:48,int:48,long:48,char:48,float:48,double:48,boolean:48,extends:62,super:64,class:76,this:78,new:84,public:100,protected:102,private:104,abstract:106,static:108,final:110,strictfp:112,default:114,synchronized:116,native:118,transient:120,volatile:122,throws:150,implements:160,interface:166,enum:176,instanceof:236,open:265,module:267,requires:272,transitive:274,exports:276,to:278,opens:280,uses:282,provides:284,with:286,package:290,import:294,if:306,else:308,while:312,for:316,var:323,assert:330,switch:334,case:340,do:344,break:348,continue:352,return:356,throw:362,try:366,catch:370,finally:378},c=e.deserialize({version:14,states:"#!tQ]QPOOQ$wQPOOO(_QQO'#H]O*cQQO'#CbOOQO'#Cb'#CbO*jQPO'#CaO*rOSO'#CpOOQO'#Hb'#HbOOQO'#Cu'#CuO,_QPO'#D_O,xQQO'#HlOOQO'#Hl'#HlO/^QQO'#HgO/eQQO'#HgOOQO'#Hg'#HgOOQO'#Hf'#HfO1iQPO'#DUO1vQPO'#GmO4nQPO'#D_O4uQPO'#DzO*jQPO'#E[O5hQPO'#E[OOQO'#DV'#DVO6vQQO'#H`O8}QQO'#EeO9UQPO'#EdO9ZQPO'#EfOOQO'#Ha'#HaO7^QQO'#HaO:^QQO'#FgO:eQPO'#EwO:jQPO'#E|O:jQPO'#FOOOQO'#H`'#H`OOQO'#HX'#HXOOQO'#Gg'#GgOOQO'#HW'#HWO;zQPO'#FhOOQO'#HV'#HVOOQO'#Gf'#GfQ]QPOOOOQO'#Hr'#HrOQQPO'#GYO>nQQO'#HhO?ZQQO'#CuO?bQPO'#HwO?pQPO'#D_O@`QPO'#DpO?eQPO'#DqO@jQPO'#HwO@{QPO'#DpOATQPO'#IQOAYQPO'#E`OOQO'#Hq'#HqOOQO'#Gl'#GlQ$wQPOOOAbQPO'#HrOOQO'#H]'#H]OCaQQO,58{OOQO'#HZ'#HZOOOO'#Gh'#GhOESOSO,59[OOQO,59[,59[OOQO'#Hh'#HhOEsQPO,59eOFuQPO,59yOOQO-E:e-E:eO*jQPO,58zOGiQPO,58zO*jQPO,5;|OGnQPO'#DQOGsQPO'#DQOOQO'#Gj'#GjOHsQQO,59jOOQO'#Dm'#DmOJ[QPO'#HtOJfQPO'#DlOJtQPO'#HsOJ|QPO,5<^OKRQPO,59^OKlQPO'#CxOOQO,59c,59cOKsQPO,59bOLOQQO'#H]OM}QQO'#CbO! |QPO'#D_O!#RQQO'#HlO!#cQQO,59pO!#jQPO'#DvO!#xQPO'#H{O!$QQPO,5:`O!$VQPO,5:`O!$mQPO,5;mO!$xQPO'#ISO!%TQPO,5;dO!%YQPO,5=XOOQO-E:k-E:kOOQO,5:f,5:fO!&pQPO,5:fO!&wQPO,5:vO?bQPO,5<^O*jQPO,5:vO^,5>^O!*TQPO,5:gO!*cQPO,5:qO!*kQPO,5:lO!*vQPO,5>ZO!#jQPO,5>ZO!&|QPO,59UO!+RQQO,58zO!+ZQQO,5;|O!+cQQO,5TQPO,5TQPO,5<|O!1}QPO,59jO!2[QPO'#HtO!2cQPO,59xO!2hQPO,5>cO?bQPO,59xO!2sQPO,5:[OAYQPO,5:zO!2{QPO'#DrO?eQPO'#DrO!3WQPO'#HxO!3`QPO,5:]O?bQPO,5>cO!'{QPO,5>cOATQPO,5>lOOQO,5:[,5:[O!$VQPO'#DtOOQO,5>l,5>lO!3eQPO'#EaOOQO,5:z,5:zO!6fQPO,5:zO!'{QPO'#DxOOQO-E:j-E:jOOQO,5:y,5:yO*jQPO,58}O!6kQPO'#ChOOQO1G.k1G.kOOOO-E:f-E:fOOQO1G.v1G.vO!+RQQO1G.fO*jQPO1G.fO!6uQQO1G1hOOQO,59l,59lO!6}QPO,59lOOQO-E:h-E:hO!7SQPO,5>`O!7kQPO,5:WO_OOQO1G1x1G1xOOQO1G.x1G.xO!8]QPO'#CyO!8{QPO'#HlO!9VQPO'#CzO!9eQPO'#HkO!9mQPO,59dOOQO1G.|1G.|OKsQPO1G.|O!:TQPO,59eO!:bQQO'#H]O!:sQQO'#CbOOQO,5:b,5:bOgOOQO1G/z1G/zO!nOOQO1G1O1G1OOOQO1G0Q1G0QO!=PQPO'#E]OOQO1G0b1G0bO!=pQPO1G1xO!&wQPO1G0bO!*TQPO1G0RO!*cQPO1G0]O!*kQPO1G0WOOQO1G/]1G/]O!=uQQO1G.pO9UQPO1G0jO*jQPO1G0jO<^QPO'#HoO!?iQQO1G.pOOQO1G.p1G.pO!?nQQO1G0iOOQO1G0l1G0lO!?uQPO1G0lO!@QQQO1G.oO!@hQQO'#HpO!@uQPO,59sO!BUQQO1G0pO!CmQQO1G0pO!D{QQO1G0pO!EYQQO1G0pO!F_QQO1G0pO!FuQQO1G0pO!GPQQO1G1PO!GWQQO'#HlOOQO1G0{1G0{O!HZQQO1G0}OOQO1G0}1G0}OOQO1G1n1G1nO!HqQPO'#D[O!'{QPO'#D|O!'{QPO'#D}OOQO1G0R1G0RO!HxQPO1G0RO!H}QPO1G0RO!IVQPO1G0RO!IbQPO'#EXOOQO1G0]1G0]O!IuQPO1G0]O!IzQPO'#ETO!'{QPO'#ESOOQO1G0W1G0WO!JtQPO1G0WO!JyQPO1G0WO!KRQPO'#EhO!KYQPO'#EhOOQO'#Gw'#GwO!KbQQO1G0mO!MRQQO1G3uO9UQPO1G3uO# QQPO'#FWOOQO1G.f1G.fOOQO1G1h1G1hO# XQPO1G1jOOQO1G1j1G1jO# dQQO1G1jO# lQPO1G1pOOQO1G1s1G1sO*zQPO'#D_O,xQQO,5TQPO'#G`OOQO1G2`1G2`O#/{QPO1G2hO#3yQPO,5>fOOQO1G/d1G/dOOQO1G3}1G3}O#4[QPO1G/dOOQO1G/v1G/vOOQO1G0f1G0fO!6fQPO1G0fOOQO,5:^,5:^O!'{QPO'#DsO#4aQPO,5:^O?eQPO'#GqO#4lQPO,5>dOOQO1G/w1G/wOATQPO'#HzO#4tQPO1G3}O?bQPO1G3}OOQO1G4W1G4WO!!mQPO'#DvO! |QPO'#D_OOQO,5:{,5:{O#5PQPO,5:{O#5PQPO,5:{O#5WQQO'#H`O#6fQQO'#HaO#6pQQO'#EbO#6{QPO'#EbO#7TQPO'#H}OOQO,5:d,5:dOOQO1G.i1G.iO#7`QQO'#EeO#7pQQO'#H_O#8QQPO'#FSOOQO'#H_'#H_O#8[QPO'#H_O#8yQPO'#IVO#9RQPO,59SOOQO7+$Q7+$QO!+RQQO7+$QOOQO7+'S7+'SOOQO1G/W1G/WO#9WQPO'#DoO#9bQQO'#HuOOQO'#Hu'#HuOOQO1G/r1G/rOOQO,5=Z,5=ZOOQO-E:m-E:mO#9rQWO,58{O#9yQPO,59fOOQO,59f,59fO!'{QPO'#HnOKWQPO'#GiO#:XQPO,5>VOOQO1G/O1G/OOOQO7+$h7+$hOOQO1G/{1G/{O#:aQQO1G/{OOQO1G/}1G/}O#:fQPO1G/{OOQO1G/|1G/|OZO#[OOQO1G/_1G/_O:jQPO7+&kO#XQPO'#IOO#>dQPO,5:sO?bQPO'#HwO!'{QPO'#HwO#>lQPO'#DpOOQO'#Gt'#GtO#>sQPO,5:oOOQO,5:o,5:oOOQO,5:n,5:nOOQO,5;S,5;SO#?mQQO,5;SO#?tQPO,5;SOOQO-E:u-E:uOOQO7+&X7+&XOOQO7+)a7+)aO#?{QQO7+)aOOQO'#G{'#G{O#AiQPO,5;rOOQO,5;r,5;rO#ApQPO'#FXO*jQPO'#FXO*jQPO'#FXO*jQPO'#FXO#BOQPO7+'UO#BTQPO7+'UOOQO7+'U7+'UO]QPO7+'[O#B`QPO1G1{O?bQPO1G1{O#BnQQO1G1wO!'tQPO1G1wO#BuQPO1G1wO#B|QQO7+'hOOQO'#HO'#HOO#CTQPO,5TQPO,5iO#JsQPO,59TO#JzQPO'#IUO#KSQPO,5;nO*jQPO'#GzO#KXQPO,5>qOOQO1G.n1G.nOOQO<Y,5>YOOQO,5=T,5=TOOQO-E:g-E:gO#KnQPO7+%gOOQO7+%g7+%gOOQO7+%i7+%iOOQO<jO$!iQPO'#EZOOQO1G0_1G0_O$!pQPO1G0_O?bQPO,5:pOOQO-E:r-E:rOOQO1G0Z1G0ZOOQO1G0n1G0nO$!uQQO1G0nOOQO<pOOQO1G1Y1G1YO$(XQPO'#FTOOQO,5=f,5=fOOQO-E:x-E:xO$(^QPO'#GnO$(kQPO,5>bOOQO1G/u1G/uOOQO<sAN>sO!HxQPOAN>sOOQOAN>xAN>xOOQOAN?[AN?[O9UQPOAN?[OOQO1G0`1G0`O$)SQPO1G0`OOQO,5=a,5=aOOQO-E:s-E:sO$)bQPO,5:uOOQO7+%y7+%yOOQO7+&Y7+&YOOQO1G1_1G1_O$)iQQO1G1_OOQO-E:z-E:zO$)qQQO'#IXO$)lQPO1G1_O$#[QPO1G1_O*jQPO1G1_OOQOAN@[AN@[O$)|QQO<sO$+fQPO7+&yO$+kQQO'#IYOOQOAN@mAN@mO$+vQQOAN@mOOQOAN@iAN@iO$+}QPOAN@iO$,SQQO<tOOQOG26XG26XOOQOG26TG26TOOQO<YOWiXuiX%|iX&OiX&QiX&^iX~OZ!aX~P>uOu#OO%|TO&O#SO&Q#SO~O%|TO~P3^Og^Oh^Ov#pO!u#rO!z#qO&^!hO&s#oO~O&O!cO&Q!dO~P?wOg^Oh^O%|TO&O!cO&Q!dO~O}cO!P%^O~OZ%_O~O}%aO!m%dO~O}cOg&fXh&fXv&fX!S&fX!T&fX!U&fX!V&fX!W&fX!X&fX!Y&fX!Z&fX!]&fX!^&fX!_&fX!u&fX!z&fX%|&fX&O&fX&Q&fX&^&fX&s&fX~OW%gOZ%hOgTahTa%|Ta&OTa&QTa~OvTa!STa!TTa!UTa!VTa!WTa!XTa!YTa!ZTa!]Ta!^Ta!_Ta!uTa!zTa#xTa#yTa$VTa$gTa&sTa&^TauTaYTaqTa|Ta!PTa~PBxO&V%kO&X!tO~Ou#OO%|TOqma&]maYma&mma!Pma~O&uma}ma!rma~PE[O!SyO!TyO!UyO!VyO!WyO!XyO!YyO!ZzO!]yO!^yO!_yO~Og!Rah!Rav!Ra!u!Ra!z!Ra$g!Ra&O!Ra&Q!Ra&s!Ra&^!Ra~PFQO#y%mO~Os%oO~Ou%pO%|TO~Ou#OO%|ra&Ora&Qra&uraYrawra&mra&pra!Pra&]raqra~OWra#_ra#ara#cra#dra#era#fra#gra#hra#jra#nra#qra&^ra#orasra|ra~PG{Ou#OO%|TOq&hX!P&hX!b&hX~OY&hX#o&hX~PIyO!b%sOq!`X!P!`XY!`X~Oq%tO!P&gX~O!P%vO~Ov%wO~Og^Oh^O%|0iO&O!wO&QWO&a%zO~O&]&_P~PKWO%|TO&O!wO&QWO~OW&PXYiXY!aXY&PXZ&PXq!aXu&PXwiX!b&PX#]&PX#_&PX#a&PX#c&PX#d&PX#e&PX#f&PX#g&PX#h&PX#j&PX#n&PX#q&PX&]&PX&^&PX&miX&m&PX&piX&uiX&u&PX&w!aX~P>uOWUXYUXY!aXY&[XZUXq!aXuUXw&[X!bUX#]UX#_UX#aUX#cUX#dUX#eUX#fUX#gUX#hUX#jUX#nUX#qUX&]UX&^UX&mUX&m&[X&p&[X&uUX&u&[X&w!aX~P>YOg^Oh^O%|TO&O!wO&QWOg!RXh!RX&O!RX&Q!RX~PFQOu#OOw&UO%|TO&O&RO&Q&QO&p&TO~OW#XOY&`X&m&`X&u&`X~P!!mOY&WO~P9`Og^Oh^O&O!wO&QWO~Oq&YOY&oX~OY&[O~Og^Oh^O%|TO&O!wO&QWOY&oP~PFQOY&aO&m&_O&u#vO~Oq&bO&w$WOY&vX~OY&dO~O%|TOg%aah%aav%aa!S%aa!T%aa!U%aa!V%aa!W%aa!X%aa!Y%aa!Z%aa!]%aa!^%aa!_%aa!u%aa!z%aa$g%aa&O%aa&Q%aa&s%aa&^%aa~O|&eO~P]O}&fO~Op&rOw&sO&OSO&Q!qO&^#YO~Oz&qO~P!&|Oz&uO&OSO&Q!qO&^#YO~OY&dP~P:jOg^Oh^O%|TO&O!wO&QWO~O}cO~P:jOW#XOu#OO%|TO&u&`X~O#q$TO!P#ra#_#ra#a#ra#c#ra#d#ra#e#ra#f#ra#g#ra#h#ra#j#ra#n#ra&]#ra&^#ra&m#raY#ra#o#ras#raq#ra|#ra~Oo'XO}'WO!r'YO&^!hO~O}'_O!r'YO~Oo'cO}'bO&^!hO~OZ#xOu'gO%|TO~OW%gO}'mO~OW%gO!P'oO~OW'pO!P'qO~O$g!WO&O0kO&Q0jO!P&dP~P/lO!P'|O#o'}O~P9`O}(OO~O$b(QO~O!P(RO~O!P(SO~O!P(TO~P9`O!P(VO~P9`OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQO%P(bO%T(cOZ$|a_$|a`$|aa$|ab$|ac$|ae$|ag$|ah$|ap$|av$|aw$|az$|a}$|a!P$|a!S$|a!T$|a!U$|a!V$|a!W$|a!X$|a!Y$|a!Z$|a![$|a!]$|a!^$|a!_$|a!u$|a!z$|a#e$|a#q$|a#s$|a#t$|a#x$|a#y$|a$V$|a$X$|a$_$|a$b$|a$d$|a$g$|a$k$|a$m$|a$r$|a$t$|a$v$|a$x$|a${$|a$}$|a%v$|a%|$|a&O$|a&Q$|a&W$|a&s$|a|$|a$`$|a$p$|a~O}ra!rra&}ra~PG{OZ%_O~PIyO!P(gO~O!m%dO}&ka!P&ka~O}cO!P(jO~Oo(nOq!fX&]!fX~Oq(pO&]&lX~O&](rO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op)OOv{Ow(}Oz!OO|(yO}cO!PvO![!`O!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&^#YO&sdO~PFQO}%aO~O})VOY&yP~P:jOW%gO!P)^O~Os)_O~Ou#OO%|TOq&ha!P&ha!b&haY&ha#o&ha~O})`O~P:jOq%tO!P&ga~Og^Oh^O%|0iO&O!wO&QWO~O&a)gO~P!7zOu#OO%|TOq&`X&]&`XY&`X&m&`X!P&`X~O}&`X!r&`X~P!8dOo)iOp)iOqnX&]nX~Oq)jO&]&_X~O&])lO~Ou#OOw)nO%|TO&OSO&Q!qO~OYma&mma&uma~P!9rOW&PXY!aXq!aXu!aX%|!aX~OWUXY!aXq!aXu!aX%|!aX~OW)qO~Ou#OO%|TO&O#SO&Q#SO&p)sO~Og^Oh^O%|TO&O!wO&QWO~PFQOq&YOY&oa~Ou#OO%|TO&O#SO&Q#SO&p&TO~OY)vO~OY)yO&m&_O~Oq&bOY&va~Og^Oh^Ov{O|*RO!u}O%|TO&O!wO&QWO&sdO~PFQO!P*SO~OW^iZ#XXu^i!P^i!b^i#]^i#_^i#a^i#c^i#d^i#e^i#f^i#g^i#h^i#j^i#n^i#q^i&]^i&^^i&m^i&u^iY^i#o^is^iq^i|^i~OW*cO~Os*dO~P9`Oz*eO&OSO&Q!qO~O!P]iY]i#o]is]iq]i|]i~P9`Oq*fOY&dX!P&dX~P9`OY*hO~O#q$TO!P#^i#_#^i#a#^i#c#^i#d#^i#e#^i#f#^i#j#^i#n#^i&]#^i&^#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#g$RO#h$RO~P!@zO#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#a#^i#c#^i#d#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#e$PO~P!B`O#_#|O#f$QO#g$RO#h$RO#j$VO#q$TO&]#zO&^#zO!P#^i#c#^i#d#^i#n#^iY#^i#o#^is#^iq#^i|#^i~O#a#}O#e$PO&m#{O~P!CtO#e#^i~P!B`O#q$TO!P#^i#a#^i#c#^i#d#^i#e#^i#f#^i#n#^i&m#^iY#^i#o#^is#^iq#^i|#^i~O#_#|O#g$RO#h$RO#j$VO&]#zO&^#zO~P!EaO#g#^i#h#^i~P!@zO#o*iO~P9`O#_&`X#a&`X#c&`X#d&`X#e&`X#f&`X#g&`X#h&`X#j&`X#n&`X#q&`X&^&`X#o&`Xs&`X|&`X~P!8dO!P#kiY#ki#o#kis#kiq#ki|#ki~P9`O|*lO~P$wO}'WO~O}'WO!r'YO~Oo'XO}'WO!r'YO~O%|TO&O#SO&Q#SO|&rP!P&rP~PFQO}'_O~Og^Oh^Ov{O|*yO!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQO}'bO~Oo'cO}'bO~Os*{O~P:jOu*}O%|TO~Ou'gO})`O%|TOW#Zi!P#Zi#_#Zi#a#Zi#c#Zi#d#Zi#e#Zi#f#Zi#g#Zi#h#Zi#j#Zi#n#Zi#q#Zi&]#Zi&^#Zi&m#Zi&u#ZiY#Zi#o#Zis#Ziq#Zi|#Zi~O}'WOW&ciu&ci!P&ci#_&ci#a&ci#c&ci#d&ci#e&ci#f&ci#g&ci#h&ci#j&ci#n&ci#q&ci&]&ci&^&ci&m&ci&u&ciY&ci#o&cis&ciq&ci|&ci~O#|+VO$O+WO$Q+WO$R+XO$S+YO~O|+UO~P!NoO$Y+ZO&OSO&Q!qO~OW+[O!P+]O~O$`+^OZ$^i_$^i`$^ia$^ib$^ic$^ie$^ig$^ih$^ip$^iv$^iw$^iz$^i}$^i!P$^i!S$^i!T$^i!U$^i!V$^i!W$^i!X$^i!Y$^i!Z$^i![$^i!]$^i!^$^i!_$^i!u$^i!z$^i#e$^i#q$^i#s$^i#t$^i#x$^i#y$^i$V$^i$X$^i$_$^i$b$^i$d$^i$g$^i$k$^i$m$^i$r$^i$t$^i$v$^i$x$^i${$^i$}$^i%v$^i%|$^i&O$^i&Q$^i&W$^i&s$^i|$^i$p$^i~Og^Oh^O$g#sO&O!wO&QWO~O!P+bO~P:jO!P+cO~OZ`O_VO`VOaVObVOcVOeVOg^Oh^Op!POv{OwkOz!OO}cO!PvO!SyO!TyO!UyO!VyO!WyO!XyO!YyO!Z+hO![!`O!]yO!^yO!_yO!u}O!z|O#epO#qoO#spO#tpO#x!RO#y!QO$V!SO$X!TO$_!UO$b!VO$d!XO$g!WO$k!YO$m!ZO$p+iO$r![O$t!]O$v!^O$x!_O${!aO$}!bO%|TO&ORO&QQO&WUO&sdO~O|+gO~P#&ROW&PXY&PXZ&PXu&PX!P&PX&uiX&u&PX~P>uOWUXYUXZUXuUX!PUX&uUX&u&[X~P>YOW#tOu#uO&u#vO~OW&TXY%WXu&TX!P%WX&u&TX~OZ#XX~P#+WOY+oO!P+mO~O%P(bO%T(cOZ$|i_$|i`$|ia$|ib$|ic$|ie$|ig$|ih$|ip$|iv$|iw$|iz$|i}$|i!P$|i!S$|i!T$|i!U$|i!V$|i!W$|i!X$|i!Y$|i!Z$|i![$|i!]$|i!^$|i!_$|i!u$|i!z$|i#e$|i#q$|i#s$|i#t$|i#x$|i#y$|i$V$|i$X$|i$_$|i$b$|i$d$|i$g$|i$k$|i$m$|i$r$|i$t$|i$v$|i$x$|i${$|i$}$|i%v$|i%|$|i&O$|i&Q$|i&W$|i&s$|i|$|i$`$|i$p$|i~OZ+rO~O%P(bO%T(cOZ%Ui_%Ui`%Uia%Uib%Uic%Uie%Uig%Uih%Uip%Uiv%Uiw%Uiz%Ui}%Ui!P%Ui!S%Ui!T%Ui!U%Ui!V%Ui!W%Ui!X%Ui!Y%Ui!Z%Ui![%Ui!]%Ui!^%Ui!_%Ui!u%Ui!z%Ui#e%Ui#q%Ui#s%Ui#t%Ui#x%Ui#y%Ui$V%Ui$X%Ui$_%Ui$b%Ui$d%Ui$g%Ui$k%Ui$m%Ui$r%Ui$t%Ui$v%Ui$x%Ui${%Ui$}%Ui%v%Ui%|%Ui&O%Ui&Q%Ui&W%Ui&s%Ui|%Ui$`%Ui$p%Ui~Ou#OO%|TO}&na!P&na!m&na~O!P+xO~Oo(nOq!fa&]!fa~Oq(pO&]&la~O!m%dO}&ki!P&ki~O|,RO~P]OW,TO~P5oOW&TXu&TX#_&TX#a&TX#c&TX#d&TX#e&TX#f&TX#g&TX#h&TX#j&TX#n&TX#q&TX&]&TX&^&TX&m&TX&u&TX~OZ#xO!P&TX~P#5_OW$dOZ#xO&u#vO~Op,VOw,VO~Oq,WO}&qX!P&qX~O!b,YO#]#wOY&TXZ#XX~P#5_OY&RXq&RX|&RX!P&RX~P9`O})VO|&xP~P:jOY&RXg%ZXh%ZX%|%ZX&O%ZX&Q%ZXq&RX|&RX!P&RX~Oq,]OY&yX~OY,_O~O})`O|&jP~P:jOq&iX!P&iX|&iXY&iX~P9`O&aTa~PBxOo)iOp)iOqna&]na~Oq)jO&]&_a~OW,gO~Ow,hO~Ou#OO%|TO&O,lO&Q,kO~Og^Oh^Ov#pO!u#rO&O!wO&QWO&s#oO~Og^Oh^Ov{O|,qO!u}O%|TO&O!wO&QWO&sdO~PFQOw,|O&OSO&Q!qO&^#YO~Oq*fOY&da!P&da~O#_ma#ama#cma#dma#ema#fma#gma#hma#jma#nma#qma&^ma#omasma|ma~PE[O|-QO~P$wOZ#xO}'WOq!|X|!|X!P!|X~Oq-UO|&rX!P&rX~O|-XO!P-WO~O&^!hO~P4|Og^Oh^Ov{O|-]O!P*wO!u}O!z|O%|TO&O!wO&QWO&^!hO&sdO~PFQOs-^O~P9`Os-^O~P:jO}'WOW&cqu&cq!P&cq#_&cq#a&cq#c&cq#d&cq#e&cq#f&cq#g&cq#h&cq#j&cq#n&cq#q&cq&]&cq&^&cq&m&cq&u&cqY&cq#o&cqs&cqq&cq|&cq~O|-bO~P!NoO!W-fO#}-fO&OSO&Q!qO~O!P-iO~O$Y-jO&OSO&Q!qO~O!b%sO#o-lOq!`X!P!`X~O!P-nO~P9`O!P-nO~P:jO!P-qO~P9`O|-sO~P#&RO![$^O#o-tO~O!P-vO~O!b-wO~OY-zOZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOY-zO!P-{O~O%P(bO%T(cOZ%Uq_%Uq`%Uqa%Uqb%Uqc%Uqe%Uqg%Uqh%Uqp%Uqv%Uqw%Uqz%Uq}%Uq!P%Uq!S%Uq!T%Uq!U%Uq!V%Uq!W%Uq!X%Uq!Y%Uq!Z%Uq![%Uq!]%Uq!^%Uq!_%Uq!u%Uq!z%Uq#e%Uq#q%Uq#s%Uq#t%Uq#x%Uq#y%Uq$V%Uq$X%Uq$_%Uq$b%Uq$d%Uq$g%Uq$k%Uq$m%Uq$r%Uq$t%Uq$v%Uq$x%Uq${%Uq$}%Uq%v%Uq%|%Uq&O%Uq&Q%Uq&W%Uq&s%Uq|%Uq$`%Uq$p%Uq~Ou#OO%|TO}&ni!P&ni!m&ni~O&m&_Oq!ga&]!ga~O!m%dO}&kq!P&kq~O|.WO~P]Op.YOw&sOz&qO&OSO&Q!qO&^#YO~O!P.ZO~Oq,WO}&qa!P&qa~O})VO~P:jOq.aO|&xX~O|.cO~Oq,]OY&ya~Oq.gO|&jX~O|.iO~Ow.jO~Oq!aXu!aX!P!aX!b!aX%|!aX~OZ&PX~P#KsOZUX~P#KsO!P.kO~OZ.lO~OW^yZ#XXu^y!P^y!b^y#]^y#_^y#a^y#c^y#d^y#e^y#f^y#g^y#h^y#j^y#n^y#q^y&]^y&^^y&m^y&u^yY^y#o^ys^yq^y|^y~OY%_aq%_a!P%_a~P9`O!P#myY#my#o#mys#myq#my|#my~P9`O}'WOq!|a|!|a!P!|a~OZ#xO}'WOq!|a|!|a!P!|a~O%|TO&O#SO&Q#SOq%iX|%iX!P%iX~PFQOq-UO|&ra!P&ra~O|!}X~P$wO|.yO~Os.zO~P9`OW%gO!P.{O~OW%gO$P/QO&OSO&Q!qO!P&{P~OW%gO$T/RO~O!P/SO~O!b%sO#o/UOq!`X!P!`X~OY/WO~O!P/XO~P9`O#o/YO~P9`O!b/[O~OY/]OZ$iO_VO`VOaVObVOcVOeVOg^Oh^Op!POwkOz!OO%|TO&O(XO&Q(WO&WUO~PFQOW#[Ou&ZX%|&ZX&O&ZX&Q&ZX&}&ZX~O&^#YO~P$%uOu#OO%|TO&}/_O&O%RX&Q%RX~O&m&_Oq!gi&]!gi~Op/cO&OSO&Q!qO~OW*cOZ#xO~O!P/eO~OY&RXq&RX~P9`O})VOq%mX|%mX~P:jOq.aO|&xa~O!b/hO~O})`Oq%bX|%bX~P:jOq.gO|&ja~OY/kO~O!P/lO~OZ/mO~O}'WOq!|i|!|i!P!|i~O|!}a~P$wOW%gO!P/qO~OW%gOq/rO!P&{X~OY/vO~P9`OY/xO~OY%Wq!P%Wq~P9`O&}/_O&O%Ra&Q%Ra~OY/}O~O!P0QO~Ou#OO!P0SO!Z0TO%|TO~OY0UO~Oq/rO!P&{a~O!P0XO~OW%gOq/rO!P&|X~OY0ZO~P9`OY0[O~OY%Wy!P%Wy~P9`Ou#OO%|TO&O%ta&Q%ta&}%ta~OY0]O~O!P0^O~Ou#OO!P0_O!Z0`O%|TO~OW%gOq%qa!P%qa~Oq/rO!P&|a~O!P0dO~Ou#OO!P0dO!Z0eO%|TO~O!P0fO~O!P0hO~O#o&PXY&PXs&PXq&PX|&PX~P&bO#oUXYUXsUXqUX|UX~P(fO`Q_P#f&Wc~",goto:"#)S&}PPPP'O'c*t-wP'cPP.].a/uPPPPP1aP2yPP4c7U9q<^kPPP>qPAXPPPBR2yPCzPPDuPElEtPPPPPPPPPPPPGPGhPJpJxKUKpKvK|MlMpMpMxPNX! a!!U!!`P!!u! aP!!{!#V! |!#fP!$V!$a!$g! a!$j!$pElEl!$t!%O!%R2y!&m2y2y!(fP.aP!(jP!)ZPPPPPP.aP.a!)w.aPP.aP.aPP.a!+]!+gPP!+m!+vPPPPPPPP'OP'OPP!+z!+z!,_!+zPP!+zP!+zP!,x!,{P!+z!-c!+zP!+zP!-f!-iP!+zP!+zP!+zP!+zP!+z!+zP!+zP!-mP!-s!-v!-|P!+z!.Y!.]P!.e!.w!2v!2|!3S!4Y!4`!4n!5t!5z!6Q!6[!6b!6h!6n!6t!6z!7Q!7W!7^!7d!7j!7p!7v!8Q!8W!8b!8hPPP!8n!+z!9cP!g!]!^!?w!^!_!@e!_!`!BO!`!a!Br!a!b!D`!b!c!EO!c!}!Kz!}#O!MW#O#P%Q#P#Q!Mt#Q#R!Nb#R#S4e#S#T%Q#T#o4e#o#p# U#p#q# r#q#r##[#r#s##x#s#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%QS%VV&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS%qO&XSS%tVOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZS&^VOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QS&vP;=`<%l%QS&|UOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZS'cP;=`<%l&Z_'mk&XS%xZOX%QXY'fYZ)bZ^'f^p%Qpq'fqr%Qrs%qs#y%Q#y#z'f#z$f%Q$f$g'f$g#BY%Q#BY#BZ'f#BZ$IS%Q$IS$I_'f$I_$I|%Q$I|$JO'f$JO$JT%Q$JT$JU'f$JU$KV%Q$KV$KW'f$KW&FU%Q&FU&FV'f&FV;'S%Q;'S;=`&s<%lO%Q_)iY&XS%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XZ*^Y%xZX^*Xpq*X#y#z*X$f$g*X#BY#BZ*X$IS$I_*X$I|$JO*X$JT$JU*X$KV$KW*X&FU&FV*XV+TX#sP&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QU+wV#_Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT,aXOY,|YZ%lZr,|rs3Ys#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T-PXOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT-qX&XSOY-lYZ%lZr-lrs.^s#O-l#O#P.x#P;'S-l;'S;=`2|<%lO-lT.cVcPOY&ZYZ%lZr&Zrs&ys;'S&Z;'S;=`'`<%lO&ZT.}V&XSOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT/iW&XSOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0UWOY0RZr0Rrs0ns#O0R#O#P0s#P;'S0R;'S;=`1V<%lO0RP0sOcPP0vTOY0RYZ0RZ;'S0R;'S;=`1V<%lO0RP1YP;=`<%l0RT1`XOY,|YZ%lZr,|rs1{s#O,|#O#P2d#P;'S,|;'S;=`3S<%lO,|T2QUcPOY&ZYZ%lZr&Zs;'S&Z;'S;=`'`<%lO&ZT2gVOY-lYZ/dZr-lrs1]s;'S-l;'S;=`2|<%lO-lT3PP;=`<%l-lT3VP;=`<%l,|T3_VcPOY&ZYZ%lZr&Zrs3ts;'S&Z;'S;=`'`<%lO&ZT3yR&VSXY4SYZ4`pq4SP4VRXY4SYZ4`pq4SP4eO&WP_4la&OZ&XSOY%QYZ%lZr%Qrs%qst%Qtu4eu!Q%Q!Q![4e![!c%Q!c!}4e!}#R%Q#R#S4e#S#T%Q#T#o4e#o;'S%Q;'S;=`&s<%lO%QU5xX#gQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU6lV#]Q&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV7YZ&mR&XSOY%QYZ%lZr%Qrs%qsv%Qvw7{w!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QU8SV#aQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT8nZ&XSOY9aYZ%lZr9ars:osw9awx%Qx#O9a#O#P;y#P;'S9a;'S;=`@z<%lO9aT9fX&XSOY%QYZ%lZr%Qrs%qsw%Qwx:Rx;'S%Q;'S;=`&s<%lO%QT:YVbP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT:rXOY&ZYZ%lZr&Zrs&ysw&Zwx;_x;'S&Z;'S;=`'`<%lO&ZT;dVbPOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT_YZ%lZr>_rs?Zsw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_T>bZOY_YZ%lZr>_rs@Psw>_wx;_x#O>_#O#P&Z#P;'S>_;'S;=`@t<%lO>_P@SVOY@PZw@Pwx@ix#O@P#P;'S@P;'S;=`@n<%lO@PP@nObPP@qP;=`<%l@PT@wP;=`<%l>_T@}P;=`<%l9a_AXVZZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVAuVYR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVBeX$YP&XS#fQOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVCXZ#eR&XSOY%QYZ%lZr%Qrs%qs{%Q{|Cz|!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QVDRV#qR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVDoVqR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QVE][#eR&XSOY%QYZ%lZr%Qrs%qs}%Q}!OCz!O!_%Q!_!`6e!`!aFR!a;'S%Q;'S;=`&s<%lO%QVFYV&wR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_FvZWY&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PGi!P!Q%Q!Q![Hw![;'S%Q;'S;=`&s<%lO%QVGnX&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!PHZ!P;'S%Q;'S;=`&s<%lO%QVHbV&pR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTIOc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#R%Q#R#SNq#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTJbV&XS`POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QTJ|]&XSOY%QYZ%lZr%Qrs%qs{%Q{|Ku|}%Q}!OKu!O!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTKzX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![;'S%Q;'S;=`&s<%lO%QTLnc&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![!f%Q!f!gJZ!g!h%Q!h!iJZ!i#R%Q#R#SMy#S#W%Q#W#XJZ#X#Y%Q#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QTNOZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Lg![#R%Q#R#SMy#S;'S%Q;'S;=`&s<%lO%QTNvZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![#R%Q#R#SNq#S;'S%Q;'S;=`&s<%lO%Q_! p]&XS#fQOY%QYZ%lZr%Qrs%qsz%Qz{!!i{!P%Q!P!Q!)[!Q!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%Q_!!nX&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!#`T&XSOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!#rTOz!#oz{!$R{;'S!#o;'S;=`!$p<%lO!#oZ!$UVOz!#oz{!$R{!P!#o!P!Q!$k!Q;'S!#o;'S;=`!$p<%lO!#oZ!$pOQZZ!$sP;=`<%l!#o_!$yXOY!%fYZ!#ZZr!%frs!'psz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!%iXOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{;'S!!i;'S;=`!'j<%lO!!i_!&ZZ&XSOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!'TV&XSQZOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!'mP;=`<%l!!i_!'sXOY!%fYZ!#ZZr!%frs!#osz!%fz{!(`{;'S!%f;'S;=`!)U<%lO!%f_!(cZOY!!iYZ!#ZZr!!irs!$vsz!!iz{!&U{!P!!i!P!Q!&|!Q;'S!!i;'S;=`!'j<%lO!!i_!)XP;=`<%l!%f_!)cV&XSPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!)}VPZOY!*dYZ%lZr!*drs!+Us;'S!*d;'S;=`!,X<%lO!*d_!*iVPZOY!)[YZ%lZr!)[rs!)xs;'S!)[;'S;=`!+O<%lO!)[_!+RP;=`<%l!)[_!+ZVPZOY!*dYZ%lZr!*drs!+ps;'S!*d;'S;=`!,X<%lO!*dZ!+uSPZOY!+pZ;'S!+p;'S;=`!,R<%lO!+pZ!,UP;=`<%l!+p_!,[P;=`<%l!*dT!,fu&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!d%Q!d!e!3a!e!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o!q%Q!q!r!5_!r!z%Q!z!{!7V!{#R%Q#R#S!2i#S#U%Q#U#V!3a#V#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a#c%Q#c#d!5_#d#l%Q#l#m!7V#m;'S%Q;'S;=`&s<%lO%QT!/Qa&XS`POY%QYZ%lZr%Qrs%qs!Q%Q!Q![Hw![!f%Q!f!gJZ!g!hJw!h!iJZ!i#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z;'S%Q;'S;=`&s<%lO%QT!0^i&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!.y!P!Q%Q!Q![!0V![!f%Q!f!gJZ!g!hJw!h!iJZ!i!n%Q!n!o!1{!o#R%Q#R#S!2i#S#W%Q#W#XJZ#X#YJw#Y#ZJZ#Z#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!2SV&XS_POY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT!2nZ&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!0V![#R%Q#R#S!2i#S;'S%Q;'S;=`&s<%lO%QT!3fY&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S;'S%Q;'S;=`&s<%lO%QT!4]`&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!R!4U!R!S!4U!S!n%Q!n!o!1{!o#R%Q#R#S!3a#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!5dX&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y;'S%Q;'S;=`&s<%lO%QT!6W_&XS_POY%QYZ%lZr%Qrs%qs!Q%Q!Q!Y!6P!Y!n%Q!n!o!1{!o#R%Q#R#S!5_#S#`%Q#`#a!1{#a;'S%Q;'S;=`&s<%lO%QT!7[_&XSOY%QYZ%lZr%Qrs%qs!O%Q!O!P!8Z!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i#T%Q#T#Z!:i#Z;'S%Q;'S;=`&s<%lO%QT!8`]&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i#T%Q#T#Z!9X#Z;'S%Q;'S;=`&s<%lO%QT!9^c&XSOY%QYZ%lZr%Qrs%qs!Q%Q!Q![!9X![!c%Q!c!i!9X!i!r%Q!r!sJw!s#R%Q#R#S!8Z#S#T%Q#T#Z!9X#Z#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!:pi&XS_POY%QYZ%lZr%Qrs%qs!O%Q!O!P!<_!P!Q%Q!Q![!:i![!c%Q!c!i!:i!i!n%Q!n!o!1{!o!r%Q!r!sJw!s#R%Q#R#S!=i#S#T%Q#T#Z!:i#Z#`%Q#`#a!1{#a#d%Q#d#eJw#e;'S%Q;'S;=`&s<%lO%QT!nX#oR&XSOY%QYZ%lZr%Qrs%qs![%Q![!]!?Z!];'S%Q;'S;=`&s<%lO%QV!?bV&uR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!@OV!PR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!@lY&^Z&XSOY%QYZ%lZr%Qrs%qs!^%Q!^!_!A[!_!`+p!`;'S%Q;'S;=`&s<%lO%QU!AcX#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV!BVX!bR&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`;'S%Q;'S;=`&s<%lO%QV!ByY&]R&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`+p!`!a!Ci!a;'S%Q;'S;=`&s<%lO%QU!CpY#hQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`!a!A[!a;'S%Q;'S;=`&s<%lO%Q_!DiV&aX#nQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!EVX%|Z&XSOY%QYZ%lZr%Qrs%qs#]%Q#]#^!Er#^;'S%Q;'S;=`&s<%lO%QV!EwX&XSOY%QYZ%lZr%Qrs%qs#b%Q#b#c!Fd#c;'S%Q;'S;=`&s<%lO%QV!FiX&XSOY%QYZ%lZr%Qrs%qs#h%Q#h#i!GU#i;'S%Q;'S;=`&s<%lO%QV!GZX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!Gv#Y;'S%Q;'S;=`&s<%lO%QV!G{X&XSOY%QYZ%lZr%Qrs%qs#f%Q#f#g!Hh#g;'S%Q;'S;=`&s<%lO%QV!HmX&XSOY%QYZ%lZr%Qrs%qs#Y%Q#Y#Z!IY#Z;'S%Q;'S;=`&s<%lO%QV!I_X&XSOY%QYZ%lZr%Qrs%qs#T%Q#T#U!Iz#U;'S%Q;'S;=`&s<%lO%QV!JPX&XSOY%QYZ%lZr%Qrs%qs#V%Q#V#W!Jl#W;'S%Q;'S;=`&s<%lO%QV!JqX&XSOY%QYZ%lZr%Qrs%qs#X%Q#X#Y!K^#Y;'S%Q;'S;=`&s<%lO%QV!KeV&sR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_!LRa&QZ&XSOY%QYZ%lZr%Qrs%qst%Qtu!Kzu!Q%Q!Q![!Kz![!c%Q!c!}!Kz!}#R%Q#R#S!Kz#S#T%Q#T#o!Kz#o;'S%Q;'S;=`&s<%lO%Q_!M_VuZ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV!M{VsR&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QU!NiX#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`;'S%Q;'S;=`&s<%lO%QV# ]V}R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q_# {Z&}X#cQ&XSOY%QYZ%lZr%Qrs%qs!_%Q!_!`6e!`#p%Q#p#q#!n#q;'S%Q;'S;=`&s<%lO%QU#!uV#dQ&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QV##cV|R&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%QT#$PV#tP&XSOY%QYZ%lZr%Qrs%qs;'S%Q;'S;=`&s<%lO%Q",tokenizers:[0,1,2,3],topRules:{Program:[0,3],ClassContent:[1,193]},dynamicPrecedences:{27:1,231:-1,242:-1},specialized:[{term:230,get:Q=>o[Q]||-1}],tokenPrec:6995}),T=r.define({name:"java",parser:c.configure({props:[s.add({IfStatement:$({except:/^\s*({|else\b)/}),TryStatement:$({except:/^\s*({|catch|finally)\b/}),LabeledStatement:S,SwitchBlock:Q=>{let P=Q.textAfter,a=/^\s*\}/.test(P),i=/^\s*(case|default)\b/.test(P);return Q.baseIndent+(a?0:i?1:2)*Q.unit},Block:l({closing:"}"}),BlockComment:()=>null,Statement:$({except:/^{/})}),Z.add({"Block SwitchBlock ClassBody ElementValueArrayInitializer ModuleBody EnumBody ConstructorBody InterfaceBody ArrayInitializer":Y,BlockComment(Q){return{from:Q.from+2,to:Q.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/}});function R(){return new t(T)}export{R as java,T as javaLanguage}; diff --git a/public/admin/assets/index-DaN931b2.js b/AIWebQuickDeploy/public/admin/assets/index-BdAj7OgB.js similarity index 50% rename from public/admin/assets/index-DaN931b2.js rename to AIWebQuickDeploy/public/admin/assets/index-BdAj7OgB.js index 840633f..870173e 100644 --- a/public/admin/assets/index-DaN931b2.js +++ b/AIWebQuickDeploy/public/admin/assets/index-BdAj7OgB.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as C,N as S,u as y,a7 as M,a8 as x,n as V,X as c,a as L,a9 as a,O as $,p as A,g as n,c as B,e as i,b as o,Q as f,i as s,w as _,aa as D,z as m,y as N,M as R,ab as P,ac as T,A as b,l as z}from"./index-nGFMSQGw.js";import H from"./index-BhavOP4W.js";import I from"./index-Bb_mj7fg.js";import K from"./index-CFd9RQbU.js";import E from"./index-apzNn83J.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-zkYlqh7B.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-DBGFR6b9.js";/* empty css */import U from"./link-BkZGdTQk.js";import X from"./index-BEgl-D5h.js";import{_ as j}from"./index.vue_vue_type_script_setup_true_lang-BJqXE6JQ.js";import{u as q}from"./useMainPage-C9MASyfo.js";import{u as F}from"./useMenu-CjAI3aXu.js";import"./index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js";import"./rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js";import"./index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js";import"./HDropdown-BjwO9ikd.js";import"./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js";import"./use-resolve-button-type-CVaAVCZ2.js";import"./index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js";import"./index-CyI3Kccs.js";import"./index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js";import"./HKbd-By3ZrrUU.js";import"./index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js";import"./index.vue_vue_type_script_setup_true_lang-rI-Pc7n4.js";import"./sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js";import"./item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js";import"./index-DYuViJCA.js";import"./index-DilPWwlM.js";import"./leftSide.vue_vue_type_script_setup_true_lang-CY8It3ua.js";import"./index-D5jQENXK.js";import"./index-CeCYhShg.js";import"./item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js";import"./HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js";import"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";const G={class:"layout"},J={id:"app-main"},W={class:"wrapper"},Y={class:"main-container"},Z={class:"main"},ee=C({name:"Layout",__name:"index",setup(oe){const p=S(),e=y(),v=M(),r=x(),h=q(),g=F(),l=V(()=>!!p.meta.link);return c(()=>e.settings.menu.subMenuCollapse,t=>{e.mode==="mobile"&&(t?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden"))}),c(()=>p.path,()=>{e.mode==="mobile"&&e.$patch(t=>{t.settings.menu.subMenuCollapse=!0})}),L(()=>{a("f5",t=>{e.settings.toolbar.pageReload&&(t.preventDefault(),h.reload())}),a("alt+`",t=>{e.settings.menu.enableHotkeys&&(t.preventDefault(),g.switchTo(r.actived+1{a.unbind("f5"),a.unbind("alt+`")}),(t,u)=>{const w=A("RouterView");return n(),B("div",G,[i("div",J,[o(H),i("div",W,[i("div",{class:f(["sidebar-container",{show:s(e).mode==="mobile"&&!s(e).settings.menu.subMenuCollapse}])},[o(I),o(K)],2),i("div",{class:f(["sidebar-mask",{show:s(e).mode==="mobile"&&!s(e).settings.menu.subMenuCollapse}]),onClick:u[0]||(u[0]=d=>s(e).toggleSidebarCollapse())},null,2),i("div",Y,[o(E),i("div",Z,[o(w,null,{default:_(({Component:d,route:k})=>[o(D,{name:"slide-right",mode:"out-in",appear:""},{default:_(()=>[(n(),m(T,{include:s(v).list},[N((n(),m(P(d),{key:k.fullPath})),[[R,!s(l)]])],1032,["include"]))]),_:2},1024)]),_:1}),s(l)?(n(),m(U,{key:0})):b("",!0)]),o(X)])])]),o(O),o(Q),b("",!0),o(j)])}}}),Ie=z(ee,[["__scopeId","data-v-8e390700"]]);export{Ie as default}; +import{d as C,N as S,u as y,a7 as M,a8 as x,n as V,X as c,a as L,a9 as a,O as $,p as A,g as n,c as B,e as i,b as o,Q as f,i as s,w as _,aa as D,z as m,y as N,M as R,ab as P,ac as T,A as b,l as z}from"./index-6QRvoxq4.js";import H from"./index-CYAFQ7HU.js";import I from"./index-CQq7nD5J.js";import K from"./index-eP4h4BlF.js";import E from"./index-Dq5t6Z0r.js";import{_ as O}from"./index.vue_vue_type_script_setup_true_lang-BGlBKwum.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-BgKLAU11.js";/* empty css */import U from"./link-BvzwK7mO.js";import X from"./index-FQR52wpL.js";import{_ as j}from"./index.vue_vue_type_script_setup_true_lang-Bugv63mj.js";import{u as q}from"./useMainPage--yVtHxDh.js";import{u as F}from"./useMenu-DJ8_3Y3q.js";import"./index.vue_vue_type_script_setup_true_lang-CJnFI54p.js";import"./rightSide.vue_vue_type_script_setup_true_lang-Bh_y80-_.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js";import"./index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js";import"./HDropdown-7q7O_XMK.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js";import"./use-resolve-button-type-BE1XPlJv.js";import"./index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js";import"./index-B0yaT7Pj.js";import"./index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js";import"./HKbd-Be5shIQ7.js";import"./index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js";import"./index.vue_vue_type_script_setup_true_lang-zXZwbW_j.js";import"./sub.vue_vue_type_script_setup_true_lang-6LQFZuiJ.js";import"./item.vue_vue_type_script_setup_true_lang-C02ico3V.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js";import"./index-DyGHaFdn.js";import"./index-BRrAnYwh.js";import"./leftSide.vue_vue_type_script_setup_true_lang-Dg-uHS6-.js";import"./index-CbgLRpel.js";import"./index-BE5tQEZB.js";import"./item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js";import"./HDialog.vue_vue_type_script_setup_true_lang-an5zbG4e.js";import"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";const G={class:"layout"},J={id:"app-main"},W={class:"wrapper"},Y={class:"main-container"},Z={class:"main"},ee=C({name:"Layout",__name:"index",setup(oe){const p=S(),e=y(),v=M(),r=x(),h=q(),g=F(),l=V(()=>!!p.meta.link);return c(()=>e.settings.menu.subMenuCollapse,t=>{e.mode==="mobile"&&(t?document.body.classList.remove("overflow-hidden"):document.body.classList.add("overflow-hidden"))}),c(()=>p.path,()=>{e.mode==="mobile"&&e.$patch(t=>{t.settings.menu.subMenuCollapse=!0})}),L(()=>{a("f5",t=>{e.settings.toolbar.pageReload&&(t.preventDefault(),h.reload())}),a("alt+`",t=>{e.settings.menu.enableHotkeys&&(t.preventDefault(),g.switchTo(r.actived+1{a.unbind("f5"),a.unbind("alt+`")}),(t,u)=>{const w=A("RouterView");return n(),B("div",G,[i("div",J,[o(H),i("div",W,[i("div",{class:f(["sidebar-container",{show:s(e).mode==="mobile"&&!s(e).settings.menu.subMenuCollapse}])},[o(I),o(K)],2),i("div",{class:f(["sidebar-mask",{show:s(e).mode==="mobile"&&!s(e).settings.menu.subMenuCollapse}]),onClick:u[0]||(u[0]=d=>s(e).toggleSidebarCollapse())},null,2),i("div",Y,[o(E),i("div",Z,[o(w,null,{default:_(({Component:d,route:k})=>[o(D,{name:"slide-right",mode:"out-in",appear:""},{default:_(()=>[(n(),m(T,{include:s(v).list},[N((n(),m(P(d),{key:k.fullPath})),[[R,!s(l)]])],1032,["include"]))]),_:2},1024)]),_:1}),s(l)?(n(),m(U,{key:0})):b("",!0)]),o(X)])])]),o(O),o(Q),b("",!0),o(j)])}}}),Ie=z(ee,[["__scopeId","data-v-8e390700"]]);export{Ie as default}; diff --git a/public/admin/assets/index-Dasmtrdh.js b/AIWebQuickDeploy/public/admin/assets/index-BdhdXhTT.js similarity index 99% rename from public/admin/assets/index-Dasmtrdh.js rename to AIWebQuickDeploy/public/admin/assets/index-BdhdXhTT.js index 636ae1e..68bad3e 100644 --- a/public/admin/assets/index-Dasmtrdh.js +++ b/AIWebQuickDeploy/public/admin/assets/index-BdhdXhTT.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{b as o,C as G,s as u,t as $,d as V,L as x,f as z,l as _,i as Y,c as v,o as b,a as E}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const w=150,P=151,C=152,N=1,I=2,f=3,F=153,D=154,p=4,L=5,K=155,k=156,Z=157,s=158,j=6,W=7,A=8,B=9,S=0,i=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],J=58,H=40,h=95,M=91,l=45,OO=46,y=35,$O=37,T=123,eO=125,r=47,c=42,R=10,q=61,aO=43,QO=38;function d(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function U(O){return O>=48&&O<=57}function m(O){let e;return O.next==r&&((e=O.peek(1))==r||e==c)}const nO=new o((O,e)=>{if(e.dialectEnabled(S)){let a;if(O.next<0&&e.canShift(Z))O.acceptToken(Z);else if(((a=O.peek(-1))==R||a<0)&&e.canShift(k)){let Q=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),Q++;O.next==R||m(O)?O.acceptToken(k,-Q):Q&&O.acceptToken(s)}else if(O.next==R)O.acceptToken(K,1);else if(i.includes(O.next)){for(O.advance();O.next!=R&&i.includes(O.next);)O.advance();O.acceptToken(s)}}else{let a=0;for(;i.includes(O.next);)O.advance(),a++;a&&O.acceptToken(s)}},{contextual:!0}),tO=new o((O,e)=>{if(m(O)){if(O.advance(),e.dialectEnabled(S)){let a=-1;for(let Q=1;;Q++){let n=O.peek(-Q-1);if(n==R||n<0){a=Q+1;break}else if(!i.includes(n))break}if(a>-1){let Q=O.next==c,n=0;for(O.advance();O.next>=0;)if(O.next==R){O.advance();let t=0;for(;O.next!=R&&i.includes(O.next);)t++,O.advance();if(t=0;)O.advance();O.acceptToken(j)}else{for(O.advance();O.next>=0;){let{next:a}=O;if(O.advance(),a==c&&O.next==r){O.advance();break}}O.acceptToken(W)}}}),RO=new o((O,e)=>{(O.next==aO||O.next==q)&&e.dialectEnabled(S)&&O.acceptToken(O.next==q?A:B,1)}),iO=new o((O,e)=>{if(!e.dialectEnabled(S))return;let a=e.context.depth;if(O.next<0&&a){O.acceptToken(P);return}if(O.peek(-1)==R){let n=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),n++;n!=a&&O.next!=R&&!m(O)&&(n{for(let a=!1,Q=0,n=0;;n++){let{next:t}=O;if(d(t)||t==l||t==h||a&&U(t))!a&&(t!=l||n>0)&&(a=!0),Q===n&&t==l&&Q++,O.advance();else if(t==y&&O.peek(1)==T){O.acceptToken(L,2);break}else{a&&O.acceptToken(t==H?F:Q==2&&e.canShift(p)?p:D);break}}}),lO=new o(O=>{if(O.next==eO){for(O.advance();d(O.next)||O.next==l||O.next==h||U(O.next);)O.advance();O.next==y&&O.peek(1)==T?O.acceptToken(I,2):O.acceptToken(N)}}),rO=new o(O=>{if(i.includes(O.peek(-1))){let{next:e}=O;(d(e)||e==h||e==y||e==OO||e==M||e==J||e==l||e==QO)&&O.acceptToken(C)}}),dO=new o(O=>{if(!i.includes(O.peek(-1))){let{next:e}=O;if(e==$O&&(O.advance(),O.acceptToken(f)),d(e)){do O.advance();while(d(O.next));O.acceptToken(f)}}});function g(O,e){this.parent=O,this.depth=e,this.hash=(O?O.hash+O.hash<<8:0)+e+(e<<4)}const cO=new g(null,0),SO=new G({start:cO,shift(O,e,a,Q){return e==w?new g(O,a.pos-Q.pos):e==P?O.parent:O},hash(O){return O.hash}}),sO=u({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":$.definitionKeyword,"Keyword selector":$.keyword,ControlKeyword:$.controlKeyword,NamespaceName:$.namespace,KeyframeName:$.labelName,TagName:$.tagName,"ClassName Suffix":$.className,PseudoClassName:$.constant($.className),IdName:$.labelName,"FeatureName PropertyName":$.propertyName,AttributeName:$.attributeName,NumberLiteral:$.number,KeywordQuery:$.keyword,UnaryQueryOp:$.operatorKeyword,"CallTag ValueName":$.atom,VariableName:$.variableName,SassVariableName:$.special($.variableName),Callee:$.operatorKeyword,Unit:$.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":$.definitionOperator,MatchOp:$.compareOperator,"ChildOp SiblingOp, LogicOp":$.logicOperator,BinOp:$.arithmeticOperator,"Important Global Default":$.modifier,Comment:$.blockComment,LineComment:$.lineComment,ColorLiteral:$.color,"ParenthesizedContent StringLiteral":$.string,"InterpolationStart InterpolationContinue InterpolationEnd":$.meta,': "..."':$.punctuation,"PseudoOp #":$.derefOperator,"; ,":$.separator,"( )":$.paren,"[ ]":$.squareBracket,"{ }":$.brace}),PO={__proto__:null,not:62,only:62,using:173,as:183,with:187,without:187,hide:201,show:201,from:224,to:226,if:239,through:245,in:251},XO={__proto__:null,url:80,"url-prefix":80,domain:80,regexp:80,lang:94,"nth-child":94,"nth-last-child":94,"nth-of-type":94,"nth-last-of-type":94,dir:94,"host-context":94,selector:166},hO={__proto__:null,"@import":150,"@include":170,"@mixin":176,"@function":176,"@use":180,"@extend":190,"@at-root":194,"@forward":198,"@media":204,"@charset":208,"@namespace":212,"@keyframes":218,"@supports":230,"@if":234,"@else":236,"@for":242,"@each":248,"@while":254,"@debug":258,"@warn":258,"@error":258,"@return":258},yO=V.deserialize({version:14,states:"KOQ`Q+tOOO#cQ+tOOP#jOpOOOOQ#U'#Ch'#ChO#oQ(pO'#CjOOQ#U'#Ci'#CiO%[Q)QO'#FtO%oQ.jO'#CnO&gQ#dO'#DWO'^Q(pO'#CgO'eQ)OO'#DYO'pQ#dO'#DaO'uQ#dO'#DeOOQ#U'#Ft'#FtO'zQ(pO'#FtO(RQ(nO'#DpO%oQ.jO'#DwO%oQ.jO'#ESO%oQ.jO'#EVO%oQ.jO'#EXO(WQ)OO'#E^O(uQ)OO'#E`O%oQ.jO'#EbO)SQ)OO'#EeO%oQ.jO'#EgO)nQ)OO'#EiO)yQ#dO'#ElO*OQ)OO'#ErO*dQ)OO'#FSOOQ&Z'#Fs'#FsOOQ&Y'#FV'#FVO*nQ(nO'#FVQ`Q+tOOO%oQ.jO'#EtO*yQ(nO'#ExO+OQ)OO'#E{O%oQ.jO'#FOO%oQ.jO'#FQOOQ&Z'#F^'#F^O+WQ+uO'#F|O+eQ(oO'#F|QOQ#SOOP+yO#SO'#FrPOOO)CAg)CAgOOQ#U'#Cm'#CmOOQ#U,59W,59WOOQ#i'#Cp'#CpO%oQ.jO'#CsO,XQ.wO'#CuO.tQ.^O,59YO%oQ.jO'#CzOOQ#S'#DO'#DOO/VQ(nO'#DTOOQ#i'#Fv'#FvO/[Q(nO'#C}OOQ#U'#DX'#DXOOQ#U,59r,59rO&gQ#dO,59rO/aQ)OO,59tO'pQ#dO,59{O'uQ#dO,5:PO(WQ)OO,5:TO(WQ)OO,5:VO(WQ)OO,5:WO(WQ)OO'#F]O/lQ(nO,59RO/wQ+tO'#DnO0OQ#TO'#DnOOQ&Z,59R,59ROOQ#U'#D['#D[OOQ#S'#D_'#D_OOQ#U,59t,59tO0TQ(nO,59tO0YQ(nO,59tOOQ#U'#Dc'#DcOOQ#U,59{,59{OOQ#S'#Dg'#DgO0_Q9`O,5:PO0gQ.jO,5:[O0qQ.jO,5:cO1jQ.jO,5:nO1wQ.YO,5:qO2YQ.jO,5:sOOQ#U'#Cj'#CjO3RQ(pO,5:xO3`Q(pO,5:zOOQ&Z,5:z,5:zO3gQ)OO,5:zO3lQ.jO,5:|OOQ#S'#Dz'#DzO4[Q)OO'#EPO4cQ(nO'#GOO*OQ)OO'#EOO4wQ(nO'#EQOOQ#S'#GP'#GPO/oQ(nO,5;PO2`Q.YO,5;ROOQ#d'#Ek'#EkO*nQ(nO,5;TO4|Q)OO,5;TOOQ#S'#En'#EnO5UQ(nO,5;WO5ZQ(nO,5;^O5fQ(nO,5;nOOQ&Z'#F}'#F}OOQ&Y,5;q,5;qOOQ&Y-E9T-E9TO1wQ.YO,5;`O5tQ)OO,5;dO5yQ)OO'#GRO6RQ)OO,5;gO1wQ.YO,5;jO2`Q.YO,5;lOOQ&Z-E9[-E9[O6WQ(oO,5^Q(pO,5;wOOQ#S-E9Z-E9ZOOQ&Z1G.m1G.mO>kQ(nO,5:YO>pQ+uO,5:YO>wQ)OO'#D`O?OQ.jO'#D^OOQ#U1G/k1G/kO%oQ.jO1G/kO?VQ.kO1G/vOOQ#T1G/v1G/vO*nQ(nO1G/}O@SQ+uO'#F}OOQ&Z1G0Y1G0YO/[Q(nO1G0YOOQ&Z1G0]1G0]OOQ&Z1G0_1G0_O/[Q(nO1G0_OBlQ)OO1G0_OOQ&Z1G0d1G0dOOQ&Z1G0f1G0fOBtQ)OO1G0fOByQ(nO1G0fOCOQ)OO1G0hOOQ&Z1G0h1G0hOC^Q.jO'#FbOCnQ#dO1G0hOCsQ(nO'#DzODOQ(nO,5:gODTQ(nO,5:kO*OQ)OO,5:iOD]Q)OO'#FaODpQ(nO,5]AN>]O!/jQ(pO,5;vOOQ#S-E9Y-E9YO!/tQ.jO,5;uOOQ#S-E9X-E9XO*nQ(nOAN?PO!0OQ(nOAN?WO/oQ(nOAN?WO!0WQ.jO,5;}OOQ#d-E9a-E9aOCOQ)OOAN?YOOQ&ZAN?YAN?YOOQ#S<[z{>a{|>z|}Cm}!ODO!O!PDm!P!Q;h!Q![FW![!]GR!]!^G}!^!_H`!_!`Hw!`!aI`!a!b#r!b!cJa!c!}#r!}#OKy#O#P#r#P#QL[#Q#RLm#R#T#r#T#UMS#U#c#r#c#dNe#d#o#r#o#pNz#p#qLm#q#r! ]#r#s! n#s;'S#r;'S;=`!!V<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSyWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#Z#[)Z#[#]$R#]#^,V#^;'S$R;'S;=`$d<%lO$RY%jSyWlQOy$Rz;'S$R;'S;=`$d<%lO$RY%{UyWOy$Rz#X$R#X#Y&_#Y;'S$R;'S;=`$d<%lO$RY&dUyWOy$Rz#Y$R#Y#Z&v#Z;'S$R;'S;=`$d<%lO$RY&{UyWOy$Rz#T$R#T#U'_#U;'S$R;'S;=`$d<%lO$RY'dUyWOy$Rz#i$R#i#j'v#j;'S$R;'S;=`$d<%lO$RY'{UyWOy$Rz#`$R#`#a(_#a;'S$R;'S;=`$d<%lO$RY(dUyWOy$Rz#h$R#h#i(v#i;'S$R;'S;=`$d<%lO$RY(}S!hQyWOy$Rz;'S$R;'S;=`$d<%lO$RY)`UyWOy$Rz#`$R#`#a)r#a;'S$R;'S;=`$d<%lO$RY)wUyWOy$Rz#c$R#c#d*Z#d;'S$R;'S;=`$d<%lO$RY*`UyWOy$Rz#U$R#U#V*r#V;'S$R;'S;=`$d<%lO$RY*wUyWOy$Rz#T$R#T#U+Z#U;'S$R;'S;=`$d<%lO$RY+`UyWOy$Rz#`$R#`#a+r#a;'S$R;'S;=`$d<%lO$RY+yS!gQyWOy$Rz;'S$R;'S;=`$d<%lO$RY,[UyWOy$Rz#a$R#a#b,n#b;'S$R;'S;=`$d<%lO$RY,sUyWOy$Rz#d$R#d#e-V#e;'S$R;'S;=`$d<%lO$RY-[UyWOy$Rz#c$R#c#d-n#d;'S$R;'S;=`$d<%lO$RY-sUyWOy$Rz#f$R#f#g.V#g;'S$R;'S;=`$d<%lO$RY.[UyWOy$Rz#h$R#h#i.n#i;'S$R;'S;=`$d<%lO$RY.sUyWOy$Rz#T$R#T#U/V#U;'S$R;'S;=`$d<%lO$RY/[UyWOy$Rz#b$R#b#c/n#c;'S$R;'S;=`$d<%lO$RY/sUyWOy$Rz#h$R#h#i0V#i;'S$R;'S;=`$d<%lO$RY0^S!fQyWOy$Rz;'S$R;'S;=`$d<%lO$R~0mWOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W<%lO0j~1[Oj~~1_RO;'S0j;'S;=`1h;=`O0j~1kXOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W;=`<%l0j<%lO0j~2ZP;=`<%l0jZ2cY!UPOy$Rz!Q$R!Q![3R![!c$R!c!i3R!i#T$R#T#Z3R#Z;'S$R;'S;=`$d<%lO$RY3WYyWOy$Rz!Q$R!Q![3v![!c$R!c!i3v!i#T$R#T#Z3v#Z;'S$R;'S;=`$d<%lO$RY3{YyWOy$Rz!Q$R!Q![4k![!c$R!c!i4k!i#T$R#T#Z4k#Z;'S$R;'S;=`$d<%lO$RY4rYhQyWOy$Rz!Q$R!Q![5b![!c$R!c!i5b!i#T$R#T#Z5b#Z;'S$R;'S;=`$d<%lO$RY5iYhQyWOy$Rz!Q$R!Q![6X![!c$R!c!i6X!i#T$R#T#Z6X#Z;'S$R;'S;=`$d<%lO$RY6^YyWOy$Rz!Q$R!Q![6|![!c$R!c!i6|!i#T$R#T#Z6|#Z;'S$R;'S;=`$d<%lO$RY7TYhQyWOy$Rz!Q$R!Q![7s![!c$R!c!i7s!i#T$R#T#Z7s#Z;'S$R;'S;=`$d<%lO$RY7xYyWOy$Rz!Q$R!Q![8h![!c$R!c!i8h!i#T$R#T#Z8h#Z;'S$R;'S;=`$d<%lO$RY8oShQyWOy$Rz;'S$R;'S;=`$d<%lO$R_9O`Oy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!_$R!_!`;T!`!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$RZ:X^yWcROy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$R[;[S![SyWOy$Rz;'S$R;'S;=`$d<%lO$RY;mSlQOy$Rz;'S$R;'S;=`$d<%lO$RZOSfROy$Rz;'S$R;'S;=`$d<%lO$R~>aOe~_>hU$iPlQOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZ?RWlQ!aPOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZ?pUyWOy$Rz!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RZ@ZYyW$kROy$Rz!Q$R!Q![@S![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZAOYyWOy$Rz{$R{|An|}$R}!OAn!O!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZAsUyWOy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZB^UyW$kROy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZBw[yW$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZCrSvROy$Rz;'S$R;'S;=`$d<%lO$RZDTWlQOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZDrW$lROy$Rz!O$R!O!PE[!P!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RYEaUyWOy$Rz!O$R!O!PEs!P;'S$R;'S;=`$d<%lO$RYEzSuQyWOy$Rz;'S$R;'S;=`$d<%lO$RZF][$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZGWUtROy$Rz![$R![!]Gj!];'S$R;'S;=`$d<%lO$RXGqS}PyWOy$Rz;'S$R;'S;=`$d<%lO$RZHSS!iROy$Rz;'S$R;'S;=`$d<%lO$RYHeUlQOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$R^H|U![SOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$RZIgV!^PlQOy$Rz!_$R!_!`%c!`!aI|!a;'S$R;'S;=`$d<%lO$RXJTS!^PyWOy$Rz;'S$R;'S;=`$d<%lO$RXJdWOy$Rz!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXKT[!lPyWOy$Rz}$R}!OJ|!O!Q$R!Q![J|![!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXLOS!YPOy$Rz;'S$R;'S;=`$d<%lO$R^LaS!WUOy$Rz;'S$R;'S;=`$d<%lO$R[LpUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZMVUOy$Rz#b$R#b#cMi#c;'S$R;'S;=`$d<%lO$RZMnUyWOy$Rz#W$R#W#XNQ#X;'S$R;'S;=`$d<%lO$RZNXSmRyWOy$Rz;'S$R;'S;=`$d<%lO$RZNhUOy$Rz#f$R#f#gNQ#g;'S$R;'S;=`$d<%lO$RZ! PS!cROy$Rz;'S$R;'S;=`$d<%lO$RZ! bS!jROy$Rz;'S$R;'S;=`$d<%lO$R]! sU!aPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!!YP;=`<%l#r",tokenizers:[iO,rO,lO,dO,oO,nO,tO,RO,0,1,2,3],topRules:{StyleSheet:[0,10],Styles:[1,131]},dialects:{indented:0},specialized:[{term:154,get:O=>PO[O]||-1},{term:153,get:O=>XO[O]||-1},{term:74,get:O=>hO[O]||-1}],tokenPrec:2863}),X=x.define({name:"sass",parser:yO.configure({props:[z.add({Block:_,Comment(O,e){return{from:O.from+2,to:e.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),Y.add({Declaration:v()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),mO=X.configure({dialect:"indented",props:[Y.add({"Block RuleSet":O=>O.baseIndent+O.unit}),z.add({Block:O=>({from:O.from,to:O.to})})]}),fO=b(O=>O.name=="VariableName"||O.name=="SassVariableName");function ZO(O){return new E(O!=null&&O.indented?mO:X,X.data.of({autocomplete:fO}))}export{ZO as sass,fO as sassCompletionSource,X as sassLanguage}; +import{b as o,C as G,s as u,t as $,d as V,L as x,f as z,l as _,i as Y,c as v,o as b,a as E}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const w=150,P=151,C=152,N=1,I=2,f=3,F=153,D=154,p=4,L=5,K=155,k=156,Z=157,s=158,j=6,W=7,A=8,B=9,S=0,i=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],J=58,H=40,h=95,M=91,l=45,OO=46,y=35,$O=37,T=123,eO=125,r=47,c=42,R=10,q=61,aO=43,QO=38;function d(O){return O>=65&&O<=90||O>=97&&O<=122||O>=161}function U(O){return O>=48&&O<=57}function m(O){let e;return O.next==r&&((e=O.peek(1))==r||e==c)}const nO=new o((O,e)=>{if(e.dialectEnabled(S)){let a;if(O.next<0&&e.canShift(Z))O.acceptToken(Z);else if(((a=O.peek(-1))==R||a<0)&&e.canShift(k)){let Q=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),Q++;O.next==R||m(O)?O.acceptToken(k,-Q):Q&&O.acceptToken(s)}else if(O.next==R)O.acceptToken(K,1);else if(i.includes(O.next)){for(O.advance();O.next!=R&&i.includes(O.next);)O.advance();O.acceptToken(s)}}else{let a=0;for(;i.includes(O.next);)O.advance(),a++;a&&O.acceptToken(s)}},{contextual:!0}),tO=new o((O,e)=>{if(m(O)){if(O.advance(),e.dialectEnabled(S)){let a=-1;for(let Q=1;;Q++){let n=O.peek(-Q-1);if(n==R||n<0){a=Q+1;break}else if(!i.includes(n))break}if(a>-1){let Q=O.next==c,n=0;for(O.advance();O.next>=0;)if(O.next==R){O.advance();let t=0;for(;O.next!=R&&i.includes(O.next);)t++,O.advance();if(t=0;)O.advance();O.acceptToken(j)}else{for(O.advance();O.next>=0;){let{next:a}=O;if(O.advance(),a==c&&O.next==r){O.advance();break}}O.acceptToken(W)}}}),RO=new o((O,e)=>{(O.next==aO||O.next==q)&&e.dialectEnabled(S)&&O.acceptToken(O.next==q?A:B,1)}),iO=new o((O,e)=>{if(!e.dialectEnabled(S))return;let a=e.context.depth;if(O.next<0&&a){O.acceptToken(P);return}if(O.peek(-1)==R){let n=0;for(;O.next!=R&&i.includes(O.next);)O.advance(),n++;n!=a&&O.next!=R&&!m(O)&&(n{for(let a=!1,Q=0,n=0;;n++){let{next:t}=O;if(d(t)||t==l||t==h||a&&U(t))!a&&(t!=l||n>0)&&(a=!0),Q===n&&t==l&&Q++,O.advance();else if(t==y&&O.peek(1)==T){O.acceptToken(L,2);break}else{a&&O.acceptToken(t==H?F:Q==2&&e.canShift(p)?p:D);break}}}),lO=new o(O=>{if(O.next==eO){for(O.advance();d(O.next)||O.next==l||O.next==h||U(O.next);)O.advance();O.next==y&&O.peek(1)==T?O.acceptToken(I,2):O.acceptToken(N)}}),rO=new o(O=>{if(i.includes(O.peek(-1))){let{next:e}=O;(d(e)||e==h||e==y||e==OO||e==M||e==J||e==l||e==QO)&&O.acceptToken(C)}}),dO=new o(O=>{if(!i.includes(O.peek(-1))){let{next:e}=O;if(e==$O&&(O.advance(),O.acceptToken(f)),d(e)){do O.advance();while(d(O.next));O.acceptToken(f)}}});function g(O,e){this.parent=O,this.depth=e,this.hash=(O?O.hash+O.hash<<8:0)+e+(e<<4)}const cO=new g(null,0),SO=new G({start:cO,shift(O,e,a,Q){return e==w?new g(O,a.pos-Q.pos):e==P?O.parent:O},hash(O){return O.hash}}),sO=u({"AtKeyword import charset namespace keyframes media supports include mixin use forward extend at-root":$.definitionKeyword,"Keyword selector":$.keyword,ControlKeyword:$.controlKeyword,NamespaceName:$.namespace,KeyframeName:$.labelName,TagName:$.tagName,"ClassName Suffix":$.className,PseudoClassName:$.constant($.className),IdName:$.labelName,"FeatureName PropertyName":$.propertyName,AttributeName:$.attributeName,NumberLiteral:$.number,KeywordQuery:$.keyword,UnaryQueryOp:$.operatorKeyword,"CallTag ValueName":$.atom,VariableName:$.variableName,SassVariableName:$.special($.variableName),Callee:$.operatorKeyword,Unit:$.unit,"UniversalSelector NestingSelector IndentedMixin IndentedInclude":$.definitionOperator,MatchOp:$.compareOperator,"ChildOp SiblingOp, LogicOp":$.logicOperator,BinOp:$.arithmeticOperator,"Important Global Default":$.modifier,Comment:$.blockComment,LineComment:$.lineComment,ColorLiteral:$.color,"ParenthesizedContent StringLiteral":$.string,"InterpolationStart InterpolationContinue InterpolationEnd":$.meta,': "..."':$.punctuation,"PseudoOp #":$.derefOperator,"; ,":$.separator,"( )":$.paren,"[ ]":$.squareBracket,"{ }":$.brace}),PO={__proto__:null,not:62,only:62,using:173,as:183,with:187,without:187,hide:201,show:201,from:224,to:226,if:239,through:245,in:251},XO={__proto__:null,url:80,"url-prefix":80,domain:80,regexp:80,lang:94,"nth-child":94,"nth-last-child":94,"nth-of-type":94,"nth-last-of-type":94,dir:94,"host-context":94,selector:166},hO={__proto__:null,"@import":150,"@include":170,"@mixin":176,"@function":176,"@use":180,"@extend":190,"@at-root":194,"@forward":198,"@media":204,"@charset":208,"@namespace":212,"@keyframes":218,"@supports":230,"@if":234,"@else":236,"@for":242,"@each":248,"@while":254,"@debug":258,"@warn":258,"@error":258,"@return":258},yO=V.deserialize({version:14,states:"KOQ`Q+tOOO#cQ+tOOP#jOpOOOOQ#U'#Ch'#ChO#oQ(pO'#CjOOQ#U'#Ci'#CiO%[Q)QO'#FtO%oQ.jO'#CnO&gQ#dO'#DWO'^Q(pO'#CgO'eQ)OO'#DYO'pQ#dO'#DaO'uQ#dO'#DeOOQ#U'#Ft'#FtO'zQ(pO'#FtO(RQ(nO'#DpO%oQ.jO'#DwO%oQ.jO'#ESO%oQ.jO'#EVO%oQ.jO'#EXO(WQ)OO'#E^O(uQ)OO'#E`O%oQ.jO'#EbO)SQ)OO'#EeO%oQ.jO'#EgO)nQ)OO'#EiO)yQ#dO'#ElO*OQ)OO'#ErO*dQ)OO'#FSOOQ&Z'#Fs'#FsOOQ&Y'#FV'#FVO*nQ(nO'#FVQ`Q+tOOO%oQ.jO'#EtO*yQ(nO'#ExO+OQ)OO'#E{O%oQ.jO'#FOO%oQ.jO'#FQOOQ&Z'#F^'#F^O+WQ+uO'#F|O+eQ(oO'#F|QOQ#SOOP+yO#SO'#FrPOOO)CAg)CAgOOQ#U'#Cm'#CmOOQ#U,59W,59WOOQ#i'#Cp'#CpO%oQ.jO'#CsO,XQ.wO'#CuO.tQ.^O,59YO%oQ.jO'#CzOOQ#S'#DO'#DOO/VQ(nO'#DTOOQ#i'#Fv'#FvO/[Q(nO'#C}OOQ#U'#DX'#DXOOQ#U,59r,59rO&gQ#dO,59rO/aQ)OO,59tO'pQ#dO,59{O'uQ#dO,5:PO(WQ)OO,5:TO(WQ)OO,5:VO(WQ)OO,5:WO(WQ)OO'#F]O/lQ(nO,59RO/wQ+tO'#DnO0OQ#TO'#DnOOQ&Z,59R,59ROOQ#U'#D['#D[OOQ#S'#D_'#D_OOQ#U,59t,59tO0TQ(nO,59tO0YQ(nO,59tOOQ#U'#Dc'#DcOOQ#U,59{,59{OOQ#S'#Dg'#DgO0_Q9`O,5:PO0gQ.jO,5:[O0qQ.jO,5:cO1jQ.jO,5:nO1wQ.YO,5:qO2YQ.jO,5:sOOQ#U'#Cj'#CjO3RQ(pO,5:xO3`Q(pO,5:zOOQ&Z,5:z,5:zO3gQ)OO,5:zO3lQ.jO,5:|OOQ#S'#Dz'#DzO4[Q)OO'#EPO4cQ(nO'#GOO*OQ)OO'#EOO4wQ(nO'#EQOOQ#S'#GP'#GPO/oQ(nO,5;PO2`Q.YO,5;ROOQ#d'#Ek'#EkO*nQ(nO,5;TO4|Q)OO,5;TOOQ#S'#En'#EnO5UQ(nO,5;WO5ZQ(nO,5;^O5fQ(nO,5;nOOQ&Z'#F}'#F}OOQ&Y,5;q,5;qOOQ&Y-E9T-E9TO1wQ.YO,5;`O5tQ)OO,5;dO5yQ)OO'#GRO6RQ)OO,5;gO1wQ.YO,5;jO2`Q.YO,5;lOOQ&Z-E9[-E9[O6WQ(oO,5^Q(pO,5;wOOQ#S-E9Z-E9ZOOQ&Z1G.m1G.mO>kQ(nO,5:YO>pQ+uO,5:YO>wQ)OO'#D`O?OQ.jO'#D^OOQ#U1G/k1G/kO%oQ.jO1G/kO?VQ.kO1G/vOOQ#T1G/v1G/vO*nQ(nO1G/}O@SQ+uO'#F}OOQ&Z1G0Y1G0YO/[Q(nO1G0YOOQ&Z1G0]1G0]OOQ&Z1G0_1G0_O/[Q(nO1G0_OBlQ)OO1G0_OOQ&Z1G0d1G0dOOQ&Z1G0f1G0fOBtQ)OO1G0fOByQ(nO1G0fOCOQ)OO1G0hOOQ&Z1G0h1G0hOC^Q.jO'#FbOCnQ#dO1G0hOCsQ(nO'#DzODOQ(nO,5:gODTQ(nO,5:kO*OQ)OO,5:iOD]Q)OO'#FaODpQ(nO,5]AN>]O!/jQ(pO,5;vOOQ#S-E9Y-E9YO!/tQ.jO,5;uOOQ#S-E9X-E9XO*nQ(nOAN?PO!0OQ(nOAN?WO/oQ(nOAN?WO!0WQ.jO,5;}OOQ#d-E9a-E9aOCOQ)OOAN?YOOQ&ZAN?YAN?YOOQ#S<[z{>a{|>z|}Cm}!ODO!O!PDm!P!Q;h!Q![FW![!]GR!]!^G}!^!_H`!_!`Hw!`!aI`!a!b#r!b!cJa!c!}#r!}#OKy#O#P#r#P#QL[#Q#RLm#R#T#r#T#UMS#U#c#r#c#dNe#d#o#r#o#pNz#p#qLm#q#r! ]#r#s! n#s;'S#r;'S;=`!!V<%lO#rW#uSOy$Rz;'S$R;'S;=`$d<%lO$RW$WSyWOy$Rz;'S$R;'S;=`$d<%lO$RW$gP;=`<%l$RY$m[Oy$Rz!_$R!_!`%c!`#W$R#W#X%v#X#Z$R#Z#[)Z#[#]$R#]#^,V#^;'S$R;'S;=`$d<%lO$RY%jSyWlQOy$Rz;'S$R;'S;=`$d<%lO$RY%{UyWOy$Rz#X$R#X#Y&_#Y;'S$R;'S;=`$d<%lO$RY&dUyWOy$Rz#Y$R#Y#Z&v#Z;'S$R;'S;=`$d<%lO$RY&{UyWOy$Rz#T$R#T#U'_#U;'S$R;'S;=`$d<%lO$RY'dUyWOy$Rz#i$R#i#j'v#j;'S$R;'S;=`$d<%lO$RY'{UyWOy$Rz#`$R#`#a(_#a;'S$R;'S;=`$d<%lO$RY(dUyWOy$Rz#h$R#h#i(v#i;'S$R;'S;=`$d<%lO$RY(}S!hQyWOy$Rz;'S$R;'S;=`$d<%lO$RY)`UyWOy$Rz#`$R#`#a)r#a;'S$R;'S;=`$d<%lO$RY)wUyWOy$Rz#c$R#c#d*Z#d;'S$R;'S;=`$d<%lO$RY*`UyWOy$Rz#U$R#U#V*r#V;'S$R;'S;=`$d<%lO$RY*wUyWOy$Rz#T$R#T#U+Z#U;'S$R;'S;=`$d<%lO$RY+`UyWOy$Rz#`$R#`#a+r#a;'S$R;'S;=`$d<%lO$RY+yS!gQyWOy$Rz;'S$R;'S;=`$d<%lO$RY,[UyWOy$Rz#a$R#a#b,n#b;'S$R;'S;=`$d<%lO$RY,sUyWOy$Rz#d$R#d#e-V#e;'S$R;'S;=`$d<%lO$RY-[UyWOy$Rz#c$R#c#d-n#d;'S$R;'S;=`$d<%lO$RY-sUyWOy$Rz#f$R#f#g.V#g;'S$R;'S;=`$d<%lO$RY.[UyWOy$Rz#h$R#h#i.n#i;'S$R;'S;=`$d<%lO$RY.sUyWOy$Rz#T$R#T#U/V#U;'S$R;'S;=`$d<%lO$RY/[UyWOy$Rz#b$R#b#c/n#c;'S$R;'S;=`$d<%lO$RY/sUyWOy$Rz#h$R#h#i0V#i;'S$R;'S;=`$d<%lO$RY0^S!fQyWOy$Rz;'S$R;'S;=`$d<%lO$R~0mWOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W<%lO0j~1[Oj~~1_RO;'S0j;'S;=`1h;=`O0j~1kXOY0jZr0jrs1Vs#O0j#O#P1[#P;'S0j;'S;=`2W;=`<%l0j<%lO0j~2ZP;=`<%l0jZ2cY!UPOy$Rz!Q$R!Q![3R![!c$R!c!i3R!i#T$R#T#Z3R#Z;'S$R;'S;=`$d<%lO$RY3WYyWOy$Rz!Q$R!Q![3v![!c$R!c!i3v!i#T$R#T#Z3v#Z;'S$R;'S;=`$d<%lO$RY3{YyWOy$Rz!Q$R!Q![4k![!c$R!c!i4k!i#T$R#T#Z4k#Z;'S$R;'S;=`$d<%lO$RY4rYhQyWOy$Rz!Q$R!Q![5b![!c$R!c!i5b!i#T$R#T#Z5b#Z;'S$R;'S;=`$d<%lO$RY5iYhQyWOy$Rz!Q$R!Q![6X![!c$R!c!i6X!i#T$R#T#Z6X#Z;'S$R;'S;=`$d<%lO$RY6^YyWOy$Rz!Q$R!Q![6|![!c$R!c!i6|!i#T$R#T#Z6|#Z;'S$R;'S;=`$d<%lO$RY7TYhQyWOy$Rz!Q$R!Q![7s![!c$R!c!i7s!i#T$R#T#Z7s#Z;'S$R;'S;=`$d<%lO$RY7xYyWOy$Rz!Q$R!Q![8h![!c$R!c!i8h!i#T$R#T#Z8h#Z;'S$R;'S;=`$d<%lO$RY8oShQyWOy$Rz;'S$R;'S;=`$d<%lO$R_9O`Oy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!_$R!_!`;T!`!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$RZ:X^yWcROy$Rz}$R}!O:Q!O!Q$R!Q![:Q![!c$R!c!}:Q!}#R$R#R#S:Q#S#T$R#T#o:Q#o;'S$R;'S;=`$d<%lO$R[;[S![SyWOy$Rz;'S$R;'S;=`$d<%lO$RY;mSlQOy$Rz;'S$R;'S;=`$d<%lO$RZOSfROy$Rz;'S$R;'S;=`$d<%lO$R~>aOe~_>hU$iPlQOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZ?RWlQ!aPOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZ?pUyWOy$Rz!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RZ@ZYyW$kROy$Rz!Q$R!Q![@S![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZAOYyWOy$Rz{$R{|An|}$R}!OAn!O!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZAsUyWOy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZB^UyW$kROy$Rz!Q$R!Q![BV![;'S$R;'S;=`$d<%lO$RZBw[yW$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZCrSvROy$Rz;'S$R;'S;=`$d<%lO$RZDTWlQOy$Rz!O$R!O!P?k!P!Q$R!Q![Bp![;'S$R;'S;=`$d<%lO$RZDrW$lROy$Rz!O$R!O!PE[!P!Q$R!Q![@S![;'S$R;'S;=`$d<%lO$RYEaUyWOy$Rz!O$R!O!PEs!P;'S$R;'S;=`$d<%lO$RYEzSuQyWOy$Rz;'S$R;'S;=`$d<%lO$RZF][$kROy$Rz!O$R!O!P@S!P!Q$R!Q![Bp![!g$R!g!h@y!h#X$R#X#Y@y#Y;'S$R;'S;=`$d<%lO$RZGWUtROy$Rz![$R![!]Gj!];'S$R;'S;=`$d<%lO$RXGqS}PyWOy$Rz;'S$R;'S;=`$d<%lO$RZHSS!iROy$Rz;'S$R;'S;=`$d<%lO$RYHeUlQOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$R^H|U![SOy$Rz!_$R!_!`%c!`;'S$R;'S;=`$d<%lO$RZIgV!^PlQOy$Rz!_$R!_!`%c!`!aI|!a;'S$R;'S;=`$d<%lO$RXJTS!^PyWOy$Rz;'S$R;'S;=`$d<%lO$RXJdWOy$Rz!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXKT[!lPyWOy$Rz}$R}!OJ|!O!Q$R!Q![J|![!c$R!c!}J|!}#T$R#T#oJ|#o;'S$R;'S;=`$d<%lO$RXLOS!YPOy$Rz;'S$R;'S;=`$d<%lO$R^LaS!WUOy$Rz;'S$R;'S;=`$d<%lO$R[LpUOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RZMVUOy$Rz#b$R#b#cMi#c;'S$R;'S;=`$d<%lO$RZMnUyWOy$Rz#W$R#W#XNQ#X;'S$R;'S;=`$d<%lO$RZNXSmRyWOy$Rz;'S$R;'S;=`$d<%lO$RZNhUOy$Rz#f$R#f#gNQ#g;'S$R;'S;=`$d<%lO$RZ! PS!cROy$Rz;'S$R;'S;=`$d<%lO$RZ! bS!jROy$Rz;'S$R;'S;=`$d<%lO$R]! sU!aPOy$Rz!_$R!_!`;T!`;'S$R;'S;=`$d<%lO$RW!!YP;=`<%l#r",tokenizers:[iO,rO,lO,dO,oO,nO,tO,RO,0,1,2,3],topRules:{StyleSheet:[0,10],Styles:[1,131]},dialects:{indented:0},specialized:[{term:154,get:O=>PO[O]||-1},{term:153,get:O=>XO[O]||-1},{term:74,get:O=>hO[O]||-1}],tokenPrec:2863}),X=x.define({name:"sass",parser:yO.configure({props:[z.add({Block:_,Comment(O,e){return{from:O.from+2,to:e.sliceDoc(O.to-2,O.to)=="*/"?O.to-2:O.to}}}),Y.add({Declaration:v()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),mO=X.configure({dialect:"indented",props:[Y.add({"Block RuleSet":O=>O.baseIndent+O.unit}),z.add({Block:O=>({from:O.from,to:O.to})})]}),fO=b(O=>O.name=="VariableName"||O.name=="SassVariableName");function ZO(O){return new E(O!=null&&O.indented?mO:X,X.data.of({autocomplete:fO}))}export{ZO as sass,fO as sassCompletionSource,X as sassLanguage}; diff --git a/public/admin/assets/index-Dllm2_h9.js b/AIWebQuickDeploy/public/admin/assets/index-Bnpp2PsS.js similarity index 99% rename from public/admin/assets/index-Dllm2_h9.js rename to AIWebQuickDeploy/public/admin/assets/index-Bnpp2PsS.js index e262890..a9d926c 100644 --- a/public/admin/assets/index-Dllm2_h9.js +++ b/AIWebQuickDeploy/public/admin/assets/index-Bnpp2PsS.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{b as S,s as o,t as $,d as t,L as l,i as x,c as W,k as R,f as V,l as r,r as U,a as v,u}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const b=1,m=2,p=263,k=3,c=264,s=265,Y=266,Z=4,w=5,_=6,h=7,X=8,j=9,f=10,G=11,g=12,E=13,I=14,N=15,F=16,C=17,L=18,A=19,H=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,yO=30,aO=31,zO=32,SO=33,PO=34,WO=35,eO=36,TO=37,sO=38,XO=39,dO=40,nO=41,qO=42,oO=43,tO=44,lO=45,xO=46,RO=47,VO=48,rO=49,UO=50,vO=51,uO=52,bO=53,mO=54,pO=55,kO=56,cO=57,YO=58,ZO=59,wO=60,_O=61,e=62,hO=63,jO=64,fO=65,GO={abstract:Z,and:w,array:_,as:h,true:X,false:X,break:j,case:f,catch:G,clone:g,const:E,continue:I,declare:F,default:N,do:C,echo:L,else:A,elseif:H,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:yO,fn:aO,for:zO,foreach:SO,from:PO,function:WO,global:eO,goto:TO,if:sO,implements:XO,include:dO,include_once:nO,instanceof:qO,insteadof:oO,interface:tO,list:lO,match:xO,namespace:RO,new:VO,null:rO,or:UO,print:vO,require:uO,require_once:bO,return:mO,switch:pO,throw:kO,trait:cO,try:YO,unset:ZO,use:wO,var:_O,public:e,private:e,protected:e,while:hO,xor:jO,yield:fO,__proto__:null};function d(O){let Q=GO[O.toLowerCase()];return Q??-1}function n(O){return O==9||O==10||O==13||O==32}function q(O){return O>=97&&O<=122||O>=65&&O<=90}function a(O){return O==95||O>=128||q(O)}function T(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const gO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},EO=new S(O=>{if(O.next==40){O.advance();let Q=0;for(;n(O.peek(Q));)Q++;let i="",y;for(;q(y=O.peek(Q));)i+=String.fromCharCode(y),Q++;for(;n(O.peek(Q));)Q++;O.peek(Q)==41&&gO[i.toLowerCase()]&&O.acceptToken(b)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let y=0;y<3;y++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!a(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!a(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let y=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(y){for(;O.next==32||O.next==9;)O.advance();let z=!0;for(let P=0;P{O.next<0&&O.acceptToken(Y)}),NO=new S((O,Q)=>{O.next==63&&Q.canShift(s)&&O.peek(1)==62&&O.acceptToken(s)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,y;for(;i<5&&(y=O.peek(i))>=48&&y<=55;)i++;return i}if(Q==120&&T(O.peek(2)))return T(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let y=O.peek(i);if(y==125)return i==2?0:i+1;if(!T(y))break}return 0}const CO=new S((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(a(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let y=FO(O);if(y){if(i)break;return O.acceptToken(k,y)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&a(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&a(O.peek(3)))&&Q.canShift(c))break;O.advance()}i&&O.acceptToken(p)}),LO=o({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,LogicOp:$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},HO=t.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQS'#IW'#IWO,zQ`O'#GdO,zQ`O'#GfO,zQ`O'#GkOhQaO'#GmO9UQ`O'#GnO9ZQ`O'#GqO9`Q`O'#GtO9eQeO'#GuO9eQeO'#GvO9eQeO'#GwO9oQ`O'#GxO9tQ`O'#GzO9yQaO'#G{OS,5>SOJ[QdO,5;gOOQO-E;f-E;fOL^Q`O,5;gOLcQpO,5;bO0aQ`O'#EyOLkQtO'#E}OOQS'#Ez'#EzOOQS'#Ib'#IbOM`QaO,5:wO*kQaO,5;nOOQS,5;p,5;pO*kQaO,5;pOMgQdO,5UQaO,5=hO!-eQ`O'#F}O!-jQdO'#IlO!&WQdO,5=iOOQ#u,5=j,5=jO!-uQ`O,5=lO!-xQ`O,5=mO!-}Q`O,5=nO!.YQdO,5=qOOQ#u,5=q,5=qO!.eQ`O,5=rO!.eQ`O,5=rO!.mQdO'#IwO!.{Q`O'#HXO!&WQdO,5=rO!/ZQ`O,5=rO!/fQdO'#IYO!&WQdO,5=vOOQ#u-E;_-E;_O!1RQ`O,5=kOOO#u,5:^,5:^O!1^O#|O,5:^OOO#u-E;^-E;^OOOO,5>p,5>pOOQ#y1G0S1G0SO!1fQ`O1G0XO*kQaO1G0XO!2xQ`O1G0pOOQS1G0p1G0pO!4[Q`O1G0pOOQS'#I_'#I_O*kQaO'#I_OOQS1G0q1G0qO!4cQ`O'#IaO!7lQ`O'#E}O!7yQaO'#EuOOQO'#Ia'#IaO!8TQ`O'#I`O!8]Q`O,5;_OOQS'#FQ'#FQOOQS1G1U1G1UO!8bQdO1G1]O!:dQdO1G1]O!wO#(fQaO'#HdO#(vQ`O,5>vOOQS1G0d1G0dO#)OQ`O1G0dO#)TQ`O'#I^O#*mQ`O'#I^O#*uQ`O,5;ROIbQaO,5;ROOQS1G0u1G0uPOQO'#E}'#E}O#+fQdO1G1RO0aQ`O'#HgO#-hQtO,5;cO#.YQaO1G0|OOQS,5;e,5;eO#0iQtO,5;gO#0vQdO1G0cO*kQaO1G0cO#2cQdO1G1YO#4OQdO1G1[OOQO,5<^,5<^O#4`Q`O'#HjO#4nQ`O,5?ROOQO1G1w1G1wO#4vQ`O,5?ZO!&WQdO1G3TO<_Q`O1G3TOOQ#u1G3U1G3UO#4{Q`O1G3YO!1RQ`O1G3VO#5WQ`O1G3VO#5]QpO'#FoO#5kQ`O'#FoO#5{Q`O'#FoO#6WQ`O'#FoO#6`Q`O'#FsO#6eQ`O'#FtOOQO'#If'#IfO#6lQ`O'#IeO#6tQ`O,5tOOQ#u1G3b1G3bOOQ#u1G3V1G3VO!-xQ`O1G3VO!1UQ`O1G3VOOO#u1G/x1G/xO*kQaO7+%sO#MuQdO7+%sOOQS7+&[7+&[O$ bQ`O,5>yO>UQaO,5;`O$ iQ`O,5;aO$#OQaO'#HfO$#YQ`O,5>zOOQS1G0y1G0yO$#bQ`O'#EYO$#gQ`O'#IXO$#oQ`O,5:sOOQS1G0e1G0eO$#tQ`O1G0eO$#yQ`O1G0iO9yQaO1G0iOOQO,5>O,5>OOOQO-E;b-E;bOOQS7+&O7+&OO>UQaO,5;SO$%`QaO'#HeO$%jQ`O,5>xOOQS1G0m1G0mO$%rQ`O1G0mOOQS,5>R,5>ROOQS-E;e-E;eO$%wQdO7+&hO$'yQtO1G1RO$(WQdO7+%}OOQS1G0i1G0iOOQO,5>U,5>UOOQO-E;h-E;hOOQ#u7+(o7+(oO!&WQdO7+(oOOQ#u7+(t7+(tO#KmQ`O7+(tO0aQ`O7+(tOOQ#u7+(q7+(qO!-xQ`O7+(qO!1UQ`O7+(qO!1RQ`O7+(qO$)sQ`O,5UQaO,5],5>]OOQS-E;o-E;oO$.iQdO7+'hO$.yQpO7+'hO$/RQdO'#IiOOQO,5dOOQ#u,5>d,5>dOOQ#u-E;v-E;vO$;lQaO7+(lO$cOOQS-E;u-E;uO!&WQdO7+(nO$=mQdO1G2TOOQS,5>[,5>[OOQS-E;n-E;nOOQ#u7+(r7+(rO$?nQ`O'#GQO$?uQ`O'#GQO$@ZQ`O'#HUOOQO'#Hy'#HyO$@`Q`O,5=oOOQ#u,5=o,5=oO$@gQpO7+(tOOQ#u7+(x7+(xO!&WQdO7+(xO$@rQdO,5>fOOQS-E;x-E;xO$AQQdO1G4}O$A]Q`O,5=tO$AbQ`O,5=tO$AmQ`O'#H{O$BRQ`O,5?dOOQS1G3_1G3_O#KrQ`O7+(xO$BZQdO,5=|OOQS-E;`-E;`O$CvQdO<Q,5>QOOQO-E;d-E;dO$8YQaO,5:tO$FxQaO'#HcO$GVQ`O,5>sOOQS1G0_1G0_OOQS7+&P7+&PO$G_Q`O7+&TO$HtQ`O1G0nO$JZQ`O,5>POOQO,5>P,5>POOQO-E;c-E;cOOQS7+&X7+&XOOQS7+&T7+&TOOQ#u<UQaO1G1uO$KsQ`O1G1uO$LOQ`O1G1yOOQO1G1y1G1yO$LTQ`O1G1uO$L]Q`O1G1uO$MrQ`O1G1zO>UQaO1G1zOOQO,5>V,5>VOOQO-E;i-E;iOOQS<`OOQ#u-E;r-E;rOhQaO<aOOQO-E;s-E;sO!&WQdO<g,5>gOOQO-E;y-E;yO!&WQdO<UQaO,5;TOOQ#uANAzANAzO#KmQ`OANAzOOQ#uANAwANAwO!-xQ`OANAwO%)vQ`O7+'aO>UQaO7+'aOOQO7+'e7+'eO%+]Q`O7+'aO%+hQ`O7+'eO>UQaO7+'fO%+mQ`O7+'fO%-SQ`O'#HlO%-bQ`O,5?SO%-bQ`O,5?SOOQO1G1{1G1{O$+qQpOAN@dOOQSAN@dAN@dO0aQ`OAN@dO%-jQtOANCgO%-xQ`OAN@dO*kQaOAN@nO%.QQdOAN@nO%.bQpOAN@nOOQS,5>X,5>XOOQS-E;k-E;kOOQO1G2U1G2UO!&WQdO1G2UO$/dQpO1G2UO<_Q`O1G2SO!.YQdO1G2WO!&WQdO1G2SOOQO1G2W1G2WOOQO1G2S1G2SO%.jQaO'#GSOOQO1G2X1G2XOOQSAN@oAN@oOOOQ<UQaO<W,5>WO%6wQ`O,5>WOOQO-E;j-E;jO%6|Q`O1G4nOOQSG26OG26OO$+qQpOG26OO0aQ`OG26OO%7UQdOG26YO*kQaOG26YOOQO7+'p7+'pO!&WQdO7+'pO!&WQdO7+'nOOQO7+'r7+'rOOQO7+'n7+'nO%7fQ`OLD+tO%8uQ`O'#E}O%9PQ`O'#IZO!&WQdO'#HrO%:|QaO,5^,5>^OOQP-E;p-E;pOOQO1G2Y1G2YOOQ#uLD,bLD,bOOQTG27RG27RO!&WQdOLD,xO!&WQdO<wO&EPQdO1G0cO#.YQaO1G0cO&F{QdO1G1YO&HwQdO1G1[O#.YQaO1G1|O#.YQaO7+%sO&JsQdO7+%sO&LoQdO7+%}O#.YQaO7+'hO&NkQdO7+'hO'!gQdO<lQdO,5>wO(@nQdO1G0cO'.QQaO1G0cO(BpQdO1G1YO(DrQdO1G1[O'.QQaO1G1|O'.QQaO7+%sO(FtQdO7+%sO(HvQdO7+%}O'.QQaO7+'hO(JxQdO7+'hO(LzQdO<wO*1sQaO'#HdO*2TQ`O,5>vO*2]QdO1G0cO9yQaO1G0cO*4XQdO1G1YO*6TQdO1G1[O9yQaO1G1|O>UQaO'#HwO*8PQ`O,5=[O*8XQaO'#HbO*8cQ`O,5>tO9yQaO7+%sO*8kQdO7+%sO*:gQ`O1G0iO>UQaO1G0iO*;|QdO7+%}O9yQaO7+'hO*=xQdO7+'hO*?tQ`O,5>cO*AZQ`O,5=|O*BpQdO<UQaO'#FeO>UQaO'#FfO>UQaO'#FgO>UQaO'#FhO>UQaO'#FhO>UQaO'#FkO+'XQaO'#FwO>UQaO'#GVO>UQaO'#GYO+'`QaO,5:mO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO+'gQ`O'#I]O$8YQaO'#EaO+)PQaOG26YO$8YQaO'#I]O+*{Q`O'#I[O++TQaO,5:wO>UQaO,5;nO>UQaO,5;pO++[Q`O,5UQaO1G0XO+9hQ`O1G1]O+;TQ`O1G1]O+]Q`O1G1]O+?xQ`O1G1]O+AeQ`O1G1]O+CQQ`O1G1]O+DmQ`O1G1]O+FYQ`O1G1]O+GuQ`O1G1]O+IbQ`O1G1]O+J}Q`O1G1]O+LjQ`O1G1]O+NVQ`O1G1]O, rQ`O1G1]O,#_Q`O1G0cO>UQaO1G0cO,$zQ`O1G1YO,&gQ`O1G1[O,(SQ`O1G1|O>UQaO1G1|O>UQaO7+%sO,([Q`O7+%sO,)wQ`O7+%}O>UQaO7+'hO,+dQ`O7+'hO,+lQ`O7+'hO,-XQpO7+'hO,-aQ`O<UQaO<UQaOAN@nO,0qQ`OAN@nO,2^QpOAN@nO,2fQ`OG26YO>UQaOG26YO,4RQ`OLD+tO,5nQaO,5:}O>UQaO1G0iO,5uQ`O'#I]O$8YQaO'#FeO$8YQaO'#FfO$8YQaO'#FgO$8YQaO'#FhO$8YQaO'#FhO+)PQaO'#FhO$8YQaO'#FkO,6SQaO'#FwO,6ZQaO'#FwO$8YQaO'#GVO+)PQaO'#GVO$8YQaO'#GYO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO,8YQ`O'#FlO>UQaO'#EaO>UQaO'#I]O,8bQaO,5:wO,8iQaO,5:wO$8YQaO,5;nO+)PQaO,5;nO$8YQaO,5;pO,:hQ`O,5wO-IcQ`O1G0cO-KOQ`O1G0cO$8YQaO1G0cO+)PQaO1G0cO-L_Q`O1G1YO-MzQ`O1G1YO. ZQ`O1G1[O$8YQaO1G1|O$8YQaO7+%sO+)PQaO7+%sO.!vQ`O7+%sO.$cQ`O7+%sO.%rQ`O7+%}O.'_Q`O7+%}O$8YQaO7+'hO.(nQ`O7+'hO.*ZQ`O<fQ`O,5>wO.@RQ`O1G1|O!%WQ`O1G1|O0aQ`O1G1|O0aQ`O7+'hO.@ZQ`O7+'hO.@cQpO7+'hO.@kQpO<UO#X&PO~P>UO!o&SO!s&RO#b&RO~OPgOQ|OU^OW}O[8lOo=yOs#hOx8jOy8jO}`O!O]O!Q8pO!R}O!T8oO!U8kO!V8kO!Y8rO!c8iO!s&VO!y[O#U&WO#W_O#bhO#daO#ebO#peO$T8nO$]8mO$^8nO$aqO$z8qO${!OO$}}O%O}O%V|O'g{O~O!x'SP~PAOO!s&[O#b&[O~OT#TOz#RO!S#UO!b#VO!o!{O!v!yO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO~O!x&nO~PCqO!x'VX!}'VX#O'VX#X'VX!n'VXV'VX!q'VX#u'VX#w'VXw'VX~P&sO!y$hO#S&oO~Oo$mOs$lO~O!o&pO~O!}&sO#S;dO#U;cO!x'OP~P9yOT6iOz6gO!S6jO!b6kO!o!{O!v8sO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'PX#X'PX~O#O&tO~PGSO!}&wO#X'OX~O#X&yO~O!}'OO!x'QP~P9yO!n'PO~PCqO!m#oa!o#oa#S#oa#p#qX&s#oa!x#oa#O#oaw#oa~OT#oaz#oa!S#oa!b#oa!v#oa!y#oa#W#oa#`#oa#a#oa#s#oa#z#oa#{#oa#|#oa#}#oa$O#oa$Q#oa$R#oa$S#oa$T#oa$U#oa$V#oa$W#oa$z#oa!}#oa#X#oa!n#oaV#oa!q#oa#u#oa#w#oa~PIpO!s'RO~O!x'UO#l'SO~O!x'VX#l'VX#p#qX#S'VX#U'VX#b'VX!o'VX#O'VXw'VX!m'VX&s'VX~O#S'YO~P*kO!m$Xa&s$Xa!x$Xa!n$Xa~PCqO!m$Ya&s$Ya!x$Ya!n$Ya~PCqO!m$Za&s$Za!x$Za!n$Za~PCqO!m$[a&s$[a!x$[a!n$[a~PCqO!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO$z#dOT$[a!S$[a!b$[a!m$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a&s$[a!x$[a!n$[a~Oz#RO~PNyO!m$_a&s$_a!x$_a!n$_a~PCqO!y!}O!}$fX#X$fX~O!}'^O#X'ZX~O#X'`O~O!s$kO#S'aO~O]'cO~O!s'eO~O!s'fO~O$l'gO~O!`'mO#S'kO#U'lO#b'jO$drO!x'XP~P0aO!^'sO!oXO!q'rO~O!s'uO!y$hO~O!y$hO#S'wO~O!y$hO#S'yO~O#u'zO!m$sX!}$sX&s$sX~O!}'{O!m'bX&s'bX~O!m#cO&s#cO~O!q(PO#O(OO~O!m$ka&s$ka!x$ka!n$ka~PCqOl(ROw(SO!o(TO!y!}O~O!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO~OT$yaz$ya!S$ya!b$ya!m$ya!v$ya#S$ya#z$ya#{$ya#|$ya#}$ya$O$ya$Q$ya$R$ya$S$ya$T$ya$U$ya$V$ya$W$ya$z$ya&s$ya!x$ya!}$ya#O$ya#X$ya!n$ya!q$yaV$ya#u$ya#w$ya~P!'WO!m$|a&s$|a!x$|a!n$|a~PCqO#W([O#`(YO#a(YO&r(ZOR&gX!o&gX#b&gX#e&gX&q&gX'f&gX~O'f(_O~P8lO!q(`O~PhO!o(cO!q(dO~O!q(`O&s(gO~PhO!a(kO~O!m(lO~P9yOZ(wOn(xO~O!s(zO~OT6iOz6gO!S6jO!b6kO!v8sO!}({O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'jX&s'jX~P!'WO#u)PO~O!})QO!m'`X&s'`X~Ol(RO!o(TO~Ow(SO!o)WO!q)ZO~O!m#cO!oXO&s#cO~O!o%pO!s#yO~OV)aO!})_O!m'kX&s'kX~O])cOs)cO!s#gO#peO~O!o%pO!s#gO#p)hO~OT6iOz6gO!S6jO!b6kO!v8sO!})iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&|X&s&|X#O&|X~P!'WOl(ROw(SO!o(TO~O!i)oO&t)oO~OT8vOz8tO!S8wO!b8xO!q)pO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#X)rO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!n)rO~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'TX!}'TX~P!'WOT'VXz'VX!S'VX!b'VX!o'VX!v'VX!y'VX#S'VX#W'VX#`'VX#a'VX#p#qX#s'VX#z'VX#{'VX#|'VX#}'VX$O'VX$Q'VX$R'VX$S'VX$T'VX$U'VX$V'VX$W'VX$z'VX~O!q)tO!x'VX!}'VX~P!5xO!x#iX!}#iX~P>UO!})vO!x'SX~O!x)xO~O$z#dOT#yiz#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi$W#yi&s#yi!x#yi!}#yi#O#yi#X#yi!n#yi!q#yiV#yi#u#yi#w#yi~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi&s#yi!x#yi!n#yi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!b#VO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi~P!'WOz#RO$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi~P!'WO_)yO~P9yO!x)|O~O#S*PO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Ta#X#Ta#O#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'Pa#X'Pa#O'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WO#S#oO#U#nO!}&WX#X&WX~P9yO!}&wO#X'Oa~O#X*SO~OT6iOz6gO!S6jO!b6kO!v8sO!}*UO#O*TO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'QX~P!'WO!}*UO!x'QX~O!x*WO~O!m#oi!o#oi#S#oi#p#qX&s#oi!x#oi#O#oiw#oi~OT#oiz#oi!S#oi!b#oi!v#oi!y#oi#W#oi#`#oi#a#oi#s#oi#z#oi#{#oi#|#oi#}#oi$O#oi$Q#oi$R#oi$S#oi$T#oi$U#oi$V#oi$W#oi$z#oi!}#oi#X#oi!n#oiV#oi!q#oi#u#oi#w#oi~P#*zO#l'SO!x#ka#S#ka#U#ka#b#ka!o#ka#O#kaw#ka!m#ka&s#ka~OPgOQ|OU^OW}O[4OOo5xOs#hOx3zOy3zO}`O!O]O!Q2^O!R}O!T4UO!U3|O!V3|O!Y2`O!c3xO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4SO$]4QO$^4SO$aqO$z2_O${!OO$}}O%O}O%V|O'g{O~O#l#oa#U#oa#b#oa~PIpOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pi!S#Pi!b#Pi!m#Pi&s#Pi!x#Pi!n#Pi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#vi!S#vi!b#vi!m#vi&s#vi!x#vi!n#vi~P!'WO!m#xi&s#xi!x#xi!n#xi~PCqO!s#gO#peO!}&^X#X&^X~O!}'^O#X'Za~O!s'uO~Ow(SO!o)WO!q*fO~O!s*jO~O#S*lO#U*mO#b*kO#l'SO~O#S*lO#U*mO#b*kO$drO~P0aO#u*oO!x$cX!}$cX~O#U*mO#b*kO~O#b*pO~O#b*rO~P0aO!}*sO!x'XX~O!x*uO~O!y*wO~O!^*{O!oXO!q*zO~O!q*}O!o'ci!m'ci&s'ci~O!q+QO#O+PO~O#b$nO!m&eX!}&eX&s&eX~O!}'{O!m'ba&s'ba~OT$kiz$ki!S$ki!b$ki!m$ki!o$ki!v$ki!y$ki#S$ki#W$ki#`$ki#a$ki#s$ki#u#fa#w#fa#z$ki#{$ki#|$ki#}$ki$O$ki$Q$ki$R$ki$S$ki$T$ki$U$ki$V$ki$W$ki$z$ki&s$ki!x$ki!}$ki#O$ki#X$ki!n$ki!q$kiV$ki~OS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n+hO#b$nO$aqO$drO~P0aO!s+lO~O#W+nO#`+mO#a+mO~O!s+pO#b+pO$}+pO%T+oO~O!n+qO~PCqOc%XXd%XXh%XXj%XXf%XXg%XXe%XX~PhOc+uOd+sOP%WiQ%WiS%WiU%WiW%WiX%Wi[%Wi]%Wi^%Wi`%Wia%Wib%Wik%Wim%Wio%Wip%Wiq%Wis%Wit%Wiu%Wiv%Wix%Wiy%Wi|%Wi}%Wi!O%Wi!P%Wi!Q%Wi!R%Wi!T%Wi!U%Wi!V%Wi!W%Wi!X%Wi!Y%Wi!Z%Wi![%Wi!]%Wi!^%Wi!`%Wi!a%Wi!c%Wi!m%Wi!o%Wi!s%Wi!y%Wi#W%Wi#b%Wi#d%Wi#e%Wi#p%Wi$T%Wi$]%Wi$^%Wi$a%Wi$d%Wi$l%Wi$z%Wi${%Wi$}%Wi%O%Wi%V%Wi&p%Wi'g%Wi&t%Wi!n%Wih%Wij%Wif%Wig%WiY%Wi_%Wii%Wie%Wi~Oc+yOd+vOh+xO~OY+zO_+{O!n,OO~OY+zO_+{Oi%^X~Oi,QO~Oj,RO~O!m,TO~P9yO!m,VO~Of,WO~OT6iOV,XOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOg,YO~O!y,ZO~OZ(wOn(xOP%liQ%liS%liU%liW%liX%li[%li]%li^%li`%lia%lib%lik%lim%lio%lip%liq%lis%lit%liu%liv%lix%liy%li|%li}%li!O%li!P%li!Q%li!R%li!T%li!U%li!V%li!W%li!X%li!Y%li!Z%li![%li!]%li!^%li!`%li!a%li!c%li!m%li!o%li!s%li!y%li#W%li#b%li#d%li#e%li#p%li$T%li$]%li$^%li$a%li$d%li$l%li$z%li${%li$}%li%O%li%V%li&p%li'g%li&t%li!n%lic%lid%lih%lij%lif%lig%liY%li_%lii%lie%li~O#u,_O~O!}({O!m%da&s%da~O!x,bO~O!s%dO!m&dX!}&dX&s&dX~O!})QO!m'`a&s'`a~OS+^OY,iOm+^Os$aO!^+dO!_+^O!`+^O$aqO$drO~O!n,lO~P#JwO!o)WO~O!o%pO!s'RO~O!s#gO#peO!m&nX!}&nX&s&nX~O!})_O!m'ka&s'ka~O!s,rO~OV,sO!n%|X!}%|X~O!},uO!n'lX~O!n,wO~O!m&UX!}&UX&s&UX#O&UX~P9yO!})iO!m&|a&s&|a#O&|a~Oz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq&s!uq!x!uq!n!uq~P!'WO!n,|O~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#ia!}#ia~P!'WO!x&YX!}&YX~PAOO!})vO!x'Sa~O#O-QO~O!}-RO!n&{X~O!n-TO~O!x-UO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vi#X#Vi~P!'WO!x&XX!}&XX~P9yO!}*UO!x'Qa~O!x-[O~OT#jqz#jq!S#jq!b#jq!m#jq!v#jq#S#jq#u#jq#w#jq#z#jq#{#jq#|#jq#}#jq$O#jq$Q#jq$R#jq$S#jq$T#jq$U#jq$V#jq$W#jq$z#jq&s#jq!x#jq!}#jq#O#jq#X#jq!n#jq!q#jqV#jq~P!'WO#l#oi#U#oi#b#oi~P#*zOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pq!S#Pq!b#Pq!m#Pq&s#Pq!x#Pq!n#Pq~P!'WO#u-dO!x$ca!}$ca~O#U-fO#b-eO~O#b-gO~O#S-hO#U-fO#b-eO#l'SO~O#b-jO#l'SO~O#u-kO!x$ha!}$ha~O!`'mO#S'kO#U'lO#b'jO$drO!x&_X!}&_X~P0aO!}*sO!x'Xa~O!oXO#l'SO~O#S-pO#b-oO!x'[P~O!oXO!q-rO~O!q-uO!o'cq!m'cq&s'cq~O!^-wO!oXO!q-rO~O!q-{O#O-zO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$si!}$si&s$si~P!'WO!m$jq&s$jq!x$jq!n$jq~PCqO#O-zO#l'SO~O!}-|Ow']X!o']X!m']X&s']X~O#b$nO#l'SO~OS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO$drO~P0aOS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO~P0aOS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n.ZO#b$nO$aqO$drO~P0aO!s.^O~O!s._O#b._O$}._O%T+oO~O$}.`O~O#X.aO~Oc%Xad%Xah%Xaj%Xaf%Xag%Xae%Xa~PhOc.dOd+sOP%WqQ%WqS%WqU%WqW%WqX%Wq[%Wq]%Wq^%Wq`%Wqa%Wqb%Wqk%Wqm%Wqo%Wqp%Wqq%Wqs%Wqt%Wqu%Wqv%Wqx%Wqy%Wq|%Wq}%Wq!O%Wq!P%Wq!Q%Wq!R%Wq!T%Wq!U%Wq!V%Wq!W%Wq!X%Wq!Y%Wq!Z%Wq![%Wq!]%Wq!^%Wq!`%Wq!a%Wq!c%Wq!m%Wq!o%Wq!s%Wq!y%Wq#W%Wq#b%Wq#d%Wq#e%Wq#p%Wq$T%Wq$]%Wq$^%Wq$a%Wq$d%Wq$l%Wq$z%Wq${%Wq$}%Wq%O%Wq%V%Wq&p%Wq'g%Wq&t%Wq!n%Wqh%Wqj%Wqf%Wqg%WqY%Wq_%Wqi%Wqe%Wq~Oc.iOd+vOh.hO~O!q(`O~OP6]OQ|OU^OW}O[:fOo>ROs#hOx:dOy:dO}`O!O]O!Q:kO!R}O!T:jO!U:eO!V:eO!Y:oO!c8gO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:hO$]:gO$^:hO$aqO$z:mO${!OO$}}O%O}O%V|O'g{O~O!m.lO!q.lO~OY+zO_+{O!n.nO~OY+zO_+{Oi%^a~O!x.rO~P>UO!m.tO~O!m.tO~P9yOQ|OW}O!R}O$}}O%O}O%V|O'g{O~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&ka!}&ka&s&ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$qi!}$qi&s$qi~P!'WOS+^Om+^Os$aO!_+^O!`+^O$aqO$drO~OY/PO~P$?VOS+^Om+^Os$aO!_+^O!`+^O$aqO~O!s/QO~O!n/SO~P#JwOw(SO!o)WO#l'SO~OV/VO!m&na!}&na&s&na~O!})_O!m'ki&s'ki~O!s/XO~OV/YO!n%|a!}%|a~O]/[Os/[O!s#gO#peO!n&oX!}&oX~O!},uO!n'la~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&Ua!}&Ua&s&Ua#O&Ua~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy&s!uy!x!uy!n!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#hi!}#hi~P!'WO_)yO!n&VX!}&VX~P9yO!}-RO!n&{a~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vq#X#Vq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#[i!}#[i~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O/cO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x&Xa!}&Xa~P!'WO#u/iO!x$ci!}$ci~O#b/jO~O#U/lO#b/kO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$ci!}$ci~P!'WO#u/mO!x$hi!}$hi~O!}/oO!x'[X~O#b/qO~O!x/rO~O!oXO!q/uO~O#l'SO!o'cy!m'cy&s'cy~O!m$jy&s$jy!x$jy!n$jy~PCqO#O/xO#l'SO~O!s#gO#peOw&aX!o&aX!}&aX!m&aX&s&aX~O!}-|Ow']a!o']a!m']a&s']a~OU$PO]0QO!R$PO!s$OO!v#}O#b$nO#p2XO~P$?uO!m#cO!o0VO&s#cO~O#X0YO~Oh0_O~OT:tOz:pO!S:vO!b:xO!m0`O!q0`O!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO~P!'WOY%]a_%]a!n%]ai%]a~PhO!x0bO~O!x0bO~P>UO!m0dO~OT6iOz6gO!S6jO!b6kO!v8sO!x0fO#O0eO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WO!x0fO~O!x0gO#b0hO#l'SO~O!x0iO~O!s0jO~O!m#cO#u0lO&s#cO~O!s0mO~O!})_O!m'kq&s'kq~O!s0nO~OV0oO!n%}X!}%}X~OT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!n!|i!}!|i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cq!}$cq~P!'WO#u0vO!x$cq!}$cq~O#b0wO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hq!}$hq~P!'WO#S0zO#b0yO!x&`X!}&`X~O!}/oO!x'[a~O#l'SO!o'c!R!m'c!R&s'c!R~O!oXO!q1PO~O!m$j!R&s$j!R!x$j!R!n$j!R~PCqO#O1RO#l'SO~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1^O!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOh1_O~OY%[i_%[i!n%[ii%[i~PhOY%]i_%]i!n%]ii%]i~PhO!x1bO~O!x1bO~P>UO!x1eO~O!m#cO#u1iO&s#cO~O$}1jO%V1jO~O!s1kO~OV1lO!n%}a!}%}a~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#]i!}#]i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cy!}$cy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hy!}$hy~P!'WO#b1nO~O!}/oO!x'[i~O!m$j!Z&s$j!Z!x$j!Z!n$j!Z~PCqOT:uOz:qO!S:wO!b:yO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dO~P!'WOV1uO{1tO~P!5xOV1uO{1tOT&}Xz&}X!S&}X!b&}X!o&}X!v&}X!y&}X#S&}X#W&}X#`&}X#a&}X#s&}X#u&}X#w&}X#z&}X#{&}X#|&}X#}&}X$O&}X$Q&}X$R&}X$S&}X$T&}X$U&}X$V&}X$W&}X$z&}X~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1xO!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOY%[q_%[q!n%[qi%[q~PhO!x1zO~O!x%gi~PCqOe1{O~O$}1|O%V1|O~O!s2OO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$c!R!}$c!R~P!'WO!m$j!c&s$j!c!x$j!c!n$j!c~PCqO!s2QO~O!`2SO!s2RO~O!s2VO!m$xi&s$xi~O!s'WO~O!s*]O~OT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$ka#u$ka#w$ka&s$ka!x$ka!n$ka!q$ka#X$ka!}$ka~P!'WO#S2]O~P*kO$l$tO~P#.YOT6iOz6gO!S6jO!b6kO!v8sO#O2[O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX&s'PX!x'PX!n'PX~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O3uO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'PX#X'PX#u'PX#w'PX!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~P!'WO#S3dO~P#.YOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Xa#u$Xa#w$Xa&s$Xa!x$Xa!n$Xa!q$Xa#X$Xa!}$Xa~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Ya#u$Ya#w$Ya&s$Ya!x$Ya!n$Ya!q$Ya#X$Ya!}$Ya~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Za#u$Za#w$Za&s$Za!x$Za!n$Za!q$Za#X$Za!}$Za~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$[a#u$[a#w$[a&s$[a!x$[a!n$[a!q$[a#X$[a!}$[a~P!'WOz2aO#u$[a#w$[a!q$[a#X$[a!}$[a~PNyOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$_a#u$_a#w$_a&s$_a!x$_a!n$_a!q$_a#X$_a!}$_a~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$|a#u$|a#w$|a&s$|a!x$|a!n$|a!q$|a#X$|a!}$|a~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#Ta#u#Ta#w#Ta&s#Ta!x#Ta!n#Ta!q#Ta#X#Ta!}#Ta~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m'Pa#u'Pa#w'Pa&s'Pa!x'Pa!n'Pa!q'Pa#X'Pa!}'Pa~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pi!S#Pi!b#Pi!m#Pi#u#Pi#w#Pi&s#Pi!x#Pi!n#Pi!q#Pi#X#Pi!}#Pi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#vi!S#vi!b#vi!m#vi#u#vi#w#vi&s#vi!x#vi!n#vi!q#vi#X#vi!}#vi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#xi#u#xi#w#xi&s#xi!x#xi!n#xi!q#xi#X#xi!}#xi~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq#u!uq#w!uq&s!uq!x!uq!n!uq!q!uq#X!uq!}!uq~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pq!S#Pq!b#Pq!m#Pq#u#Pq#w#Pq&s#Pq!x#Pq!n#Pq!q#Pq#X#Pq!}#Pq~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jq#u$jq#w$jq&s$jq!x$jq!n$jq!q$jq#X$jq!}$jq~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy#u!uy#w!uy&s!uy!x!uy!n!uy!q!uy#X!uy!}!uy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jy#u$jy#w$jy&s$jy!x$jy!n$jy!q$jy#X$jy!}$jy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!R#u$j!R#w$j!R&s$j!R!x$j!R!n$j!R!q$j!R#X$j!R!}$j!R~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!Z#u$j!Z#w$j!Z&s$j!Z!x$j!Z!n$j!Z!q$j!Z#X$j!Z!}$j!Z~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!c#u$j!c#w$j!c&s$j!c!x$j!c!n$j!c!q$j!c#X$j!c!}$j!c~P!'WOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S3vO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lO#u2uO#w2vO!q&zX#X&zX!}&zX~P0rOP6]OU^O[4POo8^Or2wOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S2tO#U2sO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!v#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX&s#xX!x#xX!n#xX!q#xX#X#xX!}#xX~P$;lOP6]OU^O[4POo8^Or4xOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S4uO#U4tO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!o#xX!v#xX!}#xX#O#xX#X#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!m#xX&s#xX!x#xX!n#xXV#xX!q#xX~P$;lO!q3PO~P>UO!q5}O#O3gO~OT8vOz8tO!S8wO!b8xO!q3hO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q6OO#O3kO~O!q6PO#O3oO~O#O3oO#l'SO~O#O3pO#l'SO~O#O3sO#l'SO~OP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$l$tO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S5eO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Xa#O$Xa#X$Xa#u$Xa#w$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Ya#O$Ya#X$Ya#u$Ya#w$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Za#O$Za#X$Za#u$Za#w$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$[a#O$[a#X$[a#u$[a#w$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz4dO!}$[a#O$[a#X$[a#u$[a#w$[aV$[a!q$[a~PNyOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$_a#O$_a#X$_a#u$_a#w$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$|a#O$|a#X$|a#u$|a#w$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#Ta#O#Ta#X#Ta#u#Ta#w#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'Pa#O'Pa#X'Pa#u'Pa#w'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi#u#Pi#w#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi#u#vi#w#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#xi#O#xi#X#xi#u#xi#w#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq#u!uq#w!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq#u#Pq#w#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jq#O$jq#X$jq#u$jq#w$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy#u!uy#w!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jy#O$jy#X$jy#u$jy#w$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!R#O$j!R#X$j!R#u$j!R#w$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!Z#O$j!Z#X$j!Z#u$j!Z#w$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!c#O$j!c#X$j!c#u$j!c#w$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S5wO~P#.YO!y$hO#S5{O~O!x4ZO#l'SO~O!y$hO#S5|O~OT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$ka#O$ka#X$ka#u$ka#w$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O5vO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!m'PX#u'PX#w'PX&s'PX!x'PX!n'PX!q'PX#X'PX!}'PX~P!'WO#u4vO#w4wO!}&zX#O&zX#X&zXV&zX!q&zX~P0rO!q5QO~P>UO!q8bO#O5hO~OT8vOz8tO!S8wO!b8xO!q5iO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q8cO#O5lO~O!q8dO#O5pO~O#O5pO#l'SO~O#O5qO#l'SO~O#O5tO#l'SO~O$l$tO~P9yOo5zOs$lO~O#S7oO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Xa#O$Xa#X$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Ya#O$Ya#X$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Za#O$Za#X$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$[a#O$[a#X$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz6gO!}$[a#O$[a#X$[aV$[a!q$[a~PNyOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$_a#O$_a#X$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$ka#O$ka#X$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$|a#O$|a#X$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7sO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'jX~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7uO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&|X~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WO#S7zO~P>UO!m#Ta&s#Ta!x#Ta!n#Ta~PCqO!m'Pa&s'Pa!x'Pa!n'Pa~PCqO#S;dO#U;cO!x&WX!}&WX~P9yO!}7lO!x'Oa~Oz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#xi#O#xi#X#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WO!}7sO!x%da~O!x&UX!}&UX~P>UO!}7uO!x&|a~Oz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vi!}#Vi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jq#O$jq#X$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&ka!}&ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&Ua!}&Ua~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vq!}#Vq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jy#O$jy#X$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!R#O$j!R#X$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!Z#O$j!Z#X$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!c#O$j!c#X$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S8[O~P9yO#O8ZO!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~PGSO!y$hO#S8`O~O!y$hO#S8aO~O#u6zO#w6{O!}&zX#O&zX#X&zXV&zX!q&zX~P0rOr6|O#S#oO#U#nO!}#xX#O#xX#X#xXV#xX!q#xX~P2yOr;iO#S9XO#U9VOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!n#xX!}#xX~P9yOr9WO#S9WO#U9WOT#xXz#xX!S#xX!b#xX!o#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX~P9yOr9]O#S;dO#U;cOT#xXz#xX!S#xX!b#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX#X#xX!x#xX!}#xX~P9yO$l$tO~P>UO!q7XO~P>UOT6iOz6gO!S6jO!b6kO!v8sO#O7iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'PX!}'PX~P!'WOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lO!}7lO!x'OX~O#S9yO~P>UOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Xa#X$Xa!x$Xa!}$Xa~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Ya#X$Ya!x$Ya!}$Ya~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Za#X$Za!x$Za!}$Za~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$[a#X$[a!x$[a!}$[a~P!'WOz8tO$z#dOT$[a!S$[a!b$[a!q$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a#X$[a!x$[a!}$[a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$_a#X$_a!x$_a!}$_a~P!'WO!q=dO#O7rO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$ka#X$ka!x$ka!}$ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$|a#X$|a!x$|a!}$|a~P!'WOT8vOz8tO!S8wO!b8xO!q7wO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi#X#yi!x#yi!}#yi~P!'WOz8tO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pi!S#Pi!b#Pi!q#Pi#X#Pi!x#Pi!}#Pi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#vi!S#vi!b#vi!q#vi#X#vi!x#vi!}#vi~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q#xi#X#xi!x#xi!}#xi~P!'WO!q=eO#O7|O~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uq!S!uq!b!uq!q!uq!v!uq#X!uq!x!uq!}!uq~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pq!S#Pq!b#Pq!q#Pq#X#Pq!x#Pq!}#Pq~P!'WO!q=iO#O8TO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jq#X$jq!x$jq!}$jq~P!'WO#O8TO#l'SO~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uy!S!uy!b!uy!q!uy!v!uy#X!uy!x!uy!}!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jy#X$jy!x$jy!}$jy~P!'WO#O8UO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!R#X$j!R!x$j!R!}$j!R~P!'WO#O8XO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!Z#X$j!Z!x$j!Z!}$j!Z~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!c#X$j!c!x$j!c!}$j!c~P!'WO#S:bO~P>UO#O:aO!q'PX!x'PX~PGSO$l$tO~P$8YOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$l$tO$z:nO${!OO~P$;lOo8_Os$lO~O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#S=UO#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOT6iOz6gO!S6jO!b6kO!v8sO#O=SO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O=RO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX!q'PX!n'PX!}'PX~P!'WOT&zXz&zX!S&zX!b&zX!o&zX!q&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX!}&zX~O#u9ZO#w9[O#X&zX!x&zX~P.8oO!y$hO#S=^O~O!q9hO~P>UO!y$hO#S=cO~O!q>OO#O9}O~OT8vOz8tO!S8wO!b8xO!q:OO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m#Ta!q#Ta!n#Ta!}#Ta~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m'Pa!q'Pa!n'Pa!}'Pa~P!'WO!q>PO#O:RO~O!q>QO#O:YO~O#O:YO#l'SO~O#O:ZO#l'SO~O#O:_O#l'SO~O#u;eO#w;gO!m&zX!n&zX~P.8oO#u;fO#w;hOT&zXz&zX!S&zX!b&zX!o&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX~O!q;tO~P>UO!q;uO~P>UO!q>XO#OYO#O9WO~OT8vOz8tO!S8wO!b8xO!qZO#O[O#O<{O~O#O<{O#l'SO~O#O9WO#l'SO~O#O<|O#l'SO~O#O=PO#l'SO~O!y$hO#S=|O~Oo=[Os$lO~O!y$hO#S=}O~O!y$hO#S>UO~O!y$hO#S>VO~O!y$hO#S>WO~Oo={Os$lO~Oo>TOs$lO~Oo>SOs$lO~O%O$U$}$d!d$V#b%V#e'g!s#d~",goto:"%&y'mPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP'nP'uPP'{(OPPP(hP(OP(O*ZP*ZPP2W:j:mPP*Z:sBpPBsPBsPP:sCSCVCZ:s:sPPPC^PP:sK^!$S!$S:s!$WP!$W!$W!%UP!.]!7pP!?oP*ZP*Z*ZPPPPP!?rPPPPPPP*Z*Z*Z*ZPP*Z*ZP!E]!GRP!GV!Gy!GR!GR!HP*Z*ZP!HY!Hl!Ib!J`!Jd!J`!Jo!J}!J}!KV!KY!KY*ZPP*ZPP!K^#%[#%[#%`P#%fP(O#%j(O#&S#&V#&V#&](O#&`(O(O#&f#&i(O#&r#&u(O(O(O(O(O#&x(O(O(O(O(O(O(O(O(O#&{!KR(O(O#'_#'o#'r(O(OP#'u#'|#(S#(o#(y#)P#)Z#)b#)h#*d#4X#5T#5Z#5a#5k#5q#5w#6]#6c#6i#6o#6u#6{#7R#7]#7g#7m#7s#7}PPPPPPPP#8T#8X#8}#NO#NR#N]$(f$(r$)X$)_$)b$)e$)k$,X$5v$>_$>b$>h$>k$>n$>w$>{$?X$?k$Bk$CO$C{$K{PP%%y%%}%&Z%&p%&vQ!nQT!qV!rQUOR%x!mRVO}!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a|!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ%^!ZQ%g!aQ%l!eQ'd$dQ'q$iQ)[%kQ*y'tQ,](xU-n*v*x+OQ.W+cQ.{,[S/t-s-tQ0T.SS0}/s/wQ1V0RQ1o1OR2P1p0u!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3ZfPVX[_bgjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#}$R$S$U$h$y$}%P%R%S%T%U%c%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)_)c)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3scPVX[_bdegjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#{#}$R$S$U$h$y$}%P%R%S%T%U%c%m%n%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)^)_)c)g)h)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u,x-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2W2X2Y2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[0phPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0`0a0d0e0i0v1R1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uRS=p>S>VS=s>T>UR=t>WT'n$h*s!csPVXt!S!j!r!s!w$h$}%P%S%U'i(T(`)W*s+]+g+r+u,g,k.b.d.l0`0a0i1aQ$^rR*`'^Q*x'sQ-t*{R/w-wQ(W$tQ)U%hQ)n%vQ*i'fQ+k(XR-c*jQ(V$tQ)Y%jQ)m%vQ*e'eS*h'f)nS+j(W(XS-b*i*jQ.]+kQ/T,mQ/e-`R/g-cQ(U$tQ)T%hQ)V%iQ)l%vU*g'f)m)nU+i(V(W(XQ,f)UU-a*h*i*jS.[+j+kS/f-b-cQ0X.]R0t/gT+e(T+g[%e!_$b'c+a.R0QR,d)Qb$ov(T+[+]+`+g.P.Q0PR+T'{S+e(T+gT,j)W,kR0W.XT1[0V1]0w|PVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X,_-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[R2Y2X|tPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aW$`t'i+],gS'i$h*sS+](T+gT,g)W,kQ'_$^R*a'_Q*t'oR-m*tQ/p-oS0{/p0|R0|/qQ-}+XR/|-}Q+g(TR.Y+gS+`(T+gS,h)W,kQ.Q+]W.T+`,h.Q/OR/O,gQ)R%eR,e)RQ'|$oR+U'|Q1]0VR1w1]Q${{R(^${Q+t(aR.c+tQ+w(bR.g+wQ+}(cQ,P(dT.m+},PQ(|%`S,a(|7tR7t7VQ(y%^R,^(yQ,k)WR/R,kQ)`%oS,q)`/WR/W,rQ,v)dR/^,vT!uV!rj!iPVX!j!r!s!w(`+r.l0`0a1aQ%Q!SQ(a$}W(h%P%S%U0iQ.e+uQ0Z.bR0[.d|ZPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ#f[U#m_#s&wQ#wbQ$VkQ$WlQ$XmQ$YnQ$ZoQ$[pQ$sx^$uy2_4b6e8q:m:nQ$vzQ%W!WQ%Y!XQ%[!YW%`!]%R(l,VU%s!g&p-RQ%|!yQ&O!zQ&Q!{S&U!})v^&^#R2a4d6g8t:p:qQ&_#SQ&`#TQ&a#UQ&b#VQ&c#WQ&d#XQ&e#YQ&f#ZQ&g#[Q&h#]Q&i#^Q&j#_Q&k#`Q&l#aQ&m#bQ&u#nQ&v#oS&{#t'OQ'X$RQ'Z$SQ'[$UQ(]$yQ(p%TQ)q%}Q)s&SQ)u&WQ*O&tS*['U4ZQ*^'Y^*_2[3u5v8Z:a=R=SQ+S'zQ+V(OQ,`({Q,c)PQ,y)iQ,{)pQ,})tQ-V*PQ-W*TQ-X*U^-]2]3v5w8[:b=T=UQ-i*oQ-x+PQ.k+zQ.w,XQ/`-QQ/h-dQ/n-kQ/y-zQ0r/cQ0u/iQ0x/mQ1Q/xU1X0V1]9WQ1d0eQ1m0vQ1q1RQ2Z2^Q2qjQ2r3yQ2x3zQ2y3|Q2z4OQ2{4QQ2|4SQ2}4UQ3O2`Q3Q2bQ3R2cQ3S2dQ3T2eQ3U2fQ3V2gQ3W2hQ3X2iQ3Y2jQ3Z2kQ3[2lQ3]2mQ3^2nQ3_2oQ3`2pQ3a2sQ3b2tQ3c2uQ3e2vQ3f2wQ3i3PQ3j3dQ3l3gQ3m3hQ3n3kQ3q3oQ3r3pQ3t3sQ4Y4WQ4y3{Q4z3}Q4{4PQ4|4RQ4}4TQ5O4VQ5P4cQ5R4eQ5S4fQ5T4gQ5U4hQ5V4iQ5W4jQ5X4kQ5Y4lQ5Z4mQ5[4nQ5]4oQ5^4pQ5_4qQ5`4rQ5a4sQ5b4tQ5c4uQ5d4vQ5f4wQ5g4xQ5j5QQ5k5eQ5m5hQ5n5iQ5o5lQ5r5pQ5s5qQ5u5tQ6Q4aQ6R3xQ6V6TQ6}6^Q7O6_Q7P6`Q7Q6aQ7R6bQ7S6cQ7T6dQ7U6fU7V,T.t0dQ7W%cQ7Y6hQ7Z6iQ7[6jQ7]6kQ7^6lQ7_6mQ7`6nQ7a6oQ7b6pQ7c6qQ7d6rQ7e6sQ7f6tQ7g6uQ7h6vQ7j6xQ7k6yQ7n6zQ7p6{Q7q6|Q7x7XQ7y7iQ7{7oQ7}7rQ8O7sQ8P7uQ8Q7wQ8R7zQ8S7|Q8V8TQ8W8UQ8Y8XQ8]8fU9U#k&s7lQ9^8jQ9_8kQ9`8lQ9a8mQ9b8nQ9c8oQ9e8pQ9f8rQ9g8sQ9i8uQ9j8vQ9k8wQ9l8xQ9m8yQ9n8zQ9o8{Q9p8|Q9q8}Q9r9OQ9s9PQ9t9QQ9u9RQ9v9SQ9w9TQ9x9ZQ9z9[Q9{9]Q:P9hQ:Q9yQ:T9}Q:V:OQ:W:RQ:[:YQ:^:ZQ:`:_Q:c8iQ;j:dQ;k:eQ;l:fQ;m:gQ;n:hQ;o:iQ;p:jQ;q:kQ;r:lQ;s:oQ;v:rQ;w:sQ;x:tQ;y:uQ;z:vQ;{:wQ;|:xQ;}:yQOQ=h>PQ=j>QQ=u>XQ=v>YQ=w>ZR=x>[0t!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[S$]r'^Q%k!eS%o!f%rQ)b%pU+X(R(S+dQ,p)_Q,t)cQ/Z,uQ/{-|R0p/[|vPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a#U#i[bklmnopxyz!W!X!Y!{#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b$R$S$U$y%}&S'Y(O)p+P-z/x0e1R2[2]6x6yd+^(T)W+]+`+g,g,h,k.Q/O!t6w'U2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3z3|4O4Q4S4U5v5w!x;b3u3v3x3y3{3}4P4R4T4V4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t$O=z_j!]!g#k#n#o#s#t%R%T&p&s&t&w'O'z(l({)P)i*P*U,V,X-R6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6z6{6|7X7l7o7r7w7|8T8U8X8Z8[8f8g8h8i#|>]!y!z!}%c&W)t)v*T*o,T-d-k.t/c/i/m0d0v4W6T7i7s7u7z8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v>^+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["isolate",-4,66,67,70,191,""],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[LO],skippedNodes:[0],repeatNodeCount:29,tokenData:"!F|_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9W!e!}!7z!}#O!;^#O#P!;z#P#Q!V<%lO8VR9WV&wP%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ9rV%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ:^O%VQQ:aRO;'S9m;'S;=`:j;=`O9mQ:oW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l9m<%lO9mQ;[P;=`<%l9mR;fV&wP%VQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRV<%l~8V~O8V~~%fR=OW&wPOY8VYZ9PZ!^8V!^!_;{!_;'S8V;'S;=`=h;=`<%l9m<%lO8VR=mW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l8V<%lO9mR>YP;=`<%l8VR>dV!yQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV?QV!xU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR?nY&wP$VQOY$zYZ%fZz$zz{@^{!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR@eW$WQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRAUY$TQ&wPOY$zYZ%fZ{$z{|At|!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRA{V$zQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRBiV!}Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_CXZ$TQ%TW&wPOY$zYZ%fZ}$z}!OAt!O!^$z!^!_%k!_!`6U!`!aCz!a;'S$z;'S;=`&W<%lO$zVDRV#`U&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVDo[&wP$UQOY$zYZ%fZ!O$z!O!PEe!P!Q$z!Q![Fs![!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVEjX&wPOY$zYZ%fZ!O$z!O!PFV!P!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVF^V#UU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRFz_&wP%OQOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#SJc#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zRHO]&wPOY$zYZ%fZ{$z{|Hw|}$z}!OHw!O!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRH|X&wPOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRIpZ&wP%OQOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_#R$z#R#SHw#S;'S$z;'S;=`&W<%lO$zRJhX&wPOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVK[[&wP$VQOY$zYZ%fZz$zz{LQ{!P$z!P!Q,o!Q!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVLVX&wPOYLQYZLrZzLQz{N_{!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQVLwT&wPOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMZTOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMmVOzMWz{Mj{!PMW!P!QNS!Q;'SMW;'S;=`NX<%lOMWUNXO!eUUN[P;=`<%lMWVNdZ&wPOYLQYZLrZzLQz{N_{!PLQ!P!Q! V!Q!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQV! ^V!eU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV! vZOYLQYZLrZzLQz{N_{!aLQ!a!bMW!b;'SLQ;'S;=`!!i<%l~LQ~OLQ~~%fV!!lP;=`<%lLQZ!!vm&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!d$z!d!e!&o!e!g$z!g!hGy!h!q$z!q!r!(a!r!z$z!z!{!){!{#R$z#R#S!%}#S#U$z#U#V!&o#V#X$z#X#YGy#Y#c$z#c#d!(a#d#l$z#l#m!){#m;'S$z;'S;=`&W<%lO$zZ!$xa&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#S!%}#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zZ!&SX&wPOY$zYZ%fZ!Q$z!Q![!$q![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!&tY&wPOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!'k[&wP$}YOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_#R$z#R#S!&o#S;'S$z;'S;=`&W<%lO$zZ!(fX&wPOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!)YZ&wP$}YOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_#R$z#R#S!(a#S;'S$z;'S;=`&W<%lO$zZ!*Q]&wPOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zZ!+Q_&wP$}YOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#R$z#R#S!){#S#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zR!,WX!qQ&wPOY$zYZ%fZ![$z![!]!,s!]!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!,zV#sQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!-hV!mU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!.S[$RQOY$zYZ%fZ!^$z!^!_!.x!_!`!/i!`!a*c!a!b!0]!b;'S$z;'S;=`&W<%l~$z~O$z~~%fR!/PW$SQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!/pX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a*c!a;'S$z;'S;=`&W<%lO$zP!0bR!iP!_!`!0k!r!s!0p#d#e!0pP!0pO!iPP!0sQ!j!k!0y#[#]!0yP!0|Q!r!s!0k#d#e!0kV!1ZX#uQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`)r!`!a!1v!a;'S$z;'S;=`&W<%lO$zV!1}V#OU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!2kX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`!3W!`!a!.x!a;'S$z;'S;=`&W<%lO$zR!3_V$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!3{[!vQ&wPOY$zYZ%fZ}$z}!O!4q!O!^$z!^!_%k!_!`$z!`!a!6P!a!b!6m!b;'S$z;'S;=`&W<%lO$zV!4vX&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a!5c!a;'S$z;'S;=`&W<%lO$zV!5jV#aU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!6WV!gU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!6tW#zQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!7eV$]Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!8Ra&wP!s^OY$zYZ%fZ!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$z_!9_e&wP!s^OY$zYZ%fZr$zrs!:psw$zwx8Vx!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$zR!:wV&wP'gQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!;eV#WU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!mZ!^!=u!^!_!@u!_#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%lO!=uR!>rV&wPO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?[VO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?tRO;'S!?X;'S;=`!?};=`O!?XQ!@QWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!?X<%lO!?XQ!@oO${QQ!@rP;=`<%l!?XR!@x]OY!=uYZ!>mZ!a!=u!a!b!?X!b#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%l~!=u~O!=u~~%fR!AvW&wPOY!=uYZ!>mZ!^!=u!^!_!@u!_;'S!=u;'S;=`!B`;=`<%l!?X<%lO!=uR!BcWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!=u<%lO!?XR!CSV${Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!ClP;=`<%l!=uV!CvV!oU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!DfY#}Q#lS&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EU#q;'S$z;'S;=`&W<%lO$zR!E]V#{Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!EyV!nQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FgV$^Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[EO,CO,NO,0,1,2,3,IO],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get:(O,Q)=>d(O)<<1,external:d},{term:81,get:O=>AO[O]||-1}],tokenPrec:29354}),KO=l.define({name:"php",parser:HO.configure({props:[x.add({IfStatement:W({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:W({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),y=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:y?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":R({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:W({except:/^({|end(for|foreach|switch|while)\b)/})}),V.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":r,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function MO(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let y=U({matchClosingTags:!1});Q.push(y.support),i=y.language}return new v(KO.configure({wrap:i&&u(y=>y.type.isTop?{parser:i.parser,overlay:z=>z.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{MO as php,KO as phpLanguage}; +import{b as S,s as o,t as $,d as t,L as l,i as x,c as W,k as R,f as V,l as r,r as U,a as v,u}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const b=1,m=2,p=263,k=3,c=264,s=265,Y=266,Z=4,w=5,_=6,h=7,X=8,j=9,f=10,G=11,g=12,E=13,I=14,N=15,F=16,C=17,L=18,A=19,H=20,K=21,D=22,B=23,M=24,J=25,OO=26,$O=27,QO=28,iO=29,yO=30,aO=31,zO=32,SO=33,PO=34,WO=35,eO=36,TO=37,sO=38,XO=39,dO=40,nO=41,qO=42,oO=43,tO=44,lO=45,xO=46,RO=47,VO=48,rO=49,UO=50,vO=51,uO=52,bO=53,mO=54,pO=55,kO=56,cO=57,YO=58,ZO=59,wO=60,_O=61,e=62,hO=63,jO=64,fO=65,GO={abstract:Z,and:w,array:_,as:h,true:X,false:X,break:j,case:f,catch:G,clone:g,const:E,continue:I,declare:F,default:N,do:C,echo:L,else:A,elseif:H,enddeclare:K,endfor:D,endforeach:B,endif:M,endswitch:J,endwhile:OO,enum:$O,extends:QO,final:iO,finally:yO,fn:aO,for:zO,foreach:SO,from:PO,function:WO,global:eO,goto:TO,if:sO,implements:XO,include:dO,include_once:nO,instanceof:qO,insteadof:oO,interface:tO,list:lO,match:xO,namespace:RO,new:VO,null:rO,or:UO,print:vO,require:uO,require_once:bO,return:mO,switch:pO,throw:kO,trait:cO,try:YO,unset:ZO,use:wO,var:_O,public:e,private:e,protected:e,while:hO,xor:jO,yield:fO,__proto__:null};function d(O){let Q=GO[O.toLowerCase()];return Q??-1}function n(O){return O==9||O==10||O==13||O==32}function q(O){return O>=97&&O<=122||O>=65&&O<=90}function a(O){return O==95||O>=128||q(O)}function T(O){return O>=48&&O<=55||O>=97&&O<=102||O>=65&&O<=70}const gO={int:!0,integer:!0,bool:!0,boolean:!0,float:!0,double:!0,real:!0,string:!0,array:!0,object:!0,unset:!0,__proto__:null},EO=new S(O=>{if(O.next==40){O.advance();let Q=0;for(;n(O.peek(Q));)Q++;let i="",y;for(;q(y=O.peek(Q));)i+=String.fromCharCode(y),Q++;for(;n(O.peek(Q));)Q++;O.peek(Q)==41&&gO[i.toLowerCase()]&&O.acceptToken(b)}else if(O.next==60&&O.peek(1)==60&&O.peek(2)==60){for(let y=0;y<3;y++)O.advance();for(;O.next==32||O.next==9;)O.advance();let Q=O.next==39;if(Q&&O.advance(),!a(O.next))return;let i=String.fromCharCode(O.next);for(;O.advance(),!(!a(O.next)&&!(O.next>=48&&O.next<=55));)i+=String.fromCharCode(O.next);if(Q){if(O.next!=39)return;O.advance()}if(O.next!=10&&O.next!=13)return;for(;;){let y=O.next==10||O.next==13;if(O.advance(),O.next<0)return;if(y){for(;O.next==32||O.next==9;)O.advance();let z=!0;for(let P=0;P{O.next<0&&O.acceptToken(Y)}),NO=new S((O,Q)=>{O.next==63&&Q.canShift(s)&&O.peek(1)==62&&O.acceptToken(s)});function FO(O){let Q=O.peek(1);if(Q==110||Q==114||Q==116||Q==118||Q==101||Q==102||Q==92||Q==36||Q==34||Q==123)return 2;if(Q>=48&&Q<=55){let i=2,y;for(;i<5&&(y=O.peek(i))>=48&&y<=55;)i++;return i}if(Q==120&&T(O.peek(2)))return T(O.peek(3))?4:3;if(Q==117&&O.peek(2)==123)for(let i=3;;i++){let y=O.peek(i);if(y==125)return i==2?0:i+1;if(!T(y))break}return 0}const CO=new S((O,Q)=>{let i=!1;for(;!(O.next==34||O.next<0||O.next==36&&(a(O.peek(1))||O.peek(1)==123)||O.next==123&&O.peek(1)==36);i=!0){if(O.next==92){let y=FO(O);if(y){if(i)break;return O.acceptToken(k,y)}}else if(!i&&(O.next==91||O.next==45&&O.peek(1)==62&&a(O.peek(2))||O.next==63&&O.peek(1)==45&&O.peek(2)==62&&a(O.peek(3)))&&Q.canShift(c))break;O.advance()}i&&O.acceptToken(p)}),LO=o({"Visibility abstract final static":$.modifier,"for foreach while do if else elseif switch try catch finally return throw break continue default case":$.controlKeyword,"endif endfor endforeach endswitch endwhile declare enddeclare goto match":$.controlKeyword,"and or xor yield unset clone instanceof insteadof":$.operatorKeyword,"function fn class trait implements extends const enum global interface use var":$.definitionKeyword,"include include_once require require_once namespace":$.moduleKeyword,"new from echo print array list as":$.keyword,null:$.null,Boolean:$.bool,VariableName:$.variableName,"NamespaceName/...":$.namespace,"NamedType/...":$.typeName,Name:$.name,"CallExpression/Name":$.function($.variableName),"LabelStatement/Name":$.labelName,"MemberExpression/Name":$.propertyName,"MemberExpression/VariableName":$.special($.propertyName),"ScopedExpression/ClassMemberName/Name":$.propertyName,"ScopedExpression/ClassMemberName/VariableName":$.special($.propertyName),"CallExpression/MemberExpression/Name":$.function($.propertyName),"CallExpression/ScopedExpression/ClassMemberName/Name":$.function($.propertyName),"MethodDeclaration/Name":$.function($.definition($.variableName)),"FunctionDefinition/Name":$.function($.definition($.variableName)),"ClassDeclaration/Name":$.definition($.className),UpdateOp:$.updateOperator,ArithOp:$.arithmeticOperator,LogicOp:$.logicOperator,BitOp:$.bitwiseOperator,CompareOp:$.compareOperator,ControlOp:$.controlOperator,AssignOp:$.definitionOperator,"$ ConcatOp":$.operator,LineComment:$.lineComment,BlockComment:$.blockComment,Integer:$.integer,Float:$.float,String:$.string,ShellExpression:$.special($.string),"=> ->":$.punctuation,"( )":$.paren,"#[ [ ]":$.squareBracket,"${ { }":$.brace,"-> ?->":$.derefOperator,", ; :: : \\":$.separator,"PhpOpen PhpClose":$.processingInstruction}),AO={__proto__:null,static:311,STATIC:311,class:333,CLASS:333},HO=t.deserialize({version:14,states:"$GSQ`OWOOQhQaOOP%oO`OOOOO#t'#H_'#H_O%tO#|O'#DtOOO#u'#Dw'#DwQ&SOWO'#DwO&XO$VOOOOQ#u'#Dx'#DxO&lQaO'#D|O(mQdO'#E}O(tQdO'#EQO*kQaO'#EWO,zQ`O'#ETO-PQ`O'#E^O/nQaO'#E^O/uQ`O'#EfO/zQ`O'#EoO*kQaO'#EoO0VQ`O'#HhO0[Q`O'#E{O0[Q`O'#E{OOQS'#Ic'#IcO0aQ`O'#EvOOQS'#IZ'#IZO2oQdO'#IWO6tQeO'#FUO*kQaO'#FeO*kQaO'#FfO*kQaO'#FgO*kQaO'#FhO*kQaO'#FhO*kQaO'#FkOOQO'#Id'#IdO7RQ`O'#FqOOQO'#Hi'#HiO7ZQ`O'#HOO7uQ`O'#FlO8QQ`O'#H]O8]Q`O'#FvO8eQaO'#FwO*kQaO'#GVO*kQaO'#GYO8}OrO'#G]OOQS'#Iq'#IqOOQS'#Ip'#IpOOQS'#IW'#IWO,zQ`O'#GdO,zQ`O'#GfO,zQ`O'#GkOhQaO'#GmO9UQ`O'#GnO9ZQ`O'#GqO9`Q`O'#GtO9eQeO'#GuO9eQeO'#GvO9eQeO'#GwO9oQ`O'#GxO9tQ`O'#GzO9yQaO'#G{OS,5>SOJ[QdO,5;gOOQO-E;f-E;fOL^Q`O,5;gOLcQpO,5;bO0aQ`O'#EyOLkQtO'#E}OOQS'#Ez'#EzOOQS'#Ib'#IbOM`QaO,5:wO*kQaO,5;nOOQS,5;p,5;pO*kQaO,5;pOMgQdO,5UQaO,5=hO!-eQ`O'#F}O!-jQdO'#IlO!&WQdO,5=iOOQ#u,5=j,5=jO!-uQ`O,5=lO!-xQ`O,5=mO!-}Q`O,5=nO!.YQdO,5=qOOQ#u,5=q,5=qO!.eQ`O,5=rO!.eQ`O,5=rO!.mQdO'#IwO!.{Q`O'#HXO!&WQdO,5=rO!/ZQ`O,5=rO!/fQdO'#IYO!&WQdO,5=vOOQ#u-E;_-E;_O!1RQ`O,5=kOOO#u,5:^,5:^O!1^O#|O,5:^OOO#u-E;^-E;^OOOO,5>p,5>pOOQ#y1G0S1G0SO!1fQ`O1G0XO*kQaO1G0XO!2xQ`O1G0pOOQS1G0p1G0pO!4[Q`O1G0pOOQS'#I_'#I_O*kQaO'#I_OOQS1G0q1G0qO!4cQ`O'#IaO!7lQ`O'#E}O!7yQaO'#EuOOQO'#Ia'#IaO!8TQ`O'#I`O!8]Q`O,5;_OOQS'#FQ'#FQOOQS1G1U1G1UO!8bQdO1G1]O!:dQdO1G1]O!wO#(fQaO'#HdO#(vQ`O,5>vOOQS1G0d1G0dO#)OQ`O1G0dO#)TQ`O'#I^O#*mQ`O'#I^O#*uQ`O,5;ROIbQaO,5;ROOQS1G0u1G0uPOQO'#E}'#E}O#+fQdO1G1RO0aQ`O'#HgO#-hQtO,5;cO#.YQaO1G0|OOQS,5;e,5;eO#0iQtO,5;gO#0vQdO1G0cO*kQaO1G0cO#2cQdO1G1YO#4OQdO1G1[OOQO,5<^,5<^O#4`Q`O'#HjO#4nQ`O,5?ROOQO1G1w1G1wO#4vQ`O,5?ZO!&WQdO1G3TO<_Q`O1G3TOOQ#u1G3U1G3UO#4{Q`O1G3YO!1RQ`O1G3VO#5WQ`O1G3VO#5]QpO'#FoO#5kQ`O'#FoO#5{Q`O'#FoO#6WQ`O'#FoO#6`Q`O'#FsO#6eQ`O'#FtOOQO'#If'#IfO#6lQ`O'#IeO#6tQ`O,5tOOQ#u1G3b1G3bOOQ#u1G3V1G3VO!-xQ`O1G3VO!1UQ`O1G3VOOO#u1G/x1G/xO*kQaO7+%sO#MuQdO7+%sOOQS7+&[7+&[O$ bQ`O,5>yO>UQaO,5;`O$ iQ`O,5;aO$#OQaO'#HfO$#YQ`O,5>zOOQS1G0y1G0yO$#bQ`O'#EYO$#gQ`O'#IXO$#oQ`O,5:sOOQS1G0e1G0eO$#tQ`O1G0eO$#yQ`O1G0iO9yQaO1G0iOOQO,5>O,5>OOOQO-E;b-E;bOOQS7+&O7+&OO>UQaO,5;SO$%`QaO'#HeO$%jQ`O,5>xOOQS1G0m1G0mO$%rQ`O1G0mOOQS,5>R,5>ROOQS-E;e-E;eO$%wQdO7+&hO$'yQtO1G1RO$(WQdO7+%}OOQS1G0i1G0iOOQO,5>U,5>UOOQO-E;h-E;hOOQ#u7+(o7+(oO!&WQdO7+(oOOQ#u7+(t7+(tO#KmQ`O7+(tO0aQ`O7+(tOOQ#u7+(q7+(qO!-xQ`O7+(qO!1UQ`O7+(qO!1RQ`O7+(qO$)sQ`O,5UQaO,5],5>]OOQS-E;o-E;oO$.iQdO7+'hO$.yQpO7+'hO$/RQdO'#IiOOQO,5dOOQ#u,5>d,5>dOOQ#u-E;v-E;vO$;lQaO7+(lO$cOOQS-E;u-E;uO!&WQdO7+(nO$=mQdO1G2TOOQS,5>[,5>[OOQS-E;n-E;nOOQ#u7+(r7+(rO$?nQ`O'#GQO$?uQ`O'#GQO$@ZQ`O'#HUOOQO'#Hy'#HyO$@`Q`O,5=oOOQ#u,5=o,5=oO$@gQpO7+(tOOQ#u7+(x7+(xO!&WQdO7+(xO$@rQdO,5>fOOQS-E;x-E;xO$AQQdO1G4}O$A]Q`O,5=tO$AbQ`O,5=tO$AmQ`O'#H{O$BRQ`O,5?dOOQS1G3_1G3_O#KrQ`O7+(xO$BZQdO,5=|OOQS-E;`-E;`O$CvQdO<Q,5>QOOQO-E;d-E;dO$8YQaO,5:tO$FxQaO'#HcO$GVQ`O,5>sOOQS1G0_1G0_OOQS7+&P7+&PO$G_Q`O7+&TO$HtQ`O1G0nO$JZQ`O,5>POOQO,5>P,5>POOQO-E;c-E;cOOQS7+&X7+&XOOQS7+&T7+&TOOQ#u<UQaO1G1uO$KsQ`O1G1uO$LOQ`O1G1yOOQO1G1y1G1yO$LTQ`O1G1uO$L]Q`O1G1uO$MrQ`O1G1zO>UQaO1G1zOOQO,5>V,5>VOOQO-E;i-E;iOOQS<`OOQ#u-E;r-E;rOhQaO<aOOQO-E;s-E;sO!&WQdO<g,5>gOOQO-E;y-E;yO!&WQdO<UQaO,5;TOOQ#uANAzANAzO#KmQ`OANAzOOQ#uANAwANAwO!-xQ`OANAwO%)vQ`O7+'aO>UQaO7+'aOOQO7+'e7+'eO%+]Q`O7+'aO%+hQ`O7+'eO>UQaO7+'fO%+mQ`O7+'fO%-SQ`O'#HlO%-bQ`O,5?SO%-bQ`O,5?SOOQO1G1{1G1{O$+qQpOAN@dOOQSAN@dAN@dO0aQ`OAN@dO%-jQtOANCgO%-xQ`OAN@dO*kQaOAN@nO%.QQdOAN@nO%.bQpOAN@nOOQS,5>X,5>XOOQS-E;k-E;kOOQO1G2U1G2UO!&WQdO1G2UO$/dQpO1G2UO<_Q`O1G2SO!.YQdO1G2WO!&WQdO1G2SOOQO1G2W1G2WOOQO1G2S1G2SO%.jQaO'#GSOOQO1G2X1G2XOOQSAN@oAN@oOOOQ<UQaO<W,5>WO%6wQ`O,5>WOOQO-E;j-E;jO%6|Q`O1G4nOOQSG26OG26OO$+qQpOG26OO0aQ`OG26OO%7UQdOG26YO*kQaOG26YOOQO7+'p7+'pO!&WQdO7+'pO!&WQdO7+'nOOQO7+'r7+'rOOQO7+'n7+'nO%7fQ`OLD+tO%8uQ`O'#E}O%9PQ`O'#IZO!&WQdO'#HrO%:|QaO,5^,5>^OOQP-E;p-E;pOOQO1G2Y1G2YOOQ#uLD,bLD,bOOQTG27RG27RO!&WQdOLD,xO!&WQdO<wO&EPQdO1G0cO#.YQaO1G0cO&F{QdO1G1YO&HwQdO1G1[O#.YQaO1G1|O#.YQaO7+%sO&JsQdO7+%sO&LoQdO7+%}O#.YQaO7+'hO&NkQdO7+'hO'!gQdO<lQdO,5>wO(@nQdO1G0cO'.QQaO1G0cO(BpQdO1G1YO(DrQdO1G1[O'.QQaO1G1|O'.QQaO7+%sO(FtQdO7+%sO(HvQdO7+%}O'.QQaO7+'hO(JxQdO7+'hO(LzQdO<wO*1sQaO'#HdO*2TQ`O,5>vO*2]QdO1G0cO9yQaO1G0cO*4XQdO1G1YO*6TQdO1G1[O9yQaO1G1|O>UQaO'#HwO*8PQ`O,5=[O*8XQaO'#HbO*8cQ`O,5>tO9yQaO7+%sO*8kQdO7+%sO*:gQ`O1G0iO>UQaO1G0iO*;|QdO7+%}O9yQaO7+'hO*=xQdO7+'hO*?tQ`O,5>cO*AZQ`O,5=|O*BpQdO<UQaO'#FeO>UQaO'#FfO>UQaO'#FgO>UQaO'#FhO>UQaO'#FhO>UQaO'#FkO+'XQaO'#FwO>UQaO'#GVO>UQaO'#GYO+'`QaO,5:mO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO>UQaO,5;qO+'gQ`O'#I]O$8YQaO'#EaO+)PQaOG26YO$8YQaO'#I]O+*{Q`O'#I[O++TQaO,5:wO>UQaO,5;nO>UQaO,5;pO++[Q`O,5UQaO1G0XO+9hQ`O1G1]O+;TQ`O1G1]O+]Q`O1G1]O+?xQ`O1G1]O+AeQ`O1G1]O+CQQ`O1G1]O+DmQ`O1G1]O+FYQ`O1G1]O+GuQ`O1G1]O+IbQ`O1G1]O+J}Q`O1G1]O+LjQ`O1G1]O+NVQ`O1G1]O, rQ`O1G1]O,#_Q`O1G0cO>UQaO1G0cO,$zQ`O1G1YO,&gQ`O1G1[O,(SQ`O1G1|O>UQaO1G1|O>UQaO7+%sO,([Q`O7+%sO,)wQ`O7+%}O>UQaO7+'hO,+dQ`O7+'hO,+lQ`O7+'hO,-XQpO7+'hO,-aQ`O<UQaO<UQaOAN@nO,0qQ`OAN@nO,2^QpOAN@nO,2fQ`OG26YO>UQaOG26YO,4RQ`OLD+tO,5nQaO,5:}O>UQaO1G0iO,5uQ`O'#I]O$8YQaO'#FeO$8YQaO'#FfO$8YQaO'#FgO$8YQaO'#FhO$8YQaO'#FhO+)PQaO'#FhO$8YQaO'#FkO,6SQaO'#FwO,6ZQaO'#FwO$8YQaO'#GVO+)PQaO'#GVO$8YQaO'#GYO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO$8YQaO,5;qO+)PQaO,5;qO,8YQ`O'#FlO>UQaO'#EaO>UQaO'#I]O,8bQaO,5:wO,8iQaO,5:wO$8YQaO,5;nO+)PQaO,5;nO$8YQaO,5;pO,:hQ`O,5wO-IcQ`O1G0cO-KOQ`O1G0cO$8YQaO1G0cO+)PQaO1G0cO-L_Q`O1G1YO-MzQ`O1G1YO. ZQ`O1G1[O$8YQaO1G1|O$8YQaO7+%sO+)PQaO7+%sO.!vQ`O7+%sO.$cQ`O7+%sO.%rQ`O7+%}O.'_Q`O7+%}O$8YQaO7+'hO.(nQ`O7+'hO.*ZQ`O<fQ`O,5>wO.@RQ`O1G1|O!%WQ`O1G1|O0aQ`O1G1|O0aQ`O7+'hO.@ZQ`O7+'hO.@cQpO7+'hO.@kQpO<UO#X&PO~P>UO!o&SO!s&RO#b&RO~OPgOQ|OU^OW}O[8lOo=yOs#hOx8jOy8jO}`O!O]O!Q8pO!R}O!T8oO!U8kO!V8kO!Y8rO!c8iO!s&VO!y[O#U&WO#W_O#bhO#daO#ebO#peO$T8nO$]8mO$^8nO$aqO$z8qO${!OO$}}O%O}O%V|O'g{O~O!x'SP~PAOO!s&[O#b&[O~OT#TOz#RO!S#UO!b#VO!o!{O!v!yO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO~O!x&nO~PCqO!x'VX!}'VX#O'VX#X'VX!n'VXV'VX!q'VX#u'VX#w'VXw'VX~P&sO!y$hO#S&oO~Oo$mOs$lO~O!o&pO~O!}&sO#S;dO#U;cO!x'OP~P9yOT6iOz6gO!S6jO!b6kO!o!{O!v8sO!y!}O#S#QO#W!zO#`!|O#a!|O#s#PO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'PX#X'PX~O#O&tO~PGSO!}&wO#X'OX~O#X&yO~O!}'OO!x'QP~P9yO!n'PO~PCqO!m#oa!o#oa#S#oa#p#qX&s#oa!x#oa#O#oaw#oa~OT#oaz#oa!S#oa!b#oa!v#oa!y#oa#W#oa#`#oa#a#oa#s#oa#z#oa#{#oa#|#oa#}#oa$O#oa$Q#oa$R#oa$S#oa$T#oa$U#oa$V#oa$W#oa$z#oa!}#oa#X#oa!n#oaV#oa!q#oa#u#oa#w#oa~PIpO!s'RO~O!x'UO#l'SO~O!x'VX#l'VX#p#qX#S'VX#U'VX#b'VX!o'VX#O'VXw'VX!m'VX&s'VX~O#S'YO~P*kO!m$Xa&s$Xa!x$Xa!n$Xa~PCqO!m$Ya&s$Ya!x$Ya!n$Ya~PCqO!m$Za&s$Za!x$Za!n$Za~PCqO!m$[a&s$[a!x$[a!n$[a~PCqO!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO$z#dOT$[a!S$[a!b$[a!m$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a&s$[a!x$[a!n$[a~Oz#RO~PNyO!m$_a&s$_a!x$_a!n$_a~PCqO!y!}O!}$fX#X$fX~O!}'^O#X'ZX~O#X'`O~O!s$kO#S'aO~O]'cO~O!s'eO~O!s'fO~O$l'gO~O!`'mO#S'kO#U'lO#b'jO$drO!x'XP~P0aO!^'sO!oXO!q'rO~O!s'uO!y$hO~O!y$hO#S'wO~O!y$hO#S'yO~O#u'zO!m$sX!}$sX&s$sX~O!}'{O!m'bX&s'bX~O!m#cO&s#cO~O!q(PO#O(OO~O!m$ka&s$ka!x$ka!n$ka~PCqOl(ROw(SO!o(TO!y!}O~O!o!{O!y!}O#W!zO#`!|O#a!|O#s#PO~OT$yaz$ya!S$ya!b$ya!m$ya!v$ya#S$ya#z$ya#{$ya#|$ya#}$ya$O$ya$Q$ya$R$ya$S$ya$T$ya$U$ya$V$ya$W$ya$z$ya&s$ya!x$ya!}$ya#O$ya#X$ya!n$ya!q$yaV$ya#u$ya#w$ya~P!'WO!m$|a&s$|a!x$|a!n$|a~PCqO#W([O#`(YO#a(YO&r(ZOR&gX!o&gX#b&gX#e&gX&q&gX'f&gX~O'f(_O~P8lO!q(`O~PhO!o(cO!q(dO~O!q(`O&s(gO~PhO!a(kO~O!m(lO~P9yOZ(wOn(xO~O!s(zO~OT6iOz6gO!S6jO!b6kO!v8sO!}({O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'jX&s'jX~P!'WO#u)PO~O!})QO!m'`X&s'`X~Ol(RO!o(TO~Ow(SO!o)WO!q)ZO~O!m#cO!oXO&s#cO~O!o%pO!s#yO~OV)aO!})_O!m'kX&s'kX~O])cOs)cO!s#gO#peO~O!o%pO!s#gO#p)hO~OT6iOz6gO!S6jO!b6kO!v8sO!})iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&|X&s&|X#O&|X~P!'WOl(ROw(SO!o(TO~O!i)oO&t)oO~OT8vOz8tO!S8wO!b8xO!q)pO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#X)rO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!n)rO~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'TX!}'TX~P!'WOT'VXz'VX!S'VX!b'VX!o'VX!v'VX!y'VX#S'VX#W'VX#`'VX#a'VX#p#qX#s'VX#z'VX#{'VX#|'VX#}'VX$O'VX$Q'VX$R'VX$S'VX$T'VX$U'VX$V'VX$W'VX$z'VX~O!q)tO!x'VX!}'VX~P!5xO!x#iX!}#iX~P>UO!})vO!x'SX~O!x)xO~O$z#dOT#yiz#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi$W#yi&s#yi!x#yi!}#yi#O#yi#X#yi!n#yi!q#yiV#yi#u#yi#w#yi~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi&s#yi!x#yi!n#yi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!b#VO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!m#yi&s#yi!x#yi!n#yi~P!'WOT#TOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dO!S#yi!b#yi!m#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi~P!'WOz#RO#S#QO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi~P!'WOz#RO$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi~P!'WOz#RO$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$S#_O$T#`O$V#bO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi~P!'WOz#RO$W#bO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi~P!'WO_)yO~P9yO!x)|O~O#S*PO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Ta#X#Ta#O#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}'Pa#X'Pa#O'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WO#S#oO#U#nO!}&WX#X&WX~P9yO!}&wO#X'Oa~O#X*SO~OT6iOz6gO!S6jO!b6kO!v8sO!}*UO#O*TO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'QX~P!'WO!}*UO!x'QX~O!x*WO~O!m#oi!o#oi#S#oi#p#qX&s#oi!x#oi#O#oiw#oi~OT#oiz#oi!S#oi!b#oi!v#oi!y#oi#W#oi#`#oi#a#oi#s#oi#z#oi#{#oi#|#oi#}#oi$O#oi$Q#oi$R#oi$S#oi$T#oi$U#oi$V#oi$W#oi$z#oi!}#oi#X#oi!n#oiV#oi!q#oi#u#oi#w#oi~P#*zO#l'SO!x#ka#S#ka#U#ka#b#ka!o#ka#O#kaw#ka!m#ka&s#ka~OPgOQ|OU^OW}O[4OOo5xOs#hOx3zOy3zO}`O!O]O!Q2^O!R}O!T4UO!U3|O!V3|O!Y2`O!c3xO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4SO$]4QO$^4SO$aqO$z2_O${!OO$}}O%O}O%V|O'g{O~O#l#oa#U#oa#b#oa~PIpOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pi!S#Pi!b#Pi!m#Pi&s#Pi!x#Pi!n#Pi~P!'WOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#vi!S#vi!b#vi!m#vi&s#vi!x#vi!n#vi~P!'WO!m#xi&s#xi!x#xi!n#xi~PCqO!s#gO#peO!}&^X#X&^X~O!}'^O#X'Za~O!s'uO~Ow(SO!o)WO!q*fO~O!s*jO~O#S*lO#U*mO#b*kO#l'SO~O#S*lO#U*mO#b*kO$drO~P0aO#u*oO!x$cX!}$cX~O#U*mO#b*kO~O#b*pO~O#b*rO~P0aO!}*sO!x'XX~O!x*uO~O!y*wO~O!^*{O!oXO!q*zO~O!q*}O!o'ci!m'ci&s'ci~O!q+QO#O+PO~O#b$nO!m&eX!}&eX&s&eX~O!}'{O!m'ba&s'ba~OT$kiz$ki!S$ki!b$ki!m$ki!o$ki!v$ki!y$ki#S$ki#W$ki#`$ki#a$ki#s$ki#u#fa#w#fa#z$ki#{$ki#|$ki#}$ki$O$ki$Q$ki$R$ki$S$ki$T$ki$U$ki$V$ki$W$ki$z$ki&s$ki!x$ki!}$ki#O$ki#X$ki!n$ki!q$kiV$ki~OS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n+hO#b$nO$aqO$drO~P0aO!s+lO~O#W+nO#`+mO#a+mO~O!s+pO#b+pO$}+pO%T+oO~O!n+qO~PCqOc%XXd%XXh%XXj%XXf%XXg%XXe%XX~PhOc+uOd+sOP%WiQ%WiS%WiU%WiW%WiX%Wi[%Wi]%Wi^%Wi`%Wia%Wib%Wik%Wim%Wio%Wip%Wiq%Wis%Wit%Wiu%Wiv%Wix%Wiy%Wi|%Wi}%Wi!O%Wi!P%Wi!Q%Wi!R%Wi!T%Wi!U%Wi!V%Wi!W%Wi!X%Wi!Y%Wi!Z%Wi![%Wi!]%Wi!^%Wi!`%Wi!a%Wi!c%Wi!m%Wi!o%Wi!s%Wi!y%Wi#W%Wi#b%Wi#d%Wi#e%Wi#p%Wi$T%Wi$]%Wi$^%Wi$a%Wi$d%Wi$l%Wi$z%Wi${%Wi$}%Wi%O%Wi%V%Wi&p%Wi'g%Wi&t%Wi!n%Wih%Wij%Wif%Wig%WiY%Wi_%Wii%Wie%Wi~Oc+yOd+vOh+xO~OY+zO_+{O!n,OO~OY+zO_+{Oi%^X~Oi,QO~Oj,RO~O!m,TO~P9yO!m,VO~Of,WO~OT6iOV,XOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOg,YO~O!y,ZO~OZ(wOn(xOP%liQ%liS%liU%liW%liX%li[%li]%li^%li`%lia%lib%lik%lim%lio%lip%liq%lis%lit%liu%liv%lix%liy%li|%li}%li!O%li!P%li!Q%li!R%li!T%li!U%li!V%li!W%li!X%li!Y%li!Z%li![%li!]%li!^%li!`%li!a%li!c%li!m%li!o%li!s%li!y%li#W%li#b%li#d%li#e%li#p%li$T%li$]%li$^%li$a%li$d%li$l%li$z%li${%li$}%li%O%li%V%li&p%li'g%li&t%li!n%lic%lid%lih%lij%lif%lig%liY%li_%lii%lie%li~O#u,_O~O!}({O!m%da&s%da~O!x,bO~O!s%dO!m&dX!}&dX&s&dX~O!})QO!m'`a&s'`a~OS+^OY,iOm+^Os$aO!^+dO!_+^O!`+^O$aqO$drO~O!n,lO~P#JwO!o)WO~O!o%pO!s'RO~O!s#gO#peO!m&nX!}&nX&s&nX~O!})_O!m'ka&s'ka~O!s,rO~OV,sO!n%|X!}%|X~O!},uO!n'lX~O!n,wO~O!m&UX!}&UX&s&UX#O&UX~P9yO!})iO!m&|a&s&|a#O&|a~Oz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq&s!uq!x!uq!n!uq~P!'WO!n,|O~PCqOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#ia!}#ia~P!'WO!x&YX!}&YX~PAOO!})vO!x'Sa~O#O-QO~O!}-RO!n&{X~O!n-TO~O!x-UO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vi#X#Vi~P!'WO!x&XX!}&XX~P9yO!}*UO!x'Qa~O!x-[O~OT#jqz#jq!S#jq!b#jq!m#jq!v#jq#S#jq#u#jq#w#jq#z#jq#{#jq#|#jq#}#jq$O#jq$Q#jq$R#jq$S#jq$T#jq$U#jq$V#jq$W#jq$z#jq&s#jq!x#jq!}#jq#O#jq#X#jq!n#jq!q#jqV#jq~P!'WO#l#oi#U#oi#b#oi~P#*zOz#RO!v!yO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT#Pq!S#Pq!b#Pq!m#Pq&s#Pq!x#Pq!n#Pq~P!'WO#u-dO!x$ca!}$ca~O#U-fO#b-eO~O#b-gO~O#S-hO#U-fO#b-eO#l'SO~O#b-jO#l'SO~O#u-kO!x$ha!}$ha~O!`'mO#S'kO#U'lO#b'jO$drO!x&_X!}&_X~P0aO!}*sO!x'Xa~O!oXO#l'SO~O#S-pO#b-oO!x'[P~O!oXO!q-rO~O!q-uO!o'cq!m'cq&s'cq~O!^-wO!oXO!q-rO~O!q-{O#O-zO~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$si!}$si&s$si~P!'WO!m$jq&s$jq!x$jq!n$jq~PCqO#O-zO#l'SO~O!}-|Ow']X!o']X!m']X&s']X~O#b$nO#l'SO~OS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO$drO~P0aOS+^O].ROm+^Os$aO!_+^O!`+^O#b$nO$aqO~P0aOS+^O]+aOm+^Os$aO!^+dO!_+^O!`+^O!n.ZO#b$nO$aqO$drO~P0aO!s.^O~O!s._O#b._O$}._O%T+oO~O$}.`O~O#X.aO~Oc%Xad%Xah%Xaj%Xaf%Xag%Xae%Xa~PhOc.dOd+sOP%WqQ%WqS%WqU%WqW%WqX%Wq[%Wq]%Wq^%Wq`%Wqa%Wqb%Wqk%Wqm%Wqo%Wqp%Wqq%Wqs%Wqt%Wqu%Wqv%Wqx%Wqy%Wq|%Wq}%Wq!O%Wq!P%Wq!Q%Wq!R%Wq!T%Wq!U%Wq!V%Wq!W%Wq!X%Wq!Y%Wq!Z%Wq![%Wq!]%Wq!^%Wq!`%Wq!a%Wq!c%Wq!m%Wq!o%Wq!s%Wq!y%Wq#W%Wq#b%Wq#d%Wq#e%Wq#p%Wq$T%Wq$]%Wq$^%Wq$a%Wq$d%Wq$l%Wq$z%Wq${%Wq$}%Wq%O%Wq%V%Wq&p%Wq'g%Wq&t%Wq!n%Wqh%Wqj%Wqf%Wqg%WqY%Wq_%Wqi%Wqe%Wq~Oc.iOd+vOh.hO~O!q(`O~OP6]OQ|OU^OW}O[:fOo>ROs#hOx:dOy:dO}`O!O]O!Q:kO!R}O!T:jO!U:eO!V:eO!Y:oO!c8gO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:hO$]:gO$^:hO$aqO$z:mO${!OO$}}O%O}O%V|O'g{O~O!m.lO!q.lO~OY+zO_+{O!n.nO~OY+zO_+{Oi%^a~O!x.rO~P>UO!m.tO~O!m.tO~P9yOQ|OW}O!R}O$}}O%O}O%V|O'g{O~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&ka!}&ka&s&ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m$qi!}$qi&s$qi~P!'WOS+^Om+^Os$aO!_+^O!`+^O$aqO$drO~OY/PO~P$?VOS+^Om+^Os$aO!_+^O!`+^O$aqO~O!s/QO~O!n/SO~P#JwOw(SO!o)WO#l'SO~OV/VO!m&na!}&na&s&na~O!})_O!m'ki&s'ki~O!s/XO~OV/YO!n%|a!}%|a~O]/[Os/[O!s#gO#peO!n&oX!}&oX~O!},uO!n'la~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m&Ua!}&Ua&s&Ua#O&Ua~P!'WOz#RO#S#QO#z#SO#{#WO#|#XO#}#YO$O#ZO$Q#]O$R#^O$S#_O$T#`O$U#aO$V#bO$W#bO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy&s!uy!x!uy!n!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#hi!}#hi~P!'WO_)yO!n&VX!}&VX~P9yO!}-RO!n&{a~OT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#Vq#X#Vq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#[i!}#[i~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O/cO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x&Xa!}&Xa~P!'WO#u/iO!x$ci!}$ci~O#b/jO~O#U/lO#b/kO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$ci!}$ci~P!'WO#u/mO!x$hi!}$hi~O!}/oO!x'[X~O#b/qO~O!x/rO~O!oXO!q/uO~O#l'SO!o'cy!m'cy&s'cy~O!m$jy&s$jy!x$jy!n$jy~PCqO#O/xO#l'SO~O!s#gO#peOw&aX!o&aX!}&aX!m&aX&s&aX~O!}-|Ow']a!o']a!m']a&s']a~OU$PO]0QO!R$PO!s$OO!v#}O#b$nO#p2XO~P$?uO!m#cO!o0VO&s#cO~O#X0YO~Oh0_O~OT:tOz:pO!S:vO!b:xO!m0`O!q0`O!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO~P!'WOY%]a_%]a!n%]ai%]a~PhO!x0bO~O!x0bO~P>UO!m0dO~OT6iOz6gO!S6jO!b6kO!v8sO!x0fO#O0eO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WO!x0fO~O!x0gO#b0hO#l'SO~O!x0iO~O!s0jO~O!m#cO#u0lO&s#cO~O!s0mO~O!})_O!m'kq&s'kq~O!s0nO~OV0oO!n%}X!}%}X~OT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!n!|i!}!|i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cq!}$cq~P!'WO#u0vO!x$cq!}$cq~O#b0wO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hq!}$hq~P!'WO#S0zO#b0yO!x&`X!}&`X~O!}/oO!x'[a~O#l'SO!o'c!R!m'c!R&s'c!R~O!oXO!q1PO~O!m$j!R&s$j!R!x$j!R!n$j!R~PCqO#O1RO#l'SO~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1^O!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOh1_O~OY%[i_%[i!n%[ii%[i~PhOY%]i_%]i!n%]ii%]i~PhO!x1bO~O!x1bO~P>UO!x1eO~O!m#cO#u1iO&s#cO~O$}1jO%V1jO~O!s1kO~OV1lO!n%}a!}%}a~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#]i!}#]i~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$cy!}$cy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$hy!}$hy~P!'WO#b1nO~O!}/oO!x'[i~O!m$j!Z&s$j!Z!x$j!Z!n$j!Z~PCqOT:uOz:qO!S:wO!b:yO!v=nO#S#QO#z:sO#{:{O#|:}O#};PO$O;RO$Q;VO$R;XO$S;ZO$T;]O$U;_O$V;aO$W;aO$z#dO~P!'WOV1uO{1tO~P!5xOV1uO{1tOT&}Xz&}X!S&}X!b&}X!o&}X!v&}X!y&}X#S&}X#W&}X#`&}X#a&}X#s&}X#u&}X#w&}X#z&}X#{&}X#|&}X#}&}X$O&}X$Q&}X$R&}X$S&}X$T&}X$U&}X$V&}X$W&}X$z&}X~OP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!n1xO!s1YO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOY%[q_%[q!n%[qi%[q~PhO!x1zO~O!x%gi~PCqOe1{O~O$}1|O%V1|O~O!s2OO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x$c!R!}$c!R~P!'WO!m$j!c&s$j!c!x$j!c!n$j!c~PCqO!s2QO~O!`2SO!s2RO~O!s2VO!m$xi&s$xi~O!s'WO~O!s*]O~OT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$ka#u$ka#w$ka&s$ka!x$ka!n$ka!q$ka#X$ka!}$ka~P!'WO#S2]O~P*kO$l$tO~P#.YOT6iOz6gO!S6jO!b6kO!v8sO#O2[O#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX&s'PX!x'PX!n'PX~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O3uO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'PX#X'PX#u'PX#w'PX!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~P!'WO#S3dO~P#.YOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Xa#u$Xa#w$Xa&s$Xa!x$Xa!n$Xa!q$Xa#X$Xa!}$Xa~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Ya#u$Ya#w$Ya&s$Ya!x$Ya!n$Ya!q$Ya#X$Ya!}$Ya~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$Za#u$Za#w$Za&s$Za!x$Za!n$Za!q$Za#X$Za!}$Za~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$[a#u$[a#w$[a&s$[a!x$[a!n$[a!q$[a#X$[a!}$[a~P!'WOz2aO#u$[a#w$[a!q$[a#X$[a!}$[a~PNyOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$_a#u$_a#w$_a&s$_a!x$_a!n$_a!q$_a#X$_a!}$_a~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$|a#u$|a#w$|a&s$|a!x$|a!n$|a!q$|a#X$|a!}$|a~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!S#yi!b#yi!m#yi#u#yi#w#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO#S#QO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$S2mO$T2nO$V2pO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOz2aO$W2pO$z#dOT#yi!S#yi!b#yi!m#yi!v#yi#S#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi&s#yi!x#yi!n#yi!q#yi#X#yi!}#yi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#Ta#u#Ta#w#Ta&s#Ta!x#Ta!n#Ta!q#Ta#X#Ta!}#Ta~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m'Pa#u'Pa#w'Pa&s'Pa!x'Pa!n'Pa!q'Pa#X'Pa!}'Pa~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pi!S#Pi!b#Pi!m#Pi#u#Pi#w#Pi&s#Pi!x#Pi!n#Pi!q#Pi#X#Pi!}#Pi~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#vi!S#vi!b#vi!m#vi#u#vi#w#vi&s#vi!x#vi!n#vi!q#vi#X#vi!}#vi~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m#xi#u#xi#w#xi&s#xi!x#xi!n#xi!q#xi#X#xi!}#xi~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uq!S!uq!b!uq!m!uq!v!uq#u!uq#w!uq&s!uq!x!uq!n!uq!q!uq#X!uq!}!uq~P!'WOz2aO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT#Pq!S#Pq!b#Pq!m#Pq#u#Pq#w#Pq&s#Pq!x#Pq!n#Pq!q#Pq#X#Pq!}#Pq~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jq#u$jq#w$jq&s$jq!x$jq!n$jq!q$jq#X$jq!}$jq~P!'WOz2aO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dOT!uy!S!uy!b!uy!m!uy!v!uy#u!uy#w!uy&s!uy!x!uy!n!uy!q!uy#X!uy!}!uy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$jy#u$jy#w$jy&s$jy!x$jy!n$jy!q$jy#X$jy!}$jy~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!R#u$j!R#w$j!R&s$j!R!x$j!R!n$j!R!q$j!R#X$j!R!}$j!R~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!Z#u$j!Z#w$j!Z&s$j!Z!x$j!Z!n$j!Z!q$j!Z#X$j!Z!}$j!Z~P!'WOT2cOz2aO!S2dO!b2eO!v4WO#S#QO#z2bO#{2fO#|2gO#}2hO$O2iO$Q2kO$R2lO$S2mO$T2nO$U2oO$V2pO$W2pO$z#dO!m$j!c#u$j!c#w$j!c&s$j!c!x$j!c!n$j!c!q$j!c#X$j!c!}$j!c~P!'WOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S3vO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lO#u2uO#w2vO!q&zX#X&zX!}&zX~P0rOP6]OU^O[4POo8^Or2wOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S2tO#U2sO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!v#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX&s#xX!x#xX!n#xX!q#xX#X#xX!}#xX~P$;lOP6]OU^O[4POo8^Or4xOs#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S4uO#U4tO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OOT#xXz#xX!S#xX!b#xX!o#xX!v#xX!}#xX#O#xX#X#xX#`#xX#a#xX#s#xX#u#xX#w#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!m#xX&s#xX!x#xX!n#xXV#xX!q#xX~P$;lO!q3PO~P>UO!q5}O#O3gO~OT8vOz8tO!S8wO!b8xO!q3hO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q6OO#O3kO~O!q6PO#O3oO~O#O3oO#l'SO~O#O3pO#l'SO~O#O3sO#l'SO~OP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$l$tO$z4bO${!OO~P$;lOP6]OU^O[4POo8^Os#hOx3{Oy3{O}`O!O]O!Q4aO!T4VO!U3}O!V3}O!Y4cO!c3yO!s#gO!y[O#S5eO#W_O#bhO#daO#ebO#peO$T4TO$]4RO$^4TO$aqO$z4bO${!OO~P$;lOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Xa#O$Xa#X$Xa#u$Xa#w$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Ya#O$Ya#X$Ya#u$Ya#w$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$Za#O$Za#X$Za#u$Za#w$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$[a#O$[a#X$[a#u$[a#w$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz4dO!}$[a#O$[a#X$[a#u$[a#w$[aV$[a!q$[a~PNyOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$_a#O$_a#X$_a#u$_a#w$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$|a#O$|a#X$|a#u$|a#w$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi#u#yi#w#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO#S#QO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$S4pO$T4qO$V4sO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz4dO$W4sO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#u#yi#w#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#Ta#O#Ta#X#Ta#u#Ta#w#Ta!m#Ta&s#Ta!x#Ta!n#TaV#Ta!q#Ta~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}'Pa#O'Pa#X'Pa#u'Pa#w'Pa!m'Pa&s'Pa!x'Pa!n'PaV'Pa!q'Pa~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi#u#Pi#w#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi#u#vi#w#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}#xi#O#xi#X#xi#u#xi#w#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq#u!uq#w!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOz4dO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq#u#Pq#w#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jq#O$jq#X$jq#u$jq#w$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOz4dO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy#u!uy#w!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$jy#O$jy#X$jy#u$jy#w$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!R#O$j!R#X$j!R#u$j!R#w$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!Z#O$j!Z#X$j!Z#u$j!Z#w$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$j!c#O$j!c#X$j!c#u$j!c#w$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S5wO~P#.YO!y$hO#S5{O~O!x4ZO#l'SO~O!y$hO#S5|O~OT4fOz4dO!S4gO!b4hO!v6TO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!}$ka#O$ka#X$ka#u$ka#w$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT4fOz4dO!S4gO!b4hO!v6TO#O5vO#S#QO#z4eO#{4iO#|4jO#}4kO$O4lO$Q4nO$R4oO$S4pO$T4qO$U4rO$V4sO$W4sO$z#dO!m'PX#u'PX#w'PX&s'PX!x'PX!n'PX!q'PX#X'PX!}'PX~P!'WO#u4vO#w4wO!}&zX#O&zX#X&zXV&zX!q&zX~P0rO!q5QO~P>UO!q8bO#O5hO~OT8vOz8tO!S8wO!b8xO!q5iO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WO!q8cO#O5lO~O!q8dO#O5pO~O#O5pO#l'SO~O#O5qO#l'SO~O#O5tO#l'SO~O$l$tO~P9yOo5zOs$lO~O#S7oO~P9yOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Xa#O$Xa#X$Xa!m$Xa&s$Xa!x$Xa!n$XaV$Xa!q$Xa~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Ya#O$Ya#X$Ya!m$Ya&s$Ya!x$Ya!n$YaV$Ya!q$Ya~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$Za#O$Za#X$Za!m$Za&s$Za!x$Za!n$ZaV$Za!q$Za~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$[a#O$[a#X$[a!m$[a&s$[a!x$[a!n$[aV$[a!q$[a~P!'WOz6gO!}$[a#O$[a#X$[aV$[a!q$[a~PNyOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$_a#O$_a#X$_a!m$_a&s$_a!x$_a!n$_aV$_a!q$_a~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$ka#O$ka#X$ka!m$ka&s$ka!x$ka!n$kaV$ka!q$ka~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$|a#O$|a#X$|a!m$|a&s$|a!x$|a!n$|aV$|a!q$|a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7sO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x'jX~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO!}7uO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&|X~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOT6iOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!S#yi!b#yi!}#yi#O#yi#X#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO#S#QO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$S6sO$T6tO$V6vO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WOz6gO$W6vO$z#dOT#yi!S#yi!b#yi!v#yi!}#yi#O#yi#S#yi#X#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi!m#yi&s#yi!x#yi!n#yiV#yi!q#yi~P!'WO#S7zO~P>UO!m#Ta&s#Ta!x#Ta!n#Ta~PCqO!m'Pa&s'Pa!x'Pa!n'Pa~PCqO#S;dO#U;cO!x&WX!}&WX~P9yO!}7lO!x'Oa~Oz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pi!S#Pi!b#Pi!}#Pi#O#Pi#X#Pi!m#Pi&s#Pi!x#Pi!n#PiV#Pi!q#Pi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#vi!S#vi!b#vi!}#vi#O#vi#X#vi!m#vi&s#vi!x#vi!n#viV#vi!q#vi~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}#xi#O#xi#X#xi!m#xi&s#xi!x#xi!n#xiV#xi!q#xi~P!'WO!}7sO!x%da~O!x&UX!}&UX~P>UO!}7uO!x&|a~Oz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uq!S!uq!b!uq!v!uq!}!uq#O!uq#X!uq!m!uq&s!uq!x!uq!n!uqV!uq!q!uq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vi!}#Vi~P!'WOz6gO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT#Pq!S#Pq!b#Pq!}#Pq#O#Pq#X#Pq!m#Pq&s#Pq!x#Pq!n#PqV#Pq!q#Pq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jq#O$jq#X$jq!m$jq&s$jq!x$jq!n$jqV$jq!q$jq~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&ka!}&ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x&Ua!}&Ua~P!'WOz6gO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dOT!uy!S!uy!b!uy!v!uy!}!uy#O!uy#X!uy!m!uy&s!uy!x!uy!n!uyV!uy!q!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!x#Vq!}#Vq~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$jy#O$jy#X$jy!m$jy&s$jy!x$jy!n$jyV$jy!q$jy~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!R#O$j!R#X$j!R!m$j!R&s$j!R!x$j!R!n$j!RV$j!R!q$j!R~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!Z#O$j!Z#X$j!Z!m$j!Z&s$j!Z!x$j!Z!n$j!ZV$j!Z!q$j!Z~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!}$j!c#O$j!c#X$j!c!m$j!c&s$j!c!x$j!c!n$j!cV$j!c!q$j!c~P!'WO#S8[O~P9yO#O8ZO!m'PX&s'PX!x'PX!n'PXV'PX!q'PX~PGSO!y$hO#S8`O~O!y$hO#S8aO~O#u6zO#w6{O!}&zX#O&zX#X&zXV&zX!q&zX~P0rOr6|O#S#oO#U#nO!}#xX#O#xX#X#xXV#xX!q#xX~P2yOr;iO#S9XO#U9VOT#xXz#xX!S#xX!b#xX!m#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX!n#xX!}#xX~P9yOr9WO#S9WO#U9WOT#xXz#xX!S#xX!b#xX!o#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX~P9yOr9]O#S;dO#U;cOT#xXz#xX!S#xX!b#xX!o#xX!q#xX!v#xX#`#xX#a#xX#s#xX#z#xX#{#xX#|#xX#}#xX$O#xX$Q#xX$R#xX$S#xX$U#xX$V#xX$W#xX#X#xX!x#xX!}#xX~P9yO$l$tO~P>UO!q7XO~P>UOT6iOz6gO!S6jO!b6kO!v8sO#O7iO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!x'PX!}'PX~P!'WOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lO!}7lO!x'OX~O#S9yO~P>UOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Xa#X$Xa!x$Xa!}$Xa~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Ya#X$Ya!x$Ya!}$Ya~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$Za#X$Za!x$Za!}$Za~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$[a#X$[a!x$[a!}$[a~P!'WOz8tO$z#dOT$[a!S$[a!b$[a!q$[a!v$[a#S$[a#z$[a#{$[a#|$[a#}$[a$O$[a$Q$[a$R$[a$S$[a$T$[a$U$[a$V$[a$W$[a#X$[a!x$[a!}$[a~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$_a#X$_a!x$_a!}$_a~P!'WO!q=dO#O7rO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$ka#X$ka!x$ka!}$ka~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$|a#X$|a!x$|a!}$|a~P!'WOT8vOz8tO!S8wO!b8xO!q7wO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!q#yi#X#yi!x#yi!}#yi~P!'WOT8vOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!S#yi!b#yi!q#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi#X#yi!x#yi!}#yi~P!'WOz8tO#S#QO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi#X#yi!x#yi!}#yi~P!'WOz8tO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi#X#yi!x#yi!}#yi~P!'WOz8tO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$S9QO$T9RO$V9TO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$U#yi#X#yi!x#yi!}#yi~P!'WOz8tO$W9TO$z#dOT#yi!S#yi!b#yi!q#yi!v#yi#S#yi#z#yi#{#yi#|#yi#}#yi$O#yi$Q#yi$R#yi$S#yi$T#yi$U#yi$V#yi#X#yi!x#yi!}#yi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pi!S#Pi!b#Pi!q#Pi#X#Pi!x#Pi!}#Pi~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#vi!S#vi!b#vi!q#vi#X#vi!x#vi!}#vi~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q#xi#X#xi!x#xi!}#xi~P!'WO!q=eO#O7|O~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uq!S!uq!b!uq!q!uq!v!uq#X!uq!x!uq!}!uq~P!'WOz8tO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT#Pq!S#Pq!b#Pq!q#Pq#X#Pq!x#Pq!}#Pq~P!'WO!q=iO#O8TO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jq#X$jq!x$jq!}$jq~P!'WO#O8TO#l'SO~Oz8tO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dOT!uy!S!uy!b!uy!q!uy!v!uy#X!uy!x!uy!}!uy~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$jy#X$jy!x$jy!}$jy~P!'WO#O8UO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!R#X$j!R!x$j!R!}$j!R~P!'WO#O8XO#l'SO~OT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!Z#X$j!Z!x$j!Z!}$j!Z~P!'WOT8vOz8tO!S8wO!b8xO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO!q$j!c#X$j!c!x$j!c!}$j!c~P!'WO#S:bO~P>UO#O:aO!q'PX!x'PX~PGSO$l$tO~P$8YOP6]OU^O[9WOo>SOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$l$tO$z:nO${!OO~P$;lOo8_Os$lO~O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#SSOs#hOx9WOy9WO}`O!O]O!Q:lO!T9WO!U9WO!V9WO!Y9WO!c8hO!s#gO!y[O#S=UO#W_O#bhO#daO#ebO#peO$T:iO$]9WO$^:iO$aqO$z:nO${!OO~P$;lOT6iOz6gO!S6jO!b6kO!v8sO#O=SO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO~P!'WOT6iOz6gO!S6jO!b6kO!v8sO#O=RO#S#QO#z6hO#{6lO#|6mO#}6nO$O6oO$Q6qO$R6rO$S6sO$T6tO$U6uO$V6vO$W6vO$z#dO!m'PX!q'PX!n'PX!}'PX~P!'WOT&zXz&zX!S&zX!b&zX!o&zX!q&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX!}&zX~O#u9ZO#w9[O#X&zX!x&zX~P.8oO!y$hO#S=^O~O!q9hO~P>UO!y$hO#S=cO~O!q>OO#O9}O~OT8vOz8tO!S8wO!b8xO!q:OO!v=ZO#S#QO#z8uO#{8yO#|8zO#}8{O$O8|O$Q9OO$R9PO$S9QO$T9RO$U9SO$V9TO$W9TO$z#dO~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m#Ta!q#Ta!n#Ta!}#Ta~P!'WOT:tOz:pO!S:vO!b:xO!v=mO#S#QO#z:rO#{:zO#|:|O#};OO$O;QO$Q;UO$R;WO$S;YO$T;[O$U;^O$V;`O$W;`O$z#dO!m'Pa!q'Pa!n'Pa!}'Pa~P!'WO!q>PO#O:RO~O!q>QO#O:YO~O#O:YO#l'SO~O#O:ZO#l'SO~O#O:_O#l'SO~O#u;eO#w;gO!m&zX!n&zX~P.8oO#u;fO#w;hOT&zXz&zX!S&zX!b&zX!o&zX!v&zX!y&zX#S&zX#W&zX#`&zX#a&zX#s&zX#z&zX#{&zX#|&zX#}&zX$O&zX$Q&zX$R&zX$S&zX$T&zX$U&zX$V&zX$W&zX$z&zX~O!q;tO~P>UO!q;uO~P>UO!q>XO#OYO#O9WO~OT8vOz8tO!S8wO!b8xO!qZO#O[O#O<{O~O#O<{O#l'SO~O#O9WO#l'SO~O#O<|O#l'SO~O#O=PO#l'SO~O!y$hO#S=|O~Oo=[Os$lO~O!y$hO#S=}O~O!y$hO#S>UO~O!y$hO#S>VO~O!y$hO#S>WO~Oo={Os$lO~Oo>TOs$lO~Oo>SOs$lO~O%O$U$}$d!d$V#b%V#e'g!s#d~",goto:"%&y'mPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP'nP'uPP'{(OPPP(hP(OP(O*ZP*ZPP2W:j:mPP*Z:sBpPBsPBsPP:sCSCVCZ:s:sPPPC^PP:sK^!$S!$S:s!$WP!$W!$W!%UP!.]!7pP!?oP*ZP*Z*ZPPPPP!?rPPPPPPP*Z*Z*Z*ZPP*Z*ZP!E]!GRP!GV!Gy!GR!GR!HP*Z*ZP!HY!Hl!Ib!J`!Jd!J`!Jo!J}!J}!KV!KY!KY*ZPP*ZPP!K^#%[#%[#%`P#%fP(O#%j(O#&S#&V#&V#&](O#&`(O(O#&f#&i(O#&r#&u(O(O(O(O(O#&x(O(O(O(O(O(O(O(O(O#&{!KR(O(O#'_#'o#'r(O(OP#'u#'|#(S#(o#(y#)P#)Z#)b#)h#*d#4X#5T#5Z#5a#5k#5q#5w#6]#6c#6i#6o#6u#6{#7R#7]#7g#7m#7s#7}PPPPPPPP#8T#8X#8}#NO#NR#N]$(f$(r$)X$)_$)b$)e$)k$,X$5v$>_$>b$>h$>k$>n$>w$>{$?X$?k$Bk$CO$C{$K{PP%%y%%}%&Z%&p%&vQ!nQT!qV!rQUOR%x!mRVO}!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a|!hPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ%^!ZQ%g!aQ%l!eQ'd$dQ'q$iQ)[%kQ*y'tQ,](xU-n*v*x+OQ.W+cQ.{,[S/t-s-tQ0T.SS0}/s/wQ1V0RQ1o1OR2P1p0u!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3ZfPVX[_bgjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#}$R$S$U$h$y$}%P%R%S%T%U%c%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)_)c)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[3scPVX[_bdegjklmnoprxyz!S!W!X!Y!]!e!f!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t#{#}$R$S$U$h$y$}%P%R%S%T%U%c%m%n%p%r%}&S&W&p&s&t&w'O'S'U'Y'^'i'm'r'z(O(P(R(S(T(`(l({)P)Z)^)_)c)g)h)i)p)t)v*P*T*U*f*o*s*z*}+P+Q+]+`+d+g+r+u+z,T,V,X,Z,u,x-Q-R-d-k-r-u-z-{-|.Q.b.d.l.t/[/c/i/m/u/x0V0`0a0d0e0i0v1P1R1]1a2W2X2Y2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w5}6O6P6T6]6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8b8c8d8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[0phPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0`0a0d0e0i0v1R1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uRS=p>S>VS=s>T>UR=t>WT'n$h*s!csPVXt!S!j!r!s!w$h$}%P%S%U'i(T(`)W*s+]+g+r+u,g,k.b.d.l0`0a0i1aQ$^rR*`'^Q*x'sQ-t*{R/w-wQ(W$tQ)U%hQ)n%vQ*i'fQ+k(XR-c*jQ(V$tQ)Y%jQ)m%vQ*e'eS*h'f)nS+j(W(XS-b*i*jQ.]+kQ/T,mQ/e-`R/g-cQ(U$tQ)T%hQ)V%iQ)l%vU*g'f)m)nU+i(V(W(XQ,f)UU-a*h*i*jS.[+j+kS/f-b-cQ0X.]R0t/gT+e(T+g[%e!_$b'c+a.R0QR,d)Qb$ov(T+[+]+`+g.P.Q0PR+T'{S+e(T+gT,j)W,kR0W.XT1[0V1]0w|PVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X,_-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[R2Y2X|tPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aW$`t'i+],gS'i$h*sS+](T+gT,g)W,kQ'_$^R*a'_Q*t'oR-m*tQ/p-oS0{/p0|R0|/qQ-}+XR/|-}Q+g(TR.Y+gS+`(T+gS,h)W,kQ.Q+]W.T+`,h.Q/OR/O,gQ)R%eR,e)RQ'|$oR+U'|Q1]0VR1w1]Q${{R(^${Q+t(aR.c+tQ+w(bR.g+wQ+}(cQ,P(dT.m+},PQ(|%`S,a(|7tR7t7VQ(y%^R,^(yQ,k)WR/R,kQ)`%oS,q)`/WR/W,rQ,v)dR/^,vT!uV!rj!iPVX!j!r!s!w(`+r.l0`0a1aQ%Q!SQ(a$}W(h%P%S%U0iQ.e+uQ0Z.bR0[.d|ZPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1aQ#f[U#m_#s&wQ#wbQ$VkQ$WlQ$XmQ$YnQ$ZoQ$[pQ$sx^$uy2_4b6e8q:m:nQ$vzQ%W!WQ%Y!XQ%[!YW%`!]%R(l,VU%s!g&p-RQ%|!yQ&O!zQ&Q!{S&U!})v^&^#R2a4d6g8t:p:qQ&_#SQ&`#TQ&a#UQ&b#VQ&c#WQ&d#XQ&e#YQ&f#ZQ&g#[Q&h#]Q&i#^Q&j#_Q&k#`Q&l#aQ&m#bQ&u#nQ&v#oS&{#t'OQ'X$RQ'Z$SQ'[$UQ(]$yQ(p%TQ)q%}Q)s&SQ)u&WQ*O&tS*['U4ZQ*^'Y^*_2[3u5v8Z:a=R=SQ+S'zQ+V(OQ,`({Q,c)PQ,y)iQ,{)pQ,})tQ-V*PQ-W*TQ-X*U^-]2]3v5w8[:b=T=UQ-i*oQ-x+PQ.k+zQ.w,XQ/`-QQ/h-dQ/n-kQ/y-zQ0r/cQ0u/iQ0x/mQ1Q/xU1X0V1]9WQ1d0eQ1m0vQ1q1RQ2Z2^Q2qjQ2r3yQ2x3zQ2y3|Q2z4OQ2{4QQ2|4SQ2}4UQ3O2`Q3Q2bQ3R2cQ3S2dQ3T2eQ3U2fQ3V2gQ3W2hQ3X2iQ3Y2jQ3Z2kQ3[2lQ3]2mQ3^2nQ3_2oQ3`2pQ3a2sQ3b2tQ3c2uQ3e2vQ3f2wQ3i3PQ3j3dQ3l3gQ3m3hQ3n3kQ3q3oQ3r3pQ3t3sQ4Y4WQ4y3{Q4z3}Q4{4PQ4|4RQ4}4TQ5O4VQ5P4cQ5R4eQ5S4fQ5T4gQ5U4hQ5V4iQ5W4jQ5X4kQ5Y4lQ5Z4mQ5[4nQ5]4oQ5^4pQ5_4qQ5`4rQ5a4sQ5b4tQ5c4uQ5d4vQ5f4wQ5g4xQ5j5QQ5k5eQ5m5hQ5n5iQ5o5lQ5r5pQ5s5qQ5u5tQ6Q4aQ6R3xQ6V6TQ6}6^Q7O6_Q7P6`Q7Q6aQ7R6bQ7S6cQ7T6dQ7U6fU7V,T.t0dQ7W%cQ7Y6hQ7Z6iQ7[6jQ7]6kQ7^6lQ7_6mQ7`6nQ7a6oQ7b6pQ7c6qQ7d6rQ7e6sQ7f6tQ7g6uQ7h6vQ7j6xQ7k6yQ7n6zQ7p6{Q7q6|Q7x7XQ7y7iQ7{7oQ7}7rQ8O7sQ8P7uQ8Q7wQ8R7zQ8S7|Q8V8TQ8W8UQ8Y8XQ8]8fU9U#k&s7lQ9^8jQ9_8kQ9`8lQ9a8mQ9b8nQ9c8oQ9e8pQ9f8rQ9g8sQ9i8uQ9j8vQ9k8wQ9l8xQ9m8yQ9n8zQ9o8{Q9p8|Q9q8}Q9r9OQ9s9PQ9t9QQ9u9RQ9v9SQ9w9TQ9x9ZQ9z9[Q9{9]Q:P9hQ:Q9yQ:T9}Q:V:OQ:W:RQ:[:YQ:^:ZQ:`:_Q:c8iQ;j:dQ;k:eQ;l:fQ;m:gQ;n:hQ;o:iQ;p:jQ;q:kQ;r:lQ;s:oQ;v:rQ;w:sQ;x:tQ;y:uQ;z:vQ;{:wQ;|:xQ;}:yQOQ=h>PQ=j>QQ=u>XQ=v>YQ=w>ZR=x>[0t!OPVX[_bjklmnopxyz!S!W!X!Y!]!g!j!r!s!w!y!z!{!}#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b#k#n#o#s#t$R$S$U$y$}%P%R%S%T%U%c%}&S&W&p&s&t&w'O'U'Y'z(O(`(l({)P)i)p)t)v*P*T*U*o+P+r+u+z,T,V,X-Q-R-d-k-z.b.d.l.t/c/i/m/x0V0`0a0d0e0i0v1R1]1a2[2]2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3u3v3x3y3z3{3|3}4O4P4Q4R4S4T4U4V4W4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t5v5w6T6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6x6y6z6{6|7X7i7l7o7r7s7u7w7z7|8T8U8X8Z8[8f8g8h8i8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9V9W9X9Z9[9]9h9y9}:O:R:Y:Z:_:a:b:d:e:f:g:h:i:j:k:l:m:n:o:p:q:r:s:t:u:v:w:x:y:z:{:|:};O;P;Q;R;S;T;U;V;W;X;Y;Z;[;];^;_;`;a;c;d;e;f;g;h;i;t;uO>P>Q>X>Y>Z>[S$]r'^Q%k!eS%o!f%rQ)b%pU+X(R(S+dQ,p)_Q,t)cQ/Z,uQ/{-|R0p/[|vPVX!S!j!r!s!w$}%P%S%U(`+r+u.b.d.l0`0a0i1a#U#i[bklmnopxyz!W!X!Y!{#R#S#T#U#V#W#X#Y#Z#[#]#^#_#`#a#b$R$S$U$y%}&S'Y(O)p+P-z/x0e1R2[2]6x6yd+^(T)W+]+`+g,g,h,k.Q/O!t6w'U2^2_2`2a2b2c2d2e2f2g2h2i2j2k2l2m2n2o2p2s2t2u2v2w3P3d3g3h3k3o3p3s3z3|4O4Q4S4U5v5w!x;b3u3v3x3y3{3}4P4R4T4V4Z4a4b4c4d4e4f4g4h4i4j4k4l4m4n4o4p4q4r4s4t4u4v4w4x5Q5e5h5i5l5p5q5t$O=z_j!]!g#k#n#o#s#t%R%T&p&s&t&w'O'z(l({)P)i*P*U,V,X-R6^6_6`6a6b6c6d6e6f6g6h6i6j6k6l6m6n6o6p6q6r6s6t6u6v6z6{6|7X7l7o7r7w7|8T8U8X8Z8[8f8g8h8i#|>]!y!z!}%c&W)t)v*T*o,T-d-k.t/c/i/m0d0v4W6T7i7s7u7z8j8k8l8m8n8o8p8q8r8s8t8u8v8w8x8y8z8{8|8}9O9P9Q9R9S9T9Z9[9]9h9y9}:O:R:Y:Z:_:a:b;c;d=Z=m=n!v>^+z-Q9V9X:d:e:f:g:h:j:k:m:o:p:r:t:v:x:z:|;O;Q;S;U;W;Y;[;^;`;e;g;i;t_0V1]9W:i:l:n:q:s:u:w:y:{:};P;R;T;V;X;Z;];_;a;f;h;u AssignmentExpression ArrayExpression ValueList & VariadicUnpacking ... Pair [ ] ListExpression ValueList Pair Pair SubscriptExpression MemberExpression -> ?-> VariableName DynamicVariable $ ${ CallExpression ArgList NamedArgument SpreadArgument CastExpression UnionType LogicOp OptionalType NamedType QualifiedName \\ NamespaceName ScopedExpression :: ClassMemberName AssignOp UpdateExpression UpdateOp YieldExpression BinaryExpression LogicOp LogicOp LogicOp BitOp BitOp BitOp CompareOp CompareOp BitOp ArithOp ConcatOp ArithOp ArithOp IncludeExpression RequireExpression CloneExpression UnaryExpression ControlOp LogicOp PrintIntrinsic FunctionExpression static ParamList Parameter #[ Attributes Attribute VariadicParameter PropertyParameter UseList ArrowFunction NewExpression class BaseClause ClassInterfaceClause DeclarationList ConstDeclaration VariableDeclarator PropertyDeclaration VariableDeclarator MethodDeclaration UseDeclaration UseList UseInsteadOfClause UseAsClause UpdateExpression ArithOp ShellExpression ThrowExpression Integer Float String MemberExpression SubscriptExpression UnaryExpression ArithOp Interpolation String IfStatement ColonBlock SwitchStatement Block CaseStatement DefaultStatement ColonBlock WhileStatement EmptyStatement DoStatement ForStatement ForSpec SequenceExpression ForeachStatement ForSpec Pair GotoStatement ContinueStatement BreakStatement ReturnStatement TryStatement CatchDeclarator DeclareStatement EchoStatement UnsetStatement ConstDeclaration FunctionDefinition ClassDeclaration InterfaceDeclaration TraitDeclaration EnumDeclaration EnumBody EnumCase NamespaceDefinition NamespaceUseDeclaration UseGroup UseClause UseClause GlobalDeclaration FunctionStaticDeclaration Program",maxTerm:304,nodeProps:[["group",-36,2,8,49,81,83,85,88,93,94,102,106,107,110,111,114,118,123,126,130,132,133,147,148,149,150,153,154,164,165,179,181,182,183,184,185,191,"Expression",-28,74,78,80,82,192,194,199,201,202,205,208,209,210,211,212,214,215,216,217,218,219,220,221,222,225,226,230,231,"Statement",-3,119,121,122,"Type"],["isolate",-4,66,67,70,191,""],["openedBy",69,"phpOpen",76,"{",86,"(",101,"#["],["closedBy",71,"phpClose",77,"}",87,")",158,"]"]],propSources:[LO],skippedNodes:[0],repeatNodeCount:29,tokenData:"!F|_R!]OX$zXY&^YZ'sZ]$z]^&^^p$zpq&^qr)Rrs+Pst+otu2buv5evw6rwx8Vxy>]yz>yz{?g{|@}|}Bb}!OCO!O!PDh!P!QKT!Q!R!!o!R![!$q![!]!,P!]!^!-a!^!_!-}!_!`!1S!`!a!2d!a!b!3t!b!c!7^!c!d!7z!d!e!9W!e!}!7z!}#O!;^#O#P!;z#P#Q!V<%lO8VR9WV&wP%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ9rV%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X<%lO9mQ:^O%VQQ:aRO;'S9m;'S;=`:j;=`O9mQ:oW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l9m<%lO9mQ;[P;=`<%l9mR;fV&wP%VQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRV<%l~8V~O8V~~%fR=OW&wPOY8VYZ9PZ!^8V!^!_;{!_;'S8V;'S;=`=h;=`<%l9m<%lO8VR=mW%VQOw9mwx:Xx#O9m#O#P:^#P;'S9m;'S;=`;X;=`<%l8V<%lO9mR>YP;=`<%l8VR>dV!yQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV?QV!xU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR?nY&wP$VQOY$zYZ%fZz$zz{@^{!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR@eW$WQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRAUY$TQ&wPOY$zYZ%fZ{$z{|At|!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zRA{V$zQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRBiV!}Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_CXZ$TQ%TW&wPOY$zYZ%fZ}$z}!OAt!O!^$z!^!_%k!_!`6U!`!aCz!a;'S$z;'S;=`&W<%lO$zVDRV#`U&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVDo[&wP$UQOY$zYZ%fZ!O$z!O!PEe!P!Q$z!Q![Fs![!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVEjX&wPOY$zYZ%fZ!O$z!O!PFV!P!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVF^V#UU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRFz_&wP%OQOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#SJc#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zRHO]&wPOY$zYZ%fZ{$z{|Hw|}$z}!OHw!O!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRH|X&wPOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zRIpZ&wP%OQOY$zYZ%fZ!Q$z!Q![Ii![!^$z!^!_%k!_#R$z#R#SHw#S;'S$z;'S;=`&W<%lO$zRJhX&wPOY$zYZ%fZ!Q$z!Q![Fs![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zVK[[&wP$VQOY$zYZ%fZz$zz{LQ{!P$z!P!Q,o!Q!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zVLVX&wPOYLQYZLrZzLQz{N_{!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQVLwT&wPOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMZTOzMWz{Mj{;'SMW;'S;=`NX<%lOMWUMmVOzMWz{Mj{!PMW!P!QNS!Q;'SMW;'S;=`NX<%lOMWUNXO!eUUN[P;=`<%lMWVNdZ&wPOYLQYZLrZzLQz{N_{!PLQ!P!Q! V!Q!^LQ!^!_! s!_;'SLQ;'S;=`!!i<%lOLQV! ^V!eU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV! vZOYLQYZLrZzLQz{N_{!aLQ!a!bMW!b;'SLQ;'S;=`!!i<%l~LQ~OLQ~~%fV!!lP;=`<%lLQZ!!vm&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!d$z!d!e!&o!e!g$z!g!hGy!h!q$z!q!r!(a!r!z$z!z!{!){!{#R$z#R#S!%}#S#U$z#U#V!&o#V#X$z#X#YGy#Y#c$z#c#d!(a#d#l$z#l#m!){#m;'S$z;'S;=`&W<%lO$zZ!$xa&wP$}YOY$zYZ%fZ!O$z!O!PFs!P!Q$z!Q![!$q![!^$z!^!_%k!_!g$z!g!hGy!h#R$z#R#S!%}#S#X$z#X#YGy#Y;'S$z;'S;=`&W<%lO$zZ!&SX&wPOY$zYZ%fZ!Q$z!Q![!$q![!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!&tY&wPOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!'k[&wP$}YOY$zYZ%fZ!Q$z!Q!R!'d!R!S!'d!S!^$z!^!_%k!_#R$z#R#S!&o#S;'S$z;'S;=`&W<%lO$zZ!(fX&wPOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zZ!)YZ&wP$}YOY$zYZ%fZ!Q$z!Q!Y!)R!Y!^$z!^!_%k!_#R$z#R#S!(a#S;'S$z;'S;=`&W<%lO$zZ!*Q]&wPOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zZ!+Q_&wP$}YOY$zYZ%fZ!Q$z!Q![!*y![!^$z!^!_%k!_!c$z!c!i!*y!i#R$z#R#S!){#S#T$z#T#Z!*y#Z;'S$z;'S;=`&W<%lO$zR!,WX!qQ&wPOY$zYZ%fZ![$z![!]!,s!]!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!,zV#sQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!-hV!mU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!.S[$RQOY$zYZ%fZ!^$z!^!_!.x!_!`!/i!`!a*c!a!b!0]!b;'S$z;'S;=`&W<%l~$z~O$z~~%fR!/PW$SQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!/pX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a*c!a;'S$z;'S;=`&W<%lO$zP!0bR!iP!_!`!0k!r!s!0p#d#e!0pP!0pO!iPP!0sQ!j!k!0y#[#]!0yP!0|Q!r!s!0k#d#e!0kV!1ZX#uQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`)r!`!a!1v!a;'S$z;'S;=`&W<%lO$zV!1}V#OU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!2kX$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`!3W!`!a!.x!a;'S$z;'S;=`&W<%lO$zR!3_V$RQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!3{[!vQ&wPOY$zYZ%fZ}$z}!O!4q!O!^$z!^!_%k!_!`$z!`!a!6P!a!b!6m!b;'S$z;'S;=`&W<%lO$zV!4vX&wPOY$zYZ%fZ!^$z!^!_%k!_!`$z!`!a!5c!a;'S$z;'S;=`&W<%lO$zV!5jV#aU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!6WV!gU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!6tW#zQ&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`;'S$z;'S;=`&W<%lO$zR!7eV$]Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z_!8Ra&wP!s^OY$zYZ%fZ!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$z_!9_e&wP!s^OY$zYZ%fZr$zrs!:psw$zwx8Vx!Q$z!Q![!7z![!^$z!^!_%k!_!c$z!c!}!7z!}#R$z#R#S!7z#S#T$z#T#o!7z#o$g$z$g&j!7z&j;'S$z;'S;=`&W<%lO$zR!:wV&wP'gQOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!;eV#WU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!mZ!^!=u!^!_!@u!_#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%lO!=uR!>rV&wPO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?[VO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o<%lO!?XQ!?tRO;'S!?X;'S;=`!?};=`O!?XQ!@QWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!?X<%lO!?XQ!@oO${QQ!@rP;=`<%l!?XR!@x]OY!=uYZ!>mZ!a!=u!a!b!?X!b#O!=u#O#P!Aq#P#S!=u#S#T!B{#T;'S!=u;'S;=`!Ci<%l~!=u~O!=u~~%fR!AvW&wPOY!=uYZ!>mZ!^!=u!^!_!@u!_;'S!=u;'S;=`!B`;=`<%l!?X<%lO!=uR!BcWO#O!?X#O#P!?q#P#S!?X#S#T!@j#T;'S!?X;'S;=`!@o;=`<%l!=u<%lO!?XR!CSV${Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!ClP;=`<%l!=uV!CvV!oU&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zV!DfY#}Q#lS&wPOY$zYZ%fZ!^$z!^!_%k!_!`6U!`#p$z#p#q!EU#q;'S$z;'S;=`&W<%lO$zR!E]V#{Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!EyV!nQ&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$zR!FgV$^Q&wPOY$zYZ%fZ!^$z!^!_%k!_;'S$z;'S;=`&W<%lO$z",tokenizers:[EO,CO,NO,0,1,2,3,IO],topRules:{Template:[0,72],Program:[1,232]},dynamicPrecedences:{284:1},specialized:[{term:81,get:(O,Q)=>d(O)<<1,external:d},{term:81,get:O=>AO[O]||-1}],tokenPrec:29354}),KO=l.define({name:"php",parser:HO.configure({props:[x.add({IfStatement:W({except:/^\s*({|else\b|elseif\b|endif\b)/}),TryStatement:W({except:/^\s*({|catch\b|finally\b)/}),SwitchBody:O=>{let Q=O.textAfter,i=/^\s*\}/.test(Q),y=/^\s*(case|default)\b/.test(Q);return O.baseIndent+(i?0:y?1:2)*O.unit},ColonBlock:O=>O.baseIndent+O.unit,"Block EnumBody DeclarationList":R({closing:"}"}),ArrowFunction:O=>O.baseIndent+O.unit,"String BlockComment":()=>null,Statement:W({except:/^({|end(for|foreach|switch|while)\b)/})}),V.add({"Block EnumBody DeclarationList SwitchBody ArrayExpression ValueList":r,ColonBlock(O){return{from:O.from+1,to:O.to}},BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*(?:case |default:|end(?:if|for(?:each)?|switch|while)|else(?:if)?|\{|\})$/,wordChars:"$",closeBrackets:{stringPrefixes:["b","B"]}}});function MO(O={}){let Q=[],i;if(O.baseLanguage!==null)if(O.baseLanguage)i=O.baseLanguage;else{let y=U({matchClosingTags:!1});Q.push(y.support),i=y.language}return new v(KO.configure({wrap:i&&u(y=>y.type.isTop?{parser:i.parser,overlay:z=>z.name=="Text"}:null),top:O.plain?"Program":"Template"}),Q)}export{MO as php,KO as phpLanguage}; diff --git a/AIWebQuickDeploy/public/admin/assets/index-BwuB6c9W.js b/AIWebQuickDeploy/public/admin/assets/index-BwuB6c9W.js new file mode 100644 index 0000000..a6bf627 --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/index-BwuB6c9W.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-CJnFI54p.js";import"./index-6QRvoxq4.js";export{m as default}; diff --git a/AIWebQuickDeploy/public/admin/assets/index-BwvH2ULl.js b/AIWebQuickDeploy/public/admin/assets/index-BwvH2ULl.js new file mode 100644 index 0000000..d7d4de1 --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/index-BwvH2ULl.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js";import"./HDropdown-7q7O_XMK.js";import"./index-6QRvoxq4.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js";import"./use-resolve-button-type-BE1XPlJv.js";export{o as default}; diff --git a/public/admin/assets/index-kBKco1xS.js b/AIWebQuickDeploy/public/admin/assets/index-CJbdo3UB.js similarity index 98% rename from public/admin/assets/index-kBKco1xS.js rename to AIWebQuickDeploy/public/admin/assets/index-CJbdo3UB.js index 844dd0b..d04570c 100644 --- a/public/admin/assets/index-kBKco1xS.js +++ b/AIWebQuickDeploy/public/admin/assets/index-CJbdo3UB.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{s as P,t as r,w as i,L as q,a as g,d as c,r as R,u as l,b as p}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const b=1,$=33,m=34,v=35,x=36,d=new p(O=>{let e=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>e&&O.acceptToken(b)});function n(O,e,a){return new p(t=>{let u=t.pos;for(;t.next!=O&&t.next>=0&&(a||t.next!=38&&(t.next!=123||t.peek(1)!=123));)t.advance();t.pos>u&&t.acceptToken(e)})}const W=n(39,$,!1),C=n(34,m,!1),T=n(39,v,!0),f=n(34,x,!0),w=c.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?o:null)}),y=Q.configure({wrap:l((O,e)=>{var a;return O.name=="InterpolationContent"?o:O.name!="AttributeInterpolation"?null:((a=O.node.parent)===null||a===void 0?void 0:a.name)=="StatementAttributeValue"?V:o}),top:"Attribute"}),E={parser:U},N={parser:y},s=R();function S(O){return O.configure({wrap:l(z)},"angular")}const k=S(s.language);function z(O,e){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(e.read(O.from,O.to))?N:null;case"Text":return E}return null}function h(O={}){let e=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof q))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new g(e.language==s.language?k:S(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{h as angular,k as angularLanguage}; +import{s as P,t as r,w as i,L as q,a as g,d as c,r as R,u as l,b as p}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const b=1,$=33,m=34,v=35,x=36,d=new p(O=>{let e=O.pos;for(;;){if(O.next==10){O.advance();break}else if(O.next==123&&O.peek(1)==123||O.next<0)break;O.advance()}O.pos>e&&O.acceptToken(b)});function n(O,e,a){return new p(t=>{let u=t.pos;for(;t.next!=O&&t.next>=0&&(a||t.next!=38&&(t.next!=123||t.peek(1)!=123));)t.advance();t.pos>u&&t.acceptToken(e)})}const W=n(39,$,!1),C=n(34,m,!1),T=n(39,v,!0),f=n(34,x,!0),w=c.deserialize({version:14,states:"(jOVOqOOOeQpOOOvO!bO'#CaOOOP'#Cx'#CxQVOqOOO!OQpO'#CfO!WQpO'#ClO!]QpO'#CrO!bQpO'#CsOOQO'#Cv'#CvQ!gQpOOQ!lQpOOQ!qQpOOOOOV,58{,58{O!vOpO,58{OOOP-E6v-E6vO!{QpO,59QO#TQpO,59QOOQO,59W,59WO#YQpO,59^OOQO,59_,59_O#_QpOOO#_QpOOO#gQpOOOOOV1G.g1G.gO#oQpO'#CyO#tQpO1G.lOOQO1G.l1G.lO#|QpO1G.lOOQO1G.x1G.xO$UO`O'#DUO$ZOWO'#DUOOQO'#Co'#CoQOQpOOOOQO'#Cu'#CuO$`OtO'#CwO$qOrO'#CwOOQO,59e,59eOOQO-E6w-E6wOOQO7+$W7+$WO%SQpO7+$WO%[QpO7+$WOOOO'#Cp'#CpO%aOpO,59pOOOO'#Cq'#CqO%fOpO,59pOOOS'#Cz'#CzO%kOtO,59cOOQO,59c,59cOOOQ'#C{'#C{O%|OrO,59cO&_QpO<O.name=="InterpolationContent"?o:null)}),y=Q.configure({wrap:l((O,e)=>{var a;return O.name=="InterpolationContent"?o:O.name!="AttributeInterpolation"?null:((a=O.node.parent)===null||a===void 0?void 0:a.name)=="StatementAttributeValue"?V:o}),top:"Attribute"}),E={parser:U},N={parser:y},s=R();function S(O){return O.configure({wrap:l(z)},"angular")}const k=S(s.language);function z(O,e){switch(O.name){case"Attribute":return/^[*#(\[]|\{\{/.test(e.read(O.from,O.to))?N:null;case"Text":return E}return null}function h(O={}){let e=s;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof q))throw new RangeError("The base option must be the result of calling html(...)");e=O.base}return new g(e.language==s.language?k:S(e.language),[e.support,e.language.data.of({closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/})])}export{h as angular,k as angularLanguage}; diff --git a/public/admin/assets/index-Bb_mj7fg.js b/AIWebQuickDeploy/public/admin/assets/index-CQq7nD5J.js similarity index 91% rename from public/admin/assets/index-Bb_mj7fg.js rename to AIWebQuickDeploy/public/admin/assets/index-CQq7nD5J.js index c88863e..a5150ca 100644 --- a/public/admin/assets/index-Bb_mj7fg.js +++ b/AIWebQuickDeploy/public/admin/assets/index-CQq7nD5J.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as y,u as k,a8 as w,g as a,z as v,w as S,i as t,c as s,b as M,e as r,F as C,s as B,A as c,aa as j,Q as h,t as z,j as N,l as V}from"./index-nGFMSQGw.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js";import{u as F}from"./useMenu-CjAI3aXu.js";const I={key:0,class:"main-sidebar-container"},T={class:"menu flex flex-col of-hidden transition-all"},A=["title","onClick"],D={class:"w-full inline-flex flex-1 flex-col items-center justify-center gap-[2px]"},E={class:"w-full flex-1 truncate text-center text-sm transition-height transition-opacity transition-width"},L=y({name:"MainSidebar",__name:"index",setup(Q){const i=k(),o=w(),{switchTo:b}=F();return(q,G)=>{const x=N;return a(),v(j,{name:"main-sidebar"},{default:S(()=>[t(i).settings.menu.menuMode==="side"||t(i).mode==="mobile"&&t(i).settings.menu.menuMode!=="single"?(a(),s("div",I,[M($,{"show-title":!1,class:"sidebar-logo"}),r("div",T,[(a(!0),s(C,null,B(t(o).allMenus,(e,n)=>{var l,m,u,d,f,_,g,p;return a(),s("div",{key:n,class:h(["menu-item relative transition-all",{active:n===t(o).actived}])},[e.children&&e.children.length!==0?(a(),s("div",{key:0,class:h(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 py-4 text-[var(--g-main-sidebar-menu-color)] transition-all hover-bg-[var(--g-main-sidebar-menu-hover-bg)] hover-text-[var(--g-main-sidebar-menu-hover-color)] px-2!",{"text-[var(--g-main-sidebar-menu-active-color)]! bg-[var(--g-main-sidebar-menu-active-bg)]!":n===t(o).actived}]),title:typeof((l=e.meta)==null?void 0:l.title)=="function"?(m=e.meta)==null?void 0:m.title():(u=e.meta)==null?void 0:u.title,onClick:H=>t(b)(n)},[r("div",D,[(d=e.meta)!=null&&d.icon?(a(),v(x,{key:0,name:(f=e.meta)==null?void 0:f.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):c("",!0),r("span",E,z(typeof((_=e.meta)==null?void 0:_.title)=="function"?(g=e.meta)==null?void 0:g.title():(p=e.meta)==null?void 0:p.title),1)])],10,A)):c("",!0)],2)}),128))])])):c("",!0)]),_:1})}}}),P=V(L,[["__scopeId","data-v-74880cce"]]);export{P as default}; +import{d as y,u as k,a8 as w,g as a,z as v,w as S,i as t,c as s,b as M,e as r,F as C,s as B,A as c,aa as j,Q as h,t as z,j as N,l as V}from"./index-6QRvoxq4.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-CJnFI54p.js";import{u as F}from"./useMenu-DJ8_3Y3q.js";const I={key:0,class:"main-sidebar-container"},T={class:"menu flex flex-col of-hidden transition-all"},A=["title","onClick"],D={class:"w-full inline-flex flex-1 flex-col items-center justify-center gap-[2px]"},E={class:"w-full flex-1 truncate text-center text-sm transition-height transition-opacity transition-width"},L=y({name:"MainSidebar",__name:"index",setup(Q){const i=k(),o=w(),{switchTo:b}=F();return(q,G)=>{const x=N;return a(),v(j,{name:"main-sidebar"},{default:S(()=>[t(i).settings.menu.menuMode==="side"||t(i).mode==="mobile"&&t(i).settings.menu.menuMode!=="single"?(a(),s("div",I,[M($,{"show-title":!1,class:"sidebar-logo"}),r("div",T,[(a(!0),s(C,null,B(t(o).allMenus,(e,n)=>{var l,m,u,d,f,_,g,p;return a(),s("div",{key:n,class:h(["menu-item relative transition-all",{active:n===t(o).actived}])},[e.children&&e.children.length!==0?(a(),s("div",{key:0,class:h(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 py-4 text-[var(--g-main-sidebar-menu-color)] transition-all hover-bg-[var(--g-main-sidebar-menu-hover-bg)] hover-text-[var(--g-main-sidebar-menu-hover-color)] px-2!",{"text-[var(--g-main-sidebar-menu-active-color)]! bg-[var(--g-main-sidebar-menu-active-bg)]!":n===t(o).actived}]),title:typeof((l=e.meta)==null?void 0:l.title)=="function"?(m=e.meta)==null?void 0:m.title():(u=e.meta)==null?void 0:u.title,onClick:H=>t(b)(n)},[r("div",D,[(d=e.meta)!=null&&d.icon?(a(),v(x,{key:0,name:(f=e.meta)==null?void 0:f.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):c("",!0),r("span",E,z(typeof((_=e.meta)==null?void 0:_.title)=="function"?(g=e.meta)==null?void 0:g.title():(p=e.meta)==null?void 0:p.title),1)])],10,A)):c("",!0)],2)}),128))])])):c("",!0)]),_:1})}}}),P=V(L,[["__scopeId","data-v-74880cce"]]);export{P as default}; diff --git a/public/admin/assets/index-JmaFc6Op.js b/AIWebQuickDeploy/public/admin/assets/index-CTsqQodT.js similarity index 65% rename from public/admin/assets/index-JmaFc6Op.js rename to AIWebQuickDeploy/public/admin/assets/index-CTsqQodT.js index c66f55a..37d2ad9 100644 --- a/public/admin/assets/index-JmaFc6Op.js +++ b/AIWebQuickDeploy/public/admin/assets/index-CTsqQodT.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js";import"./index-nGFMSQGw.js";import"./useMainPage-C9MASyfo.js";export{o as default}; +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js";import"./index-6QRvoxq4.js";import"./index-B0yaT7Pj.js";export{o as default}; diff --git a/public/admin/assets/index-BhavOP4W.js b/AIWebQuickDeploy/public/admin/assets/index-CYAFQ7HU.js similarity index 72% rename from public/admin/assets/index-BhavOP4W.js rename to AIWebQuickDeploy/public/admin/assets/index-CYAFQ7HU.js index ad61e04..04bd796 100644 --- a/public/admin/assets/index-BhavOP4W.js +++ b/AIWebQuickDeploy/public/admin/assets/index-CYAFQ7HU.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as C,u as M,a8 as B,r as $,g as t,z as y,w as j,i as a,c as r,e as o,b as x,x as z,F as N,s as V,A as c,aa as F,Q as k,t as H,j as I,l as L}from"./index-nGFMSQGw.js";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js";import{_ as T}from"./rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js";import{u as Y}from"./useMenu-CjAI3aXu.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js";import"./index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js";import"./HDropdown-BjwO9ikd.js";import"./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js";import"./use-resolve-button-type-CVaAVCZ2.js";import"./index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js";import"./index-CyI3Kccs.js";import"./index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js";import"./HKbd-By3ZrrUU.js";import"./index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js";import"./useMainPage-C9MASyfo.js";const A={key:0},D={class:"header-container"},E={class:"menu flex of-hidden transition-all"},Q=["title","onClick"],W={class:"inline-flex flex-1 items-center justify-center gap-1"},q={class:"w-full flex-1 truncate text-sm transition-height transition-opacity transition-width"},G=C({name:"LayoutHeader",__name:"index",setup(J){const l=M(),i=B(),{switchTo:w}=Y(),m=$();function S(n){(n.deltaY||n.detail!==0)&&m.value.scrollBy({left:(n.deltaY||n.detail)>0?50:-50})}return(n,K)=>{const b=I;return t(),y(F,{name:"header"},{default:j(()=>[a(l).mode==="pc"&&a(l).settings.menu.menuMode==="head"?(t(),r("header",A,[o("div",D,[x(R,{class:"title"}),o("div",{ref_key:"menuRef",ref:m,class:"menu-container",onWheel:z(S,["prevent"])},[o("div",E,[(t(!0),r(N,null,V(a(i).allMenus,(e,s)=>{var u,d,f,p,_,h,v,g;return t(),r("div",{key:s,class:k(["menu-item relative transition-all",{active:s===a(i).actived}])},[e.children&&e.children.length!==0?(t(),r("div",{key:0,class:k(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-3 text-[var(--g-header-menu-color)] transition-all hover-bg-[var(--g-header-menu-hover-bg)] hover-text-[var(--g-header-menu-hover-color)]",{"text-[var(--g-header-menu-active-color)]! bg-[var(--g-header-menu-active-bg)]!":s===a(i).actived}]),title:typeof((u=e.meta)==null?void 0:u.title)=="function"?(d=e.meta)==null?void 0:d.title():(f=e.meta)==null?void 0:f.title,onClick:O=>a(w)(s)},[o("div",W,[(p=e.meta)!=null&&p.icon?(t(),y(b,{key:0,name:(_=e.meta)==null?void 0:_.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):c("",!0),o("span",q,H(typeof((h=e.meta)==null?void 0:h.title)=="function"?(v=e.meta)==null?void 0:v.title():(g=e.meta)==null?void 0:g.title),1)])],10,Q)):c("",!0)],2)}),128))])],544),x(T)])])):c("",!0)]),_:1})}}}),ue=L(G,[["__scopeId","data-v-98464ad0"]]);export{ue as default}; +import{d as C,u as M,a8 as B,r as $,g as t,z as y,w as j,i as a,c as r,e as o,b as x,x as z,F as N,s as V,A as c,aa as F,Q as k,t as H,j as I,l as L}from"./index-6QRvoxq4.js";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang-CJnFI54p.js";import{_ as T}from"./rightSide.vue_vue_type_script_setup_true_lang-Bh_y80-_.js";import{u as Y}from"./useMenu-DJ8_3Y3q.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js";import"./index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js";import"./HDropdown-7q7O_XMK.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js";import"./use-resolve-button-type-BE1XPlJv.js";import"./index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js";import"./index-B0yaT7Pj.js";import"./index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js";import"./HKbd-Be5shIQ7.js";import"./index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js";import"./useMainPage--yVtHxDh.js";const A={key:0},D={class:"header-container"},E={class:"menu flex of-hidden transition-all"},Q=["title","onClick"],W={class:"inline-flex flex-1 items-center justify-center gap-1"},q={class:"w-full flex-1 truncate text-sm transition-height transition-opacity transition-width"},G=C({name:"LayoutHeader",__name:"index",setup(J){const l=M(),i=B(),{switchTo:w}=Y(),m=$();function S(n){(n.deltaY||n.detail!==0)&&m.value.scrollBy({left:(n.deltaY||n.detail)>0?50:-50})}return(n,K)=>{const b=I;return t(),y(F,{name:"header"},{default:j(()=>[a(l).mode==="pc"&&a(l).settings.menu.menuMode==="head"?(t(),r("header",A,[o("div",D,[x(R,{class:"title"}),o("div",{ref_key:"menuRef",ref:m,class:"menu-container",onWheel:z(S,["prevent"])},[o("div",E,[(t(!0),r(N,null,V(a(i).allMenus,(e,s)=>{var u,d,f,p,_,h,v,g;return t(),r("div",{key:s,class:k(["menu-item relative transition-all",{active:s===a(i).actived}])},[e.children&&e.children.length!==0?(t(),r("div",{key:0,class:k(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-3 text-[var(--g-header-menu-color)] transition-all hover-bg-[var(--g-header-menu-hover-bg)] hover-text-[var(--g-header-menu-hover-color)]",{"text-[var(--g-header-menu-active-color)]! bg-[var(--g-header-menu-active-bg)]!":s===a(i).actived}]),title:typeof((u=e.meta)==null?void 0:u.title)=="function"?(d=e.meta)==null?void 0:d.title():(f=e.meta)==null?void 0:f.title,onClick:O=>a(w)(s)},[o("div",W,[(p=e.meta)!=null&&p.icon?(t(),y(b,{key:0,name:(_=e.meta)==null?void 0:_.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):c("",!0),o("span",q,H(typeof((h=e.meta)==null?void 0:h.title)=="function"?(v=e.meta)==null?void 0:v.title():(g=e.meta)==null?void 0:g.title),1)])],10,Q)):c("",!0)],2)}),128))])],544),x(T)])])):c("",!0)]),_:1})}}}),ue=L(G,[["__scopeId","data-v-98464ad0"]]);export{ue as default}; diff --git a/public/admin/assets/index-D5jQENXK.js b/AIWebQuickDeploy/public/admin/assets/index-CbgLRpel.js similarity index 95% rename from public/admin/assets/index-D5jQENXK.js rename to AIWebQuickDeploy/public/admin/assets/index-CbgLRpel.js index ed6479c..9dd9f9f 100644 --- a/public/admin/assets/index-D5jQENXK.js +++ b/AIWebQuickDeploy/public/admin/assets/index-CbgLRpel.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as D,N as O,u as M,n as $,i as w,g as b,z as C,w as _,b as F,c as I,s as B,F as H,ad as L,A as V,h as U,t as z,l as G}from"./index-nGFMSQGw.js";import q from"./index-CeCYhShg.js";import{_ as J}from"./item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js";function K(t){for(var a=[],e=0;e=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===95){d+=t[r++];continue}break}if(!d)throw new TypeError("Missing parameter name at ".concat(e));a.push({type:"NAME",index:e,value:d}),e=r;continue}if(u==="("){var f=1,o="",r=e+1;if(t[r]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(r));for(;r{const r=[];return e.settings.home.enable&&r.push({path:e.settings.home.fullPath,title:e.settings.home.title}),a.meta.breadcrumbNeste&&a.meta.breadcrumbNeste.forEach(i=>{i.hide===!1&&r.push({path:i.path,title:i.title})}),r});function d(r){return W(r)(a.params)}return(r,i)=>w(e).mode==="pc"&&w(e).settings.app.routeBaseOn!=="filesystem"?(b(),C(q,{key:0,class:"breadcrumb whitespace-nowrap px-2"},{default:_(()=>[F(L,{name:"breadcrumb"},{default:_(()=>[(b(!0),I(H,null,B(w(u),(f,o)=>(b(),C(J,{key:`${o}_${f.path}_${f.title}`,to:o[U(z(f.title),1)]),_:2},1032,["to"]))),128))]),_:1})]),_:1})):V("",!0)}}),re=G(j,[["__scopeId","data-v-3d594f3a"]]);export{re as default}; +import{d as D,N as O,u as M,n as $,i as w,g as b,z as C,w as _,b as F,c as I,s as B,F as H,ad as L,A as V,h as U,t as z,l as G}from"./index-6QRvoxq4.js";import q from"./index-BE5tQEZB.js";import{_ as J}from"./item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js";function K(t){for(var a=[],e=0;e=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122||i===95){d+=t[r++];continue}break}if(!d)throw new TypeError("Missing parameter name at ".concat(e));a.push({type:"NAME",index:e,value:d}),e=r;continue}if(u==="("){var f=1,o="",r=e+1;if(t[r]==="?")throw new TypeError('Pattern cannot start with "?" at '.concat(r));for(;r{const r=[];return e.settings.home.enable&&r.push({path:e.settings.home.fullPath,title:e.settings.home.title}),a.meta.breadcrumbNeste&&a.meta.breadcrumbNeste.forEach(i=>{i.hide===!1&&r.push({path:i.path,title:i.title})}),r});function d(r){return W(r)(a.params)}return(r,i)=>w(e).mode==="pc"&&w(e).settings.app.routeBaseOn!=="filesystem"?(b(),C(q,{key:0,class:"breadcrumb whitespace-nowrap px-2"},{default:_(()=>[F(L,{name:"breadcrumb"},{default:_(()=>[(b(!0),I(H,null,B(w(u),(f,o)=>(b(),C(J,{key:`${o}_${f.path}_${f.title}`,to:o[U(z(f.title),1)]),_:2},1032,["to"]))),128))]),_:1})]),_:1})):V("",!0)}}),re=G(j,[["__scopeId","data-v-3d594f3a"]]);export{re as default}; diff --git a/AIWebQuickDeploy/public/admin/assets/index-Cho6Pr_4.js b/AIWebQuickDeploy/public/admin/assets/index-Cho6Pr_4.js new file mode 100644 index 0000000..103c24e --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/index-Cho6Pr_4.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BGlBKwum.js";import"./HKbd-Be5shIQ7.js";import"./index-6QRvoxq4.js";import"./index-BE5tQEZB.js";import"./item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js";export{o as default}; diff --git a/public/admin/assets/index-CyUQOSLA.css b/AIWebQuickDeploy/public/admin/assets/index-CyUQOSLA.css similarity index 100% rename from public/admin/assets/index-CyUQOSLA.css rename to AIWebQuickDeploy/public/admin/assets/index-CyUQOSLA.css diff --git a/public/admin/assets/index-D4nnD7rC.css b/AIWebQuickDeploy/public/admin/assets/index-D4nnD7rC.css similarity index 100% rename from public/admin/assets/index-D4nnD7rC.css rename to AIWebQuickDeploy/public/admin/assets/index-D4nnD7rC.css diff --git a/public/admin/assets/index-2ff-Jv0C.js b/AIWebQuickDeploy/public/admin/assets/index-D5dkoBo_.js similarity index 99% rename from public/admin/assets/index-2ff-Jv0C.js rename to AIWebQuickDeploy/public/admin/assets/index-D5dkoBo_.js index 3859f64..9a6c9a5 100644 --- a/public/admin/assets/index-2ff-Jv0C.js +++ b/AIWebQuickDeploy/public/admin/assets/index-D5dkoBo_.js @@ -5,7 +5,7 @@ * https://fantastic-admin.github.io */ -import{b as s,C as R,s as Y,t as O,d as x,m as w,n as X,h as d,L as k,i as h,c as l,j as f,k as u,f as y,l as g,a as j,e as U,g as G,I as b,N as Z}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const _=177,q=179,E=184,v=12,C=13,D=17,z=20,F=25,B=53,N=95,I=142,L=144,A=145,J=148,M=10,H=13,K=32,OO=9,$=47,QO=41,eO=125,aO=new s((Q,e)=>{for(let n=0,a=Q.next;(e.context&&(a<0||a==M||a==H||a==$&&Q.peek(n+1)==$)||a==QO||a==eO)&&Q.acceptToken(_),!(a!=K&&a!=OO);)a=Q.peek(++n)},{contextual:!0});let tO=new Set([N,E,z,v,D,L,A,I,J,C,B,F]);const iO=new R({start:!1,shift:(Q,e)=>e==q?Q:tO.has(e)}),XO=Y({"func interface struct chan map const type var":O.definitionKeyword,"import package":O.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":O.controlKeyword,range:O.keyword,Bool:O.bool,String:O.string,Rune:O.character,Number:O.number,Nil:O.null,VariableName:O.variableName,DefName:O.definition(O.variableName),TypeName:O.typeName,LabelName:O.labelName,FieldName:O.propertyName,"FunctionDecl/DefName":O.function(O.definition(O.variableName)),"TypeSpec/DefName":O.definition(O.typeName),"CallExpr/VariableName":O.function(O.variableName),LineComment:O.lineComment,BlockComment:O.blockComment,LogicOp:O.logicOperator,ArithOp:O.arithmeticOperator,BitOp:O.bitwiseOperator,"DerefOp .":O.derefOperator,"UpdateOp IncDecOp":O.updateOperator,CompareOp:O.compareOperator,"= :=":O.definitionOperator,"<-":O.operator,'~ "*"':O.modifier,"; ,":O.separator,"... :":O.punctuation,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),nO={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},PO=x.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQQO'#DsO4QQTO'#GqO,^QTO'#GaO4XQQO'#DxO4^QQO'#D{OOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETO4cQQO'#EPO5}QQO'#EPOOQP'#Ga'#GaO6UQQO'#E`O6^QQO'#EcOOQP'#G`'#G`O6cQQO'#EsOOQP'#G_'#G_O&]QRO'#FnOOQO'#Fn'#FnO9QQQO'#G^QOQQOOO&]QROOO9XQQO'#C`O9^QSO'#CdO9lQQO'#C}O9tQQO'#DSO9yQQO'#D[O:kQQO'#CsO:pQQO'#DhO:uQQO'#EeO:}QQO'#EiO;VQQO'#EoO;_QQO'#EuOPQSO7+%hOOQP7+%h7+%hO4cQQO7+%hOOQP1G0Q1G0QO!>^QQO1G0QOOQP1G0U1G0UO!>fQQO1G0UOF|QQO1G0UOOQO,5nAN>nO4cQQOAN>nO!IsQSOAN>nOOQP<nQQO'#FrOOQO,5vAN>vO!LtQQOAN>vP.hQQO'#F|OOQPG25XG25XO!LyQQOG25bO!MOQQO'#FPOOQPG25bG25bO!MZQQOG25bOOQPLD)tLD)tOOQPG24bG24bO!JqQQOLD*|O!9OQQO'#GQO!McQQO,5;kOOQP,5;k,5;kO?tQQO'#FQO!MnQQO'#FQO!MsQQOLD*|OOQP!$'Nh!$'NhOOQO,5VO^!hOh!POr-TOw}O!P-_O!Q-`O!W-^O!]-eO%O!eO%Y!fO~OZ!sO~O^#uO~O!P$xO~On!lO#W%]aV%]a^%]ah%]ar%]aw%]a!P%]a!Q%]a!W%]a!]%]a#T%]a$w%]a%O%]a%Y%]au%]a~O]${O^#QO~OZ#RO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O]$|O!|,WO~PBROj!qOn%QO!QnOi%cP~P*aO!V%WO!|#`O~PBRO!V%YO~OV!}O[oO^YOaoOdoOh!POjcOr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO#Y!RO#^!SO#d!TO#j!UO#m!VO#v!WO#{!XO#}!YO$S!ZO$U![O$V![O$W!]O$Y!^O$[!_O%OQO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~Oi%dX#p%dX#q%dX~PDQOi%]O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-QO!WaO!]!QO!phO!qhO%O+{O%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^%aO%O%_O~O!QnO!a%cO~P*aO!QnOn$mX#T$mX#U$mXV$mX$w$mX!a$mX~P*aOn#TO#T%ea#U%eaV%ea$w%ea!a%ea~O]%fO~PF|OV#ga$w#ga~PDTO[%sO~OZ#rO[#qO]%vO%O#oO~O^!hOh!POn%zOr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO]%[P~O^&OOh!POr!jOw}O!P!OO!Q!kO!WaO!]!QO%Y!fO^%ZXj%ZX~O%O%}O~PKfOjcO^qa]qanqa!Vqa~O^#uO!W&SO~O^!hOh!POr-TOw}O{&WO!P-_O!Q-`O!W-^O!]-eO%O,xO%Y!fO~Oi&^O~PL{O^!hOh!POr!jOw}O!Q!kO!WaO!]!QO%O!eO%Y!fO~O!P#hO~PMwOi&eO%O,yO%Y!fO~O#T&gOV#ZX$w#ZX~P?tO]&kO%O#oO~O^!hOh!POr-TOw}O!P-_O!Q-`O!]-eO%O!eO%Y!fO~O!W&lO#T&mO~P! _O]&qO%O#oO~O#T&sOV#eX$w#eX~P?tO]&vO%O#oO~OjeX~P$XOjcO!|,XO~P2gOn!lO#W&yO#W%]X~O^#VOn#TO!Q#cO!W#SO!|,XO#R#dO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]OV`X#T%eX#U%eX~OZ&zOj$`O$w`X~P!#cOi'OO#p'PO#q'QO~OZ#ROjcO~P!#cO#T'TO#U#iO~O#W'UO~OV'WO!QnO~P*aOV'XO~OjcO~O!|#`OV#za$w#za~PBROi'[O#p']O#q'^O~On#TO!|#`OV%eX$w%eX!a%eX~PBRO!|#`OV$Za$w$Za~PBRO${$rO$|$rO$}'`O~O]${O~O%O!eO]%ZXn%ZX!V%ZX~PKfO!|#`Oi!_Xn!_X!a!`X~PBROi!_Xn!_X!a!`X~O!a'aO~On'bOi%cX~Oi'dO~On'eO!V%bX!a%bX~O!V'gO~O]'jOn'kO!|,YO~PBROn'nO!V'mO!a'oO!|#`O~PBRO!QnO!V'qO!a'rO~P*aO!|#`On$ma#T$ma#U$maV$ma$w$ma!a$ma~PBRO]'sOu'tO~O%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi!|!xi#R!xi#T!xi#U!xi$w!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~O!V!xii!xi!a!xi~P!+YO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi!V!xii!xi!a!xi~O!|!xi~P!-TO!|#`O~P!-TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%q!xi~O!|#`O!V!xii!xi!a!xi~P!/VO!|#`OV#Pi$w#Pi!a#Pi~PBRO]'uOn'wOu'vO~OZ#rO[#qO]'zO%O#oO~Ou'|O~P?tOn'}O]%[X~O](PO~OZeX^mX^!TXj!TX!W!TX~OjcOV$]i$w$]i~O%`(ZOV%^X$w%^Xn%^X!V%^X~Oi(`O~PL{O[(aO!W!tOVlX$wlX~On(bO~P?tO[(aOVlX$wlX~Oi(hO%O,yO%Y!fO~O!V(iO~O#T(kO~O](nO%O#oO~O[oO^YOaoOdoOh!POr!pOu-bOw}O!P!OO!QnO!V-UO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O+zO~P!4vO](sO%O#oO~O#T(tOV#ea$w#ea~O](xO%O#oO~O#k(yOV#ii$w#ii~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-PO!WaO!]!QO!phO!qhO%O+xO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^(|O%O%_O~O#p%dP#q%dP~P/uOi)PO#p'PO#q'QO~O!a)RO~O!QnO#y)VO~P*aOV)WO!|#`O~PBROj#wa~P;_OV)WO!QnO~P*aOi)]O#p']O#q'^O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O,eO~P!:lO!a)bO~Oj!qO!QnO~P*aOj!qO!QnOi%ca~P*aOn)iOi%ca~O!V%ba!a%ba~P?tOn)lO!V%ba!a%ba~O])nO~O])oO~O!V)pO~O!QnO!V)rO!a)sO~P*aO!V)rO!a)sO!|#`O~PBRO])uOn)vO~O])wOn)xO~O^!hOh!POr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO~O]%[a~P!>nOn)|O]%[a~O]${O]tXntX~OjcOV$^q$w$^q~On*PO{&WO~P?tOn*SO!V%rX~O!V*UO~OjcOV$]q$w$]q~O%`(ZOV|a$w|an|a!V|a~O[*]OVla$wla~O[*]O!W!tOVla$wla~On*PO{&WO!W*`O^%WXj%WX~P! _OjcO#j!UO~OjcO!|,XO~PBROZ*dO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O!|#`O~P!BoO#^*eO~P?tO!a*fO~Oj$`O!|,XO~P!BoO#W*hO~Oj#wi~P;_OV*kO!|#`O~PBROn#TO!Q#cO!|#`O!a$QX#T%eX~PBRO#T*lO~O#W*lO~O!a*mO~O!|#`Oi!_in!_i~PBRO!|#`Oi!bXn!bX!a!cX~PBROi!bXn!bX!a!cX~O!a*nO~Oj!qO!QnOi%ci~P*aO!V%bi!a%bi~P?tO!V*qO!a*rO!|#`O~PBRO!V*qO!|#`O~PBRO]*tO~O]*uO~O]*uOu*vO~O]%[i~P!>nO%O!eO!V%ra~On*|O!V%ra~O[+OOVli$wli~O%O+yO~P!4vO#k+QOV#iy$w#iy~O^+RO%O%_O~O]+SO~O!|,XOj#xq~PBROj#wq~P;_O!V+ZO!|#`O~PBRO]+[On+]O~O%O!eO!V%ri~O^#QOn'eO!V%bX~O#^+`O~P?tOj+aO~O^#VO!W#SO!|#`O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~OZ+cO~P!JvO!|#`O!a$Qi~PBRO!|#`Oi!bin!bi~PBRO!V+dO!|#`O~PBRO]+eO~O]+fO~Oi+iO#p+jO#q+kO~O^+lO%O%_O~Oi+pO#p+jO#q+kO~O!a+rO~O#^+sO~P?tO!a+tO~O]+uO~OZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXVeXneX!QeX#ReX#TeX#UeX$weX~O]eX]!TX!VeXieX!aeX~P!NUOjeX~P!NUOZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXn!TX!VeX~O]eX!V!TX~P#!gOh!TXr!TXw!TX{!TX!P!TX!Q!TX!]!TX%O!TX%Y!TX~P#!gOZeX^eX^!TXj!TXneX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeX~O]eXueX~P#$xO]$mXn$mXu$mX~PF|Oj$mXn$mX~P!7`On+|O]%eau%ea~On+}Oj%ea~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-OO!WaO!]!QO!phO!qhO%O+yO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~OZeX]!TX^UXhUXnUXn!TXrUXuUXwUX!PUX!QUX!WUX!W!TX!]UX%OUX%YUX~OnUX!QeX!aeX#TeX#WUX~P#$xOn+|O!|,YO]%eXu%eX~PBROn+}O!|,XOj%eX~PBRO^&OOV%ZXj%ZX$w%ZX]%ZXn%ZX!V%ZXu%ZX%`%ZX#T%ZX[%ZX!a%ZX~P?wO!|,YO]$man$mau$ma~PBRO!|,XOj$man$ma~PBRO%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~Oj!xi~P!+YOn!xiu!xi~P#,hO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%p!xi%q!xi~O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xij!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi~O!|!xi~P#/_On!xiu!xi~P#.TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi%p!xi%q!xi~O!|,WO~P#1^O!|,XO~P#/_O!|,YOn!xiu!xi~P#1^O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OZ!xi]!xi^!xi!W!xi%q!xi~O!|,WO~P#3QO!|,XOj!xi~P!/VO!|,YOn!xiu!xi~P#3QO!|,XOj#Pi~PBROV!TXZeX^mX!W!TX$w!TX~O%`!TX~P#5RO[!TXhmXnmXrmXwmX!PmX!QmX!WmX!]mX%OmX%YmX~P#5ROn#TO!Q,aO!|,XO#R#dOj`X#T%eX#U%eX~PBRO[oO^YOaoOdoOh!POr!pOw}O!P#hO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O!Q-OO%O+yO~P#6{O!Q-PO%O+xO~P#6{O!Q-QO%O+{O~P#6{O#T,bO#U,bO~O#W,cO~O^!hOh!POr-TOw}O!P-_O!Q-WO!W-^O!]-eO%O!eO%Y!fO~O^!hOh!POr-TOw}O!Q-`O!W-^O!]-eO%O!eO%Y!fO~O!P-VO~P#9zO%O+wO~P!4vO!P-XO~O!V-YO!|#`O~PBRO!V-ZO~O!V-[O~O!W-dO~OP%ka%Oa~",goto:"!FW%sPP%tP%wP%zP'SP'XPPPP'`'cP'u'uP)w'u-_PPP0j0m0qP1V4b1VP7s8WP1VP8a8d8hP8p8w1VPP1V8{<`?vPPCY-_-_-_PCdCuCxPC{DQ'u'uDV'uES'u'u'u'uGUIW'uPPJR'uJUMjMjMj'u! r! r!#SP!$`!%d!&d'cP'cPP'cP!&yP!'V!'^!&yP!'a!'h!'n!'w!&yP!'z!(R!&y!(U!(fPP!&yP!(x!)UPP!&y!)Y!)c!&yP!)g!)gP!&yP!&yP!)j!)m!&v!&yP!&yPPP!&yP!&yP!)q!)q!)w!)}!*U!*[!*d!*j!*p!*w!*}!+T!+Z!.q!.x!/O!/X!/m!/s!/z!0Q!0W!0^!0d!0jPPPPPPPPP!0p!1f!1k!1{!2kPP!7P!:^P!>u!?Z!?_!@Z!@fP!@p!D_!Df!Di!DuPPPPPPPPPPPP!FSR!aPRyO!WXOScw!R!T!U!W#O#k#n#u$R$X&O&j&u&|'W'Y']'})W)|*k*w+gQ#pzU#r{#s%uQ#x|U$T!S$U&pQ$^!VQ$y!lR)U'RVROS#nQ#t{T%t#s%uR#t{qrOScw!U!V!W#O#k#n&|'W'Y)W*k+g%PoOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%O]OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^#u!iW^!O!h!t!z#e#h#u#v#y#|#}$P$Q$T$W$v$x%W%Y%a%x%y&O&S&W&]&`&b&d&m'e'|'}(S([(c(i(o(|)l)|*P*Q*S*p*w*|+R+^+j+l,h-U-V-W-X-Y-Z-[-]-_-d'cbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR$O!PT&c#}&dW%`#R&z*d+cQ&Q#vS&V#y&]S&`#}&dR*Y(b'cZOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d%fWOSWYacmnw!O!U!V!W!X!Z!_!q!z#O#Q#S#T#V#^#_#`#a#b#c#h#i#j#k#n#v#|$f$v$x%W%Y%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(i(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S&b#}&d!{-]!h!t#e#u#y$P$Q$T$W%a%x%y&O&W&]&`&m'e'|'}(S([(c(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-dQ#v|S$v!j!pU&P#v$v,hZ,h#x&Q&U&V-TS%{#u&OV){'})|*wR#z}T&[#y&]]&X#y&](S([(o*QZ&Z#y&](S(o*QT([&Y(]'s_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d'r_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!w^'bbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&a#}&dR(d&bS!u]fX!x`&_(e(oQ!r[Q%O!qQ)d'aU)f'b)i*oR+X*nR%R!qR%P!qV)h'b)i*oV)g'b)i*odtOScw#O#k#n&|'Y+gQ$h!WQ&R#wQ&w$[S'S$c$iQ(V&TQ*O(RQ*V(WQ*b(yQ*c(zR+_+Q%PfOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%PgOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^!q#Weg!o!y$[$_$c$j$m$q$}%^%b%d%m'V'p(z({)S)Y)^)c)e)q)t*i*s+T+V+W+Y,f,g,i,j,w,z-aR#fh#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z[,V%^,f,i,p,s,v`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q!Y#^e!y$j$m$q$}%b%d%i%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aY,Q!o,k,n,q,tl,R$[$_$c(z)S*i,g,j,l,o,r,u,w,z_,S%^,f,i,m,p,s,v!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z],V%^,f,i,p,s,v!S#ae!y$j$m$q$}%b%d%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aS,Z!o,tf,[$[$_$c(z)S*i,g,j,u,w,zX,]%^,f,i,v!Q#be!y$j$m$q$}%b%d%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aQ,^!od,_$[$_$c(z)S*i,g,j,w,zV,`%^,f,iprOScw!U!V!W#O#k#n&|'W'Y)W*k+gR)a']etOScw#O#k#n&|'Y+gQ$S!RT&i$R&jR$S!RQ$V!ST&o$U&pQ&U#xR&m$TS(T&S&lV*{*S*|+^R$V!SQ$Y!TT&t$X&uR$Y!TdsOScw#O#k#n&|'Y+gT$p![!]dtOScw#O#k#n&|'Y+gQ*b(yR+_+QQ$a!VQ&{$_Q)T'RR*g)ST&|$`&}Q+b+SQ+m+fR+v+uT+g+a+hR$i!WR$l!YT'Y$k'ZXuOSw#nQ$s!`R'_$sSSO#nR!dSQ%u#sR'y%uUwOS#nR#mwQ&d#}R(g&dQ(c&`R*Z(cS!mX$^R$z!mQ(O%{R)}(OQ&]#yR(_&]Q(]&YR*X(]'r^OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!v^S'f%T+PR)m'fQ'c%RR)j'cW#Oc&|'Y+gR%[#O^#Ue$[$_$c$m)^,zU%e#U,O,PQ,O,fR,P,gQ&j$RR(m&jS*Q(S(oR*y*QQ*T(TR*}*TQ&p$UR(r&pQ&u$XR(w&uQ&}$`R)O&}Q+h+aR+o+hQ'Z$kR)['ZQ!cRQ#luQ#nyQ%Z!|Q&x$]Q'R$bQ'x%tQ(^&[Q(f&cQ(l&iQ(q&oR(v&tVxOS#nWuOSw#nY!|c#O&|'Y+gR%r#kdtOScw#O#k#n&|'Y+gQ$]!UQ$b!VQ$g!WQ)X'WQ*j)WR+U*kdeOScw#O#k#n&|'Y+gQ!oYQ!ya`#gmn,{,|,}-O-P-QQ$[!UQ$_!VQ$c!WQ$j!Xd$m!Z#i#j&g&s'P'T'U(k(tQ$q!_Q$}!qQ%^#QQ%b#SQ%d#TW%h#^,Q,R,SQ%i#_Q%j#`Q%k#aQ%l#bQ%m#cQ'V$fQ'p%cQ(z&xQ({&yQ)S'RQ)Y'XQ)^']Q)c'aU)e'b)i*oQ)q'oQ)t'rQ*i)VQ*s)sQ+T*hQ+V*lQ+W*nQ+Y*rS,f#V'wS,g,b,cQ,i+|Q,j+}Q,k,TQ,l,UQ,m,VQ,n,WQ,o,XQ,p,YQ,q,ZQ,r,[Q,s,]Q,t,^Q,u,_Q,v,`Q,w,aU,z'W)W*kV-a&l*`-^#bZW!O!h!t!z#e#h#u#v#y#|$P$Q$T$W$v$x%W%Y%a%x%y&O&W&]&`&m'e'|'}(S([(c(i(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-d%P[OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^$zdOSacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S!gW-]Q!nYS#{!O-_Q$u!hS%T!t+jS%X!z-UQ%n#e[%o#h#|$x-V-W-XW%w#u'})|*wU&P#v$v,h[&X#y&](S([(o*QQ&f$PQ&h$QQ&n$TQ&r$WS'h%W-YS'i%Y-ZW'l%a(|+R+lS'{%x%yQ(Q&OQ(Y&WQ(d&`Q(p&mU)k'e)l*pQ)z'|Q*[(cS*^(i-[Q+P*`R-c-dS#w|!pS$w!j-TQ&T#xQ(R&QQ(W&UR(X&VT%|#u&OhqOScw!U!V#O#k#n&|'Y+gU$Q!R$R&jU$W!T$X&uQ$e!WY%y#u&O'})|*wQ)`']V-S'W)W*kS&[#y&]S*R(S(oR*z*QY&Y#y&](S(o*QR*W(['``OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:iO,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[XO],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k<%lO&y~'mOd~~'pRO;'S&y;'S;=`'y;=`O&y~(OXd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k;=`<%l&y<%lO&y~(nP;=`<%l&y~(vO^~~({O]~~)QP%Y~!_!`&X~)YQ%f~{|)`!_!`&X~)eO#R~~)jOn~~)oQ%g~}!O)`!_!`&X~)zRZS!O!P*T!Q![*`#R#S+w~*WP!O!P*Z~*`Ou~Q*eTaQ!Q![*`!g!h*t#R#S+w#X#Y*t#]#^+rQ*wS{|+T}!O+T!Q![+^#R#S+lQ+WQ!Q![+^#R#S+lQ+cRaQ!Q![+^#R#S+l#]#^+rQ+oP!Q![+^Q+wOaQQ+zP!Q![*`~,SR%k~z{,]!P!Q,b!_!`&X~,bO$z~~,gSP~OY,bZ;'S,b;'S;=`,s<%lO,b~,vP;=`<%l,bQ-O[aQ!O!P*`!Q![-t!d!e.c!g!h*t!q!r/Z!z!{/x#R#S.]#U#V.c#X#Y*t#]#^+r#c#d/Z#l#m/xQ-yUaQ!O!P*`!Q![-t!g!h*t#R#S.]#X#Y*t#]#^+rQ.`P!Q![-tQ.fR!Q!R.o!R!S.o#R#S/QQ.tSaQ!Q!R.o!R!S.o#R#S/Q#]#^+rQ/TQ!Q!R.o!R!S.oQ/^Q!Q!Y/d#R#S/rQ/iRaQ!Q!Y/d#R#S/r#]#^+rQ/uP!Q!Y/dQ/{T!O!P0[!Q![1c!c!i1c#R#S2Q#T#Z1cQ0_S!Q![0k!c!i0k#R#S1V#T#Z0kQ0pVaQ!Q![0k!c!i0k!r!s*t#R#S1V#T#Z0k#]#^+r#d#e*tQ1YR!Q![0k!c!i0k#T#Z0kQ1hWaQ!O!P0k!Q![1c!c!i1c!r!s*t#R#S2Q#T#Z1c#]#^+r#d#e*tQ2TR!Q![1c!c!i1c#T#Z1c~2cP!a~!_!`2f~2kO#W~~2pOV~~2uR!|S}!O3O!^!_3T!_!`$S~3TO!Q~~3YP%m~!_!`&X~3bP#T~!_!`$S~3jQ!|S!_!`$S!`!a3p~3uP%n~!_!`&X~3}V%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~4gP;=`<%l3x~4oO!W~~4tO!V~~4yP%i~!_!`&X~5RV%O~!Q![5h!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~5o^aQ%O~!O!P*`!Q![5h!c!g3x!g!h6k!h!}3x#R#S4|#T#X3x#X#Y6k#Y#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~6pX%O~{|+T}!O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[aO,1,2,new w("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:Q=>nO[Q]||-1}],tokenPrec:5451}),oO=[X("func ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"declaration",type:"keyword"}),X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),X("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),X("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),X("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),X("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),X("for ${init}; ${test}; ${update} {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),X("for ${i} := range ${value} {\n ${}\n}",{label:"for",detail:"range",type:"keyword"}),X(`select { +import{b as s,C as R,s as Y,t as O,d as x,m as w,n as X,h as d,L as k,i as h,c as l,j as f,k as u,f as y,l as g,a as j,e as U,g as G,I as b,N as Z}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const _=177,q=179,E=184,v=12,C=13,D=17,z=20,F=25,B=53,N=95,I=142,L=144,A=145,J=148,M=10,H=13,K=32,OO=9,$=47,QO=41,eO=125,aO=new s((Q,e)=>{for(let n=0,a=Q.next;(e.context&&(a<0||a==M||a==H||a==$&&Q.peek(n+1)==$)||a==QO||a==eO)&&Q.acceptToken(_),!(a!=K&&a!=OO);)a=Q.peek(++n)},{contextual:!0});let tO=new Set([N,E,z,v,D,L,A,I,J,C,B,F]);const iO=new R({start:!1,shift:(Q,e)=>e==q?Q:tO.has(e)}),XO=Y({"func interface struct chan map const type var":O.definitionKeyword,"import package":O.moduleKeyword,"switch for go select return break continue goto fallthrough case if else defer":O.controlKeyword,range:O.keyword,Bool:O.bool,String:O.string,Rune:O.character,Number:O.number,Nil:O.null,VariableName:O.variableName,DefName:O.definition(O.variableName),TypeName:O.typeName,LabelName:O.labelName,FieldName:O.propertyName,"FunctionDecl/DefName":O.function(O.definition(O.variableName)),"TypeSpec/DefName":O.definition(O.typeName),"CallExpr/VariableName":O.function(O.variableName),LineComment:O.lineComment,BlockComment:O.blockComment,LogicOp:O.logicOperator,ArithOp:O.arithmeticOperator,BitOp:O.bitwiseOperator,"DerefOp .":O.derefOperator,"UpdateOp IncDecOp":O.updateOperator,CompareOp:O.compareOperator,"= :=":O.definitionOperator,"<-":O.operator,'~ "*"':O.modifier,"; ,":O.separator,"... :":O.punctuation,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),nO={__proto__:null,package:10,import:18,true:380,false:380,nil:383,struct:48,func:68,interface:78,chan:94,map:118,make:157,new:159,const:204,type:212,var:224,if:236,else:238,switch:242,case:248,default:250,for:260,range:266,go:270,select:274,return:284,break:288,continue:290,goto:292,fallthrough:296,defer:300},PO=x.deserialize({version:14,states:"!=xO#{QQOOP$SOQOOO&UQTO'#CbO&]QRO'#FlO]QQOOOOQP'#Cn'#CnOOQP'#Co'#CoO&eQQO'#C|O(kQQO'#C{O)]QRO'#GiO+tQQO'#D_OOQP'#Ge'#GeO+{QQO'#GeO.aQTO'#GaO.hQQO'#D`OOQP'#Gm'#GmO.mQRO'#GdO/hQQO'#DgOOQP'#Gd'#GdO/uQQO'#DrO2bQQO'#DsO4QQTO'#GqO,^QTO'#GaO4XQQO'#DxO4^QQO'#D{OOQO'#EQ'#EQOOQO'#ER'#EROOQO'#ES'#ESOOQO'#ET'#ETO4cQQO'#EPO5}QQO'#EPOOQP'#Ga'#GaO6UQQO'#E`O6^QQO'#EcOOQP'#G`'#G`O6cQQO'#EsOOQP'#G_'#G_O&]QRO'#FnOOQO'#Fn'#FnO9QQQO'#G^QOQQOOO&]QROOO9XQQO'#C`O9^QSO'#CdO9lQQO'#C}O9tQQO'#DSO9yQQO'#D[O:kQQO'#CsO:pQQO'#DhO:uQQO'#EeO:}QQO'#EiO;VQQO'#EoO;_QQO'#EuOPQSO7+%hOOQP7+%h7+%hO4cQQO7+%hOOQP1G0Q1G0QO!>^QQO1G0QOOQP1G0U1G0UO!>fQQO1G0UOF|QQO1G0UOOQO,5nAN>nO4cQQOAN>nO!IsQSOAN>nOOQP<nQQO'#FrOOQO,5vAN>vO!LtQQOAN>vP.hQQO'#F|OOQPG25XG25XO!LyQQOG25bO!MOQQO'#FPOOQPG25bG25bO!MZQQOG25bOOQPLD)tLD)tOOQPG24bG24bO!JqQQOLD*|O!9OQQO'#GQO!McQQO,5;kOOQP,5;k,5;kO?tQQO'#FQO!MnQQO'#FQO!MsQQOLD*|OOQP!$'Nh!$'NhOOQO,5VO^!hOh!POr-TOw}O!P-_O!Q-`O!W-^O!]-eO%O!eO%Y!fO~OZ!sO~O^#uO~O!P$xO~On!lO#W%]aV%]a^%]ah%]ar%]aw%]a!P%]a!Q%]a!W%]a!]%]a#T%]a$w%]a%O%]a%Y%]au%]a~O]${O^#QO~OZ#RO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O]$|O!|,WO~PBROj!qOn%QO!QnOi%cP~P*aO!V%WO!|#`O~PBRO!V%YO~OV!}O[oO^YOaoOdoOh!POjcOr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO#Y!RO#^!SO#d!TO#j!UO#m!VO#v!WO#{!XO#}!YO$S!ZO$U![O$V![O$W!]O$Y!^O$[!_O%OQO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~Oi%dX#p%dX#q%dX~PDQOi%]O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-QO!WaO!]!QO!phO!qhO%O+{O%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^%aO%O%_O~O!QnO!a%cO~P*aO!QnOn$mX#T$mX#U$mXV$mX$w$mX!a$mX~P*aOn#TO#T%ea#U%eaV%ea$w%ea!a%ea~O]%fO~PF|OV#ga$w#ga~PDTO[%sO~OZ#rO[#qO]%vO%O#oO~O^!hOh!POn%zOr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO]%[P~O^&OOh!POr!jOw}O!P!OO!Q!kO!WaO!]!QO%Y!fO^%ZXj%ZX~O%O%}O~PKfOjcO^qa]qanqa!Vqa~O^#uO!W&SO~O^!hOh!POr-TOw}O{&WO!P-_O!Q-`O!W-^O!]-eO%O,xO%Y!fO~Oi&^O~PL{O^!hOh!POr!jOw}O!Q!kO!WaO!]!QO%O!eO%Y!fO~O!P#hO~PMwOi&eO%O,yO%Y!fO~O#T&gOV#ZX$w#ZX~P?tO]&kO%O#oO~O^!hOh!POr-TOw}O!P-_O!Q-`O!]-eO%O!eO%Y!fO~O!W&lO#T&mO~P! _O]&qO%O#oO~O#T&sOV#eX$w#eX~P?tO]&vO%O#oO~OjeX~P$XOjcO!|,XO~P2gOn!lO#W&yO#W%]X~O^#VOn#TO!Q#cO!W#SO!|,XO#R#dO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]OV`X#T%eX#U%eX~OZ&zOj$`O$w`X~P!#cOi'OO#p'PO#q'QO~OZ#ROjcO~P!#cO#T'TO#U#iO~O#W'UO~OV'WO!QnO~P*aOV'XO~OjcO~O!|#`OV#za$w#za~PBROi'[O#p']O#q'^O~On#TO!|#`OV%eX$w%eX!a%eX~PBRO!|#`OV$Za$w$Za~PBRO${$rO$|$rO$}'`O~O]${O~O%O!eO]%ZXn%ZX!V%ZX~PKfO!|#`Oi!_Xn!_X!a!`X~PBROi!_Xn!_X!a!`X~O!a'aO~On'bOi%cX~Oi'dO~On'eO!V%bX!a%bX~O!V'gO~O]'jOn'kO!|,YO~PBROn'nO!V'mO!a'oO!|#`O~PBRO!QnO!V'qO!a'rO~P*aO!|#`On$ma#T$ma#U$maV$ma$w$ma!a$ma~PBRO]'sOu'tO~O%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi!|!xi#R!xi#T!xi#U!xi$w!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~O!V!xii!xi!a!xi~P!+YO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi!V!xii!xi!a!xi~O!|!xi~P!-TO!|#`O~P!-TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OV!xiZ!xi^!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%q!xi~O!|#`O!V!xii!xi!a!xi~P!/VO!|#`OV#Pi$w#Pi!a#Pi~PBRO]'uOn'wOu'vO~OZ#rO[#qO]'zO%O#oO~Ou'|O~P?tOn'}O]%[X~O](PO~OZeX^mX^!TXj!TX!W!TX~OjcOV$]i$w$]i~O%`(ZOV%^X$w%^Xn%^X!V%^X~Oi(`O~PL{O[(aO!W!tOVlX$wlX~On(bO~P?tO[(aOVlX$wlX~Oi(hO%O,yO%Y!fO~O!V(iO~O#T(kO~O](nO%O#oO~O[oO^YOaoOdoOh!POr!pOu-bOw}O!P!OO!QnO!V-UO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O+zO~P!4vO](sO%O#oO~O#T(tOV#ea$w#ea~O](xO%O#oO~O#k(yOV#ii$w#ii~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-PO!WaO!]!QO!phO!qhO%O+xO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O^(|O%O%_O~O#p%dP#q%dP~P/uOi)PO#p'PO#q'QO~O!a)RO~O!QnO#y)VO~P*aOV)WO!|#`O~PBROj#wa~P;_OV)WO!QnO~P*aOi)]O#p']O#q'^O~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!QnO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O%O,eO~P!:lO!a)bO~Oj!qO!QnO~P*aOj!qO!QnOi%ca~P*aOn)iOi%ca~O!V%ba!a%ba~P?tOn)lO!V%ba!a%ba~O])nO~O])oO~O!V)pO~O!QnO!V)rO!a)sO~P*aO!V)rO!a)sO!|#`O~PBRO])uOn)vO~O])wOn)xO~O^!hOh!POr-TOu%xOw}O!P-_O!Q-`O!W-^O!]-eO%O,dO%Y!fO~O]%[a~P!>nOn)|O]%[a~O]${O]tXntX~OjcOV$^q$w$^q~On*PO{&WO~P?tOn*SO!V%rX~O!V*UO~OjcOV$]q$w$]q~O%`(ZOV|a$w|an|a!V|a~O[*]OVla$wla~O[*]O!W!tOVla$wla~On*PO{&WO!W*`O^%WXj%WX~P! _OjcO#j!UO~OjcO!|,XO~PBROZ*dO^#VO!W#SO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~O!|#`O~P!BoO#^*eO~P?tO!a*fO~Oj$`O!|,XO~P!BoO#W*hO~Oj#wi~P;_OV*kO!|#`O~PBROn#TO!Q#cO!|#`O!a$QX#T%eX~PBRO#T*lO~O#W*lO~O!a*mO~O!|#`Oi!_in!_i~PBRO!|#`Oi!bXn!bX!a!cX~PBROi!bXn!bX!a!cX~O!a*nO~Oj!qO!QnOi%ci~P*aO!V%bi!a%bi~P?tO!V*qO!a*rO!|#`O~PBRO!V*qO!|#`O~PBRO]*tO~O]*uO~O]*uOu*vO~O]%[i~P!>nO%O!eO!V%ra~On*|O!V%ra~O[+OOVli$wli~O%O+yO~P!4vO#k+QOV#iy$w#iy~O^+RO%O%_O~O]+SO~O!|,XOj#xq~PBROj#wq~P;_O!V+ZO!|#`O~PBRO]+[On+]O~O%O!eO!V%ri~O^#QOn'eO!V%bX~O#^+`O~P?tOj+aO~O^#VO!W#SO!|#`O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[O%q#]O~OZ+cO~P!JvO!|#`O!a$Qi~PBRO!|#`Oi!bin!bi~PBRO!V+dO!|#`O~PBRO]+eO~O]+fO~Oi+iO#p+jO#q+kO~O^+lO%O%_O~Oi+pO#p+jO#q+kO~O!a+rO~O#^+sO~P?tO!a+tO~O]+uO~OZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXVeXneX!QeX#ReX#TeX#UeX$weX~O]eX]!TX!VeXieX!aeX~P!NUOjeX~P!NUOZeX^eX^!TXj!TX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeXn!TX!VeX~O]eX!V!TX~P#!gOh!TXr!TXw!TX{!TX!P!TX!Q!TX!]!TX%O!TX%Y!TX~P#!gOZeX^eX^!TXj!TXneX!WeX!W!TX!|eX%YeX%`eX%feX%geX%ieX%jeX%keX%leX%meX%neX%oeX%peX%qeX~O]eXueX~P#$xO]$mXn$mXu$mX~PF|Oj$mXn$mX~P!7`On+|O]%eau%ea~On+}Oj%ea~O[oO^YOaoOdoOh!POr!pOw}O!P!OO!Q-OO!WaO!]!QO!phO!qhO%O+yO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~OZeX]!TX^UXhUXnUXn!TXrUXuUXwUX!PUX!QUX!WUX!W!TX!]UX%OUX%YUX~OnUX!QeX!aeX#TeX#WUX~P#$xOn+|O!|,YO]%eXu%eX~PBROn+}O!|,XOj%eX~PBRO^&OOV%ZXj%ZX$w%ZX]%ZXn%ZX!V%ZXu%ZX%`%ZX#T%ZX[%ZX!a%ZX~P?wO!|,YO]$man$mau$ma~PBRO!|,XOj$man$ma~PBRO%Y#XO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%`!xi%f!xi%g!xi%i!xi%p!xi%q!xi~Oj!xi~P!+YOn!xiu!xi~P#,hO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi!|!xi%p!xi%q!xi~O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOV!xiZ!xi^!xij!xin!xi!Q!xi!W!xi#R!xi#T!xi#U!xi$w!xi%p!xi%q!xi~O!|!xi~P#/_On!xiu!xi~P#.TO%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YOZ!xi]!xi^!xi!W!xi%p!xi%q!xi~O!|,WO~P#1^O!|,XO~P#/_O!|,YOn!xiu!xi~P#1^O%Y#XO%`#ZO%fiO%giO%i#ZO%j#YO%k#XO%l#XO%m#YO%n#YO%o#YO%p#[OZ!xi]!xi^!xi!W!xi%q!xi~O!|,WO~P#3QO!|,XOj!xi~P!/VO!|,YOn!xiu!xi~P#3QO!|,XOj#Pi~PBROV!TXZeX^mX!W!TX$w!TX~O%`!TX~P#5RO[!TXhmXnmXrmXwmX!PmX!QmX!WmX!]mX%OmX%YmX~P#5ROn#TO!Q,aO!|,XO#R#dOj`X#T%eX#U%eX~PBRO[oO^YOaoOdoOh!POr!pOw}O!P#hO!WaO!]!QO!phO!qhO%UTO%VUO%YVO%fiO%giO%hjO%ikO%jlO~O!Q-OO%O+yO~P#6{O!Q-PO%O+xO~P#6{O!Q-QO%O+{O~P#6{O#T,bO#U,bO~O#W,cO~O^!hOh!POr-TOw}O!P-_O!Q-WO!W-^O!]-eO%O!eO%Y!fO~O^!hOh!POr-TOw}O!Q-`O!W-^O!]-eO%O!eO%Y!fO~O!P-VO~P#9zO%O+wO~P!4vO!P-XO~O!V-YO!|#`O~PBRO!V-ZO~O!V-[O~O!W-dO~OP%ka%Oa~",goto:"!FW%sPP%tP%wP%zP'SP'XPPPP'`'cP'u'uP)w'u-_PPP0j0m0qP1V4b1VP7s8WP1VP8a8d8hP8p8w1VPP1V8{<`?vPPCY-_-_-_PCdCuCxPC{DQ'u'uDV'uES'u'u'u'uGUIW'uPPJR'uJUMjMjMj'u! r! r!#SP!$`!%d!&d'cP'cPP'cP!&yP!'V!'^!&yP!'a!'h!'n!'w!&yP!'z!(R!&y!(U!(fPP!&yP!(x!)UPP!&y!)Y!)c!&yP!)g!)gP!&yP!&yP!)j!)m!&v!&yP!&yPPP!&yP!&yP!)q!)q!)w!)}!*U!*[!*d!*j!*p!*w!*}!+T!+Z!.q!.x!/O!/X!/m!/s!/z!0Q!0W!0^!0d!0jPPPPPPPPP!0p!1f!1k!1{!2kPP!7P!:^P!>u!?Z!?_!@Z!@fP!@p!D_!Df!Di!DuPPPPPPPPPPPP!FSR!aPRyO!WXOScw!R!T!U!W#O#k#n#u$R$X&O&j&u&|'W'Y']'})W)|*k*w+gQ#pzU#r{#s%uQ#x|U$T!S$U&pQ$^!VQ$y!lR)U'RVROS#nQ#t{T%t#s%uR#t{qrOScw!U!V!W#O#k#n&|'W'Y)W*k+g%PoOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%O]OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^#u!iW^!O!h!t!z#e#h#u#v#y#|#}$P$Q$T$W$v$x%W%Y%a%x%y&O&S&W&]&`&b&d&m'e'|'}(S([(c(i(o(|)l)|*P*Q*S*p*w*|+R+^+j+l,h-U-V-W-X-Y-Z-[-]-_-d'cbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR$O!PT&c#}&dW%`#R&z*d+cQ&Q#vS&V#y&]S&`#}&dR*Y(b'cZOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d%fWOSWYacmnw!O!U!V!W!X!Z!_!q!z#O#Q#S#T#V#^#_#`#a#b#c#h#i#j#k#n#v#|$f$v$x%W%Y%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(i(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S&b#}&d!{-]!h!t#e#u#y$P$Q$T$W%a%x%y&O&W&]&`&m'e'|'}(S([(c(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-dQ#v|S$v!j!pU&P#v$v,hZ,h#x&Q&U&V-TS%{#u&OV){'})|*wR#z}T&[#y&]]&X#y&](S([(o*QZ&Z#y&](S(o*QT([&Y(]'s_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-d'r_OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!w^'bbOSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&a#}&dR(d&bS!u]fX!x`&_(e(oQ!r[Q%O!qQ)d'aU)f'b)i*oR+X*nR%R!qR%P!qV)h'b)i*oV)g'b)i*odtOScw#O#k#n&|'Y+gQ$h!WQ&R#wQ&w$[S'S$c$iQ(V&TQ*O(RQ*V(WQ*b(yQ*c(zR+_+Q%PfOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^%PgOSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^!q#Weg!o!y$[$_$c$j$m$q$}%^%b%d%m'V'p(z({)S)Y)^)c)e)q)t*i*s+T+V+W+Y,f,g,i,j,w,z-aR#fh#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z[,V%^,f,i,p,s,v`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q#^mOSacmnw!X!Z!_!q#O#S#T#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&y&|'P'T'U'X'Y']'a'b'o'r(k(t)i)s*`*h*l*n*o*r+g-^`,{Y,Q,T,W,Z,^,{-Ox,|!U!V!W&x'R'W)V)W*k+},R,U,X,[,_,a,b,c,|-Pg,}#Q#V'w+|,S,V,Y,],`,}-Q!Y#^e!y$j$m$q$}%b%d%i%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aY,Q!o,k,n,q,tl,R$[$_$c(z)S*i,g,j,l,o,r,u,w,z_,S%^,f,i,m,p,s,v!W#_e!y$j$m$q$}%b%d%j%k%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aW,T!o,n,q,tj,U$[$_$c(z)S*i,g,j,o,r,u,w,z],V%^,f,i,p,s,v!S#ae!y$j$m$q$}%b%d%l%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aS,Z!o,tf,[$[$_$c(z)S*i,g,j,u,w,zX,]%^,f,i,v!Q#be!y$j$m$q$}%b%d%m'V'p({)Y)^)c)e)q)t*s+T+V+W+Y-aQ,^!od,_$[$_$c(z)S*i,g,j,w,zV,`%^,f,iprOScw!U!V!W#O#k#n&|'W'Y)W*k+gR)a']etOScw#O#k#n&|'Y+gQ$S!RT&i$R&jR$S!RQ$V!ST&o$U&pQ&U#xR&m$TS(T&S&lV*{*S*|+^R$V!SQ$Y!TT&t$X&uR$Y!TdsOScw#O#k#n&|'Y+gT$p![!]dtOScw#O#k#n&|'Y+gQ*b(yR+_+QQ$a!VQ&{$_Q)T'RR*g)ST&|$`&}Q+b+SQ+m+fR+v+uT+g+a+hR$i!WR$l!YT'Y$k'ZXuOSw#nQ$s!`R'_$sSSO#nR!dSQ%u#sR'y%uUwOS#nR#mwQ&d#}R(g&dQ(c&`R*Z(cS!mX$^R$z!mQ(O%{R)}(OQ&]#yR(_&]Q(]&YR*X(]'r^OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|#}$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&S&W&]&`&b&d&g&l&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*P*Q*S*`*h*k*l*n*o*p*r*w*|+R+^+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dR!v^S'f%T+PR)m'fQ'c%RR)j'cW#Oc&|'Y+gR%[#O^#Ue$[$_$c$m)^,zU%e#U,O,PQ,O,fR,P,gQ&j$RR(m&jS*Q(S(oR*y*QQ*T(TR*}*TQ&p$UR(r&pQ&u$XR(w&uQ&}$`R)O&}Q+h+aR+o+hQ'Z$kR)['ZQ!cRQ#luQ#nyQ%Z!|Q&x$]Q'R$bQ'x%tQ(^&[Q(f&cQ(l&iQ(q&oR(v&tVxOS#nWuOSw#nY!|c#O&|'Y+gR%r#kdtOScw#O#k#n&|'Y+gQ$]!UQ$b!VQ$g!WQ)X'WQ*j)WR+U*kdeOScw#O#k#n&|'Y+gQ!oYQ!ya`#gmn,{,|,}-O-P-QQ$[!UQ$_!VQ$c!WQ$j!Xd$m!Z#i#j&g&s'P'T'U(k(tQ$q!_Q$}!qQ%^#QQ%b#SQ%d#TW%h#^,Q,R,SQ%i#_Q%j#`Q%k#aQ%l#bQ%m#cQ'V$fQ'p%cQ(z&xQ({&yQ)S'RQ)Y'XQ)^']Q)c'aU)e'b)i*oQ)q'oQ)t'rQ*i)VQ*s)sQ+T*hQ+V*lQ+W*nQ+Y*rS,f#V'wS,g,b,cQ,i+|Q,j+}Q,k,TQ,l,UQ,m,VQ,n,WQ,o,XQ,p,YQ,q,ZQ,r,[Q,s,]Q,t,^Q,u,_Q,v,`Q,w,aU,z'W)W*kV-a&l*`-^#bZW!O!h!t!z#e#h#u#v#y#|$P$Q$T$W$v$x%W%Y%a%x%y&O&W&]&`&m'e'|'}(S([(c(i(o(|)l)|*Q*p*w+R+j+l,h-U-V-W-X-Y-Z-[-]-_-d%P[OSYacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*`*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^$zdOSacmnw!U!V!W!X!Z!_!q#O#Q#S#T#V#^#_#`#a#b#c#i#j#k#n$f%c&g&l&s&x&y&|'P'R'T'U'W'X'Y']'a'b'o'r'w(k(t)V)W)i)s*h*k*l*n*o*r+g+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,{,|,}-O-P-Q-^S!gW-]Q!nYS#{!O-_Q$u!hS%T!t+jS%X!z-UQ%n#e[%o#h#|$x-V-W-XW%w#u'})|*wU&P#v$v,h[&X#y&](S([(o*QQ&f$PQ&h$QQ&n$TQ&r$WS'h%W-YS'i%Y-ZW'l%a(|+R+lS'{%x%yQ(Q&OQ(Y&WQ(d&`Q(p&mU)k'e)l*pQ)z'|Q*[(cS*^(i-[Q+P*`R-c-dS#w|!pS$w!j-TQ&T#xQ(R&QQ(W&UR(X&VT%|#u&OhqOScw!U!V#O#k#n&|'Y+gU$Q!R$R&jU$W!T$X&uQ$e!WY%y#u&O'})|*wQ)`']V-S'W)W*kS&[#y&]S*R(S(oR*z*QY&Y#y&](S(o*QR*W(['``OSWYacmnw!O!U!V!W!X!Z!_!h!q!t!z#O#Q#S#T#V#^#_#`#a#b#c#e#h#i#j#k#n#u#v#y#|$P$Q$T$W$f$v$x%W%Y%a%c%x%y&O&W&]&`&g&m&s&x&y&|'P'R'T'U'W'X'Y']'a'b'e'o'r'w'|'}(S([(c(i(k(o(t(|)V)W)i)l)s)|*Q*`*h*k*l*n*o*p*r*w+R+g+j+l+|+},Q,R,S,T,U,V,W,X,Y,Z,[,],^,_,`,a,b,c,h,{,|,}-O-P-Q-U-V-W-X-Y-Z-[-]-^-_-dS&_#}&dW(S&S*S*|+^Q(e&bQ(o&lR*x*PS%U!t*`R+q+jR%S!qQ#PcQ(}&|Q)Z'YR+n+ghpOScw!U!V#O#k#n&|'Y+gQ$d!WQ$n!ZQ%g#VU%p#i'T,bU%q#j'U,cQ(j&gQ(u&sQ)Q'PQ)_']Q)y'wQ*_(kQ*a(tV-R'W)W*kT(U&S&l",nodeNames:"⚠ LineComment BlockComment SourceFile PackageClause package DefName ; ImportDecl import ImportSpec . String ) ( SpecList ExprStatement Number Bool Nil Rune VariableName TypedLiteral StructType struct } { StructBody FieldDecl FieldName , PointerType * FunctionType func Parameters Parameter ... InterfaceType interface InterfaceBody MethodElem UnderlyingType ~ TypeElem LogicOp ChannelType chan <- ParenthesizedType QualifiedType TypeName ParameterizedType ] [ TypeArgs ArrayType SliceType MapType map LiteralValue Element Key : Element Key ParenthesizedExpr FunctionLiteral Block Conversion SelectorExpr IndexExpr SliceExpr TypeAssertion CallExpr ParameterizedExpr Arguments CallExpr make new Arguments UnaryExp ArithOp LogicOp BitOp DerefOp BinaryExp ArithOp BitOp BitOp CompareOp LogicOp LogicOp SendStatement IncDecStatement IncDecOp Assignment = UpdateOp VarDecl := ConstDecl const ConstSpec SpecList TypeDecl type TypeSpec TypeParams TypeParam SpecList VarDecl var VarSpec SpecList LabeledStatement LabelName IfStatement if else SwitchStatement switch SwitchBlock Case case default TypeSwitchStatement SwitchBlock Case ForStatement for ForClause RangeClause range GoStatement go SelectStatement select SelectBlock Case ReceiveStatement ReturnStatement return GotoStatement break continue goto FallthroughStatement fallthrough DeferStatement defer FunctionDecl MethodDecl",maxTerm:218,context:iO,nodeProps:[["isolate",-3,2,12,20,""],["group",-18,12,17,18,19,20,21,22,66,67,69,70,71,72,73,74,77,81,86,"Expr",-20,16,68,93,94,96,99,101,105,111,115,117,120,126,129,134,136,141,143,147,149,"Statement",-12,23,31,33,38,46,49,50,51,52,56,57,58,"Type"],["openedBy",13,"(",25,"{",53,"["],["closedBy",14,")",26,"}",54,"]"]],propSources:[XO],skippedNodes:[0,1,2,153],repeatNodeCount:23,tokenData:":b~RvXY#iYZ#i]^#ipq#iqr#zrs$Xuv&Pvw&^wx&yxy(qyz(vz{({{|)T|})e}!O)j!O!P)u!P!Q+}!Q!R,y!R![-t![!]2^!]!^2k!^!_2p!_!`3]!`!a3e!c!}3x!}#O4j#P#Q4o#Q#R4t#R#S4|#S#T9X#T#o3x#o#p9q#p#q9v#q#r:W#r#s:]$g;'S3x;'S;=`4d<%lO3x~#nS$y~XY#iYZ#i]^#ipq#iU$PP%hQ!_!`$SS$XO!|S~$^W[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y<%lO$X~${O[~~%ORO;'S$X;'S;=`%X;=`O$X~%^X[~OY$XZr$Xrs$vs#O$X#O#P${#P;'S$X;'S;=`%y;=`<%l$X<%lO$X~%|P;=`<%l$X~&UP%l~!_!`&X~&^O#U~~&cR%j~vw&l!_!`&X#Q#R&q~&qO%p~~&vP%o~!_!`&X~'OWd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k<%lO&y~'mOd~~'pRO;'S&y;'S;=`'y;=`O&y~(OXd~OY&yZw&ywx'hx#O&y#O#P'm#P;'S&y;'S;=`(k;=`<%l&y<%lO&y~(nP;=`<%l&y~(vO^~~({O]~~)QP%Y~!_!`&X~)YQ%f~{|)`!_!`&X~)eO#R~~)jOn~~)oQ%g~}!O)`!_!`&X~)zRZS!O!P*T!Q![*`#R#S+w~*WP!O!P*Z~*`Ou~Q*eTaQ!Q![*`!g!h*t#R#S+w#X#Y*t#]#^+rQ*wS{|+T}!O+T!Q![+^#R#S+lQ+WQ!Q![+^#R#S+lQ+cRaQ!Q![+^#R#S+l#]#^+rQ+oP!Q![+^Q+wOaQQ+zP!Q![*`~,SR%k~z{,]!P!Q,b!_!`&X~,bO$z~~,gSP~OY,bZ;'S,b;'S;=`,s<%lO,b~,vP;=`<%l,bQ-O[aQ!O!P*`!Q![-t!d!e.c!g!h*t!q!r/Z!z!{/x#R#S.]#U#V.c#X#Y*t#]#^+r#c#d/Z#l#m/xQ-yUaQ!O!P*`!Q![-t!g!h*t#R#S.]#X#Y*t#]#^+rQ.`P!Q![-tQ.fR!Q!R.o!R!S.o#R#S/QQ.tSaQ!Q!R.o!R!S.o#R#S/Q#]#^+rQ/TQ!Q!R.o!R!S.oQ/^Q!Q!Y/d#R#S/rQ/iRaQ!Q!Y/d#R#S/r#]#^+rQ/uP!Q!Y/dQ/{T!O!P0[!Q![1c!c!i1c#R#S2Q#T#Z1cQ0_S!Q![0k!c!i0k#R#S1V#T#Z0kQ0pVaQ!Q![0k!c!i0k!r!s*t#R#S1V#T#Z0k#]#^+r#d#e*tQ1YR!Q![0k!c!i0k#T#Z0kQ1hWaQ!O!P0k!Q![1c!c!i1c!r!s*t#R#S2Q#T#Z1c#]#^+r#d#e*tQ2TR!Q![1c!c!i1c#T#Z1c~2cP!a~!_!`2f~2kO#W~~2pOV~~2uR!|S}!O3O!^!_3T!_!`$S~3TO!Q~~3YP%m~!_!`&X~3bP#T~!_!`$S~3jQ!|S!_!`$S!`!a3p~3uP%n~!_!`&X~3}V%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~4gP;=`<%l3x~4oO!W~~4tO!V~~4yP%i~!_!`&X~5RV%O~!Q![5h!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~5o^aQ%O~!O!P*`!Q![5h!c!g3x!g!h6k!h!}3x#R#S4|#T#X3x#X#Y6k#Y#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~6pX%O~{|+T}!O+T!Q![7]!c!}3x#R#S8P#T#o3x$g;'S3x;'S;=`4d<%lO3x~7dXaQ%O~!Q![7]!c!}3x#R#S8P#T#]3x#]#^8k#^#o3x$g;'S3x;'S;=`4d<%lO3x~8UV%O~!Q![7]!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~8rVaQ%O~!Q![3x!c!}3x#R#S3x#T#o3x$g;'S3x;'S;=`4d<%lO3x~9[TO#S9X#S#T$v#T;'S9X;'S;=`9k<%lO9X~9nP;=`<%l9X~9vOj~~9{Q%`~!_!`&X#p#q:R~:WO%q~~:]Oi~~:bO{~",tokenizers:[aO,1,2,new w("j~RQYZXz{^~^O$|~~aP!P!Qd~iO$}~~",25,181)],topRules:{SourceFile:[0,3]},dynamicPrecedences:{19:1,51:-1,55:2,69:-1,108:-1},specialized:[{term:184,get:Q=>nO[Q]||-1}],tokenPrec:5451}),oO=[X("func ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"declaration",type:"keyword"}),X("func (${receiver}) ${name}(${params}) ${type} {\n ${}\n}",{label:"func",detail:"method declaration",type:"keyword"}),X("var ${name} = ${value}",{label:"var",detail:"declaration",type:"keyword"}),X("type ${name} ${type}",{label:"type",detail:"declaration",type:"keyword"}),X("const ${name} = ${value}",{label:"const",detail:"declaration",type:"keyword"}),X("type ${name} = ${type}",{label:"type",detail:"alias declaration",type:"keyword"}),X("for ${init}; ${test}; ${update} {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),X("for ${i} := range ${value} {\n ${}\n}",{label:"for",detail:"range",type:"keyword"}),X(`select { \${} }`,{label:"select",detail:"statement",type:"keyword"}),X("case ${}:\n${}",{label:"case",type:"keyword"}),X("switch ${} {\n ${}\n}",{label:"switch",detail:"statement",type:"keyword"}),X("switch ${}.(${type}) {\n ${}\n}",{label:"switch",detail:"type statement",type:"keyword"}),X("if ${} {\n ${}\n}",{label:"if",detail:"block",type:"keyword"}),X(`if \${} { \${} diff --git a/public/admin/assets/index-D9XTqpwG.css b/AIWebQuickDeploy/public/admin/assets/index-D9XTqpwG.css similarity index 100% rename from public/admin/assets/index-D9XTqpwG.css rename to AIWebQuickDeploy/public/admin/assets/index-D9XTqpwG.css diff --git a/public/admin/assets/index-DARZUbFw.css b/AIWebQuickDeploy/public/admin/assets/index-DARZUbFw.css similarity index 100% rename from public/admin/assets/index-DARZUbFw.css rename to AIWebQuickDeploy/public/admin/assets/index-DARZUbFw.css diff --git a/AIWebQuickDeploy/public/admin/assets/index-DFcpibhB.js b/AIWebQuickDeploy/public/admin/assets/index-DFcpibhB.js new file mode 100644 index 0000000..748ce62 --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/index-DFcpibhB.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js";import"./index-6QRvoxq4.js";import"./useMainPage--yVtHxDh.js";export{o as default}; diff --git a/public/admin/assets/index-DLgR7VQ5.css b/AIWebQuickDeploy/public/admin/assets/index-DLgR7VQ5.css similarity index 100% rename from public/admin/assets/index-DLgR7VQ5.css rename to AIWebQuickDeploy/public/admin/assets/index-DLgR7VQ5.css diff --git a/public/admin/assets/index-Bc9vnwpI.js b/AIWebQuickDeploy/public/admin/assets/index-D_TwDoFD.js similarity index 95% rename from public/admin/assets/index-Bc9vnwpI.js rename to AIWebQuickDeploy/public/admin/assets/index-D_TwDoFD.js index a9b2486..64544d6 100644 --- a/public/admin/assets/index-Bc9vnwpI.js +++ b/AIWebQuickDeploy/public/admin/assets/index-D_TwDoFD.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{I as x,d as W,r as p,m as X,a as Z,p as n,q as E,g as u,c as b,b as e,w as l,F as P,s as I,i as s,h as c,y as ee,z as v,t as k,e as te,K as le,G as z,k as N}from"./index-nGFMSQGw.js";import{P as ae,f as oe,g as re,h as ne}from"./index-BE-LteFu.js";import{u as se}from"./utcformatTime-Bq4gDWNx.js";const O={queryAllOrder:_=>x.get("order/queryAll",{params:_}),deleteOrder:_=>x.post("order/delete",_),deleteNotPay:()=>x.post("order/deleteNotPay")},ie=te("div",{class:"flex items-center gap-4"},"订单列表",-1),ue=W({__name:"index",setup(_){const m=p(!1),g=p(!1),V=p([]),C=p(),S=p(0),T=p(0),o=X({userId:"",platform:"",status:"",page:1,size:15}),U=p([]);async function d(){m.value=!0;try{const r=await O.queryAllOrder(o);m.value=!1;const{rows:a,count:h,total_price:f}=r.data;S.value=h,U.value=a,T.value=f}catch{m.value=!1}}async function Y(r){const a=await le.queryAllUser({size:30,username:r});V.value=a.data.rows}function q(r){r==null||r.resetFields(),d()}async function L(r){const{orderId:a}=r;await O.deleteOrder({orderId:a}),z.success("删除订单完成!"),d()}async function F(){g.value=!0;try{await O.deleteNotPay(),z.success("删除未支付订单完成!"),await d(),g.value=!1}catch{z.error("删除未支付订单失败!"),g.value=!1}}return Z(()=>{d()}),(r,a)=>{const h=Q,f=n("el-option"),A=n("el-select"),w=n("el-form-item"),y=n("el-button"),D=n("el-popconfirm"),R=n("el-form"),B=n("el-statistic"),M=J,i=n("el-table-column"),$=n("el-tag"),j=n("el-table"),G=n("el-pagination"),H=n("el-row"),K=E("loading");return u(),b("div",null,[e(h,null,{title:l(()=>[ie]),_:1}),e(M,{class:"flex items-start justify-between"},{default:l(()=>[e(R,{ref_key:"formRef",ref:C,inline:!0,model:o},{default:l(()=>[e(w,{label:"用户名称",prop:"userId"},{default:l(()=>[e(A,{modelValue:o.userId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.userId=t),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":Y,style:{width:"180px"}},{default:l(()=>[(u(!0),b(P,null,I(s(V),t=>(u(),v(f,{key:t.id,label:t.username,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"支付平台",prop:"platform"},{default:l(()=>[e(A,{modelValue:o.platform,"onUpdate:modelValue":a[1]||(a[1]=t=>o.platform=t),clearable:"",placeholder:"请选择支付平台","remote-show-suffix":"",style:{width:"160px"}},{default:l(()=>[(u(!0),b(P,null,I(s(ae),t=>(u(),v(f,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"支付状态",prop:"status"},{default:l(()=>[e(A,{modelValue:o.status,"onUpdate:modelValue":a[2]||(a[2]=t=>o.status=t),clearable:"",placeholder:"请选择支付状态","remote-show-suffix":"",style:{width:"160px"}},{default:l(()=>[(u(!0),b(P,null,I(s(oe),t=>(u(),v(f,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,null,{default:l(()=>[e(y,{type:"primary",onClick:d},{default:l(()=>[c(" 查询 ")]),_:1}),e(y,{onClick:a[3]||(a[3]=t=>q(s(C)))},{default:l(()=>[c(" 重置 ")]),_:1}),e(D,{title:"确认删除所有未支付订单么?",onConfirm:F},{reference:l(()=>[e(y,{type:"danger"},{default:l(()=>[c(" 删除所有未支付订单 ")]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),e(B,{title:"累计已支付订单金额",value:s(T)},null,8,["value"])]),_:1}),e(M,{style:{width:"100%"}},{default:l(()=>[ee((u(),v(j,{border:"",data:s(U),style:{width:"100%"},size:"large","tooltip-options":{}},{default:l(()=>[e(i,{fixed:"",prop:"orderId",label:"订单ID",width:"315"}),e(i,{prop:"userInfo.username",label:"用户名称",width:"180"}),e(i,{prop:"userInfo.email",label:"用户邮箱",width:"200"}),e(i,{prop:"goodsInfo.name",label:"套餐名称",width:"140"}),e(i,{prop:"price",label:"商品单价",width:"110"}),e(i,{prop:"count",label:"购买数量",width:"90",align:"center"}),e(i,{prop:"total",label:"订单总价",width:"90",align:"center"}),e(i,{prop:"total",label:"支付平台",width:"90",align:"center"},{default:l(t=>[c(k(s(re)[t.row.payPlatform]),1)]),_:1}),e(i,{prop:"status",label:"支付状态",width:"90",align:"center"},{default:l(t=>[e($,{type:t.row.status===1?"success":"warning"},{default:l(()=>[c(k(s(ne)[t.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(i,{prop:"createdAt",label:"订单时间",width:"200",fixed:"right"},{default:l(t=>[c(k(s(se)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(i,{fixed:"right",label:"操作"},{default:l(t=>[e(D,{title:"确认删除此订单么、删除订单不可恢复?",width:"400","icon-color":"red",onConfirm:de=>L(t.row)},{reference:l(()=>[e(y,{link:"",type:"danger",size:"small",loading:s(g)},{default:l(()=>[c(" 删除订单 ")]),_:1},8,["loading"])]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[K,s(m)]]),e(H,{class:"mt-5 flex justify-end"},{default:l(()=>[e(G,{"current-page":o.page,"onUpdate:currentPage":a[4]||(a[4]=t=>o.page=t),"page-size":o.size,"onUpdate:pageSize":a[5]||(a[5]=t=>o.size=t),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:s(S),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof N=="function"&&N(ue);export{ue as default}; +import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{I as x,d as W,r as p,m as X,a as Z,p as n,q as E,g as u,c as b,b as e,w as l,F as P,s as I,i as s,h as c,y as ee,z as v,t as k,e as te,K as le,G as z,k as N}from"./index-6QRvoxq4.js";import{P as ae,f as oe,g as re,h as ne}from"./index-BE-LteFu.js";import{u as se}from"./utcformatTime-Bq4gDWNx.js";const O={queryAllOrder:_=>x.get("order/queryAll",{params:_}),deleteOrder:_=>x.post("order/delete",_),deleteNotPay:()=>x.post("order/deleteNotPay")},ie=te("div",{class:"flex items-center gap-4"},"订单列表",-1),ue=W({__name:"index",setup(_){const m=p(!1),g=p(!1),V=p([]),C=p(),S=p(0),T=p(0),o=X({userId:"",platform:"",status:"",page:1,size:15}),U=p([]);async function d(){m.value=!0;try{const r=await O.queryAllOrder(o);m.value=!1;const{rows:a,count:h,total_price:f}=r.data;S.value=h,U.value=a,T.value=f}catch{m.value=!1}}async function Y(r){const a=await le.queryAllUser({size:30,username:r});V.value=a.data.rows}function q(r){r==null||r.resetFields(),d()}async function L(r){const{orderId:a}=r;await O.deleteOrder({orderId:a}),z.success("删除订单完成!"),d()}async function F(){g.value=!0;try{await O.deleteNotPay(),z.success("删除未支付订单完成!"),await d(),g.value=!1}catch{z.error("删除未支付订单失败!"),g.value=!1}}return Z(()=>{d()}),(r,a)=>{const h=Q,f=n("el-option"),A=n("el-select"),w=n("el-form-item"),y=n("el-button"),D=n("el-popconfirm"),R=n("el-form"),B=n("el-statistic"),M=J,i=n("el-table-column"),$=n("el-tag"),j=n("el-table"),G=n("el-pagination"),H=n("el-row"),K=E("loading");return u(),b("div",null,[e(h,null,{title:l(()=>[ie]),_:1}),e(M,{class:"flex items-start justify-between"},{default:l(()=>[e(R,{ref_key:"formRef",ref:C,inline:!0,model:o},{default:l(()=>[e(w,{label:"用户名称",prop:"userId"},{default:l(()=>[e(A,{modelValue:o.userId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.userId=t),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":Y,style:{width:"180px"}},{default:l(()=>[(u(!0),b(P,null,I(s(V),t=>(u(),v(f,{key:t.id,label:t.username,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"支付平台",prop:"platform"},{default:l(()=>[e(A,{modelValue:o.platform,"onUpdate:modelValue":a[1]||(a[1]=t=>o.platform=t),clearable:"",placeholder:"请选择支付平台","remote-show-suffix":"",style:{width:"160px"}},{default:l(()=>[(u(!0),b(P,null,I(s(ae),t=>(u(),v(f,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"支付状态",prop:"status"},{default:l(()=>[e(A,{modelValue:o.status,"onUpdate:modelValue":a[2]||(a[2]=t=>o.status=t),clearable:"",placeholder:"请选择支付状态","remote-show-suffix":"",style:{width:"160px"}},{default:l(()=>[(u(!0),b(P,null,I(s(oe),t=>(u(),v(f,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,null,{default:l(()=>[e(y,{type:"primary",onClick:d},{default:l(()=>[c(" 查询 ")]),_:1}),e(y,{onClick:a[3]||(a[3]=t=>q(s(C)))},{default:l(()=>[c(" 重置 ")]),_:1}),e(D,{title:"确认删除所有未支付订单么?",onConfirm:F},{reference:l(()=>[e(y,{type:"danger"},{default:l(()=>[c(" 删除所有未支付订单 ")]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),e(B,{title:"累计已支付订单金额",value:s(T)},null,8,["value"])]),_:1}),e(M,{style:{width:"100%"}},{default:l(()=>[ee((u(),v(j,{border:"",data:s(U),style:{width:"100%"},size:"large","tooltip-options":{}},{default:l(()=>[e(i,{fixed:"",prop:"orderId",label:"订单ID",width:"315"}),e(i,{prop:"userInfo.username",label:"用户名称",width:"180"}),e(i,{prop:"userInfo.email",label:"用户邮箱",width:"200"}),e(i,{prop:"goodsInfo.name",label:"套餐名称",width:"140"}),e(i,{prop:"price",label:"商品单价",width:"110"}),e(i,{prop:"count",label:"购买数量",width:"90",align:"center"}),e(i,{prop:"total",label:"订单总价",width:"90",align:"center"}),e(i,{prop:"total",label:"支付平台",width:"90",align:"center"},{default:l(t=>[c(k(s(re)[t.row.payPlatform]),1)]),_:1}),e(i,{prop:"status",label:"支付状态",width:"90",align:"center"},{default:l(t=>[e($,{type:t.row.status===1?"success":"warning"},{default:l(()=>[c(k(s(ne)[t.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(i,{prop:"createdAt",label:"订单时间",width:"200",fixed:"right"},{default:l(t=>[c(k(s(se)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(i,{fixed:"right",label:"操作"},{default:l(t=>[e(D,{title:"确认删除此订单么、删除订单不可恢复?",width:"400","icon-color":"red",onConfirm:de=>L(t.row)},{reference:l(()=>[e(y,{link:"",type:"danger",size:"small",loading:s(g)},{default:l(()=>[c(" 删除订单 ")]),_:1},8,["loading"])]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[K,s(m)]]),e(H,{class:"mt-5 flex justify-end"},{default:l(()=>[e(G,{"current-page":o.page,"onUpdate:currentPage":a[4]||(a[4]=t=>o.page=t),"page-size":o.size,"onUpdate:pageSize":a[5]||(a[5]=t=>o.size=t),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:s(S),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof N=="function"&&N(ue);export{ue as default}; diff --git a/public/admin/assets/index-DiTAFdcL.css b/AIWebQuickDeploy/public/admin/assets/index-DiTAFdcL.css similarity index 100% rename from public/admin/assets/index-DiTAFdcL.css rename to AIWebQuickDeploy/public/admin/assets/index-DiTAFdcL.css diff --git a/public/admin/assets/index-DypIgR1i.js b/AIWebQuickDeploy/public/admin/assets/index-DlQMm9C_.js similarity index 99% rename from public/admin/assets/index-DypIgR1i.js rename to AIWebQuickDeploy/public/admin/assets/index-DlQMm9C_.js index 3f65d89..3636439 100644 --- a/public/admin/assets/index-DypIgR1i.js +++ b/AIWebQuickDeploy/public/admin/assets/index-DlQMm9C_.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{b as Y,s as S,t as Q,d as l,L as o,i as n,c as i,j as s,k as W,f as c,l as f,a as x}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const r=1,Z=2,V=3,u=82,p=76,w=117,q=85,T=97,y=122,z=65,b=90,j=95,a=48,P=34,v=40,U=41,d=32,t=62,_=new Y(O=>{if(O.next==p||O.next==q?O.advance():O.next==w&&(O.advance(),O.next==a+8&&O.advance()),O.next!=u||(O.advance(),O.next!=P))return;O.advance();let e="";for(;O.next!=v;){if(O.next==d||O.next<=13||O.next==U)return;e+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(r);if(O.next==U){let $=!0;for(let X=0;$&&X{if(O.next==t)O.peek(1)==t&&O.acceptToken(Z,1);else{let e=!1,$=0;for(;;$++){if(O.next>=z&&O.next<=b)e=!0;else{if(O.next>=T&&O.next<=y)return;if(O.next!=j&&!(O.next>=a&&O.next<=a+9))break}O.advance()}e&&$>1&&O.acceptToken(V)}},{extend:!0}),g=S({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":Q.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":Q.modifier,"if else switch for while do case default return break continue goto throw try catch":Q.controlKeyword,"co_return co_yield co_await":Q.controlKeyword,"new sizeof delete static_assert":Q.operatorKeyword,"NULL nullptr":Q.null,this:Q.self,"True False":Q.bool,"TypeSize PrimitiveType":Q.standard(Q.typeName),TypeIdentifier:Q.typeName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),"ModuleName/Identifier":Q.namespace,PartitionName:Q.labelName,StatementIdentifier:Q.labelName,"Identifier DestructorName":Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),"CallExpression/ScopedIdentifier/Identifier":Q.function(Q.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":Q.function(Q.definition(Q.variableName)),NamespaceIdentifier:Q.namespace,OperatorName:Q.operator,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,AssignOp:Q.definitionOperator,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Number:Q.number,String:Q.string,"RawString SystemLibString":Q.special(Q.string),CharLiteral:Q.character,EscapeSequence:Q.escape,"UserDefinedLiteral/Identifier":Q.literal,PreProcArg:Q.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":Q.processingInstruction,MacroName:Q.special(Q.name),"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,"< >":Q.angleBracket,". ->":Q.derefOperator,", ;":Q.separator}),R={__proto__:null,bool:34,char:34,int:34,float:34,double:34,void:34,size_t:34,ssize_t:34,intptr_t:34,uintptr_t:34,charptr_t:34,int8_t:34,int16_t:34,int32_t:34,int64_t:34,uint8_t:34,uint16_t:34,uint32_t:34,uint64_t:34,char8_t:34,char16_t:34,char32_t:34,char64_t:34,const:68,volatile:70,restrict:72,_Atomic:74,mutable:76,constexpr:78,constinit:80,consteval:82,struct:86,__declspec:90,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:784,true:784,FALSE:786,false:786,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},h={__proto__:null,"<":131},k={__proto__:null,">":135},G={__proto__:null,operator:388,new:576,delete:582},E=l.deserialize({version:14,states:"$:|Q!QQVOOP'gOUOOO(XOWO'#CdO,RQUO'#CgO,]QUO'#FjO-sQbO'#CwO.UQUO'#CwO0TQUO'#KZO0[QUO'#CvO0gOpO'#DvO0oQ!dO'#D]OOQR'#JO'#JOO5XQVO'#GUO5fQUO'#JVOOQQ'#JV'#JVO8zQUO'#KmO{QVO'#E^O?]QUO'#E^OOQQ'#Ed'#EdOOQQ'#Ee'#EeO?bQVO'#EfO@XQVO'#EiOBUQUO'#FPOBvQUO'#FhOOQR'#Fj'#FjOB{QUO'#FjOOQR'#LQ'#LQOOQR'#LP'#LPOETQVO'#KQOFxQUO'#LVOGVQUO'#KqOGkQUO'#LVOH]QUO'#LXOOQR'#HU'#HUOOQR'#HV'#HVOOQR'#HW'#HWOOQR'#K|'#K|OOQR'#J_'#J_Q!QQVOOOHkQVO'#FOOIWQUO'#EhOI_QUOOOKZQVO'#HgOKkQUO'#HgONVQUO'#KqONaQUO'#KqOOQQ'#Kq'#KqO!!_QUO'#KqOOQQ'#Jq'#JqO!!lQUO'#HxOOQQ'#KZ'#KZO!&^QUO'#KZO!&zQUO'#KQO!(zQVO'#I]O!(zQVO'#I`OCQQUO'#KQOOQQ'#Ip'#IpOOQQ'#KQ'#KQO!,}QUO'#KZOOQR'#KY'#KYO!-UQUO'#DYO!/mQUO'#KnOOQQ'#Kn'#KnO!/tQUO'#KnO!/{QUO'#ETO!0QQUO'#EWO!0VQUO'#FRO8zQUO'#FPO!QQVO'#F^O!0[Q#vO'#F`O!0gQUO'#FkO!0oQUO'#FpO!0tQVO'#FrO!0oQUO'#FuO!3sQUO'#FvO!3xQVO'#FxO!4SQUO'#FzO!4XQUO'#F|O!4^QUO'#GOO!4cQVO'#GQO!(zQVO'#GSO!4jQUO'#GpO!4xQUO'#GYO!(zQVO'#FeO!6VQUO'#FeO!6[QVO'#G`O!6cQUO'#GaO!6nQUO'#GnO!6sQUO'#GrO!6xQUO'#GzO!7jQ&lO'#HiO!:mQUO'#GuO!:}QUO'#HXO!;YQUO'#HZO!;bQUO'#DWO!;bQUO'#HuO!;bQUO'#HvO!;yQUO'#HwO!<[QUO'#H|O!=PQUO'#H}O!>uQVO'#IbO!(zQVO'#IdO!?PQUO'#IgO!?WQVO'#IjP!@}{,UO'#CbP!6n{,UO'#CbP!AY{7[O'#CbP!6n{,UO'#CbP!A_{,UO'#CbP!AjOSO'#IzPOOO)CEn)CEnOOOO'#I|'#I|O!AtOWO,59OOOQR,59O,59OO!(zQVO,59UOOQQ,59W,59WO!(zQVO,5;ROOQR,5qOOQR'#IX'#IXOOQR'#IY'#IYOOQR'#IZ'#IZOOQR'#I['#I[O!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!DOQVO,5>zOOQQ,5?W,5?WO!EqQVO'#ChO!IjQUO'#CyOOQQ,59c,59cOOQQ,59b,59bOOQQ,5<},5<}O!IwQ&lO,5=mO!?PQUO,5?RO!LkQVO,5?UO!LrQbO,59cO!L}QVO'#FYOOQQ,5?P,5?PO!M_QVO,59VO!MfO`O,5:bO!MkQbO'#D^O!M|QbO'#K^O!N[QbO,59wO!NdQbO'#CwO!NuQUO'#CwO!NzQUO'#KZO# UQUO'#CvOOQR-E<|-E<|O# aQUO,5AoO# hQVO'#EfO@XQVO'#EiOBUQUO,5;kOOQR,5l,5>lO#3gQUO'#CgO#4]QUO,5>pO#6OQUO'#IeOOQR'#I}'#I}O#6WQUO,5:xO#6tQUO,5:xO#7eQUO,5:xO#8YQUO'#CtO!0QQUO'#ClOOQQ'#JW'#JWO#6tQUO,5:xO#8bQUO,5;QO!4xQUO'#C}O#9kQUO,5;QO#9pQUO,5>QO#:|QUO'#C}O#;dQUO,5>{O#;iQUO'#KwO#}QUO'#L[O#?UQUO,5>UO#?ZQbO'#CwO#?fQUO'#GcO#?kQUO'#E^O#@[QUO,5;kO#@sQUO'#K}O#@{QUO,5;rOKkQUO'#HfOBUQUO'#HgO#AQQUO'#KqO!6nQUO'#HjO#AxQUO'#CtO!0tQVO,5PO$(WQUO'#E[O$(eQUO,5>ROOQQ,5>S,5>SO$,RQVO'#C{OOQQ-E=o-E=oOOQQ,5>d,5>dOOQQ,59`,59`O$,]QUO,5>wO$.]QUO,5>zO!6nQUO,59tO$.pQUO,5;qO$.}QUO,5<{O!0QQUO,5:oOOQQ,5:r,5:rO$/YQUO,5;mO$/_QUO'#KmOBUQUO,5;kOOQR,5;x,5;xO$0OQUO'#FbO$0^QUO'#FbO$0cQUO,5;zO$3|QVO'#FmO!0tQVO,5eQUO,5pQUO,5=[O$>uQUO,5=[O!4xQUO,5}QUO,5uQUO,5<{O$DQQUO,5<{O$D]QUO,5=YO!(zQVO,5=^O!(zQVO,5=fO#NeQUO,5=mOOQQ,5>T,5>TO$FbQUO,5>TO$FlQUO,5>TO$FqQUO,5>TO$FvQUO,5>TO!6nQUO,5>TO$HtQUO'#KZO$H{QUO,5=oO$IWQUO,5=aOKkQUO,5=oO$JQQUO,5=sOOQR,5=s,5=sO$JYQUO,5=sO$LeQVO'#H[OOQQ,5=u,5=uO!;]QUO,5=uO%#`QUO'#KjO%#gQUO'#K[O%#{QUO'#KjO%$VQUO'#DyO%$hQUO'#D|O%'eQUO'#K[OOQQ'#K['#K[O%)WQUO'#K[O%#gQUO'#K[O%)]QUO'#K[OOQQ,59r,59rOOQQ,5>a,5>aOOQQ,5>b,5>bO%)eQUO'#HzO%)mQUO,5>cOOQQ,5>c,5>cO%-XQUO,5>cO%-dQUO,5>hO%1OQVO,5>iO%1VQUO,5>|O# hQVO'#EfO%4]QUO,5>|OOQQ,5>|,5>|O%4|QUO,5?OO%7QQUO,5?RO!<[QUO,5?RO%8|QUO,5?UO%sQUO1G0mOOQQ1G0m1G0mO%@PQUO'#CoO%B`QbO'#CwO%BkQUO'#CrO%BpQUO'#CrO%BuQUO1G.tO#AxQUO'#CqOOQQ1G.t1G.tO%DxQUO1G4]O%FOQUO1G4^O%GqQUO1G4^O%IdQUO1G4^O%KVQUO1G4^O%LxQUO1G4^O%NkQUO1G4^O&!^QUO1G4^O&$PQUO1G4^O&%rQUO1G4^O&'eQUO1G4^O&)WQUO1G4^O&*yQUO'#KPO&,SQUO'#KPO&,[QUO,59SOOQQ,5=P,5=PO&.dQUO,5=PO&.nQUO,5=PO&.sQUO,5=PO&.xQUO,5=PO!6nQUO,5=PO#NeQUO1G3XO&/SQUO1G4mO!<[QUO1G4mO&1OQUO1G4pO&2qQVO1G4pOOQQ1G.}1G.}OOQQ1G.|1G.|OOQQ1G2i1G2iO!IwQ&lO1G3XO&2xQUO'#LOO@XQVO'#EiO&4RQUO'#F]OOQQ'#Ja'#JaO&4WQUO'#FZO&4cQUO'#LOO&4kQUO,5;tO&4pQUO1G.qOOQQ1G.q1G.qOOQR1G/|1G/|O&6cQ!dO'#JPO&6hQbO,59xO&8yQ!eO'#D`O&9QQ!dO'#JRO&9VQbO,5@xO&9VQbO,5@xOOQR1G/c1G/cO&9bQbO1G/cO&9gQ&lO'#GeO&:eQbO,59cOOQR1G7Z1G7ZO#@[QUO1G1VO&:pQUO1G1^OBUQUO1G1VO&=RQUO'#CyO#*wQbO,59cO&@tQUO1G6sOOQR-E<{-E<{O&BWQUO1G0dO#6WQUO1G0dOOQQ-E=U-E=UO#6tQUO1G0dOOQQ1G0l1G0lO&B{QUO,59iOOQQ1G3l1G3lO&CcQUO,59iO&CyQUO,59iO!M_QVO1G4gO!(zQVO'#JYO&DeQUO,5AcOOQQ1G0o1G0oO!(zQVO1G0oO!6nQUO'#JnO&DmQUO,5AvOOQQ1G3p1G3pOOQR1G1V1G1VO&HjQVO'#FOO!M_QVO,5;sOOQQ,5;s,5;sOBUQUO'#JcO&JfQUO,5AiO&JnQVO'#E[OOQR1G1^1G1^O&M]QUO'#L[OOQR1G1n1G1nOOQR-E=f-E=fOOQR1G7]1G7]O#DhQUO1G7]OGVQUO1G7]O#DhQUO1G7_OOQR1G7_1G7_O&MeQUO'#G}O&MmQUO'#LWOOQQ,5=h,5=hO&M{QUO,5=jO&NQQUO,5=kOOQR1G7`1G7`O#EfQVO1G7`O&NVQUO1G7`O' ]QVO,5=kOOQR1G1U1G1UO$.vQUO'#E]O'!RQUO'#E]OOQQ'#Ky'#KyO'!lQUO'#KxO'!wQUO,5;UO'#PQUO'#ElO'#dQUO'#ElO'#wQUO'#EtOOQQ'#J['#J[O'#|QUO,5;cO'$sQUO,5;cO'%nQUO,5;dO'&tQVO,5;dOOQQ,5;d,5;dO''OQVO,5;dO'&tQVO,5;dO''VQUO,5;bO'(SQUO,5;eO'(_QUO'#KpO'(gQUO,5:vO'(lQUO,5;fOOQQ1G0n1G0nOOQQ'#J]'#J]O''VQUO,5;bO!4xQUO'#E}OOQQ,5;b,5;bO')gQUO'#E`O'+aQUO'#E{OHrQUO1G0nO'+fQUO'#EbOOQQ'#JX'#JXO'-OQUO'#KrOOQQ'#Kr'#KrO'-xQUO1G0eO'.pQUO1G3kO'/vQVO1G3kOOQQ1G3k1G3kO'0QQVO1G3kO'0XQUO'#L_O'1eQUO'#KXO'1sQUO'#KWO'2OQUO,59gO'2WQUO1G/`O'2]QUO'#FPOOQR1G1]1G1]OOQR1G2g1G2gO$>uQUO1G2gO'2gQUO1G2gO'2rQUO1G0ZOOQR'#J`'#J`O'2wQVO1G1XO'8pQUO'#FTO'8uQUO1G1VO!6nQUO'#JdO'9TQUO,5;|O$0^QUO,5;|OOQQ'#Fc'#FcOOQQ,5;|,5;|O'9cQUO1G1fOOQR1G1f1G1fO'9kQUO,5}QUO1G2`OOQQ'#Cu'#CuO'CzQUO'#G[O'DuQUO'#G[O'DzQUO'#LRO'EYQUO'#G_OOQQ'#LS'#LSO'EhQUO1G2`O'EmQVO1G1kO'HOQVO'#GUOBUQUO'#FWOOQR'#Je'#JeO'EmQVO1G1kO'HYQUO'#FvOOQR1G2f1G2fO'H_QUO1G2gO'HdQUO'#JgO'2gQUO1G2gO!(zQVO1G2tO'HlQUO1G2xO'IuQUO1G3QO'J{QUO1G3XOOQQ1G3o1G3oO'KaQUO1G3oOOQR1G3Z1G3ZO'KfQUO'#KZO'2]QUO'#LTOGkQUO'#LVOOQR'#Gy'#GyO#DhQUO'#LXOOQR'#HQ'#HQO'KpQUO'#GvO'#wQUO'#GuOOQR1G2{1G2{O'LmQUO1G2{O'MdQUO1G3ZO'MoQUO1G3_O'MtQUO1G3_OOQR1G3_1G3_O'M|QUO'#H]OOQR'#H]'#H]O( VQUO'#H]O!(zQVO'#H`O!(zQVO'#H_OOQR'#LZ'#LZO( [QUO'#LZOOQR'#Jk'#JkO( aQVO,5=vOOQQ,5=v,5=vO( hQUO'#H^O( pQUO'#HZOOQQ1G3a1G3aO( zQUO,5@vOOQQ,5@v,5@vO%)WQUO,5@vO%)]QUO,5@vO%$VQUO,5:eO(%iQUO'#KkO(%wQUO'#KkOOQQ,5:e,5:eOOQQ'#JS'#JSO(&SQUO'#D}O(&^QUO'#KqOGkQUO'#LVO('YQUO'#D}OOQQ'#Hp'#HpOOQQ'#Hr'#HrOOQQ'#Hs'#HsOOQQ'#Kl'#KlOOQQ'#JU'#JUO('dQUO,5:hOOQQ,5:h,5:hO((aQUO'#LVO((nQUO'#HtO()UQUO,5@vO()]QUO'#H{O()hQUO'#L^O()pQUO,5>fO()uQUO'#L]OOQQ1G3}1G3}O(-lQUO1G3}O(-sQUO1G3}O(-zQUO1G4TO(/QQUO1G4TO(/VQUO,5A|O!6nQUO1G4hO!(zQVO'#IiOOQQ1G4m1G4mO(/[QUO1G4mO(1_QVO1G4pPOOO1G.h1G.hP!A_{,UO1G.hP(3_QUO'#LeP(3j{,UO1G.hP(3o{7[O1G.hPO{O-E=s-E=sPOOO,5A},5A}P(3w{,UO,5A}POOO1G5Q1G5QO!(zQVO7+$[O(3|QUO'#CyOOQQ,59^,59^O(4XQbO,59cO(4dQbO,59^OOQQ,59],59]OOQQ7+)w7+)wO!M_QVO'#JtO(4oQUO,5@kOOQQ1G.n1G.nOOQQ1G2k1G2kO(4wQUO1G2kO(4|QUO7+(sOOQQ7+*X7+*XO(7bQUO7+*XO(7iQUO7+*XO(1_QVO7+*[O#NeQUO7+(sO(7vQVO'#JbO(8ZQUO,5AjO(8cQUO,5;vOOQQ'#Co'#CoOOQQ,5;w,5;wO!(zQVO'#F[OOQQ-E=_-E=_O!M_QVO,5;uOOQQ1G1`1G1`OOQQ,5?k,5?kOOQQ-E<}-E<}OOQR'#Dg'#DgOOQR'#Di'#DiOOQR'#Dl'#DlO(9lQ!eO'#K_O(9sQMkO'#K_O(9zQ!eO'#K_OOQR'#K_'#K_OOQR'#JQ'#JQO(:RQ!eO,59zOOQQ,59z,59zO(:YQbO,5?mOOQQ-E=P-E=PO(:hQbO1G6dOOQR7+$}7+$}OOQR7+&q7+&qOOQR7+&x7+&xO'8uQUO7+&qO(:sQUO7+&OO#6WQUO7+&OO(;hQUO1G/TO(]QUO,5?tOOQQ-E=W-E=WO(?fQUO7+&ZOOQQ,5@Y,5@YOOQQ-E=l-E=lO(?kQUO'#LOO@XQVO'#EiO(@wQUO1G1_OOQQ1G1_1G1_O(BQQUO,5?}OOQQ,5?},5?}OOQQ-E=a-E=aO(BfQUO'#KpOOQR7+,w7+,wO#DhQUO7+,wOOQR7+,y7+,yO(BsQUO,5=iO#DsQUO'#JjO(CUQUO,5ArOOQR1G3U1G3UOOQR1G3V1G3VO(CdQUO7+,zOOQR7+,z7+,zO(E[QUO,5:wO(FyQUO'#EwO!(zQVO,5;VO(GlQUO,5:wO(GvQUO'#EpO(HXQUO'#EzOOQQ,5;Z,5;ZO#K]QVO'#ExO(HoQUO,5:wO(HvQUO'#EyO#GgQUO'#JZO(J`QUO,5AdOOQQ1G0p1G0pO(JkQUO,5;WO!<[QUO,5;^O(KUQUO,5;_O(KdQUO,5;WO(MvQUO,5;`OOQQ-E=Y-E=YO(NOQUO1G0}OOQQ1G1O1G1OO(NyQUO1G1OO)!PQVO1G1OO)!WQVO1G1OO)!bQUO1G0|OOQQ1G0|1G0|OOQQ1G1P1G1PO)#_QUO'#JoO)#iQUO,5A[OOQQ1G0b1G0bOOQQ-E=Z-E=ZO)#qQUO,5;iO!<[QUO,5;iO)$nQVO,5:zO)$uQUO,5;gO$ mQUO7+&YOOQQ7+&Y7+&YO!(zQVO'#EfO)$|QUO,5:|OOQQ'#Ks'#KsOOQQ-E=V-E=VOOQQ,5A^,5A^OOQQ'#Jl'#JlO)(qQUO7+&PPOQQ7+&P7+&POOQQ7+)V7+)VO))iQUO7+)VO)*oQVO7+)VOOQQ,5>m,5>mO$)YQVO'#JsO)*vQUO,5@rOOQQ1G/R1G/ROOQQ7+$z7+$zO)+RQUO7+(RO)+WQUO7+(ROOQR7+(R7+(RO$>uQUO7+(ROOQQ7+%u7+%uOOQR-E=^-E=^O!0VQUO,5;oOOQQ,5@O,5@OOOQQ-E=b-E=bO$0^QUO1G1hOOQQ1G1h1G1hOOQR7+'Q7+'QOOQR1G1s1G1sOBUQUO,5;rO)+tQUO,5hQUO,5}QUO7+(dO)?SQVO7+(dOOQQ7+(l7+(lOOQQ7+)Z7+)ZO)?[QUO'#KjO)?fQUO'#KjOOQR,5=b,5=bO)?sQUO,5=bO!;bQUO,5=bO!;bQUO,5=bO!;bQUO,5=bOOQR7+(g7+(gOOQR7+(u7+(uOOQR7+(y7+(yOOQR,5=w,5=wO)?xQUO,5=zO)AOQUO,5=yOOQR,5Au,5AuOOQR-E=i-E=iOOQQ1G3b1G3bO)BUQUO,5=xO)BZQVO'#EfOOQQ1G6b1G6bO%)WQUO1G6bO%)]QUO1G6bOOQQ1G0P1G0POOQQ-E=Q-E=QO)DrQUO,5AVO(%iQUO'#JTO)D}QUO,5AVO)D}QUO,5AVO)EVQUO,5:iO8zQUO,5:iOOQQ,5>],5>]O)EaQUO,5AqO)EhQUO'#EVO)FrQUO'#EVO)G]QUO,5:iO)GgQUO'#HlO)GgQUO'#HmOOQQ'#Ko'#KoO)HUQUO'#KoO!(zQVO'#HnOOQQ,5:i,5:iO)HvQUO,5:iO!M_QVO,5:iOOQQ-E=S-E=SOOQQ1G0S1G0SOOQQ,5>`,5>`O)H{QUO1G6bO!(zQVO,5>gO)LjQUO'#JrO)LuQUO,5AxOOQQ1G4Q1G4QO)L}QUO,5AwOOQQ,5Aw,5AwOOQQ7+)i7+)iO*!lQUO7+)iOOQQ7+)o7+)oO*'kQVO1G7hO*)mQUO7+*SO*)rQUO,5?TO**xQUO7+*[POOO7+$S7+$SP*,kQUO'#LfP*,sQUO,5BPP*,x{,UO7+$SPOOO1G7i1G7iO*,}QUO<XQUO7+&jO*?_QVO7+&jOOQQ7+&h7+&hOOQQ,5@Z,5@ZOOQQ-E=m-E=mO*@ZQUO1G1TO*@eQUO1G1TO*AOQUO1G0fOOQQ1G0f1G0fO*BUQUO'#K{O*B^QUO1G1ROOQQ<uQUO<VO)GgQUO'#JpO*NQQUO1G0TO*NcQVO1G0TOOQQ1G3u1G3uO*NjQUO,5>WO*NuQUO,5>XO+ dQUO,5>YO+!jQUO1G0TO%)]QUO7++|O+#pQUO1G4ROOQQ,5@^,5@^OOQQ-E=p-E=pOOQQ<n,5>nO+/iQUOANAXOOQRANAXANAXO+/nQUO7+'`OOQRAN@cAN@cO+0zQVOAN@nO+1RQUOAN@nO!0tQVOAN@nO+2[QUOAN@nO+2aQUOAN@}O+2lQUOAN@}O+3rQUOAN@}OOQRAN@nAN@nO!M_QVOAN@}OOQRANAOANAOO+3wQUO7+'|O)7VQUO7+'|OOQQ7+(O7+(OO+4YQUO7+(OO+5`QVO7+(OO+5gQVO7+'hO+5nQUOANAjOOQR7+(h7+(hOOQR7+)P7+)PO+5sQUO7+)PO+5xQUO7+)POOQQ<= h<= hO+6QQUO7+,]O+6YQUO1G5ZOOQQ1G5Z1G5ZO+6eQUO7+%oOOQQ7+%o7+%oO+6vQUO7+%oO*NcQVO7+%oOOQQ7+)a7+)aO+6{QUO7+%oO+8RQUO7+%oO!M_QVO7+%oO+8]QUO1G0]O*LkQUO1G0]O)EhQUO1G0]OOQQ1G0a1G0aO+8zQUO1G3qO+:QQVO1G3qOOQQ1G3q1G3qO+:[QVO1G3qO+:cQUO,5@[OOQQ-E=n-E=nOOQQ1G3r1G3rO%)WQUO<= hOOQQ7+*Z7+*ZPOQQ,5@b,5@bPOQQ-E=t-E=tOOQQ1G/}1G/}OOQQ,5?x,5?xOOQQ-E=[-E=[OOQRG26sG26sO+:zQUOG26YO!0tQVOG26YO+QQUO<uAN>uO+BpQUOAN>uO+CvQUOAN>uO!M_QVOAN>uO+C{QUO<nQUO'#KZO,?OQUO'#CyO,?^QbO,59cO,6VQUO7+&OO,OP>i>{?aFXMX!&]!,sP!3m!4b!5VP!5qPPPPPPPP!6[P!7tPP!9V!:oP!:uPPPPPP!:xP!:xPP!:xPPPPPPPPP!;U!>lP!>oPP!?]!@QPPPPP!@UP>l!AgPP>l!Cn!Eo!E}!Gd!ITP!I`P!Io!Io!MP#!`##v#'S#*^!Eo#*hPP!Eo#*o#*u#*h#*h#*xP#*|#+k#+k#+k#+k!ITP#,U#,g#.|P#/bP#0}P#1R#1Z#2O#2Z#4i#4q#4q#1RP#1RP#4x#5OP#5YPP#5u#6d#7U#5uP#7v#8SP#5uP#5uPP#5u#5uP#5uP#5uP#5uP#5uP#5uP#5uP#8V#5Y#8sP#9YP#9o#9o#9o#9o#9|#1RP#:d#?`#?}PPPPPPPP#@uP#ATP#ATP#Aa#Dn#9OPP#@}#EQP#Ee#Ep#Ev#Ev#@}#FlP#1R#1R#1R#1R#1RP!Io#GW#G_#G_#G_#Gc!Ly#Gm!Ly#Gq!E}!E}!E}#Gt#L^!E}>l>l>l$#V!@Q!@Q!@Q!@Q!@Q!@Q!6[!6[!6[$#jP$%V$%e!6[$%kPP!6[$'y$'|#@l$(P:t7j$+V$-Q$.q$0a7jPP7j$2T7jP7j7jP7jP$5Z7jP7jPP7j$5gPPPPPPPPP*[P$8o$8u$;^$=d$=j$>Q$>[$>g$>v$>|$@[$AZ$Ab$Ai$Ao$Aw$BR$BX$Bd$Bj$Bs$B{$CW$C^$Ch$Cn$Cx$DP$D`$Df$DlP$Dr$Dz$ER$Ea$F}$GT$GZ$Gb$GkPPPPPPPP$Gq$GuPPPPP$Nw$'y$Nz%$S%&[P%&i%&lPPPPPPPPPP%&x%'{%(R%(V%)|%+Z%+|%,T%.d%.jPPP%.t%/P%/S%/Y%0a%0d%0n%0x%0|%2Q%2s%2y#@uP%3d%3t%3w%4X%4e%4i%4o%4u$'y$'|$'|%4x%4{P%5V%5YR#cP'`mO[aefwx{!W!X!g!k!n!r!s!v!x#X#Y#[#g#i#l#q#r#s#t#u#v#w#x#y#z#{#}$U$W$Y$e$f$k%]%m&Q&S&W&b&f&x&y&|'O'P'b'i'j'y(`(b(i)l)r*h*i*l*q*r*v+W+Y+h+j+k,P,R,n,q,w-]-^-a-g.P.Q.U.}/Q/[/c/l/n/s/u0h0{1Q1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fU%om%p7QQ&m!`Q(j#]d0P)}/|/}0O0R4}5O5P5S8QR7Q3Tb}Oaewx{!g&S*q&v$i[!W!X!k!n!r!s!v!x#X#Y#[#g#i#l#q#r#s#t#u#v#w#x#y#z#{#}$U$W$Y$e$f$k%]%m&Q&W&b&f&x&y&|'O'P'b'i'j'y(`(b(i)l)r*h*i*l*r*v+W+Y+h+j+k,P,R,n,q,w-]-^-a-g.P.Q.U.}/Q/[/c/l/n/s/u0{1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fS%`f0h#d%jgnp|#O$g$|$}%S%d%h%i%w&s't'u(Q*Y*`*b*t+],l,v-_-p-w.f.m.o0]0y0z1O1S2_2j5a6g;W;X;Y;`;a;b;o;p;q;r;v;w;x;y MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec ) Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:425,nodeProps:[["group",-35,1,8,11,14,15,16,18,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,17,24,25,26,42,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"],["isolate",-4,4,5,8,10,""]],propSources:[g],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,347,348],repeatNodeCount:41,tokenData:"&*r7ZR!UOX$eXY({YZ.gZ]$e]^+P^p$epq({qr.}rs0}st2ktu$euv!7dvw!9bwx!;exy!O{|!?R|}!AV}!O!BQ!O!P!DX!P!Q#+y!Q!R#Az!R![$(x![!]$Ag!]!^$Cc!^!_$D^!_!`%1W!`!a%2X!a!b%5_!b!c$e!c!n%6Y!n!o%7q!o!w%6Y!w!x%7q!x!}%6Y!}#O%:n#O#P%u#Y#]4Y#]#^NZ#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e4eb)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#o4Y#o;'S$e;'S;=`(u<%lO$e4e5xd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#X4Y#X#Y7W#Y#o4Y#o;'S$e;'S;=`(u<%lO$e4e7cd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#Y4Y#Y#Z8q#Z#o4Y#o;'S$e;'S;=`(u<%lO$e4e8|d)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#]4Y#]#^:[#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e:gd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#b4Y#b#c;u#c#o4Y#o;'S$e;'S;=`(u<%lO$e4e][)S,g)ZW(pQ%Z!b'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!?`^)ZW(pQ%Z!b!Y,g'f&jOY$eZr$ers%^sw$ewx(Ox{$e{|!@[|!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!@gY)ZW!X-y(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!AbY!h,k)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!B__)ZW(pQ%Z!b!Y,g'f&jOY$eZr$ers%^sw$ewx(Ox}$e}!O!@[!O!_$e!_!`!8g!`!a!C^!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!CiY(x-y)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!Dd^)ZW(pQ'f&j(w,gOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!E`!P!Q$e!Q![!GY![#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!Ei[)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!F_!P#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!FjY)X,k)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2]!Gen)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx!Icx!Q$e!Q![!GY![!g$e!g!h#$w!h!i#*Y!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#X$e#X#Y#$w#Y#Z#*Y#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2T!IjY(pQ'f&jOY(OZr(Ors%}s!Q(O!Q![!JY![#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O2T!Jcn(pQ!i,g'f&jOY(OZr(Ors%}sw(Owx!Icx!Q(O!Q![!JY![!g(O!g!h!La!h!i##`!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#X(O#X#Y!La#Y#Z##`#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T!Ljl(pQ!i,g'f&jOY(OZr(Ors%}s{(O{|!Nb|}(O}!O!Nb!O!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T!Ni^(pQ'f&jOY(OZr(Ors%}s!Q(O!Q![# e![!c(O!c!i# e!i#O(O#O#P&f#P#T(O#T#Z# e#Z;'S(O;'S;=`(o<%lO(O2T# nj(pQ!i,g'f&jOY(OZr(Ors%}sw(Owx!Nbx!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T##id(pQ!i,g'f&jOY(OZr(Ors%}s!h(O!h!i##`!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#Y(O#Y#Z##`#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2]#%Sn)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx(Ox{$e{|#'Q|}$e}!O#'Q!O!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2]#'Z`)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![#(]![!c$e!c!i#(]!i#O$e#O#P&f#P#T$e#T#Z#(]#Z;'S$e;'S;=`(u<%lO$e2]#(hj)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx!Nbx!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2]#*ef)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx(Ox!h$e!h!i#*Y!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#Y$e#Y#Z#*Y#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e7Z#,W`)ZW(pQ%Z!b![,g'f&jOY$eZr$ers%^sw$ewx(Oxz$ez{#-Y{!P$e!P!Q#:s!Q!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z#-c])ZW(pQ'f&jOY#-YYZ#.[Zr#-Yrs#/csw#-Ywx#5wxz#-Yz{#8j{#O#-Y#O#P#2`#P;'S#-Y;'S;=`#:m<%lO#-Y1e#._TOz#.[z{#.n{;'S#.[;'S;=`#/]<%lO#.[1e#.qVOz#.[z{#.n{!P#.[!P!Q#/W!Q;'S#.[;'S;=`#/]<%lO#.[1e#/]OT1e1e#/`P;=`<%l#.[7X#/jZ)ZW'f&jOY#/cYZ#.[Zw#/cwx#0]xz#/cz{#4O{#O#/c#O#P#2`#P;'S#/c;'S;=`#5q<%lO#/c7P#0bX'f&jOY#0]YZ#.[Zz#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#1SZ'f&jOY#0]YZ#.[Zz#0]z{#0}{!P#0]!P!Q#1u!Q#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#1|UT1e'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}7P#2eZ'f&jOY#0]YZ#0]Z]#0]]^#3W^z#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#3]X'f&jOY#0]YZ#0]Zz#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#3{P;=`<%l#0]7X#4V])ZW'f&jOY#/cYZ#.[Zw#/cwx#0]xz#/cz{#4O{!P#/c!P!Q#5O!Q#O#/c#O#P#2`#P;'S#/c;'S;=`#5q<%lO#/c7X#5XW)ZWT1e'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^7X#5tP;=`<%l#/c7R#6OZ(pQ'f&jOY#5wYZ#.[Zr#5wrs#0]sz#5wz{#6q{#O#5w#O#P#2`#P;'S#5w;'S;=`#8d<%lO#5w7R#6x](pQ'f&jOY#5wYZ#.[Zr#5wrs#0]sz#5wz{#6q{!P#5w!P!Q#7q!Q#O#5w#O#P#2`#P;'S#5w;'S;=`#8d<%lO#5w7R#7zW(pQT1e'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O7R#8gP;=`<%l#5w7Z#8s_)ZW(pQ'f&jOY#-YYZ#.[Zr#-Yrs#/csw#-Ywx#5wxz#-Yz{#8j{!P#-Y!P!Q#9r!Q#O#-Y#O#P#2`#P;'S#-Y;'S;=`#:m<%lO#-Y7Z#9}Y)ZW(pQT1e'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z#:pP;=`<%l#-Y7Z#;OY)ZW(pQS1e'f&jOY#:sZr#:srs#;nsw#:swx#@{x#O#:s#O#P#[<%lO#b#P;'S#[<%lO#[<%lO#_P;=`<%l#i]S1e'f&jOY#b#P#b#[<%lO#[<%lO#b#P#b#[<%lO#t!R![$2V![!c$e!c!i$2V!i#O$e#O#P&f#P#T$e#T#Z$2V#Z;'S$e;'S;=`(u<%lO$e2]$?Pv)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx$4lx!O$e!O!P$ m!P!Q$e!Q![$2V![!c$e!c!g$2V!g!h$:p!h!i$2V!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#U$2V#U#V$2V#V#X$2V#X#Y$:p#Y#Z$2V#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j#l$e#l#m$0z#m;'S$e;'S;=`(u<%lO$e4e$Ar[(v-X)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox![$e![!]$Bh!]#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3s$BsYl-})ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2]$CnY)W,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7V$Dk_p,g%]!b)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!^$Ej!^!_%+w!_!`%.U!`!a%0]!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej*[$Es])ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ejp$FoTO!`$Fl!`!a$GO!a;'S$Fl;'S;=`$GT<%lO$Flp$GTO$Wpp$GWP;=`<%l$Fl*Y$GbZ)ZW'f&jOY$GZYZ$FlZw$GZwx$HTx!`$GZ!`!a%(U!a#O$GZ#O#P$Ib#P;'S$GZ;'S;=`%(y<%lO$GZ*Q$HYX'f&jOY$HTYZ$FlZ!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT*Q$IOU$WpY#t'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}*Q$Ig['f&jOY$HTYZ$HTZ]$HT]^$J]^!`$HT!`!a$NO!a#O$HT#O#P%&n#P;'S$HT;'S;=`%'f;=`<%l%$z<%lO$HT*Q$JbX'f&jOY$HTYZ$J}Z!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT'[$KSX'f&jOY$J}YZ$FlZ!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$KvU$Wp'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}'[$L_Z'f&jOY$J}YZ$J}Z]$J}]^$MQ^!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$MVX'f&jOY$J}YZ$J}Z!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$MuP;=`<%l$J}*Q$M{P;=`<%l$HT*Q$NVW$Wp'f&jOY$NoZ!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`$NtW'f&jOY$NoZ!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`% eUY#t'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%})`% |Y'f&jOY$NoYZ$NoZ]$No]^%!l^#O$No#O#P%#d#P;'S$No;'S;=`%$[;=`<%l%$z<%lO$No)`%!qX'f&jOY$NoYZ%}Z!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`%#aP;=`<%l$No)`%#iZ'f&jOY$NoYZ%}Z]$No]^%!l^!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`%$_XOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l$No<%lO%$z#t%$}WOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h<%lO%$z#t%%lOY#t#t%%oRO;'S%$z;'S;=`%%x;=`O%$z#t%%{XOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l%$z<%lO%$z#t%&kP;=`<%l%$z*Q%&sZ'f&jOY$HTYZ$J}Z]$HT]^$J]^!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT*Q%'iXOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l$HT<%lO%$z*Y%(aW$WpY#t)ZW'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^*Y%(|P;=`<%l$GZ*S%)WZ(pQ'f&jOY%)PYZ$FlZr%)Prs$HTs!`%)P!`!a%)y!a#O%)P#O#P$Ib#P;'S%)P;'S;=`%*n<%lO%)P*S%*UW$WpY#t(pQ'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O*S%*qP;=`<%l%)P*[%+RY$WpY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e*[%+tP;=`<%l$Ej7V%,U^)ZW(pQ%[!b!f,g'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!_$Ej!_!`%-Q!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%-]]!g-y)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%.c]%]!b!b,g)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%/[!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%/mY%]!b!b,g$WpY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e)j%0hYY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%1c[)j!c)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`0Q!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%2f]%]!b)ZW(pQ!d,g'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`%3_!`!a%4[!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%3lY%]!b!b,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%4i[)ZW(pQ%[!b!f,g'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e&u%5jY(uP)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z%6ib)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e7Z%8Qb)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%9Ysw$ewx%9{x!Q$e!Q![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e5P%9cW)ZW(o/]'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^2T%:UW(pQ)Y,g'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O3o%:yZ!V-y)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!}$e!}#O%;l#O#P&f#P;'S$e;'S;=`(u<%lO$e&u%;wY)PP)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e4e%[Z]%=q]^%?Z^!Q%=q!Q![%?w![!w%=q!w!x%AX!x#O%=q#O#P%H_#P#i%=q#i#j%Ds#j#l%=q#l#m%IR#m;'S%=q;'S;=`%Kt<%lO%=q&t%=xUXY'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}4e%>e[XY(n.o'f&jOX%}XY-OYZ*[Z]%}]^-O^p%}pq-Oq#O%}#O#P,^#P;'S%};'S;=`'r<%lO%}4e%?bVXY'f&jOY%}YZ-OZ#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%@OWXY'f&jOY%}Z!Q%}!Q![%@h![#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%@oWXY'f&jOY%}Z!Q%}!Q![%=q![#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%A^['f&jOY%}Z!Q%}!Q![%BS![!c%}!c!i%BS!i#O%}#O#P&f#P#T%}#T#Z%BS#Z;'S%};'S;=`'r<%lO%}&t%BX['f&jOY%}Z!Q%}!Q![%B}![!c%}!c!i%B}!i#O%}#O#P&f#P#T%}#T#Z%B}#Z;'S%};'S;=`'r<%lO%}&t%CS['f&jOY%}Z!Q%}!Q![%Cx![!c%}!c!i%Cx!i#O%}#O#P&f#P#T%}#T#Z%Cx#Z;'S%};'S;=`'r<%lO%}&t%C}['f&jOY%}Z!Q%}!Q![%Ds![!c%}!c!i%Ds!i#O%}#O#P&f#P#T%}#T#Z%Ds#Z;'S%};'S;=`'r<%lO%}&t%Dx['f&jOY%}Z!Q%}!Q![%En![!c%}!c!i%En!i#O%}#O#P&f#P#T%}#T#Z%En#Z;'S%};'S;=`'r<%lO%}&t%Es['f&jOY%}Z!Q%}!Q![%Fi![!c%}!c!i%Fi!i#O%}#O#P&f#P#T%}#T#Z%Fi#Z;'S%};'S;=`'r<%lO%}&t%Fn['f&jOY%}Z!Q%}!Q![%Gd![!c%}!c!i%Gd!i#O%}#O#P&f#P#T%}#T#Z%Gd#Z;'S%};'S;=`'r<%lO%}&t%Gi['f&jOY%}Z!Q%}!Q![%=q![!c%}!c!i%=q!i#O%}#O#P&f#P#T%}#T#Z%=q#Z;'S%};'S;=`'r<%lO%}&t%HfXXY'f&jOY%}YZ%}Z]%}]^'W^#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%IW['f&jOY%}Z!Q%}!Q![%I|![!c%}!c!i%I|!i#O%}#O#P&f#P#T%}#T#Z%I|#Z;'S%};'S;=`'r<%lO%}&t%JR['f&jOY%}Z!Q%}!Q![%Jw![!c%}!c!i%Jw!i#O%}#O#P&f#P#T%}#T#Z%Jw#Z;'S%};'S;=`'r<%lO%}&t%KO[XY'f&jOY%}Z!Q%}!Q![%Jw![!c%}!c!i%Jw!i#O%}#O#P&f#P#T%}#T#Z%Jw#Z;'S%};'S;=`'r<%lO%}&t%KwP;=`<%l%=q2a%LVZ!W,V)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P#Q%Lx#Q;'S$e;'S;=`(u<%lO$e'Y%MTY)]d)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%NQ[)ZW(pQ%[!b'f&j!_,gOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z& Vd)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%9Ysw$ewx%9{x!Q$e!Q!Y%6Y!Y!Z%7q!Z![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e2]&!pY!T,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o&#m^)ZW(pQ%[!b'f&j!^,gOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P#p$e#p#q&$i#q;'S$e;'S;=`(u<%lO$e3o&$vY)T,g%^!b)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e'V&%qY!Ua)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e(]&&nc)ZW(pQ%[!b'RP'f&jOX$eXY&'yZp$epq&'yqr$ers%^sw$ewx(Ox!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e&y&(Sc)ZW(pQ'f&jOX$eXY&'yZp$epq&'yqr$ers%^sw$ewx(Ox!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e&y&)jb)ZW(pQdT'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![&)_![!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e",tokenizers:[_,m,0,1,2,3,4,5,6,7,8,9],topRules:{Program:[0,307]},dynamicPrecedences:{87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,365:3,417:1,418:3,419:1,420:1},specialized:[{term:356,get:O=>R[O]||-1},{term:32,get:O=>h[O]||-1},{term:66,get:O=>k[O]||-1},{term:363,get:O=>G[O]||-1}],tokenPrec:24891}),C=o.define({name:"cpp",parser:E.configure({props:[n.add({IfStatement:i({except:/^\s*({|else\b)/}),TryStatement:i({except:/^\s*({|catch)\b/}),LabeledStatement:s,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:W({closing:"}"}),Statement:i({except:/^{/})}),c.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":f,BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function D(){return new x(C)}export{D as cpp,C as cppLanguage}; +import{b as Y,s as S,t as Q,d as l,L as o,i as n,c as i,j as s,k as W,f as c,l as f,a as x}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const r=1,Z=2,V=3,u=82,p=76,w=117,q=85,T=97,y=122,z=65,b=90,j=95,a=48,P=34,v=40,U=41,d=32,t=62,_=new Y(O=>{if(O.next==p||O.next==q?O.advance():O.next==w&&(O.advance(),O.next==a+8&&O.advance()),O.next!=u||(O.advance(),O.next!=P))return;O.advance();let e="";for(;O.next!=v;){if(O.next==d||O.next<=13||O.next==U)return;e+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(r);if(O.next==U){let $=!0;for(let X=0;$&&X{if(O.next==t)O.peek(1)==t&&O.acceptToken(Z,1);else{let e=!1,$=0;for(;;$++){if(O.next>=z&&O.next<=b)e=!0;else{if(O.next>=T&&O.next<=y)return;if(O.next!=j&&!(O.next>=a&&O.next<=a+9))break}O.advance()}e&&$>1&&O.acceptToken(V)}},{extend:!0}),g=S({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":Q.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":Q.modifier,"if else switch for while do case default return break continue goto throw try catch":Q.controlKeyword,"co_return co_yield co_await":Q.controlKeyword,"new sizeof delete static_assert":Q.operatorKeyword,"NULL nullptr":Q.null,this:Q.self,"True False":Q.bool,"TypeSize PrimitiveType":Q.standard(Q.typeName),TypeIdentifier:Q.typeName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),"ModuleName/Identifier":Q.namespace,PartitionName:Q.labelName,StatementIdentifier:Q.labelName,"Identifier DestructorName":Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),"CallExpression/ScopedIdentifier/Identifier":Q.function(Q.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":Q.function(Q.definition(Q.variableName)),NamespaceIdentifier:Q.namespace,OperatorName:Q.operator,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,AssignOp:Q.definitionOperator,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Number:Q.number,String:Q.string,"RawString SystemLibString":Q.special(Q.string),CharLiteral:Q.character,EscapeSequence:Q.escape,"UserDefinedLiteral/Identifier":Q.literal,PreProcArg:Q.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":Q.processingInstruction,MacroName:Q.special(Q.name),"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,"< >":Q.angleBracket,". ->":Q.derefOperator,", ;":Q.separator}),R={__proto__:null,bool:34,char:34,int:34,float:34,double:34,void:34,size_t:34,ssize_t:34,intptr_t:34,uintptr_t:34,charptr_t:34,int8_t:34,int16_t:34,int32_t:34,int64_t:34,uint8_t:34,uint16_t:34,uint32_t:34,uint64_t:34,char8_t:34,char16_t:34,char32_t:34,char64_t:34,const:68,volatile:70,restrict:72,_Atomic:74,mutable:76,constexpr:78,constinit:80,consteval:82,struct:86,__declspec:90,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:784,true:784,FALSE:786,false:786,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},h={__proto__:null,"<":131},k={__proto__:null,">":135},G={__proto__:null,operator:388,new:576,delete:582},E=l.deserialize({version:14,states:"$:|Q!QQVOOP'gOUOOO(XOWO'#CdO,RQUO'#CgO,]QUO'#FjO-sQbO'#CwO.UQUO'#CwO0TQUO'#KZO0[QUO'#CvO0gOpO'#DvO0oQ!dO'#D]OOQR'#JO'#JOO5XQVO'#GUO5fQUO'#JVOOQQ'#JV'#JVO8zQUO'#KmO{QVO'#E^O?]QUO'#E^OOQQ'#Ed'#EdOOQQ'#Ee'#EeO?bQVO'#EfO@XQVO'#EiOBUQUO'#FPOBvQUO'#FhOOQR'#Fj'#FjOB{QUO'#FjOOQR'#LQ'#LQOOQR'#LP'#LPOETQVO'#KQOFxQUO'#LVOGVQUO'#KqOGkQUO'#LVOH]QUO'#LXOOQR'#HU'#HUOOQR'#HV'#HVOOQR'#HW'#HWOOQR'#K|'#K|OOQR'#J_'#J_Q!QQVOOOHkQVO'#FOOIWQUO'#EhOI_QUOOOKZQVO'#HgOKkQUO'#HgONVQUO'#KqONaQUO'#KqOOQQ'#Kq'#KqO!!_QUO'#KqOOQQ'#Jq'#JqO!!lQUO'#HxOOQQ'#KZ'#KZO!&^QUO'#KZO!&zQUO'#KQO!(zQVO'#I]O!(zQVO'#I`OCQQUO'#KQOOQQ'#Ip'#IpOOQQ'#KQ'#KQO!,}QUO'#KZOOQR'#KY'#KYO!-UQUO'#DYO!/mQUO'#KnOOQQ'#Kn'#KnO!/tQUO'#KnO!/{QUO'#ETO!0QQUO'#EWO!0VQUO'#FRO8zQUO'#FPO!QQVO'#F^O!0[Q#vO'#F`O!0gQUO'#FkO!0oQUO'#FpO!0tQVO'#FrO!0oQUO'#FuO!3sQUO'#FvO!3xQVO'#FxO!4SQUO'#FzO!4XQUO'#F|O!4^QUO'#GOO!4cQVO'#GQO!(zQVO'#GSO!4jQUO'#GpO!4xQUO'#GYO!(zQVO'#FeO!6VQUO'#FeO!6[QVO'#G`O!6cQUO'#GaO!6nQUO'#GnO!6sQUO'#GrO!6xQUO'#GzO!7jQ&lO'#HiO!:mQUO'#GuO!:}QUO'#HXO!;YQUO'#HZO!;bQUO'#DWO!;bQUO'#HuO!;bQUO'#HvO!;yQUO'#HwO!<[QUO'#H|O!=PQUO'#H}O!>uQVO'#IbO!(zQVO'#IdO!?PQUO'#IgO!?WQVO'#IjP!@}{,UO'#CbP!6n{,UO'#CbP!AY{7[O'#CbP!6n{,UO'#CbP!A_{,UO'#CbP!AjOSO'#IzPOOO)CEn)CEnOOOO'#I|'#I|O!AtOWO,59OOOQR,59O,59OO!(zQVO,59UOOQQ,59W,59WO!(zQVO,5;ROOQR,5qOOQR'#IX'#IXOOQR'#IY'#IYOOQR'#IZ'#IZOOQR'#I['#I[O!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!(zQVO,5>rO!DOQVO,5>zOOQQ,5?W,5?WO!EqQVO'#ChO!IjQUO'#CyOOQQ,59c,59cOOQQ,59b,59bOOQQ,5<},5<}O!IwQ&lO,5=mO!?PQUO,5?RO!LkQVO,5?UO!LrQbO,59cO!L}QVO'#FYOOQQ,5?P,5?PO!M_QVO,59VO!MfO`O,5:bO!MkQbO'#D^O!M|QbO'#K^O!N[QbO,59wO!NdQbO'#CwO!NuQUO'#CwO!NzQUO'#KZO# UQUO'#CvOOQR-E<|-E<|O# aQUO,5AoO# hQVO'#EfO@XQVO'#EiOBUQUO,5;kOOQR,5l,5>lO#3gQUO'#CgO#4]QUO,5>pO#6OQUO'#IeOOQR'#I}'#I}O#6WQUO,5:xO#6tQUO,5:xO#7eQUO,5:xO#8YQUO'#CtO!0QQUO'#ClOOQQ'#JW'#JWO#6tQUO,5:xO#8bQUO,5;QO!4xQUO'#C}O#9kQUO,5;QO#9pQUO,5>QO#:|QUO'#C}O#;dQUO,5>{O#;iQUO'#KwO#}QUO'#L[O#?UQUO,5>UO#?ZQbO'#CwO#?fQUO'#GcO#?kQUO'#E^O#@[QUO,5;kO#@sQUO'#K}O#@{QUO,5;rOKkQUO'#HfOBUQUO'#HgO#AQQUO'#KqO!6nQUO'#HjO#AxQUO'#CtO!0tQVO,5PO$(WQUO'#E[O$(eQUO,5>ROOQQ,5>S,5>SO$,RQVO'#C{OOQQ-E=o-E=oOOQQ,5>d,5>dOOQQ,59`,59`O$,]QUO,5>wO$.]QUO,5>zO!6nQUO,59tO$.pQUO,5;qO$.}QUO,5<{O!0QQUO,5:oOOQQ,5:r,5:rO$/YQUO,5;mO$/_QUO'#KmOBUQUO,5;kOOQR,5;x,5;xO$0OQUO'#FbO$0^QUO'#FbO$0cQUO,5;zO$3|QVO'#FmO!0tQVO,5eQUO,5pQUO,5=[O$>uQUO,5=[O!4xQUO,5}QUO,5uQUO,5<{O$DQQUO,5<{O$D]QUO,5=YO!(zQVO,5=^O!(zQVO,5=fO#NeQUO,5=mOOQQ,5>T,5>TO$FbQUO,5>TO$FlQUO,5>TO$FqQUO,5>TO$FvQUO,5>TO!6nQUO,5>TO$HtQUO'#KZO$H{QUO,5=oO$IWQUO,5=aOKkQUO,5=oO$JQQUO,5=sOOQR,5=s,5=sO$JYQUO,5=sO$LeQVO'#H[OOQQ,5=u,5=uO!;]QUO,5=uO%#`QUO'#KjO%#gQUO'#K[O%#{QUO'#KjO%$VQUO'#DyO%$hQUO'#D|O%'eQUO'#K[OOQQ'#K['#K[O%)WQUO'#K[O%#gQUO'#K[O%)]QUO'#K[OOQQ,59r,59rOOQQ,5>a,5>aOOQQ,5>b,5>bO%)eQUO'#HzO%)mQUO,5>cOOQQ,5>c,5>cO%-XQUO,5>cO%-dQUO,5>hO%1OQVO,5>iO%1VQUO,5>|O# hQVO'#EfO%4]QUO,5>|OOQQ,5>|,5>|O%4|QUO,5?OO%7QQUO,5?RO!<[QUO,5?RO%8|QUO,5?UO%sQUO1G0mOOQQ1G0m1G0mO%@PQUO'#CoO%B`QbO'#CwO%BkQUO'#CrO%BpQUO'#CrO%BuQUO1G.tO#AxQUO'#CqOOQQ1G.t1G.tO%DxQUO1G4]O%FOQUO1G4^O%GqQUO1G4^O%IdQUO1G4^O%KVQUO1G4^O%LxQUO1G4^O%NkQUO1G4^O&!^QUO1G4^O&$PQUO1G4^O&%rQUO1G4^O&'eQUO1G4^O&)WQUO1G4^O&*yQUO'#KPO&,SQUO'#KPO&,[QUO,59SOOQQ,5=P,5=PO&.dQUO,5=PO&.nQUO,5=PO&.sQUO,5=PO&.xQUO,5=PO!6nQUO,5=PO#NeQUO1G3XO&/SQUO1G4mO!<[QUO1G4mO&1OQUO1G4pO&2qQVO1G4pOOQQ1G.}1G.}OOQQ1G.|1G.|OOQQ1G2i1G2iO!IwQ&lO1G3XO&2xQUO'#LOO@XQVO'#EiO&4RQUO'#F]OOQQ'#Ja'#JaO&4WQUO'#FZO&4cQUO'#LOO&4kQUO,5;tO&4pQUO1G.qOOQQ1G.q1G.qOOQR1G/|1G/|O&6cQ!dO'#JPO&6hQbO,59xO&8yQ!eO'#D`O&9QQ!dO'#JRO&9VQbO,5@xO&9VQbO,5@xOOQR1G/c1G/cO&9bQbO1G/cO&9gQ&lO'#GeO&:eQbO,59cOOQR1G7Z1G7ZO#@[QUO1G1VO&:pQUO1G1^OBUQUO1G1VO&=RQUO'#CyO#*wQbO,59cO&@tQUO1G6sOOQR-E<{-E<{O&BWQUO1G0dO#6WQUO1G0dOOQQ-E=U-E=UO#6tQUO1G0dOOQQ1G0l1G0lO&B{QUO,59iOOQQ1G3l1G3lO&CcQUO,59iO&CyQUO,59iO!M_QVO1G4gO!(zQVO'#JYO&DeQUO,5AcOOQQ1G0o1G0oO!(zQVO1G0oO!6nQUO'#JnO&DmQUO,5AvOOQQ1G3p1G3pOOQR1G1V1G1VO&HjQVO'#FOO!M_QVO,5;sOOQQ,5;s,5;sOBUQUO'#JcO&JfQUO,5AiO&JnQVO'#E[OOQR1G1^1G1^O&M]QUO'#L[OOQR1G1n1G1nOOQR-E=f-E=fOOQR1G7]1G7]O#DhQUO1G7]OGVQUO1G7]O#DhQUO1G7_OOQR1G7_1G7_O&MeQUO'#G}O&MmQUO'#LWOOQQ,5=h,5=hO&M{QUO,5=jO&NQQUO,5=kOOQR1G7`1G7`O#EfQVO1G7`O&NVQUO1G7`O' ]QVO,5=kOOQR1G1U1G1UO$.vQUO'#E]O'!RQUO'#E]OOQQ'#Ky'#KyO'!lQUO'#KxO'!wQUO,5;UO'#PQUO'#ElO'#dQUO'#ElO'#wQUO'#EtOOQQ'#J['#J[O'#|QUO,5;cO'$sQUO,5;cO'%nQUO,5;dO'&tQVO,5;dOOQQ,5;d,5;dO''OQVO,5;dO'&tQVO,5;dO''VQUO,5;bO'(SQUO,5;eO'(_QUO'#KpO'(gQUO,5:vO'(lQUO,5;fOOQQ1G0n1G0nOOQQ'#J]'#J]O''VQUO,5;bO!4xQUO'#E}OOQQ,5;b,5;bO')gQUO'#E`O'+aQUO'#E{OHrQUO1G0nO'+fQUO'#EbOOQQ'#JX'#JXO'-OQUO'#KrOOQQ'#Kr'#KrO'-xQUO1G0eO'.pQUO1G3kO'/vQVO1G3kOOQQ1G3k1G3kO'0QQVO1G3kO'0XQUO'#L_O'1eQUO'#KXO'1sQUO'#KWO'2OQUO,59gO'2WQUO1G/`O'2]QUO'#FPOOQR1G1]1G1]OOQR1G2g1G2gO$>uQUO1G2gO'2gQUO1G2gO'2rQUO1G0ZOOQR'#J`'#J`O'2wQVO1G1XO'8pQUO'#FTO'8uQUO1G1VO!6nQUO'#JdO'9TQUO,5;|O$0^QUO,5;|OOQQ'#Fc'#FcOOQQ,5;|,5;|O'9cQUO1G1fOOQR1G1f1G1fO'9kQUO,5}QUO1G2`OOQQ'#Cu'#CuO'CzQUO'#G[O'DuQUO'#G[O'DzQUO'#LRO'EYQUO'#G_OOQQ'#LS'#LSO'EhQUO1G2`O'EmQVO1G1kO'HOQVO'#GUOBUQUO'#FWOOQR'#Je'#JeO'EmQVO1G1kO'HYQUO'#FvOOQR1G2f1G2fO'H_QUO1G2gO'HdQUO'#JgO'2gQUO1G2gO!(zQVO1G2tO'HlQUO1G2xO'IuQUO1G3QO'J{QUO1G3XOOQQ1G3o1G3oO'KaQUO1G3oOOQR1G3Z1G3ZO'KfQUO'#KZO'2]QUO'#LTOGkQUO'#LVOOQR'#Gy'#GyO#DhQUO'#LXOOQR'#HQ'#HQO'KpQUO'#GvO'#wQUO'#GuOOQR1G2{1G2{O'LmQUO1G2{O'MdQUO1G3ZO'MoQUO1G3_O'MtQUO1G3_OOQR1G3_1G3_O'M|QUO'#H]OOQR'#H]'#H]O( VQUO'#H]O!(zQVO'#H`O!(zQVO'#H_OOQR'#LZ'#LZO( [QUO'#LZOOQR'#Jk'#JkO( aQVO,5=vOOQQ,5=v,5=vO( hQUO'#H^O( pQUO'#HZOOQQ1G3a1G3aO( zQUO,5@vOOQQ,5@v,5@vO%)WQUO,5@vO%)]QUO,5@vO%$VQUO,5:eO(%iQUO'#KkO(%wQUO'#KkOOQQ,5:e,5:eOOQQ'#JS'#JSO(&SQUO'#D}O(&^QUO'#KqOGkQUO'#LVO('YQUO'#D}OOQQ'#Hp'#HpOOQQ'#Hr'#HrOOQQ'#Hs'#HsOOQQ'#Kl'#KlOOQQ'#JU'#JUO('dQUO,5:hOOQQ,5:h,5:hO((aQUO'#LVO((nQUO'#HtO()UQUO,5@vO()]QUO'#H{O()hQUO'#L^O()pQUO,5>fO()uQUO'#L]OOQQ1G3}1G3}O(-lQUO1G3}O(-sQUO1G3}O(-zQUO1G4TO(/QQUO1G4TO(/VQUO,5A|O!6nQUO1G4hO!(zQVO'#IiOOQQ1G4m1G4mO(/[QUO1G4mO(1_QVO1G4pPOOO1G.h1G.hP!A_{,UO1G.hP(3_QUO'#LeP(3j{,UO1G.hP(3o{7[O1G.hPO{O-E=s-E=sPOOO,5A},5A}P(3w{,UO,5A}POOO1G5Q1G5QO!(zQVO7+$[O(3|QUO'#CyOOQQ,59^,59^O(4XQbO,59cO(4dQbO,59^OOQQ,59],59]OOQQ7+)w7+)wO!M_QVO'#JtO(4oQUO,5@kOOQQ1G.n1G.nOOQQ1G2k1G2kO(4wQUO1G2kO(4|QUO7+(sOOQQ7+*X7+*XO(7bQUO7+*XO(7iQUO7+*XO(1_QVO7+*[O#NeQUO7+(sO(7vQVO'#JbO(8ZQUO,5AjO(8cQUO,5;vOOQQ'#Co'#CoOOQQ,5;w,5;wO!(zQVO'#F[OOQQ-E=_-E=_O!M_QVO,5;uOOQQ1G1`1G1`OOQQ,5?k,5?kOOQQ-E<}-E<}OOQR'#Dg'#DgOOQR'#Di'#DiOOQR'#Dl'#DlO(9lQ!eO'#K_O(9sQMkO'#K_O(9zQ!eO'#K_OOQR'#K_'#K_OOQR'#JQ'#JQO(:RQ!eO,59zOOQQ,59z,59zO(:YQbO,5?mOOQQ-E=P-E=PO(:hQbO1G6dOOQR7+$}7+$}OOQR7+&q7+&qOOQR7+&x7+&xO'8uQUO7+&qO(:sQUO7+&OO#6WQUO7+&OO(;hQUO1G/TO(]QUO,5?tOOQQ-E=W-E=WO(?fQUO7+&ZOOQQ,5@Y,5@YOOQQ-E=l-E=lO(?kQUO'#LOO@XQVO'#EiO(@wQUO1G1_OOQQ1G1_1G1_O(BQQUO,5?}OOQQ,5?},5?}OOQQ-E=a-E=aO(BfQUO'#KpOOQR7+,w7+,wO#DhQUO7+,wOOQR7+,y7+,yO(BsQUO,5=iO#DsQUO'#JjO(CUQUO,5ArOOQR1G3U1G3UOOQR1G3V1G3VO(CdQUO7+,zOOQR7+,z7+,zO(E[QUO,5:wO(FyQUO'#EwO!(zQVO,5;VO(GlQUO,5:wO(GvQUO'#EpO(HXQUO'#EzOOQQ,5;Z,5;ZO#K]QVO'#ExO(HoQUO,5:wO(HvQUO'#EyO#GgQUO'#JZO(J`QUO,5AdOOQQ1G0p1G0pO(JkQUO,5;WO!<[QUO,5;^O(KUQUO,5;_O(KdQUO,5;WO(MvQUO,5;`OOQQ-E=Y-E=YO(NOQUO1G0}OOQQ1G1O1G1OO(NyQUO1G1OO)!PQVO1G1OO)!WQVO1G1OO)!bQUO1G0|OOQQ1G0|1G0|OOQQ1G1P1G1PO)#_QUO'#JoO)#iQUO,5A[OOQQ1G0b1G0bOOQQ-E=Z-E=ZO)#qQUO,5;iO!<[QUO,5;iO)$nQVO,5:zO)$uQUO,5;gO$ mQUO7+&YOOQQ7+&Y7+&YO!(zQVO'#EfO)$|QUO,5:|OOQQ'#Ks'#KsOOQQ-E=V-E=VOOQQ,5A^,5A^OOQQ'#Jl'#JlO)(qQUO7+&PPOQQ7+&P7+&POOQQ7+)V7+)VO))iQUO7+)VO)*oQVO7+)VOOQQ,5>m,5>mO$)YQVO'#JsO)*vQUO,5@rOOQQ1G/R1G/ROOQQ7+$z7+$zO)+RQUO7+(RO)+WQUO7+(ROOQR7+(R7+(RO$>uQUO7+(ROOQQ7+%u7+%uOOQR-E=^-E=^O!0VQUO,5;oOOQQ,5@O,5@OOOQQ-E=b-E=bO$0^QUO1G1hOOQQ1G1h1G1hOOQR7+'Q7+'QOOQR1G1s1G1sOBUQUO,5;rO)+tQUO,5hQUO,5}QUO7+(dO)?SQVO7+(dOOQQ7+(l7+(lOOQQ7+)Z7+)ZO)?[QUO'#KjO)?fQUO'#KjOOQR,5=b,5=bO)?sQUO,5=bO!;bQUO,5=bO!;bQUO,5=bO!;bQUO,5=bOOQR7+(g7+(gOOQR7+(u7+(uOOQR7+(y7+(yOOQR,5=w,5=wO)?xQUO,5=zO)AOQUO,5=yOOQR,5Au,5AuOOQR-E=i-E=iOOQQ1G3b1G3bO)BUQUO,5=xO)BZQVO'#EfOOQQ1G6b1G6bO%)WQUO1G6bO%)]QUO1G6bOOQQ1G0P1G0POOQQ-E=Q-E=QO)DrQUO,5AVO(%iQUO'#JTO)D}QUO,5AVO)D}QUO,5AVO)EVQUO,5:iO8zQUO,5:iOOQQ,5>],5>]O)EaQUO,5AqO)EhQUO'#EVO)FrQUO'#EVO)G]QUO,5:iO)GgQUO'#HlO)GgQUO'#HmOOQQ'#Ko'#KoO)HUQUO'#KoO!(zQVO'#HnOOQQ,5:i,5:iO)HvQUO,5:iO!M_QVO,5:iOOQQ-E=S-E=SOOQQ1G0S1G0SOOQQ,5>`,5>`O)H{QUO1G6bO!(zQVO,5>gO)LjQUO'#JrO)LuQUO,5AxOOQQ1G4Q1G4QO)L}QUO,5AwOOQQ,5Aw,5AwOOQQ7+)i7+)iO*!lQUO7+)iOOQQ7+)o7+)oO*'kQVO1G7hO*)mQUO7+*SO*)rQUO,5?TO**xQUO7+*[POOO7+$S7+$SP*,kQUO'#LfP*,sQUO,5BPP*,x{,UO7+$SPOOO1G7i1G7iO*,}QUO<XQUO7+&jO*?_QVO7+&jOOQQ7+&h7+&hOOQQ,5@Z,5@ZOOQQ-E=m-E=mO*@ZQUO1G1TO*@eQUO1G1TO*AOQUO1G0fOOQQ1G0f1G0fO*BUQUO'#K{O*B^QUO1G1ROOQQ<uQUO<VO)GgQUO'#JpO*NQQUO1G0TO*NcQVO1G0TOOQQ1G3u1G3uO*NjQUO,5>WO*NuQUO,5>XO+ dQUO,5>YO+!jQUO1G0TO%)]QUO7++|O+#pQUO1G4ROOQQ,5@^,5@^OOQQ-E=p-E=pOOQQ<n,5>nO+/iQUOANAXOOQRANAXANAXO+/nQUO7+'`OOQRAN@cAN@cO+0zQVOAN@nO+1RQUOAN@nO!0tQVOAN@nO+2[QUOAN@nO+2aQUOAN@}O+2lQUOAN@}O+3rQUOAN@}OOQRAN@nAN@nO!M_QVOAN@}OOQRANAOANAOO+3wQUO7+'|O)7VQUO7+'|OOQQ7+(O7+(OO+4YQUO7+(OO+5`QVO7+(OO+5gQVO7+'hO+5nQUOANAjOOQR7+(h7+(hOOQR7+)P7+)PO+5sQUO7+)PO+5xQUO7+)POOQQ<= h<= hO+6QQUO7+,]O+6YQUO1G5ZOOQQ1G5Z1G5ZO+6eQUO7+%oOOQQ7+%o7+%oO+6vQUO7+%oO*NcQVO7+%oOOQQ7+)a7+)aO+6{QUO7+%oO+8RQUO7+%oO!M_QVO7+%oO+8]QUO1G0]O*LkQUO1G0]O)EhQUO1G0]OOQQ1G0a1G0aO+8zQUO1G3qO+:QQVO1G3qOOQQ1G3q1G3qO+:[QVO1G3qO+:cQUO,5@[OOQQ-E=n-E=nOOQQ1G3r1G3rO%)WQUO<= hOOQQ7+*Z7+*ZPOQQ,5@b,5@bPOQQ-E=t-E=tOOQQ1G/}1G/}OOQQ,5?x,5?xOOQQ-E=[-E=[OOQRG26sG26sO+:zQUOG26YO!0tQVOG26YO+QQUO<uAN>uO+BpQUOAN>uO+CvQUOAN>uO!M_QVOAN>uO+C{QUO<nQUO'#KZO,?OQUO'#CyO,?^QbO,59cO,6VQUO7+&OO,OP>i>{?aFXMX!&]!,sP!3m!4b!5VP!5qPPPPPPPP!6[P!7tPP!9V!:oP!:uPPPPPP!:xP!:xPP!:xPPPPPPPPP!;U!>lP!>oPP!?]!@QPPPPP!@UP>l!AgPP>l!Cn!Eo!E}!Gd!ITP!I`P!Io!Io!MP#!`##v#'S#*^!Eo#*hPP!Eo#*o#*u#*h#*h#*xP#*|#+k#+k#+k#+k!ITP#,U#,g#.|P#/bP#0}P#1R#1Z#2O#2Z#4i#4q#4q#1RP#1RP#4x#5OP#5YPP#5u#6d#7U#5uP#7v#8SP#5uP#5uPP#5u#5uP#5uP#5uP#5uP#5uP#5uP#5uP#8V#5Y#8sP#9YP#9o#9o#9o#9o#9|#1RP#:d#?`#?}PPPPPPPP#@uP#ATP#ATP#Aa#Dn#9OPP#@}#EQP#Ee#Ep#Ev#Ev#@}#FlP#1R#1R#1R#1R#1RP!Io#GW#G_#G_#G_#Gc!Ly#Gm!Ly#Gq!E}!E}!E}#Gt#L^!E}>l>l>l$#V!@Q!@Q!@Q!@Q!@Q!@Q!6[!6[!6[$#jP$%V$%e!6[$%kPP!6[$'y$'|#@l$(P:t7j$+V$-Q$.q$0a7jPP7j$2T7jP7j7jP7jP$5Z7jP7jPP7j$5gPPPPPPPPP*[P$8o$8u$;^$=d$=j$>Q$>[$>g$>v$>|$@[$AZ$Ab$Ai$Ao$Aw$BR$BX$Bd$Bj$Bs$B{$CW$C^$Ch$Cn$Cx$DP$D`$Df$DlP$Dr$Dz$ER$Ea$F}$GT$GZ$Gb$GkPPPPPPPP$Gq$GuPPPPP$Nw$'y$Nz%$S%&[P%&i%&lPPPPPPPPPP%&x%'{%(R%(V%)|%+Z%+|%,T%.d%.jPPP%.t%/P%/S%/Y%0a%0d%0n%0x%0|%2Q%2s%2y#@uP%3d%3t%3w%4X%4e%4i%4o%4u$'y$'|$'|%4x%4{P%5V%5YR#cP'`mO[aefwx{!W!X!g!k!n!r!s!v!x#X#Y#[#g#i#l#q#r#s#t#u#v#w#x#y#z#{#}$U$W$Y$e$f$k%]%m&Q&S&W&b&f&x&y&|'O'P'b'i'j'y(`(b(i)l)r*h*i*l*q*r*v+W+Y+h+j+k,P,R,n,q,w-]-^-a-g.P.Q.U.}/Q/[/c/l/n/s/u0h0{1Q1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fU%om%p7QQ&m!`Q(j#]d0P)}/|/}0O0R4}5O5P5S8QR7Q3Tb}Oaewx{!g&S*q&v$i[!W!X!k!n!r!s!v!x#X#Y#[#g#i#l#q#r#s#t#u#v#w#x#y#z#{#}$U$W$Y$e$f$k%]%m&Q&W&b&f&x&y&|'O'P'b'i'j'y(`(b(i)l)r*h*i*l*r*v+W+Y+h+j+k,P,R,n,q,w-]-^-a-g.P.Q.U.}/Q/[/c/l/n/s/u0{1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fS%`f0h#d%jgnp|#O$g$|$}%S%d%h%i%w&s't'u(Q*Y*`*b*t+],l,v-_-p-w.f.m.o0]0y0z1O1S2_2j5a6g;W;X;Y;`;a;b;o;p;q;r;v;w;x;y MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec ) Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:425,nodeProps:[["group",-35,1,8,11,14,15,16,18,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,17,24,25,26,42,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"],["isolate",-4,4,5,8,10,""]],propSources:[g],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,347,348],repeatNodeCount:41,tokenData:"&*r7ZR!UOX$eXY({YZ.gZ]$e]^+P^p$epq({qr.}rs0}st2ktu$euv!7dvw!9bwx!;exy!O{|!?R|}!AV}!O!BQ!O!P!DX!P!Q#+y!Q!R#Az!R![$(x![!]$Ag!]!^$Cc!^!_$D^!_!`%1W!`!a%2X!a!b%5_!b!c$e!c!n%6Y!n!o%7q!o!w%6Y!w!x%7q!x!}%6Y!}#O%:n#O#P%u#Y#]4Y#]#^NZ#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e4eb)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#o4Y#o;'S$e;'S;=`(u<%lO$e4e5xd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#X4Y#X#Y7W#Y#o4Y#o;'S$e;'S;=`(u<%lO$e4e7cd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#Y4Y#Y#Z8q#Z#o4Y#o;'S$e;'S;=`(u<%lO$e4e8|d)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#]4Y#]#^:[#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e:gd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#b4Y#b#c;u#c#o4Y#o;'S$e;'S;=`(u<%lO$e4e][)S,g)ZW(pQ%Z!b'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!?`^)ZW(pQ%Z!b!Y,g'f&jOY$eZr$ers%^sw$ewx(Ox{$e{|!@[|!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!@gY)ZW!X-y(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!AbY!h,k)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!B__)ZW(pQ%Z!b!Y,g'f&jOY$eZr$ers%^sw$ewx(Ox}$e}!O!@[!O!_$e!_!`!8g!`!a!C^!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o!CiY(x-y)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!Dd^)ZW(pQ'f&j(w,gOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!E`!P!Q$e!Q![!GY![#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!Ei[)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!O$e!O!P!F_!P#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2a!FjY)X,k)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2]!Gen)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx!Icx!Q$e!Q![!GY![!g$e!g!h#$w!h!i#*Y!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#X$e#X#Y#$w#Y#Z#*Y#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2T!IjY(pQ'f&jOY(OZr(Ors%}s!Q(O!Q![!JY![#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O2T!Jcn(pQ!i,g'f&jOY(OZr(Ors%}sw(Owx!Icx!Q(O!Q![!JY![!g(O!g!h!La!h!i##`!i!n(O!n!o##`!o!r(O!r!s!La!s!w(O!w!x##`!x#O(O#O#P&f#P#X(O#X#Y!La#Y#Z##`#Z#`(O#`#a##`#a#d(O#d#e!La#e#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T!Ljl(pQ!i,g'f&jOY(OZr(Ors%}s{(O{|!Nb|}(O}!O!Nb!O!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T!Ni^(pQ'f&jOY(OZr(Ors%}s!Q(O!Q![# e![!c(O!c!i# e!i#O(O#O#P&f#P#T(O#T#Z# e#Z;'S(O;'S;=`(o<%lO(O2T# nj(pQ!i,g'f&jOY(OZr(Ors%}sw(Owx!Nbx!Q(O!Q![# e![!c(O!c!h# e!h!i# e!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#T(O#T#Y# e#Y#Z# e#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2T##id(pQ!i,g'f&jOY(OZr(Ors%}s!h(O!h!i##`!i!n(O!n!o##`!o!w(O!w!x##`!x#O(O#O#P&f#P#Y(O#Y#Z##`#Z#`(O#`#a##`#a#i(O#i#j##`#j;'S(O;'S;=`(o<%lO(O2]#%Sn)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx(Ox{$e{|#'Q|}$e}!O#'Q!O!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2]#'Z`)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![#(]![!c$e!c!i#(]!i#O$e#O#P&f#P#T$e#T#Z#(]#Z;'S$e;'S;=`(u<%lO$e2]#(hj)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx!Nbx!Q$e!Q![#(]![!c$e!c!h#(]!h!i#(]!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#Y#(]#Y#Z#(]#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e2]#*ef)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx(Ox!h$e!h!i#*Y!i!n$e!n!o#*Y!o!w$e!w!x#*Y!x#O$e#O#P&f#P#Y$e#Y#Z#*Y#Z#`$e#`#a#*Y#a#i$e#i#j#*Y#j;'S$e;'S;=`(u<%lO$e7Z#,W`)ZW(pQ%Z!b![,g'f&jOY$eZr$ers%^sw$ewx(Oxz$ez{#-Y{!P$e!P!Q#:s!Q!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z#-c])ZW(pQ'f&jOY#-YYZ#.[Zr#-Yrs#/csw#-Ywx#5wxz#-Yz{#8j{#O#-Y#O#P#2`#P;'S#-Y;'S;=`#:m<%lO#-Y1e#._TOz#.[z{#.n{;'S#.[;'S;=`#/]<%lO#.[1e#.qVOz#.[z{#.n{!P#.[!P!Q#/W!Q;'S#.[;'S;=`#/]<%lO#.[1e#/]OT1e1e#/`P;=`<%l#.[7X#/jZ)ZW'f&jOY#/cYZ#.[Zw#/cwx#0]xz#/cz{#4O{#O#/c#O#P#2`#P;'S#/c;'S;=`#5q<%lO#/c7P#0bX'f&jOY#0]YZ#.[Zz#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#1SZ'f&jOY#0]YZ#.[Zz#0]z{#0}{!P#0]!P!Q#1u!Q#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#1|UT1e'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}7P#2eZ'f&jOY#0]YZ#0]Z]#0]]^#3W^z#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#3]X'f&jOY#0]YZ#0]Zz#0]z{#0}{#O#0]#O#P#2`#P;'S#0];'S;=`#3x<%lO#0]7P#3{P;=`<%l#0]7X#4V])ZW'f&jOY#/cYZ#.[Zw#/cwx#0]xz#/cz{#4O{!P#/c!P!Q#5O!Q#O#/c#O#P#2`#P;'S#/c;'S;=`#5q<%lO#/c7X#5XW)ZWT1e'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^7X#5tP;=`<%l#/c7R#6OZ(pQ'f&jOY#5wYZ#.[Zr#5wrs#0]sz#5wz{#6q{#O#5w#O#P#2`#P;'S#5w;'S;=`#8d<%lO#5w7R#6x](pQ'f&jOY#5wYZ#.[Zr#5wrs#0]sz#5wz{#6q{!P#5w!P!Q#7q!Q#O#5w#O#P#2`#P;'S#5w;'S;=`#8d<%lO#5w7R#7zW(pQT1e'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O7R#8gP;=`<%l#5w7Z#8s_)ZW(pQ'f&jOY#-YYZ#.[Zr#-Yrs#/csw#-Ywx#5wxz#-Yz{#8j{!P#-Y!P!Q#9r!Q#O#-Y#O#P#2`#P;'S#-Y;'S;=`#:m<%lO#-Y7Z#9}Y)ZW(pQT1e'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z#:pP;=`<%l#-Y7Z#;OY)ZW(pQS1e'f&jOY#:sZr#:srs#;nsw#:swx#@{x#O#:s#O#P#[<%lO#b#P;'S#[<%lO#[<%lO#_P;=`<%l#i]S1e'f&jOY#b#P#b#[<%lO#[<%lO#b#P#b#[<%lO#t!R![$2V![!c$e!c!i$2V!i#O$e#O#P&f#P#T$e#T#Z$2V#Z;'S$e;'S;=`(u<%lO$e2]$?Pv)ZW(pQ!i,g'f&jOY$eZr$ers%^sw$ewx$4lx!O$e!O!P$ m!P!Q$e!Q![$2V![!c$e!c!g$2V!g!h$:p!h!i$2V!i!n$e!n!o#*Y!o!r$e!r!s#$w!s!w$e!w!x#*Y!x#O$e#O#P&f#P#T$e#T#U$2V#U#V$2V#V#X$2V#X#Y$:p#Y#Z$2V#Z#`$e#`#a#*Y#a#d$e#d#e#$w#e#i$e#i#j#*Y#j#l$e#l#m$0z#m;'S$e;'S;=`(u<%lO$e4e$Ar[(v-X)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox![$e![!]$Bh!]#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3s$BsYl-})ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e2]$CnY)W,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7V$Dk_p,g%]!b)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!^$Ej!^!_%+w!_!`%.U!`!a%0]!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej*[$Es])ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ejp$FoTO!`$Fl!`!a$GO!a;'S$Fl;'S;=`$GT<%lO$Flp$GTO$Wpp$GWP;=`<%l$Fl*Y$GbZ)ZW'f&jOY$GZYZ$FlZw$GZwx$HTx!`$GZ!`!a%(U!a#O$GZ#O#P$Ib#P;'S$GZ;'S;=`%(y<%lO$GZ*Q$HYX'f&jOY$HTYZ$FlZ!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT*Q$IOU$WpY#t'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}*Q$Ig['f&jOY$HTYZ$HTZ]$HT]^$J]^!`$HT!`!a$NO!a#O$HT#O#P%&n#P;'S$HT;'S;=`%'f;=`<%l%$z<%lO$HT*Q$JbX'f&jOY$HTYZ$J}Z!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT'[$KSX'f&jOY$J}YZ$FlZ!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$KvU$Wp'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}'[$L_Z'f&jOY$J}YZ$J}Z]$J}]^$MQ^!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$MVX'f&jOY$J}YZ$J}Z!`$J}!`!a$Ko!a#O$J}#O#P$LY#P;'S$J};'S;=`$Mr<%lO$J}'[$MuP;=`<%l$J}*Q$M{P;=`<%l$HT*Q$NVW$Wp'f&jOY$NoZ!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`$NtW'f&jOY$NoZ!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`% eUY#t'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%})`% |Y'f&jOY$NoYZ$NoZ]$No]^%!l^#O$No#O#P%#d#P;'S$No;'S;=`%$[;=`<%l%$z<%lO$No)`%!qX'f&jOY$NoYZ%}Z!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`%#aP;=`<%l$No)`%#iZ'f&jOY$NoYZ%}Z]$No]^%!l^!`$No!`!a% ^!a#O$No#O#P% w#P;'S$No;'S;=`%#^<%lO$No)`%$_XOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l$No<%lO%$z#t%$}WOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h<%lO%$z#t%%lOY#t#t%%oRO;'S%$z;'S;=`%%x;=`O%$z#t%%{XOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l%$z<%lO%$z#t%&kP;=`<%l%$z*Q%&sZ'f&jOY$HTYZ$J}Z]$HT]^$J]^!`$HT!`!a$Hu!a#O$HT#O#P$Ib#P;'S$HT;'S;=`$Mx<%lO$HT*Q%'iXOY%$zZ!`%$z!`!a%%g!a#O%$z#O#P%%l#P;'S%$z;'S;=`%&h;=`<%l$HT<%lO%$z*Y%(aW$WpY#t)ZW'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^*Y%(|P;=`<%l$GZ*S%)WZ(pQ'f&jOY%)PYZ$FlZr%)Prs$HTs!`%)P!`!a%)y!a#O%)P#O#P$Ib#P;'S%)P;'S;=`%*n<%lO%)P*S%*UW$WpY#t(pQ'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O*S%*qP;=`<%l%)P*[%+RY$WpY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e*[%+tP;=`<%l$Ej7V%,U^)ZW(pQ%[!b!f,g'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!_$Ej!_!`%-Q!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%-]]!g-y)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%*t!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%.c]%]!b!b,g)ZW(pQ'f&jOY$EjYZ$FlZr$Ejrs$GZsw$Ejwx%)Px!`$Ej!`!a%/[!a#O$Ej#O#P$Ib#P;'S$Ej;'S;=`%+q<%lO$Ej7V%/mY%]!b!b,g$WpY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e)j%0hYY#t)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%1c[)j!c)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`0Q!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%2f]%]!b)ZW(pQ!d,g'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`%3_!`!a%4[!a#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%3lY%]!b!b,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%4i[)ZW(pQ%[!b!f,g'f&jOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e&u%5jY(uP)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z%6ib)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e7Z%8Qb)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%9Ysw$ewx%9{x!Q$e!Q![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e5P%9cW)ZW(o/]'f&jOY%^Zw%^wx%}x#O%^#O#P&f#P;'S%^;'S;=`'x<%lO%^2T%:UW(pQ)Y,g'f&jOY(OZr(Ors%}s#O(O#O#P&f#P;'S(O;'S;=`(o<%lO(O3o%:yZ!V-y)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox!}$e!}#O%;l#O#P&f#P;'S$e;'S;=`(u<%lO$e&u%;wY)PP)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e4e%[Z]%=q]^%?Z^!Q%=q!Q![%?w![!w%=q!w!x%AX!x#O%=q#O#P%H_#P#i%=q#i#j%Ds#j#l%=q#l#m%IR#m;'S%=q;'S;=`%Kt<%lO%=q&t%=xUXY'f&jOY%}Z#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}4e%>e[XY(n.o'f&jOX%}XY-OYZ*[Z]%}]^-O^p%}pq-Oq#O%}#O#P,^#P;'S%};'S;=`'r<%lO%}4e%?bVXY'f&jOY%}YZ-OZ#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%@OWXY'f&jOY%}Z!Q%}!Q![%@h![#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%@oWXY'f&jOY%}Z!Q%}!Q![%=q![#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%A^['f&jOY%}Z!Q%}!Q![%BS![!c%}!c!i%BS!i#O%}#O#P&f#P#T%}#T#Z%BS#Z;'S%};'S;=`'r<%lO%}&t%BX['f&jOY%}Z!Q%}!Q![%B}![!c%}!c!i%B}!i#O%}#O#P&f#P#T%}#T#Z%B}#Z;'S%};'S;=`'r<%lO%}&t%CS['f&jOY%}Z!Q%}!Q![%Cx![!c%}!c!i%Cx!i#O%}#O#P&f#P#T%}#T#Z%Cx#Z;'S%};'S;=`'r<%lO%}&t%C}['f&jOY%}Z!Q%}!Q![%Ds![!c%}!c!i%Ds!i#O%}#O#P&f#P#T%}#T#Z%Ds#Z;'S%};'S;=`'r<%lO%}&t%Dx['f&jOY%}Z!Q%}!Q![%En![!c%}!c!i%En!i#O%}#O#P&f#P#T%}#T#Z%En#Z;'S%};'S;=`'r<%lO%}&t%Es['f&jOY%}Z!Q%}!Q![%Fi![!c%}!c!i%Fi!i#O%}#O#P&f#P#T%}#T#Z%Fi#Z;'S%};'S;=`'r<%lO%}&t%Fn['f&jOY%}Z!Q%}!Q![%Gd![!c%}!c!i%Gd!i#O%}#O#P&f#P#T%}#T#Z%Gd#Z;'S%};'S;=`'r<%lO%}&t%Gi['f&jOY%}Z!Q%}!Q![%=q![!c%}!c!i%=q!i#O%}#O#P&f#P#T%}#T#Z%=q#Z;'S%};'S;=`'r<%lO%}&t%HfXXY'f&jOY%}YZ%}Z]%}]^'W^#O%}#O#P&f#P;'S%};'S;=`'r<%lO%}&t%IW['f&jOY%}Z!Q%}!Q![%I|![!c%}!c!i%I|!i#O%}#O#P&f#P#T%}#T#Z%I|#Z;'S%};'S;=`'r<%lO%}&t%JR['f&jOY%}Z!Q%}!Q![%Jw![!c%}!c!i%Jw!i#O%}#O#P&f#P#T%}#T#Z%Jw#Z;'S%};'S;=`'r<%lO%}&t%KO[XY'f&jOY%}Z!Q%}!Q![%Jw![!c%}!c!i%Jw!i#O%}#O#P&f#P#T%}#T#Z%Jw#Z;'S%};'S;=`'r<%lO%}&t%KwP;=`<%l%=q2a%LVZ!W,V)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P#Q%Lx#Q;'S$e;'S;=`(u<%lO$e'Y%MTY)]d)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o%NQ[)ZW(pQ%[!b'f&j!_,gOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e7Z& Vd)ZW(yS(pQ!R,f(r%y'f&jOY$eZr$ers%9Ysw$ewx%9{x!Q$e!Q!Y%6Y!Y!Z%7q!Z![%6Y![!c$e!c!}%6Y!}#O$e#O#P&f#P#R$e#R#S%6Y#S#T$e#T#o%6Y#o;'S$e;'S;=`(u<%lO$e2]&!pY!T,g)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e3o&#m^)ZW(pQ%[!b'f&j!^,gOY$eZr$ers%^sw$ewx(Ox!_$e!_!`!8g!`#O$e#O#P&f#P#p$e#p#q&$i#q;'S$e;'S;=`(u<%lO$e3o&$vY)T,g%^!b)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e'V&%qY!Ua)ZW(pQ'f&jOY$eZr$ers%^sw$ewx(Ox#O$e#O#P&f#P;'S$e;'S;=`(u<%lO$e(]&&nc)ZW(pQ%[!b'RP'f&jOX$eXY&'yZp$epq&'yqr$ers%^sw$ewx(Ox!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e&y&(Sc)ZW(pQ'f&jOX$eXY&'yZp$epq&'yqr$ers%^sw$ewx(Ox!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e&y&)jb)ZW(pQdT'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![&)_![!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e",tokenizers:[_,m,0,1,2,3,4,5,6,7,8,9],topRules:{Program:[0,307]},dynamicPrecedences:{87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,365:3,417:1,418:3,419:1,420:1},specialized:[{term:356,get:O=>R[O]||-1},{term:32,get:O=>h[O]||-1},{term:66,get:O=>k[O]||-1},{term:363,get:O=>G[O]||-1}],tokenPrec:24891}),C=o.define({name:"cpp",parser:E.configure({props:[n.add({IfStatement:i({except:/^\s*({|else\b)/}),TryStatement:i({except:/^\s*({|catch)\b/}),LabeledStatement:s,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:W({closing:"}"}),Statement:i({except:/^{/})}),c.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":f,BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function D(){return new x(C)}export{D as cpp,C as cppLanguage}; diff --git a/public/admin/assets/index-BBYMB4fF.js b/AIWebQuickDeploy/public/admin/assets/index-DpvF2gU0.js similarity index 54% rename from public/admin/assets/index-BBYMB4fF.js rename to AIWebQuickDeploy/public/admin/assets/index-DpvF2gU0.js index 1a3cbd4..c48c9d1 100644 --- a/public/admin/assets/index-BBYMB4fF.js +++ b/AIWebQuickDeploy/public/admin/assets/index-DpvF2gU0.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-DBGFR6b9.js";import"./HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js";import"./index-nGFMSQGw.js";import"./HKbd-By3ZrrUU.js";export{o as default}; +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js";import"./HKbd-Be5shIQ7.js";import"./index-6QRvoxq4.js";export{o as default}; diff --git a/public/admin/assets/index-apzNn83J.js b/AIWebQuickDeploy/public/admin/assets/index-Dq5t6Z0r.js similarity index 57% rename from public/admin/assets/index-apzNn83J.js rename to AIWebQuickDeploy/public/admin/assets/index-Dq5t6Z0r.js index 222ce26..4c6921f 100644 --- a/public/admin/assets/index-apzNn83J.js +++ b/AIWebQuickDeploy/public/admin/assets/index-Dq5t6Z0r.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import u from"./index-DYuViJCA.js";import g from"./index-DilPWwlM.js";import{d as h,u as f,n as c,r as p,a as _,O as y,X as v,g as s,c as w,i as e,z as l,A as d,Q as T,l as k}from"./index-nGFMSQGw.js";import"./index-CyI3Kccs.js";import"./useMainPage-C9MASyfo.js";import"./leftSide.vue_vue_type_script_setup_true_lang-CY8It3ua.js";import"./index-D5jQENXK.js";import"./index-CeCYhShg.js";import"./item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js";import"./rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js";import"./index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js";import"./HDropdown-BjwO9ikd.js";import"./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js";import"./use-resolve-button-type-CVaAVCZ2.js";import"./index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js";import"./index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js";import"./HKbd-By3ZrrUU.js";import"./index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js";const E=h({name:"Topbar",__name:"index",setup(S){const t=f(),a=c(()=>!(t.settings.menu.menuMode==="head"&&(!t.settings.toolbar.breadcrumb||t.settings.app.routeBaseOn==="filesystem"))),n=p(0),m=p(!1),b=c(()=>{const o=t.settings.tabbar.enable?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-tabbar-height")):0,r=a.value?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-toolbar-height")):0;return o+r});_(()=>{window.addEventListener("scroll",i)}),y(()=>{window.removeEventListener("scroll",i)});function i(){n.value=(document.documentElement||document.body).scrollTop}return v(n,(o,r)=>{m.value=t.settings.topbar.mode==="sticky"&&o>r&&o>b.value}),(o,r)=>(s(),w("div",{class:T(["topbar-container",{"has-tabbar":e(t).settings.tabbar.enable,"has-toolbar":e(a),[`topbar-${e(t).settings.topbar.mode}`]:!0,shadow:e(n),hide:e(m)}]),"data-fixed-calc-width":""},[e(t).settings.tabbar.enable?(s(),l(u,{key:0})):d("",!0),e(a)?(s(),l(g,{key:1})):d("",!0)],2))}}),D=k(E,[["__scopeId","data-v-a6c8b676"]]);export{D as default}; +import u from"./index-DyGHaFdn.js";import g from"./index-BRrAnYwh.js";import{d as h,u as f,n as c,r as p,a as _,O as y,X as v,g as s,c as w,i as e,z as l,A as d,Q as T,l as k}from"./index-6QRvoxq4.js";import"./index-B0yaT7Pj.js";import"./useMainPage--yVtHxDh.js";import"./leftSide.vue_vue_type_script_setup_true_lang-Dg-uHS6-.js";import"./index-CbgLRpel.js";import"./index-BE5tQEZB.js";import"./item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js";import"./rightSide.vue_vue_type_script_setup_true_lang-Bh_y80-_.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js";import"./index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js";import"./HDropdown-7q7O_XMK.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js";import"./use-resolve-button-type-BE1XPlJv.js";import"./index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js";import"./index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js";import"./HKbd-Be5shIQ7.js";import"./index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js";const E=h({name:"Topbar",__name:"index",setup(S){const t=f(),a=c(()=>!(t.settings.menu.menuMode==="head"&&(!t.settings.toolbar.breadcrumb||t.settings.app.routeBaseOn==="filesystem"))),n=p(0),m=p(!1),b=c(()=>{const o=t.settings.tabbar.enable?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-tabbar-height")):0,r=a.value?Number.parseInt(getComputedStyle(document.documentElement||document.body).getPropertyValue("--g-toolbar-height")):0;return o+r});_(()=>{window.addEventListener("scroll",i)}),y(()=>{window.removeEventListener("scroll",i)});function i(){n.value=(document.documentElement||document.body).scrollTop}return v(n,(o,r)=>{m.value=t.settings.topbar.mode==="sticky"&&o>r&&o>b.value}),(o,r)=>(s(),w("div",{class:T(["topbar-container",{"has-tabbar":e(t).settings.tabbar.enable,"has-toolbar":e(a),[`topbar-${e(t).settings.topbar.mode}`]:!0,shadow:e(n),hide:e(m)}]),"data-fixed-calc-width":""},[e(t).settings.tabbar.enable?(s(),l(u,{key:0})):d("",!0),e(a)?(s(),l(g,{key:1})):d("",!0)],2))}}),D=k(E,[["__scopeId","data-v-a6c8b676"]]);export{D as default}; diff --git a/public/admin/assets/index-ltfup6bp.js b/AIWebQuickDeploy/public/admin/assets/index-Dqh7E9u3.js similarity index 99% rename from public/admin/assets/index-ltfup6bp.js rename to AIWebQuickDeploy/public/admin/assets/index-Dqh7E9u3.js index ceee9ad..b98ecd3 100644 --- a/public/admin/assets/index-ltfup6bp.js +++ b/AIWebQuickDeploy/public/admin/assets/index-Dqh7E9u3.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{s as r,t as O,L as i,i as n,c as $,f as y,l as P,o as X,a as m,d as c,b as S}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const s=110,l=1,f=2,t=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function e(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function p(T){return T>=48&&T<=57}const W=new S((T,Q)=>{if(T.next==40){let a=T.peek(-1);(e(a)||p(a)||a==95||a==45)&&T.acceptToken(f,1)}}),d=new S(T=>{if(t.indexOf(T.peek(-1))>-1){let{next:Q}=T;(e(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(s)}}),Z=new S(T=>{if(t.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(l)),e(Q)){do T.advance();while(e(T.next));T.acceptToken(l)}}}),w=r({"import charset namespace keyframes media supports when":O.definitionKeyword,"from to selector":O.keyword,NamespaceName:O.namespace,KeyframeName:O.labelName,TagName:O.tagName,ClassName:O.className,PseudoClassName:O.constant(O.className),IdName:O.labelName,"FeatureName PropertyName PropertyVariable":O.propertyName,AttributeName:O.attributeName,NumberLiteral:O.number,KeywordQuery:O.keyword,UnaryQueryOp:O.operatorKeyword,"CallTag ValueName":O.atom,VariableName:O.variableName,"AtKeyword Interpolation":O.special(O.variableName),Callee:O.operatorKeyword,Unit:O.unit,"UniversalSelector NestingSelector":O.definitionOperator,MatchOp:O.compareOperator,"ChildOp SiblingOp, LogicOp":O.logicOperator,BinOp:O.arithmeticOperator,Important:O.modifier,"Comment LineComment":O.blockComment,ColorLiteral:O.color,"ParenthesizedContent StringLiteral":O.string,Escape:O.special(O.string),": ...":O.punctuation,"PseudoOp #":O.derefOperator,"; ,":O.separator,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),z={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},h={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},g=c.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#DsO/yQ!fO'#FRO0eQWO'#DtOOQS'#FS'#FSO+YQWO,5:eO'bQWO'#DrOOQS'#Cu'#CuO(QQWO'#CwO0jQ!hO'#CyO2^Q!fO,5:gO2oQWO'#DWOOQS'#Ex'#ExO(QQWO'#DQOOQO'#EP'#EPO2tQWO,5:iO2yQWO,5:iOOQO'#ES'#ESO3RQWO,5:lO3WQ!fO,5:rO3iQ`O'#EkO.pQ`O,5;oOOQO,5:|,5:|O3zQWO,5:tOOQO,5:},5:}O4XQWO,5;]OOQO-E8a-E8aOOQP1G.m1G.mOOQP'#Ce'#CeO5RQaO,5;OOOQP'#Df'#DfOOQO-E8b-E8bOOQO1G.h1G.hO(QQWO1G.hO5fQWO1G.hO5nQeO1G.oO.cQ[O1G.oOOQP1G/a1G/aO6{QpO1G/dO7fQaO1G/gO8cQaO1G/iO9`QaO1G/jO:]Q!fO'#FOO:yQ!fO'#ExOOQO'#FO'#FOOOQO,5;i,5;iO<^QWO,5;iOWQWO1G/rO>]Q!fO'#DnO>qQWO,5:ZO>vQ!fO,5:_OOQO'#DP'#DPO'bQWO,5:]O?XQWO'#DwOOQS,5:b,5:bO?`QWO,5:dO'bQWO'#EiO?gQWO,5;mO*bQWO,5:`OOQO1G0P1G0PO?uQ!fO,5:^O@aQ!fO,59cOOQS,59e,59eO(QQWO,59iOOQS,59n,59nO@rQWO,59pOOQO1G0R1G0RO@yQ#tO,59rOARQ!fO,59lOOQO1G0T1G0TOBrQWO1G0TOBwQWO'#ETOOQO1G0W1G0WOOQO1G0^1G0^OOQO,5;V,5;VOOQO-E8i-E8iOCVQ!fO1G0bOCvQWO1G0`O%kQWO'#E_O$RQWO'#E`OEZQWO'#E^OOQO1G0b1G0bPEkQWO'#EcOUAN>UO!!RQWO,5;QOOQO-E8d-E8dO!!]QWOAN>dOOQS<S![;'S%T;'S;=`%f<%lO%Tm>ZY#m]|`Oy%Tz!Q%T!Q![>S![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%Tm?OY|`Oy%Tz{%T{|?n|}%T}!O?n!O!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm?sU|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@^U#m]|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@w[#m]|`Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TbAtS#xQ|`Oy%Tz;'S%T;'S;=`%f<%lO%TkBVScZOy%Tz;'S%T;'S;=`%f<%lO%TmBhXrWOy%Tz}%T}!OCT!O!P=k!P!Q%T!Q![@p![;'S%T;'S;=`%f<%lO%TmCYW|`Oy%Tz!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%TmCy[f]|`Oy%Tz}%T}!OCr!O!Q%T!Q![Cr![!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%ToDtW#iROy%Tz!O%T!O!PE^!P!Q%T!Q![>S![;'S%T;'S;=`%f<%lO%TlEcU|`Oy%Tz!O%T!O!PEu!P;'S%T;'S;=`%f<%lO%TlE|S#s[|`Oy%Tz;'S%T;'S;=`%f<%lO%T~F_VrWOy%Tz{Ft{!P%T!P!QIl!Q;'S%T;'S;=`%f<%lO%T~FyU|`OyFtyzG]z{Hd{;'SFt;'S;=`If<%lOFt~G`TOzG]z{Go{;'SG];'S;=`H^<%lOG]~GrVOzG]z{Go{!PG]!P!QHX!Q;'SG];'S;=`H^<%lOG]~H^OR~~HaP;=`<%lG]~HiW|`OyFtyzG]z{Hd{!PFt!P!QIR!Q;'SFt;'S;=`If<%lOFt~IYS|`R~Oy%Tz;'S%T;'S;=`%f<%lO%T~IiP;=`<%lFt~IsV|`S~OYIlYZ%TZyIlyzJYz;'SIl;'S;=`Jq<%lOIl~J_SS~OYJYZ;'SJY;'S;=`Jk<%lOJY~JnP;=`<%lJY~JtP;=`<%lIlmJ|[#m]Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TkKwU^ZOy%Tz![%T![!]LZ!];'S%T;'S;=`%f<%lO%TcLbS_R|`Oy%Tz;'S%T;'S;=`%f<%lO%TkLsS!ZZOy%Tz;'S%T;'S;=`%f<%lO%ThMUUrWOy%Tz!_%T!_!`Mh!`;'S%T;'S;=`%f<%lO%ThMoS|`rWOy%Tz;'S%T;'S;=`%f<%lO%TlNSW!SSrWOy%Tz!^%T!^!_Mh!_!`%T!`!aMh!a;'S%T;'S;=`%f<%lO%TjNsV!UQrWOy%Tz!_%T!_!`Mh!`!a! Y!a;'S%T;'S;=`%f<%lO%Tb! aS!UQ|`Oy%Tz;'S%T;'S;=`%f<%lO%To! rYg]Oy%Tz!b%T!b!c!!b!c!}!#R!}#T%T#T#o!#R#o#p!$O#p;'S%T;'S;=`%f<%lO%Tm!!iWg]|`Oy%Tz!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%Tm!#Y[g]|`Oy%Tz}%T}!O!#R!O!Q%T!Q![!#R![!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%To!$TW|`Oy%Tz!c%T!c!}!$m!}#T%T#T#o!$m#o;'S%T;'S;=`%f<%lO%To!$r^|`Oy%Tz}%T}!O!$m!O!Q%T!Q![!$m![!c%T!c!}!$m!}#T%T#T#o!$m#o#q%T#q#r!%n#r;'S%T;'S;=`%f<%lO%To!%uSp_|`Oy%Tz;'S%T;'S;=`%f<%lO%To!&W[#h_Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%To!'T[#h_|`Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%Tk!(OSyZOy%Tz;'S%T;'S;=`%f<%lO%Tm!(aSw]Oy%Tz;'S%T;'S;=`%f<%lO%Td!(pUOy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tk!)XS!^ZOy%Tz;'S%T;'S;=`%f<%lO%Tk!)jS!]ZOy%Tz;'S%T;'S;=`%f<%lO%To!){Y#oQOr%Trs!*ksw%Twx!.wxy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tm!*pZ|`OY!*kYZ%TZr!*krs!+csy!*kyz!+vz#O!*k#O#P!-j#P;'S!*k;'S;=`!.q<%lO!*km!+jSo]|`Oy%Tz;'S%T;'S;=`%f<%lO%T]!+yWOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d<%lO!+v]!,hOo]]!,kRO;'S!+v;'S;=`!,t;=`O!+v]!,wXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!+v<%lO!+v]!-gP;=`<%l!+vm!-oU|`Oy!*kyz!+vz;'S!*k;'S;=`!.R;=`<%l!+v<%lO!*km!.UXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[d,Z,W,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:T=>z[T]||-1},{term:23,get:T=>h[T]||-1}],tokenPrec:2180}),o=i.define({name:"less",parser:g.configure({props:[n.add({Declaration:$()}),y.add({Block:P})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),u=X(T=>T.name=="VariableName"||T.name=="AtKeyword");function Y(){return new m(o,o.data.of({autocomplete:u}))}export{Y as less,u as lessCompletionSource,o as lessLanguage}; +import{s as r,t as O,L as i,i as n,c as $,f as y,l as P,o as X,a as m,d as c,b as S}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const s=110,l=1,f=2,t=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function e(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function p(T){return T>=48&&T<=57}const W=new S((T,Q)=>{if(T.next==40){let a=T.peek(-1);(e(a)||p(a)||a==95||a==45)&&T.acceptToken(f,1)}}),d=new S(T=>{if(t.indexOf(T.peek(-1))>-1){let{next:Q}=T;(e(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(s)}}),Z=new S(T=>{if(t.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(l)),e(Q)){do T.advance();while(e(T.next));T.acceptToken(l)}}}),w=r({"import charset namespace keyframes media supports when":O.definitionKeyword,"from to selector":O.keyword,NamespaceName:O.namespace,KeyframeName:O.labelName,TagName:O.tagName,ClassName:O.className,PseudoClassName:O.constant(O.className),IdName:O.labelName,"FeatureName PropertyName PropertyVariable":O.propertyName,AttributeName:O.attributeName,NumberLiteral:O.number,KeywordQuery:O.keyword,UnaryQueryOp:O.operatorKeyword,"CallTag ValueName":O.atom,VariableName:O.variableName,"AtKeyword Interpolation":O.special(O.variableName),Callee:O.operatorKeyword,Unit:O.unit,"UniversalSelector NestingSelector":O.definitionOperator,MatchOp:O.compareOperator,"ChildOp SiblingOp, LogicOp":O.logicOperator,BinOp:O.arithmeticOperator,Important:O.modifier,"Comment LineComment":O.blockComment,ColorLiteral:O.color,"ParenthesizedContent StringLiteral":O.string,Escape:O.special(O.string),": ...":O.punctuation,"PseudoOp #":O.derefOperator,"; ,":O.separator,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),z={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},h={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},g=c.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#Es'#EsO'YQWO'#DlO'yQWO'#DyO(QQWO'#D{O(xQWO'#D}O)TQWO'#EQO'bQWO'#EWO)YQ`O'#FTO)]Q`O'#FTO)hQ`O'#FTO)vQWO'#EYOOQO'#Er'#ErOOQO'#FV'#FVOOQO'#Ec'#EcO){QWO'#EqO*WQWO'#EqQOQWOOOOQP'#Ch'#ChOOQP,59R,59RO$RQWO,59RO*bQWO'#EdO+PQWO,58|O+_QWO,59TO%kQWO,59uO%pQWO,59xO*bQWO,59{O*bQWO,59}OOQO'#De'#DeO*bQWO,5:OO,bQpO'#E}O,iQWO'#DkOOQO,58|,58|O(QQWO,58|O,pQWO,5:{OOQO,5:{,5:{OOQT'#Cl'#ClO-UQeO,59TO.cQ[O,59TOOQP'#D]'#D]OOQP,59u,59uOOQO'#D_'#D_O.hQpO,59xOOQO'#EZ'#EZO.pQ`O,5;oOOQO,5;o,5;oO/OQWO,5:WO/VQWO,5:WOOQS'#Dn'#DnO/rQWO'#DsO/yQ!fO'#FRO0eQWO'#DtOOQS'#FS'#FSO+YQWO,5:eO'bQWO'#DrOOQS'#Cu'#CuO(QQWO'#CwO0jQ!hO'#CyO2^Q!fO,5:gO2oQWO'#DWOOQS'#Ex'#ExO(QQWO'#DQOOQO'#EP'#EPO2tQWO,5:iO2yQWO,5:iOOQO'#ES'#ESO3RQWO,5:lO3WQ!fO,5:rO3iQ`O'#EkO.pQ`O,5;oOOQO,5:|,5:|O3zQWO,5:tOOQO,5:},5:}O4XQWO,5;]OOQO-E8a-E8aOOQP1G.m1G.mOOQP'#Ce'#CeO5RQaO,5;OOOQP'#Df'#DfOOQO-E8b-E8bOOQO1G.h1G.hO(QQWO1G.hO5fQWO1G.hO5nQeO1G.oO.cQ[O1G.oOOQP1G/a1G/aO6{QpO1G/dO7fQaO1G/gO8cQaO1G/iO9`QaO1G/jO:]Q!fO'#FOO:yQ!fO'#ExOOQO'#FO'#FOOOQO,5;i,5;iO<^QWO,5;iOWQWO1G/rO>]Q!fO'#DnO>qQWO,5:ZO>vQ!fO,5:_OOQO'#DP'#DPO'bQWO,5:]O?XQWO'#DwOOQS,5:b,5:bO?`QWO,5:dO'bQWO'#EiO?gQWO,5;mO*bQWO,5:`OOQO1G0P1G0PO?uQ!fO,5:^O@aQ!fO,59cOOQS,59e,59eO(QQWO,59iOOQS,59n,59nO@rQWO,59pOOQO1G0R1G0RO@yQ#tO,59rOARQ!fO,59lOOQO1G0T1G0TOBrQWO1G0TOBwQWO'#ETOOQO1G0W1G0WOOQO1G0^1G0^OOQO,5;V,5;VOOQO-E8i-E8iOCVQ!fO1G0bOCvQWO1G0`O%kQWO'#E_O$RQWO'#E`OEZQWO'#E^OOQO1G0b1G0bPEkQWO'#EcOUAN>UO!!RQWO,5;QOOQO-E8d-E8dO!!]QWOAN>dOOQS<S![;'S%T;'S;=`%f<%lO%Tm>ZY#m]|`Oy%Tz!Q%T!Q![>S![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%Tm?OY|`Oy%Tz{%T{|?n|}%T}!O?n!O!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm?sU|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@^U#m]|`Oy%Tz!Q%T!Q![@V![;'S%T;'S;=`%f<%lO%Tm@w[#m]|`Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TbAtS#xQ|`Oy%Tz;'S%T;'S;=`%f<%lO%TkBVScZOy%Tz;'S%T;'S;=`%f<%lO%TmBhXrWOy%Tz}%T}!OCT!O!P=k!P!Q%T!Q![@p![;'S%T;'S;=`%f<%lO%TmCYW|`Oy%Tz!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%TmCy[f]|`Oy%Tz}%T}!OCr!O!Q%T!Q![Cr![!c%T!c!}Cr!}#T%T#T#oCr#o;'S%T;'S;=`%f<%lO%ToDtW#iROy%Tz!O%T!O!PE^!P!Q%T!Q![>S![;'S%T;'S;=`%f<%lO%TlEcU|`Oy%Tz!O%T!O!PEu!P;'S%T;'S;=`%f<%lO%TlE|S#s[|`Oy%Tz;'S%T;'S;=`%f<%lO%T~F_VrWOy%Tz{Ft{!P%T!P!QIl!Q;'S%T;'S;=`%f<%lO%T~FyU|`OyFtyzG]z{Hd{;'SFt;'S;=`If<%lOFt~G`TOzG]z{Go{;'SG];'S;=`H^<%lOG]~GrVOzG]z{Go{!PG]!P!QHX!Q;'SG];'S;=`H^<%lOG]~H^OR~~HaP;=`<%lG]~HiW|`OyFtyzG]z{Hd{!PFt!P!QIR!Q;'SFt;'S;=`If<%lOFt~IYS|`R~Oy%Tz;'S%T;'S;=`%f<%lO%T~IiP;=`<%lFt~IsV|`S~OYIlYZ%TZyIlyzJYz;'SIl;'S;=`Jq<%lOIl~J_SS~OYJYZ;'SJY;'S;=`Jk<%lOJY~JnP;=`<%lJY~JtP;=`<%lIlmJ|[#m]Oy%Tz!O%T!O!P>S!P!Q%T!Q![@p![!g%T!g!h>y!h#X%T#X#Y>y#Y;'S%T;'S;=`%f<%lO%TkKwU^ZOy%Tz![%T![!]LZ!];'S%T;'S;=`%f<%lO%TcLbS_R|`Oy%Tz;'S%T;'S;=`%f<%lO%TkLsS!ZZOy%Tz;'S%T;'S;=`%f<%lO%ThMUUrWOy%Tz!_%T!_!`Mh!`;'S%T;'S;=`%f<%lO%ThMoS|`rWOy%Tz;'S%T;'S;=`%f<%lO%TlNSW!SSrWOy%Tz!^%T!^!_Mh!_!`%T!`!aMh!a;'S%T;'S;=`%f<%lO%TjNsV!UQrWOy%Tz!_%T!_!`Mh!`!a! Y!a;'S%T;'S;=`%f<%lO%Tb! aS!UQ|`Oy%Tz;'S%T;'S;=`%f<%lO%To! rYg]Oy%Tz!b%T!b!c!!b!c!}!#R!}#T%T#T#o!#R#o#p!$O#p;'S%T;'S;=`%f<%lO%Tm!!iWg]|`Oy%Tz!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%Tm!#Y[g]|`Oy%Tz}%T}!O!#R!O!Q%T!Q![!#R![!c%T!c!}!#R!}#T%T#T#o!#R#o;'S%T;'S;=`%f<%lO%To!$TW|`Oy%Tz!c%T!c!}!$m!}#T%T#T#o!$m#o;'S%T;'S;=`%f<%lO%To!$r^|`Oy%Tz}%T}!O!$m!O!Q%T!Q![!$m![!c%T!c!}!$m!}#T%T#T#o!$m#o#q%T#q#r!%n#r;'S%T;'S;=`%f<%lO%To!%uSp_|`Oy%Tz;'S%T;'S;=`%f<%lO%To!&W[#h_Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%To!'T[#h_|`Oy%Tz}%T}!O!&|!O!Q%T!Q![!&|![!c%T!c!}!&|!}#T%T#T#o!&|#o;'S%T;'S;=`%f<%lO%Tk!(OSyZOy%Tz;'S%T;'S;=`%f<%lO%Tm!(aSw]Oy%Tz;'S%T;'S;=`%f<%lO%Td!(pUOy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tk!)XS!^ZOy%Tz;'S%T;'S;=`%f<%lO%Tk!)jS!]ZOy%Tz;'S%T;'S;=`%f<%lO%To!){Y#oQOr%Trs!*ksw%Twx!.wxy%Tz!_%T!_!`6|!`;'S%T;'S;=`%f<%lO%Tm!*pZ|`OY!*kYZ%TZr!*krs!+csy!*kyz!+vz#O!*k#O#P!-j#P;'S!*k;'S;=`!.q<%lO!*km!+jSo]|`Oy%Tz;'S%T;'S;=`%f<%lO%T]!+yWOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d<%lO!+v]!,hOo]]!,kRO;'S!+v;'S;=`!,t;=`O!+v]!,wXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!+v<%lO!+v]!-gP;=`<%l!+vm!-oU|`Oy!*kyz!+vz;'S!*k;'S;=`!.R;=`<%l!+v<%lO!*km!.UXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[d,Z,W,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:T=>z[T]||-1},{term:23,get:T=>h[T]||-1}],tokenPrec:2180}),o=i.define({name:"less",parser:g.configure({props:[n.add({Declaration:$()}),y.add({Block:P})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),u=X(T=>T.name=="VariableName"||T.name=="AtKeyword");function Y(){return new m(o,o.data.of({autocomplete:u}))}export{Y as less,u as lessCompletionSource,o as lessLanguage}; diff --git a/public/admin/assets/index-Bq4zaOcP.js b/AIWebQuickDeploy/public/admin/assets/index-DwPJRGZ5.js similarity index 99% rename from public/admin/assets/index-Bq4zaOcP.js rename to AIWebQuickDeploy/public/admin/assets/index-DwPJRGZ5.js index ddd257f..d2f6483 100644 --- a/public/admin/assets/index-Bq4zaOcP.js +++ b/AIWebQuickDeploy/public/admin/assets/index-DwPJRGZ5.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{p as W,q as u,L as T,s as b,t,i as y,k as v,f as k,a as _,d as R,h as Y,r as w,u as U,b as d}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const G=1,X=2,S=3,z=180,j=4,h=181,Z=5,E=182;function x(O){return O>=65&&O<=90||O>=97&&O<=122}const V=new d(O=>{let a=O.pos;for(;;){let{next:e}=O;if(e<0)break;if(e==123){let r=O.peek(1);if(r==123){if(O.pos>a)break;O.acceptToken(G,2);return}else if(r==37){if(O.pos>a)break;let $=2,i=2;for(;;){let n=O.peek($);if(n==32||n==10)++$;else if(n==35)for(++$;;){let Q=O.peek($);if(Q<0||Q==10)break;$++}else if(n==45&&i==2)i=++$;else{let Q=n==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(Q?S:X,i);return}}}}if(O.advance(),e==10)break}O.pos>a&&O.acceptToken(z)});function f(O,a,e){return new d(r=>{let $=r.pos;for(;;){let{next:i}=r;if(i==123&&r.peek(1)==37){let n=2;for(;;n++){let l=r.peek(n);if(l!=32&&l!=10)break}let Q="";for(;;n++){let l=r.peek(n);if(!x(l))break;Q+=String.fromCharCode(l)}if(Q==O){if(r.pos>$)break;r.acceptToken(e,2);break}}else if(i<0)break;if(r.advance(),i==10)break}r.pos>$&&r.acceptToken(a)})}const F=f("endcomment",E,Z),D=f("endraw",h,j),N={__proto__:null,contains:32,or:36,and:36,true:50,false:50,empty:52,forloop:54,tablerowloop:56,continue:58,in:128,with:194,for:196,as:198,if:234,endif:238,unless:244,endunless:248,elsif:252,else:256,case:262,endcase:266,when:270,endfor:278,tablerow:284,endtablerow:288,break:292,cycle:298,echo:302,render:306,include:312,assign:316,capture:322,endcapture:326,increment:330,decrement:334},C={__proto__:null,if:82,endif:86,elsif:90,else:94,unless:100,endunless:104,case:110,endcase:114,when:118,for:126,endfor:136,tablerow:142,endtablerow:146,break:150,continue:154,cycle:158,comment:164,endcomment:170,raw:176,endraw:182,echo:186,render:190,include:202,assign:206,capture:212,endcapture:216,increment:220,decrement:224,liquid:228},I=R.deserialize({version:14,states:"GYQYOPOOOOOP'#F{'#F{OeOXO'#CdOsQWO'#CfO!bQ`O'#DQO#{OPO'#DTO$ZOPO'#D^O$iOPO'#DcO$wOPO'#DkO%VOPO'#DsO%eOSO'#EOO%jOQO'#EUO%oOPO'#EhOOOP'#G`'#G`OOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQO'#Cg'#CgO&`QpO,59QO&gQpO'#G^OsQWO'#CsOOQO'#G^'#G^OOOP,59l,59lO)PQWO,59lOsQWO,59pOsQWO,59tO)WQWO,59vOsQWO,59yOsQWO,5:OOsQWO,5:SO!]QWO,5:WO!]QWO,5:`O)]QWO,5:dO)bQWO,5:fO)gQWO,5:hO)lQWO,5:kO)qQWO,5:qOsQWO,5:vOsQWO,5:xOsQWO,5;OOsQWO,5;QOsQWO,5;TOsQWO,5;XOsQWO,5;ZO+QQWO,5;]O+XOPO'#CdOOOP,59o,59oO#{OPO,59oO+gQ`O'#DWOOOP,59x,59xO$ZOPO,59xO+lQ`O'#DaOOOP,59},59}O$iOPO,59}O+qQ`O'#DfOOOP,5:V,5:VO$wOPO,5:VO+vQ`O'#DqOOOP,5:_,5:_O%VOPO,5:_O+{Q`O'#DvOOOS'#GQ'#GQO,QOSO'#ERO,YOSO,5:jOOOQ'#GR'#GRO,_OQO'#EXO,gOQO,5:pOOOP,5;S,5;SO%oOPO,5;SO,lQ`O'#EkOOOP-E9x-E9xO,qQ!bO,59SOsQWO,59VOsQWO,59VO,vQWO'#C|OOQO'#F|'#F|O,{QWO1G.lOOOP1G.l1G.lOsQWO,59VOsQWO,59ZO-TQpO,59_O-fQpO1G/WOOOP1G/W1G/WO-wQpO1G/[O.YQpO1G/`OOOP1G/b1G/bO.kQpO1G/eO.|QpO1G/jO/pQpO1G/nO/wQWO1G/rO/|QWO1G/zOOOP1G0O1G0OOOOP1G0Q1G0QO0RQWO1G0SOOOS1G0V1G0VOOOQ1G0]1G0]O0^QpO1G0bO0eQpO1G0dO1PQpO1G0jO1bQpO1G0lO1sQpO1G0oO2UQpO1G0sO2gQpO1G0uO2xQWO'#EsO3PQWO'#ExO3WQWO'#FRO3_QWO'#FYO3fQWO'#F^O3mQWO'#FqOOQO'#Ga'#GaOOQO'#GT'#GTO3tQWO1G0wOsQWO'#EtOsQWO'#EyOsQWO'#E}OOQO'#FP'#FPOsQWO'#FSOsQWO'#FWO!]QWO'#FZO!]QWO'#F_OOQO'#Fc'#FcOOQO'#Fe'#FeO3{QWO'#FfOsQWO'#FhOsQWO'#FjOsQWO'#FmOsQWO'#FoOsQWO'#FrOsQWO'#FvOsQWO'#FxOOOP1G0w1G0wOOOP1G/Z1G/ZO4QQWO,59rOOOP1G/d1G/dO4VQWO,59{OOOP1G/i1G/iO4[QWO,5:QOOOP1G/q1G/qO4aQWO,5:]OOOP1G/y1G/yO4fQWO,5:bOOOS-E:O-E:OOOOP1G0U1G0UO4kQ`O'#ESOOOQ-E:P-E:POOOP1G0[1G0[O4pQ`O'#EYOOOP1G0n1G0nO4uQWO,5;VOOQO1G.n1G.nOOQO1G.q1G.qO7ZQpO1G.qOOQO'#DO'#DOO7eQWO,59hOOQO-E9z-E9zOOOP7+$W7+$WO9_QpO1G.qO9iQpO1G.uOsQWO1G.yOOOP7+$r7+$rOOOP7+$v7+$vOOOP7+$z7+$zOOOP7+%P7+%POOOP7+%U7+%UOsQWO'#F}OkQpO,5;eO@UQpO,5;iOBRQpO,5;nOClQpO,5;rOE_QWO,5;uOEdQWO,5;yOEiQWO,5dOOOPAN>dAN>dO!5aQWOAN>lOOOPAN>lAN>lO!5iQWOAN>tOOOPAN>tAN>tOsQWO1G0fO!]QWO1G0fO!5qQpO7+&{O!7QQpO7+'PO!8aQWO7+'WO!:TQWO,5N[O]||-1},{term:37,get:O=>C[O]||-1}],tokenPrec:0});function o(O,a){return O.split(" ").map(e=>({label:e,type:a}))}const m=o("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),P=o("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),q=o("empty forloop tablerowloop in with as contains","keyword"),L=o("first index index0 last length rindex","property"),A=o("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function B(O){var a;let{state:e,pos:r}=O,$=Y(e).resolveInner(r,-1).enterUnfinishedNodesBefore(r),i=((a=$.childBefore(r))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let n=O.matchBefore(/[\w\u00c0-\uffff]+$/);return n?{type:"expression",from:n.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function M(O,a,e,r){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="forloop")return $.length?[]:L;if(i.name=="tablerowloop")return $.length?[]:A;if(i.name=="VariableName"){$.unshift(O.sliceDoc(i.from,i.to));break}else if(i.name=="MemberExpression"){let n=i.getChild("PropertyName");n&&$.unshift(O.sliceDoc(n.from,n.to)),a=i}else return[]}return r?r($,O,e):[]}function H(O={}){let a=O.filters?O.filters.concat(m):m,e=O.tags?O.tags.concat(P):P,r=O.variables?O.variables.concat(q):q,{properties:$}=O;return i=>{var n;let Q=B(i);if(!Q)return null;let l=(n=Q.from)!==null&&n!==void 0?n:Q.node?Q.node.from:i.pos,s;return Q.type=="filter"?s=a:Q.type=="tag"?s=e:Q.type=="expression"?s=r:s=M(i.state,Q.target,i,$),s.length?{options:s,from:l,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const K=W.inputHandler.of((O,a,e,r)=>r!="%"||a!=e||O.state.doc.sliceString(a-1,e+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:u.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function c(O){return a=>{let e=O.test(a.textAfter);return a.lineIndent(a.node.from)+(e?0:a.unit)}}const J=T.define({name:"liquid",parser:I.configure({props:[b({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":t.keyword,"empty forloop tablerowloop":t.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":t.controlKeyword,"assign capture endcapture":t.definitionKeyword,contains:t.operatorKeyword,"render include":t.moduleKeyword,VariableName:t.variableName,TagName:t.tagName,FilterName:t.function(t.variableName),PropertyName:t.propertyName,CompareOp:t.compareOperator,AssignOp:t.definitionOperator,LogicOp:t.logicOperator,NumberLiteral:t.number,StringLiteral:t.string,BooleanLiteral:t.bool,InlineComment:t.lineComment,CommentText:t.blockComment,"{% %} {{ }}":t.brace,"( )":t.paren,".":t.derefOperator,", .. : |":t.punctuation}),y.add({Tag:v({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":c(/^\s*(\{%-?\s*)?end\w/),IfDirective:c(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:c(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),k.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,e=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:e.name=="EndTag"?e.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),p=w();function g(O){return J.configure({wrap:U(a=>a.type.isTop?{parser:O.parser,overlay:e=>e.name=="Text"||e.name=="RawText"}:null)},"liquid")}const OO=g(p.language);function eO(O={}){let a=O.base||p,e=a.language==p.language?OO:g(a.language);return new _(e,[a.support,e.data.of({autocomplete:H(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),K])}export{K as closePercentBrace,eO as liquid,H as liquidCompletionSource,OO as liquidLanguage}; +import{p as W,q as u,L as T,s as b,t,i as y,k as v,f as k,a as _,d as R,h as Y,r as w,u as U,b as d}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const G=1,X=2,S=3,z=180,j=4,h=181,Z=5,E=182;function x(O){return O>=65&&O<=90||O>=97&&O<=122}const V=new d(O=>{let a=O.pos;for(;;){let{next:e}=O;if(e<0)break;if(e==123){let r=O.peek(1);if(r==123){if(O.pos>a)break;O.acceptToken(G,2);return}else if(r==37){if(O.pos>a)break;let $=2,i=2;for(;;){let n=O.peek($);if(n==32||n==10)++$;else if(n==35)for(++$;;){let Q=O.peek($);if(Q<0||Q==10)break;$++}else if(n==45&&i==2)i=++$;else{let Q=n==101&&O.peek($+1)==110&&O.peek($+2)==100;O.acceptToken(Q?S:X,i);return}}}}if(O.advance(),e==10)break}O.pos>a&&O.acceptToken(z)});function f(O,a,e){return new d(r=>{let $=r.pos;for(;;){let{next:i}=r;if(i==123&&r.peek(1)==37){let n=2;for(;;n++){let l=r.peek(n);if(l!=32&&l!=10)break}let Q="";for(;;n++){let l=r.peek(n);if(!x(l))break;Q+=String.fromCharCode(l)}if(Q==O){if(r.pos>$)break;r.acceptToken(e,2);break}}else if(i<0)break;if(r.advance(),i==10)break}r.pos>$&&r.acceptToken(a)})}const F=f("endcomment",E,Z),D=f("endraw",h,j),N={__proto__:null,contains:32,or:36,and:36,true:50,false:50,empty:52,forloop:54,tablerowloop:56,continue:58,in:128,with:194,for:196,as:198,if:234,endif:238,unless:244,endunless:248,elsif:252,else:256,case:262,endcase:266,when:270,endfor:278,tablerow:284,endtablerow:288,break:292,cycle:298,echo:302,render:306,include:312,assign:316,capture:322,endcapture:326,increment:330,decrement:334},C={__proto__:null,if:82,endif:86,elsif:90,else:94,unless:100,endunless:104,case:110,endcase:114,when:118,for:126,endfor:136,tablerow:142,endtablerow:146,break:150,continue:154,cycle:158,comment:164,endcomment:170,raw:176,endraw:182,echo:186,render:190,include:202,assign:206,capture:212,endcapture:216,increment:220,decrement:224,liquid:228},I=R.deserialize({version:14,states:"GYQYOPOOOOOP'#F{'#F{OeOXO'#CdOsQWO'#CfO!bQ`O'#DQO#{OPO'#DTO$ZOPO'#D^O$iOPO'#DcO$wOPO'#DkO%VOPO'#DsO%eOSO'#EOO%jOQO'#EUO%oOPO'#EhOOOP'#G`'#G`OOOP'#G]'#G]OOOP'#Fz'#FzQYOPOOOOOP-E9y-E9yOOQO'#Cg'#CgO&`QpO,59QO&gQpO'#G^OsQWO'#CsOOQO'#G^'#G^OOOP,59l,59lO)PQWO,59lOsQWO,59pOsQWO,59tO)WQWO,59vOsQWO,59yOsQWO,5:OOsQWO,5:SO!]QWO,5:WO!]QWO,5:`O)]QWO,5:dO)bQWO,5:fO)gQWO,5:hO)lQWO,5:kO)qQWO,5:qOsQWO,5:vOsQWO,5:xOsQWO,5;OOsQWO,5;QOsQWO,5;TOsQWO,5;XOsQWO,5;ZO+QQWO,5;]O+XOPO'#CdOOOP,59o,59oO#{OPO,59oO+gQ`O'#DWOOOP,59x,59xO$ZOPO,59xO+lQ`O'#DaOOOP,59},59}O$iOPO,59}O+qQ`O'#DfOOOP,5:V,5:VO$wOPO,5:VO+vQ`O'#DqOOOP,5:_,5:_O%VOPO,5:_O+{Q`O'#DvOOOS'#GQ'#GQO,QOSO'#ERO,YOSO,5:jOOOQ'#GR'#GRO,_OQO'#EXO,gOQO,5:pOOOP,5;S,5;SO%oOPO,5;SO,lQ`O'#EkOOOP-E9x-E9xO,qQ!bO,59SOsQWO,59VOsQWO,59VO,vQWO'#C|OOQO'#F|'#F|O,{QWO1G.lOOOP1G.l1G.lOsQWO,59VOsQWO,59ZO-TQpO,59_O-fQpO1G/WOOOP1G/W1G/WO-wQpO1G/[O.YQpO1G/`OOOP1G/b1G/bO.kQpO1G/eO.|QpO1G/jO/pQpO1G/nO/wQWO1G/rO/|QWO1G/zOOOP1G0O1G0OOOOP1G0Q1G0QO0RQWO1G0SOOOS1G0V1G0VOOOQ1G0]1G0]O0^QpO1G0bO0eQpO1G0dO1PQpO1G0jO1bQpO1G0lO1sQpO1G0oO2UQpO1G0sO2gQpO1G0uO2xQWO'#EsO3PQWO'#ExO3WQWO'#FRO3_QWO'#FYO3fQWO'#F^O3mQWO'#FqOOQO'#Ga'#GaOOQO'#GT'#GTO3tQWO1G0wOsQWO'#EtOsQWO'#EyOsQWO'#E}OOQO'#FP'#FPOsQWO'#FSOsQWO'#FWO!]QWO'#FZO!]QWO'#F_OOQO'#Fc'#FcOOQO'#Fe'#FeO3{QWO'#FfOsQWO'#FhOsQWO'#FjOsQWO'#FmOsQWO'#FoOsQWO'#FrOsQWO'#FvOsQWO'#FxOOOP1G0w1G0wOOOP1G/Z1G/ZO4QQWO,59rOOOP1G/d1G/dO4VQWO,59{OOOP1G/i1G/iO4[QWO,5:QOOOP1G/q1G/qO4aQWO,5:]OOOP1G/y1G/yO4fQWO,5:bOOOS-E:O-E:OOOOP1G0U1G0UO4kQ`O'#ESOOOQ-E:P-E:POOOP1G0[1G0[O4pQ`O'#EYOOOP1G0n1G0nO4uQWO,5;VOOQO1G.n1G.nOOQO1G.q1G.qO7ZQpO1G.qOOQO'#DO'#DOO7eQWO,59hOOQO-E9z-E9zOOOP7+$W7+$WO9_QpO1G.qO9iQpO1G.uOsQWO1G.yOOOP7+$r7+$rOOOP7+$v7+$vOOOP7+$z7+$zOOOP7+%P7+%POOOP7+%U7+%UOsQWO'#F}OkQpO,5;eO@UQpO,5;iOBRQpO,5;nOClQpO,5;rOE_QWO,5;uOEdQWO,5;yOEiQWO,5dOOOPAN>dAN>dO!5aQWOAN>lOOOPAN>lAN>lO!5iQWOAN>tOOOPAN>tAN>tOsQWO1G0fO!]QWO1G0fO!5qQpO7+&{O!7QQpO7+'PO!8aQWO7+'WO!:TQWO,5N[O]||-1},{term:37,get:O=>C[O]||-1}],tokenPrec:0});function o(O,a){return O.split(" ").map(e=>({label:e,type:a}))}const m=o("abs append at_least at_most capitalize ceil compact concat date default divided_by downcase escape escape_once first floor join last lstrip map minus modulo newline_to_br plus prepend remove remove_first replace replace_first reverse round rstrip size slice sort sort_natural split strip strip_html strip_newlines sum times truncate truncatewords uniq upcase url_decode url_encode where","function"),P=o("cycle comment endcomment raw endraw echo increment decrement liquid if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue assign capture endcapture render include","keyword"),q=o("empty forloop tablerowloop in with as contains","keyword"),L=o("first index index0 last length rindex","property"),A=o("col col0 col_first col_last first index index0 last length rindex rindex0 row","property");function B(O){var a;let{state:e,pos:r}=O,$=Y(e).resolveInner(r,-1).enterUnfinishedNodesBefore(r),i=((a=$.childBefore(r))===null||a===void 0?void 0:a.name)||$.name;if($.name=="FilterName")return{type:"filter",node:$};if(O.explicit&&i=="|")return{type:"filter"};if($.name=="TagName")return{type:"tag",node:$};if(O.explicit&&i=="{%")return{type:"tag"};if($.name=="PropertyName"&&$.parent.name=="MemberExpression")return{type:"property",node:$,target:$.parent};if($.name=="."&&$.parent.name=="MemberExpression")return{type:"property",target:$.parent};if($.name=="MemberExpression"&&i==".")return{type:"property",target:$};if($.name=="VariableName")return{type:"expression",from:$.from};let n=O.matchBefore(/[\w\u00c0-\uffff]+$/);return n?{type:"expression",from:n.from}:O.explicit&&$.name!="CommentText"&&$.name!="StringLiteral"&&$.name!="NumberLiteral"&&$.name!="InlineComment"?{type:"expression"}:null}function M(O,a,e,r){let $=[];for(;;){let i=a.getChild("Expression");if(!i)return[];if(i.name=="forloop")return $.length?[]:L;if(i.name=="tablerowloop")return $.length?[]:A;if(i.name=="VariableName"){$.unshift(O.sliceDoc(i.from,i.to));break}else if(i.name=="MemberExpression"){let n=i.getChild("PropertyName");n&&$.unshift(O.sliceDoc(n.from,n.to)),a=i}else return[]}return r?r($,O,e):[]}function H(O={}){let a=O.filters?O.filters.concat(m):m,e=O.tags?O.tags.concat(P):P,r=O.variables?O.variables.concat(q):q,{properties:$}=O;return i=>{var n;let Q=B(i);if(!Q)return null;let l=(n=Q.from)!==null&&n!==void 0?n:Q.node?Q.node.from:i.pos,s;return Q.type=="filter"?s=a:Q.type=="tag"?s=e:Q.type=="expression"?s=r:s=M(i.state,Q.target,i,$),s.length?{options:s,from:l,validFor:/^[\w\u00c0-\uffff]*$/}:null}}const K=W.inputHandler.of((O,a,e,r)=>r!="%"||a!=e||O.state.doc.sliceString(a-1,e+1)!="{}"?!1:(O.dispatch(O.state.changeByRange($=>({changes:{from:$.from,to:$.to,insert:"%%"},range:u.cursor($.from+1)})),{scrollIntoView:!0,userEvent:"input.type"}),!0));function c(O){return a=>{let e=O.test(a.textAfter);return a.lineIndent(a.node.from)+(e?0:a.unit)}}const J=T.define({name:"liquid",parser:I.configure({props:[b({"cycle comment endcomment raw endraw echo increment decrement liquid in with as":t.keyword,"empty forloop tablerowloop":t.atom,"if elsif else endif unless endunless case endcase for endfor tablerow endtablerow break continue":t.controlKeyword,"assign capture endcapture":t.definitionKeyword,contains:t.operatorKeyword,"render include":t.moduleKeyword,VariableName:t.variableName,TagName:t.tagName,FilterName:t.function(t.variableName),PropertyName:t.propertyName,CompareOp:t.compareOperator,AssignOp:t.definitionOperator,LogicOp:t.logicOperator,NumberLiteral:t.number,StringLiteral:t.string,BooleanLiteral:t.bool,InlineComment:t.lineComment,CommentText:t.blockComment,"{% %} {{ }}":t.brace,"( )":t.paren,".":t.derefOperator,", .. : |":t.punctuation}),y.add({Tag:v({closing:"%}"}),"UnlessDirective ForDirective TablerowDirective CaptureDirective":c(/^\s*(\{%-?\s*)?end\w/),IfDirective:c(/^\s*(\{%-?\s*)?(endif|else|elsif)\b/),CaseDirective:c(/^\s*(\{%-?\s*)?(endcase|when)\b/)}),k.add({"UnlessDirective ForDirective TablerowDirective CaptureDirective IfDirective CaseDirective RawDirective Comment"(O){let a=O.firstChild,e=O.lastChild;return!a||a.name!="Tag"?null:{from:a.to,to:e.name=="EndTag"?e.from:O.to}}})]}),languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*{%-?\s*(?:end|elsif|else|when|)$/}}),p=w();function g(O){return J.configure({wrap:U(a=>a.type.isTop?{parser:O.parser,overlay:e=>e.name=="Text"||e.name=="RawText"}:null)},"liquid")}const OO=g(p.language);function eO(O={}){let a=O.base||p,e=a.language==p.language?OO:g(a.language);return new _(e,[a.support,e.data.of({autocomplete:H(O)}),a.language.data.of({closeBrackets:{brackets:["{"]}}),K])}export{K as closePercentBrace,eO as liquid,H as liquidCompletionSource,OO as liquidLanguage}; diff --git a/public/admin/assets/index-DYuViJCA.js b/AIWebQuickDeploy/public/admin/assets/index-DyGHaFdn.js similarity index 99% rename from public/admin/assets/index-DYuViJCA.js rename to AIWebQuickDeploy/public/admin/assets/index-DyGHaFdn.js index d008048..6eb5128 100644 --- a/public/admin/assets/index-DYuViJCA.js +++ b/AIWebQuickDeploy/public/admin/assets/index-DyGHaFdn.js @@ -5,7 +5,7 @@ * https://fantastic-admin.github.io */ -import{aE as cn,aF as un,aG as dn,aH as mn,aI as fn,aJ as pn,aK as vn,F as Ie,ac as hn,aL as bn,aM as gn,aN as Cn,a0 as kn,aO as yn,aP as xn,aa as at,ad as st,aQ as Sn,aR as Mn,aS as wn,aT as Bn,aU as In,aV as Pn,aW as On,Z as Rn,aX as En,n as it,aY as Wn,z as Pe,A as se,c as X,e as oe,aZ as Tn,a_ as Nn,a$ as _n,b0 as Ln,b1 as Hn,b2 as Vn,h as Oe,b as ce,b3 as jn,b4 as $n,d as Re,b5 as zn,b6 as An,b7 as Fn,b8 as Dn,b9 as Kn,ba as Un,bb as Yn,bc as Gn,bd as Xn,be as Zn,bf as qn,aD as Qn,bg as Jn,bh as eo,ar as to,a1 as no,bi as oo,bj as lo,bk as ao,bl as so,bm as io,W as ro,bn as co,bo as uo,bp as mo,bq as fo,D as po,br as vo,bs as ho,a6 as rt,bt as bo,bu as go,as as Co,ai as ko,E as yo,Q as ke,aq as xo,V as ct,bv as So,bw as ut,Y as Mo,ae as dt,bx as wo,by as Bo,a as Fe,bz as Io,bA as Po,bB as Oo,bC as Ro,O as mt,bD as Eo,g as K,S as ft,a4 as Wo,bE as To,R as pt,bF as No,m as vt,bG as _o,r as ve,bH as Lo,bI as He,s as ht,P as Ve,p as bt,q as Ho,ab as Vo,bJ as jo,bK as $o,bL as zo,bM as Ao,bN as Fo,bO as Do,bP as Ko,$ as gt,bQ as Uo,bR as Yo,bS as Go,t as ye,bT as Xo,bU as Zo,bV as qo,a5 as Qo,bW as Jo,bX as el,bY as tl,bZ as nl,i as me,b_ as ol,b$ as ll,c0 as al,at as sl,c1 as il,U as rl,c2 as cl,c3 as ul,c4 as dl,c5 as ml,c6 as fl,ak as pl,M as Ct,c7 as vl,c8 as hl,X as kt,c9 as bl,ca as gl,cb as Cl,cc as kl,w as De,cd as yl,y as yt,v as xl,ce as Sl,x as je,cf as Ml,cg as wl,ch as Bl,a3 as Il,ci as Pl,a7 as Ol,N as xt,f as St,u as Rl,a9 as qe,j as El,l as Wl}from"./index-nGFMSQGw.js";import{b as Tl}from"./index-CyI3Kccs.js";import{u as Nl}from"./useMainPage-C9MASyfo.js";/** +import{aE as cn,aF as un,aG as dn,aH as mn,aI as fn,aJ as pn,aK as vn,F as Ie,ac as hn,aL as bn,aM as gn,aN as Cn,a0 as kn,aO as yn,aP as xn,aa as at,ad as st,aQ as Sn,aR as Mn,aS as wn,aT as Bn,aU as In,aV as Pn,aW as On,Z as Rn,aX as En,n as it,aY as Wn,z as Pe,A as se,c as X,e as oe,aZ as Tn,a_ as Nn,a$ as _n,b0 as Ln,b1 as Hn,b2 as Vn,h as Oe,b as ce,b3 as jn,b4 as $n,d as Re,b5 as zn,b6 as An,b7 as Fn,b8 as Dn,b9 as Kn,ba as Un,bb as Yn,bc as Gn,bd as Xn,be as Zn,bf as qn,aD as Qn,bg as Jn,bh as eo,ar as to,a1 as no,bi as oo,bj as lo,bk as ao,bl as so,bm as io,W as ro,bn as co,bo as uo,bp as mo,bq as fo,D as po,br as vo,bs as ho,a6 as rt,bt as bo,bu as go,as as Co,ai as ko,E as yo,Q as ke,aq as xo,V as ct,bv as So,bw as ut,Y as Mo,ae as dt,bx as wo,by as Bo,a as Fe,bz as Io,bA as Po,bB as Oo,bC as Ro,O as mt,bD as Eo,g as K,S as ft,a4 as Wo,bE as To,R as pt,bF as No,m as vt,bG as _o,r as ve,bH as Lo,bI as He,s as ht,P as Ve,p as bt,q as Ho,ab as Vo,bJ as jo,bK as $o,bL as zo,bM as Ao,bN as Fo,bO as Do,bP as Ko,$ as gt,bQ as Uo,bR as Yo,bS as Go,t as ye,bT as Xo,bU as Zo,bV as qo,a5 as Qo,bW as Jo,bX as el,bY as tl,bZ as nl,i as me,b_ as ol,b$ as ll,c0 as al,at as sl,c1 as il,U as rl,c2 as cl,c3 as ul,c4 as dl,c5 as ml,c6 as fl,ak as pl,M as Ct,c7 as vl,c8 as hl,X as kt,c9 as bl,ca as gl,cb as Cl,cc as kl,w as De,cd as yl,y as yt,v as xl,ce as Sl,x as je,cf as Ml,cg as wl,ch as Bl,a3 as Il,ci as Pl,a7 as Ol,N as xt,f as St,u as Rl,a9 as qe,j as El,l as Wl}from"./index-6QRvoxq4.js";import{b as Tl}from"./index-B0yaT7Pj.js";import{u as Nl}from"./useMainPage--yVtHxDh.js";/** * vue v3.4.27 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT diff --git a/public/admin/assets/index-BEgl-D5h.js b/AIWebQuickDeploy/public/admin/assets/index-FQR52wpL.js similarity index 94% rename from public/admin/assets/index-BEgl-D5h.js rename to AIWebQuickDeploy/public/admin/assets/index-FQR52wpL.js index 9aa8a42..fe76a93 100644 --- a/public/admin/assets/index-BEgl-D5h.js +++ b/AIWebQuickDeploy/public/admin/assets/index-FQR52wpL.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as c,u as p,i as e,g as s,c as o,b as g,t as a,A as i,F as _,j as h,R as y,S as d,e as m,l}from"./index-nGFMSQGw.js";const u=n=>(y("data-v-3931a919"),n=n(),d(),n),f={key:0,class:"copyright"},k=u(()=>m("span",null,"Copyright",-1)),b={key:0},S=["href"],C={key:1},I={key:2,href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener"},v=c({name:"Copyright",__name:"index",setup(n){const t=p();return(x,w)=>{const r=h;return e(t).settings.copyright.enable?(s(),o("footer",f,[k,g(r,{name:"i-ri:copyright-line",size:18}),e(t).settings.copyright.dates?(s(),o("span",b,a(e(t).settings.copyright.dates),1)):i("",!0),e(t).settings.copyright.company?(s(),o(_,{key:1},[e(t).settings.copyright.website?(s(),o("a",{key:0,href:e(t).settings.copyright.website,target:"_blank",rel:"noopener"},a(e(t).settings.copyright.company),9,S)):(s(),o("span",C,a(e(t).settings.copyright.company),1))],64)):i("",!0),e(t).settings.copyright.beian?(s(),o("a",I,a(e(t).settings.copyright.beian),1)):i("",!0)])):i("",!0)}}}),N=l(v,[["__scopeId","data-v-3931a919"]]);export{N as default}; +import{d as c,u as p,i as e,g as s,c as o,b as g,t as a,A as i,F as _,j as h,R as y,S as d,e as m,l}from"./index-6QRvoxq4.js";const u=n=>(y("data-v-3931a919"),n=n(),d(),n),f={key:0,class:"copyright"},k=u(()=>m("span",null,"Copyright",-1)),b={key:0},S=["href"],C={key:1},I={key:2,href:"https://beian.miit.gov.cn/",target:"_blank",rel:"noopener"},v=c({name:"Copyright",__name:"index",setup(n){const t=p();return(x,w)=>{const r=h;return e(t).settings.copyright.enable?(s(),o("footer",f,[k,g(r,{name:"i-ri:copyright-line",size:18}),e(t).settings.copyright.dates?(s(),o("span",b,a(e(t).settings.copyright.dates),1)):i("",!0),e(t).settings.copyright.company?(s(),o(_,{key:1},[e(t).settings.copyright.website?(s(),o("a",{key:0,href:e(t).settings.copyright.website,target:"_blank",rel:"noopener"},a(e(t).settings.copyright.company),9,S)):(s(),o("span",C,a(e(t).settings.copyright.company),1))],64)):i("",!0),e(t).settings.copyright.beian?(s(),o("a",I,a(e(t).settings.copyright.beian),1)):i("",!0)])):i("",!0)}}}),N=l(v,[["__scopeId","data-v-3931a919"]]);export{N as default}; diff --git a/public/admin/assets/index-B5Oqksb-.js b/AIWebQuickDeploy/public/admin/assets/index-J6vOXMm5.js similarity index 99% rename from public/admin/assets/index-B5Oqksb-.js rename to AIWebQuickDeploy/public/admin/assets/index-J6vOXMm5.js index bc4fd6e..82988fd 100644 --- a/public/admin/assets/index-B5Oqksb-.js +++ b/AIWebQuickDeploy/public/admin/assets/index-J6vOXMm5.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{C as A,b as k,s as Y,t as p,d as I,L as j,i as U,f as z,v as q,a as D,p as M,h as Z,q as B}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const _=1,F=2,J=3,H=4,L=5,K=35,ee=36,te=37,ne=11,Oe=13;function ae(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function re(e){return e==9||e==10||e==13||e==32}let X=null,Q=null,E=0;function b(e,t){let O=e.pos+t;if(Q==e&&E==O)return X;for(;re(e.peek(t));)t++;let n="";for(;;){let a=e.peek(t);if(!ae(a))break;n+=String.fromCharCode(a),t++}return Q=e,E=O,X=n||null}function x(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;O{if(e.next==60){if(e.advance(),e.next==47){e.advance();let O=b(e,0);if(!O)return e.acceptToken(L);if(t.context&&O==t.context.name)return e.acceptToken(F);for(let n=t.context;n;n=n.parent)if(n.name==O)return e.acceptToken(J,-2);e.acceptToken(H)}else if(e.next!=33&&e.next!=63)return e.acceptToken(_)}},{contextual:!0});function w(e,t){return new k(O=>{let n=0,a=t.charCodeAt(0);e:for(;!(O.next<0);O.advance(),n++)if(O.next==a){for(let l=1;l"),ie=w(ee,"?>"),ye=w(te,"]]>"),ge=Y({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),$e=I.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<d!d;'S%y;'S;=`&_<%lO%yX>iV{WOr%ysv%yw!}%y!}#O?O#O;'S%y;'S;=`&_<%lO%yX?VT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#T%y#T#U@l#U;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#h%y#h#iAW#i;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#T%y#T#U>d#U;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[oe,se,ie,ye,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function h(e,t){let O=t&&t.getChild("TagName");return O?e.sliceString(O.from,O.to):""}function V(e,t){let O=t&&t.firstChild;return!O||O.name!="OpenTag"?"":h(e,O)}function me(e,t,O){let n=t&&t.getChildren("Attribute").find(l=>l.from<=O&&l.to>=O),a=n&&n.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function v(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ce(e,t){var O;let n=Z(e).resolveInner(t,-1),a=null;for(let l=n;!a&&l.parent;l=l.parent)(l.name=="OpenTag"||l.name=="CloseTag"||l.name=="SelfClosingTag"||l.name=="MismatchedCloseTag")&&(a=l);if(a&&(a.to>t||a.lastChild.type.isError)){let l=a.parent;if(n.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:l}:{type:"openTag",from:n.from,context:v(l)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:a};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:a};let s=n==a||n.name=="Attribute"?n.childBefore(t):n;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:t,context:v(l)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:l}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:t,context:a}:s?{type:"attrName",from:t,context:a}:null}else if(n.name=="StartCloseTag")return{type:"closeTag",from:t,context:n.parent};for(;n.parent&&n.to==t&&!(!((O=n.lastChild)===null||O===void 0)&&O.type.isError);)n=n.parent;return n.name=="Element"||n.name=="Text"||n.name=="Document"?{type:"tag",from:t,context:n.name=="Element"?n:v(n)}:null}class ue{constructor(t,O,n){this.attrs=O,this.attrValues=n,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(a=>({label:a,type:"text"})):[]}}const P=/^[:\-\.\w\u00b7-\uffff]*$/;function R(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function G(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let O=[],n=[],a=Object.create(null);for(let r of t){let $=R(r);O.push($),r.global&&n.push($),r.values&&(a[r.name]=r.values.map(G))}let l=[],s=[],S=Object.create(null);for(let r of e){let $=n,y=a;r.attributes&&($=$.concat(r.attributes.map(o=>typeof o=="string"?O.find(f=>f.label==o)||{label:o,type:"property"}:(o.values&&(y==a&&(y=Object.create(y)),y[o.name]=o.values.map(G)),R(o)))));let u=new ue(r,$,y);S[u.name]=u,l.push(u),r.top&&s.push(u)}s.length||(s=l);for(let r=0;r{var $;let{doc:y}=r.state,u=ce(r.state,r.pos);if(!u||u.type=="tag"&&!r.explicit)return null;let{type:o,from:f,context:m}=u;if(o=="openTag"){let i=s,g=V(y,m);if(g){let c=S[g];i=(c==null?void 0:c.children)||l}return{from:f,options:i.map(c=>c.completion),validFor:P}}else if(o=="closeTag"){let i=V(y,m);return i?{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)==">"?1:0),options:[(($=S[i])===null||$===void 0?void 0:$.closeNameCompletion)||{label:i+">",type:"type"}],validFor:P}:null}else if(o=="attrName"){let i=S[h(y,m)];return{from:f,options:(i==null?void 0:i.attrs)||n,validFor:P}}else if(o=="attrValue"){let i=me(y,m,f);if(!i)return null;let g=S[h(y,m)],c=((g==null?void 0:g.attrValues)||a)[i];return!c||!c.length?null:{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)=='"'?1:0),options:c,validFor:/^"[^"]*"?$/}}else if(o=="tag"){let i=V(y,m),g=S[i],c=[],d=m&&m.lastChild;i&&(!d||d.name!="CloseTag"||h(y,d)!=i)&&c.push(g?g.closeCompletion:{label:"",type:"type",boost:2});let C=c.concat(((g==null?void 0:g.children)||(m?l:s)).map(T=>T.openCompletion));if(m&&(g!=null&&g.text.length)){let T=m.firstChild;T.to>r.pos-20&&!/\S/.test(r.state.sliceDoc(T.to,r.pos))&&(C=C.concat(g.text))}return{from:f,options:C,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const W=j.define({name:"xml",parser:$e.configure({props:[U.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),z.add({Element(e){let t=e.firstChild,O=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:O.name=="CloseTag"?O.from:e.to}}}),q.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function Te(e={}){let t=[W.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(Se),new D(W,t)}function N(e,t,O=e.length){if(!t)return"";let n=t.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,O)):""}const Se=M.inputHandler.of((e,t,O,n,a)=>{if(e.composing||e.state.readOnly||t!=O||n!=">"&&n!="/"||!W.isActiveAt(e.state,t,-1))return!1;let l=a(),{state:s}=l,S=s.changeByRange(r=>{var $,y,u;let{head:o}=r,f=s.doc.sliceString(o-1,o)==n,m=Z(s).resolveInner(o,-1),i;if(f&&n==">"&&m.name=="EndTag"){let g=m.parent;if(((y=($=g.parent)===null||$===void 0?void 0:$.lastChild)===null||y===void 0?void 0:y.name)!="CloseTag"&&(i=N(s.doc,g.parent,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=``;return{range:r,changes:{from:o,to:c,insert:d}}}}else if(f&&n=="/"&&m.name=="StartCloseTag"){let g=m.parent;if(m.from==o-2&&((u=g.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=N(s.doc,g,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=`${i}>`;return{range:B.cursor(o+d.length,-1),changes:{from:o,to:c,insert:d}}}}return{range:r}});return S.changes.empty?!1:(e.dispatch([l,s.update(S,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{Se as autoCloseTags,pe as completeFromSchema,Te as xml,W as xmlLanguage}; +import{C as A,b as k,s as Y,t as p,d as I,L as j,i as U,f as z,v as q,a as D,p as M,h as Z,q as B}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const _=1,F=2,J=3,H=4,L=5,K=35,ee=36,te=37,ne=11,Oe=13;function ae(e){return e==45||e==46||e==58||e>=65&&e<=90||e==95||e>=97&&e<=122||e>=161}function re(e){return e==9||e==10||e==13||e==32}let X=null,Q=null,E=0;function b(e,t){let O=e.pos+t;if(Q==e&&E==O)return X;for(;re(e.peek(t));)t++;let n="";for(;;){let a=e.peek(t);if(!ae(a))break;n+=String.fromCharCode(a),t++}return Q=e,E=O,X=n||null}function x(e,t){this.name=e,this.parent=t,this.hash=t?t.hash:0;for(let O=0;O{if(e.next==60){if(e.advance(),e.next==47){e.advance();let O=b(e,0);if(!O)return e.acceptToken(L);if(t.context&&O==t.context.name)return e.acceptToken(F);for(let n=t.context;n;n=n.parent)if(n.name==O)return e.acceptToken(J,-2);e.acceptToken(H)}else if(e.next!=33&&e.next!=63)return e.acceptToken(_)}},{contextual:!0});function w(e,t){return new k(O=>{let n=0,a=t.charCodeAt(0);e:for(;!(O.next<0);O.advance(),n++)if(O.next==a){for(let l=1;l"),ie=w(ee,"?>"),ye=w(te,"]]>"),ge=Y({Text:p.content,"StartTag StartCloseTag EndTag SelfCloseEndTag":p.angleBracket,TagName:p.tagName,"MismatchedCloseTag/TagName":[p.tagName,p.invalid],AttributeName:p.attributeName,AttributeValue:p.attributeValue,Is:p.definitionOperator,"EntityReference CharacterReference":p.character,Comment:p.blockComment,ProcessingInst:p.processingInstruction,DoctypeDecl:p.documentMeta,Cdata:p.special(p.string)}),$e=I.deserialize({version:14,states:",SOQOaOOOrOxO'#CfOzOpO'#CiO!tOaO'#CgOOOP'#Cg'#CgO!{OrO'#CrO#TOtO'#CsO#]OpO'#CtOOOP'#DS'#DSOOOP'#Cv'#CvQQOaOOOOOW'#Cw'#CwO#eOxO,59QOOOP,59Q,59QOOOO'#Cx'#CxO#mOpO,59TO#uO!bO,59TOOOP'#C{'#C{O$TOaO,59RO$[OpO'#CoOOOP,59R,59ROOOQ'#C|'#C|O$dOrO,59^OOOP,59^,59^OOOS'#C}'#C}O$lOtO,59_OOOP,59_,59_O$tOpO,59`O$|OpO,59`OOOP-E6t-E6tOOOW-E6u-E6uOOOP1G.l1G.lOOOO-E6v-E6vO%UO!bO1G.oO%UO!bO1G.oO%dOpO'#CkO%lO!bO'#CyO%zO!bO1G.oOOOP1G.o1G.oOOOP1G.w1G.wOOOP-E6y-E6yOOOP1G.m1G.mO&VOpO,59ZO&_OpO,59ZOOOQ-E6z-E6zOOOP1G.x1G.xOOOS-E6{-E6{OOOP1G.y1G.yO&gOpO1G.zO&gOpO1G.zOOOP1G.z1G.zO&oO!bO7+$ZO&}O!bO7+$ZOOOP7+$Z7+$ZOOOP7+$c7+$cO'YOpO,59VO'bOpO,59VO'jO!bO,59eOOOO-E6w-E6wO'xOpO1G.uO'xOpO1G.uOOOP1G.u1G.uO(QOpO7+$fOOOP7+$f7+$fO(YO!bO<d!d;'S%y;'S;=`&_<%lO%yX>iV{WOr%ysv%yw!}%y!}#O?O#O;'S%y;'S;=`&_<%lO%yX?VT{WxPOr%ysv%yw;'S%y;'S;=`&_<%lO%yX?kV{WOr%ysv%yw#W%y#W#X@Q#X;'S%y;'S;=`&_<%lO%yX@VV{WOr%ysv%yw#T%y#T#U@l#U;'S%y;'S;=`&_<%lO%yX@qV{WOr%ysv%yw#h%y#h#iAW#i;'S%y;'S;=`&_<%lO%yXA]V{WOr%ysv%yw#T%y#T#U>d#U;'S%y;'S;=`&_<%lO%yXAwV{WOr%ysv%yw#c%y#c#dB^#d;'S%y;'S;=`&_<%lO%yXBcV{WOr%ysv%yw#V%y#V#WBx#W;'S%y;'S;=`&_<%lO%yXB}V{WOr%ysv%yw#h%y#h#iCd#i;'S%y;'S;=`&_<%lO%yXCiV{WOr%ysv%yw#m%y#m#nDO#n;'S%y;'S;=`&_<%lO%yXDTV{WOr%ysv%yw#d%y#d#eDj#e;'S%y;'S;=`&_<%lO%yXDoV{WOr%ysv%yw#X%y#X#Y9i#Y;'S%y;'S;=`&_<%lO%yXE]T!PP{WOr%ysv%yw;'S%y;'S;=`&_<%lO%yZEuWaQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n_FhW[UVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZGXYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aGw!a;'S$n;'S;=`&e<%lO$nZHQW!OQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$nZHqYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_#P$n#P#QIa#Q;'S$n;'S;=`&e<%lO$nZIhYVP{WOr$nrs%_sv$nw!^$n!^!_%y!_!`$n!`!aJW!a;'S$n;'S;=`&e<%lO$nZJaWwQVP{WOr$nrs%_sv$nw!^$n!^!_%y!_;'S$n;'S;=`&e<%lO$n",tokenizers:[oe,se,ie,ye,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0});function h(e,t){let O=t&&t.getChild("TagName");return O?e.sliceString(O.from,O.to):""}function V(e,t){let O=t&&t.firstChild;return!O||O.name!="OpenTag"?"":h(e,O)}function me(e,t,O){let n=t&&t.getChildren("Attribute").find(l=>l.from<=O&&l.to>=O),a=n&&n.getChild("AttributeName");return a?e.sliceString(a.from,a.to):""}function v(e){for(let t=e&&e.parent;t;t=t.parent)if(t.name=="Element")return t;return null}function ce(e,t){var O;let n=Z(e).resolveInner(t,-1),a=null;for(let l=n;!a&&l.parent;l=l.parent)(l.name=="OpenTag"||l.name=="CloseTag"||l.name=="SelfClosingTag"||l.name=="MismatchedCloseTag")&&(a=l);if(a&&(a.to>t||a.lastChild.type.isError)){let l=a.parent;if(n.name=="TagName")return a.name=="CloseTag"||a.name=="MismatchedCloseTag"?{type:"closeTag",from:n.from,context:l}:{type:"openTag",from:n.from,context:v(l)};if(n.name=="AttributeName")return{type:"attrName",from:n.from,context:a};if(n.name=="AttributeValue")return{type:"attrValue",from:n.from,context:a};let s=n==a||n.name=="Attribute"?n.childBefore(t):n;return(s==null?void 0:s.name)=="StartTag"?{type:"openTag",from:t,context:v(l)}:(s==null?void 0:s.name)=="StartCloseTag"&&s.to<=t?{type:"closeTag",from:t,context:l}:(s==null?void 0:s.name)=="Is"?{type:"attrValue",from:t,context:a}:s?{type:"attrName",from:t,context:a}:null}else if(n.name=="StartCloseTag")return{type:"closeTag",from:t,context:n.parent};for(;n.parent&&n.to==t&&!(!((O=n.lastChild)===null||O===void 0)&&O.type.isError);)n=n.parent;return n.name=="Element"||n.name=="Text"||n.name=="Document"?{type:"tag",from:t,context:n.name=="Element"?n:v(n)}:null}class ue{constructor(t,O,n){this.attrs=O,this.attrValues=n,this.children=[],this.name=t.name,this.completion=Object.assign(Object.assign({type:"type"},t.completion||{}),{label:this.name}),this.openCompletion=Object.assign(Object.assign({},this.completion),{label:"<"+this.name}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{label:"",boost:2}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{label:this.name+">"}),this.text=t.textContent?t.textContent.map(a=>({label:a,type:"text"})):[]}}const P=/^[:\-\.\w\u00b7-\uffff]*$/;function R(e){return Object.assign(Object.assign({type:"property"},e.completion||{}),{label:e.name})}function G(e){return typeof e=="string"?{label:`"${e}"`,type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{label:`"${e.label}"`})}function pe(e,t){let O=[],n=[],a=Object.create(null);for(let r of t){let $=R(r);O.push($),r.global&&n.push($),r.values&&(a[r.name]=r.values.map(G))}let l=[],s=[],S=Object.create(null);for(let r of e){let $=n,y=a;r.attributes&&($=$.concat(r.attributes.map(o=>typeof o=="string"?O.find(f=>f.label==o)||{label:o,type:"property"}:(o.values&&(y==a&&(y=Object.create(y)),y[o.name]=o.values.map(G)),R(o)))));let u=new ue(r,$,y);S[u.name]=u,l.push(u),r.top&&s.push(u)}s.length||(s=l);for(let r=0;r{var $;let{doc:y}=r.state,u=ce(r.state,r.pos);if(!u||u.type=="tag"&&!r.explicit)return null;let{type:o,from:f,context:m}=u;if(o=="openTag"){let i=s,g=V(y,m);if(g){let c=S[g];i=(c==null?void 0:c.children)||l}return{from:f,options:i.map(c=>c.completion),validFor:P}}else if(o=="closeTag"){let i=V(y,m);return i?{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)==">"?1:0),options:[(($=S[i])===null||$===void 0?void 0:$.closeNameCompletion)||{label:i+">",type:"type"}],validFor:P}:null}else if(o=="attrName"){let i=S[h(y,m)];return{from:f,options:(i==null?void 0:i.attrs)||n,validFor:P}}else if(o=="attrValue"){let i=me(y,m,f);if(!i)return null;let g=S[h(y,m)],c=((g==null?void 0:g.attrValues)||a)[i];return!c||!c.length?null:{from:f,to:r.pos+(y.sliceString(r.pos,r.pos+1)=='"'?1:0),options:c,validFor:/^"[^"]*"?$/}}else if(o=="tag"){let i=V(y,m),g=S[i],c=[],d=m&&m.lastChild;i&&(!d||d.name!="CloseTag"||h(y,d)!=i)&&c.push(g?g.closeCompletion:{label:"",type:"type",boost:2});let C=c.concat(((g==null?void 0:g.children)||(m?l:s)).map(T=>T.openCompletion));if(m&&(g!=null&&g.text.length)){let T=m.firstChild;T.to>r.pos-20&&!/\S/.test(r.state.sliceDoc(T.to,r.pos))&&(C=C.concat(g.text))}return{from:f,options:C,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}else return null}}const W=j.define({name:"xml",parser:$e.configure({props:[U.add({Element(e){let t=/^\s*<\//.test(e.textAfter);return e.lineIndent(e.node.from)+(t?0:e.unit)},"OpenTag CloseTag SelfClosingTag"(e){return e.column(e.node.from)+e.unit}}),z.add({Element(e){let t=e.firstChild,O=e.lastChild;return!t||t.name!="OpenTag"?null:{from:t.to,to:O.name=="CloseTag"?O.from:e.to}}}),q.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/$/}});function Te(e={}){let t=[W.data.of({autocomplete:pe(e.elements||[],e.attributes||[])})];return e.autoCloseTags!==!1&&t.push(Se),new D(W,t)}function N(e,t,O=e.length){if(!t)return"";let n=t.firstChild,a=n&&n.getChild("TagName");return a?e.sliceString(a.from,Math.min(a.to,O)):""}const Se=M.inputHandler.of((e,t,O,n,a)=>{if(e.composing||e.state.readOnly||t!=O||n!=">"&&n!="/"||!W.isActiveAt(e.state,t,-1))return!1;let l=a(),{state:s}=l,S=s.changeByRange(r=>{var $,y,u;let{head:o}=r,f=s.doc.sliceString(o-1,o)==n,m=Z(s).resolveInner(o,-1),i;if(f&&n==">"&&m.name=="EndTag"){let g=m.parent;if(((y=($=g.parent)===null||$===void 0?void 0:$.lastChild)===null||y===void 0?void 0:y.name)!="CloseTag"&&(i=N(s.doc,g.parent,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=``;return{range:r,changes:{from:o,to:c,insert:d}}}}else if(f&&n=="/"&&m.name=="StartCloseTag"){let g=m.parent;if(m.from==o-2&&((u=g.lastChild)===null||u===void 0?void 0:u.name)!="CloseTag"&&(i=N(s.doc,g,o))){let c=o+(s.doc.sliceString(o,o+1)===">"?1:0),d=`${i}>`;return{range:B.cursor(o+d.length,-1),changes:{from:o,to:c,insert:d}}}}return{range:r}});return S.changes.empty?!1:(e.dispatch([l,s.update(S,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});export{Se as autoCloseTags,pe as completeFromSchema,Te as xml,W as xmlLanguage}; diff --git a/public/admin/assets/index-KzA8AQdP.css b/AIWebQuickDeploy/public/admin/assets/index-KzA8AQdP.css similarity index 100% rename from public/admin/assets/index-KzA8AQdP.css rename to AIWebQuickDeploy/public/admin/assets/index-KzA8AQdP.css diff --git a/public/admin/assets/index-BAThy-QT.js b/AIWebQuickDeploy/public/admin/assets/index-RKW8DBPc.js similarity index 99% rename from public/admin/assets/index-BAThy-QT.js rename to AIWebQuickDeploy/public/admin/assets/index-RKW8DBPc.js index 600be50..99a0dd8 100644 --- a/public/admin/assets/index-BAThy-QT.js +++ b/AIWebQuickDeploy/public/admin/assets/index-RKW8DBPc.js @@ -5,5 +5,5 @@ * https://fantastic-admin.github.io */ -import{i as te,c as ae,f as re,s as ne,t as i,L as ie,a as se,b as oe,d as le,e as ce,g as de,h as me}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const ue=36,B=1,fe=2,v=3,S=4,pe=5,ge=6,he=7,_e=8,be=9,ve=10,ye=11,ke=12,Oe=13,xe=14,we=15,Qe=16,Se=17,X=18,Ce=19,$=20,A=21,R=22,Pe=23,qe=24;function P(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function Te(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function p(t,e,r){for(let a=!1;;){if(t.next<0)return;if(t.next==e&&!a){t.advance();return}a=r&&!a&&t.next==92,t.advance()}}function Ue(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function ze(t,e){let r="[{<(".indexOf(String.fromCharCode(e)),a=r<0?e:"]}>)".charCodeAt(r);for(;;){if(t.next<0)return;if(t.next==a&&t.peek(1)==39){t.advance(2);return}t.advance()}}function E(t,e){for(;!(t.next!=95&&!P(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),p(t,e,!1)}else E(t)}function j(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function D(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function I(t){for(;!(t.next<0||t.next==10);)t.advance()}function f(t,e){for(let r=0;r=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function Te(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function p(t,e,r){for(let a=!1;;){if(t.next<0)return;if(t.next==e&&!a){t.advance();return}a=r&&!a&&t.next==92,t.advance()}}function Ue(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function ze(t,e){let r="[{<(".indexOf(String.fromCharCode(e)),a=r<0?e:"]}>)".charCodeAt(r);for(;;){if(t.next<0)return;if(t.next==a&&t.peek(1)==39){t.advance(2);return}t.advance()}}function E(t,e){for(;!(t.next!=95&&!P(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),p(t,e,!1)}else E(t)}function j(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function D(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function I(t){for(;!(t.next<0||t.next==10);)t.advance()}function f(t,e){for(let r=0;r!=&|~^/",specialVar:"?",identifierQuotes:'"',words:W(h,g)};function Be(t,e,r,a){let n={};for(let s in q)n[s]=(t.hasOwnProperty(s)?t:q)[s];return e&&(n.words=W(e,r||"",a)),n}function K(t){return new oe(e=>{var r;let{next:a}=e;if(e.advance(),f(a,C)){for(;f(e.next,C);)e.advance();e.acceptToken(ue)}else if(a==36&&e.next==36&&t.doubleDollarQuotedStrings)Ue(e),e.acceptToken(v);else if(a==39||a==34&&t.doubleQuotedStrings)p(e,a,t.backslashEscapes),e.acceptToken(v);else if(a==35&&t.hashComments||a==47&&e.next==47&&t.slashComments)I(e),e.acceptToken(B);else if(a==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))I(e),e.acceptToken(B);else if(a==47&&e.next==42){e.advance();for(let n=1;;){let s=e.next;if(e.next<0)break;if(e.advance(),s==42&&e.next==47){if(n--,e.advance(),!n)break}else s==47&&e.next==42&&(n++,e.advance())}e.acceptToken(fe)}else if((a==101||a==69)&&e.next==39)e.advance(),p(e,39,!0);else if((a==110||a==78)&&e.next==39&&t.charSetCasts)e.advance(),p(e,39,t.backslashEscapes),e.acceptToken(v);else if(a==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),p(e,39,t.backslashEscapes),e.acceptToken(v);break}if(!P(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(a==113||a==81)&&e.next==39&&e.peek(1)>0&&!f(e.peek(1),C)){let n=e.peek(1);e.advance(2),ze(e,n),e.acceptToken(v)}else if(a==40)e.acceptToken(he);else if(a==41)e.acceptToken(_e);else if(a==123)e.acceptToken(be);else if(a==125)e.acceptToken(ve);else if(a==91)e.acceptToken(ye);else if(a==93)e.acceptToken(ke);else if(a==59)e.acceptToken(Oe);else if(t.unquotedBitLiterals&&a==48&&e.next==98)e.advance(),j(e),e.acceptToken(R);else if((a==98||a==66)&&(e.next==39||e.next==34)){const n=e.next;e.advance(),t.treatBitsAsBytes?(p(e,n,t.backslashEscapes),e.acceptToken(Pe)):(j(e,n),e.acceptToken(R))}else if(a==48&&(e.next==120||e.next==88)||(a==120||a==88)&&e.next==39){let n=e.next==39;for(e.advance();Te(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(S)}else if(a==46&&e.next>=48&&e.next<=57)D(e,!0),e.acceptToken(S);else if(a==46)e.acceptToken(xe);else if(a>=48&&a<=57)D(e,!1),e.acceptToken(S);else if(f(a,t.operatorChars)){for(;f(e.next,t.operatorChars);)e.advance();e.acceptToken(we)}else if(f(a,t.specialVar))e.next==a&&e.advance(),Le(e),e.acceptToken(Se);else if(f(a,t.identifierQuotes))p(e,a,!1),e.acceptToken(Ce);else if(a==58||a==44)e.acceptToken(Qe);else if(P(a)){let n=E(e,String.fromCharCode(a));e.acceptToken(e.next==46||e.peek(-n.length-1)==46?X:(r=t.words[n.toLowerCase()])!==null&&r!==void 0?r:X)}})}const M=K(q),Xe=le.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,M],topRules:{Script:[0,25]},tokenPrec:0});function T(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function y(t,e){let r=t.sliceString(e.from,e.to),a=/^([`'"])(.*)\1$/.exec(r);return a?a[2]:r}function w(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function Re(t,e){if(e.name=="CompositeIdentifier"){let r=[];for(let a=e.firstChild;a;a=a.nextSibling)w(a)&&r.push(y(t,a));return r}return[y(t,e)]}function Z(t,e){for(let r=[];;){if(!e||e.name!=".")return r;let a=T(e);if(!w(a))return r;r.unshift(y(t,a)),e=T(a)}}function je(t,e){let r=me(t).resolveInner(e,-1),a=Ie(t.doc,r);return r.name=="Identifier"||r.name=="QuotedIdentifier"||r.name=="Keyword"?{from:r.from,quoted:r.name=="QuotedIdentifier"?t.doc.sliceString(r.from,r.from+1):null,parents:Z(t.doc,T(r)),aliases:a}:r.name=="."?{from:e,quoted:null,parents:Z(t.doc,r),aliases:a}:{from:e,quoted:null,parents:[],empty:!0,aliases:a}}const De=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function Ie(t,e){let r;for(let n=e;!r;n=n.parent){if(!n)return null;n.name=="Statement"&&(r=n)}let a=null;for(let n=r.firstChild,s=!1,c=null;n;n=n.nextSibling){let l=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,o=null;if(!s)s=l=="from";else if(l=="as"&&c&&w(n.nextSibling))o=y(t,n.nextSibling);else{if(l&&De.has(l))break;c&&w(n)&&(o=y(t,n))}o&&(a||(a=Object.create(null)),a[o]=Re(t,c)),c=/Identifier$/.test(n.name)?n:null}return a}function Ze(t,e){return t?e.map(r=>Object.assign(Object.assign({},r),{label:r.label[0]==t?r.label:t+r.label+t,apply:void 0})):e}const Ne=/^\w*$/,Ve=/^[`'"]?\w*[`'"]?$/;function N(t){return t.self&&typeof t.self.label=="string"}class U{constructor(e){this.idQuote=e,this.list=[],this.children=void 0}child(e){let r=this.children||(this.children=Object.create(null)),a=r[e];return a||(e&&!this.list.some(n=>n.label==e)&&this.list.push(V(e,"type",this.idQuote)),r[e]=new U(this.idQuote))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let r=this.list.findIndex(a=>a.label==e.label);r>-1?this.list[r]=e:this.list.push(e)}addCompletions(e){for(let r of e)this.addCompletion(typeof r=="string"?V(r,"property",this.idQuote):r)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):N(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let r of Object.keys(e)){let a=e[r],n=null,s=r.replace(/\\?\./g,l=>l=="."?"\0":l).split("\0"),c=this;N(a)&&(n=a.self,a=a.children);for(let l=0;l{let{parents:b,from:H,quoted:k,empty:J,aliases:O}=je(u.state,u.pos);if(J&&!u.explicit)return null;O&&b.length==1&&(b=O[b[0]]||b);let d=o;for(let x of b){for(;!d.children||!d.children[x];)if(d==o)d=_;else if(d==_&&a)d=d.child(a);else return null;let L=d.maybeChild(x);if(!L)return null;d=L}let ee=k&&u.state.sliceDoc(u.pos,u.pos+1)==k,Q=d.list;return d==o&&O&&(Q=Q.concat(Object.keys(O).map(x=>({label:x,type:"constant"})))),{from:H,to:ee?u.pos+1:void 0,options:Ze(k,Q),validFor:k?Ve:Ne}}}function Ae(t,e){let r=Object.keys(t).map(a=>({label:e?a.toUpperCase():a,type:t[a]==A?"type":t[a]==$?"keyword":"variable",boost:-1}));return ce(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],de(r))}let Ee=Xe.configure({props:[te.add({Statement:ae()}),re.add({Statement(t){return{from:t.firstChild.to,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),ne({Keyword:i.keyword,Type:i.typeName,Builtin:i.standard(i.name),Bits:i.number,Bytes:i.string,Bool:i.bool,Null:i.null,Number:i.number,String:i.string,Identifier:i.name,QuotedIdentifier:i.special(i.string),SpecialVar:i.special(i.name),LineComment:i.lineComment,BlockComment:i.blockComment,Operator:i.operator,"Semi Punctuation":i.punctuation,"( )":i.paren,"{ }":i.brace,"[ ]":i.squareBracket})]});class m{constructor(e,r,a){this.dialect=e,this.language=r,this.spec=a}get extension(){return this.language.extension}static define(e){let r=Be(e,e.keywords,e.types,e.builtin),a=ie.define({name:"sql",parser:Ee.configure({tokenizers:[{from:M,to:K(r)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new m(r,a,e)}}function We(t,e=!1){return Ae(t.dialect.words,e)}function Ke(t,e=!1){return t.language.data.of({autocomplete:We(t,e)})}function Me(t){return t.schema?$e(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||z):()=>null}function Fe(t){return t.schema?(t.dialect||z).language.data.of({autocomplete:Me(t)}):[]}function He(t={}){let e=t.dialect||z;return new se(e.language,[Fe(t),Ke(e,!!t.upperCaseKeywords)])}const z=m.define({}),Je=m.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:h+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:g+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),F="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",G=g+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",Y="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",et=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:h+"group_concat "+F,types:G,builtin:Y}),tt=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:h+"always generated groupby_concat hard persistent shutdown soft virtual "+F,types:G,builtin:Y}),at=m.define({keywords:h+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:g+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),rt=m.define({keywords:h+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:g+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),nt=m.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:g+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),it=m.define({keywords:h+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:g+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0});export{nt as Cassandra,at as MSSQL,tt as MariaSQL,et as MySQL,it as PLSQL,Je as PostgreSQL,m as SQLDialect,rt as SQLite,z as StandardSQL,Ke as keywordCompletion,We as keywordCompletionSource,Fe as schemaCompletion,Me as schemaCompletionSource,He as sql}; diff --git a/public/admin/assets/index-fSrKMKAy.js b/AIWebQuickDeploy/public/admin/assets/index-V-U6qRSP.js similarity index 97% rename from public/admin/assets/index-fSrKMKAy.js rename to AIWebQuickDeploy/public/admin/assets/index-V-U6qRSP.js index 1eb52d2..33e0a97 100644 --- a/public/admin/assets/index-fSrKMKAy.js +++ b/AIWebQuickDeploy/public/admin/assets/index-V-U6qRSP.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{L as O,i as r,k as b,f as s,l as a,s as t,t as e,a as P,d as n}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const S={__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=n.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:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~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:o=>S[o]||-1}],tokenPrec:0}),Q=O.define({name:"wast",parser:i.configure({props:[r.add({App:b({closing:")",align:!1})}),s.add({App:a,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),t({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 l(){return new P(Q)}export{l as wast,Q as wastLanguage}; +import{L as O,i as r,k as b,f as s,l as a,s as t,t as e,a as P,d as n}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const S={__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=n.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:[["isolate",-3,1,2,11,""],["openedBy",4,"("],["closedBy",5,")"],["group",-6,6,7,8,9,10,11,"Expression"]],skippedNodes:[0,1,2],repeatNodeCount:1,tokenData:"0o~R^XY}YZ}]^}pq}rs!Stu#pxy'Uyz(e{|(j}!O(j!Q!R(s!R![*p!]!^.^#T#o.{~!SO_~~!VVOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j<%lO!S~!qOZ~~!tRO;'S!S;'S;=`!};=`O!S~#QWOr!Srs!ls#O!S#O#P!q#P;'S!S;'S;=`#j;=`<%l!S<%lO!S~#mP;=`<%l!S~#siqr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~%giV~qr%bst%btu%buv%bvw%bwx%bz{%b{|%b}!O%b!O!P%b!P!Q%b!Q![%b![!]%b!^!_%b!_!`%b!`!a%b!a!b%b!b!c%b!c!}%b#Q#R%b#R#S%b#S#T%b#T#o%b#p#q%b#r#s%b~'ZPT~!]!^'^~'aTO!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~'sVOy'^yz(Yz!]'^!]!^'p!^;'S'^;'S;=`(_<%lO'^~(_OQ~~(bP;=`<%l'^~(jOS~~(mQ!Q!R(s!R![*p~(xUY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){#l#m+[~)aRY~!Q![)j!g!h){#X#Y){~)oSY~!Q![)j!g!h){#R#S*j#X#Y){~*OR{|*X}!O*X!Q![*_~*[P!Q![*_~*dQY~!Q![*_#R#S*X~*mP!Q![)j~*uTY~!O!P)[!Q![*p!g!h){#R#S+U#X#Y){~+XP!Q![*p~+_R!Q![+h!c!i+h#T#Z+h~+mVY~!O!P,S!Q![+h!c!i+h!r!s-P#R#S+[#T#Z+h#d#e-P~,XTY~!Q![,h!c!i,h!r!s-P#T#Z,h#d#e-P~,mUY~!Q![,h!c!i,h!r!s-P#R#S.Q#T#Z,h#d#e-P~-ST{|-c}!O-c!Q![-o!c!i-o#T#Z-o~-fR!Q![-o!c!i-o#T#Z-o~-tSY~!Q![-o!c!i-o#R#S-c#T#Z-o~.TR!Q![,h!c!i,h#T#Z,h~.aP!]!^.d~.iSP~OY.dZ;'S.d;'S;=`.u<%lO.d~.xP;=`<%l.d~/QiX~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:o=>S[o]||-1}],tokenPrec:0}),Q=O.define({name:"wast",parser:i.configure({props:[r.add({App:b({closing:")",align:!1})}),s.add({App:a,BlockComment(o){return{from:o.from+2,to:o.to-2}}}),t({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 l(){return new P(Q)}export{l as wast,Q as wastLanguage}; diff --git a/public/admin/assets/index-B-Adk9a1.js b/AIWebQuickDeploy/public/admin/assets/index-cHk2eZex.js similarity index 99% rename from public/admin/assets/index-B-Adk9a1.js rename to AIWebQuickDeploy/public/admin/assets/index-cHk2eZex.js index 45af46c..63019a6 100644 --- a/public/admin/assets/index-B-Adk9a1.js +++ b/AIWebQuickDeploy/public/admin/assets/index-cHk2eZex.js @@ -5,6 +5,6 @@ * https://fantastic-admin.github.io */ -import{b as P,C as G,s as k,t as i,d as E,h as _,e as U,L as z,i as j,k as $,f as A,l as F,a as I,I as N,g as C,N as D,n as S}from"./style-CY8tkffG.js";import"./index-nGFMSQGw.js";const L=1,m=206,y=207,H=208,c=209,J=210,B=211,M=212,K=2,OO=213,rO=214,oO=3,aO=215,iO=216,eO=4,QO=217,xO=218,SO=5,sO=219,TO=26,tO=27,nO=51,PO=52,lO=57,pO=58,$O=59,qO=61,XO=62,wO=63,dO=64,YO=65,cO=67,ZO=256,fO=74,bO=275,vO=120,mO=138,yO=159,RO=160,uO=163,T=10,t=13,d=32,l=9,Y=35,WO=40,VO=46,Z=123,R=39,u=34,gO=92,hO=new Set([tO,nO,PO,bO,cO,mO,pO,$O,ZO,dO,YO,fO,XO,wO,yO,RO,uO,vO]);function q(O){return O==T||O==t}const GO=new P((O,r)=>{let o;if(O.next<0)O.acceptToken(B);else if(r.context.depth<0)q(O.next)&&O.acceptToken(J,1);else if(((o=O.peek(-1))<0||q(o))&&r.canShift(c)){let a=0;for(;O.next==d||O.next==l;)O.advance(),a++;(O.next==T||O.next==t||O.next==Y)&&O.acceptToken(c,-a)}else q(O.next)&&O.acceptToken(H,1)},{contextual:!0}),kO=new P((O,r)=>{let o=r.context.depth;if(o<0)return;let a=O.peek(-1);if(a==T||a==t){let e=0,Q=0;for(;;){if(O.next==d)e++;else if(O.next==l)e+=8-e%8;else break;O.advance(),Q++}e!=o&&O.next!=T&&O.next!=t&&O.next!=Y&&(e{for(let r=0;r<5;r++){if(O.next!="print".charCodeAt(r))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let r=0;;r++){let o=O.peek(r);if(!(o==d||o==l)){o!=WO&&o!=VO&&o!=T&&o!=t&&o!=Y&&O.acceptToken(L);return}}});function p(O,r,o,a,e){return new P(Q=>{let x=Q.pos;for(;!(Q.next<0);)if(Q.next==Z)if(Q.peek(1)==Z)Q.advance(2);else{if(Q.pos==x){Q.acceptToken(a,1);return}break}else if(Q.next==gO)Q.advance(),Q.next>=0&&Q.advance();else if(Q.next==O&&(r==1||Q.peek(1)==O&&Q.peek(2)==O)){if(Q.pos==x){Q.acceptToken(e,r);return}break}else Q.advance();Q.pos>x&&Q.acceptToken(o)})}const jO=p(R,1,M,K,OO),AO=p(u,1,rO,oO,aO),FO=p(R,3,iO,eO,QO),IO=p(u,3,xO,SO,sO),NO=k({'async "*" "**" FormatConversion FormatSpec':i.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":i.controlKeyword,"in not and or is del":i.operatorKeyword,"from def class global nonlocal lambda":i.definitionKeyword,import:i.moduleKeyword,"with as print":i.keyword,Boolean:i.bool,None:i.null,VariableName:i.variableName,"CallExpression/VariableName":i.function(i.variableName),"FunctionDefinition/VariableName":i.function(i.definition(i.variableName)),"ClassDefinition/VariableName":i.definition(i.className),PropertyName:i.propertyName,"CallExpression/MemberExpression/PropertyName":i.function(i.propertyName),Comment:i.lineComment,Number:i.number,String:i.string,FormatString:i.special(i.string),UpdateOp:i.updateOperator,"ArithOp!":i.arithmeticOperator,BitOp:i.bitwiseOperator,CompareOp:i.compareOperator,AssignOp:i.definitionOperator,Ellipsis:i.punctuation,At:i.meta,"( )":i.paren,"[ ]":i.squareBracket,"{ }":i.brace,".":i.derefOperator,", ;":i.separator}),CO={__proto__:null,await:48,or:58,and:60,in:64,not:66,is:68,if:74,else:76,lambda:80,yield:98,from:100,async:106,for:108,None:178,True:180,False:180,del:194,pass:198,break:202,continue:206,return:210,raise:218,import:222,as:224,global:228,nonlocal:230,assert:234,type:239,elif:252,while:256,try:262,except:264,finally:266,with:270,def:274,class:284,match:295,case:301},DO=E.deserialize({version:14,states:"#)WO`Q#yOOP$bOSOOO%kQ&nO'#HhOOQS'#Cq'#CqOOQS'#Cr'#CrO'ZQ#xO'#CpO(|Q&nO'#HgOOQS'#Hh'#HhOOQS'#DW'#DWOOQS'#Hg'#HgO)jQ#xO'#DaO)}Q#xO'#DhO*_Q#xO'#DlOOQS'#Dw'#DwO*rO,UO'#DwO*zO7[O'#DwO+SOWO'#DxO+_O`O'#DxO+jOpO'#DxO+uO!bO'#DxO-wQ&nO'#HXOOQS'#HX'#HXO'ZQ#xO'#HWO/ZQ&nO'#HWOOQS'#Ej'#EjO/rQ#xO'#EkOOQS'#HV'#HVO/|Q#xO'#HUOOQV'#HU'#HUO0XQ#xO'#FbOOQS'#Gj'#GjO0^Q#xO'#FaOOQV'#I_'#I_OOQV'#HT'#HTOOQV'#Fy'#FyQ`Q#yOOO'ZQ#xO'#CsO0lQ#xO'#DPO0sQ#xO'#DTO1RQ#xO'#HlO1cQ&nO'#E_O'ZQ#xO'#E`OOQS'#Eb'#EbOOQS'#Ed'#EdOOQS'#Ef'#EfO1wQ#xO'#EhO2_Q#xO'#ElO0XQ#xO'#EnO2rQ&nO'#EnO0XQ#xO'#EqO/rQ#xO'#EtO0XQ#xO'#EvO/rQ#xO'#E|O/rQ#xO'#FPO2}Q#xO'#FRO3UQ#xO'#FWO3aQ#xO'#FSO/rQ#xO'#FWO0XQ#xO'#FYO0XQ#xO'#F_O3fQ#xO'#FdP3mO#xO'#HSPOOO)CBv)CBvOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Ck'#CkOOQS'#Cl'#ClOOQS'#Cn'#CnO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO3xQ#xO'#DqOOQS,5:[,5:[O4]Q#xO'#HvOOQS,5:_,5:_O4jQMlO,5:_O4oQ&nO,59[O0lQ#xO,59dO0lQ#xO,59dO0lQ#xO,59dO7_Q#xO,59dO7dQ#xO,59dO7kQ#xO,59lO7rQ#xO'#HgO8xQ#xO'#HfOOQS'#Hf'#HfOOQS'#D^'#D^O9aQ#xO,59cO'ZQ#xO,59cO9oQ#xO,59cOOQS,59{,59{O9tQ#xO,5:TO'ZQ#xO,5:TOOQS,5:S,5:SO:SQ#xO,5:SO:XQ#xO,5:ZO'ZQ#xO,5:ZO'ZQ#xO,5:XOOQS,5:W,5:WO:jQ#xO,5:WO:oQ#xO,5:YOOOO'#GR'#GRO:tO,UO,5:cOOQS,5:c,5:cOOOO'#GS'#GSO:|O7[O,5:cO;UQ#xO'#DyOOOW'#GT'#GTO;fOWO,5:dOOQS,5:d,5:dO;UQ#xO'#EPOOO`'#GW'#GWO;qO`O,5:dO;UQ#xO'#EROOOp'#GX'#GXO;|OpO,5:dO;UQ#xO'#ETOOO!b'#GY'#GYOWOOQS,5>W,5>WO/rQ#xO'#EZOOQS'#E['#E[OGZQ#xO'#G]OGkQ#xO,59OOGkQ#xO,59OO)pQ#xO,5:wOGyQ&nO'#HoOOQS,5:z,5:zOOQS,5;S,5;SOH^Q#xO,5;WOHoQ#xO,5;YOOQS'#G`'#G`OH}Q&nO,5;YOI]Q#xO,5;YOIbQ#xO'#I]OOQS,5;],5;]OIpQ#xO'#IXOOQS,5;`,5;`OJRQ#xO,5;bO3aQ#xO,5;hO3aQ#xO,5;kOJZQ&nO'#I`O'ZQ#xO'#I`OJeQ#xO,5;mO2}Q#xO,5;mO/rQ#xO,5;rO0XQ#xO,5;tOJjQ#yO'#E}OKvQ#{O,5;nO! [Q#xO'#IaO3aQ#xO,5;rO! gQ#xO,5;tO! oQ#xO,5;yO! zQ&nO,5bOOQS'#Du'#DuOOQS1G/y1G/yOOQS1G/O1G/OO!-uQ&nO1G/OO!-|Q&nO1G/OO0lQ#xO1G/OO!.iQ#xO1G/WOOQS'#D]'#D]O/rQ#xO,59vOOQS1G.}1G.}O!.pQ#xO1G/gO!/QQ#xO1G/gO!/YQ#xO1G/hO'ZQ#xO'#HnO!/_Q#xO'#HnO!/dQ&nO1G.}O!/tQ#xO,59kO!0zQ#xO,5>^O!1[Q#xO,5>^O!1dQ#xO1G/oO!1iQ&nO1G/oOOQS1G/n1G/nO!1yQ#xO,5>XO!2pQ#xO,5>XO/rQ#xO1G/sO!3_Q#xO1G/uO!3dQ&nO1G/uO!3tQ&nO1G/sOOQS1G/r1G/rOOQS1G/t1G/tOOOO-E:P-E:POOQS1G/}1G/}OOOO-E:Q-E:QO!4UQ#xO'#IRO/rQ#xO'#IRO!4gQ#xO,5:eOOOW-E:R-E:ROOQS1G0O1G0OO!4uQ#xO,5:kOOO`-E:U-E:UO!5TQ#xO,5:mOOOp-E:V-E:VO!5cQ#xO,5:oOOO!b-E:W-E:WOOQS-E:X-E:XO!5qQ!LUO1G3^O!6bQ&nO1G3^O'ZQ#xO,5tOOQS1G1h1G1hO!7bQ#xO1G1hOOQS'#DX'#DXO/rQ#xO,5>TOOQS,5>T,5>TO!7gQ#xO'#FzO!7rQ#xO,59qO!7zQ#xO1G/ZO!8UQ&nO,5>XOOQS1G3r1G3rOOQS,5:u,5:uO!8uQ#xO'#HWOOQS,5ZO!9vQ#xO,5>ZO/rQ#xO1G0rO/rQ#xO1G0rO0XQ#xO1G0tOOQS-E:^-E:^O!:XQ#xO1G0tO!:dQ#xO1G0tO!:iQ#xO,5>wO!:wQ#xO,5>wO!;VQ#xO,5>sO!;mQ#xO,5>sO!zO!CZQ#xO,5>zO!CcQ&nO,5>zO/rQ#xO1G1XO!CmQ#xO1G1XO3aQ#xO1G1^O! gQ#xO1G1`OOQV,5;i,5;iO!CrQ#zO,5;iO!CwQ#{O1G1YO!G]Q#xO'#GgO3aQ#xO1G1YO3aQ#xO1G1YO!GmQ#xO,5>{O!GzQ#xO,5>{O0XQ#xO,5>{OOQV1G1^1G1^O!HSQ#xO'#F[O!HeQMlO1G1`O!HmQ#xO1G1`OOQV1G1e1G1eO3aQ#xO1G1eO!HrQ#xO1G1eO!HzQ#xO'#FfOOQV1G1j1G1jO! zQ&nO1G1jPOOO1G3Y1G3YP!IPOSO1G3YOOQS,5>a,5>aOOQS'#Dr'#DrO/rQ#xO,5>aO!IUQ#xO,5>`O!IiQ#xO,5>`OOQS1G/w1G/wO!IqQ#xO,5>cO!JRQ#xO,5>cO!JZQ#xO,5>cO!JnQ#xO,5>cO!KOQ#xO,5>cOOQS1G3|1G3|OOQS7+$j7+$jO!7zQ#xO7+$rO!LqQ#xO1G/OO!LxQ#xO1G/OOOQS1G/b1G/bOOQS,5YO'ZQ#xO,5>YOOQS7+$i7+$iO!MfQ#xO7+%RO!MnQ#xO7+%SO!MsQ#xO1G3xOOQS7+%Z7+%ZO!NTQ#xO1G3xO!N]Q#xO7+%ZOOQS,5mO##cQ#xO,5>mO##cQ#xO,5>mOOQS'#Dz'#DzO##tO$ISO'#D|O#$PO#tO'#ISOOOW1G0P1G0PO#$UQ#xO1G0PO#$^Q#xO1G0POOQS'#EQ'#EQOOO`1G0V1G0VO#$iQ#xO1G0VO#$qQ#xO1G0VOOQS'#ES'#ESOOOp1G0X1G0XO#$|Q#xO1G0XO#%UQ#xO1G0XOOQS'#EU'#EUOOO!b1G0Z1G0ZO#%aQ#xO1G0ZO#%iQ#xO1G0ZO#%tQ!LUO7+(xO#&eQ&nO1G2bP#'OQ#xO'#G[OOQS,5n,5>nOOOW7+%k7+%kO#;yQ#xO7+%kOOO`7+%q7+%qO#vO#=xQ#xO,5>vO0XQ#xO,5>vO#>ZQ#xO,5>uOOQS<`Q#xO,5>xO#>nQ#xO,5>xOOQS1G1O1G1OOOQS<vQ&nO1G2lP#?QQ#xO'#GfO#?XQ#xO7+*QO#?cQ#{O<}O#F{Q#xO,5>}OOQS,5>},5>}O#GWQ#xO,5>|O#GiQ#xO,5>|OOQS1G1b1G1bOOQS,5;x,5;xOOQV<XAN>XO#JxQ#xO<eAN>eO/rQ#xO1G2UO#KYQ&nO1G2UP#KdQ#xO'#GOOOQS1G2[1G2[P#KqQ#xO'#GUO#LOQ#xO7+)sO#LiQ#xO,5:iOOOO-E:T-E:TOOOW<[OOQSANBfANBfOOOO7+%o7+%oO$.WQ#xO7+%oOOQS7+(R7+(RO$.`Q#xO<kPP>n?`?cPP'f'fPP?{PP'f'fPP'f'f'f'f'f@P@y'fP@|PASE^H}IRPIUIlIpIsIwIzJOJRJV'fPPPJYJc'^P'^'^P'^P'^P'^P'^P'^'^'^P'^PP'^PP'^P'^PJiJuJ}PKUK[PKUPKUKUPPPKUPMjPMsM}NTMjPKUN^PKUPNeNkPNo! T! r!!]NoNo!!c!!pNoNoNoNo!#U!#[!#_!#d!#g!#q!#w!$T!$g!$m!$w!$}!%k!%q!%w!%}!&X!&_!&e!&k!&q!&w!'Z!'e!'k!'q!'w!(R!(X!(_!(e!(k!(u!({!)V!)]!)f!)l!){!*T!*_!*fPPPPPPPPPPPPPPPPP!*l!*o!*u!+O!+Y!+ePPPPPPPPPPPP!0[!1p!5s!9WPP!9`!9r!9{!:t!:k!:}!;T!;W!;Z!;^!;f!V!>]!>f!>i!>l!>r!>x!?O!?RP!?Z!?d!@`!@c]jOs#v$w*`,p(TeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o}!hQ#r$P$b$q$}%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!P!iQ#r$P$b$q$}%S%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!R!jQ#r$P$b$q$}%S%T%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!T!kQ#r$P$b$q$}%S%T%U%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!V!lQ#r$P$b$q$}%S%T%U%V%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!X!mQ#r$P$b$q$}%S%T%U%V%W%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!]!mQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d(TTOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o&iVOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1o%sXOYZ[isw}!O!S!U!V!Z!n!p#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$VvQ0X/fR1l1n'zeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oW#ym!P!Q$hW$Rv&q/f1nQ$j!RQ$n!TQ${![Q$|!]W%Z!n(O+O-WS&p$S$TQ'e$vQ)b&jQ)p'QU)q'S)r)sU)t'U)u,ZW){'Y,^-z.vQ*l'nW*m'p-P._/OQ,])zS-O*n*oY-t,U-u.s.t/lQ-w,WQ.U,tQ.Y,wQ.|.Wl/R.c/X/Y/[/w/y0O0g0l0q0v1R1W1ZQ/k.rQ0P/ZQ0^/qQ0i/{U0|0r1P1XX1S0w1T1[1]R&o$R!_!|YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WR%k!{Q#QYQ&W#cQ&Z#gQ&]#jQ&_#mQ&x$^Q&{$aR-l+tT/e.j0p![!oQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dQ&m#zQ't$|R*x'uR'}%ZQ%d!rR0[/o(SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oS#pd#q!P/V.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1](SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oT#pd#qT#d`#eR)Q&Wy(}&W&Z&]&_)P)Q)T)U)X)Y)])^+y+{+},P-l.p.q/jT+u(|+vR.q-lT#ha#iR)U&ZT#kb#lR)Y&]T#nc#oR)^&_Q$`xQ,]){R,}*mX$^x$_$`&zQ'[$nQ'r${Q'u$|R*_'eQ)|'YV-y,^-z.vZlOs$w*`,pXpOs*`,pQ$x!YQ']$oQ'^$pQ'o$zQ's$|Q*]'dQ*d'iQ*g'jQ*h'kQ*u'qS*w't'uQ,d*RQ,f*SQ,g*TQ,k*ZS,m*^*vQ,q*bQ,r*cS,s*e*fQ-T*xQ-|,cQ-},eQ.P,lS.Q,n,oQ.V,uQ.X,vQ.w.OQ.y.RQ.z.TQ.{.UQ/m.xQ/n.|Q0T/_R0o0UWpOs*`,pR#|oQ'q${S*^'e'rR,o*_Q,|*mR.],}Q*v'qQ,n*^R.R,oZnOos*`,pQ'w$}R*z'xT.a-U.bu/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1Zt/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZQ0P/ZX1S0w1T1[1]!P/U.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1]Q/t/TR0c/ug/w/W/x0_0f0k0y0{0}1Y1^1_u/].c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZX/r/R/]0^0|R0`/qV1O0r1P1XR0U/_QsOS$Os,pR,p*`Q&r$UR)g&rS%z#W$WS(p%z(sT(s%}&tQ%n#OQ%u#SW(b%n%u(g(kQ(g%rR(k%wQ&}$bR)m&}Q(v&OQ+g(qT+m(v+gQ(P%]R+P(PS(S%`%aY+T(S+U-^.h/cU+U(T(U(VU-^+V+W+XS.h-_-`R/c.iQ#_^R&R#_Q#b_R&T#bQ#e`R&X#eQ(y&US+r(y+sR+s(zQ+v(|R-m+vQ#iaR&[#iQ#lbR&^#lQ#ocR&`#oQ#qdR&a#qQ#tgQ&c#rW&f#t&c)j,RQ)j&wR,R1dQ$_xS&y$_&zR&z$`Q'X$lR)y'XQ&k#yR)c&kQ$h!QR'R$hQ,V)qS-v,V.uR.u-wQ'V$jR)v'VQ,_)|R-{,_Q#wkR&h#wQ*Q']R,b*QQ'`$qS*X'`*YR*Y'aQ'h$xR*a'hQ'm$yS*k'm,zR,z*lQ-Q*qR.`-QWoOs*`,pR#{oQ.b-UR/P.bd/x/W0_0f0k0y0{0}1Y1^1_R0e/xU/p/R0^0|R0]/pQ0x0kS1U0x1VR1V0yS0s0_0`R1Q0sQ/z/WR0h/zR!`PXrOs*`,pWqOs*`,pR'f$wYkOs$w*`,pR&g#v[xOs#v$w*`,pR&x$^&hQOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1oQ!sTQ#rfQ$PtU$by%p(eS$q!W$tQ$}!^Q%S!hQ%T!iQ%U!jQ%V!kQ%W!lQ%X!mQ%r#PQ%w#TQ%}#XQ&O#YQ&t$XQ'a$rQ'x%OQ)`&dU)k&|)l,SW*U'_*W,i,jQ+Z(_Q+d(nQ,h*VQ-g+lQ0n0SR1d1iQ#OYQ#SZQ$o!UQ$p!VQ%`!pQ(V%a^(^%m%t(a(i+]+`+b^+Q(R+S-[-].g/b0WQ+W(TQ+X(UQ,e*RQ-Z+RQ-_+VQ.e-XQ.f-YQ.i-`Q/`.dR0V/a[gOs#v$w*`,p!^!{YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WQ#W[Q#uiS$Ww}Q$e!OW$l!S$a'b*[S$y!Z$uW%Y!n(O+O-WY&U#c#g#j#m+t`&e#s&b)_)a)i,Q-r1hQ&u$YQ&v$[Q&w$^Q'{%[Q(]%kW(m%y(o+e+iQ(q%{Q(z&VQ)e&oS)h&s1fQ)n'OQ)o'PU)w'W)x,[Q*O'ZQ*e'iY*i'l*j,x,y.ZQ*|'}S+Y(Y1gW+k(u+f-d-hW+o(x+q-j-kQ,a*PQ,u*fQ-S*tQ-i+pQ-s,TQ.[,|Q.m-fR.}.]hUOs#s#v$w&b&s(Y)_)a*`,p%Y!zYZ[iw}!O!S!U!V!Z!n!p#c#g#j#m$Y$[$^$a$u%[%a%k%m%t%y%{&V&o'O'P'W'Z'b'i'l'}(O(R(T(U(a(i(o(u(x)i)x*P*R*[*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$QuW%e!t!x1a1kQ%f!uQ%g!vQ%i!yQ%s1`S(X%h1eQ(Z1bQ([1cQ-a+^Q.l-bS/d.j0pR1m1oU$Uv/f1nR)f&q[hOs#v$w*`,pa!}Y#c#g#j#m$^$a+tQ#][Q$ZwR$d}Q%o#OQ%v#SQ%|#WQ'{%YQ(h%rQ(l%wQ(t%}Q(w&OQ+h(qQ-V*|Q.k-aQ/h.lR0Y/gQ$cyQ(d%pR+_(eQ/g.jR0z0pR#VZR#[[R%_!nQ%]!nV*}(O+O-W!]!qQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dR%b!pQ&W#cQ&Z#gQ&]#jQ&_#mR-l+tQ)O&WQ)S&ZQ)W&]Q)[&_S+x)P)QS+z)T)US+|)X)YS,O)])^Q-n+yQ-o+{Q-p+}Q-q,PQ.o-lS/i.p.qR0Z/jQ$m!SQ&{$aQ*Z'bR,l*[Q#zmQ$f!PQ$i!QR'T$hQ)p'SR,Y)sQ)p'SQ,X)rR,Y)sR$k!RR)}'YXqOs*`,pQ$s!WR'c$tQ$z!ZR'd$uR*s'pQ*q'pV.^-P._/OQ/_.cQ/|/XR/}/YU/W.c/X/YQ0R/[Q0_/qQ0d/wU0f/y0g0vQ0k0OQ0y0lQ0{0qU0}0r1P1XQ1Y1RQ1^1WR1_1ZR0Q/ZR0a/q",nodeNames:"⚠ print { { { { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:288,context:UO,nodeProps:[["isolate",-8,6,73,74,75,79,81,83,85,""],["group",-15,8,93,95,96,98,100,102,104,106,107,108,110,113,116,118,"Statement Statement",-22,10,20,23,27,42,51,52,58,59,62,63,64,65,66,69,72,73,74,87,88,89,90,"Expression",-10,122,124,127,129,130,134,136,141,143,146,"Statement",-9,151,152,155,156,158,159,160,161,162,"Pattern"],["openedBy",25,"(",56,"[",60,"{"],["closedBy",26,")",57,"]",61,"}"]],propSources:[NO],skippedNodes:[0,6],repeatNodeCount:38,tokenData:"%-W#sR!`OX%TXY=|Y[%T[]=|]p%Tpq=|qr@_rsDOst!+|tu%Tuv!Nnvw#!|wx#$Wxy#:Uyz#;Yz{#<^{|#>x|}#@S}!O#AW!O!P#Ci!P!Q#N_!Q!R$!y!R![$&w![!]$1e!]!^$3s!^!_$4w!_!`$7c!`!a$8m!a!b%T!b!c$;U!c!d$W!e!h$W#V#Y$Q<%lO$Xc&w!b&oS&rW%u!TOX%TXY=|Y[%T[]=|]p%Tpq=|qr%Trs&Vsw%Twx/Xx#O%T#O#P?d#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#s?i[&w!bOY%TYZ=|Z]%T]^=|^#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=P;=`<%l8^<%lO%T!q@hd&w!b&oS&rWOr%Trs&Vsw%Twx/Xx!_%T!_!`Av!`#O%T#O#P7o#P#T%T#T#UBz#U#f%T#f#gBz#g#hBz#h#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qBR]oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qCV]!oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cDXa&w!b&oS&msOYE^YZ%TZ]E^]^%T^rE^rs!)|swE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cEia&w!b&oS&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cFw]&w!b&oS&msOr%Trs'Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cGya&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxIOx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cIXa&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxJ^x#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#_Jg_&w!b&rW&msOYJ^YZ1XZ]J^]^1X^rJ^rsKfs#OJ^#O#PL`#P#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`!!o<%lOJ^#_KmZ&w!b&msOr1Xrs2ys#O1X#O#P3q#P#o1X#o#p4`#p#q1X#q#r4`#r;'S1X;'S;=`7i<%lO1X#_LeW&w!bO#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`! r;=`<%lL}<%lOJ^{MUZ&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l<%lOL}{M|V&msOr4`rs5ds#O4`#O#P5y#P;'S4`;'S;=`6t<%lO4`{NfRO;'SL};'S;=`No;=`OL}{Nv[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lL}<%lOL}{! oP;=`<%lL}#_! y[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lJ^<%lOL}#_!!rP;=`<%lJ^#c!!zW&w!bO#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!(q;=`<%l!#d<%lOE^!P!#m]&oS&rW&msOY!#dYZ8^Z]!#d]^8^^r!#drs!$fsw!#dwx!%Yx#O!#d#O#P!'Y#P;'S!#d;'S;=`!(k<%lO!#d!P!$mX&oS&msOr8^rs9rsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`^s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!>e_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!?ds#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!?k_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!3`s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!@q[U!T&w!bOY!=UYZ1XZ]!=U]^1X^#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!Ec;=`<%l4`<%lO!=U!]!AnZU!T&rWOY!AgYZ4`Z]!Ag]^4`^r!Agrs!Bas#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!BfZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!CXs#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!C^ZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!4Ys#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!DUWU!TOY!AgYZ4`Z]!Ag]^4`^;'S!Ag;'S;=`!Dn;=`<%l4`<%lO!Ag!]!DsW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!Ag<%lO4`!]!E`P;=`<%l!Ag#o!EhW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!=U<%lO4`#o!FTP;=`<%l!=U#s!F_[U!T&w!bOY!+|YZ%TZ]!+|]^%T^#o!+|#o#p!GT#p#q!+|#q#r!GT#r;'S!+|;'S;=`!Mq;=`<%l8^<%lO!+|!a!G^]U!T&oS&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!H^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!IVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!I^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!5wsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!J^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!KVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!K^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!Agx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!L[WU!TOY!GTYZ8^Z]!GT]^8^^;'S!GT;'S;=`!Lt;=`<%l8^<%lO!GT!a!L{Y&oS&rWOr8^rs9Qsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`Q<%lO$TP;=`<%l$ei&w!b&oS&rW&l`&XsOr%Trs$@Ssw%Twx$C`x!Q%T!Q![$Q<%lO$Q<%lO$Q<%lO$Q<%lO$Q<%lO$CO[O]||-1}],tokenPrec:7500}),f=new D,W=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function n(O){return(r,o,a)=>{if(a)return!1;let e=r.node.getChild("VariableName");return e&&o(e,O),!0}}const LO={FunctionDefinition:n("function"),ClassDefinition:n("class"),ForStatement(O,r,o){if(o){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")r(a,"variable");else if(a.name=="in")break}},ImportStatement(O,r){var o,a;let{node:e}=O,Q=((o=e.firstChild)===null||o===void 0?void 0:o.name)=="from";for(let x=e.getChild("import");x;x=x.nextSibling)x.name=="VariableName"&&((a=x.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&r(x,Q?"variable":"namespace")},AssignStatement(O,r){for(let o=O.node.firstChild;o;o=o.nextSibling)if(o.name=="VariableName")r(o,"variable");else if(o.name==":"||o.name=="AssignOp")break},ParamList(O,r){for(let o=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!o||!/\*|AssignOp/.test(o.name))&&r(a,"variable"),o=a},CapturePattern:n("variable"),AsPattern:n("variable"),__proto__:null};function V(O,r){let o=f.get(r);if(o)return o;let a=[],e=!0;function Q(x,s){let h=O.sliceString(x.from,x.to);a.push({label:h,type:s})}return r.cursor(N.IncludeAnonymous).iterate(x=>{if(x.name){let s=LO[x.name];if(s&&s(x,Q,e)||!e&&W.has(x.name))return!1;e=!1}else if(x.to-x.from>8192){for(let s of V(O,x.node))a.push(s);return!1}}),f.set(r,a),a}const b=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,g=["String","FormatString","Comment","PropertyName"];function HO(O){let r=_(O.state).resolveInner(O.pos,-1);if(g.indexOf(r.name)>-1)return null;let o=r.name=="VariableName"||r.to-r.from<20&&b.test(O.state.sliceDoc(r.from,r.to));if(!o&&!O.explicit)return null;let a=[];for(let e=r;e;e=e.parent)W.has(e.name)&&(a=a.concat(V(O.state.doc,e)));return{options:a,from:o?r.from:O.pos,validFor:b}}const JO=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),BO=[S("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),S("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),S("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),S("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),S(`if \${}: +import{b as P,C as G,s as k,t as i,d as E,h as _,e as U,L as z,i as j,k as $,f as A,l as F,a as I,I as N,g as C,N as D,n as S}from"./style-CSuzBWCF.js";import"./index-6QRvoxq4.js";const L=1,m=206,y=207,H=208,c=209,J=210,B=211,M=212,K=2,OO=213,rO=214,oO=3,aO=215,iO=216,eO=4,QO=217,xO=218,SO=5,sO=219,TO=26,tO=27,nO=51,PO=52,lO=57,pO=58,$O=59,qO=61,XO=62,wO=63,dO=64,YO=65,cO=67,ZO=256,fO=74,bO=275,vO=120,mO=138,yO=159,RO=160,uO=163,T=10,t=13,d=32,l=9,Y=35,WO=40,VO=46,Z=123,R=39,u=34,gO=92,hO=new Set([tO,nO,PO,bO,cO,mO,pO,$O,ZO,dO,YO,fO,XO,wO,yO,RO,uO,vO]);function q(O){return O==T||O==t}const GO=new P((O,r)=>{let o;if(O.next<0)O.acceptToken(B);else if(r.context.depth<0)q(O.next)&&O.acceptToken(J,1);else if(((o=O.peek(-1))<0||q(o))&&r.canShift(c)){let a=0;for(;O.next==d||O.next==l;)O.advance(),a++;(O.next==T||O.next==t||O.next==Y)&&O.acceptToken(c,-a)}else q(O.next)&&O.acceptToken(H,1)},{contextual:!0}),kO=new P((O,r)=>{let o=r.context.depth;if(o<0)return;let a=O.peek(-1);if(a==T||a==t){let e=0,Q=0;for(;;){if(O.next==d)e++;else if(O.next==l)e+=8-e%8;else break;O.advance(),Q++}e!=o&&O.next!=T&&O.next!=t&&O.next!=Y&&(e{for(let r=0;r<5;r++){if(O.next!="print".charCodeAt(r))return;O.advance()}if(!/\w/.test(String.fromCharCode(O.next)))for(let r=0;;r++){let o=O.peek(r);if(!(o==d||o==l)){o!=WO&&o!=VO&&o!=T&&o!=t&&o!=Y&&O.acceptToken(L);return}}});function p(O,r,o,a,e){return new P(Q=>{let x=Q.pos;for(;!(Q.next<0);)if(Q.next==Z)if(Q.peek(1)==Z)Q.advance(2);else{if(Q.pos==x){Q.acceptToken(a,1);return}break}else if(Q.next==gO)Q.advance(),Q.next>=0&&Q.advance();else if(Q.next==O&&(r==1||Q.peek(1)==O&&Q.peek(2)==O)){if(Q.pos==x){Q.acceptToken(e,r);return}break}else Q.advance();Q.pos>x&&Q.acceptToken(o)})}const jO=p(R,1,M,K,OO),AO=p(u,1,rO,oO,aO),FO=p(R,3,iO,eO,QO),IO=p(u,3,xO,SO,sO),NO=k({'async "*" "**" FormatConversion FormatSpec':i.modifier,"for while if elif else try except finally return raise break continue with pass assert await yield match case":i.controlKeyword,"in not and or is del":i.operatorKeyword,"from def class global nonlocal lambda":i.definitionKeyword,import:i.moduleKeyword,"with as print":i.keyword,Boolean:i.bool,None:i.null,VariableName:i.variableName,"CallExpression/VariableName":i.function(i.variableName),"FunctionDefinition/VariableName":i.function(i.definition(i.variableName)),"ClassDefinition/VariableName":i.definition(i.className),PropertyName:i.propertyName,"CallExpression/MemberExpression/PropertyName":i.function(i.propertyName),Comment:i.lineComment,Number:i.number,String:i.string,FormatString:i.special(i.string),UpdateOp:i.updateOperator,"ArithOp!":i.arithmeticOperator,BitOp:i.bitwiseOperator,CompareOp:i.compareOperator,AssignOp:i.definitionOperator,Ellipsis:i.punctuation,At:i.meta,"( )":i.paren,"[ ]":i.squareBracket,"{ }":i.brace,".":i.derefOperator,", ;":i.separator}),CO={__proto__:null,await:48,or:58,and:60,in:64,not:66,is:68,if:74,else:76,lambda:80,yield:98,from:100,async:106,for:108,None:178,True:180,False:180,del:194,pass:198,break:202,continue:206,return:210,raise:218,import:222,as:224,global:228,nonlocal:230,assert:234,type:239,elif:252,while:256,try:262,except:264,finally:266,with:270,def:274,class:284,match:295,case:301},DO=E.deserialize({version:14,states:"#)WO`Q#yOOP$bOSOOO%kQ&nO'#HhOOQS'#Cq'#CqOOQS'#Cr'#CrO'ZQ#xO'#CpO(|Q&nO'#HgOOQS'#Hh'#HhOOQS'#DW'#DWOOQS'#Hg'#HgO)jQ#xO'#DaO)}Q#xO'#DhO*_Q#xO'#DlOOQS'#Dw'#DwO*rO,UO'#DwO*zO7[O'#DwO+SOWO'#DxO+_O`O'#DxO+jOpO'#DxO+uO!bO'#DxO-wQ&nO'#HXOOQS'#HX'#HXO'ZQ#xO'#HWO/ZQ&nO'#HWOOQS'#Ej'#EjO/rQ#xO'#EkOOQS'#HV'#HVO/|Q#xO'#HUOOQV'#HU'#HUO0XQ#xO'#FbOOQS'#Gj'#GjO0^Q#xO'#FaOOQV'#I_'#I_OOQV'#HT'#HTOOQV'#Fy'#FyQ`Q#yOOO'ZQ#xO'#CsO0lQ#xO'#DPO0sQ#xO'#DTO1RQ#xO'#HlO1cQ&nO'#E_O'ZQ#xO'#E`OOQS'#Eb'#EbOOQS'#Ed'#EdOOQS'#Ef'#EfO1wQ#xO'#EhO2_Q#xO'#ElO0XQ#xO'#EnO2rQ&nO'#EnO0XQ#xO'#EqO/rQ#xO'#EtO0XQ#xO'#EvO/rQ#xO'#E|O/rQ#xO'#FPO2}Q#xO'#FRO3UQ#xO'#FWO3aQ#xO'#FSO/rQ#xO'#FWO0XQ#xO'#FYO0XQ#xO'#F_O3fQ#xO'#FdP3mO#xO'#HSPOOO)CBv)CBvOOQS'#Cg'#CgOOQS'#Ch'#ChOOQS'#Ci'#CiOOQS'#Cj'#CjOOQS'#Ck'#CkOOQS'#Cl'#ClOOQS'#Cn'#CnO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO'ZQ#xO,59QO3xQ#xO'#DqOOQS,5:[,5:[O4]Q#xO'#HvOOQS,5:_,5:_O4jQMlO,5:_O4oQ&nO,59[O0lQ#xO,59dO0lQ#xO,59dO0lQ#xO,59dO7_Q#xO,59dO7dQ#xO,59dO7kQ#xO,59lO7rQ#xO'#HgO8xQ#xO'#HfOOQS'#Hf'#HfOOQS'#D^'#D^O9aQ#xO,59cO'ZQ#xO,59cO9oQ#xO,59cOOQS,59{,59{O9tQ#xO,5:TO'ZQ#xO,5:TOOQS,5:S,5:SO:SQ#xO,5:SO:XQ#xO,5:ZO'ZQ#xO,5:ZO'ZQ#xO,5:XOOQS,5:W,5:WO:jQ#xO,5:WO:oQ#xO,5:YOOOO'#GR'#GRO:tO,UO,5:cOOQS,5:c,5:cOOOO'#GS'#GSO:|O7[O,5:cO;UQ#xO'#DyOOOW'#GT'#GTO;fOWO,5:dOOQS,5:d,5:dO;UQ#xO'#EPOOO`'#GW'#GWO;qO`O,5:dO;UQ#xO'#EROOOp'#GX'#GXO;|OpO,5:dO;UQ#xO'#ETOOO!b'#GY'#GYOWOOQS,5>W,5>WO/rQ#xO'#EZOOQS'#E['#E[OGZQ#xO'#G]OGkQ#xO,59OOGkQ#xO,59OO)pQ#xO,5:wOGyQ&nO'#HoOOQS,5:z,5:zOOQS,5;S,5;SOH^Q#xO,5;WOHoQ#xO,5;YOOQS'#G`'#G`OH}Q&nO,5;YOI]Q#xO,5;YOIbQ#xO'#I]OOQS,5;],5;]OIpQ#xO'#IXOOQS,5;`,5;`OJRQ#xO,5;bO3aQ#xO,5;hO3aQ#xO,5;kOJZQ&nO'#I`O'ZQ#xO'#I`OJeQ#xO,5;mO2}Q#xO,5;mO/rQ#xO,5;rO0XQ#xO,5;tOJjQ#yO'#E}OKvQ#{O,5;nO! [Q#xO'#IaO3aQ#xO,5;rO! gQ#xO,5;tO! oQ#xO,5;yO! zQ&nO,5bOOQS'#Du'#DuOOQS1G/y1G/yOOQS1G/O1G/OO!-uQ&nO1G/OO!-|Q&nO1G/OO0lQ#xO1G/OO!.iQ#xO1G/WOOQS'#D]'#D]O/rQ#xO,59vOOQS1G.}1G.}O!.pQ#xO1G/gO!/QQ#xO1G/gO!/YQ#xO1G/hO'ZQ#xO'#HnO!/_Q#xO'#HnO!/dQ&nO1G.}O!/tQ#xO,59kO!0zQ#xO,5>^O!1[Q#xO,5>^O!1dQ#xO1G/oO!1iQ&nO1G/oOOQS1G/n1G/nO!1yQ#xO,5>XO!2pQ#xO,5>XO/rQ#xO1G/sO!3_Q#xO1G/uO!3dQ&nO1G/uO!3tQ&nO1G/sOOQS1G/r1G/rOOQS1G/t1G/tOOOO-E:P-E:POOQS1G/}1G/}OOOO-E:Q-E:QO!4UQ#xO'#IRO/rQ#xO'#IRO!4gQ#xO,5:eOOOW-E:R-E:ROOQS1G0O1G0OO!4uQ#xO,5:kOOO`-E:U-E:UO!5TQ#xO,5:mOOOp-E:V-E:VO!5cQ#xO,5:oOOO!b-E:W-E:WOOQS-E:X-E:XO!5qQ!LUO1G3^O!6bQ&nO1G3^O'ZQ#xO,5tOOQS1G1h1G1hO!7bQ#xO1G1hOOQS'#DX'#DXO/rQ#xO,5>TOOQS,5>T,5>TO!7gQ#xO'#FzO!7rQ#xO,59qO!7zQ#xO1G/ZO!8UQ&nO,5>XOOQS1G3r1G3rOOQS,5:u,5:uO!8uQ#xO'#HWOOQS,5ZO!9vQ#xO,5>ZO/rQ#xO1G0rO/rQ#xO1G0rO0XQ#xO1G0tOOQS-E:^-E:^O!:XQ#xO1G0tO!:dQ#xO1G0tO!:iQ#xO,5>wO!:wQ#xO,5>wO!;VQ#xO,5>sO!;mQ#xO,5>sO!zO!CZQ#xO,5>zO!CcQ&nO,5>zO/rQ#xO1G1XO!CmQ#xO1G1XO3aQ#xO1G1^O! gQ#xO1G1`OOQV,5;i,5;iO!CrQ#zO,5;iO!CwQ#{O1G1YO!G]Q#xO'#GgO3aQ#xO1G1YO3aQ#xO1G1YO!GmQ#xO,5>{O!GzQ#xO,5>{O0XQ#xO,5>{OOQV1G1^1G1^O!HSQ#xO'#F[O!HeQMlO1G1`O!HmQ#xO1G1`OOQV1G1e1G1eO3aQ#xO1G1eO!HrQ#xO1G1eO!HzQ#xO'#FfOOQV1G1j1G1jO! zQ&nO1G1jPOOO1G3Y1G3YP!IPOSO1G3YOOQS,5>a,5>aOOQS'#Dr'#DrO/rQ#xO,5>aO!IUQ#xO,5>`O!IiQ#xO,5>`OOQS1G/w1G/wO!IqQ#xO,5>cO!JRQ#xO,5>cO!JZQ#xO,5>cO!JnQ#xO,5>cO!KOQ#xO,5>cOOQS1G3|1G3|OOQS7+$j7+$jO!7zQ#xO7+$rO!LqQ#xO1G/OO!LxQ#xO1G/OOOQS1G/b1G/bOOQS,5YO'ZQ#xO,5>YOOQS7+$i7+$iO!MfQ#xO7+%RO!MnQ#xO7+%SO!MsQ#xO1G3xOOQS7+%Z7+%ZO!NTQ#xO1G3xO!N]Q#xO7+%ZOOQS,5mO##cQ#xO,5>mO##cQ#xO,5>mOOQS'#Dz'#DzO##tO$ISO'#D|O#$PO#tO'#ISOOOW1G0P1G0PO#$UQ#xO1G0PO#$^Q#xO1G0POOQS'#EQ'#EQOOO`1G0V1G0VO#$iQ#xO1G0VO#$qQ#xO1G0VOOQS'#ES'#ESOOOp1G0X1G0XO#$|Q#xO1G0XO#%UQ#xO1G0XOOQS'#EU'#EUOOO!b1G0Z1G0ZO#%aQ#xO1G0ZO#%iQ#xO1G0ZO#%tQ!LUO7+(xO#&eQ&nO1G2bP#'OQ#xO'#G[OOQS,5n,5>nOOOW7+%k7+%kO#;yQ#xO7+%kOOO`7+%q7+%qO#vO#=xQ#xO,5>vO0XQ#xO,5>vO#>ZQ#xO,5>uOOQS<`Q#xO,5>xO#>nQ#xO,5>xOOQS1G1O1G1OOOQS<vQ&nO1G2lP#?QQ#xO'#GfO#?XQ#xO7+*QO#?cQ#{O<}O#F{Q#xO,5>}OOQS,5>},5>}O#GWQ#xO,5>|O#GiQ#xO,5>|OOQS1G1b1G1bOOQS,5;x,5;xOOQV<XAN>XO#JxQ#xO<eAN>eO/rQ#xO1G2UO#KYQ&nO1G2UP#KdQ#xO'#GOOOQS1G2[1G2[P#KqQ#xO'#GUO#LOQ#xO7+)sO#LiQ#xO,5:iOOOO-E:T-E:TOOOW<[OOQSANBfANBfOOOO7+%o7+%oO$.WQ#xO7+%oOOQS7+(R7+(RO$.`Q#xO<kPP>n?`?cPP'f'fPP?{PP'f'fPP'f'f'f'f'f@P@y'fP@|PASE^H}IRPIUIlIpIsIwIzJOJRJV'fPPPJYJc'^P'^'^P'^P'^P'^P'^P'^'^'^P'^PP'^PP'^P'^PJiJuJ}PKUK[PKUPKUKUPPPKUPMjPMsM}NTMjPKUN^PKUPNeNkPNo! T! r!!]NoNo!!c!!pNoNoNoNo!#U!#[!#_!#d!#g!#q!#w!$T!$g!$m!$w!$}!%k!%q!%w!%}!&X!&_!&e!&k!&q!&w!'Z!'e!'k!'q!'w!(R!(X!(_!(e!(k!(u!({!)V!)]!)f!)l!){!*T!*_!*fPPPPPPPPPPPPPPPPP!*l!*o!*u!+O!+Y!+ePPPPPPPPPPPP!0[!1p!5s!9WPP!9`!9r!9{!:t!:k!:}!;T!;W!;Z!;^!;f!V!>]!>f!>i!>l!>r!>x!?O!?RP!?Z!?d!@`!@c]jOs#v$w*`,p(TeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o}!hQ#r$P$b$q$}%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!P!iQ#r$P$b$q$}%S%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!R!jQ#r$P$b$q$}%S%T%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!T!kQ#r$P$b$q$}%S%T%U%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!V!lQ#r$P$b$q$}%S%T%U%V%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!X!mQ#r$P$b$q$}%S%T%U%V%W%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d!]!mQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1d(TTOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1o&iVOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1o%sXOYZ[isw}!O!S!U!V!Z!n!p#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$VvQ0X/fR1l1n'zeOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oW#ym!P!Q$hW$Rv&q/f1nQ$j!RQ$n!TQ${![Q$|!]W%Z!n(O+O-WS&p$S$TQ'e$vQ)b&jQ)p'QU)q'S)r)sU)t'U)u,ZW){'Y,^-z.vQ*l'nW*m'p-P._/OQ,])zS-O*n*oY-t,U-u.s.t/lQ-w,WQ.U,tQ.Y,wQ.|.Wl/R.c/X/Y/[/w/y0O0g0l0q0v1R1W1ZQ/k.rQ0P/ZQ0^/qQ0i/{U0|0r1P1XX1S0w1T1[1]R&o$R!_!|YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WR%k!{Q#QYQ&W#cQ&Z#gQ&]#jQ&_#mQ&x$^Q&{$aR-l+tT/e.j0p![!oQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dQ&m#zQ't$|R*x'uR'}%ZQ%d!rR0[/o(SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oS#pd#q!P/V.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1](SdOTYZ[fistuwy}!O!S!U!V!W!Z!^!h!i!j!k!l!m!n!p!t!u!v!x!y#P#T#X#Y#c#g#j#m#s#v$X$Y$[$^$a$r$t$u$w%O%[%a%h%k%m%p%t%y%{&V&b&d&o&s&|'O'P'W'Z'_'b'i'l'}(O(R(T(U(Y(_(a(e(i(n(o(u(x)_)a)i)l)x*P*R*V*W*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+l+p+q+t,Q,S,T,[,i,j,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0S0W0p1`1a1b1c1e1f1g1h1i1k1oT#pd#qT#d`#eR)Q&Wy(}&W&Z&]&_)P)Q)T)U)X)Y)])^+y+{+},P-l.p.q/jT+u(|+vR.q-lT#ha#iR)U&ZT#kb#lR)Y&]T#nc#oR)^&_Q$`xQ,]){R,}*mX$^x$_$`&zQ'[$nQ'r${Q'u$|R*_'eQ)|'YV-y,^-z.vZlOs$w*`,pXpOs*`,pQ$x!YQ']$oQ'^$pQ'o$zQ's$|Q*]'dQ*d'iQ*g'jQ*h'kQ*u'qS*w't'uQ,d*RQ,f*SQ,g*TQ,k*ZS,m*^*vQ,q*bQ,r*cS,s*e*fQ-T*xQ-|,cQ-},eQ.P,lS.Q,n,oQ.V,uQ.X,vQ.w.OQ.y.RQ.z.TQ.{.UQ/m.xQ/n.|Q0T/_R0o0UWpOs*`,pR#|oQ'q${S*^'e'rR,o*_Q,|*mR.],}Q*v'qQ,n*^R.R,oZnOos*`,pQ'w$}R*z'xT.a-U.bu/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1Zt/^.c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZQ0P/ZX1S0w1T1[1]!P/U.c/X/Y/Z/[/q/w/y0O0g0l0q0r0v0w1P1R1T1W1X1Z1[1]Q/t/TR0c/ug/w/W/x0_0f0k0y0{0}1Y1^1_u/].c/X/Y/[/q/w/y0O0g0l0q0r0v1P1R1W1X1ZX/r/R/]0^0|R0`/qV1O0r1P1XR0U/_QsOS$Os,pR,p*`Q&r$UR)g&rS%z#W$WS(p%z(sT(s%}&tQ%n#OQ%u#SW(b%n%u(g(kQ(g%rR(k%wQ&}$bR)m&}Q(v&OQ+g(qT+m(v+gQ(P%]R+P(PS(S%`%aY+T(S+U-^.h/cU+U(T(U(VU-^+V+W+XS.h-_-`R/c.iQ#_^R&R#_Q#b_R&T#bQ#e`R&X#eQ(y&US+r(y+sR+s(zQ+v(|R-m+vQ#iaR&[#iQ#lbR&^#lQ#ocR&`#oQ#qdR&a#qQ#tgQ&c#rW&f#t&c)j,RQ)j&wR,R1dQ$_xS&y$_&zR&z$`Q'X$lR)y'XQ&k#yR)c&kQ$h!QR'R$hQ,V)qS-v,V.uR.u-wQ'V$jR)v'VQ,_)|R-{,_Q#wkR&h#wQ*Q']R,b*QQ'`$qS*X'`*YR*Y'aQ'h$xR*a'hQ'm$yS*k'm,zR,z*lQ-Q*qR.`-QWoOs*`,pR#{oQ.b-UR/P.bd/x/W0_0f0k0y0{0}1Y1^1_R0e/xU/p/R0^0|R0]/pQ0x0kS1U0x1VR1V0yS0s0_0`R1Q0sQ/z/WR0h/zR!`PXrOs*`,pWqOs*`,pR'f$wYkOs$w*`,pR&g#v[xOs#v$w*`,pR&x$^&hQOYZ[isuw}!O!S!U!V!Z!n!p!t!u!v!x!y#c#g#j#m#s#v$Y$[$^$a$u$w%[%a%h%k%m%t%y%{&V&b&o&s'O'P'W'Z'b'i'l'}(O(R(T(U(Y(a(i(o(u(x)_)a)i)x*P*R*[*`*f*j*t+O+R+S+V+]+^+`+b+e+f+i+p+q+t,Q,T,[,p,x,y,|-W-X-Y-[-]-`-b-d-f-h-j-k-r.Z.].d.g.j/a/b0W0p1`1a1b1c1e1f1g1h1k1oQ!sTQ#rfQ$PtU$by%p(eS$q!W$tQ$}!^Q%S!hQ%T!iQ%U!jQ%V!kQ%W!lQ%X!mQ%r#PQ%w#TQ%}#XQ&O#YQ&t$XQ'a$rQ'x%OQ)`&dU)k&|)l,SW*U'_*W,i,jQ+Z(_Q+d(nQ,h*VQ-g+lQ0n0SR1d1iQ#OYQ#SZQ$o!UQ$p!VQ%`!pQ(V%a^(^%m%t(a(i+]+`+b^+Q(R+S-[-].g/b0WQ+W(TQ+X(UQ,e*RQ-Z+RQ-_+VQ.e-XQ.f-YQ.i-`Q/`.dR0V/a[gOs#v$w*`,p!^!{YZ!U!V!p%a%m%t(R(T(U(a(i*R+R+S+V+]+`+b-X-Y-[-]-`.d.g/a/b0WQ#W[Q#uiS$Ww}Q$e!OW$l!S$a'b*[S$y!Z$uW%Y!n(O+O-WY&U#c#g#j#m+t`&e#s&b)_)a)i,Q-r1hQ&u$YQ&v$[Q&w$^Q'{%[Q(]%kW(m%y(o+e+iQ(q%{Q(z&VQ)e&oS)h&s1fQ)n'OQ)o'PU)w'W)x,[Q*O'ZQ*e'iY*i'l*j,x,y.ZQ*|'}S+Y(Y1gW+k(u+f-d-hW+o(x+q-j-kQ,a*PQ,u*fQ-S*tQ-i+pQ-s,TQ.[,|Q.m-fR.}.]hUOs#s#v$w&b&s(Y)_)a*`,p%Y!zYZ[iw}!O!S!U!V!Z!n!p#c#g#j#m$Y$[$^$a$u%[%a%k%m%t%y%{&V&o'O'P'W'Z'b'i'l'}(O(R(T(U(a(i(o(u(x)i)x*P*R*[*f*j*t+O+R+S+V+]+`+b+e+f+i+p+q+t,Q,T,[,x,y,|-W-X-Y-[-]-`-d-f-h-j-k-r.Z.].d.g/a/b0W1f1g1hQ$QuW%e!t!x1a1kQ%f!uQ%g!vQ%i!yQ%s1`S(X%h1eQ(Z1bQ([1cQ-a+^Q.l-bS/d.j0pR1m1oU$Uv/f1nR)f&q[hOs#v$w*`,pa!}Y#c#g#j#m$^$a+tQ#][Q$ZwR$d}Q%o#OQ%v#SQ%|#WQ'{%YQ(h%rQ(l%wQ(t%}Q(w&OQ+h(qQ-V*|Q.k-aQ/h.lR0Y/gQ$cyQ(d%pR+_(eQ/g.jR0z0pR#VZR#[[R%_!nQ%]!nV*}(O+O-W!]!qQ!s#r$P$b$q$}%S%T%U%V%W%X%r%w%}&O&t'a'x)`)k*U+Z+d,h-g0n1dR%b!pQ&W#cQ&Z#gQ&]#jQ&_#mR-l+tQ)O&WQ)S&ZQ)W&]Q)[&_S+x)P)QS+z)T)US+|)X)YS,O)])^Q-n+yQ-o+{Q-p+}Q-q,PQ.o-lS/i.p.qR0Z/jQ$m!SQ&{$aQ*Z'bR,l*[Q#zmQ$f!PQ$i!QR'T$hQ)p'SR,Y)sQ)p'SQ,X)rR,Y)sR$k!RR)}'YXqOs*`,pQ$s!WR'c$tQ$z!ZR'd$uR*s'pQ*q'pV.^-P._/OQ/_.cQ/|/XR/}/YU/W.c/X/YQ0R/[Q0_/qQ0d/wU0f/y0g0vQ0k0OQ0y0lQ0{0qU0}0r1P1XQ1Y1RQ1^1WR1_1ZR0Q/ZR0a/q",nodeNames:"⚠ print { { { { Comment Script AssignStatement * BinaryExpression BitOp BitOp BitOp BitOp ArithOp ArithOp @ ArithOp ** UnaryExpression ArithOp BitOp AwaitExpression await ) ( ParenthesizedExpression BinaryExpression or and CompareOp in not is UnaryExpression ConditionalExpression if else LambdaExpression lambda ParamList VariableName AssignOp , : NamedExpression AssignOp YieldExpression yield from TupleExpression ComprehensionExpression async for LambdaExpression ] [ ArrayExpression ArrayComprehensionExpression } { DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression CallExpression ArgList AssignOp MemberExpression . PropertyName Number String FormatString FormatReplacement FormatSelfDoc FormatConversion FormatSpec FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc FormatReplacement FormatSelfDoc ContinuedString Ellipsis None Boolean TypeDef AssignOp UpdateStatement UpdateOp ExpressionStatement DeleteStatement del PassStatement pass BreakStatement break ContinueStatement continue ReturnStatement return YieldStatement PrintStatement RaiseStatement raise ImportStatement import as ScopeStatement global nonlocal AssertStatement assert TypeDefinition type TypeParamList TypeParam StatementGroup ; IfStatement Body elif WhileStatement while ForStatement TryStatement try except finally WithStatement with FunctionDefinition def ParamList AssignOp TypeDef ClassDefinition class DecoratedStatement Decorator At MatchStatement match MatchBody MatchClause case CapturePattern LiteralPattern ArithOp ArithOp AsPattern OrPattern LogicOp AttributePattern SequencePattern MappingPattern StarPattern ClassPattern PatternArgList KeywordPattern KeywordPattern Guard",maxTerm:288,context:UO,nodeProps:[["isolate",-8,6,73,74,75,79,81,83,85,""],["group",-15,8,93,95,96,98,100,102,104,106,107,108,110,113,116,118,"Statement Statement",-22,10,20,23,27,42,51,52,58,59,62,63,64,65,66,69,72,73,74,87,88,89,90,"Expression",-10,122,124,127,129,130,134,136,141,143,146,"Statement",-9,151,152,155,156,158,159,160,161,162,"Pattern"],["openedBy",25,"(",56,"[",60,"{"],["closedBy",26,")",57,"]",61,"}"]],propSources:[NO],skippedNodes:[0,6],repeatNodeCount:38,tokenData:"%-W#sR!`OX%TXY=|Y[%T[]=|]p%Tpq=|qr@_rsDOst!+|tu%Tuv!Nnvw#!|wx#$Wxy#:Uyz#;Yz{#<^{|#>x|}#@S}!O#AW!O!P#Ci!P!Q#N_!Q!R$!y!R![$&w![!]$1e!]!^$3s!^!_$4w!_!`$7c!`!a$8m!a!b%T!b!c$;U!c!d$W!e!h$W#V#Y$Q<%lO$Xc&w!b&oS&rW%u!TOX%TXY=|Y[%T[]=|]p%Tpq=|qr%Trs&Vsw%Twx/Xx#O%T#O#P?d#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#s?i[&w!bOY%TYZ=|Z]%T]^=|^#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=P;=`<%l8^<%lO%T!q@hd&w!b&oS&rWOr%Trs&Vsw%Twx/Xx!_%T!_!`Av!`#O%T#O#P7o#P#T%T#T#UBz#U#f%T#f#gBz#g#hBz#h#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qBR]oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T!qCV]!oR&w!b&oS&rWOr%Trs&Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cDXa&w!b&oS&msOYE^YZ%TZ]E^]^%T^rE^rs!)|swE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cEia&w!b&oS&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxGpx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cFw]&w!b&oS&msOr%Trs'Vsw%Twx/Xx#O%T#O#P7o#P#o%T#o#p8^#p#q%T#q#r8^#r;'S%T;'S;=`=v<%lO%T#cGya&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxIOx#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#cIXa&w!b&rW&msOYE^YZ%TZ]E^]^%T^rE^rsFnswE^wxJ^x#OE^#O#P!!u#P#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!)v<%lOE^#_Jg_&w!b&rW&msOYJ^YZ1XZ]J^]^1X^rJ^rsKfs#OJ^#O#PL`#P#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`!!o<%lOJ^#_KmZ&w!b&msOr1Xrs2ys#O1X#O#P3q#P#o1X#o#p4`#p#q1X#q#r4`#r;'S1X;'S;=`7i<%lO1X#_LeW&w!bO#oJ^#o#pL}#p#qJ^#q#rL}#r;'SJ^;'S;=`! r;=`<%lL}<%lOJ^{MUZ&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l<%lOL}{M|V&msOr4`rs5ds#O4`#O#P5y#P;'S4`;'S;=`6t<%lO4`{NfRO;'SL};'S;=`No;=`OL}{Nv[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lL}<%lOL}{! oP;=`<%lL}#_! y[&rW&msOYL}YZ4`Z]L}]^4`^rL}rsMws#OL}#O#PNc#P;'SL};'S;=`! l;=`<%lJ^<%lOL}#_!!rP;=`<%lJ^#c!!zW&w!bO#oE^#o#p!#d#p#qE^#q#r!#d#r;'SE^;'S;=`!(q;=`<%l!#d<%lOE^!P!#m]&oS&rW&msOY!#dYZ8^Z]!#d]^8^^r!#drs!$fsw!#dwx!%Yx#O!#d#O#P!'Y#P;'S!#d;'S;=`!(k<%lO!#d!P!$mX&oS&msOr8^rs9rsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`^s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!>e_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!?ds#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!?k_U!T&w!bOY!=UYZ1XZ]!=U]^1X^r!=Urs!3`s#O!=U#O#P!@j#P#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!FQ<%lO!=U#o!@q[U!T&w!bOY!=UYZ1XZ]!=U]^1X^#o!=U#o#p!Ag#p#q!=U#q#r!Ag#r;'S!=U;'S;=`!Ec;=`<%l4`<%lO!=U!]!AnZU!T&rWOY!AgYZ4`Z]!Ag]^4`^r!Agrs!Bas#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!BfZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!CXs#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!C^ZU!TOY!AgYZ4`Z]!Ag]^4`^r!Agrs!4Ys#O!Ag#O#P!DP#P;'S!Ag;'S;=`!E]<%lO!Ag!]!DUWU!TOY!AgYZ4`Z]!Ag]^4`^;'S!Ag;'S;=`!Dn;=`<%l4`<%lO!Ag!]!DsW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!Ag<%lO4`!]!E`P;=`<%l!Ag#o!EhW&rWOr4`rs4zs#O4`#O#P5y#P;'S4`;'S;=`6t;=`<%l!=U<%lO4`#o!FTP;=`<%l!=U#s!F_[U!T&w!bOY!+|YZ%TZ]!+|]^%T^#o!+|#o#p!GT#p#q!+|#q#r!GT#r;'S!+|;'S;=`!Mq;=`<%l8^<%lO!+|!a!G^]U!T&oS&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!H^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!IVsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!I^]U!T&oSOY!GTYZ8^Z]!GT]^8^^r!GTrs!5wsw!GTwx!JVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!J^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!KVx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!K^]U!T&rWOY!GTYZ8^Z]!GT]^8^^r!GTrs!HVsw!GTwx!Agx#O!GT#O#P!LV#P;'S!GT;'S;=`!Mk<%lO!GT!a!L[WU!TOY!GTYZ8^Z]!GT]^8^^;'S!GT;'S;=`!Lt;=`<%l8^<%lO!GT!a!L{Y&oS&rWOr8^rs9Qsw8^wx:dx#O8^#O#P;v#P;'S8^;'S;=`Q<%lO$TP;=`<%l$ei&w!b&oS&rW&l`&XsOr%Trs$@Ssw%Twx$C`x!Q%T!Q![$Q<%lO$Q<%lO$Q<%lO$Q<%lO$Q<%lO$CO[O]||-1}],tokenPrec:7500}),f=new D,W=new Set(["Script","Body","FunctionDefinition","ClassDefinition","LambdaExpression","ForStatement","MatchClause"]);function n(O){return(r,o,a)=>{if(a)return!1;let e=r.node.getChild("VariableName");return e&&o(e,O),!0}}const LO={FunctionDefinition:n("function"),ClassDefinition:n("class"),ForStatement(O,r,o){if(o){for(let a=O.node.firstChild;a;a=a.nextSibling)if(a.name=="VariableName")r(a,"variable");else if(a.name=="in")break}},ImportStatement(O,r){var o,a;let{node:e}=O,Q=((o=e.firstChild)===null||o===void 0?void 0:o.name)=="from";for(let x=e.getChild("import");x;x=x.nextSibling)x.name=="VariableName"&&((a=x.nextSibling)===null||a===void 0?void 0:a.name)!="as"&&r(x,Q?"variable":"namespace")},AssignStatement(O,r){for(let o=O.node.firstChild;o;o=o.nextSibling)if(o.name=="VariableName")r(o,"variable");else if(o.name==":"||o.name=="AssignOp")break},ParamList(O,r){for(let o=null,a=O.node.firstChild;a;a=a.nextSibling)a.name=="VariableName"&&(!o||!/\*|AssignOp/.test(o.name))&&r(a,"variable"),o=a},CapturePattern:n("variable"),AsPattern:n("variable"),__proto__:null};function V(O,r){let o=f.get(r);if(o)return o;let a=[],e=!0;function Q(x,s){let h=O.sliceString(x.from,x.to);a.push({label:h,type:s})}return r.cursor(N.IncludeAnonymous).iterate(x=>{if(x.name){let s=LO[x.name];if(s&&s(x,Q,e)||!e&&W.has(x.name))return!1;e=!1}else if(x.to-x.from>8192){for(let s of V(O,x.node))a.push(s);return!1}}),f.set(r,a),a}const b=/^[\w\xa1-\uffff][\w\d\xa1-\uffff]*$/,g=["String","FormatString","Comment","PropertyName"];function HO(O){let r=_(O.state).resolveInner(O.pos,-1);if(g.indexOf(r.name)>-1)return null;let o=r.name=="VariableName"||r.to-r.from<20&&b.test(O.state.sliceDoc(r.from,r.to));if(!o&&!O.explicit)return null;let a=[];for(let e=r;e;e=e.parent)W.has(e.name)&&(a=a.concat(V(O.state.doc,e)));return{options:a,from:o?r.from:O.pos,validFor:b}}const JO=["__annotations__","__builtins__","__debug__","__doc__","__import__","__name__","__loader__","__package__","__spec__","False","None","True"].map(O=>({label:O,type:"constant"})).concat(["ArithmeticError","AssertionError","AttributeError","BaseException","BlockingIOError","BrokenPipeError","BufferError","BytesWarning","ChildProcessError","ConnectionAbortedError","ConnectionError","ConnectionRefusedError","ConnectionResetError","DeprecationWarning","EOFError","Ellipsis","EncodingWarning","EnvironmentError","Exception","FileExistsError","FileNotFoundError","FloatingPointError","FutureWarning","GeneratorExit","IOError","ImportError","ImportWarning","IndentationError","IndexError","InterruptedError","IsADirectoryError","KeyError","KeyboardInterrupt","LookupError","MemoryError","ModuleNotFoundError","NameError","NotADirectoryError","NotImplemented","NotImplementedError","OSError","OverflowError","PendingDeprecationWarning","PermissionError","ProcessLookupError","RecursionError","ReferenceError","ResourceWarning","RuntimeError","RuntimeWarning","StopAsyncIteration","StopIteration","SyntaxError","SyntaxWarning","SystemError","SystemExit","TabError","TimeoutError","TypeError","UnboundLocalError","UnicodeDecodeError","UnicodeEncodeError","UnicodeError","UnicodeTranslateError","UnicodeWarning","UserWarning","ValueError","Warning","ZeroDivisionError"].map(O=>({label:O,type:"type"}))).concat(["bool","bytearray","bytes","classmethod","complex","float","frozenset","int","list","map","memoryview","object","range","set","staticmethod","str","super","tuple","type"].map(O=>({label:O,type:"class"}))).concat(["abs","aiter","all","anext","any","ascii","bin","breakpoint","callable","chr","compile","delattr","dict","dir","divmod","enumerate","eval","exec","exit","filter","format","getattr","globals","hasattr","hash","help","hex","id","input","isinstance","issubclass","iter","len","license","locals","max","min","next","oct","open","ord","pow","print","property","quit","repr","reversed","round","setattr","slice","sorted","sum","vars","zip"].map(O=>({label:O,type:"function"}))),BO=[S("def ${name}(${params}):\n ${}",{label:"def",detail:"function",type:"keyword"}),S("for ${name} in ${collection}:\n ${}",{label:"for",detail:"loop",type:"keyword"}),S("while ${}:\n ${}",{label:"while",detail:"loop",type:"keyword"}),S("try:\n ${}\nexcept ${error}:\n ${}",{label:"try",detail:"/ except block",type:"keyword"}),S(`if \${}: `,{label:"if",detail:"block",type:"keyword"}),S("if ${}:\n ${}\nelse:\n ${}",{label:"if",detail:"/ else block",type:"keyword"}),S("class ${name}:\n def __init__(self, ${params}):\n ${}",{label:"class",detail:"definition",type:"keyword"}),S("import ${module}",{label:"import",detail:"statement",type:"keyword"}),S("from ${module} import ${names}",{label:"from",detail:"import",type:"keyword"})],MO=U(g,C(JO.concat(BO)));function v(O,r){let o=O.baseIndentFor(r),a=O.lineAt(O.pos,-1),e=a.from+a.text.length;return/^\s*($|#)/.test(a.text)&&O.node.too?null:o+O.unit}const X=z.define({name:"python",parser:DO.configure({props:[j.add({Body:O=>{var r;return(r=v(O,O.node))!==null&&r!==void 0?r:O.continue()},IfStatement:O=>/^\s*(else:|elif )/.test(O.textAfter)?O.baseIndent:O.continue(),TryStatement:O=>/^\s*(except |finally:|else:)/.test(O.textAfter)?O.baseIndent:O.continue(),"TupleExpression ComprehensionExpression ParamList ArgList ParenthesizedExpression":$({closing:")"}),"DictionaryExpression DictionaryComprehensionExpression SetExpression SetComprehensionExpression":$({closing:"}"}),"ArrayExpression ArrayComprehensionExpression":$({closing:"]"}),"String FormatString":()=>null,Script:O=>{if(O.pos+/\s*/.exec(O.textAfter)[0].length>=O.node.to){let r=null;for(let o=O.node,a=o.to;o=o.lastChild,!(!o||o.to!=a);)o.type.name=="Body"&&(r=o);if(r){let o=v(O,r);if(o!=null)return o}}return O.continue()}}),A.add({"ArrayExpression DictionaryExpression SetExpression TupleExpression":F,Body:(O,r)=>({from:O.from+1,to:O.to-(O.to==r.doc.length?0:1)})})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"'''",'"""'],stringPrefixes:["f","fr","rf","r","u","b","br","rb","F","FR","RF","R","U","B","BR","RB"]},commentTokens:{line:"#"},indentOnInput:/^\s*([\}\]\)]|else:|elif |except |finally:)$/}});function rr(){return new I(X,[X.data.of({autocomplete:HO}),X.data.of({autocomplete:MO})])}export{MO as globalCompletion,HO as localCompletionSource,rr as python,X as pythonLanguage}; diff --git a/public/admin/assets/index-CFd9RQbU.js b/AIWebQuickDeploy/public/admin/assets/index-eP4h4BlF.js similarity index 82% rename from public/admin/assets/index-CFd9RQbU.js rename to AIWebQuickDeploy/public/admin/assets/index-eP4h4BlF.js index 5637a91..2cf4a76 100644 --- a/public/admin/assets/index-CFd9RQbU.js +++ b/AIWebQuickDeploy/public/admin/assets/index-eP4h4BlF.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as M,N as C,u as k,a8 as x,r as l,a as y,X as B,g as r,c as i,b as u,i as e,Q as t,e as p,w as R,F as H,s as N,ad as T,y as S,M as w,A as $,j,l as z}from"./index-nGFMSQGw.js";import{u as V}from"./index-CyI3Kccs.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-rI-Pc7n4.js";import"./sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js";import"./item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js";const O=M({name:"SubSidebar",__name:"index",setup(q){const f=C(),s=k(),c=x(),n=l(),b=l(!1),g=l(!1);function d(){const o=n.value.scrollTop;b.value=o>0;const a=n.value.clientHeight,m=n.value.scrollHeight;g.value=Math.ceil(o+a){d();const{height:o}=V(h);B(()=>o.value,()=>{o.value>0&&d()},{immediate:!0})}),(o,a)=>{const m=j;return r(),i("div",{class:t(["sub-sidebar-container",{"is-collapse":e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse}])},[u(E,{"show-logo":e(s).settings.menu.menuMode==="single",class:t(["sidebar-logo",{"sidebar-logo-bg":e(s).settings.menu.menuMode==="single"}])},null,8,["show-logo","class"]),p("div",{ref_key:"subSidebarRef",ref:n,class:t(["sub-sidebar flex-1 transition-shadow-300",{"shadow-top":e(b),"shadow-bottom":e(g)}]),onScroll:d},[p("div",{ref_key:"menuRef",ref:h},[u(T,{name:"sub-sidebar"},{default:R(()=>[(r(!0),i(H,null,N(e(c).allMenus,(v,_)=>S((r(),i("div",{key:_},[u(F,{menu:v.children,value:e(f).meta.activeMenu||e(f).path,"default-openeds":e(c).defaultOpenedPaths,accordion:e(s).settings.menu.subMenuUniqueOpened,collapse:e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse,class:"menu"},null,8,["menu","value","default-openeds","accordion","collapse"])],512)),[[w,_===e(c).actived]])),128))]),_:1})],512)],34),e(s).mode==="pc"?(r(),i("div",{key:0,class:t(["relative flex items-center px-4 py-3",[e(s).settings.menu.subMenuCollapse?"justify-center":"justify-end"]])},[S(p("span",{class:t(["flex-center cursor-pointer rounded bg-stone-1 p-2 transition dark-bg-stone-9 hover-bg-stone-2 dark-hover-bg-stone-8",{"-rotate-z-180":e(s).settings.menu.subMenuCollapse}]),onClick:a[0]||(a[0]=v=>e(s).toggleSidebarCollapse())},[u(m,{name:"toolbar-collapse"})],2),[[w,e(s).settings.menu.enableSubMenuCollapseButton]])],2)):$("",!0)],2)}}}),U=z(O,[["__scopeId","data-v-61f98f34"]]);export{U as default}; +import{d as M,N as C,u as k,a8 as x,r as l,a as y,X as B,g as r,c as i,b as u,i as e,Q as t,e as p,w as R,F as H,s as N,ad as T,y as S,M as w,A as $,j,l as z}from"./index-6QRvoxq4.js";import{u as V}from"./index-B0yaT7Pj.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-CJnFI54p.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-zXZwbW_j.js";import"./sub.vue_vue_type_script_setup_true_lang-6LQFZuiJ.js";import"./item.vue_vue_type_script_setup_true_lang-C02ico3V.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js";const O=M({name:"SubSidebar",__name:"index",setup(q){const f=C(),s=k(),c=x(),n=l(),b=l(!1),g=l(!1);function d(){const o=n.value.scrollTop;b.value=o>0;const a=n.value.clientHeight,m=n.value.scrollHeight;g.value=Math.ceil(o+a){d();const{height:o}=V(h);B(()=>o.value,()=>{o.value>0&&d()},{immediate:!0})}),(o,a)=>{const m=j;return r(),i("div",{class:t(["sub-sidebar-container",{"is-collapse":e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse}])},[u(E,{"show-logo":e(s).settings.menu.menuMode==="single",class:t(["sidebar-logo",{"sidebar-logo-bg":e(s).settings.menu.menuMode==="single"}])},null,8,["show-logo","class"]),p("div",{ref_key:"subSidebarRef",ref:n,class:t(["sub-sidebar flex-1 transition-shadow-300",{"shadow-top":e(b),"shadow-bottom":e(g)}]),onScroll:d},[p("div",{ref_key:"menuRef",ref:h},[u(T,{name:"sub-sidebar"},{default:R(()=>[(r(!0),i(H,null,N(e(c).allMenus,(v,_)=>S((r(),i("div",{key:_},[u(F,{menu:v.children,value:e(f).meta.activeMenu||e(f).path,"default-openeds":e(c).defaultOpenedPaths,accordion:e(s).settings.menu.subMenuUniqueOpened,collapse:e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse,class:"menu"},null,8,["menu","value","default-openeds","accordion","collapse"])],512)),[[w,_===e(c).actived]])),128))]),_:1})],512)],34),e(s).mode==="pc"?(r(),i("div",{key:0,class:t(["relative flex items-center px-4 py-3",[e(s).settings.menu.subMenuCollapse?"justify-center":"justify-end"]])},[S(p("span",{class:t(["flex-center cursor-pointer rounded bg-stone-1 p-2 transition dark-bg-stone-9 hover-bg-stone-2 dark-hover-bg-stone-8",{"-rotate-z-180":e(s).settings.menu.subMenuCollapse}]),onClick:a[0]||(a[0]=v=>e(s).toggleSidebarCollapse())},[u(m,{name:"toolbar-collapse"})],2),[[w,e(s).settings.menu.enableSubMenuCollapseButton]])],2)):$("",!0)],2)}}}),U=z(O,[["__scopeId","data-v-61f98f34"]]);export{U as default}; diff --git a/public/admin/assets/index-eqjq1fUS.css b/AIWebQuickDeploy/public/admin/assets/index-eqjq1fUS.css similarity index 100% rename from public/admin/assets/index-eqjq1fUS.css rename to AIWebQuickDeploy/public/admin/assets/index-eqjq1fUS.css diff --git a/public/admin/assets/index-C_igUakG.js b/AIWebQuickDeploy/public/admin/assets/index-kG79ZC54.js similarity index 74% rename from public/admin/assets/index-C_igUakG.js rename to AIWebQuickDeploy/public/admin/assets/index-kG79ZC54.js index 483f944..7bf10ef 100644 --- a/public/admin/assets/index-C_igUakG.js +++ b/AIWebQuickDeploy/public/admin/assets/index-kG79ZC54.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-BJqXE6JQ.js";import"./index-nGFMSQGw.js";export{m as default}; +import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-Bugv63mj.js";import"./index-6QRvoxq4.js";export{m as default}; diff --git a/public/admin/assets/index-matkXqi_.css b/AIWebQuickDeploy/public/admin/assets/index-matkXqi_.css similarity index 100% rename from public/admin/assets/index-matkXqi_.css rename to AIWebQuickDeploy/public/admin/assets/index-matkXqi_.css diff --git a/public/admin/assets/index-ucei9Tgm.css b/AIWebQuickDeploy/public/admin/assets/index-ucei9Tgm.css similarity index 100% rename from public/admin/assets/index-ucei9Tgm.css rename to AIWebQuickDeploy/public/admin/assets/index-ucei9Tgm.css diff --git a/AIWebQuickDeploy/public/admin/assets/index-wNqALqIp.js b/AIWebQuickDeploy/public/admin/assets/index-wNqALqIp.js new file mode 100644 index 0000000..f19db48 --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/index-wNqALqIp.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-zXZwbW_j.js";import"./sub.vue_vue_type_script_setup_true_lang-6LQFZuiJ.js";import"./index-6QRvoxq4.js";import"./item.vue_vue_type_script_setup_true_lang-C02ico3V.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js";export{o as default}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js similarity index 74% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js index 79ad21b..b1b3cd1 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as a,g as r,c as s,b as t,i as c,j as i}from"./index-nGFMSQGw.js";import{u as m}from"./useMainPage-C9MASyfo.js";const d=a({name:"PageReload",__name:"index",setup(p){const n=m();return(_,e)=>{const o=i;return r(),s("span",{class:"flex-center cursor-pointer px-2 py-1",onClick:e[0]||(e[0]=l=>c(n).reload())},[t(o,{name:"i-iconoir:refresh-double"})])}}});export{d as _}; +import{d as a,g as r,c as s,b as t,i as c,j as i}from"./index-6QRvoxq4.js";import{u as m}from"./useMainPage--yVtHxDh.js";const d=a({name:"PageReload",__name:"index",setup(p){const n=m();return(_,e)=>{const o=i;return r(),s("span",{class:"flex-center cursor-pointer px-2 py-1",onClick:e[0]||(e[0]=l=>c(n).reload())},[t(o,{name:"i-iconoir:refresh-double"})])}}});export{d as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-zkYlqh7B.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BGlBKwum.js similarity index 96% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-zkYlqh7B.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BGlBKwum.js index a771f19..198d6a1 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-zkYlqh7B.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BGlBKwum.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import se from"./HKbd-By3ZrrUU.js";import{d as ne,r as h,n as K,f as le,u as oe,a8 as re,ae as ie,X as U,a as ue,af as N,a9 as _,ag as J,g as f,z as S,w as u,b as r,i as n,ah as P,ai as A,e as i,aj as ce,y as de,ak as fe,D as pe,v as T,x as F,al as ve,am as he,c as b,s as G,F as O,h as Q,A as R,an as _e,ao as me,ap as ge,j as xe,Q as X,t as Y}from"./index-nGFMSQGw.js";import ye from"./index-CeCYhShg.js";import{_ as be}from"./item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js";const ke=i("div",{class:"fixed inset-0 bg-stone-200/75 backdrop-blur-sm transition-opacity dark-bg-stone-8/75"},null,-1),we={class:"fixed inset-0"},Se={class:"h-full flex items-end justify-center p-4 text-center lg-items-center"},Te={class:"flex flex-col overflow-y-auto rounded-xl bg-white shadow-xl dark-bg-stone-8"},Re={class:"flex items-center px-4 py-3","border-b":"~ solid stone-2 dark-stone-7"},Ce=["onKeydown"],He=["data-index","onClick","onMouseover"],Ie={class:"flex flex-1 flex-col gap-1 truncate px-4 py-3","border-l":"~ solid stone-2 dark-stone-7"},ze={class:"truncate text-base font-bold"},De={key:1,flex:"center col","py-6":"","text-stone-5":""},Be=i("p",{"m-2":"","text-base":""}," 没有找到你想要的 ",-1),Me={key:0,class:"flex justify-between px-4 py-3","border-t":"~ solid stone-2 dark-stone-7"},Ne={class:"flex gap-8"},Fe={class:"inline-flex items-center gap-1 text-xs"},Le=i("span",null,"访问",-1),$e={class:"inline-flex items-center gap-1 text-xs"},Ee=i("span",null,"切换",-1),Ve={key:0,class:"inline-flex items-center gap-1 text-xs"},je=i("span",null,"退出",-1),Ge=ne({name:"Search",__name:"index",setup(Ke){const q=h({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),W=K(()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterTo:"opacity-100 translate-y-0 lg-scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 lg-scale-100",leaveTo:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"})),Z=le(),x=oe(),ee=re(),p=h(!1),v=h(""),C=h([]),o=h(-1),L=h(),H=h(),k=h([]);ie(()=>{k.value=[]});const m=K(()=>{let a=[];return a=C.value.filter(t=>{let s=!1;return t.title&&(typeof t.title=="function"?t.title().includes(v.value)&&(s=!0):t.title.includes(v.value)&&(s=!0)),t.path.includes(v.value)&&(s=!0),t.breadcrumb.some(l=>{var e;if(typeof l.title=="function"){if(l.title().includes(v.value))return!0}else if((e=l.title)!=null&&e.includes(v.value))return!0;return!1})&&(s=!0),s}),a});U(()=>p.value,a=>{a?(v.value="",o.value=-1,_("up",z),_("down",D),_("enter",B)):(_.unbind("up",z),_.unbind("down",D),_.unbind("enter",B))}),U(()=>m.value,()=>{o.value=-1,M()}),ue(()=>{N.on("global-search-toggle",()=>{p.value||I(),p.value=!p.value}),_("alt+s",a=>{x.settings.toolbar.navSearch&&x.settings.navSearch.enableHotkeys&&(a.preventDefault(),I(),p.value=!0)}),_("esc",a=>{x.settings.toolbar.navSearch&&x.settings.navSearch.enableHotkeys&&(a.preventDefault(),p.value=!1)}),I()});function I(){C.value=[],ee.allMenus.forEach(a=>{$(a.children)})}function te(a){var s;let t=!0;return(s=a.children)!=null&&s.every(l=>{var e;return((e=l.meta)==null?void 0:e.menu)===!1})&&(t=!1),t}function $(a,t,s,l){a.forEach(e=>{var d,c,g,y,E,V,j;if(((d=e.meta)==null?void 0:d.menu)!==!1){const w=ge(l)||[];e.children&&te(e)?(w.push({title:(c=e.meta)==null?void 0:c.title}),$(e.children,J(t,e.path),((g=e.meta)==null?void 0:g.icon)??s,w)):(w.push({title:(y=e.meta)==null?void 0:y.title}),C.value.push({path:J(t,e.path),icon:((E=e.meta)==null?void 0:E.icon)??s,title:(V=e.meta)==null?void 0:V.title,link:(j=e.meta)==null?void 0:j.link,breadcrumb:w}))}})}function z(){m.value.length&&(o.value-=1,o.value<0&&(o.value=m.value.length-1),M())}function D(){m.value.length&&(o.value+=1,o.value>m.value.length-1&&(o.value=0),M())}function B(){var a;o.value!==-1&&((a=k.value.find(t=>Number.parseInt(t.dataset.index)===o.value))==null||a.click())}function M(){var a,t;if(H.value){const s=H.value.osInstance().elements().content;let l=0;if(o.value!==-1){l=s.scrollTop;const e=((a=k.value.find(y=>Number.parseInt(y.dataset.index)===o.value))==null?void 0:a.offsetTop)??0,d=((t=k.value.find(y=>Number.parseInt(y.dataset.index)===o.value))==null?void 0:t.clientHeight)??0,c=s.scrollTop,g=s.clientHeight;e+d>c+g?l=e+d-g:e<=c&&(l=e)}s.scrollTo({top:l})}}function ae(a,t){t?window.open(t,"_blank"):Z.push(a),p.value=!1}return(a,t)=>{const s=xe,l=se;return f(),S(n(me),{as:"template",show:n(p)},{default:u(()=>[r(n(_e),{"initial-focus":n(L),class:"fixed inset-0 z-2000 flex",onClose:t[2]||(t[2]=e=>n(p)&&n(N).emit("global-search-toggle"))},{default:u(()=>[r(n(P),A({as:"template"},n(q)),{default:u(()=>[ke]),_:1},16),i("div",we,[i("div",Se,[r(n(P),A({as:"template"},n(W)),{default:u(()=>[r(n(ce),{class:"relative h-full max-h-4/5 w-full flex flex-col text-left lg-max-w-2xl"},{default:u(()=>[i("div",Te,[i("div",Re,[r(s,{name:"i-ep:search",size:18,class:"text-stone-5"}),de(i("input",{ref_key:"searchInputRef",ref:L,"onUpdate:modelValue":t[0]||(t[0]=e=>pe(v)?v.value=e:null),placeholder:"搜索页面,支持标题、URL模糊查询",class:"w-full border-0 rounded-md bg-transparent px-3 text-base text-dark dark-text-white focus-outline-none placeholder-stone-4 dark-placeholder-stone-5",onKeydown:[t[1]||(t[1]=T(e=>n(N).emit("global-search-toggle"),["esc"])),T(F(z,["prevent"]),["up"]),T(F(D,["prevent"]),["down"]),T(F(B,["prevent"]),["enter"])]},null,40,Ce),[[fe,n(v)]])]),r(n(ve),{class:"relative m-0 of-y-hidden"},{default:u(()=>[r(n(he),{ref_key:"searchResultRef",ref:H,options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full"},{default:u(()=>[n(m).length>0?(f(!0),b(O,{key:0},G(n(m),(e,d)=>(f(),b("a",{ref_for:!0,ref_key:"searchResultItemRef",ref:k,key:e.path,class:X(["flex cursor-pointer items-center",{"bg-stone-2/40 dark-bg-stone-7/40":d===n(o)}]),"data-index":d,onClick:c=>ae(e.path,e.link),onMouseover:c=>o.value=d},[e.icon?(f(),S(s,{key:0,name:e.icon,size:20,class:X(["basis-16 transition",{"scale-120 text-ui-primary":d===n(o)}])},null,8,["name","class"])):R("",!0),i("div",Ie,[i("div",ze,Y((typeof e.title=="function"?e.title():e.title)??"[ 无标题 ]"),1),e.breadcrumb.length?(f(),S(ye,{key:0,class:"truncate"},{default:u(()=>[(f(!0),b(O,null,G(e.breadcrumb,(c,g)=>(f(),S(be,{key:g,class:"text-xs"},{default:u(()=>[Q(Y((typeof c.title=="function"?c.title():c.title)??"[ 无标题 ]"),1)]),_:2},1024))),128))]),_:2},1024)):R("",!0)])],42,He))),128)):(f(),b("div",De,[r(s,{name:"i-tabler:mood-empty",size:40}),Be]))]),_:1},512)]),_:1}),n(x).mode==="pc"?(f(),b("div",Me,[i("div",Ne,[i("div",Fe,[r(l,null,{default:u(()=>[r(s,{name:"i-ion:md-return-left",size:14})]),_:1}),Le]),i("div",$e,[r(l,null,{default:u(()=>[r(s,{name:"i-ant-design:caret-up-filled",size:14})]),_:1}),r(l,null,{default:u(()=>[r(s,{name:"i-ant-design:caret-down-filled",size:14})]),_:1}),Ee])]),n(x).settings.navSearch.enableHotkeys?(f(),b("div",Ve,[r(l,null,{default:u(()=>[Q(" ESC ")]),_:1}),je])):R("",!0)])):R("",!0)])]),_:1})]),_:1},16)])])]),_:1},8,["initial-focus"])]),_:1},8,["show"])}}});export{Ge as _}; +import se from"./HKbd-Be5shIQ7.js";import{d as ne,r as h,n as K,f as le,u as oe,a8 as re,ae as ie,X as U,a as ue,af as N,a9 as _,ag as J,g as f,z as S,w as u,b as r,i as n,ah as P,ai as A,e as i,aj as ce,y as de,ak as fe,D as pe,v as T,x as F,al as ve,am as he,c as b,s as G,F as O,h as Q,A as R,an as _e,ao as me,ap as ge,j as xe,Q as X,t as Y}from"./index-6QRvoxq4.js";import ye from"./index-BE5tQEZB.js";import{_ as be}from"./item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js";const ke=i("div",{class:"fixed inset-0 bg-stone-200/75 backdrop-blur-sm transition-opacity dark-bg-stone-8/75"},null,-1),we={class:"fixed inset-0"},Se={class:"h-full flex items-end justify-center p-4 text-center lg-items-center"},Te={class:"flex flex-col overflow-y-auto rounded-xl bg-white shadow-xl dark-bg-stone-8"},Re={class:"flex items-center px-4 py-3","border-b":"~ solid stone-2 dark-stone-7"},Ce=["onKeydown"],He=["data-index","onClick","onMouseover"],Ie={class:"flex flex-1 flex-col gap-1 truncate px-4 py-3","border-l":"~ solid stone-2 dark-stone-7"},ze={class:"truncate text-base font-bold"},De={key:1,flex:"center col","py-6":"","text-stone-5":""},Be=i("p",{"m-2":"","text-base":""}," 没有找到你想要的 ",-1),Me={key:0,class:"flex justify-between px-4 py-3","border-t":"~ solid stone-2 dark-stone-7"},Ne={class:"flex gap-8"},Fe={class:"inline-flex items-center gap-1 text-xs"},Le=i("span",null,"访问",-1),$e={class:"inline-flex items-center gap-1 text-xs"},Ee=i("span",null,"切换",-1),Ve={key:0,class:"inline-flex items-center gap-1 text-xs"},je=i("span",null,"退出",-1),Ge=ne({name:"Search",__name:"index",setup(Ke){const q=h({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),W=K(()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterTo:"opacity-100 translate-y-0 lg-scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 lg-scale-100",leaveTo:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"})),Z=le(),x=oe(),ee=re(),p=h(!1),v=h(""),C=h([]),o=h(-1),L=h(),H=h(),k=h([]);ie(()=>{k.value=[]});const m=K(()=>{let a=[];return a=C.value.filter(t=>{let s=!1;return t.title&&(typeof t.title=="function"?t.title().includes(v.value)&&(s=!0):t.title.includes(v.value)&&(s=!0)),t.path.includes(v.value)&&(s=!0),t.breadcrumb.some(l=>{var e;if(typeof l.title=="function"){if(l.title().includes(v.value))return!0}else if((e=l.title)!=null&&e.includes(v.value))return!0;return!1})&&(s=!0),s}),a});U(()=>p.value,a=>{a?(v.value="",o.value=-1,_("up",z),_("down",D),_("enter",B)):(_.unbind("up",z),_.unbind("down",D),_.unbind("enter",B))}),U(()=>m.value,()=>{o.value=-1,M()}),ue(()=>{N.on("global-search-toggle",()=>{p.value||I(),p.value=!p.value}),_("alt+s",a=>{x.settings.toolbar.navSearch&&x.settings.navSearch.enableHotkeys&&(a.preventDefault(),I(),p.value=!0)}),_("esc",a=>{x.settings.toolbar.navSearch&&x.settings.navSearch.enableHotkeys&&(a.preventDefault(),p.value=!1)}),I()});function I(){C.value=[],ee.allMenus.forEach(a=>{$(a.children)})}function te(a){var s;let t=!0;return(s=a.children)!=null&&s.every(l=>{var e;return((e=l.meta)==null?void 0:e.menu)===!1})&&(t=!1),t}function $(a,t,s,l){a.forEach(e=>{var d,c,g,y,E,V,j;if(((d=e.meta)==null?void 0:d.menu)!==!1){const w=ge(l)||[];e.children&&te(e)?(w.push({title:(c=e.meta)==null?void 0:c.title}),$(e.children,J(t,e.path),((g=e.meta)==null?void 0:g.icon)??s,w)):(w.push({title:(y=e.meta)==null?void 0:y.title}),C.value.push({path:J(t,e.path),icon:((E=e.meta)==null?void 0:E.icon)??s,title:(V=e.meta)==null?void 0:V.title,link:(j=e.meta)==null?void 0:j.link,breadcrumb:w}))}})}function z(){m.value.length&&(o.value-=1,o.value<0&&(o.value=m.value.length-1),M())}function D(){m.value.length&&(o.value+=1,o.value>m.value.length-1&&(o.value=0),M())}function B(){var a;o.value!==-1&&((a=k.value.find(t=>Number.parseInt(t.dataset.index)===o.value))==null||a.click())}function M(){var a,t;if(H.value){const s=H.value.osInstance().elements().content;let l=0;if(o.value!==-1){l=s.scrollTop;const e=((a=k.value.find(y=>Number.parseInt(y.dataset.index)===o.value))==null?void 0:a.offsetTop)??0,d=((t=k.value.find(y=>Number.parseInt(y.dataset.index)===o.value))==null?void 0:t.clientHeight)??0,c=s.scrollTop,g=s.clientHeight;e+d>c+g?l=e+d-g:e<=c&&(l=e)}s.scrollTo({top:l})}}function ae(a,t){t?window.open(t,"_blank"):Z.push(a),p.value=!1}return(a,t)=>{const s=xe,l=se;return f(),S(n(me),{as:"template",show:n(p)},{default:u(()=>[r(n(_e),{"initial-focus":n(L),class:"fixed inset-0 z-2000 flex",onClose:t[2]||(t[2]=e=>n(p)&&n(N).emit("global-search-toggle"))},{default:u(()=>[r(n(P),A({as:"template"},n(q)),{default:u(()=>[ke]),_:1},16),i("div",we,[i("div",Se,[r(n(P),A({as:"template"},n(W)),{default:u(()=>[r(n(ce),{class:"relative h-full max-h-4/5 w-full flex flex-col text-left lg-max-w-2xl"},{default:u(()=>[i("div",Te,[i("div",Re,[r(s,{name:"i-ep:search",size:18,class:"text-stone-5"}),de(i("input",{ref_key:"searchInputRef",ref:L,"onUpdate:modelValue":t[0]||(t[0]=e=>pe(v)?v.value=e:null),placeholder:"搜索页面,支持标题、URL模糊查询",class:"w-full border-0 rounded-md bg-transparent px-3 text-base text-dark dark-text-white focus-outline-none placeholder-stone-4 dark-placeholder-stone-5",onKeydown:[t[1]||(t[1]=T(e=>n(N).emit("global-search-toggle"),["esc"])),T(F(z,["prevent"]),["up"]),T(F(D,["prevent"]),["down"]),T(F(B,["prevent"]),["enter"])]},null,40,Ce),[[fe,n(v)]])]),r(n(ve),{class:"relative m-0 of-y-hidden"},{default:u(()=>[r(n(he),{ref_key:"searchResultRef",ref:H,options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full"},{default:u(()=>[n(m).length>0?(f(!0),b(O,{key:0},G(n(m),(e,d)=>(f(),b("a",{ref_for:!0,ref_key:"searchResultItemRef",ref:k,key:e.path,class:X(["flex cursor-pointer items-center",{"bg-stone-2/40 dark-bg-stone-7/40":d===n(o)}]),"data-index":d,onClick:c=>ae(e.path,e.link),onMouseover:c=>o.value=d},[e.icon?(f(),S(s,{key:0,name:e.icon,size:20,class:X(["basis-16 transition",{"scale-120 text-ui-primary":d===n(o)}])},null,8,["name","class"])):R("",!0),i("div",Ie,[i("div",ze,Y((typeof e.title=="function"?e.title():e.title)??"[ 无标题 ]"),1),e.breadcrumb.length?(f(),S(ye,{key:0,class:"truncate"},{default:u(()=>[(f(!0),b(O,null,G(e.breadcrumb,(c,g)=>(f(),S(be,{key:g,class:"text-xs"},{default:u(()=>[Q(Y((typeof c.title=="function"?c.title():c.title)??"[ 无标题 ]"),1)]),_:2},1024))),128))]),_:2},1024)):R("",!0)])],42,He))),128)):(f(),b("div",De,[r(s,{name:"i-tabler:mood-empty",size:40}),Be]))]),_:1},512)]),_:1}),n(x).mode==="pc"?(f(),b("div",Me,[i("div",Ne,[i("div",Fe,[r(l,null,{default:u(()=>[r(s,{name:"i-ion:md-return-left",size:14})]),_:1}),Le]),i("div",$e,[r(l,null,{default:u(()=>[r(s,{name:"i-ant-design:caret-up-filled",size:14})]),_:1}),r(l,null,{default:u(()=>[r(s,{name:"i-ant-design:caret-down-filled",size:14})]),_:1}),Ee])]),n(x).settings.navSearch.enableHotkeys?(f(),b("div",Ve,[r(l,null,{default:u(()=>[Q(" ESC ")]),_:1}),je])):R("",!0)])):R("",!0)])]),_:1})]),_:1},16)])])]),_:1},8,["initial-focus"])]),_:1},8,["show"])}}});export{Ge as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js similarity index 89% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js index e87ff0d..85df92b 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import d from"./HDropdown-BjwO9ikd.js";import{_ as h}from"./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js";import{d as _,u as g,g as f,z as w,w as m,b as p,i as c,j as x}from"./index-nGFMSQGw.js";function S(r){function e(){if(!document.startViewTransition||window.matchMedia("(prefers-reduced-motion: reduce)").matches){r();return}return document.startViewTransition(async()=>{await Promise.resolve(r())})}return{startViewTransition:e}}const v=_({name:"ColorScheme",__name:"index",setup(r){const e=g();function u(a){var i;const{startViewTransition:t}=S(()=>{e.currentColorScheme&&e.setColorScheme(e.currentColorScheme==="dark"?"light":"dark")});(i=t())==null||i.ready.then(()=>{const o=a.clientX,n=a.clientY,s=Math.hypot(Math.max(o,innerWidth-o),Math.max(n,innerHeight-n)),l=[`circle(0px at ${o}px ${n}px)`,`circle(${s}px at ${o}px ${n}px)`];document.documentElement.animate({clipPath:e.settings.app.colorScheme!=="dark"?l:l.reverse()},{duration:300,easing:"ease-out",pseudoElement:e.settings.app.colorScheme!=="dark"?"::view-transition-new(root)":"::view-transition-old(root)"})})}return(a,t)=>{const i=x,o=h,n=d;return f(),w(n,{class:"flex-center cursor-pointer px-2 py-1"},{dropdown:m(()=>[p(o,{modelValue:c(e).settings.app.colorScheme,"onUpdate:modelValue":t[0]||(t[0]=s=>c(e).settings.app.colorScheme=s),options:[{icon:"i-ri:sun-line",label:"",value:"light"},{icon:"i-ri:moon-line",label:"",value:"dark"},{icon:"i-codicon:color-mode",label:"",value:""}],class:"m-3"},null,8,["modelValue"])]),default:m(()=>[p(i,{name:{"":"i-codicon:color-mode",light:"i-ri:sun-line",dark:"i-ri:moon-line"}[c(e).settings.app.colorScheme],onClick:u},null,8,["name"])]),_:1})}}});export{v as _}; +import d from"./HDropdown-7q7O_XMK.js";import{_ as h}from"./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js";import{d as _,u as g,g as f,z as w,w as m,b as p,i as c,j as x}from"./index-6QRvoxq4.js";function S(r){function e(){if(!document.startViewTransition||window.matchMedia("(prefers-reduced-motion: reduce)").matches){r();return}return document.startViewTransition(async()=>{await Promise.resolve(r())})}return{startViewTransition:e}}const v=_({name:"ColorScheme",__name:"index",setup(r){const e=g();function u(a){var i;const{startViewTransition:t}=S(()=>{e.currentColorScheme&&e.setColorScheme(e.currentColorScheme==="dark"?"light":"dark")});(i=t())==null||i.ready.then(()=>{const o=a.clientX,n=a.clientY,s=Math.hypot(Math.max(o,innerWidth-o),Math.max(n,innerHeight-n)),l=[`circle(0px at ${o}px ${n}px)`,`circle(${s}px at ${o}px ${n}px)`];document.documentElement.animate({clipPath:e.settings.app.colorScheme!=="dark"?l:l.reverse()},{duration:300,easing:"ease-out",pseudoElement:e.settings.app.colorScheme!=="dark"?"::view-transition-new(root)":"::view-transition-old(root)"})})}return(a,t)=>{const i=x,o=h,n=d;return f(),w(n,{class:"flex-center cursor-pointer px-2 py-1"},{dropdown:m(()=>[p(o,{modelValue:c(e).settings.app.colorScheme,"onUpdate:modelValue":t[0]||(t[0]=s=>c(e).settings.app.colorScheme=s),options:[{icon:"i-ri:sun-line",label:"",value:"light"},{icon:"i-ri:moon-line",label:"",value:"dark"},{icon:"i-codicon:color-mode",label:"",value:""}],class:"m-3"},null,8,["modelValue"])]),default:m(()=>[p(i,{name:{"":"i-codicon:color-mode",light:"i-ri:sun-line",dark:"i-ri:moon-line"}[c(e).settings.app.colorScheme],onClick:u},null,8,["name"])]),_:1})}}});export{v as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DBGFR6b9.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BgKLAU11.js similarity index 95% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-DBGFR6b9.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BgKLAU11.js index 69f52d5..eb83c8f 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DBGFR6b9.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BgKLAU11.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as p}from"./HDialog.vue_vue_type_script_setup_true_lang-BZ2dbV3K.js";import h from"./HKbd-By3ZrrUU.js";import{d as g,r as y,u as b,a as x,af as k,g as i,z as v,w as s,e as o,b as l,h as t,t as _,i as n,c as d,A as u,D as A}from"./index-nGFMSQGw.js";const S={class:"px-4"},V={class:"grid gap-2 sm-grid-cols-2"},H=o("h2",{class:"m-0 text-lg font-bold"}," 全局 ",-1),B={class:"list-none pl-4 text-sm"},N={class:"py-1"},w={key:0,class:"py-1"},C={key:0},D=o("h2",{class:"m-0 text-lg font-bold"}," 主导航 ",-1),I={class:"list-none pl-4 text-sm"},M={class:"py-1"},z={key:1},E=o("h2",{class:"m-0 text-lg font-bold"}," 标签栏 ",-1),K={class:"list-none pl-4 text-sm"},R={class:"py-1"},T={class:"py-1"},U={class:"py-1"},W={class:"py-1"},$={class:"py-1"},L=g({name:"HotkeysIntro",__name:"index",setup(j){const c=y(!1),a=b();return x(()=>{k.on("global-hotkeys-intro-toggle",()=>{c.value=!c.value})}),(q,m)=>{const e=h,r=p;return i(),v(r,{modelValue:n(c),"onUpdate:modelValue":m[0]||(m[0]=f=>A(c)?c.value=f:null),title:"快捷键介绍"},{default:s(()=>[o("div",S,[o("div",V,[o("div",null,[H,o("ul",B,[o("li",N,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("I")]),_:1}),t(" 查看系统信息 ")]),n(a).settings.toolbar.navSearch&&n(a).settings.navSearch.enableHotkeys?(i(),d("li",w,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("S")]),_:1}),t(" 唤起导航搜索 ")])):u("",!0)])]),n(a).settings.menu.enableHotkeys&&["side","head"].includes(n(a).settings.menu.menuMode)?(i(),d("div",C,[D,o("ul",I,[o("li",M,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("`")]),_:1}),t(" 激活下一个主导航 ")])])])):u("",!0),n(a).settings.tabbar.enable&&n(a).settings.tabbar.enableHotkeys?(i(),d("div",z,[E,o("ul",K,[o("li",R,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("←")]),_:1}),t(" 切换到上一个标签页 ")]),o("li",T,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("→")]),_:1}),t(" 切换到下一个标签页 ")]),o("li",U,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("W")]),_:1}),t(" 关闭当前标签页 ")]),o("li",W,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("1~9")]),_:1}),t(" 切换到第 n 个标签页 ")]),o("li",$,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("0")]),_:1}),t(" 切换到最后一个标签页 ")])])])):u("",!0)])])]),_:1},8,["modelValue"])}}});export{L as _}; +import{_ as p}from"./HDialog.vue_vue_type_script_setup_true_lang-an5zbG4e.js";import h from"./HKbd-Be5shIQ7.js";import{d as g,r as y,u as b,a as x,af as k,g as i,z as v,w as s,e as o,b as l,h as t,t as _,i as n,c as d,A as u,D as A}from"./index-6QRvoxq4.js";const S={class:"px-4"},V={class:"grid gap-2 sm-grid-cols-2"},H=o("h2",{class:"m-0 text-lg font-bold"}," 全局 ",-1),B={class:"list-none pl-4 text-sm"},N={class:"py-1"},w={key:0,class:"py-1"},C={key:0},D=o("h2",{class:"m-0 text-lg font-bold"}," 主导航 ",-1),I={class:"list-none pl-4 text-sm"},M={class:"py-1"},z={key:1},E=o("h2",{class:"m-0 text-lg font-bold"}," 标签栏 ",-1),K={class:"list-none pl-4 text-sm"},R={class:"py-1"},T={class:"py-1"},U={class:"py-1"},W={class:"py-1"},$={class:"py-1"},L=g({name:"HotkeysIntro",__name:"index",setup(j){const c=y(!1),a=b();return x(()=>{k.on("global-hotkeys-intro-toggle",()=>{c.value=!c.value})}),(q,m)=>{const e=h,r=p;return i(),v(r,{modelValue:n(c),"onUpdate:modelValue":m[0]||(m[0]=f=>A(c)?c.value=f:null),title:"快捷键介绍"},{default:s(()=>[o("div",S,[o("div",V,[o("div",null,[H,o("ul",B,[o("li",N,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("I")]),_:1}),t(" 查看系统信息 ")]),n(a).settings.toolbar.navSearch&&n(a).settings.navSearch.enableHotkeys?(i(),d("li",w,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("S")]),_:1}),t(" 唤起导航搜索 ")])):u("",!0)])]),n(a).settings.menu.enableHotkeys&&["side","head"].includes(n(a).settings.menu.menuMode)?(i(),d("div",C,[D,o("ul",I,[o("li",M,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("`")]),_:1}),t(" 激活下一个主导航 ")])])])):u("",!0),n(a).settings.tabbar.enable&&n(a).settings.tabbar.enableHotkeys?(i(),d("div",z,[E,o("ul",K,[o("li",R,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("←")]),_:1}),t(" 切换到上一个标签页 ")]),o("li",T,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("→")]),_:1}),t(" 切换到下一个标签页 ")]),o("li",U,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("W")]),_:1}),t(" 关闭当前标签页 ")]),o("li",W,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("1~9")]),_:1}),t(" 切换到第 n 个标签页 ")]),o("li",$,[l(e,null,{default:s(()=>[t(_(n(a).os==="mac"?"⌥":"Alt"),1)]),_:1}),l(e,null,{default:s(()=>[t("0")]),_:1}),t(" 切换到最后一个标签页 ")])])])):u("",!0)])])]),_:1},8,["modelValue"])}}});export{L as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BTce45WY.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js similarity index 92% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-BTce45WY.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js index 8a42d72..e393338 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BTce45WY.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as r,U as c,g as o,c as a,e as t,P as s,i as d,A as m,h as n,t as i}from"./index-nGFMSQGw.js";const p={class:"page-header mb-5 flex flex-wrap items-center justify-between gap-5 bg-[var(--g-container-bg)] px-5 py-4 transition-background-color-300"},_={class:"main flex-[1_1_70%]"},f={class:"text-2xl"},u={class:"mt-2 text-sm text-stone-5 empty-hidden"},g={key:0,class:"ml-a flex-none"},b=r({name:"PageHeader",__name:"index",props:{title:{},content:{}},setup(h){const l=c();return(e,x)=>(o(),a("div",p,[t("div",_,[t("div",f,[s(e.$slots,"title",{},()=>[n(i(e.title),1)])]),t("div",u,[s(e.$slots,"content",{},()=>[n(i(e.content),1)])])]),d(l).default?(o(),a("div",g,[s(e.$slots,"default")])):m("",!0)]))}});export{b as _}; +import{d as r,U as c,g as o,c as a,e as t,P as s,i as d,A as m,h as n,t as i}from"./index-6QRvoxq4.js";const p={class:"page-header mb-5 flex flex-wrap items-center justify-between gap-5 bg-[var(--g-container-bg)] px-5 py-4 transition-background-color-300"},_={class:"main flex-[1_1_70%]"},f={class:"text-2xl"},u={class:"mt-2 text-sm text-stone-5 empty-hidden"},g={key:0,class:"ml-a flex-none"},b=r({name:"PageHeader",__name:"index",props:{title:{},content:{}},setup(h){const l=c();return(e,x)=>(o(),a("div",p,[t("div",_,[t("div",f,[s(e.$slots,"title",{},()=>[n(i(e.title),1)])]),t("div",u,[s(e.$slots,"content",{},()=>[n(i(e.content),1)])])]),d(l).default?(o(),a("div",g,[s(e.$slots,"default")])):m("",!0)]))}});export{b as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BJqXE6JQ.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-Bugv63mj.js similarity index 95% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-BJqXE6JQ.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-Bugv63mj.js index a23ec45..5ea69a6 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BJqXE6JQ.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-Bugv63mj.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as c,a as i,Y as d,r as m,g as o,z as u,b as t,w as p,i as n,c as g,A as v,aq as f,ar as _,aa as k,a0 as y,j as h}from"./index-nGFMSQGw.js";const x=c({name:"BackTop",__name:"index",setup(C){const s={enterActiveClass:"ease-out duration-300",enterFromClass:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterToClass:"opacity-100 translate-y-0 lg-scale-100",leaveActiveClass:"ease-in duration-200",leaveFromClass:"opacity-100 translate-y-0 lg-scale-100",leaveToClass:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"};i(()=>{window.addEventListener("scroll",a),a()}),d(()=>{window.removeEventListener("scroll",a)});const e=m(null);function a(){e.value=document.documentElement.scrollTop}function r(){document.documentElement.scrollTo({top:0,behavior:"smooth"})}return(w,b)=>{const l=h;return o(),u(y,{to:"body"},[t(k,f(_(s)),{default:p(()=>[n(e)&&n(e)>=200?(o(),g("div",{key:0,class:"fixed bottom-4 right-4 z-1000 h-12 w-12 flex cursor-pointer items-center justify-center rounded-full bg-white shadow-lg ring-1 ring-stone-3 ring-inset dark-bg-dark hover-bg-stone-1 dark-ring-stone-7 dark-hover-bg-dark/50",onClick:r},[t(l,{name:"i-icon-park-outline:to-top-one",size:24})])):v("",!0)]),_:1},16)])}}});export{x as _}; +import{d as c,a as i,Y as d,r as m,g as o,z as u,b as t,w as p,i as n,c as g,A as v,aq as f,ar as _,aa as k,a0 as y,j as h}from"./index-6QRvoxq4.js";const x=c({name:"BackTop",__name:"index",setup(C){const s={enterActiveClass:"ease-out duration-300",enterFromClass:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterToClass:"opacity-100 translate-y-0 lg-scale-100",leaveActiveClass:"ease-in duration-200",leaveFromClass:"opacity-100 translate-y-0 lg-scale-100",leaveToClass:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"};i(()=>{window.addEventListener("scroll",a),a()}),d(()=>{window.removeEventListener("scroll",a)});const e=m(null);function a(){e.value=document.documentElement.scrollTop}function r(){document.documentElement.scrollTo({top:0,behavior:"smooth"})}return(w,b)=>{const l=h;return o(),u(y,{to:"body"},[t(k,f(_(s)),{default:p(()=>[n(e)&&n(e)>=200?(o(),g("div",{key:0,class:"fixed bottom-4 right-4 z-1000 h-12 w-12 flex cursor-pointer items-center justify-center rounded-full bg-white shadow-lg ring-1 ring-stone-3 ring-inset dark-bg-dark hover-bg-stone-1 dark-ring-stone-7 dark-hover-bg-dark/50",onClick:r},[t(l,{name:"i-icon-park-outline:to-top-one",size:24})])):v("",!0)]),_:1},16)])}}});export{x as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CJnFI54p.js similarity index 92% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CJnFI54p.js index e50b91c..ad104d8 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CJnFI54p.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as p,u as c,r as v,n as g,p as d,g as o,z as m,w as h,c as y,t as n,i as e,A as f,Q as b}from"./index-nGFMSQGw.js";var _={pkg:{version:"4.0.0",dependencies:{"@element-plus/icons-vue":"^2.3.1","@headlessui/vue":"^1.7.22","@imengyu/vue3-context-menu":"^1.4.1","@vueuse/core":"^10.10.0","@vueuse/integrations":"^10.10.0",autoprefixer:"^10.4.19",axios:"^1.7.2",dayjs:"^1.11.11",echarts:"^5.5.0","element-plus":"^2.7.4",eruda:"^3.0.1","floating-vue":"5.2.2","hotkeys-js":"^3.13.7",less:"^4.2.0","lodash-es":"^4.17.21",marked:"^13.0.0","md-editor-v3":"^4.16.7",mitt:"^3.0.1",mockjs:"^1.1.0",nprogress:"^0.2.0",overlayscrollbars:"^2.8.3","overlayscrollbars-vue":"^0.5.9","path-browserify":"^1.0.1","path-to-regexp":"^6.2.2","resize-observer-polyfill":"^1.5.1",vconsole:"^3.15.1",vue:"^3.4.27","vue-m-message":"^4.0.2","vue-router":"^4.3.2"},devDependencies:{"@iconify/json":"^2.2.217","@iconify/vue":"^4.1.2","@types/lodash-es":"^4.17.12","@types/mockjs":"^1.0.10","@types/path-browserify":"^1.0.2","@unocss/core":"^0.61.0","@unocss/preset-mini":"^0.61.0","@vitejs/plugin-legacy":"^5.4.1","@vitejs/plugin-vue":"^5.0.5","@vitejs/plugin-vue-jsx":"^4.0.0",archiver:"^7.0.1",boxen:"^7.1.1",bumpp:"^9.4.1",eslint:"^9.4.0",esno:"^4.7.0","fs-extra":"^11.2.0","http-server":"^14.1.1",inquirer:"^9.2.23","npm-run-all2":"^6.2.0",picocolors:"^1.0.1",plop:"^4.0.1",sass:"^1.77.4",stylelint:"^16.6.1",svgo:"^3.3.2",typescript:"^5.4.5",unocss:"^0.60.4","unplugin-auto-import":"^0.17.6","unplugin-turbo-console":"^1.8.6","unplugin-vue-components":"^0.27.0",vite:"^5.2.12","vite-plugin-banner":"^0.7.1","vite-plugin-checker":"^0.6.4","vite-plugin-compression2":"^1.1.1","vite-plugin-fake-server":"^2.1.1","vite-plugin-pages":"^0.32.2","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-devtools":"^7.2.1","vite-plugin-vue-meta-layouts":"^0.4.3","vue-tsc":"^2.0.19"}},lastBuildTime:"2024-12-12 23:07:13"};const k={key:0,class:"block truncate font-bold"},x="QUlXZWI=",S=p({name:"Logo",__name:"index",props:{showLogo:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},setup(w){const{pkg:i}=_,s=c(),t=v("AIWeb"),r=atob(x);if(!t.value.includes(r))throw document.body.innerHTML="

",new Error("");const l=g(()=>s.settings.home.enable?s.settings.home.fullPath:"");return(u,j)=>{const a=d("RouterLink");return o(),m(a,{to:e(l),class:b(["h-[var(--g-sidebar-logo-height)] w-inherit flex-center gap-2 px-3 text-inherit no-underline",{"cursor-pointer":e(s).settings.home.enable}]),title:e(t)},{default:h(()=>[u.showTitle?(o(),y("span",k,n(e(t))+"-"+n(e(i).version),1)):f("",!0)]),_:1},8,["to","class","title"])}}});export{S as _}; +import{d as p,u as c,r as v,n as g,p as d,g as o,z as m,w as h,c as y,t as n,i as e,A as f,Q as b}from"./index-6QRvoxq4.js";var _={pkg:{version:"4.1.0",dependencies:{"@element-plus/icons-vue":"^2.3.1","@headlessui/vue":"^1.7.22","@imengyu/vue3-context-menu":"^1.4.1","@vueuse/core":"^10.10.0","@vueuse/integrations":"^10.10.0",autoprefixer:"^10.4.19",axios:"^1.7.2",dayjs:"^1.11.11",echarts:"^5.5.0","element-plus":"^2.7.4",eruda:"^3.0.1","floating-vue":"5.2.2","hotkeys-js":"^3.13.7",less:"^4.2.0","lodash-es":"^4.17.21",marked:"^13.0.0","md-editor-v3":"^4.16.7",mitt:"^3.0.1",mockjs:"^1.1.0",nprogress:"^0.2.0",overlayscrollbars:"^2.8.3","overlayscrollbars-vue":"^0.5.9","path-browserify":"^1.0.1","path-to-regexp":"^6.2.2","resize-observer-polyfill":"^1.5.1",vconsole:"^3.15.1",vue:"^3.4.27","vue-m-message":"^4.0.2","vue-router":"^4.3.2"},devDependencies:{"@iconify/json":"^2.2.217","@iconify/vue":"^4.1.2","@types/lodash-es":"^4.17.12","@types/mockjs":"^1.0.10","@types/path-browserify":"^1.0.2","@unocss/core":"^0.61.0","@unocss/preset-mini":"^0.61.0","@vitejs/plugin-legacy":"^5.4.1","@vitejs/plugin-vue":"^5.0.5","@vitejs/plugin-vue-jsx":"^4.0.0",archiver:"^7.0.1",boxen:"^7.1.1",bumpp:"^9.4.1",eslint:"^9.4.0",esno:"^4.7.0","fs-extra":"^11.2.0","http-server":"^14.1.1",inquirer:"^9.2.23","npm-run-all2":"^6.2.0",picocolors:"^1.0.1",plop:"^4.0.1",sass:"^1.77.4",stylelint:"^16.6.1",svgo:"^3.3.2",typescript:"^5.4.5",unocss:"^0.60.4","unplugin-auto-import":"^0.17.6","unplugin-turbo-console":"^1.8.6","unplugin-vue-components":"^0.27.0",vite:"^5.2.12","vite-plugin-banner":"^0.7.1","vite-plugin-checker":"^0.6.4","vite-plugin-compression2":"^1.1.1","vite-plugin-fake-server":"^2.1.1","vite-plugin-pages":"^0.32.2","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-devtools":"^7.2.1","vite-plugin-vue-meta-layouts":"^0.4.3","vue-tsc":"^2.0.19"}},lastBuildTime:"2025-03-04 15:58:24"};const k={key:0,class:"block truncate font-bold"},x="QUlXZWI=",S=p({name:"Logo",__name:"index",props:{showLogo:{type:Boolean,default:!0},showTitle:{type:Boolean,default:!0}},setup(w){const{pkg:i}=_,s=c(),t=v("AIWeb"),r=atob(x);if(!t.value.includes(r))throw document.body.innerHTML="

",new Error("");const l=g(()=>s.settings.home.enable?s.settings.home.fullPath:"");return(u,j)=>{const a=d("RouterLink");return o(),m(a,{to:e(l),class:b(["h-[var(--g-sidebar-logo-height)] w-inherit flex-center gap-2 px-3 text-inherit no-underline",{"cursor-pointer":e(s).settings.home.enable}]),title:e(t)},{default:h(()=>[u.showTitle?(o(),y("span",k,n(e(t))+"-"+n(e(i).version),1)):f("",!0)]),_:1},8,["to","class","title"])}}});export{S as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js similarity index 88% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js index bd20686..29ff45f 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import c from"./HKbd-By3ZrrUU.js";import{d as p,u as l,g as e,c as a,i as t,z as r,b as m,w as _,h as d,t as g,A as u,af as x,e as h,j as k}from"./index-nGFMSQGw.js";const f={key:1,class:"group inline-flex cursor-pointer items-center gap-1 whitespace-nowrap rounded-2 bg-stone-1 px-2 py-1.5 text-dark ring-stone-3 ring-inset transition dark-bg-stone-9 dark-text-white hover-ring-1 dark-ring-stone-7"},b=h("span",{class:"text-sm text-stone-5 transition group-hover-text-dark dark-group-hover-text-white"},"搜索",-1),C=p({name:"ToolbarRightSide",__name:"index",setup(S){const n=l();return(v,s)=>{const o=k,i=c;return e(),a("span",{class:"flex-center cursor-pointer px-2 py-1",onClick:s[0]||(s[0]=y=>t(x).emit("global-search-toggle"))},[t(n).mode==="mobile"?(e(),r(o,{key:0,name:"i-ri:search-line"})):(e(),a("span",f,[m(o,{name:"i-ri:search-line"}),b,t(n).settings.navSearch.enableHotkeys?(e(),r(i,{key:0,class:"ml-2"},{default:_(()=>[d(g(t(n).os==="mac"?"⌥":"Alt")+" S",1)]),_:1})):u("",!0)]))])}}});export{C as _}; +import c from"./HKbd-Be5shIQ7.js";import{d as p,u as l,g as e,c as a,i as t,z as r,b as m,w as _,h as d,t as g,A as u,af as x,e as h,j as k}from"./index-6QRvoxq4.js";const f={key:1,class:"group inline-flex cursor-pointer items-center gap-1 whitespace-nowrap rounded-2 bg-stone-1 px-2 py-1.5 text-dark ring-stone-3 ring-inset transition dark-bg-stone-9 dark-text-white hover-ring-1 dark-ring-stone-7"},b=h("span",{class:"text-sm text-stone-5 transition group-hover-text-dark dark-group-hover-text-white"},"搜索",-1),C=p({name:"ToolbarRightSide",__name:"index",setup(S){const n=l();return(v,s)=>{const o=k,i=c;return e(),a("span",{class:"flex-center cursor-pointer px-2 py-1",onClick:s[0]||(s[0]=y=>t(x).emit("global-search-toggle"))},[t(n).mode==="mobile"?(e(),r(o,{key:0,name:"i-ri:search-line"})):(e(),a("span",f,[m(o,{name:"i-ri:search-line"}),b,t(n).settings.navSearch.enableHotkeys?(e(),r(i,{key:0,class:"ml-2"},{default:_(()=>[d(g(t(n).os==="mac"?"⌥":"Alt")+" S",1)]),_:1})):u("",!0)]))])}}});export{C as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js similarity index 89% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js index 7882505..23d8c91 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as l,u as a,i as e,g as i,c as m,b as u,A as p,j as _}from"./index-nGFMSQGw.js";import{c as f}from"./index-CyI3Kccs.js";const S=l({name:"Fullscreen",__name:"index",setup(d){const t=a(),{isFullscreen:o,toggle:n}=f();return(g,s)=>{const r=_;return e(t).mode==="pc"?(i(),m("span",{key:0,class:"flex-center cursor-pointer px-2 py-1",onClick:s[0]||(s[0]=(...c)=>e(n)&&e(n)(...c))},[u(r,{name:e(o)?"i-ri:fullscreen-exit-line":"i-ri:fullscreen-line"},null,8,["name"])])):p("",!0)}}});export{S as _}; +import{d as l,u as a,i as e,g as i,c as m,b as u,A as p,j as _}from"./index-6QRvoxq4.js";import{c as f}from"./index-B0yaT7Pj.js";const S=l({name:"Fullscreen",__name:"index",setup(d){const t=a(),{isFullscreen:o,toggle:n}=f();return(g,s)=>{const r=_;return e(t).mode==="pc"?(i(),m("span",{key:0,class:"flex-center cursor-pointer px-2 py-1",onClick:s[0]||(s[0]=(...c)=>e(n)&&e(n)(...c))},[u(r,{name:e(o)?"i-ri:fullscreen-exit-line":"i-ri:fullscreen-line"},null,8,["name"])])):p("",!0)}}});export{S as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-c3O57XSg.js similarity index 89% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-c3O57XSg.js index 269d80c..efb2552 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-c3O57XSg.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as m,U as b,r as f,g as o,c as a,P as n,A as r,e as g,i as s,b as u,Q as h,V as v,j as _,h as y,t as k}from"./index-nGFMSQGw.js";const C={key:0,class:"title-container border-b-1 border-b-[var(--g-bg)] border-b-solid px-5 py-4 transition-border-color-300"},S={class:"main-container p-5"},B=m({name:"PageMain",__name:"index",props:{title:{default:""},collaspe:{type:Boolean,default:!1},height:{default:""}},setup(l){const i=l,c=!!b().title,t=f(i.collaspe);function p(){t.value=!1}return(e,x)=>{const d=_;return o(),a("div",{class:h(["page-main relative m-4 flex flex-col bg-[var(--g-container-bg)] transition-background-color-300",{"of-hidden":s(t)}]),style:v({height:s(t)?e.height:""})},[c||e.title?(o(),a("div",C,[n(e.$slots,"title",{},()=>[y(k(e.title),1)])])):r("",!0),g("div",S,[n(e.$slots,"default")]),s(t)?(o(),a("div",{key:1,class:"collaspe absolute bottom-0 w-full cursor-pointer from-transparent to-[var(--g-container-bg)] bg-gradient-to-b pb-2 pt-10 text-center",onClick:p},[u(d,{name:"i-ep:arrow-down",class:"text-xl op-30 transition-opacity hover-op-100"})])):r("",!0)],6)}}});export{B as _}; +import{d as m,U as b,r as f,g as o,c as a,P as n,A as r,e as g,i as s,b as u,Q as h,V as v,j as _,h as y,t as k}from"./index-6QRvoxq4.js";const C={key:0,class:"title-container border-b-1 border-b-[var(--g-bg)] border-b-solid px-5 py-4 transition-border-color-300"},S={class:"main-container p-5"},B=m({name:"PageMain",__name:"index",props:{title:{default:""},collaspe:{type:Boolean,default:!1},height:{default:""}},setup(l){const i=l,c=!!b().title,t=f(i.collaspe);function p(){t.value=!1}return(e,x)=>{const d=_;return o(),a("div",{class:h(["page-main relative m-4 flex flex-col bg-[var(--g-container-bg)] transition-background-color-300",{"of-hidden":s(t)}]),style:v({height:s(t)?e.height:""})},[c||e.title?(o(),a("div",C,[n(e.$slots,"title",{},()=>[y(k(e.title),1)])])):r("",!0),g("div",S,[n(e.$slots,"default")]),s(t)?(o(),a("div",{key:1,class:"collaspe absolute bottom-0 w-full cursor-pointer from-transparent to-[var(--g-container-bg)] bg-gradient-to-b pb-2 pt-10 text-center",onClick:p},[u(d,{name:"i-ep:arrow-down",class:"text-xl op-30 transition-opacity hover-op-100"})])):r("",!0)],6)}}});export{B as _}; diff --git a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-rI-Pc7n4.js b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-zXZwbW_j.js similarity index 91% rename from public/admin/assets/index.vue_vue_type_script_setup_true_lang-rI-Pc7n4.js rename to AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-zXZwbW_j.js index 4085c32..25ab94a 100644 --- a/public/admin/assets/index.vue_vue_type_script_setup_true_lang-rI-Pc7n4.js +++ b/AIWebQuickDeploy/public/admin/assets/index.vue_vue_type_script_setup_true_lang-zXZwbW_j.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as P}from"./sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js";import{r as S,_ as w}from"./item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js";import{d as z,r as f,n as B,X as y,a4 as I,m as b,g as i,c as p,F as k,s as J,Q as q,i as M,z as C,A,E as $}from"./index-nGFMSQGw.js";const Q=z({name:"MainMenu",__name:"index",props:{menu:{},value:{},accordion:{type:Boolean,default:!0},defaultOpeneds:{default:()=>[]},mode:{default:"vertical"},collapse:{type:Boolean,default:!1},showCollapseName:{type:Boolean,default:!1}},setup(O){const n=O,s=f(n.value),c=f({}),t=f({}),o=f(n.defaultOpeneds.slice(0)),E=f([]),v=B(()=>n.mode==="horizontal"||n.mode==="vertical"&&n.collapse);function _(e,l=[]){e.forEach(a=>{const u=a.path??JSON.stringify(a);if(a.children){const r=[...l,u];t.value[u]={index:u,indexPath:r,active:!1},_(a.children,r)}else c.value[u]={index:u,indexPath:l}})}const h=(e,l)=>{o.value.includes(e)||(n.accordion&&(o.value=o.value.filter(a=>l.includes(a))),o.value.push(e))},d=e=>{if(Array.isArray(e)){$(()=>{d(e.at(-1)),e.length>1&&d(e.slice(0,-1))});return}Object.keys(t.value).forEach(l=>{t.value[l].indexPath.includes(e)&&(o.value=o.value.filter(a=>a!==e))})};function g(e){var l,a;for(const u in t.value)t.value[u].active=!1;(l=t.value[e])==null||l.indexPath.forEach(u=>{t.value[u].active=!0}),(a=c.value[e])==null||a.indexPath.forEach(u=>{t.value[u].active=!0})}const x=e=>{(n.mode==="horizontal"||n.collapse)&&(o.value=[]),g(e)},N=(e,l)=>{o.value.includes(e)?d(e):h(e,l)};function m(){const e=s.value&&c.value[s.value];g(s.value),!(!e||n.collapse)&&e.indexPath.forEach(l=>{const a=t.value[l];a&&h(l,a.indexPath)})}return y(()=>n.menu,e=>{_(e),m()},{deep:!0,immediate:!0}),y(()=>n.value,e=>{c.value[e]||(s.value="");const l=c.value[e]||s.value&&c.value[s.value]||c.value[n.value];l?s.value=l.index:s.value=e,m()}),y(()=>n.collapse,e=>{e&&(o.value=[]),m()}),I(S,b({props:n,items:c,subMenus:t,activeIndex:s,openedMenus:o,mouseInMenu:E,isMenuPopup:v,openMenu:h,closeMenu:d,handleMenuItemClick:x,handleSubMenuClick:N})),(e,l)=>(i(),p("div",{class:q(["flex flex-col of-hidden transition-all",{"w-[200px]":!M(v)&&n.mode==="vertical","w-[64px]":M(v)&&n.mode==="vertical","h-[80px]":n.mode==="horizontal","flex-row! w-auto":M(v)&&n.mode==="horizontal"}])},[(i(!0),p(k,null,J(e.menu,a=>{var u,r;return i(),p(k,{key:a.path??JSON.stringify(a)},[((u=a.meta)==null?void 0:u.menu)!==!1?(i(),p(k,{key:0},[(r=a.children)!=null&&r.length?(i(),C(P,{key:0,menu:a,"unique-key":[a.path??JSON.stringify(a)]},null,8,["menu","unique-key"])):(i(),C(w,{key:1,item:a,"unique-key":[a.path??JSON.stringify(a)],onClick:j=>x(a.path??JSON.stringify(a))},null,8,["item","unique-key","onClick"]))],64)):A("",!0)],64)}),128))],2))}});export{Q as _}; +import{_ as P}from"./sub.vue_vue_type_script_setup_true_lang-6LQFZuiJ.js";import{r as S,_ as w}from"./item.vue_vue_type_script_setup_true_lang-C02ico3V.js";import{d as z,r as f,n as B,X as y,a4 as I,m as b,g as i,c as p,F as k,s as J,Q as q,i as M,z as C,A,E as $}from"./index-6QRvoxq4.js";const Q=z({name:"MainMenu",__name:"index",props:{menu:{},value:{},accordion:{type:Boolean,default:!0},defaultOpeneds:{default:()=>[]},mode:{default:"vertical"},collapse:{type:Boolean,default:!1},showCollapseName:{type:Boolean,default:!1}},setup(O){const n=O,s=f(n.value),c=f({}),t=f({}),o=f(n.defaultOpeneds.slice(0)),E=f([]),v=B(()=>n.mode==="horizontal"||n.mode==="vertical"&&n.collapse);function _(e,l=[]){e.forEach(a=>{const u=a.path??JSON.stringify(a);if(a.children){const r=[...l,u];t.value[u]={index:u,indexPath:r,active:!1},_(a.children,r)}else c.value[u]={index:u,indexPath:l}})}const h=(e,l)=>{o.value.includes(e)||(n.accordion&&(o.value=o.value.filter(a=>l.includes(a))),o.value.push(e))},d=e=>{if(Array.isArray(e)){$(()=>{d(e.at(-1)),e.length>1&&d(e.slice(0,-1))});return}Object.keys(t.value).forEach(l=>{t.value[l].indexPath.includes(e)&&(o.value=o.value.filter(a=>a!==e))})};function g(e){var l,a;for(const u in t.value)t.value[u].active=!1;(l=t.value[e])==null||l.indexPath.forEach(u=>{t.value[u].active=!0}),(a=c.value[e])==null||a.indexPath.forEach(u=>{t.value[u].active=!0})}const x=e=>{(n.mode==="horizontal"||n.collapse)&&(o.value=[]),g(e)},N=(e,l)=>{o.value.includes(e)?d(e):h(e,l)};function m(){const e=s.value&&c.value[s.value];g(s.value),!(!e||n.collapse)&&e.indexPath.forEach(l=>{const a=t.value[l];a&&h(l,a.indexPath)})}return y(()=>n.menu,e=>{_(e),m()},{deep:!0,immediate:!0}),y(()=>n.value,e=>{c.value[e]||(s.value="");const l=c.value[e]||s.value&&c.value[s.value]||c.value[n.value];l?s.value=l.index:s.value=e,m()}),y(()=>n.collapse,e=>{e&&(o.value=[]),m()}),I(S,b({props:n,items:c,subMenus:t,activeIndex:s,openedMenus:o,mouseInMenu:E,isMenuPopup:v,openMenu:h,closeMenu:d,handleMenuItemClick:x,handleSubMenuClick:N})),(e,l)=>(i(),p("div",{class:q(["flex flex-col of-hidden transition-all",{"w-[200px]":!M(v)&&n.mode==="vertical","w-[64px]":M(v)&&n.mode==="vertical","h-[80px]":n.mode==="horizontal","flex-row! w-auto":M(v)&&n.mode==="horizontal"}])},[(i(!0),p(k,null,J(e.menu,a=>{var u,r;return i(),p(k,{key:a.path??JSON.stringify(a)},[((u=a.meta)==null?void 0:u.menu)!==!1?(i(),p(k,{key:0},[(r=a.children)!=null&&r.length?(i(),C(P,{key:0,menu:a,"unique-key":[a.path??JSON.stringify(a)]},null,8,["menu","unique-key"])):(i(),C(w,{key:1,item:a,"unique-key":[a.path??JSON.stringify(a)],onClick:j=>x(a.path??JSON.stringify(a))},null,8,["item","unique-key","onClick"]))],64)):A("",!0)],64)}),128))],2))}});export{Q as _}; diff --git a/public/admin/assets/interface-BdTcay3S.js b/AIWebQuickDeploy/public/admin/assets/interface-C0pUInT0.js similarity index 98% rename from public/admin/assets/interface-BdTcay3S.js rename to AIWebQuickDeploy/public/admin/assets/interface-C0pUInT0.js index c47ccdc..7c94668 100644 --- a/public/admin/assets/interface-BdTcay3S.js +++ b/AIWebQuickDeploy/public/admin/assets/interface-C0pUInT0.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as A}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as O,m as E,r as w,a as F,p as d,g as b,c as C,b as e,w as l,h as x,i as _,J as g,z as M,A as k,F as $,s as H,e as i,G as N,j as J,_ as z,k as q}from"./index-nGFMSQGw.js";import{a as K}from"./config-CYXO1pNF.js";const L=i("div",{class:"flex items-center gap-4"},"全局参数设置",-1),Q=i("div",{class:"text-sm/6"},[i("div",null,[x(" 系统默认的请求地址是 "),i("a",{href:"https://api.openai.com",target:"_blank"},"https://api.openai.com"),x(",国内服务器可能无法访问,需使用自己的代理或中转。 ")]),i("div",null," 此处配置为全局配置,一些系统内置的自动服务会使用到该模型。另外,当模型不配置 Key 以及 Url 时,会使用全局配置。 "),i("div",null,[x(" API 中转推荐 "),i("a",{href:"https://api.lightai.io",target:"_blank",style:{"margin-right":"10px"}},"https://api.lightai.io"),x(",支持OpenAI,Midjourney 以及多种国内外模型,无强制绑定关系,可按需选择。 ")])],-1),W=i("div",{style:{width:"250px"}},[i("p",null,"开启后、对话模型将会继承上一次对话的模型、默认开启")],-1),X=i("div",{style:{width:"250px"}},[i("p",null," 开启后,识图时将使用 base64 格式,对于本地/存储桶 链接 API 端无法访问时建议开启 ")],-1),Y=i("div",{style:{width:"250px"}},[i("p",null,"开启后,将使用全局模型在每次对话后,生成提问建议")],-1),Z=i("div",{style:{width:"250px"}}," 开启连续绘画会在使用 Dalle 绘图的时候,调用全局模型,根据上文总结绘画要求 ",-1),ee=i("div",{style:{width:"250px"}}," 开启优化后, MJ 提示词默认会使用全局模型进行翻译/联想, 不再单独扣费, 一般中转会自带翻译, 请根据实际情况选择。 ",-1),le=i("div",{style:{width:"250px"}}," 默认会存储图片到配置的存储中、如果开启此选择则表示不保存原图到我们配置的存储上、直接反代访问原始图片、这样可以进一步节省空间、但访问速度及稳定性可能有所降低! ",-1),ae=i("div",{style:{width:"250px"}}," 开启不使用代理将直接使用重中转获取到的链接、原生discord地址国内无法访问! ",-1),te=O({__name:"interface",setup(oe){const t=E({openaiBaseUrl:"",openaiBaseKey:"",openaiTimeout:"",openaiBaseModel:"gpt-4o-mini",openaiTemperature:1,isGeneratePromptReference:0,mjNotSaveImg:0,mjProxyImgUrl:"",systemPreMessage:"",mjNotUseProxy:1,isMjTranslate:0,mjTranslatePrompt:"",isDalleChat:1,isModelInherited:1,openaiVoice:"",isConvertToBase64:0}),S=w([{label:"Alloy",value:"alloy"},{label:"Echo",value:"echo"},{label:"Fable",value:"fable"},{label:"Onyx",value:"onyx"},{label:"Nova",value:"nova"},{label:"Shimmer",value:"shimmer"}]),R=w({openaiBaseUrl:[{required:!1,trigger:"blur",message:"请填写openai的请求地址"}],isMjTranslate:[{required:!1,trigger:"blur",message:"是否开启翻译/联想"}],isGeneratePromptReference:[{required:!1,trigger:"blur",message:"是否生成提示词参考"}],isDalleChat:[{required:!1,trigger:"blur",message:"是否开启连续绘画"}],isModelInherited:[{required:!1,trigger:"blur",message:"是否继承模型"}],openaiTimeout:[{required:!1,trigger:"blur",message:"请填写openai的超时时间(单位ms)"}],openaiBaseModel:[{required:!1,trigger:"blur",message:"请填写全局模型,用于后台一些静默性赋能操作"}],openaiTemperature:[{required:!1,trigger:"blur",message:"请填写温度"}],mjTranslatePrompt:[{required:!1,trigger:"blur",message:"用于翻译 / 联想的提示词"}],openaiVoice:[{required:!1,trigger:"blur",message:"请填写openai的语音音色"}],isConvertToBase64:[{required:!1,trigger:"blur",message:"是否转换为base64"}]}),B=w();async function I(){const c=await K.queryConfig({keys:["openaiBaseUrl","openaiBaseKey","openaiTimeout","openaiBaseModel","openaiTemperature","mjNotSaveImg","mjProxyImgUrl","systemPreMessage","mjNotUseProxy","isMjTranslate","isGeneratePromptReference","mjTranslatePrompt","isDalleChat","isModelInherited","openaiVoice","isConvertToBase64"]}),{openaiBaseUrl:a="",openaiBaseKey:v="",openaiTimeout:V=300,openaiBaseModel:y="gpt-4o-mini",openaiTemperature:u=1,isMjTranslate:n="",isGeneratePromptReference:s=0,mjNotSaveImg:r,mjProxyImgUrl:m,systemPreMessage:p,mjNotUseProxy:f,mjTranslatePrompt:h,isDalleChat:T,isModelInherited:j,openaiVoice:U,isConvertToBase64:P}=c.data;Object.assign(t,{openaiBaseUrl:a,openaiBaseKey:v,openaiTimeout:V,isMjTranslate:n,isGeneratePromptReference:s,openaiTemperature:u,openaiBaseModel:y,mjNotSaveImg:r,mjProxyImgUrl:m,systemPreMessage:p,mjNotUseProxy:f,mjTranslatePrompt:h,isDalleChat:T,isModelInherited:j,openaiVoice:U,isConvertToBase64:P})}function D(){var c;(c=B.value)==null||c.validate(async a=>{if(a){try{await K.setConfig({settings:G(t)}),N.success("变更配置信息成功")}catch{}I()}else N.error("请填写完整信息")})}function G(c){return Object.keys(c).map(a=>({configKey:a,configVal:c[a]}))}return F(()=>{I()}),(c,a)=>{const v=J,V=z,y=A,u=d("el-input"),n=d("el-form-item"),s=d("el-col"),r=d("el-row"),m=d("el-switch"),p=d("el-icon"),f=d("el-tooltip"),h=d("el-input-number"),T=d("el-option"),j=d("el-select"),U=d("el-form"),P=d("el-card");return b(),C("div",null,[e(y,null,{title:l(()=>[L]),content:l(()=>[Q]),default:l(()=>[e(V,{text:"",outline:"",onClick:D},{default:l(()=>[e(v,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(P,{style:{margin:"20px"}},{default:l(()=>[e(U,{ref_key:"formRef",ref:B,rules:R.value,model:t,"label-width":"220px"},{default:l(()=>[e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"请求地址",prop:"openaiBaseUrl","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.openaiBaseUrl,"onUpdate:modelValue":a[0]||(a[0]=o=>t.openaiBaseUrl=o),placeholder:"默认地址: https://api.openai.com 第三方代理推荐:https://api.lightai.io",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局key",prop:"openaiBaseKey","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.openaiBaseKey,"onUpdate:modelValue":a[1]||(a[1]=o=>t.openaiBaseKey=o),placeholder:"请填写模型全局 Key 信息,当模型 Key 为空时调用",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局模型",prop:"openaiBaseModel","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.openaiBaseModel,"onUpdate:modelValue":a[2]||(a[2]=o=>t.openaiBaseModel=o),placeholder:"全局模型配置,用于后台一些静默赋能操作",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"继承对话模型",prop:"isModelInherited","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isModelInherited,"onUpdate:modelValue":a[3]||(a[3]=o=>t.isModelInherited=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[W]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"base64 识图",prop:"isConvertToBase64","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isConvertToBase64,"onUpdate:modelValue":a[4]||(a[4]=o=>t.isConvertToBase64=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[X]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"生成提问建议",prop:"isGeneratePromptReference","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isGeneratePromptReference,"onUpdate:modelValue":a[5]||(a[5]=o=>t.isGeneratePromptReference=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[Y]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"连续绘画",prop:"isDalleChat","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isDalleChat,"onUpdate:modelValue":a[6]||(a[6]=o=>t.isDalleChat=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[Z]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"提示词优化",prop:"isMjTranslate","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isMjTranslate,"onUpdate:modelValue":a[7]||(a[7]=o=>t.isMjTranslate=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[ee]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),[1].includes(Number(t.isMjTranslate))?(b(),M(r,{key:0},{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"优化提示词",prop:"mjTranslatePrompt","label-width":"120px"},{default:l(()=>[e(u,{type:"textarea",rows:5,modelValue:t.mjTranslatePrompt,"onUpdate:modelValue":a[8]||(a[8]=o=>t.mjTranslatePrompt=o),placeholder:"Midjourney 翻译/联想提示词",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):k("",!0),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"不存储图片",prop:"mjNotSaveImg","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.mjNotSaveImg,"onUpdate:modelValue":a[9]||(a[9]=o=>t.mjNotSaveImg=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[le]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"不使用代理",prop:"mjNotUseProxy","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.mjNotUseProxy,"onUpdate:modelValue":a[10]||(a[10]=o=>t.mjNotUseProxy=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[ae]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),[0].includes(Number(t.mjNotUseProxy))?(b(),M(r,{key:1},{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"反代地址",prop:"mjProxyImgUrl","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.mjProxyImgUrl,"onUpdate:modelValue":a[11]||(a[11]=o=>t.mjProxyImgUrl=o),placeholder:"Midjourney 反代地址,为空将直接使用原链接",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):k("",!0),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"Temperature",prop:"openaiTemperature","label-width":"120px"},{default:l(()=>[e(h,{modelValue:t.openaiTemperature,"onUpdate:modelValue":a[12]||(a[12]=o=>t.openaiTemperature=o),"controls-position":"right",min:0,max:2,step:.1,placeholder:"模型 Temperature 设置,默认1",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"TTS 音色",prop:"openaiVoice","label-width":"120px"},{default:l(()=>[e(j,{modelValue:t.openaiVoice,"onUpdate:modelValue":a[13]||(a[13]=o=>t.openaiVoice=o),placeholder:"选择或输入 openai 语音合成的默认发音人",clearable:"",filterable:"","allow-create":""},{default:l(()=>[(b(!0),C($,null,H(S.value,o=>(b(),M(T,{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"超时时间",prop:"openaiTimeout","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.openaiTimeout,"onUpdate:modelValue":a[14]||(a[14]=o=>t.openaiTimeout=o),placeholder:"openai超时时间设置、默认300s 单位:秒(s)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局头部预设",prop:"systemPreMessage","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.systemPreMessage,"onUpdate:modelValue":a[15]||(a[15]=o=>t.systemPreMessage=o),type:"textarea",rows:8,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof q=="function"&&q(te);export{te as default}; +import{_ as A}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as O,m as E,r as w,a as F,p as d,g as b,c as C,b as e,w as l,h as x,i as _,J as g,z as M,A as k,F as $,s as H,e as i,G as N,j as J,_ as z,k as q}from"./index-6QRvoxq4.js";import{a as K}from"./config-DBls5jtO.js";const L=i("div",{class:"flex items-center gap-4"},"全局参数设置",-1),Q=i("div",{class:"text-sm/6"},[i("div",null,[x(" 系统默认的请求地址是 "),i("a",{href:"https://api.openai.com",target:"_blank"},"https://api.openai.com"),x(",国内服务器可能无法访问,需使用自己的代理或中转。 ")]),i("div",null," 此处配置为全局配置,一些系统内置的自动服务会使用到该模型。另外,当模型不配置 Key 以及 Url 时,会使用全局配置。 "),i("div",null,[x(" API 中转推荐 "),i("a",{href:"https://api.lightai.io",target:"_blank",style:{"margin-right":"10px"}},"https://api.lightai.io"),x(",支持OpenAI,Midjourney 以及多种国内外模型,无强制绑定关系,可按需选择。 ")])],-1),W=i("div",{style:{width:"250px"}},[i("p",null,"开启后、对话模型将会继承上一次对话的模型、默认开启")],-1),X=i("div",{style:{width:"250px"}},[i("p",null," 开启后,识图时将使用 base64 格式,对于本地/存储桶 链接 API 端无法访问时建议开启 ")],-1),Y=i("div",{style:{width:"250px"}},[i("p",null,"开启后,将使用全局模型在每次对话后,生成提问建议")],-1),Z=i("div",{style:{width:"250px"}}," 开启连续绘画会在使用 Dalle 绘图的时候,调用全局模型,根据上文总结绘画要求 ",-1),ee=i("div",{style:{width:"250px"}}," 开启优化后, MJ 提示词默认会使用全局模型进行翻译/联想, 不再单独扣费, 一般中转会自带翻译, 请根据实际情况选择。 ",-1),le=i("div",{style:{width:"250px"}}," 默认会存储图片到配置的存储中、如果开启此选择则表示不保存原图到我们配置的存储上、直接反代访问原始图片、这样可以进一步节省空间、但访问速度及稳定性可能有所降低! ",-1),ae=i("div",{style:{width:"250px"}}," 开启不使用代理将直接使用重中转获取到的链接、原生discord地址国内无法访问! ",-1),te=O({__name:"interface",setup(oe){const t=E({openaiBaseUrl:"",openaiBaseKey:"",openaiTimeout:"",openaiBaseModel:"gpt-4o-mini",openaiTemperature:1,isGeneratePromptReference:0,mjNotSaveImg:0,mjProxyImgUrl:"",systemPreMessage:"",mjNotUseProxy:1,isMjTranslate:0,mjTranslatePrompt:"",isDalleChat:1,isModelInherited:1,openaiVoice:"",isConvertToBase64:0}),S=w([{label:"Alloy",value:"alloy"},{label:"Echo",value:"echo"},{label:"Fable",value:"fable"},{label:"Onyx",value:"onyx"},{label:"Nova",value:"nova"},{label:"Shimmer",value:"shimmer"}]),R=w({openaiBaseUrl:[{required:!1,trigger:"blur",message:"请填写openai的请求地址"}],isMjTranslate:[{required:!1,trigger:"blur",message:"是否开启翻译/联想"}],isGeneratePromptReference:[{required:!1,trigger:"blur",message:"是否生成提示词参考"}],isDalleChat:[{required:!1,trigger:"blur",message:"是否开启连续绘画"}],isModelInherited:[{required:!1,trigger:"blur",message:"是否继承模型"}],openaiTimeout:[{required:!1,trigger:"blur",message:"请填写openai的超时时间(单位ms)"}],openaiBaseModel:[{required:!1,trigger:"blur",message:"请填写全局模型,用于后台一些静默性赋能操作"}],openaiTemperature:[{required:!1,trigger:"blur",message:"请填写温度"}],mjTranslatePrompt:[{required:!1,trigger:"blur",message:"用于翻译 / 联想的提示词"}],openaiVoice:[{required:!1,trigger:"blur",message:"请填写openai的语音音色"}],isConvertToBase64:[{required:!1,trigger:"blur",message:"是否转换为base64"}]}),B=w();async function I(){const c=await K.queryConfig({keys:["openaiBaseUrl","openaiBaseKey","openaiTimeout","openaiBaseModel","openaiTemperature","mjNotSaveImg","mjProxyImgUrl","systemPreMessage","mjNotUseProxy","isMjTranslate","isGeneratePromptReference","mjTranslatePrompt","isDalleChat","isModelInherited","openaiVoice","isConvertToBase64"]}),{openaiBaseUrl:a="",openaiBaseKey:v="",openaiTimeout:V=300,openaiBaseModel:y="gpt-4o-mini",openaiTemperature:u=1,isMjTranslate:n="",isGeneratePromptReference:s=0,mjNotSaveImg:r,mjProxyImgUrl:m,systemPreMessage:p,mjNotUseProxy:f,mjTranslatePrompt:h,isDalleChat:T,isModelInherited:j,openaiVoice:U,isConvertToBase64:P}=c.data;Object.assign(t,{openaiBaseUrl:a,openaiBaseKey:v,openaiTimeout:V,isMjTranslate:n,isGeneratePromptReference:s,openaiTemperature:u,openaiBaseModel:y,mjNotSaveImg:r,mjProxyImgUrl:m,systemPreMessage:p,mjNotUseProxy:f,mjTranslatePrompt:h,isDalleChat:T,isModelInherited:j,openaiVoice:U,isConvertToBase64:P})}function D(){var c;(c=B.value)==null||c.validate(async a=>{if(a){try{await K.setConfig({settings:G(t)}),N.success("变更配置信息成功")}catch{}I()}else N.error("请填写完整信息")})}function G(c){return Object.keys(c).map(a=>({configKey:a,configVal:c[a]}))}return F(()=>{I()}),(c,a)=>{const v=J,V=z,y=A,u=d("el-input"),n=d("el-form-item"),s=d("el-col"),r=d("el-row"),m=d("el-switch"),p=d("el-icon"),f=d("el-tooltip"),h=d("el-input-number"),T=d("el-option"),j=d("el-select"),U=d("el-form"),P=d("el-card");return b(),C("div",null,[e(y,null,{title:l(()=>[L]),content:l(()=>[Q]),default:l(()=>[e(V,{text:"",outline:"",onClick:D},{default:l(()=>[e(v,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(P,{style:{margin:"20px"}},{default:l(()=>[e(U,{ref_key:"formRef",ref:B,rules:R.value,model:t,"label-width":"220px"},{default:l(()=>[e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"请求地址",prop:"openaiBaseUrl","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.openaiBaseUrl,"onUpdate:modelValue":a[0]||(a[0]=o=>t.openaiBaseUrl=o),placeholder:"默认地址: https://api.openai.com 第三方代理推荐:https://api.lightai.io",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局key",prop:"openaiBaseKey","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.openaiBaseKey,"onUpdate:modelValue":a[1]||(a[1]=o=>t.openaiBaseKey=o),placeholder:"请填写模型全局 Key 信息,当模型 Key 为空时调用",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局模型",prop:"openaiBaseModel","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.openaiBaseModel,"onUpdate:modelValue":a[2]||(a[2]=o=>t.openaiBaseModel=o),placeholder:"全局模型配置,用于后台一些静默赋能操作",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"继承对话模型",prop:"isModelInherited","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isModelInherited,"onUpdate:modelValue":a[3]||(a[3]=o=>t.isModelInherited=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[W]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"base64 识图",prop:"isConvertToBase64","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isConvertToBase64,"onUpdate:modelValue":a[4]||(a[4]=o=>t.isConvertToBase64=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[X]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"生成提问建议",prop:"isGeneratePromptReference","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isGeneratePromptReference,"onUpdate:modelValue":a[5]||(a[5]=o=>t.isGeneratePromptReference=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[Y]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"连续绘画",prop:"isDalleChat","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isDalleChat,"onUpdate:modelValue":a[6]||(a[6]=o=>t.isDalleChat=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[Z]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"提示词优化",prop:"isMjTranslate","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.isMjTranslate,"onUpdate:modelValue":a[7]||(a[7]=o=>t.isMjTranslate=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[ee]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),[1].includes(Number(t.isMjTranslate))?(b(),M(r,{key:0},{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"优化提示词",prop:"mjTranslatePrompt","label-width":"120px"},{default:l(()=>[e(u,{type:"textarea",rows:5,modelValue:t.mjTranslatePrompt,"onUpdate:modelValue":a[8]||(a[8]=o=>t.mjTranslatePrompt=o),placeholder:"Midjourney 翻译/联想提示词",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):k("",!0),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"不存储图片",prop:"mjNotSaveImg","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.mjNotSaveImg,"onUpdate:modelValue":a[9]||(a[9]=o=>t.mjNotSaveImg=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[le]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"不使用代理",prop:"mjNotUseProxy","label-width":"120"},{default:l(()=>[e(m,{modelValue:t.mjNotUseProxy,"onUpdate:modelValue":a[10]||(a[10]=o=>t.mjNotUseProxy=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(f,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[ae]),default:l(()=>[e(p,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(_(g))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),[0].includes(Number(t.mjNotUseProxy))?(b(),M(r,{key:1},{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"反代地址",prop:"mjProxyImgUrl","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.mjProxyImgUrl,"onUpdate:modelValue":a[11]||(a[11]=o=>t.mjProxyImgUrl=o),placeholder:"Midjourney 反代地址,为空将直接使用原链接",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):k("",!0),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"Temperature",prop:"openaiTemperature","label-width":"120px"},{default:l(()=>[e(h,{modelValue:t.openaiTemperature,"onUpdate:modelValue":a[12]||(a[12]=o=>t.openaiTemperature=o),"controls-position":"right",min:0,max:2,step:.1,placeholder:"模型 Temperature 设置,默认1",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"TTS 音色",prop:"openaiVoice","label-width":"120px"},{default:l(()=>[e(j,{modelValue:t.openaiVoice,"onUpdate:modelValue":a[13]||(a[13]=o=>t.openaiVoice=o),placeholder:"选择或输入 openai 语音合成的默认发音人",clearable:"",filterable:"","allow-create":""},{default:l(()=>[(b(!0),C($,null,H(S.value,o=>(b(),M(T,{key:o.value,label:o.label,value:o.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"超时时间",prop:"openaiTimeout","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.openaiTimeout,"onUpdate:modelValue":a[14]||(a[14]=o=>t.openaiTimeout=o),placeholder:"openai超时时间设置、默认300s 单位:秒(s)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"全局头部预设",prop:"systemPreMessage","label-width":"120px"},{default:l(()=>[e(u,{modelValue:t.systemPreMessage,"onUpdate:modelValue":a[15]||(a[15]=o=>t.systemPreMessage=o),type:"textarea",rows:8,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof q=="function"&&q(te);export{te as default}; diff --git a/AIWebQuickDeploy/public/admin/assets/item-CgoQGTTQ.js b/AIWebQuickDeploy/public/admin/assets/item-CgoQGTTQ.js new file mode 100644 index 0000000..63018a3 --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/item-CgoQGTTQ.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as m}from"./item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js";import"./index-6QRvoxq4.js";export{m as default}; diff --git a/AIWebQuickDeploy/public/admin/assets/item-DKw0u6VA.js b/AIWebQuickDeploy/public/admin/assets/item-DKw0u6VA.js new file mode 100644 index 0000000..c268bcb --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/item-DKw0u6VA.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./item.vue_vue_type_script_setup_true_lang-C02ico3V.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js";import"./index-6QRvoxq4.js";export{o as default}; diff --git a/AIWebQuickDeploy/public/admin/assets/item.vue_vue_type_script_setup_true_lang-C02ico3V.js b/AIWebQuickDeploy/public/admin/assets/item.vue_vue_type_script_setup_true_lang-C02ico3V.js new file mode 100644 index 0000000..3eb5c04 --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/item.vue_vue_type_script_setup_true_lang-C02ico3V.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as A}from"./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js";import{d as $,W as D,r as H,n as r,p as R,g as o,c as l,b as C,w as i,i as a,z as x,e as E,A as u,Q as s,t as Q,V as T,ai as U,bU as W,ab as F,j as G}from"./index-6QRvoxq4.js";const J="rootMenu",Y=$({__name:"item",props:{uniqueKey:{},item:{},level:{default:0},subMenu:{type:Boolean,default:!1},expand:{type:Boolean,default:!1}},setup(N,{expose:j}){const n=N,t=D(J),p=H(),B=r(()=>n.subMenu?t.subMenus[n.uniqueKey.at(-1)].active:t.activeIndex===n.uniqueKey.at(-1)),m=r(()=>B.value&&(!n.subMenu||t.isMenuPopup)),K=r(()=>t.isMenuPopup?"":`padding-left: ${20*(n.level??0)}px`);return j({ref:p}),(e,L)=>{const I=G,q=A,z=R("router-link");return o(),l("div",{ref_key:"itemRef",ref:p,class:s(["menu-item relative transition-all",{active:a(m)}])},[C(z,{custom:"",to:e.uniqueKey.at(-1)??""},{default:i(({href:S,navigate:V})=>{var f,c,b;return[C(q,{enable:a(t).isMenuPopup&&e.level===0&&!e.subMenu,text:(typeof((f=e.item.meta)==null?void 0:f.title)=="function"?(c=e.item.meta)==null?void 0:c.title():(b=e.item.meta)==null?void 0:b.title)??"",placement:"right",class:"h-full w-full"},{default:i(()=>{var v,d,y,M,g;return[(o(),x(F(e.subMenu?"div":"a"),U({...!e.subMenu&&{href:(v=e.item.meta)!=null&&v.link?e.item.meta.link:S,target:(d=e.item.meta)!=null&&d.link?"_blank":"_self",class:"no-underline"}},{class:["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-5 py-4 text-[var(--g-sub-sidebar-menu-color)] transition-all hover-bg-[var(--g-sub-sidebar-menu-hover-bg)] hover-text-[var(--g-sub-sidebar-menu-hover-color)]",{"text-[var(--g-sub-sidebar-menu-active-color)]! bg-[var(--g-sub-sidebar-menu-active-bg)]!":a(m),"px-3!":a(t).isMenuPopup&&e.level===0}],title:typeof((y=e.item.meta)==null?void 0:y.title)=="function"?(M=e.item.meta)==null?void 0:M.title():(g=e.item.meta)==null?void 0:g.title},W({...!e.subMenu&&{click:V}})),{default:i(()=>{var h,w,k,P;return[E("div",{class:s(["inline-flex flex-1 items-center justify-center gap-[12px]",{"flex-col":a(t).isMenuPopup&&e.level===0&&a(t).props.mode==="vertical","gap-1!":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName,"w-full":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName&&a(t).props.mode==="vertical"}]),style:T(a(K))},[(h=n.item.meta)!=null&&h.icon?(o(),x(I,{key:0,name:n.item.meta.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):u("",!0),a(t).isMenuPopup&&e.level===0&&!a(t).props.showCollapseName?u("",!0):(o(),l("span",{key:1,class:s(["w-0 flex-1 truncate text-sm transition-height transition-opacity transition-width",{"opacity-0 w-0 h-0":a(t).isMenuPopup&&e.level===0&&!a(t).props.showCollapseName,"w-full text-center":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName}])},Q(typeof((w=e.item.meta)==null?void 0:w.title)=="function"?(k=e.item.meta)==null?void 0:k.title():(P=e.item.meta)==null?void 0:P.title),3))],6),e.subMenu&&!(a(t).isMenuPopup&&e.level===0)?(o(),l("i",{key:0,class:s(["relative ml-1 w-[10px] after:absolute after:h-[1.5px] after:w-[6px] after:bg-current after:transition-transform-200 after:content-empty after:-translate-y-[1px] before:absolute before:h-[1.5px] before:w-[6px] before:bg-current before:transition-transform-200 before:content-empty before:-translate-y-[1px]",[e.expand?"before:-rotate-45 before:-translate-x-[2px] after:rotate-45 after:translate-x-[2px]":"before:rotate-45 before:-translate-x-[2px] after:-rotate-45 after:translate-x-[2px]",a(t).isMenuPopup&&e.level===0&&"opacity-0",a(t).isMenuPopup&&e.level!==0&&"-rotate-90 -top-[1.5px]"]])},null,2)):u("",!0)]}),_:2},1040,["class","title"]))]}),_:2},1032,["enable","text"])]}),_:1},8,["to"])],2)}}});export{Y as _,J as r}; diff --git a/public/admin/assets/item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js b/AIWebQuickDeploy/public/admin/assets/item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js similarity index 91% rename from public/admin/assets/item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js rename to AIWebQuickDeploy/public/admin/assets/item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js index 60bf38f..10b9676 100644 --- a/public/admin/assets/item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js +++ b/AIWebQuickDeploy/public/admin/assets/item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as n,f as c,g as i,c as p,e as o,t as l,P as m,Q as d}from"./index-nGFMSQGw.js";const u={class:"breadcrumb-item flex items-center text-dark dark-text-white"},f={class:"separator mx-2"},k=n({__name:"item",props:{to:{},replace:{type:Boolean},separator:{default:"/"}},setup(a){const e=a,t=c();function r(){e.to&&(e.replace?t.replace(e.to):t.push(e.to))}return(s,_)=>(i(),p("div",u,[o("span",f,l(s.separator),1),o("span",{class:d(["text flex items-center opacity-60",{"is-link cursor-pointer transition-opacity hover-opacity-100":!!e.to}]),onClick:r},[m(s.$slots,"default")],2)]))}});export{k as _}; +import{d as n,f as c,g as i,c as p,e as o,t as l,P as m,Q as d}from"./index-6QRvoxq4.js";const u={class:"breadcrumb-item flex items-center text-dark dark-text-white"},f={class:"separator mx-2"},k=n({__name:"item",props:{to:{},replace:{type:Boolean},separator:{default:"/"}},setup(a){const e=a,t=c();function r(){e.to&&(e.replace?t.replace(e.to):t.push(e.to))}return(s,_)=>(i(),p("div",u,[o("span",f,l(s.separator),1),o("span",{class:d(["text flex items-center opacity-60",{"is-link cursor-pointer transition-opacity hover-opacity-100":!!e.to}]),onClick:r},[m(s.$slots,"default")],2)]))}});export{k as _}; diff --git a/public/admin/assets/javascript-iSgyE4tI.js b/AIWebQuickDeploy/public/admin/assets/javascript-iSgyE4tI.js similarity index 100% rename from public/admin/assets/javascript-iSgyE4tI.js rename to AIWebQuickDeploy/public/admin/assets/javascript-iSgyE4tI.js diff --git a/public/admin/assets/jinja2-C4DGRd-O.js b/AIWebQuickDeploy/public/admin/assets/jinja2-C4DGRd-O.js similarity index 100% rename from public/admin/assets/jinja2-C4DGRd-O.js rename to AIWebQuickDeploy/public/admin/assets/jinja2-C4DGRd-O.js diff --git a/public/admin/assets/julia-DuME0IfC.js b/AIWebQuickDeploy/public/admin/assets/julia-DuME0IfC.js similarity index 100% rename from public/admin/assets/julia-DuME0IfC.js rename to AIWebQuickDeploy/public/admin/assets/julia-DuME0IfC.js diff --git a/public/admin/assets/key-U1-UhTyN.js b/AIWebQuickDeploy/public/admin/assets/key-SbZ15kXg.js similarity index 80% rename from public/admin/assets/key-U1-UhTyN.js rename to AIWebQuickDeploy/public/admin/assets/key-SbZ15kXg.js index 6230dc0..6614211 100644 --- a/public/admin/assets/key-U1-UhTyN.js +++ b/AIWebQuickDeploy/public/admin/assets/key-SbZ15kXg.js @@ -5,5 +5,5 @@ * https://fantastic-admin.github.io */ -import{_ as Me}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as Ne}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{I as G,d as Se,r as k,m as E,n as H,a as Ae,p as m,q as Ce,g as n,c as M,b as l,w as t,h as s,F as D,s as q,i as u,y as oe,z as c,t as y,e as f,J as I,A as V,B as De,C as qe,D as Le,G as z,E as Fe,H as de,j as Oe,_ as Re,k as ne}from"./index-nGFMSQGw.js";import{u as Pe}from"./utcformatTime-Bq4gDWNx.js";import{a as re,M as Be,b as Ie,c as ze,d as $e,e as je}from"./index-BE-LteFu.js";const X={queryModels:C=>G.get("models/query",{params:C}),setModels:C=>G.post("models/setModel",C),delModels:C=>G.post("models/delModel",C)},Ye=f("div",{class:"flex items-center gap-4"},"模型配置说明",-1),Ke=f("div",{class:"text-sm/6"},[f("div",null,"模型分为(基础对话|创意模型|特殊模型三类)。"),f("div",null," 基础对话:用户可以在用户端选择的模型,用于对话、问答、聊天等功能,仅支持 OpenAI Chat 格式,其他模型需自行使用分发程序适配。 "),f("div",null," 创意模型:用户端不展示,包含【Midjourney 绘图】【Dalle 绘图】【SDXL 绘图】【Suno音乐】,用于插件调用。 "),f("div",null,[s(" 其中,其中 Midjourney 对接 Midjourney-Proxy-Plus 格式,SDXL、LumaVideo 及 SunoMusic 适配 "),f("a",{href:"https://api.openai.com",target:"_blank"},"LightAi API"),s(" 格式。 ")]),f("div",null,"特殊模型:用户端不展示,包含【TTS朗读】【GPTs】。")],-1),Je={class:"w-full overflow-y-scroll whitespace-nowrap"},Ge=f("div",{style:{width:"250px"}}," 关闭将在用户端隐藏此模型、但不会影响后台的调用 ",-1),Ee=["src"],He={class:"input-with-text"},Xe=f("div",{style:{width:"250px"}},"模型排序,越小越靠前。",-1),Qe={class:"input-with-text"},We=f("span",{class:"unit-text"},"次/小时",-1),Ze=f("div",{style:{width:"250px"}}," 选择是否开启文件上传及其格式,逆向格式【直接附带链接,仅支持逆向渠道】,4o格式【OpenAI Chat 的识图格式,仅支持图片】,文件分析【内置方式的文件分析,支持全模型分析带文字的文件】 ",-1),el=f("div",{style:{width:"250px"}}," 关联 token 的梯度计费模型,每次扣除的积分 = 单次扣除金额 *(token 消耗 / token 计费比例)结果向上取整【例如单次扣除金额为 3 积分,token 计费比例为 1000,用户调用消耗 2500 token,那么扣除的积分为 3 *(2500 / 1000)向上取整 9 积分】 ",-1),ll={class:"mr-5 flex justify-end"},tl=Se({__name:"key",setup(C){k();const Q=k(),W=k(0),N=k(!1),L=k(!1),se=k(!1);k(!1);const g=E({keyType:"",model:"",status:null,page:1,size:10}),$=k(),S=k(0),o=E({keyType:1,modelName:"",key:"",modelAvatar:"",status:!0,model:"",isTokenBased:!1,tokenFeeRatio:1e3,modelOrder:0,maxModelTokens:8e3,proxyUrl:"",timeout:300,deduct:1,deductType:1,maxRounds:12,isFileUpload:0,modelLimits:50,modelDescription:""}),Z=k(`/api/upload/file?dir=${encodeURIComponent("system/models")}`),ue=E({keyType:[{required:!0,message:"请选择调用模型类型",trigger:"blur"}],modelName:[{required:!0,message:"请填写您的模型名称",trigger:"blur"}],key:[{required:!1,message:"请填写您的调用模型key",trigger:"blur"}],status:[{required:!0,message:"请选择key的启用状态",trigger:"change"}],isFileUpload:[{required:!1,message:"请选择当前模型是否开启文件上传及支持种类",trigger:"change"}],isTokenBased:[{required:!0,message:"请选择当前key是否基于token计费",trigger:"change"}],tokenFeeRatio:[{required:!1,message:"token计费比例",trigger:"change"}],model:[{required:!0,message:"请选择当前key需要绑定的模型",trigger:"change"}],modelOrder:[{required:!0,message:"请填写当前模型排序",trigger:"blur"}],maxModelTokens:[{required:!0,message:"请填写模型最大token数",trigger:"blur"}],proxyUrl:[{required:!1,message:"请填写指定代理地址",trigger:"blur"}],modelAvatar:[{required:!1,message:"请填写AI模型使用的头像, 不填写使用系统默认",trigger:"blur"}],timeout:[{required:!0,message:"请填写超时时间 默认 60 单位(秒)",trigger:"blur"}],deductType:[{required:!0,message:"请选择当前模型扣费类型",trigger:"change"}],deduct:[{required:!0,message:"请填写当前模型扣费金额(需要是正整数)",trigger:"blur"}],maxRounds:[{required:!0,message:"请填写允许用户选择的最大上下文轮次",trigger:"blur"}],modelLimits:[{required:!0,message:"请填写模型调用频率限制",trigger:"blur"}],modelDescription:[{required:!1,message:"请填写模型描述",trigger:"blur"}]});function ie(d){S.value=0,d==null||d.resetFields()}const pe=H(()=>je[o.keyType]),me=H(()=>S.value?"修改模型":"新增模型"),ce=H(()=>S.value?"确认更新":"确认新增"),ee=k([]);async function A(){try{L.value=!0;const d=await X.queryModels(g);L.value=!1;const{rows:a,count:i}=d.data;W.value=i,ee.value=a}catch{L.value=!1}}async function fe(d){const{id:a}=d;await X.delModels({id:a}),z({type:"success",message:"操作完成!"}),A()}function ye(d){S.value=d.id;const{keyType:a,modelName:i,key:_,status:w,model:x,modelOrder:h,maxModelTokens:r,proxyUrl:b,timeout:F,deductType:O,deduct:T,maxRounds:p,modelAvatar:j,isTokenBased:Y,tokenFeeRatio:K,isFileUpload:J,modelLimits:R,modelDescription:U}=d;Fe(()=>{Object.assign(o,{keyType:a,modelName:i,key:_,status:w,model:x,modelOrder:h,maxModelTokens:r,proxyUrl:b,timeout:F,deductType:O,deduct:T,maxRounds:p,modelAvatar:j,isTokenBased:Y,tokenFeeRatio:K,isFileUpload:J,modelLimits:R,modelDescription:U})}),N.value=!0}function ge(d){d==null||d.resetFields(),A()}async function _e(){if(o.modelAvatar){const d=await be(o.modelAvatar);ke(d,le)}}function ke(d,a){const i=new FormData;i.append("file",d),de.post(Z.value,i,{headers:{"Content-Type":"multipart/form-data"}}).then(_=>{a(_.data)}).catch(_=>{console.error("上传失败",_)})}async function be(d){const a=await de.get(d,{responseType:"blob"});let i="downloaded_file";const _=a.headers["content-disposition"];if(_){const w=/filename="([^"]+)"/.exec(_);w!=null&&w[1]&&(i=w[1])}else i=ve(d);return new File([a.data],i,{type:a.data.type})}function ve(d){const i=new URL(d).pathname;return i.substring(i.lastIndexOf("/")+1)}async function we(d){d==null||d.validate(async a=>{if(a){const i=JSON.parse(JSON.stringify(o));if(delete i.id,S.value&&(i.id=S.value),Number(o.keyType)===1){const w=JSON.parse(JSON.stringify(o.key)).split(` +import{_ as Me}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as Ne}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{I as G,d as Se,r as k,m as E,n as H,a as Ae,p as m,q as Ce,g as n,c as M,b as l,w as t,h as s,F as D,s as q,i as u,y as oe,z as c,t as y,e as f,J as I,A as V,B as De,C as qe,D as Le,G as z,E as Fe,H as de,j as Oe,_ as Re,k as ne}from"./index-6QRvoxq4.js";import{u as Pe}from"./utcformatTime-Bq4gDWNx.js";import{a as re,M as Be,b as Ie,c as ze,d as $e,e as je}from"./index-BE-LteFu.js";const X={queryModels:C=>G.get("models/query",{params:C}),setModels:C=>G.post("models/setModel",C),delModels:C=>G.post("models/delModel",C)},Ye=f("div",{class:"flex items-center gap-4"},"模型配置说明",-1),Ke=f("div",{class:"text-sm/6"},[f("div",null,"模型分为(基础对话|创意模型|特殊模型三类)。"),f("div",null," 基础对话:用户可以在用户端选择的模型,用于对话、问答、聊天等功能,仅支持 OpenAI Chat 格式,其他模型需自行使用分发程序适配。 "),f("div",null," 创意模型:用户端不展示,包含【Midjourney 绘图】【Dalle 绘图】【SDXL 绘图】【Suno音乐】,用于插件调用。 "),f("div",null,[s(" 其中,其中 Midjourney 对接 Midjourney-Proxy-Plus 格式,SDXL、LumaVideo 及 SunoMusic 适配 "),f("a",{href:"https://api.openai.com",target:"_blank"},"LightAi API"),s(" 格式。 ")]),f("div",null,"特殊模型:用户端不展示,包含【TTS朗读】【GPTs】。")],-1),Je={class:"w-full overflow-y-scroll whitespace-nowrap"},Ge=f("div",{style:{width:"250px"}}," 关闭将在用户端隐藏此模型、但不会影响后台的调用 ",-1),Ee=["src"],He={class:"input-with-text"},Xe=f("div",{style:{width:"250px"}},"模型排序,越小越靠前。",-1),Qe={class:"input-with-text"},We=f("span",{class:"unit-text"},"次/小时",-1),Ze=f("div",{style:{width:"250px"}}," 选择是否开启文件上传及其格式,逆向格式【直接附带链接,仅支持逆向渠道】,4o格式【OpenAI Chat 的识图格式,仅支持图片】,文件分析【内置方式的文件分析,支持全模型分析带文字的文件】 ",-1),el=f("div",{style:{width:"250px"}}," 关联 token 的梯度计费模型,每次扣除的积分 = 单次扣除金额 *(token 消耗 / token 计费比例)结果向上取整【例如单次扣除金额为 3 积分,token 计费比例为 1000,用户调用消耗 2500 token,那么扣除的积分为 3 *(2500 / 1000)向上取整 9 积分】 ",-1),ll={class:"mr-5 flex justify-end"},tl=Se({__name:"key",setup(C){k();const Q=k(),W=k(0),N=k(!1),L=k(!1),se=k(!1);k(!1);const g=E({keyType:"",model:"",status:void 0,page:1,size:10}),$=k(),S=k(0),o=E({keyType:1,modelName:"",key:"",modelAvatar:"",status:!0,model:"",isTokenBased:!1,tokenFeeRatio:1e3,modelOrder:0,maxModelTokens:8e3,proxyUrl:"",timeout:300,deduct:1,deductType:1,maxRounds:12,isFileUpload:0,modelLimits:50,modelDescription:""}),Z=k(`/api/upload/file?dir=${encodeURIComponent("system/models")}`),ue=E({keyType:[{required:!0,message:"请选择调用模型类型",trigger:"blur"}],modelName:[{required:!0,message:"请填写您的模型名称",trigger:"blur"}],key:[{required:!1,message:"请填写您的调用模型key",trigger:"blur"}],status:[{required:!0,message:"请选择key的启用状态",trigger:"change"}],isFileUpload:[{required:!1,message:"请选择当前模型是否开启文件上传及支持种类",trigger:"change"}],isTokenBased:[{required:!0,message:"请选择当前key是否基于token计费",trigger:"change"}],tokenFeeRatio:[{required:!1,message:"token计费比例",trigger:"change"}],model:[{required:!0,message:"请选择当前key需要绑定的模型",trigger:"change"}],modelOrder:[{required:!0,message:"请填写当前模型排序",trigger:"blur"}],maxModelTokens:[{required:!0,message:"请填写模型最大token数",trigger:"blur"}],proxyUrl:[{required:!1,message:"请填写指定代理地址",trigger:"blur"}],modelAvatar:[{required:!1,message:"请填写AI模型使用的头像, 不填写使用系统默认",trigger:"blur"}],timeout:[{required:!0,message:"请填写超时时间 默认 60 单位(秒)",trigger:"blur"}],deductType:[{required:!0,message:"请选择当前模型扣费类型",trigger:"change"}],deduct:[{required:!0,message:"请填写当前模型扣费金额(需要是正整数)",trigger:"blur"}],maxRounds:[{required:!0,message:"请填写允许用户选择的最大上下文轮次",trigger:"blur"}],modelLimits:[{required:!0,message:"请填写模型调用频率限制",trigger:"blur"}],modelDescription:[{required:!1,message:"请填写模型描述",trigger:"blur"}]});function ie(d){S.value=0,d==null||d.resetFields()}const pe=H(()=>je[o.keyType]),me=H(()=>S.value?"修改模型":"新增模型"),ce=H(()=>S.value?"确认更新":"确认新增"),ee=k([]);async function A(){try{L.value=!0;const d=await X.queryModels(g);L.value=!1;const{rows:a,count:i}=d.data;W.value=i,ee.value=a}catch{L.value=!1}}async function fe(d){const{id:a}=d;await X.delModels({id:a}),z({type:"success",message:"操作完成!"}),A()}function ye(d){S.value=d.id;const{keyType:a,modelName:i,key:_,status:w,model:x,modelOrder:h,maxModelTokens:r,proxyUrl:b,timeout:F,deductType:O,deduct:T,maxRounds:p,modelAvatar:j,isTokenBased:Y,tokenFeeRatio:K,isFileUpload:J,modelLimits:R,modelDescription:U}=d;Fe(()=>{Object.assign(o,{keyType:a,modelName:i,key:_,status:w,model:x,modelOrder:h,maxModelTokens:r,proxyUrl:b,timeout:F,deductType:O,deduct:T,maxRounds:p,modelAvatar:j,isTokenBased:Y,tokenFeeRatio:K,isFileUpload:J,modelLimits:R,modelDescription:U})}),N.value=!0}function ge(d){d==null||d.resetFields(),A()}async function _e(){if(o.modelAvatar){const d=await be(o.modelAvatar);ke(d,le)}}function ke(d,a){const i=new FormData;i.append("file",d),de.post(Z.value,i,{headers:{"Content-Type":"multipart/form-data"}}).then(_=>{a(_.data)}).catch(_=>{console.error("上传失败",_)})}async function be(d){const a=await de.get(d,{responseType:"blob"});let i="downloaded_file";const _=a.headers["content-disposition"];if(_){const w=/filename="([^"]+)"/.exec(_);w!=null&&w[1]&&(i=w[1])}else i=ve(d);return new File([a.data],i,{type:a.data.type})}function ve(d){const i=new URL(d).pathname;return i.substring(i.lastIndexOf("/")+1)}async function we(d){d==null||d.validate(async a=>{if(a){const i=JSON.parse(JSON.stringify(o));if(delete i.id,S.value&&(i.id=S.value),Number(o.keyType)===1){const w=JSON.parse(JSON.stringify(o.key)).split(` `);i.key=w}await X.setModels(i),z({type:"success",message:"操作成功!"}),S.value=0,N.value=!1,A()}})}const le=(d,a)=>{console.log("response: ",d.data),o.modelAvatar=d.data},Te=d=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(d.type)){if(d.size/1024>300)return z.error("当前限制文件最大不超过 300KB!"),!1}else return z.error("当前系统仅支持 PNG、JPEG、GIF 和 WebP 格式的图片!"),!1};return Ae(()=>{A()}),(d,a)=>{const i=Oe,_=Re,w=Ne,x=m("el-option"),h=m("el-select"),r=m("el-form-item"),b=m("el-button"),F=m("el-form"),O=Me,T=m("el-tag"),p=m("el-table-column"),j=m("el-popconfirm"),Y=m("el-table"),K=m("el-pagination"),J=m("el-row"),R=m("el-switch"),U=m("el-icon"),P=m("el-tooltip"),v=m("el-input"),Ve=m("el-upload"),te=m("el-input-number"),B=m("el-radio"),xe=m("el-radio-group"),he=m("el-dialog"),ae=Ce("loading");return n(),M("div",null,[l(w,null,{title:t(()=>[Ye]),content:t(()=>[Ke]),default:t(()=>[l(_,{outline:"",type:"success",onClick:a[0]||(a[0]=e=>N.value=!0)},{default:t(()=>[l(i,{name:"i-ri:file-text-line"}),s(" 添加模型 ")]),_:1})]),_:1}),l(O,null,{default:t(()=>[l(F,{ref_key:"formRef",ref:Q,inline:!0,model:g},{default:t(()=>[l(r,{label:"模型类型",prop:"model"},{default:t(()=>[l(h,{modelValue:g.keyType,"onUpdate:modelValue":a[1]||(a[1]=e=>g.keyType=e),filterable:"","allow-create":"",placeholder:"请选择或填写绑定的模型",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),M(D,null,q(u(re),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"使用模型",prop:"model"},{default:t(()=>[l(h,{modelValue:g.model,"onUpdate:modelValue":a[2]||(a[2]=e=>g.model=e),filterable:"","allow-create":"",placeholder:"请选择或填写绑定的模型",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),M(D,null,q(u(Be),e=>(n(),c(x,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"启用状态",prop:"status"},{default:t(()=>[l(h,{modelValue:g.status,"onUpdate:modelValue":a[3]||(a[3]=e=>g.status=e),placeholder:"请选择key启用状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(n(!0),M(D,null,q(u(Ie),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,null,{default:t(()=>[l(b,{type:"primary",onClick:A},{default:t(()=>[s(" 查询 ")]),_:1}),l(b,{onClick:a[4]||(a[4]=e=>ge(u(Q)))},{default:t(()=>[s(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(O,{style:{width:"100%"}},{default:t(()=>[oe((n(),c(Y,{border:"",data:u(ee),style:{width:"100%"},size:"large"},{default:t(()=>[l(p,{prop:"keyType",label:"模型类型",width:"120"},{default:t(e=>[l(T,{type:"success"},{default:t(()=>[s(y(u(ze)[e.row.keyType]),1)]),_:2},1024)]),_:1}),l(p,{prop:"modelOrder",label:"模型排序",width:"90",align:"center"}),l(p,{prop:"modelLimits",label:"频率限制",width:"90",align:"center"}),l(p,{prop:"modelName",label:"模型名称",width:"180"}),l(p,{prop:"status",align:"center",label:"启用状态",width:"90"},{default:t(e=>[l(T,{type:e.row.status?"success":"danger"},{default:t(()=>[s(y(e.row.status?"使用中":"已暂停"),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"key",label:"模型KEY",width:"460"},{default:t(e=>[f("div",Je,y(e.row.key),1)]),_:1}),l(p,{prop:"model",align:"center",label:"绑定模型",width:"180"},{default:t(e=>[l(T,{type:e.row.model.includes("gpt-4")?"success":"info"},{default:t(()=>[s(y(e.row.model),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"isTokenBased",align:"center",label:"Token计费",width:"120"},{default:t(e=>[l(T,{type:e.row.isTokenBased?"success":"danger"},{default:t(()=>[s(y(e.row.isTokenBased?"是":"否"),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"deductType",align:"center",label:"扣费类型",width:"90"},{default:t(e=>[l(T,{type:e.row.deductType===1?"success":e.row.deductType===2?"warning":"info"},{default:t(()=>[s(y(e.row.deductType===1?"普通积分":e.row.deductType===2?"高级积分":"绘画积分"),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"deduct",align:"center",label:"单次扣除",width:"90"},{default:t(e=>[l(T,{type:e.row.deductType===1?"success":"warning"},{default:t(()=>[s(y(`${e.row.deduct} 积分`),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"useCount",align:"center",label:"调用次数",width:"90"}),l(p,{prop:"useToken",align:"center",label:"已使用Token",width:"120"}),l(p,{prop:"keyStatus",align:"center",label:"key状态",width:"110"},{default:t(e=>[l(T,{type:e.row.keyStatus===1?"success":"danger"},{default:t(()=>[s(y(e.row.keyStatus===1?"正常工作":e.row.keyStatus===-1?"已被封禁":"余额耗尽 "),1)]),_:2},1032,["type"])]),_:1}),l(p,{prop:"maxModelTokens",align:"center",label:"模型最大上下文",width:"140"},{default:t(e=>[l(b,{type:"info",text:""},{default:t(()=>[s(y(e.row.maxModelTokens||"-"),1)]),_:2},1024)]),_:1}),l(p,{prop:"proxyUrl",align:"center",label:"绑定的代理地址",width:"140"},{default:t(e=>[l(b,{type:"info",text:""},{default:t(()=>[s(y(e.row.proxyUrl||"-"),1)]),_:2},1024)]),_:1}),l(p,{prop:"proxyUrl",align:"center",label:"变更提示信息",width:"180"},{default:t(e=>[s(y(e.row.remark||"-"),1)]),_:1}),l(p,{prop:"createdAt",align:"center",label:"添加时间",width:"120"},{default:t(e=>[s(y(u(Pe)(e.row.createdAt,"YYYY-MM-DD")),1)]),_:1}),l(p,{fixed:"right",label:"操作",width:"200"},{default:t(e=>[l(b,{link:"",type:"primary",size:"small",onClick:Ue=>ye(e.row)},{default:t(()=>[s(" 变更 ")]),_:2},1032,["onClick"]),l(j,{title:"确认删除此秘钥么?",width:"180","icon-color":"red",onConfirm:Ue=>fe(e.row)},{reference:t(()=>[l(b,{link:"",type:"danger",size:"small"},{default:t(()=>[s(" 删除秘钥 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[ae,u(L)]]),l(J,{class:"mt-5 flex justify-end"},{default:t(()=>[l(K,{"current-page":g.page,"onUpdate:currentPage":a[5]||(a[5]=e=>g.page=e),"page-size":g.size,"onUpdate:pageSize":a[6]||(a[6]=e=>g.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:u(W),onSizeChange:A,onCurrentChange:A},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(he,{modelValue:u(N),"onUpdate:modelValue":a[27]||(a[27]=e=>Le(N)?N.value=e:null),"close-on-click-modal":!1,title:me.value,width:"770",class:"max-h-[90vh] overflow-y-auto rounded-md p-4",onClose:a[28]||(a[28]=e=>ie(u($)))},{footer:t(()=>[f("span",ll,[l(b,{onClick:a[25]||(a[25]=e=>N.value=!1)},{default:t(()=>[s("取消")]),_:1}),l(b,{type:"primary",onClick:a[26]||(a[26]=e=>we(u($)))},{default:t(()=>[s(y(ce.value),1)]),_:1})])]),default:t(()=>[oe((n(),c(F,{ref_key:"formPackageRef",ref:$,"label-position":"right","label-width":"120px",model:o,rules:ue},{default:t(()=>[l(r,{label:"模型类型选择",prop:"keyType"},{default:t(()=>[l(h,{modelValue:o.keyType,"onUpdate:modelValue":a[7]||(a[7]=e=>o.keyType=e),placeholder:"请选择模型类型",style:{width:"100%"}},{default:t(()=>[(n(!0),M(D,null,q(u(re),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),[1].includes(Number(o.keyType))?(n(),c(r,{key:0,label:"用户端显示",prop:"status"},{default:t(()=>[l(R,{modelValue:o.status,"onUpdate:modelValue":a[8]||(a[8]=e=>o.status=e)},null,8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[Ge]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})]),_:1})):V("",!0),l(r,{label:"模型显示名称",prop:"modelName"},{default:t(()=>[l(v,{modelValue:o.modelName,"onUpdate:modelValue":a[9]||(a[9]=e=>o.modelName=e),placeholder:"请填写模型显示名称(用户端看到的)"},null,8,["modelValue"])]),_:1}),[1].includes(Number(o.keyType))?(n(),c(r,{key:1,label:"模型简介",prop:"key"},{default:t(()=>[l(v,{modelValue:o.modelDescription,"onUpdate:modelValue":a[10]||(a[10]=e=>o.modelDescription=e),type:"text",placeholder:"请填写模型简介"},null,8,["modelValue"])]),_:1})):V("",!0),[1].includes(Number(o.keyType))?(n(),c(r,{key:2,label:"模型图标",prop:"modelAvatar"},{default:t(()=>[l(v,{modelValue:o.modelAvatar,"onUpdate:modelValue":a[11]||(a[11]=e=>o.modelAvatar=e),placeholder:"请填写或上传网站模型图标",clearable:""},{append:t(()=>[l(Ve,{class:"avatar-uploader",action:u(Z),"show-file-list":!1,"on-success":le,"before-upload":Te,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:t(()=>[o.modelAvatar?(n(),M("img",{key:0,src:o.modelAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,Ee)):(n(),c(U,{key:1,style:{width:"1rem"}},{default:t(()=>[l(u(De))]),_:1}))]),_:1},8,["action"]),o.modelAvatar?(n(),c(U,{key:0,onClick:_e,style:{"margin-left":"35px",width:"1rem"}},{default:t(()=>[l(u(qe))]),_:1})):V("",!0)]),_:1},8,["modelValue"])]),_:1})):V("",!0),l(r,{label:"模型排序",prop:"modelOrder"},{default:t(()=>[f("div",He,[l(te,{modelValue:o.modelOrder,"onUpdate:modelValue":a[12]||(a[12]=e=>o.modelOrder=e),max:999,min:0,step:10,class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[Xe]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})])]),_:1}),l(r,{label:"模型调用频率",prop:"modelLimits"},{default:t(()=>[f("div",Qe,[l(te,{modelValue:o.modelLimits,"onUpdate:modelValue":a[13]||(a[13]=e=>o.modelLimits=e),max:999,min:0,step:5,class:"input-number",style:{"margin-right":"10px"}},null,8,["modelValue"]),We])]),_:1}),l(r,{label:"指定代理地址",prop:"proxyUrl"},{default:t(()=>[l(v,{modelValue:o.proxyUrl,"onUpdate:modelValue":a[14]||(a[14]=e=>o.proxyUrl=e),modelModifiers:{number:!0},placeholder:"如需使用代理请填写、不填写默认使用全局配置!"},null,8,["modelValue"])]),_:1}),l(r,{label:"模型密钥",prop:"key"},{default:t(()=>[l(v,{modelValue:o.key,"onUpdate:modelValue":a[15]||(a[15]=e=>o.key=e),type:"text",placeholder:"请填写模型Key"},null,8,["modelValue"])]),_:1}),l(r,{label:"账号关联模型",prop:"model"},{default:t(()=>[l(h,{modelValue:o.model,"onUpdate:modelValue":a[16]||(a[16]=e=>o.model=e),filterable:"",clearable:"",placeholder:"请选用或填写绑定的模型","allow-create":""},{default:t(()=>[(n(!0),M(D,null,q(pe.value,e=>(n(),c(x,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"模型扣费类型",prop:"deductType"},{default:t(()=>[l(h,{modelValue:o.deductType,"onUpdate:modelValue":a[17]||(a[17]=e=>o.deductType=e),filterable:"","allow-create":"",clearable:"",placeholder:"请选用模型扣费类型"},{default:t(()=>[(n(!0),M(D,null,q(u($e),e=>(n(),c(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"单次扣除金额",prop:"deduct"},{default:t(()=>[l(v,{modelValue:o.deduct,"onUpdate:modelValue":a[18]||(a[18]=e=>o.deduct=e),modelModifiers:{number:!0},placeholder:"请填写单次调用此key的扣费金额!"},null,8,["modelValue"])]),_:1}),[1].includes(Number(o.keyType))?(n(),c(r,{key:3,label:"上下文限制",prop:"maxRounds"},{default:t(()=>[l(v,{modelValue:o.maxRounds,"onUpdate:modelValue":a[19]||(a[19]=e=>o.maxRounds=e),modelModifiers:{number:!0},placeholder:"请填写允许用户选择的最高上下文条数!"},null,8,["modelValue"])]),_:1})):V("",!0),[1].includes(Number(o.keyType))?(n(),c(r,{key:4,label:"模型最大Token",prop:"maxModelTokens"},{default:t(()=>[l(v,{modelValue:o.maxModelTokens,"onUpdate:modelValue":a[20]||(a[20]=e=>o.maxModelTokens=e),modelModifiers:{number:!0},placeholder:"请填写模型最大Token、不填写默认使用默认!"},null,8,["modelValue"])]),_:1})):V("",!0),l(r,{label:"调用超时时间",prop:"timeout"},{default:t(()=>[l(v,{modelValue:o.timeout,"onUpdate:modelValue":a[21]||(a[21]=e=>o.timeout=e),modelModifiers:{number:!0},placeholder:"请填写key的超时时间单位(秒)!"},null,8,["modelValue"])]),_:1}),[1,3].includes(Number(o.keyType))?(n(),c(r,{key:5,label:"文件上传",prop:"isFileUpload"},{default:t(()=>[l(xe,{modelValue:o.isFileUpload,"onUpdate:modelValue":a[22]||(a[22]=e=>o.isFileUpload=e)},{default:t(()=>[l(B,{label:0},{default:t(()=>[s(" 不使用 ")]),_:1}),l(B,{label:1},{default:t(()=>[s(" 逆向格式 ")]),_:1}),l(B,{label:2},{default:t(()=>[s(" 4o格式 ")]),_:1}),l(B,{label:3},{default:t(()=>[s(" 文件分析 ")]),_:1})]),_:1},8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[Ze]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})]),_:1})):V("",!0),[1,3].includes(Number(o.keyType))?(n(),c(r,{key:6,label:"token 关联计费",prop:"isTokenBased"},{default:t(()=>[l(R,{modelValue:o.isTokenBased,"onUpdate:modelValue":a[23]||(a[23]=e=>o.isTokenBased=e)},null,8,["modelValue"]),l(P,{class:"box-item",effect:"dark",placement:"right"},{content:t(()=>[el]),default:t(()=>[l(U,{class:"ml-3 cursor-pointer"},{default:t(()=>[l(u(I))]),_:1})]),_:1})]),_:1})):V("",!0),[1,3].includes(Number(o.keyType))?(n(),c(r,{key:7,label:"token计费比例",prop:"tokenFeeRatio"},{default:t(()=>[l(v,{modelValue:o.tokenFeeRatio,"onUpdate:modelValue":a[24]||(a[24]=e=>o.tokenFeeRatio=e),modelModifiers:{number:!0},placeholder:"请填写token计费比例",style:{width:"80%"}},null,8,["modelValue"])]),_:1})):V("",!0)]),_:1},8,["model","rules"])),[[ae,u(se)]])]),_:1},8,["modelValue","title"])])}}});typeof ne=="function"&&ne(tl);export{tl as default}; diff --git a/AIWebQuickDeploy/public/admin/assets/leftSide-VBkbFeUr.js b/AIWebQuickDeploy/public/admin/assets/leftSide-VBkbFeUr.js new file mode 100644 index 0000000..52d6eac --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/leftSide-VBkbFeUr.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./leftSide.vue_vue_type_script_setup_true_lang-Dg-uHS6-.js";import"./index-6QRvoxq4.js";import"./index-CbgLRpel.js";import"./index-BE5tQEZB.js";import"./item.vue_vue_type_script_setup_true_lang-Dhzk_uDL.js";export{o as default}; diff --git a/public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-CY8It3ua.js b/AIWebQuickDeploy/public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-Dg-uHS6-.js similarity index 90% rename from public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-CY8It3ua.js rename to AIWebQuickDeploy/public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-Dg-uHS6-.js index 11e2b0f..9893ae3 100644 --- a/public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-CY8It3ua.js +++ b/AIWebQuickDeploy/public/admin/assets/leftSide.vue_vue_type_script_setup_true_lang-Dg-uHS6-.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as c,u as i,g as t,c as s,i as o,b as l,A as a,z as m,j as p}from"./index-nGFMSQGw.js";import d from"./index-D5jQENXK.js";const _={class:"flex items-center"},k=c({name:"ToolbarLeftSide",__name:"leftSide",setup(u){const e=i();return(f,r)=>{const n=p;return t(),s("div",_,[o(e).mode==="mobile"?(t(),s("div",{key:0,class:"flex-center cursor-pointer px-2 py-1 -rotate-z-180",onClick:r[0]||(r[0]=b=>o(e).toggleSidebarCollapse())},[l(n,{name:"toolbar-collapse"})])):a("",!0),o(e).settings.toolbar.breadcrumb?(t(),m(d,{key:1})):a("",!0)])}}});export{k as _}; +import{d as c,u as i,g as t,c as s,i as o,b as l,A as a,z as m,j as p}from"./index-6QRvoxq4.js";import d from"./index-CbgLRpel.js";const _={class:"flex items-center"},k=c({name:"ToolbarLeftSide",__name:"leftSide",setup(u){const e=i();return(f,r)=>{const n=p;return t(),s("div",_,[o(e).mode==="mobile"?(t(),s("div",{key:0,class:"flex-center cursor-pointer px-2 py-1 -rotate-z-180",onClick:r[0]||(r[0]=b=>o(e).toggleSidebarCollapse())},[l(n,{name:"toolbar-collapse"})])):a("",!0),o(e).settings.toolbar.breadcrumb?(t(),m(d,{key:1})):a("",!0)])}}});export{k as _}; diff --git a/public/admin/assets/link-BkZGdTQk.js b/AIWebQuickDeploy/public/admin/assets/link-BvzwK7mO.js similarity index 79% rename from public/admin/assets/link-BkZGdTQk.js rename to AIWebQuickDeploy/public/admin/assets/link-BvzwK7mO.js index 5d3fe68..9fca3ac 100644 --- a/public/admin/assets/link-BkZGdTQk.js +++ b/AIWebQuickDeploy/public/admin/assets/link-BvzwK7mO.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as f}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{d as x,N as u,g as l,c as k,b as t,w as s,z as w,e as n,i as a,t as h,h as v,aa as y,j as S,_ as g,R as B,S as C,l as I}from"./index-nGFMSQGw.js";import{_ as V}from"./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js";import{a as $}from"./index-CyI3Kccs.js";const b=o=>(B("data-v-63ec1fa4"),o=o(),C(),o),N={class:"absolute h-full w-full flex flex-col"},T={class:"flex flex-col items-center"},j=b(()=>n("div",{class:"my-2 text-xl text-dark dark-text-white"}," 是否访问此链接 ",-1)),z={class:"line-clamp-3"},H=x({name:"LinkView",__name:"link",setup(o){const e=u(),{copy:_,copied:L}=$();function r(){window.open(e.meta.link,"_blank")}return(R,i)=>{const c=S,p=V,m=g,d=f;return l(),k("div",N,[t(y,{name:"slide-right",mode:"out-in",appear:""},{default:s(()=>[(l(),w(d,{key:a(e).meta.link,class:"flex flex-1 flex-col justify-center"},{default:s(()=>[n("div",T,[t(c,{name:"i-icon-park-twotone:planet",size:120,class:"text-ui-primary/80"}),j,n("div",{class:"my-2 max-w-[300px] cursor-pointer text-center text-[14px] text-stone-5",onClick:i[0]||(i[0]=D=>a(e).meta.link&&a(_)(a(e).meta.link))},[t(p,{text:"复制链接"},{default:s(()=>[n("div",z,h(a(e).meta.link),1)]),_:1})]),t(m,{class:"my-4",onClick:r},{default:s(()=>[t(c,{name:"i-ri:external-link-fill"}),v(" 立即访问 ")]),_:1})])]),_:1}))]),_:1})])}}}),A=I(H,[["__scopeId","data-v-63ec1fa4"]]);export{A as default}; +import{_ as f}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{d as x,N as u,g as l,c as k,b as t,w as s,z as w,e as n,i as a,t as h,h as v,aa as y,j as S,_ as g,R as B,S as C,l as I}from"./index-6QRvoxq4.js";import{_ as V}from"./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js";import{a as $}from"./index-B0yaT7Pj.js";const b=o=>(B("data-v-63ec1fa4"),o=o(),C(),o),N={class:"absolute h-full w-full flex flex-col"},T={class:"flex flex-col items-center"},j=b(()=>n("div",{class:"my-2 text-xl text-dark dark-text-white"}," 是否访问此链接 ",-1)),z={class:"line-clamp-3"},H=x({name:"LinkView",__name:"link",setup(o){const e=u(),{copy:_,copied:L}=$();function r(){window.open(e.meta.link,"_blank")}return(R,i)=>{const c=S,p=V,m=g,d=f;return l(),k("div",N,[t(y,{name:"slide-right",mode:"out-in",appear:""},{default:s(()=>[(l(),w(d,{key:a(e).meta.link,class:"flex flex-1 flex-col justify-center"},{default:s(()=>[n("div",T,[t(c,{name:"i-icon-park-twotone:planet",size:120,class:"text-ui-primary/80"}),j,n("div",{class:"my-2 max-w-[300px] cursor-pointer text-center text-[14px] text-stone-5",onClick:i[0]||(i[0]=D=>a(e).meta.link&&a(_)(a(e).meta.link))},[t(p,{text:"复制链接"},{default:s(()=>[n("div",z,h(a(e).meta.link),1)]),_:1})]),t(m,{class:"my-4",onClick:r},{default:s(()=>[t(c,{name:"i-ri:external-link-fill"}),v(" 立即访问 ")]),_:1})])]),_:1}))]),_:1})])}}}),A=I(H,[["__scopeId","data-v-63ec1fa4"]]);export{A as default}; diff --git a/public/admin/assets/link-Dx3sI3vO.css b/AIWebQuickDeploy/public/admin/assets/link-Dx3sI3vO.css similarity index 100% rename from public/admin/assets/link-Dx3sI3vO.css rename to AIWebQuickDeploy/public/admin/assets/link-Dx3sI3vO.css diff --git a/public/admin/assets/livescript-k3uCVVjK.js b/AIWebQuickDeploy/public/admin/assets/livescript-k3uCVVjK.js similarity index 100% rename from public/admin/assets/livescript-k3uCVVjK.js rename to AIWebQuickDeploy/public/admin/assets/livescript-k3uCVVjK.js diff --git a/public/admin/assets/localStorage-cKgrnDbg.js b/AIWebQuickDeploy/public/admin/assets/localStorage-D9Ly4FTr.js similarity index 94% rename from public/admin/assets/localStorage-cKgrnDbg.js rename to AIWebQuickDeploy/public/admin/assets/localStorage-D9Ly4FTr.js index fb38b1b..a082df4 100644 --- a/public/admin/assets/localStorage-cKgrnDbg.js +++ b/AIWebQuickDeploy/public/admin/assets/localStorage-D9Ly4FTr.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as k}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as B,m as j,r as d,a as q,p as n,g as N,c as $,b as e,w as t,h as E,e as s,G as p,j as H,_ as I,k as g}from"./index-nGFMSQGw.js";import{a as v}from"./config-CYXO1pNF.js";const M=s("div",{class:"flex items-center gap-4"},"本地存储参数设置",-1),O=s("div",{class:"text-sm/6"},[s("div",null," 开启后将优先使用本地存储方式保存数据,有些场景需开启跨域访问,可能需额外自行解决读写权限问题。 "),s("div",null," 文件存储目录为 /public/file,更新迁移时请做好数据维护及备份。 ")],-1),R=B({__name:"localStorage",setup(A){const a=j({localStorageStatus:"",siteUrl:""}),c=d();async function i(){const o=await v.queryConfig({keys:["localStorageStatus","siteUrl"]});Object.assign(a,o.data)}const x=d({siteUrl:[{required:!0,message:"请输入网站地址",trigger:"blur"}]});function S(){var o;(o=c.value)==null||o.validate(async l=>{if(l){try{await v.setConfig({settings:b(a)}),p.success("变更配置信息成功")}catch{}i()}else p.error("请填写完整信息")})}function b(o){return Object.keys(o).map(l=>({configKey:l,configVal:o[l]}))}return q(()=>{i()}),(o,l)=>{const u=H,y=I,V=k,w=n("el-switch"),_=n("el-form-item"),m=n("el-col"),f=n("el-row"),U=n("el-input"),C=n("el-form"),h=n("el-card");return N(),$("div",null,[e(V,null,{title:t(()=>[M]),content:t(()=>[O]),default:t(()=>[e(y,{outline:"",onClick:S},{default:t(()=>[e(u,{name:"i-ri:file-text-line"}),E(" 保存设置 ")]),_:1})]),_:1}),e(h,{style:{margin:"20px"}},{default:t(()=>[e(C,{ref_key:"formRef",ref:c,model:a,"label-width":"120px",rules:x.value},{default:t(()=>[e(f,null,{default:t(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(_,{label:"启用状态",prop:"localStorageStatus"},{default:t(()=>[e(w,{modelValue:a.localStorageStatus,"onUpdate:modelValue":l[0]||(l[0]=r=>a.localStorageStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:t(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(_,{label:"网站地址",prop:"siteUrl"},{default:t(()=>[e(U,{modelValue:a.siteUrl,"onUpdate:modelValue":l[1]||(l[1]=r=>a.siteUrl=r),placeholder:"网站地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}}});typeof g=="function"&&g(R);export{R as default}; +import{_ as k}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as B,m as j,r as d,a as q,p as n,g as N,c as $,b as e,w as t,h as E,e as s,G as p,j as H,_ as I,k as g}from"./index-6QRvoxq4.js";import{a as v}from"./config-DBls5jtO.js";const M=s("div",{class:"flex items-center gap-4"},"本地存储参数设置",-1),O=s("div",{class:"text-sm/6"},[s("div",null," 开启后将优先使用本地存储方式保存数据,有些场景需开启跨域访问,可能需额外自行解决读写权限问题。 "),s("div",null," 文件存储目录为 /public/file,更新迁移时请做好数据维护及备份。 ")],-1),R=B({__name:"localStorage",setup(A){const a=j({localStorageStatus:"",siteUrl:""}),c=d();async function i(){const o=await v.queryConfig({keys:["localStorageStatus","siteUrl"]});Object.assign(a,o.data)}const x=d({siteUrl:[{required:!0,message:"请输入网站地址",trigger:"blur"}]});function S(){var o;(o=c.value)==null||o.validate(async l=>{if(l){try{await v.setConfig({settings:b(a)}),p.success("变更配置信息成功")}catch{}i()}else p.error("请填写完整信息")})}function b(o){return Object.keys(o).map(l=>({configKey:l,configVal:o[l]}))}return q(()=>{i()}),(o,l)=>{const u=H,y=I,V=k,w=n("el-switch"),_=n("el-form-item"),m=n("el-col"),f=n("el-row"),U=n("el-input"),C=n("el-form"),h=n("el-card");return N(),$("div",null,[e(V,null,{title:t(()=>[M]),content:t(()=>[O]),default:t(()=>[e(y,{outline:"",onClick:S},{default:t(()=>[e(u,{name:"i-ri:file-text-line"}),E(" 保存设置 ")]),_:1})]),_:1}),e(h,{style:{margin:"20px"}},{default:t(()=>[e(C,{ref_key:"formRef",ref:c,model:a,"label-width":"120px",rules:x.value},{default:t(()=>[e(f,null,{default:t(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(_,{label:"启用状态",prop:"localStorageStatus"},{default:t(()=>[e(w,{modelValue:a.localStorageStatus,"onUpdate:modelValue":l[0]||(l[0]=r=>a.localStorageStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:t(()=>[e(m,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(_,{label:"网站地址",prop:"siteUrl"},{default:t(()=>[e(U,{modelValue:a.siteUrl,"onUpdate:modelValue":l[1]||(l[1]=r=>a.siteUrl=r),placeholder:"网站地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}}});typeof g=="function"&&g(R);export{R as default}; diff --git a/public/admin/assets/login-BG_4YoSX.js b/AIWebQuickDeploy/public/admin/assets/login-CWBz1yfa.js similarity index 97% rename from public/admin/assets/login-BG_4YoSX.js rename to AIWebQuickDeploy/public/admin/assets/login-CWBz1yfa.js index dea9e3e..f0f2fc5 100644 --- a/public/admin/assets/login-BG_4YoSX.js +++ b/AIWebQuickDeploy/public/admin/assets/login-CWBz1yfa.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as K,L as N,r as n,c as j,e as i,y as q,M as B,i as e,b as o,w as s,N as F,p as r,f as L,g as M,t as T,v as D,h as v,x as E,j as W,k as w}from"./index-nGFMSQGw.js";const A={class:"min-h-screen flex items-center justify-center bg-gray-100"},H={id:"login-box",class:"min-h-[60vh] min-w-[40vw] items-center rounded-lg bg-gray-50 p-6 shadow-lg"},Q={class:"mb-6 text-center"},X={class:"text-xl text-gray-900 font-bold"},Z={class:"mb-4 flex items-center justify-between"},$="QUlXZWI=",G=K({__name:"login",setup(J){var p;const y=F(),x=L(),V=N(),c="AIWeb",k=atob($);if(!c.includes(k))throw document.body.innerHTML="

",new Error("");const S=n("login"),u=n(!1),R=n(((p=y.query.redirect)==null?void 0:p.toString())??"/"),m=n(),t=n({username:localStorage.login_username||"",password:"",remember:!!localStorage.login_username}),U=n({username:[{required:!0,trigger:"blur",message:"请输入用户名"}],password:[{required:!0,trigger:"blur",message:"请输入密码"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}]});function d(){m.value&&m.value.validate(_=>{_&&(u.value=!0,V.login(t.value).then(()=>{u.value=!1,t.value.remember?localStorage.setItem("login_username",t.value.username):localStorage.removeItem("login_username"),x.push(R.value)}).catch(()=>{u.value=!1}))})}return(_,l)=>{const g=W,f=r("el-icon"),b=r("el-input"),h=r("el-form-item"),z=r("el-checkbox"),C=r("el-button"),I=r("el-form");return M(),j("div",A,[i("div",H,[q(o(I,{ref_key:"loginFormRef",ref:m,model:e(t),rules:e(U),class:"login-form mx-12 my-10",autocomplete:"on"},{default:s(()=>[i("div",Q,[i("h3",X," 欢迎来到 "+T(e(c)),1)]),i("div",null,[o(h,{prop:"username",class:"py-2"},{default:s(()=>[o(b,{modelValue:e(t).username,"onUpdate:modelValue":l[0]||(l[0]=a=>e(t).username=a),placeholder:"用户名",text:"",tabindex:"1",autocomplete:"on",size:"large",class:"h-10"},{prefix:s(()=>[o(f,null,{default:s(()=>[o(g,{name:"ep:user"})]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(h,{prop:"password",class:"py-2"},{default:s(()=>[o(b,{modelValue:e(t).password,"onUpdate:modelValue":l[1]||(l[1]=a=>e(t).password=a),type:"password",placeholder:"密码",tabindex:"2",autocomplete:"on","show-password":"",size:"large",class:"h-10",onKeyup:D(d,["enter"])},{prefix:s(()=>[o(f,null,{default:s(()=>[o(g,{name:"ep:lock"})]),_:1})]),_:1},8,["modelValue"])]),_:1})]),i("div",Z,[o(z,{modelValue:e(t).remember,"onUpdate:modelValue":l[2]||(l[2]=a=>e(t).remember=a),size:"large"},{default:s(()=>[v(" 记住我 ")]),_:1},8,["modelValue"])]),o(C,{loading:e(u),type:"primary",size:"large",class:"w-full",onClick:E(d,["prevent"])},{default:s(()=>[v(" 登录 ")]),_:1},8,["loading"])]),_:1},8,["model","rules"]),[[B,e(S)==="login"]])])])}}});typeof w=="function"&&w(G);export{G as default}; +import{d as K,L as N,r as n,c as j,e as i,y as q,M as B,i as e,b as o,w as s,N as F,p as r,f as L,g as M,t as T,v as D,h as v,x as E,j as W,k as w}from"./index-6QRvoxq4.js";const A={class:"min-h-screen flex items-center justify-center bg-gray-100"},H={id:"login-box",class:"min-h-[60vh] min-w-[40vw] items-center rounded-lg bg-gray-50 p-6 shadow-lg"},Q={class:"mb-6 text-center"},X={class:"text-xl text-gray-900 font-bold"},Z={class:"mb-4 flex items-center justify-between"},$="QUlXZWI=",G=K({__name:"login",setup(J){var p;const y=F(),x=L(),V=N(),c="AIWeb",k=atob($);if(!c.includes(k))throw document.body.innerHTML="

",new Error("");const S=n("login"),u=n(!1),R=n(((p=y.query.redirect)==null?void 0:p.toString())??"/"),m=n(),t=n({username:localStorage.login_username||"",password:"",remember:!!localStorage.login_username}),U=n({username:[{required:!0,trigger:"blur",message:"请输入用户名"}],password:[{required:!0,trigger:"blur",message:"请输入密码"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}]});function d(){m.value&&m.value.validate(_=>{_&&(u.value=!0,V.login(t.value).then(()=>{u.value=!1,t.value.remember?localStorage.setItem("login_username",t.value.username):localStorage.removeItem("login_username"),x.push(R.value)}).catch(()=>{u.value=!1}))})}return(_,l)=>{const g=W,f=r("el-icon"),b=r("el-input"),h=r("el-form-item"),z=r("el-checkbox"),C=r("el-button"),I=r("el-form");return M(),j("div",A,[i("div",H,[q(o(I,{ref_key:"loginFormRef",ref:m,model:e(t),rules:e(U),class:"login-form mx-12 my-10",autocomplete:"on"},{default:s(()=>[i("div",Q,[i("h3",X," 欢迎来到 "+T(e(c)),1)]),i("div",null,[o(h,{prop:"username",class:"py-2"},{default:s(()=>[o(b,{modelValue:e(t).username,"onUpdate:modelValue":l[0]||(l[0]=a=>e(t).username=a),placeholder:"用户名",text:"",tabindex:"1",autocomplete:"on",size:"large",class:"h-10"},{prefix:s(()=>[o(f,null,{default:s(()=>[o(g,{name:"ep:user"})]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(h,{prop:"password",class:"py-2"},{default:s(()=>[o(b,{modelValue:e(t).password,"onUpdate:modelValue":l[1]||(l[1]=a=>e(t).password=a),type:"password",placeholder:"密码",tabindex:"2",autocomplete:"on","show-password":"",size:"large",class:"h-10",onKeyup:D(d,["enter"])},{prefix:s(()=>[o(f,null,{default:s(()=>[o(g,{name:"ep:lock"})]),_:1})]),_:1},8,["modelValue"])]),_:1})]),i("div",Z,[o(z,{modelValue:e(t).remember,"onUpdate:modelValue":l[2]||(l[2]=a=>e(t).remember=a),size:"large"},{default:s(()=>[v(" 记住我 ")]),_:1},8,["modelValue"])]),o(C,{loading:e(u),type:"primary",size:"large",class:"w-full",onClick:E(d,["prevent"])},{default:s(()=>[v(" 登录 ")]),_:1},8,["loading"])]),_:1},8,["model","rules"]),[[B,e(S)==="login"]])])])}}});typeof w=="function"&&w(G);export{G as default}; diff --git a/public/admin/assets/ltzf-Cl69CY0O.js b/AIWebQuickDeploy/public/admin/assets/ltzf-BGADXySl.js similarity index 96% rename from public/admin/assets/ltzf-Cl69CY0O.js rename to AIWebQuickDeploy/public/admin/assets/ltzf-BGADXySl.js index deee56e..3c5e90c 100644 --- a/public/admin/assets/ltzf-Cl69CY0O.js +++ b/AIWebQuickDeploy/public/admin/assets/ltzf-BGADXySl.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as M,m as k,r as _,a as C,p as r,g as N,c as q,b as e,w as t,h as L,e as d,G as y,j as R,_ as B,k as g}from"./index-nGFMSQGw.js";import{a as z}from"./config-CYXO1pNF.js";const j=d("div",{class:"flex items-center gap-4"},"蓝兔支付设置",-1),$=d("div",{class:"text-sm/6"},[d("div",null,[d("a",{href:"https://www.ltzf.cn/",target:"_blank"},"蓝兔支付"),L(" 为第三方支付,接入请购买微信渠道。 ")]),d("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),E=M({__name:"ltzf",setup(H){const a=k({payLtzfStatus:"",payLtzfMchId:"",payLtzfSecret:"",payLtzfNotifyUrl:"",payLtzfReturnUrl:""}),x=_({payLtzfStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payLtzfSecret:[{required:!0,trigger:"blur",message:"请填写商户秘钥"}],payLtzfMchId:[{required:!0,trigger:"blur",message:"请填写商户号"}],payLtzfNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}]}),c=_();async function i(){const n=await z.queryConfig({keys:["payLtzfSecret","payLtzfNotifyUrl","payLtzfReturnUrl","payLtzfMchId","payLtzfStatus"]});Object.assign(a,n.data)}function V(){var n;(n=c.value)==null||n.validate(async l=>{if(l){try{await z.setConfig({settings:b(a)}),y.success("变更配置信息成功")}catch{}i()}else y.error("请填写完整信息")})}function b(n){return Object.keys(n).map(l=>({configKey:l,configVal:n[l]}))}return C(()=>{i()}),(n,l)=>{const m=R,h=B,v=I,S=r("el-switch"),f=r("el-form-item"),u=r("el-col"),s=r("el-row"),p=r("el-input"),U=r("el-form"),w=r("el-card");return N(),q("div",null,[e(v,null,{title:t(()=>[j]),content:t(()=>[$]),default:t(()=>[e(h,{outline:"",onClick:V},{default:t(()=>[e(m,{name:"i-ri:file-text-line"}),L(" 保存设置 ")]),_:1})]),_:1}),e(w,{style:{margin:"20px"}},{default:t(()=>[e(U,{ref_key:"formRef",ref:c,rules:x.value,model:a,"label-width":"120px"},{default:t(()=>[e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"启用当前支付",prop:"payLtzfMchId"},{default:t(()=>[e(S,{modelValue:a.payLtzfStatus,"onUpdate:modelValue":l[0]||(l[0]=o=>a.payLtzfStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"商户号",prop:"payLtzfMchId"},{default:t(()=>[e(p,{modelValue:a.payLtzfMchId,"onUpdate:modelValue":l[1]||(l[1]=o=>a.payLtzfMchId=o),placeholder:"请填写商户号",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"商户密钥",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfSecret,"onUpdate:modelValue":l[2]||(l[2]=o=>a.payLtzfSecret=o),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"支付通知地址",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=o=>a.payLtzfNotifyUrl=o),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"支付回调地址",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=o=>a.payLtzfReturnUrl=o),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(E);export{E as default}; +import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as M,m as k,r as _,a as C,p as r,g as N,c as q,b as e,w as t,h as L,e as d,G as y,j as R,_ as B,k as g}from"./index-6QRvoxq4.js";import{a as z}from"./config-DBls5jtO.js";const j=d("div",{class:"flex items-center gap-4"},"蓝兔支付设置",-1),$=d("div",{class:"text-sm/6"},[d("div",null,[d("a",{href:"https://www.ltzf.cn/",target:"_blank"},"蓝兔支付"),L(" 为第三方支付,接入请购买微信渠道。 ")]),d("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),E=M({__name:"ltzf",setup(H){const a=k({payLtzfStatus:"",payLtzfMchId:"",payLtzfSecret:"",payLtzfNotifyUrl:"",payLtzfReturnUrl:""}),x=_({payLtzfStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payLtzfSecret:[{required:!0,trigger:"blur",message:"请填写商户秘钥"}],payLtzfMchId:[{required:!0,trigger:"blur",message:"请填写商户号"}],payLtzfNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}]}),c=_();async function i(){const n=await z.queryConfig({keys:["payLtzfSecret","payLtzfNotifyUrl","payLtzfReturnUrl","payLtzfMchId","payLtzfStatus"]});Object.assign(a,n.data)}function V(){var n;(n=c.value)==null||n.validate(async l=>{if(l){try{await z.setConfig({settings:b(a)}),y.success("变更配置信息成功")}catch{}i()}else y.error("请填写完整信息")})}function b(n){return Object.keys(n).map(l=>({configKey:l,configVal:n[l]}))}return C(()=>{i()}),(n,l)=>{const m=R,h=B,v=I,S=r("el-switch"),f=r("el-form-item"),u=r("el-col"),s=r("el-row"),p=r("el-input"),U=r("el-form"),w=r("el-card");return N(),q("div",null,[e(v,null,{title:t(()=>[j]),content:t(()=>[$]),default:t(()=>[e(h,{outline:"",onClick:V},{default:t(()=>[e(m,{name:"i-ri:file-text-line"}),L(" 保存设置 ")]),_:1})]),_:1}),e(w,{style:{margin:"20px"}},{default:t(()=>[e(U,{ref_key:"formRef",ref:c,rules:x.value,model:a,"label-width":"120px"},{default:t(()=>[e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"启用当前支付",prop:"payLtzfMchId"},{default:t(()=>[e(S,{modelValue:a.payLtzfStatus,"onUpdate:modelValue":l[0]||(l[0]=o=>a.payLtzfStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"商户号",prop:"payLtzfMchId"},{default:t(()=>[e(p,{modelValue:a.payLtzfMchId,"onUpdate:modelValue":l[1]||(l[1]=o=>a.payLtzfMchId=o),placeholder:"请填写商户号",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"商户密钥",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfSecret,"onUpdate:modelValue":l[2]||(l[2]=o=>a.payLtzfSecret=o),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"支付通知地址",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=o=>a.payLtzfNotifyUrl=o),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:t(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(f,{label:"支付回调地址",prop:"payLtzfSecret"},{default:t(()=>[e(p,{modelValue:a.payLtzfReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=o=>a.payLtzfReturnUrl=o),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(E);export{E as default}; diff --git a/public/admin/assets/lua-BgMRiT3U.js b/AIWebQuickDeploy/public/admin/assets/lua-BgMRiT3U.js similarity index 100% rename from public/admin/assets/lua-BgMRiT3U.js rename to AIWebQuickDeploy/public/admin/assets/lua-BgMRiT3U.js diff --git a/public/admin/assets/marked.esm-8ZxQ78w7.js b/AIWebQuickDeploy/public/admin/assets/marked.esm-8ZxQ78w7.js similarity index 100% rename from public/admin/assets/marked.esm-8ZxQ78w7.js rename to AIWebQuickDeploy/public/admin/assets/marked.esm-8ZxQ78w7.js diff --git a/public/admin/assets/mathematica-DTrFuWx2.js b/AIWebQuickDeploy/public/admin/assets/mathematica-DTrFuWx2.js similarity index 100% rename from public/admin/assets/mathematica-DTrFuWx2.js rename to AIWebQuickDeploy/public/admin/assets/mathematica-DTrFuWx2.js diff --git a/public/admin/assets/mbox-CNhZ1qSd.js b/AIWebQuickDeploy/public/admin/assets/mbox-CNhZ1qSd.js similarity index 100% rename from public/admin/assets/mbox-CNhZ1qSd.js rename to AIWebQuickDeploy/public/admin/assets/mbox-CNhZ1qSd.js diff --git a/public/admin/assets/mirc-CjQqDB4T.js b/AIWebQuickDeploy/public/admin/assets/mirc-CjQqDB4T.js similarity index 100% rename from public/admin/assets/mirc-CjQqDB4T.js rename to AIWebQuickDeploy/public/admin/assets/mirc-CjQqDB4T.js diff --git a/public/admin/assets/mllike-C_8OmSiT.js b/AIWebQuickDeploy/public/admin/assets/mllike-C_8OmSiT.js similarity index 100% rename from public/admin/assets/mllike-C_8OmSiT.js rename to AIWebQuickDeploy/public/admin/assets/mllike-C_8OmSiT.js diff --git a/public/admin/assets/modelica-Dc1JOy9r.js b/AIWebQuickDeploy/public/admin/assets/modelica-Dc1JOy9r.js similarity index 100% rename from public/admin/assets/modelica-Dc1JOy9r.js rename to AIWebQuickDeploy/public/admin/assets/modelica-Dc1JOy9r.js diff --git a/public/admin/assets/mpay-BhEzThlj.js b/AIWebQuickDeploy/public/admin/assets/mpay-02LM1-hB.js similarity index 96% rename from public/admin/assets/mpay-BhEzThlj.js rename to AIWebQuickDeploy/public/admin/assets/mpay-02LM1-hB.js index 59e3e42..9c27044 100644 --- a/public/admin/assets/mpay-BhEzThlj.js +++ b/AIWebQuickDeploy/public/admin/assets/mpay-02LM1-hB.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as D,m as O,r as _,a as j,p as o,g as M,c as g,b as e,w as a,h as b,F as L,s as $,e as s,G as x,j as E,_ as F,t as H,k as V}from"./index-nGFMSQGw.js";import{a as U}from"./config-CYXO1pNF.js";const J=s("div",{class:"flex items-center gap-4"},"码支付设置",-1),z=s("div",{class:"text-sm/6"},[s("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),G=D({__name:"mpay",setup(K){const t=O({payMpayStatus:"",payMpayPid:"",payMpaySecret:"",payMpayNotifyUrl:"",payMpayReturnUrl:"",payMpayApiPayUrl:"",payMpayRedirect:"",payMpayChannel:[]}),C=_({payMpayStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payMpaySecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payMpayPid:[{required:!0,trigger:"blur",message:"请填写商户PID"}],payMpayNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payMpayApiPayUrl:[{required:!0,trigger:"blur",message:"请填写平台支付API请求地址"}]}),i=_(),P=[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}];async function c(){const n=await U.queryConfig({keys:["payMpaySecret","payMpayNotifyUrl","payMpayReturnUrl","payMpayPid","payMpayStatus","payMpayApiPayUrl","payMpayRedirect","payMpayChannel"]}),l=n.data.payMpayChannel?JSON.parse(n.data.payMpayChannel):[];Object.assign(t,n.data,{payMpayChannel:l})}function S(){var n;(n=i.value)==null||n.validate(async l=>{if(l){try{await U.setConfig({settings:v(t)}),x.success("变更配置信息成功")}catch{}c()}else x.error("请填写完整信息")})}function h(n,l){if(["payMpayChannel"].includes(n)){if(!l)return[];if(l)return JSON.stringify(l)}else return l}function v(n){return Object.keys(n).map(l=>({configKey:l,configVal:h(l,n[l])}))}return j(()=>{c()}),(n,l)=>{const m=E,k=F,w=B,N=o("el-switch"),r=o("el-form-item"),u=o("el-col"),y=o("el-row"),d=o("el-input"),f=o("el-divider"),A=o("el-checkbox"),R=o("el-checkbox-group"),q=o("el-form"),I=o("el-card");return M(),g("div",null,[e(w,null,{title:a(()=>[J]),content:a(()=>[z]),default:a(()=>[e(k,{outline:"",onClick:S},{default:a(()=>[e(m,{name:"i-ri:file-text-line"}),b(" 保存设置 ")]),_:1})]),_:1}),e(I,{style:{margin:"20px"}},{default:a(()=>[e(q,{ref_key:"formRef",ref:i,rules:C.value,model:t,"label-width":"120px"},{default:a(()=>[e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"启用当前支付",prop:"payMpayPid"},{default:a(()=>[e(N,{modelValue:t.payMpayStatus,"onUpdate:modelValue":l[0]||(l[0]=p=>t.payMpayStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户PID",prop:"payMpayPid"},{default:a(()=>[e(d,{modelValue:t.payMpayPid,"onUpdate:modelValue":l[1]||(l[1]=p=>t.payMpayPid=p),placeholder:"请填写商户PID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户秘钥",prop:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpaySecret,"onUpdate:modelValue":l[2]||(l[2]=p=>t.payMpaySecret=p),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付通知地址",prop:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpayNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=p=>t.payMpayNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付回调地址",prop:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpayReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=p=>t.payMpayReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付请求地址",prop:"payMpayApiPayUrl"},{default:a(()=>[e(d,{modelValue:t.payMpayApiPayUrl,"onUpdate:modelValue":l[5]||(l[5]=p=>t.payMpayApiPayUrl=p),placeholder:"请填写平台支付请求地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),e(y,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(r,{label:"开启支付渠道",prop:"payMpayChannel"},{default:a(()=>[e(R,{modelValue:t.payMpayChannel,"onUpdate:modelValue":l[6]||(l[6]=p=>t.payMpayChannel=p),size:"small"},{default:a(()=>[(M(),g(L,null,$(P,p=>e(A,{key:p.value,border:"",label:p.value},{default:a(()=>[b(H(p.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof V=="function"&&V(G);export{G as default}; +import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as D,m as O,r as _,a as j,p as o,g as M,c as g,b as e,w as a,h as b,F as L,s as $,e as s,G as x,j as E,_ as F,t as H,k as V}from"./index-6QRvoxq4.js";import{a as U}from"./config-DBls5jtO.js";const J=s("div",{class:"flex items-center gap-4"},"码支付设置",-1),z=s("div",{class:"text-sm/6"},[s("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),G=D({__name:"mpay",setup(K){const t=O({payMpayStatus:"",payMpayPid:"",payMpaySecret:"",payMpayNotifyUrl:"",payMpayReturnUrl:"",payMpayApiPayUrl:"",payMpayRedirect:"",payMpayChannel:[]}),C=_({payMpayStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payMpaySecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payMpayPid:[{required:!0,trigger:"blur",message:"请填写商户PID"}],payMpayNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payMpayApiPayUrl:[{required:!0,trigger:"blur",message:"请填写平台支付API请求地址"}]}),i=_(),P=[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}];async function c(){const n=await U.queryConfig({keys:["payMpaySecret","payMpayNotifyUrl","payMpayReturnUrl","payMpayPid","payMpayStatus","payMpayApiPayUrl","payMpayRedirect","payMpayChannel"]}),l=n.data.payMpayChannel?JSON.parse(n.data.payMpayChannel):[];Object.assign(t,n.data,{payMpayChannel:l})}function S(){var n;(n=i.value)==null||n.validate(async l=>{if(l){try{await U.setConfig({settings:v(t)}),x.success("变更配置信息成功")}catch{}c()}else x.error("请填写完整信息")})}function h(n,l){if(["payMpayChannel"].includes(n)){if(!l)return[];if(l)return JSON.stringify(l)}else return l}function v(n){return Object.keys(n).map(l=>({configKey:l,configVal:h(l,n[l])}))}return j(()=>{c()}),(n,l)=>{const m=E,k=F,w=B,N=o("el-switch"),r=o("el-form-item"),u=o("el-col"),y=o("el-row"),d=o("el-input"),f=o("el-divider"),A=o("el-checkbox"),R=o("el-checkbox-group"),q=o("el-form"),I=o("el-card");return M(),g("div",null,[e(w,null,{title:a(()=>[J]),content:a(()=>[z]),default:a(()=>[e(k,{outline:"",onClick:S},{default:a(()=>[e(m,{name:"i-ri:file-text-line"}),b(" 保存设置 ")]),_:1})]),_:1}),e(I,{style:{margin:"20px"}},{default:a(()=>[e(q,{ref_key:"formRef",ref:i,rules:C.value,model:t,"label-width":"120px"},{default:a(()=>[e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"启用当前支付",prop:"payMpayPid"},{default:a(()=>[e(N,{modelValue:t.payMpayStatus,"onUpdate:modelValue":l[0]||(l[0]=p=>t.payMpayStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户PID",prop:"payMpayPid"},{default:a(()=>[e(d,{modelValue:t.payMpayPid,"onUpdate:modelValue":l[1]||(l[1]=p=>t.payMpayPid=p),placeholder:"请填写商户PID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户秘钥",prop:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpaySecret,"onUpdate:modelValue":l[2]||(l[2]=p=>t.payMpaySecret=p),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付通知地址",prop:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpayNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=p=>t.payMpayNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付回调地址",prop:"payMpaySecret"},{default:a(()=>[e(d,{modelValue:t.payMpayReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=p=>t.payMpayReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付请求地址",prop:"payMpayApiPayUrl"},{default:a(()=>[e(d,{modelValue:t.payMpayApiPayUrl,"onUpdate:modelValue":l[5]||(l[5]=p=>t.payMpayApiPayUrl=p),placeholder:"请填写平台支付请求地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),e(y,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(r,{label:"开启支付渠道",prop:"payMpayChannel"},{default:a(()=>[e(R,{modelValue:t.payMpayChannel,"onUpdate:modelValue":l[6]||(l[6]=p=>t.payMpayChannel=p),size:"small"},{default:a(()=>[(M(),g(L,null,$(P,p=>e(A,{key:p.value,border:"",label:p.value},{default:a(()=>[b(H(p.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof V=="function"&&V(G);export{G as default}; diff --git a/public/admin/assets/mscgen-BA5vi2Kp.js b/AIWebQuickDeploy/public/admin/assets/mscgen-BA5vi2Kp.js similarity index 100% rename from public/admin/assets/mscgen-BA5vi2Kp.js rename to AIWebQuickDeploy/public/admin/assets/mscgen-BA5vi2Kp.js diff --git a/public/admin/assets/mumps-BT43cFF4.js b/AIWebQuickDeploy/public/admin/assets/mumps-BT43cFF4.js similarity index 100% rename from public/admin/assets/mumps-BT43cFF4.js rename to AIWebQuickDeploy/public/admin/assets/mumps-BT43cFF4.js diff --git a/public/admin/assets/nginx-DdIZxoE0.js b/AIWebQuickDeploy/public/admin/assets/nginx-DdIZxoE0.js similarity index 100% rename from public/admin/assets/nginx-DdIZxoE0.js rename to AIWebQuickDeploy/public/admin/assets/nginx-DdIZxoE0.js diff --git a/public/admin/assets/notice-CN8MQARu.js b/AIWebQuickDeploy/public/admin/assets/notice-Dl9A1sfn.js similarity index 95% rename from public/admin/assets/notice-CN8MQARu.js rename to AIWebQuickDeploy/public/admin/assets/notice-Dl9A1sfn.js index d6aefa3..65ef588 100644 --- a/public/admin/assets/notice-CN8MQARu.js +++ b/AIWebQuickDeploy/public/admin/assets/notice-Dl9A1sfn.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as $,u as q,m as B,n as E,r as _,a as H,p as s,g as M,c as j,b as e,w as o,h as P,i as R,e as g,G as f,H as D,j as F,_ as G,k as x}from"./index-nGFMSQGw.js";import{a as h}from"./config-CYXO1pNF.js";import{E as K}from"./style-CY8tkffG.js";const L=g("div",{class:"flex items-center gap-4"},"公告设置说明",-1),z=g("div",{class:"text-sm/6"},[g("div",null," 公告设置用于配置用户端显示的公告页面。支持使用Markdown语法或HTML标签来创建内容,为灵活的内容格式提供便利。 ")],-1),J=$({__name:"notice",setup(Q){const V=q(),a=B({isAutoOpenNotice:"",noticeInfo:"",noticeTitle:""});E(()=>V.settings.app.colorScheme);const C=_({noticeTitle:[{required:!0,trigger:"blur",message:"请填写公告标题"}],noticeInfo:[{required:!0,trigger:"blur",message:"请填写公告具体信息"}]}),y=_();async function v(){const n=await h.queryConfig({keys:["noticeInfo","noticeTitle","isAutoOpenNotice"]}),{noticeInfo:t,noticeTitle:c,isAutoOpenNotice:i}=n.data;t&&Object.assign(a,{noticeInfo:t,noticeTitle:c,isAutoOpenNotice:i})}function I(){var n;(n=y.value)==null||n.validate(async t=>{if(t){try{await h.setConfig({settings:O(a)}),f.success("变更配置信息成功")}catch{}v()}else f.error("请填写完整信息")})}const b=_(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);function O(n){return Object.keys(n).map(t=>({configKey:t,configVal:n[t]}))}function T(n){}async function N(n,t){const c=await Promise.all(Array.from(n).map(i=>new Promise(async(d,p)=>{var r;const u=new FormData;u.append("file",i);try{const l=await D.post(b.value,u,{headers:{"Content-Type":"multipart/form-data"}});(r=l==null?void 0:l.data)!=null&&r.data||f.error("图片上传失败、请检查您的配置信息!"),d(l.data.data)}catch(l){f.error(l||"图片上传失败、请检查您的配置信息!"),p(l)}})));t(c.map(i=>i)),f({message:"图片上传成功!",type:"success"})}return H(()=>{v()}),(n,t)=>{const c=F,i=G,d=S,p=s("el-input"),u=s("el-form-item"),r=s("el-col"),l=s("el-switch"),k=s("el-tooltip"),w=s("el-row"),A=s("el-form"),U=s("el-card");return M(),j("div",null,[e(d,null,{title:o(()=>[L]),content:o(()=>[z]),default:o(()=>[e(i,{outline:"",onClick:I},{default:o(()=>[e(c,{name:"i-ri:file-text-line"}),P(" 保存设置 ")]),_:1})]),_:1}),e(U,{style:{margin:"20px"}},{default:o(()=>[e(A,{ref_key:"formRef",ref:y,rules:C.value,model:a,"label-width":"120px"},{default:o(()=>[e(w,null,{default:o(()=>[e(r,{xs:24,md:20,lg:15,xl:10},{default:o(()=>[e(u,{label:"公告标题",prop:"noticeTitle"},{default:o(()=>[e(p,{modelValue:a.noticeTitle,"onUpdate:modelValue":t[0]||(t[0]=m=>a.noticeTitle=m),rows:1,placeholder:"公告标题",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{offset:2,xs:24,md:20,lg:15,xl:10},{default:o(()=>[e(u,{label:"自动打开公告",prop:"isAutoOpenNotice"},{default:o(()=>[e(k,{content:"设为自动打开则网站初始化会打开、用户仍可以选择24小时不再查看、选择关闭则不会主动打开!",placement:"top","show-after":500},{default:o(()=>[e(l,{modelValue:a.isAutoOpenNotice,"onUpdate:modelValue":t[1]||(t[1]=m=>a.isAutoOpenNotice=m),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{xs:24,md:20,lg:15,xl:12})]),_:1})]),_:1}),e(w,null,{default:o(()=>[e(r,{span:24},{default:o(()=>[e(u,{label:"公告信息",prop:"noticeInfo"},{default:o(()=>[e(R(K),{modelValue:a.noticeInfo,"onUpdate:modelValue":t[2]||(t[2]=m=>a.noticeInfo=m),style:{"min-height":"80vh"},onOnChange:T,onOnUploadImg:N},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof x=="function"&&x(J);export{J as default}; +import{_ as S}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as $,u as q,m as B,n as E,r as _,a as H,p as s,g as M,c as j,b as e,w as o,h as P,i as R,e as g,G as f,H as D,j as F,_ as G,k as x}from"./index-6QRvoxq4.js";import{a as h}from"./config-DBls5jtO.js";import{E as K}from"./style-CSuzBWCF.js";const L=g("div",{class:"flex items-center gap-4"},"公告设置说明",-1),z=g("div",{class:"text-sm/6"},[g("div",null," 公告设置用于配置用户端显示的公告页面。支持使用Markdown语法或HTML标签来创建内容,为灵活的内容格式提供便利。 ")],-1),J=$({__name:"notice",setup(Q){const V=q(),a=B({isAutoOpenNotice:"",noticeInfo:"",noticeTitle:""});E(()=>V.settings.app.colorScheme);const C=_({noticeTitle:[{required:!0,trigger:"blur",message:"请填写公告标题"}],noticeInfo:[{required:!0,trigger:"blur",message:"请填写公告具体信息"}]}),y=_();async function v(){const n=await h.queryConfig({keys:["noticeInfo","noticeTitle","isAutoOpenNotice"]}),{noticeInfo:t,noticeTitle:c,isAutoOpenNotice:i}=n.data;t&&Object.assign(a,{noticeInfo:t,noticeTitle:c,isAutoOpenNotice:i})}function I(){var n;(n=y.value)==null||n.validate(async t=>{if(t){try{await h.setConfig({settings:O(a)}),f.success("变更配置信息成功")}catch{}v()}else f.error("请填写完整信息")})}const b=_(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);function O(n){return Object.keys(n).map(t=>({configKey:t,configVal:n[t]}))}function T(n){}async function N(n,t){const c=await Promise.all(Array.from(n).map(i=>new Promise(async(d,p)=>{var r;const u=new FormData;u.append("file",i);try{const l=await D.post(b.value,u,{headers:{"Content-Type":"multipart/form-data"}});(r=l==null?void 0:l.data)!=null&&r.data||f.error("图片上传失败、请检查您的配置信息!"),d(l.data.data)}catch(l){f.error(l||"图片上传失败、请检查您的配置信息!"),p(l)}})));t(c.map(i=>i)),f({message:"图片上传成功!",type:"success"})}return H(()=>{v()}),(n,t)=>{const c=F,i=G,d=S,p=s("el-input"),u=s("el-form-item"),r=s("el-col"),l=s("el-switch"),k=s("el-tooltip"),w=s("el-row"),A=s("el-form"),U=s("el-card");return M(),j("div",null,[e(d,null,{title:o(()=>[L]),content:o(()=>[z]),default:o(()=>[e(i,{outline:"",onClick:I},{default:o(()=>[e(c,{name:"i-ri:file-text-line"}),P(" 保存设置 ")]),_:1})]),_:1}),e(U,{style:{margin:"20px"}},{default:o(()=>[e(A,{ref_key:"formRef",ref:y,rules:C.value,model:a,"label-width":"120px"},{default:o(()=>[e(w,null,{default:o(()=>[e(r,{xs:24,md:20,lg:15,xl:10},{default:o(()=>[e(u,{label:"公告标题",prop:"noticeTitle"},{default:o(()=>[e(p,{modelValue:a.noticeTitle,"onUpdate:modelValue":t[0]||(t[0]=m=>a.noticeTitle=m),rows:1,placeholder:"公告标题",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{offset:2,xs:24,md:20,lg:15,xl:10},{default:o(()=>[e(u,{label:"自动打开公告",prop:"isAutoOpenNotice"},{default:o(()=>[e(k,{content:"设为自动打开则网站初始化会打开、用户仍可以选择24小时不再查看、选择关闭则不会主动打开!",placement:"top","show-after":500},{default:o(()=>[e(l,{modelValue:a.isAutoOpenNotice,"onUpdate:modelValue":t[1]||(t[1]=m=>a.isAutoOpenNotice=m),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1}),e(r,{xs:24,md:20,lg:15,xl:12})]),_:1})]),_:1}),e(w,null,{default:o(()=>[e(r,{span:24},{default:o(()=>[e(u,{label:"公告信息",prop:"noticeInfo"},{default:o(()=>[e(R(K),{modelValue:a.noticeInfo,"onUpdate:modelValue":t[2]||(t[2]=m=>a.noticeInfo=m),style:{"min-height":"80vh"},onOnChange:T,onOnUploadImg:N},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof x=="function"&&x(J);export{J as default}; diff --git a/public/admin/assets/nsis-CEAdamBV.js b/AIWebQuickDeploy/public/admin/assets/nsis-CEAdamBV.js similarity index 100% rename from public/admin/assets/nsis-CEAdamBV.js rename to AIWebQuickDeploy/public/admin/assets/nsis-CEAdamBV.js diff --git a/public/admin/assets/ntriples-BfvgReVJ.js b/AIWebQuickDeploy/public/admin/assets/ntriples-BfvgReVJ.js similarity index 100% rename from public/admin/assets/ntriples-BfvgReVJ.js rename to AIWebQuickDeploy/public/admin/assets/ntriples-BfvgReVJ.js diff --git a/public/admin/assets/octave-Ck1zUtKM.js b/AIWebQuickDeploy/public/admin/assets/octave-Ck1zUtKM.js similarity index 100% rename from public/admin/assets/octave-Ck1zUtKM.js rename to AIWebQuickDeploy/public/admin/assets/octave-Ck1zUtKM.js diff --git a/public/admin/assets/oz-BzwKVEFT.js b/AIWebQuickDeploy/public/admin/assets/oz-BzwKVEFT.js similarity index 100% rename from public/admin/assets/oz-BzwKVEFT.js rename to AIWebQuickDeploy/public/admin/assets/oz-BzwKVEFT.js diff --git a/public/admin/assets/package-DNsyP8d5.js b/AIWebQuickDeploy/public/admin/assets/package-B_VYKnha.js similarity index 88% rename from public/admin/assets/package-DNsyP8d5.js rename to AIWebQuickDeploy/public/admin/assets/package-B_VYKnha.js index bb92349..8e37562 100644 --- a/public/admin/assets/package-DNsyP8d5.js +++ b/AIWebQuickDeploy/public/admin/assets/package-B_VYKnha.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{I as e}from"./index-nGFMSQGw.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}; +import{I as e}from"./index-6QRvoxq4.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}; diff --git a/AIWebQuickDeploy/public/admin/assets/package-nRT1s46o.js b/AIWebQuickDeploy/public/admin/assets/package-nRT1s46o.js new file mode 100644 index 0000000..5a0e14c --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/package-nRT1s46o.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as me}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as ce,r as c,m as x,n as j,a as fe,p as u,q as _e,g as C,c as T,b as e,w as l,h as d,F as ge,s as be,i as h,y as ve,z as S,t as k,e as v,B as ye,G as y,E as we,j as Ve,_ as Ce,k as D}from"./index-6QRvoxq4.js";import{A as U}from"./package-B_VYKnha.js";import{i as he,I as ke}from"./index-BE-LteFu.js";import{u as Ue}from"./utcformatTime-Bq4gDWNx.js";const Ie=v("div",{class:"flex items-center gap-4"},"套餐设置",-1),xe=v("div",{class:"text-sm/6"},[v("div",null," 套餐分为不限时套餐和限时套餐。不限时充值积分永不过期,限时套餐在规定时间未使用完毕将清空剩余积分。 "),v("div",null," 如果充值的套餐等级高于或等于当前套餐等级,则叠加充值额度并延长会员到期时间。 "),v("div",null," 如果充值的套餐等级低于当前套餐等级,则只叠加充值额度,不延长会员到期时间也不改变会员等级。 "),d(" 请仔细阅读以上内容并合理配置,套餐有效时间设为-1即为不限时套餐。 ")],-1),Me={class:"mr-5 flex justify-end"},qe=ce({__name:"package",setup(ze){const B=c(`/api/upload/file?dir=${encodeURIComponent("system/others")}`),M=c(),q=c(0),b=c(!1),w=c(!1),m=x({name:"",page:1,size:10,status:""}),V=c(),f=c(0),o=x({name:null,des:null,coverImg:null,price:null,order:null,status:0,weight:null,days:null,model3Count:null,model4Count:null,drawMjCount:null}),F=x({name:[{required:!0,message:"请填写套餐名称",trigger:"blur"}],des:[{required:!0,message:"请填写套餐的详细描述",trigger:"blur"}],deductionType:[{required:!0,message:"请选择扣费形式",trigger:"change"}],coverImg:[{required:!0,message:"请填写或上传封面图地址",trigger:"blur"}],price:[{required:!0,message:"请填写套餐价格",trigger:"blur"}],order:[{required:!0,message:"请填写套餐排序",trigger:"blur"}],status:[{required:!0,message:"请选择套餐开启状态",trigger:"change"}],days:[{required:!0,message:"请填写套餐有效期天数",trigger:"blur"}],model3Count:[{required:!0,message:"请填写套餐中基础模型可使用次数",trigger:"blur"}],model4Count:[{required:!0,message:"请填写套餐中高级模型可使用次数",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写套餐中抽奖次数",trigger:"blur"}]}),z=c([]);async function _(){try{w.value=!0;const n=await U.queryAllPackage(m);w.value=!1;const{rows:a,count:I}=n.data;q.value=I,z.value=a}catch{w.value=!1}}function N(n){n==null||n.resetFields(),_()}const R=n=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(n.type)){if(n.size/1024>2e3)return y.error("当前限制文件最大不超过 2000KB!"),!1}else return y.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1;return!0},G=(n,a)=>{o.coverImg=n.data};async function O(n){await U.delPackage({id:n}),y({type:"success",message:"删除套餐成功!"}),_()}function Y(n){f.value=n.id,we(()=>{Object.assign(o,n),o==null||delete o.createdAt,o==null||delete o.updatedAt,o==null||delete o.deletedAt,o==null||delete o.id}),b.value=!0}const H=j(()=>f.value?"更新套餐":"新增套餐"),K=j(()=>f.value?"确认更新":"确认新增");function L(){var n;f.value=0,b.value=!0,(n=V.value)==null||n.resetFields()}function J(n){f.value=0,n==null||n.resetFields()}async function W(n){n==null||n.validate(async a=>{a&&(f.value?(await U.updatePackage({id:f.value,...o}),y({type:"success",message:"更新套餐成功!"})):(await U.createPackage(o),y({type:"success",message:"创建新的套餐成功!"})),b.value=!1,_())})}return fe(()=>{_()}),(n,a)=>{const I=Ve,Q=Ce,X=me,Z=u("el-option"),E=u("el-select"),r=u("el-form-item"),g=u("el-button"),A=u("el-form"),P=pe,s=u("el-table-column"),ee=u("el-image"),le=u("el-tag"),te=u("el-popconfirm"),ae=u("el-table"),oe=u("el-pagination"),$=u("el-row"),i=u("el-input"),p=u("el-col"),ne=u("el-switch"),ue=u("el-icon"),re=u("el-upload"),se=u("el-dialog"),de=_e("loading");return C(),T("div",null,[e(X,null,{title:l(()=>[Ie]),content:l(()=>[xe]),default:l(()=>[e(Q,{outline:"",onClick:L},{default:l(()=>[e(I,{name:"ic:baseline-plus"}),d(" 创建套餐 ")]),_:1})]),_:1}),e(P,null,{default:l(()=>[e(A,{ref_key:"formRef",ref:M,inline:!0,model:m},{default:l(()=>[e(r,{label:"套餐状态",prop:"status"},{default:l(()=>[e(E,{modelValue:m.status,"onUpdate:modelValue":a[0]||(a[0]=t=>m.status=t),placeholder:"请选择套餐状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(C(!0),T(ge,null,be(h(he),t=>(C(),S(Z,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(r,null,{default:l(()=>[e(g,{type:"primary",onClick:_},{default:l(()=>[d(" 查询 ")]),_:1}),e(g,{onClick:a[1]||(a[1]=t=>N(M.value))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(P,{style:{width:"100%"}},{default:l(()=>[ve((C(),S(ae,{border:"",data:z.value,style:{width:"100%"},size:"large"},{default:l(()=>[e(s,{fixed:"",prop:"name",label:"套餐名称",width:"150"}),e(s,{prop:"order",label:"排序ID",align:"center",width:"100"}),e(s,{prop:"coverImg",label:"套餐封面",width:"150",align:"center"},{default:l(t=>[e(ee,{style:{height:"50px"},src:t.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),e(s,{prop:"price",label:"套餐价格",width:"100",align:"center"}),e(s,{prop:"weight",label:"套餐等级",width:"100",align:"center"}),e(s,{prop:"status",label:"套餐状态",width:"100"},{default:l(t=>[e(le,{type:"info"},{default:l(()=>[d(k(h(ke)[t.row.status]),1)]),_:2},1024)]),_:1}),e(s,{prop:"days",label:"套餐有效期",width:"120"},{default:l(t=>[d(k(t.row.days>0?`${t.row.days}天`:"永久"),1)]),_:1}),e(s,{prop:"model3Count",label:"基础模型额度",width:"100"}),e(s,{prop:"model4Count",label:"高级模型额度",width:"100"}),e(s,{prop:"drawMjCount",label:"绘画额度",width:"100"}),e(s,{prop:"des",label:"套餐描述",width:"300"}),e(s,{prop:"createdAt",label:"创建时间",width:"200"},{default:l(t=>[d(k(h(Ue)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(s,{fixed:"right",label:"操作",width:"200"},{default:l(t=>[e(g,{link:"",type:"primary",size:"small",onClick:ie=>Y(t.row)},{default:l(()=>[d(" 修改套餐 ")]),_:2},1032,["onClick"]),e(te,{title:"确认删除此套餐么?",width:"200","icon-color":"red",onConfirm:ie=>O(t.row)},{reference:l(()=>[e(g,{link:"",type:"danger",size:"small"},{default:l(()=>[d(" 删除套餐 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[de,w.value]]),e($,{class:"mt-5 flex justify-end"},{default:l(()=>[e(oe,{"current-page":m.page,"onUpdate:currentPage":a[2]||(a[2]=t=>m.page=t),"page-size":m.size,"onUpdate:pageSize":a[3]||(a[3]=t=>m.size=t),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:q.value,onSizeChange:_,onCurrentChange:_},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(se,{modelValue:b.value,"onUpdate:modelValue":a[17]||(a[17]=t=>b.value=t),"close-on-click-modal":!1,title:H.value,width:"970",onClose:a[18]||(a[18]=t=>J(V.value))},{footer:l(()=>[v("span",Me,[e(g,{onClick:a[15]||(a[15]=t=>b.value=!1)},{default:l(()=>[d("取消")]),_:1}),e(g,{type:"primary",onClick:a[16]||(a[16]=t=>W(V.value))},{default:l(()=>[d(k(K.value),1)]),_:1})])]),default:l(()=>[e(A,{ref_key:"formPackageRef",ref:V,"label-position":"right","label-width":"120px",model:o,rules:F},{default:l(()=>[e($,null,{default:l(()=>[e(p,{span:11},{default:l(()=>[e(r,{label:"套餐详细名称",prop:"name"},{default:l(()=>[e(i,{modelValue:o.name,"onUpdate:modelValue":a[4]||(a[4]=t=>o.name=t),placeholder:"请填写套餐名称"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:3,offset:2},{default:l(()=>[e(r,{label:"套餐开启状态",prop:"status"},{default:l(()=>[e(ne,{modelValue:o.status,"onUpdate:modelValue":a[5]||(a[5]=t=>o.status=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:7,offset:1},{default:l(()=>[e(r,{label:"套餐等级",prop:"status"},{default:l(()=>[e(i,{modelValue:o.weight,"onUpdate:modelValue":a[6]||(a[6]=t=>o.weight=t),modelModifiers:{number:!0},type:"number",placeholder:"设置套餐等级"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11},{default:l(()=>[e(r,{label:"设置套餐价格",prop:"price"},{default:l(()=>[e(i,{modelValue:o.price,"onUpdate:modelValue":a[7]||(a[7]=t=>o.price=t),modelModifiers:{number:!0},placeholder:"请填写套餐价格(¥)最多两位小数",type:"number"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"套餐有效时间",prop:"days"},{default:l(()=>[e(i,{modelValue:o.days,"onUpdate:modelValue":a[8]||(a[8]=t=>o.days=t),modelModifiers:{number:!0},type:"number",placeholder:"自卡密生成之日有效天数、-1为永久"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:9},{default:l(()=>[e(r,{label:"设置套餐封面",prop:"coverImg"},{default:l(()=>[e(i,{modelValue:o.coverImg,"onUpdate:modelValue":a[9]||(a[9]=t=>o.coverImg=t),class:"flex-1",placeholder:"填写封面地址或点击上传"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:2},{default:l(()=>[e(re,{class:"avatar-uploader",action:B.value,"show-file-list":!1,"on-success":G,"before-upload":R},{default:l(()=>[e(g,null,{default:l(()=>[e(ue,null,{default:l(()=>[e(h(ye))]),_:1})]),_:1})]),_:1},8,["action"])]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"设置套餐排序",prop:"order"},{default:l(()=>[e(i,{modelValue:o.order,"onUpdate:modelValue":a[10]||(a[10]=t=>o.order=t),modelModifiers:{number:!0},type:"number",placeholder:"排序数字越大越靠前|套餐权重等级则反之"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11},{default:l(()=>[e(r,{label:"设置套餐描述",prop:"des"},{default:l(()=>[e(i,{modelValue:o.des,"onUpdate:modelValue":a[11]||(a[11]=t=>o.des=t),type:"textarea",placeholder:"请填写套餐详细介绍信息、用于对外展示、建议控制套餐价格字数以便于用户端对齐格式...",rows:6},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"基础模型积分",prop:"model3Count"},{default:l(()=>[e(i,{modelValue:o.model3Count,"onUpdate:modelValue":a[12]||(a[12]=t=>o.model3Count=t),modelModifiers:{number:!0},type:"number",placeholder:"基础模型积分"},null,8,["modelValue"])]),_:1}),e(r,{label:"高级模型积分",prop:"model4Count"},{default:l(()=>[e(i,{modelValue:o.model4Count,"onUpdate:modelValue":a[13]||(a[13]=t=>o.model4Count=t),modelModifiers:{number:!0},type:"number",placeholder:"高级模型积分"},null,8,["modelValue"])]),_:1}),e(r,{label:"绘画模型积分",prop:"drawMjCount"},{default:l(()=>[e(i,{modelValue:o.drawMjCount,"onUpdate:modelValue":a[14]||(a[14]=t=>o.drawMjCount=t),modelModifiers:{number:!0},type:"number",placeholder:"绘画模型积分"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof D=="function"&&D(qe);export{qe as default}; diff --git a/public/admin/assets/pascal-B1wCu0_E.js b/AIWebQuickDeploy/public/admin/assets/pascal-B1wCu0_E.js similarity index 100% rename from public/admin/assets/pascal-B1wCu0_E.js rename to AIWebQuickDeploy/public/admin/assets/pascal-B1wCu0_E.js diff --git a/public/admin/assets/perl-CdXCOZ3F.js b/AIWebQuickDeploy/public/admin/assets/perl-CdXCOZ3F.js similarity index 100% rename from public/admin/assets/perl-CdXCOZ3F.js rename to AIWebQuickDeploy/public/admin/assets/perl-CdXCOZ3F.js diff --git a/public/admin/assets/phone-BdMZVeeU.js b/AIWebQuickDeploy/public/admin/assets/phone-DvRFs8Iq.js similarity index 97% rename from public/admin/assets/phone-BdMZVeeU.js rename to AIWebQuickDeploy/public/admin/assets/phone-DvRFs8Iq.js index b656d8f..4053cab 100644 --- a/public/admin/assets/phone-BdMZVeeU.js +++ b/AIWebQuickDeploy/public/admin/assets/phone-DvRFs8Iq.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as k,m as N,r as g,a as q,p as s,g as T,c as L,b as e,w as l,h as m,e as d,G as h,j as U,_ as B,k as y}from"./index-nGFMSQGw.js";import{a as P}from"./config-CYXO1pNF.js";const j=d("div",{class:"flex items-center gap-4"},"手机验证码登录设置",-1),D=d("div",{class:"text-sm/6"},[d("div",null,[m(" 手机验证使用"),d("a",{href:"https://dysms.console.aliyun.com/overview",target:"_blank"},"阿里云短信服务"),m(",请先申请好签名模板以及获取到您的秘钥信息。 ")]),d("div",null,"当您配置并开启后则表示开启用户端手机号注册的行为!")],-1),$=k({__name:"phone",setup(E){const a=N({phoneLoginStatus:"",aliPhoneAccessKeyId:"",aliPhoneAccessKeySecret:"",aliPhoneSignName:"",aliPhoneTemplateCode:""}),S=g({phoneLoginStatus:[{required:!1,trigger:"blur",message:"请选择是否开启手机号登录"}],aliPhoneAccessKeyId:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务accessKeyId"}],aliPhoneAccessKeySecret:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务accessKeySecret"}],aliPhoneSignName:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务的模板签名"}],aliPhoneTemplateCode:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务的模板ID"}]}),p=g();async function f(){const n=await P.queryConfig({keys:["phoneLoginStatus","aliPhoneAccessKeyId","aliPhoneAccessKeySecret","aliPhoneSignName","aliPhoneTemplateCode"]});Object.assign(a,n.data)}function b(){var n;(n=p.value)==null||n.validate(async o=>{if(o){try{await P.setConfig({settings:x(a)}),h.success("变更配置信息成功")}catch{}f()}else h.error("请填写完整信息")})}function x(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}return q(()=>{f()}),(n,o)=>{const _=U,K=B,V=I,v=s("el-switch"),A=s("el-tooltip"),c=s("el-form-item"),r=s("el-col"),i=s("el-row"),u=s("el-input"),w=s("el-form"),C=s("el-card");return T(),L("div",null,[e(V,null,{title:l(()=>[j]),content:l(()=>[D]),default:l(()=>[e(K,{text:"",outline:"",onClick:b},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),m(" 保存设置 ")]),_:1})]),_:1}),e(C,{style:{margin:"20px"}},{default:l(()=>[e(w,{ref_key:"formRef",ref:p,rules:S.value,model:a,"label-width":"170px"},{default:l(()=>[e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"开启手机号注册/登录",prop:"phoneLoginStatus"},{default:l(()=>[e(A,{class:"box-item",effect:"dark",content:"如您启用短信登录、则用户端则可以通过手机号的方式登录!",placement:"right"},{default:l(()=>[e(v,{modelValue:a.phoneLoginStatus,"onUpdate:modelValue":o[0]||(o[0]=t=>a.phoneLoginStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"AccessKeyId",prop:"aliPhoneAccessKeyId"},{default:l(()=>[e(u,{modelValue:a.aliPhoneAccessKeyId,"onUpdate:modelValue":o[1]||(o[1]=t=>a.aliPhoneAccessKeyId=t),placeholder:"请填写AccessKeyId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"AccessKeySecret",prop:"aliPhoneAccessKeySecret"},{default:l(()=>[e(u,{modelValue:a.aliPhoneAccessKeySecret,"onUpdate:modelValue":o[2]||(o[2]=t=>a.aliPhoneAccessKeySecret=t),placeholder:"请填写AccessKeySecret",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"短信签名",prop:"aliPhoneSignName"},{default:l(()=>[e(u,{modelValue:a.aliPhoneSignName,"onUpdate:modelValue":o[3]||(o[3]=t=>a.aliPhoneSignName=t),placeholder:"请填写您申请的短信签名",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"短信模板ID",prop:"aliPhoneTemplateCode"},{default:l(()=>[e(u,{modelValue:a.aliPhoneTemplateCode,"onUpdate:modelValue":o[4]||(o[4]=t=>a.aliPhoneTemplateCode=t),placeholder:"请填写短信模板ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof y=="function"&&y($);export{$ as default}; +import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as k,m as N,r as g,a as q,p as s,g as T,c as L,b as e,w as l,h as m,e as d,G as h,j as U,_ as B,k as y}from"./index-6QRvoxq4.js";import{a as P}from"./config-DBls5jtO.js";const j=d("div",{class:"flex items-center gap-4"},"手机验证码登录设置",-1),D=d("div",{class:"text-sm/6"},[d("div",null,[m(" 手机验证使用"),d("a",{href:"https://dysms.console.aliyun.com/overview",target:"_blank"},"阿里云短信服务"),m(",请先申请好签名模板以及获取到您的秘钥信息。 ")]),d("div",null,"当您配置并开启后则表示开启用户端手机号注册的行为!")],-1),$=k({__name:"phone",setup(E){const a=N({phoneLoginStatus:"",aliPhoneAccessKeyId:"",aliPhoneAccessKeySecret:"",aliPhoneSignName:"",aliPhoneTemplateCode:""}),S=g({phoneLoginStatus:[{required:!1,trigger:"blur",message:"请选择是否开启手机号登录"}],aliPhoneAccessKeyId:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务accessKeyId"}],aliPhoneAccessKeySecret:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务accessKeySecret"}],aliPhoneSignName:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务的模板签名"}],aliPhoneTemplateCode:[{required:!1,trigger:"blur",message:"请填写阿里云短信服务的模板ID"}]}),p=g();async function f(){const n=await P.queryConfig({keys:["phoneLoginStatus","aliPhoneAccessKeyId","aliPhoneAccessKeySecret","aliPhoneSignName","aliPhoneTemplateCode"]});Object.assign(a,n.data)}function b(){var n;(n=p.value)==null||n.validate(async o=>{if(o){try{await P.setConfig({settings:x(a)}),h.success("变更配置信息成功")}catch{}f()}else h.error("请填写完整信息")})}function x(n){return Object.keys(n).map(o=>({configKey:o,configVal:n[o]}))}return q(()=>{f()}),(n,o)=>{const _=U,K=B,V=I,v=s("el-switch"),A=s("el-tooltip"),c=s("el-form-item"),r=s("el-col"),i=s("el-row"),u=s("el-input"),w=s("el-form"),C=s("el-card");return T(),L("div",null,[e(V,null,{title:l(()=>[j]),content:l(()=>[D]),default:l(()=>[e(K,{text:"",outline:"",onClick:b},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),m(" 保存设置 ")]),_:1})]),_:1}),e(C,{style:{margin:"20px"}},{default:l(()=>[e(w,{ref_key:"formRef",ref:p,rules:S.value,model:a,"label-width":"170px"},{default:l(()=>[e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"开启手机号注册/登录",prop:"phoneLoginStatus"},{default:l(()=>[e(A,{class:"box-item",effect:"dark",content:"如您启用短信登录、则用户端则可以通过手机号的方式登录!",placement:"right"},{default:l(()=>[e(v,{modelValue:a.phoneLoginStatus,"onUpdate:modelValue":o[0]||(o[0]=t=>a.phoneLoginStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"AccessKeyId",prop:"aliPhoneAccessKeyId"},{default:l(()=>[e(u,{modelValue:a.aliPhoneAccessKeyId,"onUpdate:modelValue":o[1]||(o[1]=t=>a.aliPhoneAccessKeyId=t),placeholder:"请填写AccessKeyId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"AccessKeySecret",prop:"aliPhoneAccessKeySecret"},{default:l(()=>[e(u,{modelValue:a.aliPhoneAccessKeySecret,"onUpdate:modelValue":o[2]||(o[2]=t=>a.aliPhoneAccessKeySecret=t),placeholder:"请填写AccessKeySecret",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"短信签名",prop:"aliPhoneSignName"},{default:l(()=>[e(u,{modelValue:a.aliPhoneSignName,"onUpdate:modelValue":o[3]||(o[3]=t=>a.aliPhoneSignName=t),placeholder:"请填写您申请的短信签名",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"短信模板ID",prop:"aliPhoneTemplateCode"},{default:l(()=>[e(u,{modelValue:a.aliPhoneTemplateCode,"onUpdate:modelValue":o[4]||(o[4]=t=>a.aliPhoneTemplateCode=t),placeholder:"请填写短信模板ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof y=="function"&&y($);export{$ as default}; diff --git a/public/admin/assets/pig-CevX1Tat.js b/AIWebQuickDeploy/public/admin/assets/pig-CevX1Tat.js similarity index 100% rename from public/admin/assets/pig-CevX1Tat.js rename to AIWebQuickDeploy/public/admin/assets/pig-CevX1Tat.js diff --git a/AIWebQuickDeploy/public/admin/assets/plugin-BB9dueQ_.js b/AIWebQuickDeploy/public/admin/assets/plugin-BB9dueQ_.js new file mode 100644 index 0000000..62e736e --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/plugin-BB9dueQ_.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as be}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as ve}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{I as C,d as ye,r as p,m as O,n as N,a as we,p as i,q as he,g as y,c as S,b as t,w as n,h as _,y as xe,i as u,z as $,e as d,t as P,F as Ve,s as ke,B as Ie,C as Ce,A as Pe,D as Ue,E as De,G as x,H as E,j as ze,_ as Ae,k as L}from"./index-6QRvoxq4.js";import{Q as Oe}from"./index-BE-LteFu.js";const U={pluginList:g=>C.get("plugin/pluginList",{params:g}),delPlugin:g=>C.post("plugin/delPlugin",g),createPlugin:g=>C.post("plugin/createPlugin",g),updatePlugin:g=>C.post("plugin/updatePlugin",g)},Se=d("div",{class:"flex items-center gap-4"},"插件设置",-1),$e=d("div",{class:"text-sm/6"},[d("div",null," 可自定义插件名称、描述和头像用于前端显示,同时需要设置对应的插件参数。 "),d("div",null,"插件系统包含,内置插件和普通插件两种。"),d("div",null," 插件已支持Suno音乐(参数:suno-music)、Midjourney绘图(参数:midjourney)、Stable Diffusion绘图(参数:stable-diffusion)、 "),d("div",null," Dalle绘画(参数:dall-e-3)、LumaVideo(参数:luma-video)、CogVideoX(参数:cog-video)、Flux绘画(参数:flux-draw),均需通过创意模型配置对应模型。 "),d("div",null," 联网插件(参数:net-search)、思维导图(参数:mind-map)。联网插件需在 插件应用基础配置 中单独配置联网地址。 "),d("div",null," 若内置插件参数不在支持列表内,将以插件参数作为模型,调用对应模型。 ")],-1),je={style:{maxWidth:"350px"}},Fe={style:{maxHeight:"50px",cursor:"pointer"}},Te=["src"],qe={class:"flex justify-end mr-5"},Be=ye({__name:"plugin",setup(g){p();const j=p(0),f=p(!1),V=p(!1),M=["dall-e-3","stable-diffusion","flux-draw","midjourney","suno-music","luma-video","cog-video","net-search","mind-map"],w=O({name:"",pluginImg:"",description:"",demoData:"",isEnabled:1,parameters:"",sortOrder:100,page:1,size:10}),F=p(`/api/upload/file?dir=${encodeURIComponent("system/plugin")}`),D=p(),b=p(0),R=p(!1),G=p(0),o=O({name:"",pluginImg:"",description:"",demoData:"",isEnabled:1,parameters:"",sortOrder:100}),H=O({name:[{required:!0,message:"请填写App名称",trigger:"blur"}],description:[{required:!0,message:"请填写App介绍信息、用于对外展示",trigger:"blur"}],pluginImg:[{required:!1,message:"请上传插件封面",trigger:"blur"}],demoData:[{required:!1,message:"请填写演示数据",trigger:"blur"}],isEnabled:[{required:!0,type:"number",message:"请选择插件状态",trigger:"change"}],parameters:[{required:!0,message:"请填写调用参数",trigger:"blur"}],sortOrder:[{required:!0,type:"number",message:"请填写排序值",trigger:"change"}]}),T=p([]);p([]);const Q=N(()=>b.value?"更新插件":"新增插件"),W=N(()=>b.value?"确认更新":"确认新增");async function h(){try{V.value=!0;const a=await U.pluginList(w),{rows:e,count:s}=a.data;V.value=!1,j.value=s,T.value=e.sort((r,m)=>m.order-r.order)}catch{V.value=!1}}function J(a){b.value=a.id,R.value=a.role==="user",G.value=a.status;const{name:e,pluginImg:s,description:r,demoData:m,isEnabled:z,parameters:c,sortOrder:A}=a;De(()=>{Object.assign(o,{name:e,pluginImg:s,description:r,demoData:m,isEnabled:z,parameters:c,sortOrder:A})}),f.value=!0}function K(a){b.value=0,a==null||a.resetFields()}async function X(a){await U.delPlugin({id:a.id}),x.success("删除分类成功"),h()}const q=(a,e)=>{console.log("response: ",a.data),o.pluginImg=a.data};async function Y(){if(o.pluginImg){const a=await ee(o.pluginImg);Z(a,q)}}function Z(a,e){const s=new FormData;s.append("file",a),E.post(F.value,s,{headers:{"Content-Type":"multipart/form-data"}}).then(r=>{e(r.data)}).catch(r=>{console.error("上传失败",r)})}async function ee(a){const e=await E.get(a,{responseType:"blob"});let s="downloaded_file";const r=e.headers["content-disposition"];if(r){const m=/filename="([^"]+)"/.exec(r);m!=null&&m[1]&&(s=m[1])}else s=te(a);return new File([e.data],s,{type:e.data.type})}function te(a){const s=new URL(a).pathname;return s.substring(s.lastIndexOf("/")+1)}const le=a=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(a.type)){if(a.size/1024>300)return x.error("当前限制文件最大不超过 300KB!"),!1}else return x.error("当前系统仅支持 PNG、JPEG、GIF 和 WebP 格式的图片!"),!1};function ae(a){a==null||a.validate(async e=>{if(e){if(b.value){const s={id:b.value,...o};await U.updatePlugin(s),x({type:"success",message:"更新插件成功!"})}else await U.createPlugin(o),x({type:"success",message:"创建新的插件成功!"});f.value=!1,h()}})}return we(()=>{h()}),(a,e)=>{const s=ze,r=Ae,m=ve,z=i("el-image"),c=i("el-table-column"),A=i("el-tag"),k=i("el-button"),ne=i("el-popconfirm"),oe=i("el-table"),se=i("el-pagination"),ie=i("el-row"),re=be,I=i("el-input"),v=i("el-form-item"),ue=i("el-switch"),de=i("el-option"),pe=i("el-select"),B=i("el-icon"),me=i("el-upload"),ce=i("el-form"),ge=i("el-dialog"),fe=he("loading");return y(),S("div",null,[t(m,null,{title:n(()=>[Se]),content:n(()=>[$e]),default:n(()=>[t(r,{outline:"",onClick:e[0]||(e[0]=l=>f.value=!0)},{default:n(()=>[t(s,{name:"ic:baseline-plus"}),_(" 添加插件 ")]),_:1})]),_:1}),t(re,{style:{width:"100%"}},{default:n(()=>[xe((y(),$(oe,{border:"",data:u(T),style:{width:"100%"},size:"large"},{default:n(()=>[t(c,{prop:"pluginImg",label:"封面",width:"100"},{default:n(l=>[t(z,{style:{height:"50px"},src:l.row.pluginImg,fit:"fill"},null,8,["src"])]),_:1}),t(c,{prop:"sortOrder",label:"排序",width:"120"}),_(" /> "),t(c,{prop:"name",label:"名称",width:"120"}),t(c,{prop:"parameters",label:"调用参数",width:"120"}),t(c,{prop:"description",label:"描述信息"},{default:n(l=>[d("template",null,[d("div",je,P(l.row.description),1)]),d("div",Fe,P(l.row.description),1)]),_:1}),t(c,{prop:"isEnabled",label:"状态",width:"100"},{default:n(l=>[t(A,{type:l.row.isEnabled===1?"success":"danger"},{default:n(()=>[_(P(u(Oe)[l.row.isEnabled]),1)]),_:2},1032,["type"])]),_:1}),t(c,{label:"操作",width:"200"},{default:n(l=>[t(k,{link:"",type:"primary",size:"small",onClick:_e=>J(l.row)},{default:n(()=>[_(" 编辑 ")]),_:2},1032,["onClick"]),t(ne,{title:"确认删除此插件么?",width:"200","icon-color":"red",onConfirm:_e=>X(l.row)},{reference:n(()=>[t(k,{link:"",type:"danger",size:"small"},{default:n(()=>[_(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[fe,u(V)]]),t(ie,{class:"flex justify-end mt-5"},{default:n(()=>[t(se,{"current-page":w.page,"onUpdate:currentPage":e[1]||(e[1]=l=>w.page=l),"page-size":w.size,"onUpdate:pageSize":e[2]||(e[2]=l=>w.size=l),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:u(j),onSizeChange:h,onCurrentChange:h},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(ge,{modelValue:u(f),"onUpdate:modelValue":e[11]||(e[11]=l=>Ue(f)?f.value=l:null),"close-on-click-modal":!1,title:u(Q),width:"570",onClose:e[12]||(e[12]=l=>K(u(D)))},{footer:n(()=>[d("span",qe,[t(k,{onClick:e[9]||(e[9]=l=>f.value=!1)},{default:n(()=>[_("取消")]),_:1}),t(k,{type:"primary",onClick:e[10]||(e[10]=l=>ae(u(D)))},{default:n(()=>[_(P(u(W)),1)]),_:1})])]),default:n(()=>[t(ce,{ref_key:"formPackageRef",ref:D,"label-position":"right","label-width":"100px",model:o,rules:H},{default:n(()=>[t(v,{label:"插件名称",prop:"name"},{default:n(()=>[t(I,{modelValue:o.name,"onUpdate:modelValue":e[3]||(e[3]=l=>o.name=l),placeholder:"请填写插件名称"},null,8,["modelValue"])]),_:1}),t(v,{label:"插件状态",prop:"isEnabled"},{default:n(()=>[t(ue,{modelValue:o.isEnabled,"onUpdate:modelValue":e[4]||(e[4]=l=>o.isEnabled=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),t(v,{label:"插件描述",prop:"description"},{default:n(()=>[t(I,{modelValue:o.description,"onUpdate:modelValue":e[5]||(e[5]=l=>o.description=l),type:"textarea",placeholder:"请填写插件描述、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1}),t(v,{label:"插件参数",prop:"parameters"},{default:n(()=>[t(pe,{modelValue:o.parameters,"onUpdate:modelValue":e[6]||(e[6]=l=>o.parameters=l),placeholder:"请选择或填写插件参数",filterable:"","allow-create":"","default-first-option":"",clearable:""},{default:n(()=>[(y(),S(Ve,null,ke(M,l=>t(de,{key:l,label:l,value:l},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"插件图标",prop:"pluginImg"},{default:n(()=>[t(I,{modelValue:o.pluginImg,"onUpdate:modelValue":e[7]||(e[7]=l=>o.pluginImg=l),placeholder:"请填写或上传插件图标",clearable:""},{append:n(()=>[t(me,{class:"avatar-uploader",action:u(F),"show-file-list":!1,"on-success":q,"before-upload":le,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:n(()=>[o.pluginImg?(y(),S("img",{key:0,src:o.pluginImg,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,Te)):(y(),$(B,{key:1,style:{width:"1rem"}},{default:n(()=>[t(u(Ie))]),_:1}))]),_:1},8,["action"]),o.pluginImg?(y(),$(B,{key:0,onClick:Y,style:{"margin-left":"35px",width:"1rem"}},{default:n(()=>[t(u(Ce))]),_:1})):Pe("",!0)]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"排序ID",prop:"sortOrder"},{default:n(()=>[t(I,{modelValue:o.sortOrder,"onUpdate:modelValue":e[8]||(e[8]=l=>o.sortOrder=l),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof L=="function"&&L(Be);export{Be as default}; diff --git a/public/admin/assets/points-dFU6hxKv.js b/AIWebQuickDeploy/public/admin/assets/points-7mr5fEHY.js similarity index 97% rename from public/admin/assets/points-dFU6hxKv.js rename to AIWebQuickDeploy/public/admin/assets/points-7mr5fEHY.js index 57aff7d..2ae61cd 100644 --- a/public/admin/assets/points-dFU6hxKv.js +++ b/AIWebQuickDeploy/public/admin/assets/points-7mr5fEHY.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as K,r as p,m as F,a as L,p as u,g as c,c as k,b as e,w as l,h as x,e as _,F as O,s as A,z as V,v as G,E as J,G as j,j as Q,_ as X,t as Y,k as h}from"./index-nGFMSQGw.js";import{a as C}from"./config-CYXO1pNF.js";const Z=_("div",{class:"flex items-center gap-4"},"网站显示配置",-1),ee=_("div",{class:"text-sm/6"},[_("div",null,"网站显示配置用于控制,积分、侧边菜单、朗读按钮等显示设置。"),_("div",null,"同时可以按需添加绘图风格标签。")],-1),le={style:{display:"flex","flex-wrap":"wrap",gap:"10px"}},te=K({__name:"points",setup(ae){const r=p(),w=p(!1),v=p(""),y=p(),a=F({isHideModel3Point:"",isHideModel4Point:"",isHideDrawMjPoint:"",isHideDefaultPreset:"",model3Name:"",model4Name:"",drawMjName:"",drawingStyles:"",showWatermark:"",isHideTts:""}),D=p({model3Name:[{required:!0,message:"请输入普通积分名称",trigger:"blur"}],model4Name:[{required:!0,message:"请输入高级积分名称",trigger:"blur"}],drawMjName:[{required:!0,message:"请输入绘画积分名称",trigger:"blur"}]}),H=p();async function b(){const n=await C.queryConfig({keys:["isHideModel3Point","isHideModel4Point","isHideDrawMjPoint","isHideDefaultPreset","model3Name","model4Name","drawMjName","drawingStyles","showWatermark","isHideTts"]});Object.assign(a,n.data),n.data.drawingStyles?r.value=n.data.drawingStyles.split(","):r.value=[]}function S(){w.value=!0,J(()=>{y.value.focus()})}function M(){const n=v.value.trim();n&&r.value.push(n),w.value=!1,v.value=""}function U(n){r.value.splice(n,1)}function T(){var n;a.drawingStyles=r.value.join(","),(n=H.value)==null||n.validate(async t=>{if(t){try{await C.setConfig({settings:B(a)}),j.success("变更配置信息成功")}catch{}b()}else j.error("请填写完整信息")})}function B(n){return Object.keys(n).map(t=>({configKey:t,configVal:n[t]}))}return L(()=>{b()}),(n,t)=>{const N=Q,q=X,R=E,m=u("el-switch"),f=u("el-tooltip"),d=u("el-form-item"),i=u("el-col"),s=u("el-row"),g=u("el-input"),W=u("el-tag"),I=u("el-button"),$=u("el-form"),z=u("el-card");return c(),k("div",null,[e(R,null,{title:l(()=>[Z]),content:l(()=>[ee]),default:l(()=>[e(q,{outline:"",onClick:T},{default:l(()=>[e(N,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(z,{style:{margin:"20px"}},{default:l(()=>[e($,{ref_key:"formRef",ref:H,rules:D.value,model:a,"label-width":"150px"},{default:l(()=>[e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏普通积分",prop:"isHideModel3Point"},{default:l(()=>[e(f,{content:"隐藏后用户端将不显示普通积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.isHideModel3Point,"onUpdate:modelValue":t[0]||(t[0]=o=>a.isHideModel3Point=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"普通积分名称",prop:"model3Name"},{default:l(()=>[e(g,{modelValue:a.model3Name,"onUpdate:modelValue":t[1]||(t[1]=o=>a.model3Name=o),placeholder:"普通积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏高级积分",prop:"isHideModel4Point"},{default:l(()=>[e(f,{content:"隐藏后用户端将不显示高级积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.isHideModel4Point,"onUpdate:modelValue":t[2]||(t[2]=o=>a.isHideModel4Point=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"高级积分名称",prop:"model4Name"},{default:l(()=>[e(g,{modelValue:a.model4Name,"onUpdate:modelValue":t[3]||(t[3]=o=>a.model4Name=o),placeholder:"高级积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏绘画积分",prop:"isHideDrawMjPoint"},{default:l(()=>[e(f,{content:"隐藏后用户端将不显示绘画积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.isHideDrawMjPoint,"onUpdate:modelValue":t[4]||(t[4]=o=>a.isHideDrawMjPoint=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"绘画积分名称",prop:"drawMjName"},{default:l(()=>[e(g,{modelValue:a.drawMjName,"onUpdate:modelValue":t[5]||(t[5]=o=>a.drawMjName=o),placeholder:"绘画积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"显示全局水印",prop:"showWatermark"},{default:l(()=>[e(f,{content:"开启后将在对话页显示用户名水印",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.showWatermark,"onUpdate:modelValue":t[6]||(t[6]=o=>a.showWatermark=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏首页默认预设",prop:"isHideDefaultPreset"},{default:l(()=>[e(f,{content:"隐藏后首页将不显示默认预设",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.isHideDefaultPreset,"onUpdate:modelValue":t[7]||(t[7]=o=>a.isHideDefaultPreset=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏朗读按钮",prop:"isHideTts"},{default:l(()=>[e(f,{content:"隐藏后用户端将不显示朗读按钮",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.isHideTts,"onUpdate:modelValue":t[8]||(t[8]=o=>a.isHideTts=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,{class:"mt-2"},{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"绘图风格显示",prop:"drawingStyles"},{default:l(()=>[_("div",le,[(c(!0),k(O,null,A(r.value,(o,P)=>(c(),V(W,{key:P,closable:"",style:{"margin-bottom":"10px"},onClose:oe=>U(P)},{default:l(()=>[x(Y(o),1)]),_:2},1032,["onClose"]))),128)),w.value?(c(),V(g,{key:0,ref_key:"inputRef",ref:y,modelValue:v.value,"onUpdate:modelValue":t[9]||(t[9]=o=>v.value=o),size:"small",style:{"margin-left":"10px",width:"auto","min-width":"80px"},onKeyup:G(M,["enter"]),onBlur:M},null,8,["modelValue"])):(c(),V(I,{key:1,size:"small",style:{"margin-left":"10px"},onClick:S},{default:l(()=>[x(" + 添加风格 ")]),_:1}))])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof h=="function"&&h(te);export{te as default}; +import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as K,r as p,m as F,a as L,p as u,g as c,c as k,b as e,w as l,h as x,e as _,F as O,s as A,z as V,v as G,E as J,G as j,j as Q,_ as X,t as Y,k as h}from"./index-6QRvoxq4.js";import{a as C}from"./config-DBls5jtO.js";const Z=_("div",{class:"flex items-center gap-4"},"网站显示配置",-1),ee=_("div",{class:"text-sm/6"},[_("div",null,"网站显示配置用于控制,积分、侧边菜单、朗读按钮等显示设置。"),_("div",null,"同时可以按需添加绘图风格标签。")],-1),le={style:{display:"flex","flex-wrap":"wrap",gap:"10px"}},te=K({__name:"points",setup(ae){const r=p(),w=p(!1),v=p(""),y=p(),a=F({isHideModel3Point:"",isHideModel4Point:"",isHideDrawMjPoint:"",isHideDefaultPreset:"",model3Name:"",model4Name:"",drawMjName:"",drawingStyles:"",showWatermark:"",isHideTts:""}),D=p({model3Name:[{required:!0,message:"请输入普通积分名称",trigger:"blur"}],model4Name:[{required:!0,message:"请输入高级积分名称",trigger:"blur"}],drawMjName:[{required:!0,message:"请输入绘画积分名称",trigger:"blur"}]}),H=p();async function b(){const n=await C.queryConfig({keys:["isHideModel3Point","isHideModel4Point","isHideDrawMjPoint","isHideDefaultPreset","model3Name","model4Name","drawMjName","drawingStyles","showWatermark","isHideTts"]});Object.assign(a,n.data),n.data.drawingStyles?r.value=n.data.drawingStyles.split(","):r.value=[]}function S(){w.value=!0,J(()=>{y.value.focus()})}function M(){const n=v.value.trim();n&&r.value.push(n),w.value=!1,v.value=""}function U(n){r.value.splice(n,1)}function T(){var n;a.drawingStyles=r.value.join(","),(n=H.value)==null||n.validate(async t=>{if(t){try{await C.setConfig({settings:B(a)}),j.success("变更配置信息成功")}catch{}b()}else j.error("请填写完整信息")})}function B(n){return Object.keys(n).map(t=>({configKey:t,configVal:n[t]}))}return L(()=>{b()}),(n,t)=>{const N=Q,q=X,R=E,m=u("el-switch"),f=u("el-tooltip"),d=u("el-form-item"),i=u("el-col"),s=u("el-row"),g=u("el-input"),W=u("el-tag"),I=u("el-button"),$=u("el-form"),z=u("el-card");return c(),k("div",null,[e(R,null,{title:l(()=>[Z]),content:l(()=>[ee]),default:l(()=>[e(q,{outline:"",onClick:T},{default:l(()=>[e(N,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(z,{style:{margin:"20px"}},{default:l(()=>[e($,{ref_key:"formRef",ref:H,rules:D.value,model:a,"label-width":"150px"},{default:l(()=>[e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏普通积分",prop:"isHideModel3Point"},{default:l(()=>[e(f,{content:"隐藏后用户端将不显示普通积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.isHideModel3Point,"onUpdate:modelValue":t[0]||(t[0]=o=>a.isHideModel3Point=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"普通积分名称",prop:"model3Name"},{default:l(()=>[e(g,{modelValue:a.model3Name,"onUpdate:modelValue":t[1]||(t[1]=o=>a.model3Name=o),placeholder:"普通积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏高级积分",prop:"isHideModel4Point"},{default:l(()=>[e(f,{content:"隐藏后用户端将不显示高级积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.isHideModel4Point,"onUpdate:modelValue":t[2]||(t[2]=o=>a.isHideModel4Point=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"高级积分名称",prop:"model4Name"},{default:l(()=>[e(g,{modelValue:a.model4Name,"onUpdate:modelValue":t[3]||(t[3]=o=>a.model4Name=o),placeholder:"高级积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏绘画积分",prop:"isHideDrawMjPoint"},{default:l(()=>[e(f,{content:"隐藏后用户端将不显示绘画积分,用户仍可以通过地址栏访问页面!",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.isHideDrawMjPoint,"onUpdate:modelValue":t[4]||(t[4]=o=>a.isHideDrawMjPoint=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"绘画积分名称",prop:"drawMjName"},{default:l(()=>[e(g,{modelValue:a.drawMjName,"onUpdate:modelValue":t[5]||(t[5]=o=>a.drawMjName=o),placeholder:"绘画积分名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"显示全局水印",prop:"showWatermark"},{default:l(()=>[e(f,{content:"开启后将在对话页显示用户名水印",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.showWatermark,"onUpdate:modelValue":t[6]||(t[6]=o=>a.showWatermark=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏首页默认预设",prop:"isHideDefaultPreset"},{default:l(()=>[e(f,{content:"隐藏后首页将不显示默认预设",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.isHideDefaultPreset,"onUpdate:modelValue":t[7]||(t[7]=o=>a.isHideDefaultPreset=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"隐藏朗读按钮",prop:"isHideTts"},{default:l(()=>[e(f,{content:"隐藏后用户端将不显示朗读按钮",placement:"top","show-after":500},{default:l(()=>[e(m,{modelValue:a.isHideTts,"onUpdate:modelValue":t[8]||(t[8]=o=>a.isHideTts=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(s,{class:"mt-2"},{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(d,{label:"绘图风格显示",prop:"drawingStyles"},{default:l(()=>[_("div",le,[(c(!0),k(O,null,A(r.value,(o,P)=>(c(),V(W,{key:P,closable:"",style:{"margin-bottom":"10px"},onClose:oe=>U(P)},{default:l(()=>[x(Y(o),1)]),_:2},1032,["onClose"]))),128)),w.value?(c(),V(g,{key:0,ref_key:"inputRef",ref:y,modelValue:v.value,"onUpdate:modelValue":t[9]||(t[9]=o=>v.value=o),size:"small",style:{"margin-left":"10px",width:"auto","min-width":"80px"},onKeyup:G(M,["enter"]),onBlur:M},null,8,["modelValue"])):(c(),V(I,{key:1,size:"small",style:{"margin-left":"10px"},onClick:S},{default:l(()=>[x(" + 添加风格 ")]),_:1}))])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof h=="function"&&h(te);export{te as default}; diff --git a/public/admin/assets/polyfills-CChaUeAE.js b/AIWebQuickDeploy/public/admin/assets/polyfills-CChaUeAE.js similarity index 100% rename from public/admin/assets/polyfills-CChaUeAE.js rename to AIWebQuickDeploy/public/admin/assets/polyfills-CChaUeAE.js diff --git a/public/admin/assets/powershell-CFHJl5sT.js b/AIWebQuickDeploy/public/admin/assets/powershell-CFHJl5sT.js similarity index 100% rename from public/admin/assets/powershell-CFHJl5sT.js rename to AIWebQuickDeploy/public/admin/assets/powershell-CFHJl5sT.js diff --git a/public/admin/assets/properties-C78fOPTZ.js b/AIWebQuickDeploy/public/admin/assets/properties-C78fOPTZ.js similarity index 100% rename from public/admin/assets/properties-C78fOPTZ.js rename to AIWebQuickDeploy/public/admin/assets/properties-C78fOPTZ.js diff --git a/public/admin/assets/protobuf-ChK-085T.js b/AIWebQuickDeploy/public/admin/assets/protobuf-ChK-085T.js similarity index 100% rename from public/admin/assets/protobuf-ChK-085T.js rename to AIWebQuickDeploy/public/admin/assets/protobuf-ChK-085T.js diff --git a/public/admin/assets/pug-BmUsPMDj.js b/AIWebQuickDeploy/public/admin/assets/pug-BmUsPMDj.js similarity index 100% rename from public/admin/assets/pug-BmUsPMDj.js rename to AIWebQuickDeploy/public/admin/assets/pug-BmUsPMDj.js diff --git a/public/admin/assets/puppet-DMA9R1ak.js b/AIWebQuickDeploy/public/admin/assets/puppet-DMA9R1ak.js similarity index 100% rename from public/admin/assets/puppet-DMA9R1ak.js rename to AIWebQuickDeploy/public/admin/assets/puppet-DMA9R1ak.js diff --git a/public/admin/assets/python-BuPzkPfP.js b/AIWebQuickDeploy/public/admin/assets/python-BuPzkPfP.js similarity index 100% rename from public/admin/assets/python-BuPzkPfP.js rename to AIWebQuickDeploy/public/admin/assets/python-BuPzkPfP.js diff --git a/public/admin/assets/q-ZnEupP5q.js b/AIWebQuickDeploy/public/admin/assets/q-ZnEupP5q.js similarity index 100% rename from public/admin/assets/q-ZnEupP5q.js rename to AIWebQuickDeploy/public/admin/assets/q-ZnEupP5q.js diff --git a/public/admin/assets/r-DUYO_cvP.js b/AIWebQuickDeploy/public/admin/assets/r-DUYO_cvP.js similarity index 100% rename from public/admin/assets/r-DUYO_cvP.js rename to AIWebQuickDeploy/public/admin/assets/r-DUYO_cvP.js diff --git a/public/admin/assets/register-s9FErNB-.js b/AIWebQuickDeploy/public/admin/assets/register-1wwcbwRm.js similarity index 98% rename from public/admin/assets/register-s9FErNB-.js rename to AIWebQuickDeploy/public/admin/assets/register-1wwcbwRm.js index 1e89049..4c0367b 100644 --- a/public/admin/assets/register-s9FErNB-.js +++ b/AIWebQuickDeploy/public/admin/assets/register-1wwcbwRm.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as y,m as D,r as M,n as c,a as q,p as i,g as J,c as T,b as e,w as l,h,e as g,G as V,j as B,_ as $,k as b}from"./index-nGFMSQGw.js";import{a as C}from"./config-CYXO1pNF.js";const E=g("div",{class:"flex items-center gap-4"},"基础访问设置",-1),H=g("div",{class:"text-sm/6"},[g("div",null," 注册与访问设置支持为新用户定义默认赠送额度,涵盖对话次数、普通绘画次数和高级绘画次数。 "),g("div",null," 系统还为最初注册的前x名用户提供额外奖励,同时允许通过邀请机制为新用户及邀请者设置特定的奖励额度。 "),g("div",null," 此外,管理员可配置签到奖励和为访客分配可使用的额度,以鼓励日常活跃和吸引更多用户体验平台。 ")],-1),O=g("h5",null,"注册赠送",-1),A=g("h5",null,"限定注册赠送",-1),G=g("h5",null,"签到奖励",-1),K=g("h5",null,"访客设置",-1),P=y({__name:"register",setup(z){const t=D({registerSendStatus:"",registerSendModel3Count:"",registerSendModel4Count:"",registerSendDrawMjCount:"",firstRegisterSendStatus:0,firstRegisterSendRank:"",firstRregisterSendModel3Count:"",firstRregisterSendModel4Count:"",firstRregisterSendDrawMjCount:"",signInStatus:"",signInModel3Count:"",signInModel4Count:"",signInMjDrawToken:"",visitorModel3Num:null,visitorModel4Num:null,visitorMJNum:null}),v=M({visitorModel3Num:[{required:!0,trigger:"blur",message:"请填写每日限制的基础模型积分"}],visitorModel4Num:[{required:!0,trigger:"blur",message:"请填写每日限制的高级模型积分"}],visitorMJNum:[{required:!0,trigger:"blur",message:"请填写每日限制的绘画额度积分"}],signInStatus:[{required:!0,trigger:"blur",message:"请选择是否开启签到奖励"}],signInModel3Count:[{required:!0,trigger:"blur",message:"请填写赠送的基础模型额度"}],signInModel4Count:[{required:!0,trigger:"blur",message:"请填写赠送的高级模型额度"}],signInMjDrawToken:[{required:!0,trigger:"blur",message:"请填写赠送的绘画Token数量"}],registerSendStatus:[{required:!0,trigger:"change",message:"请确认是否开启注册赠送"}],firstRegisterSendStatus:[{required:!0,trigger:"change",message:"请确认是否开启优先注册赠送"}]}),p=M();async function _(){const a=await C.queryConfig({keys:["visitorModel4Num","visitorModel3Num","visitorMJNum","registerSendStatus","registerSendModel3Count","registerSendModel4Count","registerSendDrawMjCount","firstRegisterSendStatus","firstRegisterSendRank","firstRregisterSendModel3Count","firstRregisterSendModel4Count","firstRregisterSendDrawMjCount","signInModel3Count","signInModel4Count","signInMjDrawToken","signInStatus"]});a.data.firstRegisterSendStatus&&(a.data.firstRegisterSendStatus=Number(a.data.firstRegisterSendStatus)),a.data.registerSendStatus&&(a.data.registerSendStatus=Number(a.data.registerSendStatus)),Object.assign(t,a.data)}function x(){var a;(a=p.value)==null||a.validate(async n=>{if(n){try{await C.setConfig({settings:R(t)}),V.success("变更配置信息成功")}catch{}_()}else V.error("请填写完整信息")})}function R(a){return Object.keys(a).map(n=>({configKey:n,configVal:a[n]}))}return c(()=>[{required:t.firstRegisterSendStatus,message:"开启优先注册赠送选项后需填写此项",trigger:"change"}]),c(()=>[{required:t.registerSendStatus,message:"开启注册赠送选项后需填写此项",trigger:"change"}]),q(()=>{_()}),(a,n)=>{const S=B,I=$,w=U,m=i("el-switch"),o=i("el-form-item"),u=i("el-col"),d=i("el-row"),s=i("el-input"),f=i("el-divider"),N=i("el-tooltip"),k=i("el-form"),j=i("el-card");return J(),T("div",null,[e(w,null,{title:l(()=>[E]),content:l(()=>[H]),default:l(()=>[e(I,{outline:"",text:"",onClick:x},{default:l(()=>[e(S,{name:"i-ri:file-text-line"}),h(" 保存设置 ")]),_:1})]),_:1}),e(j,{style:{margin:"20px"}},{default:l(()=>[e(k,{ref_key:"formRef",ref:p,rules:v.value,model:t,"label-width":"220px"},{default:l(()=>[O,e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"是否开启注册赠送",prop:"registerSendStatus"},{default:l(()=>[e(m,{modelValue:t.registerSendStatus,"onUpdate:modelValue":n[0]||(n[0]=r=>t.registerSendStatus=r),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"注册赠送基础模型对话额度",prop:"registerSendModel3Count"},{default:l(()=>[e(s,{modelValue:t.registerSendModel3Count,"onUpdate:modelValue":n[1]||(n[1]=r=>t.registerSendModel3Count=r),placeholder:"首次注册赠基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"注册赠送高级模型对话额度",prop:"registerSendModel4Count"},{default:l(()=>[e(s,{modelValue:t.registerSendModel4Count,"onUpdate:modelValue":n[2]||(n[2]=r=>t.registerSendModel4Count=r),placeholder:"首次注册赠高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"注册赠送绘画额度",prop:"registerSendDrawMjCount"},{default:l(()=>[e(s,{modelValue:t.registerSendDrawMjCount,"onUpdate:modelValue":n[3]||(n[3]=r=>t.registerSendDrawMjCount=r),placeholder:"首次注册赠送MJ额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),A,e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"开启优先注册赠送",prop:"firstRegisterSendStatus"},{default:l(()=>[e(m,{modelValue:t.firstRegisterSendStatus,"onUpdate:modelValue":n[4]||(n[4]=r=>t.firstRegisterSendStatus=r),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"前多少名获得奖励",prop:"firstRegisterSendRank"},{default:l(()=>[e(s,{modelValue:t.firstRegisterSendRank,"onUpdate:modelValue":n[5]||(n[5]=r=>t.firstRegisterSendRank=r),placeholder:"设置优先注册前N名可以获得奖励",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"优先赠基础模型送对话额度",prop:"firstRregisterSendModel3Count"},{default:l(()=>[e(s,{modelValue:t.firstRregisterSendModel3Count,"onUpdate:modelValue":n[6]||(n[6]=r=>t.firstRregisterSendModel3Count=r),placeholder:"优先注册用户额外赠送基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"优先赠高级模型送对话额度",prop:"firstRregisterSendModel4Count"},{default:l(()=>[e(s,{modelValue:t.firstRregisterSendModel4Count,"onUpdate:modelValue":n[7]||(n[7]=r=>t.firstRregisterSendModel4Count=r),placeholder:"优先注册用户额外赠送高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"优先赠送绘画额度",prop:"firstRregisterSendDrawMjCount"},{default:l(()=>[e(s,{modelValue:t.firstRregisterSendDrawMjCount,"onUpdate:modelValue":n[8]||(n[8]=r=>t.firstRregisterSendDrawMjCount=r),placeholder:"优先注册用户额外赠送MJ额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),G,e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"开启签到奖励",prop:"signInStatus"},{default:l(()=>[e(N,{class:"box-item",effect:"dark",content:"如您启用签到奖励、则用户端则可以通过每日签到获取额度!",placement:"right"},{default:l(()=>[e(m,{modelValue:t.signInStatus,"onUpdate:modelValue":n[9]||(n[9]=r=>t.signInStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"赠送基础模型额度",prop:"signInModel3Count"},{default:l(()=>[e(s,{modelValue:t.signInModel3Count,"onUpdate:modelValue":n[10]||(n[10]=r=>t.signInModel3Count=r),type:"number",placeholder:"请填写签到赠送的基础模型额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"赠送高级模型额度",prop:"signInModel4Count"},{default:l(()=>[e(s,{modelValue:t.signInModel4Count,"onUpdate:modelValue":n[11]||(n[11]=r=>t.signInModel4Count=r),type:"number",placeholder:"请填写签到赠送的高级模型额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"赠送绘画额度",prop:"signInMjDrawToken"},{default:l(()=>[e(s,{modelValue:t.signInMjDrawToken,"onUpdate:modelValue":n[12]||(n[12]=r=>t.signInMjDrawToken=r),type:"number",placeholder:"请填写签到赠送绘画额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),K,e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"基础模型额度",prop:"visitorModel3Num"},{default:l(()=>[e(s,{modelValue:t.visitorModel3Num,"onUpdate:modelValue":n[13]||(n[13]=r=>t.visitorModel3Num=r),type:"number",placeholder:"请填写每日限制基础模型积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"高级模型额度",prop:"visitorModel4Num"},{default:l(()=>[e(s,{modelValue:t.visitorModel4Num,"onUpdate:modelValue":n[14]||(n[14]=r=>t.visitorModel4Num=r),type:"number",placeholder:"请填写每日限制的高级模型积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"绘画积分额度",prop:"visitorMJNum"},{default:l(()=>[e(s,{modelValue:t.visitorMJNum,"onUpdate:modelValue":n[15]||(n[15]=r=>t.visitorMJNum=r),type:"number",placeholder:"请填写每日限制的绘画额度积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(P);export{P as default}; +import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as y,m as D,r as M,n as c,a as q,p as i,g as J,c as T,b as e,w as l,h,e as g,G as V,j as B,_ as $,k as b}from"./index-6QRvoxq4.js";import{a as C}from"./config-DBls5jtO.js";const E=g("div",{class:"flex items-center gap-4"},"基础访问设置",-1),H=g("div",{class:"text-sm/6"},[g("div",null," 注册与访问设置支持为新用户定义默认赠送额度,涵盖对话次数、普通绘画次数和高级绘画次数。 "),g("div",null," 系统还为最初注册的前x名用户提供额外奖励,同时允许通过邀请机制为新用户及邀请者设置特定的奖励额度。 "),g("div",null," 此外,管理员可配置签到奖励和为访客分配可使用的额度,以鼓励日常活跃和吸引更多用户体验平台。 ")],-1),O=g("h5",null,"注册赠送",-1),A=g("h5",null,"限定注册赠送",-1),G=g("h5",null,"签到奖励",-1),K=g("h5",null,"访客设置",-1),P=y({__name:"register",setup(z){const t=D({registerSendStatus:"",registerSendModel3Count:"",registerSendModel4Count:"",registerSendDrawMjCount:"",firstRegisterSendStatus:0,firstRegisterSendRank:"",firstRregisterSendModel3Count:"",firstRregisterSendModel4Count:"",firstRregisterSendDrawMjCount:"",signInStatus:"",signInModel3Count:"",signInModel4Count:"",signInMjDrawToken:"",visitorModel3Num:null,visitorModel4Num:null,visitorMJNum:null}),v=M({visitorModel3Num:[{required:!0,trigger:"blur",message:"请填写每日限制的基础模型积分"}],visitorModel4Num:[{required:!0,trigger:"blur",message:"请填写每日限制的高级模型积分"}],visitorMJNum:[{required:!0,trigger:"blur",message:"请填写每日限制的绘画额度积分"}],signInStatus:[{required:!0,trigger:"blur",message:"请选择是否开启签到奖励"}],signInModel3Count:[{required:!0,trigger:"blur",message:"请填写赠送的基础模型额度"}],signInModel4Count:[{required:!0,trigger:"blur",message:"请填写赠送的高级模型额度"}],signInMjDrawToken:[{required:!0,trigger:"blur",message:"请填写赠送的绘画Token数量"}],registerSendStatus:[{required:!0,trigger:"change",message:"请确认是否开启注册赠送"}],firstRegisterSendStatus:[{required:!0,trigger:"change",message:"请确认是否开启优先注册赠送"}]}),p=M();async function _(){const a=await C.queryConfig({keys:["visitorModel4Num","visitorModel3Num","visitorMJNum","registerSendStatus","registerSendModel3Count","registerSendModel4Count","registerSendDrawMjCount","firstRegisterSendStatus","firstRegisterSendRank","firstRregisterSendModel3Count","firstRregisterSendModel4Count","firstRregisterSendDrawMjCount","signInModel3Count","signInModel4Count","signInMjDrawToken","signInStatus"]});a.data.firstRegisterSendStatus&&(a.data.firstRegisterSendStatus=Number(a.data.firstRegisterSendStatus)),a.data.registerSendStatus&&(a.data.registerSendStatus=Number(a.data.registerSendStatus)),Object.assign(t,a.data)}function x(){var a;(a=p.value)==null||a.validate(async n=>{if(n){try{await C.setConfig({settings:R(t)}),V.success("变更配置信息成功")}catch{}_()}else V.error("请填写完整信息")})}function R(a){return Object.keys(a).map(n=>({configKey:n,configVal:a[n]}))}return c(()=>[{required:t.firstRegisterSendStatus,message:"开启优先注册赠送选项后需填写此项",trigger:"change"}]),c(()=>[{required:t.registerSendStatus,message:"开启注册赠送选项后需填写此项",trigger:"change"}]),q(()=>{_()}),(a,n)=>{const S=B,I=$,w=U,m=i("el-switch"),o=i("el-form-item"),u=i("el-col"),d=i("el-row"),s=i("el-input"),f=i("el-divider"),N=i("el-tooltip"),k=i("el-form"),j=i("el-card");return J(),T("div",null,[e(w,null,{title:l(()=>[E]),content:l(()=>[H]),default:l(()=>[e(I,{outline:"",text:"",onClick:x},{default:l(()=>[e(S,{name:"i-ri:file-text-line"}),h(" 保存设置 ")]),_:1})]),_:1}),e(j,{style:{margin:"20px"}},{default:l(()=>[e(k,{ref_key:"formRef",ref:p,rules:v.value,model:t,"label-width":"220px"},{default:l(()=>[O,e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"是否开启注册赠送",prop:"registerSendStatus"},{default:l(()=>[e(m,{modelValue:t.registerSendStatus,"onUpdate:modelValue":n[0]||(n[0]=r=>t.registerSendStatus=r),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"注册赠送基础模型对话额度",prop:"registerSendModel3Count"},{default:l(()=>[e(s,{modelValue:t.registerSendModel3Count,"onUpdate:modelValue":n[1]||(n[1]=r=>t.registerSendModel3Count=r),placeholder:"首次注册赠基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"注册赠送高级模型对话额度",prop:"registerSendModel4Count"},{default:l(()=>[e(s,{modelValue:t.registerSendModel4Count,"onUpdate:modelValue":n[2]||(n[2]=r=>t.registerSendModel4Count=r),placeholder:"首次注册赠高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"注册赠送绘画额度",prop:"registerSendDrawMjCount"},{default:l(()=>[e(s,{modelValue:t.registerSendDrawMjCount,"onUpdate:modelValue":n[3]||(n[3]=r=>t.registerSendDrawMjCount=r),placeholder:"首次注册赠送MJ额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),A,e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"开启优先注册赠送",prop:"firstRegisterSendStatus"},{default:l(()=>[e(m,{modelValue:t.firstRegisterSendStatus,"onUpdate:modelValue":n[4]||(n[4]=r=>t.firstRegisterSendStatus=r),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"前多少名获得奖励",prop:"firstRegisterSendRank"},{default:l(()=>[e(s,{modelValue:t.firstRegisterSendRank,"onUpdate:modelValue":n[5]||(n[5]=r=>t.firstRegisterSendRank=r),placeholder:"设置优先注册前N名可以获得奖励",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"优先赠基础模型送对话额度",prop:"firstRregisterSendModel3Count"},{default:l(()=>[e(s,{modelValue:t.firstRregisterSendModel3Count,"onUpdate:modelValue":n[6]||(n[6]=r=>t.firstRregisterSendModel3Count=r),placeholder:"优先注册用户额外赠送基础模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"优先赠高级模型送对话额度",prop:"firstRregisterSendModel4Count"},{default:l(()=>[e(s,{modelValue:t.firstRregisterSendModel4Count,"onUpdate:modelValue":n[7]||(n[7]=r=>t.firstRregisterSendModel4Count=r),placeholder:"优先注册用户额外赠送高级模型对话额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"优先赠送绘画额度",prop:"firstRregisterSendDrawMjCount"},{default:l(()=>[e(s,{modelValue:t.firstRregisterSendDrawMjCount,"onUpdate:modelValue":n[8]||(n[8]=r=>t.firstRregisterSendDrawMjCount=r),placeholder:"优先注册用户额外赠送MJ额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),G,e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"开启签到奖励",prop:"signInStatus"},{default:l(()=>[e(N,{class:"box-item",effect:"dark",content:"如您启用签到奖励、则用户端则可以通过每日签到获取额度!",placement:"right"},{default:l(()=>[e(m,{modelValue:t.signInStatus,"onUpdate:modelValue":n[9]||(n[9]=r=>t.signInStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"赠送基础模型额度",prop:"signInModel3Count"},{default:l(()=>[e(s,{modelValue:t.signInModel3Count,"onUpdate:modelValue":n[10]||(n[10]=r=>t.signInModel3Count=r),type:"number",placeholder:"请填写签到赠送的基础模型额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"赠送高级模型额度",prop:"signInModel4Count"},{default:l(()=>[e(s,{modelValue:t.signInModel4Count,"onUpdate:modelValue":n[11]||(n[11]=r=>t.signInModel4Count=r),type:"number",placeholder:"请填写签到赠送的高级模型额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"赠送绘画额度",prop:"signInMjDrawToken"},{default:l(()=>[e(s,{modelValue:t.signInMjDrawToken,"onUpdate:modelValue":n[12]||(n[12]=r=>t.signInMjDrawToken=r),type:"number",placeholder:"请填写签到赠送绘画额度",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f),K,e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"基础模型额度",prop:"visitorModel3Num"},{default:l(()=>[e(s,{modelValue:t.visitorModel3Num,"onUpdate:modelValue":n[13]||(n[13]=r=>t.visitorModel3Num=r),type:"number",placeholder:"请填写每日限制基础模型积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"高级模型额度",prop:"visitorModel4Num"},{default:l(()=>[e(s,{modelValue:t.visitorModel4Num,"onUpdate:modelValue":n[14]||(n[14]=r=>t.visitorModel4Num=r),type:"number",placeholder:"请填写每日限制的高级模型积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(o,{label:"绘画积分额度",prop:"visitorMJNum"},{default:l(()=>[e(s,{modelValue:t.visitorMJNum,"onUpdate:modelValue":n[15]||(n[15]=r=>t.visitorMJNum=r),type:"number",placeholder:"请填写每日限制的绘画额度积分",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(P);export{P as default}; diff --git a/public/admin/assets/register-DsQMN5kC.css b/AIWebQuickDeploy/public/admin/assets/register-DsQMN5kC.css similarity index 100% rename from public/admin/assets/register-DsQMN5kC.css rename to AIWebQuickDeploy/public/admin/assets/register-DsQMN5kC.css diff --git a/public/admin/assets/reload-ByHYPX1Q.js b/AIWebQuickDeploy/public/admin/assets/reload-XgcEbP6L.js similarity index 61% rename from public/admin/assets/reload-ByHYPX1Q.js rename to AIWebQuickDeploy/public/admin/assets/reload-XgcEbP6L.js index 64a21b7..7c1b162 100644 --- a/public/admin/assets/reload-ByHYPX1Q.js +++ b/AIWebQuickDeploy/public/admin/assets/reload-XgcEbP6L.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as t,f as n,a,g as r,c as s,k as e}from"./index-nGFMSQGw.js";const c=t({__name:"reload",setup(u){const o=n();return a(()=>{o.go(-1)}),(f,p)=>(r(),s("div"))}});typeof e=="function"&&e(c);export{c as default}; +import{d as t,f as n,a,g as r,c as s,k as e}from"./index-6QRvoxq4.js";const c=t({__name:"reload",setup(u){const o=n();return a(()=>{o.go(-1)}),(f,p)=>(r(),s("div"))}});typeof e=="function"&&e(c);export{c as default}; diff --git a/AIWebQuickDeploy/public/admin/assets/rightSide-DeRod8ar.js b/AIWebQuickDeploy/public/admin/assets/rightSide-DeRod8ar.js new file mode 100644 index 0000000..226509c --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/rightSide-DeRod8ar.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./rightSide.vue_vue_type_script_setup_true_lang-Bh_y80-_.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js";import"./index-6QRvoxq4.js";import"./index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js";import"./HDropdown-7q7O_XMK.js";import"./HTabList.vue_vue_type_script_setup_true_lang-BuGUQxxq.js";import"./use-resolve-button-type-BE1XPlJv.js";import"./index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js";import"./index-B0yaT7Pj.js";import"./index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js";import"./HKbd-Be5shIQ7.js";import"./index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js";import"./useMainPage--yVtHxDh.js";export{o as default}; diff --git a/public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js b/AIWebQuickDeploy/public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-Bh_y80-_.js similarity index 71% rename from public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js rename to AIWebQuickDeploy/public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-Bh_y80-_.js index bec78b9..f48737d 100644 --- a/public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js +++ b/AIWebQuickDeploy/public/admin/assets/rightSide.vue_vue_type_script_setup_true_lang-Bh_y80-_.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js";import{d as f,f as u,u as p,L as h,r as d,X as g,g as s,c as S,i as e,z as a,A as o,b as i,w as b,e as v,h as x,t as k,j as $}from"./index-nGFMSQGw.js";import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js";import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js";const V={class:"flex items-center"},C={class:"flex-center gap-1"},L=f({name:"Tools",__name:"rightSide",setup(D){const n=u(),t=p(),r=h(),c=d(!1);return g(()=>r.avatar,()=>{c.value&&(c.value=!1)}),(E,R)=>{const l=$,m=_;return s(),S("div",V,[e(t).settings.toolbar.navSearch?(s(),a(B,{key:0})):o("",!0),e(t).settings.toolbar.fullscreen?(s(),a(w,{key:1})):o("",!0),e(t).settings.toolbar.pageReload?(s(),a(N,{key:2})):o("",!0),e(t).settings.toolbar.colorScheme?(s(),a(y,{key:3})):o("",!0),i(m,{items:[[{label:e(t).settings.home.title,handle:()=>e(n).push({path:e(t).settings.home.fullPath}),hide:!e(t).settings.home.enable},{label:"个人设置",handle:()=>e(n).push({name:"personalSetting"})}],[{label:"退出登录",handle:()=>e(r).logout()}]],class:"flex-center cursor-pointer px-2"},{default:b(()=>[v("div",C,[x(k(e(r).username)+" ",1),i(l,{name:"i-ep:caret-bottom"})])]),_:1},8,["items"])])}}});export{L as _}; +import{_}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-BzkPBd44.js";import{d as f,f as u,u as p,L as h,r as d,X as g,g as s,c as S,i as e,z as a,A as o,b as i,w as b,e as v,h as x,t as k,j as $}from"./index-6QRvoxq4.js";import{_ as y}from"./index.vue_vue_type_script_setup_true_lang-BIJvuBmw.js";import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-DW2jDI9h.js";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-DNXKkRlZ.js";import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-4tK_xNzF.js";const V={class:"flex items-center"},C={class:"flex-center gap-1"},L=f({name:"Tools",__name:"rightSide",setup(D){const n=u(),t=p(),r=h(),c=d(!1);return g(()=>r.avatar,()=>{c.value&&(c.value=!1)}),(E,R)=>{const l=$,m=_;return s(),S("div",V,[e(t).settings.toolbar.navSearch?(s(),a(B,{key:0})):o("",!0),e(t).settings.toolbar.fullscreen?(s(),a(w,{key:1})):o("",!0),e(t).settings.toolbar.pageReload?(s(),a(N,{key:2})):o("",!0),e(t).settings.toolbar.colorScheme?(s(),a(y,{key:3})):o("",!0),i(m,{items:[[{label:e(t).settings.home.title,handle:()=>e(n).push({path:e(t).settings.home.fullPath}),hide:!e(t).settings.home.enable},{label:"个人设置",handle:()=>e(n).push({name:"personalSetting"})}],[{label:"退出登录",handle:()=>e(r).logout()}]],class:"flex-center cursor-pointer px-2"},{default:b(()=>[v("div",C,[x(k(e(r).username)+" ",1),i(l,{name:"i-ep:caret-bottom"})])]),_:1},8,["items"])])}}});export{L as _}; diff --git a/public/admin/assets/rpm-CTu-6PCP.js b/AIWebQuickDeploy/public/admin/assets/rpm-CTu-6PCP.js similarity index 100% rename from public/admin/assets/rpm-CTu-6PCP.js rename to AIWebQuickDeploy/public/admin/assets/rpm-CTu-6PCP.js diff --git a/public/admin/assets/ruby-B2Rjki9n.js b/AIWebQuickDeploy/public/admin/assets/ruby-B2Rjki9n.js similarity index 100% rename from public/admin/assets/ruby-B2Rjki9n.js rename to AIWebQuickDeploy/public/admin/assets/ruby-B2Rjki9n.js diff --git a/public/admin/assets/sas-B4kiWyti.js b/AIWebQuickDeploy/public/admin/assets/sas-B4kiWyti.js similarity index 100% rename from public/admin/assets/sas-B4kiWyti.js rename to AIWebQuickDeploy/public/admin/assets/sas-B4kiWyti.js diff --git a/public/admin/assets/scheme-C41bIUwD.js b/AIWebQuickDeploy/public/admin/assets/scheme-C41bIUwD.js similarity index 100% rename from public/admin/assets/scheme-C41bIUwD.js rename to AIWebQuickDeploy/public/admin/assets/scheme-C41bIUwD.js diff --git a/public/admin/assets/setting-B_yMB92n.js b/AIWebQuickDeploy/public/admin/assets/setting-C2TdzxY1.js similarity index 84% rename from public/admin/assets/setting-B_yMB92n.js rename to AIWebQuickDeploy/public/admin/assets/setting-C2TdzxY1.js index 8ec551c..f860030 100644 --- a/public/admin/assets/setting-B_yMB92n.js +++ b/AIWebQuickDeploy/public/admin/assets/setting-C2TdzxY1.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as u}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{d as f,f as h,r as b,p as a,g as v,c as g,b as s,w as o,e as t,h as x,R as w,S as k,l as y,k as n}from"./index-nGFMSQGw.js";const c=e=>(w("data-v-d3d3fd45"),e=e(),k(),e),C=c(()=>t("h2",null,"安全设置",-1)),I={class:"setting-list"},S={class:"item"},B=c(()=>t("div",{class:"content"},[t("div",{class:"title"}," 账户密码 "),t("div",{class:"desc"}," 当前密码强度:强 ")],-1)),N={class:"action"},_=f({__name:"setting",setup(e){const d=h();b({headimg:"",mobile:"",name:"",qq:"",wechat:""});function i(){d.push({name:"personalEditPassword"})}return(V,q)=>{const l=a("el-button"),p=a("el-tab-pane"),r=a("el-tabs"),m=u;return v(),g("div",null,[s(m,null,{default:o(()=>[s(r,{"tab-position":"left",style:{height:"600px"}},{default:o(()=>[s(p,{label:"安全设置",class:"security"},{default:o(()=>[C,t("div",I,[t("div",S,[B,t("div",N,[s(l,{type:"primary",text:"",onClick:i},{default:o(()=>[x(" 修改 ")]),_:1})])])])]),_:1})]),_:1})]),_:1})])}}});typeof n=="function"&&n(_);const R=y(_,[["__scopeId","data-v-d3d3fd45"]]);export{R as default}; +import{_ as u}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{d as f,f as h,r as b,p as a,g as v,c as g,b as s,w as o,e as t,h as x,R as w,S as k,l as y,k as n}from"./index-6QRvoxq4.js";const c=e=>(w("data-v-d3d3fd45"),e=e(),k(),e),C=c(()=>t("h2",null,"安全设置",-1)),I={class:"setting-list"},S={class:"item"},B=c(()=>t("div",{class:"content"},[t("div",{class:"title"}," 账户密码 "),t("div",{class:"desc"}," 当前密码强度:强 ")],-1)),N={class:"action"},_=f({__name:"setting",setup(e){const d=h();b({headimg:"",mobile:"",name:"",qq:"",wechat:""});function i(){d.push({name:"personalEditPassword"})}return(V,q)=>{const l=a("el-button"),p=a("el-tab-pane"),r=a("el-tabs"),m=u;return v(),g("div",null,[s(m,null,{default:o(()=>[s(r,{"tab-position":"left",style:{height:"600px"}},{default:o(()=>[s(p,{label:"安全设置",class:"security"},{default:o(()=>[C,t("div",I,[t("div",S,[B,t("div",N,[s(l,{type:"primary",text:"",onClick:i},{default:o(()=>[x(" 修改 ")]),_:1})])])])]),_:1})]),_:1})]),_:1})])}}});typeof n=="function"&&n(_);const R=y(_,[["__scopeId","data-v-d3d3fd45"]]);export{R as default}; diff --git a/public/admin/assets/setting-DPas9sHG.css b/AIWebQuickDeploy/public/admin/assets/setting-DPas9sHG.css similarity index 100% rename from public/admin/assets/setting-DPas9sHG.css rename to AIWebQuickDeploy/public/admin/assets/setting-DPas9sHG.css diff --git a/public/admin/assets/shell-CjFT_Tl9.js b/AIWebQuickDeploy/public/admin/assets/shell-CjFT_Tl9.js similarity index 100% rename from public/admin/assets/shell-CjFT_Tl9.js rename to AIWebQuickDeploy/public/admin/assets/shell-CjFT_Tl9.js diff --git a/public/admin/assets/sieve-C3Gn_uJK.js b/AIWebQuickDeploy/public/admin/assets/sieve-C3Gn_uJK.js similarity index 100% rename from public/admin/assets/sieve-C3Gn_uJK.js rename to AIWebQuickDeploy/public/admin/assets/sieve-C3Gn_uJK.js diff --git a/public/admin/assets/simple-mode-C4Nsj8zu.js b/AIWebQuickDeploy/public/admin/assets/simple-mode-C4Nsj8zu.js similarity index 100% rename from public/admin/assets/simple-mode-C4Nsj8zu.js rename to AIWebQuickDeploy/public/admin/assets/simple-mode-C4Nsj8zu.js diff --git a/public/admin/assets/smalltalk-CnHTOXQT.js b/AIWebQuickDeploy/public/admin/assets/smalltalk-CnHTOXQT.js similarity index 100% rename from public/admin/assets/smalltalk-CnHTOXQT.js rename to AIWebQuickDeploy/public/admin/assets/smalltalk-CnHTOXQT.js diff --git a/public/admin/assets/solr-DehyRSwq.js b/AIWebQuickDeploy/public/admin/assets/solr-DehyRSwq.js similarity index 100% rename from public/admin/assets/solr-DehyRSwq.js rename to AIWebQuickDeploy/public/admin/assets/solr-DehyRSwq.js diff --git a/public/admin/assets/sparql-DkYu6x3z.js b/AIWebQuickDeploy/public/admin/assets/sparql-DkYu6x3z.js similarity index 100% rename from public/admin/assets/sparql-DkYu6x3z.js rename to AIWebQuickDeploy/public/admin/assets/sparql-DkYu6x3z.js diff --git a/public/admin/assets/spreadsheet-BCZA_wO0.js b/AIWebQuickDeploy/public/admin/assets/spreadsheet-BCZA_wO0.js similarity index 100% rename from public/admin/assets/spreadsheet-BCZA_wO0.js rename to AIWebQuickDeploy/public/admin/assets/spreadsheet-BCZA_wO0.js diff --git a/public/admin/assets/sql-C4g8LzGK.js b/AIWebQuickDeploy/public/admin/assets/sql-C4g8LzGK.js similarity index 100% rename from public/admin/assets/sql-C4g8LzGK.js rename to AIWebQuickDeploy/public/admin/assets/sql-C4g8LzGK.js diff --git a/public/admin/assets/stex-C3f8Ysf7.js b/AIWebQuickDeploy/public/admin/assets/stex-C3f8Ysf7.js similarity index 100% rename from public/admin/assets/stex-C3f8Ysf7.js rename to AIWebQuickDeploy/public/admin/assets/stex-C3f8Ysf7.js diff --git a/public/admin/assets/style-CY8tkffG.js b/AIWebQuickDeploy/public/admin/assets/style-CSuzBWCF.js similarity index 71% rename from public/admin/assets/style-CY8tkffG.js rename to AIWebQuickDeploy/public/admin/assets/style-CSuzBWCF.js index 262add5..7330aef 100644 --- a/public/admin/assets/style-CY8tkffG.js +++ b/AIWebQuickDeploy/public/admin/assets/style-CSuzBWCF.js @@ -5,25 +5,25 @@ * https://fantastic-admin.github.io */ -const __vite__fileDeps=["./index-BAThy-QT.js","./index-nGFMSQGw.js","./index-matkXqi_.css","./index-DypIgR1i.js","./index-2ff-Jv0C.js","./index-BaTBnWfb.js","./index-DHoGfsDt.js","./index-ltfup6bp.js","./index-Bq4zaOcP.js","./index-Dllm2_h9.js","./index-B-Adk9a1.js","./index-DaE0Gq3j.js","./index-Dasmtrdh.js","./index-fSrKMKAy.js","./index-B5Oqksb-.js","./index-Bh_8enQz.js","./dockerfile-BuNIbK2j.js","./simple-mode-C4Nsj8zu.js","./factor-D8pE9siL.js","./nsis-CEAdamBV.js","./pug-BmUsPMDj.js","./javascript-iSgyE4tI.js","./index-D2gie-zN.js","./index-kBKco1xS.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); -var pb=Object.defineProperty;var mb=(t,e,i)=>e in t?pb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var Ce=(t,e,i)=>(mb(t,typeof e!="symbol"?e+"":e,i),i),ql=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)};var x=(t,e,i)=>(ql(t,e,"read from private field"),i?i.call(t):e.get(t)),K=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},U=(t,e,i,n)=>(ql(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i);var qs=(t,e,i,n)=>({set _(r){U(t,e,r,i)},get _(){return x(t,e,n)}}),Y=(t,e,i)=>(ql(t,e,"access private method"),i);import{d as Ee,W as ne,b as w,m as mt,r as $e,X as J,a as De,Y as $s,Z as Xa,$ as yn,n as _t,E as gi,a0 as Ob,a1 as gb,a2 as Q,a3 as n0,a4 as ki,F as $l,a5 as qi,a6 as bb}from"./index-nGFMSQGw.js";const yb=t=>{const e=typeof t;return e!=="function"&&e!=="object"||t===null},xb=t=>{const e=t.flags===""?void 0:t.flags;return new RegExp(t.source,e)},Ir=(t,e=new WeakMap)=>{if(t===null||yb(t))return t;if(e.has(t))return e.get(t);if(t instanceof RegExp)return xb(t);if(t instanceof Date)return new Date(t.getTime());if(t instanceof Function)return t;if(t instanceof Map){const n=new Map;return e.set(t,n),t.forEach((r,s)=>{n.set(s,Ir(r,e))}),n}if(t instanceof Set){const n=new Set;e.set(t,n);for(const r of t)n.add(Ir(r,e));return n}if(Array.isArray(t)){const n=[];return e.set(t,n),t.forEach(r=>{n.push(Ir(r,e))}),n}const i={};e.set(t,i);for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=Ir(t[n],e));return i},Ku=(t,e=200)=>{let i=0;return(...n)=>new Promise(r=>{i&&(clearTimeout(i),r("cancel")),i=window.setTimeout(()=>{t.apply(void 0,n),i=0,r("done")},e)})},kb=(t,e={_blank:!0,nofollow:!0})=>{const i=document.createElement("a");i.href=t,e._blank&&(i.target="_blank"),e.nofollow&&(i.rel="noopener noreferrer"),i.click()},vb=()=>{let t=-1;return(e,i,n,r=100)=>{const s=()=>{n&&(typeof r=="number"?setTimeout(n,r):n())};t!==-1&&(cancelAnimationFrame(t),s());let o=e.scrollTop;const l=()=>{t=-1;const a=i-o;o=o+a/5,Math.abs(a)<1?(e.scrollTo(0,i),s()):(e.scrollTo(0,o),t=requestAnimationFrame(l))};t=requestAnimationFrame(l)}},r0=(t,e=200)=>{let i=0,n=null;const r=s=>{i===0&&(i=s),s-i>=e?(t.apply(void 0,n),n=null,i=0):window.requestAnimationFrame(r)};return(...s)=>{n===null&&window.requestAnimationFrame(r),n=s}},Sb=t=>{const e=i=>{const{scrollHeight:n,scrollWidth:r,offsetHeight:s,offsetWidth:o,scrollLeft:l,scrollTop:a}=t,u=i.x,c=i.y,h=d=>{const p=a+c-d.y,m=l+u-d.x,g=n-s,O=r-o,y={};m>=0&&m<=O&&(y.left=m),p>=0&&p<=g&&(y.top=p),t.scroll(y)};document.addEventListener("mousemove",h);const f=()=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",e),()=>{t.removeEventListener("mousedown",e)}},Ma=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,Ih=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),s0=(t,e)=>{for(const i in e)Ih(e[i])&&Ih(t[i])?t[i]=s0(t[i],e[i]):t[i]=e[i];return t},k="md-editor",wb="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.js",_b="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.css",Se="https://cdnjs.cloudflare.com/ajax/libs",$b=`${Se}/highlight.js/11.8.0/highlight.min.js`,Lh={main:`${Se}/prettier/2.8.0/standalone.js`,markdown:`${Se}/prettier/2.8.0/parser-markdown.js`},Pb={css:`${Se}/cropperjs/1.5.13/cropper.min.css`,js:`${Se}/cropperjs/1.5.13/cropper.min.js`},Cb=`${Se}/screenfull.js/5.2.0/screenfull.min.js`,o0=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],l0=["markdownTotal","=","scrollSwitch"],Xh={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},Qb=`${Se}/mermaid/10.6.1/mermaid.esm.min.mjs`,Ab={js:`${Se}/KaTeX/0.16.9/katex.min.js`,css:`${Se}/KaTeX/0.16.9/katex.min.css`},Wa={a11y:{light:`${Se}/highlight.js/11.8.0/styles/a11y-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/a11y-dark.min.css`},atom:{light:`${Se}/highlight.js/11.8.0/styles/atom-one-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/atom-one-dark.min.css`},github:{light:`${Se}/highlight.js/11.8.0/styles/github.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/github-dark.min.css`},gradient:{light:`${Se}/highlight.js/11.8.0/styles/gradient-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/gradient-dark.min.css`},kimbie:{light:`${Se}/highlight.js/11.8.0/styles/kimbie-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/kimbie-dark.min.css`},paraiso:{light:`${Se}/highlight.js/11.8.0/styles/paraiso-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${Se}/highlight.js/11.8.0/styles/qtcreator-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${Se}/highlight.js/11.8.0/styles/stackoverflow-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/stackoverflow-dark.min.css`}},ze={editorExtensions:{highlight:{js:$b,css:Wa},prettier:{standaloneJs:Lh.main,parserMarkdownJs:Lh.markdown},cropper:{...Pb},iconfont:wb,iconfontClass:_b,screenfull:{js:Cb},mermaid:{js:Qb},katex:{...Ab}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(t,e)=>e,markdownItConfig:()=>{},markdownItPlugins:t=>t,iconfontType:"svg",mermaidConfig:t=>t},Ys=170,Zt=({instance:t,ctx:e,props:i={}},n="default")=>{const r=(t==null?void 0:t.$slots[n])||(e==null?void 0:e.slots[n]);return(r?r(t):"")||i[n]},Tb={overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"}},In=Ee({props:Tb,setup(t,e){const i=`${k}-dropdown-hidden`,n=mt({overlayClass:[i],overlayStyle:{},triggerHover:!1,overlayHover:!1}),r=$e(),s=$e(),o=()=>{var c,h;n.triggerHover=!0;const f=r.value,d=s.value;if(!f||!d)return;const p=f.getBoundingClientRect(),m=f.offsetTop,g=f.offsetLeft,O=p.height,y=p.width,v=((c=document.querySelector(t.relative))==null?void 0:c.scrollLeft)||0,S=((h=document.querySelector(t.relative))==null?void 0:h.clientWidth)||0;let _=g-d.offsetWidth/2+y/2-v;_+d.offsetWidth>v+S&&(_=v+S-d.offsetWidth),_<0&&(_=0),n.overlayStyle={...n.overlayStyle,top:m+O+"px",left:_+"px"},t.onChange(!0)},l=()=>{n.overlayHover=!0};J(()=>t.visible,c=>{c?n.overlayClass=n.overlayClass.filter(h=>h!==i):n.overlayClass.push(i)});let a=-1;const u=c=>{r.value===c.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(a),a=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&t.onChange(!1)},10)};return De(()=>{r.value.addEventListener("mouseenter",o),r.value.addEventListener("mouseleave",u),s.value.addEventListener("mouseenter",l),s.value.addEventListener("mouseleave",u)}),$s(()=>{r.value.removeEventListener("mouseenter",o),r.value.removeEventListener("mouseleave",u),s.value.removeEventListener("mouseenter",l),s.value.removeEventListener("mouseleave",u)}),()=>{const c=Zt({ctx:e}),h=Zt({props:t,ctx:e},"overlay"),f=Xa(c instanceof Array?c[0]:c,{ref:r,key:"cloned-dropdown-trigger"}),d=w("div",{class:[`${k}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:s},[w("div",{class:`${k}-dropdown-overlay`},[h instanceof Array?h[0]:h])]);return[f,d]}}}),Eb={title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function},overlay:{type:[String,Object]},insert:{type:Function},language:{type:String},theme:{type:String},previewTheme:{type:String},default:{type:[String,Object]}},$o=Ee({name:"DropdownToolbar",props:Eb,emits:["onChange"],setup(t,e){const i=ne("editorId");return()=>{const n=Zt({props:t,ctx:e},"trigger"),r=Zt({props:t,ctx:e},"overlay"),s=Zt({props:t,ctx:e});return w(In,{relative:`#${i}-toolbar-wrapper`,visible:t.visible,onChange:o=>{t.onChange instanceof Function?t.onChange(o):e.emit("onChange",o)},overlay:r},{default:()=>[w("div",{class:`${k}-toolbar-item`,title:t.title||""},[n,s])]})}}});$o.install=t=>(t.component($o.name,$o),t);var Zb=Object.defineProperty,Db=(t,e,i)=>e in t?Zb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Rb=(t,e,i)=>(Db(t,e+"",i),i);class Ib{constructor(){Rb(this,"pools",{})}remove(e,i,n){const s=this.pools[e]&&this.pools[e][i];s&&(this.pools[e][i]=s.filter(o=>o!==n))}clear(e){this.pools[e]={}}on(e,i){return this.pools[e]||(this.pools[e]={}),this.pools[e][i.name]||(this.pools[e][i.name]=[]),this.pools[e][i.name].push(i.callback),this.pools[e][i.name].includes(i.callback)}emit(e,i,...n){this.pools[e]||(this.pools[e]={});const s=this.pools[e][i];s&&s.forEach(o=>{try{o(...n)}catch(l){console.error(`${i} monitor event exception!`,l)}})}}const I=new Ib,Pl="onSave",Ju="changeCatalogVisible",a0="changeFullscreen",Mh="pageFullscreenChanged",Wh="fullscreenChanged",Vh="previewChanged",Fh="previewOnlyChanged",zh="htmlPreviewChanged",jh="catalogVisibleChanged",Po="buildFinished",$n="errorCatcher",fe="replace",Cl="uploadImage",Va="openModals",u0="ctrlZ",c0="ctrlShiftZ",Co="catalogChanged",h0="pushCatalog",ec="rerender",f0="eventListener",Bh=(t,e)=>{const i=n=>{const r=t.parentElement||document.body,s=r.offsetWidth,o=r.offsetHeight,{clientWidth:l}=document.documentElement,{clientHeight:a}=document.documentElement,u=n.offsetX,c=n.offsetY,h=d=>{let p=d.x+document.body.scrollLeft-document.body.clientLeft-u,m=d.y+document.body.scrollTop-document.body.clientTop-c;p=p<1?1:p{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",i),()=>{t.removeEventListener("mousedown",i)}},dt=(t,e,i="")=>{var n;const r=document.getElementById(e.id);if(r)i!==""&&(Reflect.get(window,i)?(n=e.onload)==null||n.call(r,new Event("load")):e.onload&&r.addEventListener("load",e.onload));else{const s={...e};s.onload=null;const o=Xb(t,s);e.onload&&o.addEventListener("load",e.onload),document.head.appendChild(o)}},Lb=(t,e)=>{const i=document.getElementById(e.id);i==null||i.remove(),dt(t,e)},Xb=(t,e)=>{const i=document.createElement(t);return Object.keys(e).forEach(n=>{e[n]!==void 0&&(i[n]=e[n])}),i},Mb=(t,e="image.png")=>{const i=t.split(","),n=i[0].match(/:(.*?);/);if(n){const r=n[1],s=atob(i[1]);let o=s.length;const l=new Uint8Array(o);for(;o--;)l[o]=s.charCodeAt(o);return new File([l],e,{type:r})}return null},Wb=t=>{if(!t)return t;const e=t.split(` -`),i=['"),`${t}${i.join("")}`},Vb=(t,e)=>{if(!t||!e)return 0;const i=t==null?void 0:t.getBoundingClientRect();if(e===document.documentElement)return i.top-e.clientTop;const n=e==null?void 0:e.getBoundingClientRect();return i.top-n.top},Fb=(()=>{let t=0;return e=>e+ ++t})(),qh=(()=>{let t=0;return()=>++t})(),zb=Ee({props:{name:{type:String,default:""}},setup(t){return()=>w("svg",{class:`${k}-icon`,"aria-hidden":"true"},[w("use",{"xlink:href":`#${k}-icon-${t.name}`},null)])}}),re=Ee({props:{name:{type:String,default:""}},setup(t){const e=ne("customIcon");return()=>{const i=e.value[t.name];return typeof i=="object"?typeof i.component=="object"?gb(i.component,i.props):w("span",{innerHTML:i.component},null):w(zb,{name:t.name},null)}}}),jb={title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}},class:{type:String},style:{type:Object,default:()=>({})}},Vn=Ee({name:"MdModal",props:jb,emits:["onClose"],setup(t,e){const i=ne("theme"),n=$e(t.visible),r=$e([`${k}-modal`]),s=$e(),o=$e(),l=$e(),a=yn();let u=()=>{};const c=mt({maskStyle:{zIndex:-1},modalStyle:{zIndex:-1},initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),h=_t(()=>t.isFullscreen?{width:"100%",height:"100%"}:{width:t.width,height:t.height});return J(()=>t.isFullscreen,f=>{f?u():gi(()=>{u=Bh(o.value,(d,p)=>{c.initPos.left=d+"px",c.initPos.top=p+"px"})})}),J(()=>t.visible,f=>{f?(c.maskStyle.zIndex=ze.editorConfig.zIndex+qh(),c.modalStyle.zIndex=ze.editorConfig.zIndex+qh(),r.value.push("zoom-in"),n.value=f,gi(()=>{const d=s.value.offsetWidth/2,p=s.value.offsetHeight/2,m=document.documentElement.clientWidth/2,g=document.documentElement.clientHeight/2;c.initPos.left=m-d+"px",c.initPos.top=g-p+"px",t.isFullscreen||(u=Bh(o.value,(O,y)=>{c.initPos.left=O+"px",c.initPos.top=y+"px"}))}),setTimeout(()=>{r.value=r.value.filter(d=>d!=="zoom-in")},140)):(r.value.push("zoom-out"),u(),setTimeout(()=>{r.value=r.value.filter(d=>d!=="zoom-out"),n.value=f},130))}),De(()=>{l.value=document.body}),()=>{const f=Zt({ctx:e}),d=Zt({props:t,ctx:e},"title");return l.value?w(Ob,{to:l.value},{default:()=>[w("div",{ref:a,class:`${k}-modal-container`,"data-theme":i.value},[w("div",{class:t.class,style:{...t.style,display:n.value?"block":"none"}},[w("div",{class:`${k}-modal-mask`,style:c.maskStyle,onClick:()=>{t.onClose?t.onClose():e.emit("onClose")}},null),w("div",{class:r.value,style:{...c.modalStyle,...c.initPos,...h.value},ref:s},[w("div",{class:`${k}-modal-header`,ref:o},[d||""]),w("div",{class:`${k}-modal-body`},[f]),w("div",{class:`${k}-modal-func`},[t.showAdjust&&w("div",{class:`${k}-modal-adjust`,onClick:p=>{p.stopPropagation(),t.isFullscreen?c.initPos=c.historyPos:(c.historyPos=c.initPos,c.initPos={left:"0",top:"0"}),t.onAdjust(!t.isFullscreen)}},[w(re,{name:t.isFullscreen?"suoxiao":"fangda"},null)]),w("div",{class:`${k}-modal-close`,onClick:p=>{p.stopPropagation(),t.onClose?t.onClose():e.emit("onClose")}},[w(re,{name:"close"},null)])])])])])]}):""}}});Vn.install=t=>(t.component(Vn.name,Vn),t);class ue{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,i,n){[e,i]=tr(this,e,i);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(i,this.length,r,1),ui.from(r,this.length-(i-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){[e,i]=tr(this,e,i);let n=[];return this.decompose(e,i,n,0),ui.from(n,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new Br(this),s=new Br(e);for(let o=i,l=i;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(l+=r.value.length,r.done||l>=n)return!0}}iter(e=1){return new Br(this,e)}iterRange(e,i=this.length){return new d0(this,e,i)}iterLines(e,i){let n;if(e==null)n=this.iter();else{i==null&&(i=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new p0(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?ue.empty:e.length<=32?new Re(e):ui.from(Re.split(e,[]))}}class Re extends ue{constructor(e,i=Bb(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.text[s],l=r+o.length;if((i?n:l)>=e)return new qb(r,l,n,o);r=l+1,n++}}decompose(e,i,n,r){let s=e<=0&&i>=this.length?this:new Re(Yh(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(r&1){let o=n.pop(),l=Qo(s.text,o.text.slice(),0,s.length);if(l.length<=32)n.push(new Re(l,o.length+s.length));else{let a=l.length>>1;n.push(new Re(l.slice(0,a)),new Re(l.slice(a)))}}else n.push(s)}replace(e,i,n){if(!(n instanceof Re))return super.replace(e,i,n);[e,i]=tr(this,e,i);let r=Qo(this.text,Qo(n.text,Yh(this.text,0,e)),i),s=this.length+n.length-(i-e);return r.length<=32?new Re(r,s):ui.from(Re.split(r,[]),s)}sliceString(e,i=this.length,n=` -`){[e,i]=tr(this,e,i);let r="";for(let s=0,o=0;s<=i&&oe&&o&&(r+=n),es&&(r+=l.slice(Math.max(0,e-s),i-s)),s=a+1}return r}flatten(e){for(let i of this.text)e.push(i)}scanIdentical(){return 0}static split(e,i){let n=[],r=-1;for(let s of e)n.push(s),r+=s.length+1,n.length==32&&(i.push(new Re(n,r)),n=[],r=-1);return r>-1&&i.push(new Re(n,r)),i}}class ui extends ue{constructor(e,i){super(),this.children=e,this.length=i,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.children[s],l=r+o.length,a=n+o.lines-1;if((i?a:l)>=e)return o.lineInner(e,i,n,r);r=l+1,n=a+1}}decompose(e,i,n,r){for(let s=0,o=0;o<=i&&s=o){let u=r&((o<=e?1:0)|(a>=i?2:0));o>=e&&a<=i&&!u?n.push(l):l.decompose(e-o,i-o,n,u)}o=a+1}}replace(e,i,n){if([e,i]=tr(this,e,i),n.lines=s&&i<=l){let a=o.replace(e-s,i-s,n),u=this.lines-o.lines+a.lines;if(a.lines>4&&a.lines>u>>6){let c=this.children.slice();return c[r]=a,new ui(c,this.length-(i-e)+n.length)}return super.replace(s,l,a)}s=l+1}return super.replace(e,i,n)}sliceString(e,i=this.length,n=` -`){[e,i]=tr(this,e,i);let r="";for(let s=0,o=0;se&&s&&(r+=n),eo&&(r+=l.sliceString(e-o,i-o,n)),o=a+1}return r}flatten(e){for(let i of this.children)i.flatten(e)}scanIdentical(e,i){if(!(e instanceof ui))return 0;let n=0,[r,s,o,l]=i>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=i,s+=i){if(r==o||s==l)return n;let a=this.children[r],u=e.children[s];if(a!=u)return n+a.scanIdentical(u,i);n+=a.length+1}}static from(e,i=e.reduce((n,r)=>n+r.length+1,-1)){let n=0;for(let d of e)n+=d.lines;if(n<32){let d=[];for(let p of e)p.flatten(d);return new Re(d,i)}let r=Math.max(32,n>>5),s=r<<1,o=r>>1,l=[],a=0,u=-1,c=[];function h(d){let p;if(d.lines>s&&d instanceof ui)for(let m of d.children)h(m);else d.lines>o&&(a>o||!a)?(f(),l.push(d)):d instanceof Re&&a&&(p=c[c.length-1])instanceof Re&&d.lines+p.lines<=32?(a+=d.lines,u+=d.length+1,c[c.length-1]=new Re(p.text.concat(d.text),p.length+1+d.length)):(a+d.lines>r&&f(),a+=d.lines,u+=d.length+1,c.push(d))}function f(){a!=0&&(l.push(c.length==1?c[0]:ui.from(c,u)),u=-1,a=c.length=0)}for(let d of e)h(d);return f(),l.length==1?l[0]:new ui(l,i)}}ue.empty=new Re([""],0);function Bb(t){let e=-1;for(let i of t)e+=i.length+1;return e}function Qo(t,e,i=0,n=1e9){for(let r=0,s=0,o=!0;s=i&&(a>n&&(l=l.slice(0,n-r)),r0?1:(e instanceof Re?e.text.length:e.children.length)<<1]}nextInner(e,i){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],s=this.offsets[n],o=s>>1,l=r instanceof Re?r.text.length:r.children.length;if(o==(i>0?l:0)){if(n==0)return this.done=!0,this.value="",this;i>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(i>0?0:1)){if(this.offsets[n]+=i,e==0)return this.lineBreak=!0,this.value=` -`,this;e--}else if(r instanceof Re){let a=r.text[o+(i<0?-1:0)];if(this.offsets[n]+=i,a.length>Math.max(0,e))return this.value=e==0?a:i>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=r.children[o+(i<0?-1:0)];e>a.length?(e-=a.length,this.offsets[n]+=i):(i<0&&this.offsets[n]--,this.nodes.push(a),this.offsets.push(i>0?1:(a instanceof Re?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class d0{constructor(e,i,n){this.value="",this.done=!1,this.cursor=new Br(e,i>n?-1:1),this.pos=i>n?e.length:0,this.from=Math.min(i,n),this.to=Math.max(i,n)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let n=i<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*i,this.value=r.length<=n?r:i<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class p0{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:n,value:r}=this.inner.next(e);return i&&this.afterBreak?(this.value="",this.afterBreak=!1):i?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ue.prototype[Symbol.iterator]=function(){return this.iter()},Br.prototype[Symbol.iterator]=d0.prototype[Symbol.iterator]=p0.prototype[Symbol.iterator]=function(){return this});let qb=class{constructor(e,i,n,r){this.from=e,this.to=i,this.number=n,this.text=r}get length(){return this.to-this.from}};function tr(t,e,i){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,i))]}let Fn="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=1;tt)return Fn[e-1]<=t;return!1}function Nh(t){return t>=127462&&t<=127487}const Uh=8205;function He(t,e,i=!0,n=!0){return(i?m0:Nb)(t,e,n)}function m0(t,e,i){if(e==t.length)return e;e&&O0(t.charCodeAt(e))&&g0(t.charCodeAt(e-1))&&e--;let n=Ut(t,e);for(e+=wi(n);e=0&&Nh(Ut(t,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function Nb(t,e,i){for(;e>0;){let n=m0(t,e-2,i);if(n=56320&&t<57344}function g0(t){return t>=55296&&t<56320}function Ut(t,e){let i=t.charCodeAt(e);if(!g0(i)||e+1==t.length)return i;let n=t.charCodeAt(e+1);return O0(n)?(i-55296<<10)+(n-56320)+65536:i}function b0(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function wi(t){return t<65536?1:2}const Fa=/\r\n?|\n/;var at=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(at||(at={}));class Oi{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;ie)return s+(e-r);s+=l}else{if(n!=at.Simple&&u>=e&&(n==at.TrackDel&&re||n==at.TrackBefore&&re))return null;if(u>e||u==e&&i<0&&!l)return e==r||i<0?s:s+a;s+=a}r=u}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,i=e){for(let n=0,r=0;n=0&&r<=i&&l>=e)return ri?"cover":!0;r=l}return!1}toString(){let e="";for(let i=0;i=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new Oi(e)}static create(e){return new Oi(e)}}class Fe extends Oi{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return za(this,(i,n,r,s,o)=>e=e.replace(r,r+(n-i),o),!1),e}mapDesc(e,i=!1){return ja(this,e,i,!0)}invert(e){let i=this.sections.slice(),n=[];for(let r=0,s=0;r=0){i[r]=l,i[r+1]=o;let a=r>>1;for(;n.length0&&Yi(n,i,s.text),s.forward(c),l+=c}let u=e[o++];for(;l>1].toJSON()))}return e}static of(e,i,n){let r=[],s=[],o=0,l=null;function a(c=!1){if(!c&&!r.length)return;of||h<0||f>i)throw new RangeError(`Invalid change range ${h} to ${f} (in doc of length ${i})`);let p=d?typeof d=="string"?ue.of(d.split(n||Fa)):d:ue.empty,m=p.length;if(h==f&&m==0)return;ho&&it(r,h-o,-1),it(r,f-h,m),Yi(s,r,p),o=f}}return u(e),a(!l),l}static empty(e){return new Fe(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],n=[];for(let r=0;rl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)i.push(s[0],0);else{for(;n.length=0&&i<=0&&i==t[r+1]?t[r]+=e:e==0&&t[r]==0?t[r+1]+=i:n?(t[r]+=e,t[r+1]+=i):t.push(e,i)}function Yi(t,e,i){if(i.length==0)return;let n=e.length-2>>1;if(n>1])),!(i||o==t.sections.length||t.sections[o+1]<0);)l=t.sections[o++],a=t.sections[o++];e(r,u,s,c,h),r=u,s=c}}}function ja(t,e,i,n=!1){let r=[],s=n?[]:null,o=new es(t),l=new es(e);for(let a=-1;;)if(o.ins==-1&&l.ins==-1){let u=Math.min(o.len,l.len);it(r,u,-1),o.forward(u),l.forward(u)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let u=0,c=o.len;for(;c;)if(l.ins==-1){let h=Math.min(c,l.len);u+=h,c-=h,l.forward(h)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||n.length>u),s.forward2(a),o.forward(a)}}}}class es{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return i>=e.length?ue.empty:e[i]}textBit(e){let{inserted:i}=this.set,n=this.i-2>>1;return n>=i.length&&!e?ue.empty:i[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class pn{constructor(e,i,n){this.from=e,this.to=i,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,i=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,i):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new pn(n,r,this.flags)}extend(e,i=e){if(e<=this.anchor&&i>=this.anchor)return T.range(e,i);let n=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return T.range(this.anchor,n)}eq(e,i=!1){return this.anchor==e.anchor&&this.head==e.head&&(!i||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return T.range(e.anchor,e.head)}static create(e,i,n){return new pn(e,i,n)}}class T{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:T.create(this.ranges.map(n=>n.map(e,i)),this.mainIndex)}eq(e,i=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new T(e.ranges.map(i=>pn.fromJSON(i)),e.main)}static single(e,i=e){return new T([T.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,r=0;re?8:0)|s)}static normalized(e,i=0){let n=e[i];e.sort((r,s)=>r.from-s.from),i=e.indexOf(n);for(let r=1;rs.head?T.range(a,l):T.range(l,a))}}return new T(e,i)}}function x0(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}let tc=0;class N{constructor(e,i,n,r,s){this.combine=e,this.compareInput=i,this.compare=n,this.isStatic=r,this.id=tc++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new N(e.combine||(i=>i),e.compareInput||((i,n)=>i===n),e.compare||(e.combine?(i,n)=>i===n:ic),!!e.static,e.enables)}of(e){return new Ao([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ao(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ao(e,this,2,i)}from(e,i){return i||(i=n=>n),this.compute([e],n=>i(n.field(e)))}}function ic(t,e){return t==e||t.length==e.length&&t.every((i,n)=>i===e[n])}class Ao{constructor(e,i,n,r){this.dependencies=e,this.facet=i,this.type=n,this.value=r,this.id=tc++}dynamicSlot(e){var i;let n=this.value,r=this.facet.compareInput,s=this.id,o=e[s]>>1,l=this.type==2,a=!1,u=!1,c=[];for(let h of this.dependencies)h=="doc"?a=!0:h=="selection"?u=!0:((i=e[h.id])!==null&&i!==void 0?i:1)&1||c.push(e[h.id]);return{create(h){return h.values[o]=n(h),1},update(h,f){if(a&&f.docChanged||u&&(f.docChanged||f.selection)||Ba(h,c)){let d=n(h);if(l?!Gh(d,h.values[o],r):!r(d,h.values[o]))return h.values[o]=d,1}return 0},reconfigure:(h,f)=>{let d,p=f.config.address[s];if(p!=null){let m=Yo(f,p);if(this.dependencies.every(g=>g instanceof N?f.facet(g)===h.facet(g):g instanceof Xt?f.field(g,!1)==h.field(g,!1):!0)||(l?Gh(d=n(h),m,r):r(d=n(h),m)))return h.values[o]=m,0}else d=n(h);return h.values[o]=d,1}}}}function Gh(t,e,i){if(t.length!=e.length)return!1;for(let n=0;nt[a.id]),r=i.map(a=>a.type),s=n.filter(a=>!(a&1)),o=t[e.id]>>1;function l(a){let u=[];for(let c=0;cn===r),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(Hh).find(n=>n.field==this);return((i==null?void 0:i.create)||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:n=>(n.values[i]=this.create(n),1),update:(n,r)=>{let s=n.values[i],o=this.updateF(s,r);return this.compareF(s,o)?0:(n.values[i]=o,1)},reconfigure:(n,r)=>r.config.address[this.id]!=null?(n.values[i]=r.field(this),0):(n.values[i]=this.create(n),1)}}init(e){return[this,Hh.of({field:this,create:e})]}get extension(){return this}}const fn={lowest:4,low:3,default:2,high:1,highest:0};function _r(t){return e=>new k0(e,t)}const on={highest:_r(fn.highest),high:_r(fn.high),default:_r(fn.default),low:_r(fn.low),lowest:_r(fn.lowest)};class k0{constructor(e,i){this.inner=e,this.prec=i}}class ci{of(e){return new qa(this,e)}reconfigure(e){return ci.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class qa{constructor(e,i){this.compartment=e,this.inner=i}}class qo{constructor(e,i,n,r,s,o){for(this.base=e,this.compartments=i,this.dynamicSlots=n,this.address=r,this.staticValues=s,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,i,n){let r=[],s=Object.create(null),o=new Map;for(let f of Gb(e,i,o))f instanceof Xt?r.push(f):(s[f.facet.id]||(s[f.facet.id]=[])).push(f);let l=Object.create(null),a=[],u=[];for(let f of r)l[f.id]=u.length<<1,u.push(d=>f.slot(d));let c=n==null?void 0:n.config.facets;for(let f in s){let d=s[f],p=d[0].facet,m=c&&c[f]||[];if(d.every(g=>g.type==0))if(l[p.id]=a.length<<1|1,ic(m,d))a.push(n.facet(p));else{let g=p.combine(d.map(O=>O.value));a.push(n&&p.compare(g,n.facet(p))?n.facet(p):g)}else{for(let g of d)g.type==0?(l[g.id]=a.length<<1|1,a.push(g.value)):(l[g.id]=u.length<<1,u.push(O=>g.dynamicSlot(O)));l[p.id]=u.length<<1,u.push(g=>Ub(g,p,d))}}let h=u.map(f=>f(l));return new qo(e,o,h,l,a,s)}}function Gb(t,e,i){let n=[[],[],[],[],[]],r=new Map;function s(o,l){let a=r.get(o);if(a!=null){if(a<=l)return;let u=n[a].indexOf(o);u>-1&&n[a].splice(u,1),o instanceof qa&&i.delete(o.compartment)}if(r.set(o,l),Array.isArray(o))for(let u of o)s(u,l);else if(o instanceof qa){if(i.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(o.compartment)||o.inner;i.set(o.compartment,u),s(u,l)}else if(o instanceof k0)s(o.inner,o.prec);else if(o instanceof Xt)n[l].push(o),o.provides&&s(o.provides,l);else if(o instanceof Ao)n[l].push(o),o.facet.extensions&&s(o.facet.extensions,fn.default);else{let u=o.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(u,l)}}return s(t,fn.default),n.reduce((o,l)=>o.concat(l))}function qr(t,e){if(e&1)return 2;let i=e>>1,n=t.status[i];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;t.status[i]=4;let r=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|r}function Yo(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const v0=N.define(),Ya=N.define({combine:t=>t.some(e=>e),static:!0}),S0=N.define({combine:t=>t.length?t[0]:void 0,static:!0}),w0=N.define(),_0=N.define(),$0=N.define(),P0=N.define({combine:t=>t.length?t[0]:!1});class Ti{constructor(e,i){this.type=e,this.value=i}static define(){return new Hb}}class Hb{of(e){return new Ti(this,e)}}class Kb{constructor(e){this.map=e}of(e){return new ce(this,e)}}class ce{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new ce(this.type,i)}is(e){return this.type==e}static define(e={}){return new Kb(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let n=[];for(let r of e){let s=r.map(i);s&&n.push(s)}return n}}ce.reconfigure=ce.define();ce.appendConfig=ce.define();class Le{constructor(e,i,n,r,s,o){this.startState=e,this.changes=i,this.selection=n,this.effects=r,this.annotations=s,this.scrollIntoView=o,this._doc=null,this._state=null,n&&x0(n,i.newLength),s.some(l=>l.type==Le.time)||(this.annotations=s.concat(Le.time.of(Date.now())))}static create(e,i,n,r,s,o){return new Le(e,i,n,r,s,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(Le.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}}Le.time=Ti.define();Le.userEvent=Ti.define();Le.addToHistory=Ti.define();Le.remote=Ti.define();function Jb(t,e){let i=[];for(let n=0,r=0;;){let s,o;if(n=t[n]))s=t[n++],o=t[n++];else if(r=0;r--){let s=n[r](t);s instanceof Le?t=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Le?t=s[0]:t=Q0(e,zn(s),!1)}return t}function ty(t){let e=t.startState,i=e.facet($0),n=t;for(let r=i.length-1;r>=0;r--){let s=i[r](t);s&&Object.keys(s).length&&(n=C0(n,Na(e,s,t.changes.newLength),!0))}return n==t?t:Le.create(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}const iy=[];function zn(t){return t==null?iy:Array.isArray(t)?t:[t]}var Ke=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(Ke||(Ke={}));const ny=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Ua;try{Ua=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function ry(t){if(Ua)return Ua.test(t);for(let e=0;e"€"&&(i.toUpperCase()!=i.toLowerCase()||ny.test(i)))return!0}return!1}function sy(t){return e=>{if(!/\S/.test(e))return Ke.Space;if(ry(e))return Ke.Word;for(let i=0;i-1)return Ke.Word;return Ke.Other}}class oe{constructor(e,i,n,r,s,o){this.config=e,this.doc=i,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,o&&(o._state=this);for(let l=0;lr.set(u,a)),i=null),r.set(l.value.compartment,l.value.extension)):l.is(ce.reconfigure)?(i=null,n=l.value):l.is(ce.appendConfig)&&(i=null,n=zn(n).concat(l.value));let s;i?s=e.startState.values.slice():(i=qo.resolve(n,r,this),s=new oe(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(a,u)=>u.reconfigure(a,this),null).values);let o=e.startState.facet(Ya)?e.newSelection:e.newSelection.asSingle();new oe(i,e.newDoc,o,s,(l,a)=>a.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:T.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,n=e(i.ranges[0]),r=this.changes(n.changes),s=[n.range],o=zn(n.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return oe.create({doc:e.doc,selection:T.fromJSON(e.selection),extensions:i.extensions?r.concat([i.extensions]):r})}static create(e={}){let i=qo.resolve(e.extensions||[],new Map),n=e.doc instanceof ue?e.doc:ue.of((e.doc||"").split(i.staticFacet(oe.lineSeparator)||Fa)),r=e.selection?e.selection instanceof T?e.selection:T.single(e.selection.anchor,e.selection.head):T.single(0);return x0(r,n.length),i.staticFacet(Ya)||(r=r.asSingle()),new oe(i,n,r,i.dynamicSlots.map(()=>null),(s,o)=>o.create(s),null)}get tabSize(){return this.facet(oe.tabSize)}get lineBreak(){return this.facet(oe.lineSeparator)||` -`}get readOnly(){return this.facet(P0)}phrase(e,...i){for(let n of this.facet(oe.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(n,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>i.length?n:i[s-1]})),e}languageDataAt(e,i,n=-1){let r=[];for(let s of this.facet(v0))for(let o of s(this,i,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){return sy(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:i,from:n,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-n,l=e-n;for(;o>0;){let a=He(i,o,!1);if(s(i.slice(a,o))!=Ke.Word)break;o=a}for(;lt.length?t[0]:4});oe.lineSeparator=S0;oe.readOnly=P0;oe.phrases=N.define({compare(t,e){let i=Object.keys(t),n=Object.keys(e);return i.length==n.length&&i.every(r=>t[r]==e[r])}});oe.languageData=v0;oe.changeFilter=w0;oe.transactionFilter=_0;oe.transactionExtender=$0;ci.reconfigure=ce.define();function nc(t,e,i={}){let n={};for(let r of t)for(let s of Object.keys(r)){let o=r[s],l=n[s];if(l===void 0)n[s]=o;else if(!(l===o||o===void 0))if(Object.hasOwnProperty.call(i,s))n[s]=i[s](l,o);else throw new Error("Config merge conflict for field "+s)}for(let r in e)n[r]===void 0&&(n[r]=e[r]);return n}class xn{eq(e){return this==e}range(e,i=e){return Ga.create(e,i,this)}}xn.prototype.startSide=xn.prototype.endSide=0;xn.prototype.point=!1;xn.prototype.mapMode=at.TrackDel;let Ga=class A0{constructor(e,i,n){this.from=e,this.to=i,this.value=n}static create(e,i,n){return new A0(e,i,n)}};function Ha(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class rc{constructor(e,i,n,r){this.from=e,this.to=i,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,i,n,r=0){let s=n?this.to:this.from;for(let o=r,l=s.length;;){if(o==l)return o;let a=o+l>>1,u=s[a]-e||(n?this.value[a].endSide:this.value[a].startSide)-i;if(a==o)return u>=0?o:l;u>=0?l=a:o=a+1}}between(e,i,n,r){for(let s=this.findIndex(i,-1e9,!0),o=this.findIndex(n,1e9,!1,s);sd||f==d&&u.startSide>0&&u.endSide<=0)continue;(d-f||u.endSide-u.startSide)<0||(o<0&&(o=f),u.point&&(l=Math.max(l,d-f)),n.push(u),r.push(f-o),s.push(d-o))}return{mapped:n.length?new rc(r,s,n,l):null,pos:o}}}class _e{constructor(e,i,n,r){this.chunkPos=e,this.chunk=i,this.nextLayer=n,this.maxPoint=r}static create(e,i,n,r){return new _e(e,i,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:n=!1,filterFrom:r=0,filterTo:s=this.length}=e,o=e.filter;if(i.length==0&&!o)return this;if(n&&(i=i.slice().sort(Ha)),this.isEmpty)return i.length?_e.of(i):this;let l=new T0(this,null,-1).goto(0),a=0,u=[],c=new ir;for(;l.value||a=0){let h=i[a++];c.addInner(h.from,h.to,h.value)||u.push(h)}else l.rangeIndex==1&&l.chunkIndexthis.chunkEnd(l.chunkIndex)||sl.to||s=s&&e<=s+o.length&&o.between(s,e-s,i-s,n)===!1)return}this.nextLayer.between(e,i,n)}}iter(e=0){return ts.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return ts.from(e).goto(i)}static compare(e,i,n,r,s=-1){let o=e.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),l=i.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),a=Kh(o,l,n),u=new $r(o,a,s),c=new $r(l,a,s);n.iterGaps((h,f,d)=>Jh(u,h,c,f,d,r)),n.empty&&n.length==0&&Jh(u,0,c,0,0,r)}static eq(e,i,n=0,r){r==null&&(r=999999999);let s=e.filter(c=>!c.isEmpty&&i.indexOf(c)<0),o=i.filter(c=>!c.isEmpty&&e.indexOf(c)<0);if(s.length!=o.length)return!1;if(!s.length)return!0;let l=Kh(s,o),a=new $r(s,l,0).goto(n),u=new $r(o,l,0).goto(n);for(;;){if(a.to!=u.to||!Ka(a.active,u.active)||a.point&&(!u.point||!a.point.eq(u.point)))return!1;if(a.to>r)return!0;a.next(),u.next()}}static spans(e,i,n,r,s=-1){let o=new $r(e,null,s).goto(i),l=i,a=o.openStart;for(;;){let u=Math.min(o.to,n);if(o.point){let c=o.activeForPoint(o.to),h=o.pointFroml&&(r.span(l,u,o.active,a),a=o.openEnd(u));if(o.to>n)return a+(o.point&&o.to>n?1:0);l=o.to,o.next()}}static of(e,i=!1){let n=new ir;for(let r of e instanceof Ga?[e]:i?oy(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return _e.empty;let i=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=_e.empty;r=r.nextLayer)i=new _e(r.chunkPos,r.chunk,i,Math.max(r.maxPoint,i.maxPoint));return i}}_e.empty=new _e([],[],null,-1);function oy(t){if(t.length>1)for(let e=t[0],i=1;i0)return t.slice().sort(Ha);e=n}return t}_e.empty.nextLayer=_e.empty;class ir{finishChunk(e){this.chunks.push(new rc(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,i,n){this.addInner(e,i,n)||(this.nextLayer||(this.nextLayer=new ir)).add(e,i,n)}addInner(e,i,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=i,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let n=i.value.length-1;return this.last=i.value[n],this.lastFrom=i.from[n]+e,this.lastTo=i.to[n]+e,!0}finish(){return this.finishInner(_e.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=_e.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}}function Kh(t,e,i){let n=new Map;for(let s of t)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&r.push(new T0(o,i,n,s));return r.length==1?r[0]:new ts(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let n of this.heap)n.goto(e,i);for(let n=this.heap.length>>1;n>=0;n--)Yl(this.heap,n);return this.next(),this}forward(e,i){for(let n of this.heap)n.forward(e,i);for(let n=this.heap.length>>1;n>=0;n--)Yl(this.heap,n);(this.to-e||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Yl(this.heap,0)}}}function Yl(t,e){for(let i=t[e];;){let n=(e<<1)+1;if(n>=t.length)break;let r=t[n];if(n+1=0&&(r=t[n+1],n++),i.compare(r)<0)break;t[n]=i,t[e]=r,e=n}}class $r{constructor(e,i,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=ts.from(e,i,n)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){Ns(this.active,e),Ns(this.activeTo,e),Ns(this.activeRank,e),this.minActive=ef(this.active,this.activeTo)}addActive(e){let i=0,{value:n,to:r,rank:s}=this.cursor;for(;i0;)i++;Us(this.active,i,n),Us(this.activeTo,i,r),Us(this.activeRank,i,s),e&&Us(e,i,this.cursor.from),this.minActive=ef(this.active,this.activeTo)}next(){let e=this.to,i=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&Ns(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from=0&&n[r]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&i.push(this.active[n]);return i.reverse()}openEnd(e){let i=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)i++;return i}}function Jh(t,e,i,n,r,s){t.goto(e),i.goto(n);let o=n+r,l=n,a=n-e;for(;;){let u=t.to+a-i.to||t.endSide-i.endSide,c=u<0?t.to+a:i.to,h=Math.min(c,o);if(t.point||i.point?t.point&&i.point&&(t.point==i.point||t.point.eq(i.point))&&Ka(t.activeForPoint(t.to),i.activeForPoint(i.to))||s.comparePoint(l,h,t.point,i.point):h>l&&!Ka(t.active,i.active)&&s.compareRange(l,h,t.active,i.active),c>o)break;l=c,u<=0&&t.next(),u>=0&&i.next()}}function Ka(t,e){if(t.length!=e.length)return!1;for(let i=0;i=e;n--)t[n+1]=t[n];t[e]=i}function ef(t,e){let i=-1,n=1e9;for(let r=0;r=e)return r;if(r==t.length)break;s+=t.charCodeAt(r)==9?i-s%i:1,r=He(t,r)}return n===!0?-1:t.length}const Ja="ͼ",tf=typeof Symbol>"u"?"__"+Ja:Symbol.for(Ja),eu=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),nf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class en{constructor(e,i){this.rules=[];let{finish:n}=i||{};function r(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function s(o,l,a,u){let c=[],h=/^@(\w+)\b/.exec(o[0]),f=h&&h[1]=="keyframes";if(h&&l==null)return a.push(o[0]+";");for(let d in l){let p=l[d];if(/&/.test(d))s(d.split(/,\s*/).map(m=>o.map(g=>m.replace(/&/,g))).reduce((m,g)=>m.concat(g)),p,a);else if(p&&typeof p=="object"){if(!h)throw new RangeError("The value of a property ("+d+") should be a primitive value.");s(r(d),p,c,f)}else p!=null&&c.push(d.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(c.length||f)&&a.push((n&&!h&&!u?o.map(n):o).join(", ")+" {"+c.join(" ")+"}")}for(let o in e)s(r(o),e[o],this.rules)}getRules(){return this.rules.join(` -`)}static newName(){let e=nf[tf]||1;return nf[tf]=e+1,Ja+e.toString(36)}static mount(e,i,n){let r=e[eu],s=n&&n.nonce;r?s&&r.setNonce(s):r=new ay(e,s),r.mount(Array.isArray(i)?i:[i],e)}}let rf=new Map;class ay{constructor(e,i){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let s=rf.get(n);if(s)return e[eu]=s;this.sheet=new r.CSSStyleSheet,rf.set(n,this)}else this.styleTag=n.createElement("style"),i&&this.styleTag.setAttribute("nonce",i);this.modules=[],e[eu]=this}mount(e,i){let n=this.sheet,r=0,s=0;for(let o=0;o-1&&(this.modules.splice(a,1),s--,a=-1),a==-1){if(this.modules.splice(s++,0,l),n)for(let u=0;u",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},uy=typeof navigator<"u"&&/Mac/.test(navigator.platform),cy=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ue=0;Ue<10;Ue++)tn[48+Ue]=tn[96+Ue]=String(Ue);for(var Ue=1;Ue<=24;Ue++)tn[Ue+111]="F"+Ue;for(var Ue=65;Ue<=90;Ue++)tn[Ue]=String.fromCharCode(Ue+32),is[Ue]=String.fromCharCode(Ue);for(var Nl in tn)is.hasOwnProperty(Nl)||(is[Nl]=tn[Nl]);function hy(t){var e=uy&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||cy&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",i=!e&&t.key||(t.shiftKey?is:tn)[t.keyCode]||t.key||"Unidentified";return i=="Esc"&&(i="Escape"),i=="Del"&&(i="Delete"),i=="Left"&&(i="ArrowLeft"),i=="Up"&&(i="ArrowUp"),i=="Right"&&(i="ArrowRight"),i=="Down"&&(i="ArrowDown"),i}function No(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function tu(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function fy(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function To(t,e){if(!e.anchorNode)return!1;try{return tu(t,e.anchorNode)}catch{return!1}}function nr(t){return t.nodeType==3?kn(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function Yr(t,e,i,n){return i?sf(t,e,i,n,-1)||sf(t,e,i,n,1):!1}function ns(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function sf(t,e,i,n,r){for(;;){if(t==i&&e==n)return!0;if(e==(r<0?0:Ci(t))){if(t.nodeName=="DIV")return!1;let s=t.parentNode;if(!s||s.nodeType!=1)return!1;e=ns(t)+(r<0?0:1),t=s}else if(t.nodeType==1){if(t=t.childNodes[e+(r<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=r<0?Ci(t):0}else return!1}}function Ci(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Ql(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function dy(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function E0(t,e){let i=e.width/t.offsetWidth,n=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.width-t.offsetWidth)<1)&&(i=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-t.offsetHeight)<1)&&(n=1),{scaleX:i,scaleY:n}}function py(t,e,i,n,r,s,o,l){let a=t.ownerDocument,u=a.defaultView||window;for(let c=t,h=!1;c&&!h;)if(c.nodeType==1){let f,d=c==a.body,p=1,m=1;if(d)f=dy(u);else{if(/^(fixed|sticky)$/.test(getComputedStyle(c).position)&&(h=!0),c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let y=c.getBoundingClientRect();({scaleX:p,scaleY:m}=E0(c,y)),f={left:y.left,right:y.left+c.clientWidth*p,top:y.top,bottom:y.top+c.clientHeight*m}}let g=0,O=0;if(r=="nearest")e.top0&&e.bottom>f.bottom+O&&(O=e.bottom-f.bottom+O+o)):e.bottom>f.bottom&&(O=e.bottom-f.bottom+o,i<0&&e.top-O0&&e.right>f.right+g&&(g=e.right-f.right+g+s)):e.right>f.right&&(g=e.right-f.right+s,i<0&&e.lefti.clientHeight||i.scrollWidth>i.clientWidth)return i;i=i.assignedSlot||i.parentNode}else if(i.nodeType==11)i=i.host;else break;return null}class Oy{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:i,focusNode:n}=e;this.set(i,Math.min(e.anchorOffset,i?Ci(i):0),n,Math.min(e.focusOffset,n?Ci(n):0))}set(e,i,n,r){this.anchorNode=e,this.anchorOffset=i,this.focusNode=n,this.focusOffset=r}}let Tn=null;function Z0(t){if(t.setActive)return t.setActive();if(Tn)return t.focus(Tn);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(Tn==null?{get preventScroll(){return Tn={preventScroll:!0},!0}}:void 0),!Tn){Tn=!1;for(let i=0;iMath.max(1,t.scrollHeight-t.clientHeight-4)}class nt{constructor(e,i,n=!0){this.node=e,this.offset=i,this.precise=n}static before(e,i){return new nt(e.parentNode,ns(e),i)}static after(e,i){return new nt(e.parentNode,ns(e)+1,i)}}const sc=[];class Pe{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let i=this.posAtStart;for(let n of this.children){if(n==e)return i;i+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,i){if(this.flags&2){let n=this.dom,r=null,s;for(let o of this.children){if(o.flags&7){if(!o.dom&&(s=r?r.nextSibling:n.firstChild)){let l=Pe.get(s);(!l||!l.parent&&l.canReuseDOM(o))&&o.reuseDOM(s)}o.sync(e,i),o.flags&=-8}if(s=r?r.nextSibling:n.firstChild,i&&!i.written&&i.node==n&&s!=o.dom&&(i.written=!0),o.dom.parentNode==n)for(;s&&s!=o.dom;)s=lf(s);else n.insertBefore(o.dom,s);r=o.dom}for(s=r?r.nextSibling:n.firstChild,s&&i&&i.node==n&&(i.written=!0);s;)s=lf(s)}else if(this.flags&1)for(let n of this.children)n.flags&7&&(n.sync(e,i),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,i){let n;if(e==this.dom)n=this.dom.childNodes[i];else{let r=Ci(e)==0?0:i==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;r==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?r=-1:r=1),e=s}r<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!Pe.get(n);)n=n.nextSibling;if(!n)return this.length;for(let r=0,s=0;;r++){let o=this.children[r];if(o.dom==n)return s;s+=o.length+o.breakAfter}}domBoundsAround(e,i,n=0){let r=-1,s=-1,o=-1,l=-1;for(let a=0,u=n,c=n;ai)return h.domBoundsAround(e,i,u);if(f>=e&&r==-1&&(r=a,s=u),u>i&&h.dom.parentNode==this.dom){o=a,l=c;break}c=f,u=f+h.breakAfter}return{from:s,to:l<0?n+this.length:l,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let i=this.parent;i;i=i.parent){if(e&&(i.flags|=2),i.flags&1)return;i.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let i=e.parent;if(!i)return e;e=i}}replaceChildren(e,i,n=sc){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(i>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function L0(t,e,i,n,r,s,o,l,a){let{children:u}=t,c=u.length?u[e]:null,h=s.length?s[s.length-1]:null,f=h?h.breakAfter:o;if(!(e==n&&c&&!o&&!f&&s.length<2&&c.merge(i,r,s.length?h:null,i==0,l,a))){if(n0&&(!o&&s.length&&c.merge(i,c.length,s[0],!1,l,0)?c.breakAfter=s.shift().breakAfter:(i2);var F={mac:cf||/Mac/.test($t.platform),windows:/Win/.test($t.platform),linux:/Linux|X11/.test($t.platform),ie:Al,ie_version:M0?iu.documentMode||6:ru?+ru[1]:nu?+nu[1]:0,gecko:af,gecko_version:af?+(/Firefox\/(\d+)/.exec($t.userAgent)||[0,0])[1]:0,chrome:!!Ul,chrome_version:Ul?+Ul[1]:0,ios:cf,android:/Android\b/.test($t.userAgent),webkit:uf,safari:W0,webkit_version:uf?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:iu.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const yy=256;class Qi extends Pe{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,i){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(i&&i.node==this.dom&&(i.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,i,n){return this.flags&8||n&&(!(n instanceof Qi)||this.length-(i-e)+n.length>yy||n.flags&8)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(i),this.markDirty(),!0)}split(e){let i=new Qi(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),i.flags|=this.flags&8,i}localPosFromDOM(e,i){return e==this.dom?i:i?this.text.length:0}domAtPos(e){return new nt(this.dom,e)}domBoundsAround(e,i,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,i){return xy(this.dom,e,i)}}class Ai extends Pe{constructor(e,i=[],n=0){super(),this.mark=e,this.children=i,this.length=n;for(let r of i)r.setParent(this)}setAttrs(e){if(D0(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let i in this.mark.attrs)e.setAttribute(i,this.mark.attrs[i]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,i){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,i)}merge(e,i,n,r,s,o){return n&&(!(n instanceof Ai&&n.mark.eq(this.mark))||e&&s<=0||ie&&i.push(n=e&&(r=s),n=a,s++}let o=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Ai(this.mark,i,o)}domAtPos(e){return V0(this,e)}coordsAt(e,i){return z0(this,e,i)}}function xy(t,e,i){let n=t.nodeValue.length;e>n&&(e=n);let r=e,s=e,o=0;e==0&&i<0||e==n&&i>=0?F.chrome||F.gecko||(e?(r--,o=1):s=0)?0:l.length-1];return F.safari&&!o&&a.width==0&&(a=Array.prototype.find.call(l,u=>u.width)||a),o?Ql(a,o<0):a||null}class mn extends Pe{static create(e,i,n){return new mn(e,i,n)}constructor(e,i,n){super(),this.widget=e,this.length=i,this.side=n,this.prevWidget=null}split(e){let i=mn.create(this.widget,this.length-e,this.side);return this.length-=e,i}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,i,n,r,s,o){return n&&(!(n instanceof mn)||!this.widget.compare(n.widget)||e>0&&s<=0||i0)?nt.before(this.dom):nt.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,i){let n=this.widget.coordsAt(this.dom,e,i);if(n)return n;let r=this.dom.getClientRects(),s=null;if(!r.length)return null;let o=this.side?this.side<0:e>0;for(let l=o?r.length-1:0;s=r[l],!(e>0?l==0:l==r.length-1||s.top0?nt.before(this.dom):nt.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return ue.empty}get isHidden(){return!0}}Qi.prototype.children=mn.prototype.children=rr.prototype.children=sc;function V0(t,e){let i=t.dom,{children:n}=t,r=0;for(let s=0;rs&&e0;s--){let o=n[s-1];if(o.dom.parentNode==i)return o.domAtPos(o.length)}for(let s=r;s0&&e instanceof Ai&&r.length&&(n=r[r.length-1])instanceof Ai&&n.mark.eq(e.mark)?F0(n,e.children[0],i-1):(r.push(e),e.setParent(t)),t.length+=e.length}function z0(t,e,i){let n=null,r=-1,s=null,o=-1;function l(u,c){for(let h=0,f=0;h=c&&(d.children.length?l(d,c-f):(!s||s.isHidden&&i>0)&&(p>c||f==p&&d.getSide()>0)?(s=d,o=c-f):(f-1?1:0)!=r.length-(i&&r.indexOf(i)>-1?1:0))return!1;for(let s of n)if(s!=i&&(r.indexOf(s)==-1||t[s]!==e[s]))return!1;return!0}function ou(t,e,i){let n=!1;if(e)for(let r in e)i&&r in i||(n=!0,r=="style"?t.style.cssText="":t.removeAttribute(r));if(i)for(let r in i)e&&e[r]==i[r]||(n=!0,r=="style"?t.style.cssText=i[r]:t.setAttribute(r,i[r]));return n}function vy(t){let e=Object.create(null);for(let i=0;i0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,i}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){oc(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,i){F0(this,e,i)}addLineDeco(e){let i=e.spec.attributes,n=e.spec.class;i&&(this.attrs=su(i,this.attrs||{})),n&&(this.attrs=su({class:n},this.attrs||{}))}domAtPos(e){return V0(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,i){var n;this.dom?this.flags&4&&(D0(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(ou(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,i);let r=this.dom.lastChild;for(;r&&Pe.get(r)instanceof Ai;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((n=Pe.get(r))===null||n===void 0?void 0:n.isEditable)==!1&&(!F.ios||!this.children.some(s=>s instanceof Qi))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,i;for(let n of this.children){if(!(n instanceof Qi)||/[^ -~]/.test(n.text))return null;let r=nr(n.dom);if(r.length!=1)return null;e+=r[0].width,i=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:i}:null}coordsAt(e,i){let n=z0(this,e,i);if(!this.children.length&&n&&this.parent){let{heightOracle:r}=this.parent.view.viewState,s=n.bottom-n.top;if(Math.abs(s-r.lineHeight)<2&&r.textHeight=i){if(s instanceof Ve)return s;if(o>i)break}r=o+s.breakAfter}return null}}class Hi extends Pe{constructor(e,i,n){super(),this.widget=e,this.length=i,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,i,n,r,s,o){return n&&(!(n instanceof Hi)||!this.widget.compare(n.widget)||e>0&&s<=0||i0}}class Ps{eq(e){return!1}updateDOM(e,i){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,i,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var _i=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(_i||(_i={}));class he extends xn{constructor(e,i,n,r){super(),this.startSide=e,this.endSide=i,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new Cs(e)}static widget(e){let i=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return i+=n&&!e.inlineOrder?i>0?3e8:-4e8:i>0?1e8:-1e8,new nn(e,i,i,n,e.widget||null,!1)}static replace(e){let i=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:s,end:o}=j0(e,i);n=(s?i?-3e8:-1:5e8)-1,r=(o?i?2e8:1:-6e8)+1}return new nn(e,n,r,i,e.widget||null,!0)}static line(e){return new Qs(e)}static set(e,i=!1){return _e.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}he.none=_e.empty;class Cs extends he{constructor(e){let{start:i,end:n}=j0(e);super(i?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var i,n;return this==e||e instanceof Cs&&this.tagName==e.tagName&&(this.class||((i=this.attrs)===null||i===void 0?void 0:i.class))==(e.class||((n=e.attrs)===null||n===void 0?void 0:n.class))&&oc(this.attrs,e.attrs,"class")}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}}Cs.prototype.point=!1;class Qs extends he{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Qs&&this.spec.class==e.spec.class&&oc(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}}Qs.prototype.mapMode=at.TrackBefore;Qs.prototype.point=!0;class nn extends he{constructor(e,i,n,r,s,o){super(i,n,s,e),this.block=r,this.isReplace=o,this.mapMode=r?i<=0?at.TrackBefore:at.TrackAfter:at.TrackDel}get type(){return this.startSide!=this.endSide?_i.WidgetRange:this.startSide<=0?_i.WidgetBefore:_i.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof nn&&Sy(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}}nn.prototype.point=!0;function j0(t,e=!1){let{inclusiveStart:i,inclusiveEnd:n}=t;return i==null&&(i=t.inclusive),n==null&&(n=t.inclusive),{start:i??e,end:n??e}}function Sy(t,e){return t==e||!!(t&&e&&t.compare(e))}function lu(t,e,i,n=0){let r=i.length-1;r>=0&&i[r]+n>=t?i[r]=Math.max(i[r],e):i.push(t,e)}class Nr{constructor(e,i,n,r){this.doc=e,this.pos=i,this.end=n,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=i}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof Hi&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Ve),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(Gs(new rr(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof Hi)&&this.getLine()}buildText(e,i,n){for(;e>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:o,done:l}=this.cursor.next(this.skip);if(this.skip=0,l)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(i.slice(i.length-n)),this.getLine().append(Gs(new Qi(this.text.slice(this.textOff,this.textOff+r)),i),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,i,n,r){this.buildText(i-e,n,r),this.pos=i,this.openStart<0&&(this.openStart=r)}point(e,i,n,r,s,o){if(this.disallowBlockEffectsFor[o]&&n instanceof nn){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(i>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let l=i-e;if(n instanceof nn)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Hi(n.widget||vn.block,l,n));else{let a=mn.create(n.widget||vn.inline,l,l?0:n.startSide),u=this.atCursorPos&&!a.isEditable&&s<=r.length&&(e0),c=!a.isEditable&&(er.length||n.startSide<=0),h=this.getLine();this.pendingBuffer==2&&!u&&!a.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),u&&(h.append(Gs(new rr(1),r),s),s=r.length+Math.max(0,s-r.length)),h.append(Gs(a,r),s),this.atCursorPos=c,this.pendingBuffer=c?er.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);l&&(this.textOff+l<=this.text.length?this.textOff+=l:(this.skip+=l-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=i),this.openStart<0&&(this.openStart=s)}static build(e,i,n,r,s){let o=new Nr(e,i,n,s);return o.openEnd=_e.spans(r,i,n,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function Gs(t,e){for(let i of e)t=new Ai(i,[t],t.length);return t}class vn extends Ps{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}vn.inline=new vn("span");vn.block=new vn("div");var Xe=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(Xe||(Xe={}));const Sn=Xe.LTR,lc=Xe.RTL;function B0(t){let e=[];for(let i=0;i=i){if(l.level==n)return o;(s<0||(r!=0?r<0?l.fromi:e[s].level>l.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}function Y0(t,e){if(t.length!=e.length)return!1;for(let i=0;i=0;m-=3)if(ni[m+1]==-d){let g=ni[m+2],O=g&2?r:g&4?g&1?s:r:0;O&&(ge[h]=ge[ni[m]]=O),l=m;break}}else{if(ni.length==189)break;ni[l++]=h,ni[l++]=f,ni[l++]=a}else if((p=ge[h])==2||p==1){let m=p==r;a=m?0:1;for(let g=l-3;g>=0;g-=3){let O=ni[g+2];if(O&2)break;if(m)ni[g+2]|=2;else{if(O&4)break;ni[g+2]|=4}}}}}function Qy(t,e,i,n){for(let r=0,s=n;r<=i.length;r++){let o=r?i[r-1].to:t,l=ra;)p==g&&(p=i[--m].from,g=m?i[m-1].to:t),ge[--p]=d;a=c}else s=u,a++}}}function uu(t,e,i,n,r,s,o){let l=n%2?2:1;if(n%2==r%2)for(let a=e,u=0;aa&&o.push(new Ni(a,m.from,d));let g=m.direction==Sn!=!(d%2);cu(t,g?n+1:n,r,m.inner,m.from,m.to,o),a=m.to}p=m.to}else{if(p==i||(c?ge[p]!=l:ge[p]==l))break;p++}f?uu(t,a,p,n+1,r,f,o):ae;){let c=!0,h=!1;if(!u||a>s[u-1].to){let m=ge[a-1];m!=l&&(c=!1,h=m==16)}let f=!c&&l==1?[]:null,d=c?n:n+1,p=a;e:for(;;)if(u&&p==s[u-1].to){if(h)break e;let m=s[--u];if(!c)for(let g=m.from,O=u;;){if(g==e)break e;if(O&&s[O-1].to==g)g=s[--O].from;else{if(ge[g-1]==l)break e;break}}if(f)f.push(m);else{m.toge.length;)ge[ge.length]=256;let n=[],r=e==Sn?0:1;return cu(t,r,r,i,0,t.length,n),n}function N0(t){return[new Ni(0,t,0)]}let U0="";function Ty(t,e,i,n,r){var s;let o=n.head-t.from,l=Ni.find(e,o,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc),a=e[l],u=a.side(r,i);if(o==u){let f=l+=r?1:-1;if(f<0||f>=e.length)return null;a=e[l=f],o=a.side(!r,i),u=a.side(r,i)}let c=He(t.text,o,a.forward(r,i));(ca.to)&&(c=u),U0=t.text.slice(Math.min(o,c),Math.max(o,c));let h=l==(r?e.length-1:0)?null:e[l+(r?1:-1)];return h&&c==u&&h.level+(r?0:1)t.some(e=>e)}),Zy=N.define({combine:t=>t.some(e=>e)});class Bn{constructor(e,i="nearest",n="nearest",r=5,s=5,o=!1){this.range=e,this.y=i,this.x=n,this.yMargin=r,this.xMargin=s,this.isSnapshot=o}map(e){return e.empty?this:new Bn(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new Bn(T.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const Hs=ce.define({map:(t,e)=>t.map(e)});function At(t,e,i){let n=t.facet(J0);n.length?n[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}const Tl=N.define({combine:t=>t.length?t[0]:!0});let Dy=0;const Lr=N.define();class It{constructor(e,i,n,r,s){this.id=e,this.create=i,this.domEventHandlers=n,this.domEventObservers=r,this.extension=s(this)}static define(e,i){const{eventHandlers:n,eventObservers:r,provide:s,decorations:o}=i||{};return new It(Dy++,e,n,r,l=>{let a=[Lr.of(l)];return o&&a.push(rs.of(u=>{let c=u.plugin(l);return c?o(c):he.none})),s&&a.push(s(l)),a})}static fromClass(e,i){return It.define(n=>new e(n),i)}}class Gl{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let i=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(i)}catch(n){if(At(i.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(i){At(e.state,i,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var i;if(!((i=this.value)===null||i===void 0)&&i.destroy)try{this.value.destroy()}catch(n){At(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const nm=N.define(),ac=N.define(),rs=N.define(),rm=N.define(),uc=N.define(),sm=N.define();function ff(t,e){let i=t.state.facet(sm);if(!i.length)return i;let n=i.map(s=>s instanceof Function?s(t):s),r=[];return _e.spans(n,e.from,e.to,{point(){},span(s,o,l,a){let u=s-e.from,c=o-e.from,h=r;for(let f=l.length-1;f>=0;f--,a--){let d=l[f].spec.bidiIsolate,p;if(d==null&&(d=Ey(e.text,u,c)),a>0&&h.length&&(p=h[h.length-1]).to==u&&p.direction==d)p.to=c,h=p.inner;else{let m={from:u,to:c,direction:d,inner:[]};h.push(m),h=m.inner}}}}),r}const om=N.define();function lm(t){let e=0,i=0,n=0,r=0;for(let s of t.state.facet(om)){let o=s(t);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(i=Math.max(i,o.right)),o.top!=null&&(n=Math.max(n,o.top)),o.bottom!=null&&(r=Math.max(r,o.bottom)))}return{left:e,right:i,top:n,bottom:r}}const Xr=N.define();class Dt{constructor(e,i,n,r){this.fromA=e,this.toA=i,this.fromB=n,this.toB=r}join(e){return new Dt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let i=e.length,n=this;for(;i>0;i--){let r=e[i-1];if(!(r.fromA>n.toA)){if(r.toAc)break;s+=2}if(!a)return n;new Dt(a.fromA,a.toA,a.fromB,a.toB).addToSet(n),o=a.toA,l=a.toB}}}class Uo{constructor(e,i,n){this.view=e,this.state=i,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Fe.empty(this.startState.doc.length);for(let s of n)this.changes=this.changes.compose(s.changes);let r=[];this.changes.iterChangedRanges((s,o,l,a)=>r.push(new Dt(s,o,l,a))),this.changedRanges=r}static create(e,i,n){return new Uo(e,i,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class df extends Pe{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.compositionBarrier=he.none,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Ve],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Dt(0,0,0,e.state.doc.length)],0,null)}update(e){var i;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:u,toA:c})=>cthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let r=-1;this.view.inputState.composing>=0&&(!((i=this.domChanged)===null||i===void 0)&&i.newSel?r=this.domChanged.newSel.head:!Fy(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let s=r>-1?Ly(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:u,to:c}=this.hasComposition;n=new Dt(u,c,e.changes.mapPos(u,-1),e.changes.mapPos(c,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(F.ie||F.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=this.decorations,l=this.updateDeco(),a=Wy(o,l,e.changes);return n=Dt.extendWithRanges(n,a),!(this.flags&7)&&n.length==0?!1:(this.updateInner(n,e.startState.doc.length,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,i,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,i,n);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let o=F.chrome||F.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,o),this.flags&=-8,o&&(o.written||r.selectionRange.focusNode!=o.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(o=>o.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to=0?r[o]:null;if(!l)break;let{fromA:a,toA:u,fromB:c,toB:h}=l,f,d,p,m;if(n&&n.range.fromBc){let S=Nr.build(this.view.state.doc,c,n.range.fromB,this.decorations,this.dynamicDecorationMap),_=Nr.build(this.view.state.doc,n.range.toB,h,this.decorations,this.dynamicDecorationMap);d=S.breakAtStart,p=S.openStart,m=_.openEnd;let A=this.compositionView(n);_.breakAtStart?A.breakAfter=1:_.content.length&&A.merge(A.length,A.length,_.content[0],!1,_.openStart,0)&&(A.breakAfter=_.content[0].breakAfter,_.content.shift()),S.content.length&&A.merge(0,0,S.content[S.content.length-1],!0,0,S.openEnd)&&S.content.pop(),f=S.content.concat(A).concat(_.content)}else({content:f,breakAtStart:d,openStart:p,openEnd:m}=Nr.build(this.view.state.doc,c,h,this.decorations,this.dynamicDecorationMap));let{i:g,off:O}=s.findPos(u,1),{i:y,off:v}=s.findPos(a,-1);L0(this,y,v,g,O,f,d,p,m)}n&&this.fixCompositionDOM(n)}compositionView(e){let i=new Qi(e.text.nodeValue);i.flags|=8;for(let{deco:r}of e.marks)i=new Ai(r,[i],i.length);let n=new Ve;return n.append(i,0),n}fixCompositionDOM(e){let i=(s,o)=>{o.flags|=8|(o.children.some(a=>a.flags&7)?1:0),this.markedForComposition.add(o);let l=Pe.get(s);l&&l!=o&&(l.dom=null),o.setDOM(s)},n=this.childPos(e.range.fromB,1),r=this.children[n.i];i(e.line,r);for(let s=e.marks.length-1;s>=-1;s--)n=r.childPos(n.off,1),r=r.children[n.i],i(s>=0?e.marks[s].node:e.text,r)}updateSelection(e=!1,i=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,r=n==this.dom,s=!r&&To(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(r||i||s))return;let o=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,a=this.moveToLine(this.domAtPos(l.anchor)),u=l.empty?a:this.moveToLine(this.domAtPos(l.head));if(F.gecko&&l.empty&&!this.hasComposition&&Iy(a)){let h=document.createTextNode("");this.view.observer.ignore(()=>a.node.insertBefore(h,a.node.childNodes[a.offset]||null)),a=u=new nt(h,0),o=!0}let c=this.view.observer.selectionRange;(o||!c.focusNode||(!Yr(a.node,a.offset,c.anchorNode,c.anchorOffset)||!Yr(u.node,u.offset,c.focusNode,c.focusOffset))&&!this.suppressWidgetCursorChange(c,l))&&(this.view.observer.ignore(()=>{F.android&&F.chrome&&this.dom.contains(c.focusNode)&&Vy(c.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let h=No(this.view.root);if(h)if(l.empty){if(F.gecko){let f=Xy(a.node,a.offset);if(f&&f!=3){let d=um(a.node,a.offset,f==1?1:-1);d&&(a=new nt(d.node,d.offset))}}h.collapse(a.node,a.offset),l.bidiLevel!=null&&h.caretBidiLevel!==void 0&&(h.caretBidiLevel=l.bidiLevel)}else if(h.extend){h.collapse(a.node,a.offset);try{h.extend(u.node,u.offset)}catch{}}else{let f=document.createRange();l.anchor>l.head&&([a,u]=[u,a]),f.setEnd(u.node,u.offset),f.setStart(a.node,a.offset),h.removeAllRanges(),h.addRange(f)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(a,u)),this.impreciseAnchor=a.precise?null:new nt(c.anchorNode,c.anchorOffset),this.impreciseHead=u.precise?null:new nt(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,i){return this.hasComposition&&i.empty&&!this.compositionBarrier.size&&Yr(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==i.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,i=e.state.selection.main,n=No(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!n||!i.empty||!i.assoc||!n.modify)return;let o=Ve.find(this,i.head);if(!o)return;let l=o.posAtStart;if(i.head==l||i.head==l+o.length)return;let a=this.coordsAt(i.head,-1),u=this.coordsAt(i.head,1);if(!a||!u||a.bottom>u.top)return;let c=this.domAtPos(i.head+i.assoc);n.collapse(c.node,c.offset),n.modify("move",i.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=i.from&&n.collapse(r,s)}moveToLine(e){let i=this.dom,n;if(e.node!=i)return e;for(let r=e.offset;!n&&r=0;r--){let s=Pe.get(i.childNodes[r]);s instanceof Ve&&(n=s.domAtPos(s.length))}return n?new nt(n.node,n.offset,!0):e}nearest(e){for(let i=e;i;){let n=Pe.get(i);if(n&&n.rootView==this)return n;i=i.parentNode}return null}posFromDOM(e,i){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,i)+n.posAtStart}domAtPos(e){let{i,off:n}=this.childCursor().findPos(e,-1);for(;i=0;o--){let l=this.children[o],a=s-l.breakAfter,u=a-l.length;if(ae||l.covers(1))&&(!n||l instanceof Ve&&!(n instanceof Ve&&i>=0))&&(n=l,r=u),s=u}return n?n.coordsAt(e-r,i):null}coordsForChar(e){let{i,off:n}=this.childPos(e,1),r=this.children[i];if(!(r instanceof Ve))return null;for(;r.children.length;){let{i:l,off:a}=r.childPos(n,1);for(;;l++){if(l==r.children.length)return null;if((r=r.children[l]).length)break}n=a}if(!(r instanceof Qi))return null;let s=He(r.text,n);if(s==n)return null;let o=kn(r.dom,n,s).getClientRects();for(let l=0;lMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,l=-1,a=this.view.textDirection==Xe.LTR;for(let u=0,c=0;cr)break;if(u>=n){let d=h.dom.getBoundingClientRect();if(i.push(d.height),o){let p=h.dom.lastChild,m=p?nr(p):[];if(m.length){let g=m[m.length-1],O=a?g.right-d.left:d.right-g.left;O>l&&(l=O,this.minWidth=s,this.minWidthFrom=u,this.minWidthTo=f)}}}u=f+h.breakAfter}return i}textDirectionAt(e){let{i}=this.childPos(e,1);return getComputedStyle(this.children[i].dom).direction=="rtl"?Xe.RTL:Xe.LTR}measureTextSize(){for(let s of this.children)if(s instanceof Ve){let o=s.measureTextSize();if(o)return o}let e=document.createElement("div"),i,n,r;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=nr(e.firstChild)[0];i=e.getBoundingClientRect().height,n=s?s.width/27:7,r=s?s.height:i,e.remove()}),{lineHeight:i,charWidth:n,textHeight:r}}childCursor(e=this.length){let i=this.children.length;return i&&(e-=this.children[--i].length),new I0(this.children,e,i)}computeBlockGapDeco(){let e=[],i=this.view.viewState;for(let n=0,r=0;;r++){let s=r==i.viewports.length?null:i.viewports[r],o=s?s.from-1:this.length;if(o>n){let l=(i.lineBlockAt(o).bottom-i.lineBlockAt(n).top)/this.view.scaleY;e.push(he.replace({widget:new pf(l),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!s)break;n=s.to+1}return he.set(e)}updateDeco(){let e=1,i=this.view.state.facet(rs).map(s=>(this.dynamicDecorationMap[e++]=typeof s=="function")?s(this.view):s),n=!1,r=this.view.state.facet(rm).map((s,o)=>{let l=typeof s=="function";return l&&(n=!0),l?s(this.view):s});for(r.length&&(this.dynamicDecorationMap[e++]=n,i.push(_e.join(r))),this.decorations=[this.compositionBarrier,...i,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e{l.point?n=!1:l.endSide<0&&si.anchor?-1:1),r;if(!n)return;!i.empty&&(r=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let s=lm(this.view),o={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom},{offsetWidth:l,offsetHeight:a}=this.view.scrollDOM;py(this.view.scrollDOM,o,i.head0)n=n.childNodes[r-1],r=Ci(n);else break}if(i>=0)for(let n=t,r=e;;){if(n.nodeType==3)return{node:n,offset:r};if(n.nodeType==1&&r=0)n=n.childNodes[r],r=0;else break}return null}function Xy(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e{ne.from&&(i=!0)}),i}function zy(t,e,i=1){let n=t.charCategorizer(e),r=t.doc.lineAt(e),s=e-r.from;if(r.length==0)return T.cursor(e);s==0?i=1:s==r.length&&(i=-1);let o=s,l=s;i<0?o=He(r.text,s,!1):l=He(r.text,s);let a=n(r.text.slice(o,l));for(;o>0;){let u=He(r.text,o,!1);if(n(r.text.slice(u,o))!=a)break;o=u}for(;lt?e.left-t:Math.max(0,t-e.right)}function By(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function Hl(t,e){return t.tope.top+1}function mf(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function fu(t,e,i){let n,r,s,o,l=!1,a,u,c,h;for(let p=t.firstChild;p;p=p.nextSibling){let m=nr(p);for(let g=0;gv||o==v&&s>y){n=p,r=O,s=y,o=v;let S=v?i0?g0)}y==0?i>O.bottom&&(!c||c.bottomO.top)&&(u=p,h=O):c&&Hl(c,O)?c=Of(c,O.bottom):h&&Hl(h,O)&&(h=mf(h,O.top))}}if(c&&c.bottom>=i?(n=a,r=c):h&&h.top<=i&&(n=u,r=h),!n)return{node:t,offset:0};let f=Math.max(r.left,Math.min(r.right,e));if(n.nodeType==3)return gf(n,f,i);if(l&&n.contentEditable!="false")return fu(n,f,i);let d=Array.prototype.indexOf.call(t.childNodes,n)+(e>=(r.left+r.right)/2?1:0);return{node:t,offset:d}}function gf(t,e,i){let n=t.nodeValue.length,r=-1,s=1e9,o=0;for(let l=0;li?c.top-i:i-c.bottom)-1;if(c.left-1<=e&&c.right+1>=e&&h=(c.left+c.right)/2,d=f;if((F.chrome||F.gecko)&&kn(t,l).getBoundingClientRect().left==c.right&&(d=!f),h<=0)return{node:t,offset:l+(d?1:0)};r=l+(d?1:0),s=h}}}return{node:t,offset:r>-1?r:o>0?t.nodeValue.length:0}}function cm(t,e,i,n=-1){var r,s;let o=t.contentDOM.getBoundingClientRect(),l=o.top+t.viewState.paddingTop,a,{docHeight:u}=t.viewState,{x:c,y:h}=e,f=h-l;if(f<0)return 0;if(f>u)return t.state.doc.length;for(let S=t.viewState.heightOracle.textHeight/2,_=!1;a=t.elementAtHeight(f),a.type!=_i.Text;)for(;f=n>0?a.bottom+S:a.top-S,!(f>=0&&f<=u);){if(_)return i?null:0;_=!0,n=-n}h=l+f;let d=a.from;if(dt.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:i?null:bf(t,o,a,c,h);let p=t.dom.ownerDocument,m=t.root.elementFromPoint?t.root:p,g=m.elementFromPoint(c,h);g&&!t.contentDOM.contains(g)&&(g=null),g||(c=Math.max(o.left+1,Math.min(o.right-1,c)),g=m.elementFromPoint(c,h),g&&!t.contentDOM.contains(g)&&(g=null));let O,y=-1;if(g&&((r=t.docView.nearest(g))===null||r===void 0?void 0:r.isEditable)!=!1){if(p.caretPositionFromPoint){let S=p.caretPositionFromPoint(c,h);S&&({offsetNode:O,offset:y}=S)}else if(p.caretRangeFromPoint){let S=p.caretRangeFromPoint(c,h);S&&({startContainer:O,startOffset:y}=S,(!t.contentDOM.contains(O)||F.safari&&qy(O,y,c)||F.chrome&&Yy(O,y,c))&&(O=void 0))}}if(!O||!t.docView.dom.contains(O)){let S=Ve.find(t.docView,d);if(!S)return f>a.top+a.height/2?a.to:a.from;({node:O,offset:y}=fu(S.dom,c,h))}let v=t.docView.nearest(O);if(!v)return null;if(v.isWidget&&((s=v.dom)===null||s===void 0?void 0:s.nodeType)==1){let S=v.dom.getBoundingClientRect();return e.yt.defaultLineHeight*1.5){let l=t.viewState.heightOracle.textHeight,a=Math.floor((r-i.top-(t.defaultLineHeight-l)*.5)/l);s+=a*t.viewState.heightOracle.lineLength}let o=t.state.sliceDoc(i.from,i.to);return i.from+ly(o,s,t.state.tabSize)}function qy(t,e,i){let n;if(t.nodeType!=3||e!=(n=t.nodeValue.length))return!1;for(let r=t.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return kn(t,n-1,n).getBoundingClientRect().left>i}function Yy(t,e,i){if(e!=0)return!1;for(let r=t;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let n=t.nodeType==1?t.getBoundingClientRect():kn(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return i-n.left>5}function Ny(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type)){for(let n of i.type)if(n.to>e||n.to==e&&(n.to==i.to||n.type==_i.Text))return n}return i}function Uy(t,e,i,n){let r=Ny(t,e.head),s=!n||r.type!=_i.Text||!(t.lineWrapping||r.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let o=t.dom.getBoundingClientRect(),l=t.textDirectionAt(r.from),a=t.posAtCoords({x:i==(l==Xe.LTR)?o.right-1:o.left+1,y:(s.top+s.bottom)/2});if(a!=null)return T.cursor(a,i?-1:1)}return T.cursor(i?r.to:r.from,i?-1:1)}function yf(t,e,i,n){let r=t.state.doc.lineAt(e.head),s=t.bidiSpans(r),o=t.textDirectionAt(r.from);for(let l=e,a=null;;){let u=Ty(r,s,o,l,i),c=U0;if(!u){if(r.number==(i?t.state.doc.lines:1))return l;c=` -`,r=t.state.doc.line(r.number+(i?1:-1)),s=t.bidiSpans(r),u=t.visualLineSide(r,!i)}if(a){if(!a(c))return l}else{if(!n)return u;a=n(c)}l=u}}function Gy(t,e,i){let n=t.state.charCategorizer(e),r=n(i);return s=>{let o=n(s);return r==Ke.Space&&(r=o),r==o}}function Hy(t,e,i,n){let r=e.head,s=i?1:-1;if(r==(i?t.state.doc.length:0))return T.cursor(r,e.assoc);let o=e.goalColumn,l,a=t.contentDOM.getBoundingClientRect(),u=t.coordsAtPos(r,e.assoc||-1),c=t.documentTop;if(u)o==null&&(o=u.left-a.left),l=s<0?u.top:u.bottom;else{let d=t.viewState.lineBlockAt(r);o==null&&(o=Math.min(a.right-a.left,t.defaultCharacterWidth*(r-d.from))),l=(s<0?d.top:d.bottom)+c}let h=a.left+o,f=n??t.viewState.heightOracle.textHeight>>1;for(let d=0;;d+=10){let p=l+(f+d)*s,m=cm(t,{x:h,y:p},!1,s);if(pa.bottom||(s<0?mr)){let g=t.docView.coordsForChar(m),O=!g||p{if(e>s&&er(t)),i.from,e.head>i.from?-1:1);return n==i.from?i:T.cursor(n,nnull),F.gecko&&px(e.contentDOM.ownerDocument)}handleEvent(e){!ox(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,i){let n=this.handlers[e];if(n){for(let r of n.observers)r(this.view,i);for(let r of n.handlers){if(i.defaultPrevented)break;if(r(this.view,i)){i.preventDefault();break}}}}ensureHandlers(e){let i=Jy(e),n=this.handlers,r=this.view.contentDOM;for(let s in i)if(s!="scroll"){let o=!i[s].handlers.length,l=n[s];l&&o!=!l.handlers.length&&(r.removeEventListener(s,this.handleEvent),l=null),l||r.addEventListener(s,this.handleEvent,{passive:o})}for(let s in n)s!="scroll"&&!i[s]&&r.removeEventListener(s,this.handleEvent);this.handlers=i}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()n.keyCode==e.keyCode))&&!e.ctrlKey||ex.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=i||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,jn(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:F.safari&&!F.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function xf(t,e){return(i,n)=>{try{return e.call(t,n,i)}catch(r){At(i.state,r)}}}function Jy(t){let e=Object.create(null);function i(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of t){let r=n.spec;if(r&&r.domEventHandlers)for(let s in r.domEventHandlers){let o=r.domEventHandlers[s];o&&i(s).handlers.push(xf(n.value,o))}if(r&&r.domEventObservers)for(let s in r.domEventObservers){let o=r.domEventObservers[s];o&&i(s).observers.push(xf(n.value,o))}}for(let n in Kt)i(n).handlers.push(Kt[n]);for(let n in Jt)i(n).observers.push(Jt[n]);return e}const hm=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],ex="dthko",fm=[16,17,18,20,91,92,224,225],Ks=6;function Js(t){return Math.max(0,t)*.7+8}function tx(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class ix{constructor(e,i,n,r){this.view=e,this.startEvent=i,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=i,this.scrollParent=my(e.contentDOM),this.atoms=e.state.facet(uc).map(o=>o(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=i.shiftKey,this.multiple=e.state.facet(oe.allowMultipleSelections)&&nx(e,i),this.dragging=sx(e,i)&&Om(i)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var i;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&tx(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,r=0,s=((i=this.scrollParent)===null||i===void 0?void 0:i.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},o=lm(this.view);e.clientX-o.left<=s.left+Ks?n=-Js(s.left-e.clientX):e.clientX+o.right>=s.right-Ks&&(n=Js(e.clientX-s.right)),e.clientY-o.top<=s.top+Ks?r=-Js(s.top-e.clientY):e.clientY+o.bottom>=s.bottom-Ks&&(r=Js(e.clientY-s.bottom)),this.setScrollSpeed(n,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,i){this.scrollSpeed={x:e,y:i},e||i?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let i=null;for(let n=0;nthis.select(this.lastEvent),20)}}function nx(t,e){let i=t.state.facet(G0);return i.length?i[0](e):F.mac?e.metaKey:e.ctrlKey}function rx(t,e){let i=t.state.facet(H0);return i.length?i[0](e):F.mac?!e.altKey:!e.ctrlKey}function sx(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let n=No(t.root);if(!n||n.rangeCount==0)return!0;let r=n.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function ox(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,n;i!=t.contentDOM;i=i.parentNode)if(!i||i.nodeType==11||(n=Pe.get(i))&&n.ignoreEvent(e))return!1;return!0}const Kt=Object.create(null),Jt=Object.create(null),dm=F.ie&&F.ie_version<15||F.ios&&F.webkit_version<604;function lx(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),pm(t,i.value)},50)}function pm(t,e){let{state:i}=t,n,r=1,s=i.toText(e),o=s.lines==i.selection.ranges.length;if(du!=null&&i.selection.ranges.every(a=>a.empty)&&du==s.toString()){let a=-1;n=i.changeByRange(u=>{let c=i.doc.lineAt(u.from);if(c.from==a)return{range:u};a=c.from;let h=i.toText((o?s.line(r++).text:e)+i.lineBreak);return{changes:{from:c.from,insert:h},range:T.cursor(u.from+h.length)}})}else o?n=i.changeByRange(a=>{let u=s.line(r++);return{changes:{from:a.from,to:a.to,insert:u.text},range:T.cursor(a.from+u.length)}}):n=i.replaceSelection(s);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}Jt.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Kt.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&(t.inputState.lastEscPress=Date.now()),!1);Jt.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};Jt.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Kt.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let i=null;for(let n of t.state.facet(K0))if(i=n(t,e),i)break;if(!i&&e.button==0&&(i=cx(t,e)),i){let n=!t.hasFocus;t.inputState.startMouseSelection(new ix(t,e,i,n)),n&&t.observer.ignore(()=>Z0(t.contentDOM));let r=t.inputState.mouseSelection;if(r)return r.start(e),r.dragging===!1}return!1};function kf(t,e,i,n){if(n==1)return T.cursor(e,i);if(n==2)return zy(t.state,e,i);{let r=Ve.find(t.docView,e),s=t.state.doc.lineAt(r?r.posAtEnd:e),o=r?r.posAtStart:s.from,l=r?r.posAtEnd:s.to;return lt>=e.top&&t<=e.bottom,vf=(t,e,i)=>mm(e,i)&&t>=i.left&&t<=i.right;function ax(t,e,i,n){let r=Ve.find(t.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let o=r.coordsAt(s,-1);if(o&&vf(i,n,o))return-1;let l=r.coordsAt(s,1);return l&&vf(i,n,l)?1:o&&mm(n,o)?-1:1}function Sf(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:ax(t,i,e.clientX,e.clientY)}}const ux=F.ie&&F.ie_version<=11;let wf=null,_f=0,$f=0;function Om(t){if(!ux)return t.detail;let e=wf,i=$f;return wf=t,$f=Date.now(),_f=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(_f+1)%3:1}function cx(t,e){let i=Sf(t,e),n=Om(e),r=t.state.selection;return{update(s){s.docChanged&&(i.pos=s.changes.mapPos(i.pos),r=r.map(s.changes))},get(s,o,l){let a=Sf(t,s),u,c=kf(t,a.pos,a.bias,n);if(i.pos!=a.pos&&!o){let h=kf(t,i.pos,i.bias,n),f=Math.min(h.from,c.from),d=Math.max(h.to,c.to);c=f1&&(u=hx(r,a.pos))?u:l?r.addRange(c):T.create([c])}}}function hx(t,e){for(let i=0;i=e)return T.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}return null}Kt.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let r=t.docView.nearest(e.target);if(r&&r.isWidget){let s=r.posAtStart,o=s+r.length;(s>=i.to||o<=i.from)&&(i=T.range(s,o))}}let{inputState:n}=t;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Kt.dragend=t=>(t.inputState.draggedContent=null,!1);function Pf(t,e,i,n){if(!i)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=t.inputState,o=n&&s&&rx(t,e)?{from:s.from,to:s.to}:null,l={from:r,insert:i},a=t.state.changes(o?[o,l]:l);t.focus(),t.dispatch({changes:a,selection:{anchor:a.mapPos(r,-1),head:a.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Kt.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let n=Array(i.length),r=0,s=()=>{++r==i.length&&Pf(t,e,n.filter(o=>o!=null).join(t.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(n[o]=l.result),s()},l.readAsText(i[o])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return Pf(t,e,n,!0),!0}return!1};Kt.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=dm?null:e.clipboardData;return i?(pm(t,i.getData("text/plain")||i.getData("text/uri-text")),!0):(lx(t),!1)};function fx(t,e){let i=t.dom.parentNode;if(!i)return;let n=i.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),t.focus()},50)}function dx(t){let e=[],i=[],n=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),i.push(r));if(!e.length){let r=-1;for(let{from:s}of t.selection.ranges){let o=t.doc.lineAt(s);o.number>r&&(e.push(o.text),i.push({from:o.from,to:Math.min(t.doc.length,o.to+1)})),r=o.number}n=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:n}}let du=null;Kt.copy=Kt.cut=(t,e)=>{let{text:i,ranges:n,linewise:r}=dx(t.state);if(!i&&!r)return!1;du=r?i:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=dm?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",i),!0):(fx(t,i),!1)};const gm=Ti.define();function bm(t,e){let i=[];for(let n of t.facet(tm)){let r=n(t,e);r&&i.push(r)}return i?t.update({effects:i,annotations:gm.of(!0)}):null}function ym(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=bm(t.state,e);i?t.dispatch(i):t.update([])}},10)}Jt.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),ym(t)};Jt.blur=t=>{t.observer.clearSelectionRange(),ym(t)};Jt.compositionstart=Jt.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0,t.docView.maybeCreateCompositionBarrier()&&(t.update([]),t.docView.clearCompositionBarrier()))};Jt.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,F.chrome&&F.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50)};Jt.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Kt.beforeinput=(t,e)=>{var i;let n;if(F.chrome&&F.android&&(n=hm.find(r=>r.inputType==e.inputType))&&(t.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let r=((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return!1};const Cf=new Set;function px(t){Cf.has(t)||(Cf.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const Qf=["pre-wrap","normal","pre-line","break-spaces"];class mx{constructor(e){this.lineWrapping=e,this.doc=ue.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,i){let n=this.doc.lineAt(i).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((i-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Qf.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let i=!1;for(let n=0;n-1,a=Math.round(i)!=Math.round(this.lineHeight)||this.lineWrapping!=l;if(this.lineWrapping=l,this.lineHeight=i,this.charWidth=n,this.textHeight=r,this.lineLength=s,a){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,i){this.height!=i&&(Math.abs(this.height-i)>Zo&&(e.heightChanged=!0),this.height=i)}replace(e,i,n){return ut.of(n)}decomposeLeft(e,i){i.push(this)}decomposeRight(e,i){i.push(this)}applyChanges(e,i,n,r){let s=this,o=n.doc;for(let l=r.length-1;l>=0;l--){let{fromA:a,toA:u,fromB:c,toB:h}=r[l],f=s.lineAt(a,we.ByPosNoHeight,n.setDoc(i),0,0),d=f.to>=u?f:s.lineAt(u,we.ByPosNoHeight,n,0,0);for(h+=d.to-u,u=d.to;l>0&&f.from<=r[l-1].toA;)a=r[l-1].fromA,c=r[l-1].fromB,l--,as*2){let l=e[i-1];l.break?e.splice(--i,1,l.left,null,l.right):e.splice(--i,1,l.left,l.right),n+=1+l.break,r-=l.size}else if(s>r*2){let l=e[n];l.break?e.splice(n,1,l.left,null,l.right):e.splice(n,1,l.left,l.right),n+=2+l.break,s-=l.size}else break;else if(r=s&&o(this.blockAt(0,n,r,s))}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class wt extends xm{constructor(e,i){super(e,i,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,i,n,r){return new hi(r,this.length,n,this.height,this.breaks)}replace(e,i,n){let r=n[0];return n.length==1&&(r instanceof wt||r instanceof Ne&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Ne?r=new wt(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):ut.of(n)}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more?this.setHeight(e,r.heights[r.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Ne extends ut{constructor(e){super(e,0)}heightMetrics(e,i){let n=e.doc.lineAt(i).number,r=e.doc.lineAt(i+this.length).number,s=r-n+1,o,l=0;if(e.lineWrapping){let a=Math.min(this.height,e.lineHeight*s);o=a/s,this.length>s+1&&(l=(this.height-a)/(this.length-s-1))}else o=this.height/s;return{firstLine:n,lastLine:r,perLine:o,perChar:l}}blockAt(e,i,n,r){let{firstLine:s,lastLine:o,perLine:l,perChar:a}=this.heightMetrics(i,r);if(i.lineWrapping){let u=r+Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length),c=i.doc.lineAt(u),h=l+c.length*a,f=Math.max(n,e-h/2);return new hi(c.from,c.length,f,h,0)}else{let u=Math.max(0,Math.min(o-s,Math.floor((e-n)/l))),{from:c,length:h}=i.doc.line(s+u);return new hi(c,h,n+l*u,l,0)}}lineAt(e,i,n,r,s){if(i==we.ByHeight)return this.blockAt(e,n,r,s);if(i==we.ByPosNoHeight){let{from:d,to:p}=n.doc.lineAt(e);return new hi(d,p-d,0,0,0)}let{firstLine:o,perLine:l,perChar:a}=this.heightMetrics(n,s),u=n.doc.lineAt(e),c=l+u.length*a,h=u.number-o,f=r+l*h+a*(u.from-s-h);return new hi(u.from,u.length,Math.max(r,Math.min(f,r+this.height-c)),c,0)}forEachLine(e,i,n,r,s,o){e=Math.max(e,s),i=Math.min(i,s+this.length);let{firstLine:l,perLine:a,perChar:u}=this.heightMetrics(n,s);for(let c=e,h=r;c<=i;){let f=n.doc.lineAt(c);if(c==e){let p=f.number-l;h+=a*p+u*(e-s-p)}let d=a+u*f.length;o(new hi(f.from,f.length,h,d,0)),h+=d,c=f.to+1}}replace(e,i,n){let r=this.length-i;if(r>0){let s=n[n.length-1];s instanceof Ne?n[n.length-1]=new Ne(s.length+r):n.push(null,new Ne(r-1))}if(e>0){let s=n[0];s instanceof Ne?n[0]=new Ne(e+s.length):n.unshift(new Ne(e-1),null)}return ut.of(n)}decomposeLeft(e,i){i.push(new Ne(e-1),null)}decomposeRight(e,i){i.push(null,new Ne(this.length-e-1))}updateHeight(e,i=0,n=!1,r){let s=i+this.length;if(r&&r.from<=i+this.length&&r.more){let o=[],l=Math.max(i,r.from),a=-1;for(r.from>i&&o.push(new Ne(r.from-i-1).updateHeight(e,i));l<=s&&r.more;){let c=e.doc.lineAt(l).length;o.length&&o.push(null);let h=r.heights[r.index++];a==-1?a=h:Math.abs(h-a)>=Zo&&(a=-2);let f=new wt(c,h);f.outdated=!1,o.push(f),l+=c+1}l<=s&&o.push(null,new Ne(s-l).updateHeight(e,l));let u=ut.of(o);return(a<0||Math.abs(u.height-this.height)>=Zo||Math.abs(a-this.heightMetrics(e,i).perLine)>=Zo)&&(e.heightChanged=!0),u}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(i,i+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class gx extends ut{constructor(e,i,n){super(e.length+i+n.length,e.height+n.height,i|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,i,n,r){let s=n+this.left.height;return el))return u;let c=i==we.ByPosNoHeight?we.ByPosNoHeight:we.ByPos;return a?u.join(this.right.lineAt(l,c,n,o,l)):this.left.lineAt(l,c,n,r,s).join(u)}forEachLine(e,i,n,r,s,o){let l=r+this.left.height,a=s+this.left.length+this.break;if(this.break)e=a&&this.right.forEachLine(e,i,n,l,a,o);else{let u=this.lineAt(a,we.ByPos,n,r,s);e=e&&u.from<=i&&o(u),i>u.to&&this.right.forEachLine(u.to+1,i,n,l,a,o)}}replace(e,i,n){let r=this.left.length+this.break;if(ithis.left.length)return this.balanced(this.left,this.right.replace(e-r,i-r,n));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let l of n)s.push(l);if(e>0&&Af(s,o-1),i=n&&i.push(null)),e>n&&this.right.decomposeLeft(e-n,i)}decomposeRight(e,i){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,i);e2*i.size||i.size>2*e.size?ut.of(this.break?[e,null,i]:[e,i]):(this.left=e,this.right=i,this.height=e.height+i.height,this.outdated=e.outdated||i.outdated,this.size=e.size+i.size,this.length=e.length+this.break+i.length,this)}updateHeight(e,i=0,n=!1,r){let{left:s,right:o}=this,l=i+s.length+this.break,a=null;return r&&r.from<=i+s.length&&r.more?a=s=s.updateHeight(e,i,n,r):s.updateHeight(e,i,n),r&&r.from<=l+o.length&&r.more?a=o=o.updateHeight(e,l,n,r):o.updateHeight(e,l,n),a?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Af(t,e){let i,n;t[e]==null&&(i=t[e-1])instanceof Ne&&(n=t[e+1])instanceof Ne&&t.splice(e-1,3,new Ne(i.length+1+n.length))}const bx=5;class cc{constructor(e,i){this.pos=e,this.oracle=i,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,i){if(this.lineStart>-1){let n=Math.min(i,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof wt?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new wt(n-this.pos,-1)),this.writtenTo=n,i>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=i}point(e,i,n){if(e=bx)&&this.addLineDeco(r,s,o)}else i>e&&this.span(e,i);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:i}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=i,this.writtenToe&&this.nodes.push(new wt(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,i){let n=new Ne(i-e);return this.oracle.doc.lineAt(e).to==i&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof wt)return e;let i=new wt(0,-1);return this.nodes.push(i),i}addBlock(e){this.enterLine();let i=e.deco;i&&i.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i&&i.endSide>0&&(this.covering=e)}addLineDeco(e,i,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=i,this.writtenTo=this.pos=this.pos+n}finish(e){let i=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(i instanceof wt)&&!this.isCovered?this.nodes.push(new wt(0,-1)):(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&h.overflow!="visible"){let f=c.getBoundingClientRect();s=Math.max(s,f.left),o=Math.min(o,f.right),l=Math.max(l,f.top),a=u==t.parentNode?f.bottom:Math.min(a,f.bottom)}u=h.position=="absolute"||h.position=="fixed"?c.offsetParent:c.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:s-i.left,right:Math.max(s,o)-i.left,top:l-(i.top+e),bottom:Math.max(l,a)-(i.top+e)}}function vx(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}class Jl{constructor(e,i,n){this.from=e,this.to=i,this.size=n}static same(e,i){if(e.length!=i.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new mx(i),this.stateDeco=e.facet(rs).filter(n=>typeof n!="function"),this.heightMap=ut.empty().applyChanges(this.stateDeco,ue.empty,this.heightOracle.setDoc(e.doc),[new Dt(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=he.set(this.lineGaps.map(n=>n.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:i}=this.state.selection;for(let n=0;n<=1;n++){let r=n?i.head:i.anchor;if(!e.some(({from:s,to:o})=>r>=s&&r<=o)){let{from:s,to:o}=this.lineBlockAt(r);e.push(new eo(s,o))}}this.viewports=e.sort((n,r)=>n.from-r.from),this.scaler=this.heightMap.height<=7e6?Ef:new $x(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Mr(e,this.scaler))})}update(e,i=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(rs).filter(c=>typeof c!="function");let r=e.changedRanges,s=Dt.extendWithRanges(r,yx(n,this.stateDeco,e?e.changes:Fe.empty(this.state.doc.length))),o=this.heightMap.height,l=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=o&&(e.flags|=2),l?(this.scrollAnchorPos=e.changes.mapPos(l.from,-1),this.scrollAnchorHeight=l.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(i&&(i.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,i));let u=!e.changes.empty||e.flags&2||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),u&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),i&&(this.scrollTarget=i),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(Zy)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let i=e.contentDOM,n=window.getComputedStyle(i),r=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Xe.RTL:Xe.LTR;let o=this.heightOracle.mustRefreshForWrapping(s),l=i.getBoundingClientRect(),a=o||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let u=0,c=0;if(l.width&&l.height){let{scaleX:S,scaleY:_}=E0(i,l);(this.scaleX!=S||this.scaleY!=_)&&(this.scaleX=S,this.scaleY=_,u|=8,o=a=!0)}let h=(parseInt(n.paddingTop)||0)*this.scaleY,f=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=h||this.paddingBottom!=f)&&(this.paddingTop=h,this.paddingBottom=f,u|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=8);let d=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=d&&(this.scrollAnchorHeight=-1,this.scrollTop=d),this.scrolledToBottom=R0(e.scrollDOM);let p=(this.printing?vx:kx)(i,this.paddingTop),m=p.top-this.pixelViewport.top,g=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let O=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(O!=this.inView&&(this.inView=O,O&&(a=!0)),!this.inView&&!this.scrollTarget)return 0;let y=l.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,u|=8),a){let S=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(S)&&(o=!0),o||r.lineWrapping&&Math.abs(y-this.contentDOMWidth)>r.charWidth){let{lineHeight:_,charWidth:A,textHeight:C}=e.docView.measureTextSize();o=_>0&&r.refresh(s,_,A,C,y/A,S),o&&(e.docView.minWidth=0,u|=8)}m>0&&g>0?c=Math.max(m,g):m<0&&g<0&&(c=Math.min(m,g)),r.heightChanged=!1;for(let _ of this.viewports){let A=_.from==this.viewport.from?S:e.docView.measureVisibleLineHeights(_);this.heightMap=(o?ut.empty().applyChanges(this.stateDeco,ue.empty,this.heightOracle,[new Dt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new Ox(_.from,A))}r.heightChanged&&(u|=2)}let v=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return v&&(this.viewport=this.getViewport(c,this.scrollTarget)),this.updateForViewport(),(u&2||v)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,i){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.heightOracle,{visibleTop:o,visibleBottom:l}=this,a=new eo(r.lineAt(o-n*1e3,we.ByHeight,s,0,0).from,r.lineAt(l+(1-n)*1e3,we.ByHeight,s,0,0).to);if(i){let{head:u}=i.range;if(ua.to){let c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=r.lineAt(u,we.ByPos,s,0,0),f;i.y=="center"?f=(h.top+h.bottom)/2-c/2:i.y=="start"||i.y=="nearest"&&u=l+Math.max(10,Math.min(n,250)))&&r>o-2*1e3&&s>1,o=r<<1;if(this.defaultTextDirection!=Xe.LTR&&!n)return[];let l=[],a=(u,c,h,f)=>{if(c-uu&&gg.from>=h.from&&g.to<=h.to&&Math.abs(g.from-u)g.fromO));if(!m){if(cg.from<=c&&g.to>=c)){let g=i.moveToLineBoundary(T.cursor(c),!1,!0).head;g>u&&(c=g)}m=new Jl(u,c,this.gapSize(h,u,c,f))}l.push(m)};for(let u of this.viewportLines){if(u.lengthu.from&&a(u.from,f,u,c),di.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let i=[];_e.spans(e,this.viewport.from,this.viewport.to,{span(r,s){i.push({from:r,to:s})},point(){}},20);let n=i.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=i[s].from||r.to!=i[s].to);return this.visibleRanges=i,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(i=>i.from<=e&&i.to>=e)||Mr(this.heightMap.lineAt(e,we.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Mr(this.heightMap.lineAt(this.scaler.fromDOM(e),we.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let i=this.lineBlockAtHeight(e+8);return i.from>=this.viewport.from||this.viewportLines[0].top-e>200?i:this.viewportLines[0]}elementAtHeight(e){return Mr(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class eo{constructor(e,i){this.from=e,this.to=i}}function wx(t,e,i){let n=[],r=t,s=0;return _e.spans(i,t,e,{span(){},point(o,l){o>r&&(n.push({from:r,to:o}),s+=o-r),r=l}},20),r=1)return e[e.length-1].to;let n=Math.floor(t*i);for(let r=0;;r++){let{from:s,to:o}=e[r],l=o-s;if(n<=l)return s+n;n-=l}}function io(t,e){let i=0;for(let{from:n,to:r}of t.ranges){if(e<=r){i+=e-n;break}i+=r-n}return i/t.total}function _x(t,e){for(let i of t)if(e(i))return i}const Ef={toDOM(t){return t},fromDOM(t){return t},scale:1};class $x{constructor(e,i,n){let r=0,s=0,o=0;this.viewports=n.map(({from:l,to:a})=>{let u=i.lineAt(l,we.ByPos,e,0,0).top,c=i.lineAt(a,we.ByPos,e,0,0).bottom;return r+=c-u,{from:l,to:a,top:u,bottom:c,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(i.height-r);for(let l of this.viewports)l.domTop=o+(l.top-s)*this.scale,o=l.domBottom=l.domTop+(l.bottom-l.top),s=l.bottom}toDOM(e){for(let i=0,n=0,r=0;;i++){let s=iMr(r,e)):t._content)}const no=N.define({combine:t=>t.join(" ")}),pu=N.define({combine:t=>t.indexOf(!0)>-1}),mu=en.newName(),km=en.newName(),vm=en.newName(),Sm={"&light":"."+km,"&dark":"."+vm};function Ou(t,e,i){return new en(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,r=>{if(r=="&")return t;if(!i||!i[r])throw new RangeError(`Unsupported selector: ${r}`);return i[r]}):t+" "+n}})}const Px=Ou("."+mu,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},Sm),Wr="￿";class Cx{constructor(e,i){this.points=e,this.text="",this.lineSeparator=i.facet(oe.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Wr}readRange(e,i){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let s=this.text.length;this.readNode(r);let o=r.nextSibling;if(o==i)break;let l=Pe.get(r),a=Pe.get(o);(l&&a?l.breakAfter:(l?l.breakAfter:Zf(r))||Zf(o)&&(r.nodeName!="BR"||r.cmIgnore)&&this.text.length>s)&&this.lineBreak(),r=o}return this.findPointBefore(n,i),this}readTextNode(e){let i=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,i.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,o=1,l;if(this.lineSeparator?(s=i.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(l=r.exec(i))&&(s=l.index,o=l[0].length),this.append(i.slice(n,s<0?i.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let a of this.points)a.node==e&&a.pos>this.text.length&&(a.pos-=o-1);n=s+o}}readNode(e){if(e.cmIgnore)return;let i=Pe.get(e),n=i&&i.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let r=n.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,i){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==i&&(n.pos=this.text.length)}findPointInside(e,i){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(Qx(e,n.node,n.offset)?i:0))}}function Qx(t,e,i){for(;;){if(!e||i-1)this.newSel=null;else if(i>-1&&(this.bounds=e.docView.domBoundsAround(i,n,0))){let l=s||o?[]:Zx(e),a=new Cx(l,e.state);a.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=a.text,this.newSel=Dx(l,this.bounds.from)}else{let l=e.observer.selectionRange,a=s&&s.node==l.focusNode&&s.offset==l.focusOffset||!tu(e.contentDOM,l.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(l.focusNode,l.focusOffset),u=o&&o.node==l.anchorNode&&o.offset==l.anchorOffset||!tu(e.contentDOM,l.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(l.anchorNode,l.anchorOffset),c=e.viewport;if((F.ios||F.chrome)&&e.state.selection.main.empty&&a!=u&&(c.from>0||c.toDate.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:l}=e.bounds,a=r.from,u=null;(s===8||F.android&&e.text.length=r.from&&i.to<=r.to&&(i.from!=r.from||i.to!=r.to)&&r.to-r.from-(i.to-i.from)<=4?i={from:r.from,to:r.to,insert:t.state.doc.slice(r.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,r.to))}:(F.mac||F.android)&&i&&i.from==i.to&&i.from==r.head-1&&/^\. ?$/.test(i.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(n&&i.insert.length==2&&(n=T.single(n.main.anchor-1,n.main.head-1)),i={from:r.from,to:r.to,insert:ue.of([" "])}):F.chrome&&i&&i.from==i.to&&i.from==r.head&&i.insert.toString()==` - `&&t.lineWrapping&&(n&&(n=T.single(n.main.anchor-1,n.main.head-1)),i={from:r.from,to:r.to,insert:ue.of([" "])}),i){if(F.ios&&t.inputState.flushIOSKey()||F.android&&(i.to==r.to&&(i.from==r.from||i.from==r.from-1&&t.state.sliceDoc(i.from,r.from)==" ")&&i.insert.length==1&&i.insert.lines==2&&jn(t.contentDOM,"Enter",13)||(i.from==r.from-1&&i.to==r.to&&i.insert.length==0||s==8&&i.insert.lengthr.head)&&jn(t.contentDOM,"Backspace",8)||i.from==r.from&&i.to==r.to+1&&i.insert.length==0&&jn(t.contentDOM,"Delete",46)))return!0;let o=i.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let l,a=()=>l||(l=Tx(t,i,n));return t.state.facet(em).some(u=>u(t,i.from,i.to,o,a))||t.dispatch(a()),!0}else if(n&&!n.main.eq(r)){let o=!1,l="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(o=!0),l=t.inputState.lastSelectionOrigin),t.dispatch({selection:n,scrollIntoView:o,userEvent:l}),!0}else return!1}function Tx(t,e,i){let n,r=t.state,s=r.selection.main;if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let l=s.frome.to?r.sliceDoc(e.to,s.to):"";n=r.replaceSelection(t.state.toText(l+e.insert.sliceString(0,void 0,t.state.lineBreak)+a))}else{let l=r.changes(e),a=i&&i.main.to<=l.newLength?i.main:void 0;if(r.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=s.to&&e.to>=s.to-10){let u=t.state.sliceDoc(e.from,e.to),c,h=i&&am(t,i.main.head);if(h){let p=e.insert.length-(e.to-e.from);c={from:h.from,to:h.to-p}}else c=t.state.doc.lineAt(s.head);let f=s.to-e.to,d=s.to-s.from;n=r.changeByRange(p=>{if(p.from==s.from&&p.to==s.to)return{changes:l,range:a||p.map(l)};let m=p.to-f,g=m-u.length;if(p.to-p.from!=d||t.state.sliceDoc(g,m)!=u||p.to>=c.from&&p.from<=c.to)return{range:p};let O=r.changes({from:g,to:m,insert:e.insert}),y=p.to-s.to;return{changes:O,range:a?T.range(Math.max(0,a.anchor+y),Math.max(0,a.head+y)):p.map(O)}})}else n={changes:l,selection:a&&r.selection.replaceRange(a)}}let o="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,o+=".compose",t.inputState.compositionFirstChange&&(o+=".start",t.inputState.compositionFirstChange=!1)),r.update(n,{userEvent:o,scrollIntoView:!0})}function Ex(t,e,i,n){let r=Math.min(t.length,e.length),s=0;for(;s0&&l>0&&t.charCodeAt(o-1)==e.charCodeAt(l-1);)o--,l--;if(n=="end"){let a=Math.max(0,s-Math.min(o,l));i-=o+a-s}if(o=o?s-i:0;s-=a,l=s+(l-o),o=s}else if(l=l?s-i:0;s-=a,o=s+(o-l),l=s}return{from:s,toA:o,toB:l}}function Zx(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:s}=t.observer.selectionRange;return i&&(e.push(new Df(i,n)),(r!=i||s!=n)&&e.push(new Df(r,s))),e}function Dx(t,e){if(t.length==0)return null;let i=t[0].pos,n=t.length==2?t[1].pos:i;return i>-1&&n>-1?T.single(i+e,n+e):null}const Rx={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},ea=F.ie&&F.ie_version<=11;class Ix{constructor(e){this.view=e,this.active=!1,this.selectionRange=new Oy,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(i=>{for(let n of i)this.queue.push(n);(F.ie&&F.ie_version<=11||F.ios&&e.composing)&&i.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),ea&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var i;((i=this.view.docView)===null||i===void 0?void 0:i.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),i.length>0&&i[i.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(i=>{i.length>0&&i[i.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((i,n)=>i!=e[n]))){this.gapIntersection.disconnect();for(let i of e)this.gapIntersection.observe(i);this.gaps=e}}onSelectionChange(e){let i=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(Tl)?n.root.activeElement!=this.dom:!To(n.dom,r))return;let s=r.anchorNode&&n.docView.nearest(r.anchorNode);if(s&&s.ignoreEvent(e)){i||(this.selectionChanged=!1);return}(F.ie&&F.ie_version<=11||F.android&&F.chrome)&&!n.state.selection.main.empty&&r.focusNode&&Yr(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,i=F.safari&&e.root.nodeType==11&&fy(this.dom.ownerDocument)==this.dom&&Lx(this.view)||No(e.root);if(!i||this.selectionRange.eq(i))return!1;let n=To(this.dom,i);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&jn(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:i,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let i=-1,n=-1,r=!1;for(let s of e){let o=this.readMutation(s);o&&(o.typeOver&&(r=!0),i==-1?{from:i,to:n}=o:(i=Math.min(o.from,i),n=Math.max(o.to,n)))}return{from:i,to:n,typeOver:r}}readChange(){let{from:e,to:i,typeOver:n}=this.processRecords(),r=this.selectionChanged&&To(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new Ax(this.view,e,i,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let i=this.readChange();if(!i)return this.view.requestMeasure(),!1;let n=this.view.state,r=wm(this.view,i);return this.view.state==n&&this.view.update([]),r}readMutation(e){let i=this.view.docView.nearest(e.target);if(!i||i.ignoreMutation(e))return null;if(i.markDirty(e.type=="attributes"),e.type=="attributes"&&(i.flags|=4),e.type=="childList"){let n=Rf(i,e.previousSibling||e.target.previousSibling,-1),r=Rf(i,e.nextSibling||e.target.nextSibling,1);return{from:n?i.posAfter(n):i.posAtStart,to:r?i.posBefore(r):i.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,i,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(i=this.gapIntersection)===null||i===void 0||i.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function Rf(t,e,i){for(;e;){let n=Pe.get(e);if(n&&n.parent==t)return n;let r=e.parentNode;e=r!=t.dom?r:i>0?e.nextSibling:e.previousSibling}return null}function Lx(t){let e=null;function i(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",i,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",i,!0),!e)return null;let n=e.startContainer,r=e.startOffset,s=e.endContainer,o=e.endOffset,l=t.docView.domAtPos(t.state.selection.main.anchor);return Yr(l.node,l.offset,s,o)&&([n,r,s,o]=[s,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:s,focusOffset:o}}class j{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:i}=e;this.dispatchTransactions=e.dispatchTransactions||i&&(n=>n.forEach(r=>i(r,this)))||(n=>this.update(n)),this.dispatch=this.dispatch.bind(this),this._root=e.root||gy(e.parent)||document,this.viewState=new Tf(e.state||oe.create(e)),e.scrollTo&&e.scrollTo.is(Hs)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Lr).map(n=>new Gl(n));for(let n of this.plugins)n.update(this);this.observer=new Ix(this),this.inputState=new Ky(this),this.inputState.ensureHandlers(this.plugins),this.docView=new df(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){let i=e.length==1&&e[0]instanceof Le?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,n=!1,r,s=this.state;for(let f of e){if(f.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=f.state}if(this.destroyed){this.viewState.state=s;return}let o=this.hasFocus,l=0,a=null;e.some(f=>f.annotation(gm))?(this.inputState.notifiedFocused=o,l=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,a=bm(s,o),a||(l=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(c=null)):this.observer.clear(),s.facet(oe.phrases)!=this.state.facet(oe.phrases))return this.setState(s);r=Uo.create(this,s,e),r.flags|=l;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let f of e){if(h&&(h=h.map(f.changes)),f.scrollIntoView){let{main:d}=f.state.selection;h=new Bn(d.empty?d:T.cursor(d.head,d.head>d.anchor?-1:1))}for(let d of f.effects)d.is(Hs)&&(h=d.value.clip(this.state))}this.viewState.update(r,h),this.bidiCache=Go.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),i=this.docView.update(r),this.state.facet(Xr)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(no)!=r.state.facet(no)&&(this.viewState.mustMeasureContent=!0),(i||n||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!r.empty)for(let f of this.state.facet(hu))try{f(r)}catch(d){At(this.state,d,"update listener")}(a||c)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),c&&!wm(this,c)&&u.force&&jn(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let i=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new Tf(e),this.plugins=e.facet(Lr).map(n=>new Gl(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new df(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(Lr),n=e.state.facet(Lr);if(i!=n){let r=[];for(let s of n){let o=i.indexOf(s);if(o<0)r.push(new Gl(s));else{let l=this.plugins[o];l.mustUpdate=e,r.push(l)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let i=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(o<0)if(R0(n))s=-1,o=this.viewState.heightMap.height;else{let d=this.viewState.scrollAnchorAt(r);s=d.from,o=d.top}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let u=[];a&4||([this.measureRequests,u]=[u,this.measureRequests]);let c=u.map(d=>{try{return d.read(this)}catch(p){return At(this.state,p),If}}),h=Uo.create(this,this.state,[]),f=!1;h.flags|=a,i?i.flags|=a:i=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),f=this.docView.update(h),f&&this.docViewUpdate());for(let d=0;d1||p<-1){r=r+p,n.scrollTop=r/this.scaleY,o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let l of this.state.facet(hu))l(i)}get themeClasses(){return mu+" "+(this.state.facet(pu)?vm:km)+" "+this.state.facet(no)}updateAttrs(){let e=Lf(this,nm,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Tl)?"true":"false",class:"cm-content",style:`${F.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),Lf(this,ac,i);let n=this.observer.ignore(()=>{let r=ou(this.contentDOM,this.contentAttrs,i),s=ou(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=i,n}showAnnouncements(e){let i=!0;for(let n of e)for(let r of n.effects)if(r.is(j.announce)){i&&(this.announceDOM.textContent=""),i=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(Xr);let e=this.state.facet(j.cspNonce);en.mount(this.root,this.styleModules.concat(Px).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let i=0;in.spec==e)||null),i&&i.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,i,n){return Kl(this,e,yf(this,e,i,n))}moveByGroup(e,i){return Kl(this,e,yf(this,e,i,n=>Gy(this,e.head,n)))}visualLineSide(e,i){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),s=n[i?n.length-1:0];return T.cursor(s.side(i,r)+e.from,s.forward(!i,r)?1:-1)}moveToLineBoundary(e,i,n=!0){return Uy(this,e,i,n)}moveVertically(e,i,n){return Kl(this,e,Hy(this,e,i,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){return this.readMeasured(),cm(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let n=this.docView.coordsAt(e,i);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),o=s[Ni.find(s,e-r.from,-1,i)];return Ql(n,o.dir==Xe.LTR==i>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(im)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>Xx)return N0(e.length);let i=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==i&&(s.fresh||Y0(s.isolates,n=ff(this,e))))return s.order;n||(n=ff(this,e));let r=Ay(e.text,i,n);return this.bidiCache.push(new Go(e.from,e.to,i,n,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||F.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Z0(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,i={}){return Hs.of(new Bn(typeof e=="number"?T.cursor(e):e,i.y,i.x,i.yMargin,i.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return Hs.of(new Bn(T.cursor(n.from),"start","start",n.top-e,i,!0))}static domEventHandlers(e){return It.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return It.define(()=>({}),{eventObservers:e})}static theme(e,i){let n=en.newName(),r=[no.of(n),Xr.of(Ou(`.${n}`,e))];return i&&i.dark&&r.push(pu.of(!0)),r}static baseTheme(e){return on.lowest(Xr.of(Ou("."+mu,e,Sm)))}static findFromDOM(e){var i;let n=e.querySelector(".cm-content"),r=n&&Pe.get(n)||Pe.get(e);return((i=r==null?void 0:r.rootView)===null||i===void 0?void 0:i.view)||null}}j.styleModule=Xr;j.inputHandler=em;j.focusChangeEffect=tm;j.perLineTextDirection=im;j.exceptionSink=J0;j.updateListener=hu;j.editable=Tl;j.mouseSelectionStyle=K0;j.dragMovesSelection=H0;j.clickAddsSelectionRange=G0;j.decorations=rs;j.outerDecorations=rm;j.atomicRanges=uc;j.bidiIsolatedRanges=sm;j.scrollMargins=om;j.darkTheme=pu;j.cspNonce=N.define({combine:t=>t.length?t[0]:""});j.contentAttributes=ac;j.editorAttributes=nm;j.lineWrapping=j.contentAttributes.of({class:"cm-lineWrapping"});j.announce=ce.define();const Xx=4096,If={};class Go{constructor(e,i,n,r,s,o){this.from=e,this.to=i,this.dir=n,this.isolates=r,this.fresh=s,this.order=o}static update(e,i){if(i.empty&&!e.some(s=>s.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:Xe.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=n[r],o=typeof s=="function"?s(t):s;o&&su(o,i)}return i}const Mx=F.mac?"mac":F.windows?"win":F.linux?"linux":"key";function Wx(t,e){const i=t.split(/-(?!$)/);let n=i[i.length-1];n=="Space"&&(n=" ");let r,s,o,l;for(let a=0;an.concat(r),[]))),i}function Fx(t,e,i){return $m(_m(t.state),e,t,i)}let zi=null;const zx=4e3;function jx(t,e=Mx){let i=Object.create(null),n=Object.create(null),r=(o,l)=>{let a=n[o];if(a==null)n[o]=l;else if(a!=l)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},s=(o,l,a,u,c)=>{var h,f;let d=i[o]||(i[o]=Object.create(null)),p=l.split(/ (?!$)/).map(O=>Wx(O,e));for(let O=1;O{let S=zi={view:v,prefix:y,scope:o};return setTimeout(()=>{zi==S&&(zi=null)},zx),!0}]})}let m=p.join(" ");r(m,!1);let g=d[m]||(d[m]={preventDefault:!1,stopPropagation:!1,run:((f=(h=d._any)===null||h===void 0?void 0:h.run)===null||f===void 0?void 0:f.slice())||[]});a&&g.run.push(a),u&&(g.preventDefault=!0),c&&(g.stopPropagation=!0)};for(let o of t){let l=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let u of l){let c=i[u]||(i[u]=Object.create(null));c._any||(c._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let h in c)c[h].run.push(o.any)}let a=o[e]||o.key;if(a)for(let u of l)s(u,a,o.run,o.preventDefault,o.stopPropagation),o.shift&&s(u,"Shift-"+a,o.shift,o.preventDefault,o.stopPropagation)}return i}function $m(t,e,i,n){let r=hy(e),s=Ut(r,0),o=wi(s)==r.length&&r!=" ",l="",a=!1,u=!1,c=!1;zi&&zi.view==i&&zi.scope==n&&(l=zi.prefix+" ",fm.indexOf(e.keyCode)<0&&(u=!0,zi=null));let h=new Set,f=g=>{if(g){for(let O of g.run)if(!h.has(O)&&(h.add(O),O(i,e)))return g.stopPropagation&&(c=!0),!0;g.preventDefault&&(g.stopPropagation&&(c=!0),u=!0)}return!1},d=t[n],p,m;return d&&(f(d[l+ro(r,e,!o)])?a=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(F.windows&&e.ctrlKey&&e.altKey)&&(p=tn[e.keyCode])&&p!=r?(f(d[l+ro(p,e,!0)])||e.shiftKey&&(m=is[e.keyCode])!=r&&m!=p&&f(d[l+ro(m,e,!1)]))&&(a=!0):o&&e.shiftKey&&f(d[l+ro(r,e,!0)])&&(a=!0),!a&&f(d._any)&&(a=!0)),u&&(a=!0),a&&c&&e.stopPropagation(),a}const Bx=!F.ios,Mf={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Bx&&(Mf[".cm-line"].caretColor="transparent !important",Mf[".cm-content"]={caretColor:"transparent !important"});class qx extends Ps{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}coordsAt(e){let i=e.firstChild?nr(e.firstChild):[];if(!i.length)return null;let n=window.getComputedStyle(e.parentNode),r=Ql(i[0],n.direction!="rtl"),s=parseInt(n.lineHeight);return r.bottom-r.top>s*1.5?{left:r.left,right:r.right,top:r.top,bottom:r.top+s}:r}ignoreEvent(){return!1}}function Yx(t){return It.fromClass(class{constructor(e){this.view=e,this.placeholder=t?he.set([he.widget({widget:new qx(t),side:1}).range(0)]):he.none}get decorations(){return this.view.state.doc.length?he.none:this.placeholder}},{decorations:e=>e.decorations})}const Pr="-10000px";class Nx{constructor(e,i,n,r){this.facet=i,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(i),this.tooltips=this.input.filter(o=>o);let s=null;this.tooltipViews=this.tooltips.map(o=>s=n(o,s))}update(e,i){var n;let r=e.state.facet(this.facet),s=r.filter(a=>a);if(r===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let o=[],l=i?[]:null;for(let a=0;ai[u]=a),i.length=l.length),this.input=r,this.tooltips=s,this.tooltipViews=o,!0}}function Ux(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const ta=N.define({combine:t=>{var e,i,n;return{position:F.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(r=>r.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((n=t.find(r=>r.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||Ux}}}),Wf=new WeakMap,Pm=It.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(ta);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new Nx(t,Cm,(i,n)=>this.createTooltip(i,n),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let i=e||t.geometryChanged,n=t.state.facet(ta);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;i=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),n=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",i.dom.insertBefore(r,n)}return i.dom.style.position=this.position,i.dom.style.top=Pr,i.dom.style.left="0px",this.container.insertBefore(i.dom,n),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(t=n.destroy)===null||t===void 0||t.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,i=1,n=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:r}=this.manager.tooltipViews[0];if(F.gecko)n=r.offsetParent!=this.container.ownerDocument.body;else if(r.style.top==Pr&&r.style.left=="0px"){let s=r.getBoundingClientRect();n=Math.abs(s.top+1e4)>1||Math.abs(s.left)>1}}if(n||this.position=="absolute")if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(e=r.width/this.parent.offsetWidth,i=r.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:i}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((r,s)=>{let o=this.manager.tooltipViews[s];return o.getCoords?o.getCoords(r.pos):this.view.coordsAtPos(r.pos)}),size:this.manager.tooltipViews.map(({dom:r})=>r.getBoundingClientRect()),space:this.view.state.facet(ta).tooltipSpace(this.view),scaleX:e,scaleY:i,makeAbsolute:n}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let l of this.manager.tooltipViews)l.dom.style.position="absolute"}let{editor:i,space:n,scaleX:r,scaleY:s}=t,o=[];for(let l=0;l=Math.min(i.bottom,n.bottom)||h.rightMath.min(i.right,n.right)+.1){c.style.top=Pr;continue}let d=a.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,p=d?7:0,m=f.right-f.left,g=(e=Wf.get(u))!==null&&e!==void 0?e:f.bottom-f.top,O=u.offset||Hx,y=this.view.textDirection==Xe.LTR,v=f.width>n.right-n.left?y?n.left:n.right-f.width:y?Math.min(h.left-(d?14:0)+O.x,n.right-m):Math.max(n.left,h.left-m+(d?14:0)-O.x),S=this.above[l];!a.strictSide&&(S?h.top-(f.bottom-f.top)-O.yn.bottom)&&S==n.bottom-h.bottom>h.top-n.top&&(S=this.above[l]=!S);let _=(S?h.top-n.top:n.bottom-h.bottom)-p;if(_v&&$.topA&&(A=S?$.top-g-2-p:$.bottom+p+2);if(this.position=="absolute"?(c.style.top=(A-t.parent.top)/s+"px",c.style.left=(v-t.parent.left)/r+"px"):(c.style.top=A/s+"px",c.style.left=v/r+"px"),d){let $=h.left+(y?O.x:-O.x)-(v+14-7);d.style.left=$/r+"px"}u.overlap!==!0&&o.push({left:v,top:A,right:C,bottom:A+g}),c.classList.toggle("cm-tooltip-above",S),c.classList.toggle("cm-tooltip-below",!S),u.positioned&&u.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=Pr}},{eventObservers:{scroll(){this.maybeMeasure()}}}),Gx=j.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),Hx={x:0,y:0},Cm=N.define({enables:[Pm,Gx]});function Qm(t,e){let i=t.plugin(Pm);if(!i)return null;let n=i.manager.tooltips.indexOf(e);return n<0?null:i.manager.tooltipViews[n]}const Vf=N.define({combine(t){let e,i;for(let n of t)e=e||n.topContainer,i=i||n.bottomContainer;return{topContainer:e,bottomContainer:i}}});function Ho(t,e){let i=t.plugin(Am),n=i?i.specs.indexOf(e):-1;return n>-1?i.panels[n]:null}const Am=It.fromClass(class{constructor(t){this.input=t.state.facet(Ko),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(Vf);this.top=new so(t,!0,e.topContainer),this.bottom=new so(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(Vf);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new so(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new so(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(Ko);if(i!=this.input){let n=i.filter(a=>a),r=[],s=[],o=[],l=[];for(let a of n){let u=this.specs.indexOf(a),c;u<0?(c=a(t.view),l.push(c)):(c=this.panels[u],c.update&&c.update(t)),r.push(c),(c.top?s:o).push(c)}this.specs=n,this.panels=r,this.top.sync(s),this.bottom.sync(o);for(let a of l)a.dom.classList.add("cm-panel"),a.mount&&a.mount()}else for(let n of this.panels)n.update&&n.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>j.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})});class so{constructor(e,i,n){this.view=e,this.top=i,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=Ff(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=Ff(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function Ff(t){let e=t.nextSibling;return t.remove(),e}const Ko=N.define({enables:Am});class sr extends xn{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}sr.prototype.elementClass="";sr.prototype.toDOM=void 0;sr.prototype.mapMode=at.TrackBefore;sr.prototype.startSide=sr.prototype.endSide=-1;sr.prototype.point=!0;const Tm=1024;let Kx=0;class Tt{constructor(e,i){this.from=e,this.to=i}}class G{constructor(e={}){this.id=Kx++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Me.match(e)),i=>{let n=e(i);return n===void 0?null:[this,n]}}}G.closedBy=new G({deserialize:t=>t.split(" ")});G.openedBy=new G({deserialize:t=>t.split(" ")});G.group=new G({deserialize:t=>t.split(" ")});G.isolate=new G({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});G.contextHash=new G({perNode:!0});G.lookAhead=new G({perNode:!0});G.mounted=new G({perNode:!0});class ss{constructor(e,i,n){this.tree=e,this.overlay=i,this.parser=n}static get(e){return e&&e.props&&e.props[G.mounted.id]}}const Jx=Object.create(null);class Me{constructor(e,i,n,r=0){this.name=e,this.props=i,this.id=n,this.flags=r}static define(e){let i=e.props&&e.props.length?Object.create(null):Jx,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Me(e.name||"",i,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(G.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let n in e)for(let r of n.split(" "))i[r]=e[n];return n=>{for(let r=n.prop(G.group),s=-1;s<(r?r.length:0);s++){let o=i[s<0?n.name:r[s]];if(o)return o}}}}Me.none=new Me("",Object.create(null),0,8);class Or{constructor(e){this.types=e;for(let i=0;i0;for(let a=this.cursor(o|ye.IncludeAnonymous);;){let u=!1;if(a.from<=s&&a.to>=r&&(!l&&a.type.isAnonymous||i(a)!==!1)){if(a.firstChild())continue;u=!0}for(;u&&n&&(l||!a.type.isAnonymous)&&n(a),!a.nextSibling();){if(!a.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:dc(Me.none,this.children,this.positions,0,this.children.length,0,this.length,(i,n,r)=>new ie(this.type,i,n,r,this.propValues),e.makeTree||((i,n,r)=>new ie(Me.none,i,n,r)))}static build(e){return nk(e)}}ie.empty=new ie(Me.none,[],[],0);class hc{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new hc(this.buffer,this.index)}}class rn{constructor(e,i,n){this.buffer=e,this.length=i,this.set=n}get type(){return Me.none}toString(){let e=[];for(let i=0;i0));a=o[a+3]);return l}slice(e,i,n){let r=this.buffer,s=new Uint16Array(i-e),o=0;for(let l=e,a=0;l=e&&ie;case 1:return i<=e&&n>e;case 2:return n>e;case 4:return!0}}function os(t,e,i,n){for(var r;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to0?l.length:-1;e!=u;e+=i){let c=l[e],h=a[e]+o.from;if(Em(r,n,h,h+c.length)){if(c instanceof rn){if(s&ye.ExcludeBuffers)continue;let f=c.findChild(0,c.buffer.length,i,n-h,r);if(f>-1)return new fi(new ek(o,c,e,h),null,f)}else if(s&ye.IncludeAnonymous||!c.type.isAnonymous||fc(c)){let f;if(!(s&ye.IgnoreMounts)&&(f=ss.get(c))&&!f.overlay)return new rt(f.tree,h,e,o);let d=new rt(c,h,e,o);return s&ye.IncludeAnonymous||!d.type.isAnonymous?d:d.nextChild(i<0?c.children.length-1:0,i,n,r)}}}if(s&ye.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+i:e=i<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,i,n=0){let r;if(!(n&ye.IgnoreOverlays)&&(r=ss.get(this._tree))&&r.overlay){let s=e-this.from;for(let{from:o,to:l}of r.overlay)if((i>0?o<=s:o=s:l>s))return new rt(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function jf(t,e,i,n){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(i!=null){for(let o=!1;!o;)if(o=r.type.is(i),!r.nextSibling())return s}for(;;){if(n!=null&&r.type.is(n))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return n==null?s:[]}}function gu(t,e,i=e.length-1){for(let n=t.parent;i>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[i]&&e[i]!=n.name)return!1;i--}}return!0}class ek{constructor(e,i,n,r){this.parent=e,this.buffer=i,this.index=n,this.start=r}}class fi extends Zm{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,i,n){super(),this.context=e,this._parent=i,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,i,n){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.context.start,n);return s<0?null:new fi(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,i,n=0){if(n&ye.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return s<0?null:new fi(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new fi(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new fi(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:n}=this.context,r=this.index+4,s=n.buffer[this.index+3];if(s>r){let o=n.buffer[this.index+1];e.push(n.slice(r,s,o)),i.push(0)}return new ie(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Dm(t){if(!t.length)return null;let e=0,i=t[0];for(let s=1;si.from||o.to=e){let l=new rt(o.tree,o.overlay[0].from+s.from,-1,s);(r||(r=[n])).push(os(l,e,i,!1))}}return r?Dm(r):n}class Jo{get name(){return this.type.name}constructor(e,i=0){if(this.mode=i,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof rt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof rt?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,n,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,n=this.mode){return this.buffer?n&ye.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&ye.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&ye.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,n=this.stack.length-1;if(e<0){let r=n<0?0:this.stack[n]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(n<0?i.buffer.length:i.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=i+e,o=e<0?-1:n._tree.children.length;s!=o;s+=e){let l=n._tree.children[s];if(this.mode&ye.IncludeAnonymous||l instanceof rn||!l.type.isAnonymous||fc(l))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;i=o,n=s+1;break e}r=this.stack[--s]}for(let r=n;r=0;s--){if(s<0)return gu(this.node,e,r);let o=n[i.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function fc(t){return t.children.some(e=>e instanceof rn||!e.type.isAnonymous||fc(e))}function nk(t){var e;let{buffer:i,nodeSet:n,maxBufferLength:r=Tm,reused:s=[],minRepeatType:o=n.types.length}=t,l=Array.isArray(i)?new hc(i,i.length):i,a=n.types,u=0,c=0;function h(_,A,C,$,R,M){let{id:X,start:Z,end:L,size:V}=l,z=c;for(;V<0;)if(l.next(),V==-1){let le=s[X];C.push(le),$.push(Z-_);return}else if(V==-3){u=X;return}else if(V==-4){c=X;return}else throw new RangeError(`Unrecognized record size: ${V}`);let q=a[X],ee,te,de=Z-_;if(L-Z<=r&&(te=g(l.pos-A,R))){let le=new Uint16Array(te.size-te.skip),pe=l.pos-te.size,Ae=le.length;for(;l.pos>pe;)Ae=O(te.start,le,Ae);ee=new rn(le,L-te.start,n),de=te.start-_}else{let le=l.pos-V;l.next();let pe=[],Ae=[],Ze=X>=o?X:-1,be=0,me=L;for(;l.pos>le;)Ze>=0&&l.id==Ze&&l.size>=0?(l.end<=me-r&&(p(pe,Ae,Z,be,l.end,me,Ze,z),be=pe.length,me=l.end),l.next()):M>2500?f(Z,le,pe,Ae):h(Z,le,pe,Ae,Ze,M+1);if(Ze>=0&&be>0&&be-1&&be>0){let Ei=d(q);ee=dc(q,pe,Ae,0,pe.length,0,L-Z,Ei,Ei)}else ee=m(q,pe,Ae,L-Z,z-L)}C.push(ee),$.push(de)}function f(_,A,C,$){let R=[],M=0,X=-1;for(;l.pos>A;){let{id:Z,start:L,end:V,size:z}=l;if(z>4)l.next();else{if(X>-1&&L=0;V-=3)Z[z++]=R[V],Z[z++]=R[V+1]-L,Z[z++]=R[V+2]-L,Z[z++]=z;C.push(new rn(Z,R[2]-L,n)),$.push(L-_)}}function d(_){return(A,C,$)=>{let R=0,M=A.length-1,X,Z;if(M>=0&&(X=A[M])instanceof ie){if(!M&&X.type==_&&X.length==$)return X;(Z=X.prop(G.lookAhead))&&(R=C[M]+X.length+Z)}return m(_,A,C,$,R)}}function p(_,A,C,$,R,M,X,Z){let L=[],V=[];for(;_.length>$;)L.push(_.pop()),V.push(A.pop()+C-R);_.push(m(n.types[X],L,V,M-R,Z-M)),A.push(R-C)}function m(_,A,C,$,R=0,M){if(u){let X=[G.contextHash,u];M=M?[X].concat(M):[X]}if(R>25){let X=[G.lookAhead,R];M=M?[X].concat(M):[X]}return new ie(_,A,C,$,M)}function g(_,A){let C=l.fork(),$=0,R=0,M=0,X=C.end-r,Z={size:0,start:0,skip:0};e:for(let L=C.pos-_;C.pos>L;){let V=C.size;if(C.id==A&&V>=0){Z.size=$,Z.start=R,Z.skip=M,M+=4,$+=4,C.next();continue}let z=C.pos-V;if(V<0||z=o?4:0,ee=C.start;for(C.next();C.pos>z;){if(C.size<0)if(C.size==-3)q+=4;else break e;else C.id>=o&&(q+=4);C.next()}R=ee,$+=V,M+=q}return(A<0||$==_)&&(Z.size=$,Z.start=R,Z.skip=M),Z.size>4?Z:void 0}function O(_,A,C){let{id:$,start:R,end:M,size:X}=l;if(l.next(),X>=0&&$4){let L=l.pos-(X-4);for(;l.pos>L;)C=O(_,A,C)}A[--C]=Z,A[--C]=M-_,A[--C]=R-_,A[--C]=$}else X==-3?u=$:X==-4&&(c=$);return C}let y=[],v=[];for(;l.pos>0;)h(t.start||0,t.bufferStart||0,y,v,-1,0);let S=(e=t.length)!==null&&e!==void 0?e:y.length?v[0]+y[0].length:0;return new ie(a[t.topID],y.reverse(),v.reverse(),S)}const Bf=new WeakMap;function Do(t,e){if(!t.isAnonymous||e instanceof rn||e.type!=t)return 1;let i=Bf.get(e);if(i==null){i=1;for(let n of e.children){if(n.type!=t||!(n instanceof ie)){i=1;break}i+=Do(t,n)}Bf.set(e,i)}return i}function dc(t,e,i,n,r,s,o,l,a){let u=0;for(let p=n;p=c)break;A+=C}if(v==S+1){if(A>c){let C=p[S];d(C.children,C.positions,0,C.children.length,m[S]+y);continue}h.push(p[S])}else{let C=m[v-1]+p[v-1].length-_;h.push(dc(t,p,m,S,v,_,C,null,a))}f.push(_+y-s)}}return d(e,i,n,r,0),(l||a)(h,f,o)}class Rm{constructor(){this.map=new WeakMap}setBuffer(e,i,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(i,n)}getBuffer(e,i){let n=this.map.get(e);return n&&n.get(i)}set(e,i){e instanceof fi?this.setBuffer(e.context.buffer,e.index,i):e instanceof rt&&this.map.set(e.tree,i)}get(e){return e instanceof fi?this.getBuffer(e.context.buffer,e.index):e instanceof rt?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class $i{constructor(e,i,n,r,s=!1,o=!1){this.from=e,this.to=i,this.tree=n,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,i=[],n=!1){let r=[new $i(0,e.length,e,0,!1,n)];for(let s of i)s.to>e.length&&r.push(s);return r}static applyChanges(e,i,n=128){if(!i.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let l=0,a=0,u=0;;l++){let c=l=n)for(;o&&o.from=f.from||h<=f.to||u){let d=Math.max(f.from,a)-u,p=Math.min(f.to,h)-u;f=d>=p?null:new $i(d,p,f.tree,f.offset+u,l>0,!!c)}if(f&&r.push(f),o.to>h)break;o=snew Tt(r.from,r.to)):[new Tt(0,0)]:[new Tt(0,e.length)],this.createParse(e,i||[],n)}parse(e,i,n){let r=this.startParse(e,i,n);for(;;){let s=r.advance();if(s)return s}}}class rk{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,i){return this.string.slice(e,i)}}function Im(t){return(e,i,n,r)=>new ok(e,t,i,n,r)}class qf{constructor(e,i,n,r,s){this.parser=e,this.parse=i,this.overlay=n,this.target=r,this.from=s}}function Yf(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class sk{constructor(e,i,n,r,s,o,l){this.parser=e,this.predicate=i,this.mounts=n,this.index=r,this.start=s,this.target=o,this.prev=l,this.depth=0,this.ranges=[]}}const bu=new G({perNode:!0});class ok{constructor(e,i,n,r,s){this.nest=i,this.input=n,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new ie(n.type,n.children,n.positions,n.length,n.propValues.concat([[bu,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],i=e.parse.advance();if(i){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[G.mounted.id]=new ss(i,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let i=this.innerDone;i=this.stoppedAt)l=!1;else if(e.hasNode(r)){if(i){let u=i.mounts.find(c=>c.frag.from<=r.from&&c.frag.to>=r.to&&c.mount.overlay);if(u)for(let c of u.mount.overlay){let h=c.from+u.pos,f=c.to+u.pos;h>=r.from&&f<=r.to&&!i.ranges.some(d=>d.fromh)&&i.ranges.push({from:h,to:f})}}l=!1}else if(n&&(o=lk(n.ranges,r.from,r.to)))l=o!=2;else if(!r.type.isAnonymous&&(s=this.nest(r,this.input))&&(r.fromnew Tt(h.from-r.from,h.to-r.from)):null,r.tree,c.length?c[0].from:r.from)),s.overlay?c.length&&(n={ranges:c,depth:0,prev:n}):l=!1}}else i&&(a=i.predicate(r))&&(a===!0&&(a=new Tt(r.from,r.to)),a.fromnew Tt(c.from-i.start,c.to-i.start)),i.target,u[0].from))),i=i.prev}n&&!--n.depth&&(n=n.prev)}}}}function lk(t,e,i){for(let n of t){if(n.from>=i)break;if(n.to>e)return n.from<=e&&n.to>=i?2:1}return 0}function Nf(t,e,i,n,r,s){if(e=e&&i.enter(n,1,ye.IgnoreOverlays|ye.ExcludeBuffers)||i.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let i=this.cursor.tree;;){if(i==e.tree)return!0;if(i.children.length&&i.positions[0]==0&&i.children[0]instanceof ie)i=i.children[0];else break}return!1}}let uk=class{constructor(e){var i;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(i=n.tree.prop(bu))!==null&&i!==void 0?i:n.to,this.inner=new Uf(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let i=this.curFrag=this.fragments[this.fragI];this.curTo=(e=i.tree.prop(bu))!==null&&e!==void 0?e:i.to,this.inner=new Uf(i.tree,-i.offset)}}findMounts(e,i){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let o=(n=s.tree)===null||n===void 0?void 0:n.prop(G.mounted);if(o&&o.parser==i)for(let l=this.fragI;l=s.to)break;a.tree==this.curFrag.tree&&r.push({frag:a,pos:s.from-a.offset,mount:o})}}}return r}};function Gf(t,e){let i=null,n=e;for(let r=1,s=0;r=l)break;a.to<=o||(i||(n=i=e.slice()),a.froml&&i.splice(s+1,0,new Tt(l,a.to))):a.to>l?i[s--]=new Tt(l,a.to):i.splice(s--,1))}}return n}function ck(t,e,i,n){let r=0,s=0,o=!1,l=!1,a=-1e9,u=[];for(;;){let c=r==t.length?1e9:o?t[r].to:t[r].from,h=s==e.length?1e9:l?e[s].to:e[s].from;if(o!=l){let f=Math.max(a,i),d=Math.min(c,h,n);fnew Tt(f.from+n,f.to+n)),h=ck(e,c,a,u);for(let f=0,d=a;;f++){let p=f==h.length,m=p?u:h[f].from;if(m>d&&i.push(new $i(d,m,r.tree,-o,s.from>=d||s.openStart,s.to<=m||s.openEnd)),p)break;d=h[f].to}}else i.push(new $i(a,u,r.tree,-o,s.from>=o||s.openStart,s.to<=l||s.openEnd))}return i}let hk=0;class Gt{constructor(e,i,n){this.set=e,this.base=i,this.modified=n,this.id=hk++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let i=new Gt([],null,[]);if(i.set.push(i),e)for(let n of e.set)i.set.push(n);return i}static defineModifier(){let e=new el;return i=>i.modified.indexOf(e)>-1?i:el.get(i.base||i,i.modified.concat(e).sort((n,r)=>n.id-r.id))}}let fk=0;class el{constructor(){this.instances=[],this.id=fk++}static get(e,i){if(!i.length)return e;let n=i[0].instances.find(l=>l.base==e&&dk(i,l.modified));if(n)return n;let r=[],s=new Gt(r,e,i);for(let l of i)l.instances.push(s);let o=pk(i);for(let l of e.set)if(!l.modified.length)for(let a of o)r.push(el.get(l,a));return s}}function dk(t,e){return t.length==e.length&&t.every((i,n)=>i==e[n])}function pk(t){let e=[[]];for(let i=0;in.length-i.length)}function gr(t){let e=Object.create(null);for(let i in t){let n=t[i];Array.isArray(n)||(n=[n]);for(let r of i.split(" "))if(r){let s=[],o=2,l=r;for(let h=0;;){if(l=="..."&&h>0&&h+3==r.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!f)throw new RangeError("Invalid path: "+r);if(s.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),h+=f[0].length,h==r.length)break;let d=r[h++];if(h==r.length&&d=="!"){o=0;break}if(d!="/")throw new RangeError("Invalid path: "+r);l=r.slice(h)}let a=s.length-1,u=s[a];if(!u)throw new RangeError("Invalid path: "+r);let c=new tl(n,o,a>0?s.slice(0,a):null);e[u]=c.sort(e[u])}}return Lm.add(e)}const Lm=new G;class tl{constructor(e,i,n,r){this.tags=e,this.mode=i,this.context=n,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=r;for(let l of s)for(let a of l.set){let u=i[a.id];if(u){o=o?o+" "+u:u;break}}return o},scope:n}}function mk(t,e){let i=null;for(let n of t){let r=n.style(e);r&&(i=i?i+" "+r:r)}return i}function Ok(t,e,i,n=0,r=t.length){let s=new gk(n,Array.isArray(e)?e:[e],i);s.highlightRange(t.cursor(),n,r,"",s.highlighters),s.flush(r)}class gk{constructor(e,i,n){this.at=e,this.highlighters=i,this.span=n,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,n,r,s){let{type:o,from:l,to:a}=e;if(l>=n||a<=i)return;o.isTop&&(s=this.highlighters.filter(d=>!d.scope||d.scope(o)));let u=r,c=bk(e)||tl.empty,h=mk(s,c.tags);if(h&&(u&&(u+=" "),u+=h,c.mode==1&&(r+=(r?" ":"")+h)),this.startSpan(Math.max(i,l),u),c.opaque)return;let f=e.tree&&e.tree.prop(G.mounted);if(f&&f.overlay){let d=e.node.enter(f.overlay[0].from+l,1),p=this.highlighters.filter(g=>!g.scope||g.scope(f.tree.type)),m=e.firstChild();for(let g=0,O=l;;g++){let y=g=v||!e.nextSibling())););if(!y||v>n)break;O=y.to+l,O>i&&(this.highlightRange(d.cursor(),Math.max(i,y.from+l),Math.min(n,O),"",p),this.startSpan(Math.min(n,O),u))}m&&e.parent()}else if(e.firstChild()){f&&(r="");do if(!(e.to<=i)){if(e.from>=n)break;this.highlightRange(e,i,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}function bk(t){let e=t.type.prop(Lm);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const W=Gt.define,lo=W(),Mi=W(),Kf=W(Mi),Jf=W(Mi),Wi=W(),ao=W(Wi),ia=W(Wi),oi=W(),un=W(oi),ri=W(),si=W(),yu=W(),Cr=W(yu),uo=W(),b={comment:lo,lineComment:W(lo),blockComment:W(lo),docComment:W(lo),name:Mi,variableName:W(Mi),typeName:Kf,tagName:W(Kf),propertyName:Jf,attributeName:W(Jf),className:W(Mi),labelName:W(Mi),namespace:W(Mi),macroName:W(Mi),literal:Wi,string:ao,docString:W(ao),character:W(ao),attributeValue:W(ao),number:ia,integer:W(ia),float:W(ia),bool:W(Wi),regexp:W(Wi),escape:W(Wi),color:W(Wi),url:W(Wi),keyword:ri,self:W(ri),null:W(ri),atom:W(ri),unit:W(ri),modifier:W(ri),operatorKeyword:W(ri),controlKeyword:W(ri),definitionKeyword:W(ri),moduleKeyword:W(ri),operator:si,derefOperator:W(si),arithmeticOperator:W(si),logicOperator:W(si),bitwiseOperator:W(si),compareOperator:W(si),updateOperator:W(si),definitionOperator:W(si),typeOperator:W(si),controlOperator:W(si),punctuation:yu,separator:W(yu),bracket:Cr,angleBracket:W(Cr),squareBracket:W(Cr),paren:W(Cr),brace:W(Cr),content:oi,heading:un,heading1:W(un),heading2:W(un),heading3:W(un),heading4:W(un),heading5:W(un),heading6:W(un),contentSeparator:W(oi),list:W(oi),quote:W(oi),emphasis:W(oi),strong:W(oi),link:W(oi),monospace:W(oi),strikethrough:W(oi),inserted:W(),deleted:W(),changed:W(),invalid:W(),meta:uo,documentMeta:W(uo),annotation:W(uo),processingInstruction:W(uo),definition:Gt.defineModifier(),constant:Gt.defineModifier(),function:Gt.defineModifier(),standard:Gt.defineModifier(),local:Gt.defineModifier(),special:Gt.defineModifier()};Xm([{tag:b.link,class:"tok-link"},{tag:b.heading,class:"tok-heading"},{tag:b.emphasis,class:"tok-emphasis"},{tag:b.strong,class:"tok-strong"},{tag:b.keyword,class:"tok-keyword"},{tag:b.atom,class:"tok-atom"},{tag:b.bool,class:"tok-bool"},{tag:b.url,class:"tok-url"},{tag:b.labelName,class:"tok-labelName"},{tag:b.inserted,class:"tok-inserted"},{tag:b.deleted,class:"tok-deleted"},{tag:b.literal,class:"tok-literal"},{tag:b.string,class:"tok-string"},{tag:b.number,class:"tok-number"},{tag:[b.regexp,b.escape,b.special(b.string)],class:"tok-string2"},{tag:b.variableName,class:"tok-variableName"},{tag:b.local(b.variableName),class:"tok-variableName tok-local"},{tag:b.definition(b.variableName),class:"tok-variableName tok-definition"},{tag:b.special(b.variableName),class:"tok-variableName2"},{tag:b.definition(b.propertyName),class:"tok-propertyName tok-definition"},{tag:b.typeName,class:"tok-typeName"},{tag:b.namespace,class:"tok-namespace"},{tag:b.className,class:"tok-className"},{tag:b.macroName,class:"tok-macroName"},{tag:b.propertyName,class:"tok-propertyName"},{tag:b.operator,class:"tok-operator"},{tag:b.comment,class:"tok-comment"},{tag:b.meta,class:"tok-meta"},{tag:b.invalid,class:"tok-invalid"},{tag:b.punctuation,class:"tok-punctuation"}]);var na;const Ui=new G;function Zl(t){return N.define({combine:t?e=>e.concat(t):void 0})}const pc=new G;class Pt{constructor(e,i,n=[],r=""){this.data=e,this.name=r,oe.prototype.hasOwnProperty("tree")||Object.defineProperty(oe.prototype,"tree",{get(){return Te(this)}}),this.parser=i,this.extension=[ar.of(this),oe.languageData.of((s,o,l)=>{let a=ed(s,o,l),u=a.type.prop(Ui);if(!u)return[];let c=s.facet(u),h=a.type.prop(pc);if(h){let f=a.resolve(o-a.from,l);for(let d of h)if(d.test(f,s)){let p=s.facet(d.facet);return d.type=="replace"?p:p.concat(c)}}return c})].concat(n)}isActiveAt(e,i,n=-1){return ed(e,i,n).type.prop(Ui)==this.data}findRegions(e){let i=e.facet(ar);if((i==null?void 0:i.data)==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let n=[],r=(s,o)=>{if(s.prop(Ui)==this.data){n.push({from:o,to:o+s.length});return}let l=s.prop(G.mounted);if(l){if(l.tree.prop(Ui)==this.data){if(l.overlay)for(let a of l.overlay)n.push({from:a.from+o,to:a.to+o});else n.push({from:o,to:o+s.length});return}else if(l.overlay){let a=n.length;if(r(l.tree,l.overlay[0].from+o),n.length>a)return}}for(let a=0;an.isTop?i:void 0)]}),e.name)}configure(e,i){return new or(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Te(t){let e=t.field(Pt.state,!1);return e?e.tree:ie.empty}class yk{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,i){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-n,i-n)}}let Qr=null;class wn{constructor(e,i,n=[],r,s,o,l,a){this.parser=e,this.state=i,this.fragments=n,this.tree=r,this.treeLen=s,this.viewport=o,this.skipped=l,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,i,n){return new wn(e,i,[],ie.empty,0,n,[],null)}startParse(){return this.parser.startParse(new yk(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=ie.empty&&this.isDone(i??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped($i.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=Qr;Qr=this;try{return e()}finally{Qr=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=td(e,i.from,i.to);return e}changes(e,i){let{fragments:n,tree:r,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((u,c,h,f)=>a.push({fromA:u,toA:c,fromB:h,toB:f})),n=$i.applyChanges(n,a),r=ie.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){l=[];for(let u of this.skipped){let c=e.mapPos(u.from,1),h=e.mapPos(u.to,-1);ce.from&&(this.fragments=td(this.fragments,r,s),this.skipped.splice(n--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends El{createParse(i,n,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let a=Qr;if(a){for(let u of r)a.tempSkipped.push(u);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new ie(Me.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return Qr}}function td(t,e,i){return $i.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}class lr{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,n)||i.takeTree(),new lr(i)}static init(e){let i=Math.min(3e3,e.doc.length),n=wn.create(e.facet(ar).parser,e,{from:0,to:i});return n.work(20,i)||n.takeTree(),new lr(n)}}Pt.state=Xt.define({create:lr.init,update(t,e){for(let i of e.effects)if(i.is(Pt.setState))return i.value;return e.startState.facet(ar)!=e.state.facet(ar)?lr.init(e.state):t.apply(e)}});let Mm=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(Mm=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});const ra=typeof navigator<"u"&&(!((na=navigator.scheduling)===null||na===void 0)&&na.isInputPending)?()=>navigator.scheduling.isInputPending():null,xk=It.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let i=this.view.state.field(Pt.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(Pt.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=Mm(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEndr+1e3,a=s.context.work(()=>ra&&ra()||Date.now()>o,r+(l?0:1e5));this.chunkBudget-=Date.now()-i,(a||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Pt.setState.of(new lr(s.context))})),this.chunkBudget>0&&!(a&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(i=>At(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),ar=N.define({combine(t){return t.length?t[0]:null},enables:t=>[Pt.state,xk,j.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]});class ur{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}}class P{constructor(e,i,n,r,s,o=void 0){this.name=e,this.alias=i,this.extensions=n,this.filename=r,this.loadFunc=s,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:i,support:n}=e;if(!i){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");i=()=>Promise.resolve(n)}return new P(e.name,(e.alias||[]).concat(e.name).map(r=>r.toLowerCase()),e.extensions||[],e.filename,i,n)}static matchFilename(e,i){for(let r of e)if(r.filename&&r.filename.test(i))return r;let n=/\.([^.]+)$/.exec(i);if(n){for(let r of e)if(r.extensions.indexOf(n[1])>-1)return r}return null}static matchLanguageName(e,i,n=!0){i=i.toLowerCase();for(let r of e)if(r.alias.some(s=>s==i))return r;if(n)for(let r of e)for(let s of r.alias){let o=i.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(i[o-1])&&!/\w/.test(i[o+s.length])))return r}return null}}const Wm=N.define(),br=N.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function _n(t){let e=t.facet(br);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function il(t,e){let i="",n=t.tabSize,r=t.facet(br)[0];if(r==" "){for(;e>=n;)i+=" ",e-=n;r=" "}for(let s=0;s=e?kk(t,i,e):null}class Dl{constructor(e,i={}){this.state=e,this.options=i,this.unit=_n(e)}lineAt(e,i=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:s}=this.options;return r!=null&&r>=n.from&&r<=n.to?s&&r==e?{text:"",from:e}:(i<0?r-1&&(s+=o-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,i=e.length){return Pi(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:n,from:r}=this.lineAt(e,i),s=this.options.overrideIndentation;if(s){let o=s(r);if(o>-1)return o}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const Ts=new G;function kk(t,e,i){let n=e.resolveStack(i),r=n.node.enterUnfinishedNodesBefore(i);if(r!=n.node){let s=[];for(let o=r;o!=n.node;o=o.parent)s.push(o);for(let o=s.length-1;o>=0;o--)n={node:s[o],next:n}}return Fm(n,t,i)}function Fm(t,e,i){for(let n=t;n;n=n.next){let r=Sk(n.node);if(r)return r(mc.create(e,i,n))}return 0}function vk(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function Sk(t){let e=t.type.prop(Ts);if(e)return e;let i=t.firstChild,n;if(i&&(n=i.type.prop(G.closedBy))){let r=t.lastChild,s=r&&n.indexOf(r.name)>-1;return o=>zm(o,!0,1,void 0,s&&!vk(o)?r.from:void 0)}return t.parent==null?wk:null}function wk(){return 0}class mc extends Dl{constructor(e,i,n){super(e.state,e.options),this.base=e,this.pos=i,this.context=n}get node(){return this.context.node}static create(e,i,n){return new mc(e,i,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(i.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(_k(n,e))break;i=this.state.doc.lineAt(n.from)}return this.lineIndent(i.from)}continue(){return Fm(this.context.next,this.base,this.pos)}}function _k(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function $k(t){let e=t.node,i=e.childAfter(e.from),n=e.lastChild;if(!i)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(i.from),o=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let l=i.to;;){let a=e.childAfter(l);if(!a||a==n)return null;if(!a.type.isSkipped)return a.fromzm(n,e,i,t)}function zm(t,e,i,n,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,l=n&&s.slice(o,o+n.length)==n||r==t.pos+o,a=e?$k(t):null;return a?l?t.column(a.from):t.column(a.to):t.baseIndent+(l?0:t.unit*i)}const Ck=t=>t.baseIndent;function Ro({except:t,units:e=1}={}){return i=>{let n=t&&t.test(i.textAfter);return i.baseIndent+(n?0:e*i.unit)}}const Qk=N.define(),Es=new G;function jm(t){let e=t.firstChild,i=t.lastChild;return e&&e.tol.prop(Ui)==o.data:o?l=>l==o:void 0,this.style=Xm(e.map(l=>({tag:l.tag,class:l.class||r(Object.assign({},l,{tag:null}))})),{all:s}).style,this.module=n?new en(n):null,this.themeType=i.themeType}static define(e,i){return new yr(e,i||{})}}const xu=N.define(),Ak=N.define({combine(t){return t.length?[t[0]]:null}});function sa(t){let e=t.facet(xu);return e.length?e:t.facet(Ak)}function Bm(t,e){let i=[Ek],n;return t instanceof yr&&(t.module&&i.push(j.styleModule.of(t.module)),n=t.themeType),n?i.push(xu.computeN([j.darkTheme],r=>r.facet(j.darkTheme)==(n=="dark")?[t]:[])):i.push(xu.of(t)),i}class Tk{constructor(e){this.markCache=Object.create(null),this.tree=Te(e.state),this.decorations=this.buildDeco(e,sa(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=Te(e.state),n=sa(e.state),r=n!=sa(e.startState),{viewport:s}=e.view,o=e.changes.mapPos(this.decoratedTo,1);i.length=s.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(i!=this.tree||e.viewportChanged||r)&&(this.tree=i,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=s.to)}buildDeco(e,i){if(!i||!this.tree.length)return he.none;let n=new ir;for(let{from:r,to:s}of e.visibleRanges)Ok(this.tree,i,(o,l,a)=>{n.add(o,l,this.markCache[a]||(this.markCache[a]=he.mark({class:a})))},r,s);return n.finish()}}const Ek=on.high(It.fromClass(Tk,{decorations:t=>t.decorations}));b.meta,b.link,b.heading,b.emphasis,b.strong,b.strikethrough,b.keyword,b.atom,b.bool,b.url,b.contentSeparator,b.labelName,b.literal,b.inserted,b.string,b.deleted,b.regexp,b.escape,b.string,b.variableName,b.variableName,b.typeName,b.namespace,b.className,b.variableName,b.macroName,b.propertyName,b.comment,b.invalid;const Zk=1e4,Dk="()[]{}",qm=new G;function ku(t,e,i){let n=t.prop(e<0?G.openedBy:G.closedBy);if(n)return n;if(t.name.length==1){let r=i.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[i[r+e]]}return null}function vu(t){let e=t.type.prop(qm);return e?e(t.node):t}function Mn(t,e,i,n={}){let r=n.maxScanDistance||Zk,s=n.brackets||Dk,o=Te(t),l=o.resolveInner(e,i);for(let a=l;a;a=a.parent){let u=ku(a.type,i,s);if(u&&a.from0?e>=c.from&&ec.from&&e<=c.to))return Rk(t,e,i,a,c,u,s)}}return Ik(t,e,i,o,l.type,r,s)}function Rk(t,e,i,n,r,s,o){let l=n.parent,a={from:r.from,to:r.to},u=0,c=l==null?void 0:l.cursor();if(c&&(i<0?c.childBefore(n.from):c.childAfter(n.to)))do if(i<0?c.to<=n.from:c.from>=n.to){if(u==0&&s.indexOf(c.type.name)>-1&&c.from0)return null;let u={from:i<0?e-1:e,to:i>0?e+1:e},c=t.doc.iterRange(e,i>0?t.doc.length:0),h=0;for(let f=0;!c.next().done&&f<=s;){let d=c.value;i<0&&(f+=d.length);let p=e+f*i;for(let m=i>0?0:d.length-1,g=i>0?d.length:-1;m!=g;m+=i){let O=o.indexOf(d[m]);if(!(O<0||n.resolveInner(p+m,1).type!=r))if(O%2==0==i>0)h++;else{if(h==1)return{start:u,end:{from:p+m,to:p+m+1},matched:O>>1==a>>1};h--}}i>0&&(f+=d.length)}return c.done?{start:u,matched:!1}:null}function id(t,e,i,n=0,r=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let s=r;for(let o=n;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posi}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let i=this.string.indexOf(e,this.pos);if(i>-1)return this.pos=i,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?o.toLowerCase():o,s=this.string.substr(this.pos,e.length);return r(s)==r(e)?(i!==!1&&(this.pos+=e.length),!0):null}else{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&i!==!1&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function Lk(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||Xk,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||bc}}function Xk(t){if(typeof t!="object")return t;let e={};for(let i in t){let n=t[i];e[i]=n instanceof Array?n.slice():n}return e}const nd=new WeakMap;class Oc extends Pt{constructor(e){let i=Zl(e.languageData),n=Lk(e),r,s=new class extends El{createParse(o,l,a){return new Wk(r,o,l,a)}};super(i,s,[Wm.of((o,l)=>this.getIndent(o,l))],e.name),this.topNode=zk(i),r=this,this.streamParser=n,this.stateAfter=new G({perNode:!0}),this.tokenTable=e.tokenTable?new Hm(n.tokenTable):Fk}static define(e){return new Oc(e)}getIndent(e,i){let n=Te(e.state),r=n.resolve(i);for(;r&&r.type!=this.topNode;)r=r.parent;if(!r)return null;let s,{overrideIndentation:o}=e.options;o&&(s=nd.get(e.state),s!=null&&s1e4)return null;for(;a=n&&i+e.length<=r&&e.prop(t.stateAfter);if(s)return{state:t.streamParser.copyState(s),pos:i+e.length};for(let o=e.children.length-1;o>=0;o--){let l=e.children[o],a=i+e.positions[o],u=l instanceof ie&&a=e.length)return e;!r&&e.type==t.topNode&&(r=!0);for(let s=e.children.length-1;s>=0;s--){let o=e.positions[s],l=e.children[s],a;if(oi&&gc(t,r.tree,0-r.offset,i,o),a;if(l&&(a=Nm(t,r.tree,i+r.offset,l.pos+r.offset,!1)))return{state:l.state,tree:a}}return{state:t.streamParser.startState(n?_n(n):4),tree:ie.empty}}let Wk=class{constructor(e,i,n,r){this.lang=e,this.input=i,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let s=wn.get(),o=r[0].from,{state:l,tree:a}=Mk(e,n,o,s==null?void 0:s.state);this.state=l,this.parsedPos=this.chunkStart=o+a.length;for(let u=0;u=i?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,i),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let i=this.input.chunk(e);if(this.input.lineChunks)i==` +const __vite__fileDeps=["./index-RKW8DBPc.js","./index-6QRvoxq4.js","./index-matkXqi_.css","./index-DlQMm9C_.js","./index-D5dkoBo_.js","./index-Bd4myPrr.js","./index-B0KIvOZu.js","./index-Dqh7E9u3.js","./index-DwPJRGZ5.js","./index-Bnpp2PsS.js","./index-cHk2eZex.js","./index-BYOhJwby.js","./index-BdhdXhTT.js","./index-V-U6qRSP.js","./index-J6vOXMm5.js","./index-BFk93msl.js","./dockerfile-BuNIbK2j.js","./simple-mode-C4Nsj8zu.js","./factor-D8pE9siL.js","./nsis-CEAdamBV.js","./pug-BmUsPMDj.js","./javascript-iSgyE4tI.js","./index-8uUs3y5b.js","./index-CJbdo3UB.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]); +var gb=Object.defineProperty;var bb=(t,e,i)=>e in t?gb(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var Ce=(t,e,i)=>(bb(t,typeof e!="symbol"?e+"":e,i),i),ql=(t,e,i)=>{if(!e.has(t))throw TypeError("Cannot "+i)};var x=(t,e,i)=>(ql(t,e,"read from private field"),i?i.call(t):e.get(t)),K=(t,e,i)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,i)},U=(t,e,i,n)=>(ql(t,e,"write to private field"),n?n.call(t,i):e.set(t,i),i);var Bs=(t,e,i,n)=>({set _(r){U(t,e,r,i)},get _(){return x(t,e,n)}}),Y=(t,e,i)=>(ql(t,e,"access private method"),i);import{d as Ee,W as ne,b as w,m as mt,r as $e,X as J,a as De,Y as _s,Z as Ma,$ as yn,n as _t,E as Oi,a0 as yb,a1 as xb,a2 as Q,a3 as sp,a4 as xi,F as $l,a5 as Bi,a6 as kb}from"./index-6QRvoxq4.js";const vb=t=>{const e=typeof t;return e!=="function"&&e!=="object"||t===null},Sb=t=>{const e=t.flags===""?void 0:t.flags;return new RegExp(t.source,e)},Rr=(t,e=new WeakMap)=>{if(t===null||vb(t))return t;if(e.has(t))return e.get(t);if(t instanceof RegExp)return Sb(t);if(t instanceof Date)return new Date(t.getTime());if(t instanceof Function)return t;if(t instanceof Map){const n=new Map;return e.set(t,n),t.forEach((r,s)=>{n.set(s,Rr(r,e))}),n}if(t instanceof Set){const n=new Set;e.set(t,n);for(const r of t)n.add(Rr(r,e));return n}if(Array.isArray(t)){const n=[];return e.set(t,n),t.forEach(r=>{n.push(Rr(r,e))}),n}const i={};e.set(t,i);for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(i[n]=Rr(t[n],e));return i},ec=(t,e=200)=>{let i=0;return(...n)=>new Promise(r=>{i&&(clearTimeout(i),r("cancel")),i=window.setTimeout(()=>{t.apply(void 0,n),i=0,r("done")},e)})},wb=(t,e={_blank:!0,nofollow:!0})=>{const i=document.createElement("a");i.href=t,e._blank&&(i.target="_blank"),e.nofollow&&(i.rel="noopener noreferrer"),i.click()},_b=()=>{let t=-1;return(e,i,n,r=100)=>{const s=()=>{n&&(typeof r=="number"?setTimeout(n,r):n())};t!==-1&&(cancelAnimationFrame(t),s());let o=e.scrollTop;const l=()=>{t=-1;const a=i-o;o=o+a/5,Math.abs(a)<1?(e.scrollTo(0,i),s()):(e.scrollTo(0,o),t=requestAnimationFrame(l))};t=requestAnimationFrame(l)}},op=(t,e=200)=>{let i=0,n=null;const r=s=>{i===0&&(i=s),s-i>=e?(t.apply(void 0,n),n=null,i=0):window.requestAnimationFrame(r)};return(...s)=>{n===null&&window.requestAnimationFrame(r),n=s}},$b=t=>{const e=i=>{const{scrollHeight:n,scrollWidth:r,offsetHeight:s,offsetWidth:o,scrollLeft:l,scrollTop:a}=t,u=i.x,c=i.y,h=d=>{const p=a+c-d.y,m=l+u-d.x,g=n-s,O=r-o,y={};m>=0&&m<=O&&(y.left=m),p>=0&&p<=g&&(y.top=p),t.scroll(y)};document.addEventListener("mousemove",h);const f=()=>{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",e),()=>{t.removeEventListener("mousedown",e)}},Wa=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,Xh=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),lp=(t,e)=>{for(const i in e)Xh(e[i])&&Xh(t[i])?t[i]=lp(t[i],e[i]):t[i]=e[i];return t},k="md-editor",Pb="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.js",Cb="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.css",Se="https://cdnjs.cloudflare.com/ajax/libs",Qb=`${Se}/highlight.js/11.8.0/highlight.min.js`,Mh={main:`${Se}/prettier/2.8.0/standalone.js`,markdown:`${Se}/prettier/2.8.0/parser-markdown.js`},Ab={css:`${Se}/cropperjs/1.5.13/cropper.min.css`,js:`${Se}/cropperjs/1.5.13/cropper.min.js`},Tb=`${Se}/screenfull.js/5.2.0/screenfull.min.js`,ap=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],up=["markdownTotal","=","scrollSwitch"],Wh={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},Eb=`${Se}/mermaid/10.6.1/mermaid.esm.min.mjs`,Zb={js:`${Se}/KaTeX/0.16.9/katex.min.js`,css:`${Se}/KaTeX/0.16.9/katex.min.css`},Va={a11y:{light:`${Se}/highlight.js/11.8.0/styles/a11y-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/a11y-dark.min.css`},atom:{light:`${Se}/highlight.js/11.8.0/styles/atom-one-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/atom-one-dark.min.css`},github:{light:`${Se}/highlight.js/11.8.0/styles/github.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/github-dark.min.css`},gradient:{light:`${Se}/highlight.js/11.8.0/styles/gradient-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/gradient-dark.min.css`},kimbie:{light:`${Se}/highlight.js/11.8.0/styles/kimbie-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/kimbie-dark.min.css`},paraiso:{light:`${Se}/highlight.js/11.8.0/styles/paraiso-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${Se}/highlight.js/11.8.0/styles/qtcreator-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${Se}/highlight.js/11.8.0/styles/stackoverflow-light.min.css`,dark:`${Se}/highlight.js/11.8.0/styles/stackoverflow-dark.min.css`}},ze={editorExtensions:{highlight:{js:Qb,css:Va},prettier:{standaloneJs:Mh.main,parserMarkdownJs:Mh.markdown},cropper:{...Ab},iconfont:Pb,iconfontClass:Cb,screenfull:{js:Tb},mermaid:{js:Eb},katex:{...Zb}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(t,e)=>e,markdownItConfig:()=>{},markdownItPlugins:t=>t,iconfontType:"svg",mermaidConfig:t=>t},qs=170,Zt=({instance:t,ctx:e,props:i={}},n="default")=>{const r=(t==null?void 0:t.$slots[n])||(e==null?void 0:e.slots[n]);return(r?r(t):"")||i[n]},Db={overlay:{type:[String,Object],default:""},visible:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}},relative:{type:String,default:"html"}},In=Ee({props:Db,setup(t,e){const i=`${k}-dropdown-hidden`,n=mt({overlayClass:[i],overlayStyle:{},triggerHover:!1,overlayHover:!1}),r=$e(),s=$e(),o=()=>{var c,h;n.triggerHover=!0;const f=r.value,d=s.value;if(!f||!d)return;const p=f.getBoundingClientRect(),m=f.offsetTop,g=f.offsetLeft,O=p.height,y=p.width,v=((c=document.querySelector(t.relative))==null?void 0:c.scrollLeft)||0,S=((h=document.querySelector(t.relative))==null?void 0:h.clientWidth)||0;let _=g-d.offsetWidth/2+y/2-v;_+d.offsetWidth>v+S&&(_=v+S-d.offsetWidth),_<0&&(_=0),n.overlayStyle={...n.overlayStyle,top:m+O+"px",left:_+"px"},t.onChange(!0)},l=()=>{n.overlayHover=!0};J(()=>t.visible,c=>{c?n.overlayClass=n.overlayClass.filter(h=>h!==i):n.overlayClass.push(i)});let a=-1;const u=c=>{r.value===c.target?n.triggerHover=!1:n.overlayHover=!1,clearTimeout(a),a=window.setTimeout(()=>{!n.overlayHover&&!n.triggerHover&&t.onChange(!1)},10)};return De(()=>{r.value.addEventListener("mouseenter",o),r.value.addEventListener("mouseleave",u),s.value.addEventListener("mouseenter",l),s.value.addEventListener("mouseleave",u)}),_s(()=>{r.value.removeEventListener("mouseenter",o),r.value.removeEventListener("mouseleave",u),s.value.removeEventListener("mouseenter",l),s.value.removeEventListener("mouseleave",u)}),()=>{const c=Zt({ctx:e}),h=Zt({props:t,ctx:e},"overlay"),f=Ma(c instanceof Array?c[0]:c,{ref:r,key:"cloned-dropdown-trigger"}),d=w("div",{class:[`${k}-dropdown`,n.overlayClass],style:n.overlayStyle,ref:s},[w("div",{class:`${k}-dropdown-overlay`},[h instanceof Array?h[0]:h])]);return[f,d]}}}),Rb={title:{type:String,default:""},visible:{type:Boolean},trigger:{type:[String,Object]},onChange:{type:Function},overlay:{type:[String,Object]},insert:{type:Function},language:{type:String},theme:{type:String},previewTheme:{type:String},default:{type:[String,Object]}},$o=Ee({name:"DropdownToolbar",props:Rb,emits:["onChange"],setup(t,e){const i=ne("editorId");return()=>{const n=Zt({props:t,ctx:e},"trigger"),r=Zt({props:t,ctx:e},"overlay"),s=Zt({props:t,ctx:e});return w(In,{relative:`#${i}-toolbar-wrapper`,visible:t.visible,onChange:o=>{t.onChange instanceof Function?t.onChange(o):e.emit("onChange",o)},overlay:r},{default:()=>[w("div",{class:`${k}-toolbar-item`,title:t.title||""},[n,s])]})}}});$o.install=t=>(t.component($o.name,$o),t);var Ib=Object.defineProperty,Lb=(t,e,i)=>e in t?Ib(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Xb=(t,e,i)=>(Lb(t,e+"",i),i);class Mb{constructor(){Xb(this,"pools",{})}remove(e,i,n){const s=this.pools[e]&&this.pools[e][i];s&&(this.pools[e][i]=s.filter(o=>o!==n))}clear(e){this.pools[e]={}}on(e,i){return this.pools[e]||(this.pools[e]={}),this.pools[e][i.name]||(this.pools[e][i.name]=[]),this.pools[e][i.name].push(i.callback),this.pools[e][i.name].includes(i.callback)}emit(e,i,...n){this.pools[e]||(this.pools[e]={});const s=this.pools[e][i];s&&s.forEach(o=>{try{o(...n)}catch(l){console.error(`${i} monitor event exception!`,l)}})}}const I=new Mb,Pl="onSave",tc="changeCatalogVisible",cp="changeFullscreen",Vh="pageFullscreenChanged",Fh="fullscreenChanged",zh="previewChanged",jh="previewOnlyChanged",Bh="htmlPreviewChanged",qh="catalogVisibleChanged",Po="buildFinished",$n="errorCatcher",fe="replace",Cl="uploadImage",Fa="openModals",hp="ctrlZ",fp="ctrlShiftZ",Co="catalogChanged",dp="pushCatalog",ic="rerender",pp="eventListener",Yh=(t,e)=>{const i=n=>{const r=t.parentElement||document.body,s=r.offsetWidth,o=r.offsetHeight,{clientWidth:l}=document.documentElement,{clientHeight:a}=document.documentElement,u=n.offsetX,c=n.offsetY,h=d=>{let p=d.x+document.body.scrollLeft-document.body.clientLeft-u,m=d.y+document.body.scrollTop-document.body.clientTop-c;p=p<1?1:p{document.removeEventListener("mousemove",h),document.removeEventListener("mouseup",f)};document.addEventListener("mouseup",f)};return t.addEventListener("mousedown",i),()=>{t.removeEventListener("mousedown",i)}},dt=(t,e,i="")=>{var n;const r=document.getElementById(e.id);if(r)i!==""&&(Reflect.get(window,i)?(n=e.onload)==null||n.call(r,new Event("load")):e.onload&&r.addEventListener("load",e.onload));else{const s={...e};s.onload=null;const o=Vb(t,s);e.onload&&o.addEventListener("load",e.onload),document.head.appendChild(o)}},Wb=(t,e)=>{const i=document.getElementById(e.id);i==null||i.remove(),dt(t,e)},Vb=(t,e)=>{const i=document.createElement(t);return Object.keys(e).forEach(n=>{e[n]!==void 0&&(i[n]=e[n])}),i},Fb=(t,e="image.png")=>{const i=t.split(","),n=i[0].match(/:(.*?);/);if(n){const r=n[1],s=atob(i[1]);let o=s.length;const l=new Uint8Array(o);for(;o--;)l[o]=s.charCodeAt(o);return new File([l],e,{type:r})}return null},zb=t=>{if(!t)return t;const e=t.split(` +`),i=['"),`${t}${i.join("")}`},jb=(t,e)=>{if(!t||!e)return 0;const i=t==null?void 0:t.getBoundingClientRect();if(e===document.documentElement)return i.top-e.clientTop;const n=e==null?void 0:e.getBoundingClientRect();return i.top-n.top},Bb=(()=>{let t=0;return e=>e+ ++t})(),Nh=(()=>{let t=0;return()=>++t})(),qb=Ee({props:{name:{type:String,default:""}},setup(t){return()=>w("svg",{class:`${k}-icon`,"aria-hidden":"true"},[w("use",{"xlink:href":`#${k}-icon-${t.name}`},null)])}}),re=Ee({props:{name:{type:String,default:""}},setup(t){const e=ne("customIcon");return()=>{const i=e.value[t.name];return typeof i=="object"?typeof i.component=="object"?xb(i.component,i.props):w("span",{innerHTML:i.component},null):w(qb,{name:t.name},null)}}}),Yb={title:{type:String,default:""},visible:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:"auto"},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function,default:()=>{}},class:{type:String},style:{type:Object,default:()=>({})}},Vn=Ee({name:"MdModal",props:Yb,emits:["onClose"],setup(t,e){const i=ne("theme"),n=$e(t.visible),r=$e([`${k}-modal`]),s=$e(),o=$e(),l=$e(),a=yn();let u=()=>{};const c=mt({maskStyle:{zIndex:-1},modalStyle:{zIndex:-1},initPos:{left:"0px",top:"0px"},historyPos:{left:"0px",top:"0px"}}),h=_t(()=>t.isFullscreen?{width:"100%",height:"100%"}:{width:t.width,height:t.height});return J(()=>t.isFullscreen,f=>{f?u():Oi(()=>{u=Yh(o.value,(d,p)=>{c.initPos.left=d+"px",c.initPos.top=p+"px"})})}),J(()=>t.visible,f=>{f?(c.maskStyle.zIndex=ze.editorConfig.zIndex+Nh(),c.modalStyle.zIndex=ze.editorConfig.zIndex+Nh(),r.value.push("zoom-in"),n.value=f,Oi(()=>{const d=s.value.offsetWidth/2,p=s.value.offsetHeight/2,m=document.documentElement.clientWidth/2,g=document.documentElement.clientHeight/2;c.initPos.left=m-d+"px",c.initPos.top=g-p+"px",t.isFullscreen||(u=Yh(o.value,(O,y)=>{c.initPos.left=O+"px",c.initPos.top=y+"px"}))}),setTimeout(()=>{r.value=r.value.filter(d=>d!=="zoom-in")},140)):(r.value.push("zoom-out"),u(),setTimeout(()=>{r.value=r.value.filter(d=>d!=="zoom-out"),n.value=f},130))}),De(()=>{l.value=document.body}),()=>{const f=Zt({ctx:e}),d=Zt({props:t,ctx:e},"title");return l.value?w(yb,{to:l.value},{default:()=>[w("div",{ref:a,class:`${k}-modal-container`,"data-theme":i.value},[w("div",{class:t.class,style:{...t.style,display:n.value?"block":"none"}},[w("div",{class:`${k}-modal-mask`,style:c.maskStyle,onClick:()=>{t.onClose?t.onClose():e.emit("onClose")}},null),w("div",{class:r.value,style:{...c.modalStyle,...c.initPos,...h.value},ref:s},[w("div",{class:`${k}-modal-header`,ref:o},[d||""]),w("div",{class:`${k}-modal-body`},[f]),w("div",{class:`${k}-modal-func`},[t.showAdjust&&w("div",{class:`${k}-modal-adjust`,onClick:p=>{p.stopPropagation(),t.isFullscreen?c.initPos=c.historyPos:(c.historyPos=c.initPos,c.initPos={left:"0",top:"0"}),t.onAdjust(!t.isFullscreen)}},[w(re,{name:t.isFullscreen?"suoxiao":"fangda"},null)]),w("div",{class:`${k}-modal-close`,onClick:p=>{p.stopPropagation(),t.onClose?t.onClose():e.emit("onClose")}},[w(re,{name:"close"},null)])])])])])]}):""}}});Vn.install=t=>(t.component(Vn.name,Vn),t);let za=[],mp=[];(()=>{let t="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(e=>e?parseInt(e,36):1);for(let e=0,i=0;e>1;if(t=mp[n])e=n+1;else return!0;if(e==i)return!1}}function Uh(t){return t>=127462&&t<=127487}const Gh=8205;function Ub(t,e,i=!0,n=!0){return(i?Op:Gb)(t,e,n)}function Op(t,e,i){if(e==t.length)return e;e&&gp(t.charCodeAt(e))&&bp(t.charCodeAt(e-1))&&e--;let n=Yl(t,e);for(e+=Hh(n);e=0&&Uh(Yl(t,o));)s++,o-=2;if(s%2==0)break;e+=2}else break}return e}function Gb(t,e,i){for(;e>0;){let n=Op(t,e-2,i);if(n=56320&&t<57344}function bp(t){return t>=55296&&t<56320}function Hh(t){return t<65536?1:2}class ue{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,i,n){[e,i]=er(this,e,i);let r=[];return this.decompose(0,e,r,2),n.length&&n.decompose(0,n.length,r,3),this.decompose(i,this.length,r,1),ai.from(r,this.length-(i-e)+n.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,i=this.length){[e,i]=er(this,e,i);let n=[];return this.decompose(e,i,n,0),ai.from(n,i-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let i=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new jr(this),s=new jr(e);for(let o=i,l=i;;){if(r.next(o),s.next(o),o=0,r.lineBreak!=s.lineBreak||r.done!=s.done||r.value!=s.value)return!1;if(l+=r.value.length,r.done||l>=n)return!0}}iter(e=1){return new jr(this,e)}iterRange(e,i=this.length){return new yp(this,e,i)}iterLines(e,i){let n;if(e==null)n=this.iter();else{i==null&&(i=this.lines+1);let r=this.line(e).from;n=this.iterRange(r,Math.max(r,i==this.lines+1?this.length:i<=1?0:this.line(i-1).to))}return new xp(n)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?ue.empty:e.length<=32?new Re(e):ai.from(Re.split(e,[]))}}class Re extends ue{constructor(e,i=Hb(e)){super(),this.text=e,this.length=i}get lines(){return this.text.length}get children(){return null}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.text[s],l=r+o.length;if((i?n:l)>=e)return new Kb(r,l,n,o);r=l+1,n++}}decompose(e,i,n,r){let s=e<=0&&i>=this.length?this:new Re(Kh(this.text,e,i),Math.min(i,this.length)-Math.max(0,e));if(r&1){let o=n.pop(),l=Qo(s.text,o.text.slice(),0,s.length);if(l.length<=32)n.push(new Re(l,o.length+s.length));else{let a=l.length>>1;n.push(new Re(l.slice(0,a)),new Re(l.slice(a)))}}else n.push(s)}replace(e,i,n){if(!(n instanceof Re))return super.replace(e,i,n);[e,i]=er(this,e,i);let r=Qo(this.text,Qo(n.text,Kh(this.text,0,e)),i),s=this.length+n.length-(i-e);return r.length<=32?new Re(r,s):ai.from(Re.split(r,[]),s)}sliceString(e,i=this.length,n=` +`){[e,i]=er(this,e,i);let r="";for(let s=0,o=0;s<=i&&oe&&o&&(r+=n),es&&(r+=l.slice(Math.max(0,e-s),i-s)),s=a+1}return r}flatten(e){for(let i of this.text)e.push(i)}scanIdentical(){return 0}static split(e,i){let n=[],r=-1;for(let s of e)n.push(s),r+=s.length+1,n.length==32&&(i.push(new Re(n,r)),n=[],r=-1);return r>-1&&i.push(new Re(n,r)),i}}class ai extends ue{constructor(e,i){super(),this.children=e,this.length=i,this.lines=0;for(let n of e)this.lines+=n.lines}lineInner(e,i,n,r){for(let s=0;;s++){let o=this.children[s],l=r+o.length,a=n+o.lines-1;if((i?a:l)>=e)return o.lineInner(e,i,n,r);r=l+1,n=a+1}}decompose(e,i,n,r){for(let s=0,o=0;o<=i&&s=o){let u=r&((o<=e?1:0)|(a>=i?2:0));o>=e&&a<=i&&!u?n.push(l):l.decompose(e-o,i-o,n,u)}o=a+1}}replace(e,i,n){if([e,i]=er(this,e,i),n.lines=s&&i<=l){let a=o.replace(e-s,i-s,n),u=this.lines-o.lines+a.lines;if(a.lines>4&&a.lines>u>>6){let c=this.children.slice();return c[r]=a,new ai(c,this.length-(i-e)+n.length)}return super.replace(s,l,a)}s=l+1}return super.replace(e,i,n)}sliceString(e,i=this.length,n=` +`){[e,i]=er(this,e,i);let r="";for(let s=0,o=0;se&&s&&(r+=n),eo&&(r+=l.sliceString(e-o,i-o,n)),o=a+1}return r}flatten(e){for(let i of this.children)i.flatten(e)}scanIdentical(e,i){if(!(e instanceof ai))return 0;let n=0,[r,s,o,l]=i>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;r+=i,s+=i){if(r==o||s==l)return n;let a=this.children[r],u=e.children[s];if(a!=u)return n+a.scanIdentical(u,i);n+=a.length+1}}static from(e,i=e.reduce((n,r)=>n+r.length+1,-1)){let n=0;for(let d of e)n+=d.lines;if(n<32){let d=[];for(let p of e)p.flatten(d);return new Re(d,i)}let r=Math.max(32,n>>5),s=r<<1,o=r>>1,l=[],a=0,u=-1,c=[];function h(d){let p;if(d.lines>s&&d instanceof ai)for(let m of d.children)h(m);else d.lines>o&&(a>o||!a)?(f(),l.push(d)):d instanceof Re&&a&&(p=c[c.length-1])instanceof Re&&d.lines+p.lines<=32?(a+=d.lines,u+=d.length+1,c[c.length-1]=new Re(p.text.concat(d.text),p.length+1+d.length)):(a+d.lines>r&&f(),a+=d.lines,u+=d.length+1,c.push(d))}function f(){a!=0&&(l.push(c.length==1?c[0]:ai.from(c,u)),u=-1,a=c.length=0)}for(let d of e)h(d);return f(),l.length==1?l[0]:new ai(l,i)}}ue.empty=new Re([""],0);function Hb(t){let e=-1;for(let i of t)e+=i.length+1;return e}function Qo(t,e,i=0,n=1e9){for(let r=0,s=0,o=!0;s=i&&(a>n&&(l=l.slice(0,n-r)),r0?1:(e instanceof Re?e.text.length:e.children.length)<<1]}nextInner(e,i){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,r=this.nodes[n],s=this.offsets[n],o=s>>1,l=r instanceof Re?r.text.length:r.children.length;if(o==(i>0?l:0)){if(n==0)return this.done=!0,this.value="",this;i>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(i>0?0:1)){if(this.offsets[n]+=i,e==0)return this.lineBreak=!0,this.value=` +`,this;e--}else if(r instanceof Re){let a=r.text[o+(i<0?-1:0)];if(this.offsets[n]+=i,a.length>Math.max(0,e))return this.value=e==0?a:i>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=r.children[o+(i<0?-1:0)];e>a.length?(e-=a.length,this.offsets[n]+=i):(i<0&&this.offsets[n]--,this.nodes.push(a),this.offsets.push(i>0?1:(a instanceof Re?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class yp{constructor(e,i,n){this.value="",this.done=!1,this.cursor=new jr(e,i>n?-1:1),this.pos=i>n?e.length:0,this.from=Math.min(i,n),this.to=Math.max(i,n)}nextInner(e,i){if(i<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,i<0?this.pos-this.to:this.from-this.pos);let n=i<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e;let{value:r}=this.cursor.next(e);return this.pos+=(r.length+e)*i,this.value=r.length<=n?r:i<0?r.slice(r.length-n):r.slice(0,n),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class xp{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:i,lineBreak:n,value:r}=this.inner.next(e);return i&&this.afterBreak?(this.value="",this.afterBreak=!1):i?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(ue.prototype[Symbol.iterator]=function(){return this.iter()},jr.prototype[Symbol.iterator]=yp.prototype[Symbol.iterator]=xp.prototype[Symbol.iterator]=function(){return this});let Kb=class{constructor(e,i,n,r){this.from=e,this.to=i,this.number=n,this.text=r}get length(){return this.to-this.from}};function er(t,e,i){return e=Math.max(0,Math.min(t.length,e)),[e,Math.max(e,Math.min(t.length,i))]}function He(t,e,i=!0,n=!0){return Ub(t,e,i,n)}function Jb(t){return t>=56320&&t<57344}function ey(t){return t>=55296&&t<56320}function Li(t,e){let i=t.charCodeAt(e);if(!ey(i)||e+1==t.length)return i;let n=t.charCodeAt(e+1);return Jb(n)?(i-55296<<10)+(n-56320)+65536:i}function kp(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}function hn(t){return t<65536?1:2}const ja=/\r\n?|\n/;var at=function(t){return t[t.Simple=0]="Simple",t[t.TrackDel=1]="TrackDel",t[t.TrackBefore=2]="TrackBefore",t[t.TrackAfter=3]="TrackAfter",t}(at||(at={}));class mi{constructor(e){this.sections=e}get length(){let e=0;for(let i=0;ie)return s+(e-r);s+=l}else{if(n!=at.Simple&&u>=e&&(n==at.TrackDel&&re||n==at.TrackBefore&&re))return null;if(u>e||u==e&&i<0&&!l)return e==r||i<0?s:s+a;s+=a}r=u}if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`);return s}touchesRange(e,i=e){for(let n=0,r=0;n=0&&r<=i&&l>=e)return ri?"cover":!0;r=l}return!1}toString(){let e="";for(let i=0;i=0?":"+r:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(i=>typeof i!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new mi(e)}static create(e){return new mi(e)}}class Fe extends mi{constructor(e,i){super(e),this.inserted=i}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return Ba(this,(i,n,r,s,o)=>e=e.replace(r,r+(n-i),o),!1),e}mapDesc(e,i=!1){return qa(this,e,i,!0)}invert(e){let i=this.sections.slice(),n=[];for(let r=0,s=0;r=0){i[r]=l,i[r+1]=o;let a=r>>1;for(;n.length0&&qi(n,i,s.text),s.forward(c),l+=c}let u=e[o++];for(;l>1].toJSON()))}return e}static of(e,i,n){let r=[],s=[],o=0,l=null;function a(c=!1){if(!c&&!r.length)return;of||h<0||f>i)throw new RangeError(`Invalid change range ${h} to ${f} (in doc of length ${i})`);let p=d?typeof d=="string"?ue.of(d.split(n||ja)):d:ue.empty,m=p.length;if(h==f&&m==0)return;ho&&it(r,h-o,-1),it(r,f-h,m),qi(s,r,p),o=f}}return u(e),a(!l),l}static empty(e){return new Fe(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let i=[],n=[];for(let r=0;rl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)i.push(s[0],0);else{for(;n.length=0&&i<=0&&i==t[r+1]?t[r]+=e:r>=0&&e==0&&t[r]==0?t[r+1]+=i:n?(t[r]+=e,t[r+1]+=i):t.push(e,i)}function qi(t,e,i){if(i.length==0)return;let n=e.length-2>>1;if(n>1])),!(i||o==t.sections.length||t.sections[o+1]<0);)l=t.sections[o++],a=t.sections[o++];e(r,u,s,c,h),r=u,s=c}}}function qa(t,e,i,n=!1){let r=[],s=n?[]:null,o=new Jr(t),l=new Jr(e);for(let a=-1;;){if(o.done&&l.len||l.done&&o.len)throw new Error("Mismatched change set lengths");if(o.ins==-1&&l.ins==-1){let u=Math.min(o.len,l.len);it(r,u,-1),o.forward(u),l.forward(u)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let u=0,c=o.len;for(;c;)if(l.ins==-1){let h=Math.min(c,l.len);u+=h,c-=h,l.forward(h)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||n.length>u),s.forward2(a),o.forward(a)}}}}class Jr{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return i>=e.length?ue.empty:e[i]}textBit(e){let{inserted:i}=this.set,n=this.i-2>>1;return n>=i.length&&!e?ue.empty:i[n].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class pn{constructor(e,i,n){this.from=e,this.to=i,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,i=-1){let n,r;return this.empty?n=r=e.mapPos(this.from,i):(n=e.mapPos(this.from,1),r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new pn(n,r,this.flags)}extend(e,i=e){if(e<=this.anchor&&i>=this.anchor)return T.range(e,i);let n=Math.abs(e-this.anchor)>Math.abs(i-this.anchor)?e:i;return T.range(this.anchor,n)}eq(e,i=!1){return this.anchor==e.anchor&&this.head==e.head&&(!i||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return T.range(e.anchor,e.head)}static create(e,i,n){return new pn(e,i,n)}}class T{constructor(e,i){this.ranges=e,this.mainIndex=i}map(e,i=-1){return e.empty?this:T.create(this.ranges.map(n=>n.map(e,i)),this.mainIndex)}eq(e,i=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let n=0;ne.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new T(e.ranges.map(i=>pn.fromJSON(i)),e.main)}static single(e,i=e){return new T([T.range(e,i)],0)}static create(e,i=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,r=0;re?8:0)|s)}static normalized(e,i=0){let n=e[i];e.sort((r,s)=>r.from-s.from),i=e.indexOf(n);for(let r=1;rs.head?T.range(a,l):T.range(l,a))}}return new T(e,i)}}function Sp(t,e){for(let i of t.ranges)if(i.to>e)throw new RangeError("Selection points outside of document")}let nc=0;class N{constructor(e,i,n,r,s){this.combine=e,this.compareInput=i,this.compare=n,this.isStatic=r,this.id=nc++,this.default=e([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(e={}){return new N(e.combine||(i=>i),e.compareInput||((i,n)=>i===n),e.compare||(e.combine?(i,n)=>i===n:rc),!!e.static,e.enables)}of(e){return new Ao([],this,0,e)}compute(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ao(e,this,1,i)}computeN(e,i){if(this.isStatic)throw new Error("Can't compute a static facet");return new Ao(e,this,2,i)}from(e,i){return i||(i=n=>n),this.compute([e],n=>i(n.field(e)))}}function rc(t,e){return t==e||t.length==e.length&&t.every((i,n)=>i===e[n])}class Ao{constructor(e,i,n,r){this.dependencies=e,this.facet=i,this.type=n,this.value=r,this.id=nc++}dynamicSlot(e){var i;let n=this.value,r=this.facet.compareInput,s=this.id,o=e[s]>>1,l=this.type==2,a=!1,u=!1,c=[];for(let h of this.dependencies)h=="doc"?a=!0:h=="selection"?u=!0:((i=e[h.id])!==null&&i!==void 0?i:1)&1||c.push(e[h.id]);return{create(h){return h.values[o]=n(h),1},update(h,f){if(a&&f.docChanged||u&&(f.docChanged||f.selection)||Ya(h,c)){let d=n(h);if(l?!Jh(d,h.values[o],r):!r(d,h.values[o]))return h.values[o]=d,1}return 0},reconfigure:(h,f)=>{let d,p=f.config.address[s];if(p!=null){let m=Yo(f,p);if(this.dependencies.every(g=>g instanceof N?f.facet(g)===h.facet(g):g instanceof Xt?f.field(g,!1)==h.field(g,!1):!0)||(l?Jh(d=n(h),m,r):r(d=n(h),m)))return h.values[o]=m,0}else d=n(h);return h.values[o]=d,1}}}}function Jh(t,e,i){if(t.length!=e.length)return!1;for(let n=0;nt[a.id]),r=i.map(a=>a.type),s=n.filter(a=>!(a&1)),o=t[e.id]>>1;function l(a){let u=[];for(let c=0;cn===r),e);return e.provide&&(i.provides=e.provide(i)),i}create(e){let i=e.facet(Ys).find(n=>n.field==this);return((i==null?void 0:i.create)||this.createF)(e)}slot(e){let i=e[this.id]>>1;return{create:n=>(n.values[i]=this.create(n),1),update:(n,r)=>{let s=n.values[i],o=this.updateF(s,r);return this.compareF(s,o)?0:(n.values[i]=o,1)},reconfigure:(n,r)=>{let s=n.facet(Ys),o=r.facet(Ys),l;return(l=s.find(a=>a.field==this))&&l!=o.find(a=>a.field==this)?(n.values[i]=l.create(n),1):r.config.address[this.id]!=null?(n.values[i]=r.field(this),0):(n.values[i]=this.create(n),1)}}}init(e){return[this,Ys.of({field:this,create:e})]}get extension(){return this}}const fn={lowest:4,low:3,default:2,high:1,highest:0};function wr(t){return e=>new wp(e,t)}const sn={highest:wr(fn.highest),high:wr(fn.high),default:wr(fn.default),low:wr(fn.low),lowest:wr(fn.lowest)};class wp{constructor(e,i){this.inner=e,this.prec=i}}class ui{of(e){return new Na(this,e)}reconfigure(e){return ui.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class Na{constructor(e,i){this.compartment=e,this.inner=i}}class qo{constructor(e,i,n,r,s,o){for(this.base=e,this.compartments=i,this.dynamicSlots=n,this.address=r,this.staticValues=s,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,i,n){let r=[],s=Object.create(null),o=new Map;for(let f of iy(e,i,o))f instanceof Xt?r.push(f):(s[f.facet.id]||(s[f.facet.id]=[])).push(f);let l=Object.create(null),a=[],u=[];for(let f of r)l[f.id]=u.length<<1,u.push(d=>f.slot(d));let c=n==null?void 0:n.config.facets;for(let f in s){let d=s[f],p=d[0].facet,m=c&&c[f]||[];if(d.every(g=>g.type==0))if(l[p.id]=a.length<<1|1,rc(m,d))a.push(n.facet(p));else{let g=p.combine(d.map(O=>O.value));a.push(n&&p.compare(g,n.facet(p))?n.facet(p):g)}else{for(let g of d)g.type==0?(l[g.id]=a.length<<1|1,a.push(g.value)):(l[g.id]=u.length<<1,u.push(O=>g.dynamicSlot(O)));l[p.id]=u.length<<1,u.push(g=>ty(g,p,d))}}let h=u.map(f=>f(l));return new qo(e,o,h,l,a,s)}}function iy(t,e,i){let n=[[],[],[],[],[]],r=new Map;function s(o,l){let a=r.get(o);if(a!=null){if(a<=l)return;let u=n[a].indexOf(o);u>-1&&n[a].splice(u,1),o instanceof Na&&i.delete(o.compartment)}if(r.set(o,l),Array.isArray(o))for(let u of o)s(u,l);else if(o instanceof Na){if(i.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let u=e.get(o.compartment)||o.inner;i.set(o.compartment,u),s(u,l)}else if(o instanceof wp)s(o.inner,o.prec);else if(o instanceof Xt)n[l].push(o),o.provides&&s(o.provides,l);else if(o instanceof Ao)n[l].push(o),o.facet.extensions&&s(o.facet.extensions,fn.default);else{let u=o.extension;if(!u)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(u,l)}}return s(t,fn.default),n.reduce((o,l)=>o.concat(l))}function Br(t,e){if(e&1)return 2;let i=e>>1,n=t.status[i];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;t.status[i]=4;let r=t.computeSlot(t,t.config.dynamicSlots[i]);return t.status[i]=2|r}function Yo(t,e){return e&1?t.config.staticValues[e>>1]:t.values[e>>1]}const _p=N.define(),Ua=N.define({combine:t=>t.some(e=>e),static:!0}),$p=N.define({combine:t=>t.length?t[0]:void 0,static:!0}),Pp=N.define(),Cp=N.define(),Qp=N.define(),Ap=N.define({combine:t=>t.length?t[0]:!1});class Qi{constructor(e,i){this.type=e,this.value=i}static define(){return new ny}}class ny{of(e){return new Qi(this,e)}}class ry{constructor(e){this.map=e}of(e){return new ce(this,e)}}class ce{constructor(e,i){this.type=e,this.value=i}map(e){let i=this.type.map(this.value,e);return i===void 0?void 0:i==this.value?this:new ce(this.type,i)}is(e){return this.type==e}static define(e={}){return new ry(e.map||(i=>i))}static mapEffects(e,i){if(!e.length)return e;let n=[];for(let r of e){let s=r.map(i);s&&n.push(s)}return n}}ce.reconfigure=ce.define();ce.appendConfig=ce.define();class Le{constructor(e,i,n,r,s,o){this.startState=e,this.changes=i,this.selection=n,this.effects=r,this.annotations=s,this.scrollIntoView=o,this._doc=null,this._state=null,n&&Sp(n,i.newLength),s.some(l=>l.type==Le.time)||(this.annotations=s.concat(Le.time.of(Date.now())))}static create(e,i,n,r,s,o){return new Le(e,i,n,r,s,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let i of this.annotations)if(i.type==e)return i.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let i=this.annotation(Le.userEvent);return!!(i&&(i==e||i.length>e.length&&i.slice(0,e.length)==e&&i[e.length]=="."))}}Le.time=Qi.define();Le.userEvent=Qi.define();Le.addToHistory=Qi.define();Le.remote=Qi.define();function sy(t,e){let i=[];for(let n=0,r=0;;){let s,o;if(n=t[n]))s=t[n++],o=t[n++];else if(r=0;r--){let s=n[r](t);s instanceof Le?t=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Le?t=s[0]:t=Ep(e,Fn(s),!1)}return t}function ly(t){let e=t.startState,i=e.facet(Qp),n=t;for(let r=i.length-1;r>=0;r--){let s=i[r](t);s&&Object.keys(s).length&&(n=Tp(n,Ga(e,s,t.changes.newLength),!0))}return n==t?t:Le.create(e,t.changes,t.selection,n.effects,n.annotations,n.scrollIntoView)}const ay=[];function Fn(t){return t==null?ay:Array.isArray(t)?t:[t]}var Ke=function(t){return t[t.Word=0]="Word",t[t.Space=1]="Space",t[t.Other=2]="Other",t}(Ke||(Ke={}));const uy=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let Ha;try{Ha=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function cy(t){if(Ha)return Ha.test(t);for(let e=0;e"€"&&(i.toUpperCase()!=i.toLowerCase()||uy.test(i)))return!0}return!1}function hy(t){return e=>{if(!/\S/.test(e))return Ke.Space;if(cy(e))return Ke.Word;for(let i=0;i-1)return Ke.Word;return Ke.Other}}class oe{constructor(e,i,n,r,s,o){this.config=e,this.doc=i,this.selection=n,this.values=r,this.status=e.statusTemplate.slice(),this.computeSlot=s,o&&(o._state=this);for(let l=0;lr.set(u,a)),i=null),r.set(l.value.compartment,l.value.extension)):l.is(ce.reconfigure)?(i=null,n=l.value):l.is(ce.appendConfig)&&(i=null,n=Fn(n).concat(l.value));let s;i?s=e.startState.values.slice():(i=qo.resolve(n,r,this),s=new oe(i,this.doc,this.selection,i.dynamicSlots.map(()=>null),(a,u)=>u.reconfigure(a,this),null).values);let o=e.startState.facet(Ua)?e.newSelection:e.newSelection.asSingle();new oe(i,e.newDoc,o,s,(l,a)=>a.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(i=>({changes:{from:i.from,to:i.to,insert:e},range:T.cursor(i.from+e.length)}))}changeByRange(e){let i=this.selection,n=e(i.ranges[0]),r=this.changes(n.changes),s=[n.range],o=Fn(n.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return oe.create({doc:e.doc,selection:T.fromJSON(e.selection),extensions:i.extensions?r.concat([i.extensions]):r})}static create(e={}){let i=qo.resolve(e.extensions||[],new Map),n=e.doc instanceof ue?e.doc:ue.of((e.doc||"").split(i.staticFacet(oe.lineSeparator)||ja)),r=e.selection?e.selection instanceof T?e.selection:T.single(e.selection.anchor,e.selection.head):T.single(0);return Sp(r,n.length),i.staticFacet(Ua)||(r=r.asSingle()),new oe(i,n,r,i.dynamicSlots.map(()=>null),(s,o)=>o.create(s),null)}get tabSize(){return this.facet(oe.tabSize)}get lineBreak(){return this.facet(oe.lineSeparator)||` +`}get readOnly(){return this.facet(Ap)}phrase(e,...i){for(let n of this.facet(oe.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){e=n[e];break}return i.length&&(e=e.replace(/\$(\$|\d*)/g,(n,r)=>{if(r=="$")return"$";let s=+(r||1);return!s||s>i.length?n:i[s-1]})),e}languageDataAt(e,i,n=-1){let r=[];for(let s of this.facet(_p))for(let o of s(this,i,n))Object.prototype.hasOwnProperty.call(o,e)&&r.push(o[e]);return r}charCategorizer(e){return hy(this.languageDataAt("wordChars",e).join(""))}wordAt(e){let{text:i,from:n,length:r}=this.doc.lineAt(e),s=this.charCategorizer(e),o=e-n,l=e-n;for(;o>0;){let a=He(i,o,!1);if(s(i.slice(a,o))!=Ke.Word)break;o=a}for(;lt.length?t[0]:4});oe.lineSeparator=$p;oe.readOnly=Ap;oe.phrases=N.define({compare(t,e){let i=Object.keys(t),n=Object.keys(e);return i.length==n.length&&i.every(r=>t[r]==e[r])}});oe.languageData=_p;oe.changeFilter=Pp;oe.transactionFilter=Cp;oe.transactionExtender=Qp;ui.reconfigure=ce.define();function sc(t,e,i={}){let n={};for(let r of t)for(let s of Object.keys(r)){let o=r[s],l=n[s];if(l===void 0)n[s]=o;else if(!(l===o||o===void 0))if(Object.hasOwnProperty.call(i,s))n[s]=i[s](l,o);else throw new Error("Config merge conflict for field "+s)}for(let r in e)n[r]===void 0&&(n[r]=e[r]);return n}class xn{eq(e){return this==e}range(e,i=e){return Ka.create(e,i,this)}}xn.prototype.startSide=xn.prototype.endSide=0;xn.prototype.point=!1;xn.prototype.mapMode=at.TrackDel;let Ka=class Zp{constructor(e,i,n){this.from=e,this.to=i,this.value=n}static create(e,i,n){return new Zp(e,i,n)}};function Ja(t,e){return t.from-e.from||t.value.startSide-e.value.startSide}class oc{constructor(e,i,n,r){this.from=e,this.to=i,this.value=n,this.maxPoint=r}get length(){return this.to[this.to.length-1]}findIndex(e,i,n,r=0){let s=n?this.to:this.from;for(let o=r,l=s.length;;){if(o==l)return o;let a=o+l>>1,u=s[a]-e||(n?this.value[a].endSide:this.value[a].startSide)-i;if(a==o)return u>=0?o:l;u>=0?l=a:o=a+1}}between(e,i,n,r){for(let s=this.findIndex(i,-1e9,!0),o=this.findIndex(n,1e9,!1,s);sd||f==d&&u.startSide>0&&u.endSide<=0)continue;(d-f||u.endSide-u.startSide)<0||(o<0&&(o=f),u.point&&(l=Math.max(l,d-f)),n.push(u),r.push(f-o),s.push(d-o))}return{mapped:n.length?new oc(r,s,n,l):null,pos:o}}}class _e{constructor(e,i,n,r){this.chunkPos=e,this.chunk=i,this.nextLayer=n,this.maxPoint=r}static create(e,i,n,r){return new _e(e,i,n,r)}get length(){let e=this.chunk.length-1;return e<0?0:Math.max(this.chunkEnd(e),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let e=this.nextLayer.size;for(let i of this.chunk)e+=i.value.length;return e}chunkEnd(e){return this.chunkPos[e]+this.chunk[e].length}update(e){let{add:i=[],sort:n=!1,filterFrom:r=0,filterTo:s=this.length}=e,o=e.filter;if(i.length==0&&!o)return this;if(n&&(i=i.slice().sort(Ja)),this.isEmpty)return i.length?_e.of(i):this;let l=new Dp(this,null,-1).goto(0),a=0,u=[],c=new tr;for(;l.value||a=0){let h=i[a++];c.addInner(h.from,h.to,h.value)||u.push(h)}else l.rangeIndex==1&&l.chunkIndexthis.chunkEnd(l.chunkIndex)||sl.to||s=s&&e<=s+o.length&&o.between(s,e-s,i-s,n)===!1)return}this.nextLayer.between(e,i,n)}}iter(e=0){return es.from([this]).goto(e)}get isEmpty(){return this.nextLayer==this}static iter(e,i=0){return es.from(e).goto(i)}static compare(e,i,n,r,s=-1){let o=e.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),l=i.filter(h=>h.maxPoint>0||!h.isEmpty&&h.maxPoint>=s),a=ef(o,l,n),u=new _r(o,a,s),c=new _r(l,a,s);n.iterGaps((h,f,d)=>tf(u,h,c,f,d,r)),n.empty&&n.length==0&&tf(u,0,c,0,0,r)}static eq(e,i,n=0,r){r==null&&(r=999999999);let s=e.filter(c=>!c.isEmpty&&i.indexOf(c)<0),o=i.filter(c=>!c.isEmpty&&e.indexOf(c)<0);if(s.length!=o.length)return!1;if(!s.length)return!0;let l=ef(s,o),a=new _r(s,l,0).goto(n),u=new _r(o,l,0).goto(n);for(;;){if(a.to!=u.to||!eu(a.active,u.active)||a.point&&(!u.point||!a.point.eq(u.point)))return!1;if(a.to>r)return!0;a.next(),u.next()}}static spans(e,i,n,r,s=-1){let o=new _r(e,null,s).goto(i),l=i,a=o.openStart;for(;;){let u=Math.min(o.to,n);if(o.point){let c=o.activeForPoint(o.to),h=o.pointFroml&&(r.span(l,u,o.active,a),a=o.openEnd(u));if(o.to>n)return a+(o.point&&o.to>n?1:0);l=o.to,o.next()}}static of(e,i=!1){let n=new tr;for(let r of e instanceof Ka?[e]:i?fy(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){if(!e.length)return _e.empty;let i=e[e.length-1];for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=_e.empty;r=r.nextLayer)i=new _e(r.chunkPos,r.chunk,i,Math.max(r.maxPoint,i.maxPoint));return i}}_e.empty=new _e([],[],null,-1);function fy(t){if(t.length>1)for(let e=t[0],i=1;i0)return t.slice().sort(Ja);e=n}return t}_e.empty.nextLayer=_e.empty;class tr{finishChunk(e){this.chunks.push(new oc(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(e,i,n){this.addInner(e,i,n)||(this.nextLayer||(this.nextLayer=new tr)).add(e,i,n)}addInner(e,i,n){let r=e-this.lastTo||n.startSide-this.last.endSide;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return r<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=e),this.from.push(e-this.chunkStart),this.to.push(i-this.chunkStart),this.last=n,this.lastFrom=e,this.lastTo=i,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,i-e)),!0)}addChunk(e,i){if((e-this.lastTo||i.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,i.maxPoint),this.chunks.push(i),this.chunkPos.push(e);let n=i.value.length-1;return this.last=i.value[n],this.lastFrom=i.from[n]+e,this.lastTo=i.to[n]+e,!0}finish(){return this.finishInner(_e.empty)}finishInner(e){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return e;let i=_e.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint);return this.from=null,i}}function ef(t,e,i){let n=new Map;for(let s of t)for(let o=0;o=this.minPoint)break}}setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&r.push(new Dp(o,i,n,s));return r.length==1?r[0]:new es(r)}get startSide(){return this.value?this.value.startSide:0}goto(e,i=-1e9){for(let n of this.heap)n.goto(e,i);for(let n=this.heap.length>>1;n>=0;n--)Nl(this.heap,n);return this.next(),this}forward(e,i){for(let n of this.heap)n.forward(e,i);for(let n=this.heap.length>>1;n>=0;n--)Nl(this.heap,n);(this.to-e||this.value.endSide-i)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let e=this.heap[0];this.from=e.from,this.to=e.to,this.value=e.value,this.rank=e.rank,e.value&&e.next(),Nl(this.heap,0)}}}function Nl(t,e){for(let i=t[e];;){let n=(e<<1)+1;if(n>=t.length)break;let r=t[n];if(n+1=0&&(r=t[n+1],n++),i.compare(r)<0)break;t[n]=i,t[e]=r,e=n}}class _r{constructor(e,i,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=es.from(e,i,n)}goto(e,i=-1e9){return this.cursor.goto(e,i),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=e,this.endSide=i,this.openStart=-1,this.next(),this}forward(e,i){for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-i)<0;)this.removeActive(this.minActive);this.cursor.forward(e,i)}removeActive(e){Ns(this.active,e),Ns(this.activeTo,e),Ns(this.activeRank,e),this.minActive=nf(this.active,this.activeTo)}addActive(e){let i=0,{value:n,to:r,rank:s}=this.cursor;for(;i0;)i++;Us(this.active,i,n),Us(this.activeTo,i,r),Us(this.activeRank,i,s),e&&Us(e,i,this.cursor.from),this.minActive=nf(this.active,this.activeTo)}next(){let e=this.to,i=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){if(this.activeTo[r]>e){this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}this.removeActive(r),n&&Ns(n,r)}else if(this.cursor.value)if(this.cursor.from>e){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(i&&this.cursor.to==this.to&&this.cursor.from=0&&n[r]=0&&!(this.activeRank[n]e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&i.push(this.active[n]);return i.reverse()}openEnd(e){let i=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)i++;return i}}function tf(t,e,i,n,r,s){t.goto(e),i.goto(n);let o=n+r,l=n,a=n-e;for(;;){let u=t.to+a-i.to,c=u||t.endSide-i.endSide,h=c<0?t.to+a:i.to,f=Math.min(h,o);if(t.point||i.point?t.point&&i.point&&(t.point==i.point||t.point.eq(i.point))&&eu(t.activeForPoint(t.to),i.activeForPoint(i.to))||s.comparePoint(l,f,t.point,i.point):f>l&&!eu(t.active,i.active)&&s.compareRange(l,f,t.active,i.active),h>o)break;(u||t.openEnd!=i.openEnd)&&s.boundChange&&s.boundChange(h),l=h,c<=0&&t.next(),c>=0&&i.next()}}function eu(t,e){if(t.length!=e.length)return!1;for(let i=0;i=e;n--)t[n+1]=t[n];t[e]=i}function nf(t,e){let i=-1,n=1e9;for(let r=0;r=e)return r;if(r==t.length)break;s+=t.charCodeAt(r)==9?i-s%i:1,r=He(t,r)}return n===!0?-1:t.length}const tu="ͼ",rf=typeof Symbol>"u"?"__"+tu:Symbol.for(tu),iu=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),sf=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Ji{constructor(e,i){this.rules=[];let{finish:n}=i||{};function r(o){return/^@/.test(o)?[o]:o.split(/,\s*/)}function s(o,l,a,u){let c=[],h=/^@(\w+)\b/.exec(o[0]),f=h&&h[1]=="keyframes";if(h&&l==null)return a.push(o[0]+";");for(let d in l){let p=l[d];if(/&/.test(d))s(d.split(/,\s*/).map(m=>o.map(g=>m.replace(/&/,g))).reduce((m,g)=>m.concat(g)),p,a);else if(p&&typeof p=="object"){if(!h)throw new RangeError("The value of a property ("+d+") should be a primitive value.");s(r(d),p,c,f)}else p!=null&&c.push(d.replace(/_.*/,"").replace(/[A-Z]/g,m=>"-"+m.toLowerCase())+": "+p+";")}(c.length||f)&&a.push((n&&!h&&!u?o.map(n):o).join(", ")+" {"+c.join(" ")+"}")}for(let o in e)s(r(o),e[o],this.rules)}getRules(){return this.rules.join(` +`)}static newName(){let e=sf[rf]||1;return sf[rf]=e+1,tu+e.toString(36)}static mount(e,i,n){let r=e[iu],s=n&&n.nonce;r?s&&r.setNonce(s):r=new py(e,s),r.mount(Array.isArray(i)?i:[i],e)}}let of=new Map;class py{constructor(e,i){let n=e.ownerDocument||e,r=n.defaultView;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let s=of.get(n);if(s)return e[iu]=s;this.sheet=new r.CSSStyleSheet,of.set(n,this)}else this.styleTag=n.createElement("style"),i&&this.styleTag.setAttribute("nonce",i);this.modules=[],e[iu]=this}mount(e,i){let n=this.sheet,r=0,s=0;for(let o=0;o-1&&(this.modules.splice(a,1),s--,a=-1),a==-1){if(this.modules.splice(s++,0,l),n)for(let u=0;u",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},my=typeof navigator<"u"&&/Mac/.test(navigator.platform),Oy=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Ue=0;Ue<10;Ue++)en[48+Ue]=en[96+Ue]=String(Ue);for(var Ue=1;Ue<=24;Ue++)en[Ue+111]="F"+Ue;for(var Ue=65;Ue<=90;Ue++)en[Ue]=String.fromCharCode(Ue+32),ts[Ue]=String.fromCharCode(Ue);for(var Ul in en)ts.hasOwnProperty(Ul)||(ts[Ul]=en[Ul]);function gy(t){var e=my&&t.metaKey&&t.shiftKey&&!t.ctrlKey&&!t.altKey||Oy&&t.shiftKey&&t.key&&t.key.length==1||t.key=="Unidentified",i=!e&&t.key||(t.shiftKey?ts:en)[t.keyCode]||t.key||"Unidentified";return i=="Esc"&&(i="Escape"),i=="Del"&&(i="Delete"),i=="Left"&&(i="ArrowLeft"),i=="Up"&&(i="ArrowUp"),i=="Right"&&(i="ArrowRight"),i=="Down"&&(i="ArrowDown"),i}function No(t){let e;return t.nodeType==11?e=t.getSelection?t:t.ownerDocument:e=t,e.getSelection()}function nu(t,e){return e?t==e||t.contains(e.nodeType!=1?e.parentNode:e):!1}function by(t){let e=t.activeElement;for(;e&&e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function To(t,e){if(!e.anchorNode)return!1;try{return nu(t,e.anchorNode)}catch{return!1}}function ir(t){return t.nodeType==3?kn(t,0,t.nodeValue.length).getClientRects():t.nodeType==1?t.getClientRects():[]}function qr(t,e,i,n){return i?lf(t,e,i,n,-1)||lf(t,e,i,n,1):!1}function is(t){for(var e=0;;e++)if(t=t.previousSibling,!t)return e}function lf(t,e,i,n,r){for(;;){if(t==i&&e==n)return!0;if(e==(r<0?0:$i(t))){if(t.nodeName=="DIV")return!1;let s=t.parentNode;if(!s||s.nodeType!=1)return!1;e=is(t)+(r<0?0:1),t=s}else if(t.nodeType==1){if(t=t.childNodes[e+(r<0?-1:0)],t.nodeType==1&&t.contentEditable=="false")return!1;e=r<0?$i(t):0}else return!1}}function $i(t){return t.nodeType==3?t.nodeValue.length:t.childNodes.length}function Ql(t,e){let i=e?t.left:t.right;return{left:i,right:i,top:t.top,bottom:t.bottom}}function yy(t){return{left:0,right:t.innerWidth,top:0,bottom:t.innerHeight}}function Rp(t,e){let i=e.width/t.offsetWidth,n=e.height/t.offsetHeight;return(i>.995&&i<1.005||!isFinite(i)||Math.abs(e.width-t.offsetWidth)<1)&&(i=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(e.height-t.offsetHeight)<1)&&(n=1),{scaleX:i,scaleY:n}}function xy(t,e,i,n,r,s,o,l){let a=t.ownerDocument,u=a.defaultView||window;for(let c=t,h=!1;c&&!h;)if(c.nodeType==1){let f,d=c==a.body,p=1,m=1;if(d)f=yy(u);else{if(/^(fixed|sticky)$/.test(getComputedStyle(c).position)&&(h=!0),c.scrollHeight<=c.clientHeight&&c.scrollWidth<=c.clientWidth){c=c.assignedSlot||c.parentNode;continue}let y=c.getBoundingClientRect();({scaleX:p,scaleY:m}=Rp(c,y)),f={left:y.left,right:y.left+c.clientWidth*p,top:y.top,bottom:y.top+c.clientHeight*m}}let g=0,O=0;if(r=="nearest")e.top0&&e.bottom>f.bottom+O&&(O=e.bottom-f.bottom+O+o)):e.bottom>f.bottom&&(O=e.bottom-f.bottom+o,i<0&&e.top-O0&&e.right>f.right+g&&(g=e.right-f.right+g+s)):e.right>f.right&&(g=e.right-f.right+s,i<0&&e.lefti.clientHeight||i.scrollWidth>i.clientWidth)return i;i=i.assignedSlot||i.parentNode}else if(i.nodeType==11)i=i.host;else break;return null}class vy{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(e){return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset}setRange(e){let{anchorNode:i,focusNode:n}=e;this.set(i,Math.min(e.anchorOffset,i?$i(i):0),n,Math.min(e.focusOffset,n?$i(n):0))}set(e,i,n,r){this.anchorNode=e,this.anchorOffset=i,this.focusNode=n,this.focusOffset=r}}let Tn=null;function Ip(t){if(t.setActive)return t.setActive();if(Tn)return t.focus(Tn);let e=[];for(let i=t;i&&(e.push(i,i.scrollTop,i.scrollLeft),i!=i.ownerDocument);i=i.parentNode);if(t.focus(Tn==null?{get preventScroll(){return Tn={preventScroll:!0},!0}}:void 0),!Tn){Tn=!1;for(let i=0;iMath.max(1,t.scrollHeight-t.clientHeight-4)}class nt{constructor(e,i,n=!0){this.node=e,this.offset=i,this.precise=n}static before(e,i){return new nt(e.parentNode,is(e),i)}static after(e,i){return new nt(e.parentNode,is(e)+1,i)}}const lc=[];class Pe{constructor(){this.parent=null,this.dom=null,this.flags=2}get overrideDOMText(){return null}get posAtStart(){return this.parent?this.parent.posBefore(this):0}get posAtEnd(){return this.posAtStart+this.length}posBefore(e){let i=this.posAtStart;for(let n of this.children){if(n==e)return i;i+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}posAfter(e){return this.posBefore(e)+e.length}sync(e,i){if(this.flags&2){let n=this.dom,r=null,s;for(let o of this.children){if(o.flags&7){if(!o.dom&&(s=r?r.nextSibling:n.firstChild)){let l=Pe.get(s);(!l||!l.parent&&l.canReuseDOM(o))&&o.reuseDOM(s)}o.sync(e,i),o.flags&=-8}if(s=r?r.nextSibling:n.firstChild,i&&!i.written&&i.node==n&&s!=o.dom&&(i.written=!0),o.dom.parentNode==n)for(;s&&s!=o.dom;)s=uf(s);else n.insertBefore(o.dom,s);r=o.dom}for(s=r?r.nextSibling:n.firstChild,s&&i&&i.node==n&&(i.written=!0);s;)s=uf(s)}else if(this.flags&1)for(let n of this.children)n.flags&7&&(n.sync(e,i),n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,i){let n;if(e==this.dom)n=this.dom.childNodes[i];else{let r=$i(e)==0?0:i==0?-1:1;for(;;){let s=e.parentNode;if(s==this.dom)break;r==0&&s.firstChild!=s.lastChild&&(e==s.firstChild?r=-1:r=1),e=s}r<0?n=e:n=e.nextSibling}if(n==this.dom.firstChild)return 0;for(;n&&!Pe.get(n);)n=n.nextSibling;if(!n)return this.length;for(let r=0,s=0;;r++){let o=this.children[r];if(o.dom==n)return s;s+=o.length+o.breakAfter}}domBoundsAround(e,i,n=0){let r=-1,s=-1,o=-1,l=-1;for(let a=0,u=n,c=n;ai)return h.domBoundsAround(e,i,u);if(f>=e&&r==-1&&(r=a,s=u),u>i&&h.dom.parentNode==this.dom){o=a,l=c;break}c=f,u=f+h.breakAfter}return{from:s,to:l<0?n+this.length:l,startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:o=0?this.children[o].dom:null}}markDirty(e=!1){this.flags|=2,this.markParentsDirty(e)}markParentsDirty(e){for(let i=this.parent;i;i=i.parent){if(e&&(i.flags|=2),i.flags&1)return;i.flags|=1,e=!1}}setParent(e){this.parent!=e&&(this.parent=e,this.flags&7&&this.markParentsDirty(!0))}setDOM(e){this.dom!=e&&(this.dom&&(this.dom.cmView=null),this.dom=e,e.cmView=this)}get rootView(){for(let e=this;;){let i=e.parent;if(!i)return e;e=i}}replaceChildren(e,i,n=lc){this.markDirty();for(let r=e;rthis.pos||e==this.pos&&(i>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=e-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function Wp(t,e,i,n,r,s,o,l,a){let{children:u}=t,c=u.length?u[e]:null,h=s.length?s[s.length-1]:null,f=h?h.breakAfter:o;if(!(e==n&&c&&!o&&!f&&s.length<2&&c.merge(i,r,s.length?h:null,i==0,l,a))){if(n0&&(!o&&s.length&&c.merge(i,c.length,s[0],!1,l,0)?c.breakAfter=s.shift().breakAfter:(i2);var F={mac:ff||/Mac/.test($t.platform),windows:/Win/.test($t.platform),linux:/Linux|X11/.test($t.platform),ie:Al,ie_version:Fp?ru.documentMode||6:ou?+ou[1]:su?+su[1]:0,gecko:cf,gecko_version:cf?+(/Firefox\/(\d+)/.exec($t.userAgent)||[0,0])[1]:0,chrome:!!Gl,chrome_version:Gl?+Gl[1]:0,ios:ff,android:/Android\b/.test($t.userAgent),webkit:hf,safari:zp,webkit_version:hf?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0,tabSize:ru.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const _y=256;class Pi extends Pe{constructor(e){super(),this.text=e}get length(){return this.text.length}createDOM(e){this.setDOM(e||document.createTextNode(this.text))}sync(e,i){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(i&&i.node==this.dom&&(i.written=!0),this.dom.nodeValue=this.text)}reuseDOM(e){e.nodeType==3&&this.createDOM(e)}merge(e,i,n){return this.flags&8||n&&(!(n instanceof Pi)||this.length-(i-e)+n.length>_y||n.flags&8)?!1:(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(i),this.markDirty(),!0)}split(e){let i=new Pi(this.text.slice(e));return this.text=this.text.slice(0,e),this.markDirty(),i.flags|=this.flags&8,i}localPosFromDOM(e,i){return e==this.dom?i:i?this.text.length:0}domAtPos(e){return new nt(this.dom,e)}domBoundsAround(e,i,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,i){return $y(this.dom,e,i)}}class Ci extends Pe{constructor(e,i=[],n=0){super(),this.mark=e,this.children=i,this.length=n;for(let r of i)r.setParent(this)}setAttrs(e){if(Lp(e),this.mark.class&&(e.className=this.mark.class),this.mark.attrs)for(let i in this.mark.attrs)e.setAttribute(i,this.mark.attrs[i]);return e}canReuseDOM(e){return super.canReuseDOM(e)&&!((this.flags|e.flags)&8)}reuseDOM(e){e.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(e),this.flags|=6)}sync(e,i){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(e,i)}merge(e,i,n,r,s,o){return n&&(!(n instanceof Ci&&n.mark.eq(this.mark))||e&&s<=0||ie&&i.push(n=e&&(r=s),n=a,s++}let o=this.length-e;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),new Ci(this.mark,i,o)}domAtPos(e){return jp(this,e)}coordsAt(e,i){return qp(this,e,i)}}function $y(t,e,i){let n=t.nodeValue.length;e>n&&(e=n);let r=e,s=e,o=0;e==0&&i<0||e==n&&i>=0?F.chrome||F.gecko||(e?(r--,o=1):s=0)?0:l.length-1];return F.safari&&!o&&a.width==0&&(a=Array.prototype.find.call(l,u=>u.width)||a),o?Ql(a,o<0):a||null}class mn extends Pe{static create(e,i,n){return new mn(e,i,n)}constructor(e,i,n){super(),this.widget=e,this.length=i,this.side=n,this.prevWidget=null}split(e){let i=mn.create(this.widget,this.length-e,this.side);return this.length-=e,i}sync(e){(!this.dom||!this.widget.updateDOM(this.dom,e))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(e)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(e,i,n,r,s,o){return n&&(!(n instanceof mn)||!this.widget.compare(n.widget)||e>0&&s<=0||i0)?nt.before(this.dom):nt.after(this.dom,e==this.length)}domBoundsAround(){return null}coordsAt(e,i){let n=this.widget.coordsAt(this.dom,e,i);if(n)return n;let r=this.dom.getClientRects(),s=null;if(!r.length)return null;let o=this.side?this.side<0:e>0;for(let l=o?r.length-1:0;s=r[l],!(e>0?l==0:l==r.length-1||s.top0?nt.before(this.dom):nt.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(e){return this.dom.getBoundingClientRect()}get overrideDOMText(){return ue.empty}get isHidden(){return!0}}Pi.prototype.children=mn.prototype.children=nr.prototype.children=lc;function jp(t,e){let i=t.dom,{children:n}=t,r=0;for(let s=0;rs&&e0;s--){let o=n[s-1];if(o.dom.parentNode==i)return o.domAtPos(o.length)}for(let s=r;s0&&e instanceof Ci&&r.length&&(n=r[r.length-1])instanceof Ci&&n.mark.eq(e.mark)?Bp(n,e.children[0],i-1):(r.push(e),e.setParent(t)),t.length+=e.length}function qp(t,e,i){let n=null,r=-1,s=null,o=-1;function l(u,c){for(let h=0,f=0;h=c&&(d.children.length?l(d,c-f):(!s||s.isHidden&&i>0)&&(p>c||f==p&&d.getSide()>0)?(s=d,o=c-f):(f-1?1:0)!=r.length-(i&&r.indexOf(i)>-1?1:0))return!1;for(let s of n)if(s!=i&&(r.indexOf(s)==-1||t[s]!==e[s]))return!1;return!0}function au(t,e,i){let n=!1;if(e)for(let r in e)i&&r in i||(n=!0,r=="style"?t.style.cssText="":t.removeAttribute(r));if(i)for(let r in i)e&&e[r]==i[r]||(n=!0,r=="style"?t.style.cssText=i[r]:t.setAttribute(r,i[r]));return n}function Cy(t){let e=Object.create(null);for(let i=0;i0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=e,i}transferDOM(e){this.dom&&(this.markDirty(),e.setDOM(this.dom),e.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(e){ac(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=e)}append(e,i){Bp(this,e,i)}addLineDeco(e){let i=e.spec.attributes,n=e.spec.class;i&&(this.attrs=lu(i,this.attrs||{})),n&&(this.attrs=lu({class:n},this.attrs||{}))}domAtPos(e){return jp(this,e)}reuseDOM(e){e.nodeName=="DIV"&&(this.setDOM(e),this.flags|=6)}sync(e,i){var n;this.dom?this.flags&4&&(Lp(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(au(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,i);let r=this.dom.lastChild;for(;r&&Pe.get(r)instanceof Ci;)r=r.lastChild;if(!r||!this.length||r.nodeName!="BR"&&((n=Pe.get(r))===null||n===void 0?void 0:n.isEditable)==!1&&(!F.ios||!this.children.some(s=>s instanceof Pi))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let e=0,i;for(let n of this.children){if(!(n instanceof Pi)||/[^ -~]/.test(n.text))return null;let r=ir(n.dom);if(r.length!=1)return null;e+=r[0].width,i=r[0].height}return e?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:e/this.length,textHeight:i}:null}coordsAt(e,i){let n=qp(this,e,i);if(!this.children.length&&n&&this.parent){let{heightOracle:r}=this.parent.view.viewState,s=n.bottom-n.top;if(Math.abs(s-r.lineHeight)<2&&r.textHeight=i){if(s instanceof Ve)return s;if(o>i)break}r=o+s.breakAfter}return null}}class Gi extends Pe{constructor(e,i,n){super(),this.widget=e,this.length=i,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(e,i,n,r,s,o){return n&&(!(n instanceof Gi)||!this.widget.compare(n.widget)||e>0&&s<=0||i0}}class $s{eq(e){return!1}updateDOM(e,i){return!1}compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}get estimatedHeight(){return-1}get lineBreaks(){return 0}ignoreEvent(e){return!0}coordsAt(e,i,n){return null}get isHidden(){return!1}get editable(){return!1}destroy(e){}}var Si=function(t){return t[t.Text=0]="Text",t[t.WidgetBefore=1]="WidgetBefore",t[t.WidgetAfter=2]="WidgetAfter",t[t.WidgetRange=3]="WidgetRange",t}(Si||(Si={}));class he extends xn{constructor(e,i,n,r){super(),this.startSide=e,this.endSide=i,this.widget=n,this.spec=r}get heightRelevant(){return!1}static mark(e){return new Ps(e)}static widget(e){let i=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block;return i+=n&&!e.inlineOrder?i>0?3e8:-4e8:i>0?1e8:-1e8,new tn(e,i,i,n,e.widget||null,!1)}static replace(e){let i=!!e.block,n,r;if(e.isBlockGap)n=-5e8,r=4e8;else{let{start:s,end:o}=Yp(e,i);n=(s?i?-3e8:-1:5e8)-1,r=(o?i?2e8:1:-6e8)+1}return new tn(e,n,r,i,e.widget||null,!0)}static line(e){return new Cs(e)}static set(e,i=!1){return _e.of(e,i)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}he.none=_e.empty;class Ps extends he{constructor(e){let{start:i,end:n}=Yp(e);super(i?-1:5e8,n?1:-6e8,null,e),this.tagName=e.tagName||"span",this.class=e.class||"",this.attrs=e.attributes||null}eq(e){var i,n;return this==e||e instanceof Ps&&this.tagName==e.tagName&&(this.class||((i=this.attrs)===null||i===void 0?void 0:i.class))==(e.class||((n=e.attrs)===null||n===void 0?void 0:n.class))&&ac(this.attrs,e.attrs,"class")}range(e,i=e){if(e>=i)throw new RangeError("Mark decorations may not be empty");return super.range(e,i)}}Ps.prototype.point=!1;class Cs extends he{constructor(e){super(-2e8,-2e8,null,e)}eq(e){return e instanceof Cs&&this.spec.class==e.spec.class&&ac(this.spec.attributes,e.spec.attributes)}range(e,i=e){if(i!=e)throw new RangeError("Line decoration ranges must be zero-length");return super.range(e,i)}}Cs.prototype.mapMode=at.TrackBefore;Cs.prototype.point=!0;class tn extends he{constructor(e,i,n,r,s,o){super(i,n,s,e),this.block=r,this.isReplace=o,this.mapMode=r?i<=0?at.TrackBefore:at.TrackAfter:at.TrackDel}get type(){return this.startSide!=this.endSide?Si.WidgetRange:this.startSide<=0?Si.WidgetBefore:Si.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(e){return e instanceof tn&&Qy(this.widget,e.widget)&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide}range(e,i=e){if(this.isReplace&&(e>i||e==i&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&i!=e)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(e,i)}}tn.prototype.point=!0;function Yp(t,e=!1){let{inclusiveStart:i,inclusiveEnd:n}=t;return i==null&&(i=t.inclusive),n==null&&(n=t.inclusive),{start:i??e,end:n??e}}function Qy(t,e){return t==e||!!(t&&e&&t.compare(e))}function uu(t,e,i,n=0){let r=i.length-1;r>=0&&i[r]+n>=t?i[r]=Math.max(i[r],e):i.push(t,e)}class Yr{constructor(e,i,n,r){this.doc=e,this.pos=i,this.end=n,this.disallowBlockEffectsFor=r,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=e.iter(),this.skip=i}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let e=this.content[this.content.length-1];return!(e.breakAfter||e instanceof Gi&&e.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Ve),this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(Gs(new nr(-1),e),e.length),this.pendingBuffer=0)}addBlockWidget(e){this.flushBuffer(),this.curLine=null,this.content.push(e)}finish(e){this.pendingBuffer&&e<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(e&&this.content.length&&this.content[this.content.length-1]instanceof Gi)&&this.getLine()}buildText(e,i,n){for(;e>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:o,done:l}=this.cursor.next(this.skip);if(this.skip=0,l)throw new Error("Ran out of text content when drawing inline views");if(o){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,e--;continue}else this.text=s,this.textOff=0}let r=Math.min(this.text.length-this.textOff,e,512);this.flushBuffer(i.slice(i.length-n)),this.getLine().append(Gs(new Pi(this.text.slice(this.textOff,this.textOff+r)),i),n),this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,i,n,r){this.buildText(i-e,n,r),this.pos=i,this.openStart<0&&(this.openStart=r)}point(e,i,n,r,s,o){if(this.disallowBlockEffectsFor[o]&&n instanceof tn){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(i>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let l=i-e;if(n instanceof tn)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new Gi(n.widget||vn.block,l,n));else{let a=mn.create(n.widget||vn.inline,l,l?0:n.startSide),u=this.atCursorPos&&!a.isEditable&&s<=r.length&&(e0),c=!a.isEditable&&(er.length||n.startSide<=0),h=this.getLine();this.pendingBuffer==2&&!u&&!a.isEditable&&(this.pendingBuffer=0),this.flushBuffer(r),u&&(h.append(Gs(new nr(1),r),s),s=r.length+Math.max(0,s-r.length)),h.append(Gs(a,r),s),this.atCursorPos=c,this.pendingBuffer=c?er.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=r.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);l&&(this.textOff+l<=this.text.length?this.textOff+=l:(this.skip+=l-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=i),this.openStart<0&&(this.openStart=s)}static build(e,i,n,r,s){let o=new Yr(e,i,n,s);return o.openEnd=_e.spans(r,i,n,o),o.openStart<0&&(o.openStart=o.openEnd),o.finish(o.openEnd),o}}function Gs(t,e){for(let i of e)t=new Ci(i,[t],t.length);return t}class vn extends $s{constructor(e){super(),this.tag=e}eq(e){return e.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(e){return e.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}vn.inline=new vn("span");vn.block=new vn("div");var Xe=function(t){return t[t.LTR=0]="LTR",t[t.RTL=1]="RTL",t}(Xe||(Xe={}));const Sn=Xe.LTR,uc=Xe.RTL;function Np(t){let e=[];for(let i=0;i=i){if(l.level==n)return o;(s<0||(r!=0?r<0?l.fromi:e[s].level>l.level))&&(s=o)}}if(s<0)throw new RangeError("Index out of range");return s}}function Gp(t,e){if(t.length!=e.length)return!1;for(let i=0;i=0;m-=3)if(ii[m+1]==-d){let g=ii[m+2],O=g&2?r:g&4?g&1?s:r:0;O&&(ge[h]=ge[ii[m]]=O),l=m;break}}else{if(ii.length==189)break;ii[l++]=h,ii[l++]=f,ii[l++]=a}else if((p=ge[h])==2||p==1){let m=p==r;a=m?0:1;for(let g=l-3;g>=0;g-=3){let O=ii[g+2];if(O&2)break;if(m)ii[g+2]|=2;else{if(O&4)break;ii[g+2]|=4}}}}}function Ry(t,e,i,n){for(let r=0,s=n;r<=i.length;r++){let o=r?i[r-1].to:t,l=ra;)p==g&&(p=i[--m].from,g=m?i[m-1].to:t),ge[--p]=d;a=c}else s=u,a++}}}function hu(t,e,i,n,r,s,o){let l=n%2?2:1;if(n%2==r%2)for(let a=e,u=0;aa&&o.push(new Yi(a,m.from,d));let g=m.direction==Sn!=!(d%2);fu(t,g?n+1:n,r,m.inner,m.from,m.to,o),a=m.to}p=m.to}else{if(p==i||(c?ge[p]!=l:ge[p]==l))break;p++}f?hu(t,a,p,n+1,r,f,o):ae;){let c=!0,h=!1;if(!u||a>s[u-1].to){let m=ge[a-1];m!=l&&(c=!1,h=m==16)}let f=!c&&l==1?[]:null,d=c?n:n+1,p=a;e:for(;;)if(u&&p==s[u-1].to){if(h)break e;let m=s[--u];if(!c)for(let g=m.from,O=u;;){if(g==e)break e;if(O&&s[O-1].to==g)g=s[--O].from;else{if(ge[g-1]==l)break e;break}}if(f)f.push(m);else{m.toge.length;)ge[ge.length]=256;let n=[],r=e==Sn?0:1;return fu(t,r,r,i,0,t.length,n),n}function Hp(t){return[new Yi(0,t,0)]}let Kp="";function Ly(t,e,i,n,r){var s;let o=n.head-t.from,l=Yi.find(e,o,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc),a=e[l],u=a.side(r,i);if(o==u){let f=l+=r?1:-1;if(f<0||f>=e.length)return null;a=e[l=f],o=a.side(!r,i),u=a.side(r,i)}let c=He(t.text,o,a.forward(r,i));(ca.to)&&(c=u),Kp=t.text.slice(Math.min(o,c),Math.max(o,c));let h=l==(r?e.length-1:0)?null:e[l+(r?1:-1)];return h&&c==u&&h.level+(r?0:1)t.some(e=>e)}),My=N.define({combine:t=>t.some(e=>e)});class jn{constructor(e,i="nearest",n="nearest",r=5,s=5,o=!1){this.range=e,this.y=i,this.x=n,this.yMargin=r,this.xMargin=s,this.isSnapshot=o}map(e){return e.empty?this:new jn(this.range.map(e),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(e){return this.range.to<=e.doc.length?this:new jn(T.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const Hs=ce.define({map:(t,e)=>t.map(e)});function At(t,e,i){let n=t.facet(im);n.length?n[0](e):window.onerror?window.onerror(String(e),i,void 0,void 0,e):i?console.error(i+":",e):console.error(e)}const Tl=N.define({combine:t=>t.length?t[0]:!0});let Wy=0;const Ir=N.define();class It{constructor(e,i,n,r,s){this.id=e,this.create=i,this.domEventHandlers=n,this.domEventObservers=r,this.extension=s(this)}static define(e,i){const{eventHandlers:n,eventObservers:r,provide:s,decorations:o}=i||{};return new It(Wy++,e,n,r,l=>{let a=[Ir.of(l)];return o&&a.push(ns.of(u=>{let c=u.plugin(l);return c?o(c):he.none})),s&&a.push(s(l)),a})}static fromClass(e,i){return It.define(n=>new e(n),i)}}class Hl{constructor(e){this.spec=e,this.mustUpdate=null,this.value=null}update(e){if(this.value){if(this.mustUpdate){let i=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(i)}catch(n){if(At(i.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(e)}catch(i){At(e.state,i,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(e){var i;if(!((i=this.value)===null||i===void 0)&&i.destroy)try{this.value.destroy()}catch(n){At(e.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const om=N.define(),cc=N.define(),ns=N.define(),lm=N.define(),hc=N.define(),am=N.define();function pf(t,e){let i=t.state.facet(am);if(!i.length)return i;let n=i.map(s=>s instanceof Function?s(t):s),r=[];return _e.spans(n,e.from,e.to,{point(){},span(s,o,l,a){let u=s-e.from,c=o-e.from,h=r;for(let f=l.length-1;f>=0;f--,a--){let d=l[f].spec.bidiIsolate,p;if(d==null&&(d=Xy(e.text,u,c)),a>0&&h.length&&(p=h[h.length-1]).to==u&&p.direction==d)p.to=c,h=p.inner;else{let m={from:u,to:c,direction:d,inner:[]};h.push(m),h=m.inner}}}}),r}const um=N.define();function cm(t){let e=0,i=0,n=0,r=0;for(let s of t.state.facet(um)){let o=s(t);o&&(o.left!=null&&(e=Math.max(e,o.left)),o.right!=null&&(i=Math.max(i,o.right)),o.top!=null&&(n=Math.max(n,o.top)),o.bottom!=null&&(r=Math.max(r,o.bottom)))}return{left:e,right:i,top:n,bottom:r}}const Lr=N.define();class Dt{constructor(e,i,n,r){this.fromA=e,this.toA=i,this.fromB=n,this.toB=r}join(e){return new Dt(Math.min(this.fromA,e.fromA),Math.max(this.toA,e.toA),Math.min(this.fromB,e.fromB),Math.max(this.toB,e.toB))}addToSet(e){let i=e.length,n=this;for(;i>0;i--){let r=e[i-1];if(!(r.fromA>n.toA)){if(r.toAc)break;s+=2}if(!a)return n;new Dt(a.fromA,a.toA,a.fromB,a.toB).addToSet(n),o=a.toA,l=a.toB}}}class Uo{constructor(e,i,n){this.view=e,this.state=i,this.transactions=n,this.flags=0,this.startState=e.state,this.changes=Fe.empty(this.startState.doc.length);for(let s of n)this.changes=this.changes.compose(s.changes);let r=[];this.changes.iterChangedRanges((s,o,l,a)=>r.push(new Dt(s,o,l,a))),this.changedRanges=r}static create(e,i,n){return new Uo(e,i,n)}get viewportChanged(){return(this.flags&4)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&10)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(e=>e.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class mf extends Pe{get length(){return this.view.state.doc.length}constructor(e){super(),this.view=e,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.compositionBarrier=he.none,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(e.contentDOM),this.children=[new Ve],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new Dt(0,0,0,e.state.doc.length)],0,null)}update(e){var i;let n=e.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:u,toA:c})=>cthis.minWidthTo)?(this.minWidthFrom=e.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=e.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0);let r=-1;this.view.inputState.composing>=0&&(!((i=this.domChanged)===null||i===void 0)&&i.newSel?r=this.domChanged.newSel.head:!Ny(e.changes,this.hasComposition)&&!e.selectionSet&&(r=e.state.selection.main.head));let s=r>-1?zy(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:u,to:c}=this.hasComposition;n=new Dt(u,c,e.changes.mapPos(u,-1),e.changes.mapPos(c,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(F.ie||F.chrome)&&!s&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0);let o=this.decorations,l=this.updateDeco(),a=qy(o,l,e.changes);return n=Dt.extendWithRanges(n,a),!(this.flags&7)&&n.length==0?!1:(this.updateInner(n,e.startState.doc.length,s),e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,i,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,i,n);let{observer:r}=this.view;r.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let o=F.chrome||F.ios?{node:r.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,o),this.flags&=-8,o&&(o.written||r.selectionRange.focusNode!=o.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(o=>o.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to=0?r[o]:null;if(!l)break;let{fromA:a,toA:u,fromB:c,toB:h}=l,f,d,p,m;if(n&&n.range.fromBc){let S=Yr.build(this.view.state.doc,c,n.range.fromB,this.decorations,this.dynamicDecorationMap),_=Yr.build(this.view.state.doc,n.range.toB,h,this.decorations,this.dynamicDecorationMap);d=S.breakAtStart,p=S.openStart,m=_.openEnd;let A=this.compositionView(n);_.breakAtStart?A.breakAfter=1:_.content.length&&A.merge(A.length,A.length,_.content[0],!1,_.openStart,0)&&(A.breakAfter=_.content[0].breakAfter,_.content.shift()),S.content.length&&A.merge(0,0,S.content[S.content.length-1],!0,0,S.openEnd)&&S.content.pop(),f=S.content.concat(A).concat(_.content)}else({content:f,breakAtStart:d,openStart:p,openEnd:m}=Yr.build(this.view.state.doc,c,h,this.decorations,this.dynamicDecorationMap));let{i:g,off:O}=s.findPos(u,1),{i:y,off:v}=s.findPos(a,-1);Wp(this,y,v,g,O,f,d,p,m)}n&&this.fixCompositionDOM(n)}compositionView(e){let i=new Pi(e.text.nodeValue);i.flags|=8;for(let{deco:r}of e.marks)i=new Ci(r,[i],i.length);let n=new Ve;return n.append(i,0),n}fixCompositionDOM(e){let i=(s,o)=>{o.flags|=8|(o.children.some(a=>a.flags&7)?1:0),this.markedForComposition.add(o);let l=Pe.get(s);l&&l!=o&&(l.dom=null),o.setDOM(s)},n=this.childPos(e.range.fromB,1),r=this.children[n.i];i(e.line,r);for(let s=e.marks.length-1;s>=-1;s--)n=r.childPos(n.off,1),r=r.children[n.i],i(s>=0?e.marks[s].node:e.text,r)}updateSelection(e=!1,i=!1){(e||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,r=n==this.dom,s=!r&&To(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(r||i||s))return;let o=this.forceSelection;this.forceSelection=!1;let l=this.view.state.selection.main,a=this.moveToLine(this.domAtPos(l.anchor)),u=l.empty?a:this.moveToLine(this.domAtPos(l.head));if(F.gecko&&l.empty&&!this.hasComposition&&Fy(a)){let h=document.createTextNode("");this.view.observer.ignore(()=>a.node.insertBefore(h,a.node.childNodes[a.offset]||null)),a=u=new nt(h,0),o=!0}let c=this.view.observer.selectionRange;(o||!c.focusNode||(!qr(a.node,a.offset,c.anchorNode,c.anchorOffset)||!qr(u.node,u.offset,c.focusNode,c.focusOffset))&&!this.suppressWidgetCursorChange(c,l))&&(this.view.observer.ignore(()=>{F.android&&F.chrome&&this.dom.contains(c.focusNode)&&Yy(c.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let h=No(this.view.root);if(h)if(l.empty){if(F.gecko){let f=jy(a.node,a.offset);if(f&&f!=3){let d=fm(a.node,a.offset,f==1?1:-1);d&&(a=new nt(d.node,d.offset))}}h.collapse(a.node,a.offset),l.bidiLevel!=null&&h.caretBidiLevel!==void 0&&(h.caretBidiLevel=l.bidiLevel)}else if(h.extend){h.collapse(a.node,a.offset);try{h.extend(u.node,u.offset)}catch{}}else{let f=document.createRange();l.anchor>l.head&&([a,u]=[u,a]),f.setEnd(u.node,u.offset),f.setStart(a.node,a.offset),h.removeAllRanges(),h.addRange(f)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(a,u)),this.impreciseAnchor=a.precise?null:new nt(c.anchorNode,c.anchorOffset),this.impreciseHead=u.precise?null:new nt(c.focusNode,c.focusOffset)}suppressWidgetCursorChange(e,i){return this.hasComposition&&i.empty&&!this.compositionBarrier.size&&qr(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==i.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:e}=this,i=e.state.selection.main,n=No(e.root),{anchorNode:r,anchorOffset:s}=e.observer.selectionRange;if(!n||!i.empty||!i.assoc||!n.modify)return;let o=Ve.find(this,i.head);if(!o)return;let l=o.posAtStart;if(i.head==l||i.head==l+o.length)return;let a=this.coordsAt(i.head,-1),u=this.coordsAt(i.head,1);if(!a||!u||a.bottom>u.top)return;let c=this.domAtPos(i.head+i.assoc);n.collapse(c.node,c.offset),n.modify("move",i.assoc<0?"forward":"backward","lineboundary"),e.observer.readSelectionRange();let h=e.observer.selectionRange;e.docView.posFromDOM(h.anchorNode,h.anchorOffset)!=i.from&&n.collapse(r,s)}moveToLine(e){let i=this.dom,n;if(e.node!=i)return e;for(let r=e.offset;!n&&r=0;r--){let s=Pe.get(i.childNodes[r]);s instanceof Ve&&(n=s.domAtPos(s.length))}return n?new nt(n.node,n.offset,!0):e}nearest(e){for(let i=e;i;){let n=Pe.get(i);if(n&&n.rootView==this)return n;i=i.parentNode}return null}posFromDOM(e,i){let n=this.nearest(e);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(e,i)+n.posAtStart}domAtPos(e){let{i,off:n}=this.childCursor().findPos(e,-1);for(;i=0;o--){let l=this.children[o],a=s-l.breakAfter,u=a-l.length;if(ae||l.covers(1))&&(!n||l instanceof Ve&&!(n instanceof Ve&&i>=0))&&(n=l,r=u),s=u}return n?n.coordsAt(e-r,i):null}coordsForChar(e){let{i,off:n}=this.childPos(e,1),r=this.children[i];if(!(r instanceof Ve))return null;for(;r.children.length;){let{i:l,off:a}=r.childPos(n,1);for(;;l++){if(l==r.children.length)return null;if((r=r.children[l]).length)break}n=a}if(!(r instanceof Pi))return null;let s=He(r.text,n);if(s==n)return null;let o=kn(r.dom,n,s).getClientRects();for(let l=0;lMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,l=-1,a=this.view.textDirection==Xe.LTR;for(let u=0,c=0;cr)break;if(u>=n){let d=h.dom.getBoundingClientRect();if(i.push(d.height),o){let p=h.dom.lastChild,m=p?ir(p):[];if(m.length){let g=m[m.length-1],O=a?g.right-d.left:d.right-g.left;O>l&&(l=O,this.minWidth=s,this.minWidthFrom=u,this.minWidthTo=f)}}}u=f+h.breakAfter}return i}textDirectionAt(e){let{i}=this.childPos(e,1);return getComputedStyle(this.children[i].dom).direction=="rtl"?Xe.RTL:Xe.LTR}measureTextSize(){for(let s of this.children)if(s instanceof Ve){let o=s.measureTextSize();if(o)return o}let e=document.createElement("div"),i,n,r;return e.className="cm-line",e.style.width="99999px",e.style.position="absolute",e.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(e);let s=ir(e.firstChild)[0];i=e.getBoundingClientRect().height,n=s?s.width/27:7,r=s?s.height:i,e.remove()}),{lineHeight:i,charWidth:n,textHeight:r}}childCursor(e=this.length){let i=this.children.length;return i&&(e-=this.children[--i].length),new Mp(this.children,e,i)}computeBlockGapDeco(){let e=[],i=this.view.viewState;for(let n=0,r=0;;r++){let s=r==i.viewports.length?null:i.viewports[r],o=s?s.from-1:this.length;if(o>n){let l=(i.lineBlockAt(o).bottom-i.lineBlockAt(n).top)/this.view.scaleY;e.push(he.replace({widget:new Of(l),block:!0,inclusive:!0,isBlockGap:!0}).range(n,o))}if(!s)break;n=s.to+1}return he.set(e)}updateDeco(){let e=1,i=this.view.state.facet(ns).map(s=>(this.dynamicDecorationMap[e++]=typeof s=="function")?s(this.view):s),n=!1,r=this.view.state.facet(lm).map((s,o)=>{let l=typeof s=="function";return l&&(n=!0),l?s(this.view):s});for(r.length&&(this.dynamicDecorationMap[e++]=n,i.push(_e.join(r))),this.decorations=[this.compositionBarrier,...i,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];e{l.point?n=!1:l.endSide<0&&si.anchor?-1:1),r;if(!n)return;!i.empty&&(r=this.coordsAt(i.anchor,i.anchor>i.head?-1:1))&&(n={left:Math.min(n.left,r.left),top:Math.min(n.top,r.top),right:Math.max(n.right,r.right),bottom:Math.max(n.bottom,r.bottom)});let s=cm(this.view),o={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom},{offsetWidth:l,offsetHeight:a}=this.view.scrollDOM;xy(this.view.scrollDOM,o,i.head0)n=n.childNodes[r-1],r=$i(n);else break}if(i>=0)for(let n=t,r=e;;){if(n.nodeType==3)return{node:n,offset:r};if(n.nodeType==1&&r=0)n=n.childNodes[r],r=0;else break}return null}function jy(t,e){return t.nodeType!=1?0:(e&&t.childNodes[e-1].contentEditable=="false"?1:0)|(e{ne.from&&(i=!0)}),i}function Uy(t,e,i=1){let n=t.charCategorizer(e),r=t.doc.lineAt(e),s=e-r.from;if(r.length==0)return T.cursor(e);s==0?i=1:s==r.length&&(i=-1);let o=s,l=s;i<0?o=He(r.text,s,!1):l=He(r.text,s);let a=n(r.text.slice(o,l));for(;o>0;){let u=He(r.text,o,!1);if(n(r.text.slice(u,o))!=a)break;o=u}for(;lt?e.left-t:Math.max(0,t-e.right)}function Hy(t,e){return e.top>t?e.top-t:Math.max(0,t-e.bottom)}function Kl(t,e){return t.tope.top+1}function gf(t,e){return et.bottom?{top:t.top,left:t.left,right:t.right,bottom:e}:t}function pu(t,e,i){let n,r,s,o,l=!1,a,u,c,h;for(let p=t.firstChild;p;p=p.nextSibling){let m=ir(p);for(let g=0;gv||o==v&&s>y){n=p,r=O,s=y,o=v;let S=v?i0?g0)}y==0?i>O.bottom&&(!c||c.bottomO.top)&&(u=p,h=O):c&&Kl(c,O)?c=bf(c,O.bottom):h&&Kl(h,O)&&(h=gf(h,O.top))}}if(c&&c.bottom>=i?(n=a,r=c):h&&h.top<=i&&(n=u,r=h),!n)return{node:t,offset:0};let f=Math.max(r.left,Math.min(r.right,e));if(n.nodeType==3)return yf(n,f,i);if(l&&n.contentEditable!="false")return pu(n,f,i);let d=Array.prototype.indexOf.call(t.childNodes,n)+(e>=(r.left+r.right)/2?1:0);return{node:t,offset:d}}function yf(t,e,i){let n=t.nodeValue.length,r=-1,s=1e9,o=0;for(let l=0;li?c.top-i:i-c.bottom)-1;if(c.left-1<=e&&c.right+1>=e&&h=(c.left+c.right)/2,d=f;if((F.chrome||F.gecko)&&kn(t,l).getBoundingClientRect().left==c.right&&(d=!f),h<=0)return{node:t,offset:l+(d?1:0)};r=l+(d?1:0),s=h}}}return{node:t,offset:r>-1?r:o>0?t.nodeValue.length:0}}function dm(t,e,i,n=-1){var r,s;let o=t.contentDOM.getBoundingClientRect(),l=o.top+t.viewState.paddingTop,a,{docHeight:u}=t.viewState,{x:c,y:h}=e,f=h-l;if(f<0)return 0;if(f>u)return t.state.doc.length;for(let S=t.viewState.heightOracle.textHeight/2,_=!1;a=t.elementAtHeight(f),a.type!=Si.Text;)for(;f=n>0?a.bottom+S:a.top-S,!(f>=0&&f<=u);){if(_)return i?null:0;_=!0,n=-n}h=l+f;let d=a.from;if(dt.viewport.to)return t.viewport.to==t.state.doc.length?t.state.doc.length:i?null:xf(t,o,a,c,h);let p=t.dom.ownerDocument,m=t.root.elementFromPoint?t.root:p,g=m.elementFromPoint(c,h);g&&!t.contentDOM.contains(g)&&(g=null),g||(c=Math.max(o.left+1,Math.min(o.right-1,c)),g=m.elementFromPoint(c,h),g&&!t.contentDOM.contains(g)&&(g=null));let O,y=-1;if(g&&((r=t.docView.nearest(g))===null||r===void 0?void 0:r.isEditable)!=!1){if(p.caretPositionFromPoint){let S=p.caretPositionFromPoint(c,h);S&&({offsetNode:O,offset:y}=S)}else if(p.caretRangeFromPoint){let S=p.caretRangeFromPoint(c,h);S&&({startContainer:O,startOffset:y}=S,(!t.contentDOM.contains(O)||F.safari&&Ky(O,y,c)||F.chrome&&Jy(O,y,c))&&(O=void 0))}}if(!O||!t.docView.dom.contains(O)){let S=Ve.find(t.docView,d);if(!S)return f>a.top+a.height/2?a.to:a.from;({node:O,offset:y}=pu(S.dom,c,h))}let v=t.docView.nearest(O);if(!v)return null;if(v.isWidget&&((s=v.dom)===null||s===void 0?void 0:s.nodeType)==1){let S=v.dom.getBoundingClientRect();return e.yt.defaultLineHeight*1.5){let l=t.viewState.heightOracle.textHeight,a=Math.floor((r-i.top-(t.defaultLineHeight-l)*.5)/l);s+=a*t.viewState.heightOracle.lineLength}let o=t.state.sliceDoc(i.from,i.to);return i.from+dy(o,s,t.state.tabSize)}function Ky(t,e,i){let n;if(t.nodeType!=3||e!=(n=t.nodeValue.length))return!1;for(let r=t.nextSibling;r;r=r.nextSibling)if(r.nodeType!=1||r.nodeName!="BR")return!1;return kn(t,n-1,n).getBoundingClientRect().left>i}function Jy(t,e,i){if(e!=0)return!1;for(let r=t;;){let s=r.parentNode;if(!s||s.nodeType!=1||s.firstChild!=r)return!1;if(s.classList.contains("cm-line"))break;r=s}let n=t.nodeType==1?t.getBoundingClientRect():kn(t,0,Math.max(t.nodeValue.length,1)).getBoundingClientRect();return i-n.left>5}function ex(t,e){let i=t.lineBlockAt(e);if(Array.isArray(i.type)){for(let n of i.type)if(n.to>e||n.to==e&&(n.to==i.to||n.type==Si.Text))return n}return i}function tx(t,e,i,n){let r=ex(t,e.head),s=!n||r.type!=Si.Text||!(t.lineWrapping||r.widgetLineBreaks)?null:t.coordsAtPos(e.assoc<0&&e.head>r.from?e.head-1:e.head);if(s){let o=t.dom.getBoundingClientRect(),l=t.textDirectionAt(r.from),a=t.posAtCoords({x:i==(l==Xe.LTR)?o.right-1:o.left+1,y:(s.top+s.bottom)/2});if(a!=null)return T.cursor(a,i?-1:1)}return T.cursor(i?r.to:r.from,i?-1:1)}function kf(t,e,i,n){let r=t.state.doc.lineAt(e.head),s=t.bidiSpans(r),o=t.textDirectionAt(r.from);for(let l=e,a=null;;){let u=Ly(r,s,o,l,i),c=Kp;if(!u){if(r.number==(i?t.state.doc.lines:1))return l;c=` +`,r=t.state.doc.line(r.number+(i?1:-1)),s=t.bidiSpans(r),u=t.visualLineSide(r,!i)}if(a){if(!a(c))return l}else{if(!n)return u;a=n(c)}l=u}}function ix(t,e,i){let n=t.state.charCategorizer(e),r=n(i);return s=>{let o=n(s);return r==Ke.Space&&(r=o),r==o}}function nx(t,e,i,n){let r=e.head,s=i?1:-1;if(r==(i?t.state.doc.length:0))return T.cursor(r,e.assoc);let o=e.goalColumn,l,a=t.contentDOM.getBoundingClientRect(),u=t.coordsAtPos(r,e.assoc||-1),c=t.documentTop;if(u)o==null&&(o=u.left-a.left),l=s<0?u.top:u.bottom;else{let d=t.viewState.lineBlockAt(r);o==null&&(o=Math.min(a.right-a.left,t.defaultCharacterWidth*(r-d.from))),l=(s<0?d.top:d.bottom)+c}let h=a.left+o,f=n??t.viewState.heightOracle.textHeight>>1;for(let d=0;;d+=10){let p=l+(f+d)*s,m=dm(t,{x:h,y:p},!1,s);if(pa.bottom||(s<0?mr)){let g=t.docView.coordsForChar(m),O=!g||p{if(e>s&&er(t)),i.from,e.head>i.from?-1:1);return n==i.from?i:T.cursor(n,nnull),F.gecko&&xx(e.contentDOM.ownerDocument)}handleEvent(e){!fx(this.view,e)||this.ignoreDuringComposition(e)||e.type=="keydown"&&this.keydown(e)||this.runHandlers(e.type,e)}runHandlers(e,i){let n=this.handlers[e];if(n){for(let r of n.observers)r(this.view,i);for(let r of n.handlers){if(i.defaultPrevented)break;if(r(this.view,i)){i.preventDefault();break}}}}ensureHandlers(e){let i=sx(e),n=this.handlers,r=this.view.contentDOM;for(let s in i)if(s!="scroll"){let o=!i[s].handlers.length,l=n[s];l&&o!=!l.handlers.length&&(r.removeEventListener(s,this.handleEvent),l=null),l||r.addEventListener(s,this.handleEvent,{passive:o})}for(let s in n)s!="scroll"&&!i[s]&&r.removeEventListener(s,this.handleEvent);this.handlers=i}keydown(e){if(this.lastKeyCode=e.keyCode,this.lastKeyTime=Date.now(),e.keyCode==9&&Date.now()n.keyCode==e.keyCode))&&!e.ctrlKey||ox.indexOf(e.key)>-1&&e.ctrlKey&&!e.shiftKey)?(this.pendingIOSKey=i||e,setTimeout(()=>this.flushIOSKey(),250),!0):(e.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(){let e=this.pendingIOSKey;return e?(this.pendingIOSKey=void 0,zn(this.view.contentDOM,e.key,e.keyCode)):!1}ignoreDuringComposition(e){return/^key/.test(e.type)?this.composing>0?!0:F.safari&&!F.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(e){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=e}update(e){this.mouseSelection&&this.mouseSelection.update(e),this.draggedContent&&e.docChanged&&(this.draggedContent=this.draggedContent.map(e.changes)),e.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function vf(t,e){return(i,n)=>{try{return e.call(t,n,i)}catch(r){At(i.state,r)}}}function sx(t){let e=Object.create(null);function i(n){return e[n]||(e[n]={observers:[],handlers:[]})}for(let n of t){let r=n.spec;if(r&&r.domEventHandlers)for(let s in r.domEventHandlers){let o=r.domEventHandlers[s];o&&i(s).handlers.push(vf(n.value,o))}if(r&&r.domEventObservers)for(let s in r.domEventObservers){let o=r.domEventObservers[s];o&&i(s).observers.push(vf(n.value,o))}}for(let n in Ht)i(n).handlers.push(Ht[n]);for(let n in Kt)i(n).observers.push(Kt[n]);return e}const pm=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],ox="dthko",mm=[16,17,18,20,91,92,224,225],Ks=6;function Js(t){return Math.max(0,t)*.7+8}function lx(t,e){return Math.max(Math.abs(t.clientX-e.clientX),Math.abs(t.clientY-e.clientY))}class ax{constructor(e,i,n,r){this.view=e,this.startEvent=i,this.style=n,this.mustSelect=r,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=i,this.scrollParent=ky(e.contentDOM),this.atoms=e.state.facet(hc).map(o=>o(e));let s=e.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=i.shiftKey,this.multiple=e.state.facet(oe.allowMultipleSelections)&&ux(e,i),this.dragging=hx(e,i)&&ym(i)==1?null:!1}start(e){this.dragging===!1&&this.select(e)}move(e){var i;if(e.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&lx(this.startEvent,e)<10)return;this.select(this.lastEvent=e);let n=0,r=0,s=((i=this.scrollParent)===null||i===void 0?void 0:i.getBoundingClientRect())||{left:0,top:0,right:this.view.win.innerWidth,bottom:this.view.win.innerHeight},o=cm(this.view);e.clientX-o.left<=s.left+Ks?n=-Js(s.left-e.clientX):e.clientX+o.right>=s.right-Ks&&(n=Js(e.clientX-s.right)),e.clientY-o.top<=s.top+Ks?r=-Js(s.top-e.clientY):e.clientY+o.bottom>=s.bottom-Ks&&(r=Js(e.clientY-s.bottom)),this.setScrollSpeed(n,r)}up(e){this.dragging==null&&this.select(this.lastEvent),this.dragging||e.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let e=this.view.contentDOM.ownerDocument;e.removeEventListener("mousemove",this.move),e.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(e,i){this.scrollSpeed={x:e,y:i},e||i?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){this.scrollParent?(this.scrollParent.scrollLeft+=this.scrollSpeed.x,this.scrollParent.scrollTop+=this.scrollSpeed.y):this.view.win.scrollBy(this.scrollSpeed.x,this.scrollSpeed.y),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(e){let i=null;for(let n=0;nthis.select(this.lastEvent),20)}}function ux(t,e){let i=t.state.facet(Jp);return i.length?i[0](e):F.mac?e.metaKey:e.ctrlKey}function cx(t,e){let i=t.state.facet(em);return i.length?i[0](e):F.mac?!e.altKey:!e.ctrlKey}function hx(t,e){let{main:i}=t.state.selection;if(i.empty)return!1;let n=No(t.root);if(!n||n.rangeCount==0)return!0;let r=n.getRangeAt(0).getClientRects();for(let s=0;s=e.clientX&&o.top<=e.clientY&&o.bottom>=e.clientY)return!0}return!1}function fx(t,e){if(!e.bubbles)return!0;if(e.defaultPrevented)return!1;for(let i=e.target,n;i!=t.contentDOM;i=i.parentNode)if(!i||i.nodeType==11||(n=Pe.get(i))&&n.ignoreEvent(e))return!1;return!0}const Ht=Object.create(null),Kt=Object.create(null),Om=F.ie&&F.ie_version<15||F.ios&&F.webkit_version<604;function dx(t){let e=t.dom.parentNode;if(!e)return;let i=e.appendChild(document.createElement("textarea"));i.style.cssText="position: fixed; left: -10000px; top: 10px",i.focus(),setTimeout(()=>{t.focus(),i.remove(),gm(t,i.value)},50)}function gm(t,e){let{state:i}=t,n,r=1,s=i.toText(e),o=s.lines==i.selection.ranges.length;if(mu!=null&&i.selection.ranges.every(a=>a.empty)&&mu==s.toString()){let a=-1;n=i.changeByRange(u=>{let c=i.doc.lineAt(u.from);if(c.from==a)return{range:u};a=c.from;let h=i.toText((o?s.line(r++).text:e)+i.lineBreak);return{changes:{from:c.from,insert:h},range:T.cursor(u.from+h.length)}})}else o?n=i.changeByRange(a=>{let u=s.line(r++);return{changes:{from:a.from,to:a.to,insert:u.text},range:T.cursor(a.from+u.length)}}):n=i.replaceSelection(s);t.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}Kt.scroll=t=>{t.inputState.lastScrollTop=t.scrollDOM.scrollTop,t.inputState.lastScrollLeft=t.scrollDOM.scrollLeft};Ht.keydown=(t,e)=>(t.inputState.setSelectionOrigin("select"),e.keyCode==27&&(t.inputState.lastEscPress=Date.now()),!1);Kt.touchstart=(t,e)=>{t.inputState.lastTouchTime=Date.now(),t.inputState.setSelectionOrigin("select.pointer")};Kt.touchmove=t=>{t.inputState.setSelectionOrigin("select.pointer")};Ht.mousedown=(t,e)=>{if(t.observer.flush(),t.inputState.lastTouchTime>Date.now()-2e3)return!1;let i=null;for(let n of t.state.facet(tm))if(i=n(t,e),i)break;if(!i&&e.button==0&&(i=Ox(t,e)),i){let n=!t.hasFocus;t.inputState.startMouseSelection(new ax(t,e,i,n)),n&&t.observer.ignore(()=>Ip(t.contentDOM));let r=t.inputState.mouseSelection;if(r)return r.start(e),r.dragging===!1}return!1};function Sf(t,e,i,n){if(n==1)return T.cursor(e,i);if(n==2)return Uy(t.state,e,i);{let r=Ve.find(t.docView,e),s=t.state.doc.lineAt(r?r.posAtEnd:e),o=r?r.posAtStart:s.from,l=r?r.posAtEnd:s.to;return lt>=e.top&&t<=e.bottom,wf=(t,e,i)=>bm(e,i)&&t>=i.left&&t<=i.right;function px(t,e,i,n){let r=Ve.find(t.docView,e);if(!r)return 1;let s=e-r.posAtStart;if(s==0)return 1;if(s==r.length)return-1;let o=r.coordsAt(s,-1);if(o&&wf(i,n,o))return-1;let l=r.coordsAt(s,1);return l&&wf(i,n,l)?1:o&&bm(n,o)?-1:1}function _f(t,e){let i=t.posAtCoords({x:e.clientX,y:e.clientY},!1);return{pos:i,bias:px(t,i,e.clientX,e.clientY)}}const mx=F.ie&&F.ie_version<=11;let $f=null,Pf=0,Cf=0;function ym(t){if(!mx)return t.detail;let e=$f,i=Cf;return $f=t,Cf=Date.now(),Pf=!e||i>Date.now()-400&&Math.abs(e.clientX-t.clientX)<2&&Math.abs(e.clientY-t.clientY)<2?(Pf+1)%3:1}function Ox(t,e){let i=_f(t,e),n=ym(e),r=t.state.selection;return{update(s){s.docChanged&&(i.pos=s.changes.mapPos(i.pos),r=r.map(s.changes))},get(s,o,l){let a=_f(t,s),u,c=Sf(t,a.pos,a.bias,n);if(i.pos!=a.pos&&!o){let h=Sf(t,i.pos,i.bias,n),f=Math.min(h.from,c.from),d=Math.max(h.to,c.to);c=f1&&(u=gx(r,a.pos))?u:l?r.addRange(c):T.create([c])}}}function gx(t,e){for(let i=0;i=e)return T.create(t.ranges.slice(0,i).concat(t.ranges.slice(i+1)),t.mainIndex==i?0:t.mainIndex-(t.mainIndex>i?1:0))}return null}Ht.dragstart=(t,e)=>{let{selection:{main:i}}=t.state;if(e.target.draggable){let r=t.docView.nearest(e.target);if(r&&r.isWidget){let s=r.posAtStart,o=s+r.length;(s>=i.to||o<=i.from)&&(i=T.range(s,o))}}let{inputState:n}=t;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=i,e.dataTransfer&&(e.dataTransfer.setData("Text",t.state.sliceDoc(i.from,i.to)),e.dataTransfer.effectAllowed="copyMove"),!1};Ht.dragend=t=>(t.inputState.draggedContent=null,!1);function Qf(t,e,i,n){if(!i)return;let r=t.posAtCoords({x:e.clientX,y:e.clientY},!1),{draggedContent:s}=t.inputState,o=n&&s&&cx(t,e)?{from:s.from,to:s.to}:null,l={from:r,insert:i},a=t.state.changes(o?[o,l]:l);t.focus(),t.dispatch({changes:a,selection:{anchor:a.mapPos(r,-1),head:a.mapPos(r,1)},userEvent:o?"move.drop":"input.drop"}),t.inputState.draggedContent=null}Ht.drop=(t,e)=>{if(!e.dataTransfer)return!1;if(t.state.readOnly)return!0;let i=e.dataTransfer.files;if(i&&i.length){let n=Array(i.length),r=0,s=()=>{++r==i.length&&Qf(t,e,n.filter(o=>o!=null).join(t.state.lineBreak),!1)};for(let o=0;o{/[\x00-\x08\x0e-\x1f]{2}/.test(l.result)||(n[o]=l.result),s()},l.readAsText(i[o])}return!0}else{let n=e.dataTransfer.getData("Text");if(n)return Qf(t,e,n,!0),!0}return!1};Ht.paste=(t,e)=>{if(t.state.readOnly)return!0;t.observer.flush();let i=Om?null:e.clipboardData;return i?(gm(t,i.getData("text/plain")||i.getData("text/uri-text")),!0):(dx(t),!1)};function bx(t,e){let i=t.dom.parentNode;if(!i)return;let n=i.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=e,n.focus(),n.selectionEnd=e.length,n.selectionStart=0,setTimeout(()=>{n.remove(),t.focus()},50)}function yx(t){let e=[],i=[],n=!1;for(let r of t.selection.ranges)r.empty||(e.push(t.sliceDoc(r.from,r.to)),i.push(r));if(!e.length){let r=-1;for(let{from:s}of t.selection.ranges){let o=t.doc.lineAt(s);o.number>r&&(e.push(o.text),i.push({from:o.from,to:Math.min(t.doc.length,o.to+1)})),r=o.number}n=!0}return{text:e.join(t.lineBreak),ranges:i,linewise:n}}let mu=null;Ht.copy=Ht.cut=(t,e)=>{let{text:i,ranges:n,linewise:r}=yx(t.state);if(!i&&!r)return!1;mu=r?i:null,e.type=="cut"&&!t.state.readOnly&&t.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=Om?null:e.clipboardData;return s?(s.clearData(),s.setData("text/plain",i),!0):(bx(t,i),!1)};const xm=Qi.define();function km(t,e){let i=[];for(let n of t.facet(rm)){let r=n(t,e);r&&i.push(r)}return i?t.update({effects:i,annotations:xm.of(!0)}):null}function vm(t){setTimeout(()=>{let e=t.hasFocus;if(e!=t.inputState.notifiedFocused){let i=km(t.state,e);i?t.dispatch(i):t.update([])}},10)}Kt.focus=t=>{t.inputState.lastFocusTime=Date.now(),!t.scrollDOM.scrollTop&&(t.inputState.lastScrollTop||t.inputState.lastScrollLeft)&&(t.scrollDOM.scrollTop=t.inputState.lastScrollTop,t.scrollDOM.scrollLeft=t.inputState.lastScrollLeft),vm(t)};Kt.blur=t=>{t.observer.clearSelectionRange(),vm(t)};Kt.compositionstart=Kt.compositionupdate=t=>{t.inputState.compositionFirstChange==null&&(t.inputState.compositionFirstChange=!0),t.inputState.composing<0&&(t.inputState.composing=0,t.docView.maybeCreateCompositionBarrier()&&(t.update([]),t.docView.clearCompositionBarrier()))};Kt.compositionend=t=>{t.inputState.composing=-1,t.inputState.compositionEndedAt=Date.now(),t.inputState.compositionPendingKey=!0,t.inputState.compositionPendingChange=t.observer.pendingRecords().length>0,t.inputState.compositionFirstChange=null,F.chrome&&F.android?t.observer.flushSoon():t.inputState.compositionPendingChange?Promise.resolve().then(()=>t.observer.flush()):setTimeout(()=>{t.inputState.composing<0&&t.docView.hasComposition&&t.update([])},50)};Kt.contextmenu=t=>{t.inputState.lastContextMenu=Date.now()};Ht.beforeinput=(t,e)=>{var i;let n;if(F.chrome&&F.android&&(n=pm.find(r=>r.inputType==e.inputType))&&(t.observer.delayAndroidKey(n.key,n.keyCode),n.key=="Backspace"||n.key=="Delete")){let r=((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0;setTimeout(()=>{var s;(((s=window.visualViewport)===null||s===void 0?void 0:s.height)||0)>r+10&&t.hasFocus&&(t.contentDOM.blur(),t.focus())},100)}return!1};const Af=new Set;function xx(t){Af.has(t)||(Af.add(t),t.addEventListener("copy",()=>{}),t.addEventListener("cut",()=>{}))}const Tf=["pre-wrap","normal","pre-line","break-spaces"];class kx{constructor(e){this.lineWrapping=e,this.doc=ue.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30,this.heightChanged=!1}heightForGap(e,i){let n=this.doc.lineAt(i).number-this.doc.lineAt(e).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((i-e-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(e){return this.lineWrapping?(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){return Tf.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let i=!1;for(let n=0;n-1,a=Math.round(i)!=Math.round(this.lineHeight)||this.lineWrapping!=l;if(this.lineWrapping=l,this.lineHeight=i,this.charWidth=n,this.textHeight=r,this.lineLength=s,a){this.heightSamples={};for(let u=0;u0}set outdated(e){this.flags=(e?2:0)|this.flags&-3}setHeight(e,i){this.height!=i&&(Math.abs(this.height-i)>Zo&&(e.heightChanged=!0),this.height=i)}replace(e,i,n){return ut.of(n)}decomposeLeft(e,i){i.push(this)}decomposeRight(e,i){i.push(this)}applyChanges(e,i,n,r){let s=this,o=n.doc;for(let l=r.length-1;l>=0;l--){let{fromA:a,toA:u,fromB:c,toB:h}=r[l],f=s.lineAt(a,we.ByPosNoHeight,n.setDoc(i),0,0),d=f.to>=u?f:s.lineAt(u,we.ByPosNoHeight,n,0,0);for(h+=d.to-u,u=d.to;l>0&&f.from<=r[l-1].toA;)a=r[l-1].fromA,c=r[l-1].fromB,l--,as*2){let l=e[i-1];l.break?e.splice(--i,1,l.left,null,l.right):e.splice(--i,1,l.left,l.right),n+=1+l.break,r-=l.size}else if(s>r*2){let l=e[n];l.break?e.splice(n,1,l.left,null,l.right):e.splice(n,1,l.left,l.right),n+=2+l.break,s-=l.size}else break;else if(r=s&&o(this.blockAt(0,n,r,s))}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more&&this.setHeight(e,r.heights[r.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class wt extends Sm{constructor(e,i){super(e,i,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(e,i,n,r){return new ci(r,this.length,n,this.height,this.breaks)}replace(e,i,n){let r=n[0];return n.length==1&&(r instanceof wt||r instanceof Ne&&r.flags&4)&&Math.abs(this.length-r.length)<10?(r instanceof Ne?r=new wt(r.length,this.height):r.height=this.height,this.outdated||(r.outdated=!1),r):ut.of(n)}updateHeight(e,i=0,n=!1,r){return r&&r.from<=i&&r.more?this.setHeight(e,r.heights[r.index++]):(n||this.outdated)&&this.setHeight(e,Math.max(this.widgetHeight,e.heightForLine(this.length-this.collapsed))+this.breaks*e.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class Ne extends ut{constructor(e){super(e,0)}heightMetrics(e,i){let n=e.doc.lineAt(i).number,r=e.doc.lineAt(i+this.length).number,s=r-n+1,o,l=0;if(e.lineWrapping){let a=Math.min(this.height,e.lineHeight*s);o=a/s,this.length>s+1&&(l=(this.height-a)/(this.length-s-1))}else o=this.height/s;return{firstLine:n,lastLine:r,perLine:o,perChar:l}}blockAt(e,i,n,r){let{firstLine:s,lastLine:o,perLine:l,perChar:a}=this.heightMetrics(i,r);if(i.lineWrapping){let u=r+Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length),c=i.doc.lineAt(u),h=l+c.length*a,f=Math.max(n,e-h/2);return new ci(c.from,c.length,f,h,0)}else{let u=Math.max(0,Math.min(o-s,Math.floor((e-n)/l))),{from:c,length:h}=i.doc.line(s+u);return new ci(c,h,n+l*u,l,0)}}lineAt(e,i,n,r,s){if(i==we.ByHeight)return this.blockAt(e,n,r,s);if(i==we.ByPosNoHeight){let{from:d,to:p}=n.doc.lineAt(e);return new ci(d,p-d,0,0,0)}let{firstLine:o,perLine:l,perChar:a}=this.heightMetrics(n,s),u=n.doc.lineAt(e),c=l+u.length*a,h=u.number-o,f=r+l*h+a*(u.from-s-h);return new ci(u.from,u.length,Math.max(r,Math.min(f,r+this.height-c)),c,0)}forEachLine(e,i,n,r,s,o){e=Math.max(e,s),i=Math.min(i,s+this.length);let{firstLine:l,perLine:a,perChar:u}=this.heightMetrics(n,s);for(let c=e,h=r;c<=i;){let f=n.doc.lineAt(c);if(c==e){let p=f.number-l;h+=a*p+u*(e-s-p)}let d=a+u*f.length;o(new ci(f.from,f.length,h,d,0)),h+=d,c=f.to+1}}replace(e,i,n){let r=this.length-i;if(r>0){let s=n[n.length-1];s instanceof Ne?n[n.length-1]=new Ne(s.length+r):n.push(null,new Ne(r-1))}if(e>0){let s=n[0];s instanceof Ne?n[0]=new Ne(e+s.length):n.unshift(new Ne(e-1),null)}return ut.of(n)}decomposeLeft(e,i){i.push(new Ne(e-1),null)}decomposeRight(e,i){i.push(null,new Ne(this.length-e-1))}updateHeight(e,i=0,n=!1,r){let s=i+this.length;if(r&&r.from<=i+this.length&&r.more){let o=[],l=Math.max(i,r.from),a=-1;for(r.from>i&&o.push(new Ne(r.from-i-1).updateHeight(e,i));l<=s&&r.more;){let c=e.doc.lineAt(l).length;o.length&&o.push(null);let h=r.heights[r.index++];a==-1?a=h:Math.abs(h-a)>=Zo&&(a=-2);let f=new wt(c,h);f.outdated=!1,o.push(f),l+=c+1}l<=s&&o.push(null,new Ne(s-l).updateHeight(e,l));let u=ut.of(o);return(a<0||Math.abs(u.height-this.height)>=Zo||Math.abs(a-this.heightMetrics(e,i).perLine)>=Zo)&&(e.heightChanged=!0),u}else(n||this.outdated)&&(this.setHeight(e,e.heightForGap(i,i+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class Sx extends ut{constructor(e,i,n){super(e.length+i+n.length,e.height+n.height,i|(e.outdated||n.outdated?2:0)),this.left=e,this.right=n,this.size=e.size+n.size}get break(){return this.flags&1}blockAt(e,i,n,r){let s=n+this.left.height;return el))return u;let c=i==we.ByPosNoHeight?we.ByPosNoHeight:we.ByPos;return a?u.join(this.right.lineAt(l,c,n,o,l)):this.left.lineAt(l,c,n,r,s).join(u)}forEachLine(e,i,n,r,s,o){let l=r+this.left.height,a=s+this.left.length+this.break;if(this.break)e=a&&this.right.forEachLine(e,i,n,l,a,o);else{let u=this.lineAt(a,we.ByPos,n,r,s);e=e&&u.from<=i&&o(u),i>u.to&&this.right.forEachLine(u.to+1,i,n,l,a,o)}}replace(e,i,n){let r=this.left.length+this.break;if(ithis.left.length)return this.balanced(this.left,this.right.replace(e-r,i-r,n));let s=[];e>0&&this.decomposeLeft(e,s);let o=s.length;for(let l of n)s.push(l);if(e>0&&Ef(s,o-1),i=n&&i.push(null)),e>n&&this.right.decomposeLeft(e-n,i)}decomposeRight(e,i){let n=this.left.length,r=n+this.break;if(e>=r)return this.right.decomposeRight(e-r,i);e2*i.size||i.size>2*e.size?ut.of(this.break?[e,null,i]:[e,i]):(this.left=e,this.right=i,this.height=e.height+i.height,this.outdated=e.outdated||i.outdated,this.size=e.size+i.size,this.length=e.length+this.break+i.length,this)}updateHeight(e,i=0,n=!1,r){let{left:s,right:o}=this,l=i+s.length+this.break,a=null;return r&&r.from<=i+s.length&&r.more?a=s=s.updateHeight(e,i,n,r):s.updateHeight(e,i,n),r&&r.from<=l+o.length&&r.more?a=o=o.updateHeight(e,l,n,r):o.updateHeight(e,l,n),a?this.balanced(s,o):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function Ef(t,e){let i,n;t[e]==null&&(i=t[e-1])instanceof Ne&&(n=t[e+1])instanceof Ne&&t.splice(e-1,3,new Ne(i.length+1+n.length))}const wx=5;class fc{constructor(e,i){this.pos=e,this.oracle=i,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,i){if(this.lineStart>-1){let n=Math.min(i,this.lineEnd),r=this.nodes[this.nodes.length-1];r instanceof wt?r.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new wt(n-this.pos,-1)),this.writtenTo=n,i>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=i}point(e,i,n){if(e=wx)&&this.addLineDeco(r,s,o)}else i>e&&this.span(e,i);this.lineEnd>-1&&this.lineEnd-1)return;let{from:e,to:i}=this.oracle.doc.lineAt(this.pos);this.lineStart=e,this.lineEnd=i,this.writtenToe&&this.nodes.push(new wt(this.pos-e,-1)),this.writtenTo=this.pos}blankContent(e,i){let n=new Ne(i-e);return this.oracle.doc.lineAt(e).to==i&&(n.flags|=4),n}ensureLine(){this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(e instanceof wt)return e;let i=new wt(0,-1);return this.nodes.push(i),i}addBlock(e){this.enterLine();let i=e.deco;i&&i.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(e),this.writtenTo=this.pos=this.pos+e.length,i&&i.endSide>0&&(this.covering=e)}addLineDeco(e,i,n){let r=this.ensureLine();r.length+=n,r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=i,this.writtenTo=this.pos=this.pos+n}finish(e){let i=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(i instanceof wt)&&!this.isCovered?this.nodes.push(new wt(0,-1)):(this.writtenToc.clientHeight||c.scrollWidth>c.clientWidth)&&h.overflow!="visible"){let f=c.getBoundingClientRect();s=Math.max(s,f.left),o=Math.min(o,f.right),l=Math.max(l,f.top),a=u==t.parentNode?f.bottom:Math.min(a,f.bottom)}u=h.position=="absolute"||h.position=="fixed"?c.offsetParent:c.parentNode}else if(u.nodeType==11)u=u.host;else break;return{left:s-i.left,right:Math.max(s,o)-i.left,top:l-(i.top+e),bottom:Math.max(l,a)-(i.top+e)}}function Cx(t,e){let i=t.getBoundingClientRect();return{left:0,right:i.right-i.left,top:e,bottom:i.bottom-(i.top+e)}}class ea{constructor(e,i,n){this.from=e,this.to=i,this.size=n}static same(e,i){if(e.length!=i.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new kx(i),this.stateDeco=e.facet(ns).filter(n=>typeof n!="function"),this.heightMap=ut.empty().applyChanges(this.stateDeco,ue.empty,this.heightOracle.setDoc(e.doc),[new Dt(0,0,0,e.doc.length)]),this.viewport=this.getViewport(0,null),this.updateViewportLines(),this.updateForViewport(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=he.set(this.lineGaps.map(n=>n.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let e=[this.viewport],{main:i}=this.state.selection;for(let n=0;n<=1;n++){let r=n?i.head:i.anchor;if(!e.some(({from:s,to:o})=>r>=s&&r<=o)){let{from:s,to:o}=this.lineBlockAt(r);e.push(new eo(s,o))}}this.viewports=e.sort((n,r)=>n.from-r.from),this.scaler=this.heightMap.height<=7e6?Df:new Ex(this.heightOracle,this.heightMap,this.viewports)}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,e=>{this.viewportLines.push(this.scaler.scale==1?e:Xr(e,this.scaler))})}update(e,i=null){this.state=e.state;let n=this.stateDeco;this.stateDeco=this.state.facet(ns).filter(c=>typeof c!="function");let r=e.changedRanges,s=Dt.extendWithRanges(r,_x(n,this.stateDeco,e?e.changes:Fe.empty(this.state.doc.length))),o=this.heightMap.height,l=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),s),this.heightMap.height!=o&&(e.flags|=2),l?(this.scrollAnchorPos=e.changes.mapPos(l.from,-1),this.scrollAnchorHeight=l.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let a=s.length?this.mapViewport(this.viewport,e.changes):this.viewport;(i&&(i.range.heada.to)||!this.viewportIsAppropriate(a))&&(a=this.getViewport(0,i));let u=!e.changes.empty||e.flags&2||a.from!=this.viewport.from||a.to!=this.viewport.to;this.viewport=a,this.updateForViewport(),u&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,e.changes))),e.flags|=this.computeVisibleRanges(),i&&(this.scrollTarget=i),!this.mustEnforceCursorAssoc&&e.selectionSet&&e.view.lineWrapping&&e.state.selection.main.empty&&e.state.selection.main.assoc&&!e.state.facet(My)&&(this.mustEnforceCursorAssoc=!0)}measure(e){let i=e.contentDOM,n=window.getComputedStyle(i),r=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Xe.RTL:Xe.LTR;let o=this.heightOracle.mustRefreshForWrapping(s),l=i.getBoundingClientRect(),a=o||this.mustMeasureContent||this.contentDOMHeight!=l.height;this.contentDOMHeight=l.height,this.mustMeasureContent=!1;let u=0,c=0;if(l.width&&l.height){let{scaleX:S,scaleY:_}=Rp(i,l);(this.scaleX!=S||this.scaleY!=_)&&(this.scaleX=S,this.scaleY=_,u|=8,o=a=!0)}let h=(parseInt(n.paddingTop)||0)*this.scaleY,f=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=h||this.paddingBottom!=f)&&(this.paddingTop=h,this.paddingBottom=f,u|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.lineWrapping&&(a=!0),this.editorWidth=e.scrollDOM.clientWidth,u|=8);let d=e.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=d&&(this.scrollAnchorHeight=-1,this.scrollTop=d),this.scrolledToBottom=Xp(e.scrollDOM);let p=(this.printing?Cx:Px)(i,this.paddingTop),m=p.top-this.pixelViewport.top,g=p.bottom-this.pixelViewport.bottom;this.pixelViewport=p;let O=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(O!=this.inView&&(this.inView=O,O&&(a=!0)),!this.inView&&!this.scrollTarget)return 0;let y=l.width;if((this.contentDOMWidth!=y||this.editorHeight!=e.scrollDOM.clientHeight)&&(this.contentDOMWidth=l.width,this.editorHeight=e.scrollDOM.clientHeight,u|=8),a){let S=e.docView.measureVisibleLineHeights(this.viewport);if(r.mustRefreshForHeights(S)&&(o=!0),o||r.lineWrapping&&Math.abs(y-this.contentDOMWidth)>r.charWidth){let{lineHeight:_,charWidth:A,textHeight:C}=e.docView.measureTextSize();o=_>0&&r.refresh(s,_,A,C,y/A,S),o&&(e.docView.minWidth=0,u|=8)}m>0&&g>0?c=Math.max(m,g):m<0&&g<0&&(c=Math.min(m,g)),r.heightChanged=!1;for(let _ of this.viewports){let A=_.from==this.viewport.from?S:e.docView.measureVisibleLineHeights(_);this.heightMap=(o?ut.empty().applyChanges(this.stateDeco,ue.empty,this.heightOracle,[new Dt(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,o,new vx(_.from,A))}r.heightChanged&&(u|=2)}let v=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return v&&(this.viewport=this.getViewport(c,this.scrollTarget)),this.updateForViewport(),(u&2||v)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(o?[]:this.lineGaps,e)),u|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,e.docView.enforceCursorAssoc()),u}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(e,i){let n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,s=this.heightOracle,{visibleTop:o,visibleBottom:l}=this,a=new eo(r.lineAt(o-n*1e3,we.ByHeight,s,0,0).from,r.lineAt(l+(1-n)*1e3,we.ByHeight,s,0,0).to);if(i){let{head:u}=i.range;if(ua.to){let c=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),h=r.lineAt(u,we.ByPos,s,0,0),f;i.y=="center"?f=(h.top+h.bottom)/2-c/2:i.y=="start"||i.y=="nearest"&&u=l+Math.max(10,Math.min(n,250)))&&r>o-2*1e3&&s>1,o=r<<1;if(this.defaultTextDirection!=Xe.LTR&&!n)return[];let l=[],a=(u,c,h,f)=>{if(c-uu&&gg.from>=h.from&&g.to<=h.to&&Math.abs(g.from-u)g.fromO));if(!m){if(cg.from<=c&&g.to>=c)){let g=i.moveToLineBoundary(T.cursor(c),!1,!0).head;g>u&&(c=g)}m=new ea(u,c,this.gapSize(h,u,c,f))}l.push(m)};for(let u of this.viewportLines){if(u.lengthu.from&&a(u.from,f,u,c),di.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(){let e=this.stateDeco;this.lineGaps.length&&(e=e.concat(this.lineGapDeco));let i=[];_e.spans(e,this.viewport.from,this.viewport.to,{span(r,s){i.push({from:r,to:s})},point(){}},20);let n=i.length!=this.visibleRanges.length||this.visibleRanges.some((r,s)=>r.from!=i[s].from||r.to!=i[s].to);return this.visibleRanges=i,n?4:0}lineBlockAt(e){return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find(i=>i.from<=e&&i.to>=e)||Xr(this.heightMap.lineAt(e,we.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(e){return Xr(this.heightMap.lineAt(this.scaler.fromDOM(e),we.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(e){let i=this.lineBlockAtHeight(e+8);return i.from>=this.viewport.from||this.viewportLines[0].top-e>200?i:this.viewportLines[0]}elementAtHeight(e){return Xr(this.heightMap.blockAt(this.scaler.fromDOM(e),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class eo{constructor(e,i){this.from=e,this.to=i}}function Ax(t,e,i){let n=[],r=t,s=0;return _e.spans(i,t,e,{span(){},point(o,l){o>r&&(n.push({from:r,to:o}),s+=o-r),r=l}},20),r=1)return e[e.length-1].to;let n=Math.floor(t*i);for(let r=0;;r++){let{from:s,to:o}=e[r],l=o-s;if(n<=l)return s+n;n-=l}}function io(t,e){let i=0;for(let{from:n,to:r}of t.ranges){if(e<=r){i+=e-n;break}i+=r-n}return i/t.total}function Tx(t,e){for(let i of t)if(e(i))return i}const Df={toDOM(t){return t},fromDOM(t){return t},scale:1};class Ex{constructor(e,i,n){let r=0,s=0,o=0;this.viewports=n.map(({from:l,to:a})=>{let u=i.lineAt(l,we.ByPos,e,0,0).top,c=i.lineAt(a,we.ByPos,e,0,0).bottom;return r+=c-u,{from:l,to:a,top:u,bottom:c,domTop:0,domBottom:0}}),this.scale=(7e6-r)/(i.height-r);for(let l of this.viewports)l.domTop=o+(l.top-s)*this.scale,o=l.domBottom=l.domTop+(l.bottom-l.top),s=l.bottom}toDOM(e){for(let i=0,n=0,r=0;;i++){let s=iXr(r,e)):t._content)}const no=N.define({combine:t=>t.join(" ")}),Ou=N.define({combine:t=>t.indexOf(!0)>-1}),gu=Ji.newName(),wm=Ji.newName(),_m=Ji.newName(),$m={"&light":"."+wm,"&dark":"."+_m};function bu(t,e,i){return new Ji(e,{finish(n){return/&/.test(n)?n.replace(/&\w*/,r=>{if(r=="&")return t;if(!i||!i[r])throw new RangeError(`Unsupported selector: ${r}`);return i[r]}):t+" "+n}})}const Zx=bu("."+gu,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#444"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace:before":{content:"attr(data-display)",position:"absolute",pointerEvents:"none",color:"#888"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},$m),Mr="￿";class Dx{constructor(e,i){this.points=e,this.text="",this.lineSeparator=i.facet(oe.lineSeparator)}append(e){this.text+=e}lineBreak(){this.text+=Mr}readRange(e,i){if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r);let s=this.text.length;this.readNode(r);let o=r.nextSibling;if(o==i)break;let l=Pe.get(r),a=Pe.get(o);(l&&a?l.breakAfter:(l?l.breakAfter:Rf(r))||Rf(o)&&(r.nodeName!="BR"||r.cmIgnore)&&this.text.length>s)&&this.lineBreak(),r=o}return this.findPointBefore(n,i),this}readTextNode(e){let i=e.nodeValue;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,i.length));for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,o=1,l;if(this.lineSeparator?(s=i.indexOf(this.lineSeparator,n),o=this.lineSeparator.length):(l=r.exec(i))&&(s=l.index,o=l[0].length),this.append(i.slice(n,s<0?i.length:s)),s<0)break;if(this.lineBreak(),o>1)for(let a of this.points)a.node==e&&a.pos>this.text.length&&(a.pos-=o-1);n=s+o}}readNode(e){if(e.cmIgnore)return;let i=Pe.get(e),n=i&&i.overrideDOMText;if(n!=null){this.findPointInside(e,n.length);for(let r=n.iter();!r.next().done;)r.lineBreak?this.lineBreak():this.append(r.value)}else e.nodeType==3?this.readTextNode(e):e.nodeName=="BR"?e.nextSibling&&this.lineBreak():e.nodeType==1&&this.readRange(e.firstChild,null)}findPointBefore(e,i){for(let n of this.points)n.node==e&&e.childNodes[n.offset]==i&&(n.pos=this.text.length)}findPointInside(e,i){for(let n of this.points)(e.nodeType==3?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(Rx(e,n.node,n.offset)?i:0))}}function Rx(t,e,i){for(;;){if(!e||i<$i(e))return!1;if(e==t)return!0;i=is(e)+1,e=e.parentNode}}function Rf(t){return t.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(t.nodeName)}class If{constructor(e,i){this.node=e,this.offset=i,this.pos=-1}}class Ix{constructor(e,i,n,r){this.typeOver=r,this.bounds=null,this.text="";let{impreciseHead:s,impreciseAnchor:o}=e.docView;if(e.state.readOnly&&i>-1)this.newSel=null;else if(i>-1&&(this.bounds=e.docView.domBoundsAround(i,n,0))){let l=s||o?[]:Mx(e),a=new Dx(l,e.state);a.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=a.text,this.newSel=Wx(l,this.bounds.from)}else{let l=e.observer.selectionRange,a=s&&s.node==l.focusNode&&s.offset==l.focusOffset||!nu(e.contentDOM,l.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(l.focusNode,l.focusOffset),u=o&&o.node==l.anchorNode&&o.offset==l.anchorOffset||!nu(e.contentDOM,l.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(l.anchorNode,l.anchorOffset),c=e.viewport;if((F.ios||F.chrome)&&e.state.selection.main.empty&&a!=u&&(c.from>0||c.toDate.now()-100?t.inputState.lastKeyCode:-1;if(e.bounds){let{from:o,to:l}=e.bounds,a=r.from,u=null;(s===8||F.android&&e.text.length=r.from&&i.to<=r.to&&(i.from!=r.from||i.to!=r.to)&&r.to-r.from-(i.to-i.from)<=4?i={from:r.from,to:r.to,insert:t.state.doc.slice(r.from,i.from).append(i.insert).append(t.state.doc.slice(i.to,r.to))}:(F.mac||F.android)&&i&&i.from==i.to&&i.from==r.head-1&&/^\. ?$/.test(i.insert.toString())&&t.contentDOM.getAttribute("autocorrect")=="off"?(n&&i.insert.length==2&&(n=T.single(n.main.anchor-1,n.main.head-1)),i={from:r.from,to:r.to,insert:ue.of([" "])}):F.chrome&&i&&i.from==i.to&&i.from==r.head&&i.insert.toString()==` + `&&t.lineWrapping&&(n&&(n=T.single(n.main.anchor-1,n.main.head-1)),i={from:r.from,to:r.to,insert:ue.of([" "])}),i){if(F.ios&&t.inputState.flushIOSKey()||F.android&&(i.to==r.to&&(i.from==r.from||i.from==r.from-1&&t.state.sliceDoc(i.from,r.from)==" ")&&i.insert.length==1&&i.insert.lines==2&&zn(t.contentDOM,"Enter",13)||(i.from==r.from-1&&i.to==r.to&&i.insert.length==0||s==8&&i.insert.lengthr.head)&&zn(t.contentDOM,"Backspace",8)||i.from==r.from&&i.to==r.to+1&&i.insert.length==0&&zn(t.contentDOM,"Delete",46)))return!0;let o=i.insert.toString();t.inputState.composing>=0&&t.inputState.composing++;let l,a=()=>l||(l=Lx(t,i,n));return t.state.facet(nm).some(u=>u(t,i.from,i.to,o,a))||t.dispatch(a()),!0}else if(n&&!n.main.eq(r)){let o=!1,l="select";return t.inputState.lastSelectionTime>Date.now()-50&&(t.inputState.lastSelectionOrigin=="select"&&(o=!0),l=t.inputState.lastSelectionOrigin),t.dispatch({selection:n,scrollIntoView:o,userEvent:l}),!0}else return!1}function Lx(t,e,i){let n,r=t.state,s=r.selection.main;if(e.from>=s.from&&e.to<=s.to&&e.to-e.from>=(s.to-s.from)/3&&(!i||i.main.empty&&i.main.from==e.from+e.insert.length)&&t.inputState.composing<0){let l=s.frome.to?r.sliceDoc(e.to,s.to):"";n=r.replaceSelection(t.state.toText(l+e.insert.sliceString(0,void 0,t.state.lineBreak)+a))}else{let l=r.changes(e),a=i&&i.main.to<=l.newLength?i.main:void 0;if(r.selection.ranges.length>1&&t.inputState.composing>=0&&e.to<=s.to&&e.to>=s.to-10){let u=t.state.sliceDoc(e.from,e.to),c,h=i&&hm(t,i.main.head);if(h){let p=e.insert.length-(e.to-e.from);c={from:h.from,to:h.to-p}}else c=t.state.doc.lineAt(s.head);let f=s.to-e.to,d=s.to-s.from;n=r.changeByRange(p=>{if(p.from==s.from&&p.to==s.to)return{changes:l,range:a||p.map(l)};let m=p.to-f,g=m-u.length;if(p.to-p.from!=d||t.state.sliceDoc(g,m)!=u||p.to>=c.from&&p.from<=c.to)return{range:p};let O=r.changes({from:g,to:m,insert:e.insert}),y=p.to-s.to;return{changes:O,range:a?T.range(Math.max(0,a.anchor+y),Math.max(0,a.head+y)):p.map(O)}})}else n={changes:l,selection:a&&r.selection.replaceRange(a)}}let o="input.type";return(t.composing||t.inputState.compositionPendingChange&&t.inputState.compositionEndedAt>Date.now()-50)&&(t.inputState.compositionPendingChange=!1,o+=".compose",t.inputState.compositionFirstChange&&(o+=".start",t.inputState.compositionFirstChange=!1)),r.update(n,{userEvent:o,scrollIntoView:!0})}function Xx(t,e,i,n){let r=Math.min(t.length,e.length),s=0;for(;s0&&l>0&&t.charCodeAt(o-1)==e.charCodeAt(l-1);)o--,l--;if(n=="end"){let a=Math.max(0,s-Math.min(o,l));i-=o+a-s}if(o=o?s-i:0;s-=a,l=s+(l-o),o=s}else if(l=l?s-i:0;s-=a,o=s+(o-l),l=s}return{from:s,toA:o,toB:l}}function Mx(t){let e=[];if(t.root.activeElement!=t.contentDOM)return e;let{anchorNode:i,anchorOffset:n,focusNode:r,focusOffset:s}=t.observer.selectionRange;return i&&(e.push(new If(i,n)),(r!=i||s!=n)&&e.push(new If(r,s))),e}function Wx(t,e){if(t.length==0)return null;let i=t[0].pos,n=t.length==2?t[1].pos:i;return i>-1&&n>-1?T.single(i+e,n+e):null}const Vx={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},ta=F.ie&&F.ie_version<=11;class Fx{constructor(e){this.view=e,this.active=!1,this.selectionRange=new vy,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.parentCheck=-1,this.dom=e.contentDOM,this.observer=new MutationObserver(i=>{for(let n of i)this.queue.push(n);(F.ie&&F.ie_version<=11||F.ios&&e.composing)&&i.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),ta&&(this.onCharData=i=>{this.queue.push({target:i.target,type:"characterData",oldValue:i.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var i;((i=this.view.docView)===null||i===void 0?void 0:i.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),i.length>0&&i[i.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(i=>{i.length>0&&i[i.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(e){this.view.inputState.runHandlers("scroll",e),this.intersecting&&this.view.measure()}onScroll(e){this.intersecting&&this.flush(!1),this.onScrollChanged(e)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(){this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500)}updateGaps(e){if(this.gapIntersection&&(e.length!=this.gaps.length||this.gaps.some((i,n)=>i!=e[n]))){this.gapIntersection.disconnect();for(let i of e)this.gapIntersection.observe(i);this.gaps=e}}onSelectionChange(e){let i=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,r=this.selectionRange;if(n.state.facet(Tl)?n.root.activeElement!=this.dom:!To(n.dom,r))return;let s=r.anchorNode&&n.docView.nearest(r.anchorNode);if(s&&s.ignoreEvent(e)){i||(this.selectionChanged=!1);return}(F.ie&&F.ie_version<=11||F.android&&F.chrome)&&!n.state.selection.main.empty&&r.focusNode&&qr(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:e}=this,i=F.safari&&e.root.nodeType==11&&by(this.dom.ownerDocument)==this.dom&&zx(this.view)||No(e.root);if(!i||this.selectionRange.eq(i))return!1;let n=To(this.dom,i);return n&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&zn(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(r)}(!this.delayedAndroidKey||e=="Enter")&&(this.delayedAndroidKey={key:e,keyCode:i,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[]);let i=-1,n=-1,r=!1;for(let s of e){let o=this.readMutation(s);o&&(o.typeOver&&(r=!0),i==-1?{from:i,to:n}=o:(i=Math.min(o.from,i),n=Math.max(o.to,n)))}return{from:i,to:n,typeOver:r}}readChange(){let{from:e,to:i,typeOver:n}=this.processRecords(),r=this.selectionChanged&&To(this.dom,this.selectionRange);if(e<0&&!r)return null;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new Ix(this.view,e,i,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(e=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;e&&this.readSelectionRange();let i=this.readChange();if(!i)return this.view.requestMeasure(),!1;let n=this.view.state,r=Pm(this.view,i);return this.view.state==n&&this.view.update([]),r}readMutation(e){let i=this.view.docView.nearest(e.target);if(!i||i.ignoreMutation(e))return null;if(i.markDirty(e.type=="attributes"),e.type=="attributes"&&(i.flags|=4),e.type=="childList"){let n=Lf(i,e.previousSibling||e.target.previousSibling,-1),r=Lf(i,e.nextSibling||e.target.nextSibling,1);return{from:n?i.posAfter(n):i.posAtStart,to:r?i.posBefore(r):i.posAtEnd,typeOver:!1}}else return e.type=="characterData"?{from:i.posAtStart,to:i.posAtEnd,typeOver:e.target.nodeValue==e.oldValue}:null}setWindow(e){e!=this.win&&(this.removeWindowListeners(this.win),this.win=e,this.addWindowListeners(this.win))}addWindowListeners(e){e.addEventListener("resize",this.onResize),e.addEventListener("beforeprint",this.onPrint),e.addEventListener("scroll",this.onScroll),e.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(e){e.removeEventListener("scroll",this.onScroll),e.removeEventListener("resize",this.onResize),e.removeEventListener("beforeprint",this.onPrint),e.document.removeEventListener("selectionchange",this.onSelectionChange)}destroy(){var e,i,n;this.stop(),(e=this.intersection)===null||e===void 0||e.disconnect(),(i=this.gapIntersection)===null||i===void 0||i.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let r of this.scrollTargets)r.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey)}}function Lf(t,e,i){for(;e;){let n=Pe.get(e);if(n&&n.parent==t)return n;let r=e.parentNode;e=r!=t.dom?r:i>0?e.nextSibling:e.previousSibling}return null}function zx(t){let e=null;function i(a){a.preventDefault(),a.stopImmediatePropagation(),e=a.getTargetRanges()[0]}if(t.contentDOM.addEventListener("beforeinput",i,!0),t.dom.ownerDocument.execCommand("indent"),t.contentDOM.removeEventListener("beforeinput",i,!0),!e)return null;let n=e.startContainer,r=e.startOffset,s=e.endContainer,o=e.endOffset,l=t.docView.domAtPos(t.state.selection.main.anchor);return qr(l.node,l.offset,s,o)&&([n,r,s,o]=[s,o,n,r]),{anchorNode:n,anchorOffset:r,focusNode:s,focusOffset:o}}class j{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(e={}){this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),e.parent&&e.parent.appendChild(this.dom);let{dispatch:i}=e;this.dispatchTransactions=e.dispatchTransactions||i&&(n=>n.forEach(r=>i(r,this)))||(n=>this.update(n)),this.dispatch=this.dispatch.bind(this),this._root=e.root||Sy(e.parent)||document,this.viewState=new Zf(e.state||oe.create(e)),e.scrollTo&&e.scrollTo.is(Hs)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet(Ir).map(n=>new Hl(n));for(let n of this.plugins)n.update(this);this.observer=new Fx(this),this.inputState=new rx(this),this.inputState.ensureHandlers(this.plugins),this.docView=new mf(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure()}dispatch(...e){let i=e.length==1&&e[0]instanceof Le?e:e.length==1&&Array.isArray(e[0])?e[0]:[this.state.update(...e)];this.dispatchTransactions(i,this)}update(e){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let i=!1,n=!1,r,s=this.state;for(let f of e){if(f.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=f.state}if(this.destroyed){this.viewState.state=s;return}let o=this.hasFocus,l=0,a=null;e.some(f=>f.annotation(xm))?(this.inputState.notifiedFocused=o,l=1):o!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=o,a=km(s,o),a||(l=1));let u=this.observer.delayedAndroidKey,c=null;if(u?(this.observer.clearDelayedAndroidKey(),c=this.observer.readChange(),(c&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(c=null)):this.observer.clear(),s.facet(oe.phrases)!=this.state.facet(oe.phrases))return this.setState(s);r=Uo.create(this,s,e),r.flags|=l;let h=this.viewState.scrollTarget;try{this.updateState=2;for(let f of e){if(h&&(h=h.map(f.changes)),f.scrollIntoView){let{main:d}=f.state.selection;h=new jn(d.empty?d:T.cursor(d.head,d.head>d.anchor?-1:1))}for(let d of f.effects)d.is(Hs)&&(h=d.value.clip(this.state))}this.viewState.update(r,h),this.bidiCache=Go.update(this.bidiCache,r.changes),r.empty||(this.updatePlugins(r),this.inputState.update(r)),i=this.docView.update(r),this.state.facet(Lr)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(e),this.docView.updateSelection(i,e.some(f=>f.isUserEvent("select.pointer")))}finally{this.updateState=0}if(r.startState.facet(no)!=r.state.facet(no)&&(this.viewState.mustMeasureContent=!0),(i||n||h||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),i&&this.docViewUpdate(),!r.empty)for(let f of this.state.facet(du))try{f(r)}catch(d){At(this.state,d,"update listener")}(a||c)&&Promise.resolve().then(()=>{a&&this.state==a.startState&&this.dispatch(a),c&&!Pm(this,c)&&u.force&&zn(this.contentDOM,u.key,u.keyCode)})}setState(e){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=e;return}this.updateState=2;let i=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new Zf(e),this.plugins=e.facet(Ir).map(n=>new Hl(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new mf(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}i&&this.focus(),this.requestMeasure()}updatePlugins(e){let i=e.startState.facet(Ir),n=e.state.facet(Ir);if(i!=n){let r=[];for(let s of n){let o=i.indexOf(s);if(o<0)r.push(new Hl(s));else{let l=this.plugins[o];l.mustUpdate=e,r.push(l)}}for(let s of this.plugins)s.mustUpdate!=e&&s.destroy(this);this.plugins=r,this.pluginMap.clear()}else for(let r of this.plugins)r.mustUpdate=e;for(let r=0;r-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,e&&this.observer.forceFlush();let i=null,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:o}=this.viewState;Math.abs(r-this.viewState.scrollTop)>1&&(o=-1),this.viewState.scrollAnchorHeight=-1;try{for(let l=0;;l++){if(o<0)if(Xp(n))s=-1,o=this.viewState.heightMap.height;else{let d=this.viewState.scrollAnchorAt(r);s=d.from,o=d.top}this.updateState=1;let a=this.viewState.measure(this);if(!a&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(l>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let u=[];a&4||([this.measureRequests,u]=[u,this.measureRequests]);let c=u.map(d=>{try{return d.read(this)}catch(p){return At(this.state,p),Xf}}),h=Uo.create(this,this.state,[]),f=!1;h.flags|=a,i?i.flags|=a:i=h,this.updateState=2,h.empty||(this.updatePlugins(h),this.inputState.update(h),this.updateAttrs(),f=this.docView.update(h),f&&this.docViewUpdate());for(let d=0;d1||p<-1){r=r+p,n.scrollTop=r/this.scaleY,o=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(i&&!i.empty)for(let l of this.state.facet(du))l(i)}get themeClasses(){return gu+" "+(this.state.facet(Ou)?_m:wm)+" "+this.state.facet(no)}updateAttrs(){let e=Mf(this,om,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),i={spellcheck:"false",autocorrect:"off",autocapitalize:"off",translate:"no",contenteditable:this.state.facet(Tl)?"true":"false",class:"cm-content",style:`${F.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(i["aria-readonly"]="true"),Mf(this,cc,i);let n=this.observer.ignore(()=>{let r=au(this.contentDOM,this.contentAttrs,i),s=au(this.dom,this.editorAttrs,e);return r||s});return this.editorAttrs=e,this.contentAttrs=i,n}showAnnouncements(e){let i=!0;for(let n of e)for(let r of n.effects)if(r.is(j.announce)){i&&(this.announceDOM.textContent=""),i=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=r.value}}mountStyles(){this.styleModules=this.state.facet(Lr);let e=this.state.facet(j.cspNonce);Ji.mount(this.root,this.styleModules.concat(Zx).reverse(),e?{nonce:e}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(e){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),e){if(this.measureRequests.indexOf(e)>-1)return;if(e.key!=null){for(let i=0;in.spec==e)||null),i&&i.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(e){return this.readMeasured(),this.viewState.elementAtHeight(e)}lineBlockAtHeight(e){return this.readMeasured(),this.viewState.lineBlockAtHeight(e)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(e){return this.viewState.lineBlockAt(e)}get contentHeight(){return this.viewState.contentHeight}moveByChar(e,i,n){return Jl(this,e,kf(this,e,i,n))}moveByGroup(e,i){return Jl(this,e,kf(this,e,i,n=>ix(this,e.head,n)))}visualLineSide(e,i){let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),s=n[i?n.length-1:0];return T.cursor(s.side(i,r)+e.from,s.forward(!i,r)?1:-1)}moveToLineBoundary(e,i,n=!0){return tx(this,e,i,n)}moveVertically(e,i,n){return Jl(this,e,nx(this,e,i,n))}domAtPos(e){return this.docView.domAtPos(e)}posAtDOM(e,i=0){return this.docView.posFromDOM(e,i)}posAtCoords(e,i=!0){return this.readMeasured(),dm(this,e,i)}coordsAtPos(e,i=1){this.readMeasured();let n=this.docView.coordsAt(e,i);if(!n||n.left==n.right)return n;let r=this.state.doc.lineAt(e),s=this.bidiSpans(r),o=s[Yi.find(s,e-r.from,-1,i)];return Ql(n,o.dir==Xe.LTR==i>0)}coordsForChar(e){return this.readMeasured(),this.docView.coordsForChar(e)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(e){return!this.state.facet(sm)||ethis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(e))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(e){if(e.length>jx)return Hp(e.length);let i=this.textDirectionAt(e.from),n;for(let s of this.bidiCache)if(s.from==e.from&&s.dir==i&&(s.fresh||Gp(s.isolates,n=pf(this,e))))return s.order;n||(n=pf(this,e));let r=Iy(e.text,i,n);return this.bidiCache.push(new Go(e.from,e.to,i,n,!0,r)),r}get hasFocus(){var e;return(this.dom.ownerDocument.hasFocus()||F.safari&&((e=this.inputState)===null||e===void 0?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{Ip(this.contentDOM),this.docView.updateSelection()})}setRoot(e){this._root!=e&&(this._root=e,this.observer.setWindow((e.nodeType==9?e:e.ownerDocument).defaultView||window),this.mountStyles())}destroy(){for(let e of this.plugins)e.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(e,i={}){return Hs.of(new jn(typeof e=="number"?T.cursor(e):e,i.y,i.x,i.yMargin,i.xMargin))}scrollSnapshot(){let{scrollTop:e,scrollLeft:i}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e);return Hs.of(new jn(T.cursor(n.from),"start","start",n.top-e,i,!0))}static domEventHandlers(e){return It.define(()=>({}),{eventHandlers:e})}static domEventObservers(e){return It.define(()=>({}),{eventObservers:e})}static theme(e,i){let n=Ji.newName(),r=[no.of(n),Lr.of(bu(`.${n}`,e))];return i&&i.dark&&r.push(Ou.of(!0)),r}static baseTheme(e){return sn.lowest(Lr.of(bu("."+gu,e,$m)))}static findFromDOM(e){var i;let n=e.querySelector(".cm-content"),r=n&&Pe.get(n)||Pe.get(e);return((i=r==null?void 0:r.rootView)===null||i===void 0?void 0:i.view)||null}}j.styleModule=Lr;j.inputHandler=nm;j.focusChangeEffect=rm;j.perLineTextDirection=sm;j.exceptionSink=im;j.updateListener=du;j.editable=Tl;j.mouseSelectionStyle=tm;j.dragMovesSelection=em;j.clickAddsSelectionRange=Jp;j.decorations=ns;j.outerDecorations=lm;j.atomicRanges=hc;j.bidiIsolatedRanges=am;j.scrollMargins=um;j.darkTheme=Ou;j.cspNonce=N.define({combine:t=>t.length?t[0]:""});j.contentAttributes=cc;j.editorAttributes=om;j.lineWrapping=j.contentAttributes.of({class:"cm-lineWrapping"});j.announce=ce.define();const jx=4096,Xf={};class Go{constructor(e,i,n,r,s,o){this.from=e,this.to=i,this.dir=n,this.isolates=r,this.fresh=s,this.order=o}static update(e,i){if(i.empty&&!e.some(s=>s.fresh))return e;let n=[],r=e.length?e[e.length-1].dir:Xe.LTR;for(let s=Math.max(0,e.length-10);s=0;r--){let s=n[r],o=typeof s=="function"?s(t):s;o&&lu(o,i)}return i}const Bx=F.mac?"mac":F.windows?"win":F.linux?"linux":"key";function qx(t,e){const i=t.split(/-(?!$)/);let n=i[i.length-1];n=="Space"&&(n=" ");let r,s,o,l;for(let a=0;an.concat(r),[]))),i}function Nx(t,e,i){return Qm(Cm(t.state),e,t,i)}let Fi=null;const Ux=4e3;function Gx(t,e=Bx){let i=Object.create(null),n=Object.create(null),r=(o,l)=>{let a=n[o];if(a==null)n[o]=l;else if(a!=l)throw new Error("Key binding "+o+" is used both as a regular binding and as a multi-stroke prefix")},s=(o,l,a,u,c)=>{var h,f;let d=i[o]||(i[o]=Object.create(null)),p=l.split(/ (?!$)/).map(O=>qx(O,e));for(let O=1;O{let S=Fi={view:v,prefix:y,scope:o};return setTimeout(()=>{Fi==S&&(Fi=null)},Ux),!0}]})}let m=p.join(" ");r(m,!1);let g=d[m]||(d[m]={preventDefault:!1,stopPropagation:!1,run:((f=(h=d._any)===null||h===void 0?void 0:h.run)===null||f===void 0?void 0:f.slice())||[]});a&&g.run.push(a),u&&(g.preventDefault=!0),c&&(g.stopPropagation=!0)};for(let o of t){let l=o.scope?o.scope.split(" "):["editor"];if(o.any)for(let u of l){let c=i[u]||(i[u]=Object.create(null));c._any||(c._any={preventDefault:!1,stopPropagation:!1,run:[]});for(let h in c)c[h].run.push(o.any)}let a=o[e]||o.key;if(a)for(let u of l)s(u,a,o.run,o.preventDefault,o.stopPropagation),o.shift&&s(u,"Shift-"+a,o.shift,o.preventDefault,o.stopPropagation)}return i}function Qm(t,e,i,n){let r=gy(e),s=Li(r,0),o=hn(s)==r.length&&r!=" ",l="",a=!1,u=!1,c=!1;Fi&&Fi.view==i&&Fi.scope==n&&(l=Fi.prefix+" ",mm.indexOf(e.keyCode)<0&&(u=!0,Fi=null));let h=new Set,f=g=>{if(g){for(let O of g.run)if(!h.has(O)&&(h.add(O),O(i,e)))return g.stopPropagation&&(c=!0),!0;g.preventDefault&&(g.stopPropagation&&(c=!0),u=!0)}return!1},d=t[n],p,m;return d&&(f(d[l+ro(r,e,!o)])?a=!0:o&&(e.altKey||e.metaKey||e.ctrlKey)&&!(F.windows&&e.ctrlKey&&e.altKey)&&(p=en[e.keyCode])&&p!=r?(f(d[l+ro(p,e,!0)])||e.shiftKey&&(m=ts[e.keyCode])!=r&&m!=p&&f(d[l+ro(m,e,!1)]))&&(a=!0):o&&e.shiftKey&&f(d[l+ro(r,e,!0)])&&(a=!0),!a&&f(d._any)&&(a=!0)),u&&(a=!0),a&&c&&e.stopPropagation(),a}const Hx=!F.ios,Vf={".cm-line":{"& ::selection":{backgroundColor:"transparent !important"},"&::selection":{backgroundColor:"transparent !important"}}};Hx&&(Vf[".cm-line"].caretColor="transparent !important",Vf[".cm-content"]={caretColor:"transparent !important"});class Kx extends $s{constructor(e){super(),this.content=e}toDOM(){let e=document.createElement("span");return e.className="cm-placeholder",e.style.pointerEvents="none",e.appendChild(typeof this.content=="string"?document.createTextNode(this.content):this.content),typeof this.content=="string"?e.setAttribute("aria-label","placeholder "+this.content):e.setAttribute("aria-hidden","true"),e}coordsAt(e){let i=e.firstChild?ir(e.firstChild):[];if(!i.length)return null;let n=window.getComputedStyle(e.parentNode),r=Ql(i[0],n.direction!="rtl"),s=parseInt(n.lineHeight);return r.bottom-r.top>s*1.5?{left:r.left,right:r.right,top:r.top,bottom:r.top+s}:r}ignoreEvent(){return!1}}function Jx(t){return It.fromClass(class{constructor(e){this.view=e,this.placeholder=t?he.set([he.widget({widget:new Kx(t),side:1}).range(0)]):he.none}get decorations(){return this.view.state.doc.length?he.none:this.placeholder}},{decorations:e=>e.decorations})}const $r="-10000px";class ek{constructor(e,i,n,r){this.facet=i,this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(i),this.tooltips=this.input.filter(o=>o);let s=null;this.tooltipViews=this.tooltips.map(o=>s=n(o,s))}update(e,i){var n;let r=e.state.facet(this.facet),s=r.filter(a=>a);if(r===this.input){for(let a of this.tooltipViews)a.update&&a.update(e);return!1}let o=[],l=i?[]:null;for(let a=0;ai[u]=a),i.length=l.length),this.input=r,this.tooltips=s,this.tooltipViews=o,!0}}function tk(t){let{win:e}=t;return{top:0,left:0,bottom:e.innerHeight,right:e.innerWidth}}const ia=N.define({combine:t=>{var e,i,n;return{position:F.ios?"absolute":((e=t.find(r=>r.position))===null||e===void 0?void 0:e.position)||"fixed",parent:((i=t.find(r=>r.parent))===null||i===void 0?void 0:i.parent)||null,tooltipSpace:((n=t.find(r=>r.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||tk}}}),Ff=new WeakMap,Am=It.fromClass(class{constructor(t){this.view=t,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let e=t.state.facet(ia);this.position=e.position,this.parent=e.parent,this.classes=t.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new ek(t,Tm,(i,n)=>this.createTooltip(i,n),i=>{this.resizeObserver&&this.resizeObserver.unobserve(i.dom),i.dom.remove()}),this.above=this.manager.tooltips.map(i=>!!i.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(i=>{Date.now()>this.lastTransaction-50&&i.length>0&&i[i.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),t.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let t of this.manager.tooltipViews)this.intersectionObserver.observe(t.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(t){t.transactions.length&&(this.lastTransaction=Date.now());let e=this.manager.update(t,this.above);e&&this.observeIntersection();let i=e||t.geometryChanged,n=t.state.facet(ia);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let r of this.manager.tooltipViews)r.dom.style.position=this.position;i=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let r of this.manager.tooltipViews)this.container.appendChild(r.dom);i=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);i&&this.maybeMeasure()}createTooltip(t,e){let i=t.create(this.view),n=e?e.dom:null;if(i.dom.classList.add("cm-tooltip"),t.arrow&&!i.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let r=document.createElement("div");r.className="cm-tooltip-arrow",i.dom.insertBefore(r,n)}return i.dom.style.position=this.position,i.dom.style.top=$r,i.dom.style.left="0px",this.container.insertBefore(i.dom,n),i.mount&&i.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(i.dom),i}destroy(){var t,e,i;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(t=n.destroy)===null||t===void 0||t.call(n);this.parent&&this.container.remove(),(e=this.resizeObserver)===null||e===void 0||e.disconnect(),(i=this.intersectionObserver)===null||i===void 0||i.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let t=this.view.dom.getBoundingClientRect(),e=1,i=1,n=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:r}=this.manager.tooltipViews[0];if(F.gecko)n=r.offsetParent!=this.container.ownerDocument.body;else if(r.style.top==$r&&r.style.left=="0px"){let s=r.getBoundingClientRect();n=Math.abs(s.top+1e4)>1||Math.abs(s.left)>1}}if(n||this.position=="absolute")if(this.parent){let r=this.parent.getBoundingClientRect();r.width&&r.height&&(e=r.width/this.parent.offsetWidth,i=r.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:i}=this.view.viewState);return{editor:t,parent:this.parent?this.container.getBoundingClientRect():t,pos:this.manager.tooltips.map((r,s)=>{let o=this.manager.tooltipViews[s];return o.getCoords?o.getCoords(r.pos):this.view.coordsAtPos(r.pos)}),size:this.manager.tooltipViews.map(({dom:r})=>r.getBoundingClientRect()),space:this.view.state.facet(ia).tooltipSpace(this.view),scaleX:e,scaleY:i,makeAbsolute:n}}writeMeasure(t){var e;if(t.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let l of this.manager.tooltipViews)l.dom.style.position="absolute"}let{editor:i,space:n,scaleX:r,scaleY:s}=t,o=[];for(let l=0;l=Math.min(i.bottom,n.bottom)||h.rightMath.min(i.right,n.right)+.1){c.style.top=$r;continue}let d=a.arrow?u.dom.querySelector(".cm-tooltip-arrow"):null,p=d?7:0,m=f.right-f.left,g=(e=Ff.get(u))!==null&&e!==void 0?e:f.bottom-f.top,O=u.offset||nk,y=this.view.textDirection==Xe.LTR,v=f.width>n.right-n.left?y?n.left:n.right-f.width:y?Math.min(h.left-(d?14:0)+O.x,n.right-m):Math.max(n.left,h.left-m+(d?14:0)-O.x),S=this.above[l];!a.strictSide&&(S?h.top-(f.bottom-f.top)-O.yn.bottom)&&S==n.bottom-h.bottom>h.top-n.top&&(S=this.above[l]=!S);let _=(S?h.top-n.top:n.bottom-h.bottom)-p;if(_v&&$.topA&&(A=S?$.top-g-2-p:$.bottom+p+2);if(this.position=="absolute"?(c.style.top=(A-t.parent.top)/s+"px",c.style.left=(v-t.parent.left)/r+"px"):(c.style.top=A/s+"px",c.style.left=v/r+"px"),d){let $=h.left+(y?O.x:-O.x)-(v+14-7);d.style.left=$/r+"px"}u.overlap!==!0&&o.push({left:v,top:A,right:C,bottom:A+g}),c.classList.toggle("cm-tooltip-above",S),c.classList.toggle("cm-tooltip-below",!S),u.positioned&&u.positioned(t.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let t of this.manager.tooltipViews)t.dom.style.top=$r}},{eventObservers:{scroll(){this.maybeMeasure()}}}),ik=j.baseTheme({".cm-tooltip":{zIndex:100,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:`${7*2}px`,position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),nk={x:0,y:0},Tm=N.define({enables:[Am,ik]});function Em(t,e){let i=t.plugin(Am);if(!i)return null;let n=i.manager.tooltips.indexOf(e);return n<0?null:i.manager.tooltipViews[n]}const zf=N.define({combine(t){let e,i;for(let n of t)e=e||n.topContainer,i=i||n.bottomContainer;return{topContainer:e,bottomContainer:i}}});function Ho(t,e){let i=t.plugin(Zm),n=i?i.specs.indexOf(e):-1;return n>-1?i.panels[n]:null}const Zm=It.fromClass(class{constructor(t){this.input=t.state.facet(Ko),this.specs=this.input.filter(i=>i),this.panels=this.specs.map(i=>i(t));let e=t.state.facet(zf);this.top=new so(t,!0,e.topContainer),this.bottom=new so(t,!1,e.bottomContainer),this.top.sync(this.panels.filter(i=>i.top)),this.bottom.sync(this.panels.filter(i=>!i.top));for(let i of this.panels)i.dom.classList.add("cm-panel"),i.mount&&i.mount()}update(t){let e=t.state.facet(zf);this.top.container!=e.topContainer&&(this.top.sync([]),this.top=new so(t.view,!0,e.topContainer)),this.bottom.container!=e.bottomContainer&&(this.bottom.sync([]),this.bottom=new so(t.view,!1,e.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let i=t.state.facet(Ko);if(i!=this.input){let n=i.filter(a=>a),r=[],s=[],o=[],l=[];for(let a of n){let u=this.specs.indexOf(a),c;u<0?(c=a(t.view),l.push(c)):(c=this.panels[u],c.update&&c.update(t)),r.push(c),(c.top?s:o).push(c)}this.specs=n,this.panels=r,this.top.sync(s),this.bottom.sync(o);for(let a of l)a.dom.classList.add("cm-panel"),a.mount&&a.mount()}else for(let n of this.panels)n.update&&n.update(t)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:t=>j.scrollMargins.of(e=>{let i=e.plugin(t);return i&&{top:i.top.scrollMargin(),bottom:i.bottom.scrollMargin()}})});class so{constructor(e,i,n){this.view=e,this.top=i,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(e){for(let i of this.panels)i.destroy&&e.indexOf(i)<0&&i.destroy();this.panels=e,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let i=this.container||this.view.dom;i.insertBefore(this.dom,this.top?i.firstChild:null)}let e=this.dom.firstChild;for(let i of this.panels)if(i.dom.parentNode==this.dom){for(;e!=i.dom;)e=jf(e);e=e.nextSibling}else this.dom.insertBefore(i.dom,e);for(;e;)e=jf(e)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let e of this.classes.split(" "))e&&this.container.classList.remove(e);for(let e of(this.classes=this.view.themeClasses).split(" "))e&&this.container.classList.add(e)}}}function jf(t){let e=t.nextSibling;return t.remove(),e}const Ko=N.define({enables:Zm});class rr extends xn{compare(e){return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}destroy(e){}}rr.prototype.elementClass="";rr.prototype.toDOM=void 0;rr.prototype.mapMode=at.TrackBefore;rr.prototype.startSide=rr.prototype.endSide=-1;rr.prototype.point=!0;const Dm=1024;let rk=0;class Tt{constructor(e,i){this.from=e,this.to=i}}class G{constructor(e={}){this.id=rk++,this.perNode=!!e.perNode,this.deserialize=e.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(e){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof e!="function"&&(e=Me.match(e)),i=>{let n=e(i);return n===void 0?null:[this,n]}}}G.closedBy=new G({deserialize:t=>t.split(" ")});G.openedBy=new G({deserialize:t=>t.split(" ")});G.group=new G({deserialize:t=>t.split(" ")});G.isolate=new G({deserialize:t=>{if(t&&t!="rtl"&&t!="ltr"&&t!="auto")throw new RangeError("Invalid value for isolate: "+t);return t||"auto"}});G.contextHash=new G({perNode:!0});G.lookAhead=new G({perNode:!0});G.mounted=new G({perNode:!0});class rs{constructor(e,i,n){this.tree=e,this.overlay=i,this.parser=n}static get(e){return e&&e.props&&e.props[G.mounted.id]}}const sk=Object.create(null);class Me{constructor(e,i,n,r=0){this.name=e,this.props=i,this.id=n,this.flags=r}static define(e){let i=e.props&&e.props.length?Object.create(null):sk,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(e.name==null?8:0),r=new Me(e.name||"",i,e.id,n);if(e.props){for(let s of e.props)if(Array.isArray(s)||(s=s(r)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");i[s[0].id]=s[1]}}return r}prop(e){return this.props[e.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(e){if(typeof e=="string"){if(this.name==e)return!0;let i=this.prop(G.group);return i?i.indexOf(e)>-1:!1}return this.id==e}static match(e){let i=Object.create(null);for(let n in e)for(let r of n.split(" "))i[r]=e[n];return n=>{for(let r=n.prop(G.group),s=-1;s<(r?r.length:0);s++){let o=i[s<0?n.name:r[s]];if(o)return o}}}}Me.none=new Me("",Object.create(null),0,8);class mr{constructor(e){this.types=e;for(let i=0;i0;for(let a=this.cursor(o|ye.IncludeAnonymous);;){let u=!1;if(a.from<=s&&a.to>=r&&(!l&&a.type.isAnonymous||i(a)!==!1)){if(a.firstChild())continue;u=!0}for(;u&&n&&(l||!a.type.isAnonymous)&&n(a),!a.nextSibling();){if(!a.parent())return;u=!0}}}prop(e){return e.perNode?this.props?this.props[e.id]:void 0:this.type.prop(e)}get propValues(){let e=[];if(this.props)for(let i in this.props)e.push([+i,this.props[i]]);return e}balance(e={}){return this.children.length<=8?this:mc(Me.none,this.children,this.positions,0,this.children.length,0,this.length,(i,n,r)=>new ie(this.type,i,n,r,this.propValues),e.makeTree||((i,n,r)=>new ie(Me.none,i,n,r)))}static build(e){return uk(e)}}ie.empty=new ie(Me.none,[],[],0);class dc{constructor(e,i){this.buffer=e,this.index=i}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new dc(this.buffer,this.index)}}class nn{constructor(e,i,n){this.buffer=e,this.length=i,this.set=n}get type(){return Me.none}toString(){let e=[];for(let i=0;i0));a=o[a+3]);return l}slice(e,i,n){let r=this.buffer,s=new Uint16Array(i-e),o=0;for(let l=e,a=0;l=e&&ie;case 1:return i<=e&&n>e;case 2:return n>e;case 4:return!0}}function ss(t,e,i,n){for(var r;t.from==t.to||(i<1?t.from>=e:t.from>e)||(i>-1?t.to<=e:t.to0?l.length:-1;e!=u;e+=i){let c=l[e],h=a[e]+o.from;if(Rm(r,n,h,h+c.length)){if(c instanceof nn){if(s&ye.ExcludeBuffers)continue;let f=c.findChild(0,c.buffer.length,i,n-h,r);if(f>-1)return new hi(new ok(o,c,e,h),null,f)}else if(s&ye.IncludeAnonymous||!c.type.isAnonymous||pc(c)){let f;if(!(s&ye.IgnoreMounts)&&(f=rs.get(c))&&!f.overlay)return new rt(f.tree,h,e,o);let d=new rt(c,h,e,o);return s&ye.IncludeAnonymous||!d.type.isAnonymous?d:d.nextChild(i<0?c.children.length-1:0,i,n,r)}}}if(s&ye.IncludeAnonymous||!o.type.isAnonymous||(o.index>=0?e=o.index+i:e=i<0?-1:o._parent._tree.children.length,o=o._parent,!o))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(e){return this.nextChild(0,1,e,2)}childBefore(e){return this.nextChild(this._tree.children.length-1,-1,e,-2)}enter(e,i,n=0){let r;if(!(n&ye.IgnoreOverlays)&&(r=rs.get(this._tree))&&r.overlay){let s=e-this.from;for(let{from:o,to:l}of r.overlay)if((i>0?o<=s:o=s:l>s))return new rt(r.tree,r.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,e,i,n)}nextSignificantParent(){let e=this;for(;e.type.isAnonymous&&e._parent;)e=e._parent;return e}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function qf(t,e,i,n){let r=t.cursor(),s=[];if(!r.firstChild())return s;if(i!=null){for(let o=!1;!o;)if(o=r.type.is(i),!r.nextSibling())return s}for(;;){if(n!=null&&r.type.is(n))return s;if(r.type.is(e)&&s.push(r.node),!r.nextSibling())return n==null?s:[]}}function yu(t,e,i=e.length-1){for(let n=t.parent;i>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(e[i]&&e[i]!=n.name)return!1;i--}}return!0}class ok{constructor(e,i,n,r){this.parent=e,this.buffer=i,this.index=n,this.start=r}}class hi extends Im{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(e,i,n){super(),this.context=e,this._parent=i,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]}child(e,i,n){let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.context.start,n);return s<0?null:new hi(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(e){return this.child(1,e,2)}childBefore(e){return this.child(-1,e,-2)}enter(e,i,n=0){if(n&ye.ExcludeBuffers)return null;let{buffer:r}=this.context,s=r.findChild(this.index+4,r.buffer[this.index+3],i>0?1:-1,e-this.context.start,i);return s<0?null:new hi(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(e){return this._parent?null:this.context.parent.nextChild(this.context.index+e,e,0,4)}get nextSibling(){let{buffer:e}=this.context,i=e.buffer[this.index+3];return i<(this._parent?e.buffer[this._parent.index+3]:e.buffer.length)?new hi(this.context,this._parent,i):this.externalSibling(1)}get prevSibling(){let{buffer:e}=this.context,i=this._parent?this._parent.index+4:0;return this.index==i?this.externalSibling(-1):new hi(this.context,this._parent,e.findChild(i,this.index,-1,0,4))}get tree(){return null}toTree(){let e=[],i=[],{buffer:n}=this.context,r=this.index+4,s=n.buffer[this.index+3];if(s>r){let o=n.buffer[this.index+1];e.push(n.slice(r,s,o)),i.push(0)}return new ie(this.type,e,i,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function Lm(t){if(!t.length)return null;let e=0,i=t[0];for(let s=1;si.from||o.to=e){let l=new rt(o.tree,o.overlay[0].from+s.from,-1,s);(r||(r=[n])).push(ss(l,e,i,!1))}}return r?Lm(r):n}class Jo{get name(){return this.type.name}constructor(e,i=0){if(this.mode=i,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,e instanceof rt)this.yieldNode(e);else{this._tree=e.context.parent,this.buffer=e.context;for(let n=e._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=e,this.yieldBuf(e.index)}}yieldNode(e){return e?(this._tree=e,this.type=e.type,this.from=e.from,this.to=e.to,!0):!1}yieldBuf(e,i){this.index=e;let{start:n,buffer:r}=this.buffer;return this.type=i||r.set.types[r.buffer[e]],this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){return e?e instanceof rt?(this.buffer=null,this.yieldNode(e)):(this.buffer=e.context,this.yieldBuf(e.index,e.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(e,i,n){if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,i,n,this.mode));let{buffer:r}=this.buffer,s=r.findChild(this.index+4,r.buffer[this.index+3],e,i-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(e){return this.enterChild(1,e,2)}childBefore(e){return this.enterChild(-1,e,-2)}enter(e,i,n=this.mode){return this.buffer?n&ye.ExcludeBuffers?!1:this.enterChild(1,e,i):this.yield(this._tree.enter(e,i,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&ye.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let e=this.mode&ye.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(e)}sibling(e){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+e,e,0,4,this.mode)):!1;let{buffer:i}=this.buffer,n=this.stack.length-1;if(e<0){let r=n<0?0:this.stack[n]+4;if(this.index!=r)return this.yieldBuf(i.findChild(r,this.index,-1,0,4))}else{let r=i.buffer[this.index+3];if(r<(n<0?i.buffer.length:i.buffer[this.stack[n]+3]))return this.yieldBuf(r)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(e){let i,n,{buffer:r}=this;if(r){if(e>0){if(this.index-1)for(let s=i+e,o=e<0?-1:n._tree.children.length;s!=o;s+=e){let l=n._tree.children[s];if(this.mode&ye.IncludeAnonymous||l instanceof nn||!l.type.isAnonymous||pc(l))return!1}return!0}move(e,i){if(i&&this.enterChild(e,0,4))return!0;for(;;){if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}moveTo(e,i=0){for(;(this.from==this.to||(i<1?this.from>=e:this.from>e)||(i>-1?this.to<=e:this.to=0;){for(let o=e;o;o=o._parent)if(o.index==r){if(r==this.index)return o;i=o,n=s+1;break e}r=this.stack[--s]}for(let r=n;r=0;s--){if(s<0)return yu(this.node,e,r);let o=n[i.buffer[this.stack[s]]];if(!o.isAnonymous){if(e[r]&&e[r]!=o.name)return!1;r--}}return!0}}function pc(t){return t.children.some(e=>e instanceof nn||!e.type.isAnonymous||pc(e))}function uk(t){var e;let{buffer:i,nodeSet:n,maxBufferLength:r=Dm,reused:s=[],minRepeatType:o=n.types.length}=t,l=Array.isArray(i)?new dc(i,i.length):i,a=n.types,u=0,c=0;function h(_,A,C,$,R,M){let{id:X,start:Z,end:L,size:V}=l,z=c;for(;V<0;)if(l.next(),V==-1){let le=s[X];C.push(le),$.push(Z-_);return}else if(V==-3){u=X;return}else if(V==-4){c=X;return}else throw new RangeError(`Unrecognized record size: ${V}`);let q=a[X],ee,te,de=Z-_;if(L-Z<=r&&(te=g(l.pos-A,R))){let le=new Uint16Array(te.size-te.skip),pe=l.pos-te.size,Ae=le.length;for(;l.pos>pe;)Ae=O(te.start,le,Ae);ee=new nn(le,L-te.start,n),de=te.start-_}else{let le=l.pos-V;l.next();let pe=[],Ae=[],Ze=X>=o?X:-1,be=0,me=L;for(;l.pos>le;)Ze>=0&&l.id==Ze&&l.size>=0?(l.end<=me-r&&(p(pe,Ae,Z,be,l.end,me,Ze,z),be=pe.length,me=l.end),l.next()):M>2500?f(Z,le,pe,Ae):h(Z,le,pe,Ae,Ze,M+1);if(Ze>=0&&be>0&&be-1&&be>0){let Ai=d(q);ee=mc(q,pe,Ae,0,pe.length,0,L-Z,Ai,Ai)}else ee=m(q,pe,Ae,L-Z,z-L)}C.push(ee),$.push(de)}function f(_,A,C,$){let R=[],M=0,X=-1;for(;l.pos>A;){let{id:Z,start:L,end:V,size:z}=l;if(z>4)l.next();else{if(X>-1&&L=0;V-=3)Z[z++]=R[V],Z[z++]=R[V+1]-L,Z[z++]=R[V+2]-L,Z[z++]=z;C.push(new nn(Z,R[2]-L,n)),$.push(L-_)}}function d(_){return(A,C,$)=>{let R=0,M=A.length-1,X,Z;if(M>=0&&(X=A[M])instanceof ie){if(!M&&X.type==_&&X.length==$)return X;(Z=X.prop(G.lookAhead))&&(R=C[M]+X.length+Z)}return m(_,A,C,$,R)}}function p(_,A,C,$,R,M,X,Z){let L=[],V=[];for(;_.length>$;)L.push(_.pop()),V.push(A.pop()+C-R);_.push(m(n.types[X],L,V,M-R,Z-M)),A.push(R-C)}function m(_,A,C,$,R=0,M){if(u){let X=[G.contextHash,u];M=M?[X].concat(M):[X]}if(R>25){let X=[G.lookAhead,R];M=M?[X].concat(M):[X]}return new ie(_,A,C,$,M)}function g(_,A){let C=l.fork(),$=0,R=0,M=0,X=C.end-r,Z={size:0,start:0,skip:0};e:for(let L=C.pos-_;C.pos>L;){let V=C.size;if(C.id==A&&V>=0){Z.size=$,Z.start=R,Z.skip=M,M+=4,$+=4,C.next();continue}let z=C.pos-V;if(V<0||z=o?4:0,ee=C.start;for(C.next();C.pos>z;){if(C.size<0)if(C.size==-3)q+=4;else break e;else C.id>=o&&(q+=4);C.next()}R=ee,$+=V,M+=q}return(A<0||$==_)&&(Z.size=$,Z.start=R,Z.skip=M),Z.size>4?Z:void 0}function O(_,A,C){let{id:$,start:R,end:M,size:X}=l;if(l.next(),X>=0&&$4){let L=l.pos-(X-4);for(;l.pos>L;)C=O(_,A,C)}A[--C]=Z,A[--C]=M-_,A[--C]=R-_,A[--C]=$}else X==-3?u=$:X==-4&&(c=$);return C}let y=[],v=[];for(;l.pos>0;)h(t.start||0,t.bufferStart||0,y,v,-1,0);let S=(e=t.length)!==null&&e!==void 0?e:y.length?v[0]+y[0].length:0;return new ie(a[t.topID],y.reverse(),v.reverse(),S)}const Yf=new WeakMap;function Do(t,e){if(!t.isAnonymous||e instanceof nn||e.type!=t)return 1;let i=Yf.get(e);if(i==null){i=1;for(let n of e.children){if(n.type!=t||!(n instanceof ie)){i=1;break}i+=Do(t,n)}Yf.set(e,i)}return i}function mc(t,e,i,n,r,s,o,l,a){let u=0;for(let p=n;p=c)break;A+=C}if(v==S+1){if(A>c){let C=p[S];d(C.children,C.positions,0,C.children.length,m[S]+y);continue}h.push(p[S])}else{let C=m[v-1]+p[v-1].length-_;h.push(mc(t,p,m,S,v,_,C,null,a))}f.push(_+y-s)}}return d(e,i,n,r,0),(l||a)(h,f,o)}class Xm{constructor(){this.map=new WeakMap}setBuffer(e,i,n){let r=this.map.get(e);r||this.map.set(e,r=new Map),r.set(i,n)}getBuffer(e,i){let n=this.map.get(e);return n&&n.get(i)}set(e,i){e instanceof hi?this.setBuffer(e.context.buffer,e.index,i):e instanceof rt&&this.map.set(e.tree,i)}get(e){return e instanceof hi?this.getBuffer(e.context.buffer,e.index):e instanceof rt?this.map.get(e.tree):void 0}cursorSet(e,i){e.buffer?this.setBuffer(e.buffer.buffer,e.index,i):this.map.set(e.tree,i)}cursorGet(e){return e.buffer?this.getBuffer(e.buffer.buffer,e.index):this.map.get(e.tree)}}class wi{constructor(e,i,n,r,s=!1,o=!1){this.from=e,this.to=i,this.tree=n,this.offset=r,this.open=(s?1:0)|(o?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(e,i=[],n=!1){let r=[new wi(0,e.length,e,0,!1,n)];for(let s of i)s.to>e.length&&r.push(s);return r}static applyChanges(e,i,n=128){if(!i.length)return e;let r=[],s=1,o=e.length?e[0]:null;for(let l=0,a=0,u=0;;l++){let c=l=n)for(;o&&o.from=f.from||h<=f.to||u){let d=Math.max(f.from,a)-u,p=Math.min(f.to,h)-u;f=d>=p?null:new wi(d,p,f.tree,f.offset+u,l>0,!!c)}if(f&&r.push(f),o.to>h)break;o=snew Tt(r.from,r.to)):[new Tt(0,0)]:[new Tt(0,e.length)],this.createParse(e,i||[],n)}parse(e,i,n){let r=this.startParse(e,i,n);for(;;){let s=r.advance();if(s)return s}}}class ck{constructor(e){this.string=e}get length(){return this.string.length}chunk(e){return this.string.slice(e)}get lineChunks(){return!1}read(e,i){return this.string.slice(e,i)}}function Mm(t){return(e,i,n,r)=>new fk(e,t,i,n,r)}class Nf{constructor(e,i,n,r,s){this.parser=e,this.parse=i,this.overlay=n,this.target=r,this.from=s}}function Uf(t){if(!t.length||t.some(e=>e.from>=e.to))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(t))}class hk{constructor(e,i,n,r,s,o,l){this.parser=e,this.predicate=i,this.mounts=n,this.index=r,this.start=s,this.target=o,this.prev=l,this.depth=0,this.ranges=[]}}const xu=new G({perNode:!0});class fk{constructor(e,i,n,r,s){this.nest=i,this.input=n,this.fragments=r,this.ranges=s,this.inner=[],this.innerDone=0,this.baseTree=null,this.stoppedAt=null,this.baseParse=e}advance(){if(this.baseParse){let n=this.baseParse.advance();if(!n)return null;if(this.baseParse=null,this.baseTree=n,this.startInner(),this.stoppedAt!=null)for(let r of this.inner)r.parse.stopAt(this.stoppedAt)}if(this.innerDone==this.inner.length){let n=this.baseTree;return this.stoppedAt!=null&&(n=new ie(n.type,n.children,n.positions,n.length,n.propValues.concat([[xu,this.stoppedAt]]))),n}let e=this.inner[this.innerDone],i=e.parse.advance();if(i){this.innerDone++;let n=Object.assign(Object.create(null),e.target.props);n[G.mounted.id]=new rs(i,e.overlay,e.parser),e.target.props=n}return null}get parsedPos(){if(this.baseParse)return 0;let e=this.input.length;for(let i=this.innerDone;i=this.stoppedAt)l=!1;else if(e.hasNode(r)){if(i){let u=i.mounts.find(c=>c.frag.from<=r.from&&c.frag.to>=r.to&&c.mount.overlay);if(u)for(let c of u.mount.overlay){let h=c.from+u.pos,f=c.to+u.pos;h>=r.from&&f<=r.to&&!i.ranges.some(d=>d.fromh)&&i.ranges.push({from:h,to:f})}}l=!1}else if(n&&(o=dk(n.ranges,r.from,r.to)))l=o!=2;else if(!r.type.isAnonymous&&(s=this.nest(r,this.input))&&(r.fromnew Tt(h.from-r.from,h.to-r.from)):null,r.tree,c.length?c[0].from:r.from)),s.overlay?c.length&&(n={ranges:c,depth:0,prev:n}):l=!1}}else i&&(a=i.predicate(r))&&(a===!0&&(a=new Tt(r.from,r.to)),a.fromnew Tt(c.from-i.start,c.to-i.start)),i.target,u[0].from))),i=i.prev}n&&!--n.depth&&(n=n.prev)}}}}function dk(t,e,i){for(let n of t){if(n.from>=i)break;if(n.to>e)return n.from<=e&&n.to>=i?2:1}return 0}function Gf(t,e,i,n,r,s){if(e=e&&i.enter(n,1,ye.IgnoreOverlays|ye.ExcludeBuffers)||i.next(!1)||(this.done=!0)}hasNode(e){if(this.moveTo(e.from),!this.done&&this.cursor.from+this.offset==e.from&&this.cursor.tree)for(let i=this.cursor.tree;;){if(i==e.tree)return!0;if(i.children.length&&i.positions[0]==0&&i.children[0]instanceof ie)i=i.children[0];else break}return!1}}let mk=class{constructor(e){var i;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0];this.curTo=(i=n.tree.prop(xu))!==null&&i!==void 0?i:n.to,this.inner=new Hf(n.tree,-n.offset)}else this.curFrag=this.inner=null}hasNode(e){for(;this.curFrag&&e.from>=this.curTo;)this.nextFrag();return this.curFrag&&this.curFrag.from<=e.from&&this.curTo>=e.to&&this.inner.hasNode(e)}nextFrag(){var e;if(this.fragI++,this.fragI==this.fragments.length)this.curFrag=this.inner=null;else{let i=this.curFrag=this.fragments[this.fragI];this.curTo=(e=i.tree.prop(xu))!==null&&e!==void 0?e:i.to,this.inner=new Hf(i.tree,-i.offset)}}findMounts(e,i){var n;let r=[];if(this.inner){this.inner.cursor.moveTo(e,1);for(let s=this.inner.cursor.node;s;s=s.parent){let o=(n=s.tree)===null||n===void 0?void 0:n.prop(G.mounted);if(o&&o.parser==i)for(let l=this.fragI;l=s.to)break;a.tree==this.curFrag.tree&&r.push({frag:a,pos:s.from-a.offset,mount:o})}}}return r}};function Kf(t,e){let i=null,n=e;for(let r=1,s=0;r=l)break;a.to<=o||(i||(n=i=e.slice()),a.froml&&i.splice(s+1,0,new Tt(l,a.to))):a.to>l?i[s--]=new Tt(l,a.to):i.splice(s--,1))}}return n}function Ok(t,e,i,n){let r=0,s=0,o=!1,l=!1,a=-1e9,u=[];for(;;){let c=r==t.length?1e9:o?t[r].to:t[r].from,h=s==e.length?1e9:l?e[s].to:e[s].from;if(o!=l){let f=Math.max(a,i),d=Math.min(c,h,n);fnew Tt(f.from+n,f.to+n)),h=Ok(e,c,a,u);for(let f=0,d=a;;f++){let p=f==h.length,m=p?u:h[f].from;if(m>d&&i.push(new wi(d,m,r.tree,-o,s.from>=d||s.openStart,s.to<=m||s.openEnd)),p)break;d=h[f].to}}else i.push(new wi(a,u,r.tree,-o,s.from>=o||s.openStart,s.to<=l||s.openEnd))}return i}let gk=0;class Ut{constructor(e,i,n){this.set=e,this.base=i,this.modified=n,this.id=gk++}static define(e){if(e!=null&&e.base)throw new Error("Can not derive from a modified tag");let i=new Ut([],null,[]);if(i.set.push(i),e)for(let n of e.set)i.set.push(n);return i}static defineModifier(){let e=new el;return i=>i.modified.indexOf(e)>-1?i:el.get(i.base||i,i.modified.concat(e).sort((n,r)=>n.id-r.id))}}let bk=0;class el{constructor(){this.instances=[],this.id=bk++}static get(e,i){if(!i.length)return e;let n=i[0].instances.find(l=>l.base==e&&yk(i,l.modified));if(n)return n;let r=[],s=new Ut(r,e,i);for(let l of i)l.instances.push(s);let o=xk(i);for(let l of e.set)if(!l.modified.length)for(let a of o)r.push(el.get(l,a));return s}}function yk(t,e){return t.length==e.length&&t.every((i,n)=>i==e[n])}function xk(t){let e=[[]];for(let i=0;in.length-i.length)}function Or(t){let e=Object.create(null);for(let i in t){let n=t[i];Array.isArray(n)||(n=[n]);for(let r of i.split(" "))if(r){let s=[],o=2,l=r;for(let h=0;;){if(l=="..."&&h>0&&h+3==r.length){o=1;break}let f=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(l);if(!f)throw new RangeError("Invalid path: "+r);if(s.push(f[0]=="*"?"":f[0][0]=='"'?JSON.parse(f[0]):f[0]),h+=f[0].length,h==r.length)break;let d=r[h++];if(h==r.length&&d=="!"){o=0;break}if(d!="/")throw new RangeError("Invalid path: "+r);l=r.slice(h)}let a=s.length-1,u=s[a];if(!u)throw new RangeError("Invalid path: "+r);let c=new tl(n,o,a>0?s.slice(0,a):null);e[u]=c.sort(e[u])}}return Wm.add(e)}const Wm=new G;class tl{constructor(e,i,n,r){this.tags=e,this.mode=i,this.context=n,this.next=r}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let o=r;for(let l of s)for(let a of l.set){let u=i[a.id];if(u){o=o?o+" "+u:u;break}}return o},scope:n}}function kk(t,e){let i=null;for(let n of t){let r=n.style(e);r&&(i=i?i+" "+r:r)}return i}function vk(t,e,i,n=0,r=t.length){let s=new Sk(n,Array.isArray(e)?e:[e],i);s.highlightRange(t.cursor(),n,r,"",s.highlighters),s.flush(r)}class Sk{constructor(e,i,n){this.at=e,this.highlighters=i,this.span=n,this.class=""}startSpan(e,i){i!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=i)}flush(e){e>this.at&&this.class&&this.span(this.at,e,this.class)}highlightRange(e,i,n,r,s){let{type:o,from:l,to:a}=e;if(l>=n||a<=i)return;o.isTop&&(s=this.highlighters.filter(d=>!d.scope||d.scope(o)));let u=r,c=wk(e)||tl.empty,h=kk(s,c.tags);if(h&&(u&&(u+=" "),u+=h,c.mode==1&&(r+=(r?" ":"")+h)),this.startSpan(Math.max(i,l),u),c.opaque)return;let f=e.tree&&e.tree.prop(G.mounted);if(f&&f.overlay){let d=e.node.enter(f.overlay[0].from+l,1),p=this.highlighters.filter(g=>!g.scope||g.scope(f.tree.type)),m=e.firstChild();for(let g=0,O=l;;g++){let y=g=v||!e.nextSibling())););if(!y||v>n)break;O=y.to+l,O>i&&(this.highlightRange(d.cursor(),Math.max(i,y.from+l),Math.min(n,O),"",p),this.startSpan(Math.min(n,O),u))}m&&e.parent()}else if(e.firstChild()){f&&(r="");do if(!(e.to<=i)){if(e.from>=n)break;this.highlightRange(e,i,n,r,s),this.startSpan(Math.min(n,e.to),u)}while(e.nextSibling());e.parent()}}}function wk(t){let e=t.type.prop(Wm);for(;e&&e.context&&!t.matchContext(e.context);)e=e.next;return e||null}const W=Ut.define,lo=W(),Xi=W(),ed=W(Xi),td=W(Xi),Mi=W(),ao=W(Mi),na=W(Mi),si=W(),an=W(si),ni=W(),ri=W(),ku=W(),Pr=W(ku),uo=W(),b={comment:lo,lineComment:W(lo),blockComment:W(lo),docComment:W(lo),name:Xi,variableName:W(Xi),typeName:ed,tagName:W(ed),propertyName:td,attributeName:W(td),className:W(Xi),labelName:W(Xi),namespace:W(Xi),macroName:W(Xi),literal:Mi,string:ao,docString:W(ao),character:W(ao),attributeValue:W(ao),number:na,integer:W(na),float:W(na),bool:W(Mi),regexp:W(Mi),escape:W(Mi),color:W(Mi),url:W(Mi),keyword:ni,self:W(ni),null:W(ni),atom:W(ni),unit:W(ni),modifier:W(ni),operatorKeyword:W(ni),controlKeyword:W(ni),definitionKeyword:W(ni),moduleKeyword:W(ni),operator:ri,derefOperator:W(ri),arithmeticOperator:W(ri),logicOperator:W(ri),bitwiseOperator:W(ri),compareOperator:W(ri),updateOperator:W(ri),definitionOperator:W(ri),typeOperator:W(ri),controlOperator:W(ri),punctuation:ku,separator:W(ku),bracket:Pr,angleBracket:W(Pr),squareBracket:W(Pr),paren:W(Pr),brace:W(Pr),content:si,heading:an,heading1:W(an),heading2:W(an),heading3:W(an),heading4:W(an),heading5:W(an),heading6:W(an),contentSeparator:W(si),list:W(si),quote:W(si),emphasis:W(si),strong:W(si),link:W(si),monospace:W(si),strikethrough:W(si),inserted:W(),deleted:W(),changed:W(),invalid:W(),meta:uo,documentMeta:W(uo),annotation:W(uo),processingInstruction:W(uo),definition:Ut.defineModifier(),constant:Ut.defineModifier(),function:Ut.defineModifier(),standard:Ut.defineModifier(),local:Ut.defineModifier(),special:Ut.defineModifier()};Vm([{tag:b.link,class:"tok-link"},{tag:b.heading,class:"tok-heading"},{tag:b.emphasis,class:"tok-emphasis"},{tag:b.strong,class:"tok-strong"},{tag:b.keyword,class:"tok-keyword"},{tag:b.atom,class:"tok-atom"},{tag:b.bool,class:"tok-bool"},{tag:b.url,class:"tok-url"},{tag:b.labelName,class:"tok-labelName"},{tag:b.inserted,class:"tok-inserted"},{tag:b.deleted,class:"tok-deleted"},{tag:b.literal,class:"tok-literal"},{tag:b.string,class:"tok-string"},{tag:b.number,class:"tok-number"},{tag:[b.regexp,b.escape,b.special(b.string)],class:"tok-string2"},{tag:b.variableName,class:"tok-variableName"},{tag:b.local(b.variableName),class:"tok-variableName tok-local"},{tag:b.definition(b.variableName),class:"tok-variableName tok-definition"},{tag:b.special(b.variableName),class:"tok-variableName2"},{tag:b.definition(b.propertyName),class:"tok-propertyName tok-definition"},{tag:b.typeName,class:"tok-typeName"},{tag:b.namespace,class:"tok-namespace"},{tag:b.className,class:"tok-className"},{tag:b.macroName,class:"tok-macroName"},{tag:b.propertyName,class:"tok-propertyName"},{tag:b.operator,class:"tok-operator"},{tag:b.comment,class:"tok-comment"},{tag:b.meta,class:"tok-meta"},{tag:b.invalid,class:"tok-invalid"},{tag:b.punctuation,class:"tok-punctuation"}]);var ra;const Ni=new G;function Zl(t){return N.define({combine:t?e=>e.concat(t):void 0})}const Oc=new G;class Pt{constructor(e,i,n=[],r=""){this.data=e,this.name=r,oe.prototype.hasOwnProperty("tree")||Object.defineProperty(oe.prototype,"tree",{get(){return Te(this)}}),this.parser=i,this.extension=[lr.of(this),oe.languageData.of((s,o,l)=>{let a=id(s,o,l),u=a.type.prop(Ni);if(!u)return[];let c=s.facet(u),h=a.type.prop(Oc);if(h){let f=a.resolve(o-a.from,l);for(let d of h)if(d.test(f,s)){let p=s.facet(d.facet);return d.type=="replace"?p:p.concat(c)}}return c})].concat(n)}isActiveAt(e,i,n=-1){return id(e,i,n).type.prop(Ni)==this.data}findRegions(e){let i=e.facet(lr);if((i==null?void 0:i.data)==this.data)return[{from:0,to:e.doc.length}];if(!i||!i.allowsNesting)return[];let n=[],r=(s,o)=>{if(s.prop(Ni)==this.data){n.push({from:o,to:o+s.length});return}let l=s.prop(G.mounted);if(l){if(l.tree.prop(Ni)==this.data){if(l.overlay)for(let a of l.overlay)n.push({from:a.from+o,to:a.to+o});else n.push({from:o,to:o+s.length});return}else if(l.overlay){let a=n.length;if(r(l.tree,l.overlay[0].from+o),n.length>a)return}}for(let a=0;an.isTop?i:void 0)]}),e.name)}configure(e,i){return new sr(this.data,this.parser.configure(e),i||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Te(t){let e=t.field(Pt.state,!1);return e?e.tree:ie.empty}class _k{constructor(e){this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){return this.doc.length}syncTo(e){return this.string=this.cursor.next(e-this.cursorPos).value,this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,i){let n=this.cursorPos-this.string.length;return e=this.cursorPos?this.doc.sliceString(e,i):this.string.slice(e-n,i-n)}}let Cr=null;class wn{constructor(e,i,n=[],r,s,o,l,a){this.parser=e,this.state=i,this.fragments=n,this.tree=r,this.treeLen=s,this.viewport=o,this.skipped=l,this.scheduleOn=a,this.parse=null,this.tempSkipped=[]}static create(e,i,n){return new wn(e,i,[],ie.empty,0,n,[],null)}startParse(){return this.parser.startParse(new _k(this.state.doc),this.fragments)}work(e,i){return i!=null&&i>=this.state.doc.length&&(i=void 0),this.tree!=ie.empty&&this.isDone(i??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof e=="number"){let r=Date.now()+e;e=()=>Date.now()>r}for(this.parse||(this.parse=this.startParse()),i!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>i)&&i=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>e)&&this.parse.stopAt(e),this.withContext(()=>{for(;!(i=this.parse.advance()););}),this.treeLen=e,this.tree=i,this.fragments=this.withoutTempSkipped(wi.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(e){let i=Cr;Cr=this;try{return e()}finally{Cr=i}}withoutTempSkipped(e){for(let i;i=this.tempSkipped.pop();)e=nd(e,i.from,i.to);return e}changes(e,i){let{fragments:n,tree:r,treeLen:s,viewport:o,skipped:l}=this;if(this.takeTree(),!e.empty){let a=[];if(e.iterChangedRanges((u,c,h,f)=>a.push({fromA:u,toA:c,fromB:h,toB:f})),n=wi.applyChanges(n,a),r=ie.empty,s=0,o={from:e.mapPos(o.from,-1),to:e.mapPos(o.to,1)},this.skipped.length){l=[];for(let u of this.skipped){let c=e.mapPos(u.from,1),h=e.mapPos(u.to,-1);ce.from&&(this.fragments=nd(this.fragments,r,s),this.skipped.splice(n--,1))}return this.skipped.length>=i?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(e,i){this.skipped.push({from:e,to:i})}static getSkippingParser(e){return new class extends El{createParse(i,n,r){let s=r[0].from,o=r[r.length-1].to;return{parsedPos:s,advance(){let a=Cr;if(a){for(let u of r)a.tempSkipped.push(u);e&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,e]):e)}return this.parsedPos=o,new ie(Me.none,[],[],o-s)},stoppedAt:null,stopAt(){}}}}}isDone(e){e=Math.min(e,this.state.doc.length);let i=this.fragments;return this.treeLen>=e&&i.length&&i[0].from==0&&i[0].to>=e}static get(){return Cr}}function nd(t,e,i){return wi.applyChanges(t,[{fromA:e,toA:i,fromB:e,toB:i}])}class or{constructor(e){this.context=e,this.tree=e.tree}apply(e){if(!e.docChanged&&this.tree==this.context.tree)return this;let i=this.context.changes(e.changes,e.state),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),i.viewport.to);return i.work(20,n)||i.takeTree(),new or(i)}static init(e){let i=Math.min(3e3,e.doc.length),n=wn.create(e.facet(lr).parser,e,{from:0,to:i});return n.work(20,i)||n.takeTree(),new or(n)}}Pt.state=Xt.define({create:or.init,update(t,e){for(let i of e.effects)if(i.is(Pt.setState))return i.value;return e.startState.facet(lr)!=e.state.facet(lr)?or.init(e.state):t.apply(e)}});let Fm=t=>{let e=setTimeout(()=>t(),500);return()=>clearTimeout(e)};typeof requestIdleCallback<"u"&&(Fm=t=>{let e=-1,i=setTimeout(()=>{e=requestIdleCallback(t,{timeout:400})},100);return()=>e<0?clearTimeout(i):cancelIdleCallback(e)});const sa=typeof navigator<"u"&&(!((ra=navigator.scheduling)===null||ra===void 0)&&ra.isInputPending)?()=>navigator.scheduling.isInputPending():null,$k=It.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let i=this.view.state.field(Pt.state).context;(i.updateViewport(e.view.viewport)||this.view.viewport.to>i.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(i)}scheduleWork(){if(this.working)return;let{state:e}=this.view,i=e.field(Pt.state);(i.tree!=i.context.tree||!i.context.isDone(e.doc.length))&&(this.working=Fm(this.work))}work(e){this.working=null;let i=Date.now();if(this.chunkEndr+1e3,a=s.context.work(()=>sa&&sa()||Date.now()>o,r+(l?0:1e5));this.chunkBudget-=Date.now()-i,(a||this.chunkBudget<=0)&&(s.context.takeTree(),this.view.dispatch({effects:Pt.setState.of(new or(s.context))})),this.chunkBudget>0&&!(a&&!l)&&this.scheduleWork(),this.checkAsyncSchedule(s.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(i=>At(this.view.state,i)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),lr=N.define({combine(t){return t.length?t[0]:null},enables:t=>[Pt.state,$k,j.contentAttributes.compute([t],e=>{let i=e.facet(t);return i&&i.name?{"data-language":i.name}:{}})]});class ar{constructor(e,i=[]){this.language=e,this.support=i,this.extension=[e,i]}}class P{constructor(e,i,n,r,s,o=void 0){this.name=e,this.alias=i,this.extensions=n,this.filename=r,this.loadFunc=s,this.support=o,this.loading=null}load(){return this.loading||(this.loading=this.loadFunc().then(e=>this.support=e,e=>{throw this.loading=null,e}))}static of(e){let{load:i,support:n}=e;if(!i){if(!n)throw new RangeError("Must pass either 'load' or 'support' to LanguageDescription.of");i=()=>Promise.resolve(n)}return new P(e.name,(e.alias||[]).concat(e.name).map(r=>r.toLowerCase()),e.extensions||[],e.filename,i,n)}static matchFilename(e,i){for(let r of e)if(r.filename&&r.filename.test(i))return r;let n=/\.([^.]+)$/.exec(i);if(n){for(let r of e)if(r.extensions.indexOf(n[1])>-1)return r}return null}static matchLanguageName(e,i,n=!0){i=i.toLowerCase();for(let r of e)if(r.alias.some(s=>s==i))return r;if(n)for(let r of e)for(let s of r.alias){let o=i.indexOf(s);if(o>-1&&(s.length>2||!/\w/.test(i[o-1])&&!/\w/.test(i[o+s.length])))return r}return null}}const zm=N.define(),gr=N.define({combine:t=>{if(!t.length)return" ";let e=t[0];if(!e||/\S/.test(e)||Array.from(e).some(i=>i!=e[0]))throw new Error("Invalid indent unit: "+JSON.stringify(t[0]));return e}});function _n(t){let e=t.facet(gr);return e.charCodeAt(0)==9?t.tabSize*e.length:e.length}function il(t,e){let i="",n=t.tabSize,r=t.facet(gr)[0];if(r==" "){for(;e>=n;)i+=" ",e-=n;r=" "}for(let s=0;s=e?Pk(t,i,e):null}class Dl{constructor(e,i={}){this.state=e,this.options=i,this.unit=_n(e)}lineAt(e,i=1){let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:s}=this.options;return r!=null&&r>=n.from&&r<=n.to?s&&r==e?{text:"",from:e}:(i<0?r-1&&(s+=o-this.countColumn(n,n.search(/\S|$/))),s}countColumn(e,i=e.length){return _i(e,this.state.tabSize,i)}lineIndent(e,i=1){let{text:n,from:r}=this.lineAt(e,i),s=this.options.overrideIndentation;if(s){let o=s(r);if(o>-1)return o}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const As=new G;function Pk(t,e,i){let n=e.resolveStack(i),r=n.node.enterUnfinishedNodesBefore(i);if(r!=n.node){let s=[];for(let o=r;o!=n.node;o=o.parent)s.push(o);for(let o=s.length-1;o>=0;o--)n={node:s[o],next:n}}return Bm(n,t,i)}function Bm(t,e,i){for(let n=t;n;n=n.next){let r=Qk(n.node);if(r)return r(gc.create(e,i,n))}return 0}function Ck(t){return t.pos==t.options.simulateBreak&&t.options.simulateDoubleBreak}function Qk(t){let e=t.type.prop(As);if(e)return e;let i=t.firstChild,n;if(i&&(n=i.type.prop(G.closedBy))){let r=t.lastChild,s=r&&n.indexOf(r.name)>-1;return o=>qm(o,!0,1,void 0,s&&!Ck(o)?r.from:void 0)}return t.parent==null?Ak:null}function Ak(){return 0}class gc extends Dl{constructor(e,i,n){super(e.state,e.options),this.base=e,this.pos=i,this.context=n}get node(){return this.context.node}static create(e,i,n){return new gc(e,i,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(e){let i=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(i.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(Tk(n,e))break;i=this.state.doc.lineAt(n.from)}return this.lineIndent(i.from)}continue(){return Bm(this.context.next,this.base,this.pos)}}function Tk(t,e){for(let i=e;i;i=i.parent)if(t==i)return!0;return!1}function Ek(t){let e=t.node,i=e.childAfter(e.from),n=e.lastChild;if(!i)return null;let r=t.options.simulateBreak,s=t.state.doc.lineAt(i.from),o=r==null||r<=s.from?s.to:Math.min(s.to,r);for(let l=i.to;;){let a=e.childAfter(l);if(!a||a==n)return null;if(!a.type.isSkipped)return a.fromqm(n,e,i,t)}function qm(t,e,i,n,r){let s=t.textAfter,o=s.match(/^\s*/)[0].length,l=n&&s.slice(o,o+n.length)==n||r==t.pos+o,a=e?Ek(t):null;return a?l?t.column(a.from):t.column(a.to):t.baseIndent+(l?0:t.unit*i)}const Dk=t=>t.baseIndent;function Ro({except:t,units:e=1}={}){return i=>{let n=t&&t.test(i.textAfter);return i.baseIndent+(n?0:e*i.unit)}}const Rk=N.define(),Ts=new G;function Ym(t){let e=t.firstChild,i=t.lastChild;return e&&e.tol.prop(Ni)==o.data:o?l=>l==o:void 0,this.style=Vm(e.map(l=>({tag:l.tag,class:l.class||r(Object.assign({},l,{tag:null}))})),{all:s}).style,this.module=n?new Ji(n):null,this.themeType=i.themeType}static define(e,i){return new br(e,i||{})}}const vu=N.define(),Ik=N.define({combine(t){return t.length?[t[0]]:null}});function oa(t){let e=t.facet(vu);return e.length?e:t.facet(Ik)}function Nm(t,e){let i=[Xk],n;return t instanceof br&&(t.module&&i.push(j.styleModule.of(t.module)),n=t.themeType),n?i.push(vu.computeN([j.darkTheme],r=>r.facet(j.darkTheme)==(n=="dark")?[t]:[])):i.push(vu.of(t)),i}class Lk{constructor(e){this.markCache=Object.create(null),this.tree=Te(e.state),this.decorations=this.buildDeco(e,oa(e.state)),this.decoratedTo=e.viewport.to}update(e){let i=Te(e.state),n=oa(e.state),r=n!=oa(e.startState),{viewport:s}=e.view,o=e.changes.mapPos(this.decoratedTo,1);i.length=s.to?(this.decorations=this.decorations.map(e.changes),this.decoratedTo=o):(i!=this.tree||e.viewportChanged||r)&&(this.tree=i,this.decorations=this.buildDeco(e.view,n),this.decoratedTo=s.to)}buildDeco(e,i){if(!i||!this.tree.length)return he.none;let n=new tr;for(let{from:r,to:s}of e.visibleRanges)vk(this.tree,i,(o,l,a)=>{n.add(o,l,this.markCache[a]||(this.markCache[a]=he.mark({class:a})))},r,s);return n.finish()}}const Xk=sn.high(It.fromClass(Lk,{decorations:t=>t.decorations}));b.meta,b.link,b.heading,b.emphasis,b.strong,b.strikethrough,b.keyword,b.atom,b.bool,b.url,b.contentSeparator,b.labelName,b.literal,b.inserted,b.string,b.deleted,b.regexp,b.escape,b.string,b.variableName,b.variableName,b.typeName,b.namespace,b.className,b.variableName,b.macroName,b.propertyName,b.comment,b.invalid;const Mk=1e4,Wk="()[]{}",Um=new G;function Su(t,e,i){let n=t.prop(e<0?G.openedBy:G.closedBy);if(n)return n;if(t.name.length==1){let r=i.indexOf(t.name);if(r>-1&&r%2==(e<0?1:0))return[i[r+e]]}return null}function wu(t){let e=t.type.prop(Um);return e?e(t.node):t}function Mn(t,e,i,n={}){let r=n.maxScanDistance||Mk,s=n.brackets||Wk,o=Te(t),l=o.resolveInner(e,i);for(let a=l;a;a=a.parent){let u=Su(a.type,i,s);if(u&&a.from0?e>=c.from&&ec.from&&e<=c.to))return Vk(t,e,i,a,c,u,s)}}return Fk(t,e,i,o,l.type,r,s)}function Vk(t,e,i,n,r,s,o){let l=n.parent,a={from:r.from,to:r.to},u=0,c=l==null?void 0:l.cursor();if(c&&(i<0?c.childBefore(n.from):c.childAfter(n.to)))do if(i<0?c.to<=n.from:c.from>=n.to){if(u==0&&s.indexOf(c.type.name)>-1&&c.from0)return null;let u={from:i<0?e-1:e,to:i>0?e+1:e},c=t.doc.iterRange(e,i>0?t.doc.length:0),h=0;for(let f=0;!c.next().done&&f<=s;){let d=c.value;i<0&&(f+=d.length);let p=e+f*i;for(let m=i>0?0:d.length-1,g=i>0?d.length:-1;m!=g;m+=i){let O=o.indexOf(d[m]);if(!(O<0||n.resolveInner(p+m,1).type!=r))if(O%2==0==i>0)h++;else{if(h==1)return{start:u,end:{from:p+m,to:p+m+1},matched:O>>1==a>>1};h--}}i>0&&(f+=d.length)}return c.done?{start:u,matched:!1}:null}function rd(t,e,i,n=0,r=0){e==null&&(e=t.search(/[^\s\u00a0]/),e==-1&&(e=t.length));let s=r;for(let o=n;o=this.string.length}sol(){return this.pos==0}peek(){return this.string.charAt(this.pos)||void 0}next(){if(this.posi}eatSpace(){let e=this.pos;for(;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e}skipToEnd(){this.pos=this.string.length}skipTo(e){let i=this.string.indexOf(e,this.pos);if(i>-1)return this.pos=i,!0}backUp(e){this.pos-=e}column(){return this.lastColumnPosn?o.toLowerCase():o,s=this.string.substr(this.pos,e.length);return r(s)==r(e)?(i!==!1&&(this.pos+=e.length),!0):null}else{let r=this.string.slice(this.pos).match(e);return r&&r.index>0?null:(r&&i!==!1&&(this.pos+=r[0].length),r)}}current(){return this.string.slice(this.start,this.pos)}}function zk(t){return{name:t.name||"",token:t.token,blankLine:t.blankLine||(()=>{}),startState:t.startState||(()=>!0),copyState:t.copyState||jk,indent:t.indent||(()=>null),languageData:t.languageData||{},tokenTable:t.tokenTable||xc}}function jk(t){if(typeof t!="object")return t;let e={};for(let i in t){let n=t[i];e[i]=n instanceof Array?n.slice():n}return e}const sd=new WeakMap;class bc extends Pt{constructor(e){let i=Zl(e.languageData),n=zk(e),r,s=new class extends El{createParse(o,l,a){return new qk(r,o,l,a)}};super(i,s,[zm.of((o,l)=>this.getIndent(o,l))],e.name),this.topNode=Uk(i),r=this,this.streamParser=n,this.stateAfter=new G({perNode:!0}),this.tokenTable=e.tokenTable?new eO(n.tokenTable):Nk}static define(e){return new bc(e)}getIndent(e,i){let n=Te(e.state),r=n.resolve(i);for(;r&&r.type!=this.topNode;)r=r.parent;if(!r)return null;let s,{overrideIndentation:o}=e.options;o&&(s=sd.get(e.state),s!=null&&s1e4)return null;for(;a=n&&i+e.length<=r&&e.prop(t.stateAfter);if(s)return{state:t.streamParser.copyState(s),pos:i+e.length};for(let o=e.children.length-1;o>=0;o--){let l=e.children[o],a=i+e.positions[o],u=l instanceof ie&&a=e.length)return e;!r&&e.type==t.topNode&&(r=!0);for(let s=e.children.length-1;s>=0;s--){let o=e.positions[s],l=e.children[s],a;if(oi&&yc(t,r.tree,0-r.offset,i,o),a;if(l&&(a=Hm(t,r.tree,i+r.offset,l.pos+r.offset,!1)))return{state:l.state,tree:a}}return{state:t.streamParser.startState(n?_n(n):4),tree:ie.empty}}let qk=class{constructor(e,i,n,r){this.lang=e,this.input=i,this.fragments=n,this.ranges=r,this.stoppedAt=null,this.chunks=[],this.chunkPos=[],this.chunk=[],this.chunkReused=void 0,this.rangeIndex=0,this.to=r[r.length-1].to;let s=wn.get(),o=r[0].from,{state:l,tree:a}=Bk(e,n,o,s==null?void 0:s.state);this.state=l,this.parsedPos=this.chunkStart=o+a.length;for(let u=0;u=i?this.finish():e&&this.parsedPos>=e.viewport.to?(e.skipUntilInView(this.parsedPos,i),this.finish()):null}stopAt(e){this.stoppedAt=e}lineAfter(e){let i=this.input.chunk(e);if(this.input.lineChunks)i==` `&&(i="");else{let n=i.indexOf(` -`);n>-1&&(i=i.slice(0,n))}return e+i.length<=this.to?i:i.slice(0,this.to-e)}nextLine(){let e=this.parsedPos,i=this.lineAfter(e),n=e+i.length;for(let r=this.rangeIndex;;){let s=this.ranges[r].to;if(s>=n||(i=i.slice(0,s-(n-i.length)),r++,r==this.ranges.length))break;let o=this.ranges[r].from,l=this.lineAfter(o);i+=l,n=o+l.length}return{line:i,end:n}}skipGapsTo(e,i,n){for(;;){let r=this.ranges[this.rangeIndex].to,s=e+i;if(n>0?r>s:r>=s)break;let o=this.ranges[++this.rangeIndex].from;i+=o-r}return i}moveRangeIndex(){for(;this.ranges[this.rangeIndex].to1){s=this.skipGapsTo(i,s,1),i+=s;let o=this.chunk.length;s=this.skipGapsTo(n,s,-1),n+=s,r+=this.chunk.length-o}return this.chunk.push(e,i,n,r),s}parseLine(e){let{line:i,end:n}=this.nextLine(),r=0,{streamParser:s}=this.lang,o=new Ym(i,e?e.state.tabSize:4,e?_n(e.state):2);if(o.eol())s.blankLine(this.state,o.indentUnit);else for(;!o.eol();){let l=Um(s.token,o,this.state);if(l&&(r=this.emitToken(this.lang.tokenTable.resolve(l),this.parsedPos+o.start,this.parsedPos+o.pos,4,r)),o.start>1e4)break}this.parsedPos=n,this.moveRangeIndex(),this.parsedPose.start)return r}throw new Error("Stream parser failed to advance stream.")}const bc=Object.create(null),ls=[Me.none],Vk=new Or(ls),rd=[],sd=Object.create(null),Gm=Object.create(null);for(let[t,e]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])Gm[t]=Km(bc,e);class Hm{constructor(e){this.extra=e,this.table=Object.assign(Object.create(null),Gm)}resolve(e){return e?this.table[e]||(this.table[e]=Km(this.extra,e)):0}}const Fk=new Hm(bc);function oa(t,e){rd.indexOf(t)>-1||(rd.push(t),console.warn(e))}function Km(t,e){let i=[];for(let l of e.split(" ")){let a=[];for(let u of l.split(".")){let c=t[u]||b[u];c?typeof c=="function"?a.length?a=a.map(c):oa(u,`Modifier ${u} used at start of tag`):a.length?oa(u,`Tag ${u} used as modifier`):a=Array.isArray(c)?c:[c]:oa(u,`Unknown highlighting tag ${u}`)}for(let u of a)i.push(u)}if(!i.length)return 0;let n=e.replace(/ /g,"_"),r=n+" "+i.map(l=>l.id),s=sd[r];if(s)return s.id;let o=sd[r]=Me.define({id:ls.length,name:n,props:[gr({[n]:i})]});return ls.push(o),o.id}function zk(t){let e=Me.define({id:ls.length,name:"Document",props:[Ui.add(()=>t)],top:!0});return ls.push(e),e}Xe.RTL,Xe.LTR;const jk=t=>{let{state:e}=t,i=e.doc.lineAt(e.selection.main.from),n=xc(t.state,i.from);return n.line?Bk(t):n.block?Yk(t):!1};function yc(t,e){return({state:i,dispatch:n})=>{if(i.readOnly)return!1;let r=t(e,i);return r?(n(i.update(r)),!0):!1}}const Bk=yc(Gk,0),qk=yc(Jm,0),Yk=yc((t,e)=>Jm(t,e,Uk(e)),0);function xc(t,e){let i=t.languageDataAt("commentTokens",e);return i.length?i[0]:{}}const Ar=50;function Nk(t,{open:e,close:i},n,r){let s=t.sliceDoc(n-Ar,n),o=t.sliceDoc(r,r+Ar),l=/\s*$/.exec(s)[0].length,a=/^\s*/.exec(o)[0].length,u=s.length-l;if(s.slice(u-e.length,u)==e&&o.slice(a,a+i.length)==i)return{open:{pos:n-l,margin:l&&1},close:{pos:r+a,margin:a&&1}};let c,h;r-n<=2*Ar?c=h=t.sliceDoc(n,r):(c=t.sliceDoc(n,n+Ar),h=t.sliceDoc(r-Ar,r));let f=/^\s*/.exec(c)[0].length,d=/\s*$/.exec(h)[0].length,p=h.length-d-i.length;return c.slice(f,f+e.length)==e&&h.slice(p,p+i.length)==i?{open:{pos:n+f+e.length,margin:/\s/.test(c.charAt(f+e.length))?1:0},close:{pos:r-d-i.length,margin:/\s/.test(h.charAt(p-1))?1:0}}:null}function Uk(t){let e=[];for(let i of t.selection.ranges){let n=t.doc.lineAt(i.from),r=i.to<=n.to?n:t.doc.lineAt(i.to),s=e.length-1;s>=0&&e[s].to>n.from?e[s].to=r.to:e.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:r.to})}return e}function Jm(t,e,i=e.selection.ranges){let n=i.map(s=>xc(e,s.from).block);if(!n.every(s=>s))return null;let r=i.map((s,o)=>Nk(e,n[o],s.from,s.to));if(t!=2&&!r.every(s=>s))return{changes:e.changes(i.map((s,o)=>r[o]?[]:[{from:s.from,insert:n[o].open+" "},{from:s.to,insert:" "+n[o].close}]))};if(t!=1&&r.some(s=>s)){let s=[];for(let o=0,l;or&&(s==o||o>h.from)){r=h.from;let f=/^\s*/.exec(h.text)[0].length,d=f==h.length,p=h.text.slice(f,f+u.length)==u?f:-1;fs.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:l,token:a,indent:u,empty:c,single:h}of n)(h||!c)&&s.push({from:l.from+u,insert:a+" "});let o=e.changes(s);return{changes:o,selection:e.selection.map(o,1)}}else if(t!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:o,comment:l,token:a}of n)if(l>=0){let u=o.from+l,c=u+a.length;o.text[c-o.from]==" "&&c++,s.push({from:u,to:c})}return{changes:s}}return null}const Su=Ti.define(),Hk=Ti.define(),Kk=N.define(),eO=N.define({combine(t){return nc(t,{minDepth:100,newGroupDelay:500,joinToEvent:(e,i)=>i},{minDepth:Math.max,newGroupDelay:Math.min,joinToEvent:(e,i)=>(n,r)=>e(n,r)||i(n,r)})}}),tO=Xt.define({create(){return di.empty},update(t,e){let i=e.state.facet(eO),n=e.annotation(Su);if(n){let a=pt.fromTransaction(e,n.selection),u=n.side,c=u==0?t.undone:t.done;return a?c=rl(c,c.length,i.minDepth,a):c=nO(c,e.startState.selection),new di(u==0?n.rest:c,u==0?c:n.rest)}let r=e.annotation(Hk);if((r=="full"||r=="before")&&(t=t.isolate()),e.annotation(Le.addToHistory)===!1)return e.changes.empty?t:t.addMapping(e.changes.desc);let s=pt.fromTransaction(e),o=e.annotation(Le.time),l=e.annotation(Le.userEvent);return s?t=t.addChanges(s,o,l,i,e):e.selection&&(t=t.addSelection(e.startState.selection,o,l,i.newGroupDelay)),(r=="full"||r=="after")&&(t=t.isolate()),t},toJSON(t){return{done:t.done.map(e=>e.toJSON()),undone:t.undone.map(e=>e.toJSON())}},fromJSON(t){return new di(t.done.map(pt.fromJSON),t.undone.map(pt.fromJSON))}});function od(t={}){return[tO,eO.of(t),j.domEventHandlers({beforeinput(e,i){let n=e.inputType=="historyUndo"?kc:e.inputType=="historyRedo"?nl:null;return n?(e.preventDefault(),n(i)):!1}})]}function Rl(t,e){return function({state:i,dispatch:n}){if(!e&&i.readOnly)return!1;let r=i.field(tO,!1);if(!r)return!1;let s=r.pop(t,i,e);return s?(n(s),!0):!1}}const kc=Rl(0,!1),nl=Rl(1,!1),Jk=Rl(0,!0),e2=Rl(1,!0);class pt{constructor(e,i,n,r,s){this.changes=e,this.effects=i,this.mapped=n,this.startSelection=r,this.selectionsAfter=s}setSelAfter(e){return new pt(this.changes,this.effects,this.mapped,this.startSelection,e)}toJSON(){var e,i,n;return{changes:(e=this.changes)===null||e===void 0?void 0:e.toJSON(),mapped:(i=this.mapped)===null||i===void 0?void 0:i.toJSON(),startSelection:(n=this.startSelection)===null||n===void 0?void 0:n.toJSON(),selectionsAfter:this.selectionsAfter.map(r=>r.toJSON())}}static fromJSON(e){return new pt(e.changes&&Fe.fromJSON(e.changes),[],e.mapped&&Oi.fromJSON(e.mapped),e.startSelection&&T.fromJSON(e.startSelection),e.selectionsAfter.map(T.fromJSON))}static fromTransaction(e,i){let n=Et;for(let r of e.startState.facet(Kk)){let s=r(e);s.length&&(n=n.concat(s))}return!n.length&&e.changes.empty?null:new pt(e.changes.invert(e.startState.doc),n,void 0,i||e.startState.selection,Et)}static selection(e){return new pt(void 0,Et,void 0,void 0,e)}}function rl(t,e,i,n){let r=e+1>i+20?e-i-1:0,s=t.slice(r,e);return s.push(n),s}function t2(t,e){let i=[],n=!1;return t.iterChangedRanges((r,s)=>i.push(r,s)),e.iterChangedRanges((r,s,o,l)=>{for(let a=0;a=u&&o<=c&&(n=!0)}}),n}function i2(t,e){return t.ranges.length==e.ranges.length&&t.ranges.filter((i,n)=>i.empty!=e.ranges[n].empty).length===0}function iO(t,e){return t.length?e.length?t.concat(e):t:e}const Et=[],n2=200;function nO(t,e){if(t.length){let i=t[t.length-1],n=i.selectionsAfter.slice(Math.max(0,i.selectionsAfter.length-n2));return n.length&&n[n.length-1].eq(e)?t:(n.push(e),rl(t,t.length-1,1e9,i.setSelAfter(n)))}else return[pt.selection([e])]}function r2(t){let e=t[t.length-1],i=t.slice();return i[t.length-1]=e.setSelAfter(e.selectionsAfter.slice(0,e.selectionsAfter.length-1)),i}function la(t,e){if(!t.length)return t;let i=t.length,n=Et;for(;i;){let r=s2(t[i-1],e,n);if(r.changes&&!r.changes.empty||r.effects.length){let s=t.slice(0,i);return s[i-1]=r,s}else e=r.mapped,i--,n=r.selectionsAfter}return n.length?[pt.selection(n)]:Et}function s2(t,e,i){let n=iO(t.selectionsAfter.length?t.selectionsAfter.map(l=>l.map(e)):Et,i);if(!t.changes)return pt.selection(n);let r=t.changes.map(e),s=e.mapDesc(t.changes,!0),o=t.mapped?t.mapped.composeDesc(s):s;return new pt(r,ce.mapEffects(t.effects,e),o,t.startSelection.map(s),n)}const o2=/^(input\.type|delete)($|\.)/;class di{constructor(e,i,n=0,r=void 0){this.done=e,this.undone=i,this.prevTime=n,this.prevUserEvent=r}isolate(){return this.prevTime?new di(this.done,this.undone):this}addChanges(e,i,n,r,s){let o=this.done,l=o[o.length-1];return l&&l.changes&&!l.changes.empty&&e.changes&&(!n||o2.test(n))&&(!l.selectionsAfter.length&&i-this.prevTime0&&i-this.prevTimei.empty?t.moveByChar(i,e):Il(i,e))}function st(t){return t.textDirectionAt(t.state.selection.main.head)==Xe.LTR}const sO=t=>rO(t,!st(t)),oO=t=>rO(t,st(t));function lO(t,e){return ei(t,i=>i.empty?t.moveByGroup(i,e):Il(i,e))}const a2=t=>lO(t,!st(t)),u2=t=>lO(t,st(t));function c2(t,e,i){if(e.type.prop(i))return!0;let n=e.to-e.from;return n&&(n>2||/[^\s,.;:]/.test(t.sliceDoc(e.from,e.to)))||e.firstChild}function Ll(t,e,i){let n=Te(t).resolveInner(e.head),r=i?G.closedBy:G.openedBy;for(let a=e.head;;){let u=i?n.childAfter(a):n.childBefore(a);if(!u)break;c2(t,u,r)?n=u:a=i?u.to:u.from}let s=n.type.prop(r),o,l;return s&&(o=i?Mn(t,n.from,1):Mn(t,n.to,-1))&&o.matched?l=i?o.end.to:o.end.from:l=i?n.to:n.from,T.cursor(l,i?-1:1)}const h2=t=>ei(t,e=>Ll(t.state,e,!st(t))),f2=t=>ei(t,e=>Ll(t.state,e,st(t)));function aO(t,e){return ei(t,i=>{if(!i.empty)return Il(i,e);let n=t.moveVertically(i,e);return n.head!=i.head?n:t.moveToLineBoundary(i,e)})}const uO=t=>aO(t,!1),cO=t=>aO(t,!0);function hO(t){let e=t.scrollDOM.clientHeighto.empty?t.moveVertically(o,e,i.height):Il(o,e));if(r.eq(n.selection))return!1;let s;if(i.selfScroll){let o=t.coordsAtPos(n.selection.main.head),l=t.scrollDOM.getBoundingClientRect(),a=l.top+i.marginTop,u=l.bottom-i.marginBottom;o&&o.top>a&&o.bottomfO(t,!1),wu=t=>fO(t,!0);function ln(t,e,i){let n=t.lineBlockAt(e.head),r=t.moveToLineBoundary(e,i);if(r.head==e.head&&r.head!=(i?n.to:n.from)&&(r=t.moveToLineBoundary(e,i,!1)),!i&&r.head==n.from&&n.length){let s=/^\s*/.exec(t.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&e.head!=n.from+s&&(r=T.cursor(n.from+s))}return r}const d2=t=>ei(t,e=>ln(t,e,!0)),p2=t=>ei(t,e=>ln(t,e,!1)),m2=t=>ei(t,e=>ln(t,e,!st(t))),O2=t=>ei(t,e=>ln(t,e,st(t))),g2=t=>ei(t,e=>T.cursor(t.lineBlockAt(e.head).from,1)),b2=t=>ei(t,e=>T.cursor(t.lineBlockAt(e.head).to,-1));function y2(t,e,i){let n=!1,r=xr(t.selection,s=>{let o=Mn(t,s.head,-1)||Mn(t,s.head,1)||s.head>0&&Mn(t,s.head-1,1)||s.heady2(t,e);function Mt(t,e){let i=xr(t.state.selection,n=>{let r=e(n);return T.range(n.anchor,r.head,r.goalColumn,r.bidiLevel||void 0)});return i.eq(t.state.selection)?!1:(t.dispatch(bi(t.state,i)),!0)}function dO(t,e){return Mt(t,i=>t.moveByChar(i,e))}const pO=t=>dO(t,!st(t)),mO=t=>dO(t,st(t));function OO(t,e){return Mt(t,i=>t.moveByGroup(i,e))}const k2=t=>OO(t,!st(t)),v2=t=>OO(t,st(t)),S2=t=>Mt(t,e=>Ll(t.state,e,!st(t))),w2=t=>Mt(t,e=>Ll(t.state,e,st(t)));function gO(t,e){return Mt(t,i=>t.moveVertically(i,e))}const bO=t=>gO(t,!1),yO=t=>gO(t,!0);function xO(t,e){return Mt(t,i=>t.moveVertically(i,e,hO(t).height))}const ad=t=>xO(t,!1),ud=t=>xO(t,!0),_2=t=>Mt(t,e=>ln(t,e,!0)),$2=t=>Mt(t,e=>ln(t,e,!1)),P2=t=>Mt(t,e=>ln(t,e,!st(t))),C2=t=>Mt(t,e=>ln(t,e,st(t))),Q2=t=>Mt(t,e=>T.cursor(t.lineBlockAt(e.head).from)),A2=t=>Mt(t,e=>T.cursor(t.lineBlockAt(e.head).to)),cd=({state:t,dispatch:e})=>(e(bi(t,{anchor:0})),!0),hd=({state:t,dispatch:e})=>(e(bi(t,{anchor:t.doc.length})),!0),fd=({state:t,dispatch:e})=>(e(bi(t,{anchor:t.selection.main.anchor,head:0})),!0),dd=({state:t,dispatch:e})=>(e(bi(t,{anchor:t.selection.main.anchor,head:t.doc.length})),!0),T2=({state:t,dispatch:e})=>(e(t.update({selection:{anchor:0,head:t.doc.length},userEvent:"select"})),!0),E2=({state:t,dispatch:e})=>{let i=Xl(t).map(({from:n,to:r})=>T.range(n,Math.min(r+1,t.doc.length)));return e(t.update({selection:T.create(i),userEvent:"select"})),!0},Z2=({state:t,dispatch:e})=>{let i=xr(t.selection,n=>{var r;let s=Te(t).resolveStack(n.from,1);for(let o=s;o;o=o.next){let{node:l}=o;if((l.from=n.to||l.to>n.to&&l.from<=n.from)&&(!((r=l.parent)===null||r===void 0)&&r.parent))return T.range(l.to,l.from)}return n});return e(bi(t,i)),!0},D2=({state:t,dispatch:e})=>{let i=t.selection,n=null;return i.ranges.length>1?n=T.create([i.main]):i.main.empty||(n=T.create([T.cursor(i.main.head)])),n?(e(bi(t,n)),!0):!1};function Zs(t,e){if(t.state.readOnly)return!1;let i="delete.selection",{state:n}=t,r=n.changeByRange(s=>{let{from:o,to:l}=s;if(o==l){let a=e(s);ao&&(i="delete.forward",a=co(t,a,!0)),o=Math.min(o,a),l=Math.max(l,a)}else o=co(t,o,!1),l=co(t,l,!0);return o==l?{range:s}:{changes:{from:o,to:l},range:T.cursor(o,or(t)))n.between(e,e,(r,s)=>{re&&(e=i?s:r)});return e}const kO=(t,e)=>Zs(t,i=>{let n=i.from,{state:r}=t,s=r.doc.lineAt(n),o,l;if(!e&&n>s.from&&nkO(t,!1),vO=t=>kO(t,!0),SO=(t,e)=>Zs(t,i=>{let n=i.head,{state:r}=t,s=r.doc.lineAt(n),o=r.charCategorizer(n);for(let l=null;;){if(n==(e?s.to:s.from)){n==i.head&&s.number!=(e?r.doc.lines:1)&&(n+=e?1:-1);break}let a=He(s.text,n-s.from,e)+s.from,u=s.text.slice(Math.min(n,a)-s.from,Math.max(n,a)-s.from),c=o(u);if(l!=null&&c!=l)break;(u!=" "||n!=i.head)&&(l=c),n=a}return n}),wO=t=>SO(t,!1),R2=t=>SO(t,!0),I2=t=>Zs(t,e=>{let i=t.lineBlockAt(e.head).to;return e.headZs(t,e=>{let i=t.moveToLineBoundary(e,!1).head;return e.head>i?i:Math.max(0,e.head-1)}),X2=t=>Zs(t,e=>{let i=t.moveToLineBoundary(e,!0).head;return e.head{if(t.readOnly)return!1;let i=t.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:ue.of(["",""])},range:T.cursor(n.from)}));return e(t.update(i,{scrollIntoView:!0,userEvent:"input"})),!0},W2=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=t.changeByRange(n=>{if(!n.empty||n.from==0||n.from==t.doc.length)return{range:n};let r=n.from,s=t.doc.lineAt(r),o=r==s.from?r-1:He(s.text,r-s.from,!1)+s.from,l=r==s.to?r+1:He(s.text,r-s.from,!0)+s.from;return{changes:{from:o,to:l,insert:t.doc.slice(r,l).append(t.doc.slice(o,r))},range:T.cursor(l)}});return i.changes.empty?!1:(e(t.update(i,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function Xl(t){let e=[],i=-1;for(let n of t.selection.ranges){let r=t.doc.lineAt(n.from),s=t.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=t.doc.lineAt(n.to-1)),i>=r.number){let o=e[e.length-1];o.to=s.to,o.ranges.push(n)}else e.push({from:r.from,to:s.to,ranges:[n]});i=s.number+1}return e}function _O(t,e,i){if(t.readOnly)return!1;let n=[],r=[];for(let s of Xl(t)){if(i?s.to==t.doc.length:s.from==0)continue;let o=t.doc.lineAt(i?s.to+1:s.from-1),l=o.length+1;if(i){n.push({from:s.to,to:o.to},{from:s.from,insert:o.text+t.lineBreak});for(let a of s.ranges)r.push(T.range(Math.min(t.doc.length,a.anchor+l),Math.min(t.doc.length,a.head+l)))}else{n.push({from:o.from,to:s.from},{from:s.to,insert:t.lineBreak+o.text});for(let a of s.ranges)r.push(T.range(a.anchor-l,a.head-l))}}return n.length?(e(t.update({changes:n,scrollIntoView:!0,selection:T.create(r,t.selection.mainIndex),userEvent:"move.line"})),!0):!1}const V2=({state:t,dispatch:e})=>_O(t,e,!1),F2=({state:t,dispatch:e})=>_O(t,e,!0);function $O(t,e,i){if(t.readOnly)return!1;let n=[];for(let r of Xl(t))i?n.push({from:r.from,insert:t.doc.slice(r.from,r.to)+t.lineBreak}):n.push({from:r.to,insert:t.lineBreak+t.doc.slice(r.from,r.to)});return e(t.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const z2=({state:t,dispatch:e})=>$O(t,e,!1),j2=({state:t,dispatch:e})=>$O(t,e,!0),PO=t=>{if(t.state.readOnly)return!1;let{state:e}=t,i=e.changes(Xl(e).map(({from:r,to:s})=>(r>0?r--:st.moveVertically(r,!0)).map(i);return t.dispatch({changes:i,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function B2(t,e){if(/\(\)|\[\]|\{\}/.test(t.sliceDoc(e-1,e+1)))return{from:e,to:e};let i=Te(t).resolveInner(e),n=i.childBefore(e),r=i.childAfter(e),s;return n&&r&&n.to<=e&&r.from>=e&&(s=n.type.prop(G.closedBy))&&s.indexOf(r.name)>-1&&t.doc.lineAt(n.to).from==t.doc.lineAt(r.from).from&&!/\S/.test(t.sliceDoc(n.to,r.from))?{from:n.to,to:r.from}:null}const q2=CO(!1),Y2=CO(!0);function CO(t){return({state:e,dispatch:i})=>{if(e.readOnly)return!1;let n=e.changeByRange(r=>{let{from:s,to:o}=r,l=e.doc.lineAt(s),a=!t&&s==o&&B2(e,s);t&&(s=o=(o<=l.to?l:e.doc.lineAt(o)).to);let u=new Dl(e,{simulateBreak:s,simulateDoubleBreak:!!a}),c=Vm(u,s);for(c==null&&(c=Pi(/^\s*/.exec(e.doc.lineAt(s).text)[0],e.tabSize));ol.from&&s{let r=[];for(let o=n.from;o<=n.to;){let l=t.doc.lineAt(o);l.number>i&&(n.empty||n.to>l.from)&&(e(l,r,n),i=l.number),o=l.to+1}let s=t.changes(r);return{changes:r,range:T.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const N2=({state:t,dispatch:e})=>{if(t.readOnly)return!1;let i=Object.create(null),n=new Dl(t,{overrideIndentation:s=>{let o=i[s];return o??-1}}),r=vc(t,(s,o,l)=>{let a=Vm(n,s.from);if(a==null)return;/\S/.test(s.text)||(a=0);let u=/^\s*/.exec(s.text)[0],c=il(t,a);(u!=c||l.fromt.readOnly?!1:(e(t.update(vc(t,(i,n)=>{n.push({from:i.from,insert:t.facet(br)})}),{userEvent:"input.indent"})),!0),AO=({state:t,dispatch:e})=>t.readOnly?!1:(e(t.update(vc(t,(i,n)=>{let r=/^\s*/.exec(i.text)[0];if(!r)return;let s=Pi(r,t.tabSize),o=0,l=il(t,Math.max(0,s-_n(t)));for(;o({mac:t.key,run:t.run,shift:t.shift}))),H2=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:h2,shift:S2},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:f2,shift:w2},{key:"Alt-ArrowUp",run:V2},{key:"Shift-Alt-ArrowUp",run:z2},{key:"Alt-ArrowDown",run:F2},{key:"Shift-Alt-ArrowDown",run:j2},{key:"Escape",run:D2},{key:"Mod-Enter",run:Y2},{key:"Alt-l",mac:"Ctrl-l",run:E2},{key:"Mod-i",run:Z2,preventDefault:!0},{key:"Mod-[",run:AO},{key:"Mod-]",run:QO},{key:"Mod-Alt-\\",run:N2},{key:"Shift-Mod-k",run:PO},{key:"Shift-Mod-\\",run:x2},{key:"Mod-/",run:jk},{key:"Alt-A",run:qk}].concat(G2),K2={key:"Tab",run:QO,shift:AO};function tt(){var t=arguments[0];typeof t=="string"&&(t=document.createElement(t));var e=1,i=arguments[1];if(i&&typeof i=="object"&&i.nodeType==null&&!Array.isArray(i)){for(var n in i)if(Object.prototype.hasOwnProperty.call(i,n)){var r=i[n];typeof r=="string"?t.setAttribute(n,r):r!=null&&(t[n]=r)}e++}for(;et.normalize("NFKD"):t=>t;class as{constructor(e,i,n=0,r=e.length,s,o){this.test=o,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=e.iterRange(n,r),this.bufferStart=n,this.normalize=s?l=>s(pd(l)):pd,this.query=this.normalize(i)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return Ut(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let e=this.peek();if(e<0)return this.done=!0,this;let i=b0(e),n=this.bufferStart+this.bufferPos;this.bufferPos+=wi(e);let r=this.normalize(i);for(let s=0,o=n;;s++){let l=r.charCodeAt(s),a=this.match(l,o,this.bufferPos+this.bufferStart);if(s==r.length-1){if(a)return this.value=a,this;break}o==n&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let e=this.matchPos-this.curLineStart;;){this.re.lastIndex=e;let i=this.matchPos<=this.to&&this.re.exec(this.curLine);if(i){let n=this.curLineStart+i.index,r=n+i[0].length;if(this.matchPos=sl(this.text,r+(n==r?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,match:i},this;e=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=n||r.to<=i){let l=new qn(i,e.sliceString(i,n));return aa.set(e,l),l}if(r.from==i&&r.to==n)return r;let{text:s,from:o}=r;return o>i&&(s=e.sliceString(i,o)+s,o=i),r.to=this.to?this.to:this.text.lineAt(e).to}next(){for(;;){let e=this.re.lastIndex=this.matchPos-this.flat.from,i=this.re.exec(this.flat.text);if(i&&!i[0]&&i.index==e&&(this.re.lastIndex=e+1,i=this.re.exec(this.flat.text)),i){let n=this.flat.from+i.index,r=n+i[0].length;if((this.flat.to>=this.to||i.index+i[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,r,i)))return this.value={from:n,to:r,match:i},this.matchPos=sl(this.text,r+(n==r?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=qn.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(ZO.prototype[Symbol.iterator]=DO.prototype[Symbol.iterator]=function(){return this});function J2(t){try{return new RegExp(t,Sc),!0}catch{return!1}}function sl(t,e){if(e>=t.length)return e;let i=t.lineAt(e),n;for(;e=56320&&n<57344;)e++;return e}function $u(t){let e=String(t.state.doc.lineAt(t.state.selection.main.head).number),i=tt("input",{class:"cm-textfield",name:"line",value:e}),n=tt("form",{class:"cm-gotoLine",onkeydown:s=>{s.keyCode==27?(s.preventDefault(),t.dispatch({effects:ol.of(!1)}),t.focus()):s.keyCode==13&&(s.preventDefault(),r())},onsubmit:s=>{s.preventDefault(),r()}},tt("label",t.state.phrase("Go to line"),": ",i)," ",tt("button",{class:"cm-button",type:"submit"},t.state.phrase("go")));function r(){let s=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(i.value);if(!s)return;let{state:o}=t,l=o.doc.lineAt(o.selection.main.head),[,a,u,c,h]=s,f=c?+c.slice(1):0,d=u?+u:l.number;if(u&&h){let g=d/100;a&&(g=g*(a=="-"?-1:1)+l.number/o.doc.lines),d=Math.round(o.doc.lines*g)}else u&&a&&(d=d*(a=="-"?-1:1)+l.number);let p=o.doc.line(Math.max(1,Math.min(o.doc.lines,d))),m=T.cursor(p.from+Math.max(0,Math.min(f,p.length)));t.dispatch({effects:[ol.of(!1),j.scrollIntoView(m.from,{y:"center"})],selection:m}),t.focus()}return{dom:n}}const ol=ce.define(),md=Xt.define({create(){return!0},update(t,e){for(let i of e.effects)i.is(ol)&&(t=i.value);return t},provide:t=>Ko.from(t,e=>e?$u:null)}),ev=t=>{let e=Ho(t,$u);if(!e){let i=[ol.of(!0)];t.state.field(md,!1)==null&&i.push(ce.appendConfig.of([md,tv])),t.dispatch({effects:i}),e=Ho(t,$u)}return e&&e.dom.querySelector("input").select(),!0},tv=j.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),iv=({state:t,dispatch:e})=>{let{selection:i}=t,n=T.create(i.ranges.map(r=>t.wordAt(r.head)||T.cursor(r.head)),i.mainIndex);return n.eq(i)?!1:(e(t.update({selection:n})),!0)};function nv(t,e){let{main:i,ranges:n}=t.selection,r=t.wordAt(i.head),s=r&&r.from==i.from&&r.to==i.to;for(let o=!1,l=new as(t.doc,e,n[n.length-1].to);;)if(l.next(),l.done){if(o)return null;l=new as(t.doc,e,0,Math.max(0,n[n.length-1].from-1)),o=!0}else{if(o&&n.some(a=>a.from==l.value.from))continue;if(s){let a=t.wordAt(l.value.from);if(!a||a.from!=l.value.from||a.to!=l.value.to)continue}return l.value}}const rv=({state:t,dispatch:e})=>{let{ranges:i}=t.selection;if(i.some(s=>s.from===s.to))return iv({state:t,dispatch:e});let n=t.sliceDoc(i[0].from,i[0].to);if(t.selection.ranges.some(s=>t.sliceDoc(s.from,s.to)!=n))return!1;let r=nv(t,n);return r?(e(t.update({selection:t.selection.addRange(T.range(r.from,r.to),!1),effects:j.scrollIntoView(r.to)})),!0):!1},kr=N.define({combine(t){return nc(t,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:e=>new Ov(e),scrollToMatch:e=>j.scrollIntoView(e)})}});class RO{constructor(e){this.search=e.search,this.caseSensitive=!!e.caseSensitive,this.literal=!!e.literal,this.regexp=!!e.regexp,this.replace=e.replace||"",this.valid=!!this.search&&(!this.regexp||J2(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!e.wholeWord}unquote(e){return this.literal?e:e.replace(/\\([nrt\\])/g,(i,n)=>n=="n"?` -`:n=="r"?"\r":n=="t"?" ":"\\")}eq(e){return this.search==e.search&&this.replace==e.replace&&this.caseSensitive==e.caseSensitive&&this.regexp==e.regexp&&this.wholeWord==e.wholeWord}create(){return this.regexp?new av(this):new ov(this)}getCursor(e,i=0,n){let r=e.doc?e:oe.create({doc:e});return n==null&&(n=r.doc.length),this.regexp?Xn(this,r,i,n):Ln(this,r,i,n)}}class IO{constructor(e){this.spec=e}}function Ln(t,e,i,n){return new as(e.doc,t.unquoted,i,n,t.caseSensitive?void 0:r=>r.toLowerCase(),t.wholeWord?sv(e.doc,e.charCategorizer(e.selection.main.head)):void 0)}function sv(t,e){return(i,n,r,s)=>((s>i||s+r.length=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let s=Ln(this.spec,e,Math.max(0,i-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}function Xn(t,e,i,n){return new ZO(e.doc,t.search,{ignoreCase:!t.caseSensitive,test:t.wholeWord?lv(e.charCategorizer(e.selection.main.head)):void 0},i,n)}function ll(t,e){return t.slice(He(t,e,!1),e)}function al(t,e){return t.slice(e,He(t,e))}function lv(t){return(e,i,n)=>!n[0].length||(t(ll(n.input,n.index))!=Ke.Word||t(al(n.input,n.index))!=Ke.Word)&&(t(al(n.input,n.index+n[0].length))!=Ke.Word||t(ll(n.input,n.index+n[0].length))!=Ke.Word)}class av extends IO{nextMatch(e,i,n){let r=Xn(this.spec,e,n,e.doc.length).next();return r.done&&(r=Xn(this.spec,e,0,i).next()),r.done?null:r.value}prevMatchInRange(e,i,n){for(let r=1;;r++){let s=Math.max(i,n-r*1e4),o=Xn(this.spec,e,s,n),l=null;for(;!o.next().done;)l=o.value;if(l&&(s==i||l.from>s+10))return l;if(s==i)return null}}prevMatch(e,i,n){return this.prevMatchInRange(e,0,i)||this.prevMatchInRange(e,n,e.doc.length)}getReplacement(e){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(i,n)=>n=="$"?"$":n=="&"?e.match[0]:n!="0"&&+n=i)return null;r.push(n.value)}return r}highlight(e,i,n,r){let s=Xn(this.spec,e,Math.max(0,i-250),Math.min(n+250,e.doc.length));for(;!s.next().done;)r(s.value.from,s.value.to)}}const us=ce.define(),wc=ce.define(),Ki=Xt.define({create(t){return new ua(Pu(t).create(),null)},update(t,e){for(let i of e.effects)i.is(us)?t=new ua(i.value.create(),t.panel):i.is(wc)&&(t=new ua(t.query,i.value?_c:null));return t},provide:t=>Ko.from(t,e=>e.panel)});class ua{constructor(e,i){this.query=e,this.panel=i}}const uv=he.mark({class:"cm-searchMatch"}),cv=he.mark({class:"cm-searchMatch cm-searchMatch-selected"}),hv=It.fromClass(class{constructor(t){this.view=t,this.decorations=this.highlight(t.state.field(Ki))}update(t){let e=t.state.field(Ki);(e!=t.startState.field(Ki)||t.docChanged||t.selectionSet||t.viewportChanged)&&(this.decorations=this.highlight(e))}highlight({query:t,panel:e}){if(!e||!t.spec.valid)return he.none;let{view:i}=this,n=new ir;for(let r=0,s=i.visibleRanges,o=s.length;rs[r+1].from-2*250;)a=s[++r].to;t.highlight(i.state,l,a,(u,c)=>{let h=i.state.selection.ranges.some(f=>f.from==u&&f.to==c);n.add(u,c,h?cv:uv)})}return n.finish()}},{decorations:t=>t.decorations});function Ds(t){return e=>{let i=e.state.field(Ki,!1);return i&&i.query.spec.valid?t(e,i):MO(e)}}const ul=Ds((t,{query:e})=>{let{to:i}=t.state.selection.main,n=e.nextMatch(t.state,i,i);if(!n)return!1;let r=T.single(n.from,n.to),s=t.state.facet(kr);return t.dispatch({selection:r,effects:[$c(t,n),s.scrollToMatch(r.main,t)],userEvent:"select.search"}),XO(t),!0}),cl=Ds((t,{query:e})=>{let{state:i}=t,{from:n}=i.selection.main,r=e.prevMatch(i,n,n);if(!r)return!1;let s=T.single(r.from,r.to),o=t.state.facet(kr);return t.dispatch({selection:s,effects:[$c(t,r),o.scrollToMatch(s.main,t)],userEvent:"select.search"}),XO(t),!0}),fv=Ds((t,{query:e})=>{let i=e.matchAll(t.state,1e3);return!i||!i.length?!1:(t.dispatch({selection:T.create(i.map(n=>T.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),dv=({state:t,dispatch:e})=>{let i=t.selection;if(i.ranges.length>1||i.main.empty)return!1;let{from:n,to:r}=i.main,s=[],o=0;for(let l=new as(t.doc,t.sliceDoc(n,r));!l.next().done;){if(s.length>1e3)return!1;l.value.from==n&&(o=s.length),s.push(T.range(l.value.from,l.value.to))}return e(t.update({selection:T.create(s,o),userEvent:"select.search.matches"})),!0},Od=Ds((t,{query:e})=>{let{state:i}=t,{from:n,to:r}=i.selection.main;if(i.readOnly)return!1;let s=e.nextMatch(i,n,n);if(!s)return!1;let o=[],l,a,u=[];if(s.from==n&&s.to==r&&(a=i.toText(e.getReplacement(s)),o.push({from:s.from,to:s.to,insert:a}),s=e.nextMatch(i,s.from,s.to),u.push(j.announce.of(i.phrase("replaced match on line $",i.doc.lineAt(n).number)+"."))),s){let c=o.length==0||o[0].from>=s.to?0:s.to-s.from-a.length;l=T.single(s.from-c,s.to-c),u.push($c(t,s)),u.push(i.facet(kr).scrollToMatch(l.main,t))}return t.dispatch({changes:o,selection:l,effects:u,userEvent:"input.replace"}),!0}),pv=Ds((t,{query:e})=>{if(t.state.readOnly)return!1;let i=e.matchAll(t.state,1e9).map(r=>{let{from:s,to:o}=r;return{from:s,to:o,insert:e.getReplacement(r)}});if(!i.length)return!1;let n=t.state.phrase("replaced $ matches",i.length)+".";return t.dispatch({changes:i,effects:j.announce.of(n),userEvent:"input.replace.all"}),!0});function _c(t){return t.state.facet(kr).createPanel(t)}function Pu(t,e){var i,n,r,s,o;let l=t.selection.main,a=l.empty||l.to>l.from+100?"":t.sliceDoc(l.from,l.to);if(e&&!a)return e;let u=t.facet(kr);return new RO({search:((i=e==null?void 0:e.literal)!==null&&i!==void 0?i:u.literal)?a:a.replace(/\n/g,"\\n"),caseSensitive:(n=e==null?void 0:e.caseSensitive)!==null&&n!==void 0?n:u.caseSensitive,literal:(r=e==null?void 0:e.literal)!==null&&r!==void 0?r:u.literal,regexp:(s=e==null?void 0:e.regexp)!==null&&s!==void 0?s:u.regexp,wholeWord:(o=e==null?void 0:e.wholeWord)!==null&&o!==void 0?o:u.wholeWord})}function LO(t){let e=Ho(t,_c);return e&&e.dom.querySelector("[main-field]")}function XO(t){let e=LO(t);e&&e==t.root.activeElement&&e.select()}const MO=t=>{let e=t.state.field(Ki,!1);if(e&&e.panel){let i=LO(t);if(i&&i!=t.root.activeElement){let n=Pu(t.state,e.query.spec);n.valid&&t.dispatch({effects:us.of(n)}),i.focus(),i.select()}}else t.dispatch({effects:[wc.of(!0),e?us.of(Pu(t.state,e.query.spec)):ce.appendConfig.of(bv)]});return!0},WO=t=>{let e=t.state.field(Ki,!1);if(!e||!e.panel)return!1;let i=Ho(t,_c);return i&&i.dom.contains(t.root.activeElement)&&t.focus(),t.dispatch({effects:wc.of(!1)}),!0},mv=[{key:"Mod-f",run:MO,scope:"editor search-panel"},{key:"F3",run:ul,shift:cl,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:ul,shift:cl,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:WO,scope:"editor search-panel"},{key:"Mod-Shift-l",run:dv},{key:"Mod-Alt-g",run:ev},{key:"Mod-d",run:rv,preventDefault:!0}];class Ov{constructor(e){this.view=e;let i=this.query=e.state.field(Ki).query.spec;this.commit=this.commit.bind(this),this.searchField=tt("input",{value:i.search,placeholder:gt(e,"Find"),"aria-label":gt(e,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=tt("input",{value:i.replace,placeholder:gt(e,"Replace"),"aria-label":gt(e,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=tt("input",{type:"checkbox",name:"case",form:"",checked:i.caseSensitive,onchange:this.commit}),this.reField=tt("input",{type:"checkbox",name:"re",form:"",checked:i.regexp,onchange:this.commit}),this.wordField=tt("input",{type:"checkbox",name:"word",form:"",checked:i.wholeWord,onchange:this.commit});function n(r,s,o){return tt("button",{class:"cm-button",name:r,onclick:s,type:"button"},o)}this.dom=tt("div",{onkeydown:r=>this.keydown(r),class:"cm-search"},[this.searchField,n("next",()=>ul(e),[gt(e,"next")]),n("prev",()=>cl(e),[gt(e,"previous")]),n("select",()=>fv(e),[gt(e,"all")]),tt("label",null,[this.caseField,gt(e,"match case")]),tt("label",null,[this.reField,gt(e,"regexp")]),tt("label",null,[this.wordField,gt(e,"by word")]),...e.state.readOnly?[]:[tt("br"),this.replaceField,n("replace",()=>Od(e),[gt(e,"replace")]),n("replaceAll",()=>pv(e),[gt(e,"replace all")])],tt("button",{name:"close",onclick:()=>WO(e),"aria-label":gt(e,"close"),type:"button"},["×"])])}commit(){let e=new RO({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});e.eq(this.query)||(this.query=e,this.view.dispatch({effects:us.of(e)}))}keydown(e){Fx(this.view,e,"search-panel")?e.preventDefault():e.keyCode==13&&e.target==this.searchField?(e.preventDefault(),(e.shiftKey?cl:ul)(this.view)):e.keyCode==13&&e.target==this.replaceField&&(e.preventDefault(),Od(this.view))}update(e){for(let i of e.transactions)for(let n of i.effects)n.is(us)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(e){this.query=e,this.searchField.value=e.search,this.replaceField.value=e.replace,this.caseField.checked=e.caseSensitive,this.reField.checked=e.regexp,this.wordField.checked=e.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(kr).top}}function gt(t,e){return t.state.phrase(e)}const ho=30,fo=/[\s\.,:;?!]/;function $c(t,{from:e,to:i}){let n=t.state.doc.lineAt(e),r=t.state.doc.lineAt(i).to,s=Math.max(n.from,e-ho),o=Math.min(r,i+ho),l=t.state.sliceDoc(s,o);if(s!=n.from){for(let a=0;al.length-ho;a--)if(!fo.test(l[a-1])&&fo.test(l[a])){l=l.slice(0,a);break}}return j.announce.of(`${t.state.phrase("current match")}. ${l} ${t.state.phrase("on line")} ${n.number}.`)}const gv=j.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),bv=[Ki,on.low(hv),gv];class Pc{constructor(e,i,n){this.state=e,this.pos=i,this.explicit=n,this.abortListeners=[]}tokenBefore(e){let i=Te(this.state).resolveInner(this.pos,-1);for(;i&&e.indexOf(i.name)<0;)i=i.parent;return i?{from:i.from,to:this.pos,text:this.state.sliceDoc(i.from,this.pos),type:i.type}:null}matchBefore(e){let i=this.state.doc.lineAt(this.pos),n=Math.max(i.from,this.pos-250),r=i.text.slice(n-i.from,this.pos-i.from),s=r.search(FO(e,!1));return s<0?null:{from:n+s,to:this.pos,text:r.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(e,i){e=="abort"&&this.abortListeners&&this.abortListeners.push(i)}}function gd(t){let e=Object.keys(t).join(""),i=/\w/.test(e);return i&&(e=e.replace(/\w/g,"")),`[${i?"\\w":""}${e.replace(/[^\w\s]/g,"\\$&")}]`}function yv(t){let e=Object.create(null),i=Object.create(null);for(let{label:r}of t){e[r[0]]=!0;for(let s=1;stypeof r=="string"?{label:r}:r),[i,n]=e.every(r=>/^\w+$/.test(r.label))?[/\w*$/,/\w+$/]:yv(e);return r=>{let s=r.matchBefore(n);return s||r.explicit?{from:s?s.from:r.pos,options:e,validFor:i}:null}}function xv(t,e){return i=>{for(let n=Te(i.state).resolveInner(i.pos,-1);n;n=n.parent){if(t.indexOf(n.name)>-1)return null;if(n.type.isTop)break}return e(i)}}class bd{constructor(e,i,n,r){this.completion=e,this.source=i,this.match=n,this.score=r}}function Ji(t){return t.selection.main.from}function FO(t,e){var i;let{source:n}=t,r=e&&n[0]!="^",s=n[n.length-1]!="$";return!r&&!s?t:new RegExp(`${r?"^":""}(?:${n})${s?"$":""}`,(i=t.flags)!==null&&i!==void 0?i:t.ignoreCase?"i":"")}const zO=Ti.define();function kv(t,e,i,n){let{main:r}=t.selection,s=i-r.from,o=n-r.from;return Object.assign(Object.assign({},t.changeByRange(l=>l!=r&&i!=n&&t.sliceDoc(l.from+s,l.from+o)!=t.sliceDoc(i,n)?{range:l}:{changes:{from:l.from+s,to:n==r.from?l.to:l.from+o,insert:e},range:T.cursor(l.from+s+e.length)})),{scrollIntoView:!0,userEvent:"input.complete"})}const yd=new WeakMap;function vv(t){if(!Array.isArray(t))return t;let e=yd.get(t);return e||yd.set(t,e=VO(t)),e}const hl=ce.define(),cs=ce.define();class Sv{constructor(e){this.pattern=e,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let i=0;i=48&&_<=57||_>=97&&_<=122?2:_>=65&&_<=90?1:0:(A=b0(_))!=A.toLowerCase()?1:A!=A.toUpperCase()?2:0;(!y||C==1&&g||S==0&&C!=0)&&(i[h]==_||n[h]==_&&(f=!0)?o[h++]=y:o.length&&(O=!1)),S=C,y+=wi(_)}return h==a&&o[0]==0&&O?this.result(-100+(f?-200:0),o,e):d==a&&p==0?this.ret(-200-e.length+(m==e.length?0:-100),[0,m]):l>-1?this.ret(-700-e.length,[l,l+this.pattern.length]):d==a?this.ret(-900-e.length,[p,m]):h==a?this.result(-100+(f?-200:0)+-700+(O?0:-1100),o,e):i.length==2?!1:this.result((r[0]?-700:0)+-200+-1100,r,e)}result(e,i,n){let r=[],s=0;for(let o of i){let l=o+(this.astral?wi(Ut(n,o)):1);s&&r[s-1]==o?r[s-1]=l:(r[s++]=o,r[s++]=l)}return this.ret(e-n.length,r)}}const Ge=N.define({combine(t){return nc(t,{activateOnTyping:!0,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:wv,compareCompletions:(e,i)=>e.label.localeCompare(i.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(e,i)=>e&&i,closeOnBlur:(e,i)=>e&&i,icons:(e,i)=>e&&i,tooltipClass:(e,i)=>n=>xd(e(n),i(n)),optionClass:(e,i)=>n=>xd(e(n),i(n)),addToOptions:(e,i)=>e.concat(i)})}});function xd(t,e){return t?e?t+" "+e:t:e}function wv(t,e,i,n,r,s){let o=t.textDirection==Xe.RTL,l=o,a=!1,u="top",c,h,f=e.left-r.left,d=r.right-e.right,p=n.right-n.left,m=n.bottom-n.top;if(l&&f=m||y>e.top?c=i.bottom-e.top:(u="bottom",c=e.bottom-i.top)}let g=(e.bottom-e.top)/s.offsetHeight,O=(e.right-e.left)/s.offsetWidth;return{style:`${u}: ${c/g}px; max-width: ${h/O}px`,class:"cm-completionInfo-"+(a?o?"left-narrow":"right-narrow":l?"left":"right")}}function _v(t){let e=t.addToOptions.slice();return t.icons&&e.push({render(i){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),i.type&&n.classList.add(...i.type.split(/\s+/g).map(r=>"cm-completionIcon-"+r)),n.setAttribute("aria-hidden","true"),n},position:20}),e.push({render(i,n,r,s){let o=document.createElement("span");o.className="cm-completionLabel";let l=i.displayLabel||i.label,a=0;for(let u=0;ua&&o.appendChild(document.createTextNode(l.slice(a,c)));let f=o.appendChild(document.createElement("span"));f.appendChild(document.createTextNode(l.slice(c,h))),f.className="cm-completionMatchedText",a=h}return ai.position-n.position).map(i=>i.render)}function ca(t,e,i){if(t<=i)return{from:0,to:t};if(e<0&&(e=0),e<=t>>1){let r=Math.floor(e/i);return{from:r*i,to:(r+1)*i}}let n=Math.floor((t-e)/i);return{from:t-(n+1)*i,to:t-n*i}}class $v{constructor(e,i,n){this.view=e,this.stateField=i,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:a=>this.placeInfo(a),key:this},this.space=null,this.currentClass="";let r=e.state.field(i),{options:s,selected:o}=r.open,l=e.state.facet(Ge);this.optionContent=_v(l),this.optionClass=l.optionClass,this.tooltipClass=l.tooltipClass,this.range=ca(s.length,o,l.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",a=>{let{options:u}=e.state.field(i).open;for(let c=a.target,h;c&&c!=this.dom;c=c.parentNode)if(c.nodeName=="LI"&&(h=/-(\d+)$/.exec(c.id))&&+h[1]{let u=e.state.field(this.stateField,!1);u&&u.tooltip&&e.state.facet(Ge).closeOnBlur&&a.relatedTarget!=e.contentDOM&&e.dispatch({effects:cs.of(null)})}),this.showOptions(s,r.id)}mount(){this.updateSel()}showOptions(e,i){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,i,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(e){var i;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField);if(this.updateTooltipClass(e.state),n!=r){let{options:s,selected:o,disabled:l}=n.open;(!r.open||r.open.options!=s)&&(this.range=ca(s.length,o,e.state.facet(Ge).maxRenderedOptions),this.showOptions(s,n.id)),this.updateSel(),l!=((i=r.open)===null||i===void 0?void 0:i.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!l)}}updateTooltipClass(e){let i=this.tooltipClass(e);if(i!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of i.split(" "))n&&this.dom.classList.add(n);this.currentClass=i}}positioned(e){this.space=e,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let e=this.view.state.field(this.stateField),i=e.open;if((i.selected>-1&&i.selected=this.range.to)&&(this.range=ca(i.options.length,i.selected,this.view.state.facet(Ge).maxRenderedOptions),this.showOptions(i.options,e.id)),this.updateSelectedOption(i.selected)){this.destroyInfo();let{completion:n}=i.options[i.selected],{info:r}=n;if(!r)return;let s=typeof r=="string"?document.createTextNode(r):r(n);if(!s)return;"then"in s?s.then(o=>{o&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(o,n)}).catch(o=>At(this.view.state,o,"completion info")):this.addInfoPane(s,n)}}addInfoPane(e,i){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",e.nodeType!=null)n.appendChild(e),this.infoDestroy=null;else{let{dom:r,destroy:s}=e;n.appendChild(r),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(e){let i=null;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,r++)n.nodeName!="LI"||!n.id?r--:r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),i=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return i&&Cv(this.list,i),i}measureInfo(){let e=this.dom.querySelector("[aria-selected]");if(!e||!this.info)return null;let i=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),s=this.space;if(!s){let o=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:o.innerWidth,bottom:o.innerHeight}}return r.top>Math.min(s.bottom,i.bottom)-10||r.bottomn.from||n.from==0))if(s=f,typeof u!="string"&&u.header)r.appendChild(u.header(u));else{let d=r.appendChild(document.createElement("completion-section"));d.textContent=f}}const c=r.appendChild(document.createElement("li"));c.id=i+"-"+o,c.setAttribute("role","option");let h=this.optionClass(l);h&&(c.className=h);for(let f of this.optionContent){let d=f(l,this.view.state,this.view,a);d&&c.appendChild(d)}}return n.from&&r.classList.add("cm-completionListIncompleteTop"),n.tonew $v(i,t,e)}function Cv(t,e){let i=t.getBoundingClientRect(),n=e.getBoundingClientRect(),r=i.height/t.offsetHeight;n.topi.bottom&&(t.scrollTop+=(n.bottom-i.bottom)/r)}function kd(t){return(t.boost||0)*100+(t.apply?10:0)+(t.info?5:0)+(t.type?1:0)}function Qv(t,e){let i=[],n=null,r=a=>{i.push(a);let{section:u}=a.completion;if(u){n||(n=[]);let c=typeof u=="string"?u:u.name;n.some(h=>h.name==c)||n.push(typeof u=="string"?{name:c}:u)}};for(let a of t)if(a.hasResult()){let u=a.result.getMatch;if(a.result.filter===!1)for(let c of a.result.options)r(new bd(c,a.source,u?u(c):[],1e9-i.length));else{let c=new Sv(e.sliceDoc(a.from,a.to));for(let h of a.result.options)if(c.match(h.label)){let f=h.displayLabel?u?u(h,c.matched):[]:c.matched;r(new bd(h,a.source,f,c.score+(h.boost||0)))}}}if(n){let a=Object.create(null),u=0,c=(h,f)=>{var d,p;return((d=h.rank)!==null&&d!==void 0?d:1e9)-((p=f.rank)!==null&&p!==void 0?p:1e9)||(h.namec.score-u.score||l(u.completion,c.completion))){let u=a.completion;!o||o.label!=u.label||o.detail!=u.detail||o.type!=null&&u.type!=null&&o.type!=u.type||o.apply!=u.apply||o.boost!=u.boost?s.push(a):kd(a.completion)>kd(o)&&(s[s.length-1]=a),o=a.completion}return s}class Wn{constructor(e,i,n,r,s,o){this.options=e,this.attrs=i,this.tooltip=n,this.timestamp=r,this.selected=s,this.disabled=o}setSelected(e,i){return e==this.selected||e>=this.options.length?this:new Wn(this.options,vd(i,e),this.tooltip,this.timestamp,e,this.disabled)}static build(e,i,n,r,s){let o=Qv(e,i);if(!o.length)return r&&e.some(a=>a.state==1)?new Wn(r.options,r.attrs,r.tooltip,r.timestamp,r.selected,!0):null;let l=i.facet(Ge).selectOnOpen?0:-1;if(r&&r.selected!=l&&r.selected!=-1){let a=r.options[r.selected].completion;for(let u=0;uu.hasResult()?Math.min(a,u.from):a,1e8),create:Dv,above:s.aboveCursor},r?r.timestamp:Date.now(),l,!1)}map(e){return new Wn(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:e.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}}class fl{constructor(e,i,n){this.active=e,this.id=i,this.open=n}static start(){return new fl(Ev,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(e){let{state:i}=e,n=i.facet(Ge),s=(n.override||i.languageDataAt("autocomplete",Ji(i)).map(vv)).map(l=>(this.active.find(u=>u.source==l)||new ht(l,this.active.some(u=>u.state!=0)?1:0)).update(e,n));s.length==this.active.length&&s.every((l,a)=>l==this.active[a])&&(s=this.active);let o=this.open;o&&e.docChanged&&(o=o.map(e.changes)),e.selection||s.some(l=>l.hasResult()&&e.changes.touchesRange(l.from,l.to))||!Av(s,this.active)?o=Wn.build(s,i,this.id,o,n):o&&o.disabled&&!s.some(l=>l.state==1)&&(o=null),!o&&s.every(l=>l.state!=1)&&s.some(l=>l.hasResult())&&(s=s.map(l=>l.hasResult()?new ht(l.source,0):l));for(let l of e.effects)l.is(BO)&&(o=o&&o.setSelected(l.value,this.id));return s==this.active&&o==this.open?this:new fl(s,this.id,o)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:Tv}}function Av(t,e){if(t==e)return!0;for(let i=0,n=0;;){for(;i-1&&(i["aria-activedescendant"]=t+"-"+e),i}const Ev=[];function Cu(t){return t.isUserEvent("input.type")?"input":t.isUserEvent("delete.backward")?"delete":null}class ht{constructor(e,i,n=-1){this.source=e,this.state=i,this.explicitPos=n}hasResult(){return!1}update(e,i){let n=Cu(e),r=this;n?r=r.handleUserEvent(e,n,i):e.docChanged?r=r.handleChange(e):e.selection&&r.state!=0&&(r=new ht(r.source,0));for(let s of e.effects)if(s.is(hl))r=new ht(r.source,1,s.value?Ji(e.state):-1);else if(s.is(cs))r=new ht(r.source,0);else if(s.is(jO))for(let o of s.value)o.source==r.source&&(r=o);return r}handleUserEvent(e,i,n){return i=="delete"||!n.activateOnTyping?this.map(e.changes):new ht(this.source,1)}handleChange(e){return e.changes.touchesRange(Ji(e.startState))?new ht(this.source,0):this.map(e.changes)}map(e){return e.empty||this.explicitPos<0?this:new ht(this.source,this.state,e.mapPos(this.explicitPos))}}class Yn extends ht{constructor(e,i,n,r,s){super(e,2,i),this.result=n,this.from=r,this.to=s}hasResult(){return!0}handleUserEvent(e,i,n){var r;let s=e.changes.mapPos(this.from),o=e.changes.mapPos(this.to,1),l=Ji(e.state);if((this.explicitPos<0?l<=s:lo||i=="delete"&&Ji(e.startState)==this.from)return new ht(this.source,i=="input"&&n.activateOnTyping?1:0);let a=this.explicitPos<0?-1:e.changes.mapPos(this.explicitPos),u;return Zv(this.result.validFor,e.state,s,o)?new Yn(this.source,a,this.result,s,o):this.result.update&&(u=this.result.update(this.result,s,o,new Pc(e.state,l,a>=0)))?new Yn(this.source,a,u,u.from,(r=u.to)!==null&&r!==void 0?r:Ji(e.state)):new ht(this.source,1,a)}handleChange(e){return e.changes.touchesRange(this.from,this.to)?new ht(this.source,0):this.map(e.changes)}map(e){return e.empty?this:new Yn(this.source,this.explicitPos<0?-1:e.mapPos(this.explicitPos),this.result,e.mapPos(this.from),e.mapPos(this.to,1))}}function Zv(t,e,i,n){if(!t)return!1;let r=e.sliceDoc(i,n);return typeof t=="function"?t(r,i,n,e):FO(t,!0).test(r)}const jO=ce.define({map(t,e){return t.map(i=>i.map(e))}}),BO=ce.define(),ft=Xt.define({create(){return fl.start()},update(t,e){return t.update(e)},provide:t=>[Cm.from(t,e=>e.tooltip),j.contentAttributes.from(t,e=>e.attrs)]});function Cc(t,e){const i=e.completion.apply||e.completion.label;let n=t.state.field(ft).active.find(r=>r.source==e.source);return n instanceof Yn?(typeof i=="string"?t.dispatch(Object.assign(Object.assign({},kv(t.state,i,n.from,n.to)),{annotations:zO.of(e.completion)})):i(t,e.completion,n.from,n.to),!0):!1}const Dv=Pv(ft,Cc);function po(t,e="option"){return i=>{let n=i.state.field(ft,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+r*(t?1:-1):t?0:o-1;return l<0?l=e=="page"?0:o-1:l>=o&&(l=e=="page"?o-1:0),i.dispatch({effects:BO.of(l)}),!0}}const Rv=t=>{let e=t.state.field(ft,!1);return t.state.readOnly||!e||!e.open||e.open.selected<0||e.open.disabled||Date.now()-e.open.timestampt.state.field(ft,!1)?(t.dispatch({effects:hl.of(!0)}),!0):!1,Lv=t=>{let e=t.state.field(ft,!1);return!e||!e.active.some(i=>i.state!=0)?!1:(t.dispatch({effects:cs.of(null)}),!0)};class Xv{constructor(e,i){this.active=e,this.context=i,this.time=Date.now(),this.updates=[],this.done=void 0}}const Mv=50,Wv=1e3,Vv=It.fromClass(class{constructor(t){this.view=t,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let e of t.state.field(ft).active)e.state==1&&this.startQuery(e)}update(t){let e=t.state.field(ft);if(!t.selectionSet&&!t.docChanged&&t.startState.field(ft)==e)return;let i=t.transactions.some(r=>(r.selection||r.docChanged)&&!Cu(r));for(let r=0;rMv&&Date.now()-s.time>Wv){for(let o of s.context.abortListeners)try{o()}catch(l){At(this.view.state,l)}s.context.abortListeners=null,this.running.splice(r--,1)}else s.updates.push(...t.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),t.transactions.some(r=>r.effects.some(s=>s.is(hl)))&&(this.pendingStart=!0);let n=this.pendingStart?50:t.state.facet(Ge).activateOnTypingDelay;if(this.debounceUpdate=e.active.some(r=>r.state==1&&!this.running.some(s=>s.active.source==r.source))?setTimeout(()=>this.startUpdate(),n):-1,this.composing!=0)for(let r of t.transactions)Cu(r)=="input"?this.composing=2:this.composing==2&&r.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:t}=this.view,e=t.field(ft);for(let i of e.active)i.state==1&&!this.running.some(n=>n.active.source==i.source)&&this.startQuery(i)}startQuery(t){let{state:e}=this.view,i=Ji(e),n=new Pc(e,i,t.explicitPos==i),r=new Xv(t,n);this.running.push(r),Promise.resolve(t.source(n)).then(s=>{r.context.aborted||(r.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:cs.of(null)}),At(this.view.state,s)})}scheduleAccept(){this.running.every(t=>t.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(Ge).updateSyncTime))}accept(){var t;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let e=[],i=this.view.state.facet(Ge);for(let n=0;no.source==r.active.source);if(s&&s.state==1)if(r.done==null){let o=new ht(r.active.source,0);for(let l of r.updates)o=o.update(l,i);o.state!=1&&e.push(o)}else this.startQuery(s)}e.length&&this.view.dispatch({effects:jO.of(e)})}},{eventHandlers:{blur(t){let e=this.view.state.field(ft,!1);if(e&&e.tooltip&&this.view.state.facet(Ge).closeOnBlur){let i=e.open&&Qm(this.view,e.open.tooltip);(!i||!i.dom.contains(t.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:cs.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:hl.of(!1)}),20),this.composing=0}}}),Fv=typeof navigator=="object"&&/Win/.test(navigator.platform),zv=on.highest(j.domEventHandlers({keydown(t,e){let i=e.state.field(ft,!1);if(!i||!i.open||i.open.disabled||i.open.selected<0||t.key.length>1||t.ctrlKey&&!(Fv&&t.altKey)||t.metaKey)return!1;let n=i.open.options[i.open.selected],r=i.active.find(o=>o.source==n.source),s=n.completion.commitCharacters||r.result.commitCharacters;return s&&s.indexOf(t.key)>-1&&Cc(e,n),!1}})),qO=j.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}});class jv{constructor(e,i,n,r){this.field=e,this.line=i,this.from=n,this.to=r}}class Qc{constructor(e,i,n){this.field=e,this.from=i,this.to=n}map(e){let i=e.mapPos(this.from,-1,at.TrackDel),n=e.mapPos(this.to,1,at.TrackDel);return i==null||n==null?null:new Qc(this.field,i,n)}}class Ac{constructor(e,i){this.lines=e,this.fieldPositions=i}instantiate(e,i){let n=[],r=[i],s=e.doc.lineAt(i),o=/^\s*/.exec(s.text)[0];for(let a of this.lines){if(n.length){let u=o,c=/^\t*/.exec(a)[0].length;for(let h=0;hnew Qc(a.field,r[a.line]+a.from,r[a.line]+a.to));return{text:n,ranges:l}}static parse(e){let i=[],n=[],r=[],s;for(let o of e.split(/\r\n?|\n/)){for(;s=/[#$]\{(?:(\d+)(?::([^}]*))?|([^}]*))\}/.exec(o);){let l=s[1]?+s[1]:null,a=s[2]||s[3]||"",u=-1;for(let c=0;c=u&&h.field++}r.push(new jv(u,n.length,s.index,s.index+a.length)),o=o.slice(0,s.index)+a+o.slice(s.index+s[0].length)}for(let l;l=/\\([{}])/.exec(o);){o=o.slice(0,l.index)+l[1]+o.slice(l.index+l[0].length);for(let a of r)a.line==n.length&&a.from>l.index&&(a.from--,a.to--)}n.push(o)}return new Ac(n,r)}}let Bv=he.widget({widget:new class extends Ps{toDOM(){let t=document.createElement("span");return t.className="cm-snippetFieldPosition",t}ignoreEvent(){return!1}}}),qv=he.mark({class:"cm-snippetField"});class vr{constructor(e,i){this.ranges=e,this.active=i,this.deco=he.set(e.map(n=>(n.from==n.to?Bv:qv).range(n.from,n.to)))}map(e){let i=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null;i.push(r)}return new vr(i,this.active)}selectionInsideField(e){return e.ranges.every(i=>this.ranges.some(n=>n.field==this.active&&n.from<=i.from&&n.to>=i.to))}}const Rs=ce.define({map(t,e){return t&&t.map(e)}}),Yv=ce.define(),hs=Xt.define({create(){return null},update(t,e){for(let i of e.effects){if(i.is(Rs))return i.value;if(i.is(Yv)&&t)return new vr(t.ranges,i.value)}return t&&e.docChanged&&(t=t.map(e.changes)),t&&e.selection&&!t.selectionInsideField(e.selection)&&(t=null),t},provide:t=>j.decorations.from(t,e=>e?e.deco:he.none)});function Tc(t,e){return T.create(t.filter(i=>i.field==e).map(i=>T.range(i.from,i.to)))}function Nv(t){let e=Ac.parse(t);return(i,n,r,s)=>{let{text:o,ranges:l}=e.instantiate(i.state,r),a={changes:{from:r,to:s,insert:ue.of(o)},scrollIntoView:!0,annotations:n?[zO.of(n),Le.userEvent.of("input.complete")]:void 0};if(l.length&&(a.selection=Tc(l,0)),l.some(u=>u.field>0)){let u=new vr(l,0),c=a.effects=[Rs.of(u)];i.state.field(hs,!1)===void 0&&c.push(ce.appendConfig.of([hs,Jv,eS,qO]))}i.dispatch(i.state.update(a))}}function YO(t){return({state:e,dispatch:i})=>{let n=e.field(hs,!1);if(!n||t<0&&n.active==0)return!1;let r=n.active+t,s=t>0&&!n.ranges.some(o=>o.field==r+t);return i(e.update({selection:Tc(n.ranges,r),effects:Rs.of(s?null:new vr(n.ranges,r)),scrollIntoView:!0})),!0}}const Uv=({state:t,dispatch:e})=>t.field(hs,!1)?(e(t.update({effects:Rs.of(null)})),!0):!1,Gv=YO(1),Hv=YO(-1),Kv=[{key:"Tab",run:Gv,shift:Hv},{key:"Escape",run:Uv}],Sd=N.define({combine(t){return t.length?t[0]:Kv}}),Jv=on.highest(As.compute([Sd],t=>t.facet(Sd)));function ct(t,e){return Object.assign(Object.assign({},e),{apply:Nv(t)})}const eS=j.domEventHandlers({mousedown(t,e){let i=e.state.field(hs,!1),n;if(!i||(n=e.posAtCoords({x:t.clientX,y:t.clientY}))==null)return!1;let r=i.ranges.find(s=>s.from<=n&&s.to>=n);return!r||r.field==i.active?!1:(e.dispatch({selection:Tc(i.ranges,r.field),effects:Rs.of(i.ranges.some(s=>s.field>r.field)?new vr(i.ranges,r.field):null),scrollIntoView:!0}),!0)}}),NO=new class extends xn{};NO.startSide=1;NO.endSide=-1;function tS(t={}){return[zv,ft,Ge.of(t),Vv,nS,qO]}const iS=[{key:"Ctrl-Space",run:Iv},{key:"Escape",run:Lv},{key:"ArrowDown",run:po(!0)},{key:"ArrowUp",run:po(!1)},{key:"PageDown",run:po(!0,"page")},{key:"PageUp",run:po(!1,"page")},{key:"Enter",run:Rv}],nS=on.highest(As.computeN([Ge],t=>t.facet(Ge).defaultKeymap?[iS]:[]));function E(t){return new ur(Oc.define(t))}function Zi(t){return Q(()=>import("./index-BAThy-QT.js"),__vite__mapDeps([0,1,2]),import.meta.url).then(e=>e.sql({dialect:e[t]}))}const rS=[P.of({name:"C",extensions:["c","h","ino"],load(){return Q(()=>import("./index-DypIgR1i.js"),__vite__mapDeps([3,1,2]),import.meta.url).then(t=>t.cpp())}}),P.of({name:"C++",alias:["cpp"],extensions:["cpp","c++","cc","cxx","hpp","h++","hh","hxx"],load(){return Q(()=>import("./index-DypIgR1i.js"),__vite__mapDeps([3,1,2]),import.meta.url).then(t=>t.cpp())}}),P.of({name:"CQL",alias:["cassandra"],extensions:["cql"],load(){return Zi("Cassandra")}}),P.of({name:"CSS",extensions:["css"],load(){return Q(()=>Promise.resolve().then(()=>Gw),void 0,import.meta.url).then(t=>t.css())}}),P.of({name:"Go",extensions:["go"],load(){return Q(()=>import("./index-2ff-Jv0C.js"),__vite__mapDeps([4,1,2]),import.meta.url).then(t=>t.go())}}),P.of({name:"HTML",alias:["xhtml"],extensions:["html","htm","handlebars","hbs"],load(){return Q(()=>Promise.resolve().then(()=>I3),void 0,import.meta.url).then(t=>t.html())}}),P.of({name:"Java",extensions:["java"],load(){return Q(()=>import("./index-BaTBnWfb.js"),__vite__mapDeps([5,1,2]),import.meta.url).then(t=>t.java())}}),P.of({name:"JavaScript",alias:["ecmascript","js","node"],extensions:["js","mjs","cjs"],load(){return Q(()=>Promise.resolve().then(()=>go),void 0,import.meta.url).then(t=>t.javascript())}}),P.of({name:"JSON",alias:["json5"],extensions:["json","map"],load(){return Q(()=>import("./index-DHoGfsDt.js"),__vite__mapDeps([6,1,2]),import.meta.url).then(t=>t.json())}}),P.of({name:"JSX",extensions:["jsx"],load(){return Q(()=>Promise.resolve().then(()=>go),void 0,import.meta.url).then(t=>t.javascript({jsx:!0}))}}),P.of({name:"LESS",extensions:["less"],load(){return Q(()=>import("./index-ltfup6bp.js"),__vite__mapDeps([7,1,2]),import.meta.url).then(t=>t.less())}}),P.of({name:"Liquid",extensions:["liquid"],load(){return Q(()=>import("./index-Bq4zaOcP.js"),__vite__mapDeps([8,1,2]),import.meta.url).then(t=>t.liquid())}}),P.of({name:"MariaDB SQL",load(){return Zi("MariaSQL")}}),P.of({name:"Markdown",extensions:["md","markdown","mkd"],load(){return Q(()=>Promise.resolve().then(()=>q3),void 0,import.meta.url).then(t=>t.markdown())}}),P.of({name:"MS SQL",load(){return Zi("MSSQL")}}),P.of({name:"MySQL",load(){return Zi("MySQL")}}),P.of({name:"PHP",extensions:["php","php3","php4","php5","php7","phtml"],load(){return Q(()=>import("./index-Dllm2_h9.js"),__vite__mapDeps([9,1,2]),import.meta.url).then(t=>t.php())}}),P.of({name:"PLSQL",extensions:["pls"],load(){return Zi("PLSQL")}}),P.of({name:"PostgreSQL",load(){return Zi("PostgreSQL")}}),P.of({name:"Python",extensions:["BUILD","bzl","py","pyw"],filename:/^(BUCK|BUILD)$/,load(){return Q(()=>import("./index-B-Adk9a1.js"),__vite__mapDeps([10,1,2]),import.meta.url).then(t=>t.python())}}),P.of({name:"Rust",extensions:["rs"],load(){return Q(()=>import("./index-DaE0Gq3j.js"),__vite__mapDeps([11,1,2]),import.meta.url).then(t=>t.rust())}}),P.of({name:"Sass",extensions:["sass"],load(){return Q(()=>import("./index-Dasmtrdh.js"),__vite__mapDeps([12,1,2]),import.meta.url).then(t=>t.sass({indented:!0}))}}),P.of({name:"SCSS",extensions:["scss"],load(){return Q(()=>import("./index-Dasmtrdh.js"),__vite__mapDeps([12,1,2]),import.meta.url).then(t=>t.sass())}}),P.of({name:"SQL",extensions:["sql"],load(){return Zi("StandardSQL")}}),P.of({name:"SQLite",load(){return Zi("SQLite")}}),P.of({name:"TSX",extensions:["tsx"],load(){return Q(()=>Promise.resolve().then(()=>go),void 0,import.meta.url).then(t=>t.javascript({jsx:!0,typescript:!0}))}}),P.of({name:"TypeScript",alias:["ts"],extensions:["ts","mts","cts"],load(){return Q(()=>Promise.resolve().then(()=>go),void 0,import.meta.url).then(t=>t.javascript({typescript:!0}))}}),P.of({name:"WebAssembly",extensions:["wat","wast"],load(){return Q(()=>import("./index-fSrKMKAy.js"),__vite__mapDeps([13,1,2]),import.meta.url).then(t=>t.wast())}}),P.of({name:"XML",alias:["rss","wsdl","xsd"],extensions:["xml","xsl","xsd","svg"],load(){return Q(()=>import("./index-B5Oqksb-.js"),__vite__mapDeps([14,1,2]),import.meta.url).then(t=>t.xml())}}),P.of({name:"YAML",alias:["yml"],extensions:["yaml","yml"],load(){return Q(()=>import("./index-Bh_8enQz.js"),__vite__mapDeps([15,1,2]),import.meta.url).then(t=>t.yaml())}}),P.of({name:"APL",extensions:["dyalog","apl"],load(){return Q(()=>import("./apl-B4CMkyY2.js"),[],import.meta.url).then(t=>E(t.apl))}}),P.of({name:"PGP",alias:["asciiarmor"],extensions:["asc","pgp","sig"],load(){return Q(()=>import("./asciiarmor-Df11BRmG.js"),[],import.meta.url).then(t=>E(t.asciiArmor))}}),P.of({name:"ASN.1",extensions:["asn","asn1"],load(){return Q(()=>import("./asn1-CGOzndHr.js"),[],import.meta.url).then(t=>E(t.asn1({})))}}),P.of({name:"Asterisk",filename:/^extensions\.conf$/i,load(){return Q(()=>import("./asterisk-B-8jnY81.js"),[],import.meta.url).then(t=>E(t.asterisk))}}),P.of({name:"Brainfuck",extensions:["b","bf"],load(){return Q(()=>import("./brainfuck-C4LP7Hcl.js"),[],import.meta.url).then(t=>E(t.brainfuck))}}),P.of({name:"Cobol",extensions:["cob","cpy"],load(){return Q(()=>import("./cobol-XrqhtCFE.js"),[],import.meta.url).then(t=>E(t.cobol))}}),P.of({name:"C#",alias:["csharp","cs"],extensions:["cs"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[],import.meta.url).then(t=>E(t.csharp))}}),P.of({name:"Clojure",extensions:["clj","cljc","cljx"],load(){return Q(()=>import("./clojure-BMjYHr_A.js"),[],import.meta.url).then(t=>E(t.clojure))}}),P.of({name:"ClojureScript",extensions:["cljs"],load(){return Q(()=>import("./clojure-BMjYHr_A.js"),[],import.meta.url).then(t=>E(t.clojure))}}),P.of({name:"Closure Stylesheets (GSS)",extensions:["gss"],load(){return Q(()=>import("./css-BnMrqG3P.js"),[],import.meta.url).then(t=>E(t.gss))}}),P.of({name:"CMake",extensions:["cmake","cmake.in"],filename:/^CMakeLists\.txt$/,load(){return Q(()=>import("./cmake-BQqOBYOt.js"),[],import.meta.url).then(t=>E(t.cmake))}}),P.of({name:"CoffeeScript",alias:["coffee","coffee-script"],extensions:["coffee"],load(){return Q(()=>import("./coffeescript-S37ZYGWr.js"),[],import.meta.url).then(t=>E(t.coffeeScript))}}),P.of({name:"Common Lisp",alias:["lisp"],extensions:["cl","lisp","el"],load(){return Q(()=>import("./commonlisp-5jcOZwOE.js"),[],import.meta.url).then(t=>E(t.commonLisp))}}),P.of({name:"Cypher",extensions:["cyp","cypher"],load(){return Q(()=>import("./cypher-C_CwsFkJ.js"),[],import.meta.url).then(t=>E(t.cypher))}}),P.of({name:"Cython",extensions:["pyx","pxd","pxi"],load(){return Q(()=>import("./python-BuPzkPfP.js"),[],import.meta.url).then(t=>E(t.cython))}}),P.of({name:"Crystal",extensions:["cr"],load(){return Q(()=>import("./crystal-SjHAIU92.js"),[],import.meta.url).then(t=>E(t.crystal))}}),P.of({name:"D",extensions:["d"],load(){return Q(()=>import("./d-pRatUO7H.js"),[],import.meta.url).then(t=>E(t.d))}}),P.of({name:"Dart",extensions:["dart"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[],import.meta.url).then(t=>E(t.dart))}}),P.of({name:"diff",extensions:["diff","patch"],load(){return Q(()=>import("./diff-DbItnlRl.js"),[],import.meta.url).then(t=>E(t.diff))}}),P.of({name:"Dockerfile",filename:/^Dockerfile$/,load(){return Q(()=>import("./dockerfile-BuNIbK2j.js"),__vite__mapDeps([16,17]),import.meta.url).then(t=>E(t.dockerFile))}}),P.of({name:"DTD",extensions:["dtd"],load(){return Q(()=>import("./dtd-DF_7sFjM.js"),[],import.meta.url).then(t=>E(t.dtd))}}),P.of({name:"Dylan",extensions:["dylan","dyl","intr"],load(){return Q(()=>import("./dylan-DwRh75JA.js"),[],import.meta.url).then(t=>E(t.dylan))}}),P.of({name:"EBNF",load(){return Q(()=>import("./ebnf-CDyGwa7X.js"),[],import.meta.url).then(t=>E(t.ebnf))}}),P.of({name:"ECL",extensions:["ecl"],load(){return Q(()=>import("./ecl-Cabwm37j.js"),[],import.meta.url).then(t=>E(t.ecl))}}),P.of({name:"edn",extensions:["edn"],load(){return Q(()=>import("./clojure-BMjYHr_A.js"),[],import.meta.url).then(t=>E(t.clojure))}}),P.of({name:"Eiffel",extensions:["e"],load(){return Q(()=>import("./eiffel-CnydiIhH.js"),[],import.meta.url).then(t=>E(t.eiffel))}}),P.of({name:"Elm",extensions:["elm"],load(){return Q(()=>import("./elm-vLlmbW-K.js"),[],import.meta.url).then(t=>E(t.elm))}}),P.of({name:"Erlang",extensions:["erl"],load(){return Q(()=>import("./erlang-BNw1qcRV.js"),[],import.meta.url).then(t=>E(t.erlang))}}),P.of({name:"Esper",load(){return Q(()=>import("./sql-C4g8LzGK.js"),[],import.meta.url).then(t=>E(t.esper))}}),P.of({name:"Factor",extensions:["factor"],load(){return Q(()=>import("./factor-D8pE9siL.js"),__vite__mapDeps([18,17]),import.meta.url).then(t=>E(t.factor))}}),P.of({name:"FCL",load(){return Q(()=>import("./fcl-Kvtd6kyn.js"),[],import.meta.url).then(t=>E(t.fcl))}}),P.of({name:"Forth",extensions:["forth","fth","4th"],load(){return Q(()=>import("./forth-Ffai-XNe.js"),[],import.meta.url).then(t=>E(t.forth))}}),P.of({name:"Fortran",extensions:["f","for","f77","f90","f95"],load(){return Q(()=>import("./fortran-DYz_wnZ1.js"),[],import.meta.url).then(t=>E(t.fortran))}}),P.of({name:"F#",alias:["fsharp"],extensions:["fs"],load(){return Q(()=>import("./mllike-C_8OmSiT.js"),[],import.meta.url).then(t=>E(t.fSharp))}}),P.of({name:"Gas",extensions:["s"],load(){return Q(()=>import("./gas-Bneqetm1.js"),[],import.meta.url).then(t=>E(t.gas))}}),P.of({name:"Gherkin",extensions:["feature"],load(){return Q(()=>import("./gherkin-heZmZLOM.js"),[],import.meta.url).then(t=>E(t.gherkin))}}),P.of({name:"Groovy",extensions:["groovy","gradle"],filename:/^Jenkinsfile$/,load(){return Q(()=>import("./groovy-DKLxxR9y.js"),[],import.meta.url).then(t=>E(t.groovy))}}),P.of({name:"Haskell",extensions:["hs"],load(){return Q(()=>import("./haskell-BWDZoCOh.js"),[],import.meta.url).then(t=>E(t.haskell))}}),P.of({name:"Haxe",extensions:["hx"],load(){return Q(()=>import("./haxe-pv4rovob.js"),[],import.meta.url).then(t=>E(t.haxe))}}),P.of({name:"HXML",extensions:["hxml"],load(){return Q(()=>import("./haxe-pv4rovob.js"),[],import.meta.url).then(t=>E(t.hxml))}}),P.of({name:"HTTP",load(){return Q(()=>import("./http-DBlCnlav.js"),[],import.meta.url).then(t=>E(t.http))}}),P.of({name:"IDL",extensions:["pro"],load(){return Q(()=>import("./idl-BEugSyMb.js"),[],import.meta.url).then(t=>E(t.idl))}}),P.of({name:"JSON-LD",alias:["jsonld"],extensions:["jsonld"],load(){return Q(()=>import("./javascript-iSgyE4tI.js"),[],import.meta.url).then(t=>E(t.jsonld))}}),P.of({name:"Jinja2",extensions:["j2","jinja","jinja2"],load(){return Q(()=>import("./jinja2-C4DGRd-O.js"),[],import.meta.url).then(t=>E(t.jinja2))}}),P.of({name:"Julia",extensions:["jl"],load(){return Q(()=>import("./julia-DuME0IfC.js"),[],import.meta.url).then(t=>E(t.julia))}}),P.of({name:"Kotlin",extensions:["kt","kts"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[],import.meta.url).then(t=>E(t.kotlin))}}),P.of({name:"LiveScript",alias:["ls"],extensions:["ls"],load(){return Q(()=>import("./livescript-k3uCVVjK.js"),[],import.meta.url).then(t=>E(t.liveScript))}}),P.of({name:"Lua",extensions:["lua"],load(){return Q(()=>import("./lua-BgMRiT3U.js"),[],import.meta.url).then(t=>E(t.lua))}}),P.of({name:"mIRC",extensions:["mrc"],load(){return Q(()=>import("./mirc-CjQqDB4T.js"),[],import.meta.url).then(t=>E(t.mirc))}}),P.of({name:"Mathematica",extensions:["m","nb","wl","wls"],load(){return Q(()=>import("./mathematica-DTrFuWx2.js"),[],import.meta.url).then(t=>E(t.mathematica))}}),P.of({name:"Modelica",extensions:["mo"],load(){return Q(()=>import("./modelica-Dc1JOy9r.js"),[],import.meta.url).then(t=>E(t.modelica))}}),P.of({name:"MUMPS",extensions:["mps"],load(){return Q(()=>import("./mumps-BT43cFF4.js"),[],import.meta.url).then(t=>E(t.mumps))}}),P.of({name:"Mbox",extensions:["mbox"],load(){return Q(()=>import("./mbox-CNhZ1qSd.js"),[],import.meta.url).then(t=>E(t.mbox))}}),P.of({name:"Nginx",filename:/nginx.*\.conf$/i,load(){return Q(()=>import("./nginx-DdIZxoE0.js"),[],import.meta.url).then(t=>E(t.nginx))}}),P.of({name:"NSIS",extensions:["nsh","nsi"],load(){return Q(()=>import("./nsis-CEAdamBV.js"),__vite__mapDeps([19,17]),import.meta.url).then(t=>E(t.nsis))}}),P.of({name:"NTriples",extensions:["nt","nq"],load(){return Q(()=>import("./ntriples-BfvgReVJ.js"),[],import.meta.url).then(t=>E(t.ntriples))}}),P.of({name:"Objective-C",alias:["objective-c","objc"],extensions:["m"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[],import.meta.url).then(t=>E(t.objectiveC))}}),P.of({name:"Objective-C++",alias:["objective-c++","objc++"],extensions:["mm"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[],import.meta.url).then(t=>E(t.objectiveCpp))}}),P.of({name:"OCaml",extensions:["ml","mli","mll","mly"],load(){return Q(()=>import("./mllike-C_8OmSiT.js"),[],import.meta.url).then(t=>E(t.oCaml))}}),P.of({name:"Octave",extensions:["m"],load(){return Q(()=>import("./octave-Ck1zUtKM.js"),[],import.meta.url).then(t=>E(t.octave))}}),P.of({name:"Oz",extensions:["oz"],load(){return Q(()=>import("./oz-BzwKVEFT.js"),[],import.meta.url).then(t=>E(t.oz))}}),P.of({name:"Pascal",extensions:["p","pas"],load(){return Q(()=>import("./pascal-B1wCu0_E.js"),[],import.meta.url).then(t=>E(t.pascal))}}),P.of({name:"Perl",extensions:["pl","pm"],load(){return Q(()=>import("./perl-CdXCOZ3F.js"),[],import.meta.url).then(t=>E(t.perl))}}),P.of({name:"Pig",extensions:["pig"],load(){return Q(()=>import("./pig-CevX1Tat.js"),[],import.meta.url).then(t=>E(t.pig))}}),P.of({name:"PowerShell",extensions:["ps1","psd1","psm1"],load(){return Q(()=>import("./powershell-CFHJl5sT.js"),[],import.meta.url).then(t=>E(t.powerShell))}}),P.of({name:"Properties files",alias:["ini","properties"],extensions:["properties","ini","in"],load(){return Q(()=>import("./properties-C78fOPTZ.js"),[],import.meta.url).then(t=>E(t.properties))}}),P.of({name:"ProtoBuf",extensions:["proto"],load(){return Q(()=>import("./protobuf-ChK-085T.js"),[],import.meta.url).then(t=>E(t.protobuf))}}),P.of({name:"Pug",alias:["jade"],extensions:["pug","jade"],load(){return Q(()=>import("./pug-BmUsPMDj.js"),__vite__mapDeps([20,21]),import.meta.url).then(t=>E(t.pug))}}),P.of({name:"Puppet",extensions:["pp"],load(){return Q(()=>import("./puppet-DMA9R1ak.js"),[],import.meta.url).then(t=>E(t.puppet))}}),P.of({name:"Q",extensions:["q"],load(){return Q(()=>import("./q-ZnEupP5q.js"),[],import.meta.url).then(t=>E(t.q))}}),P.of({name:"R",alias:["rscript"],extensions:["r","R"],load(){return Q(()=>import("./r-DUYO_cvP.js"),[],import.meta.url).then(t=>E(t.r))}}),P.of({name:"RPM Changes",load(){return Q(()=>import("./rpm-CTu-6PCP.js"),[],import.meta.url).then(t=>E(t.rpmChanges))}}),P.of({name:"RPM Spec",extensions:["spec"],load(){return Q(()=>import("./rpm-CTu-6PCP.js"),[],import.meta.url).then(t=>E(t.rpmSpec))}}),P.of({name:"Ruby",alias:["jruby","macruby","rake","rb","rbx"],extensions:["rb"],filename:/^(Gemfile|Rakefile)$/,load(){return Q(()=>import("./ruby-B2Rjki9n.js"),[],import.meta.url).then(t=>E(t.ruby))}}),P.of({name:"SAS",extensions:["sas"],load(){return Q(()=>import("./sas-B4kiWyti.js"),[],import.meta.url).then(t=>E(t.sas))}}),P.of({name:"Scala",extensions:["scala"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[],import.meta.url).then(t=>E(t.scala))}}),P.of({name:"Scheme",extensions:["scm","ss"],load(){return Q(()=>import("./scheme-C41bIUwD.js"),[],import.meta.url).then(t=>E(t.scheme))}}),P.of({name:"Shell",alias:["bash","sh","zsh"],extensions:["sh","ksh","bash"],filename:/^PKGBUILD$/,load(){return Q(()=>import("./shell-CjFT_Tl9.js"),[],import.meta.url).then(t=>E(t.shell))}}),P.of({name:"Sieve",extensions:["siv","sieve"],load(){return Q(()=>import("./sieve-C3Gn_uJK.js"),[],import.meta.url).then(t=>E(t.sieve))}}),P.of({name:"Smalltalk",extensions:["st"],load(){return Q(()=>import("./smalltalk-CnHTOXQT.js"),[],import.meta.url).then(t=>E(t.smalltalk))}}),P.of({name:"Solr",load(){return Q(()=>import("./solr-DehyRSwq.js"),[],import.meta.url).then(t=>E(t.solr))}}),P.of({name:"SML",extensions:["sml","sig","fun","smackspec"],load(){return Q(()=>import("./mllike-C_8OmSiT.js"),[],import.meta.url).then(t=>E(t.sml))}}),P.of({name:"SPARQL",alias:["sparul"],extensions:["rq","sparql"],load(){return Q(()=>import("./sparql-DkYu6x3z.js"),[],import.meta.url).then(t=>E(t.sparql))}}),P.of({name:"Spreadsheet",alias:["excel","formula"],load(){return Q(()=>import("./spreadsheet-BCZA_wO0.js"),[],import.meta.url).then(t=>E(t.spreadsheet))}}),P.of({name:"Squirrel",extensions:["nut"],load(){return Q(()=>import("./clike-DWq2Y8ae.js"),[],import.meta.url).then(t=>E(t.squirrel))}}),P.of({name:"Stylus",extensions:["styl"],load(){return Q(()=>import("./stylus-q6zbLY83.js"),[],import.meta.url).then(t=>E(t.stylus))}}),P.of({name:"Swift",extensions:["swift"],load(){return Q(()=>import("./swift-BzpIVaGY.js"),[],import.meta.url).then(t=>E(t.swift))}}),P.of({name:"sTeX",load(){return Q(()=>import("./stex-C3f8Ysf7.js"),[],import.meta.url).then(t=>E(t.stex))}}),P.of({name:"LaTeX",alias:["tex"],extensions:["text","ltx","tex"],load(){return Q(()=>import("./stex-C3f8Ysf7.js"),[],import.meta.url).then(t=>E(t.stex))}}),P.of({name:"SystemVerilog",extensions:["v","sv","svh"],load(){return Q(()=>import("./verilog-C6RDOZhf.js"),[],import.meta.url).then(t=>E(t.verilog))}}),P.of({name:"Tcl",extensions:["tcl"],load(){return Q(()=>import("./tcl-DVfN8rqt.js"),[],import.meta.url).then(t=>E(t.tcl))}}),P.of({name:"Textile",extensions:["textile"],load(){return Q(()=>import("./textile-CnDTJFAw.js"),[],import.meta.url).then(t=>E(t.textile))}}),P.of({name:"TiddlyWiki",load(){return Q(()=>import("./tiddlywiki-DO-Gjzrf.js"),[],import.meta.url).then(t=>E(t.tiddlyWiki))}}),P.of({name:"Tiki wiki",load(){return Q(()=>import("./tiki-DGYXhP31.js"),[],import.meta.url).then(t=>E(t.tiki))}}),P.of({name:"TOML",extensions:["toml"],load(){return Q(()=>import("./toml-BXUEaScT.js"),[],import.meta.url).then(t=>E(t.toml))}}),P.of({name:"Troff",extensions:["1","2","3","4","5","6","7","8","9"],load(){return Q(()=>import("./troff-wAsdV37c.js"),[],import.meta.url).then(t=>E(t.troff))}}),P.of({name:"TTCN",extensions:["ttcn","ttcn3","ttcnpp"],load(){return Q(()=>import("./ttcn-CiGrtVSZ.js"),[],import.meta.url).then(t=>E(t.ttcn))}}),P.of({name:"TTCN_CFG",extensions:["cfg"],load(){return Q(()=>import("./ttcn-cfg-BIkV9KBc.js"),[],import.meta.url).then(t=>E(t.ttcnCfg))}}),P.of({name:"Turtle",extensions:["ttl"],load(){return Q(()=>import("./turtle-B1tBg_DP.js"),[],import.meta.url).then(t=>E(t.turtle))}}),P.of({name:"Web IDL",extensions:["webidl"],load(){return Q(()=>import("./webidl-ZXfAyPTL.js"),[],import.meta.url).then(t=>E(t.webIDL))}}),P.of({name:"VB.NET",extensions:["vb"],load(){return Q(()=>import("./vb-CmGdzxic.js"),[],import.meta.url).then(t=>E(t.vb))}}),P.of({name:"VBScript",extensions:["vbs"],load(){return Q(()=>import("./vbscript-BuJXcnF6.js"),[],import.meta.url).then(t=>E(t.vbScript))}}),P.of({name:"Velocity",extensions:["vtl"],load(){return Q(()=>import("./velocity-D8B20fx6.js"),[],import.meta.url).then(t=>E(t.velocity))}}),P.of({name:"Verilog",extensions:["v"],load(){return Q(()=>import("./verilog-C6RDOZhf.js"),[],import.meta.url).then(t=>E(t.verilog))}}),P.of({name:"VHDL",extensions:["vhd","vhdl"],load(){return Q(()=>import("./vhdl-lSbBsy5d.js"),[],import.meta.url).then(t=>E(t.vhdl))}}),P.of({name:"XQuery",extensions:["xy","xquery"],load(){return Q(()=>import("./xquery-WRlm2TX8.js"),[],import.meta.url).then(t=>E(t.xQuery))}}),P.of({name:"Yacas",extensions:["ys"],load(){return Q(()=>import("./yacas-BJ4BC0dw.js"),[],import.meta.url).then(t=>E(t.yacas))}}),P.of({name:"Z80",extensions:["z80"],load(){return Q(()=>import("./z80-Hz9HOZM7.js"),[],import.meta.url).then(t=>E(t.z80))}}),P.of({name:"MscGen",extensions:["mscgen","mscin","msc"],load(){return Q(()=>import("./mscgen-BA5vi2Kp.js"),[],import.meta.url).then(t=>E(t.mscgen))}}),P.of({name:"Xù",extensions:["xu"],load(){return Q(()=>import("./mscgen-BA5vi2Kp.js"),[],import.meta.url).then(t=>E(t.xu))}}),P.of({name:"MsGenny",extensions:["msgenny"],load(){return Q(()=>import("./mscgen-BA5vi2Kp.js"),[],import.meta.url).then(t=>E(t.msgenny))}}),P.of({name:"Vue",extensions:["vue"],load(){return Q(()=>import("./index-D2gie-zN.js"),__vite__mapDeps([22,1,2]),import.meta.url).then(t=>t.vue())}}),P.of({name:"Angular Template",load(){return Q(()=>import("./index-kBKco1xS.js"),__vite__mapDeps([23,1,2]),import.meta.url).then(t=>t.angular())}})];class dl{static create(e,i,n,r,s){let o=r+(r<<8)+e+(i<<4)|0;return new dl(e,i,n,o,s,[],[])}constructor(e,i,n,r,s,o,l){this.type=e,this.value=i,this.from=n,this.hash=r,this.end=s,this.children=o,this.positions=l,this.hashProp=[[G.contextHash,r]]}addChild(e,i){e.prop(G.contextHash)!=this.hash&&(e=new ie(e.type,e.children,e.positions,e.length,this.hashProp)),this.children.push(e),this.positions.push(i)}toTree(e,i=this.end){let n=this.children.length-1;return n>=0&&(i=Math.max(i,this.positions[n]+this.children[n].length+this.from)),new ie(e.types[this.type],this.children,this.positions,i-this.from).balance({makeTree:(r,s,o)=>new ie(Me.none,r,s,o,this.hashProp)})}}var D;(function(t){t[t.Document=1]="Document",t[t.CodeBlock=2]="CodeBlock",t[t.FencedCode=3]="FencedCode",t[t.Blockquote=4]="Blockquote",t[t.HorizontalRule=5]="HorizontalRule",t[t.BulletList=6]="BulletList",t[t.OrderedList=7]="OrderedList",t[t.ListItem=8]="ListItem",t[t.ATXHeading1=9]="ATXHeading1",t[t.ATXHeading2=10]="ATXHeading2",t[t.ATXHeading3=11]="ATXHeading3",t[t.ATXHeading4=12]="ATXHeading4",t[t.ATXHeading5=13]="ATXHeading5",t[t.ATXHeading6=14]="ATXHeading6",t[t.SetextHeading1=15]="SetextHeading1",t[t.SetextHeading2=16]="SetextHeading2",t[t.HTMLBlock=17]="HTMLBlock",t[t.LinkReference=18]="LinkReference",t[t.Paragraph=19]="Paragraph",t[t.CommentBlock=20]="CommentBlock",t[t.ProcessingInstructionBlock=21]="ProcessingInstructionBlock",t[t.Escape=22]="Escape",t[t.Entity=23]="Entity",t[t.HardBreak=24]="HardBreak",t[t.Emphasis=25]="Emphasis",t[t.StrongEmphasis=26]="StrongEmphasis",t[t.Link=27]="Link",t[t.Image=28]="Image",t[t.InlineCode=29]="InlineCode",t[t.HTMLTag=30]="HTMLTag",t[t.Comment=31]="Comment",t[t.ProcessingInstruction=32]="ProcessingInstruction",t[t.Autolink=33]="Autolink",t[t.HeaderMark=34]="HeaderMark",t[t.QuoteMark=35]="QuoteMark",t[t.ListMark=36]="ListMark",t[t.LinkMark=37]="LinkMark",t[t.EmphasisMark=38]="EmphasisMark",t[t.CodeMark=39]="CodeMark",t[t.CodeText=40]="CodeText",t[t.CodeInfo=41]="CodeInfo",t[t.LinkTitle=42]="LinkTitle",t[t.LinkLabel=43]="LinkLabel",t[t.URL=44]="URL"})(D||(D={}));class sS{constructor(e,i){this.start=e,this.content=i,this.marks=[],this.parsers=[]}}class oS{constructor(){this.text="",this.baseIndent=0,this.basePos=0,this.depth=0,this.markers=[],this.pos=0,this.indent=0,this.next=-1}forward(){this.basePos>this.pos&&this.forwardInner()}forwardInner(){let e=this.skipSpace(this.basePos);this.indent=this.countIndent(e,this.pos,this.indent),this.pos=e,this.next=e==this.text.length?-1:this.text.charCodeAt(e)}skipSpace(e){return Ur(this.text,e)}reset(e){for(this.text=e,this.baseIndent=this.basePos=this.pos=this.indent=0,this.forwardInner(),this.depth=1;this.markers.length;)this.markers.pop()}moveBase(e){this.basePos=e,this.baseIndent=this.countIndent(e,this.pos,this.indent)}moveBaseColumn(e){this.baseIndent=e,this.basePos=this.findColumn(e)}addMarker(e){this.markers.push(e)}countIndent(e,i=0,n=0){for(let r=i;r=e.stack[i.depth+1].value+i.baseIndent)return!0;if(i.indent>=i.baseIndent+4)return!1;let n=(t.type==D.OrderedList?Dc:Zc)(i,e,!1);return n>0&&(t.type!=D.BulletList||Ec(i,e,!1)<0)&&i.text.charCodeAt(i.pos+n-1)==t.value}const UO={[D.Blockquote](t,e,i){return i.next!=62?!1:(i.markers.push(se(D.QuoteMark,e.lineStart+i.pos,e.lineStart+i.pos+1)),i.moveBase(i.pos+(Wt(i.text.charCodeAt(i.pos+1))?2:1)),t.end=e.lineStart+i.text.length,!0)},[D.ListItem](t,e,i){return i.indent-1?!1:(i.moveBaseColumn(i.baseIndent+t.value),!0)},[D.OrderedList]:wd,[D.BulletList]:wd,[D.Document](){return!0}};function Wt(t){return t==32||t==9||t==10||t==13}function Ur(t,e=0){for(;ei&&Wt(t.charCodeAt(e-1));)e--;return e}function GO(t){if(t.next!=96&&t.next!=126)return-1;let e=t.pos+1;for(;e-1&&t.depth==e.stack.length||n<3?-1:1}function KO(t,e){for(let i=t.stack.length-1;i>=0;i--)if(t.stack[i].type==e)return!0;return!1}function Zc(t,e,i){return(t.next==45||t.next==43||t.next==42)&&(t.pos==t.text.length-1||Wt(t.text.charCodeAt(t.pos+1)))&&(!i||KO(e,D.BulletList)||t.skipSpace(t.pos+2)=48&&r<=57;){n++;if(n==t.text.length)return-1;r=t.text.charCodeAt(n)}return n==t.pos||n>t.pos+9||r!=46&&r!=41||nt.pos+1||t.next!=49)?-1:n+1-t.pos}function JO(t){if(t.next!=35)return-1;let e=t.pos+1;for(;e6?-1:i}function eg(t){if(t.next!=45&&t.next!=61||t.indent>=t.baseIndent+4)return-1;let e=t.pos+1;for(;e/,ig=/\?>/,Au=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/,sg=/\?>/,Eu=[[/^<(?:script|pre|style)(?:\s|>|$)/i,/<\/(?:script|pre|style)>/i],[/^\s*/i.exec(n);if(s)return t.append(se(D.Comment,i,i+1+s[0].length));let o=/^\?[^]*?\?>/.exec(n);if(o)return t.append(se(D.ProcessingInstruction,i,i+1+o[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return l?t.append(se(D.HTMLTag,i,i+1+l[0].length)):-1},Emphasis(t,e,i){if(e!=95&&e!=42)return-1;let n=i+1;for(;t.char(n)==e;)n++;let r=t.slice(i-1,i),s=t.slice(n,n+1),o=ds.test(r),l=ds.test(s),a=/\s|^$/.test(r),u=/\s|^$/.test(s),c=!u&&(!l||a||o),h=!a&&(!o||u||l),f=c&&(e==42||!h||o),d=h&&(e==42||!c||l);return t.append(new Ht(e==95?ag:ug,i,n,(f?1:0)|(d?2:0)))},HardBreak(t,e,i){if(e==92&&t.char(i+1)==10)return t.append(se(D.HardBreak,i,i+2));if(e==32){let n=i+1;for(;t.char(n)==32;)n++;if(t.char(n)==10&&n>=i+2)return t.append(se(D.HardBreak,i,n+1))}return-1},Link(t,e,i){return e==91?t.append(new Ht(Er,i,i+1,1)):-1},Image(t,e,i){return e==33&&t.char(i+1)==91?t.append(new Ht(Pd,i,i+2,1)):-1},LinkEnd(t,e,i){if(e!=93)return-1;for(let n=t.parts.length-1;n>=0;n--){let r=t.parts[n];if(r instanceof Ht&&(r.type==Er||r.type==Pd)){if(!r.side||t.skipSpace(r.to)==i&&!/[(\[]/.test(t.slice(i+1,i+2)))return t.parts[n]=null,-1;let s=t.takeContent(n),o=t.parts[n]=dS(t,s,r.type==Er?D.Link:D.Image,r.from,i+1);if(r.type==Er)for(let l=0;le?se(D.URL,e+i,s+i):s==t.length?null:!1}}function hg(t,e,i){let n=t.charCodeAt(e);if(n!=39&&n!=34&&n!=40)return!1;let r=n==40?41:n;for(let s=e+1,o=!1;s=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,i){return this.text.slice(e-this.offset,i-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,i,n,r,s){return this.append(new Ht(e,i,n,(r?1:0)|(s?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n=e;a--){let m=this.parts[a];if(m instanceof Ht&&m.side&1&&m.type==r.type&&!(s&&(r.side&1||m.side&2)&&(m.to-m.from+o)%3==0&&((m.to-m.from)%3||o%3))){l=m;break}}if(!l)continue;let u=r.type.resolve,c=[],h=l.from,f=r.to;if(s){let m=Math.min(2,l.to-l.from,o);h=l.to-m,f=r.from+m,u=m==1?"Emphasis":"StrongEmphasis"}l.type.mark&&c.push(this.elt(l.type.mark,h,l.to));for(let m=a+1;m=0;i--){let n=this.parts[i];if(n instanceof Ht&&n.type==e)return i}return null}takeContent(e){let i=this.resolveMarkers(e);return this.parts.length=e,i}skipSpace(e){return Ur(this.text,e-this.offset)+this.offset}elt(e,i,n,r){return typeof e=="string"?se(this.parser.getNodeType(e),i,n,r):new lg(e,i)}}function Eu(t,e){if(!e.length)return t;if(!t.length)return e;let i=t.slice(),n=0;for(let r of e){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let s=this.fragment.to;for(;s>0&&this.input.read(s-1,s)!=` -`;)s--;this.fragmentEnd=s?s-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=i;if(!n.childAfter(r))return!1}}matches(e){let i=this.cursor.tree;return i&&i.prop(G.contextHash)==e}takeNodes(e){let i=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),s=e.absoluteLineStart,o=s,l=e.block.children.length,a=o,u=l;for(;;){if(i.to-n>r){if(i.type.isAnonymous&&i.firstChild())continue;break}let c=dg(i.from-n,e.ranges);if(i.to-n<=e.ranges[e.rangeI].to)e.addNode(i.tree,c);else{let h=new ie(e.parser.nodeSet.types[D.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(h,i.tree),e.addNode(h,c)}if(i.type.is("Block")&&(mS.indexOf(i.type.id)<0?(o=i.to-n,l=e.block.children.length):(o=a,l=u,a=i.to-n,u=e.block.children.length)),!i.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-s}};function dg(t,e){let i=t;for(let n=1;nmo[t]),Object.keys(mo).map(t=>uS[t]),Object.keys(mo),cS,UO,Object.keys(fa).map(t=>fa[t]),Object.keys(fa),[]);function yS(t,e,i){let n=[];for(let r=t.firstChild,s=e;;r=r.nextSibling){let o=r?r.from:i;if(o>s&&n.push({from:s,to:o}),!r)break;s=r.to}return n}function xS(t){let{codeParser:e,htmlParser:i}=t;return{wrap:Im((r,s)=>{let o=r.type.id;if(e&&(o==D.CodeBlock||o==D.FencedCode)){let l="";if(o==D.FencedCode){let u=r.node.getChild(D.CodeInfo);u&&(l=s.read(u.from,u.to))}let a=e(l);if(a)return{parser:a,overlay:u=>u.type.id==D.CodeText}}else if(i&&(o==D.HTMLBlock||o==D.HTMLTag))return{parser:i,overlay:yS(r.node,r.from,r.to)};return null})}}const kS={resolve:"Strikethrough",mark:"StrikethroughMark"},vS={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":b.strikethrough}},{name:"StrikethroughMark",style:b.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,i){if(e!=126||t.char(i+1)!=126||t.char(i+2)==126)return-1;let n=t.slice(i-1,i),r=t.slice(i+2,i+3),s=/\s|^$/.test(n),o=/\s|^$/.test(r),l=ds.test(n),a=ds.test(r);return t.addDelimiter(kS,i,i+2,!o&&(!a||s||l),!s&&(!l||o||a))},after:"Emphasis"}]};function Gr(t,e,i=0,n,r=0){let s=0,o=!0,l=-1,a=-1,u=!1,c=()=>{n.push(t.elt("TableCell",r+l,r+a,t.parser.parseInline(e.slice(l,a),r+l)))};for(let h=i;h-1)&&s++,o=!1,n&&(l>-1&&c(),n.push(t.elt("TableDelimiter",h+r,h+r+1))),l=a=-1):(u||f!=32&&f!=9)&&(l<0&&(l=h),a=h+1),u=!u&&f==92}return l>-1&&(s++,n&&c()),s}function Qd(t,e){for(let i=e;ir instanceof Ad)||!Qd(e.text,e.basePos))return!1;let n=t.scanLine(t.absoluteLineEnd+1).text;return pg.test(n)&&Gr(t,e.text,e.basePos)==Gr(t,n,e.basePos)},before:"SetextHeading"}]};class wS{nextLine(){return!1}finish(e,i){return e.addLeafElement(i,e.elt("Task",i.start,i.start+i.content.length,[e.elt("TaskMarker",i.start,i.start+3),...e.parser.parseInline(i.content.slice(3),i.start+3)])),!0}}const _S={defineNodes:[{name:"Task",block:!0,style:b.list},{name:"TaskMarker",style:b.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new wS:null},after:"SetextHeading"}]},Td=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Ed=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,$S=/[\w-]+\.[\w-]+($|\/)/,Zd=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Dd=/\/[a-zA-Z\d@.]+/gy;function Rd(t,e,i,n){let r=0;for(let s=e;s-1)return-1;let n=e+i[0].length;for(;;){let r=t[n-1],s;if(/[?!.,:*_~]/.test(r)||r==")"&&Rd(t,e,n,")")>Rd(t,e,n,"("))n--;else if(r==";"&&(s=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,n))))n=e+s.index;else break}return n}function Id(t,e){Zd.lastIndex=e;let i=Zd.exec(t);if(!i)return-1;let n=i[0][i[0].length-1];return n=="_"||n=="-"?-1:e+i[0].length-(n=="."?1:0)}const CS={parseInline:[{name:"Autolink",parse(t,e,i){let n=i-t.offset;Td.lastIndex=n;let r=Td.exec(t.text),s=-1;return!r||(r[1]||r[2]?s=PS(t.text,n+r[0].length):r[3]?s=Id(t.text,n):(s=Id(t.text,n+r[0].length),s>-1&&r[0]=="xmpp:"&&(Dd.lastIndex=s,r=Dd.exec(t.text),r&&(s=r.index+r[0].length))),s<0)?-1:(t.addElement(t.elt("URL",i,s+t.offset)),s+t.offset)}}]},QS=[SS,_S,vS,CS];function mg(t,e,i){return(n,r,s)=>{if(r!=t||n.char(s+1)==t)return-1;let o=[n.elt(i,s,s+1)];for(let l=s+1;li%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,i,n=0){let r=e.parser.context;return new Zu(e,[],i,n,n,0,[],0,r?new Xd(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,i){this.stack.push(this.state,i,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var i;let n=e>>19,r=e&65535,{parser:s}=this.p,o=s.dynamicPrecedence(r);if(o&&(this.score+=o),n==0){this.pushState(s.getGoto(this.state,r,!0),this.reducePos),r=2e3&&!(!((i=this.p.parser.nodeSet.types[r])===null||i===void 0)&&i.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,i,n,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[l-4]==0&&o.buffer[l-1]>-1){if(i==n)return;if(o.buffer[l-2]>=i){o.buffer[l-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,i,n,r);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=i,this.buffer[o+2]=n,this.buffer[o+3]=r}}shift(e,i,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(i,n),i<=this.p.parser.maxNode&&this.buffer.push(i,n,r,4);else{let s=e,{parser:o}=this.p;(r>this.pos||i<=o.maxNode)&&(this.pos=r,o.stateFlag(s,1)||(this.reducePos=r)),this.pushState(s,n),this.shiftContext(i,n),i<=o.maxNode&&this.buffer.push(i,n,r,4)}}apply(e,i,n,r){e&65536?this.reduce(e):this.shift(e,i,n,r)}useNode(e,i){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(i,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,i=e.buffer.length;for(;i>0&&e.buffer[i-2]>e.reducePos;)i-=4;let n=e.buffer.slice(i),r=e.bufferBase+i;for(;e&&r==e.bufferBase;)e=e.parent;return new Zu(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,i){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,i,4),this.storeNode(0,this.pos,i,n?8:4),this.pos=this.reducePos=i,this.score-=190}canShift(e){for(let i=new DS(this);;){let n=this.p.parser.stateSlot(i.state,4)||this.p.parser.hasAction(i.state,e);if(n==0)return!1;if(!(n&65536))return!0;i.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let i=this.p.parser.nextStates(this.state);if(i.length>8||this.stack.length>=120){let r=[];for(let s=0,o;sa&1&&l==o)||r.push(i[s],o)}i=r}let n=[];for(let r=0;r>19,r=i&65535,s=this.stack.length-n*3;if(s<0||e.getGoto(this.stack[s],r,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;i=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(i),!0}findForcedReduction(){let{parser:e}=this.p,i=[],n=(r,s)=>{if(!i.includes(r))return i.push(r),e.allActions(r,o=>{if(!(o&393216))if(o&65536){let l=(o>>19)-s;if(l>1){let a=o&65535,u=this.stack.length-l*3;if(u>=0&&e.getGoto(this.stack[u],a,!1)>=0)return l<<19|65536|a}}else{let l=n(o,s+1);if(l!=null)return l}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let i=0;ithis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};class Xd{constructor(e,i){this.tracker=e,this.context=i,this.hash=e.strict?e.hash(i):0}}class DS{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let i=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],i,!0);this.state=r}}class pl{constructor(e,i,n){this.stack=e,this.pos=i,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,i=e.bufferBase+e.buffer.length){return new pl(e,i,i-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new pl(this.stack,this.pos,this.index)}}function Vr(t,e=Uint16Array){if(typeof t!="string")return t;let i=null;for(let n=0,r=0;n=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),s+=a,l)break;s*=46}i?i[r++]=s:i=new e(s)}return i}class Io{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Md=new Io;class RS{constructor(e,i){this.input=e,this.ranges=i,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Md,this.rangeIndex=0,this.pos=this.chunkPos=i[0].from,this.range=i[0],this.end=i[i.length-1].to,this.readNext()}resolveOffset(e,i){let n=this.range,r=this.rangeIndex,s=this.pos+e;for(;sn.to:s>=n.to;){if(r==this.ranges.length-1)return null;let o=this.ranges[++r];s+=o.from-n.to,n=o}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,i.from);return this.end}peek(e){let i=this.chunkOff+e,n,r;if(i>=0&&i=this.chunk2Pos&&nl.to&&(this.chunk2=this.chunk2.slice(0,l.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,i=0){let n=i?this.resolveOffset(i,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,i){if(i?(this.token=i,i.start=e,i.lookAhead=e+1,i.value=i.extended=-1):this.token=Md,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&i<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,i-this.chunkPos);if(e>=this.chunk2Pos&&i<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,i-this.chunk2Pos);if(e>=this.range.from&&i<=this.range.to)return this.input.read(e,i);let n="";for(let r of this.ranges){if(r.from>=i)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,i)))}return n}}class Nn{constructor(e,i){this.data=e,this.id=i}token(e,i){let{parser:n}=i.p;Og(this.data,e,i,this.id,n.data,n.tokenPrecTable)}}Nn.prototype.contextual=Nn.prototype.fallback=Nn.prototype.extend=!1;class ml{constructor(e,i,n){this.precTable=i,this.elseToken=n,this.data=typeof e=="string"?Vr(e):e}token(e,i){let n=e.pos,r=0;for(;;){let s=e.next<0,o=e.resolveOffset(1,1);if(Og(this.data,e,i,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(s||r++,o==null)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}ml.prototype.contextual=Nn.prototype.fallback=Nn.prototype.extend=!1;class ti{constructor(e,i={}){this.token=e,this.contextual=!!i.contextual,this.fallback=!!i.fallback,this.extend=!!i.extend}}function Og(t,e,i,n,r,s){let o=0,l=1<0){let p=t[d];if(a.allows(p)&&(e.token.value==-1||e.token.value==p||IS(p,e.token.value,r,s))){e.acceptToken(p);break}}let c=e.next,h=0,f=t[o+2];if(e.next<0&&f>h&&t[u+f*3-3]==65535){o=t[u+f*3-1];continue e}for(;h>1,p=u+d+(d<<1),m=t[p],g=t[p+1]||65536;if(c=g)h=d+1;else{o=t[p+2],e.advance();continue e}}break}}function Wd(t,e,i){for(let n=e,r;(r=t[n])!=65535;n++)if(r==i)return n-e;return-1}function IS(t,e,i,n){let r=Wd(i,n,e);return r<0||Wd(i,n,t)e)&&!n.type.isError)return i<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(i<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return i<0?0:t.length}}class LS{constructor(e,i){this.fragments=e,this.nodeSet=i,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?Vd(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?Vd(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof ie){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[i]++,this.nextStart=o+s.length}}}class XS{constructor(e,i){this.stream=i,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Io)}getActions(e){let i=0,n=null,{parser:r}=e.p,{tokenizers:s}=r,o=r.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,a=0;for(let u=0;uh.end+25&&(a=Math.max(h.lookAhead,a)),h.value!=0)){let f=i;if(h.extended>-1&&(i=this.addActions(e,h.extended,h.end,i)),i=this.addActions(e,h.value,h.end,i),!c.extend&&(n=h,i>f))break}}for(;this.actions.length>i;)this.actions.pop();return a&&e.setLookAhead(a),!n&&e.pos==this.stream.end&&(n=new Io,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,i=this.addActions(e,n.value,n.end,i)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let i=new Io,{pos:n,p:r}=e;return i.start=n,i.end=Math.min(n+1,r.stream.end),i.value=n==r.stream.end?r.parser.eofTerm:0,i}updateCachedToken(e,i,n){let r=this.stream.clipPos(n.pos);if(i.token(this.stream.reset(r,e),n),e.value>-1){let{parser:s}=n.p;for(let o=0;o=0&&n.p.parser.dialect.allows(l>>1)){l&1?e.extended=l>>1:e.value=l>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,i,n,r){for(let s=0;se.bufferLength*4?new LS(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,i=this.minStackPos,n=this.stacks=[],r,s;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;oi)n.push(l);else{if(this.advanceStack(l,n,e))continue;{r||(r=[],s=[]),r.push(l);let a=this.tokens.getMainToken(l);s.push(a.value,a.end)}}break}}if(!n.length){let o=r&&VS(r);if(o)return bt&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw bt&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&r){let o=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,n);if(o)return bt&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((l,a)=>a.score-l.score);n.length>o;)n.pop();n.some(l=>l.reducePos>i)&&this.recovering--}else if(n.length>1){e:for(let o=0;o500&&u.buffer.length>500)if((l.score-u.score||l.buffer.length-u.buffer.length)>0)n.splice(a--,1);else{n.splice(o--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let u=e.curContext&&e.curContext.tracker.strict,c=u?e.curContext.hash:0;for(let h=this.fragments.nodeAt(r);h;){let f=this.parser.nodeSet.types[h.type.id]==h.type?s.getGoto(e.state,h.type.id):-1;if(f>-1&&h.length&&(!u||(h.prop(G.contextHash)||0)==c))return e.useNode(h,f),bt&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(h.type.id)})`),!0;if(!(h instanceof ie)||h.children.length==0||h.positions[0]>0)break;let d=h.children[0];if(d instanceof ie&&h.positions[0]==0)h=d;else break}}let l=s.stateSlot(e.state,4);if(l>0)return e.reduce(l),bt&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(l&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let u=0;ur?i.push(p):n.push(p)}return!1}advanceFully(e,i){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return Fd(e,i),!0}}runRecovery(e,i,n){let r=null,s=!1;for(let o=0;o ":"";if(l.deadEnd&&(s||(s=!0,l.restart(),bt&&console.log(c+this.stackID(l)+" (restarted)"),this.advanceFully(l,n))))continue;let h=l.split(),f=c;for(let d=0;h.forceReduce()&&d<10&&(bt&&console.log(f+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));d++)bt&&(f=this.stackID(h)+" -> ");for(let d of l.recoverByInsert(a))bt&&console.log(c+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>l.pos?(u==l.pos&&(u++,a=0),l.recoverByDelete(a,u),bt&&console.log(c+this.stackID(l)+` (via recover-delete ${this.parser.getName(a)})`),Fd(l,n)):(!r||r.scoret;class gg{constructor(e){this.start=e.start,this.shift=e.shift||pa,this.reduce=e.reduce||pa,this.reuse=e.reuse||pa,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class hr extends El{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let i=e.nodeNames.split(" ");this.minRepeatTerm=i.length;for(let l=0;le.topRules[l][1]),r=[];for(let l=0;l=0)s(c,a,l[u++]);else{let h=l[u+-c];for(let f=-c;f>0;f--)s(l[u++],a,h);u++}}}this.nodeSet=new Or(i.map((l,a)=>Me.define({name:a>=this.minRepeatTerm?void 0:l,id:a,props:r[a],top:n.indexOf(a)>-1,error:a==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=Tm;let o=Vr(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;ltypeof l=="number"?new Nn(o,l):l),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,i,n){let r=new MS(this,e,i,n);for(let s of this.wrappers)r=s(r,e,i,n);return r}getGoto(e,i,n=!1){let r=this.goto;if(i>=r[0])return-1;for(let s=r[i+1];;){let o=r[s++],l=o&1,a=r[s++];if(l&&n)return a;for(let u=s+(o>>1);s0}validAction(e,i){return!!this.allActions(e,n=>n==i?!0:null)}allActions(e,i){let n=this.stateSlot(e,4),r=n?i(n):void 0;for(let s=this.stateSlot(e,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=vi(this.data,s+2);else break;r=i(vi(this.data,s+1))}return r}nextStates(e){let i=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=vi(this.data,n+2);else break;if(!(this.data[n+2]&1)){let r=this.data[n+1];i.some((s,o)=>o&1&&s==r)||i.push(this.data[n],r)}}return i}configure(e){let i=Object.assign(Object.create(hr.prototype),this);if(e.props&&(i.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);i.top=n}return e.tokenizers&&(i.tokenizers=this.tokenizers.map(n=>{let r=e.tokenizers.find(s=>s.from==n);return r?r.to:n})),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((n,r)=>{let s=e.specializers.find(l=>l.from==n.external);if(!s)return n;let o=Object.assign(Object.assign({},n),{external:s.to});return i.specializers[r]=zd(o),o})),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),e.bufferLength!=null&&(i.bufferLength=e.bufferLength),i}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let i=this.dynamicPrecedences;return i==null?0:i[e]||0}parseDialect(e){let i=Object.keys(this.dialects),n=i.map(()=>!1);if(e)for(let s of e.split(" ")){let o=i.indexOf(s);o>=0&&(n[o]=!0)}let r=null;for(let s=0;sn)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.scoret.external(i,n)<<1|e}return t.get}const FS=54,zS=1,jS=55,BS=2,qS=56,YS=3,jd=4,NS=5,Ol=6,bg=7,yg=8,xg=9,kg=10,US=11,GS=12,HS=13,ma=57,KS=14,Bd=58,vg=20,JS=22,Sg=23,ew=24,Du=26,wg=27,tw=28,iw=31,nw=34,rw=36,sw=37,ow=0,lw=1,aw={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},uw={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},qd={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function cw(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function _g(t){return t==9||t==10||t==13||t==32}let Yd=null,Nd=null,Ud=0;function Ru(t,e){let i=t.pos+e;if(Ud==i&&Nd==t)return Yd;let n=t.peek(e);for(;_g(n);)n=t.peek(++e);let r="";for(;cw(n);)r+=String.fromCharCode(n),n=t.peek(++e);return Nd=t,Ud=i,Yd=r?r.toLowerCase():n==hw||n==fw?void 0:null}const $g=60,gl=62,Rc=47,hw=63,fw=33,dw=45;function Gd(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let i=0;i-1?new Gd(Ru(n,1)||"",t):t},reduce(t,e){return e==vg&&t?t.parent:t},reuse(t,e,i,n){let r=e.type.id;return r==Ol||r==rw?new Gd(Ru(n,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),Ow=new ti((t,e)=>{if(t.next!=$g){t.next<0&&e.context&&t.acceptToken(ma);return}t.advance();let i=t.next==Rc;i&&t.advance();let n=Ru(t,0);if(n===void 0)return;if(!n)return t.acceptToken(i?KS:Ol);let r=e.context?e.context.name:null;if(i){if(n==r)return t.acceptToken(US);if(r&&uw[r])return t.acceptToken(ma,-2);if(e.dialectEnabled(ow))return t.acceptToken(GS);for(let s=e.context;s;s=s.parent)if(s.name==n)return;t.acceptToken(HS)}else{if(n=="script")return t.acceptToken(bg);if(n=="style")return t.acceptToken(yg);if(n=="textarea")return t.acceptToken(xg);if(aw.hasOwnProperty(n))return t.acceptToken(kg);r&&qd[r]&&qd[r][n]?t.acceptToken(ma,-1):t.acceptToken(Ol)}},{contextual:!0}),gw=new ti(t=>{for(let e=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(Bd);break}if(t.next==dw)e++;else if(t.next==gl&&e>=2){i>=3&&t.acceptToken(Bd,-2);break}else e=0;t.advance()}});function bw(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}const yw=new ti((t,e)=>{if(t.next==Rc&&t.peek(1)==gl){let i=e.dialectEnabled(lw)||bw(e.context);t.acceptToken(i?NS:jd,2)}else t.next==gl&&t.acceptToken(jd,1)});function Ic(t,e,i){let n=2+t.length;return new ti(r=>{for(let s=0,o=0,l=0;;l++){if(r.next<0){l&&r.acceptToken(e);break}if(s==0&&r.next==$g||s==1&&r.next==Rc||s>=2&&so?r.acceptToken(e,-o):r.acceptToken(i,-(o-2));break}else if((r.next==10||r.next==13)&&l){r.acceptToken(e,1);break}else s=o=0;r.advance()}})}const xw=Ic("script",FS,zS),kw=Ic("style",jS,BS),vw=Ic("textarea",qS,YS),Sw=gr({"Text RawText":b.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":b.angleBracket,TagName:b.tagName,"MismatchedCloseTag/TagName":[b.tagName,b.invalid],AttributeName:b.attributeName,"AttributeValue UnquotedAttributeValue":b.attributeValue,Is:b.definitionOperator,"EntityReference CharacterReference":b.character,Comment:b.blockComment,ProcessingInst:b.processingInstruction,DoctypeDecl:b.documentMeta}),ww=hr.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:mw,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[Sw],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let u=l.type.id;if(u==tw)return Oa(l,a,i);if(u==iw)return Oa(l,a,n);if(u==nw)return Oa(l,a,r);if(u==vg&&s.length){let c=l.node,h=c.firstChild,f=h&&Hd(h,a),d;if(f){for(let p of s)if(p.tag==f&&(!p.attrs||p.attrs(d||(d=Pg(c,a))))){let m=c.lastChild,g=m.type.id==sw?m.from:c.to;if(g>h.to)return{parser:p.parser,overlay:[{from:h.to,to:g}]}}}}if(o&&u==Sg){let c=l.node,h;if(h=c.firstChild){let f=o[a.read(h.from,h.to)];if(f)for(let d of f){if(d.tagName&&d.tagName!=Hd(c.parent,a))continue;let p=c.lastChild;if(p.type.id==Du){let m=p.from+1,g=p.lastChild,O=p.to-(g&&g.isError?0:1);if(O>m)return{parser:d.parser,overlay:[{from:m,to:O}]}}else if(p.type.id==wg)return{parser:d.parser,overlay:[{from:p.from,to:p.to}]}}}}return null})}const _w=99,Kd=1,$w=100,Pw=101,Jd=2,Qg=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Cw=58,Qw=40,Ag=95,Aw=91,Lo=45,Tw=46,Ew=35,Zw=37,Dw=38,Rw=92,Iw=10;function ps(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function Tg(t){return t>=48&&t<=57}const Lw=new ti((t,e)=>{for(let i=!1,n=0,r=0;;r++){let{next:s}=t;if(ps(s)||s==Lo||s==Ag||i&&Tg(s))!i&&(s!=Lo||r>0)&&(i=!0),n===r&&s==Lo&&n++,t.advance();else if(s==Rw&&t.peek(1)!=Iw)t.advance(),t.next>-1&&t.advance(),i=!0;else{i&&t.acceptToken(s==Qw?$w:n==2&&e.canShift(Jd)?Jd:Pw);break}}}),Xw=new ti(t=>{if(Qg.includes(t.peek(-1))){let{next:e}=t;(ps(e)||e==Ag||e==Ew||e==Tw||e==Aw||e==Cw&&ps(t.peek(1))||e==Lo||e==Dw)&&t.acceptToken(_w)}}),Mw=new ti(t=>{if(!Qg.includes(t.peek(-1))){let{next:e}=t;if(e==Zw&&(t.advance(),t.acceptToken(Kd)),ps(e)){do t.advance();while(ps(t.next)||Tg(t.next));t.acceptToken(Kd)}}}),Ww=gr({"AtKeyword import charset namespace keyframes media supports":b.definitionKeyword,"from to selector":b.keyword,NamespaceName:b.namespace,KeyframeName:b.labelName,KeyframeRangeName:b.operatorKeyword,TagName:b.tagName,ClassName:b.className,PseudoClassName:b.constant(b.className),IdName:b.labelName,"FeatureName PropertyName":b.propertyName,AttributeName:b.attributeName,NumberLiteral:b.number,KeywordQuery:b.keyword,UnaryQueryOp:b.operatorKeyword,"CallTag ValueName":b.atom,VariableName:b.variableName,Callee:b.operatorKeyword,Unit:b.unit,"UniversalSelector NestingSelector":b.definitionOperator,MatchOp:b.compareOperator,"ChildOp SiblingOp, LogicOp":b.logicOperator,BinOp:b.arithmeticOperator,Important:b.modifier,Comment:b.blockComment,ColorLiteral:b.color,"ParenthesizedContent StringLiteral":b.string,":":b.punctuation,"PseudoOp #":b.derefOperator,"; ,":b.separator,"( )":b.paren,"[ ]":b.squareBracket,"{ }":b.brace}),Vw={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},Fw={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},zw={__proto__:null,not:132,only:132},jw=hr.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO${QdO,59}O-kQ[O'#E^O-xQWO,5;_O-xQWO,5;_POOO'#EV'#EVP.TO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.zQXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/XQ`O1G/^O/rQXO1G/aO0YQXO1G/cO0pQXO1G/dO1WQWO,59|O1]Q[O'#DSO1dQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1kQpO,59]OOQS,59_,59_O${QdO,59aO1sQWO1G/mOOQS,59c,59cO1xQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2QQ[O,59jOOQS,59j,59jO2YQWO'#DjO2eQWO,5:VO2jQWO,5:]O&`Q[O,5:XO&`Q[O'#E_O2rQWO,5;`O2}QWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3`QWO1G0OO3eQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO3pQtO1G/iOOQO,5:x,5:xO4WQ[O,5:xOOQO-E8[-E8[O4eQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO4pQXO'#ErO4wQWO,59nO4|QtO'#EXO5tQdO'#EoO6OQWO,59ZO6TQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XO6]QWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6bQWO,5:yOOQO-E8]-E8]O6pQXO1G/xOOQS7+%j7+%jO6wQYO'#CsOOQO'#EQ'#EQO7SQ`O'#EPOOQO'#EP'#EPO7_QWO'#E`O7gQdO,5:jOOQS,5:j,5:jO7rQtO'#E]O${QdO'#E]O8sQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9WQpO<OAN>OO:xQdO,5:uOOQO-E8X-E8XOOQO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[Xw,Mw,Lw,1,2,3,4,new ml("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>Vw[t]||-1},{term:58,get:t=>Fw[t]||-1},{term:101,get:t=>zw[t]||-1}],tokenPrec:1200});let ga=null;function ba(){if(!ga&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],i=new Set;for(let n in t)n!="cssText"&&n!="cssFloat"&&typeof t[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),i.has(n)||(e.push(n),i.add(n)));ga=e.sort().map(n=>({type:"property",label:n}))}return ga||[]}const ep=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),tp=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),Bw=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),Di=/^(\w[\w-]*|-\w[\w-]*|)$/,qw=/^-(-[\w-]*)?$/;function Yw(t,e){var i;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let n=(i=t.parent)===null||i===void 0?void 0:i.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const ip=new Rm,Nw=["Declaration"];function Uw(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function Eg(t,e,i){if(e.to-e.from>4096){let n=ip.get(e);if(n)return n;let r=[],s=new Set,o=e.cursor(ye.IncludeAnonymous);if(o.firstChild())do for(let l of Eg(t,o.node,i))s.has(l.label)||(s.add(l.label),r.push(l));while(o.nextSibling());return ip.set(e,r),r}else{let n=[],r=new Set;return e.cursor().iterate(s=>{var o;if(i(s)&&s.matchContext(Nw)&&((o=s.node.nextSibling)===null||o===void 0?void 0:o.name)==":"){let l=t.sliceString(s.from,s.to);r.has(l)||(r.add(l),n.push({label:l,type:"variable"}))}}),n}}const Zg=t=>e=>{let{state:i,pos:n}=e,r=Te(i).resolveInner(n,-1),s=r.type.isError&&r.from==r.to-1&&i.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(s||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:ba(),validFor:Di};if(r.name=="ValueName")return{from:r.from,options:tp,validFor:Di};if(r.name=="PseudoClassName")return{from:r.from,options:ep,validFor:Di};if(t(r)||(e.explicit||s)&&Yw(r,i.doc))return{from:t(r)||s?r.from:n,options:Eg(i.doc,Uw(r),t),validFor:qw};if(r.name=="TagName"){for(let{parent:a}=r;a;a=a.parent)if(a.name=="Block")return{from:r.from,options:ba(),validFor:Di};return{from:r.from,options:Bw,validFor:Di}}if(!e.explicit)return null;let o=r.resolve(n),l=o.childBefore(n);return l&&l.name==":"&&o.name=="PseudoClassSelector"?{from:n,options:ep,validFor:Di}:l&&l.name==":"&&o.name=="Declaration"||o.name=="ArgList"?{from:n,options:tp,validFor:Di}:o.name=="Block"||o.name=="Styles"?{from:n,options:ba(),validFor:Di}:null},Dg=Zg(t=>t.name=="VariableName"),ms=or.define({name:"css",parser:jw.configure({props:[Ts.add({Declaration:Ro()}),Es.add({"Block KeyframeList":jm})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Rg(){return new ur(ms,ms.data.of({autocomplete:Dg}))}const Gw=Object.freeze(Object.defineProperty({__proto__:null,css:Rg,cssCompletionSource:Dg,cssLanguage:ms,defineCSSCompletionSource:Zg},Symbol.toStringTag,{value:"Module"})),Hw=309,np=1,Kw=2,Jw=3,e3=310,t3=312,i3=313,n3=4,r3=5,s3=0,Iu=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Ig=125,o3=59,Lu=47,l3=42,a3=43,u3=45,c3=60,h3=44,f3=new gg({start:!1,shift(t,e){return e==n3||e==r3||e==t3?t:e==i3},strict:!1}),d3=new ti((t,e)=>{let{next:i}=t;(i==Ig||i==-1||e.context)&&t.acceptToken(e3)},{contextual:!0,fallback:!0}),p3=new ti((t,e)=>{let{next:i}=t,n;Iu.indexOf(i)>-1||i==Lu&&((n=t.peek(1))==Lu||n==l3)||i!=Ig&&i!=o3&&i!=-1&&!e.context&&t.acceptToken(Hw)},{contextual:!0}),m3=new ti((t,e)=>{let{next:i}=t;if((i==a3||i==u3)&&(t.advance(),i==t.next)){t.advance();let n=!e.context&&e.canShift(np);t.acceptToken(n?np:Kw)}},{contextual:!0});function ya(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}const O3=new ti((t,e)=>{if(t.next!=c3||!e.dialectEnabled(s3)||(t.advance(),t.next==Lu))return;let i=0;for(;Iu.indexOf(t.next)>-1;)t.advance(),i++;if(ya(t.next,!0)){for(t.advance(),i++;ya(t.next,!1);)t.advance(),i++;for(;Iu.indexOf(t.next)>-1;)t.advance(),i++;if(t.next==h3)return;for(let n=0;;n++){if(n==7){if(!ya(t.next,!0))return;break}if(t.next!="extends".charCodeAt(n))break;t.advance(),i++}}t.acceptToken(Jw,-i)}),g3=gr({"get set async static":b.modifier,"for while do if else switch try catch finally return throw break continue default case":b.controlKeyword,"in of await yield void typeof delete instanceof":b.operatorKeyword,"let var const using function class extends":b.definitionKeyword,"import export from":b.moduleKeyword,"with debugger as new":b.keyword,TemplateString:b.special(b.string),super:b.atom,BooleanLiteral:b.bool,this:b.self,null:b.null,Star:b.modifier,VariableName:b.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":b.function(b.variableName),VariableDefinition:b.definition(b.variableName),Label:b.labelName,PropertyName:b.propertyName,PrivatePropertyName:b.special(b.propertyName),"CallExpression/MemberExpression/PropertyName":b.function(b.propertyName),"FunctionDeclaration/VariableDefinition":b.function(b.definition(b.variableName)),"ClassDeclaration/VariableDefinition":b.definition(b.className),PropertyDefinition:b.definition(b.propertyName),PrivatePropertyDefinition:b.definition(b.special(b.propertyName)),UpdateOp:b.updateOperator,"LineComment Hashbang":b.lineComment,BlockComment:b.blockComment,Number:b.number,String:b.string,Escape:b.escape,ArithOp:b.arithmeticOperator,LogicOp:b.logicOperator,BitOp:b.bitwiseOperator,CompareOp:b.compareOperator,RegExp:b.regexp,Equals:b.definitionOperator,Arrow:b.function(b.punctuation),": Spread":b.punctuation,"( )":b.paren,"[ ]":b.squareBracket,"{ }":b.brace,"InterpolationStart InterpolationEnd":b.special(b.brace),".":b.derefOperator,", ;":b.separator,"@":b.meta,TypeName:b.typeName,TypeDefinition:b.definition(b.typeName),"type enum interface implements namespace module declare":b.definitionKeyword,"abstract global Privacy readonly override":b.modifier,"is keyof unique infer":b.operatorKeyword,JSXAttributeValue:b.attributeValue,JSXText:b.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":b.angleBracket,"JSXIdentifier JSXNameSpacedName":b.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":b.attributeName,"JSXBuiltin/JSXIdentifier":b.standard(b.tagName)}),b3={__proto__:null,export:18,as:23,from:31,default:34,async:39,function:40,extends:52,this:56,true:64,false:64,null:76,void:80,typeof:84,super:102,new:136,delete:152,yield:161,await:165,class:170,public:227,private:227,protected:227,readonly:229,instanceof:248,satisfies:251,in:252,const:254,import:286,keyof:339,unique:343,infer:349,is:385,abstract:405,implements:407,type:409,let:412,var:414,using:417,interface:423,enum:427,namespace:433,module:435,declare:439,global:443,for:462,of:471,while:474,with:478,do:482,if:486,else:488,switch:492,case:498,try:504,catch:508,finally:512,return:516,throw:520,break:524,continue:528,debugger:532},y3={__proto__:null,async:123,get:125,set:127,declare:187,public:189,private:189,protected:189,static:191,abstract:193,override:195,readonly:201,accessor:203,new:389},x3={__proto__:null,"<":143},k3=hr.deserialize({version:14,states:"$RQWO'#CdO>cQWO'#H[O>kQWO'#HbO>kQWO'#HdO`Q^O'#HfO>kQWO'#HhO>kQWO'#HkO>pQWO'#HqO>uQ07iO'#HwO%[Q^O'#HyO?QQ07iO'#H{O?]Q07iO'#H}O9kQ07hO'#IPO?hQ08SO'#ChO@jQ`O'#DiQOQWOOO%[Q^O'#EPOAQQWO'#ESO:RQ7[O'#EjOA]QWO'#EjOAhQpO'#FbOOQU'#Cf'#CfOOQ07`'#Dn'#DnOOQ07`'#Jm'#JmO%[Q^O'#JmOOQO'#Jq'#JqOOQO'#Ib'#IbOBhQ`O'#EcOOQ07`'#Eb'#EbOCdQ07pO'#EcOCnQ`O'#EVOOQO'#Jp'#JpODSQ`O'#JqOEaQ`O'#EVOCnQ`O'#EcPEnO!0LbO'#CaPOOO)CDu)CDuOOOO'#IX'#IXOEyO!bO,59TOOQ07b,59T,59TOOOO'#IY'#IYOFXO#tO,59TO%[Q^O'#D`OOOO'#I['#I[OFgO?MpO,59xOOQ07b,59x,59xOFuQ^O'#I]OGYQWO'#JkOI[QrO'#JkO+}Q^O'#JkOIcQWO,5:OOIyQWO'#ElOJWQWO'#JyOJcQWO'#JxOJcQWO'#JxOJkQWO,5;YOJpQWO'#JwOOQ07f,5:Z,5:ZOJwQ^O,5:ZOLxQ08SO,5:eOMiQWO,5:mONSQ07hO'#JvONZQWO'#JuO9ZQWO'#JuONoQWO'#JuONwQWO,5;XON|QWO'#JuO!#UQrO'#JjOOQ07b'#Ch'#ChO%[Q^O'#ERO!#tQpO,5:rOOQO'#Jr'#JrOOQO-EmOOQU'#J`'#J`OOQU,5>n,5>nOOQU-EpQWO'#HQO9aQWO'#HSO!CgQWO'#HSO:RQ7[O'#HUO!ClQWO'#HUOOQU,5=j,5=jO!CqQWO'#HVO!DSQWO'#CnO!DXQWO,59OO!DcQWO,59OO!FhQ^O,59OOOQU,59O,59OO!FxQ07hO,59OO%[Q^O,59OO!ITQ^O'#H^OOQU'#H_'#H_OOQU'#H`'#H`O`Q^O,5=vO!IkQWO,5=vO`Q^O,5=|O`Q^O,5>OO!IpQWO,5>QO`Q^O,5>SO!IuQWO,5>VO!IzQ^O,5>]OOQU,5>c,5>cO%[Q^O,5>cO9kQ07hO,5>eOOQU,5>g,5>gO!NUQWO,5>gOOQU,5>i,5>iO!NUQWO,5>iOOQU,5>k,5>kO!NZQ`O'#D[O%[Q^O'#JmO!NxQ`O'#JmO# gQ`O'#DjO# xQ`O'#DjO#$ZQ^O'#DjO#$bQWO'#JlO#$jQWO,5:TO#$oQWO'#EpO#$}QWO'#JzO#%VQWO,5;ZO#%[Q`O'#DjO#%iQ`O'#EUOOQ07b,5:n,5:nO%[Q^O,5:nO#%pQWO,5:nO>pQWO,5;UO!@}Q`O,5;UO!AVQ7[O,5;UO:RQ7[O,5;UO#%xQWO,5@XO#%}Q$ISO,5:rOOQO-E<`-E<`O#'TQ07pO,5:}OCnQ`O,5:qO#'_Q`O,5:qOCnQ`O,5:}O!@rQ07hO,5:qOOQ07`'#Ef'#EfOOQO,5:},5:}O%[Q^O,5:}O#'lQ07hO,5:}O#'wQ07hO,5:}O!@}Q`O,5:qOOQO,5;T,5;TO#(VQ07hO,5:}POOO'#IV'#IVP#(kO!0LbO,58{POOO,58{,58{OOOO-EwO+}Q^O,5>wOOQO,5>},5>}O#)VQ^O'#I]OOQO-EjQ08SO1G0{O#>wQ08SO1G0{O#@uQ08SO1G0{O#CuQ(CYO'#ChO#EsQ(CYO1G1^O#EzQ(CYO'#JjO!,lQWO1G1dO#F[Q08SO,5?TOOQ07`-EkQWO1G3lO$2dQ^O1G3nO$6hQ^O'#HmOOQU1G3q1G3qO$6uQWO'#HsO>pQWO'#HuOOQU1G3w1G3wO$6}Q^O1G3wO9kQ07hO1G3}OOQU1G4P1G4POOQ07`'#GY'#GYO9kQ07hO1G4RO9kQ07hO1G4TO$;UQWO,5@XO!*fQ^O,5;[O9ZQWO,5;[O>pQWO,5:UO!*fQ^O,5:UO!@}Q`O,5:UO$;ZQ(CYO,5:UOOQO,5;[,5;[O$;eQ`O'#I^O$;{QWO,5@WOOQ07b1G/o1G/oO$pQWO1G0pO!@}Q`O1G0pO!AVQ7[O1G0pOOQ07`1G5s1G5sO!@rQ07hO1G0]OOQO1G0i1G0iO%[Q^O1G0iO$PQrO1G4cOOQO1G4i1G4iO%[Q^O,5>wO$>ZQWO1G5qO$>cQWO1G6OO$>kQrO1G6PO9ZQWO,5>}O$>uQ08SO1G5|O%[Q^O1G5|O$?VQ07hO1G5|O$?hQWO1G5{O$?hQWO1G5{O9ZQWO1G5{O$?pQWO,5?QO9ZQWO,5?QOOQO,5?Q,5?QO$@UQWO,5?QO$'ZQWO,5?QOOQO-EXOOQU,5>X,5>XO%[Q^O'#HnO%7dQWO'#HpOOQU,5>_,5>_O9ZQWO,5>_OOQU,5>a,5>aOOQU7+)c7+)cOOQU7+)i7+)iOOQU7+)m7+)mOOQU7+)o7+)oO%7iQ`O1G5sO%7}Q(CYO1G0vO%8XQWO1G0vOOQO1G/p1G/pO%8dQ(CYO1G/pO>pQWO1G/pO!*fQ^O'#DjOOQO,5>x,5>xOOQO-E<[-E<[OOQO,5?O,5?OOOQO-EpQWO7+&[O!@}Q`O7+&[OOQO7+%w7+%wO$=mQ08SO7+&TOOQO7+&T7+&TO%[Q^O7+&TO%8nQ07hO7+&TO!@rQ07hO7+%wO!@}Q`O7+%wO%8yQ07hO7+&TO%9XQ08SO7++hO%[Q^O7++hO%9iQWO7++gO%9iQWO7++gOOQO1G4l1G4lO9ZQWO1G4lO%9qQWO1G4lOOQO7+%|7+%|O#%sQWO<zQ08SO1G2ZO%A]Q08SO1G2mO%ChQ08SO1G2oO%EsQ7[O,5>yOOQO-E<]-E<]O%E}QrO,5>zO%[Q^O,5>zOOQO-E<^-E<^O%FXQWO1G5uOOQ07b<YOOQU,5>[,5>[O&5oQWO1G3yO9ZQWO7+&bO!*fQ^O7+&bOOQO7+%[7+%[O&5tQ(CYO1G6PO>pQWO7+%[OOQ07b<pQWO<pQWO7+)eO'&sQWO<}AN>}O%[Q^OAN?ZOOQO<qQ(CYOG26}O!*fQ^O'#DyO1PQWO'#EWO'@gQrO'#JiO!*fQ^O'#DqO'@nQ^O'#D}O'@uQrO'#ChO'C]QrO'#ChO!*fQ^O'#EPO'CmQ^O,5;VO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O'#IiO'EpQWO,5a#@O#@^#@d#Ax#BW#Cr#DQ#DW#D^#Dd#Dn#Dt#Dz#EU#Eh#EnPPPPPPPPPP#EtPPPPPPP#Fi#Ip#KP#KW#K`PPPP$!d$%Z$+r$+u$+x$,q$,t$,w$-O$-WPP$-^$-b$.Y$/X$/]$/qPP$/u$/{$0PP$0S$0W$0Z$1P$1h$2P$2T$2W$2Z$2a$2d$2h$2lR!{RoqOXst!Z#c%j&m&o&p&r,h,m1w1zY!uQ'Z-Y1[5]Q%pvQ%xyQ&P|Q&e!VS'R!e-QQ'a!iS'g!r!xS*c$|*hQ+f%yQ+s&RQ,X&_Q-W'YQ-b'bQ-j'hQ/|*jQ1f,YR;Y:g%OdOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%j%p%}&f&i&m&o&p&r&v'O']'m'}(P(V(^(r(v(z)y+O+S,e,h,m-^-f-t-z.l.s0[0a0q1_1o1p1r1t1w1z1|2m2s3Z5Y5d5t5u5x6]7w7|8]8gS#p]:d!r)[$[$m'S)n,y,|.{2]3p5W6S9W9i:c:f:g:j:k:l:m:n:o:p:q:r:s:t:u:v:w:{;Y;Z;[;^;e;f;o;p<]Q*u%ZQ+k%{Q,Z&bQ,b&jQ.c;QQ0h+^Q0l+`Q0w+lQ1n,`Q2{.[Q4v0rQ5k1gQ6i3PQ6u;RQ7h4wR8m6j&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%j%p%}&f&i&j&m&o&p&r&v'O'S']'m'}(P(V(^(r(v(z)n)y+O+S+^,e,h,m,y,|-^-f-t-z.[.l.s.{0[0a0q1_1o1p1r1t1w1z1|2]2m2s3P3Z3p5W5Y5d5t5u5x6S6]6j7w7|8]8g9W9i:c:f:g:j:k:l:m:n:o:p:q:r:s:t:u:v:w:{;Y;Z;[;^;e;f;o;p<]t!nQ!r!u!x!y'R'Y'Z'g'h'i-Q-W-Y-j1[5]5_$v$si#u#w$c$d$x${%O%Q%[%]%a)u){)}*P*R*Y*`*p*q+]+`+w+z.Z.i/Z/j/k/m0Q0S0^1R1U1^3O3x4S4[4f4n4p5c6g7T7^7y8j8w9[9n:O:W:y:z:|:};O;P;S;T;U;V;W;X;_;`;a;b;c;d;g;h;i;j;k;l;m;n;q;r < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:371,context:f3,nodeProps:[["isolate",-8,4,5,13,33,35,48,50,52,""],["group",-26,8,16,18,65,201,205,209,210,212,215,218,228,230,236,238,240,242,245,251,257,259,261,263,265,267,268,"Statement",-32,12,13,28,31,32,38,48,51,52,54,59,67,75,79,81,83,84,106,107,116,117,134,137,139,140,141,142,144,145,164,165,167,"Expression",-23,27,29,33,37,39,41,168,170,172,173,175,176,177,179,180,181,183,184,185,195,197,199,200,"Type",-3,87,99,105,"ClassItem"],["openedBy",22,"<",34,"InterpolationStart",53,"[",57,"{",72,"(",157,"JSXStartCloseTag"],["closedBy",23,">",36,"InterpolationEnd",47,"]",58,"}",73,")",162,"JSXEndTag"]],propSources:[g3],skippedNodes:[0,4,5,271],repeatNodeCount:37,tokenData:"$Fj(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Ns!`!a$#_!a!b$(l!b!c$,k!c!}Er!}#O$-u#O#P$/P#P#Q$4h#Q#R$5r#R#SEr#S#T$7P#T#o$8Z#o#p$q#r#s$?}#s$f%Z$f$g+g$g#BYEr#BY#BZ$AX#BZ$ISEr$IS$I_$AX$I_$I|Er$I|$I}$Dd$I}$JO$Dd$JO$JTEr$JT$JU$AX$JU$KVEr$KV$KW$AX$KW&FUEr&FU&FV$AX&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AX?HUOEr(n%d_$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$f&j(OpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(OpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Op(R!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$f&j(Op(R!b't(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST(P#S$f&j'u(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$f&j(Op(R!b'u(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$f&j!o$Ip(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/|3l_'}$(n$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$f&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$a`$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$a``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$a`$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(R!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$a`(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k#%|:hh$f&j(Op(R!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXVS$f&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSVSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWVS(R!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]VS$f&j(OpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWVS(OpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYVS(Op(R!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%lQ^$f&j!USOY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@Y!_!}!=y!}#O!Bw#O#P!Dj#P#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!?Ta$f&j!USO!^&c!_#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&cS!@_X!USOY!@YZ!P!@Y!P!Q!@z!Q!}!@Y!}#O!Ac#O#P!Bb#P;'S!@Y;'S;=`!Bq<%lO!@YS!APU!US#Z#[!@z#]#^!@z#a#b!@z#g#h!@z#i#j!@z#m#n!@zS!AfVOY!AcZ#O!Ac#O#P!A{#P#Q!@Y#Q;'S!Ac;'S;=`!B[<%lO!AcS!BOSOY!AcZ;'S!Ac;'S;=`!B[<%lO!AcS!B_P;=`<%l!AcS!BeSOY!@YZ;'S!@Y;'S;=`!Bq<%lO!@YS!BtP;=`<%l!@Y&n!B|[$f&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#O!Bw#O#P!Cr#P#Q!=y#Q#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!CwX$f&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!DgP;=`<%l!Bw&n!DoX$f&jOY!=yYZ&cZ!^!=y!^!_!@Y!_#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!E_P;=`<%l!=y(Q!Eki$f&j(R!b!USOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!Eb#[#]&}#]#^!Eb#^#a&}#a#b!Eb#b#g&}#g#h!Eb#h#i&}#i#j!Eb#j#m&}#m#n!Eb#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!GaZ(R!b!USOY!GYZw!GYwx!@Yx!P!GY!P!Q!HS!Q!}!GY!}#O!Ic#O#P!Bb#P;'S!GY;'S;=`!JZ<%lO!GY!f!HZb(R!b!USOY'}Zw'}x#O'}#P#Z'}#Z#[!HS#[#]'}#]#^!HS#^#a'}#a#b!HS#b#g'}#g#h!HS#h#i'}#i#j!HS#j#m'}#m#n!HS#n;'S'};'S;=`(f<%lO'}!f!IhX(R!bOY!IcZw!Icwx!Acx#O!Ic#O#P!A{#P#Q!GY#Q;'S!Ic;'S;=`!JT<%lO!Ic!f!JWP;=`<%l!Ic!f!J^P;=`<%l!GY(Q!Jh^$f&j(R!bOY!JaYZ&cZw!Jawx!Bwx!^!Ja!^!_!Ic!_#O!Ja#O#P!Cr#P#Q!Q#V#X%Z#X#Y!4|#Y#b%Z#b#c#Zd$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#?tf$f&j(Op(R!bo$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#b%Z#b#c#b3[t]||-1},{term:334,get:t=>y3[t]||-1},{term:70,get:t=>x3[t]||-1}],tokenPrec:14638}),Lc=[ct("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),ct("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),ct("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),ct("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),ct("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),ct(`try { +`);n=r<0?i:i.slice(0,r)}return e+n.length>this.to?n.slice(0,this.to-e):n}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,i,n=0){this.block=dl.create(e,n,this.lineStart+i,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,i,n=0){this.startContext(this.parser.getNodeType(e),i,n)}addNode(e,i,n){typeof e=="number"&&(e=new ie(this.parser.nodeSet.types[e],ur,ur,(n??this.prevLineEnd())-i)),this.block.addChild(e,i-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,i){this.addNode(this.buffer.writeElements(Du(i.children,e.marks),-i.from).finish(i.type,i.to-i.from),i.from)}finishContext(){let e=this.stack.pop(),i=this.stack[this.stack.length-1];i.addChild(e.toTree(this.parser.nodeSet),e.from-i.from),this.block=i}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?lg(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let n of e.parsers)if(n.finish(this,e))return;let i=Du(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(i,-e.start).finish(D.Paragraph,e.content.length),e.start)}elt(e,i,n,r){return typeof e=="string"?se(this.parser.getNodeType(e),i,n,r):new cg(e,i)}get buffer(){return new ug(this.parser.nodeSet)}}function lg(t,e,i,n,r){let s=t[e].to,o=[],l=[],a=i.from+n;function u(c,h){for(;h?c>=s:c>s;){let f=t[e+1].from-s;n+=f,c+=f,e++,s=t[e].to}}for(let c=i.firstChild;c;c=c.nextSibling){u(c.from+n,!0);let h=c.from+n,f,d=r.get(c.tree);d?f=d:c.to+n>s?(f=lg(t,e,c,n,r),u(c.to+n,!1)):f=c.toTree(),o.push(f),l.push(h-a)}return u(i.to+n,!1),new ie(i.type,o,l,i.to+n-a,i.tree?i.tree.propValues:void 0)}class Ml extends El{constructor(e,i,n,r,s,o,l,a,u){super(),this.nodeSet=e,this.blockParsers=i,this.leafBlockParsers=n,this.blockNames=r,this.endLeafBlock=s,this.skipContextMarkup=o,this.inlineParsers=l,this.inlineNames=a,this.wrappers=u,this.nodeTypes=Object.create(null);for(let c of e.types)this.nodeTypes[c.name]=c.id}createParse(e,i,n){let r=new bS(this,e,i,n);for(let s of this.wrappers)r=s(r,e,i,n);return r}configure(e){let i=Zu(e);if(!i)return this;let{nodeSet:n,skipContextMarkup:r}=this,s=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),l=this.blockNames.slice(),a=this.inlineParsers.slice(),u=this.inlineNames.slice(),c=this.endLeafBlock.slice(),h=this.wrappers;if(Ar(i.defineNodes)){r=Object.assign({},r);let f=n.types.slice(),d;for(let p of i.defineNodes){let{name:m,block:g,composite:O,style:y}=typeof p=="string"?{name:p}:p;if(f.some(_=>_.name==m))continue;O&&(r[f.length]=(_,A,C)=>O(A,C,_.value));let v=f.length,S=O?["Block","BlockContext"]:g?v>=D.ATXHeading1&&v<=D.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;f.push(Me.define({id:v,name:m,props:S&&[[G.group,S]]})),y&&(d||(d={}),Array.isArray(y)||y instanceof Ut?d[m]=y:Object.assign(d,y))}n=new mr(f),d&&(n=n.extend(Or(d)))}if(Ar(i.props)&&(n=n.extend(...i.props)),Ar(i.remove))for(let f of i.remove){let d=this.blockNames.indexOf(f),p=this.inlineNames.indexOf(f);d>-1&&(s[d]=o[d]=void 0),p>-1&&(a[p]=void 0)}if(Ar(i.parseBlock))for(let f of i.parseBlock){let d=l.indexOf(f.name);if(d>-1)s[d]=f.parse,o[d]=f.leaf;else{let p=f.before?Oo(l,f.before):f.after?Oo(l,f.after)+1:l.length-1;s.splice(p,0,f.parse),o.splice(p,0,f.leaf),l.splice(p,0,f.name)}f.endLeaf&&c.push(f.endLeaf)}if(Ar(i.parseInline))for(let f of i.parseInline){let d=u.indexOf(f.name);if(d>-1)a[d]=f.parse;else{let p=f.before?Oo(u,f.before):f.after?Oo(u,f.after)+1:u.length-1;a.splice(p,0,f.parse),u.splice(p,0,f.name)}}return i.wrap&&(h=h.concat(i.wrap)),new Ml(n,s,o,l,c,r,a,u,h)}getNodeType(e){let i=this.nodeTypes[e];if(i==null)throw new RangeError(`Unknown node type '${e}'`);return i}parseInline(e,i){let n=new xS(this,e,i);e:for(let r=i;r=0){r=l;continue e}}r++}return n.resolveMarkers(0)}}function Ar(t){return t!=null&&t.length>0}function Zu(t){if(!Array.isArray(t))return t;if(t.length==0)return null;let e=Zu(t[0]);if(t.length==1)return e;let i=Zu(t.slice(1));if(!i||!e)return e||i;let n=(o,l)=>(o||ur).concat(l||ur),r=e.wrap,s=i.wrap;return{props:n(e.props,i.props),defineNodes:n(e.defineNodes,i.defineNodes),parseBlock:n(e.parseBlock,i.parseBlock),parseInline:n(e.parseInline,i.parseInline),remove:n(e.remove,i.remove),wrap:r?s?(o,l,a,u)=>r(s(o,l,a,u),l,a,u):r:s}}function Oo(t,e){let i=t.indexOf(e);if(i<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return i}let ag=[Me.none];for(let t=1,e;e=D[t];t++)ag[t]=Me.define({id:t,name:e,props:t>=D.Escape?[]:[[G.group,t in KO?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});const ur=[];class ug{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,i,n,r=0){return this.content.push(e,i,n,4+r*4),this}writeElements(e,i=0){for(let n of e)n.writeTo(this,i);return this}finish(e,i){return ie.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:i})}}let hs=class{constructor(e,i,n,r=ur){this.type=e,this.from=i,this.to=n,this.children=r}writeTo(e,i){let n=e.content.length;e.writeElements(this.children,i),e.content.push(this.type,this.from+i,this.to+i,e.content.length+4-n)}toTree(e){return new ug(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}};class cg{constructor(e,i){this.tree=e,this.from=i}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return ur}writeTo(e,i){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+i,this.to+i,-1)}toTree(){return this.tree}}function se(t,e,i,n){return new hs(t,e,i,n)}const hg={resolve:"Emphasis",mark:"EmphasisMark"},fg={resolve:"Emphasis",mark:"EmphasisMark"},Tr={},Qd={};class Gt{constructor(e,i,n,r){this.type=e,this.from=i,this.to=n,this.side=r}}const Ad="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let fs=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{fs=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch{}const da={Escape(t,e,i){if(e!=92||i==t.end-1)return-1;let n=t.char(i+1);for(let r=0;r]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(n);if(r)return t.append(se(D.Autolink,i,i+1+r[0].length,[se(D.LinkMark,i,i+1),se(D.URL,i+1,i+r[0].length),se(D.LinkMark,i+r[0].length,i+1+r[0].length)]));let s=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(n);if(s)return t.append(se(D.Comment,i,i+1+s[0].length));let o=/^\?[^]*?\?>/.exec(n);if(o)return t.append(se(D.ProcessingInstruction,i,i+1+o[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(n);return l?t.append(se(D.HTMLTag,i,i+1+l[0].length)):-1},Emphasis(t,e,i){if(e!=95&&e!=42)return-1;let n=i+1;for(;t.char(n)==e;)n++;let r=t.slice(i-1,i),s=t.slice(n,n+1),o=fs.test(r),l=fs.test(s),a=/\s|^$/.test(r),u=/\s|^$/.test(s),c=!u&&(!l||a||o),h=!a&&(!o||u||l),f=c&&(e==42||!h||o),d=h&&(e==42||!c||l);return t.append(new Gt(e==95?hg:fg,i,n,(f?1:0)|(d?2:0)))},HardBreak(t,e,i){if(e==92&&t.char(i+1)==10)return t.append(se(D.HardBreak,i,i+2));if(e==32){let n=i+1;for(;t.char(n)==32;)n++;if(t.char(n)==10&&n>=i+2)return t.append(se(D.HardBreak,i,n+1))}return-1},Link(t,e,i){return e==91?t.append(new Gt(Tr,i,i+1,1)):-1},Image(t,e,i){return e==33&&t.char(i+1)==91?t.append(new Gt(Qd,i,i+2,1)):-1},LinkEnd(t,e,i){if(e!=93)return-1;for(let n=t.parts.length-1;n>=0;n--){let r=t.parts[n];if(r instanceof Gt&&(r.type==Tr||r.type==Qd)){if(!r.side||t.skipSpace(r.to)==i&&!/[(\[]/.test(t.slice(i+1,i+2)))return t.parts[n]=null,-1;let s=t.takeContent(n),o=t.parts[n]=yS(t,s,r.type==Tr?D.Link:D.Image,r.from,i+1);if(r.type==Tr)for(let l=0;le?se(D.URL,e+i,s+i):s==t.length?null:!1}}function pg(t,e,i){let n=t.charCodeAt(e);if(n!=39&&n!=34&&n!=40)return!1;let r=n==40?41:n;for(let s=e+1,o=!1;s=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,i){return this.text.slice(e-this.offset,i-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,i,n,r,s){return this.append(new Gt(e,i,n,(r?1:0)|(s?2:0)))}addElement(e){return this.append(e)}resolveMarkers(e){for(let n=e;n=e;a--){let m=this.parts[a];if(m instanceof Gt&&m.side&1&&m.type==r.type&&!(s&&(r.side&1||m.side&2)&&(m.to-m.from+o)%3==0&&((m.to-m.from)%3||o%3))){l=m;break}}if(!l)continue;let u=r.type.resolve,c=[],h=l.from,f=r.to;if(s){let m=Math.min(2,l.to-l.from,o);h=l.to-m,f=r.from+m,u=m==1?"Emphasis":"StrongEmphasis"}l.type.mark&&c.push(this.elt(l.type.mark,h,l.to));for(let m=a+1;m=0;i--){let n=this.parts[i];if(n instanceof Gt&&n.type==e)return i}return null}takeContent(e){let i=this.resolveMarkers(e);return this.parts.length=e,i}skipSpace(e){return Nr(this.text,e-this.offset)+this.offset}elt(e,i,n,r){return typeof e=="string"?se(this.parser.getNodeType(e),i,n,r):new cg(e,i)}}function Du(t,e){if(!e.length)return t;if(!t.length)return e;let i=t.slice(),n=0;for(let r of e){for(;n(e?e-1:0))return!1;if(this.fragmentEnd<0){let s=this.fragment.to;for(;s>0&&this.input.read(s-1,s)!=` +`;)s--;this.fragmentEnd=s?s-1:0}let n=this.cursor;n||(n=this.cursor=this.fragment.tree.cursor(),n.firstChild());let r=e+this.fragment.offset;for(;n.to<=r;)if(!n.parent())return!1;for(;;){if(n.from>=r)return this.fragment.from<=i;if(!n.childAfter(r))return!1}}matches(e){let i=this.cursor.tree;return i&&i.prop(G.contextHash)==e}takeNodes(e){let i=this.cursor,n=this.fragment.offset,r=this.fragmentEnd-(this.fragment.openEnd?1:0),s=e.absoluteLineStart,o=s,l=e.block.children.length,a=o,u=l;for(;;){if(i.to-n>r){if(i.type.isAnonymous&&i.firstChild())continue;break}let c=Og(i.from-n,e.ranges);if(i.to-n<=e.ranges[e.rangeI].to)e.addNode(i.tree,c);else{let h=new ie(e.parser.nodeSet.types[D.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(h,i.tree),e.addNode(h,c)}if(i.type.is("Block")&&(kS.indexOf(i.type.id)<0?(o=i.to-n,l=e.block.children.length):(o=a,l=u,a=i.to-n,u=e.block.children.length)),!i.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-s}};function Og(t,e){let i=t;for(let n=1;nmo[t]),Object.keys(mo).map(t=>mS[t]),Object.keys(mo),OS,KO,Object.keys(da).map(t=>da[t]),Object.keys(da),[]);function _S(t,e,i){let n=[];for(let r=t.firstChild,s=e;;r=r.nextSibling){let o=r?r.from:i;if(o>s&&n.push({from:s,to:o}),!r)break;s=r.to}return n}function $S(t){let{codeParser:e,htmlParser:i}=t;return{wrap:Mm((r,s)=>{let o=r.type.id;if(e&&(o==D.CodeBlock||o==D.FencedCode)){let l="";if(o==D.FencedCode){let u=r.node.getChild(D.CodeInfo);u&&(l=s.read(u.from,u.to))}let a=e(l);if(a)return{parser:a,overlay:u=>u.type.id==D.CodeText}}else if(i&&(o==D.HTMLBlock||o==D.HTMLTag))return{parser:i,overlay:_S(r.node,r.from,r.to)};return null})}}const PS={resolve:"Strikethrough",mark:"StrikethroughMark"},CS={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":b.strikethrough}},{name:"StrikethroughMark",style:b.processingInstruction}],parseInline:[{name:"Strikethrough",parse(t,e,i){if(e!=126||t.char(i+1)!=126||t.char(i+2)==126)return-1;let n=t.slice(i-1,i),r=t.slice(i+2,i+3),s=/\s|^$/.test(n),o=/\s|^$/.test(r),l=fs.test(n),a=fs.test(r);return t.addDelimiter(PS,i,i+2,!o&&(!a||s||l),!s&&(!l||o||a))},after:"Emphasis"}]};function Ur(t,e,i=0,n,r=0){let s=0,o=!0,l=-1,a=-1,u=!1,c=()=>{n.push(t.elt("TableCell",r+l,r+a,t.parser.parseInline(e.slice(l,a),r+l)))};for(let h=i;h-1)&&s++,o=!1,n&&(l>-1&&c(),n.push(t.elt("TableDelimiter",h+r,h+r+1))),l=a=-1):(u||f!=32&&f!=9)&&(l<0&&(l=h),a=h+1),u=!u&&f==92}return l>-1&&(s++,n&&c()),s}function Td(t,e){for(let i=e;ir instanceof Ed)||!Td(e.text,e.basePos))return!1;let n=t.scanLine(t.absoluteLineEnd+1).text;return gg.test(n)&&Ur(t,e.text,e.basePos)==Ur(t,n,e.basePos)},before:"SetextHeading"}]};class AS{nextLine(){return!1}finish(e,i){return e.addLeafElement(i,e.elt("Task",i.start,i.start+i.content.length,[e.elt("TaskMarker",i.start,i.start+3),...e.parser.parseInline(i.content.slice(3),i.start+3)])),!0}}const TS={defineNodes:[{name:"Task",block:!0,style:b.list},{name:"TaskMarker",style:b.atom}],parseBlock:[{name:"TaskList",leaf(t,e){return/^\[[ xX]\][ \t]/.test(e.content)&&t.parentType().name=="ListItem"?new AS:null},after:"SetextHeading"}]},Zd=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Dd=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,ES=/[\w-]+\.[\w-]+($|\/)/,Rd=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Id=/\/[a-zA-Z\d@.]+/gy;function Ld(t,e,i,n){let r=0;for(let s=e;s-1)return-1;let n=e+i[0].length;for(;;){let r=t[n-1],s;if(/[?!.,:*_~]/.test(r)||r==")"&&Ld(t,e,n,")")>Ld(t,e,n,"("))n--;else if(r==";"&&(s=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(t.slice(e,n))))n=e+s.index;else break}return n}function Xd(t,e){Rd.lastIndex=e;let i=Rd.exec(t);if(!i)return-1;let n=i[0][i[0].length-1];return n=="_"||n=="-"?-1:e+i[0].length-(n=="."?1:0)}const DS={parseInline:[{name:"Autolink",parse(t,e,i){let n=i-t.offset;Zd.lastIndex=n;let r=Zd.exec(t.text),s=-1;return!r||(r[1]||r[2]?s=ZS(t.text,n+r[0].length):r[3]?s=Xd(t.text,n):(s=Xd(t.text,n+r[0].length),s>-1&&r[0]=="xmpp:"&&(Id.lastIndex=s,r=Id.exec(t.text),r&&(s=r.index+r[0].length))),s<0)?-1:(t.addElement(t.elt("URL",i,s+t.offset)),s+t.offset)}}]},RS=[QS,TS,CS,DS];function bg(t,e,i){return(n,r,s)=>{if(r!=t||n.char(s+1)==t)return-1;let o=[n.elt(i,s,s+1)];for(let l=s+1;li%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(e,i,n=0){let r=e.parser.context;return new Ru(e,[],i,n,n,0,[],0,r?new Wd(r,r.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(e,i){this.stack.push(this.state,i,this.bufferBase+this.buffer.length),this.state=e}reduce(e){var i;let n=e>>19,r=e&65535,{parser:s}=this.p,o=s.dynamicPrecedence(r);if(o&&(this.score+=o),n==0){this.pushState(s.getGoto(this.state,r,!0),this.reducePos),r=2e3&&!(!((i=this.p.parser.nodeSet.types[r])===null||i===void 0)&&i.isAnonymous)&&(a==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(r,a)}storeNode(e,i,n,r=4,s=!1){if(e==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&o.buffer[l-4]==0&&o.buffer[l-1]>-1){if(i==n)return;if(o.buffer[l-2]>=i){o.buffer[l-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(e,i,n,r);else{let o=this.buffer.length;if(o>0&&this.buffer[o-4]!=0)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],this.buffer[o+1]=this.buffer[o-3],this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],o-=4,r>4&&(r-=4);this.buffer[o]=e,this.buffer[o+1]=i,this.buffer[o+2]=n,this.buffer[o+3]=r}}shift(e,i,n,r){if(e&131072)this.pushState(e&65535,this.pos);else if(e&262144)this.pos=r,this.shiftContext(i,n),i<=this.p.parser.maxNode&&this.buffer.push(i,n,r,4);else{let s=e,{parser:o}=this.p;(r>this.pos||i<=o.maxNode)&&(this.pos=r,o.stateFlag(s,1)||(this.reducePos=r)),this.pushState(s,n),this.shiftContext(i,n),i<=o.maxNode&&this.buffer.push(i,n,r,4)}}apply(e,i,n,r){e&65536?this.reduce(e):this.shift(e,i,n,r)}useNode(e,i){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),n++);let r=this.pos;this.reducePos=this.pos=r+e.length,this.pushState(i,r),this.buffer.push(n,r,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,e,this,this.p.stream.reset(this.pos-e.length)))}split(){let e=this,i=e.buffer.length;for(;i>0&&e.buffer[i-2]>e.reducePos;)i-=4;let n=e.buffer.slice(i),r=e.bufferBase+i;for(;e&&r==e.bufferBase;)e=e.parent;return new Ru(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)}recoverByDelete(e,i){let n=e<=this.p.parser.maxNode;n&&this.storeNode(e,this.pos,i,4),this.storeNode(0,this.pos,i,n?8:4),this.pos=this.reducePos=i,this.score-=190}canShift(e){for(let i=new WS(this);;){let n=this.p.parser.stateSlot(i.state,4)||this.p.parser.hasAction(i.state,e);if(n==0)return!1;if(!(n&65536))return!0;i.reduce(n)}}recoverByInsert(e){if(this.stack.length>=300)return[];let i=this.p.parser.nextStates(this.state);if(i.length>8||this.stack.length>=120){let r=[];for(let s=0,o;sa&1&&l==o)||r.push(i[s],o)}i=r}let n=[];for(let r=0;r>19,r=i&65535,s=this.stack.length-n*3;if(s<0||e.getGoto(this.stack[s],r,!1)<0){let o=this.findForcedReduction();if(o==null)return!1;i=o}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(i),!0}findForcedReduction(){let{parser:e}=this.p,i=[],n=(r,s)=>{if(!i.includes(r))return i.push(r),e.allActions(r,o=>{if(!(o&393216))if(o&65536){let l=(o>>19)-s;if(l>1){let a=o&65535,u=this.stack.length-l*3;if(u>=0&&e.getGoto(this.stack[u],a,!1)>=0)return l<<19|65536|a}}else{let l=n(o,s+1);if(l!=null)return l}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:e}=this.p;return e.data[e.stateSlot(this.state,1)]==65535&&!e.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(e){if(this.state!=e.state||this.stack.length!=e.stack.length)return!1;for(let i=0;ithis.lookAhead&&(this.emitLookAhead(),this.lookAhead=e)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}};class Wd{constructor(e,i){this.tracker=e,this.context=i,this.hash=e.strict?e.hash(i):0}}class WS{constructor(e){this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}reduce(e){let i=e&65535,n=e>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let r=this.start.p.parser.getGoto(this.stack[this.base-3],i,!0);this.state=r}}class pl{constructor(e,i,n){this.stack=e,this.pos=i,this.index=n,this.buffer=e.buffer,this.index==0&&this.maybeNext()}static create(e,i=e.bufferBase+e.buffer.length){return new pl(e,i,i-e.bufferBase)}maybeNext(){let e=this.stack.parent;e!=null&&(this.index=this.stack.bufferBase-e.bufferBase,this.stack=e,this.buffer=e.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new pl(this.stack,this.pos,this.index)}}function Wr(t,e=Uint16Array){if(typeof t!="string")return t;let i=null;for(let n=0,r=0;n=92&&o--,o>=34&&o--;let a=o-32;if(a>=46&&(a-=46,l=!0),s+=a,l)break;s*=46}i?i[r++]=s:i=new e(s)}return i}class Io{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const Vd=new Io;class VS{constructor(e,i){this.input=e,this.ranges=i,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=Vd,this.rangeIndex=0,this.pos=this.chunkPos=i[0].from,this.range=i[0],this.end=i[i.length-1].to,this.readNext()}resolveOffset(e,i){let n=this.range,r=this.rangeIndex,s=this.pos+e;for(;sn.to:s>=n.to;){if(r==this.ranges.length-1)return null;let o=this.ranges[++r];s+=o.from-n.to,n=o}return s}clipPos(e){if(e>=this.range.from&&ee)return Math.max(e,i.from);return this.end}peek(e){let i=this.chunkOff+e,n,r;if(i>=0&&i=this.chunk2Pos&&nl.to&&(this.chunk2=this.chunk2.slice(0,l.to-n)),r=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),r}acceptToken(e,i=0){let n=i?this.resolveOffset(i,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?e.slice(0,this.range.to-this.pos):e,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(e=1){for(this.chunkOff+=e;this.pos+e>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();e-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=e,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(e,i){if(i?(this.token=i,i.start=e,i.lookAhead=e+1,i.value=i.extended=-1):this.token=Vd,this.pos!=e){if(this.pos=e,e==this.end)return this.setDone(),this;for(;e=this.range.to;)this.range=this.ranges[++this.rangeIndex];e>=this.chunkPos&&e=this.chunkPos&&i<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,i-this.chunkPos);if(e>=this.chunk2Pos&&i<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,i-this.chunk2Pos);if(e>=this.range.from&&i<=this.range.to)return this.input.read(e,i);let n="";for(let r of this.ranges){if(r.from>=i)break;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,i)))}return n}}class Yn{constructor(e,i){this.data=e,this.id=i}token(e,i){let{parser:n}=i.p;yg(this.data,e,i,this.id,n.data,n.tokenPrecTable)}}Yn.prototype.contextual=Yn.prototype.fallback=Yn.prototype.extend=!1;class ml{constructor(e,i,n){this.precTable=i,this.elseToken=n,this.data=typeof e=="string"?Wr(e):e}token(e,i){let n=e.pos,r=0;for(;;){let s=e.next<0,o=e.resolveOffset(1,1);if(yg(this.data,e,i,0,this.data,this.precTable),e.token.value>-1)break;if(this.elseToken==null)return;if(s||r++,o==null)break;e.reset(o,e.token)}r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}ml.prototype.contextual=Yn.prototype.fallback=Yn.prototype.extend=!1;class ei{constructor(e,i={}){this.token=e,this.contextual=!!i.contextual,this.fallback=!!i.fallback,this.extend=!!i.extend}}function yg(t,e,i,n,r,s){let o=0,l=1<0){let p=t[d];if(a.allows(p)&&(e.token.value==-1||e.token.value==p||FS(p,e.token.value,r,s))){e.acceptToken(p);break}}let c=e.next,h=0,f=t[o+2];if(e.next<0&&f>h&&t[u+f*3-3]==65535){o=t[u+f*3-1];continue e}for(;h>1,p=u+d+(d<<1),m=t[p],g=t[p+1]||65536;if(c=g)h=d+1;else{o=t[p+2],e.advance();continue e}}break}}function Fd(t,e,i){for(let n=e,r;(r=t[n])!=65535;n++)if(r==i)return n-e;return-1}function FS(t,e,i,n){let r=Fd(i,n,e);return r<0||Fd(i,n,t)e)&&!n.type.isError)return i<0?Math.max(0,Math.min(n.to-1,e-25)):Math.min(t.length,Math.max(n.from+1,e+25));if(i<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return i<0?0:t.length}}class zS{constructor(e,i){this.fragments=e,this.nodeSet=i,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let e=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(e){for(this.safeFrom=e.openStart?zd(e.tree,e.from+e.offset,1)-e.offset:e.from,this.safeTo=e.openEnd?zd(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(e.tree),this.start.push(-e.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(e){if(ee)return this.nextStart=o,null;if(s instanceof ie){if(o==e){if(o=Math.max(this.safeFrom,e)&&(this.trees.push(s),this.start.push(o),this.index.push(0))}else this.index[i]++,this.nextStart=o+s.length}}}class jS{constructor(e,i){this.stream=i,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=e.tokenizers.map(n=>new Io)}getActions(e){let i=0,n=null,{parser:r}=e.p,{tokenizers:s}=r,o=r.stateSlot(e.state,3),l=e.curContext?e.curContext.hash:0,a=0;for(let u=0;uh.end+25&&(a=Math.max(h.lookAhead,a)),h.value!=0)){let f=i;if(h.extended>-1&&(i=this.addActions(e,h.extended,h.end,i)),i=this.addActions(e,h.value,h.end,i),!c.extend&&(n=h,i>f))break}}for(;this.actions.length>i;)this.actions.pop();return a&&e.setLookAhead(a),!n&&e.pos==this.stream.end&&(n=new Io,n.value=e.p.parser.eofTerm,n.start=n.end=e.pos,i=this.addActions(e,n.value,n.end,i)),this.mainToken=n,this.actions}getMainToken(e){if(this.mainToken)return this.mainToken;let i=new Io,{pos:n,p:r}=e;return i.start=n,i.end=Math.min(n+1,r.stream.end),i.value=n==r.stream.end?r.parser.eofTerm:0,i}updateCachedToken(e,i,n){let r=this.stream.clipPos(n.pos);if(i.token(this.stream.reset(r,e),n),e.value>-1){let{parser:s}=n.p;for(let o=0;o=0&&n.p.parser.dialect.allows(l>>1)){l&1?e.extended=l>>1:e.value=l>>1;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,i,n,r){for(let s=0;se.bufferLength*4?new zS(n,e.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let e=this.stacks,i=this.minStackPos,n=this.stacks=[],r,s;if(this.bigReductionCount>300&&e.length==1){let[o]=e;for(;o.forceReduce()&&o.stack.length&&o.stack[o.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let o=0;oi)n.push(l);else{if(this.advanceStack(l,n,e))continue;{r||(r=[],s=[]),r.push(l);let a=this.tokens.getMainToken(l);s.push(a.value,a.end)}}break}}if(!n.length){let o=r&&YS(r);if(o)return bt&&console.log("Finish with "+this.stackID(o)),this.stackToTree(o);if(this.parser.strict)throw bt&&r&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+i);this.recovering||(this.recovering=5)}if(this.recovering&&r){let o=this.stoppedAt!=null&&r[0].pos>this.stoppedAt?r[0]:this.runRecovery(r,s,n);if(o)return bt&&console.log("Force-finish "+this.stackID(o)),this.stackToTree(o.forceAll())}if(this.recovering){let o=this.recovering==1?1:this.recovering*3;if(n.length>o)for(n.sort((l,a)=>a.score-l.score);n.length>o;)n.pop();n.some(l=>l.reducePos>i)&&this.recovering--}else if(n.length>1){e:for(let o=0;o500&&u.buffer.length>500)if((l.score-u.score||l.buffer.length-u.buffer.length)>0)n.splice(a--,1);else{n.splice(o--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let o=1;o ":"";if(this.stoppedAt!=null&&r>this.stoppedAt)return e.forceReduce()?e:null;if(this.fragments){let u=e.curContext&&e.curContext.tracker.strict,c=u?e.curContext.hash:0;for(let h=this.fragments.nodeAt(r);h;){let f=this.parser.nodeSet.types[h.type.id]==h.type?s.getGoto(e.state,h.type.id):-1;if(f>-1&&h.length&&(!u||(h.prop(G.contextHash)||0)==c))return e.useNode(h,f),bt&&console.log(o+this.stackID(e)+` (via reuse of ${s.getName(h.type.id)})`),!0;if(!(h instanceof ie)||h.children.length==0||h.positions[0]>0)break;let d=h.children[0];if(d instanceof ie&&h.positions[0]==0)h=d;else break}}let l=s.stateSlot(e.state,4);if(l>0)return e.reduce(l),bt&&console.log(o+this.stackID(e)+` (via always-reduce ${s.getName(l&65535)})`),!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););let a=this.tokens.getActions(e);for(let u=0;ur?i.push(p):n.push(p)}return!1}advanceFully(e,i){let n=e.pos;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return jd(e,i),!0}}runRecovery(e,i,n){let r=null,s=!1;for(let o=0;o ":"";if(l.deadEnd&&(s||(s=!0,l.restart(),bt&&console.log(c+this.stackID(l)+" (restarted)"),this.advanceFully(l,n))))continue;let h=l.split(),f=c;for(let d=0;h.forceReduce()&&d<10&&(bt&&console.log(f+this.stackID(h)+" (via force-reduce)"),!this.advanceFully(h,n));d++)bt&&(f=this.stackID(h)+" -> ");for(let d of l.recoverByInsert(a))bt&&console.log(c+this.stackID(d)+" (via recover-insert)"),this.advanceFully(d,n);this.stream.end>l.pos?(u==l.pos&&(u++,a=0),l.recoverByDelete(a,u),bt&&console.log(c+this.stackID(l)+` (via recover-delete ${this.parser.getName(a)})`),jd(l,n)):(!r||r.scoret;class xg{constructor(e){this.start=e.start,this.shift=e.shift||ma,this.reduce=e.reduce||ma,this.reuse=e.reuse||ma,this.hash=e.hash||(()=>0),this.strict=e.strict!==!1}}class cr extends El{constructor(e){if(super(),this.wrappers=[],e.version!=14)throw new RangeError(`Parser version (${e.version}) doesn't match runtime version (14)`);let i=e.nodeNames.split(" ");this.minRepeatTerm=i.length;for(let l=0;le.topRules[l][1]),r=[];for(let l=0;l=0)s(c,a,l[u++]);else{let h=l[u+-c];for(let f=-c;f>0;f--)s(l[u++],a,h);u++}}}this.nodeSet=new mr(i.map((l,a)=>Me.define({name:a>=this.minRepeatTerm?void 0:l,id:a,props:r[a],top:n.indexOf(a)>-1,error:a==0,skipped:e.skippedNodes&&e.skippedNodes.indexOf(a)>-1}))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),this.strict=!1,this.bufferLength=Dm;let o=Wr(e.tokenData);this.context=e.context,this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let l=0;ltypeof l=="number"?new Yn(o,l):l),this.topRules=e.topRules,this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,this.tokenPrecTable=e.tokenPrec,this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,i,n){let r=new BS(this,e,i,n);for(let s of this.wrappers)r=s(r,e,i,n);return r}getGoto(e,i,n=!1){let r=this.goto;if(i>=r[0])return-1;for(let s=r[i+1];;){let o=r[s++],l=o&1,a=r[s++];if(l&&n)return a;for(let u=s+(o>>1);s0}validAction(e,i){return!!this.allActions(e,n=>n==i?!0:null)}allActions(e,i){let n=this.stateSlot(e,4),r=n?i(n):void 0;for(let s=this.stateSlot(e,1);r==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=ki(this.data,s+2);else break;r=i(ki(this.data,s+1))}return r}nextStates(e){let i=[];for(let n=this.stateSlot(e,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=ki(this.data,n+2);else break;if(!(this.data[n+2]&1)){let r=this.data[n+1];i.some((s,o)=>o&1&&s==r)||i.push(this.data[n],r)}}return i}configure(e){let i=Object.assign(Object.create(cr.prototype),this);if(e.props&&(i.nodeSet=this.nodeSet.extend(...e.props)),e.top){let n=this.topRules[e.top];if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);i.top=n}return e.tokenizers&&(i.tokenizers=this.tokenizers.map(n=>{let r=e.tokenizers.find(s=>s.from==n);return r?r.to:n})),e.specializers&&(i.specializers=this.specializers.slice(),i.specializerSpecs=this.specializerSpecs.map((n,r)=>{let s=e.specializers.find(l=>l.from==n.external);if(!s)return n;let o=Object.assign(Object.assign({},n),{external:s.to});return i.specializers[r]=Bd(o),o})),e.contextTracker&&(i.context=e.contextTracker),e.dialect&&(i.dialect=this.parseDialect(e.dialect)),e.strict!=null&&(i.strict=e.strict),e.wrap&&(i.wrappers=i.wrappers.concat(e.wrap)),e.bufferLength!=null&&(i.bufferLength=e.bufferLength),i}hasWrappers(){return this.wrappers.length>0}getName(e){return this.termNames?this.termNames[e]:String(e<=this.maxNode&&this.nodeSet.types[e].name||e)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(e){let i=this.dynamicPrecedences;return i==null?0:i[e]||0}parseDialect(e){let i=Object.keys(this.dialects),n=i.map(()=>!1);if(e)for(let s of e.split(" ")){let o=i.indexOf(s);o>=0&&(n[o]=!0)}let r=null;for(let s=0;sn)&&i.p.parser.stateFlag(i.state,2)&&(!e||e.scoret.external(i,n)<<1|e}return t.get}const NS=54,US=1,GS=55,HS=2,KS=56,JS=3,qd=4,ew=5,Ol=6,kg=7,vg=8,Sg=9,wg=10,tw=11,iw=12,nw=13,Oa=57,rw=14,Yd=58,_g=20,sw=22,$g=23,ow=24,Iu=26,Pg=27,lw=28,aw=31,uw=34,cw=36,hw=37,fw=0,dw=1,pw={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0,menuitem:!0},mw={dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,th:!0,tr:!0},Nd={dd:{dd:!0,dt:!0},dt:{dd:!0,dt:!0},li:{li:!0},option:{option:!0,optgroup:!0},optgroup:{optgroup:!0},p:{address:!0,article:!0,aside:!0,blockquote:!0,dir:!0,div:!0,dl:!0,fieldset:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,menu:!0,nav:!0,ol:!0,p:!0,pre:!0,section:!0,table:!0,ul:!0},rp:{rp:!0,rt:!0},rt:{rp:!0,rt:!0},tbody:{tbody:!0,tfoot:!0},td:{td:!0,th:!0},tfoot:{tbody:!0},th:{td:!0,th:!0},thead:{tbody:!0,tfoot:!0},tr:{tr:!0}};function Ow(t){return t==45||t==46||t==58||t>=65&&t<=90||t==95||t>=97&&t<=122||t>=161}function Cg(t){return t==9||t==10||t==13||t==32}let Ud=null,Gd=null,Hd=0;function Lu(t,e){let i=t.pos+e;if(Hd==i&&Gd==t)return Ud;let n=t.peek(e);for(;Cg(n);)n=t.peek(++e);let r="";for(;Ow(n);)r+=String.fromCharCode(n),n=t.peek(++e);return Gd=t,Hd=i,Ud=r?r.toLowerCase():n==gw||n==bw?void 0:null}const Qg=60,gl=62,Lc=47,gw=63,bw=33,yw=45;function Kd(t,e){this.name=t,this.parent=e,this.hash=e?e.hash:0;for(let i=0;i-1?new Kd(Lu(n,1)||"",t):t},reduce(t,e){return e==_g&&t?t.parent:t},reuse(t,e,i,n){let r=e.type.id;return r==Ol||r==cw?new Kd(Lu(n,1)||"",t):t},hash(t){return t?t.hash:0},strict:!1}),vw=new ei((t,e)=>{if(t.next!=Qg){t.next<0&&e.context&&t.acceptToken(Oa);return}t.advance();let i=t.next==Lc;i&&t.advance();let n=Lu(t,0);if(n===void 0)return;if(!n)return t.acceptToken(i?rw:Ol);let r=e.context?e.context.name:null;if(i){if(n==r)return t.acceptToken(tw);if(r&&mw[r])return t.acceptToken(Oa,-2);if(e.dialectEnabled(fw))return t.acceptToken(iw);for(let s=e.context;s;s=s.parent)if(s.name==n)return;t.acceptToken(nw)}else{if(n=="script")return t.acceptToken(kg);if(n=="style")return t.acceptToken(vg);if(n=="textarea")return t.acceptToken(Sg);if(pw.hasOwnProperty(n))return t.acceptToken(wg);r&&Nd[r]&&Nd[r][n]?t.acceptToken(Oa,-1):t.acceptToken(Ol)}},{contextual:!0}),Sw=new ei(t=>{for(let e=0,i=0;;i++){if(t.next<0){i&&t.acceptToken(Yd);break}if(t.next==yw)e++;else if(t.next==gl&&e>=2){i>=3&&t.acceptToken(Yd,-2);break}else e=0;t.advance()}});function ww(t){for(;t;t=t.parent)if(t.name=="svg"||t.name=="math")return!0;return!1}const _w=new ei((t,e)=>{if(t.next==Lc&&t.peek(1)==gl){let i=e.dialectEnabled(dw)||ww(e.context);t.acceptToken(i?ew:qd,2)}else t.next==gl&&t.acceptToken(qd,1)});function Xc(t,e,i){let n=2+t.length;return new ei(r=>{for(let s=0,o=0,l=0;;l++){if(r.next<0){l&&r.acceptToken(e);break}if(s==0&&r.next==Qg||s==1&&r.next==Lc||s>=2&&so?r.acceptToken(e,-o):r.acceptToken(i,-(o-2));break}else if((r.next==10||r.next==13)&&l){r.acceptToken(e,1);break}else s=o=0;r.advance()}})}const $w=Xc("script",NS,US),Pw=Xc("style",GS,HS),Cw=Xc("textarea",KS,JS),Qw=Or({"Text RawText":b.content,"StartTag StartCloseTag SelfClosingEndTag EndTag":b.angleBracket,TagName:b.tagName,"MismatchedCloseTag/TagName":[b.tagName,b.invalid],AttributeName:b.attributeName,"AttributeValue UnquotedAttributeValue":b.attributeValue,Is:b.definitionOperator,"EntityReference CharacterReference":b.character,Comment:b.blockComment,ProcessingInst:b.processingInstruction,DoctypeDecl:b.documentMeta}),Aw=cr.deserialize({version:14,states:",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",stateData:",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",goto:"%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",nodeNames:"⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",maxTerm:67,context:kw,nodeProps:[["closedBy",-10,1,2,3,7,8,9,10,11,12,13,"EndTag",6,"EndTag SelfClosingEndTag",-4,21,30,33,36,"CloseTag"],["openedBy",4,"StartTag StartCloseTag",5,"StartTag",-4,29,32,35,37,"OpenTag"],["group",-9,14,17,18,19,20,39,40,41,42,"Entity",16,"Entity TextContent",-3,28,31,34,"TextContent Entity"],["isolate",-11,21,29,30,32,33,35,36,37,38,41,42,"ltr",-3,26,27,39,""]],propSources:[Qw],skippedNodes:[0],repeatNodeCount:9,tokenData:"!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V!{let u=l.type.id;if(u==lw)return ga(l,a,i);if(u==aw)return ga(l,a,n);if(u==uw)return ga(l,a,r);if(u==_g&&s.length){let c=l.node,h=c.firstChild,f=h&&Jd(h,a),d;if(f){for(let p of s)if(p.tag==f&&(!p.attrs||p.attrs(d||(d=Ag(c,a))))){let m=c.lastChild,g=m.type.id==hw?m.from:c.to;if(g>h.to)return{parser:p.parser,overlay:[{from:h.to,to:g}]}}}}if(o&&u==$g){let c=l.node,h;if(h=c.firstChild){let f=o[a.read(h.from,h.to)];if(f)for(let d of f){if(d.tagName&&d.tagName!=Jd(c.parent,a))continue;let p=c.lastChild;if(p.type.id==Iu){let m=p.from+1,g=p.lastChild,O=p.to-(g&&g.isError?0:1);if(O>m)return{parser:d.parser,overlay:[{from:m,to:O}]}}else if(p.type.id==Pg)return{parser:d.parser,overlay:[{from:p.from,to:p.to}]}}}}return null})}const Tw=99,e0=1,Ew=100,Zw=101,t0=2,Eg=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Dw=58,Rw=40,Zg=95,Iw=91,Lo=45,Lw=46,Xw=35,Mw=37,Ww=38,Vw=92,Fw=10;function ds(t){return t>=65&&t<=90||t>=97&&t<=122||t>=161}function Dg(t){return t>=48&&t<=57}const zw=new ei((t,e)=>{for(let i=!1,n=0,r=0;;r++){let{next:s}=t;if(ds(s)||s==Lo||s==Zg||i&&Dg(s))!i&&(s!=Lo||r>0)&&(i=!0),n===r&&s==Lo&&n++,t.advance();else if(s==Vw&&t.peek(1)!=Fw)t.advance(),t.next>-1&&t.advance(),i=!0;else{i&&t.acceptToken(s==Rw?Ew:n==2&&e.canShift(t0)?t0:Zw);break}}}),jw=new ei(t=>{if(Eg.includes(t.peek(-1))){let{next:e}=t;(ds(e)||e==Zg||e==Xw||e==Lw||e==Iw||e==Dw&&ds(t.peek(1))||e==Lo||e==Ww)&&t.acceptToken(Tw)}}),Bw=new ei(t=>{if(!Eg.includes(t.peek(-1))){let{next:e}=t;if(e==Mw&&(t.advance(),t.acceptToken(e0)),ds(e)){do t.advance();while(ds(t.next)||Dg(t.next));t.acceptToken(e0)}}}),qw=Or({"AtKeyword import charset namespace keyframes media supports":b.definitionKeyword,"from to selector":b.keyword,NamespaceName:b.namespace,KeyframeName:b.labelName,KeyframeRangeName:b.operatorKeyword,TagName:b.tagName,ClassName:b.className,PseudoClassName:b.constant(b.className),IdName:b.labelName,"FeatureName PropertyName":b.propertyName,AttributeName:b.attributeName,NumberLiteral:b.number,KeywordQuery:b.keyword,UnaryQueryOp:b.operatorKeyword,"CallTag ValueName":b.atom,VariableName:b.variableName,Callee:b.operatorKeyword,Unit:b.unit,"UniversalSelector NestingSelector":b.definitionOperator,MatchOp:b.compareOperator,"ChildOp SiblingOp, LogicOp":b.logicOperator,BinOp:b.arithmeticOperator,Important:b.modifier,Comment:b.blockComment,ColorLiteral:b.color,"ParenthesizedContent StringLiteral":b.string,":":b.punctuation,"PseudoOp #":b.derefOperator,"; ,":b.separator,"( )":b.paren,"[ ]":b.squareBracket,"{ }":b.brace}),Yw={__proto__:null,lang:32,"nth-child":32,"nth-last-child":32,"nth-of-type":32,"nth-last-of-type":32,dir:32,"host-context":32,url:60,"url-prefix":60,domain:60,regexp:60,selector:138},Nw={__proto__:null,"@import":118,"@media":142,"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},Uw={__proto__:null,not:132,only:132},Gw=cr.deserialize({version:14,states:":^QYQ[OOO#_Q[OOP#fOWOOOOQP'#Cd'#CdOOQP'#Cc'#CcO#kQ[O'#CfO$_QXO'#CaO$fQ[O'#ChO$qQ[O'#DTO$vQ[O'#DWOOQP'#Em'#EmO${QdO'#DgO%jQ[O'#DtO${QdO'#DvO%{Q[O'#DxO&WQ[O'#D{O&`Q[O'#ERO&nQ[O'#ETOOQS'#El'#ElOOQS'#EW'#EWQYQ[OOO&uQXO'#CdO'jQWO'#DcO'oQWO'#EsO'zQ[O'#EsQOQWOOP(UO#tO'#C_POOO)C@[)C@[OOQP'#Cg'#CgOOQP,59Q,59QO#kQ[O,59QO(aQ[O'#E[O({QWO,58{O)TQ[O,59SO$qQ[O,59oO$vQ[O,59rO(aQ[O,59uO(aQ[O,59wO(aQ[O,59xO)`Q[O'#DbOOQS,58{,58{OOQP'#Ck'#CkOOQO'#DR'#DROOQP,59S,59SO)gQWO,59SO)lQWO,59SOOQP'#DV'#DVOOQP,59o,59oOOQO'#DX'#DXO)qQ`O,59rOOQS'#Cp'#CpO${QdO'#CqO)yQvO'#CsO+ZQtO,5:ROOQO'#Cx'#CxO)lQWO'#CwO+oQWO'#CyO+tQ[O'#DOOOQS'#Ep'#EpOOQO'#Dj'#DjO+|Q[O'#DqO,[QWO'#EtO&`Q[O'#DoO,jQWO'#DrOOQO'#Eu'#EuO)OQWO,5:`O,oQpO,5:bOOQS'#Dz'#DzO,wQWO,5:dO,|Q[O,5:dOOQO'#D}'#D}O-UQWO,5:gO-ZQWO,5:mO-cQWO,5:oOOQS-E8U-E8UO${QdO,59}O-kQ[O'#E^O-xQWO,5;_O-xQWO,5;_POOO'#EV'#EVP.TO#tO,58yPOOO,58y,58yOOQP1G.l1G.lO.zQXO,5:vOOQO-E8Y-E8YOOQS1G.g1G.gOOQP1G.n1G.nO)gQWO1G.nO)lQWO1G.nOOQP1G/Z1G/ZO/XQ`O1G/^O/rQXO1G/aO0YQXO1G/cO0pQXO1G/dO1WQWO,59|O1]Q[O'#DSO1dQdO'#CoOOQP1G/^1G/^O${QdO1G/^O1kQpO,59]OOQS,59_,59_O${QdO,59aO1sQWO1G/mOOQS,59c,59cO1xQ!bO,59eOOQS'#DP'#DPOOQS'#EY'#EYO2QQ[O,59jOOQS,59j,59jO2YQWO'#DjO2eQWO,5:VO2jQWO,5:]O&`Q[O,5:XO&`Q[O'#E_O2rQWO,5;`O2}QWO,5:ZO(aQ[O,5:^OOQS1G/z1G/zOOQS1G/|1G/|OOQS1G0O1G0OO3`QWO1G0OO3eQdO'#EOOOQS1G0R1G0ROOQS1G0X1G0XOOQS1G0Z1G0ZO3pQtO1G/iOOQO,5:x,5:xO4WQ[O,5:xOOQO-E8[-E8[O4eQWO1G0yPOOO-E8T-E8TPOOO1G.e1G.eOOQP7+$Y7+$YOOQP7+$x7+$xO${QdO7+$xOOQS1G/h1G/hO4pQXO'#ErO4wQWO,59nO4|QtO'#EXO5tQdO'#EoO6OQWO,59ZO6TQpO7+$xOOQS1G.w1G.wOOQS1G.{1G.{OOQS7+%X7+%XO6]QWO1G/POOQS-E8W-E8WOOQS1G/U1G/UO${QdO1G/qOOQO1G/w1G/wOOQO1G/s1G/sO6bQWO,5:yOOQO-E8]-E8]O6pQXO1G/xOOQS7+%j7+%jO6wQYO'#CsOOQO'#EQ'#EQO7SQ`O'#EPOOQO'#EP'#EPO7_QWO'#E`O7gQdO,5:jOOQS,5:j,5:jO7rQtO'#E]O${QdO'#E]O8sQdO7+%TOOQO7+%T7+%TOOQO1G0d1G0dO9WQpO<OAN>OO:xQdO,5:uOOQO-E8X-E8XOOQO<T![;'S%^;'S;=`%o<%lO%^l;TUo`Oy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^l;nYo`#e[Oy%^z!Q%^!Q![;g![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^l[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",tokenizers:[jw,Bw,zw,1,2,3,4,new ml("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,get:t=>Yw[t]||-1},{term:58,get:t=>Nw[t]||-1},{term:101,get:t=>Uw[t]||-1}],tokenPrec:1200});let ba=null;function ya(){if(!ba&&typeof document=="object"&&document.body){let{style:t}=document.body,e=[],i=new Set;for(let n in t)n!="cssText"&&n!="cssFloat"&&typeof t[n]=="string"&&(/[A-Z]/.test(n)&&(n=n.replace(/[A-Z]/g,r=>"-"+r.toLowerCase())),i.has(n)||(e.push(n),i.add(n)));ba=e.sort().map(n=>({type:"property",label:n}))}return ba||[]}const i0=["active","after","any-link","autofill","backdrop","before","checked","cue","default","defined","disabled","empty","enabled","file-selector-button","first","first-child","first-letter","first-line","first-of-type","focus","focus-visible","focus-within","fullscreen","has","host","host-context","hover","in-range","indeterminate","invalid","is","lang","last-child","last-of-type","left","link","marker","modal","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","part","placeholder","placeholder-shown","read-only","read-write","required","right","root","scope","selection","slotted","target","target-text","valid","visited","where"].map(t=>({type:"class",label:t})),n0=["above","absolute","activeborder","additive","activecaption","after-white-space","ahead","alias","all","all-scroll","alphabetic","alternate","always","antialiased","appworkspace","asterisks","attr","auto","auto-flow","avoid","avoid-column","avoid-page","avoid-region","axis-pan","background","backwards","baseline","below","bidi-override","blink","block","block-axis","bold","bolder","border","border-box","both","bottom","break","break-all","break-word","bullets","button","button-bevel","buttonface","buttonhighlight","buttonshadow","buttontext","calc","capitalize","caps-lock-indicator","caption","captiontext","caret","cell","center","checkbox","circle","cjk-decimal","clear","clip","close-quote","col-resize","collapse","color","color-burn","color-dodge","column","column-reverse","compact","condensed","contain","content","contents","content-box","context-menu","continuous","copy","counter","counters","cover","crop","cross","crosshair","currentcolor","cursive","cyclic","darken","dashed","decimal","decimal-leading-zero","default","default-button","dense","destination-atop","destination-in","destination-out","destination-over","difference","disc","discard","disclosure-closed","disclosure-open","document","dot-dash","dot-dot-dash","dotted","double","down","e-resize","ease","ease-in","ease-in-out","ease-out","element","ellipse","ellipsis","embed","end","ethiopic-abegede-gez","ethiopic-halehame-aa-er","ethiopic-halehame-gez","ew-resize","exclusion","expanded","extends","extra-condensed","extra-expanded","fantasy","fast","fill","fill-box","fixed","flat","flex","flex-end","flex-start","footnotes","forwards","from","geometricPrecision","graytext","grid","groove","hand","hard-light","help","hidden","hide","higher","highlight","highlighttext","horizontal","hsl","hsla","hue","icon","ignore","inactiveborder","inactivecaption","inactivecaptiontext","infinite","infobackground","infotext","inherit","initial","inline","inline-axis","inline-block","inline-flex","inline-grid","inline-table","inset","inside","intrinsic","invert","italic","justify","keep-all","landscape","large","larger","left","level","lighter","lighten","line-through","linear","linear-gradient","lines","list-item","listbox","listitem","local","logical","loud","lower","lower-hexadecimal","lower-latin","lower-norwegian","lowercase","ltr","luminosity","manipulation","match","matrix","matrix3d","medium","menu","menutext","message-box","middle","min-intrinsic","mix","monospace","move","multiple","multiple_mask_images","multiply","n-resize","narrower","ne-resize","nesw-resize","no-close-quote","no-drop","no-open-quote","no-repeat","none","normal","not-allowed","nowrap","ns-resize","numbers","numeric","nw-resize","nwse-resize","oblique","opacity","open-quote","optimizeLegibility","optimizeSpeed","outset","outside","outside-shape","overlay","overline","padding","padding-box","painted","page","paused","perspective","pinch-zoom","plus-darker","plus-lighter","pointer","polygon","portrait","pre","pre-line","pre-wrap","preserve-3d","progress","push-button","radial-gradient","radio","read-only","read-write","read-write-plaintext-only","rectangle","region","relative","repeat","repeating-linear-gradient","repeating-radial-gradient","repeat-x","repeat-y","reset","reverse","rgb","rgba","ridge","right","rotate","rotate3d","rotateX","rotateY","rotateZ","round","row","row-resize","row-reverse","rtl","run-in","running","s-resize","sans-serif","saturation","scale","scale3d","scaleX","scaleY","scaleZ","screen","scroll","scrollbar","scroll-position","se-resize","self-start","self-end","semi-condensed","semi-expanded","separate","serif","show","single","skew","skewX","skewY","skip-white-space","slide","slider-horizontal","slider-vertical","sliderthumb-horizontal","sliderthumb-vertical","slow","small","small-caps","small-caption","smaller","soft-light","solid","source-atop","source-in","source-out","source-over","space","space-around","space-between","space-evenly","spell-out","square","start","static","status-bar","stretch","stroke","stroke-box","sub","subpixel-antialiased","svg_masks","super","sw-resize","symbolic","symbols","system-ui","table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row","table-row-group","text","text-bottom","text-top","textarea","textfield","thick","thin","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","to","top","transform","translate","translate3d","translateX","translateY","translateZ","transparent","ultra-condensed","ultra-expanded","underline","unidirectional-pan","unset","up","upper-latin","uppercase","url","var","vertical","vertical-text","view-box","visible","visibleFill","visiblePainted","visibleStroke","visual","w-resize","wait","wave","wider","window","windowframe","windowtext","words","wrap","wrap-reverse","x-large","x-small","xor","xx-large","xx-small"].map(t=>({type:"keyword",label:t})).concat(["aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","grey","green","greenyellow","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen"].map(t=>({type:"constant",label:t}))),Hw=["a","abbr","address","article","aside","b","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","dd","del","details","dfn","dialog","div","dl","dt","em","figcaption","figure","footer","form","header","hgroup","h1","h2","h3","h4","h5","h6","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","meter","nav","ol","output","p","pre","ruby","section","select","small","source","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","tr","u","ul"].map(t=>({type:"type",label:t})),Ei=/^(\w[\w-]*|-\w[\w-]*|)$/,Kw=/^-(-[\w-]*)?$/;function Jw(t,e){var i;if((t.name=="("||t.type.isError)&&(t=t.parent||t),t.name!="ArgList")return!1;let n=(i=t.parent)===null||i===void 0?void 0:i.firstChild;return(n==null?void 0:n.name)!="Callee"?!1:e.sliceString(n.from,n.to)=="var"}const r0=new Xm,e3=["Declaration"];function t3(t){for(let e=t;;){if(e.type.isTop)return e;if(!(e=e.parent))return t}}function Rg(t,e,i){if(e.to-e.from>4096){let n=r0.get(e);if(n)return n;let r=[],s=new Set,o=e.cursor(ye.IncludeAnonymous);if(o.firstChild())do for(let l of Rg(t,o.node,i))s.has(l.label)||(s.add(l.label),r.push(l));while(o.nextSibling());return r0.set(e,r),r}else{let n=[],r=new Set;return e.cursor().iterate(s=>{var o;if(i(s)&&s.matchContext(e3)&&((o=s.node.nextSibling)===null||o===void 0?void 0:o.name)==":"){let l=t.sliceString(s.from,s.to);r.has(l)||(r.add(l),n.push({label:l,type:"variable"}))}}),n}}const Ig=t=>e=>{let{state:i,pos:n}=e,r=Te(i).resolveInner(n,-1),s=r.type.isError&&r.from==r.to-1&&i.doc.sliceString(r.from,r.to)=="-";if(r.name=="PropertyName"||(s||r.name=="TagName")&&/^(Block|Styles)$/.test(r.resolve(r.to).name))return{from:r.from,options:ya(),validFor:Ei};if(r.name=="ValueName")return{from:r.from,options:n0,validFor:Ei};if(r.name=="PseudoClassName")return{from:r.from,options:i0,validFor:Ei};if(t(r)||(e.explicit||s)&&Jw(r,i.doc))return{from:t(r)||s?r.from:n,options:Rg(i.doc,t3(r),t),validFor:Kw};if(r.name=="TagName"){for(let{parent:a}=r;a;a=a.parent)if(a.name=="Block")return{from:r.from,options:ya(),validFor:Ei};return{from:r.from,options:Hw,validFor:Ei}}if(!e.explicit)return null;let o=r.resolve(n),l=o.childBefore(n);return l&&l.name==":"&&o.name=="PseudoClassSelector"?{from:n,options:i0,validFor:Ei}:l&&l.name==":"&&o.name=="Declaration"||o.name=="ArgList"?{from:n,options:n0,validFor:Ei}:o.name=="Block"||o.name=="Styles"?{from:n,options:ya(),validFor:Ei}:null},Lg=Ig(t=>t.name=="VariableName"),ps=sr.define({name:"css",parser:Gw.configure({props:[As.add({Declaration:Ro()}),Ts.add({"Block KeyframeList":Ym})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Xg(){return new ar(ps,ps.data.of({autocomplete:Lg}))}const i3=Object.freeze(Object.defineProperty({__proto__:null,css:Xg,cssCompletionSource:Lg,cssLanguage:ps,defineCSSCompletionSource:Ig},Symbol.toStringTag,{value:"Module"})),n3=309,s0=1,r3=2,s3=3,o3=310,l3=312,a3=313,u3=4,c3=5,h3=0,Xu=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288],Mg=125,f3=59,Mu=47,d3=42,p3=43,m3=45,O3=60,g3=44,b3=new xg({start:!1,shift(t,e){return e==u3||e==c3||e==l3?t:e==a3},strict:!1}),y3=new ei((t,e)=>{let{next:i}=t;(i==Mg||i==-1||e.context)&&t.acceptToken(o3)},{contextual:!0,fallback:!0}),x3=new ei((t,e)=>{let{next:i}=t,n;Xu.indexOf(i)>-1||i==Mu&&((n=t.peek(1))==Mu||n==d3)||i!=Mg&&i!=f3&&i!=-1&&!e.context&&t.acceptToken(n3)},{contextual:!0}),k3=new ei((t,e)=>{let{next:i}=t;if((i==p3||i==m3)&&(t.advance(),i==t.next)){t.advance();let n=!e.context&&e.canShift(s0);t.acceptToken(n?s0:r3)}},{contextual:!0});function xa(t,e){return t>=65&&t<=90||t>=97&&t<=122||t==95||t>=192||!e&&t>=48&&t<=57}const v3=new ei((t,e)=>{if(t.next!=O3||!e.dialectEnabled(h3)||(t.advance(),t.next==Mu))return;let i=0;for(;Xu.indexOf(t.next)>-1;)t.advance(),i++;if(xa(t.next,!0)){for(t.advance(),i++;xa(t.next,!1);)t.advance(),i++;for(;Xu.indexOf(t.next)>-1;)t.advance(),i++;if(t.next==g3)return;for(let n=0;;n++){if(n==7){if(!xa(t.next,!0))return;break}if(t.next!="extends".charCodeAt(n))break;t.advance(),i++}}t.acceptToken(s3,-i)}),S3=Or({"get set async static":b.modifier,"for while do if else switch try catch finally return throw break continue default case":b.controlKeyword,"in of await yield void typeof delete instanceof":b.operatorKeyword,"let var const using function class extends":b.definitionKeyword,"import export from":b.moduleKeyword,"with debugger as new":b.keyword,TemplateString:b.special(b.string),super:b.atom,BooleanLiteral:b.bool,this:b.self,null:b.null,Star:b.modifier,VariableName:b.variableName,"CallExpression/VariableName TaggedTemplateExpression/VariableName":b.function(b.variableName),VariableDefinition:b.definition(b.variableName),Label:b.labelName,PropertyName:b.propertyName,PrivatePropertyName:b.special(b.propertyName),"CallExpression/MemberExpression/PropertyName":b.function(b.propertyName),"FunctionDeclaration/VariableDefinition":b.function(b.definition(b.variableName)),"ClassDeclaration/VariableDefinition":b.definition(b.className),PropertyDefinition:b.definition(b.propertyName),PrivatePropertyDefinition:b.definition(b.special(b.propertyName)),UpdateOp:b.updateOperator,"LineComment Hashbang":b.lineComment,BlockComment:b.blockComment,Number:b.number,String:b.string,Escape:b.escape,ArithOp:b.arithmeticOperator,LogicOp:b.logicOperator,BitOp:b.bitwiseOperator,CompareOp:b.compareOperator,RegExp:b.regexp,Equals:b.definitionOperator,Arrow:b.function(b.punctuation),": Spread":b.punctuation,"( )":b.paren,"[ ]":b.squareBracket,"{ }":b.brace,"InterpolationStart InterpolationEnd":b.special(b.brace),".":b.derefOperator,", ;":b.separator,"@":b.meta,TypeName:b.typeName,TypeDefinition:b.definition(b.typeName),"type enum interface implements namespace module declare":b.definitionKeyword,"abstract global Privacy readonly override":b.modifier,"is keyof unique infer":b.operatorKeyword,JSXAttributeValue:b.attributeValue,JSXText:b.content,"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":b.angleBracket,"JSXIdentifier JSXNameSpacedName":b.tagName,"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":b.attributeName,"JSXBuiltin/JSXIdentifier":b.standard(b.tagName)}),w3={__proto__:null,export:18,as:23,from:31,default:34,async:39,function:40,extends:52,this:56,true:64,false:64,null:76,void:80,typeof:84,super:102,new:136,delete:152,yield:161,await:165,class:170,public:227,private:227,protected:227,readonly:229,instanceof:248,satisfies:251,in:252,const:254,import:286,keyof:339,unique:343,infer:349,is:385,abstract:405,implements:407,type:409,let:412,var:414,using:417,interface:423,enum:427,namespace:433,module:435,declare:439,global:443,for:462,of:471,while:474,with:478,do:482,if:486,else:488,switch:492,case:498,try:504,catch:508,finally:512,return:516,throw:520,break:524,continue:528,debugger:532},_3={__proto__:null,async:123,get:125,set:127,declare:187,public:189,private:189,protected:189,static:191,abstract:193,override:195,readonly:201,accessor:203,new:389},$3={__proto__:null,"<":143},P3=cr.deserialize({version:14,states:"$RQWO'#CdO>cQWO'#H[O>kQWO'#HbO>kQWO'#HdO`Q^O'#HfO>kQWO'#HhO>kQWO'#HkO>pQWO'#HqO>uQ07iO'#HwO%[Q^O'#HyO?QQ07iO'#H{O?]Q07iO'#H}O9kQ07hO'#IPO?hQ08SO'#ChO@jQ`O'#DiQOQWOOO%[Q^O'#EPOAQQWO'#ESO:RQ7[O'#EjOA]QWO'#EjOAhQpO'#FbOOQU'#Cf'#CfOOQ07`'#Dn'#DnOOQ07`'#Jm'#JmO%[Q^O'#JmOOQO'#Jq'#JqOOQO'#Ib'#IbOBhQ`O'#EcOOQ07`'#Eb'#EbOCdQ07pO'#EcOCnQ`O'#EVOOQO'#Jp'#JpODSQ`O'#JqOEaQ`O'#EVOCnQ`O'#EcPEnO!0LbO'#CaPOOO)CDu)CDuOOOO'#IX'#IXOEyO!bO,59TOOQ07b,59T,59TOOOO'#IY'#IYOFXO#tO,59TO%[Q^O'#D`OOOO'#I['#I[OFgO?MpO,59xOOQ07b,59x,59xOFuQ^O'#I]OGYQWO'#JkOI[QrO'#JkO+}Q^O'#JkOIcQWO,5:OOIyQWO'#ElOJWQWO'#JyOJcQWO'#JxOJcQWO'#JxOJkQWO,5;YOJpQWO'#JwOOQ07f,5:Z,5:ZOJwQ^O,5:ZOLxQ08SO,5:eOMiQWO,5:mONSQ07hO'#JvONZQWO'#JuO9ZQWO'#JuONoQWO'#JuONwQWO,5;XON|QWO'#JuO!#UQrO'#JjOOQ07b'#Ch'#ChO%[Q^O'#ERO!#tQpO,5:rOOQO'#Jr'#JrOOQO-EmOOQU'#J`'#J`OOQU,5>n,5>nOOQU-EpQWO'#HQO9aQWO'#HSO!CgQWO'#HSO:RQ7[O'#HUO!ClQWO'#HUOOQU,5=j,5=jO!CqQWO'#HVO!DSQWO'#CnO!DXQWO,59OO!DcQWO,59OO!FhQ^O,59OOOQU,59O,59OO!FxQ07hO,59OO%[Q^O,59OO!ITQ^O'#H^OOQU'#H_'#H_OOQU'#H`'#H`O`Q^O,5=vO!IkQWO,5=vO`Q^O,5=|O`Q^O,5>OO!IpQWO,5>QO`Q^O,5>SO!IuQWO,5>VO!IzQ^O,5>]OOQU,5>c,5>cO%[Q^O,5>cO9kQ07hO,5>eOOQU,5>g,5>gO!NUQWO,5>gOOQU,5>i,5>iO!NUQWO,5>iOOQU,5>k,5>kO!NZQ`O'#D[O%[Q^O'#JmO!NxQ`O'#JmO# gQ`O'#DjO# xQ`O'#DjO#$ZQ^O'#DjO#$bQWO'#JlO#$jQWO,5:TO#$oQWO'#EpO#$}QWO'#JzO#%VQWO,5;ZO#%[Q`O'#DjO#%iQ`O'#EUOOQ07b,5:n,5:nO%[Q^O,5:nO#%pQWO,5:nO>pQWO,5;UO!@}Q`O,5;UO!AVQ7[O,5;UO:RQ7[O,5;UO#%xQWO,5@XO#%}Q$ISO,5:rOOQO-E<`-E<`O#'TQ07pO,5:}OCnQ`O,5:qO#'_Q`O,5:qOCnQ`O,5:}O!@rQ07hO,5:qOOQ07`'#Ef'#EfOOQO,5:},5:}O%[Q^O,5:}O#'lQ07hO,5:}O#'wQ07hO,5:}O!@}Q`O,5:qOOQO,5;T,5;TO#(VQ07hO,5:}POOO'#IV'#IVP#(kO!0LbO,58{POOO,58{,58{OOOO-EwO+}Q^O,5>wOOQO,5>},5>}O#)VQ^O'#I]OOQO-EjQ08SO1G0{O#>wQ08SO1G0{O#@uQ08SO1G0{O#CuQ(CYO'#ChO#EsQ(CYO1G1^O#EzQ(CYO'#JjO!,lQWO1G1dO#F[Q08SO,5?TOOQ07`-EkQWO1G3lO$2dQ^O1G3nO$6hQ^O'#HmOOQU1G3q1G3qO$6uQWO'#HsO>pQWO'#HuOOQU1G3w1G3wO$6}Q^O1G3wO9kQ07hO1G3}OOQU1G4P1G4POOQ07`'#GY'#GYO9kQ07hO1G4RO9kQ07hO1G4TO$;UQWO,5@XO!*fQ^O,5;[O9ZQWO,5;[O>pQWO,5:UO!*fQ^O,5:UO!@}Q`O,5:UO$;ZQ(CYO,5:UOOQO,5;[,5;[O$;eQ`O'#I^O$;{QWO,5@WOOQ07b1G/o1G/oO$pQWO1G0pO!@}Q`O1G0pO!AVQ7[O1G0pOOQ07`1G5s1G5sO!@rQ07hO1G0]OOQO1G0i1G0iO%[Q^O1G0iO$PQrO1G4cOOQO1G4i1G4iO%[Q^O,5>wO$>ZQWO1G5qO$>cQWO1G6OO$>kQrO1G6PO9ZQWO,5>}O$>uQ08SO1G5|O%[Q^O1G5|O$?VQ07hO1G5|O$?hQWO1G5{O$?hQWO1G5{O9ZQWO1G5{O$?pQWO,5?QO9ZQWO,5?QOOQO,5?Q,5?QO$@UQWO,5?QO$'ZQWO,5?QOOQO-EXOOQU,5>X,5>XO%[Q^O'#HnO%7dQWO'#HpOOQU,5>_,5>_O9ZQWO,5>_OOQU,5>a,5>aOOQU7+)c7+)cOOQU7+)i7+)iOOQU7+)m7+)mOOQU7+)o7+)oO%7iQ`O1G5sO%7}Q(CYO1G0vO%8XQWO1G0vOOQO1G/p1G/pO%8dQ(CYO1G/pO>pQWO1G/pO!*fQ^O'#DjOOQO,5>x,5>xOOQO-E<[-E<[OOQO,5?O,5?OOOQO-EpQWO7+&[O!@}Q`O7+&[OOQO7+%w7+%wO$=mQ08SO7+&TOOQO7+&T7+&TO%[Q^O7+&TO%8nQ07hO7+&TO!@rQ07hO7+%wO!@}Q`O7+%wO%8yQ07hO7+&TO%9XQ08SO7++hO%[Q^O7++hO%9iQWO7++gO%9iQWO7++gOOQO1G4l1G4lO9ZQWO1G4lO%9qQWO1G4lOOQO7+%|7+%|O#%sQWO<zQ08SO1G2ZO%A]Q08SO1G2mO%ChQ08SO1G2oO%EsQ7[O,5>yOOQO-E<]-E<]O%E}QrO,5>zO%[Q^O,5>zOOQO-E<^-E<^O%FXQWO1G5uOOQ07b<YOOQU,5>[,5>[O&5oQWO1G3yO9ZQWO7+&bO!*fQ^O7+&bOOQO7+%[7+%[O&5tQ(CYO1G6PO>pQWO7+%[OOQ07b<pQWO<pQWO7+)eO'&sQWO<}AN>}O%[Q^OAN?ZOOQO<qQ(CYOG26}O!*fQ^O'#DyO1PQWO'#EWO'@gQrO'#JiO!*fQ^O'#DqO'@nQ^O'#D}O'@uQrO'#ChO'C]QrO'#ChO!*fQ^O'#EPO'CmQ^O,5;VO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O,5;aO!*fQ^O'#IiO'EpQWO,5a#@O#@^#@d#Ax#BW#Cr#DQ#DW#D^#Dd#Dn#Dt#Dz#EU#Eh#EnPPPPPPPPPP#EtPPPPPPP#Fi#Ip#KP#KW#K`PPPP$!d$%Z$+r$+u$+x$,q$,t$,w$-O$-WPP$-^$-b$.Y$/X$/]$/qPP$/u$/{$0PP$0S$0W$0Z$1P$1h$2P$2T$2W$2Z$2a$2d$2h$2lR!{RoqOXst!Z#c%j&m&o&p&r,h,m1w1zY!uQ'Z-Y1[5]Q%pvQ%xyQ&P|Q&e!VS'R!e-QQ'a!iS'g!r!xS*c$|*hQ+f%yQ+s&RQ,X&_Q-W'YQ-b'bQ-j'hQ/|*jQ1f,YR;Y:g%OdOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$a$e%j%p%}&f&i&m&o&p&r&v'O']'m'}(P(V(^(r(v(z)y+O+S,e,h,m-^-f-t-z.l.s0[0a0q1_1o1p1r1t1w1z1|2m2s3Z5Y5d5t5u5x6]7w7|8]8gS#p]:d!r)[$[$m'S)n,y,|.{2]3p5W6S9W9i:c:f:g:j:k:l:m:n:o:p:q:r:s:t:u:v:w:{;Y;Z;[;^;e;f;o;p<]Q*u%ZQ+k%{Q,Z&bQ,b&jQ.c;QQ0h+^Q0l+`Q0w+lQ1n,`Q2{.[Q4v0rQ5k1gQ6i3PQ6u;RQ7h4wR8m6j&|kOPWXYZstuvw!Z!`!g!o#R#V#Y#c#n#t#x#{$O$P$Q$R$S$T$U$V$W$X$Y$[$a$e$m%j%p%}&f&i&j&m&o&p&r&v'O'S']'m'}(P(V(^(r(v(z)n)y+O+S+^,e,h,m,y,|-^-f-t-z.[.l.s.{0[0a0q1_1o1p1r1t1w1z1|2]2m2s3P3Z3p5W5Y5d5t5u5x6S6]6j7w7|8]8g9W9i:c:f:g:j:k:l:m:n:o:p:q:r:s:t:u:v:w:{;Y;Z;[;^;e;f;o;p<]t!nQ!r!u!x!y'R'Y'Z'g'h'i-Q-W-Y-j1[5]5_$v$si#u#w$c$d$x${%O%Q%[%]%a)u){)}*P*R*Y*`*p*q+]+`+w+z.Z.i/Z/j/k/m0Q0S0^1R1U1^3O3x4S4[4f4n4p5c6g7T7^7y8j8w9[9n:O:W:y:z:|:};O;P;S;T;U;V;W;X;_;`;a;b;c;d;g;h;i;j;k;l;m;n;q;r < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . ?. PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewExpression new TypeArgList CompareOp < ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",maxTerm:371,context:b3,nodeProps:[["isolate",-8,4,5,13,33,35,48,50,52,""],["group",-26,8,16,18,65,201,205,209,210,212,215,218,228,230,236,238,240,242,245,251,257,259,261,263,265,267,268,"Statement",-32,12,13,28,31,32,38,48,51,52,54,59,67,75,79,81,83,84,106,107,116,117,134,137,139,140,141,142,144,145,164,165,167,"Expression",-23,27,29,33,37,39,41,168,170,172,173,175,176,177,179,180,181,183,184,185,195,197,199,200,"Type",-3,87,99,105,"ClassItem"],["openedBy",22,"<",34,"InterpolationStart",53,"[",57,"{",72,"(",157,"JSXStartCloseTag"],["closedBy",23,">",36,"InterpolationEnd",47,"]",58,"}",73,")",162,"JSXEndTag"]],propSources:[S3],skippedNodes:[0,4,5,271],repeatNodeCount:37,tokenData:"$Fj(CSR!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#8g!R![#:v![!]#Gv!]!^#IS!^!_#J^!_!`#Ns!`!a$#_!a!b$(l!b!c$,k!c!}Er!}#O$-u#O#P$/P#P#Q$4h#Q#R$5r#R#SEr#S#T$7P#T#o$8Z#o#p$q#r#s$?}#s$f%Z$f$g+g$g#BYEr#BY#BZ$AX#BZ$ISEr$IS$I_$AX$I_$I|Er$I|$I}$Dd$I}$JO$Dd$JO$JTEr$JT$JU$AX$JU$KVEr$KV$KW$AX$KW&FUEr&FU&FV$AX&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$AX?HUOEr(n%d_$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$f&j(OpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(OpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Op(R!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z(CS+rq$f&j(Op(R!b't(;dOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z(CS.ST(P#S$f&j'u(;dO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c(CS.n_$f&j(Op(R!b'u(;dOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#`/x`$f&j!o$Ip(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S1V`#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z%#S2d_#t$Id$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/|3l_'}$(n$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$f&j(R!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$f&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$a`$f&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$a``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$a`$f&j(R!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(R!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$a`(R!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k#%|:hh$f&j(Op(R!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXVS$f&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSVSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWVS(R!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]VS$f&j(OpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWVS(OpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYVS(Op(R!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%lQ^$f&j!USOY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@Y!_!}!=y!}#O!Bw#O#P!Dj#P#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!?Ta$f&j!USO!^&c!_#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&cS!@_X!USOY!@YZ!P!@Y!P!Q!@z!Q!}!@Y!}#O!Ac#O#P!Bb#P;'S!@Y;'S;=`!Bq<%lO!@YS!APU!US#Z#[!@z#]#^!@z#a#b!@z#g#h!@z#i#j!@z#m#n!@zS!AfVOY!AcZ#O!Ac#O#P!A{#P#Q!@Y#Q;'S!Ac;'S;=`!B[<%lO!AcS!BOSOY!AcZ;'S!Ac;'S;=`!B[<%lO!AcS!B_P;=`<%l!AcS!BeSOY!@YZ;'S!@Y;'S;=`!Bq<%lO!@YS!BtP;=`<%l!@Y&n!B|[$f&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#O!Bw#O#P!Cr#P#Q!=y#Q#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!CwX$f&jOY!BwYZ&cZ!^!Bw!^!_!Ac!_#o!Bw#o#p!Ac#p;'S!Bw;'S;=`!Dd<%lO!Bw&n!DgP;=`<%l!Bw&n!DoX$f&jOY!=yYZ&cZ!^!=y!^!_!@Y!_#o!=y#o#p!@Y#p;'S!=y;'S;=`!E[<%lO!=y&n!E_P;=`<%l!=y(Q!Eki$f&j(R!b!USOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#Z&}#Z#[!Eb#[#]&}#]#^!Eb#^#a&}#a#b!Eb#b#g&}#g#h!Eb#h#i&}#i#j!Eb#j#m&}#m#n!Eb#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!f!GaZ(R!b!USOY!GYZw!GYwx!@Yx!P!GY!P!Q!HS!Q!}!GY!}#O!Ic#O#P!Bb#P;'S!GY;'S;=`!JZ<%lO!GY!f!HZb(R!b!USOY'}Zw'}x#O'}#P#Z'}#Z#[!HS#[#]'}#]#^!HS#^#a'}#a#b!HS#b#g'}#g#h!HS#h#i'}#i#j!HS#j#m'}#m#n!HS#n;'S'};'S;=`(f<%lO'}!f!IhX(R!bOY!IcZw!Icwx!Acx#O!Ic#O#P!A{#P#Q!GY#Q;'S!Ic;'S;=`!JT<%lO!Ic!f!JWP;=`<%l!Ic!f!J^P;=`<%l!GY(Q!Jh^$f&j(R!bOY!JaYZ&cZw!Jawx!Bwx!^!Ja!^!_!Ic!_#O!Ja#O#P!Cr#P#Q!Q#V#X%Z#X#Y!4|#Y#b%Z#b#c#Zd$f&j(Op(R!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z$/l#?tf$f&j(Op(R!bo$'|OY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#?i!R!S#?i!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#?i#S#b%Z#b#c#w3[t]||-1},{term:334,get:t=>_3[t]||-1},{term:70,get:t=>$3[t]||-1}],tokenPrec:14638}),Mc=[ct("function ${name}(${params}) {\n ${}\n}",{label:"function",detail:"definition",type:"keyword"}),ct("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n ${}\n}",{label:"for",detail:"loop",type:"keyword"}),ct("for (let ${name} of ${collection}) {\n ${}\n}",{label:"for",detail:"of loop",type:"keyword"}),ct("do {\n ${}\n} while (${})",{label:"do",detail:"loop",type:"keyword"}),ct("while (${}) {\n ${}\n}",{label:"while",detail:"loop",type:"keyword"}),ct(`try { \${} } catch (\${error}) { \${} @@ -35,26 +35,26 @@ var pb=Object.defineProperty;var mb=(t,e,i)=>e in t?pb(t,e,{enumerable:!0,config constructor(\${params}) { \${} } -}`,{label:"class",detail:"definition",type:"keyword"}),ct('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",type:"keyword"}),ct('import ${name} from "${module}"\n${}',{label:"import",detail:"default",type:"keyword"})],Lg=Lc.concat([ct("interface ${name} {\n ${}\n}",{label:"interface",detail:"definition",type:"keyword"}),ct("type ${name} = ${type}",{label:"type",detail:"definition",type:"keyword"}),ct("enum ${name} {\n ${}\n}",{label:"enum",detail:"definition",type:"keyword"})]),rp=new Rm,Xg=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"]);function Zr(t){return(e,i)=>{let n=e.node.getChild("VariableDefinition");return n&&i(n,t),!0}}const v3=["FunctionDeclaration"],S3={FunctionDeclaration:Zr("function"),ClassDeclaration:Zr("class"),ClassExpression:()=>!0,EnumDeclaration:Zr("constant"),TypeAliasDeclaration:Zr("type"),NamespaceDeclaration:Zr("namespace"),VariableDefinition(t,e){t.matchContext(v3)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function Mg(t,e){let i=rp.get(e);if(i)return i;let n=[],r=!0;function s(o,l){let a=t.sliceString(o.from,o.to);n.push({label:a,type:l})}return e.cursor(ye.IncludeAnonymous).iterate(o=>{if(r)r=!1;else if(o.name){let l=S3[o.name];if(l&&l(o,s)||Xg.has(o.name))return!1}else if(o.to-o.from>8192){for(let l of Mg(t,o.node))n.push(l);return!1}}),rp.set(e,n),n}const bl=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Xc=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."];function Wg(t){let e=Te(t.state).resolveInner(t.pos,-1);if(Xc.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&bl.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let n=[];for(let r=e;r;r=r.parent)Xg.has(r.name)&&(n=n.concat(Mg(t.state.doc,r)));return{options:n,from:i?e.from:t.pos,validFor:bl}}function xa(t,e,i){var n;let r=[];for(;;){let s=e.firstChild,o;if((s==null?void 0:s.name)=="VariableName")return r.push(t(s)),{path:r.reverse(),name:i};if((s==null?void 0:s.name)=="MemberExpression"&&((n=o=s.lastChild)===null||n===void 0?void 0:n.name)=="PropertyName")r.push(t(o)),e=s;else return null}}function Vg(t){let e=n=>t.state.doc.sliceString(n.from,n.to),i=Te(t.state).resolveInner(t.pos,-1);return i.name=="PropertyName"?xa(e,i.parent,e(i)):(i.name=="."||i.name=="?.")&&i.parent.name=="MemberExpression"?xa(e,i.parent,""):Xc.indexOf(i.name)>-1?null:i.name=="VariableName"||i.to-i.from<20&&bl.test(e(i))?{path:[],name:e(i)}:i.name=="MemberExpression"?xa(e,i,""):t.explicit?{path:[],name:""}:null}function w3(t,e){let i=[],n=new Set;for(let r=0;;r++){for(let o of(Object.getOwnPropertyNames||Object.keys)(t)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(o)||n.has(o))continue;n.add(o);let l;try{l=t[o]}catch{continue}i.push({label:o,type:typeof l=="function"?/^[A-Z]/.test(o)?"class":e?"function":"method":e?"variable":"property",boost:-r})}let s=Object.getPrototypeOf(t);if(!s)return i;t=s}}function _3(t){let e=new Map;return i=>{let n=Vg(i);if(!n)return null;let r=t;for(let o of n.path)if(r=r[o],!r)return null;let s=e.get(r);return s||e.set(r,s=w3(r,!n.path.length)),{from:i.pos-n.name.length,options:s,validFor:bl}}}const Rt=or.define({name:"javascript",parser:k3.configure({props:[Ts.add({IfStatement:Ro({except:/^\s*({|else\b)/}),TryStatement:Ro({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:Ck,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:n?1:2)*t.unit},Block:Pk({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":Ro({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),Es.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":jm,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Fg={test:t=>/^JSX/.test(t.name),facet:Zl({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Mc=Rt.configure({dialect:"ts"},"typescript"),Wc=Rt.configure({dialect:"jsx",props:[pc.add(t=>t.isTop?[Fg]:void 0)]}),Vc=Rt.configure({dialect:"jsx ts",props:[pc.add(t=>t.isTop?[Fg]:void 0)]},"typescript");let zg=t=>({label:t,type:"keyword"});const jg="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(zg),$3=jg.concat(["declare","implements","private","protected","public"].map(zg));function Bg(t={}){let e=t.jsx?t.typescript?Vc:Wc:t.typescript?Mc:Rt,i=t.typescript?Lg.concat($3):Lc.concat(jg);return new ur(e,[Rt.data.of({autocomplete:xv(Xc,VO(i))}),Rt.data.of({autocomplete:Wg}),t.jsx?qg:[]])}function P3(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function sp(t,e,i=t.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return t.sliceString(n.from,Math.min(n.to,i));return""}const C3=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),qg=j.inputHandler.of((t,e,i,n,r)=>{if((C3?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||n!=">"&&n!="/"||!Rt.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u;let{head:c}=a,h=Te(o).resolveInner(c-1,-1),f;if(h.name=="JSXStartTag"&&(h=h.parent),!(o.doc.sliceString(c-1,c)!=n||h.name=="JSXAttributeValue"&&h.to>c)){if(n==">"&&h.name=="JSXFragmentTag")return{range:a,changes:{from:c,insert:""}};if(n=="/"&&h.name=="JSXStartCloseTag"){let d=h.parent,p=d.parent;if(p&&d.from==c-2&&((f=sp(o.doc,p.firstChild,c))||((u=p.firstChild)===null||u===void 0?void 0:u.name)=="JSXFragmentTag")){let m=`${f}>`;return{range:T.cursor(c+m.length,-1),changes:{from:c,insert:m}}}}else if(n==">"){let d=P3(h);if(d&&d.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(o.doc.sliceString(c,c+2))&&(f=sp(o.doc,d,c)))return{range:a,changes:{from:c,insert:``}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function Q3(t,e){return e||(e={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},t.getRules().forEach((i,n)=>{i.meta.docs.recommended&&(e.rules[n]=2)})),i=>{let{state:n}=i,r=[];for(let{from:s,to:o}of Rt.findRegions(n)){let l=n.doc.lineAt(s),a={line:l.number-1,col:s-l.from,pos:s};for(let u of t.verify(n.sliceDoc(s,o),e))r.push(A3(u,n.doc,a))}return r}}function op(t,e,i,n){return i.line(t+n.line).from+e+(t==1?n.col-1:-1)}function A3(t,e,i){let n=op(t.line,t.column,e,i),r={from:n,to:t.endLine!=null&&t.endColumn!=1?op(t.endLine,t.endColumn,e,i):n,message:t.message,source:t.ruleId?"eslint:"+t.ruleId:"eslint",severity:t.severity==1?"warning":"error"};if(t.fix){let{range:s,text:o}=t.fix,l=s[0]+i.pos-n,a=s[1]+i.pos-n;r.actions=[{name:"fix",apply(u,c){u.dispatch({changes:{from:c+l,to:c+a,insert:o},scrollIntoView:!0})}}]}return r}const go=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:qg,completionPath:Vg,esLint:Q3,javascript:Bg,javascriptLanguage:Rt,jsxLanguage:Wc,localCompletionSource:Wg,scopeCompletionSource:_3,snippets:Lc,tsxLanguage:Vc,typescriptLanguage:Mc,typescriptSnippets:Lg},Symbol.toStringTag,{value:"Module"})),Dr=["_blank","_self","_top","_parent"],ka=["ascii","utf-8","utf-16","latin1","latin1"],va=["get","post","put","delete"],Sa=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],yt=["true","false"],B={},T3={a:{attrs:{href:null,ping:null,type:null,media:null,target:Dr,hreflang:null}},abbr:B,address:B,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:B,aside:B,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:B,base:{attrs:{href:null,target:Dr}},bdi:B,bdo:B,blockquote:{attrs:{cite:null}},body:B,br:B,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:Sa,formmethod:va,formnovalidate:["novalidate"],formtarget:Dr,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:B,center:B,cite:B,code:B,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:B,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:B,div:B,dl:B,dt:B,em:B,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:B,figure:B,footer:B,form:{attrs:{action:null,name:null,"accept-charset":ka,autocomplete:["on","off"],enctype:Sa,method:va,novalidate:["novalidate"],target:Dr}},h1:B,h2:B,h3:B,h4:B,h5:B,h6:B,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:B,hgroup:B,hr:B,html:{attrs:{manifest:null}},i:B,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:Sa,formmethod:va,formnovalidate:["novalidate"],formtarget:Dr,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:B,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:B,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:B,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:ka,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:B,noscript:B,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:B,param:{attrs:{name:null,value:null}},pre:B,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:B,rt:B,ruby:B,samp:B,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:ka}},section:B,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:B,source:{attrs:{src:null,type:null,media:null}},span:B,strong:B,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:B,summary:B,sup:B,table:B,tbody:B,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:B,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:B,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:B,time:{attrs:{datetime:null}},title:B,tr:B,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:B,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:B},Yg={accesskey:null,class:null,contenteditable:yt,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:yt,autocorrect:yt,autocapitalize:yt,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":yt,"aria-autocomplete":["inline","list","both","none"],"aria-busy":yt,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":yt,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":yt,"aria-hidden":yt,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":yt,"aria-multiselectable":yt,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":yt,"aria-relevant":null,"aria-required":yt,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},Ng="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(t=>"on"+t);for(let t of Ng)Yg[t]=null;class Os{constructor(e,i){this.tags=Object.assign(Object.assign({},T3),e),this.globalAttrs=Object.assign(Object.assign({},Yg),i),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}Os.default=new Os;function fr(t,e,i=t.length){if(!e)return"";let n=e.firstChild,r=n&&n.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,i)):""}function dr(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function Ug(t,e,i){let n=i.tags[fr(t,dr(e))];return(n==null?void 0:n.children)||i.allTags}function Fc(t,e){let i=[];for(let n=dr(e);n&&!n.type.isTop;n=dr(n.parent)){let r=fr(t,n);if(r&&n.lastChild.name=="CloseTag")break;r&&i.indexOf(r)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&i.push(r)}return i}const Gg=/^[:\-\.\w\u00b7-\uffff]*$/;function lp(t,e,i,n,r){let s=/\s*>/.test(t.sliceDoc(r,r+5))?"":">",o=dr(i,!0);return{from:n,to:r,options:Ug(t.doc,o,e).map(l=>({label:l,type:"type"})).concat(Fc(t.doc,i).map((l,a)=>({label:"/"+l,apply:"/"+l+s,type:"type",boost:99-a}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function ap(t,e,i,n){let r=/\s*>/.test(t.sliceDoc(n,n+5))?"":">";return{from:i,to:n,options:Fc(t.doc,e).map((s,o)=>({label:s,apply:s+r,type:"type",boost:99-o})),validFor:Gg}}function E3(t,e,i,n){let r=[],s=0;for(let o of Ug(t.doc,i,e))r.push({label:"<"+o,type:"type"});for(let o of Fc(t.doc,i))r.push({label:"",type:"type",boost:99-s++});return{from:n,to:n,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function Z3(t,e,i,n,r){let s=dr(i),o=s?e.tags[fr(t.doc,s)]:null,l=o&&o.attrs?Object.keys(o.attrs):[],a=o&&o.globalAttrs===!1?l:l.length?l.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:r,options:a.map(u=>({label:u,type:"property"})),validFor:Gg}}function D3(t,e,i,n,r){var s;let o=(s=i.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),l=[],a;if(o){let u=t.sliceDoc(o.from,o.to),c=e.globalAttrs[u];if(!c){let h=dr(i),f=h?e.tags[fr(t.doc,h)]:null;c=(f==null?void 0:f.attrs)&&f.attrs[u]}if(c){let h=t.sliceDoc(n,r).toLowerCase(),f='"',d='"';/^['"]/.test(h)?(a=h[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",d=t.sliceDoc(r,r+1)==h[0]?"":h[0],h=h.slice(1),n++):a=/^[^\s<>='"]*$/;for(let p of c)l.push({label:p,apply:f+p+d,type:"constant"})}}return{from:n,to:r,options:l,validFor:a}}function Hg(t,e){let{state:i,pos:n}=e,r=Te(i).resolveInner(n,-1),s=r.resolve(n);for(let o=n,l;s==r&&(l=r.childBefore(o));){let a=l.lastChild;if(!a||!a.type.isError||a.fromHg(n,r)}const R3=Rt.parser.configure({top:"SingleExpression"}),e1=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:Mc.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:Wc.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:Vc.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:R3},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:Rt.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:ms.parser}],t1=[{name:"style",parser:ms.parser.configure({top:"Styles"})}].concat(Ng.map(t=>({name:t,parser:Rt.parser}))),zc=or.define({name:"html",parser:ww.configure({props:[Ts.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].lengtht.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Hr=zc.configure({wrap:Cg(e1,t1)});function i1(t={}){let e="",i;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(i=Cg((t.nestedLanguages||[]).concat(e1),(t.nestedAttributes||[]).concat(t1)));let n=i?zc.configure({wrap:i,dialect:e}):e?Hr.configure({dialect:e}):Hr;return new ur(n,[Hr.data.of({autocomplete:Jg(t)}),t.autoCloseTags!==!1?n1:[],Bg().support,Rg().support])}const up=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),n1=j.inputHandler.of((t,e,i,n,r)=>{if(t.composing||t.state.readOnly||e!=i||n!=">"&&n!="/"||!Hr.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u,c,h;let f=o.doc.sliceString(a.from-1,a.to)==n,{head:d}=a,p=Te(o).resolveInner(d-1,-1),m;if((p.name=="TagName"||p.name=="StartTag")&&(p=p.parent),f&&n==">"&&p.name=="OpenTag"){if(((c=(u=p.parent)===null||u===void 0?void 0:u.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(m=fr(o.doc,p.parent,d))&&!up.has(m)){let g=d+(o.doc.sliceString(d,d+1)===">"?1:0),O=``;return{range:a,changes:{from:d,to:g,insert:O}}}}else if(f&&n=="/"&&p.name=="IncompleteCloseTag"){let g=p.parent;if(p.from==d-2&&((h=g.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(m=fr(o.doc,g,d))&&!up.has(m)){let O=d+(o.doc.sliceString(d,d+1)===">"?1:0),y=`${m}>`;return{range:T.cursor(d+y.length,-1),changes:{from:d,to:O,insert:y}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),I3=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:n1,html:i1,htmlCompletionSource:Kg,htmlCompletionSourceWith:Jg,htmlLanguage:Hr,htmlPlain:zc},Symbol.toStringTag,{value:"Module"})),r1=Zl({commentTokens:{block:{open:""}}}),s1=new G,o1=bS.configure({props:[Es.add(t=>!t.is("Block")||t.is("Document")||Xu(t)!=null||L3(t)?void 0:(e,i)=>({from:i.doc.lineAt(e.from).to,to:e.to})),s1.add(Xu),Ts.add({Document:()=>null}),Ui.add({Document:r1})]});function Xu(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function L3(t){return t.name=="OrderedList"||t.name=="BulletList"}function X3(t,e){let i=t;for(;;){let n=i.nextSibling,r;if(!n||(r=Xu(n.type))!=null&&r<=e)break;i=n}return i.to}const M3=Qk.of((t,e,i)=>{for(let n=Te(t).resolveInner(i,-1);n&&!(n.fromi)return{from:i,to:s}}return null});function jc(t){return new Pt(r1,t,[M3],"markdown")}const l1=jc(o1),W3=o1.configure([QS,TS,AS,ES,{props:[Es.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),Bc=jc(W3);function V3(t,e){return i=>{if(i&&t){let n=null;if(i=/\S*/.exec(i)[0],typeof t=="function"?n=t(i):n=P.matchLanguageName(t,i,!0),n instanceof P)return n.support?n.support.language.parser:wn.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class bo{constructor(e,i,n,r,s,o,l){this.node=e,this.from=i,this.to=n,this.spaceBefore=r,this.spaceAfter=s,this.type=o,this.item=l}blank(e,i=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length0;r--)n+=" ";return n+(i?this.spaceAfter:"")}}marker(e,i){let n=this.node.name=="OrderedList"?String(+u1(this.item,e)[2]+i):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function a1(t,e){let i=[];for(let r=t;r&&r.name!="Document";r=r.parent)(r.name=="ListItem"||r.name=="Blockquote"||r.name=="FencedCode")&&i.push(r);let n=[];for(let r=i.length-1;r>=0;r--){let s=i[r],o,l=e.lineAt(s.from),a=s.from-l.from;if(s.name=="FencedCode")n.push(new bo(s,a,a,"","","",null));else if(s.name=="Blockquote"&&(o=/^ *>( ?)/.exec(l.text.slice(a))))n.push(new bo(s,a,a+o[0].length,"",o[1],">",null));else if(s.name=="ListItem"&&s.parent.name=="OrderedList"&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(a)))){let u=o[3],c=o[0].length;u.length>=4&&(u=u.slice(0,u.length-4),c-=4),n.push(new bo(s.parent,a,a+c,o[1],u,o[2],s))}else if(s.name=="ListItem"&&s.parent.name=="BulletList"&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(a)))){let u=o[4],c=o[0].length;u.length>4&&(u=u.slice(0,u.length-4),c-=4);let h=o[2];o[3]&&(h+=o[3].replace(/[xX]/," ")),n.push(new bo(s.parent,a,a+c,o[1],u,h,s))}}return n}function u1(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function wa(t,e,i,n=0){for(let r=-1,s=t;;){if(s.name=="ListItem"){let l=u1(s,e),a=+l[2];if(r>=0){if(a!=r+1)return;i.push({from:s.from+l[1].length,to:s.from+l[0].length,insert:String(r+2+n)})}r=a}let o=s.nextSibling;if(!o)break;s=o}}function qc(t,e){let i=/^[ \t]*/.exec(t)[0].length;if(!i||e.facet(br)!=" ")return t;let n=Pi(t,4,i),r="";for(let s=n;s>0;)s>=4?(r+=" ",s-=4):(r+=" ",s--);return r+t.slice(i)}const c1=({state:t,dispatch:e})=>{let i=Te(t),{doc:n}=t,r=null,s=t.changeByRange(o=>{if(!o.empty||!Bc.isActiveAt(t,o.from))return r={range:o};let l=o.from,a=n.lineAt(l),u=a1(i.resolveInner(l,-1),n);for(;u.length&&u[u.length-1].from>l-a.from;)u.pop();if(!u.length)return r={range:o};let c=u[u.length-1];if(c.to-c.spaceAfter.length>l-a.from)return r={range:o};let h=l>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&h){let g=c.node.firstChild,O=c.node.getChild("ListItem","ListItem");if(g.to>=l||O&&O.to0&&!/[^\s>]/.test(n.lineAt(a.from-1).text)){let y=u.length>1?u[u.length-2]:null,v,S="";y&&y.item?(v=a.from+y.from,S=y.marker(n,1)):v=a.from+(y?y.to:0);let _=[{from:v,to:l,insert:S}];return c.node.name=="OrderedList"&&wa(c.item,n,_,-2),y&&y.node.name=="OrderedList"&&wa(y.item,n,_),{range:T.cursor(v+S.length),changes:_}}else{let y=hp(u,t,a);return{range:T.cursor(l+y.length+1),changes:{from:a.from,insert:y+t.lineBreak}}}}if(c.node.name=="Blockquote"&&h&&a.from){let g=n.lineAt(a.from-1),O=/>\s*$/.exec(g.text);if(O&&O.index==c.from){let y=t.changes([{from:g.from+O.index,to:g.to},{from:a.from+c.from,to:a.to}]);return{range:o.map(y),changes:y}}}let f=[];c.node.name=="OrderedList"&&wa(c.item,n,f);let d=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let g=0,O=u.length-1;g<=O;g++)p+=g==O&&!d?u[g].marker(n,1):u[g].blank(ga.from&&/\s/.test(a.text.charAt(m-a.from-1));)m--;return p=qc(p,t),F3(c.node,t.doc)&&(p=hp(u,t,a)+t.lineBreak+p),f.push({from:m,to:l,insert:t.lineBreak+p}),{range:T.cursor(m+p.length+1),changes:f}});return r?!1:(e(t.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)};function cp(t){return t.name=="QuoteMark"||t.name=="ListMark"}function F3(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let i=t.firstChild,n=t.getChild("ListItem","ListItem");if(!n)return!1;let r=e.lineAt(i.to),s=e.lineAt(n.from),o=/^[\s>]*$/.test(r.text);return r.number+(o?0:1){let i=Te(t),n=null,r=t.changeByRange(s=>{let o=s.from,{doc:l}=t;if(s.empty&&Bc.isActiveAt(t,s.from)){let a=l.lineAt(o),u=a1(z3(i,o),l);if(u.length){let c=u[u.length-1],h=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(o-a.from>h&&!/\S/.test(a.text.slice(h,o-a.from)))return{range:T.cursor(a.from+h),changes:{from:a.from+h,to:o}};if(o-a.from==h&&(!c.item||a.from<=c.item.from||!/\S/.test(a.text.slice(0,c.to)))){let f=a.from+c.from;if(c.item&&c.node.from{let n=e.node.getChild("VariableDefinition");return n&&i(n,t),!0}}const C3=["FunctionDeclaration"],Q3={FunctionDeclaration:Er("function"),ClassDeclaration:Er("class"),ClassExpression:()=>!0,EnumDeclaration:Er("constant"),TypeAliasDeclaration:Er("type"),NamespaceDeclaration:Er("namespace"),VariableDefinition(t,e){t.matchContext(C3)||e(t,"variable")},TypeDefinition(t,e){e(t,"type")},__proto__:null};function Fg(t,e){let i=o0.get(e);if(i)return i;let n=[],r=!0;function s(o,l){let a=t.sliceString(o.from,o.to);n.push({label:a,type:l})}return e.cursor(ye.IncludeAnonymous).iterate(o=>{if(r)r=!1;else if(o.name){let l=Q3[o.name];if(l&&l(o,s)||Vg.has(o.name))return!1}else if(o.to-o.from>8192){for(let l of Fg(t,o.node))n.push(l);return!1}}),o0.set(e,n),n}const bl=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,Wc=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName","JSXText","JSXAttributeValue","JSXOpenTag","JSXCloseTag","JSXSelfClosingTag",".","?."];function zg(t){let e=Te(t.state).resolveInner(t.pos,-1);if(Wc.indexOf(e.name)>-1)return null;let i=e.name=="VariableName"||e.to-e.from<20&&bl.test(t.state.sliceDoc(e.from,e.to));if(!i&&!t.explicit)return null;let n=[];for(let r=e;r;r=r.parent)Vg.has(r.name)&&(n=n.concat(Fg(t.state.doc,r)));return{options:n,from:i?e.from:t.pos,validFor:bl}}function ka(t,e,i){var n;let r=[];for(;;){let s=e.firstChild,o;if((s==null?void 0:s.name)=="VariableName")return r.push(t(s)),{path:r.reverse(),name:i};if((s==null?void 0:s.name)=="MemberExpression"&&((n=o=s.lastChild)===null||n===void 0?void 0:n.name)=="PropertyName")r.push(t(o)),e=s;else return null}}function jg(t){let e=n=>t.state.doc.sliceString(n.from,n.to),i=Te(t.state).resolveInner(t.pos,-1);return i.name=="PropertyName"?ka(e,i.parent,e(i)):(i.name=="."||i.name=="?.")&&i.parent.name=="MemberExpression"?ka(e,i.parent,""):Wc.indexOf(i.name)>-1?null:i.name=="VariableName"||i.to-i.from<20&&bl.test(e(i))?{path:[],name:e(i)}:i.name=="MemberExpression"?ka(e,i,""):t.explicit?{path:[],name:""}:null}function A3(t,e){let i=[],n=new Set;for(let r=0;;r++){for(let o of(Object.getOwnPropertyNames||Object.keys)(t)){if(!/^[a-zA-Z_$\xaa-\uffdc][\w$\xaa-\uffdc]*$/.test(o)||n.has(o))continue;n.add(o);let l;try{l=t[o]}catch{continue}i.push({label:o,type:typeof l=="function"?/^[A-Z]/.test(o)?"class":e?"function":"method":e?"variable":"property",boost:-r})}let s=Object.getPrototypeOf(t);if(!s)return i;t=s}}function T3(t){let e=new Map;return i=>{let n=jg(i);if(!n)return null;let r=t;for(let o of n.path)if(r=r[o],!r)return null;let s=e.get(r);return s||e.set(r,s=A3(r,!n.path.length)),{from:i.pos-n.name.length,options:s,validFor:bl}}}const Rt=sr.define({name:"javascript",parser:P3.configure({props:[As.add({IfStatement:Ro({except:/^\s*({|else\b)/}),TryStatement:Ro({except:/^\s*({|catch\b|finally\b)/}),LabeledStatement:Dk,SwitchBody:t=>{let e=t.textAfter,i=/^\s*\}/.test(e),n=/^\s*(case|default)\b/.test(e);return t.baseIndent+(i?0:n?1:2)*t.unit},Block:Zk({closing:"}"}),ArrowFunction:t=>t.baseIndent+t.unit,"TemplateString BlockComment":()=>null,"Statement Property":Ro({except:/^{/}),JSXElement(t){let e=/^\s*<\//.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},JSXEscape(t){let e=/\s*\}/.test(t.textAfter);return t.lineIndent(t.node.from)+(e?0:t.unit)},"JSXOpenTag JSXSelfClosingTag"(t){return t.column(t.node.from)+t.unit}}),Ts.add({"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":Ym,BlockComment(t){return{from:t.from+2,to:t.to-2}}})]}),languageData:{closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}}),Bg={test:t=>/^JSX/.test(t.name),facet:Zl({commentTokens:{block:{open:"{/*",close:"*/}"}}})},Vc=Rt.configure({dialect:"ts"},"typescript"),Fc=Rt.configure({dialect:"jsx",props:[Oc.add(t=>t.isTop?[Bg]:void 0)]}),zc=Rt.configure({dialect:"jsx ts",props:[Oc.add(t=>t.isTop?[Bg]:void 0)]},"typescript");let qg=t=>({label:t,type:"keyword"});const Yg="break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield".split(" ").map(qg),E3=Yg.concat(["declare","implements","private","protected","public"].map(qg));function Ng(t={}){let e=t.jsx?t.typescript?zc:Fc:t.typescript?Vc:Rt,i=t.typescript?Wg.concat(E3):Mc.concat(Yg);return new ar(e,[Rt.data.of({autocomplete:$v(Wc,jO(i))}),Rt.data.of({autocomplete:zg}),t.jsx?Ug:[]])}function Z3(t){for(;;){if(t.name=="JSXOpenTag"||t.name=="JSXSelfClosingTag"||t.name=="JSXFragmentTag")return t;if(t.name=="JSXEscape"||!t.parent)return null;t=t.parent}}function l0(t,e,i=t.length){for(let n=e==null?void 0:e.firstChild;n;n=n.nextSibling)if(n.name=="JSXIdentifier"||n.name=="JSXBuiltin"||n.name=="JSXNamespacedName"||n.name=="JSXMemberExpression")return t.sliceString(n.from,Math.min(n.to,i));return""}const D3=typeof navigator=="object"&&/Android\b/.test(navigator.userAgent),Ug=j.inputHandler.of((t,e,i,n,r)=>{if((D3?t.composing:t.compositionStarted)||t.state.readOnly||e!=i||n!=">"&&n!="/"||!Rt.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u;let{head:c}=a,h=Te(o).resolveInner(c-1,-1),f;if(h.name=="JSXStartTag"&&(h=h.parent),!(o.doc.sliceString(c-1,c)!=n||h.name=="JSXAttributeValue"&&h.to>c)){if(n==">"&&h.name=="JSXFragmentTag")return{range:a,changes:{from:c,insert:""}};if(n=="/"&&h.name=="JSXStartCloseTag"){let d=h.parent,p=d.parent;if(p&&d.from==c-2&&((f=l0(o.doc,p.firstChild,c))||((u=p.firstChild)===null||u===void 0?void 0:u.name)=="JSXFragmentTag")){let m=`${f}>`;return{range:T.cursor(c+m.length,-1),changes:{from:c,insert:m}}}}else if(n==">"){let d=Z3(h);if(d&&d.name=="JSXOpenTag"&&!/^\/?>|^<\//.test(o.doc.sliceString(c,c+2))&&(f=l0(o.doc,d,c)))return{range:a,changes:{from:c,insert:``}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)});function R3(t,e){return e||(e={parserOptions:{ecmaVersion:2019,sourceType:"module"},env:{browser:!0,node:!0,es6:!0,es2015:!0,es2017:!0,es2020:!0},rules:{}},t.getRules().forEach((i,n)=>{i.meta.docs.recommended&&(e.rules[n]=2)})),i=>{let{state:n}=i,r=[];for(let{from:s,to:o}of Rt.findRegions(n)){let l=n.doc.lineAt(s),a={line:l.number-1,col:s-l.from,pos:s};for(let u of t.verify(n.sliceDoc(s,o),e))r.push(I3(u,n.doc,a))}return r}}function a0(t,e,i,n){return i.line(t+n.line).from+e+(t==1?n.col-1:-1)}function I3(t,e,i){let n=a0(t.line,t.column,e,i),r={from:n,to:t.endLine!=null&&t.endColumn!=1?a0(t.endLine,t.endColumn,e,i):n,message:t.message,source:t.ruleId?"eslint:"+t.ruleId:"eslint",severity:t.severity==1?"warning":"error"};if(t.fix){let{range:s,text:o}=t.fix,l=s[0]+i.pos-n,a=s[1]+i.pos-n;r.actions=[{name:"fix",apply(u,c){u.dispatch({changes:{from:c+l,to:c+a,insert:o},scrollIntoView:!0})}}]}return r}const go=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:Ug,completionPath:jg,esLint:R3,javascript:Ng,javascriptLanguage:Rt,jsxLanguage:Fc,localCompletionSource:zg,scopeCompletionSource:T3,snippets:Mc,tsxLanguage:zc,typescriptLanguage:Vc,typescriptSnippets:Wg},Symbol.toStringTag,{value:"Module"})),Zr=["_blank","_self","_top","_parent"],va=["ascii","utf-8","utf-16","latin1","latin1"],Sa=["get","post","put","delete"],wa=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],yt=["true","false"],B={},L3={a:{attrs:{href:null,ping:null,type:null,media:null,target:Zr,hreflang:null}},abbr:B,address:B,area:{attrs:{alt:null,coords:null,href:null,target:null,ping:null,media:null,hreflang:null,type:null,shape:["default","rect","circle","poly"]}},article:B,aside:B,audio:{attrs:{src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],controls:["controls"]}},b:B,base:{attrs:{href:null,target:Zr}},bdi:B,bdo:B,blockquote:{attrs:{cite:null}},body:B,br:B,button:{attrs:{form:null,formaction:null,name:null,value:null,autofocus:["autofocus"],disabled:["autofocus"],formenctype:wa,formmethod:Sa,formnovalidate:["novalidate"],formtarget:Zr,type:["submit","reset","button"]}},canvas:{attrs:{width:null,height:null}},caption:B,center:B,cite:B,code:B,col:{attrs:{span:null}},colgroup:{attrs:{span:null}},command:{attrs:{type:["command","checkbox","radio"],label:null,icon:null,radiogroup:null,command:null,title:null,disabled:["disabled"],checked:["checked"]}},data:{attrs:{value:null}},datagrid:{attrs:{disabled:["disabled"],multiple:["multiple"]}},datalist:{attrs:{data:null}},dd:B,del:{attrs:{cite:null,datetime:null}},details:{attrs:{open:["open"]}},dfn:B,div:B,dl:B,dt:B,em:B,embed:{attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:B,figure:B,footer:B,form:{attrs:{action:null,name:null,"accept-charset":va,autocomplete:["on","off"],enctype:wa,method:Sa,novalidate:["novalidate"],target:Zr}},h1:B,h2:B,h3:B,h4:B,h5:B,h6:B,head:{children:["title","base","link","style","meta","script","noscript","command"]},header:B,hgroup:B,hr:B,html:{attrs:{manifest:null}},i:B,iframe:{attrs:{src:null,srcdoc:null,name:null,width:null,height:null,sandbox:["allow-top-navigation","allow-same-origin","allow-forms","allow-scripts"],seamless:["seamless"]}},img:{attrs:{alt:null,src:null,ismap:null,usemap:null,width:null,height:null,crossorigin:["anonymous","use-credentials"]}},input:{attrs:{alt:null,dirname:null,form:null,formaction:null,height:null,list:null,max:null,maxlength:null,min:null,name:null,pattern:null,placeholder:null,size:null,src:null,step:null,value:null,width:null,accept:["audio/*","video/*","image/*"],autocomplete:["on","off"],autofocus:["autofocus"],checked:["checked"],disabled:["disabled"],formenctype:wa,formmethod:Sa,formnovalidate:["novalidate"],formtarget:Zr,multiple:["multiple"],readonly:["readonly"],required:["required"],type:["hidden","text","search","tel","url","email","password","datetime","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]}},ins:{attrs:{cite:null,datetime:null}},kbd:B,keygen:{attrs:{challenge:null,form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:B,li:{attrs:{value:null}},link:{attrs:{href:null,type:null,hreflang:null,media:null,sizes:["all","16x16","16x16 32x32","16x16 32x32 64x64"]}},map:{attrs:{name:null}},mark:B,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{attrs:{content:null,charset:va,name:["viewport","application-name","author","description","generator","keywords"],"http-equiv":["content-language","content-type","default-style","refresh"]}},meter:{attrs:{value:null,min:null,low:null,high:null,max:null,optimum:null}},nav:B,noscript:B,object:{attrs:{data:null,type:null,name:null,usemap:null,form:null,width:null,height:null,typemustmatch:["typemustmatch"]}},ol:{attrs:{reversed:["reversed"],start:null,type:["1","a","A","i","I"]},children:["li","script","template","ul","ol"]},optgroup:{attrs:{disabled:["disabled"],label:null}},option:{attrs:{disabled:["disabled"],label:null,selected:["selected"],value:null}},output:{attrs:{for:null,form:null,name:null}},p:B,param:{attrs:{name:null,value:null}},pre:B,progress:{attrs:{value:null,max:null}},q:{attrs:{cite:null}},rp:B,rt:B,ruby:B,samp:B,script:{attrs:{type:["text/javascript"],src:null,async:["async"],defer:["defer"],charset:va}},section:B,select:{attrs:{form:null,name:null,size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},slot:{attrs:{name:null}},small:B,source:{attrs:{src:null,type:null,media:null}},span:B,strong:B,style:{attrs:{type:["text/css"],media:null,scoped:null}},sub:B,summary:B,sup:B,table:B,tbody:B,td:{attrs:{colspan:null,rowspan:null,headers:null}},template:B,textarea:{attrs:{dirname:null,form:null,maxlength:null,name:null,placeholder:null,rows:null,cols:null,autofocus:["autofocus"],disabled:["disabled"],readonly:["readonly"],required:["required"],wrap:["soft","hard"]}},tfoot:B,th:{attrs:{colspan:null,rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:B,time:{attrs:{datetime:null}},title:B,tr:B,track:{attrs:{src:null,label:null,default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:B,video:{attrs:{src:null,poster:null,width:null,height:null,crossorigin:["anonymous","use-credentials"],preload:["auto","metadata","none"],autoplay:["autoplay"],mediagroup:["movie"],muted:["muted"],controls:["controls"]}},wbr:B},Gg={accesskey:null,class:null,contenteditable:yt,contextmenu:null,dir:["ltr","rtl","auto"],draggable:["true","false","auto"],dropzone:["copy","move","link","string:","file:"],hidden:["hidden"],id:null,inert:["inert"],itemid:null,itemprop:null,itemref:null,itemscope:["itemscope"],itemtype:null,lang:["ar","bn","de","en-GB","en-US","es","fr","hi","id","ja","pa","pt","ru","tr","zh"],spellcheck:yt,autocorrect:yt,autocapitalize:yt,style:null,tabindex:null,title:null,translate:["yes","no"],rel:["stylesheet","alternate","author","bookmark","help","license","next","nofollow","noreferrer","prefetch","prev","search","tag"],role:"alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(" "),"aria-activedescendant":null,"aria-atomic":yt,"aria-autocomplete":["inline","list","both","none"],"aria-busy":yt,"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,"aria-describedby":null,"aria-disabled":yt,"aria-dropeffect":null,"aria-expanded":["true","false","undefined"],"aria-flowto":null,"aria-grabbed":["true","false","undefined"],"aria-haspopup":yt,"aria-hidden":yt,"aria-invalid":["true","false","grammar","spelling"],"aria-label":null,"aria-labelledby":null,"aria-level":null,"aria-live":["off","polite","assertive"],"aria-multiline":yt,"aria-multiselectable":yt,"aria-owns":null,"aria-posinset":null,"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":yt,"aria-relevant":null,"aria-required":yt,"aria-selected":["true","false","undefined"],"aria-setsize":null,"aria-sort":["ascending","descending","none","other"],"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null,"aria-valuetext":null},Hg="beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload".split(" ").map(t=>"on"+t);for(let t of Hg)Gg[t]=null;class ms{constructor(e,i){this.tags=Object.assign(Object.assign({},L3),e),this.globalAttrs=Object.assign(Object.assign({},Gg),i),this.allTags=Object.keys(this.tags),this.globalAttrNames=Object.keys(this.globalAttrs)}}ms.default=new ms;function hr(t,e,i=t.length){if(!e)return"";let n=e.firstChild,r=n&&n.getChild("TagName");return r?t.sliceString(r.from,Math.min(r.to,i)):""}function fr(t,e=!1){for(;t;t=t.parent)if(t.name=="Element")if(e)e=!1;else return t;return null}function Kg(t,e,i){let n=i.tags[hr(t,fr(e))];return(n==null?void 0:n.children)||i.allTags}function jc(t,e){let i=[];for(let n=fr(e);n&&!n.type.isTop;n=fr(n.parent)){let r=hr(t,n);if(r&&n.lastChild.name=="CloseTag")break;r&&i.indexOf(r)<0&&(e.name=="EndTag"||e.from>=n.firstChild.to)&&i.push(r)}return i}const Jg=/^[:\-\.\w\u00b7-\uffff]*$/;function u0(t,e,i,n,r){let s=/\s*>/.test(t.sliceDoc(r,r+5))?"":">",o=fr(i,!0);return{from:n,to:r,options:Kg(t.doc,o,e).map(l=>({label:l,type:"type"})).concat(jc(t.doc,i).map((l,a)=>({label:"/"+l,apply:"/"+l+s,type:"type",boost:99-a}))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function c0(t,e,i,n){let r=/\s*>/.test(t.sliceDoc(n,n+5))?"":">";return{from:i,to:n,options:jc(t.doc,e).map((s,o)=>({label:s,apply:s+r,type:"type",boost:99-o})),validFor:Jg}}function X3(t,e,i,n){let r=[],s=0;for(let o of Kg(t.doc,i,e))r.push({label:"<"+o,type:"type"});for(let o of jc(t.doc,i))r.push({label:"",type:"type",boost:99-s++});return{from:n,to:n,options:r,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}function M3(t,e,i,n,r){let s=fr(i),o=s?e.tags[hr(t.doc,s)]:null,l=o&&o.attrs?Object.keys(o.attrs):[],a=o&&o.globalAttrs===!1?l:l.length?l.concat(e.globalAttrNames):e.globalAttrNames;return{from:n,to:r,options:a.map(u=>({label:u,type:"property"})),validFor:Jg}}function W3(t,e,i,n,r){var s;let o=(s=i.parent)===null||s===void 0?void 0:s.getChild("AttributeName"),l=[],a;if(o){let u=t.sliceDoc(o.from,o.to),c=e.globalAttrs[u];if(!c){let h=fr(i),f=h?e.tags[hr(t.doc,h)]:null;c=(f==null?void 0:f.attrs)&&f.attrs[u]}if(c){let h=t.sliceDoc(n,r).toLowerCase(),f='"',d='"';/^['"]/.test(h)?(a=h[0]=='"'?/^[^"]*$/:/^[^']*$/,f="",d=t.sliceDoc(r,r+1)==h[0]?"":h[0],h=h.slice(1),n++):a=/^[^\s<>='"]*$/;for(let p of c)l.push({label:p,apply:f+p+d,type:"constant"})}}return{from:n,to:r,options:l,validFor:a}}function e1(t,e){let{state:i,pos:n}=e,r=Te(i).resolveInner(n,-1),s=r.resolve(n);for(let o=n,l;s==r&&(l=r.childBefore(o));){let a=l.lastChild;if(!a||!a.type.isError||a.frome1(n,r)}const V3=Rt.parser.configure({top:"SingleExpression"}),n1=[{tag:"script",attrs:t=>t.type=="text/typescript"||t.lang=="ts",parser:Vc.parser},{tag:"script",attrs:t=>t.type=="text/babel"||t.type=="text/jsx",parser:Fc.parser},{tag:"script",attrs:t=>t.type=="text/typescript-jsx",parser:zc.parser},{tag:"script",attrs(t){return/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(t.type)},parser:V3},{tag:"script",attrs(t){return!t.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(t.type)},parser:Rt.parser},{tag:"style",attrs(t){return(!t.lang||t.lang=="css")&&(!t.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(t.type))},parser:ps.parser}],r1=[{name:"style",parser:ps.parser.configure({top:"Styles"})}].concat(Hg.map(t=>({name:t,parser:Rt.parser}))),Bc=sr.define({name:"html",parser:Aw.configure({props:[As.add({Element(t){let e=/^(\s*)(<\/)?/.exec(t.textAfter);return t.node.to<=t.pos+e[0].length?t.continue():t.lineIndent(t.node.from)+(e[2]?0:t.unit)},"OpenTag CloseTag SelfClosingTag"(t){return t.column(t.node.from)+t.unit},Document(t){if(t.pos+/\s*/.exec(t.textAfter)[0].lengtht.getChild("TagName")})]}),languageData:{commentTokens:{block:{open:""}},indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Gr=Bc.configure({wrap:Tg(n1,r1)});function s1(t={}){let e="",i;t.matchClosingTags===!1&&(e="noMatch"),t.selfClosingTags===!0&&(e=(e?e+" ":"")+"selfClosing"),(t.nestedLanguages&&t.nestedLanguages.length||t.nestedAttributes&&t.nestedAttributes.length)&&(i=Tg((t.nestedLanguages||[]).concat(n1),(t.nestedAttributes||[]).concat(r1)));let n=i?Bc.configure({wrap:i,dialect:e}):e?Gr.configure({dialect:e}):Gr;return new ar(n,[Gr.data.of({autocomplete:i1(t)}),t.autoCloseTags!==!1?o1:[],Ng().support,Xg().support])}const h0=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),o1=j.inputHandler.of((t,e,i,n,r)=>{if(t.composing||t.state.readOnly||e!=i||n!=">"&&n!="/"||!Gr.isActiveAt(t.state,e,-1))return!1;let s=r(),{state:o}=s,l=o.changeByRange(a=>{var u,c,h;let f=o.doc.sliceString(a.from-1,a.to)==n,{head:d}=a,p=Te(o).resolveInner(d-1,-1),m;if((p.name=="TagName"||p.name=="StartTag")&&(p=p.parent),f&&n==">"&&p.name=="OpenTag"){if(((c=(u=p.parent)===null||u===void 0?void 0:u.lastChild)===null||c===void 0?void 0:c.name)!="CloseTag"&&(m=hr(o.doc,p.parent,d))&&!h0.has(m)){let g=d+(o.doc.sliceString(d,d+1)===">"?1:0),O=``;return{range:a,changes:{from:d,to:g,insert:O}}}}else if(f&&n=="/"&&p.name=="IncompleteCloseTag"){let g=p.parent;if(p.from==d-2&&((h=g.lastChild)===null||h===void 0?void 0:h.name)!="CloseTag"&&(m=hr(o.doc,g,d))&&!h0.has(m)){let O=d+(o.doc.sliceString(d,d+1)===">"?1:0),y=`${m}>`;return{range:T.cursor(d+y.length,-1),changes:{from:d,to:O,insert:y}}}}return{range:a}});return l.changes.empty?!1:(t.dispatch([s,o.update(l,{userEvent:"input.complete",scrollIntoView:!0})]),!0)}),F3=Object.freeze(Object.defineProperty({__proto__:null,autoCloseTags:o1,html:s1,htmlCompletionSource:t1,htmlCompletionSourceWith:i1,htmlLanguage:Gr,htmlPlain:Bc},Symbol.toStringTag,{value:"Module"})),l1=Zl({commentTokens:{block:{open:""}}}),a1=new G,u1=wS.configure({props:[Ts.add(t=>!t.is("Block")||t.is("Document")||Wu(t)!=null||z3(t)?void 0:(e,i)=>({from:i.doc.lineAt(e.from).to,to:e.to})),a1.add(Wu),As.add({Document:()=>null}),Ni.add({Document:l1})]});function Wu(t){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(t.name);return e?+e[1]:void 0}function z3(t){return t.name=="OrderedList"||t.name=="BulletList"}function j3(t,e){let i=t;for(;;){let n=i.nextSibling,r;if(!n||(r=Wu(n.type))!=null&&r<=e)break;i=n}return i.to}const B3=Rk.of((t,e,i)=>{for(let n=Te(t).resolveInner(i,-1);n&&!(n.fromi)return{from:i,to:s}}return null});function qc(t){return new Pt(l1,t,[B3],"markdown")}const c1=qc(u1),q3=u1.configure([RS,LS,IS,XS,{props:[Ts.add({Table:(t,e)=>({from:e.doc.lineAt(t.from).to,to:t.to})})]}]),Yc=qc(q3);function Y3(t,e){return i=>{if(i&&t){let n=null;if(i=/\S*/.exec(i)[0],typeof t=="function"?n=t(i):n=P.matchLanguageName(t,i,!0),n instanceof P)return n.support?n.support.language.parser:wn.getSkippingParser(n.load());if(n)return n.parser}return e?e.parser:null}}class bo{constructor(e,i,n,r,s,o,l){this.node=e,this.from=i,this.to=n,this.spaceBefore=r,this.spaceAfter=s,this.type=o,this.item=l}blank(e,i=!0){let n=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;n.length0;r--)n+=" ";return n+(i?this.spaceAfter:"")}}marker(e,i){let n=this.node.name=="OrderedList"?String(+f1(this.item,e)[2]+i):"";return this.spaceBefore+n+this.type+this.spaceAfter}}function h1(t,e){let i=[];for(let r=t;r&&r.name!="Document";r=r.parent)(r.name=="ListItem"||r.name=="Blockquote"||r.name=="FencedCode")&&i.push(r);let n=[];for(let r=i.length-1;r>=0;r--){let s=i[r],o,l=e.lineAt(s.from),a=s.from-l.from;if(s.name=="FencedCode")n.push(new bo(s,a,a,"","","",null));else if(s.name=="Blockquote"&&(o=/^ *>( ?)/.exec(l.text.slice(a))))n.push(new bo(s,a,a+o[0].length,"",o[1],">",null));else if(s.name=="ListItem"&&s.parent.name=="OrderedList"&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(a)))){let u=o[3],c=o[0].length;u.length>=4&&(u=u.slice(0,u.length-4),c-=4),n.push(new bo(s.parent,a,a+c,o[1],u,o[2],s))}else if(s.name=="ListItem"&&s.parent.name=="BulletList"&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(a)))){let u=o[4],c=o[0].length;u.length>4&&(u=u.slice(0,u.length-4),c-=4);let h=o[2];o[3]&&(h+=o[3].replace(/[xX]/," ")),n.push(new bo(s.parent,a,a+c,o[1],u,h,s))}}return n}function f1(t,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(t.from,t.from+10))}function _a(t,e,i,n=0){for(let r=-1,s=t;;){if(s.name=="ListItem"){let l=f1(s,e),a=+l[2];if(r>=0){if(a!=r+1)return;i.push({from:s.from+l[1].length,to:s.from+l[0].length,insert:String(r+2+n)})}r=a}let o=s.nextSibling;if(!o)break;s=o}}function Nc(t,e){let i=/^[ \t]*/.exec(t)[0].length;if(!i||e.facet(gr)!=" ")return t;let n=_i(t,4,i),r="";for(let s=n;s>0;)s>=4?(r+=" ",s-=4):(r+=" ",s--);return r+t.slice(i)}const d1=({state:t,dispatch:e})=>{let i=Te(t),{doc:n}=t,r=null,s=t.changeByRange(o=>{if(!o.empty||!Yc.isActiveAt(t,o.from))return r={range:o};let l=o.from,a=n.lineAt(l),u=h1(i.resolveInner(l,-1),n);for(;u.length&&u[u.length-1].from>l-a.from;)u.pop();if(!u.length)return r={range:o};let c=u[u.length-1];if(c.to-c.spaceAfter.length>l-a.from)return r={range:o};let h=l>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&h){let g=c.node.firstChild,O=c.node.getChild("ListItem","ListItem");if(g.to>=l||O&&O.to0&&!/[^\s>]/.test(n.lineAt(a.from-1).text)){let y=u.length>1?u[u.length-2]:null,v,S="";y&&y.item?(v=a.from+y.from,S=y.marker(n,1)):v=a.from+(y?y.to:0);let _=[{from:v,to:l,insert:S}];return c.node.name=="OrderedList"&&_a(c.item,n,_,-2),y&&y.node.name=="OrderedList"&&_a(y.item,n,_),{range:T.cursor(v+S.length),changes:_}}else{let y=d0(u,t,a);return{range:T.cursor(l+y.length+1),changes:{from:a.from,insert:y+t.lineBreak}}}}if(c.node.name=="Blockquote"&&h&&a.from){let g=n.lineAt(a.from-1),O=/>\s*$/.exec(g.text);if(O&&O.index==c.from){let y=t.changes([{from:g.from+O.index,to:g.to},{from:a.from+c.from,to:a.to}]);return{range:o.map(y),changes:y}}}let f=[];c.node.name=="OrderedList"&&_a(c.item,n,f);let d=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let g=0,O=u.length-1;g<=O;g++)p+=g==O&&!d?u[g].marker(n,1):u[g].blank(ga.from&&/\s/.test(a.text.charAt(m-a.from-1));)m--;return p=Nc(p,t),N3(c.node,t.doc)&&(p=d0(u,t,a)+t.lineBreak+p),f.push({from:m,to:l,insert:t.lineBreak+p}),{range:T.cursor(m+p.length+1),changes:f}});return r?!1:(e(t.update(s,{scrollIntoView:!0,userEvent:"input"})),!0)};function f0(t){return t.name=="QuoteMark"||t.name=="ListMark"}function N3(t,e){if(t.name!="OrderedList"&&t.name!="BulletList")return!1;let i=t.firstChild,n=t.getChild("ListItem","ListItem");if(!n)return!1;let r=e.lineAt(i.to),s=e.lineAt(n.from),o=/^[\s>]*$/.test(r.text);return r.number+(o?0:1){let i=Te(t),n=null,r=t.changeByRange(s=>{let o=s.from,{doc:l}=t;if(s.empty&&Yc.isActiveAt(t,s.from)){let a=l.lineAt(o),u=h1(U3(i,o),l);if(u.length){let c=u[u.length-1],h=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(o-a.from>h&&!/\S/.test(a.text.slice(h,o-a.from)))return{range:T.cursor(a.from+h),changes:{from:a.from+h,to:o}};if(o-a.from==h&&(!c.item||a.from<=c.item.from||!/\S/.test(a.text.slice(0,c.to)))){let f=a.from+c.from;if(c.item&&c.node.from1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(Z){function L(){}Z(L,L)},r=function(Z){var L=Z.target;if(L===R){p();return}v.indexOf(L)!==-1&&m({target:L})},s=function(){if(!(_||!$.original)){var Z=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(A-Z)>C.scrollOffset&&setTimeout(p,150)}},o=function(Z){var L=Z.key||Z.keyCode;(L==="Escape"||L==="Esc"||L===27)&&p()},l=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z;if(Z.background&&(R.style.background=Z.background),Z.container&&Z.container instanceof Object&&(L.container=hn({},C.container,Z.container)),Z.template){var V=Xo(Z.template)?Z.template:document.querySelector(Z.template);L.template=V}return C=hn({},C,L),v.forEach(function(z){z.dispatchEvent(En("medium-zoom:update",{detail:{zoom:M}}))}),M},a=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return t(hn({},C,Z))},u=function(){for(var Z=arguments.length,L=Array(Z),V=0;V0?L.reduce(function(q,ee){return[].concat(q,dp(ee))},[]):v;return z.forEach(function(q){q.classList.remove("medium-zoom-image"),q.dispatchEvent(En("medium-zoom:detach",{detail:{zoom:M}}))}),v=v.filter(function(q){return z.indexOf(q)===-1}),M},h=function(Z,L){var V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v.forEach(function(z){z.addEventListener("medium-zoom:"+Z,L,V)}),S.push({type:"medium-zoom:"+Z,listener:L,options:V}),M},f=function(Z,L){var V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v.forEach(function(z){z.removeEventListener("medium-zoom:"+Z,L,V)}),S=S.filter(function(z){return!(z.type==="medium-zoom:"+Z&&z.listener.toString()===L.toString())}),M},d=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z.target,V=function(){var q={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},ee=void 0,te=void 0;if(C.container)if(C.container instanceof Object)q=hn({},q,C.container),ee=q.width-q.left-q.right-C.margin*2,te=q.height-q.top-q.bottom-C.margin*2;else{var de=Xo(C.container)?C.container:document.querySelector(C.container),le=de.getBoundingClientRect(),pe=le.width,Ae=le.height,Ze=le.left,be=le.top;q=hn({},q,{width:pe,height:Ae,left:Ze,top:be})}ee=ee||q.width-C.margin*2,te=te||q.height-C.margin*2;var me=$.zoomedHd||$.original,Ei=fp(me)?ee:me.naturalWidth||ee,Ms=fp(me)?te:me.naturalHeight||te,an=me.getBoundingClientRect(),Ws=an.top,Vs=an.left,Cn=an.width,Qn=an.height,Fs=Math.min(Math.max(Cn,Ei),ee)/Cn,zs=Math.min(Math.max(Qn,Ms),te)/Qn,An=Math.min(Fs,zs),js=(-Vs+(ee-Cn)/2+C.margin+q.left)/An,Bs=(-Ws+(te-Qn)/2+C.margin+q.top)/An,wr="scale("+An+") translate3d("+js+"px, "+Bs+"px, 0)";$.zoomed.style.transform=wr,$.zoomedHd&&($.zoomedHd.style.transform=wr)};return new n(function(z){if(L&&v.indexOf(L)===-1){z(M);return}var q=function pe(){_=!1,$.zoomed.removeEventListener("transitionend",pe),$.original.dispatchEvent(En("medium-zoom:opened",{detail:{zoom:M}})),z(M)};if($.zoomed){z(M);return}if(L)$.original=L;else if(v.length>0){var ee=v;$.original=ee[0]}else{z(M);return}if($.original.dispatchEvent(En("medium-zoom:open",{detail:{zoom:M}})),A=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,_=!0,$.zoomed=U3($.original),document.body.appendChild(R),C.template){var te=Xo(C.template)?C.template:document.querySelector(C.template);$.template=document.createElement("div"),$.template.appendChild(te.content.cloneNode(!0)),document.body.appendChild($.template)}if($.original.parentElement&&$.original.parentElement.tagName==="PICTURE"&&$.original.currentSrc&&($.zoomed.src=$.original.currentSrc),document.body.appendChild($.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),$.original.classList.add("medium-zoom-image--hidden"),$.zoomed.classList.add("medium-zoom-image--opened"),$.zoomed.addEventListener("click",p),$.zoomed.addEventListener("transitionend",q),$.original.getAttribute("data-zoom-src")){$.zoomedHd=$.zoomed.cloneNode(),$.zoomedHd.removeAttribute("srcset"),$.zoomedHd.removeAttribute("sizes"),$.zoomedHd.removeAttribute("loading"),$.zoomedHd.src=$.zoomed.getAttribute("data-zoom-src"),$.zoomedHd.onerror=function(){clearInterval(de),console.warn("Unable to reach the zoom image target "+$.zoomedHd.src),$.zoomedHd=null,V()};var de=setInterval(function(){$.zoomedHd.complete&&(clearInterval(de),$.zoomedHd.classList.add("medium-zoom-image--opened"),$.zoomedHd.addEventListener("click",p),document.body.appendChild($.zoomedHd),V())},10)}else if($.original.hasAttribute("srcset")){$.zoomedHd=$.zoomed.cloneNode(),$.zoomedHd.removeAttribute("sizes"),$.zoomedHd.removeAttribute("loading");var le=$.zoomedHd.addEventListener("load",function(){$.zoomedHd.removeEventListener("load",le),$.zoomedHd.classList.add("medium-zoom-image--opened"),$.zoomedHd.addEventListener("click",p),document.body.appendChild($.zoomedHd),V()})}else V()})},p=function(){return new n(function(Z){if(_||!$.original){Z(M);return}var L=function V(){$.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild($.zoomed),$.zoomedHd&&document.body.removeChild($.zoomedHd),document.body.removeChild(R),$.zoomed.classList.remove("medium-zoom-image--opened"),$.template&&document.body.removeChild($.template),_=!1,$.zoomed.removeEventListener("transitionend",V),$.original.dispatchEvent(En("medium-zoom:closed",{detail:{zoom:M}})),$.original=null,$.zoomed=null,$.zoomedHd=null,$.template=null,Z(M)};_=!0,document.body.classList.remove("medium-zoom--opened"),$.zoomed.style.transform="",$.zoomedHd&&($.zoomedHd.style.transform=""),$.template&&($.template.style.transition="opacity 150ms",$.template.style.opacity=0),$.original.dispatchEvent(En("medium-zoom:close",{detail:{zoom:M}})),$.zoomed.addEventListener("transitionend",L)})},m=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z.target;return $.original?p():d({target:L})},g=function(){return C},O=function(){return v},y=function(){return $.original},v=[],S=[],_=!1,A=0,C=i,$={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?C=e:(e||typeof e=="string")&&u(e),C=hn({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},C);var R=N3(C.background);document.addEventListener("click",r),document.addEventListener("keyup",o),document.addEventListener("scroll",s),window.addEventListener("resize",p);var M={open:d,close:p,toggle:m,update:l,clone:a,attach:u,detach:c,on:h,off:f,getOptions:g,getImages:O,getZoomedImage:y};return M};function H3(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",i==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}var K3=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";H3(K3);var J3=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,i=[],n=0;n"u"){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var h=pp[e.format]||pp.default;window.clipboardData.setData(h,t)}else c.clipboardData.clearData(),c.clipboardData.setData(e.format,t);e.onCopy&&(c.preventDefault(),e.onCopy(c.clipboardData))}),document.body.appendChild(l),s.selectNodeContents(l),o.addRange(s);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");a=!0}catch(c){i&&console.error("unable to copy using execCommand: ",c),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),a=!0}catch(h){i&&console.error("unable to copy using clipboardData: ",h),i&&console.error("falling back to prompt"),n=i_("message"in e?e.message:t_),window.prompt(n,t)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(s):o.removeAllRanges()),l&&document.body.removeChild(l),r()}return a}var r_=n_;const s_=n0(r_),mp={};function o_(t){let e=mp[t];if(e)return e;e=mp[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);e.push(n)}for(let i=0;i=55296&&c<=57343?r+="���":r+=String.fromCharCode(c),s+=6;continue}}if((l&248)===240&&s+91114111?r+="����":(h-=65536,r+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),s+=9;continue}}r+="�"}return r})}pr.defaultChars=";/?:@&=+$,#";pr.componentChars="";const Op={};function l_(t){let e=Op[t];if(e)return e;e=Op[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2))}for(let i=0;i"u"&&(i=!0);const n=l_(e);let r="";for(let s=0,o=t.length;s=55296&&l<=57343){if(l>=55296&&l<=56319&&s+1=56320&&a<=57343){r+=encodeURIComponent(t[s]+t[s+1]),s++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(t[s])}return r}Is.defaultChars=";/?:@&=+$,-_.!~*'()#";Is.componentChars="-_.!~*'()";function Yc(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function yl(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const a_=/^([a-z0-9.+-]+:)/i,u_=/:[0-9]*$/,c_=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,h_=["<",">",'"',"`"," ","\r",` -`," "],f_=["{","}","|","\\","^","`"].concat(h_),d_=["'"].concat(f_),gp=["%","/","?",";","#"].concat(d_),bp=["/","?","#"],p_=255,yp=/^[+a-z0-9A-Z_-]{0,63}$/,m_=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,xp={javascript:!0,"javascript:":!0},kp={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Nc(t,e){if(t&&t instanceof yl)return t;const i=new yl;return i.parse(t,e),i}yl.prototype.parse=function(t,e){let i,n,r,s=t;if(s=s.trim(),!e&&t.split("#").length===1){const u=c_.exec(s);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}let o=a_.exec(s);if(o&&(o=o[0],i=o.toLowerCase(),this.protocol=o,s=s.substr(o.length)),(e||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=s.substr(0,2)==="//",r&&!(o&&xp[o])&&(s=s.substr(2),this.slashes=!0)),!xp[o]&&(r||o&&!kp[o])){let u=-1;for(let p=0;p127?y+="x":y+=O[v];if(!y.match(yp)){const v=p.slice(0,m),S=p.slice(m+1),_=O.match(m_);_&&(v.push(_[1]),S.unshift(_[2])),S.length&&(s=S.join(".")+s),this.hostname=v.join(".");break}}}}this.hostname.length>p_&&(this.hostname=""),d&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=s.indexOf("#");l!==-1&&(this.hash=s.substr(l),s=s.slice(0,l));const a=s.indexOf("?");return a!==-1&&(this.search=s.substr(a),s=s.slice(0,a)),s&&(this.pathname=s),kp[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};yl.prototype.parseHost=function(t){let e=u_.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const O_=Object.freeze(Object.defineProperty({__proto__:null,decode:pr,encode:Is,format:Yc,parse:Nc},Symbol.toStringTag,{value:"Module"})),p1=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,m1=/[\0-\x1F\x7F-\x9F]/,g_=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Uc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,O1=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,g1=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,b_=Object.freeze(Object.defineProperty({__proto__:null,Any:p1,Cc:m1,Cf:g_,P:Uc,S:O1,Z:g1},Symbol.toStringTag,{value:"Module"})),y_=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),x_=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var $a;const k_=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),v_=($a=String.fromCodePoint)!==null&&$a!==void 0?$a:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function S_(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=k_.get(t))!==null&&e!==void 0?e:t}var Ye;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ye||(Ye={}));const w_=32;var Gi;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Gi||(Gi={}));function Wu(t){return t>=Ye.ZERO&&t<=Ye.NINE}function __(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_F||t>=Ye.LOWER_A&&t<=Ye.LOWER_F}function $_(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_Z||t>=Ye.LOWER_A&&t<=Ye.LOWER_Z||Wu(t)}function P_(t){return t===Ye.EQUALS||$_(t)}var je;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(je||(je={}));var ji;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(ji||(ji={}));class C_{constructor(e,i,n){this.decodeTree=e,this.emitCodePoint=i,this.errors=n,this.state=je.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=ji.Strict}startEntity(e){this.decodeMode=e,this.state=je.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,i){switch(this.state){case je.EntityStart:return e.charCodeAt(i)===Ye.NUM?(this.state=je.NumericStart,this.consumed+=1,this.stateNumericStart(e,i+1)):(this.state=je.NamedEntity,this.stateNamedEntity(e,i));case je.NumericStart:return this.stateNumericStart(e,i);case je.NumericDecimal:return this.stateNumericDecimal(e,i);case je.NumericHex:return this.stateNumericHex(e,i);case je.NamedEntity:return this.stateNamedEntity(e,i)}}stateNumericStart(e,i){return i>=e.length?-1:(e.charCodeAt(i)|w_)===Ye.LOWER_X?(this.state=je.NumericHex,this.consumed+=1,this.stateNumericHex(e,i+1)):(this.state=je.NumericDecimal,this.stateNumericDecimal(e,i))}addToNumericResult(e,i,n,r){if(i!==n){const s=n-i;this.result=this.result*Math.pow(r,s)+parseInt(e.substr(i,s),r),this.consumed+=s}}stateNumericHex(e,i){const n=i;for(;i>14;for(;i>14,s!==0){if(o===Ye.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==ji.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:i,decodeTree:n}=this,r=(n[i]&Gi.VALUE_LENGTH)>>14;return this.emitNamedEntityData(i,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,i,n){const{decodeTree:r}=this;return this.emitCodePoint(i===1?r[e]&~Gi.VALUE_LENGTH:r[e+1],n),i===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case je.NamedEntity:return this.result!==0&&(this.decodeMode!==ji.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case je.NumericDecimal:return this.emitNumericEntity(0,2);case je.NumericHex:return this.emitNumericEntity(0,3);case je.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case je.EntityStart:return 0}}}function b1(t){let e="";const i=new C_(t,n=>e+=v_(n));return function(r,s){let o=0,l=0;for(;(l=r.indexOf("&",l))>=0;){e+=r.slice(o,l),i.startEntity(s);const u=i.write(r,l+1);if(u<0){o=l+i.end();break}o=l+u,l=u===0?o+1:o}const a=e+r.slice(o);return e="",a}}function Q_(t,e,i,n){const r=(e&Gi.BRANCH_LENGTH)>>7,s=e&Gi.JUMP_TABLE;if(r===0)return s!==0&&n===s?i:-1;if(s){const a=n-s;return a<0||a>=r?-1:t[i+a]-1}let o=i,l=o+r-1;for(;o<=l;){const a=o+l>>>1,u=t[a];if(un)l=a-1;else return t[a+r]}return-1}const A_=b1(y_);b1(x_);function y1(t,e=ji.Legacy){return A_(t,e)}function T_(t){return Object.prototype.toString.call(t)}function Gc(t){return T_(t)==="[object String]"}const E_=Object.prototype.hasOwnProperty;function Z_(t,e){return E_.call(t,e)}function Wl(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){if(i){if(typeof i!="object")throw new TypeError(i+"must be object");Object.keys(i).forEach(function(n){t[n]=i[n]})}}),t}function x1(t,e,i){return[].concat(t.slice(0,e),i,t.slice(e+1))}function Hc(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function xl(t){if(t>65535){t-=65536;const e=55296+(t>>10),i=56320+(t&1023);return String.fromCharCode(e,i)}return String.fromCharCode(t)}const k1=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,D_=/&([a-z#][a-z0-9]{1,31});/gi,R_=new RegExp(k1.source+"|"+D_.source,"gi"),I_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function L_(t,e){if(e.charCodeAt(0)===35&&I_.test(e)){const n=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return Hc(n)?xl(n):t}const i=y1(t);return i!==t?i:t}function X_(t){return t.indexOf("\\")<0?t:t.replace(k1,"$1")}function mr(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(R_,function(e,i,n){return i||L_(e,n)})}const M_=/[&<>"]/,W_=/[&<>"]/g,V_={"&":"&","<":"<",">":">",'"':"""};function F_(t){return V_[t]}function sn(t){return M_.test(t)?t.replace(W_,F_):t}const z_=/[.?*+^$[\]\\(){}|-]/g;function j_(t){return t.replace(z_,"\\$&")}function xe(t){switch(t){case 9:case 32:return!0}return!1}function gs(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function bs(t){return Uc.test(t)||O1.test(t)}function ys(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Vl(t){return t=t.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const B_={mdurl:O_,ucmicro:b_},q_=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:x1,assign:Wl,escapeHtml:sn,escapeRE:j_,fromCodePoint:xl,has:Z_,isMdAsciiPunct:ys,isPunctChar:bs,isSpace:xe,isString:Gc,isValidEntityCode:Hc,isWhiteSpace:gs,lib:B_,normalizeReference:Vl,unescapeAll:mr,unescapeMd:X_},Symbol.toStringTag,{value:"Module"}));function Y_(t,e,i){let n,r,s,o;const l=t.posMax,a=t.pos;for(t.pos=e+1,n=1;t.pos32))return s;if(n===41){if(o===0)break;o--}r++}return e===r||o!==0||(s.str=mr(t.slice(e,r)),s.pos=r,s.ok=!0),s}function U_(t,e,i,n){let r,s=e;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(s>=i)return o;let l=t.charCodeAt(s);if(l!==34&&l!==39&&l!==40)return o;e++,s++,l===40&&(l=41),o.marker=l}for(;s"+sn(s.content)+""};yi.code_block=function(t,e,i,n,r){const s=t[e];return""+sn(t[e].content)+` -`};yi.fence=function(t,e,i,n,r){const s=t[e],o=s.info?mr(s.info).trim():"";let l="",a="";if(o){const c=o.split(/(\s+)/g);l=c[0],a=c.slice(2).join("")}let u;if(i.highlight?u=i.highlight(s.content,l,a)||sn(s.content):u=sn(s.content),u.indexOf("1&&arguments[1]!==void 0?arguments[1]:{},n=window.Promise||function(Z){function L(){}Z(L,L)},r=function(Z){var L=Z.target;if(L===R){p();return}v.indexOf(L)!==-1&&m({target:L})},s=function(){if(!(_||!$.original)){var Z=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0;Math.abs(A-Z)>C.scrollOffset&&setTimeout(p,150)}},o=function(Z){var L=Z.key||Z.keyCode;(L==="Escape"||L==="Esc"||L===27)&&p()},l=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z;if(Z.background&&(R.style.background=Z.background),Z.container&&Z.container instanceof Object&&(L.container=cn({},C.container,Z.container)),Z.template){var V=Xo(Z.template)?Z.template:document.querySelector(Z.template);L.template=V}return C=cn({},C,L),v.forEach(function(z){z.dispatchEvent(En("medium-zoom:update",{detail:{zoom:M}}))}),M},a=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return t(cn({},C,Z))},u=function(){for(var Z=arguments.length,L=Array(Z),V=0;V0?L.reduce(function(q,ee){return[].concat(q,m0(ee))},[]):v;return z.forEach(function(q){q.classList.remove("medium-zoom-image"),q.dispatchEvent(En("medium-zoom:detach",{detail:{zoom:M}}))}),v=v.filter(function(q){return z.indexOf(q)===-1}),M},h=function(Z,L){var V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v.forEach(function(z){z.addEventListener("medium-zoom:"+Z,L,V)}),S.push({type:"medium-zoom:"+Z,listener:L,options:V}),M},f=function(Z,L){var V=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return v.forEach(function(z){z.removeEventListener("medium-zoom:"+Z,L,V)}),S=S.filter(function(z){return!(z.type==="medium-zoom:"+Z&&z.listener.toString()===L.toString())}),M},d=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z.target,V=function(){var q={width:document.documentElement.clientWidth,height:document.documentElement.clientHeight,left:0,top:0,right:0,bottom:0},ee=void 0,te=void 0;if(C.container)if(C.container instanceof Object)q=cn({},q,C.container),ee=q.width-q.left-q.right-C.margin*2,te=q.height-q.top-q.bottom-C.margin*2;else{var de=Xo(C.container)?C.container:document.querySelector(C.container),le=de.getBoundingClientRect(),pe=le.width,Ae=le.height,Ze=le.left,be=le.top;q=cn({},q,{width:pe,height:Ae,left:Ze,top:be})}ee=ee||q.width-C.margin*2,te=te||q.height-C.margin*2;var me=$.zoomedHd||$.original,Ai=p0(me)?ee:me.naturalWidth||ee,Xs=p0(me)?te:me.naturalHeight||te,ln=me.getBoundingClientRect(),Ms=ln.top,Ws=ln.left,Cn=ln.width,Qn=ln.height,Vs=Math.min(Math.max(Cn,Ai),ee)/Cn,Fs=Math.min(Math.max(Qn,Xs),te)/Qn,An=Math.min(Vs,Fs),zs=(-Ws+(ee-Cn)/2+C.margin+q.left)/An,js=(-Ms+(te-Qn)/2+C.margin+q.top)/An,Sr="scale("+An+") translate3d("+zs+"px, "+js+"px, 0)";$.zoomed.style.transform=Sr,$.zoomedHd&&($.zoomedHd.style.transform=Sr)};return new n(function(z){if(L&&v.indexOf(L)===-1){z(M);return}var q=function pe(){_=!1,$.zoomed.removeEventListener("transitionend",pe),$.original.dispatchEvent(En("medium-zoom:opened",{detail:{zoom:M}})),z(M)};if($.zoomed){z(M);return}if(L)$.original=L;else if(v.length>0){var ee=v;$.original=ee[0]}else{z(M);return}if($.original.dispatchEvent(En("medium-zoom:open",{detail:{zoom:M}})),A=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0,_=!0,$.zoomed=t_($.original),document.body.appendChild(R),C.template){var te=Xo(C.template)?C.template:document.querySelector(C.template);$.template=document.createElement("div"),$.template.appendChild(te.content.cloneNode(!0)),document.body.appendChild($.template)}if($.original.parentElement&&$.original.parentElement.tagName==="PICTURE"&&$.original.currentSrc&&($.zoomed.src=$.original.currentSrc),document.body.appendChild($.zoomed),window.requestAnimationFrame(function(){document.body.classList.add("medium-zoom--opened")}),$.original.classList.add("medium-zoom-image--hidden"),$.zoomed.classList.add("medium-zoom-image--opened"),$.zoomed.addEventListener("click",p),$.zoomed.addEventListener("transitionend",q),$.original.getAttribute("data-zoom-src")){$.zoomedHd=$.zoomed.cloneNode(),$.zoomedHd.removeAttribute("srcset"),$.zoomedHd.removeAttribute("sizes"),$.zoomedHd.removeAttribute("loading"),$.zoomedHd.src=$.zoomed.getAttribute("data-zoom-src"),$.zoomedHd.onerror=function(){clearInterval(de),console.warn("Unable to reach the zoom image target "+$.zoomedHd.src),$.zoomedHd=null,V()};var de=setInterval(function(){$.zoomedHd.complete&&(clearInterval(de),$.zoomedHd.classList.add("medium-zoom-image--opened"),$.zoomedHd.addEventListener("click",p),document.body.appendChild($.zoomedHd),V())},10)}else if($.original.hasAttribute("srcset")){$.zoomedHd=$.zoomed.cloneNode(),$.zoomedHd.removeAttribute("sizes"),$.zoomedHd.removeAttribute("loading");var le=$.zoomedHd.addEventListener("load",function(){$.zoomedHd.removeEventListener("load",le),$.zoomedHd.classList.add("medium-zoom-image--opened"),$.zoomedHd.addEventListener("click",p),document.body.appendChild($.zoomedHd),V()})}else V()})},p=function(){return new n(function(Z){if(_||!$.original){Z(M);return}var L=function V(){$.original.classList.remove("medium-zoom-image--hidden"),document.body.removeChild($.zoomed),$.zoomedHd&&document.body.removeChild($.zoomedHd),document.body.removeChild(R),$.zoomed.classList.remove("medium-zoom-image--opened"),$.template&&document.body.removeChild($.template),_=!1,$.zoomed.removeEventListener("transitionend",V),$.original.dispatchEvent(En("medium-zoom:closed",{detail:{zoom:M}})),$.original=null,$.zoomed=null,$.zoomedHd=null,$.template=null,Z(M)};_=!0,document.body.classList.remove("medium-zoom--opened"),$.zoomed.style.transform="",$.zoomedHd&&($.zoomedHd.style.transform=""),$.template&&($.template.style.transition="opacity 150ms",$.template.style.opacity=0),$.original.dispatchEvent(En("medium-zoom:close",{detail:{zoom:M}})),$.zoomed.addEventListener("transitionend",L)})},m=function(){var Z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},L=Z.target;return $.original?p():d({target:L})},g=function(){return C},O=function(){return v},y=function(){return $.original},v=[],S=[],_=!1,A=0,C=i,$={original:null,zoomed:null,zoomedHd:null,template:null};Object.prototype.toString.call(e)==="[object Object]"?C=e:(e||typeof e=="string")&&u(e),C=cn({margin:0,background:"#fff",scrollOffset:40,container:null,template:null},C);var R=e_(C.background);document.addEventListener("click",r),document.addEventListener("keyup",o),document.addEventListener("scroll",s),window.addEventListener("resize",p);var M={open:d,close:p,toggle:m,update:l,clone:a,attach:u,detach:c,on:h,off:f,getOptions:g,getImages:O,getZoomedImage:y};return M};function n_(t,e){e===void 0&&(e={});var i=e.insertAt;if(!(typeof document>"u")){var n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("style");r.type="text/css",i==="top"&&n.firstChild?n.insertBefore(r,n.firstChild):n.appendChild(r),r.styleSheet?r.styleSheet.cssText=t:r.appendChild(document.createTextNode(t))}}var r_=".medium-zoom-overlay{position:fixed;top:0;right:0;bottom:0;left:0;opacity:0;transition:opacity .3s;will-change:opacity}.medium-zoom--opened .medium-zoom-overlay{cursor:pointer;cursor:zoom-out;opacity:1}.medium-zoom-image{cursor:pointer;cursor:zoom-in;transition:transform .3s cubic-bezier(.2,0,.2,1)!important}.medium-zoom-image--hidden{visibility:hidden}.medium-zoom-image--opened{position:relative;cursor:pointer;cursor:zoom-out;will-change:transform}";n_(r_);var s_=function(){var t=document.getSelection();if(!t.rangeCount)return function(){};for(var e=document.activeElement,i=[],n=0;n"u"){i&&console.warn("unable to use e.clipboardData"),i&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var h=O0[e.format]||O0.default;window.clipboardData.setData(h,t)}else c.clipboardData.clearData(),c.clipboardData.setData(e.format,t);e.onCopy&&(c.preventDefault(),e.onCopy(c.clipboardData))}),document.body.appendChild(l),s.selectNodeContents(l),o.addRange(s);var u=document.execCommand("copy");if(!u)throw new Error("copy command was unsuccessful");a=!0}catch(c){i&&console.error("unable to copy using execCommand: ",c),i&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(e.format||"text",t),e.onCopy&&e.onCopy(window.clipboardData),a=!0}catch(h){i&&console.error("unable to copy using clipboardData: ",h),i&&console.error("falling back to prompt"),n=a_("message"in e?e.message:l_),window.prompt(n,t)}}finally{o&&(typeof o.removeRange=="function"?o.removeRange(s):o.removeAllRanges()),l&&document.body.removeChild(l),r()}return a}var c_=u_;const h_=sp(c_),g0={};function f_(t){let e=g0[t];if(e)return e;e=g0[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);e.push(n)}for(let i=0;i=55296&&c<=57343?r+="���":r+=String.fromCharCode(c),s+=6;continue}}if((l&248)===240&&s+91114111?r+="����":(h-=65536,r+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),s+=9;continue}}r+="�"}return r})}dr.defaultChars=";/?:@&=+$,#";dr.componentChars="";const b0={};function d_(t){let e=b0[t];if(e)return e;e=b0[t]=[];for(let i=0;i<128;i++){const n=String.fromCharCode(i);/^[0-9a-z]$/i.test(n)?e.push(n):e.push("%"+("0"+i.toString(16).toUpperCase()).slice(-2))}for(let i=0;i"u"&&(i=!0);const n=d_(e);let r="";for(let s=0,o=t.length;s=55296&&l<=57343){if(l>=55296&&l<=56319&&s+1=56320&&a<=57343){r+=encodeURIComponent(t[s]+t[s+1]),s++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(t[s])}return r}Rs.defaultChars=";/?:@&=+$,-_.!~*'()#";Rs.componentChars="-_.!~*'()";function Uc(t){let e="";return e+=t.protocol||"",e+=t.slashes?"//":"",e+=t.auth?t.auth+"@":"",t.hostname&&t.hostname.indexOf(":")!==-1?e+="["+t.hostname+"]":e+=t.hostname||"",e+=t.port?":"+t.port:"",e+=t.pathname||"",e+=t.search||"",e+=t.hash||"",e}function yl(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const p_=/^([a-z0-9.+-]+:)/i,m_=/:[0-9]*$/,O_=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,g_=["<",">",'"',"`"," ","\r",` +`," "],b_=["{","}","|","\\","^","`"].concat(g_),y_=["'"].concat(b_),y0=["%","/","?",";","#"].concat(y_),x0=["/","?","#"],x_=255,k0=/^[+a-z0-9A-Z_-]{0,63}$/,k_=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v0={javascript:!0,"javascript:":!0},S0={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function Gc(t,e){if(t&&t instanceof yl)return t;const i=new yl;return i.parse(t,e),i}yl.prototype.parse=function(t,e){let i,n,r,s=t;if(s=s.trim(),!e&&t.split("#").length===1){const u=O_.exec(s);if(u)return this.pathname=u[1],u[2]&&(this.search=u[2]),this}let o=p_.exec(s);if(o&&(o=o[0],i=o.toLowerCase(),this.protocol=o,s=s.substr(o.length)),(e||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=s.substr(0,2)==="//",r&&!(o&&v0[o])&&(s=s.substr(2),this.slashes=!0)),!v0[o]&&(r||o&&!S0[o])){let u=-1;for(let p=0;p127?y+="x":y+=O[v];if(!y.match(k0)){const v=p.slice(0,m),S=p.slice(m+1),_=O.match(k_);_&&(v.push(_[1]),S.unshift(_[2])),S.length&&(s=S.join(".")+s),this.hostname=v.join(".");break}}}}this.hostname.length>x_&&(this.hostname=""),d&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const l=s.indexOf("#");l!==-1&&(this.hash=s.substr(l),s=s.slice(0,l));const a=s.indexOf("?");return a!==-1&&(this.search=s.substr(a),s=s.slice(0,a)),s&&(this.pathname=s),S0[i]&&this.hostname&&!this.pathname&&(this.pathname=""),this};yl.prototype.parseHost=function(t){let e=m_.exec(t);e&&(e=e[0],e!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};const v_=Object.freeze(Object.defineProperty({__proto__:null,decode:dr,encode:Rs,format:Uc,parse:Gc},Symbol.toStringTag,{value:"Module"})),g1=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,b1=/[\0-\x1F\x7F-\x9F]/,S_=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Hc=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,y1=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,x1=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,w_=Object.freeze(Object.defineProperty({__proto__:null,Any:g1,Cc:b1,Cf:S_,P:Hc,S:y1,Z:x1},Symbol.toStringTag,{value:"Module"})),__=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(t=>t.charCodeAt(0))),$_=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(t=>t.charCodeAt(0)));var Pa;const P_=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),C_=(Pa=String.fromCodePoint)!==null&&Pa!==void 0?Pa:function(t){let e="";return t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|t&1023),e+=String.fromCharCode(t),e};function Q_(t){var e;return t>=55296&&t<=57343||t>1114111?65533:(e=P_.get(t))!==null&&e!==void 0?e:t}var Ye;(function(t){t[t.NUM=35]="NUM",t[t.SEMI=59]="SEMI",t[t.EQUALS=61]="EQUALS",t[t.ZERO=48]="ZERO",t[t.NINE=57]="NINE",t[t.LOWER_A=97]="LOWER_A",t[t.LOWER_F=102]="LOWER_F",t[t.LOWER_X=120]="LOWER_X",t[t.LOWER_Z=122]="LOWER_Z",t[t.UPPER_A=65]="UPPER_A",t[t.UPPER_F=70]="UPPER_F",t[t.UPPER_Z=90]="UPPER_Z"})(Ye||(Ye={}));const A_=32;var Ui;(function(t){t[t.VALUE_LENGTH=49152]="VALUE_LENGTH",t[t.BRANCH_LENGTH=16256]="BRANCH_LENGTH",t[t.JUMP_TABLE=127]="JUMP_TABLE"})(Ui||(Ui={}));function Fu(t){return t>=Ye.ZERO&&t<=Ye.NINE}function T_(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_F||t>=Ye.LOWER_A&&t<=Ye.LOWER_F}function E_(t){return t>=Ye.UPPER_A&&t<=Ye.UPPER_Z||t>=Ye.LOWER_A&&t<=Ye.LOWER_Z||Fu(t)}function Z_(t){return t===Ye.EQUALS||E_(t)}var je;(function(t){t[t.EntityStart=0]="EntityStart",t[t.NumericStart=1]="NumericStart",t[t.NumericDecimal=2]="NumericDecimal",t[t.NumericHex=3]="NumericHex",t[t.NamedEntity=4]="NamedEntity"})(je||(je={}));var zi;(function(t){t[t.Legacy=0]="Legacy",t[t.Strict=1]="Strict",t[t.Attribute=2]="Attribute"})(zi||(zi={}));class D_{constructor(e,i,n){this.decodeTree=e,this.emitCodePoint=i,this.errors=n,this.state=je.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=zi.Strict}startEntity(e){this.decodeMode=e,this.state=je.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,i){switch(this.state){case je.EntityStart:return e.charCodeAt(i)===Ye.NUM?(this.state=je.NumericStart,this.consumed+=1,this.stateNumericStart(e,i+1)):(this.state=je.NamedEntity,this.stateNamedEntity(e,i));case je.NumericStart:return this.stateNumericStart(e,i);case je.NumericDecimal:return this.stateNumericDecimal(e,i);case je.NumericHex:return this.stateNumericHex(e,i);case je.NamedEntity:return this.stateNamedEntity(e,i)}}stateNumericStart(e,i){return i>=e.length?-1:(e.charCodeAt(i)|A_)===Ye.LOWER_X?(this.state=je.NumericHex,this.consumed+=1,this.stateNumericHex(e,i+1)):(this.state=je.NumericDecimal,this.stateNumericDecimal(e,i))}addToNumericResult(e,i,n,r){if(i!==n){const s=n-i;this.result=this.result*Math.pow(r,s)+parseInt(e.substr(i,s),r),this.consumed+=s}}stateNumericHex(e,i){const n=i;for(;i>14;for(;i>14,s!==0){if(o===Ye.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==zi.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:i,decodeTree:n}=this,r=(n[i]&Ui.VALUE_LENGTH)>>14;return this.emitNamedEntityData(i,r,this.consumed),(e=this.errors)===null||e===void 0||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,i,n){const{decodeTree:r}=this;return this.emitCodePoint(i===1?r[e]&~Ui.VALUE_LENGTH:r[e+1],n),i===3&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case je.NamedEntity:return this.result!==0&&(this.decodeMode!==zi.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case je.NumericDecimal:return this.emitNumericEntity(0,2);case je.NumericHex:return this.emitNumericEntity(0,3);case je.NumericStart:return(e=this.errors)===null||e===void 0||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case je.EntityStart:return 0}}}function k1(t){let e="";const i=new D_(t,n=>e+=C_(n));return function(r,s){let o=0,l=0;for(;(l=r.indexOf("&",l))>=0;){e+=r.slice(o,l),i.startEntity(s);const u=i.write(r,l+1);if(u<0){o=l+i.end();break}o=l+u,l=u===0?o+1:o}const a=e+r.slice(o);return e="",a}}function R_(t,e,i,n){const r=(e&Ui.BRANCH_LENGTH)>>7,s=e&Ui.JUMP_TABLE;if(r===0)return s!==0&&n===s?i:-1;if(s){const a=n-s;return a<0||a>=r?-1:t[i+a]-1}let o=i,l=o+r-1;for(;o<=l;){const a=o+l>>>1,u=t[a];if(un)l=a-1;else return t[a+r]}return-1}const I_=k1(__);k1($_);function v1(t,e=zi.Legacy){return I_(t,e)}function L_(t){return Object.prototype.toString.call(t)}function Kc(t){return L_(t)==="[object String]"}const X_=Object.prototype.hasOwnProperty;function M_(t,e){return X_.call(t,e)}function Wl(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){if(i){if(typeof i!="object")throw new TypeError(i+"must be object");Object.keys(i).forEach(function(n){t[n]=i[n]})}}),t}function S1(t,e,i){return[].concat(t.slice(0,e),i,t.slice(e+1))}function Jc(t){return!(t>=55296&&t<=57343||t>=64976&&t<=65007||(t&65535)===65535||(t&65535)===65534||t>=0&&t<=8||t===11||t>=14&&t<=31||t>=127&&t<=159||t>1114111)}function xl(t){if(t>65535){t-=65536;const e=55296+(t>>10),i=56320+(t&1023);return String.fromCharCode(e,i)}return String.fromCharCode(t)}const w1=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,W_=/&([a-z#][a-z0-9]{1,31});/gi,V_=new RegExp(w1.source+"|"+W_.source,"gi"),F_=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function z_(t,e){if(e.charCodeAt(0)===35&&F_.test(e)){const n=e[1].toLowerCase()==="x"?parseInt(e.slice(2),16):parseInt(e.slice(1),10);return Jc(n)?xl(n):t}const i=v1(t);return i!==t?i:t}function j_(t){return t.indexOf("\\")<0?t:t.replace(w1,"$1")}function pr(t){return t.indexOf("\\")<0&&t.indexOf("&")<0?t:t.replace(V_,function(e,i,n){return i||z_(e,n)})}const B_=/[&<>"]/,q_=/[&<>"]/g,Y_={"&":"&","<":"<",">":">",'"':"""};function N_(t){return Y_[t]}function rn(t){return B_.test(t)?t.replace(q_,N_):t}const U_=/[.?*+^$[\]\\(){}|-]/g;function G_(t){return t.replace(U_,"\\$&")}function xe(t){switch(t){case 9:case 32:return!0}return!1}function Os(t){if(t>=8192&&t<=8202)return!0;switch(t){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function gs(t){return Hc.test(t)||y1.test(t)}function bs(t){switch(t){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Vl(t){return t=t.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(t=t.replace(/ẞ/g,"ß")),t.toLowerCase().toUpperCase()}const H_={mdurl:v_,ucmicro:w_},K_=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:S1,assign:Wl,escapeHtml:rn,escapeRE:G_,fromCodePoint:xl,has:M_,isMdAsciiPunct:bs,isPunctChar:gs,isSpace:xe,isString:Kc,isValidEntityCode:Jc,isWhiteSpace:Os,lib:H_,normalizeReference:Vl,unescapeAll:pr,unescapeMd:j_},Symbol.toStringTag,{value:"Module"}));function J_(t,e,i){let n,r,s,o;const l=t.posMax,a=t.pos;for(t.pos=e+1,n=1;t.pos32))return s;if(n===41){if(o===0)break;o--}r++}return e===r||o!==0||(s.str=pr(t.slice(e,r)),s.pos=r,s.ok=!0),s}function t$(t,e,i,n){let r,s=e;const o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)o.str=n.str,o.marker=n.marker;else{if(s>=i)return o;let l=t.charCodeAt(s);if(l!==34&&l!==39&&l!==40)return o;e++,s++,l===40&&(l=41),o.marker=l}for(;s"+rn(s.content)+""};bi.code_block=function(t,e,i,n,r){const s=t[e];return""+rn(t[e].content)+` +`};bi.fence=function(t,e,i,n,r){const s=t[e],o=s.info?pr(s.info).trim():"";let l="",a="";if(o){const c=o.split(/(\s+)/g);l=c[0],a=c.slice(2).join("")}let u;if(i.highlight?u=i.highlight(s.content,l,a)||rn(s.content):u=rn(s.content),u.indexOf("${u} `}return`
${u}
-`};yi.image=function(t,e,i,n,r){const s=t[e];return s.attrs[s.attrIndex("alt")][1]=r.renderInlineAsText(s.children,i,n),r.renderToken(t,e,i)};yi.hardbreak=function(t,e,i){return i.xhtmlOut?`
+`};bi.image=function(t,e,i,n,r){const s=t[e];return s.attrs[s.attrIndex("alt")][1]=r.renderInlineAsText(s.children,i,n),r.renderToken(t,e,i)};bi.hardbreak=function(t,e,i){return i.xhtmlOut?`
`:`
-`};yi.softbreak=function(t,e,i){return i.breaks?i.xhtmlOut?`
+`};bi.softbreak=function(t,e,i){return i.breaks?i.xhtmlOut?`
`:`
`:` -`};yi.text=function(t,e){return sn(t[e].content)};yi.html_block=function(t,e){return t[e].content};yi.html_inline=function(t,e){return t[e].content};function Sr(){this.rules=Wl({},yi)}Sr.prototype.renderAttrs=function(e){let i,n,r;if(!e.attrs)return"";for(r="",i=0,n=e.attrs.length;i -`:">",s};Sr.prototype.renderInline=function(t,e,i){let n="";const r=this.rules;for(let s=0,o=t.length;s=0&&(n=this.attrs[i][1]),n};ii.prototype.attrJoin=function(e,i){const n=this.attrIndex(e);n<0?this.attrPush([e,i]):this.attrs[n][1]=this.attrs[n][1]+" "+i};function v1(t,e,i){this.src=t,this.env=i,this.tokens=[],this.inlineMode=!1,this.md=e}v1.prototype.Token=ii;const H_=/\r\n?|\n/g,K_=/\0/g;function J_(t){let e;e=t.src.replace(H_,` -`),e=e.replace(K_,"�"),t.src=e}function e$(t){let e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}function t$(t){const e=t.tokens;for(let i=0,n=e.length;i\s]/i.test(t)}function n$(t){return/^<\/a\s*>/i.test(t)}function r$(t){const e=t.tokens;if(t.md.options.linkify)for(let i=0,n=e.length;i=0;o--){const l=r[o];if(l.type==="link_close"){for(o--;r[o].level!==l.level&&r[o].type!=="link_open";)o--;continue}if(l.type==="html_inline"&&(i$(l.content)&&s>0&&s--,n$(l.content)&&s++),!(s>0)&&l.type==="text"&&t.md.linkify.test(l.content)){const a=l.content;let u=t.md.linkify.match(a);const c=[];let h=l.level,f=0;u.length>0&&u[0].index===0&&o>0&&r[o-1].type==="text_special"&&(u=u.slice(1));for(let d=0;df){const _=new t.Token("text","",0);_.content=a.slice(f,O),_.level=h,c.push(_)}const y=new t.Token("link_open","a",1);y.attrs=[["href",m]],y.level=h++,y.markup="linkify",y.info="auto",c.push(y);const v=new t.Token("text","",0);v.content=g,v.level=h,c.push(v);const S=new t.Token("link_close","a",-1);S.level=--h,S.markup="linkify",S.info="auto",c.push(S),f=u[d].lastIndex}if(f=0;i--){const n=t[i];n.type==="text"&&!e&&(n.content=n.content.replace(o$,a$)),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function c$(t){let e=0;for(let i=t.length-1;i>=0;i--){const n=t[i];n.type==="text"&&!e&&S1.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function h$(t){let e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)t.tokens[e].type==="inline"&&(s$.test(t.tokens[e].content)&&u$(t.tokens[e].children),S1.test(t.tokens[e].content)&&c$(t.tokens[e].children))}const f$=/['"]/,vp=/['"]/g,Sp="’";function xo(t,e,i){return t.slice(0,e)+i+t.slice(e+1)}function d$(t,e){let i;const n=[];for(let r=0;r=0&&!(n[i].level<=o);i--);if(n.length=i+1,s.type!=="text")continue;let l=s.content,a=0,u=l.length;e:for(;a=0)p=l.charCodeAt(c.index-1);else for(i=r-1;i>=0&&!(t[i].type==="softbreak"||t[i].type==="hardbreak");i--)if(t[i].content){p=t[i].content.charCodeAt(t[i].content.length-1);break}let m=32;if(a=48&&p<=57&&(f=h=!1),h&&f&&(h=g,f=O),!h&&!f){d&&(s.content=xo(s.content,c.index,Sp));continue}if(f)for(i=n.length-1;i>=0;i--){let S=n[i];if(n[i].level=0;e--)t.tokens[e].type!=="inline"||!f$.test(t.tokens[e].content)||d$(t.tokens[e].children,t)}function m$(t){let e,i;const n=t.tokens,r=n.length;for(let s=0;s0&&this.level++,this.tokens.push(n),n};xi.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};xi.prototype.skipEmptyLines=function(e){for(let i=this.lineMax;ei;)if(!xe(this.src.charCodeAt(--e)))return e+1;return e};xi.prototype.skipChars=function(e,i){for(let n=this.src.length;en;)if(i!==this.src.charCodeAt(--e))return e+1;return e};xi.prototype.getLines=function(e,i,n,r){if(e>=i)return"";const s=new Array(i-e);for(let o=0,l=e;ln?s[o]=new Array(a-n+1).join(" ")+this.src.slice(c,h):s[o]=this.src.slice(c,h)}return s.join("")};xi.prototype.Token=ii;const O$=65536;function Ca(t,e){const i=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];return t.src.slice(i,n)}function wp(t){const e=[],i=t.length;let n=0,r=t.charCodeAt(n),s=!1,o=0,l="";for(;ni)return!1;let r=e+1;if(t.sCount[r]=4)return!1;let s=t.bMarks[r]+t.tShift[r];if(s>=t.eMarks[r])return!1;const o=t.src.charCodeAt(s++);if(o!==124&&o!==45&&o!==58||s>=t.eMarks[r])return!1;const l=t.src.charCodeAt(s++);if(l!==124&&l!==45&&l!==58&&!xe(l)||o===45&&xe(l))return!1;for(;s=4)return!1;u=wp(a),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop();const h=u.length;if(h===0||h!==c.length)return!1;if(n)return!0;const f=t.parentType;t.parentType="table";const d=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),m=[e,0];p.map=m;const g=t.push("thead_open","thead",1);g.map=[e,e+1];const O=t.push("tr_open","tr",1);O.map=[e,e+1];for(let S=0;S=4||(u=wp(a),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop(),v+=h-u.length,v>O$))break;if(r===e+2){const A=t.push("tbody_open","tbody",1);A.map=y=[e+2,0]}const _=t.push("tr_open","tr",1);_.map=[r,r+1];for(let A=0;A=4){n++,r=n;continue}break}t.line=r;const s=t.push("code_block","code",0);return s.content=t.getLines(e,r,4+t.blkIndent,!1)+` -`,s.map=[e,t.line],!0}function y$(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||r+3>s)return!1;const o=t.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let l=r;r=t.skipChars(r,o);let a=r-l;if(a<3)return!1;const u=t.src.slice(l,r),c=t.src.slice(r,s);if(o===96&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let h=e,f=!1;for(;h++,!(h>=i||(r=l=t.bMarks[h]+t.tShift[h],s=t.eMarks[h],r=4)&&(r=t.skipChars(r,o),!(r-l=4||t.src.charCodeAt(r)!==62)return!1;if(n)return!0;const l=[],a=[],u=[],c=[],h=t.md.block.ruler.getRules("blockquote"),f=t.parentType;t.parentType="blockquote";let d=!1,p;for(p=e;p=s)break;if(t.src.charCodeAt(r++)===62&&!v){let _=t.sCount[p]+1,A,C;t.src.charCodeAt(r)===32?(r++,_++,C=!1,A=!0):t.src.charCodeAt(r)===9?(A=!0,(t.bsCount[p]+_)%4===3?(r++,_++,C=!1):C=!0):A=!1;let $=_;for(l.push(t.bMarks[p]),t.bMarks[p]=r;r=s,a.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(A?1:0),u.push(t.sCount[p]),t.sCount[p]=$-_,c.push(t.tShift[p]),t.tShift[p]=r-t.bMarks[p];continue}if(d)break;let S=!1;for(let _=0,A=h.length;_";const O=[e,0];g.map=O,t.md.block.tokenize(t,e,p);const y=t.push("blockquote_close","blockquote",-1);y.markup=">",t.lineMax=o,t.parentType=f,O[1]=t.line;for(let v=0;v=4)return!1;let s=t.bMarks[e]+t.tShift[e];const o=t.src.charCodeAt(s++);if(o!==42&&o!==45&&o!==95)return!1;let l=1;for(;s=n)return-1;let s=t.src.charCodeAt(r++);if(s<48||s>57)return-1;for(;;){if(r>=n)return-1;if(s=t.src.charCodeAt(r++),s>=48&&s<=57){if(r-i>=10)return-1;continue}if(s===41||s===46)break;return-1}return r=4||t.listIndent>=0&&t.sCount[a]-t.listIndent>=4&&t.sCount[a]=t.blkIndent&&(c=!0);let h,f,d;if((d=$p(t,a))>=0){if(h=!0,o=t.bMarks[a]+t.tShift[a],f=Number(t.src.slice(o,d-1)),c&&f!==1)return!1}else if((d=_p(t,a))>=0)h=!1;else return!1;if(c&&t.skipSpaces(d)>=t.eMarks[a])return!1;if(n)return!0;const p=t.src.charCodeAt(d-1),m=t.tokens.length;h?(l=t.push("ordered_list_open","ol",1),f!==1&&(l.attrs=[["start",f]])):l=t.push("bullet_list_open","ul",1);const g=[a,0];l.map=g,l.markup=String.fromCharCode(p);let O=!1;const y=t.md.block.ruler.getRules("list"),v=t.parentType;for(t.parentType="list";a=r?C=1:C=_-S,C>4&&(C=1);const $=S+C;l=t.push("list_item_open","li",1),l.markup=String.fromCharCode(p);const R=[a,0];l.map=R,h&&(l.info=t.src.slice(o,d-1));const M=t.tight,X=t.tShift[a],Z=t.sCount[a],L=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=$,t.tight=!0,t.tShift[a]=A-t.bMarks[a],t.sCount[a]=_,A>=r&&t.isEmpty(a+1)?t.line=Math.min(t.line+2,i):t.md.block.tokenize(t,a,i,!0),(!t.tight||O)&&(u=!1),O=t.line-a>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=L,t.tShift[a]=X,t.sCount[a]=Z,t.tight=M,l=t.push("list_item_close","li",-1),l.markup=String.fromCharCode(p),a=t.line,R[1]=a,a>=i||t.sCount[a]=4)break;let V=!1;for(let z=0,q=y.length;z=4||t.src.charCodeAt(r)!==91)return!1;function l(y){const v=t.lineMax;if(y>=v||t.isEmpty(y))return null;let S=!1;if(t.sCount[y]-t.blkIndent>3&&(S=!0),t.sCount[y]<0&&(S=!0),!S){const C=t.md.block.ruler.getRules("reference"),$=t.parentType;t.parentType="reference";let R=!1;for(let M=0,X=C.length;M"u"&&(t.env.references={}),typeof t.env.references[O]>"u"&&(t.env.references[O]={title:g,href:h}),t.line=o),!0):!1}const _$=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],$$="[a-zA-Z_:][a-zA-Z0-9:._-]*",P$="[^\"'=<>`\\x00-\\x20]+",C$="'[^']*'",Q$='"[^"]*"',A$="(?:"+P$+"|"+C$+"|"+Q$+")",T$="(?:\\s+"+$$+"(?:\\s*=\\s*"+A$+")?)",w1="<[A-Za-z][A-Za-z0-9\\-]*"+T$+"*\\s*\\/?>",_1="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",E$="",Z$="<[?][\\s\\S]*?[?]>",D$="]*>",R$="",I$=new RegExp("^(?:"+w1+"|"+_1+"|"+E$+"|"+Z$+"|"+D$+"|"+R$+")"),L$=new RegExp("^(?:"+w1+"|"+_1+")"),Zn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(L$.source+"\\s*$"),/^$/,!1]];function X$(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(r)!==60)return!1;let o=t.src.slice(r,s),l=0;for(;l=4)return!1;let o=t.src.charCodeAt(r);if(o!==35||r>=s)return!1;let l=1;for(o=t.src.charCodeAt(++r);o===35&&r6||rr&&xe(t.src.charCodeAt(a-1))&&(s=a),t.line=e+1;const u=t.push("heading_open","h"+String(l),1);u.markup="########".slice(0,l),u.map=[e,t.line];const c=t.push("inline","",0);c.content=t.src.slice(r,s).trim(),c.map=[e,t.line],c.children=[];const h=t.push("heading_close","h"+String(l),-1);return h.markup="########".slice(0,l),!0}function W$(t,e,i){const n=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const r=t.parentType;t.parentType="paragraph";let s=0,o,l=e+1;for(;l3)continue;if(t.sCount[l]>=t.blkIndent){let d=t.bMarks[l]+t.tShift[l];const p=t.eMarks[l];if(d=p))){s=o===61?1:2;break}}if(t.sCount[l]<0)continue;let f=!1;for(let d=0,p=n.length;d3||t.sCount[s]<0)continue;let u=!1;for(let c=0,h=n.length;c=i||t.sCount[o]=s){t.line=i;break}const a=t.line;let u=!1;for(let c=0;c=t.line)throw new Error("block rule didn't increment state.line");break}if(!u)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),o=t.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};Ls.prototype.scanDelims=function(t,e){const i=this.posMax,n=this.src.charCodeAt(t),r=t>0?this.src.charCodeAt(t-1):32;let s=t;for(;s0)return!1;const i=t.pos,n=t.posMax;if(i+3>n||t.src.charCodeAt(i)!==58||t.src.charCodeAt(i+1)!==47||t.src.charCodeAt(i+2)!==47)return!1;const r=t.pending.match(j$);if(!r)return!1;const s=r[1],o=t.md.linkify.matchAtStart(t.src.slice(i-s.length));if(!o)return!1;let l=o.url;if(l.length<=s.length)return!1;l=l.replace(/\*+$/,"");const a=t.md.normalizeLink(l);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-s.length);const u=t.push("link_open","a",1);u.attrs=[["href",a]],u.markup="linkify",u.info="auto";const c=t.push("text","",0);c.content=t.md.normalizeLinkText(l);const h=t.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return t.pos+=l.length-s.length,!0}function q$(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==10)return!1;const n=t.pending.length-1,r=t.posMax;if(!e)if(n>=0&&t.pending.charCodeAt(n)===32)if(n>=1&&t.pending.charCodeAt(n-1)===32){let s=n-1;for(;s>=1&&t.pending.charCodeAt(s-1)===32;)s--;t.pending=t.pending.slice(0,s),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){Jc[t.charCodeAt(0)]=1});function Y$(t,e){let i=t.pos;const n=t.posMax;if(t.src.charCodeAt(i)!==92||(i++,i>=n))return!1;let r=t.src.charCodeAt(i);if(r===10){for(e||t.push("hardbreak","br",0),i++;i=55296&&r<=56319&&i+1=56320&&l<=57343&&(s+=t.src[i+1],i++)}const o="\\"+s;if(!e){const l=t.push("text_special","",0);r<256&&Jc[r]!==0?l.content=s:l.content=o,l.markup=o,l.info="escape"}return t.pos=i+1,!0}function N$(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==96)return!1;const r=i;i++;const s=t.posMax;for(;i=0;n--){const r=e[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const s=e[r.end],o=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,l=String.fromCharCode(r.marker),a=t.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?l+l:l,a.content="";const u=t.tokens[s.token];u.type=o?"strong_close":"em_close",u.tag=o?"strong":"em",u.nesting=-1,u.markup=o?l+l:l,u.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--)}}function K$(t){const e=t.tokens_meta,i=t.tokens_meta.length;Cp(t,t.delimiters);for(let n=0;n=h)return!1;if(a=p,r=t.md.helpers.parseLinkDestination(t.src,p,t.posMax),r.ok){for(o=t.md.normalizeLink(r.str),t.md.validateLink(o)?p=r.pos:o="",a=p;p=h||t.src.charCodeAt(p)!==41)&&(u=!0),p++}if(u){if(typeof t.env.references>"u")return!1;if(p=0?n=t.src.slice(a,p++):p=d+1):p=d+1,n||(n=t.src.slice(f,d)),s=t.env.references[Vl(n)],!s)return t.pos=c,!1;o=s.href,l=s.title}if(!e){t.pos=f,t.posMax=d;const m=t.push("link_open","a",1),g=[["href",o]];m.attrs=g,l&&g.push(["title",l]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=p,t.posMax=h,!0}function eP(t,e){let i,n,r,s,o,l,a,u,c="";const h=t.pos,f=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;const d=t.pos+2,p=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(p<0)return!1;if(s=p+1,s=f)return!1;for(u=s,l=t.md.helpers.parseLinkDestination(t.src,s,t.posMax),l.ok&&(c=t.md.normalizeLink(l.str),t.md.validateLink(c)?s=l.pos:c=""),u=s;s=f||t.src.charCodeAt(s)!==41)return t.pos=h,!1;s++}else{if(typeof t.env.references>"u")return!1;if(s=0?r=t.src.slice(u,s++):s=p+1):s=p+1,r||(r=t.src.slice(d,p)),o=t.env.references[Vl(r)],!o)return t.pos=h,!1;c=o.href,a=o.title}if(!e){n=t.src.slice(d,p);const m=[];t.md.inline.parse(n,t.md,t.env,m);const g=t.push("image","img",0),O=[["src",c],["alt",""]];g.attrs=O,g.children=m,g.content=n,a&&O.push(["title",a])}return t.pos=s,t.posMax=f,!0}const tP=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,iP=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function nP(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==60)return!1;const n=t.pos,r=t.posMax;for(;;){if(++i>=r)return!1;const o=t.src.charCodeAt(i);if(o===60)return!1;if(o===62)break}const s=t.src.slice(n+1,i);if(iP.test(s)){const o=t.md.normalizeLink(s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}if(tP.test(s)){const o=t.md.normalizeLink("mailto:"+s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}return!1}function rP(t){return/^\s]/i.test(t)}function sP(t){return/^<\/a\s*>/i.test(t)}function oP(t){const e=t|32;return e>=97&&e<=122}function lP(t,e){if(!t.md.options.html)return!1;const i=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==60||n+2>=i)return!1;const r=t.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!oP(r))return!1;const s=t.src.slice(n).match(I$);if(!s)return!1;if(!e){const o=t.push("html_inline","",0);o.content=s[0],rP(o.content)&&t.linkLevel++,sP(o.content)&&t.linkLevel--}return t.pos+=s[0].length,!0}const aP=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,uP=/^&([a-z][a-z0-9]{1,31});/i;function cP(t,e){const i=t.pos,n=t.posMax;if(t.src.charCodeAt(i)!==38||i+1>=n)return!1;if(t.src.charCodeAt(i+1)===35){const s=t.src.slice(i).match(aP);if(s){if(!e){const o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),l=t.push("text_special","",0);l.content=Hc(o)?xl(o):xl(65533),l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}else{const s=t.src.slice(i).match(uP);if(s){const o=y1(s[0]);if(o!==s[0]){if(!e){const l=t.push("text_special","",0);l.content=o,l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}}return!1}function Qp(t){const e={},i=t.length;if(!i)return;let n=0,r=-2;const s=[];for(let o=0;oa;u-=s[u]+1){const h=t[u];if(h.marker===l.marker&&h.open&&h.end<0){let f=!1;if((h.close||l.open)&&(h.length+l.length)%3===0&&(h.length%3!==0||l.length%3!==0)&&(f=!0),!f){const d=u>0&&!t[u-1].open?s[u-1]+1:0;s[o]=o-u+d,s[u]=d,l.open=!1,h.end=o,h.close=!1,c=-1,r=-2;break}}}c!==-1&&(e[l.marker][(l.open?3:0)+(l.length||0)%3]=c)}}function hP(t){const e=t.tokens_meta,i=t.tokens_meta.length;Qp(t.delimiters);for(let n=0;n0&&n++,r[e].type==="text"&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;o||t.pos++,s[e]=t.pos};Xs.prototype.tokenize=function(t){const e=this.ruler.getRules(""),i=e.length,n=t.posMax,r=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(t.pos>=n)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Xs.prototype.parse=function(t,e,i,n){const r=new this.State(t,e,i,n);this.tokenize(r);const s=this.ruler2.getRules(""),o=s.length;for(let l=0;l|$))",e.tpl_email_fuzzy="(^|"+i+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function Vu(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){i&&Object.keys(i).forEach(function(n){t[n]=i[n]})}),t}function zl(t){return Object.prototype.toString.call(t)}function pP(t){return zl(t)==="[object String]"}function mP(t){return zl(t)==="[object Object]"}function OP(t){return zl(t)==="[object RegExp]"}function Ap(t){return zl(t)==="[object Function]"}function gP(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const C1={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function bP(t){return Object.keys(t||{}).reduce(function(e,i){return e||C1.hasOwnProperty(i)},!1)}const yP={"http:":{validate:function(t,e,i){const n=t.slice(e);return i.re.http||(i.re.http=new RegExp("^\\/\\/"+i.re.src_auth+i.re.src_host_port_strict+i.re.src_path,"i")),i.re.http.test(n)?n.match(i.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,i){const n=t.slice(e);return i.re.no_http||(i.re.no_http=new RegExp("^"+i.re.src_auth+"(?:localhost|(?:(?:"+i.re.src_domain+")\\.)+"+i.re.src_domain_root+")"+i.re.src_port+i.re.src_host_terminator+i.re.src_path,"i")),i.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(i.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,i){const n=t.slice(e);return i.re.mailto||(i.re.mailto=new RegExp("^"+i.re.src_email_name+"@"+i.re.src_host_strict,"i")),i.re.mailto.test(n)?n.match(i.re.mailto)[0].length:0}}},xP="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",kP="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function vP(t){t.__index__=-1,t.__text_cache__=""}function SP(t){return function(e,i){const n=e.slice(i);return t.test(n)?n.match(t)[0].length:0}}function Tp(){return function(t,e){e.normalize(t)}}function kl(t){const e=t.re=dP(t.__opts__),i=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||i.push(xP),i.push(e.src_xn),e.src_tlds=i.join("|");function n(l){return l.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");const r=[];t.__compiled__={};function s(l,a){throw new Error('(LinkifyIt) Invalid schema "'+l+'": '+a)}Object.keys(t.__schemas__).forEach(function(l){const a=t.__schemas__[l];if(a===null)return;const u={validate:null,link:null};if(t.__compiled__[l]=u,mP(a)){OP(a.validate)?u.validate=SP(a.validate):Ap(a.validate)?u.validate=a.validate:s(l,a),Ap(a.normalize)?u.normalize=a.normalize:a.normalize?s(l,a):u.normalize=Tp();return}if(pP(a)){r.push(l);return}s(l,a)}),r.forEach(function(l){t.__compiled__[t.__schemas__[l]]&&(t.__compiled__[l].validate=t.__compiled__[t.__schemas__[l]].validate,t.__compiled__[l].normalize=t.__compiled__[t.__schemas__[l]].normalize)}),t.__compiled__[""]={validate:null,normalize:Tp()};const o=Object.keys(t.__compiled__).filter(function(l){return l.length>0&&t.__compiled__[l]}).map(gP).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),vP(t)}function wP(t,e){const i=t.__index__,n=t.__last_index__,r=t.__text_cache__.slice(i,n);this.schema=t.__schema__.toLowerCase(),this.index=i+e,this.lastIndex=n+e,this.raw=r,this.text=r,this.url=r}function Fu(t,e){const i=new wP(t,e);return t.__compiled__[i.schema].normalize(i,t),i}function Ct(t,e){if(!(this instanceof Ct))return new Ct(t,e);e||bP(t)&&(e=t,t={}),this.__opts__=Vu({},C1,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=Vu({},yP,t),this.__compiled__={},this.__tlds__=kP,this.__tlds_replaced__=!1,this.re={},kl(this)}Ct.prototype.add=function(e,i){return this.__schemas__[e]=i,kl(this),this};Ct.prototype.set=function(e){return this.__opts__=Vu(this.__opts__,e),this};Ct.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let i,n,r,s,o,l,a,u,c;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(i=a.exec(e))!==null;)if(s=this.testSchemaAt(e,i[2],a.lastIndex),s){this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=0&&(r=e.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,l=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=l))),this.__index__>=0};Ct.prototype.pretest=function(e){return this.re.pretest.test(e)};Ct.prototype.testSchemaAt=function(e,i,n){return this.__compiled__[i.toLowerCase()]?this.__compiled__[i.toLowerCase()].validate(e,n,this):0};Ct.prototype.match=function(e){const i=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(i.push(Fu(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)i.push(Fu(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return i.length?i:null};Ct.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const i=this.re.schema_at_start.exec(e);if(!i)return null;const n=this.testSchemaAt(e,i[2],i[0].length);return n?(this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+n,Fu(this,0)):null};Ct.prototype.tlds=function(e,i){return e=Array.isArray(e)?e:[e],i?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,r,s){return n!==s[r-1]}).reverse(),kl(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,kl(this),this)};Ct.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Ct.prototype.onCompile=function(){};const Un=2147483647,pi=36,eh=1,xs=26,_P=38,$P=700,Q1=72,A1=128,T1="-",PP=/^xn--/,CP=/[^\0-\x7F]/,QP=/[\x2E\u3002\uFF0E\uFF61]/g,AP={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ta=pi-eh,mi=Math.floor,Ea=String.fromCharCode;function Vi(t){throw new RangeError(AP[t])}function TP(t,e){const i=[];let n=t.length;for(;n--;)i[n]=e(t[n]);return i}function E1(t,e){const i=t.split("@");let n="";i.length>1&&(n=i[0]+"@",t=i[1]),t=t.replace(QP,".");const r=t.split("."),s=TP(r,e).join(".");return n+s}function Z1(t){const e=[];let i=0;const n=t.length;for(;i=55296&&r<=56319&&iString.fromCodePoint(...t),ZP=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:pi},Ep=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},D1=function(t,e,i){let n=0;for(t=i?mi(t/$P):t>>1,t+=mi(t/e);t>Ta*xs>>1;n+=pi)t=mi(t/Ta);return mi(n+(Ta+1)*t/(t+_P))},R1=function(t){const e=[],i=t.length;let n=0,r=A1,s=Q1,o=t.lastIndexOf(T1);o<0&&(o=0);for(let l=0;l=128&&Vi("not-basic"),e.push(t.charCodeAt(l));for(let l=o>0?o+1:0;l=i&&Vi("invalid-input");const f=ZP(t.charCodeAt(l++));f>=pi&&Vi("invalid-input"),f>mi((Un-n)/c)&&Vi("overflow"),n+=f*c;const d=h<=s?eh:h>=s+xs?xs:h-s;if(fmi(Un/p)&&Vi("overflow"),c*=p}const u=e.length+1;s=D1(n-a,u,a==0),mi(n/u)>Un-r&&Vi("overflow"),r+=mi(n/u),n%=u,e.splice(n++,0,r)}return String.fromCodePoint(...e)},I1=function(t){const e=[];t=Z1(t);const i=t.length;let n=A1,r=0,s=Q1;for(const a of t)a<128&&e.push(Ea(a));const o=e.length;let l=o;for(o&&e.push(T1);l=n&&cmi((Un-r)/u)&&Vi("overflow"),r+=(a-n)*u,n=a;for(const c of t)if(cUn&&Vi("overflow"),c===n){let h=r;for(let f=pi;;f+=pi){const d=f<=s?eh:f>=s+xs?xs:f-s;if(h=0))try{e.hostname=L1.toASCII(e.hostname)}catch{}return Is(Yc(e))}function jP(t){const e=Nc(t,!0);if(e.hostname&&(!e.protocol||X1.indexOf(e.protocol)>=0))try{e.hostname=L1.toUnicode(e.hostname)}catch{}return pr(Yc(e),pr.defaultChars+"%")}function Lt(t,e){if(!(this instanceof Lt))return new Lt(t,e);e||Gc(t)||(e=t||{},t="default"),this.inline=new Xs,this.block=new Fl,this.core=new Kc,this.renderer=new Sr,this.linkify=new Ct,this.validateLink=FP,this.normalizeLink=zP,this.normalizeLinkText=jP,this.utils=q_,this.helpers=Wl({},G_),this.options={},this.configure(t),e&&this.set(e)}Lt.prototype.set=function(t){return Wl(this.options,t),this};Lt.prototype.configure=function(t){const e=this;if(Gc(t)){const i=t;if(t=MP[i],!t)throw new Error('Wrong `markdown-it` preset "'+i+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(i){t.components[i].rules&&e[i].ruler.enableOnly(t.components[i].rules),t.components[i].rules2&&e[i].ruler2.enableOnly(t.components[i].rules2)}),this};Lt.prototype.enable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.enable(t,!0))},this),i=i.concat(this.inline.ruler2.enable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Lt.prototype.disable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.disable(t,!0))},this),i=i.concat(this.inline.ruler2.disable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Lt.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Lt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");const i=new this.core.State(t,this,e);return this.core.process(i),i.tokens};Lt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Lt.prototype.parseInline=function(t,e){const i=new this.core.State(t,this,e);return i.inlineMode=!0,this.core.process(i),i.tokens};Lt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const Zp=new Set([!0,!1,"alt","title"]);function M1(t,e){return(Array.isArray(t)?t:[]).filter(([i])=>i!==e)}function W1(t,e){t&&t.attrs&&(t.attrs=M1(t.attrs,e))}function BP(t,e){if(!Zp.has(t))throw new TypeError(`figcaption must be one of: ${[...Zp]}.`);if(t==="alt")return e.content;const i=e.attrs.find(([n])=>n==="title");return Array.isArray(i)&&i[1]?(W1(e,"title"),i[1]):void 0}function qP(t,e){e=e||{},t.core.ruler.before("linkify","image_figures",function(i){let n=1;for(let r=1,s=i.tokens.length;rc.match(u)).map(c=>Array.from(c))}if(e.tabindex&&(i.tokens[r-1].attrPush(["tabindex",n]),n++),e.lazy&&(a.attrs.some(([u])=>u==="loading")||a.attrs.push(["loading","lazy"])),e.async&&(a.attrs.some(([u])=>u==="decoding")||a.attrs.push(["decoding","async"])),e.classes&&typeof e.classes=="string"){let u=!1;for(let c=0,h=a.attrs.length;cc==="src");a.attrs.push(["data-src",u[1]]),W1(a,"src")}}})}var zu=!0,V1=!1,F1=!1,YP=function(t,e){e&&(zu=!e.enabled,V1=!!e.label,F1=!!e.labelAfter),t.core.ruler.after("inline","github-task-lists",function(i){for(var n=i.tokens,r=2;r=0;n--)if(t[n].level===i)return n;return-1}function UP(t,e){return tC(t[e])&&iC(t[e-1])&&nC(t[e-2])&&rC(t[e])}function GP(t,e){if(t.children.unshift(HP(t,e)),t.children[1].content=t.children[1].content.slice(3),t.content=t.content.slice(3),V1)if(F1){t.children.pop();var i="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);t.children[0].content=t.children[0].content.slice(0,-1)+' id="'+i+'">',t.children.push(eC(t.content,i,e))}else t.children.unshift(KP(e)),t.children.push(JP(e))}function HP(t,e){var i=new e("html_inline","",0),n=zu?' disabled="" ':"";return t.content.indexOf("[ ] ")===0?i.content='':(t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0)&&(i.content=''),i}function KP(t){var e=new t("html_inline","",0);return e.content="",e}function eC(t,e,i){var n=new i("html_inline","",0);return n.content='",n.attrs=[{for:e}],n}function tC(t){return t.type==="inline"}function iC(t){return t.type==="paragraph_open"}function nC(t){return t.type==="list_item_open"}function rC(t){return t.content.indexOf("[ ] ")===0||t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0}const sC=n0(YP),Dn=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,z1=new Set,ju=typeof process=="object"&&process?process:{},j1=(t,e,i,n)=>{typeof ju.emitWarning=="function"?ju.emitWarning(t,e,i,n):console.error(`[${i}] ${e}: ${t}`)};let vl=globalThis.AbortController,Rp=globalThis.AbortSignal;var i0;if(typeof vl>"u"){Rp=class{constructor(){Ce(this,"onabort");Ce(this,"_onabort",[]);Ce(this,"reason");Ce(this,"aborted",!1)}addEventListener(n,r){this._onabort.push(r)}},vl=class{constructor(){Ce(this,"signal",new Rp);e()}abort(n){var r,s;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(const o of this.signal._onabort)o(n);(s=(r=this.signal).onabort)==null||s.call(r,n)}}};let t=((i0=ju.env)==null?void 0:i0.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const e=()=>{t&&(t=!1,j1("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const oC=t=>!z1.has(t),Ii=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),B1=t=>Ii(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Mo:null:null;class Mo extends Array{constructor(e){super(e),this.fill(0)}}var Gn;const dn=class dn{constructor(e,i){Ce(this,"heap");Ce(this,"length");if(!x(dn,Gn))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new i(e),this.length=0}static create(e){const i=B1(e);if(!i)return[];U(dn,Gn,!0);const n=new dn(e,i);return U(dn,Gn,!1),n}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};Gn=new WeakMap,K(dn,Gn,!1);let Bu=dn;var Vt,xt,Ft,zt,Hn,We,jt,Ie,ve,H,ot,kt,et,Be,Bt,qe,qt,Yt,vt,Nt,Bi,lt,ks,Yu,On,Si,vs,St,_l,q1,gn,Kn,Ss,li,Li,ai,Xi,ws,Nu,zQ,Jn,Wo,er,Vo,Oe,ke,_s,Uu,bn,Fr;const nh=class nh{constructor(e){K(this,ks);K(this,_l);K(this,li);K(this,ai);K(this,ws);K(this,Jn);K(this,er);K(this,Oe);K(this,_s);K(this,bn);K(this,Vt,void 0);K(this,xt,void 0);K(this,Ft,void 0);K(this,zt,void 0);K(this,Hn,void 0);Ce(this,"ttl");Ce(this,"ttlResolution");Ce(this,"ttlAutopurge");Ce(this,"updateAgeOnGet");Ce(this,"updateAgeOnHas");Ce(this,"allowStale");Ce(this,"noDisposeOnSet");Ce(this,"noUpdateTTL");Ce(this,"maxEntrySize");Ce(this,"sizeCalculation");Ce(this,"noDeleteOnFetchRejection");Ce(this,"noDeleteOnStaleGet");Ce(this,"allowStaleOnFetchAbort");Ce(this,"allowStaleOnFetchRejection");Ce(this,"ignoreFetchAbort");K(this,We,void 0);K(this,jt,void 0);K(this,Ie,void 0);K(this,ve,void 0);K(this,H,void 0);K(this,ot,void 0);K(this,kt,void 0);K(this,et,void 0);K(this,Be,void 0);K(this,Bt,void 0);K(this,qe,void 0);K(this,qt,void 0);K(this,Yt,void 0);K(this,vt,void 0);K(this,Nt,void 0);K(this,Bi,void 0);K(this,lt,void 0);K(this,On,()=>{});K(this,Si,()=>{});K(this,vs,()=>{});K(this,St,()=>!1);K(this,gn,e=>{});K(this,Kn,(e,i,n)=>{});K(this,Ss,(e,i,n,r)=>{if(n||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});Ce(this,zQ,"LRUCache");const{max:i=0,ttl:n,ttlResolution:r=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:l,allowStale:a,dispose:u,disposeAfter:c,noDisposeOnSet:h,noUpdateTTL:f,maxSize:d=0,maxEntrySize:p=0,sizeCalculation:m,fetchMethod:g,noDeleteOnFetchRejection:O,noDeleteOnStaleGet:y,allowStaleOnFetchRejection:v,allowStaleOnFetchAbort:S,ignoreFetchAbort:_}=e;if(i!==0&&!Ii(i))throw new TypeError("max option must be a nonnegative integer");const A=i?B1(i):Array;if(!A)throw new Error("invalid max value: "+i);if(U(this,Vt,i),U(this,xt,d),this.maxEntrySize=p||x(this,xt),this.sizeCalculation=m,this.sizeCalculation){if(!x(this,xt)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(g!==void 0&&typeof g!="function")throw new TypeError("fetchMethod must be a function if specified");if(U(this,Hn,g),U(this,Bi,!!g),U(this,Ie,new Map),U(this,ve,new Array(i).fill(void 0)),U(this,H,new Array(i).fill(void 0)),U(this,ot,new A(i)),U(this,kt,new A(i)),U(this,et,0),U(this,Be,0),U(this,Bt,Bu.create(i)),U(this,We,0),U(this,jt,0),typeof u=="function"&&U(this,Ft,u),typeof c=="function"?(U(this,zt,c),U(this,qe,[])):(U(this,zt,void 0),U(this,qe,void 0)),U(this,Nt,!!x(this,Ft)),U(this,lt,!!x(this,zt)),this.noDisposeOnSet=!!h,this.noUpdateTTL=!!f,this.noDeleteOnFetchRejection=!!O,this.allowStaleOnFetchRejection=!!v,this.allowStaleOnFetchAbort=!!S,this.ignoreFetchAbort=!!_,this.maxEntrySize!==0){if(x(this,xt)!==0&&!Ii(x(this,xt)))throw new TypeError("maxSize must be a positive integer if specified");if(!Ii(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");Y(this,_l,q1).call(this)}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!y,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!l,this.ttlResolution=Ii(r)||r===0?r:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!Ii(this.ttl))throw new TypeError("ttl must be a positive integer if specified");Y(this,ks,Yu).call(this)}if(x(this,Vt)===0&&this.ttl===0&&x(this,xt)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!x(this,Vt)&&!x(this,xt)){const C="LRU_CACHE_UNBOUNDED";oC(C)&&(z1.add(C),j1("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",C,nh))}}static unsafeExposeInternals(e){return{starts:x(e,Yt),ttls:x(e,vt),sizes:x(e,qt),keyMap:x(e,Ie),keyList:x(e,ve),valList:x(e,H),next:x(e,ot),prev:x(e,kt),get head(){return x(e,et)},get tail(){return x(e,Be)},free:x(e,Bt),isBackgroundFetch:i=>{var n;return Y(n=e,Oe,ke).call(n,i)},backgroundFetch:(i,n,r,s)=>{var o;return Y(o=e,er,Vo).call(o,i,n,r,s)},moveToTail:i=>{var n;return Y(n=e,bn,Fr).call(n,i)},indexes:i=>{var n;return Y(n=e,li,Li).call(n,i)},rindexes:i=>{var n;return Y(n=e,ai,Xi).call(n,i)},isStale:i=>{var n;return x(n=e,St).call(n,i)}}}get max(){return x(this,Vt)}get maxSize(){return x(this,xt)}get calculatedSize(){return x(this,jt)}get size(){return x(this,We)}get fetchMethod(){return x(this,Hn)}get dispose(){return x(this,Ft)}get disposeAfter(){return x(this,zt)}getRemainingTTL(e){return x(this,Ie).has(e)?1/0:0}*entries(){for(const e of Y(this,li,Li).call(this))x(this,H)[e]!==void 0&&x(this,ve)[e]!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield[x(this,ve)[e],x(this,H)[e]])}*rentries(){for(const e of Y(this,ai,Xi).call(this))x(this,H)[e]!==void 0&&x(this,ve)[e]!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield[x(this,ve)[e],x(this,H)[e]])}*keys(){for(const e of Y(this,li,Li).call(this)){const i=x(this,ve)[e];i!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield i)}}*rkeys(){for(const e of Y(this,ai,Xi).call(this)){const i=x(this,ve)[e];i!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield i)}}*values(){for(const e of Y(this,li,Li).call(this))x(this,H)[e]!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield x(this,H)[e])}*rvalues(){for(const e of Y(this,ai,Xi).call(this))x(this,H)[e]!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield x(this,H)[e])}[Symbol.iterator](){return this.entries()}find(e,i={}){for(const n of Y(this,li,Li).call(this)){const r=x(this,H)[n],s=Y(this,Oe,ke).call(this,r)?r.__staleWhileFetching:r;if(s!==void 0&&e(s,x(this,ve)[n],this))return this.get(x(this,ve)[n],i)}}forEach(e,i=this){for(const n of Y(this,li,Li).call(this)){const r=x(this,H)[n],s=Y(this,Oe,ke).call(this,r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,x(this,ve)[n],this)}}rforEach(e,i=this){for(const n of Y(this,ai,Xi).call(this)){const r=x(this,H)[n],s=Y(this,Oe,ke).call(this,r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,x(this,ve)[n],this)}}purgeStale(){let e=!1;for(const i of Y(this,ai,Xi).call(this,{allowStale:!0}))x(this,St).call(this,i)&&(this.delete(x(this,ve)[i]),e=!0);return e}info(e){const i=x(this,Ie).get(e);if(i===void 0)return;const n=x(this,H)[i],r=Y(this,Oe,ke).call(this,n)?n.__staleWhileFetching:n;if(r===void 0)return;const s={value:r};if(x(this,vt)&&x(this,Yt)){const o=x(this,vt)[i],l=x(this,Yt)[i];if(o&&l){const a=o-(Dn.now()-l);s.ttl=a,s.start=Date.now()}}return x(this,qt)&&(s.size=x(this,qt)[i]),s}dump(){const e=[];for(const i of Y(this,li,Li).call(this,{allowStale:!0})){const n=x(this,ve)[i],r=x(this,H)[i],s=Y(this,Oe,ke).call(this,r)?r.__staleWhileFetching:r;if(s===void 0||n===void 0)continue;const o={value:s};if(x(this,vt)&&x(this,Yt)){o.ttl=x(this,vt)[i];const l=Dn.now()-x(this,Yt)[i];o.start=Math.floor(Date.now()-l)}x(this,qt)&&(o.size=x(this,qt)[i]),e.unshift([n,o])}return e}load(e){this.clear();for(const[i,n]of e){if(n.start){const r=Date.now()-n.start;n.start=Dn.now()-r}this.set(i,n.value,n)}}set(e,i,n={}){var f,d,p,m,g;if(i===void 0)return this.delete(e),this;const{ttl:r=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:a}=n;let{noUpdateTTL:u=this.noUpdateTTL}=n;const c=x(this,Ss).call(this,e,i,n.size||0,l);if(this.maxEntrySize&&c>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.delete(e),this;let h=x(this,We)===0?void 0:x(this,Ie).get(e);if(h===void 0)h=x(this,We)===0?x(this,Be):x(this,Bt).length!==0?x(this,Bt).pop():x(this,We)===x(this,Vt)?Y(this,Jn,Wo).call(this,!1):x(this,We),x(this,ve)[h]=e,x(this,H)[h]=i,x(this,Ie).set(e,h),x(this,ot)[x(this,Be)]=h,x(this,kt)[h]=x(this,Be),U(this,Be,h),qs(this,We)._++,x(this,Kn).call(this,h,c,a),a&&(a.set="add"),u=!1;else{Y(this,bn,Fr).call(this,h);const O=x(this,H)[h];if(i!==O){if(x(this,Bi)&&Y(this,Oe,ke).call(this,O)){O.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:y}=O;y!==void 0&&!o&&(x(this,Nt)&&((f=x(this,Ft))==null||f.call(this,y,e,"set")),x(this,lt)&&((d=x(this,qe))==null||d.push([y,e,"set"])))}else o||(x(this,Nt)&&((p=x(this,Ft))==null||p.call(this,O,e,"set")),x(this,lt)&&((m=x(this,qe))==null||m.push([O,e,"set"])));if(x(this,gn).call(this,h),x(this,Kn).call(this,h,c,a),x(this,H)[h]=i,a){a.set="replace";const y=O&&Y(this,Oe,ke).call(this,O)?O.__staleWhileFetching:O;y!==void 0&&(a.oldValue=y)}}else a&&(a.set="update")}if(r!==0&&!x(this,vt)&&Y(this,ks,Yu).call(this),x(this,vt)&&(u||x(this,vs).call(this,h,r,s),a&&x(this,Si).call(this,a,h)),!o&&x(this,lt)&&x(this,qe)){const O=x(this,qe);let y;for(;y=O==null?void 0:O.shift();)(g=x(this,zt))==null||g.call(this,...y)}return this}pop(){var e;try{for(;x(this,We);){const i=x(this,H)[x(this,et)];if(Y(this,Jn,Wo).call(this,!0),Y(this,Oe,ke).call(this,i)){if(i.__staleWhileFetching)return i.__staleWhileFetching}else if(i!==void 0)return i}}finally{if(x(this,lt)&&x(this,qe)){const i=x(this,qe);let n;for(;n=i==null?void 0:i.shift();)(e=x(this,zt))==null||e.call(this,...n)}}}has(e,i={}){const{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=i,s=x(this,Ie).get(e);if(s!==void 0){const o=x(this,H)[s];if(Y(this,Oe,ke).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(x(this,St).call(this,s))r&&(r.has="stale",x(this,Si).call(this,r,s));else return n&&x(this,On).call(this,s),r&&(r.has="hit",x(this,Si).call(this,r,s)),!0}else r&&(r.has="miss");return!1}peek(e,i={}){const{allowStale:n=this.allowStale}=i,r=x(this,Ie).get(e);if(r===void 0||!n&&x(this,St).call(this,r))return;const s=x(this,H)[r];return Y(this,Oe,ke).call(this,s)?s.__staleWhileFetching:s}async fetch(e,i={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:a=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:m,forceRefresh:g=!1,status:O,signal:y}=i;if(!x(this,Bi))return O&&(O.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,status:O});const v={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:l,size:a,sizeCalculation:u,noUpdateTTL:c,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:p,ignoreFetchAbort:d,status:O,signal:y};let S=x(this,Ie).get(e);if(S===void 0){O&&(O.fetch="miss");const _=Y(this,er,Vo).call(this,e,S,v,m);return _.__returned=_}else{const _=x(this,H)[S];if(Y(this,Oe,ke).call(this,_)){const M=n&&_.__staleWhileFetching!==void 0;return O&&(O.fetch="inflight",M&&(O.returnedStale=!0)),M?_.__staleWhileFetching:_.__returned=_}const A=x(this,St).call(this,S);if(!g&&!A)return O&&(O.fetch="hit"),Y(this,bn,Fr).call(this,S),r&&x(this,On).call(this,S),O&&x(this,Si).call(this,O,S),_;const C=Y(this,er,Vo).call(this,e,S,v,m),R=C.__staleWhileFetching!==void 0&&n;return O&&(O.fetch=A?"stale":"refresh",R&&A&&(O.returnedStale=!0)),R?C.__staleWhileFetching:C.__returned=C}}get(e,i={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=i,l=x(this,Ie).get(e);if(l!==void 0){const a=x(this,H)[l],u=Y(this,Oe,ke).call(this,a);return o&&x(this,Si).call(this,o,l),x(this,St).call(this,l)?(o&&(o.get="stale"),u?(o&&n&&a.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?a.__staleWhileFetching:void 0):(s||this.delete(e),o&&n&&(o.returnedStale=!0),n?a:void 0)):(o&&(o.get="hit"),u?a.__staleWhileFetching:(Y(this,bn,Fr).call(this,l),r&&x(this,On).call(this,l),a))}else o&&(o.get="miss")}delete(e){var n,r,s,o;let i=!1;if(x(this,We)!==0){const l=x(this,Ie).get(e);if(l!==void 0)if(i=!0,x(this,We)===1)this.clear();else{x(this,gn).call(this,l);const a=x(this,H)[l];if(Y(this,Oe,ke).call(this,a)?a.__abortController.abort(new Error("deleted")):(x(this,Nt)||x(this,lt))&&(x(this,Nt)&&((n=x(this,Ft))==null||n.call(this,a,e,"delete")),x(this,lt)&&((r=x(this,qe))==null||r.push([a,e,"delete"]))),x(this,Ie).delete(e),x(this,ve)[l]=void 0,x(this,H)[l]=void 0,l===x(this,Be))U(this,Be,x(this,kt)[l]);else if(l===x(this,et))U(this,et,x(this,ot)[l]);else{const u=x(this,kt)[l];x(this,ot)[u]=x(this,ot)[l];const c=x(this,ot)[l];x(this,kt)[c]=x(this,kt)[l]}qs(this,We)._--,x(this,Bt).push(l)}}if(x(this,lt)&&((s=x(this,qe))!=null&&s.length)){const l=x(this,qe);let a;for(;a=l==null?void 0:l.shift();)(o=x(this,zt))==null||o.call(this,...a)}return i}clear(){var e,i,n;for(const r of Y(this,ai,Xi).call(this,{allowStale:!0})){const s=x(this,H)[r];if(Y(this,Oe,ke).call(this,s))s.__abortController.abort(new Error("deleted"));else{const o=x(this,ve)[r];x(this,Nt)&&((e=x(this,Ft))==null||e.call(this,s,o,"delete")),x(this,lt)&&((i=x(this,qe))==null||i.push([s,o,"delete"]))}}if(x(this,Ie).clear(),x(this,H).fill(void 0),x(this,ve).fill(void 0),x(this,vt)&&x(this,Yt)&&(x(this,vt).fill(0),x(this,Yt).fill(0)),x(this,qt)&&x(this,qt).fill(0),U(this,et,0),U(this,Be,0),x(this,Bt).length=0,U(this,jt,0),U(this,We,0),x(this,lt)&&x(this,qe)){const r=x(this,qe);let s;for(;s=r==null?void 0:r.shift();)(n=x(this,zt))==null||n.call(this,...s)}}};zQ=Symbol.toStringTag,Vt=new WeakMap,xt=new WeakMap,Ft=new WeakMap,zt=new WeakMap,Hn=new WeakMap,We=new WeakMap,jt=new WeakMap,Ie=new WeakMap,ve=new WeakMap,H=new WeakMap,ot=new WeakMap,kt=new WeakMap,et=new WeakMap,Be=new WeakMap,Bt=new WeakMap,qe=new WeakMap,qt=new WeakMap,Yt=new WeakMap,vt=new WeakMap,Nt=new WeakMap,Bi=new WeakMap,lt=new WeakMap,ks=new WeakSet,Yu=function(){const e=new Mo(x(this,Vt)),i=new Mo(x(this,Vt));U(this,vt,e),U(this,Yt,i),U(this,vs,(s,o,l=Dn.now())=>{if(i[s]=o!==0?l:0,e[s]=o,o!==0&&this.ttlAutopurge){const a=setTimeout(()=>{x(this,St).call(this,s)&&this.delete(x(this,ve)[s])},o+1);a.unref&&a.unref()}}),U(this,On,s=>{i[s]=e[s]!==0?Dn.now():0}),U(this,Si,(s,o)=>{if(e[o]){const l=e[o],a=i[o];if(!l||!a)return;s.ttl=l,s.start=a,s.now=n||r();const u=s.now-a;s.remainingTTL=l-u}});let n=0;const r=()=>{const s=Dn.now();if(this.ttlResolution>0){n=s;const o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{const o=x(this,Ie).get(s);if(o===void 0)return 0;const l=e[o],a=i[o];if(!l||!a)return 1/0;const u=(n||r())-a;return l-u},U(this,St,s=>{const o=i[s],l=e[s];return!!l&&!!o&&(n||r())-o>l})},On=new WeakMap,Si=new WeakMap,vs=new WeakMap,St=new WeakMap,_l=new WeakSet,q1=function(){const e=new Mo(x(this,Vt));U(this,jt,0),U(this,qt,e),U(this,gn,i=>{U(this,jt,x(this,jt)-e[i]),e[i]=0}),U(this,Ss,(i,n,r,s)=>{if(Y(this,Oe,ke).call(this,n))return 0;if(!Ii(r))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(r=s(n,i),!Ii(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r}),U(this,Kn,(i,n,r)=>{if(e[i]=n,x(this,xt)){const s=x(this,xt)-e[i];for(;x(this,jt)>s;)Y(this,Jn,Wo).call(this,!0)}U(this,jt,x(this,jt)+e[i]),r&&(r.entrySize=n,r.totalCalculatedSize=x(this,jt))})},gn=new WeakMap,Kn=new WeakMap,Ss=new WeakMap,li=new WeakSet,Li=function*({allowStale:e=this.allowStale}={}){if(x(this,We))for(let i=x(this,Be);!(!Y(this,ws,Nu).call(this,i)||((e||!x(this,St).call(this,i))&&(yield i),i===x(this,et)));)i=x(this,kt)[i]},ai=new WeakSet,Xi=function*({allowStale:e=this.allowStale}={}){if(x(this,We))for(let i=x(this,et);!(!Y(this,ws,Nu).call(this,i)||((e||!x(this,St).call(this,i))&&(yield i),i===x(this,Be)));)i=x(this,ot)[i]},ws=new WeakSet,Nu=function(e){return e!==void 0&&x(this,Ie).get(x(this,ve)[e])===e},Jn=new WeakSet,Wo=function(e){var s,o;const i=x(this,et),n=x(this,ve)[i],r=x(this,H)[i];return x(this,Bi)&&Y(this,Oe,ke).call(this,r)?r.__abortController.abort(new Error("evicted")):(x(this,Nt)||x(this,lt))&&(x(this,Nt)&&((s=x(this,Ft))==null||s.call(this,r,n,"evict")),x(this,lt)&&((o=x(this,qe))==null||o.push([r,n,"evict"]))),x(this,gn).call(this,i),e&&(x(this,ve)[i]=void 0,x(this,H)[i]=void 0,x(this,Bt).push(i)),x(this,We)===1?(U(this,et,U(this,Be,0)),x(this,Bt).length=0):U(this,et,x(this,ot)[i]),x(this,Ie).delete(n),qs(this,We)._--,i},er=new WeakSet,Vo=function(e,i,n,r){const s=i===void 0?void 0:x(this,H)[i];if(Y(this,Oe,ke).call(this,s))return s;const o=new vl,{signal:l}=n;l==null||l.addEventListener("abort",()=>o.abort(l.reason),{signal:o.signal});const a={signal:o.signal,options:n,context:r},u=(m,g=!1)=>{const{aborted:O}=o.signal,y=n.ignoreFetchAbort&&m!==void 0;if(n.status&&(O&&!g?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,y&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),O&&!y&&!g)return h(o.signal.reason);const v=d;return x(this,H)[i]===d&&(m===void 0?v.__staleWhileFetching?x(this,H)[i]=v.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,m,a.options))),m},c=m=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=m),h(m)),h=m=>{const{aborted:g}=o.signal,O=g&&n.allowStaleOnFetchAbort,y=O||n.allowStaleOnFetchRejection,v=y||n.noDeleteOnFetchRejection,S=d;if(x(this,H)[i]===d&&(!v||S.__staleWhileFetching===void 0?this.delete(e):O||(x(this,H)[i]=S.__staleWhileFetching)),y)return n.status&&S.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),S.__staleWhileFetching;if(S.__returned===S)throw m},f=(m,g)=>{var y;const O=(y=x(this,Hn))==null?void 0:y.call(this,e,s,a);O&&O instanceof Promise&&O.then(v=>m(v===void 0?void 0:v),g),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(m(void 0),n.allowStaleOnFetchAbort&&(m=v=>u(v,!0)))})};n.status&&(n.status.fetchDispatched=!0);const d=new Promise(f).then(u,c),p=Object.assign(d,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return i===void 0?(this.set(e,p,{...a.options,status:void 0}),i=x(this,Ie).get(e)):x(this,H)[i]=p,p},Oe=new WeakSet,ke=function(e){if(!x(this,Bi))return!1;const i=e;return!!i&&i instanceof Promise&&i.hasOwnProperty("__staleWhileFetching")&&i.__abortController instanceof vl},_s=new WeakSet,Uu=function(e,i){x(this,kt)[i]=e,x(this,ot)[e]=i},bn=new WeakSet,Fr=function(e){e!==x(this,Be)&&(e===x(this,et)?U(this,et,x(this,ot)[e]):Y(this,_s,Uu).call(this,x(this,kt)[e],x(this,ot)[e]),Y(this,_s,Uu).call(this,x(this,Be),e),U(this,Be,e))};let qu=nh;function lC(t,e){for(var i=0;in[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const aC=(t,e)=>{const i=ne("editorId"),{noImgZoomIn:n}=t,r=Ku(()=>{const s=document.querySelectorAll(`#${i}-preview img:not(.not-zoom)`);s.length!==0&&G3(s,{background:"#00000073"})});De(()=>{r()}),J([e,qi(t.setting,"preview")],()=>{!n&&t.setting.preview&&r()})},uC=(t,e,i)=>{const n=ne("editorId"),r=ne("usedLanguageText"),s=()=>{document.querySelectorAll(`#${n} .${k}-preview .${k}-code`).forEach(a=>{let u=-1;const c=a.querySelector(`.${k}-copy-button`);c&&(c.onclick=h=>{h.preventDefault(),clearTimeout(u);const d=(a.querySelector("input:checked + pre code")||a.querySelector("pre code")).textContent,p=s_(t.formatCopiedText(d)),{text:m,successTips:g,failTips:O}=r.value.copyCode,y=p?g:O;c.dataset.isIcon?c.dataset.tips=y:c.innerHTML=y,u=window.setTimeout(()=>{c.dataset.isIcon?c.dataset.tips=m:c.innerHTML=m},1500)})})},o=()=>{gi(s)},l=a=>{a&&gi(s)};J([e,i],o),J(()=>t.setting.preview,l),J(()=>t.setting.htmlPreview,l),J(()=>r.value,s),De(s)},cC=t=>{const e=ne("highlight"),i=yn(ze.editorExtensions.highlight.instance);return De(()=>{t.noHighlight||i.value||(dt("link",{...e.value.css,rel:"stylesheet",id:`${k}-hlCss`}),dt("script",{...e.value.js,id:`${k}-hljs`,onload(){i.value=window.hljs}},"hljs"))}),J(()=>e.value.css,()=>{Lb("link",{...e.value.css,rel:"stylesheet",id:`${k}-hlCss`})}),i},hC=t=>{const e=ne("theme"),{editorExtensions:i,editorExtensionsAttrs:n,mermaidConfig:r}=ze,s=yn(i.mermaid.instance),o=yn(-1),l=new qu({max:1e3,ttl:6e5}),a=()=>{const c=s.value;!t.noMermaid&&c&&(c.initialize(r({startOnLoad:!1,theme:e.value==="dark"?"dark":"default"})),o.value=o.value+1)};return J(()=>e.value,()=>{l.clear(),a()}),De(()=>{var c,h,f;if(t.noMermaid||(c=s.value)!=null&&c.instance)return;const d=i.mermaid.js;/\.mjs/.test(d)?(dt("link",{...(h=n.mermaid)==null?void 0:h.js,rel:"modulepreload",href:d,id:`${k}-mermaid-m`}),import(d).then(p=>{s.value=p.default,a()})):dt("script",{...(f=n.mermaid)==null?void 0:f.js,src:d,id:`${k}-mermaid`,onload(){s.value=window.mermaid,a()}},"mermaid")}),{mermaidRef:s,reRenderRef:o,replaceMermaid:()=>{gi(()=>{if(!t.noMermaid&&s.value){const c=document.querySelectorAll(`div.${k}-mermaid`),h=document.createElement("div");h.style.width=document.body.offsetWidth+"px",h.style.height=document.body.offsetHeight+"px",h.style.position="fixed",h.style.zIndex="-10000",h.style.top="-10000";let f=c.length;f>0&&document.body.appendChild(h),c.forEach(async d=>{let p=l.get(d.innerText);if(!p){const g=Ma(),O=s.value.renderAsync||s.value.render;let y="";try{y=await O(g,d.innerText,h)}catch{}p=await t.sanitizeMermaid(typeof y=="string"?y:y.svg),l.set(d.innerText,p)}const m=document.createElement("p");m.className=`${k}-mermaid`,m.setAttribute("data-processed",""),m.innerHTML=p,d.dataset.line!==void 0&&(m.dataset.line=d.dataset.line),d.replaceWith(m),--f===0&&h.remove()})}})}}},fC=t=>{const e=yn(ze.editorExtensions.katex.instance);return De(()=>{if(t.noKatex||e.value)return;const{editorExtensions:i}=ze;dt("script",{src:i.katex.js,id:`${k}-katex`,onload(){e.value=window.katex}},"katex"),dt("link",{rel:"stylesheet",href:i.katex.css,id:`${k}-katexCss`})}),e},dC=(t,e)=>{const i=t.renderer.rules.fence.bind(t.renderer.rules);t.renderer.rules.fence=(n,r,s,o,l)=>{const a=n[r],u=a.content.trim();if(a.info==="mermaid"){let c;return n[r].map&&n[r].level===0&&(c=n[r].map[0],n[r].attrSet("data-line",String(c))),`
${u}
`}return i(n,r,s,o,l)}},pC=dC,Sl=(t,e)=>{const i=t.attrs?t.attrs.slice():[];return e.forEach(n=>{const r=t.attrIndex(n[0]);r<0?i.push(n):(i[r]=i[r].slice(),i[r][1]+=` ${n[1]}`)}),i},Ip=(t,e)=>{let i=!0,n=!0;const r=t.posMax,s=e>0?t.src.charCodeAt(e-1):-1,o=e+1<=r?t.src.charCodeAt(e+1):-1;return(s===32||s===9||o>=48&&o<=57)&&(n=!1),(o===32||o===9)&&(i=!1),{can_open:i,can_close:n}},mC=(t,e)=>{let i,n,r,s;if(t.src[t.pos]!=="$")return!1;if(r=Ip(t,t.pos),!r.can_open)return e||(t.pending+="$"),t.pos+=1,!0;const o=t.pos+1;for(i=o;(i=t.src.indexOf("$",i))!==-1;){for(s=i-1;t.src[s]==="\\";)s-=1;if((i-s)%2==1)break;i+=1}return i===-1?(e||(t.pending+="$"),t.pos=o,!0):i-o===0?(e||(t.pending+="$$"),t.pos=o+1,!0):(r=Ip(t,i),r.can_close?(e||(n=t.push("math_inline","math",0),n.markup="$",n.content=t.src.slice(o,i)),t.pos=i+1,!0):(e||(t.pending+="$"),t.pos=o,!0))},OC=(t,e,i,n)=>{let r,s,o,l,a=!1,u=t.bMarks[e]+t.tShift[e],c=t.eMarks[e];if(u+2>c||t.src.slice(u,u+2)!=="$$")return!1;if(u+=2,r=t.src.slice(u,c),n)return!0;for(r.trim().slice(-2)==="$$"&&(r=r.trim().slice(0,-2),a=!0),o=e;!a&&(o++,!(o>=i||(u=t.bMarks[o]+t.tShift[o],c=t.eMarks[o],u{const i=(r,s,o,l,a)=>{const u=r[s],c={attrs:Sl(u,[["class",`${k}-katex-inline`]])};if(e.value){const h=e.value.renderToString(u.content,{throwOnError:!1});return`${h}`}else return`${u.content}`},n=(r,s,o,l,a)=>{const u=r[s],c={attrs:Sl(u,[["class",`${k}-katex-block`]])};if(e.value){const h=e.value.renderToString(u.content,{throwOnError:!1,displayMode:!0});return`

${h}

`}else return`

${u.content}

`};t.inline.ruler.after("escape","math_inline",mC),t.block.ruler.after("blockquote","math_block",OC,{alt:["paragraph","reference","blockquote","list"]}),t.renderer.rules.math_inline=i,t.renderer.rules.math_block=n},bC=gC,yC=(t,e)=>{e=e||{};const i=3,n=e.marker||"!",r=n.charCodeAt(0),s=n.length;let o="",l="";const a=(c,h,f,d,p)=>{const m=c[h];return m.type==="admonition_open"?c[h].attrPush(["class",`${k}-admonition ${k}-admonition-${m.info}`]):m.type==="admonition_title_open"&&c[h].attrPush(["class",`${k}-admonition-title`]),p.renderToken(c,h,f)},u=c=>{const h=c.trim().split(" ",2);l="",o=h[0],h.length>1&&(l=c.substring(o.length+2))};t.block.ruler.before("code","admonition",(c,h,f,d)=>{let p,m,g,O=!1,y=c.bMarks[h]+c.tShift[h],v=c.eMarks[h];if(r!==c.src.charCodeAt(y))return!1;for(p=y+1;p<=v&&n[(p-y)%s]===c.src[p];p++);const S=Math.floor((p-y)/s);if(S!==i)return!1;p-=(p-y)%s;const _=c.src.slice(y,p),A=c.src.slice(p,v);if(u(A),d)return!0;for(m=h;m++,!(m>=f||(y=c.bMarks[m]+c.tShift[m],v=c.eMarks[m],y=4)){for(p=y+1;p<=v&&n[(p-y)%s]===c.src[p];p++);if(!(Math.floor((p-y)/s){t.renderer.rules.heading_open=(i,n)=>{var r;const s=i[n],o=((r=i[n+1].children)==null?void 0:r.reduce((a,u)=>a+(["text","code_inline"].includes(u.type)&&u.content||""),""))||"",l=s.markup.length;return e.headsRef.value.push({text:o,level:l}),s.map&&s.level===0&&s.attrSet("id",e.mdHeadingId(o,l,e.headsRef.value.length)),t.renderer.renderToken(i,n,e)},t.renderer.rules.heading_close=(i,n,r,s,o)=>o.renderToken(i,n,r)},vC=kC,SC=(t,e)=>{if(typeof e[t]=="string")return e[t];const i=``;switch(ze.iconfontType){case"svg":return``;default:return i}},wC=SC,_C=(t,e)=>{const i=t.renderer.rules.fence,n=t.utils.unescapeAll,r=/\[(\w*)(?::([\w ]*))?\]/,s=/::close/,o=h=>h.info?n(h.info).trim():"",l=h=>{const f=o(h),[d=null,p=""]=(r.exec(f)||[]).slice(1);return[d,p]},a=h=>{const f=o(h);return f?f.split(/(\s+)/g)[0]:""},u=h=>{const f=s.test(h.info),d=!f&&h.content.trim().split(` -`).length{var g;if(h[f].hidden)return"";const O=(g=e.usedLanguageTextRef.value)==null?void 0:g.copyCode.text,y=e.customIconRef.value.copy||O,v=!!e.customIconRef.value.copy,S=`${wC("collapse-tips",e.customIconRef.value)}`,[_]=l(h[f]);if(_===null){const{open:te,tagContainer:de,tagHeader:le}=u(h[f]),pe=[["class",`${k}-code`]];te&&pe.push(["open",""]);const Ae={attrs:Sl(h[f],pe)};h[f].info=h[f].info.replace(s,"");const Ze=i(h,f,d,p,m);return`<${de} ${m.renderAttrs(Ae)}> +`:">",s};vr.prototype.renderInline=function(t,e,i){let n="";const r=this.rules;for(let s=0,o=t.length;s=0&&(n=this.attrs[i][1]),n};ti.prototype.attrJoin=function(e,i){const n=this.attrIndex(e);n<0?this.attrPush([e,i]):this.attrs[n][1]=this.attrs[n][1]+" "+i};function _1(t,e,i){this.src=t,this.env=i,this.tokens=[],this.inlineMode=!1,this.md=e}_1.prototype.Token=ti;const n$=/\r\n?|\n/g,r$=/\0/g;function s$(t){let e;e=t.src.replace(n$,` +`),e=e.replace(r$,"�"),t.src=e}function o$(t){let e;t.inlineMode?(e=new t.Token("inline","",0),e.content=t.src,e.map=[0,1],e.children=[],t.tokens.push(e)):t.md.block.parse(t.src,t.md,t.env,t.tokens)}function l$(t){const e=t.tokens;for(let i=0,n=e.length;i\s]/i.test(t)}function u$(t){return/^<\/a\s*>/i.test(t)}function c$(t){const e=t.tokens;if(t.md.options.linkify)for(let i=0,n=e.length;i=0;o--){const l=r[o];if(l.type==="link_close"){for(o--;r[o].level!==l.level&&r[o].type!=="link_open";)o--;continue}if(l.type==="html_inline"&&(a$(l.content)&&s>0&&s--,u$(l.content)&&s++),!(s>0)&&l.type==="text"&&t.md.linkify.test(l.content)){const a=l.content;let u=t.md.linkify.match(a);const c=[];let h=l.level,f=0;u.length>0&&u[0].index===0&&o>0&&r[o-1].type==="text_special"&&(u=u.slice(1));for(let d=0;df){const _=new t.Token("text","",0);_.content=a.slice(f,O),_.level=h,c.push(_)}const y=new t.Token("link_open","a",1);y.attrs=[["href",m]],y.level=h++,y.markup="linkify",y.info="auto",c.push(y);const v=new t.Token("text","",0);v.content=g,v.level=h,c.push(v);const S=new t.Token("link_close","a",-1);S.level=--h,S.markup="linkify",S.info="auto",c.push(S),f=u[d].lastIndex}if(f=0;i--){const n=t[i];n.type==="text"&&!e&&(n.content=n.content.replace(f$,p$)),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function O$(t){let e=0;for(let i=t.length-1;i>=0;i--){const n=t[i];n.type==="text"&&!e&&$1.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&e--,n.type==="link_close"&&n.info==="auto"&&e++}}function g$(t){let e;if(t.md.options.typographer)for(e=t.tokens.length-1;e>=0;e--)t.tokens[e].type==="inline"&&(h$.test(t.tokens[e].content)&&m$(t.tokens[e].children),$1.test(t.tokens[e].content)&&O$(t.tokens[e].children))}const b$=/['"]/,w0=/['"]/g,_0="’";function xo(t,e,i){return t.slice(0,e)+i+t.slice(e+1)}function y$(t,e){let i;const n=[];for(let r=0;r=0&&!(n[i].level<=o);i--);if(n.length=i+1,s.type!=="text")continue;let l=s.content,a=0,u=l.length;e:for(;a=0)p=l.charCodeAt(c.index-1);else for(i=r-1;i>=0&&!(t[i].type==="softbreak"||t[i].type==="hardbreak");i--)if(t[i].content){p=t[i].content.charCodeAt(t[i].content.length-1);break}let m=32;if(a=48&&p<=57&&(f=h=!1),h&&f&&(h=g,f=O),!h&&!f){d&&(s.content=xo(s.content,c.index,_0));continue}if(f)for(i=n.length-1;i>=0;i--){let S=n[i];if(n[i].level=0;e--)t.tokens[e].type!=="inline"||!b$.test(t.tokens[e].content)||y$(t.tokens[e].children,t)}function k$(t){let e,i;const n=t.tokens,r=n.length;for(let s=0;s0&&this.level++,this.tokens.push(n),n};yi.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};yi.prototype.skipEmptyLines=function(e){for(let i=this.lineMax;ei;)if(!xe(this.src.charCodeAt(--e)))return e+1;return e};yi.prototype.skipChars=function(e,i){for(let n=this.src.length;en;)if(i!==this.src.charCodeAt(--e))return e+1;return e};yi.prototype.getLines=function(e,i,n,r){if(e>=i)return"";const s=new Array(i-e);for(let o=0,l=e;ln?s[o]=new Array(a-n+1).join(" ")+this.src.slice(c,h):s[o]=this.src.slice(c,h)}return s.join("")};yi.prototype.Token=ti;const v$=65536;function Qa(t,e){const i=t.bMarks[e]+t.tShift[e],n=t.eMarks[e];return t.src.slice(i,n)}function $0(t){const e=[],i=t.length;let n=0,r=t.charCodeAt(n),s=!1,o=0,l="";for(;ni)return!1;let r=e+1;if(t.sCount[r]=4)return!1;let s=t.bMarks[r]+t.tShift[r];if(s>=t.eMarks[r])return!1;const o=t.src.charCodeAt(s++);if(o!==124&&o!==45&&o!==58||s>=t.eMarks[r])return!1;const l=t.src.charCodeAt(s++);if(l!==124&&l!==45&&l!==58&&!xe(l)||o===45&&xe(l))return!1;for(;s=4)return!1;u=$0(a),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop();const h=u.length;if(h===0||h!==c.length)return!1;if(n)return!0;const f=t.parentType;t.parentType="table";const d=t.md.block.ruler.getRules("blockquote"),p=t.push("table_open","table",1),m=[e,0];p.map=m;const g=t.push("thead_open","thead",1);g.map=[e,e+1];const O=t.push("tr_open","tr",1);O.map=[e,e+1];for(let S=0;S=4||(u=$0(a),u.length&&u[0]===""&&u.shift(),u.length&&u[u.length-1]===""&&u.pop(),v+=h-u.length,v>v$))break;if(r===e+2){const A=t.push("tbody_open","tbody",1);A.map=y=[e+2,0]}const _=t.push("tr_open","tr",1);_.map=[r,r+1];for(let A=0;A=4){n++,r=n;continue}break}t.line=r;const s=t.push("code_block","code",0);return s.content=t.getLines(e,r,4+t.blkIndent,!1)+` +`,s.map=[e,t.line],!0}function _$(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||r+3>s)return!1;const o=t.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let l=r;r=t.skipChars(r,o);let a=r-l;if(a<3)return!1;const u=t.src.slice(l,r),c=t.src.slice(r,s);if(o===96&&c.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;let h=e,f=!1;for(;h++,!(h>=i||(r=l=t.bMarks[h]+t.tShift[h],s=t.eMarks[h],r=4)&&(r=t.skipChars(r,o),!(r-l=4||t.src.charCodeAt(r)!==62)return!1;if(n)return!0;const l=[],a=[],u=[],c=[],h=t.md.block.ruler.getRules("blockquote"),f=t.parentType;t.parentType="blockquote";let d=!1,p;for(p=e;p=s)break;if(t.src.charCodeAt(r++)===62&&!v){let _=t.sCount[p]+1,A,C;t.src.charCodeAt(r)===32?(r++,_++,C=!1,A=!0):t.src.charCodeAt(r)===9?(A=!0,(t.bsCount[p]+_)%4===3?(r++,_++,C=!1):C=!0):A=!1;let $=_;for(l.push(t.bMarks[p]),t.bMarks[p]=r;r=s,a.push(t.bsCount[p]),t.bsCount[p]=t.sCount[p]+1+(A?1:0),u.push(t.sCount[p]),t.sCount[p]=$-_,c.push(t.tShift[p]),t.tShift[p]=r-t.bMarks[p];continue}if(d)break;let S=!1;for(let _=0,A=h.length;_";const O=[e,0];g.map=O,t.md.block.tokenize(t,e,p);const y=t.push("blockquote_close","blockquote",-1);y.markup=">",t.lineMax=o,t.parentType=f,O[1]=t.line;for(let v=0;v=4)return!1;let s=t.bMarks[e]+t.tShift[e];const o=t.src.charCodeAt(s++);if(o!==42&&o!==45&&o!==95)return!1;let l=1;for(;s=n)return-1;let s=t.src.charCodeAt(r++);if(s<48||s>57)return-1;for(;;){if(r>=n)return-1;if(s=t.src.charCodeAt(r++),s>=48&&s<=57){if(r-i>=10)return-1;continue}if(s===41||s===46)break;return-1}return r=4||t.listIndent>=0&&t.sCount[a]-t.listIndent>=4&&t.sCount[a]=t.blkIndent&&(c=!0);let h,f,d;if((d=C0(t,a))>=0){if(h=!0,o=t.bMarks[a]+t.tShift[a],f=Number(t.src.slice(o,d-1)),c&&f!==1)return!1}else if((d=P0(t,a))>=0)h=!1;else return!1;if(c&&t.skipSpaces(d)>=t.eMarks[a])return!1;if(n)return!0;const p=t.src.charCodeAt(d-1),m=t.tokens.length;h?(l=t.push("ordered_list_open","ol",1),f!==1&&(l.attrs=[["start",f]])):l=t.push("bullet_list_open","ul",1);const g=[a,0];l.map=g,l.markup=String.fromCharCode(p);let O=!1;const y=t.md.block.ruler.getRules("list"),v=t.parentType;for(t.parentType="list";a=r?C=1:C=_-S,C>4&&(C=1);const $=S+C;l=t.push("list_item_open","li",1),l.markup=String.fromCharCode(p);const R=[a,0];l.map=R,h&&(l.info=t.src.slice(o,d-1));const M=t.tight,X=t.tShift[a],Z=t.sCount[a],L=t.listIndent;if(t.listIndent=t.blkIndent,t.blkIndent=$,t.tight=!0,t.tShift[a]=A-t.bMarks[a],t.sCount[a]=_,A>=r&&t.isEmpty(a+1)?t.line=Math.min(t.line+2,i):t.md.block.tokenize(t,a,i,!0),(!t.tight||O)&&(u=!1),O=t.line-a>1&&t.isEmpty(t.line-1),t.blkIndent=t.listIndent,t.listIndent=L,t.tShift[a]=X,t.sCount[a]=Z,t.tight=M,l=t.push("list_item_close","li",-1),l.markup=String.fromCharCode(p),a=t.line,R[1]=a,a>=i||t.sCount[a]=4)break;let V=!1;for(let z=0,q=y.length;z=4||t.src.charCodeAt(r)!==91)return!1;function l(y){const v=t.lineMax;if(y>=v||t.isEmpty(y))return null;let S=!1;if(t.sCount[y]-t.blkIndent>3&&(S=!0),t.sCount[y]<0&&(S=!0),!S){const C=t.md.block.ruler.getRules("reference"),$=t.parentType;t.parentType="reference";let R=!1;for(let M=0,X=C.length;M"u"&&(t.env.references={}),typeof t.env.references[O]>"u"&&(t.env.references[O]={title:g,href:h}),t.line=o),!0):!1}const T$=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],E$="[a-zA-Z_:][a-zA-Z0-9:._-]*",Z$="[^\"'=<>`\\x00-\\x20]+",D$="'[^']*'",R$='"[^"]*"',I$="(?:"+Z$+"|"+D$+"|"+R$+")",L$="(?:\\s+"+E$+"(?:\\s*=\\s*"+I$+")?)",P1="<[A-Za-z][A-Za-z0-9\\-]*"+L$+"*\\s*\\/?>",C1="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",X$="",M$="<[?][\\s\\S]*?[?]>",W$="]*>",V$="",F$=new RegExp("^(?:"+P1+"|"+C1+"|"+X$+"|"+M$+"|"+W$+"|"+V$+")"),z$=new RegExp("^(?:"+P1+"|"+C1+")"),Zn=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(z$.source+"\\s*$"),/^$/,!1]];function j$(t,e,i,n){let r=t.bMarks[e]+t.tShift[e],s=t.eMarks[e];if(t.sCount[e]-t.blkIndent>=4||!t.md.options.html||t.src.charCodeAt(r)!==60)return!1;let o=t.src.slice(r,s),l=0;for(;l=4)return!1;let o=t.src.charCodeAt(r);if(o!==35||r>=s)return!1;let l=1;for(o=t.src.charCodeAt(++r);o===35&&r6||rr&&xe(t.src.charCodeAt(a-1))&&(s=a),t.line=e+1;const u=t.push("heading_open","h"+String(l),1);u.markup="########".slice(0,l),u.map=[e,t.line];const c=t.push("inline","",0);c.content=t.src.slice(r,s).trim(),c.map=[e,t.line],c.children=[];const h=t.push("heading_close","h"+String(l),-1);return h.markup="########".slice(0,l),!0}function q$(t,e,i){const n=t.md.block.ruler.getRules("paragraph");if(t.sCount[e]-t.blkIndent>=4)return!1;const r=t.parentType;t.parentType="paragraph";let s=0,o,l=e+1;for(;l3)continue;if(t.sCount[l]>=t.blkIndent){let d=t.bMarks[l]+t.tShift[l];const p=t.eMarks[l];if(d=p))){s=o===61?1:2;break}}if(t.sCount[l]<0)continue;let f=!1;for(let d=0,p=n.length;d3||t.sCount[s]<0)continue;let u=!1;for(let c=0,h=n.length;c=i||t.sCount[o]=s){t.line=i;break}const a=t.line;let u=!1;for(let c=0;c=t.line)throw new Error("block rule didn't increment state.line");break}if(!u)throw new Error("none of the block rules matched");t.tight=!l,t.isEmpty(t.line-1)&&(l=!0),o=t.line,o0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(r),n};Is.prototype.scanDelims=function(t,e){const i=this.posMax,n=this.src.charCodeAt(t),r=t>0?this.src.charCodeAt(t-1):32;let s=t;for(;s0)return!1;const i=t.pos,n=t.posMax;if(i+3>n||t.src.charCodeAt(i)!==58||t.src.charCodeAt(i+1)!==47||t.src.charCodeAt(i+2)!==47)return!1;const r=t.pending.match(G$);if(!r)return!1;const s=r[1],o=t.md.linkify.matchAtStart(t.src.slice(i-s.length));if(!o)return!1;let l=o.url;if(l.length<=s.length)return!1;l=l.replace(/\*+$/,"");const a=t.md.normalizeLink(l);if(!t.md.validateLink(a))return!1;if(!e){t.pending=t.pending.slice(0,-s.length);const u=t.push("link_open","a",1);u.attrs=[["href",a]],u.markup="linkify",u.info="auto";const c=t.push("text","",0);c.content=t.md.normalizeLinkText(l);const h=t.push("link_close","a",-1);h.markup="linkify",h.info="auto"}return t.pos+=l.length-s.length,!0}function K$(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==10)return!1;const n=t.pending.length-1,r=t.posMax;if(!e)if(n>=0&&t.pending.charCodeAt(n)===32)if(n>=1&&t.pending.charCodeAt(n-1)===32){let s=n-1;for(;s>=1&&t.pending.charCodeAt(s-1)===32;)s--;t.pending=t.pending.slice(0,s),t.push("hardbreak","br",0)}else t.pending=t.pending.slice(0,-1),t.push("softbreak","br",0);else t.push("softbreak","br",0);for(i++;i?@[]^_`{|}~-".split("").forEach(function(t){th[t.charCodeAt(0)]=1});function J$(t,e){let i=t.pos;const n=t.posMax;if(t.src.charCodeAt(i)!==92||(i++,i>=n))return!1;let r=t.src.charCodeAt(i);if(r===10){for(e||t.push("hardbreak","br",0),i++;i=55296&&r<=56319&&i+1=56320&&l<=57343&&(s+=t.src[i+1],i++)}const o="\\"+s;if(!e){const l=t.push("text_special","",0);r<256&&th[r]!==0?l.content=s:l.content=o,l.markup=o,l.info="escape"}return t.pos=i+1,!0}function eP(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==96)return!1;const r=i;i++;const s=t.posMax;for(;i=0;n--){const r=e[n];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;const s=e[r.end],o=n>0&&e[n-1].end===r.end+1&&e[n-1].marker===r.marker&&e[n-1].token===r.token-1&&e[r.end+1].token===s.token+1,l=String.fromCharCode(r.marker),a=t.tokens[r.token];a.type=o?"strong_open":"em_open",a.tag=o?"strong":"em",a.nesting=1,a.markup=o?l+l:l,a.content="";const u=t.tokens[s.token];u.type=o?"strong_close":"em_close",u.tag=o?"strong":"em",u.nesting=-1,u.markup=o?l+l:l,u.content="",o&&(t.tokens[e[n-1].token].content="",t.tokens[e[r.end+1].token].content="",n--)}}function rP(t){const e=t.tokens_meta,i=t.tokens_meta.length;A0(t,t.delimiters);for(let n=0;n=h)return!1;if(a=p,r=t.md.helpers.parseLinkDestination(t.src,p,t.posMax),r.ok){for(o=t.md.normalizeLink(r.str),t.md.validateLink(o)?p=r.pos:o="",a=p;p=h||t.src.charCodeAt(p)!==41)&&(u=!0),p++}if(u){if(typeof t.env.references>"u")return!1;if(p=0?n=t.src.slice(a,p++):p=d+1):p=d+1,n||(n=t.src.slice(f,d)),s=t.env.references[Vl(n)],!s)return t.pos=c,!1;o=s.href,l=s.title}if(!e){t.pos=f,t.posMax=d;const m=t.push("link_open","a",1),g=[["href",o]];m.attrs=g,l&&g.push(["title",l]),t.linkLevel++,t.md.inline.tokenize(t),t.linkLevel--,t.push("link_close","a",-1)}return t.pos=p,t.posMax=h,!0}function oP(t,e){let i,n,r,s,o,l,a,u,c="";const h=t.pos,f=t.posMax;if(t.src.charCodeAt(t.pos)!==33||t.src.charCodeAt(t.pos+1)!==91)return!1;const d=t.pos+2,p=t.md.helpers.parseLinkLabel(t,t.pos+1,!1);if(p<0)return!1;if(s=p+1,s=f)return!1;for(u=s,l=t.md.helpers.parseLinkDestination(t.src,s,t.posMax),l.ok&&(c=t.md.normalizeLink(l.str),t.md.validateLink(c)?s=l.pos:c=""),u=s;s=f||t.src.charCodeAt(s)!==41)return t.pos=h,!1;s++}else{if(typeof t.env.references>"u")return!1;if(s=0?r=t.src.slice(u,s++):s=p+1):s=p+1,r||(r=t.src.slice(d,p)),o=t.env.references[Vl(r)],!o)return t.pos=h,!1;c=o.href,a=o.title}if(!e){n=t.src.slice(d,p);const m=[];t.md.inline.parse(n,t.md,t.env,m);const g=t.push("image","img",0),O=[["src",c],["alt",""]];g.attrs=O,g.children=m,g.content=n,a&&O.push(["title",a])}return t.pos=s,t.posMax=f,!0}const lP=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,aP=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function uP(t,e){let i=t.pos;if(t.src.charCodeAt(i)!==60)return!1;const n=t.pos,r=t.posMax;for(;;){if(++i>=r)return!1;const o=t.src.charCodeAt(i);if(o===60)return!1;if(o===62)break}const s=t.src.slice(n+1,i);if(aP.test(s)){const o=t.md.normalizeLink(s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}if(lP.test(s)){const o=t.md.normalizeLink("mailto:"+s);if(!t.md.validateLink(o))return!1;if(!e){const l=t.push("link_open","a",1);l.attrs=[["href",o]],l.markup="autolink",l.info="auto";const a=t.push("text","",0);a.content=t.md.normalizeLinkText(s);const u=t.push("link_close","a",-1);u.markup="autolink",u.info="auto"}return t.pos+=s.length+2,!0}return!1}function cP(t){return/^\s]/i.test(t)}function hP(t){return/^<\/a\s*>/i.test(t)}function fP(t){const e=t|32;return e>=97&&e<=122}function dP(t,e){if(!t.md.options.html)return!1;const i=t.posMax,n=t.pos;if(t.src.charCodeAt(n)!==60||n+2>=i)return!1;const r=t.src.charCodeAt(n+1);if(r!==33&&r!==63&&r!==47&&!fP(r))return!1;const s=t.src.slice(n).match(F$);if(!s)return!1;if(!e){const o=t.push("html_inline","",0);o.content=s[0],cP(o.content)&&t.linkLevel++,hP(o.content)&&t.linkLevel--}return t.pos+=s[0].length,!0}const pP=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,mP=/^&([a-z][a-z0-9]{1,31});/i;function OP(t,e){const i=t.pos,n=t.posMax;if(t.src.charCodeAt(i)!==38||i+1>=n)return!1;if(t.src.charCodeAt(i+1)===35){const s=t.src.slice(i).match(pP);if(s){if(!e){const o=s[1][0].toLowerCase()==="x"?parseInt(s[1].slice(1),16):parseInt(s[1],10),l=t.push("text_special","",0);l.content=Jc(o)?xl(o):xl(65533),l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}else{const s=t.src.slice(i).match(mP);if(s){const o=v1(s[0]);if(o!==s[0]){if(!e){const l=t.push("text_special","",0);l.content=o,l.markup=s[0],l.info="entity"}return t.pos+=s[0].length,!0}}}return!1}function T0(t){const e={},i=t.length;if(!i)return;let n=0,r=-2;const s=[];for(let o=0;oa;u-=s[u]+1){const h=t[u];if(h.marker===l.marker&&h.open&&h.end<0){let f=!1;if((h.close||l.open)&&(h.length+l.length)%3===0&&(h.length%3!==0||l.length%3!==0)&&(f=!0),!f){const d=u>0&&!t[u-1].open?s[u-1]+1:0;s[o]=o-u+d,s[u]=d,l.open=!1,h.end=o,h.close=!1,c=-1,r=-2;break}}}c!==-1&&(e[l.marker][(l.open?3:0)+(l.length||0)%3]=c)}}function gP(t){const e=t.tokens_meta,i=t.tokens_meta.length;T0(t.delimiters);for(let n=0;n0&&n++,r[e].type==="text"&&e+1=t.pos)throw new Error("inline rule didn't increment state.pos");break}}else t.pos=t.posMax;o||t.pos++,s[e]=t.pos};Ls.prototype.tokenize=function(t){const e=this.ruler.getRules(""),i=e.length,n=t.posMax,r=t.md.options.maxNesting;for(;t.pos=t.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(t.pos>=n)break;continue}t.pending+=t.src[t.pos++]}t.pending&&t.pushPending()};Ls.prototype.parse=function(t,e,i,n){const r=new this.State(t,e,i,n);this.tokenize(r);const s=this.ruler2.getRules(""),o=s.length;for(let l=0;l|$))",e.tpl_email_fuzzy="(^|"+i+'|"|\\(|'+e.src_ZCc+")("+e.src_email_name+"@"+e.tpl_host_fuzzy_strict+")",e.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_fuzzy_strict+e.src_path+")",e.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+e.src_ZPCc+"))((?![$+<=>^`||])"+e.tpl_host_port_no_ip_fuzzy_strict+e.src_path+")",e}function zu(t){return Array.prototype.slice.call(arguments,1).forEach(function(i){i&&Object.keys(i).forEach(function(n){t[n]=i[n]})}),t}function zl(t){return Object.prototype.toString.call(t)}function xP(t){return zl(t)==="[object String]"}function kP(t){return zl(t)==="[object Object]"}function vP(t){return zl(t)==="[object RegExp]"}function E0(t){return zl(t)==="[object Function]"}function SP(t){return t.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const T1={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function wP(t){return Object.keys(t||{}).reduce(function(e,i){return e||T1.hasOwnProperty(i)},!1)}const _P={"http:":{validate:function(t,e,i){const n=t.slice(e);return i.re.http||(i.re.http=new RegExp("^\\/\\/"+i.re.src_auth+i.re.src_host_port_strict+i.re.src_path,"i")),i.re.http.test(n)?n.match(i.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(t,e,i){const n=t.slice(e);return i.re.no_http||(i.re.no_http=new RegExp("^"+i.re.src_auth+"(?:localhost|(?:(?:"+i.re.src_domain+")\\.)+"+i.re.src_domain_root+")"+i.re.src_port+i.re.src_host_terminator+i.re.src_path,"i")),i.re.no_http.test(n)?e>=3&&t[e-3]===":"||e>=3&&t[e-3]==="/"?0:n.match(i.re.no_http)[0].length:0}},"mailto:":{validate:function(t,e,i){const n=t.slice(e);return i.re.mailto||(i.re.mailto=new RegExp("^"+i.re.src_email_name+"@"+i.re.src_host_strict,"i")),i.re.mailto.test(n)?n.match(i.re.mailto)[0].length:0}}},$P="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",PP="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function CP(t){t.__index__=-1,t.__text_cache__=""}function QP(t){return function(e,i){const n=e.slice(i);return t.test(n)?n.match(t)[0].length:0}}function Z0(){return function(t,e){e.normalize(t)}}function kl(t){const e=t.re=yP(t.__opts__),i=t.__tlds__.slice();t.onCompile(),t.__tlds_replaced__||i.push($P),i.push(e.src_xn),e.src_tlds=i.join("|");function n(l){return l.replace("%TLDS%",e.src_tlds)}e.email_fuzzy=RegExp(n(e.tpl_email_fuzzy),"i"),e.link_fuzzy=RegExp(n(e.tpl_link_fuzzy),"i"),e.link_no_ip_fuzzy=RegExp(n(e.tpl_link_no_ip_fuzzy),"i"),e.host_fuzzy_test=RegExp(n(e.tpl_host_fuzzy_test),"i");const r=[];t.__compiled__={};function s(l,a){throw new Error('(LinkifyIt) Invalid schema "'+l+'": '+a)}Object.keys(t.__schemas__).forEach(function(l){const a=t.__schemas__[l];if(a===null)return;const u={validate:null,link:null};if(t.__compiled__[l]=u,kP(a)){vP(a.validate)?u.validate=QP(a.validate):E0(a.validate)?u.validate=a.validate:s(l,a),E0(a.normalize)?u.normalize=a.normalize:a.normalize?s(l,a):u.normalize=Z0();return}if(xP(a)){r.push(l);return}s(l,a)}),r.forEach(function(l){t.__compiled__[t.__schemas__[l]]&&(t.__compiled__[l].validate=t.__compiled__[t.__schemas__[l]].validate,t.__compiled__[l].normalize=t.__compiled__[t.__schemas__[l]].normalize)}),t.__compiled__[""]={validate:null,normalize:Z0()};const o=Object.keys(t.__compiled__).filter(function(l){return l.length>0&&t.__compiled__[l]}).map(SP).join("|");t.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","i"),t.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+e.src_ZPCc+"))("+o+")","ig"),t.re.schema_at_start=RegExp("^"+t.re.schema_search.source,"i"),t.re.pretest=RegExp("("+t.re.schema_test.source+")|("+t.re.host_fuzzy_test.source+")|@","i"),CP(t)}function AP(t,e){const i=t.__index__,n=t.__last_index__,r=t.__text_cache__.slice(i,n);this.schema=t.__schema__.toLowerCase(),this.index=i+e,this.lastIndex=n+e,this.raw=r,this.text=r,this.url=r}function ju(t,e){const i=new AP(t,e);return t.__compiled__[i.schema].normalize(i,t),i}function Ct(t,e){if(!(this instanceof Ct))return new Ct(t,e);e||wP(t)&&(e=t,t={}),this.__opts__=zu({},T1,e),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=zu({},_P,t),this.__compiled__={},this.__tlds__=PP,this.__tlds_replaced__=!1,this.re={},kl(this)}Ct.prototype.add=function(e,i){return this.__schemas__[e]=i,kl(this),this};Ct.prototype.set=function(e){return this.__opts__=zu(this.__opts__,e),this};Ct.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let i,n,r,s,o,l,a,u,c;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(i=a.exec(e))!==null;)if(s=this.testSchemaAt(e,i[2],a.lastIndex),s){this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+s;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(u=e.search(this.re.host_fuzzy_test),u>=0&&(this.__index__<0||u=0&&(r=e.match(this.re.email_fuzzy))!==null&&(o=r.index+r[1].length,l=r.index+r[0].length,(this.__index__<0||othis.__last_index__)&&(this.__schema__="mailto:",this.__index__=o,this.__last_index__=l))),this.__index__>=0};Ct.prototype.pretest=function(e){return this.re.pretest.test(e)};Ct.prototype.testSchemaAt=function(e,i,n){return this.__compiled__[i.toLowerCase()]?this.__compiled__[i.toLowerCase()].validate(e,n,this):0};Ct.prototype.match=function(e){const i=[];let n=0;this.__index__>=0&&this.__text_cache__===e&&(i.push(ju(this,n)),n=this.__last_index__);let r=n?e.slice(n):e;for(;this.test(r);)i.push(ju(this,n)),r=r.slice(this.__last_index__),n+=this.__last_index__;return i.length?i:null};Ct.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const i=this.re.schema_at_start.exec(e);if(!i)return null;const n=this.testSchemaAt(e,i[2],i[0].length);return n?(this.__schema__=i[2],this.__index__=i.index+i[1].length,this.__last_index__=i.index+i[0].length+n,ju(this,0)):null};Ct.prototype.tlds=function(e,i){return e=Array.isArray(e)?e:[e],i?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(n,r,s){return n!==s[r-1]}).reverse(),kl(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,kl(this),this)};Ct.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Ct.prototype.onCompile=function(){};const Nn=2147483647,di=36,ih=1,ys=26,TP=38,EP=700,E1=72,Z1=128,D1="-",ZP=/^xn--/,DP=/[^\0-\x7F]/,RP=/[\x2E\u3002\uFF0E\uFF61]/g,IP={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ea=di-ih,pi=Math.floor,Za=String.fromCharCode;function Wi(t){throw new RangeError(IP[t])}function LP(t,e){const i=[];let n=t.length;for(;n--;)i[n]=e(t[n]);return i}function R1(t,e){const i=t.split("@");let n="";i.length>1&&(n=i[0]+"@",t=i[1]),t=t.replace(RP,".");const r=t.split("."),s=LP(r,e).join(".");return n+s}function I1(t){const e=[];let i=0;const n=t.length;for(;i=55296&&r<=56319&&iString.fromCodePoint(...t),MP=function(t){return t>=48&&t<58?26+(t-48):t>=65&&t<91?t-65:t>=97&&t<123?t-97:di},D0=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},L1=function(t,e,i){let n=0;for(t=i?pi(t/EP):t>>1,t+=pi(t/e);t>Ea*ys>>1;n+=di)t=pi(t/Ea);return pi(n+(Ea+1)*t/(t+TP))},X1=function(t){const e=[],i=t.length;let n=0,r=Z1,s=E1,o=t.lastIndexOf(D1);o<0&&(o=0);for(let l=0;l=128&&Wi("not-basic"),e.push(t.charCodeAt(l));for(let l=o>0?o+1:0;l=i&&Wi("invalid-input");const f=MP(t.charCodeAt(l++));f>=di&&Wi("invalid-input"),f>pi((Nn-n)/c)&&Wi("overflow"),n+=f*c;const d=h<=s?ih:h>=s+ys?ys:h-s;if(fpi(Nn/p)&&Wi("overflow"),c*=p}const u=e.length+1;s=L1(n-a,u,a==0),pi(n/u)>Nn-r&&Wi("overflow"),r+=pi(n/u),n%=u,e.splice(n++,0,r)}return String.fromCodePoint(...e)},M1=function(t){const e=[];t=I1(t);const i=t.length;let n=Z1,r=0,s=E1;for(const a of t)a<128&&e.push(Za(a));const o=e.length;let l=o;for(o&&e.push(D1);l=n&&cpi((Nn-r)/u)&&Wi("overflow"),r+=(a-n)*u,n=a;for(const c of t)if(cNn&&Wi("overflow"),c===n){let h=r;for(let f=di;;f+=di){const d=f<=s?ih:f>=s+ys?ys:f-s;if(h=0))try{e.hostname=W1.toASCII(e.hostname)}catch{}return Rs(Uc(e))}function GP(t){const e=Gc(t,!0);if(e.hostname&&(!e.protocol||V1.indexOf(e.protocol)>=0))try{e.hostname=W1.toUnicode(e.hostname)}catch{}return dr(Uc(e),dr.defaultChars+"%")}function Lt(t,e){if(!(this instanceof Lt))return new Lt(t,e);e||Kc(t)||(e=t||{},t="default"),this.inline=new Ls,this.block=new Fl,this.core=new eh,this.renderer=new vr,this.linkify=new Ct,this.validateLink=NP,this.normalizeLink=UP,this.normalizeLinkText=GP,this.utils=K_,this.helpers=Wl({},i$),this.options={},this.configure(t),e&&this.set(e)}Lt.prototype.set=function(t){return Wl(this.options,t),this};Lt.prototype.configure=function(t){const e=this;if(Kc(t)){const i=t;if(t=BP[i],!t)throw new Error('Wrong `markdown-it` preset "'+i+'", check name')}if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");return t.options&&e.set(t.options),t.components&&Object.keys(t.components).forEach(function(i){t.components[i].rules&&e[i].ruler.enableOnly(t.components[i].rules),t.components[i].rules2&&e[i].ruler2.enableOnly(t.components[i].rules2)}),this};Lt.prototype.enable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.enable(t,!0))},this),i=i.concat(this.inline.ruler2.enable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};Lt.prototype.disable=function(t,e){let i=[];Array.isArray(t)||(t=[t]),["core","block","inline"].forEach(function(r){i=i.concat(this[r].ruler.disable(t,!0))},this),i=i.concat(this.inline.ruler2.disable(t,!0));const n=t.filter(function(r){return i.indexOf(r)<0});if(n.length&&!e)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};Lt.prototype.use=function(t){const e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this};Lt.prototype.parse=function(t,e){if(typeof t!="string")throw new Error("Input data should be a String");const i=new this.core.State(t,this,e);return this.core.process(i),i.tokens};Lt.prototype.render=function(t,e){return e=e||{},this.renderer.render(this.parse(t,e),this.options,e)};Lt.prototype.parseInline=function(t,e){const i=new this.core.State(t,this,e);return i.inlineMode=!0,this.core.process(i),i.tokens};Lt.prototype.renderInline=function(t,e){return e=e||{},this.renderer.render(this.parseInline(t,e),this.options,e)};const R0=new Set([!0,!1,"alt","title"]);function F1(t,e){return(Array.isArray(t)?t:[]).filter(([i])=>i!==e)}function z1(t,e){t&&t.attrs&&(t.attrs=F1(t.attrs,e))}function HP(t,e){if(!R0.has(t))throw new TypeError(`figcaption must be one of: ${[...R0]}.`);if(t==="alt")return e.content;const i=e.attrs.find(([n])=>n==="title");return Array.isArray(i)&&i[1]?(z1(e,"title"),i[1]):void 0}function KP(t,e){e=e||{},t.core.ruler.before("linkify","image_figures",function(i){let n=1;for(let r=1,s=i.tokens.length;rc.match(u)).map(c=>Array.from(c))}if(e.tabindex&&(i.tokens[r-1].attrPush(["tabindex",n]),n++),e.lazy&&(a.attrs.some(([u])=>u==="loading")||a.attrs.push(["loading","lazy"])),e.async&&(a.attrs.some(([u])=>u==="decoding")||a.attrs.push(["decoding","async"])),e.classes&&typeof e.classes=="string"){let u=!1;for(let c=0,h=a.attrs.length;cc==="src");a.attrs.push(["data-src",u[1]]),z1(a,"src")}}})}var Bu=!0,j1=!1,B1=!1,JP=function(t,e){e&&(Bu=!e.enabled,j1=!!e.label,B1=!!e.labelAfter),t.core.ruler.after("inline","github-task-lists",function(i){for(var n=i.tokens,r=2;r=0;n--)if(t[n].level===i)return n;return-1}function tC(t,e){return lC(t[e])&&aC(t[e-1])&&uC(t[e-2])&&cC(t[e])}function iC(t,e){if(t.children.unshift(nC(t,e)),t.children[1].content=t.children[1].content.slice(3),t.content=t.content.slice(3),j1)if(B1){t.children.pop();var i="task-item-"+Math.ceil(Math.random()*(1e4*1e3)-1e3);t.children[0].content=t.children[0].content.slice(0,-1)+' id="'+i+'">',t.children.push(oC(t.content,i,e))}else t.children.unshift(rC(e)),t.children.push(sC(e))}function nC(t,e){var i=new e("html_inline","",0),n=Bu?' disabled="" ':"";return t.content.indexOf("[ ] ")===0?i.content='':(t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0)&&(i.content=''),i}function rC(t){var e=new t("html_inline","",0);return e.content="",e}function oC(t,e,i){var n=new i("html_inline","",0);return n.content='",n.attrs=[{for:e}],n}function lC(t){return t.type==="inline"}function aC(t){return t.type==="paragraph_open"}function uC(t){return t.type==="list_item_open"}function cC(t){return t.content.indexOf("[ ] ")===0||t.content.indexOf("[x] ")===0||t.content.indexOf("[X] ")===0}const hC=sp(JP),Dn=typeof performance=="object"&&performance&&typeof performance.now=="function"?performance:Date,q1=new Set,qu=typeof process=="object"&&process?process:{},Y1=(t,e,i,n)=>{typeof qu.emitWarning=="function"?qu.emitWarning(t,e,i,n):console.error(`[${i}] ${e}: ${t}`)};let vl=globalThis.AbortController,L0=globalThis.AbortSignal;var rp;if(typeof vl>"u"){L0=class{constructor(){Ce(this,"onabort");Ce(this,"_onabort",[]);Ce(this,"reason");Ce(this,"aborted",!1)}addEventListener(n,r){this._onabort.push(r)}},vl=class{constructor(){Ce(this,"signal",new L0);e()}abort(n){var r,s;if(!this.signal.aborted){this.signal.reason=n,this.signal.aborted=!0;for(const o of this.signal._onabort)o(n);(s=(r=this.signal).onabort)==null||s.call(r,n)}}};let t=((rp=qu.env)==null?void 0:rp.LRU_CACHE_IGNORE_AC_WARNING)!=="1";const e=()=>{t&&(t=!1,Y1("AbortController is not defined. If using lru-cache in node 14, load an AbortController polyfill from the `node-abort-controller` package. A minimal polyfill is provided for use by LRUCache.fetch(), but it should not be relied upon in other contexts (eg, passing it to other APIs that use AbortController/AbortSignal might have undesirable effects). You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",e))}}const fC=t=>!q1.has(t),Di=t=>t&&t===Math.floor(t)&&t>0&&isFinite(t),N1=t=>Di(t)?t<=Math.pow(2,8)?Uint8Array:t<=Math.pow(2,16)?Uint16Array:t<=Math.pow(2,32)?Uint32Array:t<=Number.MAX_SAFE_INTEGER?Mo:null:null;class Mo extends Array{constructor(e){super(e),this.fill(0)}}var Un;const dn=class dn{constructor(e,i){Ce(this,"heap");Ce(this,"length");if(!x(dn,Un))throw new TypeError("instantiate Stack using Stack.create(n)");this.heap=new i(e),this.length=0}static create(e){const i=N1(e);if(!i)return[];U(dn,Un,!0);const n=new dn(e,i);return U(dn,Un,!1),n}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}};Un=new WeakMap,K(dn,Un,!1);let Yu=dn;var Vt,xt,Ft,zt,Gn,We,jt,Ie,ve,H,ot,kt,et,Be,Bt,qe,qt,Yt,vt,Nt,ji,lt,xs,Uu,On,vi,ks,St,_l,U1,gn,Hn,vs,oi,Ri,li,Ii,Ss,Gu,UQ,Kn,Wo,Jn,Vo,Oe,ke,ws,Hu,bn,Vr;const sh=class sh{constructor(e){K(this,xs);K(this,_l);K(this,oi);K(this,li);K(this,Ss);K(this,Kn);K(this,Jn);K(this,Oe);K(this,ws);K(this,bn);K(this,Vt,void 0);K(this,xt,void 0);K(this,Ft,void 0);K(this,zt,void 0);K(this,Gn,void 0);Ce(this,"ttl");Ce(this,"ttlResolution");Ce(this,"ttlAutopurge");Ce(this,"updateAgeOnGet");Ce(this,"updateAgeOnHas");Ce(this,"allowStale");Ce(this,"noDisposeOnSet");Ce(this,"noUpdateTTL");Ce(this,"maxEntrySize");Ce(this,"sizeCalculation");Ce(this,"noDeleteOnFetchRejection");Ce(this,"noDeleteOnStaleGet");Ce(this,"allowStaleOnFetchAbort");Ce(this,"allowStaleOnFetchRejection");Ce(this,"ignoreFetchAbort");K(this,We,void 0);K(this,jt,void 0);K(this,Ie,void 0);K(this,ve,void 0);K(this,H,void 0);K(this,ot,void 0);K(this,kt,void 0);K(this,et,void 0);K(this,Be,void 0);K(this,Bt,void 0);K(this,qe,void 0);K(this,qt,void 0);K(this,Yt,void 0);K(this,vt,void 0);K(this,Nt,void 0);K(this,ji,void 0);K(this,lt,void 0);K(this,On,()=>{});K(this,vi,()=>{});K(this,ks,()=>{});K(this,St,()=>!1);K(this,gn,e=>{});K(this,Hn,(e,i,n)=>{});K(this,vs,(e,i,n,r)=>{if(n||r)throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache");return 0});Ce(this,UQ,"LRUCache");const{max:i=0,ttl:n,ttlResolution:r=1,ttlAutopurge:s,updateAgeOnGet:o,updateAgeOnHas:l,allowStale:a,dispose:u,disposeAfter:c,noDisposeOnSet:h,noUpdateTTL:f,maxSize:d=0,maxEntrySize:p=0,sizeCalculation:m,fetchMethod:g,noDeleteOnFetchRejection:O,noDeleteOnStaleGet:y,allowStaleOnFetchRejection:v,allowStaleOnFetchAbort:S,ignoreFetchAbort:_}=e;if(i!==0&&!Di(i))throw new TypeError("max option must be a nonnegative integer");const A=i?N1(i):Array;if(!A)throw new Error("invalid max value: "+i);if(U(this,Vt,i),U(this,xt,d),this.maxEntrySize=p||x(this,xt),this.sizeCalculation=m,this.sizeCalculation){if(!x(this,xt)&&!this.maxEntrySize)throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize");if(typeof this.sizeCalculation!="function")throw new TypeError("sizeCalculation set to non-function")}if(g!==void 0&&typeof g!="function")throw new TypeError("fetchMethod must be a function if specified");if(U(this,Gn,g),U(this,ji,!!g),U(this,Ie,new Map),U(this,ve,new Array(i).fill(void 0)),U(this,H,new Array(i).fill(void 0)),U(this,ot,new A(i)),U(this,kt,new A(i)),U(this,et,0),U(this,Be,0),U(this,Bt,Yu.create(i)),U(this,We,0),U(this,jt,0),typeof u=="function"&&U(this,Ft,u),typeof c=="function"?(U(this,zt,c),U(this,qe,[])):(U(this,zt,void 0),U(this,qe,void 0)),U(this,Nt,!!x(this,Ft)),U(this,lt,!!x(this,zt)),this.noDisposeOnSet=!!h,this.noUpdateTTL=!!f,this.noDeleteOnFetchRejection=!!O,this.allowStaleOnFetchRejection=!!v,this.allowStaleOnFetchAbort=!!S,this.ignoreFetchAbort=!!_,this.maxEntrySize!==0){if(x(this,xt)!==0&&!Di(x(this,xt)))throw new TypeError("maxSize must be a positive integer if specified");if(!Di(this.maxEntrySize))throw new TypeError("maxEntrySize must be a positive integer if specified");Y(this,_l,U1).call(this)}if(this.allowStale=!!a,this.noDeleteOnStaleGet=!!y,this.updateAgeOnGet=!!o,this.updateAgeOnHas=!!l,this.ttlResolution=Di(r)||r===0?r:1,this.ttlAutopurge=!!s,this.ttl=n||0,this.ttl){if(!Di(this.ttl))throw new TypeError("ttl must be a positive integer if specified");Y(this,xs,Uu).call(this)}if(x(this,Vt)===0&&this.ttl===0&&x(this,xt)===0)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!x(this,Vt)&&!x(this,xt)){const C="LRU_CACHE_UNBOUNDED";fC(C)&&(q1.add(C),Y1("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",C,sh))}}static unsafeExposeInternals(e){return{starts:x(e,Yt),ttls:x(e,vt),sizes:x(e,qt),keyMap:x(e,Ie),keyList:x(e,ve),valList:x(e,H),next:x(e,ot),prev:x(e,kt),get head(){return x(e,et)},get tail(){return x(e,Be)},free:x(e,Bt),isBackgroundFetch:i=>{var n;return Y(n=e,Oe,ke).call(n,i)},backgroundFetch:(i,n,r,s)=>{var o;return Y(o=e,Jn,Vo).call(o,i,n,r,s)},moveToTail:i=>{var n;return Y(n=e,bn,Vr).call(n,i)},indexes:i=>{var n;return Y(n=e,oi,Ri).call(n,i)},rindexes:i=>{var n;return Y(n=e,li,Ii).call(n,i)},isStale:i=>{var n;return x(n=e,St).call(n,i)}}}get max(){return x(this,Vt)}get maxSize(){return x(this,xt)}get calculatedSize(){return x(this,jt)}get size(){return x(this,We)}get fetchMethod(){return x(this,Gn)}get dispose(){return x(this,Ft)}get disposeAfter(){return x(this,zt)}getRemainingTTL(e){return x(this,Ie).has(e)?1/0:0}*entries(){for(const e of Y(this,oi,Ri).call(this))x(this,H)[e]!==void 0&&x(this,ve)[e]!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield[x(this,ve)[e],x(this,H)[e]])}*rentries(){for(const e of Y(this,li,Ii).call(this))x(this,H)[e]!==void 0&&x(this,ve)[e]!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield[x(this,ve)[e],x(this,H)[e]])}*keys(){for(const e of Y(this,oi,Ri).call(this)){const i=x(this,ve)[e];i!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield i)}}*rkeys(){for(const e of Y(this,li,Ii).call(this)){const i=x(this,ve)[e];i!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield i)}}*values(){for(const e of Y(this,oi,Ri).call(this))x(this,H)[e]!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield x(this,H)[e])}*rvalues(){for(const e of Y(this,li,Ii).call(this))x(this,H)[e]!==void 0&&!Y(this,Oe,ke).call(this,x(this,H)[e])&&(yield x(this,H)[e])}[Symbol.iterator](){return this.entries()}find(e,i={}){for(const n of Y(this,oi,Ri).call(this)){const r=x(this,H)[n],s=Y(this,Oe,ke).call(this,r)?r.__staleWhileFetching:r;if(s!==void 0&&e(s,x(this,ve)[n],this))return this.get(x(this,ve)[n],i)}}forEach(e,i=this){for(const n of Y(this,oi,Ri).call(this)){const r=x(this,H)[n],s=Y(this,Oe,ke).call(this,r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,x(this,ve)[n],this)}}rforEach(e,i=this){for(const n of Y(this,li,Ii).call(this)){const r=x(this,H)[n],s=Y(this,Oe,ke).call(this,r)?r.__staleWhileFetching:r;s!==void 0&&e.call(i,s,x(this,ve)[n],this)}}purgeStale(){let e=!1;for(const i of Y(this,li,Ii).call(this,{allowStale:!0}))x(this,St).call(this,i)&&(this.delete(x(this,ve)[i]),e=!0);return e}info(e){const i=x(this,Ie).get(e);if(i===void 0)return;const n=x(this,H)[i],r=Y(this,Oe,ke).call(this,n)?n.__staleWhileFetching:n;if(r===void 0)return;const s={value:r};if(x(this,vt)&&x(this,Yt)){const o=x(this,vt)[i],l=x(this,Yt)[i];if(o&&l){const a=o-(Dn.now()-l);s.ttl=a,s.start=Date.now()}}return x(this,qt)&&(s.size=x(this,qt)[i]),s}dump(){const e=[];for(const i of Y(this,oi,Ri).call(this,{allowStale:!0})){const n=x(this,ve)[i],r=x(this,H)[i],s=Y(this,Oe,ke).call(this,r)?r.__staleWhileFetching:r;if(s===void 0||n===void 0)continue;const o={value:s};if(x(this,vt)&&x(this,Yt)){o.ttl=x(this,vt)[i];const l=Dn.now()-x(this,Yt)[i];o.start=Math.floor(Date.now()-l)}x(this,qt)&&(o.size=x(this,qt)[i]),e.unshift([n,o])}return e}load(e){this.clear();for(const[i,n]of e){if(n.start){const r=Date.now()-n.start;n.start=Dn.now()-r}this.set(i,n.value,n)}}set(e,i,n={}){var f,d,p,m,g;if(i===void 0)return this.delete(e),this;const{ttl:r=this.ttl,start:s,noDisposeOnSet:o=this.noDisposeOnSet,sizeCalculation:l=this.sizeCalculation,status:a}=n;let{noUpdateTTL:u=this.noUpdateTTL}=n;const c=x(this,vs).call(this,e,i,n.size||0,l);if(this.maxEntrySize&&c>this.maxEntrySize)return a&&(a.set="miss",a.maxEntrySizeExceeded=!0),this.delete(e),this;let h=x(this,We)===0?void 0:x(this,Ie).get(e);if(h===void 0)h=x(this,We)===0?x(this,Be):x(this,Bt).length!==0?x(this,Bt).pop():x(this,We)===x(this,Vt)?Y(this,Kn,Wo).call(this,!1):x(this,We),x(this,ve)[h]=e,x(this,H)[h]=i,x(this,Ie).set(e,h),x(this,ot)[x(this,Be)]=h,x(this,kt)[h]=x(this,Be),U(this,Be,h),Bs(this,We)._++,x(this,Hn).call(this,h,c,a),a&&(a.set="add"),u=!1;else{Y(this,bn,Vr).call(this,h);const O=x(this,H)[h];if(i!==O){if(x(this,ji)&&Y(this,Oe,ke).call(this,O)){O.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:y}=O;y!==void 0&&!o&&(x(this,Nt)&&((f=x(this,Ft))==null||f.call(this,y,e,"set")),x(this,lt)&&((d=x(this,qe))==null||d.push([y,e,"set"])))}else o||(x(this,Nt)&&((p=x(this,Ft))==null||p.call(this,O,e,"set")),x(this,lt)&&((m=x(this,qe))==null||m.push([O,e,"set"])));if(x(this,gn).call(this,h),x(this,Hn).call(this,h,c,a),x(this,H)[h]=i,a){a.set="replace";const y=O&&Y(this,Oe,ke).call(this,O)?O.__staleWhileFetching:O;y!==void 0&&(a.oldValue=y)}}else a&&(a.set="update")}if(r!==0&&!x(this,vt)&&Y(this,xs,Uu).call(this),x(this,vt)&&(u||x(this,ks).call(this,h,r,s),a&&x(this,vi).call(this,a,h)),!o&&x(this,lt)&&x(this,qe)){const O=x(this,qe);let y;for(;y=O==null?void 0:O.shift();)(g=x(this,zt))==null||g.call(this,...y)}return this}pop(){var e;try{for(;x(this,We);){const i=x(this,H)[x(this,et)];if(Y(this,Kn,Wo).call(this,!0),Y(this,Oe,ke).call(this,i)){if(i.__staleWhileFetching)return i.__staleWhileFetching}else if(i!==void 0)return i}}finally{if(x(this,lt)&&x(this,qe)){const i=x(this,qe);let n;for(;n=i==null?void 0:i.shift();)(e=x(this,zt))==null||e.call(this,...n)}}}has(e,i={}){const{updateAgeOnHas:n=this.updateAgeOnHas,status:r}=i,s=x(this,Ie).get(e);if(s!==void 0){const o=x(this,H)[s];if(Y(this,Oe,ke).call(this,o)&&o.__staleWhileFetching===void 0)return!1;if(x(this,St).call(this,s))r&&(r.has="stale",x(this,vi).call(this,r,s));else return n&&x(this,On).call(this,s),r&&(r.has="hit",x(this,vi).call(this,r,s)),!0}else r&&(r.has="miss");return!1}peek(e,i={}){const{allowStale:n=this.allowStale}=i,r=x(this,Ie).get(e);if(r===void 0||!n&&x(this,St).call(this,r))return;const s=x(this,H)[r];return Y(this,Oe,ke).call(this,s)?s.__staleWhileFetching:s}async fetch(e,i={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,ttl:o=this.ttl,noDisposeOnSet:l=this.noDisposeOnSet,size:a=0,sizeCalculation:u=this.sizeCalculation,noUpdateTTL:c=this.noUpdateTTL,noDeleteOnFetchRejection:h=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:f=this.allowStaleOnFetchRejection,ignoreFetchAbort:d=this.ignoreFetchAbort,allowStaleOnFetchAbort:p=this.allowStaleOnFetchAbort,context:m,forceRefresh:g=!1,status:O,signal:y}=i;if(!x(this,ji))return O&&(O.fetch="get"),this.get(e,{allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,status:O});const v={allowStale:n,updateAgeOnGet:r,noDeleteOnStaleGet:s,ttl:o,noDisposeOnSet:l,size:a,sizeCalculation:u,noUpdateTTL:c,noDeleteOnFetchRejection:h,allowStaleOnFetchRejection:f,allowStaleOnFetchAbort:p,ignoreFetchAbort:d,status:O,signal:y};let S=x(this,Ie).get(e);if(S===void 0){O&&(O.fetch="miss");const _=Y(this,Jn,Vo).call(this,e,S,v,m);return _.__returned=_}else{const _=x(this,H)[S];if(Y(this,Oe,ke).call(this,_)){const M=n&&_.__staleWhileFetching!==void 0;return O&&(O.fetch="inflight",M&&(O.returnedStale=!0)),M?_.__staleWhileFetching:_.__returned=_}const A=x(this,St).call(this,S);if(!g&&!A)return O&&(O.fetch="hit"),Y(this,bn,Vr).call(this,S),r&&x(this,On).call(this,S),O&&x(this,vi).call(this,O,S),_;const C=Y(this,Jn,Vo).call(this,e,S,v,m),R=C.__staleWhileFetching!==void 0&&n;return O&&(O.fetch=A?"stale":"refresh",R&&A&&(O.returnedStale=!0)),R?C.__staleWhileFetching:C.__returned=C}}get(e,i={}){const{allowStale:n=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,noDeleteOnStaleGet:s=this.noDeleteOnStaleGet,status:o}=i,l=x(this,Ie).get(e);if(l!==void 0){const a=x(this,H)[l],u=Y(this,Oe,ke).call(this,a);return o&&x(this,vi).call(this,o,l),x(this,St).call(this,l)?(o&&(o.get="stale"),u?(o&&n&&a.__staleWhileFetching!==void 0&&(o.returnedStale=!0),n?a.__staleWhileFetching:void 0):(s||this.delete(e),o&&n&&(o.returnedStale=!0),n?a:void 0)):(o&&(o.get="hit"),u?a.__staleWhileFetching:(Y(this,bn,Vr).call(this,l),r&&x(this,On).call(this,l),a))}else o&&(o.get="miss")}delete(e){var n,r,s,o;let i=!1;if(x(this,We)!==0){const l=x(this,Ie).get(e);if(l!==void 0)if(i=!0,x(this,We)===1)this.clear();else{x(this,gn).call(this,l);const a=x(this,H)[l];if(Y(this,Oe,ke).call(this,a)?a.__abortController.abort(new Error("deleted")):(x(this,Nt)||x(this,lt))&&(x(this,Nt)&&((n=x(this,Ft))==null||n.call(this,a,e,"delete")),x(this,lt)&&((r=x(this,qe))==null||r.push([a,e,"delete"]))),x(this,Ie).delete(e),x(this,ve)[l]=void 0,x(this,H)[l]=void 0,l===x(this,Be))U(this,Be,x(this,kt)[l]);else if(l===x(this,et))U(this,et,x(this,ot)[l]);else{const u=x(this,kt)[l];x(this,ot)[u]=x(this,ot)[l];const c=x(this,ot)[l];x(this,kt)[c]=x(this,kt)[l]}Bs(this,We)._--,x(this,Bt).push(l)}}if(x(this,lt)&&((s=x(this,qe))!=null&&s.length)){const l=x(this,qe);let a;for(;a=l==null?void 0:l.shift();)(o=x(this,zt))==null||o.call(this,...a)}return i}clear(){var e,i,n;for(const r of Y(this,li,Ii).call(this,{allowStale:!0})){const s=x(this,H)[r];if(Y(this,Oe,ke).call(this,s))s.__abortController.abort(new Error("deleted"));else{const o=x(this,ve)[r];x(this,Nt)&&((e=x(this,Ft))==null||e.call(this,s,o,"delete")),x(this,lt)&&((i=x(this,qe))==null||i.push([s,o,"delete"]))}}if(x(this,Ie).clear(),x(this,H).fill(void 0),x(this,ve).fill(void 0),x(this,vt)&&x(this,Yt)&&(x(this,vt).fill(0),x(this,Yt).fill(0)),x(this,qt)&&x(this,qt).fill(0),U(this,et,0),U(this,Be,0),x(this,Bt).length=0,U(this,jt,0),U(this,We,0),x(this,lt)&&x(this,qe)){const r=x(this,qe);let s;for(;s=r==null?void 0:r.shift();)(n=x(this,zt))==null||n.call(this,...s)}}};UQ=Symbol.toStringTag,Vt=new WeakMap,xt=new WeakMap,Ft=new WeakMap,zt=new WeakMap,Gn=new WeakMap,We=new WeakMap,jt=new WeakMap,Ie=new WeakMap,ve=new WeakMap,H=new WeakMap,ot=new WeakMap,kt=new WeakMap,et=new WeakMap,Be=new WeakMap,Bt=new WeakMap,qe=new WeakMap,qt=new WeakMap,Yt=new WeakMap,vt=new WeakMap,Nt=new WeakMap,ji=new WeakMap,lt=new WeakMap,xs=new WeakSet,Uu=function(){const e=new Mo(x(this,Vt)),i=new Mo(x(this,Vt));U(this,vt,e),U(this,Yt,i),U(this,ks,(s,o,l=Dn.now())=>{if(i[s]=o!==0?l:0,e[s]=o,o!==0&&this.ttlAutopurge){const a=setTimeout(()=>{x(this,St).call(this,s)&&this.delete(x(this,ve)[s])},o+1);a.unref&&a.unref()}}),U(this,On,s=>{i[s]=e[s]!==0?Dn.now():0}),U(this,vi,(s,o)=>{if(e[o]){const l=e[o],a=i[o];if(!l||!a)return;s.ttl=l,s.start=a,s.now=n||r();const u=s.now-a;s.remainingTTL=l-u}});let n=0;const r=()=>{const s=Dn.now();if(this.ttlResolution>0){n=s;const o=setTimeout(()=>n=0,this.ttlResolution);o.unref&&o.unref()}return s};this.getRemainingTTL=s=>{const o=x(this,Ie).get(s);if(o===void 0)return 0;const l=e[o],a=i[o];if(!l||!a)return 1/0;const u=(n||r())-a;return l-u},U(this,St,s=>{const o=i[s],l=e[s];return!!l&&!!o&&(n||r())-o>l})},On=new WeakMap,vi=new WeakMap,ks=new WeakMap,St=new WeakMap,_l=new WeakSet,U1=function(){const e=new Mo(x(this,Vt));U(this,jt,0),U(this,qt,e),U(this,gn,i=>{U(this,jt,x(this,jt)-e[i]),e[i]=0}),U(this,vs,(i,n,r,s)=>{if(Y(this,Oe,ke).call(this,n))return 0;if(!Di(r))if(s){if(typeof s!="function")throw new TypeError("sizeCalculation must be a function");if(r=s(n,i),!Di(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}else throw new TypeError("invalid size value (must be positive integer). When maxSize or maxEntrySize is used, sizeCalculation or size must be set.");return r}),U(this,Hn,(i,n,r)=>{if(e[i]=n,x(this,xt)){const s=x(this,xt)-e[i];for(;x(this,jt)>s;)Y(this,Kn,Wo).call(this,!0)}U(this,jt,x(this,jt)+e[i]),r&&(r.entrySize=n,r.totalCalculatedSize=x(this,jt))})},gn=new WeakMap,Hn=new WeakMap,vs=new WeakMap,oi=new WeakSet,Ri=function*({allowStale:e=this.allowStale}={}){if(x(this,We))for(let i=x(this,Be);!(!Y(this,Ss,Gu).call(this,i)||((e||!x(this,St).call(this,i))&&(yield i),i===x(this,et)));)i=x(this,kt)[i]},li=new WeakSet,Ii=function*({allowStale:e=this.allowStale}={}){if(x(this,We))for(let i=x(this,et);!(!Y(this,Ss,Gu).call(this,i)||((e||!x(this,St).call(this,i))&&(yield i),i===x(this,Be)));)i=x(this,ot)[i]},Ss=new WeakSet,Gu=function(e){return e!==void 0&&x(this,Ie).get(x(this,ve)[e])===e},Kn=new WeakSet,Wo=function(e){var s,o;const i=x(this,et),n=x(this,ve)[i],r=x(this,H)[i];return x(this,ji)&&Y(this,Oe,ke).call(this,r)?r.__abortController.abort(new Error("evicted")):(x(this,Nt)||x(this,lt))&&(x(this,Nt)&&((s=x(this,Ft))==null||s.call(this,r,n,"evict")),x(this,lt)&&((o=x(this,qe))==null||o.push([r,n,"evict"]))),x(this,gn).call(this,i),e&&(x(this,ve)[i]=void 0,x(this,H)[i]=void 0,x(this,Bt).push(i)),x(this,We)===1?(U(this,et,U(this,Be,0)),x(this,Bt).length=0):U(this,et,x(this,ot)[i]),x(this,Ie).delete(n),Bs(this,We)._--,i},Jn=new WeakSet,Vo=function(e,i,n,r){const s=i===void 0?void 0:x(this,H)[i];if(Y(this,Oe,ke).call(this,s))return s;const o=new vl,{signal:l}=n;l==null||l.addEventListener("abort",()=>o.abort(l.reason),{signal:o.signal});const a={signal:o.signal,options:n,context:r},u=(m,g=!1)=>{const{aborted:O}=o.signal,y=n.ignoreFetchAbort&&m!==void 0;if(n.status&&(O&&!g?(n.status.fetchAborted=!0,n.status.fetchError=o.signal.reason,y&&(n.status.fetchAbortIgnored=!0)):n.status.fetchResolved=!0),O&&!y&&!g)return h(o.signal.reason);const v=d;return x(this,H)[i]===d&&(m===void 0?v.__staleWhileFetching?x(this,H)[i]=v.__staleWhileFetching:this.delete(e):(n.status&&(n.status.fetchUpdated=!0),this.set(e,m,a.options))),m},c=m=>(n.status&&(n.status.fetchRejected=!0,n.status.fetchError=m),h(m)),h=m=>{const{aborted:g}=o.signal,O=g&&n.allowStaleOnFetchAbort,y=O||n.allowStaleOnFetchRejection,v=y||n.noDeleteOnFetchRejection,S=d;if(x(this,H)[i]===d&&(!v||S.__staleWhileFetching===void 0?this.delete(e):O||(x(this,H)[i]=S.__staleWhileFetching)),y)return n.status&&S.__staleWhileFetching!==void 0&&(n.status.returnedStale=!0),S.__staleWhileFetching;if(S.__returned===S)throw m},f=(m,g)=>{var y;const O=(y=x(this,Gn))==null?void 0:y.call(this,e,s,a);O&&O instanceof Promise&&O.then(v=>m(v===void 0?void 0:v),g),o.signal.addEventListener("abort",()=>{(!n.ignoreFetchAbort||n.allowStaleOnFetchAbort)&&(m(void 0),n.allowStaleOnFetchAbort&&(m=v=>u(v,!0)))})};n.status&&(n.status.fetchDispatched=!0);const d=new Promise(f).then(u,c),p=Object.assign(d,{__abortController:o,__staleWhileFetching:s,__returned:void 0});return i===void 0?(this.set(e,p,{...a.options,status:void 0}),i=x(this,Ie).get(e)):x(this,H)[i]=p,p},Oe=new WeakSet,ke=function(e){if(!x(this,ji))return!1;const i=e;return!!i&&i instanceof Promise&&i.hasOwnProperty("__staleWhileFetching")&&i.__abortController instanceof vl},ws=new WeakSet,Hu=function(e,i){x(this,kt)[i]=e,x(this,ot)[e]=i},bn=new WeakSet,Vr=function(e){e!==x(this,Be)&&(e===x(this,et)?U(this,et,x(this,ot)[e]):Y(this,ws,Hu).call(this,x(this,kt)[e],x(this,ot)[e]),Y(this,ws,Hu).call(this,x(this,Be),e),U(this,Be,e))};let Nu=sh;function dC(t,e){for(var i=0;in[r]})}}}return Object.freeze(Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}))}const pC=(t,e)=>{const i=ne("editorId"),{noImgZoomIn:n}=t,r=ec(()=>{const s=document.querySelectorAll(`#${i}-preview img:not(.not-zoom)`);s.length!==0&&i_(s,{background:"#00000073"})});De(()=>{r()}),J([e,Bi(t.setting,"preview")],()=>{!n&&t.setting.preview&&r()})},mC=(t,e,i)=>{const n=ne("editorId"),r=ne("usedLanguageText"),s=()=>{document.querySelectorAll(`#${n} .${k}-preview .${k}-code`).forEach(a=>{let u=-1;const c=a.querySelector(`.${k}-copy-button`);c&&(c.onclick=h=>{h.preventDefault(),clearTimeout(u);const d=(a.querySelector("input:checked + pre code")||a.querySelector("pre code")).textContent,p=h_(t.formatCopiedText(d)),{text:m,successTips:g,failTips:O}=r.value.copyCode,y=p?g:O;c.dataset.isIcon?c.dataset.tips=y:c.innerHTML=y,u=window.setTimeout(()=>{c.dataset.isIcon?c.dataset.tips=m:c.innerHTML=m},1500)})})},o=()=>{Oi(s)},l=a=>{a&&Oi(s)};J([e,i],o),J(()=>t.setting.preview,l),J(()=>t.setting.htmlPreview,l),J(()=>r.value,s),De(s)},OC=t=>{const e=ne("highlight"),i=yn(ze.editorExtensions.highlight.instance);return De(()=>{t.noHighlight||i.value||(dt("link",{...e.value.css,rel:"stylesheet",id:`${k}-hlCss`}),dt("script",{...e.value.js,id:`${k}-hljs`,onload(){i.value=window.hljs}},"hljs"))}),J(()=>e.value.css,()=>{Wb("link",{...e.value.css,rel:"stylesheet",id:`${k}-hlCss`})}),i},gC=t=>{const e=ne("theme"),{editorExtensions:i,editorExtensionsAttrs:n,mermaidConfig:r}=ze,s=yn(i.mermaid.instance),o=yn(-1),l=new Nu({max:1e3,ttl:6e5}),a=()=>{const c=s.value;!t.noMermaid&&c&&(c.initialize(r({startOnLoad:!1,theme:e.value==="dark"?"dark":"default"})),o.value=o.value+1)};return J(()=>e.value,()=>{l.clear(),a()}),De(()=>{var c,h,f;if(t.noMermaid||(c=s.value)!=null&&c.instance)return;const d=i.mermaid.js;/\.mjs/.test(d)?(dt("link",{...(h=n.mermaid)==null?void 0:h.js,rel:"modulepreload",href:d,id:`${k}-mermaid-m`}),import(d).then(p=>{s.value=p.default,a()})):dt("script",{...(f=n.mermaid)==null?void 0:f.js,src:d,id:`${k}-mermaid`,onload(){s.value=window.mermaid,a()}},"mermaid")}),{mermaidRef:s,reRenderRef:o,replaceMermaid:()=>{Oi(()=>{if(!t.noMermaid&&s.value){const c=document.querySelectorAll(`div.${k}-mermaid`),h=document.createElement("div");h.style.width=document.body.offsetWidth+"px",h.style.height=document.body.offsetHeight+"px",h.style.position="fixed",h.style.zIndex="-10000",h.style.top="-10000";let f=c.length;f>0&&document.body.appendChild(h),c.forEach(async d=>{let p=l.get(d.innerText);if(!p){const g=Wa(),O=s.value.renderAsync||s.value.render;let y="";try{y=await O(g,d.innerText,h)}catch{}p=await t.sanitizeMermaid(typeof y=="string"?y:y.svg),l.set(d.innerText,p)}const m=document.createElement("p");m.className=`${k}-mermaid`,m.setAttribute("data-processed",""),m.innerHTML=p,d.dataset.line!==void 0&&(m.dataset.line=d.dataset.line),d.replaceWith(m),--f===0&&h.remove()})}})}}},bC=t=>{const e=yn(ze.editorExtensions.katex.instance);return De(()=>{if(t.noKatex||e.value)return;const{editorExtensions:i}=ze;dt("script",{src:i.katex.js,id:`${k}-katex`,onload(){e.value=window.katex}},"katex"),dt("link",{rel:"stylesheet",href:i.katex.css,id:`${k}-katexCss`})}),e},yC=(t,e)=>{const i=t.renderer.rules.fence.bind(t.renderer.rules);t.renderer.rules.fence=(n,r,s,o,l)=>{const a=n[r],u=a.content.trim();if(a.info==="mermaid"){let c;return n[r].map&&n[r].level===0&&(c=n[r].map[0],n[r].attrSet("data-line",String(c))),`
${u}
`}return i(n,r,s,o,l)}},xC=yC,Sl=(t,e)=>{const i=t.attrs?t.attrs.slice():[];return e.forEach(n=>{const r=t.attrIndex(n[0]);r<0?i.push(n):(i[r]=i[r].slice(),i[r][1]+=` ${n[1]}`)}),i},X0=(t,e)=>{let i=!0,n=!0;const r=t.posMax,s=e>0?t.src.charCodeAt(e-1):-1,o=e+1<=r?t.src.charCodeAt(e+1):-1;return(s===32||s===9||o>=48&&o<=57)&&(n=!1),(o===32||o===9)&&(i=!1),{can_open:i,can_close:n}},kC=(t,e)=>{let i,n,r,s;if(t.src[t.pos]!=="$")return!1;if(r=X0(t,t.pos),!r.can_open)return e||(t.pending+="$"),t.pos+=1,!0;const o=t.pos+1;for(i=o;(i=t.src.indexOf("$",i))!==-1;){for(s=i-1;t.src[s]==="\\";)s-=1;if((i-s)%2==1)break;i+=1}return i===-1?(e||(t.pending+="$"),t.pos=o,!0):i-o===0?(e||(t.pending+="$$"),t.pos=o+1,!0):(r=X0(t,i),r.can_close?(e||(n=t.push("math_inline","math",0),n.markup="$",n.content=t.src.slice(o,i)),t.pos=i+1,!0):(e||(t.pending+="$"),t.pos=o,!0))},vC=(t,e,i,n)=>{let r,s,o,l,a=!1,u=t.bMarks[e]+t.tShift[e],c=t.eMarks[e];if(u+2>c||t.src.slice(u,u+2)!=="$$")return!1;if(u+=2,r=t.src.slice(u,c),n)return!0;for(r.trim().slice(-2)==="$$"&&(r=r.trim().slice(0,-2),a=!0),o=e;!a&&(o++,!(o>=i||(u=t.bMarks[o]+t.tShift[o],c=t.eMarks[o],u{const i=(r,s,o,l,a)=>{const u=r[s],c={attrs:Sl(u,[["class",`${k}-katex-inline`]])};if(e.value){const h=e.value.renderToString(u.content,{throwOnError:!1});return`${h}`}else return`${u.content}`},n=(r,s,o,l,a)=>{const u=r[s],c={attrs:Sl(u,[["class",`${k}-katex-block`]])};if(e.value){const h=e.value.renderToString(u.content,{throwOnError:!1,displayMode:!0});return`

${h}

`}else return`

${u.content}

`};t.inline.ruler.after("escape","math_inline",kC),t.block.ruler.after("blockquote","math_block",vC,{alt:["paragraph","reference","blockquote","list"]}),t.renderer.rules.math_inline=i,t.renderer.rules.math_block=n},wC=SC,_C=(t,e)=>{e=e||{};const i=3,n=e.marker||"!",r=n.charCodeAt(0),s=n.length;let o="",l="";const a=(c,h,f,d,p)=>{const m=c[h];return m.type==="admonition_open"?c[h].attrPush(["class",`${k}-admonition ${k}-admonition-${m.info}`]):m.type==="admonition_title_open"&&c[h].attrPush(["class",`${k}-admonition-title`]),p.renderToken(c,h,f)},u=c=>{const h=c.trim().split(" ",2);l="",o=h[0],h.length>1&&(l=c.substring(o.length+2))};t.block.ruler.before("code","admonition",(c,h,f,d)=>{let p,m,g,O=!1,y=c.bMarks[h]+c.tShift[h],v=c.eMarks[h];if(r!==c.src.charCodeAt(y))return!1;for(p=y+1;p<=v&&n[(p-y)%s]===c.src[p];p++);const S=Math.floor((p-y)/s);if(S!==i)return!1;p-=(p-y)%s;const _=c.src.slice(y,p),A=c.src.slice(p,v);if(u(A),d)return!0;for(m=h;m++,!(m>=f||(y=c.bMarks[m]+c.tShift[m],v=c.eMarks[m],y=4)){for(p=y+1;p<=v&&n[(p-y)%s]===c.src[p];p++);if(!(Math.floor((p-y)/s){t.renderer.rules.heading_open=(i,n)=>{var r;const s=i[n],o=((r=i[n+1].children)==null?void 0:r.reduce((a,u)=>a+(["text","code_inline"].includes(u.type)&&u.content||""),""))||"",l=s.markup.length;return e.headsRef.value.push({text:o,level:l}),s.map&&s.level===0&&s.attrSet("id",e.mdHeadingId(o,l,e.headsRef.value.length)),t.renderer.renderToken(i,n,e)},t.renderer.rules.heading_close=(i,n,r,s,o)=>o.renderToken(i,n,r)},CC=PC,QC=(t,e)=>{if(typeof e[t]=="string")return e[t];const i=``;switch(ze.iconfontType){case"svg":return``;default:return i}},AC=QC,TC=(t,e)=>{const i=t.renderer.rules.fence,n=t.utils.unescapeAll,r=/\[(\w*)(?::([\w ]*))?\]/,s=/::close/,o=h=>h.info?n(h.info).trim():"",l=h=>{const f=o(h),[d=null,p=""]=(r.exec(f)||[]).slice(1);return[d,p]},a=h=>{const f=o(h);return f?f.split(/(\s+)/g)[0]:""},u=h=>{const f=s.test(h.info),d=!f&&h.content.trim().split(` +`).length{var g;if(h[f].hidden)return"";const O=(g=e.usedLanguageTextRef.value)==null?void 0:g.copyCode.text,y=e.customIconRef.value.copy||O,v=!!e.customIconRef.value.copy,S=`${AC("collapse-tips",e.customIconRef.value)}`,[_]=l(h[f]);if(_===null){const{open:te,tagContainer:de,tagHeader:le}=u(h[f]),pe=[["class",`${k}-code`]];te&&pe.push(["open",""]);const Ae={attrs:Sl(h[f],pe)};h[f].info=h[f].info.replace(s,"");const Ze=i(h,f,d,p,m);return`<${de} ${m.renderAttrs(Ae)}> <${le} class="${k}-code-head">
@@ -77,8 +77,8 @@ See: https://github.com/francoischalifour/medium-zoom`)}},N3=function(e){var i=d ${y} ${V==="details"?S:""}
- ${X}`};t.renderer.rules.fence=c,t.renderer.rules.code_block=c},$C=_C;function PC(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Gu={exports:{}},Qe={},Hu={exports:{}},Pn={};function Y1(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function CC(t,e,i){}function QC(t,e,i){}var AC=/javascript\s*\:/img;function TC(t,e){return AC.test(e)?"":e}Pn.whiteList=Y1();Pn.getDefaultWhiteList=Y1;Pn.onAttr=CC;Pn.onIgnoreAttr=QC;Pn.safeAttrValue=TC;var EC={indexOf:function(t,e){var i,n;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,n=t.length;i/g,YC=/"/g,NC=/"/g,UC=/&#([a-zA-Z0-9]*);?/gim,GC=/:?/gim,HC=/&newline;?/gim,So=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,Xp=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,Mp=/u\s*r\s*l\s*\(.*/gi;function K1(t){return t.replace(YC,""")}function J1(t){return t.replace(NC,'"')}function eb(t){return t.replace(UC,function(i,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function tb(t){return t.replace(GC,":").replace(HC," ")}function ib(t){for(var e="",i=0,n=t.length;i",n);if(r===-1)break;i=r+3}return e}function t6(t){var e=t.split("");return e=e.filter(function(i){var n=i.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),e.join("")}Qe.whiteList=U1();Qe.getDefaultWhiteList=U1;Qe.onTag=WC;Qe.onIgnoreTag=VC;Qe.onTagAttr=FC;Qe.onIgnoreTagAttr=zC;Qe.safeAttrValue=jC;Qe.escapeHtml=H1;Qe.escapeQuote=K1;Qe.unescapeQuote=J1;Qe.escapeHtmlEntities=eb;Qe.escapeDangerHtml5Entities=tb;Qe.clearNonPrintableCharacter=ib;Qe.friendlyAttrValue=nb;Qe.escapeAttrValue=rb;Qe.onIgnoreTagStripAll=KC;Qe.StripTagBody=JC;Qe.stripCommentTag=e6;Qe.stripBlankChar=t6;Qe.attributeWrapSign='"';Qe.cssFilter=G1;Qe.getDefaultCSSWhiteList=MC;var jl={},Fi=ih;function i6(t){var e=Fi.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=Fi.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function n6(t){return t.slice(0,2)===""||l===a-1){n+=i(t.slice(r,s)),c=t.slice(s,l+1),u=i6(c),n+=e(s,n.length,u,c,n6(c)),r=l+1,s=!1;continue}if(h==='"'||h==="'")for(var f=1,d=t.charAt(l-f);d.trim()===""||d==="=";){if(d==="="){o=h;continue e}d=t.charAt(l-++f)}}else if(h===o){o=!1;continue}}return r0;e--){var i=t[e];if(i!==" ")return i==="="?e:-1}}function c6(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function Wp(t){return c6(t)?t.substr(1,t.length-2):t}jl.parseTag=r6;jl.parseAttr=o6;var h6=th.FilterCSS,Qt=Qe,sb=jl,f6=sb.parseTag,d6=sb.parseAttr,Fo=ih;function wo(t){return t==null}function p6(t){var e=Fo.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=Fo.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=Fo.trim(t.slice(0,-1))),{html:t,closing:i}}function m6(t){var e={};for(var i in t)e[i]=t[i];return e}function O6(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map(function(n){return n.toLowerCase()}):e[i.toLowerCase()]=t[i];return e}function ob(t){t=m6(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=Qt.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=O6(t.whiteList||t.allowList):t.whiteList=Qt.whiteList,this.attributeWrapSign=t.singleQuotedAttributeValue===!0?"'":Qt.attributeWrapSign,t.onTag=t.onTag||Qt.onTag,t.onTagAttr=t.onTagAttr||Qt.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||Qt.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||Qt.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||Qt.safeAttrValue,t.escapeHtml=t.escapeHtml||Qt.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new h6(t.css))}ob.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,n=i.whiteList,r=i.onTag,s=i.onIgnoreTag,o=i.onTagAttr,l=i.onIgnoreTagAttr,a=i.safeAttrValue,u=i.escapeHtml,c=e.attributeWrapSign,h=e.cssFilter;i.stripBlankChar&&(t=Qt.stripBlankChar(t)),i.allowCommentTag||(t=Qt.stripCommentTag(t));var f=!1;i.stripIgnoreTagBody&&(f=Qt.StripTagBody(i.stripIgnoreTagBody,s),s=f.onIgnoreTag);var d=f6(t,function(p,m,g,O,y){var v={sourcePosition:p,position:m,isClosing:y,isWhite:Object.prototype.hasOwnProperty.call(n,g)},S=r(g,O,v);if(!wo(S))return S;if(v.isWhite){if(v.isClosing)return"";var _=p6(O),A=n[g],C=d6(_.html,function($,R){var M=Fo.indexOf(A,$)!==-1,X=o(g,$,R,M);return wo(X)?M?(R=a(g,$,R,h),R?$+"="+c+R+c:$):(X=l(g,$,R,M),wo(X)?void 0:X):X});return O="<"+g,C&&(O+=" "+C),_.closing&&(O+=" /"),O+=">",O}else return S=s(g,O,v),wo(S)?u(O):S},u);return f&&(d=f.remove(d)),d};var g6=ob;(function(t,e){var i=Qe,n=jl,r=g6;function s(l,a){var u=new r(a);return u.process(l)}e=t.exports=s,e.filterXSS=s,e.FilterXSS=r,function(){for(var l in i)e[l]=i[l];for(var a in n)e[a]=n[a]}(),typeof window<"u"&&(window.filterXSS=t.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(Gu,Gu.exports);var Kr=Gu.exports;const b6=PC(Kr),y6=lC({__proto__:null,default:b6},[Kr]),Vp={img:["class"],input:["class","disabled","type","checked"],iframe:["class","width","height","src","title","border","frameborder","framespacing","allow","allowfullscreen"]},x6=(t,e)=>{const{extendedWhiteList:i={},xss:n={}}=e;let r;if(typeof n=="function")r=new Kr.FilterXSS(n(y6));else{const s=Kr.getDefaultWhiteList();[...Object.keys(i),...Object.keys(Vp)].forEach(l=>{const a=s[l]||[],u=Vp[l]||[],c=i[l]||[];s[l]=[...new Set([...a,...u,...c])]}),r=new Kr.FilterXSS({whiteList:s,...n})}t.core.ruler.after("linkify","xss",s=>{for(let o=0;o{u.type==="html_inline"&&(u.content=r.process(u.content))});break}}}})},k6=x6,v6=t=>{t.core.ruler.push("init-line-number",e=>(e.tokens.forEach(i=>{i.map&&(i.attrs||(i.attrs=[]),i.attrs.push(["data-line",i.map[0].toString()]))}),!0))},S6=(t,e)=>{const{editorConfig:i,markdownItConfig:n,markdownItPlugins:r}=ze,s=ne("editorId"),o=ne("language"),l=ne("usedLanguageText"),a=ne("showCodeRowNumber"),u=ne("theme"),c=ne("customIcon"),h=$e([]),f=cC(t),d=fC(t),{reRenderRef:p,replaceMermaid:m}=hC(t),g=Lt({html:!0,breaks:!0,linkify:!0});n(g,{editorId:s});const O=[{type:"image",plugin:qP,options:{figcaption:!0,classes:"md-zoom"}},{type:"admonition",plugin:xC,options:{}},{type:"taskList",plugin:sC,options:{}},{type:"heading",plugin:vC,options:{mdHeadingId:t.mdHeadingId,headsRef:h}},{type:"code",plugin:$C,options:{editorId:s,usedLanguageTextRef:l,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,customIconRef:c}},{type:"xss",plugin:k6,options:{}}];t.noKatex||O.push({type:"katex",plugin:bC,options:{katexRef:d}}),t.noMermaid||O.push({type:"mermaid",plugin:pC,options:{themeRef:u}}),r(O,{editorId:s}).forEach($=>{g.use($.plugin,$.options)});const y=g.options.highlight;g.set({highlight:($,R,M)=>{if(y){const L=y($,R,M);if(L)return L}let X;!t.noHighlight&&f.value?f.value.getLanguage(R)?X=f.value.highlight($,{language:R,ignoreIllegals:!0}).value:X=f.value.highlightAuto($).value:X=g.utils.escapeHtml($);const Z=a?Wb(X.replace(/^\n+|\n+$/g,"")):`${X.replace(/^\n+|\n+$/g,"")}`;return`
${Z}
`}}),v6(g);const v=$e(`_article-key_${Ma()}`),S=$e(t.sanitize(g.render(t.modelValue))),_=()=>{I.emit(s,Po,S.value),t.onHtmlChanged(S.value),t.onGetCatalog(h.value),I.emit(s,Co,h.value),m()};De(_);const A=()=>{h.value=[],S.value=t.sanitize(g.render(t.modelValue)),_()},C=_t(()=>(t.noKatex||d.value)&&(t.noHighlight||f.value));return J([qi(t,"modelValue"),C,p,o],Ku(A,e?0:i.renderDelay)),J(()=>t.setting.preview,()=>{t.setting.preview&&gi(()=>{I.emit(s,Co,h.value)})}),De(()=>{I.on(s,{name:h0,callback(){I.emit(s,Co,h.value)}}),I.on(s,{name:ec,callback:()=>{v.value=`_article-key_${Ma()}`,A()}})}),{html:S,key:v}},w6=S6,lb={modelValue:{type:String,default:""},setting:{type:Object,default:()=>({preview:!0})},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},mdHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:t=>t},noKatex:{type:Boolean,default:!1},formatCopiedText:{type:Function,default:t=>t},noHighlight:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean},sanitizeMermaid:{type:Function},codeFoldable:{type:Boolean},autoFoldThreshold:{type:Number}},_6={...lb,updateModelValue:{type:Function,default:()=>{}},onChange:{type:Function,default:()=>{}},placeholder:{type:String,default:""},scrollAuto:{type:Boolean},autofocus:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},maxlength:{type:Number},autoDetectCode:{type:Boolean},onBlur:{type:Function,default:()=>{}},onFocus:{type:Function,default:()=>{}},noPrettier:{type:Boolean},completions:{type:Array},catalogVisible:{type:Boolean},theme:{type:String,default:"light"},onInput:{type:Function},onDrop:{type:Function,default:()=>{}},inputBoxWitdh:{type:String},onInputBoxWitdhChange:{type:Function},transformImgUrl:{type:Function,default:t=>t}},ab=Ee({name:"ContentPreview",props:lb,setup(t){const e=ne("editorId"),i=ne("previewTheme"),n=ne("showCodeRowNumber"),{html:r,key:s}=w6(t,t.previewOnly);return uC(t,r,s),aC(t,r),()=>w($l,null,[t.setting.preview&&w("div",{id:`${e}-preview-wrapper`,class:`${k}-preview-wrapper`,key:"content-preview-wrapper"},[w("div",{key:s.value,id:`${e}-preview`,class:[`${k}-preview`,`${i==null?void 0:i.value}-theme`,n&&`${k}-scrn`],innerHTML:r.value},null)]),!t.previewOnly&&t.setting.htmlPreview&&w("div",{id:`${e}-html-wrapper`,class:`${k}-preview-wrapper`,key:"html-preview-wrapper"},[w("div",{class:`${k}-html`},[r.value])])])}}),$6=(t,e)=>{const{editorId:i}=t,n=mt({buildFinished:!1,html:""});J(()=>t.modelValue,()=>{n.buildFinished=!1}),De(()=>{I.on(i,{name:Po,callback(r){n.buildFinished=!0,n.html=r}}),I.on(i,{name:Pl,callback(){const r=new Promise(s=>{if(n.buildFinished)s(n.html);else{const o=l=>{s(l),I.remove(i,Po,o)};I.on(i,{name:Po,callback:o})}});t.onSave?t.onSave(t.modelValue,r):e.emit("onSave",t.modelValue,r)}})})},ub=t=>{const{editorId:e}=t,i=ze.editorExtensions.highlight,n=ze.editorExtensionsAttrs.highlight;ki("editorId",e),ki("theme",_t(()=>t.theme)),ki("language",_t(()=>t.language)),ki("highlight",_t(()=>{const{js:s}=i,o={...Wa,...i.css},{js:l,css:a={}}=n||{},u=t.codeStyleReverse&&t.codeStyleReverseList.includes(t.previewTheme)?"dark":t.theme,c=o[t.codeTheme]?o[t.codeTheme][u]:Wa.atom[u],h=o[t.codeTheme]&&a[t.codeTheme]?a[t.codeTheme][u]:a.atom?a.atom[u]:{};return{js:{src:s,...l},css:{href:c,...h}}})),ki("showCodeRowNumber",t.showCodeRowNumber);const r=_t(()=>{const s={...Xh,...ze.editorConfig.languageUserDefined};return s0(Ir(Xh["en-US"]),s[t.language]||{})});ki("usedLanguageText",r),ki("previewTheme",_t(()=>t.previewTheme)),ki("customIcon",_t(()=>t.customIcon))},P6=t=>{ub(t),ki("tabWidth",t.tabWidth)},cb=t=>{De(()=>{const{editorExtensions:e,editorExtensionsAttrs:i,iconfontType:n}=ze;t.noIconfont||(n==="svg"?dt("script",{...i.iconfont,src:e.iconfont,id:`${k}-icon`}):dt("link",{...i.iconfontClass,rel:"stylesheet",href:e.iconfontClass,id:`${k}-icon-class`}))})},C6=t=>{const{noPrettier:e,noUploadImg:i}=t,{editorExtensions:n,editorExtensionsAttrs:r}=ze,s=e||n.prettier.prettierInstance,o=e||n.prettier.parserMarkdownInstance,l=i||n.cropper.instance;De(()=>{if(!l){const{js:a={},css:u={}}=r.cropper||{};dt("link",{...u,rel:"stylesheet",href:n.cropper.css,id:`${k}-cropperCss`}),dt("script",{...a,src:n.cropper.js,id:`${k}-cropper`})}if(!s){const{standaloneJs:a={}}=r.prettier||{};dt("script",{...a,src:n.prettier.standaloneJs,id:`${k}-prettier`})}if(!o){const{parserMarkdownJs:a={}}=r.prettier||{};dt("script",{...a,src:n.prettier.parserMarkdownJs,id:`${k}-prettierMD`})}}),cb(t)},Q6=(t,e)=>{const{editorId:i}=t;De(()=>{I.on(i,{name:$n,callback:n=>{t.onError instanceof Function?t.onError(n):e.emit("onError",n)}})})},A6=(t,e)=>{const{editorId:i}=t,n=mt({pageFullscreen:t.pageFullscreen,fullscreen:!1,preview:t.preview,htmlPreview:t.preview?!1:t.htmlPreview,previewOnly:!1}),r=(l,a)=>{n[l]=a===void 0?!n[l]:a,l==="preview"?(n.htmlPreview=!1,n.previewOnly=!1):l==="htmlPreview"?(n.preview=!1,n.previewOnly=!1):l==="previewOnly"&&!n.preview&&!n.htmlPreview&&(n.preview=!0)};let s="";const o=()=>{n.pageFullscreen||n.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=s};return J(()=>[n.pageFullscreen,n.fullscreen],o),De(()=>{I.on(i,{name:Cl,callback(l,a){const u=c=>{I.emit(i,fe,"image",{desc:"",urls:c}),a&&a()};t.onUploadImg?t.onUploadImg(l,u):e.emit("onUploadImg",l,u)}}),s=document.body.style.overflow,o()}),[n,r]},T6=t=>{const{editorId:e}=t,i=$e(!1);return De(()=>{I.on(e,{name:Ju,callback:r=>{r===void 0?i.value=!i.value:i.value=r}})}),_t(()=>!t.toolbarsExclude.includes("catalog")&&t.toolbars.includes("catalog")&&i.value)},E6=(t,e,i,n,r,s)=>{const{editorId:o}=t;J(()=>n.pageFullscreen,a=>{I.emit(o,Mh,a)}),J(()=>n.fullscreen,a=>{I.emit(o,Wh,a)}),J(()=>n.preview,a=>{I.emit(o,Vh,a)}),J(()=>n.previewOnly,a=>{I.emit(o,Fh,a)}),J(()=>n.htmlPreview,a=>{I.emit(o,zh,a)}),J(i,a=>{I.emit(o,jh,a)});const l={on(a,u){switch(a){case"pageFullscreen":{I.on(o,{name:Mh,callback(c){u(c)}});break}case"fullscreen":{I.on(o,{name:Wh,callback(c){u(c)}});break}case"preview":{I.on(o,{name:Vh,callback(c){u(c)}});break}case"previewOnly":{I.on(o,{name:Fh,callback(c){u(c)}});break}case"htmlPreview":{I.on(o,{name:zh,callback(c){u(c)}});break}case"catalog":{I.on(o,{name:jh,callback(c){u(c)}});break}}},togglePageFullscreen(a){r("pageFullscreen",a)},toggleFullscreen(a){I.emit(o,a0,a)},togglePreview(a){r("preview",a)},togglePreviewOnly(a){r("previewOnly",a)},toggleHtmlPreview(a){r("htmlPreview",a)},toggleCatalog(a){I.emit(o,Ju,a)},triggerSave(){I.emit(o,Pl)},insert(a){I.emit(o,fe,"universal",{generate:a})},focus(a){var u;(u=s.value)==null||u.focus(a)},rerender(){I.emit(o,ec)},getSelectedText(){var a;return(a=s.value)==null?void 0:a.getSelectedText()},resetHistory(){var a;(a=s.value)==null||a.resetHistory()},domEventHandlers(a){I.emit(o,f0,a)},execCommand(a){I.emit(o,fe,a)}};e.expose(l)},Z6=t=>t,hb={modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},language:{type:String,default:"zh-CN"},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:()=>Fb("md-editor-v3_")},showCodeRowNumber:{type:Boolean,default:!0},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:Z6},sanitize:{type:Function,default:t=>t},noMermaid:{type:Boolean,default:!1},noKatex:{type:Boolean,default:!1},codeTheme:{type:String,default:"atom"},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:t=>t},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},noHighlight:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean,default:!1},customIcon:{type:Object,default:{}},sanitizeMermaid:{type:Function,default:t=>Promise.resolve(t)},codeFoldable:{type:Boolean,default:!0},autoFoldThreshold:{type:Number,default:30}},D6={...hb,onChange:{type:Function},onSave:{type:Function},onUploadImg:{type:Function},pageFullscreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},toolbars:{type:Array,default:o0},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},tabWidth:{type:Number,default:2},tableShape:{type:Array},placeholder:{type:String,default:""},defToolbars:{type:[String,Object]},onError:{type:Function},footers:{type:Array,default:l0},scrollAuto:{type:Boolean,default:!0},defFooters:{type:[String,Object]},noUploadImg:{type:Boolean},autoFocus:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},maxLength:{type:Number},autoDetectCode:{type:Boolean},onBlur:{type:Function},onFocus:{type:Function},completions:{type:Array},showToolbarName:{type:Boolean,default:!1},onInput:{type:Function},onDrop:{type:Function},inputBoxWitdh:{type:String,default:"50%"},onInputBoxWitdhChange:{type:Function},transformImgUrl:{type:Function,default:t=>t}},fb=["onHtmlChanged","onGetCatalog"],R6=[...fb,"onChange","onSave","onUploadImg","onError","update:modelValue","onBlur","onFocus","onInput","onDrop","onInputBoxWitdhChange"],I6=(t,e)=>{const{editorId:i}=t,n={rerender(){I.emit(i,ec)}};e.expose(n)},zo=Ee({name:"MdPreview",props:hb,emits:fb,setup(t,e){const{editorId:i,noKatex:n,noMermaid:r,noHighlight:s}=t;return ub(t),cb(t),I6(t,e),$s(()=>{I.clear(i)}),()=>w("div",{id:i,class:[k,t.class,t.theme==="dark"&&`${k}-dark`,`${k}-previewOnly`],style:t.style},[w(ab,{modelValue:t.modelValue,onHtmlChanged:o=>{t.onHtmlChanged?t.onHtmlChanged(o):e.emit("onHtmlChanged",o)},onGetCatalog:o=>{t.onGetCatalog?t.onGetCatalog(o):e.emit("onGetCatalog",o)},mdHeadingId:t.mdHeadingId,noMermaid:r,sanitize:t.sanitize,noKatex:n,formatCopiedText:t.formatCopiedText,noHighlight:s,noImgZoomIn:t.noImgZoomIn,previewOnly:!0,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null)])}});zo.install=t=>(t.component(zo.name,zo),t);const L6={tocItem:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:()=>{}},scrollElement:{type:[String,Object],default:""},onClick:{type:Function,default:()=>{}},scrollElementOffsetTop:{type:Number,default:0}},db=Ee({props:L6,setup(t){return()=>{const{tocItem:e,mdHeadingId:i,scrollElement:n,onClick:r,scrollElementOffsetTop:s}=t;return w("div",{class:[`${k}-catalog-link`,e.active&&`${k}-catalog-active`],onClick:o=>{r(o,e),o.stopPropagation();const l=i(e.text,e.level,e.index),a=document.getElementById(l),u=n instanceof Element?n:document.querySelector(n);if(a&&u){let c=a.offsetParent,h=a.offsetTop;if(u.contains(c))for(;c&&u!=c;)h+=c==null?void 0:c.offsetTop,c=c==null?void 0:c.offsetParent;u==null||u.scrollTo({top:h-s,behavior:"smooth"})}}},[w("span",{title:e.text},[e.text]),w("div",{class:`${k}-catalog-wrapper`},[e.children&&e.children.map(o=>w(db,{mdHeadingId:i,key:`${e.text}-link-${o.level}-${o.text}`,tocItem:o,scrollElement:n,onClick:r,scrollElementOffsetTop:s},null))])])}}}),X6=db,M6={editorId:{type:String},class:{type:String,default:""},mdHeadingId:{type:Function,default:t=>t},scrollElement:{type:[String,Object]},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0},onClick:{type:Function},onActive:{type:Function}},Jr=Ee({name:"MdCatalog",props:M6,emits:["onClick","onActive"],setup(t,e){const i=t.editorId,n=mt({list:[],show:!1,scrollElement:t.scrollElement||`#${i}-preview-wrapper`}),r=yn(),s=_t(()=>{const u=[];return n.list.forEach((c,h)=>{const{text:f,level:d}=c,p={level:d,text:f,index:h+1,active:r.value===c};if(u.length===0)u.push(p);else{let m=u[u.length-1];if(p.level>m.level)for(let g=m.level+1;g<=6;g++){const{children:O}=m;if(!O){m.children=[p];break}if(m=O[O.length-1],p.level<=m.level){O.push(p);break}}else u.push(p)}}),u}),o=()=>n.scrollElement instanceof HTMLElement?n.scrollElement:document.querySelector(n.scrollElement),l=u=>{if(u.length===0)return n.list=[],!1;const{activeHead:c}=u.reduce((h,f,d)=>{const p=document.getElementById(t.mdHeadingId(f.text,f.level,d+1));if(p instanceof HTMLElement){const m=o(),g=Vb(p,m);if(gh.minTop)return{activeHead:f,minTop:g}}return h},{activeHead:u[0],minTop:Number.MIN_SAFE_INTEGER});r.value=c,n.list=u},a=()=>{l(n.list)};return J(()=>r.value,u=>{const c=u?{...u}:void 0;t.onActive?t.onActive(c):e.emit("onActive",c)}),De(()=>{let u=window;const c=()=>{const h=o();u=h===document.documentElement?window:h};I.on(i,{name:Co,callback:h=>{u==null||u.removeEventListener("scroll",a),l(h),c(),u==null||u.addEventListener("scroll",a)}}),I.emit(i,h0),c(),u==null||u.addEventListener("scroll",a)}),$s(()=>{var u;const c=o();(u=c===document.documentElement?window:c)==null||u.removeEventListener("scroll",a)}),()=>w("div",{class:`${k}-catalog${t.theme==="dark"?"-dark":""} ${t.class}`},[s.value.map(u=>w(X6,{mdHeadingId:t.mdHeadingId,tocItem:u,key:`link-${u.level}-${u.text}`,scrollElement:n.scrollElement,onClick:(c,h)=>{t.onClick?t.onClick(c,h):e.emit("onClick",c,h)},scrollElementOffsetTop:t.scrollElementOffsetTop},null))])}});Jr.install=t=>(t.component(Jr.name,Jr),t);const W6={title:{type:String,default:""},trigger:{type:[String,Object]},onClick:{type:Function},insert:{type:Function},language:{type:String},theme:{type:String}},jo=Ee({name:"NormalToolbar",props:W6,emits:["onClick"],setup(t,e){return()=>{const i=Zt({props:t,ctx:e},"trigger");return w("div",{class:`${k}-toolbar-item`,title:t.title,onClick:n=>{t.onClick instanceof Function?t.onClick(n):e.emit("onClick",n)}},[i])}}});jo.install=t=>(t.component(jo.name,jo),t);function V6(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!bb(t)}const F6={title:{type:String,default:""},modalTitle:{type:String,default:""},visible:{type:Boolean},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object]},onClick:{type:Function},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function},insert:{type:Function},language:{type:String},theme:{type:String},previewTheme:{type:String}},Bo=Ee({name:"ModalToolbar",props:F6,emits:["onClick","onClose","onAdjust"],setup(t,e){return()=>{const i=Zt({props:t,ctx:e},"trigger"),n=Zt({props:t,ctx:e},"default");return w($l,null,[w("div",{class:`${k}-toolbar-item`,title:t.title,onClick:()=>{t.onClick instanceof Function?t.onClick():e.emit("onClick")}},[i]),w(Vn,{width:t.width,height:t.height,title:t.modalTitle,visible:t.visible,onClose:()=>{t.onClose instanceof Function?t.onClose():e.emit("onClose")},showAdjust:t.showAdjust,isFullscreen:t.isFullscreen,onAdjust:r=>{t.onAdjust instanceof Function?t.onAdjust(r):e.emit("onAdjust",r)}},V6(n)?n:{default:()=>[n]})])}}});Bo.install=t=>(t.component(Bo.name,Bo),t);var z6=Object.defineProperty,j6=(t,e,i)=>e in t?z6(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Ri=(t,e,i)=>(j6(t,typeof e!="symbol"?e+"":e,i),i);const B6=Ee({setup(){return()=>w("div",{class:`${k}-divider`},null)}}),q6={noPrettier:{type:Boolean},toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]},setting:{type:Object,default:()=>({})},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:""},updateSetting:{type:Function,default:()=>{}},tableShape:{type:Array,default:()=>[6,4]},defToolbars:{type:Object},noUploadImg:{type:Boolean},showToolbarName:{type:Boolean}},Y6=t=>{const e=ne("editorId"),{editorExtensions:i,editorExtensionsAttrs:n}=ze;let r=i.screenfull.instance;const s=$e(!1),o=u=>{if(!r){I.emit(e,$n,{name:"fullscreen",message:"fullscreen is undefined"});return}r.isEnabled?(s.value=!0,(u===void 0?!r.isFullscreen:u)?r.request():r.exit()):console.error("browser does not support screenfull!")},l=()=>{r&&r.isEnabled&&r.on("change",()=>{(s.value||t.setting.fullscreen)&&(s.value=!1,t.updateSetting("fullscreen"))})},a=()=>{r=window.screenfull,l()};return De(()=>{var u;l(),r||dt("script",{...(u=n.screenfull)==null?void 0:u.js,src:i.screenfull.js,id:`${k}-screenfull`,onload:a},"screenfull")}),De(()=>{I.on(e,{name:a0,callback:o})}),{fullscreenHandler:o}},N6={tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}},U6=Ee({name:"TableShape",props:N6,setup(t){const e=mt({x:-1,y:-1}),i=()=>{const r=[...t.tableShape];return(!r[2]||r[2]t.tableShape,()=>{n.value=i()}),()=>w("div",{class:`${k}-table-shape`,onMouseleave:()=>{n.value=i(),e.x=-1,e.y=-1}},[new Array(n.value[1]).fill("").map((r,s)=>w("div",{class:`${k}-table-shape-row`,key:`table-shape-row-${s}`},[new Array(n.value[0]).fill("").map((o,l)=>w("div",{class:`${k}-table-shape-col`,key:`table-shape-col-${l}`,onMouseenter:()=>{e.x=s,e.y=l,l+1===n.value[0]&&l+1t.tableShape[0]&&n.value[0]--,s+1===n.value[1]&&s+1t.tableShape[1]&&n.value[1]--},onClick:()=>{t.onSelected(e)}},[w("div",{class:[`${k}-table-shape-col-default`,s<=e.x&&l<=e.y&&`${k}-table-shape-col-include`]},null)]))]))])}}),G6=U6,H6={type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},K6=Ee({props:H6,setup(t){const e=ne("usedLanguageText"),i=ne("editorId"),n=_t(()=>{var s,o;switch(t.type){case"link":return(s=e.value.linkModalTips)==null?void 0:s.linkTitle;case"image":return(o=e.value.linkModalTips)==null?void 0:o.imageTitle;default:return""}}),r=mt({desc:"",url:""});return J(()=>t.visible,s=>{s||setTimeout(()=>{r.desc="",r.url=""},200)}),()=>w(Vn,{title:n.value,visible:t.visible,onClose:t.onCancel},{default:()=>{var s,o,l,a,u;return[w("div",{class:`${k}-form-item`},[w("label",{class:`${k}-label`,for:`link-desc-${i}`},[(s=e.value.linkModalTips)==null?void 0:s.descLabel]),w("input",{placeholder:(o=e.value.linkModalTips)==null?void 0:o.descLabelPlaceHolder,class:`${k}-input`,id:`link-desc-${i}`,type:"text",value:r.desc,onChange:c=>{r.desc=c.target.value},autocomplete:"off"},null)]),w("div",{class:`${k}-form-item`},[w("label",{class:`${k}-label`,for:`link-url-${i}`},[(l=e.value.linkModalTips)==null?void 0:l.urlLabel]),w("input",{placeholder:(a=e.value.linkModalTips)==null?void 0:a.urlLabelPlaceHolder,class:`${k}-input`,id:`link-url-${i}`,type:"text",value:r.url,onChange:c=>{r.url=c.target.value},autocomplete:"off"},null)]),w("div",{class:`${k}-form-item`},[w("button",{class:[`${k}-btn`,`${k}-btn-row`],type:"button",onClick:()=>{t.onOk(r),r.desc="",r.url=""}},[(u=e.value.linkModalTips)==null?void 0:u.buttonOK])])]}})}}),J6={visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},eQ=Ee({props:J6,setup(t){const e=ne("usedLanguageText"),i=ne("editorId");let n=ze.editorExtensions.cropper.instance;const r=$e(),s=$e(),o=$e(),l=mt({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let a=null;J(()=>t.visible,()=>{t.visible&&!l.cropperInited&&(n=n||window.Cropper,r.value.onchange=()=>{if(!n){I.emit(i,$n,{name:"Cropper",message:"Cropper is undefined"});return}const c=r.value.files||[];if(l.imgSelected=!0,(c==null?void 0:c.length)>0){const h=new FileReader;h.onload=f=>{l.imgSrc=f.target.result,gi(()=>{a=new n(s.value,{viewMode:2,preview:`.${k}-clip-preview-target`})})},h.readAsDataURL(c[0])}})}),J(()=>[l.imgSelected],()=>{o.value.style=""}),J(()=>l.isFullscreen,()=>{gi(()=>{a==null||a.destroy(),o.value.style="",s.value&&(a=new n(s.value,{viewMode:2,preview:`.${k}-clip-preview-target`}))})});const u=()=>{a.clear(),a.destroy(),a=null,r.value.value="",l.imgSelected=!1};return()=>{var c;return w(Vn,{class:`${k}-modal-clip`,title:(c=e.value.clipModalTips)==null?void 0:c.title,visible:t.visible,onClose:t.onCancel,showAdjust:!0,isFullscreen:l.isFullscreen,onAdjust:h=>{l.isFullscreen=h},width:"668px",height:"421px"},{default:()=>{var h,f;return[w("div",{class:`${k}-form-item ${k}-clip`},[w("div",{class:`${k}-clip-main`},[l.imgSelected?w("div",{class:`${k}-clip-cropper`},[w("img",{src:l.imgSrc,ref:s,style:{display:"none"},alt:""},null),w("div",{class:`${k}-clip-delete`,onClick:u},[w(re,{name:"delete"},null)])]):w("div",{class:`${k}-clip-upload`,onClick:()=>{r.value.click()}},[w(re,{name:"upload"},null)])]),w("div",{class:`${k}-clip-preview`},[w("div",{class:`${k}-clip-preview-target`,ref:o},null)])]),w("div",{class:`${k}-form-item`},[w("button",{class:`${k}-btn`,type:"button",onClick:()=>{if(a){const d=a.getCroppedCanvas();I.emit(i,Cl,[Mb(d.toDataURL("image/png"))],t.onOk),u()}}},[((h=e.value.clipModalTips)==null?void 0:h.buttonUpload)||((f=e.value.linkModalTips)==null?void 0:f.buttonOK)])]),w("input",{ref:r,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}}),tQ={type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},iQ=Ee({props:tQ,setup(t){return()=>w($l,null,[w(K6,{type:t.type,visible:t.linkVisible,onOk:t.onOk,onCancel:t.onCancel},null),w(eQ,{visible:t.clipVisible,onOk:t.onOk,onCancel:t.onCancel},null)])}}),nQ=Ee({name:"MDEditorToolbar",props:q6,setup(t){const e=ne("editorId"),i=ne("usedLanguageText"),n=ne("theme"),r=ne("previewTheme"),s=ne("language"),{fullscreenHandler:o}=Y6(t),l=`${e}-toolbar-wrapper`,a=$e(),u=mt({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),c=(O,y)=>{I.emit(e,fe,O,y)},h=mt({type:"link",linkVisible:!1,clipVisible:!1}),f=$e();De(()=>{I.on(e,{name:Va,callback(O){h.type=O,h.linkVisible=!0}})});const d=_t(()=>{const O=t.toolbars.filter(_=>!t.toolbarsExclude.includes(_)),y=O.indexOf("="),v=y===-1?O:O.slice(0,y+1),S=y===-1?[]:O.slice(y,Number.MAX_SAFE_INTEGER);return[v,S]}),p=$e(),m=()=>{I.emit(e,Cl,Array.from(p.value.files||[])),p.value.value=""};De(()=>{p.value.addEventListener("change",m)});const g=O=>{var y,v,S,_,A,C,$,R,M,X,Z,L,V,z,q,ee,te,de,le,pe,Ae,Ze,be,me,Ei,Ms,an,Ws,Vs,Cn,Qn,Fs,zs,An,js,Bs,wr,rh,sh,oh,lh,ah,uh,ch,hh,fh,dh,ph,mh,Oh,gh,bh,yh,xh,kh,vh,Sh,wh,_h,$h,Ph,Ch,Qh,Ah,Th,Eh,Zh,Dh,Rh;if(o0.includes(O))switch(O){case"-":return w(B6,null,null);case"bold":return w("div",{class:`${k}-toolbar-item`,title:(y=i.value.toolbarTips)==null?void 0:y.bold,onClick:()=>{c("bold")}},[w(re,{name:"bold"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(v=i.value.toolbarTips)==null?void 0:v.bold])]);case"underline":return w("div",{class:`${k}-toolbar-item`,title:(S=i.value.toolbarTips)==null?void 0:S.underline,onClick:()=>{c("underline")}},[w(re,{name:"underline"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(_=i.value.toolbarTips)==null?void 0:_.underline])]);case"italic":return w("div",{class:`${k}-toolbar-item`,title:(A=i.value.toolbarTips)==null?void 0:A.italic,onClick:()=>{c("italic")}},[w(re,{name:"italic"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(C=i.value.toolbarTips)==null?void 0:C.italic])]);case"strikeThrough":return w("div",{class:`${k}-toolbar-item`,title:($=i.value.toolbarTips)==null?void 0:$.strikeThrough,onClick:()=>{c("strikeThrough")}},[w(re,{name:"strike-through"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(R=i.value.toolbarTips)==null?void 0:R.strikeThrough])]);case"title":return w(In,{relative:`#${l}`,visible:u.title,onChange:ae=>{u.title=ae},overlay:w("ul",{class:`${k}-menu`,onClick:()=>{u.title=!1}},[w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h1")}},[(M=i.value.titleItem)==null?void 0:M.h1]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h2")}},[(X=i.value.titleItem)==null?void 0:X.h2]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h3")}},[(Z=i.value.titleItem)==null?void 0:Z.h3]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h4")}},[(L=i.value.titleItem)==null?void 0:L.h4]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h5")}},[(V=i.value.titleItem)==null?void 0:V.h5]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h6")}},[(z=i.value.titleItem)==null?void 0:z.h6])])},{default:()=>{var ae,Je;return[w("div",{class:`${k}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.title},[w(re,{name:"title"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.title])])]}});case"sub":return w("div",{class:`${k}-toolbar-item`,title:(q=i.value.toolbarTips)==null?void 0:q.sub,onClick:()=>{c("sub")}},[w(re,{name:"sub"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(ee=i.value.toolbarTips)==null?void 0:ee.sub])]);case"sup":return w("div",{class:`${k}-toolbar-item`,title:(te=i.value.toolbarTips)==null?void 0:te.sup,onClick:()=>{c("sup")}},[w(re,{name:"sup"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(de=i.value.toolbarTips)==null?void 0:de.sup])]);case"quote":return w("div",{class:`${k}-toolbar-item`,title:(le=i.value.toolbarTips)==null?void 0:le.quote,onClick:()=>{c("quote")}},[w(re,{name:"quote"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(pe=i.value.toolbarTips)==null?void 0:pe.quote])]);case"unorderedList":return w("div",{class:`${k}-toolbar-item`,title:(Ae=i.value.toolbarTips)==null?void 0:Ae.unorderedList,onClick:()=>{c("unorderedList")}},[w(re,{name:"unordered-list"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Ze=i.value.toolbarTips)==null?void 0:Ze.unorderedList])]);case"orderedList":return w("div",{class:`${k}-toolbar-item`,title:(be=i.value.toolbarTips)==null?void 0:be.orderedList,onClick:()=>{c("orderedList")}},[w(re,{name:"ordered-list"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(me=i.value.toolbarTips)==null?void 0:me.orderedList])]);case"task":return w("div",{class:`${k}-toolbar-item`,title:(Ei=i.value.toolbarTips)==null?void 0:Ei.task,onClick:()=>{c("task")}},[w(re,{name:"task"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Ms=i.value.toolbarTips)==null?void 0:Ms.task])]);case"codeRow":return w("div",{class:`${k}-toolbar-item`,title:(an=i.value.toolbarTips)==null?void 0:an.codeRow,onClick:()=>{c("codeRow")}},[w(re,{name:"code-row"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Ws=i.value.toolbarTips)==null?void 0:Ws.codeRow])]);case"code":return w("div",{class:`${k}-toolbar-item`,title:(Vs=i.value.toolbarTips)==null?void 0:Vs.code,onClick:()=>{c("code")}},[w(re,{name:"code"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Cn=i.value.toolbarTips)==null?void 0:Cn.code])]);case"link":return w("div",{class:`${k}-toolbar-item`,title:(Qn=i.value.toolbarTips)==null?void 0:Qn.link,onClick:()=>{h.type="link",h.linkVisible=!0}},[w(re,{name:"link"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Fs=i.value.toolbarTips)==null?void 0:Fs.link])]);case"image":return t.noUploadImg?w("div",{class:`${k}-toolbar-item`,title:(zs=i.value.toolbarTips)==null?void 0:zs.image,onClick:()=>{h.type="image",h.linkVisible=!0}},[w(re,{name:"image"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(An=i.value.toolbarTips)==null?void 0:An.image])]):w(In,{relative:`#${l}`,visible:u.image,onChange:ae=>{u.image=ae},overlay:w("ul",{class:`${k}-menu`,onClick:()=>{u.title=!1}},[w("li",{class:`${k}-menu-item ${k}-menu-item-image`,onClick:()=>{h.type="image",h.linkVisible=!0}},[(js=i.value.imgTitleItem)==null?void 0:js.link]),w("li",{class:`${k}-menu-item ${k}-menu-item-image`,onClick:()=>{p.value.click()}},[(Bs=i.value.imgTitleItem)==null?void 0:Bs.upload]),w("li",{class:`${k}-menu-item ${k}-menu-item-image`,onClick:()=>{h.clipVisible=!0}},[(wr=i.value.imgTitleItem)==null?void 0:wr.clip2upload])])},{default:()=>{var ae,Je;return[w("div",{class:`${k}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.image},[w(re,{name:"image"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.image])])]}});case"table":return w(In,{relative:`#${l}`,visible:u.table,onChange:ae=>{u.table=ae},key:"bar-table",overlay:w(G6,{tableShape:t.tableShape,onSelected:ae=>{c("table",{selectedShape:ae})}},null)},{default:()=>{var ae,Je;return[w("div",{class:`${k}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.table},[w(re,{name:"table"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.table])])]}});case"revoke":return w("div",{class:`${k}-toolbar-item`,title:(rh=i.value.toolbarTips)==null?void 0:rh.revoke,onClick:()=>{I.emit(e,u0)}},[w(re,{name:"revoke"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(sh=i.value.toolbarTips)==null?void 0:sh.revoke])]);case"next":return w("div",{class:`${k}-toolbar-item`,title:(oh=i.value.toolbarTips)==null?void 0:oh.next,onClick:()=>{I.emit(e,c0)}},[w(re,{name:"next"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(lh=i.value.toolbarTips)==null?void 0:lh.next])]);case"save":return w("div",{class:`${k}-toolbar-item`,title:(ah=i.value.toolbarTips)==null?void 0:ah.save,onClick:()=>{I.emit(e,Pl)}},[w(re,{name:"baocun"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(uh=i.value.toolbarTips)==null?void 0:uh.save])]);case"prettier":return t.noPrettier?"":w("div",{class:`${k}-toolbar-item`,title:(ch=i.value.toolbarTips)==null?void 0:ch.prettier,onClick:()=>{c("prettier")}},[w(re,{name:"prettier"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(hh=i.value.toolbarTips)==null?void 0:hh.prettier])]);case"pageFullscreen":return!t.setting.fullscreen&&w("div",{class:`${k}-toolbar-item`,title:(fh=i.value.toolbarTips)==null?void 0:fh.pageFullscreen,onClick:()=>{t.updateSetting("pageFullscreen")}},[w(re,{name:t.setting.pageFullscreen?"suoxiao":"fangda"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(dh=i.value.toolbarTips)==null?void 0:dh.pageFullscreen])]);case"fullscreen":return w("div",{class:`${k}-toolbar-item`,title:(ph=i.value.toolbarTips)==null?void 0:ph.fullscreen,onClick:()=>{o()}},[w(re,{name:t.setting.fullscreen?"fullscreen-exit":"fullscreen"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(mh=i.value.toolbarTips)==null?void 0:mh.fullscreen])]);case"preview":return w("div",{class:`${k}-toolbar-item`,title:(Oh=i.value.toolbarTips)==null?void 0:Oh.preview,onClick:()=>{t.updateSetting("preview")}},[w(re,{name:"preview"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(gh=i.value.toolbarTips)==null?void 0:gh.preview])]);case"previewOnly":return w("div",{class:`${k}-toolbar-item`,title:(bh=i.value.toolbarTips)==null?void 0:bh.previewOnly,onClick:()=>{t.updateSetting("previewOnly")}},[w(re,{name:"preview-only"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(yh=i.value.toolbarTips)==null?void 0:yh.previewOnly])]);case"htmlPreview":return w("div",{class:`${k}-toolbar-item`,title:(xh=i.value.toolbarTips)==null?void 0:xh.htmlPreview,onClick:()=>{t.updateSetting("htmlPreview")}},[w(re,{name:"coding"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(kh=i.value.toolbarTips)==null?void 0:kh.htmlPreview])]);case"catalog":return w("div",{class:`${k}-toolbar-item`,title:(vh=i.value.toolbarTips)==null?void 0:vh.catalog,onClick:()=>{I.emit(e,Ju)},key:"bar-catalog"},[w(re,{name:"catalog"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Sh=i.value.toolbarTips)==null?void 0:Sh.catalog])]);case"github":return w("div",{class:`${k}-toolbar-item`,title:(wh=i.value.toolbarTips)==null?void 0:wh.github,onClick:()=>kb("https://github.com/imzbf/md-editor-v3")},[w(re,{name:"github"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(_h=i.value.toolbarTips)==null?void 0:_h.github])]);case"mermaid":return w(In,{relative:`#${l}`,visible:u.mermaid,onChange:ae=>{u.mermaid=ae},overlay:w("ul",{class:`${k}-menu`,onClick:()=>{u.mermaid=!1}},[w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("flow")}},[($h=i.value.mermaid)==null?void 0:$h.flow]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("sequence")}},[(Ph=i.value.mermaid)==null?void 0:Ph.sequence]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("gantt")}},[(Ch=i.value.mermaid)==null?void 0:Ch.gantt]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("class")}},[(Qh=i.value.mermaid)==null?void 0:Qh.class]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("state")}},[(Ah=i.value.mermaid)==null?void 0:Ah.state]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("pie")}},[(Th=i.value.mermaid)==null?void 0:Th.pie]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("relationship")}},[(Eh=i.value.mermaid)==null?void 0:Eh.relationship]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("journey")}},[(Zh=i.value.mermaid)==null?void 0:Zh.journey])]),key:"bar-mermaid"},{default:()=>{var ae,Je;return[w("div",{class:`${k}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.mermaid},[w(re,{name:"mermaid"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.mermaid])])]}});case"katex":return w(In,{relative:`#${l}`,visible:u.katex,onChange:ae=>{u.katex=ae},overlay:w("ul",{class:`${k}-menu`,onClick:()=>{u.katex=!1}},[w("li",{class:`${k}-menu-item ${k}-menu-item-katex`,onClick:()=>{c("katexInline")}},[(Dh=i.value.katex)==null?void 0:Dh.inline]),w("li",{class:`${k}-menu-item ${k}-menu-item-katex`,onClick:()=>{c("katexBlock")}},[(Rh=i.value.katex)==null?void 0:Rh.block])]),key:"bar-katex"},{default:()=>{var ae,Je;return[w("div",{class:`${k}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.katex},[w(re,{name:"formula"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.katex])])]}})}else if(t.defToolbars instanceof Array){const ae=t.defToolbars[O];return ae?Xa(ae,{theme:n.value,previewTheme:r.value,language:s.value,insert(Bl){I.emit(e,fe,"universal",{generate:Bl})}}):""}else if(t.defToolbars&&t.defToolbars.children instanceof Array){const ae=t.defToolbars.children[O];return ae?Xa(ae,{theme:n.value,previewTheme:r.value,language:s.value,insert(Bl){I.emit(e,fe,"universal",{generate:Bl})}}):""}else return""};return J(()=>t.toolbars,()=>{gi(()=>{a.value&&Sb(a.value)})},{immediate:!0}),()=>{const O=d.value[0].map(v=>g(v)),y=d.value[1].map(v=>g(v));return w($l,null,[t.toolbars.length>0&&w("div",{class:`${k}-toolbar-wrapper`,ref:a,id:l},[w("div",{class:[`${k}-toolbar`,t.showToolbarName&&`${k}-stn`]},[w("div",{class:`${k}-toolbar-left`,ref:f},[O]),w("div",{class:`${k}-toolbar-right`},[y])])]),w("input",{ref:p,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),w(iQ,{linkVisible:h.linkVisible,clipVisible:h.clipVisible,type:h.type,onCancel:()=>{h.linkVisible=!1,h.clipVisible=!1},onOk:v=>{v&&c(h.type,{desc:v.desc,url:v.url,transform:h.type==="image"}),h.linkVisible=!1,h.clipVisible=!1}},null)])}}}),rQ=`.${k}-preview > [data-line]`,Za=(t,e)=>+getComputedStyle(t).getPropertyValue(e).replace("px",""),sQ=(t,e)=>{const i=Ku(()=>{t.removeEventListener("scroll",n),t.addEventListener("scroll",n),e.removeEventListener("scroll",n),e.addEventListener("scroll",n)},50),n=r=>{const s=t.clientHeight,o=e.clientHeight,l=t.scrollHeight,a=e.scrollHeight,u=(l-s)/(a-o);r.target===t?(e.removeEventListener("scroll",n),e.scrollTo({top:t.scrollTop/u}),i()):(t.removeEventListener("scroll",n),t.scrollTo({top:e.scrollTop*u}),i())};return[()=>{i().finally(()=>{t.dispatchEvent(new Event("scroll"))})},()=>{t.removeEventListener("scroll",n),e.removeEventListener("scroll",n)}]},oQ=(t,e,i)=>{const{view:n}=i,r=vb(),s=O=>n.lineBlockAt(n.state.doc.line(O+1).from).top,o=O=>n.lineBlockAt(n.state.doc.line(O+1).from).bottom;let l=[],a=[],u=[];const c=()=>{l=[],a=Array.from(e.querySelectorAll(rQ)),u=a.map(_=>Number(_.dataset.line));const O=[...u],{lines:y}=n.state.doc;let v=O.shift()||0,S=O.shift()||y;for(let _=0;_{let v=0;for(let S=a.length-1;S-1>=0;S--){const _=a[S],A=a[S-1];if(_.offsetTop+_.offsetHeight>y&&A.offsetTop=0;S--){const _=o(l[S].end),A=s(l[S].start);if(_>O&&A<=O){v=v{var O,y,v;if(d!==0)return!1;f++;const{scrollDOM:S,contentHeight:_}=n;let A=Za(e,"padding-top");const C=n.lineBlockAtHeight(S.scrollTop),{number:$}=n.state.doc.lineAt(C.from),R=l[$-1];if(!R)return!1;let M=1;const X=e.querySelector(`[data-line="${R.start}"]`)||((O=e.firstElementChild)==null?void 0:O.firstElementChild),Z=e.querySelector(`[data-line="${R.end+1}"]`)||((y=e.lastElementChild)==null?void 0:y.lastElementChild),L=S.scrollHeight-S.clientHeight,V=e.scrollHeight-e.clientHeight;let z=s(R.start),q=o(R.end),ee=X.offsetTop,te=Z.offsetTop-ee;if(z===0&&(ee=0,X===Z?(A=0,q=_-S.offsetHeight,te=V):te=Z.offsetTop),M=(S.scrollTop-z+Za(n.contentDOM,"padding-bottom"))/(q-z),z>0&&(q>=L||Z.offsetTop+Z.clientHeight>V)){const le=h(L,V);z=s(le),M=(S.scrollTop-z)/(L-z),ee=(v=document.querySelector(`[data-line="${le}"]`))==null?void 0:v.offsetTop,te=V-ee+Za(e,"padding-top")}const de=ee-A+te*M;r(e,de,()=>{f--})},m=()=>{var O,y,v,S,_,A,C;if(f!==0)return;d++;const{scrollDOM:$}=n,R=e.scrollTop,M=e.scrollHeight,X=$.scrollHeight-$.clientHeight,Z=e.scrollHeight-e.clientHeight;let L=(O=e.firstElementChild)==null?void 0:O.firstElementChild,V=(y=e.firstElementChild)==null?void 0:y.lastElementChild;if(u.length>0){let Ze=Math.ceil(u[u.length-1]*(R/M)),be=u.findLastIndex(me=>me<=Ze);be=be===-1?0:be,Ze=u[be];for(let me=be;me>=0&&meR){if(me-1>=0){me--;continue}Ze=-1,be=me;break}else{if(me+1X||V.offsetTop+V.offsetHeight>Z){const Ze=h(X,Z);z=(A=document.querySelector(`[data-line="${Ze}"]`))==null?void 0:A.offsetTop,le=s(Ze),ee=(R-z)/(Z-z),Ae=X-le}else L===((C=e.firstElementChild)==null?void 0:C.firstElementChild)?(L===V&&(q=V.offsetTop+V.offsetHeight+ +getComputedStyle(V).marginBottom.replace("px","")),Ae=pe,ee=Math.max(R/q,0)):(ee=Math.max((R-z)/(q-z),0),Ae=pe-le);r(t,le+Ae*ee,()=>{d--})},g=r0(O=>{var y;const{scrollDOM:v,contentHeight:S}=n,_=v.clientHeight;if(S<=_||e.firstElementChild.clientHeight<=e.clientHeight)return!1;if(n.state.doc.lines<((y=l[l.length-1])==null?void 0:y.end))return c(),!1;O.target===t?p():m()},1);return[()=>{c(),t.addEventListener("scroll",g),e.addEventListener("scroll",g),t.dispatchEvent(new Event("scroll"))},()=>{t.removeEventListener("scroll",g),e.removeEventListener("scroll",g)}]},lQ=(t,e,i)=>{const n=ne("editorId");let r=()=>{},s=()=>{};const o=()=>{r();const l=document.querySelector(`#${n} .cm-scroller`),a=document.querySelector(`[id="${n}-preview-wrapper"]`),u=document.querySelector(`[id="${n}-html-wrapper"]`);(a||u)&&([s,r]=(a?oQ:sQ)(l,a||u,i.value),t.scrollAuto&&s())};J([e,qi(t.setting,"preview"),qi(t.setting,"htmlPreview"),qi(t.setting,"fullscreen"),qi(t.setting,"pageFullscreen")],()=>{gi(o)}),J(()=>t.scrollAuto,l=>{l?s():r()}),J(()=>t.setting.previewOnly,l=>{l?r():s()}),De(o)},Da=(t,e,i)=>{var n;let r="",s=0,o=0,l=!0,a=!1;const u=e.getSelectedText(),c=ze.editorConfig.mermaidTemplate;if(/^h[1-6]{1}$/.test(t)){const h=t.replace(/^h(\d)/,(f,d)=>new Array(Number(d)).fill("#",0,d).join(""));r=`${h} ${u}`,s=h.length+1}else if(t==="prettier"){const h=window.prettier||ze.editorExtensions.prettier.prettierInstance,f=[((n=window.prettierPlugins)==null?void 0:n.markdown)||ze.editorExtensions.prettier.parserMarkdownInstance];!h||f[0]===void 0?(I.emit(i.editorId,$n,{name:"prettier",message:"prettier is undefined"}),r=e.getValue()):r=h.format(e.getValue(),{parser:"markdown",plugins:f}),l=!1,a=!0}else switch(t){case"bold":{r=`**${u}**`,s=2,o=-2;break}case"underline":{r=`${u}`,s=3,o=-4;break}case"italic":{r=`*${u}*`,s=1,o=-1;break}case"strikeThrough":{r=`~~${u}~~`,s=2,o=-2;break}case"sub":{r=`${u}`,s=5,o=-6;break}case"sup":{r=`${u}`,s=5,o=-6;break}case"codeRow":{r="`"+u+"`",s=1,o=-1;break}case"quote":{r=`> ${u}`,s=2;break}case"orderedList":{r=`1. ${u}`,s=3;break}case"unorderedList":{r=`- ${u}`,s=2;break}case"task":{r=`- [ ] ${u}`,s=6;break}case"code":{const h=i.text||u||"",f=i.mode||"language";r=`\`\`\`${f} + ${X}`};t.renderer.rules.fence=c,t.renderer.rules.code_block=c},EC=TC;function ZC(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ku={exports:{}},Qe={},Ju={exports:{}},Pn={};function G1(){var t={};return t["align-content"]=!1,t["align-items"]=!1,t["align-self"]=!1,t["alignment-adjust"]=!1,t["alignment-baseline"]=!1,t.all=!1,t["anchor-point"]=!1,t.animation=!1,t["animation-delay"]=!1,t["animation-direction"]=!1,t["animation-duration"]=!1,t["animation-fill-mode"]=!1,t["animation-iteration-count"]=!1,t["animation-name"]=!1,t["animation-play-state"]=!1,t["animation-timing-function"]=!1,t.azimuth=!1,t["backface-visibility"]=!1,t.background=!0,t["background-attachment"]=!0,t["background-clip"]=!0,t["background-color"]=!0,t["background-image"]=!0,t["background-origin"]=!0,t["background-position"]=!0,t["background-repeat"]=!0,t["background-size"]=!0,t["baseline-shift"]=!1,t.binding=!1,t.bleed=!1,t["bookmark-label"]=!1,t["bookmark-level"]=!1,t["bookmark-state"]=!1,t.border=!0,t["border-bottom"]=!0,t["border-bottom-color"]=!0,t["border-bottom-left-radius"]=!0,t["border-bottom-right-radius"]=!0,t["border-bottom-style"]=!0,t["border-bottom-width"]=!0,t["border-collapse"]=!0,t["border-color"]=!0,t["border-image"]=!0,t["border-image-outset"]=!0,t["border-image-repeat"]=!0,t["border-image-slice"]=!0,t["border-image-source"]=!0,t["border-image-width"]=!0,t["border-left"]=!0,t["border-left-color"]=!0,t["border-left-style"]=!0,t["border-left-width"]=!0,t["border-radius"]=!0,t["border-right"]=!0,t["border-right-color"]=!0,t["border-right-style"]=!0,t["border-right-width"]=!0,t["border-spacing"]=!0,t["border-style"]=!0,t["border-top"]=!0,t["border-top-color"]=!0,t["border-top-left-radius"]=!0,t["border-top-right-radius"]=!0,t["border-top-style"]=!0,t["border-top-width"]=!0,t["border-width"]=!0,t.bottom=!1,t["box-decoration-break"]=!0,t["box-shadow"]=!0,t["box-sizing"]=!0,t["box-snap"]=!0,t["box-suppress"]=!0,t["break-after"]=!0,t["break-before"]=!0,t["break-inside"]=!0,t["caption-side"]=!1,t.chains=!1,t.clear=!0,t.clip=!1,t["clip-path"]=!1,t["clip-rule"]=!1,t.color=!0,t["color-interpolation-filters"]=!0,t["column-count"]=!1,t["column-fill"]=!1,t["column-gap"]=!1,t["column-rule"]=!1,t["column-rule-color"]=!1,t["column-rule-style"]=!1,t["column-rule-width"]=!1,t["column-span"]=!1,t["column-width"]=!1,t.columns=!1,t.contain=!1,t.content=!1,t["counter-increment"]=!1,t["counter-reset"]=!1,t["counter-set"]=!1,t.crop=!1,t.cue=!1,t["cue-after"]=!1,t["cue-before"]=!1,t.cursor=!1,t.direction=!1,t.display=!0,t["display-inside"]=!0,t["display-list"]=!0,t["display-outside"]=!0,t["dominant-baseline"]=!1,t.elevation=!1,t["empty-cells"]=!1,t.filter=!1,t.flex=!1,t["flex-basis"]=!1,t["flex-direction"]=!1,t["flex-flow"]=!1,t["flex-grow"]=!1,t["flex-shrink"]=!1,t["flex-wrap"]=!1,t.float=!1,t["float-offset"]=!1,t["flood-color"]=!1,t["flood-opacity"]=!1,t["flow-from"]=!1,t["flow-into"]=!1,t.font=!0,t["font-family"]=!0,t["font-feature-settings"]=!0,t["font-kerning"]=!0,t["font-language-override"]=!0,t["font-size"]=!0,t["font-size-adjust"]=!0,t["font-stretch"]=!0,t["font-style"]=!0,t["font-synthesis"]=!0,t["font-variant"]=!0,t["font-variant-alternates"]=!0,t["font-variant-caps"]=!0,t["font-variant-east-asian"]=!0,t["font-variant-ligatures"]=!0,t["font-variant-numeric"]=!0,t["font-variant-position"]=!0,t["font-weight"]=!0,t.grid=!1,t["grid-area"]=!1,t["grid-auto-columns"]=!1,t["grid-auto-flow"]=!1,t["grid-auto-rows"]=!1,t["grid-column"]=!1,t["grid-column-end"]=!1,t["grid-column-start"]=!1,t["grid-row"]=!1,t["grid-row-end"]=!1,t["grid-row-start"]=!1,t["grid-template"]=!1,t["grid-template-areas"]=!1,t["grid-template-columns"]=!1,t["grid-template-rows"]=!1,t["hanging-punctuation"]=!1,t.height=!0,t.hyphens=!1,t.icon=!1,t["image-orientation"]=!1,t["image-resolution"]=!1,t["ime-mode"]=!1,t["initial-letters"]=!1,t["inline-box-align"]=!1,t["justify-content"]=!1,t["justify-items"]=!1,t["justify-self"]=!1,t.left=!1,t["letter-spacing"]=!0,t["lighting-color"]=!0,t["line-box-contain"]=!1,t["line-break"]=!1,t["line-grid"]=!1,t["line-height"]=!1,t["line-snap"]=!1,t["line-stacking"]=!1,t["line-stacking-ruby"]=!1,t["line-stacking-shift"]=!1,t["line-stacking-strategy"]=!1,t["list-style"]=!0,t["list-style-image"]=!0,t["list-style-position"]=!0,t["list-style-type"]=!0,t.margin=!0,t["margin-bottom"]=!0,t["margin-left"]=!0,t["margin-right"]=!0,t["margin-top"]=!0,t["marker-offset"]=!1,t["marker-side"]=!1,t.marks=!1,t.mask=!1,t["mask-box"]=!1,t["mask-box-outset"]=!1,t["mask-box-repeat"]=!1,t["mask-box-slice"]=!1,t["mask-box-source"]=!1,t["mask-box-width"]=!1,t["mask-clip"]=!1,t["mask-image"]=!1,t["mask-origin"]=!1,t["mask-position"]=!1,t["mask-repeat"]=!1,t["mask-size"]=!1,t["mask-source-type"]=!1,t["mask-type"]=!1,t["max-height"]=!0,t["max-lines"]=!1,t["max-width"]=!0,t["min-height"]=!0,t["min-width"]=!0,t["move-to"]=!1,t["nav-down"]=!1,t["nav-index"]=!1,t["nav-left"]=!1,t["nav-right"]=!1,t["nav-up"]=!1,t["object-fit"]=!1,t["object-position"]=!1,t.opacity=!1,t.order=!1,t.orphans=!1,t.outline=!1,t["outline-color"]=!1,t["outline-offset"]=!1,t["outline-style"]=!1,t["outline-width"]=!1,t.overflow=!1,t["overflow-wrap"]=!1,t["overflow-x"]=!1,t["overflow-y"]=!1,t.padding=!0,t["padding-bottom"]=!0,t["padding-left"]=!0,t["padding-right"]=!0,t["padding-top"]=!0,t.page=!1,t["page-break-after"]=!1,t["page-break-before"]=!1,t["page-break-inside"]=!1,t["page-policy"]=!1,t.pause=!1,t["pause-after"]=!1,t["pause-before"]=!1,t.perspective=!1,t["perspective-origin"]=!1,t.pitch=!1,t["pitch-range"]=!1,t["play-during"]=!1,t.position=!1,t["presentation-level"]=!1,t.quotes=!1,t["region-fragment"]=!1,t.resize=!1,t.rest=!1,t["rest-after"]=!1,t["rest-before"]=!1,t.richness=!1,t.right=!1,t.rotation=!1,t["rotation-point"]=!1,t["ruby-align"]=!1,t["ruby-merge"]=!1,t["ruby-position"]=!1,t["shape-image-threshold"]=!1,t["shape-outside"]=!1,t["shape-margin"]=!1,t.size=!1,t.speak=!1,t["speak-as"]=!1,t["speak-header"]=!1,t["speak-numeral"]=!1,t["speak-punctuation"]=!1,t["speech-rate"]=!1,t.stress=!1,t["string-set"]=!1,t["tab-size"]=!1,t["table-layout"]=!1,t["text-align"]=!0,t["text-align-last"]=!0,t["text-combine-upright"]=!0,t["text-decoration"]=!0,t["text-decoration-color"]=!0,t["text-decoration-line"]=!0,t["text-decoration-skip"]=!0,t["text-decoration-style"]=!0,t["text-emphasis"]=!0,t["text-emphasis-color"]=!0,t["text-emphasis-position"]=!0,t["text-emphasis-style"]=!0,t["text-height"]=!0,t["text-indent"]=!0,t["text-justify"]=!0,t["text-orientation"]=!0,t["text-overflow"]=!0,t["text-shadow"]=!0,t["text-space-collapse"]=!0,t["text-transform"]=!0,t["text-underline-position"]=!0,t["text-wrap"]=!0,t.top=!1,t.transform=!1,t["transform-origin"]=!1,t["transform-style"]=!1,t.transition=!1,t["transition-delay"]=!1,t["transition-duration"]=!1,t["transition-property"]=!1,t["transition-timing-function"]=!1,t["unicode-bidi"]=!1,t["vertical-align"]=!1,t.visibility=!1,t["voice-balance"]=!1,t["voice-duration"]=!1,t["voice-family"]=!1,t["voice-pitch"]=!1,t["voice-range"]=!1,t["voice-rate"]=!1,t["voice-stress"]=!1,t["voice-volume"]=!1,t.volume=!1,t["white-space"]=!1,t.widows=!1,t.width=!0,t["will-change"]=!1,t["word-break"]=!0,t["word-spacing"]=!0,t["word-wrap"]=!0,t["wrap-flow"]=!1,t["wrap-through"]=!1,t["writing-mode"]=!1,t["z-index"]=!1,t}function DC(t,e,i){}function RC(t,e,i){}var IC=/javascript\s*\:/img;function LC(t,e){return IC.test(e)?"":e}Pn.whiteList=G1();Pn.getDefaultWhiteList=G1;Pn.onAttr=DC;Pn.onIgnoreAttr=RC;Pn.safeAttrValue=LC;var XC={indexOf:function(t,e){var i,n;if(Array.prototype.indexOf)return t.indexOf(e);for(i=0,n=t.length;i/g,JC=/"/g,e6=/"/g,t6=/&#([a-zA-Z0-9]*);?/gim,i6=/:?/gim,n6=/&newline;?/gim,So=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,W0=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,V0=/u\s*r\s*l\s*\(.*/gi;function tb(t){return t.replace(JC,""")}function ib(t){return t.replace(e6,'"')}function nb(t){return t.replace(t6,function(i,n){return n[0]==="x"||n[0]==="X"?String.fromCharCode(parseInt(n.substr(1),16)):String.fromCharCode(parseInt(n,10))})}function rb(t){return t.replace(i6,":").replace(n6," ")}function sb(t){for(var e="",i=0,n=t.length;i",n);if(r===-1)break;i=r+3}return e}function l6(t){var e=t.split("");return e=e.filter(function(i){var n=i.charCodeAt(0);return n===127?!1:n<=31?n===10||n===13:!0}),e.join("")}Qe.whiteList=K1();Qe.getDefaultWhiteList=K1;Qe.onTag=qC;Qe.onIgnoreTag=YC;Qe.onTagAttr=NC;Qe.onIgnoreTagAttr=UC;Qe.safeAttrValue=GC;Qe.escapeHtml=eb;Qe.escapeQuote=tb;Qe.unescapeQuote=ib;Qe.escapeHtmlEntities=nb;Qe.escapeDangerHtml5Entities=rb;Qe.clearNonPrintableCharacter=sb;Qe.friendlyAttrValue=ob;Qe.escapeAttrValue=lb;Qe.onIgnoreTagStripAll=r6;Qe.StripTagBody=s6;Qe.stripCommentTag=o6;Qe.stripBlankChar=l6;Qe.attributeWrapSign='"';Qe.cssFilter=J1;Qe.getDefaultCSSWhiteList=BC;var jl={},Vi=rh;function a6(t){var e=Vi.spaceIndex(t),i;return e===-1?i=t.slice(1,-1):i=t.slice(1,e+1),i=Vi.trim(i).toLowerCase(),i.slice(0,1)==="/"&&(i=i.slice(1)),i.slice(-1)==="/"&&(i=i.slice(0,-1)),i}function u6(t){return t.slice(0,2)===""||l===a-1){n+=i(t.slice(r,s)),c=t.slice(s,l+1),u=a6(c),n+=e(s,n.length,u,c,u6(c)),r=l+1,s=!1;continue}if(h==='"'||h==="'")for(var f=1,d=t.charAt(l-f);d.trim()===""||d==="=";){if(d==="="){o=h;continue e}d=t.charAt(l-++f)}}else if(h===o){o=!1;continue}}return r0;e--){var i=t[e];if(i!==" ")return i==="="?e:-1}}function O6(t){return t[0]==='"'&&t[t.length-1]==='"'||t[0]==="'"&&t[t.length-1]==="'"}function F0(t){return O6(t)?t.substr(1,t.length-2):t}jl.parseTag=c6;jl.parseAttr=f6;var g6=nh.FilterCSS,Qt=Qe,ab=jl,b6=ab.parseTag,y6=ab.parseAttr,Fo=rh;function wo(t){return t==null}function x6(t){var e=Fo.spaceIndex(t);if(e===-1)return{html:"",closing:t[t.length-2]==="/"};t=Fo.trim(t.slice(e+1,-1));var i=t[t.length-1]==="/";return i&&(t=Fo.trim(t.slice(0,-1))),{html:t,closing:i}}function k6(t){var e={};for(var i in t)e[i]=t[i];return e}function v6(t){var e={};for(var i in t)Array.isArray(t[i])?e[i.toLowerCase()]=t[i].map(function(n){return n.toLowerCase()}):e[i.toLowerCase()]=t[i];return e}function ub(t){t=k6(t||{}),t.stripIgnoreTag&&(t.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),t.onIgnoreTag=Qt.onIgnoreTagStripAll),t.whiteList||t.allowList?t.whiteList=v6(t.whiteList||t.allowList):t.whiteList=Qt.whiteList,this.attributeWrapSign=t.singleQuotedAttributeValue===!0?"'":Qt.attributeWrapSign,t.onTag=t.onTag||Qt.onTag,t.onTagAttr=t.onTagAttr||Qt.onTagAttr,t.onIgnoreTag=t.onIgnoreTag||Qt.onIgnoreTag,t.onIgnoreTagAttr=t.onIgnoreTagAttr||Qt.onIgnoreTagAttr,t.safeAttrValue=t.safeAttrValue||Qt.safeAttrValue,t.escapeHtml=t.escapeHtml||Qt.escapeHtml,this.options=t,t.css===!1?this.cssFilter=!1:(t.css=t.css||{},this.cssFilter=new g6(t.css))}ub.prototype.process=function(t){if(t=t||"",t=t.toString(),!t)return"";var e=this,i=e.options,n=i.whiteList,r=i.onTag,s=i.onIgnoreTag,o=i.onTagAttr,l=i.onIgnoreTagAttr,a=i.safeAttrValue,u=i.escapeHtml,c=e.attributeWrapSign,h=e.cssFilter;i.stripBlankChar&&(t=Qt.stripBlankChar(t)),i.allowCommentTag||(t=Qt.stripCommentTag(t));var f=!1;i.stripIgnoreTagBody&&(f=Qt.StripTagBody(i.stripIgnoreTagBody,s),s=f.onIgnoreTag);var d=b6(t,function(p,m,g,O,y){var v={sourcePosition:p,position:m,isClosing:y,isWhite:Object.prototype.hasOwnProperty.call(n,g)},S=r(g,O,v);if(!wo(S))return S;if(v.isWhite){if(v.isClosing)return"";var _=x6(O),A=n[g],C=y6(_.html,function($,R){var M=Fo.indexOf(A,$)!==-1,X=o(g,$,R,M);return wo(X)?M?(R=a(g,$,R,h),R?$+"="+c+R+c:$):(X=l(g,$,R,M),wo(X)?void 0:X):X});return O="<"+g,C&&(O+=" "+C),_.closing&&(O+=" /"),O+=">",O}else return S=s(g,O,v),wo(S)?u(O):S},u);return f&&(d=f.remove(d)),d};var S6=ub;(function(t,e){var i=Qe,n=jl,r=S6;function s(l,a){var u=new r(a);return u.process(l)}e=t.exports=s,e.filterXSS=s,e.FilterXSS=r,function(){for(var l in i)e[l]=i[l];for(var a in n)e[a]=n[a]}(),typeof window<"u"&&(window.filterXSS=t.exports);function o(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}o()&&(self.filterXSS=t.exports)})(Ku,Ku.exports);var Hr=Ku.exports;const w6=ZC(Hr),_6=dC({__proto__:null,default:w6},[Hr]),z0={img:["class"],input:["class","disabled","type","checked"],iframe:["class","width","height","src","title","border","frameborder","framespacing","allow","allowfullscreen"]},$6=(t,e)=>{const{extendedWhiteList:i={},xss:n={}}=e;let r;if(typeof n=="function")r=new Hr.FilterXSS(n(_6));else{const s=Hr.getDefaultWhiteList();[...Object.keys(i),...Object.keys(z0)].forEach(l=>{const a=s[l]||[],u=z0[l]||[],c=i[l]||[];s[l]=[...new Set([...a,...u,...c])]}),r=new Hr.FilterXSS({whiteList:s,...n})}t.core.ruler.after("linkify","xss",s=>{for(let o=0;o{u.type==="html_inline"&&(u.content=r.process(u.content))});break}}}})},P6=$6,C6=t=>{t.core.ruler.push("init-line-number",e=>(e.tokens.forEach(i=>{i.map&&(i.attrs||(i.attrs=[]),i.attrs.push(["data-line",i.map[0].toString()]))}),!0))},Q6=(t,e)=>{const{editorConfig:i,markdownItConfig:n,markdownItPlugins:r}=ze,s=ne("editorId"),o=ne("language"),l=ne("usedLanguageText"),a=ne("showCodeRowNumber"),u=ne("theme"),c=ne("customIcon"),h=$e([]),f=OC(t),d=bC(t),{reRenderRef:p,replaceMermaid:m}=gC(t),g=Lt({html:!0,breaks:!0,linkify:!0});n(g,{editorId:s});const O=[{type:"image",plugin:KP,options:{figcaption:!0,classes:"md-zoom"}},{type:"admonition",plugin:$C,options:{}},{type:"taskList",plugin:hC,options:{}},{type:"heading",plugin:CC,options:{mdHeadingId:t.mdHeadingId,headsRef:h}},{type:"code",plugin:EC,options:{editorId:s,usedLanguageTextRef:l,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold,customIconRef:c}},{type:"xss",plugin:P6,options:{}}];t.noKatex||O.push({type:"katex",plugin:wC,options:{katexRef:d}}),t.noMermaid||O.push({type:"mermaid",plugin:xC,options:{themeRef:u}}),r(O,{editorId:s}).forEach($=>{g.use($.plugin,$.options)});const y=g.options.highlight;g.set({highlight:($,R,M)=>{if(y){const L=y($,R,M);if(L)return L}let X;!t.noHighlight&&f.value?f.value.getLanguage(R)?X=f.value.highlight($,{language:R,ignoreIllegals:!0}).value:X=f.value.highlightAuto($).value:X=g.utils.escapeHtml($);const Z=a?zb(X.replace(/^\n+|\n+$/g,"")):`${X.replace(/^\n+|\n+$/g,"")}`;return`
${Z}
`}}),C6(g);const v=$e(`_article-key_${Wa()}`),S=$e(t.sanitize(g.render(t.modelValue))),_=()=>{I.emit(s,Po,S.value),t.onHtmlChanged(S.value),t.onGetCatalog(h.value),I.emit(s,Co,h.value),m()};De(_);const A=()=>{h.value=[],S.value=t.sanitize(g.render(t.modelValue)),_()},C=_t(()=>(t.noKatex||d.value)&&(t.noHighlight||f.value));return J([Bi(t,"modelValue"),C,p,o],ec(A,e?0:i.renderDelay)),J(()=>t.setting.preview,()=>{t.setting.preview&&Oi(()=>{I.emit(s,Co,h.value)})}),De(()=>{I.on(s,{name:dp,callback(){I.emit(s,Co,h.value)}}),I.on(s,{name:ic,callback:()=>{v.value=`_article-key_${Wa()}`,A()}})}),{html:S,key:v}},A6=Q6,cb={modelValue:{type:String,default:""},setting:{type:Object,default:()=>({preview:!0})},onHtmlChanged:{type:Function,default:()=>{}},onGetCatalog:{type:Function,default:()=>{}},mdHeadingId:{type:Function,default:()=>""},noMermaid:{type:Boolean,default:!1},sanitize:{type:Function,default:t=>t},noKatex:{type:Boolean,default:!1},formatCopiedText:{type:Function,default:t=>t},noHighlight:{type:Boolean,default:!1},previewOnly:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean},sanitizeMermaid:{type:Function},codeFoldable:{type:Boolean},autoFoldThreshold:{type:Number}},T6={...cb,updateModelValue:{type:Function,default:()=>{}},onChange:{type:Function,default:()=>{}},placeholder:{type:String,default:""},scrollAuto:{type:Boolean},autofocus:{type:Boolean},disabled:{type:Boolean},readonly:{type:Boolean},maxlength:{type:Number},autoDetectCode:{type:Boolean},onBlur:{type:Function,default:()=>{}},onFocus:{type:Function,default:()=>{}},noPrettier:{type:Boolean},completions:{type:Array},catalogVisible:{type:Boolean},theme:{type:String,default:"light"},onInput:{type:Function},onDrop:{type:Function,default:()=>{}},inputBoxWitdh:{type:String},onInputBoxWitdhChange:{type:Function},transformImgUrl:{type:Function,default:t=>t}},hb=Ee({name:"ContentPreview",props:cb,setup(t){const e=ne("editorId"),i=ne("previewTheme"),n=ne("showCodeRowNumber"),{html:r,key:s}=A6(t,t.previewOnly);return mC(t,r,s),pC(t,r),()=>w($l,null,[t.setting.preview&&w("div",{id:`${e}-preview-wrapper`,class:`${k}-preview-wrapper`,key:"content-preview-wrapper"},[w("div",{key:s.value,id:`${e}-preview`,class:[`${k}-preview`,`${i==null?void 0:i.value}-theme`,n&&`${k}-scrn`],innerHTML:r.value},null)]),!t.previewOnly&&t.setting.htmlPreview&&w("div",{id:`${e}-html-wrapper`,class:`${k}-preview-wrapper`,key:"html-preview-wrapper"},[w("div",{class:`${k}-html`},[r.value])])])}}),E6=(t,e)=>{const{editorId:i}=t,n=mt({buildFinished:!1,html:""});J(()=>t.modelValue,()=>{n.buildFinished=!1}),De(()=>{I.on(i,{name:Po,callback(r){n.buildFinished=!0,n.html=r}}),I.on(i,{name:Pl,callback(){const r=new Promise(s=>{if(n.buildFinished)s(n.html);else{const o=l=>{s(l),I.remove(i,Po,o)};I.on(i,{name:Po,callback:o})}});t.onSave?t.onSave(t.modelValue,r):e.emit("onSave",t.modelValue,r)}})})},fb=t=>{const{editorId:e}=t,i=ze.editorExtensions.highlight,n=ze.editorExtensionsAttrs.highlight;xi("editorId",e),xi("theme",_t(()=>t.theme)),xi("language",_t(()=>t.language)),xi("highlight",_t(()=>{const{js:s}=i,o={...Va,...i.css},{js:l,css:a={}}=n||{},u=t.codeStyleReverse&&t.codeStyleReverseList.includes(t.previewTheme)?"dark":t.theme,c=o[t.codeTheme]?o[t.codeTheme][u]:Va.atom[u],h=o[t.codeTheme]&&a[t.codeTheme]?a[t.codeTheme][u]:a.atom?a.atom[u]:{};return{js:{src:s,...l},css:{href:c,...h}}})),xi("showCodeRowNumber",t.showCodeRowNumber);const r=_t(()=>{const s={...Wh,...ze.editorConfig.languageUserDefined};return lp(Rr(Wh["en-US"]),s[t.language]||{})});xi("usedLanguageText",r),xi("previewTheme",_t(()=>t.previewTheme)),xi("customIcon",_t(()=>t.customIcon))},Z6=t=>{fb(t),xi("tabWidth",t.tabWidth)},db=t=>{De(()=>{const{editorExtensions:e,editorExtensionsAttrs:i,iconfontType:n}=ze;t.noIconfont||(n==="svg"?dt("script",{...i.iconfont,src:e.iconfont,id:`${k}-icon`}):dt("link",{...i.iconfontClass,rel:"stylesheet",href:e.iconfontClass,id:`${k}-icon-class`}))})},D6=t=>{const{noPrettier:e,noUploadImg:i}=t,{editorExtensions:n,editorExtensionsAttrs:r}=ze,s=e||n.prettier.prettierInstance,o=e||n.prettier.parserMarkdownInstance,l=i||n.cropper.instance;De(()=>{if(!l){const{js:a={},css:u={}}=r.cropper||{};dt("link",{...u,rel:"stylesheet",href:n.cropper.css,id:`${k}-cropperCss`}),dt("script",{...a,src:n.cropper.js,id:`${k}-cropper`})}if(!s){const{standaloneJs:a={}}=r.prettier||{};dt("script",{...a,src:n.prettier.standaloneJs,id:`${k}-prettier`})}if(!o){const{parserMarkdownJs:a={}}=r.prettier||{};dt("script",{...a,src:n.prettier.parserMarkdownJs,id:`${k}-prettierMD`})}}),db(t)},R6=(t,e)=>{const{editorId:i}=t;De(()=>{I.on(i,{name:$n,callback:n=>{t.onError instanceof Function?t.onError(n):e.emit("onError",n)}})})},I6=(t,e)=>{const{editorId:i}=t,n=mt({pageFullscreen:t.pageFullscreen,fullscreen:!1,preview:t.preview,htmlPreview:t.preview?!1:t.htmlPreview,previewOnly:!1}),r=(l,a)=>{n[l]=a===void 0?!n[l]:a,l==="preview"?(n.htmlPreview=!1,n.previewOnly=!1):l==="htmlPreview"?(n.preview=!1,n.previewOnly=!1):l==="previewOnly"&&!n.preview&&!n.htmlPreview&&(n.preview=!0)};let s="";const o=()=>{n.pageFullscreen||n.fullscreen?document.body.style.overflow="hidden":document.body.style.overflow=s};return J(()=>[n.pageFullscreen,n.fullscreen],o),De(()=>{I.on(i,{name:Cl,callback(l,a){const u=c=>{I.emit(i,fe,"image",{desc:"",urls:c}),a&&a()};t.onUploadImg?t.onUploadImg(l,u):e.emit("onUploadImg",l,u)}}),s=document.body.style.overflow,o()}),[n,r]},L6=t=>{const{editorId:e}=t,i=$e(!1);return De(()=>{I.on(e,{name:tc,callback:r=>{r===void 0?i.value=!i.value:i.value=r}})}),_t(()=>!t.toolbarsExclude.includes("catalog")&&t.toolbars.includes("catalog")&&i.value)},X6=(t,e,i,n,r,s)=>{const{editorId:o}=t;J(()=>n.pageFullscreen,a=>{I.emit(o,Vh,a)}),J(()=>n.fullscreen,a=>{I.emit(o,Fh,a)}),J(()=>n.preview,a=>{I.emit(o,zh,a)}),J(()=>n.previewOnly,a=>{I.emit(o,jh,a)}),J(()=>n.htmlPreview,a=>{I.emit(o,Bh,a)}),J(i,a=>{I.emit(o,qh,a)});const l={on(a,u){switch(a){case"pageFullscreen":{I.on(o,{name:Vh,callback(c){u(c)}});break}case"fullscreen":{I.on(o,{name:Fh,callback(c){u(c)}});break}case"preview":{I.on(o,{name:zh,callback(c){u(c)}});break}case"previewOnly":{I.on(o,{name:jh,callback(c){u(c)}});break}case"htmlPreview":{I.on(o,{name:Bh,callback(c){u(c)}});break}case"catalog":{I.on(o,{name:qh,callback(c){u(c)}});break}}},togglePageFullscreen(a){r("pageFullscreen",a)},toggleFullscreen(a){I.emit(o,cp,a)},togglePreview(a){r("preview",a)},togglePreviewOnly(a){r("previewOnly",a)},toggleHtmlPreview(a){r("htmlPreview",a)},toggleCatalog(a){I.emit(o,tc,a)},triggerSave(){I.emit(o,Pl)},insert(a){I.emit(o,fe,"universal",{generate:a})},focus(a){var u;(u=s.value)==null||u.focus(a)},rerender(){I.emit(o,ic)},getSelectedText(){var a;return(a=s.value)==null?void 0:a.getSelectedText()},resetHistory(){var a;(a=s.value)==null||a.resetHistory()},domEventHandlers(a){I.emit(o,pp,a)},execCommand(a){I.emit(o,fe,a)}};e.expose(l)},M6=t=>t,pb={modelValue:{type:String,default:""},theme:{type:String,default:"light"},class:{type:String,default:""},language:{type:String,default:"zh-CN"},onHtmlChanged:{type:Function},onGetCatalog:{type:Function},editorId:{type:String,default:()=>Bb("md-editor-v3_")},showCodeRowNumber:{type:Boolean,default:!0},previewTheme:{type:String,default:"default"},style:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:M6},sanitize:{type:Function,default:t=>t},noMermaid:{type:Boolean,default:!1},noKatex:{type:Boolean,default:!1},codeTheme:{type:String,default:"atom"},noIconfont:{type:Boolean},formatCopiedText:{type:Function,default:t=>t},codeStyleReverse:{type:Boolean,default:!0},codeStyleReverseList:{type:Array,default:["default","mk-cute"]},noHighlight:{type:Boolean,default:!1},noImgZoomIn:{type:Boolean,default:!1},customIcon:{type:Object,default:{}},sanitizeMermaid:{type:Function,default:t=>Promise.resolve(t)},codeFoldable:{type:Boolean,default:!0},autoFoldThreshold:{type:Number,default:30}},W6={...pb,onChange:{type:Function},onSave:{type:Function},onUploadImg:{type:Function},pageFullscreen:{type:Boolean,default:!1},preview:{type:Boolean,default:!0},htmlPreview:{type:Boolean,default:!1},toolbars:{type:Array,default:ap},toolbarsExclude:{type:Array,default:[]},noPrettier:{type:Boolean,default:!1},tabWidth:{type:Number,default:2},tableShape:{type:Array},placeholder:{type:String,default:""},defToolbars:{type:[String,Object]},onError:{type:Function},footers:{type:Array,default:up},scrollAuto:{type:Boolean,default:!0},defFooters:{type:[String,Object]},noUploadImg:{type:Boolean},autoFocus:{type:Boolean},disabled:{type:Boolean},readOnly:{type:Boolean},maxLength:{type:Number},autoDetectCode:{type:Boolean},onBlur:{type:Function},onFocus:{type:Function},completions:{type:Array},showToolbarName:{type:Boolean,default:!1},onInput:{type:Function},onDrop:{type:Function},inputBoxWitdh:{type:String,default:"50%"},onInputBoxWitdhChange:{type:Function},transformImgUrl:{type:Function,default:t=>t}},mb=["onHtmlChanged","onGetCatalog"],V6=[...mb,"onChange","onSave","onUploadImg","onError","update:modelValue","onBlur","onFocus","onInput","onDrop","onInputBoxWitdhChange"],F6=(t,e)=>{const{editorId:i}=t,n={rerender(){I.emit(i,ic)}};e.expose(n)},zo=Ee({name:"MdPreview",props:pb,emits:mb,setup(t,e){const{editorId:i,noKatex:n,noMermaid:r,noHighlight:s}=t;return fb(t),db(t),F6(t,e),_s(()=>{I.clear(i)}),()=>w("div",{id:i,class:[k,t.class,t.theme==="dark"&&`${k}-dark`,`${k}-previewOnly`],style:t.style},[w(hb,{modelValue:t.modelValue,onHtmlChanged:o=>{t.onHtmlChanged?t.onHtmlChanged(o):e.emit("onHtmlChanged",o)},onGetCatalog:o=>{t.onGetCatalog?t.onGetCatalog(o):e.emit("onGetCatalog",o)},mdHeadingId:t.mdHeadingId,noMermaid:r,sanitize:t.sanitize,noKatex:n,formatCopiedText:t.formatCopiedText,noHighlight:s,noImgZoomIn:t.noImgZoomIn,previewOnly:!0,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null)])}});zo.install=t=>(t.component(zo.name,zo),t);const z6={tocItem:{type:Object,default:()=>({})},mdHeadingId:{type:Function,default:()=>{}},scrollElement:{type:[String,Object],default:""},onClick:{type:Function,default:()=>{}},scrollElementOffsetTop:{type:Number,default:0}},Ob=Ee({props:z6,setup(t){return()=>{const{tocItem:e,mdHeadingId:i,scrollElement:n,onClick:r,scrollElementOffsetTop:s}=t;return w("div",{class:[`${k}-catalog-link`,e.active&&`${k}-catalog-active`],onClick:o=>{r(o,e),o.stopPropagation();const l=i(e.text,e.level,e.index),a=document.getElementById(l),u=n instanceof Element?n:document.querySelector(n);if(a&&u){let c=a.offsetParent,h=a.offsetTop;if(u.contains(c))for(;c&&u!=c;)h+=c==null?void 0:c.offsetTop,c=c==null?void 0:c.offsetParent;u==null||u.scrollTo({top:h-s,behavior:"smooth"})}}},[w("span",{title:e.text},[e.text]),w("div",{class:`${k}-catalog-wrapper`},[e.children&&e.children.map(o=>w(Ob,{mdHeadingId:i,key:`${e.text}-link-${o.level}-${o.text}`,tocItem:o,scrollElement:n,onClick:r,scrollElementOffsetTop:s},null))])])}}}),j6=Ob,B6={editorId:{type:String},class:{type:String,default:""},mdHeadingId:{type:Function,default:t=>t},scrollElement:{type:[String,Object]},theme:{type:String,default:"light"},offsetTop:{type:Number,default:20},scrollElementOffsetTop:{type:Number,default:0},onClick:{type:Function},onActive:{type:Function}},Kr=Ee({name:"MdCatalog",props:B6,emits:["onClick","onActive"],setup(t,e){const i=t.editorId,n=mt({list:[],show:!1,scrollElement:t.scrollElement||`#${i}-preview-wrapper`}),r=yn(),s=_t(()=>{const u=[];return n.list.forEach((c,h)=>{const{text:f,level:d}=c,p={level:d,text:f,index:h+1,active:r.value===c};if(u.length===0)u.push(p);else{let m=u[u.length-1];if(p.level>m.level)for(let g=m.level+1;g<=6;g++){const{children:O}=m;if(!O){m.children=[p];break}if(m=O[O.length-1],p.level<=m.level){O.push(p);break}}else u.push(p)}}),u}),o=()=>n.scrollElement instanceof HTMLElement?n.scrollElement:document.querySelector(n.scrollElement),l=u=>{if(u.length===0)return n.list=[],!1;const{activeHead:c}=u.reduce((h,f,d)=>{const p=document.getElementById(t.mdHeadingId(f.text,f.level,d+1));if(p instanceof HTMLElement){const m=o(),g=jb(p,m);if(gh.minTop)return{activeHead:f,minTop:g}}return h},{activeHead:u[0],minTop:Number.MIN_SAFE_INTEGER});r.value=c,n.list=u},a=()=>{l(n.list)};return J(()=>r.value,u=>{const c=u?{...u}:void 0;t.onActive?t.onActive(c):e.emit("onActive",c)}),De(()=>{let u=window;const c=()=>{const h=o();u=h===document.documentElement?window:h};I.on(i,{name:Co,callback:h=>{u==null||u.removeEventListener("scroll",a),l(h),c(),u==null||u.addEventListener("scroll",a)}}),I.emit(i,dp),c(),u==null||u.addEventListener("scroll",a)}),_s(()=>{var u;const c=o();(u=c===document.documentElement?window:c)==null||u.removeEventListener("scroll",a)}),()=>w("div",{class:`${k}-catalog${t.theme==="dark"?"-dark":""} ${t.class}`},[s.value.map(u=>w(j6,{mdHeadingId:t.mdHeadingId,tocItem:u,key:`link-${u.level}-${u.text}`,scrollElement:n.scrollElement,onClick:(c,h)=>{t.onClick?t.onClick(c,h):e.emit("onClick",c,h)},scrollElementOffsetTop:t.scrollElementOffsetTop},null))])}});Kr.install=t=>(t.component(Kr.name,Kr),t);const q6={title:{type:String,default:""},trigger:{type:[String,Object]},onClick:{type:Function},insert:{type:Function},language:{type:String},theme:{type:String}},jo=Ee({name:"NormalToolbar",props:q6,emits:["onClick"],setup(t,e){return()=>{const i=Zt({props:t,ctx:e},"trigger");return w("div",{class:`${k}-toolbar-item`,title:t.title,onClick:n=>{t.onClick instanceof Function?t.onClick(n):e.emit("onClick",n)}},[i])}}});jo.install=t=>(t.component(jo.name,jo),t);function Y6(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!kb(t)}const N6={title:{type:String,default:""},modalTitle:{type:String,default:""},visible:{type:Boolean},width:{type:String,default:"auto"},height:{type:String,default:"auto"},trigger:{type:[String,Object]},onClick:{type:Function},onClose:{type:Function},showAdjust:{type:Boolean,default:!1},isFullscreen:{type:Boolean,default:!1},onAdjust:{type:Function},insert:{type:Function},language:{type:String},theme:{type:String},previewTheme:{type:String}},Bo=Ee({name:"ModalToolbar",props:N6,emits:["onClick","onClose","onAdjust"],setup(t,e){return()=>{const i=Zt({props:t,ctx:e},"trigger"),n=Zt({props:t,ctx:e},"default");return w($l,null,[w("div",{class:`${k}-toolbar-item`,title:t.title,onClick:()=>{t.onClick instanceof Function?t.onClick():e.emit("onClick")}},[i]),w(Vn,{width:t.width,height:t.height,title:t.modalTitle,visible:t.visible,onClose:()=>{t.onClose instanceof Function?t.onClose():e.emit("onClose")},showAdjust:t.showAdjust,isFullscreen:t.isFullscreen,onAdjust:r=>{t.onAdjust instanceof Function?t.onAdjust(r):e.emit("onAdjust",r)}},Y6(n)?n:{default:()=>[n]})])}}});Bo.install=t=>(t.component(Bo.name,Bo),t);var U6=Object.defineProperty,G6=(t,e,i)=>e in t?U6(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i,Zi=(t,e,i)=>(G6(t,typeof e!="symbol"?e+"":e,i),i);const H6=Ee({setup(){return()=>w("div",{class:`${k}-divider`},null)}}),K6={noPrettier:{type:Boolean},toolbars:{type:Array,default:()=>[]},toolbarsExclude:{type:Array,default:()=>[]},setting:{type:Object,default:()=>({})},screenfull:{type:Object,default:null},screenfullJs:{type:String,default:""},updateSetting:{type:Function,default:()=>{}},tableShape:{type:Array,default:()=>[6,4]},defToolbars:{type:Object},noUploadImg:{type:Boolean},showToolbarName:{type:Boolean}},J6=t=>{const e=ne("editorId"),{editorExtensions:i,editorExtensionsAttrs:n}=ze;let r=i.screenfull.instance;const s=$e(!1),o=u=>{if(!r){I.emit(e,$n,{name:"fullscreen",message:"fullscreen is undefined"});return}r.isEnabled?(s.value=!0,(u===void 0?!r.isFullscreen:u)?r.request():r.exit()):console.error("browser does not support screenfull!")},l=()=>{r&&r.isEnabled&&r.on("change",()=>{(s.value||t.setting.fullscreen)&&(s.value=!1,t.updateSetting("fullscreen"))})},a=()=>{r=window.screenfull,l()};return De(()=>{var u;l(),r||dt("script",{...(u=n.screenfull)==null?void 0:u.js,src:i.screenfull.js,id:`${k}-screenfull`,onload:a},"screenfull")}),De(()=>{I.on(e,{name:cp,callback:o})}),{fullscreenHandler:o}},eQ={tableShape:{type:Array,default:()=>[6,4]},onSelected:{type:Function,default:()=>{}}},tQ=Ee({name:"TableShape",props:eQ,setup(t){const e=mt({x:-1,y:-1}),i=()=>{const r=[...t.tableShape];return(!r[2]||r[2]t.tableShape,()=>{n.value=i()}),()=>w("div",{class:`${k}-table-shape`,onMouseleave:()=>{n.value=i(),e.x=-1,e.y=-1}},[new Array(n.value[1]).fill("").map((r,s)=>w("div",{class:`${k}-table-shape-row`,key:`table-shape-row-${s}`},[new Array(n.value[0]).fill("").map((o,l)=>w("div",{class:`${k}-table-shape-col`,key:`table-shape-col-${l}`,onMouseenter:()=>{e.x=s,e.y=l,l+1===n.value[0]&&l+1t.tableShape[0]&&n.value[0]--,s+1===n.value[1]&&s+1t.tableShape[1]&&n.value[1]--},onClick:()=>{t.onSelected(e)}},[w("div",{class:[`${k}-table-shape-col-default`,s<=e.x&&l<=e.y&&`${k}-table-shape-col-include`]},null)]))]))])}}),iQ=tQ,nQ={type:{type:String,default:"link"},visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},rQ=Ee({props:nQ,setup(t){const e=ne("usedLanguageText"),i=ne("editorId"),n=_t(()=>{var s,o;switch(t.type){case"link":return(s=e.value.linkModalTips)==null?void 0:s.linkTitle;case"image":return(o=e.value.linkModalTips)==null?void 0:o.imageTitle;default:return""}}),r=mt({desc:"",url:""});return J(()=>t.visible,s=>{s||setTimeout(()=>{r.desc="",r.url=""},200)}),()=>w(Vn,{title:n.value,visible:t.visible,onClose:t.onCancel},{default:()=>{var s,o,l,a,u;return[w("div",{class:`${k}-form-item`},[w("label",{class:`${k}-label`,for:`link-desc-${i}`},[(s=e.value.linkModalTips)==null?void 0:s.descLabel]),w("input",{placeholder:(o=e.value.linkModalTips)==null?void 0:o.descLabelPlaceHolder,class:`${k}-input`,id:`link-desc-${i}`,type:"text",value:r.desc,onChange:c=>{r.desc=c.target.value},autocomplete:"off"},null)]),w("div",{class:`${k}-form-item`},[w("label",{class:`${k}-label`,for:`link-url-${i}`},[(l=e.value.linkModalTips)==null?void 0:l.urlLabel]),w("input",{placeholder:(a=e.value.linkModalTips)==null?void 0:a.urlLabelPlaceHolder,class:`${k}-input`,id:`link-url-${i}`,type:"text",value:r.url,onChange:c=>{r.url=c.target.value},autocomplete:"off"},null)]),w("div",{class:`${k}-form-item`},[w("button",{class:[`${k}-btn`,`${k}-btn-row`],type:"button",onClick:()=>{t.onOk(r),r.desc="",r.url=""}},[(u=e.value.linkModalTips)==null?void 0:u.buttonOK])])]}})}}),sQ={visible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},oQ=Ee({props:sQ,setup(t){const e=ne("usedLanguageText"),i=ne("editorId");let n=ze.editorExtensions.cropper.instance;const r=$e(),s=$e(),o=$e(),l=mt({cropperInited:!1,imgSelected:!1,imgSrc:"",isFullscreen:!1});let a=null;J(()=>t.visible,()=>{t.visible&&!l.cropperInited&&(n=n||window.Cropper,r.value.onchange=()=>{if(!n){I.emit(i,$n,{name:"Cropper",message:"Cropper is undefined"});return}const c=r.value.files||[];if(l.imgSelected=!0,(c==null?void 0:c.length)>0){const h=new FileReader;h.onload=f=>{l.imgSrc=f.target.result,Oi(()=>{a=new n(s.value,{viewMode:2,preview:`.${k}-clip-preview-target`})})},h.readAsDataURL(c[0])}})}),J(()=>[l.imgSelected],()=>{o.value.style=""}),J(()=>l.isFullscreen,()=>{Oi(()=>{a==null||a.destroy(),o.value.style="",s.value&&(a=new n(s.value,{viewMode:2,preview:`.${k}-clip-preview-target`}))})});const u=()=>{a.clear(),a.destroy(),a=null,r.value.value="",l.imgSelected=!1};return()=>{var c;return w(Vn,{class:`${k}-modal-clip`,title:(c=e.value.clipModalTips)==null?void 0:c.title,visible:t.visible,onClose:t.onCancel,showAdjust:!0,isFullscreen:l.isFullscreen,onAdjust:h=>{l.isFullscreen=h},width:"668px",height:"421px"},{default:()=>{var h,f;return[w("div",{class:`${k}-form-item ${k}-clip`},[w("div",{class:`${k}-clip-main`},[l.imgSelected?w("div",{class:`${k}-clip-cropper`},[w("img",{src:l.imgSrc,ref:s,style:{display:"none"},alt:""},null),w("div",{class:`${k}-clip-delete`,onClick:u},[w(re,{name:"delete"},null)])]):w("div",{class:`${k}-clip-upload`,onClick:()=>{r.value.click()}},[w(re,{name:"upload"},null)])]),w("div",{class:`${k}-clip-preview`},[w("div",{class:`${k}-clip-preview-target`,ref:o},null)])]),w("div",{class:`${k}-form-item`},[w("button",{class:`${k}-btn`,type:"button",onClick:()=>{if(a){const d=a.getCroppedCanvas();I.emit(i,Cl,[Fb(d.toDataURL("image/png"))],t.onOk),u()}}},[((h=e.value.clipModalTips)==null?void 0:h.buttonUpload)||((f=e.value.linkModalTips)==null?void 0:f.buttonOK)])]),w("input",{ref:r,accept:"image/*",type:"file",multiple:!1,style:{display:"none"}},null)]}})}}}),lQ={type:{type:String,default:"link"},linkVisible:{type:Boolean,default:!1},clipVisible:{type:Boolean,default:!1},onCancel:{type:Function,default:()=>{}},onOk:{type:Function,default:()=>{}}},aQ=Ee({props:lQ,setup(t){return()=>w($l,null,[w(rQ,{type:t.type,visible:t.linkVisible,onOk:t.onOk,onCancel:t.onCancel},null),w(oQ,{visible:t.clipVisible,onOk:t.onOk,onCancel:t.onCancel},null)])}}),uQ=Ee({name:"MDEditorToolbar",props:K6,setup(t){const e=ne("editorId"),i=ne("usedLanguageText"),n=ne("theme"),r=ne("previewTheme"),s=ne("language"),{fullscreenHandler:o}=J6(t),l=`${e}-toolbar-wrapper`,a=$e(),u=mt({title:!1,catalog:!1,image:!1,table:!1,mermaid:!1,katex:!1}),c=(O,y)=>{I.emit(e,fe,O,y)},h=mt({type:"link",linkVisible:!1,clipVisible:!1}),f=$e();De(()=>{I.on(e,{name:Fa,callback(O){h.type=O,h.linkVisible=!0}})});const d=_t(()=>{const O=t.toolbars.filter(_=>!t.toolbarsExclude.includes(_)),y=O.indexOf("="),v=y===-1?O:O.slice(0,y+1),S=y===-1?[]:O.slice(y,Number.MAX_SAFE_INTEGER);return[v,S]}),p=$e(),m=()=>{I.emit(e,Cl,Array.from(p.value.files||[])),p.value.value=""};De(()=>{p.value.addEventListener("change",m)});const g=O=>{var y,v,S,_,A,C,$,R,M,X,Z,L,V,z,q,ee,te,de,le,pe,Ae,Ze,be,me,Ai,Xs,ln,Ms,Ws,Cn,Qn,Vs,Fs,An,zs,js,Sr,oh,lh,ah,uh,ch,hh,fh,dh,ph,mh,Oh,gh,bh,yh,xh,kh,vh,Sh,wh,_h,$h,Ph,Ch,Qh,Ah,Th,Eh,Zh,Dh,Rh,Ih,Lh;if(ap.includes(O))switch(O){case"-":return w(H6,null,null);case"bold":return w("div",{class:`${k}-toolbar-item`,title:(y=i.value.toolbarTips)==null?void 0:y.bold,onClick:()=>{c("bold")}},[w(re,{name:"bold"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(v=i.value.toolbarTips)==null?void 0:v.bold])]);case"underline":return w("div",{class:`${k}-toolbar-item`,title:(S=i.value.toolbarTips)==null?void 0:S.underline,onClick:()=>{c("underline")}},[w(re,{name:"underline"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(_=i.value.toolbarTips)==null?void 0:_.underline])]);case"italic":return w("div",{class:`${k}-toolbar-item`,title:(A=i.value.toolbarTips)==null?void 0:A.italic,onClick:()=>{c("italic")}},[w(re,{name:"italic"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(C=i.value.toolbarTips)==null?void 0:C.italic])]);case"strikeThrough":return w("div",{class:`${k}-toolbar-item`,title:($=i.value.toolbarTips)==null?void 0:$.strikeThrough,onClick:()=>{c("strikeThrough")}},[w(re,{name:"strike-through"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(R=i.value.toolbarTips)==null?void 0:R.strikeThrough])]);case"title":return w(In,{relative:`#${l}`,visible:u.title,onChange:ae=>{u.title=ae},overlay:w("ul",{class:`${k}-menu`,onClick:()=>{u.title=!1}},[w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h1")}},[(M=i.value.titleItem)==null?void 0:M.h1]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h2")}},[(X=i.value.titleItem)==null?void 0:X.h2]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h3")}},[(Z=i.value.titleItem)==null?void 0:Z.h3]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h4")}},[(L=i.value.titleItem)==null?void 0:L.h4]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h5")}},[(V=i.value.titleItem)==null?void 0:V.h5]),w("li",{class:`${k}-menu-item ${k}-menu-item-title`,onClick:()=>{c("h6")}},[(z=i.value.titleItem)==null?void 0:z.h6])])},{default:()=>{var ae,Je;return[w("div",{class:`${k}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.title},[w(re,{name:"title"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.title])])]}});case"sub":return w("div",{class:`${k}-toolbar-item`,title:(q=i.value.toolbarTips)==null?void 0:q.sub,onClick:()=>{c("sub")}},[w(re,{name:"sub"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(ee=i.value.toolbarTips)==null?void 0:ee.sub])]);case"sup":return w("div",{class:`${k}-toolbar-item`,title:(te=i.value.toolbarTips)==null?void 0:te.sup,onClick:()=>{c("sup")}},[w(re,{name:"sup"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(de=i.value.toolbarTips)==null?void 0:de.sup])]);case"quote":return w("div",{class:`${k}-toolbar-item`,title:(le=i.value.toolbarTips)==null?void 0:le.quote,onClick:()=>{c("quote")}},[w(re,{name:"quote"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(pe=i.value.toolbarTips)==null?void 0:pe.quote])]);case"unorderedList":return w("div",{class:`${k}-toolbar-item`,title:(Ae=i.value.toolbarTips)==null?void 0:Ae.unorderedList,onClick:()=>{c("unorderedList")}},[w(re,{name:"unordered-list"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Ze=i.value.toolbarTips)==null?void 0:Ze.unorderedList])]);case"orderedList":return w("div",{class:`${k}-toolbar-item`,title:(be=i.value.toolbarTips)==null?void 0:be.orderedList,onClick:()=>{c("orderedList")}},[w(re,{name:"ordered-list"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(me=i.value.toolbarTips)==null?void 0:me.orderedList])]);case"task":return w("div",{class:`${k}-toolbar-item`,title:(Ai=i.value.toolbarTips)==null?void 0:Ai.task,onClick:()=>{c("task")}},[w(re,{name:"task"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Xs=i.value.toolbarTips)==null?void 0:Xs.task])]);case"codeRow":return w("div",{class:`${k}-toolbar-item`,title:(ln=i.value.toolbarTips)==null?void 0:ln.codeRow,onClick:()=>{c("codeRow")}},[w(re,{name:"code-row"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Ms=i.value.toolbarTips)==null?void 0:Ms.codeRow])]);case"code":return w("div",{class:`${k}-toolbar-item`,title:(Ws=i.value.toolbarTips)==null?void 0:Ws.code,onClick:()=>{c("code")}},[w(re,{name:"code"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Cn=i.value.toolbarTips)==null?void 0:Cn.code])]);case"link":return w("div",{class:`${k}-toolbar-item`,title:(Qn=i.value.toolbarTips)==null?void 0:Qn.link,onClick:()=>{h.type="link",h.linkVisible=!0}},[w(re,{name:"link"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Vs=i.value.toolbarTips)==null?void 0:Vs.link])]);case"image":return t.noUploadImg?w("div",{class:`${k}-toolbar-item`,title:(Fs=i.value.toolbarTips)==null?void 0:Fs.image,onClick:()=>{h.type="image",h.linkVisible=!0}},[w(re,{name:"image"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(An=i.value.toolbarTips)==null?void 0:An.image])]):w(In,{relative:`#${l}`,visible:u.image,onChange:ae=>{u.image=ae},overlay:w("ul",{class:`${k}-menu`,onClick:()=>{u.title=!1}},[w("li",{class:`${k}-menu-item ${k}-menu-item-image`,onClick:()=>{h.type="image",h.linkVisible=!0}},[(zs=i.value.imgTitleItem)==null?void 0:zs.link]),w("li",{class:`${k}-menu-item ${k}-menu-item-image`,onClick:()=>{p.value.click()}},[(js=i.value.imgTitleItem)==null?void 0:js.upload]),w("li",{class:`${k}-menu-item ${k}-menu-item-image`,onClick:()=>{h.clipVisible=!0}},[(Sr=i.value.imgTitleItem)==null?void 0:Sr.clip2upload])])},{default:()=>{var ae,Je;return[w("div",{class:`${k}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.image},[w(re,{name:"image"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.image])])]}});case"table":return w(In,{relative:`#${l}`,visible:u.table,onChange:ae=>{u.table=ae},key:"bar-table",overlay:w(iQ,{tableShape:t.tableShape,onSelected:ae=>{c("table",{selectedShape:ae})}},null)},{default:()=>{var ae,Je;return[w("div",{class:`${k}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.table},[w(re,{name:"table"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.table])])]}});case"revoke":return w("div",{class:`${k}-toolbar-item`,title:(oh=i.value.toolbarTips)==null?void 0:oh.revoke,onClick:()=>{I.emit(e,hp)}},[w(re,{name:"revoke"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(lh=i.value.toolbarTips)==null?void 0:lh.revoke])]);case"next":return w("div",{class:`${k}-toolbar-item`,title:(ah=i.value.toolbarTips)==null?void 0:ah.next,onClick:()=>{I.emit(e,fp)}},[w(re,{name:"next"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(uh=i.value.toolbarTips)==null?void 0:uh.next])]);case"save":return w("div",{class:`${k}-toolbar-item`,title:(ch=i.value.toolbarTips)==null?void 0:ch.save,onClick:()=>{I.emit(e,Pl)}},[w(re,{name:"baocun"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(hh=i.value.toolbarTips)==null?void 0:hh.save])]);case"prettier":return t.noPrettier?"":w("div",{class:`${k}-toolbar-item`,title:(fh=i.value.toolbarTips)==null?void 0:fh.prettier,onClick:()=>{c("prettier")}},[w(re,{name:"prettier"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(dh=i.value.toolbarTips)==null?void 0:dh.prettier])]);case"pageFullscreen":return!t.setting.fullscreen&&w("div",{class:`${k}-toolbar-item`,title:(ph=i.value.toolbarTips)==null?void 0:ph.pageFullscreen,onClick:()=>{t.updateSetting("pageFullscreen")}},[w(re,{name:t.setting.pageFullscreen?"suoxiao":"fangda"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(mh=i.value.toolbarTips)==null?void 0:mh.pageFullscreen])]);case"fullscreen":return w("div",{class:`${k}-toolbar-item`,title:(Oh=i.value.toolbarTips)==null?void 0:Oh.fullscreen,onClick:()=>{o()}},[w(re,{name:t.setting.fullscreen?"fullscreen-exit":"fullscreen"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(gh=i.value.toolbarTips)==null?void 0:gh.fullscreen])]);case"preview":return w("div",{class:`${k}-toolbar-item`,title:(bh=i.value.toolbarTips)==null?void 0:bh.preview,onClick:()=>{t.updateSetting("preview")}},[w(re,{name:"preview"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(yh=i.value.toolbarTips)==null?void 0:yh.preview])]);case"previewOnly":return w("div",{class:`${k}-toolbar-item`,title:(xh=i.value.toolbarTips)==null?void 0:xh.previewOnly,onClick:()=>{t.updateSetting("previewOnly")}},[w(re,{name:"preview-only"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(kh=i.value.toolbarTips)==null?void 0:kh.previewOnly])]);case"htmlPreview":return w("div",{class:`${k}-toolbar-item`,title:(vh=i.value.toolbarTips)==null?void 0:vh.htmlPreview,onClick:()=>{t.updateSetting("htmlPreview")}},[w(re,{name:"coding"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Sh=i.value.toolbarTips)==null?void 0:Sh.htmlPreview])]);case"catalog":return w("div",{class:`${k}-toolbar-item`,title:(wh=i.value.toolbarTips)==null?void 0:wh.catalog,onClick:()=>{I.emit(e,tc)},key:"bar-catalog"},[w(re,{name:"catalog"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(_h=i.value.toolbarTips)==null?void 0:_h.catalog])]);case"github":return w("div",{class:`${k}-toolbar-item`,title:($h=i.value.toolbarTips)==null?void 0:$h.github,onClick:()=>wb("https://github.com/imzbf/md-editor-v3")},[w(re,{name:"github"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Ph=i.value.toolbarTips)==null?void 0:Ph.github])]);case"mermaid":return w(In,{relative:`#${l}`,visible:u.mermaid,onChange:ae=>{u.mermaid=ae},overlay:w("ul",{class:`${k}-menu`,onClick:()=>{u.mermaid=!1}},[w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("flow")}},[(Ch=i.value.mermaid)==null?void 0:Ch.flow]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("sequence")}},[(Qh=i.value.mermaid)==null?void 0:Qh.sequence]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("gantt")}},[(Ah=i.value.mermaid)==null?void 0:Ah.gantt]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("class")}},[(Th=i.value.mermaid)==null?void 0:Th.class]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("state")}},[(Eh=i.value.mermaid)==null?void 0:Eh.state]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("pie")}},[(Zh=i.value.mermaid)==null?void 0:Zh.pie]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("relationship")}},[(Dh=i.value.mermaid)==null?void 0:Dh.relationship]),w("li",{class:`${k}-menu-item ${k}-menu-item-mermaid`,onClick:()=>{c("journey")}},[(Rh=i.value.mermaid)==null?void 0:Rh.journey])]),key:"bar-mermaid"},{default:()=>{var ae,Je;return[w("div",{class:`${k}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.mermaid},[w(re,{name:"mermaid"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.mermaid])])]}});case"katex":return w(In,{relative:`#${l}`,visible:u.katex,onChange:ae=>{u.katex=ae},overlay:w("ul",{class:`${k}-menu`,onClick:()=>{u.katex=!1}},[w("li",{class:`${k}-menu-item ${k}-menu-item-katex`,onClick:()=>{c("katexInline")}},[(Ih=i.value.katex)==null?void 0:Ih.inline]),w("li",{class:`${k}-menu-item ${k}-menu-item-katex`,onClick:()=>{c("katexBlock")}},[(Lh=i.value.katex)==null?void 0:Lh.block])]),key:"bar-katex"},{default:()=>{var ae,Je;return[w("div",{class:`${k}-toolbar-item`,title:(ae=i.value.toolbarTips)==null?void 0:ae.katex},[w(re,{name:"formula"},null),t.showToolbarName&&w("div",{class:`${k}-toolbar-item-name`},[(Je=i.value.toolbarTips)==null?void 0:Je.katex])])]}})}else if(t.defToolbars instanceof Array){const ae=t.defToolbars[O];return ae?Ma(ae,{theme:n.value,previewTheme:r.value,language:s.value,insert(Bl){I.emit(e,fe,"universal",{generate:Bl})}}):""}else if(t.defToolbars&&t.defToolbars.children instanceof Array){const ae=t.defToolbars.children[O];return ae?Ma(ae,{theme:n.value,previewTheme:r.value,language:s.value,insert(Bl){I.emit(e,fe,"universal",{generate:Bl})}}):""}else return""};return J(()=>t.toolbars,()=>{Oi(()=>{a.value&&$b(a.value)})},{immediate:!0}),()=>{const O=d.value[0].map(v=>g(v)),y=d.value[1].map(v=>g(v));return w($l,null,[t.toolbars.length>0&&w("div",{class:`${k}-toolbar-wrapper`,ref:a,id:l},[w("div",{class:[`${k}-toolbar`,t.showToolbarName&&`${k}-stn`]},[w("div",{class:`${k}-toolbar-left`,ref:f},[O]),w("div",{class:`${k}-toolbar-right`},[y])])]),w("input",{ref:p,accept:"image/*",type:"file",multiple:!0,style:{display:"none"}},null),w(aQ,{linkVisible:h.linkVisible,clipVisible:h.clipVisible,type:h.type,onCancel:()=>{h.linkVisible=!1,h.clipVisible=!1},onOk:v=>{v&&c(h.type,{desc:v.desc,url:v.url,transform:h.type==="image"}),h.linkVisible=!1,h.clipVisible=!1}},null)])}}}),cQ=`.${k}-preview > [data-line]`,Da=(t,e)=>+getComputedStyle(t).getPropertyValue(e).replace("px",""),hQ=(t,e)=>{const i=ec(()=>{t.removeEventListener("scroll",n),t.addEventListener("scroll",n),e.removeEventListener("scroll",n),e.addEventListener("scroll",n)},50),n=r=>{const s=t.clientHeight,o=e.clientHeight,l=t.scrollHeight,a=e.scrollHeight,u=(l-s)/(a-o);r.target===t?(e.removeEventListener("scroll",n),e.scrollTo({top:t.scrollTop/u}),i()):(t.removeEventListener("scroll",n),t.scrollTo({top:e.scrollTop*u}),i())};return[()=>{i().finally(()=>{t.dispatchEvent(new Event("scroll"))})},()=>{t.removeEventListener("scroll",n),e.removeEventListener("scroll",n)}]},fQ=(t,e,i)=>{const{view:n}=i,r=_b(),s=O=>n.lineBlockAt(n.state.doc.line(O+1).from).top,o=O=>n.lineBlockAt(n.state.doc.line(O+1).from).bottom;let l=[],a=[],u=[];const c=()=>{l=[],a=Array.from(e.querySelectorAll(cQ)),u=a.map(_=>Number(_.dataset.line));const O=[...u],{lines:y}=n.state.doc;let v=O.shift()||0,S=O.shift()||y;for(let _=0;_{let v=0;for(let S=a.length-1;S-1>=0;S--){const _=a[S],A=a[S-1];if(_.offsetTop+_.offsetHeight>y&&A.offsetTop=0;S--){const _=o(l[S].end),A=s(l[S].start);if(_>O&&A<=O){v=v{var O,y,v;if(d!==0)return!1;f++;const{scrollDOM:S,contentHeight:_}=n;let A=Da(e,"padding-top");const C=n.lineBlockAtHeight(S.scrollTop),{number:$}=n.state.doc.lineAt(C.from),R=l[$-1];if(!R)return!1;let M=1;const X=e.querySelector(`[data-line="${R.start}"]`)||((O=e.firstElementChild)==null?void 0:O.firstElementChild),Z=e.querySelector(`[data-line="${R.end+1}"]`)||((y=e.lastElementChild)==null?void 0:y.lastElementChild),L=S.scrollHeight-S.clientHeight,V=e.scrollHeight-e.clientHeight;let z=s(R.start),q=o(R.end),ee=X.offsetTop,te=Z.offsetTop-ee;if(z===0&&(ee=0,X===Z?(A=0,q=_-S.offsetHeight,te=V):te=Z.offsetTop),M=(S.scrollTop-z+Da(n.contentDOM,"padding-bottom"))/(q-z),z>0&&(q>=L||Z.offsetTop+Z.clientHeight>V)){const le=h(L,V);z=s(le),M=(S.scrollTop-z)/(L-z),ee=(v=document.querySelector(`[data-line="${le}"]`))==null?void 0:v.offsetTop,te=V-ee+Da(e,"padding-top")}const de=ee-A+te*M;r(e,de,()=>{f--})},m=()=>{var O,y,v,S,_,A,C;if(f!==0)return;d++;const{scrollDOM:$}=n,R=e.scrollTop,M=e.scrollHeight,X=$.scrollHeight-$.clientHeight,Z=e.scrollHeight-e.clientHeight;let L=(O=e.firstElementChild)==null?void 0:O.firstElementChild,V=(y=e.firstElementChild)==null?void 0:y.lastElementChild;if(u.length>0){let Ze=Math.ceil(u[u.length-1]*(R/M)),be=u.findLastIndex(me=>me<=Ze);be=be===-1?0:be,Ze=u[be];for(let me=be;me>=0&&meR){if(me-1>=0){me--;continue}Ze=-1,be=me;break}else{if(me+1X||V.offsetTop+V.offsetHeight>Z){const Ze=h(X,Z);z=(A=document.querySelector(`[data-line="${Ze}"]`))==null?void 0:A.offsetTop,le=s(Ze),ee=(R-z)/(Z-z),Ae=X-le}else L===((C=e.firstElementChild)==null?void 0:C.firstElementChild)?(L===V&&(q=V.offsetTop+V.offsetHeight+ +getComputedStyle(V).marginBottom.replace("px","")),Ae=pe,ee=Math.max(R/q,0)):(ee=Math.max((R-z)/(q-z),0),Ae=pe-le);r(t,le+Ae*ee,()=>{d--})},g=op(O=>{var y;const{scrollDOM:v,contentHeight:S}=n,_=v.clientHeight;if(S<=_||e.firstElementChild.clientHeight<=e.clientHeight)return!1;if(n.state.doc.lines<((y=l[l.length-1])==null?void 0:y.end))return c(),!1;O.target===t?p():m()},1);return[()=>{c(),t.addEventListener("scroll",g),e.addEventListener("scroll",g),t.dispatchEvent(new Event("scroll"))},()=>{t.removeEventListener("scroll",g),e.removeEventListener("scroll",g)}]},dQ=(t,e,i)=>{const n=ne("editorId");let r=()=>{},s=()=>{};const o=()=>{r();const l=document.querySelector(`#${n} .cm-scroller`),a=document.querySelector(`[id="${n}-preview-wrapper"]`),u=document.querySelector(`[id="${n}-html-wrapper"]`);(a||u)&&([s,r]=(a?fQ:hQ)(l,a||u,i.value),t.scrollAuto&&s())};J([e,Bi(t.setting,"preview"),Bi(t.setting,"htmlPreview"),Bi(t.setting,"fullscreen"),Bi(t.setting,"pageFullscreen")],()=>{Oi(o)}),J(()=>t.scrollAuto,l=>{l?s():r()}),J(()=>t.setting.previewOnly,l=>{l?r():s()}),De(o)},Ra=(t,e,i)=>{var n;let r="",s=0,o=0,l=!0,a=!1;const u=e.getSelectedText(),c=ze.editorConfig.mermaidTemplate;if(/^h[1-6]{1}$/.test(t)){const h=t.replace(/^h(\d)/,(f,d)=>new Array(Number(d)).fill("#",0,d).join(""));r=`${h} ${u}`,s=h.length+1}else if(t==="prettier"){const h=window.prettier||ze.editorExtensions.prettier.prettierInstance,f=[((n=window.prettierPlugins)==null?void 0:n.markdown)||ze.editorExtensions.prettier.parserMarkdownInstance];!h||f[0]===void 0?(I.emit(i.editorId,$n,{name:"prettier",message:"prettier is undefined"}),r=e.getValue()):r=h.format(e.getValue(),{parser:"markdown",plugins:f}),l=!1,a=!0}else switch(t){case"bold":{r=`**${u}**`,s=2,o=-2;break}case"underline":{r=`${u}`,s=3,o=-4;break}case"italic":{r=`*${u}*`,s=1,o=-1;break}case"strikeThrough":{r=`~~${u}~~`,s=2,o=-2;break}case"sub":{r=`${u}`,s=5,o=-6;break}case"sup":{r=`${u}`,s=5,o=-6;break}case"codeRow":{r="`"+u+"`",s=1,o=-1;break}case"quote":{r=`> ${u}`,s=2;break}case"orderedList":{r=`1. ${u}`,s=3;break}case"unorderedList":{r=`- ${u}`,s=2;break}case"task":{r=`- [ ] ${u}`,s=6;break}case"code":{const h=i.text||u||"",f=i.mode||"language";r=`\`\`\`${f} ${h} \`\`\` `,s=3,o=3+f.length-r.length;break}case"table":{r="|";const{selectedShape:h={x:1,y:1}}=i,{x:f,y:d}=h;for(let p=0;p<=d;p++)r+=" col |";r+=` @@ -137,11 +137,11 @@ ${(c==null?void 0:c.journey)||`journey `,s=3,o=10-r.length;break}case"katexInline":{r="$$",s=1,o=-1;break}case"katexBlock":{r=`$$ $$ -`,s=3,o=-4;break}case"universal":{const{generate:h}=i,f=h(u);r=f.targetValue,l=f.select??!0,s=f.deviationStart||0,o=f.deviationEnd||0}}return{text:r,options:{select:l,deviationStart:s,deviationEnd:o,replaceAll:a}}},aQ="#e5c07b",Fp="var(--md-color)",uQ="#56b6c2",cQ="#ffffff",zr="var(--md-color)",zp="#e5c07b",hQ="#e5c07b",fQ="var(--md-color)",jp="#d19a66",dQ="#c678dd",pQ="#21252b",mQ="#2c313a",Bp="var(--md-bk-color)",Ra="var(--md-bk-color)",OQ="#ceedfa33",qp="#528bff",gQ=j.theme({"&":{color:zr,backgroundColor:Bp},".cm-content":{caretColor:qp},".cm-cursor, .cm-dropCursor":{borderLeftColor:qp},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:OQ},".cm-panels":{backgroundColor:pQ,color:zr},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:Bp,color:zr,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:mQ},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:Ra},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Ra,borderBottomColor:Ra},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:zr}}},{dark:!0}),bQ=yr.define([{tag:b.keyword,color:dQ},{tag:[b.name,b.deleted,b.character,b.propertyName,b.macroName],color:Fp},{tag:[b.function(b.variableName),b.labelName],color:hQ},{tag:[b.color,b.constant(b.name),b.standard(b.name)],color:jp},{tag:[b.definition(b.name),b.separator],color:zr},{tag:[b.typeName,b.className,b.number,b.changed,b.annotation,b.modifier,b.self,b.namespace],color:aQ},{tag:[b.operator,b.operatorKeyword,b.url,b.escape,b.regexp,b.link,b.special(b.string)],color:uQ},{tag:[b.meta,b.comment],color:zp},{tag:b.strong,fontWeight:"bold"},{tag:b.emphasis,fontStyle:"italic"},{tag:b.strikethrough,textDecoration:"line-through"},{tag:b.link,color:zp,textDecoration:"underline"},{tag:b.heading,fontWeight:"bold",color:Fp},{tag:[b.atom,b.bool,b.special(b.variableName)],color:jp},{tag:[b.processingInstruction,b.string,b.inserted],color:fQ},{tag:b.invalid,color:cQ}]),Yp=[gQ,Bm(bQ)],yQ="#e5c07b",Np="#3f4a54",xQ="#56b6c2",kQ="#fff",jr="#3f4a54",Up="#2d8cf0",vQ="#2d8cf0",SQ="#3f4a54",Gp="#d19a66",wQ="#c678dd",_Q="#f6f6f6",$Q="#ceedfa33",Hp="var(--md-bk-color)",Ia="var(--md-bk-color)",PQ="#bad5fa",Kp="#3f4a54",CQ=j.theme({"&":{color:jr,backgroundColor:Hp},".cm-content":{caretColor:Kp},".cm-cursor, .cm-dropCursor":{borderLeftColor:Kp},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:PQ},".cm-panels":{backgroundColor:_Q,color:jr},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:Hp,color:jr,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:$Q},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:Ia},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Ia,borderBottomColor:Ia},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:jr}}}),QQ=yr.define([{tag:b.keyword,color:wQ},{tag:[b.name,b.deleted,b.character,b.propertyName,b.macroName],color:Np},{tag:[b.function(b.variableName),b.labelName],color:vQ},{tag:[b.color,b.constant(b.name),b.standard(b.name)],color:Gp},{tag:[b.definition(b.name),b.separator],color:jr},{tag:[b.typeName,b.className,b.number,b.changed,b.annotation,b.modifier,b.self,b.namespace],color:yQ},{tag:[b.operator,b.operatorKeyword,b.url,b.escape,b.regexp,b.link,b.special(b.string)],color:xQ},{tag:[b.meta,b.comment],color:Up},{tag:b.strong,fontWeight:"bold"},{tag:b.emphasis,fontStyle:"italic"},{tag:b.strikethrough,textDecoration:"line-through"},{tag:b.link,color:Up,textDecoration:"underline"},{tag:b.heading,fontWeight:"bold",color:Np},{tag:[b.atom,b.bool,b.special(b.variableName)],color:Gp},{tag:[b.processingInstruction,b.string,b.inserted],color:SQ},{tag:b.invalid,color:kQ}]),Jp=[CQ,Bm(QQ)],_o=(t,e,i,n,r)=>(s,o,l,a)=>{const u=`${t}${e}`.slice(a-l);s.dispatch(s.state.replaceSelection(`${u}${i}${n}`));const c=l+o.label.length+(r==="title"?i.length:0);s.dispatch({selection:T.create([T.range(l+o.label.length+(r==="title"?1:-e.length),c),T.cursor(c)],1)}),s.focus()},e0=t=>(e,i,n,r)=>{const s=t.slice(r-n);e.dispatch(e.state.replaceSelection(`${s} `))},t0=t=>{const e=i=>{const n=i.matchBefore(/^#+|^-\s*\[*\s*\]*|`+|\[|!\[*|^\|\s?\|?|\$\$?|!+\s*\w*/);return n===null||n.from==n.to&&i.explicit?null:{from:n.from,options:[...["h1","h2","h3","h4","h5","h6"].map((r,s)=>{const o=new Array(s+1).fill("#").join("");return{label:o,type:"text",apply:e0(o)}}),...["unchecked","checked"].map(r=>{const s=r==="checked"?"- [x]":"- [ ]";return{label:s,type:"text",apply:e0(s)}}),...[["`",""],["```","language"],["```mermaid\n",""]].map(r=>({label:`${r[0]}${r[1]}`,type:"text",apply:_o(r[0],r[1],"",r[0]==="`"?"`":"\n```","type")})),{label:"[]()",type:"text"},{label:"![]()",type:"text"},{label:"| |",type:"text",detail:"table",apply:`| col | col | col | +`,s=3,o=-4;break}case"universal":{const{generate:h}=i,f=h(u);r=f.targetValue,l=f.select??!0,s=f.deviationStart||0,o=f.deviationEnd||0}}return{text:r,options:{select:l,deviationStart:s,deviationEnd:o,replaceAll:a}}},pQ="#e5c07b",j0="var(--md-color)",mQ="#56b6c2",OQ="#ffffff",Fr="var(--md-color)",B0="#e5c07b",gQ="#e5c07b",bQ="var(--md-color)",q0="#d19a66",yQ="#c678dd",xQ="#21252b",kQ="#2c313a",Y0="var(--md-bk-color)",Ia="var(--md-bk-color)",vQ="#ceedfa33",N0="#528bff",SQ=j.theme({"&":{color:Fr,backgroundColor:Y0},".cm-content":{caretColor:N0},".cm-cursor, .cm-dropCursor":{borderLeftColor:N0},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:vQ},".cm-panels":{backgroundColor:xQ,color:Fr},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:Y0,color:Fr,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:kQ},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:Ia},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:Ia,borderBottomColor:Ia},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:Fr}}},{dark:!0}),wQ=br.define([{tag:b.keyword,color:yQ},{tag:[b.name,b.deleted,b.character,b.propertyName,b.macroName],color:j0},{tag:[b.function(b.variableName),b.labelName],color:gQ},{tag:[b.color,b.constant(b.name),b.standard(b.name)],color:q0},{tag:[b.definition(b.name),b.separator],color:Fr},{tag:[b.typeName,b.className,b.number,b.changed,b.annotation,b.modifier,b.self,b.namespace],color:pQ},{tag:[b.operator,b.operatorKeyword,b.url,b.escape,b.regexp,b.link,b.special(b.string)],color:mQ},{tag:[b.meta,b.comment],color:B0},{tag:b.strong,fontWeight:"bold"},{tag:b.emphasis,fontStyle:"italic"},{tag:b.strikethrough,textDecoration:"line-through"},{tag:b.link,color:B0,textDecoration:"underline"},{tag:b.heading,fontWeight:"bold",color:j0},{tag:[b.atom,b.bool,b.special(b.variableName)],color:q0},{tag:[b.processingInstruction,b.string,b.inserted],color:bQ},{tag:b.invalid,color:OQ}]),U0=[SQ,Nm(wQ)],_Q="#e5c07b",G0="#3f4a54",$Q="#56b6c2",PQ="#fff",zr="#3f4a54",H0="#2d8cf0",CQ="#2d8cf0",QQ="#3f4a54",K0="#d19a66",AQ="#c678dd",TQ="#f6f6f6",EQ="#ceedfa33",J0="var(--md-bk-color)",La="var(--md-bk-color)",ZQ="#bad5fa",ep="#3f4a54",DQ=j.theme({"&":{color:zr,backgroundColor:J0},".cm-content":{caretColor:ep},".cm-cursor, .cm-dropCursor":{borderLeftColor:ep},"&.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground, .cm-selectionBackground, .cm-content ::selection":{backgroundColor:ZQ},".cm-panels":{backgroundColor:TQ,color:zr},".cm-panels.cm-panels-top":{borderBottom:"1px solid var(--md-border-color)"},".cm-panels.cm-panels-bottom":{borderTop:"1px solid var(--md-border-color)"},".cm-searchMatch":{backgroundColor:"#72a1ff59",outline:"1px solid #457dff"},".cm-searchMatch.cm-searchMatch-selected":{backgroundColor:"#6199ff2f"},".cm-activeLine":{backgroundColor:"#ceedfa33"},".cm-selectionMatch":{backgroundColor:"#aafe661a"},"&.cm-focused .cm-matchingBracket, &.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bad0f847"},".cm-gutters":{backgroundColor:J0,color:zr,borderRight:"1px solid",borderColor:"var(--md-border-color)"},".cm-activeLineGutter":{backgroundColor:EQ},".cm-foldPlaceholder":{backgroundColor:"transparent",border:"none",color:"#ddd"},".cm-tooltip":{border:"1px solid var(--md-border-color)",backgroundColor:La},".cm-tooltip .cm-tooltip-arrow:before":{borderTopColor:"transparent",borderBottomColor:"transparent"},".cm-tooltip .cm-tooltip-arrow:after":{borderTopColor:La,borderBottomColor:La},".cm-tooltip-autocomplete":{"& > ul > li[aria-selected]":{color:zr}}}),RQ=br.define([{tag:b.keyword,color:AQ},{tag:[b.name,b.deleted,b.character,b.propertyName,b.macroName],color:G0},{tag:[b.function(b.variableName),b.labelName],color:CQ},{tag:[b.color,b.constant(b.name),b.standard(b.name)],color:K0},{tag:[b.definition(b.name),b.separator],color:zr},{tag:[b.typeName,b.className,b.number,b.changed,b.annotation,b.modifier,b.self,b.namespace],color:_Q},{tag:[b.operator,b.operatorKeyword,b.url,b.escape,b.regexp,b.link,b.special(b.string)],color:$Q},{tag:[b.meta,b.comment],color:H0},{tag:b.strong,fontWeight:"bold"},{tag:b.emphasis,fontStyle:"italic"},{tag:b.strikethrough,textDecoration:"line-through"},{tag:b.link,color:H0,textDecoration:"underline"},{tag:b.heading,fontWeight:"bold",color:G0},{tag:[b.atom,b.bool,b.special(b.variableName)],color:K0},{tag:[b.processingInstruction,b.string,b.inserted],color:QQ},{tag:b.invalid,color:PQ}]),tp=[DQ,Nm(RQ)],_o=(t,e,i,n,r)=>(s,o,l,a)=>{const u=`${t}${e}`.slice(a-l);s.dispatch(s.state.replaceSelection(`${u}${i}${n}`));const c=l+o.label.length+(r==="title"?i.length:0);s.dispatch({selection:T.create([T.range(l+o.label.length+(r==="title"?1:-e.length),c),T.cursor(c)],1)}),s.focus()},ip=t=>(e,i,n,r)=>{const s=t.slice(r-n);e.dispatch(e.state.replaceSelection(`${s} `))},np=t=>{const e=i=>{const n=i.matchBefore(/^#+|^-\s*\[*\s*\]*|`+|\[|!\[*|^\|\s?\|?|\$\$?|!+\s*\w*/);return n===null||n.from==n.to&&i.explicit?null:{from:n.from,options:[...["h1","h2","h3","h4","h5","h6"].map((r,s)=>{const o=new Array(s+1).fill("#").join("");return{label:o,type:"text",apply:ip(o)}}),...["unchecked","checked"].map(r=>{const s=r==="checked"?"- [x]":"- [ ]";return{label:s,type:"text",apply:ip(s)}}),...[["`",""],["```","language"],["```mermaid\n",""]].map(r=>({label:`${r[0]}${r[1]}`,type:"text",apply:_o(r[0],r[1],"",r[0]==="`"?"`":"\n```","type")})),{label:"[]()",type:"text"},{label:"![]()",type:"text"},{label:"| |",type:"text",detail:"table",apply:`| col | col | col | | - | - | - | | content | content | content | | content | content | content |`},{label:"$",type:"text",apply:_o("$","","","$","type")},{label:"$$",type:"text",apply:_o("$$","",` `,` $$`,"title")},...["note","abstract","info","tip","success","question","warning","failure","danger","bug","example","quote","hint","caution","error","attention"].map(r=>({label:`!!! ${r}`,type:"text",apply:_o("!!!",` ${r}`," Title",` -!!!`,"title")}))]}};return tS({override:t?[e,...t]:[e]})},Rn=t=>{const e=new ci;return n=>(e.get(t.state)?t.dispatch({effects:e.reconfigure(n)}):t.dispatch({effects:ce.appendConfig.of(e.of(n))}),!0)};class AQ{constructor(e){Ri(this,"view"),Ri(this,"maxLength",Number.MAX_SAFE_INTEGER),Ri(this,"toggleTabSize"),Ri(this,"togglePlaceholder"),Ri(this,"setExtensions"),Ri(this,"toggleDisabled"),Ri(this,"toggleReadOnly"),Ri(this,"toggleMaxlength"),this.view=e,this.toggleTabSize=Rn(this.view),this.togglePlaceholder=Rn(this.view),this.setExtensions=Rn(this.view),this.toggleDisabled=Rn(this.view),this.toggleReadOnly=Rn(this.view),this.toggleMaxlength=Rn(this.view)}getValue(){return this.view.state.doc.toString()}setValue(e,i=0,n=this.view.state.doc.length){this.view.dispatch({changes:{from:i,to:n,insert:e}})}getSelectedText(){const{from:e,to:i}=this.view.state.selection.main;return this.view.state.sliceDoc(e,i)}replaceSelectedText(e,i={select:!0,deviationStart:0,deviationEnd:0,replaceAll:!1},n){try{if(i.replaceAll){if(this.setValue(e),e.length>this.maxLength)throw new Error("The input text is too long");return}if(this.view.state.doc.length-this.getSelectedText().length+e.length>this.maxLength)throw new Error("The input text is too long");const{from:r}=this.view.state.selection.main;if(this.view.dispatch(this.view.state.replaceSelection(e)),i.select){const s=r+e.length+i.deviationEnd;this.view.dispatch({selection:T.create([T.range(r+i.deviationStart,s),T.cursor(s)],1)})}this.view.focus()}catch(r){if(r.message==="The input text is too long")I.emit(n,$n,{name:"overlength",message:r.message,data:e});else throw r}}setTabSize(e){this.toggleTabSize([oe.tabSize.of(e),br.of(" ".repeat(e))])}setPlaceholder(e){this.togglePlaceholder(Yx(e))}focus(e){if(this.view.focus(),!e)return;let i=0,n=0,r=0;switch(e){case"start":break;case"end":{i=n=r=this.getValue().length;break}default:i=e.rangeAnchor||e.cursorPos,n=e.rangeHead||e.cursorPos,r=e.cursorPos}this.view.dispatch({scrollIntoView:!0,selection:T.create([T.range(i,n),T.cursor(r)],1)})}setDisabled(e){this.toggleDisabled([j.editable.of(!e)])}setReadOnly(e){this.toggleReadOnly([oe.readOnly.of(e)])}setMaxLength(e){this.maxLength=e,this.toggleMaxlength([oe.changeFilter.of(i=>i.newDoc.length<=e)])}}const TQ=(t,e)=>{const i=ne("editorId"),n=s=>{s instanceof Promise?s.then(o=>{I.emit(i,fe,"universal",{generate(){return{targetValue:o}}})}).catch(o=>{console.error(o)}):I.emit(i,fe,"universal",{generate(){return{targetValue:s}}})};return s=>{var o,l,a;if(!s.clipboardData)return;if(s.clipboardData.files.length>0){const{files:m}=s.clipboardData;I.emit(i,Cl,Array.from(m).filter(g=>/image\/.*/.test(g.type))),s.preventDefault();return}const u=s.clipboardData.getData("text/plain"),c=((o=e.value)==null?void 0:o.view.state.selection.main.to)||0,h=((l=e.value)==null?void 0:l.view.state.doc.lineAt(c).from)||0,f=((a=e.value)==null?void 0:a.view.state.doc.sliceString(h,c))||"",d=/!\[.*\]\(\s*$/.test(f),p=/!\[.*\]\((.*)\s?.*\)/.test(u);if(d){const m=t.transformImgUrl(u);n(m),s.preventDefault();return}else if(p){const m=u.match(new RegExp(`(?<=!\\[.*\\]\\()([^)\\s]+)(?=\\s?["']?.*["']?\\))`,"g"));m?Promise.all(m.map(g=>t.transformImgUrl(g))).then(g=>{n(g.reduce((O,y,v)=>O.replace(m[v],y),u))}):n(u),s.preventDefault();return}if(t.autoDetectCode&&s.clipboardData.types.includes("vscode-editor-data")){const m=JSON.parse(s.clipboardData.getData("vscode-editor-data"));I.emit(i,fe,"code",{mode:m.mode,text:s.clipboardData.getData("text/plain")}),s.preventDefault();return}t.maxlength&&u.length+t.modelValue.length>t.maxlength&&I.emit(i,$n,{name:"overlength",message:"The input text is too long",data:u})}},EQ=(t,e)=>[{key:"Ctrl-b",mac:"Cmd-b",run:()=>(I.emit(t,fe,"bold"),!0)},{key:"Ctrl-d",mac:"Cmd-d",run:PO,preventDefault:!0},{key:"Ctrl-s",mac:"Cmd-s",run:S=>(I.emit(t,Pl,S.state.doc.toString()),!0),shift:()=>(I.emit(t,fe,"strikeThrough"),!0)},{key:"Ctrl-u",mac:"Cmd-u",run:()=>(I.emit(t,fe,"underline"),!0),shift:()=>(I.emit(t,fe,"unorderedList"),!0)},{key:"Ctrl-i",mac:"Cmd-i",run:()=>(I.emit(t,fe,"italic"),!0),shift:()=>(I.emit(t,Va,"image"),!0)},{key:"Ctrl-1",mac:"Cmd-1",run:()=>(I.emit(t,fe,"h1"),!0)},{key:"Ctrl-2",mac:"Cmd-2",run:()=>(I.emit(t,fe,"h2"),!0)},{key:"Ctrl-3",mac:"Cmd-3",run:()=>(I.emit(t,fe,"h3"),!0)},{key:"Ctrl-4",mac:"Cmd-4",run:()=>(I.emit(t,fe,"h4"),!0)},{key:"Ctrl-5",mac:"Cmd-5",run:()=>(I.emit(t,fe,"h5"),!0)},{key:"Ctrl-6",mac:"Cmd-6",run:()=>(I.emit(t,fe,"h6"),!0)},{key:"Ctrl-ArrowUp",mac:"Cmd-ArrowUp",run:()=>(I.emit(t,fe,"sup"),!0)},{key:"Ctrl-ArrowDown",mac:"Cmd-ArrowDown",run:()=>(I.emit(t,fe,"sub"),!0)},{key:"Ctrl-o",mac:"Cmd-o",run:()=>(I.emit(t,fe,"orderedList"),!0)},{key:"Ctrl-c",mac:"Cmd-c",shift:()=>(I.emit(t,fe,"code"),!0),any(S,_){return(_.ctrlKey||_.metaKey)&&_.altKey&&_.code==="KeyC"?(I.emit(t,fe,"codeRow"),!0):!1}},{key:"Ctrl-l",mac:"Cmd-l",run:()=>(I.emit(t,Va,"link"),!0)},{key:"Ctrl-f",mac:"Cmd-f",shift:()=>e.noPrettier?!1:(I.emit(t,fe,"prettier"),!0)},{any:(S,_)=>(_.ctrlKey||_.metaKey)&&_.altKey&&_.shiftKey&&_.code==="KeyT"?(I.emit(t,fe,"table"),!0):!1},...mv],ZQ=t=>{const e=ne("tabWidth"),i=ne("editorId"),n=ne("theme"),r=$e(),s=yn(),o=new ci,l=new ci,a=new ci,u=new ci,c=new ci,h=EQ(i,t),f=$e(!1),p={paste:TQ(t,s),blur:t.onBlur,focus:t.onFocus,drop:t.onDrop,compositionstart:()=>{f.value=!0},compositionend:(O,y)=>{f.value=!1,t.updateModelValue(y.state.doc.toString())},input:O=>{t.onInput&&t.onInput(O);const{data:y}=O;t.maxlength&&t.modelValue.length+y.length>t.maxlength&&I.emit(i,$n,{name:"overlength",message:"The input text is too long",data:y})}},m=[As.of([...H2,...l2,...h,K2]),u.of(od()),o.of(d1({codeLanguages:rS})),j.lineWrapping,j.updateListener.of(O=>{O.docChanged&&(t.onChange(O.state.doc.toString()),f.value||t.updateModelValue(O.state.doc.toString()))}),c.of(j.domEventHandlers(p))],g=()=>{const O=[...m,l.of(n.value==="light"?Jp:Yp),a.of(t0(t.completions))];return ze.codeMirrorExtensions(n.value,O,[...h])};return De(()=>{const O=new j({doc:t.modelValue,parent:r.value,extensions:[g()]}),y=new AQ(O);s.value=y,setTimeout(()=>{y.setTabSize(e),y.setDisabled(t.disabled),y.setReadOnly(t.readonly),t.placeholder&&y.setPlaceholder(t.placeholder),typeof t.maxlength=="number"&&y.setMaxLength(t.maxlength),t.autofocus&&O.focus()},0),I.on(i,{name:u0,callback(){kc(O)}}),I.on(i,{name:c0,callback(){nl(O)}}),I.on(i,{name:fe,callback(v,S={}){var _,A;if(v==="image"&&S.transform){const C=t.transformImgUrl(S.url);if(C instanceof Promise)C.then($=>{var R;const{text:M,options:X}=Da(v,s.value,{...S,url:$});(R=s.value)==null||R.replaceSelectedText(M,X,i)}).catch($=>{console.error($)});else{const{text:$,options:R}=Da(v,s.value,{...S,url:C});(_=s.value)==null||_.replaceSelectedText($,R,i)}}else{const{text:C,options:$}=Da(v,s.value,S);(A=s.value)==null||A.replaceSelectedText(C,$,i)}}}),I.on(i,{name:f0,callback:r0(v=>{var S;const _={...p},A=Object.keys(p);for(const C in v){const $=C;A.includes($)?_[$]=(R,M)=>{v[$](R,M),R.defaultPrevented||p[$](R,M)}:_[$]=v[$]}(S=s.value)==null||S.view.dispatch({effects:c.reconfigure(j.domEventHandlers(_))})})})}),J(n,()=>{var O;(O=s.value)==null||O.view.dispatch({effects:l.reconfigure(n.value==="light"?Jp:Yp)})},{deep:!0}),J(()=>t.completions,()=>{var O;(O=s.value)==null||O.view.dispatch({effects:a.reconfigure(t0(t.completions))})},{deep:!0}),J(()=>t.modelValue,()=>{var O,y;((O=s.value)==null?void 0:O.getValue())!==t.modelValue&&((y=s.value)==null||y.setValue(t.modelValue))}),J(()=>t.placeholder,()=>{var O;(O=s.value)==null||O.setPlaceholder(t.placeholder)}),J(()=>t.disabled,()=>{var O;(O=s.value)==null||O.setDisabled(t.disabled)}),J(()=>t.readonly,()=>{var O;(O=s.value)==null||O.setDisabled(t.readonly)}),J(()=>t.maxlength,()=>{var O;t.maxlength&&((O=s.value)==null||O.setMaxLength(t.maxlength))}),{inputWrapperRef:r,codeMirrorUt:s,resetHistory(){var O,y;(O=s.value)==null||O.view.dispatch({effects:u.reconfigure([])}),(y=s.value)==null||y.view.dispatch({effects:u.reconfigure(od())})}}},DQ=(t,e,i)=>{const n=mt({resizedWidth:t.inputBoxWitdh}),r=mt({width:t.inputBoxWitdh}),s=mt({left:t.inputBoxWitdh,display:"initial"}),o=u=>{var c,h,f;const d=((c=e.value)==null?void 0:c.offsetWidth)||0,p=((h=e.value)==null?void 0:h.getBoundingClientRect().x)||0;let m=u.x-p;md-Ys&&(m=d-Ys);const g=`${m}px`;r.width=g,s.left=g,n.resizedWidth=g,(f=t.onInputBoxWitdhChange)==null||f.call(t,g)},l=()=>{document.addEventListener("mousemove",o)},a=()=>{document.removeEventListener("mousemove",o)};return J([i],()=>{var u,c;(u=i.value)==null||u.addEventListener("mousedown",l),(c=i.value)==null||c.addEventListener("mouseup",a)},{immediate:!0}),$s(()=>{var u,c;(u=i.value)==null||u.removeEventListener("mousedown",l),(c=i.value)==null||c.removeEventListener("mouseup",a)}),J(()=>t.inputBoxWitdh,u=>{u&&(r.width=u,s.left=u)}),J([qi(t.setting,"htmlPreview"),qi(t.setting,"preview")],()=>{!t.setting.htmlPreview&&!t.setting.preview?(r.width="100%",s.display="none"):(r.width=n.resizedWidth,s.display="initial")},{immediate:!0}),J(()=>t.setting.previewOnly,u=>{u?(r.width="0%",s.display="none"):(r.width=n.resizedWidth,s.display="initial")}),{inputWrapperStyle:r,resizeOperateStyle:s}},RQ=Ee({name:"MDEditorContent",props:_6,setup(t,e){const i=ne("editorId"),n=$e(""),r=$e(),s=$e(),{inputWrapperRef:o,codeMirrorUt:l,resetHistory:a}=ZQ(t),{inputWrapperStyle:u,resizeOperateStyle:c}=DQ(t,r,s);return lQ(t,n,l),e.expose({getSelectedText(){var h;return(h=l.value)==null?void 0:h.getSelectedText()},focus(h){var f;(f=l.value)==null||f.focus(h)},resetHistory:a}),()=>w("div",{class:`${k}-content${t.setting.htmlPreview||t.setting.preview?" has-preview":""}`,ref:r},[w("div",{class:`${k}-input-wrapper`,style:u,ref:o},null),(t.setting.htmlPreview||t.setting.preview)&&w("div",{class:`${k}-resize-operate`,style:c,ref:s},null),w(ab,{modelValue:t.modelValue,setting:t.setting,onHtmlChanged:h=>{n.value=h,t.onHtmlChanged(h)},onGetCatalog:t.onGetCatalog,mdHeadingId:t.mdHeadingId,noMermaid:t.noMermaid,sanitize:t.sanitize,noKatex:t.noKatex,formatCopiedText:t.formatCopiedText,noHighlight:t.noHighlight,noImgZoomIn:t.noImgZoomIn,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null),t.catalogVisible&&w(Jr,{theme:t.theme,class:`${k}-catalog-editor`,editorId:i,mdHeadingId:t.mdHeadingId,key:"internal-catalog"},null)])}}),IQ=Ee({props:{modelValue:{type:String,default:""}},setup(t){const e=ne("usedLanguageText");return()=>{var i,n;return w("div",{class:`${k}-footer-item`},[w("label",{class:`${k}-footer-label`},[`${(i=e.value.footer)==null?void 0:i.markdownTotal}:`]),w("span",null,[((n=t.modelValue)==null?void 0:n.length)||0])])}}}),LQ={checked:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}}},XQ=Ee({props:LQ,setup(t){return()=>w("div",{class:[`${k}-checkbox`,t.checked&&`${k}-checkbox-checked`],onClick:()=>{t.onChange(!t.checked)}},null)}}),MQ={scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}}},WQ=Ee({props:MQ,setup(t){const e=ne("usedLanguageText");return()=>{var i;return w("div",{class:`${k}-footer-item`},[w("label",{class:`${k}-footer-label`,onClick:()=>{t.onScrollAutoChange(!t.scrollAuto)}},[(i=e.value.footer)==null?void 0:i.scrollAuto]),w(XQ,{checked:t.scrollAuto,onChange:t.onScrollAutoChange},null)])}}}),VQ={modelValue:{type:String,default:""},footers:{type:Array,default:[]},scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}},defFooters:{type:Object}},FQ=Ee({name:"MDEditorFooter",props:VQ,setup(t){const e=_t(()=>{const n=t.footers.indexOf("="),r=n===-1?t.footers:t.footers.slice(0,n),s=n===-1?[]:t.footers.slice(n,Number.MAX_SAFE_INTEGER);return[r,s]}),i=n=>{if(l0.includes(n))switch(n){case"markdownTotal":return w(IQ,{modelValue:t.modelValue},null);case"scrollSwitch":return w(WQ,{scrollAuto:t.scrollAuto,onScrollAutoChange:t.onScrollAutoChange},null)}else return t.defFooters instanceof Array?t.defFooters[n]||"":t.defFooters&&t.defFooters.children instanceof Array&&t.defFooters.children[n]||""};return()=>{const n=e.value[0].map(s=>i(s)),r=e.value[1].map(s=>i(s));return w("div",{class:`${k}-footer`},[w("div",{class:`${k}-footer-left`},[n]),w("div",{class:`${k}-footer-right`},[r])])}}}),La=Ee({name:"MdEditorV3",props:D6,emits:R6,setup(t,e){const{editorId:i,noKatex:n,noMermaid:r,noPrettier:s,noUploadImg:o,noHighlight:l}=t,a=mt({scrollAuto:t.scrollAuto}),u=$e();$6(t,e),P6(t),C6(t),Q6(t,e);const[c,h]=A6(t,e),f=T6(t);return $s(()=>{I.clear(i)}),E6(t,e,f,c,h,u),()=>{const d=Zt({props:t,ctx:e},"defToolbars"),p=Zt({props:t,ctx:e},"defFooters");return w("div",{id:i,class:[k,t.class,t.theme==="dark"&&`${k}-dark`,c.fullscreen||c.pageFullscreen?`${k}-fullscreen`:""],style:t.style},[t.toolbars.length>0&&w(nQ,{noPrettier:s,toolbars:t.toolbars,toolbarsExclude:t.toolbarsExclude,setting:c,updateSetting:h,tableShape:t.tableShape,defToolbars:d,noUploadImg:o,showToolbarName:t.showToolbarName},null),w(RQ,{ref:u,modelValue:t.modelValue,setting:c,mdHeadingId:t.mdHeadingId,noMermaid:r,noPrettier:s,sanitize:t.sanitize,placeholder:t.placeholder,noKatex:n,scrollAuto:a.scrollAuto,formatCopiedText:t.formatCopiedText,autofocus:t.autoFocus,disabled:t.disabled,readonly:t.readOnly,maxlength:t.maxLength,autoDetectCode:t.autoDetectCode,noHighlight:l,updateModelValue:m=>{e.emit("update:modelValue",m)},onChange:m=>{t.onChange&&t.onChange(m),e.emit("onChange",m)},onHtmlChanged:m=>{t.onHtmlChanged&&t.onHtmlChanged(m),e.emit("onHtmlChanged",m)},onGetCatalog:m=>{t.onGetCatalog&&t.onGetCatalog(m),e.emit("onGetCatalog",m)},onBlur:m=>{t.onBlur&&t.onBlur(m),e.emit("onBlur",m)},onFocus:m=>{t.onFocus&&t.onFocus(m),e.emit("onFocus",m)},onInput:m=>{t.onInput&&t.onInput(m),e.emit("onInput",m)},completions:t.completions,catalogVisible:f.value,theme:t.theme,noImgZoomIn:t.noImgZoomIn,onDrop:m=>{t.onDrop&&t.onDrop(m),e.emit("onDrop",m)},inputBoxWitdh:t.inputBoxWitdh,onInputBoxWitdhChange:m=>{t.onInputBoxWitdhChange&&t.onInputBoxWitdhChange(m),e.emit("onInputBoxWitdhChange",m)},sanitizeMermaid:t.sanitizeMermaid,transformImgUrl:t.transformImgUrl,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null),t.footers.length>0&&w(FQ,{modelValue:t.modelValue,footers:t.footers,defFooters:p,scrollAuto:a.scrollAuto,onScrollAutoChange:m=>a.scrollAuto=m},null)])}}});La.install=t=>(t.component(La.name,La),t.use(jo).use($o).use(Bo).use(Jr).use(zo),t);export{gg as C,La as E,ye as I,or as L,Rm as N,ur as a,ti as b,Ro as c,hr as d,xv as e,Es as f,VO as g,Te as h,Ts as i,Ck as j,Pk as k,jm as l,ml as m,ct as n,Zg as o,j as p,T as q,i1 as r,gr as s,b as t,Im as u,qm as v,Rt as w}; +!!!`,"title")}))]}};return lS({override:t?[e,...t]:[e]})},Rn=t=>{const e=new ui;return n=>(e.get(t.state)?t.dispatch({effects:e.reconfigure(n)}):t.dispatch({effects:ce.appendConfig.of(e.of(n))}),!0)};class IQ{constructor(e){Zi(this,"view"),Zi(this,"maxLength",Number.MAX_SAFE_INTEGER),Zi(this,"toggleTabSize"),Zi(this,"togglePlaceholder"),Zi(this,"setExtensions"),Zi(this,"toggleDisabled"),Zi(this,"toggleReadOnly"),Zi(this,"toggleMaxlength"),this.view=e,this.toggleTabSize=Rn(this.view),this.togglePlaceholder=Rn(this.view),this.setExtensions=Rn(this.view),this.toggleDisabled=Rn(this.view),this.toggleReadOnly=Rn(this.view),this.toggleMaxlength=Rn(this.view)}getValue(){return this.view.state.doc.toString()}setValue(e,i=0,n=this.view.state.doc.length){this.view.dispatch({changes:{from:i,to:n,insert:e}})}getSelectedText(){const{from:e,to:i}=this.view.state.selection.main;return this.view.state.sliceDoc(e,i)}replaceSelectedText(e,i={select:!0,deviationStart:0,deviationEnd:0,replaceAll:!1},n){try{if(i.replaceAll){if(this.setValue(e),e.length>this.maxLength)throw new Error("The input text is too long");return}if(this.view.state.doc.length-this.getSelectedText().length+e.length>this.maxLength)throw new Error("The input text is too long");const{from:r}=this.view.state.selection.main;if(this.view.dispatch(this.view.state.replaceSelection(e)),i.select){const s=r+e.length+i.deviationEnd;this.view.dispatch({selection:T.create([T.range(r+i.deviationStart,s),T.cursor(s)],1)})}this.view.focus()}catch(r){if(r.message==="The input text is too long")I.emit(n,$n,{name:"overlength",message:r.message,data:e});else throw r}}setTabSize(e){this.toggleTabSize([oe.tabSize.of(e),gr.of(" ".repeat(e))])}setPlaceholder(e){this.togglePlaceholder(Jx(e))}focus(e){if(this.view.focus(),!e)return;let i=0,n=0,r=0;switch(e){case"start":break;case"end":{i=n=r=this.getValue().length;break}default:i=e.rangeAnchor||e.cursorPos,n=e.rangeHead||e.cursorPos,r=e.cursorPos}this.view.dispatch({scrollIntoView:!0,selection:T.create([T.range(i,n),T.cursor(r)],1)})}setDisabled(e){this.toggleDisabled([j.editable.of(!e)])}setReadOnly(e){this.toggleReadOnly([oe.readOnly.of(e)])}setMaxLength(e){this.maxLength=e,this.toggleMaxlength([oe.changeFilter.of(i=>i.newDoc.length<=e)])}}const LQ=(t,e)=>{const i=ne("editorId"),n=s=>{s instanceof Promise?s.then(o=>{I.emit(i,fe,"universal",{generate(){return{targetValue:o}}})}).catch(o=>{console.error(o)}):I.emit(i,fe,"universal",{generate(){return{targetValue:s}}})};return s=>{var o,l,a;if(!s.clipboardData)return;if(s.clipboardData.files.length>0){const{files:m}=s.clipboardData;I.emit(i,Cl,Array.from(m).filter(g=>/image\/.*/.test(g.type))),s.preventDefault();return}const u=s.clipboardData.getData("text/plain"),c=((o=e.value)==null?void 0:o.view.state.selection.main.to)||0,h=((l=e.value)==null?void 0:l.view.state.doc.lineAt(c).from)||0,f=((a=e.value)==null?void 0:a.view.state.doc.sliceString(h,c))||"",d=/!\[.*\]\(\s*$/.test(f),p=/!\[.*\]\((.*)\s?.*\)/.test(u);if(d){const m=t.transformImgUrl(u);n(m),s.preventDefault();return}else if(p){const m=u.match(new RegExp(`(?<=!\\[.*\\]\\()([^)\\s]+)(?=\\s?["']?.*["']?\\))`,"g"));m?Promise.all(m.map(g=>t.transformImgUrl(g))).then(g=>{n(g.reduce((O,y,v)=>O.replace(m[v],y),u))}):n(u),s.preventDefault();return}if(t.autoDetectCode&&s.clipboardData.types.includes("vscode-editor-data")){const m=JSON.parse(s.clipboardData.getData("vscode-editor-data"));I.emit(i,fe,"code",{mode:m.mode,text:s.clipboardData.getData("text/plain")}),s.preventDefault();return}t.maxlength&&u.length+t.modelValue.length>t.maxlength&&I.emit(i,$n,{name:"overlength",message:"The input text is too long",data:u})}},XQ=(t,e)=>[{key:"Ctrl-b",mac:"Cmd-b",run:()=>(I.emit(t,fe,"bold"),!0)},{key:"Ctrl-d",mac:"Cmd-d",run:AO,preventDefault:!0},{key:"Ctrl-s",mac:"Cmd-s",run:S=>(I.emit(t,Pl,S.state.doc.toString()),!0),shift:()=>(I.emit(t,fe,"strikeThrough"),!0)},{key:"Ctrl-u",mac:"Cmd-u",run:()=>(I.emit(t,fe,"underline"),!0),shift:()=>(I.emit(t,fe,"unorderedList"),!0)},{key:"Ctrl-i",mac:"Cmd-i",run:()=>(I.emit(t,fe,"italic"),!0),shift:()=>(I.emit(t,Fa,"image"),!0)},{key:"Ctrl-1",mac:"Cmd-1",run:()=>(I.emit(t,fe,"h1"),!0)},{key:"Ctrl-2",mac:"Cmd-2",run:()=>(I.emit(t,fe,"h2"),!0)},{key:"Ctrl-3",mac:"Cmd-3",run:()=>(I.emit(t,fe,"h3"),!0)},{key:"Ctrl-4",mac:"Cmd-4",run:()=>(I.emit(t,fe,"h4"),!0)},{key:"Ctrl-5",mac:"Cmd-5",run:()=>(I.emit(t,fe,"h5"),!0)},{key:"Ctrl-6",mac:"Cmd-6",run:()=>(I.emit(t,fe,"h6"),!0)},{key:"Ctrl-ArrowUp",mac:"Cmd-ArrowUp",run:()=>(I.emit(t,fe,"sup"),!0)},{key:"Ctrl-ArrowDown",mac:"Cmd-ArrowDown",run:()=>(I.emit(t,fe,"sub"),!0)},{key:"Ctrl-o",mac:"Cmd-o",run:()=>(I.emit(t,fe,"orderedList"),!0)},{key:"Ctrl-c",mac:"Cmd-c",shift:()=>(I.emit(t,fe,"code"),!0),any(S,_){return(_.ctrlKey||_.metaKey)&&_.altKey&&_.code==="KeyC"?(I.emit(t,fe,"codeRow"),!0):!1}},{key:"Ctrl-l",mac:"Cmd-l",run:()=>(I.emit(t,Fa,"link"),!0)},{key:"Ctrl-f",mac:"Cmd-f",shift:()=>e.noPrettier?!1:(I.emit(t,fe,"prettier"),!0)},{any:(S,_)=>(_.ctrlKey||_.metaKey)&&_.altKey&&_.shiftKey&&_.code==="KeyT"?(I.emit(t,fe,"table"),!0):!1},...kv],MQ=t=>{const e=ne("tabWidth"),i=ne("editorId"),n=ne("theme"),r=$e(),s=yn(),o=new ui,l=new ui,a=new ui,u=new ui,c=new ui,h=XQ(i,t),f=$e(!1),p={paste:LQ(t,s),blur:t.onBlur,focus:t.onFocus,drop:t.onDrop,compositionstart:()=>{f.value=!0},compositionend:(O,y)=>{f.value=!1,t.updateModelValue(y.state.doc.toString())},input:O=>{t.onInput&&t.onInput(O);const{data:y}=O;t.maxlength&&t.modelValue.length+y.length>t.maxlength&&I.emit(i,$n,{name:"overlength",message:"The input text is too long",data:y})}},m=[Qs.of([...nv,...d2,...h,rv]),u.of(ad()),o.of(O1({codeLanguages:cS})),j.lineWrapping,j.updateListener.of(O=>{O.docChanged&&(t.onChange(O.state.doc.toString()),f.value||t.updateModelValue(O.state.doc.toString()))}),c.of(j.domEventHandlers(p))],g=()=>{const O=[...m,l.of(n.value==="light"?tp:U0),a.of(np(t.completions))];return ze.codeMirrorExtensions(n.value,O,[...h])};return De(()=>{const O=new j({doc:t.modelValue,parent:r.value,extensions:[g()]}),y=new IQ(O);s.value=y,setTimeout(()=>{y.setTabSize(e),y.setDisabled(t.disabled),y.setReadOnly(t.readonly),t.placeholder&&y.setPlaceholder(t.placeholder),typeof t.maxlength=="number"&&y.setMaxLength(t.maxlength),t.autofocus&&O.focus()},0),I.on(i,{name:hp,callback(){Sc(O)}}),I.on(i,{name:fp,callback(){nl(O)}}),I.on(i,{name:fe,callback(v,S={}){var _,A;if(v==="image"&&S.transform){const C=t.transformImgUrl(S.url);if(C instanceof Promise)C.then($=>{var R;const{text:M,options:X}=Ra(v,s.value,{...S,url:$});(R=s.value)==null||R.replaceSelectedText(M,X,i)}).catch($=>{console.error($)});else{const{text:$,options:R}=Ra(v,s.value,{...S,url:C});(_=s.value)==null||_.replaceSelectedText($,R,i)}}else{const{text:C,options:$}=Ra(v,s.value,S);(A=s.value)==null||A.replaceSelectedText(C,$,i)}}}),I.on(i,{name:pp,callback:op(v=>{var S;const _={...p},A=Object.keys(p);for(const C in v){const $=C;A.includes($)?_[$]=(R,M)=>{v[$](R,M),R.defaultPrevented||p[$](R,M)}:_[$]=v[$]}(S=s.value)==null||S.view.dispatch({effects:c.reconfigure(j.domEventHandlers(_))})})})}),J(n,()=>{var O;(O=s.value)==null||O.view.dispatch({effects:l.reconfigure(n.value==="light"?tp:U0)})},{deep:!0}),J(()=>t.completions,()=>{var O;(O=s.value)==null||O.view.dispatch({effects:a.reconfigure(np(t.completions))})},{deep:!0}),J(()=>t.modelValue,()=>{var O,y;((O=s.value)==null?void 0:O.getValue())!==t.modelValue&&((y=s.value)==null||y.setValue(t.modelValue))}),J(()=>t.placeholder,()=>{var O;(O=s.value)==null||O.setPlaceholder(t.placeholder)}),J(()=>t.disabled,()=>{var O;(O=s.value)==null||O.setDisabled(t.disabled)}),J(()=>t.readonly,()=>{var O;(O=s.value)==null||O.setDisabled(t.readonly)}),J(()=>t.maxlength,()=>{var O;t.maxlength&&((O=s.value)==null||O.setMaxLength(t.maxlength))}),{inputWrapperRef:r,codeMirrorUt:s,resetHistory(){var O,y;(O=s.value)==null||O.view.dispatch({effects:u.reconfigure([])}),(y=s.value)==null||y.view.dispatch({effects:u.reconfigure(ad())})}}},WQ=(t,e,i)=>{const n=mt({resizedWidth:t.inputBoxWitdh}),r=mt({width:t.inputBoxWitdh}),s=mt({left:t.inputBoxWitdh,display:"initial"}),o=u=>{var c,h,f;const d=((c=e.value)==null?void 0:c.offsetWidth)||0,p=((h=e.value)==null?void 0:h.getBoundingClientRect().x)||0;let m=u.x-p;md-qs&&(m=d-qs);const g=`${m}px`;r.width=g,s.left=g,n.resizedWidth=g,(f=t.onInputBoxWitdhChange)==null||f.call(t,g)},l=()=>{document.addEventListener("mousemove",o)},a=()=>{document.removeEventListener("mousemove",o)};return J([i],()=>{var u,c;(u=i.value)==null||u.addEventListener("mousedown",l),(c=i.value)==null||c.addEventListener("mouseup",a)},{immediate:!0}),_s(()=>{var u,c;(u=i.value)==null||u.removeEventListener("mousedown",l),(c=i.value)==null||c.removeEventListener("mouseup",a)}),J(()=>t.inputBoxWitdh,u=>{u&&(r.width=u,s.left=u)}),J([Bi(t.setting,"htmlPreview"),Bi(t.setting,"preview")],()=>{!t.setting.htmlPreview&&!t.setting.preview?(r.width="100%",s.display="none"):(r.width=n.resizedWidth,s.display="initial")},{immediate:!0}),J(()=>t.setting.previewOnly,u=>{u?(r.width="0%",s.display="none"):(r.width=n.resizedWidth,s.display="initial")}),{inputWrapperStyle:r,resizeOperateStyle:s}},VQ=Ee({name:"MDEditorContent",props:T6,setup(t,e){const i=ne("editorId"),n=$e(""),r=$e(),s=$e(),{inputWrapperRef:o,codeMirrorUt:l,resetHistory:a}=MQ(t),{inputWrapperStyle:u,resizeOperateStyle:c}=WQ(t,r,s);return dQ(t,n,l),e.expose({getSelectedText(){var h;return(h=l.value)==null?void 0:h.getSelectedText()},focus(h){var f;(f=l.value)==null||f.focus(h)},resetHistory:a}),()=>w("div",{class:`${k}-content${t.setting.htmlPreview||t.setting.preview?" has-preview":""}`,ref:r},[w("div",{class:`${k}-input-wrapper`,style:u,ref:o},null),(t.setting.htmlPreview||t.setting.preview)&&w("div",{class:`${k}-resize-operate`,style:c,ref:s},null),w(hb,{modelValue:t.modelValue,setting:t.setting,onHtmlChanged:h=>{n.value=h,t.onHtmlChanged(h)},onGetCatalog:t.onGetCatalog,mdHeadingId:t.mdHeadingId,noMermaid:t.noMermaid,sanitize:t.sanitize,noKatex:t.noKatex,formatCopiedText:t.formatCopiedText,noHighlight:t.noHighlight,noImgZoomIn:t.noImgZoomIn,sanitizeMermaid:t.sanitizeMermaid,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null),t.catalogVisible&&w(Kr,{theme:t.theme,class:`${k}-catalog-editor`,editorId:i,mdHeadingId:t.mdHeadingId,key:"internal-catalog"},null)])}}),FQ=Ee({props:{modelValue:{type:String,default:""}},setup(t){const e=ne("usedLanguageText");return()=>{var i,n;return w("div",{class:`${k}-footer-item`},[w("label",{class:`${k}-footer-label`},[`${(i=e.value.footer)==null?void 0:i.markdownTotal}:`]),w("span",null,[((n=t.modelValue)==null?void 0:n.length)||0])])}}}),zQ={checked:{type:Boolean,default:!1},onChange:{type:Function,default:()=>{}}},jQ=Ee({props:zQ,setup(t){return()=>w("div",{class:[`${k}-checkbox`,t.checked&&`${k}-checkbox-checked`],onClick:()=>{t.onChange(!t.checked)}},null)}}),BQ={scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}}},qQ=Ee({props:BQ,setup(t){const e=ne("usedLanguageText");return()=>{var i;return w("div",{class:`${k}-footer-item`},[w("label",{class:`${k}-footer-label`,onClick:()=>{t.onScrollAutoChange(!t.scrollAuto)}},[(i=e.value.footer)==null?void 0:i.scrollAuto]),w(jQ,{checked:t.scrollAuto,onChange:t.onScrollAutoChange},null)])}}}),YQ={modelValue:{type:String,default:""},footers:{type:Array,default:[]},scrollAuto:{type:Boolean},onScrollAutoChange:{type:Function,default:()=>{}},defFooters:{type:Object}},NQ=Ee({name:"MDEditorFooter",props:YQ,setup(t){const e=_t(()=>{const n=t.footers.indexOf("="),r=n===-1?t.footers:t.footers.slice(0,n),s=n===-1?[]:t.footers.slice(n,Number.MAX_SAFE_INTEGER);return[r,s]}),i=n=>{if(up.includes(n))switch(n){case"markdownTotal":return w(FQ,{modelValue:t.modelValue},null);case"scrollSwitch":return w(qQ,{scrollAuto:t.scrollAuto,onScrollAutoChange:t.onScrollAutoChange},null)}else return t.defFooters instanceof Array?t.defFooters[n]||"":t.defFooters&&t.defFooters.children instanceof Array&&t.defFooters.children[n]||""};return()=>{const n=e.value[0].map(s=>i(s)),r=e.value[1].map(s=>i(s));return w("div",{class:`${k}-footer`},[w("div",{class:`${k}-footer-left`},[n]),w("div",{class:`${k}-footer-right`},[r])])}}}),Xa=Ee({name:"MdEditorV3",props:W6,emits:V6,setup(t,e){const{editorId:i,noKatex:n,noMermaid:r,noPrettier:s,noUploadImg:o,noHighlight:l}=t,a=mt({scrollAuto:t.scrollAuto}),u=$e();E6(t,e),Z6(t),D6(t),R6(t,e);const[c,h]=I6(t,e),f=L6(t);return _s(()=>{I.clear(i)}),X6(t,e,f,c,h,u),()=>{const d=Zt({props:t,ctx:e},"defToolbars"),p=Zt({props:t,ctx:e},"defFooters");return w("div",{id:i,class:[k,t.class,t.theme==="dark"&&`${k}-dark`,c.fullscreen||c.pageFullscreen?`${k}-fullscreen`:""],style:t.style},[t.toolbars.length>0&&w(uQ,{noPrettier:s,toolbars:t.toolbars,toolbarsExclude:t.toolbarsExclude,setting:c,updateSetting:h,tableShape:t.tableShape,defToolbars:d,noUploadImg:o,showToolbarName:t.showToolbarName},null),w(VQ,{ref:u,modelValue:t.modelValue,setting:c,mdHeadingId:t.mdHeadingId,noMermaid:r,noPrettier:s,sanitize:t.sanitize,placeholder:t.placeholder,noKatex:n,scrollAuto:a.scrollAuto,formatCopiedText:t.formatCopiedText,autofocus:t.autoFocus,disabled:t.disabled,readonly:t.readOnly,maxlength:t.maxLength,autoDetectCode:t.autoDetectCode,noHighlight:l,updateModelValue:m=>{e.emit("update:modelValue",m)},onChange:m=>{t.onChange&&t.onChange(m),e.emit("onChange",m)},onHtmlChanged:m=>{t.onHtmlChanged&&t.onHtmlChanged(m),e.emit("onHtmlChanged",m)},onGetCatalog:m=>{t.onGetCatalog&&t.onGetCatalog(m),e.emit("onGetCatalog",m)},onBlur:m=>{t.onBlur&&t.onBlur(m),e.emit("onBlur",m)},onFocus:m=>{t.onFocus&&t.onFocus(m),e.emit("onFocus",m)},onInput:m=>{t.onInput&&t.onInput(m),e.emit("onInput",m)},completions:t.completions,catalogVisible:f.value,theme:t.theme,noImgZoomIn:t.noImgZoomIn,onDrop:m=>{t.onDrop&&t.onDrop(m),e.emit("onDrop",m)},inputBoxWitdh:t.inputBoxWitdh,onInputBoxWitdhChange:m=>{t.onInputBoxWitdhChange&&t.onInputBoxWitdhChange(m),e.emit("onInputBoxWitdhChange",m)},sanitizeMermaid:t.sanitizeMermaid,transformImgUrl:t.transformImgUrl,codeFoldable:t.codeFoldable,autoFoldThreshold:t.autoFoldThreshold},null),t.footers.length>0&&w(NQ,{modelValue:t.modelValue,footers:t.footers,defFooters:p,scrollAuto:a.scrollAuto,onScrollAutoChange:m=>a.scrollAuto=m},null)])}}});Xa.install=t=>(t.component(Xa.name,Xa),t.use(jo).use($o).use(Bo).use(Kr).use(zo),t);export{xg as C,Xa as E,ye as I,sr as L,Xm as N,ar as a,ei as b,Ro as c,cr as d,$v as e,Ts as f,jO as g,Te as h,As as i,Dk as j,Zk as k,Ym as l,ml as m,ct as n,Ig as o,j as p,T as q,s1 as r,Or as s,b as t,Mm as u,Um as v,Rt as w}; diff --git a/public/admin/assets/style-DzVD5h9V.css b/AIWebQuickDeploy/public/admin/assets/style-DzVD5h9V.css similarity index 100% rename from public/admin/assets/style-DzVD5h9V.css rename to AIWebQuickDeploy/public/admin/assets/style-DzVD5h9V.css diff --git a/public/admin/assets/stylus-q6zbLY83.js b/AIWebQuickDeploy/public/admin/assets/stylus-q6zbLY83.js similarity index 100% rename from public/admin/assets/stylus-q6zbLY83.js rename to AIWebQuickDeploy/public/admin/assets/stylus-q6zbLY83.js diff --git a/AIWebQuickDeploy/public/admin/assets/sub-BYbZdG6Y.js b/AIWebQuickDeploy/public/admin/assets/sub-BYbZdG6Y.js new file mode 100644 index 0000000..3f0fb8b --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/sub-BYbZdG6Y.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as o}from"./sub.vue_vue_type_script_setup_true_lang-6LQFZuiJ.js";import"./index-6QRvoxq4.js";import"./item.vue_vue_type_script_setup_true_lang-C02ico3V.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-CxwyeEWK.js";export{o as default}; diff --git a/public/admin/assets/sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js b/AIWebQuickDeploy/public/admin/assets/sub.vue_vue_type_script_setup_true_lang-6LQFZuiJ.js similarity index 96% rename from public/admin/assets/sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js rename to AIWebQuickDeploy/public/admin/assets/sub.vue_vue_type_script_setup_true_lang-6LQFZuiJ.js index b6e523c..9ee2e89 100644 --- a/public/admin/assets/sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js +++ b/AIWebQuickDeploy/public/admin/assets/sub.vue_vue_type_script_setup_true_lang-6LQFZuiJ.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{d as R,$ as C,W as B,n as d,p as T,g as f,c,b,i,z as m,w as H,am as _,Q as $,F as g,s as F,A as h,ai as S,bU as I,aa as A,a0 as L,av as w,E as N}from"./index-nGFMSQGw.js";import{_ as z,r as J}from"./item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js";const V=R({name:"SubMenu",__name:"sub",props:{uniqueKey:{},menu:{},level:{default:0}},setup(x){const t=x,p=t.menu.path??JSON.stringify(t.menu),y=C(),u=C(),n=B(J),v=d(()=>n.openedMenus.includes(t.uniqueKey.at(-1))),k=d(()=>n.isMenuPopup?{enter(e){e.offsetHeight>window.innerHeight&&(e.style.height=`${window.innerHeight}px`)},afterEnter:()=>{},beforeLeave:e=>{e.style.overflow="hidden",e.style.maxHeight=`${e.offsetHeight}px`},leave:e=>{e.style.maxHeight="0"},afterLeave(e){e.style.overflow="",e.style.maxHeight=""}}:{enter(e){const s=e.offsetHeight;e.style.maxHeight="0",e.style.overflow="hidden",e.offsetHeight,e.style.maxHeight=`${s}px`},afterEnter(e){e.style.overflow="",e.style.maxHeight=""},beforeLeave(e){e.style.overflow="hidden",e.style.maxHeight=`${e.offsetHeight}px`},leave(e){e.style.maxHeight="0"},afterLeave(e){e.style.overflow="",e.style.maxHeight=""}}),q=d(()=>n.isMenuPopup?{enterActiveClass:"ease-in-out duration-300",enterFromClass:"opacity-0 translate-x-4",enterToClass:"opacity-100",leaveActiveClass:"ease-in-out duration-300",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"}:{enterActiveClass:"ease-in-out duration-300",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"ease-in-out duration-300",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"}),l=d(()=>{let e=!0;return t.menu.children?t.menu.children.every(s=>{var o;return((o=s.meta)==null?void 0:o.menu)===!1})&&(e=!1):e=!1,e});function P(){n.isMenuPopup&&l.value||(l.value?n.handleSubMenuClick(p,t.uniqueKey):n.handleMenuItemClick(p))}let a;function E(){n.isMenuPopup&&(n.mouseInMenu=t.uniqueKey,a==null||a(),{stop:a}=w(()=>{if(l.value)n.openMenu(p,t.uniqueKey),N(()=>{const e=y.value.ref;let s=0,o=0;n.props.mode==="vertical"||t.level!==0?(s=e.getBoundingClientRect().top+e.scrollTop,o=e.getBoundingClientRect().left+e.getBoundingClientRect().width,s+u.value.getElement().offsetHeight>window.innerHeight&&(s=window.innerHeight-u.value.getElement().offsetHeight)):(s=e.getBoundingClientRect().top+e.getBoundingClientRect().height,o=e.getBoundingClientRect().left,s+u.value.getElement().offsetHeight>window.innerHeight&&(u.value.getElement().style.height=`${window.innerHeight-s}px`)),u.value.getElement().style.top=`${s}px`,u.value.getElement().style.left=`${o}px`});else{const e=t.menu.children?n.subMenus[p].indexPath.at(-1):n.items[p].indexPath.at(-1);n.openMenu(e,n.subMenus[e].indexPath)}},300))}function K(){n.isMenuPopup&&(n.mouseInMenu=[],a==null||a(),{stop:a}=w(()=>{n.mouseInMenu.length===0?n.closeMenu(t.uniqueKey):l.value&&!n.mouseInMenu.includes(t.uniqueKey.at(-1))&&n.closeMenu(t.uniqueKey.at(-1))},300))}return(e,s)=>{const o=T("SubMenu");return f(),c(g,null,[b(z,{ref_key:"itemRef",ref:y,"unique-key":e.uniqueKey,item:e.menu,level:e.level,"sub-menu":i(l),expand:i(v),onClick:P,onMouseenter:E,onMouseleave:K},null,8,["unique-key","item","level","sub-menu","expand"]),i(l)?(f(),m(L,{key:0,to:"body",disabled:!i(n).isMenuPopup},[b(A,S(i(q),I(i(k))),{default:H(()=>[i(v)?(f(),m(i(_),{key:0,ref_key:"subMenuRef",ref:u,options:{scrollbars:{visibility:"hidden"}},defer:"",class:$(["sub-menu",{"bg-[var(--g-sub-sidebar-bg)]":i(n).isMenuPopup,"ring-1 ring-stone-2 dark-ring-stone-8 shadow-xl fixed z-3000 w-[200px]":i(n).isMenuPopup,"mx-2":i(n).isMenuPopup&&(i(n).props.mode==="vertical"||e.level!==0)}])},{default:H(()=>[(f(!0),c(g,null,F(e.menu.children,r=>{var M;return f(),c(g,{key:r.path??JSON.stringify(r)},[((M=r.meta)==null?void 0:M.menu)!==!1?(f(),m(o,{key:0,"unique-key":[...e.uniqueKey,r.path??JSON.stringify(r)],menu:r,level:e.level+1},null,8,["unique-key","menu","level"])):h("",!0)],64)}),128))]),_:1},8,["class"])):h("",!0)]),_:1},16)],8,["disabled"])):h("",!0)],64)}}});export{V as _}; +import{d as R,$ as C,W as B,n as d,p as T,g as f,c,b,i,z as m,w as H,am as _,Q as $,F as g,s as F,A as h,ai as S,bU as I,aa as A,a0 as L,av as w,E as N}from"./index-6QRvoxq4.js";import{_ as z,r as J}from"./item.vue_vue_type_script_setup_true_lang-C02ico3V.js";const V=R({name:"SubMenu",__name:"sub",props:{uniqueKey:{},menu:{},level:{default:0}},setup(x){const t=x,p=t.menu.path??JSON.stringify(t.menu),y=C(),u=C(),n=B(J),v=d(()=>n.openedMenus.includes(t.uniqueKey.at(-1))),k=d(()=>n.isMenuPopup?{enter(e){e.offsetHeight>window.innerHeight&&(e.style.height=`${window.innerHeight}px`)},afterEnter:()=>{},beforeLeave:e=>{e.style.overflow="hidden",e.style.maxHeight=`${e.offsetHeight}px`},leave:e=>{e.style.maxHeight="0"},afterLeave(e){e.style.overflow="",e.style.maxHeight=""}}:{enter(e){const s=e.offsetHeight;e.style.maxHeight="0",e.style.overflow="hidden",e.offsetHeight,e.style.maxHeight=`${s}px`},afterEnter(e){e.style.overflow="",e.style.maxHeight=""},beforeLeave(e){e.style.overflow="hidden",e.style.maxHeight=`${e.offsetHeight}px`},leave(e){e.style.maxHeight="0"},afterLeave(e){e.style.overflow="",e.style.maxHeight=""}}),q=d(()=>n.isMenuPopup?{enterActiveClass:"ease-in-out duration-300",enterFromClass:"opacity-0 translate-x-4",enterToClass:"opacity-100",leaveActiveClass:"ease-in-out duration-300",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"}:{enterActiveClass:"ease-in-out duration-300",enterFromClass:"opacity-0",enterToClass:"opacity-100",leaveActiveClass:"ease-in-out duration-300",leaveFromClass:"opacity-100",leaveToClass:"opacity-0"}),l=d(()=>{let e=!0;return t.menu.children?t.menu.children.every(s=>{var o;return((o=s.meta)==null?void 0:o.menu)===!1})&&(e=!1):e=!1,e});function P(){n.isMenuPopup&&l.value||(l.value?n.handleSubMenuClick(p,t.uniqueKey):n.handleMenuItemClick(p))}let a;function E(){n.isMenuPopup&&(n.mouseInMenu=t.uniqueKey,a==null||a(),{stop:a}=w(()=>{if(l.value)n.openMenu(p,t.uniqueKey),N(()=>{const e=y.value.ref;let s=0,o=0;n.props.mode==="vertical"||t.level!==0?(s=e.getBoundingClientRect().top+e.scrollTop,o=e.getBoundingClientRect().left+e.getBoundingClientRect().width,s+u.value.getElement().offsetHeight>window.innerHeight&&(s=window.innerHeight-u.value.getElement().offsetHeight)):(s=e.getBoundingClientRect().top+e.getBoundingClientRect().height,o=e.getBoundingClientRect().left,s+u.value.getElement().offsetHeight>window.innerHeight&&(u.value.getElement().style.height=`${window.innerHeight-s}px`)),u.value.getElement().style.top=`${s}px`,u.value.getElement().style.left=`${o}px`});else{const e=t.menu.children?n.subMenus[p].indexPath.at(-1):n.items[p].indexPath.at(-1);n.openMenu(e,n.subMenus[e].indexPath)}},300))}function K(){n.isMenuPopup&&(n.mouseInMenu=[],a==null||a(),{stop:a}=w(()=>{n.mouseInMenu.length===0?n.closeMenu(t.uniqueKey):l.value&&!n.mouseInMenu.includes(t.uniqueKey.at(-1))&&n.closeMenu(t.uniqueKey.at(-1))},300))}return(e,s)=>{const o=T("SubMenu");return f(),c(g,null,[b(z,{ref_key:"itemRef",ref:y,"unique-key":e.uniqueKey,item:e.menu,level:e.level,"sub-menu":i(l),expand:i(v),onClick:P,onMouseenter:E,onMouseleave:K},null,8,["unique-key","item","level","sub-menu","expand"]),i(l)?(f(),m(L,{key:0,to:"body",disabled:!i(n).isMenuPopup},[b(A,S(i(q),I(i(k))),{default:H(()=>[i(v)?(f(),m(i(_),{key:0,ref_key:"subMenuRef",ref:u,options:{scrollbars:{visibility:"hidden"}},defer:"",class:$(["sub-menu",{"bg-[var(--g-sub-sidebar-bg)]":i(n).isMenuPopup,"ring-1 ring-stone-2 dark-ring-stone-8 shadow-xl fixed z-3000 w-[200px]":i(n).isMenuPopup,"mx-2":i(n).isMenuPopup&&(i(n).props.mode==="vertical"||e.level!==0)}])},{default:H(()=>[(f(!0),c(g,null,F(e.menu.children,r=>{var M;return f(),c(g,{key:r.path??JSON.stringify(r)},[((M=r.meta)==null?void 0:M.menu)!==!1?(f(),m(o,{key:0,"unique-key":[...e.uniqueKey,r.path??JSON.stringify(r)],menu:r,level:e.level+1},null,8,["unique-key","menu","level"])):h("",!0)],64)}),128))]),_:1},8,["class"])):h("",!0)]),_:1},16)],8,["disabled"])):h("",!0)],64)}}});export{V as _}; diff --git a/public/admin/assets/swift-BzpIVaGY.js b/AIWebQuickDeploy/public/admin/assets/swift-BzpIVaGY.js similarity index 100% rename from public/admin/assets/swift-BzpIVaGY.js rename to AIWebQuickDeploy/public/admin/assets/swift-BzpIVaGY.js diff --git a/public/admin/assets/tcl-DVfN8rqt.js b/AIWebQuickDeploy/public/admin/assets/tcl-DVfN8rqt.js similarity index 100% rename from public/admin/assets/tcl-DVfN8rqt.js rename to AIWebQuickDeploy/public/admin/assets/tcl-DVfN8rqt.js diff --git a/public/admin/assets/tencent-DrFpx0Hg.js b/AIWebQuickDeploy/public/admin/assets/tencent-DLUjGcyt.js similarity index 96% rename from public/admin/assets/tencent-DrFpx0Hg.js rename to AIWebQuickDeploy/public/admin/assets/tencent-DLUjGcyt.js index 3af649f..3e7f61d 100644 --- a/public/admin/assets/tencent-DrFpx0Hg.js +++ b/AIWebQuickDeploy/public/admin/assets/tencent-DLUjGcyt.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as K,m as R,r as U,n as A,a as D,p as s,g as N,c as O,b as e,w as l,h as p,i,e as f,G as V,j,_ as q,k as x}from"./index-nGFMSQGw.js";import{a as C}from"./config-CYXO1pNF.js";const $=f("div",{class:"flex items-center gap-4"},"腾讯云COS参数设置",-1),E=f("div",{class:"text-sm/6"},[f("div",null,[p(" 需前往腾讯云申请对象存储服务,更多配置及申请详见"),f("a",{href:"https://console.cloud.tencent.com/cos",target:"_blank"},"腾讯云COS"),p(" 。 ")])],-1),H=K({__name:"tencent",setup(M){const o=R({tencentCosStatus:"",cosSecretId:"",cosSecretKey:"",cosBucket:"",cosRegion:"",tencentCosAcceleratedDomain:""}),_=U();async function g(){const a=await C.queryConfig({keys:["cosSecretKey","cosBucket","cosRegion","cosSecretId","tencentCosStatus","tencentCosAcceleratedDomain"]});Object.assign(o,a.data)}function y(){var a;(a=_.value)==null||a.validate(async t=>{if(t){try{await C.setConfig({settings:b(o)}),V.success("变更配置信息成功")}catch{}g()}else V.error("请填写完整信息")})}function b(a){return Object.keys(a).map(t=>({configKey:t,configVal:a[t]}))}const m=A(()=>[{required:Number(o.tencentCosStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return D(()=>{g()}),(a,t)=>{const S=j,w=q,k=I,v=s("el-switch"),c=s("el-form-item"),r=s("el-col"),u=s("el-row"),d=s("el-input"),h=s("el-form"),B=s("el-card");return N(),O("div",null,[e(k,null,{title:l(()=>[$]),content:l(()=>[E]),default:l(()=>[e(w,{outline:"",onClick:y},{default:l(()=>[e(S,{name:"i-ri:file-text-line"}),p(" 保存设置 ")]),_:1})]),_:1}),e(B,{style:{margin:"20px"}},{default:l(()=>[e(h,{ref_key:"formRef",ref:_,model:o,"label-width":"120px"},{default:l(()=>[e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"启用状态",prop:"tencentCosStatus"},{default:l(()=>[e(v,{modelValue:o.tencentCosStatus,"onUpdate:modelValue":t[0]||(t[0]=n=>o.tencentCosStatus=n),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"SecretId",prop:"cosSecretId",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosSecretId,"onUpdate:modelValue":t[1]||(t[1]=n=>o.cosSecretId=n),placeholder:"请填写SecretId",type:"password","show-password":"",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"SecretKey",prop:"cosSecretKey",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosSecretKey,"onUpdate:modelValue":t[2]||(t[2]=n=>o.cosSecretKey=n),placeholder:"请填写SecretKey",type:"password","show-password":"",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"存储桶名称",prop:"cosBucket",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosBucket,"onUpdate:modelValue":t[3]||(t[3]=n=>o.cosBucket=n),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"所属地域",prop:"cosRegion",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosRegion,"onUpdate:modelValue":t[4]||(t[4]=n=>o.cosRegion=n),placeholder:"请填写所属地域(ap-guangzhou)",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"全球加速域名",prop:"tencentCosAcceleratedDomain"},{default:l(()=>[e(d,{modelValue:o.tencentCosAcceleratedDomain,"onUpdate:modelValue":t[5]||(t[5]=n=>o.tencentCosAcceleratedDomain=n),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof x=="function"&&x(H);export{H as default}; +import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as K,m as R,r as U,n as A,a as D,p as s,g as N,c as O,b as e,w as l,h as p,i,e as f,G as V,j,_ as q,k as x}from"./index-6QRvoxq4.js";import{a as C}from"./config-DBls5jtO.js";const $=f("div",{class:"flex items-center gap-4"},"腾讯云COS参数设置",-1),E=f("div",{class:"text-sm/6"},[f("div",null,[p(" 需前往腾讯云申请对象存储服务,更多配置及申请详见"),f("a",{href:"https://console.cloud.tencent.com/cos",target:"_blank"},"腾讯云COS"),p(" 。 ")])],-1),H=K({__name:"tencent",setup(M){const o=R({tencentCosStatus:"",cosSecretId:"",cosSecretKey:"",cosBucket:"",cosRegion:"",tencentCosAcceleratedDomain:""}),_=U();async function g(){const a=await C.queryConfig({keys:["cosSecretKey","cosBucket","cosRegion","cosSecretId","tencentCosStatus","tencentCosAcceleratedDomain"]});Object.assign(o,a.data)}function y(){var a;(a=_.value)==null||a.validate(async t=>{if(t){try{await C.setConfig({settings:b(o)}),V.success("变更配置信息成功")}catch{}g()}else V.error("请填写完整信息")})}function b(a){return Object.keys(a).map(t=>({configKey:t,configVal:a[t]}))}const m=A(()=>[{required:Number(o.tencentCosStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return D(()=>{g()}),(a,t)=>{const S=j,w=q,k=I,v=s("el-switch"),c=s("el-form-item"),r=s("el-col"),u=s("el-row"),d=s("el-input"),h=s("el-form"),B=s("el-card");return N(),O("div",null,[e(k,null,{title:l(()=>[$]),content:l(()=>[E]),default:l(()=>[e(w,{outline:"",onClick:y},{default:l(()=>[e(S,{name:"i-ri:file-text-line"}),p(" 保存设置 ")]),_:1})]),_:1}),e(B,{style:{margin:"20px"}},{default:l(()=>[e(h,{ref_key:"formRef",ref:_,model:o,"label-width":"120px"},{default:l(()=>[e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"启用状态",prop:"tencentCosStatus"},{default:l(()=>[e(v,{modelValue:o.tencentCosStatus,"onUpdate:modelValue":t[0]||(t[0]=n=>o.tencentCosStatus=n),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"SecretId",prop:"cosSecretId",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosSecretId,"onUpdate:modelValue":t[1]||(t[1]=n=>o.cosSecretId=n),placeholder:"请填写SecretId",type:"password","show-password":"",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"SecretKey",prop:"cosSecretKey",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosSecretKey,"onUpdate:modelValue":t[2]||(t[2]=n=>o.cosSecretKey=n),placeholder:"请填写SecretKey",type:"password","show-password":"",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"存储桶名称",prop:"cosBucket",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosBucket,"onUpdate:modelValue":t[3]||(t[3]=n=>o.cosBucket=n),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"所属地域",prop:"cosRegion",rules:i(m)},{default:l(()=>[e(d,{modelValue:o.cosRegion,"onUpdate:modelValue":t[4]||(t[4]=n=>o.cosRegion=n),placeholder:"请填写所属地域(ap-guangzhou)",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"全球加速域名",prop:"tencentCosAcceleratedDomain"},{default:l(()=>[e(d,{modelValue:o.tencentCosAcceleratedDomain,"onUpdate:modelValue":t[5]||(t[5]=n=>o.tencentCosAcceleratedDomain=n),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof x=="function"&&x(H);export{H as default}; diff --git a/public/admin/assets/textile-CnDTJFAw.js b/AIWebQuickDeploy/public/admin/assets/textile-CnDTJFAw.js similarity index 100% rename from public/admin/assets/textile-CnDTJFAw.js rename to AIWebQuickDeploy/public/admin/assets/textile-CnDTJFAw.js diff --git a/public/admin/assets/tiddlywiki-DO-Gjzrf.js b/AIWebQuickDeploy/public/admin/assets/tiddlywiki-DO-Gjzrf.js similarity index 100% rename from public/admin/assets/tiddlywiki-DO-Gjzrf.js rename to AIWebQuickDeploy/public/admin/assets/tiddlywiki-DO-Gjzrf.js diff --git a/public/admin/assets/tiki-DGYXhP31.js b/AIWebQuickDeploy/public/admin/assets/tiki-DGYXhP31.js similarity index 100% rename from public/admin/assets/tiki-DGYXhP31.js rename to AIWebQuickDeploy/public/admin/assets/tiki-DGYXhP31.js diff --git a/public/admin/assets/toml-BXUEaScT.js b/AIWebQuickDeploy/public/admin/assets/toml-BXUEaScT.js similarity index 100% rename from public/admin/assets/toml-BXUEaScT.js rename to AIWebQuickDeploy/public/admin/assets/toml-BXUEaScT.js diff --git a/public/admin/assets/troff-wAsdV37c.js b/AIWebQuickDeploy/public/admin/assets/troff-wAsdV37c.js similarity index 100% rename from public/admin/assets/troff-wAsdV37c.js rename to AIWebQuickDeploy/public/admin/assets/troff-wAsdV37c.js diff --git a/public/admin/assets/ttcn-CiGrtVSZ.js b/AIWebQuickDeploy/public/admin/assets/ttcn-CiGrtVSZ.js similarity index 100% rename from public/admin/assets/ttcn-CiGrtVSZ.js rename to AIWebQuickDeploy/public/admin/assets/ttcn-CiGrtVSZ.js diff --git a/public/admin/assets/ttcn-cfg-BIkV9KBc.js b/AIWebQuickDeploy/public/admin/assets/ttcn-cfg-BIkV9KBc.js similarity index 100% rename from public/admin/assets/ttcn-cfg-BIkV9KBc.js rename to AIWebQuickDeploy/public/admin/assets/ttcn-cfg-BIkV9KBc.js diff --git a/public/admin/assets/turtle-B1tBg_DP.js b/AIWebQuickDeploy/public/admin/assets/turtle-B1tBg_DP.js similarity index 100% rename from public/admin/assets/turtle-B1tBg_DP.js rename to AIWebQuickDeploy/public/admin/assets/turtle-B1tBg_DP.js diff --git a/public/admin/assets/use-resolve-button-type-CVaAVCZ2.js b/AIWebQuickDeploy/public/admin/assets/use-resolve-button-type-BE1XPlJv.js similarity index 88% rename from public/admin/assets/use-resolve-button-type-CVaAVCZ2.js rename to AIWebQuickDeploy/public/admin/assets/use-resolve-button-type-BE1XPlJv.js index 849d08e..befc6ba 100644 --- a/public/admin/assets/use-resolve-button-type-CVaAVCZ2.js +++ b/AIWebQuickDeploy/public/admin/assets/use-resolve-button-type-BE1XPlJv.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{r,a as l,c9 as s,cm as u}from"./index-nGFMSQGw.js";function o(t,n){if(t)return t;let e=n??"button";if(typeof e=="string"&&e.toLowerCase()==="button")return"button"}function i(t,n){let e=r(o(t.value.type,t.value.as));return l(()=>{e.value=o(t.value.type,t.value.as)}),s(()=>{var a;e.value||u(n)&&u(n)instanceof HTMLButtonElement&&!((a=u(n))!=null&&a.hasAttribute("type"))&&(e.value="button")}),e}export{i as s}; +import{r,a as l,c9 as s,cm as u}from"./index-6QRvoxq4.js";function o(t,n){if(t)return t;let e=n??"button";if(typeof e=="string"&&e.toLowerCase()==="button")return"button"}function i(t,n){let e=r(o(t.value.type,t.value.as));return l(()=>{e.value=o(t.value.type,t.value.as)}),s(()=>{var a;e.value||u(n)&&u(n)instanceof HTMLButtonElement&&!((a=u(n))!=null&&a.hasAttribute("type"))&&(e.value="button")}),e}export{i as s}; diff --git a/public/admin/assets/useMainPage-C9MASyfo.js b/AIWebQuickDeploy/public/admin/assets/useMainPage--yVtHxDh.js similarity index 74% rename from public/admin/assets/useMainPage-C9MASyfo.js rename to AIWebQuickDeploy/public/admin/assets/useMainPage--yVtHxDh.js index 9e49bc4..5f69c6c 100644 --- a/public/admin/assets/useMainPage-C9MASyfo.js +++ b/AIWebQuickDeploy/public/admin/assets/useMainPage--yVtHxDh.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{f as r}from"./index-nGFMSQGw.js";function n(){const e=r();function o(){e.push({name:"reload"})}return{reload:o}}export{n as u}; +import{f as r}from"./index-6QRvoxq4.js";function n(){const e=r();function o(){e.push({name:"reload"})}return{reload:o}}export{n as u}; diff --git a/public/admin/assets/useMenu-CjAI3aXu.js b/AIWebQuickDeploy/public/admin/assets/useMenu-DJ8_3Y3q.js similarity index 82% rename from public/admin/assets/useMenu-CjAI3aXu.js rename to AIWebQuickDeploy/public/admin/assets/useMenu-DJ8_3Y3q.js index 5182d17..9969e85 100644 --- a/public/admin/assets/useMenu-CjAI3aXu.js +++ b/AIWebQuickDeploy/public/admin/assets/useMenu-DJ8_3Y3q.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{f as o,u as r,a8 as i}from"./index-nGFMSQGw.js";function c(){const t=o(),s=r(),e=i();function n(u){e.setActived(u),s.settings.menu.switchMainMenuAndPageJump&&t.push(e.sidebarMenusFirstDeepestPath)}return{switchTo:n}}export{c as u}; +import{f as o,u as r,a8 as i}from"./index-6QRvoxq4.js";function c(){const t=o(),s=r(),e=i();function n(u){e.setActived(u),s.settings.menu.switchMainMenuAndPageJump&&t.push(e.sidebarMenusFirstDeepestPath)}return{switchTo:n}}export{c as u}; diff --git a/public/admin/assets/userAgreement-CRX63ZgH.js b/AIWebQuickDeploy/public/admin/assets/userAgreement-CNd8Qla0.js similarity index 95% rename from public/admin/assets/userAgreement-CRX63ZgH.js rename to AIWebQuickDeploy/public/admin/assets/userAgreement-CNd8Qla0.js index f2e118b..1c50f53 100644 --- a/public/admin/assets/userAgreement-CRX63ZgH.js +++ b/AIWebQuickDeploy/public/admin/assets/userAgreement-CNd8Qla0.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as q,u as B,m as E,n as H,r as _,a as M,p as r,g as j,c as N,b as e,w as n,h as P,i as R,e as g,G as d,H as D,j as F,_ as G,k as x}from"./index-nGFMSQGw.js";import{a as h}from"./config-CYXO1pNF.js";import{E as K}from"./style-CY8tkffG.js";const L=g("div",{class:"flex items-center gap-4"},"用户协议设置",-1),z=g("div",{class:"text-sm/6"},[g("div",null," 用户协议设置用于配置用户端显示的用户协议页面。支持使用Markdown语法或HTML标签来创建内容,为灵活的内容格式提供便利。 ")],-1),J=q({__name:"userAgreement",setup(Q){const A=B(),a=E({isAutoOpenAgreement:"",agreementInfo:"",agreementTitle:""});H(()=>A.settings.app.colorScheme);const V=_({agreementTitle:[{required:!0,trigger:"blur",message:"请填写用户协议标题"}],agreementInfo:[{required:!0,trigger:"blur",message:"请填写用户协议具体内容"}]}),y=_();async function v(){const o=await h.queryConfig({keys:["agreementInfo","agreementTitle","isAutoOpenAgreement"]}),{agreementInfo:t,agreementTitle:i,isAutoOpenAgreement:s}=o.data;t&&Object.assign(a,{agreementInfo:t,agreementTitle:i,isAutoOpenAgreement:s})}function C(){var o;(o=y.value)==null||o.validate(async t=>{if(t){try{await h.setConfig({settings:b(a)}),d.success("变更用户协议信息成功")}catch{}v()}else d.error("请填写完整信息")})}const I=_(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);function b(o){return Object.keys(o).map(t=>({configKey:t,configVal:o[t]}))}function O(o){}async function T(o,t){const i=await Promise.all(Array.from(o).map(s=>new Promise(async(p,f)=>{var m;const c=new FormData;c.append("file",s);try{const l=await D.post(I.value,c,{headers:{"Content-Type":"multipart/form-data"}});(m=l==null?void 0:l.data)!=null&&m.data||d.error("图片上传失败,请检查您的配置信息!"),p(l.data.data)}catch(l){d.error(l||"图片上传失败,请检查您的配置信息!"),f(l)}})));t(i.map(s=>s)),d({message:"图片上传成功!",type:"success"})}return M(()=>{v()}),(o,t)=>{const i=F,s=G,p=$,f=r("el-input"),c=r("el-form-item"),m=r("el-col"),l=r("el-switch"),k=r("el-tooltip"),w=r("el-row"),U=r("el-form"),S=r("el-card");return j(),N("div",null,[e(p,null,{title:n(()=>[L]),content:n(()=>[z]),default:n(()=>[e(s,{outline:"",onClick:C},{default:n(()=>[e(i,{name:"i-ri:file-text-line"}),P(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{default:n(()=>[e(U,{ref_key:"formRef",ref:y,rules:V.value,model:a,"label-width":"120px"},{default:n(()=>[e(w,null,{default:n(()=>[e(m,{xs:24,md:20,lg:15,xl:10},{default:n(()=>[e(c,{label:"用户协议标题",prop:"agreementTitle"},{default:n(()=>[e(f,{modelValue:a.agreementTitle,"onUpdate:modelValue":t[0]||(t[0]=u=>a.agreementTitle=u),rows:1,placeholder:"用户协议标题",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{xs:24,md:20,lg:15,xl:10},{default:n(()=>[e(c,{label:"开启用户协议",prop:"isAutoOpenAgreement"},{default:n(()=>[e(k,{content:"开启后,用户在注册时将会弹出用户协议页面",placement:"top","show-after":500},{default:n(()=>[e(l,{modelValue:a.isAutoOpenAgreement,"onUpdate:modelValue":t[1]||(t[1]=u=>a.isAutoOpenAgreement=u),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{xs:24,md:20,lg:15,xl:12})]),_:1})]),_:1}),e(w,null,{default:n(()=>[e(m,{span:24},{default:n(()=>[e(c,{label:"用户协议内容",prop:"agreementInfo"},{default:n(()=>[e(R(K),{modelValue:a.agreementInfo,"onUpdate:modelValue":t[2]||(t[2]=u=>a.agreementInfo=u),style:{"min-height":"80vh"},onOnChange:O,onOnUploadImg:T},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof x=="function"&&x(J);export{J as default}; +import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as q,u as B,m as E,n as H,r as _,a as M,p as r,g as j,c as N,b as e,w as n,h as P,i as R,e as g,G as d,H as D,j as F,_ as G,k as x}from"./index-6QRvoxq4.js";import{a as h}from"./config-DBls5jtO.js";import{E as K}from"./style-CSuzBWCF.js";const L=g("div",{class:"flex items-center gap-4"},"用户协议设置",-1),z=g("div",{class:"text-sm/6"},[g("div",null," 用户协议设置用于配置用户端显示的用户协议页面。支持使用Markdown语法或HTML标签来创建内容,为灵活的内容格式提供便利。 ")],-1),J=q({__name:"userAgreement",setup(Q){const A=B(),a=E({isAutoOpenAgreement:"",agreementInfo:"",agreementTitle:""});H(()=>A.settings.app.colorScheme);const V=_({agreementTitle:[{required:!0,trigger:"blur",message:"请填写用户协议标题"}],agreementInfo:[{required:!0,trigger:"blur",message:"请填写用户协议具体内容"}]}),y=_();async function v(){const o=await h.queryConfig({keys:["agreementInfo","agreementTitle","isAutoOpenAgreement"]}),{agreementInfo:t,agreementTitle:i,isAutoOpenAgreement:s}=o.data;t&&Object.assign(a,{agreementInfo:t,agreementTitle:i,isAutoOpenAgreement:s})}function C(){var o;(o=y.value)==null||o.validate(async t=>{if(t){try{await h.setConfig({settings:b(a)}),d.success("变更用户协议信息成功")}catch{}v()}else d.error("请填写完整信息")})}const I=_(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);function b(o){return Object.keys(o).map(t=>({configKey:t,configVal:o[t]}))}function O(o){}async function T(o,t){const i=await Promise.all(Array.from(o).map(s=>new Promise(async(p,f)=>{var m;const c=new FormData;c.append("file",s);try{const l=await D.post(I.value,c,{headers:{"Content-Type":"multipart/form-data"}});(m=l==null?void 0:l.data)!=null&&m.data||d.error("图片上传失败,请检查您的配置信息!"),p(l.data.data)}catch(l){d.error(l||"图片上传失败,请检查您的配置信息!"),f(l)}})));t(i.map(s=>s)),d({message:"图片上传成功!",type:"success"})}return M(()=>{v()}),(o,t)=>{const i=F,s=G,p=$,f=r("el-input"),c=r("el-form-item"),m=r("el-col"),l=r("el-switch"),k=r("el-tooltip"),w=r("el-row"),U=r("el-form"),S=r("el-card");return j(),N("div",null,[e(p,null,{title:n(()=>[L]),content:n(()=>[z]),default:n(()=>[e(s,{outline:"",onClick:C},{default:n(()=>[e(i,{name:"i-ri:file-text-line"}),P(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{default:n(()=>[e(U,{ref_key:"formRef",ref:y,rules:V.value,model:a,"label-width":"120px"},{default:n(()=>[e(w,null,{default:n(()=>[e(m,{xs:24,md:20,lg:15,xl:10},{default:n(()=>[e(c,{label:"用户协议标题",prop:"agreementTitle"},{default:n(()=>[e(f,{modelValue:a.agreementTitle,"onUpdate:modelValue":t[0]||(t[0]=u=>a.agreementTitle=u),rows:1,placeholder:"用户协议标题",clearable:""},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{xs:24,md:20,lg:15,xl:10},{default:n(()=>[e(c,{label:"开启用户协议",prop:"isAutoOpenAgreement"},{default:n(()=>[e(k,{content:"开启后,用户在注册时将会弹出用户协议页面",placement:"top","show-after":500},{default:n(()=>[e(l,{modelValue:a.isAutoOpenAgreement,"onUpdate:modelValue":t[1]||(t[1]=u=>a.isAutoOpenAgreement=u),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1}),e(m,{xs:24,md:20,lg:15,xl:12})]),_:1})]),_:1}),e(w,null,{default:n(()=>[e(m,{span:24},{default:n(()=>[e(c,{label:"用户协议内容",prop:"agreementInfo"},{default:n(()=>[e(R(K),{modelValue:a.agreementInfo,"onUpdate:modelValue":t[2]||(t[2]=u=>a.agreementInfo=u),style:{"min-height":"80vh"},onOnChange:O,onOnUploadImg:T},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof x=="function"&&x(J);export{J as default}; diff --git a/public/admin/assets/utcformatTime-Bq4gDWNx.js b/AIWebQuickDeploy/public/admin/assets/utcformatTime-Bq4gDWNx.js similarity index 100% rename from public/admin/assets/utcformatTime-Bq4gDWNx.js rename to AIWebQuickDeploy/public/admin/assets/utcformatTime-Bq4gDWNx.js diff --git a/public/admin/assets/vb-CmGdzxic.js b/AIWebQuickDeploy/public/admin/assets/vb-CmGdzxic.js similarity index 100% rename from public/admin/assets/vb-CmGdzxic.js rename to AIWebQuickDeploy/public/admin/assets/vb-CmGdzxic.js diff --git a/public/admin/assets/vbscript-BuJXcnF6.js b/AIWebQuickDeploy/public/admin/assets/vbscript-BuJXcnF6.js similarity index 100% rename from public/admin/assets/vbscript-BuJXcnF6.js rename to AIWebQuickDeploy/public/admin/assets/vbscript-BuJXcnF6.js diff --git a/public/admin/assets/velocity-D8B20fx6.js b/AIWebQuickDeploy/public/admin/assets/velocity-D8B20fx6.js similarity index 100% rename from public/admin/assets/velocity-D8B20fx6.js rename to AIWebQuickDeploy/public/admin/assets/velocity-D8B20fx6.js diff --git a/public/admin/assets/verilog-C6RDOZhf.js b/AIWebQuickDeploy/public/admin/assets/verilog-C6RDOZhf.js similarity index 100% rename from public/admin/assets/verilog-C6RDOZhf.js rename to AIWebQuickDeploy/public/admin/assets/verilog-C6RDOZhf.js diff --git a/public/admin/assets/vhdl-lSbBsy5d.js b/AIWebQuickDeploy/public/admin/assets/vhdl-lSbBsy5d.js similarity index 100% rename from public/admin/assets/vhdl-lSbBsy5d.js rename to AIWebQuickDeploy/public/admin/assets/vhdl-lSbBsy5d.js diff --git a/public/admin/assets/violation-DSvmBVfk.js b/AIWebQuickDeploy/public/admin/assets/violation-BuG_b462.js similarity index 95% rename from public/admin/assets/violation-DSvmBVfk.js rename to AIWebQuickDeploy/public/admin/assets/violation-BuG_b462.js index 515c367..e4dd3a1 100644 --- a/public/admin/assets/violation-DSvmBVfk.js +++ b/AIWebQuickDeploy/public/admin/assets/violation-BuG_b462.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as X}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{A as Z}from"./badWords-C1vgC_-i.js";import{d as ee,r as f,m as P,a as te,p as o,q as le,g as c,c as h,b as t,w as l,F as T,s as V,i as s,h as d,y as ae,z as S,e as C,t as m,D as ne,K as L,G as oe,k as Y}from"./index-nGFMSQGw.js";import{u as se}from"./utcformatTime-Bq4gDWNx.js";import{m as z}from"./marked.esm-8ZxQ78w7.js";import{T as re,U as ie,j as ue,k as de}from"./index-BE-LteFu.js";const pe=C("div",{class:"flex items-center gap-4"},"违规检测记录",-1),ce=["src"],_e={class:"answer"},fe=["innerHTML"],me=ee({__name:"violation",setup(ge){const j=new z.Renderer;z.setOptions({renderer:j,gfm:!0,pedantic:!1});const v=f(!1),A=f(),O=f(),R=f(0),i=P({userId:"",typeOriginCn:"",page:1,size:10}),M=f([]),g=f(!1),_=P({status:"0",id:0});function B(n){g.value=!0,_.status=n.status.toString(),_.id=n.userId}async function q(){(await L.updateUserStatus(_)).success&&oe({type:"success",message:"变更用户状态成功!"}),g.value=!1}async function w(){v.value=!0;try{const n=await Z.queryViolation(i);v.value=!1;const{rows:a,count:U}=n.data;R.value=U,M.value=a}catch{v.value=!1}}async function $(n){const a=await L.queryAllUser({size:30,username:n});A.value=a.data.rows}function E(n){n==null||n.resetFields(),w()}return te(()=>{w()}),(n,a)=>{const U=X,k=o("el-option"),I=o("el-select"),y=o("el-form-item"),b=o("el-button"),D=o("el-form"),N=Q,r=o("el-table-column"),x=o("el-tag"),F=o("el-popover"),H=o("el-table"),G=o("el-pagination"),J=o("el-row"),K=o("el-dialog"),W=le("loading");return c(),h("div",null,[t(U,null,{title:l(()=>[pe]),_:1}),t(N,null,{default:l(()=>[t(D,{ref_key:"formRef",ref:O,inline:!0,model:i},{default:l(()=>[t(y,{label:"用户名称",prop:"userId"},{default:l(()=>[t(I,{modelValue:i.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>i.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":$,style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(A),e=>(c(),S(k,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,{label:"检测平台",prop:"typeOriginCn"},{default:l(()=>[t(I,{modelValue:i.typeOriginCn,"onUpdate:modelValue":a[1]||(a[1]=e=>i.typeOriginCn=e),placeholder:"请选择检测平台",clearable:"",style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(re),e=>(c(),S(k,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,null,{default:l(()=>[t(b,{type:"primary",onClick:w},{default:l(()=>[d(" 查询 ")]),_:1}),t(b,{onClick:a[2]||(a[2]=e=>E(s(O)))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(N,{style:{width:"100%"}},{default:l(()=>[ae((c(),S(H,{border:"",data:s(M),style:{width:"100%"},size:"large","tooltip-options":{}},{default:l(()=>[t(r,{fixed:"",prop:"userInfo.username",label:"用户名称",width:"150"}),t(r,{prop:"userInfo.avatar",label:"头像",width:"120"},{default:l(e=>{var u,p;return[C("img",{src:(p=(u=e.row)==null?void 0:u.userInfo)==null?void 0:p.avatar,style:{height:"50px"}},null,8,ce)]}),_:1}),t(r,{prop:"userInfo.email",label:"邮箱",width:"200"}),t(r,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:l(({row:e})=>[t(x,{type:s(ie)[e.userInfo.status]},{default:l(()=>[d(m(s(ue)[e.userInfo.status]),1)]),_:2},1032,["type"])]),_:1}),t(r,{prop:"userInfo.violationCount",label:"累计次数",width:"90",align:"center"}),t(r,{label:"违规类型"},{default:l(e=>[t(x,{type:"danger"},{default:l(()=>{var u,p;return[d(m((u=e.row)!=null&&u.typeCn?JSON.parse((p=e.row)==null?void 0:p.typeCn).join(" | "):""),1)]}),_:2},1024)]),_:1}),t(r,{label:"违规关键词"},{default:l(e=>{var u,p;return[d(m((u=e.row)!=null&&u.words?JSON.parse((p=e.row)==null?void 0:p.words).join(" | "):""),1)]}),_:1}),t(r,{prop:"typeOriginCn",label:"违规检测来源",width:"120"},{default:l(e=>[t(x,{type:"success"},{default:l(()=>[d(m(e.row.typeOriginCn),1)]),_:2},1024)]),_:1}),t(r,{prop:"answer",label:"违规内容",width:"200"},{default:l(e=>[t(F,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[C("div",_e,m(e.row.content),1)]),default:l(()=>[C("div",{class:"answer_container",innerHTML:s(z)(e.row.content||"")},null,8,fe)]),_:2},1024)]),_:1}),t(r,{prop:"createdAt",label:"违规时间",width:"200"},{default:l(e=>[d(m(s(se)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(r,{fixed:"right",label:"操作",width:"120",align:"center"},{default:l(e=>[t(b,{link:"",type:"primary",size:"small",onClick:u=>B(e.row)},{default:l(()=>[d(" 变更用户状态 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[W,s(v)]]),t(J,{class:"mt-5 flex justify-end"},{default:l(()=>[t(G,{"current-page":i.page,"onUpdate:currentPage":a[3]||(a[3]=e=>i.page=e),"page-size":i.size,"onUpdate:pageSize":a[4]||(a[4]=e=>i.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s(R),onSizeChange:w,onCurrentChange:w},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(K,{modelValue:s(g),"onUpdate:modelValue":a[6]||(a[6]=e=>ne(g)?g.value=e:null),title:"变更用户状态",width:"500px"},{default:l(()=>[t(D,{model:_,inline:!0},{default:l(()=>[t(y,{label:"用户状态","label-width":"90px"},{default:l(()=>[t(I,{modelValue:_.status,"onUpdate:modelValue":a[5]||(a[5]=e=>_.status=e),placeholder:"请选择用户状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(de),e=>(c(),S(k,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,null,{default:l(()=>[t(b,{type:"primary",onClick:q},{default:l(()=>[d(" 确认变更 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])])}}});typeof Y=="function"&&Y(me);export{me as default}; +import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-c3O57XSg.js";import{_ as X}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{A as Z}from"./badWords-D2Yy-NCt.js";import{d as ee,r as f,m as P,a as te,p as o,q as le,g as c,c as h,b as t,w as l,F as T,s as V,i as s,h as d,y as ae,z as S,e as C,t as m,D as ne,K as L,G as oe,k as Y}from"./index-6QRvoxq4.js";import{u as se}from"./utcformatTime-Bq4gDWNx.js";import{m as z}from"./marked.esm-8ZxQ78w7.js";import{T as re,U as ie,j as ue,k as de}from"./index-BE-LteFu.js";const pe=C("div",{class:"flex items-center gap-4"},"违规检测记录",-1),ce=["src"],_e={class:"answer"},fe=["innerHTML"],me=ee({__name:"violation",setup(ge){const j=new z.Renderer;z.setOptions({renderer:j,gfm:!0,pedantic:!1});const v=f(!1),A=f(),O=f(),R=f(0),i=P({userId:"",typeOriginCn:"",page:1,size:10}),M=f([]),g=f(!1),_=P({status:"0",id:0});function B(n){g.value=!0,_.status=n.status.toString(),_.id=n.userId}async function q(){(await L.updateUserStatus(_)).success&&oe({type:"success",message:"变更用户状态成功!"}),g.value=!1}async function w(){v.value=!0;try{const n=await Z.queryViolation(i);v.value=!1;const{rows:a,count:U}=n.data;R.value=U,M.value=a}catch{v.value=!1}}async function $(n){const a=await L.queryAllUser({size:30,username:n});A.value=a.data.rows}function E(n){n==null||n.resetFields(),w()}return te(()=>{w()}),(n,a)=>{const U=X,k=o("el-option"),I=o("el-select"),y=o("el-form-item"),b=o("el-button"),D=o("el-form"),N=Q,r=o("el-table-column"),x=o("el-tag"),F=o("el-popover"),H=o("el-table"),G=o("el-pagination"),J=o("el-row"),K=o("el-dialog"),W=le("loading");return c(),h("div",null,[t(U,null,{title:l(()=>[pe]),_:1}),t(N,null,{default:l(()=>[t(D,{ref_key:"formRef",ref:O,inline:!0,model:i},{default:l(()=>[t(y,{label:"用户名称",prop:"userId"},{default:l(()=>[t(I,{modelValue:i.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>i.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":$,style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(A),e=>(c(),S(k,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,{label:"检测平台",prop:"typeOriginCn"},{default:l(()=>[t(I,{modelValue:i.typeOriginCn,"onUpdate:modelValue":a[1]||(a[1]=e=>i.typeOriginCn=e),placeholder:"请选择检测平台",clearable:"",style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(re),e=>(c(),S(k,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,null,{default:l(()=>[t(b,{type:"primary",onClick:w},{default:l(()=>[d(" 查询 ")]),_:1}),t(b,{onClick:a[2]||(a[2]=e=>E(s(O)))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(N,{style:{width:"100%"}},{default:l(()=>[ae((c(),S(H,{border:"",data:s(M),style:{width:"100%"},size:"large","tooltip-options":{}},{default:l(()=>[t(r,{fixed:"",prop:"userInfo.username",label:"用户名称",width:"150"}),t(r,{prop:"userInfo.avatar",label:"头像",width:"120"},{default:l(e=>{var u,p;return[C("img",{src:(p=(u=e.row)==null?void 0:u.userInfo)==null?void 0:p.avatar,style:{height:"50px"}},null,8,ce)]}),_:1}),t(r,{prop:"userInfo.email",label:"邮箱",width:"200"}),t(r,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:l(({row:e})=>[t(x,{type:s(ie)[e.userInfo.status]},{default:l(()=>[d(m(s(ue)[e.userInfo.status]),1)]),_:2},1032,["type"])]),_:1}),t(r,{prop:"userInfo.violationCount",label:"累计次数",width:"90",align:"center"}),t(r,{label:"违规类型"},{default:l(e=>[t(x,{type:"danger"},{default:l(()=>{var u,p;return[d(m((u=e.row)!=null&&u.typeCn?JSON.parse((p=e.row)==null?void 0:p.typeCn).join(" | "):""),1)]}),_:2},1024)]),_:1}),t(r,{label:"违规关键词"},{default:l(e=>{var u,p;return[d(m((u=e.row)!=null&&u.words?JSON.parse((p=e.row)==null?void 0:p.words).join(" | "):""),1)]}),_:1}),t(r,{prop:"typeOriginCn",label:"违规检测来源",width:"120"},{default:l(e=>[t(x,{type:"success"},{default:l(()=>[d(m(e.row.typeOriginCn),1)]),_:2},1024)]),_:1}),t(r,{prop:"answer",label:"违规内容",width:"200"},{default:l(e=>[t(F,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[C("div",_e,m(e.row.content),1)]),default:l(()=>[C("div",{class:"answer_container",innerHTML:s(z)(e.row.content||"")},null,8,fe)]),_:2},1024)]),_:1}),t(r,{prop:"createdAt",label:"违规时间",width:"200"},{default:l(e=>[d(m(s(se)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(r,{fixed:"right",label:"操作",width:"120",align:"center"},{default:l(e=>[t(b,{link:"",type:"primary",size:"small",onClick:u=>B(e.row)},{default:l(()=>[d(" 变更用户状态 ")]),_:2},1032,["onClick"])]),_:1})]),_:1},8,["data"])),[[W,s(v)]]),t(J,{class:"mt-5 flex justify-end"},{default:l(()=>[t(G,{"current-page":i.page,"onUpdate:currentPage":a[3]||(a[3]=e=>i.page=e),"page-size":i.size,"onUpdate:pageSize":a[4]||(a[4]=e=>i.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s(R),onSizeChange:w,onCurrentChange:w},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(K,{modelValue:s(g),"onUpdate:modelValue":a[6]||(a[6]=e=>ne(g)?g.value=e:null),title:"变更用户状态",width:"500px"},{default:l(()=>[t(D,{model:_,inline:!0},{default:l(()=>[t(y,{label:"用户状态","label-width":"90px"},{default:l(()=>[t(I,{modelValue:_.status,"onUpdate:modelValue":a[5]||(a[5]=e=>_.status=e),placeholder:"请选择用户状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(c(!0),h(T,null,V(s(de),e=>(c(),S(k,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(y,null,{default:l(()=>[t(b,{type:"primary",onClick:q},{default:l(()=>[d(" 确认变更 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])])}}});typeof Y=="function"&&Y(me);export{me as default}; diff --git a/AIWebQuickDeploy/public/admin/assets/visible-D8lJUNYg.js b/AIWebQuickDeploy/public/admin/assets/visible-D8lJUNYg.js new file mode 100644 index 0000000..6f40e63 --- /dev/null +++ b/AIWebQuickDeploy/public/admin/assets/visible-D8lJUNYg.js @@ -0,0 +1,8 @@ + +/** + * 由 Fantastic-admin 提供技术支持 + * Powered by Fantastic-admin + * https://fantastic-admin.github.io + */ + +import{_ as T}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as $,m as E,r as v,a as I,p as o,g as h,c as y,b as e,w as l,h as r,F as M,s as S,i as x,J as w,e as s,G as V,j as A,_ as G,k}from"./index-6QRvoxq4.js";import{a as K}from"./config-DBls5jtO.js";const J=s("div",{class:"flex items-center gap-4"},"插件应用基础配置",-1),L=s("div",{class:"text-sm/6"},[s("div",null," 插件基础配置,包括联网插件地址、联网插件 Key、隐藏插件、插件优先显示等。 "),s("div",null,[r(" 联网插件已支持多种方式: "),s("a",{href:"https://bigmodel.cn",target:"_blank"},"智谱 web-search-pro"),r("、 "),s("a",{href:"https://open.bochaai.com",target:"_blank"},"博查 web-search"),r("、 "),s("a",{href:"https://app.tavily.com/home",target:"_blank"},"Tavily"),r(" 需自行登录以上网站,获取对应的 Key(多个Key用英文逗号隔开)。 ")])],-1),W=s("div",{style:{width:"250px"}},[s("p",null,"开启后,将隐藏插件功能")],-1),z=s("div",{style:{width:"250px"}},[s("p",null,"开启后,对话页默认优先显示插件")],-1),D=$({__name:"visible",setup(Q){const a=E({pluginUrl:"",pluginKey:"",siteRobotName:"",pluginFirst:"1",isHidePlugin:"0"}),U=v({pluginUrl:[{required:!0,trigger:"blur",message:"请填写插件地址"}],pluginKey:[{required:!0,trigger:"blur",message:"请填写插件key"}]}),C=[{value:"https://open.bigmodel.cn/api/paas/v4/tools",label:"【智谱 web-search-pro】"},{value:"https://api.bochaai.com/v1/web-search",label:"【博查 web-search】"},{value:"https://api.tavily.com/search",label:"【Tavily 1000 次/月(免费)】"}],d=v();async function _(){const i=await K.queryConfig({keys:["pluginUrl","pluginKey","pluginFirst","isHidePlugin"]});Object.assign(a,i.data)}function F(){var i;(i=d.value)==null||i.validate(async t=>{if(t){try{await K.setConfig({settings:H(a)}),V.success("变更配置信息成功")}catch{}_()}else V.error("请填写完整信息")})}function H(i){return Object.keys(i).map(t=>({configKey:t,configVal:i[t]}))}return I(()=>{_()}),(i,t)=>{const m=A,P=G,q=T,B=o("el-option"),N=o("el-select"),u=o("el-form-item"),c=o("el-col"),p=o("el-row"),j=o("el-input"),f=o("el-switch"),g=o("el-icon"),b=o("el-tooltip"),O=o("el-form"),R=o("el-card");return h(),y("div",null,[e(q,null,{title:l(()=>[J]),content:l(()=>[L]),default:l(()=>[e(P,{outline:"",onClick:F},{default:l(()=>[e(m,{name:"i-ri:file-text-line"}),r(" 保存设置 ")]),_:1})]),_:1}),e(R,{style:{margin:"20px"}},{default:l(()=>[e(O,{ref_key:"formRef",ref:d,rules:U.value,model:a,"label-width":"150px"},{default:l(()=>[e(p,null,{default:l(()=>[e(c,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"联网插件地址",prop:"pluginUrl"},{default:l(()=>[e(N,{modelValue:a.pluginUrl,"onUpdate:modelValue":t[0]||(t[0]=n=>a.pluginUrl=n),placeholder:"请选择或输入联网搜索使用的地址",clearable:"",filterable:"","allow-create":""},{default:l(()=>[(h(),y(M,null,S(C,n=>e(B,{key:n.value,label:n.label,value:n.value},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(p,null,{default:l(()=>[e(c,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"联网插件 Key",prop:"pluginKey"},{default:l(()=>[e(j,{modelValue:a.pluginKey,"onUpdate:modelValue":t[1]||(t[1]=n=>a.pluginKey=n),placeholder:"插件 Key",clearable:"",password:"","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(p,null,{default:l(()=>[e(c,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"隐藏插件",prop:"isHidePlugin"},{default:l(()=>[e(f,{modelValue:a.isHidePlugin,"onUpdate:modelValue":t[2]||(t[2]=n=>a.isHidePlugin=n),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(b,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[W]),default:l(()=>[e(g,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(x(w))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(p,null,{default:l(()=>[e(c,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"插件优先显示",prop:"pluginFirst"},{default:l(()=>[e(f,{modelValue:a.pluginFirst,"onUpdate:modelValue":t[3]||(t[3]=n=>a.pluginFirst=n),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(b,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[z]),default:l(()=>[e(g,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(x(w))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof k=="function"&&k(D);export{D as default}; diff --git a/public/admin/assets/webidl-ZXfAyPTL.js b/AIWebQuickDeploy/public/admin/assets/webidl-ZXfAyPTL.js similarity index 100% rename from public/admin/assets/webidl-ZXfAyPTL.js rename to AIWebQuickDeploy/public/admin/assets/webidl-ZXfAyPTL.js diff --git a/public/admin/assets/wechat-B6iz3vsw.js b/AIWebQuickDeploy/public/admin/assets/wechat-B077V9uG.js similarity index 97% rename from public/admin/assets/wechat-B6iz3vsw.js rename to AIWebQuickDeploy/public/admin/assets/wechat-B077V9uG.js index 56df859..fd27cbc 100644 --- a/public/admin/assets/wechat-B6iz3vsw.js +++ b/AIWebQuickDeploy/public/admin/assets/wechat-B077V9uG.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as K,m as P,r as f,a as w,p as d,g as A,c as k,b as e,w as a,h as q,e as i,G as _,j as N,_ as M,k as h}from"./index-nGFMSQGw.js";import{a as g}from"./config-CYXO1pNF.js";const B=i("div",{class:"flex items-center gap-4"},"微信支付设置",-1),j=i("div",{class:"text-sm/6"},[i("div",null," 同时开启多个支付,将以微信支付作为最高优先级,在pc端会调用 native 支付,在微信环境内将调用 Jsapi 支付。 "),i("div",null," 请确认微信支付已经申请了支付权限,支付通知地址为: https://您的域名/api/pay/notify。 ")],-1),$=K({__name:"wechat",setup(D){const l=P({payWechatStatus:"",payWeChatMchId:"",payWeChatAppId:"",payWeChatSecret:"",payWeChatNotifyUrl:"",payWeChatPublicKey:"",payWeChatPrivateKey:""}),C=f({payWechatStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payWeChatSecret:[{required:!0,trigger:"blur",message:"请填写支付Secret秘钥"}],payWeChatMchId:[{required:!0,trigger:"blur",message:"请填写商户号"}],payWeChatAppId:[{required:!0,trigger:"blur",message:"请填写AppId"}],payWeChatNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payWeChatPublicKey:[{required:!0,trigger:"blur",message:"请填写支付公钥信息(cert.pem文件)"}],payWeChatPrivateKey:[{required:!0,trigger:"blur",message:"请填写支付私钥地址(key.pem文件)"}]}),c=f();async function m(){const r=await g.queryConfig({keys:["payWeChatSecret","payWeChatNotifyUrl","payWeChatAppId","payWechatStatus","payWeChatMchId","payWeChatPublicKey","payWeChatPrivateKey"]});Object.assign(l,r.data)}function W(){var r;(r=c.value)==null||r.validate(async t=>{if(t){try{await g.setConfig({settings:b(l)}),_.success("变更配置信息成功")}catch{}m()}else _.error("请填写完整信息")})}function b(r){return Object.keys(r).map(t=>({configKey:t,configVal:r[t]}))}return w(()=>{m()}),(r,t)=>{const y=N,x=M,V=U,v=d("el-switch"),p=d("el-form-item"),u=d("el-col"),n=d("el-row"),s=d("el-input"),I=d("el-form"),S=d("el-card");return A(),k("div",null,[e(V,null,{title:a(()=>[B]),content:a(()=>[j]),default:a(()=>[e(x,{outline:"",onClick:W},{default:a(()=>[e(y,{name:"i-ri:file-text-line"}),q(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{default:a(()=>[e(I,{ref_key:"formRef",ref:c,rules:C.value,model:l,"label-width":"140px"},{default:a(()=>[e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"启用当前支付",prop:"payWechatStatus"},{default:a(()=>[e(v,{modelValue:l.payWechatStatus,"onUpdate:modelValue":t[0]||(t[0]=o=>l.payWechatStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"商户ID",prop:"payWeChatMchId"},{default:a(()=>[e(s,{modelValue:l.payWeChatMchId,"onUpdate:modelValue":t[1]||(t[1]=o=>l.payWeChatMchId=o),placeholder:"请填写商户ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"AppId",prop:"payWeChatAppId"},{default:a(()=>[e(s,{modelValue:l.payWeChatAppId,"onUpdate:modelValue":t[2]||(t[2]=o=>l.payWeChatAppId=o),placeholder:"请填写AppId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"商户秘钥",prop:"payWeChatSecret"},{default:a(()=>[e(s,{modelValue:l.payWeChatSecret,"onUpdate:modelValue":t[3]||(t[3]=o=>l.payWeChatSecret=o),placeholder:"请填写Secret秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"支付通知地址",prop:"payWeChatNotifyUrl"},{default:a(()=>[e(s,{modelValue:l.payWeChatNotifyUrl,"onUpdate:modelValue":t[4]||(t[4]=o=>l.payWeChatNotifyUrl=o),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"公钥地址",prop:"payWeChatPublicKey"},{default:a(()=>[e(s,{modelValue:l.payWeChatPublicKey,"onUpdate:modelValue":t[5]||(t[5]=o=>l.payWeChatPublicKey=o),type:"textarea",rows:6,placeholder:"请填写支付公钥信息(cert.pem文件)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"私钥地址",prop:"payWeChatPrivateKey"},{default:a(()=>[e(s,{modelValue:l.payWeChatPrivateKey,"onUpdate:modelValue":t[6]||(t[6]=o=>l.payWeChatPrivateKey=o),type:"textarea",rows:6,placeholder:"请填写支付私钥地址(key.pem文件)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof h=="function"&&h($);export{$ as default}; +import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as K,m as P,r as f,a as w,p as d,g as A,c as k,b as e,w as a,h as q,e as i,G as _,j as N,_ as M,k as h}from"./index-6QRvoxq4.js";import{a as g}from"./config-DBls5jtO.js";const B=i("div",{class:"flex items-center gap-4"},"微信支付设置",-1),j=i("div",{class:"text-sm/6"},[i("div",null," 同时开启多个支付,将以微信支付作为最高优先级,在pc端会调用 native 支付,在微信环境内将调用 Jsapi 支付。 "),i("div",null," 请确认微信支付已经申请了支付权限,支付通知地址为: https://您的域名/api/pay/notify。 ")],-1),$=K({__name:"wechat",setup(D){const l=P({payWechatStatus:"",payWeChatMchId:"",payWeChatAppId:"",payWeChatSecret:"",payWeChatNotifyUrl:"",payWeChatPublicKey:"",payWeChatPrivateKey:""}),C=f({payWechatStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payWeChatSecret:[{required:!0,trigger:"blur",message:"请填写支付Secret秘钥"}],payWeChatMchId:[{required:!0,trigger:"blur",message:"请填写商户号"}],payWeChatAppId:[{required:!0,trigger:"blur",message:"请填写AppId"}],payWeChatNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payWeChatPublicKey:[{required:!0,trigger:"blur",message:"请填写支付公钥信息(cert.pem文件)"}],payWeChatPrivateKey:[{required:!0,trigger:"blur",message:"请填写支付私钥地址(key.pem文件)"}]}),c=f();async function m(){const r=await g.queryConfig({keys:["payWeChatSecret","payWeChatNotifyUrl","payWeChatAppId","payWechatStatus","payWeChatMchId","payWeChatPublicKey","payWeChatPrivateKey"]});Object.assign(l,r.data)}function W(){var r;(r=c.value)==null||r.validate(async t=>{if(t){try{await g.setConfig({settings:b(l)}),_.success("变更配置信息成功")}catch{}m()}else _.error("请填写完整信息")})}function b(r){return Object.keys(r).map(t=>({configKey:t,configVal:r[t]}))}return w(()=>{m()}),(r,t)=>{const y=N,x=M,V=U,v=d("el-switch"),p=d("el-form-item"),u=d("el-col"),n=d("el-row"),s=d("el-input"),I=d("el-form"),S=d("el-card");return A(),k("div",null,[e(V,null,{title:a(()=>[B]),content:a(()=>[j]),default:a(()=>[e(x,{outline:"",onClick:W},{default:a(()=>[e(y,{name:"i-ri:file-text-line"}),q(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{default:a(()=>[e(I,{ref_key:"formRef",ref:c,rules:C.value,model:l,"label-width":"140px"},{default:a(()=>[e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"启用当前支付",prop:"payWechatStatus"},{default:a(()=>[e(v,{modelValue:l.payWechatStatus,"onUpdate:modelValue":t[0]||(t[0]=o=>l.payWechatStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"商户ID",prop:"payWeChatMchId"},{default:a(()=>[e(s,{modelValue:l.payWeChatMchId,"onUpdate:modelValue":t[1]||(t[1]=o=>l.payWeChatMchId=o),placeholder:"请填写商户ID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"AppId",prop:"payWeChatAppId"},{default:a(()=>[e(s,{modelValue:l.payWeChatAppId,"onUpdate:modelValue":t[2]||(t[2]=o=>l.payWeChatAppId=o),placeholder:"请填写AppId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"商户秘钥",prop:"payWeChatSecret"},{default:a(()=>[e(s,{modelValue:l.payWeChatSecret,"onUpdate:modelValue":t[3]||(t[3]=o=>l.payWeChatSecret=o),placeholder:"请填写Secret秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"支付通知地址",prop:"payWeChatNotifyUrl"},{default:a(()=>[e(s,{modelValue:l.payWeChatNotifyUrl,"onUpdate:modelValue":t[4]||(t[4]=o=>l.payWeChatNotifyUrl=o),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"公钥地址",prop:"payWeChatPublicKey"},{default:a(()=>[e(s,{modelValue:l.payWeChatPublicKey,"onUpdate:modelValue":t[5]||(t[5]=o=>l.payWeChatPublicKey=o),type:"textarea",rows:6,placeholder:"请填写支付公钥信息(cert.pem文件)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(n,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(p,{label:"私钥地址",prop:"payWeChatPrivateKey"},{default:a(()=>[e(s,{modelValue:l.payWeChatPrivateKey,"onUpdate:modelValue":t[6]||(t[6]=o=>l.payWeChatPrivateKey=o),type:"textarea",rows:6,placeholder:"请填写支付私钥地址(key.pem文件)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof h=="function"&&h($);export{$ as default}; diff --git a/public/admin/assets/wechat-CC1D2I9W.js b/AIWebQuickDeploy/public/admin/assets/wechat-iHfqycBm.js similarity index 98% rename from public/admin/assets/wechat-CC1D2I9W.js rename to AIWebQuickDeploy/public/admin/assets/wechat-iHfqycBm.js index 5e21d18..42dd013 100644 --- a/public/admin/assets/wechat-CC1D2I9W.js +++ b/AIWebQuickDeploy/public/admin/assets/wechat-iHfqycBm.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as U,m as L,r as g,a as B,p as u,g as N,c as q,b as e,w as l,h as s,e as c,G as h,j as C,_ as j,k as b}from"./index-nGFMSQGw.js";import{a as S}from"./config-CYXO1pNF.js";const $=c("div",{class:"flex items-center gap-4"},"微信登录设置[仔细阅读]",-1),E=c("div",{class:"text-sm/6"},[c("div",null," 系统微信登录通过关联公众号实现[请务必注册为服务号、个人公众号没有二维码等此类权限]。 "),c("div",null,[s(" 请前往 "),c("a",{href:"https://mp.weixin.qq.com/",target:"_blank"},"微信公众平台"),s(" ,获取开发者配置信息。 ")]),c("div",null," 如果用户对公众号发送消息,将会从下面设置的自定义回复默认信息。 "),c("div",null,[s(" 同时别忘记在微信公众号平台将自己的 ip/域名 加入白名单,配置位置为公众号后台->基本配置:服务复制参考 "),c("a",{href:"https://域名/api/official/notify",target:"_blank"},"https://域名/api/official/notify"),s(" 将域名修改为您的域名。 ")]),c("div",null,"下方Token对应自己后台设置的Token,加密秘钥随机即可。"),c("div",null,"当设置不指定首页并且配置了微信登录即可默认打开静默登录!")],-1),H=U({__name:"wechat",setup(M){const t=L({wechatRegisterStatus:"",wechatSilentLoginStatus:"",wechatOfficialName:"",wechatOfficialAppId:"",wechatOfficialToken:"",wechatOfficialAppSecret:"",officialSubscribeText:"",officialBindAccountText:"",officialScanLoginText:"",officialAutoReplyText:""}),V=g({wechatOfficialName:[{required:!1,trigger:"blur",message:"请填写微信公众号名称"}],wechatOfficialAppId:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 AppId"}],wechatOfficialToken:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 Token"}],wechatOfficialAppSecret:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 AppSecret"}]}),p=g();async function m(){const d=await S.queryConfig({keys:["wechatOfficialName","wechatOfficialAppId","wechatOfficialToken","wechatOfficialAppSecret","officialSubscribeText","officialBindAccountText","officialScanLoginText","officialAutoReplyText","wechatRegisterStatus","wechatSilentLoginStatus"]});Object.assign(t,d.data)}function T(){var d;(d=p.value)==null||d.validate(async a=>{if(a){try{await S.setConfig({settings:A(t)}),h.success("变更配置信息成功")}catch{}m()}else h.error("请填写完整信息")})}function A(d){return Object.keys(d).map(a=>({configKey:a,configVal:d[a]}))}return B(()=>{m()}),(d,a)=>{const _=C,O=j,v=I,w=u("el-switch"),x=u("el-tooltip"),i=u("el-form-item"),n=u("el-col"),f=u("el-row"),r=u("el-input"),y=u("el-divider"),k=u("el-form"),R=u("el-card");return N(),q("div",null,[e(v,null,{title:l(()=>[$]),content:l(()=>[E]),default:l(()=>[e(O,{outline:"",text:"",onClick:T},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),s(" 保存设置 ")]),_:1})]),_:1}),e(R,{style:{margin:"20px"}},{default:l(()=>[e(k,{ref_key:"formRef",ref:p,rules:V.value,model:t,"label-width":"170px"},{default:l(()=>[e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"是否开启微信登录注册",prop:"wechatRegisterStatus"},{default:l(()=>[e(x,{class:"box-item",effect:"dark",content:"如您启用微信注册、则用户端则可以通过微信扫码方式注册或登录!",placement:"right"},{default:l(()=>[e(w,{modelValue:t.wechatRegisterStatus,"onUpdate:modelValue":a[0]||(a[0]=o=>t.wechatRegisterStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"是否开启微信静默",prop:"wechatSilentLoginStatus"},{default:l(()=>[e(x,{class:"box-item",effect:"dark",content:"如您启用静默登录、则用户在微信环境打开则直接自动登录!",placement:"right"},{default:l(()=>[e(w,{modelValue:t.wechatSilentLoginStatus,"onUpdate:modelValue":a[1]||(a[1]=o=>t.wechatSilentLoginStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"公众号名称",prop:"wechatOfficialName"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialName,"onUpdate:modelValue":a[2]||(a[2]=o=>t.wechatOfficialName=o),placeholder:"公众号名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"AppId",prop:"wechatOfficialAppId"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialAppId,"onUpdate:modelValue":a[3]||(a[3]=o=>t.wechatOfficialAppId=o),placeholder:"公众号开发信息 AppId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"Token",prop:"wechatOfficialToken"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialToken,"onUpdate:modelValue":a[4]||(a[4]=o=>t.wechatOfficialToken=o),placeholder:"公众号Token配置",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"AppSecret",prop:"wechatOfficialAppSecret"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialAppSecret,"onUpdate:modelValue":a[5]||(a[5]=o=>t.wechatOfficialAppSecret=o),placeholder:"公众号开发信息 AppSecret",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"订阅公众号欢迎消息",prop:"officialSubscribeText"},{default:l(()=>[e(r,{modelValue:t.officialSubscribeText,"onUpdate:modelValue":a[6]||(a[6]=o=>t.officialSubscribeText=o),type:"textarea",rows:3,placeholder:"订阅你的公众号后对他的欢迎语!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"绑定账号回复消息",prop:"officialBindAccountText"},{default:l(()=>[e(r,{modelValue:t.officialBindAccountText,"onUpdate:modelValue":a[7]||(a[7]=o=>t.officialBindAccountText=o),type:"textarea",rows:3,placeholder:"非微信登录用户首次绑定微信的欢迎语",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"扫码登录回复消息",prop:"officialScanLoginText"},{default:l(()=>[e(r,{modelValue:t.officialScanLoginText,"onUpdate:modelValue":a[8]||(a[8]=o=>t.officialScanLoginText=o),type:"textarea",rows:3,placeholder:"用户扫码登录成功时自动回复的内容",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"自定义回复的默认信息",prop:"officialAutoReplyText"},{default:l(()=>[e(r,{modelValue:t.officialAutoReplyText,"onUpdate:modelValue":a[9]||(a[9]=o=>t.officialAutoReplyText=o),type:"textarea",rows:3,placeholder:"当用户对公众号发了消息不在自动回复列表时回复的兜底内容",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(H);export{H as default}; +import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as U,m as L,r as g,a as B,p as u,g as N,c as q,b as e,w as l,h as s,e as c,G as h,j as C,_ as j,k as b}from"./index-6QRvoxq4.js";import{a as S}from"./config-DBls5jtO.js";const $=c("div",{class:"flex items-center gap-4"},"微信登录设置[仔细阅读]",-1),E=c("div",{class:"text-sm/6"},[c("div",null," 系统微信登录通过关联公众号实现[请务必注册为服务号、个人公众号没有二维码等此类权限]。 "),c("div",null,[s(" 请前往 "),c("a",{href:"https://mp.weixin.qq.com/",target:"_blank"},"微信公众平台"),s(" ,获取开发者配置信息。 ")]),c("div",null," 如果用户对公众号发送消息,将会从下面设置的自定义回复默认信息。 "),c("div",null,[s(" 同时别忘记在微信公众号平台将自己的 ip/域名 加入白名单,配置位置为公众号后台->基本配置:服务复制参考 "),c("a",{href:"https://域名/api/official/notify",target:"_blank"},"https://域名/api/official/notify"),s(" 将域名修改为您的域名。 ")]),c("div",null,"下方Token对应自己后台设置的Token,加密秘钥随机即可。"),c("div",null,"当设置不指定首页并且配置了微信登录即可默认打开静默登录!")],-1),H=U({__name:"wechat",setup(M){const t=L({wechatRegisterStatus:"",wechatSilentLoginStatus:"",wechatOfficialName:"",wechatOfficialAppId:"",wechatOfficialToken:"",wechatOfficialAppSecret:"",officialSubscribeText:"",officialBindAccountText:"",officialScanLoginText:"",officialAutoReplyText:""}),V=g({wechatOfficialName:[{required:!1,trigger:"blur",message:"请填写微信公众号名称"}],wechatOfficialAppId:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 AppId"}],wechatOfficialToken:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 Token"}],wechatOfficialAppSecret:[{required:!1,trigger:"blur",message:"请填写微信公众号开发配置 AppSecret"}]}),p=g();async function m(){const d=await S.queryConfig({keys:["wechatOfficialName","wechatOfficialAppId","wechatOfficialToken","wechatOfficialAppSecret","officialSubscribeText","officialBindAccountText","officialScanLoginText","officialAutoReplyText","wechatRegisterStatus","wechatSilentLoginStatus"]});Object.assign(t,d.data)}function T(){var d;(d=p.value)==null||d.validate(async a=>{if(a){try{await S.setConfig({settings:A(t)}),h.success("变更配置信息成功")}catch{}m()}else h.error("请填写完整信息")})}function A(d){return Object.keys(d).map(a=>({configKey:a,configVal:d[a]}))}return B(()=>{m()}),(d,a)=>{const _=C,O=j,v=I,w=u("el-switch"),x=u("el-tooltip"),i=u("el-form-item"),n=u("el-col"),f=u("el-row"),r=u("el-input"),y=u("el-divider"),k=u("el-form"),R=u("el-card");return N(),q("div",null,[e(v,null,{title:l(()=>[$]),content:l(()=>[E]),default:l(()=>[e(O,{outline:"",text:"",onClick:T},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),s(" 保存设置 ")]),_:1})]),_:1}),e(R,{style:{margin:"20px"}},{default:l(()=>[e(k,{ref_key:"formRef",ref:p,rules:V.value,model:t,"label-width":"170px"},{default:l(()=>[e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"是否开启微信登录注册",prop:"wechatRegisterStatus"},{default:l(()=>[e(x,{class:"box-item",effect:"dark",content:"如您启用微信注册、则用户端则可以通过微信扫码方式注册或登录!",placement:"right"},{default:l(()=>[e(w,{modelValue:t.wechatRegisterStatus,"onUpdate:modelValue":a[0]||(a[0]=o=>t.wechatRegisterStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"是否开启微信静默",prop:"wechatSilentLoginStatus"},{default:l(()=>[e(x,{class:"box-item",effect:"dark",content:"如您启用静默登录、则用户在微信环境打开则直接自动登录!",placement:"right"},{default:l(()=>[e(w,{modelValue:t.wechatSilentLoginStatus,"onUpdate:modelValue":a[1]||(a[1]=o=>t.wechatSilentLoginStatus=o),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"公众号名称",prop:"wechatOfficialName"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialName,"onUpdate:modelValue":a[2]||(a[2]=o=>t.wechatOfficialName=o),placeholder:"公众号名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"AppId",prop:"wechatOfficialAppId"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialAppId,"onUpdate:modelValue":a[3]||(a[3]=o=>t.wechatOfficialAppId=o),placeholder:"公众号开发信息 AppId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"Token",prop:"wechatOfficialToken"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialToken,"onUpdate:modelValue":a[4]||(a[4]=o=>t.wechatOfficialToken=o),placeholder:"公众号Token配置",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"AppSecret",prop:"wechatOfficialAppSecret"},{default:l(()=>[e(r,{modelValue:t.wechatOfficialAppSecret,"onUpdate:modelValue":a[5]||(a[5]=o=>t.wechatOfficialAppSecret=o),placeholder:"公众号开发信息 AppSecret",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"订阅公众号欢迎消息",prop:"officialSubscribeText"},{default:l(()=>[e(r,{modelValue:t.officialSubscribeText,"onUpdate:modelValue":a[6]||(a[6]=o=>t.officialSubscribeText=o),type:"textarea",rows:3,placeholder:"订阅你的公众号后对他的欢迎语!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"绑定账号回复消息",prop:"officialBindAccountText"},{default:l(()=>[e(r,{modelValue:t.officialBindAccountText,"onUpdate:modelValue":a[7]||(a[7]=o=>t.officialBindAccountText=o),type:"textarea",rows:3,placeholder:"非微信登录用户首次绑定微信的欢迎语",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"扫码登录回复消息",prop:"officialScanLoginText"},{default:l(()=>[e(r,{modelValue:t.officialScanLoginText,"onUpdate:modelValue":a[8]||(a[8]=o=>t.officialScanLoginText=o),type:"textarea",rows:3,placeholder:"用户扫码登录成功时自动回复的内容",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(f,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(i,{label:"自定义回复的默认信息",prop:"officialAutoReplyText"},{default:l(()=>[e(r,{modelValue:t.officialAutoReplyText,"onUpdate:modelValue":a[9]||(a[9]=o=>t.officialAutoReplyText=o),type:"textarea",rows:3,placeholder:"当用户对公众号发了消息不在自动回复列表时回复的兜底内容",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(H);export{H as default}; diff --git a/public/admin/assets/welcomePageSettings-CtUX5kGT.js b/AIWebQuickDeploy/public/admin/assets/welcomePageSettings-BNqbw3Pg.js similarity index 93% rename from public/admin/assets/welcomePageSettings-CtUX5kGT.js rename to AIWebQuickDeploy/public/admin/assets/welcomePageSettings-BNqbw3Pg.js index 8ab2eb8..3072cd6 100644 --- a/public/admin/assets/welcomePageSettings-CtUX5kGT.js +++ b/AIWebQuickDeploy/public/admin/assets/welcomePageSettings-BNqbw3Pg.js @@ -5,4 +5,4 @@ * https://fantastic-admin.github.io */ -import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as S,m as M,r as f,a as T,p as n,g as p,c as j,b as e,w as t,h as v,z as q,A as U,e as s,G as g,j as $,_ as A,k as h}from"./index-nGFMSQGw.js";import{a as x}from"./config-CYXO1pNF.js";const E=s("div",{class:"flex items-center gap-4"},"欢迎页设置",-1),I=s("div",{class:"text-sm/6"},[s("div",null," 欢迎页设置支持配置访问首页时的默认显示内容。可以启用欢迎页,或直接跳转到聊天页面。 "),s("div",null,"若启用欢迎页,可以在此处自定义欢迎页面内容。"),s("div",{class:"mt-2 text-gray-500"},[s("strong",null,"推荐:"),v(" 您可以在其他专业的 HTML 编辑器(如 VS Code、Sublime Text)中编辑欢迎页面内容并复制粘贴到此处,以获得更好的编辑体验。 ")])],-1),L=["srcdoc"],O=S({__name:"welcomePageSettings",setup(R){const o=M({clientHomePath:"",homeHtml:""}),y=f({siteName:[{required:!0,trigger:"blur",message:"请填写网站名称"}]}),i=f();async function d(){const a=await x.queryConfig({keys:["clientHomePath","homeHtml"]});Object.assign(o,a.data)}function H(){var a;(a=i.value)==null||a.validate(async l=>{if(l){try{await x.setConfig({settings:b(o)}),g.success("变更欢迎页设置成功")}catch{}d()}else g.error("请填写完整信息")})}function b(a){return Object.keys(a).map(l=>({configKey:l,configVal:a[l]}))}return T(()=>{d()}),(a,l)=>{const u=$,w=A,V=N,C=n("el-switch"),c=n("el-form-item"),r=n("el-col"),_=n("el-row"),k=n("el-input"),P=n("el-form"),B=n("el-card");return p(),j("div",null,[e(V,null,{title:t(()=>[E]),content:t(()=>[I]),default:t(()=>[e(w,{outline:"",onClick:H},{default:t(()=>[e(u,{name:"i-ri:file-text-line"}),v(" 保存设置 ")]),_:1})]),_:1}),e(B,{style:{margin:"20px"}},{default:t(()=>[e(P,{ref_key:"formRef",ref:i,rules:y.value,model:o,"label-width":"150px"},{default:t(()=>[e(_,null,{default:t(()=>[e(r,{xs:24,md:24,lg:24,xl:24},{default:t(()=>[e(c,{label:"开启欢迎页",prop:"clientHomePath"},{default:t(()=>[e(C,{modelValue:o.clientHomePath,"onUpdate:modelValue":l[0]||(l[0]=m=>o.clientHomePath=m),"active-value":"/home","inactive-value":"/chat"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),o.clientHomePath==="/home"?(p(),q(_,{key:0},{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(c,{label:"欢迎页(HTML)",prop:"homeHtml"},{default:t(()=>[e(k,{modelValue:o.homeHtml,"onUpdate:modelValue":l[1]||(l[1]=m=>o.homeHtml=m),placeholder:"请输入自定义欢迎页内容",type:"textarea",rows:10,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):U("",!0),e(r,{xs:28,md:24,lg:20,xl:12,style:{"margin-top":"20px"}},{default:t(()=>[e(c,{label:"预览"},{default:t(()=>[s("iframe",{class:"w-full h-100 border border-gray-200 rounded-md bg-gray-100",srcdoc:o.homeHtml,sandbox:"allow-same-origin allow-scripts"},null,8,L)]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof h=="function"&&h(O);export{O as default}; +import{_ as N}from"./index.vue_vue_type_script_setup_true_lang-BhIKqf2a.js";import{d as S,m as M,r as f,a as T,p as n,g as p,c as j,b as e,w as t,h as v,z as q,A as U,e as s,G as g,j as $,_ as A,k as h}from"./index-6QRvoxq4.js";import{a as x}from"./config-DBls5jtO.js";const E=s("div",{class:"flex items-center gap-4"},"欢迎页设置",-1),I=s("div",{class:"text-sm/6"},[s("div",null," 欢迎页设置支持配置访问首页时的默认显示内容。可以启用欢迎页,或直接跳转到聊天页面。 "),s("div",null,"若启用欢迎页,可以在此处自定义欢迎页面内容。"),s("div",{class:"mt-2 text-gray-500"},[s("strong",null,"推荐:"),v(" 您可以在其他专业的 HTML 编辑器(如 VS Code、Sublime Text)中编辑欢迎页面内容并复制粘贴到此处,以获得更好的编辑体验。 ")])],-1),L=["srcdoc"],O=S({__name:"welcomePageSettings",setup(R){const o=M({clientHomePath:"",homeHtml:""}),y=f({siteName:[{required:!0,trigger:"blur",message:"请填写网站名称"}]}),i=f();async function d(){const a=await x.queryConfig({keys:["clientHomePath","homeHtml"]});Object.assign(o,a.data)}function H(){var a;(a=i.value)==null||a.validate(async l=>{if(l){try{await x.setConfig({settings:b(o)}),g.success("变更欢迎页设置成功")}catch{}d()}else g.error("请填写完整信息")})}function b(a){return Object.keys(a).map(l=>({configKey:l,configVal:a[l]}))}return T(()=>{d()}),(a,l)=>{const u=$,w=A,V=N,C=n("el-switch"),c=n("el-form-item"),r=n("el-col"),_=n("el-row"),k=n("el-input"),P=n("el-form"),B=n("el-card");return p(),j("div",null,[e(V,null,{title:t(()=>[E]),content:t(()=>[I]),default:t(()=>[e(w,{outline:"",onClick:H},{default:t(()=>[e(u,{name:"i-ri:file-text-line"}),v(" 保存设置 ")]),_:1})]),_:1}),e(B,{style:{margin:"20px"}},{default:t(()=>[e(P,{ref_key:"formRef",ref:i,rules:y.value,model:o,"label-width":"150px"},{default:t(()=>[e(_,null,{default:t(()=>[e(r,{xs:24,md:24,lg:24,xl:24},{default:t(()=>[e(c,{label:"开启欢迎页",prop:"clientHomePath"},{default:t(()=>[e(C,{modelValue:o.clientHomePath,"onUpdate:modelValue":l[0]||(l[0]=m=>o.clientHomePath=m),"active-value":"/home","inactive-value":"/chat"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),o.clientHomePath==="/home"?(p(),q(_,{key:0},{default:t(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(c,{label:"欢迎页(HTML)",prop:"homeHtml"},{default:t(()=>[e(k,{modelValue:o.homeHtml,"onUpdate:modelValue":l[1]||(l[1]=m=>o.homeHtml=m),placeholder:"请输入自定义欢迎页内容",type:"textarea",rows:10,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})):U("",!0),e(r,{xs:28,md:24,lg:20,xl:12,style:{"margin-top":"20px"}},{default:t(()=>[e(c,{label:"预览"},{default:t(()=>[s("iframe",{class:"w-full h-100 border border-gray-200 rounded-md bg-gray-100",srcdoc:o.homeHtml,sandbox:"allow-same-origin allow-scripts"},null,8,L)]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof h=="function"&&h(O);export{O as default}; diff --git a/public/admin/assets/xquery-WRlm2TX8.js b/AIWebQuickDeploy/public/admin/assets/xquery-WRlm2TX8.js similarity index 100% rename from public/admin/assets/xquery-WRlm2TX8.js rename to AIWebQuickDeploy/public/admin/assets/xquery-WRlm2TX8.js diff --git a/public/admin/assets/yacas-BJ4BC0dw.js b/AIWebQuickDeploy/public/admin/assets/yacas-BJ4BC0dw.js similarity index 100% rename from public/admin/assets/yacas-BJ4BC0dw.js rename to AIWebQuickDeploy/public/admin/assets/yacas-BJ4BC0dw.js diff --git a/public/admin/assets/z80-Hz9HOZM7.js b/AIWebQuickDeploy/public/admin/assets/z80-Hz9HOZM7.js similarity index 100% rename from public/admin/assets/z80-Hz9HOZM7.js rename to AIWebQuickDeploy/public/admin/assets/z80-Hz9HOZM7.js diff --git a/public/admin/browser_upgrade/chrome.png b/AIWebQuickDeploy/public/admin/browser_upgrade/chrome.png similarity index 100% rename from public/admin/browser_upgrade/chrome.png rename to AIWebQuickDeploy/public/admin/browser_upgrade/chrome.png diff --git a/public/admin/browser_upgrade/edge.png b/AIWebQuickDeploy/public/admin/browser_upgrade/edge.png similarity index 100% rename from public/admin/browser_upgrade/edge.png rename to AIWebQuickDeploy/public/admin/browser_upgrade/edge.png diff --git a/public/admin/browser_upgrade/index.css b/AIWebQuickDeploy/public/admin/browser_upgrade/index.css similarity index 100% rename from public/admin/browser_upgrade/index.css rename to AIWebQuickDeploy/public/admin/browser_upgrade/index.css diff --git a/public/admin/favicon.ico b/AIWebQuickDeploy/public/admin/favicon.ico similarity index 100% rename from public/admin/favicon.ico rename to AIWebQuickDeploy/public/admin/favicon.ico diff --git a/public/admin/index.html b/AIWebQuickDeploy/public/admin/index.html similarity index 96% rename from public/admin/index.html rename to AIWebQuickDeploy/public/admin/index.html index e0600ea..f35d184 100644 --- a/public/admin/index.html +++ b/AIWebQuickDeploy/public/admin/index.html @@ -14,7 +14,7 @@ AIWeb - + diff --git a/public/admin/loading.css b/AIWebQuickDeploy/public/admin/loading.css similarity index 100% rename from public/admin/loading.css rename to AIWebQuickDeploy/public/admin/loading.css diff --git a/public/chat/assets/360logo-c09b4832.png b/AIWebQuickDeploy/public/chat/assets/360logo-c09b4832.png similarity index 100% rename from public/chat/assets/360logo-c09b4832.png rename to AIWebQuickDeploy/public/chat/assets/360logo-c09b4832.png diff --git a/public/chat/assets/404-0d6db85f.svg b/AIWebQuickDeploy/public/chat/assets/404-0d6db85f.svg similarity index 100% rename from public/chat/assets/404-0d6db85f.svg rename to AIWebQuickDeploy/public/chat/assets/404-0d6db85f.svg diff --git a/public/chat/assets/KaTeX_AMS-Regular-0cdd387c.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_AMS-Regular-0cdd387c.woff2 similarity index 100% rename from public/chat/assets/KaTeX_AMS-Regular-0cdd387c.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_AMS-Regular-0cdd387c.woff2 diff --git a/public/chat/assets/KaTeX_AMS-Regular-30da91e8.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_AMS-Regular-30da91e8.woff similarity index 100% rename from public/chat/assets/KaTeX_AMS-Regular-30da91e8.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_AMS-Regular-30da91e8.woff diff --git a/public/chat/assets/KaTeX_AMS-Regular-68534840.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_AMS-Regular-68534840.ttf similarity index 100% rename from public/chat/assets/KaTeX_AMS-Regular-68534840.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_AMS-Regular-68534840.ttf diff --git a/public/chat/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf similarity index 100% rename from public/chat/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Bold-07d8e303.ttf diff --git a/public/chat/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff similarity index 100% rename from public/chat/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Bold-1ae6bd74.woff diff --git a/public/chat/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Bold-de7701e4.woff2 diff --git a/public/chat/assets/KaTeX_Caligraphic-Regular-3398dd02.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Regular-3398dd02.woff similarity index 100% rename from public/chat/assets/KaTeX_Caligraphic-Regular-3398dd02.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Regular-3398dd02.woff diff --git a/public/chat/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Regular-5d53e70a.woff2 diff --git a/public/chat/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf similarity index 100% rename from public/chat/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Caligraphic-Regular-ed0b7437.ttf diff --git a/public/chat/assets/KaTeX_Fraktur-Bold-74444efd.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Bold-74444efd.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Fraktur-Bold-74444efd.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Bold-74444efd.woff2 diff --git a/public/chat/assets/KaTeX_Fraktur-Bold-9163df9c.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Bold-9163df9c.ttf similarity index 100% rename from public/chat/assets/KaTeX_Fraktur-Bold-9163df9c.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Bold-9163df9c.ttf diff --git a/public/chat/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff similarity index 100% rename from public/chat/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Bold-9be7ceb8.woff diff --git a/public/chat/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf similarity index 100% rename from public/chat/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Regular-1e6f9579.ttf diff --git a/public/chat/assets/KaTeX_Fraktur-Regular-51814d27.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Regular-51814d27.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Fraktur-Regular-51814d27.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Regular-51814d27.woff2 diff --git a/public/chat/assets/KaTeX_Fraktur-Regular-5e28753b.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Regular-5e28753b.woff similarity index 100% rename from public/chat/assets/KaTeX_Fraktur-Regular-5e28753b.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Fraktur-Regular-5e28753b.woff diff --git a/public/chat/assets/KaTeX_Main-Bold-0f60d1b8.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Bold-0f60d1b8.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Main-Bold-0f60d1b8.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Bold-0f60d1b8.woff2 diff --git a/public/chat/assets/KaTeX_Main-Bold-138ac28d.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Bold-138ac28d.ttf similarity index 100% rename from public/chat/assets/KaTeX_Main-Bold-138ac28d.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Bold-138ac28d.ttf diff --git a/public/chat/assets/KaTeX_Main-Bold-c76c5d69.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Bold-c76c5d69.woff similarity index 100% rename from public/chat/assets/KaTeX_Main-Bold-c76c5d69.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Bold-c76c5d69.woff diff --git a/public/chat/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf similarity index 100% rename from public/chat/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-BoldItalic-70ee1f64.ttf diff --git a/public/chat/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-BoldItalic-99cd42a3.woff2 diff --git a/public/chat/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff similarity index 100% rename from public/chat/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-BoldItalic-a6f7ec0d.woff diff --git a/public/chat/assets/KaTeX_Main-Italic-0d85ae7c.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Italic-0d85ae7c.ttf similarity index 100% rename from public/chat/assets/KaTeX_Main-Italic-0d85ae7c.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Italic-0d85ae7c.ttf diff --git a/public/chat/assets/KaTeX_Main-Italic-97479ca6.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Italic-97479ca6.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Main-Italic-97479ca6.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Italic-97479ca6.woff2 diff --git a/public/chat/assets/KaTeX_Main-Italic-f1d6ef86.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Italic-f1d6ef86.woff similarity index 100% rename from public/chat/assets/KaTeX_Main-Italic-f1d6ef86.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Italic-f1d6ef86.woff diff --git a/public/chat/assets/KaTeX_Main-Regular-c2342cd8.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Regular-c2342cd8.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Main-Regular-c2342cd8.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Regular-c2342cd8.woff2 diff --git a/public/chat/assets/KaTeX_Main-Regular-c6368d87.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Regular-c6368d87.woff similarity index 100% rename from public/chat/assets/KaTeX_Main-Regular-c6368d87.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Regular-c6368d87.woff diff --git a/public/chat/assets/KaTeX_Main-Regular-d0332f52.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Regular-d0332f52.ttf similarity index 100% rename from public/chat/assets/KaTeX_Main-Regular-d0332f52.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Main-Regular-d0332f52.ttf diff --git a/public/chat/assets/KaTeX_Math-BoldItalic-850c0af5.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Math-BoldItalic-850c0af5.woff similarity index 100% rename from public/chat/assets/KaTeX_Math-BoldItalic-850c0af5.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Math-BoldItalic-850c0af5.woff diff --git a/public/chat/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Math-BoldItalic-dc47344d.woff2 diff --git a/public/chat/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf similarity index 100% rename from public/chat/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Math-BoldItalic-f9377ab0.ttf diff --git a/public/chat/assets/KaTeX_Math-Italic-08ce98e5.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Math-Italic-08ce98e5.ttf similarity index 100% rename from public/chat/assets/KaTeX_Math-Italic-08ce98e5.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Math-Italic-08ce98e5.ttf diff --git a/public/chat/assets/KaTeX_Math-Italic-7af58c5e.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Math-Italic-7af58c5e.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Math-Italic-7af58c5e.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Math-Italic-7af58c5e.woff2 diff --git a/public/chat/assets/KaTeX_Math-Italic-8a8d2445.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Math-Italic-8a8d2445.woff similarity index 100% rename from public/chat/assets/KaTeX_Math-Italic-8a8d2445.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Math-Italic-8a8d2445.woff diff --git a/public/chat/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf similarity index 100% rename from public/chat/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Bold-1ece03f7.ttf diff --git a/public/chat/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 similarity index 100% rename from public/chat/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Bold-e99ae511.woff2 diff --git a/public/chat/assets/KaTeX_SansSerif-Bold-ece03cfd.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Bold-ece03cfd.woff similarity index 100% rename from public/chat/assets/KaTeX_SansSerif-Bold-ece03cfd.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Bold-ece03cfd.woff diff --git a/public/chat/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 similarity index 100% rename from public/chat/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Italic-00b26ac8.woff2 diff --git a/public/chat/assets/KaTeX_SansSerif-Italic-3931dd81.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Italic-3931dd81.ttf similarity index 100% rename from public/chat/assets/KaTeX_SansSerif-Italic-3931dd81.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Italic-3931dd81.ttf diff --git a/public/chat/assets/KaTeX_SansSerif-Italic-91ee6750.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Italic-91ee6750.woff similarity index 100% rename from public/chat/assets/KaTeX_SansSerif-Italic-91ee6750.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Italic-91ee6750.woff diff --git a/public/chat/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff similarity index 100% rename from public/chat/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Regular-11e4dc8a.woff diff --git a/public/chat/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 similarity index 100% rename from public/chat/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Regular-68e8c73e.woff2 diff --git a/public/chat/assets/KaTeX_SansSerif-Regular-f36ea897.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Regular-f36ea897.ttf similarity index 100% rename from public/chat/assets/KaTeX_SansSerif-Regular-f36ea897.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_SansSerif-Regular-f36ea897.ttf diff --git a/public/chat/assets/KaTeX_Script-Regular-036d4e95.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Script-Regular-036d4e95.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Script-Regular-036d4e95.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Script-Regular-036d4e95.woff2 diff --git a/public/chat/assets/KaTeX_Script-Regular-1c67f068.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Script-Regular-1c67f068.ttf similarity index 100% rename from public/chat/assets/KaTeX_Script-Regular-1c67f068.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Script-Regular-1c67f068.ttf diff --git a/public/chat/assets/KaTeX_Script-Regular-d96cdf2b.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Script-Regular-d96cdf2b.woff similarity index 100% rename from public/chat/assets/KaTeX_Script-Regular-d96cdf2b.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Script-Regular-d96cdf2b.woff diff --git a/public/chat/assets/KaTeX_Size1-Regular-6b47c401.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size1-Regular-6b47c401.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Size1-Regular-6b47c401.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size1-Regular-6b47c401.woff2 diff --git a/public/chat/assets/KaTeX_Size1-Regular-95b6d2f1.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size1-Regular-95b6d2f1.ttf similarity index 100% rename from public/chat/assets/KaTeX_Size1-Regular-95b6d2f1.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size1-Regular-95b6d2f1.ttf diff --git a/public/chat/assets/KaTeX_Size1-Regular-c943cc98.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size1-Regular-c943cc98.woff similarity index 100% rename from public/chat/assets/KaTeX_Size1-Regular-c943cc98.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size1-Regular-c943cc98.woff diff --git a/public/chat/assets/KaTeX_Size2-Regular-2014c523.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size2-Regular-2014c523.woff similarity index 100% rename from public/chat/assets/KaTeX_Size2-Regular-2014c523.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size2-Regular-2014c523.woff diff --git a/public/chat/assets/KaTeX_Size2-Regular-a6b2099f.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size2-Regular-a6b2099f.ttf similarity index 100% rename from public/chat/assets/KaTeX_Size2-Regular-a6b2099f.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size2-Regular-a6b2099f.ttf diff --git a/public/chat/assets/KaTeX_Size2-Regular-d04c5421.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size2-Regular-d04c5421.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Size2-Regular-d04c5421.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size2-Regular-d04c5421.woff2 diff --git a/public/chat/assets/KaTeX_Size3-Regular-500e04d5.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size3-Regular-500e04d5.ttf similarity index 100% rename from public/chat/assets/KaTeX_Size3-Regular-500e04d5.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size3-Regular-500e04d5.ttf diff --git a/public/chat/assets/KaTeX_Size3-Regular-6ab6b62e.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size3-Regular-6ab6b62e.woff similarity index 100% rename from public/chat/assets/KaTeX_Size3-Regular-6ab6b62e.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size3-Regular-6ab6b62e.woff diff --git a/public/chat/assets/KaTeX_Size4-Regular-99f9c675.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size4-Regular-99f9c675.woff similarity index 100% rename from public/chat/assets/KaTeX_Size4-Regular-99f9c675.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size4-Regular-99f9c675.woff diff --git a/public/chat/assets/KaTeX_Size4-Regular-a4af7d41.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size4-Regular-a4af7d41.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Size4-Regular-a4af7d41.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size4-Regular-a4af7d41.woff2 diff --git a/public/chat/assets/KaTeX_Size4-Regular-c647367d.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Size4-Regular-c647367d.ttf similarity index 100% rename from public/chat/assets/KaTeX_Size4-Regular-c647367d.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Size4-Regular-c647367d.ttf diff --git a/public/chat/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 b/AIWebQuickDeploy/public/chat/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 similarity index 100% rename from public/chat/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Typewriter-Regular-71d517d6.woff2 diff --git a/public/chat/assets/KaTeX_Typewriter-Regular-e14fed02.woff b/AIWebQuickDeploy/public/chat/assets/KaTeX_Typewriter-Regular-e14fed02.woff similarity index 100% rename from public/chat/assets/KaTeX_Typewriter-Regular-e14fed02.woff rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Typewriter-Regular-e14fed02.woff diff --git a/public/chat/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf b/AIWebQuickDeploy/public/chat/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf similarity index 100% rename from public/chat/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf rename to AIWebQuickDeploy/public/chat/assets/KaTeX_Typewriter-Regular-f01f3e87.ttf diff --git a/public/chat/assets/Right-153af9c5.js b/AIWebQuickDeploy/public/chat/assets/Right-153af9c5.js similarity index 100% rename from public/chat/assets/Right-153af9c5.js rename to AIWebQuickDeploy/public/chat/assets/Right-153af9c5.js diff --git a/public/chat/assets/_plugin-vue_export-helper-c27b6911.js b/AIWebQuickDeploy/public/chat/assets/_plugin-vue_export-helper-c27b6911.js similarity index 100% rename from public/chat/assets/_plugin-vue_export-helper-c27b6911.js rename to AIWebQuickDeploy/public/chat/assets/_plugin-vue_export-helper-c27b6911.js diff --git a/public/chat/assets/alipay-eab94eb8.png b/AIWebQuickDeploy/public/chat/assets/alipay-eab94eb8.png similarity index 100% rename from public/chat/assets/alipay-eab94eb8.png rename to AIWebQuickDeploy/public/chat/assets/alipay-eab94eb8.png diff --git a/public/chat/assets/avatar-e985e5ec.png b/AIWebQuickDeploy/public/chat/assets/avatar-e985e5ec.png similarity index 100% rename from public/chat/assets/avatar-e985e5ec.png rename to AIWebQuickDeploy/public/chat/assets/avatar-e985e5ec.png diff --git a/public/chat/assets/baidulogo-bf43b354.png b/AIWebQuickDeploy/public/chat/assets/baidulogo-bf43b354.png similarity index 100% rename from public/chat/assets/baidulogo-bf43b354.png rename to AIWebQuickDeploy/public/chat/assets/baidulogo-bf43b354.png diff --git a/public/chat/assets/chat-f5a1bdb4.js b/AIWebQuickDeploy/public/chat/assets/chat-7eb7de6c.js similarity index 83% rename from public/chat/assets/chat-f5a1bdb4.js rename to AIWebQuickDeploy/public/chat/assets/chat-7eb7de6c.js index c016e5e..e2b3659 100644 --- a/public/chat/assets/chat-f5a1bdb4.js +++ b/AIWebQuickDeploy/public/chat/assets/chat-7eb7de6c.js @@ -1,55 +1,55 @@ -import{u as useBasicLayout}from"./useBasicLayout-18dd2ca5.js";import{I as Icon,o as useChatStore,d as useAuthStore,t as t$3,q as fetchTtsAPIProces,v as fetchPptCoverAPIProcess,m as useRoute,w as fetchQueryOneCatAPI,x as commonjsRequire$1,y as require$$7,u as useGlobalStoreWithOut,z as fetchSearchAppsAPI,A as axios,B as fetchUpdateGroupAPI,j as useAppStore,C as fetchQueryModelsListAPI,r as router,D as fetchChatAPIProcess,n as useRouter,a as useAppCatStore}from"./index-e5cf7f43.js";import{d as defineComponent,ae as useAttrs,e as computed,R as openBlock,U as createBlock,u as mergeProps,L as unref,W as createVNode,S as createElementBlock,a2 as createBaseVNode,a as inject,w as watch,G as onUnmounted,r as ref,a6 as createCommentVNode,a3 as normalizeClass,H as normalizeStyle,F as Fragment$1,a7 as renderList,a4 as toDisplayString,f as onMounted,y as watchEffect,k as withDirectives,a5 as vModelText,P as onUpdated,n as nextTick,B as cloneVNode,l as h$1,p as provide,ad as resolveDynamicComponent,a8 as withModifiers,V as withCtx,c as createTextVNode,z as Transition$1,af as withKeys,v as vShow,O as resolveComponent,ag as resolveDirective}from"./vue-c19408e5.js";import{h as commonjsGlobal$1,i as getDefaultExportFromCjs,g as getAugmentedNamespace,e as useMessage,s as NImage,A as NTooltip,d as useDialog,B as NScrollbar,C as NLayoutSider,D as NWatermark,E as NLayout}from"./naive-ui-64ac446a.js";import{I as IconWrapper,C as Close,R as Right,L as Left,a as CheckOne}from"./Right-153af9c5.js";import{_ as _export_sfc}from"./_plugin-vue_export-helper-c27b6911.js";import"./vueuse-motion-563da5fd.js";const _sfc_main$k=defineComponent({__name:"index",props:{icon:{}},setup(k){const m=useAttrs(),M=computed(()=>({class:m.class||"",style:m.style||"width: 1em, height: 1em"}));return(G,V)=>(openBlock(),createBlock(unref(Icon),mergeProps({icon:G.icon},M.value),null,16,["icon"]))}});function isString$1(k){return Object.prototype.toString.call(k)==="[object String]"}const Announcement=IconWrapper("announcement",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("rect",{x:"4",y:"15",width:"40",height:"26",rx:"2",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24 7L16 15H32L24 7Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M12 24H30",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M12 32H20",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),ApplicationTwo=IconWrapper("application-two",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("circle",{cx:"34.5",cy:"13.5",r:"6.5",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth},null),createVNode("circle",{cx:"34.5",cy:"34.5",r:"6.5",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth},null),createVNode("circle",{cx:"13.5",cy:"13.5",r:"6.5",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth},null),createVNode("circle",{cx:"13.5",cy:"34.5",r:"6.5",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth},null)])}),ArrowRight=IconWrapper("arrow-right",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M41.9999 24H5.99994",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M30 12L42 24L30 36",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Calendar=IconWrapper("calendar",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M5 19H43V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V19Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M5 9C5 7.89543 5.89543 7 7 7H41C42.1046 7 43 7.89543 43 9V19H5V9Z",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M16 4V12",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M32 4V12",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M28 34H34",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M14 34H20",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M28 26H34",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M14 26H20",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Commodity=IconWrapper("commodity",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M9.78101 9.75193C9.90612 8.75107 10.7569 8 11.7656 8H36.2344C37.2431 8 38.0939 8.75107 38.219 9.75193L41.719 37.7519C41.8682 38.9456 40.9374 40 39.7344 40H8.26556C7.06257 40 6.1318 38.9456 6.28101 37.7519L9.78101 9.75193Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M15 18C15 18 17 22 24 22C31 22 33 18 33 18",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Copy=IconWrapper("copy",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null)])}),Delete=IconWrapper("delete",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M9 10V44H39V10H9Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M20 20V33",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M28 20V33",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M4 10H44",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null)])}),DeleteThemes=IconWrapper("delete-themes",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 15H40L37 44H11L8 15Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M20.002 25.0024V35.0026",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap},null),createVNode("path",{d:"M28.0024 24.9995V34.9972",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap},null),createVNode("path",{d:"M12 14.9999L28.3242 3L36 15",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Down=IconWrapper("down",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M36 18L24 30L12 18",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),DownSmall=IconWrapper("down-small",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24.0083 35.8995V12",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M36 24L24 36L12 24",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),DownloadOne=IconWrapper("download-one",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M11.6777 20.271C7.27476 21.3181 4 25.2766 4 30C4 35.5228 8.47715 40 14 40C14.9474 40 15.864 39.8683 16.7325 39.6221",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M36.0547 20.271C40.4577 21.3181 43.7324 25.2766 43.7324 30C43.7324 35.5228 39.2553 40 33.7324 40C32.785 40 31.8684 39.8683 30.9999 39.6221",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M36 20C36 13.3726 30.6274 8 24 8C17.3726 8 12 13.3726 12 20",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M17.0654 30.119L23.9999 37.0764L31.1318 30",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24 20V33.5382",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Edit=IconWrapper("edit",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M7 42H43",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M11 26.7199V34H18.3172L39 13.3081L31.6951 6L11 26.7199Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null)])}),EditTwo=IconWrapper("edit-two",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null)])}),HamburgerButton=IconWrapper("hamburger-button",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M7.94971 11.9497H39.9497",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M7.94971 23.9497H39.9497",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M7.94971 35.9497H39.9497",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Link=IconWrapper("link",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24.7073 9.56521L9.85801 24.4145C6.34329 27.9292 6.34329 33.6277 9.85801 37.1424V37.1424C13.3727 40.6571 19.0712 40.6571 22.5859 37.1424L40.2636 19.4647C42.6067 17.1216 42.6067 13.3226 40.2636 10.9794V10.9794C37.9205 8.63628 34.1215 8.63628 31.7783 10.9794L14.1007 28.6571C12.9291 29.8287 12.9291 31.7282 14.1007 32.8997V32.8997C15.2722 34.0713 17.1717 34.0713 18.3433 32.8997L33.1925 18.0505",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),LoadingFour=IconWrapper("loading-four",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Logout=IconWrapper("logout",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M23.9917 6H6V42H24",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M33 33L42 24L33 15",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M16 23.9917H42",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Pause=IconWrapper("pause",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M16 12V36",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M32 12V36",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),PauseOne=IconWrapper("pause-one",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M19 18V30",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M29 18V30",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),PlayOne=IconWrapper("play-one",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null)])}),Refresh=IconWrapper("refresh",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M42 8V24",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M6 24L6 40",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M42 24C42 14.0589 33.9411 6 24 6C18.9145 6 14.3216 8.10896 11.0481 11.5M6 24C6 33.9411 14.0589 42 24 42C28.8556 42 33.2622 40.0774 36.5 36.9519",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Rotation=IconWrapper("rotation",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin,"stroke-dasharray":"2 6"},null)])}),Send=IconWrapper("send",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M43.0001 5L22.1001 25.9",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),SendOne=IconWrapper("send-one",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M42 6L4 20.1383L24 24.0083L29.0052 44L42 6Z",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24.0083 24.0084L29.6651 18.3516",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),ShuffleOne=IconWrapper("shuffle-one",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M40 33L44 37L40 41",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M40 7L44 11L40 15",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M44 11H37C29.8203 11 24 16.8203 24 24C24 31.1797 29.8203 37 37 37H44",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap},null),createVNode("path",{d:"M4 37H11C18.1797 37 24 31.1797 24 24C24 16.8203 18.1797 11 11 11H4",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap},null)])}),Square$1=IconWrapper("square",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth},null)])}),SunOne=IconWrapper("sun-one",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 37C31.1797 37 37 31.1797 37 24C37 16.8203 31.1797 11 24 11C16.8203 11 11 16.8203 11 24C11 31.1797 16.8203 37 24 37Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24 6C25.3807 6 26.5 4.88071 26.5 3.5C26.5 2.11929 25.3807 1 24 1C22.6193 1 21.5 2.11929 21.5 3.5C21.5 4.88071 22.6193 6 24 6Z",fill:k.colors[0]},null),createVNode("path",{d:"M38.5 12C39.8807 12 41 10.8807 41 9.5C41 8.11929 39.8807 7 38.5 7C37.1193 7 36 8.11929 36 9.5C36 10.8807 37.1193 12 38.5 12Z",fill:k.colors[0]},null),createVNode("path",{d:"M44.5 26.5C45.8807 26.5 47 25.3807 47 24C47 22.6193 45.8807 21.5 44.5 21.5C43.1193 21.5 42 22.6193 42 24C42 25.3807 43.1193 26.5 44.5 26.5Z",fill:k.colors[0]},null),createVNode("path",{d:"M38.5 41C39.8807 41 41 39.8807 41 38.5C41 37.1193 39.8807 36 38.5 36C37.1193 36 36 37.1193 36 38.5C36 39.8807 37.1193 41 38.5 41Z",fill:k.colors[0]},null),createVNode("path",{d:"M24 47C25.3807 47 26.5 45.8807 26.5 44.5C26.5 43.1193 25.3807 42 24 42C22.6193 42 21.5 43.1193 21.5 44.5C21.5 45.8807 22.6193 47 24 47Z",fill:k.colors[0]},null),createVNode("path",{d:"M9.5 41C10.8807 41 12 39.8807 12 38.5C12 37.1193 10.8807 36 9.5 36C8.11929 36 7 37.1193 7 38.5C7 39.8807 8.11929 41 9.5 41Z",fill:k.colors[0]},null),createVNode("path",{d:"M3.5 26.5C4.88071 26.5 6 25.3807 6 24C6 22.6193 4.88071 21.5 3.5 21.5C2.11929 21.5 1 22.6193 1 24C1 25.3807 2.11929 26.5 3.5 26.5Z",fill:k.colors[0]},null),createVNode("path",{d:"M9.5 12C10.8807 12 12 10.8807 12 9.5C12 8.11929 10.8807 7 9.5 7C8.11929 7 7 8.11929 7 9.5C7 10.8807 8.11929 12 9.5 12Z",fill:k.colors[0]},null)])}),Up=IconWrapper("up",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M13 30L25 18L37 30",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),User=IconWrapper("user",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("circle",{cx:"24",cy:"12",r:"8",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M42 44C42 34.0589 33.9411 26 24 26C14.0589 26 6 34.0589 6 44",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),VoiceMessage=IconWrapper("voice-message",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M17 25.8994C18.1046 25.8994 19 25.004 19 23.8994C19 22.7948 18.1046 21.8994 17 21.8994C15.8954 21.8994 15 22.7948 15 23.8994C15 25.004 15.8954 25.8994 17 25.8994Z",fill:k.colors[2]},null),createVNode("path",{d:"M21.9497 28.8492C23.2165 27.5825 24 25.8325 24 23.8995C24 21.9665 23.2165 20.2165 21.9497 18.9497",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M26.8994 33.799C29.4329 31.2655 30.9999 27.7655 30.9999 23.8995C30.9999 20.0335 29.4329 16.5335 26.8994 14",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),logo360=""+new URL("360logo-c09b4832.png",import.meta.url).href,ali="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6MjM6MzIrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6MjM6MzIrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjIzOjMyKzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz4QZKpRAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAlSSURBVGiB7VlrkFXFEf66e+ac+9hlAUUFUbBAJKJRAROUiKzxAUZUICqIG8QiVAwIVqICCSa4EcoNhRoQoyQVidb6QlF8giVYJWoMUdQEhSRGLYlRVpFll+U+zpnp/LhALqtZ7sol+bNf1al7qk9Pd3/3zPR0zwE60IEOdKAD/wdQOY2NvGBVVSrR/fsCqSAIhA2YA7DE79xb3+fhcvpqDVNOY2GYrgP8KIB7FCRa+PES1Vz56jv3LRuysZz+isHlMnTOFbNTzutlUvH2KRG1bPfewXkH7/Pw6q3P91h++VXryuavNcpi+OwLfs2J5iGr1eyc+fCyKxo8uRoPB+89nEbw3sHFfGwUy9nl8PdlKMvUIjnk5DiWnibV8hAAOPvRGo57biKf+BqRgScAQmLirssnTnx/CREpEYGZYIzCWCIWBjFBjVe1W+++Y/7gD9sVw4GSGD52aYLynTdaztQ8t3LiH/bIR1+yor9ER79NZJhFQAjAbMEUwhgBswEzg4xChAoyYZAQNNy5AeEnpy2qPTlfahwHPLVcxKMAjWPzyfpieRSn7/LOM/kY3sXwqoASVD28+n1sKBSqCu89FB5wdqBGVRe2J44DIvKNkXWdXWTryDSNWPvoTLdHfu7Y+werD8706hGrh6qCNAYQAeQLZHxBDgCquve+IDAgTS6YcdMrqVJjKXmNDBo2+0hxh/cmTSopAaTQPMbnseulV569+oM9et+Z+Lsw15i8w3uHCAoBwFCAFIQYUAuQoJCaFV4Lz4kUe9M1APKp3pTrNxvAjWUjMnRErc02p59X79PETVkAsCYNh9hp2PCtYt3Gxs+HJTTVJYb9m5gYngIIGRDnoGQgVqHMMGyhLBAhQICYBSQCZYCFobCG4a8qK5F81vzcO9Mfkp3nw3fnegA5w2Dj9fVnfuOKdcPK7Ws0pwO8NxBjABGABQqBEwOyIVgEHgwSA7EMZQMyBWJkuDAm33sK4C4tJT6ghKw1cOicQH3iY/VRVyL9FKlNfd5Yu7y5VAdfBdNqnxLJHr9ZKT9h0bz+6/c/Yj+L/eTqyazQu+BzXckrEGk3tBx79ylDp5W1RmsNbRkw30XJNaWSAPYztTR7RN84okkBBN7FgHfwyI7msPIwAFsPOOIvwdWzNiTIhVNItg5qz7g2icRxqsKwA8UMaARVAF4SUT7/4glnTTp+49p79lkfp190fUUyClMIOsMEIRErBASQwAQhiQTwqlBiSGJXdsWdUxpb+3SRUYb1ZDksG5EguWNjnAk3ADwQSihcFhxzP872rAbwfLE+xVXdKdf9LRdVJOOshXAKzAkwB0BWoBwUMpLAMX/yTQCvt/a5dOHXc9NnfXA7tPNPANSUSqTNNfLGi3V5STSPciQZIgaLgCmA+BDGpe889czrKor1X356zt9VaAnDgF0C4g3YCcQzxAtEGawCqLvnkd+e9wUSe9DpiB3ziMNB18x9vbosRADgzXW3/UusrmZmMBeaJSGBVT5WYzuptf4OfPBLx5xhJjAIzABBUZiXCqV8HkHD/Nbjam5YtjeWm689yceamc++R+21858tKbGUVKIkkrkJJPSZUADhACIWxB6MQ+cOOveadLHua8/VfkpB0xQhCxbdnd8VtDsckuYbHrt3xPvFY665eS1LfsDsYplNbnsA0Czl+0woG5GXX5i3ywX2V0xpgEOALUApMBJdQ9/v1tb61gSPg30DIYQyAUYB8VCKdxHrva31d27tPofjnnMm/+itwXtkt984yAnpTYyq+dfN/XS/G3fJRaNNbl1orHtXJACTBcHCkAHF4bgh597evVj3ucfG74RpuBCsMREBaqBQ523T5cvrh28v1v3eD1+qQFR1NcedEhR1W1z87NabjnxJJPsihw3X7S++dm1sQ4YvHEO+8lHxDAYVGiEKoNKywaaaTl371PV76/MLJ9RRvvHE9cmgy2BGAM+5TS7YesITD4zeq3Pl9D9RmOv2ILnKS5VT4CCjSH50hgmbXjVWYAyBtUsPpeA9Ah1T99Ne//xvsbWrjA+S0csiDBEL4QDMIawYBNL1pIC7DSjWfaJ+poadm8YqUQ5sfUyN44tJAID3XY5Qn76YiMGcA0hJ/CGrKd9rM2WP2ay5Xpt93OUFRBWscafuaAPt60fiyikGCQjZ3R3e7guB+Di18pyxC/ZZ+Cvrx30ICe7zEj325CPnv1X8bMr0Ncbm0w+RtwFIQezARCBNpknTfeGTfRFX9uW4qg+kaYvKZ22ewJTcjwwbdVtvyXSdKWxACjARlAggBjNBNX0MRb3GALiveJxL//lnpJVVX/hPdvY+SxCeQeKhRGDaPV1RqAaIPAAFSZRXu23EglmnZtqKr+Q1Muz8e+4P8l3GGxA8FRomEKsSeeFCqe4lavap93qufnB6S1u2aqa+JkGm+zuMin5iYwgLSAgsDDYx2DCIBGCDROd/rJMwd2btjIHals2S34j4w05gU9gXGArxDCV/c2yieoUHOAYbAVMJ3anrNo0o6MfsAQhUCUwAsQLsoeIB9iCOdmZ9w3cXzqhuk0S7iNjEjmUSdVoINSAAkWS32HDHratXTPxC4dcWaqa9UonI/BgovAEigEVA4rbBZCZByBGxV/YgadmycFZ1Qyl2SyYS242LrKu+ijU5wDuGSURTn2wnCQAIM/1vIYRHEeVAAJQdVBQq+TsXLTj8yfba24N27SMXjFk90mj4jHr9WMO/9tKwKmbTDKYkoP9JgAoL2EY8vnTKPlOiZsaqINEycBuRVjAHEJbCrm8zn3PFpiMX11Zn/ydELr683pjM0asMJY8DuQZAAHIgCIgYYIInRswENdmMJj7+9oqlF+UAYMLU33OIges43+30QvpmiDDURkC447IldQd2Wt+uI9PH758QXzJu1Zg4rqgGxYX+BAZEBCLZnTwZJA7MnX4hCEYAWAkACTd0oLqKIYUKunAiRIU6bJOa5q88pfbgoPXeE6a+cBTFPf5owuYBxqcyGnVbb5A4kSUqZChhsGisYcMpi2857oA/Nxy0Y/76JdVb1Ju/aL7TZPj0aGE6kU0ORjxICMQxlPNvIvjw7XL4K+uHntZg3j4upJ5vslpLRBCKAAQo5FxuUvls5B215+x3jygFB/VYBwAm/+D98ywdehqRUxIoC6kylOyONxbXHf30wfbfgQ50oAMdOKj4N8mAoUMloQFmAAAAAElFTkSuQmCC",baidu=""+new URL("baidulogo-bf43b354.png",import.meta.url).href,claude="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6NTE6MDcrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6NTE6MDcrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjUxOjA3KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7/DjIoAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAi9SURBVGiB1VpbTFRLFl1Vpx8C4aUoPgINIeM4PoIQtWFABbwyMGqMMdFMzJj5NCSSCR/qXP24E03kyo+JwRjihziRZL6IhFG8t4nStjx8xEyPMTGKQgMC8hxx7Mc5p/Z8AOdSNo/u9l7xrqTTp/fZp2qvqr137arTDAuAiNjUJQcQAyAWgJWIFMYYALCpe9NgCB0041qfIQsA+AjgvwA0AGCMEebBnJ0KIayMsXUACgGUAtgIYAUA0ycG/JJ4D6ATQAuAWwCeMsZGQn5a1/VkIvonEQ0RkaCvA/8josdE9Aci4guSEELsIKIu+noIfAo/Ef1NCBEz30zkENHgYlsaAvxCiG9ptpnRNG0lCfrPYlsYBgK6rv9xcHCQAVPZhogYY+xPYPhdyIG0+DAzxs4lJiYmAVNEvF5vNGPsrwCURTUtTDDG1nHOs4EpIoqiFDDGUhbXrIgQBWAvETEOAJzzbxbZoIjBGNv54MEDxp1OJwfwG6Ivtcb9vGCMZVgsliU8PT3dyjlPYlP1xq8NjLHoNWvWLDVZrVaFMWb6nMauXbuGN2/eSLK4uDhUVFRg5vi8e/cO1dXVkl5sbCwqKirA+cKL9Rwgi8USa+KMK5CLvrDQ3d2NyspKCCFARJh2UU3TkJmZiV27dhlkEhIS4HK50NPTY+jquo4NGzagpLQELKx68ydwzs2cccYQXsUq4f79+1BVFYFAAKqqQtM0aJoGzjlOnDgBXdcNXZPJhJycHKiqaugCwPnz56GpWqQmgDHG+FRsREykqalJMnYaQggMDw/j0aNHhoxzjpKSEsxMLESEoaEhuN3uSE2YbPtzHu7t7YXT6ZzzvqIoaGpqkgzPzc3FqlWrpJj4+PEjnE4nhBAR2xIxESEEzp49C0WZuxggIty7d0+aMUVRcObMGYkcYww3b940XC0SREykr68PLS0tQW7yKbHOzk60trYavxljKCoqQmpqapBec3NzpOZETsTlckmuwBhDQkICysrKJDIWiwWnTp2C3+83ZFarFdu3b5fcy2w24+LFi5JeqOCcR0aEiNDQ0IBAIGDINE3DyZMnUVJSIrmSEAJ9fX148uSJ1HFxcXGQXm9vb8RBHxGRV69eob29XZIlJyejtLQUa9euxbrfrgsabYfDIenn5OQgJSVFmj2v1wuXy4VwyyUiiozIhQsXgmLBbrcjLi4OZrMZ31/4XpotIQTu3r0r6VssFpw7d07SIyLU19eHnb2EEOET8Xg8aGtrkzIM5xxFRUUGuU2bNmH9+vWSgZ2dnWhqapLa2rJlCzIyMiS9rq6uIL2FwBgLn0hbWxu8Xq/UiBACpaWlkqyosMhwLyKC2WzG6dOnpQGIjo7Gtm3bJDdUFAVVVVVQVTUsu8Im0tjYGBSk5eXliIqKkojs+maX5Ou6rmNsbCwo6Pft2ye1R0QYHh7Gs2fPfjkiPT09Qbk+Pj4eR48eNYrA6U9WVhaSkpKkWCIiOBwOiWBeXh5Wr14tzcr79+/R2toaVtCz0dHRxISEhLuMscz5FIUQKCsrw507d6QOkpKSsGfPHphMP+0Epqvdjo4OuN1uqZS32Wxobm429IkIjY2NOH78uNSfzWaDw+GA2WxeiAONjY1lhbwPefv2rbEIzjRsZGQEN27cCBo9xhh0Xcen+7XOzk7cd95HYVGhoVdQUACbzQaPx2O0M73Sl5SUhGQfJxHa9LW1tUFV1aANEBFB0zToui59NE2b1TUsFgu++/t30goeHR2NnJwcKIpiELdYLLh06VLIK31IMTKd3/1+f9iL1aeYXsGfPn1qyBRFwd69eyXyQgh4PB48f/48pHZNoexEXr16JRV+wGTGSUpKCmmLOjw8LKXd6arYbrcbM2C325Geno7u7m5jQfzw4QNcLheysrIWNnJkZCRRCPF0rnNJIQQdO3aMMjIyyGazkc1mo9TUVDp8+DD5fL6Qzjbr6uooJSXFeN5ms9GOHTtI0zSpH4fDQampqYZOWloa5efnS3qzmTg6OprJscC7jp6enqCV3Gw2Iy8vL5SMAgA4cOAAVq5cKcm6urpw+/Zt4zdjDNnZ2UhLSzNkRITu7m7cunVrwT74QpuZx48fY2JiQpL5/X4cOnQoKCPNBavVip07dkr6JpMJlZWV0goeFxeH7OxsmEwmQ1dRFFRXV0s12axEOOfzzsinRRxjDPv378eKFStCJsIYQ0FhgSTTdR1DQ0NBQX/w4EGoqgoiAmMMRIT+/n68ePFi3j5MNJkmZiXj8Xjw8OFDxMfHG9mEc47y8vKQCMxEQUEBEhISpCMjAGhvb8fWrVuNQcnNzUVGRgbGxsakI6OOjg5s3Lhx1sETuiCT3+8XAGatmxVFwdWrVyWZ1WpFenp6yLMxjZiYGFy/fh3j4+OSfOnSpVJbiqLgypUrGBgYmDznmrqVmJg4Z5+qpvrQ2tq6RFXVB/T1vmpbCMLtdq/i9fX1ASHEYFjD+xVBCDFeV1c3BgCYmJg4K4T4Vc6Iz+drDwQCk+9HBgYGwtuSfUXwer0/+ny+yVrryJEjj30+378X26hwIYR439/f/0NcXNzk693NmzcHXr9+fZGIwj9UWjyQz+d7/OzZMzcwVf3W1NSQ0+n818TExAN8ub9nfBZUVR2pr6//9uXLl++lG0VFRay2tnbj+Ph4G33lqVjTtPEnT578effu3XNuDFlNTU3myMjIPV3XQyttvyx0r9fb7XK5/lJQULBkpuFBR+mDg4NDHo/HwTnvT05OtlkslmUziX6uS4QJw81VVR1/+fLlPxoaGk5XVVX96HK5pHie0zC73W59+/btyqqqqt9v27atMDY2dq3Vak1SJo9F+HzP/gzGExEJVVUnvF6v58WLFw8vX77sePPmTWdMTMxES0tLUBzPa0xxcTHTdV3xeDyWZcuWWfPz85csX77cGhUVpei6PrnfX4gOzdLLtGyWb8WkkBBCHx8fV91ut8/tdvvMZnPAbrdrtbW1c56l/h8gg8dutwWvwQAAAABJRU5ErkJggg==",dalle=""+new URL("dalle-4f19ad1c.png",import.meta.url).href,gemini=""+new URL("google-6f260bf3.gif",import.meta.url).href,gpt4logo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6NDU6MDQrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6NDU6MDQrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjQ1OjA0KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz5FXAnGAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAfvSURBVFiF7ZhLcJPXFcd/59PLkizZBstGlvzA2MEaAwEMAfIitAkNSZmUNpOZpsx0aDrT7ttdp5t2uuy2M11k2kXSNp1mSJMhpC2T8JqA86QBYydWjB+yjS1jy5Jl2dKn73RhFYUOkhGkCQvOUt895/507r3/e+6Rvx+xuPvM+LoBbm73sCqxe1iV2F2KZb9DfzEQGwJqYeW/FCS4fSyhqoaaFqqDuOtE7OTSujBFapzUBFbua8Jq2knro1LTjNNXJLVM0tNMXyJ6TJdTXy2WGES+J+2PYzhQJTHEbFTNJbzrpGETviaq17Fum5z/rS7GwUBva2WlosvHsLNhv2x8BmC6j8/e0MSV4leHm44DrH9c7FXkMggYTswMiWEmP9KZfhbj6K3NVlm26tpp3YvhYPikfvY6S4kbvnobsHtkJT2OKswlcgvY3TRsoqFbkjGG39FYL2bmS8UybAR34K4ncYX+V8mli59cPtqfkNAu3GsQg/hlxs7qwlUsE5uLtZ3Sshd/M5FnxenTz/9BPnvnWILdSaCb1r1S34XAwFG9zmQ4qI/Q/Zz4mlCLxRkGjur4e6DFAHOf6+hZtv1IGrbQ+ZTMj+nUhTvGCkToeFLqI4gNIDNLYhTA5qBuA62PEdwuYrAwydULDL+jizMAIiDFnZRd4P3f6dYjEtpF5BDXBjCX7gArtJPIs+IJkJkjMaTBHlmeLxwufzObnhd/mOwCsXOM92piuMBRVUvrXrFXETun86OFUJZJ9LjWtIq/WZp2MHpWS85aHquunc2Hxenj2qdcfFmragj2oFZhgZx+XH7mhrj4siZjBQk1HDTvZuMhcfoQoeUhGT6p0ePkMgDpKWYG8DURfpDRs7eVLbubDU+Ks5rkWGFiZ/VNhkWPsaIRdhf+Zu47KHUdZK4RO6+BbvEF6XxaGu/n09d1ZoBcmvRVrBz+MGKUE4uSWDUt1K0HIXpck7Fy/8ywU9tGeDdNuyS/TPRNHTlFNo33pIZ2E9op/jDbfyxTn2jsHGJDLQwbho18pVgi+JqoqmNxhsmPyjE5vES+K8Ee7B5EsLtw+QUUJT3N4DGufqTND9LyiDTtlLUbyS9jOFhKYJnlwpbAsuFtQAxmP11FY7YewbKYvsjFlxTY/ANp+wbND8vFl3TifSyTZIy+vzLeq1t+KDWtiB9gbggtt+NLZ8vmEGB5oZwzkIwRfVMnPy7Qf/h7XbeNzqdk6xFp2snw2zobxVwiMcKZ32jrI7TvF28j1UE8ARbjJcPevAxUJbcI4A2sghU9Tqy3mNF8lvFeoscB1nSy7QXZ/LysvQ+xoXlGznDpz5qZxRdkw36xOSvEsvKkp1Xz1EewVxV+XBFAl5+quuLI/PJN3PNZzAwDrzJySpseoOen0nUIw47mifcxfELFINCNL1QhFkpynHQcu5u2x0QMgGSMwWNqOHj0l9L1Hdy1IlIyriqZhA68xulfq5Wj8ynxhwDUYvgk5iLeAP4QlIhQUiBS48T78Daw/pukJpjuwzIZeI2pT7TlEWnZK4Yduwub6ya+X1ydpTmWk3gCxZHmMvF+gj14G8Sw6U2PZMknRj7L0D81NYl7Dd3fl9ZHC/tjdpBLf9ILL+rsIEDHAcK7ixw2J+HddBwoFbVg6bgCDg+l8l3u8knHWZjEH6K6kc2HpXUv//6jJoYxl5i+xMyABnew5bBse0FCD/DJikAcpmGzGAbli2ZXNUA+p6VkohyWCHXtqEXmGjYnNS3s+bmMntGxd0lNYJmMnyd+UTsPSstD7PuVWIq5yNC/WJjQyLMl953NydqNohbp6ZIldTksw47DjZXjytssTGnzHhq3yIb90rCZifc01kt6GgyyKcxlbC7Ge3X8PIlhGreUPgsQ3I4nQOYaqYmSoloOy8pj5bHb0TxTF5gdpL5LNx4UfzOd35ZgD/E+DWwSz1quRfnsDU2NYa7ohWqpM+YP03FAUOaucL3mqQxLLZIx6rvwNmJzkksz+SHxy9rxpKzfhy9EdZNkU/T9RcfOFwsbf5iOpwVuKFABw44/zJbD4m8mm+Lzt7RMUb9KGRh7l/ou6iN4G1ipI8wMA0d18kPCe8Rc0pFThYeGGNS2EdpFeI84q0nGyK7semFF9tr2Udsu7joW4/T/TeeGys27CtbEB9r+hPhCdByQC38oasz8KMmYqhZS4qmnbZ+s24q3EbUYf4+Rk5ocAxAbrlqAYI9onvglom9p/HL5aVfDMpfoP6o7fiKhXTg88vGLmv3v5V0o4oTQA3QdEk89KxV93ysa7y++92tbcddi5ZjpZ/iUzlzGXO3ZszoWMHOZwTd1w7ek8X4e/oWMnGJ2UPPLGHaq19H8sAQiBREZ72XohC4ni75OL12HRGH4lF5+pYLeyepY+SxDJ8imtG2f+MN0P0c+K2YGmxN7FQi5NLFexs5oYuQGx6paNj5DbRuLcSY/qKyfc0vPVzPDyGni/VofIbhdattwVGNlyS3hcCM2zEVNT9/gUtfOfQcJdIuVY+Q0c1dKhC5hlfUgim42sPAE2P0z8axFDHJppvtIX8VepWs6pHY9CFaOoRP0v6q32Hq4U6zr5vLR8bQ0bMLbgPGF1GdTzI8xelrH3/9fAfsqsADDga8JX4jqRhxeUZPMnC5MMj/K0vztMHHnTUrAyjE/wvwIhg0xVEHzt9ow+j9iXTcrD19S+/Qu7TTfw6rE7mFVYncp1n8AuY1j3tEIhhEAAAAASUVORK5CYII=",midjourney="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjQtMDMtMDFUMjM6Mjg6MDYrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjQtMDMtMDFUMjM6Mjg6MDYrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDI0LTAzLTAxVDIzOjI4OjA2KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7ZULmeAAABgGlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kbtLA0EQhz8TJeKDCFqIWByiVkaiQtBGMEGiEERiBF9NcnkJeRx3ERFbwTagINr4KvQv0FawFgRFEcQ6taKNhnMuCSSImWVnv/3tzLA7C7ZQSk0bjW5IZ3J60O9VlpZXFEcBOw046cERVg1tan4+QF37epJYsQeXVat+3L/WGo0ZKjQ0C0+qmp4TnhEObOY0i/eFu9RkOCp8KTykywWFHy09UuaCxYky/1ish4I+sHUIK4kajtSwmtTTwvJy+tOpDbVyH+slbbHM4oKsfTJ7MQjix4vCLNP48DDChHgPLkYZlh118t2l/DmykquK19hCZ50ESXIMiboh1WOyxkWPyUixZfX/b1+N+NhouXqbF5reTPNjABx7UMyb5vepaRbPwP4KN5lqfvYExj9Fz1e1/mNw7sDVbVWLHMD1LnS/aGE9XJLsMm3xOLxfQPsydN5Dy2q5Z5Vzzp8htC1fdQeHRzAo8c61X+6PZ6+i2ytSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG40lEQVRYhe2YfUwTaRrAO1Om2FJLpR90+VQ+lNKCrCYnsNHdI2CODwO9k2zMsUpOkkW7uIkXD4/kIurqxXiinrInJqya09NdXTkO77SLfORidFUQIbdL+JAvO9BCO7TSznTaed/3/ujJms0GOvhxuwm/PyaTt5l5fvM87/vMO8UQQoIfH/j/W+CHWdTiw6IWHxa1+PDT16qvr3e73a9P5UUC1UIIXbx4ceXKla2trRDC1+r0v3gB0tXVJZfL5XL57t27IYSBX7gAeBRRq9XK5fLu7m6SJA0Gg9PpfH3J4qEVHBxcWVl57dq1K1euREVFZWZmkiQpEAhqa2vv3r3Lsuyr9OKVW6vVqlarEUIQwnPnziUkJJjNZpPJpFAoDAbD9PT0qyoiPy2fz6dQKHw+H0KIBaC29tN31qU/fTrS2Pj3UHmoTqe7f//+K5l2/LQQQtu3b+/v70cQAQSBe2b/+vXr3tbRjPvCxQs4jkul0nv37r28GW+tO3fuVP1+L4SQI/vH3ssaJsS/1YSU/Pp9r4/dtWvXhg0bEhMTTSbTS5rx1no2M7M2Wev6urN/xfKnwiCrTuSpVrz/tuT06T87nc7Vq1fX1dUlJSX19va+US2GYd7C8f6wiFERZn83xHeUcB3Hpr9SJ8Yv7evru3XrVkZGRmtra3x8vH8KLgze70Qcx3wCxDE2aYFYls8KJL4lmYQsxVVZHfZhRVlW1nsajYaiqNLS0tLS0oW/D/g+h9frDSWE0zuXckfEzs8w0IdxNmHnsFp3JD44NfzCpb92dD5MS0tzu906ne7Ro0cLm2QL2UEggPBYFmp80p8HcQqscUhd+Df8W2YJnrrp8KE/rU5Ji4yMfPz48fXr1wsKChaWLN5aEEKEIaEeC8rGuaXBx/4j/42Jm6Bj0fguH32Y9P7s8y8+37Nnz759+xISEvLy8s6ePbsALQzx/E5kaFq/SjrYLXJiop3/knwxKAZcpMD8OwFVEOah0775iy/qRnP7V3HxcWNjYx6PJywsbGZmRiQS8YrCO1uOZ9Pr31GOA1nx1eBrA6GQWSt8cpKg8lbYR3/R/aXO4R4ZGJm0Tn6003j+/HmxWLxt27arV6/yjcI7W8dqjjHK8xdstqfOEO5ZFiSrCCZCaxte++R2GO3WFyd41kyNW8c/2Fryy82/6unpYRgmNjaWJEmCIHiE4bVAOAjD39KE712F/yEJq6gUFVmF+fDdpDvl4tMfSw8019wFHtD7bW/GukwP41GpVAghAEBycvLY2NjrWolIIKCmpydZyglCRdYPhZYKiU+4buj68vEbQaHj2z41ZH+cjhFoxYrlk1MThIjIycnp6+vDcfzMmTMHDhzgVRY+RUSCw0ePHGn/0htcgD3BcOrfYpaULmEwDPchDkeYVr+qqKgoOzu7rGx7U9M/Ozo66uvri4uLY2JisrKySJKUSCQBhgoK/AmoaeqPn3wCZNJg72d7dxvz8o7K5aolYiIIw1ngo2naYrHc+EdTTs5GiqK6u7tTU1OFQmFLS0tPT8/MzIzFYomLiws4BYEBADAajTExMSdOnPB4PAAAAMBsB4cQ+s8hhC6X69KlS2azGT4HIdTW1uZwOFwul9VqDSRcoNlCCLEsOzAw4O9AszazTrMwDKPVaru6uhoaGiwWy8TExPDwMEmSdrvd4XAEBQWNjIxoNJq5w80/txBCFovFbDZPTk7abDar1Wq32+12O0VRLpeLpmmaphmG4TiOIAiJRCKTyZRKpUqlUiqVarVaqVSGhIRIpVKz2Ww0Gk+ePLl161Ycn2epBaQVHx9PEIRGo5FIJFKpVK1Wq1QqhUKhUCg0Go3/KJfLCYLAMOy7Wz8/hxC2tLTs2LGjurq6pKRk7nDfRZ2Xurq6srIyr9fLcdz3dgTwh+A4zv8rx3EAgIqKimXLlg0MDMyOz8v8fQshFB4efvny5TVr1hw/fnx2fGJiIjc3V6fTlZeXu1wu/6Db7TYajSkpKRs3bhwdHb1582ZGRgbLsuXl5QaDIT09va2t7RVki2XZpqamiIiI1tbWqakpvV5fVVXlcrmGh4ejo6Nramo4jtuyZUt+fr7FYrFarZs2bdq8ebPX6z116pRMJpNKpQ0NDQcPHtRqtTabrb29PTIysrGx0ePxzB13Li0IYWFhoV6v7+/v91fH6XQWFRUlJiYqFIrbt28DAPzqhw4dio6OjoqK2r9/P03T/vK1tbWFhIQkJycXFhY6HA6EEABgaGgoJSUlNzf3pbQ6OjooinpxEADQ3Nw8ODiInjcIP52dnQ8fPvzeHYaGhkwm04sdDiFEUdSDBw/m1uK9g3gz/PT/dnuTLGrxYVGLD4tafPiRav0X47gQyEklwQsAAAAASUVORK5CYII=",mindmap="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAD7NJREFUeF7tncuuHLcRhtl+CGXjjXYJ4Ky9tKRsrctSWdsvETiAJMABkn2QV4iWunjvo2eIn8cTsGc40zPTzSqSVcVL/wcwLGnYvBTrO38VyWFPDj9qFjh8/+rJXPlX7vh//3M4fLfR4KXMpcDDVdlp+nL199/dw/TLh+syaqPZZ8XTPoctO+orEC4ArDm8bMPXtR1BCRABHhFbA5BEM55hmA5vTo9ag5DY4xmadzM7nz68TX94308AEGL+uwSC8mkAQ1no/DkAWTHVDEVPCsGe7tWCDyEsg8Lc2weAhNx5X1BsIzVN7wDKxTy7B2ShFu3nEmVKkfr0rCx7h2WXgACKRFZ2nLPsChCAkQjGWvGdhWC7AOTw4tXb0wYdwigBRk77LbvIVYYG5ARG2K+Qcg3Us7TA4IoyJCAAowLDg4IyFCAAowIYt00OBsoQgCD5bgCMQUHpHpDD85e/Orc4Ldugr+y2SwOoSbeAIJzqCLuOQekOEIRTHYFx3dUud+a7AgSq0S0ci8NNfZ316gIQqMYAYNyoyfT549MeRtU8ICc4fCKOn9Es0EFu0jQgCKlGI2JlPI1D0iQgCKl2AEYnIVdzgCCk2h0cTSfwTQGCkGrHcIShNxZyNQMI4AAcZws0BEkTgAAOwHFngUYgqQ4I4AAcmxZoAJKqgOCgIeBgWOCh5qZiNUAAB8M1UCRYoBokVQABHPD8DAtUgcQcEMCR4Rp4pJqSmAICOODpAhYwVRIzQLBaJeAaqOJoAcPVLRNAAAc8W9wCRpCoAwI4xF0DFRoeS1EFBHDAl9UtoKwkaoAADnXXQAPBAofpqda7GvUAef7ygBmEBcwsoASJCiBYzjVzCzR0sYDK8q84IAit4LPVLKCQj4gCAjiquQYaVspHZAFB3gFHbcECgvmIGCDIO1rwDPThZAGxfEQEEIRWcMzmLCCUjxQDAjiacw10SDAfKQcErx+AQ7ZrgeJQqwgQqEe7noGenSxQGGqVAYJVK/hhBxaYPn/M9vPsB6EeHXgGuhgskB1qZQECOOB53Vkgc28kDxCEVt35BzrsslQkGRCoB1ytWwtkJOzpgEA9uvUPdNy51IQ9CRCoB1ysewskqkgaIFCP7v0DA0hTETYgUA+41jAWSFARPiBQj2H8Yx7IX19fxvPNN8c///bb5f//O/15rFGfR8PNRViAQD0G8RIPxRIMalgekvfvnRsRFqaK8ACBelCu1PbnqWDcjmZMUFj7IiQgUI+2fT/au1Iwbiv/73vn/H+j/DB212lAoB59uoM0HMEKXk1++nufNrnvNakiUUCgHp36gRYcI0JCqAgA6ZSBzW6nwuEVwa9ehZWsP59WtCi7jBNuRVUkDgjCK8pN2vrcO/c/fqb75J3bQ7G1OuXref3aOQqWQSCJLfluAoLwivaz5kp4OGJOnerQHDVKrbM5oznnImHWNiD4rnmLU7ndJ8qZcx2ZUpPcetuy7maYFQMEl0+3NYnx3nz6sP25hBNr11/b1hsqsgoIwqvas5XYfiz3kFqWjSmUBICJQ1Yovqoi64AgOVewv2KVsdzD71lIHRWJQfLileIATarmAQL1MJkM2Ua2wh8p9Qi9jSnVCCqyEmbdKQgAkfVd9dpiTiupHmEgWzCOAIi7/976PSBYvVL36bsGqP2GWI8eP3buxx/WS2gAshXOSauV/Sz4Fu/CrDVAsHqlPTk+lvc71yVgcPqokRds5SFjAHK3J3IFCMIrjtcVlKH2KgqqvntUy2EByOGN5DyhrpMFLOEIRtdQkLFDrLsw61pBsLyrw3MNOPxIkIPkzOdVHgJAckyY8gz3AGFKndyyGitLY69iHS27WO49A4L8g+t1ieWoA4SJ1SUVlwbEekk5abCChQGIoDGpqmJnmKhnJT6XDLNisGvkOxLjz6vjHGZdFAT5R54pY09xwiuJYyB/eOTco0fbPZFw3lgepbViJj8j3BoBCNdSReUoQCRDIM3TttQ4JFWqyOByD4cvUc0Kcvj+1RM3HX6Vqx41zRagVq8kHYtqKxdGqt7x1OMqUT8C8uLVW3fA/oc41pRzSQLiO08tCKTeb0X137cpPQbxScis8JSoA5BM+7EeoxxM2rmoUCh0OgaKr8Mfg+HcwJirSizjVS50unnxCMgoBxTD5N7aNtw5K5EQp8ybNSCcsO62/0ubpJwNGxmOo43mRL1/QMJvOs5vvOAMVvfN1gAkB5IU6H3ZUfOOaztcAdLfCV7K+ahJT43HqfrWPqf6KB1iLfvADbdSxzW+cpwt4leygoL0A4j0xGtOeE1A/DRTN5IAjrgFfKLe1RIv5XCpEx7Ka0FC9VdTQSTVRMs+ufNl9dwMSC9LvJSzlRpNI66m+mwFSLBNiqKEK0lHus091Uf8SlYXgOSEVSEhr7ky0xogt6ri/x7u5A2fxa4kTXWw3st3AQgXjth9swES6/tmWwakd+e16H8XgPS8OwxALNxYs42HqelNQko9cpNHKhbPrfd2qgCIpvNa1N04IDH1KHViLfiW0wZALJxYs42GARnhvlkAoum8FnU3DIjVfbOa35IDIBZOrNnGDEibu+hW983GnLg0jAMgms5rUXejgFhfDqB1UwcAsXBi1TbaVBBrQP71T+f+9Md7Q0NBVJ2vh8r7A0TiAoLbmfnpb859+639fFkfNbEfYfcttgmI9f2vAKR7R9YaQJsbhbHYXUNB/vNv577+WsvG2/VCQextnthim4BY5yAAJNFtdlO80X0Q61d91br9EArSOmmNAuLNprX0ejsl1JETzSkEIJrWlai7YUCs8hBqx77EzH955tyzZ8hBSmxY99lOAZH69p/2fbPYKKzr3qWtN/99kN7vmwUgpS5a9/nmAaEcLHenm/o+iIVC+alHDlIXAKr15gGJJethcKnOTEEn6bhUWwCEctG6n8+AtH6zO3eVyTub/9m6XpR752yuKq1NJQCp6+ClrXdzLxblaLeGCFfW+H/nXEmaq0bUBFD9hoJQFqz6eV83K1LOVmrK1FCN0x7VZwDCsWK1MktA/MtznlTrCbdhyuG49dyWkwyrlnVT/QUguTNm8Vynt7tzcxKuCbXgCOFdLMSrDcjapXrWr4jgzpN9uQUgvVw/mvLbmTJouFJT82rNFhXE98nfphi7cdL6NRHUXNX4/OoFOq2vZG0ZKOxn+M+5V4xagBH62xIgVF+2bGzxmogaAFBtDgHIcpABEP/bcXnfbHi7lC+rqRZrBqec0iLEovpAOUr4fG+gLN9R6G3Q7O0m3AlssRzlnNqAUNe25thMM2fL6Y/SM1evgT4B0sdKlpJBVKqtBYj0QobVqp/KJORVCkDy7Jb2VA1AtOEIFhhZSU75hx/q/Aq2WUF6TdTTXNa2dA1AOGHV8qTBMi8Lx3GoVa7RIQEgRpxYA8KBg/ubnzrxHEyocYmG0fRsNRPCqysFQR6iMCuWgFChFReMWzNQY8itV8HcUlUCEClLUvVYOldMPUrPmVHjGElFFuHVvYIgD6FcPu1z6re6r22ZD6TVfin96JFz/vvvWz8Sy8kxSEZSEQCS64WZz9W6UkgjkY6NZRAVWYZXdwqCPCQTgthjNQEpDa1S8hEJlVIwf2KV8wHF5TPnZd7wj02/szBxtE0Up+J3zU5qOK3VfWWadtmq+ya8WlcQ5CHyU1MLEgCSNpccQBBmpdmUXZqzR8GujFlQIy/Ygl06nGMOUbLYbf6xqiAARNLkN3VZKomWw44KyIp6bAOCMEuPEu4OtUQPoCBsK66pxyYgUBG2XcsKcr/kFWvl8WPnfvxhvYQGIFuhopZilVmY+/Td6lV48G4VK3yAw4tc21Yu18qrInoGZCO8iirISUXafEV0ZZ9srnmrpVfrFxsZGXorvOIAgi9RGU1SUTOxFTLJMCu2yKCxpFxkFObDEfWgAUGyzrRy5WIW56Ri6jFoeEUCgmS9suOnNK/5qgjfD+pFQ53epxULr3iAQEVS3LReWWqPpSQEitU9sHqwAIGK1PP55Japg5Gpx9Ip6HwHS8BLHqDsA5R68AHp8eZFWVv2URvHobn3W3HrCq+d6MNCl14SyXkouLkPcjte3JvViQdwHDsMJXxZy1+uFy7b417Y0HNo5W8r+fyR5fusQnOYBRXphJDTO1Fil2ZLjKTj0Mox1YMdYgV7QkUkPMuojhQlSe1Sz3AkqEc6IFCRVFeqW14aks7DqnkyEtQjGZDTihaOn9R1+7TWpU4Pp66ApfXSrDQ390hO0s9hFlTEbDJFG8oFZRAwctQjS0FOKoIzWqLea1hZOGL/+vWl0fBvYTfcr2r5/zrdHd+yZqp65AOC3XVDj0ZTIhZIzD2yQ6zFihZURGTmUIm6BTLhyFaQBSRI2NVnFw2UWiAntCpWkDkXQcJeOnd4XtsCBepRrCBI2LVnF/UXWmDzu+bcetlHTbYqxHfXuaZGOXMLFKqHiIIg1DKfdjTIsYAAHGKAINTizBjKGFqgOLQSSdKXA0aoZTj9aCpqgZJVq9uKi3MQQAJvbcoCQqGVuIKECrH025S77KszwnCI5iBXSvL8JXbZ9+WaLYxWLO9YDkY0xDqrCM5qteAwu+qDZN6hDsi8qgVIduWgVQerEFqp5SBXoRaOolT1m100rgiHWg4CSHbhmvUHqQyHCSBzuAUlqe9Mo/XAAA4zQADJaN5ZeTxGcJgCMkOC5d/KnjVE8yrLuVuWUVnmjU0DIBnCSWsNwhQOcwU575NASWo5WM/tmsNRDRCEWz37aZW+V4GjKiCApIqj9dhoNTiqA4LVrR791bDPhqtVzSTpax3BPomh0/XSVANwNKEg58Qdm4m9uK5+PxuBoylAEG7p+10XLTQER3OAAJIuXFivk4fp6fTLhwe9BtJrNt8o5HYRG4pcSw1R7sEdpnetwdGkgiynG8n7EM4fH0RjIdVtZ5tVECTvO4CjwZCqO0DOoOB4ykjENBtSdQsIEvhB+Gg8pOoakAUk3znnngziMnsZRjeqsZyQ5nOQLe9BAt8RV52pxhCAIInvApCqBw0lLNStgmA5WGL61eroMpxas8YQgEBN1Bw9veKOw6nhAQEo6f4s9sRgYAS7DKUgt5ONRF7M/bcrGhSMXQACRVED5MFN05fp04e3ai00UvHQCgJFEfeyYZJvrmV2BciVovi/HA5vuIbaebndgbGrECvm3Kc8BTvz90baLRRLU+xSQbaAQVLvjl9WavS7GTVUHICsWH0G5RiC7UFZAEWEPADC+LW0AGaEnOUMhB96i9/iY0yJWREAkmHqzoABEBlzjCS9wGh3y8f+dXNfnY7fH8My/2N9HP8IwjR9cb8fcwmoQ/kkQ0HKbRitYX5XY4AnlLxAFP5lDab12z08AOEHICjPnnP/B6B0AiOP7uzBAAAAAElFTkSuQmCC",network=""+new URL("network-0f22586e.png",import.meta.url).href,sdxl=""+new URL("sdxl-7c167940.png",import.meta.url).href,suno=""+new URL("suno-e14fd81c.ico",import.meta.url).href,tencent=""+new URL("tencentlogo-358d1ec1.png",import.meta.url).href,xunfei="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDE6MTM6MjIrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDE6MTM6MjIrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAxOjEzOjIyKzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7O8zxmAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAY2SURBVGiB7dl9jFRnFQbw351dGKCwUJuO/WAp/XSLQFtpdYwZU5I2Wok1bNOq2ND6ERONVkO1KjE0pmpqsdpEbTQaq8ZUbQJ+BZtq8CODcRItqdriChZCIwoDkuVjdzs7O3P9471blmXu9s7u8odxn+RmMnfO+97nueec95z3HWYwgxnM4H8J0dl+QDVyDa7EjkLs4Nl6Tu5sTTwGnfgYNlQjF1Wjs/Pypl1IqVKLSpXaeLI53IsNnB0x0yqkVKnlUMC5Kc/aIHjn4ukWM21CEhFL8H7cmGIW4SO4D93TKWZahJQqtQ5cKrzxOzBrAvMIH8InTKOYzqlOkIi4XCB3N46jY4xJs8WwCB9Inv957J8qjyl5JBFxBe7Bu7EAXegak/AnMNxieCSE4aZq5NKp8GAKQkqVWieuEkTcjfnJT/NxIc5Jvv8bVYykTPUefKYauWqyXJikkHEi7nKKNOFNX41uKMQG8EccnWDKO3F/NbJsMnyYhJAxIj7qTBGjuA49yUoGv8AeNFKmjYRFYlM1sqJdTrQpJCHWLXjiTsxNMV2KNwg1BZ7FEziIOGVMJ9ZiYzVyRTu8aN8jC7Ee75IuYpTULbihVKnNKsQa+AG+hyPSxczGW/HhamRRO8QyCylVarOFt/xepxJ7IrwKtwv1RSF2GI/iEeyWHmbnJON6s3KjPY+cJyyX3RntO/AW3Faq1M6HQuyfgpiN+A6e19o752N9NXJZVnKZqmqpUpuFNfi+1sk9Ef6Bz2FLuZg/AUk1X4qVWJFcVybXqLcP48FC7EtZHpJVyEJ8TciN8WjgOQyimDLFXwQx28rF/MDYH6qR+ViMCwRvr8JNwsr4a6wrxBMu3cgeWufi5pTf9uEbeAx7U2xWCOH0tlKldppHC7GTy9f2LV6+tu+FXYte/TgeElr+7wqF9bosBLMKWSbE7Xg08Gf8GD/HFqHXGo9ICKNNWDdeDFbj23es3rJ5+dq+JfvnX7IdX8SPcE0WglmFrNA6DI/iaRxKrsfwM9Ra2EbCSvYprEz6tFE8gzcKK+JX1tz81L23r956EFuFFudlkVXI0pT7R7C7XMw3y8V8U6jeX8Y2rRvF0bl6nV6HdiSfXXgN7vnbomWbPn7Dw1X8MgvBrELSitOgIAaUi/kR/BUP4CcYajEmSsjmx9w7PMY2J+TG259cvOYuE/doLyGrkLTVLTZuv1Eu5utCS7JRqOTHWowbv/FqOr2eRIKY25av7bskC8GsQlolMCE8ztifJ57Zh834U4txz6E+5vsizGvB7WK8LgvBrEIOpNx/Ba0bvCRn+p2Z+AP4YfI5itdq7fW5uCgLwaxb3WdT7hewqlSpLRit2lCq1LpwidBgrhpjP4xPY2e5mB/ba61Lmb/pdM+lIqtHnhYSezw6cC3eNO7+oHCicrWQ1MfxK9yKr48VXejtuxzvSHnugBCiL4usHjmG7UKLPR49eGepUtuJfeViPk5yZFtypaLQ2zdH6ApanbrEQm36QxaCWT0yGtetWu8c3oz7xBYXnzrZ0cLmNBR6+6JCb1+X0NLfmGLWj+3VrT3Tt/yWi/lh/E7Ye7fCPKyPm/EXiFYte+TQggvX7T5DUKG3L1fo7ZsvNITfFA4eWglvCkdEj2fhRxun8aVKLS/E+LeECnwmYkYGGnsG9w89MbB36MmhAy8eqB8fGU3WTmFxuCUR0C39RR7B5urWnoey8mvrlC/ZIN0v9ERz0uwaQw0n9wwOntg9+MLwf4YPjgw04ngkvkBoTybaIos6oxc1bYub8fuqW3v6s3JrV0gkhMXDwp4hP5H9yImGgX2DBvYNqffXNWpNcT0WN2LxaD8QEeUiuVmRXD430jG34/cdc3IffP7B7l3tcGv73DXpWq/FZ1GSYccYN2P1/hHDR+tx/VhdY6AZNevNOI5FuY4o7pib09nVWZ993uxKvjD7kzten8+0Uk1JCC+JWSkcWt+EV052rgT9+C0eKBfzOyczwaQfnoTZEmH7e6tQTxa2Oc0Qdgmt+lfLxfy/Jstnykf6pUptHq4XiuX1uEzwUFr+1IVCt1fYXf4Uv0l6s0lj2v5oSbavPYKYHuEwocup1a0mtCqH8HehK34mqVEzmMEMZvB/hv8CkprPZL58AJQAAAAASUVORK5CYII=",zhipu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6Mjg6MDUrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6Mjg6MDUrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjI4OjA1KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz56A23nAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAV7SURBVGiB7ZldbBRVFMd/d3a37RYGho8aW6VIMUJMCdaga1CBATQKimgkSogkLMRo0AdUDEZM1FR9ABONxoAxo4mKhMT4UNOgESb4EZ0ooMADn5HPoKgwZdrSbmd3fJjdcrvt7sz2423/yc3mnnvvuec/M/fcc85CGWWUUUYZZZSBGOkNNN2pBKYBjcDNQDdwHjgF/GCbatdw7DPsRDTdiQDLgSX4xt8ERApM7wC+Ad61TfX7oew7bEQ03VGAZcCrwPRBqPgceN421b8Hs/+QiWi6I4ClwGvAjCGqOw7cbZvqX6UuHBIRTXemADuAWQWmnAQOAoeyv4eBWuBWoAm4A6jLW3MImGOb6qVSbBk0EU13pgPfAdcNMLwH2Gib6o8BOuLAFmBl3tBm21TXl2LPoIhoutOEf0hr8oZ+Bl4Bdtum6oXUJYC1wDtcdQpdQINtqufD2lQyEU13ZgOtwFhJfBl4AmiZNmV0BTAFuBGYmm0TgdP4Z+BEtp21DJGR9H4GrJB0brRN9Y0RIaLpznygBaiWxP+OGRVdXXtN1X3AA/ifmhJCXTc+sU+ArUf+bJ8DfC2Nt9imuiSsbaGJaLozGjiKf1hz+Ke+Nr4/XhVZSDjjC6Etk/E+PHaqYw0wLis7b5tqviMoiGgJm72ARCISEV2T6+I1sahyb4i1bsBeYxVFrK+sULzuVO/XVl1kfj+EIqLpTh3Qx4vU18arYtF+L+Es8C3+GZDPQxu+m50qtWnAYiCeW9zjevIX4pbAI/QbaUZ6QuPGxKiI9SFxENgEbLcM0VNAx7ls6w1FEkmvBngGWOumvQmZzFVHF4mIkj7VwDOi6c4twL7cXEURNEyqJqIIgD+ADZYhdpayaT4SSa/6Uluq+cLF1LqcLF4VOVBfG58PjLIMcTpIRxjWq5EIT9QqciR+A+YNlQSAZYjOCxdTqiyrjCl78SOGzWF0hCEyT+5oY2IAe4F7LEPYoSwNgKY7M/EfmG+UwFMivAUkgGWJpKcH6ShKRNOd8fihOACxmIIQtDG8JATwNtJbVxTxZs24yrPAU1nRuoHWygh6IxPlTkVUAOy0DFFSQBeARcACqX/STXvNwJNcdfdNQUqCiMTlTtZTtYS3sTg03WkEPsoTb8hmjfLFe30i6U0opiuISLpPx3ePe0PaWRSa7tyGHyVfK4l/wU8LAP7LW9JQTF8QkSNA773Q3pnGTXsLw5laGJruzAV2AeMlsQ08LUXNC/KWFXXBRYnYptqjKBzL9TMZj/YOd1V4k/tD052lwE5AdrcXgLm2qf4OkEh6o+jrLdssQxRNgQPdr+exRe5fupxqaljaNTek3b3QdGe2pju7gK+AKmnoDH56e0CSrQQqpX5rkP4wRLYqCr2uNtXjCdvp2V13f2d+VjcgNN2ZpelOK/ATMD9v+Dhwl22qR3OCRNJ7HHgvb96moH1ChfE197Qv73G9bflyRaE1k2EPfgizH/88NWbbDHy3eWcBtfuAxXKhIZH0HsOvpsjloy8tQzw6LEQA6hZ1NndeSb8cdn4RHMOvuGy3TTUNkEh6DcBz+BegTOIIcLtliMtBSkvKEG94qOt9p91dm86ESsfzcRJ4HfjUNlUXIJH0ZgEvAo/Qv4h3DlhoGeJwGOUl5+wzV7gPtrW7O5wOtyqdDiSUUgQnolFl26Taql+jEWUyffORxgLrLOBhyxAjV3wASCS9es/zXrrSnVl1pStd6aY9XNdDCKisUHrbAIlXEM7gV1M+sAxRUk14SAW6bGL0LH45Z3zA9GI4hO+ZviiSmBXFsNR+sxfYGvwAcCowmeLZZwd+CnwU+NgyROA9EYQR+VshkfSi+GTkutYpsjm8ZYiSa7tllFFGGWWUUUYI/A/6RZ4aHhranwAAAABJRU5ErkJggg==",_hoisted_1$k=["src"],_hoisted_2$j=["src"],_hoisted_3$i=["src"],_hoisted_4$f=["src"],_hoisted_5$e={key:4,class:"select-none inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-200 dark:border-gray-700 border-solid dark:bg-gray-500 text-gray-600 dark:text-white font-semibold text-base"},_hoisted_6$d=createBaseVNode("span",{class:"flex items-center justify-center w-full h-full"}," AI ",-1),_hoisted_7$c=[_hoisted_6$d],_sfc_main$j=defineComponent({__name:"Avatar",props:{image:{type:Boolean},model:{},modelAvatar:{}},setup(k){const m=k,M=useChatStore(),G=computed(()=>{var D,B,R,U,K,z,e,ae,ie,he,J,X,W,L,Q;if((D=m.model)!=null&&D.includes("gpt"))return gpt4logo;if((B=m.model)!=null&&B.includes("dall-e"))return dalle;if((R=m.model)!=null&&R.includes("midjourney"))return midjourney;if((U=m.model)!=null&&U.includes("gemini"))return gemini;if((K=m.model)!=null&&K.includes("360"))return logo360;if((z=m.model)!=null&&z.includes("qwen"))return ali;if((e=m.model)!=null&&e.includes("ERNIE"))return baidu;if((ae=m.model)!=null&&ae.includes("claude"))return claude;if((ie=m.model)!=null&&ie.includes("hunyuan"))return tencent;if((he=m.model)!=null&&he.includes("SparkDesk"))return xunfei;if((J=m.model)!=null&&J.includes("glm"))return zhipu;if((X=m.model)!=null&&X.includes("suno"))return suno;if((W=m.model)!=null&&W.includes("network"))return network;if((L=m.model)!=null&&L.includes("mindmap"))return mindmap;if((Q=m.model)!=null&&Q.includes("stable-diffusion"))return sdxl}),V=useAuthStore(),q=computed(()=>{var B;return((B=$.value)==null?void 0:B.appLogo)||V.globalConfig.robotAvatar}),$=computed(()=>M.groupList.find(D=>D.uuid===M.active));return(D,B)=>unref(isString$1)(D.modelAvatar)&&D.modelAvatar.length>0?(openBlock(),createElementBlock("img",{key:0,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border da r border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:D.modelAvatar,alt:"Robot Avatar"},null,8,_hoisted_1$k)):unref(isString$1)(q.value)&&q.value.length>0?(openBlock(),createElementBlock("img",{key:1,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:q.value,alt:"Robot Avatar"},null,8,_hoisted_2$j)):G.value?(openBlock(),createElementBlock("img",{key:2,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:G.value,alt:"Robot Avatar"},null,8,_hoisted_3$i)):unref(isString$1)(q.value)&&q.value.length>0?(openBlock(),createElementBlock("img",{key:3,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:q.value,alt:"Robot Avatar"},null,8,_hoisted_4$f)):(openBlock(),createElementBlock("span",_hoisted_5$e,_hoisted_7$c))}});var katex$1={exports:{}};(function(k,m){(function(G,V){k.exports=V()})(typeof self<"u"?self:commonjsGlobal$1,function(){return function(){var M={};(function(){M.d=function(Tt,Pe){for(var qe in Pe)M.o(Pe,qe)&&!M.o(Tt,qe)&&Object.defineProperty(Tt,qe,{enumerable:!0,get:Pe[qe]})}})(),function(){M.o=function(Tt,Pe){return Object.prototype.hasOwnProperty.call(Tt,Pe)}}();var G={};M.d(G,{default:function(){return Ua}});var V=function Tt(Pe,qe){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var We="KaTeX parse error: "+Pe,at,xt,Rt=qe&&qe.loc;if(Rt&&Rt.start<=Rt.end){var qt=Rt.lexer.input;at=Rt.start,xt=Rt.end,at===qt.length?We+=" at end of input: ":We+=" at position "+(at+1)+": ";var Kt=qt.slice(at,xt).replace(/[^]/g,"$&̲"),rr;at>15?rr="…"+qt.slice(at-15,at):rr=qt.slice(0,at);var mr;xt+15":">","<":"<",'"':""","'":"'"},K=/[&><"']/g;function z(Tt){return String(Tt).replace(K,function(Pe){return U[Pe]})}var e=function Tt(Pe){return Pe.type==="ordgroup"||Pe.type==="color"?Pe.body.length===1?Tt(Pe.body[0]):Pe:Pe.type==="font"?Tt(Pe.body):Pe},ae=function(Pe){var qe=e(Pe);return qe.type==="mathord"||qe.type==="textord"||qe.type==="atom"},ie=function(Pe){if(!Pe)throw new Error("Expected non-null, but got "+String(Pe));return Pe},he=function(Pe){var qe=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(Pe);return qe!=null?qe[1]:"_relative"},J={contains:$,deflt:D,escape:z,hyphenate:R,getBaseElem:e,isCharacterBox:ae,protocolFromUrl:he},X={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(Pe){return"#"+Pe}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(Pe,qe){return qe.push(Pe),qe}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(Pe){return Math.max(0,Pe)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(Pe){return Math.max(0,Pe)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(Pe){return Math.max(0,Pe)},cli:"-e, --max-expand ",cliProcessor:function(Pe){return Pe==="Infinity"?1/0:parseInt(Pe)}},globalGroup:{type:"boolean",cli:!1}};function W(Tt){if(Tt.default)return Tt.default;var Pe=Tt.type,qe=Array.isArray(Pe)?Pe[0]:Pe;if(typeof qe!="string")return qe.enum[0];switch(qe){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var L=function(){function Tt(qe){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,qe=qe||{};for(var We in X)if(X.hasOwnProperty(We)){var at=X[We];this[We]=qe[We]!==void 0?at.processor?at.processor(qe[We]):qe[We]:W(at)}}var Pe=Tt.prototype;return Pe.reportNonstrict=function(We,at,xt){var Rt=this.strict;if(typeof Rt=="function"&&(Rt=Rt(We,at,xt)),!(!Rt||Rt==="ignore")){if(Rt===!0||Rt==="error")throw new q("LaTeX-incompatible input and strict mode is set to 'error': "+(at+" ["+We+"]"),xt);Rt==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(at+" ["+We+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Rt+"': "+at+" ["+We+"]"))}},Pe.useStrictBehavior=function(We,at,xt){var Rt=this.strict;if(typeof Rt=="function")try{Rt=Rt(We,at,xt)}catch{Rt="error"}return!Rt||Rt==="ignore"?!1:Rt===!0||Rt==="error"?!0:Rt==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(at+" ["+We+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Rt+"': "+at+" ["+We+"]")),!1)},Pe.isTrusted=function(We){We.url&&!We.protocol&&(We.protocol=J.protocolFromUrl(We.url));var at=typeof this.trust=="function"?this.trust(We):this.trust;return!!at},Tt}(),Q=function(){function Tt(qe,We,at){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=qe,this.size=We,this.cramped=at}var Pe=Tt.prototype;return Pe.sup=function(){return fe[ve[this.id]]},Pe.sub=function(){return fe[ye[this.id]]},Pe.fracNum=function(){return fe[Ce[this.id]]},Pe.fracDen=function(){return fe[pe[this.id]]},Pe.cramp=function(){return fe[_e[this.id]]},Pe.text=function(){return fe[Ge[this.id]]},Pe.isTight=function(){return this.size>=2},Tt}(),ce=0,de=1,oe=2,se=3,me=4,Ee=5,ke=6,xe=7,fe=[new Q(ce,0,!1),new Q(de,0,!0),new Q(oe,1,!1),new Q(se,1,!0),new Q(me,2,!1),new Q(Ee,2,!0),new Q(ke,3,!1),new Q(xe,3,!0)],ve=[me,Ee,me,Ee,ke,xe,ke,xe],ye=[Ee,Ee,Ee,Ee,xe,xe,xe,xe],Ce=[oe,se,me,Ee,ke,xe,ke,xe],pe=[se,se,Ee,Ee,xe,xe,xe,xe],_e=[de,de,se,se,Ee,Ee,xe,xe],Ge=[ce,de,oe,se,oe,se,oe,se],Te={DISPLAY:fe[ce],TEXT:fe[oe],SCRIPT:fe[me],SCRIPTSCRIPT:fe[ke]},Ne=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Ze(Tt){for(var Pe=0;Pe=at[0]&&Tt<=at[1])return qe.name}return null}var ze=[];Ne.forEach(function(Tt){return Tt.blocks.forEach(function(Pe){return ze.push.apply(ze,Pe)})});function Ae(Tt){for(var Pe=0;Pe=ze[Pe]&&Tt<=ze[Pe+1])return!0;return!1}var De=80,Ue=function(Pe,qe){return"M95,"+(622+Pe+qe)+` +import{u as useBasicLayout}from"./useBasicLayout-18dd2ca5.js";import{I as Icon,o as useChatStore,d as useAuthStore,t as t$3,q as fetchTtsAPIProces,v as fetchPptCoverAPIProcess,m as useRoute,w as fetchQueryOneCatAPI,x as commonjsRequire$1,y as require$$7,u as useGlobalStoreWithOut,z as fetchSearchAppsAPI,A as axios,B as fetchUpdateGroupAPI,j as useAppStore,C as fetchQueryModelsListAPI,r as router,D as fetchChatAPIProcess,n as useRouter,a as useAppCatStore}from"./index-40baf14c.js";import{d as defineComponent,ae as useAttrs,e as computed,R as openBlock,U as createBlock,u as mergeProps,L as unref,W as createVNode,S as createElementBlock,a2 as createBaseVNode,a as inject,w as watch,G as onUnmounted,r as ref,a6 as createCommentVNode,a3 as normalizeClass,H as normalizeStyle,F as Fragment$1,a7 as renderList,a4 as toDisplayString,f as onMounted,y as watchEffect,k as withDirectives,a5 as vModelText,P as onUpdated,n as nextTick,B as cloneVNode,l as h$1,p as provide,ad as resolveDynamicComponent,a8 as withModifiers,V as withCtx,c as createTextVNode,z as Transition$1,af as withKeys,v as vShow,O as resolveComponent,ag as resolveDirective}from"./vue-c19408e5.js";import{h as commonjsGlobal$1,i as getDefaultExportFromCjs,g as getAugmentedNamespace,e as useMessage,s as NImage,A as NTooltip,d as useDialog,B as NScrollbar,C as NLayoutSider,D as NWatermark,E as NLayout}from"./naive-ui-64ac446a.js";import{I as IconWrapper,C as Close,R as Right,L as Left,a as CheckOne}from"./Right-153af9c5.js";import{_ as _export_sfc}from"./_plugin-vue_export-helper-c27b6911.js";import"./vueuse-motion-563da5fd.js";const _sfc_main$k=defineComponent({__name:"index",props:{icon:{}},setup(k){const m=useAttrs(),M=computed(()=>({class:m.class||"",style:m.style||"width: 1em, height: 1em"}));return(G,V)=>(openBlock(),createBlock(unref(Icon),mergeProps({icon:G.icon},M.value),null,16,["icon"]))}});function isString$1(k){return Object.prototype.toString.call(k)==="[object String]"}const Announcement=IconWrapper("announcement",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("rect",{x:"4",y:"15",width:"40",height:"26",rx:"2",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24 7L16 15H32L24 7Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M12 24H30",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M12 32H20",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),ApplicationTwo=IconWrapper("application-two",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("circle",{cx:"34.5",cy:"13.5",r:"6.5",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth},null),createVNode("circle",{cx:"34.5",cy:"34.5",r:"6.5",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth},null),createVNode("circle",{cx:"13.5",cy:"13.5",r:"6.5",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth},null),createVNode("circle",{cx:"13.5",cy:"34.5",r:"6.5",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth},null)])}),ArrowRight=IconWrapper("arrow-right",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M41.9999 24H5.99994",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M30 12L42 24L30 36",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Calendar=IconWrapper("calendar",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M5 19H43V40C43 41.1046 42.1046 42 41 42H7C5.89543 42 5 41.1046 5 40V19Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M5 9C5 7.89543 5.89543 7 7 7H41C42.1046 7 43 7.89543 43 9V19H5V9Z",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M16 4V12",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M32 4V12",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M28 34H34",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M14 34H20",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M28 26H34",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M14 26H20",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Commodity=IconWrapper("commodity",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M9.78101 9.75193C9.90612 8.75107 10.7569 8 11.7656 8H36.2344C37.2431 8 38.0939 8.75107 38.219 9.75193L41.719 37.7519C41.8682 38.9456 40.9374 40 39.7344 40H8.26556C7.06257 40 6.1318 38.9456 6.28101 37.7519L9.78101 9.75193Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M15 18C15 18 17 22 24 22C31 22 33 18 33 18",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Copy=IconWrapper("copy",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M13 12.4316V7.8125C13 6.2592 14.2592 5 15.8125 5H40.1875C41.7408 5 43 6.2592 43 7.8125V32.1875C43 33.7408 41.7408 35 40.1875 35H35.5163",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M32.1875 13H7.8125C6.2592 13 5 14.2592 5 15.8125V40.1875C5 41.7408 6.2592 43 7.8125 43H32.1875C33.7408 43 35 41.7408 35 40.1875V15.8125C35 14.2592 33.7408 13 32.1875 13Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null)])}),Delete=IconWrapper("delete",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M9 10V44H39V10H9Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M20 20V33",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M28 20V33",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M4 10H44",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M16 10L19.289 4H28.7771L32 10H16Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null)])}),DeleteThemes=IconWrapper("delete-themes",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8 15H40L37 44H11L8 15Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M20.002 25.0024V35.0026",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap},null),createVNode("path",{d:"M28.0024 24.9995V34.9972",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap},null),createVNode("path",{d:"M12 14.9999L28.3242 3L36 15",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Down=IconWrapper("down",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M36 18L24 30L12 18",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),DownSmall=IconWrapper("down-small",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24.0083 35.8995V12",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M36 24L24 36L12 24",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),DownloadOne=IconWrapper("download-one",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M11.6777 20.271C7.27476 21.3181 4 25.2766 4 30C4 35.5228 8.47715 40 14 40C14.9474 40 15.864 39.8683 16.7325 39.6221",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M36.0547 20.271C40.4577 21.3181 43.7324 25.2766 43.7324 30C43.7324 35.5228 39.2553 40 33.7324 40C32.785 40 31.8684 39.8683 30.9999 39.6221",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M36 20C36 13.3726 30.6274 8 24 8C17.3726 8 12 13.3726 12 20",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M17.0654 30.119L23.9999 37.0764L31.1318 30",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24 20V33.5382",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Edit=IconWrapper("edit",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M7 42H43",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M11 26.7199V34H18.3172L39 13.3081L31.6951 6L11 26.7199Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null)])}),EditTwo=IconWrapper("edit-two",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M42 26V40C42 41.1046 41.1046 42 40 42H8C6.89543 42 6 41.1046 6 40V8C6 6.89543 6.89543 6 8 6L22 6",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M14 26.7199V34H21.3172L42 13.3081L34.6951 6L14 26.7199Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null)])}),HamburgerButton=IconWrapper("hamburger-button",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M7.94971 11.9497H39.9497",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M7.94971 23.9497H39.9497",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M7.94971 35.9497H39.9497",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Link=IconWrapper("link",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24.7073 9.56521L9.85801 24.4145C6.34329 27.9292 6.34329 33.6277 9.85801 37.1424V37.1424C13.3727 40.6571 19.0712 40.6571 22.5859 37.1424L40.2636 19.4647C42.6067 17.1216 42.6067 13.3226 40.2636 10.9794V10.9794C37.9205 8.63628 34.1215 8.63628 31.7783 10.9794L14.1007 28.6571C12.9291 29.8287 12.9291 31.7282 14.1007 32.8997V32.8997C15.2722 34.0713 17.1717 34.0713 18.3433 32.8997L33.1925 18.0505",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),LoadingFour=IconWrapper("loading-four",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M4 24C4 35.0457 12.9543 44 24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),LoadingOne=IconWrapper("loading-one",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 4V8",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M34 6.6795L32 10.1436",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M41.3203 14L37.8562 16",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M44 24H40",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M41.3203 34L37.8562 32",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M34 41.3205L32 37.8564",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24 44V40",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M14 41.3205L16 37.8564",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M6.67969 34L10.1438 32",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M4 24H8",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M6.67969 14L10.1438 16",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M14 6.6795L16 10.1436",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Logout=IconWrapper("logout",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M23.9917 6H6V42H24",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M33 33L42 24L33 15",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M16 23.9917H42",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Pause=IconWrapper("pause",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M16 12V36",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M32 12V36",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),PauseOne=IconWrapper("pause-one",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M19 18V30",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M29 18V30",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),PlayOne=IconWrapper("play-one",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M15 24V11.8756L25.5 17.9378L36 24L25.5 30.0622L15 36.1244V24Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null)])}),Refresh=IconWrapper("refresh",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M42 8V24",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M6 24L6 40",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M42 24C42 14.0589 33.9411 6 24 6C18.9145 6 14.3216 8.10896 11.0481 11.5M6 24C6 33.9411 14.0589 42 24 42C28.8556 42 33.2622 40.0774 36.5 36.9519",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),Rotation=IconWrapper("rotation",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24 44C12.9543 44 4 35.0457 4 24C4 12.9543 12.9543 4 24 4",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin,"stroke-dasharray":"2 6"},null)])}),Send=IconWrapper("send",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M43 5L29.7 43L22.1 25.9L5 18.3L43 5Z",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M43.0001 5L22.1001 25.9",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),SendOne=IconWrapper("send-one",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M42 6L4 20.1383L24 24.0083L29.0052 44L42 6Z",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24.0083 24.0084L29.6651 18.3516",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),ShuffleOne=IconWrapper("shuffle-one",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M40 33L44 37L40 41",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M40 7L44 11L40 15",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M44 11H37C29.8203 11 24 16.8203 24 24C24 31.1797 29.8203 37 37 37H44",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap},null),createVNode("path",{d:"M4 37H11C18.1797 37 24 31.1797 24 24C24 16.8203 18.1797 11 11 11H4",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap},null)])}),Square$1=IconWrapper("square",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M39 6H9C7.34315 6 6 7.34315 6 9V39C6 40.6569 7.34315 42 9 42H39C40.6569 42 42 40.6569 42 39V9C42 7.34315 40.6569 6 39 6Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth},null)])}),SunOne=IconWrapper("sun-one",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 37C31.1797 37 37 31.1797 37 24C37 16.8203 31.1797 11 24 11C16.8203 11 11 16.8203 11 24C11 31.1797 16.8203 37 24 37Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M24 6C25.3807 6 26.5 4.88071 26.5 3.5C26.5 2.11929 25.3807 1 24 1C22.6193 1 21.5 2.11929 21.5 3.5C21.5 4.88071 22.6193 6 24 6Z",fill:k.colors[0]},null),createVNode("path",{d:"M38.5 12C39.8807 12 41 10.8807 41 9.5C41 8.11929 39.8807 7 38.5 7C37.1193 7 36 8.11929 36 9.5C36 10.8807 37.1193 12 38.5 12Z",fill:k.colors[0]},null),createVNode("path",{d:"M44.5 26.5C45.8807 26.5 47 25.3807 47 24C47 22.6193 45.8807 21.5 44.5 21.5C43.1193 21.5 42 22.6193 42 24C42 25.3807 43.1193 26.5 44.5 26.5Z",fill:k.colors[0]},null),createVNode("path",{d:"M38.5 41C39.8807 41 41 39.8807 41 38.5C41 37.1193 39.8807 36 38.5 36C37.1193 36 36 37.1193 36 38.5C36 39.8807 37.1193 41 38.5 41Z",fill:k.colors[0]},null),createVNode("path",{d:"M24 47C25.3807 47 26.5 45.8807 26.5 44.5C26.5 43.1193 25.3807 42 24 42C22.6193 42 21.5 43.1193 21.5 44.5C21.5 45.8807 22.6193 47 24 47Z",fill:k.colors[0]},null),createVNode("path",{d:"M9.5 41C10.8807 41 12 39.8807 12 38.5C12 37.1193 10.8807 36 9.5 36C8.11929 36 7 37.1193 7 38.5C7 39.8807 8.11929 41 9.5 41Z",fill:k.colors[0]},null),createVNode("path",{d:"M3.5 26.5C4.88071 26.5 6 25.3807 6 24C6 22.6193 4.88071 21.5 3.5 21.5C2.11929 21.5 1 22.6193 1 24C1 25.3807 2.11929 26.5 3.5 26.5Z",fill:k.colors[0]},null),createVNode("path",{d:"M9.5 12C10.8807 12 12 10.8807 12 9.5C12 8.11929 10.8807 7 9.5 7C8.11929 7 7 8.11929 7 9.5C7 10.8807 8.11929 12 9.5 12Z",fill:k.colors[0]},null)])}),Up=IconWrapper("up",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M13 30L25 18L37 30",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),User=IconWrapper("user",!1,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("circle",{cx:"24",cy:"12",r:"8",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M42 44C42 34.0589 33.9411 26 24 26C14.0589 26 6 34.0589 6 44",stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),VoiceMessage=IconWrapper("voice-message",!0,function(k){return createVNode("svg",{width:k.size,height:k.size,viewBox:"0 0 48 48",fill:"none"},[createVNode("path",{d:"M24 44C35.0457 44 44 35.0457 44 24C44 12.9543 35.0457 4 24 4C12.9543 4 4 12.9543 4 24C4 35.0457 12.9543 44 24 44Z",fill:k.colors[1],stroke:k.colors[0],"stroke-width":k.strokeWidth,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M17 25.8994C18.1046 25.8994 19 25.004 19 23.8994C19 22.7948 18.1046 21.8994 17 21.8994C15.8954 21.8994 15 22.7948 15 23.8994C15 25.004 15.8954 25.8994 17 25.8994Z",fill:k.colors[2]},null),createVNode("path",{d:"M21.9497 28.8492C23.2165 27.5825 24 25.8325 24 23.8995C24 21.9665 23.2165 20.2165 21.9497 18.9497",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null),createVNode("path",{d:"M26.8994 33.799C29.4329 31.2655 30.9999 27.7655 30.9999 23.8995C30.9999 20.0335 29.4329 16.5335 26.8994 14",stroke:k.colors[2],"stroke-width":k.strokeWidth,"stroke-linecap":k.strokeLinecap,"stroke-linejoin":k.strokeLinejoin},null)])}),logo360=""+new URL("360logo-c09b4832.png",import.meta.url).href,ali="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6MjM6MzIrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6MjM6MzIrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjIzOjMyKzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz4QZKpRAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAlSSURBVGiB7VlrkFXFEf66e+ac+9hlAUUFUbBAJKJRAROUiKzxAUZUICqIG8QiVAwIVqICCSa4EcoNhRoQoyQVidb6QlF8giVYJWoMUdQEhSRGLYlRVpFll+U+zpnp/LhALqtZ7sol+bNf1al7qk9Pd3/3zPR0zwE60IEOdKAD/wdQOY2NvGBVVSrR/fsCqSAIhA2YA7DE79xb3+fhcvpqDVNOY2GYrgP8KIB7FCRa+PES1Vz56jv3LRuysZz+isHlMnTOFbNTzutlUvH2KRG1bPfewXkH7/Pw6q3P91h++VXryuavNcpi+OwLfs2J5iGr1eyc+fCyKxo8uRoPB+89nEbw3sHFfGwUy9nl8PdlKMvUIjnk5DiWnibV8hAAOPvRGo57biKf+BqRgScAQmLirssnTnx/CREpEYGZYIzCWCIWBjFBjVe1W+++Y/7gD9sVw4GSGD52aYLynTdaztQ8t3LiH/bIR1+yor9ER79NZJhFQAjAbMEUwhgBswEzg4xChAoyYZAQNNy5AeEnpy2qPTlfahwHPLVcxKMAjWPzyfpieRSn7/LOM/kY3sXwqoASVD28+n1sKBSqCu89FB5wdqBGVRe2J44DIvKNkXWdXWTryDSNWPvoTLdHfu7Y+werD8706hGrh6qCNAYQAeQLZHxBDgCquve+IDAgTS6YcdMrqVJjKXmNDBo2+0hxh/cmTSopAaTQPMbnseulV569+oM9et+Z+Lsw15i8w3uHCAoBwFCAFIQYUAuQoJCaFV4Lz4kUe9M1APKp3pTrNxvAjWUjMnRErc02p59X79PETVkAsCYNh9hp2PCtYt3Gxs+HJTTVJYb9m5gYngIIGRDnoGQgVqHMMGyhLBAhQICYBSQCZYCFobCG4a8qK5F81vzcO9Mfkp3nw3fnegA5w2Dj9fVnfuOKdcPK7Ws0pwO8NxBjABGABQqBEwOyIVgEHgwSA7EMZQMyBWJkuDAm33sK4C4tJT6ghKw1cOicQH3iY/VRVyL9FKlNfd5Yu7y5VAdfBdNqnxLJHr9ZKT9h0bz+6/c/Yj+L/eTqyazQu+BzXckrEGk3tBx79ylDp5W1RmsNbRkw30XJNaWSAPYztTR7RN84okkBBN7FgHfwyI7msPIwAFsPOOIvwdWzNiTIhVNItg5qz7g2icRxqsKwA8UMaARVAF4SUT7/4glnTTp+49p79lkfp190fUUyClMIOsMEIRErBASQwAQhiQTwqlBiSGJXdsWdUxpb+3SRUYb1ZDksG5EguWNjnAk3ADwQSihcFhxzP872rAbwfLE+xVXdKdf9LRdVJOOshXAKzAkwB0BWoBwUMpLAMX/yTQCvt/a5dOHXc9NnfXA7tPNPANSUSqTNNfLGi3V5STSPciQZIgaLgCmA+BDGpe889czrKor1X356zt9VaAnDgF0C4g3YCcQzxAtEGawCqLvnkd+e9wUSe9DpiB3ziMNB18x9vbosRADgzXW3/UusrmZmMBeaJSGBVT5WYzuptf4OfPBLx5xhJjAIzABBUZiXCqV8HkHD/Nbjam5YtjeWm689yceamc++R+21858tKbGUVKIkkrkJJPSZUADhACIWxB6MQ+cOOveadLHua8/VfkpB0xQhCxbdnd8VtDsckuYbHrt3xPvFY665eS1LfsDsYplNbnsA0Czl+0woG5GXX5i3ywX2V0xpgEOALUApMBJdQ9/v1tb61gSPg30DIYQyAUYB8VCKdxHrva31d27tPofjnnMm/+itwXtkt984yAnpTYyq+dfN/XS/G3fJRaNNbl1orHtXJACTBcHCkAHF4bgh597evVj3ucfG74RpuBCsMREBaqBQ523T5cvrh28v1v3eD1+qQFR1NcedEhR1W1z87NabjnxJJPsihw3X7S++dm1sQ4YvHEO+8lHxDAYVGiEKoNKywaaaTl371PV76/MLJ9RRvvHE9cmgy2BGAM+5TS7YesITD4zeq3Pl9D9RmOv2ILnKS5VT4CCjSH50hgmbXjVWYAyBtUsPpeA9Ah1T99Ne//xvsbWrjA+S0csiDBEL4QDMIawYBNL1pIC7DSjWfaJ+poadm8YqUQ5sfUyN44tJAID3XY5Qn76YiMGcA0hJ/CGrKd9rM2WP2ay5Xpt93OUFRBWscafuaAPt60fiyikGCQjZ3R3e7guB+Di18pyxC/ZZ+Cvrx30ICe7zEj325CPnv1X8bMr0Ncbm0w+RtwFIQezARCBNpknTfeGTfRFX9uW4qg+kaYvKZ22ewJTcjwwbdVtvyXSdKWxACjARlAggBjNBNX0MRb3GALiveJxL//lnpJVVX/hPdvY+SxCeQeKhRGDaPV1RqAaIPAAFSZRXu23EglmnZtqKr+Q1Muz8e+4P8l3GGxA8FRomEKsSeeFCqe4lavap93qufnB6S1u2aqa+JkGm+zuMin5iYwgLSAgsDDYx2DCIBGCDROd/rJMwd2btjIHals2S34j4w05gU9gXGArxDCV/c2yieoUHOAYbAVMJ3anrNo0o6MfsAQhUCUwAsQLsoeIB9iCOdmZ9w3cXzqhuk0S7iNjEjmUSdVoINSAAkWS32HDHratXTPxC4dcWaqa9UonI/BgovAEigEVA4rbBZCZByBGxV/YgadmycFZ1Qyl2SyYS242LrKu+ijU5wDuGSURTn2wnCQAIM/1vIYRHEeVAAJQdVBQq+TsXLTj8yfba24N27SMXjFk90mj4jHr9WMO/9tKwKmbTDKYkoP9JgAoL2EY8vnTKPlOiZsaqINEycBuRVjAHEJbCrm8zn3PFpiMX11Zn/ydELr683pjM0asMJY8DuQZAAHIgCIgYYIInRswENdmMJj7+9oqlF+UAYMLU33OIges43+30QvpmiDDURkC447IldQd2Wt+uI9PH758QXzJu1Zg4rqgGxYX+BAZEBCLZnTwZJA7MnX4hCEYAWAkACTd0oLqKIYUKunAiRIU6bJOa5q88pfbgoPXeE6a+cBTFPf5owuYBxqcyGnVbb5A4kSUqZChhsGisYcMpi2857oA/Nxy0Y/76JdVb1Ju/aL7TZPj0aGE6kU0ORjxICMQxlPNvIvjw7XL4K+uHntZg3j4upJ5vslpLRBCKAAQo5FxuUvls5B215+x3jygFB/VYBwAm/+D98ywdehqRUxIoC6kylOyONxbXHf30wfbfgQ50oAMdOKj4N8mAoUMloQFmAAAAAElFTkSuQmCC",baidu=""+new URL("baidulogo-bf43b354.png",import.meta.url).href,claude="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6NTE6MDcrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6NTE6MDcrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjUxOjA3KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7/DjIoAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAi9SURBVGiB1VpbTFRLFl1Vpx8C4aUoPgINIeM4PoIQtWFABbwyMGqMMdFMzJj5NCSSCR/qXP24E03kyo+JwRjihziRZL6IhFG8t4nStjx8xEyPMTGKQgMC8hxx7Mc5p/Z8AOdSNo/u9l7xrqTTp/fZp2qvqr137arTDAuAiNjUJQcQAyAWgJWIFMYYALCpe9NgCB0041qfIQsA+AjgvwA0AGCMEebBnJ0KIayMsXUACgGUAtgIYAUA0ycG/JJ4D6ATQAuAWwCeMsZGQn5a1/VkIvonEQ0RkaCvA/8josdE9Aci4guSEELsIKIu+noIfAo/Ef1NCBEz30zkENHgYlsaAvxCiG9ptpnRNG0lCfrPYlsYBgK6rv9xcHCQAVPZhogYY+xPYPhdyIG0+DAzxs4lJiYmAVNEvF5vNGPsrwCURTUtTDDG1nHOs4EpIoqiFDDGUhbXrIgQBWAvETEOAJzzbxbZoIjBGNv54MEDxp1OJwfwG6Ivtcb9vGCMZVgsliU8PT3dyjlPYlP1xq8NjLHoNWvWLDVZrVaFMWb6nMauXbuGN2/eSLK4uDhUVFRg5vi8e/cO1dXVkl5sbCwqKirA+cKL9Rwgi8USa+KMK5CLvrDQ3d2NyspKCCFARJh2UU3TkJmZiV27dhlkEhIS4HK50NPTY+jquo4NGzagpLQELKx68ydwzs2cccYQXsUq4f79+1BVFYFAAKqqQtM0aJoGzjlOnDgBXdcNXZPJhJycHKiqaugCwPnz56GpWqQmgDHG+FRsREykqalJMnYaQggMDw/j0aNHhoxzjpKSEsxMLESEoaEhuN3uSE2YbPtzHu7t7YXT6ZzzvqIoaGpqkgzPzc3FqlWrpJj4+PEjnE4nhBAR2xIxESEEzp49C0WZuxggIty7d0+aMUVRcObMGYkcYww3b940XC0SREykr68PLS0tQW7yKbHOzk60trYavxljKCoqQmpqapBec3NzpOZETsTlckmuwBhDQkICysrKJDIWiwWnTp2C3+83ZFarFdu3b5fcy2w24+LFi5JeqOCcR0aEiNDQ0IBAIGDINE3DyZMnUVJSIrmSEAJ9fX148uSJ1HFxcXGQXm9vb8RBHxGRV69eob29XZIlJyejtLQUa9euxbrfrgsabYfDIenn5OQgJSVFmj2v1wuXy4VwyyUiiozIhQsXgmLBbrcjLi4OZrMZ31/4XpotIQTu3r0r6VssFpw7d07SIyLU19eHnb2EEOET8Xg8aGtrkzIM5xxFRUUGuU2bNmH9+vWSgZ2dnWhqapLa2rJlCzIyMiS9rq6uIL2FwBgLn0hbWxu8Xq/UiBACpaWlkqyosMhwLyKC2WzG6dOnpQGIjo7Gtm3bJDdUFAVVVVVQVTUsu8Im0tjYGBSk5eXliIqKkojs+maX5Ou6rmNsbCwo6Pft2ye1R0QYHh7Gs2fPfjkiPT09Qbk+Pj4eR48eNYrA6U9WVhaSkpKkWCIiOBwOiWBeXh5Wr14tzcr79+/R2toaVtCz0dHRxISEhLuMscz5FIUQKCsrw507d6QOkpKSsGfPHphMP+0Epqvdjo4OuN1uqZS32Wxobm429IkIjY2NOH78uNSfzWaDw+GA2WxeiAONjY1lhbwPefv2rbEIzjRsZGQEN27cCBo9xhh0Xcen+7XOzk7cd95HYVGhoVdQUACbzQaPx2O0M73Sl5SUhGQfJxHa9LW1tUFV1aANEBFB0zToui59NE2b1TUsFgu++/t30goeHR2NnJwcKIpiELdYLLh06VLIK31IMTKd3/1+f9iL1aeYXsGfPn1qyBRFwd69eyXyQgh4PB48f/48pHZNoexEXr16JRV+wGTGSUpKCmmLOjw8LKXd6arYbrcbM2C325Geno7u7m5jQfzw4QNcLheysrIWNnJkZCRRCPF0rnNJIQQdO3aMMjIyyGazkc1mo9TUVDp8+DD5fL6Qzjbr6uooJSXFeN5ms9GOHTtI0zSpH4fDQampqYZOWloa5efnS3qzmTg6OprJscC7jp6enqCV3Gw2Iy8vL5SMAgA4cOAAVq5cKcm6urpw+/Zt4zdjDNnZ2UhLSzNkRITu7m7cunVrwT74QpuZx48fY2JiQpL5/X4cOnQoKCPNBavVip07dkr6JpMJlZWV0goeFxeH7OxsmEwmQ1dRFFRXV0s12axEOOfzzsinRRxjDPv378eKFStCJsIYQ0FhgSTTdR1DQ0NBQX/w4EGoqgoiAmMMRIT+/n68ePFi3j5MNJkmZiXj8Xjw8OFDxMfHG9mEc47y8vKQCMxEQUEBEhISpCMjAGhvb8fWrVuNQcnNzUVGRgbGxsakI6OOjg5s3Lhx1sETuiCT3+8XAGatmxVFwdWrVyWZ1WpFenp6yLMxjZiYGFy/fh3j4+OSfOnSpVJbiqLgypUrGBgYmDznmrqVmJg4Z5+qpvrQ2tq6RFXVB/T1vmpbCMLtdq/i9fX1ASHEYFjD+xVBCDFeV1c3BgCYmJg4K4T4Vc6Iz+drDwQCk+9HBgYGwtuSfUXwer0/+ny+yVrryJEjj30+378X26hwIYR439/f/0NcXNzk693NmzcHXr9+fZGIwj9UWjyQz+d7/OzZMzcwVf3W1NSQ0+n818TExAN8ub9nfBZUVR2pr6//9uXLl++lG0VFRay2tnbj+Ph4G33lqVjTtPEnT578effu3XNuDFlNTU3myMjIPV3XQyttvyx0r9fb7XK5/lJQULBkpuFBR+mDg4NDHo/HwTnvT05OtlkslmUziX6uS4QJw81VVR1/+fLlPxoaGk5XVVX96HK5pHie0zC73W59+/btyqqqqt9v27atMDY2dq3Vak1SJo9F+HzP/gzGExEJVVUnvF6v58WLFw8vX77sePPmTWdMTMxES0tLUBzPa0xxcTHTdV3xeDyWZcuWWfPz85csX77cGhUVpei6PrnfX4gOzdLLtGyWb8WkkBBCHx8fV91ut8/tdvvMZnPAbrdrtbW1c56l/h8gg8dutwWvwQAAAABJRU5ErkJggg==",dalle=""+new URL("dalle-4f19ad1c.png",import.meta.url).href,gemini=""+new URL("google-6f260bf3.gif",import.meta.url).href,gpt4logo="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6NDU6MDQrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6NDU6MDQrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjQ1OjA0KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz5FXAnGAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAfvSURBVFiF7ZhLcJPXFcd/59PLkizZBstGlvzA2MEaAwEMAfIitAkNSZmUNpOZpsx0aDrT7ttdp5t2uuy2M11k2kXSNp1mSJMhpC2T8JqA86QBYydWjB+yjS1jy5Jl2dKn73RhFYUOkhGkCQvOUt895/507r3/e+6Rvx+xuPvM+LoBbm73sCqxe1iV2F2KZb9DfzEQGwJqYeW/FCS4fSyhqoaaFqqDuOtE7OTSujBFapzUBFbua8Jq2knro1LTjNNXJLVM0tNMXyJ6TJdTXy2WGES+J+2PYzhQJTHEbFTNJbzrpGETviaq17Fum5z/rS7GwUBva2WlosvHsLNhv2x8BmC6j8/e0MSV4leHm44DrH9c7FXkMggYTswMiWEmP9KZfhbj6K3NVlm26tpp3YvhYPikfvY6S4kbvnobsHtkJT2OKswlcgvY3TRsoqFbkjGG39FYL2bmS8UybAR34K4ncYX+V8mli59cPtqfkNAu3GsQg/hlxs7qwlUsE5uLtZ3Sshd/M5FnxenTz/9BPnvnWILdSaCb1r1S34XAwFG9zmQ4qI/Q/Zz4mlCLxRkGjur4e6DFAHOf6+hZtv1IGrbQ+ZTMj+nUhTvGCkToeFLqI4gNIDNLYhTA5qBuA62PEdwuYrAwydULDL+jizMAIiDFnZRd4P3f6dYjEtpF5BDXBjCX7gArtJPIs+IJkJkjMaTBHlmeLxwufzObnhd/mOwCsXOM92piuMBRVUvrXrFXETun86OFUJZJ9LjWtIq/WZp2MHpWS85aHquunc2Hxenj2qdcfFmragj2oFZhgZx+XH7mhrj4siZjBQk1HDTvZuMhcfoQoeUhGT6p0ePkMgDpKWYG8DURfpDRs7eVLbubDU+Ks5rkWGFiZ/VNhkWPsaIRdhf+Zu47KHUdZK4RO6+BbvEF6XxaGu/n09d1ZoBcmvRVrBz+MGKUE4uSWDUt1K0HIXpck7Fy/8ywU9tGeDdNuyS/TPRNHTlFNo33pIZ2E9op/jDbfyxTn2jsHGJDLQwbho18pVgi+JqoqmNxhsmPyjE5vES+K8Ee7B5EsLtw+QUUJT3N4DGufqTND9LyiDTtlLUbyS9jOFhKYJnlwpbAsuFtQAxmP11FY7YewbKYvsjFlxTY/ANp+wbND8vFl3TifSyTZIy+vzLeq1t+KDWtiB9gbggtt+NLZ8vmEGB5oZwzkIwRfVMnPy7Qf/h7XbeNzqdk6xFp2snw2zobxVwiMcKZ32jrI7TvF28j1UE8ARbjJcPevAxUJbcI4A2sghU9Tqy3mNF8lvFeoscB1nSy7QXZ/LysvQ+xoXlGznDpz5qZxRdkw36xOSvEsvKkp1Xz1EewVxV+XBFAl5+quuLI/PJN3PNZzAwDrzJySpseoOen0nUIw47mifcxfELFINCNL1QhFkpynHQcu5u2x0QMgGSMwWNqOHj0l9L1Hdy1IlIyriqZhA68xulfq5Wj8ynxhwDUYvgk5iLeAP4QlIhQUiBS48T78Daw/pukJpjuwzIZeI2pT7TlEWnZK4Yduwub6ya+X1ydpTmWk3gCxZHmMvF+gj14G8Sw6U2PZMknRj7L0D81NYl7Dd3fl9ZHC/tjdpBLf9ILL+rsIEDHAcK7ixw2J+HddBwoFbVg6bgCDg+l8l3u8knHWZjEH6K6kc2HpXUv//6jJoYxl5i+xMyABnew5bBse0FCD/DJikAcpmGzGAbli2ZXNUA+p6VkohyWCHXtqEXmGjYnNS3s+bmMntGxd0lNYJmMnyd+UTsPSstD7PuVWIq5yNC/WJjQyLMl953NydqNohbp6ZIldTksw47DjZXjytssTGnzHhq3yIb90rCZifc01kt6GgyyKcxlbC7Ge3X8PIlhGreUPgsQ3I4nQOYaqYmSoloOy8pj5bHb0TxTF5gdpL5LNx4UfzOd35ZgD/E+DWwSz1quRfnsDU2NYa7ohWqpM+YP03FAUOaucL3mqQxLLZIx6rvwNmJzkksz+SHxy9rxpKzfhy9EdZNkU/T9RcfOFwsbf5iOpwVuKFABw44/zJbD4m8mm+Lzt7RMUb9KGRh7l/ou6iN4G1ipI8wMA0d18kPCe8Rc0pFThYeGGNS2EdpFeI84q0nGyK7semFF9tr2Udsu7joW4/T/TeeGys27CtbEB9r+hPhCdByQC38oasz8KMmYqhZS4qmnbZ+s24q3EbUYf4+Rk5ocAxAbrlqAYI9onvglom9p/HL5aVfDMpfoP6o7fiKhXTg88vGLmv3v5V0o4oTQA3QdEk89KxV93ysa7y++92tbcddi5ZjpZ/iUzlzGXO3ZszoWMHOZwTd1w7ek8X4e/oWMnGJ2UPPLGHaq19H8sAQiBREZ72XohC4ni75OL12HRGH4lF5+pYLeyepY+SxDJ8imtG2f+MN0P0c+K2YGmxN7FQi5NLFexs5oYuQGx6paNj5DbRuLcSY/qKyfc0vPVzPDyGni/VofIbhdattwVGNlyS3hcCM2zEVNT9/gUtfOfQcJdIuVY+Q0c1dKhC5hlfUgim42sPAE2P0z8axFDHJppvtIX8VepWs6pHY9CFaOoRP0v6q32Hq4U6zr5vLR8bQ0bMLbgPGF1GdTzI8xelrH3/9fAfsqsADDga8JX4jqRhxeUZPMnC5MMj/K0vztMHHnTUrAyjE/wvwIhg0xVEHzt9ow+j9iXTcrD19S+/Qu7TTfw6rE7mFVYncp1n8AuY1j3tEIhhEAAAAASUVORK5CYII=",midjourney="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAIAAACRXR/mAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjQtMDMtMDFUMjM6Mjg6MDYrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjQtMDMtMDFUMjM6Mjg6MDYrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDI0LTAzLTAxVDIzOjI4OjA2KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7ZULmeAAABgGlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kbtLA0EQhz8TJeKDCFqIWByiVkaiQtBGMEGiEERiBF9NcnkJeRx3ERFbwTagINr4KvQv0FawFgRFEcQ6taKNhnMuCSSImWVnv/3tzLA7C7ZQSk0bjW5IZ3J60O9VlpZXFEcBOw046cERVg1tan4+QF37epJYsQeXVat+3L/WGo0ZKjQ0C0+qmp4TnhEObOY0i/eFu9RkOCp8KTykywWFHy09UuaCxYky/1ish4I+sHUIK4kajtSwmtTTwvJy+tOpDbVyH+slbbHM4oKsfTJ7MQjix4vCLNP48DDChHgPLkYZlh118t2l/DmykquK19hCZ50ESXIMiboh1WOyxkWPyUixZfX/b1+N+NhouXqbF5reTPNjABx7UMyb5vepaRbPwP4KN5lqfvYExj9Fz1e1/mNw7sDVbVWLHMD1LnS/aGE9XJLsMm3xOLxfQPsydN5Dy2q5Z5Vzzp8htC1fdQeHRzAo8c61X+6PZ6+i2ytSAAAACXBIWXMAAAsTAAALEwEAmpwYAAAG40lEQVRYhe2YfUwTaRrAO1Om2FJLpR90+VQ+lNKCrCYnsNHdI2CODwO9k2zMsUpOkkW7uIkXD4/kIurqxXiinrInJqya09NdXTkO77SLfORidFUQIbdL+JAvO9BCO7TSznTaed/3/ujJms0GOvhxuwm/PyaTt5l5fvM87/vMO8UQQoIfH/j/W+CHWdTiw6IWHxa1+PDT16qvr3e73a9P5UUC1UIIXbx4ceXKla2trRDC1+r0v3gB0tXVJZfL5XL57t27IYSBX7gAeBRRq9XK5fLu7m6SJA0Gg9PpfH3J4qEVHBxcWVl57dq1K1euREVFZWZmkiQpEAhqa2vv3r3Lsuyr9OKVW6vVqlarEUIQwnPnziUkJJjNZpPJpFAoDAbD9PT0qyoiPy2fz6dQKHw+H0KIBaC29tN31qU/fTrS2Pj3UHmoTqe7f//+K5l2/LQQQtu3b+/v70cQAQSBe2b/+vXr3tbRjPvCxQs4jkul0nv37r28GW+tO3fuVP1+L4SQI/vH3ssaJsS/1YSU/Pp9r4/dtWvXhg0bEhMTTSbTS5rx1no2M7M2Wev6urN/xfKnwiCrTuSpVrz/tuT06T87nc7Vq1fX1dUlJSX19va+US2GYd7C8f6wiFERZn83xHeUcB3Hpr9SJ8Yv7evru3XrVkZGRmtra3x8vH8KLgze70Qcx3wCxDE2aYFYls8KJL4lmYQsxVVZHfZhRVlW1nsajYaiqNLS0tLS0oW/D/g+h9frDSWE0zuXckfEzs8w0IdxNmHnsFp3JD44NfzCpb92dD5MS0tzu906ne7Ro0cLm2QL2UEggPBYFmp80p8HcQqscUhd+Df8W2YJnrrp8KE/rU5Ji4yMfPz48fXr1wsKChaWLN5aEEKEIaEeC8rGuaXBx/4j/42Jm6Bj0fguH32Y9P7s8y8+37Nnz759+xISEvLy8s6ePbsALQzx/E5kaFq/SjrYLXJiop3/knwxKAZcpMD8OwFVEOah0775iy/qRnP7V3HxcWNjYx6PJywsbGZmRiQS8YrCO1uOZ9Pr31GOA1nx1eBrA6GQWSt8cpKg8lbYR3/R/aXO4R4ZGJm0Tn6003j+/HmxWLxt27arV6/yjcI7W8dqjjHK8xdstqfOEO5ZFiSrCCZCaxte++R2GO3WFyd41kyNW8c/2Fryy82/6unpYRgmNjaWJEmCIHiE4bVAOAjD39KE712F/yEJq6gUFVmF+fDdpDvl4tMfSw8019wFHtD7bW/GukwP41GpVAghAEBycvLY2NjrWolIIKCmpydZyglCRdYPhZYKiU+4buj68vEbQaHj2z41ZH+cjhFoxYrlk1MThIjIycnp6+vDcfzMmTMHDhzgVRY+RUSCw0ePHGn/0htcgD3BcOrfYpaULmEwDPchDkeYVr+qqKgoOzu7rGx7U9M/Ozo66uvri4uLY2JisrKySJKUSCQBhgoK/AmoaeqPn3wCZNJg72d7dxvz8o7K5aolYiIIw1ngo2naYrHc+EdTTs5GiqK6u7tTU1OFQmFLS0tPT8/MzIzFYomLiws4BYEBADAajTExMSdOnPB4PAAAAMBsB4cQ+s8hhC6X69KlS2azGT4HIdTW1uZwOFwul9VqDSRcoNlCCLEsOzAw4O9AszazTrMwDKPVaru6uhoaGiwWy8TExPDwMEmSdrvd4XAEBQWNjIxoNJq5w80/txBCFovFbDZPTk7abDar1Wq32+12O0VRLpeLpmmaphmG4TiOIAiJRCKTyZRKpUqlUiqVarVaqVSGhIRIpVKz2Ww0Gk+ePLl161Ycn2epBaQVHx9PEIRGo5FIJFKpVK1Wq1QqhUKhUCg0Go3/KJfLCYLAMOy7Wz8/hxC2tLTs2LGjurq6pKRk7nDfRZ2Xurq6srIyr9fLcdz3dgTwh+A4zv8rx3EAgIqKimXLlg0MDMyOz8v8fQshFB4efvny5TVr1hw/fnx2fGJiIjc3V6fTlZeXu1wu/6Db7TYajSkpKRs3bhwdHb1582ZGRgbLsuXl5QaDIT09va2t7RVki2XZpqamiIiI1tbWqakpvV5fVVXlcrmGh4ejo6Nramo4jtuyZUt+fr7FYrFarZs2bdq8ebPX6z116pRMJpNKpQ0NDQcPHtRqtTabrb29PTIysrGx0ePxzB13Li0IYWFhoV6v7+/v91fH6XQWFRUlJiYqFIrbt28DAPzqhw4dio6OjoqK2r9/P03T/vK1tbWFhIQkJycXFhY6HA6EEABgaGgoJSUlNzf3pbQ6OjooinpxEADQ3Nw8ODiInjcIP52dnQ8fPvzeHYaGhkwm04sdDiFEUdSDBw/m1uK9g3gz/PT/dnuTLGrxYVGLD4tafPiRav0X47gQyEklwQsAAAAASUVORK5CYII=",mindmap="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAD7NJREFUeF7tncuuHLcRhtl+CGXjjXYJ4Ky9tKRsrctSWdsvETiAJMABkn2QV4iWunjvo2eIn8cTsGc40zPTzSqSVcVL/wcwLGnYvBTrO38VyWFPDj9qFjh8/+rJXPlX7vh//3M4fLfR4KXMpcDDVdlp+nL199/dw/TLh+syaqPZZ8XTPoctO+orEC4ArDm8bMPXtR1BCRABHhFbA5BEM55hmA5vTo9ag5DY4xmadzM7nz68TX94308AEGL+uwSC8mkAQ1no/DkAWTHVDEVPCsGe7tWCDyEsg8Lc2weAhNx5X1BsIzVN7wDKxTy7B2ShFu3nEmVKkfr0rCx7h2WXgACKRFZ2nLPsChCAkQjGWvGdhWC7AOTw4tXb0wYdwigBRk77LbvIVYYG5ARG2K+Qcg3Us7TA4IoyJCAAowLDg4IyFCAAowIYt00OBsoQgCD5bgCMQUHpHpDD85e/Orc4Ldugr+y2SwOoSbeAIJzqCLuOQekOEIRTHYFx3dUud+a7AgSq0S0ci8NNfZ316gIQqMYAYNyoyfT549MeRtU8ICc4fCKOn9Es0EFu0jQgCKlGI2JlPI1D0iQgCKl2AEYnIVdzgCCk2h0cTSfwTQGCkGrHcIShNxZyNQMI4AAcZws0BEkTgAAOwHFngUYgqQ4I4AAcmxZoAJKqgOCgIeBgWOCh5qZiNUAAB8M1UCRYoBokVQABHPD8DAtUgcQcEMCR4Rp4pJqSmAICOODpAhYwVRIzQLBaJeAaqOJoAcPVLRNAAAc8W9wCRpCoAwI4xF0DFRoeS1EFBHDAl9UtoKwkaoAADnXXQAPBAofpqda7GvUAef7ygBmEBcwsoASJCiBYzjVzCzR0sYDK8q84IAit4LPVLKCQj4gCAjiquQYaVspHZAFB3gFHbcECgvmIGCDIO1rwDPThZAGxfEQEEIRWcMzmLCCUjxQDAjiacw10SDAfKQcErx+AQ7ZrgeJQqwgQqEe7noGenSxQGGqVAYJVK/hhBxaYPn/M9vPsB6EeHXgGuhgskB1qZQECOOB53Vkgc28kDxCEVt35BzrsslQkGRCoB1ytWwtkJOzpgEA9uvUPdNy51IQ9CRCoB1ysewskqkgaIFCP7v0DA0hTETYgUA+41jAWSFARPiBQj2H8Yx7IX19fxvPNN8c///bb5f//O/15rFGfR8PNRViAQD0G8RIPxRIMalgekvfvnRsRFqaK8ACBelCu1PbnqWDcjmZMUFj7IiQgUI+2fT/au1Iwbiv/73vn/H+j/DB212lAoB59uoM0HMEKXk1++nufNrnvNakiUUCgHp36gRYcI0JCqAgA6ZSBzW6nwuEVwa9ehZWsP59WtCi7jBNuRVUkDgjCK8pN2vrcO/c/fqb75J3bQ7G1OuXref3aOQqWQSCJLfluAoLwivaz5kp4OGJOnerQHDVKrbM5oznnImHWNiD4rnmLU7ndJ8qZcx2ZUpPcetuy7maYFQMEl0+3NYnx3nz6sP25hBNr11/b1hsqsgoIwqvas5XYfiz3kFqWjSmUBICJQ1Yovqoi64AgOVewv2KVsdzD71lIHRWJQfLileIATarmAQL1MJkM2Ua2wh8p9Qi9jSnVCCqyEmbdKQgAkfVd9dpiTiupHmEgWzCOAIi7/976PSBYvVL36bsGqP2GWI8eP3buxx/WS2gAshXOSauV/Sz4Fu/CrDVAsHqlPTk+lvc71yVgcPqokRds5SFjAHK3J3IFCMIrjtcVlKH2KgqqvntUy2EByOGN5DyhrpMFLOEIRtdQkLFDrLsw61pBsLyrw3MNOPxIkIPkzOdVHgJAckyY8gz3AGFKndyyGitLY69iHS27WO49A4L8g+t1ieWoA4SJ1SUVlwbEekk5abCChQGIoDGpqmJnmKhnJT6XDLNisGvkOxLjz6vjHGZdFAT5R54pY09xwiuJYyB/eOTco0fbPZFw3lgepbViJj8j3BoBCNdSReUoQCRDIM3TttQ4JFWqyOByD4cvUc0Kcvj+1RM3HX6Vqx41zRagVq8kHYtqKxdGqt7x1OMqUT8C8uLVW3fA/oc41pRzSQLiO08tCKTeb0X137cpPQbxScis8JSoA5BM+7EeoxxM2rmoUCh0OgaKr8Mfg+HcwJirSizjVS50unnxCMgoBxTD5N7aNtw5K5EQp8ybNSCcsO62/0ubpJwNGxmOo43mRL1/QMJvOs5vvOAMVvfN1gAkB5IU6H3ZUfOOaztcAdLfCV7K+ahJT43HqfrWPqf6KB1iLfvADbdSxzW+cpwt4leygoL0A4j0xGtOeE1A/DRTN5IAjrgFfKLe1RIv5XCpEx7Ka0FC9VdTQSTVRMs+ufNl9dwMSC9LvJSzlRpNI66m+mwFSLBNiqKEK0lHus091Uf8SlYXgOSEVSEhr7ky0xogt6ri/x7u5A2fxa4kTXWw3st3AQgXjth9swES6/tmWwakd+e16H8XgPS8OwxALNxYs42HqelNQko9cpNHKhbPrfd2qgCIpvNa1N04IDH1KHViLfiW0wZALJxYs42GARnhvlkAoum8FnU3DIjVfbOa35IDIBZOrNnGDEibu+hW983GnLg0jAMgms5rUXejgFhfDqB1UwcAsXBi1TbaVBBrQP71T+f+9Md7Q0NBVJ2vh8r7A0TiAoLbmfnpb859+639fFkfNbEfYfcttgmI9f2vAKR7R9YaQJsbhbHYXUNB/vNv577+WsvG2/VCQextnthim4BY5yAAJNFtdlO80X0Q61d91br9EArSOmmNAuLNprX0ejsl1JETzSkEIJrWlai7YUCs8hBqx77EzH955tyzZ8hBSmxY99lOAZH69p/2fbPYKKzr3qWtN/99kN7vmwUgpS5a9/nmAaEcLHenm/o+iIVC+alHDlIXAKr15gGJJethcKnOTEEn6bhUWwCEctG6n8+AtH6zO3eVyTub/9m6XpR752yuKq1NJQCp6+ClrXdzLxblaLeGCFfW+H/nXEmaq0bUBFD9hoJQFqz6eV83K1LOVmrK1FCN0x7VZwDCsWK1MktA/MtznlTrCbdhyuG49dyWkwyrlnVT/QUguTNm8Vynt7tzcxKuCbXgCOFdLMSrDcjapXrWr4jgzpN9uQUgvVw/mvLbmTJouFJT82rNFhXE98nfphi7cdL6NRHUXNX4/OoFOq2vZG0ZKOxn+M+5V4xagBH62xIgVF+2bGzxmogaAFBtDgHIcpABEP/bcXnfbHi7lC+rqRZrBqec0iLEovpAOUr4fG+gLN9R6G3Q7O0m3AlssRzlnNqAUNe25thMM2fL6Y/SM1evgT4B0sdKlpJBVKqtBYj0QobVqp/KJORVCkDy7Jb2VA1AtOEIFhhZSU75hx/q/Aq2WUF6TdTTXNa2dA1AOGHV8qTBMi8Lx3GoVa7RIQEgRpxYA8KBg/ubnzrxHEyocYmG0fRsNRPCqysFQR6iMCuWgFChFReMWzNQY8itV8HcUlUCEClLUvVYOldMPUrPmVHjGElFFuHVvYIgD6FcPu1z6re6r22ZD6TVfin96JFz/vvvWz8Sy8kxSEZSEQCS64WZz9W6UkgjkY6NZRAVWYZXdwqCPCQTgthjNQEpDa1S8hEJlVIwf2KV8wHF5TPnZd7wj02/szBxtE0Up+J3zU5qOK3VfWWadtmq+ya8WlcQ5CHyU1MLEgCSNpccQBBmpdmUXZqzR8GujFlQIy/Ygl06nGMOUbLYbf6xqiAARNLkN3VZKomWw44KyIp6bAOCMEuPEu4OtUQPoCBsK66pxyYgUBG2XcsKcr/kFWvl8WPnfvxhvYQGIFuhopZilVmY+/Td6lV48G4VK3yAw4tc21Yu18qrInoGZCO8iirISUXafEV0ZZ9srnmrpVfrFxsZGXorvOIAgi9RGU1SUTOxFTLJMCu2yKCxpFxkFObDEfWgAUGyzrRy5WIW56Ri6jFoeEUCgmS9suOnNK/5qgjfD+pFQ53epxULr3iAQEVS3LReWWqPpSQEitU9sHqwAIGK1PP55Japg5Gpx9Ip6HwHS8BLHqDsA5R68AHp8eZFWVv2URvHobn3W3HrCq+d6MNCl14SyXkouLkPcjte3JvViQdwHDsMJXxZy1+uFy7b417Y0HNo5W8r+fyR5fusQnOYBRXphJDTO1Fil2ZLjKTj0Mox1YMdYgV7QkUkPMuojhQlSe1Sz3AkqEc6IFCRVFeqW14aks7DqnkyEtQjGZDTihaOn9R1+7TWpU4Pp66ApfXSrDQ390hO0s9hFlTEbDJFG8oFZRAwctQjS0FOKoIzWqLea1hZOGL/+vWl0fBvYTfcr2r5/zrdHd+yZqp65AOC3XVDj0ZTIhZIzD2yQ6zFihZURGTmUIm6BTLhyFaQBSRI2NVnFw2UWiAntCpWkDkXQcJeOnd4XtsCBepRrCBI2LVnF/UXWmDzu+bcetlHTbYqxHfXuaZGOXMLFKqHiIIg1DKfdjTIsYAAHGKAINTizBjKGFqgOLQSSdKXA0aoZTj9aCpqgZJVq9uKi3MQQAJvbcoCQqGVuIKECrH025S77KszwnCI5iBXSvL8JXbZ9+WaLYxWLO9YDkY0xDqrCM5qteAwu+qDZN6hDsi8qgVIduWgVQerEFqp5SBXoRaOolT1m100rgiHWg4CSHbhmvUHqQyHCSBzuAUlqe9Mo/XAAA4zQADJaN5ZeTxGcJgCMkOC5d/KnjVE8yrLuVuWUVnmjU0DIBnCSWsNwhQOcwU575NASWo5WM/tmsNRDRCEWz37aZW+V4GjKiCApIqj9dhoNTiqA4LVrR791bDPhqtVzSTpax3BPomh0/XSVANwNKEg58Qdm4m9uK5+PxuBoylAEG7p+10XLTQER3OAAJIuXFivk4fp6fTLhwe9BtJrNt8o5HYRG4pcSw1R7sEdpnetwdGkgiynG8n7EM4fH0RjIdVtZ5tVECTvO4CjwZCqO0DOoOB4ykjENBtSdQsIEvhB+Gg8pOoakAUk3znnngziMnsZRjeqsZyQ5nOQLe9BAt8RV52pxhCAIInvApCqBw0lLNStgmA5WGL61eroMpxas8YQgEBN1Bw9veKOw6nhAQEo6f4s9sRgYAS7DKUgt5ONRF7M/bcrGhSMXQACRVED5MFN05fp04e3ai00UvHQCgJFEfeyYZJvrmV2BciVovi/HA5vuIbaebndgbGrECvm3Kc8BTvz90baLRRLU+xSQbaAQVLvjl9WavS7GTVUHICsWH0G5RiC7UFZAEWEPADC+LW0AGaEnOUMhB96i9/iY0yJWREAkmHqzoABEBlzjCS9wGh3y8f+dXNfnY7fH8My/2N9HP8IwjR9cb8fcwmoQ/kkQ0HKbRitYX5XY4AnlLxAFP5lDab12z08AOEHICjPnnP/B6B0AiOP7uzBAAAAAElFTkSuQmCC",network=""+new URL("network-0f22586e.png",import.meta.url).href,sdxl=""+new URL("sdxl-7c167940.png",import.meta.url).href,suno=""+new URL("suno-e14fd81c.ico",import.meta.url).href,tencent=""+new URL("tencentlogo-358d1ec1.png",import.meta.url).href,xunfei="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDE6MTM6MjIrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDE6MTM6MjIrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAxOjEzOjIyKzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz7O8zxmAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAY2SURBVGiB7dl9jFRnFQbw351dGKCwUJuO/WAp/XSLQFtpdYwZU5I2Wok1bNOq2ND6ERONVkO1KjE0pmpqsdpEbTQaq8ZUbQJ+BZtq8CODcRItqdriChZCIwoDkuVjdzs7O3P9471blmXu9s7u8odxn+RmMnfO+97nueec95z3HWYwgxnM4H8J0dl+QDVyDa7EjkLs4Nl6Tu5sTTwGnfgYNlQjF1Wjs/Pypl1IqVKLSpXaeLI53IsNnB0x0yqkVKnlUMC5Kc/aIHjn4ukWM21CEhFL8H7cmGIW4SO4D93TKWZahJQqtQ5cKrzxOzBrAvMIH8InTKOYzqlOkIi4XCB3N46jY4xJs8WwCB9Inv957J8qjyl5JBFxBe7Bu7EAXegak/AnMNxieCSE4aZq5NKp8GAKQkqVWieuEkTcjfnJT/NxIc5Jvv8bVYykTPUefKYauWqyXJikkHEi7nKKNOFNX41uKMQG8EccnWDKO3F/NbJsMnyYhJAxIj7qTBGjuA49yUoGv8AeNFKmjYRFYlM1sqJdTrQpJCHWLXjiTsxNMV2KNwg1BZ7FEziIOGVMJ9ZiYzVyRTu8aN8jC7Ee75IuYpTULbihVKnNKsQa+AG+hyPSxczGW/HhamRRO8QyCylVarOFt/xepxJ7IrwKtwv1RSF2GI/iEeyWHmbnJON6s3KjPY+cJyyX3RntO/AW3Faq1M6HQuyfgpiN+A6e19o752N9NXJZVnKZqmqpUpuFNfi+1sk9Ef6Bz2FLuZg/AUk1X4qVWJFcVybXqLcP48FC7EtZHpJVyEJ8TciN8WjgOQyimDLFXwQx28rF/MDYH6qR+ViMCwRvr8JNwsr4a6wrxBMu3cgeWufi5pTf9uEbeAx7U2xWCOH0tlKldppHC7GTy9f2LV6+tu+FXYte/TgeElr+7wqF9bosBLMKWSbE7Xg08Gf8GD/HFqHXGo9ICKNNWDdeDFbj23es3rJ5+dq+JfvnX7IdX8SPcE0WglmFrNA6DI/iaRxKrsfwM9Ra2EbCSvYprEz6tFE8gzcKK+JX1tz81L23r956EFuFFudlkVXI0pT7R7C7XMw3y8V8U6jeX8Y2rRvF0bl6nV6HdiSfXXgN7vnbomWbPn7Dw1X8MgvBrELSitOgIAaUi/kR/BUP4CcYajEmSsjmx9w7PMY2J+TG259cvOYuE/doLyGrkLTVLTZuv1Eu5utCS7JRqOTHWowbv/FqOr2eRIKY25av7bskC8GsQlolMCE8ztifJ57Zh834U4txz6E+5vsizGvB7WK8LgvBrEIOpNx/Ba0bvCRn+p2Z+AP4YfI5itdq7fW5uCgLwaxb3WdT7hewqlSpLRit2lCq1LpwidBgrhpjP4xPY2e5mB/ba61Lmb/pdM+lIqtHnhYSezw6cC3eNO7+oHCicrWQ1MfxK9yKr48VXejtuxzvSHnugBCiL4usHjmG7UKLPR49eGepUtuJfeViPk5yZFtypaLQ2zdH6ApanbrEQm36QxaCWT0yGtetWu8c3oz7xBYXnzrZ0cLmNBR6+6JCb1+X0NLfmGLWj+3VrT3Tt/yWi/lh/E7Ye7fCPKyPm/EXiFYte+TQggvX7T5DUKG3L1fo7ZsvNITfFA4eWglvCkdEj2fhRxun8aVKLS/E+LeECnwmYkYGGnsG9w89MbB36MmhAy8eqB8fGU3WTmFxuCUR0C39RR7B5urWnoey8mvrlC/ZIN0v9ERz0uwaQw0n9wwOntg9+MLwf4YPjgw04ngkvkBoTybaIos6oxc1bYub8fuqW3v6s3JrV0gkhMXDwp4hP5H9yImGgX2DBvYNqffXNWpNcT0WN2LxaD8QEeUiuVmRXD430jG34/cdc3IffP7B7l3tcGv73DXpWq/FZ1GSYccYN2P1/hHDR+tx/VhdY6AZNevNOI5FuY4o7pib09nVWZ993uxKvjD7kzten8+0Uk1JCC+JWSkcWt+EV052rgT9+C0eKBfzOyczwaQfnoTZEmH7e6tQTxa2Oc0Qdgmt+lfLxfy/Jstnykf6pUptHq4XiuX1uEzwUFr+1IVCt1fYXf4Uv0l6s0lj2v5oSbavPYKYHuEwocup1a0mtCqH8HehK34mqVEzmMEMZvB/hv8CkprPZL58AJQAAAAASUVORK5CYII=",zhipu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAEsGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iWE1QIENvcmUgNS41LjAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgeG1sbnM6ZXhpZj0iaHR0cDovL25zLmFkb2JlLmNvbS9leGlmLzEuMC8iCiAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyIKICAgIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIKICAgIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIKICAgIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIgogICAgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIKICAgZXhpZjpQaXhlbFhEaW1lbnNpb249IjUwIgogICBleGlmOlBpeGVsWURpbWVuc2lvbj0iNTAiCiAgIGV4aWY6Q29sb3JTcGFjZT0iMSIKICAgdGlmZjpJbWFnZVdpZHRoPSI1MCIKICAgdGlmZjpJbWFnZUxlbmd0aD0iNTAiCiAgIHRpZmY6UmVzb2x1dGlvblVuaXQ9IjIiCiAgIHRpZmY6WFJlc29sdXRpb249IjcyLzEiCiAgIHRpZmY6WVJlc29sdXRpb249IjcyLzEiCiAgIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiCiAgIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIKICAgeG1wOk1vZGlmeURhdGU9IjIwMjMtMTItMjRUMDA6Mjg6MDUrMDg6MDAiCiAgIHhtcDpNZXRhZGF0YURhdGU9IjIwMjMtMTItMjRUMDA6Mjg6MDUrMDg6MDAiPgogICA8eG1wTU06SGlzdG9yeT4KICAgIDxyZGY6U2VxPgogICAgIDxyZGY6bGkKICAgICAgc3RFdnQ6YWN0aW9uPSJwcm9kdWNlZCIKICAgICAgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWZmaW5pdHkgUGhvdG8gMS4xMC44IgogICAgICBzdEV2dDp3aGVuPSIyMDIzLTEyLTI0VDAwOjI4OjA1KzA4OjAwIi8+CiAgICA8L3JkZjpTZXE+CiAgIDwveG1wTU06SGlzdG9yeT4KICA8L3JkZjpEZXNjcmlwdGlvbj4KIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+Cjw/eHBhY2tldCBlbmQ9InIiPz56A23nAAABgmlDQ1BzUkdCIElFQzYxOTY2LTIuMQAAKJF1kc8rRFEUxz8zaMRoFMXCYpIfCz8aoyY2ykgoSWOUwWbmzS81P17vPUm2ylZRYuPXgr+ArbJWikjJljWxYXrOm5maSebczj2f+733nO49F+zBlJLWqz2QzhhaYMLvXggtuh2vOGmhnh66w4qujs7OTlPRvh6wWfGuz6pV+dy/Vh+N6QrYaoVHFFUzhCeFp9cM1eJd4WYlGY4Knwv3anJB4XtLjxT4zeJEgX8s1oKBMbA3CrsTZRwpYyWppYXl5XSkU6tK8T7WS5yxzPycxHbxNnQCTODHzRTjjOFjgGGZffThpV9WVMj35PNnyEquIrPKOhorJEhi0CvqqlSPSYyLHpORYt3q/9++6vFBb6G60w81L6b50QmOHchtm+b3sWnmTqDqGa4ypfzsEQx9ir5d0joOwbUJF9clLbIHl1vQ+qSGtXBeqhK3x+PwfgYNIWi6hbqlQs+K+5w+QnBDvuoG9g+gS867ln8Bk81n+oaq8IsAAAAJcEhZcwAACxMAAAsTAQCanBgAAAV7SURBVGiB7ZldbBRVFMd/d3a37RYGho8aW6VIMUJMCdaga1CBATQKimgkSogkLMRo0AdUDEZM1FR9ABONxoAxo4mKhMT4UNOgESb4EZ0ooMADn5HPoKgwZdrSbmd3fJjdcrvt7sz2423/yc3mnnvvuec/M/fcc85CGWWUUUYZZZSBGOkNNN2pBKYBjcDNQDdwHjgF/GCbatdw7DPsRDTdiQDLgSX4xt8ERApM7wC+Ad61TfX7oew7bEQ03VGAZcCrwPRBqPgceN421b8Hs/+QiWi6I4ClwGvAjCGqOw7cbZvqX6UuHBIRTXemADuAWQWmnAQOAoeyv4eBWuBWoAm4A6jLW3MImGOb6qVSbBk0EU13pgPfAdcNMLwH2Gib6o8BOuLAFmBl3tBm21TXl2LPoIhoutOEf0hr8oZ+Bl4Bdtum6oXUJYC1wDtcdQpdQINtqufD2lQyEU13ZgOtwFhJfBl4AmiZNmV0BTAFuBGYmm0TgdP4Z+BEtp21DJGR9H4GrJB0brRN9Y0RIaLpznygBaiWxP+OGRVdXXtN1X3AA/ifmhJCXTc+sU+ArUf+bJ8DfC2Nt9imuiSsbaGJaLozGjiKf1hz+Ke+Nr4/XhVZSDjjC6Etk/E+PHaqYw0wLis7b5tqviMoiGgJm72ARCISEV2T6+I1sahyb4i1bsBeYxVFrK+sULzuVO/XVl1kfj+EIqLpTh3Qx4vU18arYtF+L+Es8C3+GZDPQxu+m50qtWnAYiCeW9zjevIX4pbAI/QbaUZ6QuPGxKiI9SFxENgEbLcM0VNAx7ls6w1FEkmvBngGWOumvQmZzFVHF4mIkj7VwDOi6c4twL7cXEURNEyqJqIIgD+ADZYhdpayaT4SSa/6Uluq+cLF1LqcLF4VOVBfG58PjLIMcTpIRxjWq5EIT9QqciR+A+YNlQSAZYjOCxdTqiyrjCl78SOGzWF0hCEyT+5oY2IAe4F7LEPYoSwNgKY7M/EfmG+UwFMivAUkgGWJpKcH6ShKRNOd8fihOACxmIIQtDG8JATwNtJbVxTxZs24yrPAU1nRuoHWygh6IxPlTkVUAOy0DFFSQBeARcACqX/STXvNwJNcdfdNQUqCiMTlTtZTtYS3sTg03WkEPsoTb8hmjfLFe30i6U0opiuISLpPx3ePe0PaWRSa7tyGHyVfK4l/wU8LAP7LW9JQTF8QkSNA773Q3pnGTXsLw5laGJruzAV2AeMlsQ08LUXNC/KWFXXBRYnYptqjKBzL9TMZj/YOd1V4k/tD052lwE5AdrcXgLm2qf4OkEh6o+jrLdssQxRNgQPdr+exRe5fupxqaljaNTek3b3QdGe2pju7gK+AKmnoDH56e0CSrQQqpX5rkP4wRLYqCr2uNtXjCdvp2V13f2d+VjcgNN2ZpelOK/ATMD9v+Dhwl22qR3OCRNJ7HHgvb96moH1ChfE197Qv73G9bflyRaE1k2EPfgizH/88NWbbDHy3eWcBtfuAxXKhIZH0HsOvpsjloy8tQzw6LEQA6hZ1NndeSb8cdn4RHMOvuGy3TTUNkEh6DcBz+BegTOIIcLtliMtBSkvKEG94qOt9p91dm86ESsfzcRJ4HfjUNlUXIJH0ZgEvAo/Qv4h3DlhoGeJwGOUl5+wzV7gPtrW7O5wOtyqdDiSUUgQnolFl26Taql+jEWUyffORxgLrLOBhyxAjV3wASCS9es/zXrrSnVl1pStd6aY9XNdDCKisUHrbAIlXEM7gV1M+sAxRUk14SAW6bGL0LH45Z3zA9GI4hO+ZviiSmBXFsNR+sxfYGvwAcCowmeLZZwd+CnwU+NgyROA9EYQR+VshkfSi+GTkutYpsjm8ZYiSa7tllFFGGWWUUUYI/A/6RZ4aHhranwAAAABJRU5ErkJggg==",_hoisted_1$k=["src"],_hoisted_2$j=["src"],_hoisted_3$i=["src"],_hoisted_4$f=["src"],_hoisted_5$e={key:4,class:"select-none inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-200 dark:border-gray-700 border-solid dark:bg-gray-500 text-gray-600 dark:text-white font-semibold text-base"},_hoisted_6$d=createBaseVNode("span",{class:"flex items-center justify-center w-full h-full"}," AI ",-1),_hoisted_7$c=[_hoisted_6$d],_sfc_main$j=defineComponent({__name:"Avatar",props:{image:{type:Boolean},model:{},modelAvatar:{}},setup(k){const m=k,M=useChatStore(),G=computed(()=>{var D,B,R,U,K,z,e,ae,ie,he,J,W,X,L,Q;if((D=m.model)!=null&&D.includes("gpt"))return gpt4logo;if((B=m.model)!=null&&B.includes("dall-e"))return dalle;if((R=m.model)!=null&&R.includes("midjourney"))return midjourney;if((U=m.model)!=null&&U.includes("gemini"))return gemini;if((K=m.model)!=null&&K.includes("360"))return logo360;if((z=m.model)!=null&&z.includes("qwen"))return ali;if((e=m.model)!=null&&e.includes("ERNIE"))return baidu;if((ae=m.model)!=null&&ae.includes("claude"))return claude;if((ie=m.model)!=null&&ie.includes("hunyuan"))return tencent;if((he=m.model)!=null&&he.includes("SparkDesk"))return xunfei;if((J=m.model)!=null&&J.includes("glm"))return zhipu;if((W=m.model)!=null&&W.includes("suno"))return suno;if((X=m.model)!=null&&X.includes("network"))return network;if((L=m.model)!=null&&L.includes("mindmap"))return mindmap;if((Q=m.model)!=null&&Q.includes("stable-diffusion"))return sdxl}),V=useAuthStore(),q=computed(()=>{var B;return((B=$.value)==null?void 0:B.appLogo)||V.globalConfig.robotAvatar}),$=computed(()=>M.groupList.find(D=>D.uuid===M.active));return(D,B)=>unref(isString$1)(D.modelAvatar)&&D.modelAvatar.length>0?(openBlock(),createElementBlock("img",{key:0,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border da r border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:D.modelAvatar,alt:"Robot Avatar"},null,8,_hoisted_1$k)):unref(isString$1)(q.value)&&q.value.length>0?(openBlock(),createElementBlock("img",{key:1,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:q.value,alt:"Robot Avatar"},null,8,_hoisted_2$j)):G.value?(openBlock(),createElementBlock("img",{key:2,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:G.value,alt:"Robot Avatar"},null,8,_hoisted_3$i)):unref(isString$1)(q.value)&&q.value.length>0?(openBlock(),createElementBlock("img",{key:3,class:"inline-flex h-7 w-7 items-center justify-center rounded-full border border-gray-100 dark:border-gray-750 border-solid shadow-sm",src:q.value,alt:"Robot Avatar"},null,8,_hoisted_4$f)):(openBlock(),createElementBlock("span",_hoisted_5$e,_hoisted_7$c))}});var katex$1={exports:{}};(function(k,m){(function(G,V){k.exports=V()})(typeof self<"u"?self:commonjsGlobal$1,function(){return function(){var M={};(function(){M.d=function(Tt,De){for(var qe in De)M.o(De,qe)&&!M.o(Tt,qe)&&Object.defineProperty(Tt,qe,{enumerable:!0,get:De[qe]})}})(),function(){M.o=function(Tt,De){return Object.prototype.hasOwnProperty.call(Tt,De)}}();var G={};M.d(G,{default:function(){return Ua}});var V=function Tt(De,qe){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var We="KaTeX parse error: "+De,at,xt,Rt=qe&&qe.loc;if(Rt&&Rt.start<=Rt.end){var qt=Rt.lexer.input;at=Rt.start,xt=Rt.end,at===qt.length?We+=" at end of input: ":We+=" at position "+(at+1)+": ";var Kt=qt.slice(at,xt).replace(/[^]/g,"$&̲"),rr;at>15?rr="…"+qt.slice(at-15,at):rr=qt.slice(0,at);var mr;xt+15":">","<":"<",'"':""","'":"'"},K=/[&><"']/g;function z(Tt){return String(Tt).replace(K,function(De){return U[De]})}var e=function Tt(De){return De.type==="ordgroup"||De.type==="color"?De.body.length===1?Tt(De.body[0]):De:De.type==="font"?Tt(De.body):De},ae=function(De){var qe=e(De);return qe.type==="mathord"||qe.type==="textord"||qe.type==="atom"},ie=function(De){if(!De)throw new Error("Expected non-null, but got "+String(De));return De},he=function(De){var qe=/^\s*([^\\/#]*?)(?::|�*58|�*3a)/i.exec(De);return qe!=null?qe[1]:"_relative"},J={contains:$,deflt:D,escape:z,hyphenate:R,getBaseElem:e,isCharacterBox:ae,protocolFromUrl:he},W={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format "},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color ",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:function(De){return"#"+De}},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:function(De,qe){return qe.push(De),qe}},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:function(De){return Math.max(0,De)},cli:"--min-rule-thickness ",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:function(De){return Math.max(0,De)},cli:"-s, --max-size ",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:function(De){return Math.max(0,De)},cli:"-e, --max-expand ",cliProcessor:function(De){return De==="Infinity"?1/0:parseInt(De)}},globalGroup:{type:"boolean",cli:!1}};function X(Tt){if(Tt.default)return Tt.default;var De=Tt.type,qe=Array.isArray(De)?De[0]:De;if(typeof qe!="string")return qe.enum[0];switch(qe){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}var L=function(){function Tt(qe){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,qe=qe||{};for(var We in W)if(W.hasOwnProperty(We)){var at=W[We];this[We]=qe[We]!==void 0?at.processor?at.processor(qe[We]):qe[We]:X(at)}}var De=Tt.prototype;return De.reportNonstrict=function(We,at,xt){var Rt=this.strict;if(typeof Rt=="function"&&(Rt=Rt(We,at,xt)),!(!Rt||Rt==="ignore")){if(Rt===!0||Rt==="error")throw new q("LaTeX-incompatible input and strict mode is set to 'error': "+(at+" ["+We+"]"),xt);Rt==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(at+" ["+We+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Rt+"': "+at+" ["+We+"]"))}},De.useStrictBehavior=function(We,at,xt){var Rt=this.strict;if(typeof Rt=="function")try{Rt=Rt(We,at,xt)}catch{Rt="error"}return!Rt||Rt==="ignore"?!1:Rt===!0||Rt==="error"?!0:Rt==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(at+" ["+We+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+Rt+"': "+at+" ["+We+"]")),!1)},De.isTrusted=function(We){We.url&&!We.protocol&&(We.protocol=J.protocolFromUrl(We.url));var at=typeof this.trust=="function"?this.trust(We):this.trust;return!!at},Tt}(),Q=function(){function Tt(qe,We,at){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=qe,this.size=We,this.cramped=at}var De=Tt.prototype;return De.sup=function(){return fe[ve[this.id]]},De.sub=function(){return fe[ye[this.id]]},De.fracNum=function(){return fe[Ce[this.id]]},De.fracDen=function(){return fe[pe[this.id]]},De.cramp=function(){return fe[_e[this.id]]},De.text=function(){return fe[Ge[this.id]]},De.isTight=function(){return this.size>=2},Tt}(),ce=0,de=1,se=2,oe=3,me=4,Ee=5,ke=6,xe=7,fe=[new Q(ce,0,!1),new Q(de,0,!0),new Q(se,1,!1),new Q(oe,1,!0),new Q(me,2,!1),new Q(Ee,2,!0),new Q(ke,3,!1),new Q(xe,3,!0)],ve=[me,Ee,me,Ee,ke,xe,ke,xe],ye=[Ee,Ee,Ee,Ee,xe,xe,xe,xe],Ce=[se,oe,me,Ee,ke,xe,ke,xe],pe=[oe,oe,Ee,Ee,xe,xe,xe,xe],_e=[de,de,oe,oe,Ee,Ee,xe,xe],Ge=[ce,de,se,oe,se,oe,se,oe],Ae={DISPLAY:fe[ce],TEXT:fe[se],SCRIPT:fe[me],SCRIPTSCRIPT:fe[ke]},Ne=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Ze(Tt){for(var De=0;De=at[0]&&Tt<=at[1])return qe.name}return null}var ze=[];Ne.forEach(function(Tt){return Tt.blocks.forEach(function(De){return ze.push.apply(ze,De)})});function Te(Tt){for(var De=0;De=ze[De]&&Tt<=ze[De+1])return!0;return!1}var Fe=80,Pe=function(De,qe){return"M95,"+(622+De+qe)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10 s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429 c69,-144,104.5,-217.7,106.5,-221 -l`+Pe/2.075+" -"+Pe+` +l`+De/2.075+" -"+De+` c5.3,-9.3,12,-14,20,-14 -H400000v`+(40+Pe)+`H845.2724 +H400000v`+(40+De)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z -M`+(834+Pe)+" "+qe+"h400000v"+(40+Pe)+"h-400000z"},we=function(Pe,qe){return"M263,"+(601+Pe+qe)+`c0.7,0,18,39.7,52,119 +M`+(834+De)+" "+qe+"h400000v"+(40+De)+"h-400000z"},we=function(De,qe){return"M263,"+(601+De+qe)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 -l`+Pe/2.084+" -"+Pe+` +l`+De/2.084+" -"+De+` c4.7,-7.3,11,-11,19,-11 -H40000v`+(40+Pe)+`H1012.3 +H40000v`+(40+De)+`H1012.3 s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232 c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z -M`+(1001+Pe)+" "+qe+"h400000v"+(40+Pe)+"h-400000z"},Ie=function(Pe,qe){return"M983 "+(10+Pe+qe)+` -l`+Pe/3.13+" -"+Pe+` -c4,-6.7,10,-10,18,-10 H400000v`+(40+Pe)+` +M`+(1001+De)+" "+qe+"h400000v"+(40+De)+"h-400000z"},Ie=function(De,qe){return"M983 "+(10+De+qe)+` +l`+De/3.13+" -"+De+` +c4,-6.7,10,-10,18,-10 H400000v`+(40+De)+` H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7 s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744 c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z -M`+(1001+Pe)+" "+qe+"h400000v"+(40+Pe)+"h-400000z"},Be=function(Pe,qe){return"M424,"+(2398+Pe+qe)+` +M`+(1001+De)+" "+qe+"h400000v"+(40+De)+"h-400000z"},Be=function(De,qe){return"M424,"+(2398+De+qe)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081 -l`+Pe/4.223+" -"+Pe+`c4,-6.7,10,-10,18,-10 H400000 -v`+(40+Pe)+`H1014.6 +l`+De/4.223+" -"+De+`c4,-6.7,10,-10,18,-10 H400000 +v`+(40+De)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 -c-8,0,-12,-0.7,-12,-2z M`+(1001+Pe)+" "+qe+` -h400000v`+(40+Pe)+"h-400000z"},Ke=function(Pe,qe){return"M473,"+(2713+Pe+qe)+` -c339.3,-1799.3,509.3,-2700,510,-2702 l`+Pe/5.298+" -"+Pe+` -c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+Pe)+`H1017.7 +c-8,0,-12,-0.7,-12,-2z M`+(1001+De)+" "+qe+` +h400000v`+(40+De)+"h-400000z"},Ke=function(De,qe){return"M473,"+(2713+De+qe)+` +c339.3,-1799.3,509.3,-2700,510,-2702 l`+De/5.298+" -"+De+` +c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+De)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200 c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, -606zM`+(1001+Pe)+" "+qe+"h400000v"+(40+Pe)+"H1017.7z"},Ve=function(Pe){var qe=Pe/2;return"M400000 "+Pe+" H0 L"+qe+" 0 l65 45 L145 "+(Pe-80)+" H400000z"},je=function(Pe,qe,We){var at=We-54-qe-Pe;return"M702 "+(Pe+qe)+"H400000"+(40+Pe)+` +606zM`+(1001+De)+" "+qe+"h400000v"+(40+De)+"H1017.7z"},Ve=function(De){var qe=De/2;return"M400000 "+De+" H0 L"+qe+" 0 l65 45 L145 "+(De-80)+" H400000z"},je=function(De,qe,We){var at=We-54-qe-De;return"M702 "+(De+qe)+"H400000"+(40+De)+` H742v`+at+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+qe+"H400000v"+(40+Pe)+"H742z"},Le=function(Pe,qe,We){qe=1e3*qe;var at="";switch(Pe){case"sqrtMain":at=Ue(qe,De);break;case"sqrtSize1":at=we(qe,De);break;case"sqrtSize2":at=Ie(qe,De);break;case"sqrtSize3":at=Be(qe,De);break;case"sqrtSize4":at=Ke(qe,De);break;case"sqrtTall":at=je(qe,De,We)}return at},et=function(Pe,qe){switch(Pe){case"⎜":return"M291 0 H417 V"+qe+" H291z M291 0 H417 V"+qe+" H291z";case"∣":return"M145 0 H188 V"+qe+" H145z M145 0 H188 V"+qe+" H145z";case"∥":return"M145 0 H188 V"+qe+" H145z M145 0 H188 V"+qe+" H145z"+("M367 0 H410 V"+qe+" H367z M367 0 H410 V"+qe+" H367z");case"⎟":return"M457 0 H583 V"+qe+" H457z M457 0 H583 V"+qe+" H457z";case"⎢":return"M319 0 H403 V"+qe+" H319z M319 0 H403 V"+qe+" H319z";case"⎥":return"M263 0 H347 V"+qe+" H263z M263 0 H347 V"+qe+" H263z";case"⎪":return"M384 0 H504 V"+qe+" H384z M384 0 H504 V"+qe+" H384z";case"⏐":return"M312 0 H355 V"+qe+" H312z M312 0 H355 V"+qe+" H312z";case"‖":return"M257 0 H300 V"+qe+" H257z M257 0 H300 V"+qe+" H257z"+("M478 0 H521 V"+qe+" H478z M478 0 H521 V"+qe+" H478z");default:return""}},Qe={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+qe+"H400000v"+(40+De)+"H742z"},Le=function(De,qe,We){qe=1e3*qe;var at="";switch(De){case"sqrtMain":at=Pe(qe,Fe);break;case"sqrtSize1":at=we(qe,Fe);break;case"sqrtSize2":at=Ie(qe,Fe);break;case"sqrtSize3":at=Be(qe,Fe);break;case"sqrtSize4":at=Ke(qe,Fe);break;case"sqrtTall":at=je(qe,Fe,We)}return at},et=function(De,qe){switch(De){case"⎜":return"M291 0 H417 V"+qe+" H291z M291 0 H417 V"+qe+" H291z";case"∣":return"M145 0 H188 V"+qe+" H145z M145 0 H188 V"+qe+" H145z";case"∥":return"M145 0 H188 V"+qe+" H145z M145 0 H188 V"+qe+" H145z"+("M367 0 H410 V"+qe+" H367z M367 0 H410 V"+qe+" H367z");case"⎟":return"M457 0 H583 V"+qe+" H457z M457 0 H583 V"+qe+" H457z";case"⎢":return"M319 0 H403 V"+qe+" H319z M319 0 H403 V"+qe+" H319z";case"⎥":return"M263 0 H347 V"+qe+" H263z M263 0 H347 V"+qe+" H263z";case"⎪":return"M384 0 H504 V"+qe+" H384z M384 0 H504 V"+qe+" H384z";case"⏐":return"M312 0 H355 V"+qe+" H312z M312 0 H355 V"+qe+" H312z";case"‖":return"M257 0 H300 V"+qe+" H257z M257 0 H300 V"+qe+" H257z"+("M478 0 H521 V"+qe+" H478z M478 0 H521 V"+qe+" H478z");default:return""}},Qe={doubleleftarrow:`M262 157 l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5 @@ -224,7 +224,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199, -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6 c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Fe=function(Pe,qe){switch(Pe){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+qe+` v1759 h347 v-84 +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},Ue=function(De,qe){switch(De){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+qe+` v1759 h347 v-84 H403z M403 1759 V0 H319 V1759 v`+qe+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+qe+` v1759 H0 v84 H347z M347 1759 V0 H263 V1759 v`+qe+" v1759 h84z";case"vert":return"M145 15 v585 v"+qe+` v585 c2.667,10,9.667,15,21,15 c10,0,16.667,-5,20,-15 v-585 v`+-qe+` v-585 c-2.667,-10,-9.667,-15,-21,-15 @@ -252,25 +252,25 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6 c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(qe+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}},$e=function(){function Tt(qe){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=qe,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}var Pe=Tt.prototype;return Pe.hasClass=function(We){return J.contains(this.classes,We)},Pe.toNode=function(){for(var We=document.createDocumentFragment(),at=0;at=5?Pe=0:Tt>=3?Pe=1:Pe=2,!ct[Pe]){var qe=ct[Pe]={cssEmPerMu:tt.quad[Pe]/18};for(var We in tt)tt.hasOwnProperty(We)&&(qe[We]=tt[We][Pe])}return ct[Pe]}var ut=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],rt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],He=function(Pe,qe){return qe.size<2?Pe:ut[Pe-1][qe.size-1]},Je=function(){function Tt(qe){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=qe.style,this.color=qe.color,this.size=qe.size||Tt.BASESIZE,this.textSize=qe.textSize||this.size,this.phantom=!!qe.phantom,this.font=qe.font||"",this.fontFamily=qe.fontFamily||"",this.fontWeight=qe.fontWeight||"",this.fontShape=qe.fontShape||"",this.sizeMultiplier=rt[this.size-1],this.maxSize=qe.maxSize,this.minRuleThickness=qe.minRuleThickness,this._fontMetrics=void 0}var Pe=Tt.prototype;return Pe.extend=function(We){var at={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var xt in We)We.hasOwnProperty(xt)&&(at[xt]=We[xt]);return new Tt(at)},Pe.havingStyle=function(We){return this.style===We?this:this.extend({style:We,size:He(this.textSize,We)})},Pe.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},Pe.havingSize=function(We){return this.size===We&&this.textSize===We?this:this.extend({style:this.style.text(),size:We,textSize:We,sizeMultiplier:rt[We-1]})},Pe.havingBaseStyle=function(We){We=We||this.style.text();var at=He(Tt.BASESIZE,We);return this.size===at&&this.textSize===Tt.BASESIZE&&this.style===We?this:this.extend({style:We,size:at})},Pe.havingBaseSizing=function(){var We;switch(this.style.id){case 4:case 5:We=3;break;case 6:case 7:We=1;break;default:We=6}return this.extend({style:this.style.text(),size:We})},Pe.withColor=function(We){return this.extend({color:We})},Pe.withPhantom=function(){return this.extend({phantom:!0})},Pe.withFont=function(We){return this.extend({font:We})},Pe.withTextFontFamily=function(We){return this.extend({fontFamily:We,font:""})},Pe.withTextFontWeight=function(We){return this.extend({fontWeight:We,font:""})},Pe.withTextFontShape=function(We){return this.extend({fontShape:We,font:""})},Pe.sizingClasses=function(We){return We.size!==this.size?["sizing","reset-size"+We.size,"size"+this.size]:[]},Pe.baseSizingClasses=function(){return this.size!==Tt.BASESIZE?["sizing","reset-size"+this.size,"size"+Tt.BASESIZE]:[]},Pe.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=mt(this.size)),this._fontMetrics},Pe.getColor=function(){return this.phantom?"transparent":this.color},Tt}();Je.BASESIZE=6;var St=Je,bt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},pt={ex:!0,em:!0,mu:!0},wt=function(Pe){return typeof Pe!="string"&&(Pe=Pe.unit),Pe in bt||Pe in pt||Pe==="ex"},Pt=function(Pe,qe){var We;if(Pe.unit in bt)We=bt[Pe.unit]/qe.fontMetrics().ptPerEm/qe.sizeMultiplier;else if(Pe.unit==="mu")We=qe.fontMetrics().cssEmPerMu;else{var at;if(qe.style.isTight()?at=qe.havingStyle(qe.style.text()):at=qe,Pe.unit==="ex")We=at.fontMetrics().xHeight;else if(Pe.unit==="em")We=at.fontMetrics().quad;else throw new q("Invalid unit: '"+Pe.unit+"'");at!==qe&&(We*=at.sizeMultiplier/qe.sizeMultiplier)}return Math.min(Pe.number*We,qe.maxSize)},Nt=function(Pe){return+Pe.toFixed(4)+"em"},Vt=function(Pe){return Pe.filter(function(qe){return qe}).join(" ")},Wt=function(Pe,qe,We){if(this.classes=Pe||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=We||{},qe){qe.style.isTight()&&this.classes.push("mtight");var at=qe.getColor();at&&(this.style.color=at)}},Mt=function(Pe){var qe=document.createElement(Pe);qe.className=Vt(this.classes);for(var We in this.style)this.style.hasOwnProperty(We)&&(qe.style[We]=this.style[We]);for(var at in this.attributes)this.attributes.hasOwnProperty(at)&&qe.setAttribute(at,this.attributes[at]);for(var xt=0;xt",qe},Yt=function(){function Tt(qe,We,at,xt){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Wt.call(this,qe,at,xt),this.children=We||[]}var Pe=Tt.prototype;return Pe.setAttribute=function(We,at){this.attributes[We]=at},Pe.hasClass=function(We){return J.contains(this.classes,We)},Pe.toNode=function(){return Mt.call(this,"span")},Pe.toMarkup=function(){return $t.call(this,"span")},Tt}(),Ft=function(){function Tt(qe,We,at,xt){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Wt.call(this,We,xt),this.children=at||[],this.setAttribute("href",qe)}var Pe=Tt.prototype;return Pe.setAttribute=function(We,at){this.attributes[We]=at},Pe.hasClass=function(We){return J.contains(this.classes,We)},Pe.toNode=function(){return Mt.call(this,"a")},Pe.toMarkup=function(){return $t.call(this,"a")},Tt}(),Jt=function(){function Tt(qe,We,at){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=We,this.src=qe,this.classes=["mord"],this.style=at}var Pe=Tt.prototype;return Pe.hasClass=function(We){return J.contains(this.classes,We)},Pe.toNode=function(){var We=document.createElement("img");We.src=this.src,We.alt=this.alt,We.className="mord";for(var at in this.style)this.style.hasOwnProperty(at)&&(We.style[at]=this.style[at]);return We},Pe.toMarkup=function(){var We=""+this.alt+"0&&(at=document.createElement("span"),at.style.marginRight=Nt(this.italic)),this.classes.length>0&&(at=at||document.createElement("span"),at.className=Vt(this.classes));for(var xt in this.style)this.style.hasOwnProperty(xt)&&(at=at||document.createElement("span"),at.style[xt]=this.style[xt]);return at?(at.appendChild(We),at):We},Pe.toMarkup=function(){var We=!1,at="0&&(xt+="margin-right:"+this.italic+"em;");for(var Rt in this.style)this.style.hasOwnProperty(Rt)&&(xt+=J.hyphenate(Rt)+":"+this.style[Rt]+";");xt&&(We=!0,at+=' style="'+J.escape(xt)+'"');var qt=J.escape(this.text);return We?(at+=">",at+=qt,at+="",at):qt},Tt}(),It=function(){function Tt(qe,We){this.children=void 0,this.attributes=void 0,this.children=qe||[],this.attributes=We||{}}var Pe=Tt.prototype;return Pe.toNode=function(){var We="http://www.w3.org/2000/svg",at=document.createElementNS(We,"svg");for(var xt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,xt)&&at.setAttribute(xt,this.attributes[xt]);for(var Rt=0;Rt":""},Tt}(),Zt=function(){function Tt(qe){this.attributes=void 0,this.attributes=qe||{}}var Pe=Tt.prototype;return Pe.toNode=function(){var We="http://www.w3.org/2000/svg",at=document.createElementNS(We,"line");for(var xt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,xt)&&at.setAttribute(xt,this.attributes[xt]);return at},Pe.toMarkup=function(){var We=" but got "+String(Tt)+".")}var Dr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},kr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},cr={math:{},text:{}},Ar=cr;function yt(Tt,Pe,qe,We,at,xt){cr[Tt][at]={font:Pe,group:qe,replace:We},xt&&We&&(cr[Tt][We]=cr[Tt][at])}var vt="math",Xt="text",At="main",zt="ams",Br="accent-token",br="bin",Ur="close",un="inner",sr="mathord",ur="op-token",Cr="open",Tr="punct",jt="rel",Wr="spacing",ir="textord";yt(vt,At,jt,"≡","\\equiv",!0),yt(vt,At,jt,"≺","\\prec",!0),yt(vt,At,jt,"≻","\\succ",!0),yt(vt,At,jt,"∼","\\sim",!0),yt(vt,At,jt,"⊥","\\perp"),yt(vt,At,jt,"⪯","\\preceq",!0),yt(vt,At,jt,"⪰","\\succeq",!0),yt(vt,At,jt,"≃","\\simeq",!0),yt(vt,At,jt,"∣","\\mid",!0),yt(vt,At,jt,"≪","\\ll",!0),yt(vt,At,jt,"≫","\\gg",!0),yt(vt,At,jt,"≍","\\asymp",!0),yt(vt,At,jt,"∥","\\parallel"),yt(vt,At,jt,"⋈","\\bowtie",!0),yt(vt,At,jt,"⌣","\\smile",!0),yt(vt,At,jt,"⊑","\\sqsubseteq",!0),yt(vt,At,jt,"⊒","\\sqsupseteq",!0),yt(vt,At,jt,"≐","\\doteq",!0),yt(vt,At,jt,"⌢","\\frown",!0),yt(vt,At,jt,"∋","\\ni",!0),yt(vt,At,jt,"∝","\\propto",!0),yt(vt,At,jt,"⊢","\\vdash",!0),yt(vt,At,jt,"⊣","\\dashv",!0),yt(vt,At,jt,"∋","\\owns"),yt(vt,At,Tr,".","\\ldotp"),yt(vt,At,Tr,"⋅","\\cdotp"),yt(vt,At,ir,"#","\\#"),yt(Xt,At,ir,"#","\\#"),yt(vt,At,ir,"&","\\&"),yt(Xt,At,ir,"&","\\&"),yt(vt,At,ir,"ℵ","\\aleph",!0),yt(vt,At,ir,"∀","\\forall",!0),yt(vt,At,ir,"ℏ","\\hbar",!0),yt(vt,At,ir,"∃","\\exists",!0),yt(vt,At,ir,"∇","\\nabla",!0),yt(vt,At,ir,"♭","\\flat",!0),yt(vt,At,ir,"ℓ","\\ell",!0),yt(vt,At,ir,"♮","\\natural",!0),yt(vt,At,ir,"♣","\\clubsuit",!0),yt(vt,At,ir,"℘","\\wp",!0),yt(vt,At,ir,"♯","\\sharp",!0),yt(vt,At,ir,"♢","\\diamondsuit",!0),yt(vt,At,ir,"ℜ","\\Re",!0),yt(vt,At,ir,"♡","\\heartsuit",!0),yt(vt,At,ir,"ℑ","\\Im",!0),yt(vt,At,ir,"♠","\\spadesuit",!0),yt(vt,At,ir,"§","\\S",!0),yt(Xt,At,ir,"§","\\S"),yt(vt,At,ir,"¶","\\P",!0),yt(Xt,At,ir,"¶","\\P"),yt(vt,At,ir,"†","\\dag"),yt(Xt,At,ir,"†","\\dag"),yt(Xt,At,ir,"†","\\textdagger"),yt(vt,At,ir,"‡","\\ddag"),yt(Xt,At,ir,"‡","\\ddag"),yt(Xt,At,ir,"‡","\\textdaggerdbl"),yt(vt,At,Ur,"⎱","\\rmoustache",!0),yt(vt,At,Cr,"⎰","\\lmoustache",!0),yt(vt,At,Ur,"⟯","\\rgroup",!0),yt(vt,At,Cr,"⟮","\\lgroup",!0),yt(vt,At,br,"∓","\\mp",!0),yt(vt,At,br,"⊖","\\ominus",!0),yt(vt,At,br,"⊎","\\uplus",!0),yt(vt,At,br,"⊓","\\sqcap",!0),yt(vt,At,br,"∗","\\ast"),yt(vt,At,br,"⊔","\\sqcup",!0),yt(vt,At,br,"◯","\\bigcirc",!0),yt(vt,At,br,"∙","\\bullet",!0),yt(vt,At,br,"‡","\\ddagger"),yt(vt,At,br,"≀","\\wr",!0),yt(vt,At,br,"⨿","\\amalg"),yt(vt,At,br,"&","\\And"),yt(vt,At,jt,"⟵","\\longleftarrow",!0),yt(vt,At,jt,"⇐","\\Leftarrow",!0),yt(vt,At,jt,"⟸","\\Longleftarrow",!0),yt(vt,At,jt,"⟶","\\longrightarrow",!0),yt(vt,At,jt,"⇒","\\Rightarrow",!0),yt(vt,At,jt,"⟹","\\Longrightarrow",!0),yt(vt,At,jt,"↔","\\leftrightarrow",!0),yt(vt,At,jt,"⟷","\\longleftrightarrow",!0),yt(vt,At,jt,"⇔","\\Leftrightarrow",!0),yt(vt,At,jt,"⟺","\\Longleftrightarrow",!0),yt(vt,At,jt,"↦","\\mapsto",!0),yt(vt,At,jt,"⟼","\\longmapsto",!0),yt(vt,At,jt,"↗","\\nearrow",!0),yt(vt,At,jt,"↩","\\hookleftarrow",!0),yt(vt,At,jt,"↪","\\hookrightarrow",!0),yt(vt,At,jt,"↘","\\searrow",!0),yt(vt,At,jt,"↼","\\leftharpoonup",!0),yt(vt,At,jt,"⇀","\\rightharpoonup",!0),yt(vt,At,jt,"↙","\\swarrow",!0),yt(vt,At,jt,"↽","\\leftharpoondown",!0),yt(vt,At,jt,"⇁","\\rightharpoondown",!0),yt(vt,At,jt,"↖","\\nwarrow",!0),yt(vt,At,jt,"⇌","\\rightleftharpoons",!0),yt(vt,zt,jt,"≮","\\nless",!0),yt(vt,zt,jt,"","\\@nleqslant"),yt(vt,zt,jt,"","\\@nleqq"),yt(vt,zt,jt,"⪇","\\lneq",!0),yt(vt,zt,jt,"≨","\\lneqq",!0),yt(vt,zt,jt,"","\\@lvertneqq"),yt(vt,zt,jt,"⋦","\\lnsim",!0),yt(vt,zt,jt,"⪉","\\lnapprox",!0),yt(vt,zt,jt,"⊀","\\nprec",!0),yt(vt,zt,jt,"⋠","\\npreceq",!0),yt(vt,zt,jt,"⋨","\\precnsim",!0),yt(vt,zt,jt,"⪹","\\precnapprox",!0),yt(vt,zt,jt,"≁","\\nsim",!0),yt(vt,zt,jt,"","\\@nshortmid"),yt(vt,zt,jt,"∤","\\nmid",!0),yt(vt,zt,jt,"⊬","\\nvdash",!0),yt(vt,zt,jt,"⊭","\\nvDash",!0),yt(vt,zt,jt,"⋪","\\ntriangleleft"),yt(vt,zt,jt,"⋬","\\ntrianglelefteq",!0),yt(vt,zt,jt,"⊊","\\subsetneq",!0),yt(vt,zt,jt,"","\\@varsubsetneq"),yt(vt,zt,jt,"⫋","\\subsetneqq",!0),yt(vt,zt,jt,"","\\@varsubsetneqq"),yt(vt,zt,jt,"≯","\\ngtr",!0),yt(vt,zt,jt,"","\\@ngeqslant"),yt(vt,zt,jt,"","\\@ngeqq"),yt(vt,zt,jt,"⪈","\\gneq",!0),yt(vt,zt,jt,"≩","\\gneqq",!0),yt(vt,zt,jt,"","\\@gvertneqq"),yt(vt,zt,jt,"⋧","\\gnsim",!0),yt(vt,zt,jt,"⪊","\\gnapprox",!0),yt(vt,zt,jt,"⊁","\\nsucc",!0),yt(vt,zt,jt,"⋡","\\nsucceq",!0),yt(vt,zt,jt,"⋩","\\succnsim",!0),yt(vt,zt,jt,"⪺","\\succnapprox",!0),yt(vt,zt,jt,"≆","\\ncong",!0),yt(vt,zt,jt,"","\\@nshortparallel"),yt(vt,zt,jt,"∦","\\nparallel",!0),yt(vt,zt,jt,"⊯","\\nVDash",!0),yt(vt,zt,jt,"⋫","\\ntriangleright"),yt(vt,zt,jt,"⋭","\\ntrianglerighteq",!0),yt(vt,zt,jt,"","\\@nsupseteqq"),yt(vt,zt,jt,"⊋","\\supsetneq",!0),yt(vt,zt,jt,"","\\@varsupsetneq"),yt(vt,zt,jt,"⫌","\\supsetneqq",!0),yt(vt,zt,jt,"","\\@varsupsetneqq"),yt(vt,zt,jt,"⊮","\\nVdash",!0),yt(vt,zt,jt,"⪵","\\precneqq",!0),yt(vt,zt,jt,"⪶","\\succneqq",!0),yt(vt,zt,jt,"","\\@nsubseteqq"),yt(vt,zt,br,"⊴","\\unlhd"),yt(vt,zt,br,"⊵","\\unrhd"),yt(vt,zt,jt,"↚","\\nleftarrow",!0),yt(vt,zt,jt,"↛","\\nrightarrow",!0),yt(vt,zt,jt,"⇍","\\nLeftarrow",!0),yt(vt,zt,jt,"⇏","\\nRightarrow",!0),yt(vt,zt,jt,"↮","\\nleftrightarrow",!0),yt(vt,zt,jt,"⇎","\\nLeftrightarrow",!0),yt(vt,zt,jt,"△","\\vartriangle"),yt(vt,zt,ir,"ℏ","\\hslash"),yt(vt,zt,ir,"▽","\\triangledown"),yt(vt,zt,ir,"◊","\\lozenge"),yt(vt,zt,ir,"Ⓢ","\\circledS"),yt(vt,zt,ir,"®","\\circledR"),yt(Xt,zt,ir,"®","\\circledR"),yt(vt,zt,ir,"∡","\\measuredangle",!0),yt(vt,zt,ir,"∄","\\nexists"),yt(vt,zt,ir,"℧","\\mho"),yt(vt,zt,ir,"Ⅎ","\\Finv",!0),yt(vt,zt,ir,"⅁","\\Game",!0),yt(vt,zt,ir,"‵","\\backprime"),yt(vt,zt,ir,"▲","\\blacktriangle"),yt(vt,zt,ir,"▼","\\blacktriangledown"),yt(vt,zt,ir,"■","\\blacksquare"),yt(vt,zt,ir,"⧫","\\blacklozenge"),yt(vt,zt,ir,"★","\\bigstar"),yt(vt,zt,ir,"∢","\\sphericalangle",!0),yt(vt,zt,ir,"∁","\\complement",!0),yt(vt,zt,ir,"ð","\\eth",!0),yt(Xt,At,ir,"ð","ð"),yt(vt,zt,ir,"╱","\\diagup"),yt(vt,zt,ir,"╲","\\diagdown"),yt(vt,zt,ir,"□","\\square"),yt(vt,zt,ir,"□","\\Box"),yt(vt,zt,ir,"◊","\\Diamond"),yt(vt,zt,ir,"¥","\\yen",!0),yt(Xt,zt,ir,"¥","\\yen",!0),yt(vt,zt,ir,"✓","\\checkmark",!0),yt(Xt,zt,ir,"✓","\\checkmark"),yt(vt,zt,ir,"ℶ","\\beth",!0),yt(vt,zt,ir,"ℸ","\\daleth",!0),yt(vt,zt,ir,"ℷ","\\gimel",!0),yt(vt,zt,ir,"ϝ","\\digamma",!0),yt(vt,zt,ir,"ϰ","\\varkappa"),yt(vt,zt,Cr,"┌","\\@ulcorner",!0),yt(vt,zt,Ur,"┐","\\@urcorner",!0),yt(vt,zt,Cr,"└","\\@llcorner",!0),yt(vt,zt,Ur,"┘","\\@lrcorner",!0),yt(vt,zt,jt,"≦","\\leqq",!0),yt(vt,zt,jt,"⩽","\\leqslant",!0),yt(vt,zt,jt,"⪕","\\eqslantless",!0),yt(vt,zt,jt,"≲","\\lesssim",!0),yt(vt,zt,jt,"⪅","\\lessapprox",!0),yt(vt,zt,jt,"≊","\\approxeq",!0),yt(vt,zt,br,"⋖","\\lessdot"),yt(vt,zt,jt,"⋘","\\lll",!0),yt(vt,zt,jt,"≶","\\lessgtr",!0),yt(vt,zt,jt,"⋚","\\lesseqgtr",!0),yt(vt,zt,jt,"⪋","\\lesseqqgtr",!0),yt(vt,zt,jt,"≑","\\doteqdot"),yt(vt,zt,jt,"≓","\\risingdotseq",!0),yt(vt,zt,jt,"≒","\\fallingdotseq",!0),yt(vt,zt,jt,"∽","\\backsim",!0),yt(vt,zt,jt,"⋍","\\backsimeq",!0),yt(vt,zt,jt,"⫅","\\subseteqq",!0),yt(vt,zt,jt,"⋐","\\Subset",!0),yt(vt,zt,jt,"⊏","\\sqsubset",!0),yt(vt,zt,jt,"≼","\\preccurlyeq",!0),yt(vt,zt,jt,"⋞","\\curlyeqprec",!0),yt(vt,zt,jt,"≾","\\precsim",!0),yt(vt,zt,jt,"⪷","\\precapprox",!0),yt(vt,zt,jt,"⊲","\\vartriangleleft"),yt(vt,zt,jt,"⊴","\\trianglelefteq"),yt(vt,zt,jt,"⊨","\\vDash",!0),yt(vt,zt,jt,"⊪","\\Vvdash",!0),yt(vt,zt,jt,"⌣","\\smallsmile"),yt(vt,zt,jt,"⌢","\\smallfrown"),yt(vt,zt,jt,"≏","\\bumpeq",!0),yt(vt,zt,jt,"≎","\\Bumpeq",!0),yt(vt,zt,jt,"≧","\\geqq",!0),yt(vt,zt,jt,"⩾","\\geqslant",!0),yt(vt,zt,jt,"⪖","\\eqslantgtr",!0),yt(vt,zt,jt,"≳","\\gtrsim",!0),yt(vt,zt,jt,"⪆","\\gtrapprox",!0),yt(vt,zt,br,"⋗","\\gtrdot"),yt(vt,zt,jt,"⋙","\\ggg",!0),yt(vt,zt,jt,"≷","\\gtrless",!0),yt(vt,zt,jt,"⋛","\\gtreqless",!0),yt(vt,zt,jt,"⪌","\\gtreqqless",!0),yt(vt,zt,jt,"≖","\\eqcirc",!0),yt(vt,zt,jt,"≗","\\circeq",!0),yt(vt,zt,jt,"≜","\\triangleq",!0),yt(vt,zt,jt,"∼","\\thicksim"),yt(vt,zt,jt,"≈","\\thickapprox"),yt(vt,zt,jt,"⫆","\\supseteqq",!0),yt(vt,zt,jt,"⋑","\\Supset",!0),yt(vt,zt,jt,"⊐","\\sqsupset",!0),yt(vt,zt,jt,"≽","\\succcurlyeq",!0),yt(vt,zt,jt,"⋟","\\curlyeqsucc",!0),yt(vt,zt,jt,"≿","\\succsim",!0),yt(vt,zt,jt,"⪸","\\succapprox",!0),yt(vt,zt,jt,"⊳","\\vartriangleright"),yt(vt,zt,jt,"⊵","\\trianglerighteq"),yt(vt,zt,jt,"⊩","\\Vdash",!0),yt(vt,zt,jt,"∣","\\shortmid"),yt(vt,zt,jt,"∥","\\shortparallel"),yt(vt,zt,jt,"≬","\\between",!0),yt(vt,zt,jt,"⋔","\\pitchfork",!0),yt(vt,zt,jt,"∝","\\varpropto"),yt(vt,zt,jt,"◀","\\blacktriangleleft"),yt(vt,zt,jt,"∴","\\therefore",!0),yt(vt,zt,jt,"∍","\\backepsilon"),yt(vt,zt,jt,"▶","\\blacktriangleright"),yt(vt,zt,jt,"∵","\\because",!0),yt(vt,zt,jt,"⋘","\\llless"),yt(vt,zt,jt,"⋙","\\gggtr"),yt(vt,zt,br,"⊲","\\lhd"),yt(vt,zt,br,"⊳","\\rhd"),yt(vt,zt,jt,"≂","\\eqsim",!0),yt(vt,At,jt,"⋈","\\Join"),yt(vt,zt,jt,"≑","\\Doteq",!0),yt(vt,zt,br,"∔","\\dotplus",!0),yt(vt,zt,br,"∖","\\smallsetminus"),yt(vt,zt,br,"⋒","\\Cap",!0),yt(vt,zt,br,"⋓","\\Cup",!0),yt(vt,zt,br,"⩞","\\doublebarwedge",!0),yt(vt,zt,br,"⊟","\\boxminus",!0),yt(vt,zt,br,"⊞","\\boxplus",!0),yt(vt,zt,br,"⋇","\\divideontimes",!0),yt(vt,zt,br,"⋉","\\ltimes",!0),yt(vt,zt,br,"⋊","\\rtimes",!0),yt(vt,zt,br,"⋋","\\leftthreetimes",!0),yt(vt,zt,br,"⋌","\\rightthreetimes",!0),yt(vt,zt,br,"⋏","\\curlywedge",!0),yt(vt,zt,br,"⋎","\\curlyvee",!0),yt(vt,zt,br,"⊝","\\circleddash",!0),yt(vt,zt,br,"⊛","\\circledast",!0),yt(vt,zt,br,"⋅","\\centerdot"),yt(vt,zt,br,"⊺","\\intercal",!0),yt(vt,zt,br,"⋒","\\doublecap"),yt(vt,zt,br,"⋓","\\doublecup"),yt(vt,zt,br,"⊠","\\boxtimes",!0),yt(vt,zt,jt,"⇢","\\dashrightarrow",!0),yt(vt,zt,jt,"⇠","\\dashleftarrow",!0),yt(vt,zt,jt,"⇇","\\leftleftarrows",!0),yt(vt,zt,jt,"⇆","\\leftrightarrows",!0),yt(vt,zt,jt,"⇚","\\Lleftarrow",!0),yt(vt,zt,jt,"↞","\\twoheadleftarrow",!0),yt(vt,zt,jt,"↢","\\leftarrowtail",!0),yt(vt,zt,jt,"↫","\\looparrowleft",!0),yt(vt,zt,jt,"⇋","\\leftrightharpoons",!0),yt(vt,zt,jt,"↶","\\curvearrowleft",!0),yt(vt,zt,jt,"↺","\\circlearrowleft",!0),yt(vt,zt,jt,"↰","\\Lsh",!0),yt(vt,zt,jt,"⇈","\\upuparrows",!0),yt(vt,zt,jt,"↿","\\upharpoonleft",!0),yt(vt,zt,jt,"⇃","\\downharpoonleft",!0),yt(vt,At,jt,"⊶","\\origof",!0),yt(vt,At,jt,"⊷","\\imageof",!0),yt(vt,zt,jt,"⊸","\\multimap",!0),yt(vt,zt,jt,"↭","\\leftrightsquigarrow",!0),yt(vt,zt,jt,"⇉","\\rightrightarrows",!0),yt(vt,zt,jt,"⇄","\\rightleftarrows",!0),yt(vt,zt,jt,"↠","\\twoheadrightarrow",!0),yt(vt,zt,jt,"↣","\\rightarrowtail",!0),yt(vt,zt,jt,"↬","\\looparrowright",!0),yt(vt,zt,jt,"↷","\\curvearrowright",!0),yt(vt,zt,jt,"↻","\\circlearrowright",!0),yt(vt,zt,jt,"↱","\\Rsh",!0),yt(vt,zt,jt,"⇊","\\downdownarrows",!0),yt(vt,zt,jt,"↾","\\upharpoonright",!0),yt(vt,zt,jt,"⇂","\\downharpoonright",!0),yt(vt,zt,jt,"⇝","\\rightsquigarrow",!0),yt(vt,zt,jt,"⇝","\\leadsto"),yt(vt,zt,jt,"⇛","\\Rrightarrow",!0),yt(vt,zt,jt,"↾","\\restriction"),yt(vt,At,ir,"‘","`"),yt(vt,At,ir,"$","\\$"),yt(Xt,At,ir,"$","\\$"),yt(Xt,At,ir,"$","\\textdollar"),yt(vt,At,ir,"%","\\%"),yt(Xt,At,ir,"%","\\%"),yt(vt,At,ir,"_","\\_"),yt(Xt,At,ir,"_","\\_"),yt(Xt,At,ir,"_","\\textunderscore"),yt(vt,At,ir,"∠","\\angle",!0),yt(vt,At,ir,"∞","\\infty",!0),yt(vt,At,ir,"′","\\prime"),yt(vt,At,ir,"△","\\triangle"),yt(vt,At,ir,"Γ","\\Gamma",!0),yt(vt,At,ir,"Δ","\\Delta",!0),yt(vt,At,ir,"Θ","\\Theta",!0),yt(vt,At,ir,"Λ","\\Lambda",!0),yt(vt,At,ir,"Ξ","\\Xi",!0),yt(vt,At,ir,"Π","\\Pi",!0),yt(vt,At,ir,"Σ","\\Sigma",!0),yt(vt,At,ir,"Υ","\\Upsilon",!0),yt(vt,At,ir,"Φ","\\Phi",!0),yt(vt,At,ir,"Ψ","\\Psi",!0),yt(vt,At,ir,"Ω","\\Omega",!0),yt(vt,At,ir,"A","Α"),yt(vt,At,ir,"B","Β"),yt(vt,At,ir,"E","Ε"),yt(vt,At,ir,"Z","Ζ"),yt(vt,At,ir,"H","Η"),yt(vt,At,ir,"I","Ι"),yt(vt,At,ir,"K","Κ"),yt(vt,At,ir,"M","Μ"),yt(vt,At,ir,"N","Ν"),yt(vt,At,ir,"O","Ο"),yt(vt,At,ir,"P","Ρ"),yt(vt,At,ir,"T","Τ"),yt(vt,At,ir,"X","Χ"),yt(vt,At,ir,"¬","\\neg",!0),yt(vt,At,ir,"¬","\\lnot"),yt(vt,At,ir,"⊤","\\top"),yt(vt,At,ir,"⊥","\\bot"),yt(vt,At,ir,"∅","\\emptyset"),yt(vt,zt,ir,"∅","\\varnothing"),yt(vt,At,sr,"α","\\alpha",!0),yt(vt,At,sr,"β","\\beta",!0),yt(vt,At,sr,"γ","\\gamma",!0),yt(vt,At,sr,"δ","\\delta",!0),yt(vt,At,sr,"ϵ","\\epsilon",!0),yt(vt,At,sr,"ζ","\\zeta",!0),yt(vt,At,sr,"η","\\eta",!0),yt(vt,At,sr,"θ","\\theta",!0),yt(vt,At,sr,"ι","\\iota",!0),yt(vt,At,sr,"κ","\\kappa",!0),yt(vt,At,sr,"λ","\\lambda",!0),yt(vt,At,sr,"μ","\\mu",!0),yt(vt,At,sr,"ν","\\nu",!0),yt(vt,At,sr,"ξ","\\xi",!0),yt(vt,At,sr,"ο","\\omicron",!0),yt(vt,At,sr,"π","\\pi",!0),yt(vt,At,sr,"ρ","\\rho",!0),yt(vt,At,sr,"σ","\\sigma",!0),yt(vt,At,sr,"τ","\\tau",!0),yt(vt,At,sr,"υ","\\upsilon",!0),yt(vt,At,sr,"ϕ","\\phi",!0),yt(vt,At,sr,"χ","\\chi",!0),yt(vt,At,sr,"ψ","\\psi",!0),yt(vt,At,sr,"ω","\\omega",!0),yt(vt,At,sr,"ε","\\varepsilon",!0),yt(vt,At,sr,"ϑ","\\vartheta",!0),yt(vt,At,sr,"ϖ","\\varpi",!0),yt(vt,At,sr,"ϱ","\\varrho",!0),yt(vt,At,sr,"ς","\\varsigma",!0),yt(vt,At,sr,"φ","\\varphi",!0),yt(vt,At,br,"∗","*",!0),yt(vt,At,br,"+","+"),yt(vt,At,br,"−","-",!0),yt(vt,At,br,"⋅","\\cdot",!0),yt(vt,At,br,"∘","\\circ",!0),yt(vt,At,br,"÷","\\div",!0),yt(vt,At,br,"±","\\pm",!0),yt(vt,At,br,"×","\\times",!0),yt(vt,At,br,"∩","\\cap",!0),yt(vt,At,br,"∪","\\cup",!0),yt(vt,At,br,"∖","\\setminus",!0),yt(vt,At,br,"∧","\\land"),yt(vt,At,br,"∨","\\lor"),yt(vt,At,br,"∧","\\wedge",!0),yt(vt,At,br,"∨","\\vee",!0),yt(vt,At,ir,"√","\\surd"),yt(vt,At,Cr,"⟨","\\langle",!0),yt(vt,At,Cr,"∣","\\lvert"),yt(vt,At,Cr,"∥","\\lVert"),yt(vt,At,Ur,"?","?"),yt(vt,At,Ur,"!","!"),yt(vt,At,Ur,"⟩","\\rangle",!0),yt(vt,At,Ur,"∣","\\rvert"),yt(vt,At,Ur,"∥","\\rVert"),yt(vt,At,jt,"=","="),yt(vt,At,jt,":",":"),yt(vt,At,jt,"≈","\\approx",!0),yt(vt,At,jt,"≅","\\cong",!0),yt(vt,At,jt,"≥","\\ge"),yt(vt,At,jt,"≥","\\geq",!0),yt(vt,At,jt,"←","\\gets"),yt(vt,At,jt,">","\\gt",!0),yt(vt,At,jt,"∈","\\in",!0),yt(vt,At,jt,"","\\@not"),yt(vt,At,jt,"⊂","\\subset",!0),yt(vt,At,jt,"⊃","\\supset",!0),yt(vt,At,jt,"⊆","\\subseteq",!0),yt(vt,At,jt,"⊇","\\supseteq",!0),yt(vt,zt,jt,"⊈","\\nsubseteq",!0),yt(vt,zt,jt,"⊉","\\nsupseteq",!0),yt(vt,At,jt,"⊨","\\models"),yt(vt,At,jt,"←","\\leftarrow",!0),yt(vt,At,jt,"≤","\\le"),yt(vt,At,jt,"≤","\\leq",!0),yt(vt,At,jt,"<","\\lt",!0),yt(vt,At,jt,"→","\\rightarrow",!0),yt(vt,At,jt,"→","\\to"),yt(vt,zt,jt,"≱","\\ngeq",!0),yt(vt,zt,jt,"≰","\\nleq",!0),yt(vt,At,Wr," ","\\ "),yt(vt,At,Wr," ","\\space"),yt(vt,At,Wr," ","\\nobreakspace"),yt(Xt,At,Wr," ","\\ "),yt(Xt,At,Wr," "," "),yt(Xt,At,Wr," ","\\space"),yt(Xt,At,Wr," ","\\nobreakspace"),yt(vt,At,Wr,null,"\\nobreak"),yt(vt,At,Wr,null,"\\allowbreak"),yt(vt,At,Tr,",",","),yt(vt,At,Tr,";",";"),yt(vt,zt,br,"⊼","\\barwedge",!0),yt(vt,zt,br,"⊻","\\veebar",!0),yt(vt,At,br,"⊙","\\odot",!0),yt(vt,At,br,"⊕","\\oplus",!0),yt(vt,At,br,"⊗","\\otimes",!0),yt(vt,At,ir,"∂","\\partial",!0),yt(vt,At,br,"⊘","\\oslash",!0),yt(vt,zt,br,"⊚","\\circledcirc",!0),yt(vt,zt,br,"⊡","\\boxdot",!0),yt(vt,At,br,"△","\\bigtriangleup"),yt(vt,At,br,"▽","\\bigtriangledown"),yt(vt,At,br,"†","\\dagger"),yt(vt,At,br,"⋄","\\diamond"),yt(vt,At,br,"⋆","\\star"),yt(vt,At,br,"◃","\\triangleleft"),yt(vt,At,br,"▹","\\triangleright"),yt(vt,At,Cr,"{","\\{"),yt(Xt,At,ir,"{","\\{"),yt(Xt,At,ir,"{","\\textbraceleft"),yt(vt,At,Ur,"}","\\}"),yt(Xt,At,ir,"}","\\}"),yt(Xt,At,ir,"}","\\textbraceright"),yt(vt,At,Cr,"{","\\lbrace"),yt(vt,At,Ur,"}","\\rbrace"),yt(vt,At,Cr,"[","\\lbrack",!0),yt(Xt,At,ir,"[","\\lbrack",!0),yt(vt,At,Ur,"]","\\rbrack",!0),yt(Xt,At,ir,"]","\\rbrack",!0),yt(vt,At,Cr,"(","\\lparen",!0),yt(vt,At,Ur,")","\\rparen",!0),yt(Xt,At,ir,"<","\\textless",!0),yt(Xt,At,ir,">","\\textgreater",!0),yt(vt,At,Cr,"⌊","\\lfloor",!0),yt(vt,At,Ur,"⌋","\\rfloor",!0),yt(vt,At,Cr,"⌈","\\lceil",!0),yt(vt,At,Ur,"⌉","\\rceil",!0),yt(vt,At,ir,"\\","\\backslash"),yt(vt,At,ir,"∣","|"),yt(vt,At,ir,"∣","\\vert"),yt(Xt,At,ir,"|","\\textbar",!0),yt(vt,At,ir,"∥","\\|"),yt(vt,At,ir,"∥","\\Vert"),yt(Xt,At,ir,"∥","\\textbardbl"),yt(Xt,At,ir,"~","\\textasciitilde"),yt(Xt,At,ir,"\\","\\textbackslash"),yt(Xt,At,ir,"^","\\textasciicircum"),yt(vt,At,jt,"↑","\\uparrow",!0),yt(vt,At,jt,"⇑","\\Uparrow",!0),yt(vt,At,jt,"↓","\\downarrow",!0),yt(vt,At,jt,"⇓","\\Downarrow",!0),yt(vt,At,jt,"↕","\\updownarrow",!0),yt(vt,At,jt,"⇕","\\Updownarrow",!0),yt(vt,At,ur,"∐","\\coprod"),yt(vt,At,ur,"⋁","\\bigvee"),yt(vt,At,ur,"⋀","\\bigwedge"),yt(vt,At,ur,"⨄","\\biguplus"),yt(vt,At,ur,"⋂","\\bigcap"),yt(vt,At,ur,"⋃","\\bigcup"),yt(vt,At,ur,"∫","\\int"),yt(vt,At,ur,"∫","\\intop"),yt(vt,At,ur,"∬","\\iint"),yt(vt,At,ur,"∭","\\iiint"),yt(vt,At,ur,"∏","\\prod"),yt(vt,At,ur,"∑","\\sum"),yt(vt,At,ur,"⨂","\\bigotimes"),yt(vt,At,ur,"⨁","\\bigoplus"),yt(vt,At,ur,"⨀","\\bigodot"),yt(vt,At,ur,"∮","\\oint"),yt(vt,At,ur,"∯","\\oiint"),yt(vt,At,ur,"∰","\\oiiint"),yt(vt,At,ur,"⨆","\\bigsqcup"),yt(vt,At,ur,"∫","\\smallint"),yt(Xt,At,un,"…","\\textellipsis"),yt(vt,At,un,"…","\\mathellipsis"),yt(Xt,At,un,"…","\\ldots",!0),yt(vt,At,un,"…","\\ldots",!0),yt(vt,At,un,"⋯","\\@cdots",!0),yt(vt,At,un,"⋱","\\ddots",!0),yt(vt,At,ir,"⋮","\\varvdots"),yt(vt,At,Br,"ˊ","\\acute"),yt(vt,At,Br,"ˋ","\\grave"),yt(vt,At,Br,"¨","\\ddot"),yt(vt,At,Br,"~","\\tilde"),yt(vt,At,Br,"ˉ","\\bar"),yt(vt,At,Br,"˘","\\breve"),yt(vt,At,Br,"ˇ","\\check"),yt(vt,At,Br,"^","\\hat"),yt(vt,At,Br,"⃗","\\vec"),yt(vt,At,Br,"˙","\\dot"),yt(vt,At,Br,"˚","\\mathring"),yt(vt,At,sr,"","\\@imath"),yt(vt,At,sr,"","\\@jmath"),yt(vt,At,ir,"ı","ı"),yt(vt,At,ir,"ȷ","ȷ"),yt(Xt,At,ir,"ı","\\i",!0),yt(Xt,At,ir,"ȷ","\\j",!0),yt(Xt,At,ir,"ß","\\ss",!0),yt(Xt,At,ir,"æ","\\ae",!0),yt(Xt,At,ir,"œ","\\oe",!0),yt(Xt,At,ir,"ø","\\o",!0),yt(Xt,At,ir,"Æ","\\AE",!0),yt(Xt,At,ir,"Œ","\\OE",!0),yt(Xt,At,ir,"Ø","\\O",!0),yt(Xt,At,Br,"ˊ","\\'"),yt(Xt,At,Br,"ˋ","\\`"),yt(Xt,At,Br,"ˆ","\\^"),yt(Xt,At,Br,"˜","\\~"),yt(Xt,At,Br,"ˉ","\\="),yt(Xt,At,Br,"˘","\\u"),yt(Xt,At,Br,"˙","\\."),yt(Xt,At,Br,"¸","\\c"),yt(Xt,At,Br,"˚","\\r"),yt(Xt,At,Br,"ˇ","\\v"),yt(Xt,At,Br,"¨",'\\"'),yt(Xt,At,Br,"˝","\\H"),yt(Xt,At,Br,"◯","\\textcircled");var Gr={"--":!0,"---":!0,"``":!0,"''":!0};yt(Xt,At,ir,"–","--",!0),yt(Xt,At,ir,"–","\\textendash"),yt(Xt,At,ir,"—","---",!0),yt(Xt,At,ir,"—","\\textemdash"),yt(Xt,At,ir,"‘","`",!0),yt(Xt,At,ir,"‘","\\textquoteleft"),yt(Xt,At,ir,"’","'",!0),yt(Xt,At,ir,"’","\\textquoteright"),yt(Xt,At,ir,"“","``",!0),yt(Xt,At,ir,"“","\\textquotedblleft"),yt(Xt,At,ir,"”","''",!0),yt(Xt,At,ir,"”","\\textquotedblright"),yt(vt,At,ir,"°","\\degree",!0),yt(Xt,At,ir,"°","\\degree"),yt(Xt,At,ir,"°","\\textdegree",!0),yt(vt,At,ir,"£","\\pounds"),yt(vt,At,ir,"£","\\mathsterling",!0),yt(Xt,At,ir,"£","\\pounds"),yt(Xt,At,ir,"£","\\textsterling",!0),yt(vt,zt,ir,"✠","\\maltese"),yt(Xt,zt,ir,"✠","\\maltese");for(var Jr='0123456789/@."',Xr=0;Xr0)return oi(xt,rr,at,qe,Rt.concat(mr));if(Kt){var Vr,zr;if(Kt==="boldsymbol"){var Hr=Ia(xt,at,qe,Rt,We);Vr=Hr.fontName,zr=[Hr.fontClass]}else qt?(Vr=ma[Kt].fontName,zr=[Kt]):(Vr=ki(Kt,qe.fontWeight,qe.fontShape),zr=[Kt,qe.fontWeight,qe.fontShape]);if(Ri(xt,Vr,at).metrics)return oi(xt,Vr,at,qe,Rt.concat(zr));if(Gr.hasOwnProperty(xt)&&Vr.slice(0,10)==="Typewriter"){for(var rn=[],ln=0;lnqe&&(qe=Rt.height),Rt.depth>We&&(We=Rt.depth),Rt.maxFontSize>at&&(at=Rt.maxFontSize)}Pe.height=qe,Pe.depth=We,Pe.maxFontSize=at},Zn=function(Pe,qe,We,at){var xt=new Yt(Pe,qe,We,at);return Fi(xt),xt},ia=function(Pe,qe,We,at){return new Yt(Pe,qe,We,at)},Oa=function(Pe,qe,We){var at=Zn([Pe],[],qe);return at.height=Math.max(We||qe.fontMetrics().defaultRuleThickness,qe.minRuleThickness),at.style.borderBottomWidth=Nt(at.height),at.maxFontSize=1,at},aa=function(Pe,qe,We,at){var xt=new Ft(Pe,qe,We,at);return Fi(xt),xt},Ii=function(Pe){var qe=new $e(Pe);return Fi(qe),qe},fa=function(Pe,qe){return Pe instanceof $e?Zn([],[Pe],qe):Pe},Na=function(Pe){if(Pe.positionType==="individualShift"){for(var qe=Pe.children,We=[qe[0]],at=-qe[0].shift-qe[0].elem.depth,xt=at,Rt=1;Rt0&&(xt.push(Cn(Rt,Pe)),Rt=[]),xt.push(We[qt]));Rt.length>0&&xt.push(Cn(Rt,Pe));var rr;qe?(rr=Cn(kn(qe,Pe,!0)),rr.classes=["tag"],xt.push(rr)):at&&xt.push(at);var mr=on(["katex-html"],xt);if(mr.setAttribute("aria-hidden","true"),rr){var Fr=rr.children[0];Fr.style.height=Nt(mr.height+mr.depth),mr.depth&&(Fr.style.verticalAlign=Nt(-mr.depth))}return mr}function vi(Tt){return new $e(Tt)}var Hn=function(){function Tt(qe,We,at){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=qe,this.attributes={},this.children=We||[],this.classes=at||[]}var Pe=Tt.prototype;return Pe.setAttribute=function(We,at){this.attributes[We]=at},Pe.getAttribute=function(We){return this.attributes[We]},Pe.toNode=function(){var We=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var at in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,at)&&We.setAttribute(at,this.attributes[at]);this.classes.length>0&&(We.className=Vt(this.classes));for(var xt=0;xt0&&(We+=' class ="'+J.escape(Vt(this.classes))+'"'),We+=">";for(var xt=0;xt",We},Pe.toText=function(){return this.children.map(function(We){return We.toText()}).join("")},Tt}(),Ni=function(){function Tt(qe){this.text=void 0,this.text=qe}var Pe=Tt.prototype;return Pe.toNode=function(){return document.createTextNode(this.text)},Pe.toMarkup=function(){return J.escape(this.toText())},Pe.toText=function(){return this.text},Tt}(),zi=function(){function Tt(qe){this.width=void 0,this.character=void 0,this.width=qe,qe>=.05555&&qe<=.05556?this.character=" ":qe>=.1666&&qe<=.1667?this.character=" ":qe>=.2222&&qe<=.2223?this.character=" ":qe>=.2777&&qe<=.2778?this.character="  ":qe>=-.05556&&qe<=-.05555?this.character=" ⁣":qe>=-.1667&&qe<=-.1666?this.character=" ⁣":qe>=-.2223&&qe<=-.2222?this.character=" ⁣":qe>=-.2778&&qe<=-.2777?this.character=" ⁣":this.character=null}var Pe=Tt.prototype;return Pe.toNode=function(){if(this.character)return document.createTextNode(this.character);var We=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return We.setAttribute("width",Nt(this.width)),We},Pe.toMarkup=function(){return this.character?""+this.character+"":''},Pe.toText=function(){return this.character?this.character:" "},Tt}(),Qr={MathNode:Hn,TextNode:Ni,SpaceNode:zi,newDocumentFragment:vi},gi=function(Pe,qe,We){return Ar[qe][Pe]&&Ar[qe][Pe].replace&&Pe.charCodeAt(0)!==55349&&!(Gr.hasOwnProperty(Pe)&&We&&(We.fontFamily&&We.fontFamily.slice(4,6)==="tt"||We.font&&We.font.slice(4,6)==="tt"))&&(Pe=Ar[qe][Pe].replace),new Qr.TextNode(Pe)},Zs=function(Pe){return Pe.length===1?Pe[0]:new Qr.MathNode("mrow",Pe)},Js=function(Pe,qe){if(qe.fontFamily==="texttt")return"monospace";if(qe.fontFamily==="textsf")return qe.fontShape==="textit"&&qe.fontWeight==="textbf"?"sans-serif-bold-italic":qe.fontShape==="textit"?"sans-serif-italic":qe.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(qe.fontShape==="textit"&&qe.fontWeight==="textbf")return"bold-italic";if(qe.fontShape==="textit")return"italic";if(qe.fontWeight==="textbf")return"bold";var We=qe.font;if(!We||We==="mathnormal")return null;var at=Pe.mode;if(We==="mathit")return"italic";if(We==="boldsymbol")return Pe.type==="textord"?"bold":"bold-italic";if(We==="mathbf")return"bold";if(We==="mathbb")return"double-struck";if(We==="mathfrak")return"fraktur";if(We==="mathscr"||We==="mathcal")return"script";if(We==="mathsf")return"sans-serif";if(We==="mathtt")return"monospace";var xt=Pe.text;if(J.contains(["\\imath","\\jmath"],xt))return null;Ar[at][xt]&&Ar[at][xt].replace&&(xt=Ar[at][xt].replace);var Rt=Ir.fontMap[We].fontName;return dt(xt,Rt,at)?Ir.fontMap[We].variant:null},ti=function(Pe,qe,We){if(Pe.length===1){var at=Kn(Pe[0],qe);return We&&at instanceof Hn&&at.type==="mo"&&(at.setAttribute("lspace","0em"),at.setAttribute("rspace","0em")),[at]}for(var xt=[],Rt,qt=0;qt0&&(Hr.text=Hr.text.slice(0,1)+"̸"+Hr.text.slice(1),xt.pop())}}}xt.push(Kt),Rt=Kt}return xt},Da=function(Pe,qe,We){return Zs(ti(Pe,qe,We))},Kn=function(Pe,qe){if(!Pe)return new Qr.MathNode("mrow");if(yr[Pe.type]){var We=yr[Pe.type](Pe,qe);return We}else throw new q("Got group of unknown type: '"+Pe.type+"'")};function mo(Tt,Pe,qe,We,at){var xt=ti(Tt,qe),Rt;xt.length===1&&xt[0]instanceof Hn&&J.contains(["mrow","mtable"],xt[0].type)?Rt=xt[0]:Rt=new Qr.MathNode("mrow",xt);var qt=new Qr.MathNode("annotation",[new Qr.TextNode(Pe)]);qt.setAttribute("encoding","application/x-tex");var Kt=new Qr.MathNode("semantics",[Rt,qt]),rr=new Qr.MathNode("math",[Kt]);rr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),We&&rr.setAttribute("display","block");var mr=at?"katex":"katex-mathml";return Ir.makeSpan([mr],[rr])}var as=function(Pe){return new St({style:Pe.displayMode?Te.DISPLAY:Te.TEXT,maxSize:Pe.maxSize,minRuleThickness:Pe.minRuleThickness})},Ss=function(Pe,qe){if(qe.displayMode){var We=["katex-display"];qe.leqno&&We.push("leqno"),qe.fleqn&&We.push("fleqn"),Pe=Ir.makeSpan(We,[Pe])}return Pe},_a=function(Pe,qe,We){var at=as(We),xt;if(We.output==="mathml")return mo(Pe,qe,at,We.displayMode,!0);if(We.output==="html"){var Rt=Ti(Pe,at);xt=Ir.makeSpan(["katex"],[Rt])}else{var qt=mo(Pe,qe,at,We.displayMode,!1),Kt=Ti(Pe,at);xt=Ir.makeSpan(["katex"],[qt,Kt])}return Ss(xt,We)},Ga=function(Pe,qe,We){var at=as(We),xt=Ti(Pe,at),Rt=Ir.makeSpan(["katex"],[xt]);return Ss(Rt,We)},Uo={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},ui=function(Pe){var qe=new Qr.MathNode("mo",[new Qr.TextNode(Uo[Pe.replace(/^\\/,"")])]);return qe.setAttribute("stretchy","true"),qe},go={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},ss=function(Pe){return Pe.type==="ordgroup"?Pe.body.length:1},Si=function(Pe,qe){function We(){var Kt=4e5,rr=Pe.label.slice(1);if(J.contains(["widehat","widecheck","widetilde","utilde"],rr)){var mr=Pe,Fr=ss(mr.base),Vr,zr,Hr;if(Fr>5)rr==="widehat"||rr==="widecheck"?(Vr=420,Kt=2364,Hr=.42,zr=rr+"4"):(Vr=312,Kt=2340,Hr=.34,zr="tilde4");else{var rn=[1,1,2,2,3,3][Fr];rr==="widehat"||rr==="widecheck"?(Kt=[0,1062,2364,2364,2364][rn],Vr=[0,239,300,360,420][rn],Hr=[0,.24,.3,.3,.36,.42][rn],zr=rr+rn):(Kt=[0,600,1033,2339,2340][rn],Vr=[0,260,286,306,312][rn],Hr=[0,.26,.286,.3,.306,.34][rn],zr="tilde"+rn)}var ln=new Dt(zr),mn=new It([ln],{width:"100%",height:Nt(Hr),viewBox:"0 0 "+Kt+" "+Vr,preserveAspectRatio:"none"});return{span:Ir.makeSvgSpan([],[mn],qe),minWidth:0,height:Hr}}else{var xn=[],An=go[rr],qn=An[0],Ln=An[1],Xn=An[2],Vn=Xn/1e3,Qn=qn.length,ei,di;if(Qn===1){var Zi=An[3];ei=["hide-tail"],di=[Zi]}else if(Qn===2)ei=["halfarrow-left","halfarrow-right"],di=["xMinYMin","xMaxYMin"];else if(Qn===3)ei=["brace-left","brace-center","brace-right"],di=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+Qn+" children.");for(var ci=0;ci0&&(xt.style.minWidth=Nt(Rt)),xt},eo=function(Pe,qe,We,at,xt){var Rt,qt=Pe.height+Pe.depth+We+at;if(/fbox|color|angl/.test(qe)){if(Rt=Ir.makeSpan(["stretchy",qe],[],xt),qe==="fbox"){var Kt=xt.color&&xt.getColor();Kt&&(Rt.style.borderColor=Kt)}}else{var rr=[];/^[bx]cancel$/.test(qe)&&rr.push(new Zt({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(qe)&&rr.push(new Zt({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var mr=new It(rr,{width:"100%",height:Nt(qt)});Rt=Ir.makeSvgSpan([],[mr],xt)}return Rt.height=qt,Rt.style.height=Nt(qt),Rt},Bi={encloseSpan:eo,mathMLnode:ui,svgSpan:Si};function On(Tt,Pe){if(!Tt||Tt.type!==Pe)throw new Error("Expected node of type "+Pe+", but got "+(Tt?"node of type "+Tt.type:String(Tt)));return Tt}function xs(Tt){var Pe=ba(Tt);if(!Pe)throw new Error("Expected node of symbol group type, but got "+(Tt?"node of type "+Tt.type:String(Tt)));return Pe}function ba(Tt){return Tt&&(Tt.type==="atom"||kr.hasOwnProperty(Tt.type))?Tt:null}var os=function(Pe,qe){var We,at,xt;Pe&&Pe.type==="supsub"?(at=On(Pe.base,"accent"),We=at.base,Pe.base=We,xt=fr(vn(Pe,qe)),Pe.base=at):(at=On(Pe,"accent"),We=at.base);var Rt=vn(We,qe.havingCrampedStyle()),qt=at.isShifty&&J.isCharacterBox(We),Kt=0;if(qt){var rr=J.getBaseElem(We),mr=vn(rr,qe.havingCrampedStyle());Kt=gr(mr).skew}var Fr=at.label==="\\c",Vr=Fr?Rt.height+Rt.depth:Math.min(Rt.height,qe.fontMetrics().xHeight),zr;if(at.isStretchy)zr=Bi.svgSpan(at,qe),zr=Ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Rt},{type:"elem",elem:zr,wrapperClasses:["svg-align"],wrapperStyle:Kt>0?{width:"calc(100% - "+Nt(2*Kt)+")",marginLeft:Nt(2*Kt)}:void 0}]},qe);else{var Hr,rn;at.label==="\\vec"?(Hr=Ir.staticSvg("vec",qe),rn=Ir.svgData.vec[1]):(Hr=Ir.makeOrd({mode:at.mode,text:at.label},qe,"textord"),Hr=gr(Hr),Hr.italic=0,rn=Hr.width,Fr&&(Vr+=Hr.depth)),zr=Ir.makeSpan(["accent-body"],[Hr]);var ln=at.label==="\\textcircled";ln&&(zr.classes.push("accent-full"),Vr=Rt.height);var mn=Kt;ln||(mn-=rn/2),zr.style.left=Nt(mn),at.label==="\\textcircled"&&(zr.style.top=".2em"),zr=Ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Rt},{type:"kern",size:-Vr},{type:"elem",elem:zr}]},qe)}var xn=Ir.makeSpan(["mord","accent"],[zr],qe);return xt?(xt.children[0]=xn,xt.height=Math.max(xn.height,xt.height),xt.classes[0]="mord",xt):xn},to=function(Pe,qe){var We=Pe.isStretchy?Bi.mathMLnode(Pe.label):new Qr.MathNode("mo",[gi(Pe.label,Pe.mode)]),at=new Qr.MathNode("mover",[Kn(Pe.base,qe),We]);return at.setAttribute("accent","true"),at},Go=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Tt){return"\\"+Tt}).join("|"));lr({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(Pe,qe){var We=sn(qe[0]),at=!Go.test(Pe.funcName),xt=!at||Pe.funcName==="\\widehat"||Pe.funcName==="\\widetilde"||Pe.funcName==="\\widecheck";return{type:"accent",mode:Pe.parser.mode,label:Pe.funcName,isStretchy:at,isShifty:xt,base:We}},htmlBuilder:os,mathmlBuilder:to}),lr({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(Pe,qe){var We=qe[0],at=Pe.parser.mode;return at==="math"&&(Pe.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+Pe.funcName+" works only in text mode"),at="text"),{type:"accent",mode:at,label:Pe.funcName,isStretchy:!1,isShifty:!0,base:We}},htmlBuilder:os,mathmlBuilder:to}),lr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(Pe,qe){var We=Pe.parser,at=Pe.funcName,xt=qe[0];return{type:"accentUnder",mode:We.mode,label:at,base:xt}},htmlBuilder:function(Pe,qe){var We=vn(Pe.base,qe),at=Bi.svgSpan(Pe,qe),xt=Pe.label==="\\utilde"?.12:0,Rt=Ir.makeVList({positionType:"top",positionData:We.height,children:[{type:"elem",elem:at,wrapperClasses:["svg-align"]},{type:"kern",size:xt},{type:"elem",elem:We}]},qe);return Ir.makeSpan(["mord","accentunder"],[Rt],qe)},mathmlBuilder:function(Pe,qe){var We=Bi.mathMLnode(Pe.label),at=new Qr.MathNode("munder",[Kn(Pe.base,qe),We]);return at.setAttribute("accentunder","true"),at}});var ri=function(Pe){var qe=new Qr.MathNode("mpadded",Pe?[Pe]:[]);return qe.setAttribute("width","+0.6em"),qe.setAttribute("lspace","0.3em"),qe};lr({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler:function(Pe,qe,We){var at=Pe.parser,xt=Pe.funcName;return{type:"xArrow",mode:at.mode,label:xt,body:qe[0],below:We[0]}},htmlBuilder:function(Pe,qe){var We=qe.style,at=qe.havingStyle(We.sup()),xt=Ir.wrapFragment(vn(Pe.body,at,qe),qe),Rt=Pe.label.slice(0,2)==="\\x"?"x":"cd";xt.classes.push(Rt+"-arrow-pad");var qt;Pe.below&&(at=qe.havingStyle(We.sub()),qt=Ir.wrapFragment(vn(Pe.below,at,qe),qe),qt.classes.push(Rt+"-arrow-pad"));var Kt=Bi.svgSpan(Pe,qe),rr=-qe.fontMetrics().axisHeight+.5*Kt.height,mr=-qe.fontMetrics().axisHeight-.5*Kt.height-.111;(xt.depth>.25||Pe.label==="\\xleftequilibrium")&&(mr-=xt.depth);var Fr;if(qt){var Vr=-qe.fontMetrics().axisHeight+qt.height+.5*Kt.height+.111;Fr=Ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:xt,shift:mr},{type:"elem",elem:Kt,shift:rr},{type:"elem",elem:qt,shift:Vr}]},qe)}else Fr=Ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:xt,shift:mr},{type:"elem",elem:Kt,shift:rr}]},qe);return Fr.children[0].children[0].children[1].classes.push("svg-align"),Ir.makeSpan(["mrel","x-arrow"],[Fr],qe)},mathmlBuilder:function(Pe,qe){var We=Bi.mathMLnode(Pe.label);We.setAttribute("minsize",Pe.label.charAt(0)==="x"?"1.75em":"3.0em");var at;if(Pe.body){var xt=ri(Kn(Pe.body,qe));if(Pe.below){var Rt=ri(Kn(Pe.below,qe));at=new Qr.MathNode("munderover",[We,Rt,xt])}else at=new Qr.MathNode("mover",[We,xt])}else if(Pe.below){var qt=ri(Kn(Pe.below,qe));at=new Qr.MathNode("munder",[We,qt])}else at=ri(),at=new Qr.MathNode("mover",[We,at]);return at}});var _o=Ir.makeSpan;function bo(Tt,Pe){var qe=kn(Tt.body,Pe,!0);return _o([Tt.mclass],qe,Pe)}function ls(Tt,Pe){var qe,We=ti(Tt.body,Pe);return Tt.mclass==="minner"?qe=new Qr.MathNode("mpadded",We):Tt.mclass==="mord"?Tt.isCharacterBox?(qe=We[0],qe.type="mi"):qe=new Qr.MathNode("mi",We):(Tt.isCharacterBox?(qe=We[0],qe.type="mo"):qe=new Qr.MathNode("mo",We),Tt.mclass==="mbin"?(qe.attributes.lspace="0.22em",qe.attributes.rspace="0.22em"):Tt.mclass==="mpunct"?(qe.attributes.lspace="0em",qe.attributes.rspace="0.17em"):Tt.mclass==="mopen"||Tt.mclass==="mclose"?(qe.attributes.lspace="0em",qe.attributes.rspace="0em"):Tt.mclass==="minner"&&(qe.attributes.lspace="0.0556em",qe.attributes.width="+0.1111em")),qe}lr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(Pe,qe){var We=Pe.parser,at=Pe.funcName,xt=qe[0];return{type:"mclass",mode:We.mode,mclass:"m"+at.slice(5),body:Kr(xt),isCharacterBox:J.isCharacterBox(xt)}},htmlBuilder:bo,mathmlBuilder:ls});var cs=function(Pe){var qe=Pe.type==="ordgroup"&&Pe.body.length?Pe.body[0]:Pe;return qe.type==="atom"&&(qe.family==="bin"||qe.family==="rel")?"m"+qe.family:"mord"};lr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(Pe,qe){var We=Pe.parser;return{type:"mclass",mode:We.mode,mclass:cs(qe[0]),body:Kr(qe[1]),isCharacterBox:J.isCharacterBox(qe[1])}}}),lr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(Pe,qe){var We=Pe.parser,at=Pe.funcName,xt=qe[1],Rt=qe[0],qt;at!=="\\stackrel"?qt=cs(xt):qt="mrel";var Kt={type:"op",mode:xt.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:at!=="\\stackrel",body:Kr(xt)},rr={type:"supsub",mode:Rt.mode,base:Kt,sup:at==="\\underset"?null:Rt,sub:at==="\\underset"?Rt:null};return{type:"mclass",mode:We.mode,mclass:qt,body:[rr],isCharacterBox:J.isCharacterBox(rr)}},htmlBuilder:bo,mathmlBuilder:ls}),lr({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(Pe,qe){var We=Pe.parser;return{type:"pmb",mode:We.mode,mclass:cs(qe[0]),body:Kr(qe[0])}},htmlBuilder:function(Pe,qe){var We=kn(Pe.body,qe,!0),at=Ir.makeSpan([Pe.mclass],We,qe);return at.style.textShadow="0.02em 0.01em 0.04px",at},mathmlBuilder:function(Pe,qe){var We=ti(Pe.body,qe),at=new Qr.MathNode("mstyle",We);return at.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),at}});var us={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},$a=function(){return{type:"styling",body:[],mode:"math",style:"display"}},ro=function(Pe){return Pe.type==="textord"&&Pe.text==="@"},yo=function(Pe,qe){return(Pe.type==="mathord"||Pe.type==="atom")&&Pe.text===qe};function no(Tt,Pe,qe){var We=us[Tt];switch(We){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return qe.callFunction(We,[Pe[0]],[Pe[1]]);case"\\uparrow":case"\\downarrow":{var at=qe.callFunction("\\\\cdleft",[Pe[0]],[]),xt={type:"atom",text:We,mode:"math",family:"rel"},Rt=qe.callFunction("\\Big",[xt],[]),qt=qe.callFunction("\\\\cdright",[Pe[1]],[]),Kt={type:"ordgroup",mode:"math",body:[at,Rt,qt]};return qe.callFunction("\\\\cdparent",[Kt],[])}case"\\\\cdlongequal":return qe.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var rr={type:"textord",text:"\\Vert",mode:"math"};return qe.callFunction("\\Big",[rr],[])}default:return{type:"textord",text:" ",mode:"math"}}}function vo(Tt){var Pe=[];for(Tt.gullet.beginGroup(),Tt.gullet.macros.set("\\cr","\\\\\\relax"),Tt.gullet.beginGroup();;){Pe.push(Tt.parseExpression(!1,"\\\\")),Tt.gullet.endGroup(),Tt.gullet.beginGroup();var qe=Tt.fetch().text;if(qe==="&"||qe==="\\\\")Tt.consume();else if(qe==="\\end"){Pe[Pe.length-1].length===0&&Pe.pop();break}else throw new q("Expected \\\\ or \\cr or \\end",Tt.nextToken)}for(var We=[],at=[We],xt=0;xt-1))if("<>AV".indexOf(rr)>-1)for(var Fr=0;Fr<2;Fr++){for(var Vr=!0,zr=Kt+1;zrAV=|." after @',Rt[Kt]);var Hr=no(rr,mr,Tt),rn={type:"styling",body:[Hr],mode:"math",style:"display"};We.push(rn),qt=$a()}xt%2===0?We.push(qt):We.shift(),We=[],at.push(We)}Tt.gullet.endGroup(),Tt.gullet.endGroup();var ln=new Array(at[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:at,arraystretch:1,addJot:!0,rowGaps:[null],cols:ln,colSeparationType:"CD",hLinesBeforeRow:new Array(at.length+1).fill([])}}lr({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler:function(Pe,qe){var We=Pe.parser,at=Pe.funcName;return{type:"cdlabel",mode:We.mode,side:at.slice(4),label:qe[0]}},htmlBuilder:function(Pe,qe){var We=qe.havingStyle(qe.style.sup()),at=Ir.wrapFragment(vn(Pe.label,We,qe),qe);return at.classes.push("cd-label-"+Pe.side),at.style.bottom=Nt(.8-at.depth),at.height=0,at.depth=0,at},mathmlBuilder:function(Pe,qe){var We=new Qr.MathNode("mrow",[Kn(Pe.label,qe)]);return We=new Qr.MathNode("mpadded",[We]),We.setAttribute("width","0"),Pe.side==="left"&&We.setAttribute("lspace","-1width"),We.setAttribute("voffset","0.7em"),We=new Qr.MathNode("mstyle",[We]),We.setAttribute("displaystyle","false"),We.setAttribute("scriptlevel","1"),We}}),lr({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(Pe,qe){var We=Pe.parser;return{type:"cdlabelparent",mode:We.mode,fragment:qe[0]}},htmlBuilder:function(Pe,qe){var We=Ir.wrapFragment(vn(Pe.fragment,qe),qe);return We.classes.push("cd-vert-arrow"),We},mathmlBuilder:function(Pe,qe){return new Qr.MathNode("mrow",[Kn(Pe.fragment,qe)])}}),lr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(Pe,qe){for(var We=Pe.parser,at=On(qe[0],"ordgroup"),xt=at.body,Rt="",qt=0;qt=1114111)throw new q("\\@char with invalid code point "+Rt);return rr<=65535?mr=String.fromCharCode(rr):(rr-=65536,mr=String.fromCharCode((rr>>10)+55296,(rr&1023)+56320)),{type:"textord",mode:We.mode,text:mr}}});var ds=function(Pe,qe){var We=kn(Pe.body,qe.withColor(Pe.color),!1);return Ir.makeFragment(We)},hs=function(Pe,qe){var We=ti(Pe.body,qe.withColor(Pe.color)),at=new Qr.MathNode("mstyle",We);return at.setAttribute("mathcolor",Pe.color),at};lr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(Pe,qe){var We=Pe.parser,at=On(qe[0],"color-token").color,xt=qe[1];return{type:"color",mode:We.mode,color:at,body:Kr(xt)}},htmlBuilder:ds,mathmlBuilder:hs}),lr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(Pe,qe){var We=Pe.parser,at=Pe.breakOnTokenText,xt=On(qe[0],"color-token").color;We.gullet.macros.set("\\current@color",xt);var Rt=We.parseExpression(!0,at);return{type:"color",mode:We.mode,color:xt,body:Rt}},htmlBuilder:ds,mathmlBuilder:hs}),lr({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(Pe,qe,We){var at=Pe.parser,xt=at.gullet.future().text==="["?at.parseSizeGroup(!0):null,Rt=!at.settings.displayMode||!at.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:at.mode,newLine:Rt,size:xt&&On(xt,"size").value}},htmlBuilder:function(Pe,qe){var We=Ir.makeSpan(["mspace"],[],qe);return Pe.newLine&&(We.classes.push("newline"),Pe.size&&(We.style.marginTop=Nt(Pt(Pe.size,qe)))),We},mathmlBuilder:function(Pe,qe){var We=new Qr.MathNode("mspace");return Pe.newLine&&(We.setAttribute("linebreak","newline"),Pe.size&&We.setAttribute("height",Nt(Pt(Pe.size,qe)))),We}});var ya={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Ya=function(Pe){var qe=Pe.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(qe))throw new q("Expected a control sequence",Pe);return qe},Es=function(Pe){var qe=Pe.gullet.popToken();return qe.text==="="&&(qe=Pe.gullet.popToken(),qe.text===" "&&(qe=Pe.gullet.popToken())),qe},Cs=function(Pe,qe,We,at){var xt=Pe.gullet.macros.get(We.text);xt==null&&(We.noexpand=!0,xt={tokens:[We],numArgs:0,unexpandable:!Pe.gullet.isExpandable(We.text)}),Pe.gullet.macros.set(qe,xt,at)};lr({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(Pe){var qe=Pe.parser,We=Pe.funcName;qe.consumeSpaces();var at=qe.fetch();if(ya[at.text])return(We==="\\global"||We==="\\\\globallong")&&(at.text=ya[at.text]),On(qe.parseFunction(),"internal");throw new q("Invalid token after macro prefix",at)}}),lr({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(Pe){var qe=Pe.parser,We=Pe.funcName,at=qe.gullet.popToken(),xt=at.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(xt))throw new q("Expected a control sequence",at);for(var Rt=0,qt,Kt=[[]];qe.gullet.future().text!=="{";)if(at=qe.gullet.popToken(),at.text==="#"){if(qe.gullet.future().text==="{"){qt=qe.gullet.future(),Kt[Rt].push("{");break}if(at=qe.gullet.popToken(),!/^[1-9]$/.test(at.text))throw new q('Invalid argument number "'+at.text+'"');if(parseInt(at.text)!==Rt+1)throw new q('Argument number "'+at.text+'" out of order');Rt++,Kt.push([])}else{if(at.text==="EOF")throw new q("Expected a macro definition");Kt[Rt].push(at.text)}var rr=qe.gullet.consumeArg(),mr=rr.tokens;return qt&&mr.unshift(qt),(We==="\\edef"||We==="\\xdef")&&(mr=qe.gullet.expandTokens(mr),mr.reverse()),qe.gullet.macros.set(xt,{tokens:mr,numArgs:Rt,delimiters:Kt},We===ya[We]),{type:"internal",mode:qe.mode}}}),lr({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(Pe){var qe=Pe.parser,We=Pe.funcName,at=Ya(qe.gullet.popToken());qe.gullet.consumeSpaces();var xt=Es(qe);return Cs(qe,at,xt,We==="\\\\globallet"),{type:"internal",mode:qe.mode}}}),lr({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(Pe){var qe=Pe.parser,We=Pe.funcName,at=Ya(qe.gullet.popToken()),xt=qe.gullet.popToken(),Rt=qe.gullet.popToken();return Cs(qe,at,Rt,We==="\\\\globalfuture"),qe.gullet.pushToken(Rt),qe.gullet.pushToken(xt),{type:"internal",mode:qe.mode}}});var fs=function(Pe,qe,We){var at=Ar.math[Pe]&&Ar.math[Pe].replace,xt=dt(at||Pe,qe,We);if(!xt)throw new Error("Unsupported symbol "+Pe+" and font size "+qe+".");return xt},ps=function(Pe,qe,We,at){var xt=We.havingBaseStyle(qe),Rt=Ir.makeSpan(at.concat(xt.sizingClasses(We)),[Pe],We),qt=xt.sizeMultiplier/We.sizeMultiplier;return Rt.height*=qt,Rt.depth*=qt,Rt.maxFontSize=xt.sizeMultiplier,Rt},So=function(Pe,qe,We){var at=qe.havingBaseStyle(We),xt=(1-qe.sizeMultiplier/at.sizeMultiplier)*qe.fontMetrics().axisHeight;Pe.classes.push("delimcenter"),Pe.style.top=Nt(xt),Pe.height-=xt,Pe.depth+=xt},xo=function(Pe,qe,We,at,xt,Rt){var qt=Ir.makeSymbol(Pe,"Main-Regular",xt,at),Kt=ps(qt,qe,at,Rt);return We&&So(Kt,at,qe),Kt},As=function(Pe,qe,We,at){return Ir.makeSymbol(Pe,"Size"+qe+"-Regular",We,at)},Ts=function(Pe,qe,We,at,xt,Rt){var qt=As(Pe,qe,xt,at),Kt=ps(Ir.makeSpan(["delimsizing","size"+qe],[qt],at),Te.TEXT,at,Rt);return We&&So(Kt,at,Te.TEXT),Kt},ms=function(Pe,qe,We){var at;qe==="Size1-Regular"?at="delim-size1":at="delim-size4";var xt=Ir.makeSpan(["delimsizinginner",at],[Ir.makeSpan([],[Ir.makeSymbol(Pe,qe,We)])]);return{type:"elem",elem:xt}},ws=function(Pe,qe,We){var at=Ye["Size4-Regular"][Pe.charCodeAt(0)]?Ye["Size4-Regular"][Pe.charCodeAt(0)][4]:Ye["Size1-Regular"][Pe.charCodeAt(0)][4],xt=new Dt("inner",et(Pe,Math.round(1e3*qe))),Rt=new It([xt],{width:Nt(at),height:Nt(qe),style:"width:"+Nt(at),viewBox:"0 0 "+1e3*at+" "+Math.round(1e3*qe),preserveAspectRatio:"xMinYMin"}),qt=Ir.makeSvgSpan([],[Rt],We);return qt.height=qe,qt.style.height=Nt(qe),qt.style.width=Nt(at),{type:"elem",elem:qt}},io=.008,Rs={type:"kern",size:-1*io},ao=["|","\\lvert","\\rvert","\\vert"],$o=["\\|","\\lVert","\\rVert","\\Vert"],Is=function(Pe,qe,We,at,xt,Rt){var qt,Kt,rr,mr,Fr="",Vr=0;qt=rr=mr=Pe,Kt=null;var zr="Size1-Regular";Pe==="\\uparrow"?rr=mr="⏐":Pe==="\\Uparrow"?rr=mr="‖":Pe==="\\downarrow"?qt=rr="⏐":Pe==="\\Downarrow"?qt=rr="‖":Pe==="\\updownarrow"?(qt="\\uparrow",rr="⏐",mr="\\downarrow"):Pe==="\\Updownarrow"?(qt="\\Uparrow",rr="‖",mr="\\Downarrow"):J.contains(ao,Pe)?(rr="∣",Fr="vert",Vr=333):J.contains($o,Pe)?(rr="∥",Fr="doublevert",Vr=556):Pe==="["||Pe==="\\lbrack"?(qt="⎡",rr="⎢",mr="⎣",zr="Size4-Regular",Fr="lbrack",Vr=667):Pe==="]"||Pe==="\\rbrack"?(qt="⎤",rr="⎥",mr="⎦",zr="Size4-Regular",Fr="rbrack",Vr=667):Pe==="\\lfloor"||Pe==="⌊"?(rr=qt="⎢",mr="⎣",zr="Size4-Regular",Fr="lfloor",Vr=667):Pe==="\\lceil"||Pe==="⌈"?(qt="⎡",rr=mr="⎢",zr="Size4-Regular",Fr="lceil",Vr=667):Pe==="\\rfloor"||Pe==="⌋"?(rr=qt="⎥",mr="⎦",zr="Size4-Regular",Fr="rfloor",Vr=667):Pe==="\\rceil"||Pe==="⌉"?(qt="⎤",rr=mr="⎥",zr="Size4-Regular",Fr="rceil",Vr=667):Pe==="("||Pe==="\\lparen"?(qt="⎛",rr="⎜",mr="⎝",zr="Size4-Regular",Fr="lparen",Vr=875):Pe===")"||Pe==="\\rparen"?(qt="⎞",rr="⎟",mr="⎠",zr="Size4-Regular",Fr="rparen",Vr=875):Pe==="\\{"||Pe==="\\lbrace"?(qt="⎧",Kt="⎨",mr="⎩",rr="⎪",zr="Size4-Regular"):Pe==="\\}"||Pe==="\\rbrace"?(qt="⎫",Kt="⎬",mr="⎭",rr="⎪",zr="Size4-Regular"):Pe==="\\lgroup"||Pe==="⟮"?(qt="⎧",mr="⎩",rr="⎪",zr="Size4-Regular"):Pe==="\\rgroup"||Pe==="⟯"?(qt="⎫",mr="⎭",rr="⎪",zr="Size4-Regular"):Pe==="\\lmoustache"||Pe==="⎰"?(qt="⎧",mr="⎭",rr="⎪",zr="Size4-Regular"):(Pe==="\\rmoustache"||Pe==="⎱")&&(qt="⎫",mr="⎩",rr="⎪",zr="Size4-Regular");var Hr=fs(qt,zr,xt),rn=Hr.height+Hr.depth,ln=fs(rr,zr,xt),mn=ln.height+ln.depth,xn=fs(mr,zr,xt),An=xn.height+xn.depth,qn=0,Ln=1;if(Kt!==null){var Xn=fs(Kt,zr,xt);qn=Xn.height+Xn.depth,Ln=2}var Vn=rn+An+qn,Qn=Math.max(0,Math.ceil((qe-Vn)/(Ln*mn))),ei=Vn+Qn*Ln*mn,di=at.fontMetrics().axisHeight;We&&(di*=at.sizeMultiplier);var Zi=ei/2-di,ci=[];if(Fr.length>0){var ts=ei-rn-An,Ji=Math.round(ei*1e3),Li=Fe(Fr,Math.round(ts*1e3)),Ha=new Dt(Fr,Li),Ys=(Vr/1e3).toFixed(3)+"em",js=(Ji/1e3).toFixed(3)+"em",Po=new It([Ha],{width:Ys,height:js,viewBox:"0 0 "+Vr+" "+Ji}),rs=Ir.makeSvgSpan([],[Po],at);rs.height=Ji/1e3,rs.style.width=Ys,rs.style.height=js,ci.push({type:"elem",elem:rs})}else{if(ci.push(ms(mr,zr,xt)),ci.push(Rs),Kt===null){var ns=ei-rn-An+2*io;ci.push(ws(rr,ns,at))}else{var ea=(ei-rn-An-qn)/2+2*io;ci.push(ws(rr,ea,at)),ci.push(Rs),ci.push(ms(Kt,zr,xt)),ci.push(Rs),ci.push(ws(rr,ea,at))}ci.push(Rs),ci.push(ms(qt,zr,xt))}var ta=at.havingBaseStyle(Te.TEXT),Ho=Ir.makeVList({positionType:"bottom",positionData:Zi,children:ci},ta);return ps(Ir.makeSpan(["delimsizing","mult"],[Ho],ta),Te.TEXT,at,Rt)},ks=80,Os=.08,Ns=function(Pe,qe,We,at,xt){var Rt=Le(Pe,at,We),qt=new Dt(Pe,Rt),Kt=new It([qt],{width:"400em",height:Nt(qe),viewBox:"0 0 400000 "+We,preserveAspectRatio:"xMinYMin slice"});return Ir.makeSvgSpan(["hide-tail"],[Kt],xt)},Eo=function(Pe,qe){var We=qe.havingBaseSizing(),at=Ps("\\surd",Pe*We.sizeMultiplier,xa,We),xt=We.sizeMultiplier,Rt=Math.max(0,qe.minRuleThickness-qe.fontMetrics().sqrtRuleThickness),qt,Kt=0,rr=0,mr=0,Fr;return at.type==="small"?(mr=1e3+1e3*Rt+ks,Pe<1?xt=1:Pe<1.4&&(xt=.7),Kt=(1+Rt+Os)/xt,rr=(1+Rt)/xt,qt=Ns("sqrtMain",Kt,mr,Rt,qe),qt.style.minWidth="0.853em",Fr=.833/xt):at.type==="large"?(mr=(1e3+ks)*Sa[at.size],rr=(Sa[at.size]+Rt)/xt,Kt=(Sa[at.size]+Rt+Os)/xt,qt=Ns("sqrtSize"+at.size,Kt,mr,Rt,qe),qt.style.minWidth="1.02em",Fr=1/xt):(Kt=Pe+Rt+Os,rr=Pe+Rt,mr=Math.floor(1e3*Pe+Rt)+ks,qt=Ns("sqrtTall",Kt,mr,Rt,qe),qt.style.minWidth="0.742em",Fr=1.056),qt.height=rr,qt.style.height=Nt(Kt),{span:qt,advanceWidth:Fr,ruleWidth:(qe.fontMetrics().sqrtRuleThickness+Rt)*xt}},Ds=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],va=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],gs=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sa=[0,1.2,1.8,2.4,3],so=function(Pe,qe,We,at,xt){if(Pe==="<"||Pe==="\\lt"||Pe==="⟨"?Pe="\\langle":(Pe===">"||Pe==="\\gt"||Pe==="⟩")&&(Pe="\\rangle"),J.contains(Ds,Pe)||J.contains(gs,Pe))return Ts(Pe,qe,!1,We,at,xt);if(J.contains(va,Pe))return Is(Pe,Sa[qe],!1,We,at,xt);throw new q("Illegal delimiter: '"+Pe+"'")},Ms=[{type:"small",style:Te.SCRIPTSCRIPT},{type:"small",style:Te.SCRIPT},{type:"small",style:Te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ma=[{type:"small",style:Te.SCRIPTSCRIPT},{type:"small",style:Te.SCRIPT},{type:"small",style:Te.TEXT},{type:"stack"}],xa=[{type:"small",style:Te.SCRIPTSCRIPT},{type:"small",style:Te.SCRIPT},{type:"small",style:Te.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Hi=function(Pe){if(Pe.type==="small")return"Main-Regular";if(Pe.type==="large")return"Size"+Pe.size+"-Regular";if(Pe.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+Pe.type+"' here.")},Ps=function(Pe,qe,We,at){for(var xt=Math.min(2,3-at.style.size),Rt=xt;Rtqe)return We[Rt]}return We[We.length-1]},Co=function(Pe,qe,We,at,xt,Rt){Pe==="<"||Pe==="\\lt"||Pe==="⟨"?Pe="\\langle":(Pe===">"||Pe==="\\gt"||Pe==="⟩")&&(Pe="\\rangle");var qt;J.contains(gs,Pe)?qt=Ms:J.contains(Ds,Pe)?qt=xa:qt=Ma;var Kt=Ps(Pe,qe,qt,at);return Kt.type==="small"?xo(Pe,Kt.style,We,at,xt,Rt):Kt.type==="large"?Ts(Pe,Kt.size,We,at,xt,Rt):Is(Pe,qe,We,at,xt,Rt)},ja=function(Pe,qe,We,at,xt,Rt){var qt=at.fontMetrics().axisHeight*at.sizeMultiplier,Kt=901,rr=5/at.fontMetrics().ptPerEm,mr=Math.max(qe-qt,We+qt),Fr=Math.max(mr/500*Kt,2*mr-rr);return Co(Pe,Fr,!0,at,xt,Rt)},Wi={sqrtImage:Eo,sizedDelim:so,sizeToMaxHeight:Sa,customSizedDelim:Co,leftRightDelim:ja},Ao={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Ls=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Fs(Tt,Pe){var qe=ba(Tt);if(qe&&J.contains(Ls,qe.text))return qe;throw qe?new q("Invalid delimiter '"+qe.text+"' after '"+Pe.funcName+"'",Tt):new q("Invalid delimiter type '"+Tt.type+"'",Tt)}lr({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:function(Pe,qe){var We=Fs(qe[0],Pe);return{type:"delimsizing",mode:Pe.parser.mode,size:Ao[Pe.funcName].size,mclass:Ao[Pe.funcName].mclass,delim:We.text}},htmlBuilder:function(Pe,qe){return Pe.delim==="."?Ir.makeSpan([Pe.mclass]):Wi.sizedDelim(Pe.delim,Pe.size,qe,Pe.mode,[Pe.mclass])},mathmlBuilder:function(Pe){var qe=[];Pe.delim!=="."&&qe.push(gi(Pe.delim,Pe.mode));var We=new Qr.MathNode("mo",qe);Pe.mclass==="mopen"||Pe.mclass==="mclose"?We.setAttribute("fence","true"):We.setAttribute("fence","false"),We.setAttribute("stretchy","true");var at=Nt(Wi.sizeToMaxHeight[Pe.size]);return We.setAttribute("minsize",at),We.setAttribute("maxsize",at),We}});function To(Tt){if(!Tt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}lr({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(Pe,qe){var We=Pe.parser.gullet.macros.get("\\current@color");if(We&&typeof We!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:Pe.parser.mode,delim:Fs(qe[0],Pe).text,color:We}}}),lr({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(Pe,qe){var We=Fs(qe[0],Pe),at=Pe.parser;++at.leftrightDepth;var xt=at.parseExpression(!1);--at.leftrightDepth,at.expect("\\right",!1);var Rt=On(at.parseFunction(),"leftright-right");return{type:"leftright",mode:at.mode,body:xt,left:We.text,right:Rt.delim,rightColor:Rt.color}},htmlBuilder:function(Pe,qe){To(Pe);for(var We=kn(Pe.body,qe,!0,["mopen","mclose"]),at=0,xt=0,Rt=!1,qt=0;qt-1?"mpadded":"menclose",[Kn(Pe.body,qe)]);switch(Pe.label){case"\\cancel":at.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":at.setAttribute("notation","downdiagonalstrike");break;case"\\phase":at.setAttribute("notation","phasorangle");break;case"\\sout":at.setAttribute("notation","horizontalstrike");break;case"\\fbox":at.setAttribute("notation","box");break;case"\\angl":at.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(We=qe.fontMetrics().fboxsep*qe.fontMetrics().ptPerEm,at.setAttribute("width","+"+2*We+"pt"),at.setAttribute("height","+"+2*We+"pt"),at.setAttribute("lspace",We+"pt"),at.setAttribute("voffset",We+"pt"),Pe.label==="\\fcolorbox"){var xt=Math.max(qe.fontMetrics().fboxrule,qe.minRuleThickness);at.setAttribute("style","border: "+xt+"em solid "+String(Pe.borderColor))}break;case"\\xcancel":at.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return Pe.backgroundColor&&at.setAttribute("mathbackground",Pe.backgroundColor),at};lr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(Pe,qe,We){var at=Pe.parser,xt=Pe.funcName,Rt=On(qe[0],"color-token").color,qt=qe[1];return{type:"enclose",mode:at.mode,label:xt,backgroundColor:Rt,body:qt}},htmlBuilder:Bs,mathmlBuilder:oo}),lr({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(Pe,qe,We){var at=Pe.parser,xt=Pe.funcName,Rt=On(qe[0],"color-token").color,qt=On(qe[1],"color-token").color,Kt=qe[2];return{type:"enclose",mode:at.mode,label:xt,backgroundColor:qt,borderColor:Rt,body:Kt}},htmlBuilder:Bs,mathmlBuilder:oo}),lr({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(Pe,qe){var We=Pe.parser;return{type:"enclose",mode:We.mode,label:"\\fbox",body:qe[0]}}}),lr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(Pe,qe){var We=Pe.parser,at=Pe.funcName,xt=qe[0];return{type:"enclose",mode:We.mode,label:at,body:xt}},htmlBuilder:Bs,mathmlBuilder:oo}),lr({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(Pe,qe){var We=Pe.parser;return{type:"enclose",mode:We.mode,label:"\\angl",body:qe[0]}}});var wo={};function la(Tt){for(var Pe=Tt.type,qe=Tt.names,We=Tt.props,at=Tt.handler,xt=Tt.htmlBuilder,Rt=Tt.mathmlBuilder,qt={type:Pe,numArgs:We.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:at},Kt=0;Kt1||!mr)&&rn.pop(),mn.length0&&(An+=.25),rr.push({pos:An,isDashed:Fo[Bo]})}for(qn(Rt[0]),We=0;We0&&(Zi+=xn,Vn=qt)){var Xs=void 0;(at>0||Pe.hskipBeforeAndAfter)&&(Xs=J.deflt(ea.pregap,Vr),Xs!==0&&(Li=Ir.makeSpan(["arraycolsep"],[]),Li.style.width=Nt(Xs),Ji.push(Li)));var Ks=[];for(We=0;We0){for(var tl=Ir.makeLineSpan("hline",qe,mr),rl=Ir.makeLineSpan("hdashline",qe,mr),Wo=[{type:"elem",elem:Kt,shift:0}];rr.length>0;){var Xo=rr.pop(),Ko=Xo.pos-ci;Xo.isDashed?Wo.push({type:"elem",elem:rl,shift:Ko}):Wo.push({type:"elem",elem:tl,shift:Ko})}Kt=Ir.makeVList({positionType:"individualShift",children:Wo},qe)}if(Ys.length===0)return Ir.makeSpan(["mord"],[Kt],qe);var Yo=Ir.makeVList({positionType:"individualShift",children:Ys},qe);return Yo=Ir.makeSpan(["tag"],[Yo],qe),Ir.makeFragment([Kt,Yo])},fi={c:"center ",l:"left ",r:"right "},Ei=function(Pe,qe){for(var We=[],at=new Qr.MathNode("mtd",[],["mtr-glue"]),xt=new Qr.MathNode("mtd",[],["mml-eqn-num"]),Rt=0;Rt0){var Hr=Pe.cols,rn="",ln=!1,mn=0,xn=Hr.length;Hr[0].type==="separator"&&(Vr+="top ",mn=1),Hr[Hr.length-1].type==="separator"&&(Vr+="bottom ",xn-=1);for(var An=mn;An0?"left ":"",Vr+=Qn[Qn.length-1].length>0?"right ":"";for(var ei=1;ei-1?"alignat":"align",xt=Pe.envName==="split",Rt=Ui(Pe.parser,{cols:We,addJot:!0,autoTag:xt?void 0:ca(Pe.envName),emptySingleRow:!0,colSeparationType:at,maxNumCols:xt?2:void 0,leqno:Pe.parser.settings.leqno},"display"),qt,Kt=0,rr={type:"ordgroup",mode:Pe.mode,body:[]};if(qe[0]&&qe[0].type==="ordgroup"){for(var mr="",Fr=0;Fr0&&zr&&(ln=1),We[Hr]={type:"align",align:rn,pregap:ln,postgap:0}}return Rt.colSeparationType=zr?"align":"alignat",Rt};la({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(Pe,qe){var We=ba(qe[0]),at=We?[qe[0]]:On(qe[0],"ordgroup").body,xt=at.map(function(qt){var Kt=xs(qt),rr=Kt.text;if("lcr".indexOf(rr)!==-1)return{type:"align",align:rr};if(rr==="|")return{type:"separator",separator:"|"};if(rr===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+rr,qt)}),Rt={cols:xt,hskipBeforeAndAfter:!0,maxNumCols:xt.length};return Ui(Pe.parser,Rt,Us(Pe.envName))},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(Pe){var qe={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[Pe.envName.replace("*","")],We="c",at={hskipBeforeAndAfter:!1,cols:[{type:"align",align:We}]};if(Pe.envName.charAt(Pe.envName.length-1)==="*"){var xt=Pe.parser;if(xt.consumeSpaces(),xt.fetch().text==="["){if(xt.consume(),xt.consumeSpaces(),We=xt.fetch().text,"lcr".indexOf(We)===-1)throw new q("Expected l or c or r",xt.nextToken);xt.consume(),xt.consumeSpaces(),xt.expect("]"),xt.consume(),at.cols=[{type:"align",align:We}]}}var Rt=Ui(Pe.parser,at,Us(Pe.envName)),qt=Math.max.apply(Math,[0].concat(Rt.body.map(function(Kt){return Kt.length})));return Rt.cols=new Array(qt).fill({type:"align",align:We}),qe?{type:"leftright",mode:Pe.mode,body:[Rt],left:qe[0],right:qe[1],rightColor:void 0}:Rt},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(Pe){var qe={arraystretch:.5},We=Ui(Pe.parser,qe,"script");return We.colSeparationType="small",We},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["subarray"],props:{numArgs:1},handler:function(Pe,qe){var We=ba(qe[0]),at=We?[qe[0]]:On(qe[0],"ordgroup").body,xt=at.map(function(qt){var Kt=xs(qt),rr=Kt.text;if("lc".indexOf(rr)!==-1)return{type:"align",align:rr};throw new q("Unknown column alignment: "+rr,qt)});if(xt.length>1)throw new q("{subarray} can contain only one column");var Rt={cols:xt,hskipBeforeAndAfter:!1,arraystretch:.5};if(Rt=Ui(Pe.parser,Rt,"script"),Rt.body.length>0&&Rt.body[0].length>1)throw new q("{subarray} can contain only one column");return Rt},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(Pe){var qe={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},We=Ui(Pe.parser,qe,Us(Pe.envName));return{type:"leftright",mode:Pe.mode,body:[We],left:Pe.envName.indexOf("r")>-1?".":"\\{",right:Pe.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:uo,htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(Pe){J.contains(["gather","gather*"],Pe.envName)&&Xa(Pe);var qe={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ca(Pe.envName),emptySingleRow:!0,leqno:Pe.parser.settings.leqno};return Ui(Pe.parser,qe,"display")},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:uo,htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(Pe){Xa(Pe);var qe={autoTag:ca(Pe.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:Pe.parser.settings.leqno};return Ui(Pe.parser,qe,"display")},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["CD"],props:{numArgs:0},handler:function(Pe){return Xa(Pe),vo(Pe.parser)},htmlBuilder:ji,mathmlBuilder:Ei}),Qt("\\nonumber","\\gdef\\@eqnsw{0}"),Qt("\\notag","\\nonumber"),lr({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(Pe,qe){throw new q(Pe.funcName+" valid only within array environment")}});var Gs=wo,Ea=Gs;lr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(Pe,qe){var We=Pe.parser,at=Pe.funcName,xt=qe[0];if(xt.type!=="ordgroup")throw new q("Invalid environment name",xt);for(var Rt="",qt=0;qt=Te.SCRIPT.id?We.text():Te.DISPLAY:Pe==="text"&&We.size===Te.DISPLAY.size?We=Te.TEXT:Pe==="script"?We=Te.SCRIPT:Pe==="scriptscript"&&(We=Te.SCRIPTSCRIPT),We},ua=function(Pe,qe){var We=$s(Pe.size,qe.style),at=We.fracNum(),xt=We.fracDen(),Rt;Rt=qe.havingStyle(at);var qt=vn(Pe.numer,Rt,qe);if(Pe.continued){var Kt=8.5/qe.fontMetrics().ptPerEm,rr=3.5/qe.fontMetrics().ptPerEm;qt.height=qt.height0?rn=3*zr:rn=7*zr,ln=qe.fontMetrics().denom1):(Vr>0?(Hr=qe.fontMetrics().num2,rn=zr):(Hr=qe.fontMetrics().num3,rn=3*zr),ln=qe.fontMetrics().denom2);var mn;if(Fr){var An=qe.fontMetrics().axisHeight;Hr-qt.depth-(An+.5*Vr)0&&(qe=Pe,qe=qe==="."?null:qe),qe};lr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(Pe,qe){var We=Pe.parser,at=qe[4],xt=qe[5],Rt=sn(qe[0]),qt=Rt.type==="atom"&&Rt.family==="open"?_i(Rt.text):null,Kt=sn(qe[1]),rr=Kt.type==="atom"&&Kt.family==="close"?_i(Kt.text):null,mr=On(qe[2],"size"),Fr,Vr=null;mr.isBlank?Fr=!0:(Vr=mr.value,Fr=Vr.number>0);var zr="auto",Hr=qe[3];if(Hr.type==="ordgroup"){if(Hr.body.length>0){var rn=On(Hr.body[0],"textord");zr=Aa[Number(rn.text)]}}else Hr=On(Hr,"textord"),zr=Aa[Number(Hr.text)];return{type:"genfrac",mode:We.mode,numer:at,denom:xt,continued:!1,hasBarLine:Fr,barSize:Vr,leftDelim:qt,rightDelim:rr,size:zr}},htmlBuilder:ua,mathmlBuilder:Di}),lr({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(Pe,qe){var We=Pe.parser;Pe.funcName;var at=Pe.token;return{type:"infix",mode:We.mode,replaceWith:"\\\\abovefrac",size:On(qe[0],"size").value,token:at}}}),lr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(Pe,qe){var We=Pe.parser;Pe.funcName;var at=qe[0],xt=ie(On(qe[1],"infix").size),Rt=qe[2],qt=xt.number>0;return{type:"genfrac",mode:We.mode,numer:at,denom:Rt,continued:!1,hasBarLine:qt,barSize:xt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ua,mathmlBuilder:Di});var La=function(Pe,qe){var We=qe.style,at,xt;Pe.type==="supsub"?(at=Pe.sup?vn(Pe.sup,qe.havingStyle(We.sup()),qe):vn(Pe.sub,qe.havingStyle(We.sub()),qe),xt=On(Pe.base,"horizBrace")):xt=On(Pe,"horizBrace");var Rt=vn(xt.base,qe.havingBaseStyle(Te.DISPLAY)),qt=Bi.svgSpan(xt,qe),Kt;if(xt.isOver?(Kt=Ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Rt},{type:"kern",size:.1},{type:"elem",elem:qt}]},qe),Kt.children[0].children[0].children[1].classes.push("svg-align")):(Kt=Ir.makeVList({positionType:"bottom",positionData:Rt.depth+.1+qt.height,children:[{type:"elem",elem:qt},{type:"kern",size:.1},{type:"elem",elem:Rt}]},qe),Kt.children[0].children[0].children[0].classes.push("svg-align")),at){var rr=Ir.makeSpan(["mord",xt.isOver?"mover":"munder"],[Kt],qe);xt.isOver?Kt=Ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:rr},{type:"kern",size:.2},{type:"elem",elem:at}]},qe):Kt=Ir.makeVList({positionType:"bottom",positionData:rr.depth+.2+at.height+at.depth,children:[{type:"elem",elem:at},{type:"kern",size:.2},{type:"elem",elem:rr}]},qe)}return Ir.makeSpan(["mord",xt.isOver?"mover":"munder"],[Kt],qe)},Ro=function(Pe,qe){var We=Bi.mathMLnode(Pe.label);return new Qr.MathNode(Pe.isOver?"mover":"munder",[Kn(Pe.base,qe),We])};lr({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(Pe,qe){var We=Pe.parser,at=Pe.funcName;return{type:"horizBrace",mode:We.mode,label:at,isOver:/^\\over/.test(at),base:qe[0]}},htmlBuilder:La,mathmlBuilder:Ro}),lr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(Pe,qe){var We=Pe.parser,at=qe[1],xt=On(qe[0],"url").url;return We.settings.isTrusted({command:"\\href",url:xt})?{type:"href",mode:We.mode,href:xt,body:Kr(at)}:We.formatUnsupportedCmd("\\href")},htmlBuilder:function(Pe,qe){var We=kn(Pe.body,qe,!1);return Ir.makeAnchor(Pe.href,[],We,qe)},mathmlBuilder:function(Pe,qe){var We=Da(Pe.body,qe);return We instanceof Hn||(We=new Hn("mrow",[We])),We.setAttribute("href",Pe.href),We}}),lr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(Pe,qe){var We=Pe.parser,at=On(qe[0],"url").url;if(!We.settings.isTrusted({command:"\\url",url:at}))return We.formatUnsupportedCmd("\\url");for(var xt=[],Rt=0;Rt0&&(at=Pt(Pe.totalheight,qe)-We);var xt=0;Pe.width.number>0&&(xt=Pt(Pe.width,qe));var Rt={height:Nt(We+at)};xt>0&&(Rt.width=Nt(xt)),at>0&&(Rt.verticalAlign=Nt(-at));var qt=new Jt(Pe.src,Pe.alt,Rt);return qt.height=We,qt.depth=at,qt},mathmlBuilder:function(Pe,qe){var We=new Qr.MathNode("mglyph",[]);We.setAttribute("alt",Pe.alt);var at=Pt(Pe.height,qe),xt=0;if(Pe.totalheight.number>0&&(xt=Pt(Pe.totalheight,qe)-at,We.setAttribute("valign",Nt(-xt))),We.setAttribute("height",Nt(at+xt)),Pe.width.number>0){var Rt=Pt(Pe.width,qe);We.setAttribute("width",Nt(Rt))}return We.setAttribute("src",Pe.src),We}}),lr({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(Pe,qe){var We=Pe.parser,at=Pe.funcName,xt=On(qe[0],"size");if(We.settings.strict){var Rt=at[1]==="m",qt=xt.value.unit==="mu";Rt?(qt||We.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+at+" supports only mu units, "+("not "+xt.value.unit+" units")),We.mode!=="math"&&We.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+at+" works only in math mode")):qt&&We.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+at+" doesn't support mu units")}return{type:"kern",mode:We.mode,dimension:xt.value}},htmlBuilder:function(Pe,qe){return Ir.makeGlue(Pe.dimension,qe)},mathmlBuilder:function(Pe,qe){var We=Pt(Pe.dimension,qe);return new Qr.SpaceNode(We)}}),lr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(Pe,qe){var We=Pe.parser,at=Pe.funcName,xt=qe[0];return{type:"lap",mode:We.mode,alignment:at.slice(5),body:xt}},htmlBuilder:function(Pe,qe){var We;Pe.alignment==="clap"?(We=Ir.makeSpan([],[vn(Pe.body,qe)]),We=Ir.makeSpan(["inner"],[We],qe)):We=Ir.makeSpan(["inner"],[vn(Pe.body,qe)]);var at=Ir.makeSpan(["fix"],[]),xt=Ir.makeSpan([Pe.alignment],[We,at],qe),Rt=Ir.makeSpan(["strut"]);return Rt.style.height=Nt(xt.height+xt.depth),xt.depth&&(Rt.style.verticalAlign=Nt(-xt.depth)),xt.children.unshift(Rt),xt=Ir.makeSpan(["thinbox"],[xt],qe),Ir.makeSpan(["mord","vbox"],[xt],qe)},mathmlBuilder:function(Pe,qe){var We=new Qr.MathNode("mpadded",[Kn(Pe.body,qe)]);if(Pe.alignment!=="rlap"){var at=Pe.alignment==="llap"?"-1":"-0.5";We.setAttribute("lspace",at+"width")}return We.setAttribute("width","0px"),We}}),lr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Pe,qe){var We=Pe.funcName,at=Pe.parser,xt=at.mode;at.switchMode("math");var Rt=We==="\\("?"\\)":"$",qt=at.parseExpression(!1,Rt);return at.expect(Rt),at.switchMode(xt),{type:"styling",mode:at.mode,style:"text",body:qt}}}),lr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(Pe,qe){throw new q("Mismatched "+Pe.funcName)}});var _s=function(Pe,qe){switch(qe.style.size){case Te.DISPLAY.size:return Pe.display;case Te.TEXT.size:return Pe.text;case Te.SCRIPT.size:return Pe.script;case Te.SCRIPTSCRIPT.size:return Pe.scriptscript;default:return Pe.text}};lr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(Pe,qe){var We=Pe.parser;return{type:"mathchoice",mode:We.mode,display:Kr(qe[0]),text:Kr(qe[1]),script:Kr(qe[2]),scriptscript:Kr(qe[3])}},htmlBuilder:function(Pe,qe){var We=_s(Pe,qe),at=kn(We,qe,!1);return Ir.makeFragment(at)},mathmlBuilder:function(Pe,qe){var We=_s(Pe,qe);return Da(We,qe)}});var Vs=function(Pe,qe,We,at,xt,Rt,qt){Pe=Ir.makeSpan([],[Pe]);var Kt=We&&J.isCharacterBox(We),rr,mr;if(qe){var Fr=vn(qe,at.havingStyle(xt.sup()),at);mr={elem:Fr,kern:Math.max(at.fontMetrics().bigOpSpacing1,at.fontMetrics().bigOpSpacing3-Fr.depth)}}if(We){var Vr=vn(We,at.havingStyle(xt.sub()),at);rr={elem:Vr,kern:Math.max(at.fontMetrics().bigOpSpacing2,at.fontMetrics().bigOpSpacing4-Vr.height)}}var zr;if(mr&&rr){var Hr=at.fontMetrics().bigOpSpacing5+rr.elem.height+rr.elem.depth+rr.kern+Pe.depth+qt;zr=Ir.makeVList({positionType:"bottom",positionData:Hr,children:[{type:"kern",size:at.fontMetrics().bigOpSpacing5},{type:"elem",elem:rr.elem,marginLeft:Nt(-Rt)},{type:"kern",size:rr.kern},{type:"elem",elem:Pe},{type:"kern",size:mr.kern},{type:"elem",elem:mr.elem,marginLeft:Nt(Rt)},{type:"kern",size:at.fontMetrics().bigOpSpacing5}]},at)}else if(rr){var rn=Pe.height-qt;zr=Ir.makeVList({positionType:"top",positionData:rn,children:[{type:"kern",size:at.fontMetrics().bigOpSpacing5},{type:"elem",elem:rr.elem,marginLeft:Nt(-Rt)},{type:"kern",size:rr.kern},{type:"elem",elem:Pe}]},at)}else if(mr){var ln=Pe.depth+qt;zr=Ir.makeVList({positionType:"bottom",positionData:ln,children:[{type:"elem",elem:Pe},{type:"kern",size:mr.kern},{type:"elem",elem:mr.elem,marginLeft:Nt(Rt)},{type:"kern",size:at.fontMetrics().bigOpSpacing5}]},at)}else return Pe;var mn=[zr];if(rr&&Rt!==0&&!Kt){var xn=Ir.makeSpan(["mspace"],[],at);xn.style.marginRight=Nt(Rt),mn.unshift(xn)}return Ir.makeSpan(["mop","op-limits"],mn,at)},ho=["\\smallint"],Va=function(Pe,qe){var We,at,xt=!1,Rt;Pe.type==="supsub"?(We=Pe.sup,at=Pe.sub,Rt=On(Pe.base,"op"),xt=!0):Rt=On(Pe,"op");var qt=qe.style,Kt=!1;qt.size===Te.DISPLAY.size&&Rt.symbol&&!J.contains(ho,Rt.name)&&(Kt=!0);var rr;if(Rt.symbol){var mr=Kt?"Size2-Regular":"Size1-Regular",Fr="";if((Rt.name==="\\oiint"||Rt.name==="\\oiiint")&&(Fr=Rt.name.slice(1),Rt.name=Fr==="oiint"?"\\iint":"\\iiint"),rr=Ir.makeSymbol(Rt.name,mr,"math",qe,["mop","op-symbol",Kt?"large-op":"small-op"]),Fr.length>0){var Vr=rr.italic,zr=Ir.staticSvg(Fr+"Size"+(Kt?"2":"1"),qe);rr=Ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:rr,shift:0},{type:"elem",elem:zr,shift:Kt?.08:0}]},qe),Rt.name="\\"+Fr,rr.classes.unshift("mop"),rr.italic=Vr}}else if(Rt.body){var Hr=kn(Rt.body,qe,!0);Hr.length===1&&Hr[0]instanceof Bt?(rr=Hr[0],rr.classes[0]="mop"):rr=Ir.makeSpan(["mop"],Hr,qe)}else{for(var rn=[],ln=1;ln0){for(var Kt=Rt.body.map(function(Vr){var zr=Vr.text;return typeof zr=="string"?{type:"textord",mode:Vr.mode,text:zr}:Vr}),rr=kn(Kt,qe.withFont("mathrm"),!0),mr=0;mr=0?Kt.setAttribute("height",Nt(xt)):(Kt.setAttribute("height",Nt(xt)),Kt.setAttribute("depth",Nt(-xt))),Kt.setAttribute("voffset",Nt(xt)),Kt}});function bs(Tt,Pe,qe){for(var We=kn(Tt,Pe,!1),at=Pe.sizeMultiplier/qe.sizeMultiplier,xt=0;xtWe.height+We.depth+qt&&(qt=(qt+zr-We.height-We.depth)/2);var Hr=mr.height-We.height-qt-Fr;We.style.paddingLeft=Nt(Vr);var rn=Ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:We,wrapperClasses:["svg-align"]},{type:"kern",size:-(We.height+Hr)},{type:"elem",elem:mr},{type:"kern",size:Fr}]},qe);if(Pe.index){var ln=qe.havingStyle(Te.SCRIPTSCRIPT),mn=vn(Pe.index,ln,qe),xn=.6*(rn.height-rn.depth),An=Ir.makeVList({positionType:"shift",positionData:-xn,children:[{type:"elem",elem:mn}]},qe),qn=Ir.makeSpan(["root"],[An]);return Ir.makeSpan(["mord","sqrt"],[qn,rn],qe)}else return Ir.makeSpan(["mord","sqrt"],[rn],qe)},mathmlBuilder:function(Pe,qe){var We=Pe.body,at=Pe.index;return at?new Qr.MathNode("mroot",[Kn(We,qe),Kn(at,qe)]):new Qr.MathNode("msqrt",[Kn(We,qe)])}});var ys={display:Te.DISPLAY,text:Te.TEXT,script:Te.SCRIPT,scriptscript:Te.SCRIPTSCRIPT};lr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(Pe,qe){var We=Pe.breakOnTokenText,at=Pe.funcName,xt=Pe.parser,Rt=xt.parseExpression(!0,We),qt=at.slice(1,at.length-5);return{type:"styling",mode:xt.mode,style:qt,body:Rt}},htmlBuilder:function(Pe,qe){var We=ys[Pe.style],at=qe.havingStyle(We).withFont("");return bs(Pe.body,at,qe)},mathmlBuilder:function(Pe,qe){var We=ys[Pe.style],at=qe.havingStyle(We),xt=ti(Pe.body,at),Rt=new Qr.MathNode("mstyle",xt),qt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Kt=qt[Pe.style];return Rt.setAttribute("scriptlevel",Kt[0]),Rt.setAttribute("displaystyle",Kt[1]),Rt}});var Fa=function(Pe,qe){var We=Pe.base;if(We)if(We.type==="op"){var at=We.limits&&(qe.style.size===Te.DISPLAY.size||We.alwaysHandleSupSub);return at?Va:null}else if(We.type==="operatorname"){var xt=We.alwaysHandleSupSub&&(qe.style.size===Te.DISPLAY.size||We.limits);return xt?fo:null}else{if(We.type==="accent")return J.isCharacterBox(We.base)?os:null;if(We.type==="horizBrace"){var Rt=!Pe.sub;return Rt===We.isOver?La:null}else return null}else return null};qr({type:"supsub",htmlBuilder:function(Pe,qe){var We=Fa(Pe,qe);if(We)return We(Pe,qe);var at=Pe.base,xt=Pe.sup,Rt=Pe.sub,qt=vn(at,qe),Kt,rr,mr=qe.fontMetrics(),Fr=0,Vr=0,zr=at&&J.isCharacterBox(at);if(xt){var Hr=qe.havingStyle(qe.style.sup());Kt=vn(xt,Hr,qe),zr||(Fr=qt.height-Hr.fontMetrics().supDrop*Hr.sizeMultiplier/qe.sizeMultiplier)}if(Rt){var rn=qe.havingStyle(qe.style.sub());rr=vn(Rt,rn,qe),zr||(Vr=qt.depth+rn.fontMetrics().subDrop*rn.sizeMultiplier/qe.sizeMultiplier)}var ln;qe.style===Te.DISPLAY?ln=mr.sup1:qe.style.cramped?ln=mr.sup3:ln=mr.sup2;var mn=qe.sizeMultiplier,xn=Nt(.5/mr.ptPerEm/mn),An=null;if(rr){var qn=Pe.base&&Pe.base.type==="op"&&Pe.base.name&&(Pe.base.name==="\\oiint"||Pe.base.name==="\\oiiint");(qt instanceof Bt||qn)&&(An=Nt(-qt.italic))}var Ln;if(Kt&&rr){Fr=Math.max(Fr,ln,Kt.depth+.25*mr.xHeight),Vr=Math.max(Vr,mr.sub2);var Xn=mr.defaultRuleThickness,Vn=4*Xn;if(Fr-Kt.depth-(rr.height-Vr)0&&(Fr+=Qn,Vr-=Qn)}var ei=[{type:"elem",elem:rr,shift:Vr,marginRight:xn,marginLeft:An},{type:"elem",elem:Kt,shift:-Fr,marginRight:xn}];Ln=Ir.makeVList({positionType:"individualShift",children:ei},qe)}else if(rr){Vr=Math.max(Vr,mr.sub1,rr.height-.8*mr.xHeight);var di=[{type:"elem",elem:rr,marginLeft:An,marginRight:xn}];Ln=Ir.makeVList({positionType:"shift",positionData:Vr,children:di},qe)}else if(Kt)Fr=Math.max(Fr,ln,Kt.depth+.25*mr.xHeight),Ln=Ir.makeVList({positionType:"shift",positionData:-Fr,children:[{type:"elem",elem:Kt,marginRight:xn}]},qe);else throw new Error("supsub must have either sup or sub.");var Zi=Sn(qt,"right")||"mord";return Ir.makeSpan([Zi],[qt,Ir.makeSpan(["msupsub"],[Ln])],qe)},mathmlBuilder:function(Pe,qe){var We=!1,at,xt;Pe.base&&Pe.base.type==="horizBrace"&&(xt=!!Pe.sup,xt===Pe.base.isOver&&(We=!0,at=Pe.base.isOver)),Pe.base&&(Pe.base.type==="op"||Pe.base.type==="operatorname")&&(Pe.base.parentIsSupSub=!0);var Rt=[Kn(Pe.base,qe)];Pe.sub&&Rt.push(Kn(Pe.sub,qe)),Pe.sup&&Rt.push(Kn(Pe.sup,qe));var qt;if(We)qt=at?"mover":"munder";else if(Pe.sub)if(Pe.sup){var mr=Pe.base;mr&&mr.type==="op"&&mr.limits&&qe.style===Te.DISPLAY||mr&&mr.type==="operatorname"&&mr.alwaysHandleSupSub&&(qe.style===Te.DISPLAY||mr.limits)?qt="munderover":qt="msubsup"}else{var rr=Pe.base;rr&&rr.type==="op"&&rr.limits&&(qe.style===Te.DISPLAY||rr.alwaysHandleSupSub)||rr&&rr.type==="operatorname"&&rr.alwaysHandleSupSub&&(rr.limits||qe.style===Te.DISPLAY)?qt="munder":qt="msub"}else{var Kt=Pe.base;Kt&&Kt.type==="op"&&Kt.limits&&(qe.style===Te.DISPLAY||Kt.alwaysHandleSupSub)||Kt&&Kt.type==="operatorname"&&Kt.alwaysHandleSupSub&&(Kt.limits||qe.style===Te.DISPLAY)?qt="mover":qt="msup"}return new Qr.MathNode(qt,Rt)}}),qr({type:"atom",htmlBuilder:function(Pe,qe){return Ir.mathsym(Pe.text,Pe.mode,qe,["m"+Pe.family])},mathmlBuilder:function(Pe,qe){var We=new Qr.MathNode("mo",[gi(Pe.text,Pe.mode)]);if(Pe.family==="bin"){var at=Js(Pe,qe);at==="bold-italic"&&We.setAttribute("mathvariant",at)}else Pe.family==="punct"?We.setAttribute("separator","true"):(Pe.family==="open"||Pe.family==="close")&&We.setAttribute("stretchy","false");return We}});var za={mi:"italic",mn:"normal",mtext:"normal"};qr({type:"mathord",htmlBuilder:function(Pe,qe){return Ir.makeOrd(Pe,qe,"mathord")},mathmlBuilder:function(Pe,qe){var We=new Qr.MathNode("mi",[gi(Pe.text,Pe.mode,qe)]),at=Js(Pe,qe)||"italic";return at!==za[We.type]&&We.setAttribute("mathvariant",at),We}}),qr({type:"textord",htmlBuilder:function(Pe,qe){return Ir.makeOrd(Pe,qe,"textord")},mathmlBuilder:function(Pe,qe){var We=gi(Pe.text,Pe.mode,qe),at=Js(Pe,qe)||"normal",xt;return Pe.mode==="text"?xt=new Qr.MathNode("mtext",[We]):/[0-9]/.test(Pe.text)?xt=new Qr.MathNode("mn",[We]):Pe.text==="\\prime"?xt=new Qr.MathNode("mo",[We]):xt=new Qr.MathNode("mi",[We]),at!==za[xt.type]&&xt.setAttribute("mathvariant",at),xt}});var jn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},wa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};qr({type:"spacing",htmlBuilder:function(Pe,qe){if(wa.hasOwnProperty(Pe.text)){var We=wa[Pe.text].className||"";if(Pe.mode==="text"){var at=Ir.makeOrd(Pe,qe,"textord");return at.classes.push(We),at}else return Ir.makeSpan(["mspace",We],[Ir.mathsym(Pe.text,Pe.mode,qe)],qe)}else{if(jn.hasOwnProperty(Pe.text))return Ir.makeSpan(["mspace",jn[Pe.text]],[],qe);throw new q('Unknown type of space "'+Pe.text+'"')}},mathmlBuilder:function(Pe,qe){var We;if(wa.hasOwnProperty(Pe.text))We=new Qr.MathNode("mtext",[new Qr.TextNode(" ")]);else{if(jn.hasOwnProperty(Pe.text))return new Qr.MathNode("mspace");throw new q('Unknown type of space "'+Pe.text+'"')}return We}});var Hs=function(){var Pe=new Qr.MathNode("mtd",[]);return Pe.setAttribute("width","50%"),Pe};qr({type:"tag",mathmlBuilder:function(Pe,qe){var We=new Qr.MathNode("mtable",[new Qr.MathNode("mtr",[Hs(),new Qr.MathNode("mtd",[Da(Pe.body,qe)]),Hs(),new Qr.MathNode("mtd",[Da(Pe.tag,qe)])])]);return We.setAttribute("width","100%"),We}});var Io={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},vs={"\\textbf":"textbf","\\textmd":"textmd"},ko={"\\textit":"textit","\\textup":"textup"},Oo=function(Pe,qe){var We=Pe.font;return We?Io[We]?qe.withTextFontFamily(Io[We]):vs[We]?qe.withTextFontWeight(vs[We]):qe.withTextFontShape(ko[We]):qe};lr({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(Pe,qe){var We=Pe.parser,at=Pe.funcName,xt=qe[0];return{type:"text",mode:We.mode,body:Kr(xt),font:at}},htmlBuilder:function(Pe,qe){var We=Oo(Pe,qe),at=kn(Pe.body,We,!0);return Ir.makeSpan(["mord","text"],at,We)},mathmlBuilder:function(Pe,qe){var We=Oo(Pe,qe);return Da(Pe.body,We)}}),lr({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(Pe,qe){var We=Pe.parser;return{type:"underline",mode:We.mode,body:qe[0]}},htmlBuilder:function(Pe,qe){var We=vn(Pe.body,qe),at=Ir.makeLineSpan("underline-line",qe),xt=qe.fontMetrics().defaultRuleThickness,Rt=Ir.makeVList({positionType:"top",positionData:We.height,children:[{type:"kern",size:xt},{type:"elem",elem:at},{type:"kern",size:3*xt},{type:"elem",elem:We}]},qe);return Ir.makeSpan(["mord","underline"],[Rt],qe)},mathmlBuilder:function(Pe,qe){var We=new Qr.MathNode("mo",[new Qr.TextNode("‾")]);We.setAttribute("stretchy","true");var at=new Qr.MathNode("munder",[Kn(Pe.body,qe),We]);return at.setAttribute("accentunder","true"),at}}),lr({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(Pe,qe){var We=Pe.parser;return{type:"vcenter",mode:We.mode,body:qe[0]}},htmlBuilder:function(Pe,qe){var We=vn(Pe.body,qe),at=qe.fontMetrics().axisHeight,xt=.5*(We.height-at-(We.depth+at));return Ir.makeVList({positionType:"shift",positionData:xt,children:[{type:"elem",elem:We}]},qe)},mathmlBuilder:function(Pe,qe){return new Qr.MathNode("mpadded",[Kn(Pe.body,qe)],["vcenter"])}}),lr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(Pe,qe,We){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(Pe,qe){for(var We=po(Pe),at=[],xt=qe.havingStyle(qe.style.text()),Rt=0;Rt=5?De=0:Tt>=3?De=1:De=2,!ct[De]){var qe=ct[De]={cssEmPerMu:tt.quad[De]/18};for(var We in tt)tt.hasOwnProperty(We)&&(qe[We]=tt[We][De])}return ct[De]}var ut=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],rt=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],He=function(De,qe){return qe.size<2?De:ut[De-1][qe.size-1]},Je=function(){function Tt(qe){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=qe.style,this.color=qe.color,this.size=qe.size||Tt.BASESIZE,this.textSize=qe.textSize||this.size,this.phantom=!!qe.phantom,this.font=qe.font||"",this.fontFamily=qe.fontFamily||"",this.fontWeight=qe.fontWeight||"",this.fontShape=qe.fontShape||"",this.sizeMultiplier=rt[this.size-1],this.maxSize=qe.maxSize,this.minRuleThickness=qe.minRuleThickness,this._fontMetrics=void 0}var De=Tt.prototype;return De.extend=function(We){var at={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var xt in We)We.hasOwnProperty(xt)&&(at[xt]=We[xt]);return new Tt(at)},De.havingStyle=function(We){return this.style===We?this:this.extend({style:We,size:He(this.textSize,We)})},De.havingCrampedStyle=function(){return this.havingStyle(this.style.cramp())},De.havingSize=function(We){return this.size===We&&this.textSize===We?this:this.extend({style:this.style.text(),size:We,textSize:We,sizeMultiplier:rt[We-1]})},De.havingBaseStyle=function(We){We=We||this.style.text();var at=He(Tt.BASESIZE,We);return this.size===at&&this.textSize===Tt.BASESIZE&&this.style===We?this:this.extend({style:We,size:at})},De.havingBaseSizing=function(){var We;switch(this.style.id){case 4:case 5:We=3;break;case 6:case 7:We=1;break;default:We=6}return this.extend({style:this.style.text(),size:We})},De.withColor=function(We){return this.extend({color:We})},De.withPhantom=function(){return this.extend({phantom:!0})},De.withFont=function(We){return this.extend({font:We})},De.withTextFontFamily=function(We){return this.extend({fontFamily:We,font:""})},De.withTextFontWeight=function(We){return this.extend({fontWeight:We,font:""})},De.withTextFontShape=function(We){return this.extend({fontShape:We,font:""})},De.sizingClasses=function(We){return We.size!==this.size?["sizing","reset-size"+We.size,"size"+this.size]:[]},De.baseSizingClasses=function(){return this.size!==Tt.BASESIZE?["sizing","reset-size"+this.size,"size"+Tt.BASESIZE]:[]},De.fontMetrics=function(){return this._fontMetrics||(this._fontMetrics=mt(this.size)),this._fontMetrics},De.getColor=function(){return this.phantom?"transparent":this.color},Tt}();Je.BASESIZE=6;var St=Je,bt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},pt={ex:!0,em:!0,mu:!0},wt=function(De){return typeof De!="string"&&(De=De.unit),De in bt||De in pt||De==="ex"},Pt=function(De,qe){var We;if(De.unit in bt)We=bt[De.unit]/qe.fontMetrics().ptPerEm/qe.sizeMultiplier;else if(De.unit==="mu")We=qe.fontMetrics().cssEmPerMu;else{var at;if(qe.style.isTight()?at=qe.havingStyle(qe.style.text()):at=qe,De.unit==="ex")We=at.fontMetrics().xHeight;else if(De.unit==="em")We=at.fontMetrics().quad;else throw new q("Invalid unit: '"+De.unit+"'");at!==qe&&(We*=at.sizeMultiplier/qe.sizeMultiplier)}return Math.min(De.number*We,qe.maxSize)},Nt=function(De){return+De.toFixed(4)+"em"},Vt=function(De){return De.filter(function(qe){return qe}).join(" ")},Wt=function(De,qe,We){if(this.classes=De||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=We||{},qe){qe.style.isTight()&&this.classes.push("mtight");var at=qe.getColor();at&&(this.style.color=at)}},Mt=function(De){var qe=document.createElement(De);qe.className=Vt(this.classes);for(var We in this.style)this.style.hasOwnProperty(We)&&(qe.style[We]=this.style[We]);for(var at in this.attributes)this.attributes.hasOwnProperty(at)&&qe.setAttribute(at,this.attributes[at]);for(var xt=0;xt",qe},Yt=function(){function Tt(qe,We,at,xt){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Wt.call(this,qe,at,xt),this.children=We||[]}var De=Tt.prototype;return De.setAttribute=function(We,at){this.attributes[We]=at},De.hasClass=function(We){return J.contains(this.classes,We)},De.toNode=function(){return Mt.call(this,"span")},De.toMarkup=function(){return $t.call(this,"span")},Tt}(),Ft=function(){function Tt(qe,We,at,xt){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Wt.call(this,We,xt),this.children=at||[],this.setAttribute("href",qe)}var De=Tt.prototype;return De.setAttribute=function(We,at){this.attributes[We]=at},De.hasClass=function(We){return J.contains(this.classes,We)},De.toNode=function(){return Mt.call(this,"a")},De.toMarkup=function(){return $t.call(this,"a")},Tt}(),Jt=function(){function Tt(qe,We,at){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=We,this.src=qe,this.classes=["mord"],this.style=at}var De=Tt.prototype;return De.hasClass=function(We){return J.contains(this.classes,We)},De.toNode=function(){var We=document.createElement("img");We.src=this.src,We.alt=this.alt,We.className="mord";for(var at in this.style)this.style.hasOwnProperty(at)&&(We.style[at]=this.style[at]);return We},De.toMarkup=function(){var We=""+this.alt+"0&&(at=document.createElement("span"),at.style.marginRight=Nt(this.italic)),this.classes.length>0&&(at=at||document.createElement("span"),at.className=Vt(this.classes));for(var xt in this.style)this.style.hasOwnProperty(xt)&&(at=at||document.createElement("span"),at.style[xt]=this.style[xt]);return at?(at.appendChild(We),at):We},De.toMarkup=function(){var We=!1,at="0&&(xt+="margin-right:"+this.italic+"em;");for(var Rt in this.style)this.style.hasOwnProperty(Rt)&&(xt+=J.hyphenate(Rt)+":"+this.style[Rt]+";");xt&&(We=!0,at+=' style="'+J.escape(xt)+'"');var qt=J.escape(this.text);return We?(at+=">",at+=qt,at+="",at):qt},Tt}(),It=function(){function Tt(qe,We){this.children=void 0,this.attributes=void 0,this.children=qe||[],this.attributes=We||{}}var De=Tt.prototype;return De.toNode=function(){var We="http://www.w3.org/2000/svg",at=document.createElementNS(We,"svg");for(var xt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,xt)&&at.setAttribute(xt,this.attributes[xt]);for(var Rt=0;Rt":""},Tt}(),Zt=function(){function Tt(qe){this.attributes=void 0,this.attributes=qe||{}}var De=Tt.prototype;return De.toNode=function(){var We="http://www.w3.org/2000/svg",at=document.createElementNS(We,"line");for(var xt in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,xt)&&at.setAttribute(xt,this.attributes[xt]);return at},De.toMarkup=function(){var We=" but got "+String(Tt)+".")}var Dr={bin:1,close:1,inner:1,open:1,punct:1,rel:1},kr={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},cr={math:{},text:{}},Ar=cr;function yt(Tt,De,qe,We,at,xt){cr[Tt][at]={font:De,group:qe,replace:We},xt&&We&&(cr[Tt][We]=cr[Tt][at])}var vt="math",Xt="text",At="main",zt="ams",Br="accent-token",br="bin",Ur="close",un="inner",sr="mathord",ur="op-token",Cr="open",Tr="punct",jt="rel",Wr="spacing",ir="textord";yt(vt,At,jt,"≡","\\equiv",!0),yt(vt,At,jt,"≺","\\prec",!0),yt(vt,At,jt,"≻","\\succ",!0),yt(vt,At,jt,"∼","\\sim",!0),yt(vt,At,jt,"⊥","\\perp"),yt(vt,At,jt,"⪯","\\preceq",!0),yt(vt,At,jt,"⪰","\\succeq",!0),yt(vt,At,jt,"≃","\\simeq",!0),yt(vt,At,jt,"∣","\\mid",!0),yt(vt,At,jt,"≪","\\ll",!0),yt(vt,At,jt,"≫","\\gg",!0),yt(vt,At,jt,"≍","\\asymp",!0),yt(vt,At,jt,"∥","\\parallel"),yt(vt,At,jt,"⋈","\\bowtie",!0),yt(vt,At,jt,"⌣","\\smile",!0),yt(vt,At,jt,"⊑","\\sqsubseteq",!0),yt(vt,At,jt,"⊒","\\sqsupseteq",!0),yt(vt,At,jt,"≐","\\doteq",!0),yt(vt,At,jt,"⌢","\\frown",!0),yt(vt,At,jt,"∋","\\ni",!0),yt(vt,At,jt,"∝","\\propto",!0),yt(vt,At,jt,"⊢","\\vdash",!0),yt(vt,At,jt,"⊣","\\dashv",!0),yt(vt,At,jt,"∋","\\owns"),yt(vt,At,Tr,".","\\ldotp"),yt(vt,At,Tr,"⋅","\\cdotp"),yt(vt,At,ir,"#","\\#"),yt(Xt,At,ir,"#","\\#"),yt(vt,At,ir,"&","\\&"),yt(Xt,At,ir,"&","\\&"),yt(vt,At,ir,"ℵ","\\aleph",!0),yt(vt,At,ir,"∀","\\forall",!0),yt(vt,At,ir,"ℏ","\\hbar",!0),yt(vt,At,ir,"∃","\\exists",!0),yt(vt,At,ir,"∇","\\nabla",!0),yt(vt,At,ir,"♭","\\flat",!0),yt(vt,At,ir,"ℓ","\\ell",!0),yt(vt,At,ir,"♮","\\natural",!0),yt(vt,At,ir,"♣","\\clubsuit",!0),yt(vt,At,ir,"℘","\\wp",!0),yt(vt,At,ir,"♯","\\sharp",!0),yt(vt,At,ir,"♢","\\diamondsuit",!0),yt(vt,At,ir,"ℜ","\\Re",!0),yt(vt,At,ir,"♡","\\heartsuit",!0),yt(vt,At,ir,"ℑ","\\Im",!0),yt(vt,At,ir,"♠","\\spadesuit",!0),yt(vt,At,ir,"§","\\S",!0),yt(Xt,At,ir,"§","\\S"),yt(vt,At,ir,"¶","\\P",!0),yt(Xt,At,ir,"¶","\\P"),yt(vt,At,ir,"†","\\dag"),yt(Xt,At,ir,"†","\\dag"),yt(Xt,At,ir,"†","\\textdagger"),yt(vt,At,ir,"‡","\\ddag"),yt(Xt,At,ir,"‡","\\ddag"),yt(Xt,At,ir,"‡","\\textdaggerdbl"),yt(vt,At,Ur,"⎱","\\rmoustache",!0),yt(vt,At,Cr,"⎰","\\lmoustache",!0),yt(vt,At,Ur,"⟯","\\rgroup",!0),yt(vt,At,Cr,"⟮","\\lgroup",!0),yt(vt,At,br,"∓","\\mp",!0),yt(vt,At,br,"⊖","\\ominus",!0),yt(vt,At,br,"⊎","\\uplus",!0),yt(vt,At,br,"⊓","\\sqcap",!0),yt(vt,At,br,"∗","\\ast"),yt(vt,At,br,"⊔","\\sqcup",!0),yt(vt,At,br,"◯","\\bigcirc",!0),yt(vt,At,br,"∙","\\bullet",!0),yt(vt,At,br,"‡","\\ddagger"),yt(vt,At,br,"≀","\\wr",!0),yt(vt,At,br,"⨿","\\amalg"),yt(vt,At,br,"&","\\And"),yt(vt,At,jt,"⟵","\\longleftarrow",!0),yt(vt,At,jt,"⇐","\\Leftarrow",!0),yt(vt,At,jt,"⟸","\\Longleftarrow",!0),yt(vt,At,jt,"⟶","\\longrightarrow",!0),yt(vt,At,jt,"⇒","\\Rightarrow",!0),yt(vt,At,jt,"⟹","\\Longrightarrow",!0),yt(vt,At,jt,"↔","\\leftrightarrow",!0),yt(vt,At,jt,"⟷","\\longleftrightarrow",!0),yt(vt,At,jt,"⇔","\\Leftrightarrow",!0),yt(vt,At,jt,"⟺","\\Longleftrightarrow",!0),yt(vt,At,jt,"↦","\\mapsto",!0),yt(vt,At,jt,"⟼","\\longmapsto",!0),yt(vt,At,jt,"↗","\\nearrow",!0),yt(vt,At,jt,"↩","\\hookleftarrow",!0),yt(vt,At,jt,"↪","\\hookrightarrow",!0),yt(vt,At,jt,"↘","\\searrow",!0),yt(vt,At,jt,"↼","\\leftharpoonup",!0),yt(vt,At,jt,"⇀","\\rightharpoonup",!0),yt(vt,At,jt,"↙","\\swarrow",!0),yt(vt,At,jt,"↽","\\leftharpoondown",!0),yt(vt,At,jt,"⇁","\\rightharpoondown",!0),yt(vt,At,jt,"↖","\\nwarrow",!0),yt(vt,At,jt,"⇌","\\rightleftharpoons",!0),yt(vt,zt,jt,"≮","\\nless",!0),yt(vt,zt,jt,"","\\@nleqslant"),yt(vt,zt,jt,"","\\@nleqq"),yt(vt,zt,jt,"⪇","\\lneq",!0),yt(vt,zt,jt,"≨","\\lneqq",!0),yt(vt,zt,jt,"","\\@lvertneqq"),yt(vt,zt,jt,"⋦","\\lnsim",!0),yt(vt,zt,jt,"⪉","\\lnapprox",!0),yt(vt,zt,jt,"⊀","\\nprec",!0),yt(vt,zt,jt,"⋠","\\npreceq",!0),yt(vt,zt,jt,"⋨","\\precnsim",!0),yt(vt,zt,jt,"⪹","\\precnapprox",!0),yt(vt,zt,jt,"≁","\\nsim",!0),yt(vt,zt,jt,"","\\@nshortmid"),yt(vt,zt,jt,"∤","\\nmid",!0),yt(vt,zt,jt,"⊬","\\nvdash",!0),yt(vt,zt,jt,"⊭","\\nvDash",!0),yt(vt,zt,jt,"⋪","\\ntriangleleft"),yt(vt,zt,jt,"⋬","\\ntrianglelefteq",!0),yt(vt,zt,jt,"⊊","\\subsetneq",!0),yt(vt,zt,jt,"","\\@varsubsetneq"),yt(vt,zt,jt,"⫋","\\subsetneqq",!0),yt(vt,zt,jt,"","\\@varsubsetneqq"),yt(vt,zt,jt,"≯","\\ngtr",!0),yt(vt,zt,jt,"","\\@ngeqslant"),yt(vt,zt,jt,"","\\@ngeqq"),yt(vt,zt,jt,"⪈","\\gneq",!0),yt(vt,zt,jt,"≩","\\gneqq",!0),yt(vt,zt,jt,"","\\@gvertneqq"),yt(vt,zt,jt,"⋧","\\gnsim",!0),yt(vt,zt,jt,"⪊","\\gnapprox",!0),yt(vt,zt,jt,"⊁","\\nsucc",!0),yt(vt,zt,jt,"⋡","\\nsucceq",!0),yt(vt,zt,jt,"⋩","\\succnsim",!0),yt(vt,zt,jt,"⪺","\\succnapprox",!0),yt(vt,zt,jt,"≆","\\ncong",!0),yt(vt,zt,jt,"","\\@nshortparallel"),yt(vt,zt,jt,"∦","\\nparallel",!0),yt(vt,zt,jt,"⊯","\\nVDash",!0),yt(vt,zt,jt,"⋫","\\ntriangleright"),yt(vt,zt,jt,"⋭","\\ntrianglerighteq",!0),yt(vt,zt,jt,"","\\@nsupseteqq"),yt(vt,zt,jt,"⊋","\\supsetneq",!0),yt(vt,zt,jt,"","\\@varsupsetneq"),yt(vt,zt,jt,"⫌","\\supsetneqq",!0),yt(vt,zt,jt,"","\\@varsupsetneqq"),yt(vt,zt,jt,"⊮","\\nVdash",!0),yt(vt,zt,jt,"⪵","\\precneqq",!0),yt(vt,zt,jt,"⪶","\\succneqq",!0),yt(vt,zt,jt,"","\\@nsubseteqq"),yt(vt,zt,br,"⊴","\\unlhd"),yt(vt,zt,br,"⊵","\\unrhd"),yt(vt,zt,jt,"↚","\\nleftarrow",!0),yt(vt,zt,jt,"↛","\\nrightarrow",!0),yt(vt,zt,jt,"⇍","\\nLeftarrow",!0),yt(vt,zt,jt,"⇏","\\nRightarrow",!0),yt(vt,zt,jt,"↮","\\nleftrightarrow",!0),yt(vt,zt,jt,"⇎","\\nLeftrightarrow",!0),yt(vt,zt,jt,"△","\\vartriangle"),yt(vt,zt,ir,"ℏ","\\hslash"),yt(vt,zt,ir,"▽","\\triangledown"),yt(vt,zt,ir,"◊","\\lozenge"),yt(vt,zt,ir,"Ⓢ","\\circledS"),yt(vt,zt,ir,"®","\\circledR"),yt(Xt,zt,ir,"®","\\circledR"),yt(vt,zt,ir,"∡","\\measuredangle",!0),yt(vt,zt,ir,"∄","\\nexists"),yt(vt,zt,ir,"℧","\\mho"),yt(vt,zt,ir,"Ⅎ","\\Finv",!0),yt(vt,zt,ir,"⅁","\\Game",!0),yt(vt,zt,ir,"‵","\\backprime"),yt(vt,zt,ir,"▲","\\blacktriangle"),yt(vt,zt,ir,"▼","\\blacktriangledown"),yt(vt,zt,ir,"■","\\blacksquare"),yt(vt,zt,ir,"⧫","\\blacklozenge"),yt(vt,zt,ir,"★","\\bigstar"),yt(vt,zt,ir,"∢","\\sphericalangle",!0),yt(vt,zt,ir,"∁","\\complement",!0),yt(vt,zt,ir,"ð","\\eth",!0),yt(Xt,At,ir,"ð","ð"),yt(vt,zt,ir,"╱","\\diagup"),yt(vt,zt,ir,"╲","\\diagdown"),yt(vt,zt,ir,"□","\\square"),yt(vt,zt,ir,"□","\\Box"),yt(vt,zt,ir,"◊","\\Diamond"),yt(vt,zt,ir,"¥","\\yen",!0),yt(Xt,zt,ir,"¥","\\yen",!0),yt(vt,zt,ir,"✓","\\checkmark",!0),yt(Xt,zt,ir,"✓","\\checkmark"),yt(vt,zt,ir,"ℶ","\\beth",!0),yt(vt,zt,ir,"ℸ","\\daleth",!0),yt(vt,zt,ir,"ℷ","\\gimel",!0),yt(vt,zt,ir,"ϝ","\\digamma",!0),yt(vt,zt,ir,"ϰ","\\varkappa"),yt(vt,zt,Cr,"┌","\\@ulcorner",!0),yt(vt,zt,Ur,"┐","\\@urcorner",!0),yt(vt,zt,Cr,"└","\\@llcorner",!0),yt(vt,zt,Ur,"┘","\\@lrcorner",!0),yt(vt,zt,jt,"≦","\\leqq",!0),yt(vt,zt,jt,"⩽","\\leqslant",!0),yt(vt,zt,jt,"⪕","\\eqslantless",!0),yt(vt,zt,jt,"≲","\\lesssim",!0),yt(vt,zt,jt,"⪅","\\lessapprox",!0),yt(vt,zt,jt,"≊","\\approxeq",!0),yt(vt,zt,br,"⋖","\\lessdot"),yt(vt,zt,jt,"⋘","\\lll",!0),yt(vt,zt,jt,"≶","\\lessgtr",!0),yt(vt,zt,jt,"⋚","\\lesseqgtr",!0),yt(vt,zt,jt,"⪋","\\lesseqqgtr",!0),yt(vt,zt,jt,"≑","\\doteqdot"),yt(vt,zt,jt,"≓","\\risingdotseq",!0),yt(vt,zt,jt,"≒","\\fallingdotseq",!0),yt(vt,zt,jt,"∽","\\backsim",!0),yt(vt,zt,jt,"⋍","\\backsimeq",!0),yt(vt,zt,jt,"⫅","\\subseteqq",!0),yt(vt,zt,jt,"⋐","\\Subset",!0),yt(vt,zt,jt,"⊏","\\sqsubset",!0),yt(vt,zt,jt,"≼","\\preccurlyeq",!0),yt(vt,zt,jt,"⋞","\\curlyeqprec",!0),yt(vt,zt,jt,"≾","\\precsim",!0),yt(vt,zt,jt,"⪷","\\precapprox",!0),yt(vt,zt,jt,"⊲","\\vartriangleleft"),yt(vt,zt,jt,"⊴","\\trianglelefteq"),yt(vt,zt,jt,"⊨","\\vDash",!0),yt(vt,zt,jt,"⊪","\\Vvdash",!0),yt(vt,zt,jt,"⌣","\\smallsmile"),yt(vt,zt,jt,"⌢","\\smallfrown"),yt(vt,zt,jt,"≏","\\bumpeq",!0),yt(vt,zt,jt,"≎","\\Bumpeq",!0),yt(vt,zt,jt,"≧","\\geqq",!0),yt(vt,zt,jt,"⩾","\\geqslant",!0),yt(vt,zt,jt,"⪖","\\eqslantgtr",!0),yt(vt,zt,jt,"≳","\\gtrsim",!0),yt(vt,zt,jt,"⪆","\\gtrapprox",!0),yt(vt,zt,br,"⋗","\\gtrdot"),yt(vt,zt,jt,"⋙","\\ggg",!0),yt(vt,zt,jt,"≷","\\gtrless",!0),yt(vt,zt,jt,"⋛","\\gtreqless",!0),yt(vt,zt,jt,"⪌","\\gtreqqless",!0),yt(vt,zt,jt,"≖","\\eqcirc",!0),yt(vt,zt,jt,"≗","\\circeq",!0),yt(vt,zt,jt,"≜","\\triangleq",!0),yt(vt,zt,jt,"∼","\\thicksim"),yt(vt,zt,jt,"≈","\\thickapprox"),yt(vt,zt,jt,"⫆","\\supseteqq",!0),yt(vt,zt,jt,"⋑","\\Supset",!0),yt(vt,zt,jt,"⊐","\\sqsupset",!0),yt(vt,zt,jt,"≽","\\succcurlyeq",!0),yt(vt,zt,jt,"⋟","\\curlyeqsucc",!0),yt(vt,zt,jt,"≿","\\succsim",!0),yt(vt,zt,jt,"⪸","\\succapprox",!0),yt(vt,zt,jt,"⊳","\\vartriangleright"),yt(vt,zt,jt,"⊵","\\trianglerighteq"),yt(vt,zt,jt,"⊩","\\Vdash",!0),yt(vt,zt,jt,"∣","\\shortmid"),yt(vt,zt,jt,"∥","\\shortparallel"),yt(vt,zt,jt,"≬","\\between",!0),yt(vt,zt,jt,"⋔","\\pitchfork",!0),yt(vt,zt,jt,"∝","\\varpropto"),yt(vt,zt,jt,"◀","\\blacktriangleleft"),yt(vt,zt,jt,"∴","\\therefore",!0),yt(vt,zt,jt,"∍","\\backepsilon"),yt(vt,zt,jt,"▶","\\blacktriangleright"),yt(vt,zt,jt,"∵","\\because",!0),yt(vt,zt,jt,"⋘","\\llless"),yt(vt,zt,jt,"⋙","\\gggtr"),yt(vt,zt,br,"⊲","\\lhd"),yt(vt,zt,br,"⊳","\\rhd"),yt(vt,zt,jt,"≂","\\eqsim",!0),yt(vt,At,jt,"⋈","\\Join"),yt(vt,zt,jt,"≑","\\Doteq",!0),yt(vt,zt,br,"∔","\\dotplus",!0),yt(vt,zt,br,"∖","\\smallsetminus"),yt(vt,zt,br,"⋒","\\Cap",!0),yt(vt,zt,br,"⋓","\\Cup",!0),yt(vt,zt,br,"⩞","\\doublebarwedge",!0),yt(vt,zt,br,"⊟","\\boxminus",!0),yt(vt,zt,br,"⊞","\\boxplus",!0),yt(vt,zt,br,"⋇","\\divideontimes",!0),yt(vt,zt,br,"⋉","\\ltimes",!0),yt(vt,zt,br,"⋊","\\rtimes",!0),yt(vt,zt,br,"⋋","\\leftthreetimes",!0),yt(vt,zt,br,"⋌","\\rightthreetimes",!0),yt(vt,zt,br,"⋏","\\curlywedge",!0),yt(vt,zt,br,"⋎","\\curlyvee",!0),yt(vt,zt,br,"⊝","\\circleddash",!0),yt(vt,zt,br,"⊛","\\circledast",!0),yt(vt,zt,br,"⋅","\\centerdot"),yt(vt,zt,br,"⊺","\\intercal",!0),yt(vt,zt,br,"⋒","\\doublecap"),yt(vt,zt,br,"⋓","\\doublecup"),yt(vt,zt,br,"⊠","\\boxtimes",!0),yt(vt,zt,jt,"⇢","\\dashrightarrow",!0),yt(vt,zt,jt,"⇠","\\dashleftarrow",!0),yt(vt,zt,jt,"⇇","\\leftleftarrows",!0),yt(vt,zt,jt,"⇆","\\leftrightarrows",!0),yt(vt,zt,jt,"⇚","\\Lleftarrow",!0),yt(vt,zt,jt,"↞","\\twoheadleftarrow",!0),yt(vt,zt,jt,"↢","\\leftarrowtail",!0),yt(vt,zt,jt,"↫","\\looparrowleft",!0),yt(vt,zt,jt,"⇋","\\leftrightharpoons",!0),yt(vt,zt,jt,"↶","\\curvearrowleft",!0),yt(vt,zt,jt,"↺","\\circlearrowleft",!0),yt(vt,zt,jt,"↰","\\Lsh",!0),yt(vt,zt,jt,"⇈","\\upuparrows",!0),yt(vt,zt,jt,"↿","\\upharpoonleft",!0),yt(vt,zt,jt,"⇃","\\downharpoonleft",!0),yt(vt,At,jt,"⊶","\\origof",!0),yt(vt,At,jt,"⊷","\\imageof",!0),yt(vt,zt,jt,"⊸","\\multimap",!0),yt(vt,zt,jt,"↭","\\leftrightsquigarrow",!0),yt(vt,zt,jt,"⇉","\\rightrightarrows",!0),yt(vt,zt,jt,"⇄","\\rightleftarrows",!0),yt(vt,zt,jt,"↠","\\twoheadrightarrow",!0),yt(vt,zt,jt,"↣","\\rightarrowtail",!0),yt(vt,zt,jt,"↬","\\looparrowright",!0),yt(vt,zt,jt,"↷","\\curvearrowright",!0),yt(vt,zt,jt,"↻","\\circlearrowright",!0),yt(vt,zt,jt,"↱","\\Rsh",!0),yt(vt,zt,jt,"⇊","\\downdownarrows",!0),yt(vt,zt,jt,"↾","\\upharpoonright",!0),yt(vt,zt,jt,"⇂","\\downharpoonright",!0),yt(vt,zt,jt,"⇝","\\rightsquigarrow",!0),yt(vt,zt,jt,"⇝","\\leadsto"),yt(vt,zt,jt,"⇛","\\Rrightarrow",!0),yt(vt,zt,jt,"↾","\\restriction"),yt(vt,At,ir,"‘","`"),yt(vt,At,ir,"$","\\$"),yt(Xt,At,ir,"$","\\$"),yt(Xt,At,ir,"$","\\textdollar"),yt(vt,At,ir,"%","\\%"),yt(Xt,At,ir,"%","\\%"),yt(vt,At,ir,"_","\\_"),yt(Xt,At,ir,"_","\\_"),yt(Xt,At,ir,"_","\\textunderscore"),yt(vt,At,ir,"∠","\\angle",!0),yt(vt,At,ir,"∞","\\infty",!0),yt(vt,At,ir,"′","\\prime"),yt(vt,At,ir,"△","\\triangle"),yt(vt,At,ir,"Γ","\\Gamma",!0),yt(vt,At,ir,"Δ","\\Delta",!0),yt(vt,At,ir,"Θ","\\Theta",!0),yt(vt,At,ir,"Λ","\\Lambda",!0),yt(vt,At,ir,"Ξ","\\Xi",!0),yt(vt,At,ir,"Π","\\Pi",!0),yt(vt,At,ir,"Σ","\\Sigma",!0),yt(vt,At,ir,"Υ","\\Upsilon",!0),yt(vt,At,ir,"Φ","\\Phi",!0),yt(vt,At,ir,"Ψ","\\Psi",!0),yt(vt,At,ir,"Ω","\\Omega",!0),yt(vt,At,ir,"A","Α"),yt(vt,At,ir,"B","Β"),yt(vt,At,ir,"E","Ε"),yt(vt,At,ir,"Z","Ζ"),yt(vt,At,ir,"H","Η"),yt(vt,At,ir,"I","Ι"),yt(vt,At,ir,"K","Κ"),yt(vt,At,ir,"M","Μ"),yt(vt,At,ir,"N","Ν"),yt(vt,At,ir,"O","Ο"),yt(vt,At,ir,"P","Ρ"),yt(vt,At,ir,"T","Τ"),yt(vt,At,ir,"X","Χ"),yt(vt,At,ir,"¬","\\neg",!0),yt(vt,At,ir,"¬","\\lnot"),yt(vt,At,ir,"⊤","\\top"),yt(vt,At,ir,"⊥","\\bot"),yt(vt,At,ir,"∅","\\emptyset"),yt(vt,zt,ir,"∅","\\varnothing"),yt(vt,At,sr,"α","\\alpha",!0),yt(vt,At,sr,"β","\\beta",!0),yt(vt,At,sr,"γ","\\gamma",!0),yt(vt,At,sr,"δ","\\delta",!0),yt(vt,At,sr,"ϵ","\\epsilon",!0),yt(vt,At,sr,"ζ","\\zeta",!0),yt(vt,At,sr,"η","\\eta",!0),yt(vt,At,sr,"θ","\\theta",!0),yt(vt,At,sr,"ι","\\iota",!0),yt(vt,At,sr,"κ","\\kappa",!0),yt(vt,At,sr,"λ","\\lambda",!0),yt(vt,At,sr,"μ","\\mu",!0),yt(vt,At,sr,"ν","\\nu",!0),yt(vt,At,sr,"ξ","\\xi",!0),yt(vt,At,sr,"ο","\\omicron",!0),yt(vt,At,sr,"π","\\pi",!0),yt(vt,At,sr,"ρ","\\rho",!0),yt(vt,At,sr,"σ","\\sigma",!0),yt(vt,At,sr,"τ","\\tau",!0),yt(vt,At,sr,"υ","\\upsilon",!0),yt(vt,At,sr,"ϕ","\\phi",!0),yt(vt,At,sr,"χ","\\chi",!0),yt(vt,At,sr,"ψ","\\psi",!0),yt(vt,At,sr,"ω","\\omega",!0),yt(vt,At,sr,"ε","\\varepsilon",!0),yt(vt,At,sr,"ϑ","\\vartheta",!0),yt(vt,At,sr,"ϖ","\\varpi",!0),yt(vt,At,sr,"ϱ","\\varrho",!0),yt(vt,At,sr,"ς","\\varsigma",!0),yt(vt,At,sr,"φ","\\varphi",!0),yt(vt,At,br,"∗","*",!0),yt(vt,At,br,"+","+"),yt(vt,At,br,"−","-",!0),yt(vt,At,br,"⋅","\\cdot",!0),yt(vt,At,br,"∘","\\circ",!0),yt(vt,At,br,"÷","\\div",!0),yt(vt,At,br,"±","\\pm",!0),yt(vt,At,br,"×","\\times",!0),yt(vt,At,br,"∩","\\cap",!0),yt(vt,At,br,"∪","\\cup",!0),yt(vt,At,br,"∖","\\setminus",!0),yt(vt,At,br,"∧","\\land"),yt(vt,At,br,"∨","\\lor"),yt(vt,At,br,"∧","\\wedge",!0),yt(vt,At,br,"∨","\\vee",!0),yt(vt,At,ir,"√","\\surd"),yt(vt,At,Cr,"⟨","\\langle",!0),yt(vt,At,Cr,"∣","\\lvert"),yt(vt,At,Cr,"∥","\\lVert"),yt(vt,At,Ur,"?","?"),yt(vt,At,Ur,"!","!"),yt(vt,At,Ur,"⟩","\\rangle",!0),yt(vt,At,Ur,"∣","\\rvert"),yt(vt,At,Ur,"∥","\\rVert"),yt(vt,At,jt,"=","="),yt(vt,At,jt,":",":"),yt(vt,At,jt,"≈","\\approx",!0),yt(vt,At,jt,"≅","\\cong",!0),yt(vt,At,jt,"≥","\\ge"),yt(vt,At,jt,"≥","\\geq",!0),yt(vt,At,jt,"←","\\gets"),yt(vt,At,jt,">","\\gt",!0),yt(vt,At,jt,"∈","\\in",!0),yt(vt,At,jt,"","\\@not"),yt(vt,At,jt,"⊂","\\subset",!0),yt(vt,At,jt,"⊃","\\supset",!0),yt(vt,At,jt,"⊆","\\subseteq",!0),yt(vt,At,jt,"⊇","\\supseteq",!0),yt(vt,zt,jt,"⊈","\\nsubseteq",!0),yt(vt,zt,jt,"⊉","\\nsupseteq",!0),yt(vt,At,jt,"⊨","\\models"),yt(vt,At,jt,"←","\\leftarrow",!0),yt(vt,At,jt,"≤","\\le"),yt(vt,At,jt,"≤","\\leq",!0),yt(vt,At,jt,"<","\\lt",!0),yt(vt,At,jt,"→","\\rightarrow",!0),yt(vt,At,jt,"→","\\to"),yt(vt,zt,jt,"≱","\\ngeq",!0),yt(vt,zt,jt,"≰","\\nleq",!0),yt(vt,At,Wr," ","\\ "),yt(vt,At,Wr," ","\\space"),yt(vt,At,Wr," ","\\nobreakspace"),yt(Xt,At,Wr," ","\\ "),yt(Xt,At,Wr," "," "),yt(Xt,At,Wr," ","\\space"),yt(Xt,At,Wr," ","\\nobreakspace"),yt(vt,At,Wr,null,"\\nobreak"),yt(vt,At,Wr,null,"\\allowbreak"),yt(vt,At,Tr,",",","),yt(vt,At,Tr,";",";"),yt(vt,zt,br,"⊼","\\barwedge",!0),yt(vt,zt,br,"⊻","\\veebar",!0),yt(vt,At,br,"⊙","\\odot",!0),yt(vt,At,br,"⊕","\\oplus",!0),yt(vt,At,br,"⊗","\\otimes",!0),yt(vt,At,ir,"∂","\\partial",!0),yt(vt,At,br,"⊘","\\oslash",!0),yt(vt,zt,br,"⊚","\\circledcirc",!0),yt(vt,zt,br,"⊡","\\boxdot",!0),yt(vt,At,br,"△","\\bigtriangleup"),yt(vt,At,br,"▽","\\bigtriangledown"),yt(vt,At,br,"†","\\dagger"),yt(vt,At,br,"⋄","\\diamond"),yt(vt,At,br,"⋆","\\star"),yt(vt,At,br,"◃","\\triangleleft"),yt(vt,At,br,"▹","\\triangleright"),yt(vt,At,Cr,"{","\\{"),yt(Xt,At,ir,"{","\\{"),yt(Xt,At,ir,"{","\\textbraceleft"),yt(vt,At,Ur,"}","\\}"),yt(Xt,At,ir,"}","\\}"),yt(Xt,At,ir,"}","\\textbraceright"),yt(vt,At,Cr,"{","\\lbrace"),yt(vt,At,Ur,"}","\\rbrace"),yt(vt,At,Cr,"[","\\lbrack",!0),yt(Xt,At,ir,"[","\\lbrack",!0),yt(vt,At,Ur,"]","\\rbrack",!0),yt(Xt,At,ir,"]","\\rbrack",!0),yt(vt,At,Cr,"(","\\lparen",!0),yt(vt,At,Ur,")","\\rparen",!0),yt(Xt,At,ir,"<","\\textless",!0),yt(Xt,At,ir,">","\\textgreater",!0),yt(vt,At,Cr,"⌊","\\lfloor",!0),yt(vt,At,Ur,"⌋","\\rfloor",!0),yt(vt,At,Cr,"⌈","\\lceil",!0),yt(vt,At,Ur,"⌉","\\rceil",!0),yt(vt,At,ir,"\\","\\backslash"),yt(vt,At,ir,"∣","|"),yt(vt,At,ir,"∣","\\vert"),yt(Xt,At,ir,"|","\\textbar",!0),yt(vt,At,ir,"∥","\\|"),yt(vt,At,ir,"∥","\\Vert"),yt(Xt,At,ir,"∥","\\textbardbl"),yt(Xt,At,ir,"~","\\textasciitilde"),yt(Xt,At,ir,"\\","\\textbackslash"),yt(Xt,At,ir,"^","\\textasciicircum"),yt(vt,At,jt,"↑","\\uparrow",!0),yt(vt,At,jt,"⇑","\\Uparrow",!0),yt(vt,At,jt,"↓","\\downarrow",!0),yt(vt,At,jt,"⇓","\\Downarrow",!0),yt(vt,At,jt,"↕","\\updownarrow",!0),yt(vt,At,jt,"⇕","\\Updownarrow",!0),yt(vt,At,ur,"∐","\\coprod"),yt(vt,At,ur,"⋁","\\bigvee"),yt(vt,At,ur,"⋀","\\bigwedge"),yt(vt,At,ur,"⨄","\\biguplus"),yt(vt,At,ur,"⋂","\\bigcap"),yt(vt,At,ur,"⋃","\\bigcup"),yt(vt,At,ur,"∫","\\int"),yt(vt,At,ur,"∫","\\intop"),yt(vt,At,ur,"∬","\\iint"),yt(vt,At,ur,"∭","\\iiint"),yt(vt,At,ur,"∏","\\prod"),yt(vt,At,ur,"∑","\\sum"),yt(vt,At,ur,"⨂","\\bigotimes"),yt(vt,At,ur,"⨁","\\bigoplus"),yt(vt,At,ur,"⨀","\\bigodot"),yt(vt,At,ur,"∮","\\oint"),yt(vt,At,ur,"∯","\\oiint"),yt(vt,At,ur,"∰","\\oiiint"),yt(vt,At,ur,"⨆","\\bigsqcup"),yt(vt,At,ur,"∫","\\smallint"),yt(Xt,At,un,"…","\\textellipsis"),yt(vt,At,un,"…","\\mathellipsis"),yt(Xt,At,un,"…","\\ldots",!0),yt(vt,At,un,"…","\\ldots",!0),yt(vt,At,un,"⋯","\\@cdots",!0),yt(vt,At,un,"⋱","\\ddots",!0),yt(vt,At,ir,"⋮","\\varvdots"),yt(vt,At,Br,"ˊ","\\acute"),yt(vt,At,Br,"ˋ","\\grave"),yt(vt,At,Br,"¨","\\ddot"),yt(vt,At,Br,"~","\\tilde"),yt(vt,At,Br,"ˉ","\\bar"),yt(vt,At,Br,"˘","\\breve"),yt(vt,At,Br,"ˇ","\\check"),yt(vt,At,Br,"^","\\hat"),yt(vt,At,Br,"⃗","\\vec"),yt(vt,At,Br,"˙","\\dot"),yt(vt,At,Br,"˚","\\mathring"),yt(vt,At,sr,"","\\@imath"),yt(vt,At,sr,"","\\@jmath"),yt(vt,At,ir,"ı","ı"),yt(vt,At,ir,"ȷ","ȷ"),yt(Xt,At,ir,"ı","\\i",!0),yt(Xt,At,ir,"ȷ","\\j",!0),yt(Xt,At,ir,"ß","\\ss",!0),yt(Xt,At,ir,"æ","\\ae",!0),yt(Xt,At,ir,"œ","\\oe",!0),yt(Xt,At,ir,"ø","\\o",!0),yt(Xt,At,ir,"Æ","\\AE",!0),yt(Xt,At,ir,"Œ","\\OE",!0),yt(Xt,At,ir,"Ø","\\O",!0),yt(Xt,At,Br,"ˊ","\\'"),yt(Xt,At,Br,"ˋ","\\`"),yt(Xt,At,Br,"ˆ","\\^"),yt(Xt,At,Br,"˜","\\~"),yt(Xt,At,Br,"ˉ","\\="),yt(Xt,At,Br,"˘","\\u"),yt(Xt,At,Br,"˙","\\."),yt(Xt,At,Br,"¸","\\c"),yt(Xt,At,Br,"˚","\\r"),yt(Xt,At,Br,"ˇ","\\v"),yt(Xt,At,Br,"¨",'\\"'),yt(Xt,At,Br,"˝","\\H"),yt(Xt,At,Br,"◯","\\textcircled");var Gr={"--":!0,"---":!0,"``":!0,"''":!0};yt(Xt,At,ir,"–","--",!0),yt(Xt,At,ir,"–","\\textendash"),yt(Xt,At,ir,"—","---",!0),yt(Xt,At,ir,"—","\\textemdash"),yt(Xt,At,ir,"‘","`",!0),yt(Xt,At,ir,"‘","\\textquoteleft"),yt(Xt,At,ir,"’","'",!0),yt(Xt,At,ir,"’","\\textquoteright"),yt(Xt,At,ir,"“","``",!0),yt(Xt,At,ir,"“","\\textquotedblleft"),yt(Xt,At,ir,"”","''",!0),yt(Xt,At,ir,"”","\\textquotedblright"),yt(vt,At,ir,"°","\\degree",!0),yt(Xt,At,ir,"°","\\degree"),yt(Xt,At,ir,"°","\\textdegree",!0),yt(vt,At,ir,"£","\\pounds"),yt(vt,At,ir,"£","\\mathsterling",!0),yt(Xt,At,ir,"£","\\pounds"),yt(Xt,At,ir,"£","\\textsterling",!0),yt(vt,zt,ir,"✠","\\maltese"),yt(Xt,zt,ir,"✠","\\maltese");for(var Jr='0123456789/@."',Xr=0;Xr0)return oi(xt,rr,at,qe,Rt.concat(mr));if(Kt){var Vr,zr;if(Kt==="boldsymbol"){var Hr=Ia(xt,at,qe,Rt,We);Vr=Hr.fontName,zr=[Hr.fontClass]}else qt?(Vr=ma[Kt].fontName,zr=[Kt]):(Vr=ki(Kt,qe.fontWeight,qe.fontShape),zr=[Kt,qe.fontWeight,qe.fontShape]);if(Ri(xt,Vr,at).metrics)return oi(xt,Vr,at,qe,Rt.concat(zr));if(Gr.hasOwnProperty(xt)&&Vr.slice(0,10)==="Typewriter"){for(var rn=[],ln=0;lnqe&&(qe=Rt.height),Rt.depth>We&&(We=Rt.depth),Rt.maxFontSize>at&&(at=Rt.maxFontSize)}De.height=qe,De.depth=We,De.maxFontSize=at},Zn=function(De,qe,We,at){var xt=new Yt(De,qe,We,at);return Fi(xt),xt},ia=function(De,qe,We,at){return new Yt(De,qe,We,at)},Oa=function(De,qe,We){var at=Zn([De],[],qe);return at.height=Math.max(We||qe.fontMetrics().defaultRuleThickness,qe.minRuleThickness),at.style.borderBottomWidth=Nt(at.height),at.maxFontSize=1,at},aa=function(De,qe,We,at){var xt=new Ft(De,qe,We,at);return Fi(xt),xt},Ii=function(De){var qe=new $e(De);return Fi(qe),qe},fa=function(De,qe){return De instanceof $e?Zn([],[De],qe):De},Na=function(De){if(De.positionType==="individualShift"){for(var qe=De.children,We=[qe[0]],at=-qe[0].shift-qe[0].elem.depth,xt=at,Rt=1;Rt0&&(xt.push(Cn(Rt,De)),Rt=[]),xt.push(We[qt]));Rt.length>0&&xt.push(Cn(Rt,De));var rr;qe?(rr=Cn(kn(qe,De,!0)),rr.classes=["tag"],xt.push(rr)):at&&xt.push(at);var mr=on(["katex-html"],xt);if(mr.setAttribute("aria-hidden","true"),rr){var Fr=rr.children[0];Fr.style.height=Nt(mr.height+mr.depth),mr.depth&&(Fr.style.verticalAlign=Nt(-mr.depth))}return mr}function vi(Tt){return new $e(Tt)}var Hn=function(){function Tt(qe,We,at){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=qe,this.attributes={},this.children=We||[],this.classes=at||[]}var De=Tt.prototype;return De.setAttribute=function(We,at){this.attributes[We]=at},De.getAttribute=function(We){return this.attributes[We]},De.toNode=function(){var We=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var at in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,at)&&We.setAttribute(at,this.attributes[at]);this.classes.length>0&&(We.className=Vt(this.classes));for(var xt=0;xt0&&(We+=' class ="'+J.escape(Vt(this.classes))+'"'),We+=">";for(var xt=0;xt",We},De.toText=function(){return this.children.map(function(We){return We.toText()}).join("")},Tt}(),Ni=function(){function Tt(qe){this.text=void 0,this.text=qe}var De=Tt.prototype;return De.toNode=function(){return document.createTextNode(this.text)},De.toMarkup=function(){return J.escape(this.toText())},De.toText=function(){return this.text},Tt}(),zi=function(){function Tt(qe){this.width=void 0,this.character=void 0,this.width=qe,qe>=.05555&&qe<=.05556?this.character=" ":qe>=.1666&&qe<=.1667?this.character=" ":qe>=.2222&&qe<=.2223?this.character=" ":qe>=.2777&&qe<=.2778?this.character="  ":qe>=-.05556&&qe<=-.05555?this.character=" ⁣":qe>=-.1667&&qe<=-.1666?this.character=" ⁣":qe>=-.2223&&qe<=-.2222?this.character=" ⁣":qe>=-.2778&&qe<=-.2777?this.character=" ⁣":this.character=null}var De=Tt.prototype;return De.toNode=function(){if(this.character)return document.createTextNode(this.character);var We=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return We.setAttribute("width",Nt(this.width)),We},De.toMarkup=function(){return this.character?""+this.character+"":''},De.toText=function(){return this.character?this.character:" "},Tt}(),Qr={MathNode:Hn,TextNode:Ni,SpaceNode:zi,newDocumentFragment:vi},gi=function(De,qe,We){return Ar[qe][De]&&Ar[qe][De].replace&&De.charCodeAt(0)!==55349&&!(Gr.hasOwnProperty(De)&&We&&(We.fontFamily&&We.fontFamily.slice(4,6)==="tt"||We.font&&We.font.slice(4,6)==="tt"))&&(De=Ar[qe][De].replace),new Qr.TextNode(De)},Zs=function(De){return De.length===1?De[0]:new Qr.MathNode("mrow",De)},Js=function(De,qe){if(qe.fontFamily==="texttt")return"monospace";if(qe.fontFamily==="textsf")return qe.fontShape==="textit"&&qe.fontWeight==="textbf"?"sans-serif-bold-italic":qe.fontShape==="textit"?"sans-serif-italic":qe.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(qe.fontShape==="textit"&&qe.fontWeight==="textbf")return"bold-italic";if(qe.fontShape==="textit")return"italic";if(qe.fontWeight==="textbf")return"bold";var We=qe.font;if(!We||We==="mathnormal")return null;var at=De.mode;if(We==="mathit")return"italic";if(We==="boldsymbol")return De.type==="textord"?"bold":"bold-italic";if(We==="mathbf")return"bold";if(We==="mathbb")return"double-struck";if(We==="mathfrak")return"fraktur";if(We==="mathscr"||We==="mathcal")return"script";if(We==="mathsf")return"sans-serif";if(We==="mathtt")return"monospace";var xt=De.text;if(J.contains(["\\imath","\\jmath"],xt))return null;Ar[at][xt]&&Ar[at][xt].replace&&(xt=Ar[at][xt].replace);var Rt=Ir.fontMap[We].fontName;return dt(xt,Rt,at)?Ir.fontMap[We].variant:null},ti=function(De,qe,We){if(De.length===1){var at=Kn(De[0],qe);return We&&at instanceof Hn&&at.type==="mo"&&(at.setAttribute("lspace","0em"),at.setAttribute("rspace","0em")),[at]}for(var xt=[],Rt,qt=0;qt0&&(Hr.text=Hr.text.slice(0,1)+"̸"+Hr.text.slice(1),xt.pop())}}}xt.push(Kt),Rt=Kt}return xt},Da=function(De,qe,We){return Zs(ti(De,qe,We))},Kn=function(De,qe){if(!De)return new Qr.MathNode("mrow");if(yr[De.type]){var We=yr[De.type](De,qe);return We}else throw new q("Got group of unknown type: '"+De.type+"'")};function mo(Tt,De,qe,We,at){var xt=ti(Tt,qe),Rt;xt.length===1&&xt[0]instanceof Hn&&J.contains(["mrow","mtable"],xt[0].type)?Rt=xt[0]:Rt=new Qr.MathNode("mrow",xt);var qt=new Qr.MathNode("annotation",[new Qr.TextNode(De)]);qt.setAttribute("encoding","application/x-tex");var Kt=new Qr.MathNode("semantics",[Rt,qt]),rr=new Qr.MathNode("math",[Kt]);rr.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),We&&rr.setAttribute("display","block");var mr=at?"katex":"katex-mathml";return Ir.makeSpan([mr],[rr])}var as=function(De){return new St({style:De.displayMode?Ae.DISPLAY:Ae.TEXT,maxSize:De.maxSize,minRuleThickness:De.minRuleThickness})},Ss=function(De,qe){if(qe.displayMode){var We=["katex-display"];qe.leqno&&We.push("leqno"),qe.fleqn&&We.push("fleqn"),De=Ir.makeSpan(We,[De])}return De},_a=function(De,qe,We){var at=as(We),xt;if(We.output==="mathml")return mo(De,qe,at,We.displayMode,!0);if(We.output==="html"){var Rt=Ti(De,at);xt=Ir.makeSpan(["katex"],[Rt])}else{var qt=mo(De,qe,at,We.displayMode,!1),Kt=Ti(De,at);xt=Ir.makeSpan(["katex"],[qt,Kt])}return Ss(xt,We)},Ga=function(De,qe,We){var at=as(We),xt=Ti(De,at),Rt=Ir.makeSpan(["katex"],[xt]);return Ss(Rt,We)},Uo={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},ui=function(De){var qe=new Qr.MathNode("mo",[new Qr.TextNode(Uo[De.replace(/^\\/,"")])]);return qe.setAttribute("stretchy","true"),qe},go={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},ss=function(De){return De.type==="ordgroup"?De.body.length:1},Si=function(De,qe){function We(){var Kt=4e5,rr=De.label.slice(1);if(J.contains(["widehat","widecheck","widetilde","utilde"],rr)){var mr=De,Fr=ss(mr.base),Vr,zr,Hr;if(Fr>5)rr==="widehat"||rr==="widecheck"?(Vr=420,Kt=2364,Hr=.42,zr=rr+"4"):(Vr=312,Kt=2340,Hr=.34,zr="tilde4");else{var rn=[1,1,2,2,3,3][Fr];rr==="widehat"||rr==="widecheck"?(Kt=[0,1062,2364,2364,2364][rn],Vr=[0,239,300,360,420][rn],Hr=[0,.24,.3,.3,.36,.42][rn],zr=rr+rn):(Kt=[0,600,1033,2339,2340][rn],Vr=[0,260,286,306,312][rn],Hr=[0,.26,.286,.3,.306,.34][rn],zr="tilde"+rn)}var ln=new Dt(zr),mn=new It([ln],{width:"100%",height:Nt(Hr),viewBox:"0 0 "+Kt+" "+Vr,preserveAspectRatio:"none"});return{span:Ir.makeSvgSpan([],[mn],qe),minWidth:0,height:Hr}}else{var xn=[],An=go[rr],qn=An[0],Pn=An[1],Xn=An[2],Vn=Xn/1e3,Qn=qn.length,ei,di;if(Qn===1){var Zi=An[3];ei=["hide-tail"],di=[Zi]}else if(Qn===2)ei=["halfarrow-left","halfarrow-right"],di=["xMinYMin","xMaxYMin"];else if(Qn===3)ei=["brace-left","brace-center","brace-right"],di=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+Qn+" children.");for(var ci=0;ci0&&(xt.style.minWidth=Nt(Rt)),xt},eo=function(De,qe,We,at,xt){var Rt,qt=De.height+De.depth+We+at;if(/fbox|color|angl/.test(qe)){if(Rt=Ir.makeSpan(["stretchy",qe],[],xt),qe==="fbox"){var Kt=xt.color&&xt.getColor();Kt&&(Rt.style.borderColor=Kt)}}else{var rr=[];/^[bx]cancel$/.test(qe)&&rr.push(new Zt({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(qe)&&rr.push(new Zt({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var mr=new It(rr,{width:"100%",height:Nt(qt)});Rt=Ir.makeSvgSpan([],[mr],xt)}return Rt.height=qt,Rt.style.height=Nt(qt),Rt},Bi={encloseSpan:eo,mathMLnode:ui,svgSpan:Si};function On(Tt,De){if(!Tt||Tt.type!==De)throw new Error("Expected node of type "+De+", but got "+(Tt?"node of type "+Tt.type:String(Tt)));return Tt}function xs(Tt){var De=ba(Tt);if(!De)throw new Error("Expected node of symbol group type, but got "+(Tt?"node of type "+Tt.type:String(Tt)));return De}function ba(Tt){return Tt&&(Tt.type==="atom"||kr.hasOwnProperty(Tt.type))?Tt:null}var os=function(De,qe){var We,at,xt;De&&De.type==="supsub"?(at=On(De.base,"accent"),We=at.base,De.base=We,xt=fr(vn(De,qe)),De.base=at):(at=On(De,"accent"),We=at.base);var Rt=vn(We,qe.havingCrampedStyle()),qt=at.isShifty&&J.isCharacterBox(We),Kt=0;if(qt){var rr=J.getBaseElem(We),mr=vn(rr,qe.havingCrampedStyle());Kt=gr(mr).skew}var Fr=at.label==="\\c",Vr=Fr?Rt.height+Rt.depth:Math.min(Rt.height,qe.fontMetrics().xHeight),zr;if(at.isStretchy)zr=Bi.svgSpan(at,qe),zr=Ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Rt},{type:"elem",elem:zr,wrapperClasses:["svg-align"],wrapperStyle:Kt>0?{width:"calc(100% - "+Nt(2*Kt)+")",marginLeft:Nt(2*Kt)}:void 0}]},qe);else{var Hr,rn;at.label==="\\vec"?(Hr=Ir.staticSvg("vec",qe),rn=Ir.svgData.vec[1]):(Hr=Ir.makeOrd({mode:at.mode,text:at.label},qe,"textord"),Hr=gr(Hr),Hr.italic=0,rn=Hr.width,Fr&&(Vr+=Hr.depth)),zr=Ir.makeSpan(["accent-body"],[Hr]);var ln=at.label==="\\textcircled";ln&&(zr.classes.push("accent-full"),Vr=Rt.height);var mn=Kt;ln||(mn-=rn/2),zr.style.left=Nt(mn),at.label==="\\textcircled"&&(zr.style.top=".2em"),zr=Ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Rt},{type:"kern",size:-Vr},{type:"elem",elem:zr}]},qe)}var xn=Ir.makeSpan(["mord","accent"],[zr],qe);return xt?(xt.children[0]=xn,xt.height=Math.max(xn.height,xt.height),xt.classes[0]="mord",xt):xn},to=function(De,qe){var We=De.isStretchy?Bi.mathMLnode(De.label):new Qr.MathNode("mo",[gi(De.label,De.mode)]),at=new Qr.MathNode("mover",[Kn(De.base,qe),We]);return at.setAttribute("accent","true"),at},Go=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(function(Tt){return"\\"+Tt}).join("|"));lr({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:function(De,qe){var We=sn(qe[0]),at=!Go.test(De.funcName),xt=!at||De.funcName==="\\widehat"||De.funcName==="\\widetilde"||De.funcName==="\\widecheck";return{type:"accent",mode:De.parser.mode,label:De.funcName,isStretchy:at,isShifty:xt,base:We}},htmlBuilder:os,mathmlBuilder:to}),lr({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:function(De,qe){var We=qe[0],at=De.parser.mode;return at==="math"&&(De.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+De.funcName+" works only in text mode"),at="text"),{type:"accent",mode:at,label:De.funcName,isStretchy:!1,isShifty:!0,base:We}},htmlBuilder:os,mathmlBuilder:to}),lr({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:function(De,qe){var We=De.parser,at=De.funcName,xt=qe[0];return{type:"accentUnder",mode:We.mode,label:at,base:xt}},htmlBuilder:function(De,qe){var We=vn(De.base,qe),at=Bi.svgSpan(De,qe),xt=De.label==="\\utilde"?.12:0,Rt=Ir.makeVList({positionType:"top",positionData:We.height,children:[{type:"elem",elem:at,wrapperClasses:["svg-align"]},{type:"kern",size:xt},{type:"elem",elem:We}]},qe);return Ir.makeSpan(["mord","accentunder"],[Rt],qe)},mathmlBuilder:function(De,qe){var We=Bi.mathMLnode(De.label),at=new Qr.MathNode("munder",[Kn(De.base,qe),We]);return at.setAttribute("accentunder","true"),at}});var ri=function(De){var qe=new Qr.MathNode("mpadded",De?[De]:[]);return qe.setAttribute("width","+0.6em"),qe.setAttribute("lspace","0.3em"),qe};lr({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler:function(De,qe,We){var at=De.parser,xt=De.funcName;return{type:"xArrow",mode:at.mode,label:xt,body:qe[0],below:We[0]}},htmlBuilder:function(De,qe){var We=qe.style,at=qe.havingStyle(We.sup()),xt=Ir.wrapFragment(vn(De.body,at,qe),qe),Rt=De.label.slice(0,2)==="\\x"?"x":"cd";xt.classes.push(Rt+"-arrow-pad");var qt;De.below&&(at=qe.havingStyle(We.sub()),qt=Ir.wrapFragment(vn(De.below,at,qe),qe),qt.classes.push(Rt+"-arrow-pad"));var Kt=Bi.svgSpan(De,qe),rr=-qe.fontMetrics().axisHeight+.5*Kt.height,mr=-qe.fontMetrics().axisHeight-.5*Kt.height-.111;(xt.depth>.25||De.label==="\\xleftequilibrium")&&(mr-=xt.depth);var Fr;if(qt){var Vr=-qe.fontMetrics().axisHeight+qt.height+.5*Kt.height+.111;Fr=Ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:xt,shift:mr},{type:"elem",elem:Kt,shift:rr},{type:"elem",elem:qt,shift:Vr}]},qe)}else Fr=Ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:xt,shift:mr},{type:"elem",elem:Kt,shift:rr}]},qe);return Fr.children[0].children[0].children[1].classes.push("svg-align"),Ir.makeSpan(["mrel","x-arrow"],[Fr],qe)},mathmlBuilder:function(De,qe){var We=Bi.mathMLnode(De.label);We.setAttribute("minsize",De.label.charAt(0)==="x"?"1.75em":"3.0em");var at;if(De.body){var xt=ri(Kn(De.body,qe));if(De.below){var Rt=ri(Kn(De.below,qe));at=new Qr.MathNode("munderover",[We,Rt,xt])}else at=new Qr.MathNode("mover",[We,xt])}else if(De.below){var qt=ri(Kn(De.below,qe));at=new Qr.MathNode("munder",[We,qt])}else at=ri(),at=new Qr.MathNode("mover",[We,at]);return at}});var _o=Ir.makeSpan;function bo(Tt,De){var qe=kn(Tt.body,De,!0);return _o([Tt.mclass],qe,De)}function ls(Tt,De){var qe,We=ti(Tt.body,De);return Tt.mclass==="minner"?qe=new Qr.MathNode("mpadded",We):Tt.mclass==="mord"?Tt.isCharacterBox?(qe=We[0],qe.type="mi"):qe=new Qr.MathNode("mi",We):(Tt.isCharacterBox?(qe=We[0],qe.type="mo"):qe=new Qr.MathNode("mo",We),Tt.mclass==="mbin"?(qe.attributes.lspace="0.22em",qe.attributes.rspace="0.22em"):Tt.mclass==="mpunct"?(qe.attributes.lspace="0em",qe.attributes.rspace="0.17em"):Tt.mclass==="mopen"||Tt.mclass==="mclose"?(qe.attributes.lspace="0em",qe.attributes.rspace="0em"):Tt.mclass==="minner"&&(qe.attributes.lspace="0.0556em",qe.attributes.width="+0.1111em")),qe}lr({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler:function(De,qe){var We=De.parser,at=De.funcName,xt=qe[0];return{type:"mclass",mode:We.mode,mclass:"m"+at.slice(5),body:Kr(xt),isCharacterBox:J.isCharacterBox(xt)}},htmlBuilder:bo,mathmlBuilder:ls});var cs=function(De){var qe=De.type==="ordgroup"&&De.body.length?De.body[0]:De;return qe.type==="atom"&&(qe.family==="bin"||qe.family==="rel")?"m"+qe.family:"mord"};lr({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler:function(De,qe){var We=De.parser;return{type:"mclass",mode:We.mode,mclass:cs(qe[0]),body:Kr(qe[1]),isCharacterBox:J.isCharacterBox(qe[1])}}}),lr({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler:function(De,qe){var We=De.parser,at=De.funcName,xt=qe[1],Rt=qe[0],qt;at!=="\\stackrel"?qt=cs(xt):qt="mrel";var Kt={type:"op",mode:xt.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:at!=="\\stackrel",body:Kr(xt)},rr={type:"supsub",mode:Rt.mode,base:Kt,sup:at==="\\underset"?null:Rt,sub:at==="\\underset"?Rt:null};return{type:"mclass",mode:We.mode,mclass:qt,body:[rr],isCharacterBox:J.isCharacterBox(rr)}},htmlBuilder:bo,mathmlBuilder:ls}),lr({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler:function(De,qe){var We=De.parser;return{type:"pmb",mode:We.mode,mclass:cs(qe[0]),body:Kr(qe[0])}},htmlBuilder:function(De,qe){var We=kn(De.body,qe,!0),at=Ir.makeSpan([De.mclass],We,qe);return at.style.textShadow="0.02em 0.01em 0.04px",at},mathmlBuilder:function(De,qe){var We=ti(De.body,qe),at=new Qr.MathNode("mstyle",We);return at.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),at}});var us={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},$a=function(){return{type:"styling",body:[],mode:"math",style:"display"}},ro=function(De){return De.type==="textord"&&De.text==="@"},yo=function(De,qe){return(De.type==="mathord"||De.type==="atom")&&De.text===qe};function no(Tt,De,qe){var We=us[Tt];switch(We){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return qe.callFunction(We,[De[0]],[De[1]]);case"\\uparrow":case"\\downarrow":{var at=qe.callFunction("\\\\cdleft",[De[0]],[]),xt={type:"atom",text:We,mode:"math",family:"rel"},Rt=qe.callFunction("\\Big",[xt],[]),qt=qe.callFunction("\\\\cdright",[De[1]],[]),Kt={type:"ordgroup",mode:"math",body:[at,Rt,qt]};return qe.callFunction("\\\\cdparent",[Kt],[])}case"\\\\cdlongequal":return qe.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var rr={type:"textord",text:"\\Vert",mode:"math"};return qe.callFunction("\\Big",[rr],[])}default:return{type:"textord",text:" ",mode:"math"}}}function vo(Tt){var De=[];for(Tt.gullet.beginGroup(),Tt.gullet.macros.set("\\cr","\\\\\\relax"),Tt.gullet.beginGroup();;){De.push(Tt.parseExpression(!1,"\\\\")),Tt.gullet.endGroup(),Tt.gullet.beginGroup();var qe=Tt.fetch().text;if(qe==="&"||qe==="\\\\")Tt.consume();else if(qe==="\\end"){De[De.length-1].length===0&&De.pop();break}else throw new q("Expected \\\\ or \\cr or \\end",Tt.nextToken)}for(var We=[],at=[We],xt=0;xt-1))if("<>AV".indexOf(rr)>-1)for(var Fr=0;Fr<2;Fr++){for(var Vr=!0,zr=Kt+1;zrAV=|." after @',Rt[Kt]);var Hr=no(rr,mr,Tt),rn={type:"styling",body:[Hr],mode:"math",style:"display"};We.push(rn),qt=$a()}xt%2===0?We.push(qt):We.shift(),We=[],at.push(We)}Tt.gullet.endGroup(),Tt.gullet.endGroup();var ln=new Array(at[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:at,arraystretch:1,addJot:!0,rowGaps:[null],cols:ln,colSeparationType:"CD",hLinesBeforeRow:new Array(at.length+1).fill([])}}lr({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler:function(De,qe){var We=De.parser,at=De.funcName;return{type:"cdlabel",mode:We.mode,side:at.slice(4),label:qe[0]}},htmlBuilder:function(De,qe){var We=qe.havingStyle(qe.style.sup()),at=Ir.wrapFragment(vn(De.label,We,qe),qe);return at.classes.push("cd-label-"+De.side),at.style.bottom=Nt(.8-at.depth),at.height=0,at.depth=0,at},mathmlBuilder:function(De,qe){var We=new Qr.MathNode("mrow",[Kn(De.label,qe)]);return We=new Qr.MathNode("mpadded",[We]),We.setAttribute("width","0"),De.side==="left"&&We.setAttribute("lspace","-1width"),We.setAttribute("voffset","0.7em"),We=new Qr.MathNode("mstyle",[We]),We.setAttribute("displaystyle","false"),We.setAttribute("scriptlevel","1"),We}}),lr({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler:function(De,qe){var We=De.parser;return{type:"cdlabelparent",mode:We.mode,fragment:qe[0]}},htmlBuilder:function(De,qe){var We=Ir.wrapFragment(vn(De.fragment,qe),qe);return We.classes.push("cd-vert-arrow"),We},mathmlBuilder:function(De,qe){return new Qr.MathNode("mrow",[Kn(De.fragment,qe)])}}),lr({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler:function(De,qe){for(var We=De.parser,at=On(qe[0],"ordgroup"),xt=at.body,Rt="",qt=0;qt=1114111)throw new q("\\@char with invalid code point "+Rt);return rr<=65535?mr=String.fromCharCode(rr):(rr-=65536,mr=String.fromCharCode((rr>>10)+55296,(rr&1023)+56320)),{type:"textord",mode:We.mode,text:mr}}});var ds=function(De,qe){var We=kn(De.body,qe.withColor(De.color),!1);return Ir.makeFragment(We)},hs=function(De,qe){var We=ti(De.body,qe.withColor(De.color)),at=new Qr.MathNode("mstyle",We);return at.setAttribute("mathcolor",De.color),at};lr({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler:function(De,qe){var We=De.parser,at=On(qe[0],"color-token").color,xt=qe[1];return{type:"color",mode:We.mode,color:at,body:Kr(xt)}},htmlBuilder:ds,mathmlBuilder:hs}),lr({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler:function(De,qe){var We=De.parser,at=De.breakOnTokenText,xt=On(qe[0],"color-token").color;We.gullet.macros.set("\\current@color",xt);var Rt=We.parseExpression(!0,at);return{type:"color",mode:We.mode,color:xt,body:Rt}},htmlBuilder:ds,mathmlBuilder:hs}),lr({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler:function(De,qe,We){var at=De.parser,xt=at.gullet.future().text==="["?at.parseSizeGroup(!0):null,Rt=!at.settings.displayMode||!at.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:at.mode,newLine:Rt,size:xt&&On(xt,"size").value}},htmlBuilder:function(De,qe){var We=Ir.makeSpan(["mspace"],[],qe);return De.newLine&&(We.classes.push("newline"),De.size&&(We.style.marginTop=Nt(Pt(De.size,qe)))),We},mathmlBuilder:function(De,qe){var We=new Qr.MathNode("mspace");return De.newLine&&(We.setAttribute("linebreak","newline"),De.size&&We.setAttribute("height",Nt(Pt(De.size,qe)))),We}});var ya={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Ya=function(De){var qe=De.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(qe))throw new q("Expected a control sequence",De);return qe},Es=function(De){var qe=De.gullet.popToken();return qe.text==="="&&(qe=De.gullet.popToken(),qe.text===" "&&(qe=De.gullet.popToken())),qe},Cs=function(De,qe,We,at){var xt=De.gullet.macros.get(We.text);xt==null&&(We.noexpand=!0,xt={tokens:[We],numArgs:0,unexpandable:!De.gullet.isExpandable(We.text)}),De.gullet.macros.set(qe,xt,at)};lr({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler:function(De){var qe=De.parser,We=De.funcName;qe.consumeSpaces();var at=qe.fetch();if(ya[at.text])return(We==="\\global"||We==="\\\\globallong")&&(at.text=ya[at.text]),On(qe.parseFunction(),"internal");throw new q("Invalid token after macro prefix",at)}}),lr({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(De){var qe=De.parser,We=De.funcName,at=qe.gullet.popToken(),xt=at.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(xt))throw new q("Expected a control sequence",at);for(var Rt=0,qt,Kt=[[]];qe.gullet.future().text!=="{";)if(at=qe.gullet.popToken(),at.text==="#"){if(qe.gullet.future().text==="{"){qt=qe.gullet.future(),Kt[Rt].push("{");break}if(at=qe.gullet.popToken(),!/^[1-9]$/.test(at.text))throw new q('Invalid argument number "'+at.text+'"');if(parseInt(at.text)!==Rt+1)throw new q('Argument number "'+at.text+'" out of order');Rt++,Kt.push([])}else{if(at.text==="EOF")throw new q("Expected a macro definition");Kt[Rt].push(at.text)}var rr=qe.gullet.consumeArg(),mr=rr.tokens;return qt&&mr.unshift(qt),(We==="\\edef"||We==="\\xdef")&&(mr=qe.gullet.expandTokens(mr),mr.reverse()),qe.gullet.macros.set(xt,{tokens:mr,numArgs:Rt,delimiters:Kt},We===ya[We]),{type:"internal",mode:qe.mode}}}),lr({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(De){var qe=De.parser,We=De.funcName,at=Ya(qe.gullet.popToken());qe.gullet.consumeSpaces();var xt=Es(qe);return Cs(qe,at,xt,We==="\\\\globallet"),{type:"internal",mode:qe.mode}}}),lr({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(De){var qe=De.parser,We=De.funcName,at=Ya(qe.gullet.popToken()),xt=qe.gullet.popToken(),Rt=qe.gullet.popToken();return Cs(qe,at,Rt,We==="\\\\globalfuture"),qe.gullet.pushToken(Rt),qe.gullet.pushToken(xt),{type:"internal",mode:qe.mode}}});var fs=function(De,qe,We){var at=Ar.math[De]&&Ar.math[De].replace,xt=dt(at||De,qe,We);if(!xt)throw new Error("Unsupported symbol "+De+" and font size "+qe+".");return xt},ps=function(De,qe,We,at){var xt=We.havingBaseStyle(qe),Rt=Ir.makeSpan(at.concat(xt.sizingClasses(We)),[De],We),qt=xt.sizeMultiplier/We.sizeMultiplier;return Rt.height*=qt,Rt.depth*=qt,Rt.maxFontSize=xt.sizeMultiplier,Rt},So=function(De,qe,We){var at=qe.havingBaseStyle(We),xt=(1-qe.sizeMultiplier/at.sizeMultiplier)*qe.fontMetrics().axisHeight;De.classes.push("delimcenter"),De.style.top=Nt(xt),De.height-=xt,De.depth+=xt},xo=function(De,qe,We,at,xt,Rt){var qt=Ir.makeSymbol(De,"Main-Regular",xt,at),Kt=ps(qt,qe,at,Rt);return We&&So(Kt,at,qe),Kt},As=function(De,qe,We,at){return Ir.makeSymbol(De,"Size"+qe+"-Regular",We,at)},Ts=function(De,qe,We,at,xt,Rt){var qt=As(De,qe,xt,at),Kt=ps(Ir.makeSpan(["delimsizing","size"+qe],[qt],at),Ae.TEXT,at,Rt);return We&&So(Kt,at,Ae.TEXT),Kt},ms=function(De,qe,We){var at;qe==="Size1-Regular"?at="delim-size1":at="delim-size4";var xt=Ir.makeSpan(["delimsizinginner",at],[Ir.makeSpan([],[Ir.makeSymbol(De,qe,We)])]);return{type:"elem",elem:xt}},ws=function(De,qe,We){var at=Ye["Size4-Regular"][De.charCodeAt(0)]?Ye["Size4-Regular"][De.charCodeAt(0)][4]:Ye["Size1-Regular"][De.charCodeAt(0)][4],xt=new Dt("inner",et(De,Math.round(1e3*qe))),Rt=new It([xt],{width:Nt(at),height:Nt(qe),style:"width:"+Nt(at),viewBox:"0 0 "+1e3*at+" "+Math.round(1e3*qe),preserveAspectRatio:"xMinYMin"}),qt=Ir.makeSvgSpan([],[Rt],We);return qt.height=qe,qt.style.height=Nt(qe),qt.style.width=Nt(at),{type:"elem",elem:qt}},io=.008,Rs={type:"kern",size:-1*io},ao=["|","\\lvert","\\rvert","\\vert"],$o=["\\|","\\lVert","\\rVert","\\Vert"],Is=function(De,qe,We,at,xt,Rt){var qt,Kt,rr,mr,Fr="",Vr=0;qt=rr=mr=De,Kt=null;var zr="Size1-Regular";De==="\\uparrow"?rr=mr="⏐":De==="\\Uparrow"?rr=mr="‖":De==="\\downarrow"?qt=rr="⏐":De==="\\Downarrow"?qt=rr="‖":De==="\\updownarrow"?(qt="\\uparrow",rr="⏐",mr="\\downarrow"):De==="\\Updownarrow"?(qt="\\Uparrow",rr="‖",mr="\\Downarrow"):J.contains(ao,De)?(rr="∣",Fr="vert",Vr=333):J.contains($o,De)?(rr="∥",Fr="doublevert",Vr=556):De==="["||De==="\\lbrack"?(qt="⎡",rr="⎢",mr="⎣",zr="Size4-Regular",Fr="lbrack",Vr=667):De==="]"||De==="\\rbrack"?(qt="⎤",rr="⎥",mr="⎦",zr="Size4-Regular",Fr="rbrack",Vr=667):De==="\\lfloor"||De==="⌊"?(rr=qt="⎢",mr="⎣",zr="Size4-Regular",Fr="lfloor",Vr=667):De==="\\lceil"||De==="⌈"?(qt="⎡",rr=mr="⎢",zr="Size4-Regular",Fr="lceil",Vr=667):De==="\\rfloor"||De==="⌋"?(rr=qt="⎥",mr="⎦",zr="Size4-Regular",Fr="rfloor",Vr=667):De==="\\rceil"||De==="⌉"?(qt="⎤",rr=mr="⎥",zr="Size4-Regular",Fr="rceil",Vr=667):De==="("||De==="\\lparen"?(qt="⎛",rr="⎜",mr="⎝",zr="Size4-Regular",Fr="lparen",Vr=875):De===")"||De==="\\rparen"?(qt="⎞",rr="⎟",mr="⎠",zr="Size4-Regular",Fr="rparen",Vr=875):De==="\\{"||De==="\\lbrace"?(qt="⎧",Kt="⎨",mr="⎩",rr="⎪",zr="Size4-Regular"):De==="\\}"||De==="\\rbrace"?(qt="⎫",Kt="⎬",mr="⎭",rr="⎪",zr="Size4-Regular"):De==="\\lgroup"||De==="⟮"?(qt="⎧",mr="⎩",rr="⎪",zr="Size4-Regular"):De==="\\rgroup"||De==="⟯"?(qt="⎫",mr="⎭",rr="⎪",zr="Size4-Regular"):De==="\\lmoustache"||De==="⎰"?(qt="⎧",mr="⎭",rr="⎪",zr="Size4-Regular"):(De==="\\rmoustache"||De==="⎱")&&(qt="⎫",mr="⎩",rr="⎪",zr="Size4-Regular");var Hr=fs(qt,zr,xt),rn=Hr.height+Hr.depth,ln=fs(rr,zr,xt),mn=ln.height+ln.depth,xn=fs(mr,zr,xt),An=xn.height+xn.depth,qn=0,Pn=1;if(Kt!==null){var Xn=fs(Kt,zr,xt);qn=Xn.height+Xn.depth,Pn=2}var Vn=rn+An+qn,Qn=Math.max(0,Math.ceil((qe-Vn)/(Pn*mn))),ei=Vn+Qn*Pn*mn,di=at.fontMetrics().axisHeight;We&&(di*=at.sizeMultiplier);var Zi=ei/2-di,ci=[];if(Fr.length>0){var ts=ei-rn-An,Ji=Math.round(ei*1e3),Li=Ue(Fr,Math.round(ts*1e3)),Ha=new Dt(Fr,Li),Ys=(Vr/1e3).toFixed(3)+"em",js=(Ji/1e3).toFixed(3)+"em",Lo=new It([Ha],{width:Ys,height:js,viewBox:"0 0 "+Vr+" "+Ji}),rs=Ir.makeSvgSpan([],[Lo],at);rs.height=Ji/1e3,rs.style.width=Ys,rs.style.height=js,ci.push({type:"elem",elem:rs})}else{if(ci.push(ms(mr,zr,xt)),ci.push(Rs),Kt===null){var ns=ei-rn-An+2*io;ci.push(ws(rr,ns,at))}else{var ea=(ei-rn-An-qn)/2+2*io;ci.push(ws(rr,ea,at)),ci.push(Rs),ci.push(ms(Kt,zr,xt)),ci.push(Rs),ci.push(ws(rr,ea,at))}ci.push(Rs),ci.push(ms(qt,zr,xt))}var ta=at.havingBaseStyle(Ae.TEXT),Ho=Ir.makeVList({positionType:"bottom",positionData:Zi,children:ci},ta);return ps(Ir.makeSpan(["delimsizing","mult"],[Ho],ta),Ae.TEXT,at,Rt)},ks=80,Os=.08,Ns=function(De,qe,We,at,xt){var Rt=Le(De,at,We),qt=new Dt(De,Rt),Kt=new It([qt],{width:"400em",height:Nt(qe),viewBox:"0 0 400000 "+We,preserveAspectRatio:"xMinYMin slice"});return Ir.makeSvgSpan(["hide-tail"],[Kt],xt)},Eo=function(De,qe){var We=qe.havingBaseSizing(),at=Ls("\\surd",De*We.sizeMultiplier,xa,We),xt=We.sizeMultiplier,Rt=Math.max(0,qe.minRuleThickness-qe.fontMetrics().sqrtRuleThickness),qt,Kt=0,rr=0,mr=0,Fr;return at.type==="small"?(mr=1e3+1e3*Rt+ks,De<1?xt=1:De<1.4&&(xt=.7),Kt=(1+Rt+Os)/xt,rr=(1+Rt)/xt,qt=Ns("sqrtMain",Kt,mr,Rt,qe),qt.style.minWidth="0.853em",Fr=.833/xt):at.type==="large"?(mr=(1e3+ks)*Sa[at.size],rr=(Sa[at.size]+Rt)/xt,Kt=(Sa[at.size]+Rt+Os)/xt,qt=Ns("sqrtSize"+at.size,Kt,mr,Rt,qe),qt.style.minWidth="1.02em",Fr=1/xt):(Kt=De+Rt+Os,rr=De+Rt,mr=Math.floor(1e3*De+Rt)+ks,qt=Ns("sqrtTall",Kt,mr,Rt,qe),qt.style.minWidth="0.742em",Fr=1.056),qt.height=rr,qt.style.height=Nt(Kt),{span:qt,advanceWidth:Fr,ruleWidth:(qe.fontMetrics().sqrtRuleThickness+Rt)*xt}},Ds=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],va=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],gs=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Sa=[0,1.2,1.8,2.4,3],so=function(De,qe,We,at,xt){if(De==="<"||De==="\\lt"||De==="⟨"?De="\\langle":(De===">"||De==="\\gt"||De==="⟩")&&(De="\\rangle"),J.contains(Ds,De)||J.contains(gs,De))return Ts(De,qe,!1,We,at,xt);if(J.contains(va,De))return Is(De,Sa[qe],!1,We,at,xt);throw new q("Illegal delimiter: '"+De+"'")},Ms=[{type:"small",style:Ae.SCRIPTSCRIPT},{type:"small",style:Ae.SCRIPT},{type:"small",style:Ae.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Ma=[{type:"small",style:Ae.SCRIPTSCRIPT},{type:"small",style:Ae.SCRIPT},{type:"small",style:Ae.TEXT},{type:"stack"}],xa=[{type:"small",style:Ae.SCRIPTSCRIPT},{type:"small",style:Ae.SCRIPT},{type:"small",style:Ae.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Hi=function(De){if(De.type==="small")return"Main-Regular";if(De.type==="large")return"Size"+De.size+"-Regular";if(De.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+De.type+"' here.")},Ls=function(De,qe,We,at){for(var xt=Math.min(2,3-at.style.size),Rt=xt;Rtqe)return We[Rt]}return We[We.length-1]},Co=function(De,qe,We,at,xt,Rt){De==="<"||De==="\\lt"||De==="⟨"?De="\\langle":(De===">"||De==="\\gt"||De==="⟩")&&(De="\\rangle");var qt;J.contains(gs,De)?qt=Ms:J.contains(Ds,De)?qt=xa:qt=Ma;var Kt=Ls(De,qe,qt,at);return Kt.type==="small"?xo(De,Kt.style,We,at,xt,Rt):Kt.type==="large"?Ts(De,Kt.size,We,at,xt,Rt):Is(De,qe,We,at,xt,Rt)},ja=function(De,qe,We,at,xt,Rt){var qt=at.fontMetrics().axisHeight*at.sizeMultiplier,Kt=901,rr=5/at.fontMetrics().ptPerEm,mr=Math.max(qe-qt,We+qt),Fr=Math.max(mr/500*Kt,2*mr-rr);return Co(De,Fr,!0,at,xt,Rt)},Wi={sqrtImage:Eo,sizedDelim:so,sizeToMaxHeight:Sa,customSizedDelim:Co,leftRightDelim:ja},Ao={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},Ps=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function Fs(Tt,De){var qe=ba(Tt);if(qe&&J.contains(Ps,qe.text))return qe;throw qe?new q("Invalid delimiter '"+qe.text+"' after '"+De.funcName+"'",Tt):new q("Invalid delimiter type '"+Tt.type+"'",Tt)}lr({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:function(De,qe){var We=Fs(qe[0],De);return{type:"delimsizing",mode:De.parser.mode,size:Ao[De.funcName].size,mclass:Ao[De.funcName].mclass,delim:We.text}},htmlBuilder:function(De,qe){return De.delim==="."?Ir.makeSpan([De.mclass]):Wi.sizedDelim(De.delim,De.size,qe,De.mode,[De.mclass])},mathmlBuilder:function(De){var qe=[];De.delim!=="."&&qe.push(gi(De.delim,De.mode));var We=new Qr.MathNode("mo",qe);De.mclass==="mopen"||De.mclass==="mclose"?We.setAttribute("fence","true"):We.setAttribute("fence","false"),We.setAttribute("stretchy","true");var at=Nt(Wi.sizeToMaxHeight[De.size]);return We.setAttribute("minsize",at),We.setAttribute("maxsize",at),We}});function To(Tt){if(!Tt.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}lr({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:function(De,qe){var We=De.parser.gullet.macros.get("\\current@color");if(We&&typeof We!="string")throw new q("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:De.parser.mode,delim:Fs(qe[0],De).text,color:We}}}),lr({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:function(De,qe){var We=Fs(qe[0],De),at=De.parser;++at.leftrightDepth;var xt=at.parseExpression(!1);--at.leftrightDepth,at.expect("\\right",!1);var Rt=On(at.parseFunction(),"leftright-right");return{type:"leftright",mode:at.mode,body:xt,left:We.text,right:Rt.delim,rightColor:Rt.color}},htmlBuilder:function(De,qe){To(De);for(var We=kn(De.body,qe,!0,["mopen","mclose"]),at=0,xt=0,Rt=!1,qt=0;qt-1?"mpadded":"menclose",[Kn(De.body,qe)]);switch(De.label){case"\\cancel":at.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":at.setAttribute("notation","downdiagonalstrike");break;case"\\phase":at.setAttribute("notation","phasorangle");break;case"\\sout":at.setAttribute("notation","horizontalstrike");break;case"\\fbox":at.setAttribute("notation","box");break;case"\\angl":at.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(We=qe.fontMetrics().fboxsep*qe.fontMetrics().ptPerEm,at.setAttribute("width","+"+2*We+"pt"),at.setAttribute("height","+"+2*We+"pt"),at.setAttribute("lspace",We+"pt"),at.setAttribute("voffset",We+"pt"),De.label==="\\fcolorbox"){var xt=Math.max(qe.fontMetrics().fboxrule,qe.minRuleThickness);at.setAttribute("style","border: "+xt+"em solid "+String(De.borderColor))}break;case"\\xcancel":at.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return De.backgroundColor&&at.setAttribute("mathbackground",De.backgroundColor),at};lr({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler:function(De,qe,We){var at=De.parser,xt=De.funcName,Rt=On(qe[0],"color-token").color,qt=qe[1];return{type:"enclose",mode:at.mode,label:xt,backgroundColor:Rt,body:qt}},htmlBuilder:Bs,mathmlBuilder:oo}),lr({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler:function(De,qe,We){var at=De.parser,xt=De.funcName,Rt=On(qe[0],"color-token").color,qt=On(qe[1],"color-token").color,Kt=qe[2];return{type:"enclose",mode:at.mode,label:xt,backgroundColor:qt,borderColor:Rt,body:Kt}},htmlBuilder:Bs,mathmlBuilder:oo}),lr({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler:function(De,qe){var We=De.parser;return{type:"enclose",mode:We.mode,label:"\\fbox",body:qe[0]}}}),lr({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler:function(De,qe){var We=De.parser,at=De.funcName,xt=qe[0];return{type:"enclose",mode:We.mode,label:at,body:xt}},htmlBuilder:Bs,mathmlBuilder:oo}),lr({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler:function(De,qe){var We=De.parser;return{type:"enclose",mode:We.mode,label:"\\angl",body:qe[0]}}});var wo={};function la(Tt){for(var De=Tt.type,qe=Tt.names,We=Tt.props,at=Tt.handler,xt=Tt.htmlBuilder,Rt=Tt.mathmlBuilder,qt={type:De,numArgs:We.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:at},Kt=0;Kt1||!mr)&&rn.pop(),mn.length0&&(An+=.25),rr.push({pos:An,isDashed:Fo[Bo]})}for(qn(Rt[0]),We=0;We0&&(Zi+=xn,Vn=qt)){var Xs=void 0;(at>0||De.hskipBeforeAndAfter)&&(Xs=J.deflt(ea.pregap,Vr),Xs!==0&&(Li=Ir.makeSpan(["arraycolsep"],[]),Li.style.width=Nt(Xs),Ji.push(Li)));var Ks=[];for(We=0;We0){for(var tl=Ir.makeLineSpan("hline",qe,mr),rl=Ir.makeLineSpan("hdashline",qe,mr),Wo=[{type:"elem",elem:Kt,shift:0}];rr.length>0;){var Xo=rr.pop(),Ko=Xo.pos-ci;Xo.isDashed?Wo.push({type:"elem",elem:rl,shift:Ko}):Wo.push({type:"elem",elem:tl,shift:Ko})}Kt=Ir.makeVList({positionType:"individualShift",children:Wo},qe)}if(Ys.length===0)return Ir.makeSpan(["mord"],[Kt],qe);var Yo=Ir.makeVList({positionType:"individualShift",children:Ys},qe);return Yo=Ir.makeSpan(["tag"],[Yo],qe),Ir.makeFragment([Kt,Yo])},fi={c:"center ",l:"left ",r:"right "},Ei=function(De,qe){for(var We=[],at=new Qr.MathNode("mtd",[],["mtr-glue"]),xt=new Qr.MathNode("mtd",[],["mml-eqn-num"]),Rt=0;Rt0){var Hr=De.cols,rn="",ln=!1,mn=0,xn=Hr.length;Hr[0].type==="separator"&&(Vr+="top ",mn=1),Hr[Hr.length-1].type==="separator"&&(Vr+="bottom ",xn-=1);for(var An=mn;An0?"left ":"",Vr+=Qn[Qn.length-1].length>0?"right ":"";for(var ei=1;ei-1?"alignat":"align",xt=De.envName==="split",Rt=Ui(De.parser,{cols:We,addJot:!0,autoTag:xt?void 0:ca(De.envName),emptySingleRow:!0,colSeparationType:at,maxNumCols:xt?2:void 0,leqno:De.parser.settings.leqno},"display"),qt,Kt=0,rr={type:"ordgroup",mode:De.mode,body:[]};if(qe[0]&&qe[0].type==="ordgroup"){for(var mr="",Fr=0;Fr0&&zr&&(ln=1),We[Hr]={type:"align",align:rn,pregap:ln,postgap:0}}return Rt.colSeparationType=zr?"align":"alignat",Rt};la({type:"array",names:["array","darray"],props:{numArgs:1},handler:function(De,qe){var We=ba(qe[0]),at=We?[qe[0]]:On(qe[0],"ordgroup").body,xt=at.map(function(qt){var Kt=xs(qt),rr=Kt.text;if("lcr".indexOf(rr)!==-1)return{type:"align",align:rr};if(rr==="|")return{type:"separator",separator:"|"};if(rr===":")return{type:"separator",separator:":"};throw new q("Unknown column alignment: "+rr,qt)}),Rt={cols:xt,hskipBeforeAndAfter:!0,maxNumCols:xt.length};return Ui(De.parser,Rt,Us(De.envName))},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler:function(De){var qe={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[De.envName.replace("*","")],We="c",at={hskipBeforeAndAfter:!1,cols:[{type:"align",align:We}]};if(De.envName.charAt(De.envName.length-1)==="*"){var xt=De.parser;if(xt.consumeSpaces(),xt.fetch().text==="["){if(xt.consume(),xt.consumeSpaces(),We=xt.fetch().text,"lcr".indexOf(We)===-1)throw new q("Expected l or c or r",xt.nextToken);xt.consume(),xt.consumeSpaces(),xt.expect("]"),xt.consume(),at.cols=[{type:"align",align:We}]}}var Rt=Ui(De.parser,at,Us(De.envName)),qt=Math.max.apply(Math,[0].concat(Rt.body.map(function(Kt){return Kt.length})));return Rt.cols=new Array(qt).fill({type:"align",align:We}),qe?{type:"leftright",mode:De.mode,body:[Rt],left:qe[0],right:qe[1],rightColor:void 0}:Rt},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["smallmatrix"],props:{numArgs:0},handler:function(De){var qe={arraystretch:.5},We=Ui(De.parser,qe,"script");return We.colSeparationType="small",We},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["subarray"],props:{numArgs:1},handler:function(De,qe){var We=ba(qe[0]),at=We?[qe[0]]:On(qe[0],"ordgroup").body,xt=at.map(function(qt){var Kt=xs(qt),rr=Kt.text;if("lc".indexOf(rr)!==-1)return{type:"align",align:rr};throw new q("Unknown column alignment: "+rr,qt)});if(xt.length>1)throw new q("{subarray} can contain only one column");var Rt={cols:xt,hskipBeforeAndAfter:!1,arraystretch:.5};if(Rt=Ui(De.parser,Rt,"script"),Rt.body.length>0&&Rt.body[0].length>1)throw new q("{subarray} can contain only one column");return Rt},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler:function(De){var qe={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},We=Ui(De.parser,qe,Us(De.envName));return{type:"leftright",mode:De.mode,body:[We],left:De.envName.indexOf("r")>-1?".":"\\{",right:De.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:uo,htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler:function(De){J.contains(["gather","gather*"],De.envName)&&Xa(De);var qe={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ca(De.envName),emptySingleRow:!0,leqno:De.parser.settings.leqno};return Ui(De.parser,qe,"display")},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:uo,htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["equation","equation*"],props:{numArgs:0},handler:function(De){Xa(De);var qe={autoTag:ca(De.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:De.parser.settings.leqno};return Ui(De.parser,qe,"display")},htmlBuilder:ji,mathmlBuilder:Ei}),la({type:"array",names:["CD"],props:{numArgs:0},handler:function(De){return Xa(De),vo(De.parser)},htmlBuilder:ji,mathmlBuilder:Ei}),Qt("\\nonumber","\\gdef\\@eqnsw{0}"),Qt("\\notag","\\nonumber"),lr({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler:function(De,qe){throw new q(De.funcName+" valid only within array environment")}});var Gs=wo,Ea=Gs;lr({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler:function(De,qe){var We=De.parser,at=De.funcName,xt=qe[0];if(xt.type!=="ordgroup")throw new q("Invalid environment name",xt);for(var Rt="",qt=0;qt=Ae.SCRIPT.id?We.text():Ae.DISPLAY:De==="text"&&We.size===Ae.DISPLAY.size?We=Ae.TEXT:De==="script"?We=Ae.SCRIPT:De==="scriptscript"&&(We=Ae.SCRIPTSCRIPT),We},ua=function(De,qe){var We=$s(De.size,qe.style),at=We.fracNum(),xt=We.fracDen(),Rt;Rt=qe.havingStyle(at);var qt=vn(De.numer,Rt,qe);if(De.continued){var Kt=8.5/qe.fontMetrics().ptPerEm,rr=3.5/qe.fontMetrics().ptPerEm;qt.height=qt.height0?rn=3*zr:rn=7*zr,ln=qe.fontMetrics().denom1):(Vr>0?(Hr=qe.fontMetrics().num2,rn=zr):(Hr=qe.fontMetrics().num3,rn=3*zr),ln=qe.fontMetrics().denom2);var mn;if(Fr){var An=qe.fontMetrics().axisHeight;Hr-qt.depth-(An+.5*Vr)0&&(qe=De,qe=qe==="."?null:qe),qe};lr({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler:function(De,qe){var We=De.parser,at=qe[4],xt=qe[5],Rt=sn(qe[0]),qt=Rt.type==="atom"&&Rt.family==="open"?_i(Rt.text):null,Kt=sn(qe[1]),rr=Kt.type==="atom"&&Kt.family==="close"?_i(Kt.text):null,mr=On(qe[2],"size"),Fr,Vr=null;mr.isBlank?Fr=!0:(Vr=mr.value,Fr=Vr.number>0);var zr="auto",Hr=qe[3];if(Hr.type==="ordgroup"){if(Hr.body.length>0){var rn=On(Hr.body[0],"textord");zr=Aa[Number(rn.text)]}}else Hr=On(Hr,"textord"),zr=Aa[Number(Hr.text)];return{type:"genfrac",mode:We.mode,numer:at,denom:xt,continued:!1,hasBarLine:Fr,barSize:Vr,leftDelim:qt,rightDelim:rr,size:zr}},htmlBuilder:ua,mathmlBuilder:Di}),lr({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler:function(De,qe){var We=De.parser;De.funcName;var at=De.token;return{type:"infix",mode:We.mode,replaceWith:"\\\\abovefrac",size:On(qe[0],"size").value,token:at}}}),lr({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:function(De,qe){var We=De.parser;De.funcName;var at=qe[0],xt=ie(On(qe[1],"infix").size),Rt=qe[2],qt=xt.number>0;return{type:"genfrac",mode:We.mode,numer:at,denom:Rt,continued:!1,hasBarLine:qt,barSize:xt,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:ua,mathmlBuilder:Di});var Pa=function(De,qe){var We=qe.style,at,xt;De.type==="supsub"?(at=De.sup?vn(De.sup,qe.havingStyle(We.sup()),qe):vn(De.sub,qe.havingStyle(We.sub()),qe),xt=On(De.base,"horizBrace")):xt=On(De,"horizBrace");var Rt=vn(xt.base,qe.havingBaseStyle(Ae.DISPLAY)),qt=Bi.svgSpan(xt,qe),Kt;if(xt.isOver?(Kt=Ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:Rt},{type:"kern",size:.1},{type:"elem",elem:qt}]},qe),Kt.children[0].children[0].children[1].classes.push("svg-align")):(Kt=Ir.makeVList({positionType:"bottom",positionData:Rt.depth+.1+qt.height,children:[{type:"elem",elem:qt},{type:"kern",size:.1},{type:"elem",elem:Rt}]},qe),Kt.children[0].children[0].children[0].classes.push("svg-align")),at){var rr=Ir.makeSpan(["mord",xt.isOver?"mover":"munder"],[Kt],qe);xt.isOver?Kt=Ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:rr},{type:"kern",size:.2},{type:"elem",elem:at}]},qe):Kt=Ir.makeVList({positionType:"bottom",positionData:rr.depth+.2+at.height+at.depth,children:[{type:"elem",elem:at},{type:"kern",size:.2},{type:"elem",elem:rr}]},qe)}return Ir.makeSpan(["mord",xt.isOver?"mover":"munder"],[Kt],qe)},Ro=function(De,qe){var We=Bi.mathMLnode(De.label);return new Qr.MathNode(De.isOver?"mover":"munder",[Kn(De.base,qe),We])};lr({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler:function(De,qe){var We=De.parser,at=De.funcName;return{type:"horizBrace",mode:We.mode,label:at,isOver:/^\\over/.test(at),base:qe[0]}},htmlBuilder:Pa,mathmlBuilder:Ro}),lr({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:function(De,qe){var We=De.parser,at=qe[1],xt=On(qe[0],"url").url;return We.settings.isTrusted({command:"\\href",url:xt})?{type:"href",mode:We.mode,href:xt,body:Kr(at)}:We.formatUnsupportedCmd("\\href")},htmlBuilder:function(De,qe){var We=kn(De.body,qe,!1);return Ir.makeAnchor(De.href,[],We,qe)},mathmlBuilder:function(De,qe){var We=Da(De.body,qe);return We instanceof Hn||(We=new Hn("mrow",[We])),We.setAttribute("href",De.href),We}}),lr({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:function(De,qe){var We=De.parser,at=On(qe[0],"url").url;if(!We.settings.isTrusted({command:"\\url",url:at}))return We.formatUnsupportedCmd("\\url");for(var xt=[],Rt=0;Rt0&&(at=Pt(De.totalheight,qe)-We);var xt=0;De.width.number>0&&(xt=Pt(De.width,qe));var Rt={height:Nt(We+at)};xt>0&&(Rt.width=Nt(xt)),at>0&&(Rt.verticalAlign=Nt(-at));var qt=new Jt(De.src,De.alt,Rt);return qt.height=We,qt.depth=at,qt},mathmlBuilder:function(De,qe){var We=new Qr.MathNode("mglyph",[]);We.setAttribute("alt",De.alt);var at=Pt(De.height,qe),xt=0;if(De.totalheight.number>0&&(xt=Pt(De.totalheight,qe)-at,We.setAttribute("valign",Nt(-xt))),We.setAttribute("height",Nt(at+xt)),De.width.number>0){var Rt=Pt(De.width,qe);We.setAttribute("width",Nt(Rt))}return We.setAttribute("src",De.src),We}}),lr({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler:function(De,qe){var We=De.parser,at=De.funcName,xt=On(qe[0],"size");if(We.settings.strict){var Rt=at[1]==="m",qt=xt.value.unit==="mu";Rt?(qt||We.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+at+" supports only mu units, "+("not "+xt.value.unit+" units")),We.mode!=="math"&&We.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+at+" works only in math mode")):qt&&We.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+at+" doesn't support mu units")}return{type:"kern",mode:We.mode,dimension:xt.value}},htmlBuilder:function(De,qe){return Ir.makeGlue(De.dimension,qe)},mathmlBuilder:function(De,qe){var We=Pt(De.dimension,qe);return new Qr.SpaceNode(We)}}),lr({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:function(De,qe){var We=De.parser,at=De.funcName,xt=qe[0];return{type:"lap",mode:We.mode,alignment:at.slice(5),body:xt}},htmlBuilder:function(De,qe){var We;De.alignment==="clap"?(We=Ir.makeSpan([],[vn(De.body,qe)]),We=Ir.makeSpan(["inner"],[We],qe)):We=Ir.makeSpan(["inner"],[vn(De.body,qe)]);var at=Ir.makeSpan(["fix"],[]),xt=Ir.makeSpan([De.alignment],[We,at],qe),Rt=Ir.makeSpan(["strut"]);return Rt.style.height=Nt(xt.height+xt.depth),xt.depth&&(Rt.style.verticalAlign=Nt(-xt.depth)),xt.children.unshift(Rt),xt=Ir.makeSpan(["thinbox"],[xt],qe),Ir.makeSpan(["mord","vbox"],[xt],qe)},mathmlBuilder:function(De,qe){var We=new Qr.MathNode("mpadded",[Kn(De.body,qe)]);if(De.alignment!=="rlap"){var at=De.alignment==="llap"?"-1":"-0.5";We.setAttribute("lspace",at+"width")}return We.setAttribute("width","0px"),We}}),lr({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(De,qe){var We=De.funcName,at=De.parser,xt=at.mode;at.switchMode("math");var Rt=We==="\\("?"\\)":"$",qt=at.parseExpression(!1,Rt);return at.expect(Rt),at.switchMode(xt),{type:"styling",mode:at.mode,style:"text",body:qt}}}),lr({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler:function(De,qe){throw new q("Mismatched "+De.funcName)}});var _s=function(De,qe){switch(qe.style.size){case Ae.DISPLAY.size:return De.display;case Ae.TEXT.size:return De.text;case Ae.SCRIPT.size:return De.script;case Ae.SCRIPTSCRIPT.size:return De.scriptscript;default:return De.text}};lr({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:function(De,qe){var We=De.parser;return{type:"mathchoice",mode:We.mode,display:Kr(qe[0]),text:Kr(qe[1]),script:Kr(qe[2]),scriptscript:Kr(qe[3])}},htmlBuilder:function(De,qe){var We=_s(De,qe),at=kn(We,qe,!1);return Ir.makeFragment(at)},mathmlBuilder:function(De,qe){var We=_s(De,qe);return Da(We,qe)}});var Vs=function(De,qe,We,at,xt,Rt,qt){De=Ir.makeSpan([],[De]);var Kt=We&&J.isCharacterBox(We),rr,mr;if(qe){var Fr=vn(qe,at.havingStyle(xt.sup()),at);mr={elem:Fr,kern:Math.max(at.fontMetrics().bigOpSpacing1,at.fontMetrics().bigOpSpacing3-Fr.depth)}}if(We){var Vr=vn(We,at.havingStyle(xt.sub()),at);rr={elem:Vr,kern:Math.max(at.fontMetrics().bigOpSpacing2,at.fontMetrics().bigOpSpacing4-Vr.height)}}var zr;if(mr&&rr){var Hr=at.fontMetrics().bigOpSpacing5+rr.elem.height+rr.elem.depth+rr.kern+De.depth+qt;zr=Ir.makeVList({positionType:"bottom",positionData:Hr,children:[{type:"kern",size:at.fontMetrics().bigOpSpacing5},{type:"elem",elem:rr.elem,marginLeft:Nt(-Rt)},{type:"kern",size:rr.kern},{type:"elem",elem:De},{type:"kern",size:mr.kern},{type:"elem",elem:mr.elem,marginLeft:Nt(Rt)},{type:"kern",size:at.fontMetrics().bigOpSpacing5}]},at)}else if(rr){var rn=De.height-qt;zr=Ir.makeVList({positionType:"top",positionData:rn,children:[{type:"kern",size:at.fontMetrics().bigOpSpacing5},{type:"elem",elem:rr.elem,marginLeft:Nt(-Rt)},{type:"kern",size:rr.kern},{type:"elem",elem:De}]},at)}else if(mr){var ln=De.depth+qt;zr=Ir.makeVList({positionType:"bottom",positionData:ln,children:[{type:"elem",elem:De},{type:"kern",size:mr.kern},{type:"elem",elem:mr.elem,marginLeft:Nt(Rt)},{type:"kern",size:at.fontMetrics().bigOpSpacing5}]},at)}else return De;var mn=[zr];if(rr&&Rt!==0&&!Kt){var xn=Ir.makeSpan(["mspace"],[],at);xn.style.marginRight=Nt(Rt),mn.unshift(xn)}return Ir.makeSpan(["mop","op-limits"],mn,at)},ho=["\\smallint"],Va=function(De,qe){var We,at,xt=!1,Rt;De.type==="supsub"?(We=De.sup,at=De.sub,Rt=On(De.base,"op"),xt=!0):Rt=On(De,"op");var qt=qe.style,Kt=!1;qt.size===Ae.DISPLAY.size&&Rt.symbol&&!J.contains(ho,Rt.name)&&(Kt=!0);var rr;if(Rt.symbol){var mr=Kt?"Size2-Regular":"Size1-Regular",Fr="";if((Rt.name==="\\oiint"||Rt.name==="\\oiiint")&&(Fr=Rt.name.slice(1),Rt.name=Fr==="oiint"?"\\iint":"\\iiint"),rr=Ir.makeSymbol(Rt.name,mr,"math",qe,["mop","op-symbol",Kt?"large-op":"small-op"]),Fr.length>0){var Vr=rr.italic,zr=Ir.staticSvg(Fr+"Size"+(Kt?"2":"1"),qe);rr=Ir.makeVList({positionType:"individualShift",children:[{type:"elem",elem:rr,shift:0},{type:"elem",elem:zr,shift:Kt?.08:0}]},qe),Rt.name="\\"+Fr,rr.classes.unshift("mop"),rr.italic=Vr}}else if(Rt.body){var Hr=kn(Rt.body,qe,!0);Hr.length===1&&Hr[0]instanceof Bt?(rr=Hr[0],rr.classes[0]="mop"):rr=Ir.makeSpan(["mop"],Hr,qe)}else{for(var rn=[],ln=1;ln0){for(var Kt=Rt.body.map(function(Vr){var zr=Vr.text;return typeof zr=="string"?{type:"textord",mode:Vr.mode,text:zr}:Vr}),rr=kn(Kt,qe.withFont("mathrm"),!0),mr=0;mr=0?Kt.setAttribute("height",Nt(xt)):(Kt.setAttribute("height",Nt(xt)),Kt.setAttribute("depth",Nt(-xt))),Kt.setAttribute("voffset",Nt(xt)),Kt}});function bs(Tt,De,qe){for(var We=kn(Tt,De,!1),at=De.sizeMultiplier/qe.sizeMultiplier,xt=0;xtWe.height+We.depth+qt&&(qt=(qt+zr-We.height-We.depth)/2);var Hr=mr.height-We.height-qt-Fr;We.style.paddingLeft=Nt(Vr);var rn=Ir.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:We,wrapperClasses:["svg-align"]},{type:"kern",size:-(We.height+Hr)},{type:"elem",elem:mr},{type:"kern",size:Fr}]},qe);if(De.index){var ln=qe.havingStyle(Ae.SCRIPTSCRIPT),mn=vn(De.index,ln,qe),xn=.6*(rn.height-rn.depth),An=Ir.makeVList({positionType:"shift",positionData:-xn,children:[{type:"elem",elem:mn}]},qe),qn=Ir.makeSpan(["root"],[An]);return Ir.makeSpan(["mord","sqrt"],[qn,rn],qe)}else return Ir.makeSpan(["mord","sqrt"],[rn],qe)},mathmlBuilder:function(De,qe){var We=De.body,at=De.index;return at?new Qr.MathNode("mroot",[Kn(We,qe),Kn(at,qe)]):new Qr.MathNode("msqrt",[Kn(We,qe)])}});var ys={display:Ae.DISPLAY,text:Ae.TEXT,script:Ae.SCRIPT,scriptscript:Ae.SCRIPTSCRIPT};lr({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler:function(De,qe){var We=De.breakOnTokenText,at=De.funcName,xt=De.parser,Rt=xt.parseExpression(!0,We),qt=at.slice(1,at.length-5);return{type:"styling",mode:xt.mode,style:qt,body:Rt}},htmlBuilder:function(De,qe){var We=ys[De.style],at=qe.havingStyle(We).withFont("");return bs(De.body,at,qe)},mathmlBuilder:function(De,qe){var We=ys[De.style],at=qe.havingStyle(We),xt=ti(De.body,at),Rt=new Qr.MathNode("mstyle",xt),qt={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},Kt=qt[De.style];return Rt.setAttribute("scriptlevel",Kt[0]),Rt.setAttribute("displaystyle",Kt[1]),Rt}});var Fa=function(De,qe){var We=De.base;if(We)if(We.type==="op"){var at=We.limits&&(qe.style.size===Ae.DISPLAY.size||We.alwaysHandleSupSub);return at?Va:null}else if(We.type==="operatorname"){var xt=We.alwaysHandleSupSub&&(qe.style.size===Ae.DISPLAY.size||We.limits);return xt?fo:null}else{if(We.type==="accent")return J.isCharacterBox(We.base)?os:null;if(We.type==="horizBrace"){var Rt=!De.sub;return Rt===We.isOver?Pa:null}else return null}else return null};qr({type:"supsub",htmlBuilder:function(De,qe){var We=Fa(De,qe);if(We)return We(De,qe);var at=De.base,xt=De.sup,Rt=De.sub,qt=vn(at,qe),Kt,rr,mr=qe.fontMetrics(),Fr=0,Vr=0,zr=at&&J.isCharacterBox(at);if(xt){var Hr=qe.havingStyle(qe.style.sup());Kt=vn(xt,Hr,qe),zr||(Fr=qt.height-Hr.fontMetrics().supDrop*Hr.sizeMultiplier/qe.sizeMultiplier)}if(Rt){var rn=qe.havingStyle(qe.style.sub());rr=vn(Rt,rn,qe),zr||(Vr=qt.depth+rn.fontMetrics().subDrop*rn.sizeMultiplier/qe.sizeMultiplier)}var ln;qe.style===Ae.DISPLAY?ln=mr.sup1:qe.style.cramped?ln=mr.sup3:ln=mr.sup2;var mn=qe.sizeMultiplier,xn=Nt(.5/mr.ptPerEm/mn),An=null;if(rr){var qn=De.base&&De.base.type==="op"&&De.base.name&&(De.base.name==="\\oiint"||De.base.name==="\\oiiint");(qt instanceof Bt||qn)&&(An=Nt(-qt.italic))}var Pn;if(Kt&&rr){Fr=Math.max(Fr,ln,Kt.depth+.25*mr.xHeight),Vr=Math.max(Vr,mr.sub2);var Xn=mr.defaultRuleThickness,Vn=4*Xn;if(Fr-Kt.depth-(rr.height-Vr)0&&(Fr+=Qn,Vr-=Qn)}var ei=[{type:"elem",elem:rr,shift:Vr,marginRight:xn,marginLeft:An},{type:"elem",elem:Kt,shift:-Fr,marginRight:xn}];Pn=Ir.makeVList({positionType:"individualShift",children:ei},qe)}else if(rr){Vr=Math.max(Vr,mr.sub1,rr.height-.8*mr.xHeight);var di=[{type:"elem",elem:rr,marginLeft:An,marginRight:xn}];Pn=Ir.makeVList({positionType:"shift",positionData:Vr,children:di},qe)}else if(Kt)Fr=Math.max(Fr,ln,Kt.depth+.25*mr.xHeight),Pn=Ir.makeVList({positionType:"shift",positionData:-Fr,children:[{type:"elem",elem:Kt,marginRight:xn}]},qe);else throw new Error("supsub must have either sup or sub.");var Zi=Sn(qt,"right")||"mord";return Ir.makeSpan([Zi],[qt,Ir.makeSpan(["msupsub"],[Pn])],qe)},mathmlBuilder:function(De,qe){var We=!1,at,xt;De.base&&De.base.type==="horizBrace"&&(xt=!!De.sup,xt===De.base.isOver&&(We=!0,at=De.base.isOver)),De.base&&(De.base.type==="op"||De.base.type==="operatorname")&&(De.base.parentIsSupSub=!0);var Rt=[Kn(De.base,qe)];De.sub&&Rt.push(Kn(De.sub,qe)),De.sup&&Rt.push(Kn(De.sup,qe));var qt;if(We)qt=at?"mover":"munder";else if(De.sub)if(De.sup){var mr=De.base;mr&&mr.type==="op"&&mr.limits&&qe.style===Ae.DISPLAY||mr&&mr.type==="operatorname"&&mr.alwaysHandleSupSub&&(qe.style===Ae.DISPLAY||mr.limits)?qt="munderover":qt="msubsup"}else{var rr=De.base;rr&&rr.type==="op"&&rr.limits&&(qe.style===Ae.DISPLAY||rr.alwaysHandleSupSub)||rr&&rr.type==="operatorname"&&rr.alwaysHandleSupSub&&(rr.limits||qe.style===Ae.DISPLAY)?qt="munder":qt="msub"}else{var Kt=De.base;Kt&&Kt.type==="op"&&Kt.limits&&(qe.style===Ae.DISPLAY||Kt.alwaysHandleSupSub)||Kt&&Kt.type==="operatorname"&&Kt.alwaysHandleSupSub&&(Kt.limits||qe.style===Ae.DISPLAY)?qt="mover":qt="msup"}return new Qr.MathNode(qt,Rt)}}),qr({type:"atom",htmlBuilder:function(De,qe){return Ir.mathsym(De.text,De.mode,qe,["m"+De.family])},mathmlBuilder:function(De,qe){var We=new Qr.MathNode("mo",[gi(De.text,De.mode)]);if(De.family==="bin"){var at=Js(De,qe);at==="bold-italic"&&We.setAttribute("mathvariant",at)}else De.family==="punct"?We.setAttribute("separator","true"):(De.family==="open"||De.family==="close")&&We.setAttribute("stretchy","false");return We}});var za={mi:"italic",mn:"normal",mtext:"normal"};qr({type:"mathord",htmlBuilder:function(De,qe){return Ir.makeOrd(De,qe,"mathord")},mathmlBuilder:function(De,qe){var We=new Qr.MathNode("mi",[gi(De.text,De.mode,qe)]),at=Js(De,qe)||"italic";return at!==za[We.type]&&We.setAttribute("mathvariant",at),We}}),qr({type:"textord",htmlBuilder:function(De,qe){return Ir.makeOrd(De,qe,"textord")},mathmlBuilder:function(De,qe){var We=gi(De.text,De.mode,qe),at=Js(De,qe)||"normal",xt;return De.mode==="text"?xt=new Qr.MathNode("mtext",[We]):/[0-9]/.test(De.text)?xt=new Qr.MathNode("mn",[We]):De.text==="\\prime"?xt=new Qr.MathNode("mo",[We]):xt=new Qr.MathNode("mi",[We]),at!==za[xt.type]&&xt.setAttribute("mathvariant",at),xt}});var jn={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},wa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};qr({type:"spacing",htmlBuilder:function(De,qe){if(wa.hasOwnProperty(De.text)){var We=wa[De.text].className||"";if(De.mode==="text"){var at=Ir.makeOrd(De,qe,"textord");return at.classes.push(We),at}else return Ir.makeSpan(["mspace",We],[Ir.mathsym(De.text,De.mode,qe)],qe)}else{if(jn.hasOwnProperty(De.text))return Ir.makeSpan(["mspace",jn[De.text]],[],qe);throw new q('Unknown type of space "'+De.text+'"')}},mathmlBuilder:function(De,qe){var We;if(wa.hasOwnProperty(De.text))We=new Qr.MathNode("mtext",[new Qr.TextNode(" ")]);else{if(jn.hasOwnProperty(De.text))return new Qr.MathNode("mspace");throw new q('Unknown type of space "'+De.text+'"')}return We}});var Hs=function(){var De=new Qr.MathNode("mtd",[]);return De.setAttribute("width","50%"),De};qr({type:"tag",mathmlBuilder:function(De,qe){var We=new Qr.MathNode("mtable",[new Qr.MathNode("mtr",[Hs(),new Qr.MathNode("mtd",[Da(De.body,qe)]),Hs(),new Qr.MathNode("mtd",[Da(De.tag,qe)])])]);return We.setAttribute("width","100%"),We}});var Io={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},vs={"\\textbf":"textbf","\\textmd":"textmd"},ko={"\\textit":"textit","\\textup":"textup"},Oo=function(De,qe){var We=De.font;return We?Io[We]?qe.withTextFontFamily(Io[We]):vs[We]?qe.withTextFontWeight(vs[We]):qe.withTextFontShape(ko[We]):qe};lr({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler:function(De,qe){var We=De.parser,at=De.funcName,xt=qe[0];return{type:"text",mode:We.mode,body:Kr(xt),font:at}},htmlBuilder:function(De,qe){var We=Oo(De,qe),at=kn(De.body,We,!0);return Ir.makeSpan(["mord","text"],at,We)},mathmlBuilder:function(De,qe){var We=Oo(De,qe);return Da(De.body,We)}}),lr({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler:function(De,qe){var We=De.parser;return{type:"underline",mode:We.mode,body:qe[0]}},htmlBuilder:function(De,qe){var We=vn(De.body,qe),at=Ir.makeLineSpan("underline-line",qe),xt=qe.fontMetrics().defaultRuleThickness,Rt=Ir.makeVList({positionType:"top",positionData:We.height,children:[{type:"kern",size:xt},{type:"elem",elem:at},{type:"kern",size:3*xt},{type:"elem",elem:We}]},qe);return Ir.makeSpan(["mord","underline"],[Rt],qe)},mathmlBuilder:function(De,qe){var We=new Qr.MathNode("mo",[new Qr.TextNode("‾")]);We.setAttribute("stretchy","true");var at=new Qr.MathNode("munder",[Kn(De.body,qe),We]);return at.setAttribute("accentunder","true"),at}}),lr({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler:function(De,qe){var We=De.parser;return{type:"vcenter",mode:We.mode,body:qe[0]}},htmlBuilder:function(De,qe){var We=vn(De.body,qe),at=qe.fontMetrics().axisHeight,xt=.5*(We.height-at-(We.depth+at));return Ir.makeVList({positionType:"shift",positionData:xt,children:[{type:"elem",elem:We}]},qe)},mathmlBuilder:function(De,qe){return new Qr.MathNode("mpadded",[Kn(De.body,qe)],["vcenter"])}}),lr({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler:function(De,qe,We){throw new q("\\verb ended by end of line instead of matching delimiter")},htmlBuilder:function(De,qe){for(var We=po(De),at=[],xt=qe.havingStyle(qe.style.text()),Rt=0;Rt0;)this.endGroup()},Pe.has=function(We){return this.current.hasOwnProperty(We)||this.builtins.hasOwnProperty(We)},Pe.get=function(We){return this.current.hasOwnProperty(We)?this.current[We]:this.builtins[We]},Pe.set=function(We,at,xt){if(xt===void 0&&(xt=!1),xt){for(var Rt=0;Rt0&&(this.undefStack[this.undefStack.length-1][We]=at)}else{var qt=this.undefStack[this.undefStack.length-1];qt&&!qt.hasOwnProperty(We)&&(qt[We]=this.current[We])}at==null?delete this.current[We]:this.current[We]=at},Tt}(),Ot=lo,tr=Ot;Qt("\\noexpand",function(Tt){var Pe=Tt.popToken();return Tt.isExpandable(Pe.text)&&(Pe.noexpand=!0,Pe.treatAsRelax=!0),{tokens:[Pe],numArgs:0}}),Qt("\\expandafter",function(Tt){var Pe=Tt.popToken();return Tt.expandOnce(!0),{tokens:[Pe],numArgs:0}}),Qt("\\@firstoftwo",function(Tt){var Pe=Tt.consumeArgs(2);return{tokens:Pe[0],numArgs:0}}),Qt("\\@secondoftwo",function(Tt){var Pe=Tt.consumeArgs(2);return{tokens:Pe[1],numArgs:0}}),Qt("\\@ifnextchar",function(Tt){var Pe=Tt.consumeArgs(3);Tt.consumeSpaces();var qe=Tt.future();return Pe[0].length===1&&Pe[0][0].text===qe.text?{tokens:Pe[1],numArgs:0}:{tokens:Pe[2],numArgs:0}}),Qt("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Qt("\\TextOrMath",function(Tt){var Pe=Tt.consumeArgs(2);return Tt.mode==="text"?{tokens:Pe[0],numArgs:0}:{tokens:Pe[1],numArgs:0}});var dr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Qt("\\char",function(Tt){var Pe=Tt.popToken(),qe,We="";if(Pe.text==="'")qe=8,Pe=Tt.popToken();else if(Pe.text==='"')qe=16,Pe=Tt.popToken();else if(Pe.text==="`")if(Pe=Tt.popToken(),Pe.text[0]==="\\")We=Pe.text.charCodeAt(1);else{if(Pe.text==="EOF")throw new q("\\char` missing argument");We=Pe.text.charCodeAt(0)}else qe=10;if(qe){if(We=dr[Pe.text],We==null||We>=qe)throw new q("Invalid base-"+qe+" digit "+Pe.text);for(var at;(at=dr[Tt.future().text])!=null&&at":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Qt("\\dots",function(Tt){var Pe="\\dotso",qe=Tt.expandAfterFuture().text;return qe in $r?Pe=$r[qe]:(qe.slice(0,4)==="\\not"||qe in Ar.math&&J.contains(["bin","rel"],Ar.math[qe].group))&&(Pe="\\dotsb"),Pe});var Zr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Qt("\\dotso",function(Tt){var Pe=Tt.future().text;return Pe in Zr?"\\ldots\\,":"\\ldots"}),Qt("\\dotsc",function(Tt){var Pe=Tt.future().text;return Pe in Zr&&Pe!==","?"\\ldots\\,":"\\ldots"}),Qt("\\cdots",function(Tt){var Pe=Tt.future().text;return Pe in Zr?"\\@cdots\\,":"\\@cdots"}),Qt("\\dotsb","\\cdots"),Qt("\\dotsm","\\cdots"),Qt("\\dotsi","\\!\\cdots"),Qt("\\dotsx","\\ldots\\,"),Qt("\\DOTSI","\\relax"),Qt("\\DOTSB","\\relax"),Qt("\\DOTSX","\\relax"),Qt("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Qt("\\,","\\tmspace+{3mu}{.1667em}"),Qt("\\thinspace","\\,"),Qt("\\>","\\mskip{4mu}"),Qt("\\:","\\tmspace+{4mu}{.2222em}"),Qt("\\medspace","\\:"),Qt("\\;","\\tmspace+{5mu}{.2777em}"),Qt("\\thickspace","\\;"),Qt("\\!","\\tmspace-{3mu}{.1667em}"),Qt("\\negthinspace","\\!"),Qt("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Qt("\\negthickspace","\\tmspace-{5mu}{.277em}"),Qt("\\enspace","\\kern.5em "),Qt("\\enskip","\\hskip.5em\\relax"),Qt("\\quad","\\hskip1em\\relax"),Qt("\\qquad","\\hskip2em\\relax"),Qt("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Qt("\\tag@paren","\\tag@literal{({#1})}"),Qt("\\tag@literal",function(Tt){if(Tt.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Qt("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Qt("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Qt("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Qt("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Qt("\\newline","\\\\\\relax"),Qt("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var _n=Nt(Ye["Main-Regular"]["T".charCodeAt(0)][1]-.7*Ye["Main-Regular"]["A".charCodeAt(0)][1]);Qt("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+_n+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Qt("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+_n+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Qt("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Qt("\\@hspace","\\hskip #1\\relax"),Qt("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Qt("\\ordinarycolon",":"),Qt("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Qt("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Qt("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Qt("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Qt("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Qt("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Qt("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Qt("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Qt("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Qt("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Qt("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Qt("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Qt("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Qt("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Qt("∷","\\dblcolon"),Qt("∹","\\eqcolon"),Qt("≔","\\coloneqq"),Qt("≕","\\eqqcolon"),Qt("⩴","\\Coloneqq"),Qt("\\ratio","\\vcentcolon"),Qt("\\coloncolon","\\dblcolon"),Qt("\\colonequals","\\coloneqq"),Qt("\\coloncolonequals","\\Coloneqq"),Qt("\\equalscolon","\\eqqcolon"),Qt("\\equalscoloncolon","\\Eqqcolon"),Qt("\\colonminus","\\coloneq"),Qt("\\coloncolonminus","\\Coloneq"),Qt("\\minuscolon","\\eqcolon"),Qt("\\minuscoloncolon","\\Eqcolon"),Qt("\\coloncolonapprox","\\Colonapprox"),Qt("\\coloncolonsim","\\Colonsim"),Qt("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Qt("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Qt("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Qt("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Qt("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Qt("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Qt("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Qt("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Qt("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Qt("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Qt("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Qt("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Qt("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Qt("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Qt("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Qt("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Qt("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Qt("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Qt("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Qt("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Qt("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Qt("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Qt("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Qt("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Qt("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Qt("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Qt("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Qt("\\imath","\\html@mathml{\\@imath}{ı}"),Qt("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Qt("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Qt("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Qt("⟦","\\llbracket"),Qt("⟧","\\rrbracket"),Qt("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Qt("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Qt("⦃","\\lBrace"),Qt("⦄","\\rBrace"),Qt("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Qt("⦵","\\minuso"),Qt("\\darr","\\downarrow"),Qt("\\dArr","\\Downarrow"),Qt("\\Darr","\\Downarrow"),Qt("\\lang","\\langle"),Qt("\\rang","\\rangle"),Qt("\\uarr","\\uparrow"),Qt("\\uArr","\\Uparrow"),Qt("\\Uarr","\\Uparrow"),Qt("\\N","\\mathbb{N}"),Qt("\\R","\\mathbb{R}"),Qt("\\Z","\\mathbb{Z}"),Qt("\\alef","\\aleph"),Qt("\\alefsym","\\aleph"),Qt("\\Alpha","\\mathrm{A}"),Qt("\\Beta","\\mathrm{B}"),Qt("\\bull","\\bullet"),Qt("\\Chi","\\mathrm{X}"),Qt("\\clubs","\\clubsuit"),Qt("\\cnums","\\mathbb{C}"),Qt("\\Complex","\\mathbb{C}"),Qt("\\Dagger","\\ddagger"),Qt("\\diamonds","\\diamondsuit"),Qt("\\empty","\\emptyset"),Qt("\\Epsilon","\\mathrm{E}"),Qt("\\Eta","\\mathrm{H}"),Qt("\\exist","\\exists"),Qt("\\harr","\\leftrightarrow"),Qt("\\hArr","\\Leftrightarrow"),Qt("\\Harr","\\Leftrightarrow"),Qt("\\hearts","\\heartsuit"),Qt("\\image","\\Im"),Qt("\\infin","\\infty"),Qt("\\Iota","\\mathrm{I}"),Qt("\\isin","\\in"),Qt("\\Kappa","\\mathrm{K}"),Qt("\\larr","\\leftarrow"),Qt("\\lArr","\\Leftarrow"),Qt("\\Larr","\\Leftarrow"),Qt("\\lrarr","\\leftrightarrow"),Qt("\\lrArr","\\Leftrightarrow"),Qt("\\Lrarr","\\Leftrightarrow"),Qt("\\Mu","\\mathrm{M}"),Qt("\\natnums","\\mathbb{N}"),Qt("\\Nu","\\mathrm{N}"),Qt("\\Omicron","\\mathrm{O}"),Qt("\\plusmn","\\pm"),Qt("\\rarr","\\rightarrow"),Qt("\\rArr","\\Rightarrow"),Qt("\\Rarr","\\Rightarrow"),Qt("\\real","\\Re"),Qt("\\reals","\\mathbb{R}"),Qt("\\Reals","\\mathbb{R}"),Qt("\\Rho","\\mathrm{P}"),Qt("\\sdot","\\cdot"),Qt("\\sect","\\S"),Qt("\\spades","\\spadesuit"),Qt("\\sub","\\subset"),Qt("\\sube","\\subseteq"),Qt("\\supe","\\supseteq"),Qt("\\Tau","\\mathrm{T}"),Qt("\\thetasym","\\vartheta"),Qt("\\weierp","\\wp"),Qt("\\Zeta","\\mathrm{Z}"),Qt("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Qt("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Qt("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Qt("\\bra","\\mathinner{\\langle{#1}|}"),Qt("\\ket","\\mathinner{|{#1}\\rangle}"),Qt("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Qt("\\Bra","\\left\\langle#1\\right|"),Qt("\\Ket","\\left|#1\\right\\rangle");var en=function(Pe){return function(qe){var We=qe.consumeArg().tokens,at=qe.consumeArg().tokens,xt=qe.consumeArg().tokens,Rt=qe.consumeArg().tokens,qt=qe.macros.get("|"),Kt=qe.macros.get("\\|");qe.macros.beginGroup();var rr=function(zr){return function(Hr){Pe&&(Hr.macros.set("|",qt),xt.length&&Hr.macros.set("\\|",Kt));var rn=zr;if(!zr&&xt.length){var ln=Hr.future();ln.text==="|"&&(Hr.popToken(),rn=!0)}return{tokens:rn?xt:at,numArgs:0}}};qe.macros.set("|",rr(!1)),xt.length&&qe.macros.set("\\|",rr(!0));var mr=qe.consumeArg().tokens,Fr=qe.expandTokens([].concat(Rt,mr,We));return qe.macros.endGroup(),{tokens:Fr.reverse(),numArgs:0}}};Qt("\\bra@ket",en(!1)),Qt("\\bra@set",en(!0)),Qt("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Qt("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Qt("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Qt("\\angln","{\\angl n}"),Qt("\\blue","\\textcolor{##6495ed}{#1}"),Qt("\\orange","\\textcolor{##ffa500}{#1}"),Qt("\\pink","\\textcolor{##ff00af}{#1}"),Qt("\\red","\\textcolor{##df0030}{#1}"),Qt("\\green","\\textcolor{##28ae7b}{#1}"),Qt("\\gray","\\textcolor{gray}{#1}"),Qt("\\purple","\\textcolor{##9d38bd}{#1}"),Qt("\\blueA","\\textcolor{##ccfaff}{#1}"),Qt("\\blueB","\\textcolor{##80f6ff}{#1}"),Qt("\\blueC","\\textcolor{##63d9ea}{#1}"),Qt("\\blueD","\\textcolor{##11accd}{#1}"),Qt("\\blueE","\\textcolor{##0c7f99}{#1}"),Qt("\\tealA","\\textcolor{##94fff5}{#1}"),Qt("\\tealB","\\textcolor{##26edd5}{#1}"),Qt("\\tealC","\\textcolor{##01d1c1}{#1}"),Qt("\\tealD","\\textcolor{##01a995}{#1}"),Qt("\\tealE","\\textcolor{##208170}{#1}"),Qt("\\greenA","\\textcolor{##b6ffb0}{#1}"),Qt("\\greenB","\\textcolor{##8af281}{#1}"),Qt("\\greenC","\\textcolor{##74cf70}{#1}"),Qt("\\greenD","\\textcolor{##1fab54}{#1}"),Qt("\\greenE","\\textcolor{##0d923f}{#1}"),Qt("\\goldA","\\textcolor{##ffd0a9}{#1}"),Qt("\\goldB","\\textcolor{##ffbb71}{#1}"),Qt("\\goldC","\\textcolor{##ff9c39}{#1}"),Qt("\\goldD","\\textcolor{##e07d10}{#1}"),Qt("\\goldE","\\textcolor{##a75a05}{#1}"),Qt("\\redA","\\textcolor{##fca9a9}{#1}"),Qt("\\redB","\\textcolor{##ff8482}{#1}"),Qt("\\redC","\\textcolor{##f9685d}{#1}"),Qt("\\redD","\\textcolor{##e84d39}{#1}"),Qt("\\redE","\\textcolor{##bc2612}{#1}"),Qt("\\maroonA","\\textcolor{##ffbde0}{#1}"),Qt("\\maroonB","\\textcolor{##ff92c6}{#1}"),Qt("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Qt("\\maroonD","\\textcolor{##ca337c}{#1}"),Qt("\\maroonE","\\textcolor{##9e034e}{#1}"),Qt("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Qt("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Qt("\\purpleC","\\textcolor{##aa87ff}{#1}"),Qt("\\purpleD","\\textcolor{##7854ab}{#1}"),Qt("\\purpleE","\\textcolor{##543b78}{#1}"),Qt("\\mintA","\\textcolor{##f5f9e8}{#1}"),Qt("\\mintB","\\textcolor{##edf2df}{#1}"),Qt("\\mintC","\\textcolor{##e0e5cc}{#1}"),Qt("\\grayA","\\textcolor{##f6f7f7}{#1}"),Qt("\\grayB","\\textcolor{##f0f1f2}{#1}"),Qt("\\grayC","\\textcolor{##e3e5e6}{#1}"),Qt("\\grayD","\\textcolor{##d6d8da}{#1}"),Qt("\\grayE","\\textcolor{##babec2}{#1}"),Qt("\\grayF","\\textcolor{##888d93}{#1}"),Qt("\\grayG","\\textcolor{##626569}{#1}"),Qt("\\grayH","\\textcolor{##3b3e40}{#1}"),Qt("\\grayI","\\textcolor{##21242c}{#1}"),Qt("\\kaBlue","\\textcolor{##314453}{#1}"),Qt("\\kaGreen","\\textcolor{##71B307}{#1}");var Tn={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Nn=function(){function Tt(qe,We,at){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=We,this.expansionCount=0,this.feed(qe),this.macros=new ht(tr,We.macros),this.mode=at,this.stack=[]}var Pe=Tt.prototype;return Pe.feed=function(We){this.lexer=new Xe(We,this.settings)},Pe.switchMode=function(We){this.mode=We},Pe.beginGroup=function(){this.macros.beginGroup()},Pe.endGroup=function(){this.macros.endGroup()},Pe.endGroups=function(){this.macros.endGroups()},Pe.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},Pe.popToken=function(){return this.future(),this.stack.pop()},Pe.pushToken=function(We){this.stack.push(We)},Pe.pushTokens=function(We){var at;(at=this.stack).push.apply(at,We)},Pe.scanArgument=function(We){var at,xt,Rt;if(We){if(this.consumeSpaces(),this.future().text!=="[")return null;at=this.popToken();var qt=this.consumeArg(["]"]);Rt=qt.tokens,xt=qt.end}else{var Kt=this.consumeArg();Rt=Kt.tokens,at=Kt.start,xt=Kt.end}return this.pushToken(new Pa("EOF",xt.loc)),this.pushTokens(Rt),at.range(xt,"")},Pe.consumeSpaces=function(){for(;;){var We=this.future();if(We.text===" ")this.stack.pop();else break}},Pe.consumeArg=function(We){var at=[],xt=We&&We.length>0;xt||this.consumeSpaces();var Rt=this.future(),qt,Kt=0,rr=0;do{if(qt=this.popToken(),at.push(qt),qt.text==="{")++Kt;else if(qt.text==="}"){if(--Kt,Kt===-1)throw new q("Extra }",qt)}else if(qt.text==="EOF")throw new q("Unexpected end of input in a macro argument, expected '"+(We&&xt?We[rr]:"}")+"'",qt);if(We&&xt)if((Kt===0||Kt===1&&We[rr]==="{")&&qt.text===We[rr]){if(++rr,rr===We.length){at.splice(-rr,rr);break}}else rr=0}while(Kt!==0||xt);return Rt.text==="{"&&at[at.length-1].text==="}"&&(at.pop(),at.shift()),at.reverse(),{tokens:at,start:Rt,end:qt}},Pe.consumeArgs=function(We,at){if(at){if(at.length!==We+1)throw new q("The length of delimiters doesn't match the number of args!");for(var xt=at[0],Rt=0;Rtthis.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting");var qt=Rt.tokens,Kt=this.consumeArgs(Rt.numArgs,Rt.delimiters);if(Rt.numArgs){qt=qt.slice();for(var rr=qt.length-1;rr>=0;--rr){var mr=qt[rr];if(mr.text==="#"){if(rr===0)throw new q("Incomplete placeholder at end of macro body",mr);if(mr=qt[--rr],mr.text==="#")qt.splice(rr+1,1);else if(/^[1-9]$/.test(mr.text)){var Fr;(Fr=qt).splice.apply(Fr,[rr,2].concat(Kt[+mr.text-1]))}else throw new q("Not a valid argument number",mr)}}}return this.pushTokens(qt),qt.length},Pe.expandAfterFuture=function(){return this.expandOnce(),this.future()},Pe.expandNextToken=function(){for(;;)if(this.expandOnce()===!1){var We=this.stack.pop();return We.treatAsRelax&&(We.text="\\relax"),We}throw new Error},Pe.expandMacro=function(We){return this.macros.has(We)?this.expandTokens([new Pa(We)]):void 0},Pe.expandTokens=function(We){var at=[],xt=this.stack.length;for(this.pushTokens(We);this.stack.length>xt;)if(this.expandOnce(!0)===!1){var Rt=this.stack.pop();Rt.treatAsRelax&&(Rt.noexpand=!1,Rt.treatAsRelax=!1),at.push(Rt)}return at},Pe.expandMacroAsText=function(We){var at=this.expandMacro(We);return at&&at.map(function(xt){return xt.text}).join("")},Pe._getExpansion=function(We){var at=this.macros.get(We);if(at==null)return at;if(We.length===1){var xt=this.lexer.catcodes[We];if(xt!=null&&xt!==13)return}var Rt=typeof at=="function"?at(this):at;if(typeof Rt=="string"){var qt=0;if(Rt.indexOf("#")!==-1)for(var Kt=Rt.replace(/##/g,"");Kt.indexOf("#"+(qt+1))!==-1;)++qt;for(var rr=new Xe(Rt,this.settings),mr=[],Fr=rr.lex();Fr.text!=="EOF";)mr.push(Fr),Fr=rr.lex();mr.reverse();var Vr={tokens:mr,numArgs:qt};return Vr}return Rt},Pe.isDefined=function(We){return this.macros.has(We)||Ba.hasOwnProperty(We)||Ar.math.hasOwnProperty(We)||Ar.text.hasOwnProperty(We)||Tn.hasOwnProperty(We)},Pe.isExpandable=function(We){var at=this.macros.get(We);return at!=null?typeof at=="string"||typeof at=="function"||!at.unexpandable:Ba.hasOwnProperty(We)&&!Ba[We].primitive},Tt}(),Pn=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,ai=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),wi={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Mi={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"},Ki=function(){function Tt(qe,We){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Nn(qe,We,this.mode),this.settings=We,this.leftrightDepth=0}var Pe=Tt.prototype;return Pe.expect=function(We,at){if(at===void 0&&(at=!0),this.fetch().text!==We)throw new q("Expected '"+We+"', got '"+this.fetch().text+"'",this.fetch());at&&this.consume()},Pe.consume=function(){this.nextToken=null},Pe.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},Pe.switchMode=function(We){this.mode=We,this.gullet.switchMode(We)},Pe.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var We=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),We}finally{this.gullet.endGroups()}},Pe.subparse=function(We){var at=this.nextToken;this.consume(),this.gullet.pushToken(new Pa("}")),this.gullet.pushTokens(We);var xt=this.parseExpression(!1);return this.expect("}"),this.nextToken=at,xt},Pe.parseExpression=function(We,at){for(var xt=[];;){this.mode==="math"&&this.consumeSpaces();var Rt=this.fetch();if(Tt.endOfExpression.indexOf(Rt.text)!==-1||at&&Rt.text===at||We&&Ba[Rt.text]&&Ba[Rt.text].infix)break;var qt=this.parseAtom(at);if(qt){if(qt.type==="internal")continue}else break;xt.push(qt)}return this.mode==="text"&&this.formLigatures(xt),this.handleInfixNodes(xt)},Pe.handleInfixNodes=function(We){for(var at=-1,xt,Rt=0;Rt=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+at[0]+'" used in math mode',We);var rr=Ar[this.mode][at].group,mr=Yi.range(We),Fr;if(Dr.hasOwnProperty(rr)){var Vr=rr;Fr={type:"atom",mode:this.mode,family:Vr,loc:mr,text:at}}else Fr={type:rr,mode:this.mode,loc:mr,text:at};Kt=Fr}else if(at.charCodeAt(0)>=128)this.settings.strict&&(Ae(at.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+at[0]+'" used in math mode',We):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+at[0]+'"'+(" ("+at.charCodeAt(0)+")"),We)),Kt={type:"textord",mode:"text",loc:Yi.range(We),text:at};else return null;if(this.consume(),qt)for(var zr=0;zr0?k.src.charCodeAt(m-1):-1,G=m+1<=V?k.src.charCodeAt(m+1):-1,(M===32||M===9||G>=48&&G<=57)&&($=!1),(G===32||G===9)&&(q=!1),{can_open:q,can_close:$}}function math_inline(k,m){var M,G,V,q,$;if(k.src[k.pos]!=="$")return!1;if(q=isValidDelim(k,k.pos),!q.can_open)return m||(k.pending+="$"),k.pos+=1,!0;for(M=k.pos+1,G=M;(G=k.src.indexOf("$",G))!==-1;){for($=G-1;k.src[$]==="\\";)$-=1;if((G-$)%2==1)break;G+=1}return G===-1?(m||(k.pending+="$"),k.pos=M,!0):G-M===0?(m||(k.pending+="$$"),k.pos=M+1,!0):(q=isValidDelim(k,G),q.can_close?(m||(V=k.push("math_inline","math",0),V.markup="$",V.content=k.src.slice(M,G)),k.pos=G+1,!0):(m||(k.pending+="$"),k.pos=M,!0))}function math_block(k,m,M,G){var V,q,$,D,B=!1,R,U=k.bMarks[m]+k.tShift[m],K=k.eMarks[m];if(U+2>K||k.src.slice(U,U+2)!=="$$")return!1;if(U+=2,V=k.src.slice(U,K),G)return!0;for(V.trim().slice(-2)==="$$"&&(V=V.trim().slice(0,-2),B=!0),$=m;!B&&($++,!($>=M||(U=k.bMarks[$]+k.tShift[$],K=k.eMarks[$],U0;)this.endGroup()},De.has=function(We){return this.current.hasOwnProperty(We)||this.builtins.hasOwnProperty(We)},De.get=function(We){return this.current.hasOwnProperty(We)?this.current[We]:this.builtins[We]},De.set=function(We,at,xt){if(xt===void 0&&(xt=!1),xt){for(var Rt=0;Rt0&&(this.undefStack[this.undefStack.length-1][We]=at)}else{var qt=this.undefStack[this.undefStack.length-1];qt&&!qt.hasOwnProperty(We)&&(qt[We]=this.current[We])}at==null?delete this.current[We]:this.current[We]=at},Tt}(),Ot=lo,tr=Ot;Qt("\\noexpand",function(Tt){var De=Tt.popToken();return Tt.isExpandable(De.text)&&(De.noexpand=!0,De.treatAsRelax=!0),{tokens:[De],numArgs:0}}),Qt("\\expandafter",function(Tt){var De=Tt.popToken();return Tt.expandOnce(!0),{tokens:[De],numArgs:0}}),Qt("\\@firstoftwo",function(Tt){var De=Tt.consumeArgs(2);return{tokens:De[0],numArgs:0}}),Qt("\\@secondoftwo",function(Tt){var De=Tt.consumeArgs(2);return{tokens:De[1],numArgs:0}}),Qt("\\@ifnextchar",function(Tt){var De=Tt.consumeArgs(3);Tt.consumeSpaces();var qe=Tt.future();return De[0].length===1&&De[0][0].text===qe.text?{tokens:De[1],numArgs:0}:{tokens:De[2],numArgs:0}}),Qt("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Qt("\\TextOrMath",function(Tt){var De=Tt.consumeArgs(2);return Tt.mode==="text"?{tokens:De[0],numArgs:0}:{tokens:De[1],numArgs:0}});var dr={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};Qt("\\char",function(Tt){var De=Tt.popToken(),qe,We="";if(De.text==="'")qe=8,De=Tt.popToken();else if(De.text==='"')qe=16,De=Tt.popToken();else if(De.text==="`")if(De=Tt.popToken(),De.text[0]==="\\")We=De.text.charCodeAt(1);else{if(De.text==="EOF")throw new q("\\char` missing argument");We=De.text.charCodeAt(0)}else qe=10;if(qe){if(We=dr[De.text],We==null||We>=qe)throw new q("Invalid base-"+qe+" digit "+De.text);for(var at;(at=dr[Tt.future().text])!=null&&at":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};Qt("\\dots",function(Tt){var De="\\dotso",qe=Tt.expandAfterFuture().text;return qe in $r?De=$r[qe]:(qe.slice(0,4)==="\\not"||qe in Ar.math&&J.contains(["bin","rel"],Ar.math[qe].group))&&(De="\\dotsb"),De});var Zr={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};Qt("\\dotso",function(Tt){var De=Tt.future().text;return De in Zr?"\\ldots\\,":"\\ldots"}),Qt("\\dotsc",function(Tt){var De=Tt.future().text;return De in Zr&&De!==","?"\\ldots\\,":"\\ldots"}),Qt("\\cdots",function(Tt){var De=Tt.future().text;return De in Zr?"\\@cdots\\,":"\\@cdots"}),Qt("\\dotsb","\\cdots"),Qt("\\dotsm","\\cdots"),Qt("\\dotsi","\\!\\cdots"),Qt("\\dotsx","\\ldots\\,"),Qt("\\DOTSI","\\relax"),Qt("\\DOTSB","\\relax"),Qt("\\DOTSX","\\relax"),Qt("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Qt("\\,","\\tmspace+{3mu}{.1667em}"),Qt("\\thinspace","\\,"),Qt("\\>","\\mskip{4mu}"),Qt("\\:","\\tmspace+{4mu}{.2222em}"),Qt("\\medspace","\\:"),Qt("\\;","\\tmspace+{5mu}{.2777em}"),Qt("\\thickspace","\\;"),Qt("\\!","\\tmspace-{3mu}{.1667em}"),Qt("\\negthinspace","\\!"),Qt("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Qt("\\negthickspace","\\tmspace-{5mu}{.277em}"),Qt("\\enspace","\\kern.5em "),Qt("\\enskip","\\hskip.5em\\relax"),Qt("\\quad","\\hskip1em\\relax"),Qt("\\qquad","\\hskip2em\\relax"),Qt("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Qt("\\tag@paren","\\tag@literal{({#1})}"),Qt("\\tag@literal",function(Tt){if(Tt.macros.get("\\df@tag"))throw new q("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),Qt("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Qt("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Qt("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Qt("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Qt("\\newline","\\\\\\relax"),Qt("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var _n=Nt(Ye["Main-Regular"]["T".charCodeAt(0)][1]-.7*Ye["Main-Regular"]["A".charCodeAt(0)][1]);Qt("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+_n+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),Qt("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+_n+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),Qt("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Qt("\\@hspace","\\hskip #1\\relax"),Qt("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Qt("\\ordinarycolon",":"),Qt("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Qt("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Qt("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Qt("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Qt("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Qt("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Qt("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Qt("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Qt("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Qt("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Qt("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Qt("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Qt("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Qt("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Qt("∷","\\dblcolon"),Qt("∹","\\eqcolon"),Qt("≔","\\coloneqq"),Qt("≕","\\eqqcolon"),Qt("⩴","\\Coloneqq"),Qt("\\ratio","\\vcentcolon"),Qt("\\coloncolon","\\dblcolon"),Qt("\\colonequals","\\coloneqq"),Qt("\\coloncolonequals","\\Coloneqq"),Qt("\\equalscolon","\\eqqcolon"),Qt("\\equalscoloncolon","\\Eqqcolon"),Qt("\\colonminus","\\coloneq"),Qt("\\coloncolonminus","\\Coloneq"),Qt("\\minuscolon","\\eqcolon"),Qt("\\minuscoloncolon","\\Eqcolon"),Qt("\\coloncolonapprox","\\Colonapprox"),Qt("\\coloncolonsim","\\Colonsim"),Qt("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Qt("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Qt("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Qt("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Qt("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),Qt("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Qt("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Qt("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Qt("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Qt("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Qt("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Qt("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Qt("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Qt("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),Qt("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),Qt("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),Qt("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),Qt("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),Qt("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),Qt("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),Qt("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),Qt("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),Qt("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),Qt("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),Qt("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),Qt("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),Qt("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),Qt("\\imath","\\html@mathml{\\@imath}{ı}"),Qt("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),Qt("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),Qt("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),Qt("⟦","\\llbracket"),Qt("⟧","\\rrbracket"),Qt("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),Qt("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),Qt("⦃","\\lBrace"),Qt("⦄","\\rBrace"),Qt("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),Qt("⦵","\\minuso"),Qt("\\darr","\\downarrow"),Qt("\\dArr","\\Downarrow"),Qt("\\Darr","\\Downarrow"),Qt("\\lang","\\langle"),Qt("\\rang","\\rangle"),Qt("\\uarr","\\uparrow"),Qt("\\uArr","\\Uparrow"),Qt("\\Uarr","\\Uparrow"),Qt("\\N","\\mathbb{N}"),Qt("\\R","\\mathbb{R}"),Qt("\\Z","\\mathbb{Z}"),Qt("\\alef","\\aleph"),Qt("\\alefsym","\\aleph"),Qt("\\Alpha","\\mathrm{A}"),Qt("\\Beta","\\mathrm{B}"),Qt("\\bull","\\bullet"),Qt("\\Chi","\\mathrm{X}"),Qt("\\clubs","\\clubsuit"),Qt("\\cnums","\\mathbb{C}"),Qt("\\Complex","\\mathbb{C}"),Qt("\\Dagger","\\ddagger"),Qt("\\diamonds","\\diamondsuit"),Qt("\\empty","\\emptyset"),Qt("\\Epsilon","\\mathrm{E}"),Qt("\\Eta","\\mathrm{H}"),Qt("\\exist","\\exists"),Qt("\\harr","\\leftrightarrow"),Qt("\\hArr","\\Leftrightarrow"),Qt("\\Harr","\\Leftrightarrow"),Qt("\\hearts","\\heartsuit"),Qt("\\image","\\Im"),Qt("\\infin","\\infty"),Qt("\\Iota","\\mathrm{I}"),Qt("\\isin","\\in"),Qt("\\Kappa","\\mathrm{K}"),Qt("\\larr","\\leftarrow"),Qt("\\lArr","\\Leftarrow"),Qt("\\Larr","\\Leftarrow"),Qt("\\lrarr","\\leftrightarrow"),Qt("\\lrArr","\\Leftrightarrow"),Qt("\\Lrarr","\\Leftrightarrow"),Qt("\\Mu","\\mathrm{M}"),Qt("\\natnums","\\mathbb{N}"),Qt("\\Nu","\\mathrm{N}"),Qt("\\Omicron","\\mathrm{O}"),Qt("\\plusmn","\\pm"),Qt("\\rarr","\\rightarrow"),Qt("\\rArr","\\Rightarrow"),Qt("\\Rarr","\\Rightarrow"),Qt("\\real","\\Re"),Qt("\\reals","\\mathbb{R}"),Qt("\\Reals","\\mathbb{R}"),Qt("\\Rho","\\mathrm{P}"),Qt("\\sdot","\\cdot"),Qt("\\sect","\\S"),Qt("\\spades","\\spadesuit"),Qt("\\sub","\\subset"),Qt("\\sube","\\subseteq"),Qt("\\supe","\\supseteq"),Qt("\\Tau","\\mathrm{T}"),Qt("\\thetasym","\\vartheta"),Qt("\\weierp","\\wp"),Qt("\\Zeta","\\mathrm{Z}"),Qt("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Qt("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Qt("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Qt("\\bra","\\mathinner{\\langle{#1}|}"),Qt("\\ket","\\mathinner{|{#1}\\rangle}"),Qt("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Qt("\\Bra","\\left\\langle#1\\right|"),Qt("\\Ket","\\left|#1\\right\\rangle");var en=function(De){return function(qe){var We=qe.consumeArg().tokens,at=qe.consumeArg().tokens,xt=qe.consumeArg().tokens,Rt=qe.consumeArg().tokens,qt=qe.macros.get("|"),Kt=qe.macros.get("\\|");qe.macros.beginGroup();var rr=function(zr){return function(Hr){De&&(Hr.macros.set("|",qt),xt.length&&Hr.macros.set("\\|",Kt));var rn=zr;if(!zr&&xt.length){var ln=Hr.future();ln.text==="|"&&(Hr.popToken(),rn=!0)}return{tokens:rn?xt:at,numArgs:0}}};qe.macros.set("|",rr(!1)),xt.length&&qe.macros.set("\\|",rr(!0));var mr=qe.consumeArg().tokens,Fr=qe.expandTokens([].concat(Rt,mr,We));return qe.macros.endGroup(),{tokens:Fr.reverse(),numArgs:0}}};Qt("\\bra@ket",en(!1)),Qt("\\bra@set",en(!0)),Qt("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Qt("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Qt("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Qt("\\angln","{\\angl n}"),Qt("\\blue","\\textcolor{##6495ed}{#1}"),Qt("\\orange","\\textcolor{##ffa500}{#1}"),Qt("\\pink","\\textcolor{##ff00af}{#1}"),Qt("\\red","\\textcolor{##df0030}{#1}"),Qt("\\green","\\textcolor{##28ae7b}{#1}"),Qt("\\gray","\\textcolor{gray}{#1}"),Qt("\\purple","\\textcolor{##9d38bd}{#1}"),Qt("\\blueA","\\textcolor{##ccfaff}{#1}"),Qt("\\blueB","\\textcolor{##80f6ff}{#1}"),Qt("\\blueC","\\textcolor{##63d9ea}{#1}"),Qt("\\blueD","\\textcolor{##11accd}{#1}"),Qt("\\blueE","\\textcolor{##0c7f99}{#1}"),Qt("\\tealA","\\textcolor{##94fff5}{#1}"),Qt("\\tealB","\\textcolor{##26edd5}{#1}"),Qt("\\tealC","\\textcolor{##01d1c1}{#1}"),Qt("\\tealD","\\textcolor{##01a995}{#1}"),Qt("\\tealE","\\textcolor{##208170}{#1}"),Qt("\\greenA","\\textcolor{##b6ffb0}{#1}"),Qt("\\greenB","\\textcolor{##8af281}{#1}"),Qt("\\greenC","\\textcolor{##74cf70}{#1}"),Qt("\\greenD","\\textcolor{##1fab54}{#1}"),Qt("\\greenE","\\textcolor{##0d923f}{#1}"),Qt("\\goldA","\\textcolor{##ffd0a9}{#1}"),Qt("\\goldB","\\textcolor{##ffbb71}{#1}"),Qt("\\goldC","\\textcolor{##ff9c39}{#1}"),Qt("\\goldD","\\textcolor{##e07d10}{#1}"),Qt("\\goldE","\\textcolor{##a75a05}{#1}"),Qt("\\redA","\\textcolor{##fca9a9}{#1}"),Qt("\\redB","\\textcolor{##ff8482}{#1}"),Qt("\\redC","\\textcolor{##f9685d}{#1}"),Qt("\\redD","\\textcolor{##e84d39}{#1}"),Qt("\\redE","\\textcolor{##bc2612}{#1}"),Qt("\\maroonA","\\textcolor{##ffbde0}{#1}"),Qt("\\maroonB","\\textcolor{##ff92c6}{#1}"),Qt("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Qt("\\maroonD","\\textcolor{##ca337c}{#1}"),Qt("\\maroonE","\\textcolor{##9e034e}{#1}"),Qt("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Qt("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Qt("\\purpleC","\\textcolor{##aa87ff}{#1}"),Qt("\\purpleD","\\textcolor{##7854ab}{#1}"),Qt("\\purpleE","\\textcolor{##543b78}{#1}"),Qt("\\mintA","\\textcolor{##f5f9e8}{#1}"),Qt("\\mintB","\\textcolor{##edf2df}{#1}"),Qt("\\mintC","\\textcolor{##e0e5cc}{#1}"),Qt("\\grayA","\\textcolor{##f6f7f7}{#1}"),Qt("\\grayB","\\textcolor{##f0f1f2}{#1}"),Qt("\\grayC","\\textcolor{##e3e5e6}{#1}"),Qt("\\grayD","\\textcolor{##d6d8da}{#1}"),Qt("\\grayE","\\textcolor{##babec2}{#1}"),Qt("\\grayF","\\textcolor{##888d93}{#1}"),Qt("\\grayG","\\textcolor{##626569}{#1}"),Qt("\\grayH","\\textcolor{##3b3e40}{#1}"),Qt("\\grayI","\\textcolor{##21242c}{#1}"),Qt("\\kaBlue","\\textcolor{##314453}{#1}"),Qt("\\kaGreen","\\textcolor{##71B307}{#1}");var Tn={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Nn=function(){function Tt(qe,We,at){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=We,this.expansionCount=0,this.feed(qe),this.macros=new ht(tr,We.macros),this.mode=at,this.stack=[]}var De=Tt.prototype;return De.feed=function(We){this.lexer=new Xe(We,this.settings)},De.switchMode=function(We){this.mode=We},De.beginGroup=function(){this.macros.beginGroup()},De.endGroup=function(){this.macros.endGroup()},De.endGroups=function(){this.macros.endGroups()},De.future=function(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]},De.popToken=function(){return this.future(),this.stack.pop()},De.pushToken=function(We){this.stack.push(We)},De.pushTokens=function(We){var at;(at=this.stack).push.apply(at,We)},De.scanArgument=function(We){var at,xt,Rt;if(We){if(this.consumeSpaces(),this.future().text!=="[")return null;at=this.popToken();var qt=this.consumeArg(["]"]);Rt=qt.tokens,xt=qt.end}else{var Kt=this.consumeArg();Rt=Kt.tokens,at=Kt.start,xt=Kt.end}return this.pushToken(new La("EOF",xt.loc)),this.pushTokens(Rt),at.range(xt,"")},De.consumeSpaces=function(){for(;;){var We=this.future();if(We.text===" ")this.stack.pop();else break}},De.consumeArg=function(We){var at=[],xt=We&&We.length>0;xt||this.consumeSpaces();var Rt=this.future(),qt,Kt=0,rr=0;do{if(qt=this.popToken(),at.push(qt),qt.text==="{")++Kt;else if(qt.text==="}"){if(--Kt,Kt===-1)throw new q("Extra }",qt)}else if(qt.text==="EOF")throw new q("Unexpected end of input in a macro argument, expected '"+(We&&xt?We[rr]:"}")+"'",qt);if(We&&xt)if((Kt===0||Kt===1&&We[rr]==="{")&&qt.text===We[rr]){if(++rr,rr===We.length){at.splice(-rr,rr);break}}else rr=0}while(Kt!==0||xt);return Rt.text==="{"&&at[at.length-1].text==="}"&&(at.pop(),at.shift()),at.reverse(),{tokens:at,start:Rt,end:qt}},De.consumeArgs=function(We,at){if(at){if(at.length!==We+1)throw new q("The length of delimiters doesn't match the number of args!");for(var xt=at[0],Rt=0;Rtthis.settings.maxExpand)throw new q("Too many expansions: infinite loop or need to increase maxExpand setting");var qt=Rt.tokens,Kt=this.consumeArgs(Rt.numArgs,Rt.delimiters);if(Rt.numArgs){qt=qt.slice();for(var rr=qt.length-1;rr>=0;--rr){var mr=qt[rr];if(mr.text==="#"){if(rr===0)throw new q("Incomplete placeholder at end of macro body",mr);if(mr=qt[--rr],mr.text==="#")qt.splice(rr+1,1);else if(/^[1-9]$/.test(mr.text)){var Fr;(Fr=qt).splice.apply(Fr,[rr,2].concat(Kt[+mr.text-1]))}else throw new q("Not a valid argument number",mr)}}}return this.pushTokens(qt),qt.length},De.expandAfterFuture=function(){return this.expandOnce(),this.future()},De.expandNextToken=function(){for(;;)if(this.expandOnce()===!1){var We=this.stack.pop();return We.treatAsRelax&&(We.text="\\relax"),We}throw new Error},De.expandMacro=function(We){return this.macros.has(We)?this.expandTokens([new La(We)]):void 0},De.expandTokens=function(We){var at=[],xt=this.stack.length;for(this.pushTokens(We);this.stack.length>xt;)if(this.expandOnce(!0)===!1){var Rt=this.stack.pop();Rt.treatAsRelax&&(Rt.noexpand=!1,Rt.treatAsRelax=!1),at.push(Rt)}return at},De.expandMacroAsText=function(We){var at=this.expandMacro(We);return at&&at.map(function(xt){return xt.text}).join("")},De._getExpansion=function(We){var at=this.macros.get(We);if(at==null)return at;if(We.length===1){var xt=this.lexer.catcodes[We];if(xt!=null&&xt!==13)return}var Rt=typeof at=="function"?at(this):at;if(typeof Rt=="string"){var qt=0;if(Rt.indexOf("#")!==-1)for(var Kt=Rt.replace(/##/g,"");Kt.indexOf("#"+(qt+1))!==-1;)++qt;for(var rr=new Xe(Rt,this.settings),mr=[],Fr=rr.lex();Fr.text!=="EOF";)mr.push(Fr),Fr=rr.lex();mr.reverse();var Vr={tokens:mr,numArgs:qt};return Vr}return Rt},De.isDefined=function(We){return this.macros.has(We)||Ba.hasOwnProperty(We)||Ar.math.hasOwnProperty(We)||Ar.text.hasOwnProperty(We)||Tn.hasOwnProperty(We)},De.isExpandable=function(We){var at=this.macros.get(We);return at!=null?typeof at=="string"||typeof at=="function"||!at.unexpandable:Ba.hasOwnProperty(We)&&!Ba[We].primitive},Tt}(),Ln=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,ai=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),wi={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Mi={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"},Ki=function(){function Tt(qe,We){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Nn(qe,We,this.mode),this.settings=We,this.leftrightDepth=0}var De=Tt.prototype;return De.expect=function(We,at){if(at===void 0&&(at=!0),this.fetch().text!==We)throw new q("Expected '"+We+"', got '"+this.fetch().text+"'",this.fetch());at&&this.consume()},De.consume=function(){this.nextToken=null},De.fetch=function(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken},De.switchMode=function(We){this.mode=We,this.gullet.switchMode(We)},De.parse=function(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var We=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),We}finally{this.gullet.endGroups()}},De.subparse=function(We){var at=this.nextToken;this.consume(),this.gullet.pushToken(new La("}")),this.gullet.pushTokens(We);var xt=this.parseExpression(!1);return this.expect("}"),this.nextToken=at,xt},De.parseExpression=function(We,at){for(var xt=[];;){this.mode==="math"&&this.consumeSpaces();var Rt=this.fetch();if(Tt.endOfExpression.indexOf(Rt.text)!==-1||at&&Rt.text===at||We&&Ba[Rt.text]&&Ba[Rt.text].infix)break;var qt=this.parseAtom(at);if(qt){if(qt.type==="internal")continue}else break;xt.push(qt)}return this.mode==="text"&&this.formLigatures(xt),this.handleInfixNodes(xt)},De.handleInfixNodes=function(We){for(var at=-1,xt,Rt=0;Rt=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+at[0]+'" used in math mode',We);var rr=Ar[this.mode][at].group,mr=Yi.range(We),Fr;if(Dr.hasOwnProperty(rr)){var Vr=rr;Fr={type:"atom",mode:this.mode,family:Vr,loc:mr,text:at}}else Fr={type:rr,mode:this.mode,loc:mr,text:at};Kt=Fr}else if(at.charCodeAt(0)>=128)this.settings.strict&&(Te(at.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+at[0]+'" used in math mode',We):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+at[0]+'"'+(" ("+at.charCodeAt(0)+")"),We)),Kt={type:"textord",mode:"text",loc:Yi.range(We),text:at};else return null;if(this.consume(),qt)for(var zr=0;zr0?k.src.charCodeAt(m-1):-1,G=m+1<=V?k.src.charCodeAt(m+1):-1,(M===32||M===9||G>=48&&G<=57)&&($=!1),(G===32||G===9)&&(q=!1),{can_open:q,can_close:$}}function math_inline(k,m){var M,G,V,q,$;if(k.src[k.pos]!=="$")return!1;if(q=isValidDelim(k,k.pos),!q.can_open)return m||(k.pending+="$"),k.pos+=1,!0;for(M=k.pos+1,G=M;(G=k.src.indexOf("$",G))!==-1;){for($=G-1;k.src[$]==="\\";)$-=1;if((G-$)%2==1)break;G+=1}return G===-1?(m||(k.pending+="$"),k.pos=M,!0):G-M===0?(m||(k.pending+="$$"),k.pos=M+1,!0):(q=isValidDelim(k,G),q.can_close?(m||(V=k.push("math_inline","math",0),V.markup="$",V.content=k.src.slice(M,G)),k.pos=G+1,!0):(m||(k.pending+="$"),k.pos=M,!0))}function math_block(k,m,M,G){var V,q,$,D,B=!1,R,U=k.bMarks[m]+k.tShift[m],K=k.eMarks[m];if(U+2>K||k.src.slice(U,U+2)!=="$$")return!1;if(U+=2,V=k.src.slice(U,K),G)return!0;for(V.trim().slice(-2)==="$$"&&(V=V.trim().slice(0,-2),B=!0),$=m;!B&&($++,!($>=M||(U=k.bMarks[$]+k.tShift[$],K=k.eMarks[$],U/g,">").replace(/"/g,""").replace(/'/g,"'")}var markdownItKatex=function(m,M){M=M||{},M.katex&&(katex=M.katex),M.blockClass||(M.blockClass="");var G=function(D){M.displayMode=!1;try{return katex.renderToString(D,M)}catch(B){return M.throwOnError&&console.log(B),`${escapeHtml$1(D)}`}},V=function(D,B){return G(D[B].content)},q=function(D){M.displayMode=!0;try{return`

`+katex.renderToString(D,M)+"

"}catch(B){return M.throwOnError&&console.log(B),`

${escapeHtml$1(D)}

`}},$=function(D,B){return q(D[B].content)+` -`};m.inline.ruler.after("escape","math_inline",math_inline),m.block.ruler.after("blockquote","math_block",math_block,{alt:["paragraph","reference","blockquote","list"]}),m.renderer.rules.math_inline=V,m.renderer.rules.math_block=$};const mdKatex=getDefaultExportFromCjs(markdownItKatex);function deepFreeze(k){return k instanceof Map?k.clear=k.delete=k.set=function(){throw new Error("map is read-only")}:k instanceof Set&&(k.add=k.clear=k.delete=function(){throw new Error("set is read-only")}),Object.freeze(k),Object.getOwnPropertyNames(k).forEach(m=>{const M=k[m],G=typeof M;(G==="object"||G==="function")&&!Object.isFrozen(M)&&deepFreeze(M)}),k}class Response{constructor(m){m.data===void 0&&(m.data={}),this.data=m.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function escapeHTML(k){return k.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function inherit$1(k,...m){const M=Object.create(null);for(const G in k)M[G]=k[G];return m.forEach(function(G){for(const V in G)M[V]=G[V]}),M}const SPAN_CLOSE="",emitsWrappingTags=k=>!!k.scope,scopeToCSSClass=(k,{prefix:m})=>{if(k.startsWith("language:"))return k.replace("language:","language-");if(k.includes(".")){const M=k.split(".");return[`${m}${M.shift()}`,...M.map((G,V)=>`${G}${"_".repeat(V+1)}`)].join(" ")}return`${m}${k}`};class HTMLRenderer{constructor(m,M){this.buffer="",this.classPrefix=M.classPrefix,m.walk(this)}addText(m){this.buffer+=escapeHTML(m)}openNode(m){if(!emitsWrappingTags(m))return;const M=scopeToCSSClass(m.scope,{prefix:this.classPrefix});this.span(M)}closeNode(m){emitsWrappingTags(m)&&(this.buffer+=SPAN_CLOSE)}value(){return this.buffer}span(m){this.buffer+=``}}const newNode=(k={})=>{const m={children:[]};return Object.assign(m,k),m};class TokenTree{constructor(){this.rootNode=newNode(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(m){this.top.children.push(m)}openNode(m){const M=newNode({scope:m});this.add(M),this.stack.push(M)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(m){return this.constructor._walk(m,this.rootNode)}static _walk(m,M){return typeof M=="string"?m.addText(M):M.children&&(m.openNode(M),M.children.forEach(G=>this._walk(m,G)),m.closeNode(M)),m}static _collapse(m){typeof m!="string"&&m.children&&(m.children.every(M=>typeof M=="string")?m.children=[m.children.join("")]:m.children.forEach(M=>{TokenTree._collapse(M)}))}}class TokenTreeEmitter extends TokenTree{constructor(m){super(),this.options=m}addText(m){m!==""&&this.add(m)}startScope(m){this.openNode(m)}endScope(){this.closeNode()}__addSublanguage(m,M){const G=m.root;M&&(G.scope=`language:${M}`),this.add(G)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function source(k){return k?typeof k=="string"?k:k.source:null}function lookahead(k){return concat("(?=",k,")")}function anyNumberOfTimes(k){return concat("(?:",k,")*")}function optional(k){return concat("(?:",k,")?")}function concat(...k){return k.map(M=>source(M)).join("")}function stripOptionsFromArgs(k){const m=k[k.length-1];return typeof m=="object"&&m.constructor===Object?(k.splice(k.length-1,1),m):{}}function either(...k){return"("+(stripOptionsFromArgs(k).capture?"":"?:")+k.map(G=>source(G)).join("|")+")"}function countMatchGroups(k){return new RegExp(k.toString()+"|").exec("").length-1}function startsWith(k,m){const M=k&&k.exec(m);return M&&M.index===0}const BACKREF_RE=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _rewriteBackreferences(k,{joinWith:m}){let M=0;return k.map(G=>{M+=1;const V=M;let q=source(G),$="";for(;q.length>0;){const D=BACKREF_RE.exec(q);if(!D){$+=q;break}$+=q.substring(0,D.index),q=q.substring(D.index+D[0].length),D[0][0]==="\\"&&D[1]?$+="\\"+String(Number(D[1])+V):($+=D[0],D[0]==="("&&M++)}return $}).map(G=>`(${G})`).join(m)}const MATCH_NOTHING_RE=/\b\B/,IDENT_RE="[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",NUMBER_RE="\\b\\d+(\\.\\d+)?",C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",BINARY_NUMBER_RE="\\b(0b[01]+)",RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG=(k={})=>{const m=/^#![ ]*\//;return k.binary&&(k.begin=concat(m,/.*\b/,k.binary,/\b.*/)),inherit$1({scope:"meta",begin:m,end:/$/,relevance:0,"on:begin":(M,G)=>{M.index!==0&&G.ignoreMatch()}},k)},BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},APOS_STRING_MODE={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[BACKSLASH_ESCAPE]},QUOTE_STRING_MODE={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[BACKSLASH_ESCAPE]},PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(k,m,M={}){const G=inherit$1({scope:"comment",begin:k,end:m,contains:[]},M);G.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const V=either("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return G.contains.push({begin:concat(/[ ]+/,"(",V,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),G},C_LINE_COMMENT_MODE=COMMENT("//","$"),C_BLOCK_COMMENT_MODE=COMMENT("/\\*","\\*/"),HASH_COMMENT_MODE=COMMENT("#","$"),NUMBER_MODE={scope:"number",begin:NUMBER_RE,relevance:0},C_NUMBER_MODE={scope:"number",begin:C_NUMBER_RE,relevance:0},BINARY_NUMBER_MODE={scope:"number",begin:BINARY_NUMBER_RE,relevance:0},REGEXP_MODE={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[BACKSLASH_ESCAPE]}]},TITLE_MODE={scope:"title",begin:IDENT_RE,relevance:0},UNDERSCORE_TITLE_MODE={scope:"title",begin:UNDERSCORE_IDENT_RE,relevance:0},METHOD_GUARD={begin:"\\.\\s*"+UNDERSCORE_IDENT_RE,relevance:0},END_SAME_AS_BEGIN=function(k){return Object.assign(k,{"on:begin":(m,M)=>{M.data._beginMatch=m[1]},"on:end":(m,M)=>{M.data._beginMatch!==m[1]&&M.ignoreMatch()}})};var MODES=Object.freeze({__proto__:null,APOS_STRING_MODE,BACKSLASH_ESCAPE,BINARY_NUMBER_MODE,BINARY_NUMBER_RE,COMMENT,C_BLOCK_COMMENT_MODE,C_LINE_COMMENT_MODE,C_NUMBER_MODE,C_NUMBER_RE,END_SAME_AS_BEGIN,HASH_COMMENT_MODE,IDENT_RE,MATCH_NOTHING_RE,METHOD_GUARD,NUMBER_MODE,NUMBER_RE,PHRASAL_WORDS_MODE,QUOTE_STRING_MODE,REGEXP_MODE,RE_STARTERS_RE,SHEBANG,TITLE_MODE,UNDERSCORE_IDENT_RE,UNDERSCORE_TITLE_MODE});function skipIfHasPrecedingDot(k,m){k.input[k.index-1]==="."&&m.ignoreMatch()}function scopeClassName(k,m){k.className!==void 0&&(k.scope=k.className,delete k.className)}function beginKeywords(k,m){m&&k.beginKeywords&&(k.begin="\\b("+k.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",k.__beforeBegin=skipIfHasPrecedingDot,k.keywords=k.keywords||k.beginKeywords,delete k.beginKeywords,k.relevance===void 0&&(k.relevance=0))}function compileIllegal(k,m){Array.isArray(k.illegal)&&(k.illegal=either(...k.illegal))}function compileMatch(k,m){if(k.match){if(k.begin||k.end)throw new Error("begin & end are not supported with match");k.begin=k.match,delete k.match}}function compileRelevance(k,m){k.relevance===void 0&&(k.relevance=1)}const beforeMatchExt=(k,m)=>{if(!k.beforeMatch)return;if(k.starts)throw new Error("beforeMatch cannot be used with starts");const M=Object.assign({},k);Object.keys(k).forEach(G=>{delete k[G]}),k.keywords=M.keywords,k.begin=concat(M.beforeMatch,lookahead(M.begin)),k.starts={relevance:0,contains:[Object.assign(M,{endsParent:!0})]},k.relevance=0,delete M.beforeMatch},COMMON_KEYWORDS=["of","and","for","in","not","or","if","then","parent","list","value"],DEFAULT_KEYWORD_SCOPE="keyword";function compileKeywords(k,m,M=DEFAULT_KEYWORD_SCOPE){const G=Object.create(null);return typeof k=="string"?V(M,k.split(" ")):Array.isArray(k)?V(M,k):Object.keys(k).forEach(function(q){Object.assign(G,compileKeywords(k[q],m,q))}),G;function V(q,$){m&&($=$.map(D=>D.toLowerCase())),$.forEach(function(D){const B=D.split("|");G[B[0]]=[q,scoreForKeyword(B[0],B[1])]})}}function scoreForKeyword(k,m){return m?Number(m):commonKeyword(k)?0:1}function commonKeyword(k){return COMMON_KEYWORDS.includes(k.toLowerCase())}const seenDeprecations={},error$1=k=>{console.error(k)},warn=(k,...m)=>{console.log(`WARN: ${k}`,...m)},deprecated=(k,m)=>{seenDeprecations[`${k}/${m}`]||(console.log(`Deprecated as of ${k}. ${m}`),seenDeprecations[`${k}/${m}`]=!0)},MultiClassError=new Error;function remapScopeNames(k,m,{key:M}){let G=0;const V=k[M],q={},$={};for(let D=1;D<=m.length;D++)$[D+G]=V[D],q[D+G]=!0,G+=countMatchGroups(m[D-1]);k[M]=$,k[M]._emit=q,k[M]._multi=!0}function beginMultiClass(k){if(Array.isArray(k.begin)){if(k.skip||k.excludeBegin||k.returnBegin)throw error$1("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),MultiClassError;if(typeof k.beginScope!="object"||k.beginScope===null)throw error$1("beginScope must be object"),MultiClassError;remapScopeNames(k,k.begin,{key:"beginScope"}),k.begin=_rewriteBackreferences(k.begin,{joinWith:""})}}function endMultiClass(k){if(Array.isArray(k.end)){if(k.skip||k.excludeEnd||k.returnEnd)throw error$1("skip, excludeEnd, returnEnd not compatible with endScope: {}"),MultiClassError;if(typeof k.endScope!="object"||k.endScope===null)throw error$1("endScope must be object"),MultiClassError;remapScopeNames(k,k.end,{key:"endScope"}),k.end=_rewriteBackreferences(k.end,{joinWith:""})}}function scopeSugar(k){k.scope&&typeof k.scope=="object"&&k.scope!==null&&(k.beginScope=k.scope,delete k.scope)}function MultiClass(k){scopeSugar(k),typeof k.beginScope=="string"&&(k.beginScope={_wrap:k.beginScope}),typeof k.endScope=="string"&&(k.endScope={_wrap:k.endScope}),beginMultiClass(k),endMultiClass(k)}function compileLanguage(k){function m($,D){return new RegExp(source($),"m"+(k.case_insensitive?"i":"")+(k.unicodeRegex?"u":"")+(D?"g":""))}class M{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(D,B){B.position=this.position++,this.matchIndexes[this.matchAt]=B,this.regexes.push([B,D]),this.matchAt+=countMatchGroups(D)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const D=this.regexes.map(B=>B[1]);this.matcherRe=m(_rewriteBackreferences(D,{joinWith:"|"}),!0),this.lastIndex=0}exec(D){this.matcherRe.lastIndex=this.lastIndex;const B=this.matcherRe.exec(D);if(!B)return null;const R=B.findIndex((K,z)=>z>0&&K!==void 0),U=this.matchIndexes[R];return B.splice(0,R),Object.assign(B,U)}}class G{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(D){if(this.multiRegexes[D])return this.multiRegexes[D];const B=new M;return this.rules.slice(D).forEach(([R,U])=>B.addRule(R,U)),B.compile(),this.multiRegexes[D]=B,B}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(D,B){this.rules.push([D,B]),B.type==="begin"&&this.count++}exec(D){const B=this.getMatcher(this.regexIndex);B.lastIndex=this.lastIndex;let R=B.exec(D);if(this.resumingScanAtSamePosition()&&!(R&&R.index===this.lastIndex)){const U=this.getMatcher(0);U.lastIndex=this.lastIndex+1,R=U.exec(D)}return R&&(this.regexIndex+=R.position+1,this.regexIndex===this.count&&this.considerAll()),R}}function V($){const D=new G;return $.contains.forEach(B=>D.addRule(B.begin,{rule:B,type:"begin"})),$.terminatorEnd&&D.addRule($.terminatorEnd,{type:"end"}),$.illegal&&D.addRule($.illegal,{type:"illegal"}),D}function q($,D){const B=$;if($.isCompiled)return B;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(U=>U($,D)),k.compilerExtensions.forEach(U=>U($,D)),$.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(U=>U($,D)),$.isCompiled=!0;let R=null;return typeof $.keywords=="object"&&$.keywords.$pattern&&($.keywords=Object.assign({},$.keywords),R=$.keywords.$pattern,delete $.keywords.$pattern),R=R||/\w+/,$.keywords&&($.keywords=compileKeywords($.keywords,k.case_insensitive)),B.keywordPatternRe=m(R,!0),D&&($.begin||($.begin=/\B|\b/),B.beginRe=m(B.begin),!$.end&&!$.endsWithParent&&($.end=/\B|\b/),$.end&&(B.endRe=m(B.end)),B.terminatorEnd=source(B.end)||"",$.endsWithParent&&D.terminatorEnd&&(B.terminatorEnd+=($.end?"|":"")+D.terminatorEnd)),$.illegal&&(B.illegalRe=m($.illegal)),$.contains||($.contains=[]),$.contains=[].concat(...$.contains.map(function(U){return expandOrCloneMode(U==="self"?$:U)})),$.contains.forEach(function(U){q(U,B)}),$.starts&&q($.starts,D),B.matcher=V(B),B}if(k.compilerExtensions||(k.compilerExtensions=[]),k.contains&&k.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return k.classNameAliases=inherit$1(k.classNameAliases||{}),q(k)}function dependencyOnParent(k){return k?k.endsWithParent||dependencyOnParent(k.starts):!1}function expandOrCloneMode(k){return k.variants&&!k.cachedVariants&&(k.cachedVariants=k.variants.map(function(m){return inherit$1(k,{variants:null},m)})),k.cachedVariants?k.cachedVariants:dependencyOnParent(k)?inherit$1(k,{starts:k.starts?inherit$1(k.starts):null}):Object.isFrozen(k)?inherit$1(k):k}var version$3="11.9.0";class HTMLInjectionError extends Error{constructor(m,M){super(m),this.name="HTMLInjectionError",this.html=M}}const escape$1=escapeHTML,inherit$2=inherit$1,NO_MATCH=Symbol("nomatch"),MAX_KEYWORD_HITS=7,HLJS=function(k){const m=Object.create(null),M=Object.create(null),G=[];let V=!0;const q="Could not find the language '{}', did you forget to load/include a language module?",$={disableAutodetect:!0,name:"Plain text",contains:[]};let D={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:TokenTreeEmitter};function B(Ce){return D.noHighlightRe.test(Ce)}function R(Ce){let pe=Ce.className+" ";pe+=Ce.parentNode?Ce.parentNode.className:"";const _e=D.languageDetectRe.exec(pe);if(_e){const Ge=se(_e[1]);return Ge||(warn(q.replace("{}",_e[1])),warn("Falling back to no-highlight mode for this block.",Ce)),Ge?_e[1]:"no-highlight"}return pe.split(/\s+/).find(Ge=>B(Ge)||se(Ge))}function U(Ce,pe,_e){let Ge="",Te="";typeof pe=="object"?(Ge=Ce,_e=pe.ignoreIllegals,Te=pe.language):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0",`Please use highlight(code, options) instead. -https://github.com/highlightjs/highlight.js/issues/2277`),Te=Ce,Ge=pe),_e===void 0&&(_e=!0);const Ne={code:Ge,language:Te};ve("before:highlight",Ne);const Ze=Ne.result?Ne.result:K(Ne.language,Ne.code,_e);return Ze.code=Ne.code,ve("after:highlight",Ze),Ze}function K(Ce,pe,_e,Ge){const Te=Object.create(null);function Ne(rt,He){return rt.keywords[He]}function Ze(){if(!Ye.keywords){ot.addText(st);return}let rt=0;Ye.keywordPatternRe.lastIndex=0;let He=Ye.keywordPatternRe.exec(st),Je="";for(;He;){Je+=st.substring(rt,He.index);const St=Qe.case_insensitive?He[0].toLowerCase():He[0],bt=Ne(Ye,St);if(bt){const[pt,wt]=bt;if(ot.addText(Je),Je="",Te[St]=(Te[St]||0)+1,Te[St]<=MAX_KEYWORD_HITS&&(dt+=wt),pt.startsWith("_"))Je+=He[0];else{const Pt=Qe.classNameAliases[pt]||pt;De(He[0],Pt)}}else Je+=He[0];rt=Ye.keywordPatternRe.lastIndex,He=Ye.keywordPatternRe.exec(st)}Je+=st.substring(rt),ot.addText(Je)}function ze(){if(st==="")return;let rt=null;if(typeof Ye.subLanguage=="string"){if(!m[Ye.subLanguage]){ot.addText(st);return}rt=K(Ye.subLanguage,st,!0,tt[Ye.subLanguage]),tt[Ye.subLanguage]=rt._top}else rt=e(st,Ye.subLanguage.length?Ye.subLanguage:null);Ye.relevance>0&&(dt+=rt.relevance),ot.__addSublanguage(rt._emitter,rt.language)}function Ae(){Ye.subLanguage!=null?ze():Ze(),st=""}function De(rt,He){rt!==""&&(ot.startScope(He),ot.addText(rt),ot.endScope())}function Ue(rt,He){let Je=1;const St=He.length-1;for(;Je<=St;){if(!rt._emit[Je]){Je++;continue}const bt=Qe.classNameAliases[rt[Je]]||rt[Je],pt=He[Je];bt?De(pt,bt):(st=pt,Ze(),st=""),Je++}}function we(rt,He){return rt.scope&&typeof rt.scope=="string"&&ot.openNode(Qe.classNameAliases[rt.scope]||rt.scope),rt.beginScope&&(rt.beginScope._wrap?(De(st,Qe.classNameAliases[rt.beginScope._wrap]||rt.beginScope._wrap),st=""):rt.beginScope._multi&&(Ue(rt.beginScope,He),st="")),Ye=Object.create(rt,{parent:{value:Ye}}),Ye}function Ie(rt,He,Je){let St=startsWith(rt.endRe,Je);if(St){if(rt["on:end"]){const bt=new Response(rt);rt["on:end"](He,bt),bt.isMatchIgnored&&(St=!1)}if(St){for(;rt.endsParent&&rt.parent;)rt=rt.parent;return rt}}if(rt.endsWithParent)return Ie(rt.parent,He,Je)}function Be(rt){return Ye.matcher.regexIndex===0?(st+=rt[0],1):(ut=!0,0)}function Ke(rt){const He=rt[0],Je=rt.rule,St=new Response(Je),bt=[Je.__beforeBegin,Je["on:begin"]];for(const pt of bt)if(pt&&(pt(rt,St),St.isMatchIgnored))return Be(He);return Je.skip?st+=He:(Je.excludeBegin&&(st+=He),Ae(),!Je.returnBegin&&!Je.excludeBegin&&(st=He)),we(Je,rt),Je.returnBegin?0:He.length}function Ve(rt){const He=rt[0],Je=pe.substring(rt.index),St=Ie(Ye,rt,Je);if(!St)return NO_MATCH;const bt=Ye;Ye.endScope&&Ye.endScope._wrap?(Ae(),De(He,Ye.endScope._wrap)):Ye.endScope&&Ye.endScope._multi?(Ae(),Ue(Ye.endScope,rt)):bt.skip?st+=He:(bt.returnEnd||bt.excludeEnd||(st+=He),Ae(),bt.excludeEnd&&(st=He));do Ye.scope&&ot.closeNode(),!Ye.skip&&!Ye.subLanguage&&(dt+=Ye.relevance),Ye=Ye.parent;while(Ye!==St.parent);return St.starts&&we(St.starts,rt),bt.returnEnd?0:He.length}function je(){const rt=[];for(let He=Ye;He!==Qe;He=He.parent)He.scope&&rt.unshift(He.scope);rt.forEach(He=>ot.openNode(He))}let Le={};function et(rt,He){const Je=He&&He[0];if(st+=rt,Je==null)return Ae(),0;if(Le.type==="begin"&&He.type==="end"&&Le.index===He.index&&Je===""){if(st+=pe.slice(He.index,He.index+1),!V){const St=new Error(`0 width match regex (${Ce})`);throw St.languageName=Ce,St.badRule=Le.rule,St}return 1}if(Le=He,He.type==="begin")return Ke(He);if(He.type==="illegal"&&!_e){const St=new Error('Illegal lexeme "'+Je+'" for mode "'+(Ye.scope||"")+'"');throw St.mode=Ye,St}else if(He.type==="end"){const St=Ve(He);if(St!==NO_MATCH)return St}if(He.type==="illegal"&&Je==="")return 1;if(mt>1e5&&mt>He.index*3)throw new Error("potential infinite loop, way more iterations than matches");return st+=Je,Je.length}const Qe=se(Ce);if(!Qe)throw error$1(q.replace("{}",Ce)),new Error('Unknown language: "'+Ce+'"');const Fe=compileLanguage(Qe);let $e="",Ye=Ge||Fe;const tt={},ot=new D.__emitter(D);je();let st="",dt=0,ct=0,mt=0,ut=!1;try{if(Qe.__emitTokens)Qe.__emitTokens(pe,ot);else{for(Ye.matcher.considerAll();;){mt++,ut?ut=!1:Ye.matcher.considerAll(),Ye.matcher.lastIndex=ct;const rt=Ye.matcher.exec(pe);if(!rt)break;const He=pe.substring(ct,rt.index),Je=et(He,rt);ct=rt.index+Je}et(pe.substring(ct))}return ot.finalize(),$e=ot.toHTML(),{language:Ce,value:$e,relevance:dt,illegal:!1,_emitter:ot,_top:Ye}}catch(rt){if(rt.message&&rt.message.includes("Illegal"))return{language:Ce,value:escape$1(pe),illegal:!0,relevance:0,_illegalBy:{message:rt.message,index:ct,context:pe.slice(ct-100,ct+100),mode:rt.mode,resultSoFar:$e},_emitter:ot};if(V)return{language:Ce,value:escape$1(pe),illegal:!1,relevance:0,errorRaised:rt,_emitter:ot,_top:Ye};throw rt}}function z(Ce){const pe={value:escape$1(Ce),illegal:!1,relevance:0,_top:$,_emitter:new D.__emitter(D)};return pe._emitter.addText(Ce),pe}function e(Ce,pe){pe=pe||D.languages||Object.keys(m);const _e=z(Ce),Ge=pe.filter(se).filter(Ee).map(Ae=>K(Ae,Ce,!1));Ge.unshift(_e);const Te=Ge.sort((Ae,De)=>{if(Ae.relevance!==De.relevance)return De.relevance-Ae.relevance;if(Ae.language&&De.language){if(se(Ae.language).supersetOf===De.language)return 1;if(se(De.language).supersetOf===Ae.language)return-1}return 0}),[Ne,Ze]=Te,ze=Ne;return ze.secondBest=Ze,ze}function ae(Ce,pe,_e){const Ge=pe&&M[pe]||_e;Ce.classList.add("hljs"),Ce.classList.add(`language-${Ge}`)}function ie(Ce){let pe=null;const _e=R(Ce);if(B(_e))return;if(ve("before:highlightElement",{el:Ce,language:_e}),Ce.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",Ce);return}if(Ce.children.length>0&&(D.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Ce)),D.throwUnescapedHTML))throw new HTMLInjectionError("One of your code blocks includes unescaped HTML.",Ce.innerHTML);pe=Ce;const Ge=pe.textContent,Te=_e?U(Ge,{language:_e,ignoreIllegals:!0}):e(Ge);Ce.innerHTML=Te.value,Ce.dataset.highlighted="yes",ae(Ce,_e,Te.language),Ce.result={language:Te.language,re:Te.relevance,relevance:Te.relevance},Te.secondBest&&(Ce.secondBest={language:Te.secondBest.language,relevance:Te.secondBest.relevance}),ve("after:highlightElement",{el:Ce,result:Te,text:Ge})}function he(Ce){D=inherit$2(D,Ce)}const J=()=>{L(),deprecated("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function X(){L(),deprecated("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let W=!1;function L(){if(document.readyState==="loading"){W=!0;return}document.querySelectorAll(D.cssSelector).forEach(ie)}function Q(){W&&L()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Q,!1);function ce(Ce,pe){let _e=null;try{_e=pe(k)}catch(Ge){if(error$1("Language definition for '{}' could not be registered.".replace("{}",Ce)),V)error$1(Ge);else throw Ge;_e=$}_e.name||(_e.name=Ce),m[Ce]=_e,_e.rawDefinition=pe.bind(null,k),_e.aliases&&me(_e.aliases,{languageName:Ce})}function de(Ce){delete m[Ce];for(const pe of Object.keys(M))M[pe]===Ce&&delete M[pe]}function oe(){return Object.keys(m)}function se(Ce){return Ce=(Ce||"").toLowerCase(),m[Ce]||m[M[Ce]]}function me(Ce,{languageName:pe}){typeof Ce=="string"&&(Ce=[Ce]),Ce.forEach(_e=>{M[_e.toLowerCase()]=pe})}function Ee(Ce){const pe=se(Ce);return pe&&!pe.disableAutodetect}function ke(Ce){Ce["before:highlightBlock"]&&!Ce["before:highlightElement"]&&(Ce["before:highlightElement"]=pe=>{Ce["before:highlightBlock"](Object.assign({block:pe.el},pe))}),Ce["after:highlightBlock"]&&!Ce["after:highlightElement"]&&(Ce["after:highlightElement"]=pe=>{Ce["after:highlightBlock"](Object.assign({block:pe.el},pe))})}function xe(Ce){ke(Ce),G.push(Ce)}function fe(Ce){const pe=G.indexOf(Ce);pe!==-1&&G.splice(pe,1)}function ve(Ce,pe){const _e=Ce;G.forEach(function(Ge){Ge[_e]&&Ge[_e](pe)})}function ye(Ce){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),ie(Ce)}Object.assign(k,{highlight:U,highlightAuto:e,highlightAll:L,highlightElement:ie,highlightBlock:ye,configure:he,initHighlighting:J,initHighlightingOnLoad:X,registerLanguage:ce,unregisterLanguage:de,listLanguages:oe,getLanguage:se,registerAliases:me,autoDetection:Ee,inherit:inherit$2,addPlugin:xe,removePlugin:fe}),k.debugMode=function(){V=!1},k.safeMode=function(){V=!0},k.versionString=version$3,k.regex={concat,lookahead,either,optional,anyNumberOfTimes};for(const Ce in MODES)typeof MODES[Ce]=="object"&&deepFreeze(MODES[Ce]);return Object.assign(k,MODES),k},highlight=HLJS({});highlight.newInstance=()=>HLJS({});var core=highlight;highlight.HighlightJS=highlight;highlight.default=highlight;var _1c_1,hasRequired_1c;function require_1c(){if(hasRequired_1c)return _1c_1;hasRequired_1c=1;function k(m){const M="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",q="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",B="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",R="разделительстраниц разделительстрок символтабуляции ",U="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",K="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",z="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",e=R+U+K+z,ae="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",ie="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",he="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",J="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",X="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",W="отображениевремениэлементовпланировщика ",L="типфайлаформатированногодокумента ",Q="обходрезультатазапроса типзаписизапроса ",ce="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",de="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",oe="типизмеренияпостроителязапроса ",se="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",me="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",Ee="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",ke="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",xe="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",fe="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",ve="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",ye="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",Ce="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",pe="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",_e="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",Ge=ae+ie+he+J+X+W+L+Q+ce+de+oe+se+me+Ee+ke+xe+fe+ve+ye+Ce+pe+_e,Ze="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",ze="null истина ложь неопределено",Ae=m.inherit(m.NUMBER_MODE),De={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Ue={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},we=m.inherit(m.C_LINE_COMMENT_MODE),Ie={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:M,keyword:q+B},contains:[we]},Be={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Ke={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:M,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:M,keyword:"знач",literal:ze},contains:[Ae,De,Ue]},we]},m.inherit(m.TITLE_MODE,{begin:M})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:M,keyword:q,built_in:e,class:Ge,type:Ze,literal:ze},contains:[Ie,Ke,we,Be,Ae,De,Ue]}}return _1c_1=k,_1c_1}var abnf_1,hasRequiredAbnf;function requireAbnf(){if(hasRequiredAbnf)return abnf_1;hasRequiredAbnf=1;function k(m){const M=m.regex,G=/^[a-zA-Z][a-zA-Z0-9-]*/,V=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],q=m.COMMENT(/;/,/$/),$={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},D={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},B={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},R={scope:"symbol",match:/%[si](?=".*")/},U={scope:"attribute",match:M.concat(G,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:V,contains:[{scope:"operator",match:/=\/?/},U,q,$,D,B,R,m.QUOTE_STRING_MODE,m.NUMBER_MODE]}}return abnf_1=k,abnf_1}var accesslog_1,hasRequiredAccesslog;function requireAccesslog(){if(hasRequiredAccesslog)return accesslog_1;hasRequiredAccesslog=1;function k(m){const M=m.regex,G=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:M.concat(/"/,M.either(...G)),end:/"/,keywords:G,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return accesslog_1=k,accesslog_1}var actionscript_1,hasRequiredActionscript;function requireActionscript(){if(hasRequiredActionscript)return actionscript_1;hasRequiredActionscript=1;function k(m){const M=m.regex,G=/[a-zA-Z_$][a-zA-Z0-9_$]*/,V=M.concat(G,M.concat("(\\.",G,")*")),q=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,$={className:"rest_arg",begin:/[.]{3}/,end:G,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,V],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,G],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[m.inherit(m.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,$]},{begin:M.concat(/:\s*/,q)}]},m.METHOD_GUARD],illegal:/#/}}return actionscript_1=k,actionscript_1}var ada_1,hasRequiredAda;function requireAda(){if(hasRequiredAda)return ada_1;hasRequiredAda=1;function k(m){const M="\\d(_|\\d)*",G="[eE][-+]?"+M,V=M+"(\\."+M+")?("+G+")?",q="\\w+",D="\\b("+(M+"#"+q+"(\\."+q+")?#("+G+")?")+"|"+V+")",B="[A-Za-z](_?[A-Za-z0-9.])*",R=`[]\\{\\}%#'"`,U=m.COMMENT("--","$"),K={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:R,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:B,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[U,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:D,relevance:0},{className:"symbol",begin:"'"+B},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:R},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[U,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:R},K,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:R}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:R},K]}}return ada_1=k,ada_1}var angelscript_1,hasRequiredAngelscript;function requireAngelscript(){if(hasRequiredAngelscript)return angelscript_1;hasRequiredAngelscript=1;function k(m){const M={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},G={className:"symbol",begin:"[a-zA-Z0-9_]+@"},V={className:"keyword",begin:"<",end:">",contains:[M,G]};return M.contains=[V],G.contains=[V],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[m.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE],relevance:0},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},M,G,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return angelscript_1=k,angelscript_1}var apache_1,hasRequiredApache;function requireApache(){if(hasRequiredApache)return apache_1;hasRequiredApache=1;function k(m){const M={className:"number",begin:/[$%]\d+/},G={className:"number",begin:/\b\d+/},V={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},q={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[m.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[V,q,m.inherit(m.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",M]},V,G,m.QUOTE_STRING_MODE]}}],illegal:/\S/}}return apache_1=k,apache_1}var applescript_1,hasRequiredApplescript;function requireApplescript(){if(hasRequiredApplescript)return applescript_1;hasRequiredApplescript=1;function k(m){const M=m.regex,G=m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),V={className:"params",begin:/\(/,end:/\)/,contains:["self",m.C_NUMBER_MODE,G]},q=m.COMMENT(/--/,/$/),$=m.COMMENT(/\(\*/,/\*\)/,{contains:["self",q]}),D=[q,$,m.HASH_COMMENT_MODE],B=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],R=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[G,m.C_NUMBER_MODE,{className:"built_in",begin:M.concat(/\b/,M.either(...R),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:M.concat(/\b/,M.either(...B),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[m.UNDERSCORE_TITLE_MODE,V]},...D],illegal:/\/\/|->|=>|\[\[/}}return applescript_1=k,applescript_1}var arcade_1,hasRequiredArcade;function requireArcade(){if(hasRequiredArcade)return arcade_1;hasRequiredArcade=1;function k(m){const M="[A-Za-z_][0-9A-Za-z_]*",G={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},V={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},q={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:m.C_NUMBER_RE}],relevance:0},$={className:"subst",begin:"\\$\\{",end:"\\}",keywords:G,contains:[]},D={className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,$]};$.contains=[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,D,q,m.REGEXP_MODE];const B=$.contains.concat([m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:G,contains:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,D,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,V,q,{begin:/[{,]\s*/,relevance:0,contains:[{begin:M+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:M,relevance:0}]}]},{begin:"("+m.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+M+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:M},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:G,contains:B}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{className:"title.function",begin:M}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:B}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return arcade_1=k,arcade_1}var arduino_1,hasRequiredArduino;function requireArduino(){if(hasRequiredArduino)return arduino_1;hasRequiredArduino=1;function k(M){const G=M.regex,V=M.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),q="decltype\\(auto\\)",$="[a-zA-Z_]\\w*::",D="<[^<>]+>",B="(?!struct)("+q+"|"+G.optional($)+"[a-zA-Z_]\\w*"+G.optional(D)+")",R={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},U="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",K={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[M.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+U+"|.)",end:"'",illegal:"."},M.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},z={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},e={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},M.inherit(K,{className:"string"}),{className:"string",begin:/<.*?>/},V,M.C_BLOCK_COMMENT_MODE]},ae={className:"title",begin:G.optional($)+M.IDENT_RE,relevance:0},ie=G.optional($)+M.IDENT_RE+"\\s*\\(",he=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],J=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],X=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],W=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],ce={type:J,keyword:he,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:X},de={className:"function.dispatch",relevance:0,keywords:{_hint:W},begin:G.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,M.IDENT_RE,G.lookahead(/(<[^<>]+>|)\s*\(/))},oe=[de,e,R,V,M.C_BLOCK_COMMENT_MODE,z,K],se={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:ce,contains:oe.concat([{begin:/\(/,end:/\)/,keywords:ce,contains:oe.concat(["self"]),relevance:0}]),relevance:0},me={className:"function",begin:"("+B+"[\\*&\\s]+)+"+ie,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:ce,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:q,keywords:ce,relevance:0},{begin:ie,returnBegin:!0,contains:[ae],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[K,z]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:ce,relevance:0,contains:[V,M.C_BLOCK_COMMENT_MODE,K,z,R,{begin:/\(/,end:/\)/,keywords:ce,relevance:0,contains:["self",V,M.C_BLOCK_COMMENT_MODE,K,z,R]}]},R,V,M.C_BLOCK_COMMENT_MODE,e]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:ce,illegal:"",keywords:ce,contains:["self",R]},{begin:M.IDENT_RE+"::",keywords:ce},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function m(M){const G={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},V=k(M),q=V.keywords;return q.type=[...q.type,...G.type],q.literal=[...q.literal,...G.literal],q.built_in=[...q.built_in,...G.built_in],q._hints=G._hints,V.name="Arduino",V.aliases=["ino"],V.supersetOf="cpp",V}return arduino_1=m,arduino_1}var armasm_1,hasRequiredArmasm;function requireArmasm(){if(hasRequiredArmasm)return armasm_1;hasRequiredArmasm=1;function k(m){const M={variants:[m.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),m.COMMENT("[;@]","$",{relevance:0}),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+m.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},M,m.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return armasm_1=k,armasm_1}var xml_1,hasRequiredXml;function requireXml(){if(hasRequiredXml)return xml_1;hasRequiredXml=1;function k(m){const M=m.regex,G=M.concat(/[\p{L}_]/u,M.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),V=/[\p{L}0-9._:-]+/u,q={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},$={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},D=m.inherit($,{begin:/\(/,end:/\)/}),B=m.inherit(m.APOS_STRING_MODE,{className:"string"}),R=m.inherit(m.QUOTE_STRING_MODE,{className:"string"}),U={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[$,R,B,D,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[$,D,R,B]}]}]},m.COMMENT(//,{relevance:10}),{begin://,relevance:10},q,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[R]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[U],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[U],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:M.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:G,relevance:0,starts:U}]},{className:"tag",begin:M.concat(/<\//,M.lookahead(M.concat(G,/>/))),contains:[{className:"name",begin:G,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return xml_1=k,xml_1}var asciidoc_1,hasRequiredAsciidoc;function requireAsciidoc(){if(hasRequiredAsciidoc)return asciidoc_1;hasRequiredAsciidoc=1;function k(m){const M=m.regex,G={begin:"^'{3,}[ \\t]*$",relevance:10},V=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],q=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:M.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],$=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:M.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],D={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},B={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[m.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),m.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},B,D,...V,...q,...$,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},G,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return asciidoc_1=k,asciidoc_1}var aspectj_1,hasRequiredAspectj;function requireAspectj(){if(hasRequiredAspectj)return aspectj_1;hasRequiredAspectj=1;function k(m){const M=m.regex,G=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],V=["get","set","args","call"];return{name:"AspectJ",keywords:G,illegal:/<\/|#/,contains:[m.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},m.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:G.concat(V),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},m.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:M.concat(m.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[m.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:G,illegal:/["\[\]]/,contains:[{begin:M.concat(m.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:G.concat(V),relevance:0},m.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:G,excludeEnd:!0,contains:[{begin:M.concat(m.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[m.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:G,contains:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},m.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return aspectj_1=k,aspectj_1}var autohotkey_1,hasRequiredAutohotkey;function requireAutohotkey(){if(hasRequiredAutohotkey)return autohotkey_1;hasRequiredAutohotkey=1;function k(m){const M={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[M,m.inherit(m.QUOTE_STRING_MODE,{contains:[M]}),m.COMMENT(";","$",{relevance:0}),m.C_BLOCK_COMMENT_MODE,{className:"number",begin:m.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return autohotkey_1=k,autohotkey_1}var autoit_1,hasRequiredAutoit;function requireAutoit(){if(hasRequiredAutoit)return autoit_1;hasRequiredAutoit=1;function k(m){const M="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",G=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],V="True False And Null Not Or Default",q="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",$={variants:[m.COMMENT(";","$",{relevance:0}),m.COMMENT("#cs","#ce"),m.COMMENT("#comments-start","#comments-end")]},D={begin:"\\$[A-z0-9_]+"},B={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},R={variants:[m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE]},U={className:"meta",begin:"#",end:"$",keywords:{keyword:G},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[B,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},B,$]},K={className:"symbol",begin:"@[A-z0-9_]+"},z={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[m.inherit(m.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[D,B,R]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:M,built_in:q,literal:V},contains:[$,D,B,R,U,K,z]}}return autoit_1=k,autoit_1}var avrasm_1,hasRequiredAvrasm;function requireAvrasm(){if(hasRequiredAvrasm)return avrasm_1;hasRequiredAvrasm=1;function k(m){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+m.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[m.C_BLOCK_COMMENT_MODE,m.COMMENT(";","$",{relevance:0}),m.C_NUMBER_MODE,m.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},m.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return avrasm_1=k,avrasm_1}var awk_1,hasRequiredAwk;function requireAwk(){if(hasRequiredAwk)return awk_1;hasRequiredAwk=1;function k(m){const M={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},G="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",V={className:"string",contains:[m.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:G},contains:[M,V,m.REGEXP_MODE,m.HASH_COMMENT_MODE,m.NUMBER_MODE]}}return awk_1=k,awk_1}var axapta_1,hasRequiredAxapta;function requireAxapta(){if(hasRequiredAxapta)return axapta_1;hasRequiredAxapta=1;function k(m){const M=m.UNDERSCORE_IDENT_RE,$={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},D={variants:[{match:[/(class|interface)\s+/,M,/\s+(extends|implements)\s+/,M]},{match:[/class\s+/,M]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:$};return{name:"X++",aliases:["x++"],keywords:$,contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},D]}}return axapta_1=k,axapta_1}var bash_1,hasRequiredBash;function requireBash(){if(hasRequiredBash)return bash_1;hasRequiredBash=1;function k(m){const M=m.regex,G={},V={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[G]}]};Object.assign(G,{className:"variable",variants:[{begin:M.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},V]});const q={className:"subst",begin:/\$\(/,end:/\)/,contains:[m.BACKSLASH_ESCAPE]},$={begin:/<<-?\s*(?=\w+)/,starts:{contains:[m.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},D={className:"string",begin:/"/,end:/"/,contains:[m.BACKSLASH_ESCAPE,G,q]};q.contains.push(D);const B={match:/\\"/},R={className:"string",begin:/'/,end:/'/},U={match:/\\'/},K={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},m.NUMBER_MODE,G]},z=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],e=m.SHEBANG({binary:`(${z.join("|")})`,relevance:10}),ae={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[m.inherit(m.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},ie=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],he=["true","false"],J={match:/(\/[a-z._-]+)+/},X=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],W=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],L=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],Q=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:ie,literal:he,built_in:[...X,...W,"set","shopt",...L,...Q]},contains:[e,m.SHEBANG(),ae,K,m.HASH_COMMENT_MODE,$,J,D,B,R,U,G]}}return bash_1=k,bash_1}var basic_1,hasRequiredBasic;function requireBasic(){if(hasRequiredBasic)return basic_1;hasRequiredBasic=1;function k(m){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[m.QUOTE_STRING_MODE,m.COMMENT("REM","$",{relevance:10}),m.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return basic_1=k,basic_1}var bnf_1,hasRequiredBnf;function requireBnf(){if(hasRequiredBnf)return bnf_1;hasRequiredBnf=1;function k(m){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]}]}}return bnf_1=k,bnf_1}var brainfuck_1,hasRequiredBrainfuck;function requireBrainfuck(){if(hasRequiredBrainfuck)return brainfuck_1;hasRequiredBrainfuck=1;function k(m){const M={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[m.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[M]},M]}}return brainfuck_1=k,brainfuck_1}var c_1,hasRequiredC;function requireC(){if(hasRequiredC)return c_1;hasRequiredC=1;function k(m){const M=m.regex,G=m.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),V="decltype\\(auto\\)",q="[a-zA-Z_]\\w*::",$="<[^<>]+>",D="("+V+"|"+M.optional(q)+"[a-zA-Z_]\\w*"+M.optional($)+")",B={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},R="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",U={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+R+"|.)",end:"'",illegal:"."},m.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},K={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},z={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},m.inherit(U,{className:"string"}),{className:"string",begin:/<.*?>/},G,m.C_BLOCK_COMMENT_MODE]},e={className:"title",begin:M.optional(q)+m.IDENT_RE,relevance:0},ae=M.optional(q)+m.IDENT_RE+"\\s*\\(",J={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},X=[z,B,G,m.C_BLOCK_COMMENT_MODE,K,U],W={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:J,contains:X.concat([{begin:/\(/,end:/\)/,keywords:J,contains:X.concat(["self"]),relevance:0}]),relevance:0},L={begin:"("+D+"[\\*&\\s]+)+"+ae,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:J,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:V,keywords:J,relevance:0},{begin:ae,returnBegin:!0,contains:[m.inherit(e,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:[G,m.C_BLOCK_COMMENT_MODE,U,K,B,{begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:["self",G,m.C_BLOCK_COMMENT_MODE,U,K,B]}]},B,G,m.C_BLOCK_COMMENT_MODE,z]};return{name:"C",aliases:["h"],keywords:J,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},m.TITLE_MODE]}]),exports:{preprocessor:z,strings:U,keywords:J}}}return c_1=k,c_1}var cal_1,hasRequiredCal;function requireCal(){if(hasRequiredCal)return cal_1;hasRequiredCal=1;function k(m){const M=m.regex,G=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],V="false true",q=[m.C_LINE_COMMENT_MODE,m.COMMENT(/\{/,/\}/,{relevance:0}),m.COMMENT(/\(\*/,/\*\)/,{relevance:10})],$={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},D={className:"string",begin:/(#\d+)+/},B={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},R={className:"string",begin:'"',end:'"'},U={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:G,contains:[$,D,m.NUMBER_MODE]},...q]},K=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],z={match:[/OBJECT/,/\s+/,M.either(...K),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:G,literal:V},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},$,D,B,R,m.NUMBER_MODE,z,U]}}return cal_1=k,cal_1}var capnproto_1,hasRequiredCapnproto;function requireCapnproto(){if(hasRequiredCapnproto)return capnproto_1;hasRequiredCapnproto=1;function k(m){const M=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],G=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],V=["true","false"],q={variants:[{match:[/(struct|enum|interface)/,/\s+/,m.IDENT_RE]},{match:[/extends/,/\s*\(/,m.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:M,type:G,literal:V},contains:[m.QUOTE_STRING_MODE,m.NUMBER_MODE,m.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},q]}}return capnproto_1=k,capnproto_1}var ceylon_1,hasRequiredCeylon;function requireCeylon(){if(hasRequiredCeylon)return ceylon_1;hasRequiredCeylon=1;function k(m){const M=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],G=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],V=["doc","by","license","see","throws","tagged"],q={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:M,relevance:10},$=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[q]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return q.contains=$,{name:"Ceylon",keywords:{keyword:M.concat(G),meta:V},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[m.C_LINE_COMMENT_MODE,m.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat($)}}return ceylon_1=k,ceylon_1}var clean_1,hasRequiredClean;function requireClean(){if(hasRequiredClean)return clean_1;hasRequiredClean=1;function k(m){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return clean_1=k,clean_1}var clojure_1,hasRequiredClojure;function requireClojure(){if(hasRequiredClojure)return clojure_1;hasRequiredClojure=1;function k(m){const M="a-zA-Z_\\-!.?+*=<>&'",G="[#]?["+M+"]["+M+"0-9/;:$#]*",V="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",q={$pattern:G,built_in:V+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},$={begin:G,relevance:0},D={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},B={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},R={scope:"regex",begin:/#"/,end:/"/,contains:[m.BACKSLASH_ESCAPE]},U=m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),K={scope:"punctuation",match:/,/,relevance:0},z=m.COMMENT(";","$",{relevance:0}),e={className:"literal",begin:/\b(true|false|nil)\b/},ae={begin:"\\[|(#::?"+G+")?\\{",end:"[\\]\\}]",relevance:0},ie={className:"symbol",begin:"[:]{1,2}"+G},he={begin:"\\(",end:"\\)"},J={endsWithParent:!0,relevance:0},X={keywords:q,className:"name",begin:G,relevance:0,starts:J},W=[K,he,B,R,U,z,ie,ae,D,e,$],L={beginKeywords:V,keywords:{$pattern:G,keyword:V},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:G,relevance:0,excludeEnd:!0,endsParent:!0}].concat(W)};return he.contains=[L,X,J],J.contains=W,ae.contains=W,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[K,he,B,R,U,z,ie,ae,D,e]}}return clojure_1=k,clojure_1}var clojureRepl_1,hasRequiredClojureRepl;function requireClojureRepl(){if(hasRequiredClojureRepl)return clojureRepl_1;hasRequiredClojureRepl=1;function k(m){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return clojureRepl_1=k,clojureRepl_1}var cmake_1,hasRequiredCmake;function requireCmake(){if(hasRequiredCmake)return cmake_1;hasRequiredCmake=1;function k(m){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},m.COMMENT(/#\[\[/,/]]/),m.HASH_COMMENT_MODE,m.QUOTE_STRING_MODE,m.NUMBER_MODE]}}return cmake_1=k,cmake_1}var coffeescript_1,hasRequiredCoffeescript;function requireCoffeescript(){if(hasRequiredCoffeescript)return coffeescript_1;hasRequiredCoffeescript=1;const k=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m=["true","false","null","undefined","NaN","Infinity"],M=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],G=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],V=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],q=[].concat(V,M,G);function $(D){const B=["npm","print"],R=["yes","no","on","off"],U=["then","unless","until","loop","by","when","and","or","is","isnt","not"],K=["var","const","let","function","static"],z=Q=>ce=>!Q.includes(ce),e={keyword:k.concat(U).filter(z(K)),literal:m.concat(R),built_in:q.concat(B)},ae="[A-Za-z$_][0-9A-Za-z$_]*",ie={className:"subst",begin:/#\{/,end:/\}/,keywords:e},he=[D.BINARY_NUMBER_MODE,D.inherit(D.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[D.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[D.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[D.BACKSLASH_ESCAPE,ie]},{begin:/"/,end:/"/,contains:[D.BACKSLASH_ESCAPE,ie]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[ie,D.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+ae},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];ie.contains=he;const J=D.inherit(D.TITLE_MODE,{begin:ae}),X="(\\(.*\\)\\s*)?\\B[-=]>",W={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:e,contains:["self"].concat(he)}]},L={variants:[{match:[/class\s+/,ae,/\s+extends\s+/,ae]},{match:[/class\s+/,ae]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:e};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:e,illegal:/\/\*/,contains:[...he,D.COMMENT("###","###"),D.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+ae+"\\s*=\\s*"+X,end:"[-=]>",returnBegin:!0,contains:[J,W]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:X,end:"[-=]>",returnBegin:!0,contains:[W]}]},L,{begin:ae+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return coffeescript_1=$,coffeescript_1}var coq_1,hasRequiredCoq;function requireCoq(){if(hasRequiredCoq)return coq_1;hasRequiredCoq=1;function k(m){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[m.QUOTE_STRING_MODE,m.COMMENT("\\(\\*","\\*\\)"),m.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return coq_1=k,coq_1}var cos_1,hasRequiredCos;function requireCos(){if(hasRequiredCos)return cos_1;hasRequiredCos=1;function k(m){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return cos_1=k,cos_1}var cpp_1,hasRequiredCpp;function requireCpp(){if(hasRequiredCpp)return cpp_1;hasRequiredCpp=1;function k(m){const M=m.regex,G=m.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),V="decltype\\(auto\\)",q="[a-zA-Z_]\\w*::",$="<[^<>]+>",D="(?!struct)("+V+"|"+M.optional(q)+"[a-zA-Z_]\\w*"+M.optional($)+")",B={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},R="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",U={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+R+"|.)",end:"'",illegal:"."},m.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},K={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},z={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},m.inherit(U,{className:"string"}),{className:"string",begin:/<.*?>/},G,m.C_BLOCK_COMMENT_MODE]},e={className:"title",begin:M.optional(q)+m.IDENT_RE,relevance:0},ae=M.optional(q)+m.IDENT_RE+"\\s*\\(",ie=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],he=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],J=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],X=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],Q={type:he,keyword:ie,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:J},ce={className:"function.dispatch",relevance:0,keywords:{_hint:X},begin:M.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,m.IDENT_RE,M.lookahead(/(<[^<>]+>|)\s*\(/))},de=[ce,z,B,G,m.C_BLOCK_COMMENT_MODE,K,U],oe={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Q,contains:de.concat([{begin:/\(/,end:/\)/,keywords:Q,contains:de.concat(["self"]),relevance:0}]),relevance:0},se={className:"function",begin:"("+D+"[\\*&\\s]+)+"+ae,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Q,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:V,keywords:Q,relevance:0},{begin:ae,returnBegin:!0,contains:[e],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[U,K]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:Q,relevance:0,contains:[G,m.C_BLOCK_COMMENT_MODE,U,K,B,{begin:/\(/,end:/\)/,keywords:Q,relevance:0,contains:["self",G,m.C_BLOCK_COMMENT_MODE,U,K,B]}]},B,G,m.C_BLOCK_COMMENT_MODE,z]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:Q,illegal:"",keywords:Q,contains:["self",B]},{begin:m.IDENT_RE+"::",keywords:Q},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return cpp_1=k,cpp_1}var crmsh_1,hasRequiredCrmsh;function requireCrmsh(){if(hasRequiredCrmsh)return crmsh_1;hasRequiredCrmsh=1;function k(m){const M="primitive rsc_template",G="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",V="property rsc_defaults op_defaults",q="params meta operations op rule attributes utilization",$="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",D="number string",B="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:q+" "+$+" "+D,literal:B},contains:[m.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:M,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+G.split(" ").join("|")+")\\s+",keywords:G,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:V,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},m.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return crmsh_1=k,crmsh_1}var crystal_1,hasRequiredCrystal;function requireCrystal(){if(hasRequiredCrystal)return crystal_1;hasRequiredCrystal=1;function k(m){const M="(_?[ui](8|16|32|64|128))?",G="(_?f(32|64))?",V="[a-zA-Z_]\\w*[!?=]?",q="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",$="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",D={$pattern:V,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},B={className:"subst",begin:/#\{/,end:/\}/,keywords:D},R={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},U={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:D};function K(X,W){const L=[{begin:X,end:W}];return L[0].contains=L,L}const z={className:"string",contains:[m.BACKSLASH_ESCAPE,B],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:K("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:K("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:K(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:K("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},e={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:K("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:K("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:K(/\{/,/\}/)},{begin:"%q<",end:">",contains:K("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},ae={begin:"(?!%\\})("+m.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[m.BACKSLASH_ESCAPE,B],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},ie={className:"regexp",contains:[m.BACKSLASH_ESCAPE,B],variants:[{begin:"%r\\(",end:"\\)",contains:K("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:K("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:K(/\{/,/\}/)},{begin:"%r<",end:">",contains:K("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},he={className:"meta",begin:"@\\[",end:"\\]",contains:[m.inherit(m.QUOTE_STRING_MODE,{className:"string"})]},J=[U,z,e,ie,ae,he,R,m.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[m.HASH_COMMENT_MODE,m.inherit(m.TITLE_MODE,{begin:$}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[m.HASH_COMMENT_MODE,m.inherit(m.TITLE_MODE,{begin:$})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[m.HASH_COMMENT_MODE,m.inherit(m.TITLE_MODE,{begin:$})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[m.inherit(m.TITLE_MODE,{begin:q,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[m.inherit(m.TITLE_MODE,{begin:q,endsParent:!0})],relevance:2},{className:"symbol",begin:m.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[z,{begin:q}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+M},{begin:"\\b0o([0-7_]+)"+M},{begin:"\\b0x([A-Fa-f0-9_]+)"+M},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+G+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+M}],relevance:0}];return B.contains=J,U.contains=J.slice(1),{name:"Crystal",aliases:["cr"],keywords:D,contains:J}}return crystal_1=k,crystal_1}var csharp_1,hasRequiredCsharp;function requireCsharp(){if(hasRequiredCsharp)return csharp_1;hasRequiredCsharp=1;function k(m){const M=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],G=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],V=["default","false","null","true"],q=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],$=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],D={keyword:q.concat($),built_in:M,literal:V},B=m.inherit(m.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),R={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},U={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},K=m.inherit(U,{illegal:/\n/}),z={className:"subst",begin:/\{/,end:/\}/,keywords:D},e=m.inherit(z,{illegal:/\n/}),ae={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},m.BACKSLASH_ESCAPE,e]},ie={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},z]},he=m.inherit(ie,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},e]});z.contains=[ie,ae,U,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,R,m.C_BLOCK_COMMENT_MODE],e.contains=[he,ae,K,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,R,m.inherit(m.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const J={variants:[ie,ae,U,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]},X={begin:"<",end:">",contains:[{beginKeywords:"in out"},B]},W=m.IDENT_RE+"(<"+m.IDENT_RE+"(\\s*,\\s*"+m.IDENT_RE+")*>)?(\\[\\])?",L={begin:"@"+m.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:D,illegal:/::/,contains:[m.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},J,R,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},B,X,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[B,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[B,X,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+W+"\\s+)+"+m.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:D,contains:[{beginKeywords:G.join(" "),relevance:0},{begin:m.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[m.TITLE_MODE,X],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:D,relevance:0,contains:[J,R,m.C_BLOCK_COMMENT_MODE]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},L]}}return csharp_1=k,csharp_1}var csp_1,hasRequiredCsp;function requireCsp(){if(hasRequiredCsp)return csp_1;hasRequiredCsp=1;function k(m){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return csp_1=k,csp_1}var css_1,hasRequiredCss;function requireCss(){if(hasRequiredCss)return css_1;hasRequiredCss=1;const k=D=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:D.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[D.APOS_STRING_MODE,D.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:D.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),m=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],M=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],G=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],V=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],q=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function $(D){const B=D.regex,R=k(D),U={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},K="and or not only",z=/@-?\w[\w]*(-\w+)*/,e="[a-zA-Z-][a-zA-Z0-9_-]*",ae=[D.APOS_STRING_MODE,D.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[R.BLOCK_COMMENT,U,R.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+e,relevance:0},R.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+G.join("|")+")"},{begin:":(:)?("+V.join("|")+")"}]},R.CSS_VARIABLE,{className:"attribute",begin:"\\b("+q.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[R.BLOCK_COMMENT,R.HEXCOLOR,R.IMPORTANT,R.CSS_NUMBER_MODE,...ae,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...ae,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},R.FUNCTION_DISPATCH]},{begin:B.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:z},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:K,attribute:M.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...ae,R.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+m.join("|")+")\\b"}]}}return css_1=$,css_1}var d_1,hasRequiredD;function requireD(){if(hasRequiredD)return d_1;hasRequiredD=1;function k(m){const M={$pattern:m.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},G="(0|[1-9][\\d_]*)",V="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",q="0[bB][01_]+",$="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",D="0[xX]"+$,B="([eE][+-]?"+V+")",R="("+V+"(\\.\\d*|"+B+")|\\d+\\."+V+"|\\."+G+B+"?)",U="(0[xX]("+$+"\\."+$+"|\\.?"+$+")[pP][+-]?"+V+")",K="("+G+"|"+q+"|"+D+")",z="("+U+"|"+R+")",e=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,ae={className:"number",begin:"\\b"+K+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},ie={className:"number",begin:"\\b("+z+"([fF]|L|i|[fF]i|Li)?|"+K+"(i|[fF]i|Li))",relevance:0},he={className:"string",begin:"'("+e+"|.)",end:"'",illegal:"."},X={className:"string",begin:'"',contains:[{begin:e,relevance:0}],end:'"[cwd]?'},W={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},L={className:"string",begin:"`",end:"`[cwd]?"},Q={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},ce={className:"string",begin:'q"\\{',end:'\\}"'},de={className:"meta",begin:"^#!",end:"$",relevance:5},oe={className:"meta",begin:"#(line)",end:"$",relevance:5},se={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},me=m.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:M,contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,me,Q,X,W,L,ce,ie,ae,he,de,oe,se]}}return d_1=k,d_1}var markdown_1,hasRequiredMarkdown;function requireMarkdown(){if(hasRequiredMarkdown)return markdown_1;hasRequiredMarkdown=1;function k(m){const M=m.regex,G={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},V={begin:"^[-\\*]{3,}",end:"$"},q={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},$={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},D={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},B=/[A-Za-z][A-Za-z0-9+.-]*/,R={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:M.concat(/\[.+?\]\(/,B,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},U={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},K={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},z=m.inherit(U,{contains:[]}),e=m.inherit(K,{contains:[]});U.contains.push(e),K.contains.push(z);let ae=[G,R];return[U,K,z,e].forEach(J=>{J.contains=J.contains.concat(ae)}),ae=ae.concat(U,K),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:ae},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:ae}]}]},G,$,U,K,{className:"quote",begin:"^>\\s+",contains:ae,end:"$"},q,V,R,D]}}return markdown_1=k,markdown_1}var dart_1,hasRequiredDart;function requireDart(){if(hasRequiredDart)return dart_1;hasRequiredDart=1;function k(m){const M={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},G={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},V={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[m.BACKSLASH_ESCAPE,M,G]},{begin:'"""',end:'"""',contains:[m.BACKSLASH_ESCAPE,M,G]},{begin:"'",end:"'",illegal:"\\n",contains:[m.BACKSLASH_ESCAPE,M,G]},{begin:'"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE,M,G]}]};G.contains=[m.C_NUMBER_MODE,V];const q=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],$=q.map(R=>`${R}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:q.concat($).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[V,m.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),m.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},m.UNDERSCORE_TITLE_MODE]},m.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return dart_1=k,dart_1}var delphi_1,hasRequiredDelphi;function requireDelphi(){if(hasRequiredDelphi)return delphi_1;hasRequiredDelphi=1;function k(m){const M=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],G=[m.C_LINE_COMMENT_MODE,m.COMMENT(/\{/,/\}/,{relevance:0}),m.COMMENT(/\(\*/,/\*\)/,{relevance:10})],V={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},q={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},$={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},D={className:"string",begin:/(#\d+)+/},B={begin:m.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[m.TITLE_MODE]},R={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[m.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:M,contains:[q,D,V].concat(G)},V].concat(G)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:M,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[q,D,m.NUMBER_MODE,$,B,R,V].concat(G)}}return delphi_1=k,delphi_1}var diff_1,hasRequiredDiff;function requireDiff(){if(hasRequiredDiff)return diff_1;hasRequiredDiff=1;function k(m){const M=m.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:M.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:M.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return diff_1=k,diff_1}var django_1,hasRequiredDjango;function requireDjango(){if(hasRequiredDjango)return django_1;hasRequiredDjango=1;function k(m){const M={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[m.QUOTE_STRING_MODE,m.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[m.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),m.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[M],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[M]}]}}return django_1=k,django_1}var dns_1,hasRequiredDns;function requireDns(){if(hasRequiredDns)return dns_1;hasRequiredDns=1;function k(m){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[m.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},m.inherit(m.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return dns_1=k,dns_1}var dockerfile_1,hasRequiredDockerfile;function requireDockerfile(){if(hasRequiredDockerfile)return dockerfile_1;hasRequiredDockerfile=1;function k(m){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[m.HASH_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},M,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},q={className:"variable",begin:/&[a-z\d_]*\b/},$={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},D={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},B={className:"params",relevance:0,begin:"<",end:">",contains:[G,q]},R={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},U={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},K={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},z={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},e={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[U,q,$,D,R,z,K,B,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,G,M,V,e,{begin:m.IDENT_RE+"::",keywords:""}]}}return dts_1=k,dts_1}var dust_1,hasRequiredDust;function requireDust(){if(hasRequiredDust)return dust_1;hasRequiredDust=1;function k(m){const M="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[m.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:M}]}}return dust_1=k,dust_1}var ebnf_1,hasRequiredEbnf;function requireEbnf(){if(hasRequiredEbnf)return ebnf_1;hasRequiredEbnf=1;function k(m){const M=m.COMMENT(/\(\*/,/\*\)/),G={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},q={begin:/=/,end:/[.;]/,contains:[M,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[M,G,q]}}return ebnf_1=k,ebnf_1}var elixir_1,hasRequiredElixir;function requireElixir(){if(hasRequiredElixir)return elixir_1;hasRequiredElixir=1;function k(m){const M=m.regex,G="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",V="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",D={$pattern:G,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},B={className:"subst",begin:/#\{/,end:/\}/,keywords:D},R={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},K={match:/\\[\s\S]/,scope:"char.escape",relevance:0},z=`[/|([{<"']`,e=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],ae=ce=>({scope:"char.escape",begin:M.concat(/\\/,ce),relevance:0}),ie={className:"string",begin:"~[a-z](?="+z+")",contains:e.map(ce=>m.inherit(ce,{contains:[ae(ce.end),K,B]}))},he={className:"string",begin:"~[A-Z](?="+z+")",contains:e.map(ce=>m.inherit(ce,{contains:[ae(ce.end)]}))},J={className:"regex",variants:[{begin:"~r(?="+z+")",contains:e.map(ce=>m.inherit(ce,{end:M.concat(ce.end,/[uismxfU]{0,7}/),contains:[ae(ce.end),K,B]}))},{begin:"~R(?="+z+")",contains:e.map(ce=>m.inherit(ce,{end:M.concat(ce.end,/[uismxfU]{0,7}/),contains:[ae(ce.end)]}))}]},X={className:"string",contains:[m.BACKSLASH_ESCAPE,B],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},W={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[m.inherit(m.TITLE_MODE,{begin:G,endsParent:!0})]},L=m.inherit(W,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),Q=[X,J,he,ie,m.HASH_COMMENT_MODE,L,W,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[X,{begin:V}],relevance:0},{className:"symbol",begin:G+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},R,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return B.contains=Q,{name:"Elixir",aliases:["ex","exs"],keywords:D,contains:Q}}return elixir_1=k,elixir_1}var elm_1,hasRequiredElm;function requireElm(){if(hasRequiredElm)return elm_1;hasRequiredElm=1;function k(m){const M={variants:[m.COMMENT("--","$"),m.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},G={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},V={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},M]},q={begin:/\{/,end:/\}/,contains:V.contains},$={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[V,M],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[V,M],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[G,V,q,M]},{beginKeywords:"infix infixl infixr",end:"$",contains:[m.C_NUMBER_MODE,M]},{begin:"port",end:"$",keywords:"port",contains:[M]},$,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE,G,m.inherit(m.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),M,{begin:"->|<-"}],illegal:/;/}}return elm_1=k,elm_1}var ruby_1,hasRequiredRuby;function requireRuby(){if(hasRequiredRuby)return ruby_1;hasRequiredRuby=1;function k(m){const M=m.regex,G="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",V=M.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),q=M.concat(V,/(::\w+)*/),D={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},B={className:"doctag",begin:"@[A-Za-z]+"},R={begin:"#<",end:">"},U=[m.COMMENT("#","$",{contains:[B]}),m.COMMENT("^=begin","^=end",{contains:[B],relevance:10}),m.COMMENT("^__END__",m.MATCH_NOTHING_RE)],K={className:"subst",begin:/#\{/,end:/\}/,keywords:D},z={className:"string",contains:[m.BACKSLASH_ESCAPE,K],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:M.concat(/<<[-~]?'?/,M.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[m.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[m.BACKSLASH_ESCAPE,K]})]}]},e="[1-9](_?[0-9])*|0",ae="[0-9](_?[0-9])*",ie={className:"number",relevance:0,variants:[{begin:`\\b(${e})(\\.(${ae}))?([eE][+-]?(${ae})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},he={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:D}]},de=[z,{variants:[{match:[/class\s+/,q,/\s+<\s+/,q]},{match:[/\b(class|module)\s+/,q]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:D},{match:[/(include|extend)\s+/,q],scope:{2:"title.class"},keywords:D},{relevance:0,match:[q,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:V,scope:"title.class"},{match:[/def/,/\s+/,G],scope:{1:"keyword",3:"title.function"},contains:[he]},{begin:m.IDENT_RE+"::"},{className:"symbol",begin:m.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[z,{begin:G}],relevance:0},ie,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:D},{begin:"("+m.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[m.BACKSLASH_ESCAPE,K],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(R,U),relevance:0}].concat(R,U);K.contains=de,he.contains=de;const oe="[>?]>",se="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",me="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",Ee=[{begin:/^\s*=>/,starts:{end:"$",contains:de}},{className:"meta.prompt",begin:"^("+oe+"|"+se+"|"+me+")(?=[ ])",starts:{end:"$",keywords:D,contains:de}}];return U.unshift(R),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:D,illegal:/\/\*/,contains:[m.SHEBANG({binary:"ruby"})].concat(Ee).concat(U).concat(de)}}return ruby_1=k,ruby_1}var erb_1,hasRequiredErb;function requireErb(){if(hasRequiredErb)return erb_1;hasRequiredErb=1;function k(m){return{name:"ERB",subLanguage:"xml",contains:[m.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return erb_1=k,erb_1}var erlangRepl_1,hasRequiredErlangRepl;function requireErlangRepl(){if(hasRequiredErlangRepl)return erlangRepl_1;hasRequiredErlangRepl=1;function k(m){const M=m.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},m.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{begin:M.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return erlangRepl_1=k,erlangRepl_1}var erlang_1,hasRequiredErlang;function requireErlang(){if(hasRequiredErlang)return erlang_1;hasRequiredErlang=1;function k(m){const M="[a-z'][a-zA-Z0-9_']*",G="("+M+":"+M+"|"+M+")",V={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},q=m.COMMENT("%","$"),$={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},D={begin:"fun\\s+"+M+"/\\d+"},B={begin:G+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:G,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},R={begin:/\{/,end:/\}/,relevance:0},U={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},K={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},z={begin:"#"+m.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+m.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},e={beginKeywords:"fun receive if try case",end:"end",keywords:V};e.contains=[q,D,m.inherit(m.APOS_STRING_MODE,{className:""}),e,B,m.QUOTE_STRING_MODE,$,R,U,K,z];const ae=[q,D,e,B,m.QUOTE_STRING_MODE,$,R,U,K,z];B.contains[1].contains=ae,R.contains=ae,z.contains[1].contains=ae;const ie=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],he={className:"params",begin:"\\(",end:"\\)",contains:ae};return{name:"Erlang",aliases:["erl"],keywords:V,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[he,m.inherit(m.TITLE_MODE,{begin:M})],starts:{end:";|\\.",keywords:V,contains:ae}},q,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+m.IDENT_RE,keyword:ie.map(J=>`${J}|1.5`).join(" ")},contains:[he]},$,m.QUOTE_STRING_MODE,z,U,K,R,{begin:/\.$/}]}}return erlang_1=k,erlang_1}var excel_1,hasRequiredExcel;function requireExcel(){if(hasRequiredExcel)return excel_1;hasRequiredExcel=1;function k(m){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},m.BACKSLASH_ESCAPE,m.QUOTE_STRING_MODE,{className:"number",begin:m.NUMBER_RE+"(%)?",relevance:0},m.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return excel_1=k,excel_1}var fix_1,hasRequiredFix;function requireFix(){if(hasRequiredFix)return fix_1;hasRequiredFix=1;function k(m){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return fix_1=k,fix_1}var flix_1,hasRequiredFlix;function requireFlix(){if(hasRequiredFlix)return flix_1;hasRequiredFlix=1;function k(m){const M={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},G={className:"string",variants:[{begin:'"',end:'"'}]},q={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,M,G,q,m.C_NUMBER_MODE]}}return flix_1=k,flix_1}var fortran_1,hasRequiredFortran;function requireFortran(){if(hasRequiredFortran)return fortran_1;hasRequiredFortran=1;function k(m){const M=m.regex,G={className:"params",begin:"\\(",end:"\\)"},V={variants:[m.COMMENT("!","$",{relevance:0}),m.COMMENT("^C[ ]","$",{relevance:0}),m.COMMENT("^C$","$",{relevance:0})]},q=/(_[a-z_\d]+)?/,$=/([de][+-]?\d+)?/,D={className:"number",variants:[{begin:M.concat(/\b\d+/,/\.(\d*)/,$,q)},{begin:M.concat(/\b\d+/,$,q)},{begin:M.concat(/\.\d+/,$,q)}],relevance:0},B={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[m.UNDERSCORE_TITLE_MODE,G]},R={className:"string",relevance:0,variants:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[R,B,{begin:/^C\s*=(?!=)/,relevance:0},V,D]}}return fortran_1=k,fortran_1}var fsharp_1,hasRequiredFsharp;function requireFsharp(){if(hasRequiredFsharp)return fsharp_1;hasRequiredFsharp=1;function k(D){return new RegExp(D.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function m(D){return D?typeof D=="string"?D:D.source:null}function M(D){return G("(?=",D,")")}function G(...D){return D.map(R=>m(R)).join("")}function V(D){const B=D[D.length-1];return typeof B=="object"&&B.constructor===Object?(D.splice(D.length-1,1),B):{}}function q(...D){return"("+(V(D).capture?"":"?:")+D.map(U=>m(U)).join("|")+")"}function $(D){const B=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],R={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},U=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],K=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],z=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],e=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],ie={keyword:B,literal:K,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":z},J={variants:[D.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),D.C_LINE_COMMENT_MODE]},X=/[a-zA-Z_](\w|')*/,W={scope:"variable",begin:/``/,end:/``/},L=/\B('|\^)/,Q={scope:"symbol",variants:[{match:G(L,/``.*?``/)},{match:G(L,D.UNDERSCORE_IDENT_RE)}],relevance:0},ce=function({includeEqual:Ae}){let De;Ae?De="!%&*+-/<=>@^|~?":De="!%&*+-/<>@^|~?";const Ue=Array.from(De),we=G("[",...Ue.map(k),"]"),Ie=q(we,/\./),Be=G(Ie,M(Ie)),Ke=q(G(Be,Ie,"*"),G(we,"+"));return{scope:"operator",match:q(Ke,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},de=ce({includeEqual:!0}),oe=ce({includeEqual:!1}),se=function(Ae,De){return{begin:G(Ae,M(G(/\s*/,q(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:De,end:M(q(/\n/,/=/)),relevance:0,keywords:D.inherit(ie,{type:e}),contains:[J,Q,D.inherit(W,{scope:null}),oe]}},me=se(/:/,"operator"),Ee=se(/\bof\b/,"keyword"),ke={begin:[/(^|\s+)/,/type/,/\s+/,X],beginScope:{2:"keyword",4:"title.class"},end:M(/\(|=|$/),keywords:ie,contains:[J,D.inherit(W,{scope:null}),Q,{scope:"operator",match:/<|>/},me]},xe={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},fe={begin:[/^\s*/,G(/#/,q(...U)),/\b/],beginScope:{2:"meta"},end:M(/\s|$/)},ve={variants:[D.BINARY_NUMBER_MODE,D.C_NUMBER_MODE]},ye={scope:"string",begin:/"/,end:/"/,contains:[D.BACKSLASH_ESCAPE]},Ce={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},D.BACKSLASH_ESCAPE]},pe={scope:"string",begin:/"""/,end:/"""/,relevance:2},_e={scope:"subst",begin:/\{/,end:/\}/,keywords:ie},Ge={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},D.BACKSLASH_ESCAPE,_e]},Te={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},D.BACKSLASH_ESCAPE,_e]},Ne={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},_e],relevance:2},Ze={scope:"string",match:G(/'/,q(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return _e.contains=[Te,Ge,Ce,ye,Ze,R,J,W,me,xe,fe,ve,Q,de],{name:"F#",aliases:["fs","f#"],keywords:ie,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[R,{variants:[Ne,Te,Ge,pe,Ce,ye,Ze]},J,W,ke,{scope:"meta",begin:/\[\]/,relevance:2,contains:[W,pe,Ce,ye,Ze,ve]},Ee,me,xe,fe,ve,Q,de]}}return fsharp_1=$,fsharp_1}var gams_1,hasRequiredGams;function requireGams(){if(hasRequiredGams)return gams_1;hasRequiredGams=1;function k(m){const M=m.regex,G={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},V={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},q={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},$={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[m.BACKSLASH_ESCAPE]},D={begin:"/",end:"/",keywords:G,contains:[$,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,m.C_NUMBER_MODE]},B=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,R={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[$,D,{className:"comment",begin:M.concat(B,M.anyNumberOfTimes(M.concat(/[ ]+/,B))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:G,contains:[m.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},m.COMMENT("^\\*","$"),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[m.COMMENT("^\\*","$"),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,D,R]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[R]},m.COMMENT("^\\*","$"),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,m.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},V,q]},m.C_NUMBER_MODE,q]}}return gams_1=k,gams_1}var gauss_1,hasRequiredGauss;function requireGauss(){if(hasRequiredGauss)return gauss_1;hasRequiredGauss=1;function k(m){const M={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},G=m.COMMENT("@","@"),V={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,G]},q={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:m.UNDERSCORE_IDENT_RE,relevance:0}]},$=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE,G,q]}],D={className:"title",begin:m.UNDERSCORE_IDENT_RE,relevance:0},B=function(e,ae,ie){const he=m.inherit({className:"function",beginKeywords:e,end:ae,excludeEnd:!0,contains:[].concat($)},ie||{});return he.contains.push(D),he.contains.push(m.C_NUMBER_MODE),he.contains.push(m.C_BLOCK_COMMENT_MODE),he.contains.push(G),he},R={className:"built_in",begin:"\\b("+M.built_in.split(" ").join("|")+")\\b"},U={className:"string",begin:'"',end:'"',contains:[m.BACKSLASH_ESCAPE],relevance:0},K={begin:m.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:M,relevance:0,contains:[{beginKeywords:M.keyword},R,{className:"built_in",begin:m.UNDERSCORE_IDENT_RE,relevance:0}]},z={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:M.built_in,literal:M.literal},contains:[m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE,G,R,K,U,"self"]};return K.contains.push(z),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:M,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[m.C_NUMBER_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,G,U,V,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},B("proc keyword",";"),B("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[m.C_BLOCK_COMMENT_MODE,G,z]},{variants:[{begin:m.UNDERSCORE_IDENT_RE+"\\."+m.UNDERSCORE_IDENT_RE},{begin:m.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},K,q]}}return gauss_1=k,gauss_1}var gcode_1,hasRequiredGcode;function requireGcode(){if(hasRequiredGcode)return gcode_1;hasRequiredGcode=1;function k(m){const M="[A-Z_][A-Z0-9_.]*",G="%",V={$pattern:M,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},q={className:"meta",begin:"([O])([0-9]+)"},$=m.inherit(m.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+m.C_NUMBER_RE}),D=[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.COMMENT(/\(/,/\)/),$,m.inherit(m.APOS_STRING_MODE,{illegal:null}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[$],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:V,contains:[{className:"meta",begin:G},q].concat(D)}}return gcode_1=k,gcode_1}var gherkin_1,hasRequiredGherkin;function requireGherkin(){if(hasRequiredGherkin)return gherkin_1;hasRequiredGherkin=1;function k(m){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},m.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},m.QUOTE_STRING_MODE]}}return gherkin_1=k,gherkin_1}var glsl_1,hasRequiredGlsl;function requireGlsl(){if(hasRequiredGlsl)return glsl_1;hasRequiredGlsl=1;function k(m){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return glsl_1=k,glsl_1}var gml_1,hasRequiredGml;function requireGml(){if(hasRequiredGml)return gml_1;hasRequiredGml=1;function k(m){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE]}}return gml_1=k,gml_1}var go_1,hasRequiredGo;function requireGo(){if(hasRequiredGo)return go_1;hasRequiredGo=1;function k(m){const $={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:$,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return haml_1=k,haml_1}var handlebars_1,hasRequiredHandlebars;function requireHandlebars(){if(hasRequiredHandlebars)return handlebars_1;hasRequiredHandlebars=1;function k(m){const M=m.regex,G={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},V={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},q=/""|"[^"]+"/,$=/''|'[^']+'/,D=/\[\]|\[[^\]]+\]/,B=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,R=/(\.|\/)/,U=M.either(q,$,D,B),K=M.concat(M.optional(/\.|\.\/|\//),U,M.anyNumberOfTimes(M.concat(R,U))),z=M.concat("(",D,"|",B,")(?==)"),e={begin:K},ae=m.inherit(e,{keywords:V}),ie={begin:/\(/,end:/\)/},he={className:"attr",begin:z,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[m.NUMBER_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,ae,ie]}}},J={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},X={contains:[m.NUMBER_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,J,he,ae,ie],returnEnd:!0},W=m.inherit(e,{className:"name",keywords:G,starts:m.inherit(X,{end:/\)/})});ie.contains=[W];const L=m.inherit(e,{keywords:G,className:"name",starts:m.inherit(X,{end:/\}\}/})}),Q=m.inherit(e,{keywords:G,className:"name"}),ce=m.inherit(e,{className:"name",keywords:G,starts:m.inherit(X,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},m.COMMENT(/\{\{!--/,/--\}\}/),m.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[L],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[Q]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[L]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[Q]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[ce]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[ce]}]}}return handlebars_1=k,handlebars_1}var haskell_1,hasRequiredHaskell;function requireHaskell(){if(hasRequiredHaskell)return haskell_1;hasRequiredHaskell=1;function k(m){const M="([0-9]_*)+",G="([0-9a-fA-F]_*)+",V="([01]_*)+",q="([0-7]_*)+",R="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",U={variants:[m.COMMENT("--+","$"),m.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},K={className:"meta",begin:/\{-#/,end:/#-\}/},z={className:"meta",begin:"^#",end:"$"},e={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},ae={begin:"\\(",end:"\\)",illegal:'"',contains:[K,z,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},m.inherit(m.TITLE_MODE,{begin:"[_a-z][\\w']*"}),U]},ie={begin:/\{/,end:/\}/,contains:ae.contains},he={className:"number",relevance:0,variants:[{match:`\\b(${M})(\\.(${M}))?([eE][+-]?(${M}))?\\b`},{match:`\\b0[xX]_*(${G})(\\.(${G}))?([pP][+-]?(${M}))?\\b`},{match:`\\b0[oO](${q})\\b`},{match:`\\b0[bB](${V})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[ae,U],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[ae,U],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[e,ae,U]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[K,e,ae,ie,U]},{beginKeywords:"default",end:"$",contains:[e,ae,U]},{beginKeywords:"infix infixl infixr",end:"$",contains:[m.C_NUMBER_MODE,U]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[e,m.QUOTE_STRING_MODE,U]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},K,z,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},m.QUOTE_STRING_MODE,he,e,m.inherit(m.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${R}--+|--+(?!-)${R}`},U,{begin:"->|<-"}]}}return haskell_1=k,haskell_1}var haxe_1,hasRequiredHaxe;function requireHaxe(){if(hasRequiredHaxe)return haxe_1;hasRequiredHaxe=1;function k(m){const M="[a-zA-Z_$][a-zA-Z0-9_$]*",G=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[m.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},m.QUOTE_STRING_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"number",begin:G,relevance:0},{className:"variable",begin:"\\$"+M},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[m.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+m.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},m.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:m.IDENT_RE,relevance:0}]},m.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[m.TITLE_MODE]}],illegal:/<\//}}return haxe_1=k,haxe_1}var hsp_1,hasRequiredHsp;function requireHsp(){if(hasRequiredHsp)return hsp_1;hasRequiredHsp=1;function k(m){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[m.BACKSLASH_ESCAPE]},m.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[m.inherit(m.QUOTE_STRING_MODE,{className:"string"}),m.NUMBER_MODE,m.C_NUMBER_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},m.NUMBER_MODE,m.C_NUMBER_MODE]}}return hsp_1=k,hsp_1}var http_1,hasRequiredHttp;function requireHttp(){if(hasRequiredHttp)return http_1;hasRequiredHttp=1;function k(m){const M=m.regex,G="HTTP/([32]|1\\.[01])",V=/[A-Za-z][A-Za-z0-9-]*/,q={className:"attribute",begin:M.concat("^",V,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},$=[q,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+G+" \\d{3})",end:/$/,contains:[{className:"meta",begin:G},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:$}},{begin:"(?=^[A-Z]+ (.*?) "+G+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:G},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:$}},m.inherit(q,{relevance:0})]}}return http_1=k,http_1}var hy_1,hasRequiredHy;function requireHy(){if(hasRequiredHy)return hy_1;hasRequiredHy=1;function k(m){const M="a-zA-Z_\\-!.?+*=<>&#'",G="["+M+"]["+M+"0-9/;:]*",V={$pattern:G,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},q="[-+]?\\d+(\\.\\d+)?",$={begin:G,relevance:0},D={className:"number",begin:q,relevance:0},B=m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),R=m.COMMENT(";","$",{relevance:0}),U={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},K={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},z={className:"comment",begin:"\\^"+G},e=m.COMMENT("\\^\\{","\\}"),ae={className:"symbol",begin:"[:]{1,2}"+G},ie={begin:"\\(",end:"\\)"},he={endsWithParent:!0,relevance:0},J={className:"name",relevance:0,keywords:V,begin:G,starts:he},X=[ie,B,z,e,R,ae,K,D,U,$];return ie.contains=[m.COMMENT("comment",""),J,he],he.contains=X,K.contains=X,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[m.SHEBANG(),ie,B,z,e,R,ae,K,D,U]}}return hy_1=k,hy_1}var inform7_1,hasRequiredInform7;function requireInform7(){if(hasRequiredInform7)return inform7_1;hasRequiredInform7=1;function k(m){const M="\\[",G="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:M,end:G}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:M,end:G,contains:["self"]}]}}return inform7_1=k,inform7_1}var ini_1,hasRequiredIni;function requireIni(){if(hasRequiredIni)return ini_1;hasRequiredIni=1;function k(m){const M=m.regex,G={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:m.NUMBER_RE}]},V=m.COMMENT();V.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const q={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},$={className:"literal",begin:/\bon|off|true|false|yes|no\b/},D={className:"string",contains:[m.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},B={begin:/\[/,end:/\]/,contains:[V,$,q,D,G,"self"],relevance:0},R=/[A-Za-z0-9_-]+/,U=/"(\\"|[^"])*"/,K=/'[^']*'/,z=M.either(R,U,K),e=M.concat(z,"(\\s*\\.\\s*",z,")*",M.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[V,{className:"section",begin:/\[+/,end:/\]+/},{begin:e,className:"attr",starts:{end:/$/,contains:[V,B,$,q,D,G]}}]}}return ini_1=k,ini_1}var irpf90_1,hasRequiredIrpf90;function requireIrpf90(){if(hasRequiredIrpf90)return irpf90_1;hasRequiredIrpf90=1;function k(m){const M=m.regex,G={className:"params",begin:"\\(",end:"\\)"},V=/(_[a-z_\d]+)?/,q=/([de][+-]?\d+)?/,$={className:"number",variants:[{begin:M.concat(/\b\d+/,/\.(\d*)/,q,V)},{begin:M.concat(/\b\d+/,q,V)},{begin:M.concat(/\.\d+/,q,V)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[m.inherit(m.APOS_STRING_MODE,{className:"string",relevance:0}),m.inherit(m.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[m.UNDERSCORE_TITLE_MODE,G]},m.COMMENT("!","$",{relevance:0}),m.COMMENT("begin_doc","end_doc",{relevance:10}),$]}}return irpf90_1=k,irpf90_1}var isbl_1,hasRequiredIsbl;function requireIsbl(){if(hasRequiredIsbl)return isbl_1;hasRequiredIsbl=1;function k(m){const M="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",G="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",V="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",q="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",$="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",D="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",B="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",R="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",U="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",K="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",z="smHidden smMaximized smMinimized smNormal wmNo wmYes ",e="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",ae="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",ie="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",he="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",J="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",X="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",W="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",L="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",Q="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",ce="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",de="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",oe="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",se="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",me="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",Ee="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",ke="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",xe="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",fe="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",ve="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",ye="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",Ce="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",pe="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",_e="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",Ge="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",Te="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",Ne="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",Ze="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",ze="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",Ae=q+$+D+B+R+U+K+z+e+ae+ie+he+J+X+W+L+Q+ce+de+oe+se+me+Ee+ke+xe+fe+ve+ye+Ce+pe+_e+Ge+Te+Ne+Ze+ze,De="atUser atGroup atRole ",Ue="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",we="apBegin apEnd ",Ie="alLeft alRight ",Be="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",Ke="cirCommon cirRevoked ",Ve="ctSignature ctEncode ctSignatureEncode ",je="clbUnchecked clbChecked clbGrayed ",Le="ceISB ceAlways ceNever ",et="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",Qe="cfInternal cfDisplay ",Fe="ciUnspecified ciWrite ciRead ",$e="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",Ye="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",tt="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",ot="cltInternal cltPrimary cltGUI ",st="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",dt="dssEdit dssInsert dssBrowse dssInActive ",ct="dftDate dftShortDate dftDateTime dftTimeStamp ",mt="dotDays dotHours dotMinutes dotSeconds ",ut="dtkndLocal dtkndUTC ",rt="arNone arView arEdit arFull ",He="ddaView ddaEdit ",Je="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",St="ecotFile ecotProcess ",bt="eaGet eaCopy eaCreate eaCreateStandardRoute ",pt="edltAll edltNothing edltQuery ",wt="essmText essmCard ",Pt="esvtLast esvtLastActive esvtSpecified ",Nt="edsfExecutive edsfArchive ",Vt="edstSQLServer edstFile ",Wt="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",Mt="vsDefault vsDesign vsActive vsObsolete ",$t="etNone etCertificate etPassword etCertificatePassword ",Yt="ecException ecWarning ecInformation ",Ft="estAll estApprovingOnly ",Jt="evtLast evtLastActive evtQuery ",er="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",Bt="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",It="grhAuto grhX1 grhX2 grhX3 ",Dt="hltText hltRTF hltHTML ",Zt="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",gr="im8bGrayscale im24bRGB im1bMonochrome ",fr="itBMP itJPEG itWMF itPNG ",Dr="ikhInformation ikhWarning ikhError ikhNoIcon ",kr="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",cr="isShow isHide isByUserSettings ",Ar="jkJob jkNotice jkControlJob ",yt="jtInner jtLeft jtRight jtFull jtCross ",vt="lbpAbove lbpBelow lbpLeft lbpRight ",Xt="eltPerConnection eltPerUser ",At="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",zt="sfsItalic sfsStrikeout sfsNormal ",Br="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",br="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",Ur="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",un="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",sr="rdWindow rdFile rdPrinter ",ur="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",Cr="reOnChange reOnChangeValues ",Tr="ttGlobal ttLocal ttUser ttSystem ",jt="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",Wr="smSelect smLike smCard ",ir="stNone stAuthenticating stApproving ",Gr="sctString sctStream ",Jr="sstAnsiSort sstNaturalSort ",Xr="svtEqual svtContain ",fn="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",cn="tarAbortByUser tarAbortByWorkflowException ",nn="tvtAllWords tvtExactPhrase tvtAnyWord ",ar="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",xr="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",Lr="btAnd btDetailAnd btOr btNotOr btOnly ",Rr="vmView vmSelect vmNavigation ",Mr="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",an="wfatPrevious wfatNext wfatCancel wfatFinish ",gn="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",dn="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",pn="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",Mn="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",Yn="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",hi="waAll waPerformers waManual ",Ci="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",da="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",ra="wiLow wiNormal wiHigh ",Ri="wrtSoft wrtHard ",oi="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",mi="wtmFull wtmFromCurrent wtmOnlyCurrent ",Ia=De+Ue+we+Ie+Be+Ke+Ve+je+Le+et+Qe+Fe+$e+Ye+tt+ot+st+dt+ct+mt+ut+rt+He+Je+St+bt+pt+wt+Pt+Nt+Vt+Wt+Mt+$t+Yt+Ft+Jt+er+Bt+It+Dt+Zt+gr+fr+Dr+kr+cr+Ar+yt+vt+Xt+At+zt+Br+br+Ur+un+sr+ur+Cr+Tr+jt+Wr+ir+Gr+Jr+Xr+fn+cn+nn+ar+xr+Lr+Rr+Mr+an+gn+dn+pn+Mn+Yn+hi+Ci+da+ra+Ri+oi+mi,ha="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",ka="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",na="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",Fi=Ae+Ia,Zn=ka,ia="null true false nil ",Oa={className:"number",begin:m.NUMBER_RE,relevance:0},aa={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},Ii={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},fa={className:"comment",begin:"//",end:"$",relevance:0,contains:[m.PHRASAL_WORDS_MODE,Ii]},Na={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[m.PHRASAL_WORDS_MODE,Ii]},pa={variants:[fa,Na]},Vi={$pattern:M,keyword:V,built_in:Fi,class:Zn,literal:ia},ki={begin:"\\.\\s*"+m.UNDERSCORE_IDENT_RE,keywords:Vi,relevance:0},ma={className:"type",begin:":[ \\t]*("+na.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},sa={className:"variable",keywords:Vi,begin:M,relevance:0,contains:[ma,ki]},oa=G+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Vi,illegal:"\\$|\\?|%|,|;$|~|#|@|V($,D,B-1))}function q($){const D=$.regex,B="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",R=B+V("(?:<"+B+"~~~(?:\\s*,\\s*"+B+"~~~)*>)?",/~~~/g,2),ae={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},ie={className:"meta",begin:"@"+B,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},he={className:"params",begin:/\(/,end:/\)/,keywords:ae,relevance:0,contains:[$.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:ae,illegal:/<\/|#/,contains:[$.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},$.C_LINE_COMMENT_MODE,$.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[$.BACKSLASH_ESCAPE]},$.APOS_STRING_MODE,$.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,B],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[D.concat(/(?!else)/,B),/\s+/,B,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,B],className:{1:"keyword",3:"title.class"},contains:[he,$.C_LINE_COMMENT_MODE,$.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+R+"\\s+)",$.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:ae,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:ae,relevance:0,contains:[ie,$.APOS_STRING_MODE,$.QUOTE_STRING_MODE,G,$.C_BLOCK_COMMENT_MODE]},$.C_LINE_COMMENT_MODE,$.C_BLOCK_COMMENT_MODE]},G,ie]}}return java_1=q,java_1}var javascript_1,hasRequiredJavascript;function requireJavascript(){if(hasRequiredJavascript)return javascript_1;hasRequiredJavascript=1;const k="[A-Za-z$_][0-9A-Za-z$_]*",m=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],M=["true","false","null","undefined","NaN","Infinity"],G=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],V=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],q=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],$=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],D=[].concat(q,G,V);function B(R){const U=R.regex,K=(Ue,{after:we})=>{const Ie="",end:""},ae=/<[A-Za-z0-9\\._:-]+\s*\/>/,ie={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Ue,we)=>{const Ie=Ue[0].length+Ue.index,Be=Ue.input[Ie];if(Be==="<"||Be===","){we.ignoreMatch();return}Be===">"&&(K(Ue,{after:Ie})||we.ignoreMatch());let Ke;const Ve=Ue.input.substring(Ie);if(Ke=Ve.match(/^\s*=/)){we.ignoreMatch();return}if((Ke=Ve.match(/^\s+extends\s+/))&&Ke.index===0){we.ignoreMatch();return}}},he={$pattern:k,keyword:m,literal:M,built_in:D,"variable.language":$},J="[0-9](_?[0-9])*",X=`\\.(${J})`,W="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",L={className:"number",variants:[{begin:`(\\b(${W})((${X})|\\.)?|(${X}))[eE][+-]?(${J})\\b`},{begin:`\\b(${W})\\b((${X})\\b|\\.)?|(${X})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},Q={className:"subst",begin:"\\$\\{",end:"\\}",keywords:he,contains:[]},ce={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[R.BACKSLASH_ESCAPE,Q],subLanguage:"xml"}},de={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[R.BACKSLASH_ESCAPE,Q],subLanguage:"css"}},oe={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[R.BACKSLASH_ESCAPE,Q],subLanguage:"graphql"}},se={className:"string",begin:"`",end:"`",contains:[R.BACKSLASH_ESCAPE,Q]},Ee={className:"comment",variants:[R.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:z+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),R.C_BLOCK_COMMENT_MODE,R.C_LINE_COMMENT_MODE]},ke=[R.APOS_STRING_MODE,R.QUOTE_STRING_MODE,ce,de,oe,se,{match:/\$\d+/},L];Q.contains=ke.concat({begin:/\{/,end:/\}/,keywords:he,contains:["self"].concat(ke)});const xe=[].concat(Ee,Q.contains),fe=xe.concat([{begin:/\(/,end:/\)/,keywords:he,contains:["self"].concat(xe)}]),ve={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:he,contains:fe},ye={variants:[{match:[/class/,/\s+/,z,/\s+/,/extends/,/\s+/,U.concat(z,"(",U.concat(/\./,z),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,z],scope:{1:"keyword",3:"title.class"}}]},Ce={relevance:0,match:U.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...G,...V]}},pe={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},_e={variants:[{match:[/function/,/\s+/,z,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ve],illegal:/%/},Ge={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Te(Ue){return U.concat("(?!",Ue.join("|"),")")}const Ne={match:U.concat(/\b/,Te([...q,"super","import"]),z,U.lookahead(/\(/)),className:"title.function",relevance:0},Ze={begin:U.concat(/\./,U.lookahead(U.concat(z,/(?![0-9A-Za-z$_(])/))),end:z,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ze={match:[/get|set/,/\s+/,z,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ve]},Ae="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+R.UNDERSCORE_IDENT_RE+")\\s*=>",De={match:[/const|var|let/,/\s+/,z,/\s*/,/=\s*/,/(async\s*)?/,U.lookahead(Ae)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ve]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:he,exports:{PARAMS_CONTAINS:fe,CLASS_REFERENCE:Ce},illegal:/#(?![$_A-z])/,contains:[R.SHEBANG({label:"shebang",binary:"node",relevance:5}),pe,R.APOS_STRING_MODE,R.QUOTE_STRING_MODE,ce,de,oe,se,Ee,{match:/\$\d+/},L,Ce,{className:"attr",begin:z+U.lookahead(":"),relevance:0},De,{begin:"("+R.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[Ee,R.REGEXP_MODE,{className:"function",begin:Ae,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:R.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:he,contains:fe}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:e.begin,end:e.end},{match:ae},{begin:ie.begin,"on:begin":ie.isTrulyOpeningTag,end:ie.end}],subLanguage:"xml",contains:[{begin:ie.begin,end:ie.end,skip:!0,contains:["self"]}]}]},_e,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+R.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ve,R.inherit(R.TITLE_MODE,{begin:z,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ze,{match:"\\$"+z,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ve]},Ne,Ge,ye,ze,{match:/\$[(.]/}]}}return javascript_1=B,javascript_1}var jbossCli_1,hasRequiredJbossCli;function requireJbossCli(){if(hasRequiredJbossCli)return jbossCli_1;hasRequiredJbossCli=1;function k(m){const G={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},V={className:"function",begin:/:[\w\-.]+/,relevance:0},q={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},$={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[m.HASH_COMMENT_MODE,m.QUOTE_STRING_MODE,$,V,q,G]}}return jbossCli_1=k,jbossCli_1}var json_1,hasRequiredJson;function requireJson(){if(hasRequiredJson)return json_1;hasRequiredJson=1;function k(m){const M={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},G={match:/[{}[\],:]/,className:"punctuation",relevance:0},V=["true","false","null"],q={scope:"literal",beginKeywords:V.join(" ")};return{name:"JSON",keywords:{literal:V},contains:[M,G,m.QUOTE_STRING_MODE,q,m.C_NUMBER_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return json_1=k,json_1}var julia_1,hasRequiredJulia;function requireJulia(){if(hasRequiredJulia)return julia_1;hasRequiredJulia=1;function k(m){const M="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",$={$pattern:M,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},D={keywords:$,illegal:/<\//},B={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},R={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},U={className:"subst",begin:/\$\(/,end:/\)/,keywords:$},K={className:"variable",begin:"\\$"+M},z={className:"string",contains:[m.BACKSLASH_ESCAPE,U,K],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},e={className:"string",contains:[m.BACKSLASH_ESCAPE,U,K],begin:"`",end:"`"},ae={className:"meta",begin:"@"+M},ie={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return D.name="Julia",D.contains=[B,R,z,e,ae,ie,m.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],U.contains=D.contains,D}return julia_1=k,julia_1}var juliaRepl_1,hasRequiredJuliaRepl;function requireJuliaRepl(){if(hasRequiredJuliaRepl)return juliaRepl_1;hasRequiredJuliaRepl=1;function k(m){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return juliaRepl_1=k,juliaRepl_1}var kotlin_1,hasRequiredKotlin;function requireKotlin(){if(hasRequiredKotlin)return kotlin_1;hasRequiredKotlin=1;var k="[0-9](_*[0-9])*",m=`\\.(${k})`,M="[0-9a-fA-F](_*[0-9a-fA-F])*",G={className:"number",variants:[{begin:`(\\b(${k})((${m})|\\.)?|(${m}))[eE][+-]?(${k})[fFdD]?\\b`},{begin:`\\b(${k})((${m})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${m})[fFdD]?\\b`},{begin:`\\b(${k})[fFdD]\\b`},{begin:`\\b0[xX]((${M})\\.?|(${M})?\\.(${M}))[pP][+-]?(${k})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${M})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function V(q){const $={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},D={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},B={className:"symbol",begin:q.UNDERSCORE_IDENT_RE+"@"},R={className:"subst",begin:/\$\{/,end:/\}/,contains:[q.C_NUMBER_MODE]},U={className:"variable",begin:"\\$"+q.UNDERSCORE_IDENT_RE},K={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[U,R]},{begin:"'",end:"'",illegal:/\n/,contains:[q.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[q.BACKSLASH_ESCAPE,U,R]}]};R.contains.push(K);const z={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+q.UNDERSCORE_IDENT_RE+")?"},e={className:"meta",begin:"@"+q.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[q.inherit(K,{className:"string"}),"self"]}]},ae=G,ie=q.COMMENT("/\\*","\\*/",{contains:[q.C_BLOCK_COMMENT_MODE]}),he={variants:[{className:"type",begin:q.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},J=he;return J.variants[1].contains=[he],he.variants[1].contains=[J],{name:"Kotlin",aliases:["kt","kts"],keywords:$,contains:[q.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),q.C_LINE_COMMENT_MODE,ie,D,B,z,e,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:$,relevance:5,contains:[{begin:q.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[q.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:$,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[he,q.C_LINE_COMMENT_MODE,ie],relevance:0},q.C_LINE_COMMENT_MODE,ie,z,e,K,q.C_NUMBER_MODE]},ie]},{begin:[/class|interface|trait/,/\s+/,q.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},q.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},z,e]},K,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` -`},ae]}}return kotlin_1=V,kotlin_1}var lasso_1,hasRequiredLasso;function requireLasso(){if(hasRequiredLasso)return lasso_1;hasRequiredLasso=1;function k(m){const M="[a-zA-Z_][\\w.]*",G="<\\?(lasso(script)?|=)",V="\\]|\\?>",q={$pattern:M+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},$=m.COMMENT("",{relevance:0}),D={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[$]}},B={className:"meta",begin:"\\[/noprocess|"+G},R={className:"symbol",begin:"'"+M+"'"},U=[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.inherit(m.C_NUMBER_MODE,{begin:m.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),m.inherit(m.APOS_STRING_MODE,{illegal:null}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+M},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:M,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+M,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[R]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[m.inherit(m.TITLE_MODE,{begin:M+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:q,contains:[{className:"meta",begin:V,relevance:0,starts:{end:"\\[|"+G,returnEnd:!0,relevance:0,contains:[$]}},D,B,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:q,contains:[{className:"meta",begin:V,relevance:0,starts:{end:"\\[noprocess\\]|"+G,returnEnd:!0,contains:[$]}},D,B].concat(U)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(U)}}return lasso_1=k,lasso_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1;function k(m){const G=m.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(Ee=>Ee+"(?![a-zA-Z@:_])")),V=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(Ee=>Ee+"(?![a-zA-Z:_])").join("|")),q=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],$=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],D={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:G},{endsParent:!0,begin:V},{endsParent:!0,variants:$},{endsParent:!0,relevance:0,variants:q}]},B={className:"params",relevance:0,begin:/#+\d?/},R={variants:$},U={className:"built_in",relevance:0,begin:/[$&^_]/},K={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},z=m.COMMENT("%","$",{relevance:0}),e=[D,B,R,U,K,z],ae={begin:/\{/,end:/\}/,relevance:0,contains:["self",...e]},ie=m.inherit(ae,{relevance:0,endsParent:!0,contains:[ae,...e]}),he={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[ae,...e]},J={begin:/\s+/,relevance:0},X=[ie],W=[he],L=function(Ee,ke){return{contains:[J],starts:{relevance:0,contains:Ee,starts:ke}}},Q=function(Ee,ke){return{begin:"\\\\"+Ee+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+Ee},relevance:0,contains:[J],starts:ke}},ce=function(Ee,ke){return m.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+Ee+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},L(X,ke))},de=(Ee="string")=>m.END_SAME_AS_BEGIN({className:Ee,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),oe=function(Ee){return{className:"string",end:"(?=\\\\end\\{"+Ee+"\\})"}},se=(Ee="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:Ee,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),me=[...["verb","lstinline"].map(Ee=>Q(Ee,{contains:[de()]})),Q("mint",L(X,{contains:[de()]})),Q("mintinline",L(X,{contains:[se(),de()]})),Q("url",{contains:[se("link"),se("link")]}),Q("hyperref",{contains:[se("link")]}),Q("href",L(W,{contains:[se("link")]})),...[].concat(...["","\\*"].map(Ee=>[ce("verbatim"+Ee,oe("verbatim"+Ee)),ce("filecontents"+Ee,L(X,oe("filecontents"+Ee))),...["","B","L"].map(ke=>ce(ke+"Verbatim"+Ee,L(W,oe(ke+"Verbatim"+Ee))))])),ce("minted",L(W,L(X,oe("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...me,...e]}}return latex_1=k,latex_1}var ldif_1,hasRequiredLdif;function requireLdif(){if(hasRequiredLdif)return ldif_1;hasRequiredLdif=1;function k(m){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},m.HASH_COMMENT_MODE]}}return ldif_1=k,ldif_1}var leaf_1,hasRequiredLeaf;function requireLeaf(){if(hasRequiredLeaf)return leaf_1;hasRequiredLeaf=1;function k(m){const M=/([A-Za-z_][A-Za-z_0-9]*)?/,V={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},q={match:[M,/(?=\()/],scope:{1:"keyword"},contains:[V]};return V.contains.unshift(q),{name:"Leaf",contains:[{match:[/#+/,M,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[V]},{match:[/#+/,M,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return leaf_1=k,leaf_1}var less_1,hasRequiredLess;function requireLess(){if(hasRequiredLess)return less_1;hasRequiredLess=1;const k=B=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:B.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[B.APOS_STRING_MODE,B.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:B.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),m=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],M=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],G=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],V=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],q=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),$=G.concat(V);function D(B){const R=k(B),U=$,K="and or not only",z="[\\w-]+",e="("+z+"|@\\{"+z+"\\})",ae=[],ie=[],he=function(Ee){return{className:"string",begin:"~?"+Ee+".*?"+Ee}},J=function(Ee,ke,xe){return{className:Ee,begin:ke,relevance:xe}},X={$pattern:/[a-z-]+/,keyword:K,attribute:M.join(" ")},W={begin:"\\(",end:"\\)",contains:ie,keywords:X,relevance:0};ie.push(B.C_LINE_COMMENT_MODE,B.C_BLOCK_COMMENT_MODE,he("'"),he('"'),R.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},R.HEXCOLOR,W,J("variable","@@?"+z,10),J("variable","@\\{"+z+"\\}"),J("built_in","~?`[^`]*?`"),{className:"attribute",begin:z+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},R.IMPORTANT,{beginKeywords:"and not"},R.FUNCTION_DISPATCH);const L=ie.concat({begin:/\{/,end:/\}/,contains:ae}),Q={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(ie)},ce={begin:e+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},R.CSS_VARIABLE,{className:"attribute",begin:"\\b("+q.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:ie}}]},de={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:X,returnEnd:!0,contains:ie,relevance:0}},oe={className:"variable",variants:[{begin:"@"+z+"\\s*:",relevance:15},{begin:"@"+z}],starts:{end:"[;}]",returnEnd:!0,contains:L}},se={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:e,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[B.C_LINE_COMMENT_MODE,B.C_BLOCK_COMMENT_MODE,Q,J("keyword","all\\b"),J("variable","@\\{"+z+"\\}"),{begin:"\\b("+m.join("|")+")\\b",className:"selector-tag"},R.CSS_NUMBER_MODE,J("selector-tag",e,0),J("selector-id","#"+e),J("selector-class","\\."+e,0),J("selector-tag","&",0),R.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+G.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+V.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:L},{begin:"!important"},R.FUNCTION_DISPATCH]},me={begin:z+`:(:)?(${U.join("|")})`,returnBegin:!0,contains:[se]};return ae.push(B.C_LINE_COMMENT_MODE,B.C_BLOCK_COMMENT_MODE,de,oe,me,ce,se,Q,R.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:ae}}return less_1=D,less_1}var lisp_1,hasRequiredLisp;function requireLisp(){if(hasRequiredLisp)return lisp_1;hasRequiredLisp=1;function k(m){const M="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",G="\\|[^]*?\\|",V="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",q={className:"literal",begin:"\\b(t{1}|nil)\\b"},$={className:"number",variants:[{begin:V,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+V+" +"+V,end:"\\)"}]},D=m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),B=m.COMMENT(";","$",{relevance:0}),R={begin:"\\*",end:"\\*"},U={className:"symbol",begin:"[:&]"+M},K={begin:M,relevance:0},z={begin:G},ae={contains:[$,D,R,U,{begin:"\\(",end:"\\)",contains:["self",q,D,$,K]},K],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+G}]},ie={variants:[{begin:"'"+M},{begin:"#'"+M+"(::"+M+")*"}]},he={begin:"\\(\\s*",end:"\\)"},J={endsWithParent:!0,relevance:0};return he.contains=[{className:"name",variants:[{begin:M,relevance:0},{begin:G}]},J],J.contains=[ae,ie,he,q,$,D,B,R,U,z,K],{name:"Lisp",illegal:/\S/,contains:[$,m.SHEBANG(),q,D,B,ae,ie,he,K]}}return lisp_1=k,lisp_1}var livecodeserver_1,hasRequiredLivecodeserver;function requireLivecodeserver(){if(hasRequiredLivecodeserver)return livecodeserver_1;hasRequiredLivecodeserver=1;function k(m){const M={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},G=[m.C_BLOCK_COMMENT_MODE,m.HASH_COMMENT_MODE,m.COMMENT("--","$"),m.COMMENT("[^:]//","$")],V=m.inherit(m.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),q=m.inherit(m.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[M,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[M,q,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE,V]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[q,V],relevance:0},{beginKeywords:"command on",end:"$",contains:[M,q,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE,V]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE,V].concat(G),illegal:";$|^\\[|^=|&|\\{"}}return livecodeserver_1=k,livecodeserver_1}var livescript_1,hasRequiredLivescript;function requireLivescript(){if(hasRequiredLivescript)return livescript_1;hasRequiredLivescript=1;const k=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m=["true","false","null","undefined","NaN","Infinity"],M=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],G=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],V=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],q=[].concat(V,M,G);function $(D){const B=["npm","print"],R=["yes","no","on","off","it","that","void"],U=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],K={keyword:k.concat(U),literal:m.concat(R),built_in:q.concat(B)},z="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",e=D.inherit(D.TITLE_MODE,{begin:z}),ae={className:"subst",begin:/#\{/,end:/\}/,keywords:K},ie={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:K},he=[D.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[D.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[D.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[D.BACKSLASH_ESCAPE,ae,ie]},{begin:/"/,end:/"/,contains:[D.BACKSLASH_ESCAPE,ae,ie]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[ae,D.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+z},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];ae.contains=he;const J={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:K,contains:["self"].concat(he)}]},X={begin:"(#=>|=>|\\|>>|-?->|!->)"},W={variants:[{match:[/class\s+/,z,/\s+extends\s+/,z]},{match:[/class\s+/,z]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:K};return{name:"LiveScript",aliases:["ls"],keywords:K,illegal:/\/\*/,contains:he.concat([D.COMMENT("\\/\\*","\\*\\/"),D.HASH_COMMENT_MODE,X,{className:"function",contains:[e,J],returnBegin:!0,variants:[{begin:"("+z+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+z+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+z+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},W,{begin:z+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return livescript_1=$,livescript_1}var llvm_1,hasRequiredLlvm;function requireLlvm(){if(hasRequiredLlvm)return llvm_1;hasRequiredLlvm=1;function k(m){const M=m.regex,G=/([-a-zA-Z$._][\w$.-]*)/,V={className:"type",begin:/\bi\d+(?=\s|\b)/},q={className:"operator",relevance:0,begin:/=/},$={className:"punctuation",relevance:0,begin:/,/},D={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},B={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},R={className:"variable",variants:[{begin:M.concat(/%/,G)},{begin:/%\d+/},{begin:/#\d+/}]},U={className:"title",variants:[{begin:M.concat(/@/,G)},{begin:/@\d+/},{begin:M.concat(/!/,G)},{begin:M.concat(/!\d+/,G)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[V,m.COMMENT(/;\s*$/,null,{relevance:0}),m.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},U,$,q,R,B,D]}}return llvm_1=k,llvm_1}var lsl_1,hasRequiredLsl;function requireLsl(){if(hasRequiredLsl)return lsl_1;hasRequiredLsl=1;function k(m){const G={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},V={className:"number",relevance:0,begin:m.C_NUMBER_RE},q={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},$={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[G,{className:"comment",variants:[m.COMMENT("//","$"),m.COMMENT("/\\*","\\*/")],relevance:0},V,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},$,q,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return lsl_1=k,lsl_1}var lua_1,hasRequiredLua;function requireLua(){if(hasRequiredLua)return lua_1;hasRequiredLua=1;function k(m){const M="\\[=*\\[",G="\\]=*\\]",V={begin:M,end:G,contains:["self"]},q=[m.COMMENT("--(?!"+M+")","$"),m.COMMENT("--"+M,G,{contains:[V],relevance:10})];return{name:"Lua",keywords:{$pattern:m.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:q.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[m.inherit(m.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:q}].concat(q)},m.C_NUMBER_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{className:"string",begin:M,end:G,contains:[V],relevance:5}])}}return lua_1=k,lua_1}var makefile_1,hasRequiredMakefile;function requireMakefile(){if(hasRequiredMakefile)return makefile_1;hasRequiredMakefile=1;function k(m){const M={className:"variable",variants:[{begin:"\\$\\("+m.UNDERSCORE_IDENT_RE+"\\)",contains:[m.BACKSLASH_ESCAPE]},{begin:/\$[@%{ie.has(de[0])||oe.ignoreMatch()}},{className:"symbol",relevance:0,begin:ae}]},J={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},X={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},W={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},L={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},Q={className:"brace",relevance:0,begin:/[[\](){}]/},ce={className:"message-name",relevance:0,begin:G.concat("::",ae)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[M.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),W,L,ce,he,J,M.QUOTE_STRING_MODE,e,X,Q]}}return mathematica_1=m,mathematica_1}var matlab_1,hasRequiredMatlab;function requireMatlab(){if(hasRequiredMatlab)return matlab_1;hasRequiredMatlab=1;function k(m){const M="('|\\.')+",G={relevance:0,contains:[{begin:M}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[m.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:G},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+M,relevance:0},{className:"number",begin:m.C_NUMBER_RE,relevance:0,starts:G},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:G},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:G},m.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),m.COMMENT("%","$")]}}return matlab_1=k,matlab_1}var maxima_1,hasRequiredMaxima;function requireMaxima(){if(hasRequiredMaxima)return maxima_1;hasRequiredMaxima=1;function k(m){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},m.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return maxima_1=k,maxima_1}var mel_1,hasRequiredMel;function requireMel(){if(hasRequiredMel)return mel_1;hasRequiredMel=1;function k(m){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},G,m.C_BLOCK_COMMENT_MODE,V,m.NUMBER_MODE,q,$,{begin:/:-/},{begin:/\.$/}]}}return mercury_1=k,mercury_1}var mipsasm_1,hasRequiredMipsasm;function requireMipsasm(){if(hasRequiredMipsasm)return mipsasm_1;hasRequiredMipsasm=1;function k(m){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+m.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},m.COMMENT("[;#](?!\\s*$)","$"),m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return mipsasm_1=k,mipsasm_1}var mizar_1,hasRequiredMizar;function requireMizar(){if(hasRequiredMizar)return mizar_1;hasRequiredMizar=1;function k(m){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[m.COMMENT("::","$")]}}return mizar_1=k,mizar_1}var perl_1,hasRequiredPerl;function requirePerl(){if(hasRequiredPerl)return perl_1;hasRequiredPerl=1;function k(m){const M=m.regex,G=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],V=/[dualxmsipngr]{0,12}/,q={$pattern:/[\w.]+/,keyword:G.join(" ")},$={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:q},D={begin:/->\{/,end:/\}/},B={variants:[{begin:/\$\d/},{begin:M.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},R=[m.BACKSLASH_ESCAPE,$,B],U=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],K=(ae,ie,he="\\1")=>{const J=he==="\\1"?he:M.concat(he,ie);return M.concat(M.concat("(?:",ae,")"),ie,/(?:\\.|[^\\\/])*?/,J,/(?:\\.|[^\\\/])*?/,he,V)},z=(ae,ie,he)=>M.concat(M.concat("(?:",ae,")"),ie,/(?:\\.|[^\\\/])*?/,he,V),e=[B,m.HASH_COMMENT_MODE,m.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),D,{className:"string",contains:R,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[m.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+m.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[m.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:K("s|tr|y",M.either(...U,{capture:!0}))},{begin:K("s|tr|y","\\(","\\)")},{begin:K("s|tr|y","\\[","\\]")},{begin:K("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:z("(?:m|qr)?",/\//,/\//)},{begin:z("m|qr",M.either(...U,{capture:!0}),/\1/)},{begin:z("m|qr",/\(/,/\)/)},{begin:z("m|qr",/\[/,/\]/)},{begin:z("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[m.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return $.contains=e,D.contains=e,{name:"Perl",aliases:["pl","pm"],keywords:q,contains:e}}return perl_1=k,perl_1}var mojolicious_1,hasRequiredMojolicious;function requireMojolicious(){if(hasRequiredMojolicious)return mojolicious_1;hasRequiredMojolicious=1;function k(m){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return mojolicious_1=k,mojolicious_1}var monkey_1,hasRequiredMonkey;function requireMonkey(){if(hasRequiredMonkey)return monkey_1;hasRequiredMonkey=1;function k(m){const M={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},m.NUMBER_MODE]},G={variants:[{match:[/(function|method)/,/\s+/,m.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},V={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,m.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[m.COMMENT("#rem","#end"),m.COMMENT("'","$",{relevance:0}),G,V,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[m.UNDERSCORE_TITLE_MODE]},m.QUOTE_STRING_MODE,M]}}return monkey_1=k,monkey_1}var moonscript_1,hasRequiredMoonscript;function requireMoonscript(){if(hasRequiredMoonscript)return moonscript_1;hasRequiredMoonscript=1;function k(m){const M={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},G="[A-Za-z$_][0-9A-Za-z$_]*",V={className:"subst",begin:/#\{/,end:/\}/,keywords:M},q=[m.inherit(m.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[m.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[m.BACKSLASH_ESCAPE,V]}]},{className:"built_in",begin:"@__"+m.IDENT_RE},{begin:"@"+m.IDENT_RE},{begin:m.IDENT_RE+"\\\\"+m.IDENT_RE}];V.contains=q;const $=m.inherit(m.TITLE_MODE,{begin:G}),D="(\\(.*\\)\\s*)?\\B[-=]>",B={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:M,contains:["self"].concat(q)}]};return{name:"MoonScript",aliases:["moon"],keywords:M,illegal:/\/\*/,contains:q.concat([m.COMMENT("--","$"),{className:"function",begin:"^\\s*"+G+"\\s*=\\s*"+D,end:"[-=]>",returnBegin:!0,contains:[$,B]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:D,end:"[-=]>",returnBegin:!0,contains:[B]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[$]},$]},{className:"name",begin:G+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return moonscript_1=k,moonscript_1}var n1ql_1,hasRequiredN1ql;function requireN1ql(){if(hasRequiredN1ql)return n1ql_1;hasRequiredN1ql=1;function k(m){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[m.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[m.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE]},m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE]},m.C_BLOCK_COMMENT_MODE]}}return n1ql_1=k,n1ql_1}var nestedtext_1,hasRequiredNestedtext;function requireNestedtext(){if(hasRequiredNestedtext)return nestedtext_1;hasRequiredNestedtext=1;function k(m){const M={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},G={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},V={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},q={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[m.inherit(m.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),q,V,M,G]}}return nestedtext_1=k,nestedtext_1}var nginx_1,hasRequiredNginx;function requireNginx(){if(hasRequiredNginx)return nginx_1;hasRequiredNginx=1;function k(m){const M=m.regex,G={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:M.concat(/[$@]/,m.UNDERSCORE_IDENT_RE)}]},q={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[m.HASH_COMMENT_MODE,{className:"string",contains:[m.BACKSLASH_ESCAPE,G],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[G]},{className:"regexp",contains:[m.BACKSLASH_ESCAPE,G],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},G]};return{name:"Nginx config",aliases:["nginxconf"],contains:[m.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:q.contains,keywords:{section:"upstream location"}},{className:"section",begin:M.concat(m.UNDERSCORE_IDENT_RE+M.lookahead(/\s+\{/)),relevance:0},{begin:M.lookahead(m.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:m.UNDERSCORE_IDENT_RE,starts:q}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return nginx_1=k,nginx_1}var nim_1,hasRequiredNim;function requireNim(){if(hasRequiredNim)return nim_1;hasRequiredNim=1;function k(m){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},m.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},m.HASH_COMMENT_MODE]}}return nim_1=k,nim_1}var nix_1,hasRequiredNix;function requireNix(){if(hasRequiredNix)return nix_1;hasRequiredNix=1;function k(m){const M={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},G={className:"subst",begin:/\$\{/,end:/\}/,keywords:M},V={className:"char.escape",begin:/''\$/},q={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},$={className:"string",contains:[V,G],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},D=[m.NUMBER_MODE,m.HASH_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,$,q];return G.contains=D,{name:"Nix",aliases:["nixos"],keywords:M,contains:D}}return nix_1=k,nix_1}var nodeRepl_1,hasRequiredNodeRepl;function requireNodeRepl(){if(hasRequiredNodeRepl)return nodeRepl_1;hasRequiredNodeRepl=1;function k(m){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return nodeRepl_1=k,nodeRepl_1}var nsis_1,hasRequiredNsis;function requireNsis(){if(hasRequiredNsis)return nsis_1;hasRequiredNsis=1;function k(m){const M=m.regex,G=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],V=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],q=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],$={className:"variable.constant",begin:M.concat(/\$/,M.either(...G))},D={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},B={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},R={className:"variable",begin:/\$+\([\w^.:!-]+\)/},U={className:"params",begin:M.either(...V)},K={className:"keyword",begin:M.concat(/!/,M.either(...q))},z={className:"char.escape",begin:/\$(\\[nrt]|\$)/},e={className:"title.function",begin:/\w+::\w+/},ae={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[z,$,D,B,R]},ie=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],he=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],J={match:[/Function/,/\s+/,M.concat(/(\.)?/,m.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},W={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:ie,literal:he},contains:[m.HASH_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.COMMENT(";","$",{relevance:0}),W,J,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},ae,K,D,B,R,U,e,m.NUMBER_MODE]}}return nsis_1=k,nsis_1}var objectivec_1,hasRequiredObjectivec;function requireObjectivec(){if(hasRequiredObjectivec)return objectivec_1;hasRequiredObjectivec=1;function k(m){const M={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},G=/[a-zA-Z@][a-zA-Z0-9_]*/,B={"variable.language":["this","super"],$pattern:G,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},R={$pattern:G,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:B,illegal:"/,end:/$/,illegal:"\\n"},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+R.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:R,contains:[m.UNDERSCORE_TITLE_MODE]},{begin:"\\."+m.UNDERSCORE_IDENT_RE,relevance:0}]}}return objectivec_1=k,objectivec_1}var ocaml_1,hasRequiredOcaml;function requireOcaml(){if(hasRequiredOcaml)return ocaml_1;hasRequiredOcaml=1;function k(m){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},m.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},m.inherit(m.APOS_STRING_MODE,{className:"string",relevance:0}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return ocaml_1=k,ocaml_1}var openscad_1,hasRequiredOpenscad;function requireOpenscad(){if(hasRequiredOpenscad)return openscad_1;hasRequiredOpenscad=1;function k(m){const M={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},G={className:"literal",begin:"false|true|PI|undef"},V={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},q=m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),$={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},D={className:"params",begin:"\\(",end:"\\)",contains:["self",V,q,M,G]},B={begin:"[*!#%]",relevance:0},R={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[D,m.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,V,$,q,M,B,R]}}return openscad_1=k,openscad_1}var oxygene_1,hasRequiredOxygene;function requireOxygene(){if(hasRequiredOxygene)return oxygene_1;hasRequiredOxygene=1;function k(m){const M={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},G=m.COMMENT(/\{/,/\}/,{relevance:0}),V=m.COMMENT("\\(\\*","\\*\\)",{relevance:10}),q={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},$={className:"string",begin:"(#\\d+)+"},D={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[m.inherit(m.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:M,contains:[q,$]},G,V]},B={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:M,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[G,V,m.C_LINE_COMMENT_MODE,q,$,m.NUMBER_MODE,D,B]}}return oxygene_1=k,oxygene_1}var parser3_1,hasRequiredParser3;function requireParser3(){if(hasRequiredParser3)return parser3_1;hasRequiredParser3=1;function k(m){const M=m.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[m.COMMENT("^#","$"),m.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[M]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},m.C_NUMBER_MODE]}}return parser3_1=k,parser3_1}var pf_1,hasRequiredPf;function requirePf(){if(hasRequiredPf)return pf_1;hasRequiredPf=1;function k(m){const M={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},G={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[m.HASH_COMMENT_MODE,m.NUMBER_MODE,m.QUOTE_STRING_MODE,M,G]}}return pf_1=k,pf_1}var pgsql_1,hasRequiredPgsql;function requirePgsql(){if(hasRequiredPgsql)return pgsql_1;hasRequiredPgsql=1;function k(m){const M=m.COMMENT("--","$"),G="[a-zA-Z_][a-zA-Z_0-9$]*",V="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",q="<<\\s*"+G+"\\s*>>",$="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",D="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",B="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",R="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",U=R.trim().split(" ").map(function(he){return he.split("|")[0]}).join("|"),K="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",z="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",e="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",ie="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(he){return he.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:$+B+D,built_in:K+z+e},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:m.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+ie+")\\s*\\("},{begin:"\\.("+U+")\\b"},{begin:"\\b("+U+")\\s+PATH\\b",keywords:{keyword:"PATH",type:R.replace("PATH ","")}},{className:"type",begin:"\\b("+U+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},m.END_SAME_AS_BEGIN({begin:V,end:V,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE,M,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:q,relevance:10}]}}return pgsql_1=k,pgsql_1}var php_1,hasRequiredPhp;function requirePhp(){if(hasRequiredPhp)return php_1;hasRequiredPhp=1;function k(m){const M=m.regex,G=/(?![A-Za-z0-9])(?![$])/,V=M.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,G),q=M.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,G),$={scope:"variable",match:"\\$+"+V},D={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},B={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},R=m.inherit(m.APOS_STRING_MODE,{illegal:null}),U=m.inherit(m.QUOTE_STRING_MODE,{illegal:null,contains:m.QUOTE_STRING_MODE.contains.concat(B)}),K={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:m.QUOTE_STRING_MODE.contains.concat(B),"on:begin":(fe,ve)=>{ve.data._beginMatch=fe[1]||fe[2]},"on:end":(fe,ve)=>{ve.data._beginMatch!==fe[1]&&ve.ignoreMatch()}},z=m.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),e=`[ -]`,ae={scope:"string",variants:[U,R,K,z]},ie={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},he=["false","null","true"],J=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],X=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],L={keyword:J,literal:(fe=>{const ve=[];return fe.forEach(ye=>{ve.push(ye),ye.toLowerCase()===ye?ve.push(ye.toUpperCase()):ve.push(ye.toLowerCase())}),ve})(he),built_in:X},Q=fe=>fe.map(ve=>ve.replace(/\|\d+$/,"")),ce={variants:[{match:[/new/,M.concat(e,"+"),M.concat("(?!",Q(X).join("\\b|"),"\\b)"),q],scope:{1:"keyword",4:"title.class"}}]},de=M.concat(V,"\\b(?!\\()"),oe={variants:[{match:[M.concat(/::/,M.lookahead(/(?!class\b)/)),de],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[q,M.concat(/::/,M.lookahead(/(?!class\b)/)),de],scope:{1:"title.class",3:"variable.constant"}},{match:[q,M.concat("::",M.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[q,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},se={scope:"attr",match:M.concat(V,M.lookahead(":"),M.lookahead(/(?!::)/))},me={relevance:0,begin:/\(/,end:/\)/,keywords:L,contains:[se,$,oe,m.C_BLOCK_COMMENT_MODE,ae,ie,ce]},Ee={relevance:0,match:[/\b/,M.concat("(?!fn\\b|function\\b|",Q(J).join("\\b|"),"|",Q(X).join("\\b|"),"\\b)"),V,M.concat(e,"*"),M.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[me]};me.contains.push(Ee);const ke=[se,oe,m.C_BLOCK_COMMENT_MODE,ae,ie,ce],xe={begin:M.concat(/#\[\s*/,q),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:he,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:he,keyword:["new","array"]},contains:["self",...ke]},...ke,{scope:"meta",match:q}]};return{case_insensitive:!1,keywords:L,contains:[xe,m.HASH_COMMENT_MODE,m.COMMENT("//","$"),m.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:m.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},D,{scope:"variable.language",match:/\$this\b/},$,Ee,oe,{match:[/const/,/\s/,V],scope:{1:"keyword",3:"variable.constant"}},ce,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},m.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:L,contains:["self",$,oe,m.C_BLOCK_COMMENT_MODE,ae,ie]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},m.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[m.inherit(m.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},m.UNDERSCORE_TITLE_MODE]},ae,ie]}}return php_1=k,php_1}var phpTemplate_1,hasRequiredPhpTemplate;function requirePhpTemplate(){if(hasRequiredPhpTemplate)return phpTemplate_1;hasRequiredPhpTemplate=1;function k(m){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},m.inherit(m.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return phpTemplate_1=k,phpTemplate_1}var plaintext_1,hasRequiredPlaintext;function requirePlaintext(){if(hasRequiredPlaintext)return plaintext_1;hasRequiredPlaintext=1;function k(m){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return plaintext_1=k,plaintext_1}var pony_1,hasRequiredPony;function requirePony(){if(hasRequiredPony)return pony_1;hasRequiredPony=1;function k(m){const M={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},G={className:"string",begin:'"""',end:'"""',relevance:10},V={className:"string",begin:'"',end:'"',contains:[m.BACKSLASH_ESCAPE]},q={className:"string",begin:"'",end:"'",contains:[m.BACKSLASH_ESCAPE],relevance:0},$={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},D={begin:m.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:M,contains:[$,G,V,q,D,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]}}return pony_1=k,pony_1}var powershell_1,hasRequiredPowershell;function requirePowershell(){if(hasRequiredPowershell)return powershell_1;hasRequiredPowershell=1;function k(m){const M=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],G="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",V="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",q={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},$=/\w[\w\d]*((-)[\w\d]+)*/,D={begin:"`[\\s\\S]",relevance:0},B={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},R={className:"literal",begin:/\$(null|true|false)\b/},U={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[D,B,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},K={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},z={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},e=m.inherit(m.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[z]}),ae={className:"built_in",variants:[{begin:"(".concat(G,")+(-)[\\w\\d]+")}]},ie={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[m.TITLE_MODE]},he={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:$,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[B]}]},J={begin:/using\s/,end:/$/,returnBegin:!0,contains:[U,K,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},X={variants:[{className:"operator",begin:"(".concat(V,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},W={className:"selector-tag",begin:/@\B/,relevance:0},L={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(q.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},m.inherit(m.TITLE_MODE,{endsParent:!0})]},Q=[L,e,D,m.NUMBER_MODE,U,K,ae,B,R,W],ce={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",Q,{begin:"("+M.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return L.contains.unshift(ce),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:q,contains:Q.concat(ie,he,J,X,ce)}}return powershell_1=k,powershell_1}var processing_1,hasRequiredProcessing;function requireProcessing(){if(hasRequiredProcessing)return processing_1;hasRequiredProcessing=1;function k(m){const M=m.regex,G=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],V=m.IDENT_RE,q={variants:[{match:M.concat(M.either(...G),M.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:M.concat(/\b(?!for|if|while)/,V,M.lookahead(/\s*\(/)),className:"title.function"}]},$={match:[/new\s+/,V],className:{1:"keyword",2:"class.title"}},D={relevance:0,match:[/\./,V],className:{2:"property"}},B={variants:[{match:[/class/,/\s+/,V,/\s+/,/extends/,/\s+/,V]},{match:[/class/,/\s+/,V]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},R=["boolean","byte","char","color","double","float","int","long","short"],U=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...G,...U],type:R},contains:[B,$,q,D,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE]}}return processing_1=k,processing_1}var profile_1,hasRequiredProfile;function requireProfile(){if(hasRequiredProfile)return profile_1;hasRequiredProfile=1;function k(m){return{name:"Python profiler",contains:[m.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[m.C_NUMBER_MODE],relevance:10},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return profile_1=k,profile_1}var prolog_1,hasRequiredProlog;function requireProlog(){if(hasRequiredProlog)return prolog_1;hasRequiredProlog=1;function k(m){const M={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},G={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},V={begin:/\(/,end:/\)/,relevance:0},q={begin:/\[/,end:/\]/},$={className:"comment",begin:/%/,end:/$/,contains:[m.PHRASAL_WORDS_MODE]},D={className:"string",begin:/`/,end:/`/,contains:[m.BACKSLASH_ESCAPE]},B={className:"string",begin:/0'(\\'|.)/},R={className:"string",begin:/0'\\s/},K=[M,G,V,{begin:/:-/},q,$,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,D,B,R,m.C_NUMBER_MODE];return V.contains=K,q.contains=K,{name:"Prolog",contains:K.concat([{begin:/\.$/}])}}return prolog_1=k,prolog_1}var properties_1,hasRequiredProperties;function requireProperties(){if(hasRequiredProperties)return properties_1;hasRequiredProperties=1;function k(m){const M="[ \\t\\f]*",G="[ \\t\\f]+",V=M+"[:=]"+M,q=G,$="("+V+"|"+q+")",D="([^\\\\:= \\t\\f\\n]|\\\\.)+",B={end:$,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[m.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:D+V},{begin:D+q}],contains:[{className:"attr",begin:D,endsParent:!0}],starts:B},{className:"attr",begin:D+M+"$"}]}}return properties_1=k,properties_1}var protobuf_1,hasRequiredProtobuf;function requireProtobuf(){if(hasRequiredProtobuf)return protobuf_1;hasRequiredProtobuf=1;function k(m){const M=["package","import","option","optional","required","repeated","group","oneof"],G=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],V={match:[/(message|enum|service)\s+/,m.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:M,type:G,literal:["true","false"]},contains:[m.QUOTE_STRING_MODE,m.NUMBER_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,V,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return protobuf_1=k,protobuf_1}var puppet_1,hasRequiredPuppet;function requirePuppet(){if(hasRequiredPuppet)return puppet_1;hasRequiredPuppet=1;function k(m){const M={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},G=m.COMMENT("#","$"),V="([A-Za-z_]|::)(\\w|::)*",q=m.inherit(m.TITLE_MODE,{begin:V}),$={className:"variable",begin:"\\$"+V},D={className:"string",contains:[m.BACKSLASH_ESCAPE,$],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[G,$,D,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[q,G]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:m.IDENT_RE,endsParent:!0}]},{begin:m.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:m.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:M,relevance:0,contains:[D,G,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:m.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},$]}],relevance:0}]}}return puppet_1=k,puppet_1}var purebasic_1,hasRequiredPurebasic;function requirePurebasic(){if(hasRequiredPurebasic)return purebasic_1;hasRequiredPurebasic=1;function k(m){const M={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},G={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[m.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},m.UNDERSCORE_TITLE_MODE]},M,G]}}return purebasic_1=k,purebasic_1}var python_1,hasRequiredPython;function requirePython(){if(hasRequiredPython)return python_1;hasRequiredPython=1;function k(m){const M=m.regex,G=/[\p{XID_Start}_]\p{XID_Continue}*/u,V=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],B={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:V,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},R={className:"meta",begin:/^(>>>|\.\.\.) /},U={className:"subst",begin:/\{/,end:/\}/,keywords:B,illegal:/#/},K={begin:/\{\{/,relevance:0},z={className:"string",contains:[m.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[m.BACKSLASH_ESCAPE,R],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[m.BACKSLASH_ESCAPE,R],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[m.BACKSLASH_ESCAPE,R,K,U]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[m.BACKSLASH_ESCAPE,R,K,U]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[m.BACKSLASH_ESCAPE,K,U]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[m.BACKSLASH_ESCAPE,K,U]},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]},e="[0-9](_?[0-9])*",ae=`(\\b(${e}))?\\.(${e})|\\b(${e})\\.`,ie=`\\b|${V.join("|")}`,he={className:"number",relevance:0,variants:[{begin:`(\\b(${e})|(${ae}))[eE][+-]?(${e})[jJ]?(?=${ie})`},{begin:`(${ae})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${ie})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${ie})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${ie})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${ie})`},{begin:`\\b(${e})[jJ](?=${ie})`}]},J={className:"comment",begin:M.lookahead(/# type:/),end:/$/,keywords:B,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},X={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:B,contains:["self",R,he,z,m.HASH_COMMENT_MODE]}]};return U.contains=[z,he,R],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:B,illegal:/(<\/|\?)|=>/,contains:[R,he,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},z,J,m.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,G],scope:{1:"keyword",3:"title.function"},contains:[X]},{variants:[{match:[/\bclass/,/\s+/,G,/\s*/,/\(\s*/,G,/\s*\)/]},{match:[/\bclass/,/\s+/,G]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[he,X,z]}]}}return python_1=k,python_1}var pythonRepl_1,hasRequiredPythonRepl;function requirePythonRepl(){if(hasRequiredPythonRepl)return pythonRepl_1;hasRequiredPythonRepl=1;function k(m){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return pythonRepl_1=k,pythonRepl_1}var q_1,hasRequiredQ;function requireQ(){if(hasRequiredQ)return q_1;hasRequiredQ=1;function k(m){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[m.C_LINE_COMMENT_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE]}}return q_1=k,q_1}var qml_1,hasRequiredQml;function requireQml(){if(hasRequiredQml)return qml_1;hasRequiredQml=1;function k(m){const M=m.regex,G={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},V="[a-zA-Z_][a-zA-Z0-9\\._]*",q={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},$={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},D={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:V,returnEnd:!1}},B={begin:V+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:V,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},R={begin:M.concat(V,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[m.inherit(m.TITLE_MODE,{begin:V})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:G,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:m.C_NUMBER_RE}],relevance:0},{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},$,q,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+m.IDENT_RE,relevance:0},D,B,R],illegal:/#/}}return qml_1=k,qml_1}var r_1,hasRequiredR;function requireR(){if(hasRequiredR)return r_1;hasRequiredR=1;function k(m){const M=m.regex,G=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,V=M.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),q=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,$=M.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:G,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[m.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:M.lookahead(M.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:G},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),m.HASH_COMMENT_MODE,{scope:"string",contains:[m.BACKSLASH_ESCAPE],variants:[m.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),m.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),m.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),m.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),m.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),m.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[q,V]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,V]},{scope:{1:"punctuation",2:"number"},match:[$,V]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,V]}]},{scope:{3:"operator"},match:[G,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:q},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:$},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return r_1=k,r_1}var reasonml_1,hasRequiredReasonml;function requireReasonml(){if(hasRequiredReasonml)return reasonml_1;hasRequiredReasonml=1;function k(m){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},m.C_LINE_COMMENT_MODE,m.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},m.inherit(m.APOS_STRING_MODE,{scope:"string",relevance:0}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return reasonml_1=k,reasonml_1}var rib_1,hasRequiredRib;function requireRib(){if(hasRequiredRib)return rib_1;hasRequiredRib=1;function k(m){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},m.COMMENT("^#","$"),B,R,D,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[B,R,D,{className:"literal",begin:"\\b("+q.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+V.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+$.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return routeros_1=k,routeros_1}var rsl_1,hasRequiredRsl;function requireRsl(){if(hasRequiredRsl)return rsl_1;hasRequiredRsl=1;function k(m){const M=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],G=["matrix","float","color","point","normal","vector"],V=["while","for","if","do","return","else","break","extern","continue"],q={match:[/(surface|displacement|light|volume|imager)/,/\s+/,m.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:V,built_in:M,type:G},illegal:""},G]}}return rust_1=k,rust_1}var sas_1,hasRequiredSas;function requireSas(){if(hasRequiredSas)return sas_1;hasRequiredSas=1;function k(m){const M=m.regex,G=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],V=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],q=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:G},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+M.either(...q)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:M.either(...V)+"(?=\\()"},{className:"string",variants:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]},m.COMMENT("\\*",";"),m.C_BLOCK_COMMENT_MODE]}}return sas_1=k,sas_1}var scala_1,hasRequiredScala;function requireScala(){if(hasRequiredScala)return scala_1;hasRequiredScala=1;function k(m){const M=m.regex,G={className:"meta",begin:"@[A-Za-z]+"},V={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},q={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE,V]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[V],relevance:10}]},$={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},D={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},B={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[$,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[$,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},D]},R={className:"function",beginKeywords:"def",end:M.lookahead(/[:={\[(\n;]/),contains:[D]},U={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},K={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},z=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],e={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,q,$,R,B,m.C_NUMBER_MODE,U,K,...z,e,G]}}return scala_1=k,scala_1}var scheme_1,hasRequiredScheme;function requireScheme(){if(hasRequiredScheme)return scheme_1;hasRequiredScheme=1;function k(m){const M="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",G="(-|\\+)?\\d+([./]\\d+)?",V=G+"[+\\-]"+G+"i",q={$pattern:M,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},$={className:"literal",begin:"(#t|#f|#\\\\"+M+"|#\\\\.)"},D={className:"number",variants:[{begin:G,relevance:0},{begin:V,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},B=m.QUOTE_STRING_MODE,R=[m.COMMENT(";","$",{relevance:0}),m.COMMENT("#\\|","\\|#")],U={begin:M,relevance:0},K={className:"symbol",begin:"'"+M},z={endsWithParent:!0,relevance:0},e={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",$,B,D,U,K]}]},ae={className:"name",relevance:0,begin:M,keywords:q},he={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[ae,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[U]}]},ae,z]};return z.contains=[$,D,B,U,K,e,he].concat(R),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[m.SHEBANG(),D,B,K,e,he].concat(R)}}return scheme_1=k,scheme_1}var scilab_1,hasRequiredScilab;function requireScilab(){if(hasRequiredScilab)return scilab_1;hasRequiredScilab=1;function k(m){const M=[m.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[m.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[m.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:M},m.COMMENT("//","$")].concat(M)}}return scilab_1=k,scilab_1}var scss_1,hasRequiredScss;function requireScss(){if(hasRequiredScss)return scss_1;hasRequiredScss=1;const k=D=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:D.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[D.APOS_STRING_MODE,D.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:D.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),m=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],M=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],G=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],V=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],q=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function $(D){const B=k(D),R=V,U=G,K="@[a-z-]+",z="and or not only",ae={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[D.C_LINE_COMMENT_MODE,D.C_BLOCK_COMMENT_MODE,B.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},B.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+m.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+U.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+R.join("|")+")"},ae,{begin:/\(/,end:/\)/,contains:[B.CSS_NUMBER_MODE]},B.CSS_VARIABLE,{className:"attribute",begin:"\\b("+q.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[B.BLOCK_COMMENT,ae,B.HEXCOLOR,B.CSS_NUMBER_MODE,D.QUOTE_STRING_MODE,D.APOS_STRING_MODE,B.IMPORTANT,B.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:K,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:z,attribute:M.join(" ")},contains:[{begin:K,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},ae,D.QUOTE_STRING_MODE,D.APOS_STRING_MODE,B.HEXCOLOR,B.CSS_NUMBER_MODE]},B.FUNCTION_DISPATCH]}}return scss_1=$,scss_1}var shell_1,hasRequiredShell;function requireShell(){if(hasRequiredShell)return shell_1;hasRequiredShell=1;function k(m){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return shell_1=k,shell_1}var smali_1,hasRequiredSmali;function requireSmali(){if(hasRequiredSmali)return smali_1;hasRequiredSmali=1;function k(m){const M=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],G=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],V=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},m.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+V.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+M.join("|")+")\\s"},{begin:"\\s("+M.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+G.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: -]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return smali_1=k,smali_1}var smalltalk_1,hasRequiredSmalltalk;function requireSmalltalk(){if(hasRequiredSmalltalk)return smalltalk_1;hasRequiredSmalltalk=1;function k(m){const M="[a-z][a-zA-Z0-9_]*",G={className:"string",begin:"\\$.{1}"},V={className:"symbol",begin:"#"+m.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[m.COMMENT('"','"'),m.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:M+":",relevance:0},m.C_NUMBER_MODE,V,G,{begin:"\\|[ ]*"+M+"([ ]+"+M+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+M}]},{begin:"#\\(",end:"\\)",contains:[m.APOS_STRING_MODE,G,m.C_NUMBER_MODE,V]}]}}return smalltalk_1=k,smalltalk_1}var sml_1,hasRequiredSml;function requireSml(){if(hasRequiredSml)return sml_1;hasRequiredSml=1;function k(m){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},m.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},m.inherit(m.APOS_STRING_MODE,{className:"string",relevance:0}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return sml_1=k,sml_1}var sqf_1,hasRequiredSqf;function requireSqf(){if(hasRequiredSqf)return sqf_1;hasRequiredSqf=1;function k(m){const M={className:"variable",begin:/\b_+[a-zA-Z]\w*/},G={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},V={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},q=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],$=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],D=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],B={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},m.inherit(V,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:q,built_in:D,literal:$},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.NUMBER_MODE,M,G,V,B],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return sqf_1=k,sqf_1}var sql_1,hasRequiredSql;function requireSql(){if(hasRequiredSql)return sql_1;hasRequiredSql=1;function k(m){const M=m.regex,G=m.COMMENT("--","$"),V={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},q={begin:/"/,end:/"/,contains:[{begin:/""/}]},$=["true","false","unknown"],D=["double precision","large object","with timezone","without timezone"],B=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],R=["add","asc","collation","desc","final","first","last","view"],U=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],K=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],z=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],e=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],ae=K,ie=[...U,...R].filter(L=>!K.includes(L)),he={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},J={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},X={begin:M.concat(/\b/,M.either(...ae),/\s*\(/),relevance:0,keywords:{built_in:ae}};function W(L,{exceptions:Q,when:ce}={}){const de=ce;return Q=Q||[],L.map(oe=>oe.match(/\|\d+$/)||Q.includes(oe)?oe:de(oe)?`${oe}|0`:oe)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:W(ie,{when:L=>L.length<3}),literal:$,type:B,built_in:z},contains:[{begin:M.either(...e),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:ie.concat(e),literal:$,type:B}},{className:"type",begin:M.either(...D)},X,he,V,q,m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE,G,J]}}return sql_1=k,sql_1}var stan_1,hasRequiredStan;function requireStan(){if(hasRequiredStan)return stan_1;hasRequiredStan=1;function k(m){const M=m.regex,G=["functions","model","data","parameters","quantities","transformed","generated"],V=["for","in","if","else","while","break","continue","return"],q=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],$=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],D=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],B=m.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),R={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},m.C_LINE_COMMENT_MODE]},U=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:m.IDENT_RE,title:G,type:q,keyword:V,built_in:$},contains:[m.C_LINE_COMMENT_MODE,R,m.HASH_COMMENT_MODE,B,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:M.concat(/[<,]\s*/,M.either(...U),/\s*=/),keywords:U},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,M.either(...D),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:D,begin:M.concat(/\w*/,M.either(...D),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,M.concat(M.either(...D),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+M.either(...D)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:M.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return stan_1=k,stan_1}var stata_1,hasRequiredStata;function requireStata(){if(hasRequiredStata)return stata_1;hasRequiredStata=1;function k(m){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r +`};m.inline.ruler.after("escape","math_inline",math_inline),m.block.ruler.after("blockquote","math_block",math_block,{alt:["paragraph","reference","blockquote","list"]}),m.renderer.rules.math_inline=V,m.renderer.rules.math_block=$};const mdKatex=getDefaultExportFromCjs(markdownItKatex);function deepFreeze(k){return k instanceof Map?k.clear=k.delete=k.set=function(){throw new Error("map is read-only")}:k instanceof Set&&(k.add=k.clear=k.delete=function(){throw new Error("set is read-only")}),Object.freeze(k),Object.getOwnPropertyNames(k).forEach(m=>{const M=k[m],G=typeof M;(G==="object"||G==="function")&&!Object.isFrozen(M)&&deepFreeze(M)}),k}class Response{constructor(m){m.data===void 0&&(m.data={}),this.data=m.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function escapeHTML(k){return k.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function inherit$1(k,...m){const M=Object.create(null);for(const G in k)M[G]=k[G];return m.forEach(function(G){for(const V in G)M[V]=G[V]}),M}const SPAN_CLOSE="",emitsWrappingTags=k=>!!k.scope,scopeToCSSClass=(k,{prefix:m})=>{if(k.startsWith("language:"))return k.replace("language:","language-");if(k.includes(".")){const M=k.split(".");return[`${m}${M.shift()}`,...M.map((G,V)=>`${G}${"_".repeat(V+1)}`)].join(" ")}return`${m}${k}`};class HTMLRenderer{constructor(m,M){this.buffer="",this.classPrefix=M.classPrefix,m.walk(this)}addText(m){this.buffer+=escapeHTML(m)}openNode(m){if(!emitsWrappingTags(m))return;const M=scopeToCSSClass(m.scope,{prefix:this.classPrefix});this.span(M)}closeNode(m){emitsWrappingTags(m)&&(this.buffer+=SPAN_CLOSE)}value(){return this.buffer}span(m){this.buffer+=``}}const newNode=(k={})=>{const m={children:[]};return Object.assign(m,k),m};class TokenTree{constructor(){this.rootNode=newNode(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(m){this.top.children.push(m)}openNode(m){const M=newNode({scope:m});this.add(M),this.stack.push(M)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(m){return this.constructor._walk(m,this.rootNode)}static _walk(m,M){return typeof M=="string"?m.addText(M):M.children&&(m.openNode(M),M.children.forEach(G=>this._walk(m,G)),m.closeNode(M)),m}static _collapse(m){typeof m!="string"&&m.children&&(m.children.every(M=>typeof M=="string")?m.children=[m.children.join("")]:m.children.forEach(M=>{TokenTree._collapse(M)}))}}class TokenTreeEmitter extends TokenTree{constructor(m){super(),this.options=m}addText(m){m!==""&&this.add(m)}startScope(m){this.openNode(m)}endScope(){this.closeNode()}__addSublanguage(m,M){const G=m.root;M&&(G.scope=`language:${M}`),this.add(G)}toHTML(){return new HTMLRenderer(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function source(k){return k?typeof k=="string"?k:k.source:null}function lookahead(k){return concat("(?=",k,")")}function anyNumberOfTimes(k){return concat("(?:",k,")*")}function optional(k){return concat("(?:",k,")?")}function concat(...k){return k.map(M=>source(M)).join("")}function stripOptionsFromArgs(k){const m=k[k.length-1];return typeof m=="object"&&m.constructor===Object?(k.splice(k.length-1,1),m):{}}function either(...k){return"("+(stripOptionsFromArgs(k).capture?"":"?:")+k.map(G=>source(G)).join("|")+")"}function countMatchGroups(k){return new RegExp(k.toString()+"|").exec("").length-1}function startsWith(k,m){const M=k&&k.exec(m);return M&&M.index===0}const BACKREF_RE=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function _rewriteBackreferences(k,{joinWith:m}){let M=0;return k.map(G=>{M+=1;const V=M;let q=source(G),$="";for(;q.length>0;){const D=BACKREF_RE.exec(q);if(!D){$+=q;break}$+=q.substring(0,D.index),q=q.substring(D.index+D[0].length),D[0][0]==="\\"&&D[1]?$+="\\"+String(Number(D[1])+V):($+=D[0],D[0]==="("&&M++)}return $}).map(G=>`(${G})`).join(m)}const MATCH_NOTHING_RE=/\b\B/,IDENT_RE="[a-zA-Z]\\w*",UNDERSCORE_IDENT_RE="[a-zA-Z_]\\w*",NUMBER_RE="\\b\\d+(\\.\\d+)?",C_NUMBER_RE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",BINARY_NUMBER_RE="\\b(0b[01]+)",RE_STARTERS_RE="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",SHEBANG=(k={})=>{const m=/^#![ ]*\//;return k.binary&&(k.begin=concat(m,/.*\b/,k.binary,/\b.*/)),inherit$1({scope:"meta",begin:m,end:/$/,relevance:0,"on:begin":(M,G)=>{M.index!==0&&G.ignoreMatch()}},k)},BACKSLASH_ESCAPE={begin:"\\\\[\\s\\S]",relevance:0},APOS_STRING_MODE={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[BACKSLASH_ESCAPE]},QUOTE_STRING_MODE={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[BACKSLASH_ESCAPE]},PHRASAL_WORDS_MODE={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},COMMENT=function(k,m,M={}){const G=inherit$1({scope:"comment",begin:k,end:m,contains:[]},M);G.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const V=either("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return G.contains.push({begin:concat(/[ ]+/,"(",V,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),G},C_LINE_COMMENT_MODE=COMMENT("//","$"),C_BLOCK_COMMENT_MODE=COMMENT("/\\*","\\*/"),HASH_COMMENT_MODE=COMMENT("#","$"),NUMBER_MODE={scope:"number",begin:NUMBER_RE,relevance:0},C_NUMBER_MODE={scope:"number",begin:C_NUMBER_RE,relevance:0},BINARY_NUMBER_MODE={scope:"number",begin:BINARY_NUMBER_RE,relevance:0},REGEXP_MODE={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[BACKSLASH_ESCAPE]}]},TITLE_MODE={scope:"title",begin:IDENT_RE,relevance:0},UNDERSCORE_TITLE_MODE={scope:"title",begin:UNDERSCORE_IDENT_RE,relevance:0},METHOD_GUARD={begin:"\\.\\s*"+UNDERSCORE_IDENT_RE,relevance:0},END_SAME_AS_BEGIN=function(k){return Object.assign(k,{"on:begin":(m,M)=>{M.data._beginMatch=m[1]},"on:end":(m,M)=>{M.data._beginMatch!==m[1]&&M.ignoreMatch()}})};var MODES=Object.freeze({__proto__:null,APOS_STRING_MODE,BACKSLASH_ESCAPE,BINARY_NUMBER_MODE,BINARY_NUMBER_RE,COMMENT,C_BLOCK_COMMENT_MODE,C_LINE_COMMENT_MODE,C_NUMBER_MODE,C_NUMBER_RE,END_SAME_AS_BEGIN,HASH_COMMENT_MODE,IDENT_RE,MATCH_NOTHING_RE,METHOD_GUARD,NUMBER_MODE,NUMBER_RE,PHRASAL_WORDS_MODE,QUOTE_STRING_MODE,REGEXP_MODE,RE_STARTERS_RE,SHEBANG,TITLE_MODE,UNDERSCORE_IDENT_RE,UNDERSCORE_TITLE_MODE});function skipIfHasPrecedingDot(k,m){k.input[k.index-1]==="."&&m.ignoreMatch()}function scopeClassName(k,m){k.className!==void 0&&(k.scope=k.className,delete k.className)}function beginKeywords(k,m){m&&k.beginKeywords&&(k.begin="\\b("+k.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",k.__beforeBegin=skipIfHasPrecedingDot,k.keywords=k.keywords||k.beginKeywords,delete k.beginKeywords,k.relevance===void 0&&(k.relevance=0))}function compileIllegal(k,m){Array.isArray(k.illegal)&&(k.illegal=either(...k.illegal))}function compileMatch(k,m){if(k.match){if(k.begin||k.end)throw new Error("begin & end are not supported with match");k.begin=k.match,delete k.match}}function compileRelevance(k,m){k.relevance===void 0&&(k.relevance=1)}const beforeMatchExt=(k,m)=>{if(!k.beforeMatch)return;if(k.starts)throw new Error("beforeMatch cannot be used with starts");const M=Object.assign({},k);Object.keys(k).forEach(G=>{delete k[G]}),k.keywords=M.keywords,k.begin=concat(M.beforeMatch,lookahead(M.begin)),k.starts={relevance:0,contains:[Object.assign(M,{endsParent:!0})]},k.relevance=0,delete M.beforeMatch},COMMON_KEYWORDS=["of","and","for","in","not","or","if","then","parent","list","value"],DEFAULT_KEYWORD_SCOPE="keyword";function compileKeywords(k,m,M=DEFAULT_KEYWORD_SCOPE){const G=Object.create(null);return typeof k=="string"?V(M,k.split(" ")):Array.isArray(k)?V(M,k):Object.keys(k).forEach(function(q){Object.assign(G,compileKeywords(k[q],m,q))}),G;function V(q,$){m&&($=$.map(D=>D.toLowerCase())),$.forEach(function(D){const B=D.split("|");G[B[0]]=[q,scoreForKeyword(B[0],B[1])]})}}function scoreForKeyword(k,m){return m?Number(m):commonKeyword(k)?0:1}function commonKeyword(k){return COMMON_KEYWORDS.includes(k.toLowerCase())}const seenDeprecations={},error$1=k=>{console.error(k)},warn=(k,...m)=>{console.log(`WARN: ${k}`,...m)},deprecated=(k,m)=>{seenDeprecations[`${k}/${m}`]||(console.log(`Deprecated as of ${k}. ${m}`),seenDeprecations[`${k}/${m}`]=!0)},MultiClassError=new Error;function remapScopeNames(k,m,{key:M}){let G=0;const V=k[M],q={},$={};for(let D=1;D<=m.length;D++)$[D+G]=V[D],q[D+G]=!0,G+=countMatchGroups(m[D-1]);k[M]=$,k[M]._emit=q,k[M]._multi=!0}function beginMultiClass(k){if(Array.isArray(k.begin)){if(k.skip||k.excludeBegin||k.returnBegin)throw error$1("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),MultiClassError;if(typeof k.beginScope!="object"||k.beginScope===null)throw error$1("beginScope must be object"),MultiClassError;remapScopeNames(k,k.begin,{key:"beginScope"}),k.begin=_rewriteBackreferences(k.begin,{joinWith:""})}}function endMultiClass(k){if(Array.isArray(k.end)){if(k.skip||k.excludeEnd||k.returnEnd)throw error$1("skip, excludeEnd, returnEnd not compatible with endScope: {}"),MultiClassError;if(typeof k.endScope!="object"||k.endScope===null)throw error$1("endScope must be object"),MultiClassError;remapScopeNames(k,k.end,{key:"endScope"}),k.end=_rewriteBackreferences(k.end,{joinWith:""})}}function scopeSugar(k){k.scope&&typeof k.scope=="object"&&k.scope!==null&&(k.beginScope=k.scope,delete k.scope)}function MultiClass(k){scopeSugar(k),typeof k.beginScope=="string"&&(k.beginScope={_wrap:k.beginScope}),typeof k.endScope=="string"&&(k.endScope={_wrap:k.endScope}),beginMultiClass(k),endMultiClass(k)}function compileLanguage(k){function m($,D){return new RegExp(source($),"m"+(k.case_insensitive?"i":"")+(k.unicodeRegex?"u":"")+(D?"g":""))}class M{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(D,B){B.position=this.position++,this.matchIndexes[this.matchAt]=B,this.regexes.push([B,D]),this.matchAt+=countMatchGroups(D)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const D=this.regexes.map(B=>B[1]);this.matcherRe=m(_rewriteBackreferences(D,{joinWith:"|"}),!0),this.lastIndex=0}exec(D){this.matcherRe.lastIndex=this.lastIndex;const B=this.matcherRe.exec(D);if(!B)return null;const R=B.findIndex((K,z)=>z>0&&K!==void 0),U=this.matchIndexes[R];return B.splice(0,R),Object.assign(B,U)}}class G{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(D){if(this.multiRegexes[D])return this.multiRegexes[D];const B=new M;return this.rules.slice(D).forEach(([R,U])=>B.addRule(R,U)),B.compile(),this.multiRegexes[D]=B,B}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(D,B){this.rules.push([D,B]),B.type==="begin"&&this.count++}exec(D){const B=this.getMatcher(this.regexIndex);B.lastIndex=this.lastIndex;let R=B.exec(D);if(this.resumingScanAtSamePosition()&&!(R&&R.index===this.lastIndex)){const U=this.getMatcher(0);U.lastIndex=this.lastIndex+1,R=U.exec(D)}return R&&(this.regexIndex+=R.position+1,this.regexIndex===this.count&&this.considerAll()),R}}function V($){const D=new G;return $.contains.forEach(B=>D.addRule(B.begin,{rule:B,type:"begin"})),$.terminatorEnd&&D.addRule($.terminatorEnd,{type:"end"}),$.illegal&&D.addRule($.illegal,{type:"illegal"}),D}function q($,D){const B=$;if($.isCompiled)return B;[scopeClassName,compileMatch,MultiClass,beforeMatchExt].forEach(U=>U($,D)),k.compilerExtensions.forEach(U=>U($,D)),$.__beforeBegin=null,[beginKeywords,compileIllegal,compileRelevance].forEach(U=>U($,D)),$.isCompiled=!0;let R=null;return typeof $.keywords=="object"&&$.keywords.$pattern&&($.keywords=Object.assign({},$.keywords),R=$.keywords.$pattern,delete $.keywords.$pattern),R=R||/\w+/,$.keywords&&($.keywords=compileKeywords($.keywords,k.case_insensitive)),B.keywordPatternRe=m(R,!0),D&&($.begin||($.begin=/\B|\b/),B.beginRe=m(B.begin),!$.end&&!$.endsWithParent&&($.end=/\B|\b/),$.end&&(B.endRe=m(B.end)),B.terminatorEnd=source(B.end)||"",$.endsWithParent&&D.terminatorEnd&&(B.terminatorEnd+=($.end?"|":"")+D.terminatorEnd)),$.illegal&&(B.illegalRe=m($.illegal)),$.contains||($.contains=[]),$.contains=[].concat(...$.contains.map(function(U){return expandOrCloneMode(U==="self"?$:U)})),$.contains.forEach(function(U){q(U,B)}),$.starts&&q($.starts,D),B.matcher=V(B),B}if(k.compilerExtensions||(k.compilerExtensions=[]),k.contains&&k.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return k.classNameAliases=inherit$1(k.classNameAliases||{}),q(k)}function dependencyOnParent(k){return k?k.endsWithParent||dependencyOnParent(k.starts):!1}function expandOrCloneMode(k){return k.variants&&!k.cachedVariants&&(k.cachedVariants=k.variants.map(function(m){return inherit$1(k,{variants:null},m)})),k.cachedVariants?k.cachedVariants:dependencyOnParent(k)?inherit$1(k,{starts:k.starts?inherit$1(k.starts):null}):Object.isFrozen(k)?inherit$1(k):k}var version$3="11.9.0";class HTMLInjectionError extends Error{constructor(m,M){super(m),this.name="HTMLInjectionError",this.html=M}}const escape$1=escapeHTML,inherit$2=inherit$1,NO_MATCH=Symbol("nomatch"),MAX_KEYWORD_HITS=7,HLJS=function(k){const m=Object.create(null),M=Object.create(null),G=[];let V=!0;const q="Could not find the language '{}', did you forget to load/include a language module?",$={disableAutodetect:!0,name:"Plain text",contains:[]};let D={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:TokenTreeEmitter};function B(Ce){return D.noHighlightRe.test(Ce)}function R(Ce){let pe=Ce.className+" ";pe+=Ce.parentNode?Ce.parentNode.className:"";const _e=D.languageDetectRe.exec(pe);if(_e){const Ge=oe(_e[1]);return Ge||(warn(q.replace("{}",_e[1])),warn("Falling back to no-highlight mode for this block.",Ce)),Ge?_e[1]:"no-highlight"}return pe.split(/\s+/).find(Ge=>B(Ge)||oe(Ge))}function U(Ce,pe,_e){let Ge="",Ae="";typeof pe=="object"?(Ge=Ce,_e=pe.ignoreIllegals,Ae=pe.language):(deprecated("10.7.0","highlight(lang, code, ...args) has been deprecated."),deprecated("10.7.0",`Please use highlight(code, options) instead. +https://github.com/highlightjs/highlight.js/issues/2277`),Ae=Ce,Ge=pe),_e===void 0&&(_e=!0);const Ne={code:Ge,language:Ae};ve("before:highlight",Ne);const Ze=Ne.result?Ne.result:K(Ne.language,Ne.code,_e);return Ze.code=Ne.code,ve("after:highlight",Ze),Ze}function K(Ce,pe,_e,Ge){const Ae=Object.create(null);function Ne(rt,He){return rt.keywords[He]}function Ze(){if(!Ye.keywords){ot.addText(st);return}let rt=0;Ye.keywordPatternRe.lastIndex=0;let He=Ye.keywordPatternRe.exec(st),Je="";for(;He;){Je+=st.substring(rt,He.index);const St=Qe.case_insensitive?He[0].toLowerCase():He[0],bt=Ne(Ye,St);if(bt){const[pt,wt]=bt;if(ot.addText(Je),Je="",Ae[St]=(Ae[St]||0)+1,Ae[St]<=MAX_KEYWORD_HITS&&(dt+=wt),pt.startsWith("_"))Je+=He[0];else{const Pt=Qe.classNameAliases[pt]||pt;Fe(He[0],Pt)}}else Je+=He[0];rt=Ye.keywordPatternRe.lastIndex,He=Ye.keywordPatternRe.exec(st)}Je+=st.substring(rt),ot.addText(Je)}function ze(){if(st==="")return;let rt=null;if(typeof Ye.subLanguage=="string"){if(!m[Ye.subLanguage]){ot.addText(st);return}rt=K(Ye.subLanguage,st,!0,tt[Ye.subLanguage]),tt[Ye.subLanguage]=rt._top}else rt=e(st,Ye.subLanguage.length?Ye.subLanguage:null);Ye.relevance>0&&(dt+=rt.relevance),ot.__addSublanguage(rt._emitter,rt.language)}function Te(){Ye.subLanguage!=null?ze():Ze(),st=""}function Fe(rt,He){rt!==""&&(ot.startScope(He),ot.addText(rt),ot.endScope())}function Pe(rt,He){let Je=1;const St=He.length-1;for(;Je<=St;){if(!rt._emit[Je]){Je++;continue}const bt=Qe.classNameAliases[rt[Je]]||rt[Je],pt=He[Je];bt?Fe(pt,bt):(st=pt,Ze(),st=""),Je++}}function we(rt,He){return rt.scope&&typeof rt.scope=="string"&&ot.openNode(Qe.classNameAliases[rt.scope]||rt.scope),rt.beginScope&&(rt.beginScope._wrap?(Fe(st,Qe.classNameAliases[rt.beginScope._wrap]||rt.beginScope._wrap),st=""):rt.beginScope._multi&&(Pe(rt.beginScope,He),st="")),Ye=Object.create(rt,{parent:{value:Ye}}),Ye}function Ie(rt,He,Je){let St=startsWith(rt.endRe,Je);if(St){if(rt["on:end"]){const bt=new Response(rt);rt["on:end"](He,bt),bt.isMatchIgnored&&(St=!1)}if(St){for(;rt.endsParent&&rt.parent;)rt=rt.parent;return rt}}if(rt.endsWithParent)return Ie(rt.parent,He,Je)}function Be(rt){return Ye.matcher.regexIndex===0?(st+=rt[0],1):(ut=!0,0)}function Ke(rt){const He=rt[0],Je=rt.rule,St=new Response(Je),bt=[Je.__beforeBegin,Je["on:begin"]];for(const pt of bt)if(pt&&(pt(rt,St),St.isMatchIgnored))return Be(He);return Je.skip?st+=He:(Je.excludeBegin&&(st+=He),Te(),!Je.returnBegin&&!Je.excludeBegin&&(st=He)),we(Je,rt),Je.returnBegin?0:He.length}function Ve(rt){const He=rt[0],Je=pe.substring(rt.index),St=Ie(Ye,rt,Je);if(!St)return NO_MATCH;const bt=Ye;Ye.endScope&&Ye.endScope._wrap?(Te(),Fe(He,Ye.endScope._wrap)):Ye.endScope&&Ye.endScope._multi?(Te(),Pe(Ye.endScope,rt)):bt.skip?st+=He:(bt.returnEnd||bt.excludeEnd||(st+=He),Te(),bt.excludeEnd&&(st=He));do Ye.scope&&ot.closeNode(),!Ye.skip&&!Ye.subLanguage&&(dt+=Ye.relevance),Ye=Ye.parent;while(Ye!==St.parent);return St.starts&&we(St.starts,rt),bt.returnEnd?0:He.length}function je(){const rt=[];for(let He=Ye;He!==Qe;He=He.parent)He.scope&&rt.unshift(He.scope);rt.forEach(He=>ot.openNode(He))}let Le={};function et(rt,He){const Je=He&&He[0];if(st+=rt,Je==null)return Te(),0;if(Le.type==="begin"&&He.type==="end"&&Le.index===He.index&&Je===""){if(st+=pe.slice(He.index,He.index+1),!V){const St=new Error(`0 width match regex (${Ce})`);throw St.languageName=Ce,St.badRule=Le.rule,St}return 1}if(Le=He,He.type==="begin")return Ke(He);if(He.type==="illegal"&&!_e){const St=new Error('Illegal lexeme "'+Je+'" for mode "'+(Ye.scope||"")+'"');throw St.mode=Ye,St}else if(He.type==="end"){const St=Ve(He);if(St!==NO_MATCH)return St}if(He.type==="illegal"&&Je==="")return 1;if(mt>1e5&&mt>He.index*3)throw new Error("potential infinite loop, way more iterations than matches");return st+=Je,Je.length}const Qe=oe(Ce);if(!Qe)throw error$1(q.replace("{}",Ce)),new Error('Unknown language: "'+Ce+'"');const Ue=compileLanguage(Qe);let $e="",Ye=Ge||Ue;const tt={},ot=new D.__emitter(D);je();let st="",dt=0,ct=0,mt=0,ut=!1;try{if(Qe.__emitTokens)Qe.__emitTokens(pe,ot);else{for(Ye.matcher.considerAll();;){mt++,ut?ut=!1:Ye.matcher.considerAll(),Ye.matcher.lastIndex=ct;const rt=Ye.matcher.exec(pe);if(!rt)break;const He=pe.substring(ct,rt.index),Je=et(He,rt);ct=rt.index+Je}et(pe.substring(ct))}return ot.finalize(),$e=ot.toHTML(),{language:Ce,value:$e,relevance:dt,illegal:!1,_emitter:ot,_top:Ye}}catch(rt){if(rt.message&&rt.message.includes("Illegal"))return{language:Ce,value:escape$1(pe),illegal:!0,relevance:0,_illegalBy:{message:rt.message,index:ct,context:pe.slice(ct-100,ct+100),mode:rt.mode,resultSoFar:$e},_emitter:ot};if(V)return{language:Ce,value:escape$1(pe),illegal:!1,relevance:0,errorRaised:rt,_emitter:ot,_top:Ye};throw rt}}function z(Ce){const pe={value:escape$1(Ce),illegal:!1,relevance:0,_top:$,_emitter:new D.__emitter(D)};return pe._emitter.addText(Ce),pe}function e(Ce,pe){pe=pe||D.languages||Object.keys(m);const _e=z(Ce),Ge=pe.filter(oe).filter(Ee).map(Te=>K(Te,Ce,!1));Ge.unshift(_e);const Ae=Ge.sort((Te,Fe)=>{if(Te.relevance!==Fe.relevance)return Fe.relevance-Te.relevance;if(Te.language&&Fe.language){if(oe(Te.language).supersetOf===Fe.language)return 1;if(oe(Fe.language).supersetOf===Te.language)return-1}return 0}),[Ne,Ze]=Ae,ze=Ne;return ze.secondBest=Ze,ze}function ae(Ce,pe,_e){const Ge=pe&&M[pe]||_e;Ce.classList.add("hljs"),Ce.classList.add(`language-${Ge}`)}function ie(Ce){let pe=null;const _e=R(Ce);if(B(_e))return;if(ve("before:highlightElement",{el:Ce,language:_e}),Ce.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",Ce);return}if(Ce.children.length>0&&(D.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(Ce)),D.throwUnescapedHTML))throw new HTMLInjectionError("One of your code blocks includes unescaped HTML.",Ce.innerHTML);pe=Ce;const Ge=pe.textContent,Ae=_e?U(Ge,{language:_e,ignoreIllegals:!0}):e(Ge);Ce.innerHTML=Ae.value,Ce.dataset.highlighted="yes",ae(Ce,_e,Ae.language),Ce.result={language:Ae.language,re:Ae.relevance,relevance:Ae.relevance},Ae.secondBest&&(Ce.secondBest={language:Ae.secondBest.language,relevance:Ae.secondBest.relevance}),ve("after:highlightElement",{el:Ce,result:Ae,text:Ge})}function he(Ce){D=inherit$2(D,Ce)}const J=()=>{L(),deprecated("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function W(){L(),deprecated("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let X=!1;function L(){if(document.readyState==="loading"){X=!0;return}document.querySelectorAll(D.cssSelector).forEach(ie)}function Q(){X&&L()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",Q,!1);function ce(Ce,pe){let _e=null;try{_e=pe(k)}catch(Ge){if(error$1("Language definition for '{}' could not be registered.".replace("{}",Ce)),V)error$1(Ge);else throw Ge;_e=$}_e.name||(_e.name=Ce),m[Ce]=_e,_e.rawDefinition=pe.bind(null,k),_e.aliases&&me(_e.aliases,{languageName:Ce})}function de(Ce){delete m[Ce];for(const pe of Object.keys(M))M[pe]===Ce&&delete M[pe]}function se(){return Object.keys(m)}function oe(Ce){return Ce=(Ce||"").toLowerCase(),m[Ce]||m[M[Ce]]}function me(Ce,{languageName:pe}){typeof Ce=="string"&&(Ce=[Ce]),Ce.forEach(_e=>{M[_e.toLowerCase()]=pe})}function Ee(Ce){const pe=oe(Ce);return pe&&!pe.disableAutodetect}function ke(Ce){Ce["before:highlightBlock"]&&!Ce["before:highlightElement"]&&(Ce["before:highlightElement"]=pe=>{Ce["before:highlightBlock"](Object.assign({block:pe.el},pe))}),Ce["after:highlightBlock"]&&!Ce["after:highlightElement"]&&(Ce["after:highlightElement"]=pe=>{Ce["after:highlightBlock"](Object.assign({block:pe.el},pe))})}function xe(Ce){ke(Ce),G.push(Ce)}function fe(Ce){const pe=G.indexOf(Ce);pe!==-1&&G.splice(pe,1)}function ve(Ce,pe){const _e=Ce;G.forEach(function(Ge){Ge[_e]&&Ge[_e](pe)})}function ye(Ce){return deprecated("10.7.0","highlightBlock will be removed entirely in v12.0"),deprecated("10.7.0","Please use highlightElement now."),ie(Ce)}Object.assign(k,{highlight:U,highlightAuto:e,highlightAll:L,highlightElement:ie,highlightBlock:ye,configure:he,initHighlighting:J,initHighlightingOnLoad:W,registerLanguage:ce,unregisterLanguage:de,listLanguages:se,getLanguage:oe,registerAliases:me,autoDetection:Ee,inherit:inherit$2,addPlugin:xe,removePlugin:fe}),k.debugMode=function(){V=!1},k.safeMode=function(){V=!0},k.versionString=version$3,k.regex={concat,lookahead,either,optional,anyNumberOfTimes};for(const Ce in MODES)typeof MODES[Ce]=="object"&&deepFreeze(MODES[Ce]);return Object.assign(k,MODES),k},highlight=HLJS({});highlight.newInstance=()=>HLJS({});var core=highlight;highlight.HighlightJS=highlight;highlight.default=highlight;var _1c_1,hasRequired_1c;function require_1c(){if(hasRequired_1c)return _1c_1;hasRequired_1c=1;function k(m){const M="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]+",q="далее "+"возврат вызватьисключение выполнить для если и из или иначе иначеесли исключение каждого конецесли конецпопытки конеццикла не новый перейти перем по пока попытка прервать продолжить тогда цикл экспорт ",B="загрузитьизфайла "+"вебклиент вместо внешнеесоединение клиент конецобласти мобильноеприложениеклиент мобильноеприложениесервер наклиенте наклиентенасервере наклиентенасерверебезконтекста насервере насерверебезконтекста область перед после сервер толстыйклиентобычноеприложение толстыйклиентуправляемоеприложение тонкийклиент ",R="разделительстраниц разделительстрок символтабуляции ",U="ansitooem oemtoansi ввестивидсубконто ввестиперечисление ввестипериод ввестиплансчетов выбранныйплансчетов датагод датамесяц датачисло заголовоксистемы значениевстроку значениеизстроки каталогиб каталогпользователя кодсимв конгода конецпериодаби конецрассчитанногопериодаби конецстандартногоинтервала конквартала конмесяца коннедели лог лог10 максимальноеколичествосубконто названиеинтерфейса названиенабораправ назначитьвид назначитьсчет найтиссылки началопериодаби началостандартногоинтервала начгода начквартала начмесяца начнедели номерднягода номерднянедели номернеделигода обработкаожидания основнойжурналрасчетов основнойплансчетов основнойязык очиститьокносообщений периодстр получитьвремята получитьдатута получитьдокументта получитьзначенияотбора получитьпозициюта получитьпустоезначение получитьта префиксавтонумерации пропись пустоезначение разм разобратьпозициюдокумента рассчитатьрегистрына рассчитатьрегистрыпо симв создатьобъект статусвозврата стрколичествострок сформироватьпозициюдокумента счетпокоду текущеевремя типзначения типзначениястр установитьтана установитьтапо фиксшаблон шаблон ",K="acos asin atan base64значение base64строка cos exp log log10 pow sin sqrt tan xmlзначение xmlстрока xmlтип xmlтипзнч активноеокно безопасныйрежим безопасныйрежимразделенияданных булево ввестидату ввестизначение ввестистроку ввестичисло возможностьчтенияxml вопрос восстановитьзначение врег выгрузитьжурналрегистрации выполнитьобработкуоповещения выполнитьпроверкуправдоступа вычислить год данныеформывзначение дата день деньгода деньнедели добавитьмесяц заблокироватьданныедляредактирования заблокироватьработупользователя завершитьработусистемы загрузитьвнешнююкомпоненту закрытьсправку записатьjson записатьxml записатьдатуjson записьжурналарегистрации заполнитьзначениясвойств запроситьразрешениепользователя запуститьприложение запуститьсистему зафиксироватьтранзакцию значениевданныеформы значениевстрокувнутр значениевфайл значениезаполнено значениеизстрокивнутр значениеизфайла изxmlтипа импортмоделиxdto имякомпьютера имяпользователя инициализироватьпредопределенныеданные информацияобошибке каталогбиблиотекимобильногоустройства каталогвременныхфайлов каталогдокументов каталогпрограммы кодироватьстроку кодлокализацииинформационнойбазы кодсимвола командасистемы конецгода конецдня конецквартала конецмесяца конецминуты конецнедели конецчаса конфигурациябазыданныхизмененадинамически конфигурацияизменена копироватьданныеформы копироватьфайл краткоепредставлениеошибки лев макс местноевремя месяц мин минута монопольныйрежим найти найтинедопустимыесимволыxml найтиокнопонавигационнойссылке найтипомеченныенаудаление найтипоссылкам найтифайлы началогода началодня началоквартала началомесяца началоминуты началонедели началочаса начатьзапросразрешенияпользователя начатьзапускприложения начатькопированиефайла начатьперемещениефайла начатьподключениевнешнейкомпоненты начатьподключениерасширенияработыскриптографией начатьподключениерасширенияработысфайлами начатьпоискфайлов начатьполучениекаталогавременныхфайлов начатьполучениекаталогадокументов начатьполучениерабочегокаталогаданныхпользователя начатьполучениефайлов начатьпомещениефайла начатьпомещениефайлов начатьсозданиедвоичныхданныхизфайла начатьсозданиекаталога начатьтранзакцию начатьудалениефайлов начатьустановкувнешнейкомпоненты начатьустановкурасширенияработыскриптографией начатьустановкурасширенияработысфайлами неделягода необходимостьзавершениясоединения номерсеансаинформационнойбазы номерсоединенияинформационнойбазы нрег нстр обновитьинтерфейс обновитьнумерациюобъектов обновитьповторноиспользуемыезначения обработкапрерыванияпользователя объединитьфайлы окр описаниеошибки оповестить оповеститьобизменении отключитьобработчикзапросанастроекклиенталицензирования отключитьобработчикожидания отключитьобработчикоповещения открытьзначение открытьиндекссправки открытьсодержаниесправки открытьсправку открытьформу открытьформумодально отменитьтранзакцию очиститьжурналрегистрации очиститьнастройкипользователя очиститьсообщения параметрыдоступа перейтипонавигационнойссылке переместитьфайл подключитьвнешнююкомпоненту подключитьобработчикзапросанастроекклиенталицензирования подключитьобработчикожидания подключитьобработчикоповещения подключитьрасширениеработыскриптографией подключитьрасширениеработысфайлами подробноепредставлениеошибки показатьвводдаты показатьвводзначения показатьвводстроки показатьвводчисла показатьвопрос показатьзначение показатьинформациюобошибке показатьнакарте показатьоповещениепользователя показатьпредупреждение полноеимяпользователя получитьcomобъект получитьxmlтип получитьадреспоместоположению получитьблокировкусеансов получитьвремязавершенияспящегосеанса получитьвремязасыпанияпассивногосеанса получитьвремяожиданияблокировкиданных получитьданныевыбора получитьдополнительныйпараметрклиенталицензирования получитьдопустимыекодылокализации получитьдопустимыечасовыепояса получитьзаголовокклиентскогоприложения получитьзаголовоксистемы получитьзначенияотборажурналарегистрации получитьидентификаторконфигурации получитьизвременногохранилища получитьимявременногофайла получитьимяклиенталицензирования получитьинформациюэкрановклиента получитьиспользованиежурналарегистрации получитьиспользованиесобытияжурналарегистрации получитькраткийзаголовокприложения получитьмакетоформления получитьмаскувсефайлы получитьмаскувсефайлыклиента получитьмаскувсефайлысервера получитьместоположениепоадресу получитьминимальнуюдлинупаролейпользователей получитьнавигационнуюссылку получитьнавигационнуюссылкуинформационнойбазы получитьобновлениеконфигурациибазыданных получитьобновлениепредопределенныхданныхинформационнойбазы получитьобщиймакет получитьобщуюформу получитьокна получитьоперативнуюотметкувремени получитьотключениебезопасногорежима получитьпараметрыфункциональныхопцийинтерфейса получитьполноеимяпредопределенногозначения получитьпредставлениянавигационныхссылок получитьпроверкусложностипаролейпользователей получитьразделительпути получитьразделительпутиклиента получитьразделительпутисервера получитьсеансыинформационнойбазы получитьскоростьклиентскогосоединения получитьсоединенияинформационнойбазы получитьсообщенияпользователю получитьсоответствиеобъектаиформы получитьсоставстандартногоинтерфейсаodata получитьструктурухранениябазыданных получитьтекущийсеансинформационнойбазы получитьфайл получитьфайлы получитьформу получитьфункциональнуюопцию получитьфункциональнуюопциюинтерфейса получитьчасовойпоясинформационнойбазы пользователиос поместитьвовременноехранилище поместитьфайл поместитьфайлы прав праводоступа предопределенноезначение представлениекодалокализации представлениепериода представлениеправа представлениеприложения представлениесобытияжурналарегистрации представлениечасовогопояса предупреждение прекратитьработусистемы привилегированныйрежим продолжитьвызов прочитатьjson прочитатьxml прочитатьдатуjson пустаястрока рабочийкаталогданныхпользователя разблокироватьданныедляредактирования разделитьфайл разорватьсоединениесвнешнимисточникомданных раскодироватьстроку рольдоступна секунда сигнал символ скопироватьжурналрегистрации смещениелетнеговремени смещениестандартноговремени соединитьбуферыдвоичныхданных создатькаталог создатьфабрикуxdto сокрл сокрлп сокрп сообщить состояние сохранитьзначение сохранитьнастройкипользователя сред стрдлина стрзаканчиваетсяна стрзаменить стрнайти стрначинаетсяс строка строкасоединенияинформационнойбазы стрполучитьстроку стрразделить стрсоединить стрсравнить стрчисловхождений стрчислострок стршаблон текущаядата текущаядатасеанса текущаяуниверсальнаядата текущаяуниверсальнаядатавмиллисекундах текущийвариантинтерфейсаклиентскогоприложения текущийвариантосновногошрифтаклиентскогоприложения текущийкодлокализации текущийрежимзапуска текущийязык текущийязыксистемы тип типзнч транзакцияактивна трег удалитьданныеинформационнойбазы удалитьизвременногохранилища удалитьобъекты удалитьфайлы универсальноевремя установитьбезопасныйрежим установитьбезопасныйрежимразделенияданных установитьблокировкусеансов установитьвнешнююкомпоненту установитьвремязавершенияспящегосеанса установитьвремязасыпанияпассивногосеанса установитьвремяожиданияблокировкиданных установитьзаголовокклиентскогоприложения установитьзаголовоксистемы установитьиспользованиежурналарегистрации установитьиспользованиесобытияжурналарегистрации установитькраткийзаголовокприложения установитьминимальнуюдлинупаролейпользователей установитьмонопольныйрежим установитьнастройкиклиенталицензирования установитьобновлениепредопределенныхданныхинформационнойбазы установитьотключениебезопасногорежима установитьпараметрыфункциональныхопцийинтерфейса установитьпривилегированныйрежим установитьпроверкусложностипаролейпользователей установитьрасширениеработыскриптографией установитьрасширениеработысфайлами установитьсоединениесвнешнимисточникомданных установитьсоответствиеобъектаиформы установитьсоставстандартногоинтерфейсаodata установитьчасовойпоясинформационнойбазы установитьчасовойпояссеанса формат цел час часовойпояс часовойпояссеанса число числопрописью этоадресвременногохранилища ",z="wsссылки библиотекакартинок библиотекамакетовоформлениякомпоновкиданных библиотекастилей бизнеспроцессы внешниеисточникиданных внешниеобработки внешниеотчеты встроенныепокупки главныйинтерфейс главныйстиль документы доставляемыеуведомления журналыдокументов задачи информацияобинтернетсоединении использованиерабочейдаты историяработыпользователя константы критерииотбора метаданные обработки отображениерекламы отправкадоставляемыхуведомлений отчеты панельзадачос параметрзапуска параметрысеанса перечисления планывидоврасчета планывидовхарактеристик планыобмена планысчетов полнотекстовыйпоиск пользователиинформационнойбазы последовательности проверкавстроенныхпокупок рабочаядата расширенияконфигурации регистрыбухгалтерии регистрынакопления регистрырасчета регистрысведений регламентныезадания сериализаторxdto справочники средствагеопозиционирования средствакриптографии средствамультимедиа средстваотображениярекламы средствапочты средствателефонии фабрикаxdto файловыепотоки фоновыезадания хранилищанастроек хранилищевариантовотчетов хранилищенастроекданныхформ хранилищеобщихнастроек хранилищепользовательскихнастроекдинамическихсписков хранилищепользовательскихнастроекотчетов хранилищесистемныхнастроек ",e=R+U+K+z,ae="webцвета windowsцвета windowsшрифты библиотекакартинок рамкистиля символы цветастиля шрифтыстиля ",ie="автоматическоесохранениеданныхформывнастройках автонумерациявформе автораздвижениесерий анимациядиаграммы вариантвыравниванияэлементовизаголовков вариантуправлениявысотойтаблицы вертикальнаяпрокруткаформы вертикальноеположение вертикальноеположениеэлемента видгруппыформы виддекорацииформы виддополненияэлементаформы видизмененияданных видкнопкиформы видпереключателя видподписейкдиаграмме видполяформы видфлажка влияниеразмеранапузырекдиаграммы горизонтальноеположение горизонтальноеположениеэлемента группировкаколонок группировкаподчиненныхэлементовформы группыиэлементы действиеперетаскивания дополнительныйрежимотображения допустимыедействияперетаскивания интервалмеждуэлементамиформы использованиевывода использованиеполосыпрокрутки используемоезначениеточкибиржевойдиаграммы историявыборапривводе источникзначенийоситочекдиаграммы источникзначенияразмерапузырькадиаграммы категориягруппыкоманд максимумсерий начальноеотображениедерева начальноеотображениесписка обновлениетекстаредактирования ориентациядендрограммы ориентациядиаграммы ориентацияметокдиаграммы ориентацияметоксводнойдиаграммы ориентацияэлементаформы отображениевдиаграмме отображениевлегендедиаграммы отображениегруппыкнопок отображениезаголовкашкалыдиаграммы отображениезначенийсводнойдиаграммы отображениезначенияизмерительнойдиаграммы отображениеинтерваладиаграммыганта отображениекнопки отображениекнопкивыбора отображениеобсужденийформы отображениеобычнойгруппы отображениеотрицательныхзначенийпузырьковойдиаграммы отображениепанелипоиска отображениеподсказки отображениепредупрежденияприредактировании отображениеразметкиполосырегулирования отображениестраницформы отображениетаблицы отображениетекстазначениядиаграммыганта отображениеуправленияобычнойгруппы отображениефигурыкнопки палитрацветовдиаграммы поведениеобычнойгруппы поддержкамасштабадендрограммы поддержкамасштабадиаграммыганта поддержкамасштабасводнойдиаграммы поисквтаблицепривводе положениезаголовкаэлементаформы положениекартинкикнопкиформы положениекартинкиэлементаграфическойсхемы положениекоманднойпанелиформы положениекоманднойпанелиэлементаформы положениеопорнойточкиотрисовки положениеподписейкдиаграмме положениеподписейшкалызначенийизмерительнойдиаграммы положениесостоянияпросмотра положениестрокипоиска положениетекстасоединительнойлинии положениеуправленияпоиском положениешкалывремени порядокотображенияточекгоризонтальнойгистограммы порядоксерийвлегендедиаграммы размеркартинки расположениезаголовкашкалыдиаграммы растягиваниеповертикалидиаграммыганта режимавтоотображениясостояния режимвводастроктаблицы режимвыборанезаполненного режимвыделениядаты режимвыделениястрокитаблицы режимвыделениятаблицы режимизмененияразмера режимизменениясвязанногозначения режимиспользованиядиалогапечати режимиспользованияпараметракоманды режиммасштабированияпросмотра режимосновногоокнаклиентскогоприложения режимоткрытияокнаформы режимотображениявыделения режимотображениягеографическойсхемы режимотображениязначенийсерии режимотрисовкисеткиграфическойсхемы режимполупрозрачностидиаграммы режимпробеловдиаграммы режимразмещениянастранице режимредактированияколонки режимсглаживаниядиаграммы режимсглаживанияиндикатора режимсписказадач сквозноевыравнивание сохранениеданныхформывнастройках способзаполнениятекстазаголовкашкалыдиаграммы способопределенияограничивающегозначениядиаграммы стандартнаягруппакоманд стандартноеоформление статусоповещенияпользователя стильстрелки типаппроксимациилиниитрендадиаграммы типдиаграммы типединицышкалывремени типимпортасерийслоягеографическойсхемы типлиниигеографическойсхемы типлиниидиаграммы типмаркерагеографическойсхемы типмаркерадиаграммы типобластиоформления типорганизацииисточникаданныхгеографическойсхемы типотображениясериислоягеографическойсхемы типотображенияточечногообъектагеографическойсхемы типотображенияшкалыэлементалегендыгеографическойсхемы типпоискаобъектовгеографическойсхемы типпроекциигеографическойсхемы типразмещенияизмерений типразмещенияреквизитовизмерений типрамкиэлементауправления типсводнойдиаграммы типсвязидиаграммыганта типсоединениязначенийпосериямдиаграммы типсоединенияточекдиаграммы типсоединительнойлинии типстороныэлементаграфическойсхемы типформыотчета типшкалырадарнойдиаграммы факторлиниитрендадиаграммы фигуракнопки фигурыграфическойсхемы фиксациявтаблице форматдняшкалывремени форматкартинки ширинаподчиненныхэлементовформы ",he="виддвижениябухгалтерии виддвижениянакопления видпериодарегистрарасчета видсчета видточкимаршрутабизнеспроцесса использованиеагрегатарегистранакопления использованиегруппиэлементов использованиережимапроведения использованиесреза периодичностьагрегатарегистранакопления режимавтовремя режимзаписидокумента режимпроведениядокумента ",J="авторегистрацияизменений допустимыйномерсообщения отправкаэлементаданных получениеэлементаданных ",W="использованиерасшифровкитабличногодокумента ориентациястраницы положениеитоговколоноксводнойтаблицы положениеитоговстроксводнойтаблицы положениетекстаотносительнокартинки расположениезаголовкагруппировкитабличногодокумента способчтениязначенийтабличногодокумента типдвустороннейпечати типзаполненияобластитабличногодокумента типкурсоровтабличногодокумента типлиниирисункатабличногодокумента типлинииячейкитабличногодокумента типнаправленияпереходатабличногодокумента типотображениявыделениятабличногодокумента типотображениялинийсводнойтаблицы типразмещениятекстатабличногодокумента типрисункатабличногодокумента типсмещениятабличногодокумента типузоратабличногодокумента типфайлатабличногодокумента точностьпечати чередованиерасположениястраниц ",X="отображениевремениэлементовпланировщика ",L="типфайлаформатированногодокумента ",Q="обходрезультатазапроса типзаписизапроса ",ce="видзаполнениярасшифровкипостроителяотчета типдобавленияпредставлений типизмеренияпостроителяотчета типразмещенияитогов ",de="доступкфайлу режимдиалогавыборафайла режимоткрытияфайла ",se="типизмеренияпостроителязапроса ",oe="видданныханализа методкластеризации типединицыинтервалавременианализаданных типзаполнениятаблицырезультатаанализаданных типиспользованиячисловыхзначенийанализаданных типисточникаданныхпоискаассоциаций типколонкианализаданныхдереворешений типколонкианализаданныхкластеризация типколонкианализаданныхобщаястатистика типколонкианализаданныхпоискассоциаций типколонкианализаданныхпоискпоследовательностей типколонкимоделипрогноза типмерырасстоянияанализаданных типотсеченияправилассоциации типполяанализаданных типстандартизациианализаданных типупорядочиванияправилассоциациианализаданных типупорядочиванияшаблоновпоследовательностейанализаданных типупрощениядереварешений ",me="wsнаправлениепараметра вариантxpathxs вариантзаписидатыjson вариантпростоготипаxs видгруппымоделиxs видфасетаxdto действиепостроителяdom завершенностьпростоготипаxs завершенностьсоставноготипаxs завершенностьсхемыxs запрещенныеподстановкиxs исключениягруппподстановкиxs категорияиспользованияатрибутаxs категорияограниченияидентичностиxs категорияограниченияпространствименxs методнаследованияxs модельсодержимогоxs назначениетипаxml недопустимыеподстановкиxs обработкапробельныхсимволовxs обработкасодержимогоxs ограничениезначенияxs параметрыотбораузловdom переносстрокjson позициявдокументеdom пробельныесимволыxml типатрибутаxml типзначенияjson типканоническогоxml типкомпонентыxs типпроверкиxml типрезультатаdomxpath типузлаdom типузлаxml формаxml формапредставленияxs форматдатыjson экранированиесимволовjson ",Ee="видсравнениякомпоновкиданных действиеобработкирасшифровкикомпоновкиданных направлениесортировкикомпоновкиданных расположениевложенныхэлементоврезультатакомпоновкиданных расположениеитоговкомпоновкиданных расположениегруппировкикомпоновкиданных расположениеполейгруппировкикомпоновкиданных расположениеполякомпоновкиданных расположениереквизитовкомпоновкиданных расположениересурсовкомпоновкиданных типбухгалтерскогоостаткакомпоновкиданных типвыводатекстакомпоновкиданных типгруппировкикомпоновкиданных типгруппыэлементовотборакомпоновкиданных типдополненияпериодакомпоновкиданных типзаголовкаполейкомпоновкиданных типмакетагруппировкикомпоновкиданных типмакетаобластикомпоновкиданных типостаткакомпоновкиданных типпериодакомпоновкиданных типразмещениятекстакомпоновкиданных типсвязинаборовданныхкомпоновкиданных типэлементарезультатакомпоновкиданных расположениелегендыдиаграммыкомпоновкиданных типпримененияотборакомпоновкиданных режимотображенияэлементанастройкикомпоновкиданных режимотображениянастроеккомпоновкиданных состояниеэлементанастройкикомпоновкиданных способвосстановлениянастроеккомпоновкиданных режимкомпоновкирезультата использованиепараметракомпоновкиданных автопозицияресурсовкомпоновкиданных вариантиспользованиягруппировкикомпоновкиданных расположениересурсоввдиаграммекомпоновкиданных фиксациякомпоновкиданных использованиеусловногооформлениякомпоновкиданных ",ke="важностьинтернетпочтовогосообщения обработкатекстаинтернетпочтовогосообщения способкодированияинтернетпочтовоговложения способкодированиянеasciiсимволовинтернетпочтовогосообщения типтекстапочтовогосообщения протоколинтернетпочты статусразборапочтовогосообщения ",xe="режимтранзакциизаписижурналарегистрации статустранзакциизаписижурналарегистрации уровеньжурналарегистрации ",fe="расположениехранилищасертификатовкриптографии режимвключениясертификатовкриптографии режимпроверкисертификатакриптографии типхранилищасертификатовкриптографии ",ve="кодировкаименфайловвzipфайле методсжатияzip методшифрованияzip режимвосстановленияпутейфайловzip режимобработкиподкаталоговzip режимсохраненияпутейzip уровеньсжатияzip ",ye="звуковоеоповещение направлениепереходакстроке позициявпотоке порядокбайтов режимблокировкиданных режимуправленияблокировкойданных сервисвстроенныхпокупок состояниефоновогозадания типподписчикадоставляемыхуведомлений уровеньиспользованиязащищенногосоединенияftp ",Ce="направлениепорядкасхемызапроса типдополненияпериодамисхемызапроса типконтрольнойточкисхемызапроса типобъединениясхемызапроса типпараметрадоступнойтаблицысхемызапроса типсоединениясхемызапроса ",pe="httpметод автоиспользованиеобщегореквизита автопрефиксномеразадачи вариантвстроенногоязыка видиерархии видрегистранакопления видтаблицывнешнегоисточникаданных записьдвиженийприпроведении заполнениепоследовательностей индексирование использованиебазыпланавидоврасчета использованиебыстроговыбора использованиеобщегореквизита использованиеподчинения использованиеполнотекстовогопоиска использованиеразделяемыхданныхобщегореквизита использованиереквизита назначениеиспользованияприложения назначениерасширенияконфигурации направлениепередачи обновлениепредопределенныхданных оперативноепроведение основноепредставлениевидарасчета основноепредставлениевидахарактеристики основноепредставлениезадачи основноепредставлениепланаобмена основноепредставлениесправочника основноепредставлениесчета перемещениеграницыприпроведении периодичностьномерабизнеспроцесса периодичностьномерадокумента периодичностьрегистрарасчета периодичностьрегистрасведений повторноеиспользованиевозвращаемыхзначений полнотекстовыйпоискпривводепостроке принадлежностьобъекта проведение разделениеаутентификацииобщегореквизита разделениеданныхобщегореквизита разделениерасширенийконфигурацииобщегореквизита режимавтонумерацииобъектов режимзаписирегистра режимиспользованиямодальности режимиспользованиясинхронныхвызововрасширенийплатформыивнешнихкомпонент режимповторногоиспользованиясеансов режимполученияданныхвыборапривводепостроке режимсовместимости режимсовместимостиинтерфейса режимуправленияблокировкойданныхпоумолчанию сериикодовпланавидовхарактеристик сериикодовпланасчетов сериикодовсправочника созданиепривводе способвыбора способпоискастрокипривводепостроке способредактирования типданныхтаблицывнешнегоисточникаданных типкодапланавидоврасчета типкодасправочника типмакета типномерабизнеспроцесса типномерадокумента типномеразадачи типформы удалениедвижений ",_e="важностьпроблемыприменениярасширенияконфигурации вариантинтерфейсаклиентскогоприложения вариантмасштабаформклиентскогоприложения вариантосновногошрифтаклиентскогоприложения вариантстандартногопериода вариантстандартнойдатыначала видграницы видкартинки видотображенияполнотекстовогопоиска видрамки видсравнения видцвета видчисловогозначения видшрифта допустимаядлина допустимыйзнак использованиеbyteordermark использованиеметаданныхполнотекстовогопоиска источникрасширенийконфигурации клавиша кодвозвратадиалога кодировкаxbase кодировкатекста направлениепоиска направлениесортировки обновлениепредопределенныхданных обновлениеприизмененииданных отображениепанелиразделов проверказаполнения режимдиалогавопрос режимзапускаклиентскогоприложения режимокругления режимоткрытияформприложения режимполнотекстовогопоиска скоростьклиентскогосоединения состояниевнешнегоисточникаданных состояниеобновленияконфигурациибазыданных способвыборасертификатаwindows способкодированиястроки статуссообщения типвнешнейкомпоненты типплатформы типповеденияклавишиenter типэлементаинформацииовыполненииобновленияконфигурациибазыданных уровеньизоляциитранзакций хешфункция частидаты",Ge=ae+ie+he+J+W+X+L+Q+ce+de+se+oe+me+Ee+ke+xe+fe+ve+ye+Ce+pe+_e,Ze="comобъект ftpсоединение httpзапрос httpсервисответ httpсоединение wsопределения wsпрокси xbase анализданных аннотацияxs блокировкаданных буфердвоичныхданных включениеxs выражениекомпоновкиданных генераторслучайныхчисел географическаясхема географическиекоординаты графическаясхема группамоделиxs данныерасшифровкикомпоновкиданных двоичныеданные дендрограмма диаграмма диаграммаганта диалогвыборафайла диалогвыборацвета диалогвыборашрифта диалограсписаниярегламентногозадания диалогредактированиястандартногопериода диапазон документdom документhtml документацияxs доставляемоеуведомление записьdom записьfastinfoset записьhtml записьjson записьxml записьzipфайла записьданных записьтекста записьузловdom запрос защищенноесоединениеopenssl значенияполейрасшифровкикомпоновкиданных извлечениетекста импортxs интернетпочта интернетпочтовоесообщение интернетпочтовыйпрофиль интернетпрокси интернетсоединение информациядляприложенияxs использованиеатрибутаxs использованиесобытияжурналарегистрации источникдоступныхнастроеккомпоновкиданных итераторузловdom картинка квалификаторыдаты квалификаторыдвоичныхданных квалификаторыстроки квалификаторычисла компоновщикмакетакомпоновкиданных компоновщикнастроеккомпоновкиданных конструктормакетаоформлениякомпоновкиданных конструкторнастроеккомпоновкиданных конструкторформатнойстроки линия макеткомпоновкиданных макетобластикомпоновкиданных макетоформлениякомпоновкиданных маскаxs менеджеркриптографии наборсхемxml настройкикомпоновкиданных настройкисериализацииjson обработкакартинок обработкарасшифровкикомпоновкиданных обходдереваdom объявлениеатрибутаxs объявлениенотацииxs объявлениеэлементаxs описаниеиспользованиясобытиядоступжурналарегистрации описаниеиспользованиясобытияотказвдоступежурналарегистрации описаниеобработкирасшифровкикомпоновкиданных описаниепередаваемогофайла описаниетипов определениегруппыатрибутовxs определениегруппымоделиxs определениеограниченияидентичностиxs определениепростоготипаxs определениесоставноготипаxs определениетипадокументаdom определенияxpathxs отборкомпоновкиданных пакетотображаемыхдокументов параметрвыбора параметркомпоновкиданных параметрызаписиjson параметрызаписиxml параметрычтенияxml переопределениеxs планировщик полеанализаданных полекомпоновкиданных построительdom построительзапроса построительотчета построительотчетаанализаданных построительсхемxml поток потоквпамяти почта почтовоесообщение преобразованиеxsl преобразованиекканоническомуxml процессорвыводарезультатакомпоновкиданныхвколлекциюзначений процессорвыводарезультатакомпоновкиданныхвтабличныйдокумент процессоркомпоновкиданных разыменовательпространствименdom рамка расписаниерегламентногозадания расширенноеимяxml результатчтенияданных своднаядиаграмма связьпараметравыбора связьпотипу связьпотипукомпоновкиданных сериализаторxdto сертификатклиентаwindows сертификатклиентафайл сертификаткриптографии сертификатыудостоверяющихцентровwindows сертификатыудостоверяющихцентровфайл сжатиеданных системнаяинформация сообщениепользователю сочетаниеклавиш сравнениезначений стандартнаядатаначала стандартныйпериод схемаxml схемакомпоновкиданных табличныйдокумент текстовыйдокумент тестируемоеприложение типданныхxml уникальныйидентификатор фабрикаxdto файл файловыйпоток фасетдлиныxs фасетколичестваразрядовдробнойчастиxs фасетмаксимальноговключающегозначенияxs фасетмаксимальногоисключающегозначенияxs фасетмаксимальнойдлиныxs фасетминимальноговключающегозначенияxs фасетминимальногоисключающегозначенияxs фасетминимальнойдлиныxs фасетобразцаxs фасетобщегоколичестваразрядовxs фасетперечисленияxs фасетпробельныхсимволовxs фильтрузловdom форматированнаястрока форматированныйдокумент фрагментxs хешированиеданных хранилищезначения цвет чтениеfastinfoset чтениеhtml чтениеjson чтениеxml чтениеzipфайла чтениеданных чтениетекста чтениеузловdom шрифт элементрезультатакомпоновкиданных "+"comsafearray деревозначений массив соответствие списокзначений структура таблицазначений фиксированнаяструктура фиксированноесоответствие фиксированныймассив ",ze="null истина ложь неопределено",Te=m.inherit(m.NUMBER_MODE),Fe={className:"string",begin:'"|\\|',end:'"|$',contains:[{begin:'""'}]},Pe={begin:"'",end:"'",excludeBegin:!0,excludeEnd:!0,contains:[{className:"number",begin:"\\d{4}([\\.\\\\/:-]?\\d{2}){0,5}"}]},we=m.inherit(m.C_LINE_COMMENT_MODE),Ie={className:"meta",begin:"#|&",end:"$",keywords:{$pattern:M,keyword:q+B},contains:[we]},Be={className:"symbol",begin:"~",end:";|:",excludeEnd:!0},Ke={className:"function",variants:[{begin:"процедура|функция",end:"\\)",keywords:"процедура функция"},{begin:"конецпроцедуры|конецфункции",keywords:"конецпроцедуры конецфункции"}],contains:[{begin:"\\(",end:"\\)",endsParent:!0,contains:[{className:"params",begin:M,end:",",excludeEnd:!0,endsWithParent:!0,keywords:{$pattern:M,keyword:"знач",literal:ze},contains:[Te,Fe,Pe]},we]},m.inherit(m.TITLE_MODE,{begin:M})]};return{name:"1C:Enterprise",case_insensitive:!0,keywords:{$pattern:M,keyword:q,built_in:e,class:Ge,type:Ze,literal:ze},contains:[Ie,Ke,we,Be,Te,Fe,Pe]}}return _1c_1=k,_1c_1}var abnf_1,hasRequiredAbnf;function requireAbnf(){if(hasRequiredAbnf)return abnf_1;hasRequiredAbnf=1;function k(m){const M=m.regex,G=/^[a-zA-Z][a-zA-Z0-9-]*/,V=["ALPHA","BIT","CHAR","CR","CRLF","CTL","DIGIT","DQUOTE","HEXDIG","HTAB","LF","LWSP","OCTET","SP","VCHAR","WSP"],q=m.COMMENT(/;/,/$/),$={scope:"symbol",match:/%b[0-1]+(-[0-1]+|(\.[0-1]+)+)?/},D={scope:"symbol",match:/%d[0-9]+(-[0-9]+|(\.[0-9]+)+)?/},B={scope:"symbol",match:/%x[0-9A-F]+(-[0-9A-F]+|(\.[0-9A-F]+)+)?/},R={scope:"symbol",match:/%[si](?=".*")/},U={scope:"attribute",match:M.concat(G,/(?=\s*=)/)};return{name:"Augmented Backus-Naur Form",illegal:/[!@#$^&',?+~`|:]/,keywords:V,contains:[{scope:"operator",match:/=\/?/},U,q,$,D,B,R,m.QUOTE_STRING_MODE,m.NUMBER_MODE]}}return abnf_1=k,abnf_1}var accesslog_1,hasRequiredAccesslog;function requireAccesslog(){if(hasRequiredAccesslog)return accesslog_1;hasRequiredAccesslog=1;function k(m){const M=m.regex,G=["GET","POST","HEAD","PUT","DELETE","CONNECT","OPTIONS","PATCH","TRACE"];return{name:"Apache Access Log",contains:[{className:"number",begin:/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?\b/,relevance:5},{className:"number",begin:/\b\d+\b/,relevance:0},{className:"string",begin:M.concat(/"/,M.either(...G)),end:/"/,keywords:G,illegal:/\n/,relevance:5,contains:[{begin:/HTTP\/[12]\.\d'/,relevance:5}]},{className:"string",begin:/\[\d[^\]\n]{8,}\]/,illegal:/\n/,relevance:1},{className:"string",begin:/\[/,end:/\]/,illegal:/\n/,relevance:0},{className:"string",begin:/"Mozilla\/\d\.\d \(/,end:/"/,illegal:/\n/,relevance:3},{className:"string",begin:/"/,end:/"/,illegal:/\n/,relevance:0}]}}return accesslog_1=k,accesslog_1}var actionscript_1,hasRequiredActionscript;function requireActionscript(){if(hasRequiredActionscript)return actionscript_1;hasRequiredActionscript=1;function k(m){const M=m.regex,G=/[a-zA-Z_$][a-zA-Z0-9_$]*/,V=M.concat(G,M.concat("(\\.",G,")*")),q=/([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)/,$={className:"rest_arg",begin:/[.]{3}/,end:G,relevance:10};return{name:"ActionScript",aliases:["as"],keywords:{keyword:["as","break","case","catch","class","const","continue","default","delete","do","dynamic","each","else","extends","final","finally","for","function","get","if","implements","import","in","include","instanceof","interface","internal","is","namespace","native","new","override","package","private","protected","public","return","set","static","super","switch","this","throw","try","typeof","use","var","void","while","with"],literal:["true","false","null","undefined"]},contains:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.C_NUMBER_MODE,{match:[/\bpackage/,/\s+/,V],className:{1:"keyword",3:"title.class"}},{match:[/\b(?:class|interface|extends|implements)/,/\s+/,G],className:{1:"keyword",3:"title.class"}},{className:"meta",beginKeywords:"import include",end:/;/,keywords:{keyword:"import include"}},{beginKeywords:"function",end:/[{;]/,excludeEnd:!0,illegal:/\S/,contains:[m.inherit(m.TITLE_MODE,{className:"title.function"}),{className:"params",begin:/\(/,end:/\)/,contains:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,$]},{begin:M.concat(/:\s*/,q)}]},m.METHOD_GUARD],illegal:/#/}}return actionscript_1=k,actionscript_1}var ada_1,hasRequiredAda;function requireAda(){if(hasRequiredAda)return ada_1;hasRequiredAda=1;function k(m){const M="\\d(_|\\d)*",G="[eE][-+]?"+M,V=M+"(\\."+M+")?("+G+")?",q="\\w+",D="\\b("+(M+"#"+q+"(\\."+q+")?#("+G+")?")+"|"+V+")",B="[A-Za-z](_?[A-Za-z0-9.])*",R=`[]\\{\\}%#'"`,U=m.COMMENT("--","$"),K={begin:"\\s+:\\s+",end:"\\s*(:=|;|\\)|=>|$)",illegal:R,contains:[{beginKeywords:"loop for declare others",endsParent:!0},{className:"keyword",beginKeywords:"not null constant access function procedure in out aliased exception"},{className:"type",begin:B,endsParent:!0,relevance:0}]};return{name:"Ada",case_insensitive:!0,keywords:{keyword:["abort","else","new","return","abs","elsif","not","reverse","abstract","end","accept","entry","select","access","exception","of","separate","aliased","exit","or","some","all","others","subtype","and","for","out","synchronized","array","function","overriding","at","tagged","generic","package","task","begin","goto","pragma","terminate","body","private","then","if","procedure","type","case","in","protected","constant","interface","is","raise","use","declare","range","delay","limited","record","when","delta","loop","rem","while","digits","renames","with","do","mod","requeue","xor"],literal:["True","False"]},contains:[U,{className:"string",begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{className:"string",begin:/'.'/},{className:"number",begin:D,relevance:0},{className:"symbol",begin:"'"+B},{className:"title",begin:"(\\bwith\\s+)?(\\bprivate\\s+)?\\bpackage\\s+(\\bbody\\s+)?",end:"(is|$)",keywords:"package body",excludeBegin:!0,excludeEnd:!0,illegal:R},{begin:"(\\b(with|overriding)\\s+)?\\b(function|procedure)\\s+",end:"(\\bis|\\bwith|\\brenames|\\)\\s*;)",keywords:"overriding function procedure with is renames return",returnBegin:!0,contains:[U,{className:"title",begin:"(\\bwith\\s+)?\\b(function|procedure)\\s+",end:"(\\(|\\s+|$)",excludeBegin:!0,excludeEnd:!0,illegal:R},K,{className:"type",begin:"\\breturn\\s+",end:"(\\s+|;|$)",keywords:"return",excludeBegin:!0,excludeEnd:!0,endsParent:!0,illegal:R}]},{className:"type",begin:"\\b(sub)?type\\s+",end:"\\s+",keywords:"type",excludeBegin:!0,illegal:R},K]}}return ada_1=k,ada_1}var angelscript_1,hasRequiredAngelscript;function requireAngelscript(){if(hasRequiredAngelscript)return angelscript_1;hasRequiredAngelscript=1;function k(m){const M={className:"built_in",begin:"\\b(void|bool|int8|int16|int32|int64|int|uint8|uint16|uint32|uint64|uint|string|ref|array|double|float|auto|dictionary)"},G={className:"symbol",begin:"[a-zA-Z0-9_]+@"},V={className:"keyword",begin:"<",end:">",contains:[M,G]};return M.contains=[V],G.contains=[V],{name:"AngelScript",aliases:["asc"],keywords:["for","in|0","break","continue","while","do|0","return","if","else","case","switch","namespace","is","cast","or","and","xor","not","get|0","in","inout|10","out","override","set|0","private","public","const","default|0","final","shared","external","mixin|10","enum","typedef","funcdef","this","super","import","from","interface","abstract|0","try","catch","protected","explicit","property"],illegal:"(^using\\s+[A-Za-z0-9_\\.]+;$|\\bfunction\\s*[^\\(])",contains:[{className:"string",begin:"'",end:"'",illegal:"\\n",contains:[m.BACKSLASH_ESCAPE],relevance:0},{className:"string",begin:'"""',end:'"""'},{className:"string",begin:'"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE],relevance:0},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"string",begin:"^\\s*\\[",end:"\\]"},{beginKeywords:"interface namespace",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]},{beginKeywords:"class",end:/\{/,illegal:"[;.\\-]",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+",contains:[{begin:"[:,]\\s*",contains:[{className:"symbol",begin:"[a-zA-Z0-9_]+"}]}]}]},M,G,{className:"literal",begin:"\\b(null|true|false)"},{className:"number",relevance:0,begin:"(-?)(\\b0[xXbBoOdD][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?f?|\\.\\d+f?)([eE][-+]?\\d+f?)?)"}]}}return angelscript_1=k,angelscript_1}var apache_1,hasRequiredApache;function requireApache(){if(hasRequiredApache)return apache_1;hasRequiredApache=1;function k(m){const M={className:"number",begin:/[$%]\d+/},G={className:"number",begin:/\b\d+/},V={className:"number",begin:/\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}(:\d{1,5})?/},q={className:"number",begin:/:\d{1,5}/};return{name:"Apache config",aliases:["apacheconf"],case_insensitive:!0,contains:[m.HASH_COMMENT_MODE,{className:"section",begin:/<\/?/,end:/>/,contains:[V,q,m.inherit(m.QUOTE_STRING_MODE,{relevance:0})]},{className:"attribute",begin:/\w+/,relevance:0,keywords:{_:["order","deny","allow","setenv","rewriterule","rewriteengine","rewritecond","documentroot","sethandler","errordocument","loadmodule","options","header","listen","serverroot","servername"]},starts:{end:/$/,relevance:0,keywords:{literal:"on off all deny allow"},contains:[{className:"meta",begin:/\s\[/,end:/\]$/},{className:"variable",begin:/[\$%]\{/,end:/\}/,contains:["self",M]},V,G,m.QUOTE_STRING_MODE]}}],illegal:/\S/}}return apache_1=k,apache_1}var applescript_1,hasRequiredApplescript;function requireApplescript(){if(hasRequiredApplescript)return applescript_1;hasRequiredApplescript=1;function k(m){const M=m.regex,G=m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),V={className:"params",begin:/\(/,end:/\)/,contains:["self",m.C_NUMBER_MODE,G]},q=m.COMMENT(/--/,/$/),$=m.COMMENT(/\(\*/,/\*\)/,{contains:["self",q]}),D=[q,$,m.HASH_COMMENT_MODE],B=[/apart from/,/aside from/,/instead of/,/out of/,/greater than/,/isn't|(doesn't|does not) (equal|come before|come after|contain)/,/(greater|less) than( or equal)?/,/(starts?|ends|begins?) with/,/contained by/,/comes (before|after)/,/a (ref|reference)/,/POSIX (file|path)/,/(date|time) string/,/quoted form/],R=[/clipboard info/,/the clipboard/,/info for/,/list (disks|folder)/,/mount volume/,/path to/,/(close|open for) access/,/(get|set) eof/,/current date/,/do shell script/,/get volume settings/,/random number/,/set volume/,/system attribute/,/system info/,/time to GMT/,/(load|run|store) script/,/scripting components/,/ASCII (character|number)/,/localized string/,/choose (application|color|file|file name|folder|from list|remote application|URL)/,/display (alert|dialog)/];return{name:"AppleScript",aliases:["osascript"],keywords:{keyword:"about above after against and around as at back before beginning behind below beneath beside between but by considering contain contains continue copy div does eighth else end equal equals error every exit fifth first for fourth from front get given global if ignoring in into is it its last local me middle mod my ninth not of on onto or over prop property put ref reference repeat returning script second set seventh since sixth some tell tenth that the|0 then third through thru timeout times to transaction try until where while whose with without",literal:"AppleScript false linefeed return pi quote result space tab true",built_in:"alias application boolean class constant date file integer list number real record string text activate beep count delay launch log offset read round run say summarize write character characters contents day frontmost id item length month name|0 paragraph paragraphs rest reverse running time version weekday word words year"},contains:[G,m.C_NUMBER_MODE,{className:"built_in",begin:M.concat(/\b/,M.either(...R),/\b/)},{className:"built_in",begin:/^\s*return\b/},{className:"literal",begin:/\b(text item delimiters|current application|missing value)\b/},{className:"keyword",begin:M.concat(/\b/,M.either(...B),/\b/)},{beginKeywords:"on",illegal:/[${=;\n]/,contains:[m.UNDERSCORE_TITLE_MODE,V]},...D],illegal:/\/\/|->|=>|\[\[/}}return applescript_1=k,applescript_1}var arcade_1,hasRequiredArcade;function requireArcade(){if(hasRequiredArcade)return arcade_1;hasRequiredArcade=1;function k(m){const M="[A-Za-z_][0-9A-Za-z_]*",G={keyword:["if","for","while","var","new","function","do","return","void","else","break"],literal:["BackSlash","DoubleQuote","false","ForwardSlash","Infinity","NaN","NewLine","null","PI","SingleQuote","Tab","TextFormatting","true","undefined"],built_in:["Abs","Acos","All","Angle","Any","Area","AreaGeodetic","Array","Asin","Atan","Atan2","Attachments","Average","Back","Bearing","Boolean","Buffer","BufferGeodetic","Ceil","Centroid","Clip","Concatenate","Console","Constrain","Contains","ConvertDirection","Cos","Count","Crosses","Cut","Date","DateAdd","DateDiff","Day","Decode","DefaultValue","Densify","DensifyGeodetic","Dictionary","Difference","Disjoint","Distance","DistanceGeodetic","Distinct","Domain","DomainCode","DomainName","EnvelopeIntersects","Equals","Erase","Exp","Expects","Extent","Feature","FeatureSet","FeatureSetByAssociation","FeatureSetById","FeatureSetByName","FeatureSetByPortalItem","FeatureSetByRelationshipName","Filter","Find","First","Floor","FromCharCode","FromCodePoint","FromJSON","GdbVersion","Generalize","Geometry","GetFeatureSet","GetUser","GroupBy","Guid","Hash","HasKey","Hour","IIf","Includes","IndexOf","Insert","Intersection","Intersects","IsEmpty","IsNan","ISOMonth","ISOWeek","ISOWeekday","ISOYear","IsSelfIntersecting","IsSimple","Left|0","Length","Length3D","LengthGeodetic","Log","Lower","Map","Max","Mean","Mid","Millisecond","Min","Minute","Month","MultiPartToSinglePart","Multipoint","NextSequenceValue","None","Now","Number","Offset|0","OrderBy","Overlaps","Point","Polygon","Polyline","Pop","Portal","Pow","Proper","Push","Random","Reduce","Relate","Replace","Resize","Reverse","Right|0","RingIsClockwise","Rotate","Round","Schema","Second","SetGeometry","Simplify","Sin","Slice","Sort","Splice","Split","Sqrt","Stdev","SubtypeCode","SubtypeName","Subtypes","Sum","SymmetricDifference","Tan","Text","Timestamp","ToCharCode","ToCodePoint","Today","ToHex","ToLocal","Top|0","Touches","ToUTC","TrackAccelerationAt","TrackAccelerationWindow","TrackCurrentAcceleration","TrackCurrentDistance","TrackCurrentSpeed","TrackCurrentTime","TrackDistanceAt","TrackDistanceWindow","TrackDuration","TrackFieldWindow","TrackGeometryWindow","TrackIndex","TrackSpeedAt","TrackSpeedWindow","TrackStartTime","TrackWindow","Trim","TypeOf","Union","Upper","UrlEncode","Variance","Week","Weekday","When","Within","Year"]},V={className:"symbol",begin:"\\$[datastore|feature|layer|map|measure|sourcefeature|sourcelayer|targetfeature|targetlayer|value|view]+"},q={className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:m.C_NUMBER_RE}],relevance:0},$={className:"subst",begin:"\\$\\{",end:"\\}",keywords:G,contains:[]},D={className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,$]};$.contains=[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,D,q,m.REGEXP_MODE];const B=$.contains.concat([m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE]);return{name:"ArcGIS Arcade",case_insensitive:!0,keywords:G,contains:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,D,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,V,q,{begin:/[{,]\s*/,relevance:0,contains:[{begin:M+"\\s*:",returnBegin:!0,relevance:0,contains:[{className:"attr",begin:M,relevance:0}]}]},{begin:"("+m.RE_STARTERS_RE+"|\\b(return)\\b)\\s*",keywords:"return",contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.REGEXP_MODE,{className:"function",begin:"(\\(.*?\\)|"+M+")\\s*=>",returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:M},{begin:/\(\s*\)/},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:G,contains:B}]}]}],relevance:0},{beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{className:"title.function",begin:M}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:B}],illegal:/\[|%/},{begin:/\$[(.]/}],illegal:/#(?!!)/}}return arcade_1=k,arcade_1}var arduino_1,hasRequiredArduino;function requireArduino(){if(hasRequiredArduino)return arduino_1;hasRequiredArduino=1;function k(M){const G=M.regex,V=M.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),q="decltype\\(auto\\)",$="[a-zA-Z_]\\w*::",D="<[^<>]+>",B="(?!struct)("+q+"|"+G.optional($)+"[a-zA-Z_]\\w*"+G.optional(D)+")",R={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},U="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",K={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[M.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+U+"|.)",end:"'",illegal:"."},M.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},z={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},e={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},M.inherit(K,{className:"string"}),{className:"string",begin:/<.*?>/},V,M.C_BLOCK_COMMENT_MODE]},ae={className:"title",begin:G.optional($)+M.IDENT_RE,relevance:0},ie=G.optional($)+M.IDENT_RE+"\\s*\\(",he=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],J=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],W=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],X=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],ce={type:J,keyword:he,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:W},de={className:"function.dispatch",relevance:0,keywords:{_hint:X},begin:G.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,M.IDENT_RE,G.lookahead(/(<[^<>]+>|)\s*\(/))},se=[de,e,R,V,M.C_BLOCK_COMMENT_MODE,z,K],oe={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:ce,contains:se.concat([{begin:/\(/,end:/\)/,keywords:ce,contains:se.concat(["self"]),relevance:0}]),relevance:0},me={className:"function",begin:"("+B+"[\\*&\\s]+)+"+ie,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:ce,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:q,keywords:ce,relevance:0},{begin:ie,returnBegin:!0,contains:[ae],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[K,z]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:ce,relevance:0,contains:[V,M.C_BLOCK_COMMENT_MODE,K,z,R,{begin:/\(/,end:/\)/,keywords:ce,relevance:0,contains:["self",V,M.C_BLOCK_COMMENT_MODE,K,z,R]}]},R,V,M.C_BLOCK_COMMENT_MODE,e]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:ce,illegal:"",keywords:ce,contains:["self",R]},{begin:M.IDENT_RE+"::",keywords:ce},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}function m(M){const G={type:["boolean","byte","word","String"],built_in:["KeyboardController","MouseController","SoftwareSerial","EthernetServer","EthernetClient","LiquidCrystal","RobotControl","GSMVoiceCall","EthernetUDP","EsploraTFT","HttpClient","RobotMotor","WiFiClient","GSMScanner","FileSystem","Scheduler","GSMServer","YunClient","YunServer","IPAddress","GSMClient","GSMModem","Keyboard","Ethernet","Console","GSMBand","Esplora","Stepper","Process","WiFiUDP","GSM_SMS","Mailbox","USBHost","Firmata","PImage","Client","Server","GSMPIN","FileIO","Bridge","Serial","EEPROM","Stream","Mouse","Audio","Servo","File","Task","GPRS","WiFi","Wire","TFT","GSM","SPI","SD"],_hints:["setup","loop","runShellCommandAsynchronously","analogWriteResolution","retrieveCallingNumber","printFirmwareVersion","analogReadResolution","sendDigitalPortPair","noListenOnLocalhost","readJoystickButton","setFirmwareVersion","readJoystickSwitch","scrollDisplayRight","getVoiceCallStatus","scrollDisplayLeft","writeMicroseconds","delayMicroseconds","beginTransmission","getSignalStrength","runAsynchronously","getAsynchronously","listenOnLocalhost","getCurrentCarrier","readAccelerometer","messageAvailable","sendDigitalPorts","lineFollowConfig","countryNameWrite","runShellCommand","readStringUntil","rewindDirectory","readTemperature","setClockDivider","readLightSensor","endTransmission","analogReference","detachInterrupt","countryNameRead","attachInterrupt","encryptionType","readBytesUntil","robotNameWrite","readMicrophone","robotNameRead","cityNameWrite","userNameWrite","readJoystickY","readJoystickX","mouseReleased","openNextFile","scanNetworks","noInterrupts","digitalWrite","beginSpeaker","mousePressed","isActionDone","mouseDragged","displayLogos","noAutoscroll","addParameter","remoteNumber","getModifiers","keyboardRead","userNameRead","waitContinue","processInput","parseCommand","printVersion","readNetworks","writeMessage","blinkVersion","cityNameRead","readMessage","setDataMode","parsePacket","isListening","setBitOrder","beginPacket","isDirectory","motorsWrite","drawCompass","digitalRead","clearScreen","serialEvent","rightToLeft","setTextSize","leftToRight","requestFrom","keyReleased","compassRead","analogWrite","interrupts","WiFiServer","disconnect","playMelody","parseFloat","autoscroll","getPINUsed","setPINUsed","setTimeout","sendAnalog","readSlider","analogRead","beginWrite","createChar","motorsStop","keyPressed","tempoWrite","readButton","subnetMask","debugPrint","macAddress","writeGreen","randomSeed","attachGPRS","readString","sendString","remotePort","releaseAll","mouseMoved","background","getXChange","getYChange","answerCall","getResult","voiceCall","endPacket","constrain","getSocket","writeJSON","getButton","available","connected","findUntil","readBytes","exitValue","readGreen","writeBlue","startLoop","IPAddress","isPressed","sendSysex","pauseMode","gatewayIP","setCursor","getOemKey","tuneWrite","noDisplay","loadImage","switchPIN","onRequest","onReceive","changePIN","playFile","noBuffer","parseInt","overflow","checkPIN","knobRead","beginTFT","bitClear","updateIR","bitWrite","position","writeRGB","highByte","writeRed","setSpeed","readBlue","noStroke","remoteIP","transfer","shutdown","hangCall","beginSMS","endWrite","attached","maintain","noCursor","checkReg","checkPUK","shiftOut","isValid","shiftIn","pulseIn","connect","println","localIP","pinMode","getIMEI","display","noBlink","process","getBand","running","beginSD","drawBMP","lowByte","setBand","release","bitRead","prepare","pointTo","readRed","setMode","noFill","remove","listen","stroke","detach","attach","noTone","exists","buffer","height","bitSet","circle","config","cursor","random","IRread","setDNS","endSMS","getKey","micros","millis","begin","print","write","ready","flush","width","isPIN","blink","clear","press","mkdir","rmdir","close","point","yield","image","BSSID","click","delay","read","text","move","peek","beep","rect","line","open","seek","fill","size","turn","stop","home","find","step","tone","sqrt","RSSI","SSID","end","bit","tan","cos","sin","pow","map","abs","max","min","get","run","put"],literal:["DIGITAL_MESSAGE","FIRMATA_STRING","ANALOG_MESSAGE","REPORT_DIGITAL","REPORT_ANALOG","INPUT_PULLUP","SET_PIN_MODE","INTERNAL2V56","SYSTEM_RESET","LED_BUILTIN","INTERNAL1V1","SYSEX_START","INTERNAL","EXTERNAL","DEFAULT","OUTPUT","INPUT","HIGH","LOW"]},V=k(M),q=V.keywords;return q.type=[...q.type,...G.type],q.literal=[...q.literal,...G.literal],q.built_in=[...q.built_in,...G.built_in],q._hints=G._hints,V.name="Arduino",V.aliases=["ino"],V.supersetOf="cpp",V}return arduino_1=m,arduino_1}var armasm_1,hasRequiredArmasm;function requireArmasm(){if(hasRequiredArmasm)return armasm_1;hasRequiredArmasm=1;function k(m){const M={variants:[m.COMMENT("^[ \\t]*(?=#)","$",{relevance:0,excludeBegin:!0}),m.COMMENT("[;@]","$",{relevance:0}),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]};return{name:"ARM Assembly",case_insensitive:!0,aliases:["arm"],keywords:{$pattern:"\\.?"+m.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .arm .thumb .code16 .code32 .force_thumb .thumb_func .ltorg ALIAS ALIGN ARM AREA ASSERT ATTR CN CODE CODE16 CODE32 COMMON CP DATA DCB DCD DCDU DCDO DCFD DCFDU DCI DCQ DCQU DCW DCWU DN ELIF ELSE END ENDFUNC ENDIF ENDP ENTRY EQU EXPORT EXPORTAS EXTERN FIELD FILL FUNCTION GBLA GBLL GBLS GET GLOBAL IF IMPORT INCBIN INCLUDE INFO KEEP LCLA LCLL LCLS LTORG MACRO MAP MEND MEXIT NOFP OPT PRESERVE8 PROC QN READONLY RELOC REQUIRE REQUIRE8 RLIST FN ROUT SETA SETL SETS SN SPACE SUBT THUMB THUMBX TTL WHILE WEND ",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 w0 w1 w2 w3 w4 w5 w6 w7 w8 w9 w10 w11 w12 w13 w14 w15 w16 w17 w18 w19 w20 w21 w22 w23 w24 w25 w26 w27 w28 w29 w30 x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 x22 x23 x24 x25 x26 x27 x28 x29 x30 pc lr sp ip sl sb fp a1 a2 a3 a4 v1 v2 v3 v4 v5 v6 v7 v8 f0 f1 f2 f3 f4 f5 f6 f7 p0 p1 p2 p3 p4 p5 p6 p7 p8 p9 p10 p11 p12 p13 p14 p15 c0 c1 c2 c3 c4 c5 c6 c7 c8 c9 c10 c11 c12 c13 c14 c15 q0 q1 q2 q3 q4 q5 q6 q7 q8 q9 q10 q11 q12 q13 q14 q15 cpsr_c cpsr_x cpsr_s cpsr_f cpsr_cx cpsr_cxs cpsr_xs cpsr_xsf cpsr_sf cpsr_cxsf spsr_c spsr_x spsr_s spsr_f spsr_cx spsr_cxs spsr_xs spsr_xsf spsr_sf spsr_cxsf s0 s1 s2 s3 s4 s5 s6 s7 s8 s9 s10 s11 s12 s13 s14 s15 s16 s17 s18 s19 s20 s21 s22 s23 s24 s25 s26 s27 s28 s29 s30 s31 d0 d1 d2 d3 d4 d5 d6 d7 d8 d9 d10 d11 d12 d13 d14 d15 d16 d17 d18 d19 d20 d21 d22 d23 d24 d25 d26 d27 d28 d29 d30 d31 {PC} {VAR} {TRUE} {FALSE} {OPT} {CONFIG} {ENDIAN} {CODESIZE} {CPU} {FPU} {ARCHITECTURE} {PCSTOREOFFSET} {ARMASM_VERSION} {INTER} {ROPI} {RWPI} {SWST} {NOSWST} . @"},contains:[{className:"keyword",begin:"\\b(adc|(qd?|sh?|u[qh]?)?add(8|16)?|usada?8|(q|sh?|u[qh]?)?(as|sa)x|and|adrl?|sbc|rs[bc]|asr|b[lx]?|blx|bxj|cbn?z|tb[bh]|bic|bfc|bfi|[su]bfx|bkpt|cdp2?|clz|clrex|cmp|cmn|cpsi[ed]|cps|setend|dbg|dmb|dsb|eor|isb|it[te]{0,3}|lsl|lsr|ror|rrx|ldm(([id][ab])|f[ds])?|ldr((s|ex)?[bhd])?|movt?|mvn|mra|mar|mul|[us]mull|smul[bwt][bt]|smu[as]d|smmul|smmla|mla|umlaal|smlal?([wbt][bt]|d)|mls|smlsl?[ds]|smc|svc|sev|mia([bt]{2}|ph)?|mrr?c2?|mcrr2?|mrs|msr|orr|orn|pkh(tb|bt)|rbit|rev(16|sh)?|sel|[su]sat(16)?|nop|pop|push|rfe([id][ab])?|stm([id][ab])?|str(ex)?[bhd]?|(qd?)?sub|(sh?|q|u[qh]?)?sub(8|16)|[su]xt(a?h|a?b(16)?)|srs([id][ab])?|swpb?|swi|smi|tst|teq|wfe|wfi|yield)(eq|ne|cs|cc|mi|pl|vs|vc|hi|ls|ge|lt|gt|le|al|hs|lo)?[sptrx]?(?=\\s)"},M,m.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"[#$=]?0x[0-9a-f]+"},{begin:"[#$=]?0b[01]+"},{begin:"[#$=]\\d+"},{begin:"\\b\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^[ \\t]*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^[a-z_\\.\\$][a-z0-9_\\.\\$]+"},{begin:"[=#]\\w+"}],relevance:0}]}}return armasm_1=k,armasm_1}var xml_1,hasRequiredXml;function requireXml(){if(hasRequiredXml)return xml_1;hasRequiredXml=1;function k(m){const M=m.regex,G=M.concat(/[\p{L}_]/u,M.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),V=/[\p{L}0-9._:-]+/u,q={className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},$={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},D=m.inherit($,{begin:/\(/,end:/\)/}),B=m.inherit(m.APOS_STRING_MODE,{className:"string"}),R=m.inherit(m.QUOTE_STRING_MODE,{className:"string"}),U={endsWithParent:!0,illegal:/`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[$,R,B,D,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[$,D,R,B]}]}]},m.COMMENT(//,{relevance:10}),{begin://,relevance:10},q,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[R]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/)/,end:/>/,keywords:{name:"style"},contains:[U],starts:{end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag",begin:/)/,end:/>/,keywords:{name:"script"},contains:[U],starts:{end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{className:"tag",begin:/<>|<\/>/},{className:"tag",begin:M.concat(//,/>/,/\s/)))),end:/\/?>/,contains:[{className:"name",begin:G,relevance:0,starts:U}]},{className:"tag",begin:M.concat(/<\//,M.lookahead(M.concat(G,/>/))),contains:[{className:"name",begin:G,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}return xml_1=k,xml_1}var asciidoc_1,hasRequiredAsciidoc;function requireAsciidoc(){if(hasRequiredAsciidoc)return asciidoc_1;hasRequiredAsciidoc=1;function k(m){const M=m.regex,G={begin:"^'{3,}[ \\t]*$",relevance:10},V=[{begin:/\\[*_`]/},{begin:/\\\\\*{2}[^\n]*?\*{2}/},{begin:/\\\\_{2}[^\n]*_{2}/},{begin:/\\\\`{2}[^\n]*`{2}/},{begin:/[:;}][*_`](?![*_`])/}],q=[{className:"strong",begin:/\*{2}([^\n]+?)\*{2}/},{className:"strong",begin:M.concat(/\*\*/,/((\*(?!\*)|\\[^\n]|[^*\n\\])+\n)+/,/(\*(?!\*)|\\[^\n]|[^*\n\\])*/,/\*\*/),relevance:0},{className:"strong",begin:/\B\*(\S|\S[^\n]*?\S)\*(?!\w)/},{className:"strong",begin:/\*[^\s]([^\n]+\n)+([^\n]+)\*/}],$=[{className:"emphasis",begin:/_{2}([^\n]+?)_{2}/},{className:"emphasis",begin:M.concat(/__/,/((_(?!_)|\\[^\n]|[^_\n\\])+\n)+/,/(_(?!_)|\\[^\n]|[^_\n\\])*/,/__/),relevance:0},{className:"emphasis",begin:/\b_(\S|\S[^\n]*?\S)_(?!\w)/},{className:"emphasis",begin:/_[^\s]([^\n]+\n)+([^\n]+)_/},{className:"emphasis",begin:"\\B'(?!['\\s])",end:"(\\n{2}|')",contains:[{begin:"\\\\'\\w",relevance:0}],relevance:0}],D={className:"symbol",begin:"^(NOTE|TIP|IMPORTANT|WARNING|CAUTION):\\s+",relevance:10},B={className:"bullet",begin:"^(\\*+|-+|\\.+|[^\\n]+?::)\\s+"};return{name:"AsciiDoc",aliases:["adoc"],contains:[m.COMMENT("^/{4,}\\n","\\n/{4,}$",{relevance:10}),m.COMMENT("^//","$",{relevance:0}),{className:"title",begin:"^\\.\\w.*$"},{begin:"^[=\\*]{4,}\\n",end:"\\n^[=\\*]{4,}$",relevance:10},{className:"section",relevance:10,variants:[{begin:"^(={1,6})[ ].+?([ ]\\1)?$"},{begin:"^[^\\[\\]\\n]+?\\n[=\\-~\\^\\+]{2,}$"}]},{className:"meta",begin:"^:.+?:",end:"\\s",excludeEnd:!0,relevance:10},{className:"meta",begin:"^\\[.+?\\]$",relevance:0},{className:"quote",begin:"^_{4,}\\n",end:"\\n_{4,}$",relevance:10},{className:"code",begin:"^[\\-\\.]{4,}\\n",end:"\\n[\\-\\.]{4,}$",relevance:10},{begin:"^\\+{4,}\\n",end:"\\n\\+{4,}$",contains:[{begin:"<",end:">",subLanguage:"xml",relevance:0}],relevance:10},B,D,...V,...q,...$,{className:"string",variants:[{begin:"``.+?''"},{begin:"`.+?'"}]},{className:"code",begin:/`{2}/,end:/(\n{2}|`{2})/},{className:"code",begin:"(`.+?`|\\+.+?\\+)",relevance:0},{className:"code",begin:"^[ \\t]",end:"$",relevance:0},G,{begin:"(link:)?(http|https|ftp|file|irc|image:?):\\S+?\\[[^[]*?\\]",returnBegin:!0,contains:[{begin:"(link|image:?):",relevance:0},{className:"link",begin:"\\w",end:"[^\\[]+",relevance:0},{className:"string",begin:"\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0,relevance:0}],relevance:10}]}}return asciidoc_1=k,asciidoc_1}var aspectj_1,hasRequiredAspectj;function requireAspectj(){if(hasRequiredAspectj)return aspectj_1;hasRequiredAspectj=1;function k(m){const M=m.regex,G=["false","synchronized","int","abstract","float","private","char","boolean","static","null","if","const","for","true","while","long","throw","strictfp","finally","protected","import","native","final","return","void","enum","else","extends","implements","break","transient","new","catch","instanceof","byte","super","volatile","case","assert","short","package","default","double","public","try","this","switch","continue","throws","privileged","aspectOf","adviceexecution","proceed","cflowbelow","cflow","initialization","preinitialization","staticinitialization","withincode","target","within","execution","getWithinTypeName","handler","thisJoinPoint","thisJoinPointStaticPart","thisEnclosingJoinPointStaticPart","declare","parents","warning","error","soft","precedence","thisAspectInstance"],V=["get","set","args","call"];return{name:"AspectJ",keywords:G,illegal:/<\/|#/,contains:[m.COMMENT(/\/\*\*/,/\*\//,{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:/@[A-Za-z]+/}]}),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{className:"class",beginKeywords:"aspect",end:/[{;=]/,excludeEnd:!0,illegal:/[:;"\[\]]/,contains:[{beginKeywords:"extends implements pertypewithin perthis pertarget percflowbelow percflow issingleton"},m.UNDERSCORE_TITLE_MODE,{begin:/\([^\)]*/,end:/[)]+/,keywords:G.concat(V),excludeEnd:!1}]},{className:"class",beginKeywords:"class interface",end:/[{;=]/,excludeEnd:!0,relevance:0,keywords:"class interface",illegal:/[:"\[\]]/,contains:[{beginKeywords:"extends implements"},m.UNDERSCORE_TITLE_MODE]},{beginKeywords:"pointcut after before around throwing returning",end:/[)]/,excludeEnd:!1,illegal:/["\[\]]/,contains:[{begin:M.concat(m.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,contains:[m.UNDERSCORE_TITLE_MODE]}]},{begin:/[:]/,returnBegin:!0,end:/[{;]/,relevance:0,excludeEnd:!1,keywords:G,illegal:/["\[\]]/,contains:[{begin:M.concat(m.UNDERSCORE_IDENT_RE,/\s*\(/),keywords:G.concat(V),relevance:0},m.QUOTE_STRING_MODE]},{beginKeywords:"new throw",relevance:0},{className:"function",begin:/\w+ +\w+(\.\w+)?\s*\([^\)]*\)\s*((throws)[\w\s,]+)?[\{;]/,returnBegin:!0,end:/[{;=]/,keywords:G,excludeEnd:!0,contains:[{begin:M.concat(m.UNDERSCORE_IDENT_RE,/\s*\(/),returnBegin:!0,relevance:0,contains:[m.UNDERSCORE_TITLE_MODE]},{className:"params",begin:/\(/,end:/\)/,relevance:0,keywords:G,contains:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},m.C_NUMBER_MODE,{className:"meta",begin:/@[A-Za-z]+/}]}}return aspectj_1=k,aspectj_1}var autohotkey_1,hasRequiredAutohotkey;function requireAutohotkey(){if(hasRequiredAutohotkey)return autohotkey_1;hasRequiredAutohotkey=1;function k(m){const M={begin:"`[\\s\\S]"};return{name:"AutoHotkey",case_insensitive:!0,aliases:["ahk"],keywords:{keyword:"Break Continue Critical Exit ExitApp Gosub Goto New OnExit Pause return SetBatchLines SetTimer Suspend Thread Throw Until ahk_id ahk_class ahk_pid ahk_exe ahk_group",literal:"true false NOT AND OR",built_in:"ComSpec Clipboard ClipboardAll ErrorLevel"},contains:[M,m.inherit(m.QUOTE_STRING_MODE,{contains:[M]}),m.COMMENT(";","$",{relevance:0}),m.C_BLOCK_COMMENT_MODE,{className:"number",begin:m.NUMBER_RE,relevance:0},{className:"variable",begin:"%[a-zA-Z0-9#_$@]+%"},{className:"built_in",begin:"^\\s*\\w+\\s*(,|%)"},{className:"title",variants:[{begin:'^[^\\n";]+::(?!=)'},{begin:'^[^\\n";]+:(?!=)',relevance:0}]},{className:"meta",begin:"^\\s*#\\w+",end:"$",relevance:0},{className:"built_in",begin:"A_[a-zA-Z0-9]+"},{begin:",\\s*,"}]}}return autohotkey_1=k,autohotkey_1}var autoit_1,hasRequiredAutoit;function requireAutoit(){if(hasRequiredAutoit)return autoit_1;hasRequiredAutoit=1;function k(m){const M="ByRef Case Const ContinueCase ContinueLoop Dim Do Else ElseIf EndFunc EndIf EndSelect EndSwitch EndWith Enum Exit ExitLoop For Func Global If In Local Next ReDim Return Select Static Step Switch Then To Until Volatile WEnd While With",G=["EndRegion","forcedef","forceref","ignorefunc","include","include-once","NoTrayIcon","OnAutoItStartRegister","pragma","Region","RequireAdmin","Tidy_Off","Tidy_On","Tidy_Parameters"],V="True False And Null Not Or Default",q="Abs ACos AdlibRegister AdlibUnRegister Asc AscW ASin Assign ATan AutoItSetOption AutoItWinGetTitle AutoItWinSetTitle Beep Binary BinaryLen BinaryMid BinaryToString BitAND BitNOT BitOR BitRotate BitShift BitXOR BlockInput Break Call CDTray Ceiling Chr ChrW ClipGet ClipPut ConsoleRead ConsoleWrite ConsoleWriteError ControlClick ControlCommand ControlDisable ControlEnable ControlFocus ControlGetFocus ControlGetHandle ControlGetPos ControlGetText ControlHide ControlListView ControlMove ControlSend ControlSetText ControlShow ControlTreeView Cos Dec DirCopy DirCreate DirGetSize DirMove DirRemove DllCall DllCallAddress DllCallbackFree DllCallbackGetPtr DllCallbackRegister DllClose DllOpen DllStructCreate DllStructGetData DllStructGetPtr DllStructGetSize DllStructSetData DriveGetDrive DriveGetFileSystem DriveGetLabel DriveGetSerial DriveGetType DriveMapAdd DriveMapDel DriveMapGet DriveSetLabel DriveSpaceFree DriveSpaceTotal DriveStatus EnvGet EnvSet EnvUpdate Eval Execute Exp FileChangeDir FileClose FileCopy FileCreateNTFSLink FileCreateShortcut FileDelete FileExists FileFindFirstFile FileFindNextFile FileFlush FileGetAttrib FileGetEncoding FileGetLongName FileGetPos FileGetShortcut FileGetShortName FileGetSize FileGetTime FileGetVersion FileInstall FileMove FileOpen FileOpenDialog FileRead FileReadLine FileReadToArray FileRecycle FileRecycleEmpty FileSaveDialog FileSelectFolder FileSetAttrib FileSetEnd FileSetPos FileSetTime FileWrite FileWriteLine Floor FtpSetProxy FuncName GUICreate GUICtrlCreateAvi GUICtrlCreateButton GUICtrlCreateCheckbox GUICtrlCreateCombo GUICtrlCreateContextMenu GUICtrlCreateDate GUICtrlCreateDummy GUICtrlCreateEdit GUICtrlCreateGraphic GUICtrlCreateGroup GUICtrlCreateIcon GUICtrlCreateInput GUICtrlCreateLabel GUICtrlCreateList GUICtrlCreateListView GUICtrlCreateListViewItem GUICtrlCreateMenu GUICtrlCreateMenuItem GUICtrlCreateMonthCal GUICtrlCreateObj GUICtrlCreatePic GUICtrlCreateProgress GUICtrlCreateRadio GUICtrlCreateSlider GUICtrlCreateTab GUICtrlCreateTabItem GUICtrlCreateTreeView GUICtrlCreateTreeViewItem GUICtrlCreateUpdown GUICtrlDelete GUICtrlGetHandle GUICtrlGetState GUICtrlRead GUICtrlRecvMsg GUICtrlRegisterListViewSort GUICtrlSendMsg GUICtrlSendToDummy GUICtrlSetBkColor GUICtrlSetColor GUICtrlSetCursor GUICtrlSetData GUICtrlSetDefBkColor GUICtrlSetDefColor GUICtrlSetFont GUICtrlSetGraphic GUICtrlSetImage GUICtrlSetLimit GUICtrlSetOnEvent GUICtrlSetPos GUICtrlSetResizing GUICtrlSetState GUICtrlSetStyle GUICtrlSetTip GUIDelete GUIGetCursorInfo GUIGetMsg GUIGetStyle GUIRegisterMsg GUISetAccelerators GUISetBkColor GUISetCoord GUISetCursor GUISetFont GUISetHelp GUISetIcon GUISetOnEvent GUISetState GUISetStyle GUIStartGroup GUISwitch Hex HotKeySet HttpSetProxy HttpSetUserAgent HWnd InetClose InetGet InetGetInfo InetGetSize InetRead IniDelete IniRead IniReadSection IniReadSectionNames IniRenameSection IniWrite IniWriteSection InputBox Int IsAdmin IsArray IsBinary IsBool IsDeclared IsDllStruct IsFloat IsFunc IsHWnd IsInt IsKeyword IsNumber IsObj IsPtr IsString Log MemGetStats Mod MouseClick MouseClickDrag MouseDown MouseGetCursor MouseGetPos MouseMove MouseUp MouseWheel MsgBox Number ObjCreate ObjCreateInterface ObjEvent ObjGet ObjName OnAutoItExitRegister OnAutoItExitUnRegister Ping PixelChecksum PixelGetColor PixelSearch ProcessClose ProcessExists ProcessGetStats ProcessList ProcessSetPriority ProcessWait ProcessWaitClose ProgressOff ProgressOn ProgressSet Ptr Random RegDelete RegEnumKey RegEnumVal RegRead RegWrite Round Run RunAs RunAsWait RunWait Send SendKeepActive SetError SetExtended ShellExecute ShellExecuteWait Shutdown Sin Sleep SoundPlay SoundSetWaveVolume SplashImageOn SplashOff SplashTextOn Sqrt SRandom StatusbarGetText StderrRead StdinWrite StdioClose StdoutRead String StringAddCR StringCompare StringFormat StringFromASCIIArray StringInStr StringIsAlNum StringIsAlpha StringIsASCII StringIsDigit StringIsFloat StringIsInt StringIsLower StringIsSpace StringIsUpper StringIsXDigit StringLeft StringLen StringLower StringMid StringRegExp StringRegExpReplace StringReplace StringReverse StringRight StringSplit StringStripCR StringStripWS StringToASCIIArray StringToBinary StringTrimLeft StringTrimRight StringUpper Tan TCPAccept TCPCloseSocket TCPConnect TCPListen TCPNameToIP TCPRecv TCPSend TCPShutdown, UDPShutdown TCPStartup, UDPStartup TimerDiff TimerInit ToolTip TrayCreateItem TrayCreateMenu TrayGetMsg TrayItemDelete TrayItemGetHandle TrayItemGetState TrayItemGetText TrayItemSetOnEvent TrayItemSetState TrayItemSetText TraySetClick TraySetIcon TraySetOnEvent TraySetPauseIcon TraySetState TraySetToolTip TrayTip UBound UDPBind UDPCloseSocket UDPOpen UDPRecv UDPSend VarGetType WinActivate WinActive WinClose WinExists WinFlash WinGetCaretPos WinGetClassList WinGetClientSize WinGetHandle WinGetPos WinGetProcess WinGetState WinGetText WinGetTitle WinKill WinList WinMenuSelectItem WinMinimizeAll WinMinimizeAllUndo WinMove WinSetOnTop WinSetState WinSetTitle WinSetTrans WinWait WinWaitActive WinWaitClose WinWaitNotActive",$={variants:[m.COMMENT(";","$",{relevance:0}),m.COMMENT("#cs","#ce"),m.COMMENT("#comments-start","#comments-end")]},D={begin:"\\$[A-z0-9_]+"},B={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},R={variants:[m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE]},U={className:"meta",begin:"#",end:"$",keywords:{keyword:G},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",keywords:{keyword:"include"},end:"$",contains:[B,{className:"string",variants:[{begin:"<",end:">"},{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]}]},B,$]},K={className:"symbol",begin:"@[A-z0-9_]+"},z={beginKeywords:"Func",end:"$",illegal:"\\$|\\[|%",contains:[m.inherit(m.UNDERSCORE_TITLE_MODE,{className:"title.function"}),{className:"params",begin:"\\(",end:"\\)",contains:[D,B,R]}]};return{name:"AutoIt",case_insensitive:!0,illegal:/\/\*/,keywords:{keyword:M,built_in:q,literal:V},contains:[$,D,B,R,U,K,z]}}return autoit_1=k,autoit_1}var avrasm_1,hasRequiredAvrasm;function requireAvrasm(){if(hasRequiredAvrasm)return avrasm_1;hasRequiredAvrasm=1;function k(m){return{name:"AVR Assembly",case_insensitive:!0,keywords:{$pattern:"\\.?"+m.IDENT_RE,keyword:"adc add adiw and andi asr bclr bld brbc brbs brcc brcs break breq brge brhc brhs brid brie brlo brlt brmi brne brpl brsh brtc brts brvc brvs bset bst call cbi cbr clc clh cli cln clr cls clt clv clz com cp cpc cpi cpse dec eicall eijmp elpm eor fmul fmuls fmulsu icall ijmp in inc jmp ld ldd ldi lds lpm lsl lsr mov movw mul muls mulsu neg nop or ori out pop push rcall ret reti rjmp rol ror sbc sbr sbrc sbrs sec seh sbi sbci sbic sbis sbiw sei sen ser ses set sev sez sleep spm st std sts sub subi swap tst wdr",built_in:"r0 r1 r2 r3 r4 r5 r6 r7 r8 r9 r10 r11 r12 r13 r14 r15 r16 r17 r18 r19 r20 r21 r22 r23 r24 r25 r26 r27 r28 r29 r30 r31 x|0 xh xl y|0 yh yl z|0 zh zl ucsr1c udr1 ucsr1a ucsr1b ubrr1l ubrr1h ucsr0c ubrr0h tccr3c tccr3a tccr3b tcnt3h tcnt3l ocr3ah ocr3al ocr3bh ocr3bl ocr3ch ocr3cl icr3h icr3l etimsk etifr tccr1c ocr1ch ocr1cl twcr twdr twar twsr twbr osccal xmcra xmcrb eicra spmcsr spmcr portg ddrg ping portf ddrf sreg sph spl xdiv rampz eicrb eimsk gimsk gicr eifr gifr timsk tifr mcucr mcucsr tccr0 tcnt0 ocr0 assr tccr1a tccr1b tcnt1h tcnt1l ocr1ah ocr1al ocr1bh ocr1bl icr1h icr1l tccr2 tcnt2 ocr2 ocdr wdtcr sfior eearh eearl eedr eecr porta ddra pina portb ddrb pinb portc ddrc pinc portd ddrd pind spdr spsr spcr udr0 ucsr0a ucsr0b ubrr0l acsr admux adcsr adch adcl porte ddre pine pinf",meta:".byte .cseg .db .def .device .dseg .dw .endmacro .equ .eseg .exit .include .list .listmac .macro .nolist .org .set"},contains:[m.C_BLOCK_COMMENT_MODE,m.COMMENT(";","$",{relevance:0}),m.C_NUMBER_MODE,m.BINARY_NUMBER_MODE,{className:"number",begin:"\\b(\\$[a-zA-Z0-9]+|0o[0-7]+)"},m.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",illegal:"[^\\\\][^']"},{className:"symbol",begin:"^[A-Za-z0-9_.$]+:"},{className:"meta",begin:"#",end:"$"},{className:"subst",begin:"@[0-9]+"}]}}return avrasm_1=k,avrasm_1}var awk_1,hasRequiredAwk;function requireAwk(){if(hasRequiredAwk)return awk_1;hasRequiredAwk=1;function k(m){const M={className:"variable",variants:[{begin:/\$[\w\d#@][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},G="BEGIN END if else while do for in break continue delete next nextfile function func exit|10",V={className:"string",contains:[m.BACKSLASH_ESCAPE],variants:[{begin:/(u|b)?r?'''/,end:/'''/,relevance:10},{begin:/(u|b)?r?"""/,end:/"""/,relevance:10},{begin:/(u|r|ur)'/,end:/'/,relevance:10},{begin:/(u|r|ur)"/,end:/"/,relevance:10},{begin:/(b|br)'/,end:/'/},{begin:/(b|br)"/,end:/"/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]};return{name:"Awk",keywords:{keyword:G},contains:[M,V,m.REGEXP_MODE,m.HASH_COMMENT_MODE,m.NUMBER_MODE]}}return awk_1=k,awk_1}var axapta_1,hasRequiredAxapta;function requireAxapta(){if(hasRequiredAxapta)return axapta_1;hasRequiredAxapta=1;function k(m){const M=m.UNDERSCORE_IDENT_RE,$={keyword:["abstract","as","asc","avg","break","breakpoint","by","byref","case","catch","changecompany","class","client","client","common","const","continue","count","crosscompany","delegate","delete_from","desc","display","div","do","edit","else","eventhandler","exists","extends","final","finally","firstfast","firstonly","firstonly1","firstonly10","firstonly100","firstonly1000","flush","for","forceliterals","forcenestedloop","forceplaceholders","forceselectorder","forupdate","from","generateonly","group","hint","if","implements","in","index","insert_recordset","interface","internal","is","join","like","maxof","minof","mod","namespace","new","next","nofetch","notexists","optimisticlock","order","outer","pessimisticlock","print","private","protected","public","readonly","repeatableread","retry","return","reverse","select","server","setting","static","sum","super","switch","this","throw","try","ttsabort","ttsbegin","ttscommit","unchecked","update_recordset","using","validtimestate","void","where","while"],built_in:["anytype","boolean","byte","char","container","date","double","enum","guid","int","int64","long","real","short","str","utcdatetime","var"],literal:["default","false","null","true"]},D={variants:[{match:[/(class|interface)\s+/,M,/\s+(extends|implements)\s+/,M]},{match:[/class\s+/,M]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:$};return{name:"X++",aliases:["x++"],keywords:$,contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"},D]}}return axapta_1=k,axapta_1}var bash_1,hasRequiredBash;function requireBash(){if(hasRequiredBash)return bash_1;hasRequiredBash=1;function k(m){const M=m.regex,G={},V={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,contains:[G]}]};Object.assign(G,{className:"variable",variants:[{begin:M.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},V]});const q={className:"subst",begin:/\$\(/,end:/\)/,contains:[m.BACKSLASH_ESCAPE]},$={begin:/<<-?\s*(?=\w+)/,starts:{contains:[m.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,className:"string"})]}},D={className:"string",begin:/"/,end:/"/,contains:[m.BACKSLASH_ESCAPE,G,q]};q.contains.push(D);const B={match:/\\"/},R={className:"string",begin:/'/,end:/'/},U={match:/\\'/},K={begin:/\$?\(\(/,end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},m.NUMBER_MODE,G]},z=["fish","bash","zsh","sh","csh","ksh","tcsh","dash","scsh"],e=m.SHEBANG({binary:`(${z.join("|")})`,relevance:10}),ae={className:"function",begin:/\w[\w\d_]*\s*\(\s*\)\s*\{/,returnBegin:!0,contains:[m.inherit(m.TITLE_MODE,{begin:/\w[\w\d_]*/})],relevance:0},ie=["if","then","else","elif","fi","for","while","until","in","do","done","case","esac","function","select"],he=["true","false"],J={match:/(\/[a-z._-]+)+/},W=["break","cd","continue","eval","exec","exit","export","getopts","hash","pwd","readonly","return","shift","test","times","trap","umask","unset"],X=["alias","bind","builtin","caller","command","declare","echo","enable","help","let","local","logout","mapfile","printf","read","readarray","source","type","typeset","ulimit","unalias"],L=["autoload","bg","bindkey","bye","cap","chdir","clone","comparguments","compcall","compctl","compdescribe","compfiles","compgroups","compquote","comptags","comptry","compvalues","dirs","disable","disown","echotc","echoti","emulate","fc","fg","float","functions","getcap","getln","history","integer","jobs","kill","limit","log","noglob","popd","print","pushd","pushln","rehash","sched","setcap","setopt","stat","suspend","ttyctl","unfunction","unhash","unlimit","unsetopt","vared","wait","whence","where","which","zcompile","zformat","zftp","zle","zmodload","zparseopts","zprof","zpty","zregexparse","zsocket","zstyle","ztcp"],Q=["chcon","chgrp","chown","chmod","cp","dd","df","dir","dircolors","ln","ls","mkdir","mkfifo","mknod","mktemp","mv","realpath","rm","rmdir","shred","sync","touch","truncate","vdir","b2sum","base32","base64","cat","cksum","comm","csplit","cut","expand","fmt","fold","head","join","md5sum","nl","numfmt","od","paste","ptx","pr","sha1sum","sha224sum","sha256sum","sha384sum","sha512sum","shuf","sort","split","sum","tac","tail","tr","tsort","unexpand","uniq","wc","arch","basename","chroot","date","dirname","du","echo","env","expr","factor","groups","hostid","id","link","logname","nice","nohup","nproc","pathchk","pinky","printenv","printf","pwd","readlink","runcon","seq","sleep","stat","stdbuf","stty","tee","test","timeout","tty","uname","unlink","uptime","users","who","whoami","yes"];return{name:"Bash",aliases:["sh"],keywords:{$pattern:/\b[a-z][a-z0-9._-]+\b/,keyword:ie,literal:he,built_in:[...W,...X,"set","shopt",...L,...Q]},contains:[e,m.SHEBANG(),ae,K,m.HASH_COMMENT_MODE,$,J,D,B,R,U,G]}}return bash_1=k,bash_1}var basic_1,hasRequiredBasic;function requireBasic(){if(hasRequiredBasic)return basic_1;hasRequiredBasic=1;function k(m){return{name:"BASIC",case_insensitive:!0,illegal:"^.",keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_$%!#]*",keyword:["ABS","ASC","AND","ATN","AUTO|0","BEEP","BLOAD|10","BSAVE|10","CALL","CALLS","CDBL","CHAIN","CHDIR","CHR$|10","CINT","CIRCLE","CLEAR","CLOSE","CLS","COLOR","COM","COMMON","CONT","COS","CSNG","CSRLIN","CVD","CVI","CVS","DATA","DATE$","DEFDBL","DEFINT","DEFSNG","DEFSTR","DEF|0","SEG","USR","DELETE","DIM","DRAW","EDIT","END","ENVIRON","ENVIRON$","EOF","EQV","ERASE","ERDEV","ERDEV$","ERL","ERR","ERROR","EXP","FIELD","FILES","FIX","FOR|0","FRE","GET","GOSUB|10","GOTO","HEX$","IF","THEN","ELSE|0","INKEY$","INP","INPUT","INPUT#","INPUT$","INSTR","IMP","INT","IOCTL","IOCTL$","KEY","ON","OFF","LIST","KILL","LEFT$","LEN","LET","LINE","LLIST","LOAD","LOC","LOCATE","LOF","LOG","LPRINT","USING","LSET","MERGE","MID$","MKDIR","MKD$","MKI$","MKS$","MOD","NAME","NEW","NEXT","NOISE","NOT","OCT$","ON","OR","PEN","PLAY","STRIG","OPEN","OPTION","BASE","OUT","PAINT","PALETTE","PCOPY","PEEK","PMAP","POINT","POKE","POS","PRINT","PRINT]","PSET","PRESET","PUT","RANDOMIZE","READ","REM","RENUM","RESET|0","RESTORE","RESUME","RETURN|0","RIGHT$","RMDIR","RND","RSET","RUN","SAVE","SCREEN","SGN","SHELL","SIN","SOUND","SPACE$","SPC","SQR","STEP","STICK","STOP","STR$","STRING$","SWAP","SYSTEM","TAB","TAN","TIME$","TIMER","TROFF","TRON","TO","USR","VAL","VARPTR","VARPTR$","VIEW","WAIT","WHILE","WEND","WIDTH","WINDOW","WRITE","XOR"]},contains:[m.QUOTE_STRING_MODE,m.COMMENT("REM","$",{relevance:10}),m.COMMENT("'","$",{relevance:0}),{className:"symbol",begin:"^[0-9]+ ",relevance:10},{className:"number",begin:"\\b\\d+(\\.\\d+)?([edED]\\d+)?[#!]?",relevance:0},{className:"number",begin:"(&[hH][0-9a-fA-F]{1,4})"},{className:"number",begin:"(&[oO][0-7]{1,6})"}]}}return basic_1=k,basic_1}var bnf_1,hasRequiredBnf;function requireBnf(){if(hasRequiredBnf)return bnf_1;hasRequiredBnf=1;function k(m){return{name:"Backus–Naur Form",contains:[{className:"attribute",begin://},{begin:/::=/,end:/$/,contains:[{begin://},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]}]}}return bnf_1=k,bnf_1}var brainfuck_1,hasRequiredBrainfuck;function requireBrainfuck(){if(hasRequiredBrainfuck)return brainfuck_1;hasRequiredBrainfuck=1;function k(m){const M={className:"literal",begin:/[+-]+/,relevance:0};return{name:"Brainfuck",aliases:["bf"],contains:[m.COMMENT(/[^\[\]\.,\+\-<> \r\n]/,/[\[\]\.,\+\-<> \r\n]/,{contains:[{match:/[ ]+[^\[\]\.,\+\-<> \r\n]/,relevance:0}],returnEnd:!0,relevance:0}),{className:"title",begin:"[\\[\\]]",relevance:0},{className:"string",begin:"[\\.,]",relevance:0},{begin:/(?=\+\+|--)/,contains:[M]},M]}}return brainfuck_1=k,brainfuck_1}var c_1,hasRequiredC;function requireC(){if(hasRequiredC)return c_1;hasRequiredC=1;function k(m){const M=m.regex,G=m.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),V="decltype\\(auto\\)",q="[a-zA-Z_]\\w*::",$="<[^<>]+>",D="("+V+"|"+M.optional(q)+"[a-zA-Z_]\\w*"+M.optional($)+")",B={className:"type",variants:[{begin:"\\b[a-z\\d_]*_t\\b"},{match:/\batomic_[a-z]{3,6}\b/}]},R="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",U={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+R+"|.)",end:"'",illegal:"."},m.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},K={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},z={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},m.inherit(U,{className:"string"}),{className:"string",begin:/<.*?>/},G,m.C_BLOCK_COMMENT_MODE]},e={className:"title",begin:M.optional(q)+m.IDENT_RE,relevance:0},ae=M.optional(q)+m.IDENT_RE+"\\s*\\(",J={keyword:["asm","auto","break","case","continue","default","do","else","enum","extern","for","fortran","goto","if","inline","register","restrict","return","sizeof","struct","switch","typedef","union","volatile","while","_Alignas","_Alignof","_Atomic","_Generic","_Noreturn","_Static_assert","_Thread_local","alignas","alignof","noreturn","static_assert","thread_local","_Pragma"],type:["float","double","signed","unsigned","int","short","long","char","void","_Bool","_Complex","_Imaginary","_Decimal32","_Decimal64","_Decimal128","const","static","complex","bool","imaginary"],literal:"true false NULL",built_in:"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr"},W=[z,B,G,m.C_BLOCK_COMMENT_MODE,K,U],X={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:J,contains:W.concat([{begin:/\(/,end:/\)/,keywords:J,contains:W.concat(["self"]),relevance:0}]),relevance:0},L={begin:"("+D+"[\\*&\\s]+)+"+ae,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:J,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:V,keywords:J,relevance:0},{begin:ae,returnBegin:!0,contains:[m.inherit(e,{className:"title.function"})],relevance:0},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:[G,m.C_BLOCK_COMMENT_MODE,U,K,B,{begin:/\(/,end:/\)/,keywords:J,relevance:0,contains:["self",G,m.C_BLOCK_COMMENT_MODE,U,K,B]}]},B,G,m.C_BLOCK_COMMENT_MODE,z]};return{name:"C",aliases:["h"],keywords:J,disableAutodetect:!0,illegal:"=]/,contains:[{beginKeywords:"final class struct"},m.TITLE_MODE]}]),exports:{preprocessor:z,strings:U,keywords:J}}}return c_1=k,c_1}var cal_1,hasRequiredCal;function requireCal(){if(hasRequiredCal)return cal_1;hasRequiredCal=1;function k(m){const M=m.regex,G=["div","mod","in","and","or","not","xor","asserterror","begin","case","do","downto","else","end","exit","for","local","if","of","repeat","then","to","until","while","with","var"],V="false true",q=[m.C_LINE_COMMENT_MODE,m.COMMENT(/\{/,/\}/,{relevance:0}),m.COMMENT(/\(\*/,/\*\)/,{relevance:10})],$={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},D={className:"string",begin:/(#\d+)+/},B={className:"number",begin:"\\b\\d+(\\.\\d+)?(DT|D|T)",relevance:0},R={className:"string",begin:'"',end:'"'},U={match:[/procedure/,/\s+/,/[a-zA-Z_][\w@]*/,/\s*/],scope:{1:"keyword",3:"title.function"},contains:[{className:"params",begin:/\(/,end:/\)/,keywords:G,contains:[$,D,m.NUMBER_MODE]},...q]},K=["Table","Form","Report","Dataport","Codeunit","XMLport","MenuSuite","Page","Query"],z={match:[/OBJECT/,/\s+/,M.either(...K),/\s+/,/\d+/,/\s+(?=[^\s])/,/.*/,/$/],relevance:3,scope:{1:"keyword",3:"type",5:"number",7:"title"}};return{name:"C/AL",case_insensitive:!0,keywords:{keyword:G,literal:V},illegal:/\/\*/,contains:[{match:/[\w]+(?=\=)/,scope:"attribute",relevance:0},$,D,B,R,m.NUMBER_MODE,z,U]}}return cal_1=k,cal_1}var capnproto_1,hasRequiredCapnproto;function requireCapnproto(){if(hasRequiredCapnproto)return capnproto_1;hasRequiredCapnproto=1;function k(m){const M=["struct","enum","interface","union","group","import","using","const","annotation","extends","in","of","on","as","with","from","fixed"],G=["Void","Bool","Int8","Int16","Int32","Int64","UInt8","UInt16","UInt32","UInt64","Float32","Float64","Text","Data","AnyPointer","AnyStruct","Capability","List"],V=["true","false"],q={variants:[{match:[/(struct|enum|interface)/,/\s+/,m.IDENT_RE]},{match:[/extends/,/\s*\(/,m.IDENT_RE,/\s*\)/]}],scope:{1:"keyword",3:"title.class"}};return{name:"Cap’n Proto",aliases:["capnp"],keywords:{keyword:M,type:G,literal:V},contains:[m.QUOTE_STRING_MODE,m.NUMBER_MODE,m.HASH_COMMENT_MODE,{className:"meta",begin:/@0x[\w\d]{16};/,illegal:/\n/},{className:"symbol",begin:/@\d+\b/},q]}}return capnproto_1=k,capnproto_1}var ceylon_1,hasRequiredCeylon;function requireCeylon(){if(hasRequiredCeylon)return ceylon_1;hasRequiredCeylon=1;function k(m){const M=["assembly","module","package","import","alias","class","interface","object","given","value","assign","void","function","new","of","extends","satisfies","abstracts","in","out","return","break","continue","throw","assert","dynamic","if","else","switch","case","for","while","try","catch","finally","then","let","this","outer","super","is","exists","nonempty"],G=["shared","abstract","formal","default","actual","variable","late","native","deprecated","final","sealed","annotation","suppressWarnings","small"],V=["doc","by","license","see","throws","tagged"],q={className:"subst",excludeBegin:!0,excludeEnd:!0,begin:/``/,end:/``/,keywords:M,relevance:10},$=[{className:"string",begin:'"""',end:'"""',relevance:10},{className:"string",begin:'"',end:'"',contains:[q]},{className:"string",begin:"'",end:"'"},{className:"number",begin:"#[0-9a-fA-F_]+|\\$[01_]+|[0-9_]+(?:\\.[0-9_](?:[eE][+-]?\\d+)?)?[kMGTPmunpf]?",relevance:0}];return q.contains=$,{name:"Ceylon",keywords:{keyword:M.concat(G),meta:V},illegal:"\\$[^01]|#[^0-9a-fA-F]",contains:[m.C_LINE_COMMENT_MODE,m.COMMENT("/\\*","\\*/",{contains:["self"]}),{className:"meta",begin:'@[a-z]\\w*(?::"[^"]*")?'}].concat($)}}return ceylon_1=k,ceylon_1}var clean_1,hasRequiredClean;function requireClean(){if(hasRequiredClean)return clean_1;hasRequiredClean=1;function k(m){return{name:"Clean",aliases:["icl","dcl"],keywords:{keyword:["if","let","in","with","where","case","of","class","instance","otherwise","implementation","definition","system","module","from","import","qualified","as","special","code","inline","foreign","export","ccall","stdcall","generic","derive","infix","infixl","infixr"],built_in:"Int Real Char Bool",literal:"True False"},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE,{begin:"->|<-[|:]?|#!?|>>=|\\{\\||\\|\\}|:==|=:|<>"}]}}return clean_1=k,clean_1}var clojure_1,hasRequiredClojure;function requireClojure(){if(hasRequiredClojure)return clojure_1;hasRequiredClojure=1;function k(m){const M="a-zA-Z_\\-!.?+*=<>&'",G="[#]?["+M+"]["+M+"0-9/;:$#]*",V="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",q={$pattern:G,built_in:V+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"},$={begin:G,relevance:0},D={scope:"number",relevance:0,variants:[{match:/[-+]?0[xX][0-9a-fA-F]+N?/},{match:/[-+]?0[0-7]+N?/},{match:/[-+]?[1-9][0-9]?[rR][0-9a-zA-Z]+N?/},{match:/[-+]?[0-9]+\/[0-9]+N?/},{match:/[-+]?[0-9]+((\.[0-9]*([eE][+-]?[0-9]+)?M?)|([eE][+-]?[0-9]+M?|M))/},{match:/[-+]?([1-9][0-9]*|0)N?/}]},B={scope:"character",variants:[{match:/\\o[0-3]?[0-7]{1,2}/},{match:/\\u[0-9a-fA-F]{4}/},{match:/\\(newline|space|tab|formfeed|backspace|return)/},{match:/\\\S/,relevance:0}]},R={scope:"regex",begin:/#"/,end:/"/,contains:[m.BACKSLASH_ESCAPE]},U=m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),K={scope:"punctuation",match:/,/,relevance:0},z=m.COMMENT(";","$",{relevance:0}),e={className:"literal",begin:/\b(true|false|nil)\b/},ae={begin:"\\[|(#::?"+G+")?\\{",end:"[\\]\\}]",relevance:0},ie={className:"symbol",begin:"[:]{1,2}"+G},he={begin:"\\(",end:"\\)"},J={endsWithParent:!0,relevance:0},W={keywords:q,className:"name",begin:G,relevance:0,starts:J},X=[K,he,B,R,U,z,ie,ae,D,e,$],L={beginKeywords:V,keywords:{$pattern:G,keyword:V},end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:G,relevance:0,excludeEnd:!0,endsParent:!0}].concat(X)};return he.contains=[L,W,J],J.contains=X,ae.contains=X,{name:"Clojure",aliases:["clj","edn"],illegal:/\S/,contains:[K,he,B,R,U,z,ie,ae,D,e]}}return clojure_1=k,clojure_1}var clojureRepl_1,hasRequiredClojureRepl;function requireClojureRepl(){if(hasRequiredClojureRepl)return clojureRepl_1;hasRequiredClojureRepl=1;function k(m){return{name:"Clojure REPL",contains:[{className:"meta.prompt",begin:/^([\w.-]+|\s*#_)?=>/,starts:{end:/$/,subLanguage:"clojure"}}]}}return clojureRepl_1=k,clojureRepl_1}var cmake_1,hasRequiredCmake;function requireCmake(){if(hasRequiredCmake)return cmake_1;hasRequiredCmake=1;function k(m){return{name:"CMake",aliases:["cmake.in"],case_insensitive:!0,keywords:{keyword:"break cmake_host_system_information cmake_minimum_required cmake_parse_arguments cmake_policy configure_file continue elseif else endforeach endfunction endif endmacro endwhile execute_process file find_file find_library find_package find_path find_program foreach function get_cmake_property get_directory_property get_filename_component get_property if include include_guard list macro mark_as_advanced math message option return separate_arguments set_directory_properties set_property set site_name string unset variable_watch while add_compile_definitions add_compile_options add_custom_command add_custom_target add_definitions add_dependencies add_executable add_library add_link_options add_subdirectory add_test aux_source_directory build_command create_test_sourcelist define_property enable_language enable_testing export fltk_wrap_ui get_source_file_property get_target_property get_test_property include_directories include_external_msproject include_regular_expression install link_directories link_libraries load_cache project qt_wrap_cpp qt_wrap_ui remove_definitions set_source_files_properties set_target_properties set_tests_properties source_group target_compile_definitions target_compile_features target_compile_options target_include_directories target_link_directories target_link_libraries target_link_options target_sources try_compile try_run ctest_build ctest_configure ctest_coverage ctest_empty_binary_directory ctest_memcheck ctest_read_custom_files ctest_run_script ctest_sleep ctest_start ctest_submit ctest_test ctest_update ctest_upload build_name exec_program export_library_dependencies install_files install_programs install_targets load_command make_directory output_required_files remove subdir_depends subdirs use_mangled_mesa utility_source variable_requires write_file qt5_use_modules qt5_use_package qt5_wrap_cpp on off true false and or not command policy target test exists is_newer_than is_directory is_symlink is_absolute matches less greater equal less_equal greater_equal strless strgreater strequal strless_equal strgreater_equal version_less version_greater version_equal version_less_equal version_greater_equal in_list defined"},contains:[{className:"variable",begin:/\$\{/,end:/\}/},m.COMMENT(/#\[\[/,/]]/),m.HASH_COMMENT_MODE,m.QUOTE_STRING_MODE,m.NUMBER_MODE]}}return cmake_1=k,cmake_1}var coffeescript_1,hasRequiredCoffeescript;function requireCoffeescript(){if(hasRequiredCoffeescript)return coffeescript_1;hasRequiredCoffeescript=1;const k=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m=["true","false","null","undefined","NaN","Infinity"],M=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],G=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],V=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],q=[].concat(V,M,G);function $(D){const B=["npm","print"],R=["yes","no","on","off"],U=["then","unless","until","loop","by","when","and","or","is","isnt","not"],K=["var","const","let","function","static"],z=Q=>ce=>!Q.includes(ce),e={keyword:k.concat(U).filter(z(K)),literal:m.concat(R),built_in:q.concat(B)},ae="[A-Za-z$_][0-9A-Za-z$_]*",ie={className:"subst",begin:/#\{/,end:/\}/,keywords:e},he=[D.BINARY_NUMBER_MODE,D.inherit(D.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[D.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[D.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[D.BACKSLASH_ESCAPE,ie]},{begin:/"/,end:/"/,contains:[D.BACKSLASH_ESCAPE,ie]}]},{className:"regexp",variants:[{begin:"///",end:"///",contains:[ie,D.HASH_COMMENT_MODE]},{begin:"//[gim]{0,3}(?=\\W)",relevance:0},{begin:/\/(?![ *]).*?(?![\\]).\/[gim]{0,3}(?=\W)/}]},{begin:"@"+ae},{subLanguage:"javascript",excludeBegin:!0,excludeEnd:!0,variants:[{begin:"```",end:"```"},{begin:"`",end:"`"}]}];ie.contains=he;const J=D.inherit(D.TITLE_MODE,{begin:ae}),W="(\\(.*\\)\\s*)?\\B[-=]>",X={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:e,contains:["self"].concat(he)}]},L={variants:[{match:[/class\s+/,ae,/\s+extends\s+/,ae]},{match:[/class\s+/,ae]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:e};return{name:"CoffeeScript",aliases:["coffee","cson","iced"],keywords:e,illegal:/\/\*/,contains:[...he,D.COMMENT("###","###"),D.HASH_COMMENT_MODE,{className:"function",begin:"^\\s*"+ae+"\\s*=\\s*"+W,end:"[-=]>",returnBegin:!0,contains:[J,X]},{begin:/[:\(,=]\s*/,relevance:0,contains:[{className:"function",begin:W,end:"[-=]>",returnBegin:!0,contains:[X]}]},L,{begin:ae+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}]}}return coffeescript_1=$,coffeescript_1}var coq_1,hasRequiredCoq;function requireCoq(){if(hasRequiredCoq)return coq_1;hasRequiredCoq=1;function k(m){return{name:"Coq",keywords:{keyword:["_|0","as","at","cofix","else","end","exists","exists2","fix","for","forall","fun","if","IF","in","let","match","mod","Prop","return","Set","then","Type","using","where","with","Abort","About","Add","Admit","Admitted","All","Arguments","Assumptions","Axiom","Back","BackTo","Backtrack","Bind","Blacklist","Canonical","Cd","Check","Class","Classes","Close","Coercion","Coercions","CoFixpoint","CoInductive","Collection","Combined","Compute","Conjecture","Conjectures","Constant","constr","Constraint","Constructors","Context","Corollary","CreateHintDb","Cut","Declare","Defined","Definition","Delimit","Dependencies","Dependent","Derive","Drop","eauto","End","Equality","Eval","Example","Existential","Existentials","Existing","Export","exporting","Extern","Extract","Extraction","Fact","Field","Fields","File","Fixpoint","Focus","for","From","Function","Functional","Generalizable","Global","Goal","Grab","Grammar","Graph","Guarded","Heap","Hint","HintDb","Hints","Hypotheses","Hypothesis","ident","Identity","If","Immediate","Implicit","Import","Include","Inductive","Infix","Info","Initial","Inline","Inspect","Instance","Instances","Intro","Intros","Inversion","Inversion_clear","Language","Left","Lemma","Let","Libraries","Library","Load","LoadPath","Local","Locate","Ltac","ML","Mode","Module","Modules","Monomorphic","Morphism","Next","NoInline","Notation","Obligation","Obligations","Opaque","Open","Optimize","Options","Parameter","Parameters","Parametric","Path","Paths","pattern","Polymorphic","Preterm","Print","Printing","Program","Projections","Proof","Proposition","Pwd","Qed","Quit","Rec","Record","Recursive","Redirect","Relation","Remark","Remove","Require","Reserved","Reset","Resolve","Restart","Rewrite","Right","Ring","Rings","Save","Scheme","Scope","Scopes","Script","Search","SearchAbout","SearchHead","SearchPattern","SearchRewrite","Section","Separate","Set","Setoid","Show","Solve","Sorted","Step","Strategies","Strategy","Structure","SubClass","Table","Tables","Tactic","Term","Test","Theorem","Time","Timeout","Transparent","Type","Typeclasses","Types","Undelimit","Undo","Unfocus","Unfocused","Unfold","Universe","Universes","Unset","Unshelve","using","Variable","Variables","Variant","Verbose","Visibility","where","with"],built_in:["abstract","absurd","admit","after","apply","as","assert","assumption","at","auto","autorewrite","autounfold","before","bottom","btauto","by","case","case_eq","cbn","cbv","change","classical_left","classical_right","clear","clearbody","cofix","compare","compute","congruence","constr_eq","constructor","contradict","contradiction","cut","cutrewrite","cycle","decide","decompose","dependent","destruct","destruction","dintuition","discriminate","discrR","do","double","dtauto","eapply","eassumption","eauto","ecase","econstructor","edestruct","ediscriminate","eelim","eexact","eexists","einduction","einjection","eleft","elim","elimtype","enough","equality","erewrite","eright","esimplify_eq","esplit","evar","exact","exactly_once","exfalso","exists","f_equal","fail","field","field_simplify","field_simplify_eq","first","firstorder","fix","fold","fourier","functional","generalize","generalizing","gfail","give_up","has_evar","hnf","idtac","in","induction","injection","instantiate","intro","intro_pattern","intros","intuition","inversion","inversion_clear","is_evar","is_var","lapply","lazy","left","lia","lra","move","native_compute","nia","nsatz","omega","once","pattern","pose","progress","proof","psatz","quote","record","red","refine","reflexivity","remember","rename","repeat","replace","revert","revgoals","rewrite","rewrite_strat","right","ring","ring_simplify","rtauto","set","setoid_reflexivity","setoid_replace","setoid_rewrite","setoid_symmetry","setoid_transitivity","shelve","shelve_unifiable","simpl","simple","simplify_eq","solve","specialize","split","split_Rabs","split_Rmult","stepl","stepr","subst","sum","swap","symmetry","tactic","tauto","time","timeout","top","transitivity","trivial","try","tryif","unfold","unify","until","using","vm_compute","with"]},contains:[m.QUOTE_STRING_MODE,m.COMMENT("\\(\\*","\\*\\)"),m.C_NUMBER_MODE,{className:"type",excludeBegin:!0,begin:"\\|\\s*",end:"\\w+"},{begin:/[-=]>/}]}}return coq_1=k,coq_1}var cos_1,hasRequiredCos;function requireCos(){if(hasRequiredCos)return cos_1;hasRequiredCos=1;function k(m){return{name:"Caché Object Script",case_insensitive:!0,aliases:["cls"],keywords:"property parameter class classmethod clientmethod extends as break catch close continue do d|0 else elseif for goto halt hang h|0 if job j|0 kill k|0 lock l|0 merge new open quit q|0 read r|0 return set s|0 tcommit throw trollback try tstart use view while write w|0 xecute x|0 zkill znspace zn ztrap zwrite zw zzdump zzwrite print zbreak zinsert zload zprint zremove zsave zzprint mv mvcall mvcrt mvdim mvprint zquit zsync ascii",contains:[{className:"number",begin:"\\b(\\d+(\\.\\d*)?|\\.\\d+)",relevance:0},{className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]}]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"comment",begin:/;/,end:"$",relevance:0},{className:"built_in",begin:/(?:\$\$?|\.\.)\^?[a-zA-Z]+/},{className:"built_in",begin:/\$\$\$[a-zA-Z]+/},{className:"built_in",begin:/%[a-z]+(?:\.[a-z]+)*/},{className:"symbol",begin:/\^%?[a-zA-Z][\w]*/},{className:"keyword",begin:/##class|##super|#define|#dim/},{begin:/&sql\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"sql"},{begin:/&(js|jscript|javascript)/,excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"},{begin:/&html<\s*\s*>/,subLanguage:"xml"}]}}return cos_1=k,cos_1}var cpp_1,hasRequiredCpp;function requireCpp(){if(hasRequiredCpp)return cpp_1;hasRequiredCpp=1;function k(m){const M=m.regex,G=m.COMMENT("//","$",{contains:[{begin:/\\\n/}]}),V="decltype\\(auto\\)",q="[a-zA-Z_]\\w*::",$="<[^<>]+>",D="(?!struct)("+V+"|"+M.optional(q)+"[a-zA-Z_]\\w*"+M.optional($)+")",B={className:"type",begin:"\\b[a-z\\d_]*_t\\b"},R="\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\S)",U={className:"string",variants:[{begin:'(u8?|U|L)?"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE]},{begin:"(u8?|U|L)?'("+R+"|.)",end:"'",illegal:"."},m.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R"([^()\\ ]{0,16})\(/,end:/\)([^()\\ ]{0,16})"/})]},K={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},z={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:{keyword:"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include"},contains:[{begin:/\\\n/,relevance:0},m.inherit(U,{className:"string"}),{className:"string",begin:/<.*?>/},G,m.C_BLOCK_COMMENT_MODE]},e={className:"title",begin:M.optional(q)+m.IDENT_RE,relevance:0},ae=M.optional(q)+m.IDENT_RE+"\\s*\\(",ie=["alignas","alignof","and","and_eq","asm","atomic_cancel","atomic_commit","atomic_noexcept","auto","bitand","bitor","break","case","catch","class","co_await","co_return","co_yield","compl","concept","const_cast|10","consteval","constexpr","constinit","continue","decltype","default","delete","do","dynamic_cast|10","else","enum","explicit","export","extern","false","final","for","friend","goto","if","import","inline","module","mutable","namespace","new","noexcept","not","not_eq","nullptr","operator","or","or_eq","override","private","protected","public","reflexpr","register","reinterpret_cast|10","requires","return","sizeof","static_assert","static_cast|10","struct","switch","synchronized","template","this","thread_local","throw","transaction_safe","transaction_safe_dynamic","true","try","typedef","typeid","typename","union","using","virtual","volatile","while","xor","xor_eq"],he=["bool","char","char16_t","char32_t","char8_t","double","float","int","long","short","void","wchar_t","unsigned","signed","const","static"],J=["any","auto_ptr","barrier","binary_semaphore","bitset","complex","condition_variable","condition_variable_any","counting_semaphore","deque","false_type","future","imaginary","initializer_list","istringstream","jthread","latch","lock_guard","multimap","multiset","mutex","optional","ostringstream","packaged_task","pair","promise","priority_queue","queue","recursive_mutex","recursive_timed_mutex","scoped_lock","set","shared_future","shared_lock","shared_mutex","shared_timed_mutex","shared_ptr","stack","string_view","stringstream","timed_mutex","thread","true_type","tuple","unique_lock","unique_ptr","unordered_map","unordered_multimap","unordered_multiset","unordered_set","variant","vector","weak_ptr","wstring","wstring_view"],W=["abort","abs","acos","apply","as_const","asin","atan","atan2","calloc","ceil","cerr","cin","clog","cos","cosh","cout","declval","endl","exchange","exit","exp","fabs","floor","fmod","forward","fprintf","fputs","free","frexp","fscanf","future","invoke","isalnum","isalpha","iscntrl","isdigit","isgraph","islower","isprint","ispunct","isspace","isupper","isxdigit","labs","launder","ldexp","log","log10","make_pair","make_shared","make_shared_for_overwrite","make_tuple","make_unique","malloc","memchr","memcmp","memcpy","memset","modf","move","pow","printf","putchar","puts","realloc","scanf","sin","sinh","snprintf","sprintf","sqrt","sscanf","std","stderr","stdin","stdout","strcat","strchr","strcmp","strcpy","strcspn","strlen","strncat","strncmp","strncpy","strpbrk","strrchr","strspn","strstr","swap","tan","tanh","terminate","to_underlying","tolower","toupper","vfprintf","visit","vprintf","vsprintf"],Q={type:he,keyword:ie,literal:["NULL","false","nullopt","nullptr","true"],built_in:["_Pragma"],_type_hints:J},ce={className:"function.dispatch",relevance:0,keywords:{_hint:W},begin:M.concat(/\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,m.IDENT_RE,M.lookahead(/(<[^<>]+>|)\s*\(/))},de=[ce,z,B,G,m.C_BLOCK_COMMENT_MODE,K,U],se={variants:[{begin:/=/,end:/;/},{begin:/\(/,end:/\)/},{beginKeywords:"new throw return else",end:/;/}],keywords:Q,contains:de.concat([{begin:/\(/,end:/\)/,keywords:Q,contains:de.concat(["self"]),relevance:0}]),relevance:0},oe={className:"function",begin:"("+D+"[\\*&\\s]+)+"+ae,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:Q,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:V,keywords:Q,relevance:0},{begin:ae,returnBegin:!0,contains:[e],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[U,K]},{relevance:0,match:/,/},{className:"params",begin:/\(/,end:/\)/,keywords:Q,relevance:0,contains:[G,m.C_BLOCK_COMMENT_MODE,U,K,B,{begin:/\(/,end:/\)/,keywords:Q,relevance:0,contains:["self",G,m.C_BLOCK_COMMENT_MODE,U,K,B]}]},B,G,m.C_BLOCK_COMMENT_MODE,z]};return{name:"C++",aliases:["cc","c++","h++","hpp","hh","hxx","cxx"],keywords:Q,illegal:"",keywords:Q,contains:["self",B]},{begin:m.IDENT_RE+"::",keywords:Q},{match:[/\b(?:enum(?:\s+(?:class|struct))?|class|struct|union)/,/\s+/,/\w+/],className:{1:"keyword",3:"title.class"}}])}}return cpp_1=k,cpp_1}var crmsh_1,hasRequiredCrmsh;function requireCrmsh(){if(hasRequiredCrmsh)return crmsh_1;hasRequiredCrmsh=1;function k(m){const M="primitive rsc_template",G="group clone ms master location colocation order fencing_topology rsc_ticket acl_target acl_group user role tag xml",V="property rsc_defaults op_defaults",q="params meta operations op rule attributes utilization",$="read write deny defined not_defined in_range date spec in ref reference attribute type xpath version and or lt gt tag lte gte eq ne \\",D="number string",B="Master Started Slave Stopped start promote demote stop monitor true false";return{name:"crmsh",aliases:["crm","pcmk"],case_insensitive:!0,keywords:{keyword:q+" "+$+" "+D,literal:B},contains:[m.HASH_COMMENT_MODE,{beginKeywords:"node",starts:{end:"\\s*([\\w_-]+:)?",starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*"}}},{beginKeywords:M,starts:{className:"title",end:"\\s*[\\$\\w_][\\w_-]*",starts:{end:"\\s*@?[\\w_][\\w_\\.:-]*"}}},{begin:"\\b("+G.split(" ").join("|")+")\\s+",keywords:G,starts:{className:"title",end:"[\\$\\w_][\\w_-]*"}},{beginKeywords:V,starts:{className:"title",end:"\\s*([\\w_-]+:)?"}},m.QUOTE_STRING_MODE,{className:"meta",begin:"(ocf|systemd|service|lsb):[\\w_:-]+",relevance:0},{className:"number",begin:"\\b\\d+(\\.\\d+)?(ms|s|h|m)?",relevance:0},{className:"literal",begin:"[-]?(infinity|inf)",relevance:0},{className:"attr",begin:/([A-Za-z$_#][\w_-]+)=/,relevance:0},{className:"tag",begin:"",relevance:0}]}}return crmsh_1=k,crmsh_1}var crystal_1,hasRequiredCrystal;function requireCrystal(){if(hasRequiredCrystal)return crystal_1;hasRequiredCrystal=1;function k(m){const M="(_?[ui](8|16|32|64|128))?",G="(_?f(32|64))?",V="[a-zA-Z_]\\w*[!?=]?",q="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|[=!]~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~|]|//|//=|&[-+*]=?|&\\*\\*|\\[\\][=?]?",$="[A-Za-z_]\\w*(::\\w+)*(\\?|!)?",D={$pattern:V,keyword:"abstract alias annotation as as? asm begin break case class def do else elsif end ensure enum extend for fun if include instance_sizeof is_a? lib macro module next nil? of out pointerof private protected rescue responds_to? return require select self sizeof struct super then type typeof union uninitialized unless until verbatim when while with yield __DIR__ __END_LINE__ __FILE__ __LINE__",literal:"false nil true"},B={className:"subst",begin:/#\{/,end:/\}/,keywords:D},R={className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},U={className:"template-variable",variants:[{begin:"\\{\\{",end:"\\}\\}"},{begin:"\\{%",end:"%\\}"}],keywords:D};function K(W,X){const L=[{begin:W,end:X}];return L[0].contains=L,L}const z={className:"string",contains:[m.BACKSLASH_ESCAPE,B],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:"%[Qwi]?\\(",end:"\\)",contains:K("\\(","\\)")},{begin:"%[Qwi]?\\[",end:"\\]",contains:K("\\[","\\]")},{begin:"%[Qwi]?\\{",end:/\}/,contains:K(/\{/,/\}/)},{begin:"%[Qwi]?<",end:">",contains:K("<",">")},{begin:"%[Qwi]?\\|",end:"\\|"},{begin:/<<-\w+$/,end:/^\s*\w+$/}],relevance:0},e={className:"string",variants:[{begin:"%q\\(",end:"\\)",contains:K("\\(","\\)")},{begin:"%q\\[",end:"\\]",contains:K("\\[","\\]")},{begin:"%q\\{",end:/\}/,contains:K(/\{/,/\}/)},{begin:"%q<",end:">",contains:K("<",">")},{begin:"%q\\|",end:"\\|"},{begin:/<<-'\w+'$/,end:/^\s*\w+$/}],relevance:0},ae={begin:"(?!%\\})("+m.RE_STARTERS_RE+"|\\n|\\b(case|if|select|unless|until|when|while)\\b)\\s*",keywords:"case if select unless until when while",contains:[{className:"regexp",contains:[m.BACKSLASH_ESCAPE,B],variants:[{begin:"//[a-z]*",relevance:0},{begin:"/(?!\\/)",end:"/[a-z]*"}]}],relevance:0},ie={className:"regexp",contains:[m.BACKSLASH_ESCAPE,B],variants:[{begin:"%r\\(",end:"\\)",contains:K("\\(","\\)")},{begin:"%r\\[",end:"\\]",contains:K("\\[","\\]")},{begin:"%r\\{",end:/\}/,contains:K(/\{/,/\}/)},{begin:"%r<",end:">",contains:K("<",">")},{begin:"%r\\|",end:"\\|"}],relevance:0},he={className:"meta",begin:"@\\[",end:"\\]",contains:[m.inherit(m.QUOTE_STRING_MODE,{className:"string"})]},J=[U,z,e,ie,ae,he,R,m.HASH_COMMENT_MODE,{className:"class",beginKeywords:"class module struct",end:"$|;",illegal:/=/,contains:[m.HASH_COMMENT_MODE,m.inherit(m.TITLE_MODE,{begin:$}),{begin:"<"}]},{className:"class",beginKeywords:"lib enum union",end:"$|;",illegal:/=/,contains:[m.HASH_COMMENT_MODE,m.inherit(m.TITLE_MODE,{begin:$})]},{beginKeywords:"annotation",end:"$|;",illegal:/=/,contains:[m.HASH_COMMENT_MODE,m.inherit(m.TITLE_MODE,{begin:$})],relevance:2},{className:"function",beginKeywords:"def",end:/\B\b/,contains:[m.inherit(m.TITLE_MODE,{begin:q,endsParent:!0})]},{className:"function",beginKeywords:"fun macro",end:/\B\b/,contains:[m.inherit(m.TITLE_MODE,{begin:q,endsParent:!0})],relevance:2},{className:"symbol",begin:m.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":",contains:[z,{begin:q}],relevance:0},{className:"number",variants:[{begin:"\\b0b([01_]+)"+M},{begin:"\\b0o([0-7_]+)"+M},{begin:"\\b0x([A-Fa-f0-9_]+)"+M},{begin:"\\b([1-9][0-9_]*[0-9]|[0-9])(\\.[0-9][0-9_]*)?([eE]_?[-+]?[0-9_]*)?"+G+"(?!_)"},{begin:"\\b([1-9][0-9_]*|0)"+M}],relevance:0}];return B.contains=J,U.contains=J.slice(1),{name:"Crystal",aliases:["cr"],keywords:D,contains:J}}return crystal_1=k,crystal_1}var csharp_1,hasRequiredCsharp;function requireCsharp(){if(hasRequiredCsharp)return csharp_1;hasRequiredCsharp=1;function k(m){const M=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],G=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],V=["default","false","null","true"],q=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],$=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],D={keyword:q.concat($),built_in:M,literal:V},B=m.inherit(m.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),R={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},U={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},K=m.inherit(U,{illegal:/\n/}),z={className:"subst",begin:/\{/,end:/\}/,keywords:D},e=m.inherit(z,{illegal:/\n/}),ae={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},m.BACKSLASH_ESCAPE,e]},ie={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},z]},he=m.inherit(ie,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},e]});z.contains=[ie,ae,U,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,R,m.C_BLOCK_COMMENT_MODE],e.contains=[he,ae,K,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,R,m.inherit(m.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const J={variants:[ie,ae,U,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]},W={begin:"<",end:">",contains:[{beginKeywords:"in out"},B]},X=m.IDENT_RE+"(<"+m.IDENT_RE+"(\\s*,\\s*"+m.IDENT_RE+")*>)?(\\[\\])?",L={begin:"@"+m.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:D,illegal:/::/,contains:[m.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:""},{begin:""}]}]}),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},J,R,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},B,W,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[B,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[B,W,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+X+"\\s+)+"+m.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:D,contains:[{beginKeywords:G.join(" "),relevance:0},{begin:m.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[m.TITLE_MODE,W],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:D,relevance:0,contains:[J,R,m.C_BLOCK_COMMENT_MODE]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},L]}}return csharp_1=k,csharp_1}var csp_1,hasRequiredCsp;function requireCsp(){if(hasRequiredCsp)return csp_1;hasRequiredCsp=1;function k(m){return{name:"CSP",case_insensitive:!1,keywords:{$pattern:"[a-zA-Z][a-zA-Z0-9_-]*",keyword:["base-uri","child-src","connect-src","default-src","font-src","form-action","frame-ancestors","frame-src","img-src","manifest-src","media-src","object-src","plugin-types","report-uri","sandbox","script-src","style-src","trusted-types","unsafe-hashes","worker-src"]},contains:[{className:"string",begin:"'",end:"'"},{className:"attribute",begin:"^Content",end:":",excludeEnd:!0}]}}return csp_1=k,csp_1}var css_1,hasRequiredCss;function requireCss(){if(hasRequiredCss)return css_1;hasRequiredCss=1;const k=D=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:D.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[D.APOS_STRING_MODE,D.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:D.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),m=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],M=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],G=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],V=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],q=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function $(D){const B=D.regex,R=k(D),U={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},K="and or not only",z=/@-?\w[\w]*(-\w+)*/,e="[a-zA-Z-][a-zA-Z0-9_-]*",ae=[D.APOS_STRING_MODE,D.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[R.BLOCK_COMMENT,U,R.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+e,relevance:0},R.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+G.join("|")+")"},{begin:":(:)?("+V.join("|")+")"}]},R.CSS_VARIABLE,{className:"attribute",begin:"\\b("+q.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[R.BLOCK_COMMENT,R.HEXCOLOR,R.IMPORTANT,R.CSS_NUMBER_MODE,...ae,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...ae,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},R.FUNCTION_DISPATCH]},{begin:B.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:z},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:K,attribute:M.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...ae,R.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+m.join("|")+")\\b"}]}}return css_1=$,css_1}var d_1,hasRequiredD;function requireD(){if(hasRequiredD)return d_1;hasRequiredD=1;function k(m){const M={$pattern:m.UNDERSCORE_IDENT_RE,keyword:"abstract alias align asm assert auto body break byte case cast catch class const continue debug default delete deprecated do else enum export extern final finally for foreach foreach_reverse|10 goto if immutable import in inout int interface invariant is lazy macro mixin module new nothrow out override package pragma private protected public pure ref return scope shared static struct super switch synchronized template this throw try typedef typeid typeof union unittest version void volatile while with __FILE__ __LINE__ __gshared|10 __thread __traits __DATE__ __EOF__ __TIME__ __TIMESTAMP__ __VENDOR__ __VERSION__",built_in:"bool cdouble cent cfloat char creal dchar delegate double dstring float function idouble ifloat ireal long real short string ubyte ucent uint ulong ushort wchar wstring",literal:"false null true"},G="(0|[1-9][\\d_]*)",V="(0|[1-9][\\d_]*|\\d[\\d_]*|[\\d_]+?\\d)",q="0[bB][01_]+",$="([\\da-fA-F][\\da-fA-F_]*|_[\\da-fA-F][\\da-fA-F_]*)",D="0[xX]"+$,B="([eE][+-]?"+V+")",R="("+V+"(\\.\\d*|"+B+")|\\d+\\."+V+"|\\."+G+B+"?)",U="(0[xX]("+$+"\\."+$+"|\\.?"+$+")[pP][+-]?"+V+")",K="("+G+"|"+q+"|"+D+")",z="("+U+"|"+R+")",e=`\\\\(['"\\?\\\\abfnrtv]|u[\\dA-Fa-f]{4}|[0-7]{1,3}|x[\\dA-Fa-f]{2}|U[\\dA-Fa-f]{8})|&[a-zA-Z\\d]{2,};`,ae={className:"number",begin:"\\b"+K+"(L|u|U|Lu|LU|uL|UL)?",relevance:0},ie={className:"number",begin:"\\b("+z+"([fF]|L|i|[fF]i|Li)?|"+K+"(i|[fF]i|Li))",relevance:0},he={className:"string",begin:"'("+e+"|.)",end:"'",illegal:"."},W={className:"string",begin:'"',contains:[{begin:e,relevance:0}],end:'"[cwd]?'},X={className:"string",begin:'[rq]"',end:'"[cwd]?',relevance:5},L={className:"string",begin:"`",end:"`[cwd]?"},Q={className:"string",begin:'x"[\\da-fA-F\\s\\n\\r]*"[cwd]?',relevance:10},ce={className:"string",begin:'q"\\{',end:'\\}"'},de={className:"meta",begin:"^#!",end:"$",relevance:5},se={className:"meta",begin:"#(line)",end:"$",relevance:5},oe={className:"keyword",begin:"@[a-zA-Z_][a-zA-Z_\\d]*"},me=m.COMMENT("\\/\\+","\\+\\/",{contains:["self"],relevance:10});return{name:"D",keywords:M,contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,me,Q,W,X,L,ce,ie,ae,he,de,se,oe]}}return d_1=k,d_1}var markdown_1,hasRequiredMarkdown;function requireMarkdown(){if(hasRequiredMarkdown)return markdown_1;hasRequiredMarkdown=1;function k(m){const M=m.regex,G={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",relevance:0},V={begin:"^[-\\*]{3,}",end:"$"},q={className:"code",variants:[{begin:"(`{3,})[^`](.|\\n)*?\\1`*[ ]*"},{begin:"(~{3,})[^~](.|\\n)*?\\1~*[ ]*"},{begin:"```",end:"```+[ ]*$"},{begin:"~~~",end:"~~~+[ ]*$"},{begin:"`.+?`"},{begin:"(?=^( {4}|\\t))",contains:[{begin:"^( {4}|\\t)",end:"(\\n)$"}],relevance:0}]},$={className:"bullet",begin:"^[ ]*([*+-]|(\\d+\\.))(?=\\s+)",end:"\\s+",excludeEnd:!0},D={begin:/^\[[^\n]+\]:/,returnBegin:!0,contains:[{className:"symbol",begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0},{className:"link",begin:/:\s*/,end:/$/,excludeBegin:!0}]},B=/[A-Za-z][A-Za-z0-9+.-]*/,R={variants:[{begin:/\[.+?\]\[.*?\]/,relevance:0},{begin:/\[.+?\]\(((data|javascript|mailto):|(?:http|ftp)s?:\/\/).*?\)/,relevance:2},{begin:M.concat(/\[.+?\]\(/,B,/:\/\/.*?\)/),relevance:2},{begin:/\[.+?\]\([./?&#].*?\)/,relevance:1},{begin:/\[.*?\]\(.*?\)/,relevance:0}],returnBegin:!0,contains:[{match:/\[(?=\])/},{className:"string",relevance:0,begin:"\\[",end:"\\]",excludeBegin:!0,returnEnd:!0},{className:"link",relevance:0,begin:"\\]\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0},{className:"symbol",relevance:0,begin:"\\]\\[",end:"\\]",excludeBegin:!0,excludeEnd:!0}]},U={className:"strong",contains:[],variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]},K={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{begin:/_(?![_\s])/,end:/_/,relevance:0}]},z=m.inherit(U,{contains:[]}),e=m.inherit(K,{contains:[]});U.contains.push(e),K.contains.push(z);let ae=[G,R];return[U,K,z,e].forEach(J=>{J.contains=J.contains.concat(ae)}),ae=ae.concat(U,K),{name:"Markdown",aliases:["md","mkdown","mkd"],contains:[{className:"section",variants:[{begin:"^#{1,6}",end:"$",contains:ae},{begin:"(?=^.+?\\n[=-]{2,}$)",contains:[{begin:"^[=-]*$"},{begin:"^",end:"\\n",contains:ae}]}]},G,$,U,K,{className:"quote",begin:"^>\\s+",contains:ae,end:"$"},q,V,R,D]}}return markdown_1=k,markdown_1}var dart_1,hasRequiredDart;function requireDart(){if(hasRequiredDart)return dart_1;hasRequiredDart=1;function k(m){const M={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"}]},G={className:"subst",variants:[{begin:/\$\{/,end:/\}/}],keywords:"true false null this is new super"},V={className:"string",variants:[{begin:"r'''",end:"'''"},{begin:'r"""',end:'"""'},{begin:"r'",end:"'",illegal:"\\n"},{begin:'r"',end:'"',illegal:"\\n"},{begin:"'''",end:"'''",contains:[m.BACKSLASH_ESCAPE,M,G]},{begin:'"""',end:'"""',contains:[m.BACKSLASH_ESCAPE,M,G]},{begin:"'",end:"'",illegal:"\\n",contains:[m.BACKSLASH_ESCAPE,M,G]},{begin:'"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE,M,G]}]};G.contains=[m.C_NUMBER_MODE,V];const q=["Comparable","DateTime","Duration","Function","Iterable","Iterator","List","Map","Match","Object","Pattern","RegExp","Set","Stopwatch","String","StringBuffer","StringSink","Symbol","Type","Uri","bool","double","int","num","Element","ElementList"],$=q.map(R=>`${R}?`);return{name:"Dart",keywords:{keyword:["abstract","as","assert","async","await","base","break","case","catch","class","const","continue","covariant","default","deferred","do","dynamic","else","enum","export","extends","extension","external","factory","false","final","finally","for","Function","get","hide","if","implements","import","in","interface","is","late","library","mixin","new","null","on","operator","part","required","rethrow","return","sealed","set","show","static","super","switch","sync","this","throw","true","try","typedef","var","void","when","while","with","yield"],built_in:q.concat($).concat(["Never","Null","dynamic","print","document","querySelector","querySelectorAll","window"]),$pattern:/[A-Za-z][A-Za-z0-9_]*\??/},contains:[V,m.COMMENT(/\/\*\*(?!\/)/,/\*\//,{subLanguage:"markdown",relevance:0}),m.COMMENT(/\/{3,} ?/,/$/,{contains:[{subLanguage:"markdown",begin:".",end:"$",relevance:0}]}),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},m.UNDERSCORE_TITLE_MODE]},m.C_NUMBER_MODE,{className:"meta",begin:"@[A-Za-z]+"},{begin:"=>"}]}}return dart_1=k,dart_1}var delphi_1,hasRequiredDelphi;function requireDelphi(){if(hasRequiredDelphi)return delphi_1;hasRequiredDelphi=1;function k(m){const M=["exports","register","file","shl","array","record","property","for","mod","while","set","ally","label","uses","raise","not","stored","class","safecall","var","interface","or","private","static","exit","index","inherited","to","else","stdcall","override","shr","asm","far","resourcestring","finalization","packed","virtual","out","and","protected","library","do","xorwrite","goto","near","function","end","div","overload","object","unit","begin","string","on","inline","repeat","until","destructor","write","message","program","with","read","initialization","except","default","nil","if","case","cdecl","in","downto","threadvar","of","try","pascal","const","external","constructor","type","public","then","implementation","finally","published","procedure","absolute","reintroduce","operator","as","is","abstract","alias","assembler","bitpacked","break","continue","cppdecl","cvar","enumerator","experimental","platform","deprecated","unimplemented","dynamic","export","far16","forward","generic","helper","implements","interrupt","iochecks","local","name","nodefault","noreturn","nostackframe","oldfpccall","otherwise","saveregisters","softfloat","specialize","strict","unaligned","varargs"],G=[m.C_LINE_COMMENT_MODE,m.COMMENT(/\{/,/\}/,{relevance:0}),m.COMMENT(/\(\*/,/\*\)/,{relevance:10})],V={className:"meta",variants:[{begin:/\{\$/,end:/\}/},{begin:/\(\*\$/,end:/\*\)/}]},q={className:"string",begin:/'/,end:/'/,contains:[{begin:/''/}]},$={className:"number",relevance:0,variants:[{begin:"\\$[0-9A-Fa-f]+"},{begin:"&[0-7]+"},{begin:"%[01]+"}]},D={className:"string",begin:/(#\d+)+/},B={begin:m.IDENT_RE+"\\s*=\\s*class\\s*\\(",returnBegin:!0,contains:[m.TITLE_MODE]},R={className:"function",beginKeywords:"function constructor destructor procedure",end:/[:;]/,keywords:"function constructor|10 destructor|10 procedure|10",contains:[m.TITLE_MODE,{className:"params",begin:/\(/,end:/\)/,keywords:M,contains:[q,D,V].concat(G)},V].concat(G)};return{name:"Delphi",aliases:["dpr","dfm","pas","pascal"],case_insensitive:!0,keywords:M,illegal:/"|\$[G-Zg-z]|\/\*|<\/|\|/,contains:[q,D,m.NUMBER_MODE,$,B,R,V].concat(G)}}return delphi_1=k,delphi_1}var diff_1,hasRequiredDiff;function requireDiff(){if(hasRequiredDiff)return diff_1;hasRequiredDiff=1;function k(m){const M=m.regex;return{name:"Diff",aliases:["patch"],contains:[{className:"meta",relevance:10,match:M.either(/^@@ +-\d+,\d+ +\+\d+,\d+ +@@/,/^\*\*\* +\d+,\d+ +\*\*\*\*$/,/^--- +\d+,\d+ +----$/)},{className:"comment",variants:[{begin:M.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\*{3} /,/^\+{3}/,/^diff --git/),end:/$/},{match:/^\*{15}$/}]},{className:"addition",begin:/^\+/,end:/$/},{className:"deletion",begin:/^-/,end:/$/},{className:"addition",begin:/^!/,end:/$/}]}}return diff_1=k,diff_1}var django_1,hasRequiredDjango;function requireDjango(){if(hasRequiredDjango)return django_1;hasRequiredDjango=1;function k(m){const M={begin:/\|[A-Za-z]+:?/,keywords:{name:"truncatewords removetags linebreaksbr yesno get_digit timesince random striptags filesizeformat escape linebreaks length_is ljust rjust cut urlize fix_ampersands title floatformat capfirst pprint divisibleby add make_list unordered_list urlencode timeuntil urlizetrunc wordcount stringformat linenumbers slice date dictsort dictsortreversed default_if_none pluralize lower join center default truncatewords_html upper length phone2numeric wordwrap time addslashes slugify first escapejs force_escape iriencode last safe safeseq truncatechars localize unlocalize localtime utc timezone"},contains:[m.QUOTE_STRING_MODE,m.APOS_STRING_MODE]};return{name:"Django",aliases:["jinja"],case_insensitive:!0,subLanguage:"xml",contains:[m.COMMENT(/\{%\s*comment\s*%\}/,/\{%\s*endcomment\s*%\}/),m.COMMENT(/\{#/,/#\}/),{className:"template-tag",begin:/\{%/,end:/%\}/,contains:[{className:"name",begin:/\w+/,keywords:{name:"comment endcomment load templatetag ifchanged endifchanged if endif firstof for endfor ifnotequal endifnotequal widthratio extends include spaceless endspaceless regroup ifequal endifequal ssi now with cycle url filter endfilter debug block endblock else autoescape endautoescape csrf_token empty elif endwith static trans blocktrans endblocktrans get_static_prefix get_media_prefix plural get_current_language language get_available_languages get_current_language_bidi get_language_info get_language_info_list localize endlocalize localtime endlocaltime timezone endtimezone get_current_timezone verbatim"},starts:{endsWithParent:!0,keywords:"in by as",contains:[M],relevance:0}}]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[M]}]}}return django_1=k,django_1}var dns_1,hasRequiredDns;function requireDns(){if(hasRequiredDns)return dns_1;hasRequiredDns=1;function k(m){return{name:"DNS Zone",aliases:["bind","zone"],keywords:["IN","A","AAAA","AFSDB","APL","CAA","CDNSKEY","CDS","CERT","CNAME","DHCID","DLV","DNAME","DNSKEY","DS","HIP","IPSECKEY","KEY","KX","LOC","MX","NAPTR","NS","NSEC","NSEC3","NSEC3PARAM","PTR","RRSIG","RP","SIG","SOA","SRV","SSHFP","TA","TKEY","TLSA","TSIG","TXT"],contains:[m.COMMENT(";","$",{relevance:0}),{className:"meta",begin:/^\$(TTL|GENERATE|INCLUDE|ORIGIN)\b/},{className:"number",begin:"((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){5}(((:[0-9A-Fa-f]{1,4}){1,2})|:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3})|:))|(([0-9A-Fa-f]{1,4}:){4}(((:[0-9A-Fa-f]{1,4}){1,3})|((:[0-9A-Fa-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){3}(((:[0-9A-Fa-f]{1,4}){1,4})|((:[0-9A-Fa-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){2}(((:[0-9A-Fa-f]{1,4}){1,5})|((:[0-9A-Fa-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9A-Fa-f]{1,4}:){1}(((:[0-9A-Fa-f]{1,4}){1,6})|((:[0-9A-Fa-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9A-Fa-f]{1,4}){1,7})|((:[0-9A-Fa-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))\\b"},{className:"number",begin:"((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]).){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\b"},m.inherit(m.NUMBER_MODE,{begin:/\b\d+[dhwm]?/})]}}return dns_1=k,dns_1}var dockerfile_1,hasRequiredDockerfile;function requireDockerfile(){if(hasRequiredDockerfile)return dockerfile_1;hasRequiredDockerfile=1;function k(m){return{name:"Dockerfile",aliases:["docker"],case_insensitive:!0,keywords:["from","maintainer","expose","env","arg","user","onbuild","stopsignal"],contains:[m.HASH_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.NUMBER_MODE,{beginKeywords:"run cmd entrypoint volume add copy workdir label healthcheck shell",starts:{end:/[^\\]$/,subLanguage:"bash"}}],illegal:"",illegal:"\\n"}]},M,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},q={className:"variable",begin:/&[a-z\d_]*\b/},$={className:"keyword",begin:"/[a-z][a-z\\d-]*/"},D={className:"symbol",begin:"^\\s*[a-zA-Z_][a-zA-Z\\d_]*:"},B={className:"params",relevance:0,begin:"<",end:">",contains:[G,q]},R={className:"title.class",begin:/[a-zA-Z_][a-zA-Z\d_@-]*(?=\s\{)/,relevance:.2},U={className:"title.class",begin:/^\/(?=\s*\{)/,relevance:10},K={match:/[a-z][a-z-,]+(?=;)/,relevance:0,scope:"attr"},z={relevance:0,match:[/[a-z][a-z-,]+/,/\s*/,/=/],scope:{1:"attr",3:"operator"}},e={scope:"punctuation",relevance:0,match:/\};|[;{}]/};return{name:"Device Tree",contains:[U,q,$,D,R,z,K,B,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,G,M,V,e,{begin:m.IDENT_RE+"::",keywords:""}]}}return dts_1=k,dts_1}var dust_1,hasRequiredDust;function requireDust(){if(hasRequiredDust)return dust_1;hasRequiredDust=1;function k(m){const M="if eq ne lt lte gt gte select default math sep";return{name:"Dust",aliases:["dst"],case_insensitive:!0,subLanguage:"xml",contains:[{className:"template-tag",begin:/\{[#\/]/,end:/\}/,illegal:/;/,contains:[{className:"name",begin:/[a-zA-Z\.-]+/,starts:{endsWithParent:!0,relevance:0,contains:[m.QUOTE_STRING_MODE]}}]},{className:"template-variable",begin:/\{/,end:/\}/,illegal:/;/,keywords:M}]}}return dust_1=k,dust_1}var ebnf_1,hasRequiredEbnf;function requireEbnf(){if(hasRequiredEbnf)return ebnf_1;hasRequiredEbnf=1;function k(m){const M=m.COMMENT(/\(\*/,/\*\)/),G={className:"attribute",begin:/^[ ]*[a-zA-Z]+([\s_-]+[a-zA-Z]+)*/},q={begin:/=/,end:/[.;]/,contains:[M,{className:"meta",begin:/\?.*\?/},{className:"string",variants:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{begin:"`",end:"`"}]}]};return{name:"Extended Backus-Naur Form",illegal:/\S/,contains:[M,G,q]}}return ebnf_1=k,ebnf_1}var elixir_1,hasRequiredElixir;function requireElixir(){if(hasRequiredElixir)return elixir_1;hasRequiredElixir=1;function k(m){const M=m.regex,G="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",V="[a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?",D={$pattern:G,keyword:["after","alias","and","case","catch","cond","defstruct","defguard","do","else","end","fn","for","if","import","in","not","or","quote","raise","receive","require","reraise","rescue","try","unless","unquote","unquote_splicing","use","when","with|0"],literal:["false","nil","true"]},B={className:"subst",begin:/#\{/,end:/\}/,keywords:D},R={className:"number",begin:"(\\b0o[0-7_]+)|(\\b0b[01_]+)|(\\b0x[0-9a-fA-F_]+)|(-?\\b[0-9][0-9_]*(\\.[0-9_]+([eE][-+]?[0-9]+)?)?)",relevance:0},K={match:/\\[\s\S]/,scope:"char.escape",relevance:0},z=`[/|([{<"']`,e=[{begin:/"/,end:/"/},{begin:/'/,end:/'/},{begin:/\//,end:/\//},{begin:/\|/,end:/\|/},{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/},{begin:/\{/,end:/\}/},{begin://}],ae=ce=>({scope:"char.escape",begin:M.concat(/\\/,ce),relevance:0}),ie={className:"string",begin:"~[a-z](?="+z+")",contains:e.map(ce=>m.inherit(ce,{contains:[ae(ce.end),K,B]}))},he={className:"string",begin:"~[A-Z](?="+z+")",contains:e.map(ce=>m.inherit(ce,{contains:[ae(ce.end)]}))},J={className:"regex",variants:[{begin:"~r(?="+z+")",contains:e.map(ce=>m.inherit(ce,{end:M.concat(ce.end,/[uismxfU]{0,7}/),contains:[ae(ce.end),K,B]}))},{begin:"~R(?="+z+")",contains:e.map(ce=>m.inherit(ce,{end:M.concat(ce.end,/[uismxfU]{0,7}/),contains:[ae(ce.end)]}))}]},W={className:"string",contains:[m.BACKSLASH_ESCAPE,B],variants:[{begin:/"""/,end:/"""/},{begin:/'''/,end:/'''/},{begin:/~S"""/,end:/"""/,contains:[]},{begin:/~S"/,end:/"/,contains:[]},{begin:/~S'''/,end:/'''/,contains:[]},{begin:/~S'/,end:/'/,contains:[]},{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},X={className:"function",beginKeywords:"def defp defmacro defmacrop",end:/\B\b/,contains:[m.inherit(m.TITLE_MODE,{begin:G,endsParent:!0})]},L=m.inherit(X,{className:"class",beginKeywords:"defimpl defmodule defprotocol defrecord",end:/\bdo\b|$|;/}),Q=[W,J,he,ie,m.HASH_COMMENT_MODE,L,X,{begin:"::"},{className:"symbol",begin:":(?![\\s:])",contains:[W,{begin:V}],relevance:0},{className:"symbol",begin:G+":(?!:)",relevance:0},{className:"title.class",begin:/(\b[A-Z][a-zA-Z0-9_]+)/,relevance:0},R,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))"}];return B.contains=Q,{name:"Elixir",aliases:["ex","exs"],keywords:D,contains:Q}}return elixir_1=k,elixir_1}var elm_1,hasRequiredElm;function requireElm(){if(hasRequiredElm)return elm_1;hasRequiredElm=1;function k(m){const M={variants:[m.COMMENT("--","$"),m.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},G={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},V={begin:"\\(",end:"\\)",illegal:'"',contains:[{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},M]},q={begin:/\{/,end:/\}/,contains:V.contains},$={className:"string",begin:"'\\\\?.",end:"'",illegal:"."};return{name:"Elm",keywords:["let","in","if","then","else","case","of","where","module","import","exposing","type","alias","as","infix","infixl","infixr","port","effect","command","subscription"],contains:[{beginKeywords:"port effect module",end:"exposing",keywords:"port effect module where command subscription exposing",contains:[V,M],illegal:"\\W\\.|;"},{begin:"import",end:"$",keywords:"import as exposing",contains:[V,M],illegal:"\\W\\.|;"},{begin:"type",end:"$",keywords:"type alias",contains:[G,V,q,M]},{beginKeywords:"infix infixl infixr",end:"$",contains:[m.C_NUMBER_MODE,M]},{begin:"port",end:"$",keywords:"port",contains:[M]},$,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE,G,m.inherit(m.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),M,{begin:"->|<-"}],illegal:/;/}}return elm_1=k,elm_1}var ruby_1,hasRequiredRuby;function requireRuby(){if(hasRequiredRuby)return ruby_1;hasRequiredRuby=1;function k(m){const M=m.regex,G="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",V=M.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),q=M.concat(V,/(::\w+)*/),D={"variable.constant":["__FILE__","__LINE__","__ENCODING__"],"variable.language":["self","super"],keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield",...["include","extend","prepend","public","private","protected","raise","throw"]],built_in:["proc","lambda","attr_accessor","attr_reader","attr_writer","define_method","private_constant","module_function"],literal:["true","false","nil"]},B={className:"doctag",begin:"@[A-Za-z]+"},R={begin:"#<",end:">"},U=[m.COMMENT("#","$",{contains:[B]}),m.COMMENT("^=begin","^=end",{contains:[B],relevance:10}),m.COMMENT("^__END__",m.MATCH_NOTHING_RE)],K={className:"subst",begin:/#\{/,end:/\}/,keywords:D},z={className:"string",contains:[m.BACKSLASH_ESCAPE,K],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\(/,end:/\)/},{begin:/%[qQwWx]?\[/,end:/\]/},{begin:/%[qQwWx]?\{/,end:/\}/},{begin:/%[qQwWx]?/},{begin:/%[qQwWx]?\//,end:/\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\|/,end:/\|/},{begin:/\B\?(\\\d{1,3})/},{begin:/\B\?(\\x[A-Fa-f0-9]{1,2})/},{begin:/\B\?(\\u\{?[A-Fa-f0-9]{1,6}\}?)/},{begin:/\B\?(\\M-\\C-|\\M-\\c|\\c\\M-|\\M-|\\C-\\M-)[\x20-\x7e]/},{begin:/\B\?\\(c|C-)[\x20-\x7e]/},{begin:/\B\?\\?\S/},{begin:M.concat(/<<[-~]?'?/,M.lookahead(/(\w+)(?=\W)[^\n]*\n(?:[^\n]*\n)*?\s*\1\b/)),contains:[m.END_SAME_AS_BEGIN({begin:/(\w+)/,end:/(\w+)/,contains:[m.BACKSLASH_ESCAPE,K]})]}]},e="[1-9](_?[0-9])*|0",ae="[0-9](_?[0-9])*",ie={className:"number",relevance:0,variants:[{begin:`\\b(${e})(\\.(${ae}))?([eE][+-]?(${ae})|r)?i?\\b`},{begin:"\\b0[dD][0-9](_?[0-9])*r?i?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*r?i?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*r?i?\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\b"},{begin:"\\b0(_?[0-7])+r?i?\\b"}]},he={variants:[{match:/\(\)/},{className:"params",begin:/\(/,end:/(?=\))/,excludeBegin:!0,endsParent:!0,keywords:D}]},de=[z,{variants:[{match:[/class\s+/,q,/\s+<\s+/,q]},{match:[/\b(class|module)\s+/,q]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:D},{match:[/(include|extend)\s+/,q],scope:{2:"title.class"},keywords:D},{relevance:0,match:[q,/\.new[. (]/],scope:{1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"},{relevance:0,match:V,scope:"title.class"},{match:[/def/,/\s+/,G],scope:{1:"keyword",3:"title.function"},contains:[he]},{begin:m.IDENT_RE+"::"},{className:"symbol",begin:m.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",begin:":(?!\\s)",contains:[z,{begin:G}],relevance:0},ie,{className:"variable",begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:D},{begin:"("+m.RE_STARTERS_RE+"|unless)\\s*",keywords:"unless",contains:[{className:"regexp",contains:[m.BACKSLASH_ESCAPE,K],illegal:/\n/,variants:[{begin:"/",end:"/[a-z]*"},{begin:/%r\{/,end:/\}[a-z]*/},{begin:"%r\\(",end:"\\)[a-z]*"},{begin:"%r!",end:"![a-z]*"},{begin:"%r\\[",end:"\\][a-z]*"}]}].concat(R,U),relevance:0}].concat(R,U);K.contains=de,he.contains=de;const se="[>?]>",oe="[\\w#]+\\(\\w+\\):\\d+:\\d+[>*]",me="(\\w+-)?\\d+\\.\\d+\\.\\d+(p\\d+)?[^\\d][^>]+>",Ee=[{begin:/^\s*=>/,starts:{end:"$",contains:de}},{className:"meta.prompt",begin:"^("+se+"|"+oe+"|"+me+")(?=[ ])",starts:{end:"$",keywords:D,contains:de}}];return U.unshift(R),{name:"Ruby",aliases:["rb","gemspec","podspec","thor","irb"],keywords:D,illegal:/\/\*/,contains:[m.SHEBANG({binary:"ruby"})].concat(Ee).concat(U).concat(de)}}return ruby_1=k,ruby_1}var erb_1,hasRequiredErb;function requireErb(){if(hasRequiredErb)return erb_1;hasRequiredErb=1;function k(m){return{name:"ERB",subLanguage:"xml",contains:[m.COMMENT("<%#","%>"),{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return erb_1=k,erb_1}var erlangRepl_1,hasRequiredErlangRepl;function requireErlangRepl(){if(hasRequiredErlangRepl)return erlangRepl_1;hasRequiredErlangRepl=1;function k(m){const M=m.regex;return{name:"Erlang REPL",keywords:{built_in:"spawn spawn_link self",keyword:"after and andalso|10 band begin bnot bor bsl bsr bxor case catch cond div end fun if let not of or orelse|10 query receive rem try when xor"},contains:[{className:"meta.prompt",begin:"^[0-9]+> ",relevance:10},m.COMMENT("%","$"),{className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{begin:M.concat(/\?(::)?/,/([A-Z]\w*)/,/((::)[A-Z]\w*)*/)},{begin:"->"},{begin:"ok"},{begin:"!"},{begin:"(\\b[a-z'][a-zA-Z0-9_']*:[a-z'][a-zA-Z0-9_']*)|(\\b[a-z'][a-zA-Z0-9_']*)",relevance:0},{begin:"[A-Z][a-zA-Z0-9_']*",relevance:0}]}}return erlangRepl_1=k,erlangRepl_1}var erlang_1,hasRequiredErlang;function requireErlang(){if(hasRequiredErlang)return erlang_1;hasRequiredErlang=1;function k(m){const M="[a-z'][a-zA-Z0-9_']*",G="("+M+":"+M+"|"+M+")",V={keyword:"after and andalso|10 band begin bnot bor bsl bzr bxor case catch cond div end fun if let not of orelse|10 query receive rem try when xor",literal:"false true"},q=m.COMMENT("%","$"),$={className:"number",begin:"\\b(\\d+(_\\d+)*#[a-fA-F0-9]+(_[a-fA-F0-9]+)*|\\d+(_\\d+)*(\\.\\d+(_\\d+)*)?([eE][-+]?\\d+)?)",relevance:0},D={begin:"fun\\s+"+M+"/\\d+"},B={begin:G+"\\(",end:"\\)",returnBegin:!0,relevance:0,contains:[{begin:G,relevance:0},{begin:"\\(",end:"\\)",endsWithParent:!0,returnEnd:!0,relevance:0}]},R={begin:/\{/,end:/\}/,relevance:0},U={begin:"\\b_([A-Z][A-Za-z0-9_]*)?",relevance:0},K={begin:"[A-Z][a-zA-Z0-9_]*",relevance:0},z={begin:"#"+m.UNDERSCORE_IDENT_RE,relevance:0,returnBegin:!0,contains:[{begin:"#"+m.UNDERSCORE_IDENT_RE,relevance:0},{begin:/\{/,end:/\}/,relevance:0}]},e={beginKeywords:"fun receive if try case",end:"end",keywords:V};e.contains=[q,D,m.inherit(m.APOS_STRING_MODE,{className:""}),e,B,m.QUOTE_STRING_MODE,$,R,U,K,z];const ae=[q,D,e,B,m.QUOTE_STRING_MODE,$,R,U,K,z];B.contains[1].contains=ae,R.contains=ae,z.contains[1].contains=ae;const ie=["-module","-record","-undef","-export","-ifdef","-ifndef","-author","-copyright","-doc","-vsn","-import","-include","-include_lib","-compile","-define","-else","-endif","-file","-behaviour","-behavior","-spec"],he={className:"params",begin:"\\(",end:"\\)",contains:ae};return{name:"Erlang",aliases:["erl"],keywords:V,illegal:"(",returnBegin:!0,illegal:"\\(|#|//|/\\*|\\\\|:|;",contains:[he,m.inherit(m.TITLE_MODE,{begin:M})],starts:{end:";|\\.",keywords:V,contains:ae}},q,{begin:"^-",end:"\\.",relevance:0,excludeEnd:!0,returnBegin:!0,keywords:{$pattern:"-"+m.IDENT_RE,keyword:ie.map(J=>`${J}|1.5`).join(" ")},contains:[he]},$,m.QUOTE_STRING_MODE,z,U,K,R,{begin:/\.$/}]}}return erlang_1=k,erlang_1}var excel_1,hasRequiredExcel;function requireExcel(){if(hasRequiredExcel)return excel_1;hasRequiredExcel=1;function k(m){return{name:"Excel formulae",aliases:["xlsx","xls"],case_insensitive:!0,keywords:{$pattern:/[a-zA-Z][\w\.]*/,built_in:["ABS","ACCRINT","ACCRINTM","ACOS","ACOSH","ACOT","ACOTH","AGGREGATE","ADDRESS","AMORDEGRC","AMORLINC","AND","ARABIC","AREAS","ASC","ASIN","ASINH","ATAN","ATAN2","ATANH","AVEDEV","AVERAGE","AVERAGEA","AVERAGEIF","AVERAGEIFS","BAHTTEXT","BASE","BESSELI","BESSELJ","BESSELK","BESSELY","BETADIST","BETA.DIST","BETAINV","BETA.INV","BIN2DEC","BIN2HEX","BIN2OCT","BINOMDIST","BINOM.DIST","BINOM.DIST.RANGE","BINOM.INV","BITAND","BITLSHIFT","BITOR","BITRSHIFT","BITXOR","CALL","CEILING","CEILING.MATH","CEILING.PRECISE","CELL","CHAR","CHIDIST","CHIINV","CHITEST","CHISQ.DIST","CHISQ.DIST.RT","CHISQ.INV","CHISQ.INV.RT","CHISQ.TEST","CHOOSE","CLEAN","CODE","COLUMN","COLUMNS","COMBIN","COMBINA","COMPLEX","CONCAT","CONCATENATE","CONFIDENCE","CONFIDENCE.NORM","CONFIDENCE.T","CONVERT","CORREL","COS","COSH","COT","COTH","COUNT","COUNTA","COUNTBLANK","COUNTIF","COUNTIFS","COUPDAYBS","COUPDAYS","COUPDAYSNC","COUPNCD","COUPNUM","COUPPCD","COVAR","COVARIANCE.P","COVARIANCE.S","CRITBINOM","CSC","CSCH","CUBEKPIMEMBER","CUBEMEMBER","CUBEMEMBERPROPERTY","CUBERANKEDMEMBER","CUBESET","CUBESETCOUNT","CUBEVALUE","CUMIPMT","CUMPRINC","DATE","DATEDIF","DATEVALUE","DAVERAGE","DAY","DAYS","DAYS360","DB","DBCS","DCOUNT","DCOUNTA","DDB","DEC2BIN","DEC2HEX","DEC2OCT","DECIMAL","DEGREES","DELTA","DEVSQ","DGET","DISC","DMAX","DMIN","DOLLAR","DOLLARDE","DOLLARFR","DPRODUCT","DSTDEV","DSTDEVP","DSUM","DURATION","DVAR","DVARP","EDATE","EFFECT","ENCODEURL","EOMONTH","ERF","ERF.PRECISE","ERFC","ERFC.PRECISE","ERROR.TYPE","EUROCONVERT","EVEN","EXACT","EXP","EXPON.DIST","EXPONDIST","FACT","FACTDOUBLE","FALSE|0","F.DIST","FDIST","F.DIST.RT","FILTERXML","FIND","FINDB","F.INV","F.INV.RT","FINV","FISHER","FISHERINV","FIXED","FLOOR","FLOOR.MATH","FLOOR.PRECISE","FORECAST","FORECAST.ETS","FORECAST.ETS.CONFINT","FORECAST.ETS.SEASONALITY","FORECAST.ETS.STAT","FORECAST.LINEAR","FORMULATEXT","FREQUENCY","F.TEST","FTEST","FV","FVSCHEDULE","GAMMA","GAMMA.DIST","GAMMADIST","GAMMA.INV","GAMMAINV","GAMMALN","GAMMALN.PRECISE","GAUSS","GCD","GEOMEAN","GESTEP","GETPIVOTDATA","GROWTH","HARMEAN","HEX2BIN","HEX2DEC","HEX2OCT","HLOOKUP","HOUR","HYPERLINK","HYPGEOM.DIST","HYPGEOMDIST","IF","IFERROR","IFNA","IFS","IMABS","IMAGINARY","IMARGUMENT","IMCONJUGATE","IMCOS","IMCOSH","IMCOT","IMCSC","IMCSCH","IMDIV","IMEXP","IMLN","IMLOG10","IMLOG2","IMPOWER","IMPRODUCT","IMREAL","IMSEC","IMSECH","IMSIN","IMSINH","IMSQRT","IMSUB","IMSUM","IMTAN","INDEX","INDIRECT","INFO","INT","INTERCEPT","INTRATE","IPMT","IRR","ISBLANK","ISERR","ISERROR","ISEVEN","ISFORMULA","ISLOGICAL","ISNA","ISNONTEXT","ISNUMBER","ISODD","ISREF","ISTEXT","ISO.CEILING","ISOWEEKNUM","ISPMT","JIS","KURT","LARGE","LCM","LEFT","LEFTB","LEN","LENB","LINEST","LN","LOG","LOG10","LOGEST","LOGINV","LOGNORM.DIST","LOGNORMDIST","LOGNORM.INV","LOOKUP","LOWER","MATCH","MAX","MAXA","MAXIFS","MDETERM","MDURATION","MEDIAN","MID","MIDBs","MIN","MINIFS","MINA","MINUTE","MINVERSE","MIRR","MMULT","MOD","MODE","MODE.MULT","MODE.SNGL","MONTH","MROUND","MULTINOMIAL","MUNIT","N","NA","NEGBINOM.DIST","NEGBINOMDIST","NETWORKDAYS","NETWORKDAYS.INTL","NOMINAL","NORM.DIST","NORMDIST","NORMINV","NORM.INV","NORM.S.DIST","NORMSDIST","NORM.S.INV","NORMSINV","NOT","NOW","NPER","NPV","NUMBERVALUE","OCT2BIN","OCT2DEC","OCT2HEX","ODD","ODDFPRICE","ODDFYIELD","ODDLPRICE","ODDLYIELD","OFFSET","OR","PDURATION","PEARSON","PERCENTILE.EXC","PERCENTILE.INC","PERCENTILE","PERCENTRANK.EXC","PERCENTRANK.INC","PERCENTRANK","PERMUT","PERMUTATIONA","PHI","PHONETIC","PI","PMT","POISSON.DIST","POISSON","POWER","PPMT","PRICE","PRICEDISC","PRICEMAT","PROB","PRODUCT","PROPER","PV","QUARTILE","QUARTILE.EXC","QUARTILE.INC","QUOTIENT","RADIANS","RAND","RANDBETWEEN","RANK.AVG","RANK.EQ","RANK","RATE","RECEIVED","REGISTER.ID","REPLACE","REPLACEB","REPT","RIGHT","RIGHTB","ROMAN","ROUND","ROUNDDOWN","ROUNDUP","ROW","ROWS","RRI","RSQ","RTD","SEARCH","SEARCHB","SEC","SECH","SECOND","SERIESSUM","SHEET","SHEETS","SIGN","SIN","SINH","SKEW","SKEW.P","SLN","SLOPE","SMALL","SQL.REQUEST","SQRT","SQRTPI","STANDARDIZE","STDEV","STDEV.P","STDEV.S","STDEVA","STDEVP","STDEVPA","STEYX","SUBSTITUTE","SUBTOTAL","SUM","SUMIF","SUMIFS","SUMPRODUCT","SUMSQ","SUMX2MY2","SUMX2PY2","SUMXMY2","SWITCH","SYD","T","TAN","TANH","TBILLEQ","TBILLPRICE","TBILLYIELD","T.DIST","T.DIST.2T","T.DIST.RT","TDIST","TEXT","TEXTJOIN","TIME","TIMEVALUE","T.INV","T.INV.2T","TINV","TODAY","TRANSPOSE","TREND","TRIM","TRIMMEAN","TRUE|0","TRUNC","T.TEST","TTEST","TYPE","UNICHAR","UNICODE","UPPER","VALUE","VAR","VAR.P","VAR.S","VARA","VARP","VARPA","VDB","VLOOKUP","WEBSERVICE","WEEKDAY","WEEKNUM","WEIBULL","WEIBULL.DIST","WORKDAY","WORKDAY.INTL","XIRR","XNPV","XOR","YEAR","YEARFRAC","YIELD","YIELDDISC","YIELDMAT","Z.TEST","ZTEST"]},contains:[{begin:/^=/,end:/[^=]/,returnEnd:!0,illegal:/=/,relevance:10},{className:"symbol",begin:/\b[A-Z]{1,2}\d+\b/,end:/[^\d]/,excludeEnd:!0,relevance:0},{className:"symbol",begin:/[A-Z]{0,2}\d*:[A-Z]{0,2}\d*/,relevance:0},m.BACKSLASH_ESCAPE,m.QUOTE_STRING_MODE,{className:"number",begin:m.NUMBER_RE+"(%)?",relevance:0},m.COMMENT(/\bN\(/,/\)/,{excludeBegin:!0,excludeEnd:!0,illegal:/\n/})]}}return excel_1=k,excel_1}var fix_1,hasRequiredFix;function requireFix(){if(hasRequiredFix)return fix_1;hasRequiredFix=1;function k(m){return{name:"FIX",contains:[{begin:/[^\u2401\u0001]+/,end:/[\u2401\u0001]/,excludeEnd:!0,returnBegin:!0,returnEnd:!1,contains:[{begin:/([^\u2401\u0001=]+)/,end:/=([^\u2401\u0001=]+)/,returnEnd:!0,returnBegin:!1,className:"attr"},{begin:/=/,end:/([\u2401\u0001])/,excludeEnd:!0,excludeBegin:!0,className:"string"}]}],case_insensitive:!0}}return fix_1=k,fix_1}var flix_1,hasRequiredFlix;function requireFlix(){if(hasRequiredFlix)return flix_1;hasRequiredFlix=1;function k(m){const M={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},G={className:"string",variants:[{begin:'"',end:'"'}]},q={className:"function",beginKeywords:"def",end:/[:={\[(\n;]/,excludeEnd:!0,contains:[{className:"title",relevance:0,begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/}]};return{name:"Flix",keywords:{keyword:["case","class","def","else","enum","if","impl","import","in","lat","rel","index","let","match","namespace","switch","type","yield","with"],literal:["true","false"]},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,M,G,q,m.C_NUMBER_MODE]}}return flix_1=k,flix_1}var fortran_1,hasRequiredFortran;function requireFortran(){if(hasRequiredFortran)return fortran_1;hasRequiredFortran=1;function k(m){const M=m.regex,G={className:"params",begin:"\\(",end:"\\)"},V={variants:[m.COMMENT("!","$",{relevance:0}),m.COMMENT("^C[ ]","$",{relevance:0}),m.COMMENT("^C$","$",{relevance:0})]},q=/(_[a-z_\d]+)?/,$=/([de][+-]?\d+)?/,D={className:"number",variants:[{begin:M.concat(/\b\d+/,/\.(\d*)/,$,q)},{begin:M.concat(/\b\d+/,$,q)},{begin:M.concat(/\.\d+/,$,q)}],relevance:0},B={className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[m.UNDERSCORE_TITLE_MODE,G]},R={className:"string",relevance:0,variants:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]};return{name:"Fortran",case_insensitive:!0,aliases:["f90","f95"],keywords:{keyword:["kind","do","concurrent","local","shared","while","private","call","intrinsic","where","elsewhere","type","endtype","endmodule","endselect","endinterface","end","enddo","endif","if","forall","endforall","only","contains","default","return","stop","then","block","endblock","endassociate","public","subroutine|10","function","program",".and.",".or.",".not.",".le.",".eq.",".ge.",".gt.",".lt.","goto","save","else","use","module","select","case","access","blank","direct","exist","file","fmt","form","formatted","iostat","name","named","nextrec","number","opened","rec","recl","sequential","status","unformatted","unit","continue","format","pause","cycle","exit","c_null_char","c_alert","c_backspace","c_form_feed","flush","wait","decimal","round","iomsg","synchronous","nopass","non_overridable","pass","protected","volatile","abstract","extends","import","non_intrinsic","value","deferred","generic","final","enumerator","class","associate","bind","enum","c_int","c_short","c_long","c_long_long","c_signed_char","c_size_t","c_int8_t","c_int16_t","c_int32_t","c_int64_t","c_int_least8_t","c_int_least16_t","c_int_least32_t","c_int_least64_t","c_int_fast8_t","c_int_fast16_t","c_int_fast32_t","c_int_fast64_t","c_intmax_t","C_intptr_t","c_float","c_double","c_long_double","c_float_complex","c_double_complex","c_long_double_complex","c_bool","c_char","c_null_ptr","c_null_funptr","c_new_line","c_carriage_return","c_horizontal_tab","c_vertical_tab","iso_c_binding","c_loc","c_funloc","c_associated","c_f_pointer","c_ptr","c_funptr","iso_fortran_env","character_storage_size","error_unit","file_storage_size","input_unit","iostat_end","iostat_eor","numeric_storage_size","output_unit","c_f_procpointer","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","newunit","contiguous","recursive","pad","position","action","delim","readwrite","eor","advance","nml","interface","procedure","namelist","include","sequence","elemental","pure","impure","integer","real","character","complex","logical","codimension","dimension","allocatable|10","parameter","external","implicit|10","none","double","precision","assign","intent","optional","pointer","target","in","out","common","equivalence","data"],literal:[".False.",".True."],built_in:["alog","alog10","amax0","amax1","amin0","amin1","amod","cabs","ccos","cexp","clog","csin","csqrt","dabs","dacos","dasin","datan","datan2","dcos","dcosh","ddim","dexp","dint","dlog","dlog10","dmax1","dmin1","dmod","dnint","dsign","dsin","dsinh","dsqrt","dtan","dtanh","float","iabs","idim","idint","idnint","ifix","isign","max0","max1","min0","min1","sngl","algama","cdabs","cdcos","cdexp","cdlog","cdsin","cdsqrt","cqabs","cqcos","cqexp","cqlog","cqsin","cqsqrt","dcmplx","dconjg","derf","derfc","dfloat","dgamma","dimag","dlgama","iqint","qabs","qacos","qasin","qatan","qatan2","qcmplx","qconjg","qcos","qcosh","qdim","qerf","qerfc","qexp","qgamma","qimag","qlgama","qlog","qlog10","qmax1","qmin1","qmod","qnint","qsign","qsin","qsinh","qsqrt","qtan","qtanh","abs","acos","aimag","aint","anint","asin","atan","atan2","char","cmplx","conjg","cos","cosh","exp","ichar","index","int","log","log10","max","min","nint","sign","sin","sinh","sqrt","tan","tanh","print","write","dim","lge","lgt","lle","llt","mod","nullify","allocate","deallocate","adjustl","adjustr","all","allocated","any","associated","bit_size","btest","ceiling","count","cshift","date_and_time","digits","dot_product","eoshift","epsilon","exponent","floor","fraction","huge","iand","ibclr","ibits","ibset","ieor","ior","ishft","ishftc","lbound","len_trim","matmul","maxexponent","maxloc","maxval","merge","minexponent","minloc","minval","modulo","mvbits","nearest","pack","present","product","radix","random_number","random_seed","range","repeat","reshape","rrspacing","scale","scan","selected_int_kind","selected_real_kind","set_exponent","shape","size","spacing","spread","sum","system_clock","tiny","transpose","trim","ubound","unpack","verify","achar","iachar","transfer","dble","entry","dprod","cpu_time","command_argument_count","get_command","get_command_argument","get_environment_variable","is_iostat_end","ieee_arithmetic","ieee_support_underflow_control","ieee_get_underflow_mode","ieee_set_underflow_mode","is_iostat_eor","move_alloc","new_line","selected_char_kind","same_type_as","extends_type_of","acosh","asinh","atanh","bessel_j0","bessel_j1","bessel_jn","bessel_y0","bessel_y1","bessel_yn","erf","erfc","erfc_scaled","gamma","log_gamma","hypot","norm2","atomic_define","atomic_ref","execute_command_line","leadz","trailz","storage_size","merge_bits","bge","bgt","ble","blt","dshiftl","dshiftr","findloc","iall","iany","iparity","image_index","lcobound","ucobound","maskl","maskr","num_images","parity","popcnt","poppar","shifta","shiftl","shiftr","this_image","sync","change","team","co_broadcast","co_max","co_min","co_sum","co_reduce"]},illegal:/\/\*/,contains:[R,B,{begin:/^C\s*=(?!=)/,relevance:0},V,D]}}return fortran_1=k,fortran_1}var fsharp_1,hasRequiredFsharp;function requireFsharp(){if(hasRequiredFsharp)return fsharp_1;hasRequiredFsharp=1;function k(D){return new RegExp(D.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"),"m")}function m(D){return D?typeof D=="string"?D:D.source:null}function M(D){return G("(?=",D,")")}function G(...D){return D.map(R=>m(R)).join("")}function V(D){const B=D[D.length-1];return typeof B=="object"&&B.constructor===Object?(D.splice(D.length-1,1),B):{}}function q(...D){return"("+(V(D).capture?"":"?:")+D.map(U=>m(U)).join("|")+")"}function $(D){const B=["abstract","and","as","assert","base","begin","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","extern","finally","fixed","for","fun","function","global","if","in","inherit","inline","interface","internal","lazy","let","match","member","module","mutable","namespace","new","of","open","or","override","private","public","rec","return","static","struct","then","to","try","type","upcast","use","val","void","when","while","with","yield"],R={scope:"keyword",match:/\b(yield|return|let|do|match|use)!/},U=["if","else","endif","line","nowarn","light","r","i","I","load","time","help","quit"],K=["true","false","null","Some","None","Ok","Error","infinity","infinityf","nan","nanf"],z=["__LINE__","__SOURCE_DIRECTORY__","__SOURCE_FILE__"],e=["bool","byte","sbyte","int8","int16","int32","uint8","uint16","uint32","int","uint","int64","uint64","nativeint","unativeint","decimal","float","double","float32","single","char","string","unit","bigint","option","voption","list","array","seq","byref","exn","inref","nativeptr","obj","outref","voidptr","Result"],ie={keyword:B,literal:K,built_in:["not","ref","raise","reraise","dict","readOnlyDict","set","get","enum","sizeof","typeof","typedefof","nameof","nullArg","invalidArg","invalidOp","id","fst","snd","ignore","lock","using","box","unbox","tryUnbox","printf","printfn","sprintf","eprintf","eprintfn","fprintf","fprintfn","failwith","failwithf"],"variable.constant":z},J={variants:[D.COMMENT(/\(\*(?!\))/,/\*\)/,{contains:["self"]}),D.C_LINE_COMMENT_MODE]},W=/[a-zA-Z_](\w|')*/,X={scope:"variable",begin:/``/,end:/``/},L=/\B('|\^)/,Q={scope:"symbol",variants:[{match:G(L,/``.*?``/)},{match:G(L,D.UNDERSCORE_IDENT_RE)}],relevance:0},ce=function({includeEqual:Te}){let Fe;Te?Fe="!%&*+-/<=>@^|~?":Fe="!%&*+-/<>@^|~?";const Pe=Array.from(Fe),we=G("[",...Pe.map(k),"]"),Ie=q(we,/\./),Be=G(Ie,M(Ie)),Ke=q(G(Be,Ie,"*"),G(we,"+"));return{scope:"operator",match:q(Ke,/:\?>/,/:\?/,/:>/,/:=/,/::?/,/\$/),relevance:0}},de=ce({includeEqual:!0}),se=ce({includeEqual:!1}),oe=function(Te,Fe){return{begin:G(Te,M(G(/\s*/,q(/\w/,/'/,/\^/,/#/,/``/,/\(/,/{\|/)))),beginScope:Fe,end:M(q(/\n/,/=/)),relevance:0,keywords:D.inherit(ie,{type:e}),contains:[J,Q,D.inherit(X,{scope:null}),se]}},me=oe(/:/,"operator"),Ee=oe(/\bof\b/,"keyword"),ke={begin:[/(^|\s+)/,/type/,/\s+/,W],beginScope:{2:"keyword",4:"title.class"},end:M(/\(|=|$/),keywords:ie,contains:[J,D.inherit(X,{scope:null}),Q,{scope:"operator",match:/<|>/},me]},xe={scope:"computation-expression",match:/\b[_a-z]\w*(?=\s*\{)/},fe={begin:[/^\s*/,G(/#/,q(...U)),/\b/],beginScope:{2:"meta"},end:M(/\s|$/)},ve={variants:[D.BINARY_NUMBER_MODE,D.C_NUMBER_MODE]},ye={scope:"string",begin:/"/,end:/"/,contains:[D.BACKSLASH_ESCAPE]},Ce={scope:"string",begin:/@"/,end:/"/,contains:[{match:/""/},D.BACKSLASH_ESCAPE]},pe={scope:"string",begin:/"""/,end:/"""/,relevance:2},_e={scope:"subst",begin:/\{/,end:/\}/,keywords:ie},Ge={scope:"string",begin:/\$"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},D.BACKSLASH_ESCAPE,_e]},Ae={scope:"string",begin:/(\$@|@\$)"/,end:/"/,contains:[{match:/\{\{/},{match:/\}\}/},{match:/""/},D.BACKSLASH_ESCAPE,_e]},Ne={scope:"string",begin:/\$"""/,end:/"""/,contains:[{match:/\{\{/},{match:/\}\}/},_e],relevance:2},Ze={scope:"string",match:G(/'/,q(/[^\\']/,/\\(?:.|\d{3}|x[a-fA-F\d]{2}|u[a-fA-F\d]{4}|U[a-fA-F\d]{8})/),/'/)};return _e.contains=[Ae,Ge,Ce,ye,Ze,R,J,X,me,xe,fe,ve,Q,de],{name:"F#",aliases:["fs","f#"],keywords:ie,illegal:/\/\*/,classNameAliases:{"computation-expression":"keyword"},contains:[R,{variants:[Ne,Ae,Ge,pe,Ce,ye,Ze]},J,X,ke,{scope:"meta",begin:/\[\]/,relevance:2,contains:[X,pe,Ce,ye,Ze,ve]},Ee,me,xe,fe,ve,Q,de]}}return fsharp_1=$,fsharp_1}var gams_1,hasRequiredGams;function requireGams(){if(hasRequiredGams)return gams_1;hasRequiredGams=1;function k(m){const M=m.regex,G={keyword:"abort acronym acronyms alias all and assign binary card diag display else eq file files for free ge gt if integer le loop lt maximizing minimizing model models ne negative no not option options or ord positive prod put putpage puttl repeat sameas semicont semiint smax smin solve sos1 sos2 sum system table then until using while xor yes",literal:"eps inf na",built_in:"abs arccos arcsin arctan arctan2 Beta betaReg binomial ceil centropy cos cosh cvPower div div0 eDist entropy errorf execSeed exp fact floor frac gamma gammaReg log logBeta logGamma log10 log2 mapVal max min mod ncpCM ncpF ncpVUpow ncpVUsin normal pi poly power randBinomial randLinear randTriangle round rPower sigmoid sign signPower sin sinh slexp sllog10 slrec sqexp sqlog10 sqr sqrec sqrt tan tanh trunc uniform uniformInt vcPower bool_and bool_eqv bool_imp bool_not bool_or bool_xor ifThen rel_eq rel_ge rel_gt rel_le rel_lt rel_ne gday gdow ghour gleap gmillisec gminute gmonth gsecond gyear jdate jnow jstart jtime errorLevel execError gamsRelease gamsVersion handleCollect handleDelete handleStatus handleSubmit heapFree heapLimit heapSize jobHandle jobKill jobStatus jobTerminate licenseLevel licenseStatus maxExecError sleep timeClose timeComp timeElapsed timeExec timeStart"},V={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},q={className:"symbol",variants:[{begin:/=[lgenxc]=/},{begin:/\$/}]},$={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[m.BACKSLASH_ESCAPE]},D={begin:"/",end:"/",keywords:G,contains:[$,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,m.C_NUMBER_MODE]},B=/[a-z0-9&#*=?@\\><:,()$[\]_.{}!+%^-]+/,R={begin:/[a-z][a-z0-9_]*(\([a-z0-9_, ]*\))?[ \t]+/,excludeBegin:!0,end:"$",endsWithParent:!0,contains:[$,D,{className:"comment",begin:M.concat(B,M.anyNumberOfTimes(M.concat(/[ ]+/,B))),relevance:0}]};return{name:"GAMS",aliases:["gms"],case_insensitive:!0,keywords:G,contains:[m.COMMENT(/^\$ontext/,/^\$offtext/),{className:"meta",begin:"^\\$[a-z0-9]+",end:"$",returnBegin:!0,contains:[{className:"keyword",begin:"^\\$[a-z0-9]+"}]},m.COMMENT("^\\*","$"),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,{beginKeywords:"set sets parameter parameters variable variables scalar scalars equation equations",end:";",contains:[m.COMMENT("^\\*","$"),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,D,R]},{beginKeywords:"table",end:";",returnBegin:!0,contains:[{beginKeywords:"table",end:"$",contains:[R]},m.COMMENT("^\\*","$"),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,m.C_NUMBER_MODE]},{className:"function",begin:/^[a-z][a-z0-9_,\-+' ()$]+\.{2}/,returnBegin:!0,contains:[{className:"title",begin:/^[a-z0-9_]+/},V,q]},m.C_NUMBER_MODE,q]}}return gams_1=k,gams_1}var gauss_1,hasRequiredGauss;function requireGauss(){if(hasRequiredGauss)return gauss_1;hasRequiredGauss=1;function k(m){const M={keyword:"bool break call callexe checkinterrupt clear clearg closeall cls comlog compile continue create debug declare delete disable dlibrary dllcall do dos ed edit else elseif enable end endfor endif endp endo errorlog errorlogat expr external fn for format goto gosub graph if keyword let lib library line load loadarray loadexe loadf loadk loadm loadp loads loadx local locate loopnextindex lprint lpwidth lshow matrix msym ndpclex new open output outwidth plot plotsym pop prcsn print printdos proc push retp return rndcon rndmod rndmult rndseed run save saveall screen scroll setarray show sparse stop string struct system trace trap threadfor threadendfor threadbegin threadjoin threadstat threadend until use while winprint ne ge le gt lt and xor or not eq eqv",built_in:"abs acf aconcat aeye amax amean AmericanBinomCall AmericanBinomCall_Greeks AmericanBinomCall_ImpVol AmericanBinomPut AmericanBinomPut_Greeks AmericanBinomPut_ImpVol AmericanBSCall AmericanBSCall_Greeks AmericanBSCall_ImpVol AmericanBSPut AmericanBSPut_Greeks AmericanBSPut_ImpVol amin amult annotationGetDefaults annotationSetBkd annotationSetFont annotationSetLineColor annotationSetLineStyle annotationSetLineThickness annualTradingDays arccos arcsin areshape arrayalloc arrayindex arrayinit arraytomat asciiload asclabel astd astds asum atan atan2 atranspose axmargin balance band bandchol bandcholsol bandltsol bandrv bandsolpd bar base10 begwind besselj bessely beta box boxcox cdfBeta cdfBetaInv cdfBinomial cdfBinomialInv cdfBvn cdfBvn2 cdfBvn2e cdfCauchy cdfCauchyInv cdfChic cdfChii cdfChinc cdfChincInv cdfExp cdfExpInv cdfFc cdfFnc cdfFncInv cdfGam cdfGenPareto cdfHyperGeo cdfLaplace cdfLaplaceInv cdfLogistic cdfLogisticInv cdfmControlCreate cdfMvn cdfMvn2e cdfMvnce cdfMvne cdfMvt2e cdfMvtce cdfMvte cdfN cdfN2 cdfNc cdfNegBinomial cdfNegBinomialInv cdfNi cdfPoisson cdfPoissonInv cdfRayleigh cdfRayleighInv cdfTc cdfTci cdfTnc cdfTvn cdfWeibull cdfWeibullInv cdir ceil ChangeDir chdir chiBarSquare chol choldn cholsol cholup chrs close code cols colsf combinate combinated complex con cond conj cons ConScore contour conv convertsatostr convertstrtosa corrm corrms corrvc corrx corrxs cos cosh counts countwts crossprd crout croutp csrcol csrlin csvReadM csvReadSA cumprodc cumsumc curve cvtos datacreate datacreatecomplex datalist dataload dataloop dataopen datasave date datestr datestring datestrymd dayinyr dayofweek dbAddDatabase dbClose dbCommit dbCreateQuery dbExecQuery dbGetConnectOptions dbGetDatabaseName dbGetDriverName dbGetDrivers dbGetHostName dbGetLastErrorNum dbGetLastErrorText dbGetNumericalPrecPolicy dbGetPassword dbGetPort dbGetTableHeaders dbGetTables dbGetUserName dbHasFeature dbIsDriverAvailable dbIsOpen dbIsOpenError dbOpen dbQueryBindValue dbQueryClear dbQueryCols dbQueryExecPrepared dbQueryFetchAllM dbQueryFetchAllSA dbQueryFetchOneM dbQueryFetchOneSA dbQueryFinish dbQueryGetBoundValue dbQueryGetBoundValues dbQueryGetField dbQueryGetLastErrorNum dbQueryGetLastErrorText dbQueryGetLastInsertID dbQueryGetLastQuery dbQueryGetPosition dbQueryIsActive dbQueryIsForwardOnly dbQueryIsNull dbQueryIsSelect dbQueryIsValid dbQueryPrepare dbQueryRows dbQuerySeek dbQuerySeekFirst dbQuerySeekLast dbQuerySeekNext dbQuerySeekPrevious dbQuerySetForwardOnly dbRemoveDatabase dbRollback dbSetConnectOptions dbSetDatabaseName dbSetHostName dbSetNumericalPrecPolicy dbSetPort dbSetUserName dbTransaction DeleteFile delif delrows denseToSp denseToSpRE denToZero design det detl dfft dffti diag diagrv digamma doswin DOSWinCloseall DOSWinOpen dotfeq dotfeqmt dotfge dotfgemt dotfgt dotfgtmt dotfle dotflemt dotflt dotfltmt dotfne dotfnemt draw drop dsCreate dstat dstatmt dstatmtControlCreate dtdate dtday dttime dttodtv dttostr dttoutc dtvnormal dtvtodt dtvtoutc dummy dummybr dummydn eig eigh eighv eigv elapsedTradingDays endwind envget eof eqSolve eqSolvemt eqSolvemtControlCreate eqSolvemtOutCreate eqSolveset erf erfc erfccplx erfcplx error etdays ethsec etstr EuropeanBinomCall EuropeanBinomCall_Greeks EuropeanBinomCall_ImpVol EuropeanBinomPut EuropeanBinomPut_Greeks EuropeanBinomPut_ImpVol EuropeanBSCall EuropeanBSCall_Greeks EuropeanBSCall_ImpVol EuropeanBSPut EuropeanBSPut_Greeks EuropeanBSPut_ImpVol exctsmpl exec execbg exp extern eye fcheckerr fclearerr feq feqmt fflush fft ffti fftm fftmi fftn fge fgemt fgets fgetsa fgetsat fgetst fgt fgtmt fileinfo filesa fle flemt floor flt fltmt fmod fne fnemt fonts fopen formatcv formatnv fputs fputst fseek fstrerror ftell ftocv ftos ftostrC gamma gammacplx gammaii gausset gdaAppend gdaCreate gdaDStat gdaDStatMat gdaGetIndex gdaGetName gdaGetNames gdaGetOrders gdaGetType gdaGetTypes gdaGetVarInfo gdaIsCplx gdaLoad gdaPack gdaRead gdaReadByIndex gdaReadSome gdaReadSparse gdaReadStruct gdaReportVarInfo gdaSave gdaUpdate gdaUpdateAndPack gdaVars gdaWrite gdaWrite32 gdaWriteSome getarray getdims getf getGAUSShome getmatrix getmatrix4D getname getnamef getNextTradingDay getNextWeekDay getnr getorders getpath getPreviousTradingDay getPreviousWeekDay getRow getscalar3D getscalar4D getTrRow getwind glm gradcplx gradMT gradMTm gradMTT gradMTTm gradp graphprt graphset hasimag header headermt hess hessMT hessMTg hessMTgw hessMTm hessMTmw hessMTT hessMTTg hessMTTgw hessMTTm hessMTw hessp hist histf histp hsec imag indcv indexcat indices indices2 indicesf indicesfn indnv indsav integrate1d integrateControlCreate intgrat2 intgrat3 inthp1 inthp2 inthp3 inthp4 inthpControlCreate intquad1 intquad2 intquad3 intrleav intrleavsa intrsect intsimp inv invpd invswp iscplx iscplxf isden isinfnanmiss ismiss key keyav keyw lag lag1 lagn lapEighb lapEighi lapEighvb lapEighvi lapgEig lapgEigh lapgEighv lapgEigv lapgSchur lapgSvdcst lapgSvds lapgSvdst lapSvdcusv lapSvds lapSvdusv ldlp ldlsol linSolve listwise ln lncdfbvn lncdfbvn2 lncdfmvn lncdfn lncdfn2 lncdfnc lnfact lngammacplx lnpdfmvn lnpdfmvt lnpdfn lnpdft loadd loadstruct loadwind loess loessmt loessmtControlCreate log loglog logx logy lower lowmat lowmat1 ltrisol lu lusol machEpsilon make makevars makewind margin matalloc matinit mattoarray maxbytes maxc maxindc maxv maxvec mbesselei mbesselei0 mbesselei1 mbesseli mbesseli0 mbesseli1 meanc median mergeby mergevar minc minindc minv miss missex missrv moment momentd movingave movingaveExpwgt movingaveWgt nextindex nextn nextnevn nextwind ntos null null1 numCombinations ols olsmt olsmtControlCreate olsqr olsqr2 olsqrmt ones optn optnevn orth outtyp pacf packedToSp packr parse pause pdfCauchy pdfChi pdfExp pdfGenPareto pdfHyperGeo pdfLaplace pdfLogistic pdfn pdfPoisson pdfRayleigh pdfWeibull pi pinv pinvmt plotAddArrow plotAddBar plotAddBox plotAddHist plotAddHistF plotAddHistP plotAddPolar plotAddScatter plotAddShape plotAddTextbox plotAddTS plotAddXY plotArea plotBar plotBox plotClearLayout plotContour plotCustomLayout plotGetDefaults plotHist plotHistF plotHistP plotLayout plotLogLog plotLogX plotLogY plotOpenWindow plotPolar plotSave plotScatter plotSetAxesPen plotSetBar plotSetBarFill plotSetBarStacked plotSetBkdColor plotSetFill plotSetGrid plotSetLegend plotSetLineColor plotSetLineStyle plotSetLineSymbol plotSetLineThickness plotSetNewWindow plotSetTitle plotSetWhichYAxis plotSetXAxisShow plotSetXLabel plotSetXRange plotSetXTicInterval plotSetXTicLabel plotSetYAxisShow plotSetYLabel plotSetYRange plotSetZAxisShow plotSetZLabel plotSurface plotTS plotXY polar polychar polyeval polygamma polyint polymake polymat polymroot polymult polyroot pqgwin previousindex princomp printfm printfmt prodc psi putarray putf putvals pvCreate pvGetIndex pvGetParNames pvGetParVector pvLength pvList pvPack pvPacki pvPackm pvPackmi pvPacks pvPacksi pvPacksm pvPacksmi pvPutParVector pvTest pvUnpack QNewton QNewtonmt QNewtonmtControlCreate QNewtonmtOutCreate QNewtonSet QProg QProgmt QProgmtInCreate qqr qqre qqrep qr qre qrep qrsol qrtsol qtyr qtyre qtyrep quantile quantiled qyr qyre qyrep qz rank rankindx readr real reclassify reclassifyCuts recode recserar recsercp recserrc rerun rescale reshape rets rev rfft rffti rfftip rfftn rfftnp rfftp rndBernoulli rndBeta rndBinomial rndCauchy rndChiSquare rndCon rndCreateState rndExp rndGamma rndGeo rndGumbel rndHyperGeo rndi rndKMbeta rndKMgam rndKMi rndKMn rndKMnb rndKMp rndKMu rndKMvm rndLaplace rndLCbeta rndLCgam rndLCi rndLCn rndLCnb rndLCp rndLCu rndLCvm rndLogNorm rndMTu rndMVn rndMVt rndn rndnb rndNegBinomial rndp rndPoisson rndRayleigh rndStateSkip rndu rndvm rndWeibull rndWishart rotater round rows rowsf rref sampleData satostrC saved saveStruct savewind scale scale3d scalerr scalinfnanmiss scalmiss schtoc schur searchsourcepath seekr select selif seqa seqm setdif setdifsa setvars setvwrmode setwind shell shiftr sin singleindex sinh sleep solpd sortc sortcc sortd sorthc sorthcc sortind sortindc sortmc sortr sortrc spBiconjGradSol spChol spConjGradSol spCreate spDenseSubmat spDiagRvMat spEigv spEye spLDL spline spLU spNumNZE spOnes spreadSheetReadM spreadSheetReadSA spreadSheetWrite spScale spSubmat spToDense spTrTDense spTScalar spZeros sqpSolve sqpSolveMT sqpSolveMTControlCreate sqpSolveMTlagrangeCreate sqpSolveMToutCreate sqpSolveSet sqrt statements stdc stdsc stocv stof strcombine strindx strlen strput strrindx strsect strsplit strsplitPad strtodt strtof strtofcplx strtriml strtrimr strtrunc strtruncl strtruncpad strtruncr submat subscat substute subvec sumc sumr surface svd svd1 svd2 svdcusv svds svdusv sysstate tab tan tanh tempname time timedt timestr timeutc title tkf2eps tkf2ps tocart todaydt toeplitz token topolar trapchk trigamma trimr trunc type typecv typef union unionsa uniqindx uniqindxsa unique uniquesa upmat upmat1 upper utctodt utctodtv utrisol vals varCovMS varCovXS varget vargetl varmall varmares varput varputl vartypef vcm vcms vcx vcxs vec vech vecr vector vget view viewxyz vlist vnamecv volume vput vread vtypecv wait waitc walkindex where window writer xlabel xlsGetSheetCount xlsGetSheetSize xlsGetSheetTypes xlsMakeRange xlsReadM xlsReadSA xlsWrite xlsWriteM xlsWriteSA xpnd xtics xy xyz ylabel ytics zeros zeta zlabel ztics cdfEmpirical dot h5create h5open h5read h5readAttribute h5write h5writeAttribute ldl plotAddErrorBar plotAddSurface plotCDFEmpirical plotSetColormap plotSetContourLabels plotSetLegendFont plotSetTextInterpreter plotSetXTicCount plotSetYTicCount plotSetZLevels powerm strjoin sylvester strtrim",literal:"DB_AFTER_LAST_ROW DB_ALL_TABLES DB_BATCH_OPERATIONS DB_BEFORE_FIRST_ROW DB_BLOB DB_EVENT_NOTIFICATIONS DB_FINISH_QUERY DB_HIGH_PRECISION DB_LAST_INSERT_ID DB_LOW_PRECISION_DOUBLE DB_LOW_PRECISION_INT32 DB_LOW_PRECISION_INT64 DB_LOW_PRECISION_NUMBERS DB_MULTIPLE_RESULT_SETS DB_NAMED_PLACEHOLDERS DB_POSITIONAL_PLACEHOLDERS DB_PREPARED_QUERIES DB_QUERY_SIZE DB_SIMPLE_LOCKING DB_SYSTEM_TABLES DB_TABLES DB_TRANSACTIONS DB_UNICODE DB_VIEWS __STDIN __STDOUT __STDERR __FILE_DIR"},G=m.COMMENT("@","@"),V={className:"meta",begin:"#",end:"$",keywords:{keyword:"define definecs|10 undef ifdef ifndef iflight ifdllcall ifmac ifos2win ifunix else endif lineson linesoff srcfile srcline"},contains:[{begin:/\\\n/,relevance:0},{beginKeywords:"include",end:"$",keywords:{keyword:"include"},contains:[{className:"string",begin:'"',end:'"',illegal:"\\n"}]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,G]},q={begin:/\bstruct\s+/,end:/\s/,keywords:"struct",contains:[{className:"type",begin:m.UNDERSCORE_IDENT_RE,relevance:0}]},$=[{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,endsWithParent:!0,relevance:0,contains:[{className:"literal",begin:/\.\.\./},m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE,G,q]}],D={className:"title",begin:m.UNDERSCORE_IDENT_RE,relevance:0},B=function(e,ae,ie){const he=m.inherit({className:"function",beginKeywords:e,end:ae,excludeEnd:!0,contains:[].concat($)},ie||{});return he.contains.push(D),he.contains.push(m.C_NUMBER_MODE),he.contains.push(m.C_BLOCK_COMMENT_MODE),he.contains.push(G),he},R={className:"built_in",begin:"\\b("+M.built_in.split(" ").join("|")+")\\b"},U={className:"string",begin:'"',end:'"',contains:[m.BACKSLASH_ESCAPE],relevance:0},K={begin:m.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,keywords:M,relevance:0,contains:[{beginKeywords:M.keyword},R,{className:"built_in",begin:m.UNDERSCORE_IDENT_RE,relevance:0}]},z={begin:/\(/,end:/\)/,relevance:0,keywords:{built_in:M.built_in,literal:M.literal},contains:[m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE,G,R,K,U,"self"]};return K.contains.push(z),{name:"GAUSS",aliases:["gss"],case_insensitive:!0,keywords:M,illegal:/(\{[%#]|[%#]\}| <- )/,contains:[m.C_NUMBER_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,G,U,V,{className:"keyword",begin:/\bexternal (matrix|string|array|sparse matrix|struct|proc|keyword|fn)/},B("proc keyword",";"),B("fn","="),{beginKeywords:"for threadfor",end:/;/,relevance:0,contains:[m.C_BLOCK_COMMENT_MODE,G,z]},{variants:[{begin:m.UNDERSCORE_IDENT_RE+"\\."+m.UNDERSCORE_IDENT_RE},{begin:m.UNDERSCORE_IDENT_RE+"\\s*="}],relevance:0},K,q]}}return gauss_1=k,gauss_1}var gcode_1,hasRequiredGcode;function requireGcode(){if(hasRequiredGcode)return gcode_1;hasRequiredGcode=1;function k(m){const M="[A-Z_][A-Z0-9_.]*",G="%",V={$pattern:M,keyword:"IF DO WHILE ENDWHILE CALL ENDIF SUB ENDSUB GOTO REPEAT ENDREPEAT EQ LT GT NE GE LE OR XOR"},q={className:"meta",begin:"([O])([0-9]+)"},$=m.inherit(m.C_NUMBER_MODE,{begin:"([-+]?((\\.\\d+)|(\\d+)(\\.\\d*)?))|"+m.C_NUMBER_RE}),D=[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.COMMENT(/\(/,/\)/),$,m.inherit(m.APOS_STRING_MODE,{illegal:null}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{className:"name",begin:"([G])([0-9]+\\.?[0-9]?)"},{className:"name",begin:"([M])([0-9]+\\.?[0-9]?)"},{className:"attr",begin:"(VC|VS|#)",end:"(\\d+)"},{className:"attr",begin:"(VZOFX|VZOFY|VZOFZ)"},{className:"built_in",begin:"(ATAN|ABS|ACOS|ASIN|SIN|COS|EXP|FIX|FUP|ROUND|LN|TAN)(\\[)",contains:[$],end:"\\]"},{className:"symbol",variants:[{begin:"N",end:"\\d+",illegal:"\\W"}]}];return{name:"G-code (ISO 6983)",aliases:["nc"],case_insensitive:!0,keywords:V,contains:[{className:"meta",begin:G},q].concat(D)}}return gcode_1=k,gcode_1}var gherkin_1,hasRequiredGherkin;function requireGherkin(){if(hasRequiredGherkin)return gherkin_1;hasRequiredGherkin=1;function k(m){return{name:"Gherkin",aliases:["feature"],keywords:"Feature Background Ability Business Need Scenario Scenarios Scenario Outline Scenario Template Examples Given And Then But When",contains:[{className:"symbol",begin:"\\*",relevance:0},{className:"meta",begin:"@[^@\\s]+"},{begin:"\\|",end:"\\|\\w*$",contains:[{className:"string",begin:"[^|]+"}]},{className:"variable",begin:"<",end:">"},m.HASH_COMMENT_MODE,{className:"string",begin:'"""',end:'"""'},m.QUOTE_STRING_MODE]}}return gherkin_1=k,gherkin_1}var glsl_1,hasRequiredGlsl;function requireGlsl(){if(hasRequiredGlsl)return glsl_1;hasRequiredGlsl=1;function k(m){return{name:"GLSL",keywords:{keyword:"break continue discard do else for if return while switch case default attribute binding buffer ccw centroid centroid varying coherent column_major const cw depth_any depth_greater depth_less depth_unchanged early_fragment_tests equal_spacing flat fractional_even_spacing fractional_odd_spacing highp in index inout invariant invocations isolines layout line_strip lines lines_adjacency local_size_x local_size_y local_size_z location lowp max_vertices mediump noperspective offset origin_upper_left out packed patch pixel_center_integer point_mode points precise precision quads r11f_g11f_b10f r16 r16_snorm r16f r16i r16ui r32f r32i r32ui r8 r8_snorm r8i r8ui readonly restrict rg16 rg16_snorm rg16f rg16i rg16ui rg32f rg32i rg32ui rg8 rg8_snorm rg8i rg8ui rgb10_a2 rgb10_a2ui rgba16 rgba16_snorm rgba16f rgba16i rgba16ui rgba32f rgba32i rgba32ui rgba8 rgba8_snorm rgba8i rgba8ui row_major sample shared smooth std140 std430 stream triangle_strip triangles triangles_adjacency uniform varying vertices volatile writeonly",type:"atomic_uint bool bvec2 bvec3 bvec4 dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 double dvec2 dvec3 dvec4 float iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray int isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow image1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D samplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 vec2 vec3 vec4 void",built_in:"gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxComputeAtomicCounterBuffers gl_MaxComputeAtomicCounters gl_MaxComputeImageUniforms gl_MaxComputeTextureImageUnits gl_MaxComputeUniformComponents gl_MaxComputeWorkGroupCount gl_MaxComputeWorkGroupSize gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentInputVectors gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexOutputVectors gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffset gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_GlobalInvocationID gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_LocalInvocationID gl_LocalInvocationIndex gl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_NumSamples gl_NumWorkGroups gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrix gl_TextureMatrixInverse gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_WorkGroupID gl_WorkGroupSize gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicAdd atomicAnd atomicCompSwap atomicCounter atomicCounterDecrement atomicCounterIncrement atomicExchange atomicMax atomicMin atomicOr atomicXor barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual groupMemoryBarrier imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageSize imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier memoryBarrierAtomicCounter memoryBarrierBuffer memoryBarrierImage memoryBarrierShared min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLevels textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow",literal:"true false"},illegal:'"',contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.C_NUMBER_MODE,{className:"meta",begin:"#",end:"$"}]}}return glsl_1=k,glsl_1}var gml_1,hasRequiredGml;function requireGml(){if(hasRequiredGml)return gml_1;hasRequiredGml=1;function k(m){return{name:"GML",case_insensitive:!1,keywords:{keyword:["#endregion","#macro","#region","and","begin","break","case","constructor","continue","default","delete","div","do","else","end","enum","exit","for","function","globalvar","if","mod","not","or","repeat","return","switch","then","until","var","while","with","xor"],built_in:["abs","achievement_available","achievement_event","achievement_get_challenges","achievement_get_info","achievement_get_pic","achievement_increment","achievement_load_friends","achievement_load_leaderboard","achievement_load_progress","achievement_login","achievement_login_status","achievement_logout","achievement_post","achievement_post_score","achievement_reset","achievement_send_challenge","achievement_show","achievement_show_achievements","achievement_show_challenge_notifications","achievement_show_leaderboards","action_inherited","action_kill_object","ads_disable","ads_enable","ads_engagement_active","ads_engagement_available","ads_engagement_launch","ads_event","ads_event_preload","ads_get_display_height","ads_get_display_width","ads_interstitial_available","ads_interstitial_display","ads_move","ads_set_reward_callback","ads_setup","alarm_get","alarm_set","analytics_event","analytics_event_ext","angle_difference","ansi_char","application_get_position","application_surface_draw_enable","application_surface_enable","application_surface_is_enabled","arccos","arcsin","arctan","arctan2","array_copy","array_create","array_delete","array_equals","array_height_2d","array_insert","array_length","array_length_1d","array_length_2d","array_pop","array_push","array_resize","array_sort","asset_get_index","asset_get_type","audio_channel_num","audio_create_buffer_sound","audio_create_play_queue","audio_create_stream","audio_create_sync_group","audio_debug","audio_destroy_stream","audio_destroy_sync_group","audio_emitter_create","audio_emitter_exists","audio_emitter_falloff","audio_emitter_free","audio_emitter_gain","audio_emitter_get_gain","audio_emitter_get_listener_mask","audio_emitter_get_pitch","audio_emitter_get_vx","audio_emitter_get_vy","audio_emitter_get_vz","audio_emitter_get_x","audio_emitter_get_y","audio_emitter_get_z","audio_emitter_pitch","audio_emitter_position","audio_emitter_set_listener_mask","audio_emitter_velocity","audio_exists","audio_falloff_set_model","audio_free_buffer_sound","audio_free_play_queue","audio_get_listener_count","audio_get_listener_info","audio_get_listener_mask","audio_get_master_gain","audio_get_name","audio_get_recorder_count","audio_get_recorder_info","audio_get_type","audio_group_is_loaded","audio_group_load","audio_group_load_progress","audio_group_name","audio_group_set_gain","audio_group_stop_all","audio_group_unload","audio_is_paused","audio_is_playing","audio_listener_get_data","audio_listener_orientation","audio_listener_position","audio_listener_set_orientation","audio_listener_set_position","audio_listener_set_velocity","audio_listener_velocity","audio_master_gain","audio_music_gain","audio_music_is_playing","audio_pause_all","audio_pause_music","audio_pause_sound","audio_pause_sync_group","audio_play_in_sync_group","audio_play_music","audio_play_sound","audio_play_sound_at","audio_play_sound_on","audio_queue_sound","audio_resume_all","audio_resume_music","audio_resume_sound","audio_resume_sync_group","audio_set_listener_mask","audio_set_master_gain","audio_sound_gain","audio_sound_get_gain","audio_sound_get_listener_mask","audio_sound_get_pitch","audio_sound_get_track_position","audio_sound_length","audio_sound_pitch","audio_sound_set_listener_mask","audio_sound_set_track_position","audio_start_recording","audio_start_sync_group","audio_stop_all","audio_stop_music","audio_stop_recording","audio_stop_sound","audio_stop_sync_group","audio_sync_group_debug","audio_sync_group_get_track_pos","audio_sync_group_is_playing","audio_system","background_get_height","background_get_width","base64_decode","base64_encode","browser_input_capture","buffer_async_group_begin","buffer_async_group_end","buffer_async_group_option","buffer_base64_decode","buffer_base64_decode_ext","buffer_base64_encode","buffer_copy","buffer_copy_from_vertex_buffer","buffer_create","buffer_create_from_vertex_buffer","buffer_create_from_vertex_buffer_ext","buffer_delete","buffer_exists","buffer_fill","buffer_get_address","buffer_get_alignment","buffer_get_size","buffer_get_surface","buffer_get_type","buffer_load","buffer_load_async","buffer_load_ext","buffer_load_partial","buffer_md5","buffer_peek","buffer_poke","buffer_read","buffer_resize","buffer_save","buffer_save_async","buffer_save_ext","buffer_seek","buffer_set_surface","buffer_sha1","buffer_sizeof","buffer_tell","buffer_write","camera_apply","camera_create","camera_create_view","camera_destroy","camera_get_active","camera_get_begin_script","camera_get_default","camera_get_end_script","camera_get_proj_mat","camera_get_update_script","camera_get_view_angle","camera_get_view_border_x","camera_get_view_border_y","camera_get_view_height","camera_get_view_mat","camera_get_view_speed_x","camera_get_view_speed_y","camera_get_view_target","camera_get_view_width","camera_get_view_x","camera_get_view_y","camera_set_begin_script","camera_set_default","camera_set_end_script","camera_set_proj_mat","camera_set_update_script","camera_set_view_angle","camera_set_view_border","camera_set_view_mat","camera_set_view_pos","camera_set_view_size","camera_set_view_speed","camera_set_view_target","ceil","choose","chr","clamp","clickable_add","clickable_add_ext","clickable_change","clickable_change_ext","clickable_delete","clickable_exists","clickable_set_style","clipboard_get_text","clipboard_has_text","clipboard_set_text","cloud_file_save","cloud_string_save","cloud_synchronise","code_is_compiled","collision_circle","collision_circle_list","collision_ellipse","collision_ellipse_list","collision_line","collision_line_list","collision_point","collision_point_list","collision_rectangle","collision_rectangle_list","color_get_blue","color_get_green","color_get_hue","color_get_red","color_get_saturation","color_get_value","colour_get_blue","colour_get_green","colour_get_hue","colour_get_red","colour_get_saturation","colour_get_value","cos","darccos","darcsin","darctan","darctan2","date_compare_date","date_compare_datetime","date_compare_time","date_create_datetime","date_current_datetime","date_date_of","date_date_string","date_datetime_string","date_day_span","date_days_in_month","date_days_in_year","date_get_day","date_get_day_of_year","date_get_hour","date_get_hour_of_year","date_get_minute","date_get_minute_of_year","date_get_month","date_get_second","date_get_second_of_year","date_get_timezone","date_get_week","date_get_weekday","date_get_year","date_hour_span","date_inc_day","date_inc_hour","date_inc_minute","date_inc_month","date_inc_second","date_inc_week","date_inc_year","date_is_today","date_leap_year","date_minute_span","date_month_span","date_second_span","date_set_timezone","date_time_of","date_time_string","date_valid_datetime","date_week_span","date_year_span","dcos","debug_event","debug_get_callstack","degtorad","device_get_tilt_x","device_get_tilt_y","device_get_tilt_z","device_is_keypad_open","device_mouse_check_button","device_mouse_check_button_pressed","device_mouse_check_button_released","device_mouse_dbclick_enable","device_mouse_raw_x","device_mouse_raw_y","device_mouse_x","device_mouse_x_to_gui","device_mouse_y","device_mouse_y_to_gui","directory_create","directory_destroy","directory_exists","display_get_dpi_x","display_get_dpi_y","display_get_gui_height","display_get_gui_width","display_get_height","display_get_orientation","display_get_sleep_margin","display_get_timing_method","display_get_width","display_mouse_get_x","display_mouse_get_y","display_mouse_set","display_reset","display_set_gui_maximise","display_set_gui_maximize","display_set_gui_size","display_set_sleep_margin","display_set_timing_method","display_set_ui_visibility","distance_to_object","distance_to_point","dot_product","dot_product_3d","dot_product_3d_normalised","dot_product_3d_normalized","dot_product_normalised","dot_product_normalized","draw_arrow","draw_background","draw_background_ext","draw_background_part_ext","draw_background_tiled","draw_button","draw_circle","draw_circle_color","draw_circle_colour","draw_clear","draw_clear_alpha","draw_ellipse","draw_ellipse_color","draw_ellipse_colour","draw_enable_alphablend","draw_enable_drawevent","draw_enable_swf_aa","draw_flush","draw_get_alpha","draw_get_color","draw_get_colour","draw_get_lighting","draw_get_swf_aa_level","draw_getpixel","draw_getpixel_ext","draw_healthbar","draw_highscore","draw_light_define_ambient","draw_light_define_direction","draw_light_define_point","draw_light_enable","draw_light_get","draw_light_get_ambient","draw_line","draw_line_color","draw_line_colour","draw_line_width","draw_line_width_color","draw_line_width_colour","draw_path","draw_point","draw_point_color","draw_point_colour","draw_primitive_begin","draw_primitive_begin_texture","draw_primitive_end","draw_rectangle","draw_rectangle_color","draw_rectangle_colour","draw_roundrect","draw_roundrect_color","draw_roundrect_color_ext","draw_roundrect_colour","draw_roundrect_colour_ext","draw_roundrect_ext","draw_self","draw_set_alpha","draw_set_alpha_test","draw_set_alpha_test_ref_value","draw_set_blend_mode","draw_set_blend_mode_ext","draw_set_circle_precision","draw_set_color","draw_set_color_write_enable","draw_set_colour","draw_set_font","draw_set_halign","draw_set_lighting","draw_set_swf_aa_level","draw_set_valign","draw_skeleton","draw_skeleton_collision","draw_skeleton_instance","draw_skeleton_time","draw_sprite","draw_sprite_ext","draw_sprite_general","draw_sprite_part","draw_sprite_part_ext","draw_sprite_pos","draw_sprite_stretched","draw_sprite_stretched_ext","draw_sprite_tiled","draw_sprite_tiled_ext","draw_surface","draw_surface_ext","draw_surface_general","draw_surface_part","draw_surface_part_ext","draw_surface_stretched","draw_surface_stretched_ext","draw_surface_tiled","draw_surface_tiled_ext","draw_text","draw_text_color","draw_text_colour","draw_text_ext","draw_text_ext_color","draw_text_ext_colour","draw_text_ext_transformed","draw_text_ext_transformed_color","draw_text_ext_transformed_colour","draw_text_transformed","draw_text_transformed_color","draw_text_transformed_colour","draw_texture_flush","draw_tile","draw_tilemap","draw_triangle","draw_triangle_color","draw_triangle_colour","draw_vertex","draw_vertex_color","draw_vertex_colour","draw_vertex_texture","draw_vertex_texture_color","draw_vertex_texture_colour","ds_exists","ds_grid_add","ds_grid_add_disk","ds_grid_add_grid_region","ds_grid_add_region","ds_grid_clear","ds_grid_copy","ds_grid_create","ds_grid_destroy","ds_grid_get","ds_grid_get_disk_max","ds_grid_get_disk_mean","ds_grid_get_disk_min","ds_grid_get_disk_sum","ds_grid_get_max","ds_grid_get_mean","ds_grid_get_min","ds_grid_get_sum","ds_grid_height","ds_grid_multiply","ds_grid_multiply_disk","ds_grid_multiply_grid_region","ds_grid_multiply_region","ds_grid_read","ds_grid_resize","ds_grid_set","ds_grid_set_disk","ds_grid_set_grid_region","ds_grid_set_region","ds_grid_shuffle","ds_grid_sort","ds_grid_value_disk_exists","ds_grid_value_disk_x","ds_grid_value_disk_y","ds_grid_value_exists","ds_grid_value_x","ds_grid_value_y","ds_grid_width","ds_grid_write","ds_list_add","ds_list_clear","ds_list_copy","ds_list_create","ds_list_delete","ds_list_destroy","ds_list_empty","ds_list_find_index","ds_list_find_value","ds_list_insert","ds_list_mark_as_list","ds_list_mark_as_map","ds_list_read","ds_list_replace","ds_list_set","ds_list_shuffle","ds_list_size","ds_list_sort","ds_list_write","ds_map_add","ds_map_add_list","ds_map_add_map","ds_map_clear","ds_map_copy","ds_map_create","ds_map_delete","ds_map_destroy","ds_map_empty","ds_map_exists","ds_map_find_first","ds_map_find_last","ds_map_find_next","ds_map_find_previous","ds_map_find_value","ds_map_read","ds_map_replace","ds_map_replace_list","ds_map_replace_map","ds_map_secure_load","ds_map_secure_load_buffer","ds_map_secure_save","ds_map_secure_save_buffer","ds_map_set","ds_map_size","ds_map_write","ds_priority_add","ds_priority_change_priority","ds_priority_clear","ds_priority_copy","ds_priority_create","ds_priority_delete_max","ds_priority_delete_min","ds_priority_delete_value","ds_priority_destroy","ds_priority_empty","ds_priority_find_max","ds_priority_find_min","ds_priority_find_priority","ds_priority_read","ds_priority_size","ds_priority_write","ds_queue_clear","ds_queue_copy","ds_queue_create","ds_queue_dequeue","ds_queue_destroy","ds_queue_empty","ds_queue_enqueue","ds_queue_head","ds_queue_read","ds_queue_size","ds_queue_tail","ds_queue_write","ds_set_precision","ds_stack_clear","ds_stack_copy","ds_stack_create","ds_stack_destroy","ds_stack_empty","ds_stack_pop","ds_stack_push","ds_stack_read","ds_stack_size","ds_stack_top","ds_stack_write","dsin","dtan","effect_clear","effect_create_above","effect_create_below","environment_get_variable","event_inherited","event_perform","event_perform_object","event_user","exp","external_call","external_define","external_free","facebook_accesstoken","facebook_check_permission","facebook_dialog","facebook_graph_request","facebook_init","facebook_launch_offerwall","facebook_login","facebook_logout","facebook_post_message","facebook_request_publish_permissions","facebook_request_read_permissions","facebook_send_invite","facebook_status","facebook_user_id","file_attributes","file_bin_close","file_bin_open","file_bin_position","file_bin_read_byte","file_bin_rewrite","file_bin_seek","file_bin_size","file_bin_write_byte","file_copy","file_delete","file_exists","file_find_close","file_find_first","file_find_next","file_rename","file_text_close","file_text_eof","file_text_eoln","file_text_open_append","file_text_open_from_string","file_text_open_read","file_text_open_write","file_text_read_real","file_text_read_string","file_text_readln","file_text_write_real","file_text_write_string","file_text_writeln","filename_change_ext","filename_dir","filename_drive","filename_ext","filename_name","filename_path","floor","font_add","font_add_enable_aa","font_add_get_enable_aa","font_add_sprite","font_add_sprite_ext","font_delete","font_exists","font_get_bold","font_get_first","font_get_fontname","font_get_italic","font_get_last","font_get_name","font_get_size","font_get_texture","font_get_uvs","font_replace","font_replace_sprite","font_replace_sprite_ext","font_set_cache_size","font_texture_page_size","frac","game_end","game_get_speed","game_load","game_load_buffer","game_restart","game_save","game_save_buffer","game_set_speed","gamepad_axis_count","gamepad_axis_value","gamepad_button_check","gamepad_button_check_pressed","gamepad_button_check_released","gamepad_button_count","gamepad_button_value","gamepad_get_axis_deadzone","gamepad_get_button_threshold","gamepad_get_description","gamepad_get_device_count","gamepad_is_connected","gamepad_is_supported","gamepad_set_axis_deadzone","gamepad_set_button_threshold","gamepad_set_color","gamepad_set_colour","gamepad_set_vibration","gesture_double_tap_distance","gesture_double_tap_time","gesture_drag_distance","gesture_drag_time","gesture_flick_speed","gesture_get_double_tap_distance","gesture_get_double_tap_time","gesture_get_drag_distance","gesture_get_drag_time","gesture_get_flick_speed","gesture_get_pinch_angle_away","gesture_get_pinch_angle_towards","gesture_get_pinch_distance","gesture_get_rotate_angle","gesture_get_rotate_time","gesture_get_tap_count","gesture_pinch_angle_away","gesture_pinch_angle_towards","gesture_pinch_distance","gesture_rotate_angle","gesture_rotate_time","gesture_tap_count","get_integer","get_integer_async","get_login_async","get_open_filename","get_open_filename_ext","get_save_filename","get_save_filename_ext","get_string","get_string_async","get_timer","gml_pragma","gml_release_mode","gpu_get_alphatestenable","gpu_get_alphatestfunc","gpu_get_alphatestref","gpu_get_blendenable","gpu_get_blendmode","gpu_get_blendmode_dest","gpu_get_blendmode_destalpha","gpu_get_blendmode_ext","gpu_get_blendmode_ext_sepalpha","gpu_get_blendmode_src","gpu_get_blendmode_srcalpha","gpu_get_colorwriteenable","gpu_get_colourwriteenable","gpu_get_cullmode","gpu_get_fog","gpu_get_lightingenable","gpu_get_state","gpu_get_tex_filter","gpu_get_tex_filter_ext","gpu_get_tex_max_aniso","gpu_get_tex_max_aniso_ext","gpu_get_tex_max_mip","gpu_get_tex_max_mip_ext","gpu_get_tex_min_mip","gpu_get_tex_min_mip_ext","gpu_get_tex_mip_bias","gpu_get_tex_mip_bias_ext","gpu_get_tex_mip_enable","gpu_get_tex_mip_enable_ext","gpu_get_tex_mip_filter","gpu_get_tex_mip_filter_ext","gpu_get_tex_repeat","gpu_get_tex_repeat_ext","gpu_get_texfilter","gpu_get_texfilter_ext","gpu_get_texrepeat","gpu_get_texrepeat_ext","gpu_get_zfunc","gpu_get_ztestenable","gpu_get_zwriteenable","gpu_pop_state","gpu_push_state","gpu_set_alphatestenable","gpu_set_alphatestfunc","gpu_set_alphatestref","gpu_set_blendenable","gpu_set_blendmode","gpu_set_blendmode_ext","gpu_set_blendmode_ext_sepalpha","gpu_set_colorwriteenable","gpu_set_colourwriteenable","gpu_set_cullmode","gpu_set_fog","gpu_set_lightingenable","gpu_set_state","gpu_set_tex_filter","gpu_set_tex_filter_ext","gpu_set_tex_max_aniso","gpu_set_tex_max_aniso_ext","gpu_set_tex_max_mip","gpu_set_tex_max_mip_ext","gpu_set_tex_min_mip","gpu_set_tex_min_mip_ext","gpu_set_tex_mip_bias","gpu_set_tex_mip_bias_ext","gpu_set_tex_mip_enable","gpu_set_tex_mip_enable_ext","gpu_set_tex_mip_filter","gpu_set_tex_mip_filter_ext","gpu_set_tex_repeat","gpu_set_tex_repeat_ext","gpu_set_texfilter","gpu_set_texfilter_ext","gpu_set_texrepeat","gpu_set_texrepeat_ext","gpu_set_zfunc","gpu_set_ztestenable","gpu_set_zwriteenable","highscore_add","highscore_clear","highscore_name","highscore_value","http_get","http_get_file","http_post_string","http_request","iap_acquire","iap_activate","iap_consume","iap_enumerate_products","iap_product_details","iap_purchase_details","iap_restore_all","iap_status","ini_close","ini_key_delete","ini_key_exists","ini_open","ini_open_from_string","ini_read_real","ini_read_string","ini_section_delete","ini_section_exists","ini_write_real","ini_write_string","instance_activate_all","instance_activate_layer","instance_activate_object","instance_activate_region","instance_change","instance_copy","instance_create","instance_create_depth","instance_create_layer","instance_deactivate_all","instance_deactivate_layer","instance_deactivate_object","instance_deactivate_region","instance_destroy","instance_exists","instance_find","instance_furthest","instance_id_get","instance_nearest","instance_number","instance_place","instance_place_list","instance_position","instance_position_list","int64","io_clear","irandom","irandom_range","is_array","is_bool","is_infinity","is_int32","is_int64","is_matrix","is_method","is_nan","is_numeric","is_ptr","is_real","is_string","is_struct","is_undefined","is_vec3","is_vec4","json_decode","json_encode","keyboard_check","keyboard_check_direct","keyboard_check_pressed","keyboard_check_released","keyboard_clear","keyboard_get_map","keyboard_get_numlock","keyboard_key_press","keyboard_key_release","keyboard_set_map","keyboard_set_numlock","keyboard_unset_map","keyboard_virtual_height","keyboard_virtual_hide","keyboard_virtual_show","keyboard_virtual_status","layer_add_instance","layer_background_alpha","layer_background_blend","layer_background_change","layer_background_create","layer_background_destroy","layer_background_exists","layer_background_get_alpha","layer_background_get_blend","layer_background_get_htiled","layer_background_get_id","layer_background_get_index","layer_background_get_speed","layer_background_get_sprite","layer_background_get_stretch","layer_background_get_visible","layer_background_get_vtiled","layer_background_get_xscale","layer_background_get_yscale","layer_background_htiled","layer_background_index","layer_background_speed","layer_background_sprite","layer_background_stretch","layer_background_visible","layer_background_vtiled","layer_background_xscale","layer_background_yscale","layer_create","layer_depth","layer_destroy","layer_destroy_instances","layer_element_move","layer_exists","layer_force_draw_depth","layer_get_all","layer_get_all_elements","layer_get_depth","layer_get_element_layer","layer_get_element_type","layer_get_forced_depth","layer_get_hspeed","layer_get_id","layer_get_id_at_depth","layer_get_name","layer_get_script_begin","layer_get_script_end","layer_get_shader","layer_get_target_room","layer_get_visible","layer_get_vspeed","layer_get_x","layer_get_y","layer_has_instance","layer_hspeed","layer_instance_get_instance","layer_is_draw_depth_forced","layer_reset_target_room","layer_script_begin","layer_script_end","layer_set_target_room","layer_set_visible","layer_shader","layer_sprite_alpha","layer_sprite_angle","layer_sprite_blend","layer_sprite_change","layer_sprite_create","layer_sprite_destroy","layer_sprite_exists","layer_sprite_get_alpha","layer_sprite_get_angle","layer_sprite_get_blend","layer_sprite_get_id","layer_sprite_get_index","layer_sprite_get_speed","layer_sprite_get_sprite","layer_sprite_get_x","layer_sprite_get_xscale","layer_sprite_get_y","layer_sprite_get_yscale","layer_sprite_index","layer_sprite_speed","layer_sprite_x","layer_sprite_xscale","layer_sprite_y","layer_sprite_yscale","layer_tile_alpha","layer_tile_blend","layer_tile_change","layer_tile_create","layer_tile_destroy","layer_tile_exists","layer_tile_get_alpha","layer_tile_get_blend","layer_tile_get_region","layer_tile_get_sprite","layer_tile_get_visible","layer_tile_get_x","layer_tile_get_xscale","layer_tile_get_y","layer_tile_get_yscale","layer_tile_region","layer_tile_visible","layer_tile_x","layer_tile_xscale","layer_tile_y","layer_tile_yscale","layer_tilemap_create","layer_tilemap_destroy","layer_tilemap_exists","layer_tilemap_get_id","layer_vspeed","layer_x","layer_y","lengthdir_x","lengthdir_y","lerp","ln","load_csv","log10","log2","logn","make_color_hsv","make_color_rgb","make_colour_hsv","make_colour_rgb","math_get_epsilon","math_set_epsilon","matrix_build","matrix_build_identity","matrix_build_lookat","matrix_build_projection_ortho","matrix_build_projection_perspective","matrix_build_projection_perspective_fov","matrix_get","matrix_multiply","matrix_set","matrix_stack_clear","matrix_stack_is_empty","matrix_stack_multiply","matrix_stack_pop","matrix_stack_push","matrix_stack_set","matrix_stack_top","matrix_transform_vertex","max","md5_file","md5_string_unicode","md5_string_utf8","mean","median","merge_color","merge_colour","min","motion_add","motion_set","mouse_check_button","mouse_check_button_pressed","mouse_check_button_released","mouse_clear","mouse_wheel_down","mouse_wheel_up","move_bounce_all","move_bounce_solid","move_contact_all","move_contact_solid","move_outside_all","move_outside_solid","move_random","move_snap","move_towards_point","move_wrap","mp_grid_add_cell","mp_grid_add_instances","mp_grid_add_rectangle","mp_grid_clear_all","mp_grid_clear_cell","mp_grid_clear_rectangle","mp_grid_create","mp_grid_destroy","mp_grid_draw","mp_grid_get_cell","mp_grid_path","mp_grid_to_ds_grid","mp_linear_path","mp_linear_path_object","mp_linear_step","mp_linear_step_object","mp_potential_path","mp_potential_path_object","mp_potential_settings","mp_potential_step","mp_potential_step_object","network_connect","network_connect_raw","network_create_server","network_create_server_raw","network_create_socket","network_create_socket_ext","network_destroy","network_resolve","network_send_broadcast","network_send_packet","network_send_raw","network_send_udp","network_send_udp_raw","network_set_config","network_set_timeout","object_exists","object_get_depth","object_get_mask","object_get_name","object_get_parent","object_get_persistent","object_get_physics","object_get_solid","object_get_sprite","object_get_visible","object_is_ancestor","object_set_mask","object_set_persistent","object_set_solid","object_set_sprite","object_set_visible","ord","os_get_config","os_get_info","os_get_language","os_get_region","os_is_network_connected","os_is_paused","os_lock_orientation","os_powersave_enable","parameter_count","parameter_string","part_emitter_burst","part_emitter_clear","part_emitter_create","part_emitter_destroy","part_emitter_destroy_all","part_emitter_exists","part_emitter_region","part_emitter_stream","part_particles_clear","part_particles_count","part_particles_create","part_particles_create_color","part_particles_create_colour","part_system_automatic_draw","part_system_automatic_update","part_system_clear","part_system_create","part_system_create_layer","part_system_depth","part_system_destroy","part_system_draw_order","part_system_drawit","part_system_exists","part_system_get_layer","part_system_layer","part_system_position","part_system_update","part_type_alpha1","part_type_alpha2","part_type_alpha3","part_type_blend","part_type_clear","part_type_color1","part_type_color2","part_type_color3","part_type_color_hsv","part_type_color_mix","part_type_color_rgb","part_type_colour1","part_type_colour2","part_type_colour3","part_type_colour_hsv","part_type_colour_mix","part_type_colour_rgb","part_type_create","part_type_death","part_type_destroy","part_type_direction","part_type_exists","part_type_gravity","part_type_life","part_type_orientation","part_type_scale","part_type_shape","part_type_size","part_type_speed","part_type_sprite","part_type_step","path_add","path_add_point","path_append","path_assign","path_change_point","path_clear_points","path_delete","path_delete_point","path_duplicate","path_end","path_exists","path_flip","path_get_closed","path_get_kind","path_get_length","path_get_name","path_get_number","path_get_point_speed","path_get_point_x","path_get_point_y","path_get_precision","path_get_speed","path_get_time","path_get_x","path_get_y","path_insert_point","path_mirror","path_rescale","path_reverse","path_rotate","path_set_closed","path_set_kind","path_set_precision","path_shift","path_start","physics_apply_angular_impulse","physics_apply_force","physics_apply_impulse","physics_apply_local_force","physics_apply_local_impulse","physics_apply_torque","physics_draw_debug","physics_fixture_add_point","physics_fixture_bind","physics_fixture_bind_ext","physics_fixture_create","physics_fixture_delete","physics_fixture_set_angular_damping","physics_fixture_set_awake","physics_fixture_set_box_shape","physics_fixture_set_chain_shape","physics_fixture_set_circle_shape","physics_fixture_set_collision_group","physics_fixture_set_density","physics_fixture_set_edge_shape","physics_fixture_set_friction","physics_fixture_set_kinematic","physics_fixture_set_linear_damping","physics_fixture_set_polygon_shape","physics_fixture_set_restitution","physics_fixture_set_sensor","physics_get_density","physics_get_friction","physics_get_restitution","physics_joint_delete","physics_joint_distance_create","physics_joint_enable_motor","physics_joint_friction_create","physics_joint_gear_create","physics_joint_get_value","physics_joint_prismatic_create","physics_joint_pulley_create","physics_joint_revolute_create","physics_joint_rope_create","physics_joint_set_value","physics_joint_weld_create","physics_joint_wheel_create","physics_mass_properties","physics_particle_count","physics_particle_create","physics_particle_delete","physics_particle_delete_region_box","physics_particle_delete_region_circle","physics_particle_delete_region_poly","physics_particle_draw","physics_particle_draw_ext","physics_particle_get_damping","physics_particle_get_data","physics_particle_get_data_particle","physics_particle_get_density","physics_particle_get_gravity_scale","physics_particle_get_group_flags","physics_particle_get_max_count","physics_particle_get_radius","physics_particle_group_add_point","physics_particle_group_begin","physics_particle_group_box","physics_particle_group_circle","physics_particle_group_count","physics_particle_group_delete","physics_particle_group_end","physics_particle_group_get_ang_vel","physics_particle_group_get_angle","physics_particle_group_get_centre_x","physics_particle_group_get_centre_y","physics_particle_group_get_data","physics_particle_group_get_inertia","physics_particle_group_get_mass","physics_particle_group_get_vel_x","physics_particle_group_get_vel_y","physics_particle_group_get_x","physics_particle_group_get_y","physics_particle_group_join","physics_particle_group_polygon","physics_particle_set_category_flags","physics_particle_set_damping","physics_particle_set_density","physics_particle_set_flags","physics_particle_set_gravity_scale","physics_particle_set_group_flags","physics_particle_set_max_count","physics_particle_set_radius","physics_pause_enable","physics_remove_fixture","physics_set_density","physics_set_friction","physics_set_restitution","physics_test_overlap","physics_world_create","physics_world_draw_debug","physics_world_gravity","physics_world_update_iterations","physics_world_update_speed","place_empty","place_free","place_meeting","place_snapped","point_direction","point_distance","point_distance_3d","point_in_circle","point_in_rectangle","point_in_triangle","position_change","position_destroy","position_empty","position_meeting","power","ptr","push_cancel_local_notification","push_get_first_local_notification","push_get_next_local_notification","push_local_notification","radtodeg","random","random_get_seed","random_range","random_set_seed","randomise","randomize","real","rectangle_in_circle","rectangle_in_rectangle","rectangle_in_triangle","room_add","room_assign","room_duplicate","room_exists","room_get_camera","room_get_name","room_get_viewport","room_goto","room_goto_next","room_goto_previous","room_instance_add","room_instance_clear","room_next","room_previous","room_restart","room_set_background_color","room_set_background_colour","room_set_camera","room_set_height","room_set_persistent","room_set_view","room_set_view_enabled","room_set_viewport","room_set_width","round","screen_save","screen_save_part","script_execute","script_exists","script_get_name","sha1_file","sha1_string_unicode","sha1_string_utf8","shader_current","shader_enable_corner_id","shader_get_name","shader_get_sampler_index","shader_get_uniform","shader_is_compiled","shader_reset","shader_set","shader_set_uniform_f","shader_set_uniform_f_array","shader_set_uniform_i","shader_set_uniform_i_array","shader_set_uniform_matrix","shader_set_uniform_matrix_array","shaders_are_supported","shop_leave_rating","show_debug_message","show_debug_overlay","show_error","show_message","show_message_async","show_question","show_question_async","sign","sin","skeleton_animation_clear","skeleton_animation_get","skeleton_animation_get_duration","skeleton_animation_get_ext","skeleton_animation_get_frame","skeleton_animation_get_frames","skeleton_animation_list","skeleton_animation_mix","skeleton_animation_set","skeleton_animation_set_ext","skeleton_animation_set_frame","skeleton_attachment_create","skeleton_attachment_get","skeleton_attachment_set","skeleton_bone_data_get","skeleton_bone_data_set","skeleton_bone_state_get","skeleton_bone_state_set","skeleton_collision_draw_set","skeleton_get_bounds","skeleton_get_minmax","skeleton_get_num_bounds","skeleton_skin_get","skeleton_skin_list","skeleton_skin_set","skeleton_slot_data","sprite_add","sprite_add_from_surface","sprite_assign","sprite_collision_mask","sprite_create_from_surface","sprite_delete","sprite_duplicate","sprite_exists","sprite_flush","sprite_flush_multi","sprite_get_bbox_bottom","sprite_get_bbox_left","sprite_get_bbox_right","sprite_get_bbox_top","sprite_get_height","sprite_get_name","sprite_get_number","sprite_get_speed","sprite_get_speed_type","sprite_get_texture","sprite_get_tpe","sprite_get_uvs","sprite_get_width","sprite_get_xoffset","sprite_get_yoffset","sprite_merge","sprite_prefetch","sprite_prefetch_multi","sprite_replace","sprite_save","sprite_save_strip","sprite_set_alpha_from_sprite","sprite_set_cache_size","sprite_set_cache_size_ext","sprite_set_offset","sprite_set_speed","sqr","sqrt","steam_activate_overlay","steam_activate_overlay_browser","steam_activate_overlay_store","steam_activate_overlay_user","steam_available_languages","steam_clear_achievement","steam_create_leaderboard","steam_current_game_language","steam_download_friends_scores","steam_download_scores","steam_download_scores_around_user","steam_file_delete","steam_file_exists","steam_file_persisted","steam_file_read","steam_file_share","steam_file_size","steam_file_write","steam_file_write_file","steam_get_achievement","steam_get_app_id","steam_get_persona_name","steam_get_quota_free","steam_get_quota_total","steam_get_stat_avg_rate","steam_get_stat_float","steam_get_stat_int","steam_get_user_account_id","steam_get_user_persona_name","steam_get_user_steam_id","steam_initialised","steam_is_cloud_enabled_for_account","steam_is_cloud_enabled_for_app","steam_is_overlay_activated","steam_is_overlay_enabled","steam_is_screenshot_requested","steam_is_user_logged_on","steam_reset_all_stats","steam_reset_all_stats_achievements","steam_send_screenshot","steam_set_achievement","steam_set_stat_avg_rate","steam_set_stat_float","steam_set_stat_int","steam_stats_ready","steam_ugc_create_item","steam_ugc_create_query_all","steam_ugc_create_query_all_ex","steam_ugc_create_query_user","steam_ugc_create_query_user_ex","steam_ugc_download","steam_ugc_get_item_install_info","steam_ugc_get_item_update_info","steam_ugc_get_item_update_progress","steam_ugc_get_subscribed_items","steam_ugc_num_subscribed_items","steam_ugc_query_add_excluded_tag","steam_ugc_query_add_required_tag","steam_ugc_query_set_allow_cached_response","steam_ugc_query_set_cloud_filename_filter","steam_ugc_query_set_match_any_tag","steam_ugc_query_set_ranked_by_trend_days","steam_ugc_query_set_return_long_description","steam_ugc_query_set_return_total_only","steam_ugc_query_set_search_text","steam_ugc_request_item_details","steam_ugc_send_query","steam_ugc_set_item_content","steam_ugc_set_item_description","steam_ugc_set_item_preview","steam_ugc_set_item_tags","steam_ugc_set_item_title","steam_ugc_set_item_visibility","steam_ugc_start_item_update","steam_ugc_submit_item_update","steam_ugc_subscribe_item","steam_ugc_unsubscribe_item","steam_upload_score","steam_upload_score_buffer","steam_upload_score_buffer_ext","steam_upload_score_ext","steam_user_installed_dlc","steam_user_owns_dlc","string","string_byte_at","string_byte_length","string_char_at","string_copy","string_count","string_delete","string_digits","string_format","string_hash_to_newline","string_height","string_height_ext","string_insert","string_length","string_letters","string_lettersdigits","string_lower","string_ord_at","string_pos","string_repeat","string_replace","string_replace_all","string_set_byte_at","string_upper","string_width","string_width_ext","surface_copy","surface_copy_part","surface_create","surface_create_ext","surface_depth_disable","surface_exists","surface_free","surface_get_depth_disable","surface_get_height","surface_get_texture","surface_get_width","surface_getpixel","surface_getpixel_ext","surface_reset_target","surface_resize","surface_save","surface_save_part","surface_set_target","surface_set_target_ext","tan","texture_get_height","texture_get_texel_height","texture_get_texel_width","texture_get_uvs","texture_get_width","texture_global_scale","texture_set_stage","tile_get_empty","tile_get_flip","tile_get_index","tile_get_mirror","tile_get_rotate","tile_set_empty","tile_set_flip","tile_set_index","tile_set_mirror","tile_set_rotate","tilemap_clear","tilemap_get","tilemap_get_at_pixel","tilemap_get_cell_x_at_pixel","tilemap_get_cell_y_at_pixel","tilemap_get_frame","tilemap_get_global_mask","tilemap_get_height","tilemap_get_mask","tilemap_get_tile_height","tilemap_get_tile_width","tilemap_get_tileset","tilemap_get_width","tilemap_get_x","tilemap_get_y","tilemap_set","tilemap_set_at_pixel","tilemap_set_global_mask","tilemap_set_mask","tilemap_tileset","tilemap_x","tilemap_y","timeline_add","timeline_clear","timeline_delete","timeline_exists","timeline_get_name","timeline_max_moment","timeline_moment_add_script","timeline_moment_clear","timeline_size","typeof","url_get_domain","url_open","url_open_ext","url_open_full","variable_global_exists","variable_global_get","variable_global_set","variable_instance_exists","variable_instance_get","variable_instance_get_names","variable_instance_set","variable_struct_exists","variable_struct_get","variable_struct_get_names","variable_struct_names_count","variable_struct_remove","variable_struct_set","vertex_argb","vertex_begin","vertex_color","vertex_colour","vertex_create_buffer","vertex_create_buffer_ext","vertex_create_buffer_from_buffer","vertex_create_buffer_from_buffer_ext","vertex_delete_buffer","vertex_end","vertex_float1","vertex_float2","vertex_float3","vertex_float4","vertex_format_add_color","vertex_format_add_colour","vertex_format_add_custom","vertex_format_add_normal","vertex_format_add_position","vertex_format_add_position_3d","vertex_format_add_texcoord","vertex_format_add_textcoord","vertex_format_begin","vertex_format_delete","vertex_format_end","vertex_freeze","vertex_get_buffer_size","vertex_get_number","vertex_normal","vertex_position","vertex_position_3d","vertex_submit","vertex_texcoord","vertex_ubyte4","view_get_camera","view_get_hport","view_get_surface_id","view_get_visible","view_get_wport","view_get_xport","view_get_yport","view_set_camera","view_set_hport","view_set_surface_id","view_set_visible","view_set_wport","view_set_xport","view_set_yport","virtual_key_add","virtual_key_delete","virtual_key_hide","virtual_key_show","win8_appbar_add_element","win8_appbar_enable","win8_appbar_remove_element","win8_device_touchscreen_available","win8_license_initialize_sandbox","win8_license_trial_version","win8_livetile_badge_clear","win8_livetile_badge_notification","win8_livetile_notification_begin","win8_livetile_notification_end","win8_livetile_notification_expiry","win8_livetile_notification_image_add","win8_livetile_notification_secondary_begin","win8_livetile_notification_tag","win8_livetile_notification_text_add","win8_livetile_queue_enable","win8_livetile_tile_clear","win8_livetile_tile_notification","win8_search_add_suggestions","win8_search_disable","win8_search_enable","win8_secondarytile_badge_notification","win8_secondarytile_delete","win8_secondarytile_pin","win8_settingscharm_add_entry","win8_settingscharm_add_html_entry","win8_settingscharm_add_xaml_entry","win8_settingscharm_get_xaml_property","win8_settingscharm_remove_entry","win8_settingscharm_set_xaml_property","win8_share_file","win8_share_image","win8_share_screenshot","win8_share_text","win8_share_url","window_center","window_device","window_get_caption","window_get_color","window_get_colour","window_get_cursor","window_get_fullscreen","window_get_height","window_get_visible_rects","window_get_width","window_get_x","window_get_y","window_handle","window_has_focus","window_mouse_get_x","window_mouse_get_y","window_mouse_set","window_set_caption","window_set_color","window_set_colour","window_set_cursor","window_set_fullscreen","window_set_max_height","window_set_max_width","window_set_min_height","window_set_min_width","window_set_position","window_set_rectangle","window_set_size","window_view_mouse_get_x","window_view_mouse_get_y","window_views_mouse_get_x","window_views_mouse_get_y","winphone_license_trial_version","winphone_tile_back_content","winphone_tile_back_content_wide","winphone_tile_back_image","winphone_tile_back_image_wide","winphone_tile_back_title","winphone_tile_background_color","winphone_tile_background_colour","winphone_tile_count","winphone_tile_cycle_images","winphone_tile_front_image","winphone_tile_front_image_small","winphone_tile_front_image_wide","winphone_tile_icon_image","winphone_tile_small_background_image","winphone_tile_small_icon_image","winphone_tile_title","winphone_tile_wide_content","zip_unzip"],literal:["all","false","noone","pointer_invalid","pointer_null","true","undefined"],symbol:["ANSI_CHARSET","ARABIC_CHARSET","BALTIC_CHARSET","CHINESEBIG5_CHARSET","DEFAULT_CHARSET","EASTEUROPE_CHARSET","GB2312_CHARSET","GM_build_date","GM_runtime_version","GM_version","GREEK_CHARSET","HANGEUL_CHARSET","HEBREW_CHARSET","JOHAB_CHARSET","MAC_CHARSET","OEM_CHARSET","RUSSIAN_CHARSET","SHIFTJIS_CHARSET","SYMBOL_CHARSET","THAI_CHARSET","TURKISH_CHARSET","VIETNAMESE_CHARSET","achievement_achievement_info","achievement_filter_all_players","achievement_filter_favorites_only","achievement_filter_friends_only","achievement_friends_info","achievement_leaderboard_info","achievement_our_info","achievement_pic_loaded","achievement_show_achievement","achievement_show_bank","achievement_show_friend_picker","achievement_show_leaderboard","achievement_show_profile","achievement_show_purchase_prompt","achievement_show_ui","achievement_type_achievement_challenge","achievement_type_score_challenge","asset_font","asset_object","asset_path","asset_room","asset_script","asset_shader","asset_sound","asset_sprite","asset_tiles","asset_timeline","asset_unknown","audio_3d","audio_falloff_exponent_distance","audio_falloff_exponent_distance_clamped","audio_falloff_inverse_distance","audio_falloff_inverse_distance_clamped","audio_falloff_linear_distance","audio_falloff_linear_distance_clamped","audio_falloff_none","audio_mono","audio_new_system","audio_old_system","audio_stereo","bm_add","bm_complex","bm_dest_alpha","bm_dest_color","bm_dest_colour","bm_inv_dest_alpha","bm_inv_dest_color","bm_inv_dest_colour","bm_inv_src_alpha","bm_inv_src_color","bm_inv_src_colour","bm_max","bm_normal","bm_one","bm_src_alpha","bm_src_alpha_sat","bm_src_color","bm_src_colour","bm_subtract","bm_zero","browser_chrome","browser_edge","browser_firefox","browser_ie","browser_ie_mobile","browser_not_a_browser","browser_opera","browser_safari","browser_safari_mobile","browser_tizen","browser_unknown","browser_windows_store","buffer_bool","buffer_f16","buffer_f32","buffer_f64","buffer_fast","buffer_fixed","buffer_generalerror","buffer_grow","buffer_invalidtype","buffer_network","buffer_outofbounds","buffer_outofspace","buffer_s16","buffer_s32","buffer_s8","buffer_seek_end","buffer_seek_relative","buffer_seek_start","buffer_string","buffer_surface_copy","buffer_text","buffer_u16","buffer_u32","buffer_u64","buffer_u8","buffer_vbuffer","buffer_wrap","button_type","c_aqua","c_black","c_blue","c_dkgray","c_fuchsia","c_gray","c_green","c_lime","c_ltgray","c_maroon","c_navy","c_olive","c_orange","c_purple","c_red","c_silver","c_teal","c_white","c_yellow","cmpfunc_always","cmpfunc_equal","cmpfunc_greater","cmpfunc_greaterequal","cmpfunc_less","cmpfunc_lessequal","cmpfunc_never","cmpfunc_notequal","cr_appstart","cr_arrow","cr_beam","cr_cross","cr_default","cr_drag","cr_handpoint","cr_hourglass","cr_none","cr_size_all","cr_size_nesw","cr_size_ns","cr_size_nwse","cr_size_we","cr_uparrow","cull_clockwise","cull_counterclockwise","cull_noculling","device_emulator","device_ios_ipad","device_ios_ipad_retina","device_ios_iphone","device_ios_iphone5","device_ios_iphone6","device_ios_iphone6plus","device_ios_iphone_retina","device_ios_unknown","device_tablet","display_landscape","display_landscape_flipped","display_portrait","display_portrait_flipped","dll_cdecl","dll_stdcall","ds_type_grid","ds_type_list","ds_type_map","ds_type_priority","ds_type_queue","ds_type_stack","ef_cloud","ef_ellipse","ef_explosion","ef_firework","ef_flare","ef_rain","ef_ring","ef_smoke","ef_smokeup","ef_snow","ef_spark","ef_star","ev_alarm","ev_animation_end","ev_boundary","ev_cleanup","ev_close_button","ev_collision","ev_create","ev_destroy","ev_draw","ev_draw_begin","ev_draw_end","ev_draw_post","ev_draw_pre","ev_end_of_path","ev_game_end","ev_game_start","ev_gesture","ev_gesture_double_tap","ev_gesture_drag_end","ev_gesture_drag_start","ev_gesture_dragging","ev_gesture_flick","ev_gesture_pinch_end","ev_gesture_pinch_in","ev_gesture_pinch_out","ev_gesture_pinch_start","ev_gesture_rotate_end","ev_gesture_rotate_start","ev_gesture_rotating","ev_gesture_tap","ev_global_gesture_double_tap","ev_global_gesture_drag_end","ev_global_gesture_drag_start","ev_global_gesture_dragging","ev_global_gesture_flick","ev_global_gesture_pinch_end","ev_global_gesture_pinch_in","ev_global_gesture_pinch_out","ev_global_gesture_pinch_start","ev_global_gesture_rotate_end","ev_global_gesture_rotate_start","ev_global_gesture_rotating","ev_global_gesture_tap","ev_global_left_button","ev_global_left_press","ev_global_left_release","ev_global_middle_button","ev_global_middle_press","ev_global_middle_release","ev_global_right_button","ev_global_right_press","ev_global_right_release","ev_gui","ev_gui_begin","ev_gui_end","ev_joystick1_button1","ev_joystick1_button2","ev_joystick1_button3","ev_joystick1_button4","ev_joystick1_button5","ev_joystick1_button6","ev_joystick1_button7","ev_joystick1_button8","ev_joystick1_down","ev_joystick1_left","ev_joystick1_right","ev_joystick1_up","ev_joystick2_button1","ev_joystick2_button2","ev_joystick2_button3","ev_joystick2_button4","ev_joystick2_button5","ev_joystick2_button6","ev_joystick2_button7","ev_joystick2_button8","ev_joystick2_down","ev_joystick2_left","ev_joystick2_right","ev_joystick2_up","ev_keyboard","ev_keypress","ev_keyrelease","ev_left_button","ev_left_press","ev_left_release","ev_middle_button","ev_middle_press","ev_middle_release","ev_mouse","ev_mouse_enter","ev_mouse_leave","ev_mouse_wheel_down","ev_mouse_wheel_up","ev_no_button","ev_no_more_health","ev_no_more_lives","ev_other","ev_outside","ev_right_button","ev_right_press","ev_right_release","ev_room_end","ev_room_start","ev_step","ev_step_begin","ev_step_end","ev_step_normal","ev_trigger","ev_user0","ev_user1","ev_user2","ev_user3","ev_user4","ev_user5","ev_user6","ev_user7","ev_user8","ev_user9","ev_user10","ev_user11","ev_user12","ev_user13","ev_user14","ev_user15","fa_archive","fa_bottom","fa_center","fa_directory","fa_hidden","fa_left","fa_middle","fa_readonly","fa_right","fa_sysfile","fa_top","fa_volumeid","fb_login_default","fb_login_fallback_to_webview","fb_login_forcing_safari","fb_login_forcing_webview","fb_login_no_fallback_to_webview","fb_login_use_system_account","gamespeed_fps","gamespeed_microseconds","ge_lose","global","gp_axislh","gp_axislv","gp_axisrh","gp_axisrv","gp_face1","gp_face2","gp_face3","gp_face4","gp_padd","gp_padl","gp_padr","gp_padu","gp_select","gp_shoulderl","gp_shoulderlb","gp_shoulderr","gp_shoulderrb","gp_start","gp_stickl","gp_stickr","iap_available","iap_canceled","iap_ev_consume","iap_ev_product","iap_ev_purchase","iap_ev_restore","iap_ev_storeload","iap_failed","iap_purchased","iap_refunded","iap_status_available","iap_status_loading","iap_status_processing","iap_status_restoring","iap_status_unavailable","iap_status_uninitialised","iap_storeload_failed","iap_storeload_ok","iap_unavailable","input_type","kbv_autocapitalize_characters","kbv_autocapitalize_none","kbv_autocapitalize_sentences","kbv_autocapitalize_words","kbv_returnkey_continue","kbv_returnkey_default","kbv_returnkey_done","kbv_returnkey_emergency","kbv_returnkey_go","kbv_returnkey_google","kbv_returnkey_join","kbv_returnkey_next","kbv_returnkey_route","kbv_returnkey_search","kbv_returnkey_send","kbv_returnkey_yahoo","kbv_type_ascii","kbv_type_default","kbv_type_email","kbv_type_numbers","kbv_type_phone","kbv_type_phone_name","kbv_type_url","layerelementtype_background","layerelementtype_instance","layerelementtype_oldtilemap","layerelementtype_particlesystem","layerelementtype_sprite","layerelementtype_tile","layerelementtype_tilemap","layerelementtype_undefined","lb_disp_none","lb_disp_numeric","lb_disp_time_ms","lb_disp_time_sec","lb_sort_ascending","lb_sort_descending","lb_sort_none","leaderboard_type_number","leaderboard_type_time_mins_secs","lighttype_dir","lighttype_point","local","matrix_projection","matrix_view","matrix_world","mb_any","mb_left","mb_middle","mb_none","mb_right","mip_markedonly","mip_off","mip_on","network_config_connect_timeout","network_config_disable_reliable_udp","network_config_enable_reliable_udp","network_config_use_non_blocking_socket","network_socket_bluetooth","network_socket_tcp","network_socket_udp","network_type_connect","network_type_data","network_type_disconnect","network_type_non_blocking_connect","of_challen","of_challenge_tie","of_challenge_win","os_3ds","os_android","os_bb10","os_ios","os_linux","os_macosx","os_ps3","os_ps4","os_psvita","os_switch","os_symbian","os_tizen","os_tvos","os_unknown","os_uwp","os_wiiu","os_win32","os_win8native","os_windows","os_winphone","os_xbox360","os_xboxone","other","ov_achievements","ov_community","ov_friends","ov_gamegroup","ov_players","ov_settings","path_action_continue","path_action_restart","path_action_reverse","path_action_stop","phy_debug_render_aabb","phy_debug_render_collision_pairs","phy_debug_render_coms","phy_debug_render_core_shapes","phy_debug_render_joints","phy_debug_render_obb","phy_debug_render_shapes","phy_joint_anchor_1_x","phy_joint_anchor_1_y","phy_joint_anchor_2_x","phy_joint_anchor_2_y","phy_joint_angle","phy_joint_angle_limits","phy_joint_damping_ratio","phy_joint_frequency","phy_joint_length_1","phy_joint_length_2","phy_joint_lower_angle_limit","phy_joint_max_force","phy_joint_max_length","phy_joint_max_motor_force","phy_joint_max_motor_torque","phy_joint_max_torque","phy_joint_motor_force","phy_joint_motor_speed","phy_joint_motor_torque","phy_joint_reaction_force_x","phy_joint_reaction_force_y","phy_joint_reaction_torque","phy_joint_speed","phy_joint_translation","phy_joint_upper_angle_limit","phy_particle_data_flag_category","phy_particle_data_flag_color","phy_particle_data_flag_colour","phy_particle_data_flag_position","phy_particle_data_flag_typeflags","phy_particle_data_flag_velocity","phy_particle_flag_colormixing","phy_particle_flag_colourmixing","phy_particle_flag_elastic","phy_particle_flag_powder","phy_particle_flag_spring","phy_particle_flag_tensile","phy_particle_flag_viscous","phy_particle_flag_wall","phy_particle_flag_water","phy_particle_flag_zombie","phy_particle_group_flag_rigid","phy_particle_group_flag_solid","pi","pr_linelist","pr_linestrip","pr_pointlist","pr_trianglefan","pr_trianglelist","pr_trianglestrip","ps_distr_gaussian","ps_distr_invgaussian","ps_distr_linear","ps_shape_diamond","ps_shape_ellipse","ps_shape_line","ps_shape_rectangle","pt_shape_circle","pt_shape_cloud","pt_shape_disk","pt_shape_explosion","pt_shape_flare","pt_shape_line","pt_shape_pixel","pt_shape_ring","pt_shape_smoke","pt_shape_snow","pt_shape_spark","pt_shape_sphere","pt_shape_square","pt_shape_star","spritespeed_framespergameframe","spritespeed_framespersecond","text_type","tf_anisotropic","tf_linear","tf_point","tile_flip","tile_index_mask","tile_mirror","tile_rotate","timezone_local","timezone_utc","tm_countvsyncs","tm_sleep","ty_real","ty_string","ugc_filetype_community","ugc_filetype_microtrans","ugc_list_Favorited","ugc_list_Followed","ugc_list_Published","ugc_list_Subscribed","ugc_list_UsedOrPlayed","ugc_list_VotedDown","ugc_list_VotedOn","ugc_list_VotedUp","ugc_list_WillVoteLater","ugc_match_AllGuides","ugc_match_Artwork","ugc_match_Collections","ugc_match_ControllerBindings","ugc_match_IntegratedGuides","ugc_match_Items","ugc_match_Items_Mtx","ugc_match_Items_ReadyToUse","ugc_match_Screenshots","ugc_match_UsableInGame","ugc_match_Videos","ugc_match_WebGuides","ugc_query_AcceptedForGameRankedByAcceptanceDate","ugc_query_CreatedByFollowedUsersRankedByPublicationDate","ugc_query_CreatedByFriendsRankedByPublicationDate","ugc_query_FavoritedByFriendsRankedByPublicationDate","ugc_query_NotYetRated","ugc_query_RankedByNumTimesReported","ugc_query_RankedByPublicationDate","ugc_query_RankedByTextSearch","ugc_query_RankedByTotalVotesAsc","ugc_query_RankedByTrend","ugc_query_RankedByVote","ugc_query_RankedByVotesUp","ugc_result_success","ugc_sortorder_CreationOrderAsc","ugc_sortorder_CreationOrderDesc","ugc_sortorder_ForModeration","ugc_sortorder_LastUpdatedDesc","ugc_sortorder_SubscriptionDateDesc","ugc_sortorder_TitleAsc","ugc_sortorder_VoteScoreDesc","ugc_visibility_friends_only","ugc_visibility_private","ugc_visibility_public","vertex_type_color","vertex_type_colour","vertex_type_float1","vertex_type_float2","vertex_type_float3","vertex_type_float4","vertex_type_ubyte4","vertex_usage_binormal","vertex_usage_blendindices","vertex_usage_blendweight","vertex_usage_color","vertex_usage_colour","vertex_usage_depth","vertex_usage_fog","vertex_usage_normal","vertex_usage_position","vertex_usage_psize","vertex_usage_sample","vertex_usage_tangent","vertex_usage_texcoord","vertex_usage_textcoord","vk_add","vk_alt","vk_anykey","vk_backspace","vk_control","vk_decimal","vk_delete","vk_divide","vk_down","vk_end","vk_enter","vk_escape","vk_f1","vk_f2","vk_f3","vk_f4","vk_f5","vk_f6","vk_f7","vk_f8","vk_f9","vk_f10","vk_f11","vk_f12","vk_home","vk_insert","vk_lalt","vk_lcontrol","vk_left","vk_lshift","vk_multiply","vk_nokey","vk_numpad0","vk_numpad1","vk_numpad2","vk_numpad3","vk_numpad4","vk_numpad5","vk_numpad6","vk_numpad7","vk_numpad8","vk_numpad9","vk_pagedown","vk_pageup","vk_pause","vk_printscreen","vk_ralt","vk_rcontrol","vk_return","vk_right","vk_rshift","vk_shift","vk_space","vk_subtract","vk_tab","vk_up"],"variable.language":["alarm","application_surface","argument","argument0","argument1","argument2","argument3","argument4","argument5","argument6","argument7","argument8","argument9","argument10","argument11","argument12","argument13","argument14","argument15","argument_count","argument_relative","async_load","background_color","background_colour","background_showcolor","background_showcolour","bbox_bottom","bbox_left","bbox_right","bbox_top","browser_height","browser_width","caption_health","caption_lives","caption_score","current_day","current_hour","current_minute","current_month","current_second","current_time","current_weekday","current_year","cursor_sprite","debug_mode","delta_time","depth","direction","display_aa","error_last","error_occurred","event_action","event_data","event_number","event_object","event_type","fps","fps_real","friction","game_display_name","game_id","game_project_name","game_save_id","gamemaker_pro","gamemaker_registered","gamemaker_version","gravity","gravity_direction","health","hspeed","iap_data","id|0","image_alpha","image_angle","image_blend","image_index","image_number","image_speed","image_xscale","image_yscale","instance_count","instance_id","keyboard_key","keyboard_lastchar","keyboard_lastkey","keyboard_string","layer","lives","mask_index","mouse_button","mouse_lastbutton","mouse_x","mouse_y","object_index","os_browser","os_device","os_type","os_version","path_endaction","path_index","path_orientation","path_position","path_positionprevious","path_scale","path_speed","persistent","phy_active","phy_angular_damping","phy_angular_velocity","phy_bullet","phy_col_normal_x","phy_col_normal_y","phy_collision_points","phy_collision_x","phy_collision_y","phy_com_x","phy_com_y","phy_dynamic","phy_fixed_rotation","phy_inertia","phy_kinematic","phy_linear_damping","phy_linear_velocity_x","phy_linear_velocity_y","phy_mass","phy_position_x","phy_position_xprevious","phy_position_y","phy_position_yprevious","phy_rotation","phy_sleeping","phy_speed","phy_speed_x","phy_speed_y","program_directory","room","room_caption","room_first","room_height","room_last","room_persistent","room_speed","room_width","score","self","show_health","show_lives","show_score","solid","speed","sprite_height","sprite_index","sprite_width","sprite_xoffset","sprite_yoffset","temp_directory","timeline_index","timeline_loop","timeline_position","timeline_running","timeline_speed","view_angle","view_camera","view_current","view_enabled","view_hborder","view_hport","view_hspeed","view_hview","view_object","view_surface_id","view_vborder","view_visible","view_vspeed","view_wport","view_wview","view_xport","view_xview","view_yport","view_yview","visible","vspeed","webgl_enabled","working_directory","xprevious","xstart","x|0","yprevious","ystart","y|0"]},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE]}}return gml_1=k,gml_1}var go_1,hasRequiredGo;function requireGo(){if(hasRequiredGo)return go_1;hasRequiredGo=1;function k(m){const $={keyword:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var"],type:["bool","byte","complex64","complex128","error","float32","float64","int8","int16","int32","int64","string","uint8","uint16","uint32","uint64","int","uint","uintptr","rune"],literal:["true","false","iota","nil"],built_in:["append","cap","close","complex","copy","imag","len","make","new","panic","print","println","real","recover","delete"]};return{name:"Go",aliases:["golang"],keywords:$,illegal:"",end:",\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:":\\w+"},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]},{begin:"\\(\\s*",end:"\\s*\\)",excludeEnd:!0,contains:[{begin:"\\w+\\s*=",end:"\\s+",returnBegin:!0,endsWithParent:!0,contains:[{className:"attr",begin:"\\w+",relevance:0},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{begin:"\\w+",relevance:0}]}]}]},{begin:"^\\s*[=~]\\s*"},{begin:/#\{/,end:/\}/,subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0}]}}return haml_1=k,haml_1}var handlebars_1,hasRequiredHandlebars;function requireHandlebars(){if(hasRequiredHandlebars)return handlebars_1;hasRequiredHandlebars=1;function k(m){const M=m.regex,G={$pattern:/[\w.\/]+/,built_in:["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"]},V={$pattern:/[\w.\/]+/,literal:["true","false","undefined","null"]},q=/""|"[^"]+"/,$=/''|'[^']+'/,D=/\[\]|\[[^\]]+\]/,B=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,R=/(\.|\/)/,U=M.either(q,$,D,B),K=M.concat(M.optional(/\.|\.\/|\//),U,M.anyNumberOfTimes(M.concat(R,U))),z=M.concat("(",D,"|",B,")(?==)"),e={begin:K},ae=m.inherit(e,{keywords:V}),ie={begin:/\(/,end:/\)/},he={className:"attr",begin:z,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[m.NUMBER_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,ae,ie]}}},J={begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},W={contains:[m.NUMBER_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,J,he,ae,ie],returnEnd:!0},X=m.inherit(e,{className:"name",keywords:G,starts:m.inherit(W,{end:/\)/})});ie.contains=[X];const L=m.inherit(e,{keywords:G,className:"name",starts:m.inherit(W,{end:/\}\}/})}),Q=m.inherit(e,{keywords:G,className:"name"}),ce=m.inherit(e,{className:"name",keywords:G,starts:m.inherit(W,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},m.COMMENT(/\{\{!--/,/--\}\}/),m.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[L],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[Q]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[L]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[Q]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[ce]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[ce]}]}}return handlebars_1=k,handlebars_1}var haskell_1,hasRequiredHaskell;function requireHaskell(){if(hasRequiredHaskell)return haskell_1;hasRequiredHaskell=1;function k(m){const M="([0-9]_*)+",G="([0-9a-fA-F]_*)+",V="([01]_*)+",q="([0-7]_*)+",R="([!#$%&*+.\\/<=>?@\\\\^~-]|(?!([(),;\\[\\]`|{}]|[_:\"']))(\\p{S}|\\p{P}))",U={variants:[m.COMMENT("--+","$"),m.COMMENT(/\{-/,/-\}/,{contains:["self"]})]},K={className:"meta",begin:/\{-#/,end:/#-\}/},z={className:"meta",begin:"^#",end:"$"},e={className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},ae={begin:"\\(",end:"\\)",illegal:'"',contains:[K,z,{className:"type",begin:"\\b[A-Z][\\w]*(\\((\\.\\.|,|\\w+)\\))?"},m.inherit(m.TITLE_MODE,{begin:"[_a-z][\\w']*"}),U]},ie={begin:/\{/,end:/\}/,contains:ae.contains},he={className:"number",relevance:0,variants:[{match:`\\b(${M})(\\.(${M}))?([eE][+-]?(${M}))?\\b`},{match:`\\b0[xX]_*(${G})(\\.(${G}))?([pP][+-]?(${M}))?\\b`},{match:`\\b0[oO](${q})\\b`},{match:`\\b0[bB](${V})\\b`}]};return{name:"Haskell",aliases:["hs"],keywords:"let in if then else case of where do module import hiding qualified type data newtype deriving class instance as default infix infixl infixr foreign export ccall stdcall cplusplus jvm dotnet safe unsafe family forall mdo proc rec",unicodeRegex:!0,contains:[{beginKeywords:"module",end:"where",keywords:"module where",contains:[ae,U],illegal:"\\W\\.|;"},{begin:"\\bimport\\b",end:"$",keywords:"import qualified as hiding",contains:[ae,U],illegal:"\\W\\.|;"},{className:"class",begin:"^(\\s*)?(class|instance)\\b",end:"where",keywords:"class family instance where",contains:[e,ae,U]},{className:"class",begin:"\\b(data|(new)?type)\\b",end:"$",keywords:"data family type newtype deriving",contains:[K,e,ae,ie,U]},{beginKeywords:"default",end:"$",contains:[e,ae,U]},{beginKeywords:"infix infixl infixr",end:"$",contains:[m.C_NUMBER_MODE,U]},{begin:"\\bforeign\\b",end:"$",keywords:"foreign import export ccall stdcall cplusplus jvm dotnet safe unsafe",contains:[e,m.QUOTE_STRING_MODE,U]},{className:"meta",begin:"#!\\/usr\\/bin\\/env runhaskell",end:"$"},K,z,{scope:"string",begin:/'(?=\\?.')/,end:/'/,contains:[{scope:"char.escape",match:/\\./}]},m.QUOTE_STRING_MODE,he,e,m.inherit(m.TITLE_MODE,{begin:"^[_a-z][\\w']*"}),{begin:`(?!-)${R}--+|--+(?!-)${R}`},U,{begin:"->|<-"}]}}return haskell_1=k,haskell_1}var haxe_1,hasRequiredHaxe;function requireHaxe(){if(hasRequiredHaxe)return haxe_1;hasRequiredHaxe=1;function k(m){const M="[a-zA-Z_$][a-zA-Z0-9_$]*",G=/(-?)(\b0[xX][a-fA-F0-9_]+|(\b\d+(\.[\d_]*)?|\.[\d_]+)(([eE][-+]?\d+)|i32|u32|i64|f64)?)/;return{name:"Haxe",aliases:["hx"],keywords:{keyword:"abstract break case cast catch continue default do dynamic else enum extern final for function here if import in inline is macro never new override package private get set public return static super switch this throw trace try typedef untyped using var while "+"Int Float String Bool Dynamic Void Array ",built_in:"trace this",literal:"true false null _"},contains:[{className:"string",begin:"'",end:"'",contains:[m.BACKSLASH_ESCAPE,{className:"subst",begin:/\$\{/,end:/\}/},{className:"subst",begin:/\$/,end:/\W\}/}]},m.QUOTE_STRING_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"number",begin:G,relevance:0},{className:"variable",begin:"\\$"+M},{className:"meta",begin:/@:?/,end:/\(|$/,excludeEnd:!0},{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elseif end error"}},{className:"type",begin:/:[ \t]*/,end:/[^A-Za-z0-9_ \t\->]/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/:[ \t]*/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/new */,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"title.class",beginKeywords:"enum",end:/\{/,contains:[m.TITLE_MODE]},{className:"title.class",begin:"\\babstract\\b(?=\\s*"+m.IDENT_RE+"\\s*\\()",end:/[\{$]/,contains:[{className:"type",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/from +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},{className:"type",begin:/to +/,end:/\W/,excludeBegin:!0,excludeEnd:!0},m.TITLE_MODE],keywords:{keyword:"abstract from to"}},{className:"title.class",begin:/\b(class|interface) +/,end:/[\{$]/,excludeEnd:!0,keywords:"class interface",contains:[{className:"keyword",begin:/\b(extends|implements) +/,keywords:"extends implements",contains:[{className:"type",begin:m.IDENT_RE,relevance:0}]},m.TITLE_MODE]},{className:"title.function",beginKeywords:"function",end:/\(/,excludeEnd:!0,illegal:/\S/,contains:[m.TITLE_MODE]}],illegal:/<\//}}return haxe_1=k,haxe_1}var hsp_1,hasRequiredHsp;function requireHsp(){if(hasRequiredHsp)return hsp_1;hasRequiredHsp=1;function k(m){return{name:"HSP",case_insensitive:!0,keywords:{$pattern:/[\w._]+/,keyword:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mcall assert logmes newlab resume yield onexit onerror onkey onclick oncmd exist delete mkdir chdir dirlist bload bsave bcopy memfile if else poke wpoke lpoke getstr chdpm memexpand memcpy memset notesel noteadd notedel noteload notesave randomize noteunsel noteget split strrep setease button chgdisp exec dialog mmload mmplay mmstop mci pset pget syscolor mes print title pos circle cls font sysfont objsize picload color palcolor palette redraw width gsel gcopy gzoom gmode bmpsave hsvcolor getkey listbox chkbox combox input mesbox buffer screen bgscr mouse objsel groll line clrobj boxf objprm objmode stick grect grotate gsquare gradf objimage objskip objenable celload celdiv celput newcom querycom delcom cnvstow comres axobj winobj sendmsg comevent comevarg sarrayconv callfunc cnvwtos comevdisp libptr system hspstat hspver stat cnt err strsize looplev sublev iparam wparam lparam refstr refdval int rnd strlen length length2 length3 length4 vartype gettime peek wpeek lpeek varptr varuse noteinfo instr abs limit getease str strmid strf getpath strtrim sin cos tan atan sqrt double absf expf logf limitf powf geteasef mousex mousey mousew hwnd hinstance hdc ginfo objinfo dirinfo sysinfo thismod __hspver__ __hsp30__ __date__ __time__ __line__ __file__ _debug __hspdef__ and or xor not screen_normal screen_palette screen_hide screen_fixedsize screen_tool screen_frame gmode_gdi gmode_mem gmode_rgb0 gmode_alpha gmode_rgb0alpha gmode_add gmode_sub gmode_pixela ginfo_mx ginfo_my ginfo_act ginfo_sel ginfo_wx1 ginfo_wy1 ginfo_wx2 ginfo_wy2 ginfo_vx ginfo_vy ginfo_sizex ginfo_sizey ginfo_winx ginfo_winy ginfo_mesx ginfo_mesy ginfo_r ginfo_g ginfo_b ginfo_paluse ginfo_dispx ginfo_dispy ginfo_cx ginfo_cy ginfo_intid ginfo_newid ginfo_sx ginfo_sy objinfo_mode objinfo_bmscr objinfo_hwnd notemax notesize dir_cur dir_exe dir_win dir_sys dir_cmdline dir_desktop dir_mydoc dir_tv font_normal font_bold font_italic font_underline font_strikeout font_antialias objmode_normal objmode_guifont objmode_usefont gsquare_grad msgothic msmincho do until while wend for next _break _continue switch case default swbreak swend ddim ldim alloc m_pi rad2deg deg2rad ease_linear ease_quad_in ease_quad_out ease_quad_inout ease_cubic_in ease_cubic_out ease_cubic_inout ease_quartic_in ease_quartic_out ease_quartic_inout ease_bounce_in ease_bounce_out ease_bounce_inout ease_shake_in ease_shake_out ease_shake_inout ease_loop"},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,{className:"string",begin:/\{"/,end:/"\}/,contains:[m.BACKSLASH_ESCAPE]},m.COMMENT(";","$",{relevance:0}),{className:"meta",begin:"#",end:"$",keywords:{keyword:"addion cfunc cmd cmpopt comfunc const defcfunc deffunc define else endif enum epack func global if ifdef ifndef include modcfunc modfunc modinit modterm module pack packopt regcmd runtime undef usecom uselib"},contains:[m.inherit(m.QUOTE_STRING_MODE,{className:"string"}),m.NUMBER_MODE,m.C_NUMBER_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{className:"symbol",begin:"^\\*(\\w+|@)"},m.NUMBER_MODE,m.C_NUMBER_MODE]}}return hsp_1=k,hsp_1}var http_1,hasRequiredHttp;function requireHttp(){if(hasRequiredHttp)return http_1;hasRequiredHttp=1;function k(m){const M=m.regex,G="HTTP/([32]|1\\.[01])",V=/[A-Za-z][A-Za-z0-9-]*/,q={className:"attribute",begin:M.concat("^",V,"(?=\\:\\s)"),starts:{contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$",relevance:0}}]}},$=[q,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0}}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{begin:"^(?="+G+" \\d{3})",end:/$/,contains:[{className:"meta",begin:G},{className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/,contains:$}},{begin:"(?=^[A-Z]+ (.*?) "+G+"$)",end:/$/,contains:[{className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{className:"meta",begin:G},{className:"keyword",begin:"[A-Z]+"}],starts:{end:/\b\B/,illegal:/\S/,contains:$}},m.inherit(q,{relevance:0})]}}return http_1=k,http_1}var hy_1,hasRequiredHy;function requireHy(){if(hasRequiredHy)return hy_1;hasRequiredHy=1;function k(m){const M="a-zA-Z_\\-!.?+*=<>&#'",G="["+M+"]["+M+"0-9/;:]*",V={$pattern:G,built_in:"!= % %= & &= * ** **= *= *map + += , --build-class-- --import-- -= . / // //= /= < << <<= <= = > >= >> >>= @ @= ^ ^= abs accumulate all and any ap-compose ap-dotimes ap-each ap-each-while ap-filter ap-first ap-if ap-last ap-map ap-map-when ap-pipe ap-reduce ap-reject apply as-> ascii assert assoc bin break butlast callable calling-module-name car case cdr chain chr coll? combinations compile compress cond cons cons? continue count curry cut cycle dec def default-method defclass defmacro defmacro-alias defmacro/g! defmain defmethod defmulti defn defn-alias defnc defnr defreader defseq del delattr delete-route dict-comp dir disassemble dispatch-reader-macro distinct divmod do doto drop drop-last drop-while empty? end-sequence eval eval-and-compile eval-when-compile even? every? except exec filter first flatten float? fn fnc fnr for for* format fraction genexpr gensym get getattr global globals group-by hasattr hash hex id identity if if* if-not if-python2 import in inc input instance? integer integer-char? integer? interleave interpose is is-coll is-cons is-empty is-even is-every is-float is-instance is-integer is-integer-char is-iterable is-iterator is-keyword is-neg is-none is-not is-numeric is-odd is-pos is-string is-symbol is-zero isinstance islice issubclass iter iterable? iterate iterator? keyword keyword? lambda last len let lif lif-not list* list-comp locals loop macro-error macroexpand macroexpand-1 macroexpand-all map max merge-with method-decorator min multi-decorator multicombinations name neg? next none? nonlocal not not-in not? nth numeric? oct odd? open or ord partition permutations pos? post-route postwalk pow prewalk print product profile/calls profile/cpu put-route quasiquote quote raise range read read-str recursive-replace reduce remove repeat repeatedly repr require rest round route route-with-methods rwm second seq set-comp setattr setv some sorted string string? sum switch symbol? take take-nth take-while tee try unless unquote unquote-splicing vars walk when while with with* with-decorator with-gensyms xi xor yield yield-from zero? zip zip-longest | |= ~"},q="[-+]?\\d+(\\.\\d+)?",$={begin:G,relevance:0},D={className:"number",begin:q,relevance:0},B=m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),R=m.COMMENT(";","$",{relevance:0}),U={className:"literal",begin:/\b([Tt]rue|[Ff]alse|nil|None)\b/},K={begin:"[\\[\\{]",end:"[\\]\\}]",relevance:0},z={className:"comment",begin:"\\^"+G},e=m.COMMENT("\\^\\{","\\}"),ae={className:"symbol",begin:"[:]{1,2}"+G},ie={begin:"\\(",end:"\\)"},he={endsWithParent:!0,relevance:0},J={className:"name",relevance:0,keywords:V,begin:G,starts:he},W=[ie,B,z,e,R,ae,K,D,U,$];return ie.contains=[m.COMMENT("comment",""),J,he],he.contains=W,K.contains=W,{name:"Hy",aliases:["hylang"],illegal:/\S/,contains:[m.SHEBANG(),ie,B,z,e,R,ae,K,D,U]}}return hy_1=k,hy_1}var inform7_1,hasRequiredInform7;function requireInform7(){if(hasRequiredInform7)return inform7_1;hasRequiredInform7=1;function k(m){const M="\\[",G="\\]";return{name:"Inform 7",aliases:["i7"],case_insensitive:!0,keywords:{keyword:"thing room person man woman animal container supporter backdrop door scenery open closed locked inside gender is are say understand kind of rule"},contains:[{className:"string",begin:'"',end:'"',relevance:0,contains:[{className:"subst",begin:M,end:G}]},{className:"section",begin:/^(Volume|Book|Part|Chapter|Section|Table)\b/,end:"$"},{begin:/^(Check|Carry out|Report|Instead of|To|Rule|When|Before|After)\b/,end:":",contains:[{begin:"\\(This",end:"\\)"}]},{className:"comment",begin:M,end:G,contains:["self"]}]}}return inform7_1=k,inform7_1}var ini_1,hasRequiredIni;function requireIni(){if(hasRequiredIni)return ini_1;hasRequiredIni=1;function k(m){const M=m.regex,G={className:"number",relevance:0,variants:[{begin:/([+-]+)?[\d]+_[\d_]+/},{begin:m.NUMBER_RE}]},V=m.COMMENT();V.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const q={className:"variable",variants:[{begin:/\$[\w\d"][\w\d_]*/},{begin:/\$\{(.*?)\}/}]},$={className:"literal",begin:/\bon|off|true|false|yes|no\b/},D={className:"string",contains:[m.BACKSLASH_ESCAPE],variants:[{begin:"'''",end:"'''",relevance:10},{begin:'"""',end:'"""',relevance:10},{begin:'"',end:'"'},{begin:"'",end:"'"}]},B={begin:/\[/,end:/\]/,contains:[V,$,q,D,G,"self"],relevance:0},R=/[A-Za-z0-9_-]+/,U=/"(\\"|[^"])*"/,K=/'[^']*'/,z=M.either(R,U,K),e=M.concat(z,"(\\s*\\.\\s*",z,")*",M.lookahead(/\s*=\s*[^#\s]/));return{name:"TOML, also INI",aliases:["toml"],case_insensitive:!0,illegal:/\S/,contains:[V,{className:"section",begin:/\[+/,end:/\]+/},{begin:e,className:"attr",starts:{end:/$/,contains:[V,B,$,q,D,G]}}]}}return ini_1=k,ini_1}var irpf90_1,hasRequiredIrpf90;function requireIrpf90(){if(hasRequiredIrpf90)return irpf90_1;hasRequiredIrpf90=1;function k(m){const M=m.regex,G={className:"params",begin:"\\(",end:"\\)"},V=/(_[a-z_\d]+)?/,q=/([de][+-]?\d+)?/,$={className:"number",variants:[{begin:M.concat(/\b\d+/,/\.(\d*)/,q,V)},{begin:M.concat(/\b\d+/,q,V)},{begin:M.concat(/\.\d+/,q,V)}],relevance:0};return{name:"IRPF90",case_insensitive:!0,keywords:{literal:".False. .True.",keyword:"kind do while private call intrinsic where elsewhere type endtype endmodule endselect endinterface end enddo endif if forall endforall only contains default return stop then public subroutine|10 function program .and. .or. .not. .le. .eq. .ge. .gt. .lt. goto save else use module select case access blank direct exist file fmt form formatted iostat name named nextrec number opened rec recl sequential status unformatted unit continue format pause cycle exit c_null_char c_alert c_backspace c_form_feed flush wait decimal round iomsg synchronous nopass non_overridable pass protected volatile abstract extends import non_intrinsic value deferred generic final enumerator class associate bind enum c_int c_short c_long c_long_long c_signed_char c_size_t c_int8_t c_int16_t c_int32_t c_int64_t c_int_least8_t c_int_least16_t c_int_least32_t c_int_least64_t c_int_fast8_t c_int_fast16_t c_int_fast32_t c_int_fast64_t c_intmax_t C_intptr_t c_float c_double c_long_double c_float_complex c_double_complex c_long_double_complex c_bool c_char c_null_ptr c_null_funptr c_new_line c_carriage_return c_horizontal_tab c_vertical_tab iso_c_binding c_loc c_funloc c_associated c_f_pointer c_ptr c_funptr iso_fortran_env character_storage_size error_unit file_storage_size input_unit iostat_end iostat_eor numeric_storage_size output_unit c_f_procpointer ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode newunit contiguous recursive pad position action delim readwrite eor advance nml interface procedure namelist include sequence elemental pure integer real character complex logical dimension allocatable|10 parameter external implicit|10 none double precision assign intent optional pointer target in out common equivalence data begin_provider &begin_provider end_provider begin_shell end_shell begin_template end_template subst assert touch soft_touch provide no_dep free irp_if irp_else irp_endif irp_write irp_read",built_in:"alog alog10 amax0 amax1 amin0 amin1 amod cabs ccos cexp clog csin csqrt dabs dacos dasin datan datan2 dcos dcosh ddim dexp dint dlog dlog10 dmax1 dmin1 dmod dnint dsign dsin dsinh dsqrt dtan dtanh float iabs idim idint idnint ifix isign max0 max1 min0 min1 sngl algama cdabs cdcos cdexp cdlog cdsin cdsqrt cqabs cqcos cqexp cqlog cqsin cqsqrt dcmplx dconjg derf derfc dfloat dgamma dimag dlgama iqint qabs qacos qasin qatan qatan2 qcmplx qconjg qcos qcosh qdim qerf qerfc qexp qgamma qimag qlgama qlog qlog10 qmax1 qmin1 qmod qnint qsign qsin qsinh qsqrt qtan qtanh abs acos aimag aint anint asin atan atan2 char cmplx conjg cos cosh exp ichar index int log log10 max min nint sign sin sinh sqrt tan tanh print write dim lge lgt lle llt mod nullify allocate deallocate adjustl adjustr all allocated any associated bit_size btest ceiling count cshift date_and_time digits dot_product eoshift epsilon exponent floor fraction huge iand ibclr ibits ibset ieor ior ishft ishftc lbound len_trim matmul maxexponent maxloc maxval merge minexponent minloc minval modulo mvbits nearest pack present product radix random_number random_seed range repeat reshape rrspacing scale scan selected_int_kind selected_real_kind set_exponent shape size spacing spread sum system_clock tiny transpose trim ubound unpack verify achar iachar transfer dble entry dprod cpu_time command_argument_count get_command get_command_argument get_environment_variable is_iostat_end ieee_arithmetic ieee_support_underflow_control ieee_get_underflow_mode ieee_set_underflow_mode is_iostat_eor move_alloc new_line selected_char_kind same_type_as extends_type_of acosh asinh atanh bessel_j0 bessel_j1 bessel_jn bessel_y0 bessel_y1 bessel_yn erf erfc erfc_scaled gamma log_gamma hypot norm2 atomic_define atomic_ref execute_command_line leadz trailz storage_size merge_bits bge bgt ble blt dshiftl dshiftr findloc iall iany iparity image_index lcobound ucobound maskl maskr num_images parity popcnt poppar shifta shiftl shiftr this_image IRP_ALIGN irp_here"},illegal:/\/\*/,contains:[m.inherit(m.APOS_STRING_MODE,{className:"string",relevance:0}),m.inherit(m.QUOTE_STRING_MODE,{className:"string",relevance:0}),{className:"function",beginKeywords:"subroutine function program",illegal:"[${=\\n]",contains:[m.UNDERSCORE_TITLE_MODE,G]},m.COMMENT("!","$",{relevance:0}),m.COMMENT("begin_doc","end_doc",{relevance:10}),$]}}return irpf90_1=k,irpf90_1}var isbl_1,hasRequiredIsbl;function requireIsbl(){if(hasRequiredIsbl)return isbl_1;hasRequiredIsbl=1;function k(m){const M="[A-Za-zА-Яа-яёЁ_!][A-Za-zА-Яа-яёЁ_0-9]*",G="[A-Za-zА-Яа-яёЁ_][A-Za-zА-Яа-яёЁ_0-9]*",V="and и else иначе endexcept endfinally endforeach конецвсе endif конецесли endwhile конецпока except exitfor finally foreach все if если in в not не or или try while пока ",q="SYSRES_CONST_ACCES_RIGHT_TYPE_EDIT SYSRES_CONST_ACCES_RIGHT_TYPE_FULL SYSRES_CONST_ACCES_RIGHT_TYPE_VIEW SYSRES_CONST_ACCESS_MODE_REQUISITE_CODE SYSRES_CONST_ACCESS_NO_ACCESS_VIEW SYSRES_CONST_ACCESS_NO_ACCESS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_ADD_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_CHANGE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_DELETE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_EXECUTE_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_NO_ACCESS_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_RATIFY_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW SYSRES_CONST_ACCESS_RIGHTS_VIEW_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_CODE SYSRES_CONST_ACCESS_RIGHTS_VIEW_REQUISITE_YES_CODE SYSRES_CONST_ACCESS_TYPE_CHANGE SYSRES_CONST_ACCESS_TYPE_CHANGE_CODE SYSRES_CONST_ACCESS_TYPE_EXISTS SYSRES_CONST_ACCESS_TYPE_EXISTS_CODE SYSRES_CONST_ACCESS_TYPE_FULL SYSRES_CONST_ACCESS_TYPE_FULL_CODE SYSRES_CONST_ACCESS_TYPE_VIEW SYSRES_CONST_ACCESS_TYPE_VIEW_CODE SYSRES_CONST_ACTION_TYPE_ABORT SYSRES_CONST_ACTION_TYPE_ACCEPT SYSRES_CONST_ACTION_TYPE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ADD_ATTACHMENT SYSRES_CONST_ACTION_TYPE_CHANGE_CARD SYSRES_CONST_ACTION_TYPE_CHANGE_KIND SYSRES_CONST_ACTION_TYPE_CHANGE_STORAGE SYSRES_CONST_ACTION_TYPE_CONTINUE SYSRES_CONST_ACTION_TYPE_COPY SYSRES_CONST_ACTION_TYPE_CREATE SYSRES_CONST_ACTION_TYPE_CREATE_VERSION SYSRES_CONST_ACTION_TYPE_DELETE SYSRES_CONST_ACTION_TYPE_DELETE_ATTACHMENT SYSRES_CONST_ACTION_TYPE_DELETE_VERSION SYSRES_CONST_ACTION_TYPE_DISABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENABLE_DELEGATE_ACCESS_RIGHTS SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_CERTIFICATE_AND_PASSWORD SYSRES_CONST_ACTION_TYPE_ENCRYPTION_BY_PASSWORD SYSRES_CONST_ACTION_TYPE_EXPORT_WITH_LOCK SYSRES_CONST_ACTION_TYPE_EXPORT_WITHOUT_LOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITH_UNLOCK SYSRES_CONST_ACTION_TYPE_IMPORT_WITHOUT_UNLOCK SYSRES_CONST_ACTION_TYPE_LIFE_CYCLE_STAGE SYSRES_CONST_ACTION_TYPE_LOCK SYSRES_CONST_ACTION_TYPE_LOCK_FOR_SERVER SYSRES_CONST_ACTION_TYPE_LOCK_MODIFY SYSRES_CONST_ACTION_TYPE_MARK_AS_READED SYSRES_CONST_ACTION_TYPE_MARK_AS_UNREADED SYSRES_CONST_ACTION_TYPE_MODIFY SYSRES_CONST_ACTION_TYPE_MODIFY_CARD SYSRES_CONST_ACTION_TYPE_MOVE_TO_ARCHIVE SYSRES_CONST_ACTION_TYPE_OFF_ENCRYPTION SYSRES_CONST_ACTION_TYPE_PASSWORD_CHANGE SYSRES_CONST_ACTION_TYPE_PERFORM SYSRES_CONST_ACTION_TYPE_RECOVER_FROM_LOCAL_COPY SYSRES_CONST_ACTION_TYPE_RESTART SYSRES_CONST_ACTION_TYPE_RESTORE_FROM_ARCHIVE SYSRES_CONST_ACTION_TYPE_REVISION SYSRES_CONST_ACTION_TYPE_SEND_BY_MAIL SYSRES_CONST_ACTION_TYPE_SIGN SYSRES_CONST_ACTION_TYPE_START SYSRES_CONST_ACTION_TYPE_UNLOCK SYSRES_CONST_ACTION_TYPE_UNLOCK_FROM_SERVER SYSRES_CONST_ACTION_TYPE_VERSION_STATE SYSRES_CONST_ACTION_TYPE_VERSION_VISIBILITY SYSRES_CONST_ACTION_TYPE_VIEW SYSRES_CONST_ACTION_TYPE_VIEW_SHADOW_COPY SYSRES_CONST_ACTION_TYPE_WORKFLOW_DESCRIPTION_MODIFY SYSRES_CONST_ACTION_TYPE_WRITE_HISTORY SYSRES_CONST_ACTIVE_VERSION_STATE_PICK_VALUE SYSRES_CONST_ADD_REFERENCE_MODE_NAME SYSRES_CONST_ADDITION_REQUISITE_CODE SYSRES_CONST_ADDITIONAL_PARAMS_REQUISITE_CODE SYSRES_CONST_ADITIONAL_JOB_END_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_READ_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_START_DATE_REQUISITE_NAME SYSRES_CONST_ADITIONAL_JOB_STATE_REQUISITE_NAME SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_ADDING_USER_TO_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_CREATION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_DATABASE_USER_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_COMP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_DELETION_USER_FROM_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_GRANTING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_MAIN_SERVER_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_IS_PUBLIC_CHANGED_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_FILTERER_RESTRICTION_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_PRIVILEGE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_REMOVING_RIGHTS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_CREATION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION SYSRES_CONST_ADMINISTRATION_HISTORY_SERVER_LOGIN_DELETION_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_CATEGORY_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_COMP_TITLE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_FULL_NAME_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_PARENT_GROUP_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_AUTH_TYPE_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_LOGIN_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION SYSRES_CONST_ADMINISTRATION_HISTORY_UPDATING_USER_STATUS_ACTION_CODE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE SYSRES_CONST_ADMINISTRATION_HISTORY_USER_PASSWORD_CHANGE_ACTION SYSRES_CONST_ALL_ACCEPT_CONDITION_RUS SYSRES_CONST_ALL_USERS_GROUP SYSRES_CONST_ALL_USERS_GROUP_NAME SYSRES_CONST_ALL_USERS_SERVER_GROUP_NAME SYSRES_CONST_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_APP_VIEWER_TYPE_REQUISITE_CODE SYSRES_CONST_APPROVING_SIGNATURE_NAME SYSRES_CONST_APPROVING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE SYSRES_CONST_ASSISTANT_SUBSTITUE_TYPE_CODE SYSRES_CONST_ATTACH_TYPE_COMPONENT_TOKEN SYSRES_CONST_ATTACH_TYPE_DOC SYSRES_CONST_ATTACH_TYPE_EDOC SYSRES_CONST_ATTACH_TYPE_FOLDER SYSRES_CONST_ATTACH_TYPE_JOB SYSRES_CONST_ATTACH_TYPE_REFERENCE SYSRES_CONST_ATTACH_TYPE_TASK SYSRES_CONST_AUTH_ENCODED_PASSWORD SYSRES_CONST_AUTH_ENCODED_PASSWORD_CODE SYSRES_CONST_AUTH_NOVELL SYSRES_CONST_AUTH_PASSWORD SYSRES_CONST_AUTH_PASSWORD_CODE SYSRES_CONST_AUTH_WINDOWS SYSRES_CONST_AUTHENTICATING_SIGNATURE_NAME SYSRES_CONST_AUTHENTICATING_SIGNATURE_REQUISITE_CODE SYSRES_CONST_AUTO_ENUM_METHOD_FLAG SYSRES_CONST_AUTO_NUMERATION_CODE SYSRES_CONST_AUTO_STRONG_ENUM_METHOD_FLAG SYSRES_CONST_AUTOTEXT_NAME_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_TEXT_REQUISITE_CODE SYSRES_CONST_AUTOTEXT_USAGE_ALL SYSRES_CONST_AUTOTEXT_USAGE_ALL_CODE SYSRES_CONST_AUTOTEXT_USAGE_SIGN SYSRES_CONST_AUTOTEXT_USAGE_SIGN_CODE SYSRES_CONST_AUTOTEXT_USAGE_WORK SYSRES_CONST_AUTOTEXT_USAGE_WORK_CODE SYSRES_CONST_AUTOTEXT_USE_ANYWHERE_CODE SYSRES_CONST_AUTOTEXT_USE_ON_SIGNING_CODE SYSRES_CONST_AUTOTEXT_USE_ON_WORK_CODE SYSRES_CONST_BEGIN_DATE_REQUISITE_CODE SYSRES_CONST_BLACK_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BLUE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_BTN_PART SYSRES_CONST_CALCULATED_ROLE_TYPE_CODE SYSRES_CONST_CALL_TYPE_VARIABLE_BUTTON_VALUE SYSRES_CONST_CALL_TYPE_VARIABLE_PROGRAM_VALUE SYSRES_CONST_CANCEL_MESSAGE_FUNCTION_RESULT SYSRES_CONST_CARD_PART SYSRES_CONST_CARD_REFERENCE_MODE_NAME SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_AND_ENCRYPT_VALUE SYSRES_CONST_CERTIFICATE_TYPE_REQUISITE_SIGN_VALUE SYSRES_CONST_CHECK_PARAM_VALUE_DATE_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_FLOAT_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_INTEGER_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_PICK_PARAM_TYPE SYSRES_CONST_CHECK_PARAM_VALUE_REEFRENCE_PARAM_TYPE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_CLOSED_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_CODE_COMPONENT_TYPE_ADMIN SYSRES_CONST_CODE_COMPONENT_TYPE_DEVELOPER SYSRES_CONST_CODE_COMPONENT_TYPE_DOCS SYSRES_CONST_CODE_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_CODE_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_CODE_COMPONENT_TYPE_OTHER SYSRES_CONST_CODE_COMPONENT_TYPE_REFERENCE SYSRES_CONST_CODE_COMPONENT_TYPE_REPORT SYSRES_CONST_CODE_COMPONENT_TYPE_SCRIPT SYSRES_CONST_CODE_COMPONENT_TYPE_URL SYSRES_CONST_CODE_REQUISITE_ACCESS SYSRES_CONST_CODE_REQUISITE_CODE SYSRES_CONST_CODE_REQUISITE_COMPONENT SYSRES_CONST_CODE_REQUISITE_DESCRIPTION SYSRES_CONST_CODE_REQUISITE_EXCLUDE_COMPONENT SYSRES_CONST_CODE_REQUISITE_RECORD SYSRES_CONST_COMMENT_REQ_CODE SYSRES_CONST_COMMON_SETTINGS_REQUISITE_CODE SYSRES_CONST_COMP_CODE_GRD SYSRES_CONST_COMPONENT_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_COMPONENT_TYPE_ADMIN_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DEVELOPER_COMPONENTS SYSRES_CONST_COMPONENT_TYPE_DOCS SYSRES_CONST_COMPONENT_TYPE_EDOC_CARDS SYSRES_CONST_COMPONENT_TYPE_EDOCS SYSRES_CONST_COMPONENT_TYPE_EXTERNAL_EXECUTABLE SYSRES_CONST_COMPONENT_TYPE_OTHER SYSRES_CONST_COMPONENT_TYPE_REFERENCE_TYPES SYSRES_CONST_COMPONENT_TYPE_REFERENCES SYSRES_CONST_COMPONENT_TYPE_REPORTS SYSRES_CONST_COMPONENT_TYPE_SCRIPTS SYSRES_CONST_COMPONENT_TYPE_URL SYSRES_CONST_COMPONENTS_REMOTE_SERVERS_VIEW_CODE SYSRES_CONST_CONDITION_BLOCK_DESCRIPTION SYSRES_CONST_CONST_FIRM_STATUS_COMMON SYSRES_CONST_CONST_FIRM_STATUS_INDIVIDUAL SYSRES_CONST_CONST_NEGATIVE_VALUE SYSRES_CONST_CONST_POSITIVE_VALUE SYSRES_CONST_CONST_SERVER_STATUS_DONT_REPLICATE SYSRES_CONST_CONST_SERVER_STATUS_REPLICATE SYSRES_CONST_CONTENTS_REQUISITE_CODE SYSRES_CONST_DATA_TYPE_BOOLEAN SYSRES_CONST_DATA_TYPE_DATE SYSRES_CONST_DATA_TYPE_FLOAT SYSRES_CONST_DATA_TYPE_INTEGER SYSRES_CONST_DATA_TYPE_PICK SYSRES_CONST_DATA_TYPE_REFERENCE SYSRES_CONST_DATA_TYPE_STRING SYSRES_CONST_DATA_TYPE_TEXT SYSRES_CONST_DATA_TYPE_VARIANT SYSRES_CONST_DATE_CLOSE_REQ_CODE SYSRES_CONST_DATE_FORMAT_DATE_ONLY_CHAR SYSRES_CONST_DATE_OPEN_REQ_CODE SYSRES_CONST_DATE_REQUISITE SYSRES_CONST_DATE_REQUISITE_CODE SYSRES_CONST_DATE_REQUISITE_NAME SYSRES_CONST_DATE_REQUISITE_TYPE SYSRES_CONST_DATE_TYPE_CHAR SYSRES_CONST_DATETIME_FORMAT_VALUE SYSRES_CONST_DEA_ACCESS_RIGHTS_ACTION_CODE SYSRES_CONST_DESCRIPTION_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_DET1_PART SYSRES_CONST_DET2_PART SYSRES_CONST_DET3_PART SYSRES_CONST_DET4_PART SYSRES_CONST_DET5_PART SYSRES_CONST_DET6_PART SYSRES_CONST_DETAIL_DATASET_KEY_REQUISITE_CODE SYSRES_CONST_DETAIL_PICK_REQUISITE_CODE SYSRES_CONST_DETAIL_REQ_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ACCESS_TYPE_NAME SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_CODE SYSRES_CONST_DO_NOT_USE_ON_VIEW_ACCESS_TYPE_NAME SYSRES_CONST_DOCUMENT_STORAGES_CODE SYSRES_CONST_DOCUMENT_TEMPLATES_TYPE_NAME SYSRES_CONST_DOUBLE_REQUISITE_CODE SYSRES_CONST_EDITOR_CLOSE_FILE_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_CLOSE_PROCESS_OBSERV_TYPE_CODE SYSRES_CONST_EDITOR_TYPE_REQUISITE_CODE SYSRES_CONST_EDITORS_APPLICATION_NAME_REQUISITE_CODE SYSRES_CONST_EDITORS_CREATE_SEVERAL_PROCESSES_REQUISITE_CODE SYSRES_CONST_EDITORS_EXTENSION_REQUISITE_CODE SYSRES_CONST_EDITORS_OBSERVER_BY_PROCESS_TYPE SYSRES_CONST_EDITORS_REFERENCE_CODE SYSRES_CONST_EDITORS_REPLACE_SPEC_CHARS_REQUISITE_CODE SYSRES_CONST_EDITORS_USE_PLUGINS_REQUISITE_CODE SYSRES_CONST_EDITORS_VIEW_DOCUMENT_OPENED_TO_EDIT_CODE SYSRES_CONST_EDOC_CARD_TYPE_REQUISITE_CODE SYSRES_CONST_EDOC_CARD_TYPES_LINK_REQUISITE_CODE SYSRES_CONST_EDOC_CERTIFICATE_AND_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_CERTIFICATE_ENCODE_CODE SYSRES_CONST_EDOC_DATE_REQUISITE_CODE SYSRES_CONST_EDOC_KIND_REFERENCE_CODE SYSRES_CONST_EDOC_KINDS_BY_TEMPLATE_ACTION_CODE SYSRES_CONST_EDOC_MANAGE_ACCESS_CODE SYSRES_CONST_EDOC_NONE_ENCODE_CODE SYSRES_CONST_EDOC_NUMBER_REQUISITE_CODE SYSRES_CONST_EDOC_PASSWORD_ENCODE_CODE SYSRES_CONST_EDOC_READONLY_ACCESS_CODE SYSRES_CONST_EDOC_SHELL_LIFE_TYPE_VIEW_VALUE SYSRES_CONST_EDOC_SIZE_RESTRICTION_PRIORITY_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_CHECK_ACCESS_RIGHTS_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_COMPUTER_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_DATABASE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_EDIT_IN_STORAGE_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_LOCAL_PATH_REQUISITE_CODE SYSRES_CONST_EDOC_STORAGE_SHARED_SOURCE_NAME_REQUISITE_CODE SYSRES_CONST_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_EDOC_TYPES_REFERENCE_CODE SYSRES_CONST_EDOC_VERSION_ACTIVE_STAGE_CODE SYSRES_CONST_EDOC_VERSION_DESIGN_STAGE_CODE SYSRES_CONST_EDOC_VERSION_OBSOLETE_STAGE_CODE SYSRES_CONST_EDOC_WRITE_ACCES_CODE SYSRES_CONST_EDOCUMENT_CARD_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_END_DATE_REQUISITE_CODE SYSRES_CONST_ENUMERATION_TYPE_REQUISITE_CODE SYSRES_CONST_EXECUTE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_EXECUTIVE_FILE_STORAGE_TYPE SYSRES_CONST_EXIST_CONST SYSRES_CONST_EXIST_VALUE SYSRES_CONST_EXPORT_LOCK_TYPE_ASK SYSRES_CONST_EXPORT_LOCK_TYPE_WITH_LOCK SYSRES_CONST_EXPORT_LOCK_TYPE_WITHOUT_LOCK SYSRES_CONST_EXPORT_VERSION_TYPE_ASK SYSRES_CONST_EXPORT_VERSION_TYPE_LAST SYSRES_CONST_EXPORT_VERSION_TYPE_LAST_ACTIVE SYSRES_CONST_EXTENSION_REQUISITE_CODE SYSRES_CONST_FILTER_NAME_REQUISITE_CODE SYSRES_CONST_FILTER_REQUISITE_CODE SYSRES_CONST_FILTER_TYPE_COMMON_CODE SYSRES_CONST_FILTER_TYPE_COMMON_NAME SYSRES_CONST_FILTER_TYPE_USER_CODE SYSRES_CONST_FILTER_TYPE_USER_NAME SYSRES_CONST_FILTER_VALUE_REQUISITE_NAME SYSRES_CONST_FLOAT_NUMBER_FORMAT_CHAR SYSRES_CONST_FLOAT_REQUISITE_TYPE SYSRES_CONST_FOLDER_AUTHOR_VALUE SYSRES_CONST_FOLDER_KIND_ANY_OBJECTS SYSRES_CONST_FOLDER_KIND_COMPONENTS SYSRES_CONST_FOLDER_KIND_EDOCS SYSRES_CONST_FOLDER_KIND_JOBS SYSRES_CONST_FOLDER_KIND_TASKS SYSRES_CONST_FOLDER_TYPE_COMMON SYSRES_CONST_FOLDER_TYPE_COMPONENT SYSRES_CONST_FOLDER_TYPE_FAVORITES SYSRES_CONST_FOLDER_TYPE_INBOX SYSRES_CONST_FOLDER_TYPE_OUTBOX SYSRES_CONST_FOLDER_TYPE_QUICK_LAUNCH SYSRES_CONST_FOLDER_TYPE_SEARCH SYSRES_CONST_FOLDER_TYPE_SHORTCUTS SYSRES_CONST_FOLDER_TYPE_USER SYSRES_CONST_FROM_DICTIONARY_ENUM_METHOD_FLAG SYSRES_CONST_FULL_SUBSTITUTE_TYPE SYSRES_CONST_FULL_SUBSTITUTE_TYPE_CODE SYSRES_CONST_FUNCTION_CANCEL_RESULT SYSRES_CONST_FUNCTION_CATEGORY_SYSTEM SYSRES_CONST_FUNCTION_CATEGORY_USER SYSRES_CONST_FUNCTION_FAILURE_RESULT SYSRES_CONST_FUNCTION_SAVE_RESULT SYSRES_CONST_GENERATED_REQUISITE SYSRES_CONST_GREEN_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_GROUP_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_CODE SYSRES_CONST_GROUP_CATEGORY_NORMAL_NAME SYSRES_CONST_GROUP_CATEGORY_SERVICE_CODE SYSRES_CONST_GROUP_CATEGORY_SERVICE_NAME SYSRES_CONST_GROUP_COMMON_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_FULL_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_CODES_REQUISITE_CODE SYSRES_CONST_GROUP_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_GROUP_SERVICE_CATEGORY_FIELD_VALUE SYSRES_CONST_GROUP_USER_REQUISITE_CODE SYSRES_CONST_GROUPS_REFERENCE_CODE SYSRES_CONST_GROUPS_REQUISITE_CODE SYSRES_CONST_HIDDEN_MODE_NAME SYSRES_CONST_HIGH_LVL_REQUISITE_CODE SYSRES_CONST_HISTORY_ACTION_CREATE_CODE SYSRES_CONST_HISTORY_ACTION_DELETE_CODE SYSRES_CONST_HISTORY_ACTION_EDIT_CODE SYSRES_CONST_HOUR_CHAR SYSRES_CONST_ID_REQUISITE_CODE SYSRES_CONST_IDSPS_REQUISITE_CODE SYSRES_CONST_IMAGE_MODE_COLOR SYSRES_CONST_IMAGE_MODE_GREYSCALE SYSRES_CONST_IMAGE_MODE_MONOCHROME SYSRES_CONST_IMPORTANCE_HIGH SYSRES_CONST_IMPORTANCE_LOW SYSRES_CONST_IMPORTANCE_NORMAL SYSRES_CONST_IN_DESIGN_VERSION_STATE_PICK_VALUE SYSRES_CONST_INCOMING_WORK_RULE_TYPE_CODE SYSRES_CONST_INT_REQUISITE SYSRES_CONST_INT_REQUISITE_TYPE SYSRES_CONST_INTEGER_NUMBER_FORMAT_CHAR SYSRES_CONST_INTEGER_TYPE_CHAR SYSRES_CONST_IS_GENERATED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_PUBLIC_ROLE_REQUISITE_CODE SYSRES_CONST_IS_REMOTE_USER_NEGATIVE_VALUE SYSRES_CONST_IS_REMOTE_USER_POSITIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_NEGATIVE_VALUE SYSRES_CONST_IS_STORED_REQUISITE_STORED_VALUE SYSRES_CONST_ITALIC_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_JOB_BLOCK_DESCRIPTION SYSRES_CONST_JOB_KIND_CONTROL_JOB SYSRES_CONST_JOB_KIND_JOB SYSRES_CONST_JOB_KIND_NOTICE SYSRES_CONST_JOB_STATE_ABORTED SYSRES_CONST_JOB_STATE_COMPLETE SYSRES_CONST_JOB_STATE_WORKING SYSRES_CONST_KIND_REQUISITE_CODE SYSRES_CONST_KIND_REQUISITE_NAME SYSRES_CONST_KINDS_CREATE_SHADOW_COPIES_REQUISITE_CODE SYSRES_CONST_KINDS_DEFAULT_EDOC_LIFE_STAGE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALL_TEPLATES_ALLOWED_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_LIFE_CYCLE_STAGE_CHANGING_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_ALLOW_MULTIPLE_ACTIVE_VERSIONS_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_SHARE_ACCES_RIGHTS_BY_DEFAULT_CODE SYSRES_CONST_KINDS_EDOC_TEMPLATE_REQUISITE_CODE SYSRES_CONST_KINDS_EDOC_TYPE_REQUISITE_CODE SYSRES_CONST_KINDS_SIGNERS_REQUISITES_CODE SYSRES_CONST_KOD_INPUT_TYPE SYSRES_CONST_LAST_UPDATE_DATE_REQUISITE_CODE SYSRES_CONST_LIFE_CYCLE_START_STAGE_REQUISITE_CODE SYSRES_CONST_LILAC_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_LINK_OBJECT_KIND_COMPONENT SYSRES_CONST_LINK_OBJECT_KIND_DOCUMENT SYSRES_CONST_LINK_OBJECT_KIND_EDOC SYSRES_CONST_LINK_OBJECT_KIND_FOLDER SYSRES_CONST_LINK_OBJECT_KIND_JOB SYSRES_CONST_LINK_OBJECT_KIND_REFERENCE SYSRES_CONST_LINK_OBJECT_KIND_TASK SYSRES_CONST_LINK_REF_TYPE_REQUISITE_CODE SYSRES_CONST_LIST_REFERENCE_MODE_NAME SYSRES_CONST_LOCALIZATION_DICTIONARY_MAIN_VIEW_CODE SYSRES_CONST_MAIN_VIEW_CODE SYSRES_CONST_MANUAL_ENUM_METHOD_FLAG SYSRES_CONST_MASTER_COMP_TYPE_REQUISITE_CODE SYSRES_CONST_MASTER_TABLE_REC_ID_REQUISITE_CODE SYSRES_CONST_MAXIMIZED_MODE_NAME SYSRES_CONST_ME_VALUE SYSRES_CONST_MESSAGE_ATTENTION_CAPTION SYSRES_CONST_MESSAGE_CONFIRMATION_CAPTION SYSRES_CONST_MESSAGE_ERROR_CAPTION SYSRES_CONST_MESSAGE_INFORMATION_CAPTION SYSRES_CONST_MINIMIZED_MODE_NAME SYSRES_CONST_MINUTE_CHAR SYSRES_CONST_MODULE_REQUISITE_CODE SYSRES_CONST_MONITORING_BLOCK_DESCRIPTION SYSRES_CONST_MONTH_FORMAT_VALUE SYSRES_CONST_NAME_LOCALIZE_ID_REQUISITE_CODE SYSRES_CONST_NAME_REQUISITE_CODE SYSRES_CONST_NAME_SINGULAR_REQUISITE_CODE SYSRES_CONST_NAMEAN_INPUT_TYPE SYSRES_CONST_NEGATIVE_PICK_VALUE SYSRES_CONST_NEGATIVE_VALUE SYSRES_CONST_NO SYSRES_CONST_NO_PICK_VALUE SYSRES_CONST_NO_SIGNATURE_REQUISITE_CODE SYSRES_CONST_NO_VALUE SYSRES_CONST_NONE_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE SYSRES_CONST_NONOPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_NORMAL_ACCESS_RIGHTS_TYPE_CODE SYSRES_CONST_NORMAL_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_NORMAL_MODE_NAME SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_CODE SYSRES_CONST_NOT_ALLOWED_ACCESS_TYPE_NAME SYSRES_CONST_NOTE_REQUISITE_CODE SYSRES_CONST_NOTICE_BLOCK_DESCRIPTION SYSRES_CONST_NUM_REQUISITE SYSRES_CONST_NUM_STR_REQUISITE_CODE SYSRES_CONST_NUMERATION_AUTO_NOT_STRONG SYSRES_CONST_NUMERATION_AUTO_STRONG SYSRES_CONST_NUMERATION_FROM_DICTONARY SYSRES_CONST_NUMERATION_MANUAL SYSRES_CONST_NUMERIC_TYPE_CHAR SYSRES_CONST_NUMREQ_REQUISITE_CODE SYSRES_CONST_OBSOLETE_VERSION_STATE_PICK_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_FEMININE SYSRES_CONST_OPERATING_RECORD_FLAG_VALUE_MASCULINE SYSRES_CONST_OPTIONAL_FORM_COMP_REQCODE_PREFIX SYSRES_CONST_ORANGE_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_ORIGINALREF_REQUISITE_CODE SYSRES_CONST_OURFIRM_REF_CODE SYSRES_CONST_OURFIRM_REQUISITE_CODE SYSRES_CONST_OURFIRM_VAR SYSRES_CONST_OUTGOING_WORK_RULE_TYPE_CODE SYSRES_CONST_PICK_NEGATIVE_RESULT SYSRES_CONST_PICK_POSITIVE_RESULT SYSRES_CONST_PICK_REQUISITE SYSRES_CONST_PICK_REQUISITE_TYPE SYSRES_CONST_PICK_TYPE_CHAR SYSRES_CONST_PLAN_STATUS_REQUISITE_CODE SYSRES_CONST_PLATFORM_VERSION_COMMENT SYSRES_CONST_PLUGINS_SETTINGS_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_POSITIVE_PICK_VALUE SYSRES_CONST_POWER_TO_CREATE_ACTION_CODE SYSRES_CONST_POWER_TO_SIGN_ACTION_CODE SYSRES_CONST_PRIORITY_REQUISITE_CODE SYSRES_CONST_QUALIFIED_TASK_TYPE SYSRES_CONST_QUALIFIED_TASK_TYPE_CODE SYSRES_CONST_RECSTAT_REQUISITE_CODE SYSRES_CONST_RED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_REF_ID_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_REF_REQUISITE SYSRES_CONST_REF_REQUISITE_TYPE SYSRES_CONST_REF_REQUISITES_REFERENCE_CODE_SELECTED_REQUISITE SYSRES_CONST_REFERENCE_RECORD_HISTORY_CREATE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_DELETE_ACTION_CODE SYSRES_CONST_REFERENCE_RECORD_HISTORY_MODIFY_ACTION_CODE SYSRES_CONST_REFERENCE_TYPE_CHAR SYSRES_CONST_REFERENCE_TYPE_REQUISITE_NAME SYSRES_CONST_REFERENCES_ADD_PARAMS_REQUISITE_CODE SYSRES_CONST_REFERENCES_DISPLAY_REQUISITE_REQUISITE_CODE SYSRES_CONST_REMOTE_SERVER_STATUS_WORKING SYSRES_CONST_REMOTE_SERVER_TYPE_MAIN SYSRES_CONST_REMOTE_SERVER_TYPE_SECONDARY SYSRES_CONST_REMOTE_USER_FLAG_VALUE_CODE SYSRES_CONST_REPORT_APP_EDITOR_INTERNAL SYSRES_CONST_REPORT_BASE_REPORT_ID_REQUISITE_CODE SYSRES_CONST_REPORT_BASE_REPORT_REQUISITE_CODE SYSRES_CONST_REPORT_SCRIPT_REQUISITE_CODE SYSRES_CONST_REPORT_TEMPLATE_REQUISITE_CODE SYSRES_CONST_REPORT_VIEWER_CODE_REQUISITE_CODE SYSRES_CONST_REQ_ALLOW_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_RECORD_DEFAULT_VALUE SYSRES_CONST_REQ_ALLOW_SERVER_COMPONENT_DEFAULT_VALUE SYSRES_CONST_REQ_MODE_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_EDIT_CODE SYSRES_CONST_REQ_MODE_HIDDEN_CODE SYSRES_CONST_REQ_MODE_NOT_AVAILABLE_CODE SYSRES_CONST_REQ_MODE_VIEW_CODE SYSRES_CONST_REQ_NUMBER_REQUISITE_CODE SYSRES_CONST_REQ_SECTION_VALUE SYSRES_CONST_REQ_TYPE_VALUE SYSRES_CONST_REQUISITE_FORMAT_BY_UNIT SYSRES_CONST_REQUISITE_FORMAT_DATE_FULL SYSRES_CONST_REQUISITE_FORMAT_DATE_TIME SYSRES_CONST_REQUISITE_FORMAT_LEFT SYSRES_CONST_REQUISITE_FORMAT_RIGHT SYSRES_CONST_REQUISITE_FORMAT_WITHOUT_UNIT SYSRES_CONST_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_REQUISITE_SECTION_ACTIONS SYSRES_CONST_REQUISITE_SECTION_BUTTON SYSRES_CONST_REQUISITE_SECTION_BUTTONS SYSRES_CONST_REQUISITE_SECTION_CARD SYSRES_CONST_REQUISITE_SECTION_TABLE SYSRES_CONST_REQUISITE_SECTION_TABLE10 SYSRES_CONST_REQUISITE_SECTION_TABLE11 SYSRES_CONST_REQUISITE_SECTION_TABLE12 SYSRES_CONST_REQUISITE_SECTION_TABLE13 SYSRES_CONST_REQUISITE_SECTION_TABLE14 SYSRES_CONST_REQUISITE_SECTION_TABLE15 SYSRES_CONST_REQUISITE_SECTION_TABLE16 SYSRES_CONST_REQUISITE_SECTION_TABLE17 SYSRES_CONST_REQUISITE_SECTION_TABLE18 SYSRES_CONST_REQUISITE_SECTION_TABLE19 SYSRES_CONST_REQUISITE_SECTION_TABLE2 SYSRES_CONST_REQUISITE_SECTION_TABLE20 SYSRES_CONST_REQUISITE_SECTION_TABLE21 SYSRES_CONST_REQUISITE_SECTION_TABLE22 SYSRES_CONST_REQUISITE_SECTION_TABLE23 SYSRES_CONST_REQUISITE_SECTION_TABLE24 SYSRES_CONST_REQUISITE_SECTION_TABLE3 SYSRES_CONST_REQUISITE_SECTION_TABLE4 SYSRES_CONST_REQUISITE_SECTION_TABLE5 SYSRES_CONST_REQUISITE_SECTION_TABLE6 SYSRES_CONST_REQUISITE_SECTION_TABLE7 SYSRES_CONST_REQUISITE_SECTION_TABLE8 SYSRES_CONST_REQUISITE_SECTION_TABLE9 SYSRES_CONST_REQUISITES_PSEUDOREFERENCE_REQUISITE_NUMBER_REQUISITE_CODE SYSRES_CONST_RIGHT_ALIGNMENT_CODE SYSRES_CONST_ROLES_REFERENCE_CODE SYSRES_CONST_ROUTE_STEP_AFTER_RUS SYSRES_CONST_ROUTE_STEP_AND_CONDITION_RUS SYSRES_CONST_ROUTE_STEP_OR_CONDITION_RUS SYSRES_CONST_ROUTE_TYPE_COMPLEX SYSRES_CONST_ROUTE_TYPE_PARALLEL SYSRES_CONST_ROUTE_TYPE_SERIAL SYSRES_CONST_SBDATASETDESC_NEGATIVE_VALUE SYSRES_CONST_SBDATASETDESC_POSITIVE_VALUE SYSRES_CONST_SBVIEWSDESC_POSITIVE_VALUE SYSRES_CONST_SCRIPT_BLOCK_DESCRIPTION SYSRES_CONST_SEARCH_BY_TEXT_REQUISITE_CODE SYSRES_CONST_SEARCHES_COMPONENT_CONTENT SYSRES_CONST_SEARCHES_CRITERIA_ACTION_NAME SYSRES_CONST_SEARCHES_EDOC_CONTENT SYSRES_CONST_SEARCHES_FOLDER_CONTENT SYSRES_CONST_SEARCHES_JOB_CONTENT SYSRES_CONST_SEARCHES_REFERENCE_CODE SYSRES_CONST_SEARCHES_TASK_CONTENT SYSRES_CONST_SECOND_CHAR SYSRES_CONST_SECTION_REQUISITE_ACTIONS_VALUE SYSRES_CONST_SECTION_REQUISITE_CARD_VALUE SYSRES_CONST_SECTION_REQUISITE_CODE SYSRES_CONST_SECTION_REQUISITE_DETAIL_1_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_2_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_3_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_4_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_5_VALUE SYSRES_CONST_SECTION_REQUISITE_DETAIL_6_VALUE SYSRES_CONST_SELECT_REFERENCE_MODE_NAME SYSRES_CONST_SELECT_TYPE_SELECTABLE SYSRES_CONST_SELECT_TYPE_SELECTABLE_ONLY_CHILD SYSRES_CONST_SELECT_TYPE_SELECTABLE_WITH_CHILD SYSRES_CONST_SELECT_TYPE_UNSLECTABLE SYSRES_CONST_SERVER_TYPE_MAIN SYSRES_CONST_SERVICE_USER_CATEGORY_FIELD_VALUE SYSRES_CONST_SETTINGS_USER_REQUISITE_CODE SYSRES_CONST_SIGNATURE_AND_ENCODE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SIGNATURE_CERTIFICATE_TYPE_CODE SYSRES_CONST_SINGULAR_TITLE_REQUISITE_CODE SYSRES_CONST_SQL_SERVER_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_SQL_SERVER_ENCODE_AUTHENTIFICATION_FLAG_VALUE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_CODE SYSRES_CONST_STANDART_ROUTE_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_STANDART_ROUTES_GROUPS_REFERENCE_CODE SYSRES_CONST_STATE_REQ_NAME SYSRES_CONST_STATE_REQUISITE_ACTIVE_VALUE SYSRES_CONST_STATE_REQUISITE_CLOSED_VALUE SYSRES_CONST_STATE_REQUISITE_CODE SYSRES_CONST_STATIC_ROLE_TYPE_CODE SYSRES_CONST_STATUS_PLAN_DEFAULT_VALUE SYSRES_CONST_STATUS_VALUE_AUTOCLEANING SYSRES_CONST_STATUS_VALUE_BLUE_SQUARE SYSRES_CONST_STATUS_VALUE_COMPLETE SYSRES_CONST_STATUS_VALUE_GREEN_SQUARE SYSRES_CONST_STATUS_VALUE_ORANGE_SQUARE SYSRES_CONST_STATUS_VALUE_PURPLE_SQUARE SYSRES_CONST_STATUS_VALUE_RED_SQUARE SYSRES_CONST_STATUS_VALUE_SUSPEND SYSRES_CONST_STATUS_VALUE_YELLOW_SQUARE SYSRES_CONST_STDROUTE_SHOW_TO_USERS_REQUISITE_CODE SYSRES_CONST_STORAGE_TYPE_FILE SYSRES_CONST_STORAGE_TYPE_SQL_SERVER SYSRES_CONST_STR_REQUISITE SYSRES_CONST_STRIKEOUT_LIFE_CYCLE_STAGE_DRAW_STYLE SYSRES_CONST_STRING_FORMAT_LEFT_ALIGN_CHAR SYSRES_CONST_STRING_FORMAT_RIGHT_ALIGN_CHAR SYSRES_CONST_STRING_REQUISITE_CODE SYSRES_CONST_STRING_REQUISITE_TYPE SYSRES_CONST_STRING_TYPE_CHAR SYSRES_CONST_SUBSTITUTES_PSEUDOREFERENCE_CODE SYSRES_CONST_SUBTASK_BLOCK_DESCRIPTION SYSRES_CONST_SYSTEM_SETTING_CURRENT_USER_PARAM_VALUE SYSRES_CONST_SYSTEM_SETTING_EMPTY_VALUE_PARAM_VALUE SYSRES_CONST_SYSTEM_VERSION_COMMENT SYSRES_CONST_TASK_ACCESS_TYPE_ALL SYSRES_CONST_TASK_ACCESS_TYPE_ALL_MEMBERS SYSRES_CONST_TASK_ACCESS_TYPE_MANUAL SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION SYSRES_CONST_TASK_ENCODE_TYPE_CERTIFICATION_AND_PASSWORD SYSRES_CONST_TASK_ENCODE_TYPE_NONE SYSRES_CONST_TASK_ENCODE_TYPE_PASSWORD SYSRES_CONST_TASK_ROUTE_ALL_CONDITION SYSRES_CONST_TASK_ROUTE_AND_CONDITION SYSRES_CONST_TASK_ROUTE_OR_CONDITION SYSRES_CONST_TASK_STATE_ABORTED SYSRES_CONST_TASK_STATE_COMPLETE SYSRES_CONST_TASK_STATE_CONTINUED SYSRES_CONST_TASK_STATE_CONTROL SYSRES_CONST_TASK_STATE_INIT SYSRES_CONST_TASK_STATE_WORKING SYSRES_CONST_TASK_TITLE SYSRES_CONST_TASK_TYPES_GROUPS_REFERENCE_CODE SYSRES_CONST_TASK_TYPES_REFERENCE_CODE SYSRES_CONST_TEMPLATES_REFERENCE_CODE SYSRES_CONST_TEST_DATE_REQUISITE_NAME SYSRES_CONST_TEST_DEV_DATABASE_NAME SYSRES_CONST_TEST_DEV_SYSTEM_CODE SYSRES_CONST_TEST_EDMS_DATABASE_NAME SYSRES_CONST_TEST_EDMS_MAIN_CODE SYSRES_CONST_TEST_EDMS_MAIN_DB_NAME SYSRES_CONST_TEST_EDMS_SECOND_CODE SYSRES_CONST_TEST_EDMS_SECOND_DB_NAME SYSRES_CONST_TEST_EDMS_SYSTEM_CODE SYSRES_CONST_TEST_NUMERIC_REQUISITE_NAME SYSRES_CONST_TEXT_REQUISITE SYSRES_CONST_TEXT_REQUISITE_CODE SYSRES_CONST_TEXT_REQUISITE_TYPE SYSRES_CONST_TEXT_TYPE_CHAR SYSRES_CONST_TYPE_CODE_REQUISITE_CODE SYSRES_CONST_TYPE_REQUISITE_CODE SYSRES_CONST_UNDEFINED_LIFE_CYCLE_STAGE_FONT_COLOR SYSRES_CONST_UNITS_SECTION_ID_REQUISITE_CODE SYSRES_CONST_UNITS_SECTION_REQUISITE_CODE SYSRES_CONST_UNOPERATING_RECORD_FLAG_VALUE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_CODE SYSRES_CONST_UNSTORED_DATA_REQUISITE_NAME SYSRES_CONST_USE_ACCESS_TYPE_CODE SYSRES_CONST_USE_ACCESS_TYPE_NAME SYSRES_CONST_USER_ACCOUNT_TYPE_VALUE_CODE SYSRES_CONST_USER_ADDITIONAL_INFORMATION_REQUISITE_CODE SYSRES_CONST_USER_AND_GROUP_ID_FROM_PSEUDOREFERENCE_REQUISITE_CODE SYSRES_CONST_USER_CATEGORY_NORMAL SYSRES_CONST_USER_CERTIFICATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_STATE_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_SUBJECT_NAME_REQUISITE_CODE SYSRES_CONST_USER_CERTIFICATE_THUMBPRINT_REQUISITE_CODE SYSRES_CONST_USER_COMMON_CATEGORY SYSRES_CONST_USER_COMMON_CATEGORY_CODE SYSRES_CONST_USER_FULL_NAME_REQUISITE_CODE SYSRES_CONST_USER_GROUP_TYPE_REQUISITE_CODE SYSRES_CONST_USER_LOGIN_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USER_REMOTE_SYSTEM_REQUISITE_CODE SYSRES_CONST_USER_RIGHTS_T_REQUISITE_CODE SYSRES_CONST_USER_SERVER_NAME_REQUISITE_CODE SYSRES_CONST_USER_SERVICE_CATEGORY SYSRES_CONST_USER_SERVICE_CATEGORY_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_CODE SYSRES_CONST_USER_STATUS_ADMINISTRATOR_NAME SYSRES_CONST_USER_STATUS_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_DEVELOPER_NAME SYSRES_CONST_USER_STATUS_DISABLED_CODE SYSRES_CONST_USER_STATUS_DISABLED_NAME SYSRES_CONST_USER_STATUS_SYSTEM_DEVELOPER_CODE SYSRES_CONST_USER_STATUS_USER_CODE SYSRES_CONST_USER_STATUS_USER_NAME SYSRES_CONST_USER_STATUS_USER_NAME_DEPRECATED SYSRES_CONST_USER_TYPE_FIELD_VALUE_USER SYSRES_CONST_USER_TYPE_REQUISITE_CODE SYSRES_CONST_USERS_CONTROLLER_REQUISITE_CODE SYSRES_CONST_USERS_IS_MAIN_SERVER_REQUISITE_CODE SYSRES_CONST_USERS_REFERENCE_CODE SYSRES_CONST_USERS_REGISTRATION_CERTIFICATES_ACTION_NAME SYSRES_CONST_USERS_REQUISITE_CODE SYSRES_CONST_USERS_SYSTEM_REQUISITE_CODE SYSRES_CONST_USERS_USER_ACCESS_RIGHTS_TYPR_REQUISITE_CODE SYSRES_CONST_USERS_USER_AUTHENTICATION_REQUISITE_CODE SYSRES_CONST_USERS_USER_COMPONENT_REQUISITE_CODE SYSRES_CONST_USERS_USER_GROUP_REQUISITE_CODE SYSRES_CONST_USERS_VIEW_CERTIFICATES_ACTION_NAME SYSRES_CONST_VIEW_DEFAULT_CODE SYSRES_CONST_VIEW_DEFAULT_NAME SYSRES_CONST_VIEWER_REQUISITE_CODE SYSRES_CONST_WAITING_BLOCK_DESCRIPTION SYSRES_CONST_WIZARD_FORM_LABEL_TEST_STRING SYSRES_CONST_WIZARD_QUERY_PARAM_HEIGHT_ETALON_STRING SYSRES_CONST_WIZARD_REFERENCE_COMMENT_REQUISITE_CODE SYSRES_CONST_WORK_RULES_DESCRIPTION_REQUISITE_CODE SYSRES_CONST_WORK_TIME_CALENDAR_REFERENCE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE SYSRES_CONST_WORK_WORKFLOW_HARD_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORK_WORKFLOW_SOFT_ROUTE_TYPE_VALUE_CODE_RUS SYSRES_CONST_WORKFLOW_ROUTE_TYPR_HARD SYSRES_CONST_WORKFLOW_ROUTE_TYPR_SOFT SYSRES_CONST_XML_ENCODING SYSRES_CONST_XREC_STAT_REQUISITE_CODE SYSRES_CONST_XRECID_FIELD_NAME SYSRES_CONST_YES SYSRES_CONST_YES_NO_2_REQUISITE_CODE SYSRES_CONST_YES_NO_REQUISITE_CODE SYSRES_CONST_YES_NO_T_REF_TYPE_REQUISITE_CODE SYSRES_CONST_YES_PICK_VALUE SYSRES_CONST_YES_VALUE ",$="CR FALSE nil NO_VALUE NULL TAB TRUE YES_VALUE ",D="ADMINISTRATORS_GROUP_NAME CUSTOMIZERS_GROUP_NAME DEVELOPERS_GROUP_NAME SERVICE_USERS_GROUP_NAME ",B="DECISION_BLOCK_FIRST_OPERAND_PROPERTY DECISION_BLOCK_NAME_PROPERTY DECISION_BLOCK_OPERATION_PROPERTY DECISION_BLOCK_RESULT_TYPE_PROPERTY DECISION_BLOCK_SECOND_OPERAND_PROPERTY ",R="ANY_FILE_EXTENTION COMPRESSED_DOCUMENT_EXTENSION EXTENDED_DOCUMENT_EXTENSION SHORT_COMPRESSED_DOCUMENT_EXTENSION SHORT_EXTENDED_DOCUMENT_EXTENSION ",U="JOB_BLOCK_ABORT_DEADLINE_PROPERTY JOB_BLOCK_AFTER_FINISH_EVENT JOB_BLOCK_AFTER_QUERY_PARAMETERS_EVENT JOB_BLOCK_ATTACHMENT_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY JOB_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY JOB_BLOCK_BEFORE_QUERY_PARAMETERS_EVENT JOB_BLOCK_BEFORE_START_EVENT JOB_BLOCK_CREATED_JOBS_PROPERTY JOB_BLOCK_DEADLINE_PROPERTY JOB_BLOCK_EXECUTION_RESULTS_PROPERTY JOB_BLOCK_IS_PARALLEL_PROPERTY JOB_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY JOB_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY JOB_BLOCK_JOB_TEXT_PROPERTY JOB_BLOCK_NAME_PROPERTY JOB_BLOCK_NEED_SIGN_ON_PERFORM_PROPERTY JOB_BLOCK_PERFORMER_PROPERTY JOB_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY JOB_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY JOB_BLOCK_SUBJECT_PROPERTY ",K="ENGLISH_LANGUAGE_CODE RUSSIAN_LANGUAGE_CODE ",z="smHidden smMaximized smMinimized smNormal wmNo wmYes ",e="COMPONENT_TOKEN_LINK_KIND DOCUMENT_LINK_KIND EDOCUMENT_LINK_KIND FOLDER_LINK_KIND JOB_LINK_KIND REFERENCE_LINK_KIND TASK_LINK_KIND ",ae="COMPONENT_TOKEN_LOCK_TYPE EDOCUMENT_VERSION_LOCK_TYPE ",ie="MONITOR_BLOCK_AFTER_FINISH_EVENT MONITOR_BLOCK_BEFORE_START_EVENT MONITOR_BLOCK_DEADLINE_PROPERTY MONITOR_BLOCK_INTERVAL_PROPERTY MONITOR_BLOCK_INTERVAL_TYPE_PROPERTY MONITOR_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY MONITOR_BLOCK_NAME_PROPERTY MONITOR_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY MONITOR_BLOCK_SEARCH_SCRIPT_PROPERTY ",he="NOTICE_BLOCK_AFTER_FINISH_EVENT NOTICE_BLOCK_ATTACHMENT_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY NOTICE_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY NOTICE_BLOCK_BEFORE_START_EVENT NOTICE_BLOCK_CREATED_NOTICES_PROPERTY NOTICE_BLOCK_DEADLINE_PROPERTY NOTICE_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY NOTICE_BLOCK_NAME_PROPERTY NOTICE_BLOCK_NOTICE_TEXT_PROPERTY NOTICE_BLOCK_PERFORMER_PROPERTY NOTICE_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY NOTICE_BLOCK_SUBJECT_PROPERTY ",J="dseAfterCancel dseAfterClose dseAfterDelete dseAfterDeleteOutOfTransaction dseAfterInsert dseAfterOpen dseAfterScroll dseAfterUpdate dseAfterUpdateOutOfTransaction dseBeforeCancel dseBeforeClose dseBeforeDelete dseBeforeDetailUpdate dseBeforeInsert dseBeforeOpen dseBeforeUpdate dseOnAnyRequisiteChange dseOnCloseRecord dseOnDeleteError dseOnOpenRecord dseOnPrepareUpdate dseOnUpdateError dseOnUpdateRatifiedRecord dseOnValidDelete dseOnValidUpdate reOnChange reOnChangeValues SELECTION_BEGIN_ROUTE_EVENT SELECTION_END_ROUTE_EVENT ",W="CURRENT_PERIOD_IS_REQUIRED PREVIOUS_CARD_TYPE_NAME SHOW_RECORD_PROPERTIES_FORM ",X="ACCESS_RIGHTS_SETTING_DIALOG_CODE ADMINISTRATOR_USER_CODE ANALYTIC_REPORT_TYPE asrtHideLocal asrtHideRemote CALCULATED_ROLE_TYPE_CODE COMPONENTS_REFERENCE_DEVELOPER_VIEW_CODE DCTS_TEST_PROTOCOLS_FOLDER_PATH E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED E_EDOC_VERSION_ALREADY_APPROVINGLY_SIGNED_BY_USER E_EDOC_VERSION_ALREDY_SIGNED E_EDOC_VERSION_ALREDY_SIGNED_BY_USER EDOC_TYPES_CODE_REQUISITE_FIELD_NAME EDOCUMENTS_ALIAS_NAME FILES_FOLDER_PATH FILTER_OPERANDS_DELIMITER FILTER_OPERATIONS_DELIMITER FORMCARD_NAME FORMLIST_NAME GET_EXTENDED_DOCUMENT_EXTENSION_CREATION_MODE GET_EXTENDED_DOCUMENT_EXTENSION_IMPORT_MODE INTEGRATED_REPORT_TYPE IS_BUILDER_APPLICATION_ROLE IS_BUILDER_APPLICATION_ROLE2 IS_BUILDER_USERS ISBSYSDEV LOG_FOLDER_PATH mbCancel mbNo mbNoToAll mbOK mbYes mbYesToAll MEMORY_DATASET_DESRIPTIONS_FILENAME mrNo mrNoToAll mrYes mrYesToAll MULTIPLE_SELECT_DIALOG_CODE NONOPERATING_RECORD_FLAG_FEMININE NONOPERATING_RECORD_FLAG_MASCULINE OPERATING_RECORD_FLAG_FEMININE OPERATING_RECORD_FLAG_MASCULINE PROFILING_SETTINGS_COMMON_SETTINGS_CODE_VALUE PROGRAM_INITIATED_LOOKUP_ACTION ratDelete ratEdit ratInsert REPORT_TYPE REQUIRED_PICK_VALUES_VARIABLE rmCard rmList SBRTE_PROGID_DEV SBRTE_PROGID_RELEASE STATIC_ROLE_TYPE_CODE SUPPRESS_EMPTY_TEMPLATE_CREATION SYSTEM_USER_CODE UPDATE_DIALOG_DATASET USED_IN_OBJECT_HINT_PARAM USER_INITIATED_LOOKUP_ACTION USER_NAME_FORMAT USER_SELECTION_RESTRICTIONS WORKFLOW_TEST_PROTOCOLS_FOLDER_PATH ELS_SUBTYPE_CONTROL_NAME ELS_FOLDER_KIND_CONTROL_NAME REPEAT_PROCESS_CURRENT_OBJECT_EXCEPTION_NAME ",L="PRIVILEGE_COMPONENT_FULL_ACCESS PRIVILEGE_DEVELOPMENT_EXPORT PRIVILEGE_DEVELOPMENT_IMPORT PRIVILEGE_DOCUMENT_DELETE PRIVILEGE_ESD PRIVILEGE_FOLDER_DELETE PRIVILEGE_MANAGE_ACCESS_RIGHTS PRIVILEGE_MANAGE_REPLICATION PRIVILEGE_MANAGE_SESSION_SERVER PRIVILEGE_OBJECT_FULL_ACCESS PRIVILEGE_OBJECT_VIEW PRIVILEGE_RESERVE_LICENSE PRIVILEGE_SYSTEM_CUSTOMIZE PRIVILEGE_SYSTEM_DEVELOP PRIVILEGE_SYSTEM_INSTALL PRIVILEGE_TASK_DELETE PRIVILEGE_USER_PLUGIN_SETTINGS_CUSTOMIZE PRIVILEGES_PSEUDOREFERENCE_CODE ",Q="ACCESS_TYPES_PSEUDOREFERENCE_CODE ALL_AVAILABLE_COMPONENTS_PSEUDOREFERENCE_CODE ALL_AVAILABLE_PRIVILEGES_PSEUDOREFERENCE_CODE ALL_REPLICATE_COMPONENTS_PSEUDOREFERENCE_CODE AVAILABLE_DEVELOPERS_COMPONENTS_PSEUDOREFERENCE_CODE COMPONENTS_PSEUDOREFERENCE_CODE FILTRATER_SETTINGS_CONFLICTS_PSEUDOREFERENCE_CODE GROUPS_PSEUDOREFERENCE_CODE RECEIVE_PROTOCOL_PSEUDOREFERENCE_CODE REFERENCE_REQUISITE_PSEUDOREFERENCE_CODE REFERENCE_REQUISITES_PSEUDOREFERENCE_CODE REFTYPES_PSEUDOREFERENCE_CODE REPLICATION_SEANCES_DIARY_PSEUDOREFERENCE_CODE SEND_PROTOCOL_PSEUDOREFERENCE_CODE SUBSTITUTES_PSEUDOREFERENCE_CODE SYSTEM_SETTINGS_PSEUDOREFERENCE_CODE UNITS_PSEUDOREFERENCE_CODE USERS_PSEUDOREFERENCE_CODE VIEWERS_PSEUDOREFERENCE_CODE ",ce="CERTIFICATE_TYPE_ENCRYPT CERTIFICATE_TYPE_SIGN CERTIFICATE_TYPE_SIGN_AND_ENCRYPT ",de="STORAGE_TYPE_FILE STORAGE_TYPE_NAS_CIFS STORAGE_TYPE_SAPERION STORAGE_TYPE_SQL_SERVER ",se="COMPTYPE2_REQUISITE_DOCUMENTS_VALUE COMPTYPE2_REQUISITE_TASKS_VALUE COMPTYPE2_REQUISITE_FOLDERS_VALUE COMPTYPE2_REQUISITE_REFERENCES_VALUE ",oe="SYSREQ_CODE SYSREQ_COMPTYPE2 SYSREQ_CONST_AVAILABLE_FOR_WEB SYSREQ_CONST_COMMON_CODE SYSREQ_CONST_COMMON_VALUE SYSREQ_CONST_FIRM_CODE SYSREQ_CONST_FIRM_STATUS SYSREQ_CONST_FIRM_VALUE SYSREQ_CONST_SERVER_STATUS SYSREQ_CONTENTS SYSREQ_DATE_OPEN SYSREQ_DATE_CLOSE SYSREQ_DESCRIPTION SYSREQ_DESCRIPTION_LOCALIZE_ID SYSREQ_DOUBLE SYSREQ_EDOC_ACCESS_TYPE SYSREQ_EDOC_AUTHOR SYSREQ_EDOC_CREATED SYSREQ_EDOC_DELEGATE_RIGHTS_REQUISITE_CODE SYSREQ_EDOC_EDITOR SYSREQ_EDOC_ENCODE_TYPE SYSREQ_EDOC_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_EXPORT_DATE SYSREQ_EDOC_EXPORTER SYSREQ_EDOC_KIND SYSREQ_EDOC_LIFE_STAGE_NAME SYSREQ_EDOC_LOCKED_FOR_SERVER_CODE SYSREQ_EDOC_MODIFIED SYSREQ_EDOC_NAME SYSREQ_EDOC_NOTE SYSREQ_EDOC_QUALIFIED_ID SYSREQ_EDOC_SESSION_KEY SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_NAME SYSREQ_EDOC_SESSION_KEY_ENCRYPTION_PLUGIN_VERSION SYSREQ_EDOC_SIGNATURE_TYPE SYSREQ_EDOC_SIGNED SYSREQ_EDOC_STORAGE SYSREQ_EDOC_STORAGES_ARCHIVE_STORAGE SYSREQ_EDOC_STORAGES_CHECK_RIGHTS SYSREQ_EDOC_STORAGES_COMPUTER_NAME SYSREQ_EDOC_STORAGES_EDIT_IN_STORAGE SYSREQ_EDOC_STORAGES_EXECUTIVE_STORAGE SYSREQ_EDOC_STORAGES_FUNCTION SYSREQ_EDOC_STORAGES_INITIALIZED SYSREQ_EDOC_STORAGES_LOCAL_PATH SYSREQ_EDOC_STORAGES_SAPERION_DATABASE_NAME SYSREQ_EDOC_STORAGES_SEARCH_BY_TEXT SYSREQ_EDOC_STORAGES_SERVER_NAME SYSREQ_EDOC_STORAGES_SHARED_SOURCE_NAME SYSREQ_EDOC_STORAGES_TYPE SYSREQ_EDOC_TEXT_MODIFIED SYSREQ_EDOC_TYPE_ACT_CODE SYSREQ_EDOC_TYPE_ACT_DESCRIPTION SYSREQ_EDOC_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE SYSREQ_EDOC_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_EDOC_TYPE_ACT_SECTION SYSREQ_EDOC_TYPE_ADD_PARAMS SYSREQ_EDOC_TYPE_COMMENT SYSREQ_EDOC_TYPE_EVENT_TEXT SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR SYSREQ_EDOC_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_EDOC_TYPE_NAME_LOCALIZE_ID SYSREQ_EDOC_TYPE_NUMERATION_METHOD SYSREQ_EDOC_TYPE_PSEUDO_REQUISITE_CODE SYSREQ_EDOC_TYPE_REQ_CODE SYSREQ_EDOC_TYPE_REQ_DESCRIPTION SYSREQ_EDOC_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_EDOC_TYPE_REQ_IS_LEADING SYSREQ_EDOC_TYPE_REQ_IS_REQUIRED SYSREQ_EDOC_TYPE_REQ_NUMBER SYSREQ_EDOC_TYPE_REQ_ON_CHANGE SYSREQ_EDOC_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_EDOC_TYPE_REQ_ON_SELECT SYSREQ_EDOC_TYPE_REQ_ON_SELECT_KIND SYSREQ_EDOC_TYPE_REQ_SECTION SYSREQ_EDOC_TYPE_VIEW_CARD SYSREQ_EDOC_TYPE_VIEW_CODE SYSREQ_EDOC_TYPE_VIEW_COMMENT SYSREQ_EDOC_TYPE_VIEW_IS_MAIN SYSREQ_EDOC_TYPE_VIEW_NAME SYSREQ_EDOC_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_EDOC_VERSION_AUTHOR SYSREQ_EDOC_VERSION_CRC SYSREQ_EDOC_VERSION_DATA SYSREQ_EDOC_VERSION_EDITOR SYSREQ_EDOC_VERSION_EXPORT_DATE SYSREQ_EDOC_VERSION_EXPORTER SYSREQ_EDOC_VERSION_HIDDEN SYSREQ_EDOC_VERSION_LIFE_STAGE SYSREQ_EDOC_VERSION_MODIFIED SYSREQ_EDOC_VERSION_NOTE SYSREQ_EDOC_VERSION_SIGNATURE_TYPE SYSREQ_EDOC_VERSION_SIGNED SYSREQ_EDOC_VERSION_SIZE SYSREQ_EDOC_VERSION_SOURCE SYSREQ_EDOC_VERSION_TEXT_MODIFIED SYSREQ_EDOCKIND_DEFAULT_VERSION_STATE_CODE SYSREQ_FOLDER_KIND SYSREQ_FUNC_CATEGORY SYSREQ_FUNC_COMMENT SYSREQ_FUNC_GROUP SYSREQ_FUNC_GROUP_COMMENT SYSREQ_FUNC_GROUP_NUMBER SYSREQ_FUNC_HELP SYSREQ_FUNC_PARAM_DEF_VALUE SYSREQ_FUNC_PARAM_IDENT SYSREQ_FUNC_PARAM_NUMBER SYSREQ_FUNC_PARAM_TYPE SYSREQ_FUNC_TEXT SYSREQ_GROUP_CATEGORY SYSREQ_ID SYSREQ_LAST_UPDATE SYSREQ_LEADER_REFERENCE SYSREQ_LINE_NUMBER SYSREQ_MAIN_RECORD_ID SYSREQ_NAME SYSREQ_NAME_LOCALIZE_ID SYSREQ_NOTE SYSREQ_ORIGINAL_RECORD SYSREQ_OUR_FIRM SYSREQ_PROFILING_SETTINGS_BATCH_LOGING SYSREQ_PROFILING_SETTINGS_BATCH_SIZE SYSREQ_PROFILING_SETTINGS_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_SQL_PROFILING_ENABLED SYSREQ_PROFILING_SETTINGS_START_LOGGED SYSREQ_RECORD_STATUS SYSREQ_REF_REQ_FIELD_NAME SYSREQ_REF_REQ_FORMAT SYSREQ_REF_REQ_GENERATED SYSREQ_REF_REQ_LENGTH SYSREQ_REF_REQ_PRECISION SYSREQ_REF_REQ_REFERENCE SYSREQ_REF_REQ_SECTION SYSREQ_REF_REQ_STORED SYSREQ_REF_REQ_TOKENS SYSREQ_REF_REQ_TYPE SYSREQ_REF_REQ_VIEW SYSREQ_REF_TYPE_ACT_CODE SYSREQ_REF_TYPE_ACT_DESCRIPTION SYSREQ_REF_TYPE_ACT_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_ACT_ON_EXECUTE SYSREQ_REF_TYPE_ACT_ON_EXECUTE_EXISTS SYSREQ_REF_TYPE_ACT_SECTION SYSREQ_REF_TYPE_ADD_PARAMS SYSREQ_REF_TYPE_COMMENT SYSREQ_REF_TYPE_COMMON_SETTINGS SYSREQ_REF_TYPE_DISPLAY_REQUISITE_NAME SYSREQ_REF_TYPE_EVENT_TEXT SYSREQ_REF_TYPE_MAIN_LEADING_REF SYSREQ_REF_TYPE_NAME_IN_SINGULAR SYSREQ_REF_TYPE_NAME_IN_SINGULAR_LOCALIZE_ID SYSREQ_REF_TYPE_NAME_LOCALIZE_ID SYSREQ_REF_TYPE_NUMERATION_METHOD SYSREQ_REF_TYPE_REQ_CODE SYSREQ_REF_TYPE_REQ_DESCRIPTION SYSREQ_REF_TYPE_REQ_DESCRIPTION_LOCALIZE_ID SYSREQ_REF_TYPE_REQ_IS_CONTROL SYSREQ_REF_TYPE_REQ_IS_FILTER SYSREQ_REF_TYPE_REQ_IS_LEADING SYSREQ_REF_TYPE_REQ_IS_REQUIRED SYSREQ_REF_TYPE_REQ_NUMBER SYSREQ_REF_TYPE_REQ_ON_CHANGE SYSREQ_REF_TYPE_REQ_ON_CHANGE_EXISTS SYSREQ_REF_TYPE_REQ_ON_SELECT SYSREQ_REF_TYPE_REQ_ON_SELECT_KIND SYSREQ_REF_TYPE_REQ_SECTION SYSREQ_REF_TYPE_VIEW_CARD SYSREQ_REF_TYPE_VIEW_CODE SYSREQ_REF_TYPE_VIEW_COMMENT SYSREQ_REF_TYPE_VIEW_IS_MAIN SYSREQ_REF_TYPE_VIEW_NAME SYSREQ_REF_TYPE_VIEW_NAME_LOCALIZE_ID SYSREQ_REFERENCE_TYPE_ID SYSREQ_STATE SYSREQ_STATЕ SYSREQ_SYSTEM_SETTINGS_VALUE SYSREQ_TYPE SYSREQ_UNIT SYSREQ_UNIT_ID SYSREQ_USER_GROUPS_GROUP_FULL_NAME SYSREQ_USER_GROUPS_GROUP_NAME SYSREQ_USER_GROUPS_GROUP_SERVER_NAME SYSREQ_USERS_ACCESS_RIGHTS SYSREQ_USERS_AUTHENTICATION SYSREQ_USERS_CATEGORY SYSREQ_USERS_COMPONENT SYSREQ_USERS_COMPONENT_USER_IS_PUBLIC SYSREQ_USERS_DOMAIN SYSREQ_USERS_FULL_USER_NAME SYSREQ_USERS_GROUP SYSREQ_USERS_IS_MAIN_SERVER SYSREQ_USERS_LOGIN SYSREQ_USERS_REFERENCE_USER_IS_PUBLIC SYSREQ_USERS_STATUS SYSREQ_USERS_USER_CERTIFICATE SYSREQ_USERS_USER_CERTIFICATE_INFO SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_NAME SYSREQ_USERS_USER_CERTIFICATE_PLUGIN_VERSION SYSREQ_USERS_USER_CERTIFICATE_STATE SYSREQ_USERS_USER_CERTIFICATE_SUBJECT_NAME SYSREQ_USERS_USER_CERTIFICATE_THUMBPRINT SYSREQ_USERS_USER_DEFAULT_CERTIFICATE SYSREQ_USERS_USER_DESCRIPTION SYSREQ_USERS_USER_GLOBAL_NAME SYSREQ_USERS_USER_LOGIN SYSREQ_USERS_USER_MAIN_SERVER SYSREQ_USERS_USER_TYPE SYSREQ_WORK_RULES_FOLDER_ID ",me="RESULT_VAR_NAME RESULT_VAR_NAME_ENG ",Ee="AUTO_NUMERATION_RULE_ID CANT_CHANGE_ID_REQUISITE_RULE_ID CANT_CHANGE_OURFIRM_REQUISITE_RULE_ID CHECK_CHANGING_REFERENCE_RECORD_USE_RULE_ID CHECK_CODE_REQUISITE_RULE_ID CHECK_DELETING_REFERENCE_RECORD_USE_RULE_ID CHECK_FILTRATER_CHANGES_RULE_ID CHECK_RECORD_INTERVAL_RULE_ID CHECK_REFERENCE_INTERVAL_RULE_ID CHECK_REQUIRED_DATA_FULLNESS_RULE_ID CHECK_REQUIRED_REQUISITES_FULLNESS_RULE_ID MAKE_RECORD_UNRATIFIED_RULE_ID RESTORE_AUTO_NUMERATION_RULE_ID SET_FIRM_CONTEXT_FROM_RECORD_RULE_ID SET_FIRST_RECORD_IN_LIST_FORM_RULE_ID SET_IDSPS_VALUE_RULE_ID SET_NEXT_CODE_VALUE_RULE_ID SET_OURFIRM_BOUNDS_RULE_ID SET_OURFIRM_REQUISITE_RULE_ID ",ke="SCRIPT_BLOCK_AFTER_FINISH_EVENT SCRIPT_BLOCK_BEFORE_START_EVENT SCRIPT_BLOCK_EXECUTION_RESULTS_PROPERTY SCRIPT_BLOCK_NAME_PROPERTY SCRIPT_BLOCK_SCRIPT_PROPERTY ",xe="SUBTASK_BLOCK_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_AFTER_FINISH_EVENT SUBTASK_BLOCK_ASSIGN_PARAMS_EVENT SUBTASK_BLOCK_ATTACHMENTS_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_GROUP_PROPERTY SUBTASK_BLOCK_ATTACHMENTS_RIGHTS_TYPE_PROPERTY SUBTASK_BLOCK_BEFORE_START_EVENT SUBTASK_BLOCK_CREATED_TASK_PROPERTY SUBTASK_BLOCK_CREATION_EVENT SUBTASK_BLOCK_DEADLINE_PROPERTY SUBTASK_BLOCK_IMPORTANCE_PROPERTY SUBTASK_BLOCK_INITIATOR_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_ABORT_DEADLINE_PROPERTY SUBTASK_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY SUBTASK_BLOCK_JOBS_TYPE_PROPERTY SUBTASK_BLOCK_NAME_PROPERTY SUBTASK_BLOCK_PARALLEL_ROUTE_PROPERTY SUBTASK_BLOCK_PERFORMERS_PROPERTY SUBTASK_BLOCK_RELATIVE_ABORT_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY SUBTASK_BLOCK_REQUIRE_SIGN_PROPERTY SUBTASK_BLOCK_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_START_EVENT SUBTASK_BLOCK_STEP_CONTROL_PROPERTY SUBTASK_BLOCK_SUBJECT_PROPERTY SUBTASK_BLOCK_TASK_CONTROL_PROPERTY SUBTASK_BLOCK_TEXT_PROPERTY SUBTASK_BLOCK_UNLOCK_ATTACHMENTS_ON_STOP_PROPERTY SUBTASK_BLOCK_USE_STANDARD_ROUTE_PROPERTY SUBTASK_BLOCK_WAIT_FOR_TASK_COMPLETE_PROPERTY ",fe="SYSCOMP_CONTROL_JOBS SYSCOMP_FOLDERS SYSCOMP_JOBS SYSCOMP_NOTICES SYSCOMP_TASKS ",ve="SYSDLG_CREATE_EDOCUMENT SYSDLG_CREATE_EDOCUMENT_VERSION SYSDLG_CURRENT_PERIOD SYSDLG_EDIT_FUNCTION_HELP SYSDLG_EDOCUMENT_KINDS_FOR_TEMPLATE SYSDLG_EXPORT_MULTIPLE_EDOCUMENTS SYSDLG_EXPORT_SINGLE_EDOCUMENT SYSDLG_IMPORT_EDOCUMENT SYSDLG_MULTIPLE_SELECT SYSDLG_SETUP_ACCESS_RIGHTS SYSDLG_SETUP_DEFAULT_RIGHTS SYSDLG_SETUP_FILTER_CONDITION SYSDLG_SETUP_SIGN_RIGHTS SYSDLG_SETUP_TASK_OBSERVERS SYSDLG_SETUP_TASK_ROUTE SYSDLG_SETUP_USERS_LIST SYSDLG_SIGN_EDOCUMENT SYSDLG_SIGN_MULTIPLE_EDOCUMENTS ",ye="SYSREF_ACCESS_RIGHTS_TYPES SYSREF_ADMINISTRATION_HISTORY SYSREF_ALL_AVAILABLE_COMPONENTS SYSREF_ALL_AVAILABLE_PRIVILEGES SYSREF_ALL_REPLICATING_COMPONENTS SYSREF_AVAILABLE_DEVELOPERS_COMPONENTS SYSREF_CALENDAR_EVENTS SYSREF_COMPONENT_TOKEN_HISTORY SYSREF_COMPONENT_TOKENS SYSREF_COMPONENTS SYSREF_CONSTANTS SYSREF_DATA_RECEIVE_PROTOCOL SYSREF_DATA_SEND_PROTOCOL SYSREF_DIALOGS SYSREF_DIALOGS_REQUISITES SYSREF_EDITORS SYSREF_EDOC_CARDS SYSREF_EDOC_TYPES SYSREF_EDOCUMENT_CARD_REQUISITES SYSREF_EDOCUMENT_CARD_TYPES SYSREF_EDOCUMENT_CARD_TYPES_REFERENCE SYSREF_EDOCUMENT_CARDS SYSREF_EDOCUMENT_HISTORY SYSREF_EDOCUMENT_KINDS SYSREF_EDOCUMENT_REQUISITES SYSREF_EDOCUMENT_SIGNATURES SYSREF_EDOCUMENT_TEMPLATES SYSREF_EDOCUMENT_TEXT_STORAGES SYSREF_EDOCUMENT_VIEWS SYSREF_FILTERER_SETUP_CONFLICTS SYSREF_FILTRATER_SETTING_CONFLICTS SYSREF_FOLDER_HISTORY SYSREF_FOLDERS SYSREF_FUNCTION_GROUPS SYSREF_FUNCTION_PARAMS SYSREF_FUNCTIONS SYSREF_JOB_HISTORY SYSREF_LINKS SYSREF_LOCALIZATION_DICTIONARY SYSREF_LOCALIZATION_LANGUAGES SYSREF_MODULES SYSREF_PRIVILEGES SYSREF_RECORD_HISTORY SYSREF_REFERENCE_REQUISITES SYSREF_REFERENCE_TYPE_VIEWS SYSREF_REFERENCE_TYPES SYSREF_REFERENCES SYSREF_REFERENCES_REQUISITES SYSREF_REMOTE_SERVERS SYSREF_REPLICATION_SESSIONS_LOG SYSREF_REPLICATION_SESSIONS_PROTOCOL SYSREF_REPORTS SYSREF_ROLES SYSREF_ROUTE_BLOCK_GROUPS SYSREF_ROUTE_BLOCKS SYSREF_SCRIPTS SYSREF_SEARCHES SYSREF_SERVER_EVENTS SYSREF_SERVER_EVENTS_HISTORY SYSREF_STANDARD_ROUTE_GROUPS SYSREF_STANDARD_ROUTES SYSREF_STATUSES SYSREF_SYSTEM_SETTINGS SYSREF_TASK_HISTORY SYSREF_TASK_KIND_GROUPS SYSREF_TASK_KINDS SYSREF_TASK_RIGHTS SYSREF_TASK_SIGNATURES SYSREF_TASKS SYSREF_UNITS SYSREF_USER_GROUPS SYSREF_USER_GROUPS_REFERENCE SYSREF_USER_SUBSTITUTION SYSREF_USERS SYSREF_USERS_REFERENCE SYSREF_VIEWERS SYSREF_WORKING_TIME_CALENDARS ",Ce="ACCESS_RIGHTS_TABLE_NAME EDMS_ACCESS_TABLE_NAME EDOC_TYPES_TABLE_NAME ",pe="TEST_DEV_DB_NAME TEST_DEV_SYSTEM_CODE TEST_EDMS_DB_NAME TEST_EDMS_MAIN_CODE TEST_EDMS_MAIN_DB_NAME TEST_EDMS_SECOND_CODE TEST_EDMS_SECOND_DB_NAME TEST_EDMS_SYSTEM_CODE TEST_ISB5_MAIN_CODE TEST_ISB5_SECOND_CODE TEST_SQL_SERVER_2005_NAME TEST_SQL_SERVER_NAME ",_e="ATTENTION_CAPTION cbsCommandLinks cbsDefault CONFIRMATION_CAPTION ERROR_CAPTION INFORMATION_CAPTION mrCancel mrOk ",Ge="EDOC_VERSION_ACTIVE_STAGE_CODE EDOC_VERSION_DESIGN_STAGE_CODE EDOC_VERSION_OBSOLETE_STAGE_CODE ",Ae="cpDataEnciphermentEnabled cpDigitalSignatureEnabled cpID cpIssuer cpPluginVersion cpSerial cpSubjectName cpSubjSimpleName cpValidFromDate cpValidToDate ",Ne="ISBL_SYNTAX NO_SYNTAX XML_SYNTAX ",Ze="WAIT_BLOCK_AFTER_FINISH_EVENT WAIT_BLOCK_BEFORE_START_EVENT WAIT_BLOCK_DEADLINE_PROPERTY WAIT_BLOCK_IS_RELATIVE_DEADLINE_PROPERTY WAIT_BLOCK_NAME_PROPERTY WAIT_BLOCK_RELATIVE_DEADLINE_TYPE_PROPERTY ",ze="SYSRES_COMMON SYSRES_CONST SYSRES_MBFUNC SYSRES_SBDATA SYSRES_SBGUI SYSRES_SBINTF SYSRES_SBREFDSC SYSRES_SQLERRORS SYSRES_SYSCOMP ",Te=q+$+D+B+R+U+K+z+e+ae+ie+he+J+W+X+L+Q+ce+de+se+oe+me+Ee+ke+xe+fe+ve+ye+Ce+pe+_e+Ge+Ae+Ne+Ze+ze,Fe="atUser atGroup atRole ",Pe="aemEnabledAlways aemDisabledAlways aemEnabledOnBrowse aemEnabledOnEdit aemDisabledOnBrowseEmpty ",we="apBegin apEnd ",Ie="alLeft alRight ",Be="asmNever asmNoButCustomize asmAsLastTime asmYesButCustomize asmAlways ",Ke="cirCommon cirRevoked ",Ve="ctSignature ctEncode ctSignatureEncode ",je="clbUnchecked clbChecked clbGrayed ",Le="ceISB ceAlways ceNever ",et="ctDocument ctReference ctScript ctUnknown ctReport ctDialog ctFunction ctFolder ctEDocument ctTask ctJob ctNotice ctControlJob ",Qe="cfInternal cfDisplay ",Ue="ciUnspecified ciWrite ciRead ",$e="ckFolder ckEDocument ckTask ckJob ckComponentToken ckAny ckReference ckScript ckReport ckDialog ",Ye="ctISBLEditor ctBevel ctButton ctCheckListBox ctComboBox ctComboEdit ctGrid ctDBCheckBox ctDBComboBox ctDBEdit ctDBEllipsis ctDBMemo ctDBNavigator ctDBRadioGroup ctDBStatusLabel ctEdit ctGroupBox ctInplaceHint ctMemo ctPanel ctListBox ctRadioButton ctRichEdit ctTabSheet ctWebBrowser ctImage ctHyperLink ctLabel ctDBMultiEllipsis ctRibbon ctRichView ctInnerPanel ctPanelGroup ctBitButton ",tt="cctDate cctInteger cctNumeric cctPick cctReference cctString cctText ",ot="cltInternal cltPrimary cltGUI ",st="dseBeforeOpen dseAfterOpen dseBeforeClose dseAfterClose dseOnValidDelete dseBeforeDelete dseAfterDelete dseAfterDeleteOutOfTransaction dseOnDeleteError dseBeforeInsert dseAfterInsert dseOnValidUpdate dseBeforeUpdate dseOnUpdateRatifiedRecord dseAfterUpdate dseAfterUpdateOutOfTransaction dseOnUpdateError dseAfterScroll dseOnOpenRecord dseOnCloseRecord dseBeforeCancel dseAfterCancel dseOnUpdateDeadlockError dseBeforeDetailUpdate dseOnPrepareUpdate dseOnAnyRequisiteChange ",dt="dssEdit dssInsert dssBrowse dssInActive ",ct="dftDate dftShortDate dftDateTime dftTimeStamp ",mt="dotDays dotHours dotMinutes dotSeconds ",ut="dtkndLocal dtkndUTC ",rt="arNone arView arEdit arFull ",He="ddaView ddaEdit ",Je="emLock emEdit emSign emExportWithLock emImportWithUnlock emChangeVersionNote emOpenForModify emChangeLifeStage emDelete emCreateVersion emImport emUnlockExportedWithLock emStart emAbort emReInit emMarkAsReaded emMarkAsUnreaded emPerform emAccept emResume emChangeRights emEditRoute emEditObserver emRecoveryFromLocalCopy emChangeWorkAccessType emChangeEncodeTypeToCertificate emChangeEncodeTypeToPassword emChangeEncodeTypeToNone emChangeEncodeTypeToCertificatePassword emChangeStandardRoute emGetText emOpenForView emMoveToStorage emCreateObject emChangeVersionHidden emDeleteVersion emChangeLifeCycleStage emApprovingSign emExport emContinue emLockFromEdit emUnLockForEdit emLockForServer emUnlockFromServer emDelegateAccessRights emReEncode ",St="ecotFile ecotProcess ",bt="eaGet eaCopy eaCreate eaCreateStandardRoute ",pt="edltAll edltNothing edltQuery ",wt="essmText essmCard ",Pt="esvtLast esvtLastActive esvtSpecified ",Nt="edsfExecutive edsfArchive ",Vt="edstSQLServer edstFile ",Wt="edvstNone edvstEDocumentVersionCopy edvstFile edvstTemplate edvstScannedFile ",Mt="vsDefault vsDesign vsActive vsObsolete ",$t="etNone etCertificate etPassword etCertificatePassword ",Yt="ecException ecWarning ecInformation ",Ft="estAll estApprovingOnly ",Jt="evtLast evtLastActive evtQuery ",er="fdtString fdtNumeric fdtInteger fdtDate fdtText fdtUnknown fdtWideString fdtLargeInteger ",Bt="ftInbox ftOutbox ftFavorites ftCommonFolder ftUserFolder ftComponents ftQuickLaunch ftShortcuts ftSearch ",It="grhAuto grhX1 grhX2 grhX3 ",Dt="hltText hltRTF hltHTML ",Zt="iffBMP iffJPEG iffMultiPageTIFF iffSinglePageTIFF iffTIFF iffPNG ",gr="im8bGrayscale im24bRGB im1bMonochrome ",fr="itBMP itJPEG itWMF itPNG ",Dr="ikhInformation ikhWarning ikhError ikhNoIcon ",kr="icUnknown icScript icFunction icIntegratedReport icAnalyticReport icDataSetEventHandler icActionHandler icFormEventHandler icLookUpEventHandler icRequisiteChangeEventHandler icBeforeSearchEventHandler icRoleCalculation icSelectRouteEventHandler icBlockPropertyCalculation icBlockQueryParamsEventHandler icChangeSearchResultEventHandler icBlockEventHandler icSubTaskInitEventHandler icEDocDataSetEventHandler icEDocLookUpEventHandler icEDocActionHandler icEDocFormEventHandler icEDocRequisiteChangeEventHandler icStructuredConversionRule icStructuredConversionEventBefore icStructuredConversionEventAfter icWizardEventHandler icWizardFinishEventHandler icWizardStepEventHandler icWizardStepFinishEventHandler icWizardActionEnableEventHandler icWizardActionExecuteEventHandler icCreateJobsHandler icCreateNoticesHandler icBeforeLookUpEventHandler icAfterLookUpEventHandler icTaskAbortEventHandler icWorkflowBlockActionHandler icDialogDataSetEventHandler icDialogActionHandler icDialogLookUpEventHandler icDialogRequisiteChangeEventHandler icDialogFormEventHandler icDialogValidCloseEventHandler icBlockFormEventHandler icTaskFormEventHandler icReferenceMethod icEDocMethod icDialogMethod icProcessMessageHandler ",cr="isShow isHide isByUserSettings ",Ar="jkJob jkNotice jkControlJob ",yt="jtInner jtLeft jtRight jtFull jtCross ",vt="lbpAbove lbpBelow lbpLeft lbpRight ",Xt="eltPerConnection eltPerUser ",At="sfcUndefined sfcBlack sfcGreen sfcRed sfcBlue sfcOrange sfcLilac ",zt="sfsItalic sfsStrikeout sfsNormal ",Br="ldctStandardRoute ldctWizard ldctScript ldctFunction ldctRouteBlock ldctIntegratedReport ldctAnalyticReport ldctReferenceType ldctEDocumentType ldctDialog ldctServerEvents ",br="mrcrtNone mrcrtUser mrcrtMaximal mrcrtCustom ",Ur="vtEqual vtGreaterOrEqual vtLessOrEqual vtRange ",un="rdYesterday rdToday rdTomorrow rdThisWeek rdThisMonth rdThisYear rdNextMonth rdNextWeek rdLastWeek rdLastMonth ",sr="rdWindow rdFile rdPrinter ",ur="rdtString rdtNumeric rdtInteger rdtDate rdtReference rdtAccount rdtText rdtPick rdtUnknown rdtLargeInteger rdtDocument ",Cr="reOnChange reOnChangeValues ",Tr="ttGlobal ttLocal ttUser ttSystem ",jt="ssmBrowse ssmSelect ssmMultiSelect ssmBrowseModal ",Wr="smSelect smLike smCard ",ir="stNone stAuthenticating stApproving ",Gr="sctString sctStream ",Jr="sstAnsiSort sstNaturalSort ",Xr="svtEqual svtContain ",fn="soatString soatNumeric soatInteger soatDatetime soatReferenceRecord soatText soatPick soatBoolean soatEDocument soatAccount soatIntegerCollection soatNumericCollection soatStringCollection soatPickCollection soatDatetimeCollection soatBooleanCollection soatReferenceRecordCollection soatEDocumentCollection soatAccountCollection soatContents soatUnknown ",cn="tarAbortByUser tarAbortByWorkflowException ",nn="tvtAllWords tvtExactPhrase tvtAnyWord ",ar="usNone usCompleted usRedSquare usBlueSquare usYellowSquare usGreenSquare usOrangeSquare usPurpleSquare usFollowUp ",xr="utUnknown utUser utDeveloper utAdministrator utSystemDeveloper utDisconnected ",Lr="btAnd btDetailAnd btOr btNotOr btOnly ",Rr="vmView vmSelect vmNavigation ",Mr="vsmSingle vsmMultiple vsmMultipleCheck vsmNoSelection ",an="wfatPrevious wfatNext wfatCancel wfatFinish ",gn="wfepUndefined wfepText3 wfepText6 wfepText9 wfepSpinEdit wfepDropDown wfepRadioGroup wfepFlag wfepText12 wfepText15 wfepText18 wfepText21 wfepText24 wfepText27 wfepText30 wfepRadioGroupColumn1 wfepRadioGroupColumn2 wfepRadioGroupColumn3 ",dn="wfetQueryParameter wfetText wfetDelimiter wfetLabel ",pn="wptString wptInteger wptNumeric wptBoolean wptDateTime wptPick wptText wptUser wptUserList wptEDocumentInfo wptEDocumentInfoList wptReferenceRecordInfo wptReferenceRecordInfoList wptFolderInfo wptTaskInfo wptContents wptFileName wptDate ",Mn="wsrComplete wsrGoNext wsrGoPrevious wsrCustom wsrCancel wsrGoFinal ",Yn="wstForm wstEDocument wstTaskCard wstReferenceRecordCard wstFinal ",hi="waAll waPerformers waManual ",Ci="wsbStart wsbFinish wsbNotice wsbStep wsbDecision wsbWait wsbMonitor wsbScript wsbConnector wsbSubTask wsbLifeCycleStage wsbPause ",da="wdtInteger wdtFloat wdtString wdtPick wdtDateTime wdtBoolean wdtTask wdtJob wdtFolder wdtEDocument wdtReferenceRecord wdtUser wdtGroup wdtRole wdtIntegerCollection wdtFloatCollection wdtStringCollection wdtPickCollection wdtDateTimeCollection wdtBooleanCollection wdtTaskCollection wdtJobCollection wdtFolderCollection wdtEDocumentCollection wdtReferenceRecordCollection wdtUserCollection wdtGroupCollection wdtRoleCollection wdtContents wdtUserList wdtSearchDescription wdtDeadLine wdtPickSet wdtAccountCollection ",ra="wiLow wiNormal wiHigh ",Ri="wrtSoft wrtHard ",oi="wsInit wsRunning wsDone wsControlled wsAborted wsContinued ",mi="wtmFull wtmFromCurrent wtmOnlyCurrent ",Ia=Fe+Pe+we+Ie+Be+Ke+Ve+je+Le+et+Qe+Ue+$e+Ye+tt+ot+st+dt+ct+mt+ut+rt+He+Je+St+bt+pt+wt+Pt+Nt+Vt+Wt+Mt+$t+Yt+Ft+Jt+er+Bt+It+Dt+Zt+gr+fr+Dr+kr+cr+Ar+yt+vt+Xt+At+zt+Br+br+Ur+un+sr+ur+Cr+Tr+jt+Wr+ir+Gr+Jr+Xr+fn+cn+nn+ar+xr+Lr+Rr+Mr+an+gn+dn+pn+Mn+Yn+hi+Ci+da+ra+Ri+oi+mi,ha="AddSubString AdjustLineBreaks AmountInWords Analysis ArrayDimCount ArrayHighBound ArrayLowBound ArrayOf ArrayReDim Assert Assigned BeginOfMonth BeginOfPeriod BuildProfilingOperationAnalysis CallProcedure CanReadFile CArrayElement CDataSetRequisite ChangeDate ChangeReferenceDataset Char CharPos CheckParam CheckParamValue CompareStrings ConstantExists ControlState ConvertDateStr Copy CopyFile CreateArray CreateCachedReference CreateConnection CreateDialog CreateDualListDialog CreateEditor CreateException CreateFile CreateFolderDialog CreateInputDialog CreateLinkFile CreateList CreateLock CreateMemoryDataSet CreateObject CreateOpenDialog CreateProgress CreateQuery CreateReference CreateReport CreateSaveDialog CreateScript CreateSQLPivotFunction CreateStringList CreateTreeListSelectDialog CSelectSQL CSQL CSubString CurrentUserID CurrentUserName CurrentVersion DataSetLocateEx DateDiff DateTimeDiff DateToStr DayOfWeek DeleteFile DirectoryExists DisableCheckAccessRights DisableCheckFullShowingRestriction DisableMassTaskSendingRestrictions DropTable DupeString EditText EnableCheckAccessRights EnableCheckFullShowingRestriction EnableMassTaskSendingRestrictions EndOfMonth EndOfPeriod ExceptionExists ExceptionsOff ExceptionsOn Execute ExecuteProcess Exit ExpandEnvironmentVariables ExtractFileDrive ExtractFileExt ExtractFileName ExtractFilePath ExtractParams FileExists FileSize FindFile FindSubString FirmContext ForceDirectories Format FormatDate FormatNumeric FormatSQLDate FormatString FreeException GetComponent GetComponentLaunchParam GetConstant GetLastException GetReferenceRecord GetRefTypeByRefID GetTableID GetTempFolder IfThen In IndexOf InputDialog InputDialogEx InteractiveMode IsFileLocked IsGraphicFile IsNumeric Length LoadString LoadStringFmt LocalTimeToUTC LowerCase Max MessageBox MessageBoxEx MimeDecodeBinary MimeDecodeString MimeEncodeBinary MimeEncodeString Min MoneyInWords MoveFile NewID Now OpenFile Ord Precision Raise ReadCertificateFromFile ReadFile ReferenceCodeByID ReferenceNumber ReferenceRequisiteMode ReferenceRequisiteValue RegionDateSettings RegionNumberSettings RegionTimeSettings RegRead RegWrite RenameFile Replace Round SelectServerCode SelectSQL ServerDateTime SetConstant SetManagedFolderFieldsState ShowConstantsInputDialog ShowMessage Sleep Split SQL SQL2XLSTAB SQLProfilingSendReport StrToDate SubString SubStringCount SystemSetting Time TimeDiff Today Transliterate Trim UpperCase UserStatus UTCToLocalTime ValidateXML VarIsClear VarIsEmpty VarIsNull WorkTimeDiff WriteFile WriteFileEx WriteObjectHistory Анализ БазаДанных БлокЕсть БлокЕстьРасш БлокИнфо БлокСнять БлокСнятьРасш БлокУстановить Ввод ВводМеню ВедС ВедСпр ВерхняяГраницаМассива ВнешПрогр Восст ВременнаяПапка Время ВыборSQL ВыбратьЗапись ВыделитьСтр Вызвать Выполнить ВыпПрогр ГрафическийФайл ГруппаДополнительно ДатаВремяСерв ДеньНедели ДиалогДаНет ДлинаСтр ДобПодстр ЕПусто ЕслиТо ЕЧисло ЗамПодстр ЗаписьСправочника ЗначПоляСпр ИДТипСпр ИзвлечьДиск ИзвлечьИмяФайла ИзвлечьПуть ИзвлечьРасширение ИзмДат ИзменитьРазмерМассива ИзмеренийМассива ИмяОрг ИмяПоляСпр Индекс ИндикаторЗакрыть ИндикаторОткрыть ИндикаторШаг ИнтерактивныйРежим ИтогТблСпр КодВидВедСпр КодВидСпрПоИД КодПоAnalit КодСимвола КодСпр КолПодстр КолПроп КонМес Конст КонстЕсть КонстЗнач КонТран КопироватьФайл КопияСтр КПериод КСтрТблСпр Макс МаксСтрТблСпр Массив Меню МенюРасш Мин НаборДанныхНайтиРасш НаимВидСпр НаимПоAnalit НаимСпр НастроитьПереводыСтрок НачМес НачТран НижняяГраницаМассива НомерСпр НПериод Окно Окр Окружение ОтлИнфДобавить ОтлИнфУдалить Отчет ОтчетАнал ОтчетИнт ПапкаСуществует Пауза ПВыборSQL ПереименоватьФайл Переменные ПереместитьФайл Подстр ПоискПодстр ПоискСтр ПолучитьИДТаблицы ПользовательДополнительно ПользовательИД ПользовательИмя ПользовательСтатус Прервать ПроверитьПараметр ПроверитьПараметрЗнач ПроверитьУсловие РазбСтр РазнВремя РазнДат РазнДатаВремя РазнРабВремя РегУстВрем РегУстДат РегУстЧсл РедТекст РеестрЗапись РеестрСписокИменПарам РеестрЧтение РеквСпр РеквСпрПр Сегодня Сейчас Сервер СерверПроцессИД СертификатФайлСчитать СжПроб Символ СистемаДиректумКод СистемаИнформация СистемаКод Содержит СоединениеЗакрыть СоединениеОткрыть СоздатьДиалог СоздатьДиалогВыбораИзДвухСписков СоздатьДиалогВыбораПапки СоздатьДиалогОткрытияФайла СоздатьДиалогСохраненияФайла СоздатьЗапрос СоздатьИндикатор СоздатьИсключение СоздатьКэшированныйСправочник СоздатьМассив СоздатьНаборДанных СоздатьОбъект СоздатьОтчет СоздатьПапку СоздатьРедактор СоздатьСоединение СоздатьСписок СоздатьСписокСтрок СоздатьСправочник СоздатьСценарий СоздСпр СостСпр Сохр СохрСпр СписокСистем Спр Справочник СпрБлокЕсть СпрБлокСнять СпрБлокСнятьРасш СпрБлокУстановить СпрИзмНабДан СпрКод СпрНомер СпрОбновить СпрОткрыть СпрОтменить СпрПарам СпрПолеЗнач СпрПолеИмя СпрРекв СпрРеквВведЗн СпрРеквНовые СпрРеквПр СпрРеквПредЗн СпрРеквРежим СпрРеквТипТекст СпрСоздать СпрСост СпрСохранить СпрТблИтог СпрТблСтр СпрТблСтрКол СпрТблСтрМакс СпрТблСтрМин СпрТблСтрПред СпрТблСтрСлед СпрТблСтрСозд СпрТблСтрУд СпрТекПредст СпрУдалить СравнитьСтр СтрВерхРегистр СтрНижнРегистр СтрТблСпр СумПроп Сценарий СценарийПарам ТекВерсия ТекОрг Точн Тран Транслитерация УдалитьТаблицу УдалитьФайл УдСпр УдСтрТблСпр Уст УстановкиКонстант ФайлАтрибутСчитать ФайлАтрибутУстановить ФайлВремя ФайлВремяУстановить ФайлВыбрать ФайлЗанят ФайлЗаписать ФайлИскать ФайлКопировать ФайлМожноЧитать ФайлОткрыть ФайлПереименовать ФайлПерекодировать ФайлПереместить ФайлПросмотреть ФайлРазмер ФайлСоздать ФайлСсылкаСоздать ФайлСуществует ФайлСчитать ФайлУдалить ФмтSQLДат ФмтДат ФмтСтр ФмтЧсл Формат ЦМассивЭлемент ЦНаборДанныхРеквизит ЦПодстр ",ka="AltState Application CallType ComponentTokens CreatedJobs CreatedNotices ControlState DialogResult Dialogs EDocuments EDocumentVersionSource Folders GlobalIDs Job Jobs InputValue LookUpReference LookUpRequisiteNames LookUpSearch Object ParentComponent Processes References Requisite ReportName Reports Result Scripts Searches SelectedAttachments SelectedItems SelectMode Sender ServerEvents ServiceFactory ShiftState SubTask SystemDialogs Tasks Wizard Wizards Work ВызовСпособ ИмяОтчета РеквЗнач ",na="IApplication IAccessRights IAccountRepository IAccountSelectionRestrictions IAction IActionList IAdministrationHistoryDescription IAnchors IApplication IArchiveInfo IAttachment IAttachmentList ICheckListBox ICheckPointedList IColumn IComponent IComponentDescription IComponentToken IComponentTokenFactory IComponentTokenInfo ICompRecordInfo IConnection IContents IControl IControlJob IControlJobInfo IControlList ICrypto ICrypto2 ICustomJob ICustomJobInfo ICustomListBox ICustomObjectWizardStep ICustomWork ICustomWorkInfo IDataSet IDataSetAccessInfo IDataSigner IDateCriterion IDateRequisite IDateRequisiteDescription IDateValue IDeaAccessRights IDeaObjectInfo IDevelopmentComponentLock IDialog IDialogFactory IDialogPickRequisiteItems IDialogsFactory IDICSFactory IDocRequisite IDocumentInfo IDualListDialog IECertificate IECertificateInfo IECertificates IEditControl IEditorForm IEdmsExplorer IEdmsObject IEdmsObjectDescription IEdmsObjectFactory IEdmsObjectInfo IEDocument IEDocumentAccessRights IEDocumentDescription IEDocumentEditor IEDocumentFactory IEDocumentInfo IEDocumentStorage IEDocumentVersion IEDocumentVersionListDialog IEDocumentVersionSource IEDocumentWizardStep IEDocVerSignature IEDocVersionState IEnabledMode IEncodeProvider IEncrypter IEvent IEventList IException IExternalEvents IExternalHandler IFactory IField IFileDialog IFolder IFolderDescription IFolderDialog IFolderFactory IFolderInfo IForEach IForm IFormTitle IFormWizardStep IGlobalIDFactory IGlobalIDInfo IGrid IHasher IHistoryDescription IHyperLinkControl IImageButton IImageControl IInnerPanel IInplaceHint IIntegerCriterion IIntegerList IIntegerRequisite IIntegerValue IISBLEditorForm IJob IJobDescription IJobFactory IJobForm IJobInfo ILabelControl ILargeIntegerCriterion ILargeIntegerRequisite ILargeIntegerValue ILicenseInfo ILifeCycleStage IList IListBox ILocalIDInfo ILocalization ILock IMemoryDataSet IMessagingFactory IMetadataRepository INotice INoticeInfo INumericCriterion INumericRequisite INumericValue IObject IObjectDescription IObjectImporter IObjectInfo IObserver IPanelGroup IPickCriterion IPickProperty IPickRequisite IPickRequisiteDescription IPickRequisiteItem IPickRequisiteItems IPickValue IPrivilege IPrivilegeList IProcess IProcessFactory IProcessMessage IProgress IProperty IPropertyChangeEvent IQuery IReference IReferenceCriterion IReferenceEnabledMode IReferenceFactory IReferenceHistoryDescription IReferenceInfo IReferenceRecordCardWizardStep IReferenceRequisiteDescription IReferencesFactory IReferenceValue IRefRequisite IReport IReportFactory IRequisite IRequisiteDescription IRequisiteDescriptionList IRequisiteFactory IRichEdit IRouteStep IRule IRuleList ISchemeBlock IScript IScriptFactory ISearchCriteria ISearchCriterion ISearchDescription ISearchFactory ISearchFolderInfo ISearchForObjectDescription ISearchResultRestrictions ISecuredContext ISelectDialog IServerEvent IServerEventFactory IServiceDialog IServiceFactory ISignature ISignProvider ISignProvider2 ISignProvider3 ISimpleCriterion IStringCriterion IStringList IStringRequisite IStringRequisiteDescription IStringValue ISystemDialogsFactory ISystemInfo ITabSheet ITask ITaskAbortReasonInfo ITaskCardWizardStep ITaskDescription ITaskFactory ITaskInfo ITaskRoute ITextCriterion ITextRequisite ITextValue ITreeListSelectDialog IUser IUserList IValue IView IWebBrowserControl IWizard IWizardAction IWizardFactory IWizardFormElement IWizardParam IWizardPickParam IWizardReferenceParam IWizardStep IWorkAccessRights IWorkDescription IWorkflowAskableParam IWorkflowAskableParams IWorkflowBlock IWorkflowBlockResult IWorkflowEnabledMode IWorkflowParam IWorkflowPickParam IWorkflowReferenceParam IWorkState IWorkTreeCustomNode IWorkTreeJobNode IWorkTreeTaskNode IXMLEditorForm SBCrypto ",Fi=Te+Ia,Zn=ka,ia="null true false nil ",Oa={className:"number",begin:m.NUMBER_RE,relevance:0},aa={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"}]},Ii={className:"doctag",begin:"\\b(?:TODO|DONE|BEGIN|END|STUB|CHG|FIXME|NOTE|BUG|XXX)\\b",relevance:0},fa={className:"comment",begin:"//",end:"$",relevance:0,contains:[m.PHRASAL_WORDS_MODE,Ii]},Na={className:"comment",begin:"/\\*",end:"\\*/",relevance:0,contains:[m.PHRASAL_WORDS_MODE,Ii]},pa={variants:[fa,Na]},Vi={$pattern:M,keyword:V,built_in:Fi,class:Zn,literal:ia},ki={begin:"\\.\\s*"+m.UNDERSCORE_IDENT_RE,keywords:Vi,relevance:0},ma={className:"type",begin:":[ \\t]*("+na.trim().replace(/\s/g,"|")+")",end:"[ \\t]*=",excludeEnd:!0},sa={className:"variable",keywords:Vi,begin:M,relevance:0,contains:[ma,ki]},oa=G+"\\(";return{name:"ISBL",case_insensitive:!0,keywords:Vi,illegal:"\\$|\\?|%|,|;$|~|#|@|V($,D,B-1))}function q($){const D=$.regex,B="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",R=B+V("(?:<"+B+"~~~(?:\\s*,\\s*"+B+"~~~)*>)?",/~~~/g,2),ae={keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],literal:["false","true","null"],type:["char","boolean","long","float","int","byte","short","double"],built_in:["super","this"]},ie={className:"meta",begin:"@"+B,contains:[{begin:/\(/,end:/\)/,contains:["self"]}]},he={className:"params",begin:/\(/,end:/\)/,keywords:ae,relevance:0,contains:[$.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:"Java",aliases:["jsp"],keywords:ae,illegal:/<\/|#/,contains:[$.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{begin:/import java\.[a-z]+\./,keywords:"import",relevance:2},$.C_LINE_COMMENT_MODE,$.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,className:"string",contains:[$.BACKSLASH_ESCAPE]},$.APOS_STRING_MODE,$.QUOTE_STRING_MODE,{match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,B],className:{1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{begin:[D.concat(/(?!else)/,B),/\s+/,B,/\s+/,/=(?!=)/],className:{1:"type",3:"variable",5:"operator"}},{begin:[/record/,/\s+/,B],className:{1:"keyword",3:"title.class"},contains:[he,$.C_LINE_COMMENT_MODE,$.C_BLOCK_COMMENT_MODE]},{beginKeywords:"new throw return else",relevance:0},{begin:["(?:"+R+"\\s+)",$.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{2:"title.function"},keywords:ae,contains:[{className:"params",begin:/\(/,end:/\)/,keywords:ae,relevance:0,contains:[ie,$.APOS_STRING_MODE,$.QUOTE_STRING_MODE,G,$.C_BLOCK_COMMENT_MODE]},$.C_LINE_COMMENT_MODE,$.C_BLOCK_COMMENT_MODE]},G,ie]}}return java_1=q,java_1}var javascript_1,hasRequiredJavascript;function requireJavascript(){if(hasRequiredJavascript)return javascript_1;hasRequiredJavascript=1;const k="[A-Za-z$_][0-9A-Za-z$_]*",m=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],M=["true","false","null","undefined","NaN","Infinity"],G=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],V=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],q=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],$=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],D=[].concat(q,G,V);function B(R){const U=R.regex,K=(Pe,{after:we})=>{const Ie="",end:""},ae=/<[A-Za-z0-9\\._:-]+\s*\/>/,ie={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(Pe,we)=>{const Ie=Pe[0].length+Pe.index,Be=Pe.input[Ie];if(Be==="<"||Be===","){we.ignoreMatch();return}Be===">"&&(K(Pe,{after:Ie})||we.ignoreMatch());let Ke;const Ve=Pe.input.substring(Ie);if(Ke=Ve.match(/^\s*=/)){we.ignoreMatch();return}if((Ke=Ve.match(/^\s+extends\s+/))&&Ke.index===0){we.ignoreMatch();return}}},he={$pattern:k,keyword:m,literal:M,built_in:D,"variable.language":$},J="[0-9](_?[0-9])*",W=`\\.(${J})`,X="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",L={className:"number",variants:[{begin:`(\\b(${X})((${W})|\\.)?|(${W}))[eE][+-]?(${J})\\b`},{begin:`\\b(${X})\\b((${W})\\b|\\.)?|(${W})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},Q={className:"subst",begin:"\\$\\{",end:"\\}",keywords:he,contains:[]},ce={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[R.BACKSLASH_ESCAPE,Q],subLanguage:"xml"}},de={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[R.BACKSLASH_ESCAPE,Q],subLanguage:"css"}},se={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[R.BACKSLASH_ESCAPE,Q],subLanguage:"graphql"}},oe={className:"string",begin:"`",end:"`",contains:[R.BACKSLASH_ESCAPE,Q]},Ee={className:"comment",variants:[R.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:z+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),R.C_BLOCK_COMMENT_MODE,R.C_LINE_COMMENT_MODE]},ke=[R.APOS_STRING_MODE,R.QUOTE_STRING_MODE,ce,de,se,oe,{match:/\$\d+/},L];Q.contains=ke.concat({begin:/\{/,end:/\}/,keywords:he,contains:["self"].concat(ke)});const xe=[].concat(Ee,Q.contains),fe=xe.concat([{begin:/\(/,end:/\)/,keywords:he,contains:["self"].concat(xe)}]),ve={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:he,contains:fe},ye={variants:[{match:[/class/,/\s+/,z,/\s+/,/extends/,/\s+/,U.concat(z,"(",U.concat(/\./,z),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,z],scope:{1:"keyword",3:"title.class"}}]},Ce={relevance:0,match:U.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...G,...V]}},pe={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},_e={variants:[{match:[/function/,/\s+/,z,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ve],illegal:/%/},Ge={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Ae(Pe){return U.concat("(?!",Pe.join("|"),")")}const Ne={match:U.concat(/\b/,Ae([...q,"super","import"]),z,U.lookahead(/\(/)),className:"title.function",relevance:0},Ze={begin:U.concat(/\./,U.lookahead(U.concat(z,/(?![0-9A-Za-z$_(])/))),end:z,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},ze={match:[/get|set/,/\s+/,z,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ve]},Te="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+R.UNDERSCORE_IDENT_RE+")\\s*=>",Fe={match:[/const|var|let/,/\s+/,z,/\s*/,/=\s*/,/(async\s*)?/,U.lookahead(Te)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ve]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:he,exports:{PARAMS_CONTAINS:fe,CLASS_REFERENCE:Ce},illegal:/#(?![$_A-z])/,contains:[R.SHEBANG({label:"shebang",binary:"node",relevance:5}),pe,R.APOS_STRING_MODE,R.QUOTE_STRING_MODE,ce,de,se,oe,Ee,{match:/\$\d+/},L,Ce,{className:"attr",begin:z+U.lookahead(":"),relevance:0},Fe,{begin:"("+R.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[Ee,R.REGEXP_MODE,{className:"function",begin:Te,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:R.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:he,contains:fe}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:e.begin,end:e.end},{match:ae},{begin:ie.begin,"on:begin":ie.isTrulyOpeningTag,end:ie.end}],subLanguage:"xml",contains:[{begin:ie.begin,end:ie.end,skip:!0,contains:["self"]}]}]},_e,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+R.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ve,R.inherit(R.TITLE_MODE,{begin:z,className:"title.function"})]},{match:/\.\.\./,relevance:0},Ze,{match:"\\$"+z,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ve]},Ne,Ge,ye,ze,{match:/\$[(.]/}]}}return javascript_1=B,javascript_1}var jbossCli_1,hasRequiredJbossCli;function requireJbossCli(){if(hasRequiredJbossCli)return jbossCli_1;hasRequiredJbossCli=1;function k(m){const G={className:"params",begin:/\(/,end:/\)/,contains:[{begin:/[\w-]+ *=/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/[\w-]+/}]}],relevance:0},V={className:"function",begin:/:[\w\-.]+/,relevance:0},q={className:"string",begin:/\B([\/.])[\w\-.\/=]+/},$={className:"params",begin:/--[\w\-=\/]+/};return{name:"JBoss CLI",aliases:["wildfly-cli"],keywords:{$pattern:"[a-z-]+",keyword:"alias batch cd clear command connect connection-factory connection-info data-source deploy deployment-info deployment-overlay echo echo-dmr help history if jdbc-driver-info jms-queue|20 jms-topic|20 ls patch pwd quit read-attribute read-operation reload rollout-plan run-batch set shutdown try unalias undeploy unset version xa-data-source",literal:"true false"},contains:[m.HASH_COMMENT_MODE,m.QUOTE_STRING_MODE,$,V,q,G]}}return jbossCli_1=k,jbossCli_1}var json_1,hasRequiredJson;function requireJson(){if(hasRequiredJson)return json_1;hasRequiredJson=1;function k(m){const M={className:"attr",begin:/"(\\.|[^\\"\r\n])*"(?=\s*:)/,relevance:1.01},G={match:/[{}[\],:]/,className:"punctuation",relevance:0},V=["true","false","null"],q={scope:"literal",beginKeywords:V.join(" ")};return{name:"JSON",keywords:{literal:V},contains:[M,G,m.QUOTE_STRING_MODE,q,m.C_NUMBER_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE],illegal:"\\S"}}return json_1=k,json_1}var julia_1,hasRequiredJulia;function requireJulia(){if(hasRequiredJulia)return julia_1;hasRequiredJulia=1;function k(m){const M="[A-Za-z_\\u00A1-\\uFFFF][A-Za-z_0-9\\u00A1-\\uFFFF]*",$={$pattern:M,keyword:["baremodule","begin","break","catch","ccall","const","continue","do","else","elseif","end","export","false","finally","for","function","global","if","import","in","isa","let","local","macro","module","quote","return","true","try","using","where","while"],literal:["ARGS","C_NULL","DEPOT_PATH","ENDIAN_BOM","ENV","Inf","Inf16","Inf32","Inf64","InsertionSort","LOAD_PATH","MergeSort","NaN","NaN16","NaN32","NaN64","PROGRAM_FILE","QuickSort","RoundDown","RoundFromZero","RoundNearest","RoundNearestTiesAway","RoundNearestTiesUp","RoundToZero","RoundUp","VERSION|0","devnull","false","im","missing","nothing","pi","stderr","stdin","stdout","true","undef","π","ℯ"],built_in:["AbstractArray","AbstractChannel","AbstractChar","AbstractDict","AbstractDisplay","AbstractFloat","AbstractIrrational","AbstractMatrix","AbstractRange","AbstractSet","AbstractString","AbstractUnitRange","AbstractVecOrMat","AbstractVector","Any","ArgumentError","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError","LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","ProcessFailedException","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","TaskFailedException","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","UndefKeywordError","UndefRefError","UndefVarError","Union","UnionAll","UnitRange","Unsigned","Val","Vararg","VecElement","VecOrMat","Vector","VersionNumber","WeakKeyDict","WeakRef"]},D={keywords:$,illegal:/<\//},B={className:"number",begin:/(\b0x[\d_]*(\.[\d_]*)?|0x\.\d[\d_]*)p[-+]?\d+|\b0[box][a-fA-F0-9][a-fA-F0-9_]*|(\b\d[\d_]*(\.[\d_]*)?|\.\d[\d_]*)([eEfF][-+]?\d+)?/,relevance:0},R={className:"string",begin:/'(.|\\[xXuU][a-zA-Z0-9]+)'/},U={className:"subst",begin:/\$\(/,end:/\)/,keywords:$},K={className:"variable",begin:"\\$"+M},z={className:"string",contains:[m.BACKSLASH_ESCAPE,U,K],variants:[{begin:/\w*"""/,end:/"""\w*/,relevance:10},{begin:/\w*"/,end:/"\w*/}]},e={className:"string",contains:[m.BACKSLASH_ESCAPE,U,K],begin:"`",end:"`"},ae={className:"meta",begin:"@"+M},ie={className:"comment",variants:[{begin:"#=",end:"=#",relevance:10},{begin:"#",end:"$"}]};return D.name="Julia",D.contains=[B,R,z,e,ae,ie,m.HASH_COMMENT_MODE,{className:"keyword",begin:"\\b(((abstract|primitive)\\s+)type|(mutable\\s+)?struct)\\b"},{begin:/<:/}],U.contains=D.contains,D}return julia_1=k,julia_1}var juliaRepl_1,hasRequiredJuliaRepl;function requireJuliaRepl(){if(hasRequiredJuliaRepl)return juliaRepl_1;hasRequiredJuliaRepl=1;function k(m){return{name:"Julia REPL",contains:[{className:"meta.prompt",begin:/^julia>/,relevance:10,starts:{end:/^(?![ ]{6})/,subLanguage:"julia"}}],aliases:["jldoctest"]}}return juliaRepl_1=k,juliaRepl_1}var kotlin_1,hasRequiredKotlin;function requireKotlin(){if(hasRequiredKotlin)return kotlin_1;hasRequiredKotlin=1;var k="[0-9](_*[0-9])*",m=`\\.(${k})`,M="[0-9a-fA-F](_*[0-9a-fA-F])*",G={className:"number",variants:[{begin:`(\\b(${k})((${m})|\\.)?|(${m}))[eE][+-]?(${k})[fFdD]?\\b`},{begin:`\\b(${k})((${m})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${m})[fFdD]?\\b`},{begin:`\\b(${k})[fFdD]\\b`},{begin:`\\b0[xX]((${M})\\.?|(${M})?\\.(${M}))[pP][+-]?(${k})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${M})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};function V(q){const $={keyword:"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual",built_in:"Byte Short Char Int Long Boolean Float Double Void Unit Nothing",literal:"true false null"},D={className:"keyword",begin:/\b(break|continue|return|this)\b/,starts:{contains:[{className:"symbol",begin:/@\w+/}]}},B={className:"symbol",begin:q.UNDERSCORE_IDENT_RE+"@"},R={className:"subst",begin:/\$\{/,end:/\}/,contains:[q.C_NUMBER_MODE]},U={className:"variable",begin:"\\$"+q.UNDERSCORE_IDENT_RE},K={className:"string",variants:[{begin:'"""',end:'"""(?=[^"])',contains:[U,R]},{begin:"'",end:"'",illegal:/\n/,contains:[q.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,contains:[q.BACKSLASH_ESCAPE,U,R]}]};R.contains.push(K);const z={className:"meta",begin:"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\s*:(?:\\s*"+q.UNDERSCORE_IDENT_RE+")?"},e={className:"meta",begin:"@"+q.UNDERSCORE_IDENT_RE,contains:[{begin:/\(/,end:/\)/,contains:[q.inherit(K,{className:"string"}),"self"]}]},ae=G,ie=q.COMMENT("/\\*","\\*/",{contains:[q.C_BLOCK_COMMENT_MODE]}),he={variants:[{className:"type",begin:q.UNDERSCORE_IDENT_RE},{begin:/\(/,end:/\)/,contains:[]}]},J=he;return J.variants[1].contains=[he],he.variants[1].contains=[J],{name:"Kotlin",aliases:["kt","kts"],keywords:$,contains:[q.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"}]}),q.C_LINE_COMMENT_MODE,ie,D,B,z,e,{className:"function",beginKeywords:"fun",end:"[(]|$",returnBegin:!0,excludeEnd:!0,keywords:$,relevance:5,contains:[{begin:q.UNDERSCORE_IDENT_RE+"\\s*\\(",returnBegin:!0,relevance:0,contains:[q.UNDERSCORE_TITLE_MODE]},{className:"type",begin://,keywords:"reified",relevance:0},{className:"params",begin:/\(/,end:/\)/,endsParent:!0,keywords:$,relevance:0,contains:[{begin:/:/,end:/[=,\/]/,endsWithParent:!0,contains:[he,q.C_LINE_COMMENT_MODE,ie],relevance:0},q.C_LINE_COMMENT_MODE,ie,z,e,K,q.C_NUMBER_MODE]},ie]},{begin:[/class|interface|trait/,/\s+/,q.UNDERSCORE_IDENT_RE],beginScope:{3:"title.class"},keywords:"class interface trait",end:/[:\{(]|$/,excludeEnd:!0,illegal:"extends implements",contains:[{beginKeywords:"public protected internal private constructor"},q.UNDERSCORE_TITLE_MODE,{className:"type",begin://,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:/[,:]\s*/,end:/[<\(,){\s]|$/,excludeBegin:!0,returnEnd:!0},z,e]},K,{className:"meta",begin:"^#!/usr/bin/env",end:"$",illegal:` +`},ae]}}return kotlin_1=V,kotlin_1}var lasso_1,hasRequiredLasso;function requireLasso(){if(hasRequiredLasso)return lasso_1;hasRequiredLasso=1;function k(m){const M="[a-zA-Z_][\\w.]*",G="<\\?(lasso(script)?|=)",V="\\]|\\?>",q={$pattern:M+"|&[lg]t;",literal:"true false none minimal full all void and or not bw nbw ew new cn ncn lt lte gt gte eq neq rx nrx ft",built_in:"array date decimal duration integer map pair string tag xml null boolean bytes keyword list locale queue set stack staticarray local var variable global data self inherited currentcapture givenblock",keyword:"cache database_names database_schemanames database_tablenames define_tag define_type email_batch encode_set html_comment handle handle_error header if inline iterate ljax_target link link_currentaction link_currentgroup link_currentrecord link_detail link_firstgroup link_firstrecord link_lastgroup link_lastrecord link_nextgroup link_nextrecord link_prevgroup link_prevrecord log loop namespace_using output_none portal private protect records referer referrer repeating resultset rows search_args search_arguments select sort_args sort_arguments thread_atomic value_list while abort case else fail_if fail_ifnot fail if_empty if_false if_null if_true loop_abort loop_continue loop_count params params_up return return_value run_children soap_definetag soap_lastrequest soap_lastresponse tag_name ascending average by define descending do equals frozen group handle_failure import in into join let match max min on order parent protected provide public require returnhome skip split_thread sum take thread to trait type where with yield yieldhome"},$=m.COMMENT("",{relevance:0}),D={className:"meta",begin:"\\[noprocess\\]",starts:{end:"\\[/noprocess\\]",returnEnd:!0,contains:[$]}},B={className:"meta",begin:"\\[/noprocess|"+G},R={className:"symbol",begin:"'"+M+"'"},U=[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.inherit(m.C_NUMBER_MODE,{begin:m.C_NUMBER_RE+"|(-?infinity|NaN)\\b"}),m.inherit(m.APOS_STRING_MODE,{illegal:null}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"`",end:"`"},{variants:[{begin:"[#$]"+M},{begin:"#",end:"\\d+",illegal:"\\W"}]},{className:"type",begin:"::\\s*",end:M,illegal:"\\W"},{className:"params",variants:[{begin:"-(?!infinity)"+M,relevance:0},{begin:"(\\.\\.\\.)"}]},{begin:/(->|\.)\s*/,relevance:0,contains:[R]},{className:"class",beginKeywords:"define",returnEnd:!0,end:"\\(|=>",contains:[m.inherit(m.TITLE_MODE,{begin:M+"(=(?!>))?|[-+*/%](?!>)"})]}];return{name:"Lasso",aliases:["ls","lassoscript"],case_insensitive:!0,keywords:q,contains:[{className:"meta",begin:V,relevance:0,starts:{end:"\\[|"+G,returnEnd:!0,relevance:0,contains:[$]}},D,B,{className:"meta",begin:"\\[no_square_brackets",starts:{end:"\\[/no_square_brackets\\]",keywords:q,contains:[{className:"meta",begin:V,relevance:0,starts:{end:"\\[noprocess\\]|"+G,returnEnd:!0,contains:[$]}},D,B].concat(U)}},{className:"meta",begin:"\\[",relevance:0},{className:"meta",begin:"^#!",end:"lasso9$",relevance:10}].concat(U)}}return lasso_1=k,lasso_1}var latex_1,hasRequiredLatex;function requireLatex(){if(hasRequiredLatex)return latex_1;hasRequiredLatex=1;function k(m){const G=m.regex.either(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(Ee=>Ee+"(?![a-zA-Z@:_])")),V=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(Ee=>Ee+"(?![a-zA-Z:_])").join("|")),q=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],$=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],D={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:G},{endsParent:!0,begin:V},{endsParent:!0,variants:$},{endsParent:!0,relevance:0,variants:q}]},B={className:"params",relevance:0,begin:/#+\d?/},R={variants:$},U={className:"built_in",relevance:0,begin:/[$&^_]/},K={className:"meta",begin:/% ?!(T[eE]X|tex|BIB|bib)/,end:"$",relevance:10},z=m.COMMENT("%","$",{relevance:0}),e=[D,B,R,U,K,z],ae={begin:/\{/,end:/\}/,relevance:0,contains:["self",...e]},ie=m.inherit(ae,{relevance:0,endsParent:!0,contains:[ae,...e]}),he={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[ae,...e]},J={begin:/\s+/,relevance:0},W=[ie],X=[he],L=function(Ee,ke){return{contains:[J],starts:{relevance:0,contains:Ee,starts:ke}}},Q=function(Ee,ke){return{begin:"\\\\"+Ee+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+Ee},relevance:0,contains:[J],starts:ke}},ce=function(Ee,ke){return m.inherit({begin:"\\\\begin(?=[ ]*(\\r?\\n[ ]*)?\\{"+Ee+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},L(W,ke))},de=(Ee="string")=>m.END_SAME_AS_BEGIN({className:Ee,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),se=function(Ee){return{className:"string",end:"(?=\\\\end\\{"+Ee+"\\})"}},oe=(Ee="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:Ee,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),me=[...["verb","lstinline"].map(Ee=>Q(Ee,{contains:[de()]})),Q("mint",L(W,{contains:[de()]})),Q("mintinline",L(W,{contains:[oe(),de()]})),Q("url",{contains:[oe("link"),oe("link")]}),Q("hyperref",{contains:[oe("link")]}),Q("href",L(X,{contains:[oe("link")]})),...[].concat(...["","\\*"].map(Ee=>[ce("verbatim"+Ee,se("verbatim"+Ee)),ce("filecontents"+Ee,L(W,se("filecontents"+Ee))),...["","B","L"].map(ke=>ce(ke+"Verbatim"+Ee,L(X,se(ke+"Verbatim"+Ee))))])),ce("minted",L(X,L(W,se("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...me,...e]}}return latex_1=k,latex_1}var ldif_1,hasRequiredLdif;function requireLdif(){if(hasRequiredLdif)return ldif_1;hasRequiredLdif=1;function k(m){return{name:"LDIF",contains:[{className:"attribute",match:"^dn(?=:)",relevance:10},{className:"attribute",match:"^\\w+(?=:)"},{className:"literal",match:"^-"},m.HASH_COMMENT_MODE]}}return ldif_1=k,ldif_1}var leaf_1,hasRequiredLeaf;function requireLeaf(){if(hasRequiredLeaf)return leaf_1;hasRequiredLeaf=1;function k(m){const M=/([A-Za-z_][A-Za-z_0-9]*)?/,V={scope:"params",begin:/\(/,end:/\)(?=\:?)/,endsParent:!0,relevance:7,contains:[{scope:"string",begin:'"',end:'"'},{scope:"keyword",match:["true","false","in"].join("|")},{scope:"variable",match:/[A-Za-z_][A-Za-z_0-9]*/},{scope:"operator",match:/\+|\-|\*|\/|\%|\=\=|\=|\!|\>|\<|\&\&|\|\|/}]},q={match:[M,/(?=\()/],scope:{1:"keyword"},contains:[V]};return V.contains.unshift(q),{name:"Leaf",contains:[{match:[/#+/,M,/(?=\()/],scope:{1:"punctuation",2:"keyword"},starts:{contains:[{match:/\:/,scope:"punctuation"}]},contains:[V]},{match:[/#+/,M,/:?/],scope:{1:"punctuation",2:"keyword",3:"punctuation"}}]}}return leaf_1=k,leaf_1}var less_1,hasRequiredLess;function requireLess(){if(hasRequiredLess)return less_1;hasRequiredLess=1;const k=B=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:B.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[B.APOS_STRING_MODE,B.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:B.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),m=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],M=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],G=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],V=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],q=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),$=G.concat(V);function D(B){const R=k(B),U=$,K="and or not only",z="[\\w-]+",e="("+z+"|@\\{"+z+"\\})",ae=[],ie=[],he=function(Ee){return{className:"string",begin:"~?"+Ee+".*?"+Ee}},J=function(Ee,ke,xe){return{className:Ee,begin:ke,relevance:xe}},W={$pattern:/[a-z-]+/,keyword:K,attribute:M.join(" ")},X={begin:"\\(",end:"\\)",contains:ie,keywords:W,relevance:0};ie.push(B.C_LINE_COMMENT_MODE,B.C_BLOCK_COMMENT_MODE,he("'"),he('"'),R.CSS_NUMBER_MODE,{begin:"(url|data-uri)\\(",starts:{className:"string",end:"[\\)\\n]",excludeEnd:!0}},R.HEXCOLOR,X,J("variable","@@?"+z,10),J("variable","@\\{"+z+"\\}"),J("built_in","~?`[^`]*?`"),{className:"attribute",begin:z+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0},R.IMPORTANT,{beginKeywords:"and not"},R.FUNCTION_DISPATCH);const L=ie.concat({begin:/\{/,end:/\}/,contains:ae}),Q={beginKeywords:"when",endsWithParent:!0,contains:[{beginKeywords:"and not"}].concat(ie)},ce={begin:e+"\\s*:",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},R.CSS_VARIABLE,{className:"attribute",begin:"\\b("+q.join("|")+")\\b",end:/(?=:)/,starts:{endsWithParent:!0,illegal:"[<=$]",relevance:0,contains:ie}}]},de={className:"keyword",begin:"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\b",starts:{end:"[;{}]",keywords:W,returnEnd:!0,contains:ie,relevance:0}},se={className:"variable",variants:[{begin:"@"+z+"\\s*:",relevance:15},{begin:"@"+z}],starts:{end:"[;}]",returnEnd:!0,contains:L}},oe={variants:[{begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:e,end:/\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$"]`,relevance:0,contains:[B.C_LINE_COMMENT_MODE,B.C_BLOCK_COMMENT_MODE,Q,J("keyword","all\\b"),J("variable","@\\{"+z+"\\}"),{begin:"\\b("+m.join("|")+")\\b",className:"selector-tag"},R.CSS_NUMBER_MODE,J("selector-tag",e,0),J("selector-id","#"+e),J("selector-class","\\."+e,0),J("selector-tag","&",0),R.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",begin:":("+G.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+V.join("|")+")"},{begin:/\(/,end:/\)/,relevance:0,contains:L},{begin:"!important"},R.FUNCTION_DISPATCH]},me={begin:z+`:(:)?(${U.join("|")})`,returnBegin:!0,contains:[oe]};return ae.push(B.C_LINE_COMMENT_MODE,B.C_BLOCK_COMMENT_MODE,de,se,me,ce,oe,Q,R.FUNCTION_DISPATCH),{name:"Less",case_insensitive:!0,illegal:`[=>'/<($"]`,contains:ae}}return less_1=D,less_1}var lisp_1,hasRequiredLisp;function requireLisp(){if(hasRequiredLisp)return lisp_1;hasRequiredLisp=1;function k(m){const M="[a-zA-Z_\\-+\\*\\/<=>&#][a-zA-Z0-9_\\-+*\\/<=>&#!]*",G="\\|[^]*?\\|",V="(-|\\+)?\\d+(\\.\\d+|\\/\\d+)?((d|e|f|l|s|D|E|F|L|S)(\\+|-)?\\d+)?",q={className:"literal",begin:"\\b(t{1}|nil)\\b"},$={className:"number",variants:[{begin:V,relevance:0},{begin:"#(b|B)[0-1]+(/[0-1]+)?"},{begin:"#(o|O)[0-7]+(/[0-7]+)?"},{begin:"#(x|X)[0-9a-fA-F]+(/[0-9a-fA-F]+)?"},{begin:"#(c|C)\\("+V+" +"+V,end:"\\)"}]},D=m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),B=m.COMMENT(";","$",{relevance:0}),R={begin:"\\*",end:"\\*"},U={className:"symbol",begin:"[:&]"+M},K={begin:M,relevance:0},z={begin:G},ae={contains:[$,D,R,U,{begin:"\\(",end:"\\)",contains:["self",q,D,$,K]},K],variants:[{begin:"['`]\\(",end:"\\)"},{begin:"\\(quote ",end:"\\)",keywords:{name:"quote"}},{begin:"'"+G}]},ie={variants:[{begin:"'"+M},{begin:"#'"+M+"(::"+M+")*"}]},he={begin:"\\(\\s*",end:"\\)"},J={endsWithParent:!0,relevance:0};return he.contains=[{className:"name",variants:[{begin:M,relevance:0},{begin:G}]},J],J.contains=[ae,ie,he,q,$,D,B,R,U,z,K],{name:"Lisp",illegal:/\S/,contains:[$,m.SHEBANG(),q,D,B,ae,ie,he,K]}}return lisp_1=k,lisp_1}var livecodeserver_1,hasRequiredLivecodeserver;function requireLivecodeserver(){if(hasRequiredLivecodeserver)return livecodeserver_1;hasRequiredLivecodeserver=1;function k(m){const M={className:"variable",variants:[{begin:"\\b([gtps][A-Z]{1}[a-zA-Z0-9]*)(\\[.+\\])?(?:\\s*?)"},{begin:"\\$_[A-Z]+"}],relevance:0},G=[m.C_BLOCK_COMMENT_MODE,m.HASH_COMMENT_MODE,m.COMMENT("--","$"),m.COMMENT("[^:]//","$")],V=m.inherit(m.TITLE_MODE,{variants:[{begin:"\\b_*rig[A-Z][A-Za-z0-9_\\-]*"},{begin:"\\b_[a-z0-9\\-]+"}]}),q=m.inherit(m.TITLE_MODE,{begin:"\\b([A-Za-z0-9_\\-]+)\\b"});return{name:"LiveCode",case_insensitive:!1,keywords:{keyword:"$_COOKIE $_FILES $_GET $_GET_BINARY $_GET_RAW $_POST $_POST_BINARY $_POST_RAW $_SESSION $_SERVER codepoint codepoints segment segments codeunit codeunits sentence sentences trueWord trueWords paragraph after byte bytes english the until http forever descending using line real8 with seventh for stdout finally element word words fourth before black ninth sixth characters chars stderr uInt1 uInt1s uInt2 uInt2s stdin string lines relative rel any fifth items from middle mid at else of catch then third it file milliseconds seconds second secs sec int1 int1s int4 int4s internet int2 int2s normal text item last long detailed effective uInt4 uInt4s repeat end repeat URL in try into switch to words https token binfile each tenth as ticks tick system real4 by dateItems without char character ascending eighth whole dateTime numeric short first ftp integer abbreviated abbr abbrev private case while if div mod wrap and or bitAnd bitNot bitOr bitXor among not in a an within contains ends with begins the keys of keys",literal:"SIX TEN FORMFEED NINE ZERO NONE SPACE FOUR FALSE COLON CRLF PI COMMA ENDOFFILE EOF EIGHT FIVE QUOTE EMPTY ONE TRUE RETURN CR LINEFEED RIGHT BACKSLASH NULL SEVEN TAB THREE TWO six ten formfeed nine zero none space four false colon crlf pi comma endoffile eof eight five quote empty one true return cr linefeed right backslash null seven tab three two RIVERSION RISTATE FILE_READ_MODE FILE_WRITE_MODE FILE_WRITE_MODE DIR_WRITE_MODE FILE_READ_UMASK FILE_WRITE_UMASK DIR_READ_UMASK DIR_WRITE_UMASK",built_in:"put abs acos aliasReference annuity arrayDecode arrayEncode asin atan atan2 average avg avgDev base64Decode base64Encode baseConvert binaryDecode binaryEncode byteOffset byteToNum cachedURL cachedURLs charToNum cipherNames codepointOffset codepointProperty codepointToNum codeunitOffset commandNames compound compress constantNames cos date dateFormat decompress difference directories diskSpace DNSServers exp exp1 exp2 exp10 extents files flushEvents folders format functionNames geometricMean global globals hasMemory harmonicMean hostAddress hostAddressToName hostName hostNameToAddress isNumber ISOToMac itemOffset keys len length libURLErrorData libUrlFormData libURLftpCommand libURLLastHTTPHeaders libURLLastRHHeaders libUrlMultipartFormAddPart libUrlMultipartFormData libURLVersion lineOffset ln ln1 localNames log log2 log10 longFilePath lower macToISO matchChunk matchText matrixMultiply max md5Digest median merge messageAuthenticationCode messageDigest millisec millisecs millisecond milliseconds min monthNames nativeCharToNum normalizeText num number numToByte numToChar numToCodepoint numToNativeChar offset open openfiles openProcesses openProcessIDs openSockets paragraphOffset paramCount param params peerAddress pendingMessages platform popStdDev populationStandardDeviation populationVariance popVariance processID random randomBytes replaceText result revCreateXMLTree revCreateXMLTreeFromFile revCurrentRecord revCurrentRecordIsFirst revCurrentRecordIsLast revDatabaseColumnCount revDatabaseColumnIsNull revDatabaseColumnLengths revDatabaseColumnNames revDatabaseColumnNamed revDatabaseColumnNumbered revDatabaseColumnTypes revDatabaseConnectResult revDatabaseCursors revDatabaseID revDatabaseTableNames revDatabaseType revDataFromQuery revdb_closeCursor revdb_columnbynumber revdb_columncount revdb_columnisnull revdb_columnlengths revdb_columnnames revdb_columntypes revdb_commit revdb_connect revdb_connections revdb_connectionerr revdb_currentrecord revdb_cursorconnection revdb_cursorerr revdb_cursors revdb_dbtype revdb_disconnect revdb_execute revdb_iseof revdb_isbof revdb_movefirst revdb_movelast revdb_movenext revdb_moveprev revdb_query revdb_querylist revdb_recordcount revdb_rollback revdb_tablenames revGetDatabaseDriverPath revNumberOfRecords revOpenDatabase revOpenDatabases revQueryDatabase revQueryDatabaseBlob revQueryResult revQueryIsAtStart revQueryIsAtEnd revUnixFromMacPath revXMLAttribute revXMLAttributes revXMLAttributeValues revXMLChildContents revXMLChildNames revXMLCreateTreeFromFileWithNamespaces revXMLCreateTreeWithNamespaces revXMLDataFromXPathQuery revXMLEvaluateXPath revXMLFirstChild revXMLMatchingNode revXMLNextSibling revXMLNodeContents revXMLNumberOfChildren revXMLParent revXMLPreviousSibling revXMLRootNode revXMLRPC_CreateRequest revXMLRPC_Documents revXMLRPC_Error revXMLRPC_GetHost revXMLRPC_GetMethod revXMLRPC_GetParam revXMLText revXMLRPC_Execute revXMLRPC_GetParamCount revXMLRPC_GetParamNode revXMLRPC_GetParamType revXMLRPC_GetPath revXMLRPC_GetPort revXMLRPC_GetProtocol revXMLRPC_GetRequest revXMLRPC_GetResponse revXMLRPC_GetSocket revXMLTree revXMLTrees revXMLValidateDTD revZipDescribeItem revZipEnumerateItems revZipOpenArchives round sampVariance sec secs seconds sentenceOffset sha1Digest shell shortFilePath sin specialFolderPath sqrt standardDeviation statRound stdDev sum sysError systemVersion tan tempName textDecode textEncode tick ticks time to tokenOffset toLower toUpper transpose truewordOffset trunc uniDecode uniEncode upper URLDecode URLEncode URLStatus uuid value variableNames variance version waitDepth weekdayNames wordOffset xsltApplyStylesheet xsltApplyStylesheetFromFile xsltLoadStylesheet xsltLoadStylesheetFromFile add breakpoint cancel clear local variable file word line folder directory URL close socket process combine constant convert create new alias folder directory decrypt delete variable word line folder directory URL dispatch divide do encrypt filter get include intersect kill libURLDownloadToFile libURLFollowHttpRedirects libURLftpUpload libURLftpUploadFile libURLresetAll libUrlSetAuthCallback libURLSetDriver libURLSetCustomHTTPHeaders libUrlSetExpect100 libURLSetFTPListCommand libURLSetFTPMode libURLSetFTPStopTime libURLSetStatusCallback load extension loadedExtensions multiply socket prepare process post seek rel relative read from process rename replace require resetAll resolve revAddXMLNode revAppendXML revCloseCursor revCloseDatabase revCommitDatabase revCopyFile revCopyFolder revCopyXMLNode revDeleteFolder revDeleteXMLNode revDeleteAllXMLTrees revDeleteXMLTree revExecuteSQL revGoURL revInsertXMLNode revMoveFolder revMoveToFirstRecord revMoveToLastRecord revMoveToNextRecord revMoveToPreviousRecord revMoveToRecord revMoveXMLNode revPutIntoXMLNode revRollBackDatabase revSetDatabaseDriverPath revSetXMLAttribute revXMLRPC_AddParam revXMLRPC_DeleteAllDocuments revXMLAddDTD revXMLRPC_Free revXMLRPC_FreeAll revXMLRPC_DeleteDocument revXMLRPC_DeleteParam revXMLRPC_SetHost revXMLRPC_SetMethod revXMLRPC_SetPort revXMLRPC_SetProtocol revXMLRPC_SetSocket revZipAddItemWithData revZipAddItemWithFile revZipAddUncompressedItemWithData revZipAddUncompressedItemWithFile revZipCancel revZipCloseArchive revZipDeleteItem revZipExtractItemToFile revZipExtractItemToVariable revZipSetProgressCallback revZipRenameItem revZipReplaceItemWithData revZipReplaceItemWithFile revZipOpenArchive send set sort split start stop subtract symmetric union unload vectorDotProduct wait write"},contains:[M,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[M,q,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE,V]},{className:"function",begin:"\\bend\\s+",end:"$",keywords:"end",contains:[q,V],relevance:0},{beginKeywords:"command on",end:"$",contains:[M,q,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE,V]},{className:"meta",variants:[{begin:"<\\?(rev|lc|livecode)",relevance:10},{begin:"<\\?"},{begin:"\\?>"}]},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE,V].concat(G),illegal:";$|^\\[|^=|&|\\{"}}return livecodeserver_1=k,livecodeserver_1}var livescript_1,hasRequiredLivescript;function requireLivescript(){if(hasRequiredLivescript)return livescript_1;hasRequiredLivescript=1;const k=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],m=["true","false","null","undefined","NaN","Infinity"],M=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],G=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],V=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],q=[].concat(V,M,G);function $(D){const B=["npm","print"],R=["yes","no","on","off","it","that","void"],U=["then","unless","until","loop","of","by","when","and","or","is","isnt","not","it","that","otherwise","from","to","til","fallthrough","case","enum","native","list","map","__hasProp","__extends","__slice","__bind","__indexOf"],K={keyword:k.concat(U),literal:m.concat(R),built_in:q.concat(B)},z="[A-Za-z$_](?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*",e=D.inherit(D.TITLE_MODE,{begin:z}),ae={className:"subst",begin:/#\{/,end:/\}/,keywords:K},ie={className:"subst",begin:/#[A-Za-z$_]/,end:/(?:-[0-9A-Za-z$_]|[0-9A-Za-z$_])*/,keywords:K},he=[D.BINARY_NUMBER_MODE,{className:"number",begin:"(\\b0[xX][a-fA-F0-9_]+)|(\\b\\d(\\d|_\\d)*(\\.(\\d(\\d|_\\d)*)?)?(_*[eE]([-+]\\d(_\\d|\\d)*)?)?[_a-z]*)",relevance:0,starts:{end:"(\\s*/)?",relevance:0}},{className:"string",variants:[{begin:/'''/,end:/'''/,contains:[D.BACKSLASH_ESCAPE]},{begin:/'/,end:/'/,contains:[D.BACKSLASH_ESCAPE]},{begin:/"""/,end:/"""/,contains:[D.BACKSLASH_ESCAPE,ae,ie]},{begin:/"/,end:/"/,contains:[D.BACKSLASH_ESCAPE,ae,ie]},{begin:/\\/,end:/(\s|$)/,excludeEnd:!0}]},{className:"regexp",variants:[{begin:"//",end:"//[gim]*",contains:[ae,D.HASH_COMMENT_MODE]},{begin:/\/(?![ *])(\\.|[^\\\n])*?\/[gim]*(?=\W)/}]},{begin:"@"+z},{begin:"``",end:"``",excludeBegin:!0,excludeEnd:!0,subLanguage:"javascript"}];ae.contains=he;const J={className:"params",begin:"\\(",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:K,contains:["self"].concat(he)}]},W={begin:"(#=>|=>|\\|>>|-?->|!->)"},X={variants:[{match:[/class\s+/,z,/\s+extends\s+/,z]},{match:[/class\s+/,z]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:K};return{name:"LiveScript",aliases:["ls"],keywords:K,illegal:/\/\*/,contains:he.concat([D.COMMENT("\\/\\*","\\*\\/"),D.HASH_COMMENT_MODE,W,{className:"function",contains:[e,J],returnBegin:!0,variants:[{begin:"("+z+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B->\\*?",end:"->\\*?"},{begin:"("+z+"\\s*(?:=|:=)\\s*)?!?(\\(.*\\)\\s*)?\\B[-~]{1,2}>\\*?",end:"[-~]{1,2}>\\*?"},{begin:"("+z+"\\s*(?:=|:=)\\s*)?(\\(.*\\)\\s*)?\\B!?[-~]{1,2}>\\*?",end:"!?[-~]{1,2}>\\*?"}]},X,{begin:z+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return livescript_1=$,livescript_1}var llvm_1,hasRequiredLlvm;function requireLlvm(){if(hasRequiredLlvm)return llvm_1;hasRequiredLlvm=1;function k(m){const M=m.regex,G=/([-a-zA-Z$._][\w$.-]*)/,V={className:"type",begin:/\bi\d+(?=\s|\b)/},q={className:"operator",relevance:0,begin:/=/},$={className:"punctuation",relevance:0,begin:/,/},D={className:"number",variants:[{begin:/[su]?0[xX][KMLHR]?[a-fA-F0-9]+/},{begin:/[-+]?\d+(?:[.]\d+)?(?:[eE][-+]?\d+(?:[.]\d+)?)?/}],relevance:0},B={className:"symbol",variants:[{begin:/^\s*[a-z]+:/}],relevance:0},R={className:"variable",variants:[{begin:M.concat(/%/,G)},{begin:/%\d+/},{begin:/#\d+/}]},U={className:"title",variants:[{begin:M.concat(/@/,G)},{begin:/@\d+/},{begin:M.concat(/!/,G)},{begin:M.concat(/!\d+/,G)},{begin:/!\d+/}]};return{name:"LLVM IR",keywords:"begin end true false declare define global constant private linker_private internal available_externally linkonce linkonce_odr weak weak_odr appending dllimport dllexport common default hidden protected extern_weak external thread_local zeroinitializer undef null to tail target triple datalayout volatile nuw nsw nnan ninf nsz arcp fast exact inbounds align addrspace section alias module asm sideeffect gc dbg linker_private_weak attributes blockaddress initialexec localdynamic localexec prefix unnamed_addr ccc fastcc coldcc x86_stdcallcc x86_fastcallcc arm_apcscc arm_aapcscc arm_aapcs_vfpcc ptx_device ptx_kernel intel_ocl_bicc msp430_intrcc spir_func spir_kernel x86_64_sysvcc x86_64_win64cc x86_thiscallcc cc c signext zeroext inreg sret nounwind noreturn noalias nocapture byval nest readnone readonly inlinehint noinline alwaysinline optsize ssp sspreq noredzone noimplicitfloat naked builtin cold nobuiltin noduplicate nonlazybind optnone returns_twice sanitize_address sanitize_memory sanitize_thread sspstrong uwtable returned type opaque eq ne slt sgt sle sge ult ugt ule uge oeq one olt ogt ole oge ord uno ueq une x acq_rel acquire alignstack atomic catch cleanup filter inteldialect max min monotonic nand personality release seq_cst singlethread umax umin unordered xchg add fadd sub fsub mul fmul udiv sdiv fdiv urem srem frem shl lshr ashr and or xor icmp fcmp phi call trunc zext sext fptrunc fpext uitofp sitofp fptoui fptosi inttoptr ptrtoint bitcast addrspacecast select va_arg ret br switch invoke unwind unreachable indirectbr landingpad resume malloc alloca free load store getelementptr extractelement insertelement shufflevector getresult extractvalue insertvalue atomicrmw cmpxchg fence argmemonly double",contains:[V,m.COMMENT(/;\s*$/,null,{relevance:0}),m.COMMENT(/;/,/$/),{className:"string",begin:/"/,end:/"/,contains:[{className:"char.escape",match:/\\\d\d/}]},U,$,q,R,B,D]}}return llvm_1=k,llvm_1}var lsl_1,hasRequiredLsl;function requireLsl(){if(hasRequiredLsl)return lsl_1;hasRequiredLsl=1;function k(m){const G={className:"string",begin:'"',end:'"',contains:[{className:"subst",begin:/\\[tn"\\]/}]},V={className:"number",relevance:0,begin:m.C_NUMBER_RE},q={className:"literal",variants:[{begin:"\\b(PI|TWO_PI|PI_BY_TWO|DEG_TO_RAD|RAD_TO_DEG|SQRT2)\\b"},{begin:"\\b(XP_ERROR_(EXPERIENCES_DISABLED|EXPERIENCE_(DISABLED|SUSPENDED)|INVALID_(EXPERIENCE|PARAMETERS)|KEY_NOT_FOUND|MATURITY_EXCEEDED|NONE|NOT_(FOUND|PERMITTED(_LAND)?)|NO_EXPERIENCE|QUOTA_EXCEEDED|RETRY_UPDATE|STORAGE_EXCEPTION|STORE_DISABLED|THROTTLED|UNKNOWN_ERROR)|JSON_APPEND|STATUS_(PHYSICS|ROTATE_[XYZ]|PHANTOM|SANDBOX|BLOCK_GRAB(_OBJECT)?|(DIE|RETURN)_AT_EDGE|CAST_SHADOWS|OK|MALFORMED_PARAMS|TYPE_MISMATCH|BOUNDS_ERROR|NOT_(FOUND|SUPPORTED)|INTERNAL_ERROR|WHITELIST_FAILED)|AGENT(_(BY_(LEGACY_|USER)NAME|FLYING|ATTACHMENTS|SCRIPTED|MOUSELOOK|SITTING|ON_OBJECT|AWAY|WALKING|IN_AIR|TYPING|CROUCHING|BUSY|ALWAYS_RUN|AUTOPILOT|LIST_(PARCEL(_OWNER)?|REGION)))?|CAMERA_(PITCH|DISTANCE|BEHINDNESS_(ANGLE|LAG)|(FOCUS|POSITION)(_(THRESHOLD|LOCKED|LAG))?|FOCUS_OFFSET|ACTIVE)|ANIM_ON|LOOP|REVERSE|PING_PONG|SMOOTH|ROTATE|SCALE|ALL_SIDES|LINK_(ROOT|SET|ALL_(OTHERS|CHILDREN)|THIS)|ACTIVE|PASS(IVE|_(ALWAYS|IF_NOT_HANDLED|NEVER))|SCRIPTED|CONTROL_(FWD|BACK|(ROT_)?(LEFT|RIGHT)|UP|DOWN|(ML_)?LBUTTON)|PERMISSION_(RETURN_OBJECTS|DEBIT|OVERRIDE_ANIMATIONS|SILENT_ESTATE_MANAGEMENT|TAKE_CONTROLS|TRIGGER_ANIMATION|ATTACH|CHANGE_LINKS|(CONTROL|TRACK)_CAMERA|TELEPORT)|INVENTORY_(TEXTURE|SOUND|OBJECT|SCRIPT|LANDMARK|CLOTHING|NOTECARD|BODYPART|ANIMATION|GESTURE|ALL|NONE)|CHANGED_(INVENTORY|COLOR|SHAPE|SCALE|TEXTURE|LINK|ALLOWED_DROP|OWNER|REGION(_START)?|TELEPORT|MEDIA)|OBJECT_(CLICK_ACTION|HOVER_HEIGHT|LAST_OWNER_ID|(PHYSICS|SERVER|STREAMING)_COST|UNKNOWN_DETAIL|CHARACTER_TIME|PHANTOM|PHYSICS|TEMP_(ATTACHED|ON_REZ)|NAME|DESC|POS|PRIM_(COUNT|EQUIVALENCE)|RETURN_(PARCEL(_OWNER)?|REGION)|REZZER_KEY|ROO?T|VELOCITY|OMEGA|OWNER|GROUP(_TAG)?|CREATOR|ATTACHED_(POINT|SLOTS_AVAILABLE)|RENDER_WEIGHT|(BODY_SHAPE|PATHFINDING)_TYPE|(RUNNING|TOTAL)_SCRIPT_COUNT|TOTAL_INVENTORY_COUNT|SCRIPT_(MEMORY|TIME))|TYPE_(INTEGER|FLOAT|STRING|KEY|VECTOR|ROTATION|INVALID)|(DEBUG|PUBLIC)_CHANNEL|ATTACH_(AVATAR_CENTER|CHEST|HEAD|BACK|PELVIS|MOUTH|CHIN|NECK|NOSE|BELLY|[LR](SHOULDER|HAND|FOOT|EAR|EYE|[UL](ARM|LEG)|HIP)|(LEFT|RIGHT)_PEC|HUD_(CENTER_[12]|TOP_(RIGHT|CENTER|LEFT)|BOTTOM(_(RIGHT|LEFT))?)|[LR]HAND_RING1|TAIL_(BASE|TIP)|[LR]WING|FACE_(JAW|[LR]EAR|[LR]EYE|TOUNGE)|GROIN|HIND_[LR]FOOT)|LAND_(LEVEL|RAISE|LOWER|SMOOTH|NOISE|REVERT)|DATA_(ONLINE|NAME|BORN|SIM_(POS|STATUS|RATING)|PAYINFO)|PAYMENT_INFO_(ON_FILE|USED)|REMOTE_DATA_(CHANNEL|REQUEST|REPLY)|PSYS_(PART_(BF_(ZERO|ONE(_MINUS_(DEST_COLOR|SOURCE_(ALPHA|COLOR)))?|DEST_COLOR|SOURCE_(ALPHA|COLOR))|BLEND_FUNC_(DEST|SOURCE)|FLAGS|(START|END)_(COLOR|ALPHA|SCALE|GLOW)|MAX_AGE|(RIBBON|WIND|INTERP_(COLOR|SCALE)|BOUNCE|FOLLOW_(SRC|VELOCITY)|TARGET_(POS|LINEAR)|EMISSIVE)_MASK)|SRC_(MAX_AGE|PATTERN|ANGLE_(BEGIN|END)|BURST_(RATE|PART_COUNT|RADIUS|SPEED_(MIN|MAX))|ACCEL|TEXTURE|TARGET_KEY|OMEGA|PATTERN_(DROP|EXPLODE|ANGLE(_CONE(_EMPTY)?)?)))|VEHICLE_(REFERENCE_FRAME|TYPE_(NONE|SLED|CAR|BOAT|AIRPLANE|BALLOON)|(LINEAR|ANGULAR)_(FRICTION_TIMESCALE|MOTOR_DIRECTION)|LINEAR_MOTOR_OFFSET|HOVER_(HEIGHT|EFFICIENCY|TIMESCALE)|BUOYANCY|(LINEAR|ANGULAR)_(DEFLECTION_(EFFICIENCY|TIMESCALE)|MOTOR_(DECAY_)?TIMESCALE)|VERTICAL_ATTRACTION_(EFFICIENCY|TIMESCALE)|BANKING_(EFFICIENCY|MIX|TIMESCALE)|FLAG_(NO_DEFLECTION_UP|LIMIT_(ROLL_ONLY|MOTOR_UP)|HOVER_((WATER|TERRAIN|UP)_ONLY|GLOBAL_HEIGHT)|MOUSELOOK_(STEER|BANK)|CAMERA_DECOUPLED))|PRIM_(ALLOW_UNSIT|ALPHA_MODE(_(BLEND|EMISSIVE|MASK|NONE))?|NORMAL|SPECULAR|TYPE(_(BOX|CYLINDER|PRISM|SPHERE|TORUS|TUBE|RING|SCULPT))?|HOLE_(DEFAULT|CIRCLE|SQUARE|TRIANGLE)|MATERIAL(_(STONE|METAL|GLASS|WOOD|FLESH|PLASTIC|RUBBER))?|SHINY_(NONE|LOW|MEDIUM|HIGH)|BUMP_(NONE|BRIGHT|DARK|WOOD|BARK|BRICKS|CHECKER|CONCRETE|TILE|STONE|DISKS|GRAVEL|BLOBS|SIDING|LARGETILE|STUCCO|SUCTION|WEAVE)|TEXGEN_(DEFAULT|PLANAR)|SCRIPTED_SIT_ONLY|SCULPT_(TYPE_(SPHERE|TORUS|PLANE|CYLINDER|MASK)|FLAG_(MIRROR|INVERT))|PHYSICS(_(SHAPE_(CONVEX|NONE|PRIM|TYPE)))?|(POS|ROT)_LOCAL|SLICE|TEXT|FLEXIBLE|POINT_LIGHT|TEMP_ON_REZ|PHANTOM|POSITION|SIT_TARGET|SIZE|ROTATION|TEXTURE|NAME|OMEGA|DESC|LINK_TARGET|COLOR|BUMP_SHINY|FULLBRIGHT|TEXGEN|GLOW|MEDIA_(ALT_IMAGE_ENABLE|CONTROLS|(CURRENT|HOME)_URL|AUTO_(LOOP|PLAY|SCALE|ZOOM)|FIRST_CLICK_INTERACT|(WIDTH|HEIGHT)_PIXELS|WHITELIST(_ENABLE)?|PERMS_(INTERACT|CONTROL)|PARAM_MAX|CONTROLS_(STANDARD|MINI)|PERM_(NONE|OWNER|GROUP|ANYONE)|MAX_(URL_LENGTH|WHITELIST_(SIZE|COUNT)|(WIDTH|HEIGHT)_PIXELS)))|MASK_(BASE|OWNER|GROUP|EVERYONE|NEXT)|PERM_(TRANSFER|MODIFY|COPY|MOVE|ALL)|PARCEL_(MEDIA_COMMAND_(STOP|PAUSE|PLAY|LOOP|TEXTURE|URL|TIME|AGENT|UNLOAD|AUTO_ALIGN|TYPE|SIZE|DESC|LOOP_SET)|FLAG_(ALLOW_(FLY|(GROUP_)?SCRIPTS|LANDMARK|TERRAFORM|DAMAGE|CREATE_(GROUP_)?OBJECTS)|USE_(ACCESS_(GROUP|LIST)|BAN_LIST|LAND_PASS_LIST)|LOCAL_SOUND_ONLY|RESTRICT_PUSHOBJECT|ALLOW_(GROUP|ALL)_OBJECT_ENTRY)|COUNT_(TOTAL|OWNER|GROUP|OTHER|SELECTED|TEMP)|DETAILS_(NAME|DESC|OWNER|GROUP|AREA|ID|SEE_AVATARS))|LIST_STAT_(MAX|MIN|MEAN|MEDIAN|STD_DEV|SUM(_SQUARES)?|NUM_COUNT|GEOMETRIC_MEAN|RANGE)|PAY_(HIDE|DEFAULT)|REGION_FLAG_(ALLOW_DAMAGE|FIXED_SUN|BLOCK_TERRAFORM|SANDBOX|DISABLE_(COLLISIONS|PHYSICS)|BLOCK_FLY|ALLOW_DIRECT_TELEPORT|RESTRICT_PUSHOBJECT)|HTTP_(METHOD|MIMETYPE|BODY_(MAXLENGTH|TRUNCATED)|CUSTOM_HEADER|PRAGMA_NO_CACHE|VERBOSE_THROTTLE|VERIFY_CERT)|SIT_(INVALID_(AGENT|LINK_OBJECT)|NO(T_EXPERIENCE|_(ACCESS|EXPERIENCE_PERMISSION|SIT_TARGET)))|STRING_(TRIM(_(HEAD|TAIL))?)|CLICK_ACTION_(NONE|TOUCH|SIT|BUY|PAY|OPEN(_MEDIA)?|PLAY|ZOOM)|TOUCH_INVALID_FACE|PROFILE_(NONE|SCRIPT_MEMORY)|RC_(DATA_FLAGS|DETECT_PHANTOM|GET_(LINK_NUM|NORMAL|ROOT_KEY)|MAX_HITS|REJECT_(TYPES|AGENTS|(NON)?PHYSICAL|LAND))|RCERR_(CAST_TIME_EXCEEDED|SIM_PERF_LOW|UNKNOWN)|ESTATE_ACCESS_(ALLOWED_(AGENT|GROUP)_(ADD|REMOVE)|BANNED_AGENT_(ADD|REMOVE))|DENSITY|FRICTION|RESTITUTION|GRAVITY_MULTIPLIER|KFM_(COMMAND|CMD_(PLAY|STOP|PAUSE)|MODE|FORWARD|LOOP|PING_PONG|REVERSE|DATA|ROTATION|TRANSLATION)|ERR_(GENERIC|PARCEL_PERMISSIONS|MALFORMED_PARAMS|RUNTIME_PERMISSIONS|THROTTLED)|CHARACTER_(CMD_((SMOOTH_)?STOP|JUMP)|DESIRED_(TURN_)?SPEED|RADIUS|STAY_WITHIN_PARCEL|LENGTH|ORIENTATION|ACCOUNT_FOR_SKIPPED_FRAMES|AVOIDANCE_MODE|TYPE(_([ABCD]|NONE))?|MAX_(DECEL|TURN_RADIUS|(ACCEL|SPEED)))|PURSUIT_(OFFSET|FUZZ_FACTOR|GOAL_TOLERANCE|INTERCEPT)|REQUIRE_LINE_OF_SIGHT|FORCE_DIRECT_PATH|VERTICAL|HORIZONTAL|AVOID_(CHARACTERS|DYNAMIC_OBSTACLES|NONE)|PU_(EVADE_(HIDDEN|SPOTTED)|FAILURE_(DYNAMIC_PATHFINDING_DISABLED|INVALID_(GOAL|START)|NO_(NAVMESH|VALID_DESTINATION)|OTHER|TARGET_GONE|(PARCEL_)?UNREACHABLE)|(GOAL|SLOWDOWN_DISTANCE)_REACHED)|TRAVERSAL_TYPE(_(FAST|NONE|SLOW))?|CONTENT_TYPE_(ATOM|FORM|HTML|JSON|LLSD|RSS|TEXT|XHTML|XML)|GCNP_(RADIUS|STATIC)|(PATROL|WANDER)_PAUSE_AT_WAYPOINTS|OPT_(AVATAR|CHARACTER|EXCLUSION_VOLUME|LEGACY_LINKSET|MATERIAL_VOLUME|OTHER|STATIC_OBSTACLE|WALKABLE)|SIM_STAT_PCT_CHARS_STEPPED)\\b"},{begin:"\\b(FALSE|TRUE)\\b"},{begin:"\\b(ZERO_ROTATION)\\b"},{begin:"\\b(EOF|JSON_(ARRAY|DELETE|FALSE|INVALID|NULL|NUMBER|OBJECT|STRING|TRUE)|NULL_KEY|TEXTURE_(BLANK|DEFAULT|MEDIA|PLYWOOD|TRANSPARENT)|URL_REQUEST_(GRANTED|DENIED))\\b"},{begin:"\\b(ZERO_VECTOR|TOUCH_INVALID_(TEXCOORD|VECTOR))\\b"}]},$={className:"built_in",begin:"\\b(ll(AgentInExperience|(Create|DataSize|Delete|KeyCount|Keys|Read|Update)KeyValue|GetExperience(Details|ErrorMessage)|ReturnObjectsBy(ID|Owner)|Json(2List|[GS]etValue|ValueType)|Sin|Cos|Tan|Atan2|Sqrt|Pow|Abs|Fabs|Frand|Floor|Ceil|Round|Vec(Mag|Norm|Dist)|Rot(Between|2(Euler|Fwd|Left|Up))|(Euler|Axes)2Rot|Whisper|(Region|Owner)?Say|Shout|Listen(Control|Remove)?|Sensor(Repeat|Remove)?|Detected(Name|Key|Owner|Type|Pos|Vel|Grab|Rot|Group|LinkNumber)|Die|Ground|Wind|([GS]et)(AnimationOverride|MemoryLimit|PrimMediaParams|ParcelMusicURL|Object(Desc|Name)|PhysicsMaterial|Status|Scale|Color|Alpha|Texture|Pos|Rot|Force|Torque)|ResetAnimationOverride|(Scale|Offset|Rotate)Texture|(Rot)?Target(Remove)?|(Stop)?MoveToTarget|Apply(Rotational)?Impulse|Set(KeyframedMotion|ContentType|RegionPos|(Angular)?Velocity|Buoyancy|HoverHeight|ForceAndTorque|TimerEvent|ScriptState|Damage|TextureAnim|Sound(Queueing|Radius)|Vehicle(Type|(Float|Vector|Rotation)Param)|(Touch|Sit)?Text|Camera(Eye|At)Offset|PrimitiveParams|ClickAction|Link(Alpha|Color|PrimitiveParams(Fast)?|Texture(Anim)?|Camera|Media)|RemoteScriptAccessPin|PayPrice|LocalRot)|ScaleByFactor|Get((Max|Min)ScaleFactor|ClosestNavPoint|StaticPath|SimStats|Env|PrimitiveParams|Link(PrimitiveParams|Number(OfSides)?|Key|Name|Media)|HTTPHeader|FreeURLs|Object(Details|PermMask|PrimCount)|Parcel(MaxPrims|Details|Prim(Count|Owners))|Attached(List)?|(SPMax|Free|Used)Memory|Region(Name|TimeDilation|FPS|Corner|AgentCount)|Root(Position|Rotation)|UnixTime|(Parcel|Region)Flags|(Wall|GMT)clock|SimulatorHostname|BoundingBox|GeometricCenter|Creator|NumberOf(Prims|NotecardLines|Sides)|Animation(List)?|(Camera|Local)(Pos|Rot)|Vel|Accel|Omega|Time(stamp|OfDay)|(Object|CenterOf)?Mass|MassMKS|Energy|Owner|(Owner)?Key|SunDirection|Texture(Offset|Scale|Rot)|Inventory(Number|Name|Key|Type|Creator|PermMask)|Permissions(Key)?|StartParameter|List(Length|EntryType)|Date|Agent(Size|Info|Language|List)|LandOwnerAt|NotecardLine|Script(Name|State))|(Get|Reset|GetAndReset)Time|PlaySound(Slave)?|LoopSound(Master|Slave)?|(Trigger|Stop|Preload)Sound|((Get|Delete)Sub|Insert)String|To(Upper|Lower)|Give(InventoryList|Money)|RezObject|(Stop)?LookAt|Sleep|CollisionFilter|(Take|Release)Controls|DetachFromAvatar|AttachToAvatar(Temp)?|InstantMessage|(GetNext)?Email|StopHover|MinEventDelay|RotLookAt|String(Length|Trim)|(Start|Stop)Animation|TargetOmega|Request(Experience)?Permissions|(Create|Break)Link|BreakAllLinks|(Give|Remove)Inventory|Water|PassTouches|Request(Agent|Inventory)Data|TeleportAgent(Home|GlobalCoords)?|ModifyLand|CollisionSound|ResetScript|MessageLinked|PushObject|PassCollisions|AxisAngle2Rot|Rot2(Axis|Angle)|A(cos|sin)|AngleBetween|AllowInventoryDrop|SubStringIndex|List2(CSV|Integer|Json|Float|String|Key|Vector|Rot|List(Strided)?)|DeleteSubList|List(Statistics|Sort|Randomize|(Insert|Find|Replace)List)|EdgeOfWorld|AdjustSoundVolume|Key2Name|TriggerSoundLimited|EjectFromLand|(CSV|ParseString)2List|OverMyLand|SameGroup|UnSit|Ground(Slope|Normal|Contour)|GroundRepel|(Set|Remove)VehicleFlags|SitOnLink|(AvatarOn)?(Link)?SitTarget|Script(Danger|Profiler)|Dialog|VolumeDetect|ResetOtherScript|RemoteLoadScriptPin|(Open|Close)RemoteDataChannel|SendRemoteData|RemoteDataReply|(Integer|String)ToBase64|XorBase64|Log(10)?|Base64To(String|Integer)|ParseStringKeepNulls|RezAtRoot|RequestSimulatorData|ForceMouselook|(Load|Release|(E|Une)scape)URL|ParcelMedia(CommandList|Query)|ModPow|MapDestination|(RemoveFrom|AddTo|Reset)Land(Pass|Ban)List|(Set|Clear)CameraParams|HTTP(Request|Response)|TextBox|DetectedTouch(UV|Face|Pos|(N|Bin)ormal|ST)|(MD5|SHA1|DumpList2)String|Request(Secure)?URL|Clear(Prim|Link)Media|(Link)?ParticleSystem|(Get|Request)(Username|DisplayName)|RegionSayTo|CastRay|GenerateKey|TransferLindenDollars|ManageEstateAccess|(Create|Delete)Character|ExecCharacterCmd|Evade|FleeFrom|NavigateTo|PatrolPoints|Pursue|UpdateCharacter|WanderWithin))\\b"};return{name:"LSL (Linden Scripting Language)",illegal:":",contains:[G,{className:"comment",variants:[m.COMMENT("//","$"),m.COMMENT("/\\*","\\*/")],relevance:0},V,{className:"section",variants:[{begin:"\\b(state|default)\\b"},{begin:"\\b(state_(entry|exit)|touch(_(start|end))?|(land_)?collision(_(start|end))?|timer|listen|(no_)?sensor|control|(not_)?at_(rot_)?target|money|email|experience_permissions(_denied)?|run_time_permissions|changed|attach|dataserver|moving_(start|end)|link_message|(on|object)_rez|remote_data|http_re(sponse|quest)|path_update|transaction_result)\\b"}]},$,q,{className:"type",begin:"\\b(integer|float|string|key|vector|quaternion|rotation|list)\\b"}]}}return lsl_1=k,lsl_1}var lua_1,hasRequiredLua;function requireLua(){if(hasRequiredLua)return lua_1;hasRequiredLua=1;function k(m){const M="\\[=*\\[",G="\\]=*\\]",V={begin:M,end:G,contains:["self"]},q=[m.COMMENT("--(?!"+M+")","$"),m.COMMENT("--"+M,G,{contains:[V],relevance:10})];return{name:"Lua",keywords:{$pattern:m.UNDERSCORE_IDENT_RE,literal:"true false nil",keyword:"and break do else elseif end for goto if in local not or repeat return then until while",built_in:"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove"},contains:q.concat([{className:"function",beginKeywords:"function",end:"\\)",contains:[m.inherit(m.TITLE_MODE,{begin:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"}),{className:"params",begin:"\\(",endsWithParent:!0,contains:q}].concat(q)},m.C_NUMBER_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{className:"string",begin:M,end:G,contains:[V],relevance:5}])}}return lua_1=k,lua_1}var makefile_1,hasRequiredMakefile;function requireMakefile(){if(hasRequiredMakefile)return makefile_1;hasRequiredMakefile=1;function k(m){const M={className:"variable",variants:[{begin:"\\$\\("+m.UNDERSCORE_IDENT_RE+"\\)",contains:[m.BACKSLASH_ESCAPE]},{begin:/\$[@%{ie.has(de[0])||se.ignoreMatch()}},{className:"symbol",relevance:0,begin:ae}]},J={className:"named-character",begin:/\\\[[$a-zA-Z][$a-zA-Z0-9]+\]/},W={className:"operator",relevance:0,begin:/[+\-*/,;.:@~=><&|_`'^?!%]+/},X={className:"pattern",relevance:0,begin:/([a-zA-Z$][a-zA-Z0-9$]*)?_+([a-zA-Z$][a-zA-Z0-9$]*)?/},L={className:"slot",relevance:0,begin:/#[a-zA-Z$][a-zA-Z0-9$]*|#+[0-9]?/},Q={className:"brace",relevance:0,begin:/[[\](){}]/},ce={className:"message-name",relevance:0,begin:G.concat("::",ae)};return{name:"Mathematica",aliases:["mma","wl"],classNameAliases:{brace:"punctuation",pattern:"type",slot:"type",symbol:"variable","named-character":"variable","builtin-symbol":"built_in","message-name":"string"},contains:[M.COMMENT(/\(\*/,/\*\)/,{contains:["self"]}),X,L,ce,he,J,M.QUOTE_STRING_MODE,e,W,Q]}}return mathematica_1=m,mathematica_1}var matlab_1,hasRequiredMatlab;function requireMatlab(){if(hasRequiredMatlab)return matlab_1;hasRequiredMatlab=1;function k(m){const M="('|\\.')+",G={relevance:0,contains:[{begin:M}]};return{name:"Matlab",keywords:{keyword:"arguments break case catch classdef continue else elseif end enumeration events for function global if methods otherwise parfor persistent properties return spmd switch try while",built_in:"sin sind sinh asin asind asinh cos cosd cosh acos acosd acosh tan tand tanh atan atand atan2 atanh sec secd sech asec asecd asech csc cscd csch acsc acscd acsch cot cotd coth acot acotd acoth hypot exp expm1 log log1p log10 log2 pow2 realpow reallog realsqrt sqrt nthroot nextpow2 abs angle complex conj imag real unwrap isreal cplxpair fix floor ceil round mod rem sign airy besselj bessely besselh besseli besselk beta betainc betaln ellipj ellipke erf erfc erfcx erfinv expint gamma gammainc gammaln psi legendre cross dot factor isprime primes gcd lcm rat rats perms nchoosek factorial cart2sph cart2pol pol2cart sph2cart hsv2rgb rgb2hsv zeros ones eye repmat rand randn linspace logspace freqspace meshgrid accumarray size length ndims numel disp isempty isequal isequalwithequalnans cat reshape diag blkdiag tril triu fliplr flipud flipdim rot90 find sub2ind ind2sub bsxfun ndgrid permute ipermute shiftdim circshift squeeze isscalar isvector ans eps realmax realmin pi i|0 inf nan isnan isinf isfinite j|0 why compan gallery hadamard hankel hilb invhilb magic pascal rosser toeplitz vander wilkinson max min nanmax nanmin mean nanmean type table readtable writetable sortrows sort figure plot plot3 scatter scatter3 cellfun legend intersect ismember procrustes hold num2cell "},illegal:'(//|"|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[m.UNDERSCORE_TITLE_MODE,{className:"params",variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}]}]},{className:"built_in",begin:/true|false/,relevance:0,starts:G},{begin:"[a-zA-Z][a-zA-Z_0-9]*"+M,relevance:0},{className:"number",begin:m.C_NUMBER_RE,relevance:0,starts:G},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:G},{className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:G},m.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),m.COMMENT("%","$")]}}return matlab_1=k,matlab_1}var maxima_1,hasRequiredMaxima;function requireMaxima(){if(hasRequiredMaxima)return maxima_1;hasRequiredMaxima=1;function k(m){return{name:"Maxima",keywords:{$pattern:"[A-Za-z_%][0-9A-Za-z_%]*",keyword:"if then else elseif for thru do while unless step in and or not",literal:"true false unknown inf minf ind und %e %i %pi %phi %gamma",built_in:" abasep abs absint absolute_real_time acos acosh acot acoth acsc acsch activate addcol add_edge add_edges addmatrices addrow add_vertex add_vertices adjacency_matrix adjoin adjoint af agd airy airy_ai airy_bi airy_dai airy_dbi algsys alg_type alias allroots alphacharp alphanumericp amortization %and annuity_fv annuity_pv antid antidiff AntiDifference append appendfile apply apply1 apply2 applyb1 apropos args arit_amortization arithmetic arithsum array arrayapply arrayinfo arraymake arraysetapply ascii asec asech asin asinh askinteger asksign assoc assoc_legendre_p assoc_legendre_q assume assume_external_byte_order asympa at atan atan2 atanh atensimp atom atvalue augcoefmatrix augmented_lagrangian_method av average_degree backtrace bars barsplot barsplot_description base64 base64_decode bashindices batch batchload bc2 bdvac belln benefit_cost bern bernpoly bernstein_approx bernstein_expand bernstein_poly bessel bessel_i bessel_j bessel_k bessel_simplify bessel_y beta beta_incomplete beta_incomplete_generalized beta_incomplete_regularized bezout bfallroots bffac bf_find_root bf_fmin_cobyla bfhzeta bfloat bfloatp bfpsi bfpsi0 bfzeta biconnected_components bimetric binomial bipartition block blockmatrixp bode_gain bode_phase bothcoef box boxplot boxplot_description break bug_report build_info|10 buildq build_sample burn cabs canform canten cardinality carg cartan cartesian_product catch cauchy_matrix cbffac cdf_bernoulli cdf_beta cdf_binomial cdf_cauchy cdf_chi2 cdf_continuous_uniform cdf_discrete_uniform cdf_exp cdf_f cdf_gamma cdf_general_finite_discrete cdf_geometric cdf_gumbel cdf_hypergeometric cdf_laplace cdf_logistic cdf_lognormal cdf_negative_binomial cdf_noncentral_chi2 cdf_noncentral_student_t cdf_normal cdf_pareto cdf_poisson cdf_rank_sum cdf_rayleigh cdf_signed_rank cdf_student_t cdf_weibull cdisplay ceiling central_moment cequal cequalignore cf cfdisrep cfexpand cgeodesic cgreaterp cgreaterpignore changename changevar chaosgame charat charfun charfun2 charlist charp charpoly chdir chebyshev_t chebyshev_u checkdiv check_overlaps chinese cholesky christof chromatic_index chromatic_number cint circulant_graph clear_edge_weight clear_rules clear_vertex_label clebsch_gordan clebsch_graph clessp clesspignore close closefile cmetric coeff coefmatrix cograd col collapse collectterms columnop columnspace columnswap columnvector combination combine comp2pui compare compfile compile compile_file complement_graph complete_bipartite_graph complete_graph complex_number_p components compose_functions concan concat conjugate conmetderiv connected_components connect_vertices cons constant constantp constituent constvalue cont2part content continuous_freq contortion contour_plot contract contract_edge contragrad contrib_ode convert coord copy copy_file copy_graph copylist copymatrix cor cos cosh cot coth cov cov1 covdiff covect covers crc24sum create_graph create_list csc csch csetup cspline ctaylor ct_coordsys ctransform ctranspose cube_graph cuboctahedron_graph cunlisp cv cycle_digraph cycle_graph cylindrical days360 dblint deactivate declare declare_constvalue declare_dimensions declare_fundamental_dimensions declare_fundamental_units declare_qty declare_translated declare_unit_conversion declare_units declare_weights decsym defcon define define_alt_display define_variable defint defmatch defrule defstruct deftaylor degree_sequence del delete deleten delta demo demoivre denom depends derivdegree derivlist describe desolve determinant dfloat dgauss_a dgauss_b dgeev dgemm dgeqrf dgesv dgesvd diag diagmatrix diag_matrix diagmatrixp diameter diff digitcharp dimacs_export dimacs_import dimension dimensionless dimensions dimensions_as_list direct directory discrete_freq disjoin disjointp disolate disp dispcon dispform dispfun dispJordan display disprule dispterms distrib divide divisors divsum dkummer_m dkummer_u dlange dodecahedron_graph dotproduct dotsimp dpart draw draw2d draw3d drawdf draw_file draw_graph dscalar echelon edge_coloring edge_connectivity edges eigens_by_jacobi eigenvalues eigenvectors eighth einstein eivals eivects elapsed_real_time elapsed_run_time ele2comp ele2polynome ele2pui elem elementp elevation_grid elim elim_allbut eliminate eliminate_using ellipse elliptic_e elliptic_ec elliptic_eu elliptic_f elliptic_kc elliptic_pi ematrix empty_graph emptyp endcons entermatrix entertensor entier equal equalp equiv_classes erf erfc erf_generalized erfi errcatch error errormsg errors euler ev eval_string evenp every evolution evolution2d evundiff example exp expand expandwrt expandwrt_factored expint expintegral_chi expintegral_ci expintegral_e expintegral_e1 expintegral_ei expintegral_e_simplify expintegral_li expintegral_shi expintegral_si explicit explose exponentialize express expt exsec extdiff extract_linear_equations extremal_subset ezgcd %f f90 facsum factcomb factor factorfacsum factorial factorout factorsum facts fast_central_elements fast_linsolve fasttimes featurep fernfale fft fib fibtophi fifth filename_merge file_search file_type fillarray findde find_root find_root_abs find_root_error find_root_rel first fix flatten flength float floatnump floor flower_snark flush flush1deriv flushd flushnd flush_output fmin_cobyla forget fortran fourcos fourexpand fourier fourier_elim fourint fourintcos fourintsin foursimp foursin fourth fposition frame_bracket freeof freshline fresnel_c fresnel_s from_adjacency_matrix frucht_graph full_listify fullmap fullmapl fullratsimp fullratsubst fullsetify funcsolve fundamental_dimensions fundamental_units fundef funmake funp fv g0 g1 gamma gamma_greek gamma_incomplete gamma_incomplete_generalized gamma_incomplete_regularized gauss gauss_a gauss_b gaussprob gcd gcdex gcdivide gcfac gcfactor gd generalized_lambert_w genfact gen_laguerre genmatrix gensym geo_amortization geo_annuity_fv geo_annuity_pv geomap geometric geometric_mean geosum get getcurrentdirectory get_edge_weight getenv get_lu_factors get_output_stream_string get_pixel get_plot_option get_tex_environment get_tex_environment_default get_vertex_label gfactor gfactorsum ggf girth global_variances gn gnuplot_close gnuplot_replot gnuplot_reset gnuplot_restart gnuplot_start go Gosper GosperSum gr2d gr3d gradef gramschmidt graph6_decode graph6_encode graph6_export graph6_import graph_center graph_charpoly graph_eigenvalues graph_flow graph_order graph_periphery graph_product graph_size graph_union great_rhombicosidodecahedron_graph great_rhombicuboctahedron_graph grid_graph grind grobner_basis grotzch_graph hamilton_cycle hamilton_path hankel hankel_1 hankel_2 harmonic harmonic_mean hav heawood_graph hermite hessian hgfred hilbertmap hilbert_matrix hipow histogram histogram_description hodge horner hypergeometric i0 i1 %ibes ic1 ic2 ic_convert ichr1 ichr2 icosahedron_graph icosidodecahedron_graph icurvature ident identfor identity idiff idim idummy ieqn %if ifactors iframes ifs igcdex igeodesic_coords ilt image imagpart imetric implicit implicit_derivative implicit_plot indexed_tensor indices induced_subgraph inferencep inference_result infix info_display init_atensor init_ctensor in_neighbors innerproduct inpart inprod inrt integerp integer_partitions integrate intersect intersection intervalp intopois intosum invariant1 invariant2 inverse_fft inverse_jacobi_cd inverse_jacobi_cn inverse_jacobi_cs inverse_jacobi_dc inverse_jacobi_dn inverse_jacobi_ds inverse_jacobi_nc inverse_jacobi_nd inverse_jacobi_ns inverse_jacobi_sc inverse_jacobi_sd inverse_jacobi_sn invert invert_by_adjoint invert_by_lu inv_mod irr is is_biconnected is_bipartite is_connected is_digraph is_edge_in_graph is_graph is_graph_or_digraph ishow is_isomorphic isolate isomorphism is_planar isqrt isreal_p is_sconnected is_tree is_vertex_in_graph items_inference %j j0 j1 jacobi jacobian jacobi_cd jacobi_cn jacobi_cs jacobi_dc jacobi_dn jacobi_ds jacobi_nc jacobi_nd jacobi_ns jacobi_p jacobi_sc jacobi_sd jacobi_sn JF jn join jordan julia julia_set julia_sin %k kdels kdelta kill killcontext kostka kron_delta kronecker_product kummer_m kummer_u kurtosis kurtosis_bernoulli kurtosis_beta kurtosis_binomial kurtosis_chi2 kurtosis_continuous_uniform kurtosis_discrete_uniform kurtosis_exp kurtosis_f kurtosis_gamma kurtosis_general_finite_discrete kurtosis_geometric kurtosis_gumbel kurtosis_hypergeometric kurtosis_laplace kurtosis_logistic kurtosis_lognormal kurtosis_negative_binomial kurtosis_noncentral_chi2 kurtosis_noncentral_student_t kurtosis_normal kurtosis_pareto kurtosis_poisson kurtosis_rayleigh kurtosis_student_t kurtosis_weibull label labels lagrange laguerre lambda lambert_w laplace laplacian_matrix last lbfgs lc2kdt lcharp lc_l lcm lc_u ldefint ldisp ldisplay legendre_p legendre_q leinstein length let letrules letsimp levi_civita lfreeof lgtreillis lhs li liediff limit Lindstedt linear linearinterpol linear_program linear_regression line_graph linsolve listarray list_correlations listify list_matrix_entries list_nc_monomials listoftens listofvars listp lmax lmin load loadfile local locate_matrix_entry log logcontract log_gamma lopow lorentz_gauge lowercasep lpart lratsubst lreduce lriemann lsquares_estimates lsquares_estimates_approximate lsquares_estimates_exact lsquares_mse lsquares_residual_mse lsquares_residuals lsum ltreillis lu_backsub lucas lu_factor %m macroexpand macroexpand1 make_array makebox makefact makegamma make_graph make_level_picture makelist makeOrders make_poly_continent make_poly_country make_polygon make_random_state make_rgb_picture makeset make_string_input_stream make_string_output_stream make_transform mandelbrot mandelbrot_set map mapatom maplist matchdeclare matchfix mat_cond mat_fullunblocker mat_function mathml_display mat_norm matrix matrixmap matrixp matrix_size mattrace mat_trace mat_unblocker max max_clique max_degree max_flow maximize_lp max_independent_set max_matching maybe md5sum mean mean_bernoulli mean_beta mean_binomial mean_chi2 mean_continuous_uniform mean_deviation mean_discrete_uniform mean_exp mean_f mean_gamma mean_general_finite_discrete mean_geometric mean_gumbel mean_hypergeometric mean_laplace mean_logistic mean_lognormal mean_negative_binomial mean_noncentral_chi2 mean_noncentral_student_t mean_normal mean_pareto mean_poisson mean_rayleigh mean_student_t mean_weibull median median_deviation member mesh metricexpandall mgf1_sha1 min min_degree min_edge_cut minfactorial minimalPoly minimize_lp minimum_spanning_tree minor minpack_lsquares minpack_solve min_vertex_cover min_vertex_cut mkdir mnewton mod mode_declare mode_identity ModeMatrix moebius mon2schur mono monomial_dimensions multibernstein_poly multi_display_for_texinfo multi_elem multinomial multinomial_coeff multi_orbit multiplot_mode multi_pui multsym multthru mycielski_graph nary natural_unit nc_degree ncexpt ncharpoly negative_picture neighbors new newcontext newdet new_graph newline newton new_variable next_prime nicedummies niceindices ninth nofix nonarray noncentral_moment nonmetricity nonnegintegerp nonscalarp nonzeroandfreeof notequal nounify nptetrad npv nroots nterms ntermst nthroot nullity nullspace num numbered_boundaries numberp number_to_octets num_distinct_partitions numerval numfactor num_partitions nusum nzeta nzetai nzetar octets_to_number octets_to_oid odd_girth oddp ode2 ode_check odelin oid_to_octets op opena opena_binary openr openr_binary openw openw_binary operatorp opsubst optimize %or orbit orbits ordergreat ordergreatp orderless orderlessp orthogonal_complement orthopoly_recur orthopoly_weight outermap out_neighbors outofpois pade parabolic_cylinder_d parametric parametric_surface parg parGosper parse_string parse_timedate part part2cont partfrac partition partition_set partpol path_digraph path_graph pathname_directory pathname_name pathname_type pdf_bernoulli pdf_beta pdf_binomial pdf_cauchy pdf_chi2 pdf_continuous_uniform pdf_discrete_uniform pdf_exp pdf_f pdf_gamma pdf_general_finite_discrete pdf_geometric pdf_gumbel pdf_hypergeometric pdf_laplace pdf_logistic pdf_lognormal pdf_negative_binomial pdf_noncentral_chi2 pdf_noncentral_student_t pdf_normal pdf_pareto pdf_poisson pdf_rank_sum pdf_rayleigh pdf_signed_rank pdf_student_t pdf_weibull pearson_skewness permanent permut permutation permutations petersen_graph petrov pickapart picture_equalp picturep piechart piechart_description planar_embedding playback plog plot2d plot3d plotdf ploteq plsquares pochhammer points poisdiff poisexpt poisint poismap poisplus poissimp poissubst poistimes poistrim polar polarform polartorect polar_to_xy poly_add poly_buchberger poly_buchberger_criterion poly_colon_ideal poly_content polydecomp poly_depends_p poly_elimination_ideal poly_exact_divide poly_expand poly_expt poly_gcd polygon poly_grobner poly_grobner_equal poly_grobner_member poly_grobner_subsetp poly_ideal_intersection poly_ideal_polysaturation poly_ideal_polysaturation1 poly_ideal_saturation poly_ideal_saturation1 poly_lcm poly_minimization polymod poly_multiply polynome2ele polynomialp poly_normal_form poly_normalize poly_normalize_list poly_polysaturation_extension poly_primitive_part poly_pseudo_divide poly_reduced_grobner poly_reduction poly_saturation_extension poly_s_polynomial poly_subtract polytocompanion pop postfix potential power_mod powerseries powerset prefix prev_prime primep primes principal_components print printf printfile print_graph printpois printprops prodrac product properties propvars psi psubst ptriangularize pui pui2comp pui2ele pui2polynome pui_direct puireduc push put pv qput qrange qty quad_control quad_qag quad_qagi quad_qagp quad_qags quad_qawc quad_qawf quad_qawo quad_qaws quadrilateral quantile quantile_bernoulli quantile_beta quantile_binomial quantile_cauchy quantile_chi2 quantile_continuous_uniform quantile_discrete_uniform quantile_exp quantile_f quantile_gamma quantile_general_finite_discrete quantile_geometric quantile_gumbel quantile_hypergeometric quantile_laplace quantile_logistic quantile_lognormal quantile_negative_binomial quantile_noncentral_chi2 quantile_noncentral_student_t quantile_normal quantile_pareto quantile_poisson quantile_rayleigh quantile_student_t quantile_weibull quartile_skewness quit qunit quotient racah_v racah_w radcan radius random random_bernoulli random_beta random_binomial random_bipartite_graph random_cauchy random_chi2 random_continuous_uniform random_digraph random_discrete_uniform random_exp random_f random_gamma random_general_finite_discrete random_geometric random_graph random_graph1 random_gumbel random_hypergeometric random_laplace random_logistic random_lognormal random_negative_binomial random_network random_noncentral_chi2 random_noncentral_student_t random_normal random_pareto random_permutation random_poisson random_rayleigh random_regular_graph random_student_t random_tournament random_tree random_weibull range rank rat ratcoef ratdenom ratdiff ratdisrep ratexpand ratinterpol rational rationalize ratnumer ratnump ratp ratsimp ratsubst ratvars ratweight read read_array read_binary_array read_binary_list read_binary_matrix readbyte readchar read_hashed_array readline read_list read_matrix read_nested_list readonly read_xpm real_imagpart_to_conjugate realpart realroots rearray rectangle rectform rectform_log_if_constant recttopolar rediff reduce_consts reduce_order region region_boundaries region_boundaries_plus rem remainder remarray rembox remcomps remcon remcoord remfun remfunction remlet remove remove_constvalue remove_dimensions remove_edge remove_fundamental_dimensions remove_fundamental_units remove_plot_option remove_vertex rempart remrule remsym remvalue rename rename_file reset reset_displays residue resolvante resolvante_alternee1 resolvante_bipartite resolvante_diedrale resolvante_klein resolvante_klein3 resolvante_produit_sym resolvante_unitaire resolvante_vierer rest resultant return reveal reverse revert revert2 rgb2level rhs ricci riemann rinvariant risch rk rmdir rncombine romberg room rootscontract round row rowop rowswap rreduce run_testsuite %s save saving scalarp scaled_bessel_i scaled_bessel_i0 scaled_bessel_i1 scalefactors scanmap scatterplot scatterplot_description scene schur2comp sconcat scopy scsimp scurvature sdowncase sec sech second sequal sequalignore set_alt_display setdifference set_draw_defaults set_edge_weight setelmx setequalp setify setp set_partitions set_plot_option set_prompt set_random_state set_tex_environment set_tex_environment_default setunits setup_autoload set_up_dot_simplifications set_vertex_label seventh sexplode sf sha1sum sha256sum shortest_path shortest_weighted_path show showcomps showratvars sierpinskiale sierpinskimap sign signum similaritytransform simp_inequality simplify_sum simplode simpmetderiv simtran sin sinh sinsert sinvertcase sixth skewness skewness_bernoulli skewness_beta skewness_binomial skewness_chi2 skewness_continuous_uniform skewness_discrete_uniform skewness_exp skewness_f skewness_gamma skewness_general_finite_discrete skewness_geometric skewness_gumbel skewness_hypergeometric skewness_laplace skewness_logistic skewness_lognormal skewness_negative_binomial skewness_noncentral_chi2 skewness_noncentral_student_t skewness_normal skewness_pareto skewness_poisson skewness_rayleigh skewness_student_t skewness_weibull slength smake small_rhombicosidodecahedron_graph small_rhombicuboctahedron_graph smax smin smismatch snowmap snub_cube_graph snub_dodecahedron_graph solve solve_rec solve_rec_rat some somrac sort sparse6_decode sparse6_encode sparse6_export sparse6_import specint spherical spherical_bessel_j spherical_bessel_y spherical_hankel1 spherical_hankel2 spherical_harmonic spherical_to_xyz splice split sposition sprint sqfr sqrt sqrtdenest sremove sremovefirst sreverse ssearch ssort sstatus ssubst ssubstfirst staircase standardize standardize_inverse_trig starplot starplot_description status std std1 std_bernoulli std_beta std_binomial std_chi2 std_continuous_uniform std_discrete_uniform std_exp std_f std_gamma std_general_finite_discrete std_geometric std_gumbel std_hypergeometric std_laplace std_logistic std_lognormal std_negative_binomial std_noncentral_chi2 std_noncentral_student_t std_normal std_pareto std_poisson std_rayleigh std_student_t std_weibull stemplot stirling stirling1 stirling2 strim striml strimr string stringout stringp strong_components struve_h struve_l sublis sublist sublist_indices submatrix subsample subset subsetp subst substinpart subst_parallel substpart substring subvar subvarp sum sumcontract summand_to_rec supcase supcontext symbolp symmdifference symmetricp system take_channel take_inference tan tanh taylor taylorinfo taylorp taylor_simplifier taytorat tcl_output tcontract tellrat tellsimp tellsimpafter tentex tenth test_mean test_means_difference test_normality test_proportion test_proportions_difference test_rank_sum test_sign test_signed_rank test_variance test_variance_ratio tex tex1 tex_display texput %th third throw time timedate timer timer_info tldefint tlimit todd_coxeter toeplitz tokens to_lisp topological_sort to_poly to_poly_solve totaldisrep totalfourier totient tpartpol trace tracematrix trace_options transform_sample translate translate_file transpose treefale tree_reduce treillis treinat triangle triangularize trigexpand trigrat trigreduce trigsimp trunc truncate truncated_cube_graph truncated_dodecahedron_graph truncated_icosahedron_graph truncated_tetrahedron_graph tr_warnings_get tube tutte_graph ueivects uforget ultraspherical underlying_graph undiff union unique uniteigenvectors unitp units unit_step unitvector unorder unsum untellrat untimer untrace uppercasep uricci uriemann uvect vandermonde_matrix var var1 var_bernoulli var_beta var_binomial var_chi2 var_continuous_uniform var_discrete_uniform var_exp var_f var_gamma var_general_finite_discrete var_geometric var_gumbel var_hypergeometric var_laplace var_logistic var_lognormal var_negative_binomial var_noncentral_chi2 var_noncentral_student_t var_normal var_pareto var_poisson var_rayleigh var_student_t var_weibull vector vectorpotential vectorsimp verbify vers vertex_coloring vertex_connectivity vertex_degree vertex_distance vertex_eccentricity vertex_in_degree vertex_out_degree vertices vertices_to_cycle vertices_to_path %w weyl wheel_graph wiener_index wigner_3j wigner_6j wigner_9j with_stdout write_binary_data writebyte write_data writefile wronskian xreduce xthru %y Zeilberger zeroequiv zerofor zeromatrix zeromatrixp zeta zgeev zheev zlange zn_add_table zn_carmichael_lambda zn_characteristic_factors zn_determinant zn_factor_generators zn_invert_by_lu zn_log zn_mult_table absboxchar activecontexts adapt_depth additive adim aform algebraic algepsilon algexact aliases allbut all_dotsimp_denoms allocation allsym alphabetic animation antisymmetric arrays askexp assume_pos assume_pos_pred assumescalar asymbol atomgrad atrig1 axes axis_3d axis_bottom axis_left axis_right axis_top azimuth background background_color backsubst berlefact bernstein_explicit besselexpand beta_args_sum_to_integer beta_expand bftorat bftrunc bindtest border boundaries_array box boxchar breakup %c capping cauchysum cbrange cbtics center cflength cframe_flag cnonmet_flag color color_bar color_bar_tics colorbox columns commutative complex cone context contexts contour contour_levels cosnpiflag ctaypov ctaypt ctayswitch ctayvar ct_coords ctorsion_flag ctrgsimp cube current_let_rule_package cylinder data_file_name debugmode decreasing default_let_rule_package delay dependencies derivabbrev derivsubst detout diagmetric diff dim dimensions dispflag display2d|10 display_format_internal distribute_over doallmxops domain domxexpt domxmxops domxnctimes dontfactor doscmxops doscmxplus dot0nscsimp dot0simp dot1simp dotassoc dotconstrules dotdistrib dotexptsimp dotident dotscrules draw_graph_program draw_realpart edge_color edge_coloring edge_partition edge_type edge_width %edispflag elevation %emode endphi endtheta engineering_format_floats enhanced3d %enumer epsilon_lp erfflag erf_representation errormsg error_size error_syms error_type %e_to_numlog eval even evenfun evflag evfun ev_point expandwrt_denom expintexpand expintrep expon expop exptdispflag exptisolate exptsubst facexpand facsum_combine factlim factorflag factorial_expand factors_only fb feature features file_name file_output_append file_search_demo file_search_lisp file_search_maxima|10 file_search_tests file_search_usage file_type_lisp file_type_maxima|10 fill_color fill_density filled_func fixed_vertices flipflag float2bf font font_size fortindent fortspaces fpprec fpprintprec functions gamma_expand gammalim gdet genindex gensumnum GGFCFMAX GGFINFINITY globalsolve gnuplot_command gnuplot_curve_styles gnuplot_curve_titles gnuplot_default_term_command gnuplot_dumb_term_command gnuplot_file_args gnuplot_file_name gnuplot_out_file gnuplot_pdf_term_command gnuplot_pm3d gnuplot_png_term_command gnuplot_postamble gnuplot_preamble gnuplot_ps_term_command gnuplot_svg_term_command gnuplot_term gnuplot_view_args Gosper_in_Zeilberger gradefs grid grid2d grind halfangles head_angle head_both head_length head_type height hypergeometric_representation %iargs ibase icc1 icc2 icounter idummyx ieqnprint ifb ifc1 ifc2 ifg ifgi ifr iframe_bracket_form ifri igeowedge_flag ikt1 ikt2 imaginary inchar increasing infeval infinity inflag infolists inm inmc1 inmc2 intanalysis integer integervalued integrate_use_rootsof integration_constant integration_constant_counter interpolate_color intfaclim ip_grid ip_grid_in irrational isolate_wrt_times iterations itr julia_parameter %k1 %k2 keepfloat key key_pos kinvariant kt label label_alignment label_orientation labels lassociative lbfgs_ncorrections lbfgs_nfeval_max leftjust legend letrat let_rule_packages lfg lg lhospitallim limsubst linear linear_solver linechar linel|10 linenum line_type linewidth line_width linsolve_params linsolvewarn lispdisp listarith listconstvars listdummyvars lmxchar load_pathname loadprint logabs logarc logcb logconcoeffp logexpand lognegint logsimp logx logx_secondary logy logy_secondary logz lriem m1pbranch macroexpansion macros mainvar manual_demo maperror mapprint matrix_element_add matrix_element_mult matrix_element_transpose maxapplydepth maxapplyheight maxima_tempdir|10 maxima_userdir|10 maxnegex MAX_ORD maxposex maxpsifracdenom maxpsifracnum maxpsinegint maxpsiposint maxtayorder mesh_lines_color method mod_big_prime mode_check_errorp mode_checkp mode_check_warnp mod_test mod_threshold modular_linear_solver modulus multiplicative multiplicities myoptions nary negdistrib negsumdispflag newline newtonepsilon newtonmaxiter nextlayerfactor niceindicespref nm nmc noeval nolabels nonegative_lp noninteger nonscalar noun noundisp nouns np npi nticks ntrig numer numer_pbranch obase odd oddfun opacity opproperties opsubst optimprefix optionset orientation origin orthopoly_returns_intervals outative outchar packagefile palette partswitch pdf_file pfeformat phiresolution %piargs piece pivot_count_sx pivot_max_sx plot_format plot_options plot_realpart png_file pochhammer_max_index points pointsize point_size points_joined point_type poislim poisson poly_coefficient_ring poly_elimination_order polyfactor poly_grobner_algorithm poly_grobner_debug poly_monomial_order poly_primary_elimination_order poly_return_term_list poly_secondary_elimination_order poly_top_reduction_only posfun position powerdisp pred prederror primep_number_of_tests product_use_gamma program programmode promote_float_to_bigfloat prompt proportional_axes props psexpand ps_file radexpand radius radsubstflag rassociative ratalgdenom ratchristof ratdenomdivide rateinstein ratepsilon ratfac rational ratmx ratprint ratriemann ratsimpexpons ratvarswitch ratweights ratweyl ratwtlvl real realonly redraw refcheck resolution restart resultant ric riem rmxchar %rnum_list rombergabs rombergit rombergmin rombergtol rootsconmode rootsepsilon run_viewer same_xy same_xyz savedef savefactors scalar scalarmatrixp scale scale_lp setcheck setcheckbreak setval show_edge_color show_edges show_edge_type show_edge_width show_id show_label showtime show_vertex_color show_vertex_size show_vertex_type show_vertices show_weight simp simplified_output simplify_products simpproduct simpsum sinnpiflag solvedecomposes solveexplicit solvefactors solvenullwarn solveradcan solvetrigwarn space sparse sphere spring_embedding_depth sqrtdispflag stardisp startphi starttheta stats_numer stringdisp structures style sublis_apply_lambda subnumsimp sumexpand sumsplitfact surface surface_hide svg_file symmetric tab taylordepth taylor_logexpand taylor_order_coefficients taylor_truncate_polynomials tensorkill terminal testsuite_files thetaresolution timer_devalue title tlimswitch tr track transcompile transform transform_xy translate_fast_arrays transparent transrun tr_array_as_ref tr_bound_function_applyp tr_file_tty_messagesp tr_float_can_branch_complex tr_function_call_default trigexpandplus trigexpandtimes triginverses trigsign trivial_solutions tr_numer tr_optimize_max_loop tr_semicompile tr_state_vars tr_warn_bad_function_calls tr_warn_fexpr tr_warn_meval tr_warn_mode tr_warn_undeclared tr_warn_undefined_variable tstep ttyoff tube_extremes ufg ug %unitexpand unit_vectors uric uriem use_fast_arrays user_preamble usersetunits values vect_cross verbose vertex_color vertex_coloring vertex_partition vertex_size vertex_type view warnings weyl width windowname windowtitle wired_surface wireframe xaxis xaxis_color xaxis_secondary xaxis_type xaxis_width xlabel xlabel_secondary xlength xrange xrange_secondary xtics xtics_axis xtics_rotate xtics_rotate_secondary xtics_secondary xtics_secondary_axis xu_grid x_voxel xy_file xyplane xy_scale yaxis yaxis_color yaxis_secondary yaxis_type yaxis_width ylabel ylabel_secondary ylength yrange yrange_secondary ytics ytics_axis ytics_rotate ytics_rotate_secondary ytics_secondary ytics_secondary_axis yv_grid y_voxel yx_ratio zaxis zaxis_color zaxis_type zaxis_width zeroa zerob zerobern zeta%pi zlabel zlabel_rotate zlength zmin zn_primroot_limit zn_primroot_pretest",symbol:"_ __ %|0 %%|0"},contains:[{className:"comment",begin:"/\\*",end:"\\*/",contains:["self"]},m.QUOTE_STRING_MODE,{className:"number",relevance:0,variants:[{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Ee][-+]?\\d+\\b"},{begin:"\\b(\\d+|\\d+\\.|\\.\\d+|\\d+\\.\\d+)[Bb][-+]?\\d+\\b",relevance:10},{begin:"\\b(\\.\\d+|\\d+\\.\\d+)\\b"},{begin:"\\b(\\d+|0[0-9A-Za-z]+)\\.?\\b"}]}],illegal:/@/}}return maxima_1=k,maxima_1}var mel_1,hasRequiredMel;function requireMel(){if(hasRequiredMel)return mel_1;hasRequiredMel=1;function k(m){return{name:"MEL",keywords:"int float string vector matrix if else switch case default while do for in break continue global proc return about abs addAttr addAttributeEditorNodeHelp addDynamic addNewShelfTab addPP addPanelCategory addPrefixToName advanceToNextDrivenKey affectedNet affects aimConstraint air alias aliasAttr align alignCtx alignCurve alignSurface allViewFit ambientLight angle angleBetween animCone animCurveEditor animDisplay animView annotate appendStringArray applicationName applyAttrPreset applyTake arcLenDimContext arcLengthDimension arclen arrayMapper art3dPaintCtx artAttrCtx artAttrPaintVertexCtx artAttrSkinPaintCtx artAttrTool artBuildPaintMenu artFluidAttrCtx artPuttyCtx artSelectCtx artSetPaintCtx artUserPaintCtx assignCommand assignInputDevice assignViewportFactories attachCurve attachDeviceAttr attachSurface attrColorSliderGrp attrCompatibility attrControlGrp attrEnumOptionMenu attrEnumOptionMenuGrp attrFieldGrp attrFieldSliderGrp attrNavigationControlGrp attrPresetEditWin attributeExists attributeInfo attributeMenu attributeQuery autoKeyframe autoPlace bakeClip bakeFluidShading bakePartialHistory bakeResults bakeSimulation basename basenameEx batchRender bessel bevel bevelPlus binMembership bindSkin blend2 blendShape blendShapeEditor blendShapePanel blendTwoAttr blindDataType boneLattice boundary boxDollyCtx boxZoomCtx bufferCurve buildBookmarkMenu buildKeyframeMenu button buttonManip CBG cacheFile cacheFileCombine cacheFileMerge cacheFileTrack camera cameraView canCreateManip canvas capitalizeString catch catchQuiet ceil changeSubdivComponentDisplayLevel changeSubdivRegion channelBox character characterMap characterOutlineEditor characterize chdir checkBox checkBoxGrp checkDefaultRenderGlobals choice circle circularFillet clamp clear clearCache clip clipEditor clipEditorCurrentTimeCtx clipSchedule clipSchedulerOutliner clipTrimBefore closeCurve closeSurface cluster cmdFileOutput cmdScrollFieldExecuter cmdScrollFieldReporter cmdShell coarsenSubdivSelectionList collision color colorAtPoint colorEditor colorIndex colorIndexSliderGrp colorSliderButtonGrp colorSliderGrp columnLayout commandEcho commandLine commandPort compactHairSystem componentEditor compositingInterop computePolysetVolume condition cone confirmDialog connectAttr connectControl connectDynamic connectJoint connectionInfo constrain constrainValue constructionHistory container containsMultibyte contextInfo control convertFromOldLayers convertIffToPsd convertLightmap convertSolidTx convertTessellation convertUnit copyArray copyFlexor copyKey copySkinWeights cos cpButton cpCache cpClothSet cpCollision cpConstraint cpConvClothToMesh cpForces cpGetSolverAttr cpPanel cpProperty cpRigidCollisionFilter cpSeam cpSetEdit cpSetSolverAttr cpSolver cpSolverTypes cpTool cpUpdateClothUVs createDisplayLayer createDrawCtx createEditor createLayeredPsdFile createMotionField createNewShelf createNode createRenderLayer createSubdivRegion cross crossProduct ctxAbort ctxCompletion ctxEditMode ctxTraverse currentCtx currentTime currentTimeCtx currentUnit curve curveAddPtCtx curveCVCtx curveEPCtx curveEditorCtx curveIntersect curveMoveEPCtx curveOnSurface curveSketchCtx cutKey cycleCheck cylinder dagPose date defaultLightListCheckBox defaultNavigation defineDataServer defineVirtualDevice deformer deg_to_rad delete deleteAttr deleteShadingGroupsAndMaterials deleteShelfTab deleteUI deleteUnusedBrushes delrandstr detachCurve detachDeviceAttr detachSurface deviceEditor devicePanel dgInfo dgdirty dgeval dgtimer dimWhen directKeyCtx directionalLight dirmap dirname disable disconnectAttr disconnectJoint diskCache displacementToPoly displayAffected displayColor displayCull displayLevelOfDetail displayPref displayRGBColor displaySmoothness displayStats displayString displaySurface distanceDimContext distanceDimension doBlur dolly dollyCtx dopeSheetEditor dot dotProduct doubleProfileBirailSurface drag dragAttrContext draggerContext dropoffLocator duplicate duplicateCurve duplicateSurface dynCache dynControl dynExport dynExpression dynGlobals dynPaintEditor dynParticleCtx dynPref dynRelEdPanel dynRelEditor dynamicLoad editAttrLimits editDisplayLayerGlobals editDisplayLayerMembers editRenderLayerAdjustment editRenderLayerGlobals editRenderLayerMembers editor editorTemplate effector emit emitter enableDevice encodeString endString endsWith env equivalent equivalentTol erf error eval evalDeferred evalEcho event exactWorldBoundingBox exclusiveLightCheckBox exec executeForEachObject exists exp expression expressionEditorListen extendCurve extendSurface extrude fcheck fclose feof fflush fgetline fgetword file fileBrowserDialog fileDialog fileExtension fileInfo filetest filletCurve filter filterCurve filterExpand filterStudioImport findAllIntersections findAnimCurves findKeyframe findMenuItem findRelatedSkinCluster finder firstParentOf fitBspline flexor floatEq floatField floatFieldGrp floatScrollBar floatSlider floatSlider2 floatSliderButtonGrp floatSliderGrp floor flow fluidCacheInfo fluidEmitter fluidVoxelInfo flushUndo fmod fontDialog fopen formLayout format fprint frameLayout fread freeFormFillet frewind fromNativePath fwrite gamma gauss geometryConstraint getApplicationVersionAsFloat getAttr getClassification getDefaultBrush getFileList getFluidAttr getInputDeviceRange getMayaPanelTypes getModifiers getPanel getParticleAttr getPluginResource getenv getpid glRender glRenderEditor globalStitch gmatch goal gotoBindPose grabColor gradientControl gradientControlNoAttr graphDollyCtx graphSelectContext graphTrackCtx gravity grid gridLayout group groupObjectsByName HfAddAttractorToAS HfAssignAS HfBuildEqualMap HfBuildFurFiles HfBuildFurImages HfCancelAFR HfConnectASToHF HfCreateAttractor HfDeleteAS HfEditAS HfPerformCreateAS HfRemoveAttractorFromAS HfSelectAttached HfSelectAttractors HfUnAssignAS hardenPointCurve hardware hardwareRenderPanel headsUpDisplay headsUpMessage help helpLine hermite hide hilite hitTest hotBox hotkey hotkeyCheck hsv_to_rgb hudButton hudSlider hudSliderButton hwReflectionMap hwRender hwRenderLoad hyperGraph hyperPanel hyperShade hypot iconTextButton iconTextCheckBox iconTextRadioButton iconTextRadioCollection iconTextScrollList iconTextStaticLabel ikHandle ikHandleCtx ikHandleDisplayScale ikSolver ikSplineHandleCtx ikSystem ikSystemInfo ikfkDisplayMethod illustratorCurves image imfPlugins inheritTransform insertJoint insertJointCtx insertKeyCtx insertKnotCurve insertKnotSurface instance instanceable instancer intField intFieldGrp intScrollBar intSlider intSliderGrp interToUI internalVar intersect iprEngine isAnimCurve isConnected isDirty isParentOf isSameObject isTrue isValidObjectName isValidString isValidUiName isolateSelect itemFilter itemFilterAttr itemFilterRender itemFilterType joint jointCluster jointCtx jointDisplayScale jointLattice keyTangent keyframe keyframeOutliner keyframeRegionCurrentTimeCtx keyframeRegionDirectKeyCtx keyframeRegionDollyCtx keyframeRegionInsertKeyCtx keyframeRegionMoveKeyCtx keyframeRegionScaleKeyCtx keyframeRegionSelectKeyCtx keyframeRegionSetKeyCtx keyframeRegionTrackCtx keyframeStats lassoContext lattice latticeDeformKeyCtx launch launchImageEditor layerButton layeredShaderPort layeredTexturePort layout layoutDialog lightList lightListEditor lightListPanel lightlink lineIntersection linearPrecision linstep listAnimatable listAttr listCameras listConnections listDeviceAttachments listHistory listInputDeviceAxes listInputDeviceButtons listInputDevices listMenuAnnotation listNodeTypes listPanelCategories listRelatives listSets listTransforms listUnselected listerEditor loadFluid loadNewShelf loadPlugin loadPluginLanguageResources loadPrefObjects localizedPanelLabel lockNode loft log longNameOf lookThru ls lsThroughFilter lsType lsUI Mayatomr mag makeIdentity makeLive makePaintable makeRoll makeSingleSurface makeTubeOn makebot manipMoveContext manipMoveLimitsCtx manipOptions manipRotateContext manipRotateLimitsCtx manipScaleContext manipScaleLimitsCtx marker match max memory menu menuBarLayout menuEditor menuItem menuItemToShelf menuSet menuSetPref messageLine min minimizeApp mirrorJoint modelCurrentTimeCtx modelEditor modelPanel mouse movIn movOut move moveIKtoFK moveKeyCtx moveVertexAlongDirection multiProfileBirailSurface mute nParticle nameCommand nameField namespace namespaceInfo newPanelItems newton nodeCast nodeIconButton nodeOutliner nodePreset nodeType noise nonLinear normalConstraint normalize nurbsBoolean nurbsCopyUVSet nurbsCube nurbsEditUV nurbsPlane nurbsSelect nurbsSquare nurbsToPoly nurbsToPolygonsPref nurbsToSubdiv nurbsToSubdivPref nurbsUVSet nurbsViewDirectionVector objExists objectCenter objectLayer objectType objectTypeUI obsoleteProc oceanNurbsPreviewPlane offsetCurve offsetCurveOnSurface offsetSurface openGLExtension openMayaPref optionMenu optionMenuGrp optionVar orbit orbitCtx orientConstraint outlinerEditor outlinerPanel overrideModifier paintEffectsDisplay pairBlend palettePort paneLayout panel panelConfiguration panelHistory paramDimContext paramDimension paramLocator parent parentConstraint particle particleExists particleInstancer particleRenderInfo partition pasteKey pathAnimation pause pclose percent performanceOptions pfxstrokes pickWalk picture pixelMove planarSrf plane play playbackOptions playblast plugAttr plugNode pluginInfo pluginResourceUtil pointConstraint pointCurveConstraint pointLight pointMatrixMult pointOnCurve pointOnSurface pointPosition poleVectorConstraint polyAppend polyAppendFacetCtx polyAppendVertex polyAutoProjection polyAverageNormal polyAverageVertex polyBevel polyBlendColor polyBlindData polyBoolOp polyBridgeEdge polyCacheMonitor polyCheck polyChipOff polyClipboard polyCloseBorder polyCollapseEdge polyCollapseFacet polyColorBlindData polyColorDel polyColorPerVertex polyColorSet polyCompare polyCone polyCopyUV polyCrease polyCreaseCtx polyCreateFacet polyCreateFacetCtx polyCube polyCut polyCutCtx polyCylinder polyCylindricalProjection polyDelEdge polyDelFacet polyDelVertex polyDuplicateAndConnect polyDuplicateEdge polyEditUV polyEditUVShell polyEvaluate polyExtrudeEdge polyExtrudeFacet polyExtrudeVertex polyFlipEdge polyFlipUV polyForceUV polyGeoSampler polyHelix polyInfo polyInstallAction polyLayoutUV polyListComponentConversion polyMapCut polyMapDel polyMapSew polyMapSewMove polyMergeEdge polyMergeEdgeCtx polyMergeFacet polyMergeFacetCtx polyMergeUV polyMergeVertex polyMirrorFace polyMoveEdge polyMoveFacet polyMoveFacetUV polyMoveUV polyMoveVertex polyNormal polyNormalPerVertex polyNormalizeUV polyOptUvs polyOptions polyOutput polyPipe polyPlanarProjection polyPlane polyPlatonicSolid polyPoke polyPrimitive polyPrism polyProjection polyPyramid polyQuad polyQueryBlindData polyReduce polySelect polySelectConstraint polySelectConstraintMonitor polySelectCtx polySelectEditCtx polySeparate polySetToFaceNormal polySewEdge polyShortestPathCtx polySmooth polySoftEdge polySphere polySphericalProjection polySplit polySplitCtx polySplitEdge polySplitRing polySplitVertex polyStraightenUVBorder polySubdivideEdge polySubdivideFacet polyToSubdiv polyTorus polyTransfer polyTriangulate polyUVSet polyUnite polyWedgeFace popen popupMenu pose pow preloadRefEd print progressBar progressWindow projFileViewer projectCurve projectTangent projectionContext projectionManip promptDialog propModCtx propMove psdChannelOutliner psdEditTextureFile psdExport psdTextureFile putenv pwd python querySubdiv quit rad_to_deg radial radioButton radioButtonGrp radioCollection radioMenuItemCollection rampColorPort rand randomizeFollicles randstate rangeControl readTake rebuildCurve rebuildSurface recordAttr recordDevice redo reference referenceEdit referenceQuery refineSubdivSelectionList refresh refreshAE registerPluginResource rehash reloadImage removeJoint removeMultiInstance removePanelCategory rename renameAttr renameSelectionList renameUI render renderGlobalsNode renderInfo renderLayerButton renderLayerParent renderLayerPostProcess renderLayerUnparent renderManip renderPartition renderQualityNode renderSettings renderThumbnailUpdate renderWindowEditor renderWindowSelectContext renderer reorder reorderDeformers requires reroot resampleFluid resetAE resetPfxToPolyCamera resetTool resolutionNode retarget reverseCurve reverseSurface revolve rgb_to_hsv rigidBody rigidSolver roll rollCtx rootOf rot rotate rotationInterpolation roundConstantRadius rowColumnLayout rowLayout runTimeCommand runup sampleImage saveAllShelves saveAttrPreset saveFluid saveImage saveInitialState saveMenu savePrefObjects savePrefs saveShelf saveToolSettings scale scaleBrushBrightness scaleComponents scaleConstraint scaleKey scaleKeyCtx sceneEditor sceneUIReplacement scmh scriptCtx scriptEditorInfo scriptJob scriptNode scriptTable scriptToShelf scriptedPanel scriptedPanelType scrollField scrollLayout sculpt searchPathArray seed selLoadSettings select selectContext selectCurveCV selectKey selectKeyCtx selectKeyframeRegionCtx selectMode selectPref selectPriority selectType selectedNodes selectionConnection separator setAttr setAttrEnumResource setAttrMapping setAttrNiceNameResource setConstraintRestPosition setDefaultShadingGroup setDrivenKeyframe setDynamic setEditCtx setEditor setFluidAttr setFocus setInfinity setInputDeviceMapping setKeyCtx setKeyPath setKeyframe setKeyframeBlendshapeTargetWts setMenuMode setNodeNiceNameResource setNodeTypeFlag setParent setParticleAttr setPfxToPolyCamera setPluginResource setProject setStampDensity setStartupMessage setState setToolTo setUITemplate setXformManip sets shadingConnection shadingGeometryRelCtx shadingLightRelCtx shadingNetworkCompare shadingNode shapeCompare shelfButton shelfLayout shelfTabLayout shellField shortNameOf showHelp showHidden showManipCtx showSelectionInTitle showShadingGroupAttrEditor showWindow sign simplify sin singleProfileBirailSurface size sizeBytes skinCluster skinPercent smoothCurve smoothTangentSurface smoothstep snap2to2 snapKey snapMode snapTogetherCtx snapshot soft softMod softModCtx sort sound soundControl source spaceLocator sphere sphrand spotLight spotLightPreviewPort spreadSheetEditor spring sqrt squareSurface srtContext stackTrace startString startsWith stitchAndExplodeShell stitchSurface stitchSurfacePoints strcmp stringArrayCatenate stringArrayContains stringArrayCount stringArrayInsertAtIndex stringArrayIntersector stringArrayRemove stringArrayRemoveAtIndex stringArrayRemoveDuplicates stringArrayRemoveExact stringArrayToString stringToStringArray strip stripPrefixFromName stroke subdAutoProjection subdCleanTopology subdCollapse subdDuplicateAndConnect subdEditUV subdListComponentConversion subdMapCut subdMapSewMove subdMatchTopology subdMirror subdToBlind subdToPoly subdTransferUVsToCache subdiv subdivCrease subdivDisplaySmoothness substitute substituteAllString substituteGeometry substring surface surfaceSampler surfaceShaderList swatchDisplayPort switchTable symbolButton symbolCheckBox sysFile system tabLayout tan tangentConstraint texLatticeDeformContext texManipContext texMoveContext texMoveUVShellContext texRotateContext texScaleContext texSelectContext texSelectShortestPathCtx texSmudgeUVContext texWinToolCtx text textCurves textField textFieldButtonGrp textFieldGrp textManip textScrollList textToShelf textureDisplacePlane textureHairColor texturePlacementContext textureWindow threadCount threePointArcCtx timeControl timePort timerX toNativePath toggle toggleAxis toggleWindowVisibility tokenize tokenizeList tolerance tolower toolButton toolCollection toolDropped toolHasOptions toolPropertyWindow torus toupper trace track trackCtx transferAttributes transformCompare transformLimits translator trim trunc truncateFluidCache truncateHairCache tumble tumbleCtx turbulence twoPointArcCtx uiRes uiTemplate unassignInputDevice undo undoInfo ungroup uniform unit unloadPlugin untangleUV untitledFileName untrim upAxis updateAE userCtx uvLink uvSnapshot validateShelfName vectorize view2dToolCtx viewCamera viewClipPlane viewFit viewHeadOn viewLookAt viewManip viewPlace viewSet visor volumeAxis vortex waitCursor warning webBrowser webBrowserPrefs whatIs window windowPref wire wireContext workspace wrinkle wrinkleContext writeTake xbmLangPathList xform",illegal:""},{begin:"<=",relevance:0},{begin:"=>",relevance:0},{begin:"/\\\\"},{begin:"\\\\/"}]},{className:"built_in",variants:[{begin:":-\\|-->"},{begin:"=",relevance:0}]},G,m.C_BLOCK_COMMENT_MODE,V,m.NUMBER_MODE,q,$,{begin:/:-/},{begin:/\.$/}]}}return mercury_1=k,mercury_1}var mipsasm_1,hasRequiredMipsasm;function requireMipsasm(){if(hasRequiredMipsasm)return mipsasm_1;hasRequiredMipsasm=1;function k(m){return{name:"MIPS Assembly",case_insensitive:!0,aliases:["mips"],keywords:{$pattern:"\\.?"+m.IDENT_RE,meta:".2byte .4byte .align .ascii .asciz .balign .byte .code .data .else .end .endif .endm .endr .equ .err .exitm .extern .global .hword .if .ifdef .ifndef .include .irp .long .macro .rept .req .section .set .skip .space .text .word .ltorg ",built_in:"$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $10 $11 $12 $13 $14 $15 $16 $17 $18 $19 $20 $21 $22 $23 $24 $25 $26 $27 $28 $29 $30 $31 zero at v0 v1 a0 a1 a2 a3 a4 a5 a6 a7 t0 t1 t2 t3 t4 t5 t6 t7 t8 t9 s0 s1 s2 s3 s4 s5 s6 s7 s8 k0 k1 gp sp fp ra $f0 $f1 $f2 $f2 $f4 $f5 $f6 $f7 $f8 $f9 $f10 $f11 $f12 $f13 $f14 $f15 $f16 $f17 $f18 $f19 $f20 $f21 $f22 $f23 $f24 $f25 $f26 $f27 $f28 $f29 $f30 $f31 Context Random EntryLo0 EntryLo1 Context PageMask Wired EntryHi HWREna BadVAddr Count Compare SR IntCtl SRSCtl SRSMap Cause EPC PRId EBase Config Config1 Config2 Config3 LLAddr Debug DEPC DESAVE CacheErr ECC ErrorEPC TagLo DataLo TagHi DataHi WatchLo WatchHi PerfCtl PerfCnt "},contains:[{className:"keyword",begin:"\\b(addi?u?|andi?|b(al)?|beql?|bgez(al)?l?|bgtzl?|blezl?|bltz(al)?l?|bnel?|cl[oz]|divu?|ext|ins|j(al)?|jalr(\\.hb)?|jr(\\.hb)?|lbu?|lhu?|ll|lui|lw[lr]?|maddu?|mfhi|mflo|movn|movz|move|msubu?|mthi|mtlo|mul|multu?|nop|nor|ori?|rotrv?|sb|sc|se[bh]|sh|sllv?|slti?u?|srav?|srlv?|subu?|sw[lr]?|xori?|wsbh|abs\\.[sd]|add\\.[sd]|alnv.ps|bc1[ft]l?|c\\.(s?f|un|u?eq|[ou]lt|[ou]le|ngle?|seq|l[et]|ng[et])\\.[sd]|(ceil|floor|round|trunc)\\.[lw]\\.[sd]|cfc1|cvt\\.d\\.[lsw]|cvt\\.l\\.[dsw]|cvt\\.ps\\.s|cvt\\.s\\.[dlw]|cvt\\.s\\.p[lu]|cvt\\.w\\.[dls]|div\\.[ds]|ldx?c1|luxc1|lwx?c1|madd\\.[sd]|mfc1|mov[fntz]?\\.[ds]|msub\\.[sd]|mth?c1|mul\\.[ds]|neg\\.[ds]|nmadd\\.[ds]|nmsub\\.[ds]|p[lu][lu]\\.ps|recip\\.fmt|r?sqrt\\.[ds]|sdx?c1|sub\\.[ds]|suxc1|swx?c1|break|cache|d?eret|[de]i|ehb|mfc0|mtc0|pause|prefx?|rdhwr|rdpgpr|sdbbp|ssnop|synci?|syscall|teqi?|tgei?u?|tlb(p|r|w[ir])|tlti?u?|tnei?|wait|wrpgpr)",end:"\\s"},m.COMMENT("[;#](?!\\s*$)","$"),m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"[^\\\\]'",relevance:0},{className:"title",begin:"\\|",end:"\\|",illegal:"\\n",relevance:0},{className:"number",variants:[{begin:"0x[0-9a-f]+"},{begin:"\\b-?\\d+"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[a-z_\\.\\$][a-z0-9_\\.\\$]+:"},{begin:"^\\s*[0-9]+:"},{begin:"[0-9]+[bf]"}],relevance:0}],illegal:/\//}}return mipsasm_1=k,mipsasm_1}var mizar_1,hasRequiredMizar;function requireMizar(){if(hasRequiredMizar)return mizar_1;hasRequiredMizar=1;function k(m){return{name:"Mizar",keywords:"environ vocabularies notations constructors definitions registrations theorems schemes requirements begin end definition registration cluster existence pred func defpred deffunc theorem proof let take assume then thus hence ex for st holds consider reconsider such that and in provided of as from be being by means equals implies iff redefine define now not or attr is mode suppose per cases set thesis contradiction scheme reserve struct correctness compatibility coherence symmetry assymetry reflexivity irreflexivity connectedness uniqueness commutativity idempotence involutiveness projectivity",contains:[m.COMMENT("::","$")]}}return mizar_1=k,mizar_1}var perl_1,hasRequiredPerl;function requirePerl(){if(hasRequiredPerl)return perl_1;hasRequiredPerl=1;function k(m){const M=m.regex,G=["abs","accept","alarm","and","atan2","bind","binmode","bless","break","caller","chdir","chmod","chomp","chop","chown","chr","chroot","close","closedir","connect","continue","cos","crypt","dbmclose","dbmopen","defined","delete","die","do","dump","each","else","elsif","endgrent","endhostent","endnetent","endprotoent","endpwent","endservent","eof","eval","exec","exists","exit","exp","fcntl","fileno","flock","for","foreach","fork","format","formline","getc","getgrent","getgrgid","getgrnam","gethostbyaddr","gethostbyname","gethostent","getlogin","getnetbyaddr","getnetbyname","getnetent","getpeername","getpgrp","getpriority","getprotobyname","getprotobynumber","getprotoent","getpwent","getpwnam","getpwuid","getservbyname","getservbyport","getservent","getsockname","getsockopt","given","glob","gmtime","goto","grep","gt","hex","if","index","int","ioctl","join","keys","kill","last","lc","lcfirst","length","link","listen","local","localtime","log","lstat","lt","ma","map","mkdir","msgctl","msgget","msgrcv","msgsnd","my","ne","next","no","not","oct","open","opendir","or","ord","our","pack","package","pipe","pop","pos","print","printf","prototype","push","q|0","qq","quotemeta","qw","qx","rand","read","readdir","readline","readlink","readpipe","recv","redo","ref","rename","require","reset","return","reverse","rewinddir","rindex","rmdir","say","scalar","seek","seekdir","select","semctl","semget","semop","send","setgrent","sethostent","setnetent","setpgrp","setpriority","setprotoent","setpwent","setservent","setsockopt","shift","shmctl","shmget","shmread","shmwrite","shutdown","sin","sleep","socket","socketpair","sort","splice","split","sprintf","sqrt","srand","stat","state","study","sub","substr","symlink","syscall","sysopen","sysread","sysseek","system","syswrite","tell","telldir","tie","tied","time","times","tr","truncate","uc","ucfirst","umask","undef","unless","unlink","unpack","unshift","untie","until","use","utime","values","vec","wait","waitpid","wantarray","warn","when","while","write","x|0","xor","y|0"],V=/[dualxmsipngr]{0,12}/,q={$pattern:/[\w.]+/,keyword:G.join(" ")},$={className:"subst",begin:"[$@]\\{",end:"\\}",keywords:q},D={begin:/->\{/,end:/\}/},B={variants:[{begin:/\$\d/},{begin:M.concat(/[$%@](\^\w\b|#\w+(::\w+)*|\{\w+\}|\w+(::\w*)*)/,"(?![A-Za-z])(?![@$%])")},{begin:/[$%@][^\s\w{]/,relevance:0}]},R=[m.BACKSLASH_ESCAPE,$,B],U=[/!/,/\//,/\|/,/\?/,/'/,/"/,/#/],K=(ae,ie,he="\\1")=>{const J=he==="\\1"?he:M.concat(he,ie);return M.concat(M.concat("(?:",ae,")"),ie,/(?:\\.|[^\\\/])*?/,J,/(?:\\.|[^\\\/])*?/,he,V)},z=(ae,ie,he)=>M.concat(M.concat("(?:",ae,")"),ie,/(?:\\.|[^\\\/])*?/,he,V),e=[B,m.HASH_COMMENT_MODE,m.COMMENT(/^=\w/,/=cut/,{endsWithParent:!0}),D,{className:"string",contains:R,variants:[{begin:"q[qwxr]?\\s*\\(",end:"\\)",relevance:5},{begin:"q[qwxr]?\\s*\\[",end:"\\]",relevance:5},{begin:"q[qwxr]?\\s*\\{",end:"\\}",relevance:5},{begin:"q[qwxr]?\\s*\\|",end:"\\|",relevance:5},{begin:"q[qwxr]?\\s*<",end:">",relevance:5},{begin:"qw\\s+q",end:"q",relevance:5},{begin:"'",end:"'",contains:[m.BACKSLASH_ESCAPE]},{begin:'"',end:'"'},{begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE]},{begin:/\{\w+\}/,relevance:0},{begin:"-?\\w+\\s*=>",relevance:0}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},{begin:"(\\/\\/|"+m.RE_STARTERS_RE+"|\\b(split|return|print|reverse|grep)\\b)\\s*",keywords:"split return print reverse grep",relevance:0,contains:[m.HASH_COMMENT_MODE,{className:"regexp",variants:[{begin:K("s|tr|y",M.either(...U,{capture:!0}))},{begin:K("s|tr|y","\\(","\\)")},{begin:K("s|tr|y","\\[","\\]")},{begin:K("s|tr|y","\\{","\\}")}],relevance:2},{className:"regexp",variants:[{begin:/(m|qr)\/\//,relevance:0},{begin:z("(?:m|qr)?",/\//,/\//)},{begin:z("m|qr",M.either(...U,{capture:!0}),/\1/)},{begin:z("m|qr",/\(/,/\)/)},{begin:z("m|qr",/\[/,/\]/)},{begin:z("m|qr",/\{/,/\}/)}]}]},{className:"function",beginKeywords:"sub",end:"(\\s*\\(.*?\\))?[;{]",excludeEnd:!0,relevance:5,contains:[m.TITLE_MODE]},{begin:"-\\w\\b",relevance:0},{begin:"^__DATA__$",end:"^__END__$",subLanguage:"mojolicious",contains:[{begin:"^@@.*",end:"$",className:"comment"}]}];return $.contains=e,D.contains=e,{name:"Perl",aliases:["pl","pm"],keywords:q,contains:e}}return perl_1=k,perl_1}var mojolicious_1,hasRequiredMojolicious;function requireMojolicious(){if(hasRequiredMojolicious)return mojolicious_1;hasRequiredMojolicious=1;function k(m){return{name:"Mojolicious",subLanguage:"xml",contains:[{className:"meta",begin:"^__(END|DATA)__$"},{begin:"^\\s*%{1,2}={0,2}",end:"$",subLanguage:"perl"},{begin:"<%{1,2}={0,2}",end:"={0,1}%>",subLanguage:"perl",excludeBegin:!0,excludeEnd:!0}]}}return mojolicious_1=k,mojolicious_1}var monkey_1,hasRequiredMonkey;function requireMonkey(){if(hasRequiredMonkey)return monkey_1;hasRequiredMonkey=1;function k(m){const M={className:"number",relevance:0,variants:[{begin:"[$][a-fA-F0-9]+"},m.NUMBER_MODE]},G={variants:[{match:[/(function|method)/,/\s+/,m.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.function"}},V={variants:[{match:[/(class|interface|extends|implements)/,/\s+/,m.UNDERSCORE_IDENT_RE]}],scope:{1:"keyword",3:"title.class"}};return{name:"Monkey",case_insensitive:!0,keywords:{keyword:["public","private","property","continue","exit","extern","new","try","catch","eachin","not","abstract","final","select","case","default","const","local","global","field","end","if","then","else","elseif","endif","while","wend","repeat","until","forever","for","to","step","next","return","module","inline","throw","import","and","or","shl","shr","mod"],built_in:["DebugLog","DebugStop","Error","Print","ACos","ACosr","ASin","ASinr","ATan","ATan2","ATan2r","ATanr","Abs","Abs","Ceil","Clamp","Clamp","Cos","Cosr","Exp","Floor","Log","Max","Max","Min","Min","Pow","Sgn","Sgn","Sin","Sinr","Sqrt","Tan","Tanr","Seed","PI","HALFPI","TWOPI"],literal:["true","false","null"]},illegal:/\/\*/,contains:[m.COMMENT("#rem","#end"),m.COMMENT("'","$",{relevance:0}),G,V,{className:"variable.language",begin:/\b(self|super)\b/},{className:"meta",begin:/\s*#/,end:"$",keywords:{keyword:"if else elseif endif end then"}},{match:[/^\s*/,/strict\b/],scope:{2:"meta"}},{beginKeywords:"alias",end:"=",contains:[m.UNDERSCORE_TITLE_MODE]},m.QUOTE_STRING_MODE,M]}}return monkey_1=k,monkey_1}var moonscript_1,hasRequiredMoonscript;function requireMoonscript(){if(hasRequiredMoonscript)return moonscript_1;hasRequiredMoonscript=1;function k(m){const M={keyword:"if then not for in while do return else elseif break continue switch and or unless when class extends super local import export from using",literal:"true false nil",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},G="[A-Za-z$_][0-9A-Za-z$_]*",V={className:"subst",begin:/#\{/,end:/\}/,keywords:M},q=[m.inherit(m.C_NUMBER_MODE,{starts:{end:"(\\s*/)?",relevance:0}}),{className:"string",variants:[{begin:/'/,end:/'/,contains:[m.BACKSLASH_ESCAPE]},{begin:/"/,end:/"/,contains:[m.BACKSLASH_ESCAPE,V]}]},{className:"built_in",begin:"@__"+m.IDENT_RE},{begin:"@"+m.IDENT_RE},{begin:m.IDENT_RE+"\\\\"+m.IDENT_RE}];V.contains=q;const $=m.inherit(m.TITLE_MODE,{begin:G}),D="(\\(.*\\)\\s*)?\\B[-=]>",B={className:"params",begin:"\\([^\\(]",returnBegin:!0,contains:[{begin:/\(/,end:/\)/,keywords:M,contains:["self"].concat(q)}]};return{name:"MoonScript",aliases:["moon"],keywords:M,illegal:/\/\*/,contains:q.concat([m.COMMENT("--","$"),{className:"function",begin:"^\\s*"+G+"\\s*=\\s*"+D,end:"[-=]>",returnBegin:!0,contains:[$,B]},{begin:/[\(,:=]\s*/,relevance:0,contains:[{className:"function",begin:D,end:"[-=]>",returnBegin:!0,contains:[B]}]},{className:"class",beginKeywords:"class",end:"$",illegal:/[:="\[\]]/,contains:[{beginKeywords:"extends",endsWithParent:!0,illegal:/[:="\[\]]/,contains:[$]},$]},{className:"name",begin:G+":",end:":",returnBegin:!0,returnEnd:!0,relevance:0}])}}return moonscript_1=k,moonscript_1}var n1ql_1,hasRequiredN1ql;function requireN1ql(){if(hasRequiredN1ql)return n1ql_1;hasRequiredN1ql=1;function k(m){return{name:"N1QL",case_insensitive:!0,contains:[{beginKeywords:"build create index delete drop explain infer|10 insert merge prepare select update upsert|10",end:/;/,keywords:{keyword:["all","alter","analyze","and","any","array","as","asc","begin","between","binary","boolean","break","bucket","build","by","call","case","cast","cluster","collate","collection","commit","connect","continue","correlate","cover","create","database","dataset","datastore","declare","decrement","delete","derived","desc","describe","distinct","do","drop","each","element","else","end","every","except","exclude","execute","exists","explain","fetch","first","flatten","for","force","from","function","grant","group","gsi","having","if","ignore","ilike","in","include","increment","index","infer","inline","inner","insert","intersect","into","is","join","key","keys","keyspace","known","last","left","let","letting","like","limit","lsm","map","mapping","matched","materialized","merge","minus","namespace","nest","not","number","object","offset","on","option","or","order","outer","over","parse","partition","password","path","pool","prepare","primary","private","privilege","procedure","public","raw","realm","reduce","rename","return","returning","revoke","right","role","rollback","satisfies","schema","select","self","semi","set","show","some","start","statistics","string","system","then","to","transaction","trigger","truncate","under","union","unique","unknown","unnest","unset","update","upsert","use","user","using","validate","value","valued","values","via","view","when","where","while","with","within","work","xor"],literal:["true","false","null","missing|5"],built_in:["array_agg","array_append","array_concat","array_contains","array_count","array_distinct","array_ifnull","array_length","array_max","array_min","array_position","array_prepend","array_put","array_range","array_remove","array_repeat","array_replace","array_reverse","array_sort","array_sum","avg","count","max","min","sum","greatest","least","ifmissing","ifmissingornull","ifnull","missingif","nullif","ifinf","ifnan","ifnanorinf","naninf","neginfif","posinfif","clock_millis","clock_str","date_add_millis","date_add_str","date_diff_millis","date_diff_str","date_part_millis","date_part_str","date_trunc_millis","date_trunc_str","duration_to_str","millis","str_to_millis","millis_to_str","millis_to_utc","millis_to_zone_name","now_millis","now_str","str_to_duration","str_to_utc","str_to_zone_name","decode_json","encode_json","encoded_size","poly_length","base64","base64_encode","base64_decode","meta","uuid","abs","acos","asin","atan","atan2","ceil","cos","degrees","e","exp","ln","log","floor","pi","power","radians","random","round","sign","sin","sqrt","tan","trunc","object_length","object_names","object_pairs","object_inner_pairs","object_values","object_inner_values","object_add","object_put","object_remove","object_unwrap","regexp_contains","regexp_like","regexp_position","regexp_replace","contains","initcap","length","lower","ltrim","position","repeat","replace","rtrim","split","substr","title","trim","upper","isarray","isatom","isboolean","isnumber","isobject","isstring","type","toarray","toatom","toboolean","tonumber","toobject","tostring"]},contains:[{className:"string",begin:"'",end:"'",contains:[m.BACKSLASH_ESCAPE]},{className:"string",begin:'"',end:'"',contains:[m.BACKSLASH_ESCAPE]},{className:"symbol",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE]},m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE]},m.C_BLOCK_COMMENT_MODE]}}return n1ql_1=k,n1ql_1}var nestedtext_1,hasRequiredNestedtext;function requireNestedtext(){if(hasRequiredNestedtext)return nestedtext_1;hasRequiredNestedtext=1;function k(m){const M={match:[/^\s*(?=\S)/,/[^:]+/,/:\s*/,/$/],className:{2:"attribute",3:"punctuation"}},G={match:[/^\s*(?=\S)/,/[^:]*[^: ]/,/[ ]*:/,/[ ]/,/.*$/],className:{2:"attribute",3:"punctuation",5:"string"}},V={match:[/^\s*/,/>/,/[ ]/,/.*$/],className:{2:"punctuation",4:"string"}},q={variants:[{match:[/^\s*/,/-/,/[ ]/,/.*$/]},{match:[/^\s*/,/-$/]}],className:{2:"bullet",4:"string"}};return{name:"Nested Text",aliases:["nt"],contains:[m.inherit(m.HASH_COMMENT_MODE,{begin:/^\s*(?=#)/,excludeBegin:!0}),q,V,M,G]}}return nestedtext_1=k,nestedtext_1}var nginx_1,hasRequiredNginx;function requireNginx(){if(hasRequiredNginx)return nginx_1;hasRequiredNginx=1;function k(m){const M=m.regex,G={className:"variable",variants:[{begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:M.concat(/[$@]/,m.UNDERSCORE_IDENT_RE)}]},q={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]},relevance:0,illegal:"=>",contains:[m.HASH_COMMENT_MODE,{className:"string",contains:[m.BACKSLASH_ESCAPE,G],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[G]},{className:"regexp",contains:[m.BACKSLASH_ESCAPE,G],variants:[{begin:"\\s\\^",end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},G]};return{name:"Nginx config",aliases:["nginxconf"],contains:[m.HASH_COMMENT_MODE,{beginKeywords:"upstream location",end:/;|\{/,contains:q.contains,keywords:{section:"upstream location"}},{className:"section",begin:M.concat(m.UNDERSCORE_IDENT_RE+M.lookahead(/\s+\{/)),relevance:0},{begin:M.lookahead(m.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{className:"attribute",begin:m.UNDERSCORE_IDENT_RE,starts:q}],relevance:0}],illegal:"[^\\s\\}\\{]"}}return nginx_1=k,nginx_1}var nim_1,hasRequiredNim;function requireNim(){if(hasRequiredNim)return nim_1;hasRequiredNim=1;function k(m){return{name:"Nim",keywords:{keyword:["addr","and","as","asm","bind","block","break","case","cast","const","continue","converter","discard","distinct","div","do","elif","else","end","enum","except","export","finally","for","from","func","generic","guarded","if","import","in","include","interface","is","isnot","iterator","let","macro","method","mixin","mod","nil","not","notin","object","of","or","out","proc","ptr","raise","ref","return","shared","shl","shr","static","template","try","tuple","type","using","var","when","while","with","without","xor","yield"],literal:["true","false"],type:["int","int8","int16","int32","int64","uint","uint8","uint16","uint32","uint64","float","float32","float64","bool","char","string","cstring","pointer","expr","stmt","void","auto","any","range","array","openarray","varargs","seq","set","clong","culong","cchar","cschar","cshort","cint","csize","clonglong","cfloat","cdouble","clongdouble","cuchar","cushort","cuint","culonglong","cstringarray","semistatic"],built_in:["stdin","stdout","stderr","result"]},contains:[{className:"meta",begin:/\{\./,end:/\.\}/,relevance:10},{className:"string",begin:/[a-zA-Z]\w*"/,end:/"/,contains:[{begin:/""/}]},{className:"string",begin:/([a-zA-Z]\w*)?"""/,end:/"""/},m.QUOTE_STRING_MODE,{className:"type",begin:/\b[A-Z]\w+\b/,relevance:0},{className:"number",relevance:0,variants:[{begin:/\b(0[xX][0-9a-fA-F][_0-9a-fA-F]*)('?[iIuU](8|16|32|64))?/},{begin:/\b(0o[0-7][_0-7]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(0(b|B)[01][_01]*)('?[iIuUfF](8|16|32|64))?/},{begin:/\b(\d[_\d]*)('?[iIuUfF](8|16|32|64))?/}]},m.HASH_COMMENT_MODE]}}return nim_1=k,nim_1}var nix_1,hasRequiredNix;function requireNix(){if(hasRequiredNix)return nix_1;hasRequiredNix=1;function k(m){const M={keyword:["rec","with","let","in","inherit","assert","if","else","then"],literal:["true","false","or","and","null"],built_in:["import","abort","baseNameOf","dirOf","isNull","builtins","map","removeAttrs","throw","toString","derivation"]},G={className:"subst",begin:/\$\{/,end:/\}/,keywords:M},V={className:"char.escape",begin:/''\$/},q={begin:/[a-zA-Z0-9-_]+(\s*=)/,returnBegin:!0,relevance:0,contains:[{className:"attr",begin:/\S+/,relevance:.2}]},$={className:"string",contains:[V,G],variants:[{begin:"''",end:"''"},{begin:'"',end:'"'}]},D=[m.NUMBER_MODE,m.HASH_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,$,q];return G.contains=D,{name:"Nix",aliases:["nixos"],keywords:M,contains:D}}return nix_1=k,nix_1}var nodeRepl_1,hasRequiredNodeRepl;function requireNodeRepl(){if(hasRequiredNodeRepl)return nodeRepl_1;hasRequiredNodeRepl=1;function k(m){return{name:"Node REPL",contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"javascript"}},variants:[{begin:/^>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return nodeRepl_1=k,nodeRepl_1}var nsis_1,hasRequiredNsis;function requireNsis(){if(hasRequiredNsis)return nsis_1;hasRequiredNsis=1;function k(m){const M=m.regex,G=["ADMINTOOLS","APPDATA","CDBURN_AREA","CMDLINE","COMMONFILES32","COMMONFILES64","COMMONFILES","COOKIES","DESKTOP","DOCUMENTS","EXEDIR","EXEFILE","EXEPATH","FAVORITES","FONTS","HISTORY","HWNDPARENT","INSTDIR","INTERNET_CACHE","LANGUAGE","LOCALAPPDATA","MUSIC","NETHOOD","OUTDIR","PICTURES","PLUGINSDIR","PRINTHOOD","PROFILE","PROGRAMFILES32","PROGRAMFILES64","PROGRAMFILES","QUICKLAUNCH","RECENT","RESOURCES_LOCALIZED","RESOURCES","SENDTO","SMPROGRAMS","SMSTARTUP","STARTMENU","SYSDIR","TEMP","TEMPLATES","VIDEOS","WINDIR"],V=["ARCHIVE","FILE_ATTRIBUTE_ARCHIVE","FILE_ATTRIBUTE_NORMAL","FILE_ATTRIBUTE_OFFLINE","FILE_ATTRIBUTE_READONLY","FILE_ATTRIBUTE_SYSTEM","FILE_ATTRIBUTE_TEMPORARY","HKCR","HKCU","HKDD","HKEY_CLASSES_ROOT","HKEY_CURRENT_CONFIG","HKEY_CURRENT_USER","HKEY_DYN_DATA","HKEY_LOCAL_MACHINE","HKEY_PERFORMANCE_DATA","HKEY_USERS","HKLM","HKPD","HKU","IDABORT","IDCANCEL","IDIGNORE","IDNO","IDOK","IDRETRY","IDYES","MB_ABORTRETRYIGNORE","MB_DEFBUTTON1","MB_DEFBUTTON2","MB_DEFBUTTON3","MB_DEFBUTTON4","MB_ICONEXCLAMATION","MB_ICONINFORMATION","MB_ICONQUESTION","MB_ICONSTOP","MB_OK","MB_OKCANCEL","MB_RETRYCANCEL","MB_RIGHT","MB_RTLREADING","MB_SETFOREGROUND","MB_TOPMOST","MB_USERICON","MB_YESNO","NORMAL","OFFLINE","READONLY","SHCTX","SHELL_CONTEXT","SYSTEM|TEMPORARY"],q=["addincludedir","addplugindir","appendfile","assert","cd","define","delfile","echo","else","endif","error","execute","finalize","getdllversion","gettlbversion","if","ifdef","ifmacrodef","ifmacrondef","ifndef","include","insertmacro","macro","macroend","makensis","packhdr","searchparse","searchreplace","system","tempfile","undef","uninstfinalize","verbose","warning"],$={className:"variable.constant",begin:M.concat(/\$/,M.either(...G))},D={className:"variable",begin:/\$+\{[\!\w.:-]+\}/},B={className:"variable",begin:/\$+\w[\w\.]*/,illegal:/\(\)\{\}/},R={className:"variable",begin:/\$+\([\w^.:!-]+\)/},U={className:"params",begin:M.either(...V)},K={className:"keyword",begin:M.concat(/!/,M.either(...q))},z={className:"char.escape",begin:/\$(\\[nrt]|\$)/},e={className:"title.function",begin:/\w+::\w+/},ae={className:"string",variants:[{begin:'"',end:'"'},{begin:"'",end:"'"},{begin:"`",end:"`"}],illegal:/\n/,contains:[z,$,D,B,R]},ie=["Abort","AddBrandingImage","AddSize","AllowRootDirInstall","AllowSkipFiles","AutoCloseWindow","BGFont","BGGradient","BrandingText","BringToFront","Call","CallInstDLL","Caption","ChangeUI","CheckBitmap","ClearErrors","CompletedText","ComponentText","CopyFiles","CRCCheck","CreateDirectory","CreateFont","CreateShortCut","Delete","DeleteINISec","DeleteINIStr","DeleteRegKey","DeleteRegValue","DetailPrint","DetailsButtonText","DirText","DirVar","DirVerify","EnableWindow","EnumRegKey","EnumRegValue","Exch","Exec","ExecShell","ExecShellWait","ExecWait","ExpandEnvStrings","File","FileBufSize","FileClose","FileErrorText","FileOpen","FileRead","FileReadByte","FileReadUTF16LE","FileReadWord","FileWriteUTF16LE","FileSeek","FileWrite","FileWriteByte","FileWriteWord","FindClose","FindFirst","FindNext","FindWindow","FlushINI","GetCurInstType","GetCurrentAddress","GetDlgItem","GetDLLVersion","GetDLLVersionLocal","GetErrorLevel","GetFileTime","GetFileTimeLocal","GetFullPathName","GetFunctionAddress","GetInstDirError","GetKnownFolderPath","GetLabelAddress","GetTempFileName","GetWinVer","Goto","HideWindow","Icon","IfAbort","IfErrors","IfFileExists","IfRebootFlag","IfRtlLanguage","IfShellVarContextAll","IfSilent","InitPluginsDir","InstallButtonText","InstallColors","InstallDir","InstallDirRegKey","InstProgressFlags","InstType","InstTypeGetText","InstTypeSetText","Int64Cmp","Int64CmpU","Int64Fmt","IntCmp","IntCmpU","IntFmt","IntOp","IntPtrCmp","IntPtrCmpU","IntPtrOp","IsWindow","LangString","LicenseBkColor","LicenseData","LicenseForceSelection","LicenseLangString","LicenseText","LoadAndSetImage","LoadLanguageFile","LockWindow","LogSet","LogText","ManifestDPIAware","ManifestLongPathAware","ManifestMaxVersionTested","ManifestSupportedOS","MessageBox","MiscButtonText","Name|0","Nop","OutFile","Page","PageCallbacks","PEAddResource","PEDllCharacteristics","PERemoveResource","PESubsysVer","Pop","Push","Quit","ReadEnvStr","ReadINIStr","ReadRegDWORD","ReadRegStr","Reboot","RegDLL","Rename","RequestExecutionLevel","ReserveFile","Return","RMDir","SearchPath","SectionGetFlags","SectionGetInstTypes","SectionGetSize","SectionGetText","SectionIn","SectionSetFlags","SectionSetInstTypes","SectionSetSize","SectionSetText","SendMessage","SetAutoClose","SetBrandingImage","SetCompress","SetCompressor","SetCompressorDictSize","SetCtlColors","SetCurInstType","SetDatablockOptimize","SetDateSave","SetDetailsPrint","SetDetailsView","SetErrorLevel","SetErrors","SetFileAttributes","SetFont","SetOutPath","SetOverwrite","SetRebootFlag","SetRegView","SetShellVarContext","SetSilent","ShowInstDetails","ShowUninstDetails","ShowWindow","SilentInstall","SilentUnInstall","Sleep","SpaceTexts","StrCmp","StrCmpS","StrCpy","StrLen","SubCaption","Unicode","UninstallButtonText","UninstallCaption","UninstallIcon","UninstallSubCaption","UninstallText","UninstPage","UnRegDLL","Var","VIAddVersionKey","VIFileVersion","VIProductVersion","WindowIcon","WriteINIStr","WriteRegBin","WriteRegDWORD","WriteRegExpandStr","WriteRegMultiStr","WriteRegNone","WriteRegStr","WriteUninstaller","XPStyle"],he=["admin","all","auto","both","bottom","bzip2","colored","components","current","custom","directory","false","force","hide","highest","ifdiff","ifnewer","instfiles","lastused","leave","left","license","listonly","lzma","nevershow","none","normal","notset","off","on","open","print","right","show","silent","silentlog","smooth","textonly","top","true","try","un.components","un.custom","un.directory","un.instfiles","un.license","uninstConfirm","user","Win10","Win7","Win8","WinVista","zlib"],J={match:[/Function/,/\s+/,M.concat(/(\.)?/,m.IDENT_RE)],scope:{1:"keyword",3:"title.function"}},X={match:[/Var/,/\s+/,/(?:\/GLOBAL\s+)?/,/[A-Za-z][\w.]*/],scope:{1:"keyword",3:"params",4:"variable"}};return{name:"NSIS",case_insensitive:!0,keywords:{keyword:ie,literal:he},contains:[m.HASH_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.COMMENT(";","$",{relevance:0}),X,J,{beginKeywords:"Function PageEx Section SectionGroup FunctionEnd SectionEnd"},ae,K,D,B,R,U,e,m.NUMBER_MODE]}}return nsis_1=k,nsis_1}var objectivec_1,hasRequiredObjectivec;function requireObjectivec(){if(hasRequiredObjectivec)return objectivec_1;hasRequiredObjectivec=1;function k(m){const M={className:"built_in",begin:"\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\w+"},G=/[a-zA-Z@][a-zA-Z0-9_]*/,B={"variable.language":["this","super"],$pattern:G,keyword:["while","export","sizeof","typedef","const","struct","for","union","volatile","static","mutable","if","do","return","goto","enum","else","break","extern","asm","case","default","register","explicit","typename","switch","continue","inline","readonly","assign","readwrite","self","@synchronized","id","typeof","nonatomic","IBOutlet","IBAction","strong","weak","copy","in","out","inout","bycopy","byref","oneway","__strong","__weak","__block","__autoreleasing","@private","@protected","@public","@try","@property","@end","@throw","@catch","@finally","@autoreleasepool","@synthesize","@dynamic","@selector","@optional","@required","@encode","@package","@import","@defs","@compatibility_alias","__bridge","__bridge_transfer","__bridge_retained","__bridge_retain","__covariant","__contravariant","__kindof","_Nonnull","_Nullable","_Null_unspecified","__FUNCTION__","__PRETTY_FUNCTION__","__attribute__","getter","setter","retain","unsafe_unretained","nonnull","nullable","null_unspecified","null_resettable","class","instancetype","NS_DESIGNATED_INITIALIZER","NS_UNAVAILABLE","NS_REQUIRES_SUPER","NS_RETURNS_INNER_POINTER","NS_INLINE","NS_AVAILABLE","NS_DEPRECATED","NS_ENUM","NS_OPTIONS","NS_SWIFT_UNAVAILABLE","NS_ASSUME_NONNULL_BEGIN","NS_ASSUME_NONNULL_END","NS_REFINED_FOR_SWIFT","NS_SWIFT_NAME","NS_SWIFT_NOTHROW","NS_DURING","NS_HANDLER","NS_ENDHANDLER","NS_VALUERETURN","NS_VOIDRETURN"],literal:["false","true","FALSE","TRUE","nil","YES","NO","NULL"],built_in:["dispatch_once_t","dispatch_queue_t","dispatch_sync","dispatch_async","dispatch_once"],type:["int","float","char","unsigned","signed","short","long","double","wchar_t","unichar","void","bool","BOOL","id|0","_Bool"]},R={$pattern:G,keyword:["@interface","@class","@protocol","@implementation"]};return{name:"Objective-C",aliases:["mm","objc","obj-c","obj-c++","objective-c++"],keywords:B,illegal:"/,end:/$/,illegal:"\\n"},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{className:"class",begin:"("+R.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:R,contains:[m.UNDERSCORE_TITLE_MODE]},{begin:"\\."+m.UNDERSCORE_IDENT_RE,relevance:0}]}}return objectivec_1=k,objectivec_1}var ocaml_1,hasRequiredOcaml;function requireOcaml(){if(hasRequiredOcaml)return ocaml_1;hasRequiredOcaml=1;function k(m){return{name:"OCaml",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"and as assert asr begin class constraint do done downto else end exception external for fun function functor if in include inherit! inherit initializer land lazy let lor lsl lsr lxor match method!|10 method mod module mutable new object of open! open or private rec sig struct then to try type val! val virtual when while with parser value",built_in:"array bool bytes char exn|5 float int int32 int64 list lazy_t|5 nativeint|5 string unit in_channel out_channel ref",literal:"true false"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:"\\[(\\|\\|)?\\]|\\(\\)",relevance:0},m.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*",relevance:0},m.inherit(m.APOS_STRING_MODE,{className:"string",relevance:0}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/->/}]}}return ocaml_1=k,ocaml_1}var openscad_1,hasRequiredOpenscad;function requireOpenscad(){if(hasRequiredOpenscad)return openscad_1;hasRequiredOpenscad=1;function k(m){const M={className:"keyword",begin:"\\$(f[asn]|t|vp[rtd]|children)"},G={className:"literal",begin:"false|true|PI|undef"},V={className:"number",begin:"\\b\\d+(\\.\\d+)?(e-?\\d+)?",relevance:0},q=m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),$={className:"meta",keywords:{keyword:"include use"},begin:"include|use <",end:">"},D={className:"params",begin:"\\(",end:"\\)",contains:["self",V,q,M,G]},B={begin:"[*!#%]",relevance:0},R={className:"function",beginKeywords:"module function",end:/=|\{/,contains:[D,m.UNDERSCORE_TITLE_MODE]};return{name:"OpenSCAD",aliases:["scad"],keywords:{keyword:"function module include use for intersection_for if else \\%",literal:"false true PI undef",built_in:"circle square polygon text sphere cube cylinder polyhedron translate rotate scale resize mirror multmatrix color offset hull minkowski union difference intersection abs sign sin cos tan acos asin atan atan2 floor round ceil ln log pow sqrt exp rands min max concat lookup str chr search version version_num norm cross parent_module echo import import_dxf dxf_linear_extrude linear_extrude rotate_extrude surface projection render children dxf_cross dxf_dim let assign"},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,V,$,q,M,B,R]}}return openscad_1=k,openscad_1}var oxygene_1,hasRequiredOxygene;function requireOxygene(){if(hasRequiredOxygene)return oxygene_1;hasRequiredOxygene=1;function k(m){const M={$pattern:/\.?\w+/,keyword:"abstract add and array as asc aspect assembly async begin break block by case class concat const copy constructor continue create default delegate desc distinct div do downto dynamic each else empty end ensure enum equals event except exit extension external false final finalize finalizer finally flags for forward from function future global group has if implementation implements implies in index inherited inline interface into invariants is iterator join locked locking loop matching method mod module namespace nested new nil not notify nullable of old on operator or order out override parallel params partial pinned private procedure property protected public queryable raise read readonly record reintroduce remove repeat require result reverse sealed select self sequence set shl shr skip static step soft take then to true try tuple type union unit unsafe until uses using var virtual raises volatile where while with write xor yield await mapped deprecated stdcall cdecl pascal register safecall overload library platform reference packed strict published autoreleasepool selector strong weak unretained"},G=m.COMMENT(/\{/,/\}/,{relevance:0}),V=m.COMMENT("\\(\\*","\\*\\)",{relevance:10}),q={className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},$={className:"string",begin:"(#\\d+)+"},D={beginKeywords:"function constructor destructor procedure method",end:"[:;]",keywords:"function constructor|10 destructor|10 procedure|10 method|10",contains:[m.inherit(m.TITLE_MODE,{scope:"title.function"}),{className:"params",begin:"\\(",end:"\\)",keywords:M,contains:[q,$]},G,V]},B={scope:"punctuation",match:/;/,relevance:0};return{name:"Oxygene",case_insensitive:!0,keywords:M,illegal:'("|\\$[G-Zg-z]|\\/\\*||->)',contains:[G,V,m.C_LINE_COMMENT_MODE,q,$,m.NUMBER_MODE,D,B]}}return oxygene_1=k,oxygene_1}var parser3_1,hasRequiredParser3;function requireParser3(){if(hasRequiredParser3)return parser3_1;hasRequiredParser3=1;function k(m){const M=m.COMMENT(/\{/,/\}/,{contains:["self"]});return{name:"Parser3",subLanguage:"xml",relevance:0,contains:[m.COMMENT("^#","$"),m.COMMENT(/\^rem\{/,/\}/,{relevance:10,contains:[M]}),{className:"meta",begin:"^@(?:BASE|USE|CLASS|OPTIONS)$",relevance:10},{className:"title",begin:"@[\\w\\-]+\\[[\\w^;\\-]*\\](?:\\[[\\w^;\\-]*\\])?(?:.*)$"},{className:"variable",begin:/\$\{?[\w\-.:]+\}?/},{className:"keyword",begin:/\^[\w\-.:]+/},{className:"number",begin:"\\^#[0-9a-fA-F]+"},m.C_NUMBER_MODE]}}return parser3_1=k,parser3_1}var pf_1,hasRequiredPf;function requirePf(){if(hasRequiredPf)return pf_1;hasRequiredPf=1;function k(m){const M={className:"variable",begin:/\$[\w\d#@][\w\d_]*/,relevance:0},G={className:"variable",begin:/<(?!\/)/,end:/>/};return{name:"Packet Filter config",aliases:["pf.conf"],keywords:{$pattern:/[a-z0-9_<>-]+/,built_in:"block match pass load anchor|5 antispoof|10 set table",keyword:"in out log quick on rdomain inet inet6 proto from port os to route allow-opts divert-packet divert-reply divert-to flags group icmp-type icmp6-type label once probability recieved-on rtable prio queue tos tag tagged user keep fragment for os drop af-to|10 binat-to|10 nat-to|10 rdr-to|10 bitmask least-stats random round-robin source-hash static-port dup-to reply-to route-to parent bandwidth default min max qlimit block-policy debug fingerprints hostid limit loginterface optimization reassemble ruleset-optimization basic none profile skip state-defaults state-policy timeout const counters persist no modulate synproxy state|5 floating if-bound no-sync pflow|10 sloppy source-track global rule max-src-nodes max-src-states max-src-conn max-src-conn-rate overload flush scrub|5 max-mss min-ttl no-df|10 random-id",literal:"all any no-route self urpf-failed egress|5 unknown"},contains:[m.HASH_COMMENT_MODE,m.NUMBER_MODE,m.QUOTE_STRING_MODE,M,G]}}return pf_1=k,pf_1}var pgsql_1,hasRequiredPgsql;function requirePgsql(){if(hasRequiredPgsql)return pgsql_1;hasRequiredPgsql=1;function k(m){const M=m.COMMENT("--","$"),G="[a-zA-Z_][a-zA-Z_0-9$]*",V="\\$([a-zA-Z_]?|[a-zA-Z_][a-zA-Z_0-9]*)\\$",q="<<\\s*"+G+"\\s*>>",$="ABORT ALTER ANALYZE BEGIN CALL CHECKPOINT|10 CLOSE CLUSTER COMMENT COMMIT COPY CREATE DEALLOCATE DECLARE DELETE DISCARD DO DROP END EXECUTE EXPLAIN FETCH GRANT IMPORT INSERT LISTEN LOAD LOCK MOVE NOTIFY PREPARE REASSIGN|10 REFRESH REINDEX RELEASE RESET REVOKE ROLLBACK SAVEPOINT SECURITY SELECT SET SHOW START TRUNCATE UNLISTEN|10 UPDATE VACUUM|10 VALUES AGGREGATE COLLATION CONVERSION|10 DATABASE DEFAULT PRIVILEGES DOMAIN TRIGGER EXTENSION FOREIGN WRAPPER|10 TABLE FUNCTION GROUP LANGUAGE LARGE OBJECT MATERIALIZED VIEW OPERATOR CLASS FAMILY POLICY PUBLICATION|10 ROLE RULE SCHEMA SEQUENCE SERVER STATISTICS SUBSCRIPTION SYSTEM TABLESPACE CONFIGURATION DICTIONARY PARSER TEMPLATE TYPE USER MAPPING PREPARED ACCESS METHOD CAST AS TRANSFORM TRANSACTION OWNED TO INTO SESSION AUTHORIZATION INDEX PROCEDURE ASSERTION ALL ANALYSE AND ANY ARRAY ASC ASYMMETRIC|10 BOTH CASE CHECK COLLATE COLUMN CONCURRENTLY|10 CONSTRAINT CROSS DEFERRABLE RANGE DESC DISTINCT ELSE EXCEPT FOR FREEZE|10 FROM FULL HAVING ILIKE IN INITIALLY INNER INTERSECT IS ISNULL JOIN LATERAL LEADING LIKE LIMIT NATURAL NOT NOTNULL NULL OFFSET ON ONLY OR ORDER OUTER OVERLAPS PLACING PRIMARY REFERENCES RETURNING SIMILAR SOME SYMMETRIC TABLESAMPLE THEN TRAILING UNION UNIQUE USING VARIADIC|10 VERBOSE WHEN WHERE WINDOW WITH BY RETURNS INOUT OUT SETOF|10 IF STRICT CURRENT CONTINUE OWNER LOCATION OVER PARTITION WITHIN BETWEEN ESCAPE EXTERNAL INVOKER DEFINER WORK RENAME VERSION CONNECTION CONNECT TABLES TEMP TEMPORARY FUNCTIONS SEQUENCES TYPES SCHEMAS OPTION CASCADE RESTRICT ADD ADMIN EXISTS VALID VALIDATE ENABLE DISABLE REPLICA|10 ALWAYS PASSING COLUMNS PATH REF VALUE OVERRIDING IMMUTABLE STABLE VOLATILE BEFORE AFTER EACH ROW PROCEDURAL ROUTINE NO HANDLER VALIDATOR OPTIONS STORAGE OIDS|10 WITHOUT INHERIT DEPENDS CALLED INPUT LEAKPROOF|10 COST ROWS NOWAIT SEARCH UNTIL ENCRYPTED|10 PASSWORD CONFLICT|10 INSTEAD INHERITS CHARACTERISTICS WRITE CURSOR ALSO STATEMENT SHARE EXCLUSIVE INLINE ISOLATION REPEATABLE READ COMMITTED SERIALIZABLE UNCOMMITTED LOCAL GLOBAL SQL PROCEDURES RECURSIVE SNAPSHOT ROLLUP CUBE TRUSTED|10 INCLUDE FOLLOWING PRECEDING UNBOUNDED RANGE GROUPS UNENCRYPTED|10 SYSID FORMAT DELIMITER HEADER QUOTE ENCODING FILTER OFF FORCE_QUOTE FORCE_NOT_NULL FORCE_NULL COSTS BUFFERS TIMING SUMMARY DISABLE_PAGE_SKIPPING RESTART CYCLE GENERATED IDENTITY DEFERRED IMMEDIATE LEVEL LOGGED UNLOGGED OF NOTHING NONE EXCLUDE ATTRIBUTE USAGE ROUTINES TRUE FALSE NAN INFINITY ",D="SUPERUSER NOSUPERUSER CREATEDB NOCREATEDB CREATEROLE NOCREATEROLE INHERIT NOINHERIT LOGIN NOLOGIN REPLICATION NOREPLICATION BYPASSRLS NOBYPASSRLS ",B="ALIAS BEGIN CONSTANT DECLARE END EXCEPTION RETURN PERFORM|10 RAISE GET DIAGNOSTICS STACKED|10 FOREACH LOOP ELSIF EXIT WHILE REVERSE SLICE DEBUG LOG INFO NOTICE WARNING ASSERT OPEN ",R="BIGINT INT8 BIGSERIAL SERIAL8 BIT VARYING VARBIT BOOLEAN BOOL BOX BYTEA CHARACTER CHAR VARCHAR CIDR CIRCLE DATE DOUBLE PRECISION FLOAT8 FLOAT INET INTEGER INT INT4 INTERVAL JSON JSONB LINE LSEG|10 MACADDR MACADDR8 MONEY NUMERIC DEC DECIMAL PATH POINT POLYGON REAL FLOAT4 SMALLINT INT2 SMALLSERIAL|10 SERIAL2|10 SERIAL|10 SERIAL4|10 TEXT TIME ZONE TIMETZ|10 TIMESTAMP TIMESTAMPTZ|10 TSQUERY|10 TSVECTOR|10 TXID_SNAPSHOT|10 UUID XML NATIONAL NCHAR INT4RANGE|10 INT8RANGE|10 NUMRANGE|10 TSRANGE|10 TSTZRANGE|10 DATERANGE|10 ANYELEMENT ANYARRAY ANYNONARRAY ANYENUM ANYRANGE CSTRING INTERNAL RECORD PG_DDL_COMMAND VOID UNKNOWN OPAQUE REFCURSOR NAME OID REGPROC|10 REGPROCEDURE|10 REGOPER|10 REGOPERATOR|10 REGCLASS|10 REGTYPE|10 REGROLE|10 REGNAMESPACE|10 REGCONFIG|10 REGDICTIONARY|10 ",U=R.trim().split(" ").map(function(he){return he.split("|")[0]}).join("|"),K="CURRENT_TIME CURRENT_TIMESTAMP CURRENT_USER CURRENT_CATALOG|10 CURRENT_DATE LOCALTIME LOCALTIMESTAMP CURRENT_ROLE|10 CURRENT_SCHEMA|10 SESSION_USER PUBLIC ",z="FOUND NEW OLD TG_NAME|10 TG_WHEN|10 TG_LEVEL|10 TG_OP|10 TG_RELID|10 TG_RELNAME|10 TG_TABLE_NAME|10 TG_TABLE_SCHEMA|10 TG_NARGS|10 TG_ARGV|10 TG_EVENT|10 TG_TAG|10 ROW_COUNT RESULT_OID|10 PG_CONTEXT|10 RETURNED_SQLSTATE COLUMN_NAME CONSTRAINT_NAME PG_DATATYPE_NAME|10 MESSAGE_TEXT TABLE_NAME SCHEMA_NAME PG_EXCEPTION_DETAIL|10 PG_EXCEPTION_HINT|10 PG_EXCEPTION_CONTEXT|10 ",e="SQLSTATE SQLERRM|10 SUCCESSFUL_COMPLETION WARNING DYNAMIC_RESULT_SETS_RETURNED IMPLICIT_ZERO_BIT_PADDING NULL_VALUE_ELIMINATED_IN_SET_FUNCTION PRIVILEGE_NOT_GRANTED PRIVILEGE_NOT_REVOKED STRING_DATA_RIGHT_TRUNCATION DEPRECATED_FEATURE NO_DATA NO_ADDITIONAL_DYNAMIC_RESULT_SETS_RETURNED SQL_STATEMENT_NOT_YET_COMPLETE CONNECTION_EXCEPTION CONNECTION_DOES_NOT_EXIST CONNECTION_FAILURE SQLCLIENT_UNABLE_TO_ESTABLISH_SQLCONNECTION SQLSERVER_REJECTED_ESTABLISHMENT_OF_SQLCONNECTION TRANSACTION_RESOLUTION_UNKNOWN PROTOCOL_VIOLATION TRIGGERED_ACTION_EXCEPTION FEATURE_NOT_SUPPORTED INVALID_TRANSACTION_INITIATION LOCATOR_EXCEPTION INVALID_LOCATOR_SPECIFICATION INVALID_GRANTOR INVALID_GRANT_OPERATION INVALID_ROLE_SPECIFICATION DIAGNOSTICS_EXCEPTION STACKED_DIAGNOSTICS_ACCESSED_WITHOUT_ACTIVE_HANDLER CASE_NOT_FOUND CARDINALITY_VIOLATION DATA_EXCEPTION ARRAY_SUBSCRIPT_ERROR CHARACTER_NOT_IN_REPERTOIRE DATETIME_FIELD_OVERFLOW DIVISION_BY_ZERO ERROR_IN_ASSIGNMENT ESCAPE_CHARACTER_CONFLICT INDICATOR_OVERFLOW INTERVAL_FIELD_OVERFLOW INVALID_ARGUMENT_FOR_LOGARITHM INVALID_ARGUMENT_FOR_NTILE_FUNCTION INVALID_ARGUMENT_FOR_NTH_VALUE_FUNCTION INVALID_ARGUMENT_FOR_POWER_FUNCTION INVALID_ARGUMENT_FOR_WIDTH_BUCKET_FUNCTION INVALID_CHARACTER_VALUE_FOR_CAST INVALID_DATETIME_FORMAT INVALID_ESCAPE_CHARACTER INVALID_ESCAPE_OCTET INVALID_ESCAPE_SEQUENCE NONSTANDARD_USE_OF_ESCAPE_CHARACTER INVALID_INDICATOR_PARAMETER_VALUE INVALID_PARAMETER_VALUE INVALID_REGULAR_EXPRESSION INVALID_ROW_COUNT_IN_LIMIT_CLAUSE INVALID_ROW_COUNT_IN_RESULT_OFFSET_CLAUSE INVALID_TABLESAMPLE_ARGUMENT INVALID_TABLESAMPLE_REPEAT INVALID_TIME_ZONE_DISPLACEMENT_VALUE INVALID_USE_OF_ESCAPE_CHARACTER MOST_SPECIFIC_TYPE_MISMATCH NULL_VALUE_NOT_ALLOWED NULL_VALUE_NO_INDICATOR_PARAMETER NUMERIC_VALUE_OUT_OF_RANGE SEQUENCE_GENERATOR_LIMIT_EXCEEDED STRING_DATA_LENGTH_MISMATCH STRING_DATA_RIGHT_TRUNCATION SUBSTRING_ERROR TRIM_ERROR UNTERMINATED_C_STRING ZERO_LENGTH_CHARACTER_STRING FLOATING_POINT_EXCEPTION INVALID_TEXT_REPRESENTATION INVALID_BINARY_REPRESENTATION BAD_COPY_FILE_FORMAT UNTRANSLATABLE_CHARACTER NOT_AN_XML_DOCUMENT INVALID_XML_DOCUMENT INVALID_XML_CONTENT INVALID_XML_COMMENT INVALID_XML_PROCESSING_INSTRUCTION INTEGRITY_CONSTRAINT_VIOLATION RESTRICT_VIOLATION NOT_NULL_VIOLATION FOREIGN_KEY_VIOLATION UNIQUE_VIOLATION CHECK_VIOLATION EXCLUSION_VIOLATION INVALID_CURSOR_STATE INVALID_TRANSACTION_STATE ACTIVE_SQL_TRANSACTION BRANCH_TRANSACTION_ALREADY_ACTIVE HELD_CURSOR_REQUIRES_SAME_ISOLATION_LEVEL INAPPROPRIATE_ACCESS_MODE_FOR_BRANCH_TRANSACTION INAPPROPRIATE_ISOLATION_LEVEL_FOR_BRANCH_TRANSACTION NO_ACTIVE_SQL_TRANSACTION_FOR_BRANCH_TRANSACTION READ_ONLY_SQL_TRANSACTION SCHEMA_AND_DATA_STATEMENT_MIXING_NOT_SUPPORTED NO_ACTIVE_SQL_TRANSACTION IN_FAILED_SQL_TRANSACTION IDLE_IN_TRANSACTION_SESSION_TIMEOUT INVALID_SQL_STATEMENT_NAME TRIGGERED_DATA_CHANGE_VIOLATION INVALID_AUTHORIZATION_SPECIFICATION INVALID_PASSWORD DEPENDENT_PRIVILEGE_DESCRIPTORS_STILL_EXIST DEPENDENT_OBJECTS_STILL_EXIST INVALID_TRANSACTION_TERMINATION SQL_ROUTINE_EXCEPTION FUNCTION_EXECUTED_NO_RETURN_STATEMENT MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED INVALID_CURSOR_NAME EXTERNAL_ROUTINE_EXCEPTION CONTAINING_SQL_NOT_PERMITTED MODIFYING_SQL_DATA_NOT_PERMITTED PROHIBITED_SQL_STATEMENT_ATTEMPTED READING_SQL_DATA_NOT_PERMITTED EXTERNAL_ROUTINE_INVOCATION_EXCEPTION INVALID_SQLSTATE_RETURNED NULL_VALUE_NOT_ALLOWED TRIGGER_PROTOCOL_VIOLATED SRF_PROTOCOL_VIOLATED EVENT_TRIGGER_PROTOCOL_VIOLATED SAVEPOINT_EXCEPTION INVALID_SAVEPOINT_SPECIFICATION INVALID_CATALOG_NAME INVALID_SCHEMA_NAME TRANSACTION_ROLLBACK TRANSACTION_INTEGRITY_CONSTRAINT_VIOLATION SERIALIZATION_FAILURE STATEMENT_COMPLETION_UNKNOWN DEADLOCK_DETECTED SYNTAX_ERROR_OR_ACCESS_RULE_VIOLATION SYNTAX_ERROR INSUFFICIENT_PRIVILEGE CANNOT_COERCE GROUPING_ERROR WINDOWING_ERROR INVALID_RECURSION INVALID_FOREIGN_KEY INVALID_NAME NAME_TOO_LONG RESERVED_NAME DATATYPE_MISMATCH INDETERMINATE_DATATYPE COLLATION_MISMATCH INDETERMINATE_COLLATION WRONG_OBJECT_TYPE GENERATED_ALWAYS UNDEFINED_COLUMN UNDEFINED_FUNCTION UNDEFINED_TABLE UNDEFINED_PARAMETER UNDEFINED_OBJECT DUPLICATE_COLUMN DUPLICATE_CURSOR DUPLICATE_DATABASE DUPLICATE_FUNCTION DUPLICATE_PREPARED_STATEMENT DUPLICATE_SCHEMA DUPLICATE_TABLE DUPLICATE_ALIAS DUPLICATE_OBJECT AMBIGUOUS_COLUMN AMBIGUOUS_FUNCTION AMBIGUOUS_PARAMETER AMBIGUOUS_ALIAS INVALID_COLUMN_REFERENCE INVALID_COLUMN_DEFINITION INVALID_CURSOR_DEFINITION INVALID_DATABASE_DEFINITION INVALID_FUNCTION_DEFINITION INVALID_PREPARED_STATEMENT_DEFINITION INVALID_SCHEMA_DEFINITION INVALID_TABLE_DEFINITION INVALID_OBJECT_DEFINITION WITH_CHECK_OPTION_VIOLATION INSUFFICIENT_RESOURCES DISK_FULL OUT_OF_MEMORY TOO_MANY_CONNECTIONS CONFIGURATION_LIMIT_EXCEEDED PROGRAM_LIMIT_EXCEEDED STATEMENT_TOO_COMPLEX TOO_MANY_COLUMNS TOO_MANY_ARGUMENTS OBJECT_NOT_IN_PREREQUISITE_STATE OBJECT_IN_USE CANT_CHANGE_RUNTIME_PARAM LOCK_NOT_AVAILABLE OPERATOR_INTERVENTION QUERY_CANCELED ADMIN_SHUTDOWN CRASH_SHUTDOWN CANNOT_CONNECT_NOW DATABASE_DROPPED SYSTEM_ERROR IO_ERROR UNDEFINED_FILE DUPLICATE_FILE SNAPSHOT_TOO_OLD CONFIG_FILE_ERROR LOCK_FILE_EXISTS FDW_ERROR FDW_COLUMN_NAME_NOT_FOUND FDW_DYNAMIC_PARAMETER_VALUE_NEEDED FDW_FUNCTION_SEQUENCE_ERROR FDW_INCONSISTENT_DESCRIPTOR_INFORMATION FDW_INVALID_ATTRIBUTE_VALUE FDW_INVALID_COLUMN_NAME FDW_INVALID_COLUMN_NUMBER FDW_INVALID_DATA_TYPE FDW_INVALID_DATA_TYPE_DESCRIPTORS FDW_INVALID_DESCRIPTOR_FIELD_IDENTIFIER FDW_INVALID_HANDLE FDW_INVALID_OPTION_INDEX FDW_INVALID_OPTION_NAME FDW_INVALID_STRING_LENGTH_OR_BUFFER_LENGTH FDW_INVALID_STRING_FORMAT FDW_INVALID_USE_OF_NULL_POINTER FDW_TOO_MANY_HANDLES FDW_OUT_OF_MEMORY FDW_NO_SCHEMAS FDW_OPTION_NAME_NOT_FOUND FDW_REPLY_HANDLE FDW_SCHEMA_NOT_FOUND FDW_TABLE_NOT_FOUND FDW_UNABLE_TO_CREATE_EXECUTION FDW_UNABLE_TO_CREATE_REPLY FDW_UNABLE_TO_ESTABLISH_CONNECTION PLPGSQL_ERROR RAISE_EXCEPTION NO_DATA_FOUND TOO_MANY_ROWS ASSERT_FAILURE INTERNAL_ERROR DATA_CORRUPTED INDEX_CORRUPTED ",ie="ARRAY_AGG AVG BIT_AND BIT_OR BOOL_AND BOOL_OR COUNT EVERY JSON_AGG JSONB_AGG JSON_OBJECT_AGG JSONB_OBJECT_AGG MAX MIN MODE STRING_AGG SUM XMLAGG CORR COVAR_POP COVAR_SAMP REGR_AVGX REGR_AVGY REGR_COUNT REGR_INTERCEPT REGR_R2 REGR_SLOPE REGR_SXX REGR_SXY REGR_SYY STDDEV STDDEV_POP STDDEV_SAMP VARIANCE VAR_POP VAR_SAMP PERCENTILE_CONT PERCENTILE_DISC ROW_NUMBER RANK DENSE_RANK PERCENT_RANK CUME_DIST NTILE LAG LEAD FIRST_VALUE LAST_VALUE NTH_VALUE NUM_NONNULLS NUM_NULLS ABS CBRT CEIL CEILING DEGREES DIV EXP FLOOR LN LOG MOD PI POWER RADIANS ROUND SCALE SIGN SQRT TRUNC WIDTH_BUCKET RANDOM SETSEED ACOS ACOSD ASIN ASIND ATAN ATAND ATAN2 ATAN2D COS COSD COT COTD SIN SIND TAN TAND BIT_LENGTH CHAR_LENGTH CHARACTER_LENGTH LOWER OCTET_LENGTH OVERLAY POSITION SUBSTRING TREAT TRIM UPPER ASCII BTRIM CHR CONCAT CONCAT_WS CONVERT CONVERT_FROM CONVERT_TO DECODE ENCODE INITCAP LEFT LENGTH LPAD LTRIM MD5 PARSE_IDENT PG_CLIENT_ENCODING QUOTE_IDENT|10 QUOTE_LITERAL|10 QUOTE_NULLABLE|10 REGEXP_MATCH REGEXP_MATCHES REGEXP_REPLACE REGEXP_SPLIT_TO_ARRAY REGEXP_SPLIT_TO_TABLE REPEAT REPLACE REVERSE RIGHT RPAD RTRIM SPLIT_PART STRPOS SUBSTR TO_ASCII TO_HEX TRANSLATE OCTET_LENGTH GET_BIT GET_BYTE SET_BIT SET_BYTE TO_CHAR TO_DATE TO_NUMBER TO_TIMESTAMP AGE CLOCK_TIMESTAMP|10 DATE_PART DATE_TRUNC ISFINITE JUSTIFY_DAYS JUSTIFY_HOURS JUSTIFY_INTERVAL MAKE_DATE MAKE_INTERVAL|10 MAKE_TIME MAKE_TIMESTAMP|10 MAKE_TIMESTAMPTZ|10 NOW STATEMENT_TIMESTAMP|10 TIMEOFDAY TRANSACTION_TIMESTAMP|10 ENUM_FIRST ENUM_LAST ENUM_RANGE AREA CENTER DIAMETER HEIGHT ISCLOSED ISOPEN NPOINTS PCLOSE POPEN RADIUS WIDTH BOX BOUND_BOX CIRCLE LINE LSEG PATH POLYGON ABBREV BROADCAST HOST HOSTMASK MASKLEN NETMASK NETWORK SET_MASKLEN TEXT INET_SAME_FAMILY INET_MERGE MACADDR8_SET7BIT ARRAY_TO_TSVECTOR GET_CURRENT_TS_CONFIG NUMNODE PLAINTO_TSQUERY PHRASETO_TSQUERY WEBSEARCH_TO_TSQUERY QUERYTREE SETWEIGHT STRIP TO_TSQUERY TO_TSVECTOR JSON_TO_TSVECTOR JSONB_TO_TSVECTOR TS_DELETE TS_FILTER TS_HEADLINE TS_RANK TS_RANK_CD TS_REWRITE TSQUERY_PHRASE TSVECTOR_TO_ARRAY TSVECTOR_UPDATE_TRIGGER TSVECTOR_UPDATE_TRIGGER_COLUMN XMLCOMMENT XMLCONCAT XMLELEMENT XMLFOREST XMLPI XMLROOT XMLEXISTS XML_IS_WELL_FORMED XML_IS_WELL_FORMED_DOCUMENT XML_IS_WELL_FORMED_CONTENT XPATH XPATH_EXISTS XMLTABLE XMLNAMESPACES TABLE_TO_XML TABLE_TO_XMLSCHEMA TABLE_TO_XML_AND_XMLSCHEMA QUERY_TO_XML QUERY_TO_XMLSCHEMA QUERY_TO_XML_AND_XMLSCHEMA CURSOR_TO_XML CURSOR_TO_XMLSCHEMA SCHEMA_TO_XML SCHEMA_TO_XMLSCHEMA SCHEMA_TO_XML_AND_XMLSCHEMA DATABASE_TO_XML DATABASE_TO_XMLSCHEMA DATABASE_TO_XML_AND_XMLSCHEMA XMLATTRIBUTES TO_JSON TO_JSONB ARRAY_TO_JSON ROW_TO_JSON JSON_BUILD_ARRAY JSONB_BUILD_ARRAY JSON_BUILD_OBJECT JSONB_BUILD_OBJECT JSON_OBJECT JSONB_OBJECT JSON_ARRAY_LENGTH JSONB_ARRAY_LENGTH JSON_EACH JSONB_EACH JSON_EACH_TEXT JSONB_EACH_TEXT JSON_EXTRACT_PATH JSONB_EXTRACT_PATH JSON_OBJECT_KEYS JSONB_OBJECT_KEYS JSON_POPULATE_RECORD JSONB_POPULATE_RECORD JSON_POPULATE_RECORDSET JSONB_POPULATE_RECORDSET JSON_ARRAY_ELEMENTS JSONB_ARRAY_ELEMENTS JSON_ARRAY_ELEMENTS_TEXT JSONB_ARRAY_ELEMENTS_TEXT JSON_TYPEOF JSONB_TYPEOF JSON_TO_RECORD JSONB_TO_RECORD JSON_TO_RECORDSET JSONB_TO_RECORDSET JSON_STRIP_NULLS JSONB_STRIP_NULLS JSONB_SET JSONB_INSERT JSONB_PRETTY CURRVAL LASTVAL NEXTVAL SETVAL COALESCE NULLIF GREATEST LEAST ARRAY_APPEND ARRAY_CAT ARRAY_NDIMS ARRAY_DIMS ARRAY_FILL ARRAY_LENGTH ARRAY_LOWER ARRAY_POSITION ARRAY_POSITIONS ARRAY_PREPEND ARRAY_REMOVE ARRAY_REPLACE ARRAY_TO_STRING ARRAY_UPPER CARDINALITY STRING_TO_ARRAY UNNEST ISEMPTY LOWER_INC UPPER_INC LOWER_INF UPPER_INF RANGE_MERGE GENERATE_SERIES GENERATE_SUBSCRIPTS CURRENT_DATABASE CURRENT_QUERY CURRENT_SCHEMA|10 CURRENT_SCHEMAS|10 INET_CLIENT_ADDR INET_CLIENT_PORT INET_SERVER_ADDR INET_SERVER_PORT ROW_SECURITY_ACTIVE FORMAT_TYPE TO_REGCLASS TO_REGPROC TO_REGPROCEDURE TO_REGOPER TO_REGOPERATOR TO_REGTYPE TO_REGNAMESPACE TO_REGROLE COL_DESCRIPTION OBJ_DESCRIPTION SHOBJ_DESCRIPTION TXID_CURRENT TXID_CURRENT_IF_ASSIGNED TXID_CURRENT_SNAPSHOT TXID_SNAPSHOT_XIP TXID_SNAPSHOT_XMAX TXID_SNAPSHOT_XMIN TXID_VISIBLE_IN_SNAPSHOT TXID_STATUS CURRENT_SETTING SET_CONFIG BRIN_SUMMARIZE_NEW_VALUES BRIN_SUMMARIZE_RANGE BRIN_DESUMMARIZE_RANGE GIN_CLEAN_PENDING_LIST SUPPRESS_REDUNDANT_UPDATES_TRIGGER LO_FROM_BYTEA LO_PUT LO_GET LO_CREAT LO_CREATE LO_UNLINK LO_IMPORT LO_EXPORT LOREAD LOWRITE GROUPING CAST ".trim().split(" ").map(function(he){return he.split("|")[0]}).join("|");return{name:"PostgreSQL",aliases:["postgres","postgresql"],supersetOf:"sql",case_insensitive:!0,keywords:{keyword:$+B+D,built_in:K+z+e},illegal:/:==|\W\s*\(\*|(^|\s)\$[a-z]|\{\{|[a-z]:\s*$|\.\.\.|TO:|DO:/,contains:[{className:"keyword",variants:[{begin:/\bTEXT\s*SEARCH\b/},{begin:/\b(PRIMARY|FOREIGN|FOR(\s+NO)?)\s+KEY\b/},{begin:/\bPARALLEL\s+(UNSAFE|RESTRICTED|SAFE)\b/},{begin:/\bSTORAGE\s+(PLAIN|EXTERNAL|EXTENDED|MAIN)\b/},{begin:/\bMATCH\s+(FULL|PARTIAL|SIMPLE)\b/},{begin:/\bNULLS\s+(FIRST|LAST)\b/},{begin:/\bEVENT\s+TRIGGER\b/},{begin:/\b(MAPPING|OR)\s+REPLACE\b/},{begin:/\b(FROM|TO)\s+(PROGRAM|STDIN|STDOUT)\b/},{begin:/\b(SHARE|EXCLUSIVE)\s+MODE\b/},{begin:/\b(LEFT|RIGHT)\s+(OUTER\s+)?JOIN\b/},{begin:/\b(FETCH|MOVE)\s+(NEXT|PRIOR|FIRST|LAST|ABSOLUTE|RELATIVE|FORWARD|BACKWARD)\b/},{begin:/\bPRESERVE\s+ROWS\b/},{begin:/\bDISCARD\s+PLANS\b/},{begin:/\bREFERENCING\s+(OLD|NEW)\b/},{begin:/\bSKIP\s+LOCKED\b/},{begin:/\bGROUPING\s+SETS\b/},{begin:/\b(BINARY|INSENSITIVE|SCROLL|NO\s+SCROLL)\s+(CURSOR|FOR)\b/},{begin:/\b(WITH|WITHOUT)\s+HOLD\b/},{begin:/\bWITH\s+(CASCADED|LOCAL)\s+CHECK\s+OPTION\b/},{begin:/\bEXCLUDE\s+(TIES|NO\s+OTHERS)\b/},{begin:/\bFORMAT\s+(TEXT|XML|JSON|YAML)\b/},{begin:/\bSET\s+((SESSION|LOCAL)\s+)?NAMES\b/},{begin:/\bIS\s+(NOT\s+)?UNKNOWN\b/},{begin:/\bSECURITY\s+LABEL\b/},{begin:/\bSTANDALONE\s+(YES|NO|NO\s+VALUE)\b/},{begin:/\bWITH\s+(NO\s+)?DATA\b/},{begin:/\b(FOREIGN|SET)\s+DATA\b/},{begin:/\bSET\s+(CATALOG|CONSTRAINTS)\b/},{begin:/\b(WITH|FOR)\s+ORDINALITY\b/},{begin:/\bIS\s+(NOT\s+)?DOCUMENT\b/},{begin:/\bXML\s+OPTION\s+(DOCUMENT|CONTENT)\b/},{begin:/\b(STRIP|PRESERVE)\s+WHITESPACE\b/},{begin:/\bNO\s+(ACTION|MAXVALUE|MINVALUE)\b/},{begin:/\bPARTITION\s+BY\s+(RANGE|LIST|HASH)\b/},{begin:/\bAT\s+TIME\s+ZONE\b/},{begin:/\bGRANTED\s+BY\b/},{begin:/\bRETURN\s+(QUERY|NEXT)\b/},{begin:/\b(ATTACH|DETACH)\s+PARTITION\b/},{begin:/\bFORCE\s+ROW\s+LEVEL\s+SECURITY\b/},{begin:/\b(INCLUDING|EXCLUDING)\s+(COMMENTS|CONSTRAINTS|DEFAULTS|IDENTITY|INDEXES|STATISTICS|STORAGE|ALL)\b/},{begin:/\bAS\s+(ASSIGNMENT|IMPLICIT|PERMISSIVE|RESTRICTIVE|ENUM|RANGE)\b/}]},{begin:/\b(FORMAT|FAMILY|VERSION)\s*\(/},{begin:/\bINCLUDE\s*\(/,keywords:"INCLUDE"},{begin:/\bRANGE(?!\s*(BETWEEN|UNBOUNDED|CURRENT|[-0-9]+))/},{begin:/\b(VERSION|OWNER|TEMPLATE|TABLESPACE|CONNECTION\s+LIMIT|PROCEDURE|RESTRICT|JOIN|PARSER|COPY|START|END|COLLATION|INPUT|ANALYZE|STORAGE|LIKE|DEFAULT|DELIMITER|ENCODING|COLUMN|CONSTRAINT|TABLE|SCHEMA)\s*=/},{begin:/\b(PG_\w+?|HAS_[A-Z_]+_PRIVILEGE)\b/,relevance:10},{begin:/\bEXTRACT\s*\(/,end:/\bFROM\b/,returnEnd:!0,keywords:{type:"CENTURY DAY DECADE DOW DOY EPOCH HOUR ISODOW ISOYEAR MICROSECONDS MILLENNIUM MILLISECONDS MINUTE MONTH QUARTER SECOND TIMEZONE TIMEZONE_HOUR TIMEZONE_MINUTE WEEK YEAR"}},{begin:/\b(XMLELEMENT|XMLPI)\s*\(\s*NAME/,keywords:{keyword:"NAME"}},{begin:/\b(XMLPARSE|XMLSERIALIZE)\s*\(\s*(DOCUMENT|CONTENT)/,keywords:{keyword:"DOCUMENT CONTENT"}},{beginKeywords:"CACHE INCREMENT MAXVALUE MINVALUE",end:m.C_NUMBER_RE,returnEnd:!0,keywords:"BY CACHE INCREMENT MAXVALUE MINVALUE"},{className:"type",begin:/\b(WITH|WITHOUT)\s+TIME\s+ZONE\b/},{className:"type",begin:/\bINTERVAL\s+(YEAR|MONTH|DAY|HOUR|MINUTE|SECOND)(\s+TO\s+(MONTH|HOUR|MINUTE|SECOND))?\b/},{begin:/\bRETURNS\s+(LANGUAGE_HANDLER|TRIGGER|EVENT_TRIGGER|FDW_HANDLER|INDEX_AM_HANDLER|TSM_HANDLER)\b/,keywords:{keyword:"RETURNS",type:"LANGUAGE_HANDLER TRIGGER EVENT_TRIGGER FDW_HANDLER INDEX_AM_HANDLER TSM_HANDLER"}},{begin:"\\b("+ie+")\\s*\\("},{begin:"\\.("+U+")\\b"},{begin:"\\b("+U+")\\s+PATH\\b",keywords:{keyword:"PATH",type:R.replace("PATH ","")}},{className:"type",begin:"\\b("+U+")\\b"},{className:"string",begin:"'",end:"'",contains:[{begin:"''"}]},{className:"string",begin:"(e|E|u&|U&)'",end:"'",contains:[{begin:"\\\\."}],relevance:10},m.END_SAME_AS_BEGIN({begin:V,end:V,contains:[{subLanguage:["pgsql","perl","python","tcl","r","lua","java","php","ruby","bash","scheme","xml","json"],endsWithParent:!0}]}),{begin:'"',end:'"',contains:[{begin:'""'}]},m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE,M,{className:"meta",variants:[{begin:"%(ROW)?TYPE",relevance:10},{begin:"\\$\\d+"},{begin:"^#\\w",end:"$"}]},{className:"symbol",begin:q,relevance:10}]}}return pgsql_1=k,pgsql_1}var php_1,hasRequiredPhp;function requirePhp(){if(hasRequiredPhp)return php_1;hasRequiredPhp=1;function k(m){const M=m.regex,G=/(?![A-Za-z0-9])(?![$])/,V=M.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,G),q=M.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,G),$={scope:"variable",match:"\\$+"+V},D={scope:"meta",variants:[{begin:/<\?php/,relevance:10},{begin:/<\?=/},{begin:/<\?/,relevance:.1},{begin:/\?>/}]},B={scope:"subst",variants:[{begin:/\$\w+/},{begin:/\{\$/,end:/\}/}]},R=m.inherit(m.APOS_STRING_MODE,{illegal:null}),U=m.inherit(m.QUOTE_STRING_MODE,{illegal:null,contains:m.QUOTE_STRING_MODE.contains.concat(B)}),K={begin:/<<<[ \t]*(?:(\w+)|"(\w+)")\n/,end:/[ \t]*(\w+)\b/,contains:m.QUOTE_STRING_MODE.contains.concat(B),"on:begin":(fe,ve)=>{ve.data._beginMatch=fe[1]||fe[2]},"on:end":(fe,ve)=>{ve.data._beginMatch!==fe[1]&&ve.ignoreMatch()}},z=m.END_SAME_AS_BEGIN({begin:/<<<[ \t]*'(\w+)'\n/,end:/[ \t]*(\w+)\b/}),e=`[ +]`,ae={scope:"string",variants:[U,R,K,z]},ie={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},he=["false","null","true"],J=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],W=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],L={keyword:J,literal:(fe=>{const ve=[];return fe.forEach(ye=>{ve.push(ye),ye.toLowerCase()===ye?ve.push(ye.toUpperCase()):ve.push(ye.toLowerCase())}),ve})(he),built_in:W},Q=fe=>fe.map(ve=>ve.replace(/\|\d+$/,"")),ce={variants:[{match:[/new/,M.concat(e,"+"),M.concat("(?!",Q(W).join("\\b|"),"\\b)"),q],scope:{1:"keyword",4:"title.class"}}]},de=M.concat(V,"\\b(?!\\()"),se={variants:[{match:[M.concat(/::/,M.lookahead(/(?!class\b)/)),de],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[q,M.concat(/::/,M.lookahead(/(?!class\b)/)),de],scope:{1:"title.class",3:"variable.constant"}},{match:[q,M.concat("::",M.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[q,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},oe={scope:"attr",match:M.concat(V,M.lookahead(":"),M.lookahead(/(?!::)/))},me={relevance:0,begin:/\(/,end:/\)/,keywords:L,contains:[oe,$,se,m.C_BLOCK_COMMENT_MODE,ae,ie,ce]},Ee={relevance:0,match:[/\b/,M.concat("(?!fn\\b|function\\b|",Q(J).join("\\b|"),"|",Q(W).join("\\b|"),"\\b)"),V,M.concat(e,"*"),M.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[me]};me.contains.push(Ee);const ke=[oe,se,m.C_BLOCK_COMMENT_MODE,ae,ie,ce],xe={begin:M.concat(/#\[\s*/,q),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:he,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:he,keyword:["new","array"]},contains:["self",...ke]},...ke,{scope:"meta",match:q}]};return{case_insensitive:!1,keywords:L,contains:[xe,m.HASH_COMMENT_MODE,m.COMMENT("//","$"),m.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:m.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},D,{scope:"variable.language",match:/\$this\b/},$,Ee,se,{match:[/const/,/\s/,V],scope:{1:"keyword",3:"variable.constant"}},ce,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},m.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:L,contains:["self",$,se,m.C_BLOCK_COMMENT_MODE,ae,ie]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trait",illegal:/[:($"]/}],relevance:0,end:/\{/,excludeEnd:!0,contains:[{beginKeywords:"extends implements"},m.UNDERSCORE_TITLE_MODE]},{beginKeywords:"namespace",relevance:0,end:";",illegal:/[.']/,contains:[m.inherit(m.UNDERSCORE_TITLE_MODE,{scope:"title.class"})]},{beginKeywords:"use",relevance:0,end:";",contains:[{match:/\b(as|const|function)\b/,scope:"keyword"},m.UNDERSCORE_TITLE_MODE]},ae,ie]}}return php_1=k,php_1}var phpTemplate_1,hasRequiredPhpTemplate;function requirePhpTemplate(){if(hasRequiredPhpTemplate)return phpTemplate_1;hasRequiredPhpTemplate=1;function k(m){return{name:"PHP template",subLanguage:"xml",contains:[{begin:/<\?(php|=)?/,end:/\?>/,subLanguage:"php",contains:[{begin:"/\\*",end:"\\*/",skip:!0},{begin:'b"',end:'"',skip:!0},{begin:"b'",end:"'",skip:!0},m.inherit(m.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}return phpTemplate_1=k,phpTemplate_1}var plaintext_1,hasRequiredPlaintext;function requirePlaintext(){if(hasRequiredPlaintext)return plaintext_1;hasRequiredPlaintext=1;function k(m){return{name:"Plain text",aliases:["text","txt"],disableAutodetect:!0}}return plaintext_1=k,plaintext_1}var pony_1,hasRequiredPony;function requirePony(){if(hasRequiredPony)return pony_1;hasRequiredPony=1;function k(m){const M={keyword:"actor addressof and as be break class compile_error compile_intrinsic consume continue delegate digestof do else elseif embed end error for fun if ifdef in interface is isnt lambda let match new not object or primitive recover repeat return struct then trait try type until use var where while with xor",meta:"iso val tag trn box ref",literal:"this false true"},G={className:"string",begin:'"""',end:'"""',relevance:10},V={className:"string",begin:'"',end:'"',contains:[m.BACKSLASH_ESCAPE]},q={className:"string",begin:"'",end:"'",contains:[m.BACKSLASH_ESCAPE],relevance:0},$={className:"type",begin:"\\b_?[A-Z][\\w]*",relevance:0},D={begin:m.IDENT_RE+"'",relevance:0};return{name:"Pony",keywords:M,contains:[$,G,V,q,D,{className:"number",begin:"(-?)(\\b0[xX][a-fA-F0-9]+|\\b0[bB][01]+|(\\b\\d+(_\\d+)?(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",relevance:0},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]}}return pony_1=k,pony_1}var powershell_1,hasRequiredPowershell;function requirePowershell(){if(hasRequiredPowershell)return powershell_1;hasRequiredPowershell=1;function k(m){const M=["string","char","byte","int","long","bool","decimal","single","double","DateTime","xml","array","hashtable","void"],G="Add|Clear|Close|Copy|Enter|Exit|Find|Format|Get|Hide|Join|Lock|Move|New|Open|Optimize|Pop|Push|Redo|Remove|Rename|Reset|Resize|Search|Select|Set|Show|Skip|Split|Step|Switch|Undo|Unlock|Watch|Backup|Checkpoint|Compare|Compress|Convert|ConvertFrom|ConvertTo|Dismount|Edit|Expand|Export|Group|Import|Initialize|Limit|Merge|Mount|Out|Publish|Restore|Save|Sync|Unpublish|Update|Approve|Assert|Build|Complete|Confirm|Deny|Deploy|Disable|Enable|Install|Invoke|Register|Request|Restart|Resume|Start|Stop|Submit|Suspend|Uninstall|Unregister|Wait|Debug|Measure|Ping|Repair|Resolve|Test|Trace|Connect|Disconnect|Read|Receive|Send|Write|Block|Grant|Protect|Revoke|Unblock|Unprotect|Use|ForEach|Sort|Tee|Where",V="-and|-as|-band|-bnot|-bor|-bxor|-casesensitive|-ccontains|-ceq|-cge|-cgt|-cle|-clike|-clt|-cmatch|-cne|-cnotcontains|-cnotlike|-cnotmatch|-contains|-creplace|-csplit|-eq|-exact|-f|-file|-ge|-gt|-icontains|-ieq|-ige|-igt|-ile|-ilike|-ilt|-imatch|-in|-ine|-inotcontains|-inotlike|-inotmatch|-ireplace|-is|-isnot|-isplit|-join|-le|-like|-lt|-match|-ne|-not|-notcontains|-notin|-notlike|-notmatch|-or|-regex|-replace|-shl|-shr|-split|-wildcard|-xor",q={$pattern:/-?[A-z\.\-]+\b/,keyword:"if else foreach return do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try process catch hidden static parameter",built_in:"ac asnp cat cd CFS chdir clc clear clhy cli clp cls clv cnsn compare copy cp cpi cpp curl cvpa dbp del diff dir dnsn ebp echo|0 epal epcsv epsn erase etsn exsn fc fhx fl ft fw gal gbp gc gcb gci gcm gcs gdr gerr ghy gi gin gjb gl gm gmo gp gps gpv group gsn gsnp gsv gtz gu gv gwmi h history icm iex ihy ii ipal ipcsv ipmo ipsn irm ise iwmi iwr kill lp ls man md measure mi mount move mp mv nal ndr ni nmo npssc nsn nv ogv oh popd ps pushd pwd r rbp rcjb rcsn rd rdr ren ri rjb rm rmdir rmo rni rnp rp rsn rsnp rujb rv rvpa rwmi sajb sal saps sasv sbp sc scb select set shcm si sl sleep sls sort sp spjb spps spsv start stz sujb sv swmi tee trcm type wget where wjb write"},$=/\w[\w\d]*((-)[\w\d]+)*/,D={begin:"`[\\s\\S]",relevance:0},B={className:"variable",variants:[{begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]},R={className:"literal",begin:/\$(null|true|false)\b/},U={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],contains:[D,B,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},K={className:"string",variants:[{begin:/'/,end:/'/},{begin:/@'/,end:/^'@/}]},z={className:"doctag",variants:[{begin:/\.(synopsis|description|example|inputs|outputs|notes|link|component|role|functionality)/},{begin:/\.(parameter|forwardhelptargetname|forwardhelpcategory|remotehelprunspace|externalhelp)\s+\S+/}]},e=m.inherit(m.COMMENT(null,null),{variants:[{begin:/#/,end:/$/},{begin:/<#/,end:/#>/}],contains:[z]}),ae={className:"built_in",variants:[{begin:"(".concat(G,")+(-)[\\w\\d]+")}]},ie={className:"class",beginKeywords:"class enum",end:/\s*[{]/,excludeEnd:!0,relevance:0,contains:[m.TITLE_MODE]},he={className:"function",begin:/function\s+/,end:/\s*\{|$/,excludeEnd:!0,returnBegin:!0,relevance:0,contains:[{begin:"function",relevance:0,className:"keyword"},{className:"title",begin:$,relevance:0},{begin:/\(/,end:/\)/,className:"params",relevance:0,contains:[B]}]},J={begin:/using\s/,end:/$/,returnBegin:!0,contains:[U,K,{className:"keyword",begin:/(using|assembly|command|module|namespace|type)/}]},W={variants:[{className:"operator",begin:"(".concat(V,")\\b")},{className:"literal",begin:/(-){1,2}[\w\d-]+/,relevance:0}]},X={className:"selector-tag",begin:/@\B/,relevance:0},L={className:"function",begin:/\[.*\]\s*[\w]+[ ]??\(/,end:/$/,returnBegin:!0,relevance:0,contains:[{className:"keyword",begin:"(".concat(q.keyword.toString().replace(/\s/g,"|"),")\\b"),endsParent:!0,relevance:0},m.inherit(m.TITLE_MODE,{endsParent:!0})]},Q=[L,e,D,m.NUMBER_MODE,U,K,ae,B,R,X],ce={begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[].concat("self",Q,{begin:"("+M.join("|")+")",className:"built_in",relevance:0},{className:"type",begin:/[\.\w\d]+/,relevance:0})};return L.contains.unshift(ce),{name:"PowerShell",aliases:["pwsh","ps","ps1"],case_insensitive:!0,keywords:q,contains:Q.concat(ie,he,J,W,ce)}}return powershell_1=k,powershell_1}var processing_1,hasRequiredProcessing;function requireProcessing(){if(hasRequiredProcessing)return processing_1;hasRequiredProcessing=1;function k(m){const M=m.regex,G=["displayHeight","displayWidth","mouseY","mouseX","mousePressed","pmouseX","pmouseY","key","keyCode","pixels","focused","frameCount","frameRate","height","width","size","createGraphics","beginDraw","createShape","loadShape","PShape","arc","ellipse","line","point","quad","rect","triangle","bezier","bezierDetail","bezierPoint","bezierTangent","curve","curveDetail","curvePoint","curveTangent","curveTightness","shape","shapeMode","beginContour","beginShape","bezierVertex","curveVertex","endContour","endShape","quadraticVertex","vertex","ellipseMode","noSmooth","rectMode","smooth","strokeCap","strokeJoin","strokeWeight","mouseClicked","mouseDragged","mouseMoved","mousePressed","mouseReleased","mouseWheel","keyPressed","keyPressedkeyReleased","keyTyped","print","println","save","saveFrame","day","hour","millis","minute","month","second","year","background","clear","colorMode","fill","noFill","noStroke","stroke","alpha","blue","brightness","color","green","hue","lerpColor","red","saturation","modelX","modelY","modelZ","screenX","screenY","screenZ","ambient","emissive","shininess","specular","add","createImage","beginCamera","camera","endCamera","frustum","ortho","perspective","printCamera","printProjection","cursor","frameRate","noCursor","exit","loop","noLoop","popStyle","pushStyle","redraw","binary","boolean","byte","char","float","hex","int","str","unbinary","unhex","join","match","matchAll","nf","nfc","nfp","nfs","split","splitTokens","trim","append","arrayCopy","concat","expand","reverse","shorten","sort","splice","subset","box","sphere","sphereDetail","createInput","createReader","loadBytes","loadJSONArray","loadJSONObject","loadStrings","loadTable","loadXML","open","parseXML","saveTable","selectFolder","selectInput","beginRaw","beginRecord","createOutput","createWriter","endRaw","endRecord","PrintWritersaveBytes","saveJSONArray","saveJSONObject","saveStream","saveStrings","saveXML","selectOutput","popMatrix","printMatrix","pushMatrix","resetMatrix","rotate","rotateX","rotateY","rotateZ","scale","shearX","shearY","translate","ambientLight","directionalLight","lightFalloff","lights","lightSpecular","noLights","normal","pointLight","spotLight","image","imageMode","loadImage","noTint","requestImage","tint","texture","textureMode","textureWrap","blend","copy","filter","get","loadPixels","set","updatePixels","blendMode","loadShader","PShaderresetShader","shader","createFont","loadFont","text","textFont","textAlign","textLeading","textMode","textSize","textWidth","textAscent","textDescent","abs","ceil","constrain","dist","exp","floor","lerp","log","mag","map","max","min","norm","pow","round","sq","sqrt","acos","asin","atan","atan2","cos","degrees","radians","sin","tan","noise","noiseDetail","noiseSeed","random","randomGaussian","randomSeed"],V=m.IDENT_RE,q={variants:[{match:M.concat(M.either(...G),M.lookahead(/\s*\(/)),className:"built_in"},{relevance:0,match:M.concat(/\b(?!for|if|while)/,V,M.lookahead(/\s*\(/)),className:"title.function"}]},$={match:[/new\s+/,V],className:{1:"keyword",2:"class.title"}},D={relevance:0,match:[/\./,V],className:{2:"property"}},B={variants:[{match:[/class/,/\s+/,V,/\s+/,/extends/,/\s+/,V]},{match:[/class/,/\s+/,V]}],className:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},R=["boolean","byte","char","color","double","float","int","long","short"],U=["BufferedReader","PVector","PFont","PImage","PGraphics","HashMap","String","Array","FloatDict","ArrayList","FloatList","IntDict","IntList","JSONArray","JSONObject","Object","StringDict","StringList","Table","TableRow","XML"];return{name:"Processing",aliases:["pde"],keywords:{keyword:[...["abstract","assert","break","case","catch","const","continue","default","else","enum","final","finally","for","if","import","instanceof","long","native","new","package","private","private","protected","protected","public","public","return","static","strictfp","switch","synchronized","throw","throws","transient","try","void","volatile","while"]],literal:"P2D P3D HALF_PI PI QUARTER_PI TAU TWO_PI null true false",title:"setup draw",variable:"super this",built_in:[...G,...U],type:R},contains:[B,$,q,D,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE]}}return processing_1=k,processing_1}var profile_1,hasRequiredProfile;function requireProfile(){if(hasRequiredProfile)return profile_1;hasRequiredProfile=1;function k(m){return{name:"Python profiler",contains:[m.C_NUMBER_MODE,{begin:"[a-zA-Z_][\\da-zA-Z_]+\\.[\\da-zA-Z_]{1,3}",end:":",excludeEnd:!0},{begin:"(ncalls|tottime|cumtime)",end:"$",keywords:"ncalls tottime|10 cumtime|10 filename",relevance:10},{begin:"function calls",end:"$",contains:[m.C_NUMBER_MODE],relevance:10},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{className:"string",begin:"\\(",end:"\\)$",excludeBegin:!0,excludeEnd:!0,relevance:0}]}}return profile_1=k,profile_1}var prolog_1,hasRequiredProlog;function requireProlog(){if(hasRequiredProlog)return prolog_1;hasRequiredProlog=1;function k(m){const M={begin:/[a-z][A-Za-z0-9_]*/,relevance:0},G={className:"symbol",variants:[{begin:/[A-Z][a-zA-Z0-9_]*/},{begin:/_[A-Za-z0-9_]*/}],relevance:0},V={begin:/\(/,end:/\)/,relevance:0},q={begin:/\[/,end:/\]/},$={className:"comment",begin:/%/,end:/$/,contains:[m.PHRASAL_WORDS_MODE]},D={className:"string",begin:/`/,end:/`/,contains:[m.BACKSLASH_ESCAPE]},B={className:"string",begin:/0'(\\'|.)/},R={className:"string",begin:/0'\\s/},K=[M,G,V,{begin:/:-/},q,$,m.C_BLOCK_COMMENT_MODE,m.QUOTE_STRING_MODE,m.APOS_STRING_MODE,D,B,R,m.C_NUMBER_MODE];return V.contains=K,q.contains=K,{name:"Prolog",contains:K.concat([{begin:/\.$/}])}}return prolog_1=k,prolog_1}var properties_1,hasRequiredProperties;function requireProperties(){if(hasRequiredProperties)return properties_1;hasRequiredProperties=1;function k(m){const M="[ \\t\\f]*",G="[ \\t\\f]+",V=M+"[:=]"+M,q=G,$="("+V+"|"+q+")",D="([^\\\\:= \\t\\f\\n]|\\\\.)+",B={end:$,relevance:0,starts:{className:"string",end:/$/,relevance:0,contains:[{begin:"\\\\\\\\"},{begin:"\\\\\\n"}]}};return{name:".properties",disableAutodetect:!0,case_insensitive:!0,illegal:/\S/,contains:[m.COMMENT("^\\s*[!#]","$"),{returnBegin:!0,variants:[{begin:D+V},{begin:D+q}],contains:[{className:"attr",begin:D,endsParent:!0}],starts:B},{className:"attr",begin:D+M+"$"}]}}return properties_1=k,properties_1}var protobuf_1,hasRequiredProtobuf;function requireProtobuf(){if(hasRequiredProtobuf)return protobuf_1;hasRequiredProtobuf=1;function k(m){const M=["package","import","option","optional","required","repeated","group","oneof"],G=["double","float","int32","int64","uint32","uint64","sint32","sint64","fixed32","fixed64","sfixed32","sfixed64","bool","string","bytes"],V={match:[/(message|enum|service)\s+/,m.IDENT_RE],scope:{1:"keyword",2:"title.class"}};return{name:"Protocol Buffers",aliases:["proto"],keywords:{keyword:M,type:G,literal:["true","false"]},contains:[m.QUOTE_STRING_MODE,m.NUMBER_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,V,{className:"function",beginKeywords:"rpc",end:/[{;]/,excludeEnd:!0,keywords:"rpc returns"},{begin:/^\s*[A-Z_]+(?=\s*=[^\n]+;$)/}]}}return protobuf_1=k,protobuf_1}var puppet_1,hasRequiredPuppet;function requirePuppet(){if(hasRequiredPuppet)return puppet_1;hasRequiredPuppet=1;function k(m){const M={keyword:"and case default else elsif false if in import enherits node or true undef unless main settings $string ",literal:"alias audit before loglevel noop require subscribe tag owner ensure group mode name|0 changes context force incl lens load_path onlyif provider returns root show_diff type_check en_address ip_address realname command environment hour monute month monthday special target weekday creates cwd ogoutput refresh refreshonly tries try_sleep umask backup checksum content ctime force ignore links mtime purge recurse recurselimit replace selinux_ignore_defaults selrange selrole seltype seluser source souirce_permissions sourceselect validate_cmd validate_replacement allowdupe attribute_membership auth_membership forcelocal gid ia_load_module members system host_aliases ip allowed_trunk_vlans description device_url duplex encapsulation etherchannel native_vlan speed principals allow_root auth_class auth_type authenticate_user k_of_n mechanisms rule session_owner shared options device fstype enable hasrestart directory present absent link atboot blockdevice device dump pass remounts poller_tag use message withpath adminfile allow_virtual allowcdrom category configfiles flavor install_options instance package_settings platform responsefile status uninstall_options vendor unless_system_user unless_uid binary control flags hasstatus manifest pattern restart running start stop allowdupe auths expiry gid groups home iterations key_membership keys managehome membership password password_max_age password_min_age profile_membership profiles project purge_ssh_keys role_membership roles salt shell uid baseurl cost descr enabled enablegroups exclude failovermethod gpgcheck gpgkey http_caching include includepkgs keepalive metadata_expire metalink mirrorlist priority protect proxy proxy_password proxy_username repo_gpgcheck s3_enabled skip_if_unavailable sslcacert sslclientcert sslclientkey sslverify mounted",built_in:"architecture augeasversion blockdevices boardmanufacturer boardproductname boardserialnumber cfkey dhcp_servers domain ec2_ ec2_userdata facterversion filesystems ldom fqdn gid hardwareisa hardwaremodel hostname id|0 interfaces ipaddress ipaddress_ ipaddress6 ipaddress6_ iphostnumber is_virtual kernel kernelmajversion kernelrelease kernelversion kernelrelease kernelversion lsbdistcodename lsbdistdescription lsbdistid lsbdistrelease lsbmajdistrelease lsbminordistrelease lsbrelease macaddress macaddress_ macosx_buildversion macosx_productname macosx_productversion macosx_productverson_major macosx_productversion_minor manufacturer memoryfree memorysize netmask metmask_ network_ operatingsystem operatingsystemmajrelease operatingsystemrelease osfamily partitions path physicalprocessorcount processor processorcount productname ps puppetversion rubysitedir rubyversion selinux selinux_config_mode selinux_config_policy selinux_current_mode selinux_current_mode selinux_enforced selinux_policyversion serialnumber sp_ sshdsakey sshecdsakey sshrsakey swapencrypted swapfree swapsize timezone type uniqueid uptime uptime_days uptime_hours uptime_seconds uuid virtual vlans xendomains zfs_version zonenae zones zpool_version"},G=m.COMMENT("#","$"),V="([A-Za-z_]|::)(\\w|::)*",q=m.inherit(m.TITLE_MODE,{begin:V}),$={className:"variable",begin:"\\$"+V},D={className:"string",contains:[m.BACKSLASH_ESCAPE,$],variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]};return{name:"Puppet",aliases:["pp"],contains:[G,$,D,{beginKeywords:"class",end:"\\{|;",illegal:/=/,contains:[q,G]},{beginKeywords:"define",end:/\{/,contains:[{className:"section",begin:m.IDENT_RE,endsParent:!0}]},{begin:m.IDENT_RE+"\\s+\\{",returnBegin:!0,end:/\S/,contains:[{className:"keyword",begin:m.IDENT_RE,relevance:.2},{begin:/\{/,end:/\}/,keywords:M,relevance:0,contains:[D,G,{begin:"[a-zA-Z_]+\\s*=>",returnBegin:!0,end:"=>",contains:[{className:"attr",begin:m.IDENT_RE}]},{className:"number",begin:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",relevance:0},$]}],relevance:0}]}}return puppet_1=k,puppet_1}var purebasic_1,hasRequiredPurebasic;function requirePurebasic(){if(hasRequiredPurebasic)return purebasic_1;hasRequiredPurebasic=1;function k(m){const M={className:"string",begin:'(~)?"',end:'"',illegal:"\\n"},G={className:"symbol",begin:"#[a-zA-Z_]\\w*\\$?"};return{name:"PureBASIC",aliases:["pb","pbi"],keywords:"Align And Array As Break CallDebugger Case CompilerCase CompilerDefault CompilerElse CompilerElseIf CompilerEndIf CompilerEndSelect CompilerError CompilerIf CompilerSelect CompilerWarning Continue Data DataSection Debug DebugLevel Declare DeclareC DeclareCDLL DeclareDLL DeclareModule Default Define Dim DisableASM DisableDebugger DisableExplicit Else ElseIf EnableASM EnableDebugger EnableExplicit End EndDataSection EndDeclareModule EndEnumeration EndIf EndImport EndInterface EndMacro EndModule EndProcedure EndSelect EndStructure EndStructureUnion EndWith Enumeration EnumerationBinary Extends FakeReturn For ForEach ForEver Global Gosub Goto If Import ImportC IncludeBinary IncludeFile IncludePath Interface List Macro MacroExpandedCount Map Module NewList NewMap Next Not Or Procedure ProcedureC ProcedureCDLL ProcedureDLL ProcedureReturn Protected Prototype PrototypeC ReDim Read Repeat Restore Return Runtime Select Shared Static Step Structure StructureUnion Swap Threaded To UndefineMacro Until Until UnuseModule UseModule Wend While With XIncludeFile XOr",contains:[m.COMMENT(";","$",{relevance:0}),{className:"function",begin:"\\b(Procedure|Declare)(C|CDLL|DLL)?\\b",end:"\\(",excludeEnd:!0,returnBegin:!0,contains:[{className:"keyword",begin:"(Procedure|Declare)(C|CDLL|DLL)?",excludeEnd:!0},{className:"type",begin:"\\.\\w*"},m.UNDERSCORE_TITLE_MODE]},M,G]}}return purebasic_1=k,purebasic_1}var python_1,hasRequiredPython;function requirePython(){if(hasRequiredPython)return python_1;hasRequiredPython=1;function k(m){const M=m.regex,G=/[\p{XID_Start}_]\p{XID_Continue}*/u,V=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],B={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:V,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},R={className:"meta",begin:/^(>>>|\.\.\.) /},U={className:"subst",begin:/\{/,end:/\}/,keywords:B,illegal:/#/},K={begin:/\{\{/,relevance:0},z={className:"string",contains:[m.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[m.BACKSLASH_ESCAPE,R],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[m.BACKSLASH_ESCAPE,R],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[m.BACKSLASH_ESCAPE,R,K,U]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[m.BACKSLASH_ESCAPE,R,K,U]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[m.BACKSLASH_ESCAPE,K,U]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[m.BACKSLASH_ESCAPE,K,U]},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]},e="[0-9](_?[0-9])*",ae=`(\\b(${e}))?\\.(${e})|\\b(${e})\\.`,ie=`\\b|${V.join("|")}`,he={className:"number",relevance:0,variants:[{begin:`(\\b(${e})|(${ae}))[eE][+-]?(${e})[jJ]?(?=${ie})`},{begin:`(${ae})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${ie})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${ie})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${ie})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${ie})`},{begin:`\\b(${e})[jJ](?=${ie})`}]},J={className:"comment",begin:M.lookahead(/# type:/),end:/$/,keywords:B,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},W={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:B,contains:["self",R,he,z,m.HASH_COMMENT_MODE]}]};return U.contains=[z,he,R],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:B,illegal:/(<\/|\?)|=>/,contains:[R,he,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},z,J,m.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,G],scope:{1:"keyword",3:"title.function"},contains:[W]},{variants:[{match:[/\bclass/,/\s+/,G,/\s*/,/\(\s*/,G,/\s*\)/]},{match:[/\bclass/,/\s+/,G]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[he,W,z]}]}}return python_1=k,python_1}var pythonRepl_1,hasRequiredPythonRepl;function requirePythonRepl(){if(hasRequiredPythonRepl)return pythonRepl_1;hasRequiredPythonRepl=1;function k(m){return{aliases:["pycon"],contains:[{className:"meta.prompt",starts:{end:/ |$/,starts:{end:"$",subLanguage:"python"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\.\.\.(?=[ ]|$)/}]}]}}return pythonRepl_1=k,pythonRepl_1}var q_1,hasRequiredQ;function requireQ(){if(hasRequiredQ)return q_1;hasRequiredQ=1;function k(m){return{name:"Q",aliases:["k","kdb"],keywords:{$pattern:/(`?)[A-Za-z0-9_]+\b/,keyword:"do while select delete by update from",literal:"0b 1b",built_in:"neg not null string reciprocal floor ceiling signum mod xbar xlog and or each scan over prior mmu lsq inv md5 ltime gtime count first var dev med cov cor all any rand sums prds mins maxs fills deltas ratios avgs differ prev next rank reverse iasc idesc asc desc msum mcount mavg mdev xrank mmin mmax xprev rotate distinct group where flip type key til get value attr cut set upsert raze union inter except cross sv vs sublist enlist read0 read1 hopen hclose hdel hsym hcount peach system ltrim rtrim trim lower upper ssr view tables views cols xcols keys xkey xcol xasc xdesc fkeys meta lj aj aj0 ij pj asof uj ww wj wj1 fby xgroup ungroup ej save load rsave rload show csv parse eval min max avg wavg wsum sin cos tan sum",type:"`float `double int `timestamp `timespan `datetime `time `boolean `symbol `char `byte `short `long `real `month `date `minute `second `guid"},contains:[m.C_LINE_COMMENT_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE]}}return q_1=k,q_1}var qml_1,hasRequiredQml;function requireQml(){if(hasRequiredQml)return qml_1;hasRequiredQml=1;function k(m){const M=m.regex,G={keyword:"in of on if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const export super debugger as async await import",literal:"true false null undefined NaN Infinity",built_in:"eval isFinite isNaN parseFloat parseInt decodeURI decodeURIComponent encodeURI encodeURIComponent escape unescape Object Function Boolean Error EvalError InternalError RangeError ReferenceError StopIteration SyntaxError TypeError URIError Number Math Date String RegExp Array Float32Array Float64Array Int16Array Int32Array Int8Array Uint16Array Uint32Array Uint8Array Uint8ClampedArray ArrayBuffer DataView JSON Intl arguments require module console window document Symbol Set Map WeakSet WeakMap Proxy Reflect Behavior bool color coordinate date double enumeration font geocircle georectangle geoshape int list matrix4x4 parent point quaternion real rect size string url variant vector2d vector3d vector4d Promise"},V="[a-zA-Z_][a-zA-Z0-9\\._]*",q={className:"keyword",begin:"\\bproperty\\b",starts:{className:"string",end:"(:|=|;|,|//|/\\*|$)",returnEnd:!0}},$={className:"keyword",begin:"\\bsignal\\b",starts:{className:"string",end:"(\\(|:|=|;|,|//|/\\*|$)",returnEnd:!0}},D={className:"attribute",begin:"\\bid\\s*:",starts:{className:"string",end:V,returnEnd:!1}},B={begin:V+"\\s*:",returnBegin:!0,contains:[{className:"attribute",begin:V,end:"\\s*:",excludeEnd:!0,relevance:0}],relevance:0},R={begin:M.concat(V,/\s*\{/),end:/\{/,returnBegin:!0,relevance:0,contains:[m.inherit(m.TITLE_MODE,{begin:V})]};return{name:"QML",aliases:["qt"],case_insensitive:!1,keywords:G,contains:[{className:"meta",begin:/^\s*['"]use (strict|asm)['"]/},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[m.BACKSLASH_ESCAPE,{className:"subst",begin:"\\$\\{",end:"\\}"}]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"number",variants:[{begin:"\\b(0[bB][01]+)"},{begin:"\\b(0[oO][0-7]+)"},{begin:m.C_NUMBER_RE}],relevance:0},{begin:"("+m.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.REGEXP_MODE,{begin:/\s*[);\]]/,relevance:0,subLanguage:"xml"}],relevance:0},$,q,{className:"function",beginKeywords:"function",end:/\{/,excludeEnd:!0,contains:[m.inherit(m.TITLE_MODE,{begin:/[A-Za-z$_][0-9A-Za-z$_]*/}),{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]}],illegal:/\[|%/},{begin:"\\."+m.IDENT_RE,relevance:0},D,B,R],illegal:/#/}}return qml_1=k,qml_1}var r_1,hasRequiredR;function requireR(){if(hasRequiredR)return r_1;hasRequiredR=1;function k(m){const M=m.regex,G=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,V=M.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),q=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,$=M.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/);return{name:"R",keywords:{$pattern:G,keyword:"function if in break next repeat else for while",literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"},contains:[m.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,starts:{end:M.lookahead(M.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{scope:"variable",variants:[{match:G},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]}),m.HASH_COMMENT_MODE,{scope:"string",contains:[m.BACKSLASH_ESCAPE],variants:[m.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/}),m.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/}),m.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/}),m.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/}),m.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/}),m.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{1:"operator",2:"number"},match:[q,V]},{scope:{1:"operator",2:"number"},match:[/%[^%]*%/,V]},{scope:{1:"punctuation",2:"number"},match:[$,V]},{scope:{2:"number"},match:[/[^a-zA-Z0-9._]|^/,V]}]},{scope:{3:"operator"},match:[G,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:q},{match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:$},{begin:"`",end:"`",contains:[{begin:/\\./}]}]}}return r_1=k,r_1}var reasonml_1,hasRequiredReasonml;function requireReasonml(){if(hasRequiredReasonml)return reasonml_1;hasRequiredReasonml=1;function k(m){return{name:"ReasonML",aliases:["re"],keywords:{$pattern:/[a-z_]\w*!?/,keyword:["and","as","asr","assert","begin","class","constraint","do","done","downto","else","end","esfun","exception","external","for","fun","function","functor","if","in","include","inherit","initializer","land","lazy","let","lor","lsl","lsr","lxor","mod","module","mutable","new","nonrec","object","of","open","or","pri","pub","rec","sig","struct","switch","then","to","try","type","val","virtual","when","while","with"],built_in:["array","bool","bytes","char","exn|5","float","int","int32","int64","list","lazy_t|5","nativeint|5","ref","string","unit"],literal:["true","false"]},illegal:/(:-|:=|\$\{|\+=)/,contains:[{scope:"literal",match:/\[(\|\|)?\]|\(\)/,relevance:0},m.C_LINE_COMMENT_MODE,m.COMMENT(/\/\*/,/\*\//,{illegal:/^(#,\/\/)/}),{scope:"symbol",match:/\'[A-Za-z_](?!\')[\w\']*/},{scope:"type",match:/`[A-Z][\w\']*/},{scope:"type",match:/\b[A-Z][\w\']*/,relevance:0},{match:/[a-z_]\w*\'[\w\']*/,relevance:0},{scope:"operator",match:/\s+(\|\||\+[\+\.]?|\*[\*\/\.]?|\/[\.]?|\.\.\.|\|>|&&|===?)\s+/,relevance:0},m.inherit(m.APOS_STRING_MODE,{scope:"string",relevance:0}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{scope:"number",variants:[{match:/\b0[xX][a-fA-F0-9_]+[Lln]?/},{match:/\b0[oO][0-7_]+[Lln]?/},{match:/\b0[bB][01_]+[Lln]?/},{match:/\b[0-9][0-9_]*([Lln]|(\.[0-9_]*)?([eE][-+]?[0-9_]+)?)/}],relevance:0}]}}return reasonml_1=k,reasonml_1}var rib_1,hasRequiredRib;function requireRib(){if(hasRequiredRib)return rib_1;hasRequiredRib=1;function k(m){return{name:"RenderMan RIB",keywords:"ArchiveRecord AreaLightSource Atmosphere Attribute AttributeBegin AttributeEnd Basis Begin Blobby Bound Clipping ClippingPlane Color ColorSamples ConcatTransform Cone CoordinateSystem CoordSysTransform CropWindow Curves Cylinder DepthOfField Detail DetailRange Disk Displacement Display End ErrorHandler Exposure Exterior Format FrameAspectRatio FrameBegin FrameEnd GeneralPolygon GeometricApproximation Geometry Hider Hyperboloid Identity Illuminate Imager Interior LightSource MakeCubeFaceEnvironment MakeLatLongEnvironment MakeShadow MakeTexture Matte MotionBegin MotionEnd NuPatch ObjectBegin ObjectEnd ObjectInstance Opacity Option Orientation Paraboloid Patch PatchMesh Perspective PixelFilter PixelSamples PixelVariance Points PointsGeneralPolygons PointsPolygons Polygon Procedural Projection Quantize ReadArchive RelativeDetail ReverseOrientation Rotate Scale ScreenWindow ShadingInterpolation ShadingRate Shutter Sides Skew SolidBegin SolidEnd Sphere SubdivisionMesh Surface TextureCoordinates Torus Transform TransformBegin TransformEnd TransformPoints Translate TrimCurve WorldBegin WorldEnd",illegal:"/}],illegal:/./},m.COMMENT("^#","$"),B,R,D,{begin:/[\w-]+=([^\s{}[\]()>]+)/,relevance:0,returnBegin:!0,contains:[{className:"attribute",begin:/[^=]+/},{begin:/=/,endsWithParent:!0,relevance:0,contains:[B,R,D,{className:"literal",begin:"\\b("+q.split(" ").join("|")+")\\b"},{begin:/("[^"]*"|[^\s{}[\]]+)/}]}]},{className:"number",begin:/\*[0-9a-fA-F]+/},{begin:"\\b("+V.split(" ").join("|")+")([\\s[(\\]|])",returnBegin:!0,contains:[{className:"built_in",begin:/\w+/}]},{className:"built_in",variants:[{begin:"(\\.\\./|/|\\s)(("+$.split(" ").join("|")+");?\\s)+"},{begin:/\.\./,relevance:0}]}]}}return routeros_1=k,routeros_1}var rsl_1,hasRequiredRsl;function requireRsl(){if(hasRequiredRsl)return rsl_1;hasRequiredRsl=1;function k(m){const M=["abs","acos","ambient","area","asin","atan","atmosphere","attribute","calculatenormal","ceil","cellnoise","clamp","comp","concat","cos","degrees","depth","Deriv","diffuse","distance","Du","Dv","environment","exp","faceforward","filterstep","floor","format","fresnel","incident","length","lightsource","log","match","max","min","mod","noise","normalize","ntransform","opposite","option","phong","pnoise","pow","printf","ptlined","radians","random","reflect","refract","renderinfo","round","setcomp","setxcomp","setycomp","setzcomp","shadow","sign","sin","smoothstep","specular","specularbrdf","spline","sqrt","step","tan","texture","textureinfo","trace","transform","vtransform","xcomp","ycomp","zcomp"],G=["matrix","float","color","point","normal","vector"],V=["while","for","if","do","return","else","break","extern","continue"],q={match:[/(surface|displacement|light|volume|imager)/,/\s+/,m.IDENT_RE],scope:{1:"keyword",3:"title.class"}};return{name:"RenderMan RSL",keywords:{keyword:V,built_in:M,type:G},illegal:""},G]}}return rust_1=k,rust_1}var sas_1,hasRequiredSas;function requireSas(){if(hasRequiredSas)return sas_1;hasRequiredSas=1;function k(m){const M=m.regex,G=["do","if","then","else","end","until","while","abort","array","attrib","by","call","cards","cards4","catname","continue","datalines","datalines4","delete","delim","delimiter","display","dm","drop","endsas","error","file","filename","footnote","format","goto","in","infile","informat","input","keep","label","leave","length","libname","link","list","lostcard","merge","missing","modify","options","output","out","page","put","redirect","remove","rename","replace","retain","return","select","set","skip","startsas","stop","title","update","waitsas","where","window","x|0","systask","add","and","alter","as","cascade","check","create","delete","describe","distinct","drop","foreign","from","group","having","index","insert","into","in","key","like","message","modify","msgtype","not","null","on","or","order","primary","references","reset","restrict","select","set","table","unique","update","validate","view","where"],V=["abs","addr","airy","arcos","arsin","atan","attrc","attrn","band","betainv","blshift","bnot","bor","brshift","bxor","byte","cdf","ceil","cexist","cinv","close","cnonct","collate","compbl","compound","compress","cos","cosh","css","curobs","cv","daccdb","daccdbsl","daccsl","daccsyd","dacctab","dairy","date","datejul","datepart","datetime","day","dclose","depdb","depdbsl","depdbsl","depsl","depsl","depsyd","depsyd","deptab","deptab","dequote","dhms","dif","digamma","dim","dinfo","dnum","dopen","doptname","doptnum","dread","dropnote","dsname","erf","erfc","exist","exp","fappend","fclose","fcol","fdelete","fetch","fetchobs","fexist","fget","fileexist","filename","fileref","finfo","finv","fipname","fipnamel","fipstate","floor","fnonct","fnote","fopen","foptname","foptnum","fpoint","fpos","fput","fread","frewind","frlen","fsep","fuzz","fwrite","gaminv","gamma","getoption","getvarc","getvarn","hbound","hms","hosthelp","hour","ibessel","index","indexc","indexw","input","inputc","inputn","int","intck","intnx","intrr","irr","jbessel","juldate","kurtosis","lag","lbound","left","length","lgamma","libname","libref","log","log10","log2","logpdf","logpmf","logsdf","lowcase","max","mdy","mean","min","minute","mod","month","mopen","mort","n","netpv","nmiss","normal","note","npv","open","ordinal","pathname","pdf","peek","peekc","pmf","point","poisson","poke","probbeta","probbnml","probchi","probf","probgam","probhypr","probit","probnegb","probnorm","probt","put","putc","putn","qtr","quote","ranbin","rancau","ranexp","rangam","range","rank","rannor","ranpoi","rantbl","rantri","ranuni","repeat","resolve","reverse","rewind","right","round","saving","scan","sdf","second","sign","sin","sinh","skewness","soundex","spedis","sqrt","std","stderr","stfips","stname","stnamel","substr","sum","symget","sysget","sysmsg","sysprod","sysrc","system","tan","tanh","time","timepart","tinv","tnonct","today","translate","tranwrd","trigamma","trim","trimn","trunc","uniform","upcase","uss","var","varfmt","varinfmt","varlabel","varlen","varname","varnum","varray","varrayx","vartype","verify","vformat","vformatd","vformatdx","vformatn","vformatnx","vformatw","vformatwx","vformatx","vinarray","vinarrayx","vinformat","vinformatd","vinformatdx","vinformatn","vinformatnx","vinformatw","vinformatwx","vinformatx","vlabel","vlabelx","vlength","vlengthx","vname","vnamex","vtype","vtypex","weekday","year","yyq","zipfips","zipname","zipnamel","zipstate"],q=["bquote","nrbquote","cmpres","qcmpres","compstor","datatyp","display","do","else","end","eval","global","goto","if","index","input","keydef","label","left","length","let","local","lowcase","macro","mend","nrbquote","nrquote","nrstr","put","qcmpres","qleft","qlowcase","qscan","qsubstr","qsysfunc","qtrim","quote","qupcase","scan","str","substr","superq","syscall","sysevalf","sysexec","sysfunc","sysget","syslput","sysprod","sysrc","sysrput","then","to","trim","unquote","until","upcase","verify","while","window"];return{name:"SAS",case_insensitive:!0,keywords:{literal:["null","missing","_all_","_automatic_","_character_","_infile_","_n_","_name_","_null_","_numeric_","_user_","_webout_"],keyword:G},contains:[{className:"keyword",begin:/^\s*(proc [\w\d_]+|data|run|quit)[\s;]/},{className:"variable",begin:/&[a-zA-Z_&][a-zA-Z0-9_]*\.?/},{begin:[/^\s*/,/datalines;|cards;/,/(?:.*\n)+/,/^\s*;\s*$/],className:{2:"keyword",3:"string"}},{begin:[/%mend|%macro/,/\s+/,/[a-zA-Z_&][a-zA-Z0-9_]*/],className:{1:"built_in",3:"title.function"}},{className:"built_in",begin:"%"+M.either(...q)},{className:"title.function",begin:/%[a-zA-Z_][a-zA-Z_0-9]*/},{className:"meta",begin:M.either(...V)+"(?=\\()"},{className:"string",variants:[m.APOS_STRING_MODE,m.QUOTE_STRING_MODE]},m.COMMENT("\\*",";"),m.C_BLOCK_COMMENT_MODE]}}return sas_1=k,sas_1}var scala_1,hasRequiredScala;function requireScala(){if(hasRequiredScala)return scala_1;hasRequiredScala=1;function k(m){const M=m.regex,G={className:"meta",begin:"@[A-Za-z]+"},V={className:"subst",variants:[{begin:"\\$[A-Za-z0-9_]+"},{begin:/\$\{/,end:/\}/}]},q={className:"string",variants:[{begin:'"""',end:'"""'},{begin:'"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE]},{begin:'[a-z]+"',end:'"',illegal:"\\n",contains:[m.BACKSLASH_ESCAPE,V]},{className:"string",begin:'[a-z]+"""',end:'"""',contains:[V],relevance:10}]},$={className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},D={className:"title",begin:/[^0-9\n\t "'(),.`{}\[\]:;][^\n\t "'(),.`{}\[\]:;]+|[^0-9\n\t "'(),.`{}\[\]:;=]/,relevance:0},B={className:"class",beginKeywords:"class object trait type",end:/[:={\[\n;]/,excludeEnd:!0,contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{beginKeywords:"extends with",relevance:10},{begin:/\[/,end:/\]/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[$,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,relevance:0,contains:[$,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]},D]},R={className:"function",beginKeywords:"def",end:M.lookahead(/[:={\[(\n;]/),contains:[D]},U={begin:[/^\s*/,"extension",/\s+(?=[[(])/],beginScope:{2:"keyword"}},K={begin:[/^\s*/,/end/,/\s+/,/(extension\b)?/],beginScope:{2:"keyword",4:"keyword"}},z=[{match:/\.inline\b/},{begin:/\binline(?=\s)/,keywords:"inline"}],e={begin:[/\(\s*/,/using/,/\s+(?!\))/],beginScope:{2:"keyword"}};return{name:"Scala",keywords:{literal:"true false null",keyword:"type yield lazy override def with val var sealed abstract private trait object if then forSome for while do throw finally protected extends import final return else break new catch super class case package default try this match continue throws implicit export enum given transparent"},contains:[{begin:["//>",/\s+/,/using/,/\s+/,/\S+/],beginScope:{1:"comment",3:"keyword",5:"type"},end:/$/,contains:[{className:"string",begin:/\S+/}]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,q,$,R,B,m.C_NUMBER_MODE,U,K,...z,e,G]}}return scala_1=k,scala_1}var scheme_1,hasRequiredScheme;function requireScheme(){if(hasRequiredScheme)return scheme_1;hasRequiredScheme=1;function k(m){const M="[^\\(\\)\\[\\]\\{\\}\",'`;#|\\\\\\s]+",G="(-|\\+)?\\d+([./]\\d+)?",V=G+"[+\\-]"+G+"i",q={$pattern:M,built_in:"case-lambda call/cc class define-class exit-handler field import inherit init-field interface let*-values let-values let/ec mixin opt-lambda override protect provide public rename require require-for-syntax syntax syntax-case syntax-error unit/sig unless when with-syntax and begin call-with-current-continuation call-with-input-file call-with-output-file case cond define define-syntax delay do dynamic-wind else for-each if lambda let let* let-syntax letrec letrec-syntax map or syntax-rules ' * + , ,@ - ... / ; < <= = => > >= ` abs acos angle append apply asin assoc assq assv atan boolean? caar cadr call-with-input-file call-with-output-file call-with-values car cdddar cddddr cdr ceiling char->integer char-alphabetic? char-ci<=? char-ci=? char-ci>? char-downcase char-lower-case? char-numeric? char-ready? char-upcase char-upper-case? char-whitespace? char<=? char=? char>? char? close-input-port close-output-port complex? cons cos current-input-port current-output-port denominator display eof-object? eq? equal? eqv? eval even? exact->inexact exact? exp expt floor force gcd imag-part inexact->exact inexact? input-port? integer->char integer? interaction-environment lcm length list list->string list->vector list-ref list-tail list? load log magnitude make-polar make-rectangular make-string make-vector max member memq memv min modulo negative? newline not null-environment null? number->string number? numerator odd? open-input-file open-output-file output-port? pair? peek-char port? positive? procedure? quasiquote quote quotient rational? rationalize read read-char real-part real? remainder reverse round scheme-report-environment set! set-car! set-cdr! sin sqrt string string->list string->number string->symbol string-append string-ci<=? string-ci=? string-ci>? string-copy string-fill! string-length string-ref string-set! string<=? string=? string>? string? substring symbol->string symbol? tan transcript-off transcript-on truncate values vector vector->list vector-fill! vector-length vector-ref vector-set! with-input-from-file with-output-to-file write write-char zero?"},$={className:"literal",begin:"(#t|#f|#\\\\"+M+"|#\\\\.)"},D={className:"number",variants:[{begin:G,relevance:0},{begin:V,relevance:0},{begin:"#b[0-1]+(/[0-1]+)?"},{begin:"#o[0-7]+(/[0-7]+)?"},{begin:"#x[0-9a-f]+(/[0-9a-f]+)?"}]},B=m.QUOTE_STRING_MODE,R=[m.COMMENT(";","$",{relevance:0}),m.COMMENT("#\\|","\\|#")],U={begin:M,relevance:0},K={className:"symbol",begin:"'"+M},z={endsWithParent:!0,relevance:0},e={variants:[{begin:/'/},{begin:"`"}],contains:[{begin:"\\(",end:"\\)",contains:["self",$,B,D,U,K]}]},ae={className:"name",relevance:0,begin:M,keywords:q},he={variants:[{begin:"\\(",end:"\\)"},{begin:"\\[",end:"\\]"}],contains:[{begin:/lambda/,endsWithParent:!0,returnBegin:!0,contains:[ae,{endsParent:!0,variants:[{begin:/\(/,end:/\)/},{begin:/\[/,end:/\]/}],contains:[U]}]},ae,z]};return z.contains=[$,D,B,U,K,e,he].concat(R),{name:"Scheme",aliases:["scm"],illegal:/\S/,contains:[m.SHEBANG(),D,B,K,e,he].concat(R)}}return scheme_1=k,scheme_1}var scilab_1,hasRequiredScilab;function requireScilab(){if(hasRequiredScilab)return scilab_1;hasRequiredScilab=1;function k(m){const M=[m.C_NUMBER_MODE,{className:"string",begin:`'|"`,end:`'|"`,contains:[m.BACKSLASH_ESCAPE,{begin:"''"}]}];return{name:"Scilab",aliases:["sci"],keywords:{$pattern:/%?\w+/,keyword:"abort break case clear catch continue do elseif else endfunction end for function global if pause return resume select try then while",literal:"%f %F %t %T %pi %eps %inf %nan %e %i %z %s",built_in:"abs and acos asin atan ceil cd chdir clearglobal cosh cos cumprod deff disp error exec execstr exists exp eye gettext floor fprintf fread fsolve imag isdef isempty isinfisnan isvector lasterror length load linspace list listfiles log10 log2 log max min msprintf mclose mopen ones or pathconvert poly printf prod pwd rand real round sinh sin size gsort sprintf sqrt strcat strcmps tring sum system tanh tan type typename warning zeros matrix"},illegal:'("|#|/\\*|\\s+/\\w+)',contains:[{className:"function",beginKeywords:"function",end:"$",contains:[m.UNDERSCORE_TITLE_MODE,{className:"params",begin:"\\(",end:"\\)"}]},{begin:"[a-zA-Z_][a-zA-Z_0-9]*[\\.']+",relevance:0},{begin:"\\[",end:"\\][\\.']*",relevance:0,contains:M},m.COMMENT("//","$")].concat(M)}}return scilab_1=k,scilab_1}var scss_1,hasRequiredScss;function requireScss(){if(hasRequiredScss)return scss_1;hasRequiredScss=1;const k=D=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:D.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[D.APOS_STRING_MODE,D.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:D.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),m=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],M=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],G=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],V=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],q=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function $(D){const B=k(D),R=V,U=G,K="@[a-z-]+",z="and or not only",ae={className:"variable",begin:"(\\$"+"[a-zA-Z-][a-zA-Z0-9_-]*"+")\\b",relevance:0};return{name:"SCSS",case_insensitive:!0,illegal:"[=/|']",contains:[D.C_LINE_COMMENT_MODE,D.C_BLOCK_COMMENT_MODE,B.CSS_NUMBER_MODE,{className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0},B.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",begin:"\\b("+m.join("|")+")\\b",relevance:0},{className:"selector-pseudo",begin:":("+U.join("|")+")"},{className:"selector-pseudo",begin:":(:)?("+R.join("|")+")"},ae,{begin:/\(/,end:/\)/,contains:[B.CSS_NUMBER_MODE]},B.CSS_VARIABLE,{className:"attribute",begin:"\\b("+q.join("|")+")\\b"},{begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[B.BLOCK_COMMENT,ae,B.HEXCOLOR,B.CSS_NUMBER_MODE,D.QUOTE_STRING_MODE,D.APOS_STRING_MODE,B.IMPORTANT,B.FUNCTION_DISPATCH]},{begin:"@(page|font-face)",keywords:{$pattern:K,keyword:"@page @font-face"}},{begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:z,attribute:M.join(" ")},contains:[{begin:K,className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"},ae,D.QUOTE_STRING_MODE,D.APOS_STRING_MODE,B.HEXCOLOR,B.CSS_NUMBER_MODE]},B.FUNCTION_DISPATCH]}}return scss_1=$,scss_1}var shell_1,hasRequiredShell;function requireShell(){if(hasRequiredShell)return shell_1;hasRequiredShell=1;function k(m){return{name:"Shell Session",aliases:["console","shellsession"],contains:[{className:"meta.prompt",begin:/^\s{0,3}[/~\w\d[\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\](?=\s*$)/,subLanguage:"bash"}}]}}return shell_1=k,shell_1}var smali_1,hasRequiredSmali;function requireSmali(){if(hasRequiredSmali)return smali_1;hasRequiredSmali=1;function k(m){const M=["add","and","cmp","cmpg","cmpl","const","div","double","float","goto","if","int","long","move","mul","neg","new","nop","not","or","rem","return","shl","shr","sput","sub","throw","ushr","xor"],G=["aget","aput","array","check","execute","fill","filled","goto/16","goto/32","iget","instance","invoke","iput","monitor","packed","sget","sparse"],V=["transient","constructor","abstract","final","synthetic","public","private","protected","static","bridge","system"];return{name:"Smali",contains:[{className:"string",begin:'"',end:'"',relevance:0},m.COMMENT("#","$",{relevance:0}),{className:"keyword",variants:[{begin:"\\s*\\.end\\s[a-zA-Z0-9]*"},{begin:"^[ ]*\\.[a-zA-Z]*",relevance:0},{begin:"\\s:[a-zA-Z_0-9]*",relevance:0},{begin:"\\s("+V.join("|")+")"}]},{className:"built_in",variants:[{begin:"\\s("+M.join("|")+")\\s"},{begin:"\\s("+M.join("|")+")((-|/)[a-zA-Z0-9]+)+\\s",relevance:10},{begin:"\\s("+G.join("|")+")((-|/)[a-zA-Z0-9]+)*\\s",relevance:10}]},{className:"class",begin:`L[^(;: +]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}return smali_1=k,smali_1}var smalltalk_1,hasRequiredSmalltalk;function requireSmalltalk(){if(hasRequiredSmalltalk)return smalltalk_1;hasRequiredSmalltalk=1;function k(m){const M="[a-z][a-zA-Z0-9_]*",G={className:"string",begin:"\\$.{1}"},V={className:"symbol",begin:"#"+m.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[m.COMMENT('"','"'),m.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:M+":",relevance:0},m.C_NUMBER_MODE,V,G,{begin:"\\|[ ]*"+M+"([ ]+"+M+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+M}]},{begin:"#\\(",end:"\\)",contains:[m.APOS_STRING_MODE,G,m.C_NUMBER_MODE,V]}]}}return smalltalk_1=k,smalltalk_1}var sml_1,hasRequiredSml;function requireSml(){if(hasRequiredSml)return sml_1;hasRequiredSml=1;function k(m){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},m.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},m.inherit(m.APOS_STRING_MODE,{className:"string",relevance:0}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}return sml_1=k,sml_1}var sqf_1,hasRequiredSqf;function requireSqf(){if(hasRequiredSqf)return sqf_1;hasRequiredSqf=1;function k(m){const M={className:"variable",begin:/\b_+[a-zA-Z]\w*/},G={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},V={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},q=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],$=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],D=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSource","animationNames","animationPhase","animationSourcePhase","animationState","apertureParams","append","apply","armoryPoints","arrayIntersect","asin","ASLToAGL","ASLToATL","assert","assignAsCargo","assignAsCargoIndex","assignAsCommander","assignAsDriver","assignAsGunner","assignAsTurret","assignCurator","assignedCargo","assignedCommander","assignedDriver","assignedGroup","assignedGunner","assignedItems","assignedTarget","assignedTeam","assignedVehicle","assignedVehicleRole","assignedVehicles","assignItem","assignTeam","assignToAirport","atan","atan2","atg","ATLToASL","attachedObject","attachedObjects","attachedTo","attachObject","attachTo","attackEnabled","awake","backpack","backpackCargo","backpackContainer","backpackItems","backpackMagazines","backpackSpaceFor","behaviour","benchmark","bezierInterpolation","binocular","binocularItems","binocularMagazine","boundingBox","boundingBoxReal","boundingCenter","brakesDisabled","briefingName","buildingExit","buildingPos","buldozer_EnableRoadDiag","buldozer_IsEnabledRoadDiag","buldozer_LoadNewRoads","buldozer_reloadOperMap","buttonAction","buttonSetAction","cadetMode","calculatePath","calculatePlayerVisibilityByFriendly","call","callExtension","camCommand","camCommit","camCommitPrepared","camCommitted","camConstuctionSetParams","camCreate","camDestroy","cameraEffect","cameraEffectEnableHUD","cameraInterest","cameraOn","cameraView","campaignConfigFile","camPreload","camPreloaded","camPrepareBank","camPrepareDir","camPrepareDive","camPrepareFocus","camPrepareFov","camPrepareFovRange","camPreparePos","camPrepareRelPos","camPrepareTarget","camSetBank","camSetDir","camSetDive","camSetFocus","camSetFov","camSetFovRange","camSetPos","camSetRelPos","camSetTarget","camTarget","camUseNVG","canAdd","canAddItemToBackpack","canAddItemToUniform","canAddItemToVest","cancelSimpleTaskDestination","canDeployWeapon","canFire","canMove","canSlingLoad","canStand","canSuspend","canTriggerDynamicSimulation","canUnloadInCombat","canVehicleCargo","captive","captiveNum","cbChecked","cbSetChecked","ceil","channelEnabled","cheatsEnabled","checkAIFeature","checkVisibility","className","clear3DENAttribute","clear3DENInventory","clearAllItemsFromBackpack","clearBackpackCargo","clearBackpackCargoGlobal","clearForcesRTD","clearGroupIcons","clearItemCargo","clearItemCargoGlobal","clearItemPool","clearMagazineCargo","clearMagazineCargoGlobal","clearMagazinePool","clearOverlay","clearRadio","clearWeaponCargo","clearWeaponCargoGlobal","clearWeaponPool","clientOwner","closeDialog","closeDisplay","closeOverlay","collapseObjectTree","collect3DENHistory","collectiveRTD","collisionDisabledWith","combatBehaviour","combatMode","commandArtilleryFire","commandChat","commander","commandFire","commandFollow","commandFSM","commandGetOut","commandingMenu","commandMove","commandRadio","commandStop","commandSuppressiveFire","commandTarget","commandWatch","comment","commitOverlay","compatibleItems","compatibleMagazines","compile","compileFinal","compileScript","completedFSM","composeText","configClasses","configFile","configHierarchy","configName","configOf","configProperties","configSourceAddonList","configSourceMod","configSourceModList","confirmSensorTarget","connectTerminalToUAV","connectToServer","controlsGroupCtrl","conversationDisabled","copyFromClipboard","copyToClipboard","copyWaypoints","cos","count","countEnemy","countFriendly","countSide","countType","countUnknown","create3DENComposition","create3DENEntity","createAgent","createCenter","createDialog","createDiaryLink","createDiaryRecord","createDiarySubject","createDisplay","createGearDialog","createGroup","createGuardedPoint","createHashMap","createHashMapFromArray","createLocation","createMarker","createMarkerLocal","createMenu","createMine","createMissionDisplay","createMPCampaignDisplay","createSimpleObject","createSimpleTask","createSite","createSoundSource","createTask","createTeam","createTrigger","createUnit","createVehicle","createVehicleCrew","createVehicleLocal","crew","ctAddHeader","ctAddRow","ctClear","ctCurSel","ctData","ctFindHeaderRows","ctFindRowHeader","ctHeaderControls","ctHeaderCount","ctRemoveHeaders","ctRemoveRows","ctrlActivate","ctrlAddEventHandler","ctrlAngle","ctrlAnimateModel","ctrlAnimationPhaseModel","ctrlAt","ctrlAutoScrollDelay","ctrlAutoScrollRewind","ctrlAutoScrollSpeed","ctrlBackgroundColor","ctrlChecked","ctrlClassName","ctrlCommit","ctrlCommitted","ctrlCreate","ctrlDelete","ctrlEnable","ctrlEnabled","ctrlFade","ctrlFontHeight","ctrlForegroundColor","ctrlHTMLLoaded","ctrlIDC","ctrlIDD","ctrlMapAnimAdd","ctrlMapAnimClear","ctrlMapAnimCommit","ctrlMapAnimDone","ctrlMapCursor","ctrlMapMouseOver","ctrlMapPosition","ctrlMapScale","ctrlMapScreenToWorld","ctrlMapSetPosition","ctrlMapWorldToScreen","ctrlModel","ctrlModelDirAndUp","ctrlModelScale","ctrlMousePosition","ctrlParent","ctrlParentControlsGroup","ctrlPosition","ctrlRemoveAllEventHandlers","ctrlRemoveEventHandler","ctrlScale","ctrlScrollValues","ctrlSetActiveColor","ctrlSetAngle","ctrlSetAutoScrollDelay","ctrlSetAutoScrollRewind","ctrlSetAutoScrollSpeed","ctrlSetBackgroundColor","ctrlSetChecked","ctrlSetDisabledColor","ctrlSetEventHandler","ctrlSetFade","ctrlSetFocus","ctrlSetFont","ctrlSetFontH1","ctrlSetFontH1B","ctrlSetFontH2","ctrlSetFontH2B","ctrlSetFontH3","ctrlSetFontH3B","ctrlSetFontH4","ctrlSetFontH4B","ctrlSetFontH5","ctrlSetFontH5B","ctrlSetFontH6","ctrlSetFontH6B","ctrlSetFontHeight","ctrlSetFontHeightH1","ctrlSetFontHeightH2","ctrlSetFontHeightH3","ctrlSetFontHeightH4","ctrlSetFontHeightH5","ctrlSetFontHeightH6","ctrlSetFontHeightSecondary","ctrlSetFontP","ctrlSetFontPB","ctrlSetFontSecondary","ctrlSetForegroundColor","ctrlSetModel","ctrlSetModelDirAndUp","ctrlSetModelScale","ctrlSetMousePosition","ctrlSetPixelPrecision","ctrlSetPosition","ctrlSetPositionH","ctrlSetPositionW","ctrlSetPositionX","ctrlSetPositionY","ctrlSetScale","ctrlSetScrollValues","ctrlSetShadow","ctrlSetStructuredText","ctrlSetText","ctrlSetTextColor","ctrlSetTextColorSecondary","ctrlSetTextSecondary","ctrlSetTextSelection","ctrlSetTooltip","ctrlSetTooltipColorBox","ctrlSetTooltipColorShade","ctrlSetTooltipColorText","ctrlSetTooltipMaxWidth","ctrlSetURL","ctrlSetURLOverlayMode","ctrlShadow","ctrlShow","ctrlShown","ctrlStyle","ctrlText","ctrlTextColor","ctrlTextHeight","ctrlTextSecondary","ctrlTextSelection","ctrlTextWidth","ctrlTooltip","ctrlType","ctrlURL","ctrlURLOverlayMode","ctrlVisible","ctRowControls","ctRowCount","ctSetCurSel","ctSetData","ctSetHeaderTemplate","ctSetRowTemplate","ctSetValue","ctValue","curatorAddons","curatorCamera","curatorCameraArea","curatorCameraAreaCeiling","curatorCoef","curatorEditableObjects","curatorEditingArea","curatorEditingAreaType","curatorMouseOver","curatorPoints","curatorRegisteredObjects","curatorSelected","curatorWaypointCost","current3DENOperation","currentChannel","currentCommand","currentMagazine","currentMagazineDetail","currentMagazineDetailTurret","currentMagazineTurret","currentMuzzle","currentNamespace","currentPilot","currentTask","currentTasks","currentThrowable","currentVisionMode","currentWaypoint","currentWeapon","currentWeaponMode","currentWeaponTurret","currentZeroing","cursorObject","cursorTarget","customChat","customRadio","customWaypointPosition","cutFadeOut","cutObj","cutRsc","cutText","damage","date","dateToNumber","dayTime","deActivateKey","debriefingText","debugFSM","debugLog","decayGraphValues","deg","delete3DENEntities","deleteAt","deleteCenter","deleteCollection","deleteEditorObject","deleteGroup","deleteGroupWhenEmpty","deleteIdentity","deleteLocation","deleteMarker","deleteMarkerLocal","deleteRange","deleteResources","deleteSite","deleteStatus","deleteTeam","deleteVehicle","deleteVehicleCrew","deleteWaypoint","detach","detectedMines","diag_activeMissionFSMs","diag_activeScripts","diag_activeSQFScripts","diag_activeSQSScripts","diag_allMissionEventHandlers","diag_captureFrame","diag_captureFrameToFile","diag_captureSlowFrame","diag_codePerformance","diag_deltaTime","diag_drawmode","diag_dumpCalltraceToLog","diag_dumpScriptAssembly","diag_dumpTerrainSynth","diag_dynamicSimulationEnd","diag_enable","diag_enabled","diag_exportConfig","diag_exportTerrainSVG","diag_fps","diag_fpsmin","diag_frameno","diag_getTerrainSegmentOffset","diag_lightNewLoad","diag_list","diag_localized","diag_log","diag_logSlowFrame","diag_mergeConfigFile","diag_recordTurretLimits","diag_resetFSM","diag_resetshapes","diag_scope","diag_setLightNew","diag_stacktrace","diag_tickTime","diag_toggle","dialog","diarySubjectExists","didJIP","didJIPOwner","difficulty","difficultyEnabled","difficultyEnabledRTD","difficultyOption","direction","directionStabilizationEnabled","directSay","disableAI","disableBrakes","disableCollisionWith","disableConversation","disableDebriefingStats","disableMapIndicators","disableNVGEquipment","disableRemoteSensors","disableSerialization","disableTIEquipment","disableUAVConnectability","disableUserInput","displayAddEventHandler","displayChild","displayCtrl","displayParent","displayRemoveAllEventHandlers","displayRemoveEventHandler","displaySetEventHandler","displayUniqueName","displayUpdate","dissolveTeam","distance","distance2D","distanceSqr","distributionRegion","do3DENAction","doArtilleryFire","doFire","doFollow","doFSM","doGetOut","doMove","doorPhase","doStop","doSuppressiveFire","doTarget","doWatch","drawArrow","drawEllipse","drawIcon","drawIcon3D","drawLaser","drawLine","drawLine3D","drawLink","drawLocation","drawPolygon","drawRectangle","drawTriangle","driver","drop","dynamicSimulationDistance","dynamicSimulationDistanceCoef","dynamicSimulationEnabled","dynamicSimulationSystemEnabled","echo","edit3DENMissionAttributes","editObject","editorSetEventHandler","effectiveCommander","elevatePeriscope","emptyPositions","enableAI","enableAIFeature","enableAimPrecision","enableAttack","enableAudioFeature","enableAutoStartUpRTD","enableAutoTrimRTD","enableCamShake","enableCaustics","enableChannel","enableCollisionWith","enableCopilot","enableDebriefingStats","enableDiagLegend","enableDirectionStabilization","enableDynamicSimulation","enableDynamicSimulationSystem","enableEndDialog","enableEngineArtillery","enableEnvironment","enableFatigue","enableGunLights","enableInfoPanelComponent","enableIRLasers","enableMimics","enablePersonTurret","enableRadio","enableReload","enableRopeAttach","enableSatNormalOnDetail","enableSaving","enableSentences","enableSimulation","enableSimulationGlobal","enableStamina","enableStressDamage","enableTeamSwitch","enableTraffic","enableUAVConnectability","enableUAVWaypoints","enableVehicleCargo","enableVehicleSensor","enableWeaponDisassembly","endLoadingScreen","endMission","engineOn","enginesIsOnRTD","enginesPowerRTD","enginesRpmRTD","enginesTorqueRTD","entities","environmentEnabled","environmentVolume","equipmentDisabled","estimatedEndServerTime","estimatedTimeLeft","evalObjectArgument","everyBackpack","everyContainer","exec","execEditorScript","execFSM","execVM","exp","expectedDestination","exportJIPMessages","eyeDirection","eyePos","face","faction","fadeEnvironment","fadeMusic","fadeRadio","fadeSound","fadeSpeech","failMission","fileExists","fillWeaponsFromPool","find","findAny","findCover","findDisplay","findEditorObject","findEmptyPosition","findEmptyPositionReady","findIf","findNearestEnemy","finishMissionInit","finite","fire","fireAtTarget","firstBackpack","flag","flagAnimationPhase","flagOwner","flagSide","flagTexture","flatten","fleeing","floor","flyInHeight","flyInHeightASL","focusedCtrl","fog","fogForecast","fogParams","forceAddUniform","forceAtPositionRTD","forceCadetDifficulty","forcedMap","forceEnd","forceFlagTexture","forceFollowRoad","forceGeneratorRTD","forceMap","forceRespawn","forceSpeed","forceUnicode","forceWalk","forceWeaponFire","forceWeatherChange","forEachMember","forEachMemberAgent","forEachMemberTeam","forgetTarget","format","formation","formationDirection","formationLeader","formationMembers","formationPosition","formationTask","formatText","formLeader","freeExtension","freeLook","fromEditor","fuel","fullCrew","gearIDCAmmoCount","gearSlotAmmoCount","gearSlotData","gestureState","get","get3DENActionState","get3DENAttribute","get3DENCamera","get3DENConnections","get3DENEntity","get3DENEntityID","get3DENGrid","get3DENIconsVisible","get3DENLayerEntities","get3DENLinesVisible","get3DENMissionAttribute","get3DENMouseOver","get3DENSelected","getAimingCoef","getAllEnv3DSoundControllers","getAllEnvSoundControllers","getAllHitPointsDamage","getAllOwnedMines","getAllPylonsInfo","getAllSoundControllers","getAllUnitTraits","getAmmoCargo","getAnimAimPrecision","getAnimSpeedCoef","getArray","getArtilleryAmmo","getArtilleryComputerSettings","getArtilleryETA","getAssetDLCInfo","getAssignedCuratorLogic","getAssignedCuratorUnit","getAttackTarget","getAudioOptionVolumes","getBackpackCargo","getBleedingRemaining","getBurningValue","getCalculatePlayerVisibilityByFriendly","getCameraViewDirection","getCargoIndex","getCenterOfMass","getClientState","getClientStateNumber","getCompatiblePylonMagazines","getConnectedUAV","getConnectedUAVUnit","getContainerMaxLoad","getCorpse","getCruiseControl","getCursorObjectParams","getCustomAimCoef","getCustomSoundController","getCustomSoundControllerCount","getDammage","getDebriefingText","getDescription","getDir","getDirVisual","getDiverState","getDLCAssetsUsage","getDLCAssetsUsageByName","getDLCs","getDLCUsageTime","getEditorCamera","getEditorMode","getEditorObjectScope","getElevationOffset","getEngineTargetRPMRTD","getEnv3DSoundController","getEnvSoundController","getEventHandlerInfo","getFatigue","getFieldManualStartPage","getForcedFlagTexture","getForcedSpeed","getFriend","getFSMVariable","getFuelCargo","getGraphValues","getGroupIcon","getGroupIconParams","getGroupIcons","getHideFrom","getHit","getHitIndex","getHitPointDamage","getItemCargo","getLighting","getLightingAt","getLoadedModsInfo","getMagazineCargo","getMarkerColor","getMarkerPos","getMarkerSize","getMarkerType","getMass","getMissionConfig","getMissionConfigValue","getMissionDLCs","getMissionLayerEntities","getMissionLayers","getMissionPath","getModelInfo","getMousePosition","getMusicPlayedTime","getNumber","getObjectArgument","getObjectChildren","getObjectDLC","getObjectFOV","getObjectID","getObjectMaterials","getObjectProxy","getObjectScale","getObjectTextures","getObjectType","getObjectViewDistance","getOpticsMode","getOrDefault","getOrDefaultCall","getOxygenRemaining","getPersonUsedDLCs","getPilotCameraDirection","getPilotCameraPosition","getPilotCameraRotation","getPilotCameraTarget","getPiPViewDistance","getPlateNumber","getPlayerChannel","getPlayerID","getPlayerScores","getPlayerUID","getPlayerVoNVolume","getPos","getPosASL","getPosASLVisual","getPosASLW","getPosATL","getPosATLVisual","getPosVisual","getPosWorld","getPosWorldVisual","getPylonMagazines","getRelDir","getRelPos","getRemoteSensorsDisabled","getRepairCargo","getResolution","getRoadInfo","getRotorBrakeRTD","getSensorTargets","getSensorThreats","getShadowDistance","getShotParents","getSlingLoad","getSoundController","getSoundControllerResult","getSpeed","getStamina","getStatValue","getSteamFriendsServers","getSubtitleOptions","getSuppression","getTerrainGrid","getTerrainHeight","getTerrainHeightASL","getTerrainInfo","getText","getTextRaw","getTextureInfo","getTextWidth","getTiParameters","getTotalDLCUsageTime","getTrimOffsetRTD","getTurretLimits","getTurretOpticsMode","getUnitFreefallInfo","getUnitLoadout","getUnitTrait","getUnloadInCombat","getUserInfo","getUserMFDText","getUserMFDValue","getVariable","getVehicleCargo","getVehicleTiPars","getWeaponCargo","getWeaponSway","getWingsOrientationRTD","getWingsPositionRTD","getWPPos","glanceAt","globalChat","globalRadio","goggles","goto","group","groupChat","groupFromNetId","groupIconSelectable","groupIconsVisible","groupID","groupOwner","groupRadio","groups","groupSelectedUnits","groupSelectUnit","gunner","gusts","halt","handgunItems","handgunMagazine","handgunWeapon","handsHit","hashValue","hasInterface","hasPilotCamera","hasWeapon","hcAllGroups","hcGroupParams","hcLeader","hcRemoveAllGroups","hcRemoveGroup","hcSelected","hcSelectGroup","hcSetGroup","hcShowBar","hcShownBar","headgear","hideBody","hideObject","hideObjectGlobal","hideSelection","hint","hintC","hintCadet","hintSilent","hmd","hostMission","htmlLoad","HUDMovementLevels","humidity","image","importAllGroups","importance","in","inArea","inAreaArray","incapacitatedState","inflame","inflamed","infoPanel","infoPanelComponentEnabled","infoPanelComponents","infoPanels","inGameUISetEventHandler","inheritsFrom","initAmbientLife","inPolygon","inputAction","inputController","inputMouse","inRangeOfArtillery","insert","insertEditorObject","intersect","is3DEN","is3DENMultiplayer","is3DENPreview","isAbleToBreathe","isActionMenuVisible","isAgent","isAimPrecisionEnabled","isAllowedCrewInImmobile","isArray","isAutoHoverOn","isAutonomous","isAutoStartUpEnabledRTD","isAutotest","isAutoTrimOnRTD","isAwake","isBleeding","isBurning","isClass","isCollisionLightOn","isCopilotEnabled","isDamageAllowed","isDedicated","isDLCAvailable","isEngineOn","isEqualRef","isEqualTo","isEqualType","isEqualTypeAll","isEqualTypeAny","isEqualTypeArray","isEqualTypeParams","isFilePatchingEnabled","isFinal","isFlashlightOn","isFlatEmpty","isForcedWalk","isFormationLeader","isGameFocused","isGamePaused","isGroupDeletedWhenEmpty","isHidden","isInRemainsCollector","isInstructorFigureEnabled","isIRLaserOn","isKeyActive","isKindOf","isLaserOn","isLightOn","isLocalized","isManualFire","isMarkedForCollection","isMissionProfileNamespaceLoaded","isMultiplayer","isMultiplayerSolo","isNil","isNotEqualRef","isNotEqualTo","isNull","isNumber","isObjectHidden","isObjectRTD","isOnRoad","isPiPEnabled","isPlayer","isRealTime","isRemoteExecuted","isRemoteExecutedJIP","isSaving","isSensorTargetConfirmed","isServer","isShowing3DIcons","isSimpleObject","isSprintAllowed","isStaminaEnabled","isSteamMission","isSteamOverlayEnabled","isStreamFriendlyUIEnabled","isStressDamageEnabled","isText","isTouchingGround","isTurnedOut","isTutHintsEnabled","isUAVConnectable","isUAVConnected","isUIContext","isUniformAllowed","isVehicleCargo","isVehicleRadarOn","isVehicleSensorEnabled","isWalking","isWeaponDeployed","isWeaponRested","itemCargo","items","itemsWithMagazines","join","joinAs","joinAsSilent","joinSilent","joinString","kbAddDatabase","kbAddDatabaseTargets","kbAddTopic","kbHasTopic","kbReact","kbRemoveTopic","kbTell","kbWasSaid","keyImage","keyName","keys","knowsAbout","land","landAt","landResult","language","laserTarget","lbAdd","lbClear","lbColor","lbColorRight","lbCurSel","lbData","lbDelete","lbIsSelected","lbPicture","lbPictureRight","lbSelection","lbSetColor","lbSetColorRight","lbSetCurSel","lbSetData","lbSetPicture","lbSetPictureColor","lbSetPictureColorDisabled","lbSetPictureColorSelected","lbSetPictureRight","lbSetPictureRightColor","lbSetPictureRightColorDisabled","lbSetPictureRightColorSelected","lbSetSelectColor","lbSetSelectColorRight","lbSetSelected","lbSetText","lbSetTextRight","lbSetTooltip","lbSetValue","lbSize","lbSort","lbSortBy","lbSortByValue","lbText","lbTextRight","lbTooltip","lbValue","leader","leaderboardDeInit","leaderboardGetRows","leaderboardInit","leaderboardRequestRowsFriends","leaderboardRequestRowsGlobal","leaderboardRequestRowsGlobalAroundUser","leaderboardsRequestUploadScore","leaderboardsRequestUploadScoreKeepBest","leaderboardState","leaveVehicle","libraryCredits","libraryDisclaimers","lifeState","lightAttachObject","lightDetachObject","lightIsOn","lightnings","limitSpeed","linearConversion","lineIntersects","lineIntersectsObjs","lineIntersectsSurfaces","lineIntersectsWith","linkItem","list","listObjects","listRemoteTargets","listVehicleSensors","ln","lnbAddArray","lnbAddColumn","lnbAddRow","lnbClear","lnbColor","lnbColorRight","lnbCurSelRow","lnbData","lnbDeleteColumn","lnbDeleteRow","lnbGetColumnsPosition","lnbPicture","lnbPictureRight","lnbSetColor","lnbSetColorRight","lnbSetColumnsPos","lnbSetCurSelRow","lnbSetData","lnbSetPicture","lnbSetPictureColor","lnbSetPictureColorRight","lnbSetPictureColorSelected","lnbSetPictureColorSelectedRight","lnbSetPictureRight","lnbSetText","lnbSetTextRight","lnbSetTooltip","lnbSetValue","lnbSize","lnbSort","lnbSortBy","lnbSortByValue","lnbText","lnbTextRight","lnbValue","load","loadAbs","loadBackpack","loadConfig","loadFile","loadGame","loadIdentity","loadMagazine","loadOverlay","loadStatus","loadUniform","loadVest","localize","localNamespace","locationPosition","lock","lockCameraTo","lockCargo","lockDriver","locked","lockedCameraTo","lockedCargo","lockedDriver","lockedInventory","lockedTurret","lockIdentity","lockInventory","lockTurret","lockWp","log","logEntities","logNetwork","logNetworkTerminate","lookAt","lookAtPos","magazineCargo","magazines","magazinesAllTurrets","magazinesAmmo","magazinesAmmoCargo","magazinesAmmoFull","magazinesDetail","magazinesDetailBackpack","magazinesDetailUniform","magazinesDetailVest","magazinesTurret","magazineTurretAmmo","mapAnimAdd","mapAnimClear","mapAnimCommit","mapAnimDone","mapCenterOnCamera","mapGridPosition","markAsFinishedOnSteam","markerAlpha","markerBrush","markerChannel","markerColor","markerDir","markerPolyline","markerPos","markerShadow","markerShape","markerSize","markerText","markerType","matrixMultiply","matrixTranspose","max","maxLoad","members","menuAction","menuAdd","menuChecked","menuClear","menuCollapse","menuData","menuDelete","menuEnable","menuEnabled","menuExpand","menuHover","menuPicture","menuSetAction","menuSetCheck","menuSetData","menuSetPicture","menuSetShortcut","menuSetText","menuSetURL","menuSetValue","menuShortcut","menuShortcutText","menuSize","menuSort","menuText","menuURL","menuValue","merge","min","mineActive","mineDetectedBy","missileTarget","missileTargetPos","missionConfigFile","missionDifficulty","missionEnd","missionName","missionNameSource","missionNamespace","missionProfileNamespace","missionStart","missionVersion","mod","modelToWorld","modelToWorldVisual","modelToWorldVisualWorld","modelToWorldWorld","modParams","moonIntensity","moonPhase","morale","move","move3DENCamera","moveInAny","moveInCargo","moveInCommander","moveInDriver","moveInGunner","moveInTurret","moveObjectToEnd","moveOut","moveTime","moveTo","moveToCompleted","moveToFailed","musicVolume","name","namedProperties","nameSound","nearEntities","nearestBuilding","nearestLocation","nearestLocations","nearestLocationWithDubbing","nearestMines","nearestObject","nearestObjects","nearestTerrainObjects","nearObjects","nearObjectsReady","nearRoads","nearSupplies","nearTargets","needReload","needService","netId","netObjNull","newOverlay","nextMenuItemIndex","nextWeatherChange","nMenuItems","not","numberOfEnginesRTD","numberToDate","objectCurators","objectFromNetId","objectParent","objStatus","onBriefingGroup","onBriefingNotes","onBriefingPlan","onBriefingTeamSwitch","onCommandModeChanged","onDoubleClick","onEachFrame","onGroupIconClick","onGroupIconOverEnter","onGroupIconOverLeave","onHCGroupSelectionChanged","onMapSingleClick","onPlayerConnected","onPlayerDisconnected","onPreloadFinished","onPreloadStarted","onShowNewObject","onTeamSwitch","openCuratorInterface","openDLCPage","openGPS","openMap","openSteamApp","openYoutubeVideo","or","orderGetIn","overcast","overcastForecast","owner","param","params","parseNumber","parseSimpleArray","parseText","parsingNamespace","particlesQuality","periscopeElevation","pickWeaponPool","pitch","pixelGrid","pixelGridBase","pixelGridNoUIScale","pixelH","pixelW","playableSlotsNumber","playableUnits","playAction","playActionNow","player","playerRespawnTime","playerSide","playersNumber","playGesture","playMission","playMove","playMoveNow","playMusic","playScriptedMission","playSound","playSound3D","playSoundUI","pose","position","positionCameraToWorld","posScreenToWorld","posWorldToScreen","ppEffectAdjust","ppEffectCommit","ppEffectCommitted","ppEffectCreate","ppEffectDestroy","ppEffectEnable","ppEffectEnabled","ppEffectForceInNVG","precision","preloadCamera","preloadObject","preloadSound","preloadTitleObj","preloadTitleRsc","preprocessFile","preprocessFileLineNumbers","primaryWeapon","primaryWeaponItems","primaryWeaponMagazine","priority","processDiaryLink","productVersion","profileName","profileNamespace","profileNameSteam","progressLoadingScreen","progressPosition","progressSetPosition","publicVariable","publicVariableClient","publicVariableServer","pushBack","pushBackUnique","putWeaponPool","queryItemsPool","queryMagazinePool","queryWeaponPool","rad","radioChannelAdd","radioChannelCreate","radioChannelInfo","radioChannelRemove","radioChannelSetCallSign","radioChannelSetLabel","radioEnabled","radioVolume","rain","rainbow","rainParams","random","rank","rankId","rating","rectangular","regexFind","regexMatch","regexReplace","registeredTasks","registerTask","reload","reloadEnabled","remoteControl","remoteExec","remoteExecCall","remoteExecutedOwner","remove3DENConnection","remove3DENEventHandler","remove3DENLayer","removeAction","removeAll3DENEventHandlers","removeAllActions","removeAllAssignedItems","removeAllBinocularItems","removeAllContainers","removeAllCuratorAddons","removeAllCuratorCameraAreas","removeAllCuratorEditingAreas","removeAllEventHandlers","removeAllHandgunItems","removeAllItems","removeAllItemsWithMagazines","removeAllMissionEventHandlers","removeAllMPEventHandlers","removeAllMusicEventHandlers","removeAllOwnedMines","removeAllPrimaryWeaponItems","removeAllSecondaryWeaponItems","removeAllUserActionEventHandlers","removeAllWeapons","removeBackpack","removeBackpackGlobal","removeBinocularItem","removeCuratorAddons","removeCuratorCameraArea","removeCuratorEditableObjects","removeCuratorEditingArea","removeDiaryRecord","removeDiarySubject","removeDrawIcon","removeDrawLinks","removeEventHandler","removeFromRemainsCollector","removeGoggles","removeGroupIcon","removeHandgunItem","removeHeadgear","removeItem","removeItemFromBackpack","removeItemFromUniform","removeItemFromVest","removeItems","removeMagazine","removeMagazineGlobal","removeMagazines","removeMagazinesTurret","removeMagazineTurret","removeMenuItem","removeMissionEventHandler","removeMPEventHandler","removeMusicEventHandler","removeOwnedMine","removePrimaryWeaponItem","removeSecondaryWeaponItem","removeSimpleTask","removeSwitchableUnit","removeTeamMember","removeUniform","removeUserActionEventHandler","removeVest","removeWeapon","removeWeaponAttachmentCargo","removeWeaponCargo","removeWeaponGlobal","removeWeaponTurret","reportRemoteTarget","requiredVersion","resetCamShake","resetSubgroupDirection","resize","resources","respawnVehicle","restartEditorCamera","reveal","revealMine","reverse","reversedMouseY","roadAt","roadsConnectedTo","roleDescription","ropeAttachedObjects","ropeAttachedTo","ropeAttachEnabled","ropeAttachTo","ropeCreate","ropeCut","ropeDestroy","ropeDetach","ropeEndPosition","ropeLength","ropes","ropesAttachedTo","ropeSegments","ropeUnwind","ropeUnwound","rotorsForcesRTD","rotorsRpmRTD","round","runInitScript","safeZoneH","safeZoneW","safeZoneWAbs","safeZoneX","safeZoneXAbs","safeZoneY","save3DENInventory","saveGame","saveIdentity","saveJoysticks","saveMissionProfileNamespace","saveOverlay","saveProfileNamespace","saveStatus","saveVar","savingEnabled","say","say2D","say3D","scopeName","score","scoreSide","screenshot","screenToWorld","scriptDone","scriptName","scudState","secondaryWeapon","secondaryWeaponItems","secondaryWeaponMagazine","select","selectBestPlaces","selectDiarySubject","selectedEditorObjects","selectEditorObject","selectionNames","selectionPosition","selectionVectorDirAndUp","selectLeader","selectMax","selectMin","selectNoPlayer","selectPlayer","selectRandom","selectRandomWeighted","selectWeapon","selectWeaponTurret","sendAUMessage","sendSimpleCommand","sendTask","sendTaskResult","sendUDPMessage","sentencesEnabled","serverCommand","serverCommandAvailable","serverCommandExecutable","serverName","serverNamespace","serverTime","set","set3DENAttribute","set3DENAttributes","set3DENGrid","set3DENIconsVisible","set3DENLayer","set3DENLinesVisible","set3DENLogicType","set3DENMissionAttribute","set3DENMissionAttributes","set3DENModelsVisible","set3DENObjectType","set3DENSelected","setAccTime","setActualCollectiveRTD","setAirplaneThrottle","setAirportSide","setAmmo","setAmmoCargo","setAmmoOnPylon","setAnimSpeedCoef","setAperture","setApertureNew","setArmoryPoints","setAttributes","setAutonomous","setBehaviour","setBehaviourStrong","setBleedingRemaining","setBrakesRTD","setCameraInterest","setCamShakeDefParams","setCamShakeParams","setCamUseTi","setCaptive","setCenterOfMass","setCollisionLight","setCombatBehaviour","setCombatMode","setCompassOscillation","setConvoySeparation","setCruiseControl","setCuratorCameraAreaCeiling","setCuratorCoef","setCuratorEditingAreaType","setCuratorWaypointCost","setCurrentChannel","setCurrentTask","setCurrentWaypoint","setCustomAimCoef","SetCustomMissionData","setCustomSoundController","setCustomWeightRTD","setDamage","setDammage","setDate","setDebriefingText","setDefaultCamera","setDestination","setDetailMapBlendPars","setDiaryRecordText","setDiarySubjectPicture","setDir","setDirection","setDrawIcon","setDriveOnPath","setDropInterval","setDynamicSimulationDistance","setDynamicSimulationDistanceCoef","setEditorMode","setEditorObjectScope","setEffectCondition","setEffectiveCommander","setEngineRpmRTD","setFace","setFaceanimation","setFatigue","setFeatureType","setFlagAnimationPhase","setFlagOwner","setFlagSide","setFlagTexture","setFog","setForceGeneratorRTD","setFormation","setFormationTask","setFormDir","setFriend","setFromEditor","setFSMVariable","setFuel","setFuelCargo","setGroupIcon","setGroupIconParams","setGroupIconsSelectable","setGroupIconsVisible","setGroupid","setGroupIdGlobal","setGroupOwner","setGusts","setHideBehind","setHit","setHitIndex","setHitPointDamage","setHorizonParallaxCoef","setHUDMovementLevels","setHumidity","setIdentity","setImportance","setInfoPanel","setLeader","setLightAmbient","setLightAttenuation","setLightBrightness","setLightColor","setLightConePars","setLightDayLight","setLightFlareMaxDistance","setLightFlareSize","setLightIntensity","setLightIR","setLightnings","setLightUseFlare","setLightVolumeShape","setLocalWindParams","setMagazineTurretAmmo","setMarkerAlpha","setMarkerAlphaLocal","setMarkerBrush","setMarkerBrushLocal","setMarkerColor","setMarkerColorLocal","setMarkerDir","setMarkerDirLocal","setMarkerPolyline","setMarkerPolylineLocal","setMarkerPos","setMarkerPosLocal","setMarkerShadow","setMarkerShadowLocal","setMarkerShape","setMarkerShapeLocal","setMarkerSize","setMarkerSizeLocal","setMarkerText","setMarkerTextLocal","setMarkerType","setMarkerTypeLocal","setMass","setMaxLoad","setMimic","setMissileTarget","setMissileTargetPos","setMousePosition","setMusicEffect","setMusicEventHandler","setName","setNameSound","setObjectArguments","setObjectMaterial","setObjectMaterialGlobal","setObjectProxy","setObjectScale","setObjectTexture","setObjectTextureGlobal","setObjectViewDistance","setOpticsMode","setOvercast","setOwner","setOxygenRemaining","setParticleCircle","setParticleClass","setParticleFire","setParticleParams","setParticleRandom","setPilotCameraDirection","setPilotCameraRotation","setPilotCameraTarget","setPilotLight","setPiPEffect","setPiPViewDistance","setPitch","setPlateNumber","setPlayable","setPlayerRespawnTime","setPlayerVoNVolume","setPos","setPosASL","setPosASL2","setPosASLW","setPosATL","setPosition","setPosWorld","setPylonLoadout","setPylonsPriority","setRadioMsg","setRain","setRainbow","setRandomLip","setRank","setRectangular","setRepairCargo","setRotorBrakeRTD","setShadowDistance","setShotParents","setSide","setSimpleTaskAlwaysVisible","setSimpleTaskCustomData","setSimpleTaskDescription","setSimpleTaskDestination","setSimpleTaskTarget","setSimpleTaskType","setSimulWeatherLayers","setSize","setSkill","setSlingLoad","setSoundEffect","setSpeaker","setSpeech","setSpeedMode","setStamina","setStaminaScheme","setStatValue","setSuppression","setSystemOfUnits","setTargetAge","setTaskMarkerOffset","setTaskResult","setTaskState","setTerrainGrid","setTerrainHeight","setText","setTimeMultiplier","setTiParameter","setTitleEffect","setTowParent","setTrafficDensity","setTrafficDistance","setTrafficGap","setTrafficSpeed","setTriggerActivation","setTriggerArea","setTriggerInterval","setTriggerStatements","setTriggerText","setTriggerTimeout","setTriggerType","setTurretLimits","setTurretOpticsMode","setType","setUnconscious","setUnitAbility","setUnitCombatMode","setUnitFreefallHeight","setUnitLoadout","setUnitPos","setUnitPosWeak","setUnitRank","setUnitRecoilCoefficient","setUnitTrait","setUnloadInCombat","setUserActionText","setUserMFDText","setUserMFDValue","setVariable","setVectorDir","setVectorDirAndUp","setVectorUp","setVehicleAmmo","setVehicleAmmoDef","setVehicleArmor","setVehicleCargo","setVehicleId","setVehicleLock","setVehiclePosition","setVehicleRadar","setVehicleReceiveRemoteTargets","setVehicleReportOwnPosition","setVehicleReportRemoteTargets","setVehicleTiPars","setVehicleVarName","setVelocity","setVelocityModelSpace","setVelocityTransformation","setViewDistance","setVisibleIfTreeCollapsed","setWantedRPMRTD","setWaves","setWaypointBehaviour","setWaypointCombatMode","setWaypointCompletionRadius","setWaypointDescription","setWaypointForceBehaviour","setWaypointFormation","setWaypointHousePosition","setWaypointLoiterAltitude","setWaypointLoiterRadius","setWaypointLoiterType","setWaypointName","setWaypointPosition","setWaypointScript","setWaypointSpeed","setWaypointStatements","setWaypointTimeout","setWaypointType","setWaypointVisible","setWeaponReloadingTime","setWeaponZeroing","setWind","setWindDir","setWindForce","setWindStr","setWingForceScaleRTD","setWPPos","show3DIcons","showChat","showCinemaBorder","showCommandingMenu","showCompass","showCuratorCompass","showGps","showHUD","showLegend","showMap","shownArtilleryComputer","shownChat","shownCompass","shownCuratorCompass","showNewEditorObject","shownGps","shownHUD","shownMap","shownPad","shownRadio","shownScoretable","shownSubtitles","shownUAVFeed","shownWarrant","shownWatch","showPad","showRadio","showScoretable","showSubtitles","showUAVFeed","showWarrant","showWatch","showWaypoint","showWaypoints","side","sideChat","sideRadio","simpleTasks","simulationEnabled","simulCloudDensity","simulCloudOcclusion","simulInClouds","simulWeatherSync","sin","size","sizeOf","skill","skillFinal","skipTime","sleep","sliderPosition","sliderRange","sliderSetPosition","sliderSetRange","sliderSetSpeed","sliderSpeed","slingLoadAssistantShown","soldierMagazines","someAmmo","sort","soundVolume","spawn","speaker","speechVolume","speed","speedMode","splitString","sqrt","squadParams","stance","startLoadingScreen","stop","stopEngineRTD","stopped","str","sunOrMoon","supportInfo","suppressFor","surfaceIsWater","surfaceNormal","surfaceTexture","surfaceType","swimInDepth","switchableUnits","switchAction","switchCamera","switchGesture","switchLight","switchMove","synchronizedObjects","synchronizedTriggers","synchronizedWaypoints","synchronizeObjectsAdd","synchronizeObjectsRemove","synchronizeTrigger","synchronizeWaypoint","systemChat","systemOfUnits","systemTime","systemTimeUTC","tan","targetKnowledge","targets","targetsAggregate","targetsQuery","taskAlwaysVisible","taskChildren","taskCompleted","taskCustomData","taskDescription","taskDestination","taskHint","taskMarkerOffset","taskName","taskParent","taskResult","taskState","taskType","teamMember","teamName","teams","teamSwitch","teamSwitchEnabled","teamType","terminate","terrainIntersect","terrainIntersectASL","terrainIntersectAtASL","text","textLog","textLogFormat","tg","time","timeMultiplier","titleCut","titleFadeOut","titleObj","titleRsc","titleText","toArray","toFixed","toLower","toLowerANSI","toString","toUpper","toUpperANSI","triggerActivated","triggerActivation","triggerAmmo","triggerArea","triggerAttachedVehicle","triggerAttachObject","triggerAttachVehicle","triggerDynamicSimulation","triggerInterval","triggerStatements","triggerText","triggerTimeout","triggerTimeoutCurrent","triggerType","trim","turretLocal","turretOwner","turretUnit","tvAdd","tvClear","tvCollapse","tvCollapseAll","tvCount","tvCurSel","tvData","tvDelete","tvExpand","tvExpandAll","tvIsSelected","tvPicture","tvPictureRight","tvSelection","tvSetColor","tvSetCurSel","tvSetData","tvSetPicture","tvSetPictureColor","tvSetPictureColorDisabled","tvSetPictureColorSelected","tvSetPictureRight","tvSetPictureRightColor","tvSetPictureRightColorDisabled","tvSetPictureRightColorSelected","tvSetSelectColor","tvSetSelected","tvSetText","tvSetTooltip","tvSetValue","tvSort","tvSortAll","tvSortByValue","tvSortByValueAll","tvText","tvTooltip","tvValue","type","typeName","typeOf","UAVControl","uiNamespace","uiSleep","unassignCurator","unassignItem","unassignTeam","unassignVehicle","underwater","uniform","uniformContainer","uniformItems","uniformMagazines","uniqueUnitItems","unitAddons","unitAimPosition","unitAimPositionVisual","unitBackpack","unitCombatMode","unitIsUAV","unitPos","unitReady","unitRecoilCoefficient","units","unitsBelowHeight","unitTurret","unlinkItem","unlockAchievement","unregisterTask","updateDrawIcon","updateMenuItem","updateObjectTree","useAIOperMapObstructionTest","useAISteeringComponent","useAudioTimeForMoves","userInputDisabled","values","vectorAdd","vectorCos","vectorCrossProduct","vectorDiff","vectorDir","vectorDirVisual","vectorDistance","vectorDistanceSqr","vectorDotProduct","vectorFromTo","vectorLinearConversion","vectorMagnitude","vectorMagnitudeSqr","vectorModelToWorld","vectorModelToWorldVisual","vectorMultiply","vectorNormalized","vectorUp","vectorUpVisual","vectorWorldToModel","vectorWorldToModelVisual","vehicle","vehicleCargoEnabled","vehicleChat","vehicleMoveInfo","vehicleRadio","vehicleReceiveRemoteTargets","vehicleReportOwnPosition","vehicleReportRemoteTargets","vehicles","vehicleVarName","velocity","velocityModelSpace","verifySignature","vest","vestContainer","vestItems","vestMagazines","viewDistance","visibleCompass","visibleGps","visibleMap","visiblePosition","visiblePositionASL","visibleScoretable","visibleWatch","waves","waypointAttachedObject","waypointAttachedVehicle","waypointAttachObject","waypointAttachVehicle","waypointBehaviour","waypointCombatMode","waypointCompletionRadius","waypointDescription","waypointForceBehaviour","waypointFormation","waypointHousePosition","waypointLoiterAltitude","waypointLoiterRadius","waypointLoiterType","waypointName","waypointPosition","waypoints","waypointScript","waypointsEnabledUAV","waypointShow","waypointSpeed","waypointStatements","waypointTimeout","waypointTimeoutCurrent","waypointType","waypointVisible","weaponAccessories","weaponAccessoriesCargo","weaponCargo","weaponDirection","weaponInertia","weaponLowered","weaponReloadingTime","weapons","weaponsInfo","weaponsItems","weaponsItemsCargo","weaponState","weaponsTurret","weightRTD","WFSideText","wind","windDir","windRTD","windStr","wingsForcesRTD","worldName","worldSize","worldToModel","worldToModelVisual","worldToScreen"],B={className:"meta",begin:/#\s*[a-z]+\b/,end:/$/,keywords:"define undef ifdef ifndef else endif include if",contains:[{begin:/\\\n/,relevance:0},m.inherit(V,{className:"string"}),{begin:/<[^\n>]*>/,end:/$/,illegal:"\\n"},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]};return{name:"SQF",case_insensitive:!0,keywords:{keyword:q,built_in:D,literal:$},contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.NUMBER_MODE,M,G,V,B],illegal:[/\$[^a-fA-F0-9]/,/\w\$/,/\?/,/@/,/ \| /,/[a-zA-Z_]\./,/\:\=/,/\[\:/]}}return sqf_1=k,sqf_1}var sql_1,hasRequiredSql;function requireSql(){if(hasRequiredSql)return sql_1;hasRequiredSql=1;function k(m){const M=m.regex,G=m.COMMENT("--","$"),V={className:"string",variants:[{begin:/'/,end:/'/,contains:[{begin:/''/}]}]},q={begin:/"/,end:/"/,contains:[{begin:/""/}]},$=["true","false","unknown"],D=["double precision","large object","with timezone","without timezone"],B=["bigint","binary","blob","boolean","char","character","clob","date","dec","decfloat","decimal","float","int","integer","interval","nchar","nclob","national","numeric","real","row","smallint","time","timestamp","varchar","varying","varbinary"],R=["add","asc","collation","desc","final","first","last","view"],U=["abs","acos","all","allocate","alter","and","any","are","array","array_agg","array_max_cardinality","as","asensitive","asin","asymmetric","at","atan","atomic","authorization","avg","begin","begin_frame","begin_partition","between","bigint","binary","blob","boolean","both","by","call","called","cardinality","cascaded","case","cast","ceil","ceiling","char","char_length","character","character_length","check","classifier","clob","close","coalesce","collate","collect","column","commit","condition","connect","constraint","contains","convert","copy","corr","corresponding","cos","cosh","count","covar_pop","covar_samp","create","cross","cube","cume_dist","current","current_catalog","current_date","current_default_transform_group","current_path","current_role","current_row","current_schema","current_time","current_timestamp","current_path","current_role","current_transform_group_for_type","current_user","cursor","cycle","date","day","deallocate","dec","decimal","decfloat","declare","default","define","delete","dense_rank","deref","describe","deterministic","disconnect","distinct","double","drop","dynamic","each","element","else","empty","end","end_frame","end_partition","end-exec","equals","escape","every","except","exec","execute","exists","exp","external","extract","false","fetch","filter","first_value","float","floor","for","foreign","frame_row","free","from","full","function","fusion","get","global","grant","group","grouping","groups","having","hold","hour","identity","in","indicator","initial","inner","inout","insensitive","insert","int","integer","intersect","intersection","interval","into","is","join","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","language","large","last_value","lateral","lead","leading","left","like","like_regex","listagg","ln","local","localtime","localtimestamp","log","log10","lower","match","match_number","match_recognize","matches","max","member","merge","method","min","minute","mod","modifies","module","month","multiset","national","natural","nchar","nclob","new","no","none","normalize","not","nth_value","ntile","null","nullif","numeric","octet_length","occurrences_regex","of","offset","old","omit","on","one","only","open","or","order","out","outer","over","overlaps","overlay","parameter","partition","pattern","per","percent","percent_rank","percentile_cont","percentile_disc","period","portion","position","position_regex","power","precedes","precision","prepare","primary","procedure","ptf","range","rank","reads","real","recursive","ref","references","referencing","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","release","result","return","returns","revoke","right","rollback","rollup","row","row_number","rows","running","savepoint","scope","scroll","search","second","seek","select","sensitive","session_user","set","show","similar","sin","sinh","skip","smallint","some","specific","specifictype","sql","sqlexception","sqlstate","sqlwarning","sqrt","start","static","stddev_pop","stddev_samp","submultiset","subset","substring","substring_regex","succeeds","sum","symmetric","system","system_time","system_user","table","tablesample","tan","tanh","then","time","timestamp","timezone_hour","timezone_minute","to","trailing","translate","translate_regex","translation","treat","trigger","trim","trim_array","true","truncate","uescape","union","unique","unknown","unnest","update","upper","user","using","value","values","value_of","var_pop","var_samp","varbinary","varchar","varying","versioning","when","whenever","where","width_bucket","window","with","within","without","year"],K=["abs","acos","array_agg","asin","atan","avg","cast","ceil","ceiling","coalesce","corr","cos","cosh","count","covar_pop","covar_samp","cume_dist","dense_rank","deref","element","exp","extract","first_value","floor","json_array","json_arrayagg","json_exists","json_object","json_objectagg","json_query","json_table","json_table_primitive","json_value","lag","last_value","lead","listagg","ln","log","log10","lower","max","min","mod","nth_value","ntile","nullif","percent_rank","percentile_cont","percentile_disc","position","position_regex","power","rank","regr_avgx","regr_avgy","regr_count","regr_intercept","regr_r2","regr_slope","regr_sxx","regr_sxy","regr_syy","row_number","sin","sinh","sqrt","stddev_pop","stddev_samp","substring","substring_regex","sum","tan","tanh","translate","translate_regex","treat","trim","trim_array","unnest","upper","value_of","var_pop","var_samp","width_bucket"],z=["current_catalog","current_date","current_default_transform_group","current_path","current_role","current_schema","current_transform_group_for_type","current_user","session_user","system_time","system_user","current_time","localtime","current_timestamp","localtimestamp"],e=["create table","insert into","primary key","foreign key","not null","alter table","add constraint","grouping sets","on overflow","character set","respect nulls","ignore nulls","nulls first","nulls last","depth first","breadth first"],ae=K,ie=[...U,...R].filter(L=>!K.includes(L)),he={className:"variable",begin:/@[a-z0-9][a-z0-9_]*/},J={className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},W={begin:M.concat(/\b/,M.either(...ae),/\s*\(/),relevance:0,keywords:{built_in:ae}};function X(L,{exceptions:Q,when:ce}={}){const de=ce;return Q=Q||[],L.map(se=>se.match(/\|\d+$/)||Q.includes(se)?se:de(se)?`${se}|0`:se)}return{name:"SQL",case_insensitive:!0,illegal:/[{}]|<\//,keywords:{$pattern:/\b[\w\.]+/,keyword:X(ie,{when:L=>L.length<3}),literal:$,type:B,built_in:z},contains:[{begin:M.either(...e),relevance:0,keywords:{$pattern:/[\w\.]+/,keyword:ie.concat(e),literal:$,type:B}},{className:"type",begin:M.either(...D)},W,he,V,q,m.C_NUMBER_MODE,m.C_BLOCK_COMMENT_MODE,G,J]}}return sql_1=k,sql_1}var stan_1,hasRequiredStan;function requireStan(){if(hasRequiredStan)return stan_1;hasRequiredStan=1;function k(m){const M=m.regex,G=["functions","model","data","parameters","quantities","transformed","generated"],V=["for","in","if","else","while","break","continue","return"],q=["array","tuple","complex","int","real","vector","complex_vector","ordered","positive_ordered","simplex","unit_vector","row_vector","complex_row_vector","matrix","complex_matrix","cholesky_factor_corr|10","cholesky_factor_cov|10","corr_matrix|10","cov_matrix|10","void"],$=["abs","acos","acosh","add_diag","algebra_solver","algebra_solver_newton","append_array","append_col","append_row","asin","asinh","atan","atan2","atanh","bessel_first_kind","bessel_second_kind","binary_log_loss","block","cbrt","ceil","chol2inv","cholesky_decompose","choose","col","cols","columns_dot_product","columns_dot_self","complex_schur_decompose","complex_schur_decompose_t","complex_schur_decompose_u","conj","cos","cosh","cov_exp_quad","crossprod","csr_extract","csr_extract_u","csr_extract_v","csr_extract_w","csr_matrix_times_vector","csr_to_dense_matrix","cumulative_sum","dae","dae_tol","determinant","diag_matrix","diagonal","diag_post_multiply","diag_pre_multiply","digamma","dims","distance","dot_product","dot_self","eigendecompose","eigendecompose_sym","eigenvalues","eigenvalues_sym","eigenvectors","eigenvectors_sym","erf","erfc","exp","exp2","expm1","falling_factorial","fdim","fft","fft2","floor","fma","fmax","fmin","fmod","gamma_p","gamma_q","generalized_inverse","get_imag","get_real","head","hmm_hidden_state_prob","hmm_marginal","hypot","identity_matrix","inc_beta","integrate_1d","integrate_ode","integrate_ode_adams","integrate_ode_bdf","integrate_ode_rk45","int_step","inv","inv_cloglog","inv_erfc","inverse","inverse_spd","inv_fft","inv_fft2","inv_inc_beta","inv_logit","inv_Phi","inv_sqrt","inv_square","is_inf","is_nan","lambert_w0","lambert_wm1","lbeta","lchoose","ldexp","lgamma","linspaced_array","linspaced_int_array","linspaced_row_vector","linspaced_vector","lmgamma","lmultiply","log","log1m","log1m_exp","log1m_inv_logit","log1p","log1p_exp","log_determinant","log_diff_exp","log_falling_factorial","log_inv_logit","log_inv_logit_diff","logit","log_mix","log_modified_bessel_first_kind","log_rising_factorial","log_softmax","log_sum_exp","machine_precision","map_rect","matrix_exp","matrix_exp_multiply","matrix_power","max","mdivide_left_spd","mdivide_left_tri_low","mdivide_right_spd","mdivide_right_tri_low","mean","min","modified_bessel_first_kind","modified_bessel_second_kind","multiply_lower_tri_self_transpose","negative_infinity","norm","norm1","norm2","not_a_number","num_elements","ode_adams","ode_adams_tol","ode_adjoint_tol_ctl","ode_bdf","ode_bdf_tol","ode_ckrk","ode_ckrk_tol","ode_rk45","ode_rk45_tol","one_hot_array","one_hot_int_array","one_hot_row_vector","one_hot_vector","ones_array","ones_int_array","ones_row_vector","ones_vector","owens_t","Phi","Phi_approx","polar","positive_infinity","pow","print","prod","proj","qr","qr_Q","qr_R","qr_thin","qr_thin_Q","qr_thin_R","quad_form","quad_form_diag","quad_form_sym","quantile","rank","reduce_sum","reject","rep_array","rep_matrix","rep_row_vector","rep_vector","reverse","rising_factorial","round","row","rows","rows_dot_product","rows_dot_self","scale_matrix_exp_multiply","sd","segment","sin","singular_values","sinh","size","softmax","sort_asc","sort_desc","sort_indices_asc","sort_indices_desc","sqrt","square","squared_distance","step","sub_col","sub_row","sum","svd","svd_U","svd_V","symmetrize_from_lower_tri","tail","tan","tanh","target","tcrossprod","tgamma","to_array_1d","to_array_2d","to_complex","to_int","to_matrix","to_row_vector","to_vector","trace","trace_gen_quad_form","trace_quad_form","trigamma","trunc","uniform_simplex","variance","zeros_array","zeros_int_array","zeros_row_vector"],D=["bernoulli","bernoulli_logit","bernoulli_logit_glm","beta","beta_binomial","beta_proportion","binomial","binomial_logit","categorical","categorical_logit","categorical_logit_glm","cauchy","chi_square","dirichlet","discrete_range","double_exponential","exp_mod_normal","exponential","frechet","gamma","gaussian_dlm_obs","gumbel","hmm_latent","hypergeometric","inv_chi_square","inv_gamma","inv_wishart","inv_wishart_cholesky","lkj_corr","lkj_corr_cholesky","logistic","loglogistic","lognormal","multi_gp","multi_gp_cholesky","multinomial","multinomial_logit","multi_normal","multi_normal_cholesky","multi_normal_prec","multi_student_cholesky_t","multi_student_t","multi_student_t_cholesky","neg_binomial","neg_binomial_2","neg_binomial_2_log","neg_binomial_2_log_glm","normal","normal_id_glm","ordered_logistic","ordered_logistic_glm","ordered_probit","pareto","pareto_type_2","poisson","poisson_log","poisson_log_glm","rayleigh","scaled_inv_chi_square","skew_double_exponential","skew_normal","std_normal","std_normal_log","student_t","uniform","von_mises","weibull","wiener","wishart","wishart_cholesky"],B=m.COMMENT(/\/\*/,/\*\//,{relevance:0,contains:[{scope:"doctag",match:/@(return|param)/}]}),R={scope:"meta",begin:/#include\b/,end:/$/,contains:[{match:/[a-z][a-z-._]+/,scope:"string"},m.C_LINE_COMMENT_MODE]},U=["lower","upper","offset","multiplier"];return{name:"Stan",aliases:["stanfuncs"],keywords:{$pattern:m.IDENT_RE,title:G,type:q,keyword:V,built_in:$},contains:[m.C_LINE_COMMENT_MODE,R,m.HASH_COMMENT_MODE,B,{scope:"built_in",match:/\s(pi|e|sqrt2|log2|log10)(?=\()/,relevance:0},{match:M.concat(/[<,]\s*/,M.either(...U),/\s*=/),keywords:U},{scope:"keyword",match:/\btarget(?=\s*\+=)/},{match:[/~\s*/,M.either(...D),/(?:\(\))/,/\s*T(?=\s*\[)/],scope:{2:"built_in",4:"keyword"}},{scope:"built_in",keywords:D,begin:M.concat(/\w*/,M.either(...D),/(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/)},{begin:[/~/,/\s*/,M.concat(M.either(...D),/(?=\s*[\(.*\)])/)],scope:{3:"built_in"}},{begin:[/~/,/\s*\w+(?=\s*[\(.*\)])/,"(?!.*/\b("+M.either(...D)+")\b)"],scope:{2:"title.function"}},{scope:"title.function",begin:/\w*(_lpdf|_lupdf|_lpmf|_cdf|_lcdf|_lccdf|_qf)(?=\s*[\(.*\)])/},{scope:"number",match:M.concat(/(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)/,/(?:[eE][+-]?\d+(?:_\d+)*)?i?(?!\w)/),relevance:0},{scope:"string",begin:/"/,end:/"/}]}}return stan_1=k,stan_1}var stata_1,hasRequiredStata;function requireStata(){if(hasRequiredStata)return stata_1;hasRequiredStata=1;function k(m){return{name:"Stata",aliases:["do","ado"],case_insensitive:!0,keywords:"if else in foreach for forv forva forval forvalu forvalue forvalues by bys bysort xi quietly qui capture about ac ac_7 acprplot acprplot_7 adjust ado adopath adoupdate alpha ameans an ano anov anova anova_estat anova_terms anovadef aorder ap app appe appen append arch arch_dr arch_estat arch_p archlm areg areg_p args arima arima_dr arima_estat arima_p as asmprobit asmprobit_estat asmprobit_lf asmprobit_mfx__dlg asmprobit_p ass asse asser assert avplot avplot_7 avplots avplots_7 bcskew0 bgodfrey bias binreg bip0_lf biplot bipp_lf bipr_lf bipr_p biprobit bitest bitesti bitowt blogit bmemsize boot bootsamp bootstrap bootstrap_8 boxco_l boxco_p boxcox boxcox_6 boxcox_p bprobit br break brier bro brow brows browse brr brrstat bs bs_7 bsampl_w bsample bsample_7 bsqreg bstat bstat_7 bstat_8 bstrap bstrap_7 bubble bubbleplot ca ca_estat ca_p cabiplot camat canon canon_8 canon_8_p canon_estat canon_p cap caprojection capt captu captur capture cat cc cchart cchart_7 cci cd censobs_table centile cf char chdir checkdlgfiles checkestimationsample checkhlpfiles checksum chelp ci cii cl class classutil clear cli clis clist clo clog clog_lf clog_p clogi clogi_sw clogit clogit_lf clogit_p clogitp clogl_sw cloglog clonevar clslistarray cluster cluster_measures cluster_stop cluster_tree cluster_tree_8 clustermat cmdlog cnr cnre cnreg cnreg_p cnreg_sw cnsreg codebook collaps4 collapse colormult_nb colormult_nw compare compress conf confi confir confirm conren cons const constr constra constrai constrain constraint continue contract copy copyright copysource cor corc corr corr2data corr_anti corr_kmo corr_smc corre correl correla correlat correlate corrgram cou coun count cox cox_p cox_sw coxbase coxhaz coxvar cprplot cprplot_7 crc cret cretu cretur creturn cross cs cscript cscript_log csi ct ct_is ctset ctst_5 ctst_st cttost cumsp cumsp_7 cumul cusum cusum_7 cutil d|0 datasig datasign datasigna datasignat datasignatu datasignatur datasignature datetof db dbeta de dec deco decod decode deff des desc descr descri describ describe destring dfbeta dfgls dfuller di di_g dir dirstats dis discard disp disp_res disp_s displ displa display distinct do doe doed doedi doedit dotplot dotplot_7 dprobit drawnorm drop ds ds_util dstdize duplicates durbina dwstat dydx e|0 ed edi edit egen eivreg emdef en enc enco encod encode eq erase ereg ereg_lf ereg_p ereg_sw ereghet ereghet_glf ereghet_glf_sh ereghet_gp ereghet_ilf ereghet_ilf_sh ereghet_ip eret eretu eretur ereturn err erro error esize est est_cfexist est_cfname est_clickable est_expand est_hold est_table est_unhold est_unholdok estat estat_default estat_summ estat_vce_only esti estimates etodow etof etomdy ex exi exit expand expandcl fac fact facto factor factor_estat factor_p factor_pca_rotated factor_rotate factormat fcast fcast_compute fcast_graph fdades fdadesc fdadescr fdadescri fdadescrib fdadescribe fdasav fdasave fdause fh_st file open file read file close file filefilter fillin find_hlp_file findfile findit findit_7 fit fl fli flis flist for5_0 forest forestplot form forma format fpredict frac_154 frac_adj frac_chk frac_cox frac_ddp frac_dis frac_dv frac_in frac_mun frac_pp frac_pq frac_pv frac_wgt frac_xo fracgen fracplot fracplot_7 fracpoly fracpred fron_ex fron_hn fron_p fron_tn fron_tn2 frontier ftodate ftoe ftomdy ftowdate funnel funnelplot g|0 gamhet_glf gamhet_gp gamhet_ilf gamhet_ip gamma gamma_d2 gamma_p gamma_sw gammahet gdi_hexagon gdi_spokes ge gen gene gener genera generat generate genrank genstd genvmean gettoken gl gladder gladder_7 glim_l01 glim_l02 glim_l03 glim_l04 glim_l05 glim_l06 glim_l07 glim_l08 glim_l09 glim_l10 glim_l11 glim_l12 glim_lf glim_mu glim_nw1 glim_nw2 glim_nw3 glim_p glim_v1 glim_v2 glim_v3 glim_v4 glim_v5 glim_v6 glim_v7 glm glm_6 glm_p glm_sw glmpred glo glob globa global glogit glogit_8 glogit_p gmeans gnbre_lf gnbreg gnbreg_5 gnbreg_p gomp_lf gompe_sw gomper_p gompertz gompertzhet gomphet_glf gomphet_glf_sh gomphet_gp gomphet_ilf gomphet_ilf_sh gomphet_ip gphdot gphpen gphprint gprefs gprobi_p gprobit gprobit_8 gr gr7 gr_copy gr_current gr_db gr_describe gr_dir gr_draw gr_draw_replay gr_drop gr_edit gr_editviewopts gr_example gr_example2 gr_export gr_print gr_qscheme gr_query gr_read gr_rename gr_replay gr_save gr_set gr_setscheme gr_table gr_undo gr_use graph graph7 grebar greigen greigen_7 greigen_8 grmeanby grmeanby_7 gs_fileinfo gs_filetype gs_graphinfo gs_stat gsort gwood h|0 hadimvo hareg hausman haver he heck_d2 heckma_p heckman heckp_lf heckpr_p heckprob hel help hereg hetpr_lf hetpr_p hetprob hettest hexdump hilite hist hist_7 histogram hlogit hlu hmeans hotel hotelling hprobit hreg hsearch icd9 icd9_ff icd9p iis impute imtest inbase include inf infi infil infile infix inp inpu input ins insheet insp inspe inspec inspect integ inten intreg intreg_7 intreg_p intrg2_ll intrg_ll intrg_ll2 ipolate iqreg ir irf irf_create irfm iri is_svy is_svysum isid istdize ivprob_1_lf ivprob_lf ivprobit ivprobit_p ivreg ivreg_footnote ivtob_1_lf ivtob_lf ivtobit ivtobit_p jackknife jacknife jknife jknife_6 jknife_8 jkstat joinby kalarma1 kap kap_3 kapmeier kappa kapwgt kdensity kdensity_7 keep ksm ksmirnov ktau kwallis l|0 la lab labbe labbeplot labe label labelbook ladder levels levelsof leverage lfit lfit_p li lincom line linktest lis list lloghet_glf lloghet_glf_sh lloghet_gp lloghet_ilf lloghet_ilf_sh lloghet_ip llogi_sw llogis_p llogist llogistic llogistichet lnorm_lf lnorm_sw lnorma_p lnormal lnormalhet lnormhet_glf lnormhet_glf_sh lnormhet_gp lnormhet_ilf lnormhet_ilf_sh lnormhet_ip lnskew0 loadingplot loc loca local log logi logis_lf logistic logistic_p logit logit_estat logit_p loglogs logrank loneway lookfor lookup lowess lowess_7 lpredict lrecomp lroc lroc_7 lrtest ls lsens lsens_7 lsens_x lstat ltable ltable_7 ltriang lv lvr2plot lvr2plot_7 m|0 ma mac macr macro makecns man manova manova_estat manova_p manovatest mantel mark markin markout marksample mat mat_capp mat_order mat_put_rr mat_rapp mata mata_clear mata_describe mata_drop mata_matdescribe mata_matsave mata_matuse mata_memory mata_mlib mata_mosave mata_rename mata_which matalabel matcproc matlist matname matr matri matrix matrix_input__dlg matstrik mcc mcci md0_ md1_ md1debug_ md2_ md2debug_ mds mds_estat mds_p mdsconfig mdslong mdsmat mdsshepard mdytoe mdytof me_derd mean means median memory memsize menl meqparse mer merg merge meta mfp mfx mhelp mhodds minbound mixed_ll mixed_ll_reparm mkassert mkdir mkmat mkspline ml ml_5 ml_adjs ml_bhhhs ml_c_d ml_check ml_clear ml_cnt ml_debug ml_defd ml_e0 ml_e0_bfgs ml_e0_cycle ml_e0_dfp ml_e0i ml_e1 ml_e1_bfgs ml_e1_bhhh ml_e1_cycle ml_e1_dfp ml_e2 ml_e2_cycle ml_ebfg0 ml_ebfr0 ml_ebfr1 ml_ebh0q ml_ebhh0 ml_ebhr0 ml_ebr0i ml_ecr0i ml_edfp0 ml_edfr0 ml_edfr1 ml_edr0i ml_eds ml_eer0i ml_egr0i ml_elf ml_elf_bfgs ml_elf_bhhh ml_elf_cycle ml_elf_dfp ml_elfi ml_elfs ml_enr0i ml_enrr0 ml_erdu0 ml_erdu0_bfgs ml_erdu0_bhhh ml_erdu0_bhhhq ml_erdu0_cycle ml_erdu0_dfp ml_erdu0_nrbfgs ml_exde ml_footnote ml_geqnr ml_grad0 ml_graph ml_hbhhh ml_hd0 ml_hold ml_init ml_inv ml_log ml_max ml_mlout ml_mlout_8 ml_model ml_nb0 ml_opt ml_p ml_plot ml_query ml_rdgrd ml_repor ml_s_e ml_score ml_searc ml_technique ml_unhold mleval mlf_ mlmatbysum mlmatsum mlog mlogi mlogit mlogit_footnote mlogit_p mlopts mlsum mlvecsum mnl0_ mor more mov move mprobit mprobit_lf mprobit_p mrdu0_ mrdu1_ mvdecode mvencode mvreg mvreg_estat n|0 nbreg nbreg_al nbreg_lf nbreg_p nbreg_sw nestreg net newey newey_7 newey_p news nl nl_7 nl_9 nl_9_p nl_p nl_p_7 nlcom nlcom_p nlexp2 nlexp2_7 nlexp2a nlexp2a_7 nlexp3 nlexp3_7 nlgom3 nlgom3_7 nlgom4 nlgom4_7 nlinit nllog3 nllog3_7 nllog4 nllog4_7 nlog_rd nlogit nlogit_p nlogitgen nlogittree nlpred no nobreak noi nois noisi noisil noisily note notes notes_dlg nptrend numlabel numlist odbc old_ver olo olog ologi ologi_sw ologit ologit_p ologitp on one onew onewa oneway op_colnm op_comp op_diff op_inv op_str opr opro oprob oprob_sw oprobi oprobi_p oprobit oprobitp opts_exclusive order orthog orthpoly ou out outf outfi outfil outfile outs outsh outshe outshee outsheet ovtest pac pac_7 palette parse parse_dissim pause pca pca_8 pca_display pca_estat pca_p pca_rotate pcamat pchart pchart_7 pchi pchi_7 pcorr pctile pentium pergram pergram_7 permute permute_8 personal peto_st pkcollapse pkcross pkequiv pkexamine pkexamine_7 pkshape pksumm pksumm_7 pl plo plot plugin pnorm pnorm_7 poisgof poiss_lf poiss_sw poisso_p poisson poisson_estat post postclose postfile postutil pperron pr prais prais_e prais_e2 prais_p predict predictnl preserve print pro prob probi probit probit_estat probit_p proc_time procoverlay procrustes procrustes_estat procrustes_p profiler prog progr progra program prop proportion prtest prtesti pwcorr pwd q\\s qby qbys qchi qchi_7 qladder qladder_7 qnorm qnorm_7 qqplot qqplot_7 qreg qreg_c qreg_p qreg_sw qu quadchk quantile quantile_7 que quer query range ranksum ratio rchart rchart_7 rcof recast reclink recode reg reg3 reg3_p regdw regr regre regre_p2 regres regres_p regress regress_estat regriv_p remap ren rena renam rename renpfix repeat replace report reshape restore ret retu retur return rm rmdir robvar roccomp roccomp_7 roccomp_8 rocf_lf rocfit rocfit_8 rocgold rocplot rocplot_7 roctab roctab_7 rolling rologit rologit_p rot rota rotat rotate rotatemat rreg rreg_p ru run runtest rvfplot rvfplot_7 rvpplot rvpplot_7 sa safesum sample sampsi sav save savedresults saveold sc sca scal scala scalar scatter scm_mine sco scob_lf scob_p scobi_sw scobit scor score scoreplot scoreplot_help scree screeplot screeplot_help sdtest sdtesti se search separate seperate serrbar serrbar_7 serset set set_defaults sfrancia sh she shel shell shewhart shewhart_7 signestimationsample signrank signtest simul simul_7 simulate simulate_8 sktest sleep slogit slogit_d2 slogit_p smooth snapspan so sor sort spearman spikeplot spikeplot_7 spikeplt spline_x split sqreg sqreg_p sret sretu sretur sreturn ssc st st_ct st_hc st_hcd st_hcd_sh st_is st_issys st_note st_promo st_set st_show st_smpl st_subid stack statsby statsby_8 stbase stci stci_7 stcox stcox_estat stcox_fr stcox_fr_ll stcox_p stcox_sw stcoxkm stcoxkm_7 stcstat stcurv stcurve stcurve_7 stdes stem stepwise stereg stfill stgen stir stjoin stmc stmh stphplot stphplot_7 stphtest stphtest_7 stptime strate strate_7 streg streg_sw streset sts sts_7 stset stsplit stsum sttocc sttoct stvary stweib su suest suest_8 sum summ summa summar summari summariz summarize sunflower sureg survcurv survsum svar svar_p svmat svy svy_disp svy_dreg svy_est svy_est_7 svy_estat svy_get svy_gnbreg_p svy_head svy_header svy_heckman_p svy_heckprob_p svy_intreg_p svy_ivreg_p svy_logistic_p svy_logit_p svy_mlogit_p svy_nbreg_p svy_ologit_p svy_oprobit_p svy_poisson_p svy_probit_p svy_regress_p svy_sub svy_sub_7 svy_x svy_x_7 svy_x_p svydes svydes_8 svygen svygnbreg svyheckman svyheckprob svyintreg svyintreg_7 svyintrg svyivreg svylc svylog_p svylogit svymarkout svymarkout_8 svymean svymlog svymlogit svynbreg svyolog svyologit svyoprob svyoprobit svyopts svypois svypois_7 svypoisson svyprobit svyprobt svyprop svyprop_7 svyratio svyreg svyreg_p svyregress svyset svyset_7 svyset_8 svytab svytab_7 svytest svytotal sw sw_8 swcnreg swcox swereg swilk swlogis swlogit swologit swoprbt swpois swprobit swqreg swtobit swweib symmetry symmi symplot symplot_7 syntax sysdescribe sysdir sysuse szroeter ta tab tab1 tab2 tab_or tabd tabdi tabdis tabdisp tabi table tabodds tabodds_7 tabstat tabu tabul tabula tabulat tabulate te tempfile tempname tempvar tes test testnl testparm teststd tetrachoric time_it timer tis tob tobi tobit tobit_p tobit_sw token tokeni tokeniz tokenize tostring total translate translator transmap treat_ll treatr_p treatreg trim trimfill trnb_cons trnb_mean trpoiss_d2 trunc_ll truncr_p truncreg tsappend tset tsfill tsline tsline_ex tsreport tsrevar tsrline tsset tssmooth tsunab ttest ttesti tut_chk tut_wait tutorial tw tware_st two twoway twoway__fpfit_serset twoway__function_gen twoway__histogram_gen twoway__ipoint_serset twoway__ipoints_serset twoway__kdensity_gen twoway__lfit_serset twoway__normgen_gen twoway__pci_serset twoway__qfit_serset twoway__scatteri_serset twoway__sunflower_gen twoway_ksm_serset ty typ type typeof u|0 unab unabbrev unabcmd update us use uselabel var var_mkcompanion var_p varbasic varfcast vargranger varirf varirf_add varirf_cgraph varirf_create varirf_ctable varirf_describe varirf_dir varirf_drop varirf_erase varirf_graph varirf_ograph varirf_rename varirf_set varirf_table varlist varlmar varnorm varsoc varstable varstable_w varstable_w2 varwle vce vec vec_fevd vec_mkphi vec_p vec_p_w vecirf_create veclmar veclmar_w vecnorm vecnorm_w vecrank vecstable verinst vers versi versio version view viewsource vif vwls wdatetof webdescribe webseek webuse weib1_lf weib2_lf weib_lf weib_lf0 weibhet_glf weibhet_glf_sh weibhet_glfa weibhet_glfa_sh weibhet_gp weibhet_ilf weibhet_ilf_sh weibhet_ilfa weibhet_ilfa_sh weibhet_ip weibu_sw weibul_p weibull weibull_c weibull_s weibullhet wh whelp whi which whil while wilc_st wilcoxon win wind windo window winexec wntestb wntestb_7 wntestq xchart xchart_7 xcorr xcorr_7 xi xi_6 xmlsav xmlsave xmluse xpose xsh xshe xshel xshell xt_iis xt_tis xtab_p xtabond xtbin_p xtclog xtcloglog xtcloglog_8 xtcloglog_d2 xtcloglog_pa_p xtcloglog_re_p xtcnt_p xtcorr xtdata xtdes xtfront_p xtfrontier xtgee xtgee_elink xtgee_estat xtgee_makeivar xtgee_p xtgee_plink xtgls xtgls_p xthaus xthausman xtht_p xthtaylor xtile xtint_p xtintreg xtintreg_8 xtintreg_d2 xtintreg_p xtivp_1 xtivp_2 xtivreg xtline xtline_ex xtlogit xtlogit_8 xtlogit_d2 xtlogit_fe_p xtlogit_pa_p xtlogit_re_p xtmixed xtmixed_estat xtmixed_p xtnb_fe xtnb_lf xtnbreg xtnbreg_pa_p xtnbreg_refe_p xtpcse xtpcse_p xtpois xtpoisson xtpoisson_d2 xtpoisson_pa_p xtpoisson_refe_p xtpred xtprobit xtprobit_8 xtprobit_d2 xtprobit_re_p xtps_fe xtps_lf xtps_ren xtps_ren_8 xtrar_p xtrc xtrc_p xtrchh xtrefe_p xtreg xtreg_be xtreg_fe xtreg_ml xtreg_pa_p xtreg_re xtregar xtrere_p xtset xtsf_ll xtsf_llti xtsum xttab xttest0 xttobit xttobit_8 xttobit_p xttrans yx yxview__barlike_draw yxview_area_draw yxview_bar_draw yxview_dot_draw yxview_dropline_draw yxview_function_draw yxview_iarrow_draw yxview_ilabels_draw yxview_normal_draw yxview_pcarrow_draw yxview_pcbarrow_draw yxview_pccapsym_draw yxview_pcscatter_draw yxview_pcspike_draw yxview_rarea_draw yxview_rbar_draw yxview_rbarm_draw yxview_rcap_draw yxview_rcapsym_draw yxview_rconnected_draw yxview_rline_draw yxview_rscatter_draw yxview_rspike_draw yxview_spike_draw yxview_sunflower_draw zap_s zinb zinb_llf zinb_plf zip zip_llf zip_p zip_plf zt_ct_5 zt_hc_5 zt_hcd_5 zt_is_5 zt_iss_5 zt_sho_5 zt_smp_5 ztbase_5 ztcox_5 ztdes_5 ztereg_5 ztfill_5 ztgen_5 ztir_5 ztjoin_5 ztnb ztnb_p ztp ztp_p zts_5 ztset_5 ztspli_5 ztsum_5 zttoct_5 ztvary_5 ztweib_5",contains:[{className:"symbol",begin:/`[a-zA-Z0-9_]+'/},{className:"variable",begin:/\$\{?[a-zA-Z0-9_]+\}?/,relevance:0},{className:"string",variants:[{begin:`\`"[^\r ]*?"'`},{begin:`"[^\r "]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},m.COMMENT("^[ ]*\\*.*$",!1),m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE]}}return stata_1=k,stata_1}var step21_1,hasRequiredStep21;function requireStep21(){if(hasRequiredStep21)return step21_1;hasRequiredStep21=1;function k(m){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,m.COMMENT("/\\*\\*!","\\*/"),m.C_NUMBER_MODE,m.inherit(m.APOS_STRING_MODE,{illegal:null}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}return step21_1=k,step21_1}var stylus_1,hasRequiredStylus;function requireStylus(){if(hasRequiredStylus)return stylus_1;hasRequiredStylus=1;const k=D=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:D.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[D.APOS_STRING_MODE,D.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:D.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),m=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],M=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],G=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],V=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],q=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function $(D){const B=k(D),R="and or not only",U={className:"variable",begin:"\\$"+D.IDENT_RE},K=["charset","css","debug","extend","font-face","for","import","include","keyframes","media","mixin","page","warn","while"],z="(?=[.\\s\\n[:,(])";return{name:"Stylus",aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+["\\?","(\\bReturn\\b)","(\\bEnd\\b)","(\\bend\\b)","(\\bdef\\b)",";","#\\s","\\*\\s","===\\s","\\|","%"].join("|")+")",contains:[D.QUOTE_STRING_MODE,D.APOS_STRING_MODE,D.C_LINE_COMMENT_MODE,D.C_BLOCK_COMMENT_MODE,B.HEXCOLOR,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+z,className:"selector-class"},{begin:"#[a-zA-Z][a-zA-Z0-9_-]*"+z,className:"selector-id"},{begin:"\\b("+m.join("|")+")"+z,className:"selector-tag"},{className:"selector-pseudo",begin:"&?:("+G.join("|")+")"+z},{className:"selector-pseudo",begin:"&?:(:)?("+V.join("|")+")"+z},B.ATTRIBUTE_SELECTOR_MODE,{className:"keyword",begin:/@media/,starts:{end:/[{;}]/,keywords:{$pattern:/[a-z-]+/,keyword:R,attribute:M.join(" ")},contains:[B.CSS_NUMBER_MODE]}},{className:"keyword",begin:"@((-(o|moz|ms|webkit)-)?("+K.join("|")+"))\\b"},U,B.CSS_NUMBER_MODE,{className:"function",begin:"^[a-zA-Z][a-zA-Z0-9_-]*\\(.*\\)",illegal:"[\\n]",returnBegin:!0,contains:[{className:"title",begin:"\\b[a-zA-Z][a-zA-Z0-9_-]*"},{className:"params",begin:/\(/,end:/\)/,contains:[B.HEXCOLOR,U,D.APOS_STRING_MODE,B.CSS_NUMBER_MODE,D.QUOTE_STRING_MODE]}]},B.CSS_VARIABLE,{className:"attribute",begin:"\\b("+q.join("|")+")\\b",starts:{end:/;|$/,contains:[B.HEXCOLOR,U,D.APOS_STRING_MODE,D.QUOTE_STRING_MODE,B.CSS_NUMBER_MODE,D.C_BLOCK_COMMENT_MODE,B.IMPORTANT,B.FUNCTION_DISPATCH],illegal:/\./,relevance:0}},B.FUNCTION_DISPATCH]}}return stylus_1=$,stylus_1}var subunit_1,hasRequiredSubunit;function requireSubunit(){if(hasRequiredSubunit)return subunit_1;hasRequiredSubunit=1;function k(m){return{name:"SubUnit",case_insensitive:!0,contains:[{className:"string",begin:`\\[ (multipart)?`,end:`\\] -`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return subunit_1=k,subunit_1}var swift_1,hasRequiredSwift;function requireSwift(){if(hasRequiredSwift)return swift_1;hasRequiredSwift=1;function k(oe){return oe?typeof oe=="string"?oe:oe.source:null}function m(oe){return M("(?=",oe,")")}function M(...oe){return oe.map(me=>k(me)).join("")}function G(oe){const se=oe[oe.length-1];return typeof se=="object"&&se.constructor===Object?(oe.splice(oe.length-1,1),se):{}}function V(...oe){return"("+(G(oe).capture?"":"?:")+oe.map(Ee=>k(Ee)).join("|")+")"}const q=oe=>M(/\b/,oe,/\w$/.test(oe)?/\b/:/\B/),$=["Protocol","Type"].map(q),D=["init","self"].map(q),B=["Any","Self"],R=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],U=["false","nil","true"],K=["assignment","associativity","higherThan","left","lowerThan","none","right"],z=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],e=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],ae=V(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),ie=V(ae,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),he=M(ae,ie,"*"),J=V(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),X=V(J,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),W=M(J,X,"*"),L=M(/[A-Z]/,X,"*"),Q=["attached","autoclosure",M(/convention\(/,V("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",M(/objc\(/,W,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],ce=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function de(oe){const se={match:/\s+/,relevance:0},me=oe.COMMENT("/\\*","\\*/",{contains:["self"]}),Ee=[oe.C_LINE_COMMENT_MODE,me],ke={match:[/\./,V(...$,...D)],className:{2:"keyword"}},xe={match:M(/\./,V(...R)),relevance:0},fe=R.filter(Wt=>typeof Wt=="string").concat(["_|0"]),ve=R.filter(Wt=>typeof Wt!="string").concat(B).map(q),ye={variants:[{className:"keyword",match:V(...ve,...D)}]},Ce={$pattern:V(/\b\w+/,/#\w+/),keyword:fe.concat(z),literal:U},pe=[ke,xe,ye],_e={match:M(/\./,V(...e)),relevance:0},Ge={className:"built_in",match:M(/\b/,V(...e),/(?=\()/)},Te=[_e,Ge],Ne={match:/->/,relevance:0},Ze={className:"operator",relevance:0,variants:[{match:he},{match:`\\.(\\.|${ie})+`}]},ze=[Ne,Ze],Ae="([0-9]_*)+",De="([0-9a-fA-F]_*)+",Ue={className:"number",relevance:0,variants:[{match:`\\b(${Ae})(\\.(${Ae}))?([eE][+-]?(${Ae}))?\\b`},{match:`\\b0x(${De})(\\.(${De}))?([pP][+-]?(${Ae}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},we=(Wt="")=>({className:"subst",variants:[{match:M(/\\/,Wt,/[0\\tnr"']/)},{match:M(/\\/,Wt,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Ie=(Wt="")=>({className:"subst",match:M(/\\/,Wt,/[\t ]*(?:[\r\n]|\r\n)/)}),Be=(Wt="")=>({className:"subst",label:"interpol",begin:M(/\\/,Wt,/\(/),end:/\)/}),Ke=(Wt="")=>({begin:M(Wt,/"""/),end:M(/"""/,Wt),contains:[we(Wt),Ie(Wt),Be(Wt)]}),Ve=(Wt="")=>({begin:M(Wt,/"/),end:M(/"/,Wt),contains:[we(Wt),Be(Wt)]}),je={className:"string",variants:[Ke(),Ke("#"),Ke("##"),Ke("###"),Ve(),Ve("#"),Ve("##"),Ve("###")]},Le=[oe.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[oe.BACKSLASH_ESCAPE]}],et={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Le},Qe=Wt=>{const Mt=M(Wt,/\//),$t=M(/\//,Wt);return{begin:Mt,end:$t,contains:[...Le,{scope:"comment",begin:`#(?!.*${$t})`,end:/$/}]}},Fe={scope:"regexp",variants:[Qe("###"),Qe("##"),Qe("#"),et]},$e={match:M(/`/,W,/`/)},Ye={className:"variable",match:/\$\d+/},tt={className:"variable",match:`\\$${X}+`},ot=[$e,Ye,tt],st={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:ce,contains:[...ze,Ue,je]}]}},dt={scope:"keyword",match:M(/@/,V(...Q))},ct={scope:"meta",match:M(/@/,W)},mt=[st,dt,ct],ut={match:m(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:M(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,X,"+")},{className:"type",match:L,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:M(/\s+&\s+/,m(L)),relevance:0}]},rt={begin://,keywords:Ce,contains:[...Ee,...pe,...mt,Ne,ut]};ut.contains.push(rt);const He={match:M(W,/\s*:/),keywords:"_|0",relevance:0},Je={begin:/\(/,end:/\)/,relevance:0,keywords:Ce,contains:["self",He,...Ee,Fe,...pe,...Te,...ze,Ue,je,...ot,...mt,ut]},St={begin://,keywords:"repeat each",contains:[...Ee,ut]},bt={begin:V(m(M(W,/\s*:/)),m(M(W,/\s+/,W,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:W}]},pt={begin:/\(/,end:/\)/,keywords:Ce,contains:[bt,...Ee,...pe,...ze,Ue,je,...mt,ut,Je],endsParent:!0,illegal:/["']/},wt={match:[/(func|macro)/,/\s+/,V($e.match,W,he)],className:{1:"keyword",3:"title.function"},contains:[St,pt,se],illegal:[/\[/,/%/]},Pt={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[St,pt,se],illegal:/\[|%/},Nt={match:[/operator/,/\s+/,he],className:{1:"keyword",3:"title"}},Vt={begin:[/precedencegroup/,/\s+/,L],className:{1:"keyword",3:"title"},contains:[ut],keywords:[...K,...U],end:/}/};for(const Wt of je.variants){const Mt=Wt.contains.find(Yt=>Yt.label==="interpol");Mt.keywords=Ce;const $t=[...pe,...Te,...ze,Ue,je,...ot];Mt.contains=[...$t,{begin:/\(/,end:/\)/,contains:["self",...$t]}]}return{name:"Swift",keywords:Ce,contains:[...Ee,wt,Pt,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:Ce,contains:[oe.inherit(oe.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...pe]},Nt,Vt,{beginKeywords:"import",end:/$/,contains:[...Ee],relevance:0},Fe,...pe,...Te,...ze,Ue,je,...ot,...mt,ut,Je]}}return swift_1=de,swift_1}var taggerscript_1,hasRequiredTaggerscript;function requireTaggerscript(){if(hasRequiredTaggerscript)return taggerscript_1;hasRequiredTaggerscript=1;function k(m){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return taggerscript_1=k,taggerscript_1}var yaml_1,hasRequiredYaml;function requireYaml(){if(hasRequiredYaml)return yaml_1;hasRequiredYaml=1;function k(m){const M="true false yes no null",G="[\\w#;/?:@&=+$,.~*'()[\\]]+",V={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},q={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},$={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[m.BACKSLASH_ESCAPE,q]},D=m.inherit($,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),B="[0-9]{4}(-[0-9][0-9]){0,2}",R="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",U="(\\.[0-9]*)?",K="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",z={className:"number",begin:"\\b"+B+R+U+K+"\\b"},e={end:",",endsWithParent:!0,excludeEnd:!0,keywords:M,relevance:0},ae={begin:/\{/,end:/\}/,contains:[e],illegal:"\\n",relevance:0},ie={begin:"\\[",end:"\\]",contains:[e],illegal:"\\n",relevance:0},he=[V,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+G},{className:"type",begin:"!<"+G+">"},{className:"type",begin:"!"+G},{className:"type",begin:"!!"+G},{className:"meta",begin:"&"+m.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+m.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},m.HASH_COMMENT_MODE,{beginKeywords:M,keywords:{literal:M}},z,{className:"number",begin:m.C_NUMBER_RE+"\\b",relevance:0},ae,ie,$],J=[...he];return J.pop(),J.push(D),e.contains=J,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:he}}return yaml_1=k,yaml_1}var tap_1,hasRequiredTap;function requireTap(){if(hasRequiredTap)return tap_1;hasRequiredTap=1;function k(m){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[m.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return tap_1=k,tap_1}var tcl_1,hasRequiredTcl;function requireTcl(){if(hasRequiredTcl)return tcl_1;hasRequiredTcl=1;function k(m){const M=m.regex,G=/[a-zA-Z_][a-zA-Z0-9_]*/,V={className:"number",variants:[m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[m.COMMENT(";[ \\t]*#","$"),m.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:M.concat(/\$/,M.optional(/::/),G,"(::",G,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[V]}]},{className:"string",contains:[m.BACKSLASH_ESCAPE],variants:[m.inherit(m.QUOTE_STRING_MODE,{illegal:null})]},V]}}return tcl_1=k,tcl_1}var thrift_1,hasRequiredThrift;function requireThrift(){if(hasRequiredThrift)return thrift_1;hasRequiredThrift=1;function k(m){const M=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:M,literal:"true false"},contains:[m.QUOTE_STRING_MODE,m.NUMBER_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[m.inherit(m.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...M,"set","list","map"]},end:">",contains:["self"]}]}}return thrift_1=k,thrift_1}var tp_1,hasRequiredTp;function requireTp(){if(hasRequiredTp)return tp_1;hasRequiredTp=1;function k(m){const M={className:"number",begin:"[1-9][0-9]*",relevance:0},G={className:"symbol",begin:":[^\\]]+"},V={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",M,G]},q={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",M,m.QUOTE_STRING_MODE,G]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[V,q,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},m.COMMENT("//","[;$]"),m.COMMENT("!","[;$]"),m.COMMENT("--eg:","$"),m.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},m.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return tp_1=k,tp_1}var twig_1,hasRequiredTwig;function requireTwig(){if(hasRequiredTwig)return twig_1;hasRequiredTwig=1;function k(m){const M=m.regex,G=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],V=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let q=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];q=q.concat(q.map(ie=>`end${ie}`));const $={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},D={scope:"number",match:/\d+/},B={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[$,D]},R={beginKeywords:G.join(" "),keywords:{name:G},relevance:0,contains:[B]},U={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:V}]},K=(ie,{relevance:he})=>({beginScope:{1:"template-tag",3:"name"},relevance:he||2,endScope:"template-tag",begin:[/\{%/,/\s*/,M.either(...ie)],end:/%\}/,keywords:"in",contains:[U,R,$,D]}),z=/[a-z_]+/,e=K(q,{relevance:2}),ae=K([z],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[m.COMMENT(/\{#/,/#\}/),e,ae,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",U,R,$,D]}]}}return twig_1=k,twig_1}var typescript_1,hasRequiredTypescript;function requireTypescript(){if(hasRequiredTypescript)return typescript_1;hasRequiredTypescript=1;const k="[A-Za-z$_][0-9A-Za-z$_]*",m=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],M=["true","false","null","undefined","NaN","Infinity"],G=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],V=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],q=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],$=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],D=[].concat(q,G,V);function B(U){const K=U.regex,z=(we,{after:Ie})=>{const Be="",end:""},ie=/<[A-Za-z0-9\\._:-]+\s*\/>/,he={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(we,Ie)=>{const Be=we[0].length+we.index,Ke=we.input[Be];if(Ke==="<"||Ke===","){Ie.ignoreMatch();return}Ke===">"&&(z(we,{after:Be})||Ie.ignoreMatch());let Ve;const je=we.input.substring(Be);if(Ve=je.match(/^\s*=/)){Ie.ignoreMatch();return}if((Ve=je.match(/^\s+extends\s+/))&&Ve.index===0){Ie.ignoreMatch();return}}},J={$pattern:k,keyword:m,literal:M,built_in:D,"variable.language":$},X="[0-9](_?[0-9])*",W=`\\.(${X})`,L="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",Q={className:"number",variants:[{begin:`(\\b(${L})((${W})|\\.)?|(${W}))[eE][+-]?(${X})\\b`},{begin:`\\b(${L})\\b((${W})\\b|\\.)?|(${W})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},ce={className:"subst",begin:"\\$\\{",end:"\\}",keywords:J,contains:[]},de={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[U.BACKSLASH_ESCAPE,ce],subLanguage:"xml"}},oe={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[U.BACKSLASH_ESCAPE,ce],subLanguage:"css"}},se={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[U.BACKSLASH_ESCAPE,ce],subLanguage:"graphql"}},me={className:"string",begin:"`",end:"`",contains:[U.BACKSLASH_ESCAPE,ce]},ke={className:"comment",variants:[U.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:e+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),U.C_BLOCK_COMMENT_MODE,U.C_LINE_COMMENT_MODE]},xe=[U.APOS_STRING_MODE,U.QUOTE_STRING_MODE,de,oe,se,me,{match:/\$\d+/},Q];ce.contains=xe.concat({begin:/\{/,end:/\}/,keywords:J,contains:["self"].concat(xe)});const fe=[].concat(ke,ce.contains),ve=fe.concat([{begin:/\(/,end:/\)/,keywords:J,contains:["self"].concat(fe)}]),ye={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:J,contains:ve},Ce={variants:[{match:[/class/,/\s+/,e,/\s+/,/extends/,/\s+/,K.concat(e,"(",K.concat(/\./,e),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,e],scope:{1:"keyword",3:"title.class"}}]},pe={relevance:0,match:K.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...G,...V]}},_e={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Ge={variants:[{match:[/function/,/\s+/,e,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ye],illegal:/%/},Te={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Ne(we){return K.concat("(?!",we.join("|"),")")}const Ze={match:K.concat(/\b/,Ne([...q,"super","import"]),e,K.lookahead(/\(/)),className:"title.function",relevance:0},ze={begin:K.concat(/\./,K.lookahead(K.concat(e,/(?![0-9A-Za-z$_(])/))),end:e,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Ae={match:[/get|set/,/\s+/,e,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ye]},De="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+U.UNDERSCORE_IDENT_RE+")\\s*=>",Ue={match:[/const|var|let/,/\s+/,e,/\s*/,/=\s*/,/(async\s*)?/,K.lookahead(De)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ye]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:J,exports:{PARAMS_CONTAINS:ve,CLASS_REFERENCE:pe},illegal:/#(?![$_A-z])/,contains:[U.SHEBANG({label:"shebang",binary:"node",relevance:5}),_e,U.APOS_STRING_MODE,U.QUOTE_STRING_MODE,de,oe,se,me,ke,{match:/\$\d+/},Q,pe,{className:"attr",begin:e+K.lookahead(":"),relevance:0},Ue,{begin:"("+U.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[ke,U.REGEXP_MODE,{className:"function",begin:De,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:U.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:J,contains:ve}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:ae.begin,end:ae.end},{match:ie},{begin:he.begin,"on:begin":he.isTrulyOpeningTag,end:he.end}],subLanguage:"xml",contains:[{begin:he.begin,end:he.end,skip:!0,contains:["self"]}]}]},Ge,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+U.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ye,U.inherit(U.TITLE_MODE,{begin:e,className:"title.function"})]},{match:/\.\.\./,relevance:0},ze,{match:"\\$"+e,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ye]},Ze,Te,Ce,Ae,{match:/\$[(.]/}]}}function R(U){const K=B(U),z=k,e=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],ae={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[K.exports.CLASS_REFERENCE]},ie={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:e},contains:[K.exports.CLASS_REFERENCE]},he={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},J=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],X={$pattern:k,keyword:m.concat(J),literal:M,built_in:D.concat(e),"variable.language":$},W={className:"meta",begin:"@"+z},L=(ce,de,oe)=>{const se=ce.contains.findIndex(me=>me.label===de);if(se===-1)throw new Error("can not find mode to replace");ce.contains.splice(se,1,oe)};Object.assign(K.keywords,X),K.exports.PARAMS_CONTAINS.push(W),K.contains=K.contains.concat([W,ae,ie]),L(K,"shebang",U.SHEBANG()),L(K,"use_strict",he);const Q=K.contains.find(ce=>ce.label==="func.def");return Q.relevance=0,Object.assign(K,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),K}return typescript_1=R,typescript_1}var vala_1,hasRequiredVala;function requireVala(){if(hasRequiredVala)return vala_1;hasRequiredVala=1;function k(m){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[m.UNDERSCORE_TITLE_MODE]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return vala_1=k,vala_1}var vbnet_1,hasRequiredVbnet;function requireVbnet(){if(hasRequiredVbnet)return vbnet_1;hasRequiredVbnet=1;function k(m){const M=m.regex,G={className:"string",begin:/"(""|[^/n])"C\b/},V={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},q=/\d{1,2}\/\d{1,2}\/\d{4}/,$=/\d{4}-\d{1,2}-\d{1,2}/,D=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,B=/\d{1,2}(:\d{1,2}){1,2}/,R={className:"literal",variants:[{begin:M.concat(/# */,M.either($,q),/ *#/)},{begin:M.concat(/# */,B,/ *#/)},{begin:M.concat(/# */,D,/ *#/)},{begin:M.concat(/# */,M.either($,q),/ +/,M.either(D,B),/ *#/)}]},U={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},K={className:"label",begin:/^\w+:/},z=m.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),e=m.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[G,V,R,U,K,z,e,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[e]}]}}return vbnet_1=k,vbnet_1}var vbscript_1,hasRequiredVbscript;function requireVbscript(){if(hasRequiredVbscript)return vbscript_1;hasRequiredVbscript=1;function k(m){const M=m.regex,G=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],V=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],q={begin:M.concat(M.either(...G),"\\s*\\("),relevance:0,keywords:{built_in:G}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:V,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[q,m.inherit(m.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),m.COMMENT(/'/,/$/,{relevance:0}),m.C_NUMBER_MODE]}}return vbscript_1=k,vbscript_1}var vbscriptHtml_1,hasRequiredVbscriptHtml;function requireVbscriptHtml(){if(hasRequiredVbscriptHtml)return vbscriptHtml_1;hasRequiredVbscriptHtml=1;function k(m){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return vbscriptHtml_1=k,vbscriptHtml_1}var verilog_1,hasRequiredVerilog;function requireVerilog(){if(hasRequiredVerilog)return verilog_1;hasRequiredVerilog=1;function k(m){const M=m.regex,G={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},V=["__FILE__","__LINE__"],q=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:G,contains:[m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE,m.QUOTE_STRING_MODE,{scope:"number",contains:[m.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:M.concat(/`/,M.either(...V))},{scope:"meta",begin:M.concat(/`/,M.either(...q)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:q}]}}return verilog_1=k,verilog_1}var vhdl_1,hasRequiredVhdl;function requireVhdl(){if(hasRequiredVhdl)return vhdl_1;hasRequiredVhdl=1;function k(m){const M="\\d(_|\\d)*",G="[eE][-+]?"+M,V=M+"(\\."+M+")?("+G+")?",q="\\w+",D="\\b("+(M+"#"+q+"(\\."+q+")?#("+G+")?")+"|"+V+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[m.C_BLOCK_COMMENT_MODE,m.COMMENT("--","$"),m.QUOTE_STRING_MODE,{className:"number",begin:D,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[m.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[m.BACKSLASH_ESCAPE]}]}}return vhdl_1=k,vhdl_1}var vim_1,hasRequiredVim;function requireVim(){if(hasRequiredVim)return vim_1;hasRequiredVim=1;function k(m){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[m.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},m.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,m.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return vim_1=k,vim_1}var wasm_1,hasRequiredWasm;function requireWasm(){if(hasRequiredWasm)return wasm_1;hasRequiredWasm=1;function k(m){m.regex;const M=m.COMMENT(/\(;/,/;\)/);M.contains.push("self");const G=m.COMMENT(/;;/,/$/),V=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],q={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},$={className:"variable",begin:/\$[\w_]+/},D={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},B={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},R={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},U={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:V},contains:[G,M,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},$,D,q,m.QUOTE_STRING_MODE,R,U,B]}}return wasm_1=k,wasm_1}var wren_1,hasRequiredWren;function requireWren(){if(hasRequiredWren)return wren_1;hasRequiredWren=1;function k(m){const M=m.regex,G=/[a-zA-Z]\w*/,V=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],q=["true","false","null"],$=["this","super"],D=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],B=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],R={relevance:0,match:M.concat(/\b(?!(if|while|for|else|super)\b)/,G,/(?=\s*[({])/),className:"title.function"},U={match:M.concat(M.either(M.concat(/\b(?!(if|while|for|else|super)\b)/,G),M.either(...B)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:G}]}]}},K={variants:[{match:[/class\s+/,G,/\s+is\s+/,G]},{match:[/class\s+/,G]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:V},z={relevance:0,match:M.either(...B),className:"operator"},e={className:"string",begin:/"""/,end:/"""/},ae={className:"property",begin:M.concat(/\./,M.lookahead(G)),end:G,excludeBegin:!0,relevance:0},ie={relevance:0,match:M.concat(/\b_/,G),scope:"variable"},he={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:D}},J=m.C_NUMBER_MODE,X={match:[G,/\s*/,/=/,/\s*/,/\(/,G,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},W=m.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),L={scope:"subst",begin:/%\(/,end:/\)/,contains:[J,he,R,ie,z]},Q={scope:"string",begin:/"/,end:/"/,contains:[L,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};L.contains.push(Q);const ce=[...V,...$,...q],de={relevance:0,match:M.concat("\\b(?!",ce.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:V,"variable.language":$,literal:q},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:q},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},J,Q,e,W,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,he,K,X,U,R,z,ie,ae,de]}}return wren_1=k,wren_1}var x86asm_1,hasRequiredX86asm;function requireX86asm(){if(hasRequiredX86asm)return x86asm_1;hasRequiredX86asm=1;function k(m){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+m.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[m.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},m.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return x86asm_1=k,x86asm_1}var xl_1,hasRequiredXl;function requireXl(){if(hasRequiredXl)return xl_1;hasRequiredXl=1;function k(m){const M=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],G=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],V=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],$={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:M,literal:["true","false","nil"],built_in:G.concat(V)},D={className:"string",begin:'"',end:'"',illegal:"\\n"},B={className:"string",begin:"'",end:"'",illegal:"\\n"},R={className:"string",begin:"<<",end:">>"},U={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},K={beginKeywords:"import",end:"$",keywords:$,contains:[D]},z={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[m.inherit(m.TITLE_MODE,{starts:{endsWithParent:!0,keywords:$}})]};return{name:"XL",aliases:["tao"],keywords:$,contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,D,B,R,z,K,U,m.NUMBER_MODE]}}return xl_1=k,xl_1}var xquery_1,hasRequiredXquery;function requireXquery(){if(hasRequiredXquery)return xquery_1;hasRequiredXquery=1;function k(m){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return xquery_1=k,xquery_1}var zephir_1,hasRequiredZephir;function requireZephir(){if(hasRequiredZephir)return zephir_1;hasRequiredZephir=1;function k(m){const M={className:"string",contains:[m.BACKSLASH_ESCAPE],variants:[m.inherit(m.APOS_STRING_MODE,{illegal:null}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null})]},G=m.UNDERSCORE_TITLE_MODE,V={variants:[m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE]},q="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:q,contains:[m.C_LINE_COMMENT_MODE,m.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[m.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[G,{className:"params",begin:/\(/,end:/\)/,keywords:q,contains:["self",m.C_BLOCK_COMMENT_MODE,M,V]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},G]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[G]},{beginKeywords:"use",end:/;/,contains:[G]},{begin:/=>/},M,V]}}return zephir_1=k,zephir_1}var hljs=core;hljs.registerLanguage("1c",require_1c());hljs.registerLanguage("abnf",requireAbnf());hljs.registerLanguage("accesslog",requireAccesslog());hljs.registerLanguage("actionscript",requireActionscript());hljs.registerLanguage("ada",requireAda());hljs.registerLanguage("angelscript",requireAngelscript());hljs.registerLanguage("apache",requireApache());hljs.registerLanguage("applescript",requireApplescript());hljs.registerLanguage("arcade",requireArcade());hljs.registerLanguage("arduino",requireArduino());hljs.registerLanguage("armasm",requireArmasm());hljs.registerLanguage("xml",requireXml());hljs.registerLanguage("asciidoc",requireAsciidoc());hljs.registerLanguage("aspectj",requireAspectj());hljs.registerLanguage("autohotkey",requireAutohotkey());hljs.registerLanguage("autoit",requireAutoit());hljs.registerLanguage("avrasm",requireAvrasm());hljs.registerLanguage("awk",requireAwk());hljs.registerLanguage("axapta",requireAxapta());hljs.registerLanguage("bash",requireBash());hljs.registerLanguage("basic",requireBasic());hljs.registerLanguage("bnf",requireBnf());hljs.registerLanguage("brainfuck",requireBrainfuck());hljs.registerLanguage("c",requireC());hljs.registerLanguage("cal",requireCal());hljs.registerLanguage("capnproto",requireCapnproto());hljs.registerLanguage("ceylon",requireCeylon());hljs.registerLanguage("clean",requireClean());hljs.registerLanguage("clojure",requireClojure());hljs.registerLanguage("clojure-repl",requireClojureRepl());hljs.registerLanguage("cmake",requireCmake());hljs.registerLanguage("coffeescript",requireCoffeescript());hljs.registerLanguage("coq",requireCoq());hljs.registerLanguage("cos",requireCos());hljs.registerLanguage("cpp",requireCpp());hljs.registerLanguage("crmsh",requireCrmsh());hljs.registerLanguage("crystal",requireCrystal());hljs.registerLanguage("csharp",requireCsharp());hljs.registerLanguage("csp",requireCsp());hljs.registerLanguage("css",requireCss());hljs.registerLanguage("d",requireD());hljs.registerLanguage("markdown",requireMarkdown());hljs.registerLanguage("dart",requireDart());hljs.registerLanguage("delphi",requireDelphi());hljs.registerLanguage("diff",requireDiff());hljs.registerLanguage("django",requireDjango());hljs.registerLanguage("dns",requireDns());hljs.registerLanguage("dockerfile",requireDockerfile());hljs.registerLanguage("dos",requireDos());hljs.registerLanguage("dsconfig",requireDsconfig());hljs.registerLanguage("dts",requireDts());hljs.registerLanguage("dust",requireDust());hljs.registerLanguage("ebnf",requireEbnf());hljs.registerLanguage("elixir",requireElixir());hljs.registerLanguage("elm",requireElm());hljs.registerLanguage("ruby",requireRuby());hljs.registerLanguage("erb",requireErb());hljs.registerLanguage("erlang-repl",requireErlangRepl());hljs.registerLanguage("erlang",requireErlang());hljs.registerLanguage("excel",requireExcel());hljs.registerLanguage("fix",requireFix());hljs.registerLanguage("flix",requireFlix());hljs.registerLanguage("fortran",requireFortran());hljs.registerLanguage("fsharp",requireFsharp());hljs.registerLanguage("gams",requireGams());hljs.registerLanguage("gauss",requireGauss());hljs.registerLanguage("gcode",requireGcode());hljs.registerLanguage("gherkin",requireGherkin());hljs.registerLanguage("glsl",requireGlsl());hljs.registerLanguage("gml",requireGml());hljs.registerLanguage("go",requireGo());hljs.registerLanguage("golo",requireGolo());hljs.registerLanguage("gradle",requireGradle());hljs.registerLanguage("graphql",requireGraphql());hljs.registerLanguage("groovy",requireGroovy());hljs.registerLanguage("haml",requireHaml());hljs.registerLanguage("handlebars",requireHandlebars());hljs.registerLanguage("haskell",requireHaskell());hljs.registerLanguage("haxe",requireHaxe());hljs.registerLanguage("hsp",requireHsp());hljs.registerLanguage("http",requireHttp());hljs.registerLanguage("hy",requireHy());hljs.registerLanguage("inform7",requireInform7());hljs.registerLanguage("ini",requireIni());hljs.registerLanguage("irpf90",requireIrpf90());hljs.registerLanguage("isbl",requireIsbl());hljs.registerLanguage("java",requireJava());hljs.registerLanguage("javascript",requireJavascript());hljs.registerLanguage("jboss-cli",requireJbossCli());hljs.registerLanguage("json",requireJson());hljs.registerLanguage("julia",requireJulia());hljs.registerLanguage("julia-repl",requireJuliaRepl());hljs.registerLanguage("kotlin",requireKotlin());hljs.registerLanguage("lasso",requireLasso());hljs.registerLanguage("latex",requireLatex());hljs.registerLanguage("ldif",requireLdif());hljs.registerLanguage("leaf",requireLeaf());hljs.registerLanguage("less",requireLess());hljs.registerLanguage("lisp",requireLisp());hljs.registerLanguage("livecodeserver",requireLivecodeserver());hljs.registerLanguage("livescript",requireLivescript());hljs.registerLanguage("llvm",requireLlvm());hljs.registerLanguage("lsl",requireLsl());hljs.registerLanguage("lua",requireLua());hljs.registerLanguage("makefile",requireMakefile());hljs.registerLanguage("mathematica",requireMathematica());hljs.registerLanguage("matlab",requireMatlab());hljs.registerLanguage("maxima",requireMaxima());hljs.registerLanguage("mel",requireMel());hljs.registerLanguage("mercury",requireMercury());hljs.registerLanguage("mipsasm",requireMipsasm());hljs.registerLanguage("mizar",requireMizar());hljs.registerLanguage("perl",requirePerl());hljs.registerLanguage("mojolicious",requireMojolicious());hljs.registerLanguage("monkey",requireMonkey());hljs.registerLanguage("moonscript",requireMoonscript());hljs.registerLanguage("n1ql",requireN1ql());hljs.registerLanguage("nestedtext",requireNestedtext());hljs.registerLanguage("nginx",requireNginx());hljs.registerLanguage("nim",requireNim());hljs.registerLanguage("nix",requireNix());hljs.registerLanguage("node-repl",requireNodeRepl());hljs.registerLanguage("nsis",requireNsis());hljs.registerLanguage("objectivec",requireObjectivec());hljs.registerLanguage("ocaml",requireOcaml());hljs.registerLanguage("openscad",requireOpenscad());hljs.registerLanguage("oxygene",requireOxygene());hljs.registerLanguage("parser3",requireParser3());hljs.registerLanguage("pf",requirePf());hljs.registerLanguage("pgsql",requirePgsql());hljs.registerLanguage("php",requirePhp());hljs.registerLanguage("php-template",requirePhpTemplate());hljs.registerLanguage("plaintext",requirePlaintext());hljs.registerLanguage("pony",requirePony());hljs.registerLanguage("powershell",requirePowershell());hljs.registerLanguage("processing",requireProcessing());hljs.registerLanguage("profile",requireProfile());hljs.registerLanguage("prolog",requireProlog());hljs.registerLanguage("properties",requireProperties());hljs.registerLanguage("protobuf",requireProtobuf());hljs.registerLanguage("puppet",requirePuppet());hljs.registerLanguage("purebasic",requirePurebasic());hljs.registerLanguage("python",requirePython());hljs.registerLanguage("python-repl",requirePythonRepl());hljs.registerLanguage("q",requireQ());hljs.registerLanguage("qml",requireQml());hljs.registerLanguage("r",requireR());hljs.registerLanguage("reasonml",requireReasonml());hljs.registerLanguage("rib",requireRib());hljs.registerLanguage("roboconf",requireRoboconf());hljs.registerLanguage("routeros",requireRouteros());hljs.registerLanguage("rsl",requireRsl());hljs.registerLanguage("ruleslanguage",requireRuleslanguage());hljs.registerLanguage("rust",requireRust());hljs.registerLanguage("sas",requireSas());hljs.registerLanguage("scala",requireScala());hljs.registerLanguage("scheme",requireScheme());hljs.registerLanguage("scilab",requireScilab());hljs.registerLanguage("scss",requireScss());hljs.registerLanguage("shell",requireShell());hljs.registerLanguage("smali",requireSmali());hljs.registerLanguage("smalltalk",requireSmalltalk());hljs.registerLanguage("sml",requireSml());hljs.registerLanguage("sqf",requireSqf());hljs.registerLanguage("sql",requireSql());hljs.registerLanguage("stan",requireStan());hljs.registerLanguage("stata",requireStata());hljs.registerLanguage("step21",requireStep21());hljs.registerLanguage("stylus",requireStylus());hljs.registerLanguage("subunit",requireSubunit());hljs.registerLanguage("swift",requireSwift());hljs.registerLanguage("taggerscript",requireTaggerscript());hljs.registerLanguage("yaml",requireYaml());hljs.registerLanguage("tap",requireTap());hljs.registerLanguage("tcl",requireTcl());hljs.registerLanguage("thrift",requireThrift());hljs.registerLanguage("tp",requireTp());hljs.registerLanguage("twig",requireTwig());hljs.registerLanguage("typescript",requireTypescript());hljs.registerLanguage("vala",requireVala());hljs.registerLanguage("vbnet",requireVbnet());hljs.registerLanguage("vbscript",requireVbscript());hljs.registerLanguage("vbscript-html",requireVbscriptHtml());hljs.registerLanguage("verilog",requireVerilog());hljs.registerLanguage("vhdl",requireVhdl());hljs.registerLanguage("vim",requireVim());hljs.registerLanguage("wasm",requireWasm());hljs.registerLanguage("wren",requireWren());hljs.registerLanguage("x86asm",requireX86asm());hljs.registerLanguage("xl",requireXl());hljs.registerLanguage("xquery",requireXquery());hljs.registerLanguage("zephir",requireZephir());hljs.HighlightJS=hljs;hljs.default=hljs;var lib$2=hljs;const HighlightJS=getDefaultExportFromCjs(lib$2);var utils$1={};const Aacute="Á",aacute="á",Abreve="Ă",abreve="ă",ac="∾",acd="∿",acE="∾̳",Acirc="Â",acirc="â",acute="´",Acy="А",acy="а",AElig="Æ",aelig="æ",af="⁡",Afr="𝔄",afr="𝔞",Agrave="À",agrave="à",alefsym="ℵ",aleph="ℵ",Alpha="Α",alpha="α",Amacr="Ā",amacr="ā",amalg="⨿",amp="&",AMP="&",andand="⩕",And="⩓",and="∧",andd="⩜",andslope="⩘",andv="⩚",ang="∠",ange="⦤",angle="∠",angmsdaa="⦨",angmsdab="⦩",angmsdac="⦪",angmsdad="⦫",angmsdae="⦬",angmsdaf="⦭",angmsdag="⦮",angmsdah="⦯",angmsd="∡",angrt="∟",angrtvb="⊾",angrtvbd="⦝",angsph="∢",angst="Å",angzarr="⍼",Aogon="Ą",aogon="ą",Aopf="𝔸",aopf="𝕒",apacir="⩯",ap="≈",apE="⩰",ape="≊",apid="≋",apos="'",ApplyFunction="⁡",approx="≈",approxeq="≊",Aring="Å",aring="å",Ascr="𝒜",ascr="𝒶",Assign="≔",ast="*",asymp="≈",asympeq="≍",Atilde="Ã",atilde="ã",Auml="Ä",auml="ä",awconint="∳",awint="⨑",backcong="≌",backepsilon="϶",backprime="‵",backsim="∽",backsimeq="⋍",Backslash="∖",Barv="⫧",barvee="⊽",barwed="⌅",Barwed="⌆",barwedge="⌅",bbrk="⎵",bbrktbrk="⎶",bcong="≌",Bcy="Б",bcy="б",bdquo="„",becaus="∵",because="∵",Because="∵",bemptyv="⦰",bepsi="϶",bernou="ℬ",Bernoullis="ℬ",Beta="Β",beta="β",beth="ℶ",between="≬",Bfr="𝔅",bfr="𝔟",bigcap="⋂",bigcirc="◯",bigcup="⋃",bigodot="⨀",bigoplus="⨁",bigotimes="⨂",bigsqcup="⨆",bigstar="★",bigtriangledown="▽",bigtriangleup="△",biguplus="⨄",bigvee="⋁",bigwedge="⋀",bkarow="⤍",blacklozenge="⧫",blacksquare="▪",blacktriangle="▴",blacktriangledown="▾",blacktriangleleft="◂",blacktriangleright="▸",blank="␣",blk12="▒",blk14="░",blk34="▓",block$1="█",bne="=⃥",bnequiv="≡⃥",bNot="⫭",bnot="⌐",Bopf="𝔹",bopf="𝕓",bot="⊥",bottom="⊥",bowtie="⋈",boxbox="⧉",boxdl="┐",boxdL="╕",boxDl="╖",boxDL="╗",boxdr="┌",boxdR="╒",boxDr="╓",boxDR="╔",boxh="─",boxH="═",boxhd="┬",boxHd="╤",boxhD="╥",boxHD="╦",boxhu="┴",boxHu="╧",boxhU="╨",boxHU="╩",boxminus="⊟",boxplus="⊞",boxtimes="⊠",boxul="┘",boxuL="╛",boxUl="╜",boxUL="╝",boxur="└",boxuR="╘",boxUr="╙",boxUR="╚",boxv="│",boxV="║",boxvh="┼",boxvH="╪",boxVh="╫",boxVH="╬",boxvl="┤",boxvL="╡",boxVl="╢",boxVL="╣",boxvr="├",boxvR="╞",boxVr="╟",boxVR="╠",bprime="‵",breve="˘",Breve="˘",brvbar="¦",bscr="𝒷",Bscr="ℬ",bsemi="⁏",bsim="∽",bsime="⋍",bsolb="⧅",bsol="\\",bsolhsub="⟈",bull="•",bullet="•",bump="≎",bumpE="⪮",bumpe="≏",Bumpeq="≎",bumpeq="≏",Cacute="Ć",cacute="ć",capand="⩄",capbrcup="⩉",capcap="⩋",cap="∩",Cap="⋒",capcup="⩇",capdot="⩀",CapitalDifferentialD="ⅅ",caps="∩︀",caret="⁁",caron="ˇ",Cayleys="ℭ",ccaps="⩍",Ccaron="Č",ccaron="č",Ccedil="Ç",ccedil="ç",Ccirc="Ĉ",ccirc="ĉ",Cconint="∰",ccups="⩌",ccupssm="⩐",Cdot="Ċ",cdot="ċ",cedil="¸",Cedilla="¸",cemptyv="⦲",cent="¢",centerdot="·",CenterDot="·",cfr="𝔠",Cfr="ℭ",CHcy="Ч",chcy="ч",check$1="✓",checkmark="✓",Chi="Χ",chi="χ",circ="ˆ",circeq="≗",circlearrowleft="↺",circlearrowright="↻",circledast="⊛",circledcirc="⊚",circleddash="⊝",CircleDot="⊙",circledR="®",circledS="Ⓢ",CircleMinus="⊖",CirclePlus="⊕",CircleTimes="⊗",cir="○",cirE="⧃",cire="≗",cirfnint="⨐",cirmid="⫯",cirscir="⧂",ClockwiseContourIntegral="∲",CloseCurlyDoubleQuote="”",CloseCurlyQuote="’",clubs="♣",clubsuit="♣",colon=":",Colon="∷",Colone="⩴",colone="≔",coloneq="≔",comma=",",commat="@",comp="∁",compfn="∘",complement="∁",complexes="ℂ",cong="≅",congdot="⩭",Congruent="≡",conint="∮",Conint="∯",ContourIntegral="∮",copf="𝕔",Copf="ℂ",coprod="∐",Coproduct="∐",copy="©",COPY="©",copysr="℗",CounterClockwiseContourIntegral="∳",crarr="↵",cross="✗",Cross="⨯",Cscr="𝒞",cscr="𝒸",csub="⫏",csube="⫑",csup="⫐",csupe="⫒",ctdot="⋯",cudarrl="⤸",cudarrr="⤵",cuepr="⋞",cuesc="⋟",cularr="↶",cularrp="⤽",cupbrcap="⩈",cupcap="⩆",CupCap="≍",cup="∪",Cup="⋓",cupcup="⩊",cupdot="⊍",cupor="⩅",cups="∪︀",curarr="↷",curarrm="⤼",curlyeqprec="⋞",curlyeqsucc="⋟",curlyvee="⋎",curlywedge="⋏",curren="¤",curvearrowleft="↶",curvearrowright="↷",cuvee="⋎",cuwed="⋏",cwconint="∲",cwint="∱",cylcty="⌭",dagger="†",Dagger="‡",daleth="ℸ",darr="↓",Darr="↡",dArr="⇓",dash="‐",Dashv="⫤",dashv="⊣",dbkarow="⤏",dblac="˝",Dcaron="Ď",dcaron="ď",Dcy="Д",dcy="д",ddagger="‡",ddarr="⇊",DD="ⅅ",dd="ⅆ",DDotrahd="⤑",ddotseq="⩷",deg="°",Del="∇",Delta="Δ",delta="δ",demptyv="⦱",dfisht="⥿",Dfr="𝔇",dfr="𝔡",dHar="⥥",dharl="⇃",dharr="⇂",DiacriticalAcute="´",DiacriticalDot="˙",DiacriticalDoubleAcute="˝",DiacriticalGrave="`",DiacriticalTilde="˜",diam="⋄",diamond="⋄",Diamond="⋄",diamondsuit="♦",diams="♦",die="¨",DifferentialD="ⅆ",digamma="ϝ",disin="⋲",div="÷",divide="÷",divideontimes="⋇",divonx="⋇",DJcy="Ђ",djcy="ђ",dlcorn="⌞",dlcrop="⌍",dollar="$",Dopf="𝔻",dopf="𝕕",Dot="¨",dot="˙",DotDot="⃜",doteq="≐",doteqdot="≑",DotEqual="≐",dotminus="∸",dotplus="∔",dotsquare="⊡",doublebarwedge="⌆",DoubleContourIntegral="∯",DoubleDot="¨",DoubleDownArrow="⇓",DoubleLeftArrow="⇐",DoubleLeftRightArrow="⇔",DoubleLeftTee="⫤",DoubleLongLeftArrow="⟸",DoubleLongLeftRightArrow="⟺",DoubleLongRightArrow="⟹",DoubleRightArrow="⇒",DoubleRightTee="⊨",DoubleUpArrow="⇑",DoubleUpDownArrow="⇕",DoubleVerticalBar="∥",DownArrowBar="⤓",downarrow="↓",DownArrow="↓",Downarrow="⇓",DownArrowUpArrow="⇵",DownBreve="̑",downdownarrows="⇊",downharpoonleft="⇃",downharpoonright="⇂",DownLeftRightVector="⥐",DownLeftTeeVector="⥞",DownLeftVectorBar="⥖",DownLeftVector="↽",DownRightTeeVector="⥟",DownRightVectorBar="⥗",DownRightVector="⇁",DownTeeArrow="↧",DownTee="⊤",drbkarow="⤐",drcorn="⌟",drcrop="⌌",Dscr="𝒟",dscr="𝒹",DScy="Ѕ",dscy="ѕ",dsol="⧶",Dstrok="Đ",dstrok="đ",dtdot="⋱",dtri="▿",dtrif="▾",duarr="⇵",duhar="⥯",dwangle="⦦",DZcy="Џ",dzcy="џ",dzigrarr="⟿",Eacute="É",eacute="é",easter="⩮",Ecaron="Ě",ecaron="ě",Ecirc="Ê",ecirc="ê",ecir="≖",ecolon="≕",Ecy="Э",ecy="э",eDDot="⩷",Edot="Ė",edot="ė",eDot="≑",ee$1="ⅇ",efDot="≒",Efr="𝔈",efr="𝔢",eg="⪚",Egrave="È",egrave="è",egs="⪖",egsdot="⪘",el="⪙",Element$1="∈",elinters="⏧",ell="ℓ",els="⪕",elsdot="⪗",Emacr="Ē",emacr="ē",empty$1="∅",emptyset="∅",EmptySmallSquare="◻",emptyv="∅",EmptyVerySmallSquare="▫",emsp13=" ",emsp14=" ",emsp=" ",ENG="Ŋ",eng="ŋ",ensp=" ",Eogon="Ę",eogon="ę",Eopf="𝔼",eopf="𝕖",epar="⋕",eparsl="⧣",eplus="⩱",epsi="ε",Epsilon="Ε",epsilon$1="ε",epsiv="ϵ",eqcirc="≖",eqcolon="≕",eqsim="≂",eqslantgtr="⪖",eqslantless="⪕",Equal="⩵",equals="=",EqualTilde="≂",equest="≟",Equilibrium="⇌",equiv="≡",equivDD="⩸",eqvparsl="⧥",erarr="⥱",erDot="≓",escr="ℯ",Escr="ℰ",esdot="≐",Esim="⩳",esim="≂",Eta="Η",eta="η",ETH="Ð",eth="ð",Euml="Ë",euml="ë",euro="€",excl="!",exist="∃",Exists="∃",expectation="ℰ",exponentiale="ⅇ",ExponentialE="ⅇ",fallingdotseq="≒",Fcy="Ф",fcy="ф",female="♀",ffilig="ffi",fflig="ff",ffllig="ffl",Ffr="𝔉",ffr="𝔣",filig="fi",FilledSmallSquare="◼",FilledVerySmallSquare="▪",fjlig="fj",flat="♭",fllig="fl",fltns="▱",fnof="ƒ",Fopf="𝔽",fopf="𝕗",forall="∀",ForAll="∀",fork="⋔",forkv="⫙",Fouriertrf="ℱ",fpartint="⨍",frac12="½",frac13="⅓",frac14="¼",frac15="⅕",frac16="⅙",frac18="⅛",frac23="⅔",frac25="⅖",frac34="¾",frac35="⅗",frac38="⅜",frac45="⅘",frac56="⅚",frac58="⅝",frac78="⅞",frasl="⁄",frown="⌢",fscr="𝒻",Fscr="ℱ",gacute="ǵ",Gamma="Γ",gamma$1="γ",Gammad="Ϝ",gammad="ϝ",gap="⪆",Gbreve="Ğ",gbreve="ğ",Gcedil="Ģ",Gcirc="Ĝ",gcirc="ĝ",Gcy="Г",gcy="г",Gdot="Ġ",gdot="ġ",ge$1="≥",gE="≧",gEl="⪌",gel="⋛",geq="≥",geqq="≧",geqslant="⩾",gescc="⪩",ges="⩾",gesdot="⪀",gesdoto="⪂",gesdotol="⪄",gesl="⋛︀",gesles="⪔",Gfr="𝔊",gfr="𝔤",gg="≫",Gg="⋙",ggg="⋙",gimel="ℷ",GJcy="Ѓ",gjcy="ѓ",gla="⪥",gl="≷",glE="⪒",glj="⪤",gnap="⪊",gnapprox="⪊",gne="⪈",gnE="≩",gneq="⪈",gneqq="≩",gnsim="⋧",Gopf="𝔾",gopf="𝕘",grave="`",GreaterEqual="≥",GreaterEqualLess="⋛",GreaterFullEqual="≧",GreaterGreater="⪢",GreaterLess="≷",GreaterSlantEqual="⩾",GreaterTilde="≳",Gscr="𝒢",gscr="ℊ",gsim="≳",gsime="⪎",gsiml="⪐",gtcc="⪧",gtcir="⩺",gt=">",GT$1=">",Gt="≫",gtdot="⋗",gtlPar="⦕",gtquest="⩼",gtrapprox="⪆",gtrarr="⥸",gtrdot="⋗",gtreqless="⋛",gtreqqless="⪌",gtrless="≷",gtrsim="≳",gvertneqq="≩︀",gvnE="≩︀",Hacek="ˇ",hairsp=" ",half="½",hamilt="ℋ",HARDcy="Ъ",hardcy="ъ",harrcir="⥈",harr="↔",hArr="⇔",harrw="↭",Hat="^",hbar="ℏ",Hcirc="Ĥ",hcirc="ĥ",hearts="♥",heartsuit="♥",hellip="…",hercon="⊹",hfr="𝔥",Hfr="ℌ",HilbertSpace="ℋ",hksearow="⤥",hkswarow="⤦",hoarr="⇿",homtht="∻",hookleftarrow="↩",hookrightarrow="↪",hopf="𝕙",Hopf="ℍ",horbar="―",HorizontalLine="─",hscr="𝒽",Hscr="ℋ",hslash="ℏ",Hstrok="Ħ",hstrok="ħ",HumpDownHump="≎",HumpEqual="≏",hybull="⁃",hyphen="‐",Iacute="Í",iacute="í",ic="⁣",Icirc="Î",icirc="î",Icy="И",icy="и",Idot="İ",IEcy="Е",iecy="е",iexcl="¡",iff="⇔",ifr="𝔦",Ifr="ℑ",Igrave="Ì",igrave="ì",ii="ⅈ",iiiint="⨌",iiint="∭",iinfin="⧜",iiota="℩",IJlig="IJ",ijlig="ij",Imacr="Ī",imacr="ī",image$1="ℑ",ImaginaryI="ⅈ",imagline="ℐ",imagpart="ℑ",imath="ı",Im="ℑ",imof="⊷",imped="Ƶ",Implies="⇒",incare="℅",infin="∞",infintie="⧝",inodot="ı",intcal="⊺",int="∫",Int="∬",integers="ℤ",Integral="∫",intercal="⊺",Intersection="⋂",intlarhk="⨗",intprod="⨼",InvisibleComma="⁣",InvisibleTimes="⁢",IOcy="Ё",iocy="ё",Iogon="Į",iogon="į",Iopf="𝕀",iopf="𝕚",Iota="Ι",iota="ι",iprod="⨼",iquest="¿",iscr="𝒾",Iscr="ℐ",isin="∈",isindot="⋵",isinE="⋹",isins="⋴",isinsv="⋳",isinv="∈",it="⁢",Itilde="Ĩ",itilde="ĩ",Iukcy="І",iukcy="і",Iuml="Ï",iuml="ï",Jcirc="Ĵ",jcirc="ĵ",Jcy="Й",jcy="й",Jfr="𝔍",jfr="𝔧",jmath="ȷ",Jopf="𝕁",jopf="𝕛",Jscr="𝒥",jscr="𝒿",Jsercy="Ј",jsercy="ј",Jukcy="Є",jukcy="є",Kappa="Κ",kappa="κ",kappav="ϰ",Kcedil="Ķ",kcedil="ķ",Kcy="К",kcy="к",Kfr="𝔎",kfr="𝔨",kgreen="ĸ",KHcy="Х",khcy="х",KJcy="Ќ",kjcy="ќ",Kopf="𝕂",kopf="𝕜",Kscr="𝒦",kscr="𝓀",lAarr="⇚",Lacute="Ĺ",lacute="ĺ",laemptyv="⦴",lagran="ℒ",Lambda="Λ",lambda="λ",lang="⟨",Lang="⟪",langd="⦑",langle="⟨",lap="⪅",Laplacetrf="ℒ",laquo="«",larrb="⇤",larrbfs="⤟",larr="←",Larr="↞",lArr="⇐",larrfs="⤝",larrhk="↩",larrlp="↫",larrpl="⤹",larrsim="⥳",larrtl="↢",latail="⤙",lAtail="⤛",lat="⪫",late="⪭",lates="⪭︀",lbarr="⤌",lBarr="⤎",lbbrk="❲",lbrace="{",lbrack="[",lbrke="⦋",lbrksld="⦏",lbrkslu="⦍",Lcaron="Ľ",lcaron="ľ",Lcedil="Ļ",lcedil="ļ",lceil="⌈",lcub="{",Lcy="Л",lcy="л",ldca="⤶",ldquo="“",ldquor="„",ldrdhar="⥧",ldrushar="⥋",ldsh="↲",le="≤",lE="≦",LeftAngleBracket="⟨",LeftArrowBar="⇤",leftarrow="←",LeftArrow="←",Leftarrow="⇐",LeftArrowRightArrow="⇆",leftarrowtail="↢",LeftCeiling="⌈",LeftDoubleBracket="⟦",LeftDownTeeVector="⥡",LeftDownVectorBar="⥙",LeftDownVector="⇃",LeftFloor="⌊",leftharpoondown="↽",leftharpoonup="↼",leftleftarrows="⇇",leftrightarrow="↔",LeftRightArrow="↔",Leftrightarrow="⇔",leftrightarrows="⇆",leftrightharpoons="⇋",leftrightsquigarrow="↭",LeftRightVector="⥎",LeftTeeArrow="↤",LeftTee="⊣",LeftTeeVector="⥚",leftthreetimes="⋋",LeftTriangleBar="⧏",LeftTriangle="⊲",LeftTriangleEqual="⊴",LeftUpDownVector="⥑",LeftUpTeeVector="⥠",LeftUpVectorBar="⥘",LeftUpVector="↿",LeftVectorBar="⥒",LeftVector="↼",lEg="⪋",leg="⋚",leq="≤",leqq="≦",leqslant="⩽",lescc="⪨",les="⩽",lesdot="⩿",lesdoto="⪁",lesdotor="⪃",lesg="⋚︀",lesges="⪓",lessapprox="⪅",lessdot="⋖",lesseqgtr="⋚",lesseqqgtr="⪋",LessEqualGreater="⋚",LessFullEqual="≦",LessGreater="≶",lessgtr="≶",LessLess="⪡",lesssim="≲",LessSlantEqual="⩽",LessTilde="≲",lfisht="⥼",lfloor="⌊",Lfr="𝔏",lfr="𝔩",lg="≶",lgE="⪑",lHar="⥢",lhard="↽",lharu="↼",lharul="⥪",lhblk="▄",LJcy="Љ",ljcy="љ",llarr="⇇",ll="≪",Ll="⋘",llcorner="⌞",Lleftarrow="⇚",llhard="⥫",lltri="◺",Lmidot="Ŀ",lmidot="ŀ",lmoustache="⎰",lmoust="⎰",lnap="⪉",lnapprox="⪉",lne="⪇",lnE="≨",lneq="⪇",lneqq="≨",lnsim="⋦",loang="⟬",loarr="⇽",lobrk="⟦",longleftarrow="⟵",LongLeftArrow="⟵",Longleftarrow="⟸",longleftrightarrow="⟷",LongLeftRightArrow="⟷",Longleftrightarrow="⟺",longmapsto="⟼",longrightarrow="⟶",LongRightArrow="⟶",Longrightarrow="⟹",looparrowleft="↫",looparrowright="↬",lopar="⦅",Lopf="𝕃",lopf="𝕝",loplus="⨭",lotimes="⨴",lowast="∗",lowbar="_",LowerLeftArrow="↙",LowerRightArrow="↘",loz="◊",lozenge="◊",lozf="⧫",lpar="(",lparlt="⦓",lrarr="⇆",lrcorner="⌟",lrhar="⇋",lrhard="⥭",lrm="‎",lrtri="⊿",lsaquo="‹",lscr="𝓁",Lscr="ℒ",lsh="↰",Lsh="↰",lsim="≲",lsime="⪍",lsimg="⪏",lsqb="[",lsquo="‘",lsquor="‚",Lstrok="Ł",lstrok="ł",ltcc="⪦",ltcir="⩹",lt="<",LT$1="<",Lt="≪",ltdot="⋖",lthree="⋋",ltimes="⋉",ltlarr="⥶",ltquest="⩻",ltri="◃",ltrie="⊴",ltrif="◂",ltrPar="⦖",lurdshar="⥊",luruhar="⥦",lvertneqq="≨︀",lvnE="≨︀",macr="¯",male="♂",malt="✠",maltese="✠",map$1="↦",mapsto="↦",mapstodown="↧",mapstoleft="↤",mapstoup="↥",marker="▮",mcomma="⨩",Mcy="М",mcy="м",mdash="—",mDDot="∺",measuredangle="∡",MediumSpace=" ",Mellintrf="ℳ",Mfr="𝔐",mfr="𝔪",mho="℧",micro="µ",midast="*",midcir="⫰",mid="∣",middot="·",minusb="⊟",minus="−",minusd="∸",minusdu="⨪",MinusPlus="∓",mlcp="⫛",mldr="…",mnplus="∓",models="⊧",Mopf="𝕄",mopf="𝕞",mp="∓",mscr="𝓂",Mscr="ℳ",mstpos="∾",Mu="Μ",mu="μ",multimap="⊸",mumap="⊸",nabla="∇",Nacute="Ń",nacute="ń",nang="∠⃒",nap$1="≉",napE="⩰̸",napid="≋̸",napos="ʼn",napprox="≉",natural="♮",naturals="ℕ",natur="♮",nbsp=" ",nbump="≎̸",nbumpe="≏̸",ncap="⩃",Ncaron="Ň",ncaron="ň",Ncedil="Ņ",ncedil="ņ",ncong="≇",ncongdot="⩭̸",ncup="⩂",Ncy="Н",ncy="н",ndash="–",nearhk="⤤",nearr="↗",neArr="⇗",nearrow="↗",ne="≠",nedot="≐̸",NegativeMediumSpace="​",NegativeThickSpace="​",NegativeThinSpace="​",NegativeVeryThinSpace="​",nequiv="≢",nesear="⤨",nesim="≂̸",NestedGreaterGreater="≫",NestedLessLess="≪",NewLine=` +`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}return subunit_1=k,subunit_1}var swift_1,hasRequiredSwift;function requireSwift(){if(hasRequiredSwift)return swift_1;hasRequiredSwift=1;function k(se){return se?typeof se=="string"?se:se.source:null}function m(se){return M("(?=",se,")")}function M(...se){return se.map(me=>k(me)).join("")}function G(se){const oe=se[se.length-1];return typeof oe=="object"&&oe.constructor===Object?(se.splice(se.length-1,1),oe):{}}function V(...se){return"("+(G(se).capture?"":"?:")+se.map(Ee=>k(Ee)).join("|")+")"}const q=se=>M(/\b/,se,/\w$/.test(se)?/\b/:/\B/),$=["Protocol","Type"].map(q),D=["init","self"].map(q),B=["Any","Self"],R=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],U=["false","nil","true"],K=["assignment","associativity","higherThan","left","lowerThan","none","right"],z=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],e=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],ae=V(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),ie=V(ae,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),he=M(ae,ie,"*"),J=V(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),W=V(J,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),X=M(J,W,"*"),L=M(/[A-Z]/,W,"*"),Q=["attached","autoclosure",M(/convention\(/,V("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",M(/objc\(/,X,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],ce=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"];function de(se){const oe={match:/\s+/,relevance:0},me=se.COMMENT("/\\*","\\*/",{contains:["self"]}),Ee=[se.C_LINE_COMMENT_MODE,me],ke={match:[/\./,V(...$,...D)],className:{2:"keyword"}},xe={match:M(/\./,V(...R)),relevance:0},fe=R.filter(Wt=>typeof Wt=="string").concat(["_|0"]),ve=R.filter(Wt=>typeof Wt!="string").concat(B).map(q),ye={variants:[{className:"keyword",match:V(...ve,...D)}]},Ce={$pattern:V(/\b\w+/,/#\w+/),keyword:fe.concat(z),literal:U},pe=[ke,xe,ye],_e={match:M(/\./,V(...e)),relevance:0},Ge={className:"built_in",match:M(/\b/,V(...e),/(?=\()/)},Ae=[_e,Ge],Ne={match:/->/,relevance:0},Ze={className:"operator",relevance:0,variants:[{match:he},{match:`\\.(\\.|${ie})+`}]},ze=[Ne,Ze],Te="([0-9]_*)+",Fe="([0-9a-fA-F]_*)+",Pe={className:"number",relevance:0,variants:[{match:`\\b(${Te})(\\.(${Te}))?([eE][+-]?(${Te}))?\\b`},{match:`\\b0x(${Fe})(\\.(${Fe}))?([pP][+-]?(${Te}))?\\b`},{match:/\b0o([0-7]_*)+\b/},{match:/\b0b([01]_*)+\b/}]},we=(Wt="")=>({className:"subst",variants:[{match:M(/\\/,Wt,/[0\\tnr"']/)},{match:M(/\\/,Wt,/u\{[0-9a-fA-F]{1,8}\}/)}]}),Ie=(Wt="")=>({className:"subst",match:M(/\\/,Wt,/[\t ]*(?:[\r\n]|\r\n)/)}),Be=(Wt="")=>({className:"subst",label:"interpol",begin:M(/\\/,Wt,/\(/),end:/\)/}),Ke=(Wt="")=>({begin:M(Wt,/"""/),end:M(/"""/,Wt),contains:[we(Wt),Ie(Wt),Be(Wt)]}),Ve=(Wt="")=>({begin:M(Wt,/"/),end:M(/"/,Wt),contains:[we(Wt),Be(Wt)]}),je={className:"string",variants:[Ke(),Ke("#"),Ke("##"),Ke("###"),Ve(),Ve("#"),Ve("##"),Ve("###")]},Le=[se.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0,contains:[se.BACKSLASH_ESCAPE]}],et={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//,contains:Le},Qe=Wt=>{const Mt=M(Wt,/\//),$t=M(/\//,Wt);return{begin:Mt,end:$t,contains:[...Le,{scope:"comment",begin:`#(?!.*${$t})`,end:/$/}]}},Ue={scope:"regexp",variants:[Qe("###"),Qe("##"),Qe("#"),et]},$e={match:M(/`/,X,/`/)},Ye={className:"variable",match:/\$\d+/},tt={className:"variable",match:`\\$${W}+`},ot=[$e,Ye,tt],st={match:/(@|#(un)?)available/,scope:"keyword",starts:{contains:[{begin:/\(/,end:/\)/,keywords:ce,contains:[...ze,Pe,je]}]}},dt={scope:"keyword",match:M(/@/,V(...Q))},ct={scope:"meta",match:M(/@/,X)},mt=[st,dt,ct],ut={match:m(/\b[A-Z]/),relevance:0,contains:[{className:"type",match:M(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,W,"+")},{className:"type",match:L,relevance:0},{match:/[?!]+/,relevance:0},{match:/\.\.\./,relevance:0},{match:M(/\s+&\s+/,m(L)),relevance:0}]},rt={begin://,keywords:Ce,contains:[...Ee,...pe,...mt,Ne,ut]};ut.contains.push(rt);const He={match:M(X,/\s*:/),keywords:"_|0",relevance:0},Je={begin:/\(/,end:/\)/,relevance:0,keywords:Ce,contains:["self",He,...Ee,Ue,...pe,...Ae,...ze,Pe,je,...ot,...mt,ut]},St={begin://,keywords:"repeat each",contains:[...Ee,ut]},bt={begin:V(m(M(X,/\s*:/)),m(M(X,/\s+/,X,/\s*:/))),end:/:/,relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",match:X}]},pt={begin:/\(/,end:/\)/,keywords:Ce,contains:[bt,...Ee,...pe,...ze,Pe,je,...mt,ut,Je],endsParent:!0,illegal:/["']/},wt={match:[/(func|macro)/,/\s+/,V($e.match,X,he)],className:{1:"keyword",3:"title.function"},contains:[St,pt,oe],illegal:[/\[/,/%/]},Pt={match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},contains:[St,pt,oe],illegal:/\[|%/},Nt={match:[/operator/,/\s+/,he],className:{1:"keyword",3:"title"}},Vt={begin:[/precedencegroup/,/\s+/,L],className:{1:"keyword",3:"title"},contains:[ut],keywords:[...K,...U],end:/}/};for(const Wt of je.variants){const Mt=Wt.contains.find(Yt=>Yt.label==="interpol");Mt.keywords=Ce;const $t=[...pe,...Ae,...ze,Pe,je,...ot];Mt.contains=[...$t,{begin:/\(/,end:/\)/,contains:["self",...$t]}]}return{name:"Swift",keywords:Ce,contains:[...Ee,wt,Pt,{beginKeywords:"struct protocol class extension enum actor",end:"\\{",excludeEnd:!0,keywords:Ce,contains:[se.inherit(se.TITLE_MODE,{className:"title.class",begin:/[A-Za-z$_][\u00C0-\u02B80-9A-Za-z$_]*/}),...pe]},Nt,Vt,{beginKeywords:"import",end:/$/,contains:[...Ee],relevance:0},Ue,...pe,...Ae,...ze,Pe,je,...ot,...mt,ut,Je]}}return swift_1=de,swift_1}var taggerscript_1,hasRequiredTaggerscript;function requireTaggerscript(){if(hasRequiredTaggerscript)return taggerscript_1;hasRequiredTaggerscript=1;function k(m){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}return taggerscript_1=k,taggerscript_1}var yaml_1,hasRequiredYaml;function requireYaml(){if(hasRequiredYaml)return yaml_1;hasRequiredYaml=1;function k(m){const M="true false yes no null",G="[\\w#;/?:@&=+$,.~*'()[\\]]+",V={className:"attr",variants:[{begin:"\\w[\\w :\\/.-]*:(?=[ ]|$)"},{begin:'"\\w[\\w :\\/.-]*":(?=[ ]|$)'},{begin:"'\\w[\\w :\\/.-]*':(?=[ ]|$)"}]},q={className:"template-variable",variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]},$={className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/\S+/}],contains:[m.BACKSLASH_ESCAPE,q]},D=m.inherit($,{variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),B="[0-9]{4}(-[0-9][0-9]){0,2}",R="([Tt \\t][0-9][0-9]?(:[0-9][0-9]){2})?",U="(\\.[0-9]*)?",K="([ \\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?",z={className:"number",begin:"\\b"+B+R+U+K+"\\b"},e={end:",",endsWithParent:!0,excludeEnd:!0,keywords:M,relevance:0},ae={begin:/\{/,end:/\}/,contains:[e],illegal:"\\n",relevance:0},ie={begin:"\\[",end:"\\]",contains:[e],illegal:"\\n",relevance:0},he=[V,{className:"meta",begin:"^---\\s*$",relevance:10},{className:"string",begin:"[\\|>]([1-9]?[+-])?[ ]*\\n( +)[^ ][^\\n]*\\n(\\2[^\\n]+\\n?)*"},{begin:"<%[%=-]?",end:"[%-]?%>",subLanguage:"ruby",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:"type",begin:"!\\w+!"+G},{className:"type",begin:"!<"+G+">"},{className:"type",begin:"!"+G},{className:"type",begin:"!!"+G},{className:"meta",begin:"&"+m.UNDERSCORE_IDENT_RE+"$"},{className:"meta",begin:"\\*"+m.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",relevance:0},m.HASH_COMMENT_MODE,{beginKeywords:M,keywords:{literal:M}},z,{className:"number",begin:m.C_NUMBER_RE+"\\b",relevance:0},ae,ie,$],J=[...he];return J.pop(),J.push(D),e.contains=J,{name:"YAML",case_insensitive:!0,aliases:["yml"],contains:he}}return yaml_1=k,yaml_1}var tap_1,hasRequiredTap;function requireTap(){if(hasRequiredTap)return tap_1;hasRequiredTap=1;function k(m){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[m.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}return tap_1=k,tap_1}var tcl_1,hasRequiredTcl;function requireTcl(){if(hasRequiredTcl)return tcl_1;hasRequiredTcl=1;function k(m){const M=m.regex,G=/[a-zA-Z_][a-zA-Z0-9_]*/,V={className:"number",variants:[m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[m.COMMENT(";[ \\t]*#","$"),m.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:M.concat(/\$/,M.optional(/::/),G,"(::",G,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[V]}]},{className:"string",contains:[m.BACKSLASH_ESCAPE],variants:[m.inherit(m.QUOTE_STRING_MODE,{illegal:null})]},V]}}return tcl_1=k,tcl_1}var thrift_1,hasRequiredThrift;function requireThrift(){if(hasRequiredThrift)return thrift_1;hasRequiredThrift=1;function k(m){const M=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:M,literal:"true false"},contains:[m.QUOTE_STRING_MODE,m.NUMBER_MODE,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[m.inherit(m.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...M,"set","list","map"]},end:">",contains:["self"]}]}}return thrift_1=k,thrift_1}var tp_1,hasRequiredTp;function requireTp(){if(hasRequiredTp)return tp_1;hasRequiredTp=1;function k(m){const M={className:"number",begin:"[1-9][0-9]*",relevance:0},G={className:"symbol",begin:":[^\\]]+"},V={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",M,G]},q={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",M,m.QUOTE_STRING_MODE,G]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[V,q,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},m.COMMENT("//","[;$]"),m.COMMENT("!","[;$]"),m.COMMENT("--eg:","$"),m.QUOTE_STRING_MODE,{className:"string",begin:"'",end:"'"},m.C_NUMBER_MODE,{className:"variable",begin:"\\$[A-Za-z0-9_]+"}]}}return tp_1=k,tp_1}var twig_1,hasRequiredTwig;function requireTwig(){if(hasRequiredTwig)return twig_1;hasRequiredTwig=1;function k(m){const M=m.regex,G=["absolute_url","asset|0","asset_version","attribute","block","constant","controller|0","country_timezones","csrf_token","cycle","date","dump","expression","form|0","form_end","form_errors","form_help","form_label","form_rest","form_row","form_start","form_widget","html_classes","include","is_granted","logout_path","logout_url","max","min","parent","path|0","random","range","relative_path","render","render_esi","source","template_from_string","url|0"],V=["abs","abbr_class","abbr_method","batch","capitalize","column","convert_encoding","country_name","currency_name","currency_symbol","data_uri","date","date_modify","default","escape","file_excerpt","file_link","file_relative","filter","first","format","format_args","format_args_as_text","format_currency","format_date","format_datetime","format_file","format_file_from_text","format_number","format_time","html_to_markdown","humanize","inky_to_html","inline_css","join","json_encode","keys","language_name","last","length","locale_name","lower","map","markdown","markdown_to_html","merge","nl2br","number_format","raw","reduce","replace","reverse","round","slice","slug","sort","spaceless","split","striptags","timezone_name","title","trans","transchoice","trim","u|0","upper","url_encode","yaml_dump","yaml_encode"];let q=["apply","autoescape","block","cache","deprecated","do","embed","extends","filter","flush","for","form_theme","from","if","import","include","macro","sandbox","set","stopwatch","trans","trans_default_domain","transchoice","use","verbatim","with"];q=q.concat(q.map(ie=>`end${ie}`));const $={scope:"string",variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/}]},D={scope:"number",match:/\d+/},B={begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,contains:[$,D]},R={beginKeywords:G.join(" "),keywords:{name:G},relevance:0,contains:[B]},U={match:/\|(?=[A-Za-z_]+:?)/,beginScope:"punctuation",relevance:0,contains:[{match:/[A-Za-z_]+:?/,keywords:V}]},K=(ie,{relevance:he})=>({beginScope:{1:"template-tag",3:"name"},relevance:he||2,endScope:"template-tag",begin:[/\{%/,/\s*/,M.either(...ie)],end:/%\}/,keywords:"in",contains:[U,R,$,D]}),z=/[a-z_]+/,e=K(q,{relevance:2}),ae=K([z],{relevance:1});return{name:"Twig",aliases:["craftcms"],case_insensitive:!0,subLanguage:"xml",contains:[m.COMMENT(/\{#/,/#\}/),e,ae,{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:["self",U,R,$,D]}]}}return twig_1=k,twig_1}var typescript_1,hasRequiredTypescript;function requireTypescript(){if(hasRequiredTypescript)return typescript_1;hasRequiredTypescript=1;const k="[A-Za-z$_][0-9A-Za-z$_]*",m=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],M=["true","false","null","undefined","NaN","Infinity"],G=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],V=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],q=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],$=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],D=[].concat(q,G,V);function B(U){const K=U.regex,z=(we,{after:Ie})=>{const Be="",end:""},ie=/<[A-Za-z0-9\\._:-]+\s*\/>/,he={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(we,Ie)=>{const Be=we[0].length+we.index,Ke=we.input[Be];if(Ke==="<"||Ke===","){Ie.ignoreMatch();return}Ke===">"&&(z(we,{after:Be})||Ie.ignoreMatch());let Ve;const je=we.input.substring(Be);if(Ve=je.match(/^\s*=/)){Ie.ignoreMatch();return}if((Ve=je.match(/^\s+extends\s+/))&&Ve.index===0){Ie.ignoreMatch();return}}},J={$pattern:k,keyword:m,literal:M,built_in:D,"variable.language":$},W="[0-9](_?[0-9])*",X=`\\.(${W})`,L="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",Q={className:"number",variants:[{begin:`(\\b(${L})((${X})|\\.)?|(${X}))[eE][+-]?(${W})\\b`},{begin:`\\b(${L})\\b((${X})\\b|\\.)?|(${X})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},ce={className:"subst",begin:"\\$\\{",end:"\\}",keywords:J,contains:[]},de={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[U.BACKSLASH_ESCAPE,ce],subLanguage:"xml"}},se={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[U.BACKSLASH_ESCAPE,ce],subLanguage:"css"}},oe={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[U.BACKSLASH_ESCAPE,ce],subLanguage:"graphql"}},me={className:"string",begin:"`",end:"`",contains:[U.BACKSLASH_ESCAPE,ce]},ke={className:"comment",variants:[U.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:e+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),U.C_BLOCK_COMMENT_MODE,U.C_LINE_COMMENT_MODE]},xe=[U.APOS_STRING_MODE,U.QUOTE_STRING_MODE,de,se,oe,me,{match:/\$\d+/},Q];ce.contains=xe.concat({begin:/\{/,end:/\}/,keywords:J,contains:["self"].concat(xe)});const fe=[].concat(ke,ce.contains),ve=fe.concat([{begin:/\(/,end:/\)/,keywords:J,contains:["self"].concat(fe)}]),ye={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:J,contains:ve},Ce={variants:[{match:[/class/,/\s+/,e,/\s+/,/extends/,/\s+/,K.concat(e,"(",K.concat(/\./,e),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,e],scope:{1:"keyword",3:"title.class"}}]},pe={relevance:0,match:K.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...G,...V]}},_e={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},Ge={variants:[{match:[/function/,/\s+/,e,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[ye],illegal:/%/},Ae={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function Ne(we){return K.concat("(?!",we.join("|"),")")}const Ze={match:K.concat(/\b/,Ne([...q,"super","import"]),e,K.lookahead(/\(/)),className:"title.function",relevance:0},ze={begin:K.concat(/\./,K.lookahead(K.concat(e,/(?![0-9A-Za-z$_(])/))),end:e,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},Te={match:[/get|set/,/\s+/,e,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},ye]},Fe="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+U.UNDERSCORE_IDENT_RE+")\\s*=>",Pe={match:[/const|var|let/,/\s+/,e,/\s*/,/=\s*/,/(async\s*)?/,K.lookahead(Fe)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[ye]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:J,exports:{PARAMS_CONTAINS:ve,CLASS_REFERENCE:pe},illegal:/#(?![$_A-z])/,contains:[U.SHEBANG({label:"shebang",binary:"node",relevance:5}),_e,U.APOS_STRING_MODE,U.QUOTE_STRING_MODE,de,se,oe,me,ke,{match:/\$\d+/},Q,pe,{className:"attr",begin:e+K.lookahead(":"),relevance:0},Pe,{begin:"("+U.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[ke,U.REGEXP_MODE,{className:"function",begin:Fe,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:U.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:J,contains:ve}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:ae.begin,end:ae.end},{match:ie},{begin:he.begin,"on:begin":he.isTrulyOpeningTag,end:he.end}],subLanguage:"xml",contains:[{begin:he.begin,end:he.end,skip:!0,contains:["self"]}]}]},Ge,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+U.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[ye,U.inherit(U.TITLE_MODE,{begin:e,className:"title.function"})]},{match:/\.\.\./,relevance:0},ze,{match:"\\$"+e,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[ye]},Ze,Ae,Ce,Te,{match:/\$[(.]/}]}}function R(U){const K=B(U),z=k,e=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],ae={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[K.exports.CLASS_REFERENCE]},ie={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:e},contains:[K.exports.CLASS_REFERENCE]},he={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},J=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],W={$pattern:k,keyword:m.concat(J),literal:M,built_in:D.concat(e),"variable.language":$},X={className:"meta",begin:"@"+z},L=(ce,de,se)=>{const oe=ce.contains.findIndex(me=>me.label===de);if(oe===-1)throw new Error("can not find mode to replace");ce.contains.splice(oe,1,se)};Object.assign(K.keywords,W),K.exports.PARAMS_CONTAINS.push(X),K.contains=K.contains.concat([X,ae,ie]),L(K,"shebang",U.SHEBANG()),L(K,"use_strict",he);const Q=K.contains.find(ce=>ce.label==="func.def");return Q.relevance=0,Object.assign(K,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),K}return typescript_1=R,typescript_1}var vala_1,hasRequiredVala;function requireVala(){if(hasRequiredVala)return vala_1;hasRequiredVala=1;function k(m){return{name:"Vala",keywords:{keyword:"char uchar unichar int uint long ulong short ushort int8 int16 int32 int64 uint8 uint16 uint32 uint64 float double bool struct enum string void weak unowned owned async signal static abstract interface override virtual delegate if while do for foreach else switch case break default return try catch public private protected internal using new this get set const stdout stdin stderr var",built_in:"DBus GLib CCode Gee Object Gtk Posix",literal:"false true null"},contains:[{className:"class",beginKeywords:"class interface namespace",end:/\{/,excludeEnd:!0,illegal:"[^,:\\n\\s\\.]",contains:[m.UNDERSCORE_TITLE_MODE]},m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,{className:"string",begin:'"""',end:'"""',relevance:5},m.APOS_STRING_MODE,m.QUOTE_STRING_MODE,m.C_NUMBER_MODE,{className:"meta",begin:"^#",end:"$"}]}}return vala_1=k,vala_1}var vbnet_1,hasRequiredVbnet;function requireVbnet(){if(hasRequiredVbnet)return vbnet_1;hasRequiredVbnet=1;function k(m){const M=m.regex,G={className:"string",begin:/"(""|[^/n])"C\b/},V={className:"string",begin:/"/,end:/"/,illegal:/\n/,contains:[{begin:/""/}]},q=/\d{1,2}\/\d{1,2}\/\d{4}/,$=/\d{4}-\d{1,2}-\d{1,2}/,D=/(\d|1[012])(:\d+){0,2} *(AM|PM)/,B=/\d{1,2}(:\d{1,2}){1,2}/,R={className:"literal",variants:[{begin:M.concat(/# */,M.either($,q),/ *#/)},{begin:M.concat(/# */,B,/ *#/)},{begin:M.concat(/# */,D,/ *#/)},{begin:M.concat(/# */,M.either($,q),/ +/,M.either(D,B),/ *#/)}]},U={className:"number",relevance:0,variants:[{begin:/\b\d[\d_]*((\.[\d_]+(E[+-]?[\d_]+)?)|(E[+-]?[\d_]+))[RFD@!#]?/},{begin:/\b\d[\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},K={className:"label",begin:/^\w+:/},z=m.COMMENT(/'''/,/$/,{contains:[{className:"doctag",begin:/<\/?/,end:/>/}]}),e=m.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\t ]|^)REM(?=\s)/}]});return{name:"Visual Basic .NET",aliases:["vb"],case_insensitive:!0,classNameAliases:{label:"symbol"},keywords:{keyword:"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield",built_in:"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort",type:"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort",literal:"true false nothing"},illegal:"//|\\{|\\}|endif|gosub|variant|wend|^\\$ ",contains:[G,V,R,U,K,z,e,{className:"meta",begin:/[\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\b/,end:/$/,keywords:{keyword:"const disable else elseif enable end externalsource if region then"},contains:[e]}]}}return vbnet_1=k,vbnet_1}var vbscript_1,hasRequiredVbscript;function requireVbscript(){if(hasRequiredVbscript)return vbscript_1;hasRequiredVbscript=1;function k(m){const M=m.regex,G=["lcase","month","vartype","instrrev","ubound","setlocale","getobject","rgb","getref","string","weekdayname","rnd","dateadd","monthname","now","day","minute","isarray","cbool","round","formatcurrency","conversions","csng","timevalue","second","year","space","abs","clng","timeserial","fixs","len","asc","isempty","maths","dateserial","atn","timer","isobject","filter","weekday","datevalue","ccur","isdate","instr","datediff","formatdatetime","replace","isnull","right","sgn","array","snumeric","log","cdbl","hex","chr","lbound","msgbox","ucase","getlocale","cos","cdate","cbyte","rtrim","join","hour","oct","typename","trim","strcomp","int","createobject","loadpicture","tan","formatnumber","mid","split","cint","sin","datepart","ltrim","sqr","time","derived","eval","date","formatpercent","exp","inputbox","left","ascw","chrw","regexp","cstr","err"],V=["server","response","request","scriptengine","scriptenginebuildversion","scriptengineminorversion","scriptenginemajorversion"],q={begin:M.concat(M.either(...G),"\\s*\\("),relevance:0,keywords:{built_in:G}};return{name:"VBScript",aliases:["vbs"],case_insensitive:!0,keywords:{keyword:["call","class","const","dim","do","loop","erase","execute","executeglobal","exit","for","each","next","function","if","then","else","on","error","option","explicit","new","private","property","let","get","public","randomize","redim","rem","select","case","set","stop","sub","while","wend","with","end","to","elseif","is","or","xor","and","not","class_initialize","class_terminate","default","preserve","in","me","byval","byref","step","resume","goto"],built_in:V,literal:["true","false","null","nothing","empty"]},illegal:"//",contains:[q,m.inherit(m.QUOTE_STRING_MODE,{contains:[{begin:'""'}]}),m.COMMENT(/'/,/$/,{relevance:0}),m.C_NUMBER_MODE]}}return vbscript_1=k,vbscript_1}var vbscriptHtml_1,hasRequiredVbscriptHtml;function requireVbscriptHtml(){if(hasRequiredVbscriptHtml)return vbscriptHtml_1;hasRequiredVbscriptHtml=1;function k(m){return{name:"VBScript in HTML",subLanguage:"xml",contains:[{begin:"<%",end:"%>",subLanguage:"vbscript"}]}}return vbscriptHtml_1=k,vbscriptHtml_1}var verilog_1,hasRequiredVerilog;function requireVerilog(){if(hasRequiredVerilog)return verilog_1;hasRequiredVerilog=1;function k(m){const M=m.regex,G={$pattern:/\$?[\w]+(\$[\w]+)*/,keyword:["accept_on","alias","always","always_comb","always_ff","always_latch","and","assert","assign","assume","automatic","before","begin","bind","bins","binsof","bit","break","buf|0","bufif0","bufif1","byte","case","casex","casez","cell","chandle","checker","class","clocking","cmos","config","const","constraint","context","continue","cover","covergroup","coverpoint","cross","deassign","default","defparam","design","disable","dist","do","edge","else","end","endcase","endchecker","endclass","endclocking","endconfig","endfunction","endgenerate","endgroup","endinterface","endmodule","endpackage","endprimitive","endprogram","endproperty","endspecify","endsequence","endtable","endtask","enum","event","eventually","expect","export","extends","extern","final","first_match","for","force","foreach","forever","fork","forkjoin","function","generate|5","genvar","global","highz0","highz1","if","iff","ifnone","ignore_bins","illegal_bins","implements","implies","import","incdir","include","initial","inout","input","inside","instance","int","integer","interconnect","interface","intersect","join","join_any","join_none","large","let","liblist","library","local","localparam","logic","longint","macromodule","matches","medium","modport","module","nand","negedge","nettype","new","nexttime","nmos","nor","noshowcancelled","not","notif0","notif1","or","output","package","packed","parameter","pmos","posedge","primitive","priority","program","property","protected","pull0","pull1","pulldown","pullup","pulsestyle_ondetect","pulsestyle_onevent","pure","rand","randc","randcase","randsequence","rcmos","real","realtime","ref","reg","reject_on","release","repeat","restrict","return","rnmos","rpmos","rtran","rtranif0","rtranif1","s_always","s_eventually","s_nexttime","s_until","s_until_with","scalared","sequence","shortint","shortreal","showcancelled","signed","small","soft","solve","specify","specparam","static","string","strong","strong0","strong1","struct","super","supply0","supply1","sync_accept_on","sync_reject_on","table","tagged","task","this","throughout","time","timeprecision","timeunit","tran","tranif0","tranif1","tri","tri0","tri1","triand","trior","trireg","type","typedef","union","unique","unique0","unsigned","until","until_with","untyped","use","uwire","var","vectored","virtual","void","wait","wait_order","wand","weak","weak0","weak1","while","wildcard","wire","with","within","wor","xnor","xor"],literal:["null"],built_in:["$finish","$stop","$exit","$fatal","$error","$warning","$info","$realtime","$time","$printtimescale","$bitstoreal","$bitstoshortreal","$itor","$signed","$cast","$bits","$stime","$timeformat","$realtobits","$shortrealtobits","$rtoi","$unsigned","$asserton","$assertkill","$assertpasson","$assertfailon","$assertnonvacuouson","$assertoff","$assertcontrol","$assertpassoff","$assertfailoff","$assertvacuousoff","$isunbounded","$sampled","$fell","$changed","$past_gclk","$fell_gclk","$changed_gclk","$rising_gclk","$steady_gclk","$coverage_control","$coverage_get","$coverage_save","$set_coverage_db_name","$rose","$stable","$past","$rose_gclk","$stable_gclk","$future_gclk","$falling_gclk","$changing_gclk","$display","$coverage_get_max","$coverage_merge","$get_coverage","$load_coverage_db","$typename","$unpacked_dimensions","$left","$low","$increment","$clog2","$ln","$log10","$exp","$sqrt","$pow","$floor","$ceil","$sin","$cos","$tan","$countbits","$onehot","$isunknown","$fatal","$warning","$dimensions","$right","$high","$size","$asin","$acos","$atan","$atan2","$hypot","$sinh","$cosh","$tanh","$asinh","$acosh","$atanh","$countones","$onehot0","$error","$info","$random","$dist_chi_square","$dist_erlang","$dist_exponential","$dist_normal","$dist_poisson","$dist_t","$dist_uniform","$q_initialize","$q_remove","$q_exam","$async$and$array","$async$nand$array","$async$or$array","$async$nor$array","$sync$and$array","$sync$nand$array","$sync$or$array","$sync$nor$array","$q_add","$q_full","$psprintf","$async$and$plane","$async$nand$plane","$async$or$plane","$async$nor$plane","$sync$and$plane","$sync$nand$plane","$sync$or$plane","$sync$nor$plane","$system","$display","$displayb","$displayh","$displayo","$strobe","$strobeb","$strobeh","$strobeo","$write","$readmemb","$readmemh","$writememh","$value$plusargs","$dumpvars","$dumpon","$dumplimit","$dumpports","$dumpportson","$dumpportslimit","$writeb","$writeh","$writeo","$monitor","$monitorb","$monitorh","$monitoro","$writememb","$dumpfile","$dumpoff","$dumpall","$dumpflush","$dumpportsoff","$dumpportsall","$dumpportsflush","$fclose","$fdisplay","$fdisplayb","$fdisplayh","$fdisplayo","$fstrobe","$fstrobeb","$fstrobeh","$fstrobeo","$swrite","$swriteb","$swriteh","$swriteo","$fscanf","$fread","$fseek","$fflush","$feof","$fopen","$fwrite","$fwriteb","$fwriteh","$fwriteo","$fmonitor","$fmonitorb","$fmonitorh","$fmonitoro","$sformat","$sformatf","$fgetc","$ungetc","$fgets","$sscanf","$rewind","$ftell","$ferror"]},V=["__FILE__","__LINE__"],q=["begin_keywords","celldefine","default_nettype","default_decay_time","default_trireg_strength","define","delay_mode_distributed","delay_mode_path","delay_mode_unit","delay_mode_zero","else","elsif","end_keywords","endcelldefine","endif","ifdef","ifndef","include","line","nounconnected_drive","pragma","resetall","timescale","unconnected_drive","undef","undefineall"];return{name:"Verilog",aliases:["v","sv","svh"],case_insensitive:!1,keywords:G,contains:[m.C_BLOCK_COMMENT_MODE,m.C_LINE_COMMENT_MODE,m.QUOTE_STRING_MODE,{scope:"number",contains:[m.BACKSLASH_ESCAPE],variants:[{begin:/\b((\d+'([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\B(('([bhodBHOD]))[0-9xzXZa-fA-F_]+)/},{begin:/\b[0-9][0-9_]*/,relevance:0}]},{scope:"variable",variants:[{begin:"#\\((?!parameter).+\\)"},{begin:"\\.\\w+",relevance:0}]},{scope:"variable.constant",match:M.concat(/`/,M.either(...V))},{scope:"meta",begin:M.concat(/`/,M.either(...q)),end:/$|\/\/|\/\*/,returnEnd:!0,keywords:q}]}}return verilog_1=k,verilog_1}var vhdl_1,hasRequiredVhdl;function requireVhdl(){if(hasRequiredVhdl)return vhdl_1;hasRequiredVhdl=1;function k(m){const M="\\d(_|\\d)*",G="[eE][-+]?"+M,V=M+"(\\."+M+")?("+G+")?",q="\\w+",D="\\b("+(M+"#"+q+"(\\."+q+")?#("+G+")?")+"|"+V+")";return{name:"VHDL",case_insensitive:!0,keywords:{keyword:["abs","access","after","alias","all","and","architecture","array","assert","assume","assume_guarantee","attribute","begin","block","body","buffer","bus","case","component","configuration","constant","context","cover","disconnect","downto","default","else","elsif","end","entity","exit","fairness","file","for","force","function","generate","generic","group","guarded","if","impure","in","inertial","inout","is","label","library","linkage","literal","loop","map","mod","nand","new","next","nor","not","null","of","on","open","or","others","out","package","parameter","port","postponed","procedure","process","property","protected","pure","range","record","register","reject","release","rem","report","restrict","restrict_guarantee","return","rol","ror","select","sequence","severity","shared","signal","sla","sll","sra","srl","strong","subtype","then","to","transport","type","unaffected","units","until","use","variable","view","vmode","vprop","vunit","wait","when","while","with","xnor","xor"],built_in:["boolean","bit","character","integer","time","delay_length","natural","positive","string","bit_vector","file_open_kind","file_open_status","std_logic","std_logic_vector","unsigned","signed","boolean_vector","integer_vector","std_ulogic","std_ulogic_vector","unresolved_unsigned","u_unsigned","unresolved_signed","u_signed","real_vector","time_vector"],literal:["false","true","note","warning","error","failure","line","text","side","width"]},illegal:/\{/,contains:[m.C_BLOCK_COMMENT_MODE,m.COMMENT("--","$"),m.QUOTE_STRING_MODE,{className:"number",begin:D,relevance:0},{className:"string",begin:"'(U|X|0|1|Z|W|L|H|-)'",contains:[m.BACKSLASH_ESCAPE]},{className:"symbol",begin:"'[A-Za-z](_?[A-Za-z0-9])*",contains:[m.BACKSLASH_ESCAPE]}]}}return vhdl_1=k,vhdl_1}var vim_1,hasRequiredVim;function requireVim(){if(hasRequiredVim)return vim_1;hasRequiredVim=1;function k(m){return{name:"Vim Script",keywords:{$pattern:/[!#@\w]+/,keyword:"N|0 P|0 X|0 a|0 ab abc abo al am an|0 ar arga argd arge argdo argg argl argu as au aug aun b|0 bN ba bad bd be bel bf bl bm bn bo bp br brea breaka breakd breakl bro bufdo buffers bun bw c|0 cN cNf ca cabc caddb cad caddf cal cat cb cc ccl cd ce cex cf cfir cgetb cgete cg changes chd che checkt cl cla clo cm cmapc cme cn cnew cnf cno cnorea cnoreme co col colo com comc comp con conf cope cp cpf cq cr cs cst cu cuna cunme cw delm deb debugg delc delf dif diffg diffo diffp diffpu diffs diffthis dig di dl dell dj dli do doautoa dp dr ds dsp e|0 ea ec echoe echoh echom echon el elsei em en endfo endf endt endw ene ex exe exi exu f|0 files filet fin fina fini fir fix fo foldc foldd folddoc foldo for fu go gr grepa gu gv ha helpf helpg helpt hi hid his ia iabc if ij il im imapc ime ino inorea inoreme int is isp iu iuna iunme j|0 ju k|0 keepa kee keepj lN lNf l|0 lad laddb laddf la lan lat lb lc lch lcl lcs le lefta let lex lf lfir lgetb lgete lg lgr lgrepa lh ll lla lli lmak lm lmapc lne lnew lnf ln loadk lo loc lockv lol lope lp lpf lr ls lt lu lua luad luaf lv lvimgrepa lw m|0 ma mak map mapc marks mat me menut mes mk mks mksp mkv mkvie mod mz mzf nbc nb nbs new nm nmapc nme nn nnoreme noa no noh norea noreme norm nu nun nunme ol o|0 om omapc ome on ono onoreme opt ou ounme ow p|0 profd prof pro promptr pc ped pe perld po popu pp pre prev ps pt ptN ptf ptj ptl ptn ptp ptr pts pu pw py3 python3 py3d py3f py pyd pyf quita qa rec red redi redr redraws reg res ret retu rew ri rightb rub rubyd rubyf rund ru rv sN san sa sal sav sb sbN sba sbf sbl sbm sbn sbp sbr scrip scripte scs se setf setg setl sf sfir sh sim sig sil sl sla sm smap smapc sme sn sni sno snor snoreme sor so spelld spe spelli spellr spellu spellw sp spr sre st sta startg startr star stopi stj sts sun sunm sunme sus sv sw sy synti sync tN tabN tabc tabdo tabe tabf tabfir tabl tabm tabnew tabn tabo tabp tabr tabs tab ta tags tc tcld tclf te tf th tj tl tm tn to tp tr try ts tu u|0 undoj undol una unh unl unlo unm unme uns up ve verb vert vim vimgrepa vi viu vie vm vmapc vme vne vn vnoreme vs vu vunme windo w|0 wN wa wh wi winc winp wn wp wq wqa ws wu wv x|0 xa xmapc xm xme xn xnoreme xu xunme y|0 z|0 ~ Next Print append abbreviate abclear aboveleft all amenu anoremenu args argadd argdelete argedit argglobal arglocal argument ascii autocmd augroup aunmenu buffer bNext ball badd bdelete behave belowright bfirst blast bmodified bnext botright bprevious brewind break breakadd breakdel breaklist browse bunload bwipeout change cNext cNfile cabbrev cabclear caddbuffer caddexpr caddfile call catch cbuffer cclose center cexpr cfile cfirst cgetbuffer cgetexpr cgetfile chdir checkpath checktime clist clast close cmap cmapclear cmenu cnext cnewer cnfile cnoremap cnoreabbrev cnoremenu copy colder colorscheme command comclear compiler continue confirm copen cprevious cpfile cquit crewind cscope cstag cunmap cunabbrev cunmenu cwindow delete delmarks debug debuggreedy delcommand delfunction diffupdate diffget diffoff diffpatch diffput diffsplit digraphs display deletel djump dlist doautocmd doautoall deletep drop dsearch dsplit edit earlier echo echoerr echohl echomsg else elseif emenu endif endfor endfunction endtry endwhile enew execute exit exusage file filetype find finally finish first fixdel fold foldclose folddoopen folddoclosed foldopen function global goto grep grepadd gui gvim hardcopy help helpfind helpgrep helptags highlight hide history insert iabbrev iabclear ijump ilist imap imapclear imenu inoremap inoreabbrev inoremenu intro isearch isplit iunmap iunabbrev iunmenu join jumps keepalt keepmarks keepjumps lNext lNfile list laddexpr laddbuffer laddfile last language later lbuffer lcd lchdir lclose lcscope left leftabove lexpr lfile lfirst lgetbuffer lgetexpr lgetfile lgrep lgrepadd lhelpgrep llast llist lmake lmap lmapclear lnext lnewer lnfile lnoremap loadkeymap loadview lockmarks lockvar lolder lopen lprevious lpfile lrewind ltag lunmap luado luafile lvimgrep lvimgrepadd lwindow move mark make mapclear match menu menutranslate messages mkexrc mksession mkspell mkvimrc mkview mode mzscheme mzfile nbclose nbkey nbsart next nmap nmapclear nmenu nnoremap nnoremenu noautocmd noremap nohlsearch noreabbrev noremenu normal number nunmap nunmenu oldfiles open omap omapclear omenu only onoremap onoremenu options ounmap ounmenu ownsyntax print profdel profile promptfind promptrepl pclose pedit perl perldo pop popup ppop preserve previous psearch ptag ptNext ptfirst ptjump ptlast ptnext ptprevious ptrewind ptselect put pwd py3do py3file python pydo pyfile quit quitall qall read recover redo redir redraw redrawstatus registers resize retab return rewind right rightbelow ruby rubydo rubyfile rundo runtime rviminfo substitute sNext sandbox sargument sall saveas sbuffer sbNext sball sbfirst sblast sbmodified sbnext sbprevious sbrewind scriptnames scriptencoding scscope set setfiletype setglobal setlocal sfind sfirst shell simalt sign silent sleep slast smagic smapclear smenu snext sniff snomagic snoremap snoremenu sort source spelldump spellgood spellinfo spellrepall spellundo spellwrong split sprevious srewind stop stag startgreplace startreplace startinsert stopinsert stjump stselect sunhide sunmap sunmenu suspend sview swapname syntax syntime syncbind tNext tabNext tabclose tabedit tabfind tabfirst tablast tabmove tabnext tabonly tabprevious tabrewind tag tcl tcldo tclfile tearoff tfirst throw tjump tlast tmenu tnext topleft tprevious trewind tselect tunmenu undo undojoin undolist unabbreviate unhide unlet unlockvar unmap unmenu unsilent update vglobal version verbose vertical vimgrep vimgrepadd visual viusage view vmap vmapclear vmenu vnew vnoremap vnoremenu vsplit vunmap vunmenu write wNext wall while winsize wincmd winpos wnext wprevious wqall wsverb wundo wviminfo xit xall xmapclear xmap xmenu xnoremap xnoremenu xunmap xunmenu yank",built_in:"synIDtrans atan2 range matcharg did_filetype asin feedkeys xor argv complete_check add getwinposx getqflist getwinposy screencol clearmatches empty extend getcmdpos mzeval garbagecollect setreg ceil sqrt diff_hlID inputsecret get getfperm getpid filewritable shiftwidth max sinh isdirectory synID system inputrestore winline atan visualmode inputlist tabpagewinnr round getregtype mapcheck hasmapto histdel argidx findfile sha256 exists toupper getcmdline taglist string getmatches bufnr strftime winwidth bufexists strtrans tabpagebuflist setcmdpos remote_read printf setloclist getpos getline bufwinnr float2nr len getcmdtype diff_filler luaeval resolve libcallnr foldclosedend reverse filter has_key bufname str2float strlen setline getcharmod setbufvar index searchpos shellescape undofile foldclosed setqflist buflisted strchars str2nr virtcol floor remove undotree remote_expr winheight gettabwinvar reltime cursor tabpagenr finddir localtime acos getloclist search tanh matchend rename gettabvar strdisplaywidth type abs py3eval setwinvar tolower wildmenumode log10 spellsuggest bufloaded synconcealed nextnonblank server2client complete settabwinvar executable input wincol setmatches getftype hlID inputsave searchpair or screenrow line settabvar histadd deepcopy strpart remote_peek and eval getftime submatch screenchar winsaveview matchadd mkdir screenattr getfontname libcall reltimestr getfsize winnr invert pow getbufline byte2line soundfold repeat fnameescape tagfiles sin strwidth spellbadword trunc maparg log lispindent hostname setpos globpath remote_foreground getchar synIDattr fnamemodify cscope_connection stridx winbufnr indent min complete_add nr2char searchpairpos inputdialog values matchlist items hlexists strridx browsedir expand fmod pathshorten line2byte argc count getwinvar glob foldtextresult getreg foreground cosh matchdelete has char2nr simplify histget searchdecl iconv winrestcmd pumvisible writefile foldlevel haslocaldir keys cos matchstr foldtext histnr tan tempname getcwd byteidx getbufvar islocked escape eventhandler remote_send serverlist winrestview synstack pyeval prevnonblank readfile cindent filereadable changenr exp"},illegal:/;/,contains:[m.NUMBER_MODE,{className:"string",begin:"'",end:"'",illegal:"\\n"},{className:"string",begin:/"(\\"|\n\\|[^"\n])*"/},m.COMMENT('"',"$"),{className:"variable",begin:/[bwtglsav]:[\w\d_]+/},{begin:[/\b(?:function|function!)/,/\s+/,m.IDENT_RE],className:{1:"keyword",3:"title"},end:"$",relevance:0,contains:[{className:"params",begin:"\\(",end:"\\)"}]},{className:"symbol",begin:/<[\w-]+>/}]}}return vim_1=k,vim_1}var wasm_1,hasRequiredWasm;function requireWasm(){if(hasRequiredWasm)return wasm_1;hasRequiredWasm=1;function k(m){m.regex;const M=m.COMMENT(/\(;/,/;\)/);M.contains.push("self");const G=m.COMMENT(/;;/,/$/),V=["anyfunc","block","br","br_if","br_table","call","call_indirect","data","drop","elem","else","end","export","func","global.get","global.set","local.get","local.set","local.tee","get_global","get_local","global","if","import","local","loop","memory","memory.grow","memory.size","module","mut","nop","offset","param","result","return","select","set_global","set_local","start","table","tee_local","then","type","unreachable"],q={begin:[/(?:func|call|call_indirect)/,/\s+/,/\$[^\s)]+/],className:{1:"keyword",3:"title.function"}},$={className:"variable",begin:/\$[\w_]+/},D={match:/(\((?!;)|\))+/,className:"punctuation",relevance:0},B={className:"number",relevance:0,match:/[+-]?\b(?:\d(?:_?\d)*(?:\.\d(?:_?\d)*)?(?:[eE][+-]?\d(?:_?\d)*)?|0x[\da-fA-F](?:_?[\da-fA-F])*(?:\.[\da-fA-F](?:_?[\da-fA-D])*)?(?:[pP][+-]?\d(?:_?\d)*)?)\b|\binf\b|\bnan(?::0x[\da-fA-F](?:_?[\da-fA-D])*)?\b/},R={match:/(i32|i64|f32|f64)(?!\.)/,className:"type"},U={className:"keyword",match:/\b(f32|f64|i32|i64)(?:\.(?:abs|add|and|ceil|clz|const|convert_[su]\/i(?:32|64)|copysign|ctz|demote\/f64|div(?:_[su])?|eqz?|extend_[su]\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\/f32|reinterpret\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\/f(?:32|64))?|wrap\/i64|xor))\b/};return{name:"WebAssembly",keywords:{$pattern:/[\w.]+/,keyword:V},contains:[G,M,{match:[/(?:offset|align)/,/\s*/,/=/],className:{1:"keyword",3:"operator"}},$,D,q,m.QUOTE_STRING_MODE,R,U,B]}}return wasm_1=k,wasm_1}var wren_1,hasRequiredWren;function requireWren(){if(hasRequiredWren)return wren_1;hasRequiredWren=1;function k(m){const M=m.regex,G=/[a-zA-Z]\w*/,V=["as","break","class","construct","continue","else","for","foreign","if","import","in","is","return","static","var","while"],q=["true","false","null"],$=["this","super"],D=["Bool","Class","Fiber","Fn","List","Map","Null","Num","Object","Range","Sequence","String","System"],B=["-","~",/\*/,"%",/\.\.\./,/\.\./,/\+/,"<<",">>",">=","<=","<",">",/\^/,/!=/,/!/,/\bis\b/,"==","&&","&",/\|\|/,/\|/,/\?:/,"="],R={relevance:0,match:M.concat(/\b(?!(if|while|for|else|super)\b)/,G,/(?=\s*[({])/),className:"title.function"},U={match:M.concat(M.either(M.concat(/\b(?!(if|while|for|else|super)\b)/,G),M.either(...B)),/(?=\s*\([^)]+\)\s*\{)/),className:"title.function",starts:{contains:[{begin:/\(/,end:/\)/,contains:[{relevance:0,scope:"params",match:G}]}]}},K={variants:[{match:[/class\s+/,G,/\s+is\s+/,G]},{match:[/class\s+/,G]}],scope:{2:"title.class",4:"title.class.inherited"},keywords:V},z={relevance:0,match:M.either(...B),className:"operator"},e={className:"string",begin:/"""/,end:/"""/},ae={className:"property",begin:M.concat(/\./,M.lookahead(G)),end:G,excludeBegin:!0,relevance:0},ie={relevance:0,match:M.concat(/\b_/,G),scope:"variable"},he={relevance:0,match:/\b[A-Z]+[a-z]+([A-Z]+[a-z]+)*/,scope:"title.class",keywords:{_:D}},J=m.C_NUMBER_MODE,W={match:[G,/\s*/,/=/,/\s*/,/\(/,G,/\)\s*\{/],scope:{1:"title.function",3:"operator",6:"params"}},X=m.COMMENT(/\/\*\*/,/\*\//,{contains:[{match:/@[a-z]+/,scope:"doctag"},"self"]}),L={scope:"subst",begin:/%\(/,end:/\)/,contains:[J,he,R,ie,z]},Q={scope:"string",begin:/"/,end:/"/,contains:[L,{scope:"char.escape",variants:[{match:/\\\\|\\["0%abefnrtv]/},{match:/\\x[0-9A-F]{2}/},{match:/\\u[0-9A-F]{4}/},{match:/\\U[0-9A-F]{8}/}]}]};L.contains.push(Q);const ce=[...V,...$,...q],de={relevance:0,match:M.concat("\\b(?!",ce.join("|"),"\\b)",/[a-zA-Z_]\w*(?:[?!]|\b)/),className:"variable"};return{name:"Wren",keywords:{keyword:V,"variable.language":$,literal:q},contains:[{scope:"comment",variants:[{begin:[/#!?/,/[A-Za-z_]+(?=\()/],beginScope:{},keywords:{literal:q},contains:[],end:/\)/},{begin:[/#!?/,/[A-Za-z_]+/],beginScope:{},end:/$/}]},J,Q,e,X,m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,he,K,W,U,R,z,ie,ae,de]}}return wren_1=k,wren_1}var x86asm_1,hasRequiredX86asm;function requireX86asm(){if(hasRequiredX86asm)return x86asm_1;hasRequiredX86asm=1;function k(m){return{name:"Intel x86 Assembly",case_insensitive:!0,keywords:{$pattern:"[.%]?"+m.IDENT_RE,keyword:"lock rep repe repz repne repnz xaquire xrelease bnd nobnd aaa aad aam aas adc add and arpl bb0_reset bb1_reset bound bsf bsr bswap bt btc btr bts call cbw cdq cdqe clc cld cli clts cmc cmp cmpsb cmpsd cmpsq cmpsw cmpxchg cmpxchg486 cmpxchg8b cmpxchg16b cpuid cpu_read cpu_write cqo cwd cwde daa das dec div dmint emms enter equ f2xm1 fabs fadd faddp fbld fbstp fchs fclex fcmovb fcmovbe fcmove fcmovnb fcmovnbe fcmovne fcmovnu fcmovu fcom fcomi fcomip fcomp fcompp fcos fdecstp fdisi fdiv fdivp fdivr fdivrp femms feni ffree ffreep fiadd ficom ficomp fidiv fidivr fild fimul fincstp finit fist fistp fisttp fisub fisubr fld fld1 fldcw fldenv fldl2e fldl2t fldlg2 fldln2 fldpi fldz fmul fmulp fnclex fndisi fneni fninit fnop fnsave fnstcw fnstenv fnstsw fpatan fprem fprem1 fptan frndint frstor fsave fscale fsetpm fsin fsincos fsqrt fst fstcw fstenv fstp fstsw fsub fsubp fsubr fsubrp ftst fucom fucomi fucomip fucomp fucompp fxam fxch fxtract fyl2x fyl2xp1 hlt ibts icebp idiv imul in inc incbin insb insd insw int int01 int1 int03 int3 into invd invpcid invlpg invlpga iret iretd iretq iretw jcxz jecxz jrcxz jmp jmpe lahf lar lds lea leave les lfence lfs lgdt lgs lidt lldt lmsw loadall loadall286 lodsb lodsd lodsq lodsw loop loope loopne loopnz loopz lsl lss ltr mfence monitor mov movd movq movsb movsd movsq movsw movsx movsxd movzx mul mwait neg nop not or out outsb outsd outsw packssdw packsswb packuswb paddb paddd paddsb paddsiw paddsw paddusb paddusw paddw pand pandn pause paveb pavgusb pcmpeqb pcmpeqd pcmpeqw pcmpgtb pcmpgtd pcmpgtw pdistib pf2id pfacc pfadd pfcmpeq pfcmpge pfcmpgt pfmax pfmin pfmul pfrcp pfrcpit1 pfrcpit2 pfrsqit1 pfrsqrt pfsub pfsubr pi2fd pmachriw pmaddwd pmagw pmulhriw pmulhrwa pmulhrwc pmulhw pmullw pmvgezb pmvlzb pmvnzb pmvzb pop popa popad popaw popf popfd popfq popfw por prefetch prefetchw pslld psllq psllw psrad psraw psrld psrlq psrlw psubb psubd psubsb psubsiw psubsw psubusb psubusw psubw punpckhbw punpckhdq punpckhwd punpcklbw punpckldq punpcklwd push pusha pushad pushaw pushf pushfd pushfq pushfw pxor rcl rcr rdshr rdmsr rdpmc rdtsc rdtscp ret retf retn rol ror rdm rsdc rsldt rsm rsts sahf sal salc sar sbb scasb scasd scasq scasw sfence sgdt shl shld shr shrd sidt sldt skinit smi smint smintold smsw stc std sti stosb stosd stosq stosw str sub svdc svldt svts swapgs syscall sysenter sysexit sysret test ud0 ud1 ud2b ud2 ud2a umov verr verw fwait wbinvd wrshr wrmsr xadd xbts xchg xlatb xlat xor cmove cmovz cmovne cmovnz cmova cmovnbe cmovae cmovnb cmovb cmovnae cmovbe cmovna cmovg cmovnle cmovge cmovnl cmovl cmovnge cmovle cmovng cmovc cmovnc cmovo cmovno cmovs cmovns cmovp cmovpe cmovnp cmovpo je jz jne jnz ja jnbe jae jnb jb jnae jbe jna jg jnle jge jnl jl jnge jle jng jc jnc jo jno js jns jpo jnp jpe jp sete setz setne setnz seta setnbe setae setnb setnc setb setnae setcset setbe setna setg setnle setge setnl setl setnge setle setng sets setns seto setno setpe setp setpo setnp addps addss andnps andps cmpeqps cmpeqss cmpleps cmpless cmpltps cmpltss cmpneqps cmpneqss cmpnleps cmpnless cmpnltps cmpnltss cmpordps cmpordss cmpunordps cmpunordss cmpps cmpss comiss cvtpi2ps cvtps2pi cvtsi2ss cvtss2si cvttps2pi cvttss2si divps divss ldmxcsr maxps maxss minps minss movaps movhps movlhps movlps movhlps movmskps movntps movss movups mulps mulss orps rcpps rcpss rsqrtps rsqrtss shufps sqrtps sqrtss stmxcsr subps subss ucomiss unpckhps unpcklps xorps fxrstor fxrstor64 fxsave fxsave64 xgetbv xsetbv xsave xsave64 xsaveopt xsaveopt64 xrstor xrstor64 prefetchnta prefetcht0 prefetcht1 prefetcht2 maskmovq movntq pavgb pavgw pextrw pinsrw pmaxsw pmaxub pminsw pminub pmovmskb pmulhuw psadbw pshufw pf2iw pfnacc pfpnacc pi2fw pswapd maskmovdqu clflush movntdq movnti movntpd movdqa movdqu movdq2q movq2dq paddq pmuludq pshufd pshufhw pshuflw pslldq psrldq psubq punpckhqdq punpcklqdq addpd addsd andnpd andpd cmpeqpd cmpeqsd cmplepd cmplesd cmpltpd cmpltsd cmpneqpd cmpneqsd cmpnlepd cmpnlesd cmpnltpd cmpnltsd cmpordpd cmpordsd cmpunordpd cmpunordsd cmppd comisd cvtdq2pd cvtdq2ps cvtpd2dq cvtpd2pi cvtpd2ps cvtpi2pd cvtps2dq cvtps2pd cvtsd2si cvtsd2ss cvtsi2sd cvtss2sd cvttpd2pi cvttpd2dq cvttps2dq cvttsd2si divpd divsd maxpd maxsd minpd minsd movapd movhpd movlpd movmskpd movupd mulpd mulsd orpd shufpd sqrtpd sqrtsd subpd subsd ucomisd unpckhpd unpcklpd xorpd addsubpd addsubps haddpd haddps hsubpd hsubps lddqu movddup movshdup movsldup clgi stgi vmcall vmclear vmfunc vmlaunch vmload vmmcall vmptrld vmptrst vmread vmresume vmrun vmsave vmwrite vmxoff vmxon invept invvpid pabsb pabsw pabsd palignr phaddw phaddd phaddsw phsubw phsubd phsubsw pmaddubsw pmulhrsw pshufb psignb psignw psignd extrq insertq movntsd movntss lzcnt blendpd blendps blendvpd blendvps dppd dpps extractps insertps movntdqa mpsadbw packusdw pblendvb pblendw pcmpeqq pextrb pextrd pextrq phminposuw pinsrb pinsrd pinsrq pmaxsb pmaxsd pmaxud pmaxuw pminsb pminsd pminud pminuw pmovsxbw pmovsxbd pmovsxbq pmovsxwd pmovsxwq pmovsxdq pmovzxbw pmovzxbd pmovzxbq pmovzxwd pmovzxwq pmovzxdq pmuldq pmulld ptest roundpd roundps roundsd roundss crc32 pcmpestri pcmpestrm pcmpistri pcmpistrm pcmpgtq popcnt getsec pfrcpv pfrsqrtv movbe aesenc aesenclast aesdec aesdeclast aesimc aeskeygenassist vaesenc vaesenclast vaesdec vaesdeclast vaesimc vaeskeygenassist vaddpd vaddps vaddsd vaddss vaddsubpd vaddsubps vandpd vandps vandnpd vandnps vblendpd vblendps vblendvpd vblendvps vbroadcastss vbroadcastsd vbroadcastf128 vcmpeq_ospd vcmpeqpd vcmplt_ospd vcmpltpd vcmple_ospd vcmplepd vcmpunord_qpd vcmpunordpd vcmpneq_uqpd vcmpneqpd vcmpnlt_uspd vcmpnltpd vcmpnle_uspd vcmpnlepd vcmpord_qpd vcmpordpd vcmpeq_uqpd vcmpnge_uspd vcmpngepd vcmpngt_uspd vcmpngtpd vcmpfalse_oqpd vcmpfalsepd vcmpneq_oqpd vcmpge_ospd vcmpgepd vcmpgt_ospd vcmpgtpd vcmptrue_uqpd vcmptruepd vcmplt_oqpd vcmple_oqpd vcmpunord_spd vcmpneq_uspd vcmpnlt_uqpd vcmpnle_uqpd vcmpord_spd vcmpeq_uspd vcmpnge_uqpd vcmpngt_uqpd vcmpfalse_ospd vcmpneq_ospd vcmpge_oqpd vcmpgt_oqpd vcmptrue_uspd vcmppd vcmpeq_osps vcmpeqps vcmplt_osps vcmpltps vcmple_osps vcmpleps vcmpunord_qps vcmpunordps vcmpneq_uqps vcmpneqps vcmpnlt_usps vcmpnltps vcmpnle_usps vcmpnleps vcmpord_qps vcmpordps vcmpeq_uqps vcmpnge_usps vcmpngeps vcmpngt_usps vcmpngtps vcmpfalse_oqps vcmpfalseps vcmpneq_oqps vcmpge_osps vcmpgeps vcmpgt_osps vcmpgtps vcmptrue_uqps vcmptrueps vcmplt_oqps vcmple_oqps vcmpunord_sps vcmpneq_usps vcmpnlt_uqps vcmpnle_uqps vcmpord_sps vcmpeq_usps vcmpnge_uqps vcmpngt_uqps vcmpfalse_osps vcmpneq_osps vcmpge_oqps vcmpgt_oqps vcmptrue_usps vcmpps vcmpeq_ossd vcmpeqsd vcmplt_ossd vcmpltsd vcmple_ossd vcmplesd vcmpunord_qsd vcmpunordsd vcmpneq_uqsd vcmpneqsd vcmpnlt_ussd vcmpnltsd vcmpnle_ussd vcmpnlesd vcmpord_qsd vcmpordsd vcmpeq_uqsd vcmpnge_ussd vcmpngesd vcmpngt_ussd vcmpngtsd vcmpfalse_oqsd vcmpfalsesd vcmpneq_oqsd vcmpge_ossd vcmpgesd vcmpgt_ossd vcmpgtsd vcmptrue_uqsd vcmptruesd vcmplt_oqsd vcmple_oqsd vcmpunord_ssd vcmpneq_ussd vcmpnlt_uqsd vcmpnle_uqsd vcmpord_ssd vcmpeq_ussd vcmpnge_uqsd vcmpngt_uqsd vcmpfalse_ossd vcmpneq_ossd vcmpge_oqsd vcmpgt_oqsd vcmptrue_ussd vcmpsd vcmpeq_osss vcmpeqss vcmplt_osss vcmpltss vcmple_osss vcmpless vcmpunord_qss vcmpunordss vcmpneq_uqss vcmpneqss vcmpnlt_usss vcmpnltss vcmpnle_usss vcmpnless vcmpord_qss vcmpordss vcmpeq_uqss vcmpnge_usss vcmpngess vcmpngt_usss vcmpngtss vcmpfalse_oqss vcmpfalsess vcmpneq_oqss vcmpge_osss vcmpgess vcmpgt_osss vcmpgtss vcmptrue_uqss vcmptruess vcmplt_oqss vcmple_oqss vcmpunord_sss vcmpneq_usss vcmpnlt_uqss vcmpnle_uqss vcmpord_sss vcmpeq_usss vcmpnge_uqss vcmpngt_uqss vcmpfalse_osss vcmpneq_osss vcmpge_oqss vcmpgt_oqss vcmptrue_usss vcmpss vcomisd vcomiss vcvtdq2pd vcvtdq2ps vcvtpd2dq vcvtpd2ps vcvtps2dq vcvtps2pd vcvtsd2si vcvtsd2ss vcvtsi2sd vcvtsi2ss vcvtss2sd vcvtss2si vcvttpd2dq vcvttps2dq vcvttsd2si vcvttss2si vdivpd vdivps vdivsd vdivss vdppd vdpps vextractf128 vextractps vhaddpd vhaddps vhsubpd vhsubps vinsertf128 vinsertps vlddqu vldqqu vldmxcsr vmaskmovdqu vmaskmovps vmaskmovpd vmaxpd vmaxps vmaxsd vmaxss vminpd vminps vminsd vminss vmovapd vmovaps vmovd vmovq vmovddup vmovdqa vmovqqa vmovdqu vmovqqu vmovhlps vmovhpd vmovhps vmovlhps vmovlpd vmovlps vmovmskpd vmovmskps vmovntdq vmovntqq vmovntdqa vmovntpd vmovntps vmovsd vmovshdup vmovsldup vmovss vmovupd vmovups vmpsadbw vmulpd vmulps vmulsd vmulss vorpd vorps vpabsb vpabsw vpabsd vpacksswb vpackssdw vpackuswb vpackusdw vpaddb vpaddw vpaddd vpaddq vpaddsb vpaddsw vpaddusb vpaddusw vpalignr vpand vpandn vpavgb vpavgw vpblendvb vpblendw vpcmpestri vpcmpestrm vpcmpistri vpcmpistrm vpcmpeqb vpcmpeqw vpcmpeqd vpcmpeqq vpcmpgtb vpcmpgtw vpcmpgtd vpcmpgtq vpermilpd vpermilps vperm2f128 vpextrb vpextrw vpextrd vpextrq vphaddw vphaddd vphaddsw vphminposuw vphsubw vphsubd vphsubsw vpinsrb vpinsrw vpinsrd vpinsrq vpmaddwd vpmaddubsw vpmaxsb vpmaxsw vpmaxsd vpmaxub vpmaxuw vpmaxud vpminsb vpminsw vpminsd vpminub vpminuw vpminud vpmovmskb vpmovsxbw vpmovsxbd vpmovsxbq vpmovsxwd vpmovsxwq vpmovsxdq vpmovzxbw vpmovzxbd vpmovzxbq vpmovzxwd vpmovzxwq vpmovzxdq vpmulhuw vpmulhrsw vpmulhw vpmullw vpmulld vpmuludq vpmuldq vpor vpsadbw vpshufb vpshufd vpshufhw vpshuflw vpsignb vpsignw vpsignd vpslldq vpsrldq vpsllw vpslld vpsllq vpsraw vpsrad vpsrlw vpsrld vpsrlq vptest vpsubb vpsubw vpsubd vpsubq vpsubsb vpsubsw vpsubusb vpsubusw vpunpckhbw vpunpckhwd vpunpckhdq vpunpckhqdq vpunpcklbw vpunpcklwd vpunpckldq vpunpcklqdq vpxor vrcpps vrcpss vrsqrtps vrsqrtss vroundpd vroundps vroundsd vroundss vshufpd vshufps vsqrtpd vsqrtps vsqrtsd vsqrtss vstmxcsr vsubpd vsubps vsubsd vsubss vtestps vtestpd vucomisd vucomiss vunpckhpd vunpckhps vunpcklpd vunpcklps vxorpd vxorps vzeroall vzeroupper pclmullqlqdq pclmulhqlqdq pclmullqhqdq pclmulhqhqdq pclmulqdq vpclmullqlqdq vpclmulhqlqdq vpclmullqhqdq vpclmulhqhqdq vpclmulqdq vfmadd132ps vfmadd132pd vfmadd312ps vfmadd312pd vfmadd213ps vfmadd213pd vfmadd123ps vfmadd123pd vfmadd231ps vfmadd231pd vfmadd321ps vfmadd321pd vfmaddsub132ps vfmaddsub132pd vfmaddsub312ps vfmaddsub312pd vfmaddsub213ps vfmaddsub213pd vfmaddsub123ps vfmaddsub123pd vfmaddsub231ps vfmaddsub231pd vfmaddsub321ps vfmaddsub321pd vfmsub132ps vfmsub132pd vfmsub312ps vfmsub312pd vfmsub213ps vfmsub213pd vfmsub123ps vfmsub123pd vfmsub231ps vfmsub231pd vfmsub321ps vfmsub321pd vfmsubadd132ps vfmsubadd132pd vfmsubadd312ps vfmsubadd312pd vfmsubadd213ps vfmsubadd213pd vfmsubadd123ps vfmsubadd123pd vfmsubadd231ps vfmsubadd231pd vfmsubadd321ps vfmsubadd321pd vfnmadd132ps vfnmadd132pd vfnmadd312ps vfnmadd312pd vfnmadd213ps vfnmadd213pd vfnmadd123ps vfnmadd123pd vfnmadd231ps vfnmadd231pd vfnmadd321ps vfnmadd321pd vfnmsub132ps vfnmsub132pd vfnmsub312ps vfnmsub312pd vfnmsub213ps vfnmsub213pd vfnmsub123ps vfnmsub123pd vfnmsub231ps vfnmsub231pd vfnmsub321ps vfnmsub321pd vfmadd132ss vfmadd132sd vfmadd312ss vfmadd312sd vfmadd213ss vfmadd213sd vfmadd123ss vfmadd123sd vfmadd231ss vfmadd231sd vfmadd321ss vfmadd321sd vfmsub132ss vfmsub132sd vfmsub312ss vfmsub312sd vfmsub213ss vfmsub213sd vfmsub123ss vfmsub123sd vfmsub231ss vfmsub231sd vfmsub321ss vfmsub321sd vfnmadd132ss vfnmadd132sd vfnmadd312ss vfnmadd312sd vfnmadd213ss vfnmadd213sd vfnmadd123ss vfnmadd123sd vfnmadd231ss vfnmadd231sd vfnmadd321ss vfnmadd321sd vfnmsub132ss vfnmsub132sd vfnmsub312ss vfnmsub312sd vfnmsub213ss vfnmsub213sd vfnmsub123ss vfnmsub123sd vfnmsub231ss vfnmsub231sd vfnmsub321ss vfnmsub321sd rdfsbase rdgsbase rdrand wrfsbase wrgsbase vcvtph2ps vcvtps2ph adcx adox rdseed clac stac xstore xcryptecb xcryptcbc xcryptctr xcryptcfb xcryptofb montmul xsha1 xsha256 llwpcb slwpcb lwpval lwpins vfmaddpd vfmaddps vfmaddsd vfmaddss vfmaddsubpd vfmaddsubps vfmsubaddpd vfmsubaddps vfmsubpd vfmsubps vfmsubsd vfmsubss vfnmaddpd vfnmaddps vfnmaddsd vfnmaddss vfnmsubpd vfnmsubps vfnmsubsd vfnmsubss vfrczpd vfrczps vfrczsd vfrczss vpcmov vpcomb vpcomd vpcomq vpcomub vpcomud vpcomuq vpcomuw vpcomw vphaddbd vphaddbq vphaddbw vphadddq vphaddubd vphaddubq vphaddubw vphaddudq vphadduwd vphadduwq vphaddwd vphaddwq vphsubbw vphsubdq vphsubwd vpmacsdd vpmacsdqh vpmacsdql vpmacssdd vpmacssdqh vpmacssdql vpmacsswd vpmacssww vpmacswd vpmacsww vpmadcsswd vpmadcswd vpperm vprotb vprotd vprotq vprotw vpshab vpshad vpshaq vpshaw vpshlb vpshld vpshlq vpshlw vbroadcasti128 vpblendd vpbroadcastb vpbroadcastw vpbroadcastd vpbroadcastq vpermd vpermpd vpermps vpermq vperm2i128 vextracti128 vinserti128 vpmaskmovd vpmaskmovq vpsllvd vpsllvq vpsravd vpsrlvd vpsrlvq vgatherdpd vgatherqpd vgatherdps vgatherqps vpgatherdd vpgatherqd vpgatherdq vpgatherqq xabort xbegin xend xtest andn bextr blci blcic blsi blsic blcfill blsfill blcmsk blsmsk blsr blcs bzhi mulx pdep pext rorx sarx shlx shrx tzcnt tzmsk t1mskc valignd valignq vblendmpd vblendmps vbroadcastf32x4 vbroadcastf64x4 vbroadcasti32x4 vbroadcasti64x4 vcompresspd vcompressps vcvtpd2udq vcvtps2udq vcvtsd2usi vcvtss2usi vcvttpd2udq vcvttps2udq vcvttsd2usi vcvttss2usi vcvtudq2pd vcvtudq2ps vcvtusi2sd vcvtusi2ss vexpandpd vexpandps vextractf32x4 vextractf64x4 vextracti32x4 vextracti64x4 vfixupimmpd vfixupimmps vfixupimmsd vfixupimmss vgetexppd vgetexpps vgetexpsd vgetexpss vgetmantpd vgetmantps vgetmantsd vgetmantss vinsertf32x4 vinsertf64x4 vinserti32x4 vinserti64x4 vmovdqa32 vmovdqa64 vmovdqu32 vmovdqu64 vpabsq vpandd vpandnd vpandnq vpandq vpblendmd vpblendmq vpcmpltd vpcmpled vpcmpneqd vpcmpnltd vpcmpnled vpcmpd vpcmpltq vpcmpleq vpcmpneqq vpcmpnltq vpcmpnleq vpcmpq vpcmpequd vpcmpltud vpcmpleud vpcmpnequd vpcmpnltud vpcmpnleud vpcmpud vpcmpequq vpcmpltuq vpcmpleuq vpcmpnequq vpcmpnltuq vpcmpnleuq vpcmpuq vpcompressd vpcompressq vpermi2d vpermi2pd vpermi2ps vpermi2q vpermt2d vpermt2pd vpermt2ps vpermt2q vpexpandd vpexpandq vpmaxsq vpmaxuq vpminsq vpminuq vpmovdb vpmovdw vpmovqb vpmovqd vpmovqw vpmovsdb vpmovsdw vpmovsqb vpmovsqd vpmovsqw vpmovusdb vpmovusdw vpmovusqb vpmovusqd vpmovusqw vpord vporq vprold vprolq vprolvd vprolvq vprord vprorq vprorvd vprorvq vpscatterdd vpscatterdq vpscatterqd vpscatterqq vpsraq vpsravq vpternlogd vpternlogq vptestmd vptestmq vptestnmd vptestnmq vpxord vpxorq vrcp14pd vrcp14ps vrcp14sd vrcp14ss vrndscalepd vrndscaleps vrndscalesd vrndscaless vrsqrt14pd vrsqrt14ps vrsqrt14sd vrsqrt14ss vscalefpd vscalefps vscalefsd vscalefss vscatterdpd vscatterdps vscatterqpd vscatterqps vshuff32x4 vshuff64x2 vshufi32x4 vshufi64x2 kandnw kandw kmovw knotw kortestw korw kshiftlw kshiftrw kunpckbw kxnorw kxorw vpbroadcastmb2q vpbroadcastmw2d vpconflictd vpconflictq vplzcntd vplzcntq vexp2pd vexp2ps vrcp28pd vrcp28ps vrcp28sd vrcp28ss vrsqrt28pd vrsqrt28ps vrsqrt28sd vrsqrt28ss vgatherpf0dpd vgatherpf0dps vgatherpf0qpd vgatherpf0qps vgatherpf1dpd vgatherpf1dps vgatherpf1qpd vgatherpf1qps vscatterpf0dpd vscatterpf0dps vscatterpf0qpd vscatterpf0qps vscatterpf1dpd vscatterpf1dps vscatterpf1qpd vscatterpf1qps prefetchwt1 bndmk bndcl bndcu bndcn bndmov bndldx bndstx sha1rnds4 sha1nexte sha1msg1 sha1msg2 sha256rnds2 sha256msg1 sha256msg2 hint_nop0 hint_nop1 hint_nop2 hint_nop3 hint_nop4 hint_nop5 hint_nop6 hint_nop7 hint_nop8 hint_nop9 hint_nop10 hint_nop11 hint_nop12 hint_nop13 hint_nop14 hint_nop15 hint_nop16 hint_nop17 hint_nop18 hint_nop19 hint_nop20 hint_nop21 hint_nop22 hint_nop23 hint_nop24 hint_nop25 hint_nop26 hint_nop27 hint_nop28 hint_nop29 hint_nop30 hint_nop31 hint_nop32 hint_nop33 hint_nop34 hint_nop35 hint_nop36 hint_nop37 hint_nop38 hint_nop39 hint_nop40 hint_nop41 hint_nop42 hint_nop43 hint_nop44 hint_nop45 hint_nop46 hint_nop47 hint_nop48 hint_nop49 hint_nop50 hint_nop51 hint_nop52 hint_nop53 hint_nop54 hint_nop55 hint_nop56 hint_nop57 hint_nop58 hint_nop59 hint_nop60 hint_nop61 hint_nop62 hint_nop63",built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx rsi rdi rbp rsp r8 r9 r10 r11 r12 r13 r14 r15 cs ds es fs gs ss st st0 st1 st2 st3 st4 st5 st6 st7 mm0 mm1 mm2 mm3 mm4 mm5 mm6 mm7 xmm0 xmm1 xmm2 xmm3 xmm4 xmm5 xmm6 xmm7 xmm8 xmm9 xmm10 xmm11 xmm12 xmm13 xmm14 xmm15 xmm16 xmm17 xmm18 xmm19 xmm20 xmm21 xmm22 xmm23 xmm24 xmm25 xmm26 xmm27 xmm28 xmm29 xmm30 xmm31 ymm0 ymm1 ymm2 ymm3 ymm4 ymm5 ymm6 ymm7 ymm8 ymm9 ymm10 ymm11 ymm12 ymm13 ymm14 ymm15 ymm16 ymm17 ymm18 ymm19 ymm20 ymm21 ymm22 ymm23 ymm24 ymm25 ymm26 ymm27 ymm28 ymm29 ymm30 ymm31 zmm0 zmm1 zmm2 zmm3 zmm4 zmm5 zmm6 zmm7 zmm8 zmm9 zmm10 zmm11 zmm12 zmm13 zmm14 zmm15 zmm16 zmm17 zmm18 zmm19 zmm20 zmm21 zmm22 zmm23 zmm24 zmm25 zmm26 zmm27 zmm28 zmm29 zmm30 zmm31 k0 k1 k2 k3 k4 k5 k6 k7 bnd0 bnd1 bnd2 bnd3 cr0 cr1 cr2 cr3 cr4 cr8 dr0 dr1 dr2 dr3 dr8 tr3 tr4 tr5 tr6 tr7 r0 r1 r2 r3 r4 r5 r6 r7 r0b r1b r2b r3b r4b r5b r6b r7b r0w r1w r2w r3w r4w r5w r6w r7w r0d r1d r2d r3d r4d r5d r6d r7d r0h r1h r2h r3h r0l r1l r2l r3l r4l r5l r6l r7l r8l r9l r10l r11l r12l r13l r14l r15l db dw dd dq dt ddq do dy dz resb resw resd resq rest resdq reso resy resz incbin equ times byte word dword qword nosplit rel abs seg wrt strict near far a32 ptr",meta:"%define %xdefine %+ %undef %defstr %deftok %assign %strcat %strlen %substr %rotate %elif %else %endif %if %ifmacro %ifctx %ifidn %ifidni %ifid %ifnum %ifstr %iftoken %ifempty %ifenv %error %warning %fatal %rep %endrep %include %push %pop %repl %pathsearch %depend %use %arg %stacksize %local %line %comment %endcomment .nolist __FILE__ __LINE__ __SECT__ __BITS__ __OUTPUT_FORMAT__ __DATE__ __TIME__ __DATE_NUM__ __TIME_NUM__ __UTC_DATE__ __UTC_TIME__ __UTC_DATE_NUM__ __UTC_TIME_NUM__ __PASS__ struc endstruc istruc at iend align alignb sectalign daz nodaz up down zero default option assume public bits use16 use32 use64 default section segment absolute extern global common cpu float __utf16__ __utf16le__ __utf16be__ __utf32__ __utf32le__ __utf32be__ __float8__ __float16__ __float32__ __float64__ __float80m__ __float80e__ __float128l__ __float128h__ __Infinity__ __QNaN__ __SNaN__ Inf NaN QNaN SNaN float8 float16 float32 float64 float80m float80e float128l float128h __FLOAT_DAZ__ __FLOAT_ROUND__ __FLOAT__"},contains:[m.COMMENT(";","$",{relevance:0}),{className:"number",variants:[{begin:"\\b(?:([0-9][0-9_]*)?\\.[0-9_]*(?:[eE][+-]?[0-9_]+)?|(0[Xx])?[0-9][0-9_]*(\\.[0-9_]*)?(?:[pP](?:[+-]?[0-9_]+)?)?)\\b",relevance:0},{begin:"\\$[0-9][0-9A-Fa-f]*",relevance:0},{begin:"\\b(?:[0-9A-Fa-f][0-9A-Fa-f_]*[Hh]|[0-9][0-9_]*[DdTt]?|[0-7][0-7_]*[QqOo]|[0-1][0-1_]*[BbYy])\\b"},{begin:"\\b(?:0[Xx][0-9A-Fa-f_]+|0[DdTt][0-9_]+|0[QqOo][0-7_]+|0[BbYy][0-1_]+)\\b"}]},m.QUOTE_STRING_MODE,{className:"string",variants:[{begin:"'",end:"[^\\\\]'"},{begin:"`",end:"[^\\\\]`"}],relevance:0},{className:"symbol",variants:[{begin:"^\\s*[A-Za-z._?][A-Za-z0-9_$#@~.?]*(:|\\s+label)"},{begin:"^\\s*%%[A-Za-z0-9_$#@~.?]*:"}],relevance:0},{className:"subst",begin:"%[0-9]+",relevance:0},{className:"subst",begin:"%!S+",relevance:0},{className:"meta",begin:/^\s*\.[\w_-]+/}]}}return x86asm_1=k,x86asm_1}var xl_1,hasRequiredXl;function requireXl(){if(hasRequiredXl)return xl_1;hasRequiredXl=1;function k(m){const M=["if","then","else","do","while","until","for","loop","import","with","is","as","where","when","by","data","constant","integer","real","text","name","boolean","symbol","infix","prefix","postfix","block","tree"],G=["in","mod","rem","and","or","xor","not","abs","sign","floor","ceil","sqrt","sin","cos","tan","asin","acos","atan","exp","expm1","log","log2","log10","log1p","pi","at","text_length","text_range","text_find","text_replace","contains","page","slide","basic_slide","title_slide","title","subtitle","fade_in","fade_out","fade_at","clear_color","color","line_color","line_width","texture_wrap","texture_transform","texture","scale_?x","scale_?y","scale_?z?","translate_?x","translate_?y","translate_?z?","rotate_?x","rotate_?y","rotate_?z?","rectangle","circle","ellipse","sphere","path","line_to","move_to","quad_to","curve_to","theme","background","contents","locally","time","mouse_?x","mouse_?y","mouse_buttons"],V=["ObjectLoader","Animate","MovieCredits","Slides","Filters","Shading","Materials","LensFlare","Mapping","VLCAudioVideo","StereoDecoder","PointCloud","NetworkAccess","RemoteControl","RegExp","ChromaKey","Snowfall","NodeJS","Speech","Charts"],$={$pattern:/[a-zA-Z][a-zA-Z0-9_?]*/,keyword:M,literal:["true","false","nil"],built_in:G.concat(V)},D={className:"string",begin:'"',end:'"',illegal:"\\n"},B={className:"string",begin:"'",end:"'",illegal:"\\n"},R={className:"string",begin:"<<",end:">>"},U={className:"number",begin:"[0-9]+#[0-9A-Z_]+(\\.[0-9-A-Z_]+)?#?([Ee][+-]?[0-9]+)?"},K={beginKeywords:"import",end:"$",keywords:$,contains:[D]},z={className:"function",begin:/[a-z][^\n]*->/,returnBegin:!0,end:/->/,contains:[m.inherit(m.TITLE_MODE,{starts:{endsWithParent:!0,keywords:$}})]};return{name:"XL",aliases:["tao"],keywords:$,contains:[m.C_LINE_COMMENT_MODE,m.C_BLOCK_COMMENT_MODE,D,B,R,z,K,U,m.NUMBER_MODE]}}return xl_1=k,xl_1}var xquery_1,hasRequiredXquery;function requireXquery(){if(hasRequiredXquery)return xquery_1;hasRequiredXquery=1;function k(m){return{name:"XQuery",aliases:["xpath","xq","xqm"],case_insensitive:!1,illegal:/(proc)|(abstract)|(extends)|(until)|(#)/,keywords:{$pattern:/[a-zA-Z$][a-zA-Z0-9_:-]*/,keyword:["module","schema","namespace","boundary-space","preserve","no-preserve","strip","default","collation","base-uri","ordering","context","decimal-format","decimal-separator","copy-namespaces","empty-sequence","except","exponent-separator","external","grouping-separator","inherit","no-inherit","lax","minus-sign","per-mille","percent","schema-attribute","schema-element","strict","unordered","zero-digit","declare","import","option","function","validate","variable","for","at","in","let","where","order","group","by","return","if","then","else","tumbling","sliding","window","start","when","only","end","previous","next","stable","ascending","descending","allowing","empty","greatest","least","some","every","satisfies","switch","case","typeswitch","try","catch","and","or","to","union","intersect","instance","of","treat","as","castable","cast","map","array","delete","insert","into","replace","value","rename","copy","modify","update"],type:["item","document-node","node","attribute","document","element","comment","namespace","namespace-node","processing-instruction","text","construction","xs:anyAtomicType","xs:untypedAtomic","xs:duration","xs:time","xs:decimal","xs:float","xs:double","xs:gYearMonth","xs:gYear","xs:gMonthDay","xs:gMonth","xs:gDay","xs:boolean","xs:base64Binary","xs:hexBinary","xs:anyURI","xs:QName","xs:NOTATION","xs:dateTime","xs:dateTimeStamp","xs:date","xs:string","xs:normalizedString","xs:token","xs:language","xs:NMTOKEN","xs:Name","xs:NCName","xs:ID","xs:IDREF","xs:ENTITY","xs:integer","xs:nonPositiveInteger","xs:negativeInteger","xs:long","xs:int","xs:short","xs:byte","xs:nonNegativeInteger","xs:unisignedLong","xs:unsignedInt","xs:unsignedShort","xs:unsignedByte","xs:positiveInteger","xs:yearMonthDuration","xs:dayTimeDuration"],literal:["eq","ne","lt","le","gt","ge","is","self::","child::","descendant::","descendant-or-self::","attribute::","following::","following-sibling::","parent::","ancestor::","ancestor-or-self::","preceding::","preceding-sibling::","NaN"]},contains:[{className:"variable",begin:/[$][\w\-:]+/},{className:"built_in",variants:[{begin:/\barray:/,end:/(?:append|filter|flatten|fold-(?:left|right)|for-each(?:-pair)?|get|head|insert-before|join|put|remove|reverse|size|sort|subarray|tail)\b/},{begin:/\bmap:/,end:/(?:contains|entry|find|for-each|get|keys|merge|put|remove|size)\b/},{begin:/\bmath:/,end:/(?:a(?:cos|sin|tan[2]?)|cos|exp(?:10)?|log(?:10)?|pi|pow|sin|sqrt|tan)\b/},{begin:/\bop:/,end:/\(/,excludeEnd:!0},{begin:/\bfn:/,end:/\(/,excludeEnd:!0},{begin:/[^/,end:/(\/[\w._:-]+>)/,subLanguage:"xml",contains:[{begin:/\{/,end:/\}/,subLanguage:"xquery"},"self"]}]}}return xquery_1=k,xquery_1}var zephir_1,hasRequiredZephir;function requireZephir(){if(hasRequiredZephir)return zephir_1;hasRequiredZephir=1;function k(m){const M={className:"string",contains:[m.BACKSLASH_ESCAPE],variants:[m.inherit(m.APOS_STRING_MODE,{illegal:null}),m.inherit(m.QUOTE_STRING_MODE,{illegal:null})]},G=m.UNDERSCORE_TITLE_MODE,V={variants:[m.BINARY_NUMBER_MODE,m.C_NUMBER_MODE]},q="namespace class interface use extends function return abstract final public protected private static deprecated throw try catch Exception echo empty isset instanceof unset let var new const self require if else elseif switch case default do while loop for continue break likely unlikely __LINE__ __FILE__ __DIR__ __FUNCTION__ __CLASS__ __TRAIT__ __METHOD__ __NAMESPACE__ array boolean float double integer object resource string char long unsigned bool int uint ulong uchar true false null undefined";return{name:"Zephir",aliases:["zep"],keywords:q,contains:[m.C_LINE_COMMENT_MODE,m.COMMENT(/\/\*/,/\*\//,{contains:[{className:"doctag",begin:/@[A-Za-z]+/}]}),{className:"string",begin:/<<<['"]?\w+['"]?$/,end:/^\w+;/,contains:[m.BACKSLASH_ESCAPE]},{begin:/(::|->)+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/},{className:"function",beginKeywords:"function fn",end:/[;{]/,excludeEnd:!0,illegal:/\$|\[|%/,contains:[G,{className:"params",begin:/\(/,end:/\)/,keywords:q,contains:["self",m.C_BLOCK_COMMENT_MODE,M,V]}]},{className:"class",beginKeywords:"class interface",end:/\{/,excludeEnd:!0,illegal:/[:($"]/,contains:[{beginKeywords:"extends implements"},G]},{beginKeywords:"namespace",end:/;/,illegal:/[.']/,contains:[G]},{beginKeywords:"use",end:/;/,contains:[G]},{begin:/=>/},M,V]}}return zephir_1=k,zephir_1}var hljs=core;hljs.registerLanguage("1c",require_1c());hljs.registerLanguage("abnf",requireAbnf());hljs.registerLanguage("accesslog",requireAccesslog());hljs.registerLanguage("actionscript",requireActionscript());hljs.registerLanguage("ada",requireAda());hljs.registerLanguage("angelscript",requireAngelscript());hljs.registerLanguage("apache",requireApache());hljs.registerLanguage("applescript",requireApplescript());hljs.registerLanguage("arcade",requireArcade());hljs.registerLanguage("arduino",requireArduino());hljs.registerLanguage("armasm",requireArmasm());hljs.registerLanguage("xml",requireXml());hljs.registerLanguage("asciidoc",requireAsciidoc());hljs.registerLanguage("aspectj",requireAspectj());hljs.registerLanguage("autohotkey",requireAutohotkey());hljs.registerLanguage("autoit",requireAutoit());hljs.registerLanguage("avrasm",requireAvrasm());hljs.registerLanguage("awk",requireAwk());hljs.registerLanguage("axapta",requireAxapta());hljs.registerLanguage("bash",requireBash());hljs.registerLanguage("basic",requireBasic());hljs.registerLanguage("bnf",requireBnf());hljs.registerLanguage("brainfuck",requireBrainfuck());hljs.registerLanguage("c",requireC());hljs.registerLanguage("cal",requireCal());hljs.registerLanguage("capnproto",requireCapnproto());hljs.registerLanguage("ceylon",requireCeylon());hljs.registerLanguage("clean",requireClean());hljs.registerLanguage("clojure",requireClojure());hljs.registerLanguage("clojure-repl",requireClojureRepl());hljs.registerLanguage("cmake",requireCmake());hljs.registerLanguage("coffeescript",requireCoffeescript());hljs.registerLanguage("coq",requireCoq());hljs.registerLanguage("cos",requireCos());hljs.registerLanguage("cpp",requireCpp());hljs.registerLanguage("crmsh",requireCrmsh());hljs.registerLanguage("crystal",requireCrystal());hljs.registerLanguage("csharp",requireCsharp());hljs.registerLanguage("csp",requireCsp());hljs.registerLanguage("css",requireCss());hljs.registerLanguage("d",requireD());hljs.registerLanguage("markdown",requireMarkdown());hljs.registerLanguage("dart",requireDart());hljs.registerLanguage("delphi",requireDelphi());hljs.registerLanguage("diff",requireDiff());hljs.registerLanguage("django",requireDjango());hljs.registerLanguage("dns",requireDns());hljs.registerLanguage("dockerfile",requireDockerfile());hljs.registerLanguage("dos",requireDos());hljs.registerLanguage("dsconfig",requireDsconfig());hljs.registerLanguage("dts",requireDts());hljs.registerLanguage("dust",requireDust());hljs.registerLanguage("ebnf",requireEbnf());hljs.registerLanguage("elixir",requireElixir());hljs.registerLanguage("elm",requireElm());hljs.registerLanguage("ruby",requireRuby());hljs.registerLanguage("erb",requireErb());hljs.registerLanguage("erlang-repl",requireErlangRepl());hljs.registerLanguage("erlang",requireErlang());hljs.registerLanguage("excel",requireExcel());hljs.registerLanguage("fix",requireFix());hljs.registerLanguage("flix",requireFlix());hljs.registerLanguage("fortran",requireFortran());hljs.registerLanguage("fsharp",requireFsharp());hljs.registerLanguage("gams",requireGams());hljs.registerLanguage("gauss",requireGauss());hljs.registerLanguage("gcode",requireGcode());hljs.registerLanguage("gherkin",requireGherkin());hljs.registerLanguage("glsl",requireGlsl());hljs.registerLanguage("gml",requireGml());hljs.registerLanguage("go",requireGo());hljs.registerLanguage("golo",requireGolo());hljs.registerLanguage("gradle",requireGradle());hljs.registerLanguage("graphql",requireGraphql());hljs.registerLanguage("groovy",requireGroovy());hljs.registerLanguage("haml",requireHaml());hljs.registerLanguage("handlebars",requireHandlebars());hljs.registerLanguage("haskell",requireHaskell());hljs.registerLanguage("haxe",requireHaxe());hljs.registerLanguage("hsp",requireHsp());hljs.registerLanguage("http",requireHttp());hljs.registerLanguage("hy",requireHy());hljs.registerLanguage("inform7",requireInform7());hljs.registerLanguage("ini",requireIni());hljs.registerLanguage("irpf90",requireIrpf90());hljs.registerLanguage("isbl",requireIsbl());hljs.registerLanguage("java",requireJava());hljs.registerLanguage("javascript",requireJavascript());hljs.registerLanguage("jboss-cli",requireJbossCli());hljs.registerLanguage("json",requireJson());hljs.registerLanguage("julia",requireJulia());hljs.registerLanguage("julia-repl",requireJuliaRepl());hljs.registerLanguage("kotlin",requireKotlin());hljs.registerLanguage("lasso",requireLasso());hljs.registerLanguage("latex",requireLatex());hljs.registerLanguage("ldif",requireLdif());hljs.registerLanguage("leaf",requireLeaf());hljs.registerLanguage("less",requireLess());hljs.registerLanguage("lisp",requireLisp());hljs.registerLanguage("livecodeserver",requireLivecodeserver());hljs.registerLanguage("livescript",requireLivescript());hljs.registerLanguage("llvm",requireLlvm());hljs.registerLanguage("lsl",requireLsl());hljs.registerLanguage("lua",requireLua());hljs.registerLanguage("makefile",requireMakefile());hljs.registerLanguage("mathematica",requireMathematica());hljs.registerLanguage("matlab",requireMatlab());hljs.registerLanguage("maxima",requireMaxima());hljs.registerLanguage("mel",requireMel());hljs.registerLanguage("mercury",requireMercury());hljs.registerLanguage("mipsasm",requireMipsasm());hljs.registerLanguage("mizar",requireMizar());hljs.registerLanguage("perl",requirePerl());hljs.registerLanguage("mojolicious",requireMojolicious());hljs.registerLanguage("monkey",requireMonkey());hljs.registerLanguage("moonscript",requireMoonscript());hljs.registerLanguage("n1ql",requireN1ql());hljs.registerLanguage("nestedtext",requireNestedtext());hljs.registerLanguage("nginx",requireNginx());hljs.registerLanguage("nim",requireNim());hljs.registerLanguage("nix",requireNix());hljs.registerLanguage("node-repl",requireNodeRepl());hljs.registerLanguage("nsis",requireNsis());hljs.registerLanguage("objectivec",requireObjectivec());hljs.registerLanguage("ocaml",requireOcaml());hljs.registerLanguage("openscad",requireOpenscad());hljs.registerLanguage("oxygene",requireOxygene());hljs.registerLanguage("parser3",requireParser3());hljs.registerLanguage("pf",requirePf());hljs.registerLanguage("pgsql",requirePgsql());hljs.registerLanguage("php",requirePhp());hljs.registerLanguage("php-template",requirePhpTemplate());hljs.registerLanguage("plaintext",requirePlaintext());hljs.registerLanguage("pony",requirePony());hljs.registerLanguage("powershell",requirePowershell());hljs.registerLanguage("processing",requireProcessing());hljs.registerLanguage("profile",requireProfile());hljs.registerLanguage("prolog",requireProlog());hljs.registerLanguage("properties",requireProperties());hljs.registerLanguage("protobuf",requireProtobuf());hljs.registerLanguage("puppet",requirePuppet());hljs.registerLanguage("purebasic",requirePurebasic());hljs.registerLanguage("python",requirePython());hljs.registerLanguage("python-repl",requirePythonRepl());hljs.registerLanguage("q",requireQ());hljs.registerLanguage("qml",requireQml());hljs.registerLanguage("r",requireR());hljs.registerLanguage("reasonml",requireReasonml());hljs.registerLanguage("rib",requireRib());hljs.registerLanguage("roboconf",requireRoboconf());hljs.registerLanguage("routeros",requireRouteros());hljs.registerLanguage("rsl",requireRsl());hljs.registerLanguage("ruleslanguage",requireRuleslanguage());hljs.registerLanguage("rust",requireRust());hljs.registerLanguage("sas",requireSas());hljs.registerLanguage("scala",requireScala());hljs.registerLanguage("scheme",requireScheme());hljs.registerLanguage("scilab",requireScilab());hljs.registerLanguage("scss",requireScss());hljs.registerLanguage("shell",requireShell());hljs.registerLanguage("smali",requireSmali());hljs.registerLanguage("smalltalk",requireSmalltalk());hljs.registerLanguage("sml",requireSml());hljs.registerLanguage("sqf",requireSqf());hljs.registerLanguage("sql",requireSql());hljs.registerLanguage("stan",requireStan());hljs.registerLanguage("stata",requireStata());hljs.registerLanguage("step21",requireStep21());hljs.registerLanguage("stylus",requireStylus());hljs.registerLanguage("subunit",requireSubunit());hljs.registerLanguage("swift",requireSwift());hljs.registerLanguage("taggerscript",requireTaggerscript());hljs.registerLanguage("yaml",requireYaml());hljs.registerLanguage("tap",requireTap());hljs.registerLanguage("tcl",requireTcl());hljs.registerLanguage("thrift",requireThrift());hljs.registerLanguage("tp",requireTp());hljs.registerLanguage("twig",requireTwig());hljs.registerLanguage("typescript",requireTypescript());hljs.registerLanguage("vala",requireVala());hljs.registerLanguage("vbnet",requireVbnet());hljs.registerLanguage("vbscript",requireVbscript());hljs.registerLanguage("vbscript-html",requireVbscriptHtml());hljs.registerLanguage("verilog",requireVerilog());hljs.registerLanguage("vhdl",requireVhdl());hljs.registerLanguage("vim",requireVim());hljs.registerLanguage("wasm",requireWasm());hljs.registerLanguage("wren",requireWren());hljs.registerLanguage("x86asm",requireX86asm());hljs.registerLanguage("xl",requireXl());hljs.registerLanguage("xquery",requireXquery());hljs.registerLanguage("zephir",requireZephir());hljs.HighlightJS=hljs;hljs.default=hljs;var lib$2=hljs;const HighlightJS=getDefaultExportFromCjs(lib$2);var utils$1={};const Aacute="Á",aacute="á",Abreve="Ă",abreve="ă",ac="∾",acd="∿",acE="∾̳",Acirc="Â",acirc="â",acute="´",Acy="А",acy="а",AElig="Æ",aelig="æ",af="⁡",Afr="𝔄",afr="𝔞",Agrave="À",agrave="à",alefsym="ℵ",aleph="ℵ",Alpha="Α",alpha="α",Amacr="Ā",amacr="ā",amalg="⨿",amp="&",AMP="&",andand="⩕",And="⩓",and="∧",andd="⩜",andslope="⩘",andv="⩚",ang="∠",ange="⦤",angle="∠",angmsdaa="⦨",angmsdab="⦩",angmsdac="⦪",angmsdad="⦫",angmsdae="⦬",angmsdaf="⦭",angmsdag="⦮",angmsdah="⦯",angmsd="∡",angrt="∟",angrtvb="⊾",angrtvbd="⦝",angsph="∢",angst="Å",angzarr="⍼",Aogon="Ą",aogon="ą",Aopf="𝔸",aopf="𝕒",apacir="⩯",ap="≈",apE="⩰",ape="≊",apid="≋",apos="'",ApplyFunction="⁡",approx="≈",approxeq="≊",Aring="Å",aring="å",Ascr="𝒜",ascr="𝒶",Assign="≔",ast="*",asymp="≈",asympeq="≍",Atilde="Ã",atilde="ã",Auml="Ä",auml="ä",awconint="∳",awint="⨑",backcong="≌",backepsilon="϶",backprime="‵",backsim="∽",backsimeq="⋍",Backslash="∖",Barv="⫧",barvee="⊽",barwed="⌅",Barwed="⌆",barwedge="⌅",bbrk="⎵",bbrktbrk="⎶",bcong="≌",Bcy="Б",bcy="б",bdquo="„",becaus="∵",because="∵",Because="∵",bemptyv="⦰",bepsi="϶",bernou="ℬ",Bernoullis="ℬ",Beta="Β",beta="β",beth="ℶ",between="≬",Bfr="𝔅",bfr="𝔟",bigcap="⋂",bigcirc="◯",bigcup="⋃",bigodot="⨀",bigoplus="⨁",bigotimes="⨂",bigsqcup="⨆",bigstar="★",bigtriangledown="▽",bigtriangleup="△",biguplus="⨄",bigvee="⋁",bigwedge="⋀",bkarow="⤍",blacklozenge="⧫",blacksquare="▪",blacktriangle="▴",blacktriangledown="▾",blacktriangleleft="◂",blacktriangleright="▸",blank="␣",blk12="▒",blk14="░",blk34="▓",block$1="█",bne="=⃥",bnequiv="≡⃥",bNot="⫭",bnot="⌐",Bopf="𝔹",bopf="𝕓",bot="⊥",bottom="⊥",bowtie="⋈",boxbox="⧉",boxdl="┐",boxdL="╕",boxDl="╖",boxDL="╗",boxdr="┌",boxdR="╒",boxDr="╓",boxDR="╔",boxh="─",boxH="═",boxhd="┬",boxHd="╤",boxhD="╥",boxHD="╦",boxhu="┴",boxHu="╧",boxhU="╨",boxHU="╩",boxminus="⊟",boxplus="⊞",boxtimes="⊠",boxul="┘",boxuL="╛",boxUl="╜",boxUL="╝",boxur="└",boxuR="╘",boxUr="╙",boxUR="╚",boxv="│",boxV="║",boxvh="┼",boxvH="╪",boxVh="╫",boxVH="╬",boxvl="┤",boxvL="╡",boxVl="╢",boxVL="╣",boxvr="├",boxvR="╞",boxVr="╟",boxVR="╠",bprime="‵",breve="˘",Breve="˘",brvbar="¦",bscr="𝒷",Bscr="ℬ",bsemi="⁏",bsim="∽",bsime="⋍",bsolb="⧅",bsol="\\",bsolhsub="⟈",bull="•",bullet="•",bump="≎",bumpE="⪮",bumpe="≏",Bumpeq="≎",bumpeq="≏",Cacute="Ć",cacute="ć",capand="⩄",capbrcup="⩉",capcap="⩋",cap="∩",Cap="⋒",capcup="⩇",capdot="⩀",CapitalDifferentialD="ⅅ",caps="∩︀",caret="⁁",caron="ˇ",Cayleys="ℭ",ccaps="⩍",Ccaron="Č",ccaron="č",Ccedil="Ç",ccedil="ç",Ccirc="Ĉ",ccirc="ĉ",Cconint="∰",ccups="⩌",ccupssm="⩐",Cdot="Ċ",cdot="ċ",cedil="¸",Cedilla="¸",cemptyv="⦲",cent="¢",centerdot="·",CenterDot="·",cfr="𝔠",Cfr="ℭ",CHcy="Ч",chcy="ч",check$1="✓",checkmark="✓",Chi="Χ",chi="χ",circ="ˆ",circeq="≗",circlearrowleft="↺",circlearrowright="↻",circledast="⊛",circledcirc="⊚",circleddash="⊝",CircleDot="⊙",circledR="®",circledS="Ⓢ",CircleMinus="⊖",CirclePlus="⊕",CircleTimes="⊗",cir="○",cirE="⧃",cire="≗",cirfnint="⨐",cirmid="⫯",cirscir="⧂",ClockwiseContourIntegral="∲",CloseCurlyDoubleQuote="”",CloseCurlyQuote="’",clubs="♣",clubsuit="♣",colon=":",Colon="∷",Colone="⩴",colone="≔",coloneq="≔",comma=",",commat="@",comp="∁",compfn="∘",complement="∁",complexes="ℂ",cong="≅",congdot="⩭",Congruent="≡",conint="∮",Conint="∯",ContourIntegral="∮",copf="𝕔",Copf="ℂ",coprod="∐",Coproduct="∐",copy="©",COPY="©",copysr="℗",CounterClockwiseContourIntegral="∳",crarr="↵",cross="✗",Cross="⨯",Cscr="𝒞",cscr="𝒸",csub="⫏",csube="⫑",csup="⫐",csupe="⫒",ctdot="⋯",cudarrl="⤸",cudarrr="⤵",cuepr="⋞",cuesc="⋟",cularr="↶",cularrp="⤽",cupbrcap="⩈",cupcap="⩆",CupCap="≍",cup="∪",Cup="⋓",cupcup="⩊",cupdot="⊍",cupor="⩅",cups="∪︀",curarr="↷",curarrm="⤼",curlyeqprec="⋞",curlyeqsucc="⋟",curlyvee="⋎",curlywedge="⋏",curren="¤",curvearrowleft="↶",curvearrowright="↷",cuvee="⋎",cuwed="⋏",cwconint="∲",cwint="∱",cylcty="⌭",dagger="†",Dagger="‡",daleth="ℸ",darr="↓",Darr="↡",dArr="⇓",dash="‐",Dashv="⫤",dashv="⊣",dbkarow="⤏",dblac="˝",Dcaron="Ď",dcaron="ď",Dcy="Д",dcy="д",ddagger="‡",ddarr="⇊",DD="ⅅ",dd="ⅆ",DDotrahd="⤑",ddotseq="⩷",deg="°",Del="∇",Delta="Δ",delta="δ",demptyv="⦱",dfisht="⥿",Dfr="𝔇",dfr="𝔡",dHar="⥥",dharl="⇃",dharr="⇂",DiacriticalAcute="´",DiacriticalDot="˙",DiacriticalDoubleAcute="˝",DiacriticalGrave="`",DiacriticalTilde="˜",diam="⋄",diamond="⋄",Diamond="⋄",diamondsuit="♦",diams="♦",die="¨",DifferentialD="ⅆ",digamma="ϝ",disin="⋲",div="÷",divide="÷",divideontimes="⋇",divonx="⋇",DJcy="Ђ",djcy="ђ",dlcorn="⌞",dlcrop="⌍",dollar="$",Dopf="𝔻",dopf="𝕕",Dot="¨",dot="˙",DotDot="⃜",doteq="≐",doteqdot="≑",DotEqual="≐",dotminus="∸",dotplus="∔",dotsquare="⊡",doublebarwedge="⌆",DoubleContourIntegral="∯",DoubleDot="¨",DoubleDownArrow="⇓",DoubleLeftArrow="⇐",DoubleLeftRightArrow="⇔",DoubleLeftTee="⫤",DoubleLongLeftArrow="⟸",DoubleLongLeftRightArrow="⟺",DoubleLongRightArrow="⟹",DoubleRightArrow="⇒",DoubleRightTee="⊨",DoubleUpArrow="⇑",DoubleUpDownArrow="⇕",DoubleVerticalBar="∥",DownArrowBar="⤓",downarrow="↓",DownArrow="↓",Downarrow="⇓",DownArrowUpArrow="⇵",DownBreve="̑",downdownarrows="⇊",downharpoonleft="⇃",downharpoonright="⇂",DownLeftRightVector="⥐",DownLeftTeeVector="⥞",DownLeftVectorBar="⥖",DownLeftVector="↽",DownRightTeeVector="⥟",DownRightVectorBar="⥗",DownRightVector="⇁",DownTeeArrow="↧",DownTee="⊤",drbkarow="⤐",drcorn="⌟",drcrop="⌌",Dscr="𝒟",dscr="𝒹",DScy="Ѕ",dscy="ѕ",dsol="⧶",Dstrok="Đ",dstrok="đ",dtdot="⋱",dtri="▿",dtrif="▾",duarr="⇵",duhar="⥯",dwangle="⦦",DZcy="Џ",dzcy="џ",dzigrarr="⟿",Eacute="É",eacute="é",easter="⩮",Ecaron="Ě",ecaron="ě",Ecirc="Ê",ecirc="ê",ecir="≖",ecolon="≕",Ecy="Э",ecy="э",eDDot="⩷",Edot="Ė",edot="ė",eDot="≑",ee$1="ⅇ",efDot="≒",Efr="𝔈",efr="𝔢",eg="⪚",Egrave="È",egrave="è",egs="⪖",egsdot="⪘",el="⪙",Element$1="∈",elinters="⏧",ell="ℓ",els="⪕",elsdot="⪗",Emacr="Ē",emacr="ē",empty$1="∅",emptyset="∅",EmptySmallSquare="◻",emptyv="∅",EmptyVerySmallSquare="▫",emsp13=" ",emsp14=" ",emsp=" ",ENG="Ŋ",eng="ŋ",ensp=" ",Eogon="Ę",eogon="ę",Eopf="𝔼",eopf="𝕖",epar="⋕",eparsl="⧣",eplus="⩱",epsi="ε",Epsilon="Ε",epsilon$1="ε",epsiv="ϵ",eqcirc="≖",eqcolon="≕",eqsim="≂",eqslantgtr="⪖",eqslantless="⪕",Equal="⩵",equals="=",EqualTilde="≂",equest="≟",Equilibrium="⇌",equiv="≡",equivDD="⩸",eqvparsl="⧥",erarr="⥱",erDot="≓",escr="ℯ",Escr="ℰ",esdot="≐",Esim="⩳",esim="≂",Eta="Η",eta="η",ETH="Ð",eth="ð",Euml="Ë",euml="ë",euro="€",excl="!",exist="∃",Exists="∃",expectation="ℰ",exponentiale="ⅇ",ExponentialE="ⅇ",fallingdotseq="≒",Fcy="Ф",fcy="ф",female="♀",ffilig="ffi",fflig="ff",ffllig="ffl",Ffr="𝔉",ffr="𝔣",filig="fi",FilledSmallSquare="◼",FilledVerySmallSquare="▪",fjlig="fj",flat="♭",fllig="fl",fltns="▱",fnof="ƒ",Fopf="𝔽",fopf="𝕗",forall="∀",ForAll="∀",fork="⋔",forkv="⫙",Fouriertrf="ℱ",fpartint="⨍",frac12="½",frac13="⅓",frac14="¼",frac15="⅕",frac16="⅙",frac18="⅛",frac23="⅔",frac25="⅖",frac34="¾",frac35="⅗",frac38="⅜",frac45="⅘",frac56="⅚",frac58="⅝",frac78="⅞",frasl="⁄",frown="⌢",fscr="𝒻",Fscr="ℱ",gacute="ǵ",Gamma="Γ",gamma$1="γ",Gammad="Ϝ",gammad="ϝ",gap="⪆",Gbreve="Ğ",gbreve="ğ",Gcedil="Ģ",Gcirc="Ĝ",gcirc="ĝ",Gcy="Г",gcy="г",Gdot="Ġ",gdot="ġ",ge$1="≥",gE="≧",gEl="⪌",gel="⋛",geq="≥",geqq="≧",geqslant="⩾",gescc="⪩",ges="⩾",gesdot="⪀",gesdoto="⪂",gesdotol="⪄",gesl="⋛︀",gesles="⪔",Gfr="𝔊",gfr="𝔤",gg="≫",Gg="⋙",ggg="⋙",gimel="ℷ",GJcy="Ѓ",gjcy="ѓ",gla="⪥",gl="≷",glE="⪒",glj="⪤",gnap="⪊",gnapprox="⪊",gne="⪈",gnE="≩",gneq="⪈",gneqq="≩",gnsim="⋧",Gopf="𝔾",gopf="𝕘",grave="`",GreaterEqual="≥",GreaterEqualLess="⋛",GreaterFullEqual="≧",GreaterGreater="⪢",GreaterLess="≷",GreaterSlantEqual="⩾",GreaterTilde="≳",Gscr="𝒢",gscr="ℊ",gsim="≳",gsime="⪎",gsiml="⪐",gtcc="⪧",gtcir="⩺",gt=">",GT$1=">",Gt="≫",gtdot="⋗",gtlPar="⦕",gtquest="⩼",gtrapprox="⪆",gtrarr="⥸",gtrdot="⋗",gtreqless="⋛",gtreqqless="⪌",gtrless="≷",gtrsim="≳",gvertneqq="≩︀",gvnE="≩︀",Hacek="ˇ",hairsp=" ",half="½",hamilt="ℋ",HARDcy="Ъ",hardcy="ъ",harrcir="⥈",harr="↔",hArr="⇔",harrw="↭",Hat="^",hbar="ℏ",Hcirc="Ĥ",hcirc="ĥ",hearts="♥",heartsuit="♥",hellip="…",hercon="⊹",hfr="𝔥",Hfr="ℌ",HilbertSpace="ℋ",hksearow="⤥",hkswarow="⤦",hoarr="⇿",homtht="∻",hookleftarrow="↩",hookrightarrow="↪",hopf="𝕙",Hopf="ℍ",horbar="―",HorizontalLine="─",hscr="𝒽",Hscr="ℋ",hslash="ℏ",Hstrok="Ħ",hstrok="ħ",HumpDownHump="≎",HumpEqual="≏",hybull="⁃",hyphen="‐",Iacute="Í",iacute="í",ic="⁣",Icirc="Î",icirc="î",Icy="И",icy="и",Idot="İ",IEcy="Е",iecy="е",iexcl="¡",iff="⇔",ifr="𝔦",Ifr="ℑ",Igrave="Ì",igrave="ì",ii="ⅈ",iiiint="⨌",iiint="∭",iinfin="⧜",iiota="℩",IJlig="IJ",ijlig="ij",Imacr="Ī",imacr="ī",image$1="ℑ",ImaginaryI="ⅈ",imagline="ℐ",imagpart="ℑ",imath="ı",Im="ℑ",imof="⊷",imped="Ƶ",Implies="⇒",incare="℅",infin="∞",infintie="⧝",inodot="ı",intcal="⊺",int="∫",Int="∬",integers="ℤ",Integral="∫",intercal="⊺",Intersection="⋂",intlarhk="⨗",intprod="⨼",InvisibleComma="⁣",InvisibleTimes="⁢",IOcy="Ё",iocy="ё",Iogon="Į",iogon="į",Iopf="𝕀",iopf="𝕚",Iota="Ι",iota="ι",iprod="⨼",iquest="¿",iscr="𝒾",Iscr="ℐ",isin="∈",isindot="⋵",isinE="⋹",isins="⋴",isinsv="⋳",isinv="∈",it="⁢",Itilde="Ĩ",itilde="ĩ",Iukcy="І",iukcy="і",Iuml="Ï",iuml="ï",Jcirc="Ĵ",jcirc="ĵ",Jcy="Й",jcy="й",Jfr="𝔍",jfr="𝔧",jmath="ȷ",Jopf="𝕁",jopf="𝕛",Jscr="𝒥",jscr="𝒿",Jsercy="Ј",jsercy="ј",Jukcy="Є",jukcy="є",Kappa="Κ",kappa="κ",kappav="ϰ",Kcedil="Ķ",kcedil="ķ",Kcy="К",kcy="к",Kfr="𝔎",kfr="𝔨",kgreen="ĸ",KHcy="Х",khcy="х",KJcy="Ќ",kjcy="ќ",Kopf="𝕂",kopf="𝕜",Kscr="𝒦",kscr="𝓀",lAarr="⇚",Lacute="Ĺ",lacute="ĺ",laemptyv="⦴",lagran="ℒ",Lambda="Λ",lambda="λ",lang="⟨",Lang="⟪",langd="⦑",langle="⟨",lap="⪅",Laplacetrf="ℒ",laquo="«",larrb="⇤",larrbfs="⤟",larr="←",Larr="↞",lArr="⇐",larrfs="⤝",larrhk="↩",larrlp="↫",larrpl="⤹",larrsim="⥳",larrtl="↢",latail="⤙",lAtail="⤛",lat="⪫",late="⪭",lates="⪭︀",lbarr="⤌",lBarr="⤎",lbbrk="❲",lbrace="{",lbrack="[",lbrke="⦋",lbrksld="⦏",lbrkslu="⦍",Lcaron="Ľ",lcaron="ľ",Lcedil="Ļ",lcedil="ļ",lceil="⌈",lcub="{",Lcy="Л",lcy="л",ldca="⤶",ldquo="“",ldquor="„",ldrdhar="⥧",ldrushar="⥋",ldsh="↲",le="≤",lE="≦",LeftAngleBracket="⟨",LeftArrowBar="⇤",leftarrow="←",LeftArrow="←",Leftarrow="⇐",LeftArrowRightArrow="⇆",leftarrowtail="↢",LeftCeiling="⌈",LeftDoubleBracket="⟦",LeftDownTeeVector="⥡",LeftDownVectorBar="⥙",LeftDownVector="⇃",LeftFloor="⌊",leftharpoondown="↽",leftharpoonup="↼",leftleftarrows="⇇",leftrightarrow="↔",LeftRightArrow="↔",Leftrightarrow="⇔",leftrightarrows="⇆",leftrightharpoons="⇋",leftrightsquigarrow="↭",LeftRightVector="⥎",LeftTeeArrow="↤",LeftTee="⊣",LeftTeeVector="⥚",leftthreetimes="⋋",LeftTriangleBar="⧏",LeftTriangle="⊲",LeftTriangleEqual="⊴",LeftUpDownVector="⥑",LeftUpTeeVector="⥠",LeftUpVectorBar="⥘",LeftUpVector="↿",LeftVectorBar="⥒",LeftVector="↼",lEg="⪋",leg="⋚",leq="≤",leqq="≦",leqslant="⩽",lescc="⪨",les="⩽",lesdot="⩿",lesdoto="⪁",lesdotor="⪃",lesg="⋚︀",lesges="⪓",lessapprox="⪅",lessdot="⋖",lesseqgtr="⋚",lesseqqgtr="⪋",LessEqualGreater="⋚",LessFullEqual="≦",LessGreater="≶",lessgtr="≶",LessLess="⪡",lesssim="≲",LessSlantEqual="⩽",LessTilde="≲",lfisht="⥼",lfloor="⌊",Lfr="𝔏",lfr="𝔩",lg="≶",lgE="⪑",lHar="⥢",lhard="↽",lharu="↼",lharul="⥪",lhblk="▄",LJcy="Љ",ljcy="љ",llarr="⇇",ll="≪",Ll="⋘",llcorner="⌞",Lleftarrow="⇚",llhard="⥫",lltri="◺",Lmidot="Ŀ",lmidot="ŀ",lmoustache="⎰",lmoust="⎰",lnap="⪉",lnapprox="⪉",lne="⪇",lnE="≨",lneq="⪇",lneqq="≨",lnsim="⋦",loang="⟬",loarr="⇽",lobrk="⟦",longleftarrow="⟵",LongLeftArrow="⟵",Longleftarrow="⟸",longleftrightarrow="⟷",LongLeftRightArrow="⟷",Longleftrightarrow="⟺",longmapsto="⟼",longrightarrow="⟶",LongRightArrow="⟶",Longrightarrow="⟹",looparrowleft="↫",looparrowright="↬",lopar="⦅",Lopf="𝕃",lopf="𝕝",loplus="⨭",lotimes="⨴",lowast="∗",lowbar="_",LowerLeftArrow="↙",LowerRightArrow="↘",loz="◊",lozenge="◊",lozf="⧫",lpar="(",lparlt="⦓",lrarr="⇆",lrcorner="⌟",lrhar="⇋",lrhard="⥭",lrm="‎",lrtri="⊿",lsaquo="‹",lscr="𝓁",Lscr="ℒ",lsh="↰",Lsh="↰",lsim="≲",lsime="⪍",lsimg="⪏",lsqb="[",lsquo="‘",lsquor="‚",Lstrok="Ł",lstrok="ł",ltcc="⪦",ltcir="⩹",lt="<",LT$1="<",Lt="≪",ltdot="⋖",lthree="⋋",ltimes="⋉",ltlarr="⥶",ltquest="⩻",ltri="◃",ltrie="⊴",ltrif="◂",ltrPar="⦖",lurdshar="⥊",luruhar="⥦",lvertneqq="≨︀",lvnE="≨︀",macr="¯",male="♂",malt="✠",maltese="✠",map$1="↦",mapsto="↦",mapstodown="↧",mapstoleft="↤",mapstoup="↥",marker="▮",mcomma="⨩",Mcy="М",mcy="м",mdash="—",mDDot="∺",measuredangle="∡",MediumSpace=" ",Mellintrf="ℳ",Mfr="𝔐",mfr="𝔪",mho="℧",micro="µ",midast="*",midcir="⫰",mid="∣",middot="·",minusb="⊟",minus="−",minusd="∸",minusdu="⨪",MinusPlus="∓",mlcp="⫛",mldr="…",mnplus="∓",models="⊧",Mopf="𝕄",mopf="𝕞",mp="∓",mscr="𝓂",Mscr="ℳ",mstpos="∾",Mu="Μ",mu="μ",multimap="⊸",mumap="⊸",nabla="∇",Nacute="Ń",nacute="ń",nang="∠⃒",nap$1="≉",napE="⩰̸",napid="≋̸",napos="ʼn",napprox="≉",natural="♮",naturals="ℕ",natur="♮",nbsp=" ",nbump="≎̸",nbumpe="≏̸",ncap="⩃",Ncaron="Ň",ncaron="ň",Ncedil="Ņ",ncedil="ņ",ncong="≇",ncongdot="⩭̸",ncup="⩂",Ncy="Н",ncy="н",ndash="–",nearhk="⤤",nearr="↗",neArr="⇗",nearrow="↗",ne="≠",nedot="≐̸",NegativeMediumSpace="​",NegativeThickSpace="​",NegativeThinSpace="​",NegativeVeryThinSpace="​",nequiv="≢",nesear="⤨",nesim="≂̸",NestedGreaterGreater="≫",NestedLessLess="≪",NewLine=` `,nexist="∄",nexists="∄",Nfr="𝔑",nfr="𝔫",ngE="≧̸",nge="≱",ngeq="≱",ngeqq="≧̸",ngeqslant="⩾̸",nges="⩾̸",nGg="⋙̸",ngsim="≵",nGt="≫⃒",ngt="≯",ngtr="≯",nGtv="≫̸",nharr="↮",nhArr="⇎",nhpar="⫲",ni="∋",nis="⋼",nisd="⋺",niv="∋",NJcy="Њ",njcy="њ",nlarr="↚",nlArr="⇍",nldr="‥",nlE="≦̸",nle="≰",nleftarrow="↚",nLeftarrow="⇍",nleftrightarrow="↮",nLeftrightarrow="⇎",nleq="≰",nleqq="≦̸",nleqslant="⩽̸",nles="⩽̸",nless="≮",nLl="⋘̸",nlsim="≴",nLt="≪⃒",nlt="≮",nltri="⋪",nltrie="⋬",nLtv="≪̸",nmid="∤",NoBreak="⁠",NonBreakingSpace=" ",nopf="𝕟",Nopf="ℕ",Not="⫬",not="¬",NotCongruent="≢",NotCupCap="≭",NotDoubleVerticalBar="∦",NotElement="∉",NotEqual="≠",NotEqualTilde="≂̸",NotExists="∄",NotGreater="≯",NotGreaterEqual="≱",NotGreaterFullEqual="≧̸",NotGreaterGreater="≫̸",NotGreaterLess="≹",NotGreaterSlantEqual="⩾̸",NotGreaterTilde="≵",NotHumpDownHump="≎̸",NotHumpEqual="≏̸",notin="∉",notindot="⋵̸",notinE="⋹̸",notinva="∉",notinvb="⋷",notinvc="⋶",NotLeftTriangleBar="⧏̸",NotLeftTriangle="⋪",NotLeftTriangleEqual="⋬",NotLess="≮",NotLessEqual="≰",NotLessGreater="≸",NotLessLess="≪̸",NotLessSlantEqual="⩽̸",NotLessTilde="≴",NotNestedGreaterGreater="⪢̸",NotNestedLessLess="⪡̸",notni="∌",notniva="∌",notnivb="⋾",notnivc="⋽",NotPrecedes="⊀",NotPrecedesEqual="⪯̸",NotPrecedesSlantEqual="⋠",NotReverseElement="∌",NotRightTriangleBar="⧐̸",NotRightTriangle="⋫",NotRightTriangleEqual="⋭",NotSquareSubset="⊏̸",NotSquareSubsetEqual="⋢",NotSquareSuperset="⊐̸",NotSquareSupersetEqual="⋣",NotSubset="⊂⃒",NotSubsetEqual="⊈",NotSucceeds="⊁",NotSucceedsEqual="⪰̸",NotSucceedsSlantEqual="⋡",NotSucceedsTilde="≿̸",NotSuperset="⊃⃒",NotSupersetEqual="⊉",NotTilde="≁",NotTildeEqual="≄",NotTildeFullEqual="≇",NotTildeTilde="≉",NotVerticalBar="∤",nparallel="∦",npar="∦",nparsl="⫽⃥",npart="∂̸",npolint="⨔",npr="⊀",nprcue="⋠",nprec="⊀",npreceq="⪯̸",npre="⪯̸",nrarrc="⤳̸",nrarr="↛",nrArr="⇏",nrarrw="↝̸",nrightarrow="↛",nRightarrow="⇏",nrtri="⋫",nrtrie="⋭",nsc="⊁",nsccue="⋡",nsce="⪰̸",Nscr="𝒩",nscr="𝓃",nshortmid="∤",nshortparallel="∦",nsim="≁",nsime="≄",nsimeq="≄",nsmid="∤",nspar="∦",nsqsube="⋢",nsqsupe="⋣",nsub="⊄",nsubE="⫅̸",nsube="⊈",nsubset="⊂⃒",nsubseteq="⊈",nsubseteqq="⫅̸",nsucc="⊁",nsucceq="⪰̸",nsup="⊅",nsupE="⫆̸",nsupe="⊉",nsupset="⊃⃒",nsupseteq="⊉",nsupseteqq="⫆̸",ntgl="≹",Ntilde="Ñ",ntilde="ñ",ntlg="≸",ntriangleleft="⋪",ntrianglelefteq="⋬",ntriangleright="⋫",ntrianglerighteq="⋭",Nu="Ν",nu="ν",num="#",numero="№",numsp=" ",nvap="≍⃒",nvdash="⊬",nvDash="⊭",nVdash="⊮",nVDash="⊯",nvge="≥⃒",nvgt=">⃒",nvHarr="⤄",nvinfin="⧞",nvlArr="⤂",nvle="≤⃒",nvlt="<⃒",nvltrie="⊴⃒",nvrArr="⤃",nvrtrie="⊵⃒",nvsim="∼⃒",nwarhk="⤣",nwarr="↖",nwArr="⇖",nwarrow="↖",nwnear="⤧",Oacute="Ó",oacute="ó",oast="⊛",Ocirc="Ô",ocirc="ô",ocir="⊚",Ocy="О",ocy="о",odash="⊝",Odblac="Ő",odblac="ő",odiv="⨸",odot="⊙",odsold="⦼",OElig="Œ",oelig="œ",ofcir="⦿",Ofr="𝔒",ofr="𝔬",ogon="˛",Ograve="Ò",ograve="ò",ogt="⧁",ohbar="⦵",ohm="Ω",oint="∮",olarr="↺",olcir="⦾",olcross="⦻",oline="‾",olt="⧀",Omacr="Ō",omacr="ō",Omega="Ω",omega="ω",Omicron="Ο",omicron="ο",omid="⦶",ominus="⊖",Oopf="𝕆",oopf="𝕠",opar="⦷",OpenCurlyDoubleQuote="“",OpenCurlyQuote="‘",operp="⦹",oplus="⊕",orarr="↻",Or="⩔",or="∨",ord="⩝",order="ℴ",orderof="ℴ",ordf="ª",ordm="º",origof="⊶",oror="⩖",orslope="⩗",orv="⩛",oS="Ⓢ",Oscr="𝒪",oscr="ℴ",Oslash="Ø",oslash="ø",osol="⊘",Otilde="Õ",otilde="õ",otimesas="⨶",Otimes="⨷",otimes="⊗",Ouml="Ö",ouml="ö",ovbar="⌽",OverBar="‾",OverBrace="⏞",OverBracket="⎴",OverParenthesis="⏜",para="¶",parallel="∥",par="∥",parsim="⫳",parsl="⫽",part="∂",PartialD="∂",Pcy="П",pcy="п",percnt="%",period=".",permil="‰",perp="⊥",pertenk="‱",Pfr="𝔓",pfr="𝔭",Phi="Φ",phi="φ",phiv="ϕ",phmmat="ℳ",phone="☎",Pi="Π",pi$1="π",pitchfork="⋔",piv="ϖ",planck="ℏ",planckh="ℎ",plankv="ℏ",plusacir="⨣",plusb="⊞",pluscir="⨢",plus="+",plusdo="∔",plusdu="⨥",pluse="⩲",PlusMinus="±",plusmn="±",plussim="⨦",plustwo="⨧",pm="±",Poincareplane="ℌ",pointint="⨕",popf="𝕡",Popf="ℙ",pound="£",prap="⪷",Pr="⪻",pr="≺",prcue="≼",precapprox="⪷",prec="≺",preccurlyeq="≼",Precedes="≺",PrecedesEqual="⪯",PrecedesSlantEqual="≼",PrecedesTilde="≾",preceq="⪯",precnapprox="⪹",precneqq="⪵",precnsim="⋨",pre="⪯",prE="⪳",precsim="≾",prime="′",Prime="″",primes="ℙ",prnap="⪹",prnE="⪵",prnsim="⋨",prod="∏",Product="∏",profalar="⌮",profline="⌒",profsurf="⌓",prop="∝",Proportional="∝",Proportion="∷",propto="∝",prsim="≾",prurel="⊰",Pscr="𝒫",pscr="𝓅",Psi="Ψ",psi="ψ",puncsp=" ",Qfr="𝔔",qfr="𝔮",qint="⨌",qopf="𝕢",Qopf="ℚ",qprime="⁗",Qscr="𝒬",qscr="𝓆",quaternions="ℍ",quatint="⨖",quest="?",questeq="≟",quot='"',QUOT='"',rAarr="⇛",race="∽̱",Racute="Ŕ",racute="ŕ",radic="√",raemptyv="⦳",rang="⟩",Rang="⟫",rangd="⦒",range="⦥",rangle="⟩",raquo="»",rarrap="⥵",rarrb="⇥",rarrbfs="⤠",rarrc="⤳",rarr="→",Rarr="↠",rArr="⇒",rarrfs="⤞",rarrhk="↪",rarrlp="↬",rarrpl="⥅",rarrsim="⥴",Rarrtl="⤖",rarrtl="↣",rarrw="↝",ratail="⤚",rAtail="⤜",ratio="∶",rationals="ℚ",rbarr="⤍",rBarr="⤏",RBarr="⤐",rbbrk="❳",rbrace="}",rbrack="]",rbrke="⦌",rbrksld="⦎",rbrkslu="⦐",Rcaron="Ř",rcaron="ř",Rcedil="Ŗ",rcedil="ŗ",rceil="⌉",rcub="}",Rcy="Р",rcy="р",rdca="⤷",rdldhar="⥩",rdquo="”",rdquor="”",rdsh="↳",real="ℜ",realine="ℛ",realpart="ℜ",reals="ℝ",Re="ℜ",rect="▭",reg="®",REG="®",ReverseElement="∋",ReverseEquilibrium="⇋",ReverseUpEquilibrium="⥯",rfisht="⥽",rfloor="⌋",rfr="𝔯",Rfr="ℜ",rHar="⥤",rhard="⇁",rharu="⇀",rharul="⥬",Rho="Ρ",rho="ρ",rhov="ϱ",RightAngleBracket="⟩",RightArrowBar="⇥",rightarrow="→",RightArrow="→",Rightarrow="⇒",RightArrowLeftArrow="⇄",rightarrowtail="↣",RightCeiling="⌉",RightDoubleBracket="⟧",RightDownTeeVector="⥝",RightDownVectorBar="⥕",RightDownVector="⇂",RightFloor="⌋",rightharpoondown="⇁",rightharpoonup="⇀",rightleftarrows="⇄",rightleftharpoons="⇌",rightrightarrows="⇉",rightsquigarrow="↝",RightTeeArrow="↦",RightTee="⊢",RightTeeVector="⥛",rightthreetimes="⋌",RightTriangleBar="⧐",RightTriangle="⊳",RightTriangleEqual="⊵",RightUpDownVector="⥏",RightUpTeeVector="⥜",RightUpVectorBar="⥔",RightUpVector="↾",RightVectorBar="⥓",RightVector="⇀",ring="˚",risingdotseq="≓",rlarr="⇄",rlhar="⇌",rlm="‏",rmoustache="⎱",rmoust="⎱",rnmid="⫮",roang="⟭",roarr="⇾",robrk="⟧",ropar="⦆",ropf="𝕣",Ropf="ℝ",roplus="⨮",rotimes="⨵",RoundImplies="⥰",rpar=")",rpargt="⦔",rppolint="⨒",rrarr="⇉",Rrightarrow="⇛",rsaquo="›",rscr="𝓇",Rscr="ℛ",rsh="↱",Rsh="↱",rsqb="]",rsquo="’",rsquor="’",rthree="⋌",rtimes="⋊",rtri="▹",rtrie="⊵",rtrif="▸",rtriltri="⧎",RuleDelayed="⧴",ruluhar="⥨",rx="℞",Sacute="Ś",sacute="ś",sbquo="‚",scap="⪸",Scaron="Š",scaron="š",Sc="⪼",sc="≻",sccue="≽",sce="⪰",scE="⪴",Scedil="Ş",scedil="ş",Scirc="Ŝ",scirc="ŝ",scnap="⪺",scnE="⪶",scnsim="⋩",scpolint="⨓",scsim="≿",Scy="С",scy="с",sdotb="⊡",sdot="⋅",sdote="⩦",searhk="⤥",searr="↘",seArr="⇘",searrow="↘",sect="§",semi=";",seswar="⤩",setminus="∖",setmn="∖",sext="✶",Sfr="𝔖",sfr="𝔰",sfrown="⌢",sharp="♯",SHCHcy="Щ",shchcy="щ",SHcy="Ш",shcy="ш",ShortDownArrow="↓",ShortLeftArrow="←",shortmid="∣",shortparallel="∥",ShortRightArrow="→",ShortUpArrow="↑",shy="­",Sigma="Σ",sigma="σ",sigmaf="ς",sigmav="ς",sim="∼",simdot="⩪",sime="≃",simeq="≃",simg="⪞",simgE="⪠",siml="⪝",simlE="⪟",simne="≆",simplus="⨤",simrarr="⥲",slarr="←",SmallCircle="∘",smallsetminus="∖",smashp="⨳",smeparsl="⧤",smid="∣",smile="⌣",smt="⪪",smte="⪬",smtes="⪬︀",SOFTcy="Ь",softcy="ь",solbar="⌿",solb="⧄",sol="/",Sopf="𝕊",sopf="𝕤",spades="♠",spadesuit="♠",spar="∥",sqcap="⊓",sqcaps="⊓︀",sqcup="⊔",sqcups="⊔︀",Sqrt="√",sqsub="⊏",sqsube="⊑",sqsubset="⊏",sqsubseteq="⊑",sqsup="⊐",sqsupe="⊒",sqsupset="⊐",sqsupseteq="⊒",square="□",Square="□",SquareIntersection="⊓",SquareSubset="⊏",SquareSubsetEqual="⊑",SquareSuperset="⊐",SquareSupersetEqual="⊒",SquareUnion="⊔",squarf="▪",squ="□",squf="▪",srarr="→",Sscr="𝒮",sscr="𝓈",ssetmn="∖",ssmile="⌣",sstarf="⋆",Star="⋆",star="☆",starf="★",straightepsilon="ϵ",straightphi="ϕ",strns="¯",sub="⊂",Sub="⋐",subdot="⪽",subE="⫅",sube="⊆",subedot="⫃",submult="⫁",subnE="⫋",subne="⊊",subplus="⪿",subrarr="⥹",subset="⊂",Subset="⋐",subseteq="⊆",subseteqq="⫅",SubsetEqual="⊆",subsetneq="⊊",subsetneqq="⫋",subsim="⫇",subsub="⫕",subsup="⫓",succapprox="⪸",succ="≻",succcurlyeq="≽",Succeeds="≻",SucceedsEqual="⪰",SucceedsSlantEqual="≽",SucceedsTilde="≿",succeq="⪰",succnapprox="⪺",succneqq="⪶",succnsim="⋩",succsim="≿",SuchThat="∋",sum="∑",Sum="∑",sung="♪",sup1="¹",sup2="²",sup3="³",sup="⊃",Sup="⋑",supdot="⪾",supdsub="⫘",supE="⫆",supe="⊇",supedot="⫄",Superset="⊃",SupersetEqual="⊇",suphsol="⟉",suphsub="⫗",suplarr="⥻",supmult="⫂",supnE="⫌",supne="⊋",supplus="⫀",supset="⊃",Supset="⋑",supseteq="⊇",supseteqq="⫆",supsetneq="⊋",supsetneqq="⫌",supsim="⫈",supsub="⫔",supsup="⫖",swarhk="⤦",swarr="↙",swArr="⇙",swarrow="↙",swnwar="⤪",szlig="ß",Tab=" ",target="⌖",Tau="Τ",tau$1="τ",tbrk="⎴",Tcaron="Ť",tcaron="ť",Tcedil="Ţ",tcedil="ţ",Tcy="Т",tcy="т",tdot="⃛",telrec="⌕",Tfr="𝔗",tfr="𝔱",there4="∴",therefore="∴",Therefore="∴",Theta="Θ",theta="θ",thetasym="ϑ",thetav="ϑ",thickapprox="≈",thicksim="∼",ThickSpace="  ",ThinSpace=" ",thinsp=" ",thkap="≈",thksim="∼",THORN="Þ",thorn="þ",tilde="˜",Tilde="∼",TildeEqual="≃",TildeFullEqual="≅",TildeTilde="≈",timesbar="⨱",timesb="⊠",times="×",timesd="⨰",tint="∭",toea="⤨",topbot="⌶",topcir="⫱",top="⊤",Topf="𝕋",topf="𝕥",topfork="⫚",tosa="⤩",tprime="‴",trade="™",TRADE="™",triangle="▵",triangledown="▿",triangleleft="◃",trianglelefteq="⊴",triangleq="≜",triangleright="▹",trianglerighteq="⊵",tridot="◬",trie="≜",triminus="⨺",TripleDot="⃛",triplus="⨹",trisb="⧍",tritime="⨻",trpezium="⏢",Tscr="𝒯",tscr="𝓉",TScy="Ц",tscy="ц",TSHcy="Ћ",tshcy="ћ",Tstrok="Ŧ",tstrok="ŧ",twixt="≬",twoheadleftarrow="↞",twoheadrightarrow="↠",Uacute="Ú",uacute="ú",uarr="↑",Uarr="↟",uArr="⇑",Uarrocir="⥉",Ubrcy="Ў",ubrcy="ў",Ubreve="Ŭ",ubreve="ŭ",Ucirc="Û",ucirc="û",Ucy="У",ucy="у",udarr="⇅",Udblac="Ű",udblac="ű",udhar="⥮",ufisht="⥾",Ufr="𝔘",ufr="𝔲",Ugrave="Ù",ugrave="ù",uHar="⥣",uharl="↿",uharr="↾",uhblk="▀",ulcorn="⌜",ulcorner="⌜",ulcrop="⌏",ultri="◸",Umacr="Ū",umacr="ū",uml="¨",UnderBar="_",UnderBrace="⏟",UnderBracket="⎵",UnderParenthesis="⏝",Union="⋃",UnionPlus="⊎",Uogon="Ų",uogon="ų",Uopf="𝕌",uopf="𝕦",UpArrowBar="⤒",uparrow="↑",UpArrow="↑",Uparrow="⇑",UpArrowDownArrow="⇅",updownarrow="↕",UpDownArrow="↕",Updownarrow="⇕",UpEquilibrium="⥮",upharpoonleft="↿",upharpoonright="↾",uplus="⊎",UpperLeftArrow="↖",UpperRightArrow="↗",upsi="υ",Upsi="ϒ",upsih="ϒ",Upsilon="Υ",upsilon="υ",UpTeeArrow="↥",UpTee="⊥",upuparrows="⇈",urcorn="⌝",urcorner="⌝",urcrop="⌎",Uring="Ů",uring="ů",urtri="◹",Uscr="𝒰",uscr="𝓊",utdot="⋰",Utilde="Ũ",utilde="ũ",utri="▵",utrif="▴",uuarr="⇈",Uuml="Ü",uuml="ü",uwangle="⦧",vangrt="⦜",varepsilon="ϵ",varkappa="ϰ",varnothing="∅",varphi="ϕ",varpi="ϖ",varpropto="∝",varr="↕",vArr="⇕",varrho="ϱ",varsigma="ς",varsubsetneq="⊊︀",varsubsetneqq="⫋︀",varsupsetneq="⊋︀",varsupsetneqq="⫌︀",vartheta="ϑ",vartriangleleft="⊲",vartriangleright="⊳",vBar="⫨",Vbar="⫫",vBarv="⫩",Vcy="В",vcy="в",vdash="⊢",vDash="⊨",Vdash="⊩",VDash="⊫",Vdashl="⫦",veebar="⊻",vee="∨",Vee="⋁",veeeq="≚",vellip="⋮",verbar="|",Verbar="‖",vert="|",Vert="‖",VerticalBar="∣",VerticalLine="|",VerticalSeparator="❘",VerticalTilde="≀",VeryThinSpace=" ",Vfr="𝔙",vfr="𝔳",vltri="⊲",vnsub="⊂⃒",vnsup="⊃⃒",Vopf="𝕍",vopf="𝕧",vprop="∝",vrtri="⊳",Vscr="𝒱",vscr="𝓋",vsubnE="⫋︀",vsubne="⊊︀",vsupnE="⫌︀",vsupne="⊋︀",Vvdash="⊪",vzigzag="⦚",Wcirc="Ŵ",wcirc="ŵ",wedbar="⩟",wedge="∧",Wedge="⋀",wedgeq="≙",weierp="℘",Wfr="𝔚",wfr="𝔴",Wopf="𝕎",wopf="𝕨",wp="℘",wr="≀",wreath="≀",Wscr="𝒲",wscr="𝓌",xcap="⋂",xcirc="◯",xcup="⋃",xdtri="▽",Xfr="𝔛",xfr="𝔵",xharr="⟷",xhArr="⟺",Xi="Ξ",xi="ξ",xlarr="⟵",xlArr="⟸",xmap="⟼",xnis="⋻",xodot="⨀",Xopf="𝕏",xopf="𝕩",xoplus="⨁",xotime="⨂",xrarr="⟶",xrArr="⟹",Xscr="𝒳",xscr="𝓍",xsqcup="⨆",xuplus="⨄",xutri="△",xvee="⋁",xwedge="⋀",Yacute="Ý",yacute="ý",YAcy="Я",yacy="я",Ycirc="Ŷ",ycirc="ŷ",Ycy="Ы",ycy="ы",yen="¥",Yfr="𝔜",yfr="𝔶",YIcy="Ї",yicy="ї",Yopf="𝕐",yopf="𝕪",Yscr="𝒴",yscr="𝓎",YUcy="Ю",yucy="ю",yuml="ÿ",Yuml="Ÿ",Zacute="Ź",zacute="ź",Zcaron="Ž",zcaron="ž",Zcy="З",zcy="з",Zdot="Ż",zdot="ż",zeetrf="ℨ",ZeroWidthSpace="​",Zeta="Ζ",zeta="ζ",zfr="𝔷",Zfr="ℨ",ZHcy="Ж",zhcy="ж",zigrarr="⇝",zopf="𝕫",Zopf="ℤ",Zscr="𝒵",zscr="𝓏",zwj="‍",zwnj="‌",require$$0={Aacute,aacute,Abreve,abreve,ac,acd,acE,Acirc,acirc,acute,Acy,acy,AElig,aelig,af,Afr,afr,Agrave,agrave,alefsym,aleph,Alpha,alpha,Amacr,amacr,amalg,amp,AMP,andand,And,and,andd,andslope,andv,ang,ange,angle,angmsdaa,angmsdab,angmsdac,angmsdad,angmsdae,angmsdaf,angmsdag,angmsdah,angmsd,angrt,angrtvb,angrtvbd,angsph,angst,angzarr,Aogon,aogon,Aopf,aopf,apacir,ap,apE,ape,apid,apos,ApplyFunction,approx,approxeq,Aring,aring,Ascr,ascr,Assign,ast,asymp,asympeq,Atilde,atilde,Auml,auml,awconint,awint,backcong,backepsilon,backprime,backsim,backsimeq,Backslash,Barv,barvee,barwed,Barwed,barwedge,bbrk,bbrktbrk,bcong,Bcy,bcy,bdquo,becaus,because,Because,bemptyv,bepsi,bernou,Bernoullis,Beta,beta,beth,between,Bfr,bfr,bigcap,bigcirc,bigcup,bigodot,bigoplus,bigotimes,bigsqcup,bigstar,bigtriangledown,bigtriangleup,biguplus,bigvee,bigwedge,bkarow,blacklozenge,blacksquare,blacktriangle,blacktriangledown,blacktriangleleft,blacktriangleright,blank,blk12,blk14,blk34,block:block$1,bne,bnequiv,bNot,bnot,Bopf,bopf,bot,bottom,bowtie,boxbox,boxdl,boxdL,boxDl,boxDL,boxdr,boxdR,boxDr,boxDR,boxh,boxH,boxhd,boxHd,boxhD,boxHD,boxhu,boxHu,boxhU,boxHU,boxminus,boxplus,boxtimes,boxul,boxuL,boxUl,boxUL,boxur,boxuR,boxUr,boxUR,boxv,boxV,boxvh,boxvH,boxVh,boxVH,boxvl,boxvL,boxVl,boxVL,boxvr,boxvR,boxVr,boxVR,bprime,breve,Breve,brvbar,bscr,Bscr,bsemi,bsim,bsime,bsolb,bsol,bsolhsub,bull,bullet,bump,bumpE,bumpe,Bumpeq,bumpeq,Cacute,cacute,capand,capbrcup,capcap,cap,Cap,capcup,capdot,CapitalDifferentialD,caps,caret,caron,Cayleys,ccaps,Ccaron,ccaron,Ccedil,ccedil,Ccirc,ccirc,Cconint,ccups,ccupssm,Cdot,cdot,cedil,Cedilla,cemptyv,cent,centerdot,CenterDot,cfr,Cfr,CHcy,chcy,check:check$1,checkmark,Chi,chi,circ,circeq,circlearrowleft,circlearrowright,circledast,circledcirc,circleddash,CircleDot,circledR,circledS,CircleMinus,CirclePlus,CircleTimes,cir,cirE,cire,cirfnint,cirmid,cirscir,ClockwiseContourIntegral,CloseCurlyDoubleQuote,CloseCurlyQuote,clubs,clubsuit,colon,Colon,Colone,colone,coloneq,comma,commat,comp,compfn,complement,complexes,cong,congdot,Congruent,conint,Conint,ContourIntegral,copf,Copf,coprod,Coproduct,copy,COPY,copysr,CounterClockwiseContourIntegral,crarr,cross,Cross,Cscr,cscr,csub,csube,csup,csupe,ctdot,cudarrl,cudarrr,cuepr,cuesc,cularr,cularrp,cupbrcap,cupcap,CupCap,cup,Cup,cupcup,cupdot,cupor,cups,curarr,curarrm,curlyeqprec,curlyeqsucc,curlyvee,curlywedge,curren,curvearrowleft,curvearrowright,cuvee,cuwed,cwconint,cwint,cylcty,dagger,Dagger,daleth,darr,Darr,dArr,dash,Dashv,dashv,dbkarow,dblac,Dcaron,dcaron,Dcy,dcy,ddagger,ddarr,DD,dd,DDotrahd,ddotseq,deg,Del,Delta,delta,demptyv,dfisht,Dfr,dfr,dHar,dharl,dharr,DiacriticalAcute,DiacriticalDot,DiacriticalDoubleAcute,DiacriticalGrave,DiacriticalTilde,diam,diamond,Diamond,diamondsuit,diams,die,DifferentialD,digamma,disin,div,divide,divideontimes,divonx,DJcy,djcy,dlcorn,dlcrop,dollar,Dopf,dopf,Dot,dot,DotDot,doteq,doteqdot,DotEqual,dotminus,dotplus,dotsquare,doublebarwedge,DoubleContourIntegral,DoubleDot,DoubleDownArrow,DoubleLeftArrow,DoubleLeftRightArrow,DoubleLeftTee,DoubleLongLeftArrow,DoubleLongLeftRightArrow,DoubleLongRightArrow,DoubleRightArrow,DoubleRightTee,DoubleUpArrow,DoubleUpDownArrow,DoubleVerticalBar,DownArrowBar,downarrow,DownArrow,Downarrow,DownArrowUpArrow,DownBreve,downdownarrows,downharpoonleft,downharpoonright,DownLeftRightVector,DownLeftTeeVector,DownLeftVectorBar,DownLeftVector,DownRightTeeVector,DownRightVectorBar,DownRightVector,DownTeeArrow,DownTee,drbkarow,drcorn,drcrop,Dscr,dscr,DScy,dscy,dsol,Dstrok,dstrok,dtdot,dtri,dtrif,duarr,duhar,dwangle,DZcy,dzcy,dzigrarr,Eacute,eacute,easter,Ecaron,ecaron,Ecirc,ecirc,ecir,ecolon,Ecy,ecy,eDDot,Edot,edot,eDot,ee:ee$1,efDot,Efr,efr,eg,Egrave,egrave,egs,egsdot,el,Element:Element$1,elinters,ell,els,elsdot,Emacr,emacr,empty:empty$1,emptyset,EmptySmallSquare,emptyv,EmptyVerySmallSquare,emsp13,emsp14,emsp,ENG,eng,ensp,Eogon,eogon,Eopf,eopf,epar,eparsl,eplus,epsi,Epsilon,epsilon:epsilon$1,epsiv,eqcirc,eqcolon,eqsim,eqslantgtr,eqslantless,Equal,equals,EqualTilde,equest,Equilibrium,equiv,equivDD,eqvparsl,erarr,erDot,escr,Escr,esdot,Esim,esim,Eta,eta,ETH,eth,Euml,euml,euro,excl,exist,Exists,expectation,exponentiale,ExponentialE,fallingdotseq,Fcy,fcy,female,ffilig,fflig,ffllig,Ffr,ffr,filig,FilledSmallSquare,FilledVerySmallSquare,fjlig,flat,fllig,fltns,fnof,Fopf,fopf,forall,ForAll,fork,forkv,Fouriertrf,fpartint,frac12,frac13,frac14,frac15,frac16,frac18,frac23,frac25,frac34,frac35,frac38,frac45,frac56,frac58,frac78,frasl,frown,fscr,Fscr,gacute,Gamma,gamma:gamma$1,Gammad,gammad,gap,Gbreve,gbreve,Gcedil,Gcirc,gcirc,Gcy,gcy,Gdot,gdot,ge:ge$1,gE,gEl,gel,geq,geqq,geqslant,gescc,ges,gesdot,gesdoto,gesdotol,gesl,gesles,Gfr,gfr,gg,Gg,ggg,gimel,GJcy,gjcy,gla,gl,glE,glj,gnap,gnapprox,gne,gnE,gneq,gneqq,gnsim,Gopf,gopf,grave,GreaterEqual,GreaterEqualLess,GreaterFullEqual,GreaterGreater,GreaterLess,GreaterSlantEqual,GreaterTilde,Gscr,gscr,gsim,gsime,gsiml,gtcc,gtcir,gt,GT:GT$1,Gt,gtdot,gtlPar,gtquest,gtrapprox,gtrarr,gtrdot,gtreqless,gtreqqless,gtrless,gtrsim,gvertneqq,gvnE,Hacek,hairsp,half,hamilt,HARDcy,hardcy,harrcir,harr,hArr,harrw,Hat,hbar,Hcirc,hcirc,hearts,heartsuit,hellip,hercon,hfr,Hfr,HilbertSpace,hksearow,hkswarow,hoarr,homtht,hookleftarrow,hookrightarrow,hopf,Hopf,horbar,HorizontalLine,hscr,Hscr,hslash,Hstrok,hstrok,HumpDownHump,HumpEqual,hybull,hyphen,Iacute,iacute,ic,Icirc,icirc,Icy,icy,Idot,IEcy,iecy,iexcl,iff,ifr,Ifr,Igrave,igrave,ii,iiiint,iiint,iinfin,iiota,IJlig,ijlig,Imacr,imacr,image:image$1,ImaginaryI,imagline,imagpart,imath,Im,imof,imped,Implies,incare,in:"∈",infin,infintie,inodot,intcal,int,Int,integers,Integral,intercal,Intersection,intlarhk,intprod,InvisibleComma,InvisibleTimes,IOcy,iocy,Iogon,iogon,Iopf,iopf,Iota,iota,iprod,iquest,iscr,Iscr,isin,isindot,isinE,isins,isinsv,isinv,it,Itilde,itilde,Iukcy,iukcy,Iuml,iuml,Jcirc,jcirc,Jcy,jcy,Jfr,jfr,jmath,Jopf,jopf,Jscr,jscr,Jsercy,jsercy,Jukcy,jukcy,Kappa,kappa,kappav,Kcedil,kcedil,Kcy,kcy,Kfr,kfr,kgreen,KHcy,khcy,KJcy,kjcy,Kopf,kopf,Kscr,kscr,lAarr,Lacute,lacute,laemptyv,lagran,Lambda,lambda,lang,Lang,langd,langle,lap,Laplacetrf,laquo,larrb,larrbfs,larr,Larr,lArr,larrfs,larrhk,larrlp,larrpl,larrsim,larrtl,latail,lAtail,lat,late,lates,lbarr,lBarr,lbbrk,lbrace,lbrack,lbrke,lbrksld,lbrkslu,Lcaron,lcaron,Lcedil,lcedil,lceil,lcub,Lcy,lcy,ldca,ldquo,ldquor,ldrdhar,ldrushar,ldsh,le,lE,LeftAngleBracket,LeftArrowBar,leftarrow,LeftArrow,Leftarrow,LeftArrowRightArrow,leftarrowtail,LeftCeiling,LeftDoubleBracket,LeftDownTeeVector,LeftDownVectorBar,LeftDownVector,LeftFloor,leftharpoondown,leftharpoonup,leftleftarrows,leftrightarrow,LeftRightArrow,Leftrightarrow,leftrightarrows,leftrightharpoons,leftrightsquigarrow,LeftRightVector,LeftTeeArrow,LeftTee,LeftTeeVector,leftthreetimes,LeftTriangleBar,LeftTriangle,LeftTriangleEqual,LeftUpDownVector,LeftUpTeeVector,LeftUpVectorBar,LeftUpVector,LeftVectorBar,LeftVector,lEg,leg,leq,leqq,leqslant,lescc,les,lesdot,lesdoto,lesdotor,lesg,lesges,lessapprox,lessdot,lesseqgtr,lesseqqgtr,LessEqualGreater,LessFullEqual,LessGreater,lessgtr,LessLess,lesssim,LessSlantEqual,LessTilde,lfisht,lfloor,Lfr,lfr,lg,lgE,lHar,lhard,lharu,lharul,lhblk,LJcy,ljcy,llarr,ll,Ll,llcorner,Lleftarrow,llhard,lltri,Lmidot,lmidot,lmoustache,lmoust,lnap,lnapprox,lne,lnE,lneq,lneqq,lnsim,loang,loarr,lobrk,longleftarrow,LongLeftArrow,Longleftarrow,longleftrightarrow,LongLeftRightArrow,Longleftrightarrow,longmapsto,longrightarrow,LongRightArrow,Longrightarrow,looparrowleft,looparrowright,lopar,Lopf,lopf,loplus,lotimes,lowast,lowbar,LowerLeftArrow,LowerRightArrow,loz,lozenge,lozf,lpar,lparlt,lrarr,lrcorner,lrhar,lrhard,lrm,lrtri,lsaquo,lscr,Lscr,lsh,Lsh,lsim,lsime,lsimg,lsqb,lsquo,lsquor,Lstrok,lstrok,ltcc,ltcir,lt,LT:LT$1,Lt,ltdot,lthree,ltimes,ltlarr,ltquest,ltri,ltrie,ltrif,ltrPar,lurdshar,luruhar,lvertneqq,lvnE,macr,male,malt,maltese,Map:"⤅",map:map$1,mapsto,mapstodown,mapstoleft,mapstoup,marker,mcomma,Mcy,mcy,mdash,mDDot,measuredangle,MediumSpace,Mellintrf,Mfr,mfr,mho,micro,midast,midcir,mid,middot,minusb,minus,minusd,minusdu,MinusPlus,mlcp,mldr,mnplus,models,Mopf,mopf,mp,mscr,Mscr,mstpos,Mu,mu,multimap,mumap,nabla,Nacute,nacute,nang,nap:nap$1,napE,napid,napos,napprox,natural,naturals,natur,nbsp,nbump,nbumpe,ncap,Ncaron,ncaron,Ncedil,ncedil,ncong,ncongdot,ncup,Ncy,ncy,ndash,nearhk,nearr,neArr,nearrow,ne,nedot,NegativeMediumSpace,NegativeThickSpace,NegativeThinSpace,NegativeVeryThinSpace,nequiv,nesear,nesim,NestedGreaterGreater,NestedLessLess,NewLine,nexist,nexists,Nfr,nfr,ngE,nge,ngeq,ngeqq,ngeqslant,nges,nGg,ngsim,nGt,ngt,ngtr,nGtv,nharr,nhArr,nhpar,ni,nis,nisd,niv,NJcy,njcy,nlarr,nlArr,nldr,nlE,nle,nleftarrow,nLeftarrow,nleftrightarrow,nLeftrightarrow,nleq,nleqq,nleqslant,nles,nless,nLl,nlsim,nLt,nlt,nltri,nltrie,nLtv,nmid,NoBreak,NonBreakingSpace,nopf,Nopf,Not,not,NotCongruent,NotCupCap,NotDoubleVerticalBar,NotElement,NotEqual,NotEqualTilde,NotExists,NotGreater,NotGreaterEqual,NotGreaterFullEqual,NotGreaterGreater,NotGreaterLess,NotGreaterSlantEqual,NotGreaterTilde,NotHumpDownHump,NotHumpEqual,notin,notindot,notinE,notinva,notinvb,notinvc,NotLeftTriangleBar,NotLeftTriangle,NotLeftTriangleEqual,NotLess,NotLessEqual,NotLessGreater,NotLessLess,NotLessSlantEqual,NotLessTilde,NotNestedGreaterGreater,NotNestedLessLess,notni,notniva,notnivb,notnivc,NotPrecedes,NotPrecedesEqual,NotPrecedesSlantEqual,NotReverseElement,NotRightTriangleBar,NotRightTriangle,NotRightTriangleEqual,NotSquareSubset,NotSquareSubsetEqual,NotSquareSuperset,NotSquareSupersetEqual,NotSubset,NotSubsetEqual,NotSucceeds,NotSucceedsEqual,NotSucceedsSlantEqual,NotSucceedsTilde,NotSuperset,NotSupersetEqual,NotTilde,NotTildeEqual,NotTildeFullEqual,NotTildeTilde,NotVerticalBar,nparallel,npar,nparsl,npart,npolint,npr,nprcue,nprec,npreceq,npre,nrarrc,nrarr,nrArr,nrarrw,nrightarrow,nRightarrow,nrtri,nrtrie,nsc,nsccue,nsce,Nscr,nscr,nshortmid,nshortparallel,nsim,nsime,nsimeq,nsmid,nspar,nsqsube,nsqsupe,nsub,nsubE,nsube,nsubset,nsubseteq,nsubseteqq,nsucc,nsucceq,nsup,nsupE,nsupe,nsupset,nsupseteq,nsupseteqq,ntgl,Ntilde,ntilde,ntlg,ntriangleleft,ntrianglelefteq,ntriangleright,ntrianglerighteq,Nu,nu,num,numero,numsp,nvap,nvdash,nvDash,nVdash,nVDash,nvge,nvgt,nvHarr,nvinfin,nvlArr,nvle,nvlt,nvltrie,nvrArr,nvrtrie,nvsim,nwarhk,nwarr,nwArr,nwarrow,nwnear,Oacute,oacute,oast,Ocirc,ocirc,ocir,Ocy,ocy,odash,Odblac,odblac,odiv,odot,odsold,OElig,oelig,ofcir,Ofr,ofr,ogon,Ograve,ograve,ogt,ohbar,ohm,oint,olarr,olcir,olcross,oline,olt,Omacr,omacr,Omega,omega,Omicron,omicron,omid,ominus,Oopf,oopf,opar,OpenCurlyDoubleQuote,OpenCurlyQuote,operp,oplus,orarr,Or,or,ord,order,orderof,ordf,ordm,origof,oror,orslope,orv,oS,Oscr,oscr,Oslash,oslash,osol,Otilde,otilde,otimesas,Otimes,otimes,Ouml,ouml,ovbar,OverBar,OverBrace,OverBracket,OverParenthesis,para,parallel,par,parsim,parsl,part,PartialD,Pcy,pcy,percnt,period,permil,perp,pertenk,Pfr,pfr,Phi,phi,phiv,phmmat,phone,Pi,pi:pi$1,pitchfork,piv,planck,planckh,plankv,plusacir,plusb,pluscir,plus,plusdo,plusdu,pluse,PlusMinus,plusmn,plussim,plustwo,pm,Poincareplane,pointint,popf,Popf,pound,prap,Pr,pr,prcue,precapprox,prec,preccurlyeq,Precedes,PrecedesEqual,PrecedesSlantEqual,PrecedesTilde,preceq,precnapprox,precneqq,precnsim,pre,prE,precsim,prime,Prime,primes,prnap,prnE,prnsim,prod,Product,profalar,profline,profsurf,prop,Proportional,Proportion,propto,prsim,prurel,Pscr,pscr,Psi,psi,puncsp,Qfr,qfr,qint,qopf,Qopf,qprime,Qscr,qscr,quaternions,quatint,quest,questeq,quot,QUOT,rAarr,race,Racute,racute,radic,raemptyv,rang,Rang,rangd,range,rangle,raquo,rarrap,rarrb,rarrbfs,rarrc,rarr,Rarr,rArr,rarrfs,rarrhk,rarrlp,rarrpl,rarrsim,Rarrtl,rarrtl,rarrw,ratail,rAtail,ratio,rationals,rbarr,rBarr,RBarr,rbbrk,rbrace,rbrack,rbrke,rbrksld,rbrkslu,Rcaron,rcaron,Rcedil,rcedil,rceil,rcub,Rcy,rcy,rdca,rdldhar,rdquo,rdquor,rdsh,real,realine,realpart,reals,Re,rect,reg,REG,ReverseElement,ReverseEquilibrium,ReverseUpEquilibrium,rfisht,rfloor,rfr,Rfr,rHar,rhard,rharu,rharul,Rho,rho,rhov,RightAngleBracket,RightArrowBar,rightarrow,RightArrow,Rightarrow,RightArrowLeftArrow,rightarrowtail,RightCeiling,RightDoubleBracket,RightDownTeeVector,RightDownVectorBar,RightDownVector,RightFloor,rightharpoondown,rightharpoonup,rightleftarrows,rightleftharpoons,rightrightarrows,rightsquigarrow,RightTeeArrow,RightTee,RightTeeVector,rightthreetimes,RightTriangleBar,RightTriangle,RightTriangleEqual,RightUpDownVector,RightUpTeeVector,RightUpVectorBar,RightUpVector,RightVectorBar,RightVector,ring,risingdotseq,rlarr,rlhar,rlm,rmoustache,rmoust,rnmid,roang,roarr,robrk,ropar,ropf,Ropf,roplus,rotimes,RoundImplies,rpar,rpargt,rppolint,rrarr,Rrightarrow,rsaquo,rscr,Rscr,rsh,Rsh,rsqb,rsquo,rsquor,rthree,rtimes,rtri,rtrie,rtrif,rtriltri,RuleDelayed,ruluhar,rx,Sacute,sacute,sbquo,scap,Scaron,scaron,Sc,sc,sccue,sce,scE,Scedil,scedil,Scirc,scirc,scnap,scnE,scnsim,scpolint,scsim,Scy,scy,sdotb,sdot,sdote,searhk,searr,seArr,searrow,sect,semi,seswar,setminus,setmn,sext,Sfr,sfr,sfrown,sharp,SHCHcy,shchcy,SHcy,shcy,ShortDownArrow,ShortLeftArrow,shortmid,shortparallel,ShortRightArrow,ShortUpArrow,shy,Sigma,sigma,sigmaf,sigmav,sim,simdot,sime,simeq,simg,simgE,siml,simlE,simne,simplus,simrarr,slarr,SmallCircle,smallsetminus,smashp,smeparsl,smid,smile,smt,smte,smtes,SOFTcy,softcy,solbar,solb,sol,Sopf,sopf,spades,spadesuit,spar,sqcap,sqcaps,sqcup,sqcups,Sqrt,sqsub,sqsube,sqsubset,sqsubseteq,sqsup,sqsupe,sqsupset,sqsupseteq,square,Square,SquareIntersection,SquareSubset,SquareSubsetEqual,SquareSuperset,SquareSupersetEqual,SquareUnion,squarf,squ,squf,srarr,Sscr,sscr,ssetmn,ssmile,sstarf,Star,star,starf,straightepsilon,straightphi,strns,sub,Sub,subdot,subE,sube,subedot,submult,subnE,subne,subplus,subrarr,subset,Subset,subseteq,subseteqq,SubsetEqual,subsetneq,subsetneqq,subsim,subsub,subsup,succapprox,succ,succcurlyeq,Succeeds,SucceedsEqual,SucceedsSlantEqual,SucceedsTilde,succeq,succnapprox,succneqq,succnsim,succsim,SuchThat,sum,Sum,sung,sup1,sup2,sup3,sup,Sup,supdot,supdsub,supE,supe,supedot,Superset,SupersetEqual,suphsol,suphsub,suplarr,supmult,supnE,supne,supplus,supset,Supset,supseteq,supseteqq,supsetneq,supsetneqq,supsim,supsub,supsup,swarhk,swarr,swArr,swarrow,swnwar,szlig,Tab,target,Tau,tau:tau$1,tbrk,Tcaron,tcaron,Tcedil,tcedil,Tcy,tcy,tdot,telrec,Tfr,tfr,there4,therefore,Therefore,Theta,theta,thetasym,thetav,thickapprox,thicksim,ThickSpace,ThinSpace,thinsp,thkap,thksim,THORN,thorn,tilde,Tilde,TildeEqual,TildeFullEqual,TildeTilde,timesbar,timesb,times,timesd,tint,toea,topbot,topcir,top,Topf,topf,topfork,tosa,tprime,trade,TRADE,triangle,triangledown,triangleleft,trianglelefteq,triangleq,triangleright,trianglerighteq,tridot,trie,triminus,TripleDot,triplus,trisb,tritime,trpezium,Tscr,tscr,TScy,tscy,TSHcy,tshcy,Tstrok,tstrok,twixt,twoheadleftarrow,twoheadrightarrow,Uacute,uacute,uarr,Uarr,uArr,Uarrocir,Ubrcy,ubrcy,Ubreve,ubreve,Ucirc,ucirc,Ucy,ucy,udarr,Udblac,udblac,udhar,ufisht,Ufr,ufr,Ugrave,ugrave,uHar,uharl,uharr,uhblk,ulcorn,ulcorner,ulcrop,ultri,Umacr,umacr,uml,UnderBar,UnderBrace,UnderBracket,UnderParenthesis,Union,UnionPlus,Uogon,uogon,Uopf,uopf,UpArrowBar,uparrow,UpArrow,Uparrow,UpArrowDownArrow,updownarrow,UpDownArrow,Updownarrow,UpEquilibrium,upharpoonleft,upharpoonright,uplus,UpperLeftArrow,UpperRightArrow,upsi,Upsi,upsih,Upsilon,upsilon,UpTeeArrow,UpTee,upuparrows,urcorn,urcorner,urcrop,Uring,uring,urtri,Uscr,uscr,utdot,Utilde,utilde,utri,utrif,uuarr,Uuml,uuml,uwangle,vangrt,varepsilon,varkappa,varnothing,varphi,varpi,varpropto,varr,vArr,varrho,varsigma,varsubsetneq,varsubsetneqq,varsupsetneq,varsupsetneqq,vartheta,vartriangleleft,vartriangleright,vBar,Vbar,vBarv,Vcy,vcy,vdash,vDash,Vdash,VDash,Vdashl,veebar,vee,Vee,veeeq,vellip,verbar,Verbar,vert,Vert,VerticalBar,VerticalLine,VerticalSeparator,VerticalTilde,VeryThinSpace,Vfr,vfr,vltri,vnsub,vnsup,Vopf,vopf,vprop,vrtri,Vscr,vscr,vsubnE,vsubne,vsupnE,vsupne,Vvdash,vzigzag,Wcirc,wcirc,wedbar,wedge,Wedge,wedgeq,weierp,Wfr,wfr,Wopf,wopf,wp,wr,wreath,Wscr,wscr,xcap,xcirc,xcup,xdtri,Xfr,xfr,xharr,xhArr,Xi,xi,xlarr,xlArr,xmap,xnis,xodot,Xopf,xopf,xoplus,xotime,xrarr,xrArr,Xscr,xscr,xsqcup,xuplus,xutri,xvee,xwedge,Yacute,yacute,YAcy,yacy,Ycirc,ycirc,Ycy,ycy,yen,Yfr,yfr,YIcy,yicy,Yopf,yopf,Yscr,yscr,YUcy,yucy,yuml,Yuml,Zacute,zacute,Zcaron,zcaron,Zcy,zcy,Zdot,zdot,zeetrf,ZeroWidthSpace,Zeta,zeta,zfr,Zfr,ZHcy,zhcy,zigrarr,zopf,Zopf,Zscr,zscr,zwj,zwnj};var entities$1=require$$0,regex$4=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,mdurl$1={},encodeCache={};function getEncodeCache(k){var m,M,G=encodeCache[k];if(G)return G;for(G=encodeCache[k]=[],m=0;m<128;m++)M=String.fromCharCode(m),/^[0-9a-z]$/i.test(M)?G.push(M):G.push("%"+("0"+m.toString(16).toUpperCase()).slice(-2));for(m=0;m"u"&&(M=!0),D=getEncodeCache(m),G=0,V=k.length;G=55296&&q<=57343){if(q>=55296&&q<=56319&&G+1=56320&&$<=57343)){B+=encodeURIComponent(k[G]+k[G+1]),G++;continue}B+="%EF%BF%BD";continue}B+=encodeURIComponent(k[G])}return B}encode$1.defaultChars=";/?:@&=+$,-_.!~*'()#";encode$1.componentChars="-_.!~*'()";var encode_1=encode$1,decodeCache={};function getDecodeCache(k){var m,M,G=decodeCache[k];if(G)return G;for(G=decodeCache[k]=[],m=0;m<128;m++)M=String.fromCharCode(m),G.push(M);for(m=0;m=55296&&U<=57343?K+="���":K+=String.fromCharCode(U),V+=6;continue}if(($&248)===240&&V+91114111?K+="����":(U-=65536,K+=String.fromCharCode(55296+(U>>10),56320+(U&1023))),V+=9;continue}K+="�"}return K})}decode$1.defaultChars=";/?:@&=+$,#";decode$1.componentChars="";var decode_1=decode$1,format=function(m){var M="";return M+=m.protocol||"",M+=m.slashes?"//":"",M+=m.auth?m.auth+"@":"",m.hostname&&m.hostname.indexOf(":")!==-1?M+="["+m.hostname+"]":M+=m.hostname||"",M+=m.port?":"+m.port:"",M+=m.pathname||"",M+=m.search||"",M+=m.hash||"",M};function Url(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var protocolPattern=/^([a-z0-9.+-]+:)/i,portPattern=/:[0-9]*$/,simplePathPattern=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,delims=["<",">",'"',"`"," ","\r",` -`," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function urlParse(k,m){if(k&&k instanceof Url)return k;var M=new Url;return M.parse(k,m),M}Url.prototype.parse=function(k,m){var M,G,V,q,$,D=k;if(D=D.trim(),!m&&k.split("#").length===1){var B=simplePathPattern.exec(D);if(B)return this.pathname=B[1],B[2]&&(this.search=B[2]),this}var R=protocolPattern.exec(D);if(R&&(R=R[0],V=R.toLowerCase(),this.protocol=R,D=D.substr(R.length)),(m||R||D.match(/^\/\/[^@\/]+@[^@\/]+/))&&($=D.substr(0,2)==="//",$&&!(R&&hostlessProtocol[R])&&(D=D.substr(2),this.slashes=!0)),!hostlessProtocol[R]&&($||R&&!slashedProtocol[R])){var U=-1;for(M=0;M127?J+="x":J+=he[X];if(!J.match(hostnamePartPattern)){var L=ie.slice(0,M),Q=ie.slice(M+1),ce=he.match(hostnamePartStart);ce&&(L.push(ce[1]),Q.unshift(ce[2])),Q.length&&(D=Q.join(".")+D),this.hostname=L.join(".");break}}}}this.hostname.length>hostnameMaxLen&&(this.hostname=""),ae&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var de=D.indexOf("#");de!==-1&&(this.hash=D.substr(de),D=D.slice(0,de));var oe=D.indexOf("?");return oe!==-1&&(this.search=D.substr(oe),D=D.slice(0,oe)),D&&(this.pathname=D),slashedProtocol[V]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Url.prototype.parseHost=function(k){var m=portPattern.exec(k);m&&(m=m[0],m!==":"&&(this.port=m.substr(1)),k=k.substr(0,k.length-m.length)),k&&(this.hostname=k)};var parse=urlParse;mdurl$1.encode=encode_1;mdurl$1.decode=decode_1;mdurl$1.format=format;mdurl$1.parse=parse;var uc_micro={},regex$3,hasRequiredRegex$3;function requireRegex$3(){return hasRequiredRegex$3||(hasRequiredRegex$3=1,regex$3=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),regex$3}var regex$2,hasRequiredRegex$2;function requireRegex$2(){return hasRequiredRegex$2||(hasRequiredRegex$2=1,regex$2=/[\0-\x1F\x7F-\x9F]/),regex$2}var regex$1,hasRequiredRegex$1;function requireRegex$1(){return hasRequiredRegex$1||(hasRequiredRegex$1=1,regex$1=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),regex$1}var regex,hasRequiredRegex;function requireRegex(){return hasRequiredRegex||(hasRequiredRegex=1,regex=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),regex}var hasRequiredUc_micro;function requireUc_micro(){return hasRequiredUc_micro||(hasRequiredUc_micro=1,uc_micro.Any=requireRegex$3(),uc_micro.Cc=requireRegex$2(),uc_micro.Cf=requireRegex$1(),uc_micro.P=regex$4,uc_micro.Z=requireRegex()),uc_micro}(function(k){function m(fe){return Object.prototype.toString.call(fe)}function M(fe){return m(fe)==="[object String]"}var G=Object.prototype.hasOwnProperty;function V(fe,ve){return G.call(fe,ve)}function q(fe){var ve=Array.prototype.slice.call(arguments,1);return ve.forEach(function(ye){if(ye){if(typeof ye!="object")throw new TypeError(ye+"must be object");Object.keys(ye).forEach(function(Ce){fe[Ce]=ye[Ce]})}}),fe}function $(fe,ve,ye){return[].concat(fe.slice(0,ve),ye,fe.slice(ve+1))}function D(fe){return!(fe>=55296&&fe<=57343||fe>=64976&&fe<=65007||(fe&65535)===65535||(fe&65535)===65534||fe>=0&&fe<=8||fe===11||fe>=14&&fe<=31||fe>=127&&fe<=159||fe>1114111)}function B(fe){if(fe>65535){fe-=65536;var ve=55296+(fe>>10),ye=56320+(fe&1023);return String.fromCharCode(ve,ye)}return String.fromCharCode(fe)}var R=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,U=/&([a-z#][a-z0-9]{1,31});/gi,K=new RegExp(R.source+"|"+U.source,"gi"),z=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,e=entities$1;function ae(fe,ve){var ye;return V(e,ve)?e[ve]:ve.charCodeAt(0)===35&&z.test(ve)&&(ye=ve[1].toLowerCase()==="x"?parseInt(ve.slice(2),16):parseInt(ve.slice(1),10),D(ye))?B(ye):fe}function ie(fe){return fe.indexOf("\\")<0?fe:fe.replace(R,"$1")}function he(fe){return fe.indexOf("\\")<0&&fe.indexOf("&")<0?fe:fe.replace(K,function(ve,ye,Ce){return ye||ae(ve,Ce)})}var J=/[&<>"]/,X=/[&<>"]/g,W={"&":"&","<":"<",">":">",'"':"""};function L(fe){return W[fe]}function Q(fe){return J.test(fe)?fe.replace(X,L):fe}var ce=/[.?*+^$[\]\\(){}|-]/g;function de(fe){return fe.replace(ce,"\\$&")}function oe(fe){switch(fe){case 9:case 32:return!0}return!1}function se(fe){if(fe>=8192&&fe<=8202)return!0;switch(fe){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var me=regex$4;function Ee(fe){return me.test(fe)}function ke(fe){switch(fe){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function xe(fe){return fe=fe.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(fe=fe.replace(/ẞ/g,"ß")),fe.toLowerCase().toUpperCase()}k.lib={},k.lib.mdurl=mdurl$1,k.lib.ucmicro=requireUc_micro(),k.assign=q,k.isString=M,k.has=V,k.unescapeMd=ie,k.unescapeAll=he,k.isValidEntityCode=D,k.fromCodePoint=B,k.escapeHtml=Q,k.arrayReplaceAt=$,k.isSpace=oe,k.isWhiteSpace=se,k.isMdAsciiPunct=ke,k.isPunctChar=Ee,k.escapeRE=de,k.normalizeReference=xe})(utils$1);var helpers$1={},parse_link_label=function(m,M,G){var V,q,$,D,B=-1,R=m.posMax,U=m.pos;for(m.pos=M+1,V=1;m.pos32))return D;if(V===41){if(q===0)break;q--}$++}return M===$||q!==0||(D.str=unescapeAll$2(m.slice(M,$)),D.pos=$,D.ok=!0),D},unescapeAll$1=utils$1.unescapeAll,parse_link_title=function(m,M,G){var V,q,$=0,D=M,B={ok:!1,pos:0,lines:0,str:""};if(D>=G||(q=m.charCodeAt(D),q!==34&&q!==39&&q!==40))return B;for(D++,q===40&&(q=41);D"+escapeHtml(q.content)+""};default_rules.code_block=function(k,m,M,G,V){var q=k[m];return""+escapeHtml(k[m].content)+` +`," "],unwise=["{","}","|","\\","^","`"].concat(delims),autoEscape=["'"].concat(unwise),nonHostChars=["%","/","?",";","#"].concat(autoEscape),hostEndingChars=["/","?","#"],hostnameMaxLen=255,hostnamePartPattern=/^[+a-z0-9A-Z_-]{0,63}$/,hostnamePartStart=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,hostlessProtocol={javascript:!0,"javascript:":!0},slashedProtocol={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function urlParse(k,m){if(k&&k instanceof Url)return k;var M=new Url;return M.parse(k,m),M}Url.prototype.parse=function(k,m){var M,G,V,q,$,D=k;if(D=D.trim(),!m&&k.split("#").length===1){var B=simplePathPattern.exec(D);if(B)return this.pathname=B[1],B[2]&&(this.search=B[2]),this}var R=protocolPattern.exec(D);if(R&&(R=R[0],V=R.toLowerCase(),this.protocol=R,D=D.substr(R.length)),(m||R||D.match(/^\/\/[^@\/]+@[^@\/]+/))&&($=D.substr(0,2)==="//",$&&!(R&&hostlessProtocol[R])&&(D=D.substr(2),this.slashes=!0)),!hostlessProtocol[R]&&($||R&&!slashedProtocol[R])){var U=-1;for(M=0;M127?J+="x":J+=he[W];if(!J.match(hostnamePartPattern)){var L=ie.slice(0,M),Q=ie.slice(M+1),ce=he.match(hostnamePartStart);ce&&(L.push(ce[1]),Q.unshift(ce[2])),Q.length&&(D=Q.join(".")+D),this.hostname=L.join(".");break}}}}this.hostname.length>hostnameMaxLen&&(this.hostname=""),ae&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var de=D.indexOf("#");de!==-1&&(this.hash=D.substr(de),D=D.slice(0,de));var se=D.indexOf("?");return se!==-1&&(this.search=D.substr(se),D=D.slice(0,se)),D&&(this.pathname=D),slashedProtocol[V]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Url.prototype.parseHost=function(k){var m=portPattern.exec(k);m&&(m=m[0],m!==":"&&(this.port=m.substr(1)),k=k.substr(0,k.length-m.length)),k&&(this.hostname=k)};var parse=urlParse;mdurl$1.encode=encode_1;mdurl$1.decode=decode_1;mdurl$1.format=format;mdurl$1.parse=parse;var uc_micro={},regex$3,hasRequiredRegex$3;function requireRegex$3(){return hasRequiredRegex$3||(hasRequiredRegex$3=1,regex$3=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/),regex$3}var regex$2,hasRequiredRegex$2;function requireRegex$2(){return hasRequiredRegex$2||(hasRequiredRegex$2=1,regex$2=/[\0-\x1F\x7F-\x9F]/),regex$2}var regex$1,hasRequiredRegex$1;function requireRegex$1(){return hasRequiredRegex$1||(hasRequiredRegex$1=1,regex$1=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/),regex$1}var regex,hasRequiredRegex;function requireRegex(){return hasRequiredRegex||(hasRequiredRegex=1,regex=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/),regex}var hasRequiredUc_micro;function requireUc_micro(){return hasRequiredUc_micro||(hasRequiredUc_micro=1,uc_micro.Any=requireRegex$3(),uc_micro.Cc=requireRegex$2(),uc_micro.Cf=requireRegex$1(),uc_micro.P=regex$4,uc_micro.Z=requireRegex()),uc_micro}(function(k){function m(fe){return Object.prototype.toString.call(fe)}function M(fe){return m(fe)==="[object String]"}var G=Object.prototype.hasOwnProperty;function V(fe,ve){return G.call(fe,ve)}function q(fe){var ve=Array.prototype.slice.call(arguments,1);return ve.forEach(function(ye){if(ye){if(typeof ye!="object")throw new TypeError(ye+"must be object");Object.keys(ye).forEach(function(Ce){fe[Ce]=ye[Ce]})}}),fe}function $(fe,ve,ye){return[].concat(fe.slice(0,ve),ye,fe.slice(ve+1))}function D(fe){return!(fe>=55296&&fe<=57343||fe>=64976&&fe<=65007||(fe&65535)===65535||(fe&65535)===65534||fe>=0&&fe<=8||fe===11||fe>=14&&fe<=31||fe>=127&&fe<=159||fe>1114111)}function B(fe){if(fe>65535){fe-=65536;var ve=55296+(fe>>10),ye=56320+(fe&1023);return String.fromCharCode(ve,ye)}return String.fromCharCode(fe)}var R=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,U=/&([a-z#][a-z0-9]{1,31});/gi,K=new RegExp(R.source+"|"+U.source,"gi"),z=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i,e=entities$1;function ae(fe,ve){var ye;return V(e,ve)?e[ve]:ve.charCodeAt(0)===35&&z.test(ve)&&(ye=ve[1].toLowerCase()==="x"?parseInt(ve.slice(2),16):parseInt(ve.slice(1),10),D(ye))?B(ye):fe}function ie(fe){return fe.indexOf("\\")<0?fe:fe.replace(R,"$1")}function he(fe){return fe.indexOf("\\")<0&&fe.indexOf("&")<0?fe:fe.replace(K,function(ve,ye,Ce){return ye||ae(ve,Ce)})}var J=/[&<>"]/,W=/[&<>"]/g,X={"&":"&","<":"<",">":">",'"':"""};function L(fe){return X[fe]}function Q(fe){return J.test(fe)?fe.replace(W,L):fe}var ce=/[.?*+^$[\]\\(){}|-]/g;function de(fe){return fe.replace(ce,"\\$&")}function se(fe){switch(fe){case 9:case 32:return!0}return!1}function oe(fe){if(fe>=8192&&fe<=8202)return!0;switch(fe){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}var me=regex$4;function Ee(fe){return me.test(fe)}function ke(fe){switch(fe){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function xe(fe){return fe=fe.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(fe=fe.replace(/ẞ/g,"ß")),fe.toLowerCase().toUpperCase()}k.lib={},k.lib.mdurl=mdurl$1,k.lib.ucmicro=requireUc_micro(),k.assign=q,k.isString=M,k.has=V,k.unescapeMd=ie,k.unescapeAll=he,k.isValidEntityCode=D,k.fromCodePoint=B,k.escapeHtml=Q,k.arrayReplaceAt=$,k.isSpace=se,k.isWhiteSpace=oe,k.isMdAsciiPunct=ke,k.isPunctChar=Ee,k.escapeRE=de,k.normalizeReference=xe})(utils$1);var helpers$1={},parse_link_label=function(m,M,G){var V,q,$,D,B=-1,R=m.posMax,U=m.pos;for(m.pos=M+1,V=1;m.pos32))return D;if(V===41){if(q===0)break;q--}$++}return M===$||q!==0||(D.str=unescapeAll$2(m.slice(M,$)),D.pos=$,D.ok=!0),D},unescapeAll$1=utils$1.unescapeAll,parse_link_title=function(m,M,G){var V,q,$=0,D=M,B={ok:!1,pos:0,lines:0,str:""};if(D>=G||(q=m.charCodeAt(D),q!==34&&q!==39&&q!==40))return B;for(D++,q===40&&(q=41);D"+escapeHtml(q.content)+""};default_rules.code_block=function(k,m,M,G,V){var q=k[m];return""+escapeHtml(k[m].content)+` `};default_rules.fence=function(k,m,M,G,V){var q=k[m],$=q.info?unescapeAll(q.info).trim():"",D="",B="",R,U,K,z,e;return $&&(K=$.split(/(\s+)/g),D=K[0],B=K.slice(2).join("")),M.highlight?R=M.highlight(q.content,D,B)||escapeHtml(q.content):R=escapeHtml(q.content),R.indexOf(""+R+` `):"
"+R+`
@@ -283,8 +283,8 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Te=Ce,Ge=pe),_e===void `),q+=(D.nesting===-1?" `:">",q)};Renderer$1.prototype.renderInline=function(k,m,M){for(var G,V="",q=this.rules,$=0,D=k.length;$\s]/i.test(k)}function isLinkClose$1(k){return/^<\/a\s*>/i.test(k)}var linkify$1=function(m){var M,G,V,q,$,D,B,R,U,K,z,e,ae,ie,he,J,X=m.tokens,W;if(m.md.options.linkify){for(G=0,V=X.length;G=0;M--){if(D=q[M],D.type==="link_close"){for(M--;q[M].level!==D.level&&q[M].type!=="link_open";)M--;continue}if(D.type==="html_inline"&&(isLinkOpen$1(D.content)&&ae>0&&ae--,isLinkClose$1(D.content)&&ae++),!(ae>0)&&D.type==="text"&&m.md.linkify.test(D.content)){for(U=D.content,W=m.md.linkify.match(U),B=[],e=D.level,z=0,W.length>0&&W[0].index===0&&M>0&&q[M-1].type==="text_special"&&(W=W.slice(1)),R=0;Rz&&($=new m.Token("text","",0),$.content=U.slice(z,K),$.level=e,B.push($)),$=new m.Token("link_open","a",1),$.attrs=[["href",he]],$.level=e++,$.markup="linkify",$.info="auto",B.push($),$=new m.Token("text","",0),$.content=J,$.level=e,B.push($),$=new m.Token("link_close","a",-1),$.level=--e,$.markup="linkify",$.info="auto",B.push($),z=W[R].lastIndex);z=0;m--)M=k[m],M.type==="text"&&!G&&(M.content=M.content.replace(SCOPED_ABBR_RE,replaceFn)),M.type==="link_open"&&M.info==="auto"&&G--,M.type==="link_close"&&M.info==="auto"&&G++}function replace_rare(k){var m,M,G=0;for(m=k.length-1;m>=0;m--)M=k[m],M.type==="text"&&!G&&RARE_RE.test(M.content)&&(M.content=M.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),M.type==="link_open"&&M.info==="auto"&&G--,M.type==="link_close"&&M.info==="auto"&&G++}var replacements=function(m){var M;if(m.md.options.typographer)for(M=m.tokens.length-1;M>=0;M--)m.tokens[M].type==="inline"&&(SCOPED_ABBR_TEST_RE.test(m.tokens[M].content)&&replace_scoped(m.tokens[M].children),RARE_RE.test(m.tokens[M].content)&&replace_rare(m.tokens[M].children))},isWhiteSpace$1=utils$1.isWhiteSpace,isPunctChar$1=utils$1.isPunctChar,isMdAsciiPunct$1=utils$1.isMdAsciiPunct,QUOTE_TEST_RE=/['"]/,QUOTE_RE=/['"]/g,APOSTROPHE="’";function replaceAt(k,m,M){return k.slice(0,m)+M+k.slice(m+1)}function process_inlines(k,m){var M,G,V,q,$,D,B,R,U,K,z,e,ae,ie,he,J,X,W,L,Q,ce;for(L=[],M=0;M=0&&!(L[X].level<=B);X--);if(L.length=X+1,G.type==="text"){V=G.content,$=0,D=V.length;e:for(;$=0)U=V.charCodeAt(q.index-1);else for(X=M-1;X>=0&&!(k[X].type==="softbreak"||k[X].type==="hardbreak");X--)if(k[X].content){U=k[X].content.charCodeAt(k[X].content.length-1);break}if(K=32,$=48&&U<=57&&(J=he=!1),he&&J&&(he=z,J=e),!he&&!J){W&&(G.content=replaceAt(G.content,q.index,APOSTROPHE));continue}if(J){for(X=L.length-1;X>=0&&(R=L[X],!(L[X].level=0;M--)m.tokens[M].type!=="inline"||!QUOTE_TEST_RE.test(m.tokens[M].content)||process_inlines(m.tokens[M].children,m)},text_join=function(m){var M,G,V,q,$,D,B=m.tokens;for(M=0,G=B.length;M=0&&(G=this.attrs[M][1]),G};Token$3.prototype.attrJoin=function(m,M){var G=this.attrIndex(m);G<0?this.attrPush([m,M]):this.attrs[G][1]=this.attrs[G][1]+" "+M};var token=Token$3,Token$2=token;function StateCore(k,m,M){this.src=k,this.env=M,this.tokens=[],this.inlineMode=!1,this.md=m}StateCore.prototype.Token=Token$2;var state_core=StateCore,Ruler$2=ruler,_rules$2=[["normalize",normalize$1],["block",block],["inline",inline],["linkify",linkify$1],["replacements",replacements],["smartquotes",smartquotes],["text_join",text_join]];function Core(){this.ruler=new Ruler$2;for(var k=0;k<_rules$2.length;k++)this.ruler.push(_rules$2[k][0],_rules$2[k][1])}Core.prototype.process=function(k){var m,M,G;for(G=this.ruler.getRules(""),m=0,M=G.length;mG||(U=M+1,m.sCount[U]=4||(D=m.bMarks[U]+m.tShift[U],D>=m.eMarks[U])||(Q=m.src.charCodeAt(D++),Q!==124&&Q!==45&&Q!==58)||D>=m.eMarks[U]||(ce=m.src.charCodeAt(D++),ce!==124&&ce!==45&&ce!==58&&!isSpace$a(ce))||Q===45&&isSpace$a(ce))return!1;for(;D=4||(K=escapedSplit($),K.length&&K[0]===""&&K.shift(),K.length&&K[K.length-1]===""&&K.pop(),z=K.length,z===0||z!==ae.length))return!1;if(V)return!0;for(X=m.parentType,m.parentType="table",L=m.md.block.ruler.getRules("blockquote"),e=m.push("table_open","table",1),e.map=he=[M,0],e=m.push("thead_open","thead",1),e.map=[M,M+1],e=m.push("tr_open","tr",1),e.map=[M,M+1],B=0;B=4)break;for(K=escapedSplit($),K.length&&K[0]===""&&K.shift(),K.length&&K[K.length-1]===""&&K.pop(),U===M+2&&(e=m.push("tbody_open","tbody",1),e.map=J=[M+2,0]),e=m.push("tr_open","tr",1),e.map=[U,U+1],B=0;B=4){V++,q=V;continue}break}return m.line=q,$=m.push("code_block","code",0),$.content=m.getLines(M,q,4+m.blkIndent,!1)+` -`,$.map=[M,m.line],!0},fence=function(m,M,G,V){var q,$,D,B,R,U,K,z=!1,e=m.bMarks[M]+m.tShift[M],ae=m.eMarks[M];if(m.sCount[M]-m.blkIndent>=4||e+3>ae||(q=m.src.charCodeAt(e),q!==126&&q!==96)||(R=e,e=m.skipChars(e,q),$=e-R,$<3)||(K=m.src.slice(R,e),D=m.src.slice(e,ae),q===96&&D.indexOf(String.fromCharCode(q))>=0))return!1;if(V)return!0;for(B=M;B++,!(B>=G||(e=R=m.bMarks[B]+m.tShift[B],ae=m.eMarks[B],e=4)&&(e=m.skipChars(e,q),!(e-R<$)&&(e=m.skipSpaces(e),!(e=4||m.src.charCodeAt(me)!==62)return!1;if(V)return!0;for(ae=[],ie=[],X=[],W=[],ce=m.md.block.ruler.getRules("blockquote"),J=m.parentType,m.parentType="blockquote",z=M;z=Ee));z++){if(m.src.charCodeAt(me++)===62&&!oe){for(B=m.sCount[z]+1,m.src.charCodeAt(me)===32?(me++,B++,q=!1,L=!0):m.src.charCodeAt(me)===9?(L=!0,(m.bsCount[z]+B)%4===3?(me++,B++,q=!1):q=!0):L=!1,e=B,ae.push(m.bMarks[z]),m.bMarks[z]=me;me=Ee,ie.push(m.bsCount[z]),m.bsCount[z]=m.sCount[z]+1+(L?1:0),X.push(m.sCount[z]),m.sCount[z]=e-B,W.push(m.tShift[z]),m.tShift[z]=me-m.bMarks[z];continue}if(U)break;for(Q=!1,D=0,R=ce.length;D",de.map=K=[M,0],m.md.block.tokenize(m,M,z),de=m.push("blockquote_close","blockquote",-1),de.markup=">",m.lineMax=se,m.parentType=J,K[1]=m.line,D=0;D=4||(q=m.src.charCodeAt(R++),q!==42&&q!==45&&q!==95))return!1;for($=1;R=q||(M=k.src.charCodeAt(V++),M<48||M>57))return-1;for(;;){if(V>=q)return-1;if(M=k.src.charCodeAt(V++),M>=48&&M<=57){if(V-G>=10)return-1;continue}if(M===41||M===46)break;return-1}return V=4||m.listIndent>=0&&m.sCount[ye]-m.listIndent>=4&&m.sCount[ye]=m.blkIndent&&(Ce=!0),(me=skipOrderedListMarker(m,ye))>=0){if(K=!0,ke=m.bMarks[ye]+m.tShift[ye],J=Number(m.src.slice(ke,me-1)),Ce&&J!==1)return!1}else if((me=skipBulletListMarker(m,ye))>=0)K=!1;else return!1;if(Ce&&m.skipSpaces(me)>=m.eMarks[ye])return!1;if(V)return!0;for(he=m.src.charCodeAt(me-1),ie=m.tokens.length,K?(ve=m.push("ordered_list_open","ol",1),J!==1&&(ve.attrs=[["start",J]])):ve=m.push("bullet_list_open","ul",1),ve.map=ae=[ye,0],ve.markup=String.fromCharCode(he),Ee=!1,fe=m.md.block.ruler.getRules("list"),Q=m.parentType,m.parentType="list";ye=X?R=1:R=W-U,R>4&&(R=1),B=U+R,ve=m.push("list_item_open","li",1),ve.markup=String.fromCharCode(he),ve.map=z=[ye,0],K&&(ve.info=m.src.slice(ke,me-1)),oe=m.tight,de=m.tShift[ye],ce=m.sCount[ye],L=m.listIndent,m.listIndent=m.blkIndent,m.blkIndent=B,m.tight=!0,m.tShift[ye]=$-m.bMarks[ye],m.sCount[ye]=W,$>=X&&m.isEmpty(ye+1)?m.line=Math.min(m.line+2,G):m.md.block.tokenize(m,ye,G,!0),(!m.tight||Ee)&&(pe=!1),Ee=m.line-ye>1&&m.isEmpty(m.line-1),m.blkIndent=m.listIndent,m.listIndent=L,m.tShift[ye]=de,m.sCount[ye]=ce,m.tight=oe,ve=m.push("list_item_close","li",-1),ve.markup=String.fromCharCode(he),ye=m.line,z[1]=ye,ye>=G||m.sCount[ye]=4)break;for(xe=!1,D=0,e=fe.length;D=4||m.src.charCodeAt(ce)!==91)return!1;for(;++ce3)&&!(m.sCount[oe]<0)){for(X=!1,U=0,K=W.length;U"u"&&(m.env.references={}),typeof m.env.references[z]>"u"&&(m.env.references[z]={title:L,href:R}),m.parentType=ae,m.line=M+Q+1),!0)},html_blocks=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],html_re={},attr_name="[a-zA-Z_:][a-zA-Z0-9:._-]*",unquoted="[^\"'=<>`\\x00-\\x20]+",single_quoted="'[^']*'",double_quoted='"[^"]*"',attr_value="(?:"+unquoted+"|"+single_quoted+"|"+double_quoted+")",attribute="(?:\\s+"+attr_name+"(?:\\s*=\\s*"+attr_value+")?)",open_tag="<[A-Za-z][A-Za-z0-9\\-]*"+attribute+"*\\s*\\/?>",close_tag="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",comment="|",processing="<[?][\\s\\S]*?[?]>",declaration="]*>",cdata="",HTML_TAG_RE$1=new RegExp("^(?:"+open_tag+"|"+close_tag+"|"+comment+"|"+processing+"|"+declaration+"|"+cdata+")"),HTML_OPEN_CLOSE_TAG_RE$1=new RegExp("^(?:"+open_tag+"|"+close_tag+")");html_re.HTML_TAG_RE=HTML_TAG_RE$1;html_re.HTML_OPEN_CLOSE_TAG_RE=HTML_OPEN_CLOSE_TAG_RE$1;var block_names=html_blocks,HTML_OPEN_CLOSE_TAG_RE=html_re.HTML_OPEN_CLOSE_TAG_RE,HTML_SEQUENCES=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(HTML_OPEN_CLOSE_TAG_RE.source+"\\s*$"),/^$/,!1]],html_block=function(m,M,G,V){var q,$,D,B,R=m.bMarks[M]+m.tShift[M],U=m.eMarks[M];if(m.sCount[M]-m.blkIndent>=4||!m.md.options.html||m.src.charCodeAt(R)!==60)return!1;for(B=m.src.slice(R,U),q=0;q=4||(q=m.src.charCodeAt(R),q!==35||R>=U))return!1;for($=1,q=m.src.charCodeAt(++R);q===35&&R6||RR&&isSpace$5(m.src.charCodeAt(D-1))&&(U=D),m.line=M+1,B=m.push("heading_open","h"+String($),1),B.markup="########".slice(0,$),B.map=[M,m.line],B=m.push("inline","",0),B.content=m.src.slice(R,U).trim(),B.map=[M,m.line],B.children=[],B=m.push("heading_close","h"+String($),-1),B.markup="########".slice(0,$)),!0)},lheading=function(m,M,G){var V,q,$,D,B,R,U,K,z,e=M+1,ae,ie=m.md.block.ruler.getRules("paragraph");if(m.sCount[M]-m.blkIndent>=4)return!1;for(ae=m.parentType,m.parentType="paragraph";e3)){if(m.sCount[e]>=m.blkIndent&&(R=m.bMarks[e]+m.tShift[e],U=m.eMarks[e],R=U)))){K=z===61?1:2;break}if(!(m.sCount[e]<0)){for(q=!1,$=0,D=ie.length;$3)&&!(m.sCount[U]<0)){for(q=!1,$=0,D=K.length;$0&&this.level++,this.tokens.push(G),G};StateBlock.prototype.isEmpty=function(m){return this.bMarks[m]+this.tShift[m]>=this.eMarks[m]};StateBlock.prototype.skipEmptyLines=function(m){for(var M=this.lineMax;mM;)if(!isSpace$4(this.src.charCodeAt(--m)))return m+1;return m};StateBlock.prototype.skipChars=function(m,M){for(var G=this.src.length;mG;)if(M!==this.src.charCodeAt(--m))return m+1;return m};StateBlock.prototype.getLines=function(m,M,G,V){var q,$,D,B,R,U,K,z=m;if(m>=M)return"";for(U=new Array(M-m),q=0;zG?U[q]=new Array($-G+1).join(" ")+this.src.slice(B,R):U[q]=this.src.slice(B,R)}return U.join("")};StateBlock.prototype.Token=Token$1;var state_block=StateBlock,Ruler$1=ruler,_rules$1=[["table",table,["paragraph","reference"]],["code",code],["fence",fence,["paragraph","reference","blockquote","list"]],["blockquote",blockquote,["paragraph","reference","blockquote","list"]],["hr",hr,["paragraph","reference","blockquote","list"]],["list",list,["paragraph","reference","blockquote"]],["reference",reference],["html_block",html_block,["paragraph","reference","blockquote"]],["heading",heading,["paragraph","reference","blockquote"]],["lheading",lheading],["paragraph",paragraph]];function ParserBlock$1(){this.ruler=new Ruler$1;for(var k=0;k<_rules$1.length;k++)this.ruler.push(_rules$1[k][0],_rules$1[k][1],{alt:(_rules$1[k][2]||[]).slice()})}ParserBlock$1.prototype.tokenize=function(k,m,M){for(var G,V,q,$=this.ruler.getRules(""),D=$.length,B=m,R=!1,U=k.md.options.maxNesting;B=M||k.sCount[B]=U){k.line=M;break}for(q=k.line,V=0;V=k.line)throw new Error("block rule didn't increment state.line");break}if(!G)throw new Error("none of the block rules matched");k.tight=!R,k.isEmpty(k.line-1)&&(R=!0),B=k.line,B0||(G=m.pos,V=m.posMax,G+3>V)||m.src.charCodeAt(G)!==58||m.src.charCodeAt(G+1)!==47||m.src.charCodeAt(G+2)!==47||(q=m.pending.match(SCHEME_RE),!q)||($=q[1],D=m.md.linkify.matchAtStart(m.src.slice(G-$.length)),!D)||(B=D.url,B.length<=$.length)||(B=B.replace(/\*+$/,""),R=m.md.normalizeLink(B),!m.md.validateLink(R))?!1:(M||(m.pending=m.pending.slice(0,-$.length),U=m.push("link_open","a",1),U.attrs=[["href",R]],U.markup="linkify",U.info="auto",U=m.push("text","",0),U.content=m.md.normalizeLinkText(B),U=m.push("link_close","a",-1),U.markup="linkify",U.info="auto"),m.pos+=B.length-$.length,!0)},isSpace$3=utils$1.isSpace,newline=function(m,M){var G,V,q,$=m.pos;if(m.src.charCodeAt($)!==10)return!1;if(G=m.pending.length-1,V=m.posMax,!M)if(G>=0&&m.pending.charCodeAt(G)===32)if(G>=1&&m.pending.charCodeAt(G-1)===32){for(q=G-1;q>=1&&m.pending.charCodeAt(q-1)===32;)q--;m.pending=m.pending.slice(0,q),m.push("hardbreak","br",0)}else m.pending=m.pending.slice(0,-1),m.push("softbreak","br",0);else m.push("softbreak","br",0);for($++;$?@[]^_`{|}~-".split("").forEach(function(k){ESCAPED[k.charCodeAt(0)]=1});var _escape=function(m,M){var G,V,q,$,D,B=m.pos,R=m.posMax;if(m.src.charCodeAt(B)!==92||(B++,B>=R))return!1;if(G=m.src.charCodeAt(B),G===10){for(M||m.push("hardbreak","br",0),B++;B=55296&&G<=56319&&B+1=56320&&V<=57343&&($+=m.src[B+1],B++)),q="\\"+$,M||(D=m.push("text_special","",0),G<256&&ESCAPED[G]!==0?D.content=$:D.content=q,D.markup=q,D.info="escape"),m.pos=B+1,!0},backticks=function(m,M){var G,V,q,$,D,B,R,U,K=m.pos,z=m.src.charCodeAt(K);if(z!==96)return!1;for(G=K,K++,V=m.posMax;K=0;M--)G=m[M],!(G.marker!==95&&G.marker!==42)&&G.end!==-1&&(V=m[G.end],D=M>0&&m[M-1].end===G.end+1&&m[M-1].marker===G.marker&&m[M-1].token===G.token-1&&m[G.end+1].token===V.token+1,$=String.fromCharCode(G.marker),q=k.tokens[G.token],q.type=D?"strong_open":"em_open",q.tag=D?"strong":"em",q.nesting=1,q.markup=D?$+$:$,q.content="",q=k.tokens[V.token],q.type=D?"strong_close":"em_close",q.tag=D?"strong":"em",q.nesting=-1,q.markup=D?$+$:$,q.content="",D&&(k.tokens[m[M-1].token].content="",k.tokens[m[G.end+1].token].content="",M--))}emphasis.postProcess=function(m){var M,G=m.tokens_meta,V=m.tokens_meta.length;for(postProcess(m,m.delimiters),M=0;M=ie)return!1;if(he=B,R=m.md.helpers.parseLinkDestination(m.src,B,m.posMax),R.ok){for(z=m.md.normalizeLink(R.str),m.md.validateLink(z)?B=R.pos:z="",he=B;B=ie||m.src.charCodeAt(B)!==41)&&(J=!0),B++}if(J){if(typeof m.env.references>"u")return!1;if(B=0?q=m.src.slice(he,B++):B=$+1):B=$+1,q||(q=m.src.slice(D,$)),U=m.env.references[normalizeReference$1(q)],!U)return m.pos=ae,!1;z=U.href,e=U.title}return M||(m.pos=D,m.posMax=$,K=m.push("link_open","a",1),K.attrs=G=[["href",z]],e&&G.push(["title",e]),m.linkLevel++,m.md.inline.tokenize(m),m.linkLevel--,K=m.push("link_close","a",-1)),m.pos=B,m.posMax=ie,!0},normalizeReference=utils$1.normalizeReference,isSpace=utils$1.isSpace,image=function(m,M){var G,V,q,$,D,B,R,U,K,z,e,ae,ie,he="",J=m.pos,X=m.posMax;if(m.src.charCodeAt(m.pos)!==33||m.src.charCodeAt(m.pos+1)!==91||(B=m.pos+2,D=m.md.helpers.parseLinkLabel(m,m.pos+1,!1),D<0))return!1;if(R=D+1,R=X)return!1;for(ie=R,K=m.md.helpers.parseLinkDestination(m.src,R,m.posMax),K.ok&&(he=m.md.normalizeLink(K.str),m.md.validateLink(he)?R=K.pos:he=""),ie=R;R=X||m.src.charCodeAt(R)!==41)return m.pos=J,!1;R++}else{if(typeof m.env.references>"u")return!1;if(R=0?$=m.src.slice(ie,R++):R=D+1):R=D+1,$||($=m.src.slice(B,D)),U=m.env.references[normalizeReference($)],!U)return m.pos=J,!1;he=U.href,z=U.title}return M||(q=m.src.slice(B,D),m.md.inline.parse(q,m.md,m.env,ae=[]),e=m.push("image","img",0),e.attrs=G=[["src",he],["alt",""]],e.children=ae,e.content=q,z&&G.push(["title",z])),m.pos=R,m.posMax=X,!0},EMAIL_RE=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,AUTOLINK_RE=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,autolink=function(m,M){var G,V,q,$,D,B,R=m.pos;if(m.src.charCodeAt(R)!==60)return!1;for(D=m.pos,B=m.posMax;;){if(++R>=B||($=m.src.charCodeAt(R),$===60))return!1;if($===62)break}return G=m.src.slice(D+1,R),AUTOLINK_RE.test(G)?(V=m.md.normalizeLink(G),m.md.validateLink(V)?(M||(q=m.push("link_open","a",1),q.attrs=[["href",V]],q.markup="autolink",q.info="auto",q=m.push("text","",0),q.content=m.md.normalizeLinkText(G),q=m.push("link_close","a",-1),q.markup="autolink",q.info="auto"),m.pos+=G.length+2,!0):!1):EMAIL_RE.test(G)?(V=m.md.normalizeLink("mailto:"+G),m.md.validateLink(V)?(M||(q=m.push("link_open","a",1),q.attrs=[["href",V]],q.markup="autolink",q.info="auto",q=m.push("text","",0),q.content=m.md.normalizeLinkText(G),q=m.push("link_close","a",-1),q.markup="autolink",q.info="auto"),m.pos+=G.length+2,!0):!1):!1},HTML_TAG_RE=html_re.HTML_TAG_RE;function isLinkOpen(k){return/^\s]/i.test(k)}function isLinkClose(k){return/^<\/a\s*>/i.test(k)}function isLetter(k){var m=k|32;return m>=97&&m<=122}var html_inline=function(m,M){var G,V,q,$,D=m.pos;return!m.md.options.html||(q=m.posMax,m.src.charCodeAt(D)!==60||D+2>=q)||(G=m.src.charCodeAt(D+1),G!==33&&G!==63&&G!==47&&!isLetter(G))||(V=m.src.slice(D).match(HTML_TAG_RE),!V)?!1:(M||($=m.push("html_inline","",0),$.content=V[0],isLinkOpen($.content)&&m.linkLevel++,isLinkClose($.content)&&m.linkLevel--),m.pos+=V[0].length,!0)},entities=entities$1,has$2=utils$1.has,isValidEntityCode=utils$1.isValidEntityCode,fromCodePoint=utils$1.fromCodePoint,DIGITAL_RE=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,NAMED_RE=/^&([a-z][a-z0-9]{1,31});/i,entity=function(m,M){var G,V,q,$,D=m.pos,B=m.posMax;if(m.src.charCodeAt(D)!==38||D+1>=B)return!1;if(G=m.src.charCodeAt(D+1),G===35){if(q=m.src.slice(D).match(DIGITAL_RE),q)return M||(V=q[1][0].toLowerCase()==="x"?parseInt(q[1].slice(1),16):parseInt(q[1],10),$=m.push("text_special","",0),$.content=isValidEntityCode(V)?fromCodePoint(V):fromCodePoint(65533),$.markup=q[0],$.info="entity"),m.pos+=q[0].length,!0}else if(q=m.src.slice(D).match(NAMED_RE),q&&has$2(entities,q[1]))return M||($=m.push("text_special","",0),$.content=entities[q[1]],$.markup=q[0],$.info="entity"),m.pos+=q[0].length,!0;return!1};function processDelimiters(k){var m,M,G,V,q,$,D,B,R={},U=k.length;if(U){var K=0,z=-2,e=[];for(m=0;mq;M-=e[M]+1)if(V=k[M],V.marker===G.marker&&V.open&&V.end<0&&(D=!1,(V.close||G.open)&&(V.length+G.length)%3===0&&(V.length%3!==0||G.length%3!==0)&&(D=!0),!D)){B=M>0&&!k[M-1].open?e[M-1]+1:0,e[m]=m-M+B,e[M]=B,G.open=!1,V.end=m,V.close=!1,$=-1,z=-2;break}$!==-1&&(R[G.marker][(G.open?3:0)+(G.length||0)%3]=$)}}}var balance_pairs=function(m){var M,G=m.tokens_meta,V=m.tokens_meta.length;for(processDelimiters(m.delimiters),M=0;M0&&V++,q[M].type==="text"&&M+1<$&&q[M+1].type==="text"?q[M+1].content=q[M].content+q[M+1].content:(M!==G&&(q[G]=q[M]),G++);M!==G&&(q.length=G)},Token=token,isWhiteSpace=utils$1.isWhiteSpace,isPunctChar=utils$1.isPunctChar,isMdAsciiPunct=utils$1.isMdAsciiPunct;function StateInline(k,m,M,G){this.src=k,this.env=M,this.md=m,this.tokens=G,this.tokens_meta=Array(G.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}StateInline.prototype.pushPending=function(){var k=new Token("text","",0);return k.content=this.pending,k.level=this.pendingLevel,this.tokens.push(k),this.pending="",k};StateInline.prototype.push=function(k,m,M){this.pending&&this.pushPending();var G=new Token(k,m,M),V=null;return M<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),G.level=this.level,M>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],V={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(G),this.tokens_meta.push(V),G};StateInline.prototype.scanDelims=function(k,m){var M=k,G,V,q,$,D,B,R,U,K,z=!0,e=!0,ae=this.posMax,ie=this.src.charCodeAt(k);for(G=k>0?this.src.charCodeAt(k-1):32;M=k.pos)throw new Error("inline rule didn't increment state.pos");break}}else k.pos=k.posMax;m||k.pos++,D[G]=k.pos};ParserInline$1.prototype.tokenize=function(k){for(var m,M,G,V=this.ruler.getRules(""),q=V.length,$=k.posMax,D=k.md.options.maxNesting;k.pos<$;){if(G=k.pos,k.level=k.pos)throw new Error("inline rule didn't increment state.pos");break}}if(m){if(k.pos>=$)break;continue}k.pending+=k.src[k.pos++]}k.pending&&k.pushPending()};ParserInline$1.prototype.parse=function(k,m,M,G){var V,q,$,D=new this.State(k,m,M,G);for(this.tokenize(D),q=this.ruler2.getRules(""),$=q.length,V=0;V<$;V++)q[V](D)};ParserInline$1.prototype.State=state_inline;var parser_inline=ParserInline$1,re,hasRequiredRe;function requireRe(){return hasRequiredRe||(hasRequiredRe=1,re=function(k){var m={};k=k||{},m.src_Any=requireRegex$3().source,m.src_Cc=requireRegex$2().source,m.src_Z=requireRegex().source,m.src_P=regex$4.source,m.src_ZPCc=[m.src_Z,m.src_P,m.src_Cc].join("|"),m.src_ZCc=[m.src_Z,m.src_Cc].join("|");var M="[><|]";return m.src_pseudo_letter="(?:(?!"+M+"|"+m.src_ZPCc+")"+m.src_Any+")",m.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",m.src_auth="(?:(?:(?!"+m.src_ZCc+"|[@/\\[\\]()]).)+@)?",m.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",m.src_host_terminator="(?=$|"+M+"|"+m.src_ZPCc+")(?!"+(k["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+m.src_ZPCc+"))",m.src_path="(?:[/?#](?:(?!"+m.src_ZCc+"|"+M+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+m.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+m.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+m.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+m.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+m.src_ZCc+"|[']).)+\\'|\\'(?="+m.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+m.src_ZCc+"|[.]|$)|"+(k["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+m.src_ZCc+"|$)|;(?!"+m.src_ZCc+"|$)|\\!+(?!"+m.src_ZCc+"|[!]|$)|\\?(?!"+m.src_ZCc+"|[?]|$))+|\\/)?",m.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',m.src_xn="xn--[a-z0-9\\-]{1,59}",m.src_domain_root="(?:"+m.src_xn+"|"+m.src_pseudo_letter+"{1,63})",m.src_domain="(?:"+m.src_xn+"|(?:"+m.src_pseudo_letter+")|(?:"+m.src_pseudo_letter+"(?:-|"+m.src_pseudo_letter+"){0,61}"+m.src_pseudo_letter+"))",m.src_host="(?:(?:(?:(?:"+m.src_domain+")\\.)*"+m.src_domain+"))",m.tpl_host_fuzzy="(?:"+m.src_ip4+"|(?:(?:(?:"+m.src_domain+")\\.)+(?:%TLDS%)))",m.tpl_host_no_ip_fuzzy="(?:(?:(?:"+m.src_domain+")\\.)+(?:%TLDS%))",m.src_host_strict=m.src_host+m.src_host_terminator,m.tpl_host_fuzzy_strict=m.tpl_host_fuzzy+m.src_host_terminator,m.src_host_port_strict=m.src_host+m.src_port+m.src_host_terminator,m.tpl_host_port_fuzzy_strict=m.tpl_host_fuzzy+m.src_port+m.src_host_terminator,m.tpl_host_port_no_ip_fuzzy_strict=m.tpl_host_no_ip_fuzzy+m.src_port+m.src_host_terminator,m.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+m.src_ZPCc+"|>|$))",m.tpl_email_fuzzy="(^|"+M+'|"|\\(|'+m.src_ZCc+")("+m.src_email_name+"@"+m.tpl_host_fuzzy_strict+")",m.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+m.src_ZPCc+"))((?![$+<=>^`||])"+m.tpl_host_port_fuzzy_strict+m.src_path+")",m.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+m.src_ZPCc+"))((?![$+<=>^`||])"+m.tpl_host_port_no_ip_fuzzy_strict+m.src_path+")",m}),re}function assign(k){var m=Array.prototype.slice.call(arguments,1);return m.forEach(function(M){M&&Object.keys(M).forEach(function(G){k[G]=M[G]})}),k}function _class(k){return Object.prototype.toString.call(k)}function isString(k){return _class(k)==="[object String]"}function isObject$1(k){return _class(k)==="[object Object]"}function isRegExp(k){return _class(k)==="[object RegExp]"}function isFunction(k){return _class(k)==="[object Function]"}function escapeRE(k){return k.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var defaultOptions={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function isOptionsObj(k){return Object.keys(k||{}).reduce(function(m,M){return m||defaultOptions.hasOwnProperty(M)},!1)}var defaultSchemas={"http:":{validate:function(k,m,M){var G=k.slice(m);return M.re.http||(M.re.http=new RegExp("^\\/\\/"+M.re.src_auth+M.re.src_host_port_strict+M.re.src_path,"i")),M.re.http.test(G)?G.match(M.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(k,m,M){var G=k.slice(m);return M.re.no_http||(M.re.no_http=new RegExp("^"+M.re.src_auth+"(?:localhost|(?:(?:"+M.re.src_domain+")\\.)+"+M.re.src_domain_root+")"+M.re.src_port+M.re.src_host_terminator+M.re.src_path,"i")),M.re.no_http.test(G)?m>=3&&k[m-3]===":"||m>=3&&k[m-3]==="/"?0:G.match(M.re.no_http)[0].length:0}},"mailto:":{validate:function(k,m,M){var G=k.slice(m);return M.re.mailto||(M.re.mailto=new RegExp("^"+M.re.src_email_name+"@"+M.re.src_host_strict,"i")),M.re.mailto.test(G)?G.match(M.re.mailto)[0].length:0}}},tlds_2ch_src_re="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",tlds_default="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function resetScanCache(k){k.__index__=-1,k.__text_cache__=""}function createValidator(k){return function(m,M){var G=m.slice(M);return k.test(G)?G.match(k)[0].length:0}}function createNormalizer(){return function(k,m){m.normalize(k)}}function compile(k){var m=k.re=requireRe()(k.__opts__),M=k.__tlds__.slice();k.onCompile(),k.__tlds_replaced__||M.push(tlds_2ch_src_re),M.push(m.src_xn),m.src_tlds=M.join("|");function G(D){return D.replace("%TLDS%",m.src_tlds)}m.email_fuzzy=RegExp(G(m.tpl_email_fuzzy),"i"),m.link_fuzzy=RegExp(G(m.tpl_link_fuzzy),"i"),m.link_no_ip_fuzzy=RegExp(G(m.tpl_link_no_ip_fuzzy),"i"),m.host_fuzzy_test=RegExp(G(m.tpl_host_fuzzy_test),"i");var V=[];k.__compiled__={};function q(D,B){throw new Error('(LinkifyIt) Invalid schema "'+D+'": '+B)}Object.keys(k.__schemas__).forEach(function(D){var B=k.__schemas__[D];if(B!==null){var R={validate:null,link:null};if(k.__compiled__[D]=R,isObject$1(B)){isRegExp(B.validate)?R.validate=createValidator(B.validate):isFunction(B.validate)?R.validate=B.validate:q(D,B),isFunction(B.normalize)?R.normalize=B.normalize:B.normalize?q(D,B):R.normalize=createNormalizer();return}if(isString(B)){V.push(D);return}q(D,B)}}),V.forEach(function(D){k.__compiled__[k.__schemas__[D]]&&(k.__compiled__[D].validate=k.__compiled__[k.__schemas__[D]].validate,k.__compiled__[D].normalize=k.__compiled__[k.__schemas__[D]].normalize)}),k.__compiled__[""]={validate:null,normalize:createNormalizer()};var $=Object.keys(k.__compiled__).filter(function(D){return D.length>0&&k.__compiled__[D]}).map(escapeRE).join("|");k.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+m.src_ZPCc+"))("+$+")","i"),k.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+m.src_ZPCc+"))("+$+")","ig"),k.re.schema_at_start=RegExp("^"+k.re.schema_search.source,"i"),k.re.pretest=RegExp("("+k.re.schema_test.source+")|("+k.re.host_fuzzy_test.source+")|@","i"),resetScanCache(k)}function Match(k,m){var M=k.__index__,G=k.__last_index__,V=k.__text_cache__.slice(M,G);this.schema=k.__schema__.toLowerCase(),this.index=M+m,this.lastIndex=G+m,this.raw=V,this.text=V,this.url=V}function createMatch(k,m){var M=new Match(k,m);return k.__compiled__[M.schema].normalize(M,k),M}function LinkifyIt$1(k,m){if(!(this instanceof LinkifyIt$1))return new LinkifyIt$1(k,m);m||isOptionsObj(k)&&(m=k,k={}),this.__opts__=assign({},defaultOptions,m),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=assign({},defaultSchemas,k),this.__compiled__={},this.__tlds__=tlds_default,this.__tlds_replaced__=!1,this.re={},compile(this)}LinkifyIt$1.prototype.add=function(m,M){return this.__schemas__[m]=M,compile(this),this};LinkifyIt$1.prototype.set=function(m){return this.__opts__=assign(this.__opts__,m),this};LinkifyIt$1.prototype.test=function(m){if(this.__text_cache__=m,this.__index__=-1,!m.length)return!1;var M,G,V,q,$,D,B,R,U;if(this.re.schema_test.test(m)){for(B=this.re.schema_search,B.lastIndex=0;(M=B.exec(m))!==null;)if(q=this.testSchemaAt(m,M[2],B.lastIndex),q){this.__schema__=M[2],this.__index__=M.index+M[1].length,this.__last_index__=M.index+M[0].length+q;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(R=m.search(this.re.host_fuzzy_test),R>=0&&(this.__index__<0||R=0&&(V=m.match(this.re.email_fuzzy))!==null&&($=V.index+V[1].length,D=V.index+V[0].length,(this.__index__<0||$this.__last_index__)&&(this.__schema__="mailto:",this.__index__=$,this.__last_index__=D))),this.__index__>=0};LinkifyIt$1.prototype.pretest=function(m){return this.re.pretest.test(m)};LinkifyIt$1.prototype.testSchemaAt=function(m,M,G){return this.__compiled__[M.toLowerCase()]?this.__compiled__[M.toLowerCase()].validate(m,G,this):0};LinkifyIt$1.prototype.match=function(m){var M=0,G=[];this.__index__>=0&&this.__text_cache__===m&&(G.push(createMatch(this,M)),M=this.__last_index__);for(var V=M?m.slice(M):m;this.test(V);)G.push(createMatch(this,M)),V=V.slice(this.__last_index__),M+=this.__last_index__;return G.length?G:null};LinkifyIt$1.prototype.matchAtStart=function(m){if(this.__text_cache__=m,this.__index__=-1,!m.length)return null;var M=this.re.schema_at_start.exec(m);if(!M)return null;var G=this.testSchemaAt(m,M[2],M[0].length);return G?(this.__schema__=M[2],this.__index__=M.index+M[1].length,this.__last_index__=M.index+M[0].length+G,createMatch(this,0)):null};LinkifyIt$1.prototype.tlds=function(m,M){return m=Array.isArray(m)?m:[m],M?(this.__tlds__=this.__tlds__.concat(m).sort().filter(function(G,V,q){return G!==q[V-1]}).reverse(),compile(this),this):(this.__tlds__=m.slice(),this.__tlds_replaced__=!0,compile(this),this)};LinkifyIt$1.prototype.normalize=function(m){m.schema||(m.url="http://"+m.url),m.schema==="mailto:"&&!/^mailto:/i.test(m.url)&&(m.url="mailto:"+m.url)};LinkifyIt$1.prototype.onCompile=function(){};var linkifyIt=LinkifyIt$1;const maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\0-\x7F]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor$1=Math.floor,stringFromCharCode=String.fromCharCode;function error(k){throw new RangeError(errors[k])}function map(k,m){const M=[];let G=k.length;for(;G--;)M[G]=m(k[G]);return M}function mapDomain(k,m){const M=k.split("@");let G="";M.length>1&&(G=M[0]+"@",k=M[1]),k=k.replace(regexSeparators,".");const V=k.split("."),q=map(V,m).join(".");return G+q}function ucs2decode(k){const m=[];let M=0;const G=k.length;for(;M=55296&&V<=56319&&MString.fromCodePoint(...k),basicToDigit=function(k){return k>=48&&k<58?26+(k-48):k>=65&&k<91?k-65:k>=97&&k<123?k-97:base},digitToBasic=function(k,m){return k+22+75*(k<26)-((m!=0)<<5)},adapt=function(k,m,M){let G=0;for(k=M?floor$1(k/damp):k>>1,k+=floor$1(k/m);k>baseMinusTMin*tMax>>1;G+=base)k=floor$1(k/baseMinusTMin);return floor$1(G+(baseMinusTMin+1)*k/(k+skew))},decode=function(k){const m=[],M=k.length;let G=0,V=initialN,q=initialBias,$=k.lastIndexOf(delimiter);$<0&&($=0);for(let D=0;D<$;++D)k.charCodeAt(D)>=128&&error("not-basic"),m.push(k.charCodeAt(D));for(let D=$>0?$+1:0;D=M&&error("invalid-input");const z=basicToDigit(k.charCodeAt(D++));z>=base&&error("invalid-input"),z>floor$1((maxInt-G)/U)&&error("overflow"),G+=z*U;const e=K<=q?tMin:K>=q+tMax?tMax:K-q;if(zfloor$1(maxInt/ae)&&error("overflow"),U*=ae}const R=m.length+1;q=adapt(G-B,R,B==0),floor$1(G/R)>maxInt-V&&error("overflow"),V+=floor$1(G/R),G%=R,m.splice(G++,0,V)}return String.fromCodePoint(...m)},encode=function(k){const m=[];k=ucs2decode(k);const M=k.length;let G=initialN,V=0,q=initialBias;for(const B of k)B<128&&m.push(stringFromCharCode(B));const $=m.length;let D=$;for($&&m.push(delimiter);D=G&&Ufloor$1((maxInt-V)/R)&&error("overflow"),V+=(B-G)*R,G=B;for(const U of k)if(UmaxInt&&error("overflow"),U===G){let K=V;for(let z=base;;z+=base){const e=z<=q?tMin:z>=q+tMax?tMax:z-q;if(K=0))try{m.hostname=punycode.toASCII(m.hostname)}catch{}return mdurl.encode(mdurl.format(m))}function normalizeLinkText(k){var m=mdurl.parse(k,!0);if(m.hostname&&(!m.protocol||RECODE_HOSTNAME_FOR.indexOf(m.protocol)>=0))try{m.hostname=punycode.toUnicode(m.hostname)}catch{}return mdurl.decode(mdurl.format(m),mdurl.decode.defaultChars+"%")}function MarkdownIt$1(k,m){if(!(this instanceof MarkdownIt$1))return new MarkdownIt$1(k,m);m||utils.isString(k)||(m=k||{},k="default"),this.inline=new ParserInline,this.block=new ParserBlock,this.core=new ParserCore,this.renderer=new Renderer,this.linkify=new LinkifyIt,this.validateLink=validateLink,this.normalizeLink=normalizeLink,this.normalizeLinkText=normalizeLinkText,this.utils=utils,this.helpers=utils.assign({},helpers),this.options={},this.configure(k),m&&this.set(m)}MarkdownIt$1.prototype.set=function(k){return utils.assign(this.options,k),this};MarkdownIt$1.prototype.configure=function(k){var m=this,M;if(utils.isString(k)&&(M=k,k=config[M],!k))throw new Error('Wrong `markdown-it` preset "'+M+'", check name');if(!k)throw new Error("Wrong `markdown-it` preset, can't be empty");return k.options&&m.set(k.options),k.components&&Object.keys(k.components).forEach(function(G){k.components[G].rules&&m[G].ruler.enableOnly(k.components[G].rules),k.components[G].rules2&&m[G].ruler2.enableOnly(k.components[G].rules2)}),this};MarkdownIt$1.prototype.enable=function(k,m){var M=[];Array.isArray(k)||(k=[k]),["core","block","inline"].forEach(function(V){M=M.concat(this[V].ruler.enable(k,!0))},this),M=M.concat(this.inline.ruler2.enable(k,!0));var G=k.filter(function(V){return M.indexOf(V)<0});if(G.length&&!m)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+G);return this};MarkdownIt$1.prototype.disable=function(k,m){var M=[];Array.isArray(k)||(k=[k]),["core","block","inline"].forEach(function(V){M=M.concat(this[V].ruler.disable(k,!0))},this),M=M.concat(this.inline.ruler2.disable(k,!0));var G=k.filter(function(V){return M.indexOf(V)<0});if(G.length&&!m)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+G);return this};MarkdownIt$1.prototype.use=function(k){var m=[this].concat(Array.prototype.slice.call(arguments,1));return k.apply(k,m),this};MarkdownIt$1.prototype.parse=function(k,m){if(typeof k!="string")throw new Error("Input data should be a String");var M=new this.core.State(k,this,m);return this.core.process(M),M.tokens};MarkdownIt$1.prototype.render=function(k,m){return m=m||{},this.renderer.render(this.parse(k,m),this.options,m)};MarkdownIt$1.prototype.parseInline=function(k,m){var M=new this.core.State(k,this,m);return M.inlineMode=!0,this.core.process(M),M.tokens};MarkdownIt$1.prototype.renderInline=function(k,m){return m=m||{},this.renderer.render(this.parseInline(k,m),this.options,m)};var lib$1=MarkdownIt$1,markdownIt=lib$1;const MarkdownIt=getDefaultExportFromCjs(markdownIt);function findFirstMatchingConfig(k,m){var M,G,V=k.attrs[k.attrIndex("href")][1];for(M=0;Mq.fileInfo?q.fileInfo.split(","):[]);computed(()=>{try{return JSON.parse(q.customId).buttons||[]}catch{return[]}});const q=k,$=M;useMessage();const{isMobile:D}=useBasicLayout();let B;watch(()=>q.status,de=>{B!==void 0&&(clearInterval(B),B=void 0),de===2&&(B=window.setInterval(async()=>{await U.queryActiveChatLogList()},5e3))},{immediate:!0}),onUnmounted(()=>{B!==void 0&&clearInterval(B)}),onUnmounted(()=>{clearInterval(B)});const R=ref(),U=useChatStore(),K=new MarkdownIt({linkify:!0,highlight(de,oe){if(!!(oe&&HighlightJS.getLanguage(oe))){const me=oe??"";return ae(HighlightJS.highlight(de,{language:me}).value,me)}return ae(HighlightJS.highlightAuto(de).value,"")}}),z=computed(()=>q.fileInfo);K.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),K.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const e=computed(()=>{const de=q.text??"";return q.asRawText?de:K.render(de)});function ae(de,oe){return`
${oe}${t$3("chat.copyCode")}
${de}
`}function ie(){$("copy")}function he(){$("delete")}async function J(de){try{let oe;oe=JSON.parse(q.customId);const se=oe.find(me=>me.customId.includes(`upsample::${de}`));if(se){const me=se.customId;await G({msg:t$3("chat.enlargeImagePrefix")+de+t$3("chat.enlargeImageSuffix"),action:"UPSCALE",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}}catch{}}async function X(de){try{let oe;oe=JSON.parse(q.customId);const se=oe.find(me=>me.customId.includes(`variation::${de}`));if(se){const me=se.customId;await G({msg:t$3("chat.transformImagePrefix")+de+t$3("chat.transformImageSuffix"),action:"UPSCALE",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}}catch{}}async function W(de){try{let oe;oe=JSON.parse(q.customId);const se=oe.find(me=>me.customId.includes(`MJ::Job::PicReader::${de}`));if(se){const me=se.customId;await G({msg:`绘制第 ${de}张图片`,action:"PICREADER",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}else console.error(`未找到适配的绘制任务按钮:MJ::Job::PicReader::${de}`)}catch(oe){console.error("提交变换绘制任务失败",oe)}}async function L(de){try{let oe;oe=JSON.parse(q.customId);const se=oe.find(me=>me.customId.includes(`Outpaint::${de}`));if(se){const me=se.customId;await G({msg:t$3("chat.expandDrawing"),action:"UPSCALE",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}}catch{}}async function Q(de){try{let oe;oe=JSON.parse(q.customId);const se=oe.find(me=>me.customId.includes(`${de}`));if(se){const me=se.customId;await G({msg:t$3("chat.advancedTransform"),action:"UPSCALE",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}}catch{}}async function ce(de){try{let oe;oe=JSON.parse(q.customId);const se=oe.find(me=>me.customId.includes(`pan_${de}`));if(se){const me=se.customId;await G({msg:t$3("chat.translateImage"),action:"UPSCALE",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}}catch{}}return m({textRef:R}),(de,oe)=>{var se,me,Ee,ke,xe,fe,ve,ye,Ce,pe;return openBlock(),createElementBlock("div",_hoisted_1$j,[createBaseVNode("div",{ref_key:"textRef",ref:R,class:"leading-relaxed break-words w-full"},[createBaseVNode("div",_hoisted_2$i,[createBaseVNode("div",_hoisted_3$h,[de.status===2&&!e.value?(openBlock(),createElementBlock("span",_hoisted_4$e)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$d,[createBaseVNode("div",_hoisted_6$c,[createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":de.status===1||de.status===2||!e.value}]),innerHTML:e.value},null,10,_hoisted_7$b)])])])])],512),createBaseVNode("div",_hoisted_8$a,[createBaseVNode("div",null,[createBaseVNode("div",null,[createBaseVNode("div",null,[createBaseVNode("div",{class:"my-1 flex w-auto",style:normalizeStyle({maxWidth:unref(D)?"100%":"",maxHeight:unref(D)?"":"30vh",objectFit:"contain"})},[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(V.value,(_e,Ge)=>(openBlock(),createBlock(unref(NImage),{key:Ge,src:_e,"preview-src":_e,alt:"图片",class:"rounded-md flex mb-1 mr-4",style:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain"}},null,8,["src","preview-src"]))),128))],4)]),(se=de.model)!=null&&se.includes("midjourney")&&z.value&&de.status===3?(openBlock(),createElementBlock("div",_hoisted_9$a,[(me=de.customId)!=null&&me.includes("::upsample::1::")?(openBlock(),createElementBlock("div",_hoisted_10$9,[createBaseVNode("div",_hoisted_11$8,[createBaseVNode("div",_hoisted_12$7,[createBaseVNode("button",{onClick:oe[0]||(oe[0]=_e=>J(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.U1")),1),createBaseVNode("button",{onClick:oe[1]||(oe[1]=_e=>J(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.U2")),1),createBaseVNode("button",{onClick:oe[2]||(oe[2]=_e=>J(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.U3")),1),createBaseVNode("button",{onClick:oe[3]||(oe[3]=_e=>J(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.U4")),1)])])])):createCommentVNode("",!0),(Ee=de.customId)!=null&&Ee.includes("::variation::1::")?(openBlock(),createElementBlock("div",_hoisted_13$6,[createBaseVNode("div",_hoisted_14$6,[createBaseVNode("div",_hoisted_15$6,[createBaseVNode("button",{onClick:oe[4]||(oe[4]=_e=>X(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.V1")),1),createBaseVNode("button",{onClick:oe[5]||(oe[5]=_e=>X(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.V2")),1),createBaseVNode("button",{onClick:oe[6]||(oe[6]=_e=>X(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.V3")),1),createBaseVNode("button",{onClick:oe[7]||(oe[7]=_e=>X(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.V4")),1)])])])):createCommentVNode("",!0),(ke=de.customId)!=null&&ke.includes("::PicReader::")?(openBlock(),createElementBlock("div",_hoisted_16$6,[createBaseVNode("div",_hoisted_17$6,[createBaseVNode("div",_hoisted_18$6,[createBaseVNode("button",{onClick:oe[8]||(oe[8]=_e=>W(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"}," 绘制 1️⃣ "),createBaseVNode("button",{onClick:oe[9]||(oe[9]=_e=>W(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"}," 绘制 2️⃣ "),createBaseVNode("button",{onClick:oe[10]||(oe[10]=_e=>W(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"}," 绘制 3️⃣ "),createBaseVNode("button",{onClick:oe[11]||(oe[11]=_e=>W(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"}," 绘制 4️⃣ ")])])])):createCommentVNode("",!0),(xe=de.customId)!=null&&xe.includes("::pan_left::1::")?(openBlock(),createElementBlock("div",_hoisted_19$5,[createBaseVNode("div",_hoisted_20$5,[createBaseVNode("div",_hoisted_21$3,[createBaseVNode("button",{onClick:oe[12]||(oe[12]=_e=>ce("left")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.panLeft")),1),createBaseVNode("button",{onClick:oe[13]||(oe[13]=_e=>ce("right")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.panRight")),1),createBaseVNode("button",{onClick:oe[14]||(oe[14]=_e=>ce("up")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.panUp")),1),createBaseVNode("button",{onClick:oe[15]||(oe[15]=_e=>ce("down")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.panDown")),1)])])])):createCommentVNode("",!0),(fe=de.customId)!=null&&fe.includes("Outpaint::50")?(openBlock(),createElementBlock("div",_hoisted_22$3,[createBaseVNode("div",_hoisted_23$3,[createBaseVNode("div",_hoisted_24$3,[(ve=de.customId)!=null&&ve.includes("Outpaint::50")?(openBlock(),createElementBlock("button",{key:0,onClick:oe[16]||(oe[16]=_e=>L(75)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.zoomIn15x")),1)):createCommentVNode("",!0),(ye=de.customId)!=null&&ye.includes("Outpaint::50")?(openBlock(),createElementBlock("button",{key:1,onClick:oe[17]||(oe[17]=_e=>L(50)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.zoomIn2x")),1)):createCommentVNode("",!0),(Ce=de.customId)!=null&&Ce.includes("low_variation")?(openBlock(),createElementBlock("button",{key:2,onClick:oe[18]||(oe[18]=_e=>Q("low")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.minorTransform")),1)):createCommentVNode("",!0),(pe=de.customId)!=null&&pe.includes("low_variation")?(openBlock(),createElementBlock("button",{key:3,onClick:oe[19]||(oe[19]=_e=>Q("high")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.strongTransform")),1)):createCommentVNode("",!0)])])])):createCommentVNode("",!0)])):createCommentVNode("",!0)])])]),createBaseVNode("div",_hoisted_25$3,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_26$3,[createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:ie},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_27$3,toDisplayString(unref(t$3)("chat.copy")),1)]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:he},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_28$3,toDisplayString(unref(t$3)("chat.delete")),1)])])])])])}}});var browser={exports:{}};/*! markmap-lib v0.14.4 | MIT License */(function(k,m){(function(M,G){G(m,katexExports)})(commonjsGlobal$1,function(M,G){function V(Y){return Y&&typeof Y=="object"&&"default"in Y?Y.default:Y}var q=V(G);function $(){return $=Object.assign?Object.assign.bind():function(Y){for(var nt=1;ntthis.revoke(nt)}revoke(nt){const _t=this.listeners.indexOf(nt);_t>=0&&this.listeners.splice(_t,1)}revokeAll(){this.listeners.splice(0)}call(...nt){for(const _t of this.listeners)_t(...nt)}}function B(){return B=Object.assign||function(Y){for(var nt=1;nt=0)&&(_t[Et]=Y[Et]);return _t}const U=["textContent"];function K(Y){return Y.replace(/[&<"]/g,nt=>({"&":"&","<":"<",'"':"""})[nt])}function z(Y){return Y.replace(/<(\/script>)/g,"\\x3c$2")}function e(Y,nt){const _t=nt?Object.entries(nt).map(([Ct,Et])=>{if(!(Et==null||Et===!1))return Ct=` ${K(Ct)}`,Et===!0?Ct:`${Ct}="${K(Et)}"`}).filter(Boolean).join(""):"";return`<${Y}${_t}>`}function ae(Y){return``}function ie(Y,nt,_t){return nt==null?e(Y,_t):e(Y,_t)+(nt||"")+ae(Y)}function he(Y,nt){const _t=nt.map(Ct=>typeof Ct=="function"?Ct.toString():JSON.stringify(Ct??null)).join(",");return`(${Y.toString()})(${_t})`}function J(Y,nt){return Y.map(_t=>{if(_t.type==="script"){const Ct=_t.data,{textContent:Et}=Ct,kt=R(Ct,U);return ie("script",Et||"",kt)}if(_t.type==="iife"){const{fn:Ct,getParams:Et}=_t.data;return ie("script",z(he(Ct,(Et==null?void 0:Et(nt))||[])))}return""})}function X(Y){return Y.map(nt=>nt.type==="stylesheet"?ie("link",null,B({rel:"stylesheet"},nt.data)):ie("style",nt.data))}Math.random().toString(36).slice(2,8);function W(Y,{before:nt,after:_t}){return function(...Et){const kt={args:Et,thisObj:this};try{nt&&nt(kt)}catch{}kt.result=Y.apply(kt.thisObj,kt.args);try{_t&&_t(kt)}catch{}return kt.result}}function L(Y){const nt={};return function(...Ct){const Et=`${Ct[0]}`;let kt=nt[Et];return kt||(kt={value:Y(...Ct)},nt[Et]=kt),kt.value}}function Q(Y,nt,_t){const Ct=document.createElement(Y);return nt&&Object.entries(nt).forEach(([Et,kt])=>{Ct[Et]=kt}),_t&&Object.entries(_t).forEach(([Et,kt])=>{Ct.setAttribute(Et,kt)}),Ct}const ce=L(Y=>{document.head.append(Q("link",{rel:"preload",as:"script",href:Y}))});async function de(Y,nt){if(!Y.loaded&&(Y.type==="script"&&(Y.loaded=new Promise((_t,Ct)=>{var Et;document.head.append(Q("script",B({},Y.data,{onload:_t,onerror:Ct}))),(Et=Y.data)!=null&&Et.src||_t(void 0)}).then(()=>{Y.loaded=!0})),Y.type==="iife")){const{fn:_t,getParams:Ct}=Y.data;_t(...(Ct==null?void 0:Ct(nt))||[]),Y.loaded=!0}await Y.loaded}async function oe(Y,nt){const _t=Y.filter(Ct=>{var Et;return Ct.type==="script"&&((Et=Ct.data)==null?void 0:Et.src)});_t.length>1&&_t.forEach(Ct=>ce(Ct.data.src)),nt=B({getMarkmap:()=>window.markmap},nt);for(const Ct of Y)await de(Ct,nt)}const se=` +`),M=M.replace(NULL_RE,"�"),m.src=M},block=function(m){var M;m.inlineMode?(M=new m.Token("inline","",0),M.content=m.src,M.map=[0,1],M.children=[],m.tokens.push(M)):m.md.block.parse(m.src,m.md,m.env,m.tokens)},inline=function(m){var M=m.tokens,G,V,q;for(V=0,q=M.length;V\s]/i.test(k)}function isLinkClose$1(k){return/^<\/a\s*>/i.test(k)}var linkify$1=function(m){var M,G,V,q,$,D,B,R,U,K,z,e,ae,ie,he,J,W=m.tokens,X;if(m.md.options.linkify){for(G=0,V=W.length;G=0;M--){if(D=q[M],D.type==="link_close"){for(M--;q[M].level!==D.level&&q[M].type!=="link_open";)M--;continue}if(D.type==="html_inline"&&(isLinkOpen$1(D.content)&&ae>0&&ae--,isLinkClose$1(D.content)&&ae++),!(ae>0)&&D.type==="text"&&m.md.linkify.test(D.content)){for(U=D.content,X=m.md.linkify.match(U),B=[],e=D.level,z=0,X.length>0&&X[0].index===0&&M>0&&q[M-1].type==="text_special"&&(X=X.slice(1)),R=0;Rz&&($=new m.Token("text","",0),$.content=U.slice(z,K),$.level=e,B.push($)),$=new m.Token("link_open","a",1),$.attrs=[["href",he]],$.level=e++,$.markup="linkify",$.info="auto",B.push($),$=new m.Token("text","",0),$.content=J,$.level=e,B.push($),$=new m.Token("link_close","a",-1),$.level=--e,$.markup="linkify",$.info="auto",B.push($),z=X[R].lastIndex);z=0;m--)M=k[m],M.type==="text"&&!G&&(M.content=M.content.replace(SCOPED_ABBR_RE,replaceFn)),M.type==="link_open"&&M.info==="auto"&&G--,M.type==="link_close"&&M.info==="auto"&&G++}function replace_rare(k){var m,M,G=0;for(m=k.length-1;m>=0;m--)M=k[m],M.type==="text"&&!G&&RARE_RE.test(M.content)&&(M.content=M.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),M.type==="link_open"&&M.info==="auto"&&G--,M.type==="link_close"&&M.info==="auto"&&G++}var replacements=function(m){var M;if(m.md.options.typographer)for(M=m.tokens.length-1;M>=0;M--)m.tokens[M].type==="inline"&&(SCOPED_ABBR_TEST_RE.test(m.tokens[M].content)&&replace_scoped(m.tokens[M].children),RARE_RE.test(m.tokens[M].content)&&replace_rare(m.tokens[M].children))},isWhiteSpace$1=utils$1.isWhiteSpace,isPunctChar$1=utils$1.isPunctChar,isMdAsciiPunct$1=utils$1.isMdAsciiPunct,QUOTE_TEST_RE=/['"]/,QUOTE_RE=/['"]/g,APOSTROPHE="’";function replaceAt(k,m,M){return k.slice(0,m)+M+k.slice(m+1)}function process_inlines(k,m){var M,G,V,q,$,D,B,R,U,K,z,e,ae,ie,he,J,W,X,L,Q,ce;for(L=[],M=0;M=0&&!(L[W].level<=B);W--);if(L.length=W+1,G.type==="text"){V=G.content,$=0,D=V.length;e:for(;$=0)U=V.charCodeAt(q.index-1);else for(W=M-1;W>=0&&!(k[W].type==="softbreak"||k[W].type==="hardbreak");W--)if(k[W].content){U=k[W].content.charCodeAt(k[W].content.length-1);break}if(K=32,$=48&&U<=57&&(J=he=!1),he&&J&&(he=z,J=e),!he&&!J){X&&(G.content=replaceAt(G.content,q.index,APOSTROPHE));continue}if(J){for(W=L.length-1;W>=0&&(R=L[W],!(L[W].level=0;M--)m.tokens[M].type!=="inline"||!QUOTE_TEST_RE.test(m.tokens[M].content)||process_inlines(m.tokens[M].children,m)},text_join=function(m){var M,G,V,q,$,D,B=m.tokens;for(M=0,G=B.length;M=0&&(G=this.attrs[M][1]),G};Token$3.prototype.attrJoin=function(m,M){var G=this.attrIndex(m);G<0?this.attrPush([m,M]):this.attrs[G][1]=this.attrs[G][1]+" "+M};var token=Token$3,Token$2=token;function StateCore(k,m,M){this.src=k,this.env=M,this.tokens=[],this.inlineMode=!1,this.md=m}StateCore.prototype.Token=Token$2;var state_core=StateCore,Ruler$2=ruler,_rules$2=[["normalize",normalize$1],["block",block],["inline",inline],["linkify",linkify$1],["replacements",replacements],["smartquotes",smartquotes],["text_join",text_join]];function Core(){this.ruler=new Ruler$2;for(var k=0;k<_rules$2.length;k++)this.ruler.push(_rules$2[k][0],_rules$2[k][1])}Core.prototype.process=function(k){var m,M,G;for(G=this.ruler.getRules(""),m=0,M=G.length;mG||(U=M+1,m.sCount[U]=4||(D=m.bMarks[U]+m.tShift[U],D>=m.eMarks[U])||(Q=m.src.charCodeAt(D++),Q!==124&&Q!==45&&Q!==58)||D>=m.eMarks[U]||(ce=m.src.charCodeAt(D++),ce!==124&&ce!==45&&ce!==58&&!isSpace$a(ce))||Q===45&&isSpace$a(ce))return!1;for(;D=4||(K=escapedSplit($),K.length&&K[0]===""&&K.shift(),K.length&&K[K.length-1]===""&&K.pop(),z=K.length,z===0||z!==ae.length))return!1;if(V)return!0;for(W=m.parentType,m.parentType="table",L=m.md.block.ruler.getRules("blockquote"),e=m.push("table_open","table",1),e.map=he=[M,0],e=m.push("thead_open","thead",1),e.map=[M,M+1],e=m.push("tr_open","tr",1),e.map=[M,M+1],B=0;B=4)break;for(K=escapedSplit($),K.length&&K[0]===""&&K.shift(),K.length&&K[K.length-1]===""&&K.pop(),U===M+2&&(e=m.push("tbody_open","tbody",1),e.map=J=[M+2,0]),e=m.push("tr_open","tr",1),e.map=[U,U+1],B=0;B=4){V++,q=V;continue}break}return m.line=q,$=m.push("code_block","code",0),$.content=m.getLines(M,q,4+m.blkIndent,!1)+` +`,$.map=[M,m.line],!0},fence=function(m,M,G,V){var q,$,D,B,R,U,K,z=!1,e=m.bMarks[M]+m.tShift[M],ae=m.eMarks[M];if(m.sCount[M]-m.blkIndent>=4||e+3>ae||(q=m.src.charCodeAt(e),q!==126&&q!==96)||(R=e,e=m.skipChars(e,q),$=e-R,$<3)||(K=m.src.slice(R,e),D=m.src.slice(e,ae),q===96&&D.indexOf(String.fromCharCode(q))>=0))return!1;if(V)return!0;for(B=M;B++,!(B>=G||(e=R=m.bMarks[B]+m.tShift[B],ae=m.eMarks[B],e=4)&&(e=m.skipChars(e,q),!(e-R<$)&&(e=m.skipSpaces(e),!(e=4||m.src.charCodeAt(me)!==62)return!1;if(V)return!0;for(ae=[],ie=[],W=[],X=[],ce=m.md.block.ruler.getRules("blockquote"),J=m.parentType,m.parentType="blockquote",z=M;z=Ee));z++){if(m.src.charCodeAt(me++)===62&&!se){for(B=m.sCount[z]+1,m.src.charCodeAt(me)===32?(me++,B++,q=!1,L=!0):m.src.charCodeAt(me)===9?(L=!0,(m.bsCount[z]+B)%4===3?(me++,B++,q=!1):q=!0):L=!1,e=B,ae.push(m.bMarks[z]),m.bMarks[z]=me;me=Ee,ie.push(m.bsCount[z]),m.bsCount[z]=m.sCount[z]+1+(L?1:0),W.push(m.sCount[z]),m.sCount[z]=e-B,X.push(m.tShift[z]),m.tShift[z]=me-m.bMarks[z];continue}if(U)break;for(Q=!1,D=0,R=ce.length;D",de.map=K=[M,0],m.md.block.tokenize(m,M,z),de=m.push("blockquote_close","blockquote",-1),de.markup=">",m.lineMax=oe,m.parentType=J,K[1]=m.line,D=0;D=4||(q=m.src.charCodeAt(R++),q!==42&&q!==45&&q!==95))return!1;for($=1;R=q||(M=k.src.charCodeAt(V++),M<48||M>57))return-1;for(;;){if(V>=q)return-1;if(M=k.src.charCodeAt(V++),M>=48&&M<=57){if(V-G>=10)return-1;continue}if(M===41||M===46)break;return-1}return V=4||m.listIndent>=0&&m.sCount[ye]-m.listIndent>=4&&m.sCount[ye]=m.blkIndent&&(Ce=!0),(me=skipOrderedListMarker(m,ye))>=0){if(K=!0,ke=m.bMarks[ye]+m.tShift[ye],J=Number(m.src.slice(ke,me-1)),Ce&&J!==1)return!1}else if((me=skipBulletListMarker(m,ye))>=0)K=!1;else return!1;if(Ce&&m.skipSpaces(me)>=m.eMarks[ye])return!1;if(V)return!0;for(he=m.src.charCodeAt(me-1),ie=m.tokens.length,K?(ve=m.push("ordered_list_open","ol",1),J!==1&&(ve.attrs=[["start",J]])):ve=m.push("bullet_list_open","ul",1),ve.map=ae=[ye,0],ve.markup=String.fromCharCode(he),Ee=!1,fe=m.md.block.ruler.getRules("list"),Q=m.parentType,m.parentType="list";ye=W?R=1:R=X-U,R>4&&(R=1),B=U+R,ve=m.push("list_item_open","li",1),ve.markup=String.fromCharCode(he),ve.map=z=[ye,0],K&&(ve.info=m.src.slice(ke,me-1)),se=m.tight,de=m.tShift[ye],ce=m.sCount[ye],L=m.listIndent,m.listIndent=m.blkIndent,m.blkIndent=B,m.tight=!0,m.tShift[ye]=$-m.bMarks[ye],m.sCount[ye]=X,$>=W&&m.isEmpty(ye+1)?m.line=Math.min(m.line+2,G):m.md.block.tokenize(m,ye,G,!0),(!m.tight||Ee)&&(pe=!1),Ee=m.line-ye>1&&m.isEmpty(m.line-1),m.blkIndent=m.listIndent,m.listIndent=L,m.tShift[ye]=de,m.sCount[ye]=ce,m.tight=se,ve=m.push("list_item_close","li",-1),ve.markup=String.fromCharCode(he),ye=m.line,z[1]=ye,ye>=G||m.sCount[ye]=4)break;for(xe=!1,D=0,e=fe.length;D=4||m.src.charCodeAt(ce)!==91)return!1;for(;++ce3)&&!(m.sCount[se]<0)){for(W=!1,U=0,K=X.length;U"u"&&(m.env.references={}),typeof m.env.references[z]>"u"&&(m.env.references[z]={title:L,href:R}),m.parentType=ae,m.line=M+Q+1),!0)},html_blocks=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],html_re={},attr_name="[a-zA-Z_:][a-zA-Z0-9:._-]*",unquoted="[^\"'=<>`\\x00-\\x20]+",single_quoted="'[^']*'",double_quoted='"[^"]*"',attr_value="(?:"+unquoted+"|"+single_quoted+"|"+double_quoted+")",attribute="(?:\\s+"+attr_name+"(?:\\s*=\\s*"+attr_value+")?)",open_tag="<[A-Za-z][A-Za-z0-9\\-]*"+attribute+"*\\s*\\/?>",close_tag="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",comment="|",processing="<[?][\\s\\S]*?[?]>",declaration="]*>",cdata="",HTML_TAG_RE$1=new RegExp("^(?:"+open_tag+"|"+close_tag+"|"+comment+"|"+processing+"|"+declaration+"|"+cdata+")"),HTML_OPEN_CLOSE_TAG_RE$1=new RegExp("^(?:"+open_tag+"|"+close_tag+")");html_re.HTML_TAG_RE=HTML_TAG_RE$1;html_re.HTML_OPEN_CLOSE_TAG_RE=HTML_OPEN_CLOSE_TAG_RE$1;var block_names=html_blocks,HTML_OPEN_CLOSE_TAG_RE=html_re.HTML_OPEN_CLOSE_TAG_RE,HTML_SEQUENCES=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(HTML_OPEN_CLOSE_TAG_RE.source+"\\s*$"),/^$/,!1]],html_block=function(m,M,G,V){var q,$,D,B,R=m.bMarks[M]+m.tShift[M],U=m.eMarks[M];if(m.sCount[M]-m.blkIndent>=4||!m.md.options.html||m.src.charCodeAt(R)!==60)return!1;for(B=m.src.slice(R,U),q=0;q=4||(q=m.src.charCodeAt(R),q!==35||R>=U))return!1;for($=1,q=m.src.charCodeAt(++R);q===35&&R6||RR&&isSpace$5(m.src.charCodeAt(D-1))&&(U=D),m.line=M+1,B=m.push("heading_open","h"+String($),1),B.markup="########".slice(0,$),B.map=[M,m.line],B=m.push("inline","",0),B.content=m.src.slice(R,U).trim(),B.map=[M,m.line],B.children=[],B=m.push("heading_close","h"+String($),-1),B.markup="########".slice(0,$)),!0)},lheading=function(m,M,G){var V,q,$,D,B,R,U,K,z,e=M+1,ae,ie=m.md.block.ruler.getRules("paragraph");if(m.sCount[M]-m.blkIndent>=4)return!1;for(ae=m.parentType,m.parentType="paragraph";e3)){if(m.sCount[e]>=m.blkIndent&&(R=m.bMarks[e]+m.tShift[e],U=m.eMarks[e],R=U)))){K=z===61?1:2;break}if(!(m.sCount[e]<0)){for(q=!1,$=0,D=ie.length;$3)&&!(m.sCount[U]<0)){for(q=!1,$=0,D=K.length;$0&&this.level++,this.tokens.push(G),G};StateBlock.prototype.isEmpty=function(m){return this.bMarks[m]+this.tShift[m]>=this.eMarks[m]};StateBlock.prototype.skipEmptyLines=function(m){for(var M=this.lineMax;mM;)if(!isSpace$4(this.src.charCodeAt(--m)))return m+1;return m};StateBlock.prototype.skipChars=function(m,M){for(var G=this.src.length;mG;)if(M!==this.src.charCodeAt(--m))return m+1;return m};StateBlock.prototype.getLines=function(m,M,G,V){var q,$,D,B,R,U,K,z=m;if(m>=M)return"";for(U=new Array(M-m),q=0;zG?U[q]=new Array($-G+1).join(" ")+this.src.slice(B,R):U[q]=this.src.slice(B,R)}return U.join("")};StateBlock.prototype.Token=Token$1;var state_block=StateBlock,Ruler$1=ruler,_rules$1=[["table",table,["paragraph","reference"]],["code",code],["fence",fence,["paragraph","reference","blockquote","list"]],["blockquote",blockquote,["paragraph","reference","blockquote","list"]],["hr",hr,["paragraph","reference","blockquote","list"]],["list",list,["paragraph","reference","blockquote"]],["reference",reference],["html_block",html_block,["paragraph","reference","blockquote"]],["heading",heading,["paragraph","reference","blockquote"]],["lheading",lheading],["paragraph",paragraph]];function ParserBlock$1(){this.ruler=new Ruler$1;for(var k=0;k<_rules$1.length;k++)this.ruler.push(_rules$1[k][0],_rules$1[k][1],{alt:(_rules$1[k][2]||[]).slice()})}ParserBlock$1.prototype.tokenize=function(k,m,M){for(var G,V,q,$=this.ruler.getRules(""),D=$.length,B=m,R=!1,U=k.md.options.maxNesting;B=M||k.sCount[B]=U){k.line=M;break}for(q=k.line,V=0;V=k.line)throw new Error("block rule didn't increment state.line");break}if(!G)throw new Error("none of the block rules matched");k.tight=!R,k.isEmpty(k.line-1)&&(R=!0),B=k.line,B0||(G=m.pos,V=m.posMax,G+3>V)||m.src.charCodeAt(G)!==58||m.src.charCodeAt(G+1)!==47||m.src.charCodeAt(G+2)!==47||(q=m.pending.match(SCHEME_RE),!q)||($=q[1],D=m.md.linkify.matchAtStart(m.src.slice(G-$.length)),!D)||(B=D.url,B.length<=$.length)||(B=B.replace(/\*+$/,""),R=m.md.normalizeLink(B),!m.md.validateLink(R))?!1:(M||(m.pending=m.pending.slice(0,-$.length),U=m.push("link_open","a",1),U.attrs=[["href",R]],U.markup="linkify",U.info="auto",U=m.push("text","",0),U.content=m.md.normalizeLinkText(B),U=m.push("link_close","a",-1),U.markup="linkify",U.info="auto"),m.pos+=B.length-$.length,!0)},isSpace$3=utils$1.isSpace,newline=function(m,M){var G,V,q,$=m.pos;if(m.src.charCodeAt($)!==10)return!1;if(G=m.pending.length-1,V=m.posMax,!M)if(G>=0&&m.pending.charCodeAt(G)===32)if(G>=1&&m.pending.charCodeAt(G-1)===32){for(q=G-1;q>=1&&m.pending.charCodeAt(q-1)===32;)q--;m.pending=m.pending.slice(0,q),m.push("hardbreak","br",0)}else m.pending=m.pending.slice(0,-1),m.push("softbreak","br",0);else m.push("softbreak","br",0);for($++;$?@[]^_`{|}~-".split("").forEach(function(k){ESCAPED[k.charCodeAt(0)]=1});var _escape=function(m,M){var G,V,q,$,D,B=m.pos,R=m.posMax;if(m.src.charCodeAt(B)!==92||(B++,B>=R))return!1;if(G=m.src.charCodeAt(B),G===10){for(M||m.push("hardbreak","br",0),B++;B=55296&&G<=56319&&B+1=56320&&V<=57343&&($+=m.src[B+1],B++)),q="\\"+$,M||(D=m.push("text_special","",0),G<256&&ESCAPED[G]!==0?D.content=$:D.content=q,D.markup=q,D.info="escape"),m.pos=B+1,!0},backticks=function(m,M){var G,V,q,$,D,B,R,U,K=m.pos,z=m.src.charCodeAt(K);if(z!==96)return!1;for(G=K,K++,V=m.posMax;K=0;M--)G=m[M],!(G.marker!==95&&G.marker!==42)&&G.end!==-1&&(V=m[G.end],D=M>0&&m[M-1].end===G.end+1&&m[M-1].marker===G.marker&&m[M-1].token===G.token-1&&m[G.end+1].token===V.token+1,$=String.fromCharCode(G.marker),q=k.tokens[G.token],q.type=D?"strong_open":"em_open",q.tag=D?"strong":"em",q.nesting=1,q.markup=D?$+$:$,q.content="",q=k.tokens[V.token],q.type=D?"strong_close":"em_close",q.tag=D?"strong":"em",q.nesting=-1,q.markup=D?$+$:$,q.content="",D&&(k.tokens[m[M-1].token].content="",k.tokens[m[G.end+1].token].content="",M--))}emphasis.postProcess=function(m){var M,G=m.tokens_meta,V=m.tokens_meta.length;for(postProcess(m,m.delimiters),M=0;M=ie)return!1;if(he=B,R=m.md.helpers.parseLinkDestination(m.src,B,m.posMax),R.ok){for(z=m.md.normalizeLink(R.str),m.md.validateLink(z)?B=R.pos:z="",he=B;B=ie||m.src.charCodeAt(B)!==41)&&(J=!0),B++}if(J){if(typeof m.env.references>"u")return!1;if(B=0?q=m.src.slice(he,B++):B=$+1):B=$+1,q||(q=m.src.slice(D,$)),U=m.env.references[normalizeReference$1(q)],!U)return m.pos=ae,!1;z=U.href,e=U.title}return M||(m.pos=D,m.posMax=$,K=m.push("link_open","a",1),K.attrs=G=[["href",z]],e&&G.push(["title",e]),m.linkLevel++,m.md.inline.tokenize(m),m.linkLevel--,K=m.push("link_close","a",-1)),m.pos=B,m.posMax=ie,!0},normalizeReference=utils$1.normalizeReference,isSpace=utils$1.isSpace,image=function(m,M){var G,V,q,$,D,B,R,U,K,z,e,ae,ie,he="",J=m.pos,W=m.posMax;if(m.src.charCodeAt(m.pos)!==33||m.src.charCodeAt(m.pos+1)!==91||(B=m.pos+2,D=m.md.helpers.parseLinkLabel(m,m.pos+1,!1),D<0))return!1;if(R=D+1,R=W)return!1;for(ie=R,K=m.md.helpers.parseLinkDestination(m.src,R,m.posMax),K.ok&&(he=m.md.normalizeLink(K.str),m.md.validateLink(he)?R=K.pos:he=""),ie=R;R=W||m.src.charCodeAt(R)!==41)return m.pos=J,!1;R++}else{if(typeof m.env.references>"u")return!1;if(R=0?$=m.src.slice(ie,R++):R=D+1):R=D+1,$||($=m.src.slice(B,D)),U=m.env.references[normalizeReference($)],!U)return m.pos=J,!1;he=U.href,z=U.title}return M||(q=m.src.slice(B,D),m.md.inline.parse(q,m.md,m.env,ae=[]),e=m.push("image","img",0),e.attrs=G=[["src",he],["alt",""]],e.children=ae,e.content=q,z&&G.push(["title",z])),m.pos=R,m.posMax=W,!0},EMAIL_RE=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,AUTOLINK_RE=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/,autolink=function(m,M){var G,V,q,$,D,B,R=m.pos;if(m.src.charCodeAt(R)!==60)return!1;for(D=m.pos,B=m.posMax;;){if(++R>=B||($=m.src.charCodeAt(R),$===60))return!1;if($===62)break}return G=m.src.slice(D+1,R),AUTOLINK_RE.test(G)?(V=m.md.normalizeLink(G),m.md.validateLink(V)?(M||(q=m.push("link_open","a",1),q.attrs=[["href",V]],q.markup="autolink",q.info="auto",q=m.push("text","",0),q.content=m.md.normalizeLinkText(G),q=m.push("link_close","a",-1),q.markup="autolink",q.info="auto"),m.pos+=G.length+2,!0):!1):EMAIL_RE.test(G)?(V=m.md.normalizeLink("mailto:"+G),m.md.validateLink(V)?(M||(q=m.push("link_open","a",1),q.attrs=[["href",V]],q.markup="autolink",q.info="auto",q=m.push("text","",0),q.content=m.md.normalizeLinkText(G),q=m.push("link_close","a",-1),q.markup="autolink",q.info="auto"),m.pos+=G.length+2,!0):!1):!1},HTML_TAG_RE=html_re.HTML_TAG_RE;function isLinkOpen(k){return/^\s]/i.test(k)}function isLinkClose(k){return/^<\/a\s*>/i.test(k)}function isLetter(k){var m=k|32;return m>=97&&m<=122}var html_inline=function(m,M){var G,V,q,$,D=m.pos;return!m.md.options.html||(q=m.posMax,m.src.charCodeAt(D)!==60||D+2>=q)||(G=m.src.charCodeAt(D+1),G!==33&&G!==63&&G!==47&&!isLetter(G))||(V=m.src.slice(D).match(HTML_TAG_RE),!V)?!1:(M||($=m.push("html_inline","",0),$.content=V[0],isLinkOpen($.content)&&m.linkLevel++,isLinkClose($.content)&&m.linkLevel--),m.pos+=V[0].length,!0)},entities=entities$1,has$2=utils$1.has,isValidEntityCode=utils$1.isValidEntityCode,fromCodePoint=utils$1.fromCodePoint,DIGITAL_RE=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,NAMED_RE=/^&([a-z][a-z0-9]{1,31});/i,entity=function(m,M){var G,V,q,$,D=m.pos,B=m.posMax;if(m.src.charCodeAt(D)!==38||D+1>=B)return!1;if(G=m.src.charCodeAt(D+1),G===35){if(q=m.src.slice(D).match(DIGITAL_RE),q)return M||(V=q[1][0].toLowerCase()==="x"?parseInt(q[1].slice(1),16):parseInt(q[1],10),$=m.push("text_special","",0),$.content=isValidEntityCode(V)?fromCodePoint(V):fromCodePoint(65533),$.markup=q[0],$.info="entity"),m.pos+=q[0].length,!0}else if(q=m.src.slice(D).match(NAMED_RE),q&&has$2(entities,q[1]))return M||($=m.push("text_special","",0),$.content=entities[q[1]],$.markup=q[0],$.info="entity"),m.pos+=q[0].length,!0;return!1};function processDelimiters(k){var m,M,G,V,q,$,D,B,R={},U=k.length;if(U){var K=0,z=-2,e=[];for(m=0;mq;M-=e[M]+1)if(V=k[M],V.marker===G.marker&&V.open&&V.end<0&&(D=!1,(V.close||G.open)&&(V.length+G.length)%3===0&&(V.length%3!==0||G.length%3!==0)&&(D=!0),!D)){B=M>0&&!k[M-1].open?e[M-1]+1:0,e[m]=m-M+B,e[M]=B,G.open=!1,V.end=m,V.close=!1,$=-1,z=-2;break}$!==-1&&(R[G.marker][(G.open?3:0)+(G.length||0)%3]=$)}}}var balance_pairs=function(m){var M,G=m.tokens_meta,V=m.tokens_meta.length;for(processDelimiters(m.delimiters),M=0;M0&&V++,q[M].type==="text"&&M+1<$&&q[M+1].type==="text"?q[M+1].content=q[M].content+q[M+1].content:(M!==G&&(q[G]=q[M]),G++);M!==G&&(q.length=G)},Token=token,isWhiteSpace=utils$1.isWhiteSpace,isPunctChar=utils$1.isPunctChar,isMdAsciiPunct=utils$1.isMdAsciiPunct;function StateInline(k,m,M,G){this.src=k,this.env=M,this.md=m,this.tokens=G,this.tokens_meta=Array(G.length),this.pos=0,this.posMax=this.src.length,this.level=0,this.pending="",this.pendingLevel=0,this.cache={},this.delimiters=[],this._prev_delimiters=[],this.backticks={},this.backticksScanned=!1,this.linkLevel=0}StateInline.prototype.pushPending=function(){var k=new Token("text","",0);return k.content=this.pending,k.level=this.pendingLevel,this.tokens.push(k),this.pending="",k};StateInline.prototype.push=function(k,m,M){this.pending&&this.pushPending();var G=new Token(k,m,M),V=null;return M<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),G.level=this.level,M>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],V={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(G),this.tokens_meta.push(V),G};StateInline.prototype.scanDelims=function(k,m){var M=k,G,V,q,$,D,B,R,U,K,z=!0,e=!0,ae=this.posMax,ie=this.src.charCodeAt(k);for(G=k>0?this.src.charCodeAt(k-1):32;M=k.pos)throw new Error("inline rule didn't increment state.pos");break}}else k.pos=k.posMax;m||k.pos++,D[G]=k.pos};ParserInline$1.prototype.tokenize=function(k){for(var m,M,G,V=this.ruler.getRules(""),q=V.length,$=k.posMax,D=k.md.options.maxNesting;k.pos<$;){if(G=k.pos,k.level=k.pos)throw new Error("inline rule didn't increment state.pos");break}}if(m){if(k.pos>=$)break;continue}k.pending+=k.src[k.pos++]}k.pending&&k.pushPending()};ParserInline$1.prototype.parse=function(k,m,M,G){var V,q,$,D=new this.State(k,m,M,G);for(this.tokenize(D),q=this.ruler2.getRules(""),$=q.length,V=0;V<$;V++)q[V](D)};ParserInline$1.prototype.State=state_inline;var parser_inline=ParserInline$1,re,hasRequiredRe;function requireRe(){return hasRequiredRe||(hasRequiredRe=1,re=function(k){var m={};k=k||{},m.src_Any=requireRegex$3().source,m.src_Cc=requireRegex$2().source,m.src_Z=requireRegex().source,m.src_P=regex$4.source,m.src_ZPCc=[m.src_Z,m.src_P,m.src_Cc].join("|"),m.src_ZCc=[m.src_Z,m.src_Cc].join("|");var M="[><|]";return m.src_pseudo_letter="(?:(?!"+M+"|"+m.src_ZPCc+")"+m.src_Any+")",m.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",m.src_auth="(?:(?:(?!"+m.src_ZCc+"|[@/\\[\\]()]).)+@)?",m.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",m.src_host_terminator="(?=$|"+M+"|"+m.src_ZPCc+")(?!"+(k["---"]?"-(?!--)|":"-|")+"_|:\\d|\\.-|\\.(?!$|"+m.src_ZPCc+"))",m.src_path="(?:[/?#](?:(?!"+m.src_ZCc+"|"+M+`|[()[\\]{}.,"'?!\\-;]).|\\[(?:(?!`+m.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+m.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+m.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+m.src_ZCc+`|["]).)+\\"|\\'(?:(?!`+m.src_ZCc+"|[']).)+\\'|\\'(?="+m.src_pseudo_letter+"|[-])|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+m.src_ZCc+"|[.]|$)|"+(k["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+m.src_ZCc+"|$)|;(?!"+m.src_ZCc+"|$)|\\!+(?!"+m.src_ZCc+"|[!]|$)|\\?(?!"+m.src_ZCc+"|[?]|$))+|\\/)?",m.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',m.src_xn="xn--[a-z0-9\\-]{1,59}",m.src_domain_root="(?:"+m.src_xn+"|"+m.src_pseudo_letter+"{1,63})",m.src_domain="(?:"+m.src_xn+"|(?:"+m.src_pseudo_letter+")|(?:"+m.src_pseudo_letter+"(?:-|"+m.src_pseudo_letter+"){0,61}"+m.src_pseudo_letter+"))",m.src_host="(?:(?:(?:(?:"+m.src_domain+")\\.)*"+m.src_domain+"))",m.tpl_host_fuzzy="(?:"+m.src_ip4+"|(?:(?:(?:"+m.src_domain+")\\.)+(?:%TLDS%)))",m.tpl_host_no_ip_fuzzy="(?:(?:(?:"+m.src_domain+")\\.)+(?:%TLDS%))",m.src_host_strict=m.src_host+m.src_host_terminator,m.tpl_host_fuzzy_strict=m.tpl_host_fuzzy+m.src_host_terminator,m.src_host_port_strict=m.src_host+m.src_port+m.src_host_terminator,m.tpl_host_port_fuzzy_strict=m.tpl_host_fuzzy+m.src_port+m.src_host_terminator,m.tpl_host_port_no_ip_fuzzy_strict=m.tpl_host_no_ip_fuzzy+m.src_port+m.src_host_terminator,m.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+m.src_ZPCc+"|>|$))",m.tpl_email_fuzzy="(^|"+M+'|"|\\(|'+m.src_ZCc+")("+m.src_email_name+"@"+m.tpl_host_fuzzy_strict+")",m.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+m.src_ZPCc+"))((?![$+<=>^`||])"+m.tpl_host_port_fuzzy_strict+m.src_path+")",m.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+m.src_ZPCc+"))((?![$+<=>^`||])"+m.tpl_host_port_no_ip_fuzzy_strict+m.src_path+")",m}),re}function assign(k){var m=Array.prototype.slice.call(arguments,1);return m.forEach(function(M){M&&Object.keys(M).forEach(function(G){k[G]=M[G]})}),k}function _class(k){return Object.prototype.toString.call(k)}function isString(k){return _class(k)==="[object String]"}function isObject$1(k){return _class(k)==="[object Object]"}function isRegExp(k){return _class(k)==="[object RegExp]"}function isFunction(k){return _class(k)==="[object Function]"}function escapeRE(k){return k.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var defaultOptions={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function isOptionsObj(k){return Object.keys(k||{}).reduce(function(m,M){return m||defaultOptions.hasOwnProperty(M)},!1)}var defaultSchemas={"http:":{validate:function(k,m,M){var G=k.slice(m);return M.re.http||(M.re.http=new RegExp("^\\/\\/"+M.re.src_auth+M.re.src_host_port_strict+M.re.src_path,"i")),M.re.http.test(G)?G.match(M.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(k,m,M){var G=k.slice(m);return M.re.no_http||(M.re.no_http=new RegExp("^"+M.re.src_auth+"(?:localhost|(?:(?:"+M.re.src_domain+")\\.)+"+M.re.src_domain_root+")"+M.re.src_port+M.re.src_host_terminator+M.re.src_path,"i")),M.re.no_http.test(G)?m>=3&&k[m-3]===":"||m>=3&&k[m-3]==="/"?0:G.match(M.re.no_http)[0].length:0}},"mailto:":{validate:function(k,m,M){var G=k.slice(m);return M.re.mailto||(M.re.mailto=new RegExp("^"+M.re.src_email_name+"@"+M.re.src_host_strict,"i")),M.re.mailto.test(G)?G.match(M.re.mailto)[0].length:0}}},tlds_2ch_src_re="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",tlds_default="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function resetScanCache(k){k.__index__=-1,k.__text_cache__=""}function createValidator(k){return function(m,M){var G=m.slice(M);return k.test(G)?G.match(k)[0].length:0}}function createNormalizer(){return function(k,m){m.normalize(k)}}function compile(k){var m=k.re=requireRe()(k.__opts__),M=k.__tlds__.slice();k.onCompile(),k.__tlds_replaced__||M.push(tlds_2ch_src_re),M.push(m.src_xn),m.src_tlds=M.join("|");function G(D){return D.replace("%TLDS%",m.src_tlds)}m.email_fuzzy=RegExp(G(m.tpl_email_fuzzy),"i"),m.link_fuzzy=RegExp(G(m.tpl_link_fuzzy),"i"),m.link_no_ip_fuzzy=RegExp(G(m.tpl_link_no_ip_fuzzy),"i"),m.host_fuzzy_test=RegExp(G(m.tpl_host_fuzzy_test),"i");var V=[];k.__compiled__={};function q(D,B){throw new Error('(LinkifyIt) Invalid schema "'+D+'": '+B)}Object.keys(k.__schemas__).forEach(function(D){var B=k.__schemas__[D];if(B!==null){var R={validate:null,link:null};if(k.__compiled__[D]=R,isObject$1(B)){isRegExp(B.validate)?R.validate=createValidator(B.validate):isFunction(B.validate)?R.validate=B.validate:q(D,B),isFunction(B.normalize)?R.normalize=B.normalize:B.normalize?q(D,B):R.normalize=createNormalizer();return}if(isString(B)){V.push(D);return}q(D,B)}}),V.forEach(function(D){k.__compiled__[k.__schemas__[D]]&&(k.__compiled__[D].validate=k.__compiled__[k.__schemas__[D]].validate,k.__compiled__[D].normalize=k.__compiled__[k.__schemas__[D]].normalize)}),k.__compiled__[""]={validate:null,normalize:createNormalizer()};var $=Object.keys(k.__compiled__).filter(function(D){return D.length>0&&k.__compiled__[D]}).map(escapeRE).join("|");k.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+m.src_ZPCc+"))("+$+")","i"),k.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+m.src_ZPCc+"))("+$+")","ig"),k.re.schema_at_start=RegExp("^"+k.re.schema_search.source,"i"),k.re.pretest=RegExp("("+k.re.schema_test.source+")|("+k.re.host_fuzzy_test.source+")|@","i"),resetScanCache(k)}function Match(k,m){var M=k.__index__,G=k.__last_index__,V=k.__text_cache__.slice(M,G);this.schema=k.__schema__.toLowerCase(),this.index=M+m,this.lastIndex=G+m,this.raw=V,this.text=V,this.url=V}function createMatch(k,m){var M=new Match(k,m);return k.__compiled__[M.schema].normalize(M,k),M}function LinkifyIt$1(k,m){if(!(this instanceof LinkifyIt$1))return new LinkifyIt$1(k,m);m||isOptionsObj(k)&&(m=k,k={}),this.__opts__=assign({},defaultOptions,m),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=assign({},defaultSchemas,k),this.__compiled__={},this.__tlds__=tlds_default,this.__tlds_replaced__=!1,this.re={},compile(this)}LinkifyIt$1.prototype.add=function(m,M){return this.__schemas__[m]=M,compile(this),this};LinkifyIt$1.prototype.set=function(m){return this.__opts__=assign(this.__opts__,m),this};LinkifyIt$1.prototype.test=function(m){if(this.__text_cache__=m,this.__index__=-1,!m.length)return!1;var M,G,V,q,$,D,B,R,U;if(this.re.schema_test.test(m)){for(B=this.re.schema_search,B.lastIndex=0;(M=B.exec(m))!==null;)if(q=this.testSchemaAt(m,M[2],B.lastIndex),q){this.__schema__=M[2],this.__index__=M.index+M[1].length,this.__last_index__=M.index+M[0].length+q;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(R=m.search(this.re.host_fuzzy_test),R>=0&&(this.__index__<0||R=0&&(V=m.match(this.re.email_fuzzy))!==null&&($=V.index+V[1].length,D=V.index+V[0].length,(this.__index__<0||$this.__last_index__)&&(this.__schema__="mailto:",this.__index__=$,this.__last_index__=D))),this.__index__>=0};LinkifyIt$1.prototype.pretest=function(m){return this.re.pretest.test(m)};LinkifyIt$1.prototype.testSchemaAt=function(m,M,G){return this.__compiled__[M.toLowerCase()]?this.__compiled__[M.toLowerCase()].validate(m,G,this):0};LinkifyIt$1.prototype.match=function(m){var M=0,G=[];this.__index__>=0&&this.__text_cache__===m&&(G.push(createMatch(this,M)),M=this.__last_index__);for(var V=M?m.slice(M):m;this.test(V);)G.push(createMatch(this,M)),V=V.slice(this.__last_index__),M+=this.__last_index__;return G.length?G:null};LinkifyIt$1.prototype.matchAtStart=function(m){if(this.__text_cache__=m,this.__index__=-1,!m.length)return null;var M=this.re.schema_at_start.exec(m);if(!M)return null;var G=this.testSchemaAt(m,M[2],M[0].length);return G?(this.__schema__=M[2],this.__index__=M.index+M[1].length,this.__last_index__=M.index+M[0].length+G,createMatch(this,0)):null};LinkifyIt$1.prototype.tlds=function(m,M){return m=Array.isArray(m)?m:[m],M?(this.__tlds__=this.__tlds__.concat(m).sort().filter(function(G,V,q){return G!==q[V-1]}).reverse(),compile(this),this):(this.__tlds__=m.slice(),this.__tlds_replaced__=!0,compile(this),this)};LinkifyIt$1.prototype.normalize=function(m){m.schema||(m.url="http://"+m.url),m.schema==="mailto:"&&!/^mailto:/i.test(m.url)&&(m.url="mailto:"+m.url)};LinkifyIt$1.prototype.onCompile=function(){};var linkifyIt=LinkifyIt$1;const maxInt=2147483647,base=36,tMin=1,tMax=26,skew=38,damp=700,initialBias=72,initialN=128,delimiter="-",regexPunycode=/^xn--/,regexNonASCII=/[^\0-\x7F]/,regexSeparators=/[\x2E\u3002\uFF0E\uFF61]/g,errors={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},baseMinusTMin=base-tMin,floor$1=Math.floor,stringFromCharCode=String.fromCharCode;function error(k){throw new RangeError(errors[k])}function map(k,m){const M=[];let G=k.length;for(;G--;)M[G]=m(k[G]);return M}function mapDomain(k,m){const M=k.split("@");let G="";M.length>1&&(G=M[0]+"@",k=M[1]),k=k.replace(regexSeparators,".");const V=k.split("."),q=map(V,m).join(".");return G+q}function ucs2decode(k){const m=[];let M=0;const G=k.length;for(;M=55296&&V<=56319&&MString.fromCodePoint(...k),basicToDigit=function(k){return k>=48&&k<58?26+(k-48):k>=65&&k<91?k-65:k>=97&&k<123?k-97:base},digitToBasic=function(k,m){return k+22+75*(k<26)-((m!=0)<<5)},adapt=function(k,m,M){let G=0;for(k=M?floor$1(k/damp):k>>1,k+=floor$1(k/m);k>baseMinusTMin*tMax>>1;G+=base)k=floor$1(k/baseMinusTMin);return floor$1(G+(baseMinusTMin+1)*k/(k+skew))},decode=function(k){const m=[],M=k.length;let G=0,V=initialN,q=initialBias,$=k.lastIndexOf(delimiter);$<0&&($=0);for(let D=0;D<$;++D)k.charCodeAt(D)>=128&&error("not-basic"),m.push(k.charCodeAt(D));for(let D=$>0?$+1:0;D=M&&error("invalid-input");const z=basicToDigit(k.charCodeAt(D++));z>=base&&error("invalid-input"),z>floor$1((maxInt-G)/U)&&error("overflow"),G+=z*U;const e=K<=q?tMin:K>=q+tMax?tMax:K-q;if(zfloor$1(maxInt/ae)&&error("overflow"),U*=ae}const R=m.length+1;q=adapt(G-B,R,B==0),floor$1(G/R)>maxInt-V&&error("overflow"),V+=floor$1(G/R),G%=R,m.splice(G++,0,V)}return String.fromCodePoint(...m)},encode=function(k){const m=[];k=ucs2decode(k);const M=k.length;let G=initialN,V=0,q=initialBias;for(const B of k)B<128&&m.push(stringFromCharCode(B));const $=m.length;let D=$;for($&&m.push(delimiter);D=G&&Ufloor$1((maxInt-V)/R)&&error("overflow"),V+=(B-G)*R,G=B;for(const U of k)if(UmaxInt&&error("overflow"),U===G){let K=V;for(let z=base;;z+=base){const e=z<=q?tMin:z>=q+tMax?tMax:z-q;if(K=0))try{m.hostname=punycode.toASCII(m.hostname)}catch{}return mdurl.encode(mdurl.format(m))}function normalizeLinkText(k){var m=mdurl.parse(k,!0);if(m.hostname&&(!m.protocol||RECODE_HOSTNAME_FOR.indexOf(m.protocol)>=0))try{m.hostname=punycode.toUnicode(m.hostname)}catch{}return mdurl.decode(mdurl.format(m),mdurl.decode.defaultChars+"%")}function MarkdownIt$1(k,m){if(!(this instanceof MarkdownIt$1))return new MarkdownIt$1(k,m);m||utils.isString(k)||(m=k||{},k="default"),this.inline=new ParserInline,this.block=new ParserBlock,this.core=new ParserCore,this.renderer=new Renderer,this.linkify=new LinkifyIt,this.validateLink=validateLink,this.normalizeLink=normalizeLink,this.normalizeLinkText=normalizeLinkText,this.utils=utils,this.helpers=utils.assign({},helpers),this.options={},this.configure(k),m&&this.set(m)}MarkdownIt$1.prototype.set=function(k){return utils.assign(this.options,k),this};MarkdownIt$1.prototype.configure=function(k){var m=this,M;if(utils.isString(k)&&(M=k,k=config[M],!k))throw new Error('Wrong `markdown-it` preset "'+M+'", check name');if(!k)throw new Error("Wrong `markdown-it` preset, can't be empty");return k.options&&m.set(k.options),k.components&&Object.keys(k.components).forEach(function(G){k.components[G].rules&&m[G].ruler.enableOnly(k.components[G].rules),k.components[G].rules2&&m[G].ruler2.enableOnly(k.components[G].rules2)}),this};MarkdownIt$1.prototype.enable=function(k,m){var M=[];Array.isArray(k)||(k=[k]),["core","block","inline"].forEach(function(V){M=M.concat(this[V].ruler.enable(k,!0))},this),M=M.concat(this.inline.ruler2.enable(k,!0));var G=k.filter(function(V){return M.indexOf(V)<0});if(G.length&&!m)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+G);return this};MarkdownIt$1.prototype.disable=function(k,m){var M=[];Array.isArray(k)||(k=[k]),["core","block","inline"].forEach(function(V){M=M.concat(this[V].ruler.disable(k,!0))},this),M=M.concat(this.inline.ruler2.disable(k,!0));var G=k.filter(function(V){return M.indexOf(V)<0});if(G.length&&!m)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+G);return this};MarkdownIt$1.prototype.use=function(k){var m=[this].concat(Array.prototype.slice.call(arguments,1));return k.apply(k,m),this};MarkdownIt$1.prototype.parse=function(k,m){if(typeof k!="string")throw new Error("Input data should be a String");var M=new this.core.State(k,this,m);return this.core.process(M),M.tokens};MarkdownIt$1.prototype.render=function(k,m){return m=m||{},this.renderer.render(this.parse(k,m),this.options,m)};MarkdownIt$1.prototype.parseInline=function(k,m){var M=new this.core.State(k,this,m);return M.inlineMode=!0,this.core.process(M),M.tokens};MarkdownIt$1.prototype.renderInline=function(k,m){return m=m||{},this.renderer.render(this.parseInline(k,m),this.options,m)};var lib$1=MarkdownIt$1,markdownIt=lib$1;const MarkdownIt=getDefaultExportFromCjs(markdownIt);function findFirstMatchingConfig(k,m){var M,G,V=k.attrs[k.attrIndex("href")][1];for(M=0;Mq.fileInfo?q.fileInfo.split(","):[]);computed(()=>{try{return JSON.parse(q.customId).buttons||[]}catch{return[]}});const q=k,$=M;useMessage();const{isMobile:D}=useBasicLayout();let B;watch(()=>q.status,de=>{B!==void 0&&(clearInterval(B),B=void 0),de===2&&(B=window.setInterval(async()=>{await U.queryActiveChatLogList()},5e3))},{immediate:!0}),onUnmounted(()=>{B!==void 0&&clearInterval(B)}),onUnmounted(()=>{clearInterval(B)});const R=ref(),U=useChatStore(),K=new MarkdownIt({linkify:!0,highlight(de,se){if(!!(se&&HighlightJS.getLanguage(se))){const me=se??"";return ae(HighlightJS.highlight(de,{language:me}).value,me)}return ae(HighlightJS.highlightAuto(de).value,"")}}),z=computed(()=>q.fileInfo);K.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),K.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const e=computed(()=>{const de=q.text??"";return q.asRawText?de:K.render(de)});function ae(de,se){return`
${se}${t$3("chat.copyCode")}
${de}
`}function ie(){$("copy")}function he(){$("delete")}async function J(de){try{let se;se=JSON.parse(q.customId);const oe=se.find(me=>me.customId.includes(`upsample::${de}`));if(oe){const me=oe.customId;await G({msg:t$3("chat.enlargeImagePrefix")+de+t$3("chat.enlargeImageSuffix"),action:"UPSCALE",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}}catch{}}async function W(de){try{let se;se=JSON.parse(q.customId);const oe=se.find(me=>me.customId.includes(`variation::${de}`));if(oe){const me=oe.customId;await G({msg:t$3("chat.transformImagePrefix")+de+t$3("chat.transformImageSuffix"),action:"UPSCALE",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}}catch{}}async function X(de){try{let se;se=JSON.parse(q.customId);const oe=se.find(me=>me.customId.includes(`MJ::Job::PicReader::${de}`));if(oe){const me=oe.customId;await G({msg:`绘制第 ${de}张图片`,action:"PICREADER",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}else console.error(`未找到适配的绘制任务按钮:MJ::Job::PicReader::${de}`)}catch(se){console.error("提交变换绘制任务失败",se)}}async function L(de){try{let se;se=JSON.parse(q.customId);const oe=se.find(me=>me.customId.includes(`Outpaint::${de}`));if(oe){const me=oe.customId;await G({msg:t$3("chat.expandDrawing"),action:"UPSCALE",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}}catch{}}async function Q(de){try{let se;se=JSON.parse(q.customId);const oe=se.find(me=>me.customId.includes(`${de}`));if(oe){const me=oe.customId;await G({msg:t$3("chat.advancedTransform"),action:"UPSCALE",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}}catch{}}async function ce(de){try{let se;se=JSON.parse(q.customId);const oe=se.find(me=>me.customId.includes(`pan_${de}`));if(oe){const me=oe.customId;await G({msg:t$3("chat.translateImage"),action:"UPSCALE",drawId:q.drawId,customId:me,modelType:2,model:"midjourney",modelName:q.modelName})}}catch{}}return m({textRef:R}),(de,se)=>{var oe,me,Ee,ke,xe,fe,ve,ye,Ce,pe;return openBlock(),createElementBlock("div",_hoisted_1$j,[createBaseVNode("div",{ref_key:"textRef",ref:R,class:"leading-relaxed break-words w-full"},[createBaseVNode("div",_hoisted_2$i,[createBaseVNode("div",_hoisted_3$h,[de.status===2&&!e.value?(openBlock(),createElementBlock("span",_hoisted_4$e)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$d,[createBaseVNode("div",_hoisted_6$c,[createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":de.status===1||de.status===2||!e.value}]),innerHTML:e.value},null,10,_hoisted_7$b)])])])])],512),createBaseVNode("div",_hoisted_8$a,[createBaseVNode("div",null,[createBaseVNode("div",null,[createBaseVNode("div",null,[createBaseVNode("div",{class:"my-1 flex w-auto",style:normalizeStyle({maxWidth:unref(D)?"100%":"",maxHeight:unref(D)?"":"30vh",objectFit:"contain"})},[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(V.value,(_e,Ge)=>(openBlock(),createBlock(unref(NImage),{key:Ge,src:_e,"preview-src":_e,alt:"图片",class:"rounded-md flex mb-1 mr-4",style:{maxWidth:"100%",maxHeight:"100%",objectFit:"contain"}},null,8,["src","preview-src"]))),128))],4)]),(oe=de.model)!=null&&oe.includes("midjourney")&&z.value&&de.status===3?(openBlock(),createElementBlock("div",_hoisted_9$a,[(me=de.customId)!=null&&me.includes("::upsample::1::")?(openBlock(),createElementBlock("div",_hoisted_10$9,[createBaseVNode("div",_hoisted_11$8,[createBaseVNode("div",_hoisted_12$7,[createBaseVNode("button",{onClick:se[0]||(se[0]=_e=>J(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.U1")),1),createBaseVNode("button",{onClick:se[1]||(se[1]=_e=>J(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.U2")),1),createBaseVNode("button",{onClick:se[2]||(se[2]=_e=>J(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.U3")),1),createBaseVNode("button",{onClick:se[3]||(se[3]=_e=>J(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.U4")),1)])])])):createCommentVNode("",!0),(Ee=de.customId)!=null&&Ee.includes("::variation::1::")?(openBlock(),createElementBlock("div",_hoisted_13$6,[createBaseVNode("div",_hoisted_14$6,[createBaseVNode("div",_hoisted_15$6,[createBaseVNode("button",{onClick:se[4]||(se[4]=_e=>W(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.V1")),1),createBaseVNode("button",{onClick:se[5]||(se[5]=_e=>W(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.V2")),1),createBaseVNode("button",{onClick:se[6]||(se[6]=_e=>W(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.V3")),1),createBaseVNode("button",{onClick:se[7]||(se[7]=_e=>W(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.V4")),1)])])])):createCommentVNode("",!0),(ke=de.customId)!=null&&ke.includes("::PicReader::")?(openBlock(),createElementBlock("div",_hoisted_16$6,[createBaseVNode("div",_hoisted_17$6,[createBaseVNode("div",_hoisted_18$6,[createBaseVNode("button",{onClick:se[8]||(se[8]=_e=>X(1)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"}," 绘制 1️⃣ "),createBaseVNode("button",{onClick:se[9]||(se[9]=_e=>X(2)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"}," 绘制 2️⃣ "),createBaseVNode("button",{onClick:se[10]||(se[10]=_e=>X(3)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"}," 绘制 3️⃣ "),createBaseVNode("button",{onClick:se[11]||(se[11]=_e=>X(4)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"}," 绘制 4️⃣ ")])])])):createCommentVNode("",!0),(xe=de.customId)!=null&&xe.includes("::pan_left::1::")?(openBlock(),createElementBlock("div",_hoisted_19$5,[createBaseVNode("div",_hoisted_20$5,[createBaseVNode("div",_hoisted_21$4,[createBaseVNode("button",{onClick:se[12]||(se[12]=_e=>ce("left")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.panLeft")),1),createBaseVNode("button",{onClick:se[13]||(se[13]=_e=>ce("right")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.panRight")),1),createBaseVNode("button",{onClick:se[14]||(se[14]=_e=>ce("up")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.panUp")),1),createBaseVNode("button",{onClick:se[15]||(se[15]=_e=>ce("down")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.panDown")),1)])])])):createCommentVNode("",!0),(fe=de.customId)!=null&&fe.includes("Outpaint::50")?(openBlock(),createElementBlock("div",_hoisted_22$4,[createBaseVNode("div",_hoisted_23$4,[createBaseVNode("div",_hoisted_24$3,[(ve=de.customId)!=null&&ve.includes("Outpaint::50")?(openBlock(),createElementBlock("button",{key:0,onClick:se[16]||(se[16]=_e=>L(75)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.zoomIn15x")),1)):createCommentVNode("",!0),(ye=de.customId)!=null&&ye.includes("Outpaint::50")?(openBlock(),createElementBlock("button",{key:1,onClick:se[17]||(se[17]=_e=>L(50)),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.zoomIn2x")),1)):createCommentVNode("",!0),(Ce=de.customId)!=null&&Ce.includes("low_variation")?(openBlock(),createElementBlock("button",{key:2,onClick:se[18]||(se[18]=_e=>Q("low")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.minorTransform")),1)):createCommentVNode("",!0),(pe=de.customId)!=null&&pe.includes("low_variation")?(openBlock(),createElementBlock("button",{key:3,onClick:se[19]||(se[19]=_e=>Q("high")),class:"w-24 shadow-sm rounded-md py-1 text-sm hover:bg-gray-50 dark:hover:bg-gray-700 text-gray-800 dark:text-gray-400 ring-1 ring-inset ring-gray-100 dark:bg-gray-800 dark:ring-gray-800"},toDisplayString(unref(t$3)("chat.strongTransform")),1)):createCommentVNode("",!0)])])])):createCommentVNode("",!0)])):createCommentVNode("",!0)])])]),createBaseVNode("div",_hoisted_25$3,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_26$3,[createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:ie},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_27$3,toDisplayString(unref(t$3)("chat.copy")),1)]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:he},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_28$3,toDisplayString(unref(t$3)("chat.delete")),1)])])])])])}}});var browser={exports:{}};/*! markmap-lib v0.14.4 | MIT License */(function(k,m){(function(M,G){G(m,katexExports)})(commonjsGlobal$1,function(M,G){function V(Y){return Y&&typeof Y=="object"&&"default"in Y?Y.default:Y}var q=V(G);function $(){return $=Object.assign?Object.assign.bind():function(Y){for(var nt=1;ntthis.revoke(nt)}revoke(nt){const _t=this.listeners.indexOf(nt);_t>=0&&this.listeners.splice(_t,1)}revokeAll(){this.listeners.splice(0)}call(...nt){for(const _t of this.listeners)_t(...nt)}}function B(){return B=Object.assign||function(Y){for(var nt=1;nt=0)&&(_t[Et]=Y[Et]);return _t}const U=["textContent"];function K(Y){return Y.replace(/[&<"]/g,nt=>({"&":"&","<":"<",'"':"""})[nt])}function z(Y){return Y.replace(/<(\/script>)/g,"\\x3c$2")}function e(Y,nt){const _t=nt?Object.entries(nt).map(([Ct,Et])=>{if(!(Et==null||Et===!1))return Ct=` ${K(Ct)}`,Et===!0?Ct:`${Ct}="${K(Et)}"`}).filter(Boolean).join(""):"";return`<${Y}${_t}>`}function ae(Y){return``}function ie(Y,nt,_t){return nt==null?e(Y,_t):e(Y,_t)+(nt||"")+ae(Y)}function he(Y,nt){const _t=nt.map(Ct=>typeof Ct=="function"?Ct.toString():JSON.stringify(Ct??null)).join(",");return`(${Y.toString()})(${_t})`}function J(Y,nt){return Y.map(_t=>{if(_t.type==="script"){const Ct=_t.data,{textContent:Et}=Ct,kt=R(Ct,U);return ie("script",Et||"",kt)}if(_t.type==="iife"){const{fn:Ct,getParams:Et}=_t.data;return ie("script",z(he(Ct,(Et==null?void 0:Et(nt))||[])))}return""})}function W(Y){return Y.map(nt=>nt.type==="stylesheet"?ie("link",null,B({rel:"stylesheet"},nt.data)):ie("style",nt.data))}Math.random().toString(36).slice(2,8);function X(Y,{before:nt,after:_t}){return function(...Et){const kt={args:Et,thisObj:this};try{nt&&nt(kt)}catch{}kt.result=Y.apply(kt.thisObj,kt.args);try{_t&&_t(kt)}catch{}return kt.result}}function L(Y){const nt={};return function(...Ct){const Et=`${Ct[0]}`;let kt=nt[Et];return kt||(kt={value:Y(...Ct)},nt[Et]=kt),kt.value}}function Q(Y,nt,_t){const Ct=document.createElement(Y);return nt&&Object.entries(nt).forEach(([Et,kt])=>{Ct[Et]=kt}),_t&&Object.entries(_t).forEach(([Et,kt])=>{Ct.setAttribute(Et,kt)}),Ct}const ce=L(Y=>{document.head.append(Q("link",{rel:"preload",as:"script",href:Y}))});async function de(Y,nt){if(!Y.loaded&&(Y.type==="script"&&(Y.loaded=new Promise((_t,Ct)=>{var Et;document.head.append(Q("script",B({},Y.data,{onload:_t,onerror:Ct}))),(Et=Y.data)!=null&&Et.src||_t(void 0)}).then(()=>{Y.loaded=!0})),Y.type==="iife")){const{fn:_t,getParams:Ct}=Y.data;_t(...(Ct==null?void 0:Ct(nt))||[]),Y.loaded=!0}await Y.loaded}async function se(Y,nt){const _t=Y.filter(Ct=>{var Et;return Ct.type==="script"&&((Et=Ct.data)==null?void 0:Et.src)});_t.length>1&&_t.forEach(Ct=>ce(Ct.data.src)),nt=B({getMarkmap:()=>window.markmap},nt);for(const Ct of Y)await de(Ct,nt)}const oe=` @@ -309,13 +309,13 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Te=Ce,Ge=pe),_e===void -`,me=["https://cdn.jsdelivr.net/npm/d3@6.7.0","https://cdn.jsdelivr.net/npm/markmap-view@0.14.4"].map(Y=>({type:"script",data:{src:Y}}));function Ee(Y,nt,_t){_t=$({baseJs:me},_t);const{scripts:Ct,styles:Et}=nt,kt=[...Et?X(Et):[]],Ut={getMarkmap:()=>window.markmap,getOptions:_t.getOptions,jsonOptions:_t.jsonOptions,root:Y},Ht=[...J([..._t.baseJs,...Ct||[],{type:"iife",data:{fn:(Sr,_r,Nr,Yr)=>{const jr=Sr();window.mm=jr.Markmap.create("svg#mindmap",(_r||jr.deriveOptions)(Yr),Nr)},getParams:({getMarkmap:Sr,getOptions:_r,root:Nr,jsonOptions:Yr})=>[Sr,_r,Nr,Yr]}}],Ut)];return se.replace("",()=>kt.join("")).replace("",()=>Ht.join(""))}var ke={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` -`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},xe=Object.prototype.hasOwnProperty;function fe(Y,nt){return Y?xe.call(Y,nt):!1}function ve(Y){return fe(ke,Y)?ke[Y]:Y}var ye=Object.prototype.hasOwnProperty;function Ce(Y,nt){return Y?ye.call(Y,nt):!1}function pe(Y){var nt=[].slice.call(arguments,1);return nt.forEach(function(_t){if(_t){if(typeof _t!="object")throw new TypeError(_t+"must be object");Object.keys(_t).forEach(function(Ct){Y[Ct]=_t[Ct]})}}),Y}var _e=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Ge(Y){return Y.indexOf("\\")<0?Y:Y.replace(_e,"$1")}function Te(Y){return!(Y>=55296&&Y<=57343||Y>=64976&&Y<=65007||(Y&65535)===65535||(Y&65535)===65534||Y>=0&&Y<=8||Y===11||Y>=14&&Y<=31||Y>=127&&Y<=159||Y>1114111)}function Ne(Y){if(Y>65535){Y-=65536;var nt=55296+(Y>>10),_t=56320+(Y&1023);return String.fromCharCode(nt,_t)}return String.fromCharCode(Y)}var Ze=/&([a-z#][a-z0-9]{1,31});/gi,ze=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function Ae(Y,nt){var _t=0,Ct=ve(nt);return nt!==Ct?Ct:nt.charCodeAt(0)===35&&ze.test(nt)&&(_t=nt[1].toLowerCase()==="x"?parseInt(nt.slice(2),16):parseInt(nt.slice(1),10),Te(_t))?Ne(_t):Y}function De(Y){return Y.indexOf("&")<0?Y:Y.replace(Ze,Ae)}var Ue=/[&<>"]/,we=/[&<>"]/g,Ie={"&":"&","<":"<",">":">",'"':"""};function Be(Y){return Ie[Y]}function Ke(Y){return Ue.test(Y)?Y.replace(we,Be):Y}var Ve={};Ve.blockquote_open=function(){return`
-`},Ve.blockquote_close=function(Y,nt){return"
"+Le(Y,nt)},Ve.code=function(Y,nt){return Y[nt].block?"
"+Ke(Y[nt].content)+"
"+Le(Y,nt):""+Ke(Y[nt].content)+""},Ve.fence=function(Y,nt,_t,Ct,Et){var kt=Y[nt],Ut="",Ht=_t.langPrefix,nr="",Sr,_r,Nr;if(kt.params){if(Sr=kt.params.split(/\s+/g),_r=Sr.join(" "),Ce(Et.rules.fence_custom,Sr[0]))return Et.rules.fence_custom[Sr[0]](Y,nt,_t,Ct,Et);nr=Ke(De(Ge(_r))),Ut=' class="'+Ht+nr+'"'}return _t.highlight?Nr=_t.highlight.apply(_t.highlight,[kt.content].concat(Sr))||Ke(kt.content):Nr=Ke(kt.content),"
"+Nr+"
"+Le(Y,nt)},Ve.fence_custom={},Ve.heading_open=function(Y,nt){return""},Ve.heading_close=function(Y,nt){return" +`,me=["https://cdn.jsdelivr.net/npm/d3@6.7.0","https://cdn.jsdelivr.net/npm/markmap-view@0.14.4"].map(Y=>({type:"script",data:{src:Y}}));function Ee(Y,nt,_t){_t=$({baseJs:me},_t);const{scripts:Ct,styles:Et}=nt,kt=[...Et?W(Et):[]],Ut={getMarkmap:()=>window.markmap,getOptions:_t.getOptions,jsonOptions:_t.jsonOptions,root:Y},Ht=[...J([..._t.baseJs,...Ct||[],{type:"iife",data:{fn:(Sr,_r,Nr,Yr)=>{const jr=Sr();window.mm=jr.Markmap.create("svg#mindmap",(_r||jr.deriveOptions)(Yr),Nr)},getParams:({getMarkmap:Sr,getOptions:_r,root:Nr,jsonOptions:Yr})=>[Sr,_r,Nr,Yr]}}],Ut)];return oe.replace("",()=>kt.join("")).replace("",()=>Ht.join(""))}var ke={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",AMP:"&",amp:"&",And:"⩓",and:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",ap:"≈",apacir:"⩯",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",Barwed:"⌆",barwed:"⌅",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",Because:"∵",because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxDL:"╗",boxDl:"╖",boxdL:"╕",boxdl:"┐",boxDR:"╔",boxDr:"╓",boxdR:"╒",boxdr:"┌",boxH:"═",boxh:"─",boxHD:"╦",boxHd:"╤",boxhD:"╥",boxhd:"┬",boxHU:"╩",boxHu:"╧",boxhU:"╨",boxhu:"┴",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxUL:"╝",boxUl:"╜",boxuL:"╛",boxul:"┘",boxUR:"╚",boxUr:"╙",boxuR:"╘",boxur:"└",boxV:"║",boxv:"│",boxVH:"╬",boxVh:"╫",boxvH:"╪",boxvh:"┼",boxVL:"╣",boxVl:"╢",boxvL:"╡",boxvl:"┤",boxVR:"╠",boxVr:"╟",boxvR:"╞",boxvr:"├",bprime:"‵",Breve:"˘",breve:"˘",brvbar:"¦",Bscr:"ℬ",bscr:"𝒷",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",Cap:"⋒",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",CenterDot:"·",centerdot:"·",Cfr:"ℭ",cfr:"𝔠",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",Colon:"∷",colon:":",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",Conint:"∯",conint:"∮",ContourIntegral:"∮",Copf:"ℂ",copf:"𝕔",coprod:"∐",Coproduct:"∐",COPY:"©",copy:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",Cross:"⨯",cross:"✗",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",Cup:"⋓",cup:"∪",cupbrcap:"⩈",CupCap:"≍",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",Dagger:"‡",dagger:"†",daleth:"ℸ",Darr:"↡",dArr:"⇓",darr:"↓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",DD:"ⅅ",dd:"ⅆ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",Diamond:"⋄",diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrow:"↓",Downarrow:"⇓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",ecir:"≖",Ecirc:"Ê",ecirc:"ê",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",eDot:"≑",edot:"ė",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",Escr:"ℰ",escr:"ℯ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",ExponentialE:"ⅇ",exponentiale:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",ForAll:"∀",forall:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",Fscr:"ℱ",fscr:"𝒻",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",gE:"≧",ge:"≥",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",Gg:"⋙",gg:"≫",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gnE:"≩",gne:"⪈",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",GT:">",Gt:"≫",gt:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",hArr:"⇔",harr:"↔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",Hfr:"ℌ",hfr:"𝔥",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",Hopf:"ℍ",hopf:"𝕙",horbar:"―",HorizontalLine:"─",Hscr:"ℋ",hscr:"𝒽",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",Ifr:"ℑ",ifr:"𝔦",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Im:"ℑ",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",Int:"∬",int:"∫",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",Iscr:"ℐ",iscr:"𝒾",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",Lang:"⟪",lang:"⟨",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",Larr:"↞",lArr:"⇐",larr:"←",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",lAtail:"⤛",latail:"⤙",late:"⪭",lates:"⪭︀",lBarr:"⤎",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",lE:"≦",le:"≤",LeftAngleBracket:"⟨",LeftArrow:"←",Leftarrow:"⇐",leftarrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",Ll:"⋘",ll:"≪",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lnE:"≨",lne:"⪇",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftarrow:"⟵",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longleftrightarrow:"⟷",longmapsto:"⟼",LongRightArrow:"⟶",Longrightarrow:"⟹",longrightarrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",Lscr:"ℒ",lscr:"𝓁",Lsh:"↰",lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",LT:"<",Lt:"≪",lt:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",Mscr:"ℳ",mscr:"𝓂",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",ne:"≠",nearhk:"⤤",neArr:"⇗",nearr:"↗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` +`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nhArr:"⇎",nharr:"↮",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlArr:"⇍",nlarr:"↚",nldr:"‥",nlE:"≦̸",nle:"≰",nLeftarrow:"⇍",nleftarrow:"↚",nLeftrightarrow:"⇎",nleftrightarrow:"↮",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",Nopf:"ℕ",nopf:"𝕟",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrArr:"⇏",nrarr:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nRightarrow:"⇏",nrightarrow:"↛",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nVDash:"⊯",nVdash:"⊮",nvDash:"⊭",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwArr:"⇖",nwarr:"↖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",ocir:"⊚",Ocirc:"Ô",ocirc:"ô",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",Or:"⩔",or:"∨",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",Otimes:"⨷",otimes:"⊗",otimesas:"⨶",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",Popf:"ℙ",popf:"𝕡",pound:"£",Pr:"⪻",pr:"≺",prap:"⪷",prcue:"≼",prE:"⪳",pre:"⪯",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",Prime:"″",prime:"′",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",Qopf:"ℚ",qopf:"𝕢",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",QUOT:'"',quot:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",Rang:"⟫",rang:"⟩",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",Rarr:"↠",rArr:"⇒",rarr:"→",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",rAtail:"⤜",ratail:"⤚",ratio:"∶",rationals:"ℚ",RBarr:"⤐",rBarr:"⤏",rbarr:"⤍",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",REG:"®",reg:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",Rfr:"ℜ",rfr:"𝔯",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrow:"→",Rightarrow:"⇒",rightarrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",Ropf:"ℝ",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",Rscr:"ℛ",rscr:"𝓇",Rsh:"↱",rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",Sc:"⪼",sc:"≻",scap:"⪸",Scaron:"Š",scaron:"š",sccue:"≽",scE:"⪴",sce:"⪰",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",seArr:"⇘",searr:"↘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",Square:"□",square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",Sub:"⋐",sub:"⊂",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",Subset:"⋐",subset:"⊂",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",Sum:"∑",sum:"∑",sung:"♪",Sup:"⋑",sup:"⊃",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",Supset:"⋑",supset:"⊃",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swArr:"⇙",swarr:"↙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",Therefore:"∴",therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",Tilde:"∼",tilde:"˜",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",TRADE:"™",trade:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",Uarr:"↟",uArr:"⇑",uarr:"↑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrow:"↑",Uparrow:"⇑",uparrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",UpDownArrow:"↕",Updownarrow:"⇕",updownarrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",Upsi:"ϒ",upsi:"υ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",vArr:"⇕",varr:"↕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",Vbar:"⫫",vBar:"⫨",vBarv:"⫩",Vcy:"В",vcy:"в",VDash:"⊫",Vdash:"⊩",vDash:"⊨",vdash:"⊢",Vdashl:"⫦",Vee:"⋁",vee:"∨",veebar:"⊻",veeeq:"≚",vellip:"⋮",Verbar:"‖",verbar:"|",Vert:"‖",vert:"|",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",Wedge:"⋀",wedge:"∧",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xhArr:"⟺",xharr:"⟷",Xi:"Ξ",xi:"ξ",xlArr:"⟸",xlarr:"⟵",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrArr:"⟹",xrarr:"⟶",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",Yuml:"Ÿ",yuml:"ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",Zfr:"ℨ",zfr:"𝔷",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",Zopf:"ℤ",zopf:"𝕫",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"},xe=Object.prototype.hasOwnProperty;function fe(Y,nt){return Y?xe.call(Y,nt):!1}function ve(Y){return fe(ke,Y)?ke[Y]:Y}var ye=Object.prototype.hasOwnProperty;function Ce(Y,nt){return Y?ye.call(Y,nt):!1}function pe(Y){var nt=[].slice.call(arguments,1);return nt.forEach(function(_t){if(_t){if(typeof _t!="object")throw new TypeError(_t+"must be object");Object.keys(_t).forEach(function(Ct){Y[Ct]=_t[Ct]})}}),Y}var _e=/\\([\\!"#$%&'()*+,.\/:;<=>?@[\]^_`{|}~-])/g;function Ge(Y){return Y.indexOf("\\")<0?Y:Y.replace(_e,"$1")}function Ae(Y){return!(Y>=55296&&Y<=57343||Y>=64976&&Y<=65007||(Y&65535)===65535||(Y&65535)===65534||Y>=0&&Y<=8||Y===11||Y>=14&&Y<=31||Y>=127&&Y<=159||Y>1114111)}function Ne(Y){if(Y>65535){Y-=65536;var nt=55296+(Y>>10),_t=56320+(Y&1023);return String.fromCharCode(nt,_t)}return String.fromCharCode(Y)}var Ze=/&([a-z#][a-z0-9]{1,31});/gi,ze=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i;function Te(Y,nt){var _t=0,Ct=ve(nt);return nt!==Ct?Ct:nt.charCodeAt(0)===35&&ze.test(nt)&&(_t=nt[1].toLowerCase()==="x"?parseInt(nt.slice(2),16):parseInt(nt.slice(1),10),Ae(_t))?Ne(_t):Y}function Fe(Y){return Y.indexOf("&")<0?Y:Y.replace(Ze,Te)}var Pe=/[&<>"]/,we=/[&<>"]/g,Ie={"&":"&","<":"<",">":">",'"':"""};function Be(Y){return Ie[Y]}function Ke(Y){return Pe.test(Y)?Y.replace(we,Be):Y}var Ve={};Ve.blockquote_open=function(){return`
+`},Ve.blockquote_close=function(Y,nt){return"
"+Le(Y,nt)},Ve.code=function(Y,nt){return Y[nt].block?"
"+Ke(Y[nt].content)+"
"+Le(Y,nt):""+Ke(Y[nt].content)+""},Ve.fence=function(Y,nt,_t,Ct,Et){var kt=Y[nt],Ut="",Ht=_t.langPrefix,nr="",Sr,_r,Nr;if(kt.params){if(Sr=kt.params.split(/\s+/g),_r=Sr.join(" "),Ce(Et.rules.fence_custom,Sr[0]))return Et.rules.fence_custom[Sr[0]](Y,nt,_t,Ct,Et);nr=Ke(Fe(Ge(_r))),Ut=' class="'+Ht+nr+'"'}return _t.highlight?Nr=_t.highlight.apply(_t.highlight,[kt.content].concat(Sr))||Ke(kt.content):Nr=Ke(kt.content),"
"+Nr+"
"+Le(Y,nt)},Ve.fence_custom={},Ve.heading_open=function(Y,nt){return""},Ve.heading_close=function(Y,nt){return" `},Ve.hr=function(Y,nt,_t){return(_t.xhtmlOut?"
":"
")+Le(Y,nt)},Ve.bullet_list_open=function(){return`
    `},Ve.bullet_list_close=function(Y,nt){return"
"+Le(Y,nt)},Ve.list_item_open=function(){return"
  • "},Ve.list_item_close=function(){return`
  • `},Ve.ordered_list_open=function(Y,nt){var _t=Y[nt],Ct=_t.order>1?' start="'+_t.order+'"':"";return" -`},Ve.ordered_list_close=function(Y,nt){return""+Le(Y,nt)},Ve.paragraph_open=function(Y,nt){return Y[nt].tight?"":"

    "},Ve.paragraph_close=function(Y,nt){var _t=!(Y[nt].tight&&nt&&Y[nt-1].type==="inline"&&!Y[nt-1].content);return(Y[nt].tight?"":"

    ")+(_t?Le(Y,nt):"")},Ve.link_open=function(Y,nt,_t){var Ct=Y[nt].title?' title="'+Ke(De(Y[nt].title))+'"':"",Et=_t.linkTarget?' target="'+_t.linkTarget+'"':"";return'"},Ve.link_close=function(){return""},Ve.image=function(Y,nt,_t){var Ct=' src="'+Ke(Y[nt].src)+'"',Et=Y[nt].title?' title="'+Ke(De(Y[nt].title))+'"':"",kt=' alt="'+(Y[nt].alt?Ke(De(Ge(Y[nt].alt))):"")+'"',Ut=_t.xhtmlOut?" /":"";return""},Ve.table_open=function(){return` +`},Ve.ordered_list_close=function(Y,nt){return""+Le(Y,nt)},Ve.paragraph_open=function(Y,nt){return Y[nt].tight?"":"

    "},Ve.paragraph_close=function(Y,nt){var _t=!(Y[nt].tight&&nt&&Y[nt-1].type==="inline"&&!Y[nt-1].content);return(Y[nt].tight?"":"

    ")+(_t?Le(Y,nt):"")},Ve.link_open=function(Y,nt,_t){var Ct=Y[nt].title?' title="'+Ke(Fe(Y[nt].title))+'"':"",Et=_t.linkTarget?' target="'+_t.linkTarget+'"':"";return'"},Ve.link_close=function(){return""},Ve.image=function(Y,nt,_t){var Ct=' src="'+Ke(Y[nt].src)+'"',Et=Y[nt].title?' title="'+Ke(Fe(Y[nt].title))+'"':"",kt=' alt="'+(Y[nt].alt?Ke(Fe(Ge(Y[nt].alt))):"")+'"',Ut=_t.xhtmlOut?" /":"";return""},Ve.table_open=function(){return`
    `},Ve.table_close=function(){return`
    `},Ve.thead_open=function(){return` `},Ve.thead_close=function(){return` @@ -327,7 +327,7 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Te=Ce,Ge=pe),_e===void `},Ve.softbreak=function(Y,nt,_t){return _t.breaks?_t.xhtmlOut?`
    `:`
    `:` -`},Ve.text=function(Y,nt){return Ke(Y[nt].content)},Ve.htmlblock=function(Y,nt){return Y[nt].content},Ve.htmltag=function(Y,nt){return Y[nt].content},Ve.abbr_open=function(Y,nt){return''},Ve.abbr_close=function(){return""},Ve.footnote_ref=function(Y,nt){var _t=Number(Y[nt].id+1).toString(),Ct="fnref"+_t;return Y[nt].subId>0&&(Ct+=":"+Y[nt].subId),'['+_t+"]"},Ve.footnote_block_open=function(Y,nt,_t){var Ct=_t.xhtmlOut?`
    +`},Ve.text=function(Y,nt){return Ke(Y[nt].content)},Ve.htmlblock=function(Y,nt){return Y[nt].content},Ve.htmltag=function(Y,nt){return Y[nt].content},Ve.abbr_open=function(Y,nt){return''},Ve.abbr_close=function(){return""},Ve.footnote_ref=function(Y,nt){var _t=Number(Y[nt].id+1).toString(),Ct="fnref"+_t;return Y[nt].subId>0&&(Ct+=":"+Y[nt].subId),'['+_t+"]"},Ve.footnote_block_open=function(Y,nt,_t){var Ct=_t.xhtmlOut?`
    `:`
    `;return Ct+`
      @@ -339,33 +339,33 @@ https://github.com/highlightjs/highlight.js/issues/2277`),Te=Ce,Ge=pe),_e===void `},Ve.dt_close=function(){return` `},Ve.dd_close=function(){return` `};function je(Y,nt){return++nt>=Y.length-2?nt:Y[nt].type==="paragraph_open"&&Y[nt].tight&&Y[nt+1].type==="inline"&&Y[nt+1].content.length===0&&Y[nt+2].type==="paragraph_close"&&Y[nt+2].tight?je(Y,nt+2):nt}var Le=Ve.getBreak=function(nt,_t){return _t=je(nt,_t),_t"u"&&(Ct.abbreviations[":"+nr]=Sr),Ut)}function ot(Y){var nt=Y.tokens,_t,Ct,Et,kt;if(!Y.inlineMode){for(_t=1,Ct=nt.length-1;_t1)||_t===41&&(Ct--,Ct<0))break;nt++}return kt===nt||(Et=Ge(Y.src.slice(kt,nt)),!Y.parser.validateLink(Et))?!1:(Y.linkContent=Et,Y.pos=nt,!0)}function ct(Y,nt){var _t,Ct=nt,Et=Y.posMax,kt=Y.src.charCodeAt(nt);if(kt!==34&&kt!==39&&kt!==40)return!1;for(nt++,kt===40&&(kt=41);nt"u"&&(Ct.references[Yr]={title:Nr,href:_r}),Ut)}function rt(Y){var nt=Y.tokens,_t,Ct,Et,kt;if(Y.env.references=Y.env.references||{},!Y.inlineMode){for(_t=1,Ct=nt.length-1;_t0?Ut[nt].count:1,Ct=0;Ct=0;nt--)if(kt=Et[nt],kt.type==="text"){for(nr=0,Ut=kt.content,_r.lastIndex=0,Sr=kt.level,Ht=[];Nr=_r.exec(Ut);)_r.lastIndex>nr&&Ht.push({type:"text",content:Ut.slice(nr,Nr.index+Nr[1].length),level:Sr}),Ht.push({type:"abbr_open",title:Y.env.abbreviations[":"+Nr[2]],level:Sr++}),Ht.push({type:"text",content:Nr[2],level:Sr}),Ht.push({type:"abbr_close",level:--Sr}),nr=_r.lastIndex-Nr[3].length;Ht.length&&(nr=0;kt--)if(Y.tokens[kt].type==="inline")for(Et=Y.tokens[kt].children,nt=Et.length-1;nt>=0;nt--)_t=Et[nt],_t.type==="text"&&(Ct=_t.content,Ct=Vt(Ct),wt.test(Ct)&&(Ct=Ct.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/mg,"$1—$2").replace(/(^|\s)--(\s|$)/mg,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/mg,"$1–$2")),_t.content=Ct)}}var Mt=/['"]/,$t=/['"]/g,Yt=/[-\s()\[\]]/,Ft="’";function Jt(Y,nt){return nt<0||nt>=Y.length?!1:!Yt.test(Y[nt])}function er(Y,nt,_t){return Y.substr(0,nt)+_t+Y.substr(nt+1)}function Bt(Y){var nt,_t,Ct,Et,kt,Ut,Ht,nr,Sr,_r,Nr,Yr,jr,tn,hn,wn,Fn;if(Y.options.typographer){for(Fn=[],hn=Y.tokens.length-1;hn>=0;hn--)if(Y.tokens[hn].type==="inline"){for(wn=Y.tokens[hn].children,Fn.length=0,nt=0;nt=0&&!(Fn[jr].level<=Ht);jr--);Fn.length=jr+1,Ct=_t.content,kt=0,Ut=Ct.length;e:for(;kt=0&&(_r=Fn[jr],!(Fn[jr].level=this.eMarks[nt]},Zt.prototype.skipEmptyLines=function(nt){for(var _t=this.lineMax;nt<_t&&!(this.bMarks[nt]+this.tShift[nt]Ct;)if(_t!==this.src.charCodeAt(--nt))return nt+1;return nt},Zt.prototype.getLines=function(nt,_t,Ct,Et){var kt,Ut,Ht,nr,Sr,_r=nt;if(nt>=_t)return"";if(_r+1===_t)return Ut=this.bMarks[_r]+Math.min(this.tShift[_r],Ct),Ht=Et?this.eMarks[_r]+1:this.eMarks[_r],this.src.slice(Ut,Ht);for(nr=new Array(_t-nt),kt=0;_r<_t;_r++,kt++)Sr=this.tShift[_r],Sr>Ct&&(Sr=Ct),Sr<0&&(Sr=0),Ut=this.bMarks[_r]+Sr,_r+1<_t||Et?Ht=this.eMarks[_r]+1:Ht=this.eMarks[_r],nr[kt]=this.src.slice(Ut,Ht);return nr.join("")};function gr(Y,nt,_t){var Ct,Et;if(Y.tShift[nt]-Y.blkIndent<4)return!1;for(Et=Ct=nt+1;Ct<_t;){if(Y.isEmpty(Ct)){Ct++;continue}if(Y.tShift[Ct]-Y.blkIndent>=4){Ct++,Et=Ct;continue}break}return Y.line=Ct,Y.tokens.push({type:"code",content:Y.getLines(nt,Et,4+Y.blkIndent,!0),block:!0,lines:[nt,Y.line],level:Y.level}),!0}function fr(Y,nt,_t,Ct){var Et,kt,Ut,Ht,nr,Sr=!1,_r=Y.bMarks[nt]+Y.tShift[nt],Nr=Y.eMarks[nt];if(_r+3>Nr||(Et=Y.src.charCodeAt(_r),Et!==126&&Et!==96)||(nr=_r,_r=Y.skipChars(_r,Et),kt=_r-nr,kt<3)||(Ut=Y.src.slice(_r,Nr).trim(),Ut.indexOf("`")>=0))return!1;if(Ct)return!0;for(Ht=nt;Ht++,!(Ht>=_t||(_r=nr=Y.bMarks[Ht]+Y.tShift[Ht],Nr=Y.eMarks[Ht],_r=4)&&(_r=Y.skipChars(_r,Et),!(_r-nrwn||Y.src.charCodeAt(hn++)!==62||Y.level>=Y.options.maxNesting)return!1;if(Ct)return!0;for(Y.src.charCodeAt(hn)===32&&hn++,nr=Y.blkIndent,Y.blkIndent=0,Ht=[Y.bMarks[nt]],Y.bMarks[nt]=hn,hn=hn=wn,Ut=[Y.tShift[nt]],Y.tShift[nt]=hn-Y.bMarks[nt],Nr=Y.parser.ruler.getRules("blockquote"),Et=nt+1;Et<_t&&(hn=Y.bMarks[Et]+Y.tShift[Et],wn=Y.eMarks[Et],!(hn>=wn));Et++){if(Y.src.charCodeAt(hn++)===62){Y.src.charCodeAt(hn)===32&&hn++,Ht.push(Y.bMarks[Et]),Y.bMarks[Et]=hn,hn=hn=wn,Ut.push(Y.tShift[Et]),Y.tShift[Et]=hn-Y.bMarks[Et];continue}if(kt)break;for(tn=!1,Yr=0,jr=Nr.length;Yrnr||(Et=Y.src.charCodeAt(Ht++),Et!==42&&Et!==45&&Et!==95))return!1;for(kt=1;Ht=Et||(_t=Y.src.charCodeAt(Ct++),_t!==42&&_t!==45&&_t!==43)||Ct=Et||(_t=Y.src.charCodeAt(Ct++),_t<48||_t>57))return-1;for(;;){if(Ct>=Et)return-1;if(_t=Y.src.charCodeAt(Ct++),!(_t>=48&&_t<=57)){if(_t===41||_t===46)break;return-1}}return Ct=0)wn=!0;else if((Nr=cr(Y,nt))>=0)wn=!1;else return!1;if(Y.level>=Y.options.maxNesting)return!1;if(hn=Y.src.charCodeAt(Nr-1),Ct)return!0;for(Un=Y.tokens.length,wn?(_r=Y.bMarks[nt]+Y.tShift[nt],tn=Number(Y.src.substr(_r,Nr-_r-1)),Y.tokens.push({type:"ordered_list_open",order:tn,lines:Wa=[nt,0],level:Y.level++})):Y.tokens.push({type:"bullet_list_open",lines:Wa=[nt,0],level:Y.level++}),Et=nt,qi=!1,nl=Y.parser.ruler.getRules("list");Et<_t&&(Fn=Y.skipSpaces(Nr),Yr=Y.eMarks[Et],Fn>=Yr?jr=1:jr=Fn-Nr,jr>4&&(jr=1),jr<1&&(jr=1),kt=Nr-Y.bMarks[Et]+jr,Y.tokens.push({type:"list_item_open",lines:Qo=[nt,0],level:Y.level++}),Ht=Y.blkIndent,nr=Y.tight,Ut=Y.tShift[nt],Sr=Y.parentType,Y.tShift[nt]=Fn-Y.bMarks[nt],Y.blkIndent=kt,Y.tight=!0,Y.parentType="list",Y.parser.tokenize(Y,nt,_t,!0),(!Y.tight||qi)&&(cl=!1),qi=Y.line-nt>1&&Y.isEmpty(Y.line-1),Y.blkIndent=Ht,Y.tShift[nt]=Ut,Y.tight=nr,Y.parentType=Sr,Y.tokens.push({type:"list_item_close",level:--Y.level}),Et=nt=Y.line,Qo[1]=Et,Fn=Y.bMarks[nt],!(Et>=_t||Y.isEmpty(Et)||Y.tShift[Et]_r||Y.src.charCodeAt(Sr)!==91||Y.src.charCodeAt(Sr+1)!==94||Y.level>=Y.options.maxNesting)return!1;for(Ht=Sr+2;Ht<_r;Ht++){if(Y.src.charCodeAt(Ht)===32)return!1;if(Y.src.charCodeAt(Ht)===93)break}return Ht===Sr+2||Ht+1>=_r||Y.src.charCodeAt(++Ht)!==58?!1:(Ct||(Ht++,Y.env.footnotes||(Y.env.footnotes={}),Y.env.footnotes.refs||(Y.env.footnotes.refs={}),nr=Y.src.slice(Sr+2,Ht-2),Y.env.footnotes.refs[":"+nr]=-1,Y.tokens.push({type:"footnote_reference_open",label:nr,level:Y.level++}),Et=Y.bMarks[nt],kt=Y.tShift[nt],Ut=Y.parentType,Y.tShift[nt]=Y.skipSpaces(Ht)-Ht,Y.bMarks[nt]=Ht,Y.blkIndent+=4,Y.parentType="footnote",Y.tShift[nt]=nr||(Et=Y.src.charCodeAt(Ht),Et!==35||Ht>=nr))return!1;for(kt=1,Et=Y.src.charCodeAt(++Ht);Et===35&&Ht6||HtHt&&Y.src.charCodeAt(Ut-1)===32&&(nr=Ut),Y.line=nt+1,Y.tokens.push({type:"heading_open",hLevel:kt,lines:[nt,Y.line],level:Y.level}),Ht=_t||Y.tShift[Ut]3||(Et=Y.bMarks[Ut]+Y.tShift[Ut],kt=Y.eMarks[Ut],Et>=kt)||(Ct=Y.src.charCodeAt(Et),Ct!==45&&Ct!==61)||(Et=Y.skipChars(Et,Ct),Et=Y.skipSpaces(Et),Et]/,Ur=/^<\/([a-zA-Z]{1,15})[\s>]/;function un(Y){var nt=Y|32;return nt>=97&&nt<=122}function sr(Y,nt,_t,Ct){var Et,kt,Ut,Ht=Y.bMarks[nt],nr=Y.eMarks[nt],Sr=Y.tShift[nt];if(Ht+=Sr,!Y.options.html||Sr>3||Ht+2>=nr||Y.src.charCodeAt(Ht)!==60)return!1;if(Et=Y.src.charCodeAt(Ht+1),Et===33||Et===63){if(Ct)return!0}else if(Et===47||un(Et)){if(Et===47){if(kt=Y.src.slice(Ht,nr).match(Ur),!kt)return!1}else if(kt=Y.src.slice(Ht,nr).match(br),!kt)return!1;if(Br[kt[1].toLowerCase()]!==!0)return!1;if(Ct)return!0}else return!1;for(Ut=nt+1;Ut_t||(nr=nt+1,Y.tShift[nr]=Y.eMarks[nr])||(Et=Y.src.charCodeAt(Ut),Et!==124&&Et!==45&&Et!==58)||(kt=ur(Y,nt+1),!/^[-:| ]+$/.test(kt))||(Sr=kt.split("|"),Sr<=2))return!1;for(Nr=[],Ht=0;Ht=kt||(Ct=Y.src.charCodeAt(Et++),Ct!==126&&Ct!==58)||(_t=Y.skipSpaces(Et),Et===_t)||_t>=kt?-1:_t}function jt(Y,nt){var _t,Ct,Et=Y.level+2;for(_t=nt+2,Ct=Y.tokens.length-2;_t=0;if(_r=nt+1,Y.isEmpty(_r)&&++_r>_t||Y.tShift[_r]=Y.options.maxNesting)return!1;Sr=Y.tokens.length,Y.tokens.push({type:"dl_open",lines:nr=[nt,0],level:Y.level++}),Ut=nt,kt=_r;e:for(;;){for(Fn=!0,wn=!1,Y.tokens.push({type:"dt_open",lines:[Ut,Ut],level:Y.level++}),Y.tokens.push({type:"inline",content:Y.getLines(Ut,Ut+1,Y.blkIndent,!1).trim(),level:Y.level+1,lines:[Ut,Ut],children:[]}),Y.tokens.push({type:"dt_close",level:--Y.level});;){if(Y.tokens.push({type:"dd_open",lines:Ht=[_r,0],level:Y.level++}),hn=Y.tight,Yr=Y.ddIndent,Nr=Y.blkIndent,tn=Y.tShift[kt],jr=Y.parentType,Y.blkIndent=Y.ddIndent=Y.tShift[kt]+2,Y.tShift[kt]=Et-Y.bMarks[kt],Y.tight=!0,Y.parentType="deflist",Y.parser.tokenize(Y,kt,_t,!0),(!Y.tight||wn)&&(Fn=!1),wn=Y.line-kt>1&&Y.isEmpty(Y.line-1),Y.tShift[kt]=tn,Y.tight=hn,Y.parentType=jr,Y.blkIndent=Nr,Y.ddIndent=Yr,Y.tokens.push({type:"dd_close",level:--Y.level}),Ht[1]=_r=Y.line,_r>=_t||Y.tShift[_r]=_t||(Ut=_r,Y.isEmpty(Ut))||Y.tShift[Ut]=_t)||(Y.isEmpty(kt)&&kt++,kt>=_t)||Y.tShift[kt]3)){for(Et=!1,kt=0,Ut=nr.length;kt=_t||Y.tShift[kt]=0&&(Y=Y.replace(Xr,function(Ht,nr){var Sr;return Y.charCodeAt(nr)===10?(kt=nr+1,Ut=0,Ht):(Sr=" ".slice((nr-kt-Ut)%4),Ut=nr-kt+1,Sr)})),Et=new Zt(Y,this,nt,_t,Ct),this.tokenize(Et,Et.line,Et.lineMax)};function nn(Y){switch(Y){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}function ar(Y,nt){for(var _t=Y.pos;_t=0&&Y.pending.charCodeAt(_t)===32)if(_t>=1&&Y.pending.charCodeAt(_t-1)===32){for(var kt=_t-2;kt>=0;kt--)if(Y.pending.charCodeAt(kt)!==32){Y.pending=Y.pending.substring(0,kt+1);break}Y.push({type:"hardbreak",level:Y.level})}else Y.pending=Y.pending.slice(0,-1),Y.push({type:"softbreak",level:Y.level});else Y.push({type:"softbreak",level:Y.level});for(Et++;Et?@[]^_`{|}~-".split("").forEach(function(Y){Lr[Y.charCodeAt(0)]=1});function Mr(Y,nt){var _t,Ct=Y.pos,Et=Y.posMax;if(Y.src.charCodeAt(Ct)!==92)return!1;if(Ct++,Ct=kt||Y.src.charCodeAt(Ut+1)!==126||Y.level>=Y.options.maxNesting||(Ht=Ut>0?Y.src.charCodeAt(Ut-1):-1,nr=Y.src.charCodeAt(Ut+2),Ht===126)||nr===126||nr===32||nr===10)return!1;for(Ct=Ut+2;CtUt+3)return Y.pos+=Ct-Ut,nt||(Y.pending+=Y.src.slice(Ut,Ct)),!0;for(Y.pos=Ut+2,Et=1;Y.pos+1=kt||Y.src.charCodeAt(Ut+1)!==43||Y.level>=Y.options.maxNesting||(Ht=Ut>0?Y.src.charCodeAt(Ut-1):-1,nr=Y.src.charCodeAt(Ut+2),Ht===43)||nr===43||nr===32||nr===10)return!1;for(Ct=Ut+2;Ct=kt||Y.src.charCodeAt(Ut+1)!==61||Y.level>=Y.options.maxNesting||(Ht=Ut>0?Y.src.charCodeAt(Ut-1):-1,nr=Y.src.charCodeAt(Ut+2),Ht===61)||nr===61||nr===32||nr===10)return!1;for(Ct=Ut+2;Ct=48&&Y<=57||Y>=65&&Y<=90||Y>=97&&Y<=122}function Yn(Y,nt){var _t=nt,Ct,Et,kt,Ut=!0,Ht=!0,nr=Y.posMax,Sr=Y.src.charCodeAt(nt);for(Ct=nt>0?Y.src.charCodeAt(nt-1):-1;_t=nr&&(Ut=!1),kt=_t-nt,kt>=4?Ut=Ht=!1:(Et=_t=Y.options.maxNesting)return!1;for(Y.pos=_r+_t,Ht=[_t];Y.pos?@[\]^_`{|}~-])/g;function da(Y,nt){var _t,Ct,Et=Y.posMax,kt=Y.pos;if(Y.src.charCodeAt(kt)!==126||nt||kt+2>=Et||Y.level>=Y.options.maxNesting)return!1;for(Y.pos=kt+1;Y.pos?@[\]^_`{|}~-])/g;function Ri(Y,nt){var _t,Ct,Et=Y.posMax,kt=Y.pos;if(Y.src.charCodeAt(kt)!==94||nt||kt+2>=Et||Y.level>=Y.options.maxNesting)return!1;for(Y.pos=kt+1;Y.pos=Y.options.maxNesting||(_t=jr+1,Ct=Ye(Y,jr),Ct<0))return!1;if(Ht=Ct+1,Ht=Yr)return!1;for(jr=Ht,dt(Y,Ht)?(kt=Y.linkContent,Ht=Y.pos):kt="",jr=Ht;Ht=Yr||Y.src.charCodeAt(Ht)!==41)return Y.pos=Nr,!1;Ht++}else{if(Y.linkLevel>0)return!1;for(;Ht=0?Et=Y.src.slice(jr,Ht++):Ht=jr-1),Et||(typeof Et>"u"&&(Ht=Ct+1),Et=Y.src.slice(_t,Ct)),nr=Y.env.references[mt(Et)],!nr)return Y.pos=Nr,!1;kt=nr.href,Ut=nr.title}return nt||(Y.pos=_t,Y.posMax=Ct,_r?Y.push({type:"image",src:kt,title:Ut,alt:Y.src.substr(_t,Ct-_t),level:Y.level}):(Y.push({type:"link_open",href:kt,title:Ut,level:Y.level++}),Y.linkLevel++,Y.parser.tokenize(Y),Y.linkLevel--,Y.push({type:"link_close",level:--Y.level}))),Y.pos=Ht,Y.posMax=Yr,!0}function mi(Y,nt){var _t,Ct,Et,kt,Ut=Y.posMax,Ht=Y.pos;return Ht+2>=Ut||Y.src.charCodeAt(Ht)!==94||Y.src.charCodeAt(Ht+1)!==91||Y.level>=Y.options.maxNesting||(_t=Ht+2,Ct=Ye(Y,Ht+1),Ct<0)?!1:(nt||(Y.env.footnotes||(Y.env.footnotes={}),Y.env.footnotes.list||(Y.env.footnotes.list=[]),Et=Y.env.footnotes.list.length,Y.pos=_t,Y.posMax=Ct,Y.push({type:"footnote_ref",id:Et,level:Y.level}),Y.linkLevel++,kt=Y.tokens.length,Y.parser.tokenize(Y),Y.env.footnotes.list[Et]={tokens:Y.tokens.splice(kt)},Y.linkLevel--),Y.pos=Ct+1,Y.posMax=Ut,!0)}function Ia(Y,nt){var _t,Ct,Et,kt,Ut=Y.posMax,Ht=Y.pos;if(Ht+3>Ut||!Y.env.footnotes||!Y.env.footnotes.refs||Y.src.charCodeAt(Ht)!==91||Y.src.charCodeAt(Ht+1)!==94||Y.level>=Y.options.maxNesting)return!1;for(Ct=Ht+2;Ct=Ut||(Ct++,_t=Y.src.slice(Ht+2,Ct-1),typeof Y.env.footnotes.refs[":"+_t]>"u")?!1:(nt||(Y.env.footnotes.list||(Y.env.footnotes.list=[]),Y.env.footnotes.refs[":"+_t]<0?(Et=Y.env.footnotes.list.length,Y.env.footnotes.list[Et]={label:_t,count:0},Y.env.footnotes.refs[":"+_t]=Et):Et=Y.env.footnotes.refs[":"+_t],kt=Y.env.footnotes.list[Et].count,Y.env.footnotes.list[Et].count++,Y.push({type:"footnote_ref",id:Et,subId:kt,level:Y.level})),Y.pos=Ct,Y.posMax=Ut,!0)}var ha=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],ka=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,na=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function Fi(Y,nt){var _t,Ct,Et,kt,Ut,Ht=Y.pos;return Y.src.charCodeAt(Ht)!==60||(_t=Y.src.slice(Ht),_t.indexOf(">")<0)?!1:(Ct=_t.match(na),Ct?ha.indexOf(Ct[1].toLowerCase())<0||(kt=Ct[0].slice(1,-1),Ut=st(kt),!Y.parser.validateLink(kt))?!1:(nt||(Y.push({type:"link_open",href:Ut,level:Y.level}),Y.push({type:"text",content:kt,level:Y.level+1}),Y.push({type:"link_close",level:Y.level})),Y.pos+=Ct[0].length,!0):(Et=_t.match(ka),Et?(kt=Et[0].slice(1,-1),Ut=st("mailto:"+kt),Y.parser.validateLink(Ut)?(nt||(Y.push({type:"link_open",href:Ut,level:Y.level}),Y.push({type:"text",content:kt,level:Y.level+1}),Y.push({type:"link_close",level:Y.level})),Y.pos+=Et[0].length,!0):!1):!1))}function Zn(Y,nt){return Y=Y.source,nt=nt||"",function _t(Ct,Et){return Ct?(Et=Et.source||Et,Y=Y.replace(Ct,Et),_t):new RegExp(Y,nt)}}var ia=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,Oa=/[^"'=<>`\x00-\x20]+/,aa=/'[^']*'/,Ii=/"[^"]*"/,fa=Zn(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",Oa)("single_quoted",aa)("double_quoted",Ii)(),Na=Zn(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",ia)("attr_value",fa)(),pa=Zn(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",Na)(),Vi=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,ki=/|/,ma=/<[?].*?[?]>/,sa=/]*>/,oa=//,Ir=Zn(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",pa)("close_tag",Vi)("comment",ki)("processing",ma)("declaration",sa)("cdata",oa)();function $n(Y){var nt=Y|32;return nt>=97&&nt<=122}function Ai(Y,nt){var _t,Ct,Et,kt=Y.pos;return!Y.options.html||(Et=Y.posMax,Y.src.charCodeAt(kt)!==60||kt+2>=Et)||(_t=Y.src.charCodeAt(kt+1),_t!==33&&_t!==63&&_t!==47&&!$n(_t))||(Ct=Y.src.slice(kt).match(Ir),!Ct)?!1:(nt||Y.push({type:"htmltag",content:Y.src.slice(kt,kt+Ct[0].length),level:Y.level}),Y.pos+=Ct[0].length,!0)}var Oi=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,ga=/^&([a-z][a-z0-9]{1,31});/i;function Er(Y,nt){var _t,Ct,Et,kt=Y.pos,Ut=Y.posMax;if(Y.src.charCodeAt(kt)!==38)return!1;if(kt+10){Y.pos=kt;return}for(Et=0;Et<_t;Et++)if(nt[Et](Y,!0)){Y.cacheSet(Ct,Y.pos);return}Y.pos++,Y.cacheSet(Ct,Y.pos)},ft.prototype.tokenize=function(Y){for(var nt=this.ruler.getRules(""),_t=nt.length,Ct=Y.posMax,Et,kt;Y.pos=Ct)break;continue}Y.pending+=Y.src[Y.pos++]}Y.pending&&Y.pushPending()},ft.prototype.parse=function(Y,nt,_t,Ct){var Et=new $e(Y,this,nt,_t,Ct);this.tokenize(Et)};function yr(Y){var nt=["vbscript","javascript","file","data"],_t=Y.trim().toLowerCase();return _t=De(_t),!(_t.indexOf(":")!==-1&&nt.indexOf(_t.split(":")[0])!==-1)}var lr={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},qr={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},sn={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}},Kr={default:lr,full:qr,commonmark:sn};function on(Y,nt,_t){this.src=nt,this.env=_t,this.options=Y.options,this.tokens=[],this.inlineMode=!1,this.inline=Y.inline,this.block=Y.block,this.renderer=Y.renderer,this.typographer=Y.typographer}function bn(Y,nt){typeof Y!="string"&&(nt=Y,Y="default"),nt&&nt.linkify!=null&&console.warn(`linkify option is removed. Use linkify plugin instead: +`};function et(){this.rules=pe({},Ve),this.getBreak=Ve.getBreak}et.prototype.renderInline=function(Y,nt,_t){for(var Ct=this.rules,Et=Y.length,kt=0,Ut="";Et--;)Ut+=Ct[Y[kt].type](Y,kt++,nt,_t,this);return Ut},et.prototype.render=function(Y,nt,_t){for(var Ct=this.rules,Et=Y.length,kt=-1,Ut="";++kt"u"&&(Ct.abbreviations[":"+nr]=Sr),Ut)}function ot(Y){var nt=Y.tokens,_t,Ct,Et,kt;if(!Y.inlineMode){for(_t=1,Ct=nt.length-1;_t1)||_t===41&&(Ct--,Ct<0))break;nt++}return kt===nt||(Et=Ge(Y.src.slice(kt,nt)),!Y.parser.validateLink(Et))?!1:(Y.linkContent=Et,Y.pos=nt,!0)}function ct(Y,nt){var _t,Ct=nt,Et=Y.posMax,kt=Y.src.charCodeAt(nt);if(kt!==34&&kt!==39&&kt!==40)return!1;for(nt++,kt===40&&(kt=41);nt"u"&&(Ct.references[Yr]={title:Nr,href:_r}),Ut)}function rt(Y){var nt=Y.tokens,_t,Ct,Et,kt;if(Y.env.references=Y.env.references||{},!Y.inlineMode){for(_t=1,Ct=nt.length-1;_t0?Ut[nt].count:1,Ct=0;Ct=0;nt--)if(kt=Et[nt],kt.type==="text"){for(nr=0,Ut=kt.content,_r.lastIndex=0,Sr=kt.level,Ht=[];Nr=_r.exec(Ut);)_r.lastIndex>nr&&Ht.push({type:"text",content:Ut.slice(nr,Nr.index+Nr[1].length),level:Sr}),Ht.push({type:"abbr_open",title:Y.env.abbreviations[":"+Nr[2]],level:Sr++}),Ht.push({type:"text",content:Nr[2],level:Sr}),Ht.push({type:"abbr_close",level:--Sr}),nr=_r.lastIndex-Nr[3].length;Ht.length&&(nr=0;kt--)if(Y.tokens[kt].type==="inline")for(Et=Y.tokens[kt].children,nt=Et.length-1;nt>=0;nt--)_t=Et[nt],_t.type==="text"&&(Ct=_t.content,Ct=Vt(Ct),wt.test(Ct)&&(Ct=Ct.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---([^-]|$)/mg,"$1—$2").replace(/(^|\s)--(\s|$)/mg,"$1–$2").replace(/(^|[^-\s])--([^-\s]|$)/mg,"$1–$2")),_t.content=Ct)}}var Mt=/['"]/,$t=/['"]/g,Yt=/[-\s()\[\]]/,Ft="’";function Jt(Y,nt){return nt<0||nt>=Y.length?!1:!Yt.test(Y[nt])}function er(Y,nt,_t){return Y.substr(0,nt)+_t+Y.substr(nt+1)}function Bt(Y){var nt,_t,Ct,Et,kt,Ut,Ht,nr,Sr,_r,Nr,Yr,jr,tn,hn,wn,Fn;if(Y.options.typographer){for(Fn=[],hn=Y.tokens.length-1;hn>=0;hn--)if(Y.tokens[hn].type==="inline"){for(wn=Y.tokens[hn].children,Fn.length=0,nt=0;nt=0&&!(Fn[jr].level<=Ht);jr--);Fn.length=jr+1,Ct=_t.content,kt=0,Ut=Ct.length;e:for(;kt=0&&(_r=Fn[jr],!(Fn[jr].level=this.eMarks[nt]},Zt.prototype.skipEmptyLines=function(nt){for(var _t=this.lineMax;nt<_t&&!(this.bMarks[nt]+this.tShift[nt]Ct;)if(_t!==this.src.charCodeAt(--nt))return nt+1;return nt},Zt.prototype.getLines=function(nt,_t,Ct,Et){var kt,Ut,Ht,nr,Sr,_r=nt;if(nt>=_t)return"";if(_r+1===_t)return Ut=this.bMarks[_r]+Math.min(this.tShift[_r],Ct),Ht=Et?this.eMarks[_r]+1:this.eMarks[_r],this.src.slice(Ut,Ht);for(nr=new Array(_t-nt),kt=0;_r<_t;_r++,kt++)Sr=this.tShift[_r],Sr>Ct&&(Sr=Ct),Sr<0&&(Sr=0),Ut=this.bMarks[_r]+Sr,_r+1<_t||Et?Ht=this.eMarks[_r]+1:Ht=this.eMarks[_r],nr[kt]=this.src.slice(Ut,Ht);return nr.join("")};function gr(Y,nt,_t){var Ct,Et;if(Y.tShift[nt]-Y.blkIndent<4)return!1;for(Et=Ct=nt+1;Ct<_t;){if(Y.isEmpty(Ct)){Ct++;continue}if(Y.tShift[Ct]-Y.blkIndent>=4){Ct++,Et=Ct;continue}break}return Y.line=Ct,Y.tokens.push({type:"code",content:Y.getLines(nt,Et,4+Y.blkIndent,!0),block:!0,lines:[nt,Y.line],level:Y.level}),!0}function fr(Y,nt,_t,Ct){var Et,kt,Ut,Ht,nr,Sr=!1,_r=Y.bMarks[nt]+Y.tShift[nt],Nr=Y.eMarks[nt];if(_r+3>Nr||(Et=Y.src.charCodeAt(_r),Et!==126&&Et!==96)||(nr=_r,_r=Y.skipChars(_r,Et),kt=_r-nr,kt<3)||(Ut=Y.src.slice(_r,Nr).trim(),Ut.indexOf("`")>=0))return!1;if(Ct)return!0;for(Ht=nt;Ht++,!(Ht>=_t||(_r=nr=Y.bMarks[Ht]+Y.tShift[Ht],Nr=Y.eMarks[Ht],_r=4)&&(_r=Y.skipChars(_r,Et),!(_r-nrwn||Y.src.charCodeAt(hn++)!==62||Y.level>=Y.options.maxNesting)return!1;if(Ct)return!0;for(Y.src.charCodeAt(hn)===32&&hn++,nr=Y.blkIndent,Y.blkIndent=0,Ht=[Y.bMarks[nt]],Y.bMarks[nt]=hn,hn=hn=wn,Ut=[Y.tShift[nt]],Y.tShift[nt]=hn-Y.bMarks[nt],Nr=Y.parser.ruler.getRules("blockquote"),Et=nt+1;Et<_t&&(hn=Y.bMarks[Et]+Y.tShift[Et],wn=Y.eMarks[Et],!(hn>=wn));Et++){if(Y.src.charCodeAt(hn++)===62){Y.src.charCodeAt(hn)===32&&hn++,Ht.push(Y.bMarks[Et]),Y.bMarks[Et]=hn,hn=hn=wn,Ut.push(Y.tShift[Et]),Y.tShift[Et]=hn-Y.bMarks[Et];continue}if(kt)break;for(tn=!1,Yr=0,jr=Nr.length;Yrnr||(Et=Y.src.charCodeAt(Ht++),Et!==42&&Et!==45&&Et!==95))return!1;for(kt=1;Ht=Et||(_t=Y.src.charCodeAt(Ct++),_t!==42&&_t!==45&&_t!==43)||Ct=Et||(_t=Y.src.charCodeAt(Ct++),_t<48||_t>57))return-1;for(;;){if(Ct>=Et)return-1;if(_t=Y.src.charCodeAt(Ct++),!(_t>=48&&_t<=57)){if(_t===41||_t===46)break;return-1}}return Ct=0)wn=!0;else if((Nr=cr(Y,nt))>=0)wn=!1;else return!1;if(Y.level>=Y.options.maxNesting)return!1;if(hn=Y.src.charCodeAt(Nr-1),Ct)return!0;for(Un=Y.tokens.length,wn?(_r=Y.bMarks[nt]+Y.tShift[nt],tn=Number(Y.src.substr(_r,Nr-_r-1)),Y.tokens.push({type:"ordered_list_open",order:tn,lines:Wa=[nt,0],level:Y.level++})):Y.tokens.push({type:"bullet_list_open",lines:Wa=[nt,0],level:Y.level++}),Et=nt,qi=!1,nl=Y.parser.ruler.getRules("list");Et<_t&&(Fn=Y.skipSpaces(Nr),Yr=Y.eMarks[Et],Fn>=Yr?jr=1:jr=Fn-Nr,jr>4&&(jr=1),jr<1&&(jr=1),kt=Nr-Y.bMarks[Et]+jr,Y.tokens.push({type:"list_item_open",lines:Qo=[nt,0],level:Y.level++}),Ht=Y.blkIndent,nr=Y.tight,Ut=Y.tShift[nt],Sr=Y.parentType,Y.tShift[nt]=Fn-Y.bMarks[nt],Y.blkIndent=kt,Y.tight=!0,Y.parentType="list",Y.parser.tokenize(Y,nt,_t,!0),(!Y.tight||qi)&&(cl=!1),qi=Y.line-nt>1&&Y.isEmpty(Y.line-1),Y.blkIndent=Ht,Y.tShift[nt]=Ut,Y.tight=nr,Y.parentType=Sr,Y.tokens.push({type:"list_item_close",level:--Y.level}),Et=nt=Y.line,Qo[1]=Et,Fn=Y.bMarks[nt],!(Et>=_t||Y.isEmpty(Et)||Y.tShift[Et]_r||Y.src.charCodeAt(Sr)!==91||Y.src.charCodeAt(Sr+1)!==94||Y.level>=Y.options.maxNesting)return!1;for(Ht=Sr+2;Ht<_r;Ht++){if(Y.src.charCodeAt(Ht)===32)return!1;if(Y.src.charCodeAt(Ht)===93)break}return Ht===Sr+2||Ht+1>=_r||Y.src.charCodeAt(++Ht)!==58?!1:(Ct||(Ht++,Y.env.footnotes||(Y.env.footnotes={}),Y.env.footnotes.refs||(Y.env.footnotes.refs={}),nr=Y.src.slice(Sr+2,Ht-2),Y.env.footnotes.refs[":"+nr]=-1,Y.tokens.push({type:"footnote_reference_open",label:nr,level:Y.level++}),Et=Y.bMarks[nt],kt=Y.tShift[nt],Ut=Y.parentType,Y.tShift[nt]=Y.skipSpaces(Ht)-Ht,Y.bMarks[nt]=Ht,Y.blkIndent+=4,Y.parentType="footnote",Y.tShift[nt]=nr||(Et=Y.src.charCodeAt(Ht),Et!==35||Ht>=nr))return!1;for(kt=1,Et=Y.src.charCodeAt(++Ht);Et===35&&Ht6||HtHt&&Y.src.charCodeAt(Ut-1)===32&&(nr=Ut),Y.line=nt+1,Y.tokens.push({type:"heading_open",hLevel:kt,lines:[nt,Y.line],level:Y.level}),Ht=_t||Y.tShift[Ut]3||(Et=Y.bMarks[Ut]+Y.tShift[Ut],kt=Y.eMarks[Ut],Et>=kt)||(Ct=Y.src.charCodeAt(Et),Ct!==45&&Ct!==61)||(Et=Y.skipChars(Et,Ct),Et=Y.skipSpaces(Et),Et]/,Ur=/^<\/([a-zA-Z]{1,15})[\s>]/;function un(Y){var nt=Y|32;return nt>=97&&nt<=122}function sr(Y,nt,_t,Ct){var Et,kt,Ut,Ht=Y.bMarks[nt],nr=Y.eMarks[nt],Sr=Y.tShift[nt];if(Ht+=Sr,!Y.options.html||Sr>3||Ht+2>=nr||Y.src.charCodeAt(Ht)!==60)return!1;if(Et=Y.src.charCodeAt(Ht+1),Et===33||Et===63){if(Ct)return!0}else if(Et===47||un(Et)){if(Et===47){if(kt=Y.src.slice(Ht,nr).match(Ur),!kt)return!1}else if(kt=Y.src.slice(Ht,nr).match(br),!kt)return!1;if(Br[kt[1].toLowerCase()]!==!0)return!1;if(Ct)return!0}else return!1;for(Ut=nt+1;Ut_t||(nr=nt+1,Y.tShift[nr]=Y.eMarks[nr])||(Et=Y.src.charCodeAt(Ut),Et!==124&&Et!==45&&Et!==58)||(kt=ur(Y,nt+1),!/^[-:| ]+$/.test(kt))||(Sr=kt.split("|"),Sr<=2))return!1;for(Nr=[],Ht=0;Ht=kt||(Ct=Y.src.charCodeAt(Et++),Ct!==126&&Ct!==58)||(_t=Y.skipSpaces(Et),Et===_t)||_t>=kt?-1:_t}function jt(Y,nt){var _t,Ct,Et=Y.level+2;for(_t=nt+2,Ct=Y.tokens.length-2;_t=0;if(_r=nt+1,Y.isEmpty(_r)&&++_r>_t||Y.tShift[_r]=Y.options.maxNesting)return!1;Sr=Y.tokens.length,Y.tokens.push({type:"dl_open",lines:nr=[nt,0],level:Y.level++}),Ut=nt,kt=_r;e:for(;;){for(Fn=!0,wn=!1,Y.tokens.push({type:"dt_open",lines:[Ut,Ut],level:Y.level++}),Y.tokens.push({type:"inline",content:Y.getLines(Ut,Ut+1,Y.blkIndent,!1).trim(),level:Y.level+1,lines:[Ut,Ut],children:[]}),Y.tokens.push({type:"dt_close",level:--Y.level});;){if(Y.tokens.push({type:"dd_open",lines:Ht=[_r,0],level:Y.level++}),hn=Y.tight,Yr=Y.ddIndent,Nr=Y.blkIndent,tn=Y.tShift[kt],jr=Y.parentType,Y.blkIndent=Y.ddIndent=Y.tShift[kt]+2,Y.tShift[kt]=Et-Y.bMarks[kt],Y.tight=!0,Y.parentType="deflist",Y.parser.tokenize(Y,kt,_t,!0),(!Y.tight||wn)&&(Fn=!1),wn=Y.line-kt>1&&Y.isEmpty(Y.line-1),Y.tShift[kt]=tn,Y.tight=hn,Y.parentType=jr,Y.blkIndent=Nr,Y.ddIndent=Yr,Y.tokens.push({type:"dd_close",level:--Y.level}),Ht[1]=_r=Y.line,_r>=_t||Y.tShift[_r]=_t||(Ut=_r,Y.isEmpty(Ut))||Y.tShift[Ut]=_t)||(Y.isEmpty(kt)&&kt++,kt>=_t)||Y.tShift[kt]3)){for(Et=!1,kt=0,Ut=nr.length;kt=_t||Y.tShift[kt]=0&&(Y=Y.replace(Xr,function(Ht,nr){var Sr;return Y.charCodeAt(nr)===10?(kt=nr+1,Ut=0,Ht):(Sr=" ".slice((nr-kt-Ut)%4),Ut=nr-kt+1,Sr)})),Et=new Zt(Y,this,nt,_t,Ct),this.tokenize(Et,Et.line,Et.lineMax)};function nn(Y){switch(Y){case 10:case 92:case 96:case 42:case 95:case 94:case 91:case 93:case 33:case 38:case 60:case 62:case 123:case 125:case 36:case 37:case 64:case 126:case 43:case 61:case 58:return!0;default:return!1}}function ar(Y,nt){for(var _t=Y.pos;_t=0&&Y.pending.charCodeAt(_t)===32)if(_t>=1&&Y.pending.charCodeAt(_t-1)===32){for(var kt=_t-2;kt>=0;kt--)if(Y.pending.charCodeAt(kt)!==32){Y.pending=Y.pending.substring(0,kt+1);break}Y.push({type:"hardbreak",level:Y.level})}else Y.pending=Y.pending.slice(0,-1),Y.push({type:"softbreak",level:Y.level});else Y.push({type:"softbreak",level:Y.level});for(Et++;Et?@[]^_`{|}~-".split("").forEach(function(Y){Lr[Y.charCodeAt(0)]=1});function Mr(Y,nt){var _t,Ct=Y.pos,Et=Y.posMax;if(Y.src.charCodeAt(Ct)!==92)return!1;if(Ct++,Ct=kt||Y.src.charCodeAt(Ut+1)!==126||Y.level>=Y.options.maxNesting||(Ht=Ut>0?Y.src.charCodeAt(Ut-1):-1,nr=Y.src.charCodeAt(Ut+2),Ht===126)||nr===126||nr===32||nr===10)return!1;for(Ct=Ut+2;CtUt+3)return Y.pos+=Ct-Ut,nt||(Y.pending+=Y.src.slice(Ut,Ct)),!0;for(Y.pos=Ut+2,Et=1;Y.pos+1=kt||Y.src.charCodeAt(Ut+1)!==43||Y.level>=Y.options.maxNesting||(Ht=Ut>0?Y.src.charCodeAt(Ut-1):-1,nr=Y.src.charCodeAt(Ut+2),Ht===43)||nr===43||nr===32||nr===10)return!1;for(Ct=Ut+2;Ct=kt||Y.src.charCodeAt(Ut+1)!==61||Y.level>=Y.options.maxNesting||(Ht=Ut>0?Y.src.charCodeAt(Ut-1):-1,nr=Y.src.charCodeAt(Ut+2),Ht===61)||nr===61||nr===32||nr===10)return!1;for(Ct=Ut+2;Ct=48&&Y<=57||Y>=65&&Y<=90||Y>=97&&Y<=122}function Yn(Y,nt){var _t=nt,Ct,Et,kt,Ut=!0,Ht=!0,nr=Y.posMax,Sr=Y.src.charCodeAt(nt);for(Ct=nt>0?Y.src.charCodeAt(nt-1):-1;_t=nr&&(Ut=!1),kt=_t-nt,kt>=4?Ut=Ht=!1:(Et=_t=Y.options.maxNesting)return!1;for(Y.pos=_r+_t,Ht=[_t];Y.pos?@[\]^_`{|}~-])/g;function da(Y,nt){var _t,Ct,Et=Y.posMax,kt=Y.pos;if(Y.src.charCodeAt(kt)!==126||nt||kt+2>=Et||Y.level>=Y.options.maxNesting)return!1;for(Y.pos=kt+1;Y.pos?@[\]^_`{|}~-])/g;function Ri(Y,nt){var _t,Ct,Et=Y.posMax,kt=Y.pos;if(Y.src.charCodeAt(kt)!==94||nt||kt+2>=Et||Y.level>=Y.options.maxNesting)return!1;for(Y.pos=kt+1;Y.pos=Y.options.maxNesting||(_t=jr+1,Ct=Ye(Y,jr),Ct<0))return!1;if(Ht=Ct+1,Ht=Yr)return!1;for(jr=Ht,dt(Y,Ht)?(kt=Y.linkContent,Ht=Y.pos):kt="",jr=Ht;Ht=Yr||Y.src.charCodeAt(Ht)!==41)return Y.pos=Nr,!1;Ht++}else{if(Y.linkLevel>0)return!1;for(;Ht=0?Et=Y.src.slice(jr,Ht++):Ht=jr-1),Et||(typeof Et>"u"&&(Ht=Ct+1),Et=Y.src.slice(_t,Ct)),nr=Y.env.references[mt(Et)],!nr)return Y.pos=Nr,!1;kt=nr.href,Ut=nr.title}return nt||(Y.pos=_t,Y.posMax=Ct,_r?Y.push({type:"image",src:kt,title:Ut,alt:Y.src.substr(_t,Ct-_t),level:Y.level}):(Y.push({type:"link_open",href:kt,title:Ut,level:Y.level++}),Y.linkLevel++,Y.parser.tokenize(Y),Y.linkLevel--,Y.push({type:"link_close",level:--Y.level}))),Y.pos=Ht,Y.posMax=Yr,!0}function mi(Y,nt){var _t,Ct,Et,kt,Ut=Y.posMax,Ht=Y.pos;return Ht+2>=Ut||Y.src.charCodeAt(Ht)!==94||Y.src.charCodeAt(Ht+1)!==91||Y.level>=Y.options.maxNesting||(_t=Ht+2,Ct=Ye(Y,Ht+1),Ct<0)?!1:(nt||(Y.env.footnotes||(Y.env.footnotes={}),Y.env.footnotes.list||(Y.env.footnotes.list=[]),Et=Y.env.footnotes.list.length,Y.pos=_t,Y.posMax=Ct,Y.push({type:"footnote_ref",id:Et,level:Y.level}),Y.linkLevel++,kt=Y.tokens.length,Y.parser.tokenize(Y),Y.env.footnotes.list[Et]={tokens:Y.tokens.splice(kt)},Y.linkLevel--),Y.pos=Ct+1,Y.posMax=Ut,!0)}function Ia(Y,nt){var _t,Ct,Et,kt,Ut=Y.posMax,Ht=Y.pos;if(Ht+3>Ut||!Y.env.footnotes||!Y.env.footnotes.refs||Y.src.charCodeAt(Ht)!==91||Y.src.charCodeAt(Ht+1)!==94||Y.level>=Y.options.maxNesting)return!1;for(Ct=Ht+2;Ct=Ut||(Ct++,_t=Y.src.slice(Ht+2,Ct-1),typeof Y.env.footnotes.refs[":"+_t]>"u")?!1:(nt||(Y.env.footnotes.list||(Y.env.footnotes.list=[]),Y.env.footnotes.refs[":"+_t]<0?(Et=Y.env.footnotes.list.length,Y.env.footnotes.list[Et]={label:_t,count:0},Y.env.footnotes.refs[":"+_t]=Et):Et=Y.env.footnotes.refs[":"+_t],kt=Y.env.footnotes.list[Et].count,Y.env.footnotes.list[Et].count++,Y.push({type:"footnote_ref",id:Et,subId:kt,level:Y.level})),Y.pos=Ct,Y.posMax=Ut,!0)}var ha=["coap","doi","javascript","aaa","aaas","about","acap","cap","cid","crid","data","dav","dict","dns","file","ftp","geo","go","gopher","h323","http","https","iax","icap","im","imap","info","ipp","iris","iris.beep","iris.xpc","iris.xpcs","iris.lwz","ldap","mailto","mid","msrp","msrps","mtqp","mupdate","news","nfs","ni","nih","nntp","opaquelocktoken","pop","pres","rtsp","service","session","shttp","sieve","sip","sips","sms","snmp","soap.beep","soap.beeps","tag","tel","telnet","tftp","thismessage","tn3270","tip","tv","urn","vemmi","ws","wss","xcon","xcon-userid","xmlrpc.beep","xmlrpc.beeps","xmpp","z39.50r","z39.50s","adiumxtra","afp","afs","aim","apt","attachment","aw","beshare","bitcoin","bolo","callto","chrome","chrome-extension","com-eventbrite-attendee","content","cvs","dlna-playsingle","dlna-playcontainer","dtn","dvb","ed2k","facetime","feed","finger","fish","gg","git","gizmoproject","gtalk","hcp","icon","ipn","irc","irc6","ircs","itms","jar","jms","keyparc","lastfm","ldaps","magnet","maps","market","message","mms","ms-help","msnim","mumble","mvn","notes","oid","palm","paparazzi","platform","proxy","psyc","query","res","resource","rmi","rsync","rtmp","secondlife","sftp","sgn","skype","smb","soldat","spotify","ssh","steam","svn","teamspeak","things","udp","unreal","ut2004","ventrilo","view-source","webcal","wtai","wyciwyg","xfire","xri","ymsgr"],ka=/^<([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,na=/^<([a-zA-Z.\-]{1,25}):([^<>\x00-\x20]*)>/;function Fi(Y,nt){var _t,Ct,Et,kt,Ut,Ht=Y.pos;return Y.src.charCodeAt(Ht)!==60||(_t=Y.src.slice(Ht),_t.indexOf(">")<0)?!1:(Ct=_t.match(na),Ct?ha.indexOf(Ct[1].toLowerCase())<0||(kt=Ct[0].slice(1,-1),Ut=st(kt),!Y.parser.validateLink(kt))?!1:(nt||(Y.push({type:"link_open",href:Ut,level:Y.level}),Y.push({type:"text",content:kt,level:Y.level+1}),Y.push({type:"link_close",level:Y.level})),Y.pos+=Ct[0].length,!0):(Et=_t.match(ka),Et?(kt=Et[0].slice(1,-1),Ut=st("mailto:"+kt),Y.parser.validateLink(Ut)?(nt||(Y.push({type:"link_open",href:Ut,level:Y.level}),Y.push({type:"text",content:kt,level:Y.level+1}),Y.push({type:"link_close",level:Y.level})),Y.pos+=Et[0].length,!0):!1):!1))}function Zn(Y,nt){return Y=Y.source,nt=nt||"",function _t(Ct,Et){return Ct?(Et=Et.source||Et,Y=Y.replace(Ct,Et),_t):new RegExp(Y,nt)}}var ia=/[a-zA-Z_:][a-zA-Z0-9:._-]*/,Oa=/[^"'=<>`\x00-\x20]+/,aa=/'[^']*'/,Ii=/"[^"]*"/,fa=Zn(/(?:unquoted|single_quoted|double_quoted)/)("unquoted",Oa)("single_quoted",aa)("double_quoted",Ii)(),Na=Zn(/(?:\s+attr_name(?:\s*=\s*attr_value)?)/)("attr_name",ia)("attr_value",fa)(),pa=Zn(/<[A-Za-z][A-Za-z0-9]*attribute*\s*\/?>/)("attribute",Na)(),Vi=/<\/[A-Za-z][A-Za-z0-9]*\s*>/,ki=/|/,ma=/<[?].*?[?]>/,sa=/]*>/,oa=//,Ir=Zn(/^(?:open_tag|close_tag|comment|processing|declaration|cdata)/)("open_tag",pa)("close_tag",Vi)("comment",ki)("processing",ma)("declaration",sa)("cdata",oa)();function $n(Y){var nt=Y|32;return nt>=97&&nt<=122}function Ai(Y,nt){var _t,Ct,Et,kt=Y.pos;return!Y.options.html||(Et=Y.posMax,Y.src.charCodeAt(kt)!==60||kt+2>=Et)||(_t=Y.src.charCodeAt(kt+1),_t!==33&&_t!==63&&_t!==47&&!$n(_t))||(Ct=Y.src.slice(kt).match(Ir),!Ct)?!1:(nt||Y.push({type:"htmltag",content:Y.src.slice(kt,kt+Ct[0].length),level:Y.level}),Y.pos+=Ct[0].length,!0)}var Oi=/^&#((?:x[a-f0-9]{1,8}|[0-9]{1,8}));/i,ga=/^&([a-z][a-z0-9]{1,31});/i;function Er(Y,nt){var _t,Ct,Et,kt=Y.pos,Ut=Y.posMax;if(Y.src.charCodeAt(kt)!==38)return!1;if(kt+10){Y.pos=kt;return}for(Et=0;Et<_t;Et++)if(nt[Et](Y,!0)){Y.cacheSet(Ct,Y.pos);return}Y.pos++,Y.cacheSet(Ct,Y.pos)},ft.prototype.tokenize=function(Y){for(var nt=this.ruler.getRules(""),_t=nt.length,Ct=Y.posMax,Et,kt;Y.pos=Ct)break;continue}Y.pending+=Y.src[Y.pos++]}Y.pending&&Y.pushPending()},ft.prototype.parse=function(Y,nt,_t,Ct){var Et=new $e(Y,this,nt,_t,Ct);this.tokenize(Et)};function yr(Y){var nt=["vbscript","javascript","file","data"],_t=Y.trim().toLowerCase();return _t=Fe(_t),!(_t.indexOf(":")!==-1&&nt.indexOf(_t.split(":")[0])!==-1)}var lr={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","replacements","smartquotes","references","abbr2","footnote_tail"]},block:{rules:["blockquote","code","fences","footnote","heading","hr","htmlblock","lheading","list","paragraph","table"]},inline:{rules:["autolink","backticks","del","emphasis","entity","escape","footnote_ref","htmltag","links","newline","text"]}}},qr={options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{},block:{},inline:{}}},sn={options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkTarget:"",typographer:!1,quotes:"“”‘’",highlight:null,maxNesting:20},components:{core:{rules:["block","inline","references","abbr2"]},block:{rules:["blockquote","code","fences","heading","hr","htmlblock","lheading","list","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","htmltag","links","newline","text"]}}},Kr={default:lr,full:qr,commonmark:sn};function on(Y,nt,_t){this.src=nt,this.env=_t,this.options=Y.options,this.tokens=[],this.inlineMode=!1,this.inline=Y.inline,this.block=Y.block,this.renderer=Y.renderer,this.typographer=Y.typographer}function bn(Y,nt){typeof Y!="string"&&(nt=Y,Y="default"),nt&&nt.linkify!=null&&console.warn(`linkify option is removed. Use linkify plugin instead: import Remarkable from 'remarkable'; import linkify from 'remarkable/linkify'; new Remarkable().use(linkify) -`),this.inline=new ft,this.block=new Jr,this.core=new Dt,this.renderer=new et,this.ruler=new Qe,this.options={},this.configure(Kr[Y]),this.set(nt||{})}bn.prototype.set=function(Y){pe(this.options,Y)},bn.prototype.configure=function(Y){var nt=this;if(!Y)throw new Error("Wrong `remarkable` preset, check name/content");Y.options&&nt.set(Y.options),Y.components&&Object.keys(Y.components).forEach(function(_t){Y.components[_t].rules&&nt[_t].ruler.enable(Y.components[_t].rules,!0)})},bn.prototype.use=function(Y,nt){return Y(this,nt),this},bn.prototype.parse=function(Y,nt){var _t=new on(this,Y,nt);return this.core.process(_t),_t.tokens},bn.prototype.render=function(Y,nt){return nt=nt||{},this.renderer.render(this.parse(Y,nt),this.options,nt)},bn.prototype.parseInline=function(Y,nt){var _t=new on(this,Y,nt);return _t.inlineMode=!0,this.core.process(_t),_t.tokens},bn.prototype.renderInline=function(Y,nt){return nt=nt||{},this.renderer.render(this.parseInline(Y,nt),this.options,nt)};var zn=(Y,nt)=>{const _t="\\",Ct="$",kt=(nt||{}).delimiter||Ct;if(kt.length!==1)throw new Error("invalid delimiter");const Ut=q,Ht=(_r,Nr)=>Ut.renderToString(_r,{displayMode:Nr,throwOnError:!1}),nr=(_r,Nr,Yr)=>{let jr=!1,tn=_r.bMarks[Nr]+_r.tShift[Nr],hn=_r.eMarks[Nr];if(tn+1>hn)return!1;const wn=_r.src.charAt(tn);if(wn!==kt)return!1;let Fn=tn;tn=_r.skipChars(tn,wn);let Un=tn-Fn;if(Un!==2)return!1;let qi=Nr;for(;++qi,!(qi>=Yr||(tn=Fn=_r.bMarks[qi]+_r.tShift[qi],hn=_r.eMarks[qi],tn=4)&&(tn=_r.skipChars(tn,wn),!(tn-Fn{const Yr=_r.pos,jr=_r.posMax;let tn=Yr;if(_r.src.charAt(tn)!==kt)return!1;for(++tn;tn2)return!1;const wn=tn;let Fn=0;for(;tn1,level:_r.level})}return _r.pos=Wa,!0}}tn+=1}return Nr||(_r.pending+=hn),_r.pos+=hn.length,!0};Y.inline.ruler.push("katex",Sr,nt),Y.block.ruler.push("katex",nr,nt),Y.renderer.rules.katex=(_r,Nr)=>Ht(_r[Nr].content,_r[Nr].block),Y.renderer.rules.katex.delimiter=kt},Bn={versions:{katex:"0.16.0",webfontloader:"1.6.28"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.js"}}],scripts:[{type:"iife",data:{fn:Y=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{Y().refreshHook.call()}}},getParams({getMarkmap:Y}){return[Y]}}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.js",defer:!0}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css"}}]};const kn="https://cdn.jsdelivr.net/npm/";function Gn(Y,nt,_t){return Y.map(Ct=>(typeof Ct=="string"&&(Ct.startsWith(`${nt}/`)?Ct=`${kn}${nt}@${_t}${Ct.slice(nt.length)}`:Ct.startsWith(`${nt}@`)&&(Ct=`${kn}${Ct}`)),Ct))}function En(){return{parser:new D,beforeParse:new D,afterParse:new D,htmltag:new D,retransform:new D}}function li(Y){return Y}let Sn;const In=()=>(Sn||(Sn=oe(Bn.preloadScripts)),Sn),vn="katex";var Cn={name:vn,config:Bn,transform(Y){const nt=(Ct,Et)=>{const{katex:kt}=window;return kt?kt.renderToString(Ct,{displayMode:Et,throwOnError:!1}):(In().then(()=>{Y.retransform.call()}),Ct)};let _t=()=>{};return Y.parser.tap(Ct=>{Ct.use(zn),Ct.renderer.rules.katex=(Et,kt)=>(_t(),nt(Et[kt].content,Et[kt].block))}),Y.beforeParse.tap((Ct,Et)=>{_t=()=>{Et.features[vn]=!0}}),Y.afterParse.tap((Ct,Et)=>{const{frontmatter:kt}=Et;kt!=null&&kt.markmap&&["extraJs","extraCss"].forEach(Ut=>{kt.markmap[Ut]&&(kt.markmap[Ut]=Gn(kt.markmap[Ut],vn,Bn.versions.katex))})}),{styles:Bn.styles,scripts:Bn.scripts}}},Ti={versions:{prismjs:"1.28.0"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/components/prism-core.min.js"}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/plugins/autoloader/prism-autoloader.min.js"}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/themes/prism.css"}}]};let vi;const Hn=()=>(vi||(vi=oe(Ti.preloadScripts)),vi);function Ni(Y,nt){Hn().then(()=>{window.Prism.plugins.autoloader.loadLanguages([Y],()=>{nt.retransform.call()})})}const zi="prism";var Qr={name:zi,config:Ti,transform(Y){let nt=()=>{};return Y.parser.tap(_t=>{_t.set({highlight:(Ct,Et)=>{var kt;nt();const{Prism:Ut}=window,Ht=Ut==null||(kt=Ut.languages)==null?void 0:kt[Et];return Ht?Ut.highlight(Ct,Ht,Et):(Ni(Et,Y),"")}})}),Y.beforeParse.tap((_t,Ct)=>{nt=()=>{Ct.features[zi]=!0}}),{styles:Ti.styles}}};/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function gi(Y){return typeof Y>"u"||Y===null}function Zs(Y){return typeof Y=="object"&&Y!==null}function Js(Y){return Array.isArray(Y)?Y:gi(Y)?[]:[Y]}function ti(Y,nt){var _t,Ct,Et,kt;if(nt)for(kt=Object.keys(nt),_t=0,Ct=kt.length;_t{const _t="\\",Ct="$",kt=(nt||{}).delimiter||Ct;if(kt.length!==1)throw new Error("invalid delimiter");const Ut=q,Ht=(_r,Nr)=>Ut.renderToString(_r,{displayMode:Nr,throwOnError:!1}),nr=(_r,Nr,Yr)=>{let jr=!1,tn=_r.bMarks[Nr]+_r.tShift[Nr],hn=_r.eMarks[Nr];if(tn+1>hn)return!1;const wn=_r.src.charAt(tn);if(wn!==kt)return!1;let Fn=tn;tn=_r.skipChars(tn,wn);let Un=tn-Fn;if(Un!==2)return!1;let qi=Nr;for(;++qi,!(qi>=Yr||(tn=Fn=_r.bMarks[qi]+_r.tShift[qi],hn=_r.eMarks[qi],tn=4)&&(tn=_r.skipChars(tn,wn),!(tn-Fn{const Yr=_r.pos,jr=_r.posMax;let tn=Yr;if(_r.src.charAt(tn)!==kt)return!1;for(++tn;tn2)return!1;const wn=tn;let Fn=0;for(;tn1,level:_r.level})}return _r.pos=Wa,!0}}tn+=1}return Nr||(_r.pending+=hn),_r.pos+=hn.length,!0};Y.inline.ruler.push("katex",Sr,nt),Y.block.ruler.push("katex",nr,nt),Y.renderer.rules.katex=(_r,Nr)=>Ht(_r[Nr].content,_r[Nr].block),Y.renderer.rules.katex.delimiter=kt},Bn={versions:{katex:"0.16.0",webfontloader:"1.6.28"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.js"}}],scripts:[{type:"iife",data:{fn:Y=>{window.WebFontConfig={custom:{families:["KaTeX_AMS","KaTeX_Caligraphic:n4,n7","KaTeX_Fraktur:n4,n7","KaTeX_Main:n4,n7,i4,i7","KaTeX_Math:i4,i7","KaTeX_Script","KaTeX_SansSerif:n4,n7,i4","KaTeX_Size1","KaTeX_Size2","KaTeX_Size3","KaTeX_Size4","KaTeX_Typewriter"]},active:()=>{Y().refreshHook.call()}}},getParams({getMarkmap:Y}){return[Y]}}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/webfontloader@1.6.28/webfontloader.js",defer:!0}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/katex@0.16.0/dist/katex.min.css"}}]};const kn="https://cdn.jsdelivr.net/npm/";function Gn(Y,nt,_t){return Y.map(Ct=>(typeof Ct=="string"&&(Ct.startsWith(`${nt}/`)?Ct=`${kn}${nt}@${_t}${Ct.slice(nt.length)}`:Ct.startsWith(`${nt}@`)&&(Ct=`${kn}${Ct}`)),Ct))}function En(){return{parser:new D,beforeParse:new D,afterParse:new D,htmltag:new D,retransform:new D}}function li(Y){return Y}let Sn;const In=()=>(Sn||(Sn=se(Bn.preloadScripts)),Sn),vn="katex";var Cn={name:vn,config:Bn,transform(Y){const nt=(Ct,Et)=>{const{katex:kt}=window;return kt?kt.renderToString(Ct,{displayMode:Et,throwOnError:!1}):(In().then(()=>{Y.retransform.call()}),Ct)};let _t=()=>{};return Y.parser.tap(Ct=>{Ct.use(zn),Ct.renderer.rules.katex=(Et,kt)=>(_t(),nt(Et[kt].content,Et[kt].block))}),Y.beforeParse.tap((Ct,Et)=>{_t=()=>{Et.features[vn]=!0}}),Y.afterParse.tap((Ct,Et)=>{const{frontmatter:kt}=Et;kt!=null&&kt.markmap&&["extraJs","extraCss"].forEach(Ut=>{kt.markmap[Ut]&&(kt.markmap[Ut]=Gn(kt.markmap[Ut],vn,Bn.versions.katex))})}),{styles:Bn.styles,scripts:Bn.scripts}}},Ti={versions:{prismjs:"1.28.0"},preloadScripts:[{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/components/prism-core.min.js"}},{type:"script",data:{src:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/plugins/autoloader/prism-autoloader.min.js"}}],styles:[{type:"stylesheet",data:{href:"https://cdn.jsdelivr.net/npm/prismjs@1.28.0/themes/prism.css"}}]};let vi;const Hn=()=>(vi||(vi=se(Ti.preloadScripts)),vi);function Ni(Y,nt){Hn().then(()=>{window.Prism.plugins.autoloader.loadLanguages([Y],()=>{nt.retransform.call()})})}const zi="prism";var Qr={name:zi,config:Ti,transform(Y){let nt=()=>{};return Y.parser.tap(_t=>{_t.set({highlight:(Ct,Et)=>{var kt;nt();const{Prism:Ut}=window,Ht=Ut==null||(kt=Ut.languages)==null?void 0:kt[Et];return Ht?Ut.highlight(Ct,Ht,Et):(Ni(Et,Y),"")}})}),Y.beforeParse.tap((_t,Ct)=>{nt=()=>{Ct.features[zi]=!0}}),{styles:Ti.styles}}};/*! js-yaml 4.1.0 https://github.com/nodeca/js-yaml @license MIT */function gi(Y){return typeof Y>"u"||Y===null}function Zs(Y){return typeof Y=="object"&&Y!==null}function Js(Y){return Array.isArray(Y)?Y:gi(Y)?[]:[Y]}function ti(Y,nt){var _t,Ct,Et,kt;if(nt)for(kt=Object.keys(nt),_t=0,Ct=kt.length;_tHt&&(kt=" ... ",nt=Ct-Ht+kt.length),_t-Ct>Ht&&(Ut=" ...",_t=Ct+Ht-Ut.length),{str:kt+Y.slice(nt,_t).replace(/\t/g,"→")+Ut,pos:Ct-nt+kt.length}}function Bi(Y,nt){return ui.repeat(" ",nt-Y.length)+Y}function On(Y,nt){if(nt=Object.create(nt||null),!Y.buffer)return null;nt.maxLength||(nt.maxLength=79),typeof nt.indent!="number"&&(nt.indent=1),typeof nt.linesBefore!="number"&&(nt.linesBefore=3),typeof nt.linesAfter!="number"&&(nt.linesAfter=2);for(var _t=/\r?\n|\r|\0/g,Ct=[0],Et=[],kt,Ut=-1;kt=_t.exec(Y.buffer);)Et.push(kt.index),Ct.push(kt.index+kt[0].length),Y.position<=kt.index&&Ut<0&&(Ut=Ct.length-2);Ut<0&&(Ut=Ct.length-1);var Ht="",nr,Sr,_r=Math.min(Y.line+nt.linesAfter,Et.length).toString().length,Nr=nt.maxLength-(nt.indent+_r+3);for(nr=1;nr<=nt.linesBefore&&!(Ut-nr<0);nr++)Sr=eo(Y.buffer,Ct[Ut-nr],Et[Ut-nr],Y.position-(Ct[Ut]-Ct[Ut-nr]),Nr),Ht=ui.repeat(" ",nt.indent)+Bi((Y.line-nr+1).toString(),_r)+" | "+Sr.str+` `+Ht;for(Sr=eo(Y.buffer,Ct[Ut],Et[Ut],Y.position,Nr),Ht+=ui.repeat(" ",nt.indent)+Bi((Y.line+1).toString(),_r)+" | "+Sr.str+` `,Ht+=ui.repeat("-",nt.indent+_r+3+Sr.pos)+`^ `,nr=1;nr<=nt.linesAfter&&!(Ut+nr>=Et.length);nr++)Sr=eo(Y.buffer,Ct[Ut+nr],Et[Ut+nr],Y.position-(Ct[Ut]-Ct[Ut+nr]),Nr),Ht+=ui.repeat(" ",nt.indent)+Bi((Y.line+nr+1).toString(),_r)+" | "+Sr.str+` `;return Ht.replace(/\n$/,"")}var xs=On,ba=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],os=["scalar","sequence","mapping"];function to(Y){var nt={};return Y!==null&&Object.keys(Y).forEach(function(_t){Y[_t].forEach(function(Ct){nt[String(Ct)]=_t})}),nt}function Go(Y,nt){if(nt=nt||{},Object.keys(nt).forEach(function(_t){if(ba.indexOf(_t)===-1)throw new Si('Unknown option "'+_t+'" is met in definition of "'+Y+'" YAML type.')}),this.options=nt,this.tag=Y,this.kind=nt.kind||null,this.resolve=nt.resolve||function(){return!0},this.construct=nt.construct||function(_t){return _t},this.instanceOf=nt.instanceOf||null,this.predicate=nt.predicate||null,this.represent=nt.represent||null,this.representName=nt.representName||null,this.defaultStyle=nt.defaultStyle||null,this.multi=nt.multi||!1,this.styleAliases=to(nt.styleAliases||null),os.indexOf(this.kind)===-1)throw new Si('Unknown kind "'+this.kind+'" is specified for "'+Y+'" YAML type.')}var ri=Go;function _o(Y,nt){var _t=[];return Y[nt].forEach(function(Ct){var Et=_t.length;_t.forEach(function(kt,Ut){kt.tag===Ct.tag&&kt.kind===Ct.kind&&kt.multi===Ct.multi&&(Et=Ut)}),_t[Et]=Ct}),_t}function bo(){var Y={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},nt,_t;function Ct(Et){Et.multi?(Y.multi[Et.kind].push(Et),Y.multi.fallback.push(Et)):Y[Et.kind][Et.tag]=Y.fallback[Et.tag]=Et}for(nt=0,_t=arguments.length;nt<_t;nt+=1)arguments[nt].forEach(Ct);return Y}function ls(Y){return this.extend(Y)}ls.prototype.extend=function(nt){var _t=[],Ct=[];if(nt instanceof ri)Ct.push(nt);else if(Array.isArray(nt))Ct=Ct.concat(nt);else if(nt&&(Array.isArray(nt.implicit)||Array.isArray(nt.explicit)))nt.implicit&&(_t=_t.concat(nt.implicit)),nt.explicit&&(Ct=Ct.concat(nt.explicit));else throw new Si("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");_t.forEach(function(kt){if(!(kt instanceof ri))throw new Si("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(kt.loadKind&&kt.loadKind!=="scalar")throw new Si("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(kt.multi)throw new Si("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),Ct.forEach(function(kt){if(!(kt instanceof ri))throw new Si("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var Et=Object.create(ls.prototype);return Et.implicit=(this.implicit||[]).concat(_t),Et.explicit=(this.explicit||[]).concat(Ct),Et.compiledImplicit=_o(Et,"implicit"),Et.compiledExplicit=_o(Et,"explicit"),Et.compiledTypeMap=bo(Et.compiledImplicit,Et.compiledExplicit),Et};var cs=ls,us=new ri("tag:yaml.org,2002:str",{kind:"scalar",construct:function(Y){return Y!==null?Y:""}}),$a=new ri("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(Y){return Y!==null?Y:[]}}),ro=new ri("tag:yaml.org,2002:map",{kind:"mapping",construct:function(Y){return Y!==null?Y:{}}}),yo=new cs({explicit:[us,$a,ro]});function no(Y){if(Y===null)return!0;var nt=Y.length;return nt===1&&Y==="~"||nt===4&&(Y==="null"||Y==="Null"||Y==="NULL")}function vo(){return null}function ds(Y){return Y===null}var hs=new ri("tag:yaml.org,2002:null",{kind:"scalar",resolve:no,construct:vo,predicate:ds,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"});function ya(Y){if(Y===null)return!1;var nt=Y.length;return nt===4&&(Y==="true"||Y==="True"||Y==="TRUE")||nt===5&&(Y==="false"||Y==="False"||Y==="FALSE")}function Ya(Y){return Y==="true"||Y==="True"||Y==="TRUE"}function Es(Y){return Object.prototype.toString.call(Y)==="[object Boolean]"}var Cs=new ri("tag:yaml.org,2002:bool",{kind:"scalar",resolve:ya,construct:Ya,predicate:Es,represent:{lowercase:function(Y){return Y?"true":"false"},uppercase:function(Y){return Y?"TRUE":"FALSE"},camelcase:function(Y){return Y?"True":"False"}},defaultStyle:"lowercase"});function fs(Y){return 48<=Y&&Y<=57||65<=Y&&Y<=70||97<=Y&&Y<=102}function ps(Y){return 48<=Y&&Y<=55}function So(Y){return 48<=Y&&Y<=57}function xo(Y){if(Y===null)return!1;var nt=Y.length,_t=0,Ct=!1,Et;if(!nt)return!1;if(Et=Y[_t],(Et==="-"||Et==="+")&&(Et=Y[++_t]),Et==="0"){if(_t+1===nt)return!0;if(Et=Y[++_t],Et==="b"){for(_t++;_t=0?"0b"+Y.toString(2):"-0b"+Y.toString(2).slice(1)},octal:function(Y){return Y>=0?"0o"+Y.toString(8):"-0o"+Y.toString(8).slice(1)},decimal:function(Y){return Y.toString(10)},hexadecimal:function(Y){return Y>=0?"0x"+Y.toString(16).toUpperCase():"-0x"+Y.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),ws=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function io(Y){return!(Y===null||!ws.test(Y)||Y[Y.length-1]==="_")}function Rs(Y){var nt,_t;return nt=Y.replace(/_/g,"").toLowerCase(),_t=nt[0]==="-"?-1:1,"+-".indexOf(nt[0])>=0&&(nt=nt.slice(1)),nt===".inf"?_t===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:nt===".nan"?NaN:_t*parseFloat(nt,10)}var ao=/^[-+]?[0-9]+e/;function $o(Y,nt){var _t;if(isNaN(Y))switch(nt){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===Y)switch(nt){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===Y)switch(nt){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(ui.isNegativeZero(Y))return"-0.0";return _t=Y.toString(10),ao.test(_t)?_t.replace("e",".e"):_t}function Is(Y){return Object.prototype.toString.call(Y)==="[object Number]"&&(Y%1!==0||ui.isNegativeZero(Y))}var ks=new ri("tag:yaml.org,2002:float",{kind:"scalar",resolve:io,construct:Rs,predicate:Is,represent:$o,defaultStyle:"lowercase"}),Os=yo.extend({implicit:[hs,Cs,ms,ks]}),Ns=Os,Eo=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Ds=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function va(Y){return Y===null?!1:Eo.exec(Y)!==null||Ds.exec(Y)!==null}function gs(Y){var nt,_t,Ct,Et,kt,Ut,Ht,nr=0,Sr=null,_r,Nr,Yr;if(nt=Eo.exec(Y),nt===null&&(nt=Ds.exec(Y)),nt===null)throw new Error("Date resolve error");if(_t=+nt[1],Ct=+nt[2]-1,Et=+nt[3],!nt[4])return new Date(Date.UTC(_t,Ct,Et));if(kt=+nt[4],Ut=+nt[5],Ht=+nt[6],nt[7]){for(nr=nt[7].slice(0,3);nr.length<3;)nr+="0";nr=+nr}return nt[9]&&(_r=+nt[10],Nr=+(nt[11]||0),Sr=(_r*60+Nr)*6e4,nt[9]==="-"&&(Sr=-Sr)),Yr=new Date(Date.UTC(_t,Ct,Et,kt,Ut,Ht,nr)),Sr&&Yr.setTime(Yr.getTime()-Sr),Yr}function Sa(Y){return Y.toISOString()}var so=new ri("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:va,construct:gs,instanceOf:Date,represent:Sa});function Ms(Y){return Y==="<<"||Y===null}var Ma=new ri("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Ms}),xa=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function Hi(Y){if(Y===null)return!1;var nt,_t,Ct=0,Et=Y.length,kt=xa;for(_t=0;_t64)){if(nt<0)return!1;Ct+=6}return Ct%8===0}function Ps(Y){var nt,_t,Ct=Y.replace(/[\r\n=]/g,""),Et=Ct.length,kt=xa,Ut=0,Ht=[];for(nt=0;nt>16&255),Ht.push(Ut>>8&255),Ht.push(Ut&255)),Ut=Ut<<6|kt.indexOf(Ct.charAt(nt));return _t=Et%4*6,_t===0?(Ht.push(Ut>>16&255),Ht.push(Ut>>8&255),Ht.push(Ut&255)):_t===18?(Ht.push(Ut>>10&255),Ht.push(Ut>>2&255)):_t===12&&Ht.push(Ut>>4&255),new Uint8Array(Ht)}function Co(Y){var nt="",_t=0,Ct,Et,kt=Y.length,Ut=xa;for(Ct=0;Ct>18&63],nt+=Ut[_t>>12&63],nt+=Ut[_t>>6&63],nt+=Ut[_t&63]),_t=(_t<<8)+Y[Ct];return Et=kt%3,Et===0?(nt+=Ut[_t>>18&63],nt+=Ut[_t>>12&63],nt+=Ut[_t>>6&63],nt+=Ut[_t&63]):Et===2?(nt+=Ut[_t>>10&63],nt+=Ut[_t>>4&63],nt+=Ut[_t<<2&63],nt+=Ut[64]):Et===1&&(nt+=Ut[_t>>2&63],nt+=Ut[_t<<4&63],nt+=Ut[64],nt+=Ut[64]),nt}function ja(Y){return Object.prototype.toString.call(Y)==="[object Uint8Array]"}var Wi=new ri("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Hi,construct:Ps,predicate:ja,represent:Co}),Ao=Object.prototype.hasOwnProperty,Ls=Object.prototype.toString;function Fs(Y){if(Y===null)return!0;var nt=[],_t,Ct,Et,kt,Ut,Ht=Y;for(_t=0,Ct=Ht.length;_t64)){if(nt<0)return!1;Ct+=6}return Ct%8===0}function Ls(Y){var nt,_t,Ct=Y.replace(/[\r\n=]/g,""),Et=Ct.length,kt=xa,Ut=0,Ht=[];for(nt=0;nt>16&255),Ht.push(Ut>>8&255),Ht.push(Ut&255)),Ut=Ut<<6|kt.indexOf(Ct.charAt(nt));return _t=Et%4*6,_t===0?(Ht.push(Ut>>16&255),Ht.push(Ut>>8&255),Ht.push(Ut&255)):_t===18?(Ht.push(Ut>>10&255),Ht.push(Ut>>2&255)):_t===12&&Ht.push(Ut>>4&255),new Uint8Array(Ht)}function Co(Y){var nt="",_t=0,Ct,Et,kt=Y.length,Ut=xa;for(Ct=0;Ct>18&63],nt+=Ut[_t>>12&63],nt+=Ut[_t>>6&63],nt+=Ut[_t&63]),_t=(_t<<8)+Y[Ct];return Et=kt%3,Et===0?(nt+=Ut[_t>>18&63],nt+=Ut[_t>>12&63],nt+=Ut[_t>>6&63],nt+=Ut[_t&63]):Et===2?(nt+=Ut[_t>>10&63],nt+=Ut[_t>>4&63],nt+=Ut[_t<<2&63],nt+=Ut[64]):Et===1&&(nt+=Ut[_t>>2&63],nt+=Ut[_t<<4&63],nt+=Ut[64],nt+=Ut[64]),nt}function ja(Y){return Object.prototype.toString.call(Y)==="[object Uint8Array]"}var Wi=new ri("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Hi,construct:Ls,predicate:ja,represent:Co}),Ao=Object.prototype.hasOwnProperty,Ps=Object.prototype.toString;function Fs(Y){if(Y===null)return!0;var nt=[],_t,Ct,Et,kt,Ut,Ht=Y;for(_t=0,Ct=Ht.length;_t>10)+55296,(Y-65536&1023)+56320)}for(var Va=new Array(256),Ka=new Array(256),Qa=0;Qa<256;Qa++)Va[Qa]=Vs(Qa)?1:0,Ka[Qa]=Vs(Qa);function qo(Y,nt){this.input=Y,this.filename=nt.filename||null,this.schema=nt.schema||Xa,this.onWarning=nt.onWarning||null,this.legacy=nt.legacy||!1,this.json=nt.json||!1,this.listener=nt.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=Y.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function fo(Y,nt){var _t={name:Y.filename,buffer:Y.input.slice(0,-1),position:Y.position,line:Y.line,column:Y.position-Y.lineStart};return _t.snippet=xs(_t),new Si(nt,_t)}function yn(Y,nt){throw fo(Y,nt)}function bs(Y,nt){Y.onWarning&&Y.onWarning.call(null,fo(Y,nt))}var zs={YAML:function(nt,_t,Ct){var Et,kt,Ut;nt.version!==null&&yn(nt,"duplication of %YAML directive"),Ct.length!==1&&yn(nt,"YAML directive accepts exactly one argument"),Et=/^([0-9]+)\.([0-9]+)$/.exec(Ct[0]),Et===null&&yn(nt,"ill-formed argument of the YAML directive"),kt=parseInt(Et[1],10),Ut=parseInt(Et[2],10),kt!==1&&yn(nt,"unacceptable YAML version of the document"),nt.version=Ct[0],nt.checkLineBreaks=Ut<2,Ut!==1&&Ut!==2&&bs(nt,"unsupported YAML version of the document")},TAG:function(nt,_t,Ct){var Et,kt;Ct.length!==2&&yn(nt,"TAG directive accepts exactly two arguments"),Et=Ct[0],kt=Ct[1],qa.test(Et)||yn(nt,"ill-formed tag handle (first argument) of the TAG directive"),ca.call(nt.tagMap,Et)&&yn(nt,'there is a previously declared suffix for "'+Et+'" tag handle'),$s.test(kt)||yn(nt,"ill-formed tag prefix (second argument) of the TAG directive");try{kt=decodeURIComponent(kt)}catch{yn(nt,"tag prefix is malformed: "+kt)}nt.tagMap[Et]=kt}};function Ta(Y,nt,_t,Ct){var Et,kt,Ut,Ht;if(nt<_t){if(Ht=Y.input.slice(nt,_t),Ct)for(Et=0,kt=Ht.length;Et1&&(Y.result+=ui.repeat(` -`,nt-1))}function Io(Y,nt,_t){var Ct,Et,kt,Ut,Ht,nr,Sr,_r,Nr=Y.kind,Yr=Y.result,jr;if(jr=Y.input.charCodeAt(Y.position),_i(jr)||La(jr)||jr===35||jr===38||jr===42||jr===33||jr===124||jr===62||jr===39||jr===34||jr===37||jr===64||jr===96||(jr===63||jr===45)&&(Et=Y.input.charCodeAt(Y.position+1),_i(Et)||_t&&La(Et)))return!1;for(Y.kind="scalar",Y.result="",kt=Ut=Y.position,Ht=!1;jr!==0;){if(jr===58){if(Et=Y.input.charCodeAt(Y.position+1),_i(Et)||_t&&La(Et))break}else if(jr===35){if(Ct=Y.input.charCodeAt(Y.position-1),_i(Ct))break}else{if(Y.position===Y.lineStart&&wa(Y)||_t&&La(jr))break;if(Di(jr))if(nr=Y.line,Sr=Y.lineStart,_r=Y.lineIndent,jn(Y,!1,-1),Y.lineIndent>=nt){Ht=!0,jr=Y.input.charCodeAt(Y.position);continue}else{Y.position=Ut,Y.line=nr,Y.lineStart=Sr,Y.lineIndent=_r;break}}Ht&&(Ta(Y,kt,Ut,!1),Hs(Y,Y.line-nr),kt=Ut=Y.position,Ht=!1),Aa(jr)||(Ut=Y.position+1),jr=Y.input.charCodeAt(++Y.position)}return Ta(Y,kt,Ut,!1),Y.result?!0:(Y.kind=Nr,Y.result=Yr,!1)}function vs(Y,nt){var _t,Ct,Et;if(_t=Y.input.charCodeAt(Y.position),_t!==39)return!1;for(Y.kind="scalar",Y.result="",Y.position++,Ct=Et=Y.position;(_t=Y.input.charCodeAt(Y.position))!==0;)if(_t===39)if(Ta(Y,Ct,Y.position,!0),_t=Y.input.charCodeAt(++Y.position),_t===39)Ct=Y.position,Y.position++,Et=Y.position;else return!0;else Di(_t)?(Ta(Y,Ct,Et,!0),Hs(Y,jn(Y,!1,nt)),Ct=Et=Y.position):Y.position===Y.lineStart&&wa(Y)?yn(Y,"unexpected end of the document within a single quoted scalar"):(Y.position++,Et=Y.position);yn(Y,"unexpected end of the stream within a single quoted scalar")}function ko(Y,nt){var _t,Ct,Et,kt,Ut,Ht;if(Ht=Y.input.charCodeAt(Y.position),Ht!==34)return!1;for(Y.kind="scalar",Y.result="",Y.position++,_t=Ct=Y.position;(Ht=Y.input.charCodeAt(Y.position))!==0;){if(Ht===34)return Ta(Y,_t,Y.position,!0),Y.position++,!0;if(Ht===92){if(Ta(Y,_t,Y.position,!0),Ht=Y.input.charCodeAt(++Y.position),Di(Ht))jn(Y,!1,nt);else if(Ht<256&&Va[Ht])Y.result+=Ka[Ht],Y.position++;else if((Ut=qs(Ht))>0){for(Et=Ut,kt=0;Et>0;Et--)Ht=Y.input.charCodeAt(++Y.position),(Ut=Ro(Ht))>=0?kt=(kt<<4)+Ut:yn(Y,"expected hexadecimal character");Y.result+=ho(kt),Y.position++}else yn(Y,"unknown escape sequence");_t=Ct=Y.position}else Di(Ht)?(Ta(Y,_t,Ct,!0),Hs(Y,jn(Y,!1,nt)),_t=Ct=Y.position):Y.position===Y.lineStart&&wa(Y)?yn(Y,"unexpected end of the document within a double quoted scalar"):(Y.position++,Ct=Y.position)}yn(Y,"unexpected end of the stream within a double quoted scalar")}function Oo(Y,nt){var _t=!0,Ct,Et,kt,Ut=Y.tag,Ht,nr=Y.anchor,Sr,_r,Nr,Yr,jr,tn=Object.create(null),hn,wn,Fn,Un;if(Un=Y.input.charCodeAt(Y.position),Un===91)_r=93,jr=!1,Ht=[];else if(Un===123)_r=125,jr=!0,Ht={};else return!1;for(Y.anchor!==null&&(Y.anchorMap[Y.anchor]=Ht),Un=Y.input.charCodeAt(++Y.position);Un!==0;){if(jn(Y,!0,nt),Un=Y.input.charCodeAt(Y.position),Un===_r)return Y.position++,Y.tag=Ut,Y.anchor=nr,Y.kind=jr?"mapping":"sequence",Y.result=Ht,!0;_t?Un===44&&yn(Y,"expected the node content, but found ','"):yn(Y,"missed comma between flow collection entries"),wn=hn=Fn=null,Nr=Yr=!1,Un===63&&(Sr=Y.input.charCodeAt(Y.position+1),_i(Sr)&&(Nr=Yr=!0,Y.position++,jn(Y,!0,nt))),Ct=Y.line,Et=Y.lineStart,kt=Y.position,Za(Y,nt,Ui,!1,!0),wn=Y.tag,hn=Y.result,jn(Y,!0,nt),Un=Y.input.charCodeAt(Y.position),(Yr||Y.line===Ct)&&Un===58&&(Nr=!0,Un=Y.input.charCodeAt(++Y.position),jn(Y,!0,nt),Za(Y,nt,Ui,!1,!0),Fn=Y.result),jr?Fa(Y,Ht,tn,wn,hn,Fn,Ct,Et,kt):Nr?Ht.push(Fa(Y,null,tn,wn,hn,Fn,Ct,Et,kt)):Ht.push(hn),jn(Y,!0,nt),Un=Y.input.charCodeAt(Y.position),Un===44?(_t=!0,Un=Y.input.charCodeAt(++Y.position)):_t=!1}yn(Y,"unexpected end of the stream within a flow collection")}function po(Y,nt){var _t,Ct,Et=Ei,kt=!1,Ut=!1,Ht=nt,nr=0,Sr=!1,_r,Nr;if(Nr=Y.input.charCodeAt(Y.position),Nr===124)Ct=!1;else if(Nr===62)Ct=!0;else return!1;for(Y.kind="scalar",Y.result="";Nr!==0;)if(Nr=Y.input.charCodeAt(++Y.position),Nr===43||Nr===45)Ei===Et?Et=Nr===43?Gs:uo:yn(Y,"repeat of a chomping mode identifier");else if((_r=_s(Nr))>=0)_r===0?yn(Y,"bad explicit indentation width of a block scalar; it cannot be less than one"):Ut?yn(Y,"repeat of an indentation width identifier"):(Ht=nt+_r-1,Ut=!0);else break;if(Aa(Nr)){do Nr=Y.input.charCodeAt(++Y.position);while(Aa(Nr));if(Nr===35)do Nr=Y.input.charCodeAt(++Y.position);while(!Di(Nr)&&Nr!==0)}for(;Nr!==0;){for(za(Y),Y.lineIndent=0,Nr=Y.input.charCodeAt(Y.position);(!Ut||Y.lineIndentHt&&(Ht=Y.lineIndent),Di(Nr)){nr++;continue}if(Y.lineIndent=nt){Ht=!0,jr=Y.input.charCodeAt(Y.position);continue}else{Y.position=Ut,Y.line=nr,Y.lineStart=Sr,Y.lineIndent=_r;break}}Ht&&(Ta(Y,kt,Ut,!1),Hs(Y,Y.line-nr),kt=Ut=Y.position,Ht=!1),Aa(jr)||(Ut=Y.position+1),jr=Y.input.charCodeAt(++Y.position)}return Ta(Y,kt,Ut,!1),Y.result?!0:(Y.kind=Nr,Y.result=Yr,!1)}function vs(Y,nt){var _t,Ct,Et;if(_t=Y.input.charCodeAt(Y.position),_t!==39)return!1;for(Y.kind="scalar",Y.result="",Y.position++,Ct=Et=Y.position;(_t=Y.input.charCodeAt(Y.position))!==0;)if(_t===39)if(Ta(Y,Ct,Y.position,!0),_t=Y.input.charCodeAt(++Y.position),_t===39)Ct=Y.position,Y.position++,Et=Y.position;else return!0;else Di(_t)?(Ta(Y,Ct,Et,!0),Hs(Y,jn(Y,!1,nt)),Ct=Et=Y.position):Y.position===Y.lineStart&&wa(Y)?yn(Y,"unexpected end of the document within a single quoted scalar"):(Y.position++,Et=Y.position);yn(Y,"unexpected end of the stream within a single quoted scalar")}function ko(Y,nt){var _t,Ct,Et,kt,Ut,Ht;if(Ht=Y.input.charCodeAt(Y.position),Ht!==34)return!1;for(Y.kind="scalar",Y.result="",Y.position++,_t=Ct=Y.position;(Ht=Y.input.charCodeAt(Y.position))!==0;){if(Ht===34)return Ta(Y,_t,Y.position,!0),Y.position++,!0;if(Ht===92){if(Ta(Y,_t,Y.position,!0),Ht=Y.input.charCodeAt(++Y.position),Di(Ht))jn(Y,!1,nt);else if(Ht<256&&Va[Ht])Y.result+=Ka[Ht],Y.position++;else if((Ut=qs(Ht))>0){for(Et=Ut,kt=0;Et>0;Et--)Ht=Y.input.charCodeAt(++Y.position),(Ut=Ro(Ht))>=0?kt=(kt<<4)+Ut:yn(Y,"expected hexadecimal character");Y.result+=ho(kt),Y.position++}else yn(Y,"unknown escape sequence");_t=Ct=Y.position}else Di(Ht)?(Ta(Y,_t,Ct,!0),Hs(Y,jn(Y,!1,nt)),_t=Ct=Y.position):Y.position===Y.lineStart&&wa(Y)?yn(Y,"unexpected end of the document within a double quoted scalar"):(Y.position++,Ct=Y.position)}yn(Y,"unexpected end of the stream within a double quoted scalar")}function Oo(Y,nt){var _t=!0,Ct,Et,kt,Ut=Y.tag,Ht,nr=Y.anchor,Sr,_r,Nr,Yr,jr,tn=Object.create(null),hn,wn,Fn,Un;if(Un=Y.input.charCodeAt(Y.position),Un===91)_r=93,jr=!1,Ht=[];else if(Un===123)_r=125,jr=!0,Ht={};else return!1;for(Y.anchor!==null&&(Y.anchorMap[Y.anchor]=Ht),Un=Y.input.charCodeAt(++Y.position);Un!==0;){if(jn(Y,!0,nt),Un=Y.input.charCodeAt(Y.position),Un===_r)return Y.position++,Y.tag=Ut,Y.anchor=nr,Y.kind=jr?"mapping":"sequence",Y.result=Ht,!0;_t?Un===44&&yn(Y,"expected the node content, but found ','"):yn(Y,"missed comma between flow collection entries"),wn=hn=Fn=null,Nr=Yr=!1,Un===63&&(Sr=Y.input.charCodeAt(Y.position+1),_i(Sr)&&(Nr=Yr=!0,Y.position++,jn(Y,!0,nt))),Ct=Y.line,Et=Y.lineStart,kt=Y.position,Za(Y,nt,Ui,!1,!0),wn=Y.tag,hn=Y.result,jn(Y,!0,nt),Un=Y.input.charCodeAt(Y.position),(Yr||Y.line===Ct)&&Un===58&&(Nr=!0,Un=Y.input.charCodeAt(++Y.position),jn(Y,!0,nt),Za(Y,nt,Ui,!1,!0),Fn=Y.result),jr?Fa(Y,Ht,tn,wn,hn,Fn,Ct,Et,kt):Nr?Ht.push(Fa(Y,null,tn,wn,hn,Fn,Ct,Et,kt)):Ht.push(hn),jn(Y,!0,nt),Un=Y.input.charCodeAt(Y.position),Un===44?(_t=!0,Un=Y.input.charCodeAt(++Y.position)):_t=!1}yn(Y,"unexpected end of the stream within a flow collection")}function po(Y,nt){var _t,Ct,Et=Ei,kt=!1,Ut=!1,Ht=nt,nr=0,Sr=!1,_r,Nr;if(Nr=Y.input.charCodeAt(Y.position),Nr===124)Ct=!1;else if(Nr===62)Ct=!0;else return!1;for(Y.kind="scalar",Y.result="";Nr!==0;)if(Nr=Y.input.charCodeAt(++Y.position),Nr===43||Nr===45)Ei===Et?Et=Nr===43?Gs:uo:yn(Y,"repeat of a chomping mode identifier");else if((_r=_s(Nr))>=0)_r===0?yn(Y,"bad explicit indentation width of a block scalar; it cannot be less than one"):Ut?yn(Y,"repeat of an indentation width identifier"):(Ht=nt+_r-1,Ut=!0);else break;if(Aa(Nr)){do Nr=Y.input.charCodeAt(++Y.position);while(Aa(Nr));if(Nr===35)do Nr=Y.input.charCodeAt(++Y.position);while(!Di(Nr)&&Nr!==0)}for(;Nr!==0;){for(za(Y),Y.lineIndent=0,Nr=Y.input.charCodeAt(Y.position);(!Ut||Y.lineIndentHt&&(Ht=Y.lineIndent),Di(Nr)){nr++;continue}if(Y.lineIndentnt)&&nr!==0)yn(Y,"bad indentation of a sequence entry");else if(Y.lineIndentnt)&&(wn&&(Ut=Y.line,Ht=Y.lineStart,nr=Y.position),Za(Y,nt,fi,!0,Et)&&(wn?tn=Y.result:hn=Y.result),wn||(Fa(Y,Nr,Yr,jr,tn,hn,Ut,Ht,nr),jr=tn=hn=null),jn(Y,!0,-1),Un=Y.input.charCodeAt(Y.position)),(Y.line===kt||Y.lineIndent>nt)&&Un!==0)yn(Y,"bad indentation of a mapping entry");else if(Y.lineIndentnt?nr=1:Y.lineIndent===nt?nr=0:Y.lineIndentnt?nr=1:Y.lineIndent===nt?nr=0:Y.lineIndent tag; it should be "scalar", not "'+Y.kind+'"'),Nr=0,Yr=Y.implicitTypes.length;Nr"),Y.result!==null&&tn.kind!==Y.kind&&yn(Y,"unacceptable node kind for !<"+Y.tag+'> tag; it should be "'+tn.kind+'", not "'+Y.kind+'"'),tn.resolve(Y.result,Y.tag)?(Y.result=tn.construct(Y.result,Y.tag),Y.anchor!==null&&(Y.anchorMap[Y.anchor]=Y.result)):yn(Y,"cannot resolve a node with !<"+Y.tag+"> explicit tag")}return Y.listener!==null&&Y.listener("close",Y),Y.tag!==null||Y.anchor!==null||_r}function Ws(Y){var nt=Y.position,_t,Ct,Et,kt=!1,Ut;for(Y.version=null,Y.checkLineBreaks=Y.legacy,Y.tagMap=Object.create(null),Y.anchorMap=Object.create(null);(Ut=Y.input.charCodeAt(Y.position))!==0&&(jn(Y,!0,-1),Ut=Y.input.charCodeAt(Y.position),!(Y.lineIndent>0||Ut!==37));){for(kt=!0,Ut=Y.input.charCodeAt(++Y.position),_t=Y.position;Ut!==0&&!_i(Ut);)Ut=Y.input.charCodeAt(++Y.position);for(Ct=Y.input.slice(_t,Y.position),Et=[],Ct.length<1&&yn(Y,"directive name must not be less than one character in length");Ut!==0;){for(;Aa(Ut);)Ut=Y.input.charCodeAt(++Y.position);if(Ut===35){do Ut=Y.input.charCodeAt(++Y.position);while(Ut!==0&&!Di(Ut));break}if(Di(Ut))break;for(_t=Y.position;Ut!==0&&!_i(Ut);)Ut=Y.input.charCodeAt(++Y.position);Et.push(Y.input.slice(_t,Y.position))}Ut!==0&&za(Y),ca.call(zs,Ct)?zs[Ct](Y,Ct,Et):bs(Y,'unknown document directive "'+Ct+'"')}if(jn(Y,!0,-1),Y.lineIndent===0&&Y.input.charCodeAt(Y.position)===45&&Y.input.charCodeAt(Y.position+1)===45&&Y.input.charCodeAt(Y.position+2)===45?(Y.position+=3,jn(Y,!0,-1)):kt&&yn(Y,"directives end mark is expected"),Za(Y,Y.lineIndent-1,fi,!1,!0),jn(Y,!0,-1),Y.checkLineBreaks&&Ca.test(Y.input.slice(nt,Y.position))&&bs(Y,"non-ASCII line breaks are interpreted as content"),Y.documents.push(Y.result),Y.position===Y.lineStart&&wa(Y)){Y.input.charCodeAt(Y.position)===46&&(Y.position+=3,jn(Y,!0,-1));return}if(Y.position"u"&&(_t=nt,nt=null);var Ct=Ja(Y,_t);if(typeof nt!="function")return Ct;for(var Et=0,kt=Ct.length;Etnt)&&nr!==0)yn(Y,"bad indentation of a sequence entry");else if(Y.lineIndentnt)&&(wn&&(Ut=Y.line,Ht=Y.lineStart,nr=Y.position),Za(Y,nt,fi,!0,Et)&&(wn?tn=Y.result:hn=Y.result),wn||(Fa(Y,Nr,Yr,jr,tn,hn,Ut,Ht,nr),jr=tn=hn=null),jn(Y,!0,-1),Un=Y.input.charCodeAt(Y.position)),(Y.line===kt||Y.lineIndent>nt)&&Un!==0)yn(Y,"bad indentation of a mapping entry");else if(Y.lineIndentnt?nr=1:Y.lineIndent===nt?nr=0:Y.lineIndentnt?nr=1:Y.lineIndent===nt?nr=0:Y.lineIndent tag; it should be "scalar", not "'+Y.kind+'"'),Nr=0,Yr=Y.implicitTypes.length;Nr"),Y.result!==null&&tn.kind!==Y.kind&&yn(Y,"unacceptable node kind for !<"+Y.tag+'> tag; it should be "'+tn.kind+'", not "'+Y.kind+'"'),tn.resolve(Y.result,Y.tag)?(Y.result=tn.construct(Y.result,Y.tag),Y.anchor!==null&&(Y.anchorMap[Y.anchor]=Y.result)):yn(Y,"cannot resolve a node with !<"+Y.tag+"> explicit tag")}return Y.listener!==null&&Y.listener("close",Y),Y.tag!==null||Y.anchor!==null||_r}function Ws(Y){var nt=Y.position,_t,Ct,Et,kt=!1,Ut;for(Y.version=null,Y.checkLineBreaks=Y.legacy,Y.tagMap=Object.create(null),Y.anchorMap=Object.create(null);(Ut=Y.input.charCodeAt(Y.position))!==0&&(jn(Y,!0,-1),Ut=Y.input.charCodeAt(Y.position),!(Y.lineIndent>0||Ut!==37));){for(kt=!0,Ut=Y.input.charCodeAt(++Y.position),_t=Y.position;Ut!==0&&!_i(Ut);)Ut=Y.input.charCodeAt(++Y.position);for(Ct=Y.input.slice(_t,Y.position),Et=[],Ct.length<1&&yn(Y,"directive name must not be less than one character in length");Ut!==0;){for(;Aa(Ut);)Ut=Y.input.charCodeAt(++Y.position);if(Ut===35){do Ut=Y.input.charCodeAt(++Y.position);while(Ut!==0&&!Di(Ut));break}if(Di(Ut))break;for(_t=Y.position;Ut!==0&&!_i(Ut);)Ut=Y.input.charCodeAt(++Y.position);Et.push(Y.input.slice(_t,Y.position))}Ut!==0&&za(Y),ca.call(zs,Ct)?zs[Ct](Y,Ct,Et):bs(Y,'unknown document directive "'+Ct+'"')}if(jn(Y,!0,-1),Y.lineIndent===0&&Y.input.charCodeAt(Y.position)===45&&Y.input.charCodeAt(Y.position+1)===45&&Y.input.charCodeAt(Y.position+2)===45?(Y.position+=3,jn(Y,!0,-1)):kt&&yn(Y,"directives end mark is expected"),Za(Y,Y.lineIndent-1,fi,!1,!0),jn(Y,!0,-1),Y.checkLineBreaks&&Ca.test(Y.input.slice(nt,Y.position))&&bs(Y,"non-ASCII line breaks are interpreted as content"),Y.documents.push(Y.result),Y.position===Y.lineStart&&wa(Y)){Y.input.charCodeAt(Y.position)===46&&(Y.position+=3,jn(Y,!0,-1));return}if(Y.position"u"&&(_t=nt,nt=null);var Ct=Ja(Y,_t);if(typeof nt!="function")return Ct;for(var Et=0,kt=Ct.length;Et=55296&&_t<=56319&&nt+1=56320&&Ct<=57343)?(_t-55296)*1024+Ct-56320+65536:_t}function Ln(Y){var nt=/^\n* /;return nt.test(Y)}var Xn=1,Vn=2,Qn=3,ei=4,di=5;function Zi(Y,nt,_t,Ct,Et,kt,Ut,Ht){var nr,Sr=0,_r=null,Nr=!1,Yr=!1,jr=Ct!==-1,tn=-1,hn=xn(qn(Y,0))&&An(qn(Y,Y.length-1));if(nt||Ut)for(nr=0;nr=65536?nr+=2:nr++){if(Sr=qn(Y,nr),!rn(Sr))return di;hn=hn&&mn(Sr,_r,Ht),_r=Sr}else{for(nr=0;nr=65536?nr+=2:nr++){if(Sr=qn(Y,nr),Sr===Zr)Nr=!0,jr&&(Yr=Yr||nr-tn-1>Ct&&Y[tn+1]!==" ",tn=nr);else if(!rn(Sr))return di;hn=hn&&mn(Sr,_r,Ht),_r=Sr}Yr=Yr||jr&&nr-tn-1>Ct&&Y[tn+1]!==" "}return!Nr&&!Yr?hn&&!Ut&&!Et(Y)?Xn:kt===rr?di:Vn:_t>9&&Ln(Y)?di:Ut?kt===rr?di:Vn:Yr?ei:Qn}function ci(Y,nt,_t,Ct,Et){Y.dump=function(){if(nt.length===0)return Y.quotingType===rr?'""':"''";if(!Y.noCompatMode&&(at.indexOf(nt)!==-1||xt.test(nt)))return Y.quotingType===rr?'"'+nt+'"':"'"+nt+"'";var kt=Y.indent*Math.max(1,_t),Ut=Y.lineWidth===-1?-1:Math.max(Math.min(Y.lineWidth,40),Y.lineWidth-kt),Ht=Ct||Y.flowLevel>-1&&_t>=Y.flowLevel;function nr(Sr){return zr(Y,Sr)}switch(Zi(nt,Ht,Y.indent,Ut,nr,Y.quotingType,Y.forceQuotes&&!Ct,Et)){case Xn:return nt;case Vn:return"'"+nt.replace(/'/g,"''")+"'";case Qn:return"|"+ts(nt,Y.indent)+Ji(Fr(nt,kt));case ei:return">"+ts(nt,Y.indent)+Ji(Fr(Li(nt,Ut),kt));case di:return'"'+Ys(nt)+'"';default:throw new Si("impossible error: invalid scalar style")}}()}function ts(Y,nt){var _t=Ln(Y)?String(nt):"",Ct=Y[Y.length-1]===` +`+ui.repeat(" ",Y.indent*nt)}function zr(Y,nt){var _t,Ct,Et;for(_t=0,Ct=Y.implicitTypes.length;_t=55296&&_t<=56319&&nt+1=56320&&Ct<=57343)?(_t-55296)*1024+Ct-56320+65536:_t}function Pn(Y){var nt=/^\n* /;return nt.test(Y)}var Xn=1,Vn=2,Qn=3,ei=4,di=5;function Zi(Y,nt,_t,Ct,Et,kt,Ut,Ht){var nr,Sr=0,_r=null,Nr=!1,Yr=!1,jr=Ct!==-1,tn=-1,hn=xn(qn(Y,0))&&An(qn(Y,Y.length-1));if(nt||Ut)for(nr=0;nr=65536?nr+=2:nr++){if(Sr=qn(Y,nr),!rn(Sr))return di;hn=hn&&mn(Sr,_r,Ht),_r=Sr}else{for(nr=0;nr=65536?nr+=2:nr++){if(Sr=qn(Y,nr),Sr===Zr)Nr=!0,jr&&(Yr=Yr||nr-tn-1>Ct&&Y[tn+1]!==" ",tn=nr);else if(!rn(Sr))return di;hn=hn&&mn(Sr,_r,Ht),_r=Sr}Yr=Yr||jr&&nr-tn-1>Ct&&Y[tn+1]!==" "}return!Nr&&!Yr?hn&&!Ut&&!Et(Y)?Xn:kt===rr?di:Vn:_t>9&&Pn(Y)?di:Ut?kt===rr?di:Vn:Yr?ei:Qn}function ci(Y,nt,_t,Ct,Et){Y.dump=function(){if(nt.length===0)return Y.quotingType===rr?'""':"''";if(!Y.noCompatMode&&(at.indexOf(nt)!==-1||xt.test(nt)))return Y.quotingType===rr?'"'+nt+'"':"'"+nt+"'";var kt=Y.indent*Math.max(1,_t),Ut=Y.lineWidth===-1?-1:Math.max(Math.min(Y.lineWidth,40),Y.lineWidth-kt),Ht=Ct||Y.flowLevel>-1&&_t>=Y.flowLevel;function nr(Sr){return zr(Y,Sr)}switch(Zi(nt,Ht,Y.indent,Ut,nr,Y.quotingType,Y.forceQuotes&&!Ct,Et)){case Xn:return nt;case Vn:return"'"+nt.replace(/'/g,"''")+"'";case Qn:return"|"+ts(nt,Y.indent)+Ji(Fr(nt,kt));case ei:return">"+ts(nt,Y.indent)+Ji(Fr(Li(nt,Ut),kt));case di:return'"'+Ys(nt)+'"';default:throw new Si("impossible error: invalid scalar style")}}()}function ts(Y,nt){var _t=Pn(Y)?String(nt):"",Ct=Y[Y.length-1]===` `,Et=Ct&&(Y[Y.length-2]===` `||Y===` `),kt=Et?"+":Ct?"":"-";return _t+kt+` @@ -376,20 +376,168 @@ new Remarkable().use(linkify) `:"")+Ha(nr,nt),Et=kt}return Ct}function Ha(Y,nt){if(Y===""||Y[0]===" ")return Y;for(var _t=/ [^ ]/g,Ct,Et=0,kt,Ut=0,Ht=0,nr="";Ct=_t.exec(Y);)Ht=Ct.index,Ht-Et>nt&&(kt=Ut>Et?Ut:Ht,nr+=` `+Y.slice(Et,kt),Et=kt+1),Ut=Ht;return nr+=` `,Y.length-Et>nt&&Ut>Et?nr+=Y.slice(Et,Ut)+` -`+Y.slice(Ut+1):nr+=Y.slice(Et),nr.slice(1)}function Ys(Y){for(var nt="",_t=0,Ct,Et=0;Et=65536?Et+=2:Et++)_t=qn(Y,Et),Ct=We[_t],!Ct&&rn(_t)?(nt+=Y[Et],_t>=65536&&(nt+=Y[Et+1])):nt+=Ct||qt(_t);return nt}function js(Y,nt,_t){var Ct="",Et=Y.tag,kt,Ut,Ht;for(kt=0,Ut=_t.length;kt"u"&&ta(Y,nt,null,!1,!1))&&(Ct!==""&&(Ct+=","+(Y.condenseFlow?"":" ")),Ct+=Y.dump);Y.tag=Et,Y.dump="["+Ct+"]"}function Po(Y,nt,_t,Ct){var Et="",kt=Y.tag,Ut,Ht,nr;for(Ut=0,Ht=_t.length;Ut"u"&&ta(Y,nt+1,null,!0,!0,!1,!0))&&((!Ct||Et!=="")&&(Et+=Vr(Y,nt)),Y.dump&&Zr===Y.dump.charCodeAt(0)?Et+="-":Et+="- ",Et+=Y.dump);Y.tag=kt,Y.dump=Et||"[]"}function rs(Y,nt,_t){var Ct="",Et=Y.tag,kt=Object.keys(_t),Ut,Ht,nr,Sr,_r;for(Ut=0,Ht=kt.length;Ut1024&&(_r+="? "),_r+=Y.dump+(Y.condenseFlow?'"':"")+":"+(Y.condenseFlow?"":" "),ta(Y,nt,Sr,!1,!1)&&(_r+=Y.dump,Ct+=_r));Y.tag=Et,Y.dump="{"+Ct+"}"}function ns(Y,nt,_t,Ct){var Et="",kt=Y.tag,Ut=Object.keys(_t),Ht,nr,Sr,_r,Nr,Yr;if(Y.sortKeys===!0)Ut.sort();else if(typeof Y.sortKeys=="function")Ut.sort(Y.sortKeys);else if(Y.sortKeys)throw new Si("sortKeys must be a boolean or a function");for(Ht=0,nr=Ut.length;Ht1024,Nr&&(Y.dump&&Zr===Y.dump.charCodeAt(0)?Yr+="?":Yr+="? "),Yr+=Y.dump,Nr&&(Yr+=Vr(Y,nt)),ta(Y,nt+1,_r,!0,Nr)&&(Y.dump&&Zr===Y.dump.charCodeAt(0)?Yr+=":":Yr+=": ",Yr+=Y.dump,Et+=Yr));Y.tag=kt,Y.dump=Et||"{}"}function ea(Y,nt,_t){var Ct,Et,kt,Ut,Ht,nr;for(Et=_t?Y.explicitTypes:Y.implicitTypes,kt=0,Ut=Et.length;kt tag resolver accepts not "'+nr+'" style');Y.dump=Ct}return!0}return!1}function ta(Y,nt,_t,Ct,Et,kt,Ut){Y.tag=null,Y.dump=_t,ea(Y,_t,!1)||ea(Y,_t,!0);var Ht=tr.call(Y.dump),nr=Ct,Sr;Ct&&(Ct=Y.flowLevel<0||Y.flowLevel>nt);var _r=Ht==="[object Object]"||Ht==="[object Array]",Nr,Yr;if(_r&&(Nr=Y.duplicates.indexOf(_t),Yr=Nr!==-1),(Y.tag!==null&&Y.tag!=="?"||Yr||Y.indent!==2&&nt>0)&&(Et=!1),Yr&&Y.usedDuplicates[Nr])Y.dump="*ref_"+Nr;else{if(_r&&Yr&&!Y.usedDuplicates[Nr]&&(Y.usedDuplicates[Nr]=!0),Ht==="[object Object]")Ct&&Object.keys(Y.dump).length!==0?(ns(Y,nt,Y.dump,Et),Yr&&(Y.dump="&ref_"+Nr+Y.dump)):(rs(Y,nt,Y.dump),Yr&&(Y.dump="&ref_"+Nr+" "+Y.dump));else if(Ht==="[object Array]")Ct&&Y.dump.length!==0?(Y.noArrayIndent&&!Ut&&nt>0?Po(Y,nt-1,Y.dump,Et):Po(Y,nt,Y.dump,Et),Yr&&(Y.dump="&ref_"+Nr+Y.dump)):(js(Y,nt,Y.dump),Yr&&(Y.dump="&ref_"+Nr+" "+Y.dump));else if(Ht==="[object String]")Y.tag!=="?"&&ci(Y,Y.dump,nt,kt,nr);else{if(Ht==="[object Undefined]")return!1;if(Y.skipInvalid)return!1;throw new Si("unacceptable kind of an object to dump "+Ht)}Y.tag!==null&&Y.tag!=="?"&&(Sr=encodeURI(Y.tag[0]==="!"?Y.tag.slice(1):Y.tag).replace(/!/g,"%21"),Y.tag[0]==="!"?Sr="!"+Sr:Sr.slice(0,18)==="tag:yaml.org,2002:"?Sr="!!"+Sr.slice(18):Sr="!<"+Sr+">",Y.dump=Sr+" "+Y.dump)}return!0}function Ho(Y,nt){var _t=[],Ct=[],Et,kt;for(is(Y,_t,Ct),Et=0,kt=Ct.length;Et{const Ct=nt.parse;nt.parse=W(Ct,{before(Et){const[kt]=Et.args;if(!kt.startsWith(`--- +`+Y.slice(Ut+1):nr+=Y.slice(Et),nr.slice(1)}function Ys(Y){for(var nt="",_t=0,Ct,Et=0;Et=65536?Et+=2:Et++)_t=qn(Y,Et),Ct=We[_t],!Ct&&rn(_t)?(nt+=Y[Et],_t>=65536&&(nt+=Y[Et+1])):nt+=Ct||qt(_t);return nt}function js(Y,nt,_t){var Ct="",Et=Y.tag,kt,Ut,Ht;for(kt=0,Ut=_t.length;kt"u"&&ta(Y,nt,null,!1,!1))&&(Ct!==""&&(Ct+=","+(Y.condenseFlow?"":" ")),Ct+=Y.dump);Y.tag=Et,Y.dump="["+Ct+"]"}function Lo(Y,nt,_t,Ct){var Et="",kt=Y.tag,Ut,Ht,nr;for(Ut=0,Ht=_t.length;Ut"u"&&ta(Y,nt+1,null,!0,!0,!1,!0))&&((!Ct||Et!=="")&&(Et+=Vr(Y,nt)),Y.dump&&Zr===Y.dump.charCodeAt(0)?Et+="-":Et+="- ",Et+=Y.dump);Y.tag=kt,Y.dump=Et||"[]"}function rs(Y,nt,_t){var Ct="",Et=Y.tag,kt=Object.keys(_t),Ut,Ht,nr,Sr,_r;for(Ut=0,Ht=kt.length;Ut1024&&(_r+="? "),_r+=Y.dump+(Y.condenseFlow?'"':"")+":"+(Y.condenseFlow?"":" "),ta(Y,nt,Sr,!1,!1)&&(_r+=Y.dump,Ct+=_r));Y.tag=Et,Y.dump="{"+Ct+"}"}function ns(Y,nt,_t,Ct){var Et="",kt=Y.tag,Ut=Object.keys(_t),Ht,nr,Sr,_r,Nr,Yr;if(Y.sortKeys===!0)Ut.sort();else if(typeof Y.sortKeys=="function")Ut.sort(Y.sortKeys);else if(Y.sortKeys)throw new Si("sortKeys must be a boolean or a function");for(Ht=0,nr=Ut.length;Ht1024,Nr&&(Y.dump&&Zr===Y.dump.charCodeAt(0)?Yr+="?":Yr+="? "),Yr+=Y.dump,Nr&&(Yr+=Vr(Y,nt)),ta(Y,nt+1,_r,!0,Nr)&&(Y.dump&&Zr===Y.dump.charCodeAt(0)?Yr+=":":Yr+=": ",Yr+=Y.dump,Et+=Yr));Y.tag=kt,Y.dump=Et||"{}"}function ea(Y,nt,_t){var Ct,Et,kt,Ut,Ht,nr;for(Et=_t?Y.explicitTypes:Y.implicitTypes,kt=0,Ut=Et.length;kt tag resolver accepts not "'+nr+'" style');Y.dump=Ct}return!0}return!1}function ta(Y,nt,_t,Ct,Et,kt,Ut){Y.tag=null,Y.dump=_t,ea(Y,_t,!1)||ea(Y,_t,!0);var Ht=tr.call(Y.dump),nr=Ct,Sr;Ct&&(Ct=Y.flowLevel<0||Y.flowLevel>nt);var _r=Ht==="[object Object]"||Ht==="[object Array]",Nr,Yr;if(_r&&(Nr=Y.duplicates.indexOf(_t),Yr=Nr!==-1),(Y.tag!==null&&Y.tag!=="?"||Yr||Y.indent!==2&&nt>0)&&(Et=!1),Yr&&Y.usedDuplicates[Nr])Y.dump="*ref_"+Nr;else{if(_r&&Yr&&!Y.usedDuplicates[Nr]&&(Y.usedDuplicates[Nr]=!0),Ht==="[object Object]")Ct&&Object.keys(Y.dump).length!==0?(ns(Y,nt,Y.dump,Et),Yr&&(Y.dump="&ref_"+Nr+Y.dump)):(rs(Y,nt,Y.dump),Yr&&(Y.dump="&ref_"+Nr+" "+Y.dump));else if(Ht==="[object Array]")Ct&&Y.dump.length!==0?(Y.noArrayIndent&&!Ut&&nt>0?Lo(Y,nt-1,Y.dump,Et):Lo(Y,nt,Y.dump,Et),Yr&&(Y.dump="&ref_"+Nr+Y.dump)):(js(Y,nt,Y.dump),Yr&&(Y.dump="&ref_"+Nr+" "+Y.dump));else if(Ht==="[object String]")Y.tag!=="?"&&ci(Y,Y.dump,nt,kt,nr);else{if(Ht==="[object Undefined]")return!1;if(Y.skipInvalid)return!1;throw new Si("unacceptable kind of an object to dump "+Ht)}Y.tag!==null&&Y.tag!=="?"&&(Sr=encodeURI(Y.tag[0]==="!"?Y.tag.slice(1):Y.tag).replace(/!/g,"%21"),Y.tag[0]==="!"?Sr="!"+Sr:Sr.slice(0,18)==="tag:yaml.org,2002:"?Sr="!!"+Sr.slice(18):Sr="!<"+Sr+">",Y.dump=Sr+" "+Y.dump)}return!0}function Ho(Y,nt){var _t=[],Ct=[],Et,kt;for(is(Y,_t,Ct),Et=0,kt=Ct.length;Et{const Ct=nt.parse;nt.parse=X(Ct,{before(Et){const[kt]=Et.args;if(!kt.startsWith(`--- `))return;const Ut=kt.indexOf(` --- -`);if(Ut<0)return;const Ht=kt.slice(4,Ut);let nr;try{var Sr;nr=_l.load(Ht),(Sr=nr)!=null&&Sr.markmap&&(nr.markmap=yl(nr.markmap))}catch{return}_t.frontmatter=nr;const _r=Ut+5;Et.args[0]=kt.slice(_r)},after(){nt.parse=Ct}})}),{}}};function yl(Y){if(Y)return["color","extraJs","extraCss"].forEach(nt=>{Y[nt]!=null&&(Y[nt]=vl(Y[nt]))}),["duration","maxWidth","initialExpandLevel"].forEach(nt=>{Y[nt]!=null&&(Y[nt]=Sl(Y[nt]))}),Y}function vl(Y){var nt;let _t;return typeof Y=="string"?_t=[Y]:Array.isArray(Y)&&(_t=Y.filter(Ct=>Ct&&typeof Ct=="string")),(nt=_t)!=null&&nt.length?_t:void 0}function Sl(Y){if(!isNaN(+Y))return+Y}const al=[bl,Cn,Qr];function sl(Y){if(Y.type==="heading")Y.children=Y.children.filter(Et=>Et.type!=="paragraph");else if(Y.type==="list_item"){var nt;Y.children=Y.children.filter(Et=>["paragraph","fence"].includes(Et.type)?(Y.content||(Y.content=Et.content,Y.payload=$({},Y.payload,Et.payload)),!1):!0),((nt=Y.payload)==null?void 0:nt.index)!=null&&(Y.content=`${Y.payload.index}. ${Y.content}`)}else if(Y.type==="ordered_list"){var _t,Ct;let Et=(_t=(Ct=Y.payload)==null?void 0:Ct.startIndex)!=null?_t:1;Y.children.forEach(kt=>{kt.type==="list_item"&&(kt.payload=$({},kt.payload,{index:Et}),Et+=1)})}Y.children.length===0?delete Y.children:(Y.children.forEach(Et=>sl(Et)),Y.children.length===1&&!Y.children[0].content&&(Y.children=Y.children[0].children))}function ol(Y,nt=0){var _t;Y.depth=nt,(_t=Y.children)==null||_t.forEach(Ct=>{ol(Ct,nt+1)})}class xl{constructor(nt=al){this.assetsMap={},this.plugins=nt,this.hooks=En();const _t={};for(const{name:Et,transform:kt}of nt)_t[Et]=kt(this.hooks);this.assetsMap=_t;const Ct=new bn("full",{html:!0,breaks:!0,maxNesting:1/0});Ct.renderer.rules.htmltag=W(Ct.renderer.rules.htmltag,{after:Et=>{this.hooks.htmltag.call(Et)}}),this.md=Ct,this.hooks.parser.call(Ct)}buildTree(nt){const{md:_t}=this,Ct={type:"root",depth:0,content:"",children:[],payload:{}},Et=[Ct];let kt=0;for(const nr of nt){let Sr=Et[Et.length-1];if(nr.type.endsWith("_open")){const _r=nr.type.slice(0,-5),Nr={};if(nr.lines&&(Nr.lines=nr.lines),_r==="heading")for(kt=nr.hLevel;((Ut=Sr)==null?void 0:Ut.depth)>=kt;){var Ut;Et.pop(),Sr=Et[Et.length-1]}else{var Ht;kt=Math.max(kt,((Ht=Sr)==null?void 0:Ht.depth)||0)+1,_r==="ordered_list"&&(Nr.startIndex=nr.order)}const Yr={type:_r,depth:kt,payload:Nr,content:"",children:[]};Sr.children.push(Yr),Et.push(Yr)}else if(Sr){if(nr.type===`${Sr.type}_close`)Sr.type==="heading"?kt=Sr.depth:(Et.pop(),kt=0);else if(nr.type==="inline"){const _r=this.hooks.htmltag.tap(Yr=>{const jr=Yr.result.match(/^$/),tn=jr==null?void 0:jr[1].trim().split(" ");tn[0]==="fold"&&(Sr.payload.fold=["all","recursively"].includes(tn[1])?2:1,Yr.result="")}),Nr=_t.renderer.render([nr],_t.options,{});_r(),Sr.content=`${Sr.content||""}${Nr}`}else if(nr.type==="fence"){let _r=_t.renderer.render([nr],_t.options,{});const Nr=_r.match(//);Nr&&(_r=_r.replace("
      ",``)),Sr.children.push({type:nr.type,depth:kt+1,content:_r,children:[]})}}else continue}return Ct}transform(nt){var _t;const Ct={features:{}};this.hooks.beforeParse.call(this.md,Ct);const Et=this.md.parse(nt,{});this.hooks.afterParse.call(this.md,Ct);let kt=this.buildTree(Et);return sl(kt),((_t=kt.children)==null?void 0:_t.length)===1&&(kt=kt.children[0]),ol(kt),$({},Ct,{root:kt})}getAssets(nt){var _t;const Ct=[],Et=[];(_t=nt)!=null||(nt=this.plugins.map(kt=>kt.name));for(const kt of nt.map(Ut=>this.assetsMap[Ut]))kt&&(kt.styles&&Ct.push(...kt.styles),kt.scripts&&Et.push(...kt.scripts));return{styles:Ct,scripts:Et}}getUsedAssets(nt){const _t=this.plugins.map(Ct=>Ct.name).filter(Ct=>nt[Ct]);return this.getAssets(_t)}}const El={"markmap-lib":"0.14.4",d3:"6.7.0"};M.Transformer=xl,M.builtInPlugins=al,M.fillTemplate=Ee,M.transformerVersions=El})})(browser,browser.exports);var browserExports=browser.exports;/*! markmap-common v0.14.2 | MIT License */class Hook{constructor(){this.listeners=[]}tap(m){return this.listeners.push(m),()=>this.revoke(m)}revoke(m){const M=this.listeners.indexOf(m);M>=0&&this.listeners.splice(M,1)}revokeAll(){this.listeners.splice(0)}call(...m){for(const M of this.listeners)M(...m)}}const uniqId=Math.random().toString(36).slice(2,8);let globalIndex=0;function getId(){return globalIndex+=1,`mm-${uniqId}-${globalIndex}`}function noop$1(){}function walkTree(k,m,M="children"){const G=(V,q)=>m(V,()=>{var $;($=V[M])==null||$.forEach(D=>{G(D,V)})},q);G(k)}function arrayFrom(k){if(Array.from)return Array.from(k);const m=[];for(let M=0;M{G&&M.indexOf(G)<0&&M.push(G)}),M.join(" ")}function childSelector(k){if(typeof k=="string"){const M=k;k=G=>G.tagName===M}const m=k;return function(){let G=arrayFrom(this.childNodes);return m&&(G=G.filter(V=>m(V))),G}}function max$1(k,m){let M;if(m===void 0)for(const G of k)G!=null&&(M=G)&&(M=G);else{let G=-1;for(let V of k)(V=m(V,++G,k))!=null&&(M=V)&&(M=V)}return M}function min$2(k,m){let M;if(m===void 0)for(const G of k)G!=null&&(M>G||M===void 0&&G>=G)&&(M=G);else{let G=-1;for(let V of k)(V=m(V,++G,k))!=null&&(M>V||M===void 0&&V>=V)&&(M=V)}return M}function minIndex(k,m){let M,G=-1,V=-1;if(m===void 0)for(const q of k)++V,q!=null&&(M>q||M===void 0&&q>=q)&&(M=q,G=V);else for(let q of k)(q=m(q,++V,k))!=null&&(M>q||M===void 0&&q>=q)&&(M=q,G=V);return G}var noop={value:()=>{}};function dispatch(){for(var k=0,m=arguments.length,M={},G;k=0&&(G=M.slice(V+1),M=M.slice(0,V)),M&&!m.hasOwnProperty(M))throw new Error("unknown type: "+M);return{type:M,name:G}})}Dispatch.prototype=dispatch.prototype={constructor:Dispatch,on:function(k,m){var M=this._,G=parseTypenames$1(k+"",M),V,q=-1,$=G.length;if(arguments.length<2){for(;++q<$;)if((V=(k=G[q]).type)&&(V=get$2(M[V],k.name)))return V;return}if(m!=null&&typeof m!="function")throw new Error("invalid callback: "+m);for(;++q<$;)if(V=(k=G[q]).type)M[V]=set$2(M[V],k.name,m);else if(m==null)for(V in M)M[V]=set$2(M[V],k.name,null);return this},copy:function(){var k={},m=this._;for(var M in m)k[M]=m[M].slice();return new Dispatch(k)},call:function(k,m){if((V=arguments.length-2)>0)for(var M=new Array(V),G=0,V,q;G=0&&(m=k.slice(0,M))!=="xmlns"&&(k=k.slice(M+1)),namespaces.hasOwnProperty(m)?{space:namespaces[m],local:k}:k}function creatorInherit(k){return function(){var m=this.ownerDocument,M=this.namespaceURI;return M===xhtml&&m.documentElement.namespaceURI===xhtml?m.createElement(k):m.createElementNS(M,k)}}function creatorFixed(k){return function(){return this.ownerDocument.createElementNS(k.space,k.local)}}function creator(k){var m=namespace(k);return(m.local?creatorFixed:creatorInherit)(m)}function none(){}function selector(k){return k==null?none:function(){return this.querySelector(k)}}function selection_select(k){typeof k!="function"&&(k=selector(k));for(var m=this._groups,M=m.length,G=new Array(M),V=0;V=W&&(W=X+1);!(Q=he[W])&&++W=0;)($=G[V])&&(q&&$.compareDocumentPosition(q)^4&&q.parentNode.insertBefore($,q),q=$);return this}function selection_sort(k){k||(k=ascending);function m(K,z){return K&&z?k(K.__data__,z.__data__):!K-!z}for(var M=this._groups,G=M.length,V=new Array(G),q=0;qm?1:k>=m?0:NaN}function selection_call(){var k=arguments[0];return arguments[0]=this,k.apply(null,arguments),this}function selection_nodes(){return Array.from(this)}function selection_node(){for(var k=this._groups,m=0,M=k.length;m1?this.each((m==null?styleRemove$1:typeof m=="function"?styleFunction$1:styleConstant$1)(k,m,M??"")):styleValue(this.node(),k)}function styleValue(k,m){return k.style.getPropertyValue(m)||defaultView(k).getComputedStyle(k,null).getPropertyValue(m)}function propertyRemove(k){return function(){delete this[k]}}function propertyConstant(k,m){return function(){this[k]=m}}function propertyFunction(k,m){return function(){var M=m.apply(this,arguments);M==null?delete this[k]:this[k]=M}}function selection_property(k,m){return arguments.length>1?this.each((m==null?propertyRemove:typeof m=="function"?propertyFunction:propertyConstant)(k,m)):this.node()[k]}function classArray(k){return k.trim().split(/^|\s+/)}function classList$1(k){return k.classList||new ClassList(k)}function ClassList(k){this._node=k,this._names=classArray(k.getAttribute("class")||"")}ClassList.prototype={add:function(k){var m=this._names.indexOf(k);m<0&&(this._names.push(k),this._node.setAttribute("class",this._names.join(" ")))},remove:function(k){var m=this._names.indexOf(k);m>=0&&(this._names.splice(m,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(k){return this._names.indexOf(k)>=0}};function classedAdd(k,m){for(var M=classList$1(k),G=-1,V=m.length;++G=0&&(M=m.slice(G+1),m=m.slice(0,G)),{type:m,name:M}})}function onRemove(k){return function(){var m=this.__on;if(m){for(var M=0,G=-1,V=m.length,q;M>8&15|m>>4&240,m>>4&15|m&240,(m&15)<<4|m&15,1):M===8?rgba(m>>24&255,m>>16&255,m>>8&255,(m&255)/255):M===4?rgba(m>>12&15|m>>8&240,m>>8&15|m>>4&240,m>>4&15|m&240,((m&15)<<4|m&15)/255):null):(m=reRgbInteger.exec(k))?new Rgb(m[1],m[2],m[3],1):(m=reRgbPercent.exec(k))?new Rgb(m[1]*255/100,m[2]*255/100,m[3]*255/100,1):(m=reRgbaInteger.exec(k))?rgba(m[1],m[2],m[3],m[4]):(m=reRgbaPercent.exec(k))?rgba(m[1]*255/100,m[2]*255/100,m[3]*255/100,m[4]):(m=reHslPercent.exec(k))?hsla(m[1],m[2]/100,m[3]/100,1):(m=reHslaPercent.exec(k))?hsla(m[1],m[2]/100,m[3]/100,m[4]):named.hasOwnProperty(k)?rgbn(named[k]):k==="transparent"?new Rgb(NaN,NaN,NaN,0):null}function rgbn(k){return new Rgb(k>>16&255,k>>8&255,k&255,1)}function rgba(k,m,M,G){return G<=0&&(k=m=M=NaN),new Rgb(k,m,M,G)}function rgbConvert(k){return k instanceof Color||(k=color(k)),k?(k=k.rgb(),new Rgb(k.r,k.g,k.b,k.opacity)):new Rgb}function rgb(k,m,M,G){return arguments.length===1?rgbConvert(k):new Rgb(k,m,M,G??1)}function Rgb(k,m,M,G){this.r=+k,this.g=+m,this.b=+M,this.opacity=+G}define(Rgb,rgb,extend(Color,{brighter:function(k){return k=k==null?brighter:Math.pow(brighter,k),new Rgb(this.r*k,this.g*k,this.b*k,this.opacity)},darker:function(k){return k=k==null?darker:Math.pow(darker,k),new Rgb(this.r*k,this.g*k,this.b*k,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rgb_formatHex,formatHex:rgb_formatHex,formatRgb:rgb_formatRgb,toString:rgb_formatRgb}));function rgb_formatHex(){return"#"+hex(this.r)+hex(this.g)+hex(this.b)}function rgb_formatRgb(){var k=this.opacity;return k=isNaN(k)?1:Math.max(0,Math.min(1,k)),(k===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(k===1?")":", "+k+")")}function hex(k){return k=Math.max(0,Math.min(255,Math.round(k)||0)),(k<16?"0":"")+k.toString(16)}function hsla(k,m,M,G){return G<=0?k=m=M=NaN:M<=0||M>=1?k=m=NaN:m<=0&&(k=NaN),new Hsl(k,m,M,G)}function hslConvert(k){if(k instanceof Hsl)return new Hsl(k.h,k.s,k.l,k.opacity);if(k instanceof Color||(k=color(k)),!k)return new Hsl;if(k instanceof Hsl)return k;k=k.rgb();var m=k.r/255,M=k.g/255,G=k.b/255,V=Math.min(m,M,G),q=Math.max(m,M,G),$=NaN,D=q-V,B=(q+V)/2;return D?(m===q?$=(M-G)/D+(M0&&B<1?0:$,new Hsl($,D,B,k.opacity)}function hsl(k,m,M,G){return arguments.length===1?hslConvert(k):new Hsl(k,m,M,G??1)}function Hsl(k,m,M,G){this.h=+k,this.s=+m,this.l=+M,this.opacity=+G}define(Hsl,hsl,extend(Color,{brighter:function(k){return k=k==null?brighter:Math.pow(brighter,k),new Hsl(this.h,this.s,this.l*k,this.opacity)},darker:function(k){return k=k==null?darker:Math.pow(darker,k),new Hsl(this.h,this.s,this.l*k,this.opacity)},rgb:function(){var k=this.h%360+(this.h<0)*360,m=isNaN(k)||isNaN(this.s)?0:this.s,M=this.l,G=M+(M<.5?M:1-M)*m,V=2*M-G;return new Rgb(hsl2rgb(k>=240?k-240:k+120,V,G),hsl2rgb(k,V,G),hsl2rgb(k<120?k+240:k-120,V,G),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var k=this.opacity;return k=isNaN(k)?1:Math.max(0,Math.min(1,k)),(k===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(k===1?")":", "+k+")")}}));function hsl2rgb(k,m,M){return(k<60?m+(M-m)*k/60:k<180?M:k<240?m+(M-m)*(240-k)/60:m)*255}const constant$2=k=>()=>k;function linear(k,m){return function(M){return k+M*m}}function exponential(k,m,M){return k=Math.pow(k,M),m=Math.pow(m,M)-k,M=1/M,function(G){return Math.pow(k+G*m,M)}}function gamma(k){return(k=+k)==1?nogamma:function(m,M){return M-m?exponential(m,M,k):constant$2(isNaN(m)?M:m)}}function nogamma(k,m){var M=m-k;return M?linear(k,M):constant$2(isNaN(k)?m:k)}const interpolateRgb=function k(m){var M=gamma(m);function G(V,q){var $=M((V=rgb(V)).r,(q=rgb(q)).r),D=M(V.g,q.g),B=M(V.b,q.b),R=nogamma(V.opacity,q.opacity);return function(U){return V.r=$(U),V.g=D(U),V.b=B(U),V.opacity=R(U),V+""}}return G.gamma=k,G}(1);function interpolateNumber(k,m){return k=+k,m=+m,function(M){return k*(1-M)+m*M}}var reA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,reB=new RegExp(reA.source,"g");function zero(k){return function(){return k}}function one(k){return function(m){return k(m)+""}}function interpolateString(k,m){var M=reA.lastIndex=reB.lastIndex=0,G,V,q,$=-1,D=[],B=[];for(k=k+"",m=m+"";(G=reA.exec(k))&&(V=reB.exec(m));)(q=V.index)>M&&(q=m.slice(M,q),D[$]?D[$]+=q:D[++$]=q),(G=G[0])===(V=V[0])?D[$]?D[$]+=V:D[++$]=V:(D[++$]=null,B.push({i:$,x:interpolateNumber(G,V)})),M=reB.lastIndex;return M180?U+=360:U-R>180&&(R+=360),z.push({i:K.push(V(K)+"rotate(",null,G)-2,x:interpolateNumber(R,U)})):U&&K.push(V(K)+"rotate("+U+G)}function D(R,U,K,z){R!==U?z.push({i:K.push(V(K)+"skewX(",null,G)-2,x:interpolateNumber(R,U)}):U&&K.push(V(K)+"skewX("+U+G)}function B(R,U,K,z,e,ae){if(R!==K||U!==z){var ie=e.push(V(e)+"scale(",null,",",null,")");ae.push({i:ie-4,x:interpolateNumber(R,K)},{i:ie-2,x:interpolateNumber(U,z)})}else(K!==1||z!==1)&&e.push(V(e)+"scale("+K+","+z+")")}return function(R,U){var K=[],z=[];return R=k(R),U=k(U),q(R.translateX,R.translateY,U.translateX,U.translateY,K,z),$(R.rotate,U.rotate,K,z),D(R.skewX,U.skewX,K,z),B(R.scaleX,R.scaleY,U.scaleX,U.scaleY,K,z),R=U=null,function(e){for(var ae=-1,ie=z.length,he;++ae=0&&k._call.call(null,m),k=k._next;--frame}function wake(){clockNow=(clockLast=clock.now())+clockSkew,frame=timeout$1=0;try{timerFlush()}finally{frame=0,nap(),clockNow=0}}function poke(){var k=clock.now(),m=k-clockLast;m>pokeDelay&&(clockSkew-=m,clockLast=k)}function nap(){for(var k,m=taskHead,M,G=1/0;m;)m._call?(G>m._time&&(G=m._time),k=m,m=m._next):(M=m._next,m._next=null,m=k?k._next=M:taskHead=M);taskTail=k,sleep(G)}function sleep(k){if(!frame){timeout$1&&(timeout$1=clearTimeout(timeout$1));var m=k-clockNow;m>24?(k<1/0&&(timeout$1=setTimeout(wake,k-clock.now()-clockSkew)),interval&&(interval=clearInterval(interval))):(interval||(clockLast=clock.now(),interval=setInterval(poke,pokeDelay)),frame=1,setFrame(wake))}}function timeout(k,m,M){var G=new Timer;return m=m==null?0:+m,G.restart(V=>{G.stop(),k(V+m)},m,M),G}var emptyOn=dispatch("start","end","cancel","interrupt"),emptyTween=[],CREATED=0,SCHEDULED=1,STARTING=2,STARTED=3,RUNNING=4,ENDING=5,ENDED=6;function schedule(k,m,M,G,V,q){var $=k.__transition;if(!$)k.__transition={};else if(M in $)return;create(k,M,{name:m,index:G,group:V,on:emptyOn,tween:emptyTween,time:q.time,delay:q.delay,duration:q.duration,ease:q.ease,timer:null,state:CREATED})}function init(k,m){var M=get$1(k,m);if(M.state>CREATED)throw new Error("too late; already scheduled");return M}function set$1(k,m){var M=get$1(k,m);if(M.state>STARTED)throw new Error("too late; already running");return M}function get$1(k,m){var M=k.__transition;if(!M||!(M=M[m]))throw new Error("transition not found");return M}function create(k,m,M){var G=k.__transition,V;G[m]=M,M.timer=timer(q,0,M.time);function q(R){M.state=SCHEDULED,M.timer.restart($,M.delay,M.time),M.delay<=R&&$(R-M.delay)}function $(R){var U,K,z,e;if(M.state!==SCHEDULED)return B();for(U in G)if(e=G[U],e.name===M.name){if(e.state===STARTED)return timeout($);e.state===RUNNING?(e.state=ENDED,e.timer.stop(),e.on.call("interrupt",k,k.__data__,e.index,e.group),delete G[U]):+USTARTING&&G.state=0&&(m=m.slice(0,M)),!m||m==="start"})}function onFunction(k,m,M){var G,V,q=start(m)?init:set$1;return function(){var $=q(this,k),D=$.on;D!==G&&(V=(G=D).copy()).on(m,M),$.on=V}}function transition_on(k,m){var M=this._id;return arguments.length<2?get$1(this.node(),M).on.on(k):this.each(onFunction(M,k,m))}function removeFunction(k){return function(){var m=this.parentNode;for(var M in this.__transition)if(+M!==k)return;m&&m.removeChild(this)}}function transition_remove(){return this.on("end.remove",removeFunction(this._id))}function transition_select(k){var m=this._name,M=this._id;typeof k!="function"&&(k=selector(k));for(var G=this._groups,V=G.length,q=new Array(V),$=0;$epsilon)if(!(Math.abs(U*D-B*R)>epsilon)||!V)this._+="L"+(this._x1=k)+","+(this._y1=m);else{var z=M-q,e=G-$,ae=D*D+B*B,ie=z*z+e*e,he=Math.sqrt(ae),J=Math.sqrt(K),X=V*Math.tan((pi-Math.acos((ae+K-ie)/(2*he*J)))/2),W=X/J,L=X/he;Math.abs(W-1)>epsilon&&(this._+="L"+(k+W*R)+","+(m+W*U)),this._+="A"+V+","+V+",0,0,"+ +(U*z>R*e)+","+(this._x1=k+L*D)+","+(this._y1=m+L*B)}},arc:function(k,m,M,G,V,q){k=+k,m=+m,M=+M,q=!!q;var $=M*Math.cos(G),D=M*Math.sin(G),B=k+$,R=m+D,U=1^q,K=q?G-V:V-G;if(M<0)throw new Error("negative radius: "+M);this._x1===null?this._+="M"+B+","+R:(Math.abs(this._x1-B)>epsilon||Math.abs(this._y1-R)>epsilon)&&(this._+="L"+B+","+R),M&&(K<0&&(K=K%tau+tau),K>tauEpsilon?this._+="A"+M+","+M+",0,1,"+U+","+(k-$)+","+(m-D)+"A"+M+","+M+",0,1,"+U+","+(this._x1=B)+","+(this._y1=R):K>epsilon&&(this._+="A"+M+","+M+",0,"+ +(K>=pi)+","+U+","+(this._x1=k+M*Math.cos(V))+","+(this._y1=m+M*Math.sin(V))))},rect:function(k,m,M,G){this._+="M"+(this._x0=this._x1=+k)+","+(this._y0=this._y1=+m)+"h"+ +M+"v"+ +G+"h"+-M+"Z"},toString:function(){return this._}};function initRange(k,m){switch(arguments.length){case 0:break;case 1:this.range(k);break;default:this.range(m).domain(k);break}return this}const implicit=Symbol("implicit");function ordinal(){var k=new Map,m=[],M=[],G=implicit;function V(q){var $=q+"",D=k.get($);if(!D){if(G!==implicit)return G;k.set($,D=m.push(q))}return M[(D-1)%M.length]}return V.domain=function(q){if(!arguments.length)return m.slice();m=[],k=new Map;for(const $ of q){const D=$+"";k.has(D)||k.set(D,m.push($))}return V},V.range=function(q){return arguments.length?(M=Array.from(q),V):M.slice()},V.unknown=function(q){return arguments.length?(G=q,V):G},V.copy=function(){return ordinal(m,M).unknown(G)},initRange.apply(V,arguments),V}function colors(k){for(var m=k.length/6|0,M=new Array(m),G=0;G()=>k;function ZoomEvent(k,{sourceEvent:m,target:M,transform:G,dispatch:V}){Object.defineProperties(this,{type:{value:k,enumerable:!0,configurable:!0},sourceEvent:{value:m,enumerable:!0,configurable:!0},target:{value:M,enumerable:!0,configurable:!0},transform:{value:G,enumerable:!0,configurable:!0},_:{value:V}})}function Transform(k,m,M){this.k=k,this.x=m,this.y=M}Transform.prototype={constructor:Transform,scale:function(k){return k===1?this:new Transform(this.k*k,this.x,this.y)},translate:function(k,m){return k===0&m===0?this:new Transform(this.k,this.x+this.k*k,this.y+this.k*m)},apply:function(k){return[k[0]*this.k+this.x,k[1]*this.k+this.y]},applyX:function(k){return k*this.k+this.x},applyY:function(k){return k*this.k+this.y},invert:function(k){return[(k[0]-this.x)/this.k,(k[1]-this.y)/this.k]},invertX:function(k){return(k-this.x)/this.k},invertY:function(k){return(k-this.y)/this.k},rescaleX:function(k){return k.copy().domain(k.range().map(this.invertX,this).map(k.invert,k))},rescaleY:function(k){return k.copy().domain(k.range().map(this.invertY,this).map(k.invert,k))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var identity=new Transform(1,0,0);transform.prototype=Transform.prototype;function transform(k){for(;!k.__zoom;)if(!(k=k.parentNode))return identity;return k.__zoom}function nopropagation(k){k.stopImmediatePropagation()}function noevent(k){k.preventDefault(),k.stopImmediatePropagation()}function defaultFilter(k){return(!k.ctrlKey||k.type==="wheel")&&!k.button}function defaultExtent(){var k=this;return k instanceof SVGElement?(k=k.ownerSVGElement||k,k.hasAttribute("viewBox")?(k=k.viewBox.baseVal,[[k.x,k.y],[k.x+k.width,k.y+k.height]]):[[0,0],[k.width.baseVal.value,k.height.baseVal.value]]):[[0,0],[k.clientWidth,k.clientHeight]]}function defaultTransform(){return this.__zoom||identity}function defaultWheelDelta(k){return-k.deltaY*(k.deltaMode===1?.05:k.deltaMode?1:.002)*(k.ctrlKey?10:1)}function defaultTouchable(){return navigator.maxTouchPoints||"ontouchstart"in this}function defaultConstrain(k,m,M){var G=k.invertX(m[0][0])-M[0][0],V=k.invertX(m[1][0])-M[1][0],q=k.invertY(m[0][1])-M[0][1],$=k.invertY(m[1][1])-M[1][1];return k.translate(V>G?(G+V)/2:Math.min(0,G)||Math.max(0,V),$>q?(q+$)/2:Math.min(0,q)||Math.max(0,$))}function zoom(){var k=defaultFilter,m=defaultExtent,M=defaultConstrain,G=defaultWheelDelta,V=defaultTouchable,q=[0,1/0],$=[[-1/0,-1/0],[1/0,1/0]],D=250,B=interpolateZoom,R=dispatch("start","zoom","end"),U,K,z,e=500,ae=150,ie=0,he=10;function J(fe){fe.property("__zoom",defaultTransform).on("wheel.zoom",oe).on("mousedown.zoom",se).on("dblclick.zoom",me).filter(V).on("touchstart.zoom",Ee).on("touchmove.zoom",ke).on("touchend.zoom touchcancel.zoom",xe).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}J.transform=function(fe,ve,ye,Ce){var pe=fe.selection?fe.selection():fe;pe.property("__zoom",defaultTransform),fe!==pe?Q(fe,ve,ye,Ce):pe.interrupt().each(function(){ce(this,arguments).event(Ce).start().zoom(null,typeof ve=="function"?ve.apply(this,arguments):ve).end()})},J.scaleBy=function(fe,ve,ye,Ce){J.scaleTo(fe,function(){var pe=this.__zoom.k,_e=typeof ve=="function"?ve.apply(this,arguments):ve;return pe*_e},ye,Ce)},J.scaleTo=function(fe,ve,ye,Ce){J.transform(fe,function(){var pe=m.apply(this,arguments),_e=this.__zoom,Ge=ye==null?L(pe):typeof ye=="function"?ye.apply(this,arguments):ye,Te=_e.invert(Ge),Ne=typeof ve=="function"?ve.apply(this,arguments):ve;return M(W(X(_e,Ne),Ge,Te),pe,$)},ye,Ce)},J.translateBy=function(fe,ve,ye,Ce){J.transform(fe,function(){return M(this.__zoom.translate(typeof ve=="function"?ve.apply(this,arguments):ve,typeof ye=="function"?ye.apply(this,arguments):ye),m.apply(this,arguments),$)},null,Ce)},J.translateTo=function(fe,ve,ye,Ce,pe){J.transform(fe,function(){var _e=m.apply(this,arguments),Ge=this.__zoom,Te=Ce==null?L(_e):typeof Ce=="function"?Ce.apply(this,arguments):Ce;return M(identity.translate(Te[0],Te[1]).scale(Ge.k).translate(typeof ve=="function"?-ve.apply(this,arguments):-ve,typeof ye=="function"?-ye.apply(this,arguments):-ye),_e,$)},Ce,pe)};function X(fe,ve){return ve=Math.max(q[0],Math.min(q[1],ve)),ve===fe.k?fe:new Transform(ve,fe.x,fe.y)}function W(fe,ve,ye){var Ce=ve[0]-ye[0]*fe.k,pe=ve[1]-ye[1]*fe.k;return Ce===fe.x&&pe===fe.y?fe:new Transform(fe.k,Ce,pe)}function L(fe){return[(+fe[0][0]+ +fe[1][0])/2,(+fe[0][1]+ +fe[1][1])/2]}function Q(fe,ve,ye,Ce){fe.on("start.zoom",function(){ce(this,arguments).event(Ce).start()}).on("interrupt.zoom end.zoom",function(){ce(this,arguments).event(Ce).end()}).tween("zoom",function(){var pe=this,_e=arguments,Ge=ce(pe,_e).event(Ce),Te=m.apply(pe,_e),Ne=ye==null?L(Te):typeof ye=="function"?ye.apply(pe,_e):ye,Ze=Math.max(Te[1][0]-Te[0][0],Te[1][1]-Te[0][1]),ze=pe.__zoom,Ae=typeof ve=="function"?ve.apply(pe,_e):ve,De=B(ze.invert(Ne).concat(Ze/ze.k),Ae.invert(Ne).concat(Ze/Ae.k));return function(Ue){if(Ue===1)Ue=Ae;else{var we=De(Ue),Ie=Ze/we[2];Ue=new Transform(Ie,Ne[0]-we[0]*Ie,Ne[1]-we[1]*Ie)}Ge.zoom(null,Ue)}})}function ce(fe,ve,ye){return!ye&&fe.__zooming||new de(fe,ve)}function de(fe,ve){this.that=fe,this.args=ve,this.active=0,this.sourceEvent=null,this.extent=m.apply(fe,ve),this.taps=0}de.prototype={event:function(fe){return fe&&(this.sourceEvent=fe),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(fe,ve){return this.mouse&&fe!=="mouse"&&(this.mouse[1]=ve.invert(this.mouse[0])),this.touch0&&fe!=="touch"&&(this.touch0[1]=ve.invert(this.touch0[0])),this.touch1&&fe!=="touch"&&(this.touch1[1]=ve.invert(this.touch1[0])),this.that.__zoom=ve,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(fe){var ve=select(this.that).datum();R.call(fe,this.that,new ZoomEvent(fe,{sourceEvent:this.sourceEvent,target:J,type:fe,transform:this.that.__zoom,dispatch:R}),ve)}};function oe(fe,...ve){if(!k.apply(this,arguments))return;var ye=ce(this,ve).event(fe),Ce=this.__zoom,pe=Math.max(q[0],Math.min(q[1],Ce.k*Math.pow(2,G.apply(this,arguments)))),_e=pointer(fe);if(ye.wheel)(ye.mouse[0][0]!==_e[0]||ye.mouse[0][1]!==_e[1])&&(ye.mouse[1]=Ce.invert(ye.mouse[0]=_e)),clearTimeout(ye.wheel);else{if(Ce.k===pe)return;ye.mouse=[_e,Ce.invert(_e)],interrupt(this),ye.start()}noevent(fe),ye.wheel=setTimeout(Ge,ae),ye.zoom("mouse",M(W(X(Ce,pe),ye.mouse[0],ye.mouse[1]),ye.extent,$));function Ge(){ye.wheel=null,ye.end()}}function se(fe,...ve){if(z||!k.apply(this,arguments))return;var ye=ce(this,ve,!0).event(fe),Ce=select(fe.view).on("mousemove.zoom",Ne,!0).on("mouseup.zoom",Ze,!0),pe=pointer(fe,_e),_e=fe.currentTarget,Ge=fe.clientX,Te=fe.clientY;dragDisable(fe.view),nopropagation(fe),ye.mouse=[pe,this.__zoom.invert(pe)],interrupt(this),ye.start();function Ne(ze){if(noevent(ze),!ye.moved){var Ae=ze.clientX-Ge,De=ze.clientY-Te;ye.moved=Ae*Ae+De*De>ie}ye.event(ze).zoom("mouse",M(W(ye.that.__zoom,ye.mouse[0]=pointer(ze,_e),ye.mouse[1]),ye.extent,$))}function Ze(ze){Ce.on("mousemove.zoom mouseup.zoom",null),yesdrag(ze.view,ye.moved),noevent(ze),ye.event(ze).end()}}function me(fe,...ve){if(k.apply(this,arguments)){var ye=this.__zoom,Ce=pointer(fe.changedTouches?fe.changedTouches[0]:fe,this),pe=ye.invert(Ce),_e=ye.k*(fe.shiftKey?.5:2),Ge=M(W(X(ye,_e),Ce,pe),m.apply(this,ve),$);noevent(fe),D>0?select(this).transition().duration(D).call(Q,Ge,Ce,fe):select(this).call(J.transform,Ge,Ce,fe)}}function Ee(fe,...ve){if(k.apply(this,arguments)){var ye=fe.touches,Ce=ye.length,pe=ce(this,ve,fe.changedTouches.length===Ce).event(fe),_e,Ge,Te,Ne;for(nopropagation(fe),Ge=0;Ge=0;)m+=M[G].value;k.value=m}function node_count(){return this.eachAfter(count)}function node_each(k){var m=this,M,G=[m],V,q,$;do for(M=G.reverse(),G=[];m=M.pop();)if(k(m),V=m.children,V)for(q=0,$=V.length;q<$;++q)G.push(V[q]);while(G.length);return this}function node_eachBefore(k){for(var m=this,M=[m],G,V;m=M.pop();)if(k(m),G=m.children,G)for(V=G.length-1;V>=0;--V)M.push(G[V]);return this}function node_eachAfter(k){for(var m=this,M=[m],G=[],V,q,$;m=M.pop();)if(G.push(m),V=m.children,V)for(q=0,$=V.length;q<$;++q)M.push(V[q]);for(;m=G.pop();)k(m);return this}function node_sum(k){return this.eachAfter(function(m){for(var M=+k(m.data)||0,G=m.children,V=G&&G.length;--V>=0;)M+=G[V].value;m.value=M})}function node_sort(k){return this.eachBefore(function(m){m.children&&m.children.sort(k)})}function node_path(k){for(var m=this,M=leastCommonAncestor(m,k),G=[m];m!==M;)m=m.parent,G.push(m);for(var V=G.length;k!==M;)G.splice(V,0,k),k=k.parent;return G}function leastCommonAncestor(k,m){if(k===m)return k;var M=k.ancestors(),G=m.ancestors(),V=null;for(k=M.pop(),m=G.pop();k===m;)V=k,k=M.pop(),m=G.pop();return V}function node_ancestors(){for(var k=this,m=[k];k=k.parent;)m.push(k);return m}function node_descendants(){var k=[];return this.each(function(m){k.push(m)}),k}function node_leaves(){var k=[];return this.eachBefore(function(m){m.children||k.push(m)}),k}function node_links(){var k=this,m=[];return k.each(function(M){M!==k&&m.push({source:M.parent,target:M})}),m}function hierarchy(k,m){var M=new Node$1(k),G=+k.value&&(M.value=k.value),V,q=[M],$,D,B,R;for(m==null&&(m=defaultChildren);V=q.pop();)if(G&&(V.value=+V.data.value),(D=m(V.data))&&(R=D.length))for(V.children=new Array(R),B=R-1;B>=0;--B)q.push($=V.children[B]=new Node$1(D[B])),$.parent=V,$.depth=V.depth+1;return M.eachBefore(computeHeight)}function node_copy(){return hierarchy(this).eachBefore(copyData)}function defaultChildren(k){return k.children}function copyData(k){k.data=k.data.data}function computeHeight(k){var m=0;do k.height=m;while((k=k.parent)&&k.height<++m)}function Node$1(k){this.data=k,this.depth=this.height=0,this.parent=null}Node$1.prototype=hierarchy.prototype={constructor:Node$1,count:node_count,each:node_each,eachAfter:node_eachAfter,eachBefore:node_eachBefore,sum:node_sum,sort:node_sort,path:node_path,ancestors:node_ancestors,descendants:node_descendants,leaves:node_leaves,links:node_links,copy:node_copy};var name="d3-flextree",version$1="2.1.2",main="build/d3-flextree.js",module="index",author={name:"Chris Maloney",url:"http://chrismaloney.org"},description="Flexible tree layout algorithm that allows for variable node sizes.",keywords=["d3","d3-module","layout","tree","hierarchy","d3-hierarchy","plugin","d3-plugin","infovis","visualization","2d"],homepage="https://github.com/klortho/d3-flextree",license="WTFPL",repository={type:"git",url:"https://github.com/klortho/d3-flextree.git"},scripts={clean:"rm -rf build demo test","build:demo":"rollup -c --environment BUILD:demo","build:dev":"rollup -c --environment BUILD:dev","build:prod":"rollup -c --environment BUILD:prod","build:test":"rollup -c --environment BUILD:test",build:"rollup -c",lint:"eslint index.js src","test:main":"node test/bundle.js","test:browser":"node test/browser-tests.js",test:"npm-run-all test:*",prepare:"npm-run-all clean build lint test"},dependencies={"d3-hierarchy":"^1.1.5"},devDependencies={"babel-plugin-external-helpers":"^6.22.0","babel-preset-es2015-rollup":"^3.0.0",d3:"^4.13.0","d3-selection-multi":"^1.0.1",eslint:"^4.19.1",jsdom:"^11.6.2","npm-run-all":"^4.1.2",rollup:"^0.55.3","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-copy":"^0.2.3","rollup-plugin-json":"^2.3.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},packageInfo={name,version:version$1,main,module,"jsnext:main":"index",author,description,keywords,homepage,license,repository,scripts,dependencies,devDependencies};const{version:version$2}=packageInfo,defaults$1=Object.freeze({children:k=>k.children,nodeSize:k=>k.data.size,spacing:0});function flextree(k){const m=Object.assign({},defaults$1,k);function M(D){const B=m[D];return typeof B=="function"?B:()=>B}function G(D){const B=$(q(),D,R=>R.children);return B.update(),B.data}function V(){const D=M("nodeSize"),B=M("spacing");return class dl extends hierarchy.prototype.constructor{constructor(U){super(U)}copy(){const U=$(this.constructor,this,K=>K.children);return U.each(K=>K.data=K.data.data),U}get size(){return D(this)}spacing(U){return B(this,U)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const U=this.ancestors();return U[U.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return this.children===null}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((U,K)=>dl.maxExtents(U,K.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(U,K){return{top:Math.min(U.top,K.top),bottom:Math.max(U.bottom,K.bottom),left:Math.min(U.left,K.left),right:Math.max(U.right,K.right)}}}}function q(){const D=V(),B=M("nodeSize"),R=M("spacing");return class extends D{constructor(U){super(U),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return B(this.data)}spacing(U){return R(this.data,U.data)}get x(){return this.data.x}set x(U){this.data.x=U}get y(){return this.data.y}set y(U){this.data.y=U}update(){return layoutChildren(this),resolveX(this),this}}}function $(D,B,R){const U=(K,z)=>{const e=new D(K);Object.assign(e,{parent:z,depth:z===null?0:z.depth+1,height:0,length:1});const ae=R(K)||[];return e.children=ae.length===0?null:ae.map(ie=>U(ie,e)),e.children&&Object.assign(e,e.children.reduce((ie,he)=>({height:Math.max(ie.height,he.height+1),length:ie.length+he.length}),e)),e};return U(B,null)}return Object.assign(G,{nodeSize(D){return arguments.length?(m.nodeSize=D,G):m.nodeSize},spacing(D){return arguments.length?(m.spacing=D,G):m.spacing},children(D){return arguments.length?(m.children=D,G):m.children},hierarchy(D,B){const R=typeof B>"u"?m.children:B;return $(V(),D,R)},dump(D){const B=M("nodeSize"),R=U=>K=>{const z=U+"  ",e=U+"    ",{x:ae,y:ie}=K,he=B(K),J=K.children||[],X=J.length===0?" ":`,${z}children: [${e}${J.map(R(e)).join(e)}${z}],${U}`;return`{ size: [${he.join(", ")}],${z}x: ${ae}, y: ${ie}${X}},`};return R(`
      +`);if(Ut<0)return;const Ht=kt.slice(4,Ut);let nr;try{var Sr;nr=_l.load(Ht),(Sr=nr)!=null&&Sr.markmap&&(nr.markmap=yl(nr.markmap))}catch{return}_t.frontmatter=nr;const _r=Ut+5;Et.args[0]=kt.slice(_r)},after(){nt.parse=Ct}})}),{}}};function yl(Y){if(Y)return["color","extraJs","extraCss"].forEach(nt=>{Y[nt]!=null&&(Y[nt]=vl(Y[nt]))}),["duration","maxWidth","initialExpandLevel"].forEach(nt=>{Y[nt]!=null&&(Y[nt]=Sl(Y[nt]))}),Y}function vl(Y){var nt;let _t;return typeof Y=="string"?_t=[Y]:Array.isArray(Y)&&(_t=Y.filter(Ct=>Ct&&typeof Ct=="string")),(nt=_t)!=null&&nt.length?_t:void 0}function Sl(Y){if(!isNaN(+Y))return+Y}const al=[bl,Cn,Qr];function sl(Y){if(Y.type==="heading")Y.children=Y.children.filter(Et=>Et.type!=="paragraph");else if(Y.type==="list_item"){var nt;Y.children=Y.children.filter(Et=>["paragraph","fence"].includes(Et.type)?(Y.content||(Y.content=Et.content,Y.payload=$({},Y.payload,Et.payload)),!1):!0),((nt=Y.payload)==null?void 0:nt.index)!=null&&(Y.content=`${Y.payload.index}. ${Y.content}`)}else if(Y.type==="ordered_list"){var _t,Ct;let Et=(_t=(Ct=Y.payload)==null?void 0:Ct.startIndex)!=null?_t:1;Y.children.forEach(kt=>{kt.type==="list_item"&&(kt.payload=$({},kt.payload,{index:Et}),Et+=1)})}Y.children.length===0?delete Y.children:(Y.children.forEach(Et=>sl(Et)),Y.children.length===1&&!Y.children[0].content&&(Y.children=Y.children[0].children))}function ol(Y,nt=0){var _t;Y.depth=nt,(_t=Y.children)==null||_t.forEach(Ct=>{ol(Ct,nt+1)})}class xl{constructor(nt=al){this.assetsMap={},this.plugins=nt,this.hooks=En();const _t={};for(const{name:Et,transform:kt}of nt)_t[Et]=kt(this.hooks);this.assetsMap=_t;const Ct=new bn("full",{html:!0,breaks:!0,maxNesting:1/0});Ct.renderer.rules.htmltag=X(Ct.renderer.rules.htmltag,{after:Et=>{this.hooks.htmltag.call(Et)}}),this.md=Ct,this.hooks.parser.call(Ct)}buildTree(nt){const{md:_t}=this,Ct={type:"root",depth:0,content:"",children:[],payload:{}},Et=[Ct];let kt=0;for(const nr of nt){let Sr=Et[Et.length-1];if(nr.type.endsWith("_open")){const _r=nr.type.slice(0,-5),Nr={};if(nr.lines&&(Nr.lines=nr.lines),_r==="heading")for(kt=nr.hLevel;((Ut=Sr)==null?void 0:Ut.depth)>=kt;){var Ut;Et.pop(),Sr=Et[Et.length-1]}else{var Ht;kt=Math.max(kt,((Ht=Sr)==null?void 0:Ht.depth)||0)+1,_r==="ordered_list"&&(Nr.startIndex=nr.order)}const Yr={type:_r,depth:kt,payload:Nr,content:"",children:[]};Sr.children.push(Yr),Et.push(Yr)}else if(Sr){if(nr.type===`${Sr.type}_close`)Sr.type==="heading"?kt=Sr.depth:(Et.pop(),kt=0);else if(nr.type==="inline"){const _r=this.hooks.htmltag.tap(Yr=>{const jr=Yr.result.match(/^$/),tn=jr==null?void 0:jr[1].trim().split(" ");tn[0]==="fold"&&(Sr.payload.fold=["all","recursively"].includes(tn[1])?2:1,Yr.result="")}),Nr=_t.renderer.render([nr],_t.options,{});_r(),Sr.content=`${Sr.content||""}${Nr}`}else if(nr.type==="fence"){let _r=_t.renderer.render([nr],_t.options,{});const Nr=_r.match(//);Nr&&(_r=_r.replace("
      ",``)),Sr.children.push({type:nr.type,depth:kt+1,content:_r,children:[]})}}else continue}return Ct}transform(nt){var _t;const Ct={features:{}};this.hooks.beforeParse.call(this.md,Ct);const Et=this.md.parse(nt,{});this.hooks.afterParse.call(this.md,Ct);let kt=this.buildTree(Et);return sl(kt),((_t=kt.children)==null?void 0:_t.length)===1&&(kt=kt.children[0]),ol(kt),$({},Ct,{root:kt})}getAssets(nt){var _t;const Ct=[],Et=[];(_t=nt)!=null||(nt=this.plugins.map(kt=>kt.name));for(const kt of nt.map(Ut=>this.assetsMap[Ut]))kt&&(kt.styles&&Ct.push(...kt.styles),kt.scripts&&Et.push(...kt.scripts));return{styles:Ct,scripts:Et}}getUsedAssets(nt){const _t=this.plugins.map(Ct=>Ct.name).filter(Ct=>nt[Ct]);return this.getAssets(_t)}}const El={"markmap-lib":"0.14.4",d3:"6.7.0"};M.Transformer=xl,M.builtInPlugins=al,M.fillTemplate=Ee,M.transformerVersions=El})})(browser,browser.exports);var browserExports=browser.exports;/*! markmap-common v0.14.2 | MIT License */class Hook{constructor(){this.listeners=[]}tap(m){return this.listeners.push(m),()=>this.revoke(m)}revoke(m){const M=this.listeners.indexOf(m);M>=0&&this.listeners.splice(M,1)}revokeAll(){this.listeners.splice(0)}call(...m){for(const M of this.listeners)M(...m)}}const uniqId=Math.random().toString(36).slice(2,8);let globalIndex=0;function getId(){return globalIndex+=1,`mm-${uniqId}-${globalIndex}`}function noop$1(){}function walkTree(k,m,M="children"){const G=(V,q)=>m(V,()=>{var $;($=V[M])==null||$.forEach(D=>{G(D,V)})},q);G(k)}function arrayFrom(k){if(Array.from)return Array.from(k);const m=[];for(let M=0;M{G&&M.indexOf(G)<0&&M.push(G)}),M.join(" ")}function childSelector(k){if(typeof k=="string"){const M=k;k=G=>G.tagName===M}const m=k;return function(){let G=arrayFrom(this.childNodes);return m&&(G=G.filter(V=>m(V))),G}}function max$1(k,m){let M;if(m===void 0)for(const G of k)G!=null&&(M=G)&&(M=G);else{let G=-1;for(let V of k)(V=m(V,++G,k))!=null&&(M=V)&&(M=V)}return M}function min$2(k,m){let M;if(m===void 0)for(const G of k)G!=null&&(M>G||M===void 0&&G>=G)&&(M=G);else{let G=-1;for(let V of k)(V=m(V,++G,k))!=null&&(M>V||M===void 0&&V>=V)&&(M=V)}return M}function minIndex(k,m){let M,G=-1,V=-1;if(m===void 0)for(const q of k)++V,q!=null&&(M>q||M===void 0&&q>=q)&&(M=q,G=V);else for(let q of k)(q=m(q,++V,k))!=null&&(M>q||M===void 0&&q>=q)&&(M=q,G=V);return G}var noop={value:()=>{}};function dispatch(){for(var k=0,m=arguments.length,M={},G;k=0&&(G=M.slice(V+1),M=M.slice(0,V)),M&&!m.hasOwnProperty(M))throw new Error("unknown type: "+M);return{type:M,name:G}})}Dispatch.prototype=dispatch.prototype={constructor:Dispatch,on:function(k,m){var M=this._,G=parseTypenames$1(k+"",M),V,q=-1,$=G.length;if(arguments.length<2){for(;++q<$;)if((V=(k=G[q]).type)&&(V=get$2(M[V],k.name)))return V;return}if(m!=null&&typeof m!="function")throw new Error("invalid callback: "+m);for(;++q<$;)if(V=(k=G[q]).type)M[V]=set$2(M[V],k.name,m);else if(m==null)for(V in M)M[V]=set$2(M[V],k.name,null);return this},copy:function(){var k={},m=this._;for(var M in m)k[M]=m[M].slice();return new Dispatch(k)},call:function(k,m){if((V=arguments.length-2)>0)for(var M=new Array(V),G=0,V,q;G=0&&(m=k.slice(0,M))!=="xmlns"&&(k=k.slice(M+1)),namespaces.hasOwnProperty(m)?{space:namespaces[m],local:k}:k}function creatorInherit(k){return function(){var m=this.ownerDocument,M=this.namespaceURI;return M===xhtml&&m.documentElement.namespaceURI===xhtml?m.createElement(k):m.createElementNS(M,k)}}function creatorFixed(k){return function(){return this.ownerDocument.createElementNS(k.space,k.local)}}function creator(k){var m=namespace(k);return(m.local?creatorFixed:creatorInherit)(m)}function none(){}function selector(k){return k==null?none:function(){return this.querySelector(k)}}function selection_select(k){typeof k!="function"&&(k=selector(k));for(var m=this._groups,M=m.length,G=new Array(M),V=0;V=X&&(X=W+1);!(Q=he[X])&&++X=0;)($=G[V])&&(q&&$.compareDocumentPosition(q)^4&&q.parentNode.insertBefore($,q),q=$);return this}function selection_sort(k){k||(k=ascending);function m(K,z){return K&&z?k(K.__data__,z.__data__):!K-!z}for(var M=this._groups,G=M.length,V=new Array(G),q=0;qm?1:k>=m?0:NaN}function selection_call(){var k=arguments[0];return arguments[0]=this,k.apply(null,arguments),this}function selection_nodes(){return Array.from(this)}function selection_node(){for(var k=this._groups,m=0,M=k.length;m1?this.each((m==null?styleRemove$1:typeof m=="function"?styleFunction$1:styleConstant$1)(k,m,M??"")):styleValue(this.node(),k)}function styleValue(k,m){return k.style.getPropertyValue(m)||defaultView(k).getComputedStyle(k,null).getPropertyValue(m)}function propertyRemove(k){return function(){delete this[k]}}function propertyConstant(k,m){return function(){this[k]=m}}function propertyFunction(k,m){return function(){var M=m.apply(this,arguments);M==null?delete this[k]:this[k]=M}}function selection_property(k,m){return arguments.length>1?this.each((m==null?propertyRemove:typeof m=="function"?propertyFunction:propertyConstant)(k,m)):this.node()[k]}function classArray(k){return k.trim().split(/^|\s+/)}function classList$1(k){return k.classList||new ClassList(k)}function ClassList(k){this._node=k,this._names=classArray(k.getAttribute("class")||"")}ClassList.prototype={add:function(k){var m=this._names.indexOf(k);m<0&&(this._names.push(k),this._node.setAttribute("class",this._names.join(" ")))},remove:function(k){var m=this._names.indexOf(k);m>=0&&(this._names.splice(m,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(k){return this._names.indexOf(k)>=0}};function classedAdd(k,m){for(var M=classList$1(k),G=-1,V=m.length;++G=0&&(M=m.slice(G+1),m=m.slice(0,G)),{type:m,name:M}})}function onRemove(k){return function(){var m=this.__on;if(m){for(var M=0,G=-1,V=m.length,q;M>8&15|m>>4&240,m>>4&15|m&240,(m&15)<<4|m&15,1):M===8?rgba(m>>24&255,m>>16&255,m>>8&255,(m&255)/255):M===4?rgba(m>>12&15|m>>8&240,m>>8&15|m>>4&240,m>>4&15|m&240,((m&15)<<4|m&15)/255):null):(m=reRgbInteger.exec(k))?new Rgb(m[1],m[2],m[3],1):(m=reRgbPercent.exec(k))?new Rgb(m[1]*255/100,m[2]*255/100,m[3]*255/100,1):(m=reRgbaInteger.exec(k))?rgba(m[1],m[2],m[3],m[4]):(m=reRgbaPercent.exec(k))?rgba(m[1]*255/100,m[2]*255/100,m[3]*255/100,m[4]):(m=reHslPercent.exec(k))?hsla(m[1],m[2]/100,m[3]/100,1):(m=reHslaPercent.exec(k))?hsla(m[1],m[2]/100,m[3]/100,m[4]):named.hasOwnProperty(k)?rgbn(named[k]):k==="transparent"?new Rgb(NaN,NaN,NaN,0):null}function rgbn(k){return new Rgb(k>>16&255,k>>8&255,k&255,1)}function rgba(k,m,M,G){return G<=0&&(k=m=M=NaN),new Rgb(k,m,M,G)}function rgbConvert(k){return k instanceof Color||(k=color(k)),k?(k=k.rgb(),new Rgb(k.r,k.g,k.b,k.opacity)):new Rgb}function rgb(k,m,M,G){return arguments.length===1?rgbConvert(k):new Rgb(k,m,M,G??1)}function Rgb(k,m,M,G){this.r=+k,this.g=+m,this.b=+M,this.opacity=+G}define(Rgb,rgb,extend(Color,{brighter:function(k){return k=k==null?brighter:Math.pow(brighter,k),new Rgb(this.r*k,this.g*k,this.b*k,this.opacity)},darker:function(k){return k=k==null?darker:Math.pow(darker,k),new Rgb(this.r*k,this.g*k,this.b*k,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:rgb_formatHex,formatHex:rgb_formatHex,formatRgb:rgb_formatRgb,toString:rgb_formatRgb}));function rgb_formatHex(){return"#"+hex(this.r)+hex(this.g)+hex(this.b)}function rgb_formatRgb(){var k=this.opacity;return k=isNaN(k)?1:Math.max(0,Math.min(1,k)),(k===1?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(k===1?")":", "+k+")")}function hex(k){return k=Math.max(0,Math.min(255,Math.round(k)||0)),(k<16?"0":"")+k.toString(16)}function hsla(k,m,M,G){return G<=0?k=m=M=NaN:M<=0||M>=1?k=m=NaN:m<=0&&(k=NaN),new Hsl(k,m,M,G)}function hslConvert(k){if(k instanceof Hsl)return new Hsl(k.h,k.s,k.l,k.opacity);if(k instanceof Color||(k=color(k)),!k)return new Hsl;if(k instanceof Hsl)return k;k=k.rgb();var m=k.r/255,M=k.g/255,G=k.b/255,V=Math.min(m,M,G),q=Math.max(m,M,G),$=NaN,D=q-V,B=(q+V)/2;return D?(m===q?$=(M-G)/D+(M0&&B<1?0:$,new Hsl($,D,B,k.opacity)}function hsl(k,m,M,G){return arguments.length===1?hslConvert(k):new Hsl(k,m,M,G??1)}function Hsl(k,m,M,G){this.h=+k,this.s=+m,this.l=+M,this.opacity=+G}define(Hsl,hsl,extend(Color,{brighter:function(k){return k=k==null?brighter:Math.pow(brighter,k),new Hsl(this.h,this.s,this.l*k,this.opacity)},darker:function(k){return k=k==null?darker:Math.pow(darker,k),new Hsl(this.h,this.s,this.l*k,this.opacity)},rgb:function(){var k=this.h%360+(this.h<0)*360,m=isNaN(k)||isNaN(this.s)?0:this.s,M=this.l,G=M+(M<.5?M:1-M)*m,V=2*M-G;return new Rgb(hsl2rgb(k>=240?k-240:k+120,V,G),hsl2rgb(k,V,G),hsl2rgb(k<120?k+240:k-120,V,G),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var k=this.opacity;return k=isNaN(k)?1:Math.max(0,Math.min(1,k)),(k===1?"hsl(":"hsla(")+(this.h||0)+", "+(this.s||0)*100+"%, "+(this.l||0)*100+"%"+(k===1?")":", "+k+")")}}));function hsl2rgb(k,m,M){return(k<60?m+(M-m)*k/60:k<180?M:k<240?m+(M-m)*(240-k)/60:m)*255}const constant$2=k=>()=>k;function linear(k,m){return function(M){return k+M*m}}function exponential(k,m,M){return k=Math.pow(k,M),m=Math.pow(m,M)-k,M=1/M,function(G){return Math.pow(k+G*m,M)}}function gamma(k){return(k=+k)==1?nogamma:function(m,M){return M-m?exponential(m,M,k):constant$2(isNaN(m)?M:m)}}function nogamma(k,m){var M=m-k;return M?linear(k,M):constant$2(isNaN(k)?m:k)}const interpolateRgb=function k(m){var M=gamma(m);function G(V,q){var $=M((V=rgb(V)).r,(q=rgb(q)).r),D=M(V.g,q.g),B=M(V.b,q.b),R=nogamma(V.opacity,q.opacity);return function(U){return V.r=$(U),V.g=D(U),V.b=B(U),V.opacity=R(U),V+""}}return G.gamma=k,G}(1);function interpolateNumber(k,m){return k=+k,m=+m,function(M){return k*(1-M)+m*M}}var reA=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,reB=new RegExp(reA.source,"g");function zero(k){return function(){return k}}function one(k){return function(m){return k(m)+""}}function interpolateString(k,m){var M=reA.lastIndex=reB.lastIndex=0,G,V,q,$=-1,D=[],B=[];for(k=k+"",m=m+"";(G=reA.exec(k))&&(V=reB.exec(m));)(q=V.index)>M&&(q=m.slice(M,q),D[$]?D[$]+=q:D[++$]=q),(G=G[0])===(V=V[0])?D[$]?D[$]+=V:D[++$]=V:(D[++$]=null,B.push({i:$,x:interpolateNumber(G,V)})),M=reB.lastIndex;return M180?U+=360:U-R>180&&(R+=360),z.push({i:K.push(V(K)+"rotate(",null,G)-2,x:interpolateNumber(R,U)})):U&&K.push(V(K)+"rotate("+U+G)}function D(R,U,K,z){R!==U?z.push({i:K.push(V(K)+"skewX(",null,G)-2,x:interpolateNumber(R,U)}):U&&K.push(V(K)+"skewX("+U+G)}function B(R,U,K,z,e,ae){if(R!==K||U!==z){var ie=e.push(V(e)+"scale(",null,",",null,")");ae.push({i:ie-4,x:interpolateNumber(R,K)},{i:ie-2,x:interpolateNumber(U,z)})}else(K!==1||z!==1)&&e.push(V(e)+"scale("+K+","+z+")")}return function(R,U){var K=[],z=[];return R=k(R),U=k(U),q(R.translateX,R.translateY,U.translateX,U.translateY,K,z),$(R.rotate,U.rotate,K,z),D(R.skewX,U.skewX,K,z),B(R.scaleX,R.scaleY,U.scaleX,U.scaleY,K,z),R=U=null,function(e){for(var ae=-1,ie=z.length,he;++ae=0&&k._call.call(null,m),k=k._next;--frame}function wake(){clockNow=(clockLast=clock.now())+clockSkew,frame=timeout$1=0;try{timerFlush()}finally{frame=0,nap(),clockNow=0}}function poke(){var k=clock.now(),m=k-clockLast;m>pokeDelay&&(clockSkew-=m,clockLast=k)}function nap(){for(var k,m=taskHead,M,G=1/0;m;)m._call?(G>m._time&&(G=m._time),k=m,m=m._next):(M=m._next,m._next=null,m=k?k._next=M:taskHead=M);taskTail=k,sleep(G)}function sleep(k){if(!frame){timeout$1&&(timeout$1=clearTimeout(timeout$1));var m=k-clockNow;m>24?(k<1/0&&(timeout$1=setTimeout(wake,k-clock.now()-clockSkew)),interval&&(interval=clearInterval(interval))):(interval||(clockLast=clock.now(),interval=setInterval(poke,pokeDelay)),frame=1,setFrame(wake))}}function timeout(k,m,M){var G=new Timer;return m=m==null?0:+m,G.restart(V=>{G.stop(),k(V+m)},m,M),G}var emptyOn=dispatch("start","end","cancel","interrupt"),emptyTween=[],CREATED=0,SCHEDULED=1,STARTING=2,STARTED=3,RUNNING=4,ENDING=5,ENDED=6;function schedule(k,m,M,G,V,q){var $=k.__transition;if(!$)k.__transition={};else if(M in $)return;create(k,M,{name:m,index:G,group:V,on:emptyOn,tween:emptyTween,time:q.time,delay:q.delay,duration:q.duration,ease:q.ease,timer:null,state:CREATED})}function init(k,m){var M=get$1(k,m);if(M.state>CREATED)throw new Error("too late; already scheduled");return M}function set$1(k,m){var M=get$1(k,m);if(M.state>STARTED)throw new Error("too late; already running");return M}function get$1(k,m){var M=k.__transition;if(!M||!(M=M[m]))throw new Error("transition not found");return M}function create(k,m,M){var G=k.__transition,V;G[m]=M,M.timer=timer(q,0,M.time);function q(R){M.state=SCHEDULED,M.timer.restart($,M.delay,M.time),M.delay<=R&&$(R-M.delay)}function $(R){var U,K,z,e;if(M.state!==SCHEDULED)return B();for(U in G)if(e=G[U],e.name===M.name){if(e.state===STARTED)return timeout($);e.state===RUNNING?(e.state=ENDED,e.timer.stop(),e.on.call("interrupt",k,k.__data__,e.index,e.group),delete G[U]):+USTARTING&&G.state=0&&(m=m.slice(0,M)),!m||m==="start"})}function onFunction(k,m,M){var G,V,q=start(m)?init:set$1;return function(){var $=q(this,k),D=$.on;D!==G&&(V=(G=D).copy()).on(m,M),$.on=V}}function transition_on(k,m){var M=this._id;return arguments.length<2?get$1(this.node(),M).on.on(k):this.each(onFunction(M,k,m))}function removeFunction(k){return function(){var m=this.parentNode;for(var M in this.__transition)if(+M!==k)return;m&&m.removeChild(this)}}function transition_remove(){return this.on("end.remove",removeFunction(this._id))}function transition_select(k){var m=this._name,M=this._id;typeof k!="function"&&(k=selector(k));for(var G=this._groups,V=G.length,q=new Array(V),$=0;$epsilon)if(!(Math.abs(U*D-B*R)>epsilon)||!V)this._+="L"+(this._x1=k)+","+(this._y1=m);else{var z=M-q,e=G-$,ae=D*D+B*B,ie=z*z+e*e,he=Math.sqrt(ae),J=Math.sqrt(K),W=V*Math.tan((pi-Math.acos((ae+K-ie)/(2*he*J)))/2),X=W/J,L=W/he;Math.abs(X-1)>epsilon&&(this._+="L"+(k+X*R)+","+(m+X*U)),this._+="A"+V+","+V+",0,0,"+ +(U*z>R*e)+","+(this._x1=k+L*D)+","+(this._y1=m+L*B)}},arc:function(k,m,M,G,V,q){k=+k,m=+m,M=+M,q=!!q;var $=M*Math.cos(G),D=M*Math.sin(G),B=k+$,R=m+D,U=1^q,K=q?G-V:V-G;if(M<0)throw new Error("negative radius: "+M);this._x1===null?this._+="M"+B+","+R:(Math.abs(this._x1-B)>epsilon||Math.abs(this._y1-R)>epsilon)&&(this._+="L"+B+","+R),M&&(K<0&&(K=K%tau+tau),K>tauEpsilon?this._+="A"+M+","+M+",0,1,"+U+","+(k-$)+","+(m-D)+"A"+M+","+M+",0,1,"+U+","+(this._x1=B)+","+(this._y1=R):K>epsilon&&(this._+="A"+M+","+M+",0,"+ +(K>=pi)+","+U+","+(this._x1=k+M*Math.cos(V))+","+(this._y1=m+M*Math.sin(V))))},rect:function(k,m,M,G){this._+="M"+(this._x0=this._x1=+k)+","+(this._y0=this._y1=+m)+"h"+ +M+"v"+ +G+"h"+-M+"Z"},toString:function(){return this._}};function initRange(k,m){switch(arguments.length){case 0:break;case 1:this.range(k);break;default:this.range(m).domain(k);break}return this}const implicit=Symbol("implicit");function ordinal(){var k=new Map,m=[],M=[],G=implicit;function V(q){var $=q+"",D=k.get($);if(!D){if(G!==implicit)return G;k.set($,D=m.push(q))}return M[(D-1)%M.length]}return V.domain=function(q){if(!arguments.length)return m.slice();m=[],k=new Map;for(const $ of q){const D=$+"";k.has(D)||k.set(D,m.push($))}return V},V.range=function(q){return arguments.length?(M=Array.from(q),V):M.slice()},V.unknown=function(q){return arguments.length?(G=q,V):G},V.copy=function(){return ordinal(m,M).unknown(G)},initRange.apply(V,arguments),V}function colors(k){for(var m=k.length/6|0,M=new Array(m),G=0;G()=>k;function ZoomEvent(k,{sourceEvent:m,target:M,transform:G,dispatch:V}){Object.defineProperties(this,{type:{value:k,enumerable:!0,configurable:!0},sourceEvent:{value:m,enumerable:!0,configurable:!0},target:{value:M,enumerable:!0,configurable:!0},transform:{value:G,enumerable:!0,configurable:!0},_:{value:V}})}function Transform(k,m,M){this.k=k,this.x=m,this.y=M}Transform.prototype={constructor:Transform,scale:function(k){return k===1?this:new Transform(this.k*k,this.x,this.y)},translate:function(k,m){return k===0&m===0?this:new Transform(this.k,this.x+this.k*k,this.y+this.k*m)},apply:function(k){return[k[0]*this.k+this.x,k[1]*this.k+this.y]},applyX:function(k){return k*this.k+this.x},applyY:function(k){return k*this.k+this.y},invert:function(k){return[(k[0]-this.x)/this.k,(k[1]-this.y)/this.k]},invertX:function(k){return(k-this.x)/this.k},invertY:function(k){return(k-this.y)/this.k},rescaleX:function(k){return k.copy().domain(k.range().map(this.invertX,this).map(k.invert,k))},rescaleY:function(k){return k.copy().domain(k.range().map(this.invertY,this).map(k.invert,k))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};var identity=new Transform(1,0,0);transform.prototype=Transform.prototype;function transform(k){for(;!k.__zoom;)if(!(k=k.parentNode))return identity;return k.__zoom}function nopropagation(k){k.stopImmediatePropagation()}function noevent(k){k.preventDefault(),k.stopImmediatePropagation()}function defaultFilter(k){return(!k.ctrlKey||k.type==="wheel")&&!k.button}function defaultExtent(){var k=this;return k instanceof SVGElement?(k=k.ownerSVGElement||k,k.hasAttribute("viewBox")?(k=k.viewBox.baseVal,[[k.x,k.y],[k.x+k.width,k.y+k.height]]):[[0,0],[k.width.baseVal.value,k.height.baseVal.value]]):[[0,0],[k.clientWidth,k.clientHeight]]}function defaultTransform(){return this.__zoom||identity}function defaultWheelDelta(k){return-k.deltaY*(k.deltaMode===1?.05:k.deltaMode?1:.002)*(k.ctrlKey?10:1)}function defaultTouchable(){return navigator.maxTouchPoints||"ontouchstart"in this}function defaultConstrain(k,m,M){var G=k.invertX(m[0][0])-M[0][0],V=k.invertX(m[1][0])-M[1][0],q=k.invertY(m[0][1])-M[0][1],$=k.invertY(m[1][1])-M[1][1];return k.translate(V>G?(G+V)/2:Math.min(0,G)||Math.max(0,V),$>q?(q+$)/2:Math.min(0,q)||Math.max(0,$))}function zoom(){var k=defaultFilter,m=defaultExtent,M=defaultConstrain,G=defaultWheelDelta,V=defaultTouchable,q=[0,1/0],$=[[-1/0,-1/0],[1/0,1/0]],D=250,B=interpolateZoom,R=dispatch("start","zoom","end"),U,K,z,e=500,ae=150,ie=0,he=10;function J(fe){fe.property("__zoom",defaultTransform).on("wheel.zoom",se).on("mousedown.zoom",oe).on("dblclick.zoom",me).filter(V).on("touchstart.zoom",Ee).on("touchmove.zoom",ke).on("touchend.zoom touchcancel.zoom",xe).style("-webkit-tap-highlight-color","rgba(0,0,0,0)")}J.transform=function(fe,ve,ye,Ce){var pe=fe.selection?fe.selection():fe;pe.property("__zoom",defaultTransform),fe!==pe?Q(fe,ve,ye,Ce):pe.interrupt().each(function(){ce(this,arguments).event(Ce).start().zoom(null,typeof ve=="function"?ve.apply(this,arguments):ve).end()})},J.scaleBy=function(fe,ve,ye,Ce){J.scaleTo(fe,function(){var pe=this.__zoom.k,_e=typeof ve=="function"?ve.apply(this,arguments):ve;return pe*_e},ye,Ce)},J.scaleTo=function(fe,ve,ye,Ce){J.transform(fe,function(){var pe=m.apply(this,arguments),_e=this.__zoom,Ge=ye==null?L(pe):typeof ye=="function"?ye.apply(this,arguments):ye,Ae=_e.invert(Ge),Ne=typeof ve=="function"?ve.apply(this,arguments):ve;return M(X(W(_e,Ne),Ge,Ae),pe,$)},ye,Ce)},J.translateBy=function(fe,ve,ye,Ce){J.transform(fe,function(){return M(this.__zoom.translate(typeof ve=="function"?ve.apply(this,arguments):ve,typeof ye=="function"?ye.apply(this,arguments):ye),m.apply(this,arguments),$)},null,Ce)},J.translateTo=function(fe,ve,ye,Ce,pe){J.transform(fe,function(){var _e=m.apply(this,arguments),Ge=this.__zoom,Ae=Ce==null?L(_e):typeof Ce=="function"?Ce.apply(this,arguments):Ce;return M(identity.translate(Ae[0],Ae[1]).scale(Ge.k).translate(typeof ve=="function"?-ve.apply(this,arguments):-ve,typeof ye=="function"?-ye.apply(this,arguments):-ye),_e,$)},Ce,pe)};function W(fe,ve){return ve=Math.max(q[0],Math.min(q[1],ve)),ve===fe.k?fe:new Transform(ve,fe.x,fe.y)}function X(fe,ve,ye){var Ce=ve[0]-ye[0]*fe.k,pe=ve[1]-ye[1]*fe.k;return Ce===fe.x&&pe===fe.y?fe:new Transform(fe.k,Ce,pe)}function L(fe){return[(+fe[0][0]+ +fe[1][0])/2,(+fe[0][1]+ +fe[1][1])/2]}function Q(fe,ve,ye,Ce){fe.on("start.zoom",function(){ce(this,arguments).event(Ce).start()}).on("interrupt.zoom end.zoom",function(){ce(this,arguments).event(Ce).end()}).tween("zoom",function(){var pe=this,_e=arguments,Ge=ce(pe,_e).event(Ce),Ae=m.apply(pe,_e),Ne=ye==null?L(Ae):typeof ye=="function"?ye.apply(pe,_e):ye,Ze=Math.max(Ae[1][0]-Ae[0][0],Ae[1][1]-Ae[0][1]),ze=pe.__zoom,Te=typeof ve=="function"?ve.apply(pe,_e):ve,Fe=B(ze.invert(Ne).concat(Ze/ze.k),Te.invert(Ne).concat(Ze/Te.k));return function(Pe){if(Pe===1)Pe=Te;else{var we=Fe(Pe),Ie=Ze/we[2];Pe=new Transform(Ie,Ne[0]-we[0]*Ie,Ne[1]-we[1]*Ie)}Ge.zoom(null,Pe)}})}function ce(fe,ve,ye){return!ye&&fe.__zooming||new de(fe,ve)}function de(fe,ve){this.that=fe,this.args=ve,this.active=0,this.sourceEvent=null,this.extent=m.apply(fe,ve),this.taps=0}de.prototype={event:function(fe){return fe&&(this.sourceEvent=fe),this},start:function(){return++this.active===1&&(this.that.__zooming=this,this.emit("start")),this},zoom:function(fe,ve){return this.mouse&&fe!=="mouse"&&(this.mouse[1]=ve.invert(this.mouse[0])),this.touch0&&fe!=="touch"&&(this.touch0[1]=ve.invert(this.touch0[0])),this.touch1&&fe!=="touch"&&(this.touch1[1]=ve.invert(this.touch1[0])),this.that.__zoom=ve,this.emit("zoom"),this},end:function(){return--this.active===0&&(delete this.that.__zooming,this.emit("end")),this},emit:function(fe){var ve=select(this.that).datum();R.call(fe,this.that,new ZoomEvent(fe,{sourceEvent:this.sourceEvent,target:J,type:fe,transform:this.that.__zoom,dispatch:R}),ve)}};function se(fe,...ve){if(!k.apply(this,arguments))return;var ye=ce(this,ve).event(fe),Ce=this.__zoom,pe=Math.max(q[0],Math.min(q[1],Ce.k*Math.pow(2,G.apply(this,arguments)))),_e=pointer(fe);if(ye.wheel)(ye.mouse[0][0]!==_e[0]||ye.mouse[0][1]!==_e[1])&&(ye.mouse[1]=Ce.invert(ye.mouse[0]=_e)),clearTimeout(ye.wheel);else{if(Ce.k===pe)return;ye.mouse=[_e,Ce.invert(_e)],interrupt(this),ye.start()}noevent(fe),ye.wheel=setTimeout(Ge,ae),ye.zoom("mouse",M(X(W(Ce,pe),ye.mouse[0],ye.mouse[1]),ye.extent,$));function Ge(){ye.wheel=null,ye.end()}}function oe(fe,...ve){if(z||!k.apply(this,arguments))return;var ye=ce(this,ve,!0).event(fe),Ce=select(fe.view).on("mousemove.zoom",Ne,!0).on("mouseup.zoom",Ze,!0),pe=pointer(fe,_e),_e=fe.currentTarget,Ge=fe.clientX,Ae=fe.clientY;dragDisable(fe.view),nopropagation(fe),ye.mouse=[pe,this.__zoom.invert(pe)],interrupt(this),ye.start();function Ne(ze){if(noevent(ze),!ye.moved){var Te=ze.clientX-Ge,Fe=ze.clientY-Ae;ye.moved=Te*Te+Fe*Fe>ie}ye.event(ze).zoom("mouse",M(X(ye.that.__zoom,ye.mouse[0]=pointer(ze,_e),ye.mouse[1]),ye.extent,$))}function Ze(ze){Ce.on("mousemove.zoom mouseup.zoom",null),yesdrag(ze.view,ye.moved),noevent(ze),ye.event(ze).end()}}function me(fe,...ve){if(k.apply(this,arguments)){var ye=this.__zoom,Ce=pointer(fe.changedTouches?fe.changedTouches[0]:fe,this),pe=ye.invert(Ce),_e=ye.k*(fe.shiftKey?.5:2),Ge=M(X(W(ye,_e),Ce,pe),m.apply(this,ve),$);noevent(fe),D>0?select(this).transition().duration(D).call(Q,Ge,Ce,fe):select(this).call(J.transform,Ge,Ce,fe)}}function Ee(fe,...ve){if(k.apply(this,arguments)){var ye=fe.touches,Ce=ye.length,pe=ce(this,ve,fe.changedTouches.length===Ce).event(fe),_e,Ge,Ae,Ne;for(nopropagation(fe),Ge=0;Ge=0;)m+=M[G].value;k.value=m}function node_count(){return this.eachAfter(count)}function node_each(k){var m=this,M,G=[m],V,q,$;do for(M=G.reverse(),G=[];m=M.pop();)if(k(m),V=m.children,V)for(q=0,$=V.length;q<$;++q)G.push(V[q]);while(G.length);return this}function node_eachBefore(k){for(var m=this,M=[m],G,V;m=M.pop();)if(k(m),G=m.children,G)for(V=G.length-1;V>=0;--V)M.push(G[V]);return this}function node_eachAfter(k){for(var m=this,M=[m],G=[],V,q,$;m=M.pop();)if(G.push(m),V=m.children,V)for(q=0,$=V.length;q<$;++q)M.push(V[q]);for(;m=G.pop();)k(m);return this}function node_sum(k){return this.eachAfter(function(m){for(var M=+k(m.data)||0,G=m.children,V=G&&G.length;--V>=0;)M+=G[V].value;m.value=M})}function node_sort(k){return this.eachBefore(function(m){m.children&&m.children.sort(k)})}function node_path(k){for(var m=this,M=leastCommonAncestor(m,k),G=[m];m!==M;)m=m.parent,G.push(m);for(var V=G.length;k!==M;)G.splice(V,0,k),k=k.parent;return G}function leastCommonAncestor(k,m){if(k===m)return k;var M=k.ancestors(),G=m.ancestors(),V=null;for(k=M.pop(),m=G.pop();k===m;)V=k,k=M.pop(),m=G.pop();return V}function node_ancestors(){for(var k=this,m=[k];k=k.parent;)m.push(k);return m}function node_descendants(){var k=[];return this.each(function(m){k.push(m)}),k}function node_leaves(){var k=[];return this.eachBefore(function(m){m.children||k.push(m)}),k}function node_links(){var k=this,m=[];return k.each(function(M){M!==k&&m.push({source:M.parent,target:M})}),m}function hierarchy(k,m){var M=new Node$1(k),G=+k.value&&(M.value=k.value),V,q=[M],$,D,B,R;for(m==null&&(m=defaultChildren);V=q.pop();)if(G&&(V.value=+V.data.value),(D=m(V.data))&&(R=D.length))for(V.children=new Array(R),B=R-1;B>=0;--B)q.push($=V.children[B]=new Node$1(D[B])),$.parent=V,$.depth=V.depth+1;return M.eachBefore(computeHeight)}function node_copy(){return hierarchy(this).eachBefore(copyData)}function defaultChildren(k){return k.children}function copyData(k){k.data=k.data.data}function computeHeight(k){var m=0;do k.height=m;while((k=k.parent)&&k.height<++m)}function Node$1(k){this.data=k,this.depth=this.height=0,this.parent=null}Node$1.prototype=hierarchy.prototype={constructor:Node$1,count:node_count,each:node_each,eachAfter:node_eachAfter,eachBefore:node_eachBefore,sum:node_sum,sort:node_sort,path:node_path,ancestors:node_ancestors,descendants:node_descendants,leaves:node_leaves,links:node_links,copy:node_copy};var name="d3-flextree",version$1="2.1.2",main="build/d3-flextree.js",module="index",author={name:"Chris Maloney",url:"http://chrismaloney.org"},description="Flexible tree layout algorithm that allows for variable node sizes.",keywords=["d3","d3-module","layout","tree","hierarchy","d3-hierarchy","plugin","d3-plugin","infovis","visualization","2d"],homepage="https://github.com/klortho/d3-flextree",license="WTFPL",repository={type:"git",url:"https://github.com/klortho/d3-flextree.git"},scripts={clean:"rm -rf build demo test","build:demo":"rollup -c --environment BUILD:demo","build:dev":"rollup -c --environment BUILD:dev","build:prod":"rollup -c --environment BUILD:prod","build:test":"rollup -c --environment BUILD:test",build:"rollup -c",lint:"eslint index.js src","test:main":"node test/bundle.js","test:browser":"node test/browser-tests.js",test:"npm-run-all test:*",prepare:"npm-run-all clean build lint test"},dependencies={"d3-hierarchy":"^1.1.5"},devDependencies={"babel-plugin-external-helpers":"^6.22.0","babel-preset-es2015-rollup":"^3.0.0",d3:"^4.13.0","d3-selection-multi":"^1.0.1",eslint:"^4.19.1",jsdom:"^11.6.2","npm-run-all":"^4.1.2",rollup:"^0.55.3","rollup-plugin-babel":"^2.7.1","rollup-plugin-commonjs":"^8.0.2","rollup-plugin-copy":"^0.2.3","rollup-plugin-json":"^2.3.0","rollup-plugin-node-resolve":"^3.0.2","rollup-plugin-uglify":"^3.0.0","uglify-es":"^3.3.9"},packageInfo={name,version:version$1,main,module,"jsnext:main":"index",author,description,keywords,homepage,license,repository,scripts,dependencies,devDependencies};const{version:version$2}=packageInfo,defaults$1=Object.freeze({children:k=>k.children,nodeSize:k=>k.data.size,spacing:0});function flextree(k){const m=Object.assign({},defaults$1,k);function M(D){const B=m[D];return typeof B=="function"?B:()=>B}function G(D){const B=$(q(),D,R=>R.children);return B.update(),B.data}function V(){const D=M("nodeSize"),B=M("spacing");return class dl extends hierarchy.prototype.constructor{constructor(U){super(U)}copy(){const U=$(this.constructor,this,K=>K.children);return U.each(K=>K.data=K.data.data),U}get size(){return D(this)}spacing(U){return B(this,U)}get nodes(){return this.descendants()}get xSize(){return this.size[0]}get ySize(){return this.size[1]}get top(){return this.y}get bottom(){return this.y+this.ySize}get left(){return this.x-this.xSize/2}get right(){return this.x+this.xSize/2}get root(){const U=this.ancestors();return U[U.length-1]}get numChildren(){return this.hasChildren?this.children.length:0}get hasChildren(){return!this.noChildren}get noChildren(){return this.children===null}get firstChild(){return this.hasChildren?this.children[0]:null}get lastChild(){return this.hasChildren?this.children[this.numChildren-1]:null}get extents(){return(this.children||[]).reduce((U,K)=>dl.maxExtents(U,K.extents),this.nodeExtents)}get nodeExtents(){return{top:this.top,bottom:this.bottom,left:this.left,right:this.right}}static maxExtents(U,K){return{top:Math.min(U.top,K.top),bottom:Math.max(U.bottom,K.bottom),left:Math.min(U.left,K.left),right:Math.max(U.right,K.right)}}}}function q(){const D=V(),B=M("nodeSize"),R=M("spacing");return class extends D{constructor(U){super(U),Object.assign(this,{x:0,y:0,relX:0,prelim:0,shift:0,change:0,lExt:this,lExtRelX:0,lThr:null,rExt:this,rExtRelX:0,rThr:null})}get size(){return B(this.data)}spacing(U){return R(this.data,U.data)}get x(){return this.data.x}set x(U){this.data.x=U}get y(){return this.data.y}set y(U){this.data.y=U}update(){return layoutChildren(this),resolveX(this),this}}}function $(D,B,R){const U=(K,z)=>{const e=new D(K);Object.assign(e,{parent:z,depth:z===null?0:z.depth+1,height:0,length:1});const ae=R(K)||[];return e.children=ae.length===0?null:ae.map(ie=>U(ie,e)),e.children&&Object.assign(e,e.children.reduce((ie,he)=>({height:Math.max(ie.height,he.height+1),length:ie.length+he.length}),e)),e};return U(B,null)}return Object.assign(G,{nodeSize(D){return arguments.length?(m.nodeSize=D,G):m.nodeSize},spacing(D){return arguments.length?(m.spacing=D,G):m.spacing},children(D){return arguments.length?(m.children=D,G):m.children},hierarchy(D,B){const R=typeof B>"u"?m.children:B;return $(V(),D,R)},dump(D){const B=M("nodeSize"),R=U=>K=>{const z=U+"  ",e=U+"    ",{x:ae,y:ie}=K,he=B(K),J=K.children||[],W=J.length===0?" ":`,${z}children: [${e}${J.map(R(e)).join(e)}${z}],${U}`;return`{ size: [${he.join(", ")}],${z}x: ${ae}, y: ${ie}${W}},`};return R(`
       `)(D)}}),G}flextree.version=version$2;const layoutChildren=(k,m=0)=>(k.y=m,(k.children||[]).reduce((M,G)=>{const[V,q]=M;layoutChildren(G,k.y+k.ySize);const $=(V===0?G.lExt:G.rExt).bottom;V!==0&&separate(k,V,q);const D=updateLows($,V,q);return[V+1,D]},[0,null]),shiftChange(k),positionRoot(k),k),resolveX=(k,m,M)=>{typeof m>"u"&&(m=-k.relX-k.prelim,M=0);const G=m+k.relX;return k.relX=G+k.prelim-M,k.prelim=0,k.x=M+k.relX,(k.children||[]).forEach(V=>resolveX(V,G,k.x)),k},shiftChange=k=>{(k.children||[]).reduce((m,M)=>{const[G,V]=m,q=G+M.shift,$=V+q+M.change;return M.relX+=$,[q,$]},[0,0])},separate=(k,m,M)=>{const G=k.children[m-1],V=k.children[m];let q=G,$=G.relX,D=V,B=V.relX,R=!0;for(;q&&D;){q.bottom>M.lowY&&(M=M.next);const U=$+q.prelim-(B+D.prelim)+q.xSize/2+D.xSize/2+q.spacing(D);(U>0||U<0&&R)&&(B+=U,moveSubtree(V,U),distributeExtra(k,m,M.index,U)),R=!1;const K=q.bottom,z=D.bottom;K<=z&&(q=nextRContour(q),q&&($+=q.relX)),K>=z&&(D=nextLContour(D),D&&(B+=D.relX))}!q&&D?setLThr(k,m,D,B):q&&!D&&setRThr(k,m,q,$)},moveSubtree=(k,m)=>{k.relX+=m,k.lExtRelX+=m,k.rExtRelX+=m},distributeExtra=(k,m,M,G)=>{const V=k.children[m],q=m-M;if(q>1){const $=G/q;k.children[M+1].shift+=$,V.shift-=$,V.change-=G-$}},nextLContour=k=>k.hasChildren?k.firstChild:k.lThr,nextRContour=k=>k.hasChildren?k.lastChild:k.rThr,setLThr=(k,m,M,G)=>{const V=k.firstChild,q=V.lExt,$=k.children[m];q.lThr=M;const D=G-M.relX-V.lExtRelX;q.relX+=D,q.prelim-=D,V.lExt=$.lExt,V.lExtRelX=$.lExtRelX},setRThr=(k,m,M,G)=>{const V=k.children[m],q=V.rExt,$=k.children[m-1];q.rThr=M;const D=G-M.relX-V.rExtRelX;q.relX+=D,q.prelim-=D,V.rExt=$.rExt,V.rExtRelX=$.rExtRelX},positionRoot=k=>{if(k.hasChildren){const m=k.firstChild,M=k.lastChild,G=(m.prelim+m.relX-m.xSize/2+M.relX+M.prelim+M.xSize/2)/2;Object.assign(k,{prelim:G,lExt:m.lExt,lExtRelX:m.lExtRelX,rExt:M.rExt,rExtRelX:M.rExtRelX})}},updateLows=(k,m,M)=>{for(;M!==null&&k>=M.lowY;)M=M.next;return{lowY:k,index:m,next:M}};/*! @gera2ld/jsx-dom v2.1.1 | ISC License */var VTYPE_ELEMENT=1,VTYPE_FUNCTION=2,MOUNT_SINGLE=1,MOUNT_ARRAY=4,SVG_NS="http://www.w3.org/2000/svg",XLINK_NS="http://www.w3.org/1999/xlink",NS_ATTRS={show:XLINK_NS,actuate:XLINK_NS,href:XLINK_NS},isLeaf=function(m){return typeof m=="string"||typeof m=="number"},isElement=function(m){return(m==null?void 0:m.vtype)===VTYPE_ELEMENT},isRenderFunction=function(m){return(m==null?void 0:m.vtype)===VTYPE_FUNCTION};function jsx(k,m){var M;if(typeof k=="string")M=VTYPE_ELEMENT;else if(typeof k=="function")M=VTYPE_FUNCTION;else throw new Error("Invalid VNode type");return{vtype:M,type:k,props:m}}function Fragment(k){return k.children}var DEFAULT_ENV={isSvg:!1};function insertDom(k,m){if(m.type===MOUNT_SINGLE)m.node!=null&&k.append(m.node);else if(m.type===MOUNT_ARRAY)m.children.forEach(function(M){insertDom(k,M)});else throw new Error("Unkown ref type "+JSON.stringify(m))}function mountAttributes(k,m,M){for(var G in m)G==="key"||G==="children"||G==="ref"||(G==="dangerouslySetInnerHTML"?k.innerHTML=m[G].__html:G==="innerHTML"||G==="textContent"||G==="innerText"?k[G]=m[G]:G.startsWith("on")?k[G.toLowerCase()]=m[G]:setDOMAttribute(k,G,m[G],M.isSvg))}var attrMap={className:"class",labelFor:"for"};function setDOMAttribute(k,m,M,G){if(m=attrMap[m]||m,M===!0)k.setAttribute(m,"");else if(M===!1)k.removeAttribute(m);else{var V=G?NS_ATTRS[m]:void 0;V!==void 0?k.setAttributeNS(V,m,M):k.setAttribute(m,M)}}function mount(k,m){if(m===void 0&&(m=DEFAULT_ENV),k==null||typeof k=="boolean")return{type:MOUNT_SINGLE,node:null};if(k instanceof Node)return{type:MOUNT_SINGLE,node:k};if(isRenderFunction(k)){var M=k,G=M.type,V=M.props;if(G===Fragment){var q=document.createDocumentFragment();if(V.children){var $=mount(V.children,m);insertDom(q,$)}return{type:MOUNT_SINGLE,node:q}}var D=G(V);return mount(D,m)}if(isLeaf(k))return{type:MOUNT_SINGLE,node:document.createTextNode(""+k)};if(isElement(k)){var B,R=k,U=R.type,K=R.props;!m.isSvg&&U==="svg"&&(m=Object.assign({},m,{isSvg:!0})),m.isSvg?B=document.createElementNS(SVG_NS,U):B=document.createElement(U),mountAttributes(B,K,m);var z;if(K.children){var e=m;m.isSvg&&U==="foreignObject"&&(e=Object.assign({},e,{isSvg:!1})),z=mount(K.children,e)}z!=null&&insertDom(B,z);var ae=K.ref;return typeof ae=="function"&&ae(B),{type:MOUNT_SINGLE,node:B}}if(Array.isArray(k))return{type:MOUNT_ARRAY,children:k.map(function(ie){return mount(ie,m)})};throw new Error("mount: Invalid Vnode!")}function flattenWithoutNull(k){for(var m=[],M=0;M{M.ySizeInner=M.ySize-m,M.y+=m,G()},"children")}function minBy(k,m){const M=minIndex(k,m);return k[M]}function stopPropagation(k){k.stopPropagation()}function createViewHooks(){return{transformHtml:new Hook}}const refreshHook=new Hook,defaultColorFn=ordinal(category10),isMacintosh=typeof navigator<"u"&&navigator.userAgent.includes("Macintosh");class Markmap{constructor(m,M){this.revokers=[],["handleZoom","handleClick","handlePan"].forEach(G=>{this[G]=this[G].bind(this)}),this.viewHooks=createViewHooks(),this.svg=m.datum?m:select(m),this.styleNode=this.svg.append("style"),this.zoom=zoom().filter(G=>this.options.scrollForPan&&G.type==="wheel"?G.ctrlKey&&!G.button:(!G.ctrlKey||G.type==="wheel")&&!G.button).on("zoom",this.handleZoom),this.setOptions(M),this.state={id:this.options.id||this.svg.attr("id")||getId()},this.g=this.svg.append("g"),this.revokers.push(refreshHook.tap(()=>{this.setData()}))}getStyleContent(){const{style:m}=this.options,{id:M}=this.state,G=typeof m=="function"?m(M):"";return[this.options.embedGlobalCSS&&css_248z$1,G].filter(Boolean).join(`
       `)}updateStyle(){this.svg.attr("class",addClass(this.svg.attr("class"),"markmap",this.state.id));const m=this.getStyleContent();this.styleNode.text(m)}handleZoom(m){const{transform:M}=m;this.g.attr("transform",M)}handlePan(m){m.preventDefault();const M=transform(this.svg.node()),G=M.translate(-m.deltaX/M.k,-m.deltaY/M.k);this.svg.call(this.zoom.transform,G)}handleClick(m,M){var G;const{data:V}=M;V.payload=_extends({},V.payload,{fold:(G=V.payload)!=null&&G.fold?0:1}),this.renderData(M.data)}initializeData(m){let M=0;const{color:G,nodeMinHeight:V,maxWidth:q,initialExpandLevel:$}=this.options,{id:D}=this.state,B=mountDom(jsx("div",{className:`markmap-container markmap ${D}-g`})),R=mountDom(jsx("style",{children:[this.getStyleContent(),css_248z$2].join(`
      -`)}));document.body.append(B,R);const U=q?`max-width: ${q}px`:"";let K=0;walkTree(m,(e,ae,ie)=>{var he,J,X;e.children=(he=e.children)==null?void 0:he.map(Q=>_extends({},Q)),M+=1;const W=mountDom(jsx("div",{className:"markmap-foreign",style:U,children:jsx("div",{dangerouslySetInnerHTML:{__html:e.content}})}));B.append(W),e.state=_extends({},e.state,{id:M,el:W.firstChild}),e.state.path=[ie==null||(J=ie.state)==null?void 0:J.path,e.state.id].filter(Boolean).join("."),G(e);const L=((X=e.payload)==null?void 0:X.fold)===2;L?K+=1:(K||$>=0&&e.depth>=$)&&(e.payload=_extends({},e.payload,{fold:1})),ae(),L&&(K-=1)});const z=arrayFrom(B.childNodes).map(e=>e.firstChild);this.viewHooks.transformHtml.call(this,z),z.forEach(e=>{e.parentNode.append(e.cloneNode(!0))}),walkTree(m,(e,ae,ie)=>{var he;const J=e.state.el.getBoundingClientRect();e.content=e.state.el.innerHTML,e.state.size=[Math.ceil(J.width)+1,Math.max(Math.ceil(J.height),V)],e.state.key=[ie==null||(he=ie.state)==null?void 0:he.id,e.state.id].filter(Boolean).join(".")+e.content,ae()}),B.remove(),R.remove()}setOptions(m){this.options=_extends({},Markmap.defaultOptions,m),this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.svg.on("wheel",this.options.pan?this.handlePan:null)}setData(m,M){m&&(this.state.data=m),M&&this.setOptions(M),this.initializeData(this.state.data),this.updateStyle(),this.renderData()}renderData(m){var M,G;if(!this.state.data)return;const{spacingHorizontal:V,paddingX:q,spacingVertical:$,autoFit:D,color:B}=this.options,R=flextree().children(xe=>{var fe;return!((fe=xe.payload)!=null&&fe.fold)&&xe.children}).nodeSize(xe=>{const[fe,ve]=xe.data.state.size;return[ve,fe+(fe?q*2:0)+V]}).spacing((xe,fe)=>xe.parent===fe.parent?$:$*2),U=R.hierarchy(this.state.data);R(U),adjustSpacing(U,V);const K=U.descendants().reverse(),z=U.links(),e=linkHorizontal(),ae=min$2(K,xe=>xe.x-xe.xSize/2),ie=max$1(K,xe=>xe.x+xe.xSize/2),he=min$2(K,xe=>xe.y),J=max$1(K,xe=>xe.y+xe.ySizeInner);Object.assign(this.state,{minX:ae,maxX:ie,minY:he,maxY:J}),D&&this.fit();const X=m&&K.find(xe=>xe.data===m)||U,W=(M=X.data.state.x0)!=null?M:X.x,L=(G=X.data.state.y0)!=null?G:X.y,Q=this.g.selectAll(childSelector("g")).data(K,xe=>xe.data.state.key),ce=Q.enter().append("g").attr("data-depth",xe=>xe.data.depth).attr("data-path",xe=>xe.data.state.path).attr("transform",xe=>`translate(${L+X.ySizeInner-xe.ySizeInner},${W+X.xSize/2-xe.xSize})`),de=this.transition(Q.exit());de.select("line").attr("x1",xe=>xe.ySizeInner).attr("x2",xe=>xe.ySizeInner),de.select("foreignObject").style("opacity",0),de.attr("transform",xe=>`translate(${X.y+X.ySizeInner-xe.ySizeInner},${X.x+X.xSize/2-xe.xSize})`).remove();const oe=Q.merge(ce).attr("class",xe=>{var fe;return["markmap-node",((fe=xe.data.payload)==null?void 0:fe.fold)&&"markmap-fold"].filter(Boolean).join(" ")});this.transition(oe).attr("transform",xe=>`translate(${xe.y},${xe.x-xe.xSize/2})`);const se=oe.selectAll(childSelector("line")).data(xe=>[xe],xe=>xe.data.state.key).join(xe=>xe.append("line").attr("x1",fe=>fe.ySizeInner).attr("x2",fe=>fe.ySizeInner),xe=>xe,xe=>xe.remove());this.transition(se).attr("x1",-1).attr("x2",xe=>xe.ySizeInner+2).attr("y1",xe=>xe.xSize).attr("y2",xe=>xe.xSize).attr("stroke",xe=>B(xe.data)).attr("stroke-width",linkWidth);const me=oe.selectAll(childSelector("circle")).data(xe=>xe.data.children?[xe]:[],xe=>xe.data.state.key).join(xe=>xe.append("circle").attr("stroke-width","1.5").attr("cx",fe=>fe.ySizeInner).attr("cy",fe=>fe.xSize).attr("r",0).on("click",(fe,ve)=>this.handleClick(fe,ve)),xe=>xe,xe=>xe.remove());this.transition(me).attr("r",6).attr("cx",xe=>xe.ySizeInner).attr("cy",xe=>xe.xSize).attr("stroke",xe=>B(xe.data)).attr("fill",xe=>{var fe;return(fe=xe.data.payload)!=null&&fe.fold&&xe.data.children?B(xe.data):"#fff"});const Ee=oe.selectAll(childSelector("foreignObject")).data(xe=>[xe],xe=>xe.data.state.key).join(xe=>{const fe=xe.append("foreignObject").attr("class","markmap-foreign").attr("x",q).attr("y",0).style("opacity",0).on("mousedown",stopPropagation).on("dblclick",stopPropagation);return fe.append("xhtml:div").select(function(ye){const Ce=ye.data.state.el.cloneNode(!0);return this.replaceWith(Ce),Ce}).attr("xmlns","http://www.w3.org/1999/xhtml"),fe},xe=>xe,xe=>xe.remove()).attr("width",xe=>Math.max(0,xe.ySizeInner-q*2)).attr("height",xe=>xe.xSize);this.transition(Ee).style("opacity",1);const ke=this.g.selectAll(childSelector("path")).data(z,xe=>xe.target.data.state.key).join(xe=>{const fe=[L+X.ySizeInner,W+X.xSize/2];return xe.insert("path","g").attr("class","markmap-link").attr("data-depth",ve=>ve.target.data.depth).attr("data-path",ve=>ve.target.data.state.path).attr("d",e({source:fe,target:fe}))},xe=>xe,xe=>{const fe=[X.y+X.ySizeInner,X.x+X.xSize/2];return this.transition(xe).attr("d",e({source:fe,target:fe})).remove()});this.transition(ke).attr("stroke",xe=>B(xe.target.data)).attr("stroke-width",xe=>linkWidth(xe.target)).attr("d",xe=>{const fe=[xe.source.y+xe.source.ySizeInner,xe.source.x+xe.source.xSize/2],ve=[xe.target.y,xe.target.x+xe.target.xSize/2];return e({source:fe,target:ve})}),K.forEach(xe=>{xe.data.state.x0=xe.x,xe.data.state.y0=xe.y})}transition(m){const{duration:M}=this.options;return m.transition().duration(M)}async fit(){const m=this.svg.node(),{width:M,height:G}=m.getBoundingClientRect(),{fitRatio:V}=this.options,{minX:q,maxX:$,minY:D,maxY:B}=this.state,R=B-D,U=$-q,K=Math.min(M/R*V,G/U*V,2),z=identity.translate((M-R*K)/2-D*K,(G-U*K)/2-q*K).scale(K);return this.transition(this.svg).call(this.zoom.transform,z).end().catch(noop$1)}async ensureView(m,M){let G,V;if(this.g.selectAll(childSelector("g")).each(function(X){X.data===m&&(G=this,V=X)}),!G||!V)return;const q=this.svg.node(),$=q.getBoundingClientRect(),D=transform(q),[B,R]=[V.y,V.y+V.ySizeInner+2].map(J=>J*D.k+D.x),[U,K]=[V.x-V.xSize/2,V.x+V.xSize/2].map(J=>J*D.k+D.y),z=_extends({left:0,right:0,top:0,bottom:0},M),e=[z.left-B,$.width-z.right-R],ae=[z.top-U,$.height-z.bottom-K],ie=e[0]*e[1]>0?minBy(e,Math.abs)/D.k:0,he=ae[0]*ae[1]>0?minBy(ae,Math.abs)/D.k:0;if(ie||he){const J=D.translate(ie,he);return this.transition(this.svg).call(this.zoom.transform,J).end().catch(noop$1)}}async rescale(m){const M=this.svg.node(),{width:G,height:V}=M.getBoundingClientRect(),q=G/2,$=V/2,D=transform(M),B=D.translate((q-D.x)*(1-m)/D.k,($-D.y)*(1-m)/D.k).scale(m);return this.transition(this.svg).call(this.zoom.transform,B).end().catch(noop$1)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this.revokers.forEach(m=>{m()})}static create(m,M,G){const V=new Markmap(m,M);return G&&(V.setData(G),V.fit()),V}}Markmap.defaultOptions={autoFit:!1,color:k=>defaultColorFn(`${k.state.path}`),duration:500,embedGlobalCSS:!0,fitRatio:.95,maxWidth:0,nodeMinHeight:16,paddingX:8,scrollForPan:isMacintosh,spacingHorizontal:80,spacingVertical:5,initialExpandLevel:-1,zoom:!0,pan:!0};var FileSaver_min={exports:{}};(function(k,m){(function(M,G){G()})(commonjsGlobal$1,function(){function M(R,U){return typeof U>"u"?U={autoBom:!1}:typeof U!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),U={autoBom:!U}),U.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(R.type)?new Blob(["\uFEFF",R],{type:R.type}):R}function G(R,U,K){var z=new XMLHttpRequest;z.open("GET",R),z.responseType="blob",z.onload=function(){B(z.response,U,K)},z.onerror=function(){console.error("could not download file")},z.send()}function V(R){var U=new XMLHttpRequest;U.open("HEAD",R,!1);try{U.send()}catch{}return 200<=U.status&&299>=U.status}function q(R){try{R.dispatchEvent(new MouseEvent("click"))}catch{var U=document.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),R.dispatchEvent(U)}}var $=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof commonjsGlobal$1=="object"&&commonjsGlobal$1.global===commonjsGlobal$1?commonjsGlobal$1:void 0,D=$.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),B=$.saveAs||(typeof window!="object"||window!==$?function(){}:"download"in HTMLAnchorElement.prototype&&!D?function(R,U,K){var z=$.URL||$.webkitURL,e=document.createElement("a");U=U||R.name||"download",e.download=U,e.rel="noopener",typeof R=="string"?(e.href=R,e.origin===location.origin?q(e):V(e.href)?G(R,U,K):q(e,e.target="_blank")):(e.href=z.createObjectURL(R),setTimeout(function(){z.revokeObjectURL(e.href)},4e4),setTimeout(function(){q(e)},0))}:"msSaveOrOpenBlob"in navigator?function(R,U,K){if(U=U||R.name||"download",typeof R!="string")navigator.msSaveOrOpenBlob(M(R,K),U);else if(V(R))G(R,U,K);else{var z=document.createElement("a");z.href=R,z.target="_blank",setTimeout(function(){q(z)})}}:function(R,U,K,z){if(z=z||open("","_blank"),z&&(z.document.title=z.document.body.innerText="downloading..."),typeof R=="string")return G(R,U,K);var e=R.type==="application/octet-stream",ae=/constructor/i.test($.HTMLElement)||$.safari,ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((ie||e&&ae||D)&&typeof FileReader<"u"){var he=new FileReader;he.onloadend=function(){var W=he.result;W=ie?W:W.replace(/^data:[^;]*;/,"data:attachment/file;"),z?z.location.href=W:location=W,z=null},he.readAsDataURL(R)}else{var J=$.URL||$.webkitURL,X=J.createObjectURL(R);z?z.location=X:location.href=X,z=null,setTimeout(function(){J.revokeObjectURL(X)},4e4)}});$.saveAs=B.saveAs=B,k.exports=B})})(FileSaver_min);var FileSaver_minExports=FileSaver_min.exports;function resolveUrl(k,m){if(k.match(/^[a-z]+:\/\//i))return k;if(k.match(/^\/\//))return window.location.protocol+k;if(k.match(/^[a-z]+:/i))return k;const M=document.implementation.createHTMLDocument(),G=M.createElement("base"),V=M.createElement("a");return M.head.appendChild(G),M.body.appendChild(V),m&&(G.href=m),V.href=k,V.href}const uuid=(()=>{let k=0;const m=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(k+=1,`u${m()}${k}`)})();function toArray(k){const m=[];for(let M=0,G=k.length;McanvasDimensionLimit||k.height>canvasDimensionLimit)&&(k.width>canvasDimensionLimit&&k.height>canvasDimensionLimit?k.width>k.height?(k.height*=canvasDimensionLimit/k.width,k.width=canvasDimensionLimit):(k.width*=canvasDimensionLimit/k.height,k.height=canvasDimensionLimit):k.width>canvasDimensionLimit?(k.height*=canvasDimensionLimit/k.width,k.width=canvasDimensionLimit):(k.width*=canvasDimensionLimit/k.height,k.height=canvasDimensionLimit))}function createImage(k){return new Promise((m,M)=>{const G=new Image;G.decode=()=>m(G),G.onload=()=>m(G),G.onerror=M,G.crossOrigin="anonymous",G.decoding="async",G.src=k})}async function svgToDataURL(k){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(k)).then(encodeURIComponent).then(m=>`data:image/svg+xml;charset=utf-8,${m}`)}async function nodeToDataURL(k,m,M){const G="http://www.w3.org/2000/svg",V=document.createElementNS(G,"svg"),q=document.createElementNS(G,"foreignObject");return V.setAttribute("width",`${m}`),V.setAttribute("height",`${M}`),V.setAttribute("viewBox",`0 0 ${m} ${M}`),q.setAttribute("width","100%"),q.setAttribute("height","100%"),q.setAttribute("x","0"),q.setAttribute("y","0"),q.setAttribute("externalResourcesRequired","true"),V.appendChild(q),q.appendChild(k),svgToDataURL(V)}const isInstanceOfElement=(k,m)=>{if(k instanceof m)return!0;const M=Object.getPrototypeOf(k);return M===null?!1:M.constructor.name===m.name||isInstanceOfElement(M,m)};function formatCSSText(k){const m=k.getPropertyValue("content");return`${k.cssText} content: '${m.replace(/'|"/g,"")}';`}function formatCSSProperties(k){return toArray(k).map(m=>{const M=k.getPropertyValue(m),G=k.getPropertyPriority(m);return`${m}: ${M}${G?" !important":""};`}).join(" ")}function getPseudoElementStyle(k,m,M){const G=`.${k}:${m}`,V=M.cssText?formatCSSText(M):formatCSSProperties(M);return document.createTextNode(`${G}{${V}}`)}function clonePseudoElement(k,m,M){const G=window.getComputedStyle(k,M),V=G.getPropertyValue("content");if(V===""||V==="none")return;const q=uuid();try{m.className=`${m.className} ${q}`}catch{return}const $=document.createElement("style");$.appendChild(getPseudoElementStyle(q,M,G)),m.appendChild($)}function clonePseudoElements(k,m){clonePseudoElement(k,m,":before"),clonePseudoElement(k,m,":after")}const WOFF="application/font-woff",JPEG="image/jpeg",mimes={woff:WOFF,woff2:WOFF,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:JPEG,jpeg:JPEG,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function getExtension(k){const m=/\.([^./]*?)$/g.exec(k);return m?m[1]:""}function getMimeType(k){const m=getExtension(k).toLowerCase();return mimes[m]||""}function getContentFromDataUrl(k){return k.split(/,/)[1]}function isDataUrl(k){return k.search(/^(data:)/)!==-1}function makeDataUrl(k,m){return`data:${m};base64,${k}`}async function fetchAsDataURL(k,m,M){const G=await fetch(k,m);if(G.status===404)throw new Error(`Resource "${G.url}" not found`);const V=await G.blob();return new Promise((q,$)=>{const D=new FileReader;D.onerror=$,D.onloadend=()=>{try{q(M({res:G,result:D.result}))}catch(B){$(B)}},D.readAsDataURL(V)})}const cache={};function getCacheKey(k,m,M){let G=k.replace(/\?.*/,"");return M&&(G=k),/ttf|otf|eot|woff2?/i.test(G)&&(G=G.replace(/.*\//,"")),m?`[${m}]${G}`:G}async function resourceToDataURL(k,m,M){const G=getCacheKey(k,m,M.includeQueryParams);if(cache[G]!=null)return cache[G];M.cacheBust&&(k+=(/\?/.test(k)?"&":"?")+new Date().getTime());let V;try{const q=await fetchAsDataURL(k,M.fetchRequestInit,({res:$,result:D})=>(m||(m=$.headers.get("Content-Type")||""),getContentFromDataUrl(D)));V=makeDataUrl(q,m)}catch(q){V=M.imagePlaceholder||"";let $=`Failed to fetch resource: ${k}`;q&&($=typeof q=="string"?q:q.message),$&&console.warn($)}return cache[G]=V,V}async function cloneCanvasElement(k){const m=k.toDataURL();return m==="data:,"?k.cloneNode(!1):createImage(m)}async function cloneVideoElement(k,m){if(k.currentSrc){const q=document.createElement("canvas"),$=q.getContext("2d");q.width=k.clientWidth,q.height=k.clientHeight,$==null||$.drawImage(k,0,0,q.width,q.height);const D=q.toDataURL();return createImage(D)}const M=k.poster,G=getMimeType(M),V=await resourceToDataURL(M,G,m);return createImage(V)}async function cloneIFrameElement(k){var m;try{if(!((m=k==null?void 0:k.contentDocument)===null||m===void 0)&&m.body)return await cloneNode(k.contentDocument.body,{},!0)}catch{}return k.cloneNode(!1)}async function cloneSingleNode(k,m){return isInstanceOfElement(k,HTMLCanvasElement)?cloneCanvasElement(k):isInstanceOfElement(k,HTMLVideoElement)?cloneVideoElement(k,m):isInstanceOfElement(k,HTMLIFrameElement)?cloneIFrameElement(k):k.cloneNode(!1)}const isSlotElement=k=>k.tagName!=null&&k.tagName.toUpperCase()==="SLOT";async function cloneChildren(k,m,M){var G,V;let q=[];return isSlotElement(k)&&k.assignedNodes?q=toArray(k.assignedNodes()):isInstanceOfElement(k,HTMLIFrameElement)&&(!((G=k.contentDocument)===null||G===void 0)&&G.body)?q=toArray(k.contentDocument.body.childNodes):q=toArray(((V=k.shadowRoot)!==null&&V!==void 0?V:k).childNodes),q.length===0||isInstanceOfElement(k,HTMLVideoElement)||await q.reduce(($,D)=>$.then(()=>cloneNode(D,M)).then(B=>{B&&m.appendChild(B)}),Promise.resolve()),m}function cloneCSSStyle(k,m){const M=m.style;if(!M)return;const G=window.getComputedStyle(k);G.cssText?(M.cssText=G.cssText,M.transformOrigin=G.transformOrigin):toArray(G).forEach(V=>{let q=G.getPropertyValue(V);V==="font-size"&&q.endsWith("px")&&(q=`${Math.floor(parseFloat(q.substring(0,q.length-2)))-.1}px`),isInstanceOfElement(k,HTMLIFrameElement)&&V==="display"&&q==="inline"&&(q="block"),V==="d"&&m.getAttribute("d")&&(q=`path(${m.getAttribute("d")})`),M.setProperty(V,q,G.getPropertyPriority(V))})}function cloneInputValue(k,m){isInstanceOfElement(k,HTMLTextAreaElement)&&(m.innerHTML=k.value),isInstanceOfElement(k,HTMLInputElement)&&m.setAttribute("value",k.value)}function cloneSelectValue(k,m){if(isInstanceOfElement(k,HTMLSelectElement)){const M=m,G=Array.from(M.children).find(V=>k.value===V.getAttribute("value"));G&&G.setAttribute("selected","")}}function decorate(k,m){return isInstanceOfElement(m,Element)&&(cloneCSSStyle(k,m),clonePseudoElements(k,m),cloneInputValue(k,m),cloneSelectValue(k,m)),m}async function ensureSVGSymbols(k,m){const M=k.querySelectorAll?k.querySelectorAll("use"):[];if(M.length===0)return k;const G={};for(let q=0;qcloneSingleNode(G,m)).then(G=>cloneChildren(k,G,m)).then(G=>decorate(k,G)).then(G=>ensureSVGSymbols(G,m))}const URL_REGEX=/url\((['"]?)([^'"]+?)\1\)/g,URL_WITH_FORMAT_REGEX=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,FONT_SRC_REGEX=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function toRegex(k){const m=k.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${m})(['"]?\\))`,"g")}function parseURLs(k){const m=[];return k.replace(URL_REGEX,(M,G,V)=>(m.push(V),M)),m.filter(M=>!isDataUrl(M))}async function embed(k,m,M,G,V){try{const q=M?resolveUrl(m,M):m,$=getMimeType(m);let D;if(V){const B=await V(q);D=makeDataUrl(B,$)}else D=await resourceToDataURL(q,$,G);return k.replace(toRegex(m),`$1${D}$3`)}catch{}return k}function filterPreferredFontFormat(k,{preferredFontFormat:m}){return m?k.replace(FONT_SRC_REGEX,M=>{for(;;){const[G,,V]=URL_WITH_FORMAT_REGEX.exec(M)||[];if(!V)return"";if(V===m)return`src: ${G};`}}):k}function shouldEmbed(k){return k.search(URL_REGEX)!==-1}async function embedResources(k,m,M){if(!shouldEmbed(k))return k;const G=filterPreferredFontFormat(k,M);return parseURLs(G).reduce((q,$)=>q.then(D=>embed(D,$,m,M)),Promise.resolve(G))}async function embedProp(k,m,M){var G;const V=(G=m.style)===null||G===void 0?void 0:G.getPropertyValue(k);if(V){const q=await embedResources(V,null,M);return m.style.setProperty(k,q,m.style.getPropertyPriority(k)),!0}return!1}async function embedBackground(k,m){await embedProp("background",k,m)||await embedProp("background-image",k,m),await embedProp("mask",k,m)||await embedProp("mask-image",k,m)}async function embedImageNode(k,m){const M=isInstanceOfElement(k,HTMLImageElement);if(!(M&&!isDataUrl(k.src))&&!(isInstanceOfElement(k,SVGImageElement)&&!isDataUrl(k.href.baseVal)))return;const G=M?k.src:k.href.baseVal,V=await resourceToDataURL(G,getMimeType(G),m);await new Promise((q,$)=>{k.onload=q,k.onerror=$;const D=k;D.decode&&(D.decode=q),D.loading==="lazy"&&(D.loading="eager"),M?(k.srcset="",k.src=V):k.href.baseVal=V})}async function embedChildren(k,m){const G=toArray(k.childNodes).map(V=>embedImages(V,m));await Promise.all(G).then(()=>k)}async function embedImages(k,m){isInstanceOfElement(k,Element)&&(await embedBackground(k,m),await embedImageNode(k,m),await embedChildren(k,m))}function applyStyle(k,m){const{style:M}=k;m.backgroundColor&&(M.backgroundColor=m.backgroundColor),m.width&&(M.width=`${m.width}px`),m.height&&(M.height=`${m.height}px`);const G=m.style;return G!=null&&Object.keys(G).forEach(V=>{M[V]=G[V]}),k}const cssFetchCache={};async function fetchCSS(k){let m=cssFetchCache[k];if(m!=null)return m;const G=await(await fetch(k)).text();return m={url:k,cssText:G},cssFetchCache[k]=m,m}async function embedFonts(k,m){let M=k.cssText;const G=/url\(["']?([^"')]+)["']?\)/g,q=(M.match(/url\([^)]+\)/g)||[]).map(async $=>{let D=$.replace(G,"$1");return D.startsWith("https://")||(D=new URL(D,k.url).href),fetchAsDataURL(D,m.fetchRequestInit,({result:B})=>(M=M.replace($,`url(${B})`),[$,B]))});return Promise.all(q).then(()=>M)}function parseCSS(k){if(k==null)return[];const m=[],M=/(\/\*[\s\S]*?\*\/)/gi;let G=k.replace(M,"");const V=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const B=V.exec(G);if(B===null)break;m.push(B[0])}G=G.replace(V,"");const q=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,$="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",D=new RegExp($,"gi");for(;;){let B=q.exec(G);if(B===null){if(B=D.exec(G),B===null)break;q.lastIndex=D.lastIndex}else D.lastIndex=q.lastIndex;m.push(B[0])}return m}async function getCSSRules(k,m){const M=[],G=[];return k.forEach(V=>{if("cssRules"in V)try{toArray(V.cssRules||[]).forEach((q,$)=>{if(q.type===CSSRule.IMPORT_RULE){let D=$+1;const B=q.href,R=fetchCSS(B).then(U=>embedFonts(U,m)).then(U=>parseCSS(U).forEach(K=>{try{V.insertRule(K,K.startsWith("@import")?D+=1:V.cssRules.length)}catch(z){console.error("Error inserting rule from remote css",{rule:K,error:z})}})).catch(U=>{console.error("Error loading remote css",U.toString())});G.push(R)}})}catch(q){const $=k.find(D=>D.href==null)||document.styleSheets[0];V.href!=null&&G.push(fetchCSS(V.href).then(D=>embedFonts(D,m)).then(D=>parseCSS(D).forEach(B=>{$.insertRule(B,V.cssRules.length)})).catch(D=>{console.error("Error loading remote stylesheet",D)})),console.error("Error inlining remote css file",q)}}),Promise.all(G).then(()=>(k.forEach(V=>{if("cssRules"in V)try{toArray(V.cssRules||[]).forEach(q=>{M.push(q)})}catch(q){console.error(`Error while reading CSS rules from ${V.href}`,q)}}),M))}function getWebFontRules(k){return k.filter(m=>m.type===CSSRule.FONT_FACE_RULE).filter(m=>shouldEmbed(m.style.getPropertyValue("src")))}async function parseWebFontRules(k,m){if(k.ownerDocument==null)throw new Error("Provided element is not within a Document");const M=toArray(k.ownerDocument.styleSheets),G=await getCSSRules(M,m);return getWebFontRules(G)}async function getWebFontCSS(k,m){const M=await parseWebFontRules(k,m);return(await Promise.all(M.map(V=>{const q=V.parentStyleSheet?V.parentStyleSheet.href:null;return embedResources(V.cssText,q,m)}))).join(`
      -`)}async function embedWebFonts(k,m){const M=m.fontEmbedCSS!=null?m.fontEmbedCSS:m.skipFonts?null:await getWebFontCSS(k,m);if(M){const G=document.createElement("style"),V=document.createTextNode(M);G.appendChild(V),k.firstChild?k.insertBefore(G,k.firstChild):k.appendChild(G)}}async function toSvg(k,m={}){const{width:M,height:G}=getImageSize(k,m),V=await cloneNode(k,m,!0);return await embedWebFonts(V,m),await embedImages(V,m),applyStyle(V,m),await nodeToDataURL(V,M,G)}async function toCanvas(k,m={}){const{width:M,height:G}=getImageSize(k,m),V=await toSvg(k,m),q=await createImage(V),$=document.createElement("canvas"),D=$.getContext("2d"),B=m.pixelRatio||getPixelRatio(),R=m.canvasWidth||M,U=m.canvasHeight||G;return $.width=R*B,$.height=U*B,m.skipAutoScale||checkCanvasDimensions($),$.style.width=`${R}`,$.style.height=`${U}`,m.backgroundColor&&(D.fillStyle=m.backgroundColor,D.fillRect(0,0,$.width,$.height)),D.drawImage(q,0,0,$.width,$.height),$}async function toPng(k,m={}){return(await toCanvas(k,m)).toDataURL()}const _hoisted_1$i={class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},_hoisted_2$h={key:0,class:"p-2 w-full h-1/2"},_hoisted_3$g={key:1,class:"w-3/4 p-2"},_sfc_main$h=defineComponent({__name:"FullScreenModal",props:{text:{},close:{type:Function}},setup(k){const m=k,M=ref(),G=ref(m.text),{isMobile:V}=useBasicLayout(),q=new browserExports.Transformer;let $;onMounted(()=>{M.value&&($=Markmap.create(M.value),D())}),watch(G,()=>{D()}),watchEffect(()=>{G.value=m.text});const D=()=>{const{root:U}=q.transform(G.value);$.setData(U),$.fit()},B=()=>{m.close()},R=async()=>{if(M.value){const U=await toPng(M.value);FileSaver_minExports.saveAs(U,"mindmap.png")}};return(U,K)=>(openBlock(),createElementBlock("div",_hoisted_1$i,[createVNode(unref(Close),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:B}),createBaseVNode("div",{class:normalizeClass(["bg-white dark:bg-gray-900 w-full h-full p-4",[unref(V)?"flex-col":"flex"]])},[unref(V)?(openBlock(),createElementBlock("div",_hoisted_2$h,[(openBlock(),createElementBlock("svg",{ref_key:"svgRef",ref:M,class:"box-border w-full h-full border rounded-md dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",draggable:"false"},null,512))])):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["p-2 flex flex-col",[unref(V)?"w-full h-1/2":"w-1/4"]])},[withDirectives(createBaseVNode("textarea",{"onUpdate:modelValue":K[0]||(K[0]=z=>G.value=z),class:"w-full h-full p-2 border rounded-md resize-none text-base dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700"},null,512),[[vModelText,G.value]]),createBaseVNode("div",{class:"mt-2 flex justify-end"},[createBaseVNode("button",{onClick:B,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),createBaseVNode("button",{onClick:R,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 保存 ")])],2),unref(V)?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_3$g,[(openBlock(),createElementBlock("svg",{ref_key:"svgRef",ref:M,class:"box-border w-full h-full border rounded-md dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",draggable:"false"},null,512))]))],2)]))}}),_hoisted_1$h={class:"flex flex-col group max-w-full"},_hoisted_2$g={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},_hoisted_3$f={class:"flex transition-opacity duration-300 text-gray-700 opacity-0 group-hover:opacity-100"},_hoisted_4$d={class:"mt-1 flex"},_hoisted_5$c=createBaseVNode("span",{class:"flex text-sm"},"复制",-1),_hoisted_6$b=createBaseVNode("span",{class:"flex text-sm"},"删除",-1),_sfc_main$g=defineComponent({__name:"index",props:{chatId:{},inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{}},emits:["delete","copy"],setup(k,{expose:m,emit:M}){useBasicLayout();const G=new browserExports.Transformer,V=k,q=M,$=ref(),D=ref(),B=ref(!1),R=ref(V.text);useChatStore();let U=null;onMounted(()=>{z=Markmap.create($.value),K()});const K=()=>{U&&clearTimeout(U),U=setTimeout(()=>{const{root:W}=G.transform(V.text);z.setData(W),z.fit()},200)};let z;const e=new MarkdownIt({linkify:!0,highlight(W,L){if(!!(L&&HighlightJS.getLanguage(L))){const ce=L??"";return ae(HighlightJS.highlight(W,{language:ce}).value,ce)}return ae(HighlightJS.highlightAuto(W).value,"")}});e.renderer.rules.image=function(W,L){const Q=W[L],ce=Q.attrGet("src"),de=Q.attrGet("title"),oe=Q.content;return`${oe}`},e.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),e.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"}),onUpdated(K);function ae(W,L){return`
      ${L}${t$3("chat.copyCode")}
      ${W}
      `}function ie(){q("copy")}function he(){q("delete")}async function J(){R.value=V.text,B.value=!0}function X(){B.value=!1}return m({textRef:D}),(W,L)=>(openBlock(),createElementBlock(Fragment$1,null,[createBaseVNode("div",_hoisted_1$h,[createBaseVNode("div",_hoisted_2$g,[createBaseVNode("div",{class:"flex w-full relative",onClick:J},[(openBlock(),createElementBlock("svg",{ref_key:"svgRef",ref:$,class:"box-border w-[600px] h-[400px] border rounded-md border-gray-200 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-100",style:{"pointer-events":"none"},draggable:"false"},null,512))])]),createBaseVNode("div",_hoisted_3$f,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_4$d,[createBaseVNode("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:ie},[createVNode(unref(Copy),{class:"flex mr-1"}),_hoisted_5$c]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:he},[createVNode(unref(Delete),{class:"mr-1"}),_hoisted_6$b])])])])]),B.value?(openBlock(),createBlock(_sfc_main$h,{key:0,text:R.value,close:X},null,8,["text"])):createCommentVNode("",!0)],64))}}),index_vue_vue_type_style_index_0_lang$2="";function d$1(k,m,M){let G=ref(M==null?void 0:M.value),V=computed(()=>k.value!==void 0);return[computed(()=>V.value?k.value:G.value),function(q){return V.value||(G.value=q),m==null?void 0:m(q)}]}let t$2=Symbol("headlessui.useid"),i$5=0;function I$1(){return inject(t$2,()=>`${++i$5}`)()}function o$2(k){var m;if(k==null||k.value==null)return null;let M=(m=k.value.$el)!=null?m:k.value;return M instanceof Node?M:null}function u$4(k,m,...M){if(k in m){let V=m[k];return typeof V=="function"?V(...M):V}let G=new Error(`Tried to handle "${k}" but there is no handler defined. Only defined handlers are: ${Object.keys(m).map(V=>`"${V}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(G,u$4),G}var i$4=Object.defineProperty,d=(k,m,M)=>m in k?i$4(k,m,{enumerable:!0,configurable:!0,writable:!0,value:M}):k[m]=M,n$2=(k,m,M)=>(d(k,typeof m!="symbol"?m+"":m,M),M);let s$1=class{constructor(){n$2(this,"current",this.detect()),n$2(this,"currentId",0)}set(m){this.current!==m&&(this.currentId=0,this.current=m)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},c$2=new s$1;function i$3(k){if(c$2.isServer)return null;if(k instanceof Node)return k.ownerDocument;if(k!=null&&k.hasOwnProperty("value")){let m=o$2(k);if(m)return m.ownerDocument}return document}let c$1=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(k=>`${k}:not([tabindex='-1'])`).join(",");var N$1=(k=>(k[k.First=1]="First",k[k.Previous=2]="Previous",k[k.Next=4]="Next",k[k.Last=8]="Last",k[k.WrapAround=16]="WrapAround",k[k.NoScroll=32]="NoScroll",k))(N$1||{}),T$1=(k=>(k[k.Error=0]="Error",k[k.Overflow=1]="Overflow",k[k.Success=2]="Success",k[k.Underflow=3]="Underflow",k))(T$1||{}),F=(k=>(k[k.Previous=-1]="Previous",k[k.Next=1]="Next",k))(F||{});function E$1(k=document.body){return k==null?[]:Array.from(k.querySelectorAll(c$1)).sort((m,M)=>Math.sign((m.tabIndex||Number.MAX_SAFE_INTEGER)-(M.tabIndex||Number.MAX_SAFE_INTEGER)))}var h=(k=>(k[k.Strict=0]="Strict",k[k.Loose=1]="Loose",k))(h||{});function w$2(k,m=0){var M;return k===((M=i$3(k))==null?void 0:M.body)?!1:u$4(m,{0(){return k.matches(c$1)},1(){let G=k;for(;G!==null;){if(G.matches(c$1))return!0;G=G.parentElement}return!1}})}function _(k){let m=i$3(k);nextTick(()=>{m&&!w$2(m.activeElement,0)&&S$1(k)})}var y$1=(k=>(k[k.Keyboard=0]="Keyboard",k[k.Mouse=1]="Mouse",k))(y$1||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",k=>{k.metaKey||k.altKey||k.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",k=>{k.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:k.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function S$1(k){k==null||k.focus({preventScroll:!0})}let H=["textarea","input"].join(",");function I(k){var m,M;return(M=(m=k==null?void 0:k.matches)==null?void 0:m.call(k,H))!=null?M:!1}function O$1(k,m=M=>M){return k.slice().sort((M,G)=>{let V=m(M),q=m(G);if(V===null||q===null)return 0;let $=V.compareDocumentPosition(q);return $&Node.DOCUMENT_POSITION_FOLLOWING?-1:$&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function v$1(k,m){return P(E$1(),m,{relativeTo:k})}function P(k,m,{sorted:M=!0,relativeTo:G=null,skipElements:V=[]}={}){var q;let $=(q=Array.isArray(k)?k.length>0?k[0].ownerDocument:document:k==null?void 0:k.ownerDocument)!=null?q:document,D=Array.isArray(k)?M?O$1(k):k:E$1(k);V.length>0&&D.length>1&&(D=D.filter(ae=>!V.includes(ae))),G=G??$.activeElement;let B=(()=>{if(m&5)return 1;if(m&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),R=(()=>{if(m&1)return 0;if(m&2)return Math.max(0,D.indexOf(G))-1;if(m&4)return Math.max(0,D.indexOf(G))+1;if(m&8)return D.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),U=m&32?{preventScroll:!0}:{},K=0,z=D.length,e;do{if(K>=z||K+z<=0)return 0;let ae=R+K;if(m&16)ae=(ae+z)%z;else{if(ae<0)return 3;if(ae>=z)return 1}e=D[ae],e==null||e.focus(U),K+=B}while(e!==$.activeElement);return m&6&&I(e)&&e.select(),2}function t$1(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i$2(){return/Android/gi.test(window.navigator.userAgent)}function n$1(){return t$1()||i$2()}function u$3(k,m,M){c$2.isServer||watchEffect(G=>{document.addEventListener(k,m,M),G(()=>document.removeEventListener(k,m,M))})}function w$1(k,m,M){c$2.isServer||watchEffect(G=>{window.addEventListener(k,m,M),G(()=>window.removeEventListener(k,m,M))})}function w(k,m,M=computed(()=>!0)){function G(q,$){if(!M.value||q.defaultPrevented)return;let D=$(q);if(D===null||!D.getRootNode().contains(D))return;let B=function R(U){return typeof U=="function"?R(U()):Array.isArray(U)||U instanceof Set?U:[U]}(k);for(let R of B){if(R===null)continue;let U=R instanceof HTMLElement?R:o$2(R);if(U!=null&&U.contains(D)||q.composed&&q.composedPath().includes(U))return}return!w$2(D,h.Loose)&&D.tabIndex!==-1&&q.preventDefault(),m(q,D)}let V=ref(null);u$3("pointerdown",q=>{var $,D;M.value&&(V.value=((D=($=q.composedPath)==null?void 0:$.call(q))==null?void 0:D[0])||q.target)},!0),u$3("mousedown",q=>{var $,D;M.value&&(V.value=((D=($=q.composedPath)==null?void 0:$.call(q))==null?void 0:D[0])||q.target)},!0),u$3("click",q=>{n$1()||V.value&&(G(q,()=>V.value),V.value=null)},!0),u$3("touchend",q=>G(q,()=>q.target instanceof HTMLElement?q.target:null),!0),w$1("blur",q=>G(q,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function r$1(k,m){if(k)return k;let M=m??"button";if(typeof M=="string"&&M.toLowerCase()==="button")return"button"}function s(k,m){let M=ref(r$1(k.value.type,k.value.as));return onMounted(()=>{M.value=r$1(k.value.type,k.value.as)}),watchEffect(()=>{var G;M.value||o$2(m)&&o$2(m)instanceof HTMLButtonElement&&!((G=o$2(m))!=null&&G.hasAttribute("type"))&&(M.value="button")}),M}function r(k){return[k.screenX,k.screenY]}function u$2(){let k=ref([-1,-1]);return{wasMoved(m){let M=r(m);return k.value[0]===M[0]&&k.value[1]===M[1]?!1:(k.value=M,!0)},update(m){k.value=r(m)}}}function i$1({container:k,accept:m,walk:M,enabled:G}){watchEffect(()=>{let V=k.value;if(!V||G!==void 0&&!G.value)return;let q=i$3(k);if(!q)return;let $=Object.assign(B=>m(B),{acceptNode:m}),D=q.createTreeWalker(V,NodeFilter.SHOW_ELEMENT,$,!1);for(;D.nextNode();)M(D.currentNode)})}var N=(k=>(k[k.None=0]="None",k[k.RenderStrategy=1]="RenderStrategy",k[k.Static=2]="Static",k))(N||{}),S=(k=>(k[k.Unmount=0]="Unmount",k[k.Hidden=1]="Hidden",k))(S||{});function A$1({visible:k=!0,features:m=0,ourProps:M,theirProps:G,...V}){var q;let $=j$1(G,M),D=Object.assign(V,{props:$});if(k||m&2&&$.static)return y(D);if(m&1){let B=(q=$.unmount)==null||q?0:1;return u$4(B,{0(){return null},1(){return y({...V,props:{...$,hidden:!0,style:{display:"none"}}})}})}return y(D)}function y({props:k,attrs:m,slots:M,slot:G,name:V}){var q,$;let{as:D,...B}=T(k,["unmount","static"]),R=(q=M.default)==null?void 0:q.call(M,G),U={};if(G){let K=!1,z=[];for(let[e,ae]of Object.entries(G))typeof ae=="boolean"&&(K=!0),ae===!0&&z.push(e);K&&(U["data-headlessui-state"]=z.join(" "))}if(D==="template"){if(R=b(R??[]),Object.keys(B).length>0||Object.keys(m).length>0){let[K,...z]=R??[];if(!v(K)||z.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${V} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(B).concat(Object.keys(m)).map(ie=>ie.trim()).filter((ie,he,J)=>J.indexOf(ie)===he).sort((ie,he)=>ie.localeCompare(he)).map(ie=>` - ${ie}`).join(` +`)}));document.body.append(B,R);const U=q?`max-width: ${q}px`:"";let K=0;walkTree(m,(e,ae,ie)=>{var he,J,W;e.children=(he=e.children)==null?void 0:he.map(Q=>_extends({},Q)),M+=1;const X=mountDom(jsx("div",{className:"markmap-foreign",style:U,children:jsx("div",{dangerouslySetInnerHTML:{__html:e.content}})}));B.append(X),e.state=_extends({},e.state,{id:M,el:X.firstChild}),e.state.path=[ie==null||(J=ie.state)==null?void 0:J.path,e.state.id].filter(Boolean).join("."),G(e);const L=((W=e.payload)==null?void 0:W.fold)===2;L?K+=1:(K||$>=0&&e.depth>=$)&&(e.payload=_extends({},e.payload,{fold:1})),ae(),L&&(K-=1)});const z=arrayFrom(B.childNodes).map(e=>e.firstChild);this.viewHooks.transformHtml.call(this,z),z.forEach(e=>{e.parentNode.append(e.cloneNode(!0))}),walkTree(m,(e,ae,ie)=>{var he;const J=e.state.el.getBoundingClientRect();e.content=e.state.el.innerHTML,e.state.size=[Math.ceil(J.width)+1,Math.max(Math.ceil(J.height),V)],e.state.key=[ie==null||(he=ie.state)==null?void 0:he.id,e.state.id].filter(Boolean).join(".")+e.content,ae()}),B.remove(),R.remove()}setOptions(m){this.options=_extends({},Markmap.defaultOptions,m),this.options.zoom?this.svg.call(this.zoom):this.svg.on(".zoom",null),this.svg.on("wheel",this.options.pan?this.handlePan:null)}setData(m,M){m&&(this.state.data=m),M&&this.setOptions(M),this.initializeData(this.state.data),this.updateStyle(),this.renderData()}renderData(m){var M,G;if(!this.state.data)return;const{spacingHorizontal:V,paddingX:q,spacingVertical:$,autoFit:D,color:B}=this.options,R=flextree().children(xe=>{var fe;return!((fe=xe.payload)!=null&&fe.fold)&&xe.children}).nodeSize(xe=>{const[fe,ve]=xe.data.state.size;return[ve,fe+(fe?q*2:0)+V]}).spacing((xe,fe)=>xe.parent===fe.parent?$:$*2),U=R.hierarchy(this.state.data);R(U),adjustSpacing(U,V);const K=U.descendants().reverse(),z=U.links(),e=linkHorizontal(),ae=min$2(K,xe=>xe.x-xe.xSize/2),ie=max$1(K,xe=>xe.x+xe.xSize/2),he=min$2(K,xe=>xe.y),J=max$1(K,xe=>xe.y+xe.ySizeInner);Object.assign(this.state,{minX:ae,maxX:ie,minY:he,maxY:J}),D&&this.fit();const W=m&&K.find(xe=>xe.data===m)||U,X=(M=W.data.state.x0)!=null?M:W.x,L=(G=W.data.state.y0)!=null?G:W.y,Q=this.g.selectAll(childSelector("g")).data(K,xe=>xe.data.state.key),ce=Q.enter().append("g").attr("data-depth",xe=>xe.data.depth).attr("data-path",xe=>xe.data.state.path).attr("transform",xe=>`translate(${L+W.ySizeInner-xe.ySizeInner},${X+W.xSize/2-xe.xSize})`),de=this.transition(Q.exit());de.select("line").attr("x1",xe=>xe.ySizeInner).attr("x2",xe=>xe.ySizeInner),de.select("foreignObject").style("opacity",0),de.attr("transform",xe=>`translate(${W.y+W.ySizeInner-xe.ySizeInner},${W.x+W.xSize/2-xe.xSize})`).remove();const se=Q.merge(ce).attr("class",xe=>{var fe;return["markmap-node",((fe=xe.data.payload)==null?void 0:fe.fold)&&"markmap-fold"].filter(Boolean).join(" ")});this.transition(se).attr("transform",xe=>`translate(${xe.y},${xe.x-xe.xSize/2})`);const oe=se.selectAll(childSelector("line")).data(xe=>[xe],xe=>xe.data.state.key).join(xe=>xe.append("line").attr("x1",fe=>fe.ySizeInner).attr("x2",fe=>fe.ySizeInner),xe=>xe,xe=>xe.remove());this.transition(oe).attr("x1",-1).attr("x2",xe=>xe.ySizeInner+2).attr("y1",xe=>xe.xSize).attr("y2",xe=>xe.xSize).attr("stroke",xe=>B(xe.data)).attr("stroke-width",linkWidth);const me=se.selectAll(childSelector("circle")).data(xe=>xe.data.children?[xe]:[],xe=>xe.data.state.key).join(xe=>xe.append("circle").attr("stroke-width","1.5").attr("cx",fe=>fe.ySizeInner).attr("cy",fe=>fe.xSize).attr("r",0).on("click",(fe,ve)=>this.handleClick(fe,ve)),xe=>xe,xe=>xe.remove());this.transition(me).attr("r",6).attr("cx",xe=>xe.ySizeInner).attr("cy",xe=>xe.xSize).attr("stroke",xe=>B(xe.data)).attr("fill",xe=>{var fe;return(fe=xe.data.payload)!=null&&fe.fold&&xe.data.children?B(xe.data):"#fff"});const Ee=se.selectAll(childSelector("foreignObject")).data(xe=>[xe],xe=>xe.data.state.key).join(xe=>{const fe=xe.append("foreignObject").attr("class","markmap-foreign").attr("x",q).attr("y",0).style("opacity",0).on("mousedown",stopPropagation).on("dblclick",stopPropagation);return fe.append("xhtml:div").select(function(ye){const Ce=ye.data.state.el.cloneNode(!0);return this.replaceWith(Ce),Ce}).attr("xmlns","http://www.w3.org/1999/xhtml"),fe},xe=>xe,xe=>xe.remove()).attr("width",xe=>Math.max(0,xe.ySizeInner-q*2)).attr("height",xe=>xe.xSize);this.transition(Ee).style("opacity",1);const ke=this.g.selectAll(childSelector("path")).data(z,xe=>xe.target.data.state.key).join(xe=>{const fe=[L+W.ySizeInner,X+W.xSize/2];return xe.insert("path","g").attr("class","markmap-link").attr("data-depth",ve=>ve.target.data.depth).attr("data-path",ve=>ve.target.data.state.path).attr("d",e({source:fe,target:fe}))},xe=>xe,xe=>{const fe=[W.y+W.ySizeInner,W.x+W.xSize/2];return this.transition(xe).attr("d",e({source:fe,target:fe})).remove()});this.transition(ke).attr("stroke",xe=>B(xe.target.data)).attr("stroke-width",xe=>linkWidth(xe.target)).attr("d",xe=>{const fe=[xe.source.y+xe.source.ySizeInner,xe.source.x+xe.source.xSize/2],ve=[xe.target.y,xe.target.x+xe.target.xSize/2];return e({source:fe,target:ve})}),K.forEach(xe=>{xe.data.state.x0=xe.x,xe.data.state.y0=xe.y})}transition(m){const{duration:M}=this.options;return m.transition().duration(M)}async fit(){const m=this.svg.node(),{width:M,height:G}=m.getBoundingClientRect(),{fitRatio:V}=this.options,{minX:q,maxX:$,minY:D,maxY:B}=this.state,R=B-D,U=$-q,K=Math.min(M/R*V,G/U*V,2),z=identity.translate((M-R*K)/2-D*K,(G-U*K)/2-q*K).scale(K);return this.transition(this.svg).call(this.zoom.transform,z).end().catch(noop$1)}async ensureView(m,M){let G,V;if(this.g.selectAll(childSelector("g")).each(function(W){W.data===m&&(G=this,V=W)}),!G||!V)return;const q=this.svg.node(),$=q.getBoundingClientRect(),D=transform(q),[B,R]=[V.y,V.y+V.ySizeInner+2].map(J=>J*D.k+D.x),[U,K]=[V.x-V.xSize/2,V.x+V.xSize/2].map(J=>J*D.k+D.y),z=_extends({left:0,right:0,top:0,bottom:0},M),e=[z.left-B,$.width-z.right-R],ae=[z.top-U,$.height-z.bottom-K],ie=e[0]*e[1]>0?minBy(e,Math.abs)/D.k:0,he=ae[0]*ae[1]>0?minBy(ae,Math.abs)/D.k:0;if(ie||he){const J=D.translate(ie,he);return this.transition(this.svg).call(this.zoom.transform,J).end().catch(noop$1)}}async rescale(m){const M=this.svg.node(),{width:G,height:V}=M.getBoundingClientRect(),q=G/2,$=V/2,D=transform(M),B=D.translate((q-D.x)*(1-m)/D.k,($-D.y)*(1-m)/D.k).scale(m);return this.transition(this.svg).call(this.zoom.transform,B).end().catch(noop$1)}destroy(){this.svg.on(".zoom",null),this.svg.html(null),this.revokers.forEach(m=>{m()})}static create(m,M,G){const V=new Markmap(m,M);return G&&(V.setData(G),V.fit()),V}}Markmap.defaultOptions={autoFit:!1,color:k=>defaultColorFn(`${k.state.path}`),duration:500,embedGlobalCSS:!0,fitRatio:.95,maxWidth:0,nodeMinHeight:16,paddingX:8,scrollForPan:isMacintosh,spacingHorizontal:80,spacingVertical:5,initialExpandLevel:-1,zoom:!0,pan:!0};var FileSaver_min={exports:{}};(function(k,m){(function(M,G){G()})(commonjsGlobal$1,function(){function M(R,U){return typeof U>"u"?U={autoBom:!1}:typeof U!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),U={autoBom:!U}),U.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(R.type)?new Blob(["\uFEFF",R],{type:R.type}):R}function G(R,U,K){var z=new XMLHttpRequest;z.open("GET",R),z.responseType="blob",z.onload=function(){B(z.response,U,K)},z.onerror=function(){console.error("could not download file")},z.send()}function V(R){var U=new XMLHttpRequest;U.open("HEAD",R,!1);try{U.send()}catch{}return 200<=U.status&&299>=U.status}function q(R){try{R.dispatchEvent(new MouseEvent("click"))}catch{var U=document.createEvent("MouseEvents");U.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),R.dispatchEvent(U)}}var $=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof commonjsGlobal$1=="object"&&commonjsGlobal$1.global===commonjsGlobal$1?commonjsGlobal$1:void 0,D=$.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),B=$.saveAs||(typeof window!="object"||window!==$?function(){}:"download"in HTMLAnchorElement.prototype&&!D?function(R,U,K){var z=$.URL||$.webkitURL,e=document.createElement("a");U=U||R.name||"download",e.download=U,e.rel="noopener",typeof R=="string"?(e.href=R,e.origin===location.origin?q(e):V(e.href)?G(R,U,K):q(e,e.target="_blank")):(e.href=z.createObjectURL(R),setTimeout(function(){z.revokeObjectURL(e.href)},4e4),setTimeout(function(){q(e)},0))}:"msSaveOrOpenBlob"in navigator?function(R,U,K){if(U=U||R.name||"download",typeof R!="string")navigator.msSaveOrOpenBlob(M(R,K),U);else if(V(R))G(R,U,K);else{var z=document.createElement("a");z.href=R,z.target="_blank",setTimeout(function(){q(z)})}}:function(R,U,K,z){if(z=z||open("","_blank"),z&&(z.document.title=z.document.body.innerText="downloading..."),typeof R=="string")return G(R,U,K);var e=R.type==="application/octet-stream",ae=/constructor/i.test($.HTMLElement)||$.safari,ie=/CriOS\/[\d]+/.test(navigator.userAgent);if((ie||e&&ae||D)&&typeof FileReader<"u"){var he=new FileReader;he.onloadend=function(){var X=he.result;X=ie?X:X.replace(/^data:[^;]*;/,"data:attachment/file;"),z?z.location.href=X:location=X,z=null},he.readAsDataURL(R)}else{var J=$.URL||$.webkitURL,W=J.createObjectURL(R);z?z.location=W:location.href=W,z=null,setTimeout(function(){J.revokeObjectURL(W)},4e4)}});$.saveAs=B.saveAs=B,k.exports=B})})(FileSaver_min);var FileSaver_minExports=FileSaver_min.exports;function resolveUrl(k,m){if(k.match(/^[a-z]+:\/\//i))return k;if(k.match(/^\/\//))return window.location.protocol+k;if(k.match(/^[a-z]+:/i))return k;const M=document.implementation.createHTMLDocument(),G=M.createElement("base"),V=M.createElement("a");return M.head.appendChild(G),M.body.appendChild(V),m&&(G.href=m),V.href=k,V.href}const uuid=(()=>{let k=0;const m=()=>`0000${(Math.random()*36**4<<0).toString(36)}`.slice(-4);return()=>(k+=1,`u${m()}${k}`)})();function toArray(k){const m=[];for(let M=0,G=k.length;McanvasDimensionLimit||k.height>canvasDimensionLimit)&&(k.width>canvasDimensionLimit&&k.height>canvasDimensionLimit?k.width>k.height?(k.height*=canvasDimensionLimit/k.width,k.width=canvasDimensionLimit):(k.width*=canvasDimensionLimit/k.height,k.height=canvasDimensionLimit):k.width>canvasDimensionLimit?(k.height*=canvasDimensionLimit/k.width,k.width=canvasDimensionLimit):(k.width*=canvasDimensionLimit/k.height,k.height=canvasDimensionLimit))}function createImage(k){return new Promise((m,M)=>{const G=new Image;G.decode=()=>m(G),G.onload=()=>m(G),G.onerror=M,G.crossOrigin="anonymous",G.decoding="async",G.src=k})}async function svgToDataURL(k){return Promise.resolve().then(()=>new XMLSerializer().serializeToString(k)).then(encodeURIComponent).then(m=>`data:image/svg+xml;charset=utf-8,${m}`)}async function nodeToDataURL(k,m,M){const G="http://www.w3.org/2000/svg",V=document.createElementNS(G,"svg"),q=document.createElementNS(G,"foreignObject");return V.setAttribute("width",`${m}`),V.setAttribute("height",`${M}`),V.setAttribute("viewBox",`0 0 ${m} ${M}`),q.setAttribute("width","100%"),q.setAttribute("height","100%"),q.setAttribute("x","0"),q.setAttribute("y","0"),q.setAttribute("externalResourcesRequired","true"),V.appendChild(q),q.appendChild(k),svgToDataURL(V)}const isInstanceOfElement=(k,m)=>{if(k instanceof m)return!0;const M=Object.getPrototypeOf(k);return M===null?!1:M.constructor.name===m.name||isInstanceOfElement(M,m)};function formatCSSText(k){const m=k.getPropertyValue("content");return`${k.cssText} content: '${m.replace(/'|"/g,"")}';`}function formatCSSProperties(k){return toArray(k).map(m=>{const M=k.getPropertyValue(m),G=k.getPropertyPriority(m);return`${m}: ${M}${G?" !important":""};`}).join(" ")}function getPseudoElementStyle(k,m,M){const G=`.${k}:${m}`,V=M.cssText?formatCSSText(M):formatCSSProperties(M);return document.createTextNode(`${G}{${V}}`)}function clonePseudoElement(k,m,M){const G=window.getComputedStyle(k,M),V=G.getPropertyValue("content");if(V===""||V==="none")return;const q=uuid();try{m.className=`${m.className} ${q}`}catch{return}const $=document.createElement("style");$.appendChild(getPseudoElementStyle(q,M,G)),m.appendChild($)}function clonePseudoElements(k,m){clonePseudoElement(k,m,":before"),clonePseudoElement(k,m,":after")}const WOFF="application/font-woff",JPEG="image/jpeg",mimes={woff:WOFF,woff2:WOFF,ttf:"application/font-truetype",eot:"application/vnd.ms-fontobject",png:"image/png",jpg:JPEG,jpeg:JPEG,gif:"image/gif",tiff:"image/tiff",svg:"image/svg+xml",webp:"image/webp"};function getExtension(k){const m=/\.([^./]*?)$/g.exec(k);return m?m[1]:""}function getMimeType(k){const m=getExtension(k).toLowerCase();return mimes[m]||""}function getContentFromDataUrl(k){return k.split(/,/)[1]}function isDataUrl(k){return k.search(/^(data:)/)!==-1}function makeDataUrl(k,m){return`data:${m};base64,${k}`}async function fetchAsDataURL(k,m,M){const G=await fetch(k,m);if(G.status===404)throw new Error(`Resource "${G.url}" not found`);const V=await G.blob();return new Promise((q,$)=>{const D=new FileReader;D.onerror=$,D.onloadend=()=>{try{q(M({res:G,result:D.result}))}catch(B){$(B)}},D.readAsDataURL(V)})}const cache={};function getCacheKey(k,m,M){let G=k.replace(/\?.*/,"");return M&&(G=k),/ttf|otf|eot|woff2?/i.test(G)&&(G=G.replace(/.*\//,"")),m?`[${m}]${G}`:G}async function resourceToDataURL(k,m,M){const G=getCacheKey(k,m,M.includeQueryParams);if(cache[G]!=null)return cache[G];M.cacheBust&&(k+=(/\?/.test(k)?"&":"?")+new Date().getTime());let V;try{const q=await fetchAsDataURL(k,M.fetchRequestInit,({res:$,result:D})=>(m||(m=$.headers.get("Content-Type")||""),getContentFromDataUrl(D)));V=makeDataUrl(q,m)}catch(q){V=M.imagePlaceholder||"";let $=`Failed to fetch resource: ${k}`;q&&($=typeof q=="string"?q:q.message),$&&console.warn($)}return cache[G]=V,V}async function cloneCanvasElement(k){const m=k.toDataURL();return m==="data:,"?k.cloneNode(!1):createImage(m)}async function cloneVideoElement(k,m){if(k.currentSrc){const q=document.createElement("canvas"),$=q.getContext("2d");q.width=k.clientWidth,q.height=k.clientHeight,$==null||$.drawImage(k,0,0,q.width,q.height);const D=q.toDataURL();return createImage(D)}const M=k.poster,G=getMimeType(M),V=await resourceToDataURL(M,G,m);return createImage(V)}async function cloneIFrameElement(k){var m;try{if(!((m=k==null?void 0:k.contentDocument)===null||m===void 0)&&m.body)return await cloneNode(k.contentDocument.body,{},!0)}catch{}return k.cloneNode(!1)}async function cloneSingleNode(k,m){return isInstanceOfElement(k,HTMLCanvasElement)?cloneCanvasElement(k):isInstanceOfElement(k,HTMLVideoElement)?cloneVideoElement(k,m):isInstanceOfElement(k,HTMLIFrameElement)?cloneIFrameElement(k):k.cloneNode(!1)}const isSlotElement=k=>k.tagName!=null&&k.tagName.toUpperCase()==="SLOT";async function cloneChildren(k,m,M){var G,V;let q=[];return isSlotElement(k)&&k.assignedNodes?q=toArray(k.assignedNodes()):isInstanceOfElement(k,HTMLIFrameElement)&&(!((G=k.contentDocument)===null||G===void 0)&&G.body)?q=toArray(k.contentDocument.body.childNodes):q=toArray(((V=k.shadowRoot)!==null&&V!==void 0?V:k).childNodes),q.length===0||isInstanceOfElement(k,HTMLVideoElement)||await q.reduce(($,D)=>$.then(()=>cloneNode(D,M)).then(B=>{B&&m.appendChild(B)}),Promise.resolve()),m}function cloneCSSStyle(k,m){const M=m.style;if(!M)return;const G=window.getComputedStyle(k);G.cssText?(M.cssText=G.cssText,M.transformOrigin=G.transformOrigin):toArray(G).forEach(V=>{let q=G.getPropertyValue(V);V==="font-size"&&q.endsWith("px")&&(q=`${Math.floor(parseFloat(q.substring(0,q.length-2)))-.1}px`),isInstanceOfElement(k,HTMLIFrameElement)&&V==="display"&&q==="inline"&&(q="block"),V==="d"&&m.getAttribute("d")&&(q=`path(${m.getAttribute("d")})`),M.setProperty(V,q,G.getPropertyPriority(V))})}function cloneInputValue(k,m){isInstanceOfElement(k,HTMLTextAreaElement)&&(m.innerHTML=k.value),isInstanceOfElement(k,HTMLInputElement)&&m.setAttribute("value",k.value)}function cloneSelectValue(k,m){if(isInstanceOfElement(k,HTMLSelectElement)){const M=m,G=Array.from(M.children).find(V=>k.value===V.getAttribute("value"));G&&G.setAttribute("selected","")}}function decorate(k,m){return isInstanceOfElement(m,Element)&&(cloneCSSStyle(k,m),clonePseudoElements(k,m),cloneInputValue(k,m),cloneSelectValue(k,m)),m}async function ensureSVGSymbols(k,m){const M=k.querySelectorAll?k.querySelectorAll("use"):[];if(M.length===0)return k;const G={};for(let q=0;qcloneSingleNode(G,m)).then(G=>cloneChildren(k,G,m)).then(G=>decorate(k,G)).then(G=>ensureSVGSymbols(G,m))}const URL_REGEX=/url\((['"]?)([^'"]+?)\1\)/g,URL_WITH_FORMAT_REGEX=/url\([^)]+\)\s*format\((["']?)([^"']+)\1\)/g,FONT_SRC_REGEX=/src:\s*(?:url\([^)]+\)\s*format\([^)]+\)[,;]\s*)+/g;function toRegex(k){const m=k.replace(/([.*+?^${}()|\[\]\/\\])/g,"\\$1");return new RegExp(`(url\\(['"]?)(${m})(['"]?\\))`,"g")}function parseURLs(k){const m=[];return k.replace(URL_REGEX,(M,G,V)=>(m.push(V),M)),m.filter(M=>!isDataUrl(M))}async function embed(k,m,M,G,V){try{const q=M?resolveUrl(m,M):m,$=getMimeType(m);let D;if(V){const B=await V(q);D=makeDataUrl(B,$)}else D=await resourceToDataURL(q,$,G);return k.replace(toRegex(m),`$1${D}$3`)}catch{}return k}function filterPreferredFontFormat(k,{preferredFontFormat:m}){return m?k.replace(FONT_SRC_REGEX,M=>{for(;;){const[G,,V]=URL_WITH_FORMAT_REGEX.exec(M)||[];if(!V)return"";if(V===m)return`src: ${G};`}}):k}function shouldEmbed(k){return k.search(URL_REGEX)!==-1}async function embedResources(k,m,M){if(!shouldEmbed(k))return k;const G=filterPreferredFontFormat(k,M);return parseURLs(G).reduce((q,$)=>q.then(D=>embed(D,$,m,M)),Promise.resolve(G))}async function embedProp(k,m,M){var G;const V=(G=m.style)===null||G===void 0?void 0:G.getPropertyValue(k);if(V){const q=await embedResources(V,null,M);return m.style.setProperty(k,q,m.style.getPropertyPriority(k)),!0}return!1}async function embedBackground(k,m){await embedProp("background",k,m)||await embedProp("background-image",k,m),await embedProp("mask",k,m)||await embedProp("mask-image",k,m)}async function embedImageNode(k,m){const M=isInstanceOfElement(k,HTMLImageElement);if(!(M&&!isDataUrl(k.src))&&!(isInstanceOfElement(k,SVGImageElement)&&!isDataUrl(k.href.baseVal)))return;const G=M?k.src:k.href.baseVal,V=await resourceToDataURL(G,getMimeType(G),m);await new Promise((q,$)=>{k.onload=q,k.onerror=$;const D=k;D.decode&&(D.decode=q),D.loading==="lazy"&&(D.loading="eager"),M?(k.srcset="",k.src=V):k.href.baseVal=V})}async function embedChildren(k,m){const G=toArray(k.childNodes).map(V=>embedImages(V,m));await Promise.all(G).then(()=>k)}async function embedImages(k,m){isInstanceOfElement(k,Element)&&(await embedBackground(k,m),await embedImageNode(k,m),await embedChildren(k,m))}function applyStyle(k,m){const{style:M}=k;m.backgroundColor&&(M.backgroundColor=m.backgroundColor),m.width&&(M.width=`${m.width}px`),m.height&&(M.height=`${m.height}px`);const G=m.style;return G!=null&&Object.keys(G).forEach(V=>{M[V]=G[V]}),k}const cssFetchCache={};async function fetchCSS(k){let m=cssFetchCache[k];if(m!=null)return m;const G=await(await fetch(k)).text();return m={url:k,cssText:G},cssFetchCache[k]=m,m}async function embedFonts(k,m){let M=k.cssText;const G=/url\(["']?([^"')]+)["']?\)/g,q=(M.match(/url\([^)]+\)/g)||[]).map(async $=>{let D=$.replace(G,"$1");return D.startsWith("https://")||(D=new URL(D,k.url).href),fetchAsDataURL(D,m.fetchRequestInit,({result:B})=>(M=M.replace($,`url(${B})`),[$,B]))});return Promise.all(q).then(()=>M)}function parseCSS(k){if(k==null)return[];const m=[],M=/(\/\*[\s\S]*?\*\/)/gi;let G=k.replace(M,"");const V=new RegExp("((@.*?keyframes [\\s\\S]*?){([\\s\\S]*?}\\s*?)})","gi");for(;;){const B=V.exec(G);if(B===null)break;m.push(B[0])}G=G.replace(V,"");const q=/@import[\s\S]*?url\([^)]*\)[\s\S]*?;/gi,$="((\\s*?(?:\\/\\*[\\s\\S]*?\\*\\/)?\\s*?@media[\\s\\S]*?){([\\s\\S]*?)}\\s*?})|(([\\s\\S]*?){([\\s\\S]*?)})",D=new RegExp($,"gi");for(;;){let B=q.exec(G);if(B===null){if(B=D.exec(G),B===null)break;q.lastIndex=D.lastIndex}else D.lastIndex=q.lastIndex;m.push(B[0])}return m}async function getCSSRules(k,m){const M=[],G=[];return k.forEach(V=>{if("cssRules"in V)try{toArray(V.cssRules||[]).forEach((q,$)=>{if(q.type===CSSRule.IMPORT_RULE){let D=$+1;const B=q.href,R=fetchCSS(B).then(U=>embedFonts(U,m)).then(U=>parseCSS(U).forEach(K=>{try{V.insertRule(K,K.startsWith("@import")?D+=1:V.cssRules.length)}catch(z){console.error("Error inserting rule from remote css",{rule:K,error:z})}})).catch(U=>{console.error("Error loading remote css",U.toString())});G.push(R)}})}catch(q){const $=k.find(D=>D.href==null)||document.styleSheets[0];V.href!=null&&G.push(fetchCSS(V.href).then(D=>embedFonts(D,m)).then(D=>parseCSS(D).forEach(B=>{$.insertRule(B,V.cssRules.length)})).catch(D=>{console.error("Error loading remote stylesheet",D)})),console.error("Error inlining remote css file",q)}}),Promise.all(G).then(()=>(k.forEach(V=>{if("cssRules"in V)try{toArray(V.cssRules||[]).forEach(q=>{M.push(q)})}catch(q){console.error(`Error while reading CSS rules from ${V.href}`,q)}}),M))}function getWebFontRules(k){return k.filter(m=>m.type===CSSRule.FONT_FACE_RULE).filter(m=>shouldEmbed(m.style.getPropertyValue("src")))}async function parseWebFontRules(k,m){if(k.ownerDocument==null)throw new Error("Provided element is not within a Document");const M=toArray(k.ownerDocument.styleSheets),G=await getCSSRules(M,m);return getWebFontRules(G)}async function getWebFontCSS(k,m){const M=await parseWebFontRules(k,m);return(await Promise.all(M.map(V=>{const q=V.parentStyleSheet?V.parentStyleSheet.href:null;return embedResources(V.cssText,q,m)}))).join(` +`)}async function embedWebFonts(k,m){const M=m.fontEmbedCSS!=null?m.fontEmbedCSS:m.skipFonts?null:await getWebFontCSS(k,m);if(M){const G=document.createElement("style"),V=document.createTextNode(M);G.appendChild(V),k.firstChild?k.insertBefore(G,k.firstChild):k.appendChild(G)}}async function toSvg(k,m={}){const{width:M,height:G}=getImageSize(k,m),V=await cloneNode(k,m,!0);return await embedWebFonts(V,m),await embedImages(V,m),applyStyle(V,m),await nodeToDataURL(V,M,G)}async function toCanvas(k,m={}){const{width:M,height:G}=getImageSize(k,m),V=await toSvg(k,m),q=await createImage(V),$=document.createElement("canvas"),D=$.getContext("2d"),B=m.pixelRatio||getPixelRatio(),R=m.canvasWidth||M,U=m.canvasHeight||G;return $.width=R*B,$.height=U*B,m.skipAutoScale||checkCanvasDimensions($),$.style.width=`${R}`,$.style.height=`${U}`,m.backgroundColor&&(D.fillStyle=m.backgroundColor,D.fillRect(0,0,$.width,$.height)),D.drawImage(q,0,0,$.width,$.height),$}async function toPng(k,m={}){return(await toCanvas(k,m)).toDataURL()}const _hoisted_1$i={class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},_hoisted_2$h={key:0,class:"p-2 w-full h-1/2"},_hoisted_3$g={key:1,class:"w-3/4 p-2"},_sfc_main$h=defineComponent({__name:"FullScreenModal",props:{text:{},close:{type:Function}},setup(k){const m=k,M=ref(),G=ref(m.text),{isMobile:V}=useBasicLayout(),q=new browserExports.Transformer;let $;onMounted(()=>{M.value&&($=Markmap.create(M.value),D())}),watch(G,()=>{D()}),watchEffect(()=>{G.value=m.text});const D=()=>{const{root:U}=q.transform(G.value);$.setData(U),$.fit()},B=()=>{m.close()},R=async()=>{if(M.value){const U=await toPng(M.value);FileSaver_minExports.saveAs(U,"mindmap.png")}};return(U,K)=>(openBlock(),createElementBlock("div",_hoisted_1$i,[createVNode(unref(Close),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:B}),createBaseVNode("div",{class:normalizeClass(["bg-white dark:bg-gray-900 w-full h-full p-4",[unref(V)?"flex-col":"flex"]])},[unref(V)?(openBlock(),createElementBlock("div",_hoisted_2$h,[(openBlock(),createElementBlock("svg",{ref_key:"svgRef",ref:M,class:"box-border w-full h-full border rounded-md dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",draggable:"false"},null,512))])):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["p-2 flex flex-col",[unref(V)?"w-full h-1/2":"w-1/4"]])},[withDirectives(createBaseVNode("textarea",{"onUpdate:modelValue":K[0]||(K[0]=z=>G.value=z),class:"w-full h-full p-2 border rounded-md resize-none text-base dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700"},null,512),[[vModelText,G.value]]),createBaseVNode("div",{class:"mt-2 flex justify-end"},[createBaseVNode("button",{onClick:B,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),createBaseVNode("button",{onClick:R,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 保存 ")])],2),unref(V)?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_3$g,[(openBlock(),createElementBlock("svg",{ref_key:"svgRef",ref:M,class:"box-border w-full h-full border rounded-md dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700",draggable:"false"},null,512))]))],2)]))}}),_hoisted_1$h={class:"flex flex-col group max-w-full"},_hoisted_2$g={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},_hoisted_3$f={class:"flex transition-opacity duration-300 text-gray-700 opacity-0 group-hover:opacity-100"},_hoisted_4$d={class:"mt-1 flex"},_hoisted_5$c=createBaseVNode("span",{class:"flex text-sm"},"复制",-1),_hoisted_6$b=createBaseVNode("span",{class:"flex text-sm"},"删除",-1),_sfc_main$g=defineComponent({__name:"index",props:{chatId:{},inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{}},emits:["delete","copy"],setup(k,{expose:m,emit:M}){useBasicLayout();const G=new browserExports.Transformer,V=k,q=M,$=ref(),D=ref(),B=ref(!1),R=ref(V.text);useChatStore();let U=null;onMounted(()=>{z=Markmap.create($.value),K()});const K=()=>{U&&clearTimeout(U),U=setTimeout(()=>{const{root:X}=G.transform(V.text);z.setData(X),z.fit()},200)};let z;const e=new MarkdownIt({linkify:!0,highlight(X,L){if(!!(L&&HighlightJS.getLanguage(L))){const ce=L??"";return ae(HighlightJS.highlight(X,{language:ce}).value,ce)}return ae(HighlightJS.highlightAuto(X).value,"")}});e.renderer.rules.image=function(X,L){const Q=X[L],ce=Q.attrGet("src"),de=Q.attrGet("title"),se=Q.content;return`${se}`},e.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),e.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"}),onUpdated(K);function ae(X,L){return`
      ${L}${t$3("chat.copyCode")}
      ${X}
      `}function ie(){q("copy")}function he(){q("delete")}async function J(){R.value=V.text,B.value=!0}function W(){B.value=!1}return m({textRef:D}),(X,L)=>(openBlock(),createElementBlock(Fragment$1,null,[createBaseVNode("div",_hoisted_1$h,[createBaseVNode("div",_hoisted_2$g,[createBaseVNode("div",{class:"flex w-full relative",onClick:J},[(openBlock(),createElementBlock("svg",{ref_key:"svgRef",ref:$,class:"box-border w-[600px] h-[400px] border rounded-md border-gray-200 dark:border-gray-700 dark:bg-gray-800 dark:text-gray-100",style:{"pointer-events":"none"},draggable:"false"},null,512))])]),createBaseVNode("div",_hoisted_3$f,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_4$d,[createBaseVNode("button",{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:ie},[createVNode(unref(Copy),{class:"flex mr-1"}),_hoisted_5$c]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",onClick:he},[createVNode(unref(Delete),{class:"mr-1"}),_hoisted_6$b])])])])]),B.value?(openBlock(),createBlock(_sfc_main$h,{key:0,text:R.value,close:W},null,8,["text"])):createCommentVNode("",!0)],64))}}),index_vue_vue_type_style_index_0_lang$2="";function d$1(k,m,M){let G=ref(M==null?void 0:M.value),V=computed(()=>k.value!==void 0);return[computed(()=>V.value?k.value:G.value),function(q){return V.value||(G.value=q),m==null?void 0:m(q)}]}let t$2=Symbol("headlessui.useid"),i$5=0;function I$1(){return inject(t$2,()=>`${++i$5}`)()}function o$2(k){var m;if(k==null||k.value==null)return null;let M=(m=k.value.$el)!=null?m:k.value;return M instanceof Node?M:null}function u$4(k,m,...M){if(k in m){let V=m[k];return typeof V=="function"?V(...M):V}let G=new Error(`Tried to handle "${k}" but there is no handler defined. Only defined handlers are: ${Object.keys(m).map(V=>`"${V}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(G,u$4),G}var i$4=Object.defineProperty,d=(k,m,M)=>m in k?i$4(k,m,{enumerable:!0,configurable:!0,writable:!0,value:M}):k[m]=M,n$2=(k,m,M)=>(d(k,typeof m!="symbol"?m+"":m,M),M);let s$1=class{constructor(){n$2(this,"current",this.detect()),n$2(this,"currentId",0)}set(m){this.current!==m&&(this.currentId=0,this.current=m)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return this.current==="server"}get isClient(){return this.current==="client"}detect(){return typeof window>"u"||typeof document>"u"?"server":"client"}},c$2=new s$1;function i$3(k){if(c$2.isServer)return null;if(k instanceof Node)return k.ownerDocument;if(k!=null&&k.hasOwnProperty("value")){let m=o$2(k);if(m)return m.ownerDocument}return document}let c$1=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(k=>`${k}:not([tabindex='-1'])`).join(",");var N$1=(k=>(k[k.First=1]="First",k[k.Previous=2]="Previous",k[k.Next=4]="Next",k[k.Last=8]="Last",k[k.WrapAround=16]="WrapAround",k[k.NoScroll=32]="NoScroll",k))(N$1||{}),T$1=(k=>(k[k.Error=0]="Error",k[k.Overflow=1]="Overflow",k[k.Success=2]="Success",k[k.Underflow=3]="Underflow",k))(T$1||{}),F=(k=>(k[k.Previous=-1]="Previous",k[k.Next=1]="Next",k))(F||{});function E$1(k=document.body){return k==null?[]:Array.from(k.querySelectorAll(c$1)).sort((m,M)=>Math.sign((m.tabIndex||Number.MAX_SAFE_INTEGER)-(M.tabIndex||Number.MAX_SAFE_INTEGER)))}var h=(k=>(k[k.Strict=0]="Strict",k[k.Loose=1]="Loose",k))(h||{});function w$2(k,m=0){var M;return k===((M=i$3(k))==null?void 0:M.body)?!1:u$4(m,{0(){return k.matches(c$1)},1(){let G=k;for(;G!==null;){if(G.matches(c$1))return!0;G=G.parentElement}return!1}})}function _(k){let m=i$3(k);nextTick(()=>{m&&!w$2(m.activeElement,0)&&S$1(k)})}var y$1=(k=>(k[k.Keyboard=0]="Keyboard",k[k.Mouse=1]="Mouse",k))(y$1||{});typeof window<"u"&&typeof document<"u"&&(document.addEventListener("keydown",k=>{k.metaKey||k.altKey||k.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",k=>{k.detail===1?delete document.documentElement.dataset.headlessuiFocusVisible:k.detail===0&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));function S$1(k){k==null||k.focus({preventScroll:!0})}let H=["textarea","input"].join(",");function I(k){var m,M;return(M=(m=k==null?void 0:k.matches)==null?void 0:m.call(k,H))!=null?M:!1}function O$1(k,m=M=>M){return k.slice().sort((M,G)=>{let V=m(M),q=m(G);if(V===null||q===null)return 0;let $=V.compareDocumentPosition(q);return $&Node.DOCUMENT_POSITION_FOLLOWING?-1:$&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function v$1(k,m){return P(E$1(),m,{relativeTo:k})}function P(k,m,{sorted:M=!0,relativeTo:G=null,skipElements:V=[]}={}){var q;let $=(q=Array.isArray(k)?k.length>0?k[0].ownerDocument:document:k==null?void 0:k.ownerDocument)!=null?q:document,D=Array.isArray(k)?M?O$1(k):k:E$1(k);V.length>0&&D.length>1&&(D=D.filter(ae=>!V.includes(ae))),G=G??$.activeElement;let B=(()=>{if(m&5)return 1;if(m&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),R=(()=>{if(m&1)return 0;if(m&2)return Math.max(0,D.indexOf(G))-1;if(m&4)return Math.max(0,D.indexOf(G))+1;if(m&8)return D.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),U=m&32?{preventScroll:!0}:{},K=0,z=D.length,e;do{if(K>=z||K+z<=0)return 0;let ae=R+K;if(m&16)ae=(ae+z)%z;else{if(ae<0)return 3;if(ae>=z)return 1}e=D[ae],e==null||e.focus(U),K+=B}while(e!==$.activeElement);return m&6&&I(e)&&e.select(),2}function t$1(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function i$2(){return/Android/gi.test(window.navigator.userAgent)}function n$1(){return t$1()||i$2()}function u$3(k,m,M){c$2.isServer||watchEffect(G=>{document.addEventListener(k,m,M),G(()=>document.removeEventListener(k,m,M))})}function w$1(k,m,M){c$2.isServer||watchEffect(G=>{window.addEventListener(k,m,M),G(()=>window.removeEventListener(k,m,M))})}function w(k,m,M=computed(()=>!0)){function G(q,$){if(!M.value||q.defaultPrevented)return;let D=$(q);if(D===null||!D.getRootNode().contains(D))return;let B=function R(U){return typeof U=="function"?R(U()):Array.isArray(U)||U instanceof Set?U:[U]}(k);for(let R of B){if(R===null)continue;let U=R instanceof HTMLElement?R:o$2(R);if(U!=null&&U.contains(D)||q.composed&&q.composedPath().includes(U))return}return!w$2(D,h.Loose)&&D.tabIndex!==-1&&q.preventDefault(),m(q,D)}let V=ref(null);u$3("pointerdown",q=>{var $,D;M.value&&(V.value=((D=($=q.composedPath)==null?void 0:$.call(q))==null?void 0:D[0])||q.target)},!0),u$3("mousedown",q=>{var $,D;M.value&&(V.value=((D=($=q.composedPath)==null?void 0:$.call(q))==null?void 0:D[0])||q.target)},!0),u$3("click",q=>{n$1()||V.value&&(G(q,()=>V.value),V.value=null)},!0),u$3("touchend",q=>G(q,()=>q.target instanceof HTMLElement?q.target:null),!0),w$1("blur",q=>G(q,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}function r$1(k,m){if(k)return k;let M=m??"button";if(typeof M=="string"&&M.toLowerCase()==="button")return"button"}function s(k,m){let M=ref(r$1(k.value.type,k.value.as));return onMounted(()=>{M.value=r$1(k.value.type,k.value.as)}),watchEffect(()=>{var G;M.value||o$2(m)&&o$2(m)instanceof HTMLButtonElement&&!((G=o$2(m))!=null&&G.hasAttribute("type"))&&(M.value="button")}),M}function r(k){return[k.screenX,k.screenY]}function u$2(){let k=ref([-1,-1]);return{wasMoved(m){let M=r(m);return k.value[0]===M[0]&&k.value[1]===M[1]?!1:(k.value=M,!0)},update(m){k.value=r(m)}}}function i$1({container:k,accept:m,walk:M,enabled:G}){watchEffect(()=>{let V=k.value;if(!V||G!==void 0&&!G.value)return;let q=i$3(k);if(!q)return;let $=Object.assign(B=>m(B),{acceptNode:m}),D=q.createTreeWalker(V,NodeFilter.SHOW_ELEMENT,$,!1);for(;D.nextNode();)M(D.currentNode)})}var N=(k=>(k[k.None=0]="None",k[k.RenderStrategy=1]="RenderStrategy",k[k.Static=2]="Static",k))(N||{}),S=(k=>(k[k.Unmount=0]="Unmount",k[k.Hidden=1]="Hidden",k))(S||{});function A$1({visible:k=!0,features:m=0,ourProps:M,theirProps:G,...V}){var q;let $=j$1(G,M),D=Object.assign(V,{props:$});if(k||m&2&&$.static)return y(D);if(m&1){let B=(q=$.unmount)==null||q?0:1;return u$4(B,{0(){return null},1(){return y({...V,props:{...$,hidden:!0,style:{display:"none"}}})}})}return y(D)}function y({props:k,attrs:m,slots:M,slot:G,name:V}){var q,$;let{as:D,...B}=T(k,["unmount","static"]),R=(q=M.default)==null?void 0:q.call(M,G),U={};if(G){let K=!1,z=[];for(let[e,ae]of Object.entries(G))typeof ae=="boolean"&&(K=!0),ae===!0&&z.push(e);K&&(U["data-headlessui-state"]=z.join(" "))}if(D==="template"){if(R=b(R??[]),Object.keys(B).length>0||Object.keys(m).length>0){let[K,...z]=R??[];if(!v(K)||z.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${V} /> is rendering a "template".`,"However we need to passthrough the following props:",Object.keys(B).concat(Object.keys(m)).map(ie=>ie.trim()).filter((ie,he,J)=>J.indexOf(ie)===he).sort((ie,he)=>ie.localeCompare(he)).map(ie=>` - ${ie}`).join(` `),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "template".',"Render a single element as the child so that we can forward the props onto that element."].map(ie=>` - ${ie}`).join(` `)].join(` -`));let e=j$1(($=K.props)!=null?$:{},B,U),ae=cloneVNode(K,e,!0);for(let ie in e)ie.startsWith("on")&&(ae.props||(ae.props={}),ae.props[ie]=e[ie]);return ae}return Array.isArray(R)&&R.length===1?R[0]:R}return h$1(D,Object.assign({},B,U),{default:()=>R})}function b(k){return k.flatMap(m=>m.type===Fragment$1?b(m.children):[m])}function j$1(...k){if(k.length===0)return{};if(k.length===1)return k[0];let m={},M={};for(let G of k)for(let V in G)V.startsWith("on")&&typeof G[V]=="function"?(M[V]!=null||(M[V]=[]),M[V].push(G[V])):m[V]=G[V];if(m.disabled||m["aria-disabled"])return Object.assign(m,Object.fromEntries(Object.keys(M).map(G=>[G,void 0])));for(let G in M)Object.assign(m,{[G](V,...q){let $=M[G];for(let D of $){if(V instanceof Event&&V.defaultPrevented)return;D(V,...q)}}});return m}function E(k){let m=Object.assign({},k);for(let M in m)m[M]===void 0&&delete m[M];return m}function T(k,m=[]){let M=Object.assign({},k);for(let G of m)G in M&&delete M[G];return M}function v(k){return k==null?!1:typeof k.type=="string"||typeof k.type=="object"||typeof k.type=="function"}var u$1=(k=>(k[k.None=1]="None",k[k.Focusable=2]="Focusable",k[k.Hidden=4]="Hidden",k))(u$1||{});let f$6=defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(k,{slots:m,attrs:M}){return()=>{var G;let{features:V,...q}=k,$={"aria-hidden":(V&2)===2?!0:(G=q["aria-hidden"])!=null?G:void 0,hidden:(V&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(V&4)===4&&(V&2)!==2&&{display:"none"}}};return A$1({ourProps:$,theirProps:q,slot:{},attrs:M,slots:m,name:"Hidden"})}}}),n=Symbol("Context");var i=(k=>(k[k.Open=1]="Open",k[k.Closed=2]="Closed",k[k.Closing=4]="Closing",k[k.Opening=8]="Opening",k))(i||{});function l(){return inject(n,null)}function t(k){provide(n,k)}var o$1=(k=>(k.Space=" ",k.Enter="Enter",k.Escape="Escape",k.Backspace="Backspace",k.Delete="Delete",k.ArrowLeft="ArrowLeft",k.ArrowUp="ArrowUp",k.ArrowRight="ArrowRight",k.ArrowDown="ArrowDown",k.Home="Home",k.End="End",k.PageUp="PageUp",k.PageDown="PageDown",k.Tab="Tab",k))(o$1||{});function u(k){throw new Error("Unexpected object: "+k)}var c=(k=>(k[k.First=0]="First",k[k.Previous=1]="Previous",k[k.Next=2]="Next",k[k.Last=3]="Last",k[k.Specific=4]="Specific",k[k.Nothing=5]="Nothing",k))(c||{});function f$5(k,m){let M=m.resolveItems();if(M.length<=0)return null;let G=m.resolveActiveIndex(),V=G??-1;switch(k.focus){case 0:{for(let q=0;q=0;--q)if(!m.resolveDisabled(M[q],q,M))return q;return G}case 2:{for(let q=V+1;q=0;--q)if(!m.resolveDisabled(M[q],q,M))return q;return G}case 4:{for(let q=0;q{let q=document.getElementById(V);if(q){let $=q.getAttribute("aria-label");return typeof $=="string"?$.trim():o(q).trim()}return null}).filter(Boolean);if(G.length>0)return G.join(", ")}return o(k).trim()}function p(k){let m=ref(""),M=ref("");return()=>{let G=o$2(k);if(!G)return"";let V=G.innerText;if(m.value===V)return M.value;let q=g(G).trim().toLowerCase();return m.value=V,M.value=q,q}}var Z=(k=>(k[k.Open=0]="Open",k[k.Closed=1]="Closed",k))(Z||{}),ee=(k=>(k[k.Pointer=0]="Pointer",k[k.Other=1]="Other",k))(ee||{});function te(k){requestAnimationFrame(()=>requestAnimationFrame(k))}let A=Symbol("MenuContext");function O(k){let m=inject(A,null);if(m===null){let M=new Error(`<${k} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(M,O),M}return m}let ge=defineComponent({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(k,{slots:m,attrs:M}){let G=ref(1),V=ref(null),q=ref(null),$=ref([]),D=ref(""),B=ref(null),R=ref(1);function U(z=e=>e){let e=B.value!==null?$.value[B.value]:null,ae=O$1(z($.value.slice()),he=>o$2(he.dataRef.domRef)),ie=e?ae.indexOf(e):null;return ie===-1&&(ie=null),{items:ae,activeItemIndex:ie}}let K={menuState:G,buttonRef:V,itemsRef:q,items:$,searchQuery:D,activeItemIndex:B,activationTrigger:R,closeMenu:()=>{G.value=1,B.value=null},openMenu:()=>G.value=0,goToItem(z,e,ae){let ie=U(),he=f$5(z===c.Specific?{focus:c.Specific,id:e}:{focus:z},{resolveItems:()=>ie.items,resolveActiveIndex:()=>ie.activeItemIndex,resolveId:J=>J.id,resolveDisabled:J=>J.dataRef.disabled});D.value="",B.value=he,R.value=ae??1,$.value=ie.items},search(z){let e=D.value!==""?0:1;D.value+=z.toLowerCase();let ae=(B.value!==null?$.value.slice(B.value+e).concat($.value.slice(0,B.value+e)):$.value).find(he=>he.dataRef.textValue.startsWith(D.value)&&!he.dataRef.disabled),ie=ae?$.value.indexOf(ae):-1;ie===-1||ie===B.value||(B.value=ie,R.value=1)},clearSearch(){D.value=""},registerItem(z,e){let ae=U(ie=>[...ie,{id:z,dataRef:e}]);$.value=ae.items,B.value=ae.activeItemIndex,R.value=1},unregisterItem(z){let e=U(ae=>{let ie=ae.findIndex(he=>he.id===z);return ie!==-1&&ae.splice(ie,1),ae});$.value=e.items,B.value=e.activeItemIndex,R.value=1}};return w([V,q],(z,e)=>{var ae;K.closeMenu(),w$2(e,h.Loose)||(z.preventDefault(),(ae=o$2(V))==null||ae.focus())},computed(()=>G.value===0)),provide(A,K),t(computed(()=>u$4(G.value,{0:i.Open,1:i.Closed}))),()=>{let z={open:G.value===0,close:K.closeMenu};return A$1({ourProps:{},theirProps:k,slot:z,slots:m,attrs:M,name:"Menu"})}}}),Se=defineComponent({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(k,{attrs:m,slots:M,expose:G}){var V;let q=(V=k.id)!=null?V:`headlessui-menu-button-${I$1()}`,$=O("MenuButton");G({el:$.buttonRef,$el:$.buttonRef});function D(K){switch(K.key){case o$1.Space:case o$1.Enter:case o$1.ArrowDown:K.preventDefault(),K.stopPropagation(),$.openMenu(),nextTick(()=>{var z;(z=o$2($.itemsRef))==null||z.focus({preventScroll:!0}),$.goToItem(c.First)});break;case o$1.ArrowUp:K.preventDefault(),K.stopPropagation(),$.openMenu(),nextTick(()=>{var z;(z=o$2($.itemsRef))==null||z.focus({preventScroll:!0}),$.goToItem(c.Last)});break}}function B(K){switch(K.key){case o$1.Space:K.preventDefault();break}}function R(K){k.disabled||($.menuState.value===0?($.closeMenu(),nextTick(()=>{var z;return(z=o$2($.buttonRef))==null?void 0:z.focus({preventScroll:!0})})):(K.preventDefault(),$.openMenu(),te(()=>{var z;return(z=o$2($.itemsRef))==null?void 0:z.focus({preventScroll:!0})})))}let U=s(computed(()=>({as:k.as,type:m.type})),$.buttonRef);return()=>{var K;let z={open:$.menuState.value===0},{...e}=k,ae={ref:$.buttonRef,id:q,type:U.value,"aria-haspopup":"menu","aria-controls":(K=o$2($.itemsRef))==null?void 0:K.id,"aria-expanded":$.menuState.value===0,onKeydown:D,onKeyup:B,onClick:R};return A$1({ourProps:ae,theirProps:e,slot:z,attrs:m,slots:M,name:"MenuButton"})}}}),Me=defineComponent({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(k,{attrs:m,slots:M,expose:G}){var V;let q=(V=k.id)!=null?V:`headlessui-menu-items-${I$1()}`,$=O("MenuItems"),D=ref(null);G({el:$.itemsRef,$el:$.itemsRef}),i$1({container:computed(()=>o$2($.itemsRef)),enabled:computed(()=>$.menuState.value===0),accept(z){return z.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:z.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(z){z.setAttribute("role","none")}});function B(z){var e;switch(D.value&&clearTimeout(D.value),z.key){case o$1.Space:if($.searchQuery.value!=="")return z.preventDefault(),z.stopPropagation(),$.search(z.key);case o$1.Enter:if(z.preventDefault(),z.stopPropagation(),$.activeItemIndex.value!==null){let ae=$.items.value[$.activeItemIndex.value];(e=o$2(ae.dataRef.domRef))==null||e.click()}$.closeMenu(),_(o$2($.buttonRef));break;case o$1.ArrowDown:return z.preventDefault(),z.stopPropagation(),$.goToItem(c.Next);case o$1.ArrowUp:return z.preventDefault(),z.stopPropagation(),$.goToItem(c.Previous);case o$1.Home:case o$1.PageUp:return z.preventDefault(),z.stopPropagation(),$.goToItem(c.First);case o$1.End:case o$1.PageDown:return z.preventDefault(),z.stopPropagation(),$.goToItem(c.Last);case o$1.Escape:z.preventDefault(),z.stopPropagation(),$.closeMenu(),nextTick(()=>{var ae;return(ae=o$2($.buttonRef))==null?void 0:ae.focus({preventScroll:!0})});break;case o$1.Tab:z.preventDefault(),z.stopPropagation(),$.closeMenu(),nextTick(()=>v$1(o$2($.buttonRef),z.shiftKey?N$1.Previous:N$1.Next));break;default:z.key.length===1&&($.search(z.key),D.value=setTimeout(()=>$.clearSearch(),350));break}}function R(z){switch(z.key){case o$1.Space:z.preventDefault();break}}let U=l(),K=computed(()=>U!==null?(U.value&i.Open)===i.Open:$.menuState.value===0);return()=>{var z,e;let ae={open:$.menuState.value===0},{...ie}=k,he={"aria-activedescendant":$.activeItemIndex.value===null||(z=$.items.value[$.activeItemIndex.value])==null?void 0:z.id,"aria-labelledby":(e=o$2($.buttonRef))==null?void 0:e.id,id:q,onKeydown:B,onKeyup:R,role:"menu",tabIndex:0,ref:$.itemsRef};return A$1({ourProps:he,theirProps:ie,slot:ae,attrs:m,slots:M,features:N.RenderStrategy|N.Static,visible:K.value,name:"MenuItems"})}}}),be=defineComponent({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(k,{slots:m,attrs:M,expose:G}){var V;let q=(V=k.id)!=null?V:`headlessui-menu-item-${I$1()}`,$=O("MenuItem"),D=ref(null);G({el:D,$el:D});let B=computed(()=>$.activeItemIndex.value!==null?$.items.value[$.activeItemIndex.value].id===q:!1),R=p(D),U=computed(()=>({disabled:k.disabled,get textValue(){return R()},domRef:D}));onMounted(()=>$.registerItem(q,U)),onUnmounted(()=>$.unregisterItem(q)),watchEffect(()=>{$.menuState.value===0&&B.value&&$.activationTrigger.value!==0&&nextTick(()=>{var J,X;return(X=(J=o$2(D))==null?void 0:J.scrollIntoView)==null?void 0:X.call(J,{block:"nearest"})})});function K(J){if(k.disabled)return J.preventDefault();$.closeMenu(),_(o$2($.buttonRef))}function z(){if(k.disabled)return $.goToItem(c.Nothing);$.goToItem(c.Specific,q)}let e=u$2();function ae(J){e.update(J)}function ie(J){e.wasMoved(J)&&(k.disabled||B.value||$.goToItem(c.Specific,q,0))}function he(J){e.wasMoved(J)&&(k.disabled||B.value&&$.goToItem(c.Nothing))}return()=>{let{disabled:J,...X}=k,W={active:B.value,disabled:J,close:$.closeMenu};return A$1({ourProps:{id:q,ref:D,role:"menuitem",tabIndex:J===!0?void 0:-1,"aria-disabled":J===!0?!0:void 0,onClick:K,onFocus:z,onPointerenter:ae,onMouseenter:ae,onPointermove:ie,onMousemove:ie,onPointerleave:he,onMouseleave:he},theirProps:{...M,...X},slot:W,attrs:M,slots:m,name:"MenuItem"})}}}),C=Symbol("GroupContext"),ue=defineComponent({name:"Switch",emits:{"update:modelValue":k=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(k,{emit:m,attrs:M,slots:G,expose:V}){var q;let $=(q=k.id)!=null?q:`headlessui-switch-${I$1()}`,D=inject(C,null),[B,R]=d$1(computed(()=>k.modelValue),X=>m("update:modelValue",X),computed(()=>k.defaultChecked));function U(){R(!B.value)}let K=ref(null),z=D===null?K:D.switchRef,e=s(computed(()=>({as:k.as,type:M.type})),z);V({el:z,$el:z});function ae(X){X.preventDefault(),U()}function ie(X){X.key===o$1.Space?(X.preventDefault(),U()):X.key===o$1.Enter&&p$1(X.currentTarget)}function he(X){X.preventDefault()}let J=computed(()=>{var X,W;return(W=(X=o$2(z))==null?void 0:X.closest)==null?void 0:W.call(X,"form")});return onMounted(()=>{watch([J],()=>{if(!J.value||k.defaultChecked===void 0)return;function X(){R(k.defaultChecked)}return J.value.addEventListener("reset",X),()=>{var W;(W=J.value)==null||W.removeEventListener("reset",X)}},{immediate:!0})}),()=>{let{name:X,value:W,form:L,tabIndex:Q,...ce}=k,de={checked:B.value},oe={id:$,ref:z,role:"switch",type:e.value,tabIndex:Q===-1?0:Q,"aria-checked":B.value,"aria-labelledby":D==null?void 0:D.labelledby.value,"aria-describedby":D==null?void 0:D.describedby.value,onClick:ae,onKeyup:ie,onKeypress:he};return h$1(Fragment$1,[X!=null&&B.value!=null?h$1(f$6,E({features:u$1.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:B.value,form:L,disabled:ce.disabled,name:X,value:W})):null,A$1({ourProps:oe,theirProps:{...M,...T(ce,["modelValue","defaultChecked"])},slot:de,attrs:M,slots:G,name:"Switch"})])}}});const _hoisted_1$g={class:"flex flex-col group max-w-full"},_hoisted_2$f={class:"pr-12 w-full flex flex-col items-start"},_hoisted_3$e={key:0,class:"relative flex items-center justify-center group hover:opacity-80 transition-opacity duration-300"},_hoisted_4$c=["src","onClick"],_hoisted_5$b={class:"flex flex-col ml-4 w-full"},_hoisted_6$a={class:"flex justify-between items-center"},_hoisted_7$a=["onClick"],_hoisted_8$9=["onClick"],_hoisted_9$9={key:0,class:"flex items-center justify-start mt-8 w-full"},_hoisted_10$8={class:"text-white text-sm mr-2 w-8 text-right flex items-center"},_hoisted_11$7={class:"flex-grow flex items-center min-w-0"},_hoisted_12$6=["onUpdate:modelValue","onInput","onChange"],_hoisted_13$5={class:"text-white text-sm ml-4 mr-2 flex items-center"},_hoisted_14$5=["src","onTimeupdate"],_hoisted_15$5={key:0,class:"w-full"},_hoisted_16$5={key:0,class:"loading-anchor"},_hoisted_17$5=["innerHTML"],_hoisted_18$5={key:0,class:"flex-none mt-2 mb-1"},_hoisted_19$4={class:"flex transition-opacity duration-300 text-gray-700 opacity-0 group-hover:opacity-100"},_hoisted_20$4={class:"mt-1 flex"},_hoisted_21$2={class:"flex text-sm"},_hoisted_22$2={class:"flex text-sm"},_hoisted_23$2=["src"],_hoisted_24$2={key:1,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50"},_hoisted_25$2=createBaseVNode("div",{class:"flex-none"},[createBaseVNode("h2",{class:"text-2xl mb-4 font-semibold"},"歌词编辑"),createBaseVNode("p",{class:"mb-4"},"您可以点击内容进行编辑修改")],-1),_hoisted_26$2={class:"flex-1 overflow-y-auto p-4 rounded-lg border-2 dark:border-gray-700"},_hoisted_27$2={class:"flex items-center mb-4"},_hoisted_28$2=createBaseVNode("label",{class:"w-12 text-gray-500 font-semibold"},"标题",-1),_hoisted_29$2={class:"mb-4"},_hoisted_30$2={class:"flex flex-col"},_hoisted_31$2={key:0,class:"text-gray-500 font-semibold"},_hoisted_32$2=["onUpdate:modelValue"],_hoisted_33$2={class:"flex mt-4"},_hoisted_34$2={class:"flex-1 justify-start"},_hoisted_35$2={class:"py-1"},_hoisted_36$2=["onClick"],_hoisted_37$2={href:"#",class:"flex w-full items-center pl-3 pr-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-700"},_hoisted_38$2={class:"w-28"},_hoisted_39$2={class:"py-1"},_hoisted_40$2=["onClick"],_hoisted_41$2={href:"#",class:"flex w-full items-center pl-3 pr-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-700"},_hoisted_42$2={class:"w-28"},_sfc_main$f=defineComponent({__name:"Music",props:{inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},videoUrl:{},audioUrl:{},model:{},drawId:{},customId:{},modelName:{},action:{},taskData:{},fileInfo:{},modelAvatar:{}},emits:["delete","copy"],setup(k,{expose:m,emit:M}){const G=ref(-1),V=ref(!1),q=ref(""),$=inject("onConversation"),D=k,B=M,{isMobile:R}=useBasicLayout();let U;const K=ref(!1),z=ref({title:"",text:""}),e=()=>{z.value=JSON.parse(D.taskData||"{}"),K.value=!0},ae=()=>{z.value=JSON.parse(D.taskData||"{}")};watch(()=>D.taskData,()=>{ae()},{immediate:!0}),onMounted(()=>{ae()});const ie=()=>{K.value=!1},he=ref([{id:"default",title:"普通歌曲",values:!1},{id:"instrumental",title:"纯音乐",values:!0}]),J=ref([{id:"default",title:"默认",values:""},{id:"pop",title:"流行",values:"pop"},{id:"rock",title:"摇滚",values:"rock"},{id:"hiphop",title:"嘻哈/说唱",values:"hiphop"},{id:"jazz",title:"爵士",values:"jazz"},{id:"blues",title:"蓝调/灵魂",values:"blues"},{id:"country",title:"乡村",values:"country"},{id:"classical",title:"古典",values:"classical"},{id:"folk",title:"民谣",values:"folk"},{id:"latin",title:"拉丁",values:"latin"},{id:"world",title:"世界音乐",values:"world"},{id:"electronic",title:"电子",values:"electronic"},{id:"newage",title:"新世纪",values:"newage"},{id:"metal",title:"重金属",values:"metal"},{id:"punk",title:"朋克",values:"punk"},{id:"rnb",title:"节奏布鲁斯",values:"rnb"}]),X=ref(he.value[0]),W=ref(J.value[0]),L=Le=>{V.value=Le.values,X.value=Le},Q=Le=>{q.value=Le.values,W.value=Le},ce=computed(()=>z.value.text.split(` +`));let e=j$1(($=K.props)!=null?$:{},B,U),ae=cloneVNode(K,e,!0);for(let ie in e)ie.startsWith("on")&&(ae.props||(ae.props={}),ae.props[ie]=e[ie]);return ae}return Array.isArray(R)&&R.length===1?R[0]:R}return h$1(D,Object.assign({},B,U),{default:()=>R})}function b(k){return k.flatMap(m=>m.type===Fragment$1?b(m.children):[m])}function j$1(...k){if(k.length===0)return{};if(k.length===1)return k[0];let m={},M={};for(let G of k)for(let V in G)V.startsWith("on")&&typeof G[V]=="function"?(M[V]!=null||(M[V]=[]),M[V].push(G[V])):m[V]=G[V];if(m.disabled||m["aria-disabled"])return Object.assign(m,Object.fromEntries(Object.keys(M).map(G=>[G,void 0])));for(let G in M)Object.assign(m,{[G](V,...q){let $=M[G];for(let D of $){if(V instanceof Event&&V.defaultPrevented)return;D(V,...q)}}});return m}function E(k){let m=Object.assign({},k);for(let M in m)m[M]===void 0&&delete m[M];return m}function T(k,m=[]){let M=Object.assign({},k);for(let G of m)G in M&&delete M[G];return M}function v(k){return k==null?!1:typeof k.type=="string"||typeof k.type=="object"||typeof k.type=="function"}var u$1=(k=>(k[k.None=1]="None",k[k.Focusable=2]="Focusable",k[k.Hidden=4]="Hidden",k))(u$1||{});let f$6=defineComponent({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(k,{slots:m,attrs:M}){return()=>{var G;let{features:V,...q}=k,$={"aria-hidden":(V&2)===2?!0:(G=q["aria-hidden"])!=null?G:void 0,hidden:(V&4)===4?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(V&4)===4&&(V&2)!==2&&{display:"none"}}};return A$1({ourProps:$,theirProps:q,slot:{},attrs:M,slots:m,name:"Hidden"})}}}),n=Symbol("Context");var i=(k=>(k[k.Open=1]="Open",k[k.Closed=2]="Closed",k[k.Closing=4]="Closing",k[k.Opening=8]="Opening",k))(i||{});function l(){return inject(n,null)}function t(k){provide(n,k)}var o$1=(k=>(k.Space=" ",k.Enter="Enter",k.Escape="Escape",k.Backspace="Backspace",k.Delete="Delete",k.ArrowLeft="ArrowLeft",k.ArrowUp="ArrowUp",k.ArrowRight="ArrowRight",k.ArrowDown="ArrowDown",k.Home="Home",k.End="End",k.PageUp="PageUp",k.PageDown="PageDown",k.Tab="Tab",k))(o$1||{});function u(k){throw new Error("Unexpected object: "+k)}var c=(k=>(k[k.First=0]="First",k[k.Previous=1]="Previous",k[k.Next=2]="Next",k[k.Last=3]="Last",k[k.Specific=4]="Specific",k[k.Nothing=5]="Nothing",k))(c||{});function f$5(k,m){let M=m.resolveItems();if(M.length<=0)return null;let G=m.resolveActiveIndex(),V=G??-1;switch(k.focus){case 0:{for(let q=0;q=0;--q)if(!m.resolveDisabled(M[q],q,M))return q;return G}case 2:{for(let q=V+1;q=0;--q)if(!m.resolveDisabled(M[q],q,M))return q;return G}case 4:{for(let q=0;q{let q=document.getElementById(V);if(q){let $=q.getAttribute("aria-label");return typeof $=="string"?$.trim():o(q).trim()}return null}).filter(Boolean);if(G.length>0)return G.join(", ")}return o(k).trim()}function p(k){let m=ref(""),M=ref("");return()=>{let G=o$2(k);if(!G)return"";let V=G.innerText;if(m.value===V)return M.value;let q=g(G).trim().toLowerCase();return m.value=V,M.value=q,q}}var Z=(k=>(k[k.Open=0]="Open",k[k.Closed=1]="Closed",k))(Z||{}),ee=(k=>(k[k.Pointer=0]="Pointer",k[k.Other=1]="Other",k))(ee||{});function te(k){requestAnimationFrame(()=>requestAnimationFrame(k))}let A=Symbol("MenuContext");function O(k){let m=inject(A,null);if(m===null){let M=new Error(`<${k} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(M,O),M}return m}let ge=defineComponent({name:"Menu",props:{as:{type:[Object,String],default:"template"}},setup(k,{slots:m,attrs:M}){let G=ref(1),V=ref(null),q=ref(null),$=ref([]),D=ref(""),B=ref(null),R=ref(1);function U(z=e=>e){let e=B.value!==null?$.value[B.value]:null,ae=O$1(z($.value.slice()),he=>o$2(he.dataRef.domRef)),ie=e?ae.indexOf(e):null;return ie===-1&&(ie=null),{items:ae,activeItemIndex:ie}}let K={menuState:G,buttonRef:V,itemsRef:q,items:$,searchQuery:D,activeItemIndex:B,activationTrigger:R,closeMenu:()=>{G.value=1,B.value=null},openMenu:()=>G.value=0,goToItem(z,e,ae){let ie=U(),he=f$5(z===c.Specific?{focus:c.Specific,id:e}:{focus:z},{resolveItems:()=>ie.items,resolveActiveIndex:()=>ie.activeItemIndex,resolveId:J=>J.id,resolveDisabled:J=>J.dataRef.disabled});D.value="",B.value=he,R.value=ae??1,$.value=ie.items},search(z){let e=D.value!==""?0:1;D.value+=z.toLowerCase();let ae=(B.value!==null?$.value.slice(B.value+e).concat($.value.slice(0,B.value+e)):$.value).find(he=>he.dataRef.textValue.startsWith(D.value)&&!he.dataRef.disabled),ie=ae?$.value.indexOf(ae):-1;ie===-1||ie===B.value||(B.value=ie,R.value=1)},clearSearch(){D.value=""},registerItem(z,e){let ae=U(ie=>[...ie,{id:z,dataRef:e}]);$.value=ae.items,B.value=ae.activeItemIndex,R.value=1},unregisterItem(z){let e=U(ae=>{let ie=ae.findIndex(he=>he.id===z);return ie!==-1&&ae.splice(ie,1),ae});$.value=e.items,B.value=e.activeItemIndex,R.value=1}};return w([V,q],(z,e)=>{var ae;K.closeMenu(),w$2(e,h.Loose)||(z.preventDefault(),(ae=o$2(V))==null||ae.focus())},computed(()=>G.value===0)),provide(A,K),t(computed(()=>u$4(G.value,{0:i.Open,1:i.Closed}))),()=>{let z={open:G.value===0,close:K.closeMenu};return A$1({ourProps:{},theirProps:k,slot:z,slots:m,attrs:M,name:"Menu"})}}}),Se=defineComponent({name:"MenuButton",props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],default:"button"},id:{type:String,default:null}},setup(k,{attrs:m,slots:M,expose:G}){var V;let q=(V=k.id)!=null?V:`headlessui-menu-button-${I$1()}`,$=O("MenuButton");G({el:$.buttonRef,$el:$.buttonRef});function D(K){switch(K.key){case o$1.Space:case o$1.Enter:case o$1.ArrowDown:K.preventDefault(),K.stopPropagation(),$.openMenu(),nextTick(()=>{var z;(z=o$2($.itemsRef))==null||z.focus({preventScroll:!0}),$.goToItem(c.First)});break;case o$1.ArrowUp:K.preventDefault(),K.stopPropagation(),$.openMenu(),nextTick(()=>{var z;(z=o$2($.itemsRef))==null||z.focus({preventScroll:!0}),$.goToItem(c.Last)});break}}function B(K){switch(K.key){case o$1.Space:K.preventDefault();break}}function R(K){k.disabled||($.menuState.value===0?($.closeMenu(),nextTick(()=>{var z;return(z=o$2($.buttonRef))==null?void 0:z.focus({preventScroll:!0})})):(K.preventDefault(),$.openMenu(),te(()=>{var z;return(z=o$2($.itemsRef))==null?void 0:z.focus({preventScroll:!0})})))}let U=s(computed(()=>({as:k.as,type:m.type})),$.buttonRef);return()=>{var K;let z={open:$.menuState.value===0},{...e}=k,ae={ref:$.buttonRef,id:q,type:U.value,"aria-haspopup":"menu","aria-controls":(K=o$2($.itemsRef))==null?void 0:K.id,"aria-expanded":$.menuState.value===0,onKeydown:D,onKeyup:B,onClick:R};return A$1({ourProps:ae,theirProps:e,slot:z,attrs:m,slots:M,name:"MenuButton"})}}}),Me=defineComponent({name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,default:null}},setup(k,{attrs:m,slots:M,expose:G}){var V;let q=(V=k.id)!=null?V:`headlessui-menu-items-${I$1()}`,$=O("MenuItems"),D=ref(null);G({el:$.itemsRef,$el:$.itemsRef}),i$1({container:computed(()=>o$2($.itemsRef)),enabled:computed(()=>$.menuState.value===0),accept(z){return z.getAttribute("role")==="menuitem"?NodeFilter.FILTER_REJECT:z.hasAttribute("role")?NodeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(z){z.setAttribute("role","none")}});function B(z){var e;switch(D.value&&clearTimeout(D.value),z.key){case o$1.Space:if($.searchQuery.value!=="")return z.preventDefault(),z.stopPropagation(),$.search(z.key);case o$1.Enter:if(z.preventDefault(),z.stopPropagation(),$.activeItemIndex.value!==null){let ae=$.items.value[$.activeItemIndex.value];(e=o$2(ae.dataRef.domRef))==null||e.click()}$.closeMenu(),_(o$2($.buttonRef));break;case o$1.ArrowDown:return z.preventDefault(),z.stopPropagation(),$.goToItem(c.Next);case o$1.ArrowUp:return z.preventDefault(),z.stopPropagation(),$.goToItem(c.Previous);case o$1.Home:case o$1.PageUp:return z.preventDefault(),z.stopPropagation(),$.goToItem(c.First);case o$1.End:case o$1.PageDown:return z.preventDefault(),z.stopPropagation(),$.goToItem(c.Last);case o$1.Escape:z.preventDefault(),z.stopPropagation(),$.closeMenu(),nextTick(()=>{var ae;return(ae=o$2($.buttonRef))==null?void 0:ae.focus({preventScroll:!0})});break;case o$1.Tab:z.preventDefault(),z.stopPropagation(),$.closeMenu(),nextTick(()=>v$1(o$2($.buttonRef),z.shiftKey?N$1.Previous:N$1.Next));break;default:z.key.length===1&&($.search(z.key),D.value=setTimeout(()=>$.clearSearch(),350));break}}function R(z){switch(z.key){case o$1.Space:z.preventDefault();break}}let U=l(),K=computed(()=>U!==null?(U.value&i.Open)===i.Open:$.menuState.value===0);return()=>{var z,e;let ae={open:$.menuState.value===0},{...ie}=k,he={"aria-activedescendant":$.activeItemIndex.value===null||(z=$.items.value[$.activeItemIndex.value])==null?void 0:z.id,"aria-labelledby":(e=o$2($.buttonRef))==null?void 0:e.id,id:q,onKeydown:B,onKeyup:R,role:"menu",tabIndex:0,ref:$.itemsRef};return A$1({ourProps:he,theirProps:ie,slot:ae,attrs:m,slots:M,features:N.RenderStrategy|N.Static,visible:K.value,name:"MenuItems"})}}}),be=defineComponent({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,default:null}},setup(k,{slots:m,attrs:M,expose:G}){var V;let q=(V=k.id)!=null?V:`headlessui-menu-item-${I$1()}`,$=O("MenuItem"),D=ref(null);G({el:D,$el:D});let B=computed(()=>$.activeItemIndex.value!==null?$.items.value[$.activeItemIndex.value].id===q:!1),R=p(D),U=computed(()=>({disabled:k.disabled,get textValue(){return R()},domRef:D}));onMounted(()=>$.registerItem(q,U)),onUnmounted(()=>$.unregisterItem(q)),watchEffect(()=>{$.menuState.value===0&&B.value&&$.activationTrigger.value!==0&&nextTick(()=>{var J,W;return(W=(J=o$2(D))==null?void 0:J.scrollIntoView)==null?void 0:W.call(J,{block:"nearest"})})});function K(J){if(k.disabled)return J.preventDefault();$.closeMenu(),_(o$2($.buttonRef))}function z(){if(k.disabled)return $.goToItem(c.Nothing);$.goToItem(c.Specific,q)}let e=u$2();function ae(J){e.update(J)}function ie(J){e.wasMoved(J)&&(k.disabled||B.value||$.goToItem(c.Specific,q,0))}function he(J){e.wasMoved(J)&&(k.disabled||B.value&&$.goToItem(c.Nothing))}return()=>{let{disabled:J,...W}=k,X={active:B.value,disabled:J,close:$.closeMenu};return A$1({ourProps:{id:q,ref:D,role:"menuitem",tabIndex:J===!0?void 0:-1,"aria-disabled":J===!0?!0:void 0,onClick:K,onFocus:z,onPointerenter:ae,onMouseenter:ae,onPointermove:ie,onMousemove:ie,onPointerleave:he,onMouseleave:he},theirProps:{...M,...W},slot:X,attrs:M,slots:m,name:"MenuItem"})}}}),C=Symbol("GroupContext"),ue=defineComponent({name:"Switch",emits:{"update:modelValue":k=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(k,{emit:m,attrs:M,slots:G,expose:V}){var q;let $=(q=k.id)!=null?q:`headlessui-switch-${I$1()}`,D=inject(C,null),[B,R]=d$1(computed(()=>k.modelValue),W=>m("update:modelValue",W),computed(()=>k.defaultChecked));function U(){R(!B.value)}let K=ref(null),z=D===null?K:D.switchRef,e=s(computed(()=>({as:k.as,type:M.type})),z);V({el:z,$el:z});function ae(W){W.preventDefault(),U()}function ie(W){W.key===o$1.Space?(W.preventDefault(),U()):W.key===o$1.Enter&&p$1(W.currentTarget)}function he(W){W.preventDefault()}let J=computed(()=>{var W,X;return(X=(W=o$2(z))==null?void 0:W.closest)==null?void 0:X.call(W,"form")});return onMounted(()=>{watch([J],()=>{if(!J.value||k.defaultChecked===void 0)return;function W(){R(k.defaultChecked)}return J.value.addEventListener("reset",W),()=>{var X;(X=J.value)==null||X.removeEventListener("reset",W)}},{immediate:!0})}),()=>{let{name:W,value:X,form:L,tabIndex:Q,...ce}=k,de={checked:B.value},se={id:$,ref:z,role:"switch",type:e.value,tabIndex:Q===-1?0:Q,"aria-checked":B.value,"aria-labelledby":D==null?void 0:D.labelledby.value,"aria-describedby":D==null?void 0:D.describedby.value,onClick:ae,onKeyup:ie,onKeypress:he};return h$1(Fragment$1,[W!=null&&B.value!=null?h$1(f$6,E({features:u$1.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:B.value,form:L,disabled:ce.disabled,name:W,value:X})):null,A$1({ourProps:se,theirProps:{...M,...T(ce,["modelValue","defaultChecked"])},slot:de,attrs:M,slots:G,name:"Switch"})])}}});const _hoisted_1$g={class:"flex flex-col group max-w-full"},_hoisted_2$f={class:"pr-12 w-full flex flex-col items-start"},_hoisted_3$e={key:0,class:"relative flex items-center justify-center group hover:opacity-80 transition-opacity duration-300"},_hoisted_4$c=["src","onClick"],_hoisted_5$b={class:"flex flex-col ml-4 w-full"},_hoisted_6$a={class:"flex justify-between items-center"},_hoisted_7$a=["onClick"],_hoisted_8$9=["onClick"],_hoisted_9$9={key:0,class:"flex items-center justify-start mt-8 w-full"},_hoisted_10$8={class:"text-white text-sm mr-2 w-8 text-right flex items-center"},_hoisted_11$7={class:"flex-grow flex items-center min-w-0"},_hoisted_12$6=["onUpdate:modelValue","onInput","onChange"],_hoisted_13$5={class:"text-white text-sm ml-4 mr-2 flex items-center"},_hoisted_14$5=["src","onTimeupdate"],_hoisted_15$5={key:0,class:"w-full"},_hoisted_16$5={key:0,class:"loading-anchor"},_hoisted_17$5=["innerHTML"],_hoisted_18$5={key:0,class:"flex-none mt-2 mb-1"},_hoisted_19$4={class:"flex transition-opacity duration-300 text-gray-700 opacity-0 group-hover:opacity-100"},_hoisted_20$4={class:"mt-1 flex"},_hoisted_21$3={class:"flex text-sm"},_hoisted_22$3={class:"flex text-sm"},_hoisted_23$3=["src"],_hoisted_24$2={key:1,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50"},_hoisted_25$2=createBaseVNode("div",{class:"flex-none"},[createBaseVNode("h2",{class:"text-2xl mb-4 font-semibold"},"歌词编辑"),createBaseVNode("p",{class:"mb-4"},"您可以点击内容进行编辑修改")],-1),_hoisted_26$2={class:"flex-1 overflow-y-auto p-4 rounded-lg border-2 dark:border-gray-700"},_hoisted_27$2={class:"flex items-center mb-4"},_hoisted_28$2=createBaseVNode("label",{class:"w-12 text-gray-500 font-semibold"},"标题",-1),_hoisted_29$2={class:"mb-4"},_hoisted_30$2={class:"flex flex-col"},_hoisted_31$2={key:0,class:"text-gray-500 font-semibold"},_hoisted_32$2=["onUpdate:modelValue"],_hoisted_33$2={class:"flex mt-4"},_hoisted_34$2={class:"flex-1 justify-start"},_hoisted_35$2={class:"py-1"},_hoisted_36$2=["onClick"],_hoisted_37$2={href:"#",class:"flex w-full items-center pl-3 pr-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-700"},_hoisted_38$2={class:"w-28"},_hoisted_39$2={class:"py-1"},_hoisted_40$2=["onClick"],_hoisted_41$2={href:"#",class:"flex w-full items-center pl-3 pr-3 py-2 hover:bg-gray-100 dark:hover:bg-gray-700"},_hoisted_42$2={class:"w-28"},_sfc_main$f=defineComponent({__name:"Music",props:{inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},videoUrl:{},audioUrl:{},model:{},drawId:{},customId:{},modelName:{},action:{},taskData:{},fileInfo:{},modelAvatar:{}},emits:["delete","copy"],setup(k,{expose:m,emit:M}){const G=ref(-1),V=ref(!1),q=ref(""),$=inject("onConversation"),D=k,B=M,{isMobile:R}=useBasicLayout();let U;const K=ref(!1),z=ref({title:"",text:""}),e=()=>{z.value=JSON.parse(D.taskData||"{}"),K.value=!0},ae=()=>{z.value=JSON.parse(D.taskData||"{}")};watch(()=>D.taskData,()=>{ae()},{immediate:!0}),onMounted(()=>{ae()});const ie=()=>{K.value=!1},he=ref([{id:"default",title:"普通歌曲",values:!1},{id:"instrumental",title:"纯音乐",values:!0}]),J=ref([{id:"default",title:"默认",values:""},{id:"pop",title:"流行",values:"pop"},{id:"rock",title:"摇滚",values:"rock"},{id:"hiphop",title:"嘻哈/说唱",values:"hiphop"},{id:"jazz",title:"爵士",values:"jazz"},{id:"blues",title:"蓝调/灵魂",values:"blues"},{id:"country",title:"乡村",values:"country"},{id:"classical",title:"古典",values:"classical"},{id:"folk",title:"民谣",values:"folk"},{id:"latin",title:"拉丁",values:"latin"},{id:"world",title:"世界音乐",values:"world"},{id:"electronic",title:"电子",values:"electronic"},{id:"newage",title:"新世纪",values:"newage"},{id:"metal",title:"重金属",values:"metal"},{id:"punk",title:"朋克",values:"punk"},{id:"rnb",title:"节奏布鲁斯",values:"rnb"}]),W=ref(he.value[0]),X=ref(J.value[0]),L=Le=>{V.value=Le.values,W.value=Le},Q=Le=>{q.value=Le.values,X.value=Le},ce=computed(()=>z.value.text.split(` `).filter(Le=>Le.trim()!=="")),de=async()=>{K.value=!1;try{const Le=JSON.stringify({title:z.value.title,prompt:V.value?"":ce.value.join(` -`),mv:"chirp-v4",make_instrumental:V.value,tags:q.value});await $({msg:`${z.value.title}`,action:"MUSIC",customId:Le,modelType:2,model:D.model||"suno-music",modelName:D.modelName||"AI音乐",modelAvatar:D.modelAvatar})}catch{}};watch(()=>D.status,Le=>{U!==void 0&&(clearInterval(U),U=void 0),Le===2&&(U=window.setInterval(async()=>{await Ne.queryActiveChatLogList()},5e3))},{immediate:!0}),onUnmounted(()=>{U!==void 0&&clearInterval(U)});const oe=computed(()=>D.fileInfo?D.fileInfo.split(",").map(Le=>({type:"image",url:Le})):[]),se=computed(()=>D.videoUrl?D.videoUrl.split(",").map(Le=>({type:"video",url:Le})):[]),me=computed(()=>D.audioUrl?D.audioUrl.split(",").map(Le=>({type:"audio",url:Le})):[]),Ee=computed(()=>(z.value=JSON.parse(D.taskData||"{}"),oe.value.map((Le,et)=>({image:Le,video:se.value[et]||{type:"video",url:""},audio:me.value[et]||{type:"audio",url:""},title:"标题",subtitle:"媒体风格"})))),ke=ref(new Array(Ee.value.length).fill(0)),xe=Le=>{const et=ye.value[Le];et&&(_e.value[Le]=et.currentTime,et.duration&&(Ge.value[Le]=et.duration),ke.value[Le]=et.currentTime/et.duration*100)},fe=(Le,et)=>{const Qe=et.target;ke.value[Le]=Number(Qe.value)},ve=(Le,et)=>{const Qe=ye.value[Le],Fe=et.target;if(Qe){const $e=Number(Fe.value)/100*Qe.duration;Qe.currentTime=$e}},ye=ref([]),Ce=Le=>{const et=ye.value[Le];et&&(ye.value.forEach((Qe,Fe)=>{Qe&&Fe!==Le&&(Qe.pause(),Qe.currentTime=0)}),et.paused?(et.play(),G.value=Le):(et.pause(),G.value=-1))},pe=Le=>{if(!isFinite(Le)||isNaN(Le))return"";const et=Math.floor(Le/60),Qe=Math.floor(Le%60);return`${et}:${Qe<10?"0":""}${Qe}`},_e=ref([]),Ge=ref([]),Te=ref(),Ne=useChatStore(),Ze=new MarkdownIt({linkify:!0,highlight(Le,et){if(!!(et&&HighlightJS.getLanguage(et))){const Fe=et??"";return De(HighlightJS.highlight(Le,{language:Fe}).value,Fe)}return De(HighlightJS.highlightAuto(Le).value,"")}});Ze.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),Ze.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const ze=computed(()=>{const Le=D.text??"";return D.asRawText?Le:Ze.render(Le)});function Ae(Le){fetch(Le).then(et=>et.blob()).then(et=>{const Qe=document.createElement("a"),Fe=URL.createObjectURL(et);Qe.href=Fe;const $e=D.text||"音频文件";Qe.setAttribute("download",`${$e}.mp3`),Qe.style.display="none",document.body.appendChild(Qe),Qe.click(),document.body.removeChild(Qe),URL.revokeObjectURL(Fe)}).catch(et=>{})}function De(Le,et){return`
      ${et}${t$3("chat.copyCode")}
      ${Le}
      `}function Ue(){B("copy")}function we(){B("delete")}m({textRef:Te});const Ie=async()=>{try{z.value=JSON.parse(D.taskData||"{}");const Le=JSON.stringify({title:z.value.title,prompt:z.value.text,mv:"chirp-v3-5",make_instrumental:V.value});await $({msg:`${z.value.title}`,action:"MUSIC",customId:Le,modelType:2,model:D.model||"suno-music",modelName:D.modelName||"AI音乐",modelAvatar:D.modelAvatar})}catch{}},Be=ref(!1),Ke=ref(""),Ve=Le=>{if(!Le){Ne.queryActiveChatLogList();return}Ke.value=Le,Be.value=!0},je=()=>{Be.value=!1};return(Le,et)=>(openBlock(),createElementBlock(Fragment$1,null,[createBaseVNode("div",_hoisted_1$g,[createBaseVNode("div",{ref_key:"textRef",ref:Te,class:"leading-relaxed break-words"},[createBaseVNode("div",_hoisted_2$f,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(Ee.value,(Qe,Fe)=>(openBlock(),createElementBlock("div",{key:Fe,class:normalizeClass(["flex justify-between items-center p-2 bg-gray-800 rounded-md mb-2",unref(R)?"w-[80vw]":"min-w-[35vw]"])},[Qe.audio.url?(openBlock(),createElementBlock("div",_hoisted_3$e,[createBaseVNode("img",{src:Qe.image.url,onClick:$e=>Ce(Fe),class:normalizeClass(["rounded-md cursor-pointer transition-opacity duration-300",{"opacity-80":G.value===Fe}]),style:normalizeStyle({maxWidth:unref(R)?"80px":"100px",maxHeight:unref(R)?"80px":"100px"})},null,14,_hoisted_4$c),(openBlock(),createBlock(resolveDynamicComponent(G.value===Fe?unref(Pause):unref(PlayOne)),{class:normalizeClass(["absolute text-white text-3xl opacity-80 cursor-pointer transition-opacity duration-300",{"opacity-100":G.value===Fe}]),onClick:$e=>Ce(Fe)},null,8,["onClick","class"]))])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$b,[createBaseVNode("div",_hoisted_6$a,[createBaseVNode("h3",{class:"text-white text-sm hover:underline cursor-pointer",onClick:$e=>Ve(Qe.video.url)},toDisplayString(D.text),9,_hoisted_7$a),createBaseVNode("button",{onClick:$e=>Ae(Qe.audio.url),class:"w-8 h-8 text-white text-sm rounded-full hover:bg-gray-700 px-2 py-1 mr-2"},[createVNode(unref(DownloadOne),{size:"16"})],8,_hoisted_8$9)]),Qe.audio.url?(openBlock(),createElementBlock("div",_hoisted_9$9,[createBaseVNode("span",_hoisted_10$8,toDisplayString(pe(_e.value[Fe]||0)),1),createBaseVNode("div",_hoisted_11$7,[withDirectives(createBaseVNode("input",{type:"range",min:"0",max:"100",step:"1","onUpdate:modelValue":$e=>ke.value[Fe]=$e,onInput:$e=>fe(Fe,$e),onChange:$e=>ve(Fe,$e),class:"flex-grow flex max-w-full"},null,40,_hoisted_12$6),[[vModelText,ke.value[Fe]]])]),createBaseVNode("span",_hoisted_13$5,toDisplayString(pe(Ge.value[Fe]||0)),1)])):createCommentVNode("",!0)]),createBaseVNode("audio",{ref_for:!0,ref_key:"audioRefs",ref:ye,src:Qe.audio.url,onTimeupdate:$e=>xe(Fe),hidden:""},null,40,_hoisted_14$5)],2))),128)),Le.fileInfo?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_15$5,[Le.status===2&&!ze.value?(openBlock(),createElementBlock("span",_hoisted_16$5)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":Le.status===2||!ze.value}]),innerHTML:ze.value},null,10,_hoisted_17$5)]))]),Le.status===3&&Le.action==="LYRICS"?(openBlock(),createElementBlock("div",_hoisted_18$5,[createBaseVNode("div",{class:"flex justify-start"},[createBaseVNode("button",{onClick:e,class:"px-4 py-1 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 编辑 "),createBaseVNode("button",{onClick:Ie,class:"px-4 py-1 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 一键创作音乐 ")])])):createCommentVNode("",!0)],512),createBaseVNode("div",_hoisted_19$4,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_20$4,[createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Ue},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_21$2,toDisplayString(unref(t$3)("chat.copy")),1)]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:we},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_22$2,toDisplayString(unref(t$3)("chat.delete")),1)])])])])]),Be.value?(openBlock(),createElementBlock("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:je},[createBaseVNode("div",{class:"relative p-0 rounded-md shadow-md max-w-full max-h-full",onClick:et[0]||(et[0]=withModifiers(()=>{},["stop"]))},[createVNode(unref(Close),{onClick:je,class:"absolute top-2 -right-8 text-gray-500 hover:text-gray-600",size:"26"}),createBaseVNode("video",{src:Ke.value,controls:"",class:"w-full h-full rounded-md"},null,8,_hoisted_23$2)])])):createCommentVNode("",!0),K.value?(openBlock(),createElementBlock("div",_hoisted_24$2,[createBaseVNode("div",{class:normalizeClass(["bg-white p-6 w-full flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",[unref(R)?"w-full h-full":"max-h-[80vh] max-w-3xl rounded-lg shadow-lg"]])},[createVNode(unref(Close),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:ie}),_hoisted_25$2,createBaseVNode("div",_hoisted_26$2,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_27$2,[_hoisted_28$2,withDirectives(createBaseVNode("input",{type:"text","onUpdate:modelValue":et[1]||(et[1]=Qe=>z.value.title=Qe),class:"flex-1 p-2 text-lg font-semibold dark:bg-gray-900 dark:text-gray-400"},null,512),[[vModelText,z.value.title]])]),createBaseVNode("div",_hoisted_29$2,[createBaseVNode("div",_hoisted_30$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(ce.value,(Qe,Fe)=>(openBlock(),createElementBlock("div",{key:Fe,class:"py-2"},[Qe.startsWith("[")&&Qe.endsWith("]")?(openBlock(),createElementBlock("span",_hoisted_31$2,toDisplayString(Qe),1)):withDirectives((openBlock(),createElementBlock("textarea",{key:1,"onUpdate:modelValue":$e=>ce.value[Fe]=$e,class:"ml-3 flex-1 py-1 w-full dark:bg-gray-900 dark:text-gray-400",rows:"1",style:{resize:"none"}},null,8,_hoisted_32$2)),[[vModelText,ce.value[Fe]]])]))),128))])])])]),createBaseVNode("div",_hoisted_33$2,[createBaseVNode("div",_hoisted_34$2,[createVNode(unref(ge),{as:"div",class:"relative inline-block text-left shadow-sm rounded-md group mr-4"},{default:withCtx(()=>[createVNode(unref(Se),{class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600 inline-flex w-full justify-center text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 group-hover:text-gray-900 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(X.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute left-0 bottom-full mb-2 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900 overflow-y-auto"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_35$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(he.value,(Qe,Fe)=>(openBlock(),createBlock(unref(be),{key:Fe},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:$e=>L(Qe)},[createBaseVNode("a",_hoisted_37$2,[createBaseVNode("div",_hoisted_38$2,toDisplayString(Qe.title),1)])],8,_hoisted_36$2)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1}),createVNode(unref(ge),{as:"div",class:"relative inline-block text-left shadow-sm rounded-md group"},{default:withCtx(()=>[createVNode(unref(Se),{class:"px-3 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600 inline-flex w-full justify-center text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 group-hover:text-gray-900 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(" 风格:"+toDisplayString(W.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute left-0 bottom-full mb-2 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900 overflow-y-auto max-h-[60vh]"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_39$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(J.value,(Qe,Fe)=>(openBlock(),createBlock(unref(be),{key:Fe},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:$e=>Q(Qe)},[createBaseVNode("a",_hoisted_41$2,[createBaseVNode("div",_hoisted_42$2,toDisplayString(Qe.title),1)])],8,_hoisted_40$2)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})]),createBaseVNode("div",{class:"flex justify-end"},[createBaseVNode("button",{onClick:ie,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),createBaseVNode("button",{onClick:de,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white rounded-md"}," 提交 ")])])],2)])):createCommentVNode("",!0)],64))}}),_hoisted_1$f={class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},_hoisted_2$e={key:0,class:"p-2 w-full h-1/2"},_hoisted_3$d=["srcDoc"],_hoisted_4$b={key:1,class:"w-3/4 p-2"},_hoisted_5$a=["srcDoc"],_sfc_main$e=defineComponent({__name:"htmlModal",props:{text:{},close:{type:Function}},setup(k){const m=k,M=ref(null),G=ref(m.text),{isMobile:V}=useBasicLayout();watch(G,()=>{q()}),watchEffect(()=>{G.value=m.text});const q=()=>{if(M.value){const B=M.value.contentDocument;B&&(B.body.innerHTML=G.value)}},$=()=>{m.close()},D=async()=>{var B,R;try{await navigator.clipboard.writeText(G.value),(B=window.$message)==null||B.success("内容已复制到剪贴板")}catch{(R=window.$message)==null||R.error("复制失败")}};return(B,R)=>(openBlock(),createElementBlock("div",_hoisted_1$f,[createVNode(unref(Close),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:$}),createBaseVNode("div",{class:normalizeClass(["bg-white dark:bg-gray-900 w-full h-full p-4",[unref(V)?"flex-col":"flex"]])},[unref(V)?(openBlock(),createElementBlock("div",_hoisted_2$e,[createBaseVNode("iframe",{srcDoc:G.value,class:"box-border w-full h-full border rounded-md"},null,8,_hoisted_3$d)])):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["p-2 flex flex-col",[unref(V)?"w-full h-1/2":"w-1/4"]])},[withDirectives(createBaseVNode("textarea",{"onUpdate:modelValue":R[0]||(R[0]=U=>G.value=U),class:"w-full h-full p-2 border rounded-md resize-none text-base dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700"},null,512),[[vModelText,G.value]]),createBaseVNode("div",{class:"mt-2 flex justify-end"},[createBaseVNode("button",{onClick:$,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),createBaseVNode("button",{onClick:D,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 复制 ")])],2),unref(V)?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_4$b,[createBaseVNode("iframe",{srcDoc:G.value,class:"box-border w-full h-full border rounded-md"},null,8,_hoisted_5$a)]))],2)]))}}),htmlModal_vue_vue_type_style_index_0_scoped_e09b87ec_lang="",HtmlModal=_export_sfc(_sfc_main$e,[["__scopeId","data-v-e09b87ec"]]),_hoisted_1$e={class:"flex flex-col group w-full"},_hoisted_2$d={class:"text-wrap rounded-lg min-w-12 flex w-full flex-col"},_hoisted_3$c={key:0,class:"flex flex-col items-start",style:{"max-width":"100%"}},_hoisted_4$a={class:"w-full"},_hoisted_5$9={key:0,class:"loading-anchor"},_hoisted_6$9=["innerHTML"],_hoisted_7$9={key:0,class:"p-3 rounded-lg w-full bg-opacity dark:bg-gray-750 break-words",style:{"max-width":"100%"}},_hoisted_8$8=["textContent"],_hoisted_9$8={class:"flex p-3 items-center justify-center ring-1 ring-inset ring-gray-200 dark:ring-gray-700 rounded-lg hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700"},_hoisted_10$7={key:0,class:"flex-none mt-2 mb-1"},_hoisted_11$6={key:1,class:"flex-none transition-opacity duration-500"},_hoisted_12$5=["onClick"],_hoisted_13$4={class:"mt-2 flex"},_hoisted_14$4={class:"flex text-sm"},_hoisted_15$4={class:"flex text-sm"},_hoisted_16$4=createBaseVNode("span",{class:"flex text-sm"},"取消",-1),_hoisted_17$4=createBaseVNode("span",{class:"flex text-sm"},"提交",-1),_hoisted_18$4=createBaseVNode("span",{class:"flex text-sm"},"编辑",-1),_hoisted_19$3=createBaseVNode("span",{class:"flex text-sm"},"重新生成",-1),_hoisted_20$3={class:"flex text-sm"},_sfc_main$d=defineComponent({__name:"index",props:{chatId:{},index:{},inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{},promptReference:{},isLast:{type:Boolean}},emits:["regenerate","delete","copy"],setup(k,{expose:m,emit:M}){const G=useAuthStore(),V=inject("onConversation"),q=inject("handleRegenerate"),$=k,D=ref(!1),B=ref($.text),R=computed(()=>{var Ae;return Number((Ae=G.globalConfig)==null?void 0:Ae.isHideTts)===1}),U=M,{isMobile:K}=useBasicLayout(),z=ref(),e=ref($.ttsUrl),ae=ref(""),ie=ref(!1),he=ref("paused");let J=null;const X=ref($.text),W=ref(!1),L=ref(null);function Q(){L.value&&(L.value.style.height="auto",L.value.style.height=L.value.scrollHeight+"px")}function ce(){X.value=$.text,W.value=!1}const de=computed(()=>he.value!=="paused"||W.value?"opacity-100":"opacity-0 group-hover:opacity-100");async function oe(){if(!(he.value==="loading"||he.value==="playing")){if(e.value){se(e.value);return}he.value="loading";try{const De=(await fetchTtsAPIProces({chatId:$.chatId,prompt:$.text})).ttsUrl;if(De)e.value=De,se(De);else throw new Error("TTS URL is undefined")}catch{he.value="paused"}}}function se(Ae){J&&J.pause(),J=new Audio(Ae),J.play().then(()=>{he.value="playing"}).catch(De=>{he.value="paused"}),J.onended=()=>{he.value="paused",J=null}}function me(){J&&(J.pause(),he.value="paused")}function Ee(){he.value==="playing"?me():oe()}const ke=new MarkdownIt({linkify:!0,highlight(Ae,De){if(!!(De&&HighlightJS.getLanguage(De))){const we=De??"";return console.log("language",De),De==="html"&&(ae.value=Ae,ie.value=!0,console.log("htmlContent",ae.value)),pe(HighlightJS.highlight(Ae,{language:we}).value,we)}return pe(HighlightJS.highlightAuto(Ae).value,"")}});ke.renderer.rules.image=function(Ae,De,Ue,we,Ie){const Be=Ae[De],Ke=Be.attrGet("src"),Ve=Be.attrGet("title"),je=Be.content;return`${je}`};const xe=computed(()=>$.fileInfo),fe=computed(()=>{var Ae;return(Ae=xe==null?void 0:xe.value)==null?void 0:Ae.split(",").map(De=>De.trim())}),ve=computed(()=>xe.value?/\.(mp4|avi|mov|wmv|flv)$/i.test(xe.value):!1),ye=computed(()=>xe.value?/\.(jpg|jpeg|png|gif|webp)$/i.test(xe.value):!1);ke.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),ke.use(mdKatex,{blockClass:"katexmath-block p-0 flex h-full items-center justify-start",inlineClass:"katexmath-inline",errorColor:" #cc0000"});const Ce=computed(()=>{const De=($.text??"").replace(/\\\(\s*/g,"$").replace(/\s*\\\)/g,"$").replace(/\\\[\s*/g,"$$").replace(/\s*\\\]/g,"$$");return $.asRawText?De:ke.render(De)});function pe(Ae,De){return`
      ${De}${t$3("chat.copyCode")}
      ${Ae}
      `}async function _e(){B.value=$.text,D.value=!0}function Ge(){D.value=!1}async function Te(){if(W.value){const Ae=X.value;await V({msg:Ae,chatId:$.chatId}),W.value=!1}else X.value=$.text,W.value=!0,await nextTick(),Q()}async function Ne(Ae){await V({msg:Ae})}function Ze(){U("copy")}function ze(){U("delete")}return m({textRef:z}),onMounted(()=>{var Ue;const Ae=(Ue=document.querySelector(".preview-button"))==null?void 0:Ue.id,De=Ae?document.getElementById(Ae):null;De&&De.addEventListener("click",_e)}),(Ae,De)=>{var Ue;return openBlock(),createElementBlock("div",_hoisted_1$e,[createBaseVNode("div",_hoisted_2$d,[createBaseVNode("div",{ref_key:"textRef",ref:z,class:"flex w-full"},[Ae.inversion?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["flex justify-end w-full",[unref(K)?"pl-20":"pl-28 "]]),style:{"max-width":"100%"}},[W.value?(openBlock(),createElementBlock("div",_hoisted_7$9,[withDirectives(createBaseVNode("textarea",{"onUpdate:modelValue":De[0]||(De[0]=we=>X.value=we),class:"min-w-full text-base resize-none overflow-hidden bg-transparent whitespace-pre-wrap text-gray-950 dark:text-gray-100",onInput:Q,onKeydown:withKeys(Te,["enter"]),ref_key:"textarea",ref:L},null,544),[[vModelText,X.value]])])):(openBlock(),createElementBlock("div",{key:1,class:"p-3 rounded-lg text-base bg-opacity dark:bg-gray-750 break-words whitespace-pre-wrap text-gray-950 dark:text-gray-100",textContent:toDisplayString(Ce.value),style:{"max-width":"100%"}},null,8,_hoisted_8$8))],2)):(openBlock(),createElementBlock("div",_hoisted_3$c,[createBaseVNode("div",_hoisted_4$a,[Ae.loading&&!Ce.value?(openBlock(),createElementBlock("span",_hoisted_5$9)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["markdown-body text-gray-950 dark:text-gray-100",{"markdown-body-generate":Ae.loading||!Ce.value}]),innerHTML:Ce.value},null,10,_hoisted_6$9)])]))],512),xe.value&&!ye.value&&!ve.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["my-1 flex w-full",[{"justify-end":Ae.inversion}]])},[createBaseVNode("div",_hoisted_9$8,[createBaseVNode("span",null,toDisplayString(unref(t$3)("chat.fileAnalysis")),1)])],2)):createCommentVNode("",!0),fe.value&&ye.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["my-2 w-full flex",[unref(K)?"pl-20":"pl-28",{"justify-end":Ae.inversion}]]),style:normalizeStyle({maxHeight:unref(K)?"":"30vh",maxWidth:(unref(K),"100%")})},[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(fe.value,(we,Ie)=>(openBlock(),createBlock(unref(NImage),{key:Ie,src:we,"preview-src":we,alt:"图片",class:normalizeClass(["rounded-md flex ml-2",[{"justify-end":Ae.inversion}]]),style:{maxHeight:"100%",height:"auto",objectFit:"contain"}},null,8,["src","preview-src","class"]))),128))],6)):createCommentVNode("",!0)]),ie.value&&!Ae.inversion?(openBlock(),createElementBlock("div",_hoisted_10$7,[createBaseVNode("div",{class:"flex justify-start"},[createBaseVNode("button",{onClick:_e,class:"px-4 py-1 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 预览代码 ")])])):createCommentVNode("",!0),Ae.promptReference&&!Ae.inversion&&Ae.isLast?(openBlock(),createElementBlock("div",_hoisted_11$6,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(Ae.promptReference?(Ue=Ae.promptReference.match(/{(.*?)}/g))==null?void 0:Ue.map(we=>we.slice(1,-1)).slice(0,3):[],(we,Ie)=>(openBlock(),createElementBlock("button",{key:Ie,onClick:Be=>Ne(we),class:"flex flex-row items-center my-3 px-2 py-2 shadow-sm bg-opacity hover:bg-gray-50 text-left text-gray-900 rounded-md overflow-hidden dark:bg-gray-750 dark:text-gray-400"},[createTextVNode(toDisplayString(we)+" ",1),createVNode(unref(ArrowRight),{class:"ml-1"})],8,_hoisted_12$5))),128))])):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["flex transition-opacity duration-300 text-gray-700 ",de.value,{"justify-end":Ae.inversion}])},[createBaseVNode("div",_hoisted_13$4,[W.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:0,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Ze},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_14$4,toDisplayString(unref(t$3)("chat.copy")),1)])),W.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:1,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:ze},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_15$4,toDisplayString(unref(t$3)("chat.delete")),1)])),W.value?(openBlock(),createElementBlock("button",{key:2,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:ce},[createVNode(unref(Close),{class:"mr-1"}),_hoisted_16$4])):createCommentVNode("",!0),W.value?(openBlock(),createElementBlock("button",{key:3,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Te},[createVNode(unref(Send),{class:"mr-1"}),_hoisted_17$4])):createCommentVNode("",!0),Ae.inversion&&!W.value&&Ae.modelType===1?(openBlock(),createElementBlock("button",{key:4,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Te},[createVNode(unref(Edit),{class:"mr-1"}),_hoisted_18$4])):createCommentVNode("",!0),!Ae.inversion&&Ae.modelType===1?(openBlock(),createElementBlock("button",{key:5,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:De[1]||(De[1]=we=>unref(q)(Ae.index,Ae.chatId))},[createVNode(unref(Refresh),{class:"mr-1"}),_hoisted_19$3])):createCommentVNode("",!0),!Ae.inversion&&!R.value?(openBlock(),createElementBlock("button",{key:6,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Ee},[he.value==="paused"?(openBlock(),createBlock(unref(VoiceMessage),{key:0,class:"flex mr-1"})):createCommentVNode("",!0),he.value==="loading"?(openBlock(),createBlock(unref(Rotation),{key:1,class:"rotate-icon flex mr-1"})):he.value==="playing"?(openBlock(),createBlock(unref(PauseOne),{key:2,class:"flex mr-1"})):createCommentVNode("",!0),createBaseVNode("span",_hoisted_20$3,toDisplayString(he.value==="playing"?unref(t$3)("chat.pause"):he.value==="loading"?unref(t$3)("chat.loading"):unref(t$3)("chat.readAloud")),1)])):createCommentVNode("",!0)])],2),D.value?(openBlock(),createBlock(HtmlModal,{key:2,text:ae.value,close:Ge},null,8,["text"])):createCommentVNode("",!0)])}}}),index_vue_vue_type_style_index_0_lang$1="",_hoisted_1$d={class:"flex flex-col group max-w-full"},_hoisted_2$c={class:"flex flex-col items-start"},_hoisted_3$b={class:"w-full"},_hoisted_4$9={key:0,class:"loading-anchor"},_hoisted_5$8=["innerHTML"],_hoisted_6$8=["src"],_hoisted_7$8={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},_hoisted_8$7={class:"mt-1 flex"},_hoisted_9$7={class:"flex text-sm"},_hoisted_10$6={class:"flex text-sm"},_sfc_main$c=defineComponent({__name:"Video",props:{inversion:{type:Boolean},error:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},model:{},drawId:{},customId:{},modelName:{}},emits:["regenerate","delete","copy"],setup(k,{expose:m,emit:M}){const G=k,V=M,{isMobile:q}=useBasicLayout();let $;watch(()=>G.status,J=>{$!==void 0&&(clearInterval($),$=void 0),J===2&&($=window.setInterval(async()=>{await B.queryActiveChatLogList()},5e3))},{immediate:!0}),onUnmounted(()=>{$!==void 0&&clearInterval($)});const D=ref(),B=useChatStore(),R=new MarkdownIt({linkify:!0,highlight(J,X){if(!!(X&&HighlightJS.getLanguage(X))){const L=X??"";return z(HighlightJS.highlight(J,{language:L}).value,L)}return z(HighlightJS.highlightAuto(J).value,"")}}),U=computed(()=>G.fileInfo);R.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),R.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const K=computed(()=>{const J=G.text??"";return G.asRawText?J:R.render(J)});function z(J,X){return`
      ${X}${t$3("chat.copyCode")}
      ${J}
      `}function e(){V("copy")}function ae(){V("delete")}m({textRef:D});const ie=ref("paused"),he=computed(()=>ie.value!=="paused"?"opacity-100":"opacity-0 group-hover:opacity-100");return(J,X)=>(openBlock(),createElementBlock("div",_hoisted_1$d,[createBaseVNode("div",{ref_key:"textRef",ref:D,class:"leading-relaxed break-words"},[createBaseVNode("div",_hoisted_2$c,[createBaseVNode("div",_hoisted_3$b,[J.status===2&&!K.value?(openBlock(),createElementBlock("span",_hoisted_4$9)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":J.status===2||!K.value}]),innerHTML:K.value},null,10,_hoisted_5$8)]),createBaseVNode("div",null,[withDirectives((openBlock(),createElementBlock("div",{key:U.value},[createBaseVNode("video",{src:U.value,controls:"",class:"rounded-md flex",style:normalizeStyle({maxWidth:unref(q)?"90%":"30vw",maxHeight:unref(q)?"":"30vh"})}," 您的浏览器不支持视频标签。 ",12,_hoisted_6$8)])),[[vShow,U.value]])])])],512),createBaseVNode("div",_hoisted_7$8,[createBaseVNode("div",null,[createBaseVNode("div",null,[createBaseVNode("div",{class:"my-1 flex w-auto",style:normalizeStyle({maxWidth:unref(q)?"100%":"25rem"})},null,4)])])]),createBaseVNode("div",{class:normalizeClass(["flex transition-opacity duration-300 text-gray-700",he.value])},[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_8$7,[createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:e},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_9$7,toDisplayString(unref(t$3)("chat.copy")),1)]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:ae},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_10$6,toDisplayString(unref(t$3)("chat.delete")),1)])])])],2)]))}}),Video_vue_vue_type_style_index_0_lang="",_hoisted_1$c={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},_hoisted_2$b={class:"bg-white p-6 rounded-lg shadow-lg w-3/4 max-w-3xl max-h-[80vh] flex flex-col"},_hoisted_3$a=createBaseVNode("div",{class:"flex-none"},[createBaseVNode("h2",{class:"text-2xl mb-4 font-semibold"},"PPT大纲编辑调整"),createBaseVNode("p",{class:"mb-4"},"您可以点击标题或章节进行大纲的编辑修改")],-1),_hoisted_4$8={class:"flex-1 overflow-y-auto p-4 rounded-lg border"},_hoisted_5$7={class:"bg-white"},_hoisted_6$7={class:"flex items-center mb-4"},_hoisted_7$7=createBaseVNode("label",{class:"w-16 text-gray-500 font-semibold"},"主标题",-1),_hoisted_8$6={class:"flex items-center mb-2"},_hoisted_9$6={class:"w-12 font-semibold text-gray-500"},_hoisted_10$5=["onUpdate:modelValue"],_hoisted_11$5=["onClick"],_hoisted_12$4=["onClick"],_hoisted_13$3={class:"pl-8"},_hoisted_14$3=["onUpdate:modelValue"],_hoisted_15$3=["onClick"],_hoisted_16$3={class:"flex-none mt-4"},_hoisted_17$3={class:"flex justify-between items-center"},_hoisted_18$3={class:"flex items-center"},_hoisted_19$2={class:"py-1"},_hoisted_20$2=["onClick"],_hoisted_21$1={href:"#",class:"flex items-center px-4 py-2 text-sm group-hover:bg-gray-100 dark:group-hover:bg-gray-700"},_hoisted_22$1={key:1,class:"fixed inset-0 z-50 flex flex-col bg-black bg-opacity-50"},_hoisted_23$1={class:"flex flex-1 h-full"},_hoisted_24$1={class:"w-1/5 bg-white p-4 overflow-y-auto"},_hoisted_25$1=["onClick"],_hoisted_26$1=["src"],_hoisted_27$1={class:"flex-1 flex items-center justify-center bg-gray-200 h-full"},_hoisted_28$1=["src"],_hoisted_29$1={class:"flex flex-col group max-w-full"},_hoisted_30$1={class:"flex flex-col items-start bg-primary-gradient rounded-lg"},_hoisted_31$1={class:"w-full"},_hoisted_32$1={key:0,class:"loading-anchor"},_hoisted_33$1={class:"flex flex-col items-start"},_hoisted_34$1={class:"w-full"},_hoisted_35$1=["innerHTML"],_hoisted_36$1={class:"flex flex-wrap mt-4"},_hoisted_37$1=["src","alt","onClick"],_hoisted_38$1={class:"mb-1 mt-2 flex items-center justify-between w-full"},_hoisted_39$1={class:"flex items-center"},_hoisted_40$1=createBaseVNode("div",null,"换一组",-1),_hoisted_41$1=[_hoisted_40$1],_hoisted_42$1={class:"flex items-center"},_hoisted_43$1=["disabled"],_hoisted_44$1=["src"],_hoisted_45$1={class:"flex opacity-0 transition-opacity duration-300 group-hover:opacity-100 text-gray-700"},_hoisted_46$1={class:"mt-1 flex"},_hoisted_47$1={class:"flex text-sm"},_hoisted_48$1={class:"flex text-sm"},_sfc_main$b=defineComponent({__name:"AiPpt",props:{error:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},model:{},drawId:{},customId:{},modelName:{}},emits:["regenerate","delete","copy"],setup(k,{expose:m,emit:M}){const G=ref(!1),V=inject("onConversation"),q=ref({title:"",catalogs:[{catalog:"",sub_catalog:[""]}]}),$=ref([""]),D=computed(()=>B.fileInfo?B.fileInfo.split(","):[]),B=k,R=M;useBasicLayout();let U;const K=ref(!1),z=ref(!1),e=ref(0),ae=()=>{q.value=JSON.parse(B.customId),K.value=!0},ie=()=>{B.customId&&($.value=JSON.parse(B.customId)),console.log("customImageUrls:",$.value),z.value=!0},he=()=>{z.value=!1},J=()=>{K.value=!1},X=async()=>{K.value=!1;try{await V({msg:"使用大纲生成 PPT",action:"PPTCREATE",customId:q.value,modelType:2,model:"ai-ppt",modelName:"AiPPT",extraParam:{color:ke.value,style:xe.value,cover_id:fe.value,complex:ve.value}}),console.log("PPT生成请求已发送")}catch(Ae){console.error("PPT生成请求失败:",Ae)}};watch(()=>B.status,Ae=>{U!==void 0&&(clearInterval(U),U=void 0),Ae===2&&(U=window.setInterval(async()=>{await ce.queryActiveChatLogList(),B.customId&&($.value=JSON.parse(B.customId))},5e3))},{immediate:!0}),watch(()=>B.text,Ae=>{Ae&&Ae.length>20&&_e()}),onMounted(()=>{B.text&&B.text.length>20&&_e(),B.customId&&($.value=JSON.parse(B.customId))}),onUnmounted(()=>{U!==void 0&&clearInterval(U)}),onUnmounted(()=>{clearInterval(U)});const W=()=>{const Ae=document.createElement("a");Ae.href=D.value[0],Ae.download="PPT文件.ppt",document.body.appendChild(Ae),Ae.click(),document.body.removeChild(Ae)},L=Ae=>{e.value=Ae},Q=ref(),ce=useChatStore(),de=new MarkdownIt({linkify:!0,highlight(Ae,De){if(!!(De&&HighlightJS.getLanguage(De))){const we=De??"";return se(HighlightJS.highlight(Ae,{language:we}).value,we)}return se(HighlightJS.highlightAuto(Ae).value,"")}});de.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),de.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const oe=computed(()=>{const Ae=B.text??"";return B.asRawText?Ae:de.render(Ae)});function se(Ae,De){return`
      ${De}${t$3("chat.copyCode")}
      ${Ae}
      `}function me(){R("copy")}function Ee(){R("delete")}const ke=ref(""),xe=ref(""),fe=ref(""),ve=ref(""),ye=[{label:"简单",value:"1"},{label:"中等",value:"2"},{label:"复杂",value:"3"}],Ce=Ae=>{ve.value=Ae.value},pe=ref(""),_e=async()=>{try{G.value=!0,fe.value="",console.log("PPT封面生成请求已发送",B.customId);const Ae=await fetchPptCoverAPIProcess({title:JSON.parse(B.customId).title,color:"",style:""});pe.value=Ae.data,console.log("PPT封面生成请求已发送",Ae.data),G.value=!1}catch(Ae){console.error("PPT封面生成请求失败:",Ae),G.value=!1}},Ge=Ae=>{fe.value=Ae.cover_id,console.log("点击了封面:",Ae)},Te=()=>{q.value.catalogs.push({catalog:"小标题",sub_catalog:[" "," "]})},Ne=Ae=>{q.value.catalogs[Ae].sub_catalog.push(" ")},Ze=(Ae,De)=>{const Ue=q.value.catalogs[Ae].sub_catalog;Ue.length>De&&(Ue.splice(De,1),q.value.catalogs[Ae].sub_catalog=[...Ue])},ze=Ae=>{q.value.catalogs.splice(Ae,1)};return m({textRef:Q}),(Ae,De)=>{const Ue=resolveComponent("Down"),we=resolveComponent("Button");return openBlock(),createElementBlock(Fragment$1,null,[K.value?(openBlock(),createElementBlock("div",_hoisted_1$c,[createBaseVNode("div",_hoisted_2$b,[_hoisted_3$a,createBaseVNode("div",_hoisted_4$8,[createBaseVNode("div",_hoisted_5$7,[createBaseVNode("div",_hoisted_6$7,[_hoisted_7$7,withDirectives(createBaseVNode("input",{type:"text","onUpdate:modelValue":De[0]||(De[0]=Ie=>q.value.title=Ie),class:"flex-1 p-2 text-lg font-semibold"},null,512),[[vModelText,q.value.title]])]),(openBlock(!0),createElementBlock(Fragment$1,null,renderList(q.value.catalogs,(Ie,Be)=>(openBlock(),createElementBlock("div",{key:Be,class:"mb-4 p-4 border rounded-md shadow-sm relative"},[createBaseVNode("div",_hoisted_8$6,[createBaseVNode("label",_hoisted_9$6,"章节 "+toDisplayString(Be+1),1),withDirectives(createBaseVNode("input",{type:"text","onUpdate:modelValue":Ke=>Ie.catalog=Ke,class:"flex-1 p-2 border rounded-md"},null,8,_hoisted_10$5),[[vModelText,Ie.catalog]]),createBaseVNode("button",{onClick:Ke=>ze(Be),class:"ml-2 px-3 py-1 bg-red-500 hover:bg-red-700 text-white rounded-md"}," 删除 ",8,_hoisted_11$5),createBaseVNode("button",{onClick:Ke=>Ne(Be),class:"ml-2 px-3 py-1 bg-blue-500 hover:bg-blue-700 text-white rounded-md"}," 添加小节 ",8,_hoisted_12$4)]),createBaseVNode("div",_hoisted_13$3,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(Ie.sub_catalog,(Ke,Ve)=>(openBlock(),createElementBlock("div",{key:Ve,class:"flex items-center mb-2"},[withDirectives(createBaseVNode("input",{type:"text","onUpdate:modelValue":je=>Ie.sub_catalog[Ve]=je,class:"flex-1 p-2 border rounded-md"},null,8,_hoisted_14$3),[[vModelText,Ie.sub_catalog[Ve]]]),createBaseVNode("button",{onClick:je=>Ze(Be,Ve),class:"ml-2 px-3 py-1 bg-red-500 hover:bg-red-700 text-white rounded-md"}," 删除 ",8,_hoisted_15$3)]))),128))])]))),128))])]),createBaseVNode("div",_hoisted_16$3,[createBaseVNode("div",_hoisted_17$3,[createBaseVNode("div",_hoisted_18$3,[createVNode(unref(ge),{as:"div",class:"relative ml-4"},{default:withCtx(()=>[createBaseVNode("div",null,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-500"},{default:withCtx(()=>{var Ie;return[createTextVNode(toDisplayString(((Ie=ye.find(Be=>Be.value===ve.value))==null?void 0:Ie.label)||"选择复杂度")+" ",1),createVNode(Ue,{size:"18"})]}),_:1})]),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute left-0 bottom-full w-20 z-10 origin-top-left divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900 overflow-y-auto",style:{maxHeight:"60vh"}},{default:withCtx(()=>[createBaseVNode("div",_hoisted_19$2,[(openBlock(),createElementBlock(Fragment$1,null,renderList(ye,(Ie,Be)=>createVNode(unref(be),{key:Be},{default:withCtx(()=>[createBaseVNode("div",{class:"group",onClick:Ke=>Ce(Ie)},[createBaseVNode("a",_hoisted_21$1,toDisplayString(Ie.label),1)],8,_hoisted_20$2)]),_:2},1024)),64))])]),_:1})]),_:1})]),_:1})]),createBaseVNode("div",{class:"flex justify-end"},[createBaseVNode("button",{onClick:J,class:"px-4 py-2 bg-gray-500 hover:bg-gray-700 text-white rounded-md mr-4"}," 取消 "),createBaseVNode("button",{onClick:Te,class:"px-4 py-2 bg-primary-500 hover:bg-primary-700 text-white rounded-md mr-4"}," 插入章节 "),createBaseVNode("button",{onClick:X,class:"px-4 py-2 bg-primary-500 hover:bg-primary-700 text-white rounded-md"}," 生成PPT ")])])])])])):createCommentVNode("",!0),z.value?(openBlock(),createElementBlock("div",_hoisted_22$1,[createBaseVNode("div",_hoisted_23$1,[createBaseVNode("div",_hoisted_24$1,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList($.value,(Ie,Be)=>(openBlock(),createElementBlock("div",{key:Be,class:"mb-4 cursor-pointer",onClick:Ke=>L(Be)},[createBaseVNode("img",{src:Ie.url,class:normalizeClass(["w-full h-auto border-2",{"border-primary-500":e.value===Be}])},null,10,_hoisted_26$1)],8,_hoisted_25$1))),128))]),createBaseVNode("div",_hoisted_27$1,[createBaseVNode("img",{src:$.value[e.value].url,class:"max-h-full max-w-full px-6"},null,8,_hoisted_28$1)])]),createBaseVNode("div",{class:"absolute top-4 right-4 h-10"},[createBaseVNode("button",{onClick:he,class:"px-4 py-1 mr-4 h-8 rounded-md border border-1 border-primary-500 text-primary-500"}," 关闭 "),createBaseVNode("button",{onClick:W,class:"px-4 py-1 mr-2 bg-primary-500 h-8 border-1 border-primary-500 text-white rounded-md"}," 下载PPT ")])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_29$1,[createBaseVNode("div",{ref_key:"textRef",ref:Q,class:"leading-relaxed break-words"},[createBaseVNode("div",_hoisted_30$1,[createBaseVNode("div",_hoisted_31$1,[Ae.status===2&&!oe.value?(openBlock(),createElementBlock("span",_hoisted_32$1)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_33$1,[createBaseVNode("div",_hoisted_34$1,[createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":Ae.status===1||Ae.status===2||!oe.value}]),innerHTML:oe.value},null,10,_hoisted_35$1)])])]),createBaseVNode("div",_hoisted_36$1,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(pe.value,(Ie,Be)=>(openBlock(),createElementBlock("div",{key:Be,class:"p-2 w-1/2 sm:w-1/2 md:w-1/3"},[createBaseVNode("img",{src:Ie.cover_image,alt:"封面"+(Be+1),class:normalizeClass({"w-full h-auto object-cover cursor-pointer border-4 rounded-lg":!0,"border-primary-500":fe.value===Ie.cover_id,"hover:border-primary-500":fe.value!==Ie.cover_id}),onClick:Ke=>Ge(Ie)},null,10,_hoisted_37$1)]))),128))]),createBaseVNode("div",_hoisted_38$1,[createBaseVNode("div",_hoisted_39$1,[G.value?(openBlock(),createBlock(unref(LoadingFour),{key:0,size:"24",class:"rotate-icon text-primary-500 ml-3"})):createCommentVNode("",!0),Ae.status===3&&oe.value.length>20&&!G.value?(openBlock(),createElementBlock("button",{key:1,onClick:_e,class:"ml-2 rounded-md py-2 px-3 text-primary-500"},_hoisted_41$1)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_42$1,[Ae.status===3&&oe.value.length>20?(openBlock(),createElementBlock("button",{key:0,onClick:ae,class:normalizeClass({"shadow rounded-md py-2 px-5 mr-2":!0,"bg-primary-500 text-white cursor-pointer":fe.value,"bg-gray-300 text-gray-500 cursor-not-allowed":!fe.value}),disabled:!fe.value}," 使用 ",10,_hoisted_43$1)):createCommentVNode("",!0),Ae.status===3&&Ae.fileInfo?(openBlock(),createElementBlock("img",{key:1,src:$.value[0].url,class:"rounded-md shadow",style:{maxWidth:"100%",maxHeight:"30vh"},onClick:ie},null,8,_hoisted_44$1)):createCommentVNode("",!0)])])])],512),createBaseVNode("div",_hoisted_45$1,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_46$1,[createVNode(we,{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:me},{default:withCtx(()=>[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_47$1,toDisplayString(unref(t$3)("chat.copy")),1)]),_:1}),createVNode(we,{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:Ee},{default:withCtx(()=>[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_48$1,toDisplayString(unref(t$3)("chat.delete")),1)]),_:1})])])])])],64)}}}),AiPpt_vue_vue_type_style_index_0_lang="";function copyText(k){const m={origin:!0,...k};let M;m.origin?M=document.createElement("textarea"):M=document.createElement("input"),M.setAttribute("readonly","readonly"),M.value=m.text,document.body.appendChild(M),M.select(),document.execCommand("copy")&&document.execCommand("copy"),document.body.removeChild(M)}const _hoisted_1$b={class:"flex items-center justify-center flex-shrink-0 mr-2"},_hoisted_2$a={class:"overflow-hidden text-sm items-start w-full"},_hoisted_3$9={class:"flex items-end gap-1 flex-row"},_sfc_main$a=defineComponent({__name:"index",props:{chatId:{},dateTime:{},text:{},model:{},modelName:{},modelType:{},status:{},inversion:{type:Boolean},loading:{type:Boolean},fileInfo:{},ttsUrl:{},videoUrl:{},audioUrl:{},drawId:{},extend:{},customId:{},modelAvatar:{},action:{},taskData:{},pluginParam:{},index:{},promptReference:{},isLast:{type:Boolean}},emits:["regenerate","delete"],setup(k,{emit:m}){const M=k,G=m,V=useMessage(),q=ref(),$=ref(M.inversion),D=ref();function B(){G("delete")}function R(){copyText({text:M.text??""}),M.text&&V.success("复制成功!")}function U(){var K;(K=D.value)==null||K.scrollIntoView(),G("regenerate")}return(K,z)=>(openBlock(),createElementBlock("div",{ref_key:"messageRef",ref:D,class:"flex w-full my-2 overflow-hidden items-start flex-row"},[createVNode(unref(NTooltip),{trigger:"hover",placement:"top-start"},{trigger:withCtx(()=>[createBaseVNode("div",_hoisted_1$b,[K.inversion?createCommentVNode("",!0):(openBlock(),createBlock(_sfc_main$j,{key:0,image:K.inversion,model:K.model,modelAvatar:K.modelAvatar},null,8,["image","model","modelAvatar"]))])]),default:withCtx(()=>[createTextVNode(" "+toDisplayString(K.modelName),1)]),_:1}),createBaseVNode("div",_hoisted_2$a,[createBaseVNode("div",_hoisted_3$9,[K.pluginParam==="mind-map"&&!K.inversion?(openBlock(),createBlock(_sfc_main$g,{key:0,ref_key:"textRef",ref:q,inversion:K.inversion,drawId:K.drawId,extend:K.extend,customId:K.customId,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,model:K.model,modelName:K.modelName,loading:K.loading,status:K.status,"as-raw-text":$.value,onRegenerate:U,onCopy:R,onDelete:B},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):(K.model==="luma-video"||K.model==="cog-video")&&!K.inversion?(openBlock(),createBlock(_sfc_main$c,{key:1,ref_key:"textRef",ref:q,inversion:K.inversion,drawId:K.drawId,extend:K.extend,customId:K.customId,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,audioUrl:K.audioUrl,videoUrl:K.videoUrl,model:K.model,modelName:K.modelName,loading:K.loading,status:K.status,"as-raw-text":$.value,action:K.action,taskData:K.taskData,modelAvatar:K.modelAvatar,onRegenerate:U,onCopy:R,onDelete:B},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","audioUrl","videoUrl","model","modelName","loading","status","as-raw-text","action","taskData","modelAvatar"])):K.model==="suno-music"&&!K.inversion?(openBlock(),createBlock(_sfc_main$f,{key:2,ref_key:"textRef",ref:q,inversion:K.inversion,drawId:K.drawId,extend:K.extend,customId:K.customId,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,audioUrl:K.audioUrl,videoUrl:K.videoUrl,model:K.model,modelName:K.modelName,loading:K.loading,status:K.status,"as-raw-text":$.value,action:K.action,taskData:K.taskData,modelAvatar:K.modelAvatar,onRegenerate:U,onCopy:R,onDelete:B},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","audioUrl","videoUrl","model","modelName","loading","status","as-raw-text","action","taskData","modelAvatar"])):K.model==="ai-ppt"&&!K.inversion?(openBlock(),createBlock(_sfc_main$b,{key:3,ref_key:"textRef",ref:q,inversion:K.inversion,drawId:K.drawId,extend:K.extend,customId:K.customId,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,model:K.model,modelName:K.modelName,loading:K.loading,status:K.status,"as-raw-text":$.value,onRegenerate:U,onCopy:R,onDelete:B},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):K.modelType===2&&!K.inversion?(openBlock(),createBlock(_sfc_main$i,{key:4,ref_key:"textRef",ref:q,inversion:K.inversion,drawId:K.drawId,extend:K.extend,customId:K.customId,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,model:K.model,modelName:K.modelName,loading:K.loading,status:K.status,"as-raw-text":$.value,onRegenerate:U,onCopy:R,onDelete:B},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):(openBlock(),createBlock(_sfc_main$d,{key:5,ref_key:"textRef",ref:q,index:K.index,modelName:K.modelName,chatId:K.chatId,inversion:K.inversion,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,model:K.model,loading:K.loading,"as-raw-text":$.value,promptReference:K.promptReference,isLast:K.isLast,onRegenerate:U,onCopy:R,onDelete:B},null,8,["index","modelName","chatId","inversion","text","modelType","fileInfo","ttsUrl","model","loading","as-raw-text","promptReference","isLast"]))])])],512))}}),defaultPdfPreset=[{title:"文件概要总结",prompt:"为当前文件生成简短的概要,概述主要内容和关键点。",icon:"ri:booklet-line"},{title:"提取大纲结构",prompt:"自动提取文件中的章节和子章节,列出文件的大纲结构。",icon:"ri:layout-line"},{title:"文件内容解析",prompt:"解析文件的内容,并提供每一章节的详细说明。",icon:"ri:file-list-2-line"},{title:"文章主题分析",prompt:"分析文件的核心主题,提供简要描述。",icon:"ri:lightbulb-line"},{title:"快速浏览",prompt:"提供文件的快速浏览,包括主要段落的摘录和关键论点。",icon:"ri:eye-line"},{title:"总结要点",prompt:"从文件中提取出最重要的要点和核心思想。",icon:"ri:focus-2-line"}],defaultPreset=[{title:"英语翻译官",prompt:"我希望你能担任英语翻译、拼写校对和修辞改进的角色。我会用任何语言和你交流,你会识别语言,将其翻译并用更为优美和精炼的英语回答我。请将我简单的词汇和句子替换成更为优美和高雅的表达方式,确保意思不变,但使其更具文学性。请仅回答更正和改进的部分,不要写解释。我的第一句话是“how are you ?”,请翻译它。",icon:"ri:ai-generate"},{title:"心理学家",prompt:"我想让你扮演一个心理学家。我会告诉你我的想法。我希望你能给我科学的建议,让我感觉更好。我的第一个想法,{ 在这里输入你的想法,如果你解释得更详细,我想你会得到更准确的答案。}",icon:"ri:heart-line"},{title:"产品经理",prompt:"请确认我的以下请求。请您作为产品经理回复我。我将会提供一个主题,您将帮助我编写一份包括以下章节标题的PRD文档:主题、简介、问题陈述、目标与目的、用户故事、技术要求、收益、KPI指标、开发风险以及结论。在我要求具体主题、功能或开发的PRD之前,请不要先写任何一份PRD文档。",icon:"ri:projector-line"},{title:"如何学做菜",prompt:"我要你做我的私人厨师。我会告诉你我的饮食偏好和过敏,你会建议我尝试的食谱。你应该只回复你推荐的食谱,别无其他。不要写解释。我的第一个请求是“我是一名素食主义者,我正在寻找健康的晚餐点子。”",icon:"ri:restaurant-line"},{title:"规划一个去上海的旅游攻略 参观博物馆",prompt:"我想让你做一个旅游指南。我会把我的位置写给你,你会推荐一个靠近我的位置的地方。在某些情况下,我还会告诉您我将访问的地方类型。您还会向我推荐靠近我的第一个位置的类似类型的地方。我的第一个建议请求是“我在上海,我只想参观博物馆。”",icon:"ri:map-pin-line"},{title:"穿越时空",prompt:"如果你能穿越时空,你会去哪个时代?",icon:"ri:time-line"},{title:"量子力学",prompt:"解释一下量子力学是什么?",icon:"ri:flask-line"},{title:"人工智能",prompt:"介绍一下人工智能的历史",icon:"ri:robot-line"},{title:"深度学习",prompt:"讲解一下深度学习是如何工作的?",icon:"ri:brain-line"},{title:"冯诺依曼体系结构",prompt:"请举例说明什么是冯诺依曼体系结构?",icon:"ri:computer-line"},{title:"红楼梦情感分析",prompt:"请分析《红楼梦》中林黛玉与贾宝玉的情感关系。",icon:"ri:book-2-line"},{title:"100米短跑训练",prompt:"如何训练才能提高100米短跑成绩?",icon:"ri:run-line"},{title:"北京旅游攻略",prompt:"请推荐一份适合初次来中国的外国人的北京旅游攻略。",icon:"ri:road-map-line"},{title:"低GI饮食",prompt:"什么是低GI饮食?这种饮食有哪些好处?",icon:"ri:restaurant-2-line",iconColor:"text-orange-500"},{title:"全球环境问题",prompt:"请列出目前全球主要面临的三大环境问题,并简单阐述其影响和应对措施。",icon:"ri:earth-line"},{title:"提高社交影响力",prompt:"在社交场合,如何提高自己的感染力和影响力?",icon:"ri:team-line"},{title:"地中海地理特征",prompt:"请描述一下地中海的地理特征,以及这些特征对于古代世界的影响。",icon:"ri:map-pin-line"},{title:"《肖申克的救赎》影评",prompt:"请评价电影《肖申克的救赎》的剧情、角色塑造和拍摄手法。",icon:"ri:film-line"},{title:"苹果公司成功分析",prompt:"为什么苹果公司的产品总是比其他公司的产品更受欢迎?请从市场策略、产品设计、品牌形象等方面进行分析。",icon:"ri:apple-line"},{title:"健康饮食计划",prompt:"如何制定一份健康的饮食计划?",icon:"ri:heart-line"},{title:"编程学习指南",prompt:"怎样学习编程?",icon:"ri:code-line"},{title:"巴厘岛旅游景点",prompt:"在巴厘岛旅游有哪些值得参观的景点?",icon:"ri:map-pin-2-line"},{title:"处理亲密关系分歧",prompt:"如何处理亲密关系中的分歧?",icon:"ri:heart-2-line"},{title:"费马大定理证明",prompt:"如何证明费马大定理?",icon:"ri:function-line"},{title:"吸烟相关疾病预防",prompt:"长期吸烟引起的疾病有哪些?应该如何预防?",icon:"ri:lungs-line"},{title:"克服拖延症",prompt:"如何克服拖延症?",icon:"ri:time-line"},{title:"减少家庭垃圾",prompt:"如何减少家庭垃圾产生?",icon:"ri:recycle-line"},{title:"股票价值评估",prompt:"如何评估股票的价值?",icon:"ri:stock-line"},{title:"自信的社交表现",prompt:"如何在社交场合自信地表现自己?",icon:"ri:team-line"},{title:"推荐科幻电影",prompt:"给我一个最近评分不错的科幻电影的名字和简介",icon:"ri:movie-line"},{title:"英文翻译校对",prompt:"将下面这句英文翻译成中文并纠正其中的语法错误:'Me and him goes to the store yesterday.'",icon:"ri:translate-2",iconColor:"text-orange-500"},{title:"科技类大市值股票",prompt:"给我一些市值超过1000亿美元的科技类股票",icon:"ri:bar-chart-box-line"},{title:"商品销售量预测",prompt:"基于历史销售数据,预测下周某商品的销售量。",icon:"ri:line-chart-line",iconColor:"text-cyan-500"},{title:"思念诗歌创作",prompt:"请用七言绝句写一首表达思念之情的诗歌。",icon:"ri:quill-pen-line"},{title:"情侣约会餐厅推荐",prompt:"给我一个适合情侣约会的餐厅的名字和地址。",icon:"ri:restaurant-2-line"},{title:"西班牙旅游行程规划",prompt:"我计划去西班牙旅游,请帮我安排一个10天的行程。",icon:"ri:suitcase-3-line",iconColor:"text-orange-500"},{title:"电影分类归类",prompt:"将电影从爱情片、动作片和恐怖片三种分类中分别归类。",icon:"ri:film-line"},{title:"豆腐美食推荐",prompt:"推荐一道以豆腐为主要原料的美食,附上制作方法。",icon:"ri:restaurant-line"},{title:"流行华语歌曲推荐",prompt:"推荐最近流行的三首华语歌曲,并简要介绍它们的风格和歌词主题。",icon:"ri:music-line"},{title:"减少塑料污染生活指南",prompt:"请提供三条减少塑料污染的生活指南。",icon:"ri:leaf-line"},{title:"团队合作处理矛盾",prompt:"如何在团队合作中处理与同事之间的矛盾?",icon:"ri:team-line"},{title:"前景股票投资",prompt:"你认为现在买入哪些股票比较有前景?",icon:"ri:stock-line"},{title:"科幻片推荐",prompt:"你能否给我推荐一部最近上映的好看的科幻片?",icon:"ri:film-line"},{title:"三亚旅游攻略",prompt:"希望去三亚旅游,你能提供一份详细的旅游攻略吗?",icon:"ri:suitcase-2-line",iconColor:"text-orange-500"},{title:"意大利面烹饪技巧",prompt:"我想学做意大利面,你有什么简单易学的做法推荐吗?",icon:"ri:restaurant-line"},{title:"缓解焦虑的方法",prompt:"我感到很紧张,有什么方法能够缓解焦虑吗?",icon:"ri:heart-pulse-line"},{title:"电商平台投诉处理",prompt:"我在某电商平台购买的商品质量不佳,该如何向平台进行投诉处理?",icon:"ri:feedback-line"},{title:"有效学外语的方法",prompt:"你觉得学外语最有效的方法是什么?",icon:"ri:translate-2"},{title:"职场发展建议",prompt:"我正在寻找新的工作机会,有哪些职业领域前景较好?",icon:"ri:briefcase-line",iconColor:"text-cyan-500"},{title:"日本旅游攻略",prompt:"提供至少三个去日本旅游必去的景点,并描述其特色和适合的旅游时间。",icon:"ri:map-pin-line"},{title:"提高保险销售业绩",prompt:"如何提高保险销售员的业绩?",icon:"ri:money-dollar-box-line"},{title:"公司网站改版建议",prompt:"公司网站需要进行改版,请列举至少五个需要更新的页面元素并说明更新的理由。",icon:"ri:layout-5-line"},{title:"印度首都查询",prompt:"请问印度的首都是哪里?",icon:"ri:flag-line"},{title:"红旗渠修建历史",prompt:"请问红旗渠修建的时间和地点分别是什么?",icon:"ri:history-line"},{title:"DNA结构与功能",prompt:"请简要介绍一下DNA的结构及其功能。",icon:"ri:dna-line"},{title:"GDP定义与计算",prompt:"请问什么是GDP?如何计算GDP?",icon:"ri:bar-chart-2-line"},{title:"原子核组成",prompt:"请问原子核由哪些粒子组成?它们各自的电荷和质量分别是多少?",icon:"ri:leaf-line"},{title:"莫扎特代表作",prompt:"请问莫扎特的代表作有哪些?",icon:"ri:music-2-line"},{title:"汉字词源",prompt:"请问“汉字”这个词最早出现的时间和在哪本书中出现的?",icon:"ri:book-line",iconColor:"text-orange-500"},{title:"全运会历史",prompt:"请问全运会是哪年开始举办的?每隔几年举办一次?",icon:"ri:football-line"},{title:"石油用途",prompt:"请问石油的主要用途有哪些?",icon:"ri:oil-line"},{title:"心脏起搏器介绍",prompt:"请简要介绍一下心脏起搏器的原理和使用方法。",icon:"ri:heart-2-line",iconColor:"text-cyan-500"},{title:"观众情感分析",prompt:"这部电影的观众反应如何?",icon:"ri:emotion-laugh-line"},{title:"沙滩美景短文",prompt:"请写出一篇描述橙色阳光下沙滩美景的短文。",icon:"ri:sun-line",iconColor:"text-orange-500"},{title:"亚马逊财报数据查询",prompt:"亚马逊公司的年度财报数据是多少?",icon:"ri:money-dollar-box-line"},{title:"苹果新产品新闻",prompt:"请问最近有关于苹果公司新发布产品的新闻吗?",icon:"ri:apple-line"},{title:"一加与华为手机性能对比",prompt:"请比较一加手机和华为手机的性能差异。",icon:"ri:smartphone-line"},{title:"文章主要观点提取",prompt:"请从这篇文章中提取出主要观点。",icon:"ri:article-line"},{title:"用户意图分类",prompt:"用户输入“我想要预定机票”,它的意图是什么?",icon:"ri:question-line"},{title:"文章可读性修改",prompt:"请编辑这篇文章,使得它更易读。",icon:"ri:edit-line"},{title:"星期推理",prompt:"如果今天是星期三,那么后天是星期几?",icon:"ri:calendar-line",iconColor:"text-cyan-500"},{title:"微软创始人查询",prompt:"谁创办了微软公司?",icon:"ri:building-4-line"},{title:"电影类型分类",prompt:"这个电影是哪个类型的?",icon:"ri:film-line"},{title:"乐器描述",prompt:"描述一下你最喜欢的乐器。",icon:"ri:music-line",iconColor:"text-orange-500"},{title:"句子改写",prompt:"请改写这句话:“天空飘着几朵云彩。”",icon:"ri:edit-2-line"},{title:"书籍对比",prompt:"这本书和那本书有什么区别?",icon:"ri:book-line"},{title:"自然风景描写",prompt:"写一段自然风景的描写。",icon:"ri:landscape-line"},{title:"音乐年代分类",prompt:"这首歌曲属于哪个年代的音乐?",icon:"ri:music-2-line"},{title:"餐厅美食对比",prompt:"这家餐厅和那家餐厅哪家更好吃?",icon:"ri:restaurant-line"},{title:"电影喜好",prompt:"把这句话翻译成英文:“我喜欢看电影,尤其是科幻电影。”",icon:"ri:movie-line"},{title:"理想度假胜地描述",prompt:"描述一下你理想中的度假胜地。",icon:"ri:tree-line",iconColor:"text-orange-500"},{title:"动物分类",prompt:"这个动物属于哪个门类?",icon:"ri:bug-line"},{title:"新闻摘要生成",prompt:"请问如何利用 GPT-3.5 生成一篇 100 字左右的新闻摘要?",icon:"ri:newspaper-line"},{title:"自动翻译实现",prompt:"请问如何让 GPT-3.5 实现从中文到英文的自动翻译?",icon:"ri:translate"},{title:"全球医疗保健评价",prompt:"你如何评价当前全球范围内的医疗保健体系?",icon:"ri:stethoscope-line"},{title:"文化多样性保护",prompt:"请问有哪些国家在法律层面上保护本国的文化多样性?",icon:"ri:global-line"},{title:"新能源普及国家",prompt:"现今世界上使用新能源最为普及的国家是哪些?",icon:"ri:flashlight-line"},{title:"股市走势预测",prompt:"你认为全球股市未来一个季度会走势如何?",icon:"ri:line-chart-line",iconColor:"text-orange-500"},{title:"前沿科技研究",prompt:"请列举一些目前全球前沿的科技研究领域。",icon:"ri:rocket-line"},{title:"社交媒体影响",prompt:"社交媒体对年轻人的影响有哪些?",icon:"ri:chat-3-line"},{title:"电商平台市场份额",prompt:"当前哪些电商平台在全球拥有最大的市场份额?",icon:"ri:shopping-cart-line",iconColor:"text-cyan-500"},{title:"气候变化影响",prompt:"气候变化对世界各地造成了哪些影响?",icon:"ri:sun-cloudy-line"},{title:"全球顶尖大学排名",prompt:"请问哪些国家拥有全球最顶尖的大学排名?",icon:"ri:school-line",iconColor:"text-orange-500"},{title:"手机发明者",prompt:"手机是谁发明的?",icon:"ri:smartphone-line"},{title:"旅行故事创作",prompt:"给我写一个关于旅行的故事。",icon:"ri:suitcase-3-line"},{title:"文章情感分析",prompt:"这篇文章中的情感倾向是积极、消极还是中性?",icon:"ri:emotion-line"},{title:"拼写错误纠正",prompt:"句子中的哪个单词拼写有误:“昨天我去了餐馆,品尝了他们的招牌菜。”",icon:"ri:check-line"},{title:"文章摘要生成",prompt:"请为这篇长文章生成一段简要的摘要。",icon:"ri:file-text-line"},{title:"任务执行指令",prompt:"请告诉我现在怎么做。",icon:"ri:task-line",iconColor:"text-orange-500"},{title:"明朝社会阶层研究",prompt:"针对明朝时期的社会阶层结构,你能列出几种不同的人群并描述他们的特征吗?",icon:"ri:book-line",iconColor:"text-brown-500"},{title:"物种区别解释",prompt:"两个相似物种的区别在哪里?请用一种易于理解的方式解释。",icon:"ri:leaf-line"},{title:"政治参与度分析",prompt:"哪些因素影响政治参与度?你认为如何激发公民参与政治?",icon:"ri:government-line"},{title:"情感分析技术",prompt:"如何利用自然语言处理技术进行情感分析?您可以列举一些常见的情感分析算法和应用场景吗?",icon:"ri:emotion-line"},{title:"经济发展水平衡量",prompt:"如何衡量一个国家的经济发展水平?您如何评估不同国家之间的贸易关系?",icon:"ri:money-dollar-circle-line"},{title:"机器学习简介",prompt:"讲述一下什么是机器学习,以及它在现代计算机科学中扮演的角色。",icon:"ri:robot-line"},{title:"气候变化影响",prompt:"近年来,气候变化对我们的环境造成了哪些影响?未来还可能会引起哪些灾难?",icon:"ri:sun-cloudy-line"},{title:"创新教育方法",prompt:"教师应该如何培养学生的创新思维和实践能力?您认为有效的教育方法是什么?",icon:"ri:lightbulb-line",iconColor:"text-orange-500"},{title:"学习心理素质",prompt:"学习一门新技能需要哪些心理素质?如何在学习过程中保持积极的情绪状态?",icon:"ri:psychotherapy-line"},{title:"未来科技趋势",prompt:"未来科技发展的趋势是什么?您认为会有哪些领域会得到革命性的改变?",icon:"ri:rocket-line"},{title:"电影推荐",prompt:"根据我的口味推荐一部近期上映的电影。",icon:"ri:film-line"},{title:"手机产品比较",prompt:"请分析一下 iPhone 和 Android 手机的优缺点,说明它们适合不同的用户群体。",icon:"ri:smartphone-line"},{title:"新闻头条创作",prompt:"请为明天的头条新闻写一个简短但有吸引力的标题,并提出三个相关问题。",icon:"ri:newspaper-line",iconColor:"text-orange-500"},{title:"市场零食品牌分析",prompt:"请列举五种最受欢迎的零食品牌,并分析其在市场上的竞争优势。",icon:"ri:shopping-bag-line"},{title:"自然之美短文",prompt:"请根据以下关键词写一篇题为“自然之美”的 300 字左右的短文:山水、湖泊、森林、鸟儿、日出日落。",icon:"ri:palette-line"},{title:"英文文本编辑",prompt:"翻译以下这段英文,同时对其进行适当的调整和编辑:He was lay down.",icon:"ri:edit-line"},{title:"近期电影推荐",prompt:"可以给我推荐几部最近比较值得观看的电影吗?",icon:"ri:film-line"},{title:"马克思主义知识问答",prompt:"马克思主义的基本原理是什么?",icon:"ri:questionnaire-line"},{title:"北京旅游攻略",prompt:"如果想去北京旅游,有哪些必去的景点和美食呢?",icon:"ri:road-map-line",iconColor:"text-orange-500"},{title:"经济形势分析",prompt:"分析一下目前国内外经济形势,对未来的发展有何预测?",icon:"ri:line-chart-line"},{title:"文章情感分类",prompt:"这篇文章是正面的还是负面的?",icon:"ri:emotion-line"},{title:"写作效率提升方法",prompt:"有哪些方法可以提高写作效率?",icon:"ri:keyboard-box-line"},{title:"电子书与纸质书对比",prompt:"阅读电子书和纸质书有什么区别?",icon:"ri:book-2-line"},{title:"论文语法修改",prompt:"请帮我修改这篇论文中的语法错误。",icon:"ri:file-edit-line"},{title:"人工智能知识查询",prompt:"什么是人工智能?",icon:"ri:robot-line"},{title:"实体识别",prompt:"在这段文字中,'苹果'指的是手机品牌还是水果?",icon:"ri:barcode-box-line"},{title:"文章主题分类",prompt:"这篇文章的主题是什么?",icon:"ri:layout-line",iconColor:"text-orange-500"},{title:"文章摘要生成",prompt:"请用一句话概括这篇文章的核心内容。",icon:"ri:file-text-line"},{title:"新上映电影推荐",prompt:"有哪些值得一看的新上映电影?",icon:"ri:movie-line"},{title:"欧洲杯赛程",prompt:"请列出近期欧洲杯足球赛程表。",icon:"ri:trophy-line",iconColor:"text-gold-500"},{title:"健康饮食方案",prompt:"有哪些适合控制体重的健康饮食方案?",icon:"ri:restaurant-line",iconColor:"text-orange-500"},{title:"日本旅游攻略",prompt:"如果我想去日本旅游,应该怎样规划我的行程和预算?",icon:"ri:suitcase-line"},{title:"最新科技新闻",prompt:"有哪些最近的科技进展值得关注?",icon:"ri:news-line"},{title:"编程语言选择",prompt:"当你需要开发一个新项目时,该如何选择合适的编程语言?",icon:"ri:code-box-line"},{title:"健康饮食搭配",prompt:"请问在平衡健康饮食方面,应该怎样搭配膳食结构?",icon:"ri:restaurant-2-line"},{title:"科技公司伦理标准",prompt:"微软、谷歌等科技公司是否有明确的伦理标准?如果有,请简要列举这些标准。",icon:"ri:shield-check-line"},{title:"机器人研究方向",prompt:"机器人研究领域都包括哪些方向?",icon:"ri:robot-line"},{title:"气候变化影响",prompt:"你认为气候变化对人类有哪些不利影响?",icon:"ri:cloud-windy-line"}],_hoisted_1$a={class:"mb-10 rounded px-4 py-2 text-center text-3xl font-bold text-primary-500"},_hoisted_2$9={key:0,class:"w-full md:max-w-[40rem]"},_hoisted_3$8=["onClick"],_hoisted_4$7={class:"mt-8 line-clamp-2 break-all overflow-hidden text-gray-600 dark:text-gray-500 flex-grow text-sm"},_sfc_main$9=defineComponent({__name:"index",setup(k){var ie;const m=inject("onConversation"),M=useAuthStore(),G=useChatStore(),V=computed(()=>G.groupList),{isMobile:q}=useBasicLayout(),$=ref(),D=useRoute(),B=computed(()=>{var he;return Number((he=M.globalConfig)==null?void 0:he.isHideDefaultPreset)===1}),R=()=>{if(D.path==="/pdf"){$.value=defaultPdfPreset.sort(()=>.5-Math.random()).slice(0,4);return}else $.value=defaultPreset.sort(()=>.5-Math.random()).slice(0,4)};onMounted(()=>{R()}),onMounted(()=>{R()});const U=((ie=M.globalConfig)==null?void 0:ie.siteName)||"AIWeb",K=computed(()=>D.path==="/pdf"),z=inject("createNewChatGroup",()=>Promise.resolve());async function e(he){V.value.length===0&&await z();const{appId:J,prompt:X}=he;if(J&&J>0)try{await G.addNewChatGroup(J),await G.queryMyGroup()}catch{}else m({msg:X})}const ae=()=>{const he=["text-red-500","text-blue-500","text-green-500","text-yellow-500","text-purple-500","text-pink-500","text-indigo-500"];return he[Math.floor(Math.random()*he.length)]};return(he,J)=>(openBlock(),createElementBlock("div",{class:normalizeClass([[unref(q)?"mb-16":"mt-8"],"px-4 select-none w-full flex flex-col items-center justify-center h-full"])},[createBaseVNode("h1",_hoisted_1$a,toDisplayString(unref(U)),1),B.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_2$9,[createBaseVNode("div",{class:normalizeClass([K.value?"grid-cols-2 mx-2":"grid-cols-2 sm:grid-cols-2 lg:grid-cols-4","grid gap-4"])},[(openBlock(!0),createElementBlock(Fragment$1,null,renderList($.value,X=>(openBlock(),createElementBlock("div",{key:X.title,class:"space-y-4"},[createBaseVNode("button",{onClick:W=>e(X),class:"relative shadow-sm flex flex-col gap-2 rounded-xl ring-1 ring-gray-200 dark:ring-gray-700 px-3 pb-4 pt-3 text-start align-top text-sm transition dark:bg-gray-800 dark:hover:bg-gray-750 hover:bg-gray-50 w-full h-full min-h-[4rem] min-w-[8rem] flex-grow"},[createVNode(unref(_sfc_main$k),{icon:X.icon,class:normalizeClass(["mb-3 inline-block text-base absolute top-3 left-3",ae()])},null,8,["icon","class"]),createBaseVNode("div",_hoisted_4$7,toDisplayString(X.title),1)],8,_hoisted_3$8)]))),128))],2)]))],2))}}),_hoisted_1$9={class:"w-full md:max-w-[40rem] mb-4"},_hoisted_2$8={class:"flex items-center justify-center"},_hoisted_3$7={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-lg"},_hoisted_4$6=["src"],_hoisted_5$6={class:"text-white text-sm md:text-lg"},_hoisted_6$6={class:"rounded px-4 py-2 text-3xl font-bold text-primary-500"},_hoisted_7$6={class:"w-full md:max-w-[40rem] mb-5"},_hoisted_8$5={class:"flex items-center justify-center"},_hoisted_9$5={class:"w-full md:max-w-[40rem] mt-2"},_hoisted_10$4={class:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-4 justify-center"},_hoisted_11$4=["onClick"],_hoisted_12$3={class:"mt-8 line-clamp-2 break-all overflow-hidden text-gray-600 dark:text-gray-500 flex-grow text-sm"},_sfc_main$8=defineComponent({__name:"index",props:{appId:{}},setup(k){const{isMobile:m}=useBasicLayout(),M=ref(null),G=k,V=inject("onConversation"),q=async B=>{try{const R=await fetchQueryOneCatAPI({id:B});M.value=R.data}catch{}};function $(B){var R;V({msg:B,model:(R=M==null?void 0:M.value)==null?void 0:R.model,modelAvatar:M.value.modelAvatar})}function D(){const B=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return B[Math.floor(Math.random()*B.length)]}return onMounted(()=>{G.appId&&q(G.appId)}),watch(()=>G.appId,B=>{B&&q(B)}),(B,R)=>{var U,K,z;return M.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([[unref(m)?"mb-16":"mt-8"],"px-4 select-none w-full flex flex-col items-center justify-center h-full"])},[createBaseVNode("div",_hoisted_1$9,[createBaseVNode("div",_hoisted_2$8,[M.value.coverImg?(openBlock(),createElementBlock("div",_hoisted_3$7,[createBaseVNode("img",{src:M.value.coverImg,class:"rounded-full w-10 h-10 mr-4",alt:"app-image"},null,8,_hoisted_4$6)])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([D(),"flex-shrink-0 dark:ring-gray-400 rounded-full w-10 h-10 flex items-center justify-center mr-4"])},[createBaseVNode("span",_hoisted_5$6,toDisplayString(M.value.name.slice(0,1)),1)],2)),createBaseVNode("h1",_hoisted_6$6,toDisplayString((U=M.value)==null?void 0:U.name),1)])]),createBaseVNode("div",_hoisted_7$6,[createBaseVNode("div",_hoisted_8$5,[createBaseVNode("p",null,toDisplayString((K=M.value)==null?void 0:K.des),1)])]),createBaseVNode("div",_hoisted_9$5,[createBaseVNode("div",_hoisted_10$4,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList((z=M.value)==null?void 0:z.demoData,(e,ae)=>(openBlock(),createElementBlock("div",{key:ae,class:"space-y-4"},[createBaseVNode("button",{onClick:ie=>$(e),class:"relative flex flex-col gap-2 rounded-xl border border-gray-200 dark:border-gray-800 px-3 pb-4 pt-3 text-start align-top text-sm shadow-sm transition dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-50 w-full h-full min-h-[4rem] min-w-[8rem] flex-grow"},[createVNode(unref(_sfc_main$k),{class:"mb-3 inline-block text-base absolute top-3 left-3",icon:"material-symbols:tips-and-updates-outline"}),createBaseVNode("div",_hoisted_12$3,toDisplayString(e),1)],8,_hoisted_11$4)]))),128))])])],2)):createCommentVNode("",!0)}}});var jszip_min={exports:{}};/*! +`),mv:"chirp-v4",make_instrumental:V.value,tags:q.value});await $({msg:`${z.value.title}`,action:"MUSIC",customId:Le,modelType:2,model:D.model||"suno-music",modelName:D.modelName||"AI音乐",modelAvatar:D.modelAvatar})}catch{}};watch(()=>D.status,Le=>{U!==void 0&&(clearInterval(U),U=void 0),Le===2&&(U=window.setInterval(async()=>{await Ne.queryActiveChatLogList()},5e3))},{immediate:!0}),onUnmounted(()=>{U!==void 0&&clearInterval(U)});const se=computed(()=>D.fileInfo?D.fileInfo.split(",").map(Le=>({type:"image",url:Le})):[]),oe=computed(()=>D.videoUrl?D.videoUrl.split(",").map(Le=>({type:"video",url:Le})):[]),me=computed(()=>D.audioUrl?D.audioUrl.split(",").map(Le=>({type:"audio",url:Le})):[]),Ee=computed(()=>(z.value=JSON.parse(D.taskData||"{}"),se.value.map((Le,et)=>({image:Le,video:oe.value[et]||{type:"video",url:""},audio:me.value[et]||{type:"audio",url:""},title:"标题",subtitle:"媒体风格"})))),ke=ref(new Array(Ee.value.length).fill(0)),xe=Le=>{const et=ye.value[Le];et&&(_e.value[Le]=et.currentTime,et.duration&&(Ge.value[Le]=et.duration),ke.value[Le]=et.currentTime/et.duration*100)},fe=(Le,et)=>{const Qe=et.target;ke.value[Le]=Number(Qe.value)},ve=(Le,et)=>{const Qe=ye.value[Le],Ue=et.target;if(Qe){const $e=Number(Ue.value)/100*Qe.duration;Qe.currentTime=$e}},ye=ref([]),Ce=Le=>{const et=ye.value[Le];et&&(ye.value.forEach((Qe,Ue)=>{Qe&&Ue!==Le&&(Qe.pause(),Qe.currentTime=0)}),et.paused?(et.play(),G.value=Le):(et.pause(),G.value=-1))},pe=Le=>{if(!isFinite(Le)||isNaN(Le))return"";const et=Math.floor(Le/60),Qe=Math.floor(Le%60);return`${et}:${Qe<10?"0":""}${Qe}`},_e=ref([]),Ge=ref([]),Ae=ref(),Ne=useChatStore(),Ze=new MarkdownIt({linkify:!0,highlight(Le,et){if(!!(et&&HighlightJS.getLanguage(et))){const Ue=et??"";return Fe(HighlightJS.highlight(Le,{language:Ue}).value,Ue)}return Fe(HighlightJS.highlightAuto(Le).value,"")}});Ze.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),Ze.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const ze=computed(()=>{const Le=D.text??"";return D.asRawText?Le:Ze.render(Le)});function Te(Le){fetch(Le).then(et=>et.blob()).then(et=>{const Qe=document.createElement("a"),Ue=URL.createObjectURL(et);Qe.href=Ue;const $e=D.text||"音频文件";Qe.setAttribute("download",`${$e}.mp3`),Qe.style.display="none",document.body.appendChild(Qe),Qe.click(),document.body.removeChild(Qe),URL.revokeObjectURL(Ue)}).catch(et=>{})}function Fe(Le,et){return`
      ${et}${t$3("chat.copyCode")}
      ${Le}
      `}function Pe(){B("copy")}function we(){B("delete")}m({textRef:Ae});const Ie=async()=>{try{z.value=JSON.parse(D.taskData||"{}");const Le=JSON.stringify({title:z.value.title,prompt:z.value.text,mv:"chirp-v3-5",make_instrumental:V.value});await $({msg:`${z.value.title}`,action:"MUSIC",customId:Le,modelType:2,model:D.model||"suno-music",modelName:D.modelName||"AI音乐",modelAvatar:D.modelAvatar})}catch{}},Be=ref(!1),Ke=ref(""),Ve=Le=>{if(!Le){Ne.queryActiveChatLogList();return}Ke.value=Le,Be.value=!0},je=()=>{Be.value=!1};return(Le,et)=>(openBlock(),createElementBlock(Fragment$1,null,[createBaseVNode("div",_hoisted_1$g,[createBaseVNode("div",{ref_key:"textRef",ref:Ae,class:"leading-relaxed break-words"},[createBaseVNode("div",_hoisted_2$f,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(Ee.value,(Qe,Ue)=>(openBlock(),createElementBlock("div",{key:Ue,class:normalizeClass(["flex justify-between items-center p-2 bg-gray-800 rounded-md mb-2",unref(R)?"w-[80vw]":"min-w-[35vw]"])},[Qe.audio.url?(openBlock(),createElementBlock("div",_hoisted_3$e,[createBaseVNode("img",{src:Qe.image.url,onClick:$e=>Ce(Ue),class:normalizeClass(["rounded-md cursor-pointer transition-opacity duration-300",{"opacity-80":G.value===Ue}]),style:normalizeStyle({maxWidth:unref(R)?"80px":"100px",maxHeight:unref(R)?"80px":"100px"})},null,14,_hoisted_4$c),(openBlock(),createBlock(resolveDynamicComponent(G.value===Ue?unref(Pause):unref(PlayOne)),{class:normalizeClass(["absolute text-white text-3xl opacity-80 cursor-pointer transition-opacity duration-300",{"opacity-100":G.value===Ue}]),onClick:$e=>Ce(Ue)},null,8,["onClick","class"]))])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_5$b,[createBaseVNode("div",_hoisted_6$a,[createBaseVNode("h3",{class:"text-white text-sm hover:underline cursor-pointer",onClick:$e=>Ve(Qe.video.url)},toDisplayString(D.text),9,_hoisted_7$a),createBaseVNode("button",{onClick:$e=>Te(Qe.audio.url),class:"w-8 h-8 text-white text-sm rounded-full hover:bg-gray-700 px-2 py-1 mr-2"},[createVNode(unref(DownloadOne),{size:"16"})],8,_hoisted_8$9)]),Qe.audio.url?(openBlock(),createElementBlock("div",_hoisted_9$9,[createBaseVNode("span",_hoisted_10$8,toDisplayString(pe(_e.value[Ue]||0)),1),createBaseVNode("div",_hoisted_11$7,[withDirectives(createBaseVNode("input",{type:"range",min:"0",max:"100",step:"1","onUpdate:modelValue":$e=>ke.value[Ue]=$e,onInput:$e=>fe(Ue,$e),onChange:$e=>ve(Ue,$e),class:"flex-grow flex max-w-full"},null,40,_hoisted_12$6),[[vModelText,ke.value[Ue]]])]),createBaseVNode("span",_hoisted_13$5,toDisplayString(pe(Ge.value[Ue]||0)),1)])):createCommentVNode("",!0)]),createBaseVNode("audio",{ref_for:!0,ref_key:"audioRefs",ref:ye,src:Qe.audio.url,onTimeupdate:$e=>xe(Ue),hidden:""},null,40,_hoisted_14$5)],2))),128)),Le.fileInfo?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_15$5,[Le.status===2&&!ze.value?(openBlock(),createElementBlock("span",_hoisted_16$5)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":Le.status===2||!ze.value}]),innerHTML:ze.value},null,10,_hoisted_17$5)]))]),Le.status===3&&Le.action==="LYRICS"?(openBlock(),createElementBlock("div",_hoisted_18$5,[createBaseVNode("div",{class:"flex justify-start"},[createBaseVNode("button",{onClick:e,class:"px-4 py-1 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 编辑 "),createBaseVNode("button",{onClick:Ie,class:"px-4 py-1 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 一键创作音乐 ")])])):createCommentVNode("",!0)],512),createBaseVNode("div",_hoisted_19$4,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_20$4,[createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Pe},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_21$3,toDisplayString(unref(t$3)("chat.copy")),1)]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:we},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_22$3,toDisplayString(unref(t$3)("chat.delete")),1)])])])])]),Be.value?(openBlock(),createElementBlock("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50",onClick:je},[createBaseVNode("div",{class:"relative p-0 rounded-md shadow-md max-w-full max-h-full",onClick:et[0]||(et[0]=withModifiers(()=>{},["stop"]))},[createVNode(unref(Close),{onClick:je,class:"absolute top-2 -right-8 text-gray-500 hover:text-gray-600",size:"26"}),createBaseVNode("video",{src:Ke.value,controls:"",class:"w-full h-full rounded-md"},null,8,_hoisted_23$3)])])):createCommentVNode("",!0),K.value?(openBlock(),createElementBlock("div",_hoisted_24$2,[createBaseVNode("div",{class:normalizeClass(["bg-white p-6 w-full flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",[unref(R)?"w-full h-full":"max-h-[80vh] max-w-3xl rounded-lg shadow-lg"]])},[createVNode(unref(Close),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:ie}),_hoisted_25$2,createBaseVNode("div",_hoisted_26$2,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_27$2,[_hoisted_28$2,withDirectives(createBaseVNode("input",{type:"text","onUpdate:modelValue":et[1]||(et[1]=Qe=>z.value.title=Qe),class:"flex-1 p-2 text-lg font-semibold dark:bg-gray-900 dark:text-gray-400"},null,512),[[vModelText,z.value.title]])]),createBaseVNode("div",_hoisted_29$2,[createBaseVNode("div",_hoisted_30$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(ce.value,(Qe,Ue)=>(openBlock(),createElementBlock("div",{key:Ue,class:"py-2"},[Qe.startsWith("[")&&Qe.endsWith("]")?(openBlock(),createElementBlock("span",_hoisted_31$2,toDisplayString(Qe),1)):withDirectives((openBlock(),createElementBlock("textarea",{key:1,"onUpdate:modelValue":$e=>ce.value[Ue]=$e,class:"ml-3 flex-1 py-1 w-full dark:bg-gray-900 dark:text-gray-400",rows:"1",style:{resize:"none"}},null,8,_hoisted_32$2)),[[vModelText,ce.value[Ue]]])]))),128))])])])]),createBaseVNode("div",_hoisted_33$2,[createBaseVNode("div",_hoisted_34$2,[createVNode(unref(ge),{as:"div",class:"relative inline-block text-left shadow-sm rounded-md group mr-4"},{default:withCtx(()=>[createVNode(unref(Se),{class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600 inline-flex w-full justify-center text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 group-hover:text-gray-900 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(W.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute left-0 bottom-full mb-2 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900 overflow-y-auto"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_35$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(he.value,(Qe,Ue)=>(openBlock(),createBlock(unref(be),{key:Ue},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:$e=>L(Qe)},[createBaseVNode("a",_hoisted_37$2,[createBaseVNode("div",_hoisted_38$2,toDisplayString(Qe.title),1)])],8,_hoisted_36$2)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1}),createVNode(unref(ge),{as:"div",class:"relative inline-block text-left shadow-sm rounded-md group"},{default:withCtx(()=>[createVNode(unref(Se),{class:"px-3 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600 inline-flex w-full justify-center text-sm group-hover:bg-gray-50 dark:group-hover:bg-gray-700 group-hover:text-gray-900 dark:group-hover:text-gray-400 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(" 风格:"+toDisplayString(X.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute left-0 bottom-full mb-2 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900 overflow-y-auto max-h-[60vh]"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_39$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(J.value,(Qe,Ue)=>(openBlock(),createBlock(unref(be),{key:Ue},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:$e=>Q(Qe)},[createBaseVNode("a",_hoisted_41$2,[createBaseVNode("div",_hoisted_42$2,toDisplayString(Qe.title),1)])],8,_hoisted_40$2)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})]),createBaseVNode("div",{class:"flex justify-end"},[createBaseVNode("button",{onClick:ie,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),createBaseVNode("button",{onClick:de,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white rounded-md"}," 提交 ")])])],2)])):createCommentVNode("",!0)],64))}}),_hoisted_1$f={class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},_hoisted_2$e={key:0,class:"p-2 w-full h-1/2"},_hoisted_3$d=["srcDoc"],_hoisted_4$b={key:1,class:"w-3/4 p-2"},_hoisted_5$a=["srcDoc"],_sfc_main$e=defineComponent({__name:"htmlModal",props:{text:{},close:{type:Function}},setup(k){const m=k,M=ref(null),G=ref(m.text),{isMobile:V}=useBasicLayout();watch(G,()=>{q()}),watchEffect(()=>{G.value=m.text});const q=()=>{if(M.value){const B=M.value.contentDocument;B&&(B.body.innerHTML=G.value)}},$=()=>{m.close()},D=async()=>{var B,R;try{await navigator.clipboard.writeText(G.value),(B=window.$message)==null||B.success("内容已复制到剪贴板")}catch{(R=window.$message)==null||R.error("复制失败")}};return(B,R)=>(openBlock(),createElementBlock("div",_hoisted_1$f,[createVNode(unref(Close),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:$}),createBaseVNode("div",{class:normalizeClass(["bg-white dark:bg-gray-900 w-full h-full p-4",[unref(V)?"flex-col":"flex"]])},[unref(V)?(openBlock(),createElementBlock("div",_hoisted_2$e,[createBaseVNode("iframe",{srcDoc:G.value,class:"box-border w-full h-full border rounded-md"},null,8,_hoisted_3$d)])):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["p-2 flex flex-col",[unref(V)?"w-full h-1/2":"w-1/4"]])},[withDirectives(createBaseVNode("textarea",{"onUpdate:modelValue":R[0]||(R[0]=U=>G.value=U),class:"w-full h-full p-2 border rounded-md resize-none text-base dark:bg-gray-800 dark:text-gray-100 dark:border-gray-700"},null,512),[[vModelText,G.value]]),createBaseVNode("div",{class:"mt-2 flex justify-end"},[createBaseVNode("button",{onClick:$,class:"px-4 py-2 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-md mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 取消 "),createBaseVNode("button",{onClick:D,class:"px-4 py-2 shadow-sm bg-primary-600 hover:bg-primary-500 text-white dark rounded-md"}," 复制 ")])],2),unref(V)?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_4$b,[createBaseVNode("iframe",{srcDoc:G.value,class:"box-border w-full h-full border rounded-md"},null,8,_hoisted_5$a)]))],2)]))}}),htmlModal_vue_vue_type_style_index_0_scoped_e09b87ec_lang="",HtmlModal=_export_sfc(_sfc_main$e,[["__scopeId","data-v-e09b87ec"]]),_hoisted_1$e={class:"flex flex-col group w-full"},_hoisted_2$d={class:"text-wrap rounded-lg min-w-12 flex w-full flex-col"},_hoisted_3$c={key:1,class:"text-gray-600 flex items-center mb-1 text-base hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300 cursor-pointer"},_hoisted_4$a=createBaseVNode("span",null,"深度思考",-1),_hoisted_5$9={key:0,class:"flex flex-col items-start",style:{"max-width":"100%"}},_hoisted_6$9={class:"w-full"},_hoisted_7$9={key:0,class:"inline-block w-3.5 h-3.5 ml-0.5 align-middle rounded-full animate-breathe dark:bg-gray-100 bg-gray-950"},_hoisted_8$8=["innerHTML"],_hoisted_9$8=["innerHTML"],_hoisted_10$7={key:0,class:"p-3 rounded-2xl w-full bg-opacity dark:bg-gray-750 break-words",style:{"max-width":"100%"}},_hoisted_11$6=["textContent"],_hoisted_12$5={class:"flex p-3 items-center justify-center ring-1 ring-inset ring-gray-200 dark:ring-gray-700 rounded-lg hover:bg-gray-100 dark:bg-gray-800 dark:hover:bg-gray-700"},_hoisted_13$4={key:0,class:"flex-none mt-2 mb-1"},_hoisted_14$4={key:1,class:"flex-none transition-opacity duration-500"},_hoisted_15$4=["onClick"],_hoisted_16$4={class:"mt-2 flex"},_hoisted_17$4={class:"flex text-sm"},_hoisted_18$4={class:"flex text-sm"},_hoisted_19$3=createBaseVNode("span",{class:"flex text-sm"},"取消",-1),_hoisted_20$3=createBaseVNode("span",{class:"flex text-sm"},"提交",-1),_hoisted_21$2=createBaseVNode("span",{class:"flex text-sm"},"编辑",-1),_hoisted_22$2=createBaseVNode("span",{class:"flex text-sm"},"重新生成",-1),_hoisted_23$2={class:"flex text-sm"},_sfc_main$d=defineComponent({__name:"index",props:{chatId:{},index:{},inversion:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},ttsUrl:{},model:{},promptReference:{},isLast:{type:Boolean}},emits:["regenerate","delete","copy"],setup(k,{expose:m,emit:M}){const G=useAuthStore(),{isMobile:V}=useBasicLayout(),q=inject("onConversation"),$=inject("handleRegenerate"),D=k,B=M,R=ref(!1),U=ref(D.text),K=ref(!0),z=ref(),e=ref(D.ttsUrl),ae=ref(""),ie=ref(!1),he=ref("paused"),J=ref(D.text),W=ref(!1),X=ref(null);let L=null;const Q=computed(()=>{var Pe;return Number((Pe=G.globalConfig)==null?void 0:Pe.isHideTts)===1}),ce=computed(()=>he.value!=="paused"||W.value?"opacity-100":"opacity-0 group-hover:opacity-100"),de=async()=>{if(!(he.value==="loading"||he.value==="playing")){if(e.value){se(e.value);return}he.value="loading";try{if(!D.chatId)return;const we=(await fetchTtsAPIProces({chatId:D.chatId,prompt:D.text})).ttsUrl;if(we)e.value=we,se(we);else throw new Error("TTS URL is undefined")}catch{he.value="paused"}}};function se(Pe){L&&L.pause(),L=new Audio(Pe),L.play().then(()=>{he.value="playing"}).catch(we=>{he.value="paused"}),L.onended=()=>{he.value="paused",L=null}}function oe(){L&&(L.pause(),he.value="paused")}function me(){he.value==="playing"?oe():de()}const Ee=new MarkdownIt({linkify:!0,html:!0,highlight(Pe,we){if(!!(we&&HighlightJS.getLanguage(we))){const Be=we??"";return console.log("language",we),we==="html"&&(ae.value=Pe,ie.value=!0,console.log("htmlContent",ae.value)),pe(HighlightJS.highlight(Pe,{language:Be}).value,Be)}return pe(HighlightJS.highlightAuto(Pe).value,"")}});Ee.renderer.rules.image=function(Pe,we,Ie,Be,Ke){const Ve=Pe[we],je=Ve.attrGet("src"),Le=Ve.attrGet("title"),et=Ve.content;return V.value?`${et}`:`${et}`};const ke=computed(()=>D.fileInfo),xe=computed(()=>{var Pe;return(Pe=ke==null?void 0:ke.value)==null?void 0:Pe.split(",").map(we=>we.trim())}),fe=computed(()=>ke.value?/\.(mp4|avi|mov|wmv|flv)$/i.test(ke.value):!1),ve=computed(()=>ke.value?/\.(jpg|jpeg|png|gif|webp)$/i.test(ke.value):!1);Ee.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),Ee.use(mdKatex,{blockClass:"katexmath-block p-0 flex h-full items-center justify-start",inlineClass:"katexmath-inline",errorColor:" #cc0000"});const ye=computed(()=>{let Pe=D.text||"";if(Pe.startsWith("")){const Ie=Pe.indexOf("");Ie!==-1?Pe=Pe.slice(0,Pe.indexOf(""))+Pe.slice(Ie+8):Pe=""}let we=Pe.replace(/\\\(\s*/g,"$").replace(/\s*\\\)/g,"$").replace(/\\\[\s*/g,"$$").replace(/\s*\\\]/g,"$$").replace(/\[\[(\d+)\]\((https?:\/\/[^\)]+)\)\]/g,``);return D.asRawText?we:Ee.render(we)}),Ce=computed(()=>{var Ie,Be;let Pe="";if((Ie=D.text)!=null&&Ie.includes("")&&!D.text.includes(""))Pe=D.text.replace(//g,"").trim();else{const Ke=(Be=D.text)==null?void 0:Be.match(/([\s\S]*?)<\/think>/);Ke&&(Pe=Ke[1])}const we=Pe.replace(/\\\(\s*/g,"$").replace(/\s*\\\)/g,"$").replace(/\\\[\s*/g,"$$").replace(/\s*\\\]/g,"$$");return D.asRawText?we:Ee.render(we)});function pe(Pe,we){return`
      ${we}${t$3("chat.copyCode")}
      ${Pe}
      `}async function _e(){U.value=D.text,R.value=!0}function Ge(){R.value=!1}async function Ae(){if(W.value){const Pe=J.value;await q({msg:Pe,chatId:D.chatId}),W.value=!1}else J.value=D.text,W.value=!0,await nextTick(),Fe()}async function Ne(Pe){await q({msg:Pe})}function Ze(){B("copy")}function ze(){B("delete")}const Te=()=>{W.value=!1,J.value=D.text},Fe=()=>{X.value&&(X.value.style.height="auto",X.value.style.height=`${X.value.scrollHeight}px`)};return m({textRef:z}),onMounted(()=>{var Ie;const Pe=(Ie=document.querySelector(".preview-button"))==null?void 0:Ie.id,we=Pe?document.getElementById(Pe):null;we&&we.addEventListener("click",_e)}),(Pe,we)=>{var Ie;return openBlock(),createElementBlock("div",_hoisted_1$e,[createBaseVNode("div",_hoisted_2$d,[Ce.value&&!Pe.inversion?(openBlock(),createElementBlock("div",{key:0,onClick:we[0]||(we[0]=Be=>K.value=!K.value),class:"text-gray-600 flex items-center mb-1 text-base hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300 cursor-pointer"},[createBaseVNode("span",null,toDisplayString(ye.value||!Pe.loading?"已深度思考":"深度思考中"),1),!ye.value&&Pe.loading?(openBlock(),createBlock(unref(LoadingOne),{key:0,class:"rotate-icon flex mx-1"})):createCommentVNode("",!0),K.value?(openBlock(),createBlock(unref(Up),{key:2,size:"20",class:"mr-1 flex"})):(openBlock(),createBlock(unref(Down),{key:1,size:"20",class:"mr-1 flex"}))])):Pe.loading&&Ce.value&&!Pe.inversion?(openBlock(),createElementBlock("div",_hoisted_3$c,[_hoisted_4$a,createVNode(unref(LoadingOne),{class:"rotate-icon flex mx-1"})])):createCommentVNode("",!0),createBaseVNode("div",{ref_key:"textRef",ref:z,class:"flex w-full"},[Pe.inversion?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["flex justify-end w-full",[unref(V)?"pl-20":"pl-28 "]]),style:{"max-width":"100%"}},[W.value?(openBlock(),createElementBlock("div",_hoisted_10$7,[withDirectives(createBaseVNode("textarea",{"onUpdate:modelValue":we[1]||(we[1]=Be=>J.value=Be),class:"min-w-full text-base resize-none overflow-hidden bg-transparent whitespace-pre-wrap text-gray-950 dark:text-gray-100",onInput:Fe,onKeydown:withKeys(Ae,["enter"]),ref_key:"textarea",ref:X},null,544),[[vModelText,J.value]])])):(openBlock(),createElementBlock("div",{key:1,class:"p-3 rounded-2xl text-base bg-opacity dark:bg-gray-750 break-words whitespace-pre-wrap text-gray-950 dark:text-gray-100",textContent:toDisplayString(Pe.text),style:{"max-width":"100%"}},null,8,_hoisted_11$6))],2)):(openBlock(),createElementBlock("div",_hoisted_5$9,[createBaseVNode("div",_hoisted_6$9,[Pe.loading&&!Pe.text?(openBlock(),createElementBlock("span",_hoisted_7$9)):createCommentVNode("",!0),Ce.value&&K.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["markdown-body text-gray-600 dark:text-gray-400 pl-5 mt-2 mb-4 border-l-2 border-gray-300 dark:border-gray-600 overflow-hidden transition-opacity duration-500 ease-in-out",{"markdown-body-generate":Pe.loading&&!ye.value}]),innerHTML:Ce.value},null,10,_hoisted_8$8)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["markdown-body text-gray-950 dark:text-gray-100",{"markdown-body-generate":Pe.loading||!ye.value}]),innerHTML:ye.value},null,10,_hoisted_9$8)])]))],512),ke.value&&!ve.value&&!fe.value?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(["my-1 flex w-full",[{"justify-end":Pe.inversion}]])},[createBaseVNode("div",_hoisted_12$5,[createBaseVNode("span",null,toDisplayString(unref(t$3)("chat.fileAnalysis")),1)])],2)):createCommentVNode("",!0),xe.value&&ve.value?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(["my-2 w-full flex",[unref(V)?"pl-20":"pl-28",{"justify-end":Pe.inversion}]]),style:normalizeStyle({maxHeight:unref(V)?"":"30vh",maxWidth:(unref(V),"100%")})},[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(xe.value,(Be,Ke)=>(openBlock(),createBlock(unref(NImage),{key:Ke,src:Be,"preview-src":Be,alt:"图片",class:normalizeClass(["rounded-md flex ml-2",[{"justify-end":Pe.inversion}]]),style:{maxHeight:"100%",height:"auto",objectFit:"contain"}},null,8,["src","preview-src","class"]))),128))],6)):createCommentVNode("",!0)]),ie.value&&!Pe.inversion?(openBlock(),createElementBlock("div",_hoisted_13$4,[createBaseVNode("div",{class:"flex justify-start"},[createBaseVNode("button",{onClick:_e,class:"px-4 py-1 shadow-sm ring-1 ring-inset bg-white ring-gray-300 hover:bg-gray-50 text-gray-900 rounded-lg mr-4 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:ring-gray-700 dark:hover:ring-gray-600"}," 预览代码 ")])])):createCommentVNode("",!0),Pe.promptReference&&!Pe.inversion&&Pe.isLast?(openBlock(),createElementBlock("div",_hoisted_14$4,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(Pe.promptReference?(Ie=Pe.promptReference.match(/{(.*?)}/g))==null?void 0:Ie.map(Be=>Be.slice(1,-1)).slice(0,3):[],(Be,Ke)=>(openBlock(),createElementBlock("button",{key:Ke,onClick:Ve=>Ne(Be),class:"flex flex-row items-center my-3 px-3 py-2 shadow-sm bg-opacity hover:bg-gray-50 text-left text-gray-900 rounded-full overflow-hidden dark:bg-gray-750 dark:text-gray-400"},[createTextVNode(toDisplayString(Be)+" ",1),createVNode(unref(ArrowRight),{class:"ml-1"})],8,_hoisted_15$4))),128))])):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["flex transition-opacity duration-300 text-gray-700 ",ce.value,{"justify-end":Pe.inversion}])},[createBaseVNode("div",_hoisted_16$4,[W.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:0,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Ze},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_17$4,toDisplayString(unref(t$3)("chat.copy")),1)])),W.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:1,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:ze},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_18$4,toDisplayString(unref(t$3)("chat.delete")),1)])),W.value?(openBlock(),createElementBlock("button",{key:2,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Te},[createVNode(unref(Close),{class:"mr-1"}),_hoisted_19$3])):createCommentVNode("",!0),W.value?(openBlock(),createElementBlock("button",{key:3,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Ae},[createVNode(unref(Send),{class:"mr-1"}),_hoisted_20$3])):createCommentVNode("",!0),Pe.inversion&&!W.value&&Pe.modelType===1?(openBlock(),createElementBlock("button",{key:4,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:Ae},[createVNode(unref(Edit),{class:"mr-1"}),_hoisted_21$2])):createCommentVNode("",!0),!Pe.inversion&&Pe.modelType===1?(openBlock(),createElementBlock("button",{key:5,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:we[2]||(we[2]=Be=>unref($)(Pe.index,Pe.chatId))},[createVNode(unref(Refresh),{class:"mr-1"}),_hoisted_22$2])):createCommentVNode("",!0),!Pe.inversion&&!Q.value?(openBlock(),createElementBlock("button",{key:6,class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:me},[he.value==="paused"?(openBlock(),createBlock(unref(VoiceMessage),{key:0,class:"flex mr-1"})):createCommentVNode("",!0),he.value==="loading"?(openBlock(),createBlock(unref(Rotation),{key:1,class:"rotate-icon flex mr-1"})):he.value==="playing"?(openBlock(),createBlock(unref(PauseOne),{key:2,class:"flex mr-1"})):createCommentVNode("",!0),createBaseVNode("span",_hoisted_23$2,toDisplayString(he.value==="playing"?unref(t$3)("chat.pause"):he.value==="loading"?unref(t$3)("chat.loading"):unref(t$3)("chat.readAloud")),1)])):createCommentVNode("",!0)])],2),R.value?(openBlock(),createBlock(HtmlModal,{key:2,text:ae.value,close:Ge},null,8,["text"])):createCommentVNode("",!0)])}}}),index_vue_vue_type_style_index_0_lang$1="",_hoisted_1$d={class:"flex flex-col group max-w-full"},_hoisted_2$c={class:"flex flex-col items-start"},_hoisted_3$b={class:"w-full"},_hoisted_4$9={key:0,class:"loading-anchor"},_hoisted_5$8=["innerHTML"],_hoisted_6$8=["src"],_hoisted_7$8={class:"text-wrap rounded-lg min-w-12 text-gray-800 dark:text-gray-400"},_hoisted_8$7={class:"mt-1 flex"},_hoisted_9$7={class:"flex text-sm"},_hoisted_10$6={class:"flex text-sm"},_sfc_main$c=defineComponent({__name:"Video",props:{inversion:{type:Boolean},error:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},model:{},drawId:{},customId:{},modelName:{}},emits:["regenerate","delete","copy"],setup(k,{expose:m,emit:M}){const G=k,V=M,{isMobile:q}=useBasicLayout();let $;watch(()=>G.status,J=>{$!==void 0&&(clearInterval($),$=void 0),J===2&&($=window.setInterval(async()=>{await B.queryActiveChatLogList()},5e3))},{immediate:!0}),onUnmounted(()=>{$!==void 0&&clearInterval($)});const D=ref(),B=useChatStore(),R=new MarkdownIt({linkify:!0,highlight(J,W){if(!!(W&&HighlightJS.getLanguage(W))){const L=W??"";return z(HighlightJS.highlight(J,{language:L}).value,L)}return z(HighlightJS.highlightAuto(J).value,"")}}),U=computed(()=>G.fileInfo);R.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),R.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const K=computed(()=>{const J=G.text??"";return G.asRawText?J:R.render(J)});function z(J,W){return`
      ${W}${t$3("chat.copyCode")}
      ${J}
      `}function e(){V("copy")}function ae(){V("delete")}m({textRef:D});const ie=ref("paused"),he=computed(()=>ie.value!=="paused"?"opacity-100":"opacity-0 group-hover:opacity-100");return(J,W)=>(openBlock(),createElementBlock("div",_hoisted_1$d,[createBaseVNode("div",{ref_key:"textRef",ref:D,class:"leading-relaxed break-words"},[createBaseVNode("div",_hoisted_2$c,[createBaseVNode("div",_hoisted_3$b,[J.status===2&&!K.value?(openBlock(),createElementBlock("span",_hoisted_4$9)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":J.status===2||!K.value}]),innerHTML:K.value},null,10,_hoisted_5$8)]),createBaseVNode("div",null,[withDirectives((openBlock(),createElementBlock("div",{key:U.value},[createBaseVNode("video",{src:U.value,controls:"",class:"rounded-md flex",style:normalizeStyle({maxWidth:unref(q)?"90%":"30vw",maxHeight:unref(q)?"":"30vh"})}," 您的浏览器不支持视频标签。 ",12,_hoisted_6$8)])),[[vShow,U.value]])])])],512),createBaseVNode("div",_hoisted_7$8,[createBaseVNode("div",null,[createBaseVNode("div",null,[createBaseVNode("div",{class:"my-1 flex w-auto",style:normalizeStyle({maxWidth:unref(q)?"100%":"25rem"})},null,4)])])]),createBaseVNode("div",{class:normalizeClass(["flex transition-opacity duration-300 text-gray-700",he.value])},[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_8$7,[createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:e},[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_9$7,toDisplayString(unref(t$3)("chat.copy")),1)]),createBaseVNode("button",{class:"flex ml-0 items-center text-gray-500 hover:text-gray-700 dark:text-gray-500 dark:hover:text-gray-300 mr-3",text:"",onClick:ae},[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_10$6,toDisplayString(unref(t$3)("chat.delete")),1)])])])],2)]))}}),Video_vue_vue_type_style_index_0_lang="",_hoisted_1$c={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},_hoisted_2$b={class:"bg-white p-6 rounded-lg shadow-lg w-3/4 max-w-3xl max-h-[80vh] flex flex-col"},_hoisted_3$a=createBaseVNode("div",{class:"flex-none"},[createBaseVNode("h2",{class:"text-2xl mb-4 font-semibold"},"PPT大纲编辑调整"),createBaseVNode("p",{class:"mb-4"},"您可以点击标题或章节进行大纲的编辑修改")],-1),_hoisted_4$8={class:"flex-1 overflow-y-auto p-4 rounded-lg border"},_hoisted_5$7={class:"bg-white"},_hoisted_6$7={class:"flex items-center mb-4"},_hoisted_7$7=createBaseVNode("label",{class:"w-16 text-gray-500 font-semibold"},"主标题",-1),_hoisted_8$6={class:"flex items-center mb-2"},_hoisted_9$6={class:"w-12 font-semibold text-gray-500"},_hoisted_10$5=["onUpdate:modelValue"],_hoisted_11$5=["onClick"],_hoisted_12$4=["onClick"],_hoisted_13$3={class:"pl-8"},_hoisted_14$3=["onUpdate:modelValue"],_hoisted_15$3=["onClick"],_hoisted_16$3={class:"flex-none mt-4"},_hoisted_17$3={class:"flex justify-between items-center"},_hoisted_18$3={class:"flex items-center"},_hoisted_19$2={class:"py-1"},_hoisted_20$2=["onClick"],_hoisted_21$1={href:"#",class:"flex items-center px-4 py-2 text-sm group-hover:bg-gray-100 dark:group-hover:bg-gray-700"},_hoisted_22$1={key:1,class:"fixed inset-0 z-50 flex flex-col bg-black bg-opacity-50"},_hoisted_23$1={class:"flex flex-1 h-full"},_hoisted_24$1={class:"w-1/5 bg-white p-4 overflow-y-auto"},_hoisted_25$1=["onClick"],_hoisted_26$1=["src"],_hoisted_27$1={class:"flex-1 flex items-center justify-center bg-gray-200 h-full"},_hoisted_28$1=["src"],_hoisted_29$1={class:"flex flex-col group max-w-full"},_hoisted_30$1={class:"flex flex-col items-start bg-primary-gradient rounded-lg"},_hoisted_31$1={class:"w-full"},_hoisted_32$1={key:0,class:"loading-anchor"},_hoisted_33$1={class:"flex flex-col items-start"},_hoisted_34$1={class:"w-full"},_hoisted_35$1=["innerHTML"],_hoisted_36$1={class:"flex flex-wrap mt-4"},_hoisted_37$1=["src","alt","onClick"],_hoisted_38$1={class:"mb-1 mt-2 flex items-center justify-between w-full"},_hoisted_39$1={class:"flex items-center"},_hoisted_40$1=createBaseVNode("div",null,"换一组",-1),_hoisted_41$1=[_hoisted_40$1],_hoisted_42$1={class:"flex items-center"},_hoisted_43$1=["disabled"],_hoisted_44$1=["src"],_hoisted_45$1={class:"flex opacity-0 transition-opacity duration-300 group-hover:opacity-100 text-gray-700"},_hoisted_46$1={class:"mt-1 flex"},_hoisted_47$1={class:"flex text-sm"},_hoisted_48$1={class:"flex text-sm"},_sfc_main$b=defineComponent({__name:"AiPpt",props:{error:{type:Boolean},text:{},modelType:{},status:{},loading:{type:Boolean},asRawText:{type:Boolean},fileInfo:{},model:{},drawId:{},customId:{},modelName:{}},emits:["regenerate","delete","copy"],setup(k,{expose:m,emit:M}){const G=ref(!1),V=inject("onConversation"),q=ref({title:"",catalogs:[{catalog:"",sub_catalog:[""]}]}),$=ref([""]),D=computed(()=>B.fileInfo?B.fileInfo.split(","):[]),B=k,R=M;useBasicLayout();let U;const K=ref(!1),z=ref(!1),e=ref(0),ae=()=>{q.value=JSON.parse(B.customId),K.value=!0},ie=()=>{B.customId&&($.value=JSON.parse(B.customId)),console.log("customImageUrls:",$.value),z.value=!0},he=()=>{z.value=!1},J=()=>{K.value=!1},W=async()=>{K.value=!1;try{await V({msg:"使用大纲生成 PPT",action:"PPTCREATE",customId:q.value,modelType:2,model:"ai-ppt",modelName:"AiPPT",extraParam:{color:ke.value,style:xe.value,cover_id:fe.value,complex:ve.value}}),console.log("PPT生成请求已发送")}catch(Te){console.error("PPT生成请求失败:",Te)}};watch(()=>B.status,Te=>{U!==void 0&&(clearInterval(U),U=void 0),Te===2&&(U=window.setInterval(async()=>{await ce.queryActiveChatLogList(),B.customId&&($.value=JSON.parse(B.customId))},5e3))},{immediate:!0}),watch(()=>B.text,Te=>{Te&&Te.length>20&&_e()}),onMounted(()=>{B.text&&B.text.length>20&&_e(),B.customId&&($.value=JSON.parse(B.customId))}),onUnmounted(()=>{U!==void 0&&clearInterval(U)}),onUnmounted(()=>{clearInterval(U)});const X=()=>{const Te=document.createElement("a");Te.href=D.value[0],Te.download="PPT文件.ppt",document.body.appendChild(Te),Te.click(),document.body.removeChild(Te)},L=Te=>{e.value=Te},Q=ref(),ce=useChatStore(),de=new MarkdownIt({linkify:!0,highlight(Te,Fe){if(!!(Fe&&HighlightJS.getLanguage(Fe))){const we=Fe??"";return oe(HighlightJS.highlight(Te,{language:we}).value,we)}return oe(HighlightJS.highlightAuto(Te).value,"")}});de.use(mila,{attrs:{target:"_blank",rel:"noopener"}}),de.use(mdKatex,{blockClass:"katexmath-block rounded-md p-[10px]",errorColor:" #cc0000"});const se=computed(()=>{const Te=B.text??"";return B.asRawText?Te:de.render(Te)});function oe(Te,Fe){return`
      ${Fe}${t$3("chat.copyCode")}
      ${Te}
      `}function me(){R("copy")}function Ee(){R("delete")}const ke=ref(""),xe=ref(""),fe=ref(""),ve=ref(""),ye=[{label:"简单",value:"1"},{label:"中等",value:"2"},{label:"复杂",value:"3"}],Ce=Te=>{ve.value=Te.value},pe=ref(""),_e=async()=>{try{G.value=!0,fe.value="",console.log("PPT封面生成请求已发送",B.customId);const Te=await fetchPptCoverAPIProcess({title:JSON.parse(B.customId).title,color:"",style:""});pe.value=Te.data,console.log("PPT封面生成请求已发送",Te.data),G.value=!1}catch(Te){console.error("PPT封面生成请求失败:",Te),G.value=!1}},Ge=Te=>{fe.value=Te.cover_id,console.log("点击了封面:",Te)},Ae=()=>{q.value.catalogs.push({catalog:"小标题",sub_catalog:[" "," "]})},Ne=Te=>{q.value.catalogs[Te].sub_catalog.push(" ")},Ze=(Te,Fe)=>{const Pe=q.value.catalogs[Te].sub_catalog;Pe.length>Fe&&(Pe.splice(Fe,1),q.value.catalogs[Te].sub_catalog=[...Pe])},ze=Te=>{q.value.catalogs.splice(Te,1)};return m({textRef:Q}),(Te,Fe)=>{const Pe=resolveComponent("Down"),we=resolveComponent("Button");return openBlock(),createElementBlock(Fragment$1,null,[K.value?(openBlock(),createElementBlock("div",_hoisted_1$c,[createBaseVNode("div",_hoisted_2$b,[_hoisted_3$a,createBaseVNode("div",_hoisted_4$8,[createBaseVNode("div",_hoisted_5$7,[createBaseVNode("div",_hoisted_6$7,[_hoisted_7$7,withDirectives(createBaseVNode("input",{type:"text","onUpdate:modelValue":Fe[0]||(Fe[0]=Ie=>q.value.title=Ie),class:"flex-1 p-2 text-lg font-semibold"},null,512),[[vModelText,q.value.title]])]),(openBlock(!0),createElementBlock(Fragment$1,null,renderList(q.value.catalogs,(Ie,Be)=>(openBlock(),createElementBlock("div",{key:Be,class:"mb-4 p-4 border rounded-md shadow-sm relative"},[createBaseVNode("div",_hoisted_8$6,[createBaseVNode("label",_hoisted_9$6,"章节 "+toDisplayString(Be+1),1),withDirectives(createBaseVNode("input",{type:"text","onUpdate:modelValue":Ke=>Ie.catalog=Ke,class:"flex-1 p-2 border rounded-md"},null,8,_hoisted_10$5),[[vModelText,Ie.catalog]]),createBaseVNode("button",{onClick:Ke=>ze(Be),class:"ml-2 px-3 py-1 bg-red-500 hover:bg-red-700 text-white rounded-md"}," 删除 ",8,_hoisted_11$5),createBaseVNode("button",{onClick:Ke=>Ne(Be),class:"ml-2 px-3 py-1 bg-blue-500 hover:bg-blue-700 text-white rounded-md"}," 添加小节 ",8,_hoisted_12$4)]),createBaseVNode("div",_hoisted_13$3,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(Ie.sub_catalog,(Ke,Ve)=>(openBlock(),createElementBlock("div",{key:Ve,class:"flex items-center mb-2"},[withDirectives(createBaseVNode("input",{type:"text","onUpdate:modelValue":je=>Ie.sub_catalog[Ve]=je,class:"flex-1 p-2 border rounded-md"},null,8,_hoisted_14$3),[[vModelText,Ie.sub_catalog[Ve]]]),createBaseVNode("button",{onClick:je=>Ze(Be,Ve),class:"ml-2 px-3 py-1 bg-red-500 hover:bg-red-700 text-white rounded-md"}," 删除 ",8,_hoisted_15$3)]))),128))])]))),128))])]),createBaseVNode("div",_hoisted_16$3,[createBaseVNode("div",_hoisted_17$3,[createBaseVNode("div",_hoisted_18$3,[createVNode(unref(ge),{as:"div",class:"relative ml-4"},{default:withCtx(()=>[createBaseVNode("div",null,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-500"},{default:withCtx(()=>{var Ie;return[createTextVNode(toDisplayString(((Ie=ye.find(Be=>Be.value===ve.value))==null?void 0:Ie.label)||"选择复杂度")+" ",1),createVNode(Pe,{size:"18"})]}),_:1})]),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute left-0 bottom-full w-20 z-10 origin-top-left divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-800 dark:text-gray-400 text-gray-900 overflow-y-auto",style:{maxHeight:"60vh"}},{default:withCtx(()=>[createBaseVNode("div",_hoisted_19$2,[(openBlock(),createElementBlock(Fragment$1,null,renderList(ye,(Ie,Be)=>createVNode(unref(be),{key:Be},{default:withCtx(()=>[createBaseVNode("div",{class:"group",onClick:Ke=>Ce(Ie)},[createBaseVNode("a",_hoisted_21$1,toDisplayString(Ie.label),1)],8,_hoisted_20$2)]),_:2},1024)),64))])]),_:1})]),_:1})]),_:1})]),createBaseVNode("div",{class:"flex justify-end"},[createBaseVNode("button",{onClick:J,class:"px-4 py-2 bg-gray-500 hover:bg-gray-700 text-white rounded-md mr-4"}," 取消 "),createBaseVNode("button",{onClick:Ae,class:"px-4 py-2 bg-primary-500 hover:bg-primary-700 text-white rounded-md mr-4"}," 插入章节 "),createBaseVNode("button",{onClick:W,class:"px-4 py-2 bg-primary-500 hover:bg-primary-700 text-white rounded-md"}," 生成PPT ")])])])])])):createCommentVNode("",!0),z.value?(openBlock(),createElementBlock("div",_hoisted_22$1,[createBaseVNode("div",_hoisted_23$1,[createBaseVNode("div",_hoisted_24$1,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList($.value,(Ie,Be)=>(openBlock(),createElementBlock("div",{key:Be,class:"mb-4 cursor-pointer",onClick:Ke=>L(Be)},[createBaseVNode("img",{src:Ie.url,class:normalizeClass(["w-full h-auto border-2",{"border-primary-500":e.value===Be}])},null,10,_hoisted_26$1)],8,_hoisted_25$1))),128))]),createBaseVNode("div",_hoisted_27$1,[createBaseVNode("img",{src:$.value[e.value].url,class:"max-h-full max-w-full px-6"},null,8,_hoisted_28$1)])]),createBaseVNode("div",{class:"absolute top-4 right-4 h-10"},[createBaseVNode("button",{onClick:he,class:"px-4 py-1 mr-4 h-8 rounded-md border border-1 border-primary-500 text-primary-500"}," 关闭 "),createBaseVNode("button",{onClick:X,class:"px-4 py-1 mr-2 bg-primary-500 h-8 border-1 border-primary-500 text-white rounded-md"}," 下载PPT ")])])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_29$1,[createBaseVNode("div",{ref_key:"textRef",ref:Q,class:"leading-relaxed break-words"},[createBaseVNode("div",_hoisted_30$1,[createBaseVNode("div",_hoisted_31$1,[Te.status===2&&!se.value?(openBlock(),createElementBlock("span",_hoisted_32$1)):createCommentVNode("",!0),createBaseVNode("div",_hoisted_33$1,[createBaseVNode("div",_hoisted_34$1,[createBaseVNode("div",{class:normalizeClass(["w-full markdown-body text-gray-800 dark:text-gray-400 ",{"markdown-body-generate":Te.status===1||Te.status===2||!se.value}]),innerHTML:se.value},null,10,_hoisted_35$1)])])]),createBaseVNode("div",_hoisted_36$1,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(pe.value,(Ie,Be)=>(openBlock(),createElementBlock("div",{key:Be,class:"p-2 w-1/2 sm:w-1/2 md:w-1/3"},[createBaseVNode("img",{src:Ie.cover_image,alt:"封面"+(Be+1),class:normalizeClass({"w-full h-auto object-cover cursor-pointer border-4 rounded-lg":!0,"border-primary-500":fe.value===Ie.cover_id,"hover:border-primary-500":fe.value!==Ie.cover_id}),onClick:Ke=>Ge(Ie)},null,10,_hoisted_37$1)]))),128))]),createBaseVNode("div",_hoisted_38$1,[createBaseVNode("div",_hoisted_39$1,[G.value?(openBlock(),createBlock(unref(LoadingFour),{key:0,size:"24",class:"rotate-icon text-primary-500 ml-3"})):createCommentVNode("",!0),Te.status===3&&se.value.length>20&&!G.value?(openBlock(),createElementBlock("button",{key:1,onClick:_e,class:"ml-2 rounded-md py-2 px-3 text-primary-500"},_hoisted_41$1)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_42$1,[Te.status===3&&se.value.length>20?(openBlock(),createElementBlock("button",{key:0,onClick:ae,class:normalizeClass({"shadow rounded-md py-2 px-5 mr-2":!0,"bg-primary-500 text-white cursor-pointer":fe.value,"bg-gray-300 text-gray-500 cursor-not-allowed":!fe.value}),disabled:!fe.value}," 使用 ",10,_hoisted_43$1)):createCommentVNode("",!0),Te.status===3&&Te.fileInfo?(openBlock(),createElementBlock("img",{key:1,src:$.value[0].url,class:"rounded-md shadow",style:{maxWidth:"100%",maxHeight:"30vh"},onClick:ie},null,8,_hoisted_44$1)):createCommentVNode("",!0)])])])],512),createBaseVNode("div",_hoisted_45$1,[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_46$1,[createVNode(we,{class:"flex items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:me},{default:withCtx(()=>[createVNode(unref(Copy),{class:"flex mr-1"}),createBaseVNode("span",_hoisted_47$1,toDisplayString(unref(t$3)("chat.copy")),1)]),_:1}),createVNode(we,{class:"flex ml-0 items-center text-gray-400 hover:text-gray-700 dark:text-gray-600 dark:hover:text-gray-400 mr-3",text:"",type:"primary",onClick:Ee},{default:withCtx(()=>[createVNode(unref(Delete),{class:"mr-1"}),createBaseVNode("span",_hoisted_48$1,toDisplayString(unref(t$3)("chat.delete")),1)]),_:1})])])])])],64)}}}),AiPpt_vue_vue_type_style_index_0_lang="";function copyText(k){const m={origin:!0,...k};let M;m.origin?M=document.createElement("textarea"):M=document.createElement("input"),M.setAttribute("readonly","readonly"),M.value=m.text,document.body.appendChild(M),M.select(),document.execCommand("copy")&&document.execCommand("copy"),document.body.removeChild(M)}const _hoisted_1$b={class:"flex items-center justify-center flex-shrink-0 mr-2"},_hoisted_2$a={class:"overflow-hidden text-sm items-start w-full"},_hoisted_3$9={class:"flex items-end gap-1 flex-row"},_sfc_main$a=defineComponent({__name:"index",props:{chatId:{},dateTime:{},text:{},model:{},modelName:{},modelType:{},status:{},inversion:{type:Boolean},loading:{type:Boolean},fileInfo:{},ttsUrl:{},videoUrl:{},audioUrl:{},drawId:{},extend:{},customId:{},modelAvatar:{},action:{},taskData:{},pluginParam:{},index:{},promptReference:{},isLast:{type:Boolean}},emits:["regenerate","delete"],setup(k,{emit:m}){const M=k,G=m,V=useMessage(),q=ref(),$=ref(M.inversion),D=ref();function B(){G("delete")}function R(){copyText({text:M.text??""}),M.text&&V.success("复制成功!")}function U(){var K;(K=D.value)==null||K.scrollIntoView(),G("regenerate")}return(K,z)=>(openBlock(),createElementBlock("div",{ref_key:"messageRef",ref:D,class:"flex w-full my-2 overflow-hidden items-start flex-row"},[createVNode(unref(NTooltip),{trigger:"hover",placement:"top-start"},{trigger:withCtx(()=>[createBaseVNode("div",_hoisted_1$b,[K.inversion?createCommentVNode("",!0):(openBlock(),createBlock(_sfc_main$j,{key:0,image:K.inversion,model:K.model,modelAvatar:K.modelAvatar},null,8,["image","model","modelAvatar"]))])]),default:withCtx(()=>[createTextVNode(" "+toDisplayString(K.modelName),1)]),_:1}),createBaseVNode("div",_hoisted_2$a,[createBaseVNode("div",_hoisted_3$9,[K.pluginParam==="mind-map"&&!K.inversion?(openBlock(),createBlock(_sfc_main$g,{key:0,ref_key:"textRef",ref:q,inversion:K.inversion,drawId:K.drawId,extend:K.extend,customId:K.customId,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,model:K.model,modelName:K.modelName,loading:K.loading,status:K.status,"as-raw-text":$.value,onRegenerate:U,onCopy:R,onDelete:B},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):(K.model==="luma-video"||K.model==="cog-video")&&!K.inversion?(openBlock(),createBlock(_sfc_main$c,{key:1,ref_key:"textRef",ref:q,inversion:K.inversion,drawId:K.drawId,extend:K.extend,customId:K.customId,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,audioUrl:K.audioUrl,videoUrl:K.videoUrl,model:K.model,modelName:K.modelName,loading:K.loading,status:K.status,"as-raw-text":$.value,action:K.action,taskData:K.taskData,modelAvatar:K.modelAvatar,onRegenerate:U,onCopy:R,onDelete:B},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","audioUrl","videoUrl","model","modelName","loading","status","as-raw-text","action","taskData","modelAvatar"])):K.model==="suno-music"&&!K.inversion?(openBlock(),createBlock(_sfc_main$f,{key:2,ref_key:"textRef",ref:q,inversion:K.inversion,drawId:K.drawId,extend:K.extend,customId:K.customId,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,audioUrl:K.audioUrl,videoUrl:K.videoUrl,model:K.model,modelName:K.modelName,loading:K.loading,status:K.status,"as-raw-text":$.value,action:K.action,taskData:K.taskData,modelAvatar:K.modelAvatar,onRegenerate:U,onCopy:R,onDelete:B},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","audioUrl","videoUrl","model","modelName","loading","status","as-raw-text","action","taskData","modelAvatar"])):K.model==="ai-ppt"&&!K.inversion?(openBlock(),createBlock(_sfc_main$b,{key:3,ref_key:"textRef",ref:q,inversion:K.inversion,drawId:K.drawId,extend:K.extend,customId:K.customId,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,model:K.model,modelName:K.modelName,loading:K.loading,status:K.status,"as-raw-text":$.value,onRegenerate:U,onCopy:R,onDelete:B},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):K.modelType===2&&!K.inversion?(openBlock(),createBlock(_sfc_main$i,{key:4,ref_key:"textRef",ref:q,inversion:K.inversion,drawId:K.drawId,extend:K.extend,customId:K.customId,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,model:K.model,modelName:K.modelName,loading:K.loading,status:K.status,"as-raw-text":$.value,onRegenerate:U,onCopy:R,onDelete:B},null,8,["inversion","drawId","extend","customId","text","modelType","fileInfo","ttsUrl","model","modelName","loading","status","as-raw-text"])):(openBlock(),createBlock(_sfc_main$d,{key:5,ref_key:"textRef",ref:q,index:K.index,modelName:K.modelName,chatId:K.chatId,inversion:K.inversion,text:K.text,modelType:K.modelType,fileInfo:K.fileInfo,ttsUrl:K.ttsUrl,model:K.model,loading:K.loading,"as-raw-text":$.value,promptReference:K.promptReference,isLast:K.isLast,onRegenerate:U,onCopy:R,onDelete:B},null,8,["index","modelName","chatId","inversion","text","modelType","fileInfo","ttsUrl","model","loading","as-raw-text","promptReference","isLast"]))])])],512))}}),defaultPdfPreset=[{title:"文件概要总结",prompt:"为当前文件生成简短的概要,概述主要内容和关键点。",icon:"ri:booklet-line"},{title:"提取大纲结构",prompt:"自动提取文件中的章节和子章节,列出文件的大纲结构。",icon:"ri:layout-line"},{title:"文件内容解析",prompt:"解析文件的内容,并提供每一章节的详细说明。",icon:"ri:file-list-2-line"},{title:"文章主题分析",prompt:"分析文件的核心主题,提供简要描述。",icon:"ri:lightbulb-line"},{title:"快速浏览",prompt:"提供文件的快速浏览,包括主要段落的摘录和关键论点。",icon:"ri:eye-line"},{title:"总结要点",prompt:"从文件中提取出最重要的要点和核心思想。",icon:"ri:focus-2-line"}],defaultPreset=[{title:"英语翻译官",prompt:"我希望你能担任英语翻译、拼写校对和修辞改进的角色。我会用任何语言和你交流,你会识别语言,将其翻译并用更为优美和精炼的英语回答我。请将我简单的词汇和句子替换成更为优美和高雅的表达方式,确保意思不变,但使其更具文学性。请仅回答更正和改进的部分,不要写解释。我的第一句话是“how are you ?”,请翻译它。",icon:"ri:ai-generate"},{title:"心理学家",prompt:"我想让你扮演一个心理学家。我会告诉你我的想法。我希望你能给我科学的建议,让我感觉更好。我的第一个想法,{ 在这里输入你的想法,如果你解释得更详细,我想你会得到更准确的答案。}",icon:"ri:heart-line"},{title:"产品经理",prompt:"请确认我的以下请求。请您作为产品经理回复我。我将会提供一个主题,您将帮助我编写一份包括以下章节标题的PRD文档:主题、简介、问题陈述、目标与目的、用户故事、技术要求、收益、KPI指标、开发风险以及结论。在我要求具体主题、功能或开发的PRD之前,请不要先写任何一份PRD文档。",icon:"ri:projector-line"},{title:"如何学做菜",prompt:"我要你做我的私人厨师。我会告诉你我的饮食偏好和过敏,你会建议我尝试的食谱。你应该只回复你推荐的食谱,别无其他。不要写解释。我的第一个请求是“我是一名素食主义者,我正在寻找健康的晚餐点子。”",icon:"ri:restaurant-line"},{title:"规划一个去上海的旅游攻略 参观博物馆",prompt:"我想让你做一个旅游指南。我会把我的位置写给你,你会推荐一个靠近我的位置的地方。在某些情况下,我还会告诉您我将访问的地方类型。您还会向我推荐靠近我的第一个位置的类似类型的地方。我的第一个建议请求是“我在上海,我只想参观博物馆。”",icon:"ri:map-pin-line"},{title:"穿越时空",prompt:"如果你能穿越时空,你会去哪个时代?",icon:"ri:time-line"},{title:"量子力学",prompt:"解释一下量子力学是什么?",icon:"ri:flask-line"},{title:"人工智能",prompt:"介绍一下人工智能的历史",icon:"ri:robot-line"},{title:"深度学习",prompt:"讲解一下深度学习是如何工作的?",icon:"ri:brain-line"},{title:"冯诺依曼体系结构",prompt:"请举例说明什么是冯诺依曼体系结构?",icon:"ri:computer-line"},{title:"红楼梦情感分析",prompt:"请分析《红楼梦》中林黛玉与贾宝玉的情感关系。",icon:"ri:book-2-line"},{title:"100米短跑训练",prompt:"如何训练才能提高100米短跑成绩?",icon:"ri:run-line"},{title:"北京旅游攻略",prompt:"请推荐一份适合初次来中国的外国人的北京旅游攻略。",icon:"ri:road-map-line"},{title:"低GI饮食",prompt:"什么是低GI饮食?这种饮食有哪些好处?",icon:"ri:restaurant-2-line",iconColor:"text-orange-500"},{title:"全球环境问题",prompt:"请列出目前全球主要面临的三大环境问题,并简单阐述其影响和应对措施。",icon:"ri:earth-line"},{title:"提高社交影响力",prompt:"在社交场合,如何提高自己的感染力和影响力?",icon:"ri:team-line"},{title:"地中海地理特征",prompt:"请描述一下地中海的地理特征,以及这些特征对于古代世界的影响。",icon:"ri:map-pin-line"},{title:"《肖申克的救赎》影评",prompt:"请评价电影《肖申克的救赎》的剧情、角色塑造和拍摄手法。",icon:"ri:film-line"},{title:"苹果公司成功分析",prompt:"为什么苹果公司的产品总是比其他公司的产品更受欢迎?请从市场策略、产品设计、品牌形象等方面进行分析。",icon:"ri:apple-line"},{title:"健康饮食计划",prompt:"如何制定一份健康的饮食计划?",icon:"ri:heart-line"},{title:"编程学习指南",prompt:"怎样学习编程?",icon:"ri:code-line"},{title:"巴厘岛旅游景点",prompt:"在巴厘岛旅游有哪些值得参观的景点?",icon:"ri:map-pin-2-line"},{title:"处理亲密关系分歧",prompt:"如何处理亲密关系中的分歧?",icon:"ri:heart-2-line"},{title:"费马大定理证明",prompt:"如何证明费马大定理?",icon:"ri:function-line"},{title:"吸烟相关疾病预防",prompt:"长期吸烟引起的疾病有哪些?应该如何预防?",icon:"ri:lungs-line"},{title:"克服拖延症",prompt:"如何克服拖延症?",icon:"ri:time-line"},{title:"减少家庭垃圾",prompt:"如何减少家庭垃圾产生?",icon:"ri:recycle-line"},{title:"股票价值评估",prompt:"如何评估股票的价值?",icon:"ri:stock-line"},{title:"自信的社交表现",prompt:"如何在社交场合自信地表现自己?",icon:"ri:team-line"},{title:"推荐科幻电影",prompt:"给我一个最近评分不错的科幻电影的名字和简介",icon:"ri:movie-line"},{title:"英文翻译校对",prompt:"将下面这句英文翻译成中文并纠正其中的语法错误:'Me and him goes to the store yesterday.'",icon:"ri:translate-2",iconColor:"text-orange-500"},{title:"科技类大市值股票",prompt:"给我一些市值超过1000亿美元的科技类股票",icon:"ri:bar-chart-box-line"},{title:"商品销售量预测",prompt:"基于历史销售数据,预测下周某商品的销售量。",icon:"ri:line-chart-line",iconColor:"text-cyan-500"},{title:"思念诗歌创作",prompt:"请用七言绝句写一首表达思念之情的诗歌。",icon:"ri:quill-pen-line"},{title:"情侣约会餐厅推荐",prompt:"给我一个适合情侣约会的餐厅的名字和地址。",icon:"ri:restaurant-2-line"},{title:"西班牙旅游行程规划",prompt:"我计划去西班牙旅游,请帮我安排一个10天的行程。",icon:"ri:suitcase-3-line",iconColor:"text-orange-500"},{title:"电影分类归类",prompt:"将电影从爱情片、动作片和恐怖片三种分类中分别归类。",icon:"ri:film-line"},{title:"豆腐美食推荐",prompt:"推荐一道以豆腐为主要原料的美食,附上制作方法。",icon:"ri:restaurant-line"},{title:"流行华语歌曲推荐",prompt:"推荐最近流行的三首华语歌曲,并简要介绍它们的风格和歌词主题。",icon:"ri:music-line"},{title:"减少塑料污染生活指南",prompt:"请提供三条减少塑料污染的生活指南。",icon:"ri:leaf-line"},{title:"团队合作处理矛盾",prompt:"如何在团队合作中处理与同事之间的矛盾?",icon:"ri:team-line"},{title:"前景股票投资",prompt:"你认为现在买入哪些股票比较有前景?",icon:"ri:stock-line"},{title:"科幻片推荐",prompt:"你能否给我推荐一部最近上映的好看的科幻片?",icon:"ri:film-line"},{title:"三亚旅游攻略",prompt:"希望去三亚旅游,你能提供一份详细的旅游攻略吗?",icon:"ri:suitcase-2-line",iconColor:"text-orange-500"},{title:"意大利面烹饪技巧",prompt:"我想学做意大利面,你有什么简单易学的做法推荐吗?",icon:"ri:restaurant-line"},{title:"缓解焦虑的方法",prompt:"我感到很紧张,有什么方法能够缓解焦虑吗?",icon:"ri:heart-pulse-line"},{title:"电商平台投诉处理",prompt:"我在某电商平台购买的商品质量不佳,该如何向平台进行投诉处理?",icon:"ri:feedback-line"},{title:"有效学外语的方法",prompt:"你觉得学外语最有效的方法是什么?",icon:"ri:translate-2"},{title:"职场发展建议",prompt:"我正在寻找新的工作机会,有哪些职业领域前景较好?",icon:"ri:briefcase-line",iconColor:"text-cyan-500"},{title:"日本旅游攻略",prompt:"提供至少三个去日本旅游必去的景点,并描述其特色和适合的旅游时间。",icon:"ri:map-pin-line"},{title:"提高保险销售业绩",prompt:"如何提高保险销售员的业绩?",icon:"ri:money-dollar-box-line"},{title:"公司网站改版建议",prompt:"公司网站需要进行改版,请列举至少五个需要更新的页面元素并说明更新的理由。",icon:"ri:layout-5-line"},{title:"印度首都查询",prompt:"请问印度的首都是哪里?",icon:"ri:flag-line"},{title:"红旗渠修建历史",prompt:"请问红旗渠修建的时间和地点分别是什么?",icon:"ri:history-line"},{title:"DNA结构与功能",prompt:"请简要介绍一下DNA的结构及其功能。",icon:"ri:dna-line"},{title:"GDP定义与计算",prompt:"请问什么是GDP?如何计算GDP?",icon:"ri:bar-chart-2-line"},{title:"原子核组成",prompt:"请问原子核由哪些粒子组成?它们各自的电荷和质量分别是多少?",icon:"ri:leaf-line"},{title:"莫扎特代表作",prompt:"请问莫扎特的代表作有哪些?",icon:"ri:music-2-line"},{title:"汉字词源",prompt:"请问“汉字”这个词最早出现的时间和在哪本书中出现的?",icon:"ri:book-line",iconColor:"text-orange-500"},{title:"全运会历史",prompt:"请问全运会是哪年开始举办的?每隔几年举办一次?",icon:"ri:football-line"},{title:"石油用途",prompt:"请问石油的主要用途有哪些?",icon:"ri:oil-line"},{title:"心脏起搏器介绍",prompt:"请简要介绍一下心脏起搏器的原理和使用方法。",icon:"ri:heart-2-line",iconColor:"text-cyan-500"},{title:"观众情感分析",prompt:"这部电影的观众反应如何?",icon:"ri:emotion-laugh-line"},{title:"沙滩美景短文",prompt:"请写出一篇描述橙色阳光下沙滩美景的短文。",icon:"ri:sun-line",iconColor:"text-orange-500"},{title:"亚马逊财报数据查询",prompt:"亚马逊公司的年度财报数据是多少?",icon:"ri:money-dollar-box-line"},{title:"苹果新产品新闻",prompt:"请问最近有关于苹果公司新发布产品的新闻吗?",icon:"ri:apple-line"},{title:"一加与华为手机性能对比",prompt:"请比较一加手机和华为手机的性能差异。",icon:"ri:smartphone-line"},{title:"文章主要观点提取",prompt:"请从这篇文章中提取出主要观点。",icon:"ri:article-line"},{title:"用户意图分类",prompt:"用户输入“我想要预定机票”,它的意图是什么?",icon:"ri:question-line"},{title:"文章可读性修改",prompt:"请编辑这篇文章,使得它更易读。",icon:"ri:edit-line"},{title:"星期推理",prompt:"如果今天是星期三,那么后天是星期几?",icon:"ri:calendar-line",iconColor:"text-cyan-500"},{title:"微软创始人查询",prompt:"谁创办了微软公司?",icon:"ri:building-4-line"},{title:"电影类型分类",prompt:"这个电影是哪个类型的?",icon:"ri:film-line"},{title:"乐器描述",prompt:"描述一下你最喜欢的乐器。",icon:"ri:music-line",iconColor:"text-orange-500"},{title:"句子改写",prompt:"请改写这句话:“天空飘着几朵云彩。”",icon:"ri:edit-2-line"},{title:"书籍对比",prompt:"这本书和那本书有什么区别?",icon:"ri:book-line"},{title:"自然风景描写",prompt:"写一段自然风景的描写。",icon:"ri:landscape-line"},{title:"音乐年代分类",prompt:"这首歌曲属于哪个年代的音乐?",icon:"ri:music-2-line"},{title:"餐厅美食对比",prompt:"这家餐厅和那家餐厅哪家更好吃?",icon:"ri:restaurant-line"},{title:"电影喜好",prompt:"把这句话翻译成英文:“我喜欢看电影,尤其是科幻电影。”",icon:"ri:movie-line"},{title:"理想度假胜地描述",prompt:"描述一下你理想中的度假胜地。",icon:"ri:tree-line",iconColor:"text-orange-500"},{title:"动物分类",prompt:"这个动物属于哪个门类?",icon:"ri:bug-line"},{title:"新闻摘要生成",prompt:"请问如何利用 GPT-3.5 生成一篇 100 字左右的新闻摘要?",icon:"ri:newspaper-line"},{title:"自动翻译实现",prompt:"请问如何让 GPT-3.5 实现从中文到英文的自动翻译?",icon:"ri:translate"},{title:"全球医疗保健评价",prompt:"你如何评价当前全球范围内的医疗保健体系?",icon:"ri:stethoscope-line"},{title:"文化多样性保护",prompt:"请问有哪些国家在法律层面上保护本国的文化多样性?",icon:"ri:global-line"},{title:"新能源普及国家",prompt:"现今世界上使用新能源最为普及的国家是哪些?",icon:"ri:flashlight-line"},{title:"股市走势预测",prompt:"你认为全球股市未来一个季度会走势如何?",icon:"ri:line-chart-line",iconColor:"text-orange-500"},{title:"前沿科技研究",prompt:"请列举一些目前全球前沿的科技研究领域。",icon:"ri:rocket-line"},{title:"社交媒体影响",prompt:"社交媒体对年轻人的影响有哪些?",icon:"ri:chat-3-line"},{title:"电商平台市场份额",prompt:"当前哪些电商平台在全球拥有最大的市场份额?",icon:"ri:shopping-cart-line",iconColor:"text-cyan-500"},{title:"气候变化影响",prompt:"气候变化对世界各地造成了哪些影响?",icon:"ri:sun-cloudy-line"},{title:"全球顶尖大学排名",prompt:"请问哪些国家拥有全球最顶尖的大学排名?",icon:"ri:school-line",iconColor:"text-orange-500"},{title:"手机发明者",prompt:"手机是谁发明的?",icon:"ri:smartphone-line"},{title:"旅行故事创作",prompt:"给我写一个关于旅行的故事。",icon:"ri:suitcase-3-line"},{title:"文章情感分析",prompt:"这篇文章中的情感倾向是积极、消极还是中性?",icon:"ri:emotion-line"},{title:"拼写错误纠正",prompt:"句子中的哪个单词拼写有误:“昨天我去了餐馆,品尝了他们的招牌菜。”",icon:"ri:check-line"},{title:"文章摘要生成",prompt:"请为这篇长文章生成一段简要的摘要。",icon:"ri:file-text-line"},{title:"任务执行指令",prompt:"请告诉我现在怎么做。",icon:"ri:task-line",iconColor:"text-orange-500"},{title:"明朝社会阶层研究",prompt:"针对明朝时期的社会阶层结构,你能列出几种不同的人群并描述他们的特征吗?",icon:"ri:book-line",iconColor:"text-brown-500"},{title:"物种区别解释",prompt:"两个相似物种的区别在哪里?请用一种易于理解的方式解释。",icon:"ri:leaf-line"},{title:"政治参与度分析",prompt:"哪些因素影响政治参与度?你认为如何激发公民参与政治?",icon:"ri:government-line"},{title:"情感分析技术",prompt:"如何利用自然语言处理技术进行情感分析?您可以列举一些常见的情感分析算法和应用场景吗?",icon:"ri:emotion-line"},{title:"经济发展水平衡量",prompt:"如何衡量一个国家的经济发展水平?您如何评估不同国家之间的贸易关系?",icon:"ri:money-dollar-circle-line"},{title:"机器学习简介",prompt:"讲述一下什么是机器学习,以及它在现代计算机科学中扮演的角色。",icon:"ri:robot-line"},{title:"气候变化影响",prompt:"近年来,气候变化对我们的环境造成了哪些影响?未来还可能会引起哪些灾难?",icon:"ri:sun-cloudy-line"},{title:"创新教育方法",prompt:"教师应该如何培养学生的创新思维和实践能力?您认为有效的教育方法是什么?",icon:"ri:lightbulb-line",iconColor:"text-orange-500"},{title:"学习心理素质",prompt:"学习一门新技能需要哪些心理素质?如何在学习过程中保持积极的情绪状态?",icon:"ri:psychotherapy-line"},{title:"未来科技趋势",prompt:"未来科技发展的趋势是什么?您认为会有哪些领域会得到革命性的改变?",icon:"ri:rocket-line"},{title:"电影推荐",prompt:"根据我的口味推荐一部近期上映的电影。",icon:"ri:film-line"},{title:"手机产品比较",prompt:"请分析一下 iPhone 和 Android 手机的优缺点,说明它们适合不同的用户群体。",icon:"ri:smartphone-line"},{title:"新闻头条创作",prompt:"请为明天的头条新闻写一个简短但有吸引力的标题,并提出三个相关问题。",icon:"ri:newspaper-line",iconColor:"text-orange-500"},{title:"市场零食品牌分析",prompt:"请列举五种最受欢迎的零食品牌,并分析其在市场上的竞争优势。",icon:"ri:shopping-bag-line"},{title:"自然之美短文",prompt:"请根据以下关键词写一篇题为“自然之美”的 300 字左右的短文:山水、湖泊、森林、鸟儿、日出日落。",icon:"ri:palette-line"},{title:"英文文本编辑",prompt:"翻译以下这段英文,同时对其进行适当的调整和编辑:He was lay down.",icon:"ri:edit-line"},{title:"近期电影推荐",prompt:"可以给我推荐几部最近比较值得观看的电影吗?",icon:"ri:film-line"},{title:"马克思主义知识问答",prompt:"马克思主义的基本原理是什么?",icon:"ri:questionnaire-line"},{title:"北京旅游攻略",prompt:"如果想去北京旅游,有哪些必去的景点和美食呢?",icon:"ri:road-map-line",iconColor:"text-orange-500"},{title:"经济形势分析",prompt:"分析一下目前国内外经济形势,对未来的发展有何预测?",icon:"ri:line-chart-line"},{title:"文章情感分类",prompt:"这篇文章是正面的还是负面的?",icon:"ri:emotion-line"},{title:"写作效率提升方法",prompt:"有哪些方法可以提高写作效率?",icon:"ri:keyboard-box-line"},{title:"电子书与纸质书对比",prompt:"阅读电子书和纸质书有什么区别?",icon:"ri:book-2-line"},{title:"论文语法修改",prompt:"请帮我修改这篇论文中的语法错误。",icon:"ri:file-edit-line"},{title:"人工智能知识查询",prompt:"什么是人工智能?",icon:"ri:robot-line"},{title:"实体识别",prompt:"在这段文字中,'苹果'指的是手机品牌还是水果?",icon:"ri:barcode-box-line"},{title:"文章主题分类",prompt:"这篇文章的主题是什么?",icon:"ri:layout-line",iconColor:"text-orange-500"},{title:"文章摘要生成",prompt:"请用一句话概括这篇文章的核心内容。",icon:"ri:file-text-line"},{title:"新上映电影推荐",prompt:"有哪些值得一看的新上映电影?",icon:"ri:movie-line"},{title:"欧洲杯赛程",prompt:"请列出近期欧洲杯足球赛程表。",icon:"ri:trophy-line",iconColor:"text-gold-500"},{title:"健康饮食方案",prompt:"有哪些适合控制体重的健康饮食方案?",icon:"ri:restaurant-line",iconColor:"text-orange-500"},{title:"日本旅游攻略",prompt:"如果我想去日本旅游,应该怎样规划我的行程和预算?",icon:"ri:suitcase-line"},{title:"最新科技新闻",prompt:"有哪些最近的科技进展值得关注?",icon:"ri:news-line"},{title:"编程语言选择",prompt:"当你需要开发一个新项目时,该如何选择合适的编程语言?",icon:"ri:code-box-line"},{title:"健康饮食搭配",prompt:"请问在平衡健康饮食方面,应该怎样搭配膳食结构?",icon:"ri:restaurant-2-line"},{title:"科技公司伦理标准",prompt:"微软、谷歌等科技公司是否有明确的伦理标准?如果有,请简要列举这些标准。",icon:"ri:shield-check-line"},{title:"机器人研究方向",prompt:"机器人研究领域都包括哪些方向?",icon:"ri:robot-line"},{title:"气候变化影响",prompt:"你认为气候变化对人类有哪些不利影响?",icon:"ri:cloud-windy-line"}],_hoisted_1$a={class:"mb-10 rounded px-4 py-2 text-center text-3xl font-bold text-primary-500"},_hoisted_2$9={key:0,class:"w-full md:max-w-[40rem]"},_hoisted_3$8=["onClick"],_hoisted_4$7={class:"mt-8 line-clamp-2 break-all overflow-hidden text-gray-600 dark:text-gray-500 flex-grow text-sm"},_sfc_main$9=defineComponent({__name:"index",setup(k){var ie;const m=inject("onConversation"),M=useAuthStore(),G=useChatStore(),V=computed(()=>G.groupList),{isMobile:q}=useBasicLayout(),$=ref(),D=useRoute(),B=computed(()=>{var he;return Number((he=M.globalConfig)==null?void 0:he.isHideDefaultPreset)===1}),R=()=>{if(D.path==="/pdf"){$.value=defaultPdfPreset.sort(()=>.5-Math.random()).slice(0,4);return}else $.value=defaultPreset.sort(()=>.5-Math.random()).slice(0,4)};onMounted(()=>{R()}),onMounted(()=>{R()});const U=((ie=M.globalConfig)==null?void 0:ie.siteName)||"AIWeb",K=computed(()=>D.path==="/pdf"),z=inject("createNewChatGroup",()=>Promise.resolve());async function e(he){V.value.length===0&&await z();const{appId:J,prompt:W}=he;if(J&&J>0)try{await G.addNewChatGroup(J),await G.queryMyGroup()}catch{}else m({msg:W})}const ae=()=>{const he=["text-red-500","text-blue-500","text-green-500","text-yellow-500","text-purple-500","text-pink-500","text-indigo-500"];return he[Math.floor(Math.random()*he.length)]};return(he,J)=>(openBlock(),createElementBlock("div",{class:normalizeClass([[unref(q)?"mb-16":"mt-8"],"px-4 select-none w-full flex flex-col items-center justify-center h-full"])},[createBaseVNode("h1",_hoisted_1$a,toDisplayString(unref(U)),1),B.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_2$9,[createBaseVNode("div",{class:normalizeClass([K.value?"grid-cols-2 mx-2":"grid-cols-2 sm:grid-cols-2 lg:grid-cols-4","grid gap-4"])},[(openBlock(!0),createElementBlock(Fragment$1,null,renderList($.value,W=>(openBlock(),createElementBlock("div",{key:W.title,class:"space-y-4"},[createBaseVNode("button",{onClick:X=>e(W),class:"relative shadow-sm flex flex-col gap-2 rounded-xl ring-1 ring-gray-200 dark:ring-gray-700 px-3 pb-4 pt-3 text-start align-top text-sm transition dark:bg-gray-800 dark:hover:bg-gray-750 hover:bg-gray-50 w-full h-full min-h-[4rem] min-w-[8rem] flex-grow"},[createVNode(unref(_sfc_main$k),{icon:W.icon,class:normalizeClass(["mb-3 inline-block text-base absolute top-3 left-3",ae()])},null,8,["icon","class"]),createBaseVNode("div",_hoisted_4$7,toDisplayString(W.title),1)],8,_hoisted_3$8)]))),128))],2)]))],2))}}),_hoisted_1$9={class:"w-full md:max-w-[40rem] mb-4"},_hoisted_2$8={class:"flex items-center justify-center"},_hoisted_3$7={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-lg"},_hoisted_4$6=["src"],_hoisted_5$6={class:"text-white text-sm md:text-lg"},_hoisted_6$6={class:"rounded px-4 py-2 text-3xl font-bold text-primary-500"},_hoisted_7$6={class:"w-full md:max-w-[40rem] mb-5"},_hoisted_8$5={class:"flex items-center justify-center"},_hoisted_9$5={class:"w-full md:max-w-[40rem] mt-2"},_hoisted_10$4={class:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-4 justify-center"},_hoisted_11$4=["onClick"],_hoisted_12$3={class:"mt-8 line-clamp-2 break-all overflow-hidden text-gray-600 dark:text-gray-500 flex-grow text-sm"},_sfc_main$8=defineComponent({__name:"index",props:{appId:{}},setup(k){const{isMobile:m}=useBasicLayout(),M=ref(null),G=k,V=inject("onConversation"),q=async B=>{try{const R=await fetchQueryOneCatAPI({id:B});M.value=R.data}catch{}};function $(B){var R;V({msg:B,model:(R=M==null?void 0:M.value)==null?void 0:R.model,modelAvatar:M.value.modelAvatar})}function D(){const B=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return B[Math.floor(Math.random()*B.length)]}return onMounted(()=>{G.appId&&q(G.appId)}),watch(()=>G.appId,B=>{B&&q(B)}),(B,R)=>{var U,K,z;return M.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([[unref(m)?"mb-16":"mt-8"],"px-4 select-none w-full flex flex-col items-center justify-center h-full"])},[createBaseVNode("div",_hoisted_1$9,[createBaseVNode("div",_hoisted_2$8,[M.value.coverImg?(openBlock(),createElementBlock("div",_hoisted_3$7,[createBaseVNode("img",{src:M.value.coverImg,class:"rounded-full w-10 h-10 mr-4",alt:"app-image"},null,8,_hoisted_4$6)])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([D(),"flex-shrink-0 dark:ring-gray-400 rounded-full w-10 h-10 flex items-center justify-center mr-4"])},[createBaseVNode("span",_hoisted_5$6,toDisplayString(M.value.name.slice(0,1)),1)],2)),createBaseVNode("h1",_hoisted_6$6,toDisplayString((U=M.value)==null?void 0:U.name),1)])]),createBaseVNode("div",_hoisted_7$6,[createBaseVNode("div",_hoisted_8$5,[createBaseVNode("p",null,toDisplayString((K=M.value)==null?void 0:K.des),1)])]),createBaseVNode("div",_hoisted_9$5,[createBaseVNode("div",_hoisted_10$4,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList((z=M.value)==null?void 0:z.demoData,(e,ae)=>(openBlock(),createElementBlock("div",{key:ae,class:"space-y-4"},[createBaseVNode("button",{onClick:ie=>$(e),class:"relative flex flex-col gap-2 rounded-xl border border-gray-200 dark:border-gray-800 px-3 pb-4 pt-3 text-start align-top text-sm shadow-sm transition dark:bg-gray-800 dark:hover:bg-gray-700 hover:bg-gray-50 w-full h-full min-h-[4rem] min-w-[8rem] flex-grow"},[createVNode(unref(_sfc_main$k),{class:"mb-3 inline-block text-base absolute top-3 left-3",icon:"material-symbols:tips-and-updates-outline"}),createBaseVNode("div",_hoisted_12$3,toDisplayString(e),1)],8,_hoisted_11$4)]))),128))])])],2)):createCommentVNode("",!0)}}});var jszip_min={exports:{}};/*! JSZip v3.10.1 - A JavaScript class for generating and reading zip files @@ -399,40 +547,40 @@ Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/js JSZip uses the library pako released under the MIT license : https://github.com/nodeca/pako/blob/main/LICENSE -*/(function(k,m){(function(M){k.exports=M()})(function(){return function M(G,V,q){function $(R,U){if(!V[R]){if(!G[R]){var K=typeof commonjsRequire$1=="function"&&commonjsRequire$1;if(!U&&K)return K(R,!0);if(D)return D(R,!0);var z=new Error("Cannot find module '"+R+"'");throw z.code="MODULE_NOT_FOUND",z}var e=V[R]={exports:{}};G[R][0].call(e.exports,function(ae){var ie=G[R][1][ae];return $(ie||ae)},e,e.exports,M,G,V,q)}return V[R].exports}for(var D=typeof commonjsRequire$1=="function"&&commonjsRequire$1,B=0;B>2,e=(3&R)<<4|U>>4,ae=1>6:64,ie=2>4,U=(15&z)<<4|(e=D.indexOf(B.charAt(ie++)))>>2,K=(3&e)<<6|(ae=D.indexOf(B.charAt(ie++))),X[he++]=R,e!==64&&(X[he++]=U),ae!==64&&(X[he++]=K);return X}},{"./support":30,"./utils":32}],2:[function(M,G,V){var q=M("./external"),$=M("./stream/DataWorker"),D=M("./stream/Crc32Probe"),B=M("./stream/DataLengthProbe");function R(U,K,z,e,ae){this.compressedSize=U,this.uncompressedSize=K,this.crc32=z,this.compression=e,this.compressedContent=ae}R.prototype={getContentWorker:function(){var U=new $(q.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new B("data_length")),K=this;return U.on("end",function(){if(this.streamInfo.data_length!==K.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),U},getCompressedWorker:function(){return new $(q.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},R.createWorkerFrom=function(U,K,z){return U.pipe(new D).pipe(new B("uncompressedSize")).pipe(K.compressWorker(z)).pipe(new B("compressedSize")).withStreamInfo("compression",K)},G.exports=R},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(M,G,V){var q=M("./stream/GenericWorker");V.STORE={magic:"\0\0",compressWorker:function(){return new q("STORE compression")},uncompressWorker:function(){return new q("STORE decompression")}},V.DEFLATE=M("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(M,G,V){var q=M("./utils"),$=function(){for(var D,B=[],R=0;R<256;R++){D=R;for(var U=0;U<8;U++)D=1&D?3988292384^D>>>1:D>>>1;B[R]=D}return B}();G.exports=function(D,B){return D!==void 0&&D.length?q.getTypeOf(D)!=="string"?function(R,U,K,z){var e=$,ae=z+K;R^=-1;for(var ie=z;ie>>8^e[255&(R^U[ie])];return-1^R}(0|B,D,D.length,0):function(R,U,K,z){var e=$,ae=z+K;R^=-1;for(var ie=z;ie>>8^e[255&(R^U.charCodeAt(ie))];return-1^R}(0|B,D,D.length,0):0}},{"./utils":32}],5:[function(M,G,V){V.base64=!1,V.binary=!1,V.dir=!1,V.createFolders=!0,V.date=null,V.compression=null,V.compressionOptions=null,V.comment=null,V.unixPermissions=null,V.dosPermissions=null},{}],6:[function(M,G,V){var q=null;q=typeof Promise<"u"?Promise:M("lie"),G.exports={Promise:q}},{lie:37}],7:[function(M,G,V){var q=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",$=M("pako"),D=M("./utils"),B=M("./stream/GenericWorker"),R=q?"uint8array":"array";function U(K,z){B.call(this,"FlateWorker/"+K),this._pako=null,this._pakoAction=K,this._pakoOptions=z,this.meta={}}V.magic="\b\0",D.inherits(U,B),U.prototype.processChunk=function(K){this.meta=K.meta,this._pako===null&&this._createPako(),this._pako.push(D.transformTo(R,K.data),!1)},U.prototype.flush=function(){B.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},U.prototype.cleanUp=function(){B.prototype.cleanUp.call(this),this._pako=null},U.prototype._createPako=function(){this._pako=new $[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var K=this;this._pako.onData=function(z){K.push({data:z,meta:K.meta})}},V.compressWorker=function(K){return new U("Deflate",K)},V.uncompressWorker=function(){return new U("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(M,G,V){function q(e,ae){var ie,he="";for(ie=0;ie>>=8;return he}function $(e,ae,ie,he,J,X){var W,L,Q=e.file,ce=e.compression,de=X!==R.utf8encode,oe=D.transformTo("string",X(Q.name)),se=D.transformTo("string",R.utf8encode(Q.name)),me=Q.comment,Ee=D.transformTo("string",X(me)),ke=D.transformTo("string",R.utf8encode(me)),xe=se.length!==Q.name.length,fe=ke.length!==me.length,ve="",ye="",Ce="",pe=Q.dir,_e=Q.date,Ge={crc32:0,compressedSize:0,uncompressedSize:0};ae&&!ie||(Ge.crc32=e.crc32,Ge.compressedSize=e.compressedSize,Ge.uncompressedSize=e.uncompressedSize);var Te=0;ae&&(Te|=8),de||!xe&&!fe||(Te|=2048);var Ne=0,Ze=0;pe&&(Ne|=16),J==="UNIX"?(Ze=798,Ne|=function(Ae,De){var Ue=Ae;return Ae||(Ue=De?16893:33204),(65535&Ue)<<16}(Q.unixPermissions,pe)):(Ze=20,Ne|=function(Ae){return 63&(Ae||0)}(Q.dosPermissions)),W=_e.getUTCHours(),W<<=6,W|=_e.getUTCMinutes(),W<<=5,W|=_e.getUTCSeconds()/2,L=_e.getUTCFullYear()-1980,L<<=4,L|=_e.getUTCMonth()+1,L<<=5,L|=_e.getUTCDate(),xe&&(ye=q(1,1)+q(U(oe),4)+se,ve+="up"+q(ye.length,2)+ye),fe&&(Ce=q(1,1)+q(U(Ee),4)+ke,ve+="uc"+q(Ce.length,2)+Ce);var ze="";return ze+=` -\0`,ze+=q(Te,2),ze+=ce.magic,ze+=q(W,2),ze+=q(L,2),ze+=q(Ge.crc32,4),ze+=q(Ge.compressedSize,4),ze+=q(Ge.uncompressedSize,4),ze+=q(oe.length,2),ze+=q(ve.length,2),{fileRecord:K.LOCAL_FILE_HEADER+ze+oe+ve,dirRecord:K.CENTRAL_FILE_HEADER+q(Ze,2)+ze+q(Ee.length,2)+"\0\0\0\0"+q(Ne,4)+q(he,4)+oe+ve+Ee}}var D=M("../utils"),B=M("../stream/GenericWorker"),R=M("../utf8"),U=M("../crc32"),K=M("../signature");function z(e,ae,ie,he){B.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=ae,this.zipPlatform=ie,this.encodeFileName=he,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}D.inherits(z,B),z.prototype.push=function(e){var ae=e.meta.percent||0,ie=this.entriesCount,he=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,B.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:ie?(ae+100*(ie-he-1))/ie:100}}))},z.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var ae=this.streamFiles&&!e.file.dir;if(ae){var ie=$(e,ae,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:ie.fileRecord,meta:{percent:0}})}else this.accumulate=!0},z.prototype.closedSource=function(e){this.accumulate=!1;var ae=this.streamFiles&&!e.file.dir,ie=$(e,ae,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(ie.dirRecord),ae)this.push({data:function(he){return K.DATA_DESCRIPTOR+q(he.crc32,4)+q(he.compressedSize,4)+q(he.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:ie.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},z.prototype.flush=function(){for(var e=this.bytesWritten,ae=0;ae=this.index;B--)R=(R<<8)+this.byteAt(B);return this.index+=D,R},readString:function(D){return q.transformTo("string",this.readData(D))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var D=this.readInt(4);return new Date(Date.UTC(1980+(D>>25&127),(D>>21&15)-1,D>>16&31,D>>11&31,D>>5&63,(31&D)<<1))}},G.exports=$},{"../utils":32}],19:[function(M,G,V){var q=M("./Uint8ArrayReader");function $(D){q.call(this,D)}M("../utils").inherits($,q),$.prototype.readData=function(D){this.checkOffset(D);var B=this.data.slice(this.zero+this.index,this.zero+this.index+D);return this.index+=D,B},G.exports=$},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(M,G,V){var q=M("./DataReader");function $(D){q.call(this,D)}M("../utils").inherits($,q),$.prototype.byteAt=function(D){return this.data.charCodeAt(this.zero+D)},$.prototype.lastIndexOfSignature=function(D){return this.data.lastIndexOf(D)-this.zero},$.prototype.readAndCheckSignature=function(D){return D===this.readData(4)},$.prototype.readData=function(D){this.checkOffset(D);var B=this.data.slice(this.zero+this.index,this.zero+this.index+D);return this.index+=D,B},G.exports=$},{"../utils":32,"./DataReader":18}],21:[function(M,G,V){var q=M("./ArrayReader");function $(D){q.call(this,D)}M("../utils").inherits($,q),$.prototype.readData=function(D){if(this.checkOffset(D),D===0)return new Uint8Array(0);var B=this.data.subarray(this.zero+this.index,this.zero+this.index+D);return this.index+=D,B},G.exports=$},{"../utils":32,"./ArrayReader":17}],22:[function(M,G,V){var q=M("../utils"),$=M("../support"),D=M("./ArrayReader"),B=M("./StringReader"),R=M("./NodeBufferReader"),U=M("./Uint8ArrayReader");G.exports=function(K){var z=q.getTypeOf(K);return q.checkSupport(z),z!=="string"||$.uint8array?z==="nodebuffer"?new R(K):$.uint8array?new U(q.transformTo("uint8array",K)):new D(q.transformTo("array",K)):new B(K)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(M,G,V){V.LOCAL_FILE_HEADER="PK",V.CENTRAL_FILE_HEADER="PK",V.CENTRAL_DIRECTORY_END="PK",V.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",V.ZIP64_CENTRAL_DIRECTORY_END="PK",V.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(M,G,V){var q=M("./GenericWorker"),$=M("../utils");function D(B){q.call(this,"ConvertWorker to "+B),this.destType=B}$.inherits(D,q),D.prototype.processChunk=function(B){this.push({data:$.transformTo(this.destType,B.data),meta:B.meta})},G.exports=D},{"../utils":32,"./GenericWorker":28}],25:[function(M,G,V){var q=M("./GenericWorker"),$=M("../crc32");function D(){q.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}M("../utils").inherits(D,q),D.prototype.processChunk=function(B){this.streamInfo.crc32=$(B.data,this.streamInfo.crc32||0),this.push(B)},G.exports=D},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(M,G,V){var q=M("../utils"),$=M("./GenericWorker");function D(B){$.call(this,"DataLengthProbe for "+B),this.propName=B,this.withStreamInfo(B,0)}q.inherits(D,$),D.prototype.processChunk=function(B){if(B){var R=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=R+B.data.length}$.prototype.processChunk.call(this,B)},G.exports=D},{"../utils":32,"./GenericWorker":28}],27:[function(M,G,V){var q=M("../utils"),$=M("./GenericWorker");function D(B){$.call(this,"DataWorker");var R=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,B.then(function(U){R.dataIsReady=!0,R.data=U,R.max=U&&U.length||0,R.type=q.getTypeOf(U),R.isPaused||R._tickAndRepeat()},function(U){R.error(U)})}q.inherits(D,$),D.prototype.cleanUp=function(){$.prototype.cleanUp.call(this),this.data=null},D.prototype.resume=function(){return!!$.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,q.delay(this._tickAndRepeat,[],this)),!0)},D.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(q.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},D.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var B=null,R=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":B=this.data.substring(this.index,R);break;case"uint8array":B=this.data.subarray(this.index,R);break;case"array":case"nodebuffer":B=this.data.slice(this.index,R)}return this.index=R,this.push({data:B,meta:{percent:this.max?this.index/this.max*100:0}})},G.exports=D},{"../utils":32,"./GenericWorker":28}],28:[function(M,G,V){function q($){this.name=$||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}q.prototype={push:function($){this.emit("data",$)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch($){this.emit("error",$)}return!0},error:function($){return!this.isFinished&&(this.isPaused?this.generatedError=$:(this.isFinished=!0,this.emit("error",$),this.previous&&this.previous.error($),this.cleanUp()),!0)},on:function($,D){return this._listeners[$].push(D),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function($,D){if(this._listeners[$])for(var B=0;B "+$:$}},G.exports=q},{}],29:[function(M,G,V){var q=M("../utils"),$=M("./ConvertWorker"),D=M("./GenericWorker"),B=M("../base64"),R=M("../support"),U=M("../external"),K=null;if(R.nodestream)try{K=M("../nodejs/NodejsStreamOutputAdapter")}catch{}function z(ae,ie){return new U.Promise(function(he,J){var X=[],W=ae._internalType,L=ae._outputType,Q=ae._mimeType;ae.on("data",function(ce,de){X.push(ce),ie&&ie(de)}).on("error",function(ce){X=[],J(ce)}).on("end",function(){try{var ce=function(de,oe,se){switch(de){case"blob":return q.newBlob(q.transformTo("arraybuffer",oe),se);case"base64":return B.encode(oe);default:return q.transformTo(de,oe)}}(L,function(de,oe){var se,me=0,Ee=null,ke=0;for(se=0;se"u")V.blob=!1;else{var q=new ArrayBuffer(0);try{V.blob=new Blob([q],{type:"application/zip"}).size===0}catch{try{var $=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);$.append(q),V.blob=$.getBlob("application/zip").size===0}catch{V.blob=!1}}}try{V.nodestream=!!M("readable-stream").Readable}catch{V.nodestream=!1}},{"readable-stream":16}],31:[function(M,G,V){for(var q=M("./utils"),$=M("./support"),D=M("./nodejsUtils"),B=M("./stream/GenericWorker"),R=new Array(256),U=0;U<256;U++)R[U]=252<=U?6:248<=U?5:240<=U?4:224<=U?3:192<=U?2:1;R[254]=R[254]=1;function K(){B.call(this,"utf-8 decode"),this.leftOver=null}function z(){B.call(this,"utf-8 encode")}V.utf8encode=function(e){return $.nodebuffer?D.newBufferFrom(e,"utf-8"):function(ae){var ie,he,J,X,W,L=ae.length,Q=0;for(X=0;X>>6:(he<65536?ie[W++]=224|he>>>12:(ie[W++]=240|he>>>18,ie[W++]=128|he>>>12&63),ie[W++]=128|he>>>6&63),ie[W++]=128|63&he);return ie}(e)},V.utf8decode=function(e){return $.nodebuffer?q.transformTo("nodebuffer",e).toString("utf-8"):function(ae){var ie,he,J,X,W=ae.length,L=new Array(2*W);for(ie=he=0;ie>10&1023,L[he++]=56320|1023&J)}return L.length!==he&&(L.subarray?L=L.subarray(0,he):L.length=he),q.applyFromCharCode(L)}(e=q.transformTo($.uint8array?"uint8array":"array",e))},q.inherits(K,B),K.prototype.processChunk=function(e){var ae=q.transformTo($.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if($.uint8array){var ie=ae;(ae=new Uint8Array(ie.length+this.leftOver.length)).set(this.leftOver,0),ae.set(ie,this.leftOver.length)}else ae=this.leftOver.concat(ae);this.leftOver=null}var he=function(X,W){var L;for((W=W||X.length)>X.length&&(W=X.length),L=W-1;0<=L&&(192&X[L])==128;)L--;return L<0||L===0?W:L+R[X[L]]>W?L:W}(ae),J=ae;he!==ae.length&&($.uint8array?(J=ae.subarray(0,he),this.leftOver=ae.subarray(he,ae.length)):(J=ae.slice(0,he),this.leftOver=ae.slice(he,ae.length))),this.push({data:V.utf8decode(J),meta:e.meta})},K.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:V.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},V.Utf8DecodeWorker=K,q.inherits(z,B),z.prototype.processChunk=function(e){this.push({data:V.utf8encode(e.data),meta:e.meta})},V.Utf8EncodeWorker=z},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(M,G,V){var q=M("./support"),$=M("./base64"),D=M("./nodejsUtils"),B=M("./external");function R(ie){return ie}function U(ie,he){for(var J=0;J>8;this.dir=!!(16&this.externalFileAttributes),e==0&&(this.dosPermissions=63&this.externalFileAttributes),e==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=q(this.extraFields[1].value);this.uncompressedSize===$.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===$.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===$.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===$.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var ae,ie,he,J=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(e<65536?z[he++]=224|e>>>12:(z[he++]=240|e>>>18,z[he++]=128|e>>>12&63),z[he++]=128|e>>>6&63),z[he++]=128|63&e);return z},V.buf2binstring=function(K){return U(K,K.length)},V.binstring2buf=function(K){for(var z=new q.Buf8(K.length),e=0,ae=z.length;e>10&1023,X[ae++]=56320|1023&ie)}return U(X,ae)},V.utf8border=function(K,z){var e;for((z=z||K.length)>K.length&&(z=K.length),e=z-1;0<=e&&(192&K[e])==128;)e--;return e<0||e===0?z:e+B[K[e]]>z?e:z}},{"./common":41}],43:[function(M,G,V){G.exports=function(q,$,D,B){for(var R=65535&q|0,U=q>>>16&65535|0,K=0;D!==0;){for(D-=K=2e3>>1:$>>>1;D[B]=$}return D}();G.exports=function($,D,B,R){var U=q,K=R+B;$^=-1;for(var z=R;z>>8^U[255&($^D[z])];return-1^$}},{}],46:[function(M,G,V){var q,$=M("../utils/common"),D=M("./trees"),B=M("./adler32"),R=M("./crc32"),U=M("./messages"),K=0,z=4,e=0,ae=-2,ie=-1,he=4,J=2,X=8,W=9,L=286,Q=30,ce=19,de=2*L+1,oe=15,se=3,me=258,Ee=me+se+1,ke=42,xe=113,fe=1,ve=2,ye=3,Ce=4;function pe(Le,et){return Le.msg=U[et],et}function _e(Le){return(Le<<1)-(4Le.avail_out&&(Qe=Le.avail_out),Qe!==0&&($.arraySet(Le.output,et.pending_buf,et.pending_out,Qe,Le.next_out),Le.next_out+=Qe,et.pending_out+=Qe,Le.total_out+=Qe,Le.avail_out-=Qe,et.pending-=Qe,et.pending===0&&(et.pending_out=0))}function Ne(Le,et){D._tr_flush_block(Le,0<=Le.block_start?Le.block_start:-1,Le.strstart-Le.block_start,et),Le.block_start=Le.strstart,Te(Le.strm)}function Ze(Le,et){Le.pending_buf[Le.pending++]=et}function ze(Le,et){Le.pending_buf[Le.pending++]=et>>>8&255,Le.pending_buf[Le.pending++]=255&et}function Ae(Le,et){var Qe,Fe,$e=Le.max_chain_length,Ye=Le.strstart,tt=Le.prev_length,ot=Le.nice_match,st=Le.strstart>Le.w_size-Ee?Le.strstart-(Le.w_size-Ee):0,dt=Le.window,ct=Le.w_mask,mt=Le.prev,ut=Le.strstart+me,rt=dt[Ye+tt-1],He=dt[Ye+tt];Le.prev_length>=Le.good_match&&($e>>=2),ot>Le.lookahead&&(ot=Le.lookahead);do if(dt[(Qe=et)+tt]===He&&dt[Qe+tt-1]===rt&&dt[Qe]===dt[Ye]&&dt[++Qe]===dt[Ye+1]){Ye+=2,Qe++;do;while(dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&Yest&&--$e!=0);return tt<=Le.lookahead?tt:Le.lookahead}function De(Le){var et,Qe,Fe,$e,Ye,tt,ot,st,dt,ct,mt=Le.w_size;do{if($e=Le.window_size-Le.lookahead-Le.strstart,Le.strstart>=mt+(mt-Ee)){for($.arraySet(Le.window,Le.window,mt,mt,0),Le.match_start-=mt,Le.strstart-=mt,Le.block_start-=mt,et=Qe=Le.hash_size;Fe=Le.head[--et],Le.head[et]=mt<=Fe?Fe-mt:0,--Qe;);for(et=Qe=mt;Fe=Le.prev[--et],Le.prev[et]=mt<=Fe?Fe-mt:0,--Qe;);$e+=mt}if(Le.strm.avail_in===0)break;if(tt=Le.strm,ot=Le.window,st=Le.strstart+Le.lookahead,dt=$e,ct=void 0,ct=tt.avail_in,dt=se)for(Ye=Le.strstart-Le.insert,Le.ins_h=Le.window[Ye],Le.ins_h=(Le.ins_h<=se&&(Le.ins_h=(Le.ins_h<=se)if(Fe=D._tr_tally(Le,Le.strstart-Le.match_start,Le.match_length-se),Le.lookahead-=Le.match_length,Le.match_length<=Le.max_lazy_match&&Le.lookahead>=se){for(Le.match_length--;Le.strstart++,Le.ins_h=(Le.ins_h<=se&&(Le.ins_h=(Le.ins_h<=se&&Le.match_length<=Le.prev_length){for($e=Le.strstart+Le.lookahead-se,Fe=D._tr_tally(Le,Le.strstart-1-Le.prev_match,Le.prev_length-se),Le.lookahead-=Le.prev_length-1,Le.prev_length-=2;++Le.strstart<=$e&&(Le.ins_h=(Le.ins_h<Le.pending_buf_size-5&&(Qe=Le.pending_buf_size-5);;){if(Le.lookahead<=1){if(De(Le),Le.lookahead===0&&et===K)return fe;if(Le.lookahead===0)break}Le.strstart+=Le.lookahead,Le.lookahead=0;var Fe=Le.block_start+Qe;if((Le.strstart===0||Le.strstart>=Fe)&&(Le.lookahead=Le.strstart-Fe,Le.strstart=Fe,Ne(Le,!1),Le.strm.avail_out===0)||Le.strstart-Le.block_start>=Le.w_size-Ee&&(Ne(Le,!1),Le.strm.avail_out===0))return fe}return Le.insert=0,et===z?(Ne(Le,!0),Le.strm.avail_out===0?ye:Ce):(Le.strstart>Le.block_start&&(Ne(Le,!1),Le.strm.avail_out),fe)}),new Ie(4,4,8,4,Ue),new Ie(4,5,16,8,Ue),new Ie(4,6,32,32,Ue),new Ie(4,4,16,16,we),new Ie(8,16,32,32,we),new Ie(8,16,128,128,we),new Ie(8,32,128,256,we),new Ie(32,128,258,1024,we),new Ie(32,258,258,4096,we)],V.deflateInit=function(Le,et){return je(Le,et,X,15,8,0)},V.deflateInit2=je,V.deflateReset=Ve,V.deflateResetKeep=Ke,V.deflateSetHeader=function(Le,et){return Le&&Le.state?Le.state.wrap!==2?ae:(Le.state.gzhead=et,e):ae},V.deflate=function(Le,et){var Qe,Fe,$e,Ye;if(!Le||!Le.state||5>8&255),Ze(Fe,Fe.gzhead.time>>16&255),Ze(Fe,Fe.gzhead.time>>24&255),Ze(Fe,Fe.level===9?2:2<=Fe.strategy||Fe.level<2?4:0),Ze(Fe,255&Fe.gzhead.os),Fe.gzhead.extra&&Fe.gzhead.extra.length&&(Ze(Fe,255&Fe.gzhead.extra.length),Ze(Fe,Fe.gzhead.extra.length>>8&255)),Fe.gzhead.hcrc&&(Le.adler=R(Le.adler,Fe.pending_buf,Fe.pending,0)),Fe.gzindex=0,Fe.status=69):(Ze(Fe,0),Ze(Fe,0),Ze(Fe,0),Ze(Fe,0),Ze(Fe,0),Ze(Fe,Fe.level===9?2:2<=Fe.strategy||Fe.level<2?4:0),Ze(Fe,3),Fe.status=xe);else{var tt=X+(Fe.w_bits-8<<4)<<8;tt|=(2<=Fe.strategy||Fe.level<2?0:Fe.level<6?1:Fe.level===6?2:3)<<6,Fe.strstart!==0&&(tt|=32),tt+=31-tt%31,Fe.status=xe,ze(Fe,tt),Fe.strstart!==0&&(ze(Fe,Le.adler>>>16),ze(Fe,65535&Le.adler)),Le.adler=1}if(Fe.status===69)if(Fe.gzhead.extra){for($e=Fe.pending;Fe.gzindex<(65535&Fe.gzhead.extra.length)&&(Fe.pending!==Fe.pending_buf_size||(Fe.gzhead.hcrc&&Fe.pending>$e&&(Le.adler=R(Le.adler,Fe.pending_buf,Fe.pending-$e,$e)),Te(Le),$e=Fe.pending,Fe.pending!==Fe.pending_buf_size));)Ze(Fe,255&Fe.gzhead.extra[Fe.gzindex]),Fe.gzindex++;Fe.gzhead.hcrc&&Fe.pending>$e&&(Le.adler=R(Le.adler,Fe.pending_buf,Fe.pending-$e,$e)),Fe.gzindex===Fe.gzhead.extra.length&&(Fe.gzindex=0,Fe.status=73)}else Fe.status=73;if(Fe.status===73)if(Fe.gzhead.name){$e=Fe.pending;do{if(Fe.pending===Fe.pending_buf_size&&(Fe.gzhead.hcrc&&Fe.pending>$e&&(Le.adler=R(Le.adler,Fe.pending_buf,Fe.pending-$e,$e)),Te(Le),$e=Fe.pending,Fe.pending===Fe.pending_buf_size)){Ye=1;break}Ye=Fe.gzindex$e&&(Le.adler=R(Le.adler,Fe.pending_buf,Fe.pending-$e,$e)),Ye===0&&(Fe.gzindex=0,Fe.status=91)}else Fe.status=91;if(Fe.status===91)if(Fe.gzhead.comment){$e=Fe.pending;do{if(Fe.pending===Fe.pending_buf_size&&(Fe.gzhead.hcrc&&Fe.pending>$e&&(Le.adler=R(Le.adler,Fe.pending_buf,Fe.pending-$e,$e)),Te(Le),$e=Fe.pending,Fe.pending===Fe.pending_buf_size)){Ye=1;break}Ye=Fe.gzindex$e&&(Le.adler=R(Le.adler,Fe.pending_buf,Fe.pending-$e,$e)),Ye===0&&(Fe.status=103)}else Fe.status=103;if(Fe.status===103&&(Fe.gzhead.hcrc?(Fe.pending+2>Fe.pending_buf_size&&Te(Le),Fe.pending+2<=Fe.pending_buf_size&&(Ze(Fe,255&Le.adler),Ze(Fe,Le.adler>>8&255),Le.adler=0,Fe.status=xe)):Fe.status=xe),Fe.pending!==0){if(Te(Le),Le.avail_out===0)return Fe.last_flush=-1,e}else if(Le.avail_in===0&&_e(et)<=_e(Qe)&&et!==z)return pe(Le,-5);if(Fe.status===666&&Le.avail_in!==0)return pe(Le,-5);if(Le.avail_in!==0||Fe.lookahead!==0||et!==K&&Fe.status!==666){var ot=Fe.strategy===2?function(st,dt){for(var ct;;){if(st.lookahead===0&&(De(st),st.lookahead===0)){if(dt===K)return fe;break}if(st.match_length=0,ct=D._tr_tally(st,0,st.window[st.strstart]),st.lookahead--,st.strstart++,ct&&(Ne(st,!1),st.strm.avail_out===0))return fe}return st.insert=0,dt===z?(Ne(st,!0),st.strm.avail_out===0?ye:Ce):st.last_lit&&(Ne(st,!1),st.strm.avail_out===0)?fe:ve}(Fe,et):Fe.strategy===3?function(st,dt){for(var ct,mt,ut,rt,He=st.window;;){if(st.lookahead<=me){if(De(st),st.lookahead<=me&&dt===K)return fe;if(st.lookahead===0)break}if(st.match_length=0,st.lookahead>=se&&0st.lookahead&&(st.match_length=st.lookahead)}if(st.match_length>=se?(ct=D._tr_tally(st,1,st.match_length-se),st.lookahead-=st.match_length,st.strstart+=st.match_length,st.match_length=0):(ct=D._tr_tally(st,0,st.window[st.strstart]),st.lookahead--,st.strstart++),ct&&(Ne(st,!1),st.strm.avail_out===0))return fe}return st.insert=0,dt===z?(Ne(st,!0),st.strm.avail_out===0?ye:Ce):st.last_lit&&(Ne(st,!1),st.strm.avail_out===0)?fe:ve}(Fe,et):q[Fe.level].func(Fe,et);if(ot!==ye&&ot!==Ce||(Fe.status=666),ot===fe||ot===ye)return Le.avail_out===0&&(Fe.last_flush=-1),e;if(ot===ve&&(et===1?D._tr_align(Fe):et!==5&&(D._tr_stored_block(Fe,0,0,!1),et===3&&(Ge(Fe.head),Fe.lookahead===0&&(Fe.strstart=0,Fe.block_start=0,Fe.insert=0))),Te(Le),Le.avail_out===0))return Fe.last_flush=-1,e}return et!==z?e:Fe.wrap<=0?1:(Fe.wrap===2?(Ze(Fe,255&Le.adler),Ze(Fe,Le.adler>>8&255),Ze(Fe,Le.adler>>16&255),Ze(Fe,Le.adler>>24&255),Ze(Fe,255&Le.total_in),Ze(Fe,Le.total_in>>8&255),Ze(Fe,Le.total_in>>16&255),Ze(Fe,Le.total_in>>24&255)):(ze(Fe,Le.adler>>>16),ze(Fe,65535&Le.adler)),Te(Le),0=Qe.w_size&&(Ye===0&&(Ge(Qe.head),Qe.strstart=0,Qe.block_start=0,Qe.insert=0),dt=new $.Buf8(Qe.w_size),$.arraySet(dt,et,ct-Qe.w_size,Qe.w_size,0),et=dt,ct=Qe.w_size),tt=Le.avail_in,ot=Le.next_in,st=Le.input,Le.avail_in=ct,Le.next_in=0,Le.input=et,De(Qe);Qe.lookahead>=se;){for(Fe=Qe.strstart,$e=Qe.lookahead-(se-1);Qe.ins_h=(Qe.ins_h<>>=se=oe>>>24,W-=se,(se=oe>>>16&255)===0)ve[U++]=65535&oe;else{if(!(16&se)){if(!(64&se)){oe=L[(65535&oe)+(X&(1<>>=se,W-=se),W<15&&(X+=fe[B++]<>>=se=oe>>>24,W-=se,!(16&(se=oe>>>16&255))){if(!(64&se)){oe=Q[(65535&oe)+(X&(1<>>=se,W-=se,(se=U-K)>3,X&=(1<<(W-=me<<3))-1,q.next_in=B,q.next_out=U,q.avail_in=B>>24&255)+(ke>>>8&65280)+((65280&ke)<<8)+((255&ke)<<24)}function X(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new q.Buf16(320),this.work=new q.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function W(ke){var xe;return ke&&ke.state?(xe=ke.state,ke.total_in=ke.total_out=xe.total=0,ke.msg="",xe.wrap&&(ke.adler=1&xe.wrap),xe.mode=ae,xe.last=0,xe.havedict=0,xe.dmax=32768,xe.head=null,xe.hold=0,xe.bits=0,xe.lencode=xe.lendyn=new q.Buf32(ie),xe.distcode=xe.distdyn=new q.Buf32(he),xe.sane=1,xe.back=-1,z):e}function L(ke){var xe;return ke&&ke.state?((xe=ke.state).wsize=0,xe.whave=0,xe.wnext=0,W(ke)):e}function Q(ke,xe){var fe,ve;return ke&&ke.state?(ve=ke.state,xe<0?(fe=0,xe=-xe):(fe=1+(xe>>4),xe<48&&(xe&=15)),xe&&(xe<8||15=Ce.wsize?(q.arraySet(Ce.window,xe,fe-Ce.wsize,Ce.wsize,0),Ce.wnext=0,Ce.whave=Ce.wsize):(ve<(ye=Ce.wsize-Ce.wnext)&&(ye=ve),q.arraySet(Ce.window,xe,fe-ve,ye,Ce.wnext),(ve-=ye)?(q.arraySet(Ce.window,xe,fe-ve,ve,0),Ce.wnext=ve,Ce.whave=Ce.wsize):(Ce.wnext+=ye,Ce.wnext===Ce.wsize&&(Ce.wnext=0),Ce.whave>>8&255,fe.check=D(fe.check,Ye,2,0),Ne=Te=0,fe.mode=2;break}if(fe.flags=0,fe.head&&(fe.head.done=!1),!(1&fe.wrap)||(((255&Te)<<8)+(Te>>8))%31){ke.msg="incorrect header check",fe.mode=30;break}if((15&Te)!=8){ke.msg="unknown compression method",fe.mode=30;break}if(Ne-=4,Le=8+(15&(Te>>>=4)),fe.wbits===0)fe.wbits=Le;else if(Le>fe.wbits){ke.msg="invalid window size",fe.mode=30;break}fe.dmax=1<>8&1),512&fe.flags&&(Ye[0]=255&Te,Ye[1]=Te>>>8&255,fe.check=D(fe.check,Ye,2,0)),Ne=Te=0,fe.mode=3;case 3:for(;Ne<32;){if(_e===0)break e;_e--,Te+=ve[Ce++]<>>8&255,Ye[2]=Te>>>16&255,Ye[3]=Te>>>24&255,fe.check=D(fe.check,Ye,4,0)),Ne=Te=0,fe.mode=4;case 4:for(;Ne<16;){if(_e===0)break e;_e--,Te+=ve[Ce++]<>8),512&fe.flags&&(Ye[0]=255&Te,Ye[1]=Te>>>8&255,fe.check=D(fe.check,Ye,2,0)),Ne=Te=0,fe.mode=5;case 5:if(1024&fe.flags){for(;Ne<16;){if(_e===0)break e;_e--,Te+=ve[Ce++]<>>8&255,fe.check=D(fe.check,Ye,2,0)),Ne=Te=0}else fe.head&&(fe.head.extra=null);fe.mode=6;case 6:if(1024&fe.flags&&(_e<(Ae=fe.length)&&(Ae=_e),Ae&&(fe.head&&(Le=fe.head.extra_len-fe.length,fe.head.extra||(fe.head.extra=new Array(fe.head.extra_len)),q.arraySet(fe.head.extra,ve,Ce,Ae,Le)),512&fe.flags&&(fe.check=D(fe.check,ve,Ae,Ce)),_e-=Ae,Ce+=Ae,fe.length-=Ae),fe.length))break e;fe.length=0,fe.mode=7;case 7:if(2048&fe.flags){if(_e===0)break e;for(Ae=0;Le=ve[Ce+Ae++],fe.head&&Le&&fe.length<65536&&(fe.head.name+=String.fromCharCode(Le)),Le&&Ae<_e;);if(512&fe.flags&&(fe.check=D(fe.check,ve,Ae,Ce)),_e-=Ae,Ce+=Ae,Le)break e}else fe.head&&(fe.head.name=null);fe.length=0,fe.mode=8;case 8:if(4096&fe.flags){if(_e===0)break e;for(Ae=0;Le=ve[Ce+Ae++],fe.head&&Le&&fe.length<65536&&(fe.head.comment+=String.fromCharCode(Le)),Le&&Ae<_e;);if(512&fe.flags&&(fe.check=D(fe.check,ve,Ae,Ce)),_e-=Ae,Ce+=Ae,Le)break e}else fe.head&&(fe.head.comment=null);fe.mode=9;case 9:if(512&fe.flags){for(;Ne<16;){if(_e===0)break e;_e--,Te+=ve[Ce++]<>9&1,fe.head.done=!0),ke.adler=fe.check=0,fe.mode=12;break;case 10:for(;Ne<32;){if(_e===0)break e;_e--,Te+=ve[Ce++]<>>=7&Ne,Ne-=7&Ne,fe.mode=27;break}for(;Ne<3;){if(_e===0)break e;_e--,Te+=ve[Ce++]<>>=1)){case 0:fe.mode=14;break;case 1:if(me(fe),fe.mode=20,xe!==6)break;Te>>>=2,Ne-=2;break e;case 2:fe.mode=17;break;case 3:ke.msg="invalid block type",fe.mode=30}Te>>>=2,Ne-=2;break;case 14:for(Te>>>=7&Ne,Ne-=7&Ne;Ne<32;){if(_e===0)break e;_e--,Te+=ve[Ce++]<>>16^65535)){ke.msg="invalid stored block lengths",fe.mode=30;break}if(fe.length=65535&Te,Ne=Te=0,fe.mode=15,xe===6)break e;case 15:fe.mode=16;case 16:if(Ae=fe.length){if(_e>>=5,Ne-=5,fe.ndist=1+(31&Te),Te>>>=5,Ne-=5,fe.ncode=4+(15&Te),Te>>>=4,Ne-=4,286>>=3,Ne-=3}for(;fe.have<19;)fe.lens[tt[fe.have++]]=0;if(fe.lencode=fe.lendyn,fe.lenbits=7,Qe={bits:fe.lenbits},et=R(0,fe.lens,0,19,fe.lencode,0,fe.work,Qe),fe.lenbits=Qe.bits,et){ke.msg="invalid code lengths set",fe.mode=30;break}fe.have=0,fe.mode=19;case 19:for(;fe.have>>16&255,Be=65535&$e,!((we=$e>>>24)<=Ne);){if(_e===0)break e;_e--,Te+=ve[Ce++]<>>=we,Ne-=we,fe.lens[fe.have++]=Be;else{if(Be===16){for(Fe=we+2;Ne>>=we,Ne-=we,fe.have===0){ke.msg="invalid bit length repeat",fe.mode=30;break}Le=fe.lens[fe.have-1],Ae=3+(3&Te),Te>>>=2,Ne-=2}else if(Be===17){for(Fe=we+3;Ne>>=we)),Te>>>=3,Ne-=3}else{for(Fe=we+7;Ne>>=we)),Te>>>=7,Ne-=7}if(fe.have+Ae>fe.nlen+fe.ndist){ke.msg="invalid bit length repeat",fe.mode=30;break}for(;Ae--;)fe.lens[fe.have++]=Le}}if(fe.mode===30)break;if(fe.lens[256]===0){ke.msg="invalid code -- missing end-of-block",fe.mode=30;break}if(fe.lenbits=9,Qe={bits:fe.lenbits},et=R(U,fe.lens,0,fe.nlen,fe.lencode,0,fe.work,Qe),fe.lenbits=Qe.bits,et){ke.msg="invalid literal/lengths set",fe.mode=30;break}if(fe.distbits=6,fe.distcode=fe.distdyn,Qe={bits:fe.distbits},et=R(K,fe.lens,fe.nlen,fe.ndist,fe.distcode,0,fe.work,Qe),fe.distbits=Qe.bits,et){ke.msg="invalid distances set",fe.mode=30;break}if(fe.mode=20,xe===6)break e;case 20:fe.mode=21;case 21:if(6<=_e&&258<=Ge){ke.next_out=pe,ke.avail_out=Ge,ke.next_in=Ce,ke.avail_in=_e,fe.hold=Te,fe.bits=Ne,B(ke,ze),pe=ke.next_out,ye=ke.output,Ge=ke.avail_out,Ce=ke.next_in,ve=ke.input,_e=ke.avail_in,Te=fe.hold,Ne=fe.bits,fe.mode===12&&(fe.back=-1);break}for(fe.back=0;Ie=($e=fe.lencode[Te&(1<>>16&255,Be=65535&$e,!((we=$e>>>24)<=Ne);){if(_e===0)break e;_e--,Te+=ve[Ce++]<>Ke)])>>>16&255,Be=65535&$e,!(Ke+(we=$e>>>24)<=Ne);){if(_e===0)break e;_e--,Te+=ve[Ce++]<>>=Ke,Ne-=Ke,fe.back+=Ke}if(Te>>>=we,Ne-=we,fe.back+=we,fe.length=Be,Ie===0){fe.mode=26;break}if(32&Ie){fe.back=-1,fe.mode=12;break}if(64&Ie){ke.msg="invalid literal/length code",fe.mode=30;break}fe.extra=15&Ie,fe.mode=22;case 22:if(fe.extra){for(Fe=fe.extra;Ne>>=fe.extra,Ne-=fe.extra,fe.back+=fe.extra}fe.was=fe.length,fe.mode=23;case 23:for(;Ie=($e=fe.distcode[Te&(1<>>16&255,Be=65535&$e,!((we=$e>>>24)<=Ne);){if(_e===0)break e;_e--,Te+=ve[Ce++]<>Ke)])>>>16&255,Be=65535&$e,!(Ke+(we=$e>>>24)<=Ne);){if(_e===0)break e;_e--,Te+=ve[Ce++]<>>=Ke,Ne-=Ke,fe.back+=Ke}if(Te>>>=we,Ne-=we,fe.back+=we,64&Ie){ke.msg="invalid distance code",fe.mode=30;break}fe.offset=Be,fe.extra=15&Ie,fe.mode=24;case 24:if(fe.extra){for(Fe=fe.extra;Ne>>=fe.extra,Ne-=fe.extra,fe.back+=fe.extra}if(fe.offset>fe.dmax){ke.msg="invalid distance too far back",fe.mode=30;break}fe.mode=25;case 25:if(Ge===0)break e;if(Ae=ze-Ge,fe.offset>Ae){if((Ae=fe.offset-Ae)>fe.whave&&fe.sane){ke.msg="invalid distance too far back",fe.mode=30;break}De=Ae>fe.wnext?(Ae-=fe.wnext,fe.wsize-Ae):fe.wnext-Ae,Ae>fe.length&&(Ae=fe.length),Ue=fe.window}else Ue=ye,De=pe-fe.offset,Ae=fe.length;for(Gede?(se=De[Ue+he[xe]],Ne[Ze+he[xe]]):(se=96,0),X=1<>pe)+(W-=X)]=oe<<24|se<<16|me|0,W!==0;);for(X=1<>=1;if(X!==0?(Te&=X-1,Te+=X):Te=0,xe++,--ze[ke]==0){if(ke===ve)break;ke=K[z+he[xe]]}if(ye>>7)]}function Ze($e,Ye){$e.pending_buf[$e.pending++]=255&Ye,$e.pending_buf[$e.pending++]=Ye>>>8&255}function ze($e,Ye,tt){$e.bi_valid>J-tt?($e.bi_buf|=Ye<<$e.bi_valid&65535,Ze($e,$e.bi_buf),$e.bi_buf=Ye>>J-$e.bi_valid,$e.bi_valid+=tt-J):($e.bi_buf|=Ye<<$e.bi_valid&65535,$e.bi_valid+=tt)}function Ae($e,Ye,tt){ze($e,tt[2*Ye],tt[2*Ye+1])}function De($e,Ye){for(var tt=0;tt|=1&$e,$e>>>=1,tt<<=1,0<--Ye;);return tt>>>1}function Ue($e,Ye,tt){var ot,st,dt=new Array(he+1),ct=0;for(ot=1;ot<=he;ot++)dt[ot]=ct=ct+tt[ot-1]<<1;for(st=0;st<=Ye;st++){var mt=$e[2*st+1];mt!==0&&($e[2*st]=De(dt[mt]++,mt))}}function we($e){var Ye;for(Ye=0;Ye>1;1<=tt;tt--)Ke($e,dt,tt);for(st=ut;tt=$e.heap[1],$e.heap[1]=$e.heap[$e.heap_len--],Ke($e,dt,1),ot=$e.heap[1],$e.heap[--$e.heap_max]=tt,$e.heap[--$e.heap_max]=ot,dt[2*st]=dt[2*tt]+dt[2*ot],$e.depth[st]=($e.depth[tt]>=$e.depth[ot]?$e.depth[tt]:$e.depth[ot])+1,dt[2*tt+1]=dt[2*ot+1]=st,$e.heap[1]=st++,Ke($e,dt,1),2<=$e.heap_len;);$e.heap[--$e.heap_max]=$e.heap[1],function(He,Je){var St,bt,pt,wt,Pt,Nt,Vt=Je.dyn_tree,Wt=Je.max_code,Mt=Je.stat_desc.static_tree,$t=Je.stat_desc.has_stree,Yt=Je.stat_desc.extra_bits,Ft=Je.stat_desc.extra_base,Jt=Je.stat_desc.max_length,er=0;for(wt=0;wt<=he;wt++)He.bl_count[wt]=0;for(Vt[2*He.heap[He.heap_max]+1]=0,St=He.heap_max+1;St>=7;st>>=1)if(1&rt&&mt.dyn_ltree[2*ut]!==0)return $;if(mt.dyn_ltree[18]!==0||mt.dyn_ltree[20]!==0||mt.dyn_ltree[26]!==0)return D;for(ut=32;ut>>3,(dt=$e.static_len+3+7>>>3)<=st&&(st=dt)):st=dt=tt+5,tt+4<=st&&Ye!==-1?Fe($e,Ye,tt,ot):$e.strategy===4||dt===st?(ze($e,2+(ot?1:0),3),Ve($e,Ee,ke)):(ze($e,4+(ot?1:0),3),function(mt,ut,rt,He){var Je;for(ze(mt,ut-257,5),ze(mt,rt-1,5),ze(mt,He-4,4),Je=0;Je>>8&255,$e.pending_buf[$e.d_buf+2*$e.last_lit+1]=255&Ye,$e.pending_buf[$e.l_buf+$e.last_lit]=255&tt,$e.last_lit++,Ye===0?$e.dyn_ltree[2*tt]++:($e.matches++,Ye--,$e.dyn_ltree[2*(fe[tt]+K+1)]++,$e.dyn_dtree[2*Ne(Ye)]++),$e.last_lit===$e.lit_bufsize-1},V._tr_align=function($e){ze($e,2,3),Ae($e,W,Ee),function(Ye){Ye.bi_valid===16?(Ze(Ye,Ye.bi_buf),Ye.bi_buf=0,Ye.bi_valid=0):8<=Ye.bi_valid&&(Ye.pending_buf[Ye.pending++]=255&Ye.bi_buf,Ye.bi_buf>>=8,Ye.bi_valid-=8)}($e)}},{"../utils/common":41}],53:[function(M,G,V){G.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(M,G,V){(function(q){(function($,D){if(!$.setImmediate){var B,R,U,K,z=1,e={},ae=!1,ie=$.document,he=Object.getPrototypeOf&&Object.getPrototypeOf($);he=he&&he.setTimeout?he:$,B={}.toString.call($.process)==="[object process]"?function(L){process.nextTick(function(){X(L)})}:function(){if($.postMessage&&!$.importScripts){var L=!0,Q=$.onmessage;return $.onmessage=function(){L=!1},$.postMessage("","*"),$.onmessage=Q,L}}()?(K="setImmediate$"+Math.random()+"$",$.addEventListener?$.addEventListener("message",W,!1):$.attachEvent("onmessage",W),function(L){$.postMessage(K+L,"*")}):$.MessageChannel?((U=new MessageChannel).port1.onmessage=function(L){X(L.data)},function(L){U.port2.postMessage(L)}):ie&&"onreadystatechange"in ie.createElement("script")?(R=ie.documentElement,function(L){var Q=ie.createElement("script");Q.onreadystatechange=function(){X(L),Q.onreadystatechange=null,R.removeChild(Q),Q=null},R.appendChild(Q)}):function(L){setTimeout(X,0,L)},he.setImmediate=function(L){typeof L!="function"&&(L=new Function(""+L));for(var Q=new Array(arguments.length-1),ce=0;ce"u"?q===void 0?this:q:self)}).call(this,typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(jszip_min);var jszip_minExports=jszip_min.exports;const JSZip=getDefaultExportFromCjs(jszip_minExports);var defaults={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` -`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(commonjsGlobal$1)),defaults}var builder={},lib={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var k,m,M,G,V,q,$,D=[].slice,B={}.hasOwnProperty;k=function(){var R,U,K,z,e,ae;if(ae=arguments[0],e=2<=arguments.length?D.call(arguments,1):[],V(Object.assign))Object.assign.apply(null,arguments);else for(R=0,K=e.length;R":"attribute: {"+M+"}, parent: <"+this.parent.name+">"},m.prototype.isEqualNode=function(M){return!(M.namespaceURI!==this.namespaceURI||M.prefix!==this.prefix||M.localName!==this.localName||M.value!==this.value)},m}()}).call(commonjsGlobal$1)),XMLAttribute.exports}var XMLNamedNodeMap={exports:{}},hasRequiredXMLNamedNodeMap;function requireXMLNamedNodeMap(){return hasRequiredXMLNamedNodeMap||(hasRequiredXMLNamedNodeMap=1,(function(){XMLNamedNodeMap.exports=function(){function k(m){this.nodes=m}return Object.defineProperty(k.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),k.prototype.clone=function(){return this.nodes=null},k.prototype.getNamedItem=function(m){return this.nodes[m]},k.prototype.setNamedItem=function(m){var M;return M=this.nodes[m.nodeName],this.nodes[m.nodeName]=m,M||null},k.prototype.removeNamedItem=function(m){var M;return M=this.nodes[m],delete this.nodes[m],M||null},k.prototype.item=function(m){return this.nodes[Object.keys(this.nodes)[m]]||null},k.prototype.getNamedItemNS=function(m,M){throw new Error("This DOM method is not implemented.")},k.prototype.setNamedItemNS=function(m){throw new Error("This DOM method is not implemented.")},k.prototype.removeNamedItemNS=function(m,M){throw new Error("This DOM method is not implemented.")},k}()}).call(commonjsGlobal$1)),XMLNamedNodeMap.exports}var hasRequiredXMLElement;function requireXMLElement(){return hasRequiredXMLElement||(hasRequiredXMLElement=1,(function(){var k,m,M,G,V,q,$,D,B=function(U,K){for(var z in K)R.call(K,z)&&(U[z]=K[z]);function e(){this.constructor=U}return e.prototype=K.prototype,U.prototype=new e,U.__super__=K.prototype,U},R={}.hasOwnProperty;D=requireUtility(),$=D.isObject,q=D.isFunction,V=D.getValue,G=requireXMLNode(),k=requireNodeType(),m=requireXMLAttribute(),M=requireXMLNamedNodeMap(),XMLElement.exports=function(U){B(K,U);function K(z,e,ae){var ie,he,J,X;if(K.__super__.constructor.call(this,z),e==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(e),this.type=k.Element,this.attribs={},this.schemaTypeInfo=null,ae!=null&&this.attribute(ae),z.type===k.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(X=z.children,he=0,J=X.length;he=ie;e=0<=ie?++ae:--ae)if(!this.attribs[e].isEqualNode(z.attribs[e]))return!1;return!0},K}(G)}).call(commonjsGlobal$1)),XMLElement.exports}var XMLCData={exports:{}},XMLCharacterData={exports:{}},hasRequiredXMLCharacterData;function requireXMLCharacterData(){return hasRequiredXMLCharacterData||(hasRequiredXMLCharacterData=1,(function(){var k,m=function(G,V){for(var q in V)M.call(V,q)&&(G[q]=V[q]);function $(){this.constructor=G}return $.prototype=V.prototype,G.prototype=new $,G.__super__=V.prototype,G},M={}.hasOwnProperty;k=requireXMLNode(),XMLCharacterData.exports=function(G){m(V,G);function V(q){V.__super__.constructor.call(this,q),this.value=""}return Object.defineProperty(V.prototype,"data",{get:function(){return this.value},set:function(q){return this.value=q||""}}),Object.defineProperty(V.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(V.prototype,"textContent",{get:function(){return this.value},set:function(q){return this.value=q||""}}),V.prototype.clone=function(){return Object.create(this)},V.prototype.substringData=function(q,$){throw new Error("This DOM method is not implemented."+this.debugInfo())},V.prototype.appendData=function(q){throw new Error("This DOM method is not implemented."+this.debugInfo())},V.prototype.insertData=function(q,$){throw new Error("This DOM method is not implemented."+this.debugInfo())},V.prototype.deleteData=function(q,$){throw new Error("This DOM method is not implemented."+this.debugInfo())},V.prototype.replaceData=function(q,$,D){throw new Error("This DOM method is not implemented."+this.debugInfo())},V.prototype.isEqualNode=function(q){return!(!V.__super__.isEqualNode.apply(this,arguments).isEqualNode(q)||q.data!==this.data)},V}(k)}).call(commonjsGlobal$1)),XMLCharacterData.exports}var hasRequiredXMLCData;function requireXMLCData(){return hasRequiredXMLCData||(hasRequiredXMLCData=1,(function(){var k,m,M=function(V,q){for(var $ in q)G.call(q,$)&&(V[$]=q[$]);function D(){this.constructor=V}return D.prototype=q.prototype,V.prototype=new D,V.__super__=q.prototype,V},G={}.hasOwnProperty;k=requireNodeType(),m=requireXMLCharacterData(),XMLCData.exports=function(V){M(q,V);function q($,D){if(q.__super__.constructor.call(this,$),D==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=k.CData,this.value=this.stringify.cdata(D)}return q.prototype.clone=function(){return Object.create(this)},q.prototype.toString=function($){return this.options.writer.cdata(this,this.options.writer.filterOptions($))},q}(m)}).call(commonjsGlobal$1)),XMLCData.exports}var XMLComment={exports:{}},hasRequiredXMLComment;function requireXMLComment(){return hasRequiredXMLComment||(hasRequiredXMLComment=1,(function(){var k,m,M=function(V,q){for(var $ in q)G.call(q,$)&&(V[$]=q[$]);function D(){this.constructor=V}return D.prototype=q.prototype,V.prototype=new D,V.__super__=q.prototype,V},G={}.hasOwnProperty;k=requireNodeType(),m=requireXMLCharacterData(),XMLComment.exports=function(V){M(q,V);function q($,D){if(q.__super__.constructor.call(this,$),D==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=k.Comment,this.value=this.stringify.comment(D)}return q.prototype.clone=function(){return Object.create(this)},q.prototype.toString=function($){return this.options.writer.comment(this,this.options.writer.filterOptions($))},q}(m)}).call(commonjsGlobal$1)),XMLComment.exports}var XMLDeclaration={exports:{}},hasRequiredXMLDeclaration;function requireXMLDeclaration(){return hasRequiredXMLDeclaration||(hasRequiredXMLDeclaration=1,(function(){var k,m,M,G=function(q,$){for(var D in $)V.call($,D)&&(q[D]=$[D]);function B(){this.constructor=q}return B.prototype=$.prototype,q.prototype=new B,q.__super__=$.prototype,q},V={}.hasOwnProperty;M=requireUtility().isObject,m=requireXMLNode(),k=requireNodeType(),XMLDeclaration.exports=function(q){G($,q);function $(D,B,R,U){var K;$.__super__.constructor.call(this,D),M(B)&&(K=B,B=K.version,R=K.encoding,U=K.standalone),B||(B="1.0"),this.type=k.Declaration,this.version=this.stringify.xmlVersion(B),R!=null&&(this.encoding=this.stringify.xmlEncoding(R)),U!=null&&(this.standalone=this.stringify.xmlStandalone(U))}return $.prototype.toString=function(D){return this.options.writer.declaration(this,this.options.writer.filterOptions(D))},$}(m)}).call(commonjsGlobal$1)),XMLDeclaration.exports}var XMLDocType={exports:{}},XMLDTDAttList={exports:{}},hasRequiredXMLDTDAttList;function requireXMLDTDAttList(){return hasRequiredXMLDTDAttList||(hasRequiredXMLDTDAttList=1,(function(){var k,m,M=function(V,q){for(var $ in q)G.call(q,$)&&(V[$]=q[$]);function D(){this.constructor=V}return D.prototype=q.prototype,V.prototype=new D,V.__super__=q.prototype,V},G={}.hasOwnProperty;m=requireXMLNode(),k=requireNodeType(),XMLDTDAttList.exports=function(V){M(q,V);function q($,D,B,R,U,K){if(q.__super__.constructor.call(this,$),D==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(B==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(D));if(!R)throw new Error("Missing DTD attribute type. "+this.debugInfo(D));if(!U)throw new Error("Missing DTD attribute default. "+this.debugInfo(D));if(U.indexOf("#")!==0&&(U="#"+U),!U.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(D));if(K&&!U.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(D));this.elementName=this.stringify.name(D),this.type=k.AttributeDeclaration,this.attributeName=this.stringify.name(B),this.attributeType=this.stringify.dtdAttType(R),K&&(this.defaultValue=this.stringify.dtdAttDefault(K)),this.defaultValueType=U}return q.prototype.toString=function($){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions($))},q}(m)}).call(commonjsGlobal$1)),XMLDTDAttList.exports}var XMLDTDEntity={exports:{}},hasRequiredXMLDTDEntity;function requireXMLDTDEntity(){return hasRequiredXMLDTDEntity||(hasRequiredXMLDTDEntity=1,(function(){var k,m,M,G=function(q,$){for(var D in $)V.call($,D)&&(q[D]=$[D]);function B(){this.constructor=q}return B.prototype=$.prototype,q.prototype=new B,q.__super__=$.prototype,q},V={}.hasOwnProperty;M=requireUtility().isObject,m=requireXMLNode(),k=requireNodeType(),XMLDTDEntity.exports=function(q){G($,q);function $(D,B,R,U){if($.__super__.constructor.call(this,D),R==null)throw new Error("Missing DTD entity name. "+this.debugInfo(R));if(U==null)throw new Error("Missing DTD entity value. "+this.debugInfo(R));if(this.pe=!!B,this.name=this.stringify.name(R),this.type=k.EntityDeclaration,!M(U))this.value=this.stringify.dtdEntityValue(U),this.internal=!0;else{if(!U.pubID&&!U.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(R));if(U.pubID&&!U.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(R));if(this.internal=!1,U.pubID!=null&&(this.pubID=this.stringify.dtdPubID(U.pubID)),U.sysID!=null&&(this.sysID=this.stringify.dtdSysID(U.sysID)),U.nData!=null&&(this.nData=this.stringify.dtdNData(U.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(R))}}return Object.defineProperty($.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty($.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty($.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty($.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty($.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty($.prototype,"xmlVersion",{get:function(){return null}}),$.prototype.toString=function(D){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(D))},$}(m)}).call(commonjsGlobal$1)),XMLDTDEntity.exports}var XMLDTDElement={exports:{}},hasRequiredXMLDTDElement;function requireXMLDTDElement(){return hasRequiredXMLDTDElement||(hasRequiredXMLDTDElement=1,(function(){var k,m,M=function(V,q){for(var $ in q)G.call(q,$)&&(V[$]=q[$]);function D(){this.constructor=V}return D.prototype=q.prototype,V.prototype=new D,V.__super__=q.prototype,V},G={}.hasOwnProperty;m=requireXMLNode(),k=requireNodeType(),XMLDTDElement.exports=function(V){M(q,V);function q($,D,B){if(q.__super__.constructor.call(this,$),D==null)throw new Error("Missing DTD element name. "+this.debugInfo());B||(B="(#PCDATA)"),Array.isArray(B)&&(B="("+B.join(",")+")"),this.name=this.stringify.name(D),this.type=k.ElementDeclaration,this.value=this.stringify.dtdElementValue(B)}return q.prototype.toString=function($){return this.options.writer.dtdElement(this,this.options.writer.filterOptions($))},q}(m)}).call(commonjsGlobal$1)),XMLDTDElement.exports}var XMLDTDNotation={exports:{}},hasRequiredXMLDTDNotation;function requireXMLDTDNotation(){return hasRequiredXMLDTDNotation||(hasRequiredXMLDTDNotation=1,(function(){var k,m,M=function(V,q){for(var $ in q)G.call(q,$)&&(V[$]=q[$]);function D(){this.constructor=V}return D.prototype=q.prototype,V.prototype=new D,V.__super__=q.prototype,V},G={}.hasOwnProperty;m=requireXMLNode(),k=requireNodeType(),XMLDTDNotation.exports=function(V){M(q,V);function q($,D,B){if(q.__super__.constructor.call(this,$),D==null)throw new Error("Missing DTD notation name. "+this.debugInfo(D));if(!B.pubID&&!B.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(D));this.name=this.stringify.name(D),this.type=k.NotationDeclaration,B.pubID!=null&&(this.pubID=this.stringify.dtdPubID(B.pubID)),B.sysID!=null&&(this.sysID=this.stringify.dtdSysID(B.sysID))}return Object.defineProperty(q.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(q.prototype,"systemId",{get:function(){return this.sysID}}),q.prototype.toString=function($){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions($))},q}(m)}).call(commonjsGlobal$1)),XMLDTDNotation.exports}var hasRequiredXMLDocType;function requireXMLDocType(){return hasRequiredXMLDocType||(hasRequiredXMLDocType=1,(function(){var k,m,M,G,V,q,$,D,B=function(U,K){for(var z in K)R.call(K,z)&&(U[z]=K[z]);function e(){this.constructor=U}return e.prototype=K.prototype,U.prototype=new e,U.__super__=K.prototype,U},R={}.hasOwnProperty;D=requireUtility().isObject,$=requireXMLNode(),k=requireNodeType(),m=requireXMLDTDAttList(),G=requireXMLDTDEntity(),M=requireXMLDTDElement(),V=requireXMLDTDNotation(),q=requireXMLNamedNodeMap(),XMLDocType.exports=function(U){B(K,U);function K(z,e,ae){var ie,he,J,X,W,L;if(K.__super__.constructor.call(this,z),this.type=k.DocType,z.children){for(X=z.children,he=0,J=X.length;he":(Q=this.parent)!=null&&Q.name?"node: <"+W+">, parent: <"+this.parent.name+">":"node: <"+W+">"},X.prototype.ele=function(W,L,Q){return this.element(W,L,Q)},X.prototype.nod=function(W,L,Q){return this.node(W,L,Q)},X.prototype.txt=function(W){return this.text(W)},X.prototype.dat=function(W){return this.cdata(W)},X.prototype.com=function(W){return this.comment(W)},X.prototype.ins=function(W,L){return this.instruction(W,L)},X.prototype.doc=function(){return this.document()},X.prototype.dec=function(W,L,Q){return this.declaration(W,L,Q)},X.prototype.e=function(W,L,Q){return this.element(W,L,Q)},X.prototype.n=function(W,L,Q){return this.node(W,L,Q)},X.prototype.t=function(W){return this.text(W)},X.prototype.d=function(W){return this.cdata(W)},X.prototype.c=function(W){return this.comment(W)},X.prototype.r=function(W){return this.raw(W)},X.prototype.i=function(W,L){return this.instruction(W,L)},X.prototype.u=function(){return this.up()},X.prototype.importXMLBuilder=function(W){return this.importDocument(W)},X.prototype.replaceChild=function(W,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.removeChild=function(W){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.appendChild=function(W){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.hasChildNodes=function(){return this.children.length!==0},X.prototype.cloneNode=function(W){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.isSupported=function(W,L){return!0},X.prototype.hasAttributes=function(){return this.attribs.length!==0},X.prototype.compareDocumentPosition=function(W){var L,Q;return L=this,L===W?0:this.document()!==W.document()?(Q=k.Disconnected|k.ImplementationSpecific,Math.random()<.5?Q|=k.Preceding:Q|=k.Following,Q):L.isAncestor(W)?k.Contains|k.Preceding:L.isDescendant(W)?k.Contains|k.Following:L.isPreceding(W)?k.Preceding:k.Following},X.prototype.isSameNode=function(W){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.lookupPrefix=function(W){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.isDefaultNamespace=function(W){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.lookupNamespaceURI=function(W){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.isEqualNode=function(W){var L,Q,ce;if(W.nodeType!==this.nodeType||W.children.length!==this.children.length)return!1;for(L=Q=0,ce=this.children.length-1;0<=ce?Q<=ce:Q>=ce;L=0<=ce?++Q:--Q)if(!this.children[L].isEqualNode(W.children[L]))return!1;return!0},X.prototype.getFeature=function(W,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.setUserData=function(W,L,Q){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.getUserData=function(W){throw new Error("This DOM method is not implemented."+this.debugInfo())},X.prototype.contains=function(W){return W?W===this||this.isDescendant(W):!1},X.prototype.isDescendant=function(W){var L,Q,ce,de,oe;for(oe=this.children,ce=0,de=oe.length;ceQ},X.prototype.treePosition=function(W){var L,Q;return Q=0,L=!1,this.foreachTreeNode(this.document(),function(ce){if(Q++,!L&&ce===W)return L=!0}),L?Q:-1},X.prototype.foreachTreeNode=function(W,L){var Q,ce,de,oe,se;for(W||(W=this.document()),oe=W.children,ce=0,de=oe.length;ce","]]]]>"),this.assertLegalChar(G))},M.prototype.comment=function(G){if(this.options.noValidation)return G;if(G=""+G||"",G.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+G);return this.assertLegalChar(G)},M.prototype.raw=function(G){return this.options.noValidation?G:""+G||""},M.prototype.attValue=function(G){return this.options.noValidation?G:this.assertLegalChar(this.attEscape(G=""+G||""))},M.prototype.insTarget=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.insValue=function(G){if(this.options.noValidation)return G;if(G=""+G||"",G.match(/\?>/))throw new Error("Invalid processing instruction value: "+G);return this.assertLegalChar(G)},M.prototype.xmlVersion=function(G){if(this.options.noValidation)return G;if(G=""+G||"",!G.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+G);return G},M.prototype.xmlEncoding=function(G){if(this.options.noValidation)return G;if(G=""+G||"",!G.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+G);return this.assertLegalChar(G)},M.prototype.xmlStandalone=function(G){return this.options.noValidation?G:G?"yes":"no"},M.prototype.dtdPubID=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdSysID=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdElementValue=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdAttType=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdAttDefault=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdEntityValue=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdNData=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.convertAttKey="@",M.prototype.convertPIKey="?",M.prototype.convertTextKey="#text",M.prototype.convertCDataKey="#cdata",M.prototype.convertCommentKey="#comment",M.prototype.convertRawKey="#raw",M.prototype.assertLegalChar=function(G){var V,q;if(this.options.noValidation)return G;if(V="",this.options.version==="1.0"){if(V=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,q=G.match(V))throw new Error("Invalid character in string: "+G+" at index "+q.index)}else if(this.options.version==="1.1"&&(V=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,q=G.match(V)))throw new Error("Invalid character in string: "+G+" at index "+q.index);return G},M.prototype.assertLegalName=function(G){var V;if(this.options.noValidation)return G;if(this.assertLegalChar(G),V=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!G.match(V))throw new Error("Invalid character in name");return G},M.prototype.textEscape=function(G){var V;return this.options.noValidation?G:(V=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,G.replace(V,"&").replace(//g,">").replace(/\r/g," "))},M.prototype.attEscape=function(G){var V;return this.options.noValidation?G:(V=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,G.replace(V,"&").replace(/0)?new Array(B).join($.indent):""},V.prototype.endline=function(q,$,D){return!$.pretty||$.suppressPrettyCount?"":$.newline},V.prototype.attribute=function(q,$,D){var B;return this.openAttribute(q,$,D),B=" "+q.name+'="'+q.value+'"',this.closeAttribute(q,$,D),B},V.prototype.cdata=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.comment=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.declaration=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+"",B+=this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.docType=function(q,$,D){var B,R,U,K,z;if(D||(D=0),this.openNode(q,$,D),$.state=m.OpenTag,K=this.indent(q,$,D),K+="0){for(K+=" [",K+=this.endline(q,$,D),$.state=m.InsideTag,z=q.children,R=0,U=z.length;R",K+=this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),K},V.prototype.element=function(q,$,D){var B,R,U,K,z,e,ae,ie,he,J,X,W,L,Q;D||(D=0),J=!1,X="",this.openNode(q,$,D),$.state=m.OpenTag,X+=this.indent(q,$,D)+"<"+q.name,W=q.attribs;for(he in W)G.call(W,he)&&(B=W[he],X+=this.attribute(B,$,D));if(U=q.children.length,K=U===0?null:q.children[0],U===0||q.children.every(function(ce){return(ce.type===k.Text||ce.type===k.Raw)&&ce.value===""}))$.allowEmpty?(X+=">",$.state=m.CloseTag,X+=""+this.endline(q,$,D)):($.state=m.CloseTag,X+=$.spaceBeforeSlash+"/>"+this.endline(q,$,D));else if($.pretty&&U===1&&(K.type===k.Text||K.type===k.Raw)&&K.value!=null)X+=">",$.state=m.InsideTag,$.suppressPrettyCount++,J=!0,X+=this.writeChildNode(K,$,D+1),$.suppressPrettyCount--,J=!1,$.state=m.CloseTag,X+=""+this.endline(q,$,D);else{if($.dontPrettyTextNodes){for(L=q.children,z=0,ae=L.length;z"+this.endline(q,$,D),$.state=m.InsideTag,Q=q.children,e=0,ie=Q.length;e",J&&$.suppressPrettyCount--,X+=this.endline(q,$,D),$.state=m.None}return this.closeNode(q,$,D),X},V.prototype.writeChildNode=function(q,$,D){switch(q.type){case k.CData:return this.cdata(q,$,D);case k.Comment:return this.comment(q,$,D);case k.Element:return this.element(q,$,D);case k.Raw:return this.raw(q,$,D);case k.Text:return this.text(q,$,D);case k.ProcessingInstruction:return this.processingInstruction(q,$,D);case k.Dummy:return"";case k.Declaration:return this.declaration(q,$,D);case k.DocType:return this.docType(q,$,D);case k.AttributeDeclaration:return this.dtdAttList(q,$,D);case k.ElementDeclaration:return this.dtdElement(q,$,D);case k.EntityDeclaration:return this.dtdEntity(q,$,D);case k.NotationDeclaration:return this.dtdNotation(q,$,D);default:throw new Error("Unknown XML node type: "+q.constructor.name)}},V.prototype.processingInstruction=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+"",B+=this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.raw=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D),$.state=m.InsideTag,B+=q.value,$.state=m.CloseTag,B+=this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.text=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D),$.state=m.InsideTag,B+=q.value,$.state=m.CloseTag,B+=this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.dtdAttList=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.dtdElement=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.dtdEntity=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.dtdNotation=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.openNode=function(q,$,D){},V.prototype.closeNode=function(q,$,D){},V.prototype.openAttribute=function(q,$,D){},V.prototype.closeAttribute=function(q,$,D){},V}()}).call(commonjsGlobal$1)),XMLWriterBase.exports}var hasRequiredXMLStringWriter;function requireXMLStringWriter(){return hasRequiredXMLStringWriter||(hasRequiredXMLStringWriter=1,(function(){var k,m=function(G,V){for(var q in V)M.call(V,q)&&(G[q]=V[q]);function $(){this.constructor=G}return $.prototype=V.prototype,G.prototype=new $,G.__super__=V.prototype,G},M={}.hasOwnProperty;k=requireXMLWriterBase(),XMLStringWriter.exports=function(G){m(V,G);function V(q){V.__super__.constructor.call(this,q)}return V.prototype.document=function(q,$){var D,B,R,U,K;for($=this.filterOptions($),U="",K=q.children,B=0,R=K.length;B=0;)this.up();return this.onEnd()},oe.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},oe.prototype.openNode=function(se){var me,Ee,ke,xe;if(!se.isOpen){if(!this.root&&this.currentLevel===0&&se.type===k.Element&&(this.root=se),Ee="",se.type===k.Element){this.writerOptions.state=m.OpenTag,Ee=this.writer.indent(se,this.writerOptions,this.currentLevel)+"<"+se.name,xe=se.attribs;for(ke in xe)de.call(xe,ke)&&(me=xe[ke],Ee+=this.writer.attribute(me,this.writerOptions,this.currentLevel));Ee+=(se.children?">":"/>")+this.writer.endline(se,this.writerOptions,this.currentLevel),this.writerOptions.state=m.InsideTag}else this.writerOptions.state=m.OpenTag,Ee=this.writer.indent(se,this.writerOptions,this.currentLevel)+""),Ee+=this.writer.endline(se,this.writerOptions,this.currentLevel);return this.onData(Ee,this.currentLevel),se.isOpen=!0}},oe.prototype.closeNode=function(se){var me;if(!se.isClosed)return me="",this.writerOptions.state=m.CloseTag,se.type===k.Element?me=this.writer.indent(se,this.writerOptions,this.currentLevel)+""+this.writer.endline(se,this.writerOptions,this.currentLevel):me=this.writer.indent(se,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(se,this.writerOptions,this.currentLevel),this.writerOptions.state=m.None,this.onData(me,this.currentLevel),se.isClosed=!0},oe.prototype.onData=function(se,me){return this.documentStarted=!0,this.onDataCallback(se,me+1)},oe.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},oe.prototype.debugInfo=function(se){return se==null?"":"node: <"+se+">"},oe.prototype.ele=function(){return this.element.apply(this,arguments)},oe.prototype.nod=function(se,me,Ee){return this.node(se,me,Ee)},oe.prototype.txt=function(se){return this.text(se)},oe.prototype.dat=function(se){return this.cdata(se)},oe.prototype.com=function(se){return this.comment(se)},oe.prototype.ins=function(se,me){return this.instruction(se,me)},oe.prototype.dec=function(se,me,Ee){return this.declaration(se,me,Ee)},oe.prototype.dtd=function(se,me,Ee){return this.doctype(se,me,Ee)},oe.prototype.e=function(se,me,Ee){return this.element(se,me,Ee)},oe.prototype.n=function(se,me,Ee){return this.node(se,me,Ee)},oe.prototype.t=function(se){return this.text(se)},oe.prototype.d=function(se){return this.cdata(se)},oe.prototype.c=function(se){return this.comment(se)},oe.prototype.r=function(se){return this.raw(se)},oe.prototype.i=function(se,me){return this.instruction(se,me)},oe.prototype.att=function(){return this.currentNode&&this.currentNode.type===k.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},oe.prototype.a=function(){return this.currentNode&&this.currentNode.type===k.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},oe.prototype.ent=function(se,me){return this.entity(se,me)},oe.prototype.pent=function(se,me){return this.pEntity(se,me)},oe.prototype.not=function(se,me){return this.notation(se,me)},oe}()}).call(commonjsGlobal$1)),XMLDocumentCB.exports}var XMLStreamWriter={exports:{}},hasRequiredXMLStreamWriter;function requireXMLStreamWriter(){return hasRequiredXMLStreamWriter||(hasRequiredXMLStreamWriter=1,(function(){var k,m,M,G=function(q,$){for(var D in $)V.call($,D)&&(q[D]=$[D]);function B(){this.constructor=q}return B.prototype=$.prototype,q.prototype=new B,q.__super__=$.prototype,q},V={}.hasOwnProperty;k=requireNodeType(),M=requireXMLWriterBase(),m=requireWriterState(),XMLStreamWriter.exports=function(q){G($,q);function $(D,B){this.stream=D,$.__super__.constructor.call(this,B)}return $.prototype.endline=function(D,B,R){return D.isLastRootNode&&B.state===m.CloseTag?"":$.__super__.endline.call(this,D,B,R)},$.prototype.document=function(D,B){var R,U,K,z,e,ae,ie,he,J;for(ie=D.children,U=K=0,e=ie.length;K0){for(this.stream.write(" ["),this.stream.write(this.endline(D,B,R)),B.state=m.InsideTag,e=D.children,K=0,z=e.length;K"),this.stream.write(this.endline(D,B,R)),B.state=m.None,this.closeNode(D,B,R)},$.prototype.element=function(D,B,R){var U,K,z,e,ae,ie,he,J,X;R||(R=0),this.openNode(D,B,R),B.state=m.OpenTag,this.stream.write(this.indent(D,B,R)+"<"+D.name),J=D.attribs;for(he in J)V.call(J,he)&&(U=J[he],this.attribute(U,B,R));if(z=D.children.length,e=z===0?null:D.children[0],z===0||D.children.every(function(W){return(W.type===k.Text||W.type===k.Raw)&&W.value===""}))B.allowEmpty?(this.stream.write(">"),B.state=m.CloseTag,this.stream.write("")):(B.state=m.CloseTag,this.stream.write(B.spaceBeforeSlash+"/>"));else if(B.pretty&&z===1&&(e.type===k.Text||e.type===k.Raw)&&e.value!=null)this.stream.write(">"),B.state=m.InsideTag,B.suppressPrettyCount++,this.writeChildNode(e,B,R+1),B.suppressPrettyCount--,B.state=m.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(D,B,R)),B.state=m.InsideTag,X=D.children,ae=0,ie=X.length;ae")}return this.stream.write(this.endline(D,B,R)),B.state=m.None,this.closeNode(D,B,R)},$.prototype.processingInstruction=function(D,B,R){return this.stream.write($.__super__.processingInstruction.call(this,D,B,R))},$.prototype.raw=function(D,B,R){return this.stream.write($.__super__.raw.call(this,D,B,R))},$.prototype.text=function(D,B,R){return this.stream.write($.__super__.text.call(this,D,B,R))},$.prototype.dtdAttList=function(D,B,R){return this.stream.write($.__super__.dtdAttList.call(this,D,B,R))},$.prototype.dtdElement=function(D,B,R){return this.stream.write($.__super__.dtdElement.call(this,D,B,R))},$.prototype.dtdEntity=function(D,B,R){return this.stream.write($.__super__.dtdEntity.call(this,D,B,R))},$.prototype.dtdNotation=function(D,B,R){return this.stream.write($.__super__.dtdNotation.call(this,D,B,R))},$}(M)}).call(commonjsGlobal$1)),XMLStreamWriter.exports}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(){var k,m,M,G,V,q,$,D,B,R;R=requireUtility(),D=R.assign,B=R.isFunction,M=requireXMLDOMImplementation(),G=requireXMLDocument(),V=requireXMLDocumentCB(),$=requireXMLStringWriter(),q=requireXMLStreamWriter(),k=requireNodeType(),m=requireWriterState(),lib.create=function(U,K,z,e){var ae,ie;if(U==null)throw new Error("Root element needs a name.");return e=D({},K,z,e),ae=new G(e),ie=ae.element(U),e.headless||(ae.declaration(e),(e.pubID!=null||e.sysID!=null)&&ae.dtd(e)),ie},lib.begin=function(U,K,z){var e;return B(U)&&(e=[U,K],K=e[0],z=e[1],U={}),K?new V(U,K,z):new G(U)},lib.stringWriter=function(U){return new $(U)},lib.streamWriter=function(U,K){return new q(U,K)},lib.implementation=new M,lib.nodeType=k,lib.writerState=m}).call(commonjsGlobal$1)),lib}var hasRequiredBuilder;function requireBuilder(){return hasRequiredBuilder||(hasRequiredBuilder=1,(function(){var k,m,M,G,V,q={}.hasOwnProperty;k=requireLib(),m=requireDefaults().defaults,G=function($){return typeof $=="string"&&($.indexOf("&")>=0||$.indexOf(">")>=0||$.indexOf("<")>=0)},V=function($){return""},M=function($){return $.replace("]]>","]]]]>")},builder.Builder=function(){function $(D){var B,R,U;this.options={},R=m["0.2"];for(B in R)q.call(R,B)&&(U=R[B],this.options[B]=U);for(B in D)q.call(D,B)&&(U=D[B],this.options[B]=U)}return $.prototype.buildObject=function(D){var B,R,U,K,z;return B=this.options.attrkey,R=this.options.charkey,Object.keys(D).length===1&&this.options.rootName===m["0.2"].rootName?(z=Object.keys(D)[0],D=D[z]):z=this.options.rootName,U=function(e){return function(ae,ie){var he,J,X,W,L,Q;if(typeof ie!="object")e.options.cdata&&G(ie)?ae.raw(V(ie)):ae.txt(ie);else if(Array.isArray(ie)){for(W in ie)if(q.call(ie,W)){J=ie[W];for(L in J)X=J[L],ae=U(ae.ele(L),X).up()}}else for(L in ie)if(q.call(ie,L))if(J=ie[L],L===B){if(typeof J=="object")for(he in J)Q=J[he],ae=ae.att(he,Q)}else if(L===R)e.options.cdata&&G(J)?ae=ae.raw(V(J)):ae=ae.txt(J);else if(Array.isArray(J))for(W in J)q.call(J,W)&&(X=J[W],typeof X=="string"?e.options.cdata&&G(X)?ae=ae.ele(L).raw(V(X)).up():ae=ae.ele(L,X).up():ae=U(ae.ele(L),X).up());else typeof J=="object"?ae=U(ae.ele(L),J).up():typeof J=="string"&&e.options.cdata&&G(J)?ae=ae.ele(L).raw(V(J)).up():(J==null&&(J=""),ae=ae.ele(L,J.toString()).up());return ae}}(this),K=k.create(z,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),U(K,D).end(this.options.renderOpts)},$}()}).call(commonjsGlobal$1)),builder}var parser={},sax={},string_decoder={},safeBuffer={exports:{}},buffer={},base64Js={},hasRequiredBase64Js;function requireBase64Js(){if(hasRequiredBase64Js)return base64Js;hasRequiredBase64Js=1,base64Js.byteLength=D,base64Js.toByteArray=R,base64Js.fromByteArray=z;for(var k=[],m=[],M=typeof Uint8Array<"u"?Uint8Array:Array,G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",V=0,q=G.length;V0)throw new Error("Invalid string. Length must be a multiple of 4");var ie=e.indexOf("=");ie===-1&&(ie=ae);var he=ie===ae?0:4-ie%4;return[ie,he]}function D(e){var ae=$(e),ie=ae[0],he=ae[1];return(ie+he)*3/4-he}function B(e,ae,ie){return(ae+ie)*3/4-ie}function R(e){var ae,ie=$(e),he=ie[0],J=ie[1],X=new M(B(e,he,J)),W=0,L=J>0?he-4:he,Q;for(Q=0;Q>16&255,X[W++]=ae>>8&255,X[W++]=ae&255;return J===2&&(ae=m[e.charCodeAt(Q)]<<2|m[e.charCodeAt(Q+1)]>>4,X[W++]=ae&255),J===1&&(ae=m[e.charCodeAt(Q)]<<10|m[e.charCodeAt(Q+1)]<<4|m[e.charCodeAt(Q+2)]>>2,X[W++]=ae>>8&255,X[W++]=ae&255),X}function U(e){return k[e>>18&63]+k[e>>12&63]+k[e>>6&63]+k[e&63]}function K(e,ae,ie){for(var he,J=[],X=ae;XL?L:W+X));return he===1?(ae=e[ie-1],J.push(k[ae>>2]+k[ae<<4&63]+"==")):he===2&&(ae=(e[ie-2]<<8)+e[ie-1],J.push(k[ae>>10]+k[ae>>4&63]+k[ae<<2&63]+"=")),J.join("")}return base64Js}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var hasRequiredIeee754;function requireIeee754(){return hasRequiredIeee754||(hasRequiredIeee754=1,ieee754.read=function(k,m,M,G,V){var q,$,D=V*8-G-1,B=(1<>1,U=-7,K=M?V-1:0,z=M?-1:1,e=k[m+K];for(K+=z,q=e&(1<<-U)-1,e>>=-U,U+=D;U>0;q=q*256+k[m+K],K+=z,U-=8);for($=q&(1<<-U)-1,q>>=-U,U+=G;U>0;$=$*256+k[m+K],K+=z,U-=8);if(q===0)q=1-R;else{if(q===B)return $?NaN:(e?-1:1)*(1/0);$=$+Math.pow(2,G),q=q-R}return(e?-1:1)*$*Math.pow(2,q-G)},ieee754.write=function(k,m,M,G,V,q){var $,D,B,R=q*8-V-1,U=(1<>1,z=V===23?Math.pow(2,-24)-Math.pow(2,-77):0,e=G?0:q-1,ae=G?1:-1,ie=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===1/0?(D=isNaN(m)?1:0,$=U):($=Math.floor(Math.log(m)/Math.LN2),m*(B=Math.pow(2,-$))<1&&($--,B*=2),$+K>=1?m+=z/B:m+=z*Math.pow(2,1-K),m*B>=2&&($++,B/=2),$+K>=U?(D=0,$=U):$+K>=1?(D=(m*B-1)*Math.pow(2,V),$=$+K):(D=m*Math.pow(2,K-1)*Math.pow(2,V),$=0));V>=8;k[M+e]=D&255,e+=ae,D/=256,V-=8);for($=$<0;k[M+e]=$&255,e+=ae,$/=256,R-=8);k[M+e-ae]|=ie*128}),ieee754}/*! +*/(function(k,m){(function(M){k.exports=M()})(function(){return function M(G,V,q){function $(R,U){if(!V[R]){if(!G[R]){var K=typeof commonjsRequire$1=="function"&&commonjsRequire$1;if(!U&&K)return K(R,!0);if(D)return D(R,!0);var z=new Error("Cannot find module '"+R+"'");throw z.code="MODULE_NOT_FOUND",z}var e=V[R]={exports:{}};G[R][0].call(e.exports,function(ae){var ie=G[R][1][ae];return $(ie||ae)},e,e.exports,M,G,V,q)}return V[R].exports}for(var D=typeof commonjsRequire$1=="function"&&commonjsRequire$1,B=0;B>2,e=(3&R)<<4|U>>4,ae=1>6:64,ie=2>4,U=(15&z)<<4|(e=D.indexOf(B.charAt(ie++)))>>2,K=(3&e)<<6|(ae=D.indexOf(B.charAt(ie++))),W[he++]=R,e!==64&&(W[he++]=U),ae!==64&&(W[he++]=K);return W}},{"./support":30,"./utils":32}],2:[function(M,G,V){var q=M("./external"),$=M("./stream/DataWorker"),D=M("./stream/Crc32Probe"),B=M("./stream/DataLengthProbe");function R(U,K,z,e,ae){this.compressedSize=U,this.uncompressedSize=K,this.crc32=z,this.compression=e,this.compressedContent=ae}R.prototype={getContentWorker:function(){var U=new $(q.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new B("data_length")),K=this;return U.on("end",function(){if(this.streamInfo.data_length!==K.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),U},getCompressedWorker:function(){return new $(q.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},R.createWorkerFrom=function(U,K,z){return U.pipe(new D).pipe(new B("uncompressedSize")).pipe(K.compressWorker(z)).pipe(new B("compressedSize")).withStreamInfo("compression",K)},G.exports=R},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(M,G,V){var q=M("./stream/GenericWorker");V.STORE={magic:"\0\0",compressWorker:function(){return new q("STORE compression")},uncompressWorker:function(){return new q("STORE decompression")}},V.DEFLATE=M("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(M,G,V){var q=M("./utils"),$=function(){for(var D,B=[],R=0;R<256;R++){D=R;for(var U=0;U<8;U++)D=1&D?3988292384^D>>>1:D>>>1;B[R]=D}return B}();G.exports=function(D,B){return D!==void 0&&D.length?q.getTypeOf(D)!=="string"?function(R,U,K,z){var e=$,ae=z+K;R^=-1;for(var ie=z;ie>>8^e[255&(R^U[ie])];return-1^R}(0|B,D,D.length,0):function(R,U,K,z){var e=$,ae=z+K;R^=-1;for(var ie=z;ie>>8^e[255&(R^U.charCodeAt(ie))];return-1^R}(0|B,D,D.length,0):0}},{"./utils":32}],5:[function(M,G,V){V.base64=!1,V.binary=!1,V.dir=!1,V.createFolders=!0,V.date=null,V.compression=null,V.compressionOptions=null,V.comment=null,V.unixPermissions=null,V.dosPermissions=null},{}],6:[function(M,G,V){var q=null;q=typeof Promise<"u"?Promise:M("lie"),G.exports={Promise:q}},{lie:37}],7:[function(M,G,V){var q=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",$=M("pako"),D=M("./utils"),B=M("./stream/GenericWorker"),R=q?"uint8array":"array";function U(K,z){B.call(this,"FlateWorker/"+K),this._pako=null,this._pakoAction=K,this._pakoOptions=z,this.meta={}}V.magic="\b\0",D.inherits(U,B),U.prototype.processChunk=function(K){this.meta=K.meta,this._pako===null&&this._createPako(),this._pako.push(D.transformTo(R,K.data),!1)},U.prototype.flush=function(){B.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},U.prototype.cleanUp=function(){B.prototype.cleanUp.call(this),this._pako=null},U.prototype._createPako=function(){this._pako=new $[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var K=this;this._pako.onData=function(z){K.push({data:z,meta:K.meta})}},V.compressWorker=function(K){return new U("Deflate",K)},V.uncompressWorker=function(){return new U("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(M,G,V){function q(e,ae){var ie,he="";for(ie=0;ie>>=8;return he}function $(e,ae,ie,he,J,W){var X,L,Q=e.file,ce=e.compression,de=W!==R.utf8encode,se=D.transformTo("string",W(Q.name)),oe=D.transformTo("string",R.utf8encode(Q.name)),me=Q.comment,Ee=D.transformTo("string",W(me)),ke=D.transformTo("string",R.utf8encode(me)),xe=oe.length!==Q.name.length,fe=ke.length!==me.length,ve="",ye="",Ce="",pe=Q.dir,_e=Q.date,Ge={crc32:0,compressedSize:0,uncompressedSize:0};ae&&!ie||(Ge.crc32=e.crc32,Ge.compressedSize=e.compressedSize,Ge.uncompressedSize=e.uncompressedSize);var Ae=0;ae&&(Ae|=8),de||!xe&&!fe||(Ae|=2048);var Ne=0,Ze=0;pe&&(Ne|=16),J==="UNIX"?(Ze=798,Ne|=function(Te,Fe){var Pe=Te;return Te||(Pe=Fe?16893:33204),(65535&Pe)<<16}(Q.unixPermissions,pe)):(Ze=20,Ne|=function(Te){return 63&(Te||0)}(Q.dosPermissions)),X=_e.getUTCHours(),X<<=6,X|=_e.getUTCMinutes(),X<<=5,X|=_e.getUTCSeconds()/2,L=_e.getUTCFullYear()-1980,L<<=4,L|=_e.getUTCMonth()+1,L<<=5,L|=_e.getUTCDate(),xe&&(ye=q(1,1)+q(U(se),4)+oe,ve+="up"+q(ye.length,2)+ye),fe&&(Ce=q(1,1)+q(U(Ee),4)+ke,ve+="uc"+q(Ce.length,2)+Ce);var ze="";return ze+=` +\0`,ze+=q(Ae,2),ze+=ce.magic,ze+=q(X,2),ze+=q(L,2),ze+=q(Ge.crc32,4),ze+=q(Ge.compressedSize,4),ze+=q(Ge.uncompressedSize,4),ze+=q(se.length,2),ze+=q(ve.length,2),{fileRecord:K.LOCAL_FILE_HEADER+ze+se+ve,dirRecord:K.CENTRAL_FILE_HEADER+q(Ze,2)+ze+q(Ee.length,2)+"\0\0\0\0"+q(Ne,4)+q(he,4)+se+ve+Ee}}var D=M("../utils"),B=M("../stream/GenericWorker"),R=M("../utf8"),U=M("../crc32"),K=M("../signature");function z(e,ae,ie,he){B.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=ae,this.zipPlatform=ie,this.encodeFileName=he,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}D.inherits(z,B),z.prototype.push=function(e){var ae=e.meta.percent||0,ie=this.entriesCount,he=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,B.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:ie?(ae+100*(ie-he-1))/ie:100}}))},z.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var ae=this.streamFiles&&!e.file.dir;if(ae){var ie=$(e,ae,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:ie.fileRecord,meta:{percent:0}})}else this.accumulate=!0},z.prototype.closedSource=function(e){this.accumulate=!1;var ae=this.streamFiles&&!e.file.dir,ie=$(e,ae,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(ie.dirRecord),ae)this.push({data:function(he){return K.DATA_DESCRIPTOR+q(he.crc32,4)+q(he.compressedSize,4)+q(he.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:ie.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},z.prototype.flush=function(){for(var e=this.bytesWritten,ae=0;ae=this.index;B--)R=(R<<8)+this.byteAt(B);return this.index+=D,R},readString:function(D){return q.transformTo("string",this.readData(D))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var D=this.readInt(4);return new Date(Date.UTC(1980+(D>>25&127),(D>>21&15)-1,D>>16&31,D>>11&31,D>>5&63,(31&D)<<1))}},G.exports=$},{"../utils":32}],19:[function(M,G,V){var q=M("./Uint8ArrayReader");function $(D){q.call(this,D)}M("../utils").inherits($,q),$.prototype.readData=function(D){this.checkOffset(D);var B=this.data.slice(this.zero+this.index,this.zero+this.index+D);return this.index+=D,B},G.exports=$},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(M,G,V){var q=M("./DataReader");function $(D){q.call(this,D)}M("../utils").inherits($,q),$.prototype.byteAt=function(D){return this.data.charCodeAt(this.zero+D)},$.prototype.lastIndexOfSignature=function(D){return this.data.lastIndexOf(D)-this.zero},$.prototype.readAndCheckSignature=function(D){return D===this.readData(4)},$.prototype.readData=function(D){this.checkOffset(D);var B=this.data.slice(this.zero+this.index,this.zero+this.index+D);return this.index+=D,B},G.exports=$},{"../utils":32,"./DataReader":18}],21:[function(M,G,V){var q=M("./ArrayReader");function $(D){q.call(this,D)}M("../utils").inherits($,q),$.prototype.readData=function(D){if(this.checkOffset(D),D===0)return new Uint8Array(0);var B=this.data.subarray(this.zero+this.index,this.zero+this.index+D);return this.index+=D,B},G.exports=$},{"../utils":32,"./ArrayReader":17}],22:[function(M,G,V){var q=M("../utils"),$=M("../support"),D=M("./ArrayReader"),B=M("./StringReader"),R=M("./NodeBufferReader"),U=M("./Uint8ArrayReader");G.exports=function(K){var z=q.getTypeOf(K);return q.checkSupport(z),z!=="string"||$.uint8array?z==="nodebuffer"?new R(K):$.uint8array?new U(q.transformTo("uint8array",K)):new D(q.transformTo("array",K)):new B(K)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(M,G,V){V.LOCAL_FILE_HEADER="PK",V.CENTRAL_FILE_HEADER="PK",V.CENTRAL_DIRECTORY_END="PK",V.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",V.ZIP64_CENTRAL_DIRECTORY_END="PK",V.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(M,G,V){var q=M("./GenericWorker"),$=M("../utils");function D(B){q.call(this,"ConvertWorker to "+B),this.destType=B}$.inherits(D,q),D.prototype.processChunk=function(B){this.push({data:$.transformTo(this.destType,B.data),meta:B.meta})},G.exports=D},{"../utils":32,"./GenericWorker":28}],25:[function(M,G,V){var q=M("./GenericWorker"),$=M("../crc32");function D(){q.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}M("../utils").inherits(D,q),D.prototype.processChunk=function(B){this.streamInfo.crc32=$(B.data,this.streamInfo.crc32||0),this.push(B)},G.exports=D},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(M,G,V){var q=M("../utils"),$=M("./GenericWorker");function D(B){$.call(this,"DataLengthProbe for "+B),this.propName=B,this.withStreamInfo(B,0)}q.inherits(D,$),D.prototype.processChunk=function(B){if(B){var R=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=R+B.data.length}$.prototype.processChunk.call(this,B)},G.exports=D},{"../utils":32,"./GenericWorker":28}],27:[function(M,G,V){var q=M("../utils"),$=M("./GenericWorker");function D(B){$.call(this,"DataWorker");var R=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,B.then(function(U){R.dataIsReady=!0,R.data=U,R.max=U&&U.length||0,R.type=q.getTypeOf(U),R.isPaused||R._tickAndRepeat()},function(U){R.error(U)})}q.inherits(D,$),D.prototype.cleanUp=function(){$.prototype.cleanUp.call(this),this.data=null},D.prototype.resume=function(){return!!$.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,q.delay(this._tickAndRepeat,[],this)),!0)},D.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(q.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},D.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var B=null,R=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":B=this.data.substring(this.index,R);break;case"uint8array":B=this.data.subarray(this.index,R);break;case"array":case"nodebuffer":B=this.data.slice(this.index,R)}return this.index=R,this.push({data:B,meta:{percent:this.max?this.index/this.max*100:0}})},G.exports=D},{"../utils":32,"./GenericWorker":28}],28:[function(M,G,V){function q($){this.name=$||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}q.prototype={push:function($){this.emit("data",$)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch($){this.emit("error",$)}return!0},error:function($){return!this.isFinished&&(this.isPaused?this.generatedError=$:(this.isFinished=!0,this.emit("error",$),this.previous&&this.previous.error($),this.cleanUp()),!0)},on:function($,D){return this._listeners[$].push(D),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function($,D){if(this._listeners[$])for(var B=0;B "+$:$}},G.exports=q},{}],29:[function(M,G,V){var q=M("../utils"),$=M("./ConvertWorker"),D=M("./GenericWorker"),B=M("../base64"),R=M("../support"),U=M("../external"),K=null;if(R.nodestream)try{K=M("../nodejs/NodejsStreamOutputAdapter")}catch{}function z(ae,ie){return new U.Promise(function(he,J){var W=[],X=ae._internalType,L=ae._outputType,Q=ae._mimeType;ae.on("data",function(ce,de){W.push(ce),ie&&ie(de)}).on("error",function(ce){W=[],J(ce)}).on("end",function(){try{var ce=function(de,se,oe){switch(de){case"blob":return q.newBlob(q.transformTo("arraybuffer",se),oe);case"base64":return B.encode(se);default:return q.transformTo(de,se)}}(L,function(de,se){var oe,me=0,Ee=null,ke=0;for(oe=0;oe"u")V.blob=!1;else{var q=new ArrayBuffer(0);try{V.blob=new Blob([q],{type:"application/zip"}).size===0}catch{try{var $=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);$.append(q),V.blob=$.getBlob("application/zip").size===0}catch{V.blob=!1}}}try{V.nodestream=!!M("readable-stream").Readable}catch{V.nodestream=!1}},{"readable-stream":16}],31:[function(M,G,V){for(var q=M("./utils"),$=M("./support"),D=M("./nodejsUtils"),B=M("./stream/GenericWorker"),R=new Array(256),U=0;U<256;U++)R[U]=252<=U?6:248<=U?5:240<=U?4:224<=U?3:192<=U?2:1;R[254]=R[254]=1;function K(){B.call(this,"utf-8 decode"),this.leftOver=null}function z(){B.call(this,"utf-8 encode")}V.utf8encode=function(e){return $.nodebuffer?D.newBufferFrom(e,"utf-8"):function(ae){var ie,he,J,W,X,L=ae.length,Q=0;for(W=0;W>>6:(he<65536?ie[X++]=224|he>>>12:(ie[X++]=240|he>>>18,ie[X++]=128|he>>>12&63),ie[X++]=128|he>>>6&63),ie[X++]=128|63&he);return ie}(e)},V.utf8decode=function(e){return $.nodebuffer?q.transformTo("nodebuffer",e).toString("utf-8"):function(ae){var ie,he,J,W,X=ae.length,L=new Array(2*X);for(ie=he=0;ie>10&1023,L[he++]=56320|1023&J)}return L.length!==he&&(L.subarray?L=L.subarray(0,he):L.length=he),q.applyFromCharCode(L)}(e=q.transformTo($.uint8array?"uint8array":"array",e))},q.inherits(K,B),K.prototype.processChunk=function(e){var ae=q.transformTo($.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if($.uint8array){var ie=ae;(ae=new Uint8Array(ie.length+this.leftOver.length)).set(this.leftOver,0),ae.set(ie,this.leftOver.length)}else ae=this.leftOver.concat(ae);this.leftOver=null}var he=function(W,X){var L;for((X=X||W.length)>W.length&&(X=W.length),L=X-1;0<=L&&(192&W[L])==128;)L--;return L<0||L===0?X:L+R[W[L]]>X?L:X}(ae),J=ae;he!==ae.length&&($.uint8array?(J=ae.subarray(0,he),this.leftOver=ae.subarray(he,ae.length)):(J=ae.slice(0,he),this.leftOver=ae.slice(he,ae.length))),this.push({data:V.utf8decode(J),meta:e.meta})},K.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:V.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},V.Utf8DecodeWorker=K,q.inherits(z,B),z.prototype.processChunk=function(e){this.push({data:V.utf8encode(e.data),meta:e.meta})},V.Utf8EncodeWorker=z},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(M,G,V){var q=M("./support"),$=M("./base64"),D=M("./nodejsUtils"),B=M("./external");function R(ie){return ie}function U(ie,he){for(var J=0;J>8;this.dir=!!(16&this.externalFileAttributes),e==0&&(this.dosPermissions=63&this.externalFileAttributes),e==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=q(this.extraFields[1].value);this.uncompressedSize===$.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===$.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===$.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===$.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var ae,ie,he,J=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4>>6:(e<65536?z[he++]=224|e>>>12:(z[he++]=240|e>>>18,z[he++]=128|e>>>12&63),z[he++]=128|e>>>6&63),z[he++]=128|63&e);return z},V.buf2binstring=function(K){return U(K,K.length)},V.binstring2buf=function(K){for(var z=new q.Buf8(K.length),e=0,ae=z.length;e>10&1023,W[ae++]=56320|1023&ie)}return U(W,ae)},V.utf8border=function(K,z){var e;for((z=z||K.length)>K.length&&(z=K.length),e=z-1;0<=e&&(192&K[e])==128;)e--;return e<0||e===0?z:e+B[K[e]]>z?e:z}},{"./common":41}],43:[function(M,G,V){G.exports=function(q,$,D,B){for(var R=65535&q|0,U=q>>>16&65535|0,K=0;D!==0;){for(D-=K=2e3>>1:$>>>1;D[B]=$}return D}();G.exports=function($,D,B,R){var U=q,K=R+B;$^=-1;for(var z=R;z>>8^U[255&($^D[z])];return-1^$}},{}],46:[function(M,G,V){var q,$=M("../utils/common"),D=M("./trees"),B=M("./adler32"),R=M("./crc32"),U=M("./messages"),K=0,z=4,e=0,ae=-2,ie=-1,he=4,J=2,W=8,X=9,L=286,Q=30,ce=19,de=2*L+1,se=15,oe=3,me=258,Ee=me+oe+1,ke=42,xe=113,fe=1,ve=2,ye=3,Ce=4;function pe(Le,et){return Le.msg=U[et],et}function _e(Le){return(Le<<1)-(4Le.avail_out&&(Qe=Le.avail_out),Qe!==0&&($.arraySet(Le.output,et.pending_buf,et.pending_out,Qe,Le.next_out),Le.next_out+=Qe,et.pending_out+=Qe,Le.total_out+=Qe,Le.avail_out-=Qe,et.pending-=Qe,et.pending===0&&(et.pending_out=0))}function Ne(Le,et){D._tr_flush_block(Le,0<=Le.block_start?Le.block_start:-1,Le.strstart-Le.block_start,et),Le.block_start=Le.strstart,Ae(Le.strm)}function Ze(Le,et){Le.pending_buf[Le.pending++]=et}function ze(Le,et){Le.pending_buf[Le.pending++]=et>>>8&255,Le.pending_buf[Le.pending++]=255&et}function Te(Le,et){var Qe,Ue,$e=Le.max_chain_length,Ye=Le.strstart,tt=Le.prev_length,ot=Le.nice_match,st=Le.strstart>Le.w_size-Ee?Le.strstart-(Le.w_size-Ee):0,dt=Le.window,ct=Le.w_mask,mt=Le.prev,ut=Le.strstart+me,rt=dt[Ye+tt-1],He=dt[Ye+tt];Le.prev_length>=Le.good_match&&($e>>=2),ot>Le.lookahead&&(ot=Le.lookahead);do if(dt[(Qe=et)+tt]===He&&dt[Qe+tt-1]===rt&&dt[Qe]===dt[Ye]&&dt[++Qe]===dt[Ye+1]){Ye+=2,Qe++;do;while(dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&dt[++Ye]===dt[++Qe]&&Yest&&--$e!=0);return tt<=Le.lookahead?tt:Le.lookahead}function Fe(Le){var et,Qe,Ue,$e,Ye,tt,ot,st,dt,ct,mt=Le.w_size;do{if($e=Le.window_size-Le.lookahead-Le.strstart,Le.strstart>=mt+(mt-Ee)){for($.arraySet(Le.window,Le.window,mt,mt,0),Le.match_start-=mt,Le.strstart-=mt,Le.block_start-=mt,et=Qe=Le.hash_size;Ue=Le.head[--et],Le.head[et]=mt<=Ue?Ue-mt:0,--Qe;);for(et=Qe=mt;Ue=Le.prev[--et],Le.prev[et]=mt<=Ue?Ue-mt:0,--Qe;);$e+=mt}if(Le.strm.avail_in===0)break;if(tt=Le.strm,ot=Le.window,st=Le.strstart+Le.lookahead,dt=$e,ct=void 0,ct=tt.avail_in,dt=oe)for(Ye=Le.strstart-Le.insert,Le.ins_h=Le.window[Ye],Le.ins_h=(Le.ins_h<=oe&&(Le.ins_h=(Le.ins_h<=oe)if(Ue=D._tr_tally(Le,Le.strstart-Le.match_start,Le.match_length-oe),Le.lookahead-=Le.match_length,Le.match_length<=Le.max_lazy_match&&Le.lookahead>=oe){for(Le.match_length--;Le.strstart++,Le.ins_h=(Le.ins_h<=oe&&(Le.ins_h=(Le.ins_h<=oe&&Le.match_length<=Le.prev_length){for($e=Le.strstart+Le.lookahead-oe,Ue=D._tr_tally(Le,Le.strstart-1-Le.prev_match,Le.prev_length-oe),Le.lookahead-=Le.prev_length-1,Le.prev_length-=2;++Le.strstart<=$e&&(Le.ins_h=(Le.ins_h<Le.pending_buf_size-5&&(Qe=Le.pending_buf_size-5);;){if(Le.lookahead<=1){if(Fe(Le),Le.lookahead===0&&et===K)return fe;if(Le.lookahead===0)break}Le.strstart+=Le.lookahead,Le.lookahead=0;var Ue=Le.block_start+Qe;if((Le.strstart===0||Le.strstart>=Ue)&&(Le.lookahead=Le.strstart-Ue,Le.strstart=Ue,Ne(Le,!1),Le.strm.avail_out===0)||Le.strstart-Le.block_start>=Le.w_size-Ee&&(Ne(Le,!1),Le.strm.avail_out===0))return fe}return Le.insert=0,et===z?(Ne(Le,!0),Le.strm.avail_out===0?ye:Ce):(Le.strstart>Le.block_start&&(Ne(Le,!1),Le.strm.avail_out),fe)}),new Ie(4,4,8,4,Pe),new Ie(4,5,16,8,Pe),new Ie(4,6,32,32,Pe),new Ie(4,4,16,16,we),new Ie(8,16,32,32,we),new Ie(8,16,128,128,we),new Ie(8,32,128,256,we),new Ie(32,128,258,1024,we),new Ie(32,258,258,4096,we)],V.deflateInit=function(Le,et){return je(Le,et,W,15,8,0)},V.deflateInit2=je,V.deflateReset=Ve,V.deflateResetKeep=Ke,V.deflateSetHeader=function(Le,et){return Le&&Le.state?Le.state.wrap!==2?ae:(Le.state.gzhead=et,e):ae},V.deflate=function(Le,et){var Qe,Ue,$e,Ye;if(!Le||!Le.state||5>8&255),Ze(Ue,Ue.gzhead.time>>16&255),Ze(Ue,Ue.gzhead.time>>24&255),Ze(Ue,Ue.level===9?2:2<=Ue.strategy||Ue.level<2?4:0),Ze(Ue,255&Ue.gzhead.os),Ue.gzhead.extra&&Ue.gzhead.extra.length&&(Ze(Ue,255&Ue.gzhead.extra.length),Ze(Ue,Ue.gzhead.extra.length>>8&255)),Ue.gzhead.hcrc&&(Le.adler=R(Le.adler,Ue.pending_buf,Ue.pending,0)),Ue.gzindex=0,Ue.status=69):(Ze(Ue,0),Ze(Ue,0),Ze(Ue,0),Ze(Ue,0),Ze(Ue,0),Ze(Ue,Ue.level===9?2:2<=Ue.strategy||Ue.level<2?4:0),Ze(Ue,3),Ue.status=xe);else{var tt=W+(Ue.w_bits-8<<4)<<8;tt|=(2<=Ue.strategy||Ue.level<2?0:Ue.level<6?1:Ue.level===6?2:3)<<6,Ue.strstart!==0&&(tt|=32),tt+=31-tt%31,Ue.status=xe,ze(Ue,tt),Ue.strstart!==0&&(ze(Ue,Le.adler>>>16),ze(Ue,65535&Le.adler)),Le.adler=1}if(Ue.status===69)if(Ue.gzhead.extra){for($e=Ue.pending;Ue.gzindex<(65535&Ue.gzhead.extra.length)&&(Ue.pending!==Ue.pending_buf_size||(Ue.gzhead.hcrc&&Ue.pending>$e&&(Le.adler=R(Le.adler,Ue.pending_buf,Ue.pending-$e,$e)),Ae(Le),$e=Ue.pending,Ue.pending!==Ue.pending_buf_size));)Ze(Ue,255&Ue.gzhead.extra[Ue.gzindex]),Ue.gzindex++;Ue.gzhead.hcrc&&Ue.pending>$e&&(Le.adler=R(Le.adler,Ue.pending_buf,Ue.pending-$e,$e)),Ue.gzindex===Ue.gzhead.extra.length&&(Ue.gzindex=0,Ue.status=73)}else Ue.status=73;if(Ue.status===73)if(Ue.gzhead.name){$e=Ue.pending;do{if(Ue.pending===Ue.pending_buf_size&&(Ue.gzhead.hcrc&&Ue.pending>$e&&(Le.adler=R(Le.adler,Ue.pending_buf,Ue.pending-$e,$e)),Ae(Le),$e=Ue.pending,Ue.pending===Ue.pending_buf_size)){Ye=1;break}Ye=Ue.gzindex$e&&(Le.adler=R(Le.adler,Ue.pending_buf,Ue.pending-$e,$e)),Ye===0&&(Ue.gzindex=0,Ue.status=91)}else Ue.status=91;if(Ue.status===91)if(Ue.gzhead.comment){$e=Ue.pending;do{if(Ue.pending===Ue.pending_buf_size&&(Ue.gzhead.hcrc&&Ue.pending>$e&&(Le.adler=R(Le.adler,Ue.pending_buf,Ue.pending-$e,$e)),Ae(Le),$e=Ue.pending,Ue.pending===Ue.pending_buf_size)){Ye=1;break}Ye=Ue.gzindex$e&&(Le.adler=R(Le.adler,Ue.pending_buf,Ue.pending-$e,$e)),Ye===0&&(Ue.status=103)}else Ue.status=103;if(Ue.status===103&&(Ue.gzhead.hcrc?(Ue.pending+2>Ue.pending_buf_size&&Ae(Le),Ue.pending+2<=Ue.pending_buf_size&&(Ze(Ue,255&Le.adler),Ze(Ue,Le.adler>>8&255),Le.adler=0,Ue.status=xe)):Ue.status=xe),Ue.pending!==0){if(Ae(Le),Le.avail_out===0)return Ue.last_flush=-1,e}else if(Le.avail_in===0&&_e(et)<=_e(Qe)&&et!==z)return pe(Le,-5);if(Ue.status===666&&Le.avail_in!==0)return pe(Le,-5);if(Le.avail_in!==0||Ue.lookahead!==0||et!==K&&Ue.status!==666){var ot=Ue.strategy===2?function(st,dt){for(var ct;;){if(st.lookahead===0&&(Fe(st),st.lookahead===0)){if(dt===K)return fe;break}if(st.match_length=0,ct=D._tr_tally(st,0,st.window[st.strstart]),st.lookahead--,st.strstart++,ct&&(Ne(st,!1),st.strm.avail_out===0))return fe}return st.insert=0,dt===z?(Ne(st,!0),st.strm.avail_out===0?ye:Ce):st.last_lit&&(Ne(st,!1),st.strm.avail_out===0)?fe:ve}(Ue,et):Ue.strategy===3?function(st,dt){for(var ct,mt,ut,rt,He=st.window;;){if(st.lookahead<=me){if(Fe(st),st.lookahead<=me&&dt===K)return fe;if(st.lookahead===0)break}if(st.match_length=0,st.lookahead>=oe&&0st.lookahead&&(st.match_length=st.lookahead)}if(st.match_length>=oe?(ct=D._tr_tally(st,1,st.match_length-oe),st.lookahead-=st.match_length,st.strstart+=st.match_length,st.match_length=0):(ct=D._tr_tally(st,0,st.window[st.strstart]),st.lookahead--,st.strstart++),ct&&(Ne(st,!1),st.strm.avail_out===0))return fe}return st.insert=0,dt===z?(Ne(st,!0),st.strm.avail_out===0?ye:Ce):st.last_lit&&(Ne(st,!1),st.strm.avail_out===0)?fe:ve}(Ue,et):q[Ue.level].func(Ue,et);if(ot!==ye&&ot!==Ce||(Ue.status=666),ot===fe||ot===ye)return Le.avail_out===0&&(Ue.last_flush=-1),e;if(ot===ve&&(et===1?D._tr_align(Ue):et!==5&&(D._tr_stored_block(Ue,0,0,!1),et===3&&(Ge(Ue.head),Ue.lookahead===0&&(Ue.strstart=0,Ue.block_start=0,Ue.insert=0))),Ae(Le),Le.avail_out===0))return Ue.last_flush=-1,e}return et!==z?e:Ue.wrap<=0?1:(Ue.wrap===2?(Ze(Ue,255&Le.adler),Ze(Ue,Le.adler>>8&255),Ze(Ue,Le.adler>>16&255),Ze(Ue,Le.adler>>24&255),Ze(Ue,255&Le.total_in),Ze(Ue,Le.total_in>>8&255),Ze(Ue,Le.total_in>>16&255),Ze(Ue,Le.total_in>>24&255)):(ze(Ue,Le.adler>>>16),ze(Ue,65535&Le.adler)),Ae(Le),0=Qe.w_size&&(Ye===0&&(Ge(Qe.head),Qe.strstart=0,Qe.block_start=0,Qe.insert=0),dt=new $.Buf8(Qe.w_size),$.arraySet(dt,et,ct-Qe.w_size,Qe.w_size,0),et=dt,ct=Qe.w_size),tt=Le.avail_in,ot=Le.next_in,st=Le.input,Le.avail_in=ct,Le.next_in=0,Le.input=et,Fe(Qe);Qe.lookahead>=oe;){for(Ue=Qe.strstart,$e=Qe.lookahead-(oe-1);Qe.ins_h=(Qe.ins_h<>>=oe=se>>>24,X-=oe,(oe=se>>>16&255)===0)ve[U++]=65535&se;else{if(!(16&oe)){if(!(64&oe)){se=L[(65535&se)+(W&(1<>>=oe,X-=oe),X<15&&(W+=fe[B++]<>>=oe=se>>>24,X-=oe,!(16&(oe=se>>>16&255))){if(!(64&oe)){se=Q[(65535&se)+(W&(1<>>=oe,X-=oe,(oe=U-K)>3,W&=(1<<(X-=me<<3))-1,q.next_in=B,q.next_out=U,q.avail_in=B>>24&255)+(ke>>>8&65280)+((65280&ke)<<8)+((255&ke)<<24)}function W(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new q.Buf16(320),this.work=new q.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function X(ke){var xe;return ke&&ke.state?(xe=ke.state,ke.total_in=ke.total_out=xe.total=0,ke.msg="",xe.wrap&&(ke.adler=1&xe.wrap),xe.mode=ae,xe.last=0,xe.havedict=0,xe.dmax=32768,xe.head=null,xe.hold=0,xe.bits=0,xe.lencode=xe.lendyn=new q.Buf32(ie),xe.distcode=xe.distdyn=new q.Buf32(he),xe.sane=1,xe.back=-1,z):e}function L(ke){var xe;return ke&&ke.state?((xe=ke.state).wsize=0,xe.whave=0,xe.wnext=0,X(ke)):e}function Q(ke,xe){var fe,ve;return ke&&ke.state?(ve=ke.state,xe<0?(fe=0,xe=-xe):(fe=1+(xe>>4),xe<48&&(xe&=15)),xe&&(xe<8||15=Ce.wsize?(q.arraySet(Ce.window,xe,fe-Ce.wsize,Ce.wsize,0),Ce.wnext=0,Ce.whave=Ce.wsize):(ve<(ye=Ce.wsize-Ce.wnext)&&(ye=ve),q.arraySet(Ce.window,xe,fe-ve,ye,Ce.wnext),(ve-=ye)?(q.arraySet(Ce.window,xe,fe-ve,ve,0),Ce.wnext=ve,Ce.whave=Ce.wsize):(Ce.wnext+=ye,Ce.wnext===Ce.wsize&&(Ce.wnext=0),Ce.whave>>8&255,fe.check=D(fe.check,Ye,2,0),Ne=Ae=0,fe.mode=2;break}if(fe.flags=0,fe.head&&(fe.head.done=!1),!(1&fe.wrap)||(((255&Ae)<<8)+(Ae>>8))%31){ke.msg="incorrect header check",fe.mode=30;break}if((15&Ae)!=8){ke.msg="unknown compression method",fe.mode=30;break}if(Ne-=4,Le=8+(15&(Ae>>>=4)),fe.wbits===0)fe.wbits=Le;else if(Le>fe.wbits){ke.msg="invalid window size",fe.mode=30;break}fe.dmax=1<>8&1),512&fe.flags&&(Ye[0]=255&Ae,Ye[1]=Ae>>>8&255,fe.check=D(fe.check,Ye,2,0)),Ne=Ae=0,fe.mode=3;case 3:for(;Ne<32;){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>>8&255,Ye[2]=Ae>>>16&255,Ye[3]=Ae>>>24&255,fe.check=D(fe.check,Ye,4,0)),Ne=Ae=0,fe.mode=4;case 4:for(;Ne<16;){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>8),512&fe.flags&&(Ye[0]=255&Ae,Ye[1]=Ae>>>8&255,fe.check=D(fe.check,Ye,2,0)),Ne=Ae=0,fe.mode=5;case 5:if(1024&fe.flags){for(;Ne<16;){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>>8&255,fe.check=D(fe.check,Ye,2,0)),Ne=Ae=0}else fe.head&&(fe.head.extra=null);fe.mode=6;case 6:if(1024&fe.flags&&(_e<(Te=fe.length)&&(Te=_e),Te&&(fe.head&&(Le=fe.head.extra_len-fe.length,fe.head.extra||(fe.head.extra=new Array(fe.head.extra_len)),q.arraySet(fe.head.extra,ve,Ce,Te,Le)),512&fe.flags&&(fe.check=D(fe.check,ve,Te,Ce)),_e-=Te,Ce+=Te,fe.length-=Te),fe.length))break e;fe.length=0,fe.mode=7;case 7:if(2048&fe.flags){if(_e===0)break e;for(Te=0;Le=ve[Ce+Te++],fe.head&&Le&&fe.length<65536&&(fe.head.name+=String.fromCharCode(Le)),Le&&Te<_e;);if(512&fe.flags&&(fe.check=D(fe.check,ve,Te,Ce)),_e-=Te,Ce+=Te,Le)break e}else fe.head&&(fe.head.name=null);fe.length=0,fe.mode=8;case 8:if(4096&fe.flags){if(_e===0)break e;for(Te=0;Le=ve[Ce+Te++],fe.head&&Le&&fe.length<65536&&(fe.head.comment+=String.fromCharCode(Le)),Le&&Te<_e;);if(512&fe.flags&&(fe.check=D(fe.check,ve,Te,Ce)),_e-=Te,Ce+=Te,Le)break e}else fe.head&&(fe.head.comment=null);fe.mode=9;case 9:if(512&fe.flags){for(;Ne<16;){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>9&1,fe.head.done=!0),ke.adler=fe.check=0,fe.mode=12;break;case 10:for(;Ne<32;){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>>=7&Ne,Ne-=7&Ne,fe.mode=27;break}for(;Ne<3;){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>>=1)){case 0:fe.mode=14;break;case 1:if(me(fe),fe.mode=20,xe!==6)break;Ae>>>=2,Ne-=2;break e;case 2:fe.mode=17;break;case 3:ke.msg="invalid block type",fe.mode=30}Ae>>>=2,Ne-=2;break;case 14:for(Ae>>>=7&Ne,Ne-=7&Ne;Ne<32;){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>>16^65535)){ke.msg="invalid stored block lengths",fe.mode=30;break}if(fe.length=65535&Ae,Ne=Ae=0,fe.mode=15,xe===6)break e;case 15:fe.mode=16;case 16:if(Te=fe.length){if(_e>>=5,Ne-=5,fe.ndist=1+(31&Ae),Ae>>>=5,Ne-=5,fe.ncode=4+(15&Ae),Ae>>>=4,Ne-=4,286>>=3,Ne-=3}for(;fe.have<19;)fe.lens[tt[fe.have++]]=0;if(fe.lencode=fe.lendyn,fe.lenbits=7,Qe={bits:fe.lenbits},et=R(0,fe.lens,0,19,fe.lencode,0,fe.work,Qe),fe.lenbits=Qe.bits,et){ke.msg="invalid code lengths set",fe.mode=30;break}fe.have=0,fe.mode=19;case 19:for(;fe.have>>16&255,Be=65535&$e,!((we=$e>>>24)<=Ne);){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>>=we,Ne-=we,fe.lens[fe.have++]=Be;else{if(Be===16){for(Ue=we+2;Ne>>=we,Ne-=we,fe.have===0){ke.msg="invalid bit length repeat",fe.mode=30;break}Le=fe.lens[fe.have-1],Te=3+(3&Ae),Ae>>>=2,Ne-=2}else if(Be===17){for(Ue=we+3;Ne>>=we)),Ae>>>=3,Ne-=3}else{for(Ue=we+7;Ne>>=we)),Ae>>>=7,Ne-=7}if(fe.have+Te>fe.nlen+fe.ndist){ke.msg="invalid bit length repeat",fe.mode=30;break}for(;Te--;)fe.lens[fe.have++]=Le}}if(fe.mode===30)break;if(fe.lens[256]===0){ke.msg="invalid code -- missing end-of-block",fe.mode=30;break}if(fe.lenbits=9,Qe={bits:fe.lenbits},et=R(U,fe.lens,0,fe.nlen,fe.lencode,0,fe.work,Qe),fe.lenbits=Qe.bits,et){ke.msg="invalid literal/lengths set",fe.mode=30;break}if(fe.distbits=6,fe.distcode=fe.distdyn,Qe={bits:fe.distbits},et=R(K,fe.lens,fe.nlen,fe.ndist,fe.distcode,0,fe.work,Qe),fe.distbits=Qe.bits,et){ke.msg="invalid distances set",fe.mode=30;break}if(fe.mode=20,xe===6)break e;case 20:fe.mode=21;case 21:if(6<=_e&&258<=Ge){ke.next_out=pe,ke.avail_out=Ge,ke.next_in=Ce,ke.avail_in=_e,fe.hold=Ae,fe.bits=Ne,B(ke,ze),pe=ke.next_out,ye=ke.output,Ge=ke.avail_out,Ce=ke.next_in,ve=ke.input,_e=ke.avail_in,Ae=fe.hold,Ne=fe.bits,fe.mode===12&&(fe.back=-1);break}for(fe.back=0;Ie=($e=fe.lencode[Ae&(1<>>16&255,Be=65535&$e,!((we=$e>>>24)<=Ne);){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>Ke)])>>>16&255,Be=65535&$e,!(Ke+(we=$e>>>24)<=Ne);){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>>=Ke,Ne-=Ke,fe.back+=Ke}if(Ae>>>=we,Ne-=we,fe.back+=we,fe.length=Be,Ie===0){fe.mode=26;break}if(32&Ie){fe.back=-1,fe.mode=12;break}if(64&Ie){ke.msg="invalid literal/length code",fe.mode=30;break}fe.extra=15&Ie,fe.mode=22;case 22:if(fe.extra){for(Ue=fe.extra;Ne>>=fe.extra,Ne-=fe.extra,fe.back+=fe.extra}fe.was=fe.length,fe.mode=23;case 23:for(;Ie=($e=fe.distcode[Ae&(1<>>16&255,Be=65535&$e,!((we=$e>>>24)<=Ne);){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>Ke)])>>>16&255,Be=65535&$e,!(Ke+(we=$e>>>24)<=Ne);){if(_e===0)break e;_e--,Ae+=ve[Ce++]<>>=Ke,Ne-=Ke,fe.back+=Ke}if(Ae>>>=we,Ne-=we,fe.back+=we,64&Ie){ke.msg="invalid distance code",fe.mode=30;break}fe.offset=Be,fe.extra=15&Ie,fe.mode=24;case 24:if(fe.extra){for(Ue=fe.extra;Ne>>=fe.extra,Ne-=fe.extra,fe.back+=fe.extra}if(fe.offset>fe.dmax){ke.msg="invalid distance too far back",fe.mode=30;break}fe.mode=25;case 25:if(Ge===0)break e;if(Te=ze-Ge,fe.offset>Te){if((Te=fe.offset-Te)>fe.whave&&fe.sane){ke.msg="invalid distance too far back",fe.mode=30;break}Fe=Te>fe.wnext?(Te-=fe.wnext,fe.wsize-Te):fe.wnext-Te,Te>fe.length&&(Te=fe.length),Pe=fe.window}else Pe=ye,Fe=pe-fe.offset,Te=fe.length;for(Gede?(oe=Fe[Pe+he[xe]],Ne[Ze+he[xe]]):(oe=96,0),W=1<>pe)+(X-=W)]=se<<24|oe<<16|me|0,X!==0;);for(W=1<>=1;if(W!==0?(Ae&=W-1,Ae+=W):Ae=0,xe++,--ze[ke]==0){if(ke===ve)break;ke=K[z+he[xe]]}if(ye>>7)]}function Ze($e,Ye){$e.pending_buf[$e.pending++]=255&Ye,$e.pending_buf[$e.pending++]=Ye>>>8&255}function ze($e,Ye,tt){$e.bi_valid>J-tt?($e.bi_buf|=Ye<<$e.bi_valid&65535,Ze($e,$e.bi_buf),$e.bi_buf=Ye>>J-$e.bi_valid,$e.bi_valid+=tt-J):($e.bi_buf|=Ye<<$e.bi_valid&65535,$e.bi_valid+=tt)}function Te($e,Ye,tt){ze($e,tt[2*Ye],tt[2*Ye+1])}function Fe($e,Ye){for(var tt=0;tt|=1&$e,$e>>>=1,tt<<=1,0<--Ye;);return tt>>>1}function Pe($e,Ye,tt){var ot,st,dt=new Array(he+1),ct=0;for(ot=1;ot<=he;ot++)dt[ot]=ct=ct+tt[ot-1]<<1;for(st=0;st<=Ye;st++){var mt=$e[2*st+1];mt!==0&&($e[2*st]=Fe(dt[mt]++,mt))}}function we($e){var Ye;for(Ye=0;Ye>1;1<=tt;tt--)Ke($e,dt,tt);for(st=ut;tt=$e.heap[1],$e.heap[1]=$e.heap[$e.heap_len--],Ke($e,dt,1),ot=$e.heap[1],$e.heap[--$e.heap_max]=tt,$e.heap[--$e.heap_max]=ot,dt[2*st]=dt[2*tt]+dt[2*ot],$e.depth[st]=($e.depth[tt]>=$e.depth[ot]?$e.depth[tt]:$e.depth[ot])+1,dt[2*tt+1]=dt[2*ot+1]=st,$e.heap[1]=st++,Ke($e,dt,1),2<=$e.heap_len;);$e.heap[--$e.heap_max]=$e.heap[1],function(He,Je){var St,bt,pt,wt,Pt,Nt,Vt=Je.dyn_tree,Wt=Je.max_code,Mt=Je.stat_desc.static_tree,$t=Je.stat_desc.has_stree,Yt=Je.stat_desc.extra_bits,Ft=Je.stat_desc.extra_base,Jt=Je.stat_desc.max_length,er=0;for(wt=0;wt<=he;wt++)He.bl_count[wt]=0;for(Vt[2*He.heap[He.heap_max]+1]=0,St=He.heap_max+1;St>=7;st>>=1)if(1&rt&&mt.dyn_ltree[2*ut]!==0)return $;if(mt.dyn_ltree[18]!==0||mt.dyn_ltree[20]!==0||mt.dyn_ltree[26]!==0)return D;for(ut=32;ut>>3,(dt=$e.static_len+3+7>>>3)<=st&&(st=dt)):st=dt=tt+5,tt+4<=st&&Ye!==-1?Ue($e,Ye,tt,ot):$e.strategy===4||dt===st?(ze($e,2+(ot?1:0),3),Ve($e,Ee,ke)):(ze($e,4+(ot?1:0),3),function(mt,ut,rt,He){var Je;for(ze(mt,ut-257,5),ze(mt,rt-1,5),ze(mt,He-4,4),Je=0;Je>>8&255,$e.pending_buf[$e.d_buf+2*$e.last_lit+1]=255&Ye,$e.pending_buf[$e.l_buf+$e.last_lit]=255&tt,$e.last_lit++,Ye===0?$e.dyn_ltree[2*tt]++:($e.matches++,Ye--,$e.dyn_ltree[2*(fe[tt]+K+1)]++,$e.dyn_dtree[2*Ne(Ye)]++),$e.last_lit===$e.lit_bufsize-1},V._tr_align=function($e){ze($e,2,3),Te($e,X,Ee),function(Ye){Ye.bi_valid===16?(Ze(Ye,Ye.bi_buf),Ye.bi_buf=0,Ye.bi_valid=0):8<=Ye.bi_valid&&(Ye.pending_buf[Ye.pending++]=255&Ye.bi_buf,Ye.bi_buf>>=8,Ye.bi_valid-=8)}($e)}},{"../utils/common":41}],53:[function(M,G,V){G.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(M,G,V){(function(q){(function($,D){if(!$.setImmediate){var B,R,U,K,z=1,e={},ae=!1,ie=$.document,he=Object.getPrototypeOf&&Object.getPrototypeOf($);he=he&&he.setTimeout?he:$,B={}.toString.call($.process)==="[object process]"?function(L){process.nextTick(function(){W(L)})}:function(){if($.postMessage&&!$.importScripts){var L=!0,Q=$.onmessage;return $.onmessage=function(){L=!1},$.postMessage("","*"),$.onmessage=Q,L}}()?(K="setImmediate$"+Math.random()+"$",$.addEventListener?$.addEventListener("message",X,!1):$.attachEvent("onmessage",X),function(L){$.postMessage(K+L,"*")}):$.MessageChannel?((U=new MessageChannel).port1.onmessage=function(L){W(L.data)},function(L){U.port2.postMessage(L)}):ie&&"onreadystatechange"in ie.createElement("script")?(R=ie.documentElement,function(L){var Q=ie.createElement("script");Q.onreadystatechange=function(){W(L),Q.onreadystatechange=null,R.removeChild(Q),Q=null},R.appendChild(Q)}):function(L){setTimeout(W,0,L)},he.setImmediate=function(L){typeof L!="function"&&(L=new Function(""+L));for(var Q=new Array(arguments.length-1),ce=0;ce"u"?q===void 0?this:q:self)}).call(this,typeof commonjsGlobal$1<"u"?commonjsGlobal$1:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(jszip_min);var jszip_minExports=jszip_min.exports;const JSZip=getDefaultExportFromCjs(jszip_minExports);var defaults={},hasRequiredDefaults;function requireDefaults(){return hasRequiredDefaults||(hasRequiredDefaults=1,(function(){defaults.defaults={"0.1":{explicitCharkey:!1,trim:!0,normalize:!0,normalizeTags:!1,attrkey:"@",charkey:"#",explicitArray:!1,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!1,validator:null,xmlns:!1,explicitChildren:!1,childkey:"@@",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,emptyTag:""},"0.2":{explicitCharkey:!1,trim:!1,normalize:!1,normalizeTags:!1,attrkey:"$",charkey:"_",explicitArray:!0,ignoreAttrs:!1,mergeAttrs:!1,explicitRoot:!0,validator:null,xmlns:!1,explicitChildren:!1,preserveChildrenOrder:!1,childkey:"$$",charsAsChildren:!1,includeWhiteChars:!1,async:!1,strict:!0,attrNameProcessors:null,attrValueProcessors:null,tagNameProcessors:null,valueProcessors:null,rootName:"root",xmldec:{version:"1.0",encoding:"UTF-8",standalone:!0},doctype:null,renderOpts:{pretty:!0,indent:" ",newline:` +`},headless:!1,chunkSize:1e4,emptyTag:"",cdata:!1}}}).call(commonjsGlobal$1)),defaults}var builder={},lib={},Utility={},hasRequiredUtility;function requireUtility(){return hasRequiredUtility||(hasRequiredUtility=1,(function(){var k,m,M,G,V,q,$,D=[].slice,B={}.hasOwnProperty;k=function(){var R,U,K,z,e,ae;if(ae=arguments[0],e=2<=arguments.length?D.call(arguments,1):[],V(Object.assign))Object.assign.apply(null,arguments);else for(R=0,K=e.length;R":"attribute: {"+M+"}, parent: <"+this.parent.name+">"},m.prototype.isEqualNode=function(M){return!(M.namespaceURI!==this.namespaceURI||M.prefix!==this.prefix||M.localName!==this.localName||M.value!==this.value)},m}()}).call(commonjsGlobal$1)),XMLAttribute.exports}var XMLNamedNodeMap={exports:{}},hasRequiredXMLNamedNodeMap;function requireXMLNamedNodeMap(){return hasRequiredXMLNamedNodeMap||(hasRequiredXMLNamedNodeMap=1,(function(){XMLNamedNodeMap.exports=function(){function k(m){this.nodes=m}return Object.defineProperty(k.prototype,"length",{get:function(){return Object.keys(this.nodes).length||0}}),k.prototype.clone=function(){return this.nodes=null},k.prototype.getNamedItem=function(m){return this.nodes[m]},k.prototype.setNamedItem=function(m){var M;return M=this.nodes[m.nodeName],this.nodes[m.nodeName]=m,M||null},k.prototype.removeNamedItem=function(m){var M;return M=this.nodes[m],delete this.nodes[m],M||null},k.prototype.item=function(m){return this.nodes[Object.keys(this.nodes)[m]]||null},k.prototype.getNamedItemNS=function(m,M){throw new Error("This DOM method is not implemented.")},k.prototype.setNamedItemNS=function(m){throw new Error("This DOM method is not implemented.")},k.prototype.removeNamedItemNS=function(m,M){throw new Error("This DOM method is not implemented.")},k}()}).call(commonjsGlobal$1)),XMLNamedNodeMap.exports}var hasRequiredXMLElement;function requireXMLElement(){return hasRequiredXMLElement||(hasRequiredXMLElement=1,(function(){var k,m,M,G,V,q,$,D,B=function(U,K){for(var z in K)R.call(K,z)&&(U[z]=K[z]);function e(){this.constructor=U}return e.prototype=K.prototype,U.prototype=new e,U.__super__=K.prototype,U},R={}.hasOwnProperty;D=requireUtility(),$=D.isObject,q=D.isFunction,V=D.getValue,G=requireXMLNode(),k=requireNodeType(),m=requireXMLAttribute(),M=requireXMLNamedNodeMap(),XMLElement.exports=function(U){B(K,U);function K(z,e,ae){var ie,he,J,W;if(K.__super__.constructor.call(this,z),e==null)throw new Error("Missing element name. "+this.debugInfo());if(this.name=this.stringify.name(e),this.type=k.Element,this.attribs={},this.schemaTypeInfo=null,ae!=null&&this.attribute(ae),z.type===k.Document&&(this.isRoot=!0,this.documentObject=z,z.rootObject=this,z.children)){for(W=z.children,he=0,J=W.length;he=ie;e=0<=ie?++ae:--ae)if(!this.attribs[e].isEqualNode(z.attribs[e]))return!1;return!0},K}(G)}).call(commonjsGlobal$1)),XMLElement.exports}var XMLCData={exports:{}},XMLCharacterData={exports:{}},hasRequiredXMLCharacterData;function requireXMLCharacterData(){return hasRequiredXMLCharacterData||(hasRequiredXMLCharacterData=1,(function(){var k,m=function(G,V){for(var q in V)M.call(V,q)&&(G[q]=V[q]);function $(){this.constructor=G}return $.prototype=V.prototype,G.prototype=new $,G.__super__=V.prototype,G},M={}.hasOwnProperty;k=requireXMLNode(),XMLCharacterData.exports=function(G){m(V,G);function V(q){V.__super__.constructor.call(this,q),this.value=""}return Object.defineProperty(V.prototype,"data",{get:function(){return this.value},set:function(q){return this.value=q||""}}),Object.defineProperty(V.prototype,"length",{get:function(){return this.value.length}}),Object.defineProperty(V.prototype,"textContent",{get:function(){return this.value},set:function(q){return this.value=q||""}}),V.prototype.clone=function(){return Object.create(this)},V.prototype.substringData=function(q,$){throw new Error("This DOM method is not implemented."+this.debugInfo())},V.prototype.appendData=function(q){throw new Error("This DOM method is not implemented."+this.debugInfo())},V.prototype.insertData=function(q,$){throw new Error("This DOM method is not implemented."+this.debugInfo())},V.prototype.deleteData=function(q,$){throw new Error("This DOM method is not implemented."+this.debugInfo())},V.prototype.replaceData=function(q,$,D){throw new Error("This DOM method is not implemented."+this.debugInfo())},V.prototype.isEqualNode=function(q){return!(!V.__super__.isEqualNode.apply(this,arguments).isEqualNode(q)||q.data!==this.data)},V}(k)}).call(commonjsGlobal$1)),XMLCharacterData.exports}var hasRequiredXMLCData;function requireXMLCData(){return hasRequiredXMLCData||(hasRequiredXMLCData=1,(function(){var k,m,M=function(V,q){for(var $ in q)G.call(q,$)&&(V[$]=q[$]);function D(){this.constructor=V}return D.prototype=q.prototype,V.prototype=new D,V.__super__=q.prototype,V},G={}.hasOwnProperty;k=requireNodeType(),m=requireXMLCharacterData(),XMLCData.exports=function(V){M(q,V);function q($,D){if(q.__super__.constructor.call(this,$),D==null)throw new Error("Missing CDATA text. "+this.debugInfo());this.name="#cdata-section",this.type=k.CData,this.value=this.stringify.cdata(D)}return q.prototype.clone=function(){return Object.create(this)},q.prototype.toString=function($){return this.options.writer.cdata(this,this.options.writer.filterOptions($))},q}(m)}).call(commonjsGlobal$1)),XMLCData.exports}var XMLComment={exports:{}},hasRequiredXMLComment;function requireXMLComment(){return hasRequiredXMLComment||(hasRequiredXMLComment=1,(function(){var k,m,M=function(V,q){for(var $ in q)G.call(q,$)&&(V[$]=q[$]);function D(){this.constructor=V}return D.prototype=q.prototype,V.prototype=new D,V.__super__=q.prototype,V},G={}.hasOwnProperty;k=requireNodeType(),m=requireXMLCharacterData(),XMLComment.exports=function(V){M(q,V);function q($,D){if(q.__super__.constructor.call(this,$),D==null)throw new Error("Missing comment text. "+this.debugInfo());this.name="#comment",this.type=k.Comment,this.value=this.stringify.comment(D)}return q.prototype.clone=function(){return Object.create(this)},q.prototype.toString=function($){return this.options.writer.comment(this,this.options.writer.filterOptions($))},q}(m)}).call(commonjsGlobal$1)),XMLComment.exports}var XMLDeclaration={exports:{}},hasRequiredXMLDeclaration;function requireXMLDeclaration(){return hasRequiredXMLDeclaration||(hasRequiredXMLDeclaration=1,(function(){var k,m,M,G=function(q,$){for(var D in $)V.call($,D)&&(q[D]=$[D]);function B(){this.constructor=q}return B.prototype=$.prototype,q.prototype=new B,q.__super__=$.prototype,q},V={}.hasOwnProperty;M=requireUtility().isObject,m=requireXMLNode(),k=requireNodeType(),XMLDeclaration.exports=function(q){G($,q);function $(D,B,R,U){var K;$.__super__.constructor.call(this,D),M(B)&&(K=B,B=K.version,R=K.encoding,U=K.standalone),B||(B="1.0"),this.type=k.Declaration,this.version=this.stringify.xmlVersion(B),R!=null&&(this.encoding=this.stringify.xmlEncoding(R)),U!=null&&(this.standalone=this.stringify.xmlStandalone(U))}return $.prototype.toString=function(D){return this.options.writer.declaration(this,this.options.writer.filterOptions(D))},$}(m)}).call(commonjsGlobal$1)),XMLDeclaration.exports}var XMLDocType={exports:{}},XMLDTDAttList={exports:{}},hasRequiredXMLDTDAttList;function requireXMLDTDAttList(){return hasRequiredXMLDTDAttList||(hasRequiredXMLDTDAttList=1,(function(){var k,m,M=function(V,q){for(var $ in q)G.call(q,$)&&(V[$]=q[$]);function D(){this.constructor=V}return D.prototype=q.prototype,V.prototype=new D,V.__super__=q.prototype,V},G={}.hasOwnProperty;m=requireXMLNode(),k=requireNodeType(),XMLDTDAttList.exports=function(V){M(q,V);function q($,D,B,R,U,K){if(q.__super__.constructor.call(this,$),D==null)throw new Error("Missing DTD element name. "+this.debugInfo());if(B==null)throw new Error("Missing DTD attribute name. "+this.debugInfo(D));if(!R)throw new Error("Missing DTD attribute type. "+this.debugInfo(D));if(!U)throw new Error("Missing DTD attribute default. "+this.debugInfo(D));if(U.indexOf("#")!==0&&(U="#"+U),!U.match(/^(#REQUIRED|#IMPLIED|#FIXED|#DEFAULT)$/))throw new Error("Invalid default value type; expected: #REQUIRED, #IMPLIED, #FIXED or #DEFAULT. "+this.debugInfo(D));if(K&&!U.match(/^(#FIXED|#DEFAULT)$/))throw new Error("Default value only applies to #FIXED or #DEFAULT. "+this.debugInfo(D));this.elementName=this.stringify.name(D),this.type=k.AttributeDeclaration,this.attributeName=this.stringify.name(B),this.attributeType=this.stringify.dtdAttType(R),K&&(this.defaultValue=this.stringify.dtdAttDefault(K)),this.defaultValueType=U}return q.prototype.toString=function($){return this.options.writer.dtdAttList(this,this.options.writer.filterOptions($))},q}(m)}).call(commonjsGlobal$1)),XMLDTDAttList.exports}var XMLDTDEntity={exports:{}},hasRequiredXMLDTDEntity;function requireXMLDTDEntity(){return hasRequiredXMLDTDEntity||(hasRequiredXMLDTDEntity=1,(function(){var k,m,M,G=function(q,$){for(var D in $)V.call($,D)&&(q[D]=$[D]);function B(){this.constructor=q}return B.prototype=$.prototype,q.prototype=new B,q.__super__=$.prototype,q},V={}.hasOwnProperty;M=requireUtility().isObject,m=requireXMLNode(),k=requireNodeType(),XMLDTDEntity.exports=function(q){G($,q);function $(D,B,R,U){if($.__super__.constructor.call(this,D),R==null)throw new Error("Missing DTD entity name. "+this.debugInfo(R));if(U==null)throw new Error("Missing DTD entity value. "+this.debugInfo(R));if(this.pe=!!B,this.name=this.stringify.name(R),this.type=k.EntityDeclaration,!M(U))this.value=this.stringify.dtdEntityValue(U),this.internal=!0;else{if(!U.pubID&&!U.sysID)throw new Error("Public and/or system identifiers are required for an external entity. "+this.debugInfo(R));if(U.pubID&&!U.sysID)throw new Error("System identifier is required for a public external entity. "+this.debugInfo(R));if(this.internal=!1,U.pubID!=null&&(this.pubID=this.stringify.dtdPubID(U.pubID)),U.sysID!=null&&(this.sysID=this.stringify.dtdSysID(U.sysID)),U.nData!=null&&(this.nData=this.stringify.dtdNData(U.nData)),this.pe&&this.nData)throw new Error("Notation declaration is not allowed in a parameter entity. "+this.debugInfo(R))}}return Object.defineProperty($.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty($.prototype,"systemId",{get:function(){return this.sysID}}),Object.defineProperty($.prototype,"notationName",{get:function(){return this.nData||null}}),Object.defineProperty($.prototype,"inputEncoding",{get:function(){return null}}),Object.defineProperty($.prototype,"xmlEncoding",{get:function(){return null}}),Object.defineProperty($.prototype,"xmlVersion",{get:function(){return null}}),$.prototype.toString=function(D){return this.options.writer.dtdEntity(this,this.options.writer.filterOptions(D))},$}(m)}).call(commonjsGlobal$1)),XMLDTDEntity.exports}var XMLDTDElement={exports:{}},hasRequiredXMLDTDElement;function requireXMLDTDElement(){return hasRequiredXMLDTDElement||(hasRequiredXMLDTDElement=1,(function(){var k,m,M=function(V,q){for(var $ in q)G.call(q,$)&&(V[$]=q[$]);function D(){this.constructor=V}return D.prototype=q.prototype,V.prototype=new D,V.__super__=q.prototype,V},G={}.hasOwnProperty;m=requireXMLNode(),k=requireNodeType(),XMLDTDElement.exports=function(V){M(q,V);function q($,D,B){if(q.__super__.constructor.call(this,$),D==null)throw new Error("Missing DTD element name. "+this.debugInfo());B||(B="(#PCDATA)"),Array.isArray(B)&&(B="("+B.join(",")+")"),this.name=this.stringify.name(D),this.type=k.ElementDeclaration,this.value=this.stringify.dtdElementValue(B)}return q.prototype.toString=function($){return this.options.writer.dtdElement(this,this.options.writer.filterOptions($))},q}(m)}).call(commonjsGlobal$1)),XMLDTDElement.exports}var XMLDTDNotation={exports:{}},hasRequiredXMLDTDNotation;function requireXMLDTDNotation(){return hasRequiredXMLDTDNotation||(hasRequiredXMLDTDNotation=1,(function(){var k,m,M=function(V,q){for(var $ in q)G.call(q,$)&&(V[$]=q[$]);function D(){this.constructor=V}return D.prototype=q.prototype,V.prototype=new D,V.__super__=q.prototype,V},G={}.hasOwnProperty;m=requireXMLNode(),k=requireNodeType(),XMLDTDNotation.exports=function(V){M(q,V);function q($,D,B){if(q.__super__.constructor.call(this,$),D==null)throw new Error("Missing DTD notation name. "+this.debugInfo(D));if(!B.pubID&&!B.sysID)throw new Error("Public or system identifiers are required for an external entity. "+this.debugInfo(D));this.name=this.stringify.name(D),this.type=k.NotationDeclaration,B.pubID!=null&&(this.pubID=this.stringify.dtdPubID(B.pubID)),B.sysID!=null&&(this.sysID=this.stringify.dtdSysID(B.sysID))}return Object.defineProperty(q.prototype,"publicId",{get:function(){return this.pubID}}),Object.defineProperty(q.prototype,"systemId",{get:function(){return this.sysID}}),q.prototype.toString=function($){return this.options.writer.dtdNotation(this,this.options.writer.filterOptions($))},q}(m)}).call(commonjsGlobal$1)),XMLDTDNotation.exports}var hasRequiredXMLDocType;function requireXMLDocType(){return hasRequiredXMLDocType||(hasRequiredXMLDocType=1,(function(){var k,m,M,G,V,q,$,D,B=function(U,K){for(var z in K)R.call(K,z)&&(U[z]=K[z]);function e(){this.constructor=U}return e.prototype=K.prototype,U.prototype=new e,U.__super__=K.prototype,U},R={}.hasOwnProperty;D=requireUtility().isObject,$=requireXMLNode(),k=requireNodeType(),m=requireXMLDTDAttList(),G=requireXMLDTDEntity(),M=requireXMLDTDElement(),V=requireXMLDTDNotation(),q=requireXMLNamedNodeMap(),XMLDocType.exports=function(U){B(K,U);function K(z,e,ae){var ie,he,J,W,X,L;if(K.__super__.constructor.call(this,z),this.type=k.DocType,z.children){for(W=z.children,he=0,J=W.length;he":(Q=this.parent)!=null&&Q.name?"node: <"+X+">, parent: <"+this.parent.name+">":"node: <"+X+">"},W.prototype.ele=function(X,L,Q){return this.element(X,L,Q)},W.prototype.nod=function(X,L,Q){return this.node(X,L,Q)},W.prototype.txt=function(X){return this.text(X)},W.prototype.dat=function(X){return this.cdata(X)},W.prototype.com=function(X){return this.comment(X)},W.prototype.ins=function(X,L){return this.instruction(X,L)},W.prototype.doc=function(){return this.document()},W.prototype.dec=function(X,L,Q){return this.declaration(X,L,Q)},W.prototype.e=function(X,L,Q){return this.element(X,L,Q)},W.prototype.n=function(X,L,Q){return this.node(X,L,Q)},W.prototype.t=function(X){return this.text(X)},W.prototype.d=function(X){return this.cdata(X)},W.prototype.c=function(X){return this.comment(X)},W.prototype.r=function(X){return this.raw(X)},W.prototype.i=function(X,L){return this.instruction(X,L)},W.prototype.u=function(){return this.up()},W.prototype.importXMLBuilder=function(X){return this.importDocument(X)},W.prototype.replaceChild=function(X,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.removeChild=function(X){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.appendChild=function(X){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.hasChildNodes=function(){return this.children.length!==0},W.prototype.cloneNode=function(X){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.normalize=function(){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.isSupported=function(X,L){return!0},W.prototype.hasAttributes=function(){return this.attribs.length!==0},W.prototype.compareDocumentPosition=function(X){var L,Q;return L=this,L===X?0:this.document()!==X.document()?(Q=k.Disconnected|k.ImplementationSpecific,Math.random()<.5?Q|=k.Preceding:Q|=k.Following,Q):L.isAncestor(X)?k.Contains|k.Preceding:L.isDescendant(X)?k.Contains|k.Following:L.isPreceding(X)?k.Preceding:k.Following},W.prototype.isSameNode=function(X){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.lookupPrefix=function(X){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.isDefaultNamespace=function(X){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.lookupNamespaceURI=function(X){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.isEqualNode=function(X){var L,Q,ce;if(X.nodeType!==this.nodeType||X.children.length!==this.children.length)return!1;for(L=Q=0,ce=this.children.length-1;0<=ce?Q<=ce:Q>=ce;L=0<=ce?++Q:--Q)if(!this.children[L].isEqualNode(X.children[L]))return!1;return!0},W.prototype.getFeature=function(X,L){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.setUserData=function(X,L,Q){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.getUserData=function(X){throw new Error("This DOM method is not implemented."+this.debugInfo())},W.prototype.contains=function(X){return X?X===this||this.isDescendant(X):!1},W.prototype.isDescendant=function(X){var L,Q,ce,de,se;for(se=this.children,ce=0,de=se.length;ceQ},W.prototype.treePosition=function(X){var L,Q;return Q=0,L=!1,this.foreachTreeNode(this.document(),function(ce){if(Q++,!L&&ce===X)return L=!0}),L?Q:-1},W.prototype.foreachTreeNode=function(X,L){var Q,ce,de,se,oe;for(X||(X=this.document()),se=X.children,ce=0,de=se.length;ce","]]]]>"),this.assertLegalChar(G))},M.prototype.comment=function(G){if(this.options.noValidation)return G;if(G=""+G||"",G.match(/--/))throw new Error("Comment text cannot contain double-hypen: "+G);return this.assertLegalChar(G)},M.prototype.raw=function(G){return this.options.noValidation?G:""+G||""},M.prototype.attValue=function(G){return this.options.noValidation?G:this.assertLegalChar(this.attEscape(G=""+G||""))},M.prototype.insTarget=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.insValue=function(G){if(this.options.noValidation)return G;if(G=""+G||"",G.match(/\?>/))throw new Error("Invalid processing instruction value: "+G);return this.assertLegalChar(G)},M.prototype.xmlVersion=function(G){if(this.options.noValidation)return G;if(G=""+G||"",!G.match(/1\.[0-9]+/))throw new Error("Invalid version number: "+G);return G},M.prototype.xmlEncoding=function(G){if(this.options.noValidation)return G;if(G=""+G||"",!G.match(/^[A-Za-z](?:[A-Za-z0-9._-])*$/))throw new Error("Invalid encoding: "+G);return this.assertLegalChar(G)},M.prototype.xmlStandalone=function(G){return this.options.noValidation?G:G?"yes":"no"},M.prototype.dtdPubID=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdSysID=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdElementValue=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdAttType=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdAttDefault=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdEntityValue=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.dtdNData=function(G){return this.options.noValidation?G:this.assertLegalChar(""+G||"")},M.prototype.convertAttKey="@",M.prototype.convertPIKey="?",M.prototype.convertTextKey="#text",M.prototype.convertCDataKey="#cdata",M.prototype.convertCommentKey="#comment",M.prototype.convertRawKey="#raw",M.prototype.assertLegalChar=function(G){var V,q;if(this.options.noValidation)return G;if(V="",this.options.version==="1.0"){if(V=/[\0-\x08\x0B\f\x0E-\x1F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,q=G.match(V))throw new Error("Invalid character in string: "+G+" at index "+q.index)}else if(this.options.version==="1.1"&&(V=/[\0\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,q=G.match(V)))throw new Error("Invalid character in string: "+G+" at index "+q.index);return G},M.prototype.assertLegalName=function(G){var V;if(this.options.noValidation)return G;if(this.assertLegalChar(G),V=/^([:A-Z_a-z\xC0-\xD6\xD8-\xF6\xF8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])([\x2D\.0-:A-Z_a-z\xB7\xC0-\xD6\xD8-\xF6\xF8-\u037D\u037F-\u1FFF\u200C\u200D\u203F\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]|[\uD800-\uDB7F][\uDC00-\uDFFF])*$/,!G.match(V))throw new Error("Invalid character in name");return G},M.prototype.textEscape=function(G){var V;return this.options.noValidation?G:(V=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,G.replace(V,"&").replace(//g,">").replace(/\r/g," "))},M.prototype.attEscape=function(G){var V;return this.options.noValidation?G:(V=this.options.noDoubleEncoding?/(?!&\S+;)&/g:/&/g,G.replace(V,"&").replace(/0)?new Array(B).join($.indent):""},V.prototype.endline=function(q,$,D){return!$.pretty||$.suppressPrettyCount?"":$.newline},V.prototype.attribute=function(q,$,D){var B;return this.openAttribute(q,$,D),B=" "+q.name+'="'+q.value+'"',this.closeAttribute(q,$,D),B},V.prototype.cdata=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.comment=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.declaration=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+"",B+=this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.docType=function(q,$,D){var B,R,U,K,z;if(D||(D=0),this.openNode(q,$,D),$.state=m.OpenTag,K=this.indent(q,$,D),K+="0){for(K+=" [",K+=this.endline(q,$,D),$.state=m.InsideTag,z=q.children,R=0,U=z.length;R",K+=this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),K},V.prototype.element=function(q,$,D){var B,R,U,K,z,e,ae,ie,he,J,W,X,L,Q;D||(D=0),J=!1,W="",this.openNode(q,$,D),$.state=m.OpenTag,W+=this.indent(q,$,D)+"<"+q.name,X=q.attribs;for(he in X)G.call(X,he)&&(B=X[he],W+=this.attribute(B,$,D));if(U=q.children.length,K=U===0?null:q.children[0],U===0||q.children.every(function(ce){return(ce.type===k.Text||ce.type===k.Raw)&&ce.value===""}))$.allowEmpty?(W+=">",$.state=m.CloseTag,W+=""+this.endline(q,$,D)):($.state=m.CloseTag,W+=$.spaceBeforeSlash+"/>"+this.endline(q,$,D));else if($.pretty&&U===1&&(K.type===k.Text||K.type===k.Raw)&&K.value!=null)W+=">",$.state=m.InsideTag,$.suppressPrettyCount++,J=!0,W+=this.writeChildNode(K,$,D+1),$.suppressPrettyCount--,J=!1,$.state=m.CloseTag,W+=""+this.endline(q,$,D);else{if($.dontPrettyTextNodes){for(L=q.children,z=0,ae=L.length;z"+this.endline(q,$,D),$.state=m.InsideTag,Q=q.children,e=0,ie=Q.length;e",J&&$.suppressPrettyCount--,W+=this.endline(q,$,D),$.state=m.None}return this.closeNode(q,$,D),W},V.prototype.writeChildNode=function(q,$,D){switch(q.type){case k.CData:return this.cdata(q,$,D);case k.Comment:return this.comment(q,$,D);case k.Element:return this.element(q,$,D);case k.Raw:return this.raw(q,$,D);case k.Text:return this.text(q,$,D);case k.ProcessingInstruction:return this.processingInstruction(q,$,D);case k.Dummy:return"";case k.Declaration:return this.declaration(q,$,D);case k.DocType:return this.docType(q,$,D);case k.AttributeDeclaration:return this.dtdAttList(q,$,D);case k.ElementDeclaration:return this.dtdElement(q,$,D);case k.EntityDeclaration:return this.dtdEntity(q,$,D);case k.NotationDeclaration:return this.dtdNotation(q,$,D);default:throw new Error("Unknown XML node type: "+q.constructor.name)}},V.prototype.processingInstruction=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+"",B+=this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.raw=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D),$.state=m.InsideTag,B+=q.value,$.state=m.CloseTag,B+=this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.text=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D),$.state=m.InsideTag,B+=q.value,$.state=m.CloseTag,B+=this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.dtdAttList=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.dtdElement=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.dtdEntity=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.dtdNotation=function(q,$,D){var B;return this.openNode(q,$,D),$.state=m.OpenTag,B=this.indent(q,$,D)+""+this.endline(q,$,D),$.state=m.None,this.closeNode(q,$,D),B},V.prototype.openNode=function(q,$,D){},V.prototype.closeNode=function(q,$,D){},V.prototype.openAttribute=function(q,$,D){},V.prototype.closeAttribute=function(q,$,D){},V}()}).call(commonjsGlobal$1)),XMLWriterBase.exports}var hasRequiredXMLStringWriter;function requireXMLStringWriter(){return hasRequiredXMLStringWriter||(hasRequiredXMLStringWriter=1,(function(){var k,m=function(G,V){for(var q in V)M.call(V,q)&&(G[q]=V[q]);function $(){this.constructor=G}return $.prototype=V.prototype,G.prototype=new $,G.__super__=V.prototype,G},M={}.hasOwnProperty;k=requireXMLWriterBase(),XMLStringWriter.exports=function(G){m(V,G);function V(q){V.__super__.constructor.call(this,q)}return V.prototype.document=function(q,$){var D,B,R,U,K;for($=this.filterOptions($),U="",K=q.children,B=0,R=K.length;B=0;)this.up();return this.onEnd()},se.prototype.openCurrent=function(){if(this.currentNode)return this.currentNode.children=!0,this.openNode(this.currentNode)},se.prototype.openNode=function(oe){var me,Ee,ke,xe;if(!oe.isOpen){if(!this.root&&this.currentLevel===0&&oe.type===k.Element&&(this.root=oe),Ee="",oe.type===k.Element){this.writerOptions.state=m.OpenTag,Ee=this.writer.indent(oe,this.writerOptions,this.currentLevel)+"<"+oe.name,xe=oe.attribs;for(ke in xe)de.call(xe,ke)&&(me=xe[ke],Ee+=this.writer.attribute(me,this.writerOptions,this.currentLevel));Ee+=(oe.children?">":"/>")+this.writer.endline(oe,this.writerOptions,this.currentLevel),this.writerOptions.state=m.InsideTag}else this.writerOptions.state=m.OpenTag,Ee=this.writer.indent(oe,this.writerOptions,this.currentLevel)+""),Ee+=this.writer.endline(oe,this.writerOptions,this.currentLevel);return this.onData(Ee,this.currentLevel),oe.isOpen=!0}},se.prototype.closeNode=function(oe){var me;if(!oe.isClosed)return me="",this.writerOptions.state=m.CloseTag,oe.type===k.Element?me=this.writer.indent(oe,this.writerOptions,this.currentLevel)+""+this.writer.endline(oe,this.writerOptions,this.currentLevel):me=this.writer.indent(oe,this.writerOptions,this.currentLevel)+"]>"+this.writer.endline(oe,this.writerOptions,this.currentLevel),this.writerOptions.state=m.None,this.onData(me,this.currentLevel),oe.isClosed=!0},se.prototype.onData=function(oe,me){return this.documentStarted=!0,this.onDataCallback(oe,me+1)},se.prototype.onEnd=function(){return this.documentCompleted=!0,this.onEndCallback()},se.prototype.debugInfo=function(oe){return oe==null?"":"node: <"+oe+">"},se.prototype.ele=function(){return this.element.apply(this,arguments)},se.prototype.nod=function(oe,me,Ee){return this.node(oe,me,Ee)},se.prototype.txt=function(oe){return this.text(oe)},se.prototype.dat=function(oe){return this.cdata(oe)},se.prototype.com=function(oe){return this.comment(oe)},se.prototype.ins=function(oe,me){return this.instruction(oe,me)},se.prototype.dec=function(oe,me,Ee){return this.declaration(oe,me,Ee)},se.prototype.dtd=function(oe,me,Ee){return this.doctype(oe,me,Ee)},se.prototype.e=function(oe,me,Ee){return this.element(oe,me,Ee)},se.prototype.n=function(oe,me,Ee){return this.node(oe,me,Ee)},se.prototype.t=function(oe){return this.text(oe)},se.prototype.d=function(oe){return this.cdata(oe)},se.prototype.c=function(oe){return this.comment(oe)},se.prototype.r=function(oe){return this.raw(oe)},se.prototype.i=function(oe,me){return this.instruction(oe,me)},se.prototype.att=function(){return this.currentNode&&this.currentNode.type===k.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},se.prototype.a=function(){return this.currentNode&&this.currentNode.type===k.DocType?this.attList.apply(this,arguments):this.attribute.apply(this,arguments)},se.prototype.ent=function(oe,me){return this.entity(oe,me)},se.prototype.pent=function(oe,me){return this.pEntity(oe,me)},se.prototype.not=function(oe,me){return this.notation(oe,me)},se}()}).call(commonjsGlobal$1)),XMLDocumentCB.exports}var XMLStreamWriter={exports:{}},hasRequiredXMLStreamWriter;function requireXMLStreamWriter(){return hasRequiredXMLStreamWriter||(hasRequiredXMLStreamWriter=1,(function(){var k,m,M,G=function(q,$){for(var D in $)V.call($,D)&&(q[D]=$[D]);function B(){this.constructor=q}return B.prototype=$.prototype,q.prototype=new B,q.__super__=$.prototype,q},V={}.hasOwnProperty;k=requireNodeType(),M=requireXMLWriterBase(),m=requireWriterState(),XMLStreamWriter.exports=function(q){G($,q);function $(D,B){this.stream=D,$.__super__.constructor.call(this,B)}return $.prototype.endline=function(D,B,R){return D.isLastRootNode&&B.state===m.CloseTag?"":$.__super__.endline.call(this,D,B,R)},$.prototype.document=function(D,B){var R,U,K,z,e,ae,ie,he,J;for(ie=D.children,U=K=0,e=ie.length;K0){for(this.stream.write(" ["),this.stream.write(this.endline(D,B,R)),B.state=m.InsideTag,e=D.children,K=0,z=e.length;K"),this.stream.write(this.endline(D,B,R)),B.state=m.None,this.closeNode(D,B,R)},$.prototype.element=function(D,B,R){var U,K,z,e,ae,ie,he,J,W;R||(R=0),this.openNode(D,B,R),B.state=m.OpenTag,this.stream.write(this.indent(D,B,R)+"<"+D.name),J=D.attribs;for(he in J)V.call(J,he)&&(U=J[he],this.attribute(U,B,R));if(z=D.children.length,e=z===0?null:D.children[0],z===0||D.children.every(function(X){return(X.type===k.Text||X.type===k.Raw)&&X.value===""}))B.allowEmpty?(this.stream.write(">"),B.state=m.CloseTag,this.stream.write("")):(B.state=m.CloseTag,this.stream.write(B.spaceBeforeSlash+"/>"));else if(B.pretty&&z===1&&(e.type===k.Text||e.type===k.Raw)&&e.value!=null)this.stream.write(">"),B.state=m.InsideTag,B.suppressPrettyCount++,this.writeChildNode(e,B,R+1),B.suppressPrettyCount--,B.state=m.CloseTag,this.stream.write("");else{for(this.stream.write(">"+this.endline(D,B,R)),B.state=m.InsideTag,W=D.children,ae=0,ie=W.length;ae")}return this.stream.write(this.endline(D,B,R)),B.state=m.None,this.closeNode(D,B,R)},$.prototype.processingInstruction=function(D,B,R){return this.stream.write($.__super__.processingInstruction.call(this,D,B,R))},$.prototype.raw=function(D,B,R){return this.stream.write($.__super__.raw.call(this,D,B,R))},$.prototype.text=function(D,B,R){return this.stream.write($.__super__.text.call(this,D,B,R))},$.prototype.dtdAttList=function(D,B,R){return this.stream.write($.__super__.dtdAttList.call(this,D,B,R))},$.prototype.dtdElement=function(D,B,R){return this.stream.write($.__super__.dtdElement.call(this,D,B,R))},$.prototype.dtdEntity=function(D,B,R){return this.stream.write($.__super__.dtdEntity.call(this,D,B,R))},$.prototype.dtdNotation=function(D,B,R){return this.stream.write($.__super__.dtdNotation.call(this,D,B,R))},$}(M)}).call(commonjsGlobal$1)),XMLStreamWriter.exports}var hasRequiredLib;function requireLib(){return hasRequiredLib||(hasRequiredLib=1,(function(){var k,m,M,G,V,q,$,D,B,R;R=requireUtility(),D=R.assign,B=R.isFunction,M=requireXMLDOMImplementation(),G=requireXMLDocument(),V=requireXMLDocumentCB(),$=requireXMLStringWriter(),q=requireXMLStreamWriter(),k=requireNodeType(),m=requireWriterState(),lib.create=function(U,K,z,e){var ae,ie;if(U==null)throw new Error("Root element needs a name.");return e=D({},K,z,e),ae=new G(e),ie=ae.element(U),e.headless||(ae.declaration(e),(e.pubID!=null||e.sysID!=null)&&ae.dtd(e)),ie},lib.begin=function(U,K,z){var e;return B(U)&&(e=[U,K],K=e[0],z=e[1],U={}),K?new V(U,K,z):new G(U)},lib.stringWriter=function(U){return new $(U)},lib.streamWriter=function(U,K){return new q(U,K)},lib.implementation=new M,lib.nodeType=k,lib.writerState=m}).call(commonjsGlobal$1)),lib}var hasRequiredBuilder;function requireBuilder(){return hasRequiredBuilder||(hasRequiredBuilder=1,(function(){var k,m,M,G,V,q={}.hasOwnProperty;k=requireLib(),m=requireDefaults().defaults,G=function($){return typeof $=="string"&&($.indexOf("&")>=0||$.indexOf(">")>=0||$.indexOf("<")>=0)},V=function($){return""},M=function($){return $.replace("]]>","]]]]>")},builder.Builder=function(){function $(D){var B,R,U;this.options={},R=m["0.2"];for(B in R)q.call(R,B)&&(U=R[B],this.options[B]=U);for(B in D)q.call(D,B)&&(U=D[B],this.options[B]=U)}return $.prototype.buildObject=function(D){var B,R,U,K,z;return B=this.options.attrkey,R=this.options.charkey,Object.keys(D).length===1&&this.options.rootName===m["0.2"].rootName?(z=Object.keys(D)[0],D=D[z]):z=this.options.rootName,U=function(e){return function(ae,ie){var he,J,W,X,L,Q;if(typeof ie!="object")e.options.cdata&&G(ie)?ae.raw(V(ie)):ae.txt(ie);else if(Array.isArray(ie)){for(X in ie)if(q.call(ie,X)){J=ie[X];for(L in J)W=J[L],ae=U(ae.ele(L),W).up()}}else for(L in ie)if(q.call(ie,L))if(J=ie[L],L===B){if(typeof J=="object")for(he in J)Q=J[he],ae=ae.att(he,Q)}else if(L===R)e.options.cdata&&G(J)?ae=ae.raw(V(J)):ae=ae.txt(J);else if(Array.isArray(J))for(X in J)q.call(J,X)&&(W=J[X],typeof W=="string"?e.options.cdata&&G(W)?ae=ae.ele(L).raw(V(W)).up():ae=ae.ele(L,W).up():ae=U(ae.ele(L),W).up());else typeof J=="object"?ae=U(ae.ele(L),J).up():typeof J=="string"&&e.options.cdata&&G(J)?ae=ae.ele(L).raw(V(J)).up():(J==null&&(J=""),ae=ae.ele(L,J.toString()).up());return ae}}(this),K=k.create(z,this.options.xmldec,this.options.doctype,{headless:this.options.headless,allowSurrogateChars:this.options.allowSurrogateChars}),U(K,D).end(this.options.renderOpts)},$}()}).call(commonjsGlobal$1)),builder}var parser={},sax={},string_decoder={},safeBuffer={exports:{}},buffer={},base64Js={},hasRequiredBase64Js;function requireBase64Js(){if(hasRequiredBase64Js)return base64Js;hasRequiredBase64Js=1,base64Js.byteLength=D,base64Js.toByteArray=R,base64Js.fromByteArray=z;for(var k=[],m=[],M=typeof Uint8Array<"u"?Uint8Array:Array,G="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",V=0,q=G.length;V0)throw new Error("Invalid string. Length must be a multiple of 4");var ie=e.indexOf("=");ie===-1&&(ie=ae);var he=ie===ae?0:4-ie%4;return[ie,he]}function D(e){var ae=$(e),ie=ae[0],he=ae[1];return(ie+he)*3/4-he}function B(e,ae,ie){return(ae+ie)*3/4-ie}function R(e){var ae,ie=$(e),he=ie[0],J=ie[1],W=new M(B(e,he,J)),X=0,L=J>0?he-4:he,Q;for(Q=0;Q>16&255,W[X++]=ae>>8&255,W[X++]=ae&255;return J===2&&(ae=m[e.charCodeAt(Q)]<<2|m[e.charCodeAt(Q+1)]>>4,W[X++]=ae&255),J===1&&(ae=m[e.charCodeAt(Q)]<<10|m[e.charCodeAt(Q+1)]<<4|m[e.charCodeAt(Q+2)]>>2,W[X++]=ae>>8&255,W[X++]=ae&255),W}function U(e){return k[e>>18&63]+k[e>>12&63]+k[e>>6&63]+k[e&63]}function K(e,ae,ie){for(var he,J=[],W=ae;WL?L:X+W));return he===1?(ae=e[ie-1],J.push(k[ae>>2]+k[ae<<4&63]+"==")):he===2&&(ae=(e[ie-2]<<8)+e[ie-1],J.push(k[ae>>10]+k[ae>>4&63]+k[ae<<2&63]+"=")),J.join("")}return base64Js}var ieee754={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */var hasRequiredIeee754;function requireIeee754(){return hasRequiredIeee754||(hasRequiredIeee754=1,ieee754.read=function(k,m,M,G,V){var q,$,D=V*8-G-1,B=(1<>1,U=-7,K=M?V-1:0,z=M?-1:1,e=k[m+K];for(K+=z,q=e&(1<<-U)-1,e>>=-U,U+=D;U>0;q=q*256+k[m+K],K+=z,U-=8);for($=q&(1<<-U)-1,q>>=-U,U+=G;U>0;$=$*256+k[m+K],K+=z,U-=8);if(q===0)q=1-R;else{if(q===B)return $?NaN:(e?-1:1)*(1/0);$=$+Math.pow(2,G),q=q-R}return(e?-1:1)*$*Math.pow(2,q-G)},ieee754.write=function(k,m,M,G,V,q){var $,D,B,R=q*8-V-1,U=(1<>1,z=V===23?Math.pow(2,-24)-Math.pow(2,-77):0,e=G?0:q-1,ae=G?1:-1,ie=m<0||m===0&&1/m<0?1:0;for(m=Math.abs(m),isNaN(m)||m===1/0?(D=isNaN(m)?1:0,$=U):($=Math.floor(Math.log(m)/Math.LN2),m*(B=Math.pow(2,-$))<1&&($--,B*=2),$+K>=1?m+=z/B:m+=z*Math.pow(2,1-K),m*B>=2&&($++,B/=2),$+K>=U?(D=0,$=U):$+K>=1?(D=(m*B-1)*Math.pow(2,V),$=$+K):(D=m*Math.pow(2,K-1)*Math.pow(2,V),$=0));V>=8;k[M+e]=D&255,e+=ae,D/=256,V-=8);for($=$<0;k[M+e]=$&255,e+=ae,$/=256,R-=8);k[M+e-ae]|=ie*128}),ieee754}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */var hasRequiredBuffer;function requireBuffer(){return hasRequiredBuffer||(hasRequiredBuffer=1,function(k){const m=requireBase64Js(),M=requireIeee754(),G=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;k.Buffer=D,k.SlowBuffer=X,k.INSPECT_MAX_BYTES=50;const V=2147483647;k.kMaxLength=V,D.TYPED_ARRAY_SUPPORT=q(),!D.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function q(){try{const rt=new Uint8Array(1),He={foo:function(){return 42}};return Object.setPrototypeOf(He,Uint8Array.prototype),Object.setPrototypeOf(rt,He),rt.foo()===42}catch{return!1}}Object.defineProperty(D.prototype,"parent",{enumerable:!0,get:function(){if(D.isBuffer(this))return this.buffer}}),Object.defineProperty(D.prototype,"offset",{enumerable:!0,get:function(){if(D.isBuffer(this))return this.byteOffset}});function $(rt){if(rt>V)throw new RangeError('The value "'+rt+'" is invalid for option "size"');const He=new Uint8Array(rt);return Object.setPrototypeOf(He,D.prototype),He}function D(rt,He,Je){if(typeof rt=="number"){if(typeof He=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(rt)}return B(rt,He,Je)}D.poolSize=8192;function B(rt,He,Je){if(typeof rt=="string")return z(rt,He);if(ArrayBuffer.isView(rt))return ae(rt);if(rt==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof rt);if(st(rt,ArrayBuffer)||rt&&st(rt.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(st(rt,SharedArrayBuffer)||rt&&st(rt.buffer,SharedArrayBuffer)))return ie(rt,He,Je);if(typeof rt=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const St=rt.valueOf&&rt.valueOf();if(St!=null&&St!==rt)return D.from(St,He,Je);const bt=he(rt);if(bt)return bt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof rt[Symbol.toPrimitive]=="function")return D.from(rt[Symbol.toPrimitive]("string"),He,Je);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof rt)}D.from=function(rt,He,Je){return B(rt,He,Je)},Object.setPrototypeOf(D.prototype,Uint8Array.prototype),Object.setPrototypeOf(D,Uint8Array);function R(rt){if(typeof rt!="number")throw new TypeError('"size" argument must be of type number');if(rt<0)throw new RangeError('The value "'+rt+'" is invalid for option "size"')}function U(rt,He,Je){return R(rt),rt<=0?$(rt):He!==void 0?typeof Je=="string"?$(rt).fill(He,Je):$(rt).fill(He):$(rt)}D.alloc=function(rt,He,Je){return U(rt,He,Je)};function K(rt){return R(rt),$(rt<0?0:J(rt)|0)}D.allocUnsafe=function(rt){return K(rt)},D.allocUnsafeSlow=function(rt){return K(rt)};function z(rt,He){if((typeof He!="string"||He==="")&&(He="utf8"),!D.isEncoding(He))throw new TypeError("Unknown encoding: "+He);const Je=W(rt,He)|0;let St=$(Je);const bt=St.write(rt,He);return bt!==Je&&(St=St.slice(0,bt)),St}function e(rt){const He=rt.length<0?0:J(rt.length)|0,Je=$(He);for(let St=0;St=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return rt|0}function X(rt){return+rt!=rt&&(rt=0),D.alloc(+rt)}D.isBuffer=function(He){return He!=null&&He._isBuffer===!0&&He!==D.prototype},D.compare=function(He,Je){if(st(He,Uint8Array)&&(He=D.from(He,He.offset,He.byteLength)),st(Je,Uint8Array)&&(Je=D.from(Je,Je.offset,Je.byteLength)),!D.isBuffer(He)||!D.isBuffer(Je))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(He===Je)return 0;let St=He.length,bt=Je.length;for(let pt=0,wt=Math.min(St,bt);ptbt.length?(D.isBuffer(wt)||(wt=D.from(wt)),wt.copy(bt,pt)):Uint8Array.prototype.set.call(bt,wt,pt);else if(D.isBuffer(wt))wt.copy(bt,pt);else throw new TypeError('"list" argument must be an Array of Buffers');pt+=wt.length}return bt};function W(rt,He){if(D.isBuffer(rt))return rt.length;if(ArrayBuffer.isView(rt)||st(rt,ArrayBuffer))return rt.byteLength;if(typeof rt!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof rt);const Je=rt.length,St=arguments.length>2&&arguments[2]===!0;if(!St&&Je===0)return 0;let bt=!1;for(;;)switch(He){case"ascii":case"latin1":case"binary":return Je;case"utf8":case"utf-8":return Fe(rt).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Je*2;case"hex":return Je>>>1;case"base64":return tt(rt).length;default:if(bt)return St?-1:Fe(rt).length;He=(""+He).toLowerCase(),bt=!0}}D.byteLength=W;function L(rt,He,Je){let St=!1;if((He===void 0||He<0)&&(He=0),He>this.length||((Je===void 0||Je>this.length)&&(Je=this.length),Je<=0)||(Je>>>=0,He>>>=0,Je<=He))return"";for(rt||(rt="utf8");;)switch(rt){case"hex":return _e(this,He,Je);case"utf8":case"utf-8":return fe(this,He,Je);case"ascii":return Ce(this,He,Je);case"latin1":case"binary":return pe(this,He,Je);case"base64":return xe(this,He,Je);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ge(this,He,Je);default:if(St)throw new TypeError("Unknown encoding: "+rt);rt=(rt+"").toLowerCase(),St=!0}}D.prototype._isBuffer=!0;function Q(rt,He,Je){const St=rt[He];rt[He]=rt[Je],rt[Je]=St}D.prototype.swap16=function(){const He=this.length;if(He%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Je=0;JeJe&&(He+=" ... "),""},G&&(D.prototype[G]=D.prototype.inspect),D.prototype.compare=function(He,Je,St,bt,pt){if(st(He,Uint8Array)&&(He=D.from(He,He.offset,He.byteLength)),!D.isBuffer(He))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof He);if(Je===void 0&&(Je=0),St===void 0&&(St=He?He.length:0),bt===void 0&&(bt=0),pt===void 0&&(pt=this.length),Je<0||St>He.length||bt<0||pt>this.length)throw new RangeError("out of range index");if(bt>=pt&&Je>=St)return 0;if(bt>=pt)return-1;if(Je>=St)return 1;if(Je>>>=0,St>>>=0,bt>>>=0,pt>>>=0,this===He)return 0;let wt=pt-bt,Pt=St-Je;const Nt=Math.min(wt,Pt),Vt=this.slice(bt,pt),Wt=He.slice(Je,St);for(let Mt=0;Mt2147483647?Je=2147483647:Je<-2147483648&&(Je=-2147483648),Je=+Je,dt(Je)&&(Je=bt?0:rt.length-1),Je<0&&(Je=rt.length+Je),Je>=rt.length){if(bt)return-1;Je=rt.length-1}else if(Je<0)if(bt)Je=0;else return-1;if(typeof He=="string"&&(He=D.from(He,St)),D.isBuffer(He))return He.length===0?-1:de(rt,He,Je,St,bt);if(typeof He=="number")return He=He&255,typeof Uint8Array.prototype.indexOf=="function"?bt?Uint8Array.prototype.indexOf.call(rt,He,Je):Uint8Array.prototype.lastIndexOf.call(rt,He,Je):de(rt,[He],Je,St,bt);throw new TypeError("val must be string, number or Buffer")}function de(rt,He,Je,St,bt){let pt=1,wt=rt.length,Pt=He.length;if(St!==void 0&&(St=String(St).toLowerCase(),St==="ucs2"||St==="ucs-2"||St==="utf16le"||St==="utf-16le")){if(rt.length<2||He.length<2)return-1;pt=2,wt/=2,Pt/=2,Je/=2}function Nt(Wt,Mt){return pt===1?Wt[Mt]:Wt.readUInt16BE(Mt*pt)}let Vt;if(bt){let Wt=-1;for(Vt=Je;Vtwt&&(Je=wt-Pt),Vt=Je;Vt>=0;Vt--){let Wt=!0;for(let Mt=0;Mtbt&&(St=bt)):St=bt;const pt=He.length;St>pt/2&&(St=pt/2);let wt;for(wt=0;wt>>0,isFinite(St)?(St=St>>>0,bt===void 0&&(bt="utf8")):(bt=St,St=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const pt=this.length-Je;if((St===void 0||St>pt)&&(St=pt),He.length>0&&(St<0||Je<0)||Je>this.length)throw new RangeError("Attempt to write outside buffer bounds");bt||(bt="utf8");let wt=!1;for(;;)switch(bt){case"hex":return oe(this,He,Je,St);case"utf8":case"utf-8":return se(this,He,Je,St);case"ascii":case"latin1":case"binary":return me(this,He,Je,St);case"base64":return Ee(this,He,Je,St);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ke(this,He,Je,St);default:if(wt)throw new TypeError("Unknown encoding: "+bt);bt=(""+bt).toLowerCase(),wt=!0}},D.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xe(rt,He,Je){return He===0&&Je===rt.length?m.fromByteArray(rt):m.fromByteArray(rt.slice(He,Je))}function fe(rt,He,Je){Je=Math.min(rt.length,Je);const St=[];let bt=He;for(;bt239?4:pt>223?3:pt>191?2:1;if(bt+Pt<=Je){let Nt,Vt,Wt,Mt;switch(Pt){case 1:pt<128&&(wt=pt);break;case 2:Nt=rt[bt+1],(Nt&192)===128&&(Mt=(pt&31)<<6|Nt&63,Mt>127&&(wt=Mt));break;case 3:Nt=rt[bt+1],Vt=rt[bt+2],(Nt&192)===128&&(Vt&192)===128&&(Mt=(pt&15)<<12|(Nt&63)<<6|Vt&63,Mt>2047&&(Mt<55296||Mt>57343)&&(wt=Mt));break;case 4:Nt=rt[bt+1],Vt=rt[bt+2],Wt=rt[bt+3],(Nt&192)===128&&(Vt&192)===128&&(Wt&192)===128&&(Mt=(pt&15)<<18|(Nt&63)<<12|(Vt&63)<<6|Wt&63,Mt>65535&&Mt<1114112&&(wt=Mt))}}wt===null?(wt=65533,Pt=1):wt>65535&&(wt-=65536,St.push(wt>>>10&1023|55296),wt=56320|wt&1023),St.push(wt),bt+=Pt}return ye(St)}const ve=4096;function ye(rt){const He=rt.length;if(He<=ve)return String.fromCharCode.apply(String,rt);let Je="",St=0;for(;StSt)&&(Je=St);let bt="";for(let pt=He;ptSt&&(He=St),Je<0?(Je+=St,Je<0&&(Je=0)):Je>St&&(Je=St),JeJe)throw new RangeError("Trying to access beyond buffer length")}D.prototype.readUintLE=D.prototype.readUIntLE=function(He,Je,St){He=He>>>0,Je=Je>>>0,St||Te(He,Je,this.length);let bt=this[He],pt=1,wt=0;for(;++wt>>0,Je=Je>>>0,St||Te(He,Je,this.length);let bt=this[He+--Je],pt=1;for(;Je>0&&(pt*=256);)bt+=this[He+--Je]*pt;return bt},D.prototype.readUint8=D.prototype.readUInt8=function(He,Je){return He=He>>>0,Je||Te(He,1,this.length),this[He]},D.prototype.readUint16LE=D.prototype.readUInt16LE=function(He,Je){return He=He>>>0,Je||Te(He,2,this.length),this[He]|this[He+1]<<8},D.prototype.readUint16BE=D.prototype.readUInt16BE=function(He,Je){return He=He>>>0,Je||Te(He,2,this.length),this[He]<<8|this[He+1]},D.prototype.readUint32LE=D.prototype.readUInt32LE=function(He,Je){return He=He>>>0,Je||Te(He,4,this.length),(this[He]|this[He+1]<<8|this[He+2]<<16)+this[He+3]*16777216},D.prototype.readUint32BE=D.prototype.readUInt32BE=function(He,Je){return He=He>>>0,Je||Te(He,4,this.length),this[He]*16777216+(this[He+1]<<16|this[He+2]<<8|this[He+3])},D.prototype.readBigUInt64LE=mt(function(He){He=He>>>0,je(He,"offset");const Je=this[He],St=this[He+7];(Je===void 0||St===void 0)&&Le(He,this.length-8);const bt=Je+this[++He]*2**8+this[++He]*2**16+this[++He]*2**24,pt=this[++He]+this[++He]*2**8+this[++He]*2**16+St*2**24;return BigInt(bt)+(BigInt(pt)<>>0,je(He,"offset");const Je=this[He],St=this[He+7];(Je===void 0||St===void 0)&&Le(He,this.length-8);const bt=Je*2**24+this[++He]*2**16+this[++He]*2**8+this[++He],pt=this[++He]*2**24+this[++He]*2**16+this[++He]*2**8+St;return(BigInt(bt)<>>0,Je=Je>>>0,St||Te(He,Je,this.length);let bt=this[He],pt=1,wt=0;for(;++wt=pt&&(bt-=Math.pow(2,8*Je)),bt},D.prototype.readIntBE=function(He,Je,St){He=He>>>0,Je=Je>>>0,St||Te(He,Je,this.length);let bt=Je,pt=1,wt=this[He+--bt];for(;bt>0&&(pt*=256);)wt+=this[He+--bt]*pt;return pt*=128,wt>=pt&&(wt-=Math.pow(2,8*Je)),wt},D.prototype.readInt8=function(He,Je){return He=He>>>0,Je||Te(He,1,this.length),this[He]&128?(255-this[He]+1)*-1:this[He]},D.prototype.readInt16LE=function(He,Je){He=He>>>0,Je||Te(He,2,this.length);const St=this[He]|this[He+1]<<8;return St&32768?St|4294901760:St},D.prototype.readInt16BE=function(He,Je){He=He>>>0,Je||Te(He,2,this.length);const St=this[He+1]|this[He]<<8;return St&32768?St|4294901760:St},D.prototype.readInt32LE=function(He,Je){return He=He>>>0,Je||Te(He,4,this.length),this[He]|this[He+1]<<8|this[He+2]<<16|this[He+3]<<24},D.prototype.readInt32BE=function(He,Je){return He=He>>>0,Je||Te(He,4,this.length),this[He]<<24|this[He+1]<<16|this[He+2]<<8|this[He+3]},D.prototype.readBigInt64LE=mt(function(He){He=He>>>0,je(He,"offset");const Je=this[He],St=this[He+7];(Je===void 0||St===void 0)&&Le(He,this.length-8);const bt=this[He+4]+this[He+5]*2**8+this[He+6]*2**16+(St<<24);return(BigInt(bt)<>>0,je(He,"offset");const Je=this[He],St=this[He+7];(Je===void 0||St===void 0)&&Le(He,this.length-8);const bt=(Je<<24)+this[++He]*2**16+this[++He]*2**8+this[++He];return(BigInt(bt)<>>0,Je||Te(He,4,this.length),M.read(this,He,!0,23,4)},D.prototype.readFloatBE=function(He,Je){return He=He>>>0,Je||Te(He,4,this.length),M.read(this,He,!1,23,4)},D.prototype.readDoubleLE=function(He,Je){return He=He>>>0,Je||Te(He,8,this.length),M.read(this,He,!0,52,8)},D.prototype.readDoubleBE=function(He,Je){return He=He>>>0,Je||Te(He,8,this.length),M.read(this,He,!1,52,8)};function Ne(rt,He,Je,St,bt,pt){if(!D.isBuffer(rt))throw new TypeError('"buffer" argument must be a Buffer instance');if(He>bt||Hert.length)throw new RangeError("Index out of range")}D.prototype.writeUintLE=D.prototype.writeUIntLE=function(He,Je,St,bt){if(He=+He,Je=Je>>>0,St=St>>>0,!bt){const Pt=Math.pow(2,8*St)-1;Ne(this,He,Je,St,Pt,0)}let pt=1,wt=0;for(this[Je]=He&255;++wt>>0,St=St>>>0,!bt){const Pt=Math.pow(2,8*St)-1;Ne(this,He,Je,St,Pt,0)}let pt=St-1,wt=1;for(this[Je+pt]=He&255;--pt>=0&&(wt*=256);)this[Je+pt]=He/wt&255;return Je+St},D.prototype.writeUint8=D.prototype.writeUInt8=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,1,255,0),this[Je]=He&255,Je+1},D.prototype.writeUint16LE=D.prototype.writeUInt16LE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,2,65535,0),this[Je]=He&255,this[Je+1]=He>>>8,Je+2},D.prototype.writeUint16BE=D.prototype.writeUInt16BE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,2,65535,0),this[Je]=He>>>8,this[Je+1]=He&255,Je+2},D.prototype.writeUint32LE=D.prototype.writeUInt32LE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,4,4294967295,0),this[Je+3]=He>>>24,this[Je+2]=He>>>16,this[Je+1]=He>>>8,this[Je]=He&255,Je+4},D.prototype.writeUint32BE=D.prototype.writeUInt32BE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,4,4294967295,0),this[Je]=He>>>24,this[Je+1]=He>>>16,this[Je+2]=He>>>8,this[Je+3]=He&255,Je+4};function Ze(rt,He,Je,St,bt){Ve(He,St,bt,rt,Je,7);let pt=Number(He&BigInt(4294967295));rt[Je++]=pt,pt=pt>>8,rt[Je++]=pt,pt=pt>>8,rt[Je++]=pt,pt=pt>>8,rt[Je++]=pt;let wt=Number(He>>BigInt(32)&BigInt(4294967295));return rt[Je++]=wt,wt=wt>>8,rt[Je++]=wt,wt=wt>>8,rt[Je++]=wt,wt=wt>>8,rt[Je++]=wt,Je}function ze(rt,He,Je,St,bt){Ve(He,St,bt,rt,Je,7);let pt=Number(He&BigInt(4294967295));rt[Je+7]=pt,pt=pt>>8,rt[Je+6]=pt,pt=pt>>8,rt[Je+5]=pt,pt=pt>>8,rt[Je+4]=pt;let wt=Number(He>>BigInt(32)&BigInt(4294967295));return rt[Je+3]=wt,wt=wt>>8,rt[Je+2]=wt,wt=wt>>8,rt[Je+1]=wt,wt=wt>>8,rt[Je]=wt,Je+8}D.prototype.writeBigUInt64LE=mt(function(He,Je=0){return Ze(this,He,Je,BigInt(0),BigInt("0xffffffffffffffff"))}),D.prototype.writeBigUInt64BE=mt(function(He,Je=0){return ze(this,He,Je,BigInt(0),BigInt("0xffffffffffffffff"))}),D.prototype.writeIntLE=function(He,Je,St,bt){if(He=+He,Je=Je>>>0,!bt){const Nt=Math.pow(2,8*St-1);Ne(this,He,Je,St,Nt-1,-Nt)}let pt=0,wt=1,Pt=0;for(this[Je]=He&255;++pt>0)-Pt&255;return Je+St},D.prototype.writeIntBE=function(He,Je,St,bt){if(He=+He,Je=Je>>>0,!bt){const Nt=Math.pow(2,8*St-1);Ne(this,He,Je,St,Nt-1,-Nt)}let pt=St-1,wt=1,Pt=0;for(this[Je+pt]=He&255;--pt>=0&&(wt*=256);)He<0&&Pt===0&&this[Je+pt+1]!==0&&(Pt=1),this[Je+pt]=(He/wt>>0)-Pt&255;return Je+St},D.prototype.writeInt8=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,1,127,-128),He<0&&(He=255+He+1),this[Je]=He&255,Je+1},D.prototype.writeInt16LE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,2,32767,-32768),this[Je]=He&255,this[Je+1]=He>>>8,Je+2},D.prototype.writeInt16BE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,2,32767,-32768),this[Je]=He>>>8,this[Je+1]=He&255,Je+2},D.prototype.writeInt32LE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,4,2147483647,-2147483648),this[Je]=He&255,this[Je+1]=He>>>8,this[Je+2]=He>>>16,this[Je+3]=He>>>24,Je+4},D.prototype.writeInt32BE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,4,2147483647,-2147483648),He<0&&(He=4294967295+He+1),this[Je]=He>>>24,this[Je+1]=He>>>16,this[Je+2]=He>>>8,this[Je+3]=He&255,Je+4},D.prototype.writeBigInt64LE=mt(function(He,Je=0){return Ze(this,He,Je,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),D.prototype.writeBigInt64BE=mt(function(He,Je=0){return ze(this,He,Je,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ae(rt,He,Je,St,bt,pt){if(Je+St>rt.length)throw new RangeError("Index out of range");if(Je<0)throw new RangeError("Index out of range")}function De(rt,He,Je,St,bt){return He=+He,Je=Je>>>0,bt||Ae(rt,He,Je,4),M.write(rt,He,Je,St,23,4),Je+4}D.prototype.writeFloatLE=function(He,Je,St){return De(this,He,Je,!0,St)},D.prototype.writeFloatBE=function(He,Je,St){return De(this,He,Je,!1,St)};function Ue(rt,He,Je,St,bt){return He=+He,Je=Je>>>0,bt||Ae(rt,He,Je,8),M.write(rt,He,Je,St,52,8),Je+8}D.prototype.writeDoubleLE=function(He,Je,St){return Ue(this,He,Je,!0,St)},D.prototype.writeDoubleBE=function(He,Je,St){return Ue(this,He,Je,!1,St)},D.prototype.copy=function(He,Je,St,bt){if(!D.isBuffer(He))throw new TypeError("argument should be a Buffer");if(St||(St=0),!bt&&bt!==0&&(bt=this.length),Je>=He.length&&(Je=He.length),Je||(Je=0),bt>0&&bt=this.length)throw new RangeError("Index out of range");if(bt<0)throw new RangeError("sourceEnd out of bounds");bt>this.length&&(bt=this.length),He.length-Je>>0,St=St===void 0?this.length:St>>>0,He||(He=0);let pt;if(typeof He=="number")for(pt=Je;pt2**32?bt=Be(String(Je)):typeof Je=="bigint"&&(bt=String(Je),(Je>BigInt(2)**BigInt(32)||Je<-(BigInt(2)**BigInt(32)))&&(bt=Be(bt)),bt+="n"),St+=` It must be ${He}. Received ${bt}`,St},RangeError);function Be(rt){let He="",Je=rt.length;const St=rt[0]==="-"?1:0;for(;Je>=St+4;Je-=3)He=`_${rt.slice(Je-3,Je)}${He}`;return`${rt.slice(0,Je)}${He}`}function Ke(rt,He,Je){je(He,"offset"),(rt[He]===void 0||rt[He+Je]===void 0)&&Le(He,rt.length-(Je+1))}function Ve(rt,He,Je,St,bt,pt){if(rt>Je||rt3?He===0||He===BigInt(0)?Pt=`>= 0${wt} and < 2${wt} ** ${(pt+1)*8}${wt}`:Pt=`>= -(2${wt} ** ${(pt+1)*8-1}${wt}) and < 2 ** ${(pt+1)*8-1}${wt}`:Pt=`>= ${He}${wt} and <= ${Je}${wt}`,new we.ERR_OUT_OF_RANGE("value",Pt,rt)}Ke(St,bt,pt)}function je(rt,He){if(typeof rt!="number")throw new we.ERR_INVALID_ARG_TYPE(He,"number",rt)}function Le(rt,He,Je){throw Math.floor(rt)!==rt?(je(rt,Je),new we.ERR_OUT_OF_RANGE(Je||"offset","an integer",rt)):He<0?new we.ERR_BUFFER_OUT_OF_BOUNDS:new we.ERR_OUT_OF_RANGE(Je||"offset",`>= ${Je?1:0} and <= ${He}`,rt)}const et=/[^+/0-9A-Za-z-_]/g;function Qe(rt){if(rt=rt.split("=")[0],rt=rt.trim().replace(et,""),rt.length<2)return"";for(;rt.length%4!==0;)rt=rt+"=";return rt}function Fe(rt,He){He=He||1/0;let Je;const St=rt.length;let bt=null;const pt=[];for(let wt=0;wt55295&&Je<57344){if(!bt){if(Je>56319){(He-=3)>-1&&pt.push(239,191,189);continue}else if(wt+1===St){(He-=3)>-1&&pt.push(239,191,189);continue}bt=Je;continue}if(Je<56320){(He-=3)>-1&&pt.push(239,191,189),bt=Je;continue}Je=(bt-55296<<10|Je-56320)+65536}else bt&&(He-=3)>-1&&pt.push(239,191,189);if(bt=null,Je<128){if((He-=1)<0)break;pt.push(Je)}else if(Je<2048){if((He-=2)<0)break;pt.push(Je>>6|192,Je&63|128)}else if(Je<65536){if((He-=3)<0)break;pt.push(Je>>12|224,Je>>6&63|128,Je&63|128)}else if(Je<1114112){if((He-=4)<0)break;pt.push(Je>>18|240,Je>>12&63|128,Je>>6&63|128,Je&63|128)}else throw new Error("Invalid code point")}return pt}function $e(rt){const He=[];for(let Je=0;Je>8,bt=Je%256,pt.push(bt),pt.push(St);return pt}function tt(rt){return m.toByteArray(Qe(rt))}function ot(rt,He,Je,St){let bt;for(bt=0;bt=He.length||bt>=rt.length);++bt)He[bt+Je]=rt[bt];return bt}function st(rt,He){return rt instanceof He||rt!=null&&rt.constructor!=null&&rt.constructor.name!=null&&rt.constructor.name===He.name}function dt(rt){return rt!==rt}const ct=function(){const rt="0123456789abcdef",He=new Array(256);for(let Je=0;Je<16;++Je){const St=Je*16;for(let bt=0;bt<16;++bt)He[St+bt]=rt[Je]+rt[bt]}return He}();function mt(rt){return typeof BigInt>"u"?ut:rt}function ut(){throw new Error("BigInt not supported")}}(buffer)),buffer}var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(k,m){var M=requireBuffer(),G=M.Buffer;function V($,D){for(var B in $)D[B]=$[B]}G.from&&G.alloc&&G.allocUnsafe&&G.allocUnsafeSlow?k.exports=M:(V(M,m),m.Buffer=q);function q($,D,B){return G($,D,B)}V(G,q),q.from=function($,D,B){if(typeof $=="number")throw new TypeError("Argument must not be a number");return G($,D,B)},q.alloc=function($,D,B){if(typeof $!="number")throw new TypeError("Argument must be a number");var R=G($);return D!==void 0?typeof B=="string"?R.fill(D,B):R.fill(D):R.fill(0),R},q.allocUnsafe=function($){if(typeof $!="number")throw new TypeError("Argument must be a number");return G($)},q.allocUnsafeSlow=function($){if(typeof $!="number")throw new TypeError("Argument must be a number");return M.SlowBuffer($)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var k=requireSafeBuffer().Buffer,m=k.isEncoding||function(J){switch(J=""+J,J&&J.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function M(J){if(!J)return"utf8";for(var X;;)switch(J){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return J;default:if(X)return;J=(""+J).toLowerCase(),X=!0}}function G(J){var X=M(J);if(typeof X!="string"&&(k.isEncoding===m||!m(J)))throw new Error("Unknown encoding: "+J);return X||J}string_decoder.StringDecoder=V;function V(J){this.encoding=G(J);var X;switch(this.encoding){case"utf16le":this.text=K,this.end=z,X=4;break;case"utf8":this.fillLast=B,X=4;break;case"base64":this.text=e,this.end=ae,X=3;break;default:this.write=ie,this.end=he;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=k.allocUnsafe(X)}V.prototype.write=function(J){if(J.length===0)return"";var X,W;if(this.lastNeed){if(X=this.fillLast(J),X===void 0)return"";W=this.lastNeed,this.lastNeed=0}else W=0;return W>5===6?2:J>>4===14?3:J>>3===30?4:J>>6===2?-1:-2}function $(J,X,W){var L=X.length-1;if(L=0?(Q>0&&(J.lastNeed=Q-1),Q):--L=0?(Q>0&&(J.lastNeed=Q-2),Q):--L=0?(Q>0&&(Q===2?Q=0:J.lastNeed=Q-3),Q):0))}function D(J,X,W){if((X[0]&192)!==128)return J.lastNeed=0,"�";if(J.lastNeed>1&&X.length>1){if((X[1]&192)!==128)return J.lastNeed=1,"�";if(J.lastNeed>2&&X.length>2&&(X[2]&192)!==128)return J.lastNeed=2,"�"}}function B(J){var X=this.lastTotal-this.lastNeed,W=D(this,J);if(W!==void 0)return W;if(this.lastNeed<=J.length)return J.copy(this.lastChar,X,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);J.copy(this.lastChar,X,0,J.length),this.lastNeed-=J.length}function R(J,X){var W=$(this,J,X);if(!this.lastNeed)return J.toString("utf8",X);this.lastTotal=W;var L=J.length-(W-this.lastNeed);return J.copy(this.lastChar,0,L),J.toString("utf8",X,L)}function U(J){var X=J&&J.length?this.write(J):"";return this.lastNeed?X+"�":X}function K(J,X){if((J.length-X)%2===0){var W=J.toString("utf16le",X);if(W){var L=W.charCodeAt(W.length-1);if(L>=55296&&L<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=J[J.length-2],this.lastChar[1]=J[J.length-1],W.slice(0,-1)}return W}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=J[J.length-1],J.toString("utf16le",X,J.length-1)}function z(J){var X=J&&J.length?this.write(J):"";if(this.lastNeed){var W=this.lastTotal-this.lastNeed;return X+this.lastChar.toString("utf16le",0,W)}return X}function e(J,X){var W=(J.length-X)%3;return W===0?J.toString("base64",X):(this.lastNeed=3-W,this.lastTotal=3,W===1?this.lastChar[0]=J[J.length-1]:(this.lastChar[0]=J[J.length-2],this.lastChar[1]=J[J.length-1]),J.toString("base64",X,J.length-W))}function ae(J){var X=J&&J.length?this.write(J):"";return this.lastNeed?X+this.lastChar.toString("base64",0,3-this.lastNeed):X}function ie(J){return J.toString(this.encoding)}function he(J){return J&&J.length?this.write(J):""}return string_decoder}var hasRequiredSax;function requireSax(){return hasRequiredSax||(hasRequiredSax=1,function(k){(function(m){m.parser=function(Ue,we){return new G(Ue,we)},m.SAXParser=G,m.SAXStream=U,m.createStream=R,m.MAX_BUFFER_LENGTH=64*1024;var M=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];m.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function G(Ue,we){if(!(this instanceof G))return new G(Ue,we);var Ie=this;q(Ie),Ie.q=Ie.c="",Ie.bufferCheckPosition=m.MAX_BUFFER_LENGTH,Ie.opt=we||{},Ie.opt.lowercase=Ie.opt.lowercase||Ie.opt.lowercasetags,Ie.looseCase=Ie.opt.lowercase?"toLowerCase":"toUpperCase",Ie.tags=[],Ie.closed=Ie.closedRoot=Ie.sawRoot=!1,Ie.tag=Ie.error=null,Ie.strict=!!Ue,Ie.noscript=!!(Ue||Ie.opt.noscript),Ie.state=se.BEGIN,Ie.strictEntities=Ie.opt.strictEntities,Ie.ENTITIES=Ie.strictEntities?Object.create(m.XML_ENTITIES):Object.create(m.ENTITIES),Ie.attribList=[],Ie.opt.xmlns&&(Ie.ns=Object.create(ie)),Ie.opt.unquotedAttributeValues===void 0&&(Ie.opt.unquotedAttributeValues=!Ue),Ie.trackPosition=Ie.opt.position!==!1,Ie.trackPosition&&(Ie.position=Ie.line=Ie.column=0),Ee(Ie,"onready")}Object.create||(Object.create=function(Ue){function we(){}we.prototype=Ue;var Ie=new we;return Ie}),Object.keys||(Object.keys=function(Ue){var we=[];for(var Ie in Ue)Ue.hasOwnProperty(Ie)&&we.push(Ie);return we});function V(Ue){for(var we=Math.max(m.MAX_BUFFER_LENGTH,10),Ie=0,Be=0,Ke=M.length;Bewe)switch(M[Be]){case"textNode":xe(Ue);break;case"cdata":ke(Ue,"oncdata",Ue.cdata),Ue.cdata="";break;case"script":ke(Ue,"onscript",Ue.script),Ue.script="";break;default:ve(Ue,"Max buffer length exceeded: "+M[Be])}Ie=Math.max(Ie,Ve)}var je=m.MAX_BUFFER_LENGTH-Ie;Ue.bufferCheckPosition=je+Ue.position}function q(Ue){for(var we=0,Ie=M.length;we"||L(Ue)}function de(Ue,we){return Ue.test(we)}function oe(Ue,we){return!de(Ue,we)}var se=0;m.STATE={BEGIN:se++,BEGIN_WHITESPACE:se++,TEXT:se++,TEXT_ENTITY:se++,OPEN_WAKA:se++,SGML_DECL:se++,SGML_DECL_QUOTED:se++,DOCTYPE:se++,DOCTYPE_QUOTED:se++,DOCTYPE_DTD:se++,DOCTYPE_DTD_QUOTED:se++,COMMENT_STARTING:se++,COMMENT:se++,COMMENT_ENDING:se++,COMMENT_ENDED:se++,CDATA:se++,CDATA_ENDING:se++,CDATA_ENDING_2:se++,PROC_INST:se++,PROC_INST_BODY:se++,PROC_INST_ENDING:se++,OPEN_TAG:se++,OPEN_TAG_SLASH:se++,ATTRIB:se++,ATTRIB_NAME:se++,ATTRIB_NAME_SAW_WHITE:se++,ATTRIB_VALUE:se++,ATTRIB_VALUE_QUOTED:se++,ATTRIB_VALUE_CLOSED:se++,ATTRIB_VALUE_UNQUOTED:se++,ATTRIB_VALUE_ENTITY_Q:se++,ATTRIB_VALUE_ENTITY_U:se++,CLOSE_TAG:se++,CLOSE_TAG_SAW_WHITE:se++,SCRIPT:se++,SCRIPT_ENDING:se++},m.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},m.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(m.ENTITIES).forEach(function(Ue){var we=m.ENTITIES[Ue],Ie=typeof we=="number"?String.fromCharCode(we):we;m.ENTITIES[Ue]=Ie});for(var me in m.STATE)m.STATE[m.STATE[me]]=me;se=m.STATE;function Ee(Ue,we,Ie){Ue[we]&&Ue[we](Ie)}function ke(Ue,we,Ie){Ue.textNode&&xe(Ue),Ee(Ue,we,Ie)}function xe(Ue){Ue.textNode=fe(Ue.opt,Ue.textNode),Ue.textNode&&Ee(Ue,"ontext",Ue.textNode),Ue.textNode=""}function fe(Ue,we){return Ue.trim&&(we=we.trim()),Ue.normalize&&(we=we.replace(/\s+/g," ")),we}function ve(Ue,we){return xe(Ue),Ue.trackPosition&&(we+=` -Line: `+Ue.line+` -Column: `+Ue.column+` -Char: `+Ue.c),we=new Error(we),Ue.error=we,Ee(Ue,"onerror",we),Ue}function ye(Ue){return Ue.sawRoot&&!Ue.closedRoot&&Ce(Ue,"Unclosed root tag"),Ue.state!==se.BEGIN&&Ue.state!==se.BEGIN_WHITESPACE&&Ue.state!==se.TEXT&&ve(Ue,"Unexpected end"),xe(Ue),Ue.c="",Ue.closed=!0,Ee(Ue,"onend"),G.call(Ue,Ue.strict,Ue.opt),Ue}function Ce(Ue,we){if(typeof Ue!="object"||!(Ue instanceof G))throw new Error("bad call to strictFail");Ue.strict&&ve(Ue,we)}function pe(Ue){Ue.strict||(Ue.tagName=Ue.tagName[Ue.looseCase]());var we=Ue.tags[Ue.tags.length-1]||Ue,Ie=Ue.tag={name:Ue.tagName,attributes:{}};Ue.opt.xmlns&&(Ie.ns=we.ns),Ue.attribList.length=0,ke(Ue,"onopentagstart",Ie)}function _e(Ue,we){var Ie=Ue.indexOf(":"),Be=Ie<0?["",Ue]:Ue.split(":"),Ke=Be[0],Ve=Be[1];return we&&Ue==="xmlns"&&(Ke="xmlns",Ve=""),{prefix:Ke,local:Ve}}function Ge(Ue){if(Ue.strict||(Ue.attribName=Ue.attribName[Ue.looseCase]()),Ue.attribList.indexOf(Ue.attribName)!==-1||Ue.tag.attributes.hasOwnProperty(Ue.attribName)){Ue.attribName=Ue.attribValue="";return}if(Ue.opt.xmlns){var we=_e(Ue.attribName,!0),Ie=we.prefix,Be=we.local;if(Ie==="xmlns")if(Be==="xml"&&Ue.attribValue!==e)Ce(Ue,"xml: prefix must be bound to "+e+` -Actual: `+Ue.attribValue);else if(Be==="xmlns"&&Ue.attribValue!==ae)Ce(Ue,"xmlns: prefix must be bound to "+ae+` -Actual: `+Ue.attribValue);else{var Ke=Ue.tag,Ve=Ue.tags[Ue.tags.length-1]||Ue;Ke.ns===Ve.ns&&(Ke.ns=Object.create(Ve.ns)),Ke.ns[Be]=Ue.attribValue}Ue.attribList.push([Ue.attribName,Ue.attribValue])}else Ue.tag.attributes[Ue.attribName]=Ue.attribValue,ke(Ue,"onattribute",{name:Ue.attribName,value:Ue.attribValue});Ue.attribName=Ue.attribValue=""}function Te(Ue,we){if(Ue.opt.xmlns){var Ie=Ue.tag,Be=_e(Ue.tagName);Ie.prefix=Be.prefix,Ie.local=Be.local,Ie.uri=Ie.ns[Be.prefix]||"",Ie.prefix&&!Ie.uri&&(Ce(Ue,"Unbound namespace prefix: "+JSON.stringify(Ue.tagName)),Ie.uri=Be.prefix);var Ke=Ue.tags[Ue.tags.length-1]||Ue;Ie.ns&&Ke.ns!==Ie.ns&&Object.keys(Ie.ns).forEach(function(st){ke(Ue,"onopennamespace",{prefix:st,uri:Ie.ns[st]})});for(var Ve=0,je=Ue.attribList.length;Ve",Ue.tagName="",Ue.state=se.SCRIPT;return}ke(Ue,"onscript",Ue.script),Ue.script=""}var we=Ue.tags.length,Ie=Ue.tagName;Ue.strict||(Ie=Ie[Ue.looseCase]());for(var Be=Ie;we--;){var Ke=Ue.tags[we];if(Ke.name!==Be)Ce(Ue,"Unexpected close tag");else break}if(we<0){Ce(Ue,"Unmatched closing tag: "+Ue.tagName),Ue.textNode+="",Ue.state=se.TEXT;return}Ue.tagName=Ie;for(var Ve=Ue.tags.length;Ve-- >we;){var je=Ue.tag=Ue.tags.pop();Ue.tagName=Ue.tag.name,ke(Ue,"onclosetag",Ue.tagName);var Le={};for(var et in je.ns)Le[et]=je.ns[et];var Qe=Ue.tags[Ue.tags.length-1]||Ue;Ue.opt.xmlns&&je.ns!==Qe.ns&&Object.keys(je.ns).forEach(function(Fe){var $e=je.ns[Fe];ke(Ue,"onclosenamespace",{prefix:Fe,uri:$e})})}we===0&&(Ue.closedRoot=!0),Ue.tagName=Ue.attribValue=Ue.attribName="",Ue.attribList.length=0,Ue.state=se.TEXT}function Ze(Ue){var we=Ue.entity,Ie=we.toLowerCase(),Be,Ke="";return Ue.ENTITIES[we]?Ue.ENTITIES[we]:Ue.ENTITIES[Ie]?Ue.ENTITIES[Ie]:(we=Ie,we.charAt(0)==="#"&&(we.charAt(1)==="x"?(we=we.slice(2),Be=parseInt(we,16),Ke=Be.toString(16)):(we=we.slice(1),Be=parseInt(we,10),Ke=Be.toString(10))),we=we.replace(/^0+/,""),isNaN(Be)||Ke.toLowerCase()!==we?(Ce(Ue,"Invalid character entity"),"&"+Ue.entity+";"):String.fromCodePoint(Be))}function ze(Ue,we){we==="<"?(Ue.state=se.OPEN_WAKA,Ue.startTagPosition=Ue.position):L(we)||(Ce(Ue,"Non-whitespace before first tag."),Ue.textNode=we,Ue.state=se.TEXT)}function Ae(Ue,we){var Ie="";return we"?(ke(we,"onsgmldeclaration",we.sgmlDecl),we.sgmlDecl="",we.state=se.TEXT):(Q(Be)&&(we.state=se.SGML_DECL_QUOTED),we.sgmlDecl+=Be);continue;case se.SGML_DECL_QUOTED:Be===we.q&&(we.state=se.SGML_DECL,we.q=""),we.sgmlDecl+=Be;continue;case se.DOCTYPE:Be===">"?(we.state=se.TEXT,ke(we,"ondoctype",we.doctype),we.doctype=!0):(we.doctype+=Be,Be==="["?we.state=se.DOCTYPE_DTD:Q(Be)&&(we.state=se.DOCTYPE_QUOTED,we.q=Be));continue;case se.DOCTYPE_QUOTED:we.doctype+=Be,Be===we.q&&(we.q="",we.state=se.DOCTYPE);continue;case se.DOCTYPE_DTD:Be==="]"?(we.doctype+=Be,we.state=se.DOCTYPE):Be==="<"?(we.state=se.OPEN_WAKA,we.startTagPosition=we.position):Q(Be)?(we.doctype+=Be,we.state=se.DOCTYPE_DTD_QUOTED,we.q=Be):we.doctype+=Be;continue;case se.DOCTYPE_DTD_QUOTED:we.doctype+=Be,Be===we.q&&(we.state=se.DOCTYPE_DTD,we.q="");continue;case se.COMMENT:Be==="-"?we.state=se.COMMENT_ENDING:we.comment+=Be;continue;case se.COMMENT_ENDING:Be==="-"?(we.state=se.COMMENT_ENDED,we.comment=fe(we.opt,we.comment),we.comment&&ke(we,"oncomment",we.comment),we.comment=""):(we.comment+="-"+Be,we.state=se.COMMENT);continue;case se.COMMENT_ENDED:Be!==">"?(Ce(we,"Malformed comment"),we.comment+="--"+Be,we.state=se.COMMENT):we.doctype&&we.doctype!==!0?we.state=se.DOCTYPE_DTD:we.state=se.TEXT;continue;case se.CDATA:Be==="]"?we.state=se.CDATA_ENDING:we.cdata+=Be;continue;case se.CDATA_ENDING:Be==="]"?we.state=se.CDATA_ENDING_2:(we.cdata+="]"+Be,we.state=se.CDATA);continue;case se.CDATA_ENDING_2:Be===">"?(we.cdata&&ke(we,"oncdata",we.cdata),ke(we,"onclosecdata"),we.cdata="",we.state=se.TEXT):Be==="]"?we.cdata+="]":(we.cdata+="]]"+Be,we.state=se.CDATA);continue;case se.PROC_INST:Be==="?"?we.state=se.PROC_INST_ENDING:L(Be)?we.state=se.PROC_INST_BODY:we.procInstName+=Be;continue;case se.PROC_INST_BODY:if(!we.procInstBody&&L(Be))continue;Be==="?"?we.state=se.PROC_INST_ENDING:we.procInstBody+=Be;continue;case se.PROC_INST_ENDING:Be===">"?(ke(we,"onprocessinginstruction",{name:we.procInstName,body:we.procInstBody}),we.procInstName=we.procInstBody="",we.state=se.TEXT):(we.procInstBody+="?"+Be,we.state=se.PROC_INST_BODY);continue;case se.OPEN_TAG:de(J,Be)?we.tagName+=Be:(pe(we),Be===">"?Te(we):Be==="/"?we.state=se.OPEN_TAG_SLASH:(L(Be)||Ce(we,"Invalid character in tag name"),we.state=se.ATTRIB));continue;case se.OPEN_TAG_SLASH:Be===">"?(Te(we,!0),Ne(we)):(Ce(we,"Forward-slash in opening tag not followed by >"),we.state=se.ATTRIB);continue;case se.ATTRIB:if(L(Be))continue;Be===">"?Te(we):Be==="/"?we.state=se.OPEN_TAG_SLASH:de(he,Be)?(we.attribName=Be,we.attribValue="",we.state=se.ATTRIB_NAME):Ce(we,"Invalid attribute name");continue;case se.ATTRIB_NAME:Be==="="?we.state=se.ATTRIB_VALUE:Be===">"?(Ce(we,"Attribute without value"),we.attribValue=we.attribName,Ge(we),Te(we)):L(Be)?we.state=se.ATTRIB_NAME_SAW_WHITE:de(J,Be)?we.attribName+=Be:Ce(we,"Invalid attribute name");continue;case se.ATTRIB_NAME_SAW_WHITE:if(Be==="=")we.state=se.ATTRIB_VALUE;else{if(L(Be))continue;Ce(we,"Attribute without value"),we.tag.attributes[we.attribName]="",we.attribValue="",ke(we,"onattribute",{name:we.attribName,value:""}),we.attribName="",Be===">"?Te(we):de(he,Be)?(we.attribName=Be,we.state=se.ATTRIB_NAME):(Ce(we,"Invalid attribute name"),we.state=se.ATTRIB)}continue;case se.ATTRIB_VALUE:if(L(Be))continue;Q(Be)?(we.q=Be,we.state=se.ATTRIB_VALUE_QUOTED):(we.opt.unquotedAttributeValues||ve(we,"Unquoted attribute value"),we.state=se.ATTRIB_VALUE_UNQUOTED,we.attribValue=Be);continue;case se.ATTRIB_VALUE_QUOTED:if(Be!==we.q){Be==="&"?we.state=se.ATTRIB_VALUE_ENTITY_Q:we.attribValue+=Be;continue}Ge(we),we.q="",we.state=se.ATTRIB_VALUE_CLOSED;continue;case se.ATTRIB_VALUE_CLOSED:L(Be)?we.state=se.ATTRIB:Be===">"?Te(we):Be==="/"?we.state=se.OPEN_TAG_SLASH:de(he,Be)?(Ce(we,"No whitespace between attributes"),we.attribName=Be,we.attribValue="",we.state=se.ATTRIB_NAME):Ce(we,"Invalid attribute name");continue;case se.ATTRIB_VALUE_UNQUOTED:if(!ce(Be)){Be==="&"?we.state=se.ATTRIB_VALUE_ENTITY_U:we.attribValue+=Be;continue}Ge(we),Be===">"?Te(we):we.state=se.ATTRIB;continue;case se.CLOSE_TAG:if(we.tagName)Be===">"?Ne(we):de(J,Be)?we.tagName+=Be:we.script?(we.script+=""?Ne(we):Ce(we,"Invalid characters in closing tag");continue;case se.TEXT_ENTITY:case se.ATTRIB_VALUE_ENTITY_Q:case se.ATTRIB_VALUE_ENTITY_U:var je,Le;switch(we.state){case se.TEXT_ENTITY:je=se.TEXT,Le="textNode";break;case se.ATTRIB_VALUE_ENTITY_Q:je=se.ATTRIB_VALUE_QUOTED,Le="attribValue";break;case se.ATTRIB_VALUE_ENTITY_U:je=se.ATTRIB_VALUE_UNQUOTED,Le="attribValue";break}if(Be===";"){var et=Ze(we);we.opt.unparsedEntities&&!Object.values(m.XML_ENTITIES).includes(et)?(we.entity="",we.state=je,we.write(et)):(we[Le]+=et,we.entity="",we.state=je)}else de(we.entity.length?W:X,Be)?we.entity+=Be:(Ce(we,"Invalid character in entity name"),we[Le]+="&"+we.entity+Be,we.entity="",we.state=je);continue;default:throw new Error(we,"Unknown state: "+we.state)}return we.position>=we.bufferCheckPosition&&V(we),we}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Ue=String.fromCharCode,we=Math.floor,Ie=function(){var Be=16384,Ke=[],Ve,je,Le=-1,et=arguments.length;if(!et)return"";for(var Qe="";++Le1114111||we(Fe)!==Fe)throw RangeError("Invalid code point: "+Fe);Fe<=65535?Ke.push(Fe):(Fe-=65536,Ve=(Fe>>10)+55296,je=Fe%1024+56320,Ke.push(Ve,je)),(Le+1===et||Ke.length>Be)&&(Qe+=Ue.apply(null,Ke),Ke.length=0)}return Qe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ie,configurable:!0,writable:!0}):String.fromCodePoint=Ie}()})(k)}(sax)),sax}var events={exports:{}},hasRequiredEvents;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var k=typeof Reflect=="object"?Reflect:null,m=k&&typeof k.apply=="function"?k.apply:function(Q,ce,de){return Function.prototype.apply.call(Q,ce,de)},M;k&&typeof k.ownKeys=="function"?M=k.ownKeys:Object.getOwnPropertySymbols?M=function(Q){return Object.getOwnPropertyNames(Q).concat(Object.getOwnPropertySymbols(Q))}:M=function(Q){return Object.getOwnPropertyNames(Q)};function G(L){console&&console.warn&&console.warn(L)}var V=Number.isNaN||function(Q){return Q!==Q};function q(){q.init.call(this)}events.exports=q,events.exports.once=J,q.EventEmitter=q,q.prototype._events=void 0,q.prototype._eventsCount=0,q.prototype._maxListeners=void 0;var $=10;function D(L){if(typeof L!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof L)}Object.defineProperty(q,"defaultMaxListeners",{enumerable:!0,get:function(){return $},set:function(L){if(typeof L!="number"||L<0||V(L))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+L+".");$=L}}),q.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},q.prototype.setMaxListeners=function(Q){if(typeof Q!="number"||Q<0||V(Q))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Q+".");return this._maxListeners=Q,this};function B(L){return L._maxListeners===void 0?q.defaultMaxListeners:L._maxListeners}q.prototype.getMaxListeners=function(){return B(this)},q.prototype.emit=function(Q){for(var ce=[],de=1;de0&&(me=ce[0]),me instanceof Error)throw me;var Ee=new Error("Unhandled error."+(me?" ("+me.message+")":""));throw Ee.context=me,Ee}var ke=se[Q];if(ke===void 0)return!1;if(typeof ke=="function")m(ke,this,ce);else for(var xe=ke.length,fe=ae(ke,xe),de=0;de0&&me.length>oe&&!me.warned){me.warned=!0;var Ee=new Error("Possible EventEmitter memory leak detected. "+me.length+" "+String(Q)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ee.name="MaxListenersExceededWarning",Ee.emitter=L,Ee.type=Q,Ee.count=me.length,G(Ee)}return L}q.prototype.addListener=function(Q,ce){return R(this,Q,ce,!1)},q.prototype.on=q.prototype.addListener,q.prototype.prependListener=function(Q,ce){return R(this,Q,ce,!0)};function U(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function K(L,Q,ce){var de={fired:!1,wrapFn:void 0,target:L,type:Q,listener:ce},oe=U.bind(de);return oe.listener=ce,de.wrapFn=oe,oe}q.prototype.once=function(Q,ce){return D(ce),this.on(Q,K(this,Q,ce)),this},q.prototype.prependOnceListener=function(Q,ce){return D(ce),this.prependListener(Q,K(this,Q,ce)),this},q.prototype.removeListener=function(Q,ce){var de,oe,se,me,Ee;if(D(ce),oe=this._events,oe===void 0)return this;if(de=oe[Q],de===void 0)return this;if(de===ce||de.listener===ce)--this._eventsCount===0?this._events=Object.create(null):(delete oe[Q],oe.removeListener&&this.emit("removeListener",Q,de.listener||ce));else if(typeof de!="function"){for(se=-1,me=de.length-1;me>=0;me--)if(de[me]===ce||de[me].listener===ce){Ee=de[me].listener,se=me;break}if(se<0)return this;se===0?de.shift():ie(de,se),de.length===1&&(oe[Q]=de[0]),oe.removeListener!==void 0&&this.emit("removeListener",Q,Ee||ce)}return this},q.prototype.off=q.prototype.removeListener,q.prototype.removeAllListeners=function(Q){var ce,de,oe;if(de=this._events,de===void 0)return this;if(de.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):de[Q]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete de[Q]),this;if(arguments.length===0){var se=Object.keys(de),me;for(oe=0;oe=0;oe--)this.removeListener(Q,ce[oe]);return this};function z(L,Q,ce){var de=L._events;if(de===void 0)return[];var oe=de[Q];return oe===void 0?[]:typeof oe=="function"?ce?[oe.listener||oe]:[oe]:ce?he(oe):ae(oe,oe.length)}q.prototype.listeners=function(Q){return z(this,Q,!0)},q.prototype.rawListeners=function(Q){return z(this,Q,!1)},q.listenerCount=function(L,Q){return typeof L.listenerCount=="function"?L.listenerCount(Q):e.call(L,Q)},q.prototype.listenerCount=e;function e(L){var Q=this._events;if(Q!==void 0){var ce=Q[L];if(typeof ce=="function")return 1;if(ce!==void 0)return ce.length}return 0}q.prototype.eventNames=function(){return this._eventsCount>0?M(this._events):[]};function ae(L,Q){for(var ce=new Array(Q),de=0;de0&&(de[W.options.childkey]=se),se=de;else if(ke){ke[W.options.childkey]=ke[W.options.childkey]||[],me={};for(ce in se)z.call(se,ce)&&G(me,ce,se[ce]);ke[W.options.childkey].push(me),delete se["#name"],Object.keys(se).length===1&&he in se&&!W.EXPLICIT_CHARKEY&&(se=se[he])}}return X.length>0?W.assignOrPush(ke,oe,se):(W.options.explicitRoot&&(Ee=se,se={},G(se,oe,Ee)),W.resultObject=se,W.saxParser.ended=!0,W.emit("end",W.resultObject))}}(this),J=function(W){return function(L){var Q,ce;if(ce=X[X.length-1],ce)return ce[he]+=L,W.options.explicitChildren&&W.options.preserveChildrenOrder&&W.options.charsAsChildren&&(W.options.includeWhiteChars||L.replace(/\\n/g,"").trim()!=="")&&(ce[W.options.childkey]=ce[W.options.childkey]||[],Q={"#name":"__text__"},Q[he]=L,W.options.normalize&&(Q[he]=Q[he].replace(/\s{2,}/g," ").trim()),ce[W.options.childkey].push(Q)),ce}}(this),this.saxParser.ontext=J,this.saxParser.oncdata=function(W){return function(L){var Q;if(Q=J(L),Q)return Q.cdata=!0}}()},ae.prototype.parseString=function(ie,he){var J;he!=null&&typeof he=="function"&&(this.on("end",function(X){return this.reset(),he(null,X)}),this.on("error",function(X){return this.reset(),he(X)}));try{return ie=ie.toString(),ie.trim()===""?(this.emit("end",null),!0):(ie=m.stripBOM(ie),this.options.async?(this.remaining=ie,R(this.processAsync),this.saxParser):this.saxParser.write(ie).close())}catch(X){if(J=X,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw J}else return this.emit("error",J),this.saxParser.errThrown=!0}},ae.prototype.parseStringPromise=function(ie){return new Promise(function(he){return function(J,X){return he.parseString(ie,function(W,L){return W?X(W):J(L)})}}(this))},ae}(V),k.parseString=function(e,ae,ie){var he,J,X;return ie!=null?(typeof ie=="function"&&(he=ie),typeof ae=="object"&&(J=ae)):(typeof ae=="function"&&(he=ae),J={}),X=new k.Parser(J),X.parseString(e,he)},k.parseStringPromise=function(e,ae){var ie,he;return typeof ae=="object"&&(ie=ae),he=new k.Parser(ie),he.parseStringPromise(e)}}).call(commonjsGlobal$1)}(parser)),parser}var parseStringPromise;(function(){var k,m,M,G=function(q,$){for(var D in $)V.call($,D)&&(q[D]=$[D]);function B(){this.constructor=q}return B.prototype=$.prototype,q.prototype=new B,q.__super__=$.prototype,q},V={}.hasOwnProperty;m=requireDefaults(),k=requireBuilder(),M=requireParser(),requireProcessors(),m.defaults,function(q){G($,q);function $(D){this.message=D}return $}(Error),k.Builder,M.Parser,M.parseString,parseStringPromise=M.parseStringPromise}).call(commonjsGlobal$1);var pdf={exports:{}},dommatrix={exports:{}};/*! + */var hasRequiredBuffer;function requireBuffer(){return hasRequiredBuffer||(hasRequiredBuffer=1,function(k){const m=requireBase64Js(),M=requireIeee754(),G=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;k.Buffer=D,k.SlowBuffer=W,k.INSPECT_MAX_BYTES=50;const V=2147483647;k.kMaxLength=V,D.TYPED_ARRAY_SUPPORT=q(),!D.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function q(){try{const rt=new Uint8Array(1),He={foo:function(){return 42}};return Object.setPrototypeOf(He,Uint8Array.prototype),Object.setPrototypeOf(rt,He),rt.foo()===42}catch{return!1}}Object.defineProperty(D.prototype,"parent",{enumerable:!0,get:function(){if(D.isBuffer(this))return this.buffer}}),Object.defineProperty(D.prototype,"offset",{enumerable:!0,get:function(){if(D.isBuffer(this))return this.byteOffset}});function $(rt){if(rt>V)throw new RangeError('The value "'+rt+'" is invalid for option "size"');const He=new Uint8Array(rt);return Object.setPrototypeOf(He,D.prototype),He}function D(rt,He,Je){if(typeof rt=="number"){if(typeof He=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return K(rt)}return B(rt,He,Je)}D.poolSize=8192;function B(rt,He,Je){if(typeof rt=="string")return z(rt,He);if(ArrayBuffer.isView(rt))return ae(rt);if(rt==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof rt);if(st(rt,ArrayBuffer)||rt&&st(rt.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(st(rt,SharedArrayBuffer)||rt&&st(rt.buffer,SharedArrayBuffer)))return ie(rt,He,Je);if(typeof rt=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const St=rt.valueOf&&rt.valueOf();if(St!=null&&St!==rt)return D.from(St,He,Je);const bt=he(rt);if(bt)return bt;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof rt[Symbol.toPrimitive]=="function")return D.from(rt[Symbol.toPrimitive]("string"),He,Je);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof rt)}D.from=function(rt,He,Je){return B(rt,He,Je)},Object.setPrototypeOf(D.prototype,Uint8Array.prototype),Object.setPrototypeOf(D,Uint8Array);function R(rt){if(typeof rt!="number")throw new TypeError('"size" argument must be of type number');if(rt<0)throw new RangeError('The value "'+rt+'" is invalid for option "size"')}function U(rt,He,Je){return R(rt),rt<=0?$(rt):He!==void 0?typeof Je=="string"?$(rt).fill(He,Je):$(rt).fill(He):$(rt)}D.alloc=function(rt,He,Je){return U(rt,He,Je)};function K(rt){return R(rt),$(rt<0?0:J(rt)|0)}D.allocUnsafe=function(rt){return K(rt)},D.allocUnsafeSlow=function(rt){return K(rt)};function z(rt,He){if((typeof He!="string"||He==="")&&(He="utf8"),!D.isEncoding(He))throw new TypeError("Unknown encoding: "+He);const Je=X(rt,He)|0;let St=$(Je);const bt=St.write(rt,He);return bt!==Je&&(St=St.slice(0,bt)),St}function e(rt){const He=rt.length<0?0:J(rt.length)|0,Je=$(He);for(let St=0;St=V)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+V.toString(16)+" bytes");return rt|0}function W(rt){return+rt!=rt&&(rt=0),D.alloc(+rt)}D.isBuffer=function(He){return He!=null&&He._isBuffer===!0&&He!==D.prototype},D.compare=function(He,Je){if(st(He,Uint8Array)&&(He=D.from(He,He.offset,He.byteLength)),st(Je,Uint8Array)&&(Je=D.from(Je,Je.offset,Je.byteLength)),!D.isBuffer(He)||!D.isBuffer(Je))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(He===Je)return 0;let St=He.length,bt=Je.length;for(let pt=0,wt=Math.min(St,bt);ptbt.length?(D.isBuffer(wt)||(wt=D.from(wt)),wt.copy(bt,pt)):Uint8Array.prototype.set.call(bt,wt,pt);else if(D.isBuffer(wt))wt.copy(bt,pt);else throw new TypeError('"list" argument must be an Array of Buffers');pt+=wt.length}return bt};function X(rt,He){if(D.isBuffer(rt))return rt.length;if(ArrayBuffer.isView(rt)||st(rt,ArrayBuffer))return rt.byteLength;if(typeof rt!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof rt);const Je=rt.length,St=arguments.length>2&&arguments[2]===!0;if(!St&&Je===0)return 0;let bt=!1;for(;;)switch(He){case"ascii":case"latin1":case"binary":return Je;case"utf8":case"utf-8":return Ue(rt).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Je*2;case"hex":return Je>>>1;case"base64":return tt(rt).length;default:if(bt)return St?-1:Ue(rt).length;He=(""+He).toLowerCase(),bt=!0}}D.byteLength=X;function L(rt,He,Je){let St=!1;if((He===void 0||He<0)&&(He=0),He>this.length||((Je===void 0||Je>this.length)&&(Je=this.length),Je<=0)||(Je>>>=0,He>>>=0,Je<=He))return"";for(rt||(rt="utf8");;)switch(rt){case"hex":return _e(this,He,Je);case"utf8":case"utf-8":return fe(this,He,Je);case"ascii":return Ce(this,He,Je);case"latin1":case"binary":return pe(this,He,Je);case"base64":return xe(this,He,Je);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ge(this,He,Je);default:if(St)throw new TypeError("Unknown encoding: "+rt);rt=(rt+"").toLowerCase(),St=!0}}D.prototype._isBuffer=!0;function Q(rt,He,Je){const St=rt[He];rt[He]=rt[Je],rt[Je]=St}D.prototype.swap16=function(){const He=this.length;if(He%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let Je=0;JeJe&&(He+=" ... "),""},G&&(D.prototype[G]=D.prototype.inspect),D.prototype.compare=function(He,Je,St,bt,pt){if(st(He,Uint8Array)&&(He=D.from(He,He.offset,He.byteLength)),!D.isBuffer(He))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof He);if(Je===void 0&&(Je=0),St===void 0&&(St=He?He.length:0),bt===void 0&&(bt=0),pt===void 0&&(pt=this.length),Je<0||St>He.length||bt<0||pt>this.length)throw new RangeError("out of range index");if(bt>=pt&&Je>=St)return 0;if(bt>=pt)return-1;if(Je>=St)return 1;if(Je>>>=0,St>>>=0,bt>>>=0,pt>>>=0,this===He)return 0;let wt=pt-bt,Pt=St-Je;const Nt=Math.min(wt,Pt),Vt=this.slice(bt,pt),Wt=He.slice(Je,St);for(let Mt=0;Mt2147483647?Je=2147483647:Je<-2147483648&&(Je=-2147483648),Je=+Je,dt(Je)&&(Je=bt?0:rt.length-1),Je<0&&(Je=rt.length+Je),Je>=rt.length){if(bt)return-1;Je=rt.length-1}else if(Je<0)if(bt)Je=0;else return-1;if(typeof He=="string"&&(He=D.from(He,St)),D.isBuffer(He))return He.length===0?-1:de(rt,He,Je,St,bt);if(typeof He=="number")return He=He&255,typeof Uint8Array.prototype.indexOf=="function"?bt?Uint8Array.prototype.indexOf.call(rt,He,Je):Uint8Array.prototype.lastIndexOf.call(rt,He,Je):de(rt,[He],Je,St,bt);throw new TypeError("val must be string, number or Buffer")}function de(rt,He,Je,St,bt){let pt=1,wt=rt.length,Pt=He.length;if(St!==void 0&&(St=String(St).toLowerCase(),St==="ucs2"||St==="ucs-2"||St==="utf16le"||St==="utf-16le")){if(rt.length<2||He.length<2)return-1;pt=2,wt/=2,Pt/=2,Je/=2}function Nt(Wt,Mt){return pt===1?Wt[Mt]:Wt.readUInt16BE(Mt*pt)}let Vt;if(bt){let Wt=-1;for(Vt=Je;Vtwt&&(Je=wt-Pt),Vt=Je;Vt>=0;Vt--){let Wt=!0;for(let Mt=0;Mtbt&&(St=bt)):St=bt;const pt=He.length;St>pt/2&&(St=pt/2);let wt;for(wt=0;wt>>0,isFinite(St)?(St=St>>>0,bt===void 0&&(bt="utf8")):(bt=St,St=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const pt=this.length-Je;if((St===void 0||St>pt)&&(St=pt),He.length>0&&(St<0||Je<0)||Je>this.length)throw new RangeError("Attempt to write outside buffer bounds");bt||(bt="utf8");let wt=!1;for(;;)switch(bt){case"hex":return se(this,He,Je,St);case"utf8":case"utf-8":return oe(this,He,Je,St);case"ascii":case"latin1":case"binary":return me(this,He,Je,St);case"base64":return Ee(this,He,Je,St);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ke(this,He,Je,St);default:if(wt)throw new TypeError("Unknown encoding: "+bt);bt=(""+bt).toLowerCase(),wt=!0}},D.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function xe(rt,He,Je){return He===0&&Je===rt.length?m.fromByteArray(rt):m.fromByteArray(rt.slice(He,Je))}function fe(rt,He,Je){Je=Math.min(rt.length,Je);const St=[];let bt=He;for(;bt239?4:pt>223?3:pt>191?2:1;if(bt+Pt<=Je){let Nt,Vt,Wt,Mt;switch(Pt){case 1:pt<128&&(wt=pt);break;case 2:Nt=rt[bt+1],(Nt&192)===128&&(Mt=(pt&31)<<6|Nt&63,Mt>127&&(wt=Mt));break;case 3:Nt=rt[bt+1],Vt=rt[bt+2],(Nt&192)===128&&(Vt&192)===128&&(Mt=(pt&15)<<12|(Nt&63)<<6|Vt&63,Mt>2047&&(Mt<55296||Mt>57343)&&(wt=Mt));break;case 4:Nt=rt[bt+1],Vt=rt[bt+2],Wt=rt[bt+3],(Nt&192)===128&&(Vt&192)===128&&(Wt&192)===128&&(Mt=(pt&15)<<18|(Nt&63)<<12|(Vt&63)<<6|Wt&63,Mt>65535&&Mt<1114112&&(wt=Mt))}}wt===null?(wt=65533,Pt=1):wt>65535&&(wt-=65536,St.push(wt>>>10&1023|55296),wt=56320|wt&1023),St.push(wt),bt+=Pt}return ye(St)}const ve=4096;function ye(rt){const He=rt.length;if(He<=ve)return String.fromCharCode.apply(String,rt);let Je="",St=0;for(;StSt)&&(Je=St);let bt="";for(let pt=He;ptSt&&(He=St),Je<0?(Je+=St,Je<0&&(Je=0)):Je>St&&(Je=St),JeJe)throw new RangeError("Trying to access beyond buffer length")}D.prototype.readUintLE=D.prototype.readUIntLE=function(He,Je,St){He=He>>>0,Je=Je>>>0,St||Ae(He,Je,this.length);let bt=this[He],pt=1,wt=0;for(;++wt>>0,Je=Je>>>0,St||Ae(He,Je,this.length);let bt=this[He+--Je],pt=1;for(;Je>0&&(pt*=256);)bt+=this[He+--Je]*pt;return bt},D.prototype.readUint8=D.prototype.readUInt8=function(He,Je){return He=He>>>0,Je||Ae(He,1,this.length),this[He]},D.prototype.readUint16LE=D.prototype.readUInt16LE=function(He,Je){return He=He>>>0,Je||Ae(He,2,this.length),this[He]|this[He+1]<<8},D.prototype.readUint16BE=D.prototype.readUInt16BE=function(He,Je){return He=He>>>0,Je||Ae(He,2,this.length),this[He]<<8|this[He+1]},D.prototype.readUint32LE=D.prototype.readUInt32LE=function(He,Je){return He=He>>>0,Je||Ae(He,4,this.length),(this[He]|this[He+1]<<8|this[He+2]<<16)+this[He+3]*16777216},D.prototype.readUint32BE=D.prototype.readUInt32BE=function(He,Je){return He=He>>>0,Je||Ae(He,4,this.length),this[He]*16777216+(this[He+1]<<16|this[He+2]<<8|this[He+3])},D.prototype.readBigUInt64LE=mt(function(He){He=He>>>0,je(He,"offset");const Je=this[He],St=this[He+7];(Je===void 0||St===void 0)&&Le(He,this.length-8);const bt=Je+this[++He]*2**8+this[++He]*2**16+this[++He]*2**24,pt=this[++He]+this[++He]*2**8+this[++He]*2**16+St*2**24;return BigInt(bt)+(BigInt(pt)<>>0,je(He,"offset");const Je=this[He],St=this[He+7];(Je===void 0||St===void 0)&&Le(He,this.length-8);const bt=Je*2**24+this[++He]*2**16+this[++He]*2**8+this[++He],pt=this[++He]*2**24+this[++He]*2**16+this[++He]*2**8+St;return(BigInt(bt)<>>0,Je=Je>>>0,St||Ae(He,Je,this.length);let bt=this[He],pt=1,wt=0;for(;++wt=pt&&(bt-=Math.pow(2,8*Je)),bt},D.prototype.readIntBE=function(He,Je,St){He=He>>>0,Je=Je>>>0,St||Ae(He,Je,this.length);let bt=Je,pt=1,wt=this[He+--bt];for(;bt>0&&(pt*=256);)wt+=this[He+--bt]*pt;return pt*=128,wt>=pt&&(wt-=Math.pow(2,8*Je)),wt},D.prototype.readInt8=function(He,Je){return He=He>>>0,Je||Ae(He,1,this.length),this[He]&128?(255-this[He]+1)*-1:this[He]},D.prototype.readInt16LE=function(He,Je){He=He>>>0,Je||Ae(He,2,this.length);const St=this[He]|this[He+1]<<8;return St&32768?St|4294901760:St},D.prototype.readInt16BE=function(He,Je){He=He>>>0,Je||Ae(He,2,this.length);const St=this[He+1]|this[He]<<8;return St&32768?St|4294901760:St},D.prototype.readInt32LE=function(He,Je){return He=He>>>0,Je||Ae(He,4,this.length),this[He]|this[He+1]<<8|this[He+2]<<16|this[He+3]<<24},D.prototype.readInt32BE=function(He,Je){return He=He>>>0,Je||Ae(He,4,this.length),this[He]<<24|this[He+1]<<16|this[He+2]<<8|this[He+3]},D.prototype.readBigInt64LE=mt(function(He){He=He>>>0,je(He,"offset");const Je=this[He],St=this[He+7];(Je===void 0||St===void 0)&&Le(He,this.length-8);const bt=this[He+4]+this[He+5]*2**8+this[He+6]*2**16+(St<<24);return(BigInt(bt)<>>0,je(He,"offset");const Je=this[He],St=this[He+7];(Je===void 0||St===void 0)&&Le(He,this.length-8);const bt=(Je<<24)+this[++He]*2**16+this[++He]*2**8+this[++He];return(BigInt(bt)<>>0,Je||Ae(He,4,this.length),M.read(this,He,!0,23,4)},D.prototype.readFloatBE=function(He,Je){return He=He>>>0,Je||Ae(He,4,this.length),M.read(this,He,!1,23,4)},D.prototype.readDoubleLE=function(He,Je){return He=He>>>0,Je||Ae(He,8,this.length),M.read(this,He,!0,52,8)},D.prototype.readDoubleBE=function(He,Je){return He=He>>>0,Je||Ae(He,8,this.length),M.read(this,He,!1,52,8)};function Ne(rt,He,Je,St,bt,pt){if(!D.isBuffer(rt))throw new TypeError('"buffer" argument must be a Buffer instance');if(He>bt||Hert.length)throw new RangeError("Index out of range")}D.prototype.writeUintLE=D.prototype.writeUIntLE=function(He,Je,St,bt){if(He=+He,Je=Je>>>0,St=St>>>0,!bt){const Pt=Math.pow(2,8*St)-1;Ne(this,He,Je,St,Pt,0)}let pt=1,wt=0;for(this[Je]=He&255;++wt>>0,St=St>>>0,!bt){const Pt=Math.pow(2,8*St)-1;Ne(this,He,Je,St,Pt,0)}let pt=St-1,wt=1;for(this[Je+pt]=He&255;--pt>=0&&(wt*=256);)this[Je+pt]=He/wt&255;return Je+St},D.prototype.writeUint8=D.prototype.writeUInt8=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,1,255,0),this[Je]=He&255,Je+1},D.prototype.writeUint16LE=D.prototype.writeUInt16LE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,2,65535,0),this[Je]=He&255,this[Je+1]=He>>>8,Je+2},D.prototype.writeUint16BE=D.prototype.writeUInt16BE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,2,65535,0),this[Je]=He>>>8,this[Je+1]=He&255,Je+2},D.prototype.writeUint32LE=D.prototype.writeUInt32LE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,4,4294967295,0),this[Je+3]=He>>>24,this[Je+2]=He>>>16,this[Je+1]=He>>>8,this[Je]=He&255,Je+4},D.prototype.writeUint32BE=D.prototype.writeUInt32BE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,4,4294967295,0),this[Je]=He>>>24,this[Je+1]=He>>>16,this[Je+2]=He>>>8,this[Je+3]=He&255,Je+4};function Ze(rt,He,Je,St,bt){Ve(He,St,bt,rt,Je,7);let pt=Number(He&BigInt(4294967295));rt[Je++]=pt,pt=pt>>8,rt[Je++]=pt,pt=pt>>8,rt[Je++]=pt,pt=pt>>8,rt[Je++]=pt;let wt=Number(He>>BigInt(32)&BigInt(4294967295));return rt[Je++]=wt,wt=wt>>8,rt[Je++]=wt,wt=wt>>8,rt[Je++]=wt,wt=wt>>8,rt[Je++]=wt,Je}function ze(rt,He,Je,St,bt){Ve(He,St,bt,rt,Je,7);let pt=Number(He&BigInt(4294967295));rt[Je+7]=pt,pt=pt>>8,rt[Je+6]=pt,pt=pt>>8,rt[Je+5]=pt,pt=pt>>8,rt[Je+4]=pt;let wt=Number(He>>BigInt(32)&BigInt(4294967295));return rt[Je+3]=wt,wt=wt>>8,rt[Je+2]=wt,wt=wt>>8,rt[Je+1]=wt,wt=wt>>8,rt[Je]=wt,Je+8}D.prototype.writeBigUInt64LE=mt(function(He,Je=0){return Ze(this,He,Je,BigInt(0),BigInt("0xffffffffffffffff"))}),D.prototype.writeBigUInt64BE=mt(function(He,Je=0){return ze(this,He,Je,BigInt(0),BigInt("0xffffffffffffffff"))}),D.prototype.writeIntLE=function(He,Je,St,bt){if(He=+He,Je=Je>>>0,!bt){const Nt=Math.pow(2,8*St-1);Ne(this,He,Je,St,Nt-1,-Nt)}let pt=0,wt=1,Pt=0;for(this[Je]=He&255;++pt>0)-Pt&255;return Je+St},D.prototype.writeIntBE=function(He,Je,St,bt){if(He=+He,Je=Je>>>0,!bt){const Nt=Math.pow(2,8*St-1);Ne(this,He,Je,St,Nt-1,-Nt)}let pt=St-1,wt=1,Pt=0;for(this[Je+pt]=He&255;--pt>=0&&(wt*=256);)He<0&&Pt===0&&this[Je+pt+1]!==0&&(Pt=1),this[Je+pt]=(He/wt>>0)-Pt&255;return Je+St},D.prototype.writeInt8=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,1,127,-128),He<0&&(He=255+He+1),this[Je]=He&255,Je+1},D.prototype.writeInt16LE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,2,32767,-32768),this[Je]=He&255,this[Je+1]=He>>>8,Je+2},D.prototype.writeInt16BE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,2,32767,-32768),this[Je]=He>>>8,this[Je+1]=He&255,Je+2},D.prototype.writeInt32LE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,4,2147483647,-2147483648),this[Je]=He&255,this[Je+1]=He>>>8,this[Je+2]=He>>>16,this[Je+3]=He>>>24,Je+4},D.prototype.writeInt32BE=function(He,Je,St){return He=+He,Je=Je>>>0,St||Ne(this,He,Je,4,2147483647,-2147483648),He<0&&(He=4294967295+He+1),this[Je]=He>>>24,this[Je+1]=He>>>16,this[Je+2]=He>>>8,this[Je+3]=He&255,Je+4},D.prototype.writeBigInt64LE=mt(function(He,Je=0){return Ze(this,He,Je,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),D.prototype.writeBigInt64BE=mt(function(He,Je=0){return ze(this,He,Je,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Te(rt,He,Je,St,bt,pt){if(Je+St>rt.length)throw new RangeError("Index out of range");if(Je<0)throw new RangeError("Index out of range")}function Fe(rt,He,Je,St,bt){return He=+He,Je=Je>>>0,bt||Te(rt,He,Je,4),M.write(rt,He,Je,St,23,4),Je+4}D.prototype.writeFloatLE=function(He,Je,St){return Fe(this,He,Je,!0,St)},D.prototype.writeFloatBE=function(He,Je,St){return Fe(this,He,Je,!1,St)};function Pe(rt,He,Je,St,bt){return He=+He,Je=Je>>>0,bt||Te(rt,He,Je,8),M.write(rt,He,Je,St,52,8),Je+8}D.prototype.writeDoubleLE=function(He,Je,St){return Pe(this,He,Je,!0,St)},D.prototype.writeDoubleBE=function(He,Je,St){return Pe(this,He,Je,!1,St)},D.prototype.copy=function(He,Je,St,bt){if(!D.isBuffer(He))throw new TypeError("argument should be a Buffer");if(St||(St=0),!bt&&bt!==0&&(bt=this.length),Je>=He.length&&(Je=He.length),Je||(Je=0),bt>0&&bt=this.length)throw new RangeError("Index out of range");if(bt<0)throw new RangeError("sourceEnd out of bounds");bt>this.length&&(bt=this.length),He.length-Je>>0,St=St===void 0?this.length:St>>>0,He||(He=0);let pt;if(typeof He=="number")for(pt=Je;pt2**32?bt=Be(String(Je)):typeof Je=="bigint"&&(bt=String(Je),(Je>BigInt(2)**BigInt(32)||Je<-(BigInt(2)**BigInt(32)))&&(bt=Be(bt)),bt+="n"),St+=` It must be ${He}. Received ${bt}`,St},RangeError);function Be(rt){let He="",Je=rt.length;const St=rt[0]==="-"?1:0;for(;Je>=St+4;Je-=3)He=`_${rt.slice(Je-3,Je)}${He}`;return`${rt.slice(0,Je)}${He}`}function Ke(rt,He,Je){je(He,"offset"),(rt[He]===void 0||rt[He+Je]===void 0)&&Le(He,rt.length-(Je+1))}function Ve(rt,He,Je,St,bt,pt){if(rt>Je||rt3?He===0||He===BigInt(0)?Pt=`>= 0${wt} and < 2${wt} ** ${(pt+1)*8}${wt}`:Pt=`>= -(2${wt} ** ${(pt+1)*8-1}${wt}) and < 2 ** ${(pt+1)*8-1}${wt}`:Pt=`>= ${He}${wt} and <= ${Je}${wt}`,new we.ERR_OUT_OF_RANGE("value",Pt,rt)}Ke(St,bt,pt)}function je(rt,He){if(typeof rt!="number")throw new we.ERR_INVALID_ARG_TYPE(He,"number",rt)}function Le(rt,He,Je){throw Math.floor(rt)!==rt?(je(rt,Je),new we.ERR_OUT_OF_RANGE(Je||"offset","an integer",rt)):He<0?new we.ERR_BUFFER_OUT_OF_BOUNDS:new we.ERR_OUT_OF_RANGE(Je||"offset",`>= ${Je?1:0} and <= ${He}`,rt)}const et=/[^+/0-9A-Za-z-_]/g;function Qe(rt){if(rt=rt.split("=")[0],rt=rt.trim().replace(et,""),rt.length<2)return"";for(;rt.length%4!==0;)rt=rt+"=";return rt}function Ue(rt,He){He=He||1/0;let Je;const St=rt.length;let bt=null;const pt=[];for(let wt=0;wt55295&&Je<57344){if(!bt){if(Je>56319){(He-=3)>-1&&pt.push(239,191,189);continue}else if(wt+1===St){(He-=3)>-1&&pt.push(239,191,189);continue}bt=Je;continue}if(Je<56320){(He-=3)>-1&&pt.push(239,191,189),bt=Je;continue}Je=(bt-55296<<10|Je-56320)+65536}else bt&&(He-=3)>-1&&pt.push(239,191,189);if(bt=null,Je<128){if((He-=1)<0)break;pt.push(Je)}else if(Je<2048){if((He-=2)<0)break;pt.push(Je>>6|192,Je&63|128)}else if(Je<65536){if((He-=3)<0)break;pt.push(Je>>12|224,Je>>6&63|128,Je&63|128)}else if(Je<1114112){if((He-=4)<0)break;pt.push(Je>>18|240,Je>>12&63|128,Je>>6&63|128,Je&63|128)}else throw new Error("Invalid code point")}return pt}function $e(rt){const He=[];for(let Je=0;Je>8,bt=Je%256,pt.push(bt),pt.push(St);return pt}function tt(rt){return m.toByteArray(Qe(rt))}function ot(rt,He,Je,St){let bt;for(bt=0;bt=He.length||bt>=rt.length);++bt)He[bt+Je]=rt[bt];return bt}function st(rt,He){return rt instanceof He||rt!=null&&rt.constructor!=null&&rt.constructor.name!=null&&rt.constructor.name===He.name}function dt(rt){return rt!==rt}const ct=function(){const rt="0123456789abcdef",He=new Array(256);for(let Je=0;Je<16;++Je){const St=Je*16;for(let bt=0;bt<16;++bt)He[St+bt]=rt[Je]+rt[bt]}return He}();function mt(rt){return typeof BigInt>"u"?ut:rt}function ut(){throw new Error("BigInt not supported")}}(buffer)),buffer}var hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(k,m){var M=requireBuffer(),G=M.Buffer;function V($,D){for(var B in $)D[B]=$[B]}G.from&&G.alloc&&G.allocUnsafe&&G.allocUnsafeSlow?k.exports=M:(V(M,m),m.Buffer=q);function q($,D,B){return G($,D,B)}V(G,q),q.from=function($,D,B){if(typeof $=="number")throw new TypeError("Argument must not be a number");return G($,D,B)},q.alloc=function($,D,B){if(typeof $!="number")throw new TypeError("Argument must be a number");var R=G($);return D!==void 0?typeof B=="string"?R.fill(D,B):R.fill(D):R.fill(0),R},q.allocUnsafe=function($){if(typeof $!="number")throw new TypeError("Argument must be a number");return G($)},q.allocUnsafeSlow=function($){if(typeof $!="number")throw new TypeError("Argument must be a number");return M.SlowBuffer($)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var k=requireSafeBuffer().Buffer,m=k.isEncoding||function(J){switch(J=""+J,J&&J.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function M(J){if(!J)return"utf8";for(var W;;)switch(J){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return J;default:if(W)return;J=(""+J).toLowerCase(),W=!0}}function G(J){var W=M(J);if(typeof W!="string"&&(k.isEncoding===m||!m(J)))throw new Error("Unknown encoding: "+J);return W||J}string_decoder.StringDecoder=V;function V(J){this.encoding=G(J);var W;switch(this.encoding){case"utf16le":this.text=K,this.end=z,W=4;break;case"utf8":this.fillLast=B,W=4;break;case"base64":this.text=e,this.end=ae,W=3;break;default:this.write=ie,this.end=he;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=k.allocUnsafe(W)}V.prototype.write=function(J){if(J.length===0)return"";var W,X;if(this.lastNeed){if(W=this.fillLast(J),W===void 0)return"";X=this.lastNeed,this.lastNeed=0}else X=0;return X>5===6?2:J>>4===14?3:J>>3===30?4:J>>6===2?-1:-2}function $(J,W,X){var L=W.length-1;if(L=0?(Q>0&&(J.lastNeed=Q-1),Q):--L=0?(Q>0&&(J.lastNeed=Q-2),Q):--L=0?(Q>0&&(Q===2?Q=0:J.lastNeed=Q-3),Q):0))}function D(J,W,X){if((W[0]&192)!==128)return J.lastNeed=0,"�";if(J.lastNeed>1&&W.length>1){if((W[1]&192)!==128)return J.lastNeed=1,"�";if(J.lastNeed>2&&W.length>2&&(W[2]&192)!==128)return J.lastNeed=2,"�"}}function B(J){var W=this.lastTotal-this.lastNeed,X=D(this,J);if(X!==void 0)return X;if(this.lastNeed<=J.length)return J.copy(this.lastChar,W,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);J.copy(this.lastChar,W,0,J.length),this.lastNeed-=J.length}function R(J,W){var X=$(this,J,W);if(!this.lastNeed)return J.toString("utf8",W);this.lastTotal=X;var L=J.length-(X-this.lastNeed);return J.copy(this.lastChar,0,L),J.toString("utf8",W,L)}function U(J){var W=J&&J.length?this.write(J):"";return this.lastNeed?W+"�":W}function K(J,W){if((J.length-W)%2===0){var X=J.toString("utf16le",W);if(X){var L=X.charCodeAt(X.length-1);if(L>=55296&&L<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=J[J.length-2],this.lastChar[1]=J[J.length-1],X.slice(0,-1)}return X}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=J[J.length-1],J.toString("utf16le",W,J.length-1)}function z(J){var W=J&&J.length?this.write(J):"";if(this.lastNeed){var X=this.lastTotal-this.lastNeed;return W+this.lastChar.toString("utf16le",0,X)}return W}function e(J,W){var X=(J.length-W)%3;return X===0?J.toString("base64",W):(this.lastNeed=3-X,this.lastTotal=3,X===1?this.lastChar[0]=J[J.length-1]:(this.lastChar[0]=J[J.length-2],this.lastChar[1]=J[J.length-1]),J.toString("base64",W,J.length-X))}function ae(J){var W=J&&J.length?this.write(J):"";return this.lastNeed?W+this.lastChar.toString("base64",0,3-this.lastNeed):W}function ie(J){return J.toString(this.encoding)}function he(J){return J&&J.length?this.write(J):""}return string_decoder}var hasRequiredSax;function requireSax(){return hasRequiredSax||(hasRequiredSax=1,function(k){(function(m){m.parser=function(Pe,we){return new G(Pe,we)},m.SAXParser=G,m.SAXStream=U,m.createStream=R,m.MAX_BUFFER_LENGTH=64*1024;var M=["comment","sgmlDecl","textNode","tagName","doctype","procInstName","procInstBody","entity","attribName","attribValue","cdata","script"];m.EVENTS=["text","processinginstruction","sgmldeclaration","doctype","comment","opentagstart","attribute","opentag","closetag","opencdata","cdata","closecdata","error","end","ready","script","opennamespace","closenamespace"];function G(Pe,we){if(!(this instanceof G))return new G(Pe,we);var Ie=this;q(Ie),Ie.q=Ie.c="",Ie.bufferCheckPosition=m.MAX_BUFFER_LENGTH,Ie.opt=we||{},Ie.opt.lowercase=Ie.opt.lowercase||Ie.opt.lowercasetags,Ie.looseCase=Ie.opt.lowercase?"toLowerCase":"toUpperCase",Ie.tags=[],Ie.closed=Ie.closedRoot=Ie.sawRoot=!1,Ie.tag=Ie.error=null,Ie.strict=!!Pe,Ie.noscript=!!(Pe||Ie.opt.noscript),Ie.state=oe.BEGIN,Ie.strictEntities=Ie.opt.strictEntities,Ie.ENTITIES=Ie.strictEntities?Object.create(m.XML_ENTITIES):Object.create(m.ENTITIES),Ie.attribList=[],Ie.opt.xmlns&&(Ie.ns=Object.create(ie)),Ie.opt.unquotedAttributeValues===void 0&&(Ie.opt.unquotedAttributeValues=!Pe),Ie.trackPosition=Ie.opt.position!==!1,Ie.trackPosition&&(Ie.position=Ie.line=Ie.column=0),Ee(Ie,"onready")}Object.create||(Object.create=function(Pe){function we(){}we.prototype=Pe;var Ie=new we;return Ie}),Object.keys||(Object.keys=function(Pe){var we=[];for(var Ie in Pe)Pe.hasOwnProperty(Ie)&&we.push(Ie);return we});function V(Pe){for(var we=Math.max(m.MAX_BUFFER_LENGTH,10),Ie=0,Be=0,Ke=M.length;Bewe)switch(M[Be]){case"textNode":xe(Pe);break;case"cdata":ke(Pe,"oncdata",Pe.cdata),Pe.cdata="";break;case"script":ke(Pe,"onscript",Pe.script),Pe.script="";break;default:ve(Pe,"Max buffer length exceeded: "+M[Be])}Ie=Math.max(Ie,Ve)}var je=m.MAX_BUFFER_LENGTH-Ie;Pe.bufferCheckPosition=je+Pe.position}function q(Pe){for(var we=0,Ie=M.length;we"||L(Pe)}function de(Pe,we){return Pe.test(we)}function se(Pe,we){return!de(Pe,we)}var oe=0;m.STATE={BEGIN:oe++,BEGIN_WHITESPACE:oe++,TEXT:oe++,TEXT_ENTITY:oe++,OPEN_WAKA:oe++,SGML_DECL:oe++,SGML_DECL_QUOTED:oe++,DOCTYPE:oe++,DOCTYPE_QUOTED:oe++,DOCTYPE_DTD:oe++,DOCTYPE_DTD_QUOTED:oe++,COMMENT_STARTING:oe++,COMMENT:oe++,COMMENT_ENDING:oe++,COMMENT_ENDED:oe++,CDATA:oe++,CDATA_ENDING:oe++,CDATA_ENDING_2:oe++,PROC_INST:oe++,PROC_INST_BODY:oe++,PROC_INST_ENDING:oe++,OPEN_TAG:oe++,OPEN_TAG_SLASH:oe++,ATTRIB:oe++,ATTRIB_NAME:oe++,ATTRIB_NAME_SAW_WHITE:oe++,ATTRIB_VALUE:oe++,ATTRIB_VALUE_QUOTED:oe++,ATTRIB_VALUE_CLOSED:oe++,ATTRIB_VALUE_UNQUOTED:oe++,ATTRIB_VALUE_ENTITY_Q:oe++,ATTRIB_VALUE_ENTITY_U:oe++,CLOSE_TAG:oe++,CLOSE_TAG_SAW_WHITE:oe++,SCRIPT:oe++,SCRIPT_ENDING:oe++},m.XML_ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'"},m.ENTITIES={amp:"&",gt:">",lt:"<",quot:'"',apos:"'",AElig:198,Aacute:193,Acirc:194,Agrave:192,Aring:197,Atilde:195,Auml:196,Ccedil:199,ETH:208,Eacute:201,Ecirc:202,Egrave:200,Euml:203,Iacute:205,Icirc:206,Igrave:204,Iuml:207,Ntilde:209,Oacute:211,Ocirc:212,Ograve:210,Oslash:216,Otilde:213,Ouml:214,THORN:222,Uacute:218,Ucirc:219,Ugrave:217,Uuml:220,Yacute:221,aacute:225,acirc:226,aelig:230,agrave:224,aring:229,atilde:227,auml:228,ccedil:231,eacute:233,ecirc:234,egrave:232,eth:240,euml:235,iacute:237,icirc:238,igrave:236,iuml:239,ntilde:241,oacute:243,ocirc:244,ograve:242,oslash:248,otilde:245,ouml:246,szlig:223,thorn:254,uacute:250,ucirc:251,ugrave:249,uuml:252,yacute:253,yuml:255,copy:169,reg:174,nbsp:160,iexcl:161,cent:162,pound:163,curren:164,yen:165,brvbar:166,sect:167,uml:168,ordf:170,laquo:171,not:172,shy:173,macr:175,deg:176,plusmn:177,sup1:185,sup2:178,sup3:179,acute:180,micro:181,para:182,middot:183,cedil:184,ordm:186,raquo:187,frac14:188,frac12:189,frac34:190,iquest:191,times:215,divide:247,OElig:338,oelig:339,Scaron:352,scaron:353,Yuml:376,fnof:402,circ:710,tilde:732,Alpha:913,Beta:914,Gamma:915,Delta:916,Epsilon:917,Zeta:918,Eta:919,Theta:920,Iota:921,Kappa:922,Lambda:923,Mu:924,Nu:925,Xi:926,Omicron:927,Pi:928,Rho:929,Sigma:931,Tau:932,Upsilon:933,Phi:934,Chi:935,Psi:936,Omega:937,alpha:945,beta:946,gamma:947,delta:948,epsilon:949,zeta:950,eta:951,theta:952,iota:953,kappa:954,lambda:955,mu:956,nu:957,xi:958,omicron:959,pi:960,rho:961,sigmaf:962,sigma:963,tau:964,upsilon:965,phi:966,chi:967,psi:968,omega:969,thetasym:977,upsih:978,piv:982,ensp:8194,emsp:8195,thinsp:8201,zwnj:8204,zwj:8205,lrm:8206,rlm:8207,ndash:8211,mdash:8212,lsquo:8216,rsquo:8217,sbquo:8218,ldquo:8220,rdquo:8221,bdquo:8222,dagger:8224,Dagger:8225,bull:8226,hellip:8230,permil:8240,prime:8242,Prime:8243,lsaquo:8249,rsaquo:8250,oline:8254,frasl:8260,euro:8364,image:8465,weierp:8472,real:8476,trade:8482,alefsym:8501,larr:8592,uarr:8593,rarr:8594,darr:8595,harr:8596,crarr:8629,lArr:8656,uArr:8657,rArr:8658,dArr:8659,hArr:8660,forall:8704,part:8706,exist:8707,empty:8709,nabla:8711,isin:8712,notin:8713,ni:8715,prod:8719,sum:8721,minus:8722,lowast:8727,radic:8730,prop:8733,infin:8734,ang:8736,and:8743,or:8744,cap:8745,cup:8746,int:8747,there4:8756,sim:8764,cong:8773,asymp:8776,ne:8800,equiv:8801,le:8804,ge:8805,sub:8834,sup:8835,nsub:8836,sube:8838,supe:8839,oplus:8853,otimes:8855,perp:8869,sdot:8901,lceil:8968,rceil:8969,lfloor:8970,rfloor:8971,lang:9001,rang:9002,loz:9674,spades:9824,clubs:9827,hearts:9829,diams:9830},Object.keys(m.ENTITIES).forEach(function(Pe){var we=m.ENTITIES[Pe],Ie=typeof we=="number"?String.fromCharCode(we):we;m.ENTITIES[Pe]=Ie});for(var me in m.STATE)m.STATE[m.STATE[me]]=me;oe=m.STATE;function Ee(Pe,we,Ie){Pe[we]&&Pe[we](Ie)}function ke(Pe,we,Ie){Pe.textNode&&xe(Pe),Ee(Pe,we,Ie)}function xe(Pe){Pe.textNode=fe(Pe.opt,Pe.textNode),Pe.textNode&&Ee(Pe,"ontext",Pe.textNode),Pe.textNode=""}function fe(Pe,we){return Pe.trim&&(we=we.trim()),Pe.normalize&&(we=we.replace(/\s+/g," ")),we}function ve(Pe,we){return xe(Pe),Pe.trackPosition&&(we+=` +Line: `+Pe.line+` +Column: `+Pe.column+` +Char: `+Pe.c),we=new Error(we),Pe.error=we,Ee(Pe,"onerror",we),Pe}function ye(Pe){return Pe.sawRoot&&!Pe.closedRoot&&Ce(Pe,"Unclosed root tag"),Pe.state!==oe.BEGIN&&Pe.state!==oe.BEGIN_WHITESPACE&&Pe.state!==oe.TEXT&&ve(Pe,"Unexpected end"),xe(Pe),Pe.c="",Pe.closed=!0,Ee(Pe,"onend"),G.call(Pe,Pe.strict,Pe.opt),Pe}function Ce(Pe,we){if(typeof Pe!="object"||!(Pe instanceof G))throw new Error("bad call to strictFail");Pe.strict&&ve(Pe,we)}function pe(Pe){Pe.strict||(Pe.tagName=Pe.tagName[Pe.looseCase]());var we=Pe.tags[Pe.tags.length-1]||Pe,Ie=Pe.tag={name:Pe.tagName,attributes:{}};Pe.opt.xmlns&&(Ie.ns=we.ns),Pe.attribList.length=0,ke(Pe,"onopentagstart",Ie)}function _e(Pe,we){var Ie=Pe.indexOf(":"),Be=Ie<0?["",Pe]:Pe.split(":"),Ke=Be[0],Ve=Be[1];return we&&Pe==="xmlns"&&(Ke="xmlns",Ve=""),{prefix:Ke,local:Ve}}function Ge(Pe){if(Pe.strict||(Pe.attribName=Pe.attribName[Pe.looseCase]()),Pe.attribList.indexOf(Pe.attribName)!==-1||Pe.tag.attributes.hasOwnProperty(Pe.attribName)){Pe.attribName=Pe.attribValue="";return}if(Pe.opt.xmlns){var we=_e(Pe.attribName,!0),Ie=we.prefix,Be=we.local;if(Ie==="xmlns")if(Be==="xml"&&Pe.attribValue!==e)Ce(Pe,"xml: prefix must be bound to "+e+` +Actual: `+Pe.attribValue);else if(Be==="xmlns"&&Pe.attribValue!==ae)Ce(Pe,"xmlns: prefix must be bound to "+ae+` +Actual: `+Pe.attribValue);else{var Ke=Pe.tag,Ve=Pe.tags[Pe.tags.length-1]||Pe;Ke.ns===Ve.ns&&(Ke.ns=Object.create(Ve.ns)),Ke.ns[Be]=Pe.attribValue}Pe.attribList.push([Pe.attribName,Pe.attribValue])}else Pe.tag.attributes[Pe.attribName]=Pe.attribValue,ke(Pe,"onattribute",{name:Pe.attribName,value:Pe.attribValue});Pe.attribName=Pe.attribValue=""}function Ae(Pe,we){if(Pe.opt.xmlns){var Ie=Pe.tag,Be=_e(Pe.tagName);Ie.prefix=Be.prefix,Ie.local=Be.local,Ie.uri=Ie.ns[Be.prefix]||"",Ie.prefix&&!Ie.uri&&(Ce(Pe,"Unbound namespace prefix: "+JSON.stringify(Pe.tagName)),Ie.uri=Be.prefix);var Ke=Pe.tags[Pe.tags.length-1]||Pe;Ie.ns&&Ke.ns!==Ie.ns&&Object.keys(Ie.ns).forEach(function(st){ke(Pe,"onopennamespace",{prefix:st,uri:Ie.ns[st]})});for(var Ve=0,je=Pe.attribList.length;Ve",Pe.tagName="",Pe.state=oe.SCRIPT;return}ke(Pe,"onscript",Pe.script),Pe.script=""}var we=Pe.tags.length,Ie=Pe.tagName;Pe.strict||(Ie=Ie[Pe.looseCase]());for(var Be=Ie;we--;){var Ke=Pe.tags[we];if(Ke.name!==Be)Ce(Pe,"Unexpected close tag");else break}if(we<0){Ce(Pe,"Unmatched closing tag: "+Pe.tagName),Pe.textNode+="",Pe.state=oe.TEXT;return}Pe.tagName=Ie;for(var Ve=Pe.tags.length;Ve-- >we;){var je=Pe.tag=Pe.tags.pop();Pe.tagName=Pe.tag.name,ke(Pe,"onclosetag",Pe.tagName);var Le={};for(var et in je.ns)Le[et]=je.ns[et];var Qe=Pe.tags[Pe.tags.length-1]||Pe;Pe.opt.xmlns&&je.ns!==Qe.ns&&Object.keys(je.ns).forEach(function(Ue){var $e=je.ns[Ue];ke(Pe,"onclosenamespace",{prefix:Ue,uri:$e})})}we===0&&(Pe.closedRoot=!0),Pe.tagName=Pe.attribValue=Pe.attribName="",Pe.attribList.length=0,Pe.state=oe.TEXT}function Ze(Pe){var we=Pe.entity,Ie=we.toLowerCase(),Be,Ke="";return Pe.ENTITIES[we]?Pe.ENTITIES[we]:Pe.ENTITIES[Ie]?Pe.ENTITIES[Ie]:(we=Ie,we.charAt(0)==="#"&&(we.charAt(1)==="x"?(we=we.slice(2),Be=parseInt(we,16),Ke=Be.toString(16)):(we=we.slice(1),Be=parseInt(we,10),Ke=Be.toString(10))),we=we.replace(/^0+/,""),isNaN(Be)||Ke.toLowerCase()!==we?(Ce(Pe,"Invalid character entity"),"&"+Pe.entity+";"):String.fromCodePoint(Be))}function ze(Pe,we){we==="<"?(Pe.state=oe.OPEN_WAKA,Pe.startTagPosition=Pe.position):L(we)||(Ce(Pe,"Non-whitespace before first tag."),Pe.textNode=we,Pe.state=oe.TEXT)}function Te(Pe,we){var Ie="";return we"?(ke(we,"onsgmldeclaration",we.sgmlDecl),we.sgmlDecl="",we.state=oe.TEXT):(Q(Be)&&(we.state=oe.SGML_DECL_QUOTED),we.sgmlDecl+=Be);continue;case oe.SGML_DECL_QUOTED:Be===we.q&&(we.state=oe.SGML_DECL,we.q=""),we.sgmlDecl+=Be;continue;case oe.DOCTYPE:Be===">"?(we.state=oe.TEXT,ke(we,"ondoctype",we.doctype),we.doctype=!0):(we.doctype+=Be,Be==="["?we.state=oe.DOCTYPE_DTD:Q(Be)&&(we.state=oe.DOCTYPE_QUOTED,we.q=Be));continue;case oe.DOCTYPE_QUOTED:we.doctype+=Be,Be===we.q&&(we.q="",we.state=oe.DOCTYPE);continue;case oe.DOCTYPE_DTD:Be==="]"?(we.doctype+=Be,we.state=oe.DOCTYPE):Be==="<"?(we.state=oe.OPEN_WAKA,we.startTagPosition=we.position):Q(Be)?(we.doctype+=Be,we.state=oe.DOCTYPE_DTD_QUOTED,we.q=Be):we.doctype+=Be;continue;case oe.DOCTYPE_DTD_QUOTED:we.doctype+=Be,Be===we.q&&(we.state=oe.DOCTYPE_DTD,we.q="");continue;case oe.COMMENT:Be==="-"?we.state=oe.COMMENT_ENDING:we.comment+=Be;continue;case oe.COMMENT_ENDING:Be==="-"?(we.state=oe.COMMENT_ENDED,we.comment=fe(we.opt,we.comment),we.comment&&ke(we,"oncomment",we.comment),we.comment=""):(we.comment+="-"+Be,we.state=oe.COMMENT);continue;case oe.COMMENT_ENDED:Be!==">"?(Ce(we,"Malformed comment"),we.comment+="--"+Be,we.state=oe.COMMENT):we.doctype&&we.doctype!==!0?we.state=oe.DOCTYPE_DTD:we.state=oe.TEXT;continue;case oe.CDATA:Be==="]"?we.state=oe.CDATA_ENDING:we.cdata+=Be;continue;case oe.CDATA_ENDING:Be==="]"?we.state=oe.CDATA_ENDING_2:(we.cdata+="]"+Be,we.state=oe.CDATA);continue;case oe.CDATA_ENDING_2:Be===">"?(we.cdata&&ke(we,"oncdata",we.cdata),ke(we,"onclosecdata"),we.cdata="",we.state=oe.TEXT):Be==="]"?we.cdata+="]":(we.cdata+="]]"+Be,we.state=oe.CDATA);continue;case oe.PROC_INST:Be==="?"?we.state=oe.PROC_INST_ENDING:L(Be)?we.state=oe.PROC_INST_BODY:we.procInstName+=Be;continue;case oe.PROC_INST_BODY:if(!we.procInstBody&&L(Be))continue;Be==="?"?we.state=oe.PROC_INST_ENDING:we.procInstBody+=Be;continue;case oe.PROC_INST_ENDING:Be===">"?(ke(we,"onprocessinginstruction",{name:we.procInstName,body:we.procInstBody}),we.procInstName=we.procInstBody="",we.state=oe.TEXT):(we.procInstBody+="?"+Be,we.state=oe.PROC_INST_BODY);continue;case oe.OPEN_TAG:de(J,Be)?we.tagName+=Be:(pe(we),Be===">"?Ae(we):Be==="/"?we.state=oe.OPEN_TAG_SLASH:(L(Be)||Ce(we,"Invalid character in tag name"),we.state=oe.ATTRIB));continue;case oe.OPEN_TAG_SLASH:Be===">"?(Ae(we,!0),Ne(we)):(Ce(we,"Forward-slash in opening tag not followed by >"),we.state=oe.ATTRIB);continue;case oe.ATTRIB:if(L(Be))continue;Be===">"?Ae(we):Be==="/"?we.state=oe.OPEN_TAG_SLASH:de(he,Be)?(we.attribName=Be,we.attribValue="",we.state=oe.ATTRIB_NAME):Ce(we,"Invalid attribute name");continue;case oe.ATTRIB_NAME:Be==="="?we.state=oe.ATTRIB_VALUE:Be===">"?(Ce(we,"Attribute without value"),we.attribValue=we.attribName,Ge(we),Ae(we)):L(Be)?we.state=oe.ATTRIB_NAME_SAW_WHITE:de(J,Be)?we.attribName+=Be:Ce(we,"Invalid attribute name");continue;case oe.ATTRIB_NAME_SAW_WHITE:if(Be==="=")we.state=oe.ATTRIB_VALUE;else{if(L(Be))continue;Ce(we,"Attribute without value"),we.tag.attributes[we.attribName]="",we.attribValue="",ke(we,"onattribute",{name:we.attribName,value:""}),we.attribName="",Be===">"?Ae(we):de(he,Be)?(we.attribName=Be,we.state=oe.ATTRIB_NAME):(Ce(we,"Invalid attribute name"),we.state=oe.ATTRIB)}continue;case oe.ATTRIB_VALUE:if(L(Be))continue;Q(Be)?(we.q=Be,we.state=oe.ATTRIB_VALUE_QUOTED):(we.opt.unquotedAttributeValues||ve(we,"Unquoted attribute value"),we.state=oe.ATTRIB_VALUE_UNQUOTED,we.attribValue=Be);continue;case oe.ATTRIB_VALUE_QUOTED:if(Be!==we.q){Be==="&"?we.state=oe.ATTRIB_VALUE_ENTITY_Q:we.attribValue+=Be;continue}Ge(we),we.q="",we.state=oe.ATTRIB_VALUE_CLOSED;continue;case oe.ATTRIB_VALUE_CLOSED:L(Be)?we.state=oe.ATTRIB:Be===">"?Ae(we):Be==="/"?we.state=oe.OPEN_TAG_SLASH:de(he,Be)?(Ce(we,"No whitespace between attributes"),we.attribName=Be,we.attribValue="",we.state=oe.ATTRIB_NAME):Ce(we,"Invalid attribute name");continue;case oe.ATTRIB_VALUE_UNQUOTED:if(!ce(Be)){Be==="&"?we.state=oe.ATTRIB_VALUE_ENTITY_U:we.attribValue+=Be;continue}Ge(we),Be===">"?Ae(we):we.state=oe.ATTRIB;continue;case oe.CLOSE_TAG:if(we.tagName)Be===">"?Ne(we):de(J,Be)?we.tagName+=Be:we.script?(we.script+=""?Ne(we):Ce(we,"Invalid characters in closing tag");continue;case oe.TEXT_ENTITY:case oe.ATTRIB_VALUE_ENTITY_Q:case oe.ATTRIB_VALUE_ENTITY_U:var je,Le;switch(we.state){case oe.TEXT_ENTITY:je=oe.TEXT,Le="textNode";break;case oe.ATTRIB_VALUE_ENTITY_Q:je=oe.ATTRIB_VALUE_QUOTED,Le="attribValue";break;case oe.ATTRIB_VALUE_ENTITY_U:je=oe.ATTRIB_VALUE_UNQUOTED,Le="attribValue";break}if(Be===";"){var et=Ze(we);we.opt.unparsedEntities&&!Object.values(m.XML_ENTITIES).includes(et)?(we.entity="",we.state=je,we.write(et)):(we[Le]+=et,we.entity="",we.state=je)}else de(we.entity.length?X:W,Be)?we.entity+=Be:(Ce(we,"Invalid character in entity name"),we[Le]+="&"+we.entity+Be,we.entity="",we.state=je);continue;default:throw new Error(we,"Unknown state: "+we.state)}return we.position>=we.bufferCheckPosition&&V(we),we}/*! http://mths.be/fromcodepoint v0.1.0 by @mathias */String.fromCodePoint||function(){var Pe=String.fromCharCode,we=Math.floor,Ie=function(){var Be=16384,Ke=[],Ve,je,Le=-1,et=arguments.length;if(!et)return"";for(var Qe="";++Le1114111||we(Ue)!==Ue)throw RangeError("Invalid code point: "+Ue);Ue<=65535?Ke.push(Ue):(Ue-=65536,Ve=(Ue>>10)+55296,je=Ue%1024+56320,Ke.push(Ve,je)),(Le+1===et||Ke.length>Be)&&(Qe+=Pe.apply(null,Ke),Ke.length=0)}return Qe};Object.defineProperty?Object.defineProperty(String,"fromCodePoint",{value:Ie,configurable:!0,writable:!0}):String.fromCodePoint=Ie}()})(k)}(sax)),sax}var events={exports:{}},hasRequiredEvents;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var k=typeof Reflect=="object"?Reflect:null,m=k&&typeof k.apply=="function"?k.apply:function(Q,ce,de){return Function.prototype.apply.call(Q,ce,de)},M;k&&typeof k.ownKeys=="function"?M=k.ownKeys:Object.getOwnPropertySymbols?M=function(Q){return Object.getOwnPropertyNames(Q).concat(Object.getOwnPropertySymbols(Q))}:M=function(Q){return Object.getOwnPropertyNames(Q)};function G(L){console&&console.warn&&console.warn(L)}var V=Number.isNaN||function(Q){return Q!==Q};function q(){q.init.call(this)}events.exports=q,events.exports.once=J,q.EventEmitter=q,q.prototype._events=void 0,q.prototype._eventsCount=0,q.prototype._maxListeners=void 0;var $=10;function D(L){if(typeof L!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof L)}Object.defineProperty(q,"defaultMaxListeners",{enumerable:!0,get:function(){return $},set:function(L){if(typeof L!="number"||L<0||V(L))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+L+".");$=L}}),q.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},q.prototype.setMaxListeners=function(Q){if(typeof Q!="number"||Q<0||V(Q))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+Q+".");return this._maxListeners=Q,this};function B(L){return L._maxListeners===void 0?q.defaultMaxListeners:L._maxListeners}q.prototype.getMaxListeners=function(){return B(this)},q.prototype.emit=function(Q){for(var ce=[],de=1;de0&&(me=ce[0]),me instanceof Error)throw me;var Ee=new Error("Unhandled error."+(me?" ("+me.message+")":""));throw Ee.context=me,Ee}var ke=oe[Q];if(ke===void 0)return!1;if(typeof ke=="function")m(ke,this,ce);else for(var xe=ke.length,fe=ae(ke,xe),de=0;de0&&me.length>se&&!me.warned){me.warned=!0;var Ee=new Error("Possible EventEmitter memory leak detected. "+me.length+" "+String(Q)+" listeners added. Use emitter.setMaxListeners() to increase limit");Ee.name="MaxListenersExceededWarning",Ee.emitter=L,Ee.type=Q,Ee.count=me.length,G(Ee)}return L}q.prototype.addListener=function(Q,ce){return R(this,Q,ce,!1)},q.prototype.on=q.prototype.addListener,q.prototype.prependListener=function(Q,ce){return R(this,Q,ce,!0)};function U(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function K(L,Q,ce){var de={fired:!1,wrapFn:void 0,target:L,type:Q,listener:ce},se=U.bind(de);return se.listener=ce,de.wrapFn=se,se}q.prototype.once=function(Q,ce){return D(ce),this.on(Q,K(this,Q,ce)),this},q.prototype.prependOnceListener=function(Q,ce){return D(ce),this.prependListener(Q,K(this,Q,ce)),this},q.prototype.removeListener=function(Q,ce){var de,se,oe,me,Ee;if(D(ce),se=this._events,se===void 0)return this;if(de=se[Q],de===void 0)return this;if(de===ce||de.listener===ce)--this._eventsCount===0?this._events=Object.create(null):(delete se[Q],se.removeListener&&this.emit("removeListener",Q,de.listener||ce));else if(typeof de!="function"){for(oe=-1,me=de.length-1;me>=0;me--)if(de[me]===ce||de[me].listener===ce){Ee=de[me].listener,oe=me;break}if(oe<0)return this;oe===0?de.shift():ie(de,oe),de.length===1&&(se[Q]=de[0]),se.removeListener!==void 0&&this.emit("removeListener",Q,Ee||ce)}return this},q.prototype.off=q.prototype.removeListener,q.prototype.removeAllListeners=function(Q){var ce,de,se;if(de=this._events,de===void 0)return this;if(de.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):de[Q]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete de[Q]),this;if(arguments.length===0){var oe=Object.keys(de),me;for(se=0;se=0;se--)this.removeListener(Q,ce[se]);return this};function z(L,Q,ce){var de=L._events;if(de===void 0)return[];var se=de[Q];return se===void 0?[]:typeof se=="function"?ce?[se.listener||se]:[se]:ce?he(se):ae(se,se.length)}q.prototype.listeners=function(Q){return z(this,Q,!0)},q.prototype.rawListeners=function(Q){return z(this,Q,!1)},q.listenerCount=function(L,Q){return typeof L.listenerCount=="function"?L.listenerCount(Q):e.call(L,Q)},q.prototype.listenerCount=e;function e(L){var Q=this._events;if(Q!==void 0){var ce=Q[L];if(typeof ce=="function")return 1;if(ce!==void 0)return ce.length}return 0}q.prototype.eventNames=function(){return this._eventsCount>0?M(this._events):[]};function ae(L,Q){for(var ce=new Array(Q),de=0;de0&&(de[X.options.childkey]=oe),oe=de;else if(ke){ke[X.options.childkey]=ke[X.options.childkey]||[],me={};for(ce in oe)z.call(oe,ce)&&G(me,ce,oe[ce]);ke[X.options.childkey].push(me),delete oe["#name"],Object.keys(oe).length===1&&he in oe&&!X.EXPLICIT_CHARKEY&&(oe=oe[he])}}return W.length>0?X.assignOrPush(ke,se,oe):(X.options.explicitRoot&&(Ee=oe,oe={},G(oe,se,Ee)),X.resultObject=oe,X.saxParser.ended=!0,X.emit("end",X.resultObject))}}(this),J=function(X){return function(L){var Q,ce;if(ce=W[W.length-1],ce)return ce[he]+=L,X.options.explicitChildren&&X.options.preserveChildrenOrder&&X.options.charsAsChildren&&(X.options.includeWhiteChars||L.replace(/\\n/g,"").trim()!=="")&&(ce[X.options.childkey]=ce[X.options.childkey]||[],Q={"#name":"__text__"},Q[he]=L,X.options.normalize&&(Q[he]=Q[he].replace(/\s{2,}/g," ").trim()),ce[X.options.childkey].push(Q)),ce}}(this),this.saxParser.ontext=J,this.saxParser.oncdata=function(X){return function(L){var Q;if(Q=J(L),Q)return Q.cdata=!0}}()},ae.prototype.parseString=function(ie,he){var J;he!=null&&typeof he=="function"&&(this.on("end",function(W){return this.reset(),he(null,W)}),this.on("error",function(W){return this.reset(),he(W)}));try{return ie=ie.toString(),ie.trim()===""?(this.emit("end",null),!0):(ie=m.stripBOM(ie),this.options.async?(this.remaining=ie,R(this.processAsync),this.saxParser):this.saxParser.write(ie).close())}catch(W){if(J=W,this.saxParser.errThrown||this.saxParser.ended){if(this.saxParser.ended)throw J}else return this.emit("error",J),this.saxParser.errThrown=!0}},ae.prototype.parseStringPromise=function(ie){return new Promise(function(he){return function(J,W){return he.parseString(ie,function(X,L){return X?W(X):J(L)})}}(this))},ae}(V),k.parseString=function(e,ae,ie){var he,J,W;return ie!=null?(typeof ie=="function"&&(he=ie),typeof ae=="object"&&(J=ae)):(typeof ae=="function"&&(he=ae),J={}),W=new k.Parser(J),W.parseString(e,he)},k.parseStringPromise=function(e,ae){var ie,he;return typeof ae=="object"&&(ie=ae),he=new k.Parser(ie),he.parseStringPromise(e)}}).call(commonjsGlobal$1)}(parser)),parser}var parseStringPromise;(function(){var k,m,M,G=function(q,$){for(var D in $)V.call($,D)&&(q[D]=$[D]);function B(){this.constructor=q}return B.prototype=$.prototype,q.prototype=new B,q.__super__=$.prototype,q},V={}.hasOwnProperty;m=requireDefaults(),k=requireBuilder(),M=requireParser(),requireProcessors(),m.defaults,function(q){G($,q);function $(D){this.message=D}return $}(Error),k.Builder,M.Parser,M.parseString,parseStringPromise=M.parseStringPromise}).call(commonjsGlobal$1);var pdf={exports:{}},dommatrix={exports:{}};/*! * DOMMatrix v1.0.3 (https://thednp.github.io/dommatrix/) * Copyright 2022 © thednp * Licensed under MIT (https://github.com/thednp/DOMMatrix/blob/master/LICENSE) -*/var hasRequiredDommatrix;function requireDommatrix(){return hasRequiredDommatrix||(hasRequiredDommatrix=1,function(k,m){(function(M,G){k.exports=G()})(commonjsGlobal$1,function(){function M(X){var W=new ae,L=Array.from(X);if(!L.every(function(Ue){return!Number.isNaN(Ue)}))throw TypeError('CSSMatrix: "'+X+'" must only have numbers.');if(L.length===16){var Q=L[0],ce=L[1],de=L[2],oe=L[3],se=L[4],me=L[5],Ee=L[6],ke=L[7],xe=L[8],fe=L[9],ve=L[10],ye=L[11],Ce=L[12],pe=L[13],_e=L[14],Ge=L[15];W.m11=Q,W.a=Q,W.m21=se,W.c=se,W.m31=xe,W.m41=Ce,W.e=Ce,W.m12=ce,W.b=ce,W.m22=me,W.d=me,W.m32=fe,W.m42=pe,W.f=pe,W.m13=de,W.m23=Ee,W.m33=ve,W.m43=_e,W.m14=oe,W.m24=ke,W.m34=ye,W.m44=Ge}else if(L.length===6){var Te=L[0],Ne=L[1],Ze=L[2],ze=L[3],Ae=L[4],De=L[5];W.m11=Te,W.a=Te,W.m12=Ne,W.b=Ne,W.m21=Ze,W.c=Ze,W.m22=ze,W.d=ze,W.m41=Ae,W.e=Ae,W.m42=De,W.f=De}else throw new TypeError("CSSMatrix: expecting an Array of 6/16 values.");return W}function G(X){var W=Object.keys(new ae);if(typeof X=="object"&&W.every(function(L){return L in X}))return M([X.m11,X.m12,X.m13,X.m14,X.m21,X.m22,X.m23,X.m24,X.m31,X.m32,X.m33,X.m34,X.m41,X.m42,X.m43,X.m44]);throw TypeError('CSSMatrix: "'+JSON.stringify(X)+'" is not a DOMMatrix / CSSMatrix / JSON compatible object.')}function V(X){if(typeof X!="string")throw TypeError('CSSMatrix: "'+X+'" is not a string.');var W=String(X).replace(/\s/g,""),L=new ae,Q='CSSMatrix: invalid transform string "'+X+'"';return W.split(")").filter(function(ce){return ce}).forEach(function(ce){var de=ce.split("("),oe=de[0],se=de[1];if(!se)throw TypeError(Q);var me=se.split(",").map(function(Ae){return Ae.includes("rad")?parseFloat(Ae)*(180/Math.PI):parseFloat(Ae)}),Ee=me[0],ke=me[1],xe=me[2],fe=me[3],ve=[Ee,ke,xe],ye=[Ee,ke,xe,fe];if(oe==="perspective"&&Ee&&[ke,xe].every(function(Ae){return Ae===void 0}))L.m34=-1/Ee;else if(oe.includes("matrix")&&[6,16].includes(me.length)&&me.every(function(Ae){return!Number.isNaN(+Ae)})){var Ce=me.map(function(Ae){return Math.abs(Ae)<1e-6?0:Ae});L=L.multiply(M(Ce))}else if(oe==="translate3d"&&ve.every(function(Ae){return!Number.isNaN(+Ae)}))L=L.translate(Ee,ke,xe);else if(oe==="translate"&&Ee&&xe===void 0)L=L.translate(Ee,ke||0,0);else if(oe==="rotate3d"&&ye.every(function(Ae){return!Number.isNaN(+Ae)})&&fe)L=L.rotateAxisAngle(Ee,ke,xe,fe);else if(oe==="rotate"&&Ee&&[ke,xe].every(function(Ae){return Ae===void 0}))L=L.rotate(0,0,Ee);else if(oe==="scale3d"&&ve.every(function(Ae){return!Number.isNaN(+Ae)})&&ve.some(function(Ae){return Ae!==1}))L=L.scale(Ee,ke,xe);else if(oe==="scale"&&!Number.isNaN(Ee)&&Ee!==1&&xe===void 0){var pe=Number.isNaN(+ke),_e=pe?Ee:ke;L=L.scale(Ee,_e,1)}else if(oe==="skew"&&(Ee||!Number.isNaN(Ee)&&ke)&&xe===void 0)L=L.skew(Ee,ke||0);else if(/[XYZ]/.test(oe)&&Ee&&[ke,xe].every(function(Ae){return Ae===void 0})&&["translate","rotate","scale","skew"].some(function(Ae){return oe.includes(Ae)}))if(["skewX","skewY"].includes(oe))L=L[oe](Ee);else{var Ge=oe.replace(/[XYZ]/,""),Te=oe.replace(Ge,""),Ne=["X","Y","Z"].indexOf(Te),Ze=Ge==="scale"?1:0,ze=[Ne===0?Ee:Ze,Ne===1?Ee:Ze,Ne===2?Ee:Ze];L=L[Ge].apply(L,ze)}else throw TypeError(Q)}),L}function q(X,W){return W?[X.a,X.b,X.c,X.d,X.e,X.f]:[X.m11,X.m12,X.m13,X.m14,X.m21,X.m22,X.m23,X.m24,X.m31,X.m32,X.m33,X.m34,X.m41,X.m42,X.m43,X.m44]}function $(X,W,L){var Q=new ae;return Q.m41=X,Q.e=X,Q.m42=W,Q.f=W,Q.m43=L,Q}function D(X,W,L){var Q=new ae,ce=Math.PI/180,de=X*ce,oe=W*ce,se=L*ce,me=Math.cos(de),Ee=-Math.sin(de),ke=Math.cos(oe),xe=-Math.sin(oe),fe=Math.cos(se),ve=-Math.sin(se),ye=ke*fe,Ce=-ke*ve;Q.m11=ye,Q.a=ye,Q.m12=Ce,Q.b=Ce,Q.m13=xe;var pe=Ee*xe*fe+me*ve;Q.m21=pe,Q.c=pe;var _e=me*fe-Ee*xe*ve;return Q.m22=_e,Q.d=_e,Q.m23=-Ee*ke,Q.m31=Ee*ve-me*xe*fe,Q.m32=Ee*fe+me*xe*ve,Q.m33=me*ke,Q}function B(X,W,L,Q){var ce=new ae,de=Math.sqrt(X*X+W*W+L*L);if(de===0)return ce;var oe=X/de,se=W/de,me=L/de,Ee=Q*(Math.PI/360),ke=Math.sin(Ee),xe=Math.cos(Ee),fe=ke*ke,ve=oe*oe,ye=se*se,Ce=me*me,pe=1-2*(ye+Ce)*fe;ce.m11=pe,ce.a=pe;var _e=2*(oe*se*fe+me*ke*xe);ce.m12=_e,ce.b=_e,ce.m13=2*(oe*me*fe-se*ke*xe);var Ge=2*(se*oe*fe-me*ke*xe);ce.m21=Ge,ce.c=Ge;var Te=1-2*(Ce+ve)*fe;return ce.m22=Te,ce.d=Te,ce.m23=2*(se*me*fe+oe*ke*xe),ce.m31=2*(me*oe*fe+se*ke*xe),ce.m32=2*(me*se*fe-oe*ke*xe),ce.m33=1-2*(ve+ye)*fe,ce}function R(X,W,L){var Q=new ae;return Q.m11=X,Q.a=X,Q.m22=W,Q.d=W,Q.m33=L,Q}function U(X,W){var L=new ae;if(X){var Q=X*Math.PI/180,ce=Math.tan(Q);L.m21=ce,L.c=ce}if(W){var de=W*Math.PI/180,oe=Math.tan(de);L.m12=oe,L.b=oe}return L}function K(X){return U(X,0)}function z(X){return U(0,X)}function e(X,W){var L=W.m11*X.m11+W.m12*X.m21+W.m13*X.m31+W.m14*X.m41,Q=W.m11*X.m12+W.m12*X.m22+W.m13*X.m32+W.m14*X.m42,ce=W.m11*X.m13+W.m12*X.m23+W.m13*X.m33+W.m14*X.m43,de=W.m11*X.m14+W.m12*X.m24+W.m13*X.m34+W.m14*X.m44,oe=W.m21*X.m11+W.m22*X.m21+W.m23*X.m31+W.m24*X.m41,se=W.m21*X.m12+W.m22*X.m22+W.m23*X.m32+W.m24*X.m42,me=W.m21*X.m13+W.m22*X.m23+W.m23*X.m33+W.m24*X.m43,Ee=W.m21*X.m14+W.m22*X.m24+W.m23*X.m34+W.m24*X.m44,ke=W.m31*X.m11+W.m32*X.m21+W.m33*X.m31+W.m34*X.m41,xe=W.m31*X.m12+W.m32*X.m22+W.m33*X.m32+W.m34*X.m42,fe=W.m31*X.m13+W.m32*X.m23+W.m33*X.m33+W.m34*X.m43,ve=W.m31*X.m14+W.m32*X.m24+W.m33*X.m34+W.m34*X.m44,ye=W.m41*X.m11+W.m42*X.m21+W.m43*X.m31+W.m44*X.m41,Ce=W.m41*X.m12+W.m42*X.m22+W.m43*X.m32+W.m44*X.m42,pe=W.m41*X.m13+W.m42*X.m23+W.m43*X.m33+W.m44*X.m43,_e=W.m41*X.m14+W.m42*X.m24+W.m43*X.m34+W.m44*X.m44;return M([L,Q,ce,de,oe,se,me,Ee,ke,xe,fe,ve,ye,Ce,pe,_e])}var ae=function(){for(var W=[],L=arguments.length;L--;)W[L]=arguments[L];var Q=this;if(Q.a=1,Q.b=0,Q.c=0,Q.d=1,Q.e=0,Q.f=0,Q.m11=1,Q.m12=0,Q.m13=0,Q.m14=0,Q.m21=0,Q.m22=1,Q.m23=0,Q.m24=0,Q.m31=0,Q.m32=0,Q.m33=1,Q.m34=0,Q.m41=0,Q.m42=0,Q.m43=0,Q.m44=1,W.length){var ce=[16,6].some(function(de){return de===W.length})?W:W[0];return Q.setMatrixValue(ce)}return Q},ie={isIdentity:{configurable:!0},is2D:{configurable:!0}};ie.isIdentity.get=function(){var X=this;return X.m11===1&&X.m12===0&&X.m13===0&&X.m14===0&&X.m21===0&&X.m22===1&&X.m23===0&&X.m24===0&&X.m31===0&&X.m32===0&&X.m33===1&&X.m34===0&&X.m41===0&&X.m42===0&&X.m43===0&&X.m44===1},ie.is2D.get=function(){var X=this;return X.m31===0&&X.m32===0&&X.m33===1&&X.m34===0&&X.m43===0&&X.m44===1},ae.prototype.setMatrixValue=function(W){var L=this;return typeof W=="string"&&W.length&&W!=="none"?V(W):[Array,Float64Array,Float32Array].some(function(Q){return W instanceof Q})?M(W):[ae,DOMMatrix,Object].some(function(Q){return W instanceof Q})?G(W):L},ae.prototype.toFloat32Array=function(W){return Float32Array.from(q(this,W))},ae.prototype.toFloat64Array=function(W){return Float64Array.from(q(this,W))},ae.prototype.toString=function(){var W=this,L=W.is2D,Q=W.toFloat64Array(L).join(", "),ce=L?"matrix":"matrix3d";return ce+"("+Q+")"},ae.prototype.toJSON=function(){var W=this,L=W.is2D,Q=W.isIdentity;return Object.assign({},W,{is2D:L,isIdentity:Q})},ae.prototype.multiply=function(W){return e(this,W)},ae.prototype.translate=function(W,L,Q){var ce=W,de=L,oe=Q;return de===void 0&&(de=0),oe===void 0&&(oe=0),e(this,$(ce,de,oe))},ae.prototype.scale=function(W,L,Q){var ce=W,de=L,oe=Q;return de===void 0&&(de=W),oe===void 0&&(oe=1),e(this,R(ce,de,oe))},ae.prototype.rotate=function(W,L,Q){var ce=W,de=L||0,oe=Q||0;return typeof W=="number"&&L===void 0&&Q===void 0&&(oe=ce,ce=0,de=0),e(this,D(ce,de,oe))},ae.prototype.rotateAxisAngle=function(W,L,Q,ce){if([W,L,Q,ce].some(function(de){return Number.isNaN(+de)}))throw new TypeError("CSSMatrix: expecting 4 values");return e(this,B(W,L,Q,ce))},ae.prototype.skewX=function(W){return e(this,K(W))},ae.prototype.skewY=function(W){return e(this,z(W))},ae.prototype.skew=function(W,L){return e(this,U(W,L))},ae.prototype.transformPoint=function(W){var L=this,Q=L.m11*W.x+L.m21*W.y+L.m31*W.z+L.m41*W.w,ce=L.m12*W.x+L.m22*W.y+L.m32*W.z+L.m42*W.w,de=L.m13*W.x+L.m23*W.y+L.m33*W.z+L.m43*W.w,oe=L.m14*W.x+L.m24*W.y+L.m34*W.z+L.m44*W.w;return W instanceof DOMPoint?new DOMPoint(Q,ce,de,oe):{x:Q,y:ce,z:de,w:oe}},Object.defineProperties(ae.prototype,ie),Object.assign(ae,{Translate:$,Rotate:D,RotateAxisAngle:B,Scale:R,SkewX:K,SkewY:z,Skew:U,Multiply:e,fromArray:M,fromMatrix:G,fromString:V,toArray:q});var he="1.0.3",J=he;return Object.assign(ae,{Version:J}),ae})}(dommatrix)),dommatrix.exports}var ponyfill={exports:{}};/** +*/var hasRequiredDommatrix;function requireDommatrix(){return hasRequiredDommatrix||(hasRequiredDommatrix=1,function(k,m){(function(M,G){k.exports=G()})(commonjsGlobal$1,function(){function M(W){var X=new ae,L=Array.from(W);if(!L.every(function(Pe){return!Number.isNaN(Pe)}))throw TypeError('CSSMatrix: "'+W+'" must only have numbers.');if(L.length===16){var Q=L[0],ce=L[1],de=L[2],se=L[3],oe=L[4],me=L[5],Ee=L[6],ke=L[7],xe=L[8],fe=L[9],ve=L[10],ye=L[11],Ce=L[12],pe=L[13],_e=L[14],Ge=L[15];X.m11=Q,X.a=Q,X.m21=oe,X.c=oe,X.m31=xe,X.m41=Ce,X.e=Ce,X.m12=ce,X.b=ce,X.m22=me,X.d=me,X.m32=fe,X.m42=pe,X.f=pe,X.m13=de,X.m23=Ee,X.m33=ve,X.m43=_e,X.m14=se,X.m24=ke,X.m34=ye,X.m44=Ge}else if(L.length===6){var Ae=L[0],Ne=L[1],Ze=L[2],ze=L[3],Te=L[4],Fe=L[5];X.m11=Ae,X.a=Ae,X.m12=Ne,X.b=Ne,X.m21=Ze,X.c=Ze,X.m22=ze,X.d=ze,X.m41=Te,X.e=Te,X.m42=Fe,X.f=Fe}else throw new TypeError("CSSMatrix: expecting an Array of 6/16 values.");return X}function G(W){var X=Object.keys(new ae);if(typeof W=="object"&&X.every(function(L){return L in W}))return M([W.m11,W.m12,W.m13,W.m14,W.m21,W.m22,W.m23,W.m24,W.m31,W.m32,W.m33,W.m34,W.m41,W.m42,W.m43,W.m44]);throw TypeError('CSSMatrix: "'+JSON.stringify(W)+'" is not a DOMMatrix / CSSMatrix / JSON compatible object.')}function V(W){if(typeof W!="string")throw TypeError('CSSMatrix: "'+W+'" is not a string.');var X=String(W).replace(/\s/g,""),L=new ae,Q='CSSMatrix: invalid transform string "'+W+'"';return X.split(")").filter(function(ce){return ce}).forEach(function(ce){var de=ce.split("("),se=de[0],oe=de[1];if(!oe)throw TypeError(Q);var me=oe.split(",").map(function(Te){return Te.includes("rad")?parseFloat(Te)*(180/Math.PI):parseFloat(Te)}),Ee=me[0],ke=me[1],xe=me[2],fe=me[3],ve=[Ee,ke,xe],ye=[Ee,ke,xe,fe];if(se==="perspective"&&Ee&&[ke,xe].every(function(Te){return Te===void 0}))L.m34=-1/Ee;else if(se.includes("matrix")&&[6,16].includes(me.length)&&me.every(function(Te){return!Number.isNaN(+Te)})){var Ce=me.map(function(Te){return Math.abs(Te)<1e-6?0:Te});L=L.multiply(M(Ce))}else if(se==="translate3d"&&ve.every(function(Te){return!Number.isNaN(+Te)}))L=L.translate(Ee,ke,xe);else if(se==="translate"&&Ee&&xe===void 0)L=L.translate(Ee,ke||0,0);else if(se==="rotate3d"&&ye.every(function(Te){return!Number.isNaN(+Te)})&&fe)L=L.rotateAxisAngle(Ee,ke,xe,fe);else if(se==="rotate"&&Ee&&[ke,xe].every(function(Te){return Te===void 0}))L=L.rotate(0,0,Ee);else if(se==="scale3d"&&ve.every(function(Te){return!Number.isNaN(+Te)})&&ve.some(function(Te){return Te!==1}))L=L.scale(Ee,ke,xe);else if(se==="scale"&&!Number.isNaN(Ee)&&Ee!==1&&xe===void 0){var pe=Number.isNaN(+ke),_e=pe?Ee:ke;L=L.scale(Ee,_e,1)}else if(se==="skew"&&(Ee||!Number.isNaN(Ee)&&ke)&&xe===void 0)L=L.skew(Ee,ke||0);else if(/[XYZ]/.test(se)&&Ee&&[ke,xe].every(function(Te){return Te===void 0})&&["translate","rotate","scale","skew"].some(function(Te){return se.includes(Te)}))if(["skewX","skewY"].includes(se))L=L[se](Ee);else{var Ge=se.replace(/[XYZ]/,""),Ae=se.replace(Ge,""),Ne=["X","Y","Z"].indexOf(Ae),Ze=Ge==="scale"?1:0,ze=[Ne===0?Ee:Ze,Ne===1?Ee:Ze,Ne===2?Ee:Ze];L=L[Ge].apply(L,ze)}else throw TypeError(Q)}),L}function q(W,X){return X?[W.a,W.b,W.c,W.d,W.e,W.f]:[W.m11,W.m12,W.m13,W.m14,W.m21,W.m22,W.m23,W.m24,W.m31,W.m32,W.m33,W.m34,W.m41,W.m42,W.m43,W.m44]}function $(W,X,L){var Q=new ae;return Q.m41=W,Q.e=W,Q.m42=X,Q.f=X,Q.m43=L,Q}function D(W,X,L){var Q=new ae,ce=Math.PI/180,de=W*ce,se=X*ce,oe=L*ce,me=Math.cos(de),Ee=-Math.sin(de),ke=Math.cos(se),xe=-Math.sin(se),fe=Math.cos(oe),ve=-Math.sin(oe),ye=ke*fe,Ce=-ke*ve;Q.m11=ye,Q.a=ye,Q.m12=Ce,Q.b=Ce,Q.m13=xe;var pe=Ee*xe*fe+me*ve;Q.m21=pe,Q.c=pe;var _e=me*fe-Ee*xe*ve;return Q.m22=_e,Q.d=_e,Q.m23=-Ee*ke,Q.m31=Ee*ve-me*xe*fe,Q.m32=Ee*fe+me*xe*ve,Q.m33=me*ke,Q}function B(W,X,L,Q){var ce=new ae,de=Math.sqrt(W*W+X*X+L*L);if(de===0)return ce;var se=W/de,oe=X/de,me=L/de,Ee=Q*(Math.PI/360),ke=Math.sin(Ee),xe=Math.cos(Ee),fe=ke*ke,ve=se*se,ye=oe*oe,Ce=me*me,pe=1-2*(ye+Ce)*fe;ce.m11=pe,ce.a=pe;var _e=2*(se*oe*fe+me*ke*xe);ce.m12=_e,ce.b=_e,ce.m13=2*(se*me*fe-oe*ke*xe);var Ge=2*(oe*se*fe-me*ke*xe);ce.m21=Ge,ce.c=Ge;var Ae=1-2*(Ce+ve)*fe;return ce.m22=Ae,ce.d=Ae,ce.m23=2*(oe*me*fe+se*ke*xe),ce.m31=2*(me*se*fe+oe*ke*xe),ce.m32=2*(me*oe*fe-se*ke*xe),ce.m33=1-2*(ve+ye)*fe,ce}function R(W,X,L){var Q=new ae;return Q.m11=W,Q.a=W,Q.m22=X,Q.d=X,Q.m33=L,Q}function U(W,X){var L=new ae;if(W){var Q=W*Math.PI/180,ce=Math.tan(Q);L.m21=ce,L.c=ce}if(X){var de=X*Math.PI/180,se=Math.tan(de);L.m12=se,L.b=se}return L}function K(W){return U(W,0)}function z(W){return U(0,W)}function e(W,X){var L=X.m11*W.m11+X.m12*W.m21+X.m13*W.m31+X.m14*W.m41,Q=X.m11*W.m12+X.m12*W.m22+X.m13*W.m32+X.m14*W.m42,ce=X.m11*W.m13+X.m12*W.m23+X.m13*W.m33+X.m14*W.m43,de=X.m11*W.m14+X.m12*W.m24+X.m13*W.m34+X.m14*W.m44,se=X.m21*W.m11+X.m22*W.m21+X.m23*W.m31+X.m24*W.m41,oe=X.m21*W.m12+X.m22*W.m22+X.m23*W.m32+X.m24*W.m42,me=X.m21*W.m13+X.m22*W.m23+X.m23*W.m33+X.m24*W.m43,Ee=X.m21*W.m14+X.m22*W.m24+X.m23*W.m34+X.m24*W.m44,ke=X.m31*W.m11+X.m32*W.m21+X.m33*W.m31+X.m34*W.m41,xe=X.m31*W.m12+X.m32*W.m22+X.m33*W.m32+X.m34*W.m42,fe=X.m31*W.m13+X.m32*W.m23+X.m33*W.m33+X.m34*W.m43,ve=X.m31*W.m14+X.m32*W.m24+X.m33*W.m34+X.m34*W.m44,ye=X.m41*W.m11+X.m42*W.m21+X.m43*W.m31+X.m44*W.m41,Ce=X.m41*W.m12+X.m42*W.m22+X.m43*W.m32+X.m44*W.m42,pe=X.m41*W.m13+X.m42*W.m23+X.m43*W.m33+X.m44*W.m43,_e=X.m41*W.m14+X.m42*W.m24+X.m43*W.m34+X.m44*W.m44;return M([L,Q,ce,de,se,oe,me,Ee,ke,xe,fe,ve,ye,Ce,pe,_e])}var ae=function(){for(var X=[],L=arguments.length;L--;)X[L]=arguments[L];var Q=this;if(Q.a=1,Q.b=0,Q.c=0,Q.d=1,Q.e=0,Q.f=0,Q.m11=1,Q.m12=0,Q.m13=0,Q.m14=0,Q.m21=0,Q.m22=1,Q.m23=0,Q.m24=0,Q.m31=0,Q.m32=0,Q.m33=1,Q.m34=0,Q.m41=0,Q.m42=0,Q.m43=0,Q.m44=1,X.length){var ce=[16,6].some(function(de){return de===X.length})?X:X[0];return Q.setMatrixValue(ce)}return Q},ie={isIdentity:{configurable:!0},is2D:{configurable:!0}};ie.isIdentity.get=function(){var W=this;return W.m11===1&&W.m12===0&&W.m13===0&&W.m14===0&&W.m21===0&&W.m22===1&&W.m23===0&&W.m24===0&&W.m31===0&&W.m32===0&&W.m33===1&&W.m34===0&&W.m41===0&&W.m42===0&&W.m43===0&&W.m44===1},ie.is2D.get=function(){var W=this;return W.m31===0&&W.m32===0&&W.m33===1&&W.m34===0&&W.m43===0&&W.m44===1},ae.prototype.setMatrixValue=function(X){var L=this;return typeof X=="string"&&X.length&&X!=="none"?V(X):[Array,Float64Array,Float32Array].some(function(Q){return X instanceof Q})?M(X):[ae,DOMMatrix,Object].some(function(Q){return X instanceof Q})?G(X):L},ae.prototype.toFloat32Array=function(X){return Float32Array.from(q(this,X))},ae.prototype.toFloat64Array=function(X){return Float64Array.from(q(this,X))},ae.prototype.toString=function(){var X=this,L=X.is2D,Q=X.toFloat64Array(L).join(", "),ce=L?"matrix":"matrix3d";return ce+"("+Q+")"},ae.prototype.toJSON=function(){var X=this,L=X.is2D,Q=X.isIdentity;return Object.assign({},X,{is2D:L,isIdentity:Q})},ae.prototype.multiply=function(X){return e(this,X)},ae.prototype.translate=function(X,L,Q){var ce=X,de=L,se=Q;return de===void 0&&(de=0),se===void 0&&(se=0),e(this,$(ce,de,se))},ae.prototype.scale=function(X,L,Q){var ce=X,de=L,se=Q;return de===void 0&&(de=X),se===void 0&&(se=1),e(this,R(ce,de,se))},ae.prototype.rotate=function(X,L,Q){var ce=X,de=L||0,se=Q||0;return typeof X=="number"&&L===void 0&&Q===void 0&&(se=ce,ce=0,de=0),e(this,D(ce,de,se))},ae.prototype.rotateAxisAngle=function(X,L,Q,ce){if([X,L,Q,ce].some(function(de){return Number.isNaN(+de)}))throw new TypeError("CSSMatrix: expecting 4 values");return e(this,B(X,L,Q,ce))},ae.prototype.skewX=function(X){return e(this,K(X))},ae.prototype.skewY=function(X){return e(this,z(X))},ae.prototype.skew=function(X,L){return e(this,U(X,L))},ae.prototype.transformPoint=function(X){var L=this,Q=L.m11*X.x+L.m21*X.y+L.m31*X.z+L.m41*X.w,ce=L.m12*X.x+L.m22*X.y+L.m32*X.z+L.m42*X.w,de=L.m13*X.x+L.m23*X.y+L.m33*X.z+L.m43*X.w,se=L.m14*X.x+L.m24*X.y+L.m34*X.z+L.m44*X.w;return X instanceof DOMPoint?new DOMPoint(Q,ce,de,se):{x:Q,y:ce,z:de,w:se}},Object.defineProperties(ae.prototype,ie),Object.assign(ae,{Translate:$,Rotate:D,RotateAxisAngle:B,Scale:R,SkewX:K,SkewY:z,Skew:U,Multiply:e,fromArray:M,fromMatrix:G,fromString:V,toArray:q});var he="1.0.3",J=he;return Object.assign(ae,{Version:J}),ae})}(dommatrix)),dommatrix.exports}var ponyfill={exports:{}};/** * @license * web-streams-polyfill v3.3.3 * Copyright 2024 Mattias Buelens, Diwank Singh Tomer and other contributors. * This code is released under the MIT license. * SPDX-License-Identifier: MIT - */var hasRequiredPonyfill;function requirePonyfill(){return hasRequiredPonyfill||(hasRequiredPonyfill=1,function(k,m){(function(M,G){G(m)})(commonjsGlobal$1,function(M){var G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol:function(Xe){return"Symbol(".concat(Xe,")")};function V(Xe,ht){var Ot={label:0,sent:function(){if(vr[0]&1)throw vr[1];return vr[1]},trys:[],ops:[]},tr,dr,vr,$r;return $r={next:Zr(0),throw:Zr(1),return:Zr(2)},typeof Symbol=="function"&&($r[Symbol.iterator]=function(){return this}),$r;function Zr(en){return function(Tn){return _n([en,Tn])}}function _n(en){if(tr)throw new TypeError("Generator is already executing.");for(;$r&&($r=0,en[0]&&(Ot=0)),Ot;)try{if(tr=1,dr&&(vr=en[0]&2?dr.return:en[0]?dr.throw||((vr=dr.return)&&vr.call(dr),0):dr.next)&&!(vr=vr.call(dr,en[1])).done)return vr;switch(dr=0,vr&&(en=[en[0]&2,vr.value]),en[0]){case 0:case 1:vr=en;break;case 4:return Ot.label++,{value:en[1],done:!1};case 5:Ot.label++,dr=en[1],en=[0];continue;case 7:en=Ot.ops.pop(),Ot.trys.pop();continue;default:if(vr=Ot.trys,!(vr=vr.length>0&&vr[vr.length-1])&&(en[0]===6||en[0]===2)){Ot=0;continue}if(en[0]===3&&(!vr||en[1]>vr[0]&&en[1]=Xe.length&&(Xe=void 0),{value:Xe&&Xe[tr++],done:!Xe}}};throw new TypeError(ht?"Object is not iterable.":"Symbol.iterator is not defined.")}function $(Xe){return this instanceof $?(this.v=Xe,this):new $(Xe)}function D(Xe,ht,Ot){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var tr=Ot.apply(Xe,ht||[]),dr,vr=[];return dr={},$r("next"),$r("throw"),$r("return"),dr[Symbol.asyncIterator]=function(){return this},dr;function $r(Pn){tr[Pn]&&(dr[Pn]=function(ai){return new Promise(function(wi,Mi){vr.push([Pn,ai,wi,Mi])>1||Zr(Pn,ai)})})}function Zr(Pn,ai){try{_n(tr[Pn](ai))}catch(wi){Nn(vr[0][3],wi)}}function _n(Pn){Pn.value instanceof $?Promise.resolve(Pn.value.v).then(en,Tn):Nn(vr[0][2],Pn)}function en(Pn){Zr("next",Pn)}function Tn(Pn){Zr("throw",Pn)}function Nn(Pn,ai){Pn(ai),vr.shift(),vr.length&&Zr(vr[0][0],vr[0][1])}}function B(Xe){var ht,Ot;return ht={},tr("next"),tr("throw",function(dr){throw dr}),tr("return"),ht[Symbol.iterator]=function(){return this},ht;function tr(dr,vr){ht[dr]=Xe[dr]?function($r){return(Ot=!Ot)?{value:$(Xe[dr]($r)),done:!1}:vr?vr($r):$r}:vr}}function R(Xe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ht=Xe[Symbol.asyncIterator],Ot;return ht?ht.call(Xe):(Xe=typeof q=="function"?q(Xe):Xe[Symbol.iterator](),Ot={},tr("next"),tr("throw"),tr("return"),Ot[Symbol.asyncIterator]=function(){return this},Ot);function tr(vr){Ot[vr]=Xe[vr]&&function($r){return new Promise(function(Zr,_n){$r=Xe[vr]($r),dr(Zr,_n,$r.done,$r.value)})}}function dr(vr,$r,Zr,_n){Promise.resolve(_n).then(function(en){vr({value:en,done:Zr})},$r)}}typeof SuppressedError=="function"&&SuppressedError;function U(){}function K(Xe){return typeof Xe=="object"&&Xe!==null||typeof Xe=="function"}var z=U;function e(Xe,ht){try{Object.defineProperty(Xe,"name",{value:ht,configurable:!0})}catch{}}var ae=Promise,ie=Promise.prototype.then,he=Promise.reject.bind(ae);function J(Xe){return new ae(Xe)}function X(Xe){return J(function(ht){return ht(Xe)})}function W(Xe){return he(Xe)}function L(Xe,ht,Ot){return ie.call(Xe,ht,Ot)}function Q(Xe,ht,Ot){L(L(Xe,ht,Ot),void 0,z)}function ce(Xe,ht){Q(Xe,ht)}function de(Xe,ht){Q(Xe,void 0,ht)}function oe(Xe,ht,Ot){return L(Xe,ht,Ot)}function se(Xe){L(Xe,void 0,z)}var me=function(Xe){if(typeof queueMicrotask=="function")me=queueMicrotask;else{var ht=X(void 0);me=function(Ot){return L(ht,Ot)}}return me(Xe)};function Ee(Xe,ht,Ot){if(typeof Xe!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(Xe,ht,Ot)}function ke(Xe,ht,Ot){try{return X(Ee(Xe,ht,Ot))}catch(tr){return W(tr)}}var xe=16384,fe=function(){function Xe(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(Xe.prototype,"length",{get:function(){return this._size},enumerable:!1,configurable:!0}),Xe.prototype.push=function(ht){var Ot=this._back,tr=Ot;Ot._elements.length===xe-1&&(tr={_elements:[],_next:void 0}),Ot._elements.push(ht),tr!==Ot&&(this._back=tr,Ot._next=tr),++this._size},Xe.prototype.shift=function(){var ht=this._front,Ot=ht,tr=this._cursor,dr=tr+1,vr=ht._elements,$r=vr[tr];return dr===xe&&(Ot=ht._next,dr=0),--this._size,this._cursor=dr,ht!==Ot&&(this._front=Ot),vr[tr]=void 0,$r},Xe.prototype.forEach=function(ht){for(var Ot=this._cursor,tr=this._front,dr=tr._elements;(Ot!==dr.length||tr._next!==void 0)&&!(Ot===dr.length&&(tr=tr._next,dr=tr._elements,Ot=0,dr.length===0));)ht(dr[Ot]),++Ot},Xe.prototype.peek=function(){var ht=this._front,Ot=this._cursor;return ht._elements[Ot]},Xe}(),ve=G("[[AbortSteps]]"),ye=G("[[ErrorSteps]]"),Ce=G("[[CancelSteps]]"),pe=G("[[PullSteps]]"),_e=G("[[ReleaseSteps]]");function Ge(Xe,ht){Xe._ownerReadableStream=ht,ht._reader=Xe,ht._state==="readable"?ze(Xe):ht._state==="closed"?De(Xe):Ae(Xe,ht._storedError)}function Te(Xe,ht){var Ot=Xe._ownerReadableStream;return Gi(Ot,ht)}function Ne(Xe){var ht=Xe._ownerReadableStream;ht._state==="readable"?Ue(Xe,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):we(Xe,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),ht._readableStreamController[_e](),ht._reader=void 0,Xe._ownerReadableStream=void 0}function Ze(Xe){return new TypeError("Cannot "+Xe+" a stream using a released reader")}function ze(Xe){Xe._closedPromise=J(function(ht,Ot){Xe._closedPromise_resolve=ht,Xe._closedPromise_reject=Ot})}function Ae(Xe,ht){ze(Xe),Ue(Xe,ht)}function De(Xe){ze(Xe),Ie(Xe)}function Ue(Xe,ht){Xe._closedPromise_reject!==void 0&&(se(Xe._closedPromise),Xe._closedPromise_reject(ht),Xe._closedPromise_resolve=void 0,Xe._closedPromise_reject=void 0)}function we(Xe,ht){Ae(Xe,ht)}function Ie(Xe){Xe._closedPromise_resolve!==void 0&&(Xe._closedPromise_resolve(void 0),Xe._closedPromise_resolve=void 0,Xe._closedPromise_reject=void 0)}var Be=Number.isFinite||function(Xe){return typeof Xe=="number"&&isFinite(Xe)},Ke=Math.trunc||function(Xe){return Xe<0?Math.ceil(Xe):Math.floor(Xe)};function Ve(Xe){return typeof Xe=="object"||typeof Xe=="function"}function je(Xe,ht){if(Xe!==void 0&&!Ve(Xe))throw new TypeError("".concat(ht," is not an object."))}function Le(Xe,ht){if(typeof Xe!="function")throw new TypeError("".concat(ht," is not a function."))}function et(Xe){return typeof Xe=="object"&&Xe!==null||typeof Xe=="function"}function Qe(Xe,ht){if(!et(Xe))throw new TypeError("".concat(ht," is not an object."))}function Fe(Xe,ht,Ot){if(Xe===void 0)throw new TypeError("Parameter ".concat(ht," is required in '").concat(Ot,"'."))}function $e(Xe,ht,Ot){if(Xe===void 0)throw new TypeError("".concat(ht," is required in '").concat(Ot,"'."))}function Ye(Xe){return Number(Xe)}function tt(Xe){return Xe===0?0:Xe}function ot(Xe){return tt(Ke(Xe))}function st(Xe,ht){var Ot=0,tr=Number.MAX_SAFE_INTEGER,dr=Number(Xe);if(dr=tt(dr),!Be(dr))throw new TypeError("".concat(ht," is not a finite number"));if(dr=ot(dr),drtr)throw new TypeError("".concat(ht," is outside the accepted range of ").concat(Ot," to ").concat(tr,", inclusive"));return!Be(dr)||dr===0?0:dr}function dt(Xe,ht){if(!Ea(Xe))throw new TypeError("".concat(ht," is not a ReadableStream."))}function ct(Xe){return new Je(Xe)}function mt(Xe,ht){Xe._reader._readRequests.push(ht)}function ut(Xe,ht,Ot){var tr=Xe._reader,dr=tr._readRequests.shift();Ot?dr._closeSteps():dr._chunkSteps(ht)}function rt(Xe){return Xe._reader._readRequests.length}function He(Xe){var ht=Xe._reader;return!(ht===void 0||!St(ht))}var Je=function(){function Xe(ht){if(Fe(ht,1,"ReadableStreamDefaultReader"),dt(ht,"First parameter"),Ca(ht))throw new TypeError("This stream has already been locked for exclusive reading by another reader");Ge(this,ht),this._readRequests=new fe}return Object.defineProperty(Xe.prototype,"closed",{get:function(){return St(this)?this._closedPromise:W(Pt("closed"))},enumerable:!1,configurable:!0}),Xe.prototype.cancel=function(ht){return ht===void 0&&(ht=void 0),St(this)?this._ownerReadableStream===void 0?W(Ze("cancel")):Te(this,ht):W(Pt("cancel"))},Xe.prototype.read=function(){if(!St(this))return W(Pt("read"));if(this._ownerReadableStream===void 0)return W(Ze("read from"));var ht,Ot,tr=J(function(vr,$r){ht=vr,Ot=$r}),dr={_chunkSteps:function(vr){return ht({value:vr,done:!1})},_closeSteps:function(){return ht({value:void 0,done:!0})},_errorSteps:function(vr){return Ot(vr)}};return bt(this,dr),tr},Xe.prototype.releaseLock=function(){if(!St(this))throw Pt("releaseLock");this._ownerReadableStream!==void 0&&pt(this)},Xe}();Object.defineProperties(Je.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),e(Je.prototype.cancel,"cancel"),e(Je.prototype.read,"read"),e(Je.prototype.releaseLock,"releaseLock"),typeof G.toStringTag=="symbol"&&Object.defineProperty(Je.prototype,G.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});function St(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_readRequests")?!1:Xe instanceof Je}function bt(Xe,ht){var Ot=Xe._ownerReadableStream;Ot._disturbed=!0,Ot._state==="closed"?ht._closeSteps():Ot._state==="errored"?ht._errorSteps(Ot._storedError):Ot._readableStreamController[pe](ht)}function pt(Xe){Ne(Xe);var ht=new TypeError("Reader was released");wt(Xe,ht)}function wt(Xe,ht){var Ot=Xe._readRequests;Xe._readRequests=new fe,Ot.forEach(function(tr){tr._errorSteps(ht)})}function Pt(Xe){return new TypeError("ReadableStreamDefaultReader.prototype.".concat(Xe," can only be used on a ReadableStreamDefaultReader"))}var Nt,Vt,Wt;function Mt(Xe){return Xe.slice()}function $t(Xe,ht,Ot,tr,dr){new Uint8Array(Xe).set(new Uint8Array(Ot,tr,dr),ht)}var Yt=function(Xe){return typeof Xe.transfer=="function"?Yt=function(ht){return ht.transfer()}:typeof structuredClone=="function"?Yt=function(ht){return structuredClone(ht,{transfer:[ht]})}:Yt=function(ht){return ht},Yt(Xe)},Ft=function(Xe){return typeof Xe.detached=="boolean"?Ft=function(ht){return ht.detached}:Ft=function(ht){return ht.byteLength===0},Ft(Xe)};function Jt(Xe,ht,Ot){if(Xe.slice)return Xe.slice(ht,Ot);var tr=Ot-ht,dr=new ArrayBuffer(tr);return $t(dr,0,Xe,ht,tr),dr}function er(Xe,ht){var Ot=Xe[ht];if(Ot!=null){if(typeof Ot!="function")throw new TypeError("".concat(String(ht)," is not a function"));return Ot}}function Bt(Xe){var ht,Ot=(ht={},ht[G.iterator]=function(){return Xe.iterator},ht),tr=function(){return D(this,arguments,function(){return V(this,function(vr){switch(vr.label){case 0:return[5,q(B(R(Ot)))];case 1:return[4,$.apply(void 0,[vr.sent()])];case 2:return[4,$.apply(void 0,[vr.sent()])];case 3:return[2,vr.sent()]}})})}(),dr=tr.next;return{iterator:tr,nextMethod:dr,done:!1}}var It=(Wt=(Nt=G.asyncIterator)!==null&&Nt!==void 0?Nt:(Vt=G.for)===null||Vt===void 0?void 0:Vt.call(G,"Symbol.asyncIterator"))!==null&&Wt!==void 0?Wt:"@@asyncIterator";function Dt(Xe,ht,Ot){if(ht===void 0&&(ht="sync"),Ot===void 0)if(ht==="async"){if(Ot=er(Xe,It),Ot===void 0){var tr=er(Xe,G.iterator),dr=Dt(Xe,"sync",tr);return Bt(dr)}}else Ot=er(Xe,G.iterator);if(Ot===void 0)throw new TypeError("The object is not iterable");var vr=Ee(Ot,Xe,[]);if(!K(vr))throw new TypeError("The iterator method must return an object");var $r=vr.next;return{iterator:vr,nextMethod:$r,done:!1}}function Zt(Xe){var ht=Ee(Xe.nextMethod,Xe.iterator,[]);if(!K(ht))throw new TypeError("The iterator.next() method must return an object");return ht}function gr(Xe){return!!Xe.done}function fr(Xe){return Xe.value}var Dr,kr=(Dr={},Dr[It]=function(){return this},Dr);Object.defineProperty(kr,It,{enumerable:!1});var cr=function(){function Xe(ht,Ot){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=ht,this._preventCancel=Ot}return Xe.prototype.next=function(){var ht=this,Ot=function(){return ht._nextSteps()};return this._ongoingPromise=this._ongoingPromise?oe(this._ongoingPromise,Ot,Ot):Ot(),this._ongoingPromise},Xe.prototype.return=function(ht){var Ot=this,tr=function(){return Ot._returnSteps(ht)};return this._ongoingPromise?oe(this._ongoingPromise,tr,tr):tr()},Xe.prototype._nextSteps=function(){var ht=this;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});var Ot=this._reader,tr,dr,vr=J(function(Zr,_n){tr=Zr,dr=_n}),$r={_chunkSteps:function(Zr){ht._ongoingPromise=void 0,me(function(){return tr({value:Zr,done:!1})})},_closeSteps:function(){ht._ongoingPromise=void 0,ht._isFinished=!0,Ne(Ot),tr({value:void 0,done:!0})},_errorSteps:function(Zr){ht._ongoingPromise=void 0,ht._isFinished=!0,Ne(Ot),dr(Zr)}};return bt(Ot,$r),vr},Xe.prototype._returnSteps=function(ht){if(this._isFinished)return Promise.resolve({value:ht,done:!0});this._isFinished=!0;var Ot=this._reader;if(!this._preventCancel){var tr=Te(Ot,ht);return Ne(Ot),oe(tr,function(){return{value:ht,done:!0}})}return Ne(Ot),X({value:ht,done:!0})},Xe}(),Ar={next:function(){return vt(this)?this._asyncIteratorImpl.next():W(Xt("next"))},return:function(Xe){return vt(this)?this._asyncIteratorImpl.return(Xe):W(Xt("return"))}};Object.setPrototypeOf(Ar,kr);function yt(Xe,ht){var Ot=ct(Xe),tr=new cr(Ot,ht),dr=Object.create(Ar);return dr._asyncIteratorImpl=tr,dr}function vt(Xe){if(!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_asyncIteratorImpl"))return!1;try{return Xe._asyncIteratorImpl instanceof cr}catch{return!1}}function Xt(Xe){return new TypeError("ReadableStreamAsyncIterator.".concat(Xe," can only be used on a ReadableSteamAsyncIterator"))}var At=Number.isNaN||function(Xe){return Xe!==Xe};function zt(Xe){return!(typeof Xe!="number"||At(Xe)||Xe<0)}function Br(Xe){var ht=Jt(Xe.buffer,Xe.byteOffset,Xe.byteOffset+Xe.byteLength);return new Uint8Array(ht)}function br(Xe){var ht=Xe._queue.shift();return Xe._queueTotalSize-=ht.size,Xe._queueTotalSize<0&&(Xe._queueTotalSize=0),ht.value}function Ur(Xe,ht,Ot){if(!zt(Ot)||Ot===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");Xe._queue.push({value:ht,size:Ot}),Xe._queueTotalSize+=Ot}function un(Xe){var ht=Xe._queue.peek();return ht.value}function sr(Xe){Xe._queue=new fe,Xe._queueTotalSize=0}function ur(Xe){return Xe===DataView}function Cr(Xe){return ur(Xe.constructor)}function Tr(Xe){return ur(Xe)?1:Xe.BYTES_PER_ELEMENT}var jt=function(){function Xe(){throw new TypeError("Illegal constructor")}return Object.defineProperty(Xe.prototype,"view",{get:function(){if(!Gr(this))throw aa("view");return this._view},enumerable:!1,configurable:!0}),Xe.prototype.respond=function(ht){if(!Gr(this))throw aa("respond");if(Fe(ht,1,"respond"),ht=st(ht,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Ft(this._view.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");na(this._associatedReadableByteStreamController,ht)},Xe.prototype.respondWithNewView=function(ht){if(!Gr(this))throw aa("respondWithNewView");if(Fe(ht,1,"respondWithNewView"),!ArrayBuffer.isView(ht))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Ft(ht.buffer))throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");Fi(this._associatedReadableByteStreamController,ht)},Xe}();Object.defineProperties(jt.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),e(jt.prototype.respond,"respond"),e(jt.prototype.respondWithNewView,"respondWithNewView"),typeof G.toStringTag=="symbol"&&Object.defineProperty(jt.prototype,G.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var Wr=function(){function Xe(){throw new TypeError("Illegal constructor")}return Object.defineProperty(Xe.prototype,"byobRequest",{get:function(){if(!ir(this))throw Ii("byobRequest");return ha(this)},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"desiredSize",{get:function(){if(!ir(this))throw Ii("desiredSize");return ka(this)},enumerable:!1,configurable:!0}),Xe.prototype.close=function(){if(!ir(this))throw Ii("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var ht=this._controlledReadableByteStream._state;if(ht!=="readable")throw new TypeError("The stream (in ".concat(ht," state) is not in the readable state and cannot be closed"));Ri(this)},Xe.prototype.enqueue=function(ht){if(!ir(this))throw Ii("enqueue");if(Fe(ht,1,"enqueue"),!ArrayBuffer.isView(ht))throw new TypeError("chunk must be an array buffer view");if(ht.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(ht.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");var Ot=this._controlledReadableByteStream._state;if(Ot!=="readable")throw new TypeError("The stream (in ".concat(Ot," state) is not in the readable state and cannot be enqueued to"));oi(this,ht)},Xe.prototype.error=function(ht){if(ht===void 0&&(ht=void 0),!ir(this))throw Ii("error");mi(this,ht)},Xe.prototype[Ce]=function(ht){Xr(this),sr(this);var Ot=this._cancelAlgorithm(ht);return ra(this),Ot},Xe.prototype[pe]=function(ht){var Ot=this._controlledReadableByteStream;if(this._queueTotalSize>0){Ia(this,ht);return}var tr=this._autoAllocateChunkSize;if(tr!==void 0){var dr=void 0;try{dr=new ArrayBuffer(tr)}catch($r){ht._errorSteps($r);return}var vr={buffer:dr,bufferByteLength:tr,byteOffset:0,byteLength:tr,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(vr)}mt(Ot,ht),Jr(this)},Xe.prototype[_e]=function(){if(this._pendingPullIntos.length>0){var ht=this._pendingPullIntos.peek();ht.readerType="none",this._pendingPullIntos=new fe,this._pendingPullIntos.push(ht)}},Xe}();Object.defineProperties(Wr.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),e(Wr.prototype.close,"close"),e(Wr.prototype.enqueue,"enqueue"),e(Wr.prototype.error,"error"),typeof G.toStringTag=="symbol"&&Object.defineProperty(Wr.prototype,G.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function ir(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_controlledReadableByteStream")?!1:Xe instanceof Wr}function Gr(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_associatedReadableByteStreamController")?!1:Xe instanceof jt}function Jr(Xe){var ht=da(Xe);if(ht){if(Xe._pulling){Xe._pullAgain=!0;return}Xe._pulling=!0;var Ot=Xe._pullAlgorithm();Q(Ot,function(){return Xe._pulling=!1,Xe._pullAgain&&(Xe._pullAgain=!1,Jr(Xe)),null},function(tr){return mi(Xe,tr),null})}}function Xr(Xe){an(Xe),Xe._pendingPullIntos=new fe}function fn(Xe,ht){var Ot=!1;Xe._state==="closed"&&(Ot=!0);var tr=cn(ht);ht.readerType==="default"?ut(Xe,tr,Ot):ma(Xe,tr,Ot)}function cn(Xe){var ht=Xe.bytesFilled,Ot=Xe.elementSize;return new Xe.viewConstructor(Xe.buffer,Xe.byteOffset,ht/Ot)}function nn(Xe,ht,Ot,tr){Xe._queue.push({buffer:ht,byteOffset:Ot,byteLength:tr}),Xe._queueTotalSize+=tr}function ar(Xe,ht,Ot,tr){var dr;try{dr=Jt(ht,Ot,Ot+tr)}catch(vr){throw mi(Xe,vr),vr}nn(Xe,dr,0,tr)}function xr(Xe,ht){ht.bytesFilled>0&&ar(Xe,ht.buffer,ht.byteOffset,ht.bytesFilled),Ci(Xe)}function Lr(Xe,ht){var Ot=Math.min(Xe._queueTotalSize,ht.byteLength-ht.bytesFilled),tr=ht.bytesFilled+Ot,dr=Ot,vr=!1,$r=tr%ht.elementSize,Zr=tr-$r;Zr>=ht.minimumFill&&(dr=Zr-ht.bytesFilled,vr=!0);for(var _n=Xe._queue;dr>0;){var en=_n.peek(),Tn=Math.min(dr,en.byteLength),Nn=ht.byteOffset+ht.bytesFilled;$t(ht.buffer,Nn,en.buffer,en.byteOffset,Tn),en.byteLength===Tn?_n.shift():(en.byteOffset+=Tn,en.byteLength-=Tn),Xe._queueTotalSize-=Tn,Rr(Xe,Tn,ht),dr-=Tn}return vr}function Rr(Xe,ht,Ot){Ot.bytesFilled+=ht}function Mr(Xe){Xe._queueTotalSize===0&&Xe._closeRequested?(ra(Xe),qa(Xe._controlledReadableByteStream)):Jr(Xe)}function an(Xe){Xe._byobRequest!==null&&(Xe._byobRequest._associatedReadableByteStreamController=void 0,Xe._byobRequest._view=null,Xe._byobRequest=null)}function gn(Xe){for(;Xe._pendingPullIntos.length>0;){if(Xe._queueTotalSize===0)return;var ht=Xe._pendingPullIntos.peek();Lr(Xe,ht)&&(Ci(Xe),fn(Xe._controlledReadableByteStream,ht))}}function dn(Xe){for(var ht=Xe._controlledReadableByteStream._reader;ht._readRequests.length>0;){if(Xe._queueTotalSize===0)return;var Ot=ht._readRequests.shift();Ia(Xe,Ot)}}function pn(Xe,ht,Ot,tr){var dr=Xe._controlledReadableByteStream,vr=ht.constructor,$r=Tr(vr),Zr=ht.byteOffset,_n=ht.byteLength,en=Ot*$r,Tn;try{Tn=Yt(ht.buffer)}catch(Mi){tr._errorSteps(Mi);return}var Nn={buffer:Tn,bufferByteLength:Tn.byteLength,byteOffset:Zr,byteLength:_n,bytesFilled:0,minimumFill:en,elementSize:$r,viewConstructor:vr,readerType:"byob"};if(Xe._pendingPullIntos.length>0){Xe._pendingPullIntos.push(Nn),ki(dr,tr);return}if(dr._state==="closed"){var Pn=new vr(Nn.buffer,Nn.byteOffset,0);tr._closeSteps(Pn);return}if(Xe._queueTotalSize>0){if(Lr(Xe,Nn)){var ai=cn(Nn);Mr(Xe),tr._chunkSteps(ai);return}if(Xe._closeRequested){var wi=new TypeError("Insufficient bytes to fill elements in the given buffer");mi(Xe,wi),tr._errorSteps(wi);return}}Xe._pendingPullIntos.push(Nn),ki(dr,tr),Jr(Xe)}function Mn(Xe,ht){ht.readerType==="none"&&Ci(Xe);var Ot=Xe._controlledReadableByteStream;if(oa(Ot))for(;sa(Ot)>0;){var tr=Ci(Xe);fn(Ot,tr)}}function Yn(Xe,ht,Ot){if(Rr(Xe,ht,Ot),Ot.readerType==="none"){xr(Xe,Ot),gn(Xe);return}if(!(Ot.bytesFilled0){var dr=Ot.byteOffset+Ot.bytesFilled;ar(Xe,Ot.buffer,dr-tr,tr)}Ot.bytesFilled-=tr,fn(Xe._controlledReadableByteStream,Ot),gn(Xe)}}function hi(Xe,ht){var Ot=Xe._pendingPullIntos.peek();an(Xe);var tr=Xe._controlledReadableByteStream._state;tr==="closed"?Mn(Xe,Ot):Yn(Xe,ht,Ot),Jr(Xe)}function Ci(Xe){var ht=Xe._pendingPullIntos.shift();return ht}function da(Xe){var ht=Xe._controlledReadableByteStream;if(ht._state!=="readable"||Xe._closeRequested||!Xe._started)return!1;if(He(ht)&&rt(ht)>0||oa(ht)&&sa(ht)>0)return!0;var Ot=ka(Xe);return Ot>0}function ra(Xe){Xe._pullAlgorithm=void 0,Xe._cancelAlgorithm=void 0}function Ri(Xe){var ht=Xe._controlledReadableByteStream;if(!(Xe._closeRequested||ht._state!=="readable")){if(Xe._queueTotalSize>0){Xe._closeRequested=!0;return}if(Xe._pendingPullIntos.length>0){var Ot=Xe._pendingPullIntos.peek();if(Ot.bytesFilled%Ot.elementSize!==0){var tr=new TypeError("Insufficient bytes to fill elements in the given buffer");throw mi(Xe,tr),tr}}ra(Xe),qa(ht)}}function oi(Xe,ht){var Ot=Xe._controlledReadableByteStream;if(!(Xe._closeRequested||Ot._state!=="readable")){var tr=ht.buffer,dr=ht.byteOffset,vr=ht.byteLength;if(Ft(tr))throw new TypeError("chunk's buffer is detached and so cannot be enqueued");var $r=Yt(tr);if(Xe._pendingPullIntos.length>0){var Zr=Xe._pendingPullIntos.peek();if(Ft(Zr.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");an(Xe),Zr.buffer=Yt(Zr.buffer),Zr.readerType==="none"&&xr(Xe,Zr)}if(He(Ot))if(dn(Xe),rt(Ot)===0)nn(Xe,$r,dr,vr);else{Xe._pendingPullIntos.length>0&&Ci(Xe);var _n=new Uint8Array($r,dr,vr);ut(Ot,_n,!1)}else oa(Ot)?(nn(Xe,$r,dr,vr),gn(Xe)):nn(Xe,$r,dr,vr);Jr(Xe)}}function mi(Xe,ht){var Ot=Xe._controlledReadableByteStream;Ot._state==="readable"&&(Xr(Xe),sr(Xe),ra(Xe),$s(Ot,ht))}function Ia(Xe,ht){var Ot=Xe._queue.shift();Xe._queueTotalSize-=Ot.byteLength,Mr(Xe);var tr=new Uint8Array(Ot.buffer,Ot.byteOffset,Ot.byteLength);ht._chunkSteps(tr)}function ha(Xe){if(Xe._byobRequest===null&&Xe._pendingPullIntos.length>0){var ht=Xe._pendingPullIntos.peek(),Ot=new Uint8Array(ht.buffer,ht.byteOffset+ht.bytesFilled,ht.byteLength-ht.bytesFilled),tr=Object.create(jt.prototype);Oa(tr,Xe,Ot),Xe._byobRequest=tr}return Xe._byobRequest}function ka(Xe){var ht=Xe._controlledReadableByteStream._state;return ht==="errored"?null:ht==="closed"?0:Xe._strategyHWM-Xe._queueTotalSize}function na(Xe,ht){var Ot=Xe._pendingPullIntos.peek(),tr=Xe._controlledReadableByteStream._state;if(tr==="closed"){if(ht!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(ht===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(Ot.bytesFilled+ht>Ot.byteLength)throw new RangeError("bytesWritten out of range")}Ot.buffer=Yt(Ot.buffer),hi(Xe,ht)}function Fi(Xe,ht){var Ot=Xe._pendingPullIntos.peek(),tr=Xe._controlledReadableByteStream._state;if(tr==="closed"){if(ht.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(ht.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(Ot.byteOffset+Ot.bytesFilled!==ht.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(Ot.bufferByteLength!==ht.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(Ot.bytesFilled+ht.byteLength>Ot.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");var dr=ht.byteLength;Ot.buffer=Yt(ht.buffer),hi(Xe,dr)}function Zn(Xe,ht,Ot,tr,dr,vr,$r){ht._controlledReadableByteStream=Xe,ht._pullAgain=!1,ht._pulling=!1,ht._byobRequest=null,ht._queue=ht._queueTotalSize=void 0,sr(ht),ht._closeRequested=!1,ht._started=!1,ht._strategyHWM=vr,ht._pullAlgorithm=tr,ht._cancelAlgorithm=dr,ht._autoAllocateChunkSize=$r,ht._pendingPullIntos=new fe,Xe._readableStreamController=ht;var Zr=Ot();Q(X(Zr),function(){return ht._started=!0,Jr(ht),null},function(_n){return mi(ht,_n),null})}function ia(Xe,ht,Ot){var tr=Object.create(Wr.prototype),dr,vr,$r;ht.start!==void 0?dr=function(){return ht.start(tr)}:dr=function(){},ht.pull!==void 0?vr=function(){return ht.pull(tr)}:vr=function(){return X(void 0)},ht.cancel!==void 0?$r=function(_n){return ht.cancel(_n)}:$r=function(){return X(void 0)};var Zr=ht.autoAllocateChunkSize;if(Zr===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");Zn(Xe,tr,dr,vr,$r,Ot,Zr)}function Oa(Xe,ht,Ot){Xe._associatedReadableByteStreamController=ht,Xe._view=Ot}function aa(Xe){return new TypeError("ReadableStreamBYOBRequest.prototype.".concat(Xe," can only be used on a ReadableStreamBYOBRequest"))}function Ii(Xe){return new TypeError("ReadableByteStreamController.prototype.".concat(Xe," can only be used on a ReadableByteStreamController"))}function fa(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.mode;return{mode:Ot===void 0?void 0:Na(Ot,"".concat(ht," has member 'mode' that"))}}function Na(Xe,ht){if(Xe="".concat(Xe),Xe!=="byob")throw new TypeError("".concat(ht," '").concat(Xe,"' is not a valid enumeration value for ReadableStreamReaderMode"));return Xe}function pa(Xe,ht){var Ot;je(Xe,ht);var tr=(Ot=Xe==null?void 0:Xe.min)!==null&&Ot!==void 0?Ot:1;return{min:st(tr,"".concat(ht," has member 'min' that"))}}function Vi(Xe){return new Ir(Xe)}function ki(Xe,ht){Xe._reader._readIntoRequests.push(ht)}function ma(Xe,ht,Ot){var tr=Xe._reader,dr=tr._readIntoRequests.shift();Ot?dr._closeSteps(ht):dr._chunkSteps(ht)}function sa(Xe){return Xe._reader._readIntoRequests.length}function oa(Xe){var ht=Xe._reader;return!(ht===void 0||!$n(ht))}var Ir=function(){function Xe(ht){if(Fe(ht,1,"ReadableStreamBYOBReader"),dt(ht,"First parameter"),Ca(ht))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!ir(ht._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");Ge(this,ht),this._readIntoRequests=new fe}return Object.defineProperty(Xe.prototype,"closed",{get:function(){return $n(this)?this._closedPromise:W(Er("closed"))},enumerable:!1,configurable:!0}),Xe.prototype.cancel=function(ht){return ht===void 0&&(ht=void 0),$n(this)?this._ownerReadableStream===void 0?W(Ze("cancel")):Te(this,ht):W(Er("cancel"))},Xe.prototype.read=function(ht,Ot){if(Ot===void 0&&(Ot={}),!$n(this))return W(Er("read"));if(!ArrayBuffer.isView(ht))return W(new TypeError("view must be an array buffer view"));if(ht.byteLength===0)return W(new TypeError("view must have non-zero byteLength"));if(ht.buffer.byteLength===0)return W(new TypeError("view's buffer must have non-zero byteLength"));if(Ft(ht.buffer))return W(new TypeError("view's buffer has been detached"));var tr;try{tr=pa(Ot,"options")}catch(en){return W(en)}var dr=tr.min;if(dr===0)return W(new TypeError("options.min must be greater than 0"));if(Cr(ht)){if(dr>ht.byteLength)return W(new RangeError("options.min must be less than or equal to view's byteLength"))}else if(dr>ht.length)return W(new RangeError("options.min must be less than or equal to view's length"));if(this._ownerReadableStream===void 0)return W(Ze("read from"));var vr,$r,Zr=J(function(en,Tn){vr=en,$r=Tn}),_n={_chunkSteps:function(en){return vr({value:en,done:!1})},_closeSteps:function(en){return vr({value:en,done:!0})},_errorSteps:function(en){return $r(en)}};return Ai(this,ht,dr,_n),Zr},Xe.prototype.releaseLock=function(){if(!$n(this))throw Er("releaseLock");this._ownerReadableStream!==void 0&&Oi(this)},Xe}();Object.defineProperties(Ir.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),e(Ir.prototype.cancel,"cancel"),e(Ir.prototype.read,"read"),e(Ir.prototype.releaseLock,"releaseLock"),typeof G.toStringTag=="symbol"&&Object.defineProperty(Ir.prototype,G.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});function $n(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_readIntoRequests")?!1:Xe instanceof Ir}function Ai(Xe,ht,Ot,tr){var dr=Xe._ownerReadableStream;dr._disturbed=!0,dr._state==="errored"?tr._errorSteps(dr._storedError):pn(dr._readableStreamController,ht,Ot,tr)}function Oi(Xe){Ne(Xe);var ht=new TypeError("Reader was released");ga(Xe,ht)}function ga(Xe,ht){var Ot=Xe._readIntoRequests;Xe._readIntoRequests=new fe,Ot.forEach(function(tr){tr._errorSteps(ht)})}function Er(Xe){return new TypeError("ReadableStreamBYOBReader.prototype.".concat(Xe," can only be used on a ReadableStreamBYOBReader"))}function Oe(Xe,ht){var Ot=Xe.highWaterMark;if(Ot===void 0)return ht;if(At(Ot)||Ot<0)throw new RangeError("Invalid highWaterMark");return Ot}function ft(Xe){var ht=Xe.size;return ht||function(){return 1}}function yr(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.highWaterMark,tr=Xe==null?void 0:Xe.size;return{highWaterMark:Ot===void 0?void 0:Ye(Ot),size:tr===void 0?void 0:lr(tr,"".concat(ht," has member 'size' that"))}}function lr(Xe,ht){return Le(Xe,ht),function(Ot){return Ye(Xe(Ot))}}function qr(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.abort,tr=Xe==null?void 0:Xe.close,dr=Xe==null?void 0:Xe.start,vr=Xe==null?void 0:Xe.type,$r=Xe==null?void 0:Xe.write;return{abort:Ot===void 0?void 0:sn(Ot,Xe,"".concat(ht," has member 'abort' that")),close:tr===void 0?void 0:Kr(tr,Xe,"".concat(ht," has member 'close' that")),start:dr===void 0?void 0:on(dr,Xe,"".concat(ht," has member 'start' that")),write:$r===void 0?void 0:bn($r,Xe,"".concat(ht," has member 'write' that")),type:vr}}function sn(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return ke(Xe,ht,[tr])}}function Kr(Xe,ht,Ot){return Le(Xe,Ot),function(){return ke(Xe,ht,[])}}function on(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return Ee(Xe,ht,[tr])}}function bn(Xe,ht,Ot){return Le(Xe,Ot),function(tr,dr){return ke(Xe,ht,[tr,dr])}}function Dn(Xe,ht){if(!In(Xe))throw new TypeError("".concat(ht," is not a WritableStream."))}function zn(Xe){if(typeof Xe!="object"||Xe===null)return!1;try{return typeof Xe.aborted=="boolean"}catch{return!1}}var Bn=typeof AbortController=="function";function kn(){if(Bn)return new AbortController}var Gn=function(){function Xe(ht,Ot){ht===void 0&&(ht={}),Ot===void 0&&(Ot={}),ht===void 0?ht=null:Qe(ht,"First parameter");var tr=yr(Ot,"Second parameter"),dr=qr(ht,"First parameter");Sn(this);var vr=dr.type;if(vr!==void 0)throw new RangeError("Invalid type is specified");var $r=ft(tr),Zr=Oe(tr,1);Go(this,dr,Zr,$r)}return Object.defineProperty(Xe.prototype,"locked",{get:function(){if(!In(this))throw ds("locked");return vn(this)},enumerable:!1,configurable:!0}),Xe.prototype.abort=function(ht){return ht===void 0&&(ht=void 0),In(this)?vn(this)?W(new TypeError("Cannot abort a stream that already has a writer")):Cn(this,ht):W(ds("abort"))},Xe.prototype.close=function(){return In(this)?vn(this)?W(new TypeError("Cannot close a stream that already has a writer")):ti(this)?W(new TypeError("Cannot close an already-closing stream")):Ti(this):W(ds("close"))},Xe.prototype.getWriter=function(){if(!In(this))throw ds("getWriter");return En(this)},Xe}();Object.defineProperties(Gn.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),e(Gn.prototype.abort,"abort"),e(Gn.prototype.close,"close"),e(Gn.prototype.getWriter,"getWriter"),typeof G.toStringTag=="symbol"&&Object.defineProperty(Gn.prototype,G.toStringTag,{value:"WritableStream",configurable:!0});function En(Xe){return new _a(Xe)}function li(Xe,ht,Ot,tr,dr,vr){dr===void 0&&(dr=1),vr===void 0&&(vr=function(){return 1});var $r=Object.create(Gn.prototype);Sn($r);var Zr=Object.create(ba.prototype);return to($r,Zr,Xe,ht,Ot,tr,dr,vr),$r}function Sn(Xe){Xe._state="writable",Xe._storedError=void 0,Xe._writer=void 0,Xe._writableStreamController=void 0,Xe._writeRequests=new fe,Xe._inFlightWriteRequest=void 0,Xe._closeRequest=void 0,Xe._inFlightCloseRequest=void 0,Xe._pendingAbortRequest=void 0,Xe._backpressure=!1}function In(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_writableStreamController")?!1:Xe instanceof Gn}function vn(Xe){return Xe._writer!==void 0}function Cn(Xe,ht){var Ot;if(Xe._state==="closed"||Xe._state==="errored")return X(void 0);Xe._writableStreamController._abortReason=ht,(Ot=Xe._writableStreamController._abortController)===null||Ot===void 0||Ot.abort(ht);var tr=Xe._state;if(tr==="closed"||tr==="errored")return X(void 0);if(Xe._pendingAbortRequest!==void 0)return Xe._pendingAbortRequest._promise;var dr=!1;tr==="erroring"&&(dr=!0,ht=void 0);var vr=J(function($r,Zr){Xe._pendingAbortRequest={_promise:void 0,_resolve:$r,_reject:Zr,_reason:ht,_wasAlreadyErroring:dr}});return Xe._pendingAbortRequest._promise=vr,dr||Ni(Xe,ht),vr}function Ti(Xe){var ht=Xe._state;if(ht==="closed"||ht==="errored")return W(new TypeError("The stream (in ".concat(ht," state) is not in the writable state and cannot be closed")));var Ot=J(function(dr,vr){var $r={_resolve:dr,_reject:vr};Xe._closeRequest=$r}),tr=Xe._writer;return tr!==void 0&&Xe._backpressure&&ht==="writable"&&ao(tr),_o(Xe._writableStreamController),Ot}function vi(Xe){var ht=J(function(Ot,tr){var dr={_resolve:Ot,_reject:tr};Xe._writeRequests.push(dr)});return ht}function Hn(Xe,ht){var Ot=Xe._state;if(Ot==="writable"){Ni(Xe,ht);return}zi(Xe)}function Ni(Xe,ht){var Ot=Xe._writableStreamController;Xe._state="erroring",Xe._storedError=ht;var tr=Xe._writer;tr!==void 0&&Si(tr,ht),!Da(Xe)&&Ot._started&&zi(Xe)}function zi(Xe){Xe._state="errored",Xe._writableStreamController[ye]();var ht=Xe._storedError;if(Xe._writeRequests.forEach(function(dr){dr._reject(ht)}),Xe._writeRequests=new fe,Xe._pendingAbortRequest===void 0){as(Xe);return}var Ot=Xe._pendingAbortRequest;if(Xe._pendingAbortRequest=void 0,Ot._wasAlreadyErroring){Ot._reject(ht),as(Xe);return}var tr=Xe._writableStreamController[ve](Ot._reason);Q(tr,function(){return Ot._resolve(),as(Xe),null},function(dr){return Ot._reject(dr),as(Xe),null})}function Qr(Xe){Xe._inFlightWriteRequest._resolve(void 0),Xe._inFlightWriteRequest=void 0}function gi(Xe,ht){Xe._inFlightWriteRequest._reject(ht),Xe._inFlightWriteRequest=void 0,Hn(Xe,ht)}function Zs(Xe){Xe._inFlightCloseRequest._resolve(void 0),Xe._inFlightCloseRequest=void 0;var ht=Xe._state;ht==="erroring"&&(Xe._storedError=void 0,Xe._pendingAbortRequest!==void 0&&(Xe._pendingAbortRequest._resolve(),Xe._pendingAbortRequest=void 0)),Xe._state="closed";var Ot=Xe._writer;Ot!==void 0&&xo(Ot)}function Js(Xe,ht){Xe._inFlightCloseRequest._reject(ht),Xe._inFlightCloseRequest=void 0,Xe._pendingAbortRequest!==void 0&&(Xe._pendingAbortRequest._reject(ht),Xe._pendingAbortRequest=void 0),Hn(Xe,ht)}function ti(Xe){return!(Xe._closeRequest===void 0&&Xe._inFlightCloseRequest===void 0)}function Da(Xe){return!(Xe._inFlightWriteRequest===void 0&&Xe._inFlightCloseRequest===void 0)}function Kn(Xe){Xe._inFlightCloseRequest=Xe._closeRequest,Xe._closeRequest=void 0}function mo(Xe){Xe._inFlightWriteRequest=Xe._writeRequests.shift()}function as(Xe){Xe._closeRequest!==void 0&&(Xe._closeRequest._reject(Xe._storedError),Xe._closeRequest=void 0);var ht=Xe._writer;ht!==void 0&&ps(ht,Xe._storedError)}function Ss(Xe,ht){var Ot=Xe._writer;Ot!==void 0&&ht!==Xe._backpressure&&(ht?io(Ot):ao(Ot)),Xe._backpressure=ht}var _a=function(){function Xe(ht){if(Fe(ht,1,"WritableStreamDefaultWriter"),Dn(ht,"First parameter"),vn(ht))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=ht,ht._writer=this;var Ot=ht._state;if(Ot==="writable")!ti(ht)&&ht._backpressure?As(this):ms(this),Es(this);else if(Ot==="erroring")Ts(this,ht._storedError),Es(this);else if(Ot==="closed")ms(this),fs(this);else{var tr=ht._storedError;Ts(this,tr),Cs(this,tr)}}return Object.defineProperty(Xe.prototype,"closed",{get:function(){return Ga(this)?this._closedPromise:W(ya("closed"))},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"desiredSize",{get:function(){if(!Ga(this))throw ya("desiredSize");if(this._ownerWritableStream===void 0)throw Ya("desiredSize");return eo(this)},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"ready",{get:function(){return Ga(this)?this._readyPromise:W(ya("ready"))},enumerable:!1,configurable:!0}),Xe.prototype.abort=function(ht){return ht===void 0&&(ht=void 0),Ga(this)?this._ownerWritableStream===void 0?W(Ya("abort")):Uo(this,ht):W(ya("abort"))},Xe.prototype.close=function(){if(!Ga(this))return W(ya("close"));var ht=this._ownerWritableStream;return ht===void 0?W(Ya("close")):ti(ht)?W(new TypeError("Cannot close an already-closing stream")):ui(this)},Xe.prototype.releaseLock=function(){if(!Ga(this))throw ya("releaseLock");var ht=this._ownerWritableStream;ht!==void 0&&Bi(this)},Xe.prototype.write=function(ht){return ht===void 0&&(ht=void 0),Ga(this)?this._ownerWritableStream===void 0?W(Ya("write to")):On(this,ht):W(ya("write"))},Xe}();Object.defineProperties(_a.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),e(_a.prototype.abort,"abort"),e(_a.prototype.close,"close"),e(_a.prototype.releaseLock,"releaseLock"),e(_a.prototype.write,"write"),typeof G.toStringTag=="symbol"&&Object.defineProperty(_a.prototype,G.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});function Ga(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_ownerWritableStream")?!1:Xe instanceof _a}function Uo(Xe,ht){var Ot=Xe._ownerWritableStream;return Cn(Ot,ht)}function ui(Xe){var ht=Xe._ownerWritableStream;return Ti(ht)}function go(Xe){var ht=Xe._ownerWritableStream,Ot=ht._state;return ti(ht)||Ot==="closed"?X(void 0):Ot==="errored"?W(ht._storedError):ui(Xe)}function ss(Xe,ht){Xe._closedPromiseState==="pending"?ps(Xe,ht):So(Xe,ht)}function Si(Xe,ht){Xe._readyPromiseState==="pending"?ws(Xe,ht):Rs(Xe,ht)}function eo(Xe){var ht=Xe._ownerWritableStream,Ot=ht._state;return Ot==="errored"||Ot==="erroring"?null:Ot==="closed"?0:ls(ht._writableStreamController)}function Bi(Xe){var ht=Xe._ownerWritableStream,Ot=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Si(Xe,Ot),ss(Xe,Ot),ht._writer=void 0,Xe._ownerWritableStream=void 0}function On(Xe,ht){var Ot=Xe._ownerWritableStream,tr=Ot._writableStreamController,dr=bo(tr,ht);if(Ot!==Xe._ownerWritableStream)return W(Ya("write to"));var vr=Ot._state;if(vr==="errored")return W(Ot._storedError);if(ti(Ot)||vr==="closed")return W(new TypeError("The stream is closing or closed and cannot be written to"));if(vr==="erroring")return W(Ot._storedError);var $r=vi(Ot);return cs(tr,ht,dr),$r}var xs={},ba=function(){function Xe(){throw new TypeError("Illegal constructor")}return Object.defineProperty(Xe.prototype,"abortReason",{get:function(){if(!os(this))throw hs("abortReason");return this._abortReason},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"signal",{get:function(){if(!os(this))throw hs("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal},enumerable:!1,configurable:!0}),Xe.prototype.error=function(ht){if(ht===void 0&&(ht=void 0),!os(this))throw hs("error");var Ot=this._controlledWritableStream._state;Ot==="writable"&&vo(this,ht)},Xe.prototype[ve]=function(ht){var Ot=this._abortAlgorithm(ht);return ri(this),Ot},Xe.prototype[ye]=function(){sr(this)},Xe}();Object.defineProperties(ba.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof G.toStringTag=="symbol"&&Object.defineProperty(ba.prototype,G.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function os(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_controlledWritableStream")?!1:Xe instanceof ba}function to(Xe,ht,Ot,tr,dr,vr,$r,Zr){ht._controlledWritableStream=Xe,Xe._writableStreamController=ht,ht._queue=void 0,ht._queueTotalSize=void 0,sr(ht),ht._abortReason=void 0,ht._abortController=kn(),ht._started=!1,ht._strategySizeAlgorithm=Zr,ht._strategyHWM=$r,ht._writeAlgorithm=tr,ht._closeAlgorithm=dr,ht._abortAlgorithm=vr;var _n=no(ht);Ss(Xe,_n);var en=Ot(),Tn=X(en);Q(Tn,function(){return ht._started=!0,us(ht),null},function(Nn){return ht._started=!0,Hn(Xe,Nn),null})}function Go(Xe,ht,Ot,tr){var dr=Object.create(ba.prototype),vr,$r,Zr,_n;ht.start!==void 0?vr=function(){return ht.start(dr)}:vr=function(){},ht.write!==void 0?$r=function(en){return ht.write(en,dr)}:$r=function(){return X(void 0)},ht.close!==void 0?Zr=function(){return ht.close()}:Zr=function(){return X(void 0)},ht.abort!==void 0?_n=function(en){return ht.abort(en)}:_n=function(){return X(void 0)},to(Xe,dr,vr,$r,Zr,_n,Ot,tr)}function ri(Xe){Xe._writeAlgorithm=void 0,Xe._closeAlgorithm=void 0,Xe._abortAlgorithm=void 0,Xe._strategySizeAlgorithm=void 0}function _o(Xe){Ur(Xe,xs,0),us(Xe)}function bo(Xe,ht){try{return Xe._strategySizeAlgorithm(ht)}catch(Ot){return $a(Xe,Ot),1}}function ls(Xe){return Xe._strategyHWM-Xe._queueTotalSize}function cs(Xe,ht,Ot){try{Ur(Xe,ht,Ot)}catch(vr){$a(Xe,vr);return}var tr=Xe._controlledWritableStream;if(!ti(tr)&&tr._state==="writable"){var dr=no(Xe);Ss(tr,dr)}us(Xe)}function us(Xe){var ht=Xe._controlledWritableStream;if(Xe._started&&ht._inFlightWriteRequest===void 0){var Ot=ht._state;if(Ot==="erroring"){zi(ht);return}if(Xe._queue.length!==0){var tr=un(Xe);tr===xs?ro(Xe):yo(Xe,tr)}}}function $a(Xe,ht){Xe._controlledWritableStream._state==="writable"&&vo(Xe,ht)}function ro(Xe){var ht=Xe._controlledWritableStream;Kn(ht),br(Xe);var Ot=Xe._closeAlgorithm();ri(Xe),Q(Ot,function(){return Zs(ht),null},function(tr){return Js(ht,tr),null})}function yo(Xe,ht){var Ot=Xe._controlledWritableStream;mo(Ot);var tr=Xe._writeAlgorithm(ht);Q(tr,function(){Qr(Ot);var dr=Ot._state;if(br(Xe),!ti(Ot)&&dr==="writable"){var vr=no(Xe);Ss(Ot,vr)}return us(Xe),null},function(dr){return Ot._state==="writable"&&ri(Xe),gi(Ot,dr),null})}function no(Xe){var ht=ls(Xe);return ht<=0}function vo(Xe,ht){var Ot=Xe._controlledWritableStream;ri(Xe),Ni(Ot,ht)}function ds(Xe){return new TypeError("WritableStream.prototype.".concat(Xe," can only be used on a WritableStream"))}function hs(Xe){return new TypeError("WritableStreamDefaultController.prototype.".concat(Xe," can only be used on a WritableStreamDefaultController"))}function ya(Xe){return new TypeError("WritableStreamDefaultWriter.prototype.".concat(Xe," can only be used on a WritableStreamDefaultWriter"))}function Ya(Xe){return new TypeError("Cannot "+Xe+" a stream using a released writer")}function Es(Xe){Xe._closedPromise=J(function(ht,Ot){Xe._closedPromise_resolve=ht,Xe._closedPromise_reject=Ot,Xe._closedPromiseState="pending"})}function Cs(Xe,ht){Es(Xe),ps(Xe,ht)}function fs(Xe){Es(Xe),xo(Xe)}function ps(Xe,ht){Xe._closedPromise_reject!==void 0&&(se(Xe._closedPromise),Xe._closedPromise_reject(ht),Xe._closedPromise_resolve=void 0,Xe._closedPromise_reject=void 0,Xe._closedPromiseState="rejected")}function So(Xe,ht){Cs(Xe,ht)}function xo(Xe){Xe._closedPromise_resolve!==void 0&&(Xe._closedPromise_resolve(void 0),Xe._closedPromise_resolve=void 0,Xe._closedPromise_reject=void 0,Xe._closedPromiseState="resolved")}function As(Xe){Xe._readyPromise=J(function(ht,Ot){Xe._readyPromise_resolve=ht,Xe._readyPromise_reject=Ot}),Xe._readyPromiseState="pending"}function Ts(Xe,ht){As(Xe),ws(Xe,ht)}function ms(Xe){As(Xe),ao(Xe)}function ws(Xe,ht){Xe._readyPromise_reject!==void 0&&(se(Xe._readyPromise),Xe._readyPromise_reject(ht),Xe._readyPromise_resolve=void 0,Xe._readyPromise_reject=void 0,Xe._readyPromiseState="rejected")}function io(Xe){As(Xe)}function Rs(Xe,ht){Ts(Xe,ht)}function ao(Xe){Xe._readyPromise_resolve!==void 0&&(Xe._readyPromise_resolve(void 0),Xe._readyPromise_resolve=void 0,Xe._readyPromise_reject=void 0,Xe._readyPromiseState="fulfilled")}function $o(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof commonjsGlobal$1<"u")return commonjsGlobal$1}var Is=$o();function ks(Xe){if(!(typeof Xe=="function"||typeof Xe=="object")||Xe.name!=="DOMException")return!1;try{return new Xe,!0}catch{return!1}}function Os(){var Xe=Is==null?void 0:Is.DOMException;return ks(Xe)?Xe:void 0}function Ns(){var Xe=function(Ot,tr){this.message=Ot||"",this.name=tr||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return e(Xe,"DOMException"),Xe.prototype=Object.create(Error.prototype),Object.defineProperty(Xe.prototype,"constructor",{value:Xe,writable:!0,configurable:!0}),Xe}var Eo=Os()||Ns();function Ds(Xe,ht,Ot,tr,dr,vr){var $r=ct(Xe),Zr=En(ht);Xe._disturbed=!0;var _n=!1,en=X(void 0);return J(function(Tn,Nn){var Pn;if(vr!==void 0){if(Pn=function(){var Rn=vr.reason!==void 0?vr.reason:new Eo("Aborted","AbortError"),Wn=[];tr||Wn.push(function(){return ht._state==="writable"?Cn(ht,Rn):X(void 0)}),dr||Wn.push(function(){return Xe._state==="readable"?Gi(Xe,Rn):X(void 0)}),yi(function(){return Promise.all(Wn.map(function(Jn){return Jn()}))},!0,Rn)},vr.aborted){Pn();return}vr.addEventListener("abort",Pn)}function ai(){return J(function(Rn,Wn){function Jn(Qi){Qi?Rn():L(wi(),Jn,Wn)}Jn(!1)})}function wi(){return _n?X(!0):L(Zr._readyPromise,function(){return J(function(Rn,Wn){bt($r,{_chunkSteps:function(Jn){en=L(On(Zr,Jn),void 0,U),Rn(!1)},_closeSteps:function(){return Rn(!0)},_errorSteps:Wn})})})}if(bi(Xe,$r._closedPromise,function(Rn){return tr?Ra(!0,Rn):yi(function(){return Cn(ht,Rn)},!0,Rn),null}),bi(ht,Zr._closedPromise,function(Rn){return dr?Ra(!0,Rn):yi(function(){return Gi(Xe,Rn)},!0,Rn),null}),$i(Xe,$r._closedPromise,function(){return Ot?Ra():yi(function(){return go(Zr)}),null}),ti(ht)||ht._state==="closed"){var Mi=new TypeError("the destination writable stream closed before all data could be piped to it");dr?Ra(!0,Mi):yi(function(){return Gi(Xe,Mi)},!0,Mi)}se(ai());function Ki(){var Rn=en;return L(en,function(){return Rn!==en?Ki():void 0})}function bi(Rn,Wn,Jn){Rn._state==="errored"?Jn(Rn._storedError):de(Wn,Jn)}function $i(Rn,Wn,Jn){Rn._state==="closed"?Jn():ce(Wn,Jn)}function yi(Rn,Wn,Jn){if(_n)return;_n=!0,ht._state==="writable"&&!ti(ht)?ce(Ki(),Qi):Qi();function Qi(){return Q(Rn(),function(){return si(Wn,Jn)},function(Ua){return si(!0,Ua)}),null}}function Ra(Rn,Wn){_n||(_n=!0,ht._state==="writable"&&!ti(ht)?ce(Ki(),function(){return si(Rn,Wn)}):si(Rn,Wn))}function si(Rn,Wn){return Bi(Zr),Ne($r),vr!==void 0&&vr.removeEventListener("abort",Pn),Rn?Nn(Wn):Tn(void 0),null}})}var va=function(){function Xe(){throw new TypeError("Illegal constructor")}return Object.defineProperty(Xe.prototype,"desiredSize",{get:function(){if(!gs(this))throw Ls("desiredSize");return Ps(this)},enumerable:!1,configurable:!0}),Xe.prototype.close=function(){if(!gs(this))throw Ls("close");if(!ja(this))throw new TypeError("The stream is not in a state that permits close");Ma(this)},Xe.prototype.enqueue=function(ht){if(ht===void 0&&(ht=void 0),!gs(this))throw Ls("enqueue");if(!ja(this))throw new TypeError("The stream is not in a state that permits enqueue");return xa(this,ht)},Xe.prototype.error=function(ht){if(ht===void 0&&(ht=void 0),!gs(this))throw Ls("error");Hi(this,ht)},Xe.prototype[Ce]=function(ht){sr(this);var Ot=this._cancelAlgorithm(ht);return Ms(this),Ot},Xe.prototype[pe]=function(ht){var Ot=this._controlledReadableStream;if(this._queue.length>0){var tr=br(this);this._closeRequested&&this._queue.length===0?(Ms(this),qa(Ot)):Sa(this),ht._chunkSteps(tr)}else mt(Ot,ht),Sa(this)},Xe.prototype[_e]=function(){},Xe}();Object.defineProperties(va.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),e(va.prototype.close,"close"),e(va.prototype.enqueue,"enqueue"),e(va.prototype.error,"error"),typeof G.toStringTag=="symbol"&&Object.defineProperty(va.prototype,G.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});function gs(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_controlledReadableStream")?!1:Xe instanceof va}function Sa(Xe){var ht=so(Xe);if(ht){if(Xe._pulling){Xe._pullAgain=!0;return}Xe._pulling=!0;var Ot=Xe._pullAlgorithm();Q(Ot,function(){return Xe._pulling=!1,Xe._pullAgain&&(Xe._pullAgain=!1,Sa(Xe)),null},function(tr){return Hi(Xe,tr),null})}}function so(Xe){var ht=Xe._controlledReadableStream;if(!ja(Xe)||!Xe._started)return!1;if(Ca(ht)&&rt(ht)>0)return!0;var Ot=Ps(Xe);return Ot>0}function Ms(Xe){Xe._pullAlgorithm=void 0,Xe._cancelAlgorithm=void 0,Xe._strategySizeAlgorithm=void 0}function Ma(Xe){if(ja(Xe)){var ht=Xe._controlledReadableStream;Xe._closeRequested=!0,Xe._queue.length===0&&(Ms(Xe),qa(ht))}}function xa(Xe,ht){if(ja(Xe)){var Ot=Xe._controlledReadableStream;if(Ca(Ot)&&rt(Ot)>0)ut(Ot,ht,!1);else{var tr=void 0;try{tr=Xe._strategySizeAlgorithm(ht)}catch(dr){throw Hi(Xe,dr),dr}try{Ur(Xe,ht,tr)}catch(dr){throw Hi(Xe,dr),dr}}Sa(Xe)}}function Hi(Xe,ht){var Ot=Xe._controlledReadableStream;Ot._state==="readable"&&(sr(Xe),Ms(Xe),$s(Ot,ht))}function Ps(Xe){var ht=Xe._controlledReadableStream._state;return ht==="errored"?null:ht==="closed"?0:Xe._strategyHWM-Xe._queueTotalSize}function Co(Xe){return!so(Xe)}function ja(Xe){var ht=Xe._controlledReadableStream._state;return!Xe._closeRequested&&ht==="readable"}function Wi(Xe,ht,Ot,tr,dr,vr,$r){ht._controlledReadableStream=Xe,ht._queue=void 0,ht._queueTotalSize=void 0,sr(ht),ht._started=!1,ht._closeRequested=!1,ht._pullAgain=!1,ht._pulling=!1,ht._strategySizeAlgorithm=$r,ht._strategyHWM=vr,ht._pullAlgorithm=tr,ht._cancelAlgorithm=dr,Xe._readableStreamController=ht;var Zr=Ot();Q(X(Zr),function(){return ht._started=!0,Sa(ht),null},function(_n){return Hi(ht,_n),null})}function Ao(Xe,ht,Ot,tr){var dr=Object.create(va.prototype),vr,$r,Zr;ht.start!==void 0?vr=function(){return ht.start(dr)}:vr=function(){},ht.pull!==void 0?$r=function(){return ht.pull(dr)}:$r=function(){return X(void 0)},ht.cancel!==void 0?Zr=function(_n){return ht.cancel(_n)}:Zr=function(){return X(void 0)},Wi(Xe,dr,vr,$r,Zr,Ot,tr)}function Ls(Xe){return new TypeError("ReadableStreamDefaultController.prototype.".concat(Xe," can only be used on a ReadableStreamDefaultController"))}function Fs(Xe,ht){return ir(Xe._readableStreamController)?Bs(Xe):To(Xe)}function To(Xe,ht){var Ot=ct(Xe),tr=!1,dr=!1,vr=!1,$r=!1,Zr,_n,en,Tn,Nn,Pn=J(function(bi){Nn=bi});function ai(){if(tr)return dr=!0,X(void 0);tr=!0;var bi={_chunkSteps:function($i){me(function(){dr=!1;var yi=$i,Ra=$i;vr||xa(en._readableStreamController,yi),$r||xa(Tn._readableStreamController,Ra),tr=!1,dr&&ai()})},_closeSteps:function(){tr=!1,vr||Ma(en._readableStreamController),$r||Ma(Tn._readableStreamController),(!vr||!$r)&&Nn(void 0)},_errorSteps:function(){tr=!1}};return bt(Ot,bi),X(void 0)}function wi(bi){if(vr=!0,Zr=bi,$r){var $i=Mt([Zr,_n]),yi=Gi(Xe,$i);Nn(yi)}return Pn}function Mi(bi){if($r=!0,_n=bi,vr){var $i=Mt([Zr,_n]),yi=Gi(Xe,$i);Nn(yi)}return Pn}function Ki(){}return en=Ei(Ki,ai,wi),Tn=Ei(Ki,ai,Mi),de(Ot._closedPromise,function(bi){return Hi(en._readableStreamController,bi),Hi(Tn._readableStreamController,bi),(!vr||!$r)&&Nn(void 0),null}),[en,Tn]}function Bs(Xe){var ht=ct(Xe),Ot=!1,tr=!1,dr=!1,vr=!1,$r=!1,Zr,_n,en,Tn,Nn,Pn=J(function(si){Nn=si});function ai(si){de(si._closedPromise,function(Rn){return si!==ht||(mi(en._readableStreamController,Rn),mi(Tn._readableStreamController,Rn),(!vr||!$r)&&Nn(void 0)),null})}function wi(){$n(ht)&&(Ne(ht),ht=ct(Xe),ai(ht));var si={_chunkSteps:function(Rn){me(function(){tr=!1,dr=!1;var Wn=Rn,Jn=Rn;if(!vr&&!$r)try{Jn=Br(Rn)}catch(Qi){mi(en._readableStreamController,Qi),mi(Tn._readableStreamController,Qi),Nn(Gi(Xe,Qi));return}vr||oi(en._readableStreamController,Wn),$r||oi(Tn._readableStreamController,Jn),Ot=!1,tr?Ki():dr&&bi()})},_closeSteps:function(){Ot=!1,vr||Ri(en._readableStreamController),$r||Ri(Tn._readableStreamController),en._readableStreamController._pendingPullIntos.length>0&&na(en._readableStreamController,0),Tn._readableStreamController._pendingPullIntos.length>0&&na(Tn._readableStreamController,0),(!vr||!$r)&&Nn(void 0)},_errorSteps:function(){Ot=!1}};bt(ht,si)}function Mi(si,Rn){St(ht)&&(Ne(ht),ht=Vi(Xe),ai(ht));var Wn=Rn?Tn:en,Jn=Rn?en:Tn,Qi={_chunkSteps:function(Ua){me(function(){tr=!1,dr=!1;var Tt=Rn?$r:vr,Pe=Rn?vr:$r;if(Pe)Tt||Fi(Wn._readableStreamController,Ua);else{var qe=void 0;try{qe=Br(Ua)}catch(We){mi(Wn._readableStreamController,We),mi(Jn._readableStreamController,We),Nn(Gi(Xe,We));return}Tt||Fi(Wn._readableStreamController,Ua),oi(Jn._readableStreamController,qe)}Ot=!1,tr?Ki():dr&&bi()})},_closeSteps:function(Ua){Ot=!1;var Tt=Rn?$r:vr,Pe=Rn?vr:$r;Tt||Ri(Wn._readableStreamController),Pe||Ri(Jn._readableStreamController),Ua!==void 0&&(Tt||Fi(Wn._readableStreamController,Ua),!Pe&&Jn._readableStreamController._pendingPullIntos.length>0&&na(Jn._readableStreamController,0)),(!Tt||!Pe)&&Nn(void 0)},_errorSteps:function(){Ot=!1}};Ai(ht,si,1,Qi)}function Ki(){if(Ot)return tr=!0,X(void 0);Ot=!0;var si=ha(en._readableStreamController);return si===null?wi():Mi(si._view,!1),X(void 0)}function bi(){if(Ot)return dr=!0,X(void 0);Ot=!0;var si=ha(Tn._readableStreamController);return si===null?wi():Mi(si._view,!0),X(void 0)}function $i(si){if(vr=!0,Zr=si,$r){var Rn=Mt([Zr,_n]),Wn=Gi(Xe,Rn);Nn(Wn)}return Pn}function yi(si){if($r=!0,_n=si,vr){var Rn=Mt([Zr,_n]),Wn=Gi(Xe,Rn);Nn(Wn)}return Pn}function Ra(){}return en=uo(Ra,Ki,$i),Tn=uo(Ra,bi,yi),ai(ht),[en,Tn]}function oo(Xe){return K(Xe)&&typeof Xe.getReader<"u"}function wo(Xe){return oo(Xe)?lo(Xe.getReader()):la(Xe)}function la(Xe){var ht,Ot=Dt(Xe,"async"),tr=U;function dr(){var $r;try{$r=Zt(Ot)}catch(_n){return W(_n)}var Zr=X($r);return oe(Zr,function(_n){if(!K(_n))throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");var en=gr(_n);if(en)Ma(ht._readableStreamController);else{var Tn=fr(_n);xa(ht._readableStreamController,Tn)}})}function vr($r){var Zr=Ot.iterator,_n;try{_n=er(Zr,"return")}catch(Nn){return W(Nn)}if(_n===void 0)return X(void 0);var en;try{en=Ee(_n,Zr,[$r])}catch(Nn){return W(Nn)}var Tn=X(en);return oe(Tn,function(Nn){if(!K(Nn))throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")})}return ht=Ei(tr,dr,vr,0),ht}function lo(Xe){var ht,Ot=U;function tr(){var vr;try{vr=Xe.read()}catch($r){return W($r)}return oe(vr,function($r){if(!K($r))throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");if($r.done)Ma(ht._readableStreamController);else{var Zr=$r.value;xa(ht._readableStreamController,Zr)}})}function dr(vr){try{return X(Xe.cancel(vr))}catch($r){return W($r)}}return ht=Ei(Ot,tr,dr,0),ht}function Qt(Xe,ht){je(Xe,ht);var Ot=Xe,tr=Ot==null?void 0:Ot.autoAllocateChunkSize,dr=Ot==null?void 0:Ot.cancel,vr=Ot==null?void 0:Ot.pull,$r=Ot==null?void 0:Ot.start,Zr=Ot==null?void 0:Ot.type;return{autoAllocateChunkSize:tr===void 0?void 0:st(tr,"".concat(ht," has member 'autoAllocateChunkSize' that")),cancel:dr===void 0?void 0:Yi(dr,Ot,"".concat(ht," has member 'cancel' that")),pull:vr===void 0?void 0:Pa(vr,Ot,"".concat(ht," has member 'pull' that")),start:$r===void 0?void 0:co($r,Ot,"".concat(ht," has member 'start' that")),type:Zr===void 0?void 0:Xa(Zr,"".concat(ht," has member 'type' that"))}}function Yi(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return ke(Xe,ht,[tr])}}function Pa(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return ke(Xe,ht,[tr])}}function co(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return Ee(Xe,ht,[tr])}}function Xa(Xe,ht){if(Xe="".concat(Xe),Xe!=="bytes")throw new TypeError("".concat(ht," '").concat(Xe,"' is not a valid enumeration value for ReadableStreamType"));return Xe}function ca(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.preventCancel;return{preventCancel:!!Ot}}function Ui(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.preventAbort,tr=Xe==null?void 0:Xe.preventCancel,dr=Xe==null?void 0:Xe.preventClose,vr=Xe==null?void 0:Xe.signal;return vr!==void 0&&Us(vr,"".concat(ht," has member 'signal' that")),{preventAbort:!!Ot,preventCancel:!!tr,preventClose:!!dr,signal:vr}}function Us(Xe,ht){if(!zn(Xe))throw new TypeError("".concat(ht," is not an AbortSignal."))}function ji(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.readable;$e(Ot,"readable","ReadableWritablePair"),dt(Ot,"".concat(ht," has member 'readable' that"));var tr=Xe==null?void 0:Xe.writable;return $e(tr,"writable","ReadableWritablePair"),Dn(tr,"".concat(ht," has member 'writable' that")),{readable:Ot,writable:tr}}var fi=function(){function Xe(ht,Ot){ht===void 0&&(ht={}),Ot===void 0&&(Ot={}),ht===void 0?ht=null:Qe(ht,"First parameter");var tr=yr(Ot,"Second parameter"),dr=Qt(ht,"First parameter");if(Gs(this),dr.type==="bytes"){if(tr.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");var vr=Oe(tr,0);ia(this,dr,vr)}else{var $r=ft(tr),vr=Oe(tr,1);Ao(this,dr,vr,$r)}}return Object.defineProperty(Xe.prototype,"locked",{get:function(){if(!Ea(this))throw ua("locked");return Ca(this)},enumerable:!1,configurable:!0}),Xe.prototype.cancel=function(ht){return ht===void 0&&(ht=void 0),Ea(this)?Ca(this)?W(new TypeError("Cannot cancel a stream that already has a reader")):Gi(this,ht):W(ua("cancel"))},Xe.prototype.getReader=function(ht){if(ht===void 0&&(ht=void 0),!Ea(this))throw ua("getReader");var Ot=fa(ht,"First parameter");return Ot.mode===void 0?ct(this):Vi(this)},Xe.prototype.pipeThrough=function(ht,Ot){if(Ot===void 0&&(Ot={}),!Ea(this))throw ua("pipeThrough");Fe(ht,1,"pipeThrough");var tr=ji(ht,"First parameter"),dr=Ui(Ot,"Second parameter");if(Ca(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(vn(tr.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");var vr=Ds(this,tr.writable,dr.preventClose,dr.preventAbort,dr.preventCancel,dr.signal);return se(vr),tr.readable},Xe.prototype.pipeTo=function(ht,Ot){if(Ot===void 0&&(Ot={}),!Ea(this))return W(ua("pipeTo"));if(ht===void 0)return W("Parameter 1 is required in 'pipeTo'.");if(!In(ht))return W(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));var tr;try{tr=Ui(Ot,"Second parameter")}catch(dr){return W(dr)}return Ca(this)?W(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):vn(ht)?W(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Ds(this,ht,tr.preventClose,tr.preventAbort,tr.preventCancel,tr.signal)},Xe.prototype.tee=function(){if(!Ea(this))throw ua("tee");var ht=Fs(this);return Mt(ht)},Xe.prototype.values=function(ht){if(ht===void 0&&(ht=void 0),!Ea(this))throw ua("values");var Ot=ca(ht,"First parameter");return yt(this,Ot.preventCancel)},Xe.prototype[It]=function(ht){return this.values(ht)},Xe.from=function(ht){return wo(ht)},Xe}();Object.defineProperties(fi,{from:{enumerable:!0}}),Object.defineProperties(fi.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),e(fi.from,"from"),e(fi.prototype.cancel,"cancel"),e(fi.prototype.getReader,"getReader"),e(fi.prototype.pipeThrough,"pipeThrough"),e(fi.prototype.pipeTo,"pipeTo"),e(fi.prototype.tee,"tee"),e(fi.prototype.values,"values"),typeof G.toStringTag=="symbol"&&Object.defineProperty(fi.prototype,G.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(fi.prototype,It,{value:fi.prototype.values,writable:!0,configurable:!0});function Ei(Xe,ht,Ot,tr,dr){tr===void 0&&(tr=1),dr===void 0&&(dr=function(){return 1});var vr=Object.create(fi.prototype);Gs(vr);var $r=Object.create(va.prototype);return Wi(vr,$r,Xe,ht,Ot,tr,dr),vr}function uo(Xe,ht,Ot){var tr=Object.create(fi.prototype);Gs(tr);var dr=Object.create(Wr.prototype);return Zn(tr,dr,Xe,ht,Ot,0,void 0),tr}function Gs(Xe){Xe._state="readable",Xe._reader=void 0,Xe._storedError=void 0,Xe._disturbed=!1}function Ea(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_readableStreamController")?!1:Xe instanceof fi}function Ca(Xe){return Xe._reader!==void 0}function Gi(Xe,ht){if(Xe._disturbed=!0,Xe._state==="closed")return X(void 0);if(Xe._state==="errored")return W(Xe._storedError);qa(Xe);var Ot=Xe._reader;if(Ot!==void 0&&$n(Ot)){var tr=Ot._readIntoRequests;Ot._readIntoRequests=new fe,tr.forEach(function(vr){vr._closeSteps(void 0)})}var dr=Xe._readableStreamController[Ce](ht);return oe(dr,U)}function qa(Xe){Xe._state="closed";var ht=Xe._reader;if(ht!==void 0&&(Ie(ht),St(ht))){var Ot=ht._readRequests;ht._readRequests=new fe,Ot.forEach(function(tr){tr._closeSteps()})}}function $s(Xe,ht){Xe._state="errored",Xe._storedError=ht;var Ot=Xe._reader;Ot!==void 0&&(Ue(Ot,ht),St(Ot)?wt(Ot,ht):ga(Ot,ht))}function ua(Xe){return new TypeError("ReadableStream.prototype.".concat(Xe," can only be used on a ReadableStream"))}function Di(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.highWaterMark;return $e(Ot,"highWaterMark","QueuingStrategyInit"),{highWaterMark:Ye(Ot)}}var Aa=function(Xe){return Xe.byteLength};e(Aa,"size");var _i=function(){function Xe(ht){Fe(ht,1,"ByteLengthQueuingStrategy"),ht=Di(ht,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=ht.highWaterMark}return Object.defineProperty(Xe.prototype,"highWaterMark",{get:function(){if(!Ro(this))throw La("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"size",{get:function(){if(!Ro(this))throw La("size");return Aa},enumerable:!1,configurable:!0}),Xe}();Object.defineProperties(_i.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof G.toStringTag=="symbol"&&Object.defineProperty(_i.prototype,G.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});function La(Xe){return new TypeError("ByteLengthQueuingStrategy.prototype.".concat(Xe," can only be used on a ByteLengthQueuingStrategy"))}function Ro(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_byteLengthQueuingStrategyHighWaterMark")?!1:Xe instanceof _i}var qs=function(){return 1};e(qs,"size");var _s=function(){function Xe(ht){Fe(ht,1,"CountQueuingStrategy"),ht=Di(ht,"First parameter"),this._countQueuingStrategyHighWaterMark=ht.highWaterMark}return Object.defineProperty(Xe.prototype,"highWaterMark",{get:function(){if(!ho(this))throw Vs("highWaterMark");return this._countQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"size",{get:function(){if(!ho(this))throw Vs("size");return qs},enumerable:!1,configurable:!0}),Xe}();Object.defineProperties(_s.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof G.toStringTag=="symbol"&&Object.defineProperty(_s.prototype,G.toStringTag,{value:"CountQueuingStrategy",configurable:!0});function Vs(Xe){return new TypeError("CountQueuingStrategy.prototype.".concat(Xe," can only be used on a CountQueuingStrategy"))}function ho(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_countQueuingStrategyHighWaterMark")?!1:Xe instanceof _s}function Va(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.cancel,tr=Xe==null?void 0:Xe.flush,dr=Xe==null?void 0:Xe.readableType,vr=Xe==null?void 0:Xe.start,$r=Xe==null?void 0:Xe.transform,Zr=Xe==null?void 0:Xe.writableType;return{cancel:Ot===void 0?void 0:fo(Ot,Xe,"".concat(ht," has member 'cancel' that")),flush:tr===void 0?void 0:Ka(tr,Xe,"".concat(ht," has member 'flush' that")),readableType:dr,start:vr===void 0?void 0:Qa(vr,Xe,"".concat(ht," has member 'start' that")),transform:$r===void 0?void 0:qo($r,Xe,"".concat(ht," has member 'transform' that")),writableType:Zr}}function Ka(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return ke(Xe,ht,[tr])}}function Qa(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return Ee(Xe,ht,[tr])}}function qo(Xe,ht,Ot){return Le(Xe,Ot),function(tr,dr){return ke(Xe,ht,[tr,dr])}}function fo(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return ke(Xe,ht,[tr])}}var yn=function(){function Xe(ht,Ot,tr){ht===void 0&&(ht={}),Ot===void 0&&(Ot={}),tr===void 0&&(tr={}),ht===void 0&&(ht=null);var dr=yr(Ot,"Second parameter"),vr=yr(tr,"Third parameter"),$r=Va(ht,"First parameter");if($r.readableType!==void 0)throw new RangeError("Invalid readableType specified");if($r.writableType!==void 0)throw new RangeError("Invalid writableType specified");var Zr=Oe(vr,0),_n=ft(vr),en=Oe(dr,1),Tn=ft(dr),Nn,Pn=J(function(ai){Nn=ai});bs(this,Pn,en,Tn,Zr,_n),Io(this,$r),$r.start!==void 0?Nn($r.start(this._transformStreamController)):Nn(void 0)}return Object.defineProperty(Xe.prototype,"readable",{get:function(){if(!zs(this))throw Mo("readable");return this._readable},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"writable",{get:function(){if(!zs(this))throw Mo("writable");return this._writable},enumerable:!1,configurable:!0}),Xe}();Object.defineProperties(yn.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof G.toStringTag=="symbol"&&Object.defineProperty(yn.prototype,G.toStringTag,{value:"TransformStream",configurable:!0});function bs(Xe,ht,Ot,tr,dr,vr){function $r(){return ht}function Zr(Pn){return Ba(Xe,Pn)}function _n(Pn){return Do(Xe,Pn)}function en(){return Vo(Xe)}Xe._writable=li($r,Zr,en,_n,Ot,tr);function Tn(){return zo(Xe)}function Nn(Pn){return Za(Xe,Pn)}Xe._readable=Ei($r,Tn,Nn,dr,vr),Xe._backpressure=void 0,Xe._backpressureChangePromise=void 0,Xe._backpressureChangePromise_resolve=void 0,za(Xe,!0),Xe._transformStreamController=void 0}function zs(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_transformStreamController")?!1:Xe instanceof yn}function Ta(Xe,ht){Hi(Xe._readable._readableStreamController,ht),ys(Xe,ht)}function ys(Xe,ht){vs(Xe._transformStreamController),$a(Xe._writable._writableStreamController,ht),Fa(Xe)}function Fa(Xe){Xe._backpressure&&za(Xe,!1)}function za(Xe,ht){Xe._backpressureChangePromise!==void 0&&Xe._backpressureChangePromise_resolve(),Xe._backpressureChangePromise=J(function(Ot){Xe._backpressureChangePromise_resolve=Ot}),Xe._backpressure=ht}var jn=function(){function Xe(){throw new TypeError("Illegal constructor")}return Object.defineProperty(Xe.prototype,"desiredSize",{get:function(){if(!wa(this))throw Ws("desiredSize");var ht=this._controlledTransformStream._readable._readableStreamController;return Ps(ht)},enumerable:!1,configurable:!0}),Xe.prototype.enqueue=function(ht){if(ht===void 0&&(ht=void 0),!wa(this))throw Ws("enqueue");ko(this,ht)},Xe.prototype.error=function(ht){if(ht===void 0&&(ht=void 0),!wa(this))throw Ws("error");Oo(this,ht)},Xe.prototype.terminate=function(){if(!wa(this))throw Ws("terminate");No(this)},Xe}();Object.defineProperties(jn.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),e(jn.prototype.enqueue,"enqueue"),e(jn.prototype.error,"error"),e(jn.prototype.terminate,"terminate"),typeof G.toStringTag=="symbol"&&Object.defineProperty(jn.prototype,G.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});function wa(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_controlledTransformStream")?!1:Xe instanceof jn}function Hs(Xe,ht,Ot,tr,dr){ht._controlledTransformStream=Xe,Xe._transformStreamController=ht,ht._transformAlgorithm=Ot,ht._flushAlgorithm=tr,ht._cancelAlgorithm=dr,ht._finishPromise=void 0,ht._finishPromise_resolve=void 0,ht._finishPromise_reject=void 0}function Io(Xe,ht){var Ot=Object.create(jn.prototype),tr,dr,vr;ht.transform!==void 0?tr=function($r){return ht.transform($r,Ot)}:tr=function($r){try{return ko(Ot,$r),X(void 0)}catch(Zr){return W(Zr)}},ht.flush!==void 0?dr=function(){return ht.flush(Ot)}:dr=function(){return X(void 0)},ht.cancel!==void 0?vr=function($r){return ht.cancel($r)}:vr=function(){return X(void 0)},Hs(Xe,Ot,tr,dr,vr)}function vs(Xe){Xe._transformAlgorithm=void 0,Xe._flushAlgorithm=void 0,Xe._cancelAlgorithm=void 0}function ko(Xe,ht){var Ot=Xe._controlledTransformStream,tr=Ot._readable._readableStreamController;if(!ja(tr))throw new TypeError("Readable side is not in a state that permits enqueue");try{xa(tr,ht)}catch(vr){throw ys(Ot,vr),Ot._readable._storedError}var dr=Co(tr);dr!==Ot._backpressure&&za(Ot,!0)}function Oo(Xe,ht){Ta(Xe._controlledTransformStream,ht)}function po(Xe,ht){var Ot=Xe._transformAlgorithm(ht);return oe(Ot,void 0,function(tr){throw Ta(Xe._controlledTransformStream,tr),tr})}function No(Xe){var ht=Xe._controlledTransformStream,Ot=ht._readable._readableStreamController;Ma(Ot);var tr=new TypeError("TransformStream terminated");ys(ht,tr)}function Ba(Xe,ht){var Ot=Xe._transformStreamController;if(Xe._backpressure){var tr=Xe._backpressureChangePromise;return oe(tr,function(){var dr=Xe._writable,vr=dr._state;if(vr==="erroring")throw dr._storedError;return po(Ot,ht)})}return po(Ot,ht)}function Do(Xe,ht){var Ot=Xe._transformStreamController;if(Ot._finishPromise!==void 0)return Ot._finishPromise;var tr=Xe._readable;Ot._finishPromise=J(function(vr,$r){Ot._finishPromise_resolve=vr,Ot._finishPromise_reject=$r});var dr=Ot._cancelAlgorithm(ht);return vs(Ot),Q(dr,function(){return tr._state==="errored"?es(Ot,tr._storedError):(Hi(tr._readableStreamController,ht),Ja(Ot)),null},function(vr){return Hi(tr._readableStreamController,vr),es(Ot,vr),null}),Ot._finishPromise}function Vo(Xe){var ht=Xe._transformStreamController;if(ht._finishPromise!==void 0)return ht._finishPromise;var Ot=Xe._readable;ht._finishPromise=J(function(dr,vr){ht._finishPromise_resolve=dr,ht._finishPromise_reject=vr});var tr=ht._flushAlgorithm();return vs(ht),Q(tr,function(){return Ot._state==="errored"?es(ht,Ot._storedError):(Ma(Ot._readableStreamController),Ja(ht)),null},function(dr){return Hi(Ot._readableStreamController,dr),es(ht,dr),null}),ht._finishPromise}function zo(Xe){return za(Xe,!1),Xe._backpressureChangePromise}function Za(Xe,ht){var Ot=Xe._transformStreamController;if(Ot._finishPromise!==void 0)return Ot._finishPromise;var tr=Xe._writable;Ot._finishPromise=J(function(vr,$r){Ot._finishPromise_resolve=vr,Ot._finishPromise_reject=$r});var dr=Ot._cancelAlgorithm(ht);return vs(Ot),Q(dr,function(){return tr._state==="errored"?es(Ot,tr._storedError):($a(tr._writableStreamController,ht),Fa(Xe),Ja(Ot)),null},function(vr){return $a(tr._writableStreamController,vr),Fa(Xe),es(Ot,vr),null}),Ot._finishPromise}function Ws(Xe){return new TypeError("TransformStreamDefaultController.prototype.".concat(Xe," can only be used on a TransformStreamDefaultController"))}function Ja(Xe){Xe._finishPromise_resolve!==void 0&&(Xe._finishPromise_resolve(),Xe._finishPromise_resolve=void 0,Xe._finishPromise_reject=void 0)}function es(Xe,ht){Xe._finishPromise_reject!==void 0&&(se(Xe._finishPromise),Xe._finishPromise_reject(ht),Xe._finishPromise_resolve=void 0,Xe._finishPromise_reject=void 0)}function Mo(Xe){return new TypeError("TransformStream.prototype.".concat(Xe," can only be used on a TransformStream"))}M.ByteLengthQueuingStrategy=_i,M.CountQueuingStrategy=_s,M.ReadableByteStreamController=Wr,M.ReadableStream=fi,M.ReadableStreamBYOBReader=Ir,M.ReadableStreamBYOBRequest=jt,M.ReadableStreamDefaultController=va,M.ReadableStreamDefaultReader=Je,M.TransformStream=yn,M.TransformStreamDefaultController=jn,M.WritableStream=Gn,M.WritableStreamDefaultController=ba,M.WritableStreamDefaultWriter=_a})}(ponyfill,ponyfill.exports)),ponyfill.exports}var hasRequiredPdf;function requirePdf(){return hasRequiredPdf||(hasRequiredPdf=1,function(module,exports){(function(m,M){module.exports=M()})(globalThis,()=>(()=>{var __webpack_modules__=[,(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.VerbosityLevel=m.Util=m.UnknownErrorException=m.UnexpectedResponseException=m.UNSUPPORTED_FEATURES=m.TextRenderingMode=m.StreamType=m.RenderingIntentFlag=m.PermissionFlag=m.PasswordResponses=m.PasswordException=m.PageActionEventType=m.OPS=m.MissingPDFException=m.LINE_FACTOR=m.LINE_DESCENT_FACTOR=m.InvalidPDFException=m.ImageKind=m.IDENTITY_MATRIX=m.FormatError=m.FontType=m.FeatureTest=m.FONT_IDENTITY_MATRIX=m.DocumentActionEventType=m.CMapCompressionType=m.BaseException=m.AnnotationType=m.AnnotationStateModelType=m.AnnotationReviewState=m.AnnotationReplyType=m.AnnotationMode=m.AnnotationMarkedState=m.AnnotationFlag=m.AnnotationFieldFlag=m.AnnotationEditorType=m.AnnotationEditorPrefix=m.AnnotationEditorParamsType=m.AnnotationBorderStyleType=m.AnnotationActionEventType=m.AbortException=void 0,m.arrayByteLength=Fe,m.arraysToBytes=$e,m.assert=Ze,m.bytesToString=et,m.createPromiseCapability=Wt,m.createValidAbsoluteUrl=Ae,m.escapeString=Je,m.getModificationDate=Vt,m.getVerbosityLevel=_e,m.info=Ge,m.isArrayBuffer=Pt,m.isArrayEqual=Nt,m.isAscii=St,m.objectFromMap=ot,m.objectSize=tt,m.setVerbosityLevel=pe,m.shadow=De,m.string32=Ye,m.stringToBytes=Qe,m.stringToPDFString=He,m.stringToUTF16BEString=bt,m.stringToUTF8String=pt,m.unreachable=Ne,m.utf8StringToString=wt,m.warn=Te,M(2);const G=[1,0,0,1,0,0];m.IDENTITY_MATRIX=G;const V=[.001,0,0,.001,0,0];m.FONT_IDENTITY_MATRIX=V;const q=1.35;m.LINE_FACTOR=q;const $=.35;m.LINE_DESCENT_FACTOR=$;const D={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};m.RenderingIntentFlag=D;const B={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};m.AnnotationMode=B;const R="pdfjs_internal_editor_";m.AnnotationEditorPrefix=R;const U={DISABLE:-1,NONE:0,FREETEXT:3,INK:15};m.AnnotationEditorType=U;const K={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13};m.AnnotationEditorParamsType=K;const z={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};m.PermissionFlag=z;const e={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};m.TextRenderingMode=e;const ae={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};m.ImageKind=ae;const ie={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};m.AnnotationType=ie;const he={MARKED:"Marked",REVIEW:"Review"};m.AnnotationStateModelType=he;const J={MARKED:"Marked",UNMARKED:"Unmarked"};m.AnnotationMarkedState=J;const X={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};m.AnnotationReviewState=X;const W={GROUP:"Group",REPLY:"R"};m.AnnotationReplyType=W;const L={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};m.AnnotationFlag=L;const Q={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};m.AnnotationFieldFlag=Q;const ce={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};m.AnnotationBorderStyleType=ce;const de={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"};m.AnnotationActionEventType=de;const oe={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};m.DocumentActionEventType=oe;const se={O:"PageOpen",C:"PageClose"};m.PageActionEventType=se;const me={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};m.StreamType=me;const Ee={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};m.FontType=Ee;const ke={ERRORS:0,WARNINGS:1,INFOS:5};m.VerbosityLevel=ke;const xe={NONE:0,BINARY:1,STREAM:2};m.CMapCompressionType=xe;const fe={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};m.OPS=fe;const ve={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"};m.UNSUPPORTED_FEATURES=ve;const ye={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};m.PasswordResponses=ye;let Ce=ke.WARNINGS;function pe(Mt){Number.isInteger(Mt)&&(Ce=Mt)}function _e(){return Ce}function Ge(Mt){Ce>=ke.INFOS&&console.log(`Info: ${Mt}`)}function Te(Mt){Ce>=ke.WARNINGS&&console.log(`Warning: ${Mt}`)}function Ne(Mt){throw new Error(Mt)}function Ze(Mt,$t){Mt||Ne($t)}function ze(Mt){if(!Mt)return!1;switch(Mt.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function Ae(Mt){let $t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Mt)return null;try{if(Yt&&typeof Mt=="string"){if(Yt.addDefaultProtocol&&Mt.startsWith("www.")){const Jt=Mt.match(/\./g);Jt&&Jt.length>=2&&(Mt=`http://${Mt}`)}if(Yt.tryConvertEncoding)try{Mt=pt(Mt)}catch{}}const Ft=$t?new URL(Mt,$t):new URL(Mt);if(ze(Ft))return Ft}catch{}return null}function De(Mt,$t,Yt){return Object.defineProperty(Mt,$t,{value:Yt,enumerable:!0,configurable:!0,writable:!1}),Yt}const Ue=function(){function $t(Yt,Ft){this.constructor===$t&&Ne("Cannot initialize BaseException."),this.message=Yt,this.name=Ft}return $t.prototype=new Error,$t.constructor=$t,$t}();m.BaseException=Ue;class we extends Ue{constructor($t,Yt){super($t,"PasswordException"),this.code=Yt}}m.PasswordException=we;class Ie extends Ue{constructor($t,Yt){super($t,"UnknownErrorException"),this.details=Yt}}m.UnknownErrorException=Ie;class Be extends Ue{constructor($t){super($t,"InvalidPDFException")}}m.InvalidPDFException=Be;class Ke extends Ue{constructor($t){super($t,"MissingPDFException")}}m.MissingPDFException=Ke;class Ve extends Ue{constructor($t,Yt){super($t,"UnexpectedResponseException"),this.status=Yt}}m.UnexpectedResponseException=Ve;class je extends Ue{constructor($t){super($t,"FormatError")}}m.FormatError=je;class Le extends Ue{constructor($t){super($t,"AbortException")}}m.AbortException=Le;function et(Mt){(typeof Mt!="object"||Mt===null||Mt.length===void 0)&&Ne("Invalid argument for bytesToString");const $t=Mt.length,Yt=8192;if($t>24&255,Mt>>16&255,Mt>>8&255,Mt&255)}function tt(Mt){return Object.keys(Mt).length}function ot(Mt){const $t=Object.create(null);for(const[Yt,Ft]of Mt)$t[Yt]=Ft;return $t}function st(){const Mt=new Uint8Array(4);return Mt[0]=1,new Uint32Array(Mt.buffer,0,1)[0]===1}function dt(){try{return new Function(""),!0}catch{return!1}}class ct{static get isLittleEndian(){return De(this,"isLittleEndian",st())}static get isEvalSupported(){return De(this,"isEvalSupported",dt())}static get isOffscreenCanvasSupported(){return De(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}}m.FeatureTest=ct;const mt=[...Array(256).keys()].map(Mt=>Mt.toString(16).padStart(2,"0"));class ut{static makeHexColor($t,Yt,Ft){return`#${mt[$t]}${mt[Yt]}${mt[Ft]}`}static scaleMinMax($t,Yt){let Ft;$t[0]?($t[0]<0&&(Ft=Yt[0],Yt[0]=Yt[1],Yt[1]=Ft),Yt[0]*=$t[0],Yt[1]*=$t[0],$t[3]<0&&(Ft=Yt[2],Yt[2]=Yt[3],Yt[3]=Ft),Yt[2]*=$t[3],Yt[3]*=$t[3]):(Ft=Yt[0],Yt[0]=Yt[2],Yt[2]=Ft,Ft=Yt[1],Yt[1]=Yt[3],Yt[3]=Ft,$t[1]<0&&(Ft=Yt[2],Yt[2]=Yt[3],Yt[3]=Ft),Yt[2]*=$t[1],Yt[3]*=$t[1],$t[2]<0&&(Ft=Yt[0],Yt[0]=Yt[1],Yt[1]=Ft),Yt[0]*=$t[2],Yt[1]*=$t[2]),Yt[0]+=$t[4],Yt[1]+=$t[4],Yt[2]+=$t[5],Yt[3]+=$t[5]}static transform($t,Yt){return[$t[0]*Yt[0]+$t[2]*Yt[1],$t[1]*Yt[0]+$t[3]*Yt[1],$t[0]*Yt[2]+$t[2]*Yt[3],$t[1]*Yt[2]+$t[3]*Yt[3],$t[0]*Yt[4]+$t[2]*Yt[5]+$t[4],$t[1]*Yt[4]+$t[3]*Yt[5]+$t[5]]}static applyTransform($t,Yt){const Ft=$t[0]*Yt[0]+$t[1]*Yt[2]+Yt[4],Jt=$t[0]*Yt[1]+$t[1]*Yt[3]+Yt[5];return[Ft,Jt]}static applyInverseTransform($t,Yt){const Ft=Yt[0]*Yt[3]-Yt[1]*Yt[2],Jt=($t[0]*Yt[3]-$t[1]*Yt[2]+Yt[2]*Yt[5]-Yt[4]*Yt[3])/Ft,er=(-$t[0]*Yt[1]+$t[1]*Yt[0]+Yt[4]*Yt[1]-Yt[5]*Yt[0])/Ft;return[Jt,er]}static getAxialAlignedBoundingBox($t,Yt){const Ft=ut.applyTransform($t,Yt),Jt=ut.applyTransform($t.slice(2,4),Yt),er=ut.applyTransform([$t[0],$t[3]],Yt),Bt=ut.applyTransform([$t[2],$t[1]],Yt);return[Math.min(Ft[0],Jt[0],er[0],Bt[0]),Math.min(Ft[1],Jt[1],er[1],Bt[1]),Math.max(Ft[0],Jt[0],er[0],Bt[0]),Math.max(Ft[1],Jt[1],er[1],Bt[1])]}static inverseTransform($t){const Yt=$t[0]*$t[3]-$t[1]*$t[2];return[$t[3]/Yt,-$t[1]/Yt,-$t[2]/Yt,$t[0]/Yt,($t[2]*$t[5]-$t[4]*$t[3])/Yt,($t[4]*$t[1]-$t[5]*$t[0])/Yt]}static apply3dTransform($t,Yt){return[$t[0]*Yt[0]+$t[1]*Yt[1]+$t[2]*Yt[2],$t[3]*Yt[0]+$t[4]*Yt[1]+$t[5]*Yt[2],$t[6]*Yt[0]+$t[7]*Yt[1]+$t[8]*Yt[2]]}static singularValueDecompose2dScale($t){const Yt=[$t[0],$t[2],$t[1],$t[3]],Ft=$t[0]*Yt[0]+$t[1]*Yt[2],Jt=$t[0]*Yt[1]+$t[1]*Yt[3],er=$t[2]*Yt[0]+$t[3]*Yt[2],Bt=$t[2]*Yt[1]+$t[3]*Yt[3],It=(Ft+Bt)/2,Dt=Math.sqrt((Ft+Bt)**2-4*(Ft*Bt-er*Jt))/2,Zt=It+Dt||1,gr=It-Dt||1;return[Math.sqrt(Zt),Math.sqrt(gr)]}static normalizeRect($t){const Yt=$t.slice(0);return $t[0]>$t[2]&&(Yt[0]=$t[2],Yt[2]=$t[0]),$t[1]>$t[3]&&(Yt[1]=$t[3],Yt[3]=$t[1]),Yt}static intersect($t,Yt){const Ft=Math.max(Math.min($t[0],$t[2]),Math.min(Yt[0],Yt[2])),Jt=Math.min(Math.max($t[0],$t[2]),Math.max(Yt[0],Yt[2]));if(Ft>Jt)return null;const er=Math.max(Math.min($t[1],$t[3]),Math.min(Yt[1],Yt[3])),Bt=Math.min(Math.max($t[1],$t[3]),Math.max(Yt[1],Yt[3]));return er>Bt?null:[Ft,er,Jt,Bt]}static bezierBoundingBox($t,Yt,Ft,Jt,er,Bt,It,Dt){const Zt=[],gr=[[],[]];let fr,Dr,kr,cr,Ar,yt,vt,Xt;for(let br=0;br<2;++br){if(br===0?(Dr=6*$t-12*Ft+6*er,fr=-3*$t+9*Ft-9*er+3*It,kr=3*Ft-3*$t):(Dr=6*Yt-12*Jt+6*Bt,fr=-3*Yt+9*Jt-9*Bt+3*Dt,kr=3*Jt-3*Yt),Math.abs(fr)<1e-12){if(Math.abs(Dr)<1e-12)continue;cr=-kr/Dr,0="ï"){let Yt;if(Mt[0]==="þ"&&Mt[1]==="ÿ"?Yt="utf-16be":Mt[0]==="ÿ"&&Mt[1]==="þ"?Yt="utf-16le":Mt[0]==="ï"&&Mt[1]==="»"&&Mt[2]==="¿"&&(Yt="utf-8"),Yt)try{const Ft=new TextDecoder(Yt,{fatal:!0}),Jt=Qe(Mt);return Ft.decode(Jt)}catch(Ft){Te(`stringToPDFString: "${Ft}".`)}}const $t=[];for(let Yt=0,Ft=Mt.length;Yt$t===` -`?"\\n":$t==="\r"?"\\r":`\\${$t}`)}function St(Mt){return/^[\x00-\x7F]*$/.test(Mt)}function bt(Mt){const $t=["þÿ"];for(let Yt=0,Ft=Mt.length;Yt>8&255),String.fromCharCode(Jt&255))}return $t.join("")}function pt(Mt){return decodeURIComponent(escape(Mt))}function wt(Mt){return unescape(encodeURIComponent(Mt))}function Pt(Mt){return typeof Mt=="object"&&Mt!==null&&Mt.byteLength!==void 0}function Nt(Mt,$t){if(Mt.length!==$t.length)return!1;for(let Yt=0,Ft=Mt.length;Yt0&&arguments[0]!==void 0?arguments[0]:new Date;return[Mt.getUTCFullYear().toString(),(Mt.getUTCMonth()+1).toString().padStart(2,"0"),Mt.getUTCDate().toString().padStart(2,"0"),Mt.getUTCHours().toString().padStart(2,"0"),Mt.getUTCMinutes().toString().padStart(2,"0"),Mt.getUTCSeconds().toString().padStart(2,"0")].join("")}function Wt(){const Mt=Object.create(null);let $t=!1;return Object.defineProperty(Mt,"settled",{get(){return $t}}),Mt.promise=new Promise(function(Yt,Ft){Mt.resolve=function(Jt){$t=!0,Yt(Jt)},Mt.reject=function(Jt){$t=!0,Ft(Jt)}}),Mt}},(k,m,M)=>{var G=M(3);globalThis._pdfjsCompatibilityChecked||(globalThis._pdfjsCompatibilityChecked=!0,function(){globalThis.btoa||!G.isNodeJS||(globalThis.btoa=function(q){return Buffer.from(q,"binary").toString("base64")})}(),function(){globalThis.atob||!G.isNodeJS||(globalThis.atob=function(q){return Buffer.from(q,"base64").toString("binary")})}(),function(){globalThis.DOMMatrix||!G.isNodeJS||(globalThis.DOMMatrix=requireDommatrix())}(),function(){globalThis.ReadableStream||!G.isNodeJS||(globalThis.ReadableStream=requirePonyfill().ReadableStream)}(),function(){Array.prototype.at||M(4)}(),function(){Uint8Array.prototype.at||M(76)}(),function(){globalThis.structuredClone||M(86)}())},(k,m)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.isNodeJS=void 0;const M=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser");m.isNodeJS=M},(k,m,M)=>{M(5);var G=M(75);k.exports=G("Array","at")},(k,m,M)=>{var G=M(6),V=M(41),q=M(65),$=M(63),D=M(70);G({target:"Array",proto:!0},{at:function(R){var U=V(this),K=q(U),z=$(R),e=z>=0?z:K+z;return e<0||e>=K?void 0:U[e]}}),D("at")},(k,m,M)=>{var G=M(7),V=M(8).f,q=M(45),$=M(49),D=M(39),B=M(57),R=M(69);k.exports=function(U,K){var z=U.target,e=U.global,ae=U.stat,ie,he,J,X,W,L;if(e?he=G:ae?he=G[z]||D(z,{}):he=(G[z]||{}).prototype,he)for(J in K){if(W=K[J],U.dontCallGetSet?(L=V(he,J),X=L&&L.value):X=he[J],ie=R(e?J:z+(ae?".":"#")+J,U.forced),!ie&&X!==void 0){if(typeof W==typeof X)continue;B(W,X)}(U.sham||X&&X.sham)&&q(W,"sham",!0),$(he,J,W,U)}}},k=>{var m=function(M){return M&&M.Math==Math&&M};k.exports=m(typeof globalThis=="object"&&globalThis)||m(typeof window=="object"&&window)||m(typeof self=="object"&&self)||m(typeof commonjsGlobal$1=="object"&&commonjsGlobal$1)||function(){return this}()||Function("return this")()},(k,m,M)=>{var G=M(9),V=M(11),q=M(13),$=M(14),D=M(15),B=M(20),R=M(40),U=M(43),K=Object.getOwnPropertyDescriptor;m.f=G?K:function(e,ae){if(e=D(e),ae=B(ae),U)try{return K(e,ae)}catch{}if(R(e,ae))return $(!V(q.f,e,ae),e[ae])}},(k,m,M)=>{var G=M(10);k.exports=!G(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},k=>{k.exports=function(m){try{return!!m()}catch{return!0}}},(k,m,M)=>{var G=M(12),V=Function.prototype.call;k.exports=G?V.bind(V):function(){return V.apply(V,arguments)}},(k,m,M)=>{var G=M(10);k.exports=!G(function(){var V=(function(){}).bind();return typeof V!="function"||V.hasOwnProperty("prototype")})},(k,m)=>{var M={}.propertyIsEnumerable,G=Object.getOwnPropertyDescriptor,V=G&&!M.call({1:2},1);m.f=V?function($){var D=G(this,$);return!!D&&D.enumerable}:M},k=>{k.exports=function(m,M){return{enumerable:!(m&1),configurable:!(m&2),writable:!(m&4),value:M}}},(k,m,M)=>{var G=M(16),V=M(19);k.exports=function(q){return G(V(q))}},(k,m,M)=>{var G=M(17),V=M(10),q=M(18),$=Object,D=G("".split);k.exports=V(function(){return!$("z").propertyIsEnumerable(0)})?function(B){return q(B)=="String"?D(B,""):$(B)}:$},(k,m,M)=>{var G=M(12),V=Function.prototype,q=V.bind,$=V.call,D=G&&q.bind($,$);k.exports=G?function(B){return B&&D(B)}:function(B){return B&&function(){return $.apply(B,arguments)}}},(k,m,M)=>{var G=M(17),V=G({}.toString),q=G("".slice);k.exports=function($){return q(V($),8,-1)}},k=>{var m=TypeError;k.exports=function(M){if(M==null)throw m("Can't call method on "+M);return M}},(k,m,M)=>{var G=M(21),V=M(24);k.exports=function(q){var $=G(q,"string");return V($)?$:$+""}},(k,m,M)=>{var G=M(11),V=M(22),q=M(24),$=M(31),D=M(34),B=M(35),R=TypeError,U=B("toPrimitive");k.exports=function(K,z){if(!V(K)||q(K))return K;var e=$(K,U),ae;if(e){if(z===void 0&&(z="default"),ae=G(e,K,z),!V(ae)||q(ae))return ae;throw R("Can't convert object to primitive value")}return z===void 0&&(z="number"),D(K,z)}},(k,m,M)=>{var G=M(23);k.exports=function(V){return typeof V=="object"?V!==null:G(V)}},k=>{k.exports=function(m){return typeof m=="function"}},(k,m,M)=>{var G=M(25),V=M(23),q=M(26),$=M(27),D=Object;k.exports=$?function(B){return typeof B=="symbol"}:function(B){var R=G("Symbol");return V(R)&&q(R.prototype,D(B))}},(k,m,M)=>{var G=M(7),V=M(23),q=function($){return V($)?$:void 0};k.exports=function($,D){return arguments.length<2?q(G[$]):G[$]&&G[$][D]}},(k,m,M)=>{var G=M(17);k.exports=G({}.isPrototypeOf)},(k,m,M)=>{var G=M(28);k.exports=G&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},(k,m,M)=>{var G=M(29),V=M(10);k.exports=!!Object.getOwnPropertySymbols&&!V(function(){var q=Symbol();return!String(q)||!(Object(q)instanceof Symbol)||!Symbol.sham&&G&&G<41})},(k,m,M)=>{var G=M(7),V=M(30),q=G.process,$=G.Deno,D=q&&q.versions||$&&$.version,B=D&&D.v8,R,U;B&&(R=B.split("."),U=R[0]>0&&R[0]<4?1:+(R[0]+R[1])),!U&&V&&(R=V.match(/Edge\/(\d+)/),(!R||R[1]>=74)&&(R=V.match(/Chrome\/(\d+)/),R&&(U=+R[1]))),k.exports=U},(k,m,M)=>{var G=M(25);k.exports=G("navigator","userAgent")||""},(k,m,M)=>{var G=M(32);k.exports=function(V,q){var $=V[q];return $==null?void 0:G($)}},(k,m,M)=>{var G=M(23),V=M(33),q=TypeError;k.exports=function($){if(G($))return $;throw q(V($)+" is not a function")}},k=>{var m=String;k.exports=function(M){try{return m(M)}catch{return"Object"}}},(k,m,M)=>{var G=M(11),V=M(23),q=M(22),$=TypeError;k.exports=function(D,B){var R,U;if(B==="string"&&V(R=D.toString)&&!q(U=G(R,D))||V(R=D.valueOf)&&!q(U=G(R,D))||B!=="string"&&V(R=D.toString)&&!q(U=G(R,D)))return U;throw $("Can't convert object to primitive value")}},(k,m,M)=>{var G=M(7),V=M(36),q=M(40),$=M(42),D=M(28),B=M(27),R=V("wks"),U=G.Symbol,K=U&&U.for,z=B?U:U&&U.withoutSetter||$;k.exports=function(e){if(!q(R,e)||!(D||typeof R[e]=="string")){var ae="Symbol."+e;D&&q(U,e)?R[e]=U[e]:B&&K?R[e]=K(ae):R[e]=z(ae)}return R[e]}},(k,m,M)=>{var G=M(37),V=M(38);(k.exports=function(q,$){return V[q]||(V[q]=$!==void 0?$:{})})("versions",[]).push({version:"3.24.1",mode:G?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},k=>{k.exports=!1},(k,m,M)=>{var G=M(7),V=M(39),q="__core-js_shared__",$=G[q]||V(q,{});k.exports=$},(k,m,M)=>{var G=M(7),V=Object.defineProperty;k.exports=function(q,$){try{V(G,q,{value:$,configurable:!0,writable:!0})}catch{G[q]=$}return $}},(k,m,M)=>{var G=M(17),V=M(41),q=G({}.hasOwnProperty);k.exports=Object.hasOwn||function(D,B){return q(V(D),B)}},(k,m,M)=>{var G=M(19),V=Object;k.exports=function(q){return V(G(q))}},(k,m,M)=>{var G=M(17),V=0,q=Math.random(),$=G(1 .toString);k.exports=function(D){return"Symbol("+(D===void 0?"":D)+")_"+$(++V+q,36)}},(k,m,M)=>{var G=M(9),V=M(10),q=M(44);k.exports=!G&&!V(function(){return Object.defineProperty(q("div"),"a",{get:function(){return 7}}).a!=7})},(k,m,M)=>{var G=M(7),V=M(22),q=G.document,$=V(q)&&V(q.createElement);k.exports=function(D){return $?q.createElement(D):{}}},(k,m,M)=>{var G=M(9),V=M(46),q=M(14);k.exports=G?function($,D,B){return V.f($,D,q(1,B))}:function($,D,B){return $[D]=B,$}},(k,m,M)=>{var G=M(9),V=M(43),q=M(47),$=M(48),D=M(20),B=TypeError,R=Object.defineProperty,U=Object.getOwnPropertyDescriptor,K="enumerable",z="configurable",e="writable";m.f=G?q?function(ie,he,J){if($(ie),he=D(he),$(J),typeof ie=="function"&&he==="prototype"&&"value"in J&&e in J&&!J[e]){var X=U(ie,he);X&&X[e]&&(ie[he]=J.value,J={configurable:z in J?J[z]:X[z],enumerable:K in J?J[K]:X[K],writable:!1})}return R(ie,he,J)}:R:function(ie,he,J){if($(ie),he=D(he),$(J),V)try{return R(ie,he,J)}catch{}if("get"in J||"set"in J)throw B("Accessors not supported");return"value"in J&&(ie[he]=J.value),ie}},(k,m,M)=>{var G=M(9),V=M(10);k.exports=G&&V(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},(k,m,M)=>{var G=M(22),V=String,q=TypeError;k.exports=function($){if(G($))return $;throw q(V($)+" is not an object")}},(k,m,M)=>{var G=M(23),V=M(46),q=M(50),$=M(39);k.exports=function(D,B,R,U){U||(U={});var K=U.enumerable,z=U.name!==void 0?U.name:B;if(G(R)&&q(R,z,U),U.global)K?D[B]=R:$(B,R);else{try{U.unsafe?D[B]&&(K=!0):delete D[B]}catch{}K?D[B]=R:V.f(D,B,{value:R,enumerable:!1,configurable:!U.nonConfigurable,writable:!U.nonWritable})}return D}},(k,m,M)=>{var G=M(10),V=M(23),q=M(40),$=M(9),D=M(51).CONFIGURABLE,B=M(52),R=M(53),U=R.enforce,K=R.get,z=Object.defineProperty,e=$&&!G(function(){return z(function(){},"length",{value:8}).length!==8}),ae=String(String).split("String"),ie=k.exports=function(he,J,X){String(J).slice(0,7)==="Symbol("&&(J="["+String(J).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),X&&X.getter&&(J="get "+J),X&&X.setter&&(J="set "+J),(!q(he,"name")||D&&he.name!==J)&&($?z(he,"name",{value:J,configurable:!0}):he.name=J),e&&X&&q(X,"arity")&&he.length!==X.arity&&z(he,"length",{value:X.arity});try{X&&q(X,"constructor")&&X.constructor?$&&z(he,"prototype",{writable:!1}):he.prototype&&(he.prototype=void 0)}catch{}var W=U(he);return q(W,"source")||(W.source=ae.join(typeof J=="string"?J:"")),he};Function.prototype.toString=ie(function(){return V(this)&&K(this).source||B(this)},"toString")},(k,m,M)=>{var G=M(9),V=M(40),q=Function.prototype,$=G&&Object.getOwnPropertyDescriptor,D=V(q,"name"),B=D&&(function(){}).name==="something",R=D&&(!G||G&&$(q,"name").configurable);k.exports={EXISTS:D,PROPER:B,CONFIGURABLE:R}},(k,m,M)=>{var G=M(17),V=M(23),q=M(38),$=G(Function.toString);V(q.inspectSource)||(q.inspectSource=function(D){return $(D)}),k.exports=q.inspectSource},(k,m,M)=>{var G=M(54),V=M(7),q=M(17),$=M(22),D=M(45),B=M(40),R=M(38),U=M(55),K=M(56),z="Object already initialized",e=V.TypeError,ae=V.WeakMap,ie,he,J,X=function(se){return J(se)?he(se):ie(se,{})},W=function(se){return function(me){var Ee;if(!$(me)||(Ee=he(me)).type!==se)throw e("Incompatible receiver, "+se+" required");return Ee}};if(G||R.state){var L=R.state||(R.state=new ae),Q=q(L.get),ce=q(L.has),de=q(L.set);ie=function(se,me){if(ce(L,se))throw new e(z);return me.facade=se,de(L,se,me),me},he=function(se){return Q(L,se)||{}},J=function(se){return ce(L,se)}}else{var oe=U("state");K[oe]=!0,ie=function(se,me){if(B(se,oe))throw new e(z);return me.facade=se,D(se,oe,me),me},he=function(se){return B(se,oe)?se[oe]:{}},J=function(se){return B(se,oe)}}k.exports={set:ie,get:he,has:J,enforce:X,getterFor:W}},(k,m,M)=>{var G=M(7),V=M(23),q=M(52),$=G.WeakMap;k.exports=V($)&&/native code/.test(q($))},(k,m,M)=>{var G=M(36),V=M(42),q=G("keys");k.exports=function($){return q[$]||(q[$]=V($))}},k=>{k.exports={}},(k,m,M)=>{var G=M(40),V=M(58),q=M(8),$=M(46);k.exports=function(D,B,R){for(var U=V(B),K=$.f,z=q.f,e=0;e{var G=M(25),V=M(17),q=M(59),$=M(68),D=M(48),B=V([].concat);k.exports=G("Reflect","ownKeys")||function(U){var K=q.f(D(U)),z=$.f;return z?B(K,z(U)):K}},(k,m,M)=>{var G=M(60),V=M(67),q=V.concat("length","prototype");m.f=Object.getOwnPropertyNames||function(D){return G(D,q)}},(k,m,M)=>{var G=M(17),V=M(40),q=M(15),$=M(61).indexOf,D=M(56),B=G([].push);k.exports=function(R,U){var K=q(R),z=0,e=[],ae;for(ae in K)!V(D,ae)&&V(K,ae)&&B(e,ae);for(;U.length>z;)V(K,ae=U[z++])&&(~$(e,ae)||B(e,ae));return e}},(k,m,M)=>{var G=M(15),V=M(62),q=M(65),$=function(D){return function(B,R,U){var K=G(B),z=q(K),e=V(U,z),ae;if(D&&R!=R){for(;z>e;)if(ae=K[e++],ae!=ae)return!0}else for(;z>e;e++)if((D||e in K)&&K[e]===R)return D||e||0;return!D&&-1}};k.exports={includes:$(!0),indexOf:$(!1)}},(k,m,M)=>{var G=M(63),V=Math.max,q=Math.min;k.exports=function($,D){var B=G($);return B<0?V(B+D,0):q(B,D)}},(k,m,M)=>{var G=M(64);k.exports=function(V){var q=+V;return q!==q||q===0?0:G(q)}},k=>{var m=Math.ceil,M=Math.floor;k.exports=Math.trunc||function(V){var q=+V;return(q>0?M:m)(q)}},(k,m,M)=>{var G=M(66);k.exports=function(V){return G(V.length)}},(k,m,M)=>{var G=M(63),V=Math.min;k.exports=function(q){return q>0?V(G(q),9007199254740991):0}},k=>{k.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(k,m)=>{m.f=Object.getOwnPropertySymbols},(k,m,M)=>{var G=M(10),V=M(23),q=/#|\.prototype\./,$=function(K,z){var e=B[D(K)];return e==U?!0:e==R?!1:V(z)?G(z):!!z},D=$.normalize=function(K){return String(K).replace(q,".").toLowerCase()},B=$.data={},R=$.NATIVE="N",U=$.POLYFILL="P";k.exports=$},(k,m,M)=>{var G=M(35),V=M(71),q=M(46).f,$=G("unscopables"),D=Array.prototype;D[$]==null&&q(D,$,{configurable:!0,value:V(null)}),k.exports=function(B){D[$][B]=!0}},(k,m,M)=>{var G=M(48),V=M(72),q=M(67),$=M(56),D=M(74),B=M(44),R=M(55),U=">",K="<",z="prototype",e="script",ae=R("IE_PROTO"),ie=function(){},he=function(Q){return K+e+U+Q+K+"/"+e+U},J=function(Q){Q.write(he("")),Q.close();var ce=Q.parentWindow.Object;return Q=null,ce},X=function(){var Q=B("iframe"),ce="java"+e+":",de;return Q.style.display="none",D.appendChild(Q),Q.src=String(ce),de=Q.contentWindow.document,de.open(),de.write(he("document.F=Object")),de.close(),de.F},W,L=function(){try{W=new ActiveXObject("htmlfile")}catch{}L=typeof document<"u"?document.domain&&W?J(W):X():J(W);for(var Q=q.length;Q--;)delete L[z][q[Q]];return L()};$[ae]=!0,k.exports=Object.create||function(ce,de){var oe;return ce!==null?(ie[z]=G(ce),oe=new ie,ie[z]=null,oe[ae]=ce):oe=L(),de===void 0?oe:V.f(oe,de)}},(k,m,M)=>{var G=M(9),V=M(47),q=M(46),$=M(48),D=M(15),B=M(73);m.f=G&&!V?Object.defineProperties:function(U,K){$(U);for(var z=D(K),e=B(K),ae=e.length,ie=0,he;ae>ie;)q.f(U,he=e[ie++],z[he]);return U}},(k,m,M)=>{var G=M(60),V=M(67);k.exports=Object.keys||function($){return G($,V)}},(k,m,M)=>{var G=M(25);k.exports=G("document","documentElement")},(k,m,M)=>{var G=M(7),V=M(17);k.exports=function(q,$){return V(G[q].prototype[$])}},(k,m,M)=>{M(77)},(k,m,M)=>{var G=M(78),V=M(65),q=M(63),$=G.aTypedArray,D=G.exportTypedArrayMethod;D("at",function(R){var U=$(this),K=V(U),z=q(R),e=z>=0?z:K+z;return e<0||e>=K?void 0:U[e]})},(k,m,M)=>{var G=M(79),V=M(9),q=M(7),$=M(23),D=M(22),B=M(40),R=M(80),U=M(33),K=M(45),z=M(49),e=M(46).f,ae=M(26),ie=M(82),he=M(84),J=M(35),X=M(42),W=M(53),L=W.enforce,Q=W.get,ce=q.Int8Array,de=ce&&ce.prototype,oe=q.Uint8ClampedArray,se=oe&&oe.prototype,me=ce&&ie(ce),Ee=de&&ie(de),ke=Object.prototype,xe=q.TypeError,fe=J("toStringTag"),ve=X("TYPED_ARRAY_TAG"),ye="TypedArrayConstructor",Ce=G&&!!he&&R(q.opera)!=="Opera",pe=!1,_e,Ge,Te,Ne={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ze={BigInt64Array:8,BigUint64Array:8},ze=function(Ve){if(!D(Ve))return!1;var je=R(Ve);return je==="DataView"||B(Ne,je)||B(Ze,je)},Ae=function(Ke){var Ve=ie(Ke);if(D(Ve)){var je=Q(Ve);return je&&B(je,ye)?je[ye]:Ae(Ve)}},De=function(Ke){if(!D(Ke))return!1;var Ve=R(Ke);return B(Ne,Ve)||B(Ze,Ve)},Ue=function(Ke){if(De(Ke))return Ke;throw xe("Target is not a typed array")},we=function(Ke){if($(Ke)&&(!he||ae(me,Ke)))return Ke;throw xe(U(Ke)+" is not a typed array constructor")},Ie=function(Ke,Ve,je,Le){if(V){if(je)for(var et in Ne){var Qe=q[et];if(Qe&&B(Qe.prototype,Ke))try{delete Qe.prototype[Ke]}catch{try{Qe.prototype[Ke]=Ve}catch{}}}(!Ee[Ke]||je)&&z(Ee,Ke,je?Ve:Ce&&de[Ke]||Ve,Le)}},Be=function(Ke,Ve,je){var Le,et;if(V){if(he){if(je){for(Le in Ne)if(et=q[Le],et&&B(et,Ke))try{delete et[Ke]}catch{}}if(!me[Ke]||je)try{return z(me,Ke,je?Ve:Ce&&me[Ke]||Ve)}catch{}else return}for(Le in Ne)et=q[Le],et&&(!et[Ke]||je)&&z(et,Ke,Ve)}};for(_e in Ne)Ge=q[_e],Te=Ge&&Ge.prototype,Te?L(Te)[ye]=Ge:Ce=!1;for(_e in Ze)Ge=q[_e],Te=Ge&&Ge.prototype,Te&&(L(Te)[ye]=Ge);if((!Ce||!$(me)||me===Function.prototype)&&(me=function(){throw xe("Incorrect invocation")},Ce))for(_e in Ne)q[_e]&&he(q[_e],me);if((!Ce||!Ee||Ee===ke)&&(Ee=me.prototype,Ce))for(_e in Ne)q[_e]&&he(q[_e].prototype,Ee);if(Ce&&ie(se)!==Ee&&he(se,Ee),V&&!B(Ee,fe)){pe=!0,e(Ee,fe,{get:function(){return D(this)?this[ve]:void 0}});for(_e in Ne)q[_e]&&K(q[_e],ve,_e)}k.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ce,TYPED_ARRAY_TAG:pe&&ve,aTypedArray:Ue,aTypedArrayConstructor:we,exportTypedArrayMethod:Ie,exportTypedArrayStaticMethod:Be,getTypedArrayConstructor:Ae,isView:ze,isTypedArray:De,TypedArray:me,TypedArrayPrototype:Ee}},k=>{k.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},(k,m,M)=>{var G=M(81),V=M(23),q=M(18),$=M(35),D=$("toStringTag"),B=Object,R=q(function(){return arguments}())=="Arguments",U=function(K,z){try{return K[z]}catch{}};k.exports=G?q:function(K){var z,e,ae;return K===void 0?"Undefined":K===null?"Null":typeof(e=U(z=B(K),D))=="string"?e:R?q(z):(ae=q(z))=="Object"&&V(z.callee)?"Arguments":ae}},(k,m,M)=>{var G=M(35),V=G("toStringTag"),q={};q[V]="z",k.exports=String(q)==="[object z]"},(k,m,M)=>{var G=M(40),V=M(23),q=M(41),$=M(55),D=M(83),B=$("IE_PROTO"),R=Object,U=R.prototype;k.exports=D?R.getPrototypeOf:function(K){var z=q(K);if(G(z,B))return z[B];var e=z.constructor;return V(e)&&z instanceof e?e.prototype:z instanceof R?U:null}},(k,m,M)=>{var G=M(10);k.exports=!G(function(){function V(){}return V.prototype.constructor=null,Object.getPrototypeOf(new V)!==V.prototype})},(k,m,M)=>{var G=M(17),V=M(48),q=M(85);k.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var $=!1,D={},B;try{B=G(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),B(D,[]),$=D instanceof Array}catch{}return function(U,K){return V(U),q(K),$?B(U,K):U.__proto__=K,U}}():void 0)},(k,m,M)=>{var G=M(23),V=String,q=TypeError;k.exports=function($){if(typeof $=="object"||G($))return $;throw q("Can't set "+V($)+" as a prototype")}},(k,m,M)=>{M(87),M(93),M(95),M(117),M(119);var G=M(128);k.exports=G.structuredClone},(k,m,M)=>{var G=M(15),V=M(70),q=M(88),$=M(53),D=M(46).f,B=M(89),R=M(37),U=M(9),K="Array Iterator",z=$.set,e=$.getterFor(K);k.exports=B(Array,"Array",function(ie,he){z(this,{type:K,target:G(ie),index:0,kind:he})},function(){var ie=e(this),he=ie.target,J=ie.kind,X=ie.index++;return!he||X>=he.length?(ie.target=void 0,{value:void 0,done:!0}):J=="keys"?{value:X,done:!1}:J=="values"?{value:he[X],done:!1}:{value:[X,he[X]],done:!1}},"values");var ae=q.Arguments=q.Array;if(V("keys"),V("values"),V("entries"),!R&&U&&ae.name!=="values")try{D(ae,"name",{value:"values"})}catch{}},k=>{k.exports={}},(k,m,M)=>{var G=M(6),V=M(11),q=M(37),$=M(51),D=M(23),B=M(90),R=M(82),U=M(84),K=M(92),z=M(45),e=M(49),ae=M(35),ie=M(88),he=M(91),J=$.PROPER,X=$.CONFIGURABLE,W=he.IteratorPrototype,L=he.BUGGY_SAFARI_ITERATORS,Q=ae("iterator"),ce="keys",de="values",oe="entries",se=function(){return this};k.exports=function(me,Ee,ke,xe,fe,ve,ye){B(ke,Ee,xe);var Ce=function(Ue){if(Ue===fe&&Ne)return Ne;if(!L&&Ue in Ge)return Ge[Ue];switch(Ue){case ce:return function(){return new ke(this,Ue)};case de:return function(){return new ke(this,Ue)};case oe:return function(){return new ke(this,Ue)}}return function(){return new ke(this)}},pe=Ee+" Iterator",_e=!1,Ge=me.prototype,Te=Ge[Q]||Ge["@@iterator"]||fe&&Ge[fe],Ne=!L&&Te||Ce(fe),Ze=Ee=="Array"&&Ge.entries||Te,ze,Ae,De;if(Ze&&(ze=R(Ze.call(new me)),ze!==Object.prototype&&ze.next&&(!q&&R(ze)!==W&&(U?U(ze,W):D(ze[Q])||e(ze,Q,se)),K(ze,pe,!0,!0),q&&(ie[pe]=se))),J&&fe==de&&Te&&Te.name!==de&&(!q&&X?z(Ge,"name",de):(_e=!0,Ne=function(){return V(Te,this)})),fe)if(Ae={values:Ce(de),keys:ve?Ne:Ce(ce),entries:Ce(oe)},ye)for(De in Ae)(L||_e||!(De in Ge))&&e(Ge,De,Ae[De]);else G({target:Ee,proto:!0,forced:L||_e},Ae);return(!q||ye)&&Ge[Q]!==Ne&&e(Ge,Q,Ne,{name:fe}),ie[Ee]=Ne,Ae}},(k,m,M)=>{var G=M(91).IteratorPrototype,V=M(71),q=M(14),$=M(92),D=M(88),B=function(){return this};k.exports=function(R,U,K,z){var e=U+" Iterator";return R.prototype=V(G,{next:q(+!z,K)}),$(R,e,!1,!0),D[e]=B,R}},(k,m,M)=>{var G=M(10),V=M(23),q=M(71),$=M(82),D=M(49),B=M(35),R=M(37),U=B("iterator"),K=!1,z,e,ae;[].keys&&(ae=[].keys(),"next"in ae?(e=$($(ae)),e!==Object.prototype&&(z=e)):K=!0);var ie=z==null||G(function(){var he={};return z[U].call(he)!==he});ie?z={}:R&&(z=q(z)),V(z[U])||D(z,U,function(){return this}),k.exports={IteratorPrototype:z,BUGGY_SAFARI_ITERATORS:K}},(k,m,M)=>{var G=M(46).f,V=M(40),q=M(35),$=q("toStringTag");k.exports=function(D,B,R){D&&!R&&(D=D.prototype),D&&!V(D,$)&&G(D,$,{configurable:!0,value:B})}},(k,m,M)=>{var G=M(81),V=M(49),q=M(94);G||V(Object.prototype,"toString",q,{unsafe:!0})},(k,m,M)=>{var G=M(81),V=M(80);k.exports=G?{}.toString:function(){return"[object "+V(this)+"]"}},(k,m,M)=>{M(96)},(k,m,M)=>{var G=M(97),V=M(114);G("Map",function(q){return function(){return q(this,arguments.length?arguments[0]:void 0)}},V)},(k,m,M)=>{var G=M(6),V=M(7),q=M(17),$=M(69),D=M(49),B=M(98),R=M(105),U=M(111),K=M(23),z=M(22),e=M(10),ae=M(112),ie=M(92),he=M(113);k.exports=function(J,X,W){var L=J.indexOf("Map")!==-1,Q=J.indexOf("Weak")!==-1,ce=L?"set":"add",de=V[J],oe=de&&de.prototype,se=de,me={},Ee=function(pe){var _e=q(oe[pe]);D(oe,pe,pe=="add"?function(Te){return _e(this,Te===0?0:Te),this}:pe=="delete"?function(Ge){return Q&&!z(Ge)?!1:_e(this,Ge===0?0:Ge)}:pe=="get"?function(Te){return Q&&!z(Te)?void 0:_e(this,Te===0?0:Te)}:pe=="has"?function(Te){return Q&&!z(Te)?!1:_e(this,Te===0?0:Te)}:function(Te,Ne){return _e(this,Te===0?0:Te,Ne),this})},ke=$(J,!K(de)||!(Q||oe.forEach&&!e(function(){new de().entries().next()})));if(ke)se=W.getConstructor(X,J,L,ce),B.enable();else if($(J,!0)){var xe=new se,fe=xe[ce](Q?{}:-0,1)!=xe,ve=e(function(){xe.has(1)}),ye=ae(function(pe){new de(pe)}),Ce=!Q&&e(function(){for(var pe=new de,_e=5;_e--;)pe[ce](_e,_e);return!pe.has(-0)});ye||(se=X(function(pe,_e){U(pe,oe);var Ge=he(new de,pe,se);return _e!=null&&R(_e,Ge[ce],{that:Ge,AS_ENTRIES:L}),Ge}),se.prototype=oe,oe.constructor=se),(ve||Ce)&&(Ee("delete"),Ee("has"),L&&Ee("get")),(Ce||fe)&&Ee(ce),Q&&oe.clear&&delete oe.clear}return me[J]=se,G({global:!0,constructor:!0,forced:se!=de},me),ie(se,J),Q||W.setStrong(se,J,L),se}},(k,m,M)=>{var G=M(6),V=M(17),q=M(56),$=M(22),D=M(40),B=M(46).f,R=M(59),U=M(99),K=M(102),z=M(42),e=M(104),ae=!1,ie=z("meta"),he=0,J=function(de){B(de,ie,{value:{objectID:"O"+he++,weakData:{}}})},X=function(de,oe){if(!$(de))return typeof de=="symbol"?de:(typeof de=="string"?"S":"P")+de;if(!D(de,ie)){if(!K(de))return"F";if(!oe)return"E";J(de)}return de[ie].objectID},W=function(de,oe){if(!D(de,ie)){if(!K(de))return!0;if(!oe)return!1;J(de)}return de[ie].weakData},L=function(de){return e&&ae&&K(de)&&!D(de,ie)&&J(de),de},Q=function(){ce.enable=function(){},ae=!0;var de=R.f,oe=V([].splice),se={};se[ie]=1,de(se).length&&(R.f=function(me){for(var Ee=de(me),ke=0,xe=Ee.length;ke{var G=M(18),V=M(15),q=M(59).f,$=M(100),D=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],B=function(R){try{return q(R)}catch{return $(D)}};k.exports.f=function(U){return D&&G(U)=="Window"?B(U):q(V(U))}},(k,m,M)=>{var G=M(62),V=M(65),q=M(101),$=Array,D=Math.max;k.exports=function(B,R,U){for(var K=V(B),z=G(R,K),e=G(U===void 0?K:U,K),ae=$(D(e-z,0)),ie=0;z{var G=M(20),V=M(46),q=M(14);k.exports=function($,D,B){var R=G(D);R in $?V.f($,R,q(0,B)):$[R]=B}},(k,m,M)=>{var G=M(10),V=M(22),q=M(18),$=M(103),D=Object.isExtensible,B=G(function(){});k.exports=B||$?function(U){return!V(U)||$&&q(U)=="ArrayBuffer"?!1:D?D(U):!0}:D},(k,m,M)=>{var G=M(10);k.exports=G(function(){if(typeof ArrayBuffer=="function"){var V=new ArrayBuffer(8);Object.isExtensible(V)&&Object.defineProperty(V,"a",{value:8})}})},(k,m,M)=>{var G=M(10);k.exports=!G(function(){return Object.isExtensible(Object.preventExtensions({}))})},(k,m,M)=>{var G=M(106),V=M(11),q=M(48),$=M(33),D=M(107),B=M(65),R=M(26),U=M(108),K=M(109),z=M(110),e=TypeError,ae=function(he,J){this.stopped=he,this.result=J},ie=ae.prototype;k.exports=function(he,J,X){var W=X&&X.that,L=!!(X&&X.AS_ENTRIES),Q=!!(X&&X.IS_RECORD),ce=!!(X&&X.IS_ITERATOR),de=!!(X&&X.INTERRUPTED),oe=G(J,W),se,me,Ee,ke,xe,fe,ve,ye=function(pe){return se&&z(se,"normal",pe),new ae(!0,pe)},Ce=function(pe){return L?(q(pe),de?oe(pe[0],pe[1],ye):oe(pe[0],pe[1])):de?oe(pe,ye):oe(pe)};if(Q)se=he.iterator;else if(ce)se=he;else{if(me=K(he),!me)throw e($(he)+" is not iterable");if(D(me)){for(Ee=0,ke=B(he);ke>Ee;Ee++)if(xe=Ce(he[Ee]),xe&&R(ie,xe))return xe;return new ae(!1)}se=U(he,me)}for(fe=Q?he.next:se.next;!(ve=V(fe,se)).done;){try{xe=Ce(ve.value)}catch(pe){z(se,"throw",pe)}if(typeof xe=="object"&&xe&&R(ie,xe))return xe}return new ae(!1)}},(k,m,M)=>{var G=M(17),V=M(32),q=M(12),$=G(G.bind);k.exports=function(D,B){return V(D),B===void 0?D:q?$(D,B):function(){return D.apply(B,arguments)}}},(k,m,M)=>{var G=M(35),V=M(88),q=G("iterator"),$=Array.prototype;k.exports=function(D){return D!==void 0&&(V.Array===D||$[q]===D)}},(k,m,M)=>{var G=M(11),V=M(32),q=M(48),$=M(33),D=M(109),B=TypeError;k.exports=function(R,U){var K=arguments.length<2?D(R):U;if(V(K))return q(G(K,R));throw B($(R)+" is not iterable")}},(k,m,M)=>{var G=M(80),V=M(31),q=M(88),$=M(35),D=$("iterator");k.exports=function(B){if(B!=null)return V(B,D)||V(B,"@@iterator")||q[G(B)]}},(k,m,M)=>{var G=M(11),V=M(48),q=M(31);k.exports=function($,D,B){var R,U;V($);try{if(R=q($,"return"),!R){if(D==="throw")throw B;return B}R=G(R,$)}catch(K){U=!0,R=K}if(D==="throw")throw B;if(U)throw R;return V(R),B}},(k,m,M)=>{var G=M(26),V=TypeError;k.exports=function(q,$){if(G($,q))return q;throw V("Incorrect invocation")}},(k,m,M)=>{var G=M(35),V=G("iterator"),q=!1;try{var $=0,D={next:function(){return{done:!!$++}},return:function(){q=!0}};D[V]=function(){return this},Array.from(D,function(){throw 2})}catch{}k.exports=function(B,R){if(!R&&!q)return!1;var U=!1;try{var K={};K[V]=function(){return{next:function(){return{done:U=!0}}}},B(K)}catch{}return U}},(k,m,M)=>{var G=M(23),V=M(22),q=M(84);k.exports=function($,D,B){var R,U;return q&&G(R=D.constructor)&&R!==B&&V(U=R.prototype)&&U!==B.prototype&&q($,U),$}},(k,m,M)=>{var G=M(46).f,V=M(71),q=M(115),$=M(106),D=M(111),B=M(105),R=M(89),U=M(116),K=M(9),z=M(98).fastKey,e=M(53),ae=e.set,ie=e.getterFor;k.exports={getConstructor:function(he,J,X,W){var L=he(function(se,me){D(se,Q),ae(se,{type:J,index:V(null),first:void 0,last:void 0,size:0}),K||(se.size=0),me!=null&&B(me,se[W],{that:se,AS_ENTRIES:X})}),Q=L.prototype,ce=ie(J),de=function(se,me,Ee){var ke=ce(se),xe=oe(se,me),fe,ve;return xe?xe.value=Ee:(ke.last=xe={index:ve=z(me,!0),key:me,value:Ee,previous:fe=ke.last,next:void 0,removed:!1},ke.first||(ke.first=xe),fe&&(fe.next=xe),K?ke.size++:se.size++,ve!=="F"&&(ke.index[ve]=xe)),se},oe=function(se,me){var Ee=ce(se),ke=z(me),xe;if(ke!=="F")return Ee.index[ke];for(xe=Ee.first;xe;xe=xe.next)if(xe.key==me)return xe};return q(Q,{clear:function(){for(var me=this,Ee=ce(me),ke=Ee.index,xe=Ee.first;xe;)xe.removed=!0,xe.previous&&(xe.previous=xe.previous.next=void 0),delete ke[xe.index],xe=xe.next;Ee.first=Ee.last=void 0,K?Ee.size=0:me.size=0},delete:function(se){var me=this,Ee=ce(me),ke=oe(me,se);if(ke){var xe=ke.next,fe=ke.previous;delete Ee.index[ke.index],ke.removed=!0,fe&&(fe.next=xe),xe&&(xe.previous=fe),Ee.first==ke&&(Ee.first=xe),Ee.last==ke&&(Ee.last=fe),K?Ee.size--:me.size--}return!!ke},forEach:function(me){for(var Ee=ce(this),ke=$(me,arguments.length>1?arguments[1]:void 0),xe;xe=xe?xe.next:Ee.first;)for(ke(xe.value,xe.key,this);xe&&xe.removed;)xe=xe.previous},has:function(me){return!!oe(this,me)}}),q(Q,X?{get:function(me){var Ee=oe(this,me);return Ee&&Ee.value},set:function(me,Ee){return de(this,me===0?0:me,Ee)}}:{add:function(me){return de(this,me=me===0?0:me,me)}}),K&&G(Q,"size",{get:function(){return ce(this).size}}),L},setStrong:function(he,J,X){var W=J+" Iterator",L=ie(J),Q=ie(W);R(he,J,function(ce,de){ae(this,{type:W,target:ce,state:L(ce),kind:de,last:void 0})},function(){for(var ce=Q(this),de=ce.kind,oe=ce.last;oe&&oe.removed;)oe=oe.previous;return!ce.target||!(ce.last=oe=oe?oe.next:ce.state.first)?(ce.target=void 0,{value:void 0,done:!0}):de=="keys"?{value:oe.key,done:!1}:de=="values"?{value:oe.value,done:!1}:{value:[oe.key,oe.value],done:!1}},X?"entries":"values",!X,!0),U(J)}}},(k,m,M)=>{var G=M(49);k.exports=function(V,q,$){for(var D in q)G(V,D,q[D],$);return V}},(k,m,M)=>{var G=M(25),V=M(46),q=M(35),$=M(9),D=q("species");k.exports=function(B){var R=G(B),U=V.f;$&&R&&!R[D]&&U(R,D,{configurable:!0,get:function(){return this}})}},(k,m,M)=>{M(118)},(k,m,M)=>{var G=M(97),V=M(114);G("Set",function(q){return function(){return q(this,arguments.length?arguments[0]:void 0)}},V)},(k,m,M)=>{var G=M(37),V=M(6),q=M(7),$=M(25),D=M(17),B=M(10),R=M(42),U=M(23),K=M(120),z=M(22),e=M(24),ae=M(105),ie=M(48),he=M(80),J=M(40),X=M(101),W=M(45),L=M(65),Q=M(121),ce=M(122),de=M(124),oe=M(29),se=M(125),me=M(126),Ee=M(127),ke=q.Object,xe=q.Date,fe=q.Error,ve=q.EvalError,ye=q.RangeError,Ce=q.ReferenceError,pe=q.SyntaxError,_e=q.TypeError,Ge=q.URIError,Te=q.PerformanceMark,Ne=q.WebAssembly,Ze=Ne&&Ne.CompileError||fe,ze=Ne&&Ne.LinkError||fe,Ae=Ne&&Ne.RuntimeError||fe,De=$("DOMException"),Ue=$("Set"),we=$("Map"),Ie=we.prototype,Be=D(Ie.has),Ke=D(Ie.get),Ve=D(Ie.set),je=D(Ue.prototype.add),Le=$("Object","keys"),et=D([].push),Qe=D((!0).valueOf),Fe=D(1 .valueOf),$e=D("".valueOf),Ye=D(xe.prototype.getTime),tt=R("structuredClone"),ot="DataCloneError",st="Transferring",dt=function(Nt){return!B(function(){var Vt=new q.Set([7]),Wt=Nt(Vt),Mt=Nt(ke(7));return Wt==Vt||!Wt.has(7)||typeof Mt!="object"||Mt!=7})&&Nt},ct=function(Nt,Vt){return!B(function(){var Wt=new Vt,Mt=Nt({a:Wt,b:Wt});return!(Mt&&Mt.a===Mt.b&&Mt.a instanceof Vt&&Mt.a.stack===Wt.stack)})},mt=function(Nt){return!B(function(){var Vt=Nt(new q.AggregateError([1],tt,{cause:3}));return Vt.name!="AggregateError"||Vt.errors[0]!=1||Vt.message!=tt||Vt.cause!=3})},ut=q.structuredClone,rt=G||!ct(ut,fe)||!ct(ut,De)||!mt(ut),He=!ut&&dt(function(Nt){return new Te(tt,{detail:Nt}).detail}),Je=dt(ut)||He,St=function(Nt){throw new De("Uncloneable type: "+Nt,ot)},bt=function(Nt,Vt){throw new De((Vt||"Cloning")+" of "+Nt+" cannot be properly polyfilled in this engine",ot)},pt=function(Nt,Vt){if(e(Nt)&&St("Symbol"),!z(Nt))return Nt;if(Vt){if(Be(Vt,Nt))return Ke(Vt,Nt)}else Vt=new we;var Wt=he(Nt),Mt=!1,$t,Yt,Ft,Jt,er,Bt,It,Dt,Zt,gr;switch(Wt){case"Array":Ft=[],Mt=!0;break;case"Object":Ft={},Mt=!0;break;case"Map":Ft=new we,Mt=!0;break;case"Set":Ft=new Ue,Mt=!0;break;case"RegExp":Ft=new RegExp(Nt.source,ce(Nt));break;case"Error":switch(Yt=Nt.name,Yt){case"AggregateError":Ft=$("AggregateError")([]);break;case"EvalError":Ft=ve();break;case"RangeError":Ft=ye();break;case"ReferenceError":Ft=Ce();break;case"SyntaxError":Ft=pe();break;case"TypeError":Ft=_e();break;case"URIError":Ft=Ge();break;case"CompileError":Ft=Ze();break;case"LinkError":Ft=ze();break;case"RuntimeError":Ft=Ae();break;default:Ft=fe()}Mt=!0;break;case"DOMException":Ft=new De(Nt.message,Nt.name),Mt=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":$t=q[Wt],z($t)||bt(Wt),Ft=new $t(pt(Nt.buffer,Vt),Nt.byteOffset,Wt==="DataView"?Nt.byteLength:Nt.length);break;case"DOMQuad":try{Ft=new DOMQuad(pt(Nt.p1,Vt),pt(Nt.p2,Vt),pt(Nt.p3,Vt),pt(Nt.p4,Vt))}catch{Je?Ft=Je(Nt):bt(Wt)}break;case"FileList":if($t=q.DataTransfer,K($t)){for(Jt=new $t,er=0,Bt=L(Nt);er92||Ee&&oe>94||se&&oe>97)return!1;var Nt=new ArrayBuffer(8),Vt=ut(Nt,{transfer:[Nt]});return Nt.byteLength!=0||Vt.byteLength!=8}),Pt=function(Nt,Vt){if(!z(Nt))throw _e("Transfer option cannot be converted to a sequence");var Wt=[];ae(Nt,function(Zt){et(Wt,ie(Zt))});var Mt=0,$t=L(Wt),Yt,Ft,Jt,er,Bt,It,Dt;if(wt)for(er=ut(Wt,{transfer:Wt});Mt<$t;)Ve(Vt,Wt[Mt],er[Mt++]);else for(;Mt<$t;){if(Yt=Wt[Mt++],Be(Vt,Yt))throw new De("Duplicate transferable",ot);switch(Ft=he(Yt),Ft){case"ImageBitmap":Jt=q.OffscreenCanvas,K(Jt)||bt(Ft,st);try{It=new Jt(Yt.width,Yt.height),Dt=It.getContext("bitmaprenderer"),Dt.transferFromImageBitmap(Yt),Bt=It.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!U(Yt.clone)||!U(Yt.close))&&bt(Ft,st);try{Bt=Yt.clone(),Yt.close()}catch{}break;case"ArrayBuffer":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":bt(Ft,st)}if(Bt===void 0)throw new De("This object cannot be transferred: "+Ft,ot);Ve(Vt,Yt,Bt)}};V({global:!0,enumerable:!0,sham:!wt,forced:rt},{structuredClone:function(Vt){var Wt=Q(arguments.length,1)>1&&arguments[1]!=null?ie(arguments[1]):void 0,Mt=Wt?Wt.transfer:void 0,$t;return Mt!==void 0&&($t=new we,Pt(Mt,$t)),pt(Vt,$t)}})},(k,m,M)=>{var G=M(17),V=M(10),q=M(23),$=M(80),D=M(25),B=M(52),R=function(){},U=[],K=D("Reflect","construct"),z=/^\s*(?:class|function)\b/,e=G(z.exec),ae=!z.exec(R),ie=function(X){if(!q(X))return!1;try{return K(R,U,X),!0}catch{return!1}},he=function(X){if(!q(X))return!1;switch($(X)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ae||!!e(z,B(X))}catch{return!0}};he.sham=!0,k.exports=!K||V(function(){var J;return ie(ie.call)||!ie(Object)||!ie(function(){J=!0})||J})?he:ie},k=>{var m=TypeError;k.exports=function(M,G){if(M{var G=M(11),V=M(40),q=M(26),$=M(123),D=RegExp.prototype;k.exports=function(B){var R=B.flags;return R===void 0&&!("flags"in D)&&!V(B,"flags")&&q(D,B)?G($,B):R}},(k,m,M)=>{var G=M(48);k.exports=function(){var V=G(this),q="";return V.hasIndices&&(q+="d"),V.global&&(q+="g"),V.ignoreCase&&(q+="i"),V.multiline&&(q+="m"),V.dotAll&&(q+="s"),V.unicode&&(q+="u"),V.unicodeSets&&(q+="v"),V.sticky&&(q+="y"),q}},(k,m,M)=>{var G=M(10),V=M(14);k.exports=!G(function(){var q=Error("a");return"stack"in q?(Object.defineProperty(q,"stack",V(1,7)),q.stack!==7):!0})},(k,m,M)=>{var G=M(126),V=M(127);k.exports=!G&&!V&&typeof window=="object"&&typeof document=="object"},k=>{k.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},(k,m,M)=>{var G=M(18),V=M(7);k.exports=G(V.process)=="process"},(k,m,M)=>{var G=M(7);k.exports=G},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(130),_display_utils=__w_pdfjs_require__(133),_font_loader=__w_pdfjs_require__(136),_canvas=__w_pdfjs_require__(137),_worker_options=__w_pdfjs_require__(140),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(141),_metadata=__w_pdfjs_require__(142),_optional_content_config=__w_pdfjs_require__(143),_transport_stream=__w_pdfjs_require__(144),_xfa_text=__w_pdfjs_require__(145);function _classPrivateMethodInitSpec(k,m){_checkPrivateRedeclaration(k,m),m.add(k)}function _classPrivateMethodGet(k,m,M){if(!m.has(k))throw new TypeError("attempted to get private field on non-instance");return M}function _classPrivateFieldInitSpec(k,m,M){_checkPrivateRedeclaration(k,m),m.set(k,M)}function _checkPrivateRedeclaration(k,m){if(m.has(k))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldSet(k,m,M){var G=_classExtractFieldDescriptor(k,m,"set");return _classApplyDescriptorSet(k,G,M),M}function _classPrivateFieldGet(k,m){var M=_classExtractFieldDescriptor(k,m,"get");return _classApplyDescriptorGet(k,M)}function _classExtractFieldDescriptor(k,m,M){if(!m.has(k))throw new TypeError("attempted to "+M+" private field on non-instance");return m.get(k)}function _classStaticPrivateFieldSpecSet(k,m,M,G){return _classCheckPrivateStaticAccess(k,m),_classCheckPrivateStaticFieldDescriptor(M,"set"),_classApplyDescriptorSet(k,M,G),G}function _classApplyDescriptorSet(k,m,M){if(m.set)m.set.call(k,M);else{if(!m.writable)throw new TypeError("attempted to set read only private field");m.value=M}}function _classStaticPrivateFieldSpecGet(k,m,M){return _classCheckPrivateStaticAccess(k,m),_classCheckPrivateStaticFieldDescriptor(M,"get"),_classApplyDescriptorGet(k,M)}function _classCheckPrivateStaticFieldDescriptor(k,m){if(k===void 0)throw new TypeError("attempted to "+m+" private static field before its declaration")}function _classCheckPrivateStaticAccess(k,m){if(k!==m)throw new TypeError("Private static access of wrong provenance")}function _classApplyDescriptorGet(k,m){return m.get?m.get.call(k):m.value}const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory;if(exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:k,NodeCMapReaderFactory:m,NodeStandardFontDataFactory:M}=__w_pdfjs_require__(146);exports.DefaultCanvasFactory=DefaultCanvasFactory=k,exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory=m,exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=M}let createPDFNetworkStream;function setPDFNetworkStreamFactory(k){createPDFNetworkStream=k}function getDocument(k){const m=new PDFDocumentLoadingTask;let M;if(typeof k=="string"||k instanceof URL)M={url:k};else if((0,_util.isArrayBuffer)(k))M={data:k};else if(k instanceof PDFDataRangeTransport)M={range:k};else{if(typeof k!="object")throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!k.url&&!k.data&&!k.range)throw new Error("Invalid parameter object: need either .data, .range or .url");M=k}const G=Object.create(null);let V=null,q=null;for(const D in M){const B=M[D];switch(D){case"url":if(typeof window<"u")try{G[D]=new URL(B,window.location).href;continue}catch(R){(0,_util.warn)(`Cannot create valid URL: "${R}".`)}else if(typeof B=="string"||B instanceof URL){G[D]=B.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":V=B;continue;case"worker":q=B;continue;case"data":if(_is_node.isNodeJS&&typeof Buffer<"u"&&B instanceof Buffer)G[D]=new Uint8Array(B);else{if(B instanceof Uint8Array)break;if(typeof B=="string")G[D]=(0,_util.stringToBytes)(B);else if(typeof B=="object"&&B!==null&&!isNaN(B.length))G[D]=new Uint8Array(B);else if((0,_util.isArrayBuffer)(B))G[D]=new Uint8Array(B);else throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}continue}G[D]=B}if(G.CMapReaderFactory=G.CMapReaderFactory||DefaultCMapReaderFactory,G.StandardFontDataFactory=G.StandardFontDataFactory||DefaultStandardFontDataFactory,G.ignoreErrors=G.stopAtErrors!==!0,G.fontExtraProperties=G.fontExtraProperties===!0,G.pdfBug=G.pdfBug===!0,G.enableXfa=G.enableXfa===!0,(!Number.isInteger(G.rangeChunkSize)||G.rangeChunkSize<1)&&(G.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),(typeof G.docBaseUrl!="string"||(0,_display_utils.isDataScheme)(G.docBaseUrl))&&(G.docBaseUrl=null),(!Number.isInteger(G.maxImageSize)||G.maxImageSize<-1)&&(G.maxImageSize=-1),typeof G.cMapUrl!="string"&&(G.cMapUrl=null),typeof G.standardFontDataUrl!="string"&&(G.standardFontDataUrl=null),typeof G.useWorkerFetch!="boolean"&&(G.useWorkerFetch=G.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&G.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),typeof G.isEvalSupported!="boolean"&&(G.isEvalSupported=!0),typeof G.disableFontFace!="boolean"&&(G.disableFontFace=_is_node.isNodeJS),typeof G.useSystemFonts!="boolean"&&(G.useSystemFonts=!_is_node.isNodeJS&&!G.disableFontFace),(typeof G.ownerDocument!="object"||G.ownerDocument===null)&&(G.ownerDocument=globalThis.document),typeof G.disableRange!="boolean"&&(G.disableRange=!1),typeof G.disableStream!="boolean"&&(G.disableStream=!1),typeof G.disableAutoFetch!="boolean"&&(G.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(G.verbosity),!q){const D={verbosity:G.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};q=D.port?PDFWorker.fromPort(D):new PDFWorker(D),m._worker=q}const $=m.docId;return q.promise.then(function(){if(m.destroyed)throw new Error("Loading aborted");const D=_fetchDocument(q,G,V,$),B=new Promise(function(R){let U;V?U=new _transport_stream.PDFDataTransportStream({length:G.length,initialData:G.initialData,progressiveDone:G.progressiveDone,contentDispositionFilename:G.contentDispositionFilename,disableRange:G.disableRange,disableStream:G.disableStream},V):G.data||(U=createPDFNetworkStream({url:G.url,length:G.length,httpHeaders:G.httpHeaders,withCredentials:G.withCredentials,rangeChunkSize:G.rangeChunkSize,disableRange:G.disableRange,disableStream:G.disableStream})),R(U)});return Promise.all([D,B]).then(function(R){let[U,K]=R;if(m.destroyed)throw new Error("Loading aborted");const z=new _message_handler.MessageHandler($,U,q.port),e=new WorkerTransport(z,m,K,G);m._transport=e,z.send("Ready",null)})}).catch(m._capability.reject),m}async function _fetchDocument(k,m,M,G){if(k.destroyed)throw new Error("Worker was destroyed");M&&(m.length=M.length,m.initialData=M.initialData,m.progressiveDone=M.progressiveDone,m.contentDispositionFilename=M.contentDispositionFilename);const V=await k.messageHandler.sendWithPromise("GetDocRequest",{docId:G,apiVersion:"2.16.105",source:{data:m.data,url:m.url,password:m.password,disableAutoFetch:m.disableAutoFetch,rangeChunkSize:m.rangeChunkSize,length:m.length},maxImageSize:m.maxImageSize,disableFontFace:m.disableFontFace,docBaseUrl:m.docBaseUrl,ignoreErrors:m.ignoreErrors,isEvalSupported:m.isEvalSupported,fontExtraProperties:m.fontExtraProperties,enableXfa:m.enableXfa,useSystemFonts:m.useSystemFonts,cMapUrl:m.useWorkerFetch?m.cMapUrl:null,standardFontDataUrl:m.useWorkerFetch?m.standardFontDataUrl:null});if(m.data&&(m.data=null),k.destroyed)throw new Error("Worker was destroyed");return V}class PDFDocumentLoadingTask{constructor(){var m,M;this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId=`d${_classStaticPrivateFieldSpecSet(PDFDocumentLoadingTask,PDFDocumentLoadingTask,_docId,(m=_classStaticPrivateFieldSpecGet(PDFDocumentLoadingTask,PDFDocumentLoadingTask,_docId),M=m++,m)),M}`,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}async destroy(){var m;this.destroyed=!0,await((m=this._transport)===null||m===void 0?void 0:m.destroy()),this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;var _docId={writable:!0,value:0};class PDFDataRangeTransport{constructor(m,M){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;this.length=m,this.initialData=M,this.progressiveDone=G,this.contentDispositionFilename=V,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(m){this._rangeListeners.push(m)}addProgressListener(m){this._progressListeners.push(m)}addProgressiveReadListener(m){this._progressiveReadListeners.push(m)}addProgressiveDoneListener(m){this._progressiveDoneListeners.push(m)}onDataRange(m,M){for(const G of this._rangeListeners)G(m,M)}onDataProgress(m,M){this._readyCapability.promise.then(()=>{for(const G of this._progressListeners)G(m,M)})}onDataProgressiveRead(m){this._readyCapability.promise.then(()=>{for(const M of this._progressiveReadListeners)M(m)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const m of this._progressiveDoneListeners)m()})}transportReady(){this._readyCapability.resolve()}requestDataRange(m,M){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(m,M){this._pdfInfo=m,this._transport=M,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:async()=>((0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),this.stats||{streamTypes:{},fontTypes:{}})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(m){return this._transport.getPage(m)}getPageIndex(m){return this._transport.getPageIndex(m)}getDestinations(){return this._transport.getDestinations()}getDestination(m){return this._transport.getDestination(m)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this._transport.startCleanup(m||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(m,M,G,V){let q=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;this._pageIndex=m,this._pageInfo=M,this._ownerDocument=V,this._transport=G,this._stats=q?new _display_utils.StatTimer:null,this._pdfBug=q,this.commonObjs=G.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport(){let{scale:m,rotation:M=this.rotate,offsetX:G=0,offsetY:V=0,dontFlip:q=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new _display_utils.PageViewport({viewBox:this.view,scale:m,rotation:M,offsetX:G,offsetY:V,dontFlip:q})}getAnnotations(){let{intent:m="display"}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const M=this._transport.getRenderingIntent(m);let G=this._annotationPromises.get(M.cacheKey);return G||(G=this._transport.getAnnotations(this._pageIndex,M.renderingIntent),this._annotationPromises.set(M.cacheKey,G),G=G.then(V=>{for(const q of V)q.titleObj!==void 0&&Object.defineProperty(q,"title",{get(){return(0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),q.titleObj.str}}),q.contentsObj!==void 0&&Object.defineProperty(q,"contents",{get(){return(0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),q.contentsObj.str}});return V})),G}getJSActions(){return this._jsActionsPromise||(this._jsActionsPromise=this._transport.getPageJSActions(this._pageIndex))}async getXfa(){var m;return((m=this._transport._htmlForXfa)===null||m===void 0?void 0:m.children[this._pageIndex])||null}render(m){var M,G,V;let{canvasContext:q,viewport:$,intent:D="display",annotationMode:B=_util.AnnotationMode.ENABLE,transform:R=null,imageLayer:U=null,canvasFactory:K=null,background:z=null,optionalContentConfigPromise:e=null,annotationCanvasMap:ae=null,pageColors:ie=null,printAnnotationStorage:he=null}=m;((M=arguments[0])===null||M===void 0?void 0:M.renderInteractiveForms)!==void 0&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),arguments[0].renderInteractiveForms===!0&&B===_util.AnnotationMode.ENABLE&&(B=_util.AnnotationMode.ENABLE_FORMS)),((G=arguments[0])===null||G===void 0?void 0:G.includeAnnotationStorage)!==void 0&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),arguments[0].includeAnnotationStorage===!0&&B===_util.AnnotationMode.ENABLE&&(B=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const J=this._transport.getRenderingIntent(D,B,he);this.pendingCleanup=!1,e||(e=this._transport.getOptionalContentConfig());let X=this._intentStates.get(J.cacheKey);X||(X=Object.create(null),this._intentStates.set(J.cacheKey,X)),X.streamReaderCancelTimeout&&(clearTimeout(X.streamReaderCancelTimeout),X.streamReaderCancelTimeout=null);const W=K||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),L=!!(J.renderingIntent&_util.RenderingIntentFlag.PRINT);X.displayReadyCapability||(X.displayReadyCapability=(0,_util.createPromiseCapability)(),X.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(J));const Q=oe=>{X.renderTasks.delete(ce),(this.cleanupAfterRender||L)&&(this.pendingCleanup=!0),this._tryCleanup(),oe?(ce.capability.reject(oe),this._abortOperatorList({intentState:X,reason:oe instanceof Error?oe:new Error(oe)})):ce.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},ce=new InternalRenderTask({callback:Q,params:{canvasContext:q,viewport:$,transform:R,imageLayer:U,background:z},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:ae,operatorList:X.operatorList,pageIndex:this._pageIndex,canvasFactory:W,useRequestAnimationFrame:!L,pdfBug:this._pdfBug,pageColors:ie});((V=X).renderTasks||(V.renderTasks=new Set)).add(ce);const de=ce.task;return Promise.all([X.displayReadyCapability.promise,e]).then(oe=>{let[se,me]=oe;if(this.pendingCleanup){Q();return}this._stats&&this._stats.time("Rendering"),ce.initializeGraphics({transparency:se,optionalContentConfig:me}),ce.operatorListChanged()}).catch(Q),de}getOperatorList(){let{intent:m="display",annotationMode:M=_util.AnnotationMode.ENABLE,printAnnotationStorage:G=null}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};function V(){$.operatorList.lastChunk&&($.opListReadCapability.resolve($.operatorList),$.renderTasks.delete(D))}const q=this._transport.getRenderingIntent(m,M,G,!0);let $=this._intentStates.get(q.cacheKey);$||($=Object.create(null),this._intentStates.set(q.cacheKey,$));let D;if(!$.opListReadCapability){var B;D=Object.create(null),D.operatorListChanged=V,$.opListReadCapability=(0,_util.createPromiseCapability)(),((B=$).renderTasks||(B.renderTasks=new Set)).add(D),$.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(q)}return $.opListReadCapability.promise}streamTextContent(){let{disableCombineTextItems:m=!1,includeMarkedContent:M=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const G=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:m!==!0,includeMarkedContent:M===!0},{highWaterMark:G,size(V){return V.items.length}})}getTextContent(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._transport._htmlForXfa)return this.getXfa().then(G=>_xfa_text.XfaText.textContent(G));const M=this.streamTextContent(m);return new Promise(function(G,V){function q(){$.read().then(function(B){let{value:R,done:U}=B;if(U){G(D);return}Object.assign(D.styles,R.styles),D.items.push(...R.items),q()},V)}const $=M.getReader(),D={items:[],styles:Object.create(null)};q()})}getStructTree(){return this._structTreePromise||(this._structTreePromise=this._transport.getStructTree(this._pageIndex))}_destroy(){this.destroyed=!0;const m=[];for(const M of this._intentStates.values())if(this._abortOperatorList({intentState:M,reason:new Error("Page was destroyed."),force:!0}),!M.opListReadCapability)for(const G of M.renderTasks)m.push(G.completed),G.cancel();this.objs.clear();for(const M of this._bitmaps)M.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(m)}cleanup(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.pendingCleanup=!0,this._tryCleanup(m)}_tryCleanup(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.pendingCleanup)return!1;for(const{renderTasks:M,operatorList:G}of this._intentStates.values())if(M.size>0||!G.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,m&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const M of this._bitmaps)M.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(m,M){const G=this._intentStates.get(M);G&&(this._stats&&this._stats.timeEnd("Page Request"),G.displayReadyCapability&&G.displayReadyCapability.resolve(m))}_renderPageChunk(m,M){for(let G=0,V=m.length;G{$.read().then(R=>{let{value:U,done:K}=R;if(K){D.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(U,D),B())},R=>{if(D.streamReader=null,!this._transport.destroyed){if(D.operatorList){D.operatorList.lastChunk=!0;for(const U of D.renderTasks)U.operatorListChanged();this._tryCleanup()}if(D.displayReadyCapability)D.displayReadyCapability.reject(R);else if(D.opListReadCapability)D.opListReadCapability.reject(R);else throw R}})};B()}_abortOperatorList(m){let{intentState:M,reason:G,force:V=!1}=m;if(M.streamReader){if(!V){if(M.renderTasks.size>0)return;if(G instanceof _display_utils.RenderingCancelledException){M.streamReaderCancelTimeout=setTimeout(()=>{this._abortOperatorList({intentState:M,reason:G,force:!0}),M.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT);return}}if(M.streamReader.cancel(new _util.AbortException(G.message)).catch(()=>{}),M.streamReader=null,!this._transport.destroyed){for(const[q,$]of this._intentStates)if($===M){this._intentStates.delete(q);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(m,M){const G={data:structuredClone(m,M)};this._deferred.then(()=>{for(const V of this._listeners)V.call(this,G)})}addEventListener(m,M){this._listeners.push(M)}removeEventListener(m,M){const G=this._listeners.indexOf(M);this._listeners.splice(G,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};exports.PDFWorkerUtil=PDFWorkerUtil;{if(_is_node.isNodeJS&&typeof commonjsRequire$1=="function")PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if(typeof document=="object"){var _document,_document$currentScri;const k=(_document=document)===null||_document===void 0||(_document$currentScri=_document.currentScript)===null||_document$currentScri===void 0?void 0:_document$currentScri.src;k&&(PDFWorkerUtil.fallbackWorkerSrc=k.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(k,m){let M;try{if(M=new URL(k),!M.origin||M.origin==="null")return!1}catch{return!1}const G=new URL(m,M);return M.origin===G.origin},PDFWorkerUtil.createCDNWrapper=function(k){const m=`importScripts("${k}");`;return URL.createObjectURL(new Blob([m]))}}class PDFWorker{constructor(){let{name:k=null,port:m=null,verbosity:M=(0,_util.getVerbosityLevel)()}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(m&&_classStaticPrivateFieldSpecGet(PDFWorker,PDFWorker,_workerPorts).has(m))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=k,this.destroyed=!1,this.verbosity=M,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,m){_classStaticPrivateFieldSpecGet(PDFWorker,PDFWorker,_workerPorts).set(m,this),this._initializeFromPort(m);return}this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(k){this._port=k,this._messageHandler=new _message_handler.MessageHandler("main","worker",k),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:k}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,k)||(k=PDFWorkerUtil.createCDNWrapper(new URL(k,window.location).href));const m=new Worker(k),M=new _message_handler.MessageHandler("main","worker",m),G=()=>{m.removeEventListener("error",V),M.destroy(),m.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},V=()=>{this._webWorker||G()};m.addEventListener("error",V),M.on("test",$=>{if(m.removeEventListener("error",V),this.destroyed){G();return}$?(this._messageHandler=M,this._port=m,this._webWorker=m,this._readyCapability.resolve(),M.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),M.destroy(),m.terminate())}),M.on("ready",$=>{if(m.removeEventListener("error",V),this.destroyed){G();return}try{q()}catch{this._setupFakeWorker()}});const q=()=>{const $=new Uint8Array;M.send("test",$,[$.buffer])};q();return}catch{(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(k=>{if(this.destroyed){this._readyCapability.reject(new Error("Worker was destroyed"));return}const m=new LoopbackPort;this._port=m;const M=`fake${PDFWorkerUtil.fakeWorkerId++}`,G=new _message_handler.MessageHandler(M+"_worker",M,m);k.setup(G,m);const V=new _message_handler.MessageHandler(M,M+"_worker",m);this._messageHandler=V,this._readyCapability.resolve(),V.send("configure",{verbosity:this.verbosity})}).catch(k=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${k.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),_classStaticPrivateFieldSpecGet(PDFWorker,PDFWorker,_workerPorts).delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(k){if(!(k!=null&&k.port))throw new Error("PDFWorker.fromPort - invalid method signature.");return _classStaticPrivateFieldSpecGet(this,PDFWorker,_workerPorts).has(k.port)?_classStaticPrivateFieldSpecGet(this,PDFWorker,_workerPorts).get(k.port):new PDFWorker(k)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(PDFWorkerUtil.fallbackWorkerSrc!==null)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{var k;return((k=globalThis.pdfjsWorker)===null||k===void 0?void 0:k.WorkerMessageHandler)||null}catch{return null}}static get _setupFakeWorkerGlobal(){const loader=async()=>{const mainWorkerMessageHandler=this._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS&&typeof commonjsRequire$1=="function"){const worker=eval("require")(this.workerSrc);return worker.WorkerMessageHandler}return await(0,_display_utils.loadScript)(this.workerSrc),window.pdfjsWorker.WorkerMessageHandler};return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker;var _workerPorts={writable:!0,value:new WeakMap};PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};var _docStats=new WeakMap,_pageCache=new WeakMap,_pagePromises=new WeakMap,_metadataPromise=new WeakMap;class WorkerTransport{constructor(m,M,G,V){_classPrivateFieldInitSpec(this,_docStats,{writable:!0,value:null}),_classPrivateFieldInitSpec(this,_pageCache,{writable:!0,value:new Map}),_classPrivateFieldInitSpec(this,_pagePromises,{writable:!0,value:new Map}),_classPrivateFieldInitSpec(this,_metadataPromise,{writable:!0,value:null}),this.messageHandler=m,this.loadingTask=M,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:M.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:V.ownerDocument,styleElement:V.styleElement}),this._params=V,V.useWorkerFetch||(this.CMapReaderFactory=new V.CMapReaderFactory({baseUrl:V.cMapUrl,isCompressed:V.cMapPacked}),this.StandardFontDataFactory=new V.StandardFontDataFactory({baseUrl:V.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=G,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return _classPrivateFieldGet(this,_docStats)}getRenderingIntent(m){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_util.AnnotationMode.ENABLE,G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,q=_util.RenderingIntentFlag.DISPLAY,$=null;switch(m){case"any":q=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":q=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${m}`)}switch(M){case _util.AnnotationMode.DISABLE:q+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:q+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:q+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,$=(q&_util.RenderingIntentFlag.PRINT&&G instanceof _annotation_storage.PrintAnnotationStorage?G:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${M}`)}return V&&(q+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:q,cacheKey:`${q}_${_annotation_storage.AnnotationStorage.getHash($)}`,annotationStorageMap:$}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const m=[];for(const G of _classPrivateFieldGet(this,_pageCache).values())m.push(G._destroy());_classPrivateFieldGet(this,_pageCache).clear(),_classPrivateFieldGet(this,_pagePromises).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const M=this.messageHandler.sendWithPromise("Terminate",null);return m.push(M),Promise.all(m).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),_classPrivateFieldSet(this,_metadataPromise,null),this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:m,loadingTask:M}=this;m.on("GetReader",(G,V)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=q=>{this._lastProgress={loaded:q.loaded,total:q.total}},V.onPull=()=>{this._fullReader.read().then(function(q){let{value:$,done:D}=q;if(D){V.close();return}(0,_util.assert)((0,_util.isArrayBuffer)($),"GetReader - expected an ArrayBuffer."),V.enqueue(new Uint8Array($),1,[$])}).catch(q=>{V.error(q)})},V.onCancel=q=>{this._fullReader.cancel(q),V.ready.catch($=>{if(!this.destroyed)throw $})}}),m.on("ReaderHeadersReady",G=>{const V=(0,_util.createPromiseCapability)(),q=this._fullReader;return q.headersReady.then(()=>{if(!q.isStreamingSupported||!q.isRangeSupported){if(this._lastProgress){var $;($=M.onProgress)===null||$===void 0||$.call(M,this._lastProgress)}q.onProgress=D=>{var B;(B=M.onProgress)===null||B===void 0||B.call(M,{loaded:D.loaded,total:D.total})}}V.resolve({isStreamingSupported:q.isStreamingSupported,isRangeSupported:q.isRangeSupported,contentLength:q.contentLength})},V.reject),V.promise}),m.on("GetRangeReader",(G,V)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const q=this._networkStream.getRangeReader(G.begin,G.end);if(!q){V.close();return}V.onPull=()=>{q.read().then(function($){let{value:D,done:B}=$;if(B){V.close();return}(0,_util.assert)((0,_util.isArrayBuffer)(D),"GetRangeReader - expected an ArrayBuffer."),V.enqueue(new Uint8Array(D),1,[D])}).catch($=>{V.error($)})},V.onCancel=$=>{q.cancel($),V.ready.catch(D=>{if(!this.destroyed)throw D})}}),m.on("GetDoc",G=>{let{pdfInfo:V}=G;this._numPages=V.numPages,this._htmlForXfa=V.htmlForXfa,delete V.htmlForXfa,M._capability.resolve(new PDFDocumentProxy(V,this))}),m.on("DocException",function(G){let V;switch(G.name){case"PasswordException":V=new _util.PasswordException(G.message,G.code);break;case"InvalidPDFException":V=new _util.InvalidPDFException(G.message);break;case"MissingPDFException":V=new _util.MissingPDFException(G.message);break;case"UnexpectedResponseException":V=new _util.UnexpectedResponseException(G.message,G.status);break;case"UnknownErrorException":V=new _util.UnknownErrorException(G.message,G.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}M._capability.reject(V)}),m.on("PasswordRequest",G=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),M.onPassword){const V=q=>{q instanceof Error?this._passwordCapability.reject(q):this._passwordCapability.resolve({password:q})};try{M.onPassword(V,G.code)}catch(q){this._passwordCapability.reject(q)}}else this._passwordCapability.reject(new _util.PasswordException(G.message,G.code));return this._passwordCapability.promise}),m.on("DataLoaded",G=>{var V;(V=M.onProgress)===null||V===void 0||V.call(M,{loaded:G.length,total:G.length}),this.downloadInfoCapability.resolve(G)}),m.on("StartRenderPage",G=>{if(this.destroyed)return;_classPrivateFieldGet(this,_pageCache).get(G.pageIndex)._startRenderPage(G.transparency,G.cacheKey)}),m.on("commonobj",G=>{var V;let[q,$,D]=G;if(!this.destroyed&&!this.commonObjs.has(q))switch($){case"Font":const B=this._params;if("error"in D){const K=D.error;(0,_util.warn)(`Error during font loading: ${K}`),this.commonObjs.resolve(q,K);break}let R=null;B.pdfBug&&(V=globalThis.FontInspector)!==null&&V!==void 0&&V.enabled&&(R={registerFont(K,z){globalThis.FontInspector.fontAdded(K,z)}});const U=new _font_loader.FontFaceObject(D,{isEvalSupported:B.isEvalSupported,disableFontFace:B.disableFontFace,ignoreErrors:B.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:R});this.fontLoader.bind(U).catch(K=>m.sendWithPromise("FontFallback",{id:q})).finally(()=>{!B.fontExtraProperties&&U.data&&(U.data=null),this.commonObjs.resolve(q,U)});break;case"FontPath":case"Image":this.commonObjs.resolve(q,D);break;default:throw new Error(`Got unknown common object type ${$}`)}}),m.on("obj",G=>{let[V,q,$,D]=G;if(this.destroyed)return;const B=_classPrivateFieldGet(this,_pageCache).get(q);if(!B.objs.has(V))switch($){case"Image":B.objs.resolve(V,D);const U=8e6;if(D){let K;if(D.bitmap){const{bitmap:z,width:e,height:ae}=D;K=e*ae*4,B._bitmaps.add(z)}else{var R;K=((R=D.data)===null||R===void 0?void 0:R.length)||0}K>U&&(B.cleanupAfterRender=!0)}break;case"Pattern":B.objs.resolve(V,D);break;default:throw new Error(`Got unknown object type ${$}`)}}),m.on("DocProgress",G=>{var V;this.destroyed||(V=M.onProgress)===null||V===void 0||V.call(M,{loaded:G.loaded,total:G.total})}),m.on("DocStats",G=>{this.destroyed||_classPrivateFieldSet(this,_docStats,Object.freeze({streamTypes:Object.freeze(G.streamTypes),fontTypes:Object.freeze(G.fontTypes)}))}),m.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),m.on("FetchBuiltInCMap",G=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(G):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),m.on("FetchStandardFontData",G=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(G):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}_onUnsupportedFeature(m){var M,G;let{featureId:V}=m;this.destroyed||(M=(G=this.loadingTask).onUnsupportedFeature)===null||M===void 0||M.call(G,V)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(m){if(!Number.isInteger(m)||m<=0||m>this._numPages)return Promise.reject(new Error("Invalid page request."));const M=m-1,G=_classPrivateFieldGet(this,_pagePromises).get(M);if(G)return G;const V=this.messageHandler.sendWithPromise("GetPage",{pageIndex:M}).then(q=>{if(this.destroyed)throw new Error("Transport destroyed");const $=new PDFPageProxy(M,q,this,this._params.ownerDocument,this._params.pdfBug);return _classPrivateFieldGet(this,_pageCache).set(M,$),$});return _classPrivateFieldGet(this,_pagePromises).set(M,V),V}getPageIndex(m){return typeof m!="object"||m===null||!Number.isInteger(m.num)||m.num<0||!Number.isInteger(m.gen)||m.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:m.num,gen:m.gen})}getAnnotations(m,M){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:m,intent:M})}saveDocument(){var m,M;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:(m=(M=this._fullReader)===null||M===void 0?void 0:M.filename)!==null&&m!==void 0?m:null}).finally(()=>{this.annotationStorage.resetModified()})}getFieldObjects(){return this._getFieldObjectsPromise||(this._getFieldObjectsPromise=this.messageHandler.sendWithPromise("GetFieldObjects",null))}hasJSActions(){return this._hasJSActionsPromise||(this._hasJSActionsPromise=this.messageHandler.sendWithPromise("HasJSActions",null))}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(m){return typeof m!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:m})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(m){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:m})}getStructTree(m){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:m})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(m=>new _optional_content_config.OptionalContentConfig(m))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return _classPrivateFieldGet(this,_metadataPromise)||_classPrivateFieldSet(this,_metadataPromise,this.messageHandler.sendWithPromise("GetMetadata",null).then(m=>{var M,G,V,q;return{info:m[0],metadata:m[1]?new _metadata.Metadata(m[1]):null,contentDispositionFilename:(M=(G=this._fullReader)===null||G===void 0?void 0:G.filename)!==null&&M!==void 0?M:null,contentLength:(V=(q=this._fullReader)===null||q===void 0?void 0:q.contentLength)!==null&&V!==void 0?V:null}}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(await this.messageHandler.sendWithPromise("Cleanup",null),!this.destroyed){for(const M of _classPrivateFieldGet(this,_pageCache).values())if(!M.cleanup())throw new Error(`startCleanup: Page ${M.pageNumber} is currently rendering.`);this.commonObjs.clear(),m||this.fontLoader.clear(),_classPrivateFieldSet(this,_metadataPromise,null),this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null}}get loadingParams(){const m=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:m.disableAutoFetch,enableXfa:m.enableXfa})}}var _objs=new WeakMap,_ensureObj=new WeakSet;class PDFObjects{constructor(){_classPrivateMethodInitSpec(this,_ensureObj),_classPrivateFieldInitSpec(this,_objs,{writable:!0,value:Object.create(null)})}get(m){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(M){const V=_classPrivateMethodGet(this,_ensureObj,_ensureObj2).call(this,m);return V.capability.promise.then(()=>M(V.data)),null}const G=_classPrivateFieldGet(this,_objs)[m];if(!(G!=null&&G.capability.settled))throw new Error(`Requesting object that isn't resolved yet ${m}.`);return G.data}has(m){const M=_classPrivateFieldGet(this,_objs)[m];return(M==null?void 0:M.capability.settled)||!1}resolve(m){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const G=_classPrivateMethodGet(this,_ensureObj,_ensureObj2).call(this,m);G.data=M,G.capability.resolve()}clear(){_classPrivateFieldSet(this,_objs,Object.create(null))}}function _ensureObj2(k){const m=_classPrivateFieldGet(this,_objs)[k];return m||(_classPrivateFieldGet(this,_objs)[k]={capability:(0,_util.createPromiseCapability)(),data:null})}var _internalRenderTask=new WeakMap;class RenderTask{constructor(m){_classPrivateFieldInitSpec(this,_internalRenderTask,{writable:!0,value:null}),_classPrivateFieldSet(this,_internalRenderTask,m),this.onContinue=null}get promise(){return _classPrivateFieldGet(this,_internalRenderTask).capability.promise}cancel(){_classPrivateFieldGet(this,_internalRenderTask).cancel()}get separateAnnots(){const{separateAnnots:m}=_classPrivateFieldGet(this,_internalRenderTask).operatorList;if(!m)return!1;const{annotationCanvasMap:M}=_classPrivateFieldGet(this,_internalRenderTask);return m.form||m.canvas&&(M==null?void 0:M.size)>0}}exports.RenderTask=RenderTask;class InternalRenderTask{constructor(m){let{callback:M,params:G,objs:V,commonObjs:q,annotationCanvasMap:$,operatorList:D,pageIndex:B,canvasFactory:R,useRequestAnimationFrame:U=!1,pdfBug:K=!1,pageColors:z=null}=m;this.callback=M,this.params=G,this.objs=V,this.commonObjs=q,this.annotationCanvasMap=$,this.operatorListIdx=null,this.operatorList=D,this._pageIndex=B,this.canvasFactory=R,this._pdfBug=K,this.pageColors=z,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=U===!0&&typeof window<"u",this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=G.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics(m){var M;let{transparency:G=!1,optionalContentConfig:V}=m;if(this.cancelled)return;if(this._canvas){if(_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).add(this._canvas)}this._pdfBug&&(M=globalThis.StepperManager)!==null&&M!==void 0&&M.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:q,viewport:$,transform:D,imageLayer:B,background:R}=this.params;this.gfx=new _canvas.CanvasGraphics(q,this.commonObjs,this.objs,this.canvasFactory,B,V,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:D,viewport:$,transparency:G,background:R}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).delete(this._canvas),this.callback(m||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}this.stepper&&this.stepper.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).delete(this._canvas),this.callback())))}}var _canvasInUse={writable:!0,value:new WeakSet};const version="2.16.105";exports.version=version;const build="172ccdbe5";exports.build=build},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.PrintAnnotationStorage=m.AnnotationStorage=void 0;var G=M(1),V=M(131),q=M(135);function $(L,Q,ce){e(L,Q),Q.set(L,ce)}function D(L,Q){var ce=U(L,Q,"get");return B(L,ce)}function B(L,Q){return Q.get?Q.get.call(L):Q.value}function R(L,Q,ce){var de=U(L,Q,"set");return K(L,de,ce),ce}function U(L,Q,ce){if(!Q.has(L))throw new TypeError("attempted to "+ce+" private field on non-instance");return Q.get(L)}function K(L,Q,ce){if(Q.set)Q.set.call(L,ce);else{if(!Q.writable)throw new TypeError("attempted to set read only private field");Q.value=ce}}function z(L,Q){e(L,Q),Q.add(L)}function e(L,Q){if(Q.has(L))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ae(L,Q,ce){if(!Q.has(L))throw new TypeError("attempted to get private field on non-instance");return ce}var ie=new WeakSet;class he{constructor(){z(this,ie),this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(Q,ce){const de=this._storage.get(Q);return de===void 0?ce:Object.assign(ce,de)}getRawValue(Q){return this._storage.get(Q)}remove(Q){if(this._storage.delete(Q),this._storage.size===0&&this.resetModified(),typeof this.onAnnotationEditor=="function"){for(const ce of this._storage.values())if(ce instanceof V.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(Q,ce){const de=this._storage.get(Q);let oe=!1;if(de!==void 0)for(const[se,me]of Object.entries(ce))de[se]!==me&&(oe=!0,de[se]=me);else oe=!0,this._storage.set(Q,ce);oe&&ae(this,ie,J).call(this),ce instanceof V.AnnotationEditor&&typeof this.onAnnotationEditor=="function"&&this.onAnnotationEditor(ce.constructor._type)}has(Q){return this._storage.has(Q)}getAll(){return this._storage.size>0?(0,G.objectFromMap)(this._storage):null}get size(){return this._storage.size}resetModified(){this._modified&&(this._modified=!1,typeof this.onResetModified=="function"&&this.onResetModified())}get print(){return new W(this)}get serializable(){if(this._storage.size===0)return null;const Q=new Map;for(const[ce,de]of this._storage){const oe=de instanceof V.AnnotationEditor?de.serialize():de;oe&&Q.set(ce,oe)}return Q}static getHash(Q){if(!Q)return"";const ce=new q.MurmurHash3_64;for(const[de,oe]of Q)ce.update(`${de}:${JSON.stringify(oe)}`);return ce.hexdigest()}}m.AnnotationStorage=he;function J(){this._modified||(this._modified=!0,typeof this.onSetModified=="function"&&this.onSetModified())}var X=new WeakMap;class W extends he{constructor(Q){super(),$(this,X,{writable:!0,value:null}),R(this,X,structuredClone(Q.serializable))}get print(){(0,G.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return D(this,X)}}m.PrintAnnotationStorage=W},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.AnnotationEditor=void 0;var G=M(132),V=M(1);function q(L,Q,ce){return Q in L?Object.defineProperty(L,Q,{value:ce,enumerable:!0,configurable:!0,writable:!0}):L[Q]=ce,L}function $(L,Q,ce){D(L,Q),Q.set(L,ce)}function D(L,Q){if(Q.has(L))throw new TypeError("Cannot initialize the same private elements twice on an object")}function B(L,Q,ce){var de=K(L,Q,"set");return R(L,de,ce),ce}function R(L,Q,ce){if(Q.set)Q.set.call(L,ce);else{if(!Q.writable)throw new TypeError("attempted to set read only private field");Q.value=ce}}function U(L,Q){var ce=K(L,Q,"get");return z(L,ce)}function K(L,Q,ce){if(!Q.has(L))throw new TypeError("attempted to "+ce+" private field on non-instance");return Q.get(L)}function z(L,Q){return Q.get?Q.get.call(L):Q.value}var e=new WeakMap,ae=new WeakMap,ie=new WeakMap,he=new WeakMap,J=new WeakMap,X=new WeakMap;class W{constructor(Q){$(this,e,{writable:!0,value:this.focusin.bind(this)}),$(this,ae,{writable:!0,value:this.focusout.bind(this)}),$(this,ie,{writable:!0,value:!1}),$(this,he,{writable:!0,value:!1}),$(this,J,{writable:!0,value:!1}),$(this,X,{writable:!0,value:W._zIndex++}),this.constructor===W&&(0,V.unreachable)("Cannot initialize AnnotationEditor."),this.parent=Q.parent,this.id=Q.id,this.width=this.height=null,this.pageIndex=Q.parent.pageIndex,this.name=Q.name,this.div=null;const[ce,de]=this.parent.viewportBaseDimensions;this.x=Q.x/ce,this.y=Q.y/de,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,V.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=U(this,X)}focusin(Q){U(this,ie)?B(this,ie,!1):this.parent.setSelected(this)}focusout(Q){if(!this.isAttachedToDOM)return;const ce=Q.relatedTarget;ce!=null&&ce.closest(`#${this.id}`)||(Q.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(Q){const ce=this.parent.div.getBoundingClientRect();this.startX=Q.clientX-ce.x,this.startY=Q.clientY-ce.y,Q.dataTransfer.setData("text/plain",this.id),Q.dataTransfer.effectAllowed="move"}setAt(Q,ce,de,oe){const[se,me]=this.parent.viewportBaseDimensions;[de,oe]=this.screenToPageTranslation(de,oe),this.x=(Q+de)/se,this.y=(ce+oe)/me,this.div.style.left=`${100*this.x}%`,this.div.style.top=`${100*this.y}%`}translate(Q,ce){const[de,oe]=this.parent.viewportBaseDimensions;[Q,ce]=this.screenToPageTranslation(Q,ce),this.x+=Q/de,this.y+=ce/oe,this.div.style.left=`${100*this.x}%`,this.div.style.top=`${100*this.y}%`}screenToPageTranslation(Q,ce){const{rotation:de}=this.parent.viewport;switch(de){case 90:return[ce,-Q];case 180:return[-Q,-ce];case 270:return[-ce,Q];default:return[Q,ce]}}setDims(Q,ce){const[de,oe]=this.parent.viewportBaseDimensions;this.div.style.width=`${100*Q/de}%`,this.div.style.height=`${100*ce/oe}%`}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",U(this,e)),this.div.addEventListener("focusout",U(this,ae));const[Q,ce]=this.getInitialTranslation();return this.translate(Q,ce),(0,G.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(Q){const ce=G.KeyboardManager.platform.isMac;if(Q.button!==0||Q.ctrlKey&&ce){Q.preventDefault();return}Q.ctrlKey&&!ce||Q.shiftKey||Q.metaKey&&ce?this.parent.toggleSelected(this):this.parent.setSelected(this),B(this,ie,!0)}getRect(Q,ce){const[de,oe]=this.parent.viewportBaseDimensions,[se,me]=this.parent.pageDimensions,Ee=se*Q/de,ke=me*ce/oe,xe=this.x*se,fe=this.y*me,ve=this.width*se,ye=this.height*me;switch(this.rotation){case 0:return[xe+Ee,me-fe-ke-ye,xe+Ee+ve,me-fe-ke];case 90:return[xe+ke,me-fe+Ee,xe+ke+ye,me-fe+Ee+ve];case 180:return[xe-Ee-ve,me-fe+ke,xe-Ee,me-fe+ke+ye];case 270:return[xe-ke-ye,me-fe-Ee-ve,xe-ke,me-fe-Ee];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(Q,ce){const[de,oe,se,me]=Q,Ee=se-de,ke=me-oe;switch(this.rotation){case 0:return[de,ce-me,Ee,ke];case 90:return[de,ce-oe,ke,Ee];case 180:return[se,ce-oe,Ee,ke];case 270:return[se,ce-me,ke,Ee];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){B(this,J,!0)}disableEditMode(){B(this,J,!1)}isInEditMode(){return U(this,J)}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){var Q;(Q=this.div)===null||Q===void 0||Q.addEventListener("focusin",U(this,e))}serialize(){(0,V.unreachable)("An editor must be serializable")}static deserialize(Q,ce){const de=new this.prototype.constructor({parent:ce,id:ce.getNextId()});de.rotation=Q.rotation;const[oe,se]=ce.pageDimensions,[me,Ee,ke,xe]=de.getRectInCurrentCoords(Q.rect,se);return de.x=me/oe,de.y=Ee/se,de.width=ke/oe,de.height=xe/se,de}remove(){this.div.removeEventListener("focusin",U(this,e)),this.div.removeEventListener("focusout",U(this,ae)),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){var Q;(Q=this.div)===null||Q===void 0||Q.classList.add("selectedEditor")}unselect(){var Q;(Q=this.div)===null||Q===void 0||Q.classList.remove("selectedEditor")}updateParams(Q,ce){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return U(this,he)}set isEditing(Q){B(this,he,Q),Q?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}m.AnnotationEditor=W,q(W,"_colorManager",new G.ColorManager),q(W,"_zIndex",1)},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.KeyboardManager=m.CommandManager=m.ColorManager=m.AnnotationEditorUIManager=void 0,m.bindEvents=ie,m.opacityToHex=he;var G=M(1),V=M(133);function q(St,bt,pt){return bt in St?Object.defineProperty(St,bt,{value:pt,enumerable:!0,configurable:!0,writable:!0}):St[bt]=pt,St}function $(St,bt){R(St,bt),bt.add(St)}function D(St,bt,pt){if(!bt.has(St))throw new TypeError("attempted to get private field on non-instance");return pt}function B(St,bt,pt){R(St,bt),bt.set(St,pt)}function R(St,bt){if(bt.has(St))throw new TypeError("Cannot initialize the same private elements twice on an object")}function U(St,bt,pt){var wt=e(St,bt,"set");return K(St,wt,pt),pt}function K(St,bt,pt){if(bt.set)bt.set.call(St,pt);else{if(!bt.writable)throw new TypeError("attempted to set read only private field");bt.value=pt}}function z(St,bt){var pt=e(St,bt,"get");return ae(St,pt)}function e(St,bt,pt){if(!bt.has(St))throw new TypeError("attempted to "+pt+" private field on non-instance");return bt.get(St)}function ae(St,bt){return bt.get?bt.get.call(St):bt.value}function ie(St,bt,pt){for(const wt of pt)bt.addEventListener(wt,St[wt].bind(St))}function he(St){return Math.round(Math.min(255,Math.max(1,255*St))).toString(16).padStart(2,"0")}var J=new WeakMap;class X{constructor(){B(this,J,{writable:!0,value:0})}getId(){var bt,pt;return`${G.AnnotationEditorPrefix}${U(this,J,(bt=z(this,J),pt=bt++,bt)),pt}`}}var W=new WeakMap,L=new WeakMap,Q=new WeakMap,ce=new WeakMap;class de{constructor(){let bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:128;B(this,W,{writable:!0,value:[]}),B(this,L,{writable:!0,value:!1}),B(this,Q,{writable:!0,value:void 0}),B(this,ce,{writable:!0,value:-1}),U(this,Q,bt)}add(bt){let{cmd:pt,undo:wt,mustExec:Pt,type:Nt=NaN,overwriteIfSameType:Vt=!1,keepUndo:Wt=!1}=bt;if(Pt&&pt(),z(this,L))return;const Mt={cmd:pt,undo:wt,type:Nt};if(z(this,ce)===-1){z(this,W).length>0&&(z(this,W).length=0),U(this,ce,0),z(this,W).push(Mt);return}if(Vt&&z(this,W)[z(this,ce)].type===Nt){Wt&&(Mt.undo=z(this,W)[z(this,ce)].undo),z(this,W)[z(this,ce)]=Mt;return}const $t=z(this,ce)+1;$t===z(this,Q)?z(this,W).splice(0,1):(U(this,ce,$t),$tpt.serialize())):U(this,Ee,[bt.serialize()]),U(this,Ee,z(this,Ee).filter(pt=>!!pt)),z(this,Ee).length===0&&U(this,Ee,null))}paste(){return z(this,Ee)}isEmpty(){return z(this,Ee)===null}destroy(){U(this,Ee,null)}}class xe{get _colors(){const bt=new Map([["CanvasText",null],["Canvas",null]]);return(0,V.getColorValues)(bt),(0,G.shadow)(this,"_colors",bt)}convert(bt){const pt=(0,V.getRGB)(bt);if(!window.matchMedia("(forced-colors: active)").matches)return pt;for(const[wt,Pt]of this._colors)if(Pt.every((Nt,Vt)=>Nt===pt[Vt]))return xe._colorsMapping.get(wt);return pt}getHexCode(bt){const pt=this._colors.get(bt);return pt?G.Util.makeHexColor(...pt):bt}}m.ColorManager=xe,q(xe,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));var fe=new WeakMap,ve=new WeakMap,ye=new WeakMap,Ce=new WeakMap,pe=new WeakMap,_e=new WeakMap,Ge=new WeakMap,Te=new WeakMap,Ne=new WeakMap,Ze=new WeakMap,ze=new WeakMap,Ae=new WeakMap,De=new WeakMap,Ue=new WeakMap,we=new WeakMap,Ie=new WeakMap,Be=new WeakMap,Ke=new WeakSet,Ve=new WeakSet,je=new WeakSet,Le=new WeakSet,et=new WeakSet,Qe=new WeakSet,Fe=new WeakSet,$e=new WeakSet,Ye=new WeakSet;class tt{constructor(bt,pt){$(this,Ye),$(this,$e),$(this,Fe),$(this,Qe),$(this,et),$(this,Le),$(this,je),$(this,Ve),$(this,Ke),B(this,fe,{writable:!0,value:null}),B(this,ve,{writable:!0,value:new Map}),B(this,ye,{writable:!0,value:new Map}),B(this,Ce,{writable:!0,value:new ke}),B(this,pe,{writable:!0,value:new de}),B(this,_e,{writable:!0,value:0}),B(this,Ge,{writable:!0,value:null}),B(this,Te,{writable:!0,value:null}),B(this,Ne,{writable:!0,value:new X}),B(this,Ze,{writable:!0,value:!1}),B(this,ze,{writable:!0,value:G.AnnotationEditorType.NONE}),B(this,Ae,{writable:!0,value:new Set}),B(this,De,{writable:!0,value:this.keydown.bind(this)}),B(this,Ue,{writable:!0,value:this.onEditingAction.bind(this)}),B(this,we,{writable:!0,value:this.onPageChanging.bind(this)}),B(this,Ie,{writable:!0,value:{isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1}}),B(this,Be,{writable:!0,value:null}),U(this,Be,bt),U(this,Te,pt),z(this,Te)._on("editingaction",z(this,Ue)),z(this,Te)._on("pagechanging",z(this,we))}destroy(){D(this,Ve,st).call(this),z(this,Te)._off("editingaction",z(this,Ue)),z(this,Te)._off("pagechanging",z(this,we));for(const bt of z(this,ye).values())bt.destroy();z(this,ye).clear(),z(this,ve).clear(),U(this,fe,null),z(this,Ae).clear(),z(this,Ce).destroy(),z(this,pe).destroy()}onPageChanging(bt){let{pageNumber:pt}=bt;U(this,_e,pt-1)}focusMainContainer(){z(this,Be).focus()}keydown(bt){var pt;(pt=this.getActive())!==null&&pt!==void 0&&pt.shouldGetKeyboardEvents()||tt._keyboardManager.exec(this,bt)}onEditingAction(bt){["undo","redo","cut","copy","paste","delete","selectAll"].includes(bt.name)&&this[bt.name]()}setEditingState(bt){bt?(D(this,Ke,ot).call(this),D(this,je,dt).call(this,{isEditing:z(this,ze)!==G.AnnotationEditorType.NONE,isEmpty:D(this,$e,He).call(this),hasSomethingToUndo:z(this,pe).hasSomethingToUndo(),hasSomethingToRedo:z(this,pe).hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:z(this,Ce).isEmpty()})):(D(this,Ve,st).call(this),D(this,je,dt).call(this,{isEditing:!1}))}registerEditorTypes(bt){U(this,Ge,bt);for(const pt of z(this,Ge))D(this,Le,ct).call(this,pt.defaultPropertiesToUpdate)}getId(){return z(this,Ne).getId()}addLayer(bt){z(this,ye).set(bt.pageIndex,bt),z(this,Ze)?bt.enable():bt.disable()}removeLayer(bt){z(this,ye).delete(bt.pageIndex)}updateMode(bt){if(U(this,ze,bt),bt===G.AnnotationEditorType.NONE)this.setEditingState(!1),D(this,Qe,ut).call(this);else{this.setEditingState(!0),D(this,et,mt).call(this);for(const pt of z(this,ye).values())pt.updateMode(bt)}}updateToolbar(bt){bt!==z(this,ze)&&z(this,Te).dispatch("switchannotationeditormode",{source:this,mode:bt})}updateParams(bt,pt){for(const wt of z(this,Ae))wt.updateParams(bt,pt);for(const wt of z(this,Ge))wt.updateDefaultParams(bt,pt)}getEditors(bt){const pt=[];for(const wt of z(this,ve).values())wt.pageIndex===bt&&pt.push(wt);return pt}getEditor(bt){return z(this,ve).get(bt)}addEditor(bt){z(this,ve).set(bt.id,bt)}removeEditor(bt){z(this,ve).delete(bt.id),this.unselect(bt)}setActiveEditor(bt){z(this,fe)!==bt&&(U(this,fe,bt),bt&&D(this,Le,ct).call(this,bt.propertiesToUpdate))}toggleSelected(bt){if(z(this,Ae).has(bt)){z(this,Ae).delete(bt),bt.unselect(),D(this,je,dt).call(this,{hasSelectedEditor:this.hasSelection});return}z(this,Ae).add(bt),bt.select(),D(this,Le,ct).call(this,bt.propertiesToUpdate),D(this,je,dt).call(this,{hasSelectedEditor:!0})}setSelected(bt){for(const pt of z(this,Ae))pt!==bt&&pt.unselect();z(this,Ae).clear(),z(this,Ae).add(bt),bt.select(),D(this,Le,ct).call(this,bt.propertiesToUpdate),D(this,je,dt).call(this,{hasSelectedEditor:!0})}isSelected(bt){return z(this,Ae).has(bt)}unselect(bt){bt.unselect(),z(this,Ae).delete(bt),D(this,je,dt).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return z(this,Ae).size!==0}undo(){z(this,pe).undo(),D(this,je,dt).call(this,{hasSomethingToUndo:z(this,pe).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:D(this,$e,He).call(this)})}redo(){z(this,pe).redo(),D(this,je,dt).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:z(this,pe).hasSomethingToRedo(),isEmpty:D(this,$e,He).call(this)})}addCommands(bt){z(this,pe).add(bt),D(this,je,dt).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:D(this,$e,He).call(this)})}delete(){if(z(this,fe)&&z(this,fe).commitOrRemove(),!this.hasSelection)return;const bt=[...z(this,Ae)],pt=()=>{for(const Pt of bt)Pt.remove()},wt=()=>{for(const Pt of bt)D(this,Fe,rt).call(this,Pt)};this.addCommands({cmd:pt,undo:wt,mustExec:!0})}copy(){if(z(this,fe)&&z(this,fe).commitOrRemove(),this.hasSelection){const bt=[];for(const pt of z(this,Ae))pt.isEmpty()||bt.push(pt);if(bt.length===0)return;z(this,Ce).copy(bt),D(this,je,dt).call(this,{hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(z(this,Ce).isEmpty())return;this.unselectAll();const bt=z(this,ye).get(z(this,_e)),pt=z(this,Ce).paste().map(Nt=>bt.deserialize(Nt)),wt=()=>{for(const Nt of pt)D(this,Fe,rt).call(this,Nt);D(this,Ye,Je).call(this,pt)},Pt=()=>{for(const Nt of pt)Nt.remove()};this.addCommands({cmd:wt,undo:Pt,mustExec:!0})}selectAll(){for(const bt of z(this,Ae))bt.commit();D(this,Ye,Je).call(this,z(this,ve).values())}unselectAll(){if(z(this,fe)){z(this,fe).commitOrRemove();return}if(D(this,Ye,Je).size!==0){for(const bt of z(this,Ae))bt.unselect();z(this,Ae).clear(),D(this,je,dt).call(this,{hasSelectedEditor:!1})}}isActive(bt){return z(this,fe)===bt}getActive(){return z(this,fe)}getMode(){return z(this,ze)}}m.AnnotationEditorUIManager=tt;function ot(){z(this,Be).addEventListener("keydown",z(this,De))}function st(){z(this,Be).removeEventListener("keydown",z(this,De))}function dt(St){Object.entries(St).some(pt=>{let[wt,Pt]=pt;return z(this,Ie)[wt]!==Pt})&&z(this,Te).dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(z(this,Ie),St)})}function ct(St){z(this,Te).dispatch("annotationeditorparamschanged",{source:this,details:St})}function mt(){if(!z(this,Ze)){U(this,Ze,!0);for(const St of z(this,ye).values())St.enable()}}function ut(){if(this.unselectAll(),z(this,Ze)){U(this,Ze,!1);for(const St of z(this,ye).values())St.disable()}}function rt(St){const bt=z(this,ye).get(St.pageIndex);bt?bt.addOrRebuild(St):this.addEditor(St)}function He(){if(z(this,ve).size===0)return!0;if(z(this,ve).size===1)for(const St of z(this,ve).values())return St.isEmpty();return!1}function Je(St){z(this,Ae).clear();for(const bt of St)bt.isEmpty()||(z(this,Ae).add(bt),bt.select());D(this,je,dt).call(this,{hasSelectedEditor:!0})}q(tt,"_keyboardManager",new se([[["ctrl+a","mac+meta+a"],tt.prototype.selectAll],[["ctrl+c","mac+meta+c"],tt.prototype.copy],[["ctrl+v","mac+meta+v"],tt.prototype.paste],[["ctrl+x","mac+meta+x"],tt.prototype.cut],[["ctrl+z","mac+meta+z"],tt.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],tt.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],tt.prototype.delete],[["Escape","mac+Escape"],tt.prototype.unselectAll]]))},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.StatTimer=m.RenderingCancelledException=m.PixelsPerInch=m.PageViewport=m.PDFDateString=m.DOMStandardFontDataFactory=m.DOMSVGFactory=m.DOMCanvasFactory=m.DOMCMapReaderFactory=m.AnnotationPrefix=void 0,m.deprecated=de,m.getColorValues=ke,m.getCurrentTransform=xe,m.getCurrentTransformInverse=fe,m.getFilenameFromUrl=X,m.getPdfFilenameFromUrl=W,m.getRGB=Ee,m.getXfaPageViewport=me,m.isDataScheme=he,m.isPdfFile=J,m.isValidFetchUrl=Q,m.loadScript=ce;var G=M(134),V=M(1);function q(ve,ye,Ce){return ye in ve?Object.defineProperty(ve,ye,{value:Ce,enumerable:!0,configurable:!0,writable:!0}):ve[ye]=Ce,ve}const $="http://www.w3.org/2000/svg",D="pdfjs_internal_id_";m.AnnotationPrefix=D;class B{}m.PixelsPerInch=B,q(B,"CSS",96),q(B,"PDF",72),q(B,"PDF_TO_CSS_UNITS",B.CSS/B.PDF);class R extends G.BaseCanvasFactory{constructor(){let{ownerDocument:ye=globalThis.document}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),this._document=ye}_createCanvas(ye,Ce){const pe=this._document.createElement("canvas");return pe.width=ye,pe.height=Ce,pe}}m.DOMCanvasFactory=R;async function U(ve){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Q(ve,document.baseURI)){const Ce=await fetch(ve);if(!Ce.ok)throw new Error(Ce.statusText);return ye?new Uint8Array(await Ce.arrayBuffer()):(0,V.stringToBytes)(await Ce.text())}return new Promise((Ce,pe)=>{const _e=new XMLHttpRequest;_e.open("GET",ve,!0),ye&&(_e.responseType="arraybuffer"),_e.onreadystatechange=()=>{if(_e.readyState===XMLHttpRequest.DONE){if(_e.status===200||_e.status===0){let Ge;if(ye&&_e.response?Ge=new Uint8Array(_e.response):!ye&&_e.responseText&&(Ge=(0,V.stringToBytes)(_e.responseText)),Ge){Ce(Ge);return}}pe(new Error(_e.statusText))}},_e.send(null)})}class K extends G.BaseCMapReaderFactory{_fetchData(ye,Ce){return U(ye,this.isCompressed).then(pe=>({cMapData:pe,compressionType:Ce}))}}m.DOMCMapReaderFactory=K;class z extends G.BaseStandardFontDataFactory{_fetchData(ye){return U(ye,!0)}}m.DOMStandardFontDataFactory=z;class e extends G.BaseSVGFactory{_createSVG(ye){return document.createElementNS($,ye)}}m.DOMSVGFactory=e;class ae{constructor(ye){let{viewBox:Ce,scale:pe,rotation:_e,offsetX:Ge=0,offsetY:Te=0,dontFlip:Ne=!1}=ye;this.viewBox=Ce,this.scale=pe,this.rotation=_e,this.offsetX=Ge,this.offsetY=Te;const Ze=(Ce[2]+Ce[0])/2,ze=(Ce[3]+Ce[1])/2;let Ae,De,Ue,we;switch(_e%=360,_e<0&&(_e+=360),_e){case 180:Ae=-1,De=0,Ue=0,we=1;break;case 90:Ae=0,De=1,Ue=1,we=0;break;case 270:Ae=0,De=-1,Ue=-1,we=0;break;case 0:Ae=1,De=0,Ue=0,we=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}Ne&&(Ue=-Ue,we=-we);let Ie,Be,Ke,Ve;Ae===0?(Ie=Math.abs(ze-Ce[1])*pe+Ge,Be=Math.abs(Ze-Ce[0])*pe+Te,Ke=Math.abs(Ce[3]-Ce[1])*pe,Ve=Math.abs(Ce[2]-Ce[0])*pe):(Ie=Math.abs(Ze-Ce[0])*pe+Ge,Be=Math.abs(ze-Ce[1])*pe+Te,Ke=Math.abs(Ce[2]-Ce[0])*pe,Ve=Math.abs(Ce[3]-Ce[1])*pe),this.transform=[Ae*pe,De*pe,Ue*pe,we*pe,Ie-Ae*pe*Ze-Ue*pe*ze,Be-De*pe*Ze-we*pe*ze],this.width=Ke,this.height=Ve}clone(){let{scale:ye=this.scale,rotation:Ce=this.rotation,offsetX:pe=this.offsetX,offsetY:_e=this.offsetY,dontFlip:Ge=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new ae({viewBox:this.viewBox.slice(),scale:ye,rotation:Ce,offsetX:pe,offsetY:_e,dontFlip:Ge})}convertToViewportPoint(ye,Ce){return V.Util.applyTransform([ye,Ce],this.transform)}convertToViewportRectangle(ye){const Ce=V.Util.applyTransform([ye[0],ye[1]],this.transform),pe=V.Util.applyTransform([ye[2],ye[3]],this.transform);return[Ce[0],Ce[1],pe[0],pe[1]]}convertToPdfPoint(ye,Ce){return V.Util.applyInverseTransform([ye,Ce],this.transform)}}m.PageViewport=ae;class ie extends V.BaseException{constructor(ye,Ce){super(ye,"RenderingCancelledException"),this.type=Ce}}m.RenderingCancelledException=ie;function he(ve){const ye=ve.length;let Ce=0;for(;Ce0?ye:ve.length,Ce>0?Ce:ve.length);return ve.substring(ve.lastIndexOf("/",pe)+1,pe)}function W(ve){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"document.pdf";if(typeof ve!="string")return ye;if(he(ve))return(0,V.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),ye;const Ce=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,pe=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,_e=Ce.exec(ve);let Ge=pe.exec(_e[1])||pe.exec(_e[2])||pe.exec(_e[3]);if(Ge&&(Ge=Ge[0],Ge.includes("%")))try{Ge=pe.exec(decodeURIComponent(Ge))[0]}catch{}return Ge||ye}class L{constructor(){this.started=Object.create(null),this.times=[]}time(ye){ye in this.started&&(0,V.warn)(`Timer is already running for ${ye}`),this.started[ye]=Date.now()}timeEnd(ye){ye in this.started||(0,V.warn)(`Timer has not been started for ${ye}`),this.times.push({name:ye,start:this.started[ye],end:Date.now()}),delete this.started[ye]}toString(){const ye=[];let Ce=0;for(const pe of this.times){const _e=pe.name;_e.length>Ce&&(Ce=_e.length)}for(const pe of this.times){const _e=pe.end-pe.start;ye.push(`${pe.name.padEnd(Ce)} ${_e}ms -`)}return ye.join("")}}m.StatTimer=L;function Q(ve,ye){try{const{protocol:Ce}=ye?new URL(ve,ye):new URL(ve);return Ce==="http:"||Ce==="https:"}catch{return!1}}function ce(ve){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return new Promise((Ce,pe)=>{const _e=document.createElement("script");_e.src=ve,_e.onload=function(Ge){ye&&_e.remove(),Ce(Ge)},_e.onerror=function(){pe(new Error(`Cannot load script at: ${_e.src}`))},(document.head||document.documentElement).append(_e)})}function de(ve){console.log("Deprecated API usage: "+ve)}let oe;class se{static toDateObject(ye){if(!ye||typeof ye!="string")return null;oe||(oe=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const Ce=oe.exec(ye);if(!Ce)return null;const pe=parseInt(Ce[1],10);let _e=parseInt(Ce[2],10);_e=_e>=1&&_e<=12?_e-1:0;let Ge=parseInt(Ce[3],10);Ge=Ge>=1&&Ge<=31?Ge:1;let Te=parseInt(Ce[4],10);Te=Te>=0&&Te<=23?Te:0;let Ne=parseInt(Ce[5],10);Ne=Ne>=0&&Ne<=59?Ne:0;let Ze=parseInt(Ce[6],10);Ze=Ze>=0&&Ze<=59?Ze:0;const ze=Ce[7]||"Z";let Ae=parseInt(Ce[8],10);Ae=Ae>=0&&Ae<=23?Ae:0;let De=parseInt(Ce[9],10)||0;return De=De>=0&&De<=59?De:0,ze==="-"?(Te+=Ae,Ne+=De):ze==="+"&&(Te-=Ae,Ne-=De),new Date(Date.UTC(pe,_e,Ge,Te,Ne,Ze))}}m.PDFDateString=se;function me(ve,ye){let{scale:Ce=1,rotation:pe=0}=ye;const{width:_e,height:Ge}=ve.attributes.style,Te=[0,0,parseInt(_e),parseInt(Ge)];return new ae({viewBox:Te,scale:Ce,rotation:pe})}function Ee(ve){if(ve.startsWith("#")){const ye=parseInt(ve.slice(1),16);return[(ye&16711680)>>16,(ye&65280)>>8,ye&255]}return ve.startsWith("rgb(")?ve.slice(4,-1).split(",").map(ye=>parseInt(ye)):ve.startsWith("rgba(")?ve.slice(5,-1).split(",").map(ye=>parseInt(ye)).slice(0,3):((0,V.warn)(`Not a valid color format: "${ve}"`),[0,0,0])}function ke(ve){const ye=document.createElement("span");ye.style.visibility="hidden",document.body.append(ye);for(const Ce of ve.keys()){ye.style.color=Ce;const pe=window.getComputedStyle(ye).color;ve.set(Ce,Ee(pe))}ye.remove()}function xe(ve){const{a:ye,b:Ce,c:pe,d:_e,e:Ge,f:Te}=ve.getTransform();return[ye,Ce,pe,_e,Ge,Te]}function fe(ve){const{a:ye,b:Ce,c:pe,d:_e,e:Ge,f:Te}=ve.getTransform().invertSelf();return[ye,Ce,pe,_e,Ge,Te]}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.BaseStandardFontDataFactory=m.BaseSVGFactory=m.BaseCanvasFactory=m.BaseCMapReaderFactory=void 0;var G=M(1);class V{constructor(){this.constructor===V&&(0,G.unreachable)("Cannot initialize BaseCanvasFactory.")}create(R,U){if(R<=0||U<=0)throw new Error("Invalid canvas size");const K=this._createCanvas(R,U);return{canvas:K,context:K.getContext("2d")}}reset(R,U,K){if(!R.canvas)throw new Error("Canvas is not specified");if(U<=0||K<=0)throw new Error("Invalid canvas size");R.canvas.width=U,R.canvas.height=K}destroy(R){if(!R.canvas)throw new Error("Canvas is not specified");R.canvas.width=0,R.canvas.height=0,R.canvas=null,R.context=null}_createCanvas(R,U){(0,G.unreachable)("Abstract method `_createCanvas` called.")}}m.BaseCanvasFactory=V;class q{constructor(R){let{baseUrl:U=null,isCompressed:K=!1}=R;this.constructor===q&&(0,G.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=U,this.isCompressed=K}async fetch(R){let{name:U}=R;if(!this.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!U)throw new Error("CMap name must be specified.");const K=this.baseUrl+U+(this.isCompressed?".bcmap":""),z=this.isCompressed?G.CMapCompressionType.BINARY:G.CMapCompressionType.NONE;return this._fetchData(K,z).catch(e=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${K}`)})}_fetchData(R,U){(0,G.unreachable)("Abstract method `_fetchData` called.")}}m.BaseCMapReaderFactory=q;class ${constructor(R){let{baseUrl:U=null}=R;this.constructor===$&&(0,G.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=U}async fetch(R){let{filename:U}=R;if(!this.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!U)throw new Error("Font filename must be specified.");const K=`${this.baseUrl}${U}`;return this._fetchData(K).catch(z=>{throw new Error(`Unable to load font data at: ${K}`)})}_fetchData(R){(0,G.unreachable)("Abstract method `_fetchData` called.")}}m.BaseStandardFontDataFactory=$;class D{constructor(){this.constructor===D&&(0,G.unreachable)("Cannot initialize BaseSVGFactory.")}create(R,U){let K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(R<=0||U<=0)throw new Error("Invalid SVG dimensions");const z=this._createSVG("svg:svg");return z.setAttribute("version","1.1"),K||(z.setAttribute("width",`${R}px`),z.setAttribute("height",`${U}px`)),z.setAttribute("preserveAspectRatio","none"),z.setAttribute("viewBox",`0 0 ${R} ${U}`),z}createElement(R){if(typeof R!="string")throw new Error("Invalid SVG element type");return this._createSVG(R)}_createSVG(R){(0,G.unreachable)("Abstract method `_createSVG` called.")}}m.BaseSVGFactory=D},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.MurmurHash3_64=void 0;var G=M(1);const V=3285377520,q=4294901760,$=65535;class D{constructor(R){this.h1=R?R&4294967295:V,this.h2=R?R&4294967295:V}update(R){let U,K;if(typeof R=="string"){U=new Uint8Array(R.length*2),K=0;for(let de=0,oe=R.length;de>>8,U[K++]=se&255)}}else if((0,G.isArrayBuffer)(R))U=R.slice(),K=U.byteLength;else throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");const z=K>>2,e=K-z*4,ae=new Uint32Array(U.buffer,0,z);let ie=0,he=0,J=this.h1,X=this.h2;const W=3432918353,L=461845907,Q=W&$,ce=L&$;for(let de=0;de>>17,ie=ie*L&q|ie*ce&$,J^=ie,J=J<<13|J>>>19,J=J*5+3864292196):(he=ae[de],he=he*W&q|he*Q&$,he=he<<15|he>>>17,he=he*L&q|he*ce&$,X^=he,X=X<<13|X>>>19,X=X*5+3864292196);switch(ie=0,e){case 3:ie^=U[z*4+2]<<16;case 2:ie^=U[z*4+1]<<8;case 1:ie^=U[z*4],ie=ie*W&q|ie*Q&$,ie=ie<<15|ie>>>17,ie=ie*L&q|ie*ce&$,z&1?J^=ie:X^=ie}this.h1=J,this.h2=X}hexdigest(){let R=this.h1,U=this.h2;R^=U>>>1,R=R*3981806797&q|R*36045&$,U=U*4283543511&q|((U<<16|R>>>16)*2950163797&q)>>>16,R^=U>>>1,R=R*444984403&q|R*60499&$,U=U*3301882366&q|((U<<16|R>>>16)*3120437893&q)>>>16,R^=U>>>1;const K=(R>>>0).toString(16),z=(U>>>0).toString(16);return K.padStart(8,"0")+z.padStart(8,"0")}}m.MurmurHash3_64=D},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.FontLoader=m.FontFaceObject=void 0;var G=M(1);class V{constructor(B){let{docId:R,onUnsupportedFeature:U,ownerDocument:K=globalThis.document,styleElement:z=null}=B;this.constructor===V&&(0,G.unreachable)("Cannot initialize BaseFontLoader."),this.docId=R,this._onUnsupportedFeature=U,this._document=K,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(B){this.nativeFontFaces.push(B),this._document.fonts.add(B)}insertRule(B){let R=this.styleElement;R||(R=this.styleElement=this._document.createElement("style"),R.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].append(R));const U=R.sheet;U.insertRule(B,U.cssRules.length)}clear(){for(const B of this.nativeFontFaces)this._document.fonts.delete(B);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async bind(B){if(B.attached||B.missingFile)return;if(B.attached=!0,this.isFontLoadingAPISupported){const U=B.createNativeFontFace();if(U){this.addNativeFontFace(U);try{await U.loaded}catch(K){throw this._onUnsupportedFeature({featureId:G.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,G.warn)(`Failed to load font '${U.family}': '${K}'.`),B.disableFontFace=!0,K}}return}const R=B.createFontFaceRule();if(R){if(this.insertRule(R),this.isSyncFontLoadingSupported)return;await new Promise(U=>{const K=this._queueLoadingCallback(U);this._prepareFontLoadEvent([R],[B],K)})}}_queueLoadingCallback(B){(0,G.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){var B;const R=!!((B=this._document)!==null&&B!==void 0&&B.fonts);return(0,G.shadow)(this,"isFontLoadingAPISupported",R)}get isSyncFontLoadingSupported(){(0,G.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,G.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(B,R,U){(0,G.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let q;m.FontLoader=q,m.FontLoader=q=class extends V{constructor(B){super(B),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let B=!1;if(typeof navigator>"u")B=!0;else{const R=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);(R==null?void 0:R[1])>=14&&(B=!0)}return(0,G.shadow)(this,"isSyncFontLoadingSupported",B)}_queueLoadingCallback(B){function R(){for((0,G.assert)(!K.done,"completeRequest() cannot be called twice."),K.done=!0;U.requests.length>0&&U.requests[0].done;){const z=U.requests.shift();setTimeout(z.callback,0)}}const U=this.loadingContext,K={id:`pdfjs-font-loading-${U.nextRequestId++}`,done:!1,complete:R,callback:B};return U.requests.push(K),K}get _loadTestFont(){const B=function(){return atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==")};return(0,G.shadow)(this,"_loadTestFont",B())}_prepareFontLoadEvent(B,R,U){function K(xe,fe){return xe.charCodeAt(fe)<<24|xe.charCodeAt(fe+1)<<16|xe.charCodeAt(fe+2)<<8|xe.charCodeAt(fe+3)&255}function z(xe,fe,ve,ye){const Ce=xe.substring(0,fe),pe=xe.substring(fe+ve);return Ce+ye+pe}let e,ae;const ie=this._document.createElement("canvas");ie.width=1,ie.height=1;const he=ie.getContext("2d");let J=0;function X(xe,fe){if(J++,J>30){(0,G.warn)("Load test font never loaded."),fe();return}if(he.font="30px "+xe,he.fillText(".",0,20),he.getImageData(0,0,1,1).data[3]>0){fe();return}setTimeout(X.bind(null,xe,fe))}const W=`lt${Date.now()}${this.loadTestFontId++}`;let L=this._loadTestFont;L=z(L,976,W.length,W);const ce=16,de=1482184792;let oe=K(L,ce);for(e=0,ae=W.length-3;e{ke.remove(),U.complete()})}};class ${constructor(B,R){let{isEvalSupported:U=!0,disableFontFace:K=!1,ignoreErrors:z=!1,onUnsupportedFeature:e,fontRegistry:ae=null}=R;this.compiledGlyphs=Object.create(null);for(const ie in B)this[ie]=B[ie];this.isEvalSupported=U!==!1,this.disableFontFace=K===!0,this.ignoreErrors=z===!0,this._onUnsupportedFeature=e,this.fontRegistry=ae}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let B;if(!this.cssFontInfo)B=new FontFace(this.loadedName,this.data,{});else{const R={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(R.style=`oblique ${this.cssFontInfo.italicAngle}deg`),B=new FontFace(this.cssFontInfo.fontFamily,this.data,R)}return this.fontRegistry&&this.fontRegistry.registerFont(this),B}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const B=(0,G.bytesToString)(this.data),R=`url(data:${this.mimetype};base64,${btoa(B)});`;let U;if(!this.cssFontInfo)U=`@font-face {font-family:"${this.loadedName}";src:${R}}`;else{let K=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(K+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),U=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${K}src:${R}}`}return this.fontRegistry&&this.fontRegistry.registerFont(this,R),U}getPathGenerator(B,R){if(this.compiledGlyphs[R]!==void 0)return this.compiledGlyphs[R];let U;try{U=B.get(this.loadedName+"_path_"+R)}catch(K){if(!this.ignoreErrors)throw K;return this._onUnsupportedFeature({featureId:G.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,G.warn)(`getPathGenerator - ignoring character: "${K}".`),this.compiledGlyphs[R]=function(z,e){}}if(this.isEvalSupported&&G.FeatureTest.isEvalSupported){const K=[];for(const z of U){const e=z.args!==void 0?z.args.join(","):"";K.push("c.",z.cmd,"(",e,`); -`)}return this.compiledGlyphs[R]=new Function("c","size",K.join(""))}return this.compiledGlyphs[R]=function(K,z){for(const e of U)e.cmd==="scale"&&(e.args=[z,-z]),K[e.cmd].apply(K,e.args)}}}m.FontFaceObject=$},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.CanvasGraphics=void 0;var G=M(133),V=M(1),q=M(138),$=M(139),D=M(3);function B(ze,Ae){R(ze,Ae),Ae.add(ze)}function R(ze,Ae){if(Ae.has(ze))throw new TypeError("Cannot initialize the same private elements twice on an object")}function U(ze,Ae,De){if(!Ae.has(ze))throw new TypeError("attempted to get private field on non-instance");return De}const K=16,z=100,e=4096,ae=15,ie=10,he=D.isNodeJS&&typeof Path2D>"u"?-1:1e3,J=16;function X(ze,Ae){if(ze._removeMirroring)throw new Error("Context is already forwarding operations.");ze.__originalSave=ze.save,ze.__originalRestore=ze.restore,ze.__originalRotate=ze.rotate,ze.__originalScale=ze.scale,ze.__originalTranslate=ze.translate,ze.__originalTransform=ze.transform,ze.__originalSetTransform=ze.setTransform,ze.__originalResetTransform=ze.resetTransform,ze.__originalClip=ze.clip,ze.__originalMoveTo=ze.moveTo,ze.__originalLineTo=ze.lineTo,ze.__originalBezierCurveTo=ze.bezierCurveTo,ze.__originalRect=ze.rect,ze.__originalClosePath=ze.closePath,ze.__originalBeginPath=ze.beginPath,ze._removeMirroring=()=>{ze.save=ze.__originalSave,ze.restore=ze.__originalRestore,ze.rotate=ze.__originalRotate,ze.scale=ze.__originalScale,ze.translate=ze.__originalTranslate,ze.transform=ze.__originalTransform,ze.setTransform=ze.__originalSetTransform,ze.resetTransform=ze.__originalResetTransform,ze.clip=ze.__originalClip,ze.moveTo=ze.__originalMoveTo,ze.lineTo=ze.__originalLineTo,ze.bezierCurveTo=ze.__originalBezierCurveTo,ze.rect=ze.__originalRect,ze.closePath=ze.__originalClosePath,ze.beginPath=ze.__originalBeginPath,delete ze._removeMirroring},ze.save=function(){Ae.save(),this.__originalSave()},ze.restore=function(){Ae.restore(),this.__originalRestore()},ze.translate=function(Ue,we){Ae.translate(Ue,we),this.__originalTranslate(Ue,we)},ze.scale=function(Ue,we){Ae.scale(Ue,we),this.__originalScale(Ue,we)},ze.transform=function(Ue,we,Ie,Be,Ke,Ve){Ae.transform(Ue,we,Ie,Be,Ke,Ve),this.__originalTransform(Ue,we,Ie,Be,Ke,Ve)},ze.setTransform=function(Ue,we,Ie,Be,Ke,Ve){Ae.setTransform(Ue,we,Ie,Be,Ke,Ve),this.__originalSetTransform(Ue,we,Ie,Be,Ke,Ve)},ze.resetTransform=function(){Ae.resetTransform(),this.__originalResetTransform()},ze.rotate=function(Ue){Ae.rotate(Ue),this.__originalRotate(Ue)},ze.clip=function(Ue){Ae.clip(Ue),this.__originalClip(Ue)},ze.moveTo=function(De,Ue){Ae.moveTo(De,Ue),this.__originalMoveTo(De,Ue)},ze.lineTo=function(De,Ue){Ae.lineTo(De,Ue),this.__originalLineTo(De,Ue)},ze.bezierCurveTo=function(De,Ue,we,Ie,Be,Ke){Ae.bezierCurveTo(De,Ue,we,Ie,Be,Ke),this.__originalBezierCurveTo(De,Ue,we,Ie,Be,Ke)},ze.rect=function(De,Ue,we,Ie){Ae.rect(De,Ue,we,Ie),this.__originalRect(De,Ue,we,Ie)},ze.closePath=function(){Ae.closePath(),this.__originalClosePath()},ze.beginPath=function(){Ae.beginPath(),this.__originalBeginPath()}}class W{constructor(Ae){this.canvasFactory=Ae,this.cache=Object.create(null)}getCanvas(Ae,De,Ue){let we;return this.cache[Ae]!==void 0?(we=this.cache[Ae],this.canvasFactory.reset(we,De,Ue)):(we=this.canvasFactory.create(De,Ue),this.cache[Ae]=we),we}delete(Ae){delete this.cache[Ae]}clear(){for(const Ae in this.cache){const De=this.cache[Ae];this.canvasFactory.destroy(De),delete this.cache[Ae]}}}function L(ze,Ae,De,Ue,we,Ie,Be,Ke,Ve,je){const[Le,et,Qe,Fe,$e,Ye]=(0,G.getCurrentTransform)(ze);if(et===0&&Qe===0){const st=Be*Le+$e,dt=Math.round(st),ct=Ke*Fe+Ye,mt=Math.round(ct),ut=(Be+Ve)*Le+$e,rt=Math.abs(Math.round(ut)-dt)||1,He=(Ke+je)*Fe+Ye,Je=Math.abs(Math.round(He)-mt)||1;return ze.setTransform(Math.sign(Le),0,0,Math.sign(Fe),dt,mt),ze.drawImage(Ae,De,Ue,we,Ie,0,0,rt,Je),ze.setTransform(Le,et,Qe,Fe,$e,Ye),[rt,Je]}if(Le===0&&Fe===0){const st=Ke*Qe+$e,dt=Math.round(st),ct=Be*et+Ye,mt=Math.round(ct),ut=(Ke+je)*Qe+$e,rt=Math.abs(Math.round(ut)-dt)||1,He=(Be+Ve)*et+Ye,Je=Math.abs(Math.round(He)-mt)||1;return ze.setTransform(0,Math.sign(et),Math.sign(Qe),0,dt,mt),ze.drawImage(Ae,De,Ue,we,Ie,0,0,Je,rt),ze.setTransform(Le,et,Qe,Fe,$e,Ye),[Je,rt]}ze.drawImage(Ae,De,Ue,we,Ie,Be,Ke,Ve,je);const tt=Math.hypot(Le,et),ot=Math.hypot(Qe,Fe);return[tt*Ve,ot*je]}function Q(ze){const{width:Ae,height:De}=ze;if(Ae>he||De>he)return null;const Ue=1e3,we=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),Ie=Ae+1;let Be=new Uint8Array(Ie*(De+1)),Ke,Ve,je;const Le=Ae+7&-8;let et=new Uint8Array(Le*De),Qe=0;for(const ot of ze.data){let st=128;for(;st>0;)et[Qe++]=ot&st?0:255,st>>=1}let Fe=0;for(Qe=0,et[Qe]!==0&&(Be[0]=1,++Fe),Ve=1;Ve>2)+(et[Qe+1]?4:0)+(et[Qe-Le+1]?8:0),we[ot]&&(Be[je+Ve]=we[ot],++Fe),Qe++;if(et[Qe-Le]!==et[Qe]&&(Be[je+Ve]=et[Qe]?2:4,++Fe),Fe>Ue)return null}for(Qe=Le*(De-1),je=Ke*Ie,et[Qe]!==0&&(Be[je]=8,++Fe),Ve=1;VeUe)return null;const $e=new Int32Array([0,Ie,-1,0,-Ie,0,0,0,1]),Ye=new Path2D;for(Ke=0;Fe&&Ke<=De;Ke++){let ot=Ke*Ie;const st=ot+Ae;for(;ot>4,Be[ot]&=ct>>2|ct<<2),Ye.lineTo(ot%Ie,ot/Ie|0),Be[ot]||--Fe}while(dt!==ot);--Ke}return et=null,Be=null,function(ot){ot.save(),ot.scale(1/Ae,-1/De),ot.translate(0,-De),ot.fill(Ye),ot.beginPath(),ot.restore()}}class ce{constructor(Ae,De){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=V.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=V.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=V.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,Ae,De])}clone(){const Ae=Object.create(this);return Ae.clipBox=this.clipBox.slice(),Ae}setCurrentPoint(Ae,De){this.x=Ae,this.y=De}updatePathMinMax(Ae,De,Ue){[De,Ue]=V.Util.applyTransform([De,Ue],Ae),this.minX=Math.min(this.minX,De),this.minY=Math.min(this.minY,Ue),this.maxX=Math.max(this.maxX,De),this.maxY=Math.max(this.maxY,Ue)}updateRectMinMax(Ae,De){const Ue=V.Util.applyTransform(De,Ae),we=V.Util.applyTransform(De.slice(2),Ae);this.minX=Math.min(this.minX,Ue[0],we[0]),this.minY=Math.min(this.minY,Ue[1],we[1]),this.maxX=Math.max(this.maxX,Ue[0],we[0]),this.maxY=Math.max(this.maxY,Ue[1],we[1])}updateScalingPathMinMax(Ae,De){V.Util.scaleMinMax(Ae,De),this.minX=Math.min(this.minX,De[0]),this.maxX=Math.max(this.maxX,De[1]),this.minY=Math.min(this.minY,De[2]),this.maxY=Math.max(this.maxY,De[3])}updateCurvePathMinMax(Ae,De,Ue,we,Ie,Be,Ke,Ve,je,Le){const et=V.Util.bezierBoundingBox(De,Ue,we,Ie,Be,Ke,Ve,je);if(Le){Le[0]=Math.min(Le[0],et[0],et[2]),Le[1]=Math.max(Le[1],et[0],et[2]),Le[2]=Math.min(Le[2],et[1],et[3]),Le[3]=Math.max(Le[3],et[1],et[3]);return}this.updateRectMinMax(Ae,et)}getPathBoundingBox(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:q.PathType.FILL,De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const Ue=[this.minX,this.minY,this.maxX,this.maxY];if(Ae===q.PathType.STROKE){De||(0,V.unreachable)("Stroke bounding box must include transform.");const we=V.Util.singularValueDecompose2dScale(De),Ie=we[0]*this.lineWidth/2,Be=we[1]*this.lineWidth/2;Ue[0]-=Ie,Ue[1]-=Be,Ue[2]+=Ie,Ue[3]+=Be}return Ue}updateClipFromPath(){const Ae=V.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(Ae||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(Ae){this.clipBox=Ae,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:q.PathType.FILL,De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return V.Util.intersect(this.clipBox,this.getPathBoundingBox(Ae,De))}}function de(ze,Ae){let De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(typeof ImageData<"u"&&Ae instanceof ImageData){ze.putImageData(Ae,0,0);return}const Ue=Ae.height,we=Ae.width,Ie=Ue%J,Be=(Ue-Ie)/J,Ke=Ie===0?Be:Be+1,Ve=ze.createImageData(we,J);let je=0,Le;const et=Ae.data,Qe=Ve.data;let Fe,$e,Ye,tt,ot,st,dt,ct;if(De)switch(De.length){case 1:ot=De[0],st=De[0],dt=De[0],ct=De[0];break;case 4:ot=De[0],st=De[1],dt=De[2],ct=De[3];break}if(Ae.kind===V.ImageKind.GRAYSCALE_1BPP){const mt=et.byteLength,ut=new Uint32Array(Qe.buffer,0,Qe.byteLength>>2),rt=ut.length,He=we+7>>3;let Je=4294967295,St=V.FeatureTest.isLittleEndian?4278190080:255;for(ct&&ct[0]===255&&ct[255]===0&&([Je,St]=[St,Je]),Fe=0;FeHe?we:bt*8-7,Pt=wt&-8;let Nt=0,Vt=0;for(;pt>=1}for(;Le=Be&&(Ye=Ie,tt=we*Ye),Le=0,$e=tt;$e--;)Qe[Le++]=et[je++],Qe[Le++]=et[je++],Qe[Le++]=et[je++],Qe[Le++]=255;if(mt)for(let ut=0;ut>8,ze[Ie-2]=ze[Ie-2]*Be+De*Ke>>8,ze[Ie-1]=ze[Ie-1]*Be+Ue*Ke>>8}}}function ke(ze,Ae,De){const Ue=ze.length,we=1/255;for(let Ie=3;Ie>8]>>8:Ae[we]*Ie>>16}}function fe(ze,Ae,De,Ue,we,Ie,Be,Ke,Ve,je,Le){const et=!!Ie,Qe=et?Ie[0]:0,Fe=et?Ie[1]:0,$e=et?Ie[2]:0;let Ye;we==="Luminosity"?Ye=xe:Ye=ke;const ot=Math.min(Ue,Math.ceil(1048576/De));for(let st=0;st1&&arguments[1]!==void 0?arguments[1]:null;return typeof Ae=="string"?Ae.startsWith("g_")?this.commonObjs.get(Ae):this.objs.get(Ae):De}beginDrawing(Ae){let{transform:De,viewport:Ue,transparency:we=!1,background:Ie=null}=Ae;const Be=this.ctx.canvas.width,Ke=this.ctx.canvas.height,Ve=Ie||"#ffffff";if(this.ctx.save(),this.foregroundColor&&this.backgroundColor){this.ctx.fillStyle=this.foregroundColor;const je=this.foregroundColor=this.ctx.fillStyle;this.ctx.fillStyle=this.backgroundColor;const Le=this.backgroundColor=this.ctx.fillStyle;let et=!0,Qe=Ve;if(this.ctx.fillStyle=Ve,Qe=this.ctx.fillStyle,et=typeof Qe=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Qe),je==="#000000"&&Le==="#ffffff"||je===Le||!et)this.foregroundColor=this.backgroundColor=null;else{const[Fe,$e,Ye]=(0,G.getRGB)(Qe),tt=st=>(st/=255,st<=.03928?st/12.92:((st+.055)/1.055)**2.4),ot=Math.round(.2126*tt(Fe)+.7152*tt($e)+.0722*tt(Ye));this.selectColor=(st,dt,ct)=>{const mt=.2126*tt(st)+.7152*tt(dt)+.0722*tt(ct);return Math.round(mt)===ot?Le:je}}}if(this.ctx.fillStyle=this.backgroundColor||Ve,this.ctx.fillRect(0,0,Be,Ke),this.ctx.restore(),we){const je=this.cachedCanvases.getCanvas("transparent",Be,Ke);this.compositeCtx=this.ctx,this.transparentCanvas=je.canvas,this.ctx=je.context,this.ctx.save(),this.ctx.transform(...(0,G.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),me(this.ctx,this.foregroundColor),De&&(this.ctx.transform(...De),this.outputScaleX=De[0],this.outputScaleY=De[0]),this.ctx.transform(...Ue.transform),this.viewportScale=Ue.scale,this.baseTransform=(0,G.getCurrentTransform)(this.ctx),this.imageLayer&&((0,G.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(Ae,De,Ue,we){const Ie=Ae.argsArray,Be=Ae.fnArray;let Ke=De||0;const Ve=Ie.length;if(Ve===Ke)return Ke;const je=Ve-Ke>ie&&typeof Ue=="function",Le=je?Date.now()+ae:0;let et=0;const Qe=this.commonObjs,Fe=this.objs;let $e;for(;;){if(we!==void 0&&Ke===we.nextBreakPoint)return we.breakIt(Ke,Ue),Ke;if($e=Be[Ke],$e!==V.OPS.dependency)this[$e].apply(this,Ie[Ke]);else for(const Ye of Ie[Ke]){const tt=Ye.startsWith("g_")?Qe:Fe;if(!tt.has(Ye))return tt.get(Ye,Ue),Ke}if(Ke++,Ke===Ve)return Ke;if(je&&++et>ie){if(Date.now()>Le)return Ue(),Ke;et=0}}}endDrawing(){U(this,Te,Ze).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const Ae of this._cachedBitmapsMap.values()){for(const De of Ae.values())typeof HTMLCanvasElement<"u"&&De instanceof HTMLCanvasElement&&(De.width=De.height=0);Ae.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(Ae,De){const Ue=Ae.width,we=Ae.height;let Ie=Math.max(Math.hypot(De[0],De[1]),1),Be=Math.max(Math.hypot(De[2],De[3]),1),Ke=Ue,Ve=we,je="prescale1",Le,et;for(;Ie>2&&Ke>1||Be>2&&Ve>1;){let Qe=Ke,Fe=Ve;Ie>2&&Ke>1&&(Qe=Math.ceil(Ke/2),Ie/=Ke/Qe),Be>2&&Ve>1&&(Fe=Math.ceil(Ve/2),Be/=Ve/Fe),Le=this.cachedCanvases.getCanvas(je,Qe,Fe),et=Le.context,et.clearRect(0,0,Qe,Fe),et.drawImage(Ae,0,0,Ke,Ve,0,0,Qe,Fe),Ae=Le.canvas,Ke=Qe,Ve=Fe,je=je==="prescale1"?"prescale2":"prescale1"}return{img:Ae,paintWidth:Ke,paintHeight:Ve}}_createMaskCanvas(Ae){const De=this.ctx,{width:Ue,height:we}=Ae,Ie=this.current.fillColor,Be=this.current.patternFill,Ke=(0,G.getCurrentTransform)(De);let Ve,je,Le,et;if((Ae.bitmap||Ae.data)&&Ae.count>1){const rt=Ae.bitmap||Ae.data.buffer,He=Ke.slice(0,4);je=JSON.stringify(Be?He:[He,Ie]),Ve=this._cachedBitmapsMap.get(rt),Ve||(Ve=new Map,this._cachedBitmapsMap.set(rt,Ve));const Je=Ve.get(je);if(Je&&!Be){const St=Math.round(Math.min(Ke[0],Ke[2])+Ke[4]),bt=Math.round(Math.min(Ke[1],Ke[3])+Ke[5]);return{canvas:Je,offsetX:St,offsetY:bt}}Le=Je}Le||(et=this.cachedCanvases.getCanvas("maskCanvas",Ue,we),oe(et.context,Ae));let Qe=V.Util.transform(Ke,[1/Ue,0,0,-1/we,0,0]);Qe=V.Util.transform(Qe,[1,0,0,1,0,-we]);const Fe=V.Util.applyTransform([0,0],Qe),$e=V.Util.applyTransform([Ue,we],Qe),Ye=V.Util.normalizeRect([Fe[0],Fe[1],$e[0],$e[1]]),tt=Math.round(Ye[2]-Ye[0])||1,ot=Math.round(Ye[3]-Ye[1])||1,st=this.cachedCanvases.getCanvas("fillCanvas",tt,ot),dt=st.context,ct=Math.min(Fe[0],$e[0]),mt=Math.min(Fe[1],$e[1]);dt.translate(-ct,-mt),dt.transform(...Qe),Le||(Le=this._scaleImage(et.canvas,(0,G.getCurrentTransformInverse)(dt)),Le=Le.img,Ve&&Be&&Ve.set(je,Le)),dt.imageSmoothingEnabled=ye((0,G.getCurrentTransform)(dt),Ae.interpolate),L(dt,Le,0,0,Le.width,Le.height,0,0,Ue,we),dt.globalCompositeOperation="source-in";const ut=V.Util.transform((0,G.getCurrentTransformInverse)(dt),[1,0,0,1,-ct,-mt]);return dt.fillStyle=Be?Ie.getPattern(De,this,ut,q.PathType.FILL):Ie,dt.fillRect(0,0,Ue,we),Ve&&!Be&&(this.cachedCanvases.delete("fillCanvas"),Ve.set(je,st.canvas)),{canvas:st.canvas,offsetX:Math.round(ct),offsetY:Math.round(mt)}}setLineWidth(Ae){Ae!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=Ae,this.ctx.lineWidth=Ae}setLineCap(Ae){this.ctx.lineCap=Ce[Ae]}setLineJoin(Ae){this.ctx.lineJoin=pe[Ae]}setMiterLimit(Ae){this.ctx.miterLimit=Ae}setDash(Ae,De){const Ue=this.ctx;Ue.setLineDash!==void 0&&(Ue.setLineDash(Ae),Ue.lineDashOffset=De)}setRenderingIntent(Ae){}setFlatness(Ae){}setGState(Ae){for(let De=0,Ue=Ae.length;Dez&&(je=z),this.current.fontSizeScale=De/je,this.ctx.font=`${Ke} ${Be} ${je}px ${Ve}`}setTextRenderingMode(Ae){this.current.textRenderingMode=Ae}setTextRise(Ae){this.current.textRise=Ae}moveText(Ae,De){this.current.x=this.current.lineX+=Ae,this.current.y=this.current.lineY+=De}setLeadingMoveText(Ae,De){this.setLeading(-De),this.moveText(Ae,De)}setTextMatrix(Ae,De,Ue,we,Ie,Be){this.current.textMatrix=[Ae,De,Ue,we,Ie,Be],this.current.textMatrixScale=Math.hypot(Ae,De),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(Ae,De,Ue,we){const Ie=this.ctx,Be=this.current,Ke=Be.font,Ve=Be.textRenderingMode,je=Be.fontSize/Be.fontSizeScale,Le=Ve&V.TextRenderingMode.FILL_STROKE_MASK,et=!!(Ve&V.TextRenderingMode.ADD_TO_PATH_FLAG),Qe=Be.patternFill&&!Ke.missingFile;let Fe;(Ke.disableFontFace||et||Qe)&&(Fe=Ke.getPathGenerator(this.commonObjs,Ae)),Ke.disableFontFace||Qe?(Ie.save(),Ie.translate(De,Ue),Ie.beginPath(),Fe(Ie,je),we&&Ie.setTransform(...we),(Le===V.TextRenderingMode.FILL||Le===V.TextRenderingMode.FILL_STROKE)&&Ie.fill(),(Le===V.TextRenderingMode.STROKE||Le===V.TextRenderingMode.FILL_STROKE)&&Ie.stroke(),Ie.restore()):((Le===V.TextRenderingMode.FILL||Le===V.TextRenderingMode.FILL_STROKE)&&Ie.fillText(Ae,De,Ue),(Le===V.TextRenderingMode.STROKE||Le===V.TextRenderingMode.FILL_STROKE)&&Ie.strokeText(Ae,De,Ue)),et&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,G.getCurrentTransform)(Ie),x:De,y:Ue,fontSize:je,addToPath:Fe})}get isFontSubpixelAAEnabled(){const{context:Ae}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);Ae.scale(1.5,1),Ae.fillText("I",0,10);const De=Ae.getImageData(0,0,10,10).data;let Ue=!1;for(let we=3;we0&&De[we]<255){Ue=!0;break}return(0,V.shadow)(this,"isFontSubpixelAAEnabled",Ue)}showText(Ae){const De=this.current,Ue=De.font;if(Ue.isType3Font)return this.showType3Text(Ae);const we=De.fontSize;if(we===0)return;const Ie=this.ctx,Be=De.fontSizeScale,Ke=De.charSpacing,Ve=De.wordSpacing,je=De.fontDirection,Le=De.textHScale*je,et=Ae.length,Qe=Ue.vertical,Fe=Qe?1:-1,$e=Ue.defaultVMetrics,Ye=we*De.fontMatrix[0],tt=De.textRenderingMode===V.TextRenderingMode.FILL&&!Ue.disableFontFace&&!De.patternFill;Ie.save(),Ie.transform(...De.textMatrix),Ie.translate(De.x,De.y+De.textRise),je>0?Ie.scale(Le,-1):Ie.scale(Le,1);let ot;if(De.patternFill){Ie.save();const ut=De.fillColor.getPattern(Ie,this,(0,G.getCurrentTransformInverse)(Ie),q.PathType.FILL);ot=(0,G.getCurrentTransform)(Ie),Ie.restore(),Ie.fillStyle=ut}let st=De.lineWidth;const dt=De.textMatrixScale;if(dt===0||st===0){const ut=De.textRenderingMode&V.TextRenderingMode.FILL_STROKE_MASK;(ut===V.TextRenderingMode.STROKE||ut===V.TextRenderingMode.FILL_STROKE)&&(st=this.getSinglePixelWidth())}else st/=dt;Be!==1&&(Ie.scale(Be,Be),st/=Be),Ie.lineWidth=st;let ct=0,mt;for(mt=0;mt0){const Nt=Ie.measureText(Je).width*1e3/we*Be;if(wtnew Ne(Be,this.commonObjs,this.objs,this.canvasFactory)};De=new q.TilingPattern(Ae,Ue,this.ctx,Ie,we)}else De=this._getPattern(Ae[1],Ae[2]);return De}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(Ae,De,Ue){var we;const Ie=((we=this.selectColor)===null||we===void 0?void 0:we.call(this,Ae,De,Ue))||V.Util.makeHexColor(Ae,De,Ue);this.ctx.strokeStyle=Ie,this.current.strokeColor=Ie}setFillRGBColor(Ae,De,Ue){var we;const Ie=((we=this.selectColor)===null||we===void 0?void 0:we.call(this,Ae,De,Ue))||V.Util.makeHexColor(Ae,De,Ue);this.ctx.fillStyle=Ie,this.current.fillColor=Ie,this.current.patternFill=!1}_getPattern(Ae){let De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Ue;return this.cachedPatterns.has(Ae)?Ue=this.cachedPatterns.get(Ae):(Ue=(0,q.getShadingPattern)(this.objs.get(Ae)),this.cachedPatterns.set(Ae,Ue)),De&&(Ue.matrix=De),Ue}shadingFill(Ae){if(!this.contentVisible)return;const De=this.ctx;this.save();const Ue=this._getPattern(Ae);De.fillStyle=Ue.getPattern(De,this,(0,G.getCurrentTransformInverse)(De),q.PathType.SHADING);const we=(0,G.getCurrentTransformInverse)(De);if(we){const Ie=De.canvas,Be=Ie.width,Ke=Ie.height,Ve=V.Util.applyTransform([0,0],we),je=V.Util.applyTransform([0,Ke],we),Le=V.Util.applyTransform([Be,0],we),et=V.Util.applyTransform([Be,Ke],we),Qe=Math.min(Ve[0],je[0],Le[0],et[0]),Fe=Math.min(Ve[1],je[1],Le[1],et[1]),$e=Math.max(Ve[0],je[0],Le[0],et[0]),Ye=Math.max(Ve[1],je[1],Le[1],et[1]);this.ctx.fillRect(Qe,Fe,$e-Qe,Ye-Fe)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,V.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,V.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(Ae,De){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(Ae)&&Ae.length===6&&this.transform(...Ae),this.baseTransform=(0,G.getCurrentTransform)(this.ctx),De)){const Ue=De[2]-De[0],we=De[3]-De[1];this.ctx.rect(De[0],De[1],Ue,we),this.current.updateRectMinMax((0,G.getCurrentTransform)(this.ctx),De),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(Ae){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const De=this.ctx;Ae.isolated||(0,V.info)("TODO: Support non-isolated groups."),Ae.knockout&&(0,V.warn)("Knockout groups not supported.");const Ue=(0,G.getCurrentTransform)(De);if(Ae.matrix&&De.transform(...Ae.matrix),!Ae.bbox)throw new Error("Bounding box is required.");let we=V.Util.getAxialAlignedBoundingBox(Ae.bbox,(0,G.getCurrentTransform)(De));const Ie=[0,0,De.canvas.width,De.canvas.height];we=V.Util.intersect(we,Ie)||[0,0,0,0];const Be=Math.floor(we[0]),Ke=Math.floor(we[1]);let Ve=Math.max(Math.ceil(we[2])-Be,1),je=Math.max(Math.ceil(we[3])-Ke,1),Le=1,et=1;Ve>e&&(Le=Ve/e,Ve=e),je>e&&(et=je/e,je=e),this.current.startNewPathAndClipBox([0,0,Ve,je]);let Qe="groupAt"+this.groupLevel;Ae.smask&&(Qe+="_smask_"+this.smaskCounter++%2);const Fe=this.cachedCanvases.getCanvas(Qe,Ve,je),$e=Fe.context;$e.scale(1/Le,1/et),$e.translate(-Be,-Ke),$e.transform(...Ue),Ae.smask?this.smaskStack.push({canvas:Fe.canvas,context:$e,offsetX:Be,offsetY:Ke,scaleX:Le,scaleY:et,subtype:Ae.smask.subtype,backdrop:Ae.smask.backdrop,transferMap:Ae.smask.transferMap||null,startTransformInverse:null}):(De.setTransform(1,0,0,1,0,0),De.translate(Be,Ke),De.scale(Le,et),De.save()),se(De,$e),this.ctx=$e,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(De),this.groupLevel++}endGroup(Ae){if(!this.contentVisible)return;this.groupLevel--;const De=this.ctx,Ue=this.groupStack.pop();if(this.ctx=Ue,this.ctx.imageSmoothingEnabled=!1,Ae.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const we=(0,G.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...we);const Ie=V.Util.getAxialAlignedBoundingBox([0,0,De.canvas.width,De.canvas.height],we);this.ctx.drawImage(De.canvas,0,0),this.ctx.restore(),this.compose(Ie)}}beginAnnotation(Ae,De,Ue,we,Ie){if(U(this,Te,Ze).call(this),me(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(De)&&De.length===4){const Be=De[2]-De[0],Ke=De[3]-De[1];if(Ie&&this.annotationCanvasMap){Ue=Ue.slice(),Ue[4]-=De[0],Ue[5]-=De[1],De=De.slice(),De[0]=De[1]=0,De[2]=Be,De[3]=Ke;const[Ve,je]=V.Util.singularValueDecompose2dScale((0,G.getCurrentTransform)(this.ctx)),{viewportScale:Le}=this,et=Math.ceil(Be*this.outputScaleX*Le),Qe=Math.ceil(Ke*this.outputScaleY*Le);this.annotationCanvas=this.canvasFactory.create(et,Qe);const{canvas:Fe,context:$e}=this.annotationCanvas;this.annotationCanvasMap.set(Ae,Fe),this.annotationCanvas.savedCtx=this.ctx,this.ctx=$e,this.ctx.setTransform(Ve,0,0,-je,0,Ke*je),me(this.ctx,this.foregroundColor)}else me(this.ctx,this.foregroundColor),this.ctx.rect(De[0],De[1],Be,Ke),this.ctx.clip(),this.endPath()}this.current=new ce(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...Ue),this.transform(...we)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(Ae){if(!this.contentVisible)return;const De=Ae.count;Ae=this.getObject(Ae.data,Ae),Ae.count=De;const Ue=this.ctx,we=this.processingType3;if(we&&(we.compiled===void 0&&(we.compiled=Q(Ae)),we.compiled)){we.compiled(Ue);return}const Ie=this._createMaskCanvas(Ae),Be=Ie.canvas;Ue.save(),Ue.setTransform(1,0,0,1,0,0),Ue.drawImage(Be,Ie.offsetX,Ie.offsetY),Ue.restore(),this.compose()}paintImageMaskXObjectRepeat(Ae,De){let Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,Ie=arguments.length>4?arguments[4]:void 0,Be=arguments.length>5?arguments[5]:void 0;if(!this.contentVisible)return;Ae=this.getObject(Ae.data,Ae);const Ke=this.ctx;Ke.save();const Ve=(0,G.getCurrentTransform)(Ke);Ke.transform(De,Ue,we,Ie,0,0);const je=this._createMaskCanvas(Ae);Ke.setTransform(1,0,0,1,0,0);for(let Le=0,et=Be.length;LeVe?Ke/Ve:1,we=Be>Ve?Be/Ve:1}}this._cachedScaleForStroking=[Ue,we]}return this._cachedScaleForStroking}rescaleAndStroke(Ae){const{ctx:De}=this,{lineWidth:Ue}=this.current,[we,Ie]=this.getScaleForStroking();if(De.lineWidth=Ue||1,we===1&&Ie===1){De.stroke();return}let Be,Ke,Ve;Ae&&(Be=(0,G.getCurrentTransform)(De),Ke=De.getLineDash().slice(),Ve=De.lineDashOffset),De.scale(we,Ie);const je=Math.max(we,Ie);De.setLineDash(De.getLineDash().map(Le=>Le/je)),De.lineDashOffset/=je,De.stroke(),Ae&&(De.setTransform(...Be),De.setLineDash(Ke),De.lineDashOffset=Ve)}isContentVisible(){for(let Ae=this.markedContentStack.length-1;Ae>=0;Ae--)if(!this.markedContentStack[Ae].visible)return!1;return!0}}m.CanvasGraphics=Ne;function Ze(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}for(const ze in V.OPS)Ne.prototype[ze]!==void 0&&(Ne.prototype[V.OPS[ze]]=Ne.prototype[ze])},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.TilingPattern=m.PathType=void 0,m.getShadingPattern=ae;var G=M(1),V=M(133),q=M(3);const $={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};m.PathType=$;function D(J,X){if(!X||q.isNodeJS)return;const W=X[2]-X[0],L=X[3]-X[1],Q=new Path2D;Q.rect(X[0],X[1],W,L),J.clip(Q)}class B{constructor(){this.constructor===B&&(0,G.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,G.unreachable)("Abstract method `getPattern` called.")}}class R extends B{constructor(X){super(),this._type=X[1],this._bbox=X[2],this._colorStops=X[3],this._p0=X[4],this._p1=X[5],this._r0=X[6],this._r1=X[7],this.matrix=null}_createGradient(X){let W;this._type==="axial"?W=X.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):this._type==="radial"&&(W=X.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const L of this._colorStops)W.addColorStop(L[0],L[1]);return W}getPattern(X,W,L,Q){let ce;if(Q===$.STROKE||Q===$.FILL){const de=W.current.getClippedPathBoundingBox(Q,(0,V.getCurrentTransform)(X))||[0,0,0,0],oe=Math.ceil(de[2]-de[0])||1,se=Math.ceil(de[3]-de[1])||1,me=W.cachedCanvases.getCanvas("pattern",oe,se,!0),Ee=me.context;Ee.clearRect(0,0,Ee.canvas.width,Ee.canvas.height),Ee.beginPath(),Ee.rect(0,0,Ee.canvas.width,Ee.canvas.height),Ee.translate(-de[0],-de[1]),L=G.Util.transform(L,[1,0,0,1,de[0],de[1]]),Ee.transform(...W.baseTransform),this.matrix&&Ee.transform(...this.matrix),D(Ee,this._bbox),Ee.fillStyle=this._createGradient(Ee),Ee.fill(),ce=X.createPattern(me.canvas,"no-repeat");const ke=new DOMMatrix(L);try{ce.setTransform(ke)}catch(xe){(0,G.warn)(`RadialAxialShadingPattern.getPattern: "${xe==null?void 0:xe.message}".`)}}else D(X,this._bbox),ce=this._createGradient(X);return ce}}function U(J,X,W,L,Q,ce,de,oe){const se=X.coords,me=X.colors,Ee=J.data,ke=J.width*4;let xe;se[W+1]>se[L+1]&&(xe=W,W=L,L=xe,xe=ce,ce=de,de=xe),se[L+1]>se[Q+1]&&(xe=L,L=Q,Q=xe,xe=de,de=oe,oe=xe),se[W+1]>se[L+1]&&(xe=W,W=L,L=xe,xe=ce,ce=de,de=xe);const fe=(se[W]+X.offsetX)*X.scaleX,ve=(se[W+1]+X.offsetY)*X.scaleY,ye=(se[L]+X.offsetX)*X.scaleX,Ce=(se[L+1]+X.offsetY)*X.scaleY,pe=(se[Q]+X.offsetX)*X.scaleX,_e=(se[Q+1]+X.offsetY)*X.scaleY;if(ve>=_e)return;const Ge=me[ce],Te=me[ce+1],Ne=me[ce+2],Ze=me[de],ze=me[de+1],Ae=me[de+2],De=me[oe],Ue=me[oe+1],we=me[oe+2],Ie=Math.round(ve),Be=Math.round(_e);let Ke,Ve,je,Le,et,Qe,Fe,$e;for(let Ye=Ie;Ye<=Be;Ye++){if(Ye_e?ct=1:Ce===_e?ct=0:ct=(Ce-Ye)/(Ce-_e),Ke=ye-(ye-pe)*ct,Ve=Ze-(Ze-De)*ct,je=ze-(ze-Ue)*ct,Le=Ae-(Ae-we)*ct}let tt;Ye_e?tt=1:tt=(ve-Ye)/(ve-_e),et=fe-(fe-pe)*tt,Qe=Ge-(Ge-De)*tt,Fe=Te-(Te-Ue)*tt,$e=Ne-(Ne-we)*tt;const ot=Math.round(Math.min(Ke,et)),st=Math.round(Math.max(Ke,et));let dt=ke*Ye+ot*4;for(let ct=ot;ct<=st;ct++)tt=(Ke-ct)/(Ke-et),tt<0?tt=0:tt>1&&(tt=1),Ee[dt++]=Ve-(Ve-Qe)*tt|0,Ee[dt++]=je-(je-Fe)*tt|0,Ee[dt++]=Le-(Le-$e)*tt|0,Ee[dt++]=255}}function K(J,X,W){const L=X.coords,Q=X.colors;let ce,de;switch(X.type){case"lattice":const oe=X.verticesPerRow,se=Math.floor(L.length/oe)-1,me=oe-1;for(ce=0;ce=Q?ce=Q:L=ce/X,{scale:L,size:ce}}clipBbox(X,W,L,Q,ce){const de=Q-W,oe=ce-L;X.ctx.rect(W,L,de,oe),X.current.updateRectMinMax((0,V.getCurrentTransform)(X.ctx),[W,L,Q,ce]),X.clip(),X.endPath()}setFillAndStrokeStyleToContext(X,W,L){const Q=X.ctx,ce=X.current;switch(W){case ie.COLORED:const de=this.ctx;Q.fillStyle=de.fillStyle,Q.strokeStyle=de.strokeStyle,ce.fillColor=de.fillStyle,ce.strokeColor=de.strokeStyle;break;case ie.UNCOLORED:const oe=G.Util.makeHexColor(L[0],L[1],L[2]);Q.fillStyle=oe,Q.strokeStyle=oe,ce.fillColor=oe,ce.strokeColor=oe;break;default:throw new G.FormatError(`Unsupported paint type: ${W}`)}}getPattern(X,W,L,Q){let ce=L;Q!==$.SHADING&&(ce=G.Util.transform(ce,W.baseTransform),this.matrix&&(ce=G.Util.transform(ce,this.matrix)));const de=this.createPatternCanvas(W);let oe=new DOMMatrix(ce);oe=oe.translate(de.offsetX,de.offsetY),oe=oe.scale(1/de.scaleX,1/de.scaleY);const se=X.createPattern(de.canvas,"repeat");try{se.setTransform(oe)}catch(me){(0,G.warn)(`TilingPattern.getPattern: "${me==null?void 0:me.message}".`)}return se}}m.TilingPattern=he},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.applyMaskImageData=V;var G=M(1);function V(q){let{src:$,srcPos:D=0,dest:B,destPos:R=0,width:U,height:K,inverseDecode:z=!1}=q;const e=G.FeatureTest.isLittleEndian?4278190080:255,[ae,ie]=z?[0,e]:[e,0],he=U>>3,J=U&7,X=$.length;B=new Uint32Array(B.buffer);for(let W=0;W{Object.defineProperty(m,"__esModule",{value:!0}),m.GlobalWorkerOptions=void 0;const M=Object.create(null);m.GlobalWorkerOptions=M,M.workerPort=M.workerPort===void 0?null:M.workerPort,M.workerSrc=M.workerSrc===void 0?"":M.workerSrc},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.MessageHandler=void 0;var G=M(1);const V={UNKNOWN:0,DATA:1,ERROR:2},q={UNKNOWN:0,CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function $(B){switch(B instanceof Error||typeof B=="object"&&B!==null||(0,G.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),B.name){case"AbortException":return new G.AbortException(B.message);case"MissingPDFException":return new G.MissingPDFException(B.message);case"PasswordException":return new G.PasswordException(B.message,B.code);case"UnexpectedResponseException":return new G.UnexpectedResponseException(B.message,B.status);case"UnknownErrorException":return new G.UnknownErrorException(B.message,B.details);default:return new G.UnknownErrorException(B.message,B.toString())}}class D{constructor(R,U,K){this.sourceName=R,this.targetName=U,this.comObj=K,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=z=>{const e=z.data;if(e.targetName!==this.sourceName)return;if(e.stream){this._processStreamMessage(e);return}if(e.callback){const ie=e.callbackId,he=this.callbackCapabilities[ie];if(!he)throw new Error(`Cannot resolve callback ${ie}`);if(delete this.callbackCapabilities[ie],e.callback===V.DATA)he.resolve(e.data);else if(e.callback===V.ERROR)he.reject($(e.reason));else throw new Error("Unexpected callback case");return}const ae=this.actionHandler[e.action];if(!ae)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const ie=this.sourceName,he=e.sourceName;new Promise(function(J){J(ae(e.data))}).then(function(J){K.postMessage({sourceName:ie,targetName:he,callback:V.DATA,callbackId:e.callbackId,data:J})},function(J){K.postMessage({sourceName:ie,targetName:he,callback:V.ERROR,callbackId:e.callbackId,reason:$(J)})});return}if(e.streamId){this._createStreamSink(e);return}ae(e.data)},K.addEventListener("message",this._onComObjOnMessage)}on(R,U){const K=this.actionHandler;if(K[R])throw new Error(`There is already an actionName called "${R}"`);K[R]=U}send(R,U,K){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:R,data:U},K)}sendWithPromise(R,U,K){const z=this.callbackId++,e=(0,G.createPromiseCapability)();this.callbackCapabilities[z]=e;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:R,callbackId:z,data:U},K)}catch(ae){e.reject(ae)}return e.promise}sendWithStream(R,U,K,z){const e=this.streamId++,ae=this.sourceName,ie=this.targetName,he=this.comObj;return new ReadableStream({start:J=>{const X=(0,G.createPromiseCapability)();return this.streamControllers[e]={controller:J,startCall:X,pullCall:null,cancelCall:null,isClosed:!1},he.postMessage({sourceName:ae,targetName:ie,action:R,streamId:e,data:U,desiredSize:J.desiredSize},z),X.promise},pull:J=>{const X=(0,G.createPromiseCapability)();return this.streamControllers[e].pullCall=X,he.postMessage({sourceName:ae,targetName:ie,stream:q.PULL,streamId:e,desiredSize:J.desiredSize}),X.promise},cancel:J=>{(0,G.assert)(J instanceof Error,"cancel must have a valid reason");const X=(0,G.createPromiseCapability)();return this.streamControllers[e].cancelCall=X,this.streamControllers[e].isClosed=!0,he.postMessage({sourceName:ae,targetName:ie,stream:q.CANCEL,streamId:e,reason:$(J)}),X.promise}},K)}_createStreamSink(R){const U=R.streamId,K=this.sourceName,z=R.sourceName,e=this.comObj,ae=this,ie=this.actionHandler[R.action],he={enqueue(J){let X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,W=arguments.length>2?arguments[2]:void 0;if(this.isCancelled)return;const L=this.desiredSize;this.desiredSize-=X,L>0&&this.desiredSize<=0&&(this.sinkCapability=(0,G.createPromiseCapability)(),this.ready=this.sinkCapability.promise),e.postMessage({sourceName:K,targetName:z,stream:q.ENQUEUE,streamId:U,chunk:J},W)},close(){this.isCancelled||(this.isCancelled=!0,e.postMessage({sourceName:K,targetName:z,stream:q.CLOSE,streamId:U}),delete ae.streamSinks[U])},error(J){(0,G.assert)(J instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,e.postMessage({sourceName:K,targetName:z,stream:q.ERROR,streamId:U,reason:$(J)}))},sinkCapability:(0,G.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:R.desiredSize,ready:null};he.sinkCapability.resolve(),he.ready=he.sinkCapability.promise,this.streamSinks[U]=he,new Promise(function(J){J(ie(R.data,he))}).then(function(){e.postMessage({sourceName:K,targetName:z,stream:q.START_COMPLETE,streamId:U,success:!0})},function(J){e.postMessage({sourceName:K,targetName:z,stream:q.START_COMPLETE,streamId:U,reason:$(J)})})}_processStreamMessage(R){const U=R.streamId,K=this.sourceName,z=R.sourceName,e=this.comObj,ae=this.streamControllers[U],ie=this.streamSinks[U];switch(R.stream){case q.START_COMPLETE:R.success?ae.startCall.resolve():ae.startCall.reject($(R.reason));break;case q.PULL_COMPLETE:R.success?ae.pullCall.resolve():ae.pullCall.reject($(R.reason));break;case q.PULL:if(!ie){e.postMessage({sourceName:K,targetName:z,stream:q.PULL_COMPLETE,streamId:U,success:!0});break}ie.desiredSize<=0&&R.desiredSize>0&&ie.sinkCapability.resolve(),ie.desiredSize=R.desiredSize,new Promise(function(he){he(ie.onPull&&ie.onPull())}).then(function(){e.postMessage({sourceName:K,targetName:z,stream:q.PULL_COMPLETE,streamId:U,success:!0})},function(he){e.postMessage({sourceName:K,targetName:z,stream:q.PULL_COMPLETE,streamId:U,reason:$(he)})});break;case q.ENQUEUE:if((0,G.assert)(ae,"enqueue should have stream controller"),ae.isClosed)break;ae.controller.enqueue(R.chunk);break;case q.CLOSE:if((0,G.assert)(ae,"close should have stream controller"),ae.isClosed)break;ae.isClosed=!0,ae.controller.close(),this._deleteStreamController(ae,U);break;case q.ERROR:(0,G.assert)(ae,"error should have stream controller"),ae.controller.error($(R.reason)),this._deleteStreamController(ae,U);break;case q.CANCEL_COMPLETE:R.success?ae.cancelCall.resolve():ae.cancelCall.reject($(R.reason)),this._deleteStreamController(ae,U);break;case q.CANCEL:if(!ie)break;new Promise(function(he){he(ie.onCancel&&ie.onCancel($(R.reason)))}).then(function(){e.postMessage({sourceName:K,targetName:z,stream:q.CANCEL_COMPLETE,streamId:U,success:!0})},function(he){e.postMessage({sourceName:K,targetName:z,stream:q.CANCEL_COMPLETE,streamId:U,reason:$(he)})}),ie.sinkCapability.reject($(R.reason)),ie.isCancelled=!0,delete this.streamSinks[U];break;default:throw new Error("Unexpected stream case")}}async _deleteStreamController(R,U){await Promise.allSettled([R.startCall&&R.startCall.promise,R.pullCall&&R.pullCall.promise,R.cancelCall&&R.cancelCall.promise]),delete this.streamControllers[U]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}m.MessageHandler=D},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.Metadata=void 0;var G=M(1);function V(ae,ie,he){q(ae,ie),ie.set(ae,he)}function q(ae,ie){if(ie.has(ae))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $(ae,ie){var he=R(ae,ie,"get");return D(ae,he)}function D(ae,ie){return ie.get?ie.get.call(ae):ie.value}function B(ae,ie,he){var J=R(ae,ie,"set");return U(ae,J,he),he}function R(ae,ie,he){if(!ie.has(ae))throw new TypeError("attempted to "+he+" private field on non-instance");return ie.get(ae)}function U(ae,ie,he){if(ie.set)ie.set.call(ae,he);else{if(!ie.writable)throw new TypeError("attempted to set read only private field");ie.value=he}}var K=new WeakMap,z=new WeakMap;class e{constructor(ie){let{parsedData:he,rawData:J}=ie;V(this,K,{writable:!0,value:void 0}),V(this,z,{writable:!0,value:void 0}),B(this,K,he),B(this,z,J)}getRaw(){return $(this,z)}get(ie){var he;return(he=$(this,K).get(ie))!==null&&he!==void 0?he:null}getAll(){return(0,G.objectFromMap)($(this,K))}has(ie){return $(this,K).has(ie)}}m.Metadata=e},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.OptionalContentConfig=void 0;var G=M(1);function V(de,oe){D(de,oe),oe.add(de)}function q(de,oe,se){if(!oe.has(de))throw new TypeError("attempted to get private field on non-instance");return se}function $(de,oe,se){D(de,oe),oe.set(de,se)}function D(de,oe){if(oe.has(de))throw new TypeError("Cannot initialize the same private elements twice on an object")}function B(de,oe,se){var me=K(de,oe,"set");return R(de,me,se),se}function R(de,oe,se){if(oe.set)oe.set.call(de,se);else{if(!oe.writable)throw new TypeError("attempted to set read only private field");oe.value=se}}function U(de,oe){var se=K(de,oe,"get");return z(de,se)}function K(de,oe,se){if(!oe.has(de))throw new TypeError("attempted to "+se+" private field on non-instance");return oe.get(de)}function z(de,oe){return oe.get?oe.get.call(de):oe.value}const e=Symbol("INTERNAL");var ae=new WeakMap;class ie{constructor(oe,se){$(this,ae,{writable:!0,value:!0}),this.name=oe,this.intent=se}get visible(){return U(this,ae)}_setVisible(oe,se){oe!==e&&(0,G.unreachable)("Internal method `_setVisible` called."),B(this,ae,se)}}var he=new WeakMap,J=new WeakMap,X=new WeakMap,W=new WeakMap,L=new WeakSet;class Q{constructor(oe){if(V(this,L),$(this,he,{writable:!0,value:!0}),$(this,J,{writable:!0,value:new Map}),$(this,X,{writable:!0,value:null}),$(this,W,{writable:!0,value:null}),this.name=null,this.creator=null,oe!==null){this.name=oe.name,this.creator=oe.creator,B(this,W,oe.order);for(const se of oe.groups)U(this,J).set(se.id,new ie(se.name,se.intent));if(oe.baseState==="OFF")for(const se of U(this,J).values())se._setVisible(e,!1);for(const se of oe.on)U(this,J).get(se)._setVisible(e,!0);for(const se of oe.off)U(this,J).get(se)._setVisible(e,!1);B(this,X,new Map);for(const[se,me]of U(this,J))U(this,X).set(se,me.visible)}}isVisible(oe){if(U(this,J).size===0)return!0;if(!oe)return(0,G.warn)("Optional content group not defined."),!0;if(oe.type==="OCG")return U(this,J).has(oe.id)?U(this,J).get(oe.id).visible:((0,G.warn)(`Optional content group not found: ${oe.id}`),!0);if(oe.type==="OCMD"){if(oe.expression)return q(this,L,ce).call(this,oe.expression);if(!oe.policy||oe.policy==="AnyOn"){for(const se of oe.ids){if(!U(this,J).has(se))return(0,G.warn)(`Optional content group not found: ${se}`),!0;if(U(this,J).get(se).visible)return!0}return!1}else if(oe.policy==="AllOn"){for(const se of oe.ids){if(!U(this,J).has(se))return(0,G.warn)(`Optional content group not found: ${se}`),!0;if(!U(this,J).get(se).visible)return!1}return!0}else if(oe.policy==="AnyOff"){for(const se of oe.ids){if(!U(this,J).has(se))return(0,G.warn)(`Optional content group not found: ${se}`),!0;if(!U(this,J).get(se).visible)return!0}return!1}else if(oe.policy==="AllOff"){for(const se of oe.ids){if(!U(this,J).has(se))return(0,G.warn)(`Optional content group not found: ${se}`),!0;if(U(this,J).get(se).visible)return!1}return!0}return(0,G.warn)(`Unknown optional content policy ${oe.policy}.`),!0}return(0,G.warn)(`Unknown group type ${oe.type}.`),!0}setVisibility(oe){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!U(this,J).has(oe)){(0,G.warn)(`Optional content group not found: ${oe}`);return}U(this,J).get(oe)._setVisible(e,!!se),B(this,he,null)}get hasInitialVisibility(){if(U(this,he)!==null)return U(this,he);for(const[oe,se]of U(this,J)){const me=U(this,X).get(oe);if(se.visible!==me)return B(this,he,!1)}return B(this,he,!0)}getOrder(){return U(this,J).size?U(this,W)?U(this,W).slice():[...U(this,J).keys()]:null}getGroups(){return U(this,J).size>0?(0,G.objectFromMap)(U(this,J)):null}getGroup(oe){return U(this,J).get(oe)||null}}m.OptionalContentConfig=Q;function ce(de){const oe=de.length;if(oe<2)return!0;const se=de[0];for(let me=1;me{Object.defineProperty(m,"__esModule",{value:!0}),m.PDFDataTransportStream=void 0;var G=M(1),V=M(133);class q{constructor(R,U){(0,G.assert)(U,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=R.progressiveDone||!1,this._contentDispositionFilename=R.contentDispositionFilename||null;const K=R.initialData;if((K==null?void 0:K.length)>0){const z=new Uint8Array(K).buffer;this._queuedChunks.push(z)}this._pdfDataRangeTransport=U,this._isStreamingSupported=!R.disableStream,this._isRangeSupported=!R.disableRange,this._contentLength=R.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((z,e)=>{this._onReceiveData({begin:z,chunk:e})}),this._pdfDataRangeTransport.addProgressListener((z,e)=>{this._onProgress({loaded:z,total:e})}),this._pdfDataRangeTransport.addProgressiveReadListener(z=>{this._onReceiveData({chunk:z})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData(R){const U=new Uint8Array(R.chunk).buffer;if(R.begin===void 0)this._fullRequestReader?this._fullRequestReader._enqueue(U):this._queuedChunks.push(U);else{const K=this._rangeReaders.some(function(z){return z._begin!==R.begin?!1:(z._enqueue(U),!0)});(0,G.assert)(K,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var R,U;return(R=(U=this._fullRequestReader)===null||U===void 0?void 0:U._loaded)!==null&&R!==void 0?R:0}_onProgress(R){if(R.total===void 0){const U=this._rangeReaders[0];U!=null&&U.onProgress&&U.onProgress({loaded:R.loaded})}else{const U=this._fullRequestReader;U!=null&&U.onProgress&&U.onProgress({loaded:R.loaded,total:R.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(R){const U=this._rangeReaders.indexOf(R);U>=0&&this._rangeReaders.splice(U,1)}getFullReader(){(0,G.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const R=this._queuedChunks;return this._queuedChunks=null,new $(this,R,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(R,U){if(U<=this._progressiveDataLength)return null;const K=new D(this,R,U);return this._pdfDataRangeTransport.requestDataRange(R,U),this._rangeReaders.push(K),K}cancelAllRequests(R){this._fullRequestReader&&this._fullRequestReader.cancel(R);for(const U of this._rangeReaders.slice(0))U.cancel(R);this._pdfDataRangeTransport.abort()}}m.PDFDataTransportStream=q;class ${constructor(R,U){let K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,z=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;this._stream=R,this._done=K||!1,this._filename=(0,V.isPdfFile)(z)?z:null,this._queuedChunks=U||[],this._loaded=0;for(const e of this._queuedChunks)this._loaded+=e.byteLength;this._requests=[],this._headersReady=Promise.resolve(),R._fullRequestReader=this,this.onProgress=null}_enqueue(R){this._done||(this._requests.length>0?this._requests.shift().resolve({value:R,done:!1}):this._queuedChunks.push(R),this._loaded+=R.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const R=(0,G.createPromiseCapability)();return this._requests.push(R),R.promise}cancel(R){this._done=!0;for(const U of this._requests)U.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class D{constructor(R,U,K){this._stream=R,this._begin=U,this._end=K,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(R){if(!this._done){if(this._requests.length===0)this._queuedChunk=R;else{this._requests.shift().resolve({value:R,done:!1});for(const K of this._requests)K.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const U=this._queuedChunk;return this._queuedChunk=null,{value:U,done:!1}}if(this._done)return{value:void 0,done:!0};const R=(0,G.createPromiseCapability)();return this._requests.push(R),R.promise}cancel(R){this._done=!0;for(const U of this._requests)U.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(k,m)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.XfaText=void 0;class M{static textContent(V){const q=[],$={items:q,styles:Object.create(null)};function D(B){var R;if(!B)return;let U=null;const K=B.name;if(K==="#text")U=B.value;else if(M.shouldBuildText(K))B!=null&&(R=B.attributes)!==null&&R!==void 0&&R.textContent?U=B.attributes.textContent:B.value&&(U=B.value);else return;if(U!==null&&q.push({str:U}),!!B.children)for(const z of B.children)D(z)}return D(V),$}static shouldBuildText(V){return!(V==="textarea"||V==="input"||V==="option"||V==="select")}}m.XfaText=M},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.NodeStandardFontDataFactory=m.NodeCanvasFactory=m.NodeCMapReaderFactory=void 0;var G=M(134);const V=function(B){return new Promise((R,U)=>{require$$7.readFile(B,(z,e)=>{if(z||!e){U(new Error(z));return}R(new Uint8Array(e))})})};class q extends G.BaseCanvasFactory{_createCanvas(R,U){return require$$7.createCanvas(R,U)}}m.NodeCanvasFactory=q;class $ extends G.BaseCMapReaderFactory{_fetchData(R,U){return V(R).then(K=>({cMapData:K,compressionType:U}))}}m.NodeCMapReaderFactory=$;class D extends G.BaseStandardFontDataFactory{_fetchData(R){return V(R)}}m.NodeStandardFontDataFactory=D},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.AnnotationEditorLayer=void 0;var G=M(132),V=M(1),q=M(148),$=M(149);function D(pe,_e){U(pe,_e),_e.add(pe)}function B(pe,_e,Ge){return _e in pe?Object.defineProperty(pe,_e,{value:Ge,enumerable:!0,configurable:!0,writable:!0}):pe[_e]=Ge,pe}function R(pe,_e,Ge){U(pe,_e),_e.set(pe,Ge)}function U(pe,_e){if(_e.has(pe))throw new TypeError("Cannot initialize the same private elements twice on an object")}function K(pe,_e,Ge){if(!_e.has(pe))throw new TypeError("attempted to get private field on non-instance");return Ge}function z(pe,_e){var Ge=ie(pe,_e,"get");return e(pe,Ge)}function e(pe,_e){return _e.get?_e.get.call(pe):_e.value}function ae(pe,_e,Ge){var Te=ie(pe,_e,"set");return he(pe,Te,Ge),Ge}function ie(pe,_e,Ge){if(!_e.has(pe))throw new TypeError("attempted to "+Ge+" private field on non-instance");return _e.get(pe)}function he(pe,_e,Ge){if(_e.set)_e.set.call(pe,Ge);else{if(!_e.writable)throw new TypeError("attempted to set read only private field");_e.value=Ge}}var J=new WeakMap,X=new WeakMap,W=new WeakMap,L=new WeakMap,Q=new WeakMap,ce=new WeakMap,de=new WeakMap,oe=new WeakMap,se=new WeakSet,me=new WeakSet,Ee=new WeakSet,ke=new WeakSet;class xe{constructor(_e){D(this,ke),D(this,Ee),D(this,me),D(this,se),R(this,J,{writable:!0,value:void 0}),R(this,X,{writable:!0,value:!1}),R(this,W,{writable:!0,value:this.pointerup.bind(this)}),R(this,L,{writable:!0,value:this.pointerdown.bind(this)}),R(this,Q,{writable:!0,value:new Map}),R(this,ce,{writable:!0,value:!1}),R(this,de,{writable:!0,value:!1}),R(this,oe,{writable:!0,value:void 0}),xe._initialized||(xe._initialized=!0,q.FreeTextEditor.initialize(_e.l10n),$.InkEditor.initialize(_e.l10n),_e.uiManager.registerEditorTypes([q.FreeTextEditor,$.InkEditor])),ae(this,oe,_e.uiManager),this.annotationStorage=_e.annotationStorage,this.pageIndex=_e.pageIndex,this.div=_e.div,ae(this,J,_e.accessibilityManager),z(this,oe).addLayer(this)}updateToolbar(_e){z(this,oe).updateToolbar(_e)}updateMode(){let _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:z(this,oe).getMode();K(this,ke,Ce).call(this),_e===V.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),z(this,oe).unselectAll()}addInkEditorIfNeeded(_e){if(!_e&&z(this,oe).getMode()!==V.AnnotationEditorType.INK)return;if(!_e){for(const Te of z(this,Q).values())if(Te.isEmpty()){Te.setInBackground();return}}K(this,Ee,ye).call(this,{offsetX:0,offsetY:0}).setInBackground()}setEditingState(_e){z(this,oe).setEditingState(_e)}addCommands(_e){z(this,oe).addCommands(_e)}enable(){this.div.style.pointerEvents="auto";for(const _e of z(this,Q).values())_e.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const _e of z(this,Q).values())_e.disableEditing()}setActiveEditor(_e){z(this,oe).getActive()!==_e&&z(this,oe).setActiveEditor(_e)}enableClick(){this.div.addEventListener("pointerdown",z(this,L)),this.div.addEventListener("pointerup",z(this,W))}disableClick(){this.div.removeEventListener("pointerdown",z(this,L)),this.div.removeEventListener("pointerup",z(this,W))}attach(_e){z(this,Q).set(_e.id,_e)}detach(_e){var Ge;z(this,Q).delete(_e.id),(Ge=z(this,J))===null||Ge===void 0||Ge.removePointerInTextLayer(_e.contentDiv)}remove(_e){z(this,oe).removeEditor(_e),this.detach(_e),this.annotationStorage.remove(_e.id),_e.div.style.display="none",setTimeout(()=>{_e.div.style.display="",_e.div.remove(),_e.isAttachedToDOM=!1,document.activeElement===document.body&&z(this,oe).focusMainContainer()},0),z(this,de)||this.addInkEditorIfNeeded(!1)}add(_e){if(K(this,se,fe).call(this,_e),z(this,oe).addEditor(_e),this.attach(_e),!_e.isAttachedToDOM){const Ge=_e.render();this.div.append(Ge),_e.isAttachedToDOM=!0}this.moveEditorInDOM(_e),_e.onceAdded(),this.addToAnnotationStorage(_e)}moveEditorInDOM(_e){var Ge;(Ge=z(this,J))===null||Ge===void 0||Ge.moveElementInDOM(this.div,_e.div,_e.contentDiv,!0)}addToAnnotationStorage(_e){!_e.isEmpty()&&!this.annotationStorage.has(_e.id)&&this.annotationStorage.setValue(_e.id,_e)}addOrRebuild(_e){_e.needsToBeRebuilt()?_e.rebuild():this.add(_e)}addANewEditor(_e){const Ge=()=>{this.addOrRebuild(_e)},Te=()=>{_e.remove()};this.addCommands({cmd:Ge,undo:Te,mustExec:!0})}addUndoableEditor(_e){const Ge=()=>{this.addOrRebuild(_e)},Te=()=>{_e.remove()};this.addCommands({cmd:Ge,undo:Te,mustExec:!1})}getNextId(){return z(this,oe).getId()}deserialize(_e){switch(_e.annotationType){case V.AnnotationEditorType.FREETEXT:return q.FreeTextEditor.deserialize(_e,this);case V.AnnotationEditorType.INK:return $.InkEditor.deserialize(_e,this)}return null}setSelected(_e){z(this,oe).setSelected(_e)}toggleSelected(_e){z(this,oe).toggleSelected(_e)}isSelected(_e){return z(this,oe).isSelected(_e)}unselect(_e){z(this,oe).unselect(_e)}pointerup(_e){const Ge=G.KeyboardManager.platform.isMac;if(!(_e.button!==0||_e.ctrlKey&&Ge)&&_e.target===this.div&&z(this,ce)){if(ae(this,ce,!1),!z(this,X)){ae(this,X,!0);return}K(this,Ee,ye).call(this,_e)}}pointerdown(_e){const Ge=G.KeyboardManager.platform.isMac;if(_e.button!==0||_e.ctrlKey&&Ge||_e.target!==this.div)return;ae(this,ce,!0);const Te=z(this,oe).getActive();ae(this,X,!Te||Te.isEmpty())}drop(_e){const Ge=_e.dataTransfer.getData("text/plain"),Te=z(this,oe).getEditor(Ge);if(!Te)return;_e.preventDefault(),_e.dataTransfer.dropEffect="move",K(this,se,fe).call(this,Te);const Ne=this.div.getBoundingClientRect(),Ze=_e.clientX-Ne.x,ze=_e.clientY-Ne.y;Te.translate(Ze-Te.startX,ze-Te.startY),this.moveEditorInDOM(Te),Te.div.focus()}dragover(_e){_e.preventDefault()}destroy(){var _e;((_e=z(this,oe).getActive())===null||_e===void 0?void 0:_e.parent)===this&&z(this,oe).setActiveEditor(null);for(const Te of z(this,Q).values()){var Ge;(Ge=z(this,J))===null||Ge===void 0||Ge.removePointerInTextLayer(Te.contentDiv),Te.isAttachedToDOM=!1,Te.div.remove(),Te.parent=null}this.div=null,z(this,Q).clear(),z(this,oe).removeLayer(this)}render(_e){this.viewport=_e.viewport,(0,G.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const Ge of z(this,oe).getEditors(this.pageIndex))this.add(Ge);this.updateMode()}update(_e){this.viewport=_e.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[_e,Ge,Te,Ne]=this.viewport.viewBox,Ze=Te-_e,ze=Ne-Ge;return[Ze,ze]}get viewportBaseDimensions(){const{width:_e,height:Ge,rotation:Te}=this.viewport;return Te%180===0?[_e,Ge]:[Ge,_e]}setDimensions(){const{width:_e,height:Ge,rotation:Te}=this.viewport,Ne=Te%180!==0,Ze=Math.floor(_e)+"px",ze=Math.floor(Ge)+"px";this.div.style.width=Ne?ze:Ze,this.div.style.height=Ne?Ze:ze,this.div.setAttribute("data-main-rotation",Te)}}m.AnnotationEditorLayer=xe;function fe(pe){var _e;pe.parent!==this&&(this.attach(pe),pe.pageIndex=this.pageIndex,(_e=pe.parent)===null||_e===void 0||_e.detach(pe),pe.parent=this,pe.div&&pe.isAttachedToDOM&&(pe.div.remove(),this.div.append(pe.div)))}function ve(pe){switch(z(this,oe).getMode()){case V.AnnotationEditorType.FREETEXT:return new q.FreeTextEditor(pe);case V.AnnotationEditorType.INK:return new $.InkEditor(pe)}return null}function ye(pe){const _e=this.getNextId(),Ge=K(this,me,ve).call(this,{parent:this,id:_e,x:pe.offsetX,y:pe.offsetY});return Ge&&this.add(Ge),Ge}function Ce(){ae(this,de,!0);for(const pe of z(this,Q).values())pe.isEmpty()&&pe.remove();ae(this,de,!1)}B(xe,"_initialized",!1)},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.FreeTextEditor=void 0;var G=M(1),V=M(132),q=M(131);function $(ye,Ce){R(ye,Ce),Ce.add(ye)}function D(ye,Ce,pe){return Ce in ye?Object.defineProperty(ye,Ce,{value:pe,enumerable:!0,configurable:!0,writable:!0}):ye[Ce]=pe,ye}function B(ye,Ce,pe){R(ye,Ce),Ce.set(ye,pe)}function R(ye,Ce){if(Ce.has(ye))throw new TypeError("Cannot initialize the same private elements twice on an object")}function U(ye,Ce){var pe=ae(ye,Ce,"get");return K(ye,pe)}function K(ye,Ce){return Ce.get?Ce.get.call(ye):Ce.value}function z(ye,Ce,pe){if(!Ce.has(ye))throw new TypeError("attempted to get private field on non-instance");return pe}function e(ye,Ce,pe){var _e=ae(ye,Ce,"set");return ie(ye,_e,pe),pe}function ae(ye,Ce,pe){if(!Ce.has(ye))throw new TypeError("attempted to "+pe+" private field on non-instance");return Ce.get(ye)}function ie(ye,Ce,pe){if(Ce.set)Ce.set.call(ye,pe);else{if(!Ce.writable)throw new TypeError("attempted to set read only private field");Ce.value=pe}}var he=new WeakMap,J=new WeakMap,X=new WeakMap,W=new WeakMap,L=new WeakMap,Q=new WeakMap,ce=new WeakMap,de=new WeakSet,oe=new WeakSet,se=new WeakSet,me=new WeakSet;class Ee extends q.AnnotationEditor{constructor(Ce){super({...Ce,name:"freeTextEditor"}),$(this,me),$(this,se),$(this,oe),$(this,de),B(this,he,{writable:!0,value:this.editorDivBlur.bind(this)}),B(this,J,{writable:!0,value:this.editorDivFocus.bind(this)}),B(this,X,{writable:!0,value:this.editorDivKeydown.bind(this)}),B(this,W,{writable:!0,value:void 0}),B(this,L,{writable:!0,value:""}),B(this,Q,{writable:!0,value:!1}),B(this,ce,{writable:!0,value:void 0}),e(this,W,Ce.color||Ee._defaultColor||q.AnnotationEditor._defaultLineColor),e(this,ce,Ce.fontSize||Ee._defaultFontSize)}static initialize(Ce){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map(_e=>[_e,Ce.get(_e)]));const pe=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(pe.getPropertyValue("--freetext-padding"))}static updateDefaultParams(Ce,pe){switch(Ce){case G.AnnotationEditorParamsType.FREETEXT_SIZE:Ee._defaultFontSize=pe;break;case G.AnnotationEditorParamsType.FREETEXT_COLOR:Ee._defaultColor=pe;break}}updateParams(Ce,pe){switch(Ce){case G.AnnotationEditorParamsType.FREETEXT_SIZE:z(this,de,ke).call(this,pe);break;case G.AnnotationEditorParamsType.FREETEXT_COLOR:z(this,oe,xe).call(this,pe);break}}static get defaultPropertiesToUpdate(){return[[G.AnnotationEditorParamsType.FREETEXT_SIZE,Ee._defaultFontSize],[G.AnnotationEditorParamsType.FREETEXT_COLOR,Ee._defaultColor||q.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[G.AnnotationEditorParamsType.FREETEXT_SIZE,U(this,ce)],[G.AnnotationEditorParamsType.FREETEXT_COLOR,U(this,W)]]}getInitialTranslation(){return[-Ee._internalPadding*this.parent.scaleFactor,-(Ee._internalPadding+U(this,ce))*this.parent.scaleFactor]}rebuild(){super.rebuild(),this.div!==null&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(G.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",U(this,X)),this.editorDiv.addEventListener("focus",U(this,J)),this.editorDiv.addEventListener("blur",U(this,he)))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",U(this,X)),this.editorDiv.removeEventListener("focus",U(this,J)),this.editorDiv.removeEventListener("blur",U(this,he)),this.div.focus(),this.isEditing=!1)}focusin(Ce){super.focusin(Ce),Ce.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||this.editorDiv.innerText.trim()===""}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}commit(){super.commit(),U(this,Q)||(e(this,Q,!0),this.parent.addUndoableEditor(this)),this.disableEditMode(),e(this,L,z(this,se,fe).call(this).trimEnd()),z(this,me,ve).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}dblclick(Ce){this.enableEditMode(),this.editorDiv.focus()}keydown(Ce){Ce.target===this.div&&Ce.key==="Enter"&&(this.enableEditMode(),this.editorDiv.focus())}editorDivKeydown(Ce){Ee._keyboardManager.exec(this,Ce)}editorDivFocus(Ce){this.isEditing=!0}editorDivBlur(Ce){this.isEditing=!1}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let Ce,pe;this.width&&(Ce=this.x,pe=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",`${this.id}-editor`),this.enableEditing(),Ee._l10nPromise.get("editor_free_text_aria_label").then(Ge=>{var Te;return(Te=this.editorDiv)===null||Te===void 0?void 0:Te.setAttribute("aria-label",Ge)}),Ee._l10nPromise.get("free_text_default_content").then(Ge=>{var Te;return(Te=this.editorDiv)===null||Te===void 0?void 0:Te.setAttribute("default-content",Ge)}),this.editorDiv.contentEditable=!0;const{style:_e}=this.editorDiv;if(_e.fontSize=`calc(${U(this,ce)}px * var(--scale-factor))`,_e.color=U(this,W),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,V.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[Ge,Te]=this.parent.viewportBaseDimensions;this.setAt(Ce*Ge,pe*Te,this.width*Ge,this.height*Te);for(const Ne of U(this,L).split(` -`)){const Ze=document.createElement("div");Ze.append(Ne?document.createTextNode(Ne):document.createElement("br")),this.editorDiv.append(Ze)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(Ce,pe){const _e=super.deserialize(Ce,pe);return e(_e,ce,Ce.fontSize),e(_e,W,G.Util.makeHexColor(...Ce.color)),e(_e,L,Ce.value),_e}serialize(){if(this.isEmpty())return null;const Ce=Ee._internalPadding*this.parent.scaleFactor,pe=this.getRect(Ce,Ce),_e=q.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:G.AnnotationEditorType.FREETEXT,color:_e,fontSize:U(this,ce),value:U(this,L),pageIndex:this.parent.pageIndex,rect:pe,rotation:this.rotation}}}m.FreeTextEditor=Ee;function ke(ye){const Ce=_e=>{this.editorDiv.style.fontSize=`calc(${_e}px * var(--scale-factor))`,this.translate(0,-(_e-U(this,ce))*this.parent.scaleFactor),e(this,ce,_e),z(this,me,ve).call(this)},pe=U(this,ce);this.parent.addCommands({cmd:()=>{Ce(ye)},undo:()=>{Ce(pe)},mustExec:!0,type:G.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}function xe(ye){const Ce=U(this,W);this.parent.addCommands({cmd:()=>{e(this,W,ye),this.editorDiv.style.color=ye},undo:()=>{e(this,W,Ce),this.editorDiv.style.color=Ce},mustExec:!0,type:G.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function fe(){const ye=this.editorDiv.getElementsByTagName("div");if(ye.length===0)return this.editorDiv.innerText;const Ce=[];for(let pe=0,_e=ye.length;pe<_e;pe++){const Te=ye[pe].firstChild;(Te==null?void 0:Te.nodeName)==="#text"?Ce.push(Te.data):Ce.push("")}return Ce.join(` -`)}function ve(){const[ye,Ce]=this.parent.viewportBaseDimensions,pe=this.div.getBoundingClientRect();this.width=pe.width/ye,this.height=pe.height/Ce}D(Ee,"_freeTextDefaultContent",""),D(Ee,"_l10nPromise",void 0),D(Ee,"_internalPadding",0),D(Ee,"_defaultColor",null),D(Ee,"_defaultFontSize",10),D(Ee,"_keyboardManager",new V.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],Ee.prototype.commitOrRemove]])),D(Ee,"_type","freetext")},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.InkEditor=void 0,Object.defineProperty(m,"fitCurve",{enumerable:!0,get:function(){return q.fitCurve}});var G=M(1),V=M(131),q=M(150),$=M(132);function D(Bt,It){U(Bt,It),It.add(Bt)}function B(Bt,It,Dt){return It in Bt?Object.defineProperty(Bt,It,{value:Dt,enumerable:!0,configurable:!0,writable:!0}):Bt[It]=Dt,Bt}function R(Bt,It,Dt){U(Bt,It),It.set(Bt,Dt)}function U(Bt,It){if(It.has(Bt))throw new TypeError("Cannot initialize the same private elements twice on an object")}function K(Bt,It,Dt){return z(Bt,It),Dt}function z(Bt,It){if(Bt!==It)throw new TypeError("Private static access of wrong provenance")}function e(Bt,It,Dt){var Zt=he(Bt,It,"set");return ae(Bt,Zt,Dt),Dt}function ae(Bt,It,Dt){if(It.set)It.set.call(Bt,Dt);else{if(!It.writable)throw new TypeError("attempted to set read only private field");It.value=Dt}}function ie(Bt,It){var Dt=he(Bt,It,"get");return J(Bt,Dt)}function he(Bt,It,Dt){if(!It.has(Bt))throw new TypeError("attempted to "+Dt+" private field on non-instance");return It.get(Bt)}function J(Bt,It){return It.get?It.get.call(Bt):It.value}function X(Bt,It,Dt){if(!It.has(Bt))throw new TypeError("attempted to get private field on non-instance");return Dt}const W=16;var L=new WeakMap,Q=new WeakMap,ce=new WeakMap,de=new WeakMap,oe=new WeakMap,se=new WeakMap,me=new WeakMap,Ee=new WeakMap,ke=new WeakMap,xe=new WeakMap,fe=new WeakMap,ve=new WeakMap,ye=new WeakMap,Ce=new WeakMap,pe=new WeakSet,_e=new WeakSet,Ge=new WeakSet,Te=new WeakSet,Ne=new WeakSet,Ze=new WeakSet,ze=new WeakSet,Ae=new WeakSet,De=new WeakSet,Ue=new WeakSet,we=new WeakSet,Ie=new WeakSet,Be=new WeakSet,Ke=new WeakSet,Ve=new WeakSet,je=new WeakSet,Le=new WeakSet,et=new WeakSet,Qe=new WeakSet,Fe=new WeakSet,$e=new WeakSet,Ye=new WeakSet;class tt extends V.AnnotationEditor{constructor(It){super({...It,name:"inkEditor"}),D(this,Ye),D(this,$e),D(this,Fe),D(this,Qe),D(this,et),D(this,Le),D(this,je),D(this,Ve),D(this,Ke),D(this,Be),D(this,Ie),D(this,we),D(this,Ue),D(this,De),D(this,Ae),D(this,ze),D(this,Ze),D(this,Ne),D(this,Te),D(this,Ge),D(this,_e),D(this,pe),R(this,L,{writable:!0,value:0}),R(this,Q,{writable:!0,value:0}),R(this,ce,{writable:!0,value:0}),R(this,de,{writable:!0,value:this.canvasPointermove.bind(this)}),R(this,oe,{writable:!0,value:this.canvasPointerleave.bind(this)}),R(this,se,{writable:!0,value:this.canvasPointerup.bind(this)}),R(this,me,{writable:!0,value:this.canvasPointerdown.bind(this)}),R(this,Ee,{writable:!0,value:!1}),R(this,ke,{writable:!0,value:!1}),R(this,xe,{writable:!0,value:null}),R(this,fe,{writable:!0,value:null}),R(this,ve,{writable:!0,value:0}),R(this,ye,{writable:!0,value:0}),R(this,Ce,{writable:!0,value:null}),this.color=It.color||null,this.thickness=It.thickness||null,this.opacity=It.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(It){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map(Dt=>[Dt,It.get(Dt)]))}static updateDefaultParams(It,Dt){switch(It){case G.AnnotationEditorParamsType.INK_THICKNESS:tt._defaultThickness=Dt;break;case G.AnnotationEditorParamsType.INK_COLOR:tt._defaultColor=Dt;break;case G.AnnotationEditorParamsType.INK_OPACITY:tt._defaultOpacity=Dt/100;break}}updateParams(It,Dt){switch(It){case G.AnnotationEditorParamsType.INK_THICKNESS:X(this,pe,ot).call(this,Dt);break;case G.AnnotationEditorParamsType.INK_COLOR:X(this,_e,st).call(this,Dt);break;case G.AnnotationEditorParamsType.INK_OPACITY:X(this,Ge,dt).call(this,Dt);break}}static get defaultPropertiesToUpdate(){return[[G.AnnotationEditorParamsType.INK_THICKNESS,tt._defaultThickness],[G.AnnotationEditorParamsType.INK_COLOR,tt._defaultColor||V.AnnotationEditor._defaultLineColor],[G.AnnotationEditorParamsType.INK_OPACITY,Math.round(tt._defaultOpacity*100)]]}get propertiesToUpdate(){var It;return[[G.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||tt._defaultThickness],[G.AnnotationEditorParamsType.INK_COLOR,this.color||tt._defaultColor||V.AnnotationEditor._defaultLineColor],[G.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*((It=this.opacity)!==null&&It!==void 0?It:tt._defaultOpacity))]]}rebuild(){super.rebuild(),this.div!==null&&(this.canvas||(X(this,we,bt).call(this),X(this,Ie,pt).call(this)),this.isAttachedToDOM||(this.parent.add(this),X(this,Be,wt).call(this)),X(this,$e,Jt).call(this))}remove(){this.canvas!==null&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,ie(this,fe).disconnect(),e(this,fe,null),super.remove())}enableEditMode(){ie(this,Ee)||this.canvas===null||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",ie(this,me)),this.canvas.addEventListener("pointerup",ie(this,se)))}disableEditMode(){!this.isInEditMode()||this.canvas===null||(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",ie(this,me)),this.canvas.removeEventListener("pointerup",ie(this,se)))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return this.paths.length===0||this.paths.length===1&&this.paths[0].length===0}commit(){ie(this,Ee)||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),e(this,Ee,!0),this.div.classList.add("disabled"),X(this,$e,Jt).call(this,!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(It){super.focusin(It),this.enableEditMode()}canvasPointerdown(It){It.button!==0||!this.isInEditMode()||ie(this,Ee)||(this.setInForeground(),It.type!=="mouse"&&this.div.focus(),It.stopPropagation(),this.canvas.addEventListener("pointerleave",ie(this,oe)),this.canvas.addEventListener("pointermove",ie(this,de)),X(this,Ze,ut).call(this,It.offsetX,It.offsetY))}canvasPointermove(It){It.stopPropagation(),X(this,ze,rt).call(this,It.offsetX,It.offsetY)}canvasPointerup(It){It.button===0&&this.isInEditMode()&&this.currentPath.length!==0&&(It.stopPropagation(),X(this,Ue,St).call(this,It),this.setInBackground())}canvasPointerleave(It){X(this,Ue,St).call(this,It),this.setInBackground()}render(){if(this.div)return this.div;let It,Dt;this.width&&(It=this.x,Dt=this.y),super.render(),tt._l10nPromise.get("editor_ink_aria_label").then(kr=>{var cr;return(cr=this.div)===null||cr===void 0?void 0:cr.setAttribute("aria-label",kr)});const[Zt,gr,fr,Dr]=X(this,Te,ct).call(this);if(this.setAt(Zt,gr,0,0),this.setDims(fr,Dr),X(this,we,bt).call(this),this.width){const[kr,cr]=this.parent.viewportBaseDimensions;this.setAt(It*kr,Dt*cr,this.width*kr,this.height*cr),e(this,ke,!0),X(this,Be,wt).call(this),this.setDims(this.width*kr,this.height*cr),X(this,De,Je).call(this),X(this,Ye,er).call(this),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return X(this,Ie,pt).call(this),this.div}setDimensions(It,Dt){const Zt=Math.round(It),gr=Math.round(Dt);if(ie(this,ve)===Zt&&ie(this,ye)===gr)return;e(this,ve,Zt),e(this,ye,gr),this.canvas.style.visibility="hidden",ie(this,L)&&Math.abs(ie(this,L)-It/Dt)>.01&&(Dt=Math.ceil(It/ie(this,L)),this.setDims(It,Dt));const[fr,Dr]=this.parent.viewportBaseDimensions;this.width=It/fr,this.height=Dt/Dr,ie(this,Ee)&&X(this,Ke,Pt).call(this,It,Dt),X(this,Be,wt).call(this),X(this,De,Je).call(this),this.canvas.style.visibility="visible"}static deserialize(It,Dt){const Zt=super.deserialize(It,Dt);Zt.thickness=It.thickness,Zt.color=G.Util.makeHexColor(...It.color),Zt.opacity=It.opacity;const[gr,fr]=Dt.pageDimensions,Dr=Zt.width*gr,kr=Zt.height*fr,cr=Dt.scaleFactor,Ar=It.thickness/2;e(Zt,L,Dr/kr),e(Zt,Ee,!0),e(Zt,ve,Math.round(Dr)),e(Zt,ye,Math.round(kr));for(const{bezier:vt}of It.paths){const Xt=[];Zt.paths.push(Xt);let At=cr*(vt[0]-Ar),zt=cr*(kr-vt[1]-Ar);for(let br=2,Ur=vt.length;br{this.thickness=Bt,X(this,$e,Jt).call(this)},undo:()=>{this.thickness=It,X(this,$e,Jt).call(this)},mustExec:!0,type:G.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}function st(Bt){const It=this.color;this.parent.addCommands({cmd:()=>{this.color=Bt,X(this,De,Je).call(this)},undo:()=>{this.color=It,X(this,De,Je).call(this)},mustExec:!0,type:G.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function dt(Bt){Bt/=100;const It=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=Bt,X(this,De,Je).call(this)},undo:()=>{this.opacity=It,X(this,De,Je).call(this)},mustExec:!0,type:G.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}function ct(){const{width:Bt,height:It,rotation:Dt}=this.parent.viewport;switch(Dt){case 90:return[0,Bt,Bt,It];case 180:return[Bt,It,Bt,It];case 270:return[It,0,Bt,It];default:return[0,0,Bt,It]}}function mt(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle=`${this.color}${(0,$.opacityToHex)(this.opacity)}`}function ut(Bt,It){if(this.isEditing=!0,!ie(this,ke)){var Dt;e(this,ke,!0),X(this,Be,wt).call(this),this.thickness||(this.thickness=tt._defaultThickness),this.color||(this.color=tt._defaultColor||V.AnnotationEditor._defaultLineColor),(Dt=this.opacity)!==null&&Dt!==void 0||(this.opacity=tt._defaultOpacity)}this.currentPath.push([Bt,It]),e(this,xe,null),X(this,Ne,mt).call(this),this.ctx.beginPath(),this.ctx.moveTo(Bt,It),e(this,Ce,()=>{ie(this,Ce)&&(ie(this,xe)&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):X(this,De,Je).call(this),this.ctx.lineTo(...ie(this,xe)),e(this,xe,null),this.ctx.stroke()),window.requestAnimationFrame(ie(this,Ce)))}),window.requestAnimationFrame(ie(this,Ce))}function rt(Bt,It){const[Dt,Zt]=this.currentPath.at(-1);Bt===Dt&&It===Zt||(this.currentPath.push([Bt,It]),e(this,xe,[Bt,It]))}function He(Bt,It){this.ctx.closePath(),e(this,Ce,null),Bt=Math.min(Math.max(Bt,0),this.canvas.width),It=Math.min(Math.max(It,0),this.canvas.height);const[Dt,Zt]=this.currentPath.at(-1);(Bt!==Dt||It!==Zt)&&this.currentPath.push([Bt,It]);let gr;if(this.currentPath.length!==1)gr=(0,q.fitCurve)(this.currentPath,30,null);else{const cr=[Bt,It];gr=[[cr,cr.slice(),cr.slice(),cr]]}const fr=K(tt,tt,Vt).call(tt,gr);this.currentPath.length=0;const Dr=()=>{this.paths.push(gr),this.bezierPath2D.push(fr),this.rebuild()},kr=()=>{this.paths.pop(),this.bezierPath2D.pop(),this.paths.length===0?this.remove():(this.canvas||(X(this,we,bt).call(this),X(this,Ie,pt).call(this)),X(this,$e,Jt).call(this))};this.parent.addCommands({cmd:Dr,undo:kr,mustExec:!0})}function Je(){if(this.isEmpty()){X(this,Ve,Nt).call(this);return}X(this,Ne,mt).call(this);const{canvas:Bt,ctx:It}=this;It.setTransform(1,0,0,1,0,0),It.clearRect(0,0,Bt.width,Bt.height),X(this,Ve,Nt).call(this);for(const Dt of this.bezierPath2D)It.stroke(Dt)}function St(Bt){X(this,Ae,He).call(this,Bt.offsetX,Bt.offsetY),this.canvas.removeEventListener("pointerleave",ie(this,oe)),this.canvas.removeEventListener("pointermove",ie(this,de)),this.parent.addToAnnotationStorage(this)}function bt(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",tt._l10nPromise.get("editor_ink_canvas_aria_label").then(Bt=>{var It;return(It=this.canvas)===null||It===void 0?void 0:It.setAttribute("aria-label",Bt)}),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}function pt(){e(this,fe,new ResizeObserver(Bt=>{const It=Bt[0].contentRect;It.width&&It.height&&this.setDimensions(It.width,It.height)})),ie(this,fe).observe(this.div)}function wt(){if(!ie(this,ke))return;const[Bt,It]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*Bt),this.canvas.height=Math.ceil(this.height*It),X(this,Ve,Nt).call(this)}function Pt(Bt,It){const Dt=X(this,Fe,Ft).call(this),Zt=(Bt-Dt)/ie(this,ce),gr=(It-Dt)/ie(this,Q);this.scaleFactor=Math.min(Zt,gr)}function Nt(){const Bt=X(this,Fe,Ft).call(this)/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+Bt,this.translationY*this.scaleFactor+Bt)}function Vt(Bt){const It=new Path2D;for(let Dt=0,Zt=Bt.length;Dt0&&arguments[0]!==void 0?arguments[0]:!1;if(this.isEmpty())return;if(!ie(this,Ee)){X(this,De,Je).call(this);return}const It=X(this,Qe,Yt).call(this),Dt=X(this,Fe,Ft).call(this);e(this,ce,Math.max(W,It[2]-It[0])),e(this,Q,Math.max(W,It[3]-It[1]));const Zt=Math.ceil(Dt+ie(this,ce)*this.scaleFactor),gr=Math.ceil(Dt+ie(this,Q)*this.scaleFactor),[fr,Dr]=this.parent.viewportBaseDimensions;this.width=Zt/fr,this.height=gr/Dr,e(this,L,Zt/gr),X(this,Ye,er).call(this);const kr=this.translationX,cr=this.translationY;this.translationX=-It[0],this.translationY=-It[1],X(this,Be,wt).call(this),X(this,De,Je).call(this),e(this,ve,Zt),e(this,ye,gr),this.setDims(Zt,gr);const Ar=Bt?Dt/this.scaleFactor/2:0;this.translate(kr-this.translationX-Ar,cr-this.translationY-Ar)}function er(){const{style:Bt}=this.div;ie(this,L)>=1?(Bt.minHeight=`${W}px`,Bt.minWidth=`${Math.round(ie(this,L)*W)}px`):(Bt.minWidth=`${W}px`,Bt.minHeight=`${Math.round(W/ie(this,L))}px`)}B(tt,"_defaultColor",null),B(tt,"_defaultOpacity",1),B(tt,"_defaultThickness",1),B(tt,"_l10nPromise",void 0),B(tt,"_type","ink")},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.fitCurve=void 0;const G=M(151);m.fitCurve=G},k=>{function m(ae,ie,he){if(!Array.isArray(ae))throw new TypeError("First argument should be an array");if(ae.forEach(L=>{if(!Array.isArray(L)||L.some(Q=>typeof Q!="number")||L.length!==ae[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")}),ae=ae.filter((L,Q)=>Q===0||!L.every((ce,de)=>ce===ae[Q-1][de])),ae.length<2)return[];const J=ae.length,X=K(ae[1],ae[0]),W=K(ae[J-2],ae[J-1]);return M(ae,X,W,ie,he)}function M(ae,ie,he,J,X){var L,Q,ce,de,oe,se,me,Ee,ke,xe,fe,ve,ye;if(ae.length===2)return ve=z.vectorLen(z.subtract(ae[0],ae[1]))/3,L=[ae[0],z.addArrays(ae[0],z.mulItems(ie,ve)),z.addArrays(ae[1],z.mulItems(he,ve)),ae[1]],[L];if(Q=D(ae),[L,de,se]=G(ae,Q,Q,ie,he,X),de===0||de.9999&&Ce<1.0001)break}oe=de,me=se}return fe=[],Ee=z.subtract(ae[se-1],ae[se+1]),Ee.every(Ce=>Ce===0)&&(Ee=z.subtract(ae[se-1],ae[se]),[Ee[0],Ee[1]]=[-Ee[1],Ee[0]]),ke=z.normalize(Ee),xe=z.mulItems(ke,-1),fe=fe.concat(M(ae.slice(0,se+1),ie,ke,J,X)),fe=fe.concat(M(ae.slice(se),xe,he,J,X)),fe}function G(ae,ie,he,J,X,W){var L,Q,ce;return L=V(ae,he,J,X),[Q,ce]=B(ae,L,ie),W&&W({bez:L,points:ae,params:ie,maxErr:Q,maxPoint:ce}),[L,Q,ce]}function V(ae,ie,he,J){var X,W,L,Q,ce,de,oe,se,me,Ee,ke,xe,fe,ve,ye,Ce,pe,_e=ae[0],Ge=ae[ae.length-1];for(X=[_e,null,null,Ge],W=z.zeros_Xx2x2(ie.length),fe=0,ve=ie.length;fe$(ae,ie[X],J))}function $(ae,ie,he){var J=z.subtract(e.q(ae,he),ie),X=e.qprime(ae,he),W=z.mulMatrix(J,X),L=z.sum(z.squareItems(X))+2*z.mulMatrix(J,e.qprimeprime(ae,he));return L===0?he:he-W/L}function D(ae){var ie=[],he,J,X;return ae.forEach((W,L)=>{he=L?J+z.vectorLen(z.subtract(W,X)):0,ie.push(he),J=he,X=W}),ie=ie.map(W=>W/J),ie}function B(ae,ie,he){var J,X,W,L,Q,ce,de,oe;X=0,W=Math.floor(ae.length/2);const se=R(ie,10);for(Q=0,ce=ae.length;QX&&(X=J,W=Q);return[X,W]}var R=function(ae,ie){for(var he,J=[0],X=ae[0],W=0,L=1;L<=ie;L++)he=e.q(ae,L/ie),W+=z.vectorLen(z.subtract(he,X)),J.push(W),X=he;return J=J.map(Q=>Q/W),J};function U(ae,ie,he,J){if(ie<0)return 0;if(ie>1)return 1;for(var X,W,L,Q,ce,de=1;de<=J;de++)if(ie<=he[de]){Q=(de-1)/J,L=de/J,W=he[de-1],X=he[de],ce=(ie-W)/(X-W)*(L-Q)+Q;break}return ce}function K(ae,ie){return z.normalize(z.subtract(ae,ie))}class z{static zeros_Xx2x2(ie){for(var he=[];ie--;)he.push([0,0]);return he}static mulItems(ie,he){return ie.map(J=>J*he)}static mulMatrix(ie,he){return ie.reduce((J,X,W)=>J+X*he[W],0)}static subtract(ie,he){return ie.map((J,X)=>J-he[X])}static addArrays(ie,he){return ie.map((J,X)=>J+he[X])}static addItems(ie,he){return ie.map(J=>J+he)}static sum(ie){return ie.reduce((he,J)=>he+J)}static dot(ie,he){return z.mulMatrix(ie,he)}static vectorLen(ie){return Math.hypot(...ie)}static divItems(ie,he){return ie.map(J=>J/he)}static squareItems(ie){return ie.map(he=>he*he)}static normalize(ie){return this.divItems(ie,this.vectorLen(ie))}}class e{static q(ie,he){var J=1-he,X=z.mulItems(ie[0],J*J*J),W=z.mulItems(ie[1],3*J*J*he),L=z.mulItems(ie[2],3*J*he*he),Q=z.mulItems(ie[3],he*he*he);return z.addArrays(z.addArrays(X,W),z.addArrays(L,Q))}static qprime(ie,he){var J=1-he,X=z.mulItems(z.subtract(ie[1],ie[0]),3*J*J),W=z.mulItems(z.subtract(ie[2],ie[1]),6*J*he),L=z.mulItems(z.subtract(ie[3],ie[2]),3*he*he);return z.addArrays(z.addArrays(X,W),L)}static qprimeprime(ie,he){return z.addArrays(z.mulItems(z.addArrays(z.subtract(ie[2],z.mulItems(ie[1],2)),ie[0]),6*(1-he)),z.mulItems(z.addArrays(z.subtract(ie[3],z.mulItems(ie[2],2)),ie[1]),6*he))}}k.exports=m,k.exports.fitCubic=M,k.exports.createTangent=K},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.AnnotationLayer=void 0;var G=M(1),V=M(133),q=M(130),$=M(153),D=M(154);function B(we,Ie,Be){return R(we,Ie),Be}function R(we,Ie){if(we!==Ie)throw new TypeError("Private static access of wrong provenance")}const U=1e3,K=9,z=new WeakSet;function e(we){return{width:we[2]-we[0],height:we[3]-we[1]}}class ae{static create(Ie){switch(Ie.data.annotationType){case G.AnnotationType.LINK:return new he(Ie);case G.AnnotationType.TEXT:return new J(Ie);case G.AnnotationType.WIDGET:switch(Ie.data.fieldType){case"Tx":return new W(Ie);case"Btn":return Ie.data.radioButton?new Q(Ie):Ie.data.checkBox?new L(Ie):new ce(Ie);case"Ch":return new de(Ie)}return new X(Ie);case G.AnnotationType.POPUP:return new oe(Ie);case G.AnnotationType.FREETEXT:return new me(Ie);case G.AnnotationType.LINE:return new Ee(Ie);case G.AnnotationType.SQUARE:return new ke(Ie);case G.AnnotationType.CIRCLE:return new xe(Ie);case G.AnnotationType.POLYLINE:return new fe(Ie);case G.AnnotationType.CARET:return new ye(Ie);case G.AnnotationType.INK:return new Ce(Ie);case G.AnnotationType.POLYGON:return new ve(Ie);case G.AnnotationType.HIGHLIGHT:return new pe(Ie);case G.AnnotationType.UNDERLINE:return new _e(Ie);case G.AnnotationType.SQUIGGLY:return new Ge(Ie);case G.AnnotationType.STRIKEOUT:return new Te(Ie);case G.AnnotationType.STAMP:return new Ne(Ie);case G.AnnotationType.FILEATTACHMENT:return new Ze(Ie);default:return new ie(Ie)}}}class ie{constructor(Ie){let{isRenderable:Be=!1,ignoreBorder:Ke=!1,createQuadrilaterals:Ve=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.isRenderable=Be,this.data=Ie.data,this.layer=Ie.layer,this.page=Ie.page,this.viewport=Ie.viewport,this.linkService=Ie.linkService,this.downloadManager=Ie.downloadManager,this.imageResourcesPath=Ie.imageResourcesPath,this.renderForms=Ie.renderForms,this.svgFactory=Ie.svgFactory,this.annotationStorage=Ie.annotationStorage,this.enableScripting=Ie.enableScripting,this.hasJSActions=Ie.hasJSActions,this._fieldObjects=Ie.fieldObjects,this._mouseState=Ie.mouseState,Be&&(this.container=this._createContainer(Ke)),Ve&&(this.quadrilaterals=this._createQuadrilaterals(Ke))}_createContainer(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Be=this.data,Ke=this.page,Ve=this.viewport,je=document.createElement("section"),{width:Le,height:et}=e(Be.rect),[Qe,Fe,$e,Ye]=Ve.viewBox,tt=$e-Qe,ot=Ye-Fe;je.setAttribute("data-annotation-id",Be.id);const st=G.Util.normalizeRect([Be.rect[0],Ke.view[3]-Be.rect[1]+Ke.view[1],Be.rect[2],Ke.view[3]-Be.rect[3]+Ke.view[1]]);if(!Ie&&Be.borderStyle.width>0){je.style.borderWidth=`${Be.borderStyle.width}px`;const ct=Be.borderStyle.horizontalCornerRadius,mt=Be.borderStyle.verticalCornerRadius;if(ct>0||mt>0){const rt=`calc(${ct}px * var(--scale-factor)) / calc(${mt}px * var(--scale-factor))`;je.style.borderRadius=rt}else if(this instanceof Q){const rt=`calc(${Le}px * var(--scale-factor)) / calc(${et}px * var(--scale-factor))`;je.style.borderRadius=rt}switch(Be.borderStyle.style){case G.AnnotationBorderStyleType.SOLID:je.style.borderStyle="solid";break;case G.AnnotationBorderStyleType.DASHED:je.style.borderStyle="dashed";break;case G.AnnotationBorderStyleType.BEVELED:(0,G.warn)("Unimplemented border style: beveled");break;case G.AnnotationBorderStyleType.INSET:(0,G.warn)("Unimplemented border style: inset");break;case G.AnnotationBorderStyleType.UNDERLINE:je.style.borderBottomStyle="solid";break}const ut=Be.borderColor||null;ut?je.style.borderColor=G.Util.makeHexColor(ut[0]|0,ut[1]|0,ut[2]|0):je.style.borderWidth=0}je.style.left=`${100*(st[0]-Qe)/tt}%`,je.style.top=`${100*(st[1]-Fe)/ot}%`;const{rotation:dt}=Be;return Be.hasOwnCanvas||dt===0?(je.style.width=`${100*Le/tt}%`,je.style.height=`${100*et/ot}%`):this.setRotation(dt,je),je}setRotation(Ie){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container;const[Ke,Ve,je,Le]=this.viewport.viewBox,et=je-Ke,Qe=Le-Ve,{width:Fe,height:$e}=e(this.data.rect);let Ye,tt;Ie%180===0?(Ye=100*Fe/et,tt=100*$e/Qe):(Ye=100*$e/et,tt=100*Fe/Qe),Be.style.width=`${Ye}%`,Be.style.height=`${tt}%`,Be.setAttribute("data-main-rotation",(360-Ie)%360)}get _commonActions(){const Ie=(Be,Ke,Ve)=>{const je=Ve.detail[Be];Ve.target.style[Ke]=$.ColorConverters[`${je[0]}_HTML`](je.slice(1))};return(0,G.shadow)(this,"_commonActions",{display:Be=>{const Ke=Be.detail.display%2===1;this.container.style.visibility=Ke?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:Ke,print:Be.detail.display===0||Be.detail.display===3})},print:Be=>{this.annotationStorage.setValue(this.data.id,{print:Be.detail.print})},hidden:Be=>{this.container.style.visibility=Be.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:Be.detail.hidden})},focus:Be=>{setTimeout(()=>Be.target.focus({preventScroll:!1}),0)},userName:Be=>{Be.target.title=Be.detail.userName},readonly:Be=>{Be.detail.readonly?Be.target.setAttribute("readonly",""):Be.target.removeAttribute("readonly")},required:Be=>{this._setRequired(Be.target,Be.detail.required)},bgColor:Be=>{Ie("bgColor","backgroundColor",Be)},fillColor:Be=>{Ie("fillColor","backgroundColor",Be)},fgColor:Be=>{Ie("fgColor","color",Be)},textColor:Be=>{Ie("textColor","color",Be)},borderColor:Be=>{Ie("borderColor","borderColor",Be)},strokeColor:Be=>{Ie("strokeColor","borderColor",Be)},rotation:Be=>{const Ke=Be.detail.rotation;this.setRotation(Ke),this.annotationStorage.setValue(this.data.id,{rotation:Ke})}})}_dispatchEventFromSandbox(Ie,Be){const Ke=this._commonActions;for(const Ve of Object.keys(Be.detail)){const je=Ie[Ve]||Ke[Ve];je&&je(Be)}}_setDefaultPropertiesFromJS(Ie){if(!this.enableScripting)return;const Be=this.annotationStorage.getRawValue(this.data.id);if(!Be)return;const Ke=this._commonActions;for(const[Ve,je]of Object.entries(Be)){const Le=Ke[Ve];if(Le){const et={detail:{[Ve]:je},target:Ie};Le(et),delete Be[Ve]}}}_createQuadrilaterals(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.data.quadPoints)return null;const Be=[],Ke=this.data.rect;for(const Ve of this.data.quadPoints)this.data.rect=[Ve[2].x,Ve[2].y,Ve[1].x,Ve[1].y],Be.push(this._createContainer(Ie));return this.data.rect=Ke,Be}_createPopup(Ie,Be){let Ke=this.container;this.quadrilaterals&&(Ie=Ie||this.quadrilaterals,Ke=this.quadrilaterals[0]),Ie||(Ie=document.createElement("div"),Ie.className="popupTriggerArea",Ke.append(Ie));const je=new se({container:Ke,trigger:Ie,color:Be.color,titleObj:Be.titleObj,modificationDate:Be.modificationDate,contentsObj:Be.contentsObj,richText:Be.richText,hideWrapper:!0}).render();je.style.left="100%",Ke.append(je)}_renderQuadrilaterals(Ie){for(const Be of this.quadrilaterals)Be.className=Ie;return this.quadrilaterals}render(){(0,G.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(Ie){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const Ke=[];if(this._fieldObjects){const Ve=this._fieldObjects[Ie];if(Ve)for(const{page:je,id:Le,exportValues:et}of Ve){if(je===-1||Le===Be)continue;const Qe=typeof et=="string"?et:null,Fe=document.querySelector(`[data-element-id="${Le}"]`);if(Fe&&!z.has(Fe)){(0,G.warn)(`_getElementsByName - element not allowed: ${Le}`);continue}Ke.push({id:Le,exportValue:Qe,domElement:Fe})}return Ke}for(const Ve of document.getElementsByName(Ie)){const{id:je,exportValue:Le}=Ve;je!==Be&&z.has(Ve)&&Ke.push({id:je,exportValue:Le,domElement:Ve})}return Ke}static get platform(){const Ie=typeof navigator<"u"?navigator.platform:"";return(0,G.shadow)(this,"platform",{isWin:Ie.includes("Win"),isMac:Ie.includes("Mac")})}}class he extends ie{constructor(Ie){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;super(Ie,{isRenderable:!0,ignoreBorder:!!(Be!=null&&Be.ignoreBorder),createQuadrilaterals:!0}),this.isTooltipOnly=Ie.data.isTooltipOnly}render(){const{data:Ie,linkService:Be}=this,Ke=document.createElement("a");Ke.setAttribute("data-element-id",Ie.id);let Ve=!1;return Ie.url?(Be.addLinkAttributes(Ke,Ie.url,Ie.newWindow),Ve=!0):Ie.action?(this._bindNamedAction(Ke,Ie.action),Ve=!0):Ie.dest?(this._bindLink(Ke,Ie.dest),Ve=!0):(Ie.actions&&(Ie.actions.Action||Ie.actions["Mouse Up"]||Ie.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(Ke,Ie),Ve=!0),Ie.resetForm?(this._bindResetFormAction(Ke,Ie.resetForm),Ve=!0):this.isTooltipOnly&&!Ve&&(this._bindLink(Ke,""),Ve=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((je,Le)=>{const et=Le===0?Ke:Ke.cloneNode();return je.append(et),je}):(this.container.className="linkAnnotation",Ve&&this.container.append(Ke),this.container)}_bindLink(Ie,Be){Ie.href=this.linkService.getDestinationHash(Be),Ie.onclick=()=>(Be&&this.linkService.goToDestination(Be),!1),(Be||Be==="")&&(Ie.className="internalLink")}_bindNamedAction(Ie,Be){Ie.href=this.linkService.getAnchorUrl(""),Ie.onclick=()=>(this.linkService.executeNamedAction(Be),!1),Ie.className="internalLink"}_bindJSAction(Ie,Be){Ie.href=this.linkService.getAnchorUrl("");const Ke=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const Ve of Object.keys(Be.actions)){const je=Ke.get(Ve);je&&(Ie[je]=()=>{var Le;return(Le=this.linkService.eventBus)===null||Le===void 0||Le.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be.id,name:Ve}}),!1})}Ie.onclick||(Ie.onclick=()=>!1),Ie.className="internalLink"}_bindResetFormAction(Ie,Be){const Ke=Ie.onclick;if(Ke||(Ie.href=this.linkService.getAnchorUrl("")),Ie.className="internalLink",!this._fieldObjects){(0,G.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),Ke||(Ie.onclick=()=>!1);return}Ie.onclick=()=>{Ke&&Ke();const{fields:Ve,refs:je,include:Le}=Be,et=[];if(Ve.length!==0||je.length!==0){const Ye=new Set(je);for(const tt of Ve){const ot=this._fieldObjects[tt]||[];for(const{id:st}of ot)Ye.add(st)}for(const tt of Object.values(this._fieldObjects))for(const ot of tt)Ye.has(ot.id)===Le&&et.push(ot)}else for(const Ye of Object.values(this._fieldObjects))et.push(...Ye);const Qe=this.annotationStorage,Fe=[];for(const Ye of et){const{id:tt}=Ye;switch(Fe.push(tt),Ye.type){case"text":{const st=Ye.defaultValue||"";Qe.setValue(tt,{value:st});break}case"checkbox":case"radiobutton":{const st=Ye.defaultValue===Ye.exportValues;Qe.setValue(tt,{value:st});break}case"combobox":case"listbox":{const st=Ye.defaultValue||"";Qe.setValue(tt,{value:st});break}default:continue}const ot=document.querySelector(`[data-element-id="${tt}"]`);if(ot){if(!z.has(ot)){(0,G.warn)(`_bindResetFormAction - element not allowed: ${tt}`);continue}}else continue;ot.dispatchEvent(new Event("resetform"))}if(this.enableScripting){var $e;($e=this.linkService.eventBus)===null||$e===void 0||$e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:Fe,name:"ResetForm"}})}return!1}}}class J extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je})}render(){this.container.className="textAnnotation";const Ie=document.createElement("img");return Ie.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",Ie.alt="[{{type}} Annotation]",Ie.dataset.l10nId="text_annotation_type",Ie.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(Ie,this.data),this.container.append(Ie),this.container}}class X extends ie{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(Ie){const{isWin:Be,isMac:Ke}=ie.platform;return Be&&Ie.ctrlKey||Ke&&Ie.metaKey}_setEventListener(Ie,Be,Ke,Ve){Be.includes("mouse")?Ie.addEventListener(Be,je=>{var Le;(Le=this.linkService.eventBus)===null||Le===void 0||Le.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:Ke,value:Ve(je),shift:je.shiftKey,modifier:this._getKeyModifier(je)}})}):Ie.addEventListener(Be,je=>{var Le;(Le=this.linkService.eventBus)===null||Le===void 0||Le.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:Ke,value:Ve(je)}})})}_setEventListeners(Ie,Be,Ke){for(const[je,Le]of Be){var Ve;(Le==="Action"||(Ve=this.data.actions)!==null&&Ve!==void 0&&Ve[Le])&&this._setEventListener(Ie,je,Le,Ke)}}_setBackgroundColor(Ie){const Be=this.data.backgroundColor||null;Ie.style.backgroundColor=Be===null?"transparent":G.Util.makeHexColor(Be[0],Be[1],Be[2])}_setTextStyle(Ie){const Be=["left","center","right"],{fontColor:Ke}=this.data.defaultAppearanceData,Ve=this.data.defaultAppearanceData.fontSize||K,je=Ie.style;let Le;if(this.data.multiLine){const et=Math.abs(this.data.rect[3]-this.data.rect[1]),Qe=Math.round(et/(G.LINE_FACTOR*Ve))||1,Fe=et/Qe;Le=Math.min(Ve,Math.round(Fe/G.LINE_FACTOR))}else{const et=Math.abs(this.data.rect[3]-this.data.rect[1]);Le=Math.min(Ve,Math.round(et/G.LINE_FACTOR))}je.fontSize=`calc(${Le}px * var(--scale-factor))`,je.color=G.Util.makeHexColor(Ke[0],Ke[1],Ke[2]),this.data.textAlignment!==null&&(je.textAlign=Be[this.data.textAlignment])}_setRequired(Ie,Be){Be?Ie.setAttribute("required",!0):Ie.removeAttribute("required"),Ie.setAttribute("aria-required",Be)}}class W extends X{constructor(Ie){const Be=Ie.renderForms||!Ie.data.hasAppearance&&!!Ie.data.fieldValue;super(Ie,{isRenderable:Be})}setPropertyOnSiblings(Ie,Be,Ke,Ve){const je=this.annotationStorage;for(const Le of this._getElementsByName(Ie.name,Ie.id))Le.domElement&&(Le.domElement[Be]=Ke),je.setValue(Le.id,{[Ve]:Ke})}render(){const Ie=this.annotationStorage,Be=this.data.id;this.container.className="textWidgetAnnotation";let Ke=null;if(this.renderForms){const je=Ie.getValue(Be,{value:this.data.fieldValue});let Le=je.formattedValue||je.value||"";const et=Ie.getValue(Be,{charLimit:this.data.maxLen}).charLimit;et&&Le.length>et&&(Le=Le.slice(0,et));const Qe={userValue:Le,formattedValue:null,valueOnFocus:""};this.data.multiLine?(Ke=document.createElement("textarea"),Ke.textContent=Le,this.data.doNotScroll&&(Ke.style.overflowY="hidden")):(Ke=document.createElement("input"),Ke.type="text",Ke.setAttribute("value",Le),this.data.doNotScroll&&(Ke.style.overflowX="hidden")),z.add(Ke),Ke.setAttribute("data-element-id",Be),Ke.disabled=this.data.readOnly,Ke.name=this.data.fieldName,Ke.tabIndex=U,this._setRequired(Ke,this.data.required),et&&(Ke.maxLength=et),Ke.addEventListener("input",$e=>{Ie.setValue(Be,{value:$e.target.value}),this.setPropertyOnSiblings(Ke,"value",$e.target.value,"value")}),Ke.addEventListener("resetform",$e=>{var Ye;const tt=(Ye=this.data.defaultFieldValue)!==null&&Ye!==void 0?Ye:"";Ke.value=Qe.userValue=tt,Qe.formattedValue=null});let Fe=$e=>{const{formattedValue:Ye}=Qe;Ye!=null&&($e.target.value=Ye),$e.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){var Ve;Ke.addEventListener("focus",Ye=>{Qe.userValue&&(Ye.target.value=Qe.userValue),Qe.valueOnFocus=Ye.target.value}),Ke.addEventListener("updatefromsandbox",Ye=>{const tt={value(ot){var st;Qe.userValue=(st=ot.detail.value)!==null&&st!==void 0?st:"",Ie.setValue(Be,{value:Qe.userValue.toString()}),ot.target.value=Qe.userValue},formattedValue(ot){const{formattedValue:st}=ot.detail;Qe.formattedValue=st,st!=null&&ot.target!==document.activeElement&&(ot.target.value=st),Ie.setValue(Be,{formattedValue:st})},selRange(ot){ot.target.setSelectionRange(...ot.detail.selRange)},charLimit:ot=>{var st;const{charLimit:dt}=ot.detail,{target:ct}=ot;if(dt===0){ct.removeAttribute("maxLength");return}ct.setAttribute("maxLength",dt);let mt=Qe.userValue;!mt||mt.length<=dt||(mt=mt.slice(0,dt),ct.value=Qe.userValue=mt,Ie.setValue(Be,{value:mt}),(st=this.linkService.eventBus)===null||st===void 0||st.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be,name:"Keystroke",value:mt,willCommit:!0,commitKey:1,selStart:ct.selectionStart,selEnd:ct.selectionEnd}}))}};this._dispatchEventFromSandbox(tt,Ye)}),Ke.addEventListener("keydown",Ye=>{var tt;let ot=-1;if(Ye.key==="Escape"?ot=0:Ye.key==="Enter"?ot=2:Ye.key==="Tab"&&(ot=3),ot===-1)return;const{value:st}=Ye.target;Qe.valueOnFocus!==st&&(Qe.userValue=st,(tt=this.linkService.eventBus)===null||tt===void 0||tt.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be,name:"Keystroke",value:st,willCommit:!0,commitKey:ot,selStart:Ye.target.selectionStart,selEnd:Ye.target.selectionEnd}}))});const $e=Fe;Fe=null,Ke.addEventListener("blur",Ye=>{const{value:tt}=Ye.target;if(Qe.userValue=tt,this._mouseState.isDown&&Qe.valueOnFocus!==tt){var ot;(ot=this.linkService.eventBus)===null||ot===void 0||ot.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be,name:"Keystroke",value:tt,willCommit:!0,commitKey:1,selStart:Ye.target.selectionStart,selEnd:Ye.target.selectionEnd}})}$e(Ye)}),(Ve=this.data.actions)!==null&&Ve!==void 0&&Ve.Keystroke&&Ke.addEventListener("beforeinput",Ye=>{var tt;const{data:ot,target:st}=Ye,{value:dt,selectionStart:ct,selectionEnd:mt}=st;let ut=ct,rt=mt;switch(Ye.inputType){case"deleteWordBackward":{const He=dt.substring(0,ct).match(/\w*[^\w]*$/);He&&(ut-=He[0].length);break}case"deleteWordForward":{const He=dt.substring(ct).match(/^[^\w]*\w*/);He&&(rt+=He[0].length);break}case"deleteContentBackward":ct===mt&&(ut-=1);break;case"deleteContentForward":ct===mt&&(rt+=1);break}Ye.preventDefault(),(tt=this.linkService.eventBus)===null||tt===void 0||tt.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be,name:"Keystroke",value:dt,change:ot||"",willCommit:!1,selStart:ut,selEnd:rt}})}),this._setEventListeners(Ke,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Ye=>Ye.target.value)}if(Fe&&Ke.addEventListener("blur",Fe),this.data.comb){const Ye=(this.data.rect[2]-this.data.rect[0])/et;Ke.classList.add("comb"),Ke.style.letterSpacing=`calc(${Ye}px * var(--scale-factor) - 1ch)`}}else Ke=document.createElement("div"),Ke.textContent=this.data.fieldValue,Ke.style.verticalAlign="middle",Ke.style.display="table-cell";return this._setTextStyle(Ke),this._setBackgroundColor(Ke),this._setDefaultPropertiesFromJS(Ke),this.container.append(Ke),this.container}}class L extends X{constructor(Ie){super(Ie,{isRenderable:Ie.renderForms})}render(){const Ie=this.annotationStorage,Be=this.data,Ke=Be.id;let Ve=Ie.getValue(Ke,{value:Be.exportValue===Be.fieldValue}).value;typeof Ve=="string"&&(Ve=Ve!=="Off",Ie.setValue(Ke,{value:Ve})),this.container.className="buttonWidgetAnnotation checkBox";const je=document.createElement("input");return z.add(je),je.setAttribute("data-element-id",Ke),je.disabled=Be.readOnly,this._setRequired(je,this.data.required),je.type="checkbox",je.name=Be.fieldName,Ve&&je.setAttribute("checked",!0),je.setAttribute("exportValue",Be.exportValue),je.tabIndex=U,je.addEventListener("change",Le=>{const{name:et,checked:Qe}=Le.target;for(const Fe of this._getElementsByName(et,Ke)){const $e=Qe&&Fe.exportValue===Be.exportValue;Fe.domElement&&(Fe.domElement.checked=$e),Ie.setValue(Fe.id,{value:$e})}Ie.setValue(Ke,{value:Qe})}),je.addEventListener("resetform",Le=>{const et=Be.defaultFieldValue||"Off";Le.target.checked=et===Be.exportValue}),this.enableScripting&&this.hasJSActions&&(je.addEventListener("updatefromsandbox",Le=>{const et={value(Qe){Qe.target.checked=Qe.detail.value!=="Off",Ie.setValue(Ke,{value:Qe.target.checked})}};this._dispatchEventFromSandbox(et,Le)}),this._setEventListeners(je,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Le=>Le.target.checked)),this._setBackgroundColor(je),this._setDefaultPropertiesFromJS(je),this.container.append(je),this.container}}class Q extends X{constructor(Ie){super(Ie,{isRenderable:Ie.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const Ie=this.annotationStorage,Be=this.data,Ke=Be.id;let Ve=Ie.getValue(Ke,{value:Be.fieldValue===Be.buttonValue}).value;typeof Ve=="string"&&(Ve=Ve!==Be.buttonValue,Ie.setValue(Ke,{value:Ve}));const je=document.createElement("input");if(z.add(je),je.setAttribute("data-element-id",Ke),je.disabled=Be.readOnly,this._setRequired(je,this.data.required),je.type="radio",je.name=Be.fieldName,Ve&&je.setAttribute("checked",!0),je.tabIndex=U,je.addEventListener("change",Le=>{const{name:et,checked:Qe}=Le.target;for(const Fe of this._getElementsByName(et,Ke))Ie.setValue(Fe.id,{value:!1});Ie.setValue(Ke,{value:Qe})}),je.addEventListener("resetform",Le=>{const et=Be.defaultFieldValue;Le.target.checked=et!=null&&et===Be.buttonValue}),this.enableScripting&&this.hasJSActions){const Le=Be.buttonValue;je.addEventListener("updatefromsandbox",et=>{const Qe={value:Fe=>{const $e=Le===Fe.detail.value;for(const Ye of this._getElementsByName(Fe.target.name)){const tt=$e&&Ye.id===Ke;Ye.domElement&&(Ye.domElement.checked=tt),Ie.setValue(Ye.id,{value:tt})}}};this._dispatchEventFromSandbox(Qe,et)}),this._setEventListeners(je,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],et=>et.target.checked)}return this._setBackgroundColor(je),this._setDefaultPropertiesFromJS(je),this.container.append(je),this.container}}class ce extends he{constructor(Ie){super(Ie,{ignoreBorder:Ie.data.hasAppearance})}render(){const Ie=super.render();Ie.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(Ie.title=this.data.alternativeText);const Be=Ie.lastChild;return this.enableScripting&&this.hasJSActions&&Be&&(this._setDefaultPropertiesFromJS(Be),Be.addEventListener("updatefromsandbox",Ke=>{this._dispatchEventFromSandbox({},Ke)})),Ie}}class de extends X{constructor(Ie){super(Ie,{isRenderable:Ie.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const Ie=this.annotationStorage,Be=this.data.id,Ke=Ie.getValue(Be,{value:this.data.fieldValue}),Ve=document.createElement("select");z.add(Ve),Ve.setAttribute("data-element-id",Be),Ve.disabled=this.data.readOnly,this._setRequired(Ve,this.data.required),Ve.name=this.data.fieldName,Ve.tabIndex=U;let je=this.data.combo&&this.data.options.length>0;this.data.combo||(Ve.size=this.data.options.length,this.data.multiSelect&&(Ve.multiple=!0)),Ve.addEventListener("resetform",Fe=>{const $e=this.data.defaultFieldValue;for(const Ye of Ve.options)Ye.selected=Ye.value===$e});for(const Fe of this.data.options){const $e=document.createElement("option");$e.textContent=Fe.displayValue,$e.value=Fe.exportValue,Ke.value.includes(Fe.exportValue)&&($e.setAttribute("selected",!0),je=!1),Ve.append($e)}let Le=null;if(je){const Fe=document.createElement("option");Fe.value=" ",Fe.setAttribute("hidden",!0),Fe.setAttribute("selected",!0),Ve.prepend(Fe),Le=()=>{Fe.remove(),Ve.removeEventListener("input",Le),Le=null},Ve.addEventListener("input",Le)}const et=(Fe,$e)=>{const Ye=$e?"value":"textContent",tt=Fe.target.options;return Fe.target.multiple?Array.prototype.filter.call(tt,ot=>ot.selected).map(ot=>ot[Ye]):tt.selectedIndex===-1?null:tt[tt.selectedIndex][Ye]},Qe=Fe=>{const $e=Fe.target.options;return Array.prototype.map.call($e,Ye=>({displayValue:Ye.textContent,exportValue:Ye.value}))};return this.enableScripting&&this.hasJSActions?(Ve.addEventListener("updatefromsandbox",Fe=>{const $e={value(Ye){var tt;(tt=Le)===null||tt===void 0||tt();const ot=Ye.detail.value,st=new Set(Array.isArray(ot)?ot:[ot]);for(const dt of Ve.options)dt.selected=st.has(dt.value);Ie.setValue(Be,{value:et(Ye,!0)})},multipleSelection(Ye){Ve.multiple=!0},remove(Ye){const tt=Ve.options,ot=Ye.detail.remove;tt[ot].selected=!1,Ve.remove(ot),tt.length>0&&Array.prototype.findIndex.call(tt,dt=>dt.selected)===-1&&(tt[0].selected=!0),Ie.setValue(Be,{value:et(Ye,!0),items:Qe(Ye)})},clear(Ye){for(;Ve.length!==0;)Ve.remove(0);Ie.setValue(Be,{value:null,items:[]})},insert(Ye){const{index:tt,displayValue:ot,exportValue:st}=Ye.detail.insert,dt=Ve.children[tt],ct=document.createElement("option");ct.textContent=ot,ct.value=st,dt?dt.before(ct):Ve.append(ct),Ie.setValue(Be,{value:et(Ye,!0),items:Qe(Ye)})},items(Ye){const{items:tt}=Ye.detail;for(;Ve.length!==0;)Ve.remove(0);for(const ot of tt){const{displayValue:st,exportValue:dt}=ot,ct=document.createElement("option");ct.textContent=st,ct.value=dt,Ve.append(ct)}Ve.options.length>0&&(Ve.options[0].selected=!0),Ie.setValue(Be,{value:et(Ye,!0),items:Qe(Ye)})},indices(Ye){const tt=new Set(Ye.detail.indices);for(const ot of Ye.target.options)ot.selected=tt.has(ot.index);Ie.setValue(Be,{value:et(Ye,!0)})},editable(Ye){Ye.target.disabled=!Ye.detail.editable}};this._dispatchEventFromSandbox($e,Fe)}),Ve.addEventListener("input",Fe=>{var $e;const Ye=et(Fe,!0),tt=et(Fe,!1);Ie.setValue(Be,{value:Ye}),($e=this.linkService.eventBus)===null||$e===void 0||$e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be,name:"Keystroke",value:tt,changeEx:Ye,willCommit:!0,commitKey:1,keyDown:!1}})}),this._setEventListeners(Ve,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],Fe=>Fe.target.checked)):Ve.addEventListener("input",function(Fe){Ie.setValue(Be,{value:et(Fe,!0)})}),this.data.combo&&this._setTextStyle(Ve),this._setBackgroundColor(Ve),this._setDefaultPropertiesFromJS(Ve),this.container.append(Ve),this.container}}class oe extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!((Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je})}render(){const Ie=["Line","Square","Circle","PolyLine","Polygon","Ink"];if(this.container.className="popupAnnotation",Ie.includes(this.data.parentType))return this.container;const Be=`[data-annotation-id="${this.data.parentId}"]`,Ke=this.layer.querySelectorAll(Be);if(Ke.length===0)return this.container;const Ve=new se({container:this.container,trigger:Array.from(Ke),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),je=this.page,Le=G.Util.normalizeRect([this.data.parentRect[0],je.view[3]-this.data.parentRect[1]+je.view[1],this.data.parentRect[2],je.view[3]-this.data.parentRect[3]+je.view[1]]),et=Le[0]+this.data.parentRect[2]-this.data.parentRect[0],Qe=Le[1],[Fe,$e,Ye,tt]=this.viewport.viewBox,ot=Ye-Fe,st=tt-$e;return this.container.style.left=`${100*(et-Fe)/ot}%`,this.container.style.top=`${100*(Qe-$e)/st}%`,this.container.append(Ve.render()),this.container}}class se{constructor(Ie){this.container=Ie.container,this.trigger=Ie.trigger,this.color=Ie.color,this.titleObj=Ie.titleObj,this.modificationDate=Ie.modificationDate,this.contentsObj=Ie.contentsObj,this.richText=Ie.richText,this.hideWrapper=Ie.hideWrapper||!1,this.pinned=!1}render(){var Ie,Be;const Ve=document.createElement("div");Ve.className="popupWrapper",this.hideElement=this.hideWrapper?Ve:this.container,this.hideElement.hidden=!0;const je=document.createElement("div");je.className="popup";const Le=this.color;if(Le){const Fe=.7*(255-Le[0])+Le[0],$e=.7*(255-Le[1])+Le[1],Ye=.7*(255-Le[2])+Le[2];je.style.backgroundColor=G.Util.makeHexColor(Fe|0,$e|0,Ye|0)}const et=document.createElement("h1");et.dir=this.titleObj.dir,et.textContent=this.titleObj.str,je.append(et);const Qe=V.PDFDateString.toDateObject(this.modificationDate);if(Qe){const Fe=document.createElement("span");Fe.className="popupDate",Fe.textContent="{{date}}, {{time}}",Fe.dataset.l10nId="annotation_date_string",Fe.dataset.l10nArgs=JSON.stringify({date:Qe.toLocaleDateString(),time:Qe.toLocaleTimeString()}),je.append(Fe)}if((Ie=this.richText)!==null&&Ie!==void 0&&Ie.str&&(!((Be=this.contentsObj)!==null&&Be!==void 0&&Be.str)||this.contentsObj.str===this.richText.str))D.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:je}),je.lastChild.className="richText popupContent";else{const Fe=this._formatContents(this.contentsObj);je.append(Fe)}Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const Fe of this.trigger)Fe.addEventListener("click",this._toggle.bind(this)),Fe.addEventListener("mouseover",this._show.bind(this,!1)),Fe.addEventListener("mouseout",this._hide.bind(this,!1));return je.addEventListener("click",this._hide.bind(this,!0)),Ve.append(je),Ve}_formatContents(Ie){let{str:Be,dir:Ke}=Ie;const Ve=document.createElement("p");Ve.className="popupContent",Ve.dir=Ke;const je=Be.split(/(?:\r\n?|\n)/);for(let Le=0,et=je.length;Le0&&arguments[0]!==void 0?arguments[0]:!1)&&(this.pinned=!0),this.hideElement.hidden&&(this.hideElement.hidden=!1,this.container.style.zIndex=parseInt(this.container.style.zIndex)+1e3)}_hide(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)&&(this.pinned=!1),!this.hideElement.hidden&&!this.pinned&&(this.hideElement.hidden=!0,this.container.style.zIndex=parseInt(this.container.style.zIndex)-1e3)}}class me extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0}),this.textContent=Ie.data.textContent}render(){if(this.container.className="freeTextAnnotation",this.textContent){const Ie=document.createElement("div");Ie.className="annotationTextContent",Ie.setAttribute("role","comment");for(const Be of this.textContent){const Ke=document.createElement("span");Ke.textContent=Be,Ie.append(Ke)}this.container.append(Ie)}return this.data.hasPopup||this._createPopup(null,this.data),this.container}}class Ee extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0})}render(){this.container.className="lineAnnotation";const Ie=this.data,{width:Be,height:Ke}=e(Ie.rect),Ve=this.svgFactory.create(Be,Ke,!0),je=this.svgFactory.createElement("svg:line");return je.setAttribute("x1",Ie.rect[2]-Ie.lineCoordinates[0]),je.setAttribute("y1",Ie.rect[3]-Ie.lineCoordinates[1]),je.setAttribute("x2",Ie.rect[2]-Ie.lineCoordinates[2]),je.setAttribute("y2",Ie.rect[3]-Ie.lineCoordinates[3]),je.setAttribute("stroke-width",Ie.borderStyle.width||1),je.setAttribute("stroke","transparent"),je.setAttribute("fill","transparent"),Ve.append(je),this.container.append(Ve),this._createPopup(je,Ie),this.container}}class ke extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0})}render(){this.container.className="squareAnnotation";const Ie=this.data,{width:Be,height:Ke}=e(Ie.rect),Ve=this.svgFactory.create(Be,Ke,!0),je=Ie.borderStyle.width,Le=this.svgFactory.createElement("svg:rect");return Le.setAttribute("x",je/2),Le.setAttribute("y",je/2),Le.setAttribute("width",Be-je),Le.setAttribute("height",Ke-je),Le.setAttribute("stroke-width",je||1),Le.setAttribute("stroke","transparent"),Le.setAttribute("fill","transparent"),Ve.append(Le),this.container.append(Ve),this._createPopup(Le,Ie),this.container}}class xe extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0})}render(){this.container.className="circleAnnotation";const Ie=this.data,{width:Be,height:Ke}=e(Ie.rect),Ve=this.svgFactory.create(Be,Ke,!0),je=Ie.borderStyle.width,Le=this.svgFactory.createElement("svg:ellipse");return Le.setAttribute("cx",Be/2),Le.setAttribute("cy",Ke/2),Le.setAttribute("rx",Be/2-je/2),Le.setAttribute("ry",Ke/2-je/2),Le.setAttribute("stroke-width",je||1),Le.setAttribute("stroke","transparent"),Le.setAttribute("fill","transparent"),Ve.append(Le),this.container.append(Ve),this._createPopup(Le,Ie),this.container}}class fe extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const Ie=this.data,{width:Be,height:Ke}=e(Ie.rect),Ve=this.svgFactory.create(Be,Ke,!0);let je=[];for(const et of Ie.vertices){const Qe=et.x-Ie.rect[0],Fe=Ie.rect[3]-et.y;je.push(Qe+","+Fe)}je=je.join(" ");const Le=this.svgFactory.createElement(this.svgElementName);return Le.setAttribute("points",je),Le.setAttribute("stroke-width",Ie.borderStyle.width||1),Le.setAttribute("stroke","transparent"),Le.setAttribute("fill","transparent"),Ve.append(Le),this.container.append(Ve),this._createPopup(Le,Ie),this.container}}class ve extends fe{constructor(Ie){super(Ie),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class ye extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0})}render(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class Ce extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const Ie=this.data,{width:Be,height:Ke}=e(Ie.rect),Ve=this.svgFactory.create(Be,Ke,!0);for(const je of Ie.inkLists){let Le=[];for(const Qe of je){const Fe=Qe.x-Ie.rect[0],$e=Ie.rect[3]-Qe.y;Le.push(`${Fe},${$e}`)}Le=Le.join(" ");const et=this.svgFactory.createElement(this.svgElementName);et.setAttribute("points",Le),et.setAttribute("stroke-width",Ie.borderStyle.width||1),et.setAttribute("stroke","transparent"),et.setAttribute("fill","transparent"),this._createPopup(et,Ie),Ve.append(et)}return this.container.append(Ve),this.container}}class pe extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("highlightAnnotation"):(this.container.className="highlightAnnotation",this.container)}}class _e extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("underlineAnnotation"):(this.container.className="underlineAnnotation",this.container)}}class Ge extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("squigglyAnnotation"):(this.container.className="squigglyAnnotation",this.container)}}class Te extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("strikeoutAnnotation"):(this.container.className="strikeoutAnnotation",this.container)}}class Ne extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0})}render(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class Ze extends ie{constructor(Ie){var Be;super(Ie,{isRenderable:!0});const{filename:Ke,content:Ve}=this.data.file;this.filename=(0,V.getFilenameFromUrl)(Ke),this.content=Ve,(Be=this.linkService.eventBus)===null||Be===void 0||Be.dispatch("fileattachmentannotation",{source:this,filename:Ke,content:Ve})}render(){var Ie,Be;this.container.className="fileAttachmentAnnotation";const Ke=document.createElement("div");return Ke.className="popupTriggerArea",Ke.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&((Ie=this.data.titleObj)!==null&&Ie!==void 0&&Ie.str||(Be=this.data.contentsObj)!==null&&Be!==void 0&&Be.str||this.data.richText)&&this._createPopup(Ke,this.data),this.container.append(Ke),this.container}_download(){var Ie;(Ie=this.downloadManager)===null||Ie===void 0||Ie.openOrDownloadData(this.container,this.content,this.filename)}}class ze{static render(Ie){const{annotations:Be,div:Ke,viewport:Ve,accessibilityManager:je}=Ie;B(this,ze,De).call(this,Ke,Ve);let Le=0;for(const et of Be){if(et.annotationType!==G.AnnotationType.POPUP){const{width:Fe,height:$e}=e(et.rect);if(Fe<=0||$e<=0)continue}const Qe=ae.create({data:et,layer:Ke,page:Ie.page,viewport:Ve,linkService:Ie.linkService,downloadManager:Ie.downloadManager,imageResourcesPath:Ie.imageResourcesPath||"",renderForms:Ie.renderForms!==!1,svgFactory:new V.DOMSVGFactory,annotationStorage:Ie.annotationStorage||new q.AnnotationStorage,enableScripting:Ie.enableScripting,hasJSActions:Ie.hasJSActions,fieldObjects:Ie.fieldObjects,mouseState:Ie.mouseState||{isDown:!1}});if(Qe.isRenderable){const Fe=Qe.render();if(et.hidden&&(Fe.style.visibility="hidden"),Array.isArray(Fe))for(const $e of Fe)$e.style.zIndex=Le++,B(ze,ze,Ae).call(ze,$e,et.id,Ke,je);else Fe.style.zIndex=Le++,Qe instanceof oe?Ke.prepend(Fe):B(ze,ze,Ae).call(ze,Fe,et.id,Ke,je)}}B(this,ze,Ue).call(this,Ke,Ie.annotationCanvasMap)}static update(Ie){const{annotationCanvasMap:Be,div:Ke,viewport:Ve}=Ie;B(this,ze,De).call(this,Ke,Ve),B(this,ze,Ue).call(this,Ke,Be),Ke.hidden=!1}}m.AnnotationLayer=ze;function Ae(we,Ie,Be,Ke){const Ve=we.firstChild||we;Ve.id=`${V.AnnotationPrefix}${Ie}`,Be.append(we),Ke==null||Ke.moveElementInDOM(Be,we,Ve,!1)}function De(we,Ie){let{width:Be,height:Ke,rotation:Ve}=Ie;const{style:je}=we,Le=Ve%180!==0,et=Math.floor(Be)+"px",Qe=Math.floor(Ke)+"px";je.width=Le?Qe:et,je.height=Le?et:Qe,we.setAttribute("data-main-rotation",Ve)}function Ue(we,Ie){if(Ie){for(const[Be,Ke]of Ie){const Ve=we.querySelector(`[data-annotation-id="${Be}"]`);if(!Ve)continue;const{firstChild:je}=Ve;je?je.nodeName==="CANVAS"?je.replaceWith(Ke):je.before(Ke):Ve.append(Ke)}Ie.clear()}}},(k,m)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.ColorConverters=void 0;function M(V){return Math.floor(Math.max(0,Math.min(1,V))*255).toString(16).padStart(2,"0")}class G{static CMYK_G(q){let[$,D,B,R]=q;return["G",1-Math.min(1,.3*$+.59*B+.11*D+R)]}static G_CMYK(q){let[$]=q;return["CMYK",0,0,0,1-$]}static G_RGB(q){let[$]=q;return["RGB",$,$,$]}static G_HTML(q){let[$]=q;const D=M($);return`#${D}${D}${D}`}static RGB_G(q){let[$,D,B]=q;return["G",.3*$+.59*D+.11*B]}static RGB_HTML(q){let[$,D,B]=q;const R=M($),U=M(D),K=M(B);return`#${R}${U}${K}`}static T_HTML(){return"#00000000"}static CMYK_RGB(q){let[$,D,B,R]=q;return["RGB",1-Math.min(1,$+R),1-Math.min(1,B+R),1-Math.min(1,D+R)]}static CMYK_HTML(q){const $=this.CMYK_RGB(q).slice(1);return this.RGB_HTML($)}static RGB_CMYK(q){let[$,D,B]=q;const R=1-$,U=1-D,K=1-B,z=Math.min(R,U,K);return["CMYK",R,U,K,z]}}m.ColorConverters=G},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.XfaLayer=void 0;var G=M(145);class V{static setupStorage($,D,B,R,U){const K=R.getValue(D,{value:null});switch(B.name){case"textarea":if(K.value!==null&&($.textContent=K.value),U==="print")break;$.addEventListener("input",z=>{R.setValue(D,{value:z.target.value})});break;case"input":if(B.attributes.type==="radio"||B.attributes.type==="checkbox"){if(K.value===B.attributes.xfaOn?$.setAttribute("checked",!0):K.value===B.attributes.xfaOff&&$.removeAttribute("checked"),U==="print")break;$.addEventListener("change",z=>{R.setValue(D,{value:z.target.checked?z.target.getAttribute("xfaOn"):z.target.getAttribute("xfaOff")})})}else{if(K.value!==null&&$.setAttribute("value",K.value),U==="print")break;$.addEventListener("input",z=>{R.setValue(D,{value:z.target.value})})}break;case"select":if(K.value!==null)for(const z of B.children)z.attributes.value===K.value&&(z.attributes.selected=!0);$.addEventListener("input",z=>{const e=z.target.options,ae=e.selectedIndex===-1?"":e[e.selectedIndex].value;R.setValue(D,{value:ae})});break}}static setAttributes($){let{html:D,element:B,storage:R=null,intent:U,linkService:K}=$;const{attributes:z}=B,e=D instanceof HTMLAnchorElement;z.type==="radio"&&(z.name=`${z.name}-${U}`);for(const[ae,ie]of Object.entries(z))if(ie!=null)switch(ae){case"class":ie.length&&D.setAttribute(ae,ie.join(" "));break;case"dataId":break;case"id":D.setAttribute("data-element-id",ie);break;case"style":Object.assign(D.style,ie);break;case"textContent":D.textContent=ie;break;default:(!e||ae!=="href"&&ae!=="newWindow")&&D.setAttribute(ae,ie)}e&&K.addLinkAttributes(D,z.href,z.newWindow),R&&z.dataId&&this.setupStorage(D,z.dataId,B,R)}static render($){const D=$.annotationStorage,B=$.linkService,R=$.xfaHtml,U=$.intent||"display",K=document.createElement(R.name);R.attributes&&this.setAttributes({html:K,element:R,intent:U,linkService:B});const z=[[R,-1,K]],e=$.div;if(e.append(K),$.viewport){const he=`matrix(${$.viewport.transform.join(",")})`;e.style.transform=he}U!=="richText"&&e.setAttribute("class","xfaLayer xfaFont");const ae=[];for(;z.length>0;){var ie;const[he,J,X]=z.at(-1);if(J+1===he.children.length){z.pop();continue}const W=he.children[++z.at(-1)[1]];if(W===null)continue;const{name:L}=W;if(L==="#text"){const ce=document.createTextNode(W.value);ae.push(ce),X.append(ce);continue}let Q;if(W!=null&&(ie=W.attributes)!==null&&ie!==void 0&&ie.xmlns?Q=document.createElementNS(W.attributes.xmlns,L):Q=document.createElement(L),X.append(Q),W.attributes&&this.setAttributes({html:Q,element:W,storage:D,intent:U,linkService:B}),W.children&&W.children.length>0)z.push([W,-1,Q]);else if(W.value){const ce=document.createTextNode(W.value);G.XfaText.shouldBuildText(L)&&ae.push(ce),Q.append(ce)}}for(const he of e.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))he.setAttribute("readOnly",!0);return{textDivs:ae}}static update($){const D=`matrix(${$.viewport.transform.join(",")})`;$.div.style.transform=D,$.div.hidden=!1}}m.XfaLayer=V},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.TextLayerRenderTask=void 0,m.renderTextLayer=X;var G=M(1),V=M(133);const q=1e5,$=30,D=.8,B=new Map,R=/^\s+$/g;function U(W,L){const Q=B.get(W);if(Q)return Q;L.save(),L.font=`${$}px ${W}`;const ce=L.measureText("");let de=ce.fontBoundingBoxAscent,oe=Math.abs(ce.fontBoundingBoxDescent);if(de){L.restore();const me=de/(de+oe);return B.set(W,me),me}L.strokeStyle="red",L.clearRect(0,0,$,$),L.strokeText("g",0,0);let se=L.getImageData(0,0,$,$).data;oe=0;for(let me=se.length-1-3;me>=0;me-=4)if(se[me]>0){oe=Math.ceil(me/4/$);break}L.clearRect(0,0,$,$),L.strokeText("A",0,$),se=L.getImageData(0,0,$,$).data,de=0;for(let me=0,Ee=se.length;me0){de=$-Math.floor(me/4/$);break}if(L.restore(),de){const me=de/(de+oe);return B.set(W,me),me}return B.set(W,D),D}function K(W,L,Q,ce){const de=document.createElement("span"),oe=W._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:L.str!=="",hasEOL:L.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:L.str!=="",hasEOL:L.hasEOL,fontSize:0};W._textDivs.push(de);const se=G.Util.transform(W._viewport.transform,L.transform);let me=Math.atan2(se[1],se[0]);const Ee=Q[L.fontName];Ee.vertical&&(me+=Math.PI/2);const ke=Math.hypot(se[2],se[3]),xe=ke*U(Ee.fontFamily,ce);let fe,ve;me===0?(fe=se[4],ve=se[5]-xe):(fe=se[4]+xe*Math.sin(me),ve=se[5]-xe*Math.cos(me)),de.style.left=`${fe}px`,de.style.top=`${ve}px`,de.style.fontSize=`${ke}px`,de.style.fontFamily=Ee.fontFamily,oe.fontSize=ke,de.setAttribute("role","presentation"),de.textContent=L.str,de.dir=L.dir,W._fontInspectorEnabled&&(de.dataset.fontName=L.fontName),me!==0&&(oe.angle=me*(180/Math.PI));let ye=!1;if(L.str.length>1||W._enhanceTextSelection&&R.test(L.str))ye=!0;else if(L.str!==" "&&L.transform[0]!==L.transform[3]){const Ce=Math.abs(L.transform[0]),pe=Math.abs(L.transform[3]);Ce!==pe&&Math.max(Ce,pe)/Math.min(Ce,pe)>1.5&&(ye=!0)}if(ye&&(Ee.vertical?oe.canvasWidth=L.height*W._viewport.scale:oe.canvasWidth=L.width*W._viewport.scale),W._textDivProperties.set(de,oe),W._textContentStream&&W._layoutText(de),W._enhanceTextSelection&&oe.hasText){let Ce=1,pe=0;me!==0&&(Ce=Math.cos(me),pe=Math.sin(me));const _e=(Ee.vertical?L.height:L.width)*W._viewport.scale,Ge=ke;let Te,Ne;me!==0?(Te=[Ce,pe,-pe,Ce,fe,ve],Ne=G.Util.getAxialAlignedBoundingBox([0,0,_e,Ge],Te)):Ne=[fe,ve,fe+_e,ve+Ge],W._bounds.push({left:Ne[0],top:Ne[1],right:Ne[2],bottom:Ne[3],div:de,size:[_e,Ge],m:Te})}}function z(W){if(W._canceled)return;const L=W._textDivs,Q=W._capability,ce=L.length;if(ce>q){W._renderingDone=!0,Q.resolve();return}if(!W._textContentStream)for(let de=0;de0&&(ce=ce?Math.min(oe,ce):oe)}return ce}function ae(W){const L=W._bounds,Q=W._viewport,ce=ie(Q.width,Q.height,L);for(let de=0;de=0&&ce[se].start>=de.y2;)se--;let me,Ee,ke,xe,fe=-1/0;for(ke=oe;ke<=se;ke++){me=ce[ke],Ee=me.boundary;let Ce;Ee.x2>de.x1?Ce=Ee.index>de.index?Ee.x1New:de.x1:Ee.x2New===void 0?Ce=(Ee.x2+de.x1)/2:Ce=Ee.x2New,Ce>fe&&(fe=Ce)}for(de.x1New=fe,ke=oe;ke<=se;ke++)me=ce[ke],Ee=me.boundary,Ee.x2New===void 0?Ee.x2>de.x1?Ee.index>de.index&&(Ee.x2New=Ee.x2):Ee.x2New=fe:Ee.x2New>fe&&(Ee.x2New=Math.max(fe,Ee.x2));const ve=[];let ye=null;for(ke=oe;ke<=se;ke++){me=ce[ke],Ee=me.boundary;const Ce=Ee.x2>de.x2?Ee:de;ye===Ce?ve.at(-1).end=me.end:(ve.push({start:me.start,end:me.end,boundary:Ce}),ye=Ce)}for(ce[oe].start=0&&ce[xe].start>=Ee.y1;xe--)Ce=ce[xe].boundary===Ee;for(xe=se+1;!Ce&&xe{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new G.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),this._renderTimer!==null&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(L,Q){for(let ce=0,de=L.length;ce0){const me=this._devicePixelRatio*Q.canvasWidth/se;this._enhanceTextSelection&&(Q.scale=me),ce=`scaleX(${me})`}}if(Q.angle!==0&&(ce=`rotate(${Q.angle}deg) ${ce}`),ce.length>0&&(this._enhanceTextSelection&&(Q.originalTransform=ce),L.style.transform=ce),Q.hasText&&this._container.append(L),Q.hasEOL){const de=document.createElement("br");de.setAttribute("role","presentation"),this._container.append(de)}}_render(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;const Q=(0,G.createPromiseCapability)();let ce=Object.create(null);const de=this._document.createElement("canvas");if(de.height=de.width=$,this._layoutTextCtx=de.getContext("2d",{alpha:!1}),this._textContent){const oe=this._textContent.items,se=this._textContent.styles;this._processItems(oe,se),Q.resolve()}else if(this._textContentStream){const oe=()=>{this._reader.read().then(se=>{let{value:me,done:Ee}=se;if(Ee){Q.resolve();return}Object.assign(ce,me.styles),this._processItems(me.items,ce),oe()},Q.reject)};this._reader=this._textContentStream.getReader(),oe()}else throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');Q.promise.then(()=>{ce=null,L?this._renderTimer=setTimeout(()=>{z(this),this._renderTimer=null},L):z(this)},this._capability.reject)}expandTextDivs(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this._enhanceTextSelection||!this._renderingDone)return;this._bounds!==null&&(ae(this),this._bounds=null);const Q=[],ce=[];for(let de=0,oe=this._textDivs.length;de0?(ce.push(`${me.paddingTop}px`),Q.push(`translateY(${-me.paddingTop}px)`)):ce.push(0),me.paddingRight>0?ce.push(`${me.paddingRight/me.scale}px`):ce.push(0),me.paddingBottom>0?ce.push(`${me.paddingBottom}px`):ce.push(0),me.paddingLeft>0?(ce.push(`${me.paddingLeft/me.scale}px`),Q.push(`translateX(${-me.paddingLeft/me.scale}px)`)):ce.push(0),se.style.padding=ce.join(" "),Q.length&&(se.style.transform=Q.join(" "))):(se.style.padding=null,se.style.transform=me.originalTransform))}}}m.TextLayerRenderTask=J;function X(W){const L=new J({textContent:W.textContent,textContentStream:W.textContentStream,container:W.container,viewport:W.viewport,textDivs:W.textDivs,textContentItemsStr:W.textContentItemsStr,enhanceTextSelection:W.enhanceTextSelection});return L._render(W.timeout),L}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.SVGGraphics=void 0;var G=M(133),V=M(1),q=M(3);let $=class{constructor(){(0,V.unreachable)("Not implemented: SVGGraphics")}};m.SVGGraphics=$;{let ie=function(Q){let ce=[];const de=[];for(const oe of Q){if(oe.fn==="save"){ce.push({fnId:92,fn:"group",items:[]}),de.push(ce),ce=ce.at(-1).items;continue}oe.fn==="restore"?ce=de.pop():ce.push(oe)}return ce},he=function(Q){if(Number.isInteger(Q))return Q.toString();const ce=Q.toFixed(10);let de=ce.length-1;if(ce[de]!=="0")return ce;do de--;while(ce[de]==="0");return ce.substring(0,ce[de]==="."?de:de+1)},J=function(Q){if(Q[4]===0&&Q[5]===0){if(Q[1]===0&&Q[2]===0)return Q[0]===1&&Q[3]===1?"":`scale(${he(Q[0])} ${he(Q[3])})`;if(Q[0]===Q[3]&&Q[1]===-Q[2]){const ce=Math.acos(Q[0])*180/Math.PI;return`rotate(${he(ce)})`}}else if(Q[0]===1&&Q[1]===0&&Q[2]===0&&Q[3]===1)return`translate(${he(Q[4])} ${he(Q[5])})`;return`matrix(${he(Q[0])} ${he(Q[1])} ${he(Q[2])} ${he(Q[3])} ${he(Q[4])} ${he(Q[5])})`};const D={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},B="http://www.w3.org/XML/1998/namespace",R="http://www.w3.org/1999/xlink",U=["butt","round","square"],K=["miter","round","bevel"],z=function(Q){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(URL.createObjectURL&&typeof Blob<"u"&&!de)return URL.createObjectURL(new Blob([Q],{type:ce}));const oe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let se=`data:${ce};base64,`;for(let me=0,Ee=Q.length;me>2,ye=(ke&3)<<4|xe>>4,Ce=me+1>6:64,pe=me+2>1&2147483647:ve=ve>>1&2147483647;de[fe]=ve}function oe(fe,ve,ye){let Ce=-1;for(let pe=ve;pe>>8^Ge}return Ce^-1}function se(fe,ve,ye,Ce){let pe=Ce;const _e=ve.length;ye[pe]=_e>>24&255,ye[pe+1]=_e>>16&255,ye[pe+2]=_e>>8&255,ye[pe+3]=_e&255,pe+=4,ye[pe]=fe.charCodeAt(0)&255,ye[pe+1]=fe.charCodeAt(1)&255,ye[pe+2]=fe.charCodeAt(2)&255,ye[pe+3]=fe.charCodeAt(3)&255,pe+=4,ye.set(ve,pe),pe+=ve.length;const Ge=oe(ye,Ce+4,pe);ye[pe]=Ge>>24&255,ye[pe+1]=Ge>>16&255,ye[pe+2]=Ge>>8&255,ye[pe+3]=Ge&255}function me(fe,ve,ye){let Ce=1,pe=0;for(let _e=ve;_e=8?ve=fe:ve=Buffer.from(fe);const ye=require$$7.deflateSync(ve,{level:9});return ye instanceof Uint8Array?ye:new Uint8Array(ye)}catch(ve){(0,V.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+ve)}return ke(fe)}function ke(fe){let ve=fe.length;const ye=65535,Ce=Math.ceil(ve/ye),pe=new Uint8Array(2+ve+Ce*5+4);let _e=0;pe[_e++]=120,pe[_e++]=156;let Ge=0;for(;ve>ye;)pe[_e++]=0,pe[_e++]=255,pe[_e++]=255,pe[_e++]=0,pe[_e++]=0,pe.set(fe.subarray(Ge,Ge+ye),_e),_e+=ye,Ge+=ye,ve-=ye;pe[_e++]=1,pe[_e++]=ve&255,pe[_e++]=ve>>8&255,pe[_e++]=~ve&65535&255,pe[_e++]=(~ve&65535)>>8&255,pe.set(fe.subarray(Ge),_e),_e+=fe.length-Ge;const Te=me(fe,0,fe.length);return pe[_e++]=Te>>24&255,pe[_e++]=Te>>16&255,pe[_e++]=Te>>8&255,pe[_e++]=Te&255,pe}function xe(fe,ve,ye,Ce){const pe=fe.width,_e=fe.height;let Ge,Te,Ne;const Ze=fe.data;switch(ve){case V.ImageKind.GRAYSCALE_1BPP:Te=0,Ge=1,Ne=pe+7>>3;break;case V.ImageKind.RGB_24BPP:Te=2,Ge=8,Ne=pe*3;break;case V.ImageKind.RGBA_32BPP:Te=6,Ge=8,Ne=pe*4;break;default:throw new Error("invalid format")}const ze=new Uint8Array((1+Ne)*_e);let Ae=0,De=0;for(let Ve=0;Ve<_e;++Ve)ze[Ae++]=0,ze.set(Ze.subarray(De,De+Ne),Ae),De+=Ne,Ae+=Ne;if(ve===V.ImageKind.GRAYSCALE_1BPP&&Ce){Ae=0;for(let Ve=0;Ve<_e;Ve++){Ae++;for(let je=0;je>24&255,pe>>16&255,pe>>8&255,pe&255,_e>>24&255,_e>>16&255,_e>>8&255,_e&255,Ge,Te,0,0,0]),we=Ee(ze),Ie=Q.length+ce*3+Ue.length+we.length,Be=new Uint8Array(Ie);let Ke=0;return Be.set(Q,Ke),Ke+=Q.length,se("IHDR",Ue,Be,Ke),Ke+=ce+Ue.length,se("IDATA",we,Be,Ke),Ke+=ce+we.length,se("IEND",new Uint8Array(0),Be,Ke),z(Be,"image/png",ye)}return function(ve,ye,Ce){const pe=ve.kind===void 0?V.ImageKind.GRAYSCALE_1BPP:ve.kind;return xe(ve,pe,ye,Ce)}}();class ae{constructor(){this.fontSizeScale=1,this.fontWeight=D.fontWeight,this.fontSize=0,this.textMatrix=V.IDENTITY_MATRIX,this.fontMatrix=V.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=V.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=D.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(ce,de){this.x=ce,this.y=de}}let X=0,W=0,L=0;m.SVGGraphics=$=class{constructor(Q,ce){let de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(0,G.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new G.DOMSVGFactory,this.current=new ae,this.transformMatrix=V.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=Q,this.objs=ce,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!de,this._operatorIdMapping=[];for(const oe in V.OPS)this._operatorIdMapping[V.OPS[oe]]=oe}save(){this.transformStack.push(this.transformMatrix);const Q=this.current;this.extraStack.push(Q),this.current=Q.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(Q){this.save(),this.executeOpTree(Q),this.restore()}loadDependencies(Q){const ce=Q.fnArray,de=Q.argsArray;for(let oe=0,se=ce.length;oe{Ee.get(me,xe)});this.current.dependencies.push(ke)}return Promise.all(this.current.dependencies)}transform(Q,ce,de,oe,se,me){const Ee=[Q,ce,de,oe,se,me];this.transformMatrix=V.Util.transform(this.transformMatrix,Ee),this.tgrp=null}getSVG(Q,ce){this.viewport=ce;const de=this._initialize(ce);return this.loadDependencies(Q).then(()=>(this.transformMatrix=V.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(Q)),de))}convertOpList(Q){const ce=this._operatorIdMapping,de=Q.argsArray,oe=Q.fnArray,se=[];for(let me=0,Ee=oe.length;me0&&(this.current.lineWidth=Q)}setLineCap(Q){this.current.lineCap=U[Q]}setLineJoin(Q){this.current.lineJoin=K[Q]}setMiterLimit(Q){this.current.miterLimit=Q}setStrokeAlpha(Q){this.current.strokeAlpha=Q}setStrokeRGBColor(Q,ce,de){this.current.strokeColor=V.Util.makeHexColor(Q,ce,de)}setFillAlpha(Q){this.current.fillAlpha=Q}setFillRGBColor(Q,ce,de){this.current.fillColor=V.Util.makeHexColor(Q,ce,de),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(Q){this.current.strokeColor=this._makeColorN_Pattern(Q)}setFillColorN(Q){this.current.fillColor=this._makeColorN_Pattern(Q)}shadingFill(Q){const ce=this.viewport.width,de=this.viewport.height,oe=V.Util.inverseTransform(this.transformMatrix),se=V.Util.applyTransform([0,0],oe),me=V.Util.applyTransform([0,de],oe),Ee=V.Util.applyTransform([ce,0],oe),ke=V.Util.applyTransform([ce,de],oe),xe=Math.min(se[0],me[0],Ee[0],ke[0]),fe=Math.min(se[1],me[1],Ee[1],ke[1]),ve=Math.max(se[0],me[0],Ee[0],ke[0]),ye=Math.max(se[1],me[1],Ee[1],ke[1]),Ce=this.svgFactory.createElement("svg:rect");Ce.setAttributeNS(null,"x",xe),Ce.setAttributeNS(null,"y",fe),Ce.setAttributeNS(null,"width",ve-xe),Ce.setAttributeNS(null,"height",ye-fe),Ce.setAttributeNS(null,"fill",this._makeShadingPattern(Q)),this.current.fillAlpha<1&&Ce.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(Ce)}_makeColorN_Pattern(Q){return Q[0]==="TilingPattern"?this._makeTilingPattern(Q):this._makeShadingPattern(Q)}_makeTilingPattern(Q){const ce=Q[1],de=Q[2],oe=Q[3]||V.IDENTITY_MATRIX,[se,me,Ee,ke]=Q[4],xe=Q[5],fe=Q[6],ve=Q[7],ye=`shading${L++}`,[Ce,pe,_e,Ge]=V.Util.normalizeRect([...V.Util.applyTransform([se,me],oe),...V.Util.applyTransform([Ee,ke],oe)]),[Te,Ne]=V.Util.singularValueDecompose2dScale(oe),Ze=xe*Te,ze=fe*Ne,Ae=this.svgFactory.createElement("svg:pattern");Ae.setAttributeNS(null,"id",ye),Ae.setAttributeNS(null,"patternUnits","userSpaceOnUse"),Ae.setAttributeNS(null,"width",Ze),Ae.setAttributeNS(null,"height",ze),Ae.setAttributeNS(null,"x",`${Ce}`),Ae.setAttributeNS(null,"y",`${pe}`);const De=this.svg,Ue=this.transformMatrix,we=this.current.fillColor,Ie=this.current.strokeColor,Be=this.svgFactory.create(_e-Ce,Ge-pe);if(this.svg=Be,this.transformMatrix=oe,ve===2){const Ke=V.Util.makeHexColor(...ce);this.current.fillColor=Ke,this.current.strokeColor=Ke}return this.executeOpTree(this.convertOpList(de)),this.svg=De,this.transformMatrix=Ue,this.current.fillColor=we,this.current.strokeColor=Ie,Ae.append(Be.childNodes[0]),this.defs.append(Ae),`url(#${ye})`}_makeShadingPattern(Q){switch(typeof Q=="string"&&(Q=this.objs.get(Q)),Q[0]){case"RadialAxial":const ce=`shading${L++}`,de=Q[3];let oe;switch(Q[1]){case"axial":const se=Q[4],me=Q[5];oe=this.svgFactory.createElement("svg:linearGradient"),oe.setAttributeNS(null,"id",ce),oe.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),oe.setAttributeNS(null,"x1",se[0]),oe.setAttributeNS(null,"y1",se[1]),oe.setAttributeNS(null,"x2",me[0]),oe.setAttributeNS(null,"y2",me[1]);break;case"radial":const Ee=Q[4],ke=Q[5],xe=Q[6],fe=Q[7];oe=this.svgFactory.createElement("svg:radialGradient"),oe.setAttributeNS(null,"id",ce),oe.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),oe.setAttributeNS(null,"cx",ke[0]),oe.setAttributeNS(null,"cy",ke[1]),oe.setAttributeNS(null,"r",fe),oe.setAttributeNS(null,"fx",Ee[0]),oe.setAttributeNS(null,"fy",Ee[1]),oe.setAttributeNS(null,"fr",xe);break;default:throw new Error(`Unknown RadialAxial type: ${Q[1]}`)}for(const se of de){const me=this.svgFactory.createElement("svg:stop");me.setAttributeNS(null,"offset",se[0]),me.setAttributeNS(null,"stop-color",se[1]),oe.append(me)}return this.defs.append(oe),`url(#${ce})`;case"Mesh":return(0,V.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${Q[0]}`)}}setDash(Q,ce){this.current.dashArray=Q,this.current.dashPhase=ce}constructPath(Q,ce){const de=this.current;let oe=de.x,se=de.y,me=[],Ee=0;for(const ke of Q)switch(ke|0){case V.OPS.rectangle:oe=ce[Ee++],se=ce[Ee++];const xe=ce[Ee++],fe=ce[Ee++],ve=oe+xe,ye=se+fe;me.push("M",he(oe),he(se),"L",he(ve),he(se),"L",he(ve),he(ye),"L",he(oe),he(ye),"Z");break;case V.OPS.moveTo:oe=ce[Ee++],se=ce[Ee++],me.push("M",he(oe),he(se));break;case V.OPS.lineTo:oe=ce[Ee++],se=ce[Ee++],me.push("L",he(oe),he(se));break;case V.OPS.curveTo:oe=ce[Ee+4],se=ce[Ee+5],me.push("C",he(ce[Ee]),he(ce[Ee+1]),he(ce[Ee+2]),he(ce[Ee+3]),he(oe),he(se)),Ee+=6;break;case V.OPS.curveTo2:me.push("C",he(oe),he(se),he(ce[Ee]),he(ce[Ee+1]),he(ce[Ee+2]),he(ce[Ee+3])),oe=ce[Ee+2],se=ce[Ee+3],Ee+=4;break;case V.OPS.curveTo3:oe=ce[Ee+2],se=ce[Ee+3],me.push("C",he(ce[Ee]),he(ce[Ee+1]),he(oe),he(se),he(oe),he(se)),Ee+=4;break;case V.OPS.closePath:me.push("Z");break}me=me.join(" "),de.path&&Q.length>0&&Q[0]!==V.OPS.rectangle&&Q[0]!==V.OPS.moveTo?me=de.path.getAttributeNS(null,"d")+me:(de.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(de.path)),de.path.setAttributeNS(null,"d",me),de.path.setAttributeNS(null,"fill","none"),de.element=de.path,de.setCurrentPoint(oe,se)}endPath(){const Q=this.current;if(Q.path=null,!this.pendingClip)return;if(!Q.element){this.pendingClip=null;return}const ce=`clippath${X++}`,de=this.svgFactory.createElement("svg:clipPath");de.setAttributeNS(null,"id",ce),de.setAttributeNS(null,"transform",J(this.transformMatrix));const oe=Q.element.cloneNode(!0);if(this.pendingClip==="evenodd"?oe.setAttributeNS(null,"clip-rule","evenodd"):oe.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,de.append(oe),this.defs.append(de),Q.activeClipUrl){Q.clipGroup=null;for(const se of this.extraStack)se.clipGroup=null;de.setAttributeNS(null,"clip-path",Q.activeClipUrl)}Q.activeClipUrl=`url(#${ce})`,this.tgrp=null}clip(Q){this.pendingClip=Q}closePath(){const Q=this.current;if(Q.path){const ce=`${Q.path.getAttributeNS(null,"d")}Z`;Q.path.setAttributeNS(null,"d",ce)}}setLeading(Q){this.current.leading=-Q}setTextRise(Q){this.current.textRise=Q}setTextRenderingMode(Q){this.current.textRenderingMode=Q}setHScale(Q){this.current.textHScale=Q/100}setRenderingIntent(Q){}setFlatness(Q){}setGState(Q){for(const[ce,de]of Q)switch(ce){case"LW":this.setLineWidth(de);break;case"LC":this.setLineCap(de);break;case"LJ":this.setLineJoin(de);break;case"ML":this.setMiterLimit(de);break;case"D":this.setDash(de[0],de[1]);break;case"RI":this.setRenderingIntent(de);break;case"FL":this.setFlatness(de);break;case"Font":this.setFont(de);break;case"CA":this.setStrokeAlpha(de);break;case"ca":this.setFillAlpha(de);break;default:(0,V.warn)(`Unimplemented graphic state operator ${ce}`);break}}fill(){const Q=this.current;Q.element&&(Q.element.setAttributeNS(null,"fill",Q.fillColor),Q.element.setAttributeNS(null,"fill-opacity",Q.fillAlpha),this.endPath())}stroke(){const Q=this.current;Q.element&&(this._setStrokeAttributes(Q.element),Q.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(Q){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const de=this.current;let oe=de.dashArray;ce!==1&&oe.length>0&&(oe=oe.map(function(se){return ce*se})),Q.setAttributeNS(null,"stroke",de.strokeColor),Q.setAttributeNS(null,"stroke-opacity",de.strokeAlpha),Q.setAttributeNS(null,"stroke-miterlimit",he(de.miterLimit)),Q.setAttributeNS(null,"stroke-linecap",de.lineCap),Q.setAttributeNS(null,"stroke-linejoin",de.lineJoin),Q.setAttributeNS(null,"stroke-width",he(ce*de.lineWidth)+"px"),Q.setAttributeNS(null,"stroke-dasharray",oe.map(he).join(" ")),Q.setAttributeNS(null,"stroke-dashoffset",he(ce*de.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const Q=this.svgFactory.createElement("svg:rect");Q.setAttributeNS(null,"x","0"),Q.setAttributeNS(null,"y","0"),Q.setAttributeNS(null,"width","1px"),Q.setAttributeNS(null,"height","1px"),Q.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(Q)}paintImageXObject(Q){const ce=Q.startsWith("g_")?this.commonObjs.get(Q):this.objs.get(Q);if(!ce){(0,V.warn)(`Dependent image with object ID ${Q} is not ready yet`);return}this.paintInlineImageXObject(ce)}paintInlineImageXObject(Q,ce){const de=Q.width,oe=Q.height,se=e(Q,this.forceDataSchema,!!ce),me=this.svgFactory.createElement("svg:rect");me.setAttributeNS(null,"x","0"),me.setAttributeNS(null,"y","0"),me.setAttributeNS(null,"width",he(de)),me.setAttributeNS(null,"height",he(oe)),this.current.element=me,this.clip("nonzero");const Ee=this.svgFactory.createElement("svg:image");Ee.setAttributeNS(R,"xlink:href",se),Ee.setAttributeNS(null,"x","0"),Ee.setAttributeNS(null,"y",he(-oe)),Ee.setAttributeNS(null,"width",he(de)+"px"),Ee.setAttributeNS(null,"height",he(oe)+"px"),Ee.setAttributeNS(null,"transform",`scale(${he(1/de)} ${he(-1/oe)})`),ce?ce.append(Ee):this._ensureTransformGroup().append(Ee)}paintImageMaskXObject(Q){const ce=this.current,de=Q.width,oe=Q.height,se=ce.fillColor;ce.maskId=`mask${W++}`;const me=this.svgFactory.createElement("svg:mask");me.setAttributeNS(null,"id",ce.maskId);const Ee=this.svgFactory.createElement("svg:rect");Ee.setAttributeNS(null,"x","0"),Ee.setAttributeNS(null,"y","0"),Ee.setAttributeNS(null,"width",he(de)),Ee.setAttributeNS(null,"height",he(oe)),Ee.setAttributeNS(null,"fill",se),Ee.setAttributeNS(null,"mask",`url(#${ce.maskId})`),this.defs.append(me),this._ensureTransformGroup().append(Ee),this.paintInlineImageXObject(Q,me)}paintFormXObjectBegin(Q,ce){if(Array.isArray(Q)&&Q.length===6&&this.transform(Q[0],Q[1],Q[2],Q[3],Q[4],Q[5]),ce){const de=ce[2]-ce[0],oe=ce[3]-ce[1],se=this.svgFactory.createElement("svg:rect");se.setAttributeNS(null,"x",ce[0]),se.setAttributeNS(null,"y",ce[1]),se.setAttributeNS(null,"width",he(de)),se.setAttributeNS(null,"height",he(oe)),this.current.element=se,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(Q){const ce=this.svgFactory.create(Q.width,Q.height),de=this.svgFactory.createElement("svg:defs");ce.append(de),this.defs=de;const oe=this.svgFactory.createElement("svg:g");return oe.setAttributeNS(null,"transform",J(Q.transform)),ce.append(oe),this.svg=oe,ce}_ensureClipGroup(){if(!this.current.clipGroup){const Q=this.svgFactory.createElement("svg:g");Q.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(Q),this.current.clipGroup=Q}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",J(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.PDFNodeStream=void 0;var G=M(1),V=M(158);const q=require$$7,$=require$$7,D=require$$7,B=require$$7,R=/^file:\/\/\/[a-zA-Z]:\//;function U(W){const L=B.parse(W);return L.protocol==="file:"||L.host?L:/^[a-z]:[/\\]/i.test(W)?B.parse(`file:///${W}`):(L.host||(L.protocol="file:"),L)}class K{constructor(L){this.source=L,this.url=U(L.url),this.isHttp=this.url.protocol==="http:"||this.url.protocol==="https:",this.isFsUrl=this.url.protocol==="file:",this.httpHeaders=this.isHttp&&L.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var L,Q;return(L=(Q=this._fullRequestReader)===null||Q===void 0?void 0:Q._loaded)!==null&&L!==void 0?L:0}getFullReader(){return(0,G.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new J(this):new ie(this),this._fullRequestReader}getRangeReader(L,Q){if(Q<=this._progressiveDataLength)return null;const ce=this.isFsUrl?new X(this,L,Q):new he(this,L,Q);return this._rangeRequestReaders.push(ce),ce}cancelAllRequests(L){this._fullRequestReader&&this._fullRequestReader.cancel(L);for(const Q of this._rangeRequestReaders.slice(0))Q.cancel(L)}}m.PDFNodeStream=K;class z{constructor(L){this._url=L.url,this._done=!1,this._storedError=null,this.onProgress=null;const Q=L.source;this._contentLength=Q.length,this._loaded=0,this._filename=null,this._disableRange=Q.disableRange||!1,this._rangeChunkSize=Q.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!Q.disableStream,this._isRangeSupported=!Q.disableRange,this._readableStream=null,this._readCapability=(0,G.createPromiseCapability)(),this._headersCapability=(0,G.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const L=this._readableStream.read();return L===null?(this._readCapability=(0,G.createPromiseCapability)(),this.read()):(this._loaded+=L.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(L).buffer,done:!1})}cancel(L){if(!this._readableStream){this._error(L);return}this._readableStream.destroy(L)}_error(L){this._storedError=L,this._readCapability.resolve()}_setReadableStream(L){this._readableStream=L,L.on("readable",()=>{this._readCapability.resolve()}),L.on("end",()=>{L.destroy(),this._done=!0,this._readCapability.resolve()}),L.on("error",Q=>{this._error(Q)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new G.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class e{constructor(L){this._url=L.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,G.createPromiseCapability)();const Q=L.source;this._isStreamingSupported=!Q.disableStream}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const L=this._readableStream.read();return L===null?(this._readCapability=(0,G.createPromiseCapability)(),this.read()):(this._loaded+=L.length,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(L).buffer,done:!1})}cancel(L){if(!this._readableStream){this._error(L);return}this._readableStream.destroy(L)}_error(L){this._storedError=L,this._readCapability.resolve()}_setReadableStream(L){this._readableStream=L,L.on("readable",()=>{this._readCapability.resolve()}),L.on("end",()=>{L.destroy(),this._done=!0,this._readCapability.resolve()}),L.on("error",Q=>{this._error(Q)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function ae(W,L){return{protocol:W.protocol,auth:W.auth,host:W.hostname,port:W.port,path:W.path,method:"GET",headers:L}}class ie extends z{constructor(L){super(L);const Q=ce=>{if(ce.statusCode===404){const me=new G.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=me,this._headersCapability.reject(me);return}this._headersCapability.resolve(),this._setReadableStream(ce);const de=me=>this._readableStream.headers[me.toLowerCase()],{allowRangeRequests:oe,suggestedLength:se}=(0,V.validateRangeRequestCapabilities)({getResponseHeader:de,isHttp:L.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=oe,this._contentLength=se||this._contentLength,this._filename=(0,V.extractFilenameFromHeader)(de)};this._request=null,this._url.protocol==="http:"?this._request=$.request(ae(this._url,L.httpHeaders),Q):this._request=D.request(ae(this._url,L.httpHeaders),Q),this._request.on("error",ce=>{this._storedError=ce,this._headersCapability.reject(ce)}),this._request.end()}}class he extends e{constructor(L,Q,ce){super(L),this._httpHeaders={};for(const oe in L.httpHeaders){const se=L.httpHeaders[oe];typeof se>"u"||(this._httpHeaders[oe]=se)}this._httpHeaders.Range=`bytes=${Q}-${ce-1}`;const de=oe=>{if(oe.statusCode===404){const se=new G.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=se;return}this._setReadableStream(oe)};this._request=null,this._url.protocol==="http:"?this._request=$.request(ae(this._url,this._httpHeaders),de):this._request=D.request(ae(this._url,this._httpHeaders),de),this._request.on("error",oe=>{this._storedError=oe}),this._request.end()}}class J extends z{constructor(L){super(L);let Q=decodeURIComponent(this._url.path);R.test(this._url.href)&&(Q=Q.replace(/^\//,"")),q.lstat(Q,(ce,de)=>{if(ce){ce.code==="ENOENT"&&(ce=new G.MissingPDFException(`Missing PDF "${Q}".`)),this._storedError=ce,this._headersCapability.reject(ce);return}this._contentLength=de.size,this._setReadableStream(q.createReadStream(Q)),this._headersCapability.resolve()})}}class X extends e{constructor(L,Q,ce){super(L);let de=decodeURIComponent(this._url.path);R.test(this._url.href)&&(de=de.replace(/^\//,"")),this._setReadableStream(q.createReadStream(de,{start:Q,end:ce-1}))}}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.createResponseStatusError=B,m.extractFilenameFromHeader=D,m.validateRangeRequestCapabilities=$,m.validateResponseStatus=R;var G=M(1),V=M(159),q=M(133);function $(U){let{getResponseHeader:K,isHttp:z,rangeChunkSize:e,disableRange:ae}=U;const ie={allowRangeRequests:!1,suggestedLength:void 0},he=parseInt(K("Content-Length"),10);return!Number.isInteger(he)||(ie.suggestedLength=he,he<=2*e)||ae||!z||K("Accept-Ranges")!=="bytes"||(K("Content-Encoding")||"identity")!=="identity"||(ie.allowRangeRequests=!0),ie}function D(U){const K=U("Content-Disposition");if(K){let z=(0,V.getFilenameFromContentDispositionHeader)(K);if(z.includes("%"))try{z=decodeURIComponent(z)}catch{}if((0,q.isPdfFile)(z))return z}return null}function B(U,K){return U===404||U===0&&K.startsWith("file:")?new G.MissingPDFException('Missing PDF "'+K+'".'):new G.UnexpectedResponseException(`Unexpected server response (${U}) while retrieving PDF "${K}".`,U)}function R(U){return U===200||U===206}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.getFilenameFromContentDispositionHeader=V;var G=M(1);function V(q){let $=!0,D=B("filename\\*","i").exec(q);if(D){D=D[1];let ie=z(D);return ie=unescape(ie),ie=e(ie),ie=ae(ie),U(ie)}if(D=K(q),D){const ie=ae(D);return U(ie)}if(D=B("filename","i").exec(q),D){D=D[1];let ie=z(D);return ie=ae(ie),U(ie)}function B(ie,he){return new RegExp("(?:^|;)\\s*"+ie+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',he)}function R(ie,he){if(ie){if(!/^[\x00-\xFF]+$/.test(he))return he;try{const J=new TextDecoder(ie,{fatal:!0}),X=(0,G.stringToBytes)(he);he=J.decode(X),$=!1}catch{}}return he}function U(ie){return $&&/[\x80-\xff]/.test(ie)&&(ie=R("utf-8",ie),$&&(ie=R("iso-8859-1",ie))),ie}function K(ie){const he=[];let J;const X=B("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(J=X.exec(ie))!==null;){let[,L,Q,ce]=J;if(L=parseInt(L,10),L in he){if(L===0)break;continue}he[L]=[Q,ce]}const W=[];for(let L=0;L{Object.defineProperty(m,"__esModule",{value:!0}),m.PDFNetworkStream=void 0;var G=M(1),V=M(158);const q=200,$=206;function D(z){const e=z.response;return typeof e!="string"?e:(0,G.stringToBytes)(e).buffer}class B{constructor(e){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.url=e,this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&ae.httpHeaders||Object.create(null),this.withCredentials=ae.withCredentials||!1,this.getXhr=ae.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(e,ae,ie){const he={begin:e,end:ae};for(const J in ie)he[J]=ie[J];return this.request(he)}requestFull(e){return this.request(e)}request(e){const ae=this.getXhr(),ie=this.currXhrId++,he=this.pendingRequests[ie]={xhr:ae};ae.open("GET",this.url),ae.withCredentials=this.withCredentials;for(const J in this.httpHeaders){const X=this.httpHeaders[J];typeof X>"u"||ae.setRequestHeader(J,X)}return this.isHttp&&"begin"in e&&"end"in e?(ae.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),he.expectedStatus=$):he.expectedStatus=q,ae.responseType="arraybuffer",e.onError&&(ae.onerror=function(J){e.onError(ae.status)}),ae.onreadystatechange=this.onStateChange.bind(this,ie),ae.onprogress=this.onProgress.bind(this,ie),he.onHeadersReceived=e.onHeadersReceived,he.onDone=e.onDone,he.onError=e.onError,he.onProgress=e.onProgress,ae.send(null),ie}onProgress(e,ae){var ie;const he=this.pendingRequests[e];he&&((ie=he.onProgress)===null||ie===void 0||ie.call(he,ae))}onStateChange(e,ae){const ie=this.pendingRequests[e];if(!ie)return;const he=ie.xhr;if(he.readyState>=2&&ie.onHeadersReceived&&(ie.onHeadersReceived(),delete ie.onHeadersReceived),he.readyState!==4||!(e in this.pendingRequests))return;if(delete this.pendingRequests[e],he.status===0&&this.isHttp){var J;(J=ie.onError)===null||J===void 0||J.call(ie,he.status);return}const X=he.status||q;if(!(X===q&&ie.expectedStatus===$)&&X!==ie.expectedStatus){var L;(L=ie.onError)===null||L===void 0||L.call(ie,he.status);return}const Q=D(he);if(X===$){const de=he.getResponseHeader("Content-Range"),oe=/bytes (\d+)-(\d+)\/(\d+)/.exec(de);ie.onDone({begin:parseInt(oe[1],10),chunk:Q})}else if(Q)ie.onDone({begin:0,chunk:Q});else{var ce;(ce=ie.onError)===null||ce===void 0||ce.call(ie,he.status)}}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){const ae=this.pendingRequests[e].xhr;delete this.pendingRequests[e],ae.abort()}}class R{constructor(e){this._source=e,this._manager=new B(e.url,{httpHeaders:e.httpHeaders,withCredentials:e.withCredentials}),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){const ae=this._rangeRequestReaders.indexOf(e);ae>=0&&this._rangeRequestReaders.splice(ae,1)}getFullReader(){return(0,G.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new U(this._manager,this._source),this._fullRequestReader}getRangeReader(e,ae){const ie=new K(this._manager,e,ae);return ie.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(ie),ie}cancelAllRequests(e){var ae;(ae=this._fullRequestReader)===null||ae===void 0||ae.cancel(e);for(const ie of this._rangeRequestReaders.slice(0))ie.cancel(e)}}m.PDFNetworkStream=R;class U{constructor(e,ae){this._manager=e;const ie={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=ae.url,this._fullRequestId=e.requestFull(ie),this._headersReceivedCapability=(0,G.createPromiseCapability)(),this._disableRange=ae.disableRange||!1,this._contentLength=ae.length,this._rangeChunkSize=ae.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const e=this._fullRequestId,ae=this._manager.getRequestXhr(e),ie=X=>ae.getResponseHeader(X),{allowRangeRequests:he,suggestedLength:J}=(0,V.validateRangeRequestCapabilities)({getResponseHeader:ie,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});he&&(this._isRangeSupported=!0),this._contentLength=J||this._contentLength,this._filename=(0,V.extractFilenameFromHeader)(ie),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}_onDone(e){if(e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const ae of this._requests)ae.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(e){this._storedError=(0,V.createResponseStatusError)(e,this._url),this._headersReceivedCapability.reject(this._storedError);for(const ae of this._requests)ae.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(e){var ae;(ae=this.onProgress)===null||ae===void 0||ae.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}async read(){if(this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=(0,G.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersReceivedCapability.reject(e);for(const ae of this._requests)ae.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class K{constructor(e,ae,ie){this._manager=e;const he={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=e.url,this._requestId=e.requestRange(ae,ie,he),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){var e;(e=this.onClosed)===null||e===void 0||e.call(this,this)}_onDone(e){const ae=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:ae,done:!1}):this._queuedChunk=ae,this._done=!0;for(const ie of this._requests)ie.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(e){this._storedError=(0,V.createResponseStatusError)(e,this._url);for(const ae of this._requests)ae.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(e){if(!this.isStreamingSupported){var ae;(ae=this.onProgress)===null||ae===void 0||ae.call(this,{loaded:e.loaded})}}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){const ae=this._queuedChunk;return this._queuedChunk=null,{value:ae,done:!1}}if(this._done)return{value:void 0,done:!0};const e=(0,G.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const ae of this._requests)ae.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.PDFFetchStream=void 0;var G=M(1),V=M(158);function q(U,K,z){return{method:"GET",headers:U,signal:z.signal,mode:"cors",credentials:K?"include":"same-origin",redirect:"follow"}}function $(U){const K=new Headers;for(const z in U){const e=U[z];typeof e>"u"||K.append(z,e)}return K}class D{constructor(K){this.source=K,this.isHttp=/^https?:/i.test(K.url),this.httpHeaders=this.isHttp&&K.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var K,z;return(K=(z=this._fullRequestReader)===null||z===void 0?void 0:z._loaded)!==null&&K!==void 0?K:0}getFullReader(){return(0,G.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new B(this),this._fullRequestReader}getRangeReader(K,z){if(z<=this._progressiveDataLength)return null;const e=new R(this,K,z);return this._rangeRequestReaders.push(e),e}cancelAllRequests(K){this._fullRequestReader&&this._fullRequestReader.cancel(K);for(const z of this._rangeRequestReaders.slice(0))z.cancel(K)}}m.PDFFetchStream=D;class B{constructor(K){this._stream=K,this._reader=null,this._loaded=0,this._filename=null;const z=K.source;this._withCredentials=z.withCredentials||!1,this._contentLength=z.length,this._headersCapability=(0,G.createPromiseCapability)(),this._disableRange=z.disableRange||!1,this._rangeChunkSize=z.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!z.disableStream,this._isRangeSupported=!z.disableRange,this._headers=$(this._stream.httpHeaders);const e=z.url;fetch(e,q(this._headers,this._withCredentials,this._abortController)).then(ae=>{if(!(0,V.validateResponseStatus)(ae.status))throw(0,V.createResponseStatusError)(ae.status,e);this._reader=ae.body.getReader(),this._headersCapability.resolve();const ie=X=>ae.headers.get(X),{allowRangeRequests:he,suggestedLength:J}=(0,V.validateRangeRequestCapabilities)({getResponseHeader:ie,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=he,this._contentLength=J||this._contentLength,this._filename=(0,V.extractFilenameFromHeader)(ie),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new G.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;const{value:K,done:z}=await this._reader.read();return z?{value:K,done:z}:(this._loaded+=K.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(K).buffer,done:!1})}cancel(K){this._reader&&this._reader.cancel(K),this._abortController.abort()}}class R{constructor(K,z,e){this._stream=K,this._reader=null,this._loaded=0;const ae=K.source;this._withCredentials=ae.withCredentials||!1,this._readCapability=(0,G.createPromiseCapability)(),this._isStreamingSupported=!ae.disableStream,this._abortController=new AbortController,this._headers=$(this._stream.httpHeaders),this._headers.append("Range",`bytes=${z}-${e-1}`);const ie=ae.url;fetch(ie,q(this._headers,this._withCredentials,this._abortController)).then(he=>{if(!(0,V.validateResponseStatus)(he.status))throw(0,V.createResponseStatusError)(he.status,ie);this._readCapability.resolve(),this._reader=he.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;const{value:K,done:z}=await this._reader.read();return z?{value:K,done:z}:(this._loaded+=K.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(K).buffer,done:!1})}cancel(K){this._reader&&this._reader.cancel(K),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(k){var m=__webpack_module_cache__[k];if(m!==void 0)return m.exports;var M=__webpack_module_cache__[k]={exports:{}};return __webpack_modules__[k](M,M.exports,__w_pdfjs_require__),M.exports}var __webpack_exports__={};return(()=>{var k=__webpack_exports__;Object.defineProperty(k,"__esModule",{value:!0}),Object.defineProperty(k,"AnnotationEditorLayer",{enumerable:!0,get:function(){return V.AnnotationEditorLayer}}),Object.defineProperty(k,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return m.AnnotationEditorParamsType}}),Object.defineProperty(k,"AnnotationEditorType",{enumerable:!0,get:function(){return m.AnnotationEditorType}}),Object.defineProperty(k,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return q.AnnotationEditorUIManager}}),Object.defineProperty(k,"AnnotationLayer",{enumerable:!0,get:function(){return $.AnnotationLayer}}),Object.defineProperty(k,"AnnotationMode",{enumerable:!0,get:function(){return m.AnnotationMode}}),Object.defineProperty(k,"CMapCompressionType",{enumerable:!0,get:function(){return m.CMapCompressionType}}),Object.defineProperty(k,"GlobalWorkerOptions",{enumerable:!0,get:function(){return D.GlobalWorkerOptions}}),Object.defineProperty(k,"InvalidPDFException",{enumerable:!0,get:function(){return m.InvalidPDFException}}),Object.defineProperty(k,"LoopbackPort",{enumerable:!0,get:function(){return M.LoopbackPort}}),Object.defineProperty(k,"MissingPDFException",{enumerable:!0,get:function(){return m.MissingPDFException}}),Object.defineProperty(k,"OPS",{enumerable:!0,get:function(){return m.OPS}}),Object.defineProperty(k,"PDFDataRangeTransport",{enumerable:!0,get:function(){return M.PDFDataRangeTransport}}),Object.defineProperty(k,"PDFDateString",{enumerable:!0,get:function(){return G.PDFDateString}}),Object.defineProperty(k,"PDFWorker",{enumerable:!0,get:function(){return M.PDFWorker}}),Object.defineProperty(k,"PasswordResponses",{enumerable:!0,get:function(){return m.PasswordResponses}}),Object.defineProperty(k,"PermissionFlag",{enumerable:!0,get:function(){return m.PermissionFlag}}),Object.defineProperty(k,"PixelsPerInch",{enumerable:!0,get:function(){return G.PixelsPerInch}}),Object.defineProperty(k,"RenderingCancelledException",{enumerable:!0,get:function(){return G.RenderingCancelledException}}),Object.defineProperty(k,"SVGGraphics",{enumerable:!0,get:function(){return U.SVGGraphics}}),Object.defineProperty(k,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return m.UNSUPPORTED_FEATURES}}),Object.defineProperty(k,"UnexpectedResponseException",{enumerable:!0,get:function(){return m.UnexpectedResponseException}}),Object.defineProperty(k,"Util",{enumerable:!0,get:function(){return m.Util}}),Object.defineProperty(k,"VerbosityLevel",{enumerable:!0,get:function(){return m.VerbosityLevel}}),Object.defineProperty(k,"XfaLayer",{enumerable:!0,get:function(){return K.XfaLayer}}),Object.defineProperty(k,"build",{enumerable:!0,get:function(){return M.build}}),Object.defineProperty(k,"createPromiseCapability",{enumerable:!0,get:function(){return m.createPromiseCapability}}),Object.defineProperty(k,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return m.createValidAbsoluteUrl}}),Object.defineProperty(k,"getDocument",{enumerable:!0,get:function(){return M.getDocument}}),Object.defineProperty(k,"getFilenameFromUrl",{enumerable:!0,get:function(){return G.getFilenameFromUrl}}),Object.defineProperty(k,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return G.getPdfFilenameFromUrl}}),Object.defineProperty(k,"getXfaPageViewport",{enumerable:!0,get:function(){return G.getXfaPageViewport}}),Object.defineProperty(k,"isPdfFile",{enumerable:!0,get:function(){return G.isPdfFile}}),Object.defineProperty(k,"loadScript",{enumerable:!0,get:function(){return G.loadScript}}),Object.defineProperty(k,"renderTextLayer",{enumerable:!0,get:function(){return R.renderTextLayer}}),Object.defineProperty(k,"shadow",{enumerable:!0,get:function(){return m.shadow}}),Object.defineProperty(k,"version",{enumerable:!0,get:function(){return M.version}});var m=__w_pdfjs_require__(1),M=__w_pdfjs_require__(129),G=__w_pdfjs_require__(133),V=__w_pdfjs_require__(147),q=__w_pdfjs_require__(132),$=__w_pdfjs_require__(152),D=__w_pdfjs_require__(140),B=__w_pdfjs_require__(3),R=__w_pdfjs_require__(155),U=__w_pdfjs_require__(156),K=__w_pdfjs_require__(154);if(B.isNodeJS){const{PDFNodeStream:z}=__w_pdfjs_require__(157);(0,M.setPDFNetworkStreamFactory)(e=>new z(e))}else{const{PDFNetworkStream:z}=__w_pdfjs_require__(160),{PDFFetchStream:e}=__w_pdfjs_require__(161);(0,M.setPDFNetworkStreamFactory)(ae=>(0,G.isValidFetchUrl)(ae.url)?new e(ae):new z(ae))}})(),__webpack_exports__})())}(pdf)),pdf.exports}var pdfExports=requirePdf(),pdf_worker_entry={},pdf_worker={exports:{}};(function(k,m){(function(G,V){k.exports=V()})(globalThis,()=>(()=>{var M=[,($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.WorkerTask=D.WorkerMessageHandler=void 0;var R=B(2),U=B(130),K=B(131),z=B(133),e=B(196),ae=B(190),ie=B(4),he=B(227),J=B(228);class X{constructor(ce){this.name=ce,this.terminated=!1,this._capability=(0,R.createPromiseCapability)()}get finished(){return this._capability.promise}finish(){this._capability.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}}D.WorkerTask=X;class W{static setup(ce,de){let oe=!1;ce.on("test",function(me){oe||(oe=!0,ce.send("test",me instanceof Uint8Array))}),ce.on("configure",function(me){(0,R.setVerbosityLevel)(me.verbosity)}),ce.on("GetDocRequest",function(me){return W.createDocumentHandler(me,de)})}static createDocumentHandler(ce,de){let oe,se=!1,me=null;const Ee=[],ke=(0,R.getVerbosityLevel)(),xe=ce.apiVersion,fe="2.16.105";if(xe!==fe)throw new Error(`The API version "${xe}" does not match the Worker version "${fe}".`);const ve=[];for(const De in[])ve.push(De);if(ve.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+ve.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");if(typeof ReadableStream>"u"){const De="The browser/environment lacks native support for critical functionality used by the PDF.js library (e.g. `ReadableStream`); ";throw ie.isNodeJS?new Error(De+"please use a `legacy`-build instead."):new Error(De+"please update to a supported browser.")}const ye=ce.docId,Ce=ce.docBaseUrl,pe=ce.docId+"_worker";let _e=new he.MessageHandler(pe,ye,de);function Ge(){if(se)throw new Error("Worker was terminated")}function Te(De){Ee.push(De)}function Ne(De){De.finish();const Ue=Ee.indexOf(De);Ee.splice(Ue,1)}async function Ze(De){await oe.ensureDoc("checkHeader"),await oe.ensureDoc("parseStartXRef"),await oe.ensureDoc("parse",[De]),await oe.ensureDoc("checkFirstPage",[De]),await oe.ensureDoc("checkLastPage",[De]);const Ue=await oe.ensureDoc("isPureXfa");if(Ue){const Ke=new X("loadXfaFonts");Te(Ke),await Promise.all([oe.loadXfaFonts(_e,Ke).catch(Ve=>{}).then(()=>Ne(Ke)),oe.loadXfaImages()])}const[we,Ie]=await Promise.all([oe.ensureDoc("numPages"),oe.ensureDoc("fingerprints")]),Be=Ue?await oe.ensureDoc("htmlForXfa"):null;return{numPages:we,fingerprints:Ie,htmlForXfa:Be}}function ze(De,Ue,we){const Ie=(0,R.createPromiseCapability)();let Be;const Ke=De.source;if(Ke.data){try{Be=new z.LocalPdfManager(ye,Ke.data,Ke.password,_e,Ue,we,Ce),Ie.resolve(Be)}catch($e){Ie.reject($e)}return Ie.promise}let Ve,je=[];try{Ve=new J.PDFWorkerStream(_e)}catch($e){return Ie.reject($e),Ie.promise}const Le=Ve.getFullReader();Le.headersReady.then(function(){if(!Le.isRangeSupported)return;const $e=Ke.disableAutoFetch||Le.isStreamingSupported;Be=new z.NetworkPdfManager(ye,Ve,{msgHandler:_e,password:Ke.password,length:Le.contentLength,disableAutoFetch:$e,rangeChunkSize:Ke.rangeChunkSize},Ue,we,Ce);for(const Ye of je)Be.sendProgressiveData(Ye);je=[],Ie.resolve(Be),me=null}).catch(function($e){Ie.reject($e),me=null});let et=0;const Qe=function(){const $e=(0,R.arraysToBytes)(je);Ke.length&&$e.length!==Ke.length&&(0,R.warn)("reported HTTP length is different from actual");try{Be=new z.LocalPdfManager(ye,$e,Ke.password,_e,Ue,we,Ce),Ie.resolve(Be)}catch(Ye){Ie.reject(Ye)}je=[]};return new Promise(function($e,Ye){const tt=function(ot){let{value:st,done:dt}=ot;try{if(Ge(),dt){Be||Qe(),me=null;return}et+=(0,R.arrayByteLength)(st),Le.isStreamingSupported||_e.send("DocProgress",{loaded:et,total:Math.max(et,Le.contentLength||0)}),Be?Be.sendProgressiveData(st):je.push(st),Le.read().then(tt,Ye)}catch(ct){Ye(ct)}};Le.read().then(tt,Ye)}).catch(function($e){Ie.reject($e),me=null}),me=function($e){Ve.cancelAllRequests($e)},Ie.promise}function Ae(De){function Ue(Ke){Ge(),_e.send("GetDoc",{pdfInfo:Ke})}function we(Ke){if(Ge(),Ke instanceof R.PasswordException){const Ve=new X(`PasswordException: response ${Ke.code}`);Te(Ve),_e.sendWithPromise("PasswordRequest",Ke).then(function(je){let{password:Le}=je;Ne(Ve),oe.updatePassword(Le),Ie()}).catch(function(){Ne(Ve),_e.send("DocException",Ke)})}else Ke instanceof R.InvalidPDFException||Ke instanceof R.MissingPDFException||Ke instanceof R.UnexpectedResponseException||Ke instanceof R.UnknownErrorException?_e.send("DocException",Ke):_e.send("DocException",new R.UnknownErrorException(Ke.message,Ke.toString()))}function Ie(){Ge(),Ze(!1).then(Ue,function(Ke){if(Ge(),!(Ke instanceof K.XRefParseException)){we(Ke);return}oe.requestLoadedStream(),oe.onLoadedStream().then(function(){Ge(),Ze(!0).then(Ue,we)})})}Ge();const Be={maxImageSize:De.maxImageSize,disableFontFace:De.disableFontFace,ignoreErrors:De.ignoreErrors,isEvalSupported:De.isEvalSupported,fontExtraProperties:De.fontExtraProperties,useSystemFonts:De.useSystemFonts,cMapUrl:De.cMapUrl,standardFontDataUrl:De.standardFontDataUrl};ze(De,Be,De.enableXfa).then(function(Ke){if(se)throw Ke.terminate(new R.AbortException("Worker was terminated.")),new Error("Worker was terminated");oe=Ke,oe.onLoadedStream().then(function(Ve){_e.send("DataLoaded",{length:Ve.bytes.byteLength})})}).then(Ie,we)}return _e.on("GetPage",function(Ue){return oe.getPage(Ue.pageIndex).then(function(we){return Promise.all([oe.ensure(we,"rotate"),oe.ensure(we,"ref"),oe.ensure(we,"userUnit"),oe.ensure(we,"view")]).then(function(Ie){let[Be,Ke,Ve,je]=Ie;return{rotate:Be,ref:Ke,userUnit:Ve,view:je}})})}),_e.on("GetPageIndex",function(Ue){const we=U.Ref.get(Ue.num,Ue.gen);return oe.ensureCatalog("getPageIndex",[we])}),_e.on("GetDestinations",function(Ue){return oe.ensureCatalog("destinations")}),_e.on("GetDestination",function(Ue){return oe.ensureCatalog("getDestination",[Ue.id])}),_e.on("GetPageLabels",function(Ue){return oe.ensureCatalog("pageLabels")}),_e.on("GetPageLayout",function(Ue){return oe.ensureCatalog("pageLayout")}),_e.on("GetPageMode",function(Ue){return oe.ensureCatalog("pageMode")}),_e.on("GetViewerPreferences",function(De){return oe.ensureCatalog("viewerPreferences")}),_e.on("GetOpenAction",function(De){return oe.ensureCatalog("openAction")}),_e.on("GetAttachments",function(Ue){return oe.ensureCatalog("attachments")}),_e.on("GetJavaScript",function(Ue){return oe.ensureCatalog("javaScript")}),_e.on("GetDocJSActions",function(Ue){return oe.ensureCatalog("jsActions")}),_e.on("GetPageJSActions",function(De){let{pageIndex:Ue}=De;return oe.getPage(Ue).then(function(we){return oe.ensure(we,"jsActions")})}),_e.on("GetOutline",function(Ue){return oe.ensureCatalog("documentOutline")}),_e.on("GetOptionalContentConfig",function(De){return oe.ensureCatalog("optionalContentConfig")}),_e.on("GetPermissions",function(De){return oe.ensureCatalog("permissions")}),_e.on("GetMetadata",function(Ue){return Promise.all([oe.ensureDoc("documentInfo"),oe.ensureCatalog("metadata")])}),_e.on("GetMarkInfo",function(Ue){return oe.ensureCatalog("markInfo")}),_e.on("GetData",function(Ue){return oe.requestLoadedStream(),oe.onLoadedStream().then(function(we){return we.bytes})}),_e.on("GetAnnotations",function(De){let{pageIndex:Ue,intent:we}=De;return oe.getPage(Ue).then(function(Ie){const Be=new X(`GetAnnotations: page ${Ue}`);return Te(Be),Ie.getAnnotationsData(_e,Be,we).then(Ke=>(Ne(Be),Ke),Ke=>{Ne(Be)})})}),_e.on("GetFieldObjects",function(De){return oe.ensureDoc("fieldObjects")}),_e.on("HasJSActions",function(De){return oe.ensureDoc("hasJSActions")}),_e.on("GetCalculationOrderIds",function(De){return oe.ensureDoc("calculationOrderIds")}),_e.on("SaveDocument",function(De){let{isPureXfa:Ue,numPages:we,annotationStorage:Ie,filename:Be}=De;oe.requestLoadedStream();const Ke=Ue?null:(0,K.getNewAnnotationsMap)(Ie),Ve=[oe.onLoadedStream(),oe.ensureCatalog("acroForm"),oe.ensureCatalog("acroFormRef"),oe.ensureDoc("xref"),oe.ensureDoc("startXRef")];if(Ke)for(const[je,Le]of Ke)Ve.push(oe.getPage(je).then(et=>{const Qe=new X(`Save (editor): page ${je}`);return et.saveNewAnnotations(_e,Qe,Le).finally(function(){Ne(Qe)})}));if(Ue)Ve.push(oe.serializeXfaData(Ie));else for(let je=0;je{typeof Je=="string"&&(ut[He]=(0,R.stringToPDFString)(Je))}),mt={rootRef:Fe.trailer.getRaw("Root")||null,encryptRef:Fe.trailer.getRaw("Encrypt")||null,newRef:Fe.getNewRef(),infoRef:Fe.trailer.getRaw("Info")||null,info:ut,fileIds:Fe.trailer.get("ID")||null,startXRef:$e,filename:Be}}return Fe.resetNewRef(),(0,ae.incrementalUpdate)({originalData:Le.bytes,xrefInfo:mt,newRefs:tt,xref:Fe,hasXfa:!!st,xfaDatasetsRef:dt,hasXfaDatasetsEntry:ct,acroFormRef:Qe,acroForm:et,xfaData:ot})})}),_e.on("GetOperatorList",function(Ue,we){const Ie=Ue.pageIndex;oe.getPage(Ie).then(function(Be){const Ke=new X(`GetOperatorList: page ${Ie}`);Te(Ke);const Ve=ke>=R.VerbosityLevel.INFOS?Date.now():0;Be.getOperatorList({handler:_e,sink:we,task:Ke,intent:Ue.intent,cacheKey:Ue.cacheKey,annotationStorage:Ue.annotationStorage}).then(function(je){Ne(Ke),Ve&&(0,R.info)(`page=${Ie+1} - getOperatorList: time=${Date.now()-Ve}ms, len=${je.length}`),we.close()},function(je){Ne(Ke),!Ke.terminated&&(_e.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorOperatorList}),we.error(je))})})}),_e.on("GetTextContent",function(Ue,we){const Ie=Ue.pageIndex;oe.getPage(Ie).then(function(Be){const Ke=new X("GetTextContent: page "+Ie);Te(Ke);const Ve=ke>=R.VerbosityLevel.INFOS?Date.now():0;Be.extractTextContent({handler:_e,task:Ke,sink:we,includeMarkedContent:Ue.includeMarkedContent,combineTextItems:Ue.combineTextItems}).then(function(){Ne(Ke),Ve&&(0,R.info)(`page=${Ie+1} - getTextContent: time=${Date.now()-Ve}ms`),we.close()},function(je){Ne(Ke),!Ke.terminated&&we.error(je)})})}),_e.on("GetStructTree",function(Ue){return oe.getPage(Ue.pageIndex).then(function(we){return oe.ensure(we,"getStructTree")})}),_e.on("FontFallback",function(De){return oe.fontFallback(De.id,_e)}),_e.on("Cleanup",function(Ue){return oe.cleanup(!0)}),_e.on("Terminate",function(Ue){se=!0;const we=[];if(oe){oe.terminate(new R.AbortException("Worker was terminated."));const Ie=oe.cleanup();we.push(Ie),oe=null}else(0,e.clearGlobalCaches)();me&&me(new R.AbortException("Worker was terminated."));for(const Ie of Ee)we.push(Ie.finished),Ie.terminate();return Promise.all(we).then(function(){_e.destroy(),_e=null})}),_e.on("Ready",function(Ue){Ae(ce),ce=null}),pe}static initializeFromPort(ce){const de=new he.MessageHandler("worker","main",ce);W.setup(de,ce),de.send("ready",null)}}D.WorkerMessageHandler=W;function L(Q){return typeof Q.postMessage=="function"&&"onmessage"in Q}typeof window>"u"&&!ie.isNodeJS&&typeof self<"u"&&L(self)&&W.initializeFromPort(self)},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.VerbosityLevel=D.Util=D.UnknownErrorException=D.UnexpectedResponseException=D.UNSUPPORTED_FEATURES=D.TextRenderingMode=D.StreamType=D.RenderingIntentFlag=D.PermissionFlag=D.PasswordResponses=D.PasswordException=D.PageActionEventType=D.OPS=D.MissingPDFException=D.LINE_FACTOR=D.LINE_DESCENT_FACTOR=D.InvalidPDFException=D.ImageKind=D.IDENTITY_MATRIX=D.FormatError=D.FontType=D.FeatureTest=D.FONT_IDENTITY_MATRIX=D.DocumentActionEventType=D.CMapCompressionType=D.BaseException=D.AnnotationType=D.AnnotationStateModelType=D.AnnotationReviewState=D.AnnotationReplyType=D.AnnotationMode=D.AnnotationMarkedState=D.AnnotationFlag=D.AnnotationFieldFlag=D.AnnotationEditorType=D.AnnotationEditorPrefix=D.AnnotationEditorParamsType=D.AnnotationBorderStyleType=D.AnnotationActionEventType=D.AbortException=void 0,D.arrayByteLength=dt,D.arraysToBytes=ct,D.assert=Ie,D.bytesToString=ot,D.createPromiseCapability=er,D.createValidAbsoluteUrl=Ke,D.escapeString=Nt,D.getModificationDate=Jt,D.getVerbosityLevel=Ae,D.info=De,D.isArrayBuffer=Yt,D.isArrayEqual=Ft,D.isAscii=Vt,D.objectFromMap=rt,D.objectSize=ut,D.setVerbosityLevel=ze,D.shadow=Ve,D.string32=mt,D.stringToBytes=st,D.stringToPDFString=Pt,D.stringToUTF16BEString=Wt,D.stringToUTF8String=Mt,D.unreachable=we,D.utf8StringToString=$t,D.warn=Ue,B(3);const R=[1,0,0,1,0,0];D.IDENTITY_MATRIX=R;const U=[.001,0,0,.001,0,0];D.FONT_IDENTITY_MATRIX=U;const K=1.35;D.LINE_FACTOR=K;const z=.35;D.LINE_DESCENT_FACTOR=z;const e={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};D.RenderingIntentFlag=e;const ae={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};D.AnnotationMode=ae;const ie="pdfjs_internal_editor_";D.AnnotationEditorPrefix=ie;const he={DISABLE:-1,NONE:0,FREETEXT:3,INK:15};D.AnnotationEditorType=he;const J={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13};D.AnnotationEditorParamsType=J;const X={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};D.PermissionFlag=X;const W={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};D.TextRenderingMode=W;const L={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};D.ImageKind=L;const Q={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};D.AnnotationType=Q;const ce={MARKED:"Marked",REVIEW:"Review"};D.AnnotationStateModelType=ce;const de={MARKED:"Marked",UNMARKED:"Unmarked"};D.AnnotationMarkedState=de;const oe={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};D.AnnotationReviewState=oe;const se={GROUP:"Group",REPLY:"R"};D.AnnotationReplyType=se;const me={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};D.AnnotationFlag=me;const Ee={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};D.AnnotationFieldFlag=Ee;const ke={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};D.AnnotationBorderStyleType=ke;const xe={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"};D.AnnotationActionEventType=xe;const fe={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};D.DocumentActionEventType=fe;const ve={O:"PageOpen",C:"PageClose"};D.PageActionEventType=ve;const ye={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};D.StreamType=ye;const Ce={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};D.FontType=Ce;const pe={ERRORS:0,WARNINGS:1,INFOS:5};D.VerbosityLevel=pe;const _e={NONE:0,BINARY:1,STREAM:2};D.CMapCompressionType=_e;const Ge={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};D.OPS=Ge;const Te={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"};D.UNSUPPORTED_FEATURES=Te;const Ne={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};D.PasswordResponses=Ne;let Ze=pe.WARNINGS;function ze(Bt){Number.isInteger(Bt)&&(Ze=Bt)}function Ae(){return Ze}function De(Bt){Ze>=pe.INFOS&&console.log(`Info: ${Bt}`)}function Ue(Bt){Ze>=pe.WARNINGS&&console.log(`Warning: ${Bt}`)}function we(Bt){throw new Error(Bt)}function Ie(Bt,It){Bt||we(It)}function Be(Bt){if(!Bt)return!1;switch(Bt.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function Ke(Bt){let It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Bt)return null;try{if(Dt&&typeof Bt=="string"){if(Dt.addDefaultProtocol&&Bt.startsWith("www.")){const gr=Bt.match(/\./g);gr&&gr.length>=2&&(Bt=`http://${Bt}`)}if(Dt.tryConvertEncoding)try{Bt=Mt(Bt)}catch{}}const Zt=It?new URL(Bt,It):new URL(Bt);if(Be(Zt))return Zt}catch{}return null}function Ve(Bt,It,Dt){return Object.defineProperty(Bt,It,{value:Dt,enumerable:!0,configurable:!0,writable:!1}),Dt}const je=function(){function It(Dt,Zt){this.constructor===It&&we("Cannot initialize BaseException."),this.message=Dt,this.name=Zt}return It.prototype=new Error,It.constructor=It,It}();D.BaseException=je;class Le extends je{constructor(It,Dt){super(It,"PasswordException"),this.code=Dt}}D.PasswordException=Le;class et extends je{constructor(It,Dt){super(It,"UnknownErrorException"),this.details=Dt}}D.UnknownErrorException=et;class Qe extends je{constructor(It){super(It,"InvalidPDFException")}}D.InvalidPDFException=Qe;class Fe extends je{constructor(It){super(It,"MissingPDFException")}}D.MissingPDFException=Fe;class $e extends je{constructor(It,Dt){super(It,"UnexpectedResponseException"),this.status=Dt}}D.UnexpectedResponseException=$e;class Ye extends je{constructor(It){super(It,"FormatError")}}D.FormatError=Ye;class tt extends je{constructor(It){super(It,"AbortException")}}D.AbortException=tt;function ot(Bt){(typeof Bt!="object"||Bt===null||Bt.length===void 0)&&we("Invalid argument for bytesToString");const It=Bt.length,Dt=8192;if(It>24&255,Bt>>16&255,Bt>>8&255,Bt&255)}function ut(Bt){return Object.keys(Bt).length}function rt(Bt){const It=Object.create(null);for(const[Dt,Zt]of Bt)It[Dt]=Zt;return It}function He(){const Bt=new Uint8Array(4);return Bt[0]=1,new Uint32Array(Bt.buffer,0,1)[0]===1}function Je(){try{return new Function(""),!0}catch{return!1}}class St{static get isLittleEndian(){return Ve(this,"isLittleEndian",He())}static get isEvalSupported(){return Ve(this,"isEvalSupported",Je())}static get isOffscreenCanvasSupported(){return Ve(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}}D.FeatureTest=St;const bt=[...Array(256).keys()].map(Bt=>Bt.toString(16).padStart(2,"0"));class pt{static makeHexColor(It,Dt,Zt){return`#${bt[It]}${bt[Dt]}${bt[Zt]}`}static scaleMinMax(It,Dt){let Zt;It[0]?(It[0]<0&&(Zt=Dt[0],Dt[0]=Dt[1],Dt[1]=Zt),Dt[0]*=It[0],Dt[1]*=It[0],It[3]<0&&(Zt=Dt[2],Dt[2]=Dt[3],Dt[3]=Zt),Dt[2]*=It[3],Dt[3]*=It[3]):(Zt=Dt[0],Dt[0]=Dt[2],Dt[2]=Zt,Zt=Dt[1],Dt[1]=Dt[3],Dt[3]=Zt,It[1]<0&&(Zt=Dt[2],Dt[2]=Dt[3],Dt[3]=Zt),Dt[2]*=It[1],Dt[3]*=It[1],It[2]<0&&(Zt=Dt[0],Dt[0]=Dt[1],Dt[1]=Zt),Dt[0]*=It[2],Dt[1]*=It[2]),Dt[0]+=It[4],Dt[1]+=It[4],Dt[2]+=It[5],Dt[3]+=It[5]}static transform(It,Dt){return[It[0]*Dt[0]+It[2]*Dt[1],It[1]*Dt[0]+It[3]*Dt[1],It[0]*Dt[2]+It[2]*Dt[3],It[1]*Dt[2]+It[3]*Dt[3],It[0]*Dt[4]+It[2]*Dt[5]+It[4],It[1]*Dt[4]+It[3]*Dt[5]+It[5]]}static applyTransform(It,Dt){const Zt=It[0]*Dt[0]+It[1]*Dt[2]+Dt[4],gr=It[0]*Dt[1]+It[1]*Dt[3]+Dt[5];return[Zt,gr]}static applyInverseTransform(It,Dt){const Zt=Dt[0]*Dt[3]-Dt[1]*Dt[2],gr=(It[0]*Dt[3]-It[1]*Dt[2]+Dt[2]*Dt[5]-Dt[4]*Dt[3])/Zt,fr=(-It[0]*Dt[1]+It[1]*Dt[0]+Dt[4]*Dt[1]-Dt[5]*Dt[0])/Zt;return[gr,fr]}static getAxialAlignedBoundingBox(It,Dt){const Zt=pt.applyTransform(It,Dt),gr=pt.applyTransform(It.slice(2,4),Dt),fr=pt.applyTransform([It[0],It[3]],Dt),Dr=pt.applyTransform([It[2],It[1]],Dt);return[Math.min(Zt[0],gr[0],fr[0],Dr[0]),Math.min(Zt[1],gr[1],fr[1],Dr[1]),Math.max(Zt[0],gr[0],fr[0],Dr[0]),Math.max(Zt[1],gr[1],fr[1],Dr[1])]}static inverseTransform(It){const Dt=It[0]*It[3]-It[1]*It[2];return[It[3]/Dt,-It[1]/Dt,-It[2]/Dt,It[0]/Dt,(It[2]*It[5]-It[4]*It[3])/Dt,(It[4]*It[1]-It[5]*It[0])/Dt]}static apply3dTransform(It,Dt){return[It[0]*Dt[0]+It[1]*Dt[1]+It[2]*Dt[2],It[3]*Dt[0]+It[4]*Dt[1]+It[5]*Dt[2],It[6]*Dt[0]+It[7]*Dt[1]+It[8]*Dt[2]]}static singularValueDecompose2dScale(It){const Dt=[It[0],It[2],It[1],It[3]],Zt=It[0]*Dt[0]+It[1]*Dt[2],gr=It[0]*Dt[1]+It[1]*Dt[3],fr=It[2]*Dt[0]+It[3]*Dt[2],Dr=It[2]*Dt[1]+It[3]*Dt[3],kr=(Zt+Dr)/2,cr=Math.sqrt((Zt+Dr)**2-4*(Zt*Dr-fr*gr))/2,Ar=kr+cr||1,yt=kr-cr||1;return[Math.sqrt(Ar),Math.sqrt(yt)]}static normalizeRect(It){const Dt=It.slice(0);return It[0]>It[2]&&(Dt[0]=It[2],Dt[2]=It[0]),It[1]>It[3]&&(Dt[1]=It[3],Dt[3]=It[1]),Dt}static intersect(It,Dt){const Zt=Math.max(Math.min(It[0],It[2]),Math.min(Dt[0],Dt[2])),gr=Math.min(Math.max(It[0],It[2]),Math.max(Dt[0],Dt[2]));if(Zt>gr)return null;const fr=Math.max(Math.min(It[1],It[3]),Math.min(Dt[1],Dt[3])),Dr=Math.min(Math.max(It[1],It[3]),Math.max(Dt[1],Dt[3]));return fr>Dr?null:[Zt,fr,gr,Dr]}static bezierBoundingBox(It,Dt,Zt,gr,fr,Dr,kr,cr){const Ar=[],yt=[[],[]];let vt,Xt,At,zt,Br,br,Ur,un;for(let Tr=0;Tr<2;++Tr){if(Tr===0?(Xt=6*It-12*Zt+6*fr,vt=-3*It+9*Zt-9*fr+3*kr,At=3*Zt-3*It):(Xt=6*Dt-12*gr+6*Dr,vt=-3*Dt+9*gr-9*Dr+3*cr,At=3*gr-3*Dt),Math.abs(vt)<1e-12){if(Math.abs(Xt)<1e-12)continue;zt=-At/Xt,0="ï"){let Dt;if(Bt[0]==="þ"&&Bt[1]==="ÿ"?Dt="utf-16be":Bt[0]==="ÿ"&&Bt[1]==="þ"?Dt="utf-16le":Bt[0]==="ï"&&Bt[1]==="»"&&Bt[2]==="¿"&&(Dt="utf-8"),Dt)try{const Zt=new TextDecoder(Dt,{fatal:!0}),gr=st(Bt);return Zt.decode(gr)}catch(Zt){Ue(`stringToPDFString: "${Zt}".`)}}const It=[];for(let Dt=0,Zt=Bt.length;DtIt===` -`?"\\n":It==="\r"?"\\r":`\\${It}`)}function Vt(Bt){return/^[\x00-\x7F]*$/.test(Bt)}function Wt(Bt){const It=["þÿ"];for(let Dt=0,Zt=Bt.length;Dt>8&255),String.fromCharCode(gr&255))}return It.join("")}function Mt(Bt){return decodeURIComponent(escape(Bt))}function $t(Bt){return unescape(encodeURIComponent(Bt))}function Yt(Bt){return typeof Bt=="object"&&Bt!==null&&Bt.byteLength!==void 0}function Ft(Bt,It){if(Bt.length!==It.length)return!1;for(let Dt=0,Zt=Bt.length;Dt0&&arguments[0]!==void 0?arguments[0]:new Date;return[Bt.getUTCFullYear().toString(),(Bt.getUTCMonth()+1).toString().padStart(2,"0"),Bt.getUTCDate().toString().padStart(2,"0"),Bt.getUTCHours().toString().padStart(2,"0"),Bt.getUTCMinutes().toString().padStart(2,"0"),Bt.getUTCSeconds().toString().padStart(2,"0")].join("")}function er(){const Bt=Object.create(null);let It=!1;return Object.defineProperty(Bt,"settled",{get(){return It}}),Bt.promise=new Promise(function(Dt,Zt){Bt.resolve=function(gr){It=!0,Dt(gr)},Bt.reject=function(gr){It=!0,Zt(gr)}}),Bt}},($,D,B)=>{var R=B(4);globalThis._pdfjsCompatibilityChecked||(globalThis._pdfjsCompatibilityChecked=!0,function(){globalThis.btoa||!R.isNodeJS||(globalThis.btoa=function(K){return Buffer.from(K,"binary").toString("base64")})}(),function(){globalThis.atob||!R.isNodeJS||(globalThis.atob=function(K){return Buffer.from(K,"base64").toString("binary")})}(),function(){globalThis.DOMMatrix||!R.isNodeJS||(globalThis.DOMMatrix=requireDommatrix())}(),function(){globalThis.ReadableStream||!R.isNodeJS||(globalThis.ReadableStream=requirePonyfill().ReadableStream)}(),function(){Array.prototype.at||B(5)}(),function(){Uint8Array.prototype.at||B(77)}(),function(){globalThis.structuredClone||B(87)}())},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.isNodeJS=void 0;const B=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser");D.isNodeJS=B},($,D,B)=>{B(6);var R=B(76);$.exports=R("Array","at")},($,D,B)=>{var R=B(7),U=B(42),K=B(66),z=B(64),e=B(71);R({target:"Array",proto:!0},{at:function(ie){var he=U(this),J=K(he),X=z(ie),W=X>=0?X:J+X;return W<0||W>=J?void 0:he[W]}}),e("at")},($,D,B)=>{var R=B(8),U=B(9).f,K=B(46),z=B(50),e=B(40),ae=B(58),ie=B(70);$.exports=function(he,J){var X=he.target,W=he.global,L=he.stat,Q,ce,de,oe,se,me;if(W?ce=R:L?ce=R[X]||e(X,{}):ce=(R[X]||{}).prototype,ce)for(de in J){if(se=J[de],he.dontCallGetSet?(me=U(ce,de),oe=me&&me.value):oe=ce[de],Q=ie(W?de:X+(L?".":"#")+de,he.forced),!Q&&oe!==void 0){if(typeof se==typeof oe)continue;ae(se,oe)}(he.sham||oe&&oe.sham)&&K(se,"sham",!0),z(ce,de,se,he)}}},$=>{var D=function(B){return B&&B.Math==Math&&B};$.exports=D(typeof globalThis=="object"&&globalThis)||D(typeof window=="object"&&window)||D(typeof self=="object"&&self)||D(typeof commonjsGlobal$1=="object"&&commonjsGlobal$1)||function(){return this}()||Function("return this")()},($,D,B)=>{var R=B(10),U=B(12),K=B(14),z=B(15),e=B(16),ae=B(21),ie=B(41),he=B(44),J=Object.getOwnPropertyDescriptor;D.f=R?J:function(W,L){if(W=e(W),L=ae(L),he)try{return J(W,L)}catch{}if(ie(W,L))return z(!U(K.f,W,L),W[L])}},($,D,B)=>{var R=B(11);$.exports=!R(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},$=>{$.exports=function(D){try{return!!D()}catch{return!0}}},($,D,B)=>{var R=B(13),U=Function.prototype.call;$.exports=R?U.bind(U):function(){return U.apply(U,arguments)}},($,D,B)=>{var R=B(11);$.exports=!R(function(){var U=(function(){}).bind();return typeof U!="function"||U.hasOwnProperty("prototype")})},($,D)=>{var B={}.propertyIsEnumerable,R=Object.getOwnPropertyDescriptor,U=R&&!B.call({1:2},1);D.f=U?function(z){var e=R(this,z);return!!e&&e.enumerable}:B},$=>{$.exports=function(D,B){return{enumerable:!(D&1),configurable:!(D&2),writable:!(D&4),value:B}}},($,D,B)=>{var R=B(17),U=B(20);$.exports=function(K){return R(U(K))}},($,D,B)=>{var R=B(18),U=B(11),K=B(19),z=Object,e=R("".split);$.exports=U(function(){return!z("z").propertyIsEnumerable(0)})?function(ae){return K(ae)=="String"?e(ae,""):z(ae)}:z},($,D,B)=>{var R=B(13),U=Function.prototype,K=U.bind,z=U.call,e=R&&K.bind(z,z);$.exports=R?function(ae){return ae&&e(ae)}:function(ae){return ae&&function(){return z.apply(ae,arguments)}}},($,D,B)=>{var R=B(18),U=R({}.toString),K=R("".slice);$.exports=function(z){return K(U(z),8,-1)}},$=>{var D=TypeError;$.exports=function(B){if(B==null)throw D("Can't call method on "+B);return B}},($,D,B)=>{var R=B(22),U=B(25);$.exports=function(K){var z=R(K,"string");return U(z)?z:z+""}},($,D,B)=>{var R=B(12),U=B(23),K=B(25),z=B(32),e=B(35),ae=B(36),ie=TypeError,he=ae("toPrimitive");$.exports=function(J,X){if(!U(J)||K(J))return J;var W=z(J,he),L;if(W){if(X===void 0&&(X="default"),L=R(W,J,X),!U(L)||K(L))return L;throw ie("Can't convert object to primitive value")}return X===void 0&&(X="number"),e(J,X)}},($,D,B)=>{var R=B(24);$.exports=function(U){return typeof U=="object"?U!==null:R(U)}},$=>{$.exports=function(D){return typeof D=="function"}},($,D,B)=>{var R=B(26),U=B(24),K=B(27),z=B(28),e=Object;$.exports=z?function(ae){return typeof ae=="symbol"}:function(ae){var ie=R("Symbol");return U(ie)&&K(ie.prototype,e(ae))}},($,D,B)=>{var R=B(8),U=B(24),K=function(z){return U(z)?z:void 0};$.exports=function(z,e){return arguments.length<2?K(R[z]):R[z]&&R[z][e]}},($,D,B)=>{var R=B(18);$.exports=R({}.isPrototypeOf)},($,D,B)=>{var R=B(29);$.exports=R&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},($,D,B)=>{var R=B(30),U=B(11);$.exports=!!Object.getOwnPropertySymbols&&!U(function(){var K=Symbol();return!String(K)||!(Object(K)instanceof Symbol)||!Symbol.sham&&R&&R<41})},($,D,B)=>{var R=B(8),U=B(31),K=R.process,z=R.Deno,e=K&&K.versions||z&&z.version,ae=e&&e.v8,ie,he;ae&&(ie=ae.split("."),he=ie[0]>0&&ie[0]<4?1:+(ie[0]+ie[1])),!he&&U&&(ie=U.match(/Edge\/(\d+)/),(!ie||ie[1]>=74)&&(ie=U.match(/Chrome\/(\d+)/),ie&&(he=+ie[1]))),$.exports=he},($,D,B)=>{var R=B(26);$.exports=R("navigator","userAgent")||""},($,D,B)=>{var R=B(33);$.exports=function(U,K){var z=U[K];return z==null?void 0:R(z)}},($,D,B)=>{var R=B(24),U=B(34),K=TypeError;$.exports=function(z){if(R(z))return z;throw K(U(z)+" is not a function")}},$=>{var D=String;$.exports=function(B){try{return D(B)}catch{return"Object"}}},($,D,B)=>{var R=B(12),U=B(24),K=B(23),z=TypeError;$.exports=function(e,ae){var ie,he;if(ae==="string"&&U(ie=e.toString)&&!K(he=R(ie,e))||U(ie=e.valueOf)&&!K(he=R(ie,e))||ae!=="string"&&U(ie=e.toString)&&!K(he=R(ie,e)))return he;throw z("Can't convert object to primitive value")}},($,D,B)=>{var R=B(8),U=B(37),K=B(41),z=B(43),e=B(29),ae=B(28),ie=U("wks"),he=R.Symbol,J=he&&he.for,X=ae?he:he&&he.withoutSetter||z;$.exports=function(W){if(!K(ie,W)||!(e||typeof ie[W]=="string")){var L="Symbol."+W;e&&K(he,W)?ie[W]=he[W]:ae&&J?ie[W]=J(L):ie[W]=X(L)}return ie[W]}},($,D,B)=>{var R=B(38),U=B(39);($.exports=function(K,z){return U[K]||(U[K]=z!==void 0?z:{})})("versions",[]).push({version:"3.24.1",mode:R?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},$=>{$.exports=!1},($,D,B)=>{var R=B(8),U=B(40),K="__core-js_shared__",z=R[K]||U(K,{});$.exports=z},($,D,B)=>{var R=B(8),U=Object.defineProperty;$.exports=function(K,z){try{U(R,K,{value:z,configurable:!0,writable:!0})}catch{R[K]=z}return z}},($,D,B)=>{var R=B(18),U=B(42),K=R({}.hasOwnProperty);$.exports=Object.hasOwn||function(e,ae){return K(U(e),ae)}},($,D,B)=>{var R=B(20),U=Object;$.exports=function(K){return U(R(K))}},($,D,B)=>{var R=B(18),U=0,K=Math.random(),z=R(1 .toString);$.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+z(++U+K,36)}},($,D,B)=>{var R=B(10),U=B(11),K=B(45);$.exports=!R&&!U(function(){return Object.defineProperty(K("div"),"a",{get:function(){return 7}}).a!=7})},($,D,B)=>{var R=B(8),U=B(23),K=R.document,z=U(K)&&U(K.createElement);$.exports=function(e){return z?K.createElement(e):{}}},($,D,B)=>{var R=B(10),U=B(47),K=B(15);$.exports=R?function(z,e,ae){return U.f(z,e,K(1,ae))}:function(z,e,ae){return z[e]=ae,z}},($,D,B)=>{var R=B(10),U=B(44),K=B(48),z=B(49),e=B(21),ae=TypeError,ie=Object.defineProperty,he=Object.getOwnPropertyDescriptor,J="enumerable",X="configurable",W="writable";D.f=R?K?function(Q,ce,de){if(z(Q),ce=e(ce),z(de),typeof Q=="function"&&ce==="prototype"&&"value"in de&&W in de&&!de[W]){var oe=he(Q,ce);oe&&oe[W]&&(Q[ce]=de.value,de={configurable:X in de?de[X]:oe[X],enumerable:J in de?de[J]:oe[J],writable:!1})}return ie(Q,ce,de)}:ie:function(Q,ce,de){if(z(Q),ce=e(ce),z(de),U)try{return ie(Q,ce,de)}catch{}if("get"in de||"set"in de)throw ae("Accessors not supported");return"value"in de&&(Q[ce]=de.value),Q}},($,D,B)=>{var R=B(10),U=B(11);$.exports=R&&U(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},($,D,B)=>{var R=B(23),U=String,K=TypeError;$.exports=function(z){if(R(z))return z;throw K(U(z)+" is not an object")}},($,D,B)=>{var R=B(24),U=B(47),K=B(51),z=B(40);$.exports=function(e,ae,ie,he){he||(he={});var J=he.enumerable,X=he.name!==void 0?he.name:ae;if(R(ie)&&K(ie,X,he),he.global)J?e[ae]=ie:z(ae,ie);else{try{he.unsafe?e[ae]&&(J=!0):delete e[ae]}catch{}J?e[ae]=ie:U.f(e,ae,{value:ie,enumerable:!1,configurable:!he.nonConfigurable,writable:!he.nonWritable})}return e}},($,D,B)=>{var R=B(11),U=B(24),K=B(41),z=B(10),e=B(52).CONFIGURABLE,ae=B(53),ie=B(54),he=ie.enforce,J=ie.get,X=Object.defineProperty,W=z&&!R(function(){return X(function(){},"length",{value:8}).length!==8}),L=String(String).split("String"),Q=$.exports=function(ce,de,oe){String(de).slice(0,7)==="Symbol("&&(de="["+String(de).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),oe&&oe.getter&&(de="get "+de),oe&&oe.setter&&(de="set "+de),(!K(ce,"name")||e&&ce.name!==de)&&(z?X(ce,"name",{value:de,configurable:!0}):ce.name=de),W&&oe&&K(oe,"arity")&&ce.length!==oe.arity&&X(ce,"length",{value:oe.arity});try{oe&&K(oe,"constructor")&&oe.constructor?z&&X(ce,"prototype",{writable:!1}):ce.prototype&&(ce.prototype=void 0)}catch{}var se=he(ce);return K(se,"source")||(se.source=L.join(typeof de=="string"?de:"")),ce};Function.prototype.toString=Q(function(){return U(this)&&J(this).source||ae(this)},"toString")},($,D,B)=>{var R=B(10),U=B(41),K=Function.prototype,z=R&&Object.getOwnPropertyDescriptor,e=U(K,"name"),ae=e&&(function(){}).name==="something",ie=e&&(!R||R&&z(K,"name").configurable);$.exports={EXISTS:e,PROPER:ae,CONFIGURABLE:ie}},($,D,B)=>{var R=B(18),U=B(24),K=B(39),z=R(Function.toString);U(K.inspectSource)||(K.inspectSource=function(e){return z(e)}),$.exports=K.inspectSource},($,D,B)=>{var R=B(55),U=B(8),K=B(18),z=B(23),e=B(46),ae=B(41),ie=B(39),he=B(56),J=B(57),X="Object already initialized",W=U.TypeError,L=U.WeakMap,Q,ce,de,oe=function(ve){return de(ve)?ce(ve):Q(ve,{})},se=function(ve){return function(ye){var Ce;if(!z(ye)||(Ce=ce(ye)).type!==ve)throw W("Incompatible receiver, "+ve+" required");return Ce}};if(R||ie.state){var me=ie.state||(ie.state=new L),Ee=K(me.get),ke=K(me.has),xe=K(me.set);Q=function(ve,ye){if(ke(me,ve))throw new W(X);return ye.facade=ve,xe(me,ve,ye),ye},ce=function(ve){return Ee(me,ve)||{}},de=function(ve){return ke(me,ve)}}else{var fe=he("state");J[fe]=!0,Q=function(ve,ye){if(ae(ve,fe))throw new W(X);return ye.facade=ve,e(ve,fe,ye),ye},ce=function(ve){return ae(ve,fe)?ve[fe]:{}},de=function(ve){return ae(ve,fe)}}$.exports={set:Q,get:ce,has:de,enforce:oe,getterFor:se}},($,D,B)=>{var R=B(8),U=B(24),K=B(53),z=R.WeakMap;$.exports=U(z)&&/native code/.test(K(z))},($,D,B)=>{var R=B(37),U=B(43),K=R("keys");$.exports=function(z){return K[z]||(K[z]=U(z))}},$=>{$.exports={}},($,D,B)=>{var R=B(41),U=B(59),K=B(9),z=B(47);$.exports=function(e,ae,ie){for(var he=U(ae),J=z.f,X=K.f,W=0;W{var R=B(26),U=B(18),K=B(60),z=B(69),e=B(49),ae=U([].concat);$.exports=R("Reflect","ownKeys")||function(he){var J=K.f(e(he)),X=z.f;return X?ae(J,X(he)):J}},($,D,B)=>{var R=B(61),U=B(68),K=U.concat("length","prototype");D.f=Object.getOwnPropertyNames||function(e){return R(e,K)}},($,D,B)=>{var R=B(18),U=B(41),K=B(16),z=B(62).indexOf,e=B(57),ae=R([].push);$.exports=function(ie,he){var J=K(ie),X=0,W=[],L;for(L in J)!U(e,L)&&U(J,L)&&ae(W,L);for(;he.length>X;)U(J,L=he[X++])&&(~z(W,L)||ae(W,L));return W}},($,D,B)=>{var R=B(16),U=B(63),K=B(66),z=function(e){return function(ae,ie,he){var J=R(ae),X=K(J),W=U(he,X),L;if(e&&ie!=ie){for(;X>W;)if(L=J[W++],L!=L)return!0}else for(;X>W;W++)if((e||W in J)&&J[W]===ie)return e||W||0;return!e&&-1}};$.exports={includes:z(!0),indexOf:z(!1)}},($,D,B)=>{var R=B(64),U=Math.max,K=Math.min;$.exports=function(z,e){var ae=R(z);return ae<0?U(ae+e,0):K(ae,e)}},($,D,B)=>{var R=B(65);$.exports=function(U){var K=+U;return K!==K||K===0?0:R(K)}},$=>{var D=Math.ceil,B=Math.floor;$.exports=Math.trunc||function(U){var K=+U;return(K>0?B:D)(K)}},($,D,B)=>{var R=B(67);$.exports=function(U){return R(U.length)}},($,D,B)=>{var R=B(64),U=Math.min;$.exports=function(K){return K>0?U(R(K),9007199254740991):0}},$=>{$.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},($,D)=>{D.f=Object.getOwnPropertySymbols},($,D,B)=>{var R=B(11),U=B(24),K=/#|\.prototype\./,z=function(J,X){var W=ae[e(J)];return W==he?!0:W==ie?!1:U(X)?R(X):!!X},e=z.normalize=function(J){return String(J).replace(K,".").toLowerCase()},ae=z.data={},ie=z.NATIVE="N",he=z.POLYFILL="P";$.exports=z},($,D,B)=>{var R=B(36),U=B(72),K=B(47).f,z=R("unscopables"),e=Array.prototype;e[z]==null&&K(e,z,{configurable:!0,value:U(null)}),$.exports=function(ae){e[z][ae]=!0}},($,D,B)=>{var R=B(49),U=B(73),K=B(68),z=B(57),e=B(75),ae=B(45),ie=B(56),he=">",J="<",X="prototype",W="script",L=ie("IE_PROTO"),Q=function(){},ce=function(Ee){return J+W+he+Ee+J+"/"+W+he},de=function(Ee){Ee.write(ce("")),Ee.close();var ke=Ee.parentWindow.Object;return Ee=null,ke},oe=function(){var Ee=ae("iframe"),ke="java"+W+":",xe;return Ee.style.display="none",e.appendChild(Ee),Ee.src=String(ke),xe=Ee.contentWindow.document,xe.open(),xe.write(ce("document.F=Object")),xe.close(),xe.F},se,me=function(){try{se=new ActiveXObject("htmlfile")}catch{}me=typeof document<"u"?document.domain&&se?de(se):oe():de(se);for(var Ee=K.length;Ee--;)delete me[X][K[Ee]];return me()};z[L]=!0,$.exports=Object.create||function(ke,xe){var fe;return ke!==null?(Q[X]=R(ke),fe=new Q,Q[X]=null,fe[L]=ke):fe=me(),xe===void 0?fe:U.f(fe,xe)}},($,D,B)=>{var R=B(10),U=B(48),K=B(47),z=B(49),e=B(16),ae=B(74);D.f=R&&!U?Object.defineProperties:function(he,J){z(he);for(var X=e(J),W=ae(J),L=W.length,Q=0,ce;L>Q;)K.f(he,ce=W[Q++],X[ce]);return he}},($,D,B)=>{var R=B(61),U=B(68);$.exports=Object.keys||function(z){return R(z,U)}},($,D,B)=>{var R=B(26);$.exports=R("document","documentElement")},($,D,B)=>{var R=B(8),U=B(18);$.exports=function(K,z){return U(R[K].prototype[z])}},($,D,B)=>{B(78)},($,D,B)=>{var R=B(79),U=B(66),K=B(64),z=R.aTypedArray,e=R.exportTypedArrayMethod;e("at",function(ie){var he=z(this),J=U(he),X=K(ie),W=X>=0?X:J+X;return W<0||W>=J?void 0:he[W]})},($,D,B)=>{var R=B(80),U=B(10),K=B(8),z=B(24),e=B(23),ae=B(41),ie=B(81),he=B(34),J=B(46),X=B(50),W=B(47).f,L=B(27),Q=B(83),ce=B(85),de=B(36),oe=B(43),se=B(54),me=se.enforce,Ee=se.get,ke=K.Int8Array,xe=ke&&ke.prototype,fe=K.Uint8ClampedArray,ve=fe&&fe.prototype,ye=ke&&Q(ke),Ce=xe&&Q(xe),pe=Object.prototype,_e=K.TypeError,Ge=de("toStringTag"),Te=oe("TYPED_ARRAY_TAG"),Ne="TypedArrayConstructor",Ze=R&&!!ce&&ie(K.opera)!=="Opera",ze=!1,Ae,De,Ue,we={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ie={BigInt64Array:8,BigUint64Array:8},Be=function($e){if(!e($e))return!1;var Ye=ie($e);return Ye==="DataView"||ae(we,Ye)||ae(Ie,Ye)},Ke=function(Fe){var $e=Q(Fe);if(e($e)){var Ye=Ee($e);return Ye&&ae(Ye,Ne)?Ye[Ne]:Ke($e)}},Ve=function(Fe){if(!e(Fe))return!1;var $e=ie(Fe);return ae(we,$e)||ae(Ie,$e)},je=function(Fe){if(Ve(Fe))return Fe;throw _e("Target is not a typed array")},Le=function(Fe){if(z(Fe)&&(!ce||L(ye,Fe)))return Fe;throw _e(he(Fe)+" is not a typed array constructor")},et=function(Fe,$e,Ye,tt){if(U){if(Ye)for(var ot in we){var st=K[ot];if(st&&ae(st.prototype,Fe))try{delete st.prototype[Fe]}catch{try{st.prototype[Fe]=$e}catch{}}}(!Ce[Fe]||Ye)&&X(Ce,Fe,Ye?$e:Ze&&xe[Fe]||$e,tt)}},Qe=function(Fe,$e,Ye){var tt,ot;if(U){if(ce){if(Ye){for(tt in we)if(ot=K[tt],ot&&ae(ot,Fe))try{delete ot[Fe]}catch{}}if(!ye[Fe]||Ye)try{return X(ye,Fe,Ye?$e:Ze&&ye[Fe]||$e)}catch{}else return}for(tt in we)ot=K[tt],ot&&(!ot[Fe]||Ye)&&X(ot,Fe,$e)}};for(Ae in we)De=K[Ae],Ue=De&&De.prototype,Ue?me(Ue)[Ne]=De:Ze=!1;for(Ae in Ie)De=K[Ae],Ue=De&&De.prototype,Ue&&(me(Ue)[Ne]=De);if((!Ze||!z(ye)||ye===Function.prototype)&&(ye=function(){throw _e("Incorrect invocation")},Ze))for(Ae in we)K[Ae]&&ce(K[Ae],ye);if((!Ze||!Ce||Ce===pe)&&(Ce=ye.prototype,Ze))for(Ae in we)K[Ae]&&ce(K[Ae].prototype,Ce);if(Ze&&Q(ve)!==Ce&&ce(ve,Ce),U&&!ae(Ce,Ge)){ze=!0,W(Ce,Ge,{get:function(){return e(this)?this[Te]:void 0}});for(Ae in we)K[Ae]&&J(K[Ae],Te,Ae)}$.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ze,TYPED_ARRAY_TAG:ze&&Te,aTypedArray:je,aTypedArrayConstructor:Le,exportTypedArrayMethod:et,exportTypedArrayStaticMethod:Qe,getTypedArrayConstructor:Ke,isView:Be,isTypedArray:Ve,TypedArray:ye,TypedArrayPrototype:Ce}},$=>{$.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},($,D,B)=>{var R=B(82),U=B(24),K=B(19),z=B(36),e=z("toStringTag"),ae=Object,ie=K(function(){return arguments}())=="Arguments",he=function(J,X){try{return J[X]}catch{}};$.exports=R?K:function(J){var X,W,L;return J===void 0?"Undefined":J===null?"Null":typeof(W=he(X=ae(J),e))=="string"?W:ie?K(X):(L=K(X))=="Object"&&U(X.callee)?"Arguments":L}},($,D,B)=>{var R=B(36),U=R("toStringTag"),K={};K[U]="z",$.exports=String(K)==="[object z]"},($,D,B)=>{var R=B(41),U=B(24),K=B(42),z=B(56),e=B(84),ae=z("IE_PROTO"),ie=Object,he=ie.prototype;$.exports=e?ie.getPrototypeOf:function(J){var X=K(J);if(R(X,ae))return X[ae];var W=X.constructor;return U(W)&&X instanceof W?W.prototype:X instanceof ie?he:null}},($,D,B)=>{var R=B(11);$.exports=!R(function(){function U(){}return U.prototype.constructor=null,Object.getPrototypeOf(new U)!==U.prototype})},($,D,B)=>{var R=B(18),U=B(49),K=B(86);$.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var z=!1,e={},ae;try{ae=R(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(e,[]),z=e instanceof Array}catch{}return function(he,J){return U(he),K(J),z?ae(he,J):he.__proto__=J,he}}():void 0)},($,D,B)=>{var R=B(24),U=String,K=TypeError;$.exports=function(z){if(typeof z=="object"||R(z))return z;throw K("Can't set "+U(z)+" as a prototype")}},($,D,B)=>{B(88),B(94),B(96),B(118),B(120);var R=B(129);$.exports=R.structuredClone},($,D,B)=>{var R=B(16),U=B(71),K=B(89),z=B(54),e=B(47).f,ae=B(90),ie=B(38),he=B(10),J="Array Iterator",X=z.set,W=z.getterFor(J);$.exports=ae(Array,"Array",function(Q,ce){X(this,{type:J,target:R(Q),index:0,kind:ce})},function(){var Q=W(this),ce=Q.target,de=Q.kind,oe=Q.index++;return!ce||oe>=ce.length?(Q.target=void 0,{value:void 0,done:!0}):de=="keys"?{value:oe,done:!1}:de=="values"?{value:ce[oe],done:!1}:{value:[oe,ce[oe]],done:!1}},"values");var L=K.Arguments=K.Array;if(U("keys"),U("values"),U("entries"),!ie&&he&&L.name!=="values")try{e(L,"name",{value:"values"})}catch{}},$=>{$.exports={}},($,D,B)=>{var R=B(7),U=B(12),K=B(38),z=B(52),e=B(24),ae=B(91),ie=B(83),he=B(85),J=B(93),X=B(46),W=B(50),L=B(36),Q=B(89),ce=B(92),de=z.PROPER,oe=z.CONFIGURABLE,se=ce.IteratorPrototype,me=ce.BUGGY_SAFARI_ITERATORS,Ee=L("iterator"),ke="keys",xe="values",fe="entries",ve=function(){return this};$.exports=function(ye,Ce,pe,_e,Ge,Te,Ne){ae(pe,Ce,_e);var Ze=function(je){if(je===Ge&&we)return we;if(!me&&je in De)return De[je];switch(je){case ke:return function(){return new pe(this,je)};case xe:return function(){return new pe(this,je)};case fe:return function(){return new pe(this,je)}}return function(){return new pe(this)}},ze=Ce+" Iterator",Ae=!1,De=ye.prototype,Ue=De[Ee]||De["@@iterator"]||Ge&&De[Ge],we=!me&&Ue||Ze(Ge),Ie=Ce=="Array"&&De.entries||Ue,Be,Ke,Ve;if(Ie&&(Be=ie(Ie.call(new ye)),Be!==Object.prototype&&Be.next&&(!K&&ie(Be)!==se&&(he?he(Be,se):e(Be[Ee])||W(Be,Ee,ve)),J(Be,ze,!0,!0),K&&(Q[ze]=ve))),de&&Ge==xe&&Ue&&Ue.name!==xe&&(!K&&oe?X(De,"name",xe):(Ae=!0,we=function(){return U(Ue,this)})),Ge)if(Ke={values:Ze(xe),keys:Te?we:Ze(ke),entries:Ze(fe)},Ne)for(Ve in Ke)(me||Ae||!(Ve in De))&&W(De,Ve,Ke[Ve]);else R({target:Ce,proto:!0,forced:me||Ae},Ke);return(!K||Ne)&&De[Ee]!==we&&W(De,Ee,we,{name:Ge}),Q[Ce]=we,Ke}},($,D,B)=>{var R=B(92).IteratorPrototype,U=B(72),K=B(15),z=B(93),e=B(89),ae=function(){return this};$.exports=function(ie,he,J,X){var W=he+" Iterator";return ie.prototype=U(R,{next:K(+!X,J)}),z(ie,W,!1,!0),e[W]=ae,ie}},($,D,B)=>{var R=B(11),U=B(24),K=B(72),z=B(83),e=B(50),ae=B(36),ie=B(38),he=ae("iterator"),J=!1,X,W,L;[].keys&&(L=[].keys(),"next"in L?(W=z(z(L)),W!==Object.prototype&&(X=W)):J=!0);var Q=X==null||R(function(){var ce={};return X[he].call(ce)!==ce});Q?X={}:ie&&(X=K(X)),U(X[he])||e(X,he,function(){return this}),$.exports={IteratorPrototype:X,BUGGY_SAFARI_ITERATORS:J}},($,D,B)=>{var R=B(47).f,U=B(41),K=B(36),z=K("toStringTag");$.exports=function(e,ae,ie){e&&!ie&&(e=e.prototype),e&&!U(e,z)&&R(e,z,{configurable:!0,value:ae})}},($,D,B)=>{var R=B(82),U=B(50),K=B(95);R||U(Object.prototype,"toString",K,{unsafe:!0})},($,D,B)=>{var R=B(82),U=B(81);$.exports=R?{}.toString:function(){return"[object "+U(this)+"]"}},($,D,B)=>{B(97)},($,D,B)=>{var R=B(98),U=B(115);R("Map",function(K){return function(){return K(this,arguments.length?arguments[0]:void 0)}},U)},($,D,B)=>{var R=B(7),U=B(8),K=B(18),z=B(70),e=B(50),ae=B(99),ie=B(106),he=B(112),J=B(24),X=B(23),W=B(11),L=B(113),Q=B(93),ce=B(114);$.exports=function(de,oe,se){var me=de.indexOf("Map")!==-1,Ee=de.indexOf("Weak")!==-1,ke=me?"set":"add",xe=U[de],fe=xe&&xe.prototype,ve=xe,ye={},Ce=function(ze){var Ae=K(fe[ze]);e(fe,ze,ze=="add"?function(Ue){return Ae(this,Ue===0?0:Ue),this}:ze=="delete"?function(De){return Ee&&!X(De)?!1:Ae(this,De===0?0:De)}:ze=="get"?function(Ue){return Ee&&!X(Ue)?void 0:Ae(this,Ue===0?0:Ue)}:ze=="has"?function(Ue){return Ee&&!X(Ue)?!1:Ae(this,Ue===0?0:Ue)}:function(Ue,we){return Ae(this,Ue===0?0:Ue,we),this})},pe=z(de,!J(xe)||!(Ee||fe.forEach&&!W(function(){new xe().entries().next()})));if(pe)ve=se.getConstructor(oe,de,me,ke),ae.enable();else if(z(de,!0)){var _e=new ve,Ge=_e[ke](Ee?{}:-0,1)!=_e,Te=W(function(){_e.has(1)}),Ne=L(function(ze){new xe(ze)}),Ze=!Ee&&W(function(){for(var ze=new xe,Ae=5;Ae--;)ze[ke](Ae,Ae);return!ze.has(-0)});Ne||(ve=oe(function(ze,Ae){he(ze,fe);var De=ce(new xe,ze,ve);return Ae!=null&&ie(Ae,De[ke],{that:De,AS_ENTRIES:me}),De}),ve.prototype=fe,fe.constructor=ve),(Te||Ze)&&(Ce("delete"),Ce("has"),me&&Ce("get")),(Ze||Ge)&&Ce(ke),Ee&&fe.clear&&delete fe.clear}return ye[de]=ve,R({global:!0,constructor:!0,forced:ve!=xe},ye),Q(ve,de),Ee||se.setStrong(ve,de,me),ve}},($,D,B)=>{var R=B(7),U=B(18),K=B(57),z=B(23),e=B(41),ae=B(47).f,ie=B(60),he=B(100),J=B(103),X=B(43),W=B(105),L=!1,Q=X("meta"),ce=0,de=function(xe){ae(xe,Q,{value:{objectID:"O"+ce++,weakData:{}}})},oe=function(xe,fe){if(!z(xe))return typeof xe=="symbol"?xe:(typeof xe=="string"?"S":"P")+xe;if(!e(xe,Q)){if(!J(xe))return"F";if(!fe)return"E";de(xe)}return xe[Q].objectID},se=function(xe,fe){if(!e(xe,Q)){if(!J(xe))return!0;if(!fe)return!1;de(xe)}return xe[Q].weakData},me=function(xe){return W&&L&&J(xe)&&!e(xe,Q)&&de(xe),xe},Ee=function(){ke.enable=function(){},L=!0;var xe=ie.f,fe=U([].splice),ve={};ve[Q]=1,xe(ve).length&&(ie.f=function(ye){for(var Ce=xe(ye),pe=0,_e=Ce.length;pe<_e;pe++)if(Ce[pe]===Q){fe(Ce,pe,1);break}return Ce},R({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:he.f}))},ke=$.exports={enable:Ee,fastKey:oe,getWeakData:se,onFreeze:me};K[Q]=!0},($,D,B)=>{var R=B(19),U=B(16),K=B(60).f,z=B(101),e=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(ie){try{return K(ie)}catch{return z(e)}};$.exports.f=function(he){return e&&R(he)=="Window"?ae(he):K(U(he))}},($,D,B)=>{var R=B(63),U=B(66),K=B(102),z=Array,e=Math.max;$.exports=function(ae,ie,he){for(var J=U(ae),X=R(ie,J),W=R(he===void 0?J:he,J),L=z(e(W-X,0)),Q=0;X{var R=B(21),U=B(47),K=B(15);$.exports=function(z,e,ae){var ie=R(e);ie in z?U.f(z,ie,K(0,ae)):z[ie]=ae}},($,D,B)=>{var R=B(11),U=B(23),K=B(19),z=B(104),e=Object.isExtensible,ae=R(function(){});$.exports=ae||z?function(he){return!U(he)||z&&K(he)=="ArrayBuffer"?!1:e?e(he):!0}:e},($,D,B)=>{var R=B(11);$.exports=R(function(){if(typeof ArrayBuffer=="function"){var U=new ArrayBuffer(8);Object.isExtensible(U)&&Object.defineProperty(U,"a",{value:8})}})},($,D,B)=>{var R=B(11);$.exports=!R(function(){return Object.isExtensible(Object.preventExtensions({}))})},($,D,B)=>{var R=B(107),U=B(12),K=B(49),z=B(34),e=B(108),ae=B(66),ie=B(27),he=B(109),J=B(110),X=B(111),W=TypeError,L=function(ce,de){this.stopped=ce,this.result=de},Q=L.prototype;$.exports=function(ce,de,oe){var se=oe&&oe.that,me=!!(oe&&oe.AS_ENTRIES),Ee=!!(oe&&oe.IS_RECORD),ke=!!(oe&&oe.IS_ITERATOR),xe=!!(oe&&oe.INTERRUPTED),fe=R(de,se),ve,ye,Ce,pe,_e,Ge,Te,Ne=function(ze){return ve&&X(ve,"normal",ze),new L(!0,ze)},Ze=function(ze){return me?(K(ze),xe?fe(ze[0],ze[1],Ne):fe(ze[0],ze[1])):xe?fe(ze,Ne):fe(ze)};if(Ee)ve=ce.iterator;else if(ke)ve=ce;else{if(ye=J(ce),!ye)throw W(z(ce)+" is not iterable");if(e(ye)){for(Ce=0,pe=ae(ce);pe>Ce;Ce++)if(_e=Ze(ce[Ce]),_e&&ie(Q,_e))return _e;return new L(!1)}ve=he(ce,ye)}for(Ge=Ee?ce.next:ve.next;!(Te=U(Ge,ve)).done;){try{_e=Ze(Te.value)}catch(ze){X(ve,"throw",ze)}if(typeof _e=="object"&&_e&&ie(Q,_e))return _e}return new L(!1)}},($,D,B)=>{var R=B(18),U=B(33),K=B(13),z=R(R.bind);$.exports=function(e,ae){return U(e),ae===void 0?e:K?z(e,ae):function(){return e.apply(ae,arguments)}}},($,D,B)=>{var R=B(36),U=B(89),K=R("iterator"),z=Array.prototype;$.exports=function(e){return e!==void 0&&(U.Array===e||z[K]===e)}},($,D,B)=>{var R=B(12),U=B(33),K=B(49),z=B(34),e=B(110),ae=TypeError;$.exports=function(ie,he){var J=arguments.length<2?e(ie):he;if(U(J))return K(R(J,ie));throw ae(z(ie)+" is not iterable")}},($,D,B)=>{var R=B(81),U=B(32),K=B(89),z=B(36),e=z("iterator");$.exports=function(ae){if(ae!=null)return U(ae,e)||U(ae,"@@iterator")||K[R(ae)]}},($,D,B)=>{var R=B(12),U=B(49),K=B(32);$.exports=function(z,e,ae){var ie,he;U(z);try{if(ie=K(z,"return"),!ie){if(e==="throw")throw ae;return ae}ie=R(ie,z)}catch(J){he=!0,ie=J}if(e==="throw")throw ae;if(he)throw ie;return U(ie),ae}},($,D,B)=>{var R=B(27),U=TypeError;$.exports=function(K,z){if(R(z,K))return K;throw U("Incorrect invocation")}},($,D,B)=>{var R=B(36),U=R("iterator"),K=!1;try{var z=0,e={next:function(){return{done:!!z++}},return:function(){K=!0}};e[U]=function(){return this},Array.from(e,function(){throw 2})}catch{}$.exports=function(ae,ie){if(!ie&&!K)return!1;var he=!1;try{var J={};J[U]=function(){return{next:function(){return{done:he=!0}}}},ae(J)}catch{}return he}},($,D,B)=>{var R=B(24),U=B(23),K=B(85);$.exports=function(z,e,ae){var ie,he;return K&&R(ie=e.constructor)&&ie!==ae&&U(he=ie.prototype)&&he!==ae.prototype&&K(z,he),z}},($,D,B)=>{var R=B(47).f,U=B(72),K=B(116),z=B(107),e=B(112),ae=B(106),ie=B(90),he=B(117),J=B(10),X=B(99).fastKey,W=B(54),L=W.set,Q=W.getterFor;$.exports={getConstructor:function(ce,de,oe,se){var me=ce(function(ve,ye){e(ve,Ee),L(ve,{type:de,index:U(null),first:void 0,last:void 0,size:0}),J||(ve.size=0),ye!=null&&ae(ye,ve[se],{that:ve,AS_ENTRIES:oe})}),Ee=me.prototype,ke=Q(de),xe=function(ve,ye,Ce){var pe=ke(ve),_e=fe(ve,ye),Ge,Te;return _e?_e.value=Ce:(pe.last=_e={index:Te=X(ye,!0),key:ye,value:Ce,previous:Ge=pe.last,next:void 0,removed:!1},pe.first||(pe.first=_e),Ge&&(Ge.next=_e),J?pe.size++:ve.size++,Te!=="F"&&(pe.index[Te]=_e)),ve},fe=function(ve,ye){var Ce=ke(ve),pe=X(ye),_e;if(pe!=="F")return Ce.index[pe];for(_e=Ce.first;_e;_e=_e.next)if(_e.key==ye)return _e};return K(Ee,{clear:function(){for(var ye=this,Ce=ke(ye),pe=Ce.index,_e=Ce.first;_e;)_e.removed=!0,_e.previous&&(_e.previous=_e.previous.next=void 0),delete pe[_e.index],_e=_e.next;Ce.first=Ce.last=void 0,J?Ce.size=0:ye.size=0},delete:function(ve){var ye=this,Ce=ke(ye),pe=fe(ye,ve);if(pe){var _e=pe.next,Ge=pe.previous;delete Ce.index[pe.index],pe.removed=!0,Ge&&(Ge.next=_e),_e&&(_e.previous=Ge),Ce.first==pe&&(Ce.first=_e),Ce.last==pe&&(Ce.last=Ge),J?Ce.size--:ye.size--}return!!pe},forEach:function(ye){for(var Ce=ke(this),pe=z(ye,arguments.length>1?arguments[1]:void 0),_e;_e=_e?_e.next:Ce.first;)for(pe(_e.value,_e.key,this);_e&&_e.removed;)_e=_e.previous},has:function(ye){return!!fe(this,ye)}}),K(Ee,oe?{get:function(ye){var Ce=fe(this,ye);return Ce&&Ce.value},set:function(ye,Ce){return xe(this,ye===0?0:ye,Ce)}}:{add:function(ye){return xe(this,ye=ye===0?0:ye,ye)}}),J&&R(Ee,"size",{get:function(){return ke(this).size}}),me},setStrong:function(ce,de,oe){var se=de+" Iterator",me=Q(de),Ee=Q(se);ie(ce,de,function(ke,xe){L(this,{type:se,target:ke,state:me(ke),kind:xe,last:void 0})},function(){for(var ke=Ee(this),xe=ke.kind,fe=ke.last;fe&&fe.removed;)fe=fe.previous;return!ke.target||!(ke.last=fe=fe?fe.next:ke.state.first)?(ke.target=void 0,{value:void 0,done:!0}):xe=="keys"?{value:fe.key,done:!1}:xe=="values"?{value:fe.value,done:!1}:{value:[fe.key,fe.value],done:!1}},oe?"entries":"values",!oe,!0),he(de)}}},($,D,B)=>{var R=B(50);$.exports=function(U,K,z){for(var e in K)R(U,e,K[e],z);return U}},($,D,B)=>{var R=B(26),U=B(47),K=B(36),z=B(10),e=K("species");$.exports=function(ae){var ie=R(ae),he=U.f;z&&ie&&!ie[e]&&he(ie,e,{configurable:!0,get:function(){return this}})}},($,D,B)=>{B(119)},($,D,B)=>{var R=B(98),U=B(115);R("Set",function(K){return function(){return K(this,arguments.length?arguments[0]:void 0)}},U)},($,D,B)=>{var R=B(38),U=B(7),K=B(8),z=B(26),e=B(18),ae=B(11),ie=B(43),he=B(24),J=B(121),X=B(23),W=B(25),L=B(106),Q=B(49),ce=B(81),de=B(41),oe=B(102),se=B(46),me=B(66),Ee=B(122),ke=B(123),xe=B(125),fe=B(30),ve=B(126),ye=B(127),Ce=B(128),pe=K.Object,_e=K.Date,Ge=K.Error,Te=K.EvalError,Ne=K.RangeError,Ze=K.ReferenceError,ze=K.SyntaxError,Ae=K.TypeError,De=K.URIError,Ue=K.PerformanceMark,we=K.WebAssembly,Ie=we&&we.CompileError||Ge,Be=we&&we.LinkError||Ge,Ke=we&&we.RuntimeError||Ge,Ve=z("DOMException"),je=z("Set"),Le=z("Map"),et=Le.prototype,Qe=e(et.has),Fe=e(et.get),$e=e(et.set),Ye=e(je.prototype.add),tt=z("Object","keys"),ot=e([].push),st=e((!0).valueOf),dt=e(1 .valueOf),ct=e("".valueOf),mt=e(_e.prototype.getTime),ut=ie("structuredClone"),rt="DataCloneError",He="Transferring",Je=function(Ft){return!ae(function(){var Jt=new K.Set([7]),er=Ft(Jt),Bt=Ft(pe(7));return er==Jt||!er.has(7)||typeof Bt!="object"||Bt!=7})&&Ft},St=function(Ft,Jt){return!ae(function(){var er=new Jt,Bt=Ft({a:er,b:er});return!(Bt&&Bt.a===Bt.b&&Bt.a instanceof Jt&&Bt.a.stack===er.stack)})},bt=function(Ft){return!ae(function(){var Jt=Ft(new K.AggregateError([1],ut,{cause:3}));return Jt.name!="AggregateError"||Jt.errors[0]!=1||Jt.message!=ut||Jt.cause!=3})},pt=K.structuredClone,wt=R||!St(pt,Ge)||!St(pt,Ve)||!bt(pt),Pt=!pt&&Je(function(Ft){return new Ue(ut,{detail:Ft}).detail}),Nt=Je(pt)||Pt,Vt=function(Ft){throw new Ve("Uncloneable type: "+Ft,rt)},Wt=function(Ft,Jt){throw new Ve((Jt||"Cloning")+" of "+Ft+" cannot be properly polyfilled in this engine",rt)},Mt=function(Ft,Jt){if(W(Ft)&&Vt("Symbol"),!X(Ft))return Ft;if(Jt){if(Qe(Jt,Ft))return Fe(Jt,Ft)}else Jt=new Le;var er=ce(Ft),Bt=!1,It,Dt,Zt,gr,fr,Dr,kr,cr,Ar,yt;switch(er){case"Array":Zt=[],Bt=!0;break;case"Object":Zt={},Bt=!0;break;case"Map":Zt=new Le,Bt=!0;break;case"Set":Zt=new je,Bt=!0;break;case"RegExp":Zt=new RegExp(Ft.source,ke(Ft));break;case"Error":switch(Dt=Ft.name,Dt){case"AggregateError":Zt=z("AggregateError")([]);break;case"EvalError":Zt=Te();break;case"RangeError":Zt=Ne();break;case"ReferenceError":Zt=Ze();break;case"SyntaxError":Zt=ze();break;case"TypeError":Zt=Ae();break;case"URIError":Zt=De();break;case"CompileError":Zt=Ie();break;case"LinkError":Zt=Be();break;case"RuntimeError":Zt=Ke();break;default:Zt=Ge()}Bt=!0;break;case"DOMException":Zt=new Ve(Ft.message,Ft.name),Bt=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":It=K[er],X(It)||Wt(er),Zt=new It(Mt(Ft.buffer,Jt),Ft.byteOffset,er==="DataView"?Ft.byteLength:Ft.length);break;case"DOMQuad":try{Zt=new DOMQuad(Mt(Ft.p1,Jt),Mt(Ft.p2,Jt),Mt(Ft.p3,Jt),Mt(Ft.p4,Jt))}catch{Nt?Zt=Nt(Ft):Wt(er)}break;case"FileList":if(It=K.DataTransfer,J(It)){for(gr=new It,fr=0,Dr=me(Ft);fr92||Ce&&fe>94||ve&&fe>97)return!1;var Ft=new ArrayBuffer(8),Jt=pt(Ft,{transfer:[Ft]});return Ft.byteLength!=0||Jt.byteLength!=8}),Yt=function(Ft,Jt){if(!X(Ft))throw Ae("Transfer option cannot be converted to a sequence");var er=[];L(Ft,function(Ar){ot(er,Q(Ar))});var Bt=0,It=me(er),Dt,Zt,gr,fr,Dr,kr,cr;if($t)for(fr=pt(er,{transfer:er});Bt1&&arguments[1]!=null?Q(arguments[1]):void 0,Bt=er?er.transfer:void 0,It;return Bt!==void 0&&(It=new Le,Yt(Bt,It)),Mt(Jt,It)}})},($,D,B)=>{var R=B(18),U=B(11),K=B(24),z=B(81),e=B(26),ae=B(53),ie=function(){},he=[],J=e("Reflect","construct"),X=/^\s*(?:class|function)\b/,W=R(X.exec),L=!X.exec(ie),Q=function(oe){if(!K(oe))return!1;try{return J(ie,he,oe),!0}catch{return!1}},ce=function(oe){if(!K(oe))return!1;switch(z(oe)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return L||!!W(X,ae(oe))}catch{return!0}};ce.sham=!0,$.exports=!J||U(function(){var de;return Q(Q.call)||!Q(Object)||!Q(function(){de=!0})||de})?ce:Q},$=>{var D=TypeError;$.exports=function(B,R){if(B{var R=B(12),U=B(41),K=B(27),z=B(124),e=RegExp.prototype;$.exports=function(ae){var ie=ae.flags;return ie===void 0&&!("flags"in e)&&!U(ae,"flags")&&K(e,ae)?R(z,ae):ie}},($,D,B)=>{var R=B(49);$.exports=function(){var U=R(this),K="";return U.hasIndices&&(K+="d"),U.global&&(K+="g"),U.ignoreCase&&(K+="i"),U.multiline&&(K+="m"),U.dotAll&&(K+="s"),U.unicode&&(K+="u"),U.unicodeSets&&(K+="v"),U.sticky&&(K+="y"),K}},($,D,B)=>{var R=B(11),U=B(15);$.exports=!R(function(){var K=Error("a");return"stack"in K?(Object.defineProperty(K,"stack",U(1,7)),K.stack!==7):!0})},($,D,B)=>{var R=B(127),U=B(128);$.exports=!R&&!U&&typeof window=="object"&&typeof document=="object"},$=>{$.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},($,D,B)=>{var R=B(19),U=B(8);$.exports=R(U.process)=="process"},($,D,B)=>{var R=B(8);$.exports=R},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.RefSetCache=D.RefSet=D.Ref=D.Name=D.EOF=D.Dict=D.Cmd=D.CIRCULAR_REF=void 0,D.clearPrimitiveCaches=de,D.isCmd=L,D.isDict=Q,D.isName=W,D.isRefsEqual=ce;var R=B(2);const U=Symbol("CIRCULAR_REF");D.CIRCULAR_REF=U;const K=Symbol("EOF");D.EOF=K;const z=function(){let se=Object.create(null);class me{constructor(ke){this.name=ke}static get(ke){return se[ke]||(se[ke]=new me(ke))}static _clearCache(){se=Object.create(null)}}return me}();D.Name=z;const e=function(){let se=Object.create(null);class me{constructor(ke){this.cmd=ke}static get(ke){return se[ke]||(se[ke]=new me(ke))}static _clearCache(){se=Object.create(null)}}return me}();D.Cmd=e;const ae=function(){return ae};class ie{constructor(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._map=Object.create(null),this.xref=se,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=ae}assignXref(se){this.xref=se}get size(){return Object.keys(this._map).length}get(se,me,Ee){let ke=this._map[se];return ke===void 0&&me!==void 0&&(ke=this._map[me],ke===void 0&&Ee!==void 0&&(ke=this._map[Ee])),ke instanceof he&&this.xref?this.xref.fetch(ke,this.suppressEncryption):ke}async getAsync(se,me,Ee){let ke=this._map[se];return ke===void 0&&me!==void 0&&(ke=this._map[me],ke===void 0&&Ee!==void 0&&(ke=this._map[Ee])),ke instanceof he&&this.xref?this.xref.fetchAsync(ke,this.suppressEncryption):ke}getArray(se,me,Ee){let ke=this._map[se];if(ke===void 0&&me!==void 0&&(ke=this._map[me],ke===void 0&&Ee!==void 0&&(ke=this._map[Ee])),ke instanceof he&&this.xref&&(ke=this.xref.fetch(ke,this.suppressEncryption)),Array.isArray(ke)){ke=ke.slice();for(let xe=0,fe=ke.length;xe{(0,R.unreachable)("Should not call `set` on the empty dictionary.")},(0,R.shadow)(this,"empty",se)}static merge(se){let{xref:me,dictArray:Ee,mergeSubDicts:ke=!1}=se;const xe=new ie(me),fe=new Map;for(const ve of Ee)if(ve instanceof ie)for(const[ye,Ce]of Object.entries(ve._map)){let pe=fe.get(ye);if(pe===void 0)pe=[],fe.set(ye,pe);else if(!ke||!(Ce instanceof ie))continue;pe.push(Ce)}for(const[ve,ye]of fe){if(ye.length===1||!(ye[0]instanceof ie)){xe._map[ve]=ye[0];continue}const Ce=new ie(me);for(const pe of ye)for(const[_e,Ge]of Object.entries(pe._map))Ce._map[_e]===void 0&&(Ce._map[_e]=Ge);Ce.size>0&&(xe._map[ve]=Ce)}return fe.clear(),xe.size>0?xe:ie.empty}}D.Dict=ie;const he=function(){let se=Object.create(null);class me{constructor(ke,xe){this.num=ke,this.gen=xe}toString(){return this.gen===0?`${this.num}R`:`${this.num}R${this.gen}`}static get(ke,xe){const fe=xe===0?`${ke}R`:`${ke}R${xe}`;return se[fe]||(se[fe]=new me(ke,xe))}static _clearCache(){se=Object.create(null)}}return me}();D.Ref=he;class J{constructor(){let se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._set=new Set(se&&se._set)}has(se){return this._set.has(se.toString())}put(se){this._set.add(se.toString())}remove(se){this._set.delete(se.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}D.RefSet=J;class X{constructor(){this._map=new Map}get size(){return this._map.size}get(se){return this._map.get(se.toString())}has(se){return this._map.has(se.toString())}put(se,me){this._map.set(se.toString(),me)}putAlias(se,me){this._map.set(se.toString(),this.get(me))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}}D.RefSetCache=X;function W(oe,se){return oe instanceof z&&(se===void 0||oe.name===se)}function L(oe,se){return oe instanceof e&&(se===void 0||oe.cmd===se)}function Q(oe,se){return oe instanceof ie&&(se===void 0||W(oe.get("Type"),se))}function ce(oe,se){return oe.num===se.num&&oe.gen===se.gen}function de(){e._clearCache(),z._clearCache(),he._clearCache()}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XRefParseException=D.XRefEntryException=D.ParserEOFException=D.MissingDataException=D.DocStats=void 0,D.collectActions=fe,D.encodeToXmlString=ye,D.escapePDFName=ke,D.getArrayLookupTableFactory=e,D.getInheritableProperty=W,D.getLookupTableFactory=z,D.getNewAnnotationsMap=Ge,D.isWhiteSpace=me,D.log2=ce,D.numberToString=_e,D.parseXFAPath=Ee,D.readInt8=de,D.readUint16=oe,D.readUint32=se,D.recoverJsURL=pe,D.toRomanNumerals=Q,D.validateCSSFont=Ce;var R=B(2),U=B(130),K=B(132);function z(Te){let Ne;return function(){return Te&&(Ne=Object.create(null),Te(Ne),Te=null),Ne}}function e(Te){let Ne;return function(){if(Te){let Ze=Te();Te=null,Ne=Object.create(null);for(let ze=0,Ae=Ze.length;ze1&&arguments[1]!==void 0?arguments[1]:!1;(0,R.assert)(Number.isInteger(Te)&&Te>0,"The number should be a positive integer.");const Ze=[];let ze;for(;Te>=1e3;)Te-=1e3,Ze.push("M");ze=Te/100|0,Te%=100,Ze.push(L[ze]),ze=Te/10|0,Te%=10,Ze.push(L[10+ze]),Ze.push(L[20+Te]);const Ae=Ze.join("");return Ne?Ae.toLowerCase():Ae}function ce(Te){return Te<=0?0:Math.ceil(Math.log2(Te))}function de(Te,Ne){return Te[Ne]<<24>>24}function oe(Te,Ne){return Te[Ne]<<8|Te[Ne+1]}function se(Te,Ne){return(Te[Ne]<<24|Te[Ne+1]<<16|Te[Ne+2]<<8|Te[Ne+3])>>>0}function me(Te){return Te===32||Te===9||Te===13||Te===10}function Ee(Te){const Ne=/(.+)\[(\d+)\]$/;return Te.split(".").map(Ze=>{const ze=Ze.match(Ne);return ze?{name:ze[1],pos:parseInt(ze[2],10)}:{name:Ze,pos:0}})}function ke(Te){const Ne=[];let Ze=0;for(let ze=0,Ae=Te.length;ze126||De===35||De===40||De===41||De===60||De===62||De===91||De===93||De===123||De===125||De===47||De===37)&&(Ze=0;De--){const Ue=Ae[De];if(Ue instanceof U.Dict)for(const we of Ue.getKeys()){const Ie=Ze[we];if(!Ie)continue;const Be=Ue.getRaw(we),Ke=new U.RefSet,Ve=[];xe(Be,Te,Ve,Ke),Ve.length>0&&(ze[Ie]=Ve)}}if(Ne.has("A")){const De=Ne.get("A"),Ue=new U.RefSet,we=[];xe(De,Te,we,Ue),we.length>0&&(ze.Action=we)}return(0,R.objectSize)(ze)>0?ze:null}const ve={60:"<",62:">",38:"&",34:""",39:"'"};function ye(Te){const Ne=[];let Ze=0;for(let ze=0,Ae=Te.length;ze55295&&(De<57344||De>65533)&&ze++,Ze=ze+1}return Ne.length===0?Te:(Ze: ${Ae}.`),!1;const we=De?De.toString():"";Te.fontWeight=ze.has(we)?we:Ze;const Ie=parseFloat(Ue);return Te.italicAngle=isNaN(Ie)||Ie<-90||Ie>90?Ne:Ue.toString(),!0}function pe(Te){const Ne=["app.launchURL","window.open","xfa.host.gotoURL"],ze=new RegExp("^\\s*("+Ne.join("|").split(".").join("\\.")+`)\\((?:'|")([^'"]*)(?:'|")(?:,\\s*(\\w+)\\)|\\))`,"i").exec(Te);if(ze&&ze[2]){const Ae=ze[2];let De=!1;return ze[3]==="true"&&ze[1]==="app.launchURL"&&(De=!0),{url:Ae,newWindow:De}}return null}function _e(Te){if(Number.isInteger(Te))return Te.toString();const Ne=Math.round(Te*100);return Ne%100===0?(Ne/100).toString():Ne%10===0?Te.toFixed(1):Te.toFixed(2)}function Ge(Te){if(!Te)return null;const Ne=new Map;for(const[Ze,ze]of Te){if(!Ze.startsWith(R.AnnotationEditorPrefix))continue;let Ae=Ne.get(ze.pageIndex);Ae||(Ae=[],Ne.set(ze.pageIndex,Ae)),Ae.push(ze)}return Ne.size>0?Ne:null}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.BaseStream=void 0;var R=B(2);class U{constructor(){this.constructor===U&&(0,R.unreachable)("Cannot initialize BaseStream.")}get length(){(0,R.unreachable)("Abstract getter `length` accessed")}get isEmpty(){(0,R.unreachable)("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return(0,R.shadow)(this,"isDataLoaded",!0)}getByte(){(0,R.unreachable)("Abstract method `getByte` called")}getBytes(z){(0,R.unreachable)("Abstract method `getBytes` called")}peekByte(){const z=this.getByte();return z!==-1&&this.pos--,z}peekBytes(z){const e=this.getBytes(z);return this.pos-=e.length,e}getUint16(){const z=this.getByte(),e=this.getByte();return z===-1||e===-1?-1:(z<<8)+e}getInt32(){const z=this.getByte(),e=this.getByte(),ae=this.getByte(),ie=this.getByte();return(z<<24)+(e<<16)+(ae<<8)+ie}getByteRange(z,e){(0,R.unreachable)("Abstract method `getByteRange` called")}getString(z){return(0,R.bytesToString)(this.getBytes(z))}skip(z){this.pos+=z||1}reset(){(0,R.unreachable)("Abstract method `reset` called")}moveStart(){(0,R.unreachable)("Abstract method `moveStart` called")}makeSubStream(z,e){(0,R.unreachable)("Abstract method `makeSubStream` called")}getBaseStreams(){return null}}D.BaseStream=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.NetworkPdfManager=D.LocalPdfManager=void 0;var R=B(2),U=B(134),K=B(131),z=B(136),e=B(135);function ae(X){if(X){const W=(0,R.createValidAbsoluteUrl)(X);if(W)return W.href;(0,R.warn)(`Invalid absolute docBaseUrl: "${X}".`)}return null}class ie{constructor(){this.constructor===ie&&(0,R.unreachable)("Cannot initialize BasePdfManager.")}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){const W=this.pdfDocument.catalog;return(0,R.shadow)(this,"docBaseUrl",W.baseUrl||this._docBaseUrl)}onLoadedStream(){(0,R.unreachable)("Abstract method `onLoadedStream` called")}ensureDoc(W,L){return this.ensure(this.pdfDocument,W,L)}ensureXRef(W,L){return this.ensure(this.pdfDocument.xref,W,L)}ensureCatalog(W,L){return this.ensure(this.pdfDocument.catalog,W,L)}getPage(W){return this.pdfDocument.getPage(W)}fontFallback(W,L){return this.pdfDocument.fontFallback(W,L)}loadXfaFonts(W,L){return this.pdfDocument.loadXfaFonts(W,L)}loadXfaImages(){return this.pdfDocument.loadXfaImages()}serializeXfaData(W){return this.pdfDocument.serializeXfaData(W)}cleanup(){let W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.pdfDocument.cleanup(W)}async ensure(W,L,Q){(0,R.unreachable)("Abstract method `ensure` called")}requestRange(W,L){(0,R.unreachable)("Abstract method `requestRange` called")}requestLoadedStream(){(0,R.unreachable)("Abstract method `requestLoadedStream` called")}sendProgressiveData(W){(0,R.unreachable)("Abstract method `sendProgressiveData` called")}updatePassword(W){this._password=W}terminate(W){(0,R.unreachable)("Abstract method `terminate` called")}}class he extends ie{constructor(W,L,Q,ce,de,oe,se){super(),this._docId=W,this._password=Q,this._docBaseUrl=ae(se),this.msgHandler=ce,this.evaluatorOptions=de,this.enableXfa=oe;const me=new e.Stream(L);this.pdfDocument=new z.PDFDocument(this,me),this._loadedStreamPromise=Promise.resolve(me)}async ensure(W,L,Q){const ce=W[L];return typeof ce=="function"?ce.apply(W,Q):ce}requestRange(W,L){return Promise.resolve()}requestLoadedStream(){}onLoadedStream(){return this._loadedStreamPromise}terminate(W){}}D.LocalPdfManager=he;class J extends ie{constructor(W,L,Q,ce,de,oe){super(),this._docId=W,this._password=Q.password,this._docBaseUrl=ae(oe),this.msgHandler=Q.msgHandler,this.evaluatorOptions=ce,this.enableXfa=de,this.streamManager=new U.ChunkedStreamManager(L,{msgHandler:Q.msgHandler,length:Q.length,disableAutoFetch:Q.disableAutoFetch,rangeChunkSize:Q.rangeChunkSize}),this.pdfDocument=new z.PDFDocument(this,this.streamManager.getStream())}async ensure(W,L,Q){try{const ce=W[L];return typeof ce=="function"?ce.apply(W,Q):ce}catch(ce){if(!(ce instanceof K.MissingDataException))throw ce;return await this.requestRange(ce.begin,ce.end),this.ensure(W,L,Q)}}requestRange(W,L){return this.streamManager.requestRange(W,L)}requestLoadedStream(){this.streamManager.requestAllChunks()}sendProgressiveData(W){this.streamManager.onReceiveData({chunk:W})}onLoadedStream(){return this.streamManager.onLoadedStream()}terminate(W){this.streamManager.abort(W)}}D.NetworkPdfManager=J},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ChunkedStreamManager=D.ChunkedStream=void 0;var R=B(2),U=B(131),K=B(135);class z extends K.Stream{constructor(ie,he,J){super(new Uint8Array(ie),0,ie,null),this.chunkSize=he,this._loadedChunks=new Set,this.numChunks=Math.ceil(ie/he),this.manager=J,this.progressiveDataLength=0,this.lastSuccessfulEnsureByteChunk=-1}getMissingChunks(){const ie=[];for(let he=0,J=this.numChunks;he=this.end?this.numChunks:Math.floor(he/this.chunkSize);for(let W=J;Wthis.numChunks)&&he!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(he))throw new U.MissingDataException(ie,ie+1);this.lastSuccessfulEnsureByteChunk=he}}ensureRange(ie,he){if(ie>=he||he<=this.progressiveDataLength)return;const J=Math.floor(ie/this.chunkSize);if(J>this.numChunks)return;const X=Math.min(Math.floor((he-1)/this.chunkSize)+1,this.numChunks);for(let W=J;W=this.end?-1:(ie>=this.progressiveDataLength&&this.ensureByte(ie),this.bytes[this.pos++])}getBytes(ie){const he=this.bytes,J=this.pos,X=this.end;if(!ie)return X>this.progressiveDataLength&&this.ensureRange(J,X),he.subarray(J,X);let W=J+ie;return W>X&&(W=X),W>this.progressiveDataLength&&this.ensureRange(J,W),this.pos=W,he.subarray(J,W)}getByteRange(ie,he){return ie<0&&(ie=0),he>this.end&&(he=this.end),he>this.progressiveDataLength&&this.ensureRange(ie,he),this.bytes.subarray(ie,he)}makeSubStream(ie,he){let J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;he?ie+he>this.progressiveDataLength&&this.ensureRange(ie,ie+he):ie>=this.progressiveDataLength&&this.ensureByte(ie);function X(){}X.prototype=Object.create(this),X.prototype.getMissingChunks=function(){const L=this.chunkSize,Q=Math.floor(this.start/L),ce=Math.floor((this.end-1)/L)+1,de=[];for(let oe=Q;oe{const ce=de=>{try{if(!de.done){const se=de.value;X.push(se),W+=(0,R.arrayByteLength)(se),J.isStreamingSupported&&this.onProgress({loaded:W}),J.read().then(ce,Q);return}const oe=(0,R.arraysToBytes)(X);X=null,L(oe)}catch(oe){Q(oe)}};J.read().then(ce,Q)}).then(L=>{this.aborted||this.onReceiveData({chunk:L,begin:ie})})}requestAllChunks(){const ie=this.stream.getMissingChunks();return this._requestChunks(ie),this._loadedStreamCapability.promise}_requestChunks(ie){const he=this.currRequestId++,J=new Set;this._chunksNeededByRequest.set(he,J);for(const L of ie)this.stream.hasChunk(L)||J.add(L);if(J.size===0)return Promise.resolve();const X=(0,R.createPromiseCapability)();this._promisesByRequest.set(he,X);const W=[];for(const L of J){let Q=this._requestsByChunk.get(L);Q||(Q=[],this._requestsByChunk.set(L,Q),W.push(L)),Q.push(he)}if(W.length>0){const L=this.groupChunks(W);for(const Q of L){const ce=Q.beginChunk*this.chunkSize,de=Math.min(Q.endChunk*this.chunkSize,this.length);this.sendRequest(ce,de).catch(X.reject)}}return X.promise.catch(L=>{if(!this.aborted)throw L})}getStream(){return this.stream}requestRange(ie,he){he=Math.min(he,this.length);const J=this.getBeginChunk(ie),X=this.getEndChunk(he),W=[];for(let L=J;L0&&arguments[0]!==void 0?arguments[0]:[];const he=[];for(const J of ie){const X=this.getBeginChunk(J.begin),W=this.getEndChunk(J.end);for(let L=X;L=0&&X+1!==Q&&(he.push({beginChunk:J,endChunk:X+1}),J=Q),W+1===ie.length&&he.push({beginChunk:J,endChunk:Q+1}),X=Q}return he}onProgress(ie){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+ie.loaded,total:this.length})}onReceiveData(ie){const he=ie.chunk,J=ie.begin===void 0,X=J?this.progressiveDataLength:ie.begin,W=X+he.byteLength,L=Math.floor(X/this.chunkSize),Q=W0)&&ce.push(se)}}}if(!this.disableAutoFetch&&this._requestsByChunk.size===0){let de;if(this.stream.numChunksLoaded===1){const oe=this.stream.numChunks-1;this.stream.hasChunk(oe)||(de=oe)}else de=this.stream.nextEmptyChunk(Q);Number.isInteger(de)&&this._requestChunks([de])}for(const de of ce){const oe=this._promisesByRequest.get(de);this._promisesByRequest.delete(de),oe.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}onError(ie){this._loadedStreamCapability.reject(ie)}getBeginChunk(ie){return Math.floor(ie/this.chunkSize)}getEndChunk(ie){return Math.floor((ie-1)/this.chunkSize)+1}abort(ie){this.aborted=!0,this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests(ie);for(const he of this._promisesByRequest.values())he.reject(ie)}}D.ChunkedStreamManager=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.StringStream=D.Stream=D.NullStream=void 0;var R=B(132),U=B(2);class K extends R.BaseStream{constructor(ie,he,J,X){super(),this.bytes=ie instanceof Uint8Array?ie:new Uint8Array(ie),this.start=he||0,this.pos=this.start,this.end=he+J||this.bytes.length,this.dict=X}get length(){return this.end-this.start}get isEmpty(){return this.length===0}getByte(){return this.pos>=this.end?-1:this.bytes[this.pos++]}getBytes(ie){const he=this.bytes,J=this.pos,X=this.end;if(!ie)return he.subarray(J,X);let W=J+ie;return W>X&&(W=X),this.pos=W,he.subarray(J,W)}getByteRange(ie,he){return ie<0&&(ie=0),he>this.end&&(he=this.end),this.bytes.subarray(ie,he)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(ie,he){let J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return new K(this.bytes.buffer,ie,he,J)}}D.Stream=K;class z extends K{constructor(ie){super((0,U.stringToBytes)(ie))}}D.StringStream=z;class e extends K{constructor(){super(new Uint8Array(0))}}D.NullStream=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Page=D.PDFDocument=void 0;var R=B(137),U=B(2),K=B(131),z=B(130),e=B(176),ae=B(132),ie=B(192),he=B(194),J=B(196),X=B(225),W=B(142),L=B(135),Q=B(200),ce=B(187),de=B(140),oe=B(144),se=B(199),me=B(190),Ee=B(201),ke=B(226);const xe=1,fe=[0,0,612,792];class ve{constructor(Ae){let{pdfManager:De,xref:Ue,pageIndex:we,pageDict:Ie,ref:Be,globalIdFactory:Ke,fontCache:Ve,builtInCMapCache:je,standardFontDataCache:Le,globalImageCache:et,nonBlendModesSet:Qe,xfaFactory:Fe}=Ae;this.pdfManager=De,this.pageIndex=we,this.pageDict=Ie,this.xref=Ue,this.ref=Be,this.fontCache=Ve,this.builtInCMapCache=je,this.standardFontDataCache=Le,this.globalImageCache=et,this.nonBlendModesSet=Qe,this.evaluatorOptions=De.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=Fe;const $e={obj:0};this._localIdFactory=class extends Ke{static createObjId(){return`p${we}_${++$e.obj}`}static getPageObjId(){return`page${Be.toString()}`}}}_getInheritableProperty(Ae){let De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const Ue=(0,K.getInheritableProperty)({dict:this.pageDict,key:Ae,getArray:De,stopWhenFound:!1});return Array.isArray(Ue)?Ue.length===1||!(Ue[0]instanceof z.Dict)?Ue[0]:z.Dict.merge({xref:this.xref,dictArray:Ue}):Ue}get content(){return this.pageDict.getArray("Contents")}get resources(){const Ae=this._getInheritableProperty("Resources");return(0,U.shadow)(this,"resources",Ae instanceof z.Dict?Ae:z.Dict.empty)}_getBoundingBox(Ae){if(this.xfaData)return this.xfaData.bbox;const De=this._getInheritableProperty(Ae,!0);if(Array.isArray(De)&&De.length===4){if(De[2]-De[0]!==0&&De[3]-De[1]!==0)return De;(0,U.warn)(`Empty /${Ae} entry.`)}return null}get mediaBox(){return(0,U.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||fe)}get cropBox(){return(0,U.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}get userUnit(){let Ae=this.pageDict.get("UserUnit");return(typeof Ae!="number"||Ae<=0)&&(Ae=xe),(0,U.shadow)(this,"userUnit",Ae)}get view(){const{cropBox:Ae,mediaBox:De}=this;let Ue;if(Ae===De||(0,U.isArrayEqual)(Ae,De))Ue=De;else{const we=U.Util.intersect(Ae,De);we&&we[2]-we[0]!==0&&we[3]-we[1]!==0?Ue=we:(0,U.warn)("Empty /CropBox and /MediaBox intersection.")}return(0,U.shadow)(this,"view",Ue||De)}get rotate(){let Ae=this._getInheritableProperty("Rotate")||0;return Ae%90!==0?Ae=0:Ae>=360?Ae%=360:Ae<0&&(Ae=(Ae%360+360)%360),(0,U.shadow)(this,"rotate",Ae)}_onSubStreamError(Ae,De,Ue){if(this.evaluatorOptions.ignoreErrors){Ae.send("UnsupportedFeature",{featureId:U.UNSUPPORTED_FEATURES.errorContentSubStream}),(0,U.warn)(`getContentStream - ignoring sub-stream (${Ue}): "${De}".`);return}throw De}getContentStream(Ae){return this.pdfManager.ensure(this,"content").then(De=>De instanceof ae.BaseStream?De:Array.isArray(De)?new oe.StreamsSequenceStream(De,this._onSubStreamError.bind(this,Ae)):new L.NullStream)}get xfaData(){return(0,U.shadow)(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async saveNewAnnotations(Ae,De,Ue){if(this.xfaFactory)throw new Error("XFA: Cannot save new annotations.");const we=new de.PartialEvaluator({xref:this.xref,handler:Ae,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}),Ie=this.pageDict,Be=this.annotations.slice(),Ke=await R.AnnotationFactory.saveNewAnnotations(we,De,Ue);for(const{ref:Qe}of Ke.annotations)Be.push(Qe);const Ve=Ie.get("Annots");Ie.set("Annots",Be);const je=[];let Le=null;this.xref.encrypt&&(Le=this.xref.encrypt.createCipherTransform(this.ref.num,this.ref.gen)),(0,me.writeObject)(this.ref,Ie,je,Le),Ve&&Ie.set("Annots",Ve);const et=Ke.dependencies;return et.push({ref:this.ref,data:je.join("")},...Ke.annotations),et}save(Ae,De,Ue){const we=new de.PartialEvaluator({xref:this.xref,handler:Ae,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions});return this._parsedAnnotations.then(function(Ie){const Be=[];for(const Ke of Ie)Ke.mustBePrinted(Ue)&&Be.push(Ke.save(we,De,Ue).catch(function(Ve){return(0,U.warn)(`save - ignoring annotation data during "${De.name}" task: "${Ve}".`),null}));return Promise.all(Be).then(function(Ke){return Ke.filter(Ve=>!!Ve)})})}loadResources(Ae){return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then(()=>new Q.ObjectLoader(this.resources,Ae,this.xref).load())}getOperatorList(Ae){let{handler:De,sink:Ue,task:we,intent:Ie,cacheKey:Be,annotationStorage:Ke=null}=Ae;const Ve=this.getContentStream(De),je=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),Le=new de.PartialEvaluator({xref:this.xref,handler:De,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}),et=this.xfaFactory?null:(0,K.getNewAnnotationsMap)(Ke);let Qe=Promise.resolve(null);if(et){const Ye=et.get(this.pageIndex);Ye&&(Qe=R.AnnotationFactory.printNewAnnotations(Le,we,Ye))}const $e=Promise.all([Ve,je]).then(Ye=>{let[tt]=Ye;const ot=new ce.OperatorList(Ie,Ue);return De.send("StartRenderPage",{transparency:Le.hasBlendModes(this.resources,this.nonBlendModesSet),pageIndex:this.pageIndex,cacheKey:Be}),Le.getOperatorList({stream:tt,task:we,resources:this.resources,operatorList:ot}).then(function(){return ot})});return Promise.all([$e,this._parsedAnnotations,Qe]).then(function(Ye){let[tt,ot,st]=Ye;if(st&&(ot=ot.concat(st)),ot.length===0||Ie&U.RenderingIntentFlag.ANNOTATIONS_DISABLE)return tt.flush(!0),{length:tt.totalLength};const dt=!!(Ie&U.RenderingIntentFlag.ANNOTATIONS_FORMS),ct=!!(Ie&U.RenderingIntentFlag.ANY),mt=!!(Ie&U.RenderingIntentFlag.DISPLAY),ut=!!(Ie&U.RenderingIntentFlag.PRINT),rt=[];for(const He of ot)(ct||mt&&He.mustBeViewed(Ke)||ut&&He.mustBePrinted(Ke))&&rt.push(He.getOperatorList(Le,we,Ie,dt,Ke).catch(function(Je){return(0,U.warn)(`getOperatorList - ignoring annotation data during "${we.name}" task: "${Je}".`),null}));return Promise.all(rt).then(function(He){let Je=!1,St=!1;for(const{opList:bt,separateForm:pt,separateCanvas:wt}of He)tt.addOpList(bt),pt&&(Je=pt),wt&&(St=wt);return tt.flush(!0,{form:Je,canvas:St}),{length:tt.totalLength}})})}extractTextContent(Ae){let{handler:De,task:Ue,includeMarkedContent:we,sink:Ie,combineTextItems:Be}=Ae;const Ke=this.getContentStream(De),Ve=this.loadResources(["ExtGState","Font","Properties","XObject"]);return Promise.all([Ke,Ve]).then(Le=>{let[et]=Le;return new de.PartialEvaluator({xref:this.xref,handler:De,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}).getTextContent({stream:et,task:Ue,resources:this.resources,includeMarkedContent:we,combineTextItems:Be,sink:Ie,viewBox:this.view})})}async getStructTree(){const Ae=await this.pdfManager.ensureCatalog("structTreeRoot");return Ae?(await this.pdfManager.ensure(this,"_parseStructTree",[Ae])).serializable:null}_parseStructTree(Ae){const De=new se.StructTreePage(Ae,this.pageDict);return De.parse(),De}async getAnnotationsData(Ae,De,Ue){const we=await this._parsedAnnotations;if(we.length===0)return[];const Ie=[],Be=[];let Ke;const Ve=!!(Ue&U.RenderingIntentFlag.ANY),je=!!(Ue&U.RenderingIntentFlag.DISPLAY),Le=!!(Ue&U.RenderingIntentFlag.PRINT);for(const et of we){const Qe=Ve||je&&et.viewable;(Qe||Le&&et.printable)&&Be.push(et.data),et.hasTextContent&&Qe&&(Ke||(Ke=new de.PartialEvaluator({xref:this.xref,handler:Ae,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions})),Ie.push(et.extractTextContent(Ke,De,this.view).catch(function(Fe){(0,U.warn)(`getAnnotationsData - ignoring textContent during "${De.name}" task: "${Fe}".`)})))}return await Promise.all(Ie),Be}get annotations(){const Ae=this._getInheritableProperty("Annots");return(0,U.shadow)(this,"annotations",Array.isArray(Ae)?Ae:[])}get _parsedAnnotations(){const Ae=this.pdfManager.ensure(this,"annotations").then(()=>{const De=[];for(const Ue of this.annotations)De.push(R.AnnotationFactory.create(this.xref,Ue,this.pdfManager,this._localIdFactory,!1).catch(function(we){return(0,U.warn)(`_parsedAnnotations: "${we}".`),null}));return Promise.all(De).then(function(Ue){if(Ue.length===0)return Ue;const we=[];let Ie;for(const Be of Ue)if(Be){if(Be instanceof R.PopupAnnotation){Ie||(Ie=[]),Ie.push(Be);continue}we.push(Be)}return Ie&&we.push(...Ie),we})});return(0,U.shadow)(this,"_parsedAnnotations",Ae)}get jsActions(){const Ae=(0,K.collectActions)(this.xref,this.pageDict,U.PageActionEventType);return(0,U.shadow)(this,"jsActions",Ae)}}D.Page=ve;const ye=new Uint8Array([37,80,68,70,45]),Ce=new Uint8Array([115,116,97,114,116,120,114,101,102]),pe=new Uint8Array([101,110,100,111,98,106]),_e=1024,Ge="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",Te=/^[1-9]\.\d$/;function Ne(ze,Ae){let De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1024,Ue=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const we=Ae.length,Ie=ze.peekBytes(De),Be=Ie.length-we;if(Be<=0)return!1;if(Ue){const Ke=we-1;let Ve=Ie.length-1;for(;Ve>=Ke;){let je=0;for(;je=we)return ze.pos+=Ve-Ke,!0;Ve--}}else{let Ke=0;for(;Ke<=Be;){let Ve=0;for(;Ve=we)return ze.pos+=Ke,!0;Ke++}}return!1}class Ze{constructor(Ae,De){if(De.length<=0)throw new U.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=Ae,this.stream=De,this.xref=new ke.XRef(De,Ae),this._pagePromises=new Map,this._version=null;const Ue={font:0};this._globalIdFactory=class{static getDocId(){return`g_${Ae.docId}`}static createFontId(){return`f${++Ue.font}`}static createObjId(){(0,U.unreachable)("Abstract method `createObjId` called.")}static getPageObjId(){(0,U.unreachable)("Abstract method `getPageObjId` called.")}}}parse(Ae){this.xref.parse(Ae),this.catalog=new he.Catalog(this.pdfManager,this.xref),this.catalog.version&&(this._version=this.catalog.version)}get linearization(){let Ae=null;try{Ae=W.Linearization.create(this.stream)}catch(De){if(De instanceof K.MissingDataException)throw De;(0,U.info)(De)}return(0,U.shadow)(this,"linearization",Ae)}get startXRef(){const Ae=this.stream;let De=0;if(this.linearization)Ae.reset(),Ne(Ae,pe)&&(De=Ae.pos+6-Ae.start);else{const we=Ce.length;let Ie=!1,Be=Ae.end;for(;!Ie&&Be>0;)Be-=1024-we,Be<0&&(Be=0),Ae.pos=Be,Ie=Ne(Ae,Ce,1024,!0);if(Ie){Ae.skip(9);let Ke;do Ke=Ae.getByte();while((0,K.isWhiteSpace)(Ke));let Ve="";for(;Ke>=32&&Ke<=57;)Ve+=String.fromCharCode(Ke),Ke=Ae.getByte();De=parseInt(Ve,10),isNaN(De)&&(De=0)}}return(0,U.shadow)(this,"startXRef",De)}checkHeader(){const Ae=this.stream;if(Ae.reset(),!Ne(Ae,ye))return;Ae.moveStart();const De=12;let Ue="",we;for(;(we=Ae.getByte())>32&&!(Ue.length>=De);)Ue+=String.fromCharCode(we);this._version||(this._version=Ue.substring(5))}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){let Ae=0;return this.catalog.hasActualNumPages?Ae=this.catalog.numPages:this.xfaFactory?Ae=this.xfaFactory.getNumPages():this.linearization?Ae=this.linearization.numPages:Ae=this.catalog.numPages,(0,U.shadow)(this,"numPages",Ae)}_hasOnlyDocumentSignatures(Ae){let De=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const Ue=10;return Array.isArray(Ae)?Ae.every(we=>{if(we=this.xref.fetchIfRef(we),!(we instanceof z.Dict))return!1;if(we.has("Kids"))return++De>Ue?((0,U.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):this._hasOnlyDocumentSignatures(we.get("Kids"),De);const Ie=(0,z.isName)(we.get("FT"),"Sig"),Be=we.get("Rect"),Ke=Array.isArray(Be)&&Be.every(Ve=>Ve===0);return Ie&&Ke}):!1}get _xfaStreams(){const Ae=this.catalog.acroForm;if(!Ae)return null;const De=Ae.get("XFA"),Ue={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(De instanceof ae.BaseStream&&!De.isEmpty)return Ue["xdp:xdp"]=De,Ue;if(!Array.isArray(De)||De.length===0)return null;for(let we=0,Ie=De.length;we{Qe.set(tt,ot)});const Fe=[];for(const[tt,ot]of Qe){const st=ot.get("FontDescriptor");if(!(st instanceof z.Dict))continue;let dt=st.get("FontFamily");dt=dt.replace(/[ ]+(\d)/g,"$1");const ct=st.get("FontWeight"),mt=-st.get("ItalicAngle"),ut={fontFamily:dt,fontWeight:ct,italicAngle:mt};(0,K.validateCSSFont)(ut)&&Fe.push(Ve.handleSetFont(we,[z.Name.get(tt),1],null,je,De,et,null,ut).catch(function(rt){return(0,U.warn)(`loadXfaFonts: "${rt}".`),null}))}await Promise.all(Fe);const $e=this.xfaFactory.setFonts(Le);if(!$e)return;Ke.ignoreErrors=!0,Fe.length=0,Le.length=0;const Ye=new Set;for(const tt of $e)(0,e.getXfaFontName)(`${tt}-Regular`)||Ye.add(tt);Ye.size&&$e.push("PdfJS-Fallback");for(const tt of $e)if(!Ye.has(tt))for(const ot of[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}]){const st=`${tt}-${ot.name}`,dt=(0,e.getXfaFontDict)(st);Fe.push(Ve.handleSetFont(we,[z.Name.get(st),1],null,je,De,et,dt,{fontFamily:tt,fontWeight:ot.fontWeight,italicAngle:ot.italicAngle}).catch(function(ct){return(0,U.warn)(`loadXfaFonts: "${ct}".`),null}))}await Promise.all(Fe),this.xfaFactory.appendFonts(Le,Ye)}async serializeXfaData(Ae){return this.xfaFactory?this.xfaFactory.serializeData(Ae):null}get formInfo(){const Ae={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},De=this.catalog.acroForm;if(!De)return(0,U.shadow)(this,"formInfo",Ae);try{const Ue=De.get("Fields"),we=Array.isArray(Ue)&&Ue.length>0;Ae.hasFields=we;const Ie=De.get("XFA");Ae.hasXfa=Array.isArray(Ie)&&Ie.length>0||Ie instanceof ae.BaseStream&&!Ie.isEmpty;const Ke=!!(De.get("SigFlags")&1),Ve=Ke&&this._hasOnlyDocumentSignatures(Ue);Ae.hasAcroForm=we&&!Ve,Ae.hasSignatures=Ke}catch(Ue){if(Ue instanceof K.MissingDataException)throw Ue;(0,U.warn)(`Cannot fetch form information: "${Ue}".`)}return(0,U.shadow)(this,"formInfo",Ae)}get documentInfo(){let Ae=this._version;(typeof Ae!="string"||!Te.test(Ae))&&((0,U.warn)(`Invalid PDF header version number: ${Ae}`),Ae=null);const De={PDFFormatVersion:Ae,Language:this.catalog.lang,EncryptFilterName:this.xref.encrypt?this.xref.encrypt.filterName:null,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures};let Ue;try{Ue=this.xref.trailer.get("Info")}catch(we){if(we instanceof K.MissingDataException)throw we;(0,U.info)("The document information dictionary is invalid.")}if(!(Ue instanceof z.Dict))return(0,U.shadow)(this,"documentInfo",De);for(const we of Ue.getKeys()){const Ie=Ue.get(we);switch(we){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if(typeof Ie=="string"){De[we]=(0,U.stringToPDFString)(Ie);continue}break;case"Trapped":if(Ie instanceof z.Name){De[we]=Ie;continue}break;default:let Be;switch(typeof Ie){case"string":Be=(0,U.stringToPDFString)(Ie);break;case"number":case"boolean":Be=Ie;break;default:Ie instanceof z.Name&&(Be=Ie);break}if(Be===void 0){(0,U.warn)(`Bad value, for custom key "${we}", in Info: ${Ie}.`);continue}De.Custom||(De.Custom=Object.create(null)),De.Custom[we]=Be;continue}(0,U.warn)(`Bad value, for key "${we}", in Info: ${Ie}.`)}return(0,U.shadow)(this,"documentInfo",De)}get fingerprints(){function Ae(Be){return typeof Be=="string"&&Be.length>0&&Be!==Ge}function De(Be){const Ke=[];for(let Ve=0,je=Be.length;Ve{let[Ve,je]=Ke;return new ve({pdfManager:this.pdfManager,xref:this.xref,pageIndex:Ae,pageDict:Ve,ref:je,globalIdFactory:this._globalIdFactory,fontCache:Ue.fontCache,builtInCMapCache:Ue.builtInCMapCache,standardFontDataCache:Ue.standardFontDataCache,globalImageCache:Ue.globalImageCache,nonBlendModesSet:Ue.nonBlendModesSet,xfaFactory:Ie})}),this._pagePromises.set(Ae,Be),Be}async checkFirstPage(){if(!(arguments.length>0&&arguments[0]!==void 0&&arguments[0]))try{await this.getPage(0)}catch(De){if(De instanceof K.XRefEntryException)throw this._pagePromises.delete(0),await this.cleanup(),new K.XRefParseException}}async checkLastPage(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const{catalog:De,pdfManager:Ue}=this;De.setActualNumPages();let we;try{if(await Promise.all([Ue.ensureDoc("xfaFactory"),Ue.ensureDoc("linearization"),Ue.ensureCatalog("numPages")]),this.xfaFactory)return;if(this.linearization?we=this.linearization.numPages:we=De.numPages,Number.isInteger(we)){if(we<=1)return}else throw new U.FormatError("Page count is not an integer.");await this.getPage(we-1)}catch(Ie){if(this._pagePromises.delete(we-1),await this.cleanup(),Ie instanceof K.XRefEntryException&&!Ae)throw new K.XRefParseException;(0,U.warn)(`checkLastPage - invalid /Pages tree /Count: ${we}.`);let Be;try{Be=await De.getAllPageDicts(Ae)}catch(Ke){if(Ke instanceof K.XRefEntryException&&!Ae)throw new K.XRefParseException;De.setActualNumPages(1);return}for(const[Ke,[Ve,je]]of Be){let Le;Ve instanceof Error?(Le=Promise.reject(Ve),Le.catch(()=>{})):Le=Promise.resolve(new ve({pdfManager:Ue,xref:this.xref,pageIndex:Ke,pageDict:Ve,ref:je,globalIdFactory:this._globalIdFactory,fontCache:De.fontCache,builtInCMapCache:De.builtInCMapCache,standardFontDataCache:De.standardFontDataCache,globalImageCache:De.globalImageCache,nonBlendModesSet:De.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(Ke,Le)}De.setActualNumPages(Be.size)}}fontFallback(Ae,De){return this.catalog.fontFallback(Ae,De)}async cleanup(){let Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.catalog?this.catalog.cleanup(Ae):(0,J.clearGlobalCaches)()}_collectFieldObjects(Ae,De,Ue){const we=this.xref.fetchIfRef(De);if(we.has("T")){const Ie=(0,U.stringToPDFString)(we.get("T"));Ae===""?Ae=Ie:Ae=`${Ae}.${Ie}`}if(Ue.has(Ae)||Ue.set(Ae,[]),Ue.get(Ae).push(R.AnnotationFactory.create(this.xref,De,this.pdfManager,this._localIdFactory,!0).then(Ie=>Ie&&Ie.getFieldObject()).catch(function(Ie){return(0,U.warn)(`_collectFieldObjects: "${Ie}".`),null})),we.has("Kids")){const Ie=we.get("Kids");for(const Be of Ie)this._collectFieldObjects(Ae,Be,Ue)}}get fieldObjects(){if(!this.formInfo.hasFields)return(0,U.shadow)(this,"fieldObjects",Promise.resolve(null));const Ae=Object.create(null),De=new Map;for(const we of this.catalog.acroForm.get("Fields"))this._collectFieldObjects("",we,De);const Ue=[];for(const[we,Ie]of De)Ue.push(Promise.all(Ie).then(Be=>{Be=Be.filter(Ke=>!!Ke),Be.length>0&&(Ae[we]=Be)}));return(0,U.shadow)(this,"fieldObjects",Promise.all(Ue).then(()=>Ae))}get hasJSActions(){const Ae=this.pdfManager.ensureDoc("_parseHasJSActions");return(0,U.shadow)(this,"hasJSActions",Ae)}async _parseHasJSActions(){const[Ae,De]=await Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);return Ae?!0:De?Object.values(De).some(Ue=>Ue.some(we=>we.actions!==null)):!1}get calculationOrderIds(){const Ae=this.catalog.acroForm;if(!Ae||!Ae.has("CO"))return(0,U.shadow)(this,"calculationOrderIds",null);const De=Ae.get("CO");if(!Array.isArray(De)||De.length===0)return(0,U.shadow)(this,"calculationOrderIds",null);const Ue=[];for(const we of De)we instanceof z.Ref&&Ue.push(we.toString());return Ue.length===0?(0,U.shadow)(this,"calculationOrderIds",null):(0,U.shadow)(this,"calculationOrderIds",Ue)}}D.PDFDocument=Ze},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PopupAnnotation=D.MarkupAnnotation=D.AnnotationFactory=D.AnnotationBorderStyle=D.Annotation=void 0,D.getQuadPoints=se;var R=B(2),U=B(131),K=B(138),z=B(130),e=B(190),ae=B(132),ie=B(185),he=B(194),J=B(139),X=B(197),W=B(200),L=B(187),Q=B(135),ce=B(201);class de{static create(Fe,$e,Ye,tt,ot){return Promise.all([Ye.ensureCatalog("acroForm"),Ye.ensureCatalog("baseUrl"),Ye.ensureDoc("xfaDatasets"),ot?this._getPageIndex(Fe,$e,Ye):-1]).then(st=>{let[dt,ct,mt,ut]=st;return Ye.ensure(this,"_create",[Fe,$e,Ye,tt,dt,mt,ot,ut])})}static _create(Fe,$e,Ye,tt,ot,st,dt){let ct=arguments.length>7&&arguments[7]!==void 0?arguments[7]:-1;const mt=Fe.fetchIfRef($e);if(!(mt instanceof z.Dict))return;const ut=$e instanceof z.Ref?$e.toString():`annot_${tt.createObjId()}`;let rt=mt.get("Subtype");rt=rt instanceof z.Name?rt.name:null;const He={xref:Fe,ref:$e,dict:mt,subtype:rt,id:ut,pdfManager:Ye,acroForm:ot instanceof z.Dict?ot:z.Dict.empty,xfaDatasets:st,collectFields:dt,pageIndex:ct};switch(rt){case"Link":return new Ge(He);case"Text":return new _e(He);case"Widget":let Je=(0,U.getInheritableProperty)({dict:mt,key:"FT"});switch(Je=Je instanceof z.Name?Je.name:null,Je){case"Tx":return new ve(He);case"Btn":return new ye(He);case"Ch":return new Ce(He);case"Sig":return new pe(He)}return(0,R.warn)(`Unimplemented widget field type "${Je}", falling back to base field type.`),new fe(He);case"Popup":return new Te(He);case"FreeText":return new Ne(He);case"Line":return new Ze(He);case"Square":return new ze(He);case"Circle":return new Ae(He);case"PolyLine":return new De(He);case"Polygon":return new Ue(He);case"Caret":return new we(He);case"Ink":return new Ie(He);case"Highlight":return new Be(He);case"Underline":return new Ke(He);case"Squiggly":return new Ve(He);case"StrikeOut":return new je(He);case"Stamp":return new Le(He);case"FileAttachment":return new et(He);default:return dt||(rt?(0,R.warn)(`Unimplemented annotation type "${rt}", falling back to base annotation.`):(0,R.warn)("Annotation is missing the required /Subtype.")),new Ee(He)}}static async _getPageIndex(Fe,$e,Ye){try{const tt=await Fe.fetchIfRefAsync($e);if(!(tt instanceof z.Dict))return-1;const ot=tt.getRaw("P");return ot instanceof z.Ref?await Ye.ensureCatalog("getPageIndex",[ot]):-1}catch(tt){return(0,R.warn)(`_getPageIndex: "${tt}".`),-1}}static async saveNewAnnotations(Fe,$e,Ye){const tt=Fe.xref;let ot;const st=[],dt=[];for(const ct of Ye)switch(ct.annotationType){case R.AnnotationEditorType.FREETEXT:if(!ot){const mt=new z.Dict(tt);mt.set("BaseFont",z.Name.get("Helvetica")),mt.set("Type",z.Name.get("Font")),mt.set("Subtype",z.Name.get("Type1")),mt.set("Encoding",z.Name.get("WinAnsiEncoding"));const ut=[];ot=tt.getNewRef(),(0,e.writeObject)(ot,mt,ut,null),st.push({ref:ot,data:ut.join("")})}dt.push(Ne.createNewAnnotation(tt,ct,st,{evaluator:Fe,task:$e,baseFontRef:ot}));break;case R.AnnotationEditorType.INK:dt.push(Ie.createNewAnnotation(tt,ct,st))}return{annotations:await Promise.all(dt),dependencies:st}}static async printNewAnnotations(Fe,$e,Ye){if(!Ye)return null;const tt=Fe.xref,ot=[];for(const st of Ye)switch(st.annotationType){case R.AnnotationEditorType.FREETEXT:ot.push(Ne.createNewPrintAnnotation(tt,st,{evaluator:Fe,task:$e}));break;case R.AnnotationEditorType.INK:ot.push(Ie.createNewPrintAnnotation(tt,st));break}return Promise.all(ot)}}D.AnnotationFactory=de;function oe(Qe){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Uint8ClampedArray(3);if(!Array.isArray(Qe))return Fe;const $e=Fe||new Uint8ClampedArray(3);switch(Qe.length){case 0:return null;case 1:return J.ColorSpace.singletons.gray.getRgbItem(Qe,0,$e,0),$e;case 3:return J.ColorSpace.singletons.rgb.getRgbItem(Qe,0,$e,0),$e;case 4:return J.ColorSpace.singletons.cmyk.getRgbItem(Qe,0,$e,0),$e;default:return Fe}}function se(Qe,Fe){if(!Qe.has("QuadPoints"))return null;const $e=Qe.getArray("QuadPoints");if(!Array.isArray($e)||$e.length===0||$e.length%8>0)return null;const Ye=[];for(let tt=0,ot=$e.length/8;ttFe[2]||mtFe[3]))return null;Ye[tt].push({x:ct,y:mt})}}return Ye.map(tt=>{const[ot,st,dt,ct]=tt.reduce((mt,ut)=>{let[rt,He,Je,St]=mt;return[Math.min(rt,ut.x),Math.max(He,ut.x),Math.min(Je,ut.y),Math.max(St,ut.y)]},[Number.MAX_VALUE,Number.MIN_VALUE,Number.MAX_VALUE,Number.MIN_VALUE]);return[{x:ot,y:ct},{x:st,y:ct},{x:ot,y:dt},{x:st,y:dt}]})}function me(Qe,Fe,$e){const[Ye,tt,ot,st]=R.Util.getAxialAlignedBoundingBox(Fe,$e);if(Ye===ot||tt===st)return[1,0,0,1,Qe[0],Qe[1]];const dt=(Qe[2]-Qe[0])/(ot-Ye),ct=(Qe[3]-Qe[1])/(st-tt);return[dt,0,0,ct,Qe[0]-Ye*dt,Qe[1]-tt*ct]}class Ee{constructor(Fe){const $e=Fe.dict;this.setTitle($e.get("T")),this.setContents($e.get("Contents")),this.setModificationDate($e.get("M")),this.setFlags($e.get("F")),this.setRectangle($e.getArray("Rect")),this.setColor($e.getArray("C")),this.setBorderStyle($e),this.setAppearance($e),this.setOptionalContent($e);const Ye=$e.get("MK");if(this.setBorderAndBackgroundColors(Ye),this.setRotation(Ye),this._streams=[],this.appearance&&this._streams.push(this.appearance),this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:Fe.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:Fe.subtype,hasOwnCanvas:!1},Fe.collectFields){const tt=$e.get("Kids");if(Array.isArray(tt)){const ot=[];for(const st of tt)st instanceof z.Ref&&ot.push(st.toString());ot.length!==0&&(this.data.kidIds=ot)}this.data.actions=(0,U.collectActions)(Fe.xref,$e,R.AnnotationActionEventType),this.data.fieldName=this._constructFieldName($e),this.data.pageIndex=Fe.pageIndex}this._fallbackFontDict=null}_hasFlag(Fe,$e){return!!(Fe&$e)}_isViewable(Fe){return!this._hasFlag(Fe,R.AnnotationFlag.INVISIBLE)&&!this._hasFlag(Fe,R.AnnotationFlag.NOVIEW)}_isPrintable(Fe){return this._hasFlag(Fe,R.AnnotationFlag.PRINT)&&!this._hasFlag(Fe,R.AnnotationFlag.INVISIBLE)}mustBeViewed(Fe){const $e=Fe&&Fe.get(this.data.id);return $e&&$e.hidden!==void 0?!$e.hidden:this.viewable&&!this._hasFlag(this.flags,R.AnnotationFlag.HIDDEN)}mustBePrinted(Fe){const $e=Fe&&Fe.get(this.data.id);return $e&&$e.print!==void 0?$e.print:this.printable}get viewable(){return this.data.quadPoints===null?!1:this.flags===0?!0:this._isViewable(this.flags)}get printable(){return this.data.quadPoints===null||this.flags===0?!1:this._isPrintable(this.flags)}_parseStringHelper(Fe){const $e=typeof Fe=="string"?(0,R.stringToPDFString)(Fe):"",Ye=$e&&(0,ie.bidi)($e).dir==="rtl"?"rtl":"ltr";return{str:$e,dir:Ye}}setTitle(Fe){this._title=this._parseStringHelper(Fe)}setContents(Fe){this._contents=this._parseStringHelper(Fe)}setModificationDate(Fe){this.modificationDate=typeof Fe=="string"?Fe:null}setFlags(Fe){this.flags=Number.isInteger(Fe)&&Fe>0?Fe:0}hasFlag(Fe){return this._hasFlag(this.flags,Fe)}setRectangle(Fe){Array.isArray(Fe)&&Fe.length===4?this.rectangle=R.Util.normalizeRect(Fe):this.rectangle=[0,0,0,0]}setColor(Fe){this.color=oe(Fe)}setLineEndings(Fe){if(this.lineEndings=["None","None"],Array.isArray(Fe)&&Fe.length===2)for(let $e=0;$e<2;$e++){const Ye=Fe[$e];if(Ye instanceof z.Name)switch(Ye.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[$e]=Ye.name;continue}(0,R.warn)(`Ignoring invalid lineEnding: ${Ye}`)}}setRotation(Fe){if(this.rotation=0,Fe instanceof z.Dict){let $e=Fe.get("R")||0;Number.isInteger($e)&&$e!==0&&($e%=360,$e<0&&($e+=360),$e%90===0&&(this.rotation=$e))}}setBorderAndBackgroundColors(Fe){Fe instanceof z.Dict?(this.borderColor=oe(Fe.getArray("BC"),null),this.backgroundColor=oe(Fe.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}setBorderStyle(Fe){if(this.borderStyle=new ke,Fe instanceof z.Dict)if(Fe.has("BS")){const $e=Fe.get("BS"),Ye=$e.get("Type");(!Ye||(0,z.isName)(Ye,"Border"))&&(this.borderStyle.setWidth($e.get("W"),this.rectangle),this.borderStyle.setStyle($e.get("S")),this.borderStyle.setDashArray($e.getArray("D")))}else if(Fe.has("Border")){const $e=Fe.getArray("Border");Array.isArray($e)&&$e.length>=3&&(this.borderStyle.setHorizontalCornerRadius($e[0]),this.borderStyle.setVerticalCornerRadius($e[1]),this.borderStyle.setWidth($e[2],this.rectangle),$e.length===4&&this.borderStyle.setDashArray($e[3],!0))}else this.borderStyle.setWidth(0)}setAppearance(Fe){this.appearance=null;const $e=Fe.get("AP");if(!($e instanceof z.Dict))return;const Ye=$e.get("N");if(Ye instanceof ae.BaseStream){this.appearance=Ye;return}if(!(Ye instanceof z.Dict))return;const tt=Fe.get("AS");!(tt instanceof z.Name)||!Ye.has(tt.name)||(this.appearance=Ye.get(tt.name))}setOptionalContent(Fe){this.oc=null;const $e=Fe.get("OC");$e instanceof z.Name?(0,R.warn)("setOptionalContent: Support for /Name-entry is not implemented."):$e instanceof z.Dict&&(this.oc=$e)}loadResources(Fe,$e){return $e.dict.getAsync("Resources").then(Ye=>Ye?new W.ObjectLoader(Ye,Fe,Ye.xref).load().then(function(){return Ye}):void 0)}async getOperatorList(Fe,$e,Ye,tt,ot){const st=this.data;let dt=this.appearance;const ct=!!(this.data.hasOwnCanvas&&Ye&R.RenderingIntentFlag.DISPLAY);if(!dt){if(!ct)return{opList:new L.OperatorList,separateForm:!1,separateCanvas:!1};dt=new Q.StringStream(""),dt.dict=new z.Dict}const mt=dt.dict,ut=await this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],dt),rt=mt.getArray("BBox")||[0,0,1,1],He=mt.getArray("Matrix")||[1,0,0,1,0,0],Je=me(st.rect,rt,He),St=new L.OperatorList;let bt;return this.oc&&(bt=await Fe.parseMarkedContentProps(this.oc,null)),bt!==void 0&&St.addOp(R.OPS.beginMarkedContentProps,["OC",bt]),St.addOp(R.OPS.beginAnnotation,[st.id,st.rect,Je,He,ct]),await Fe.getOperatorList({stream:dt,task:$e,resources:ut,operatorList:St,fallbackFontDict:this._fallbackFontDict}),St.addOp(R.OPS.endAnnotation,[]),bt!==void 0&&St.addOp(R.OPS.endMarkedContent,[]),this.reset(),{opList:St,separateForm:!1,separateCanvas:ct}}async save(Fe,$e,Ye){return null}get hasTextContent(){return!1}async extractTextContent(Fe,$e,Ye){if(!this.appearance)return;const tt=await this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance),ot=[],st=[],dt={desiredSize:Math.Infinity,ready:!0,enqueue(ct,mt){for(const ut of ct.items)st.push(ut.str),ut.hasEOL&&(ot.push(st.join("")),st.length=0)}};await Fe.getTextContent({stream:this.appearance,task:$e,resources:tt,includeMarkedContent:!0,combineTextItems:!0,sink:dt,viewBox:Ye}),this.reset(),st.length&&ot.push(st.join("")),ot.length>0&&(this.data.textContent=ot)}getFieldObject(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}reset(){for(const Fe of this._streams)Fe.reset()}_constructFieldName(Fe){if(!Fe.has("T")&&!Fe.has("Parent"))return(0,R.warn)("Unknown field name, falling back to empty field name."),"";if(!Fe.has("Parent"))return(0,R.stringToPDFString)(Fe.get("T"));const $e=[];Fe.has("T")&&$e.unshift((0,R.stringToPDFString)(Fe.get("T")));let Ye=Fe;const tt=new z.RefSet;for(Fe.objId&&tt.put(Fe.objId);Ye.has("Parent")&&(Ye=Ye.get("Parent"),!(!(Ye instanceof z.Dict)||Ye.objId&&tt.has(Ye.objId)));)Ye.objId&&tt.put(Ye.objId),Ye.has("T")&&$e.unshift((0,R.stringToPDFString)(Ye.get("T")));return $e.join(".")}}D.Annotation=Ee;class ke{constructor(){this.width=1,this.style=R.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}setWidth(Fe){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0,0,0];if(Fe instanceof z.Name){this.width=0;return}if(typeof Fe=="number"){if(Fe>0){const Ye=($e[2]-$e[0])/2,tt=($e[3]-$e[1])/2;Ye>0&&tt>0&&(Fe>Ye||Fe>tt)&&((0,R.warn)(`AnnotationBorderStyle.setWidth - ignoring width: ${Fe}`),Fe=1)}this.width=Fe}}setStyle(Fe){if(Fe instanceof z.Name)switch(Fe.name){case"S":this.style=R.AnnotationBorderStyleType.SOLID;break;case"D":this.style=R.AnnotationBorderStyleType.DASHED;break;case"B":this.style=R.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=R.AnnotationBorderStyleType.INSET;break;case"U":this.style=R.AnnotationBorderStyleType.UNDERLINE;break}}setDashArray(Fe){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Array.isArray(Fe)&&Fe.length>0){let Ye=!0,tt=!0;for(const ot of Fe)if(+ot>=0)ot>0&&(tt=!1);else{Ye=!1;break}Ye&&!tt?(this.dashArray=Fe,$e&&this.setStyle(z.Name.get("D"))):this.width=0}else Fe&&(this.width=0)}setHorizontalCornerRadius(Fe){Number.isInteger(Fe)&&(this.horizontalCornerRadius=Fe)}setVerticalCornerRadius(Fe){Number.isInteger(Fe)&&(this.verticalCornerRadius=Fe)}}D.AnnotationBorderStyle=ke;class xe extends Ee{constructor(Fe){super(Fe);const $e=Fe.dict;if($e.has("IRT")){const Ye=$e.getRaw("IRT");this.data.inReplyTo=Ye instanceof z.Ref?Ye.toString():null;const tt=$e.get("RT");this.data.replyType=tt instanceof z.Name?tt.name:R.AnnotationReplyType.REPLY}if(this.data.replyType===R.AnnotationReplyType.GROUP){const Ye=$e.get("IRT");this.setTitle(Ye.get("T")),this.data.titleObj=this._title,this.setContents(Ye.get("Contents")),this.data.contentsObj=this._contents,Ye.has("CreationDate")?(this.setCreationDate(Ye.get("CreationDate")),this.data.creationDate=this.creationDate):this.data.creationDate=null,Ye.has("M")?(this.setModificationDate(Ye.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,this.data.hasPopup=Ye.has("Popup"),Ye.has("C")?(this.setColor(Ye.getArray("C")),this.data.color=this.color):this.data.color=null}else this.data.titleObj=this._title,this.setCreationDate($e.get("CreationDate")),this.data.creationDate=this.creationDate,this.data.hasPopup=$e.has("Popup"),$e.has("C")||(this.data.color=null);$e.has("RC")&&(this.data.richText=ce.XFAFactory.getRichTextAsHtml($e.get("RC")))}setCreationDate(Fe){this.creationDate=typeof Fe=="string"?Fe:null}_setDefaultAppearance(Fe){let{xref:$e,extra:Ye,strokeColor:tt,fillColor:ot,blendMode:st,strokeAlpha:dt,fillAlpha:ct,pointsCallback:mt}=Fe,ut=Number.MAX_VALUE,rt=Number.MAX_VALUE,He=Number.MIN_VALUE,Je=Number.MIN_VALUE;const St=["q"];Ye&&St.push(Ye),tt&&St.push(`${tt[0]} ${tt[1]} ${tt[2]} RG`),ot&&St.push(`${ot[0]} ${ot[1]} ${ot[2]} rg`);let bt=this.data.quadPoints;bt||(bt=[[{x:this.rectangle[0],y:this.rectangle[3]},{x:this.rectangle[2],y:this.rectangle[3]},{x:this.rectangle[0],y:this.rectangle[1]},{x:this.rectangle[2],y:this.rectangle[1]}]]);for(const Yt of bt){const[Ft,Jt,er,Bt]=mt(St,Yt);ut=Math.min(ut,Ft),He=Math.max(He,Jt),rt=Math.min(rt,er),Je=Math.max(Je,Bt)}St.push("Q");const pt=new z.Dict($e),wt=new z.Dict($e);wt.set("Subtype",z.Name.get("Form"));const Pt=new Q.StringStream(St.join(" "));Pt.dict=wt,pt.set("Fm0",Pt);const Nt=new z.Dict($e);st&&Nt.set("BM",z.Name.get(st)),typeof dt=="number"&&Nt.set("CA",dt),typeof ct=="number"&&Nt.set("ca",ct);const Vt=new z.Dict($e);Vt.set("GS0",Nt);const Wt=new z.Dict($e);Wt.set("ExtGState",Vt),Wt.set("XObject",pt);const Mt=new z.Dict($e);Mt.set("Resources",Wt);const $t=this.data.rect=[ut,rt,He,Je];Mt.set("BBox",$t),this.appearance=new Q.StringStream("/GS0 gs /Fm0 Do"),this.appearance.dict=Mt,this._streams.push(this.appearance,Pt)}static async createNewAnnotation(Fe,$e,Ye,tt){const ot=Fe.getNewRef(),st=Fe.getNewRef(),dt=this.createNewDict($e,Fe,{apRef:st}),ct=await this.createNewAppearanceStream($e,Fe,tt),mt=[];let ut=Fe.encrypt?Fe.encrypt.createCipherTransform(st.num,st.gen):null;return(0,e.writeObject)(st,ct,mt,ut),Ye.push({ref:st,data:mt.join("")}),mt.length=0,ut=Fe.encrypt?Fe.encrypt.createCipherTransform(ot.num,ot.gen):null,(0,e.writeObject)(ot,dt,mt,ut),{ref:ot,data:mt.join("")}}static async createNewPrintAnnotation(Fe,$e,Ye){const tt=await this.createNewAppearanceStream($e,Fe,Ye),ot=this.createNewDict($e,Fe,{ap:tt});return new this.prototype.constructor({dict:ot,xref:Fe})}}D.MarkupAnnotation=xe;class fe extends Ee{constructor(Fe){super(Fe);const $e=Fe.dict,Ye=this.data;this.ref=Fe.ref,Ye.annotationType=R.AnnotationType.WIDGET,Ye.fieldName===void 0&&(Ye.fieldName=this._constructFieldName($e)),Ye.actions===void 0&&(Ye.actions=(0,U.collectActions)(Fe.xref,$e,R.AnnotationActionEventType));let tt=(0,U.getInheritableProperty)({dict:$e,key:"V",getArray:!0});Ye.fieldValue=this._decodeFormValue(tt);const ot=(0,U.getInheritableProperty)({dict:$e,key:"DV",getArray:!0});if(Ye.defaultFieldValue=this._decodeFormValue(ot),tt===void 0&&Fe.xfaDatasets){const rt=this._title.str;rt&&(this._hasValueFromXFA=!0,Ye.fieldValue=tt=Fe.xfaDatasets.getValue(rt))}tt===void 0&&Ye.defaultFieldValue!==null&&(Ye.fieldValue=Ye.defaultFieldValue),Ye.alternativeText=(0,R.stringToPDFString)($e.get("TU")||"");const st=(0,U.getInheritableProperty)({dict:$e,key:"DA"})||Fe.acroForm.get("DA");this._defaultAppearance=typeof st=="string"?st:"",Ye.defaultAppearanceData=(0,K.parseDefaultAppearance)(this._defaultAppearance);const dt=(0,U.getInheritableProperty)({dict:$e,key:"FT"});Ye.fieldType=dt instanceof z.Name?dt.name:null;const ct=(0,U.getInheritableProperty)({dict:$e,key:"DR"}),mt=Fe.acroForm.get("DR"),ut=this.appearance&&this.appearance.dict.get("Resources");this._fieldResources={localResources:ct,acroFormResources:mt,appearanceResources:ut,mergedResources:z.Dict.merge({xref:Fe.xref,dictArray:[ct,ut,mt],mergeSubDicts:!0})},Ye.fieldFlags=(0,U.getInheritableProperty)({dict:$e,key:"Ff"}),(!Number.isInteger(Ye.fieldFlags)||Ye.fieldFlags<0)&&(Ye.fieldFlags=0),Ye.readOnly=this.hasFieldFlag(R.AnnotationFieldFlag.READONLY),Ye.required=this.hasFieldFlag(R.AnnotationFieldFlag.REQUIRED),Ye.hidden=this._hasFlag(Ye.annotationFlags,R.AnnotationFlag.HIDDEN)}_decodeFormValue(Fe){return Array.isArray(Fe)?Fe.filter($e=>typeof $e=="string").map($e=>(0,R.stringToPDFString)($e)):Fe instanceof z.Name?(0,R.stringToPDFString)(Fe.name):typeof Fe=="string"?(0,R.stringToPDFString)(Fe):null}hasFieldFlag(Fe){return!!(this.data.fieldFlags&Fe)}static _getRotationMatrix(Fe,$e,Ye){switch(Fe){case 90:return[0,1,-1,0,$e,0];case 180:return[-1,0,0,-1,$e,Ye];case 270:return[0,-1,1,0,0,Ye];default:throw new Error("Invalid rotation")}}getRotationMatrix(Fe){const $e=Fe?Fe.get(this.data.id):void 0;let Ye=$e&&$e.rotation;if(Ye===void 0&&(Ye=this.rotation),Ye===0)return R.IDENTITY_MATRIX;const tt=this.data.rect[2]-this.data.rect[0],ot=this.data.rect[3]-this.data.rect[1];return fe._getRotationMatrix(Ye,tt,ot)}getBorderAndBackgroundAppearances(Fe){const $e=Fe?Fe.get(this.data.id):void 0;let Ye=$e&&$e.rotation;if(Ye===void 0&&(Ye=this.rotation),!this.backgroundColor&&!this.borderColor)return"";const tt=this.data.rect[2]-this.data.rect[0],ot=this.data.rect[3]-this.data.rect[1],st=Ye===0||Ye===180?`0 0 ${tt} ${ot} re`:`0 0 ${ot} ${tt} re`;let dt="";if(this.backgroundColor&&(dt=`${(0,K.getPdfColor)(this.backgroundColor,!0)} ${st} f `),this.borderColor){const ct=this.borderStyle.width||1;dt+=`${ct} w ${(0,K.getPdfColor)(this.borderColor,!1)} ${st} S `}return dt}async getOperatorList(Fe,$e,Ye,tt,ot){if(tt&&!(this instanceof pe))return{opList:new L.OperatorList,separateForm:!0,separateCanvas:!1};if(!this._hasText)return super.getOperatorList(Fe,$e,Ye,tt,ot);const st=await this._getAppearance(Fe,$e,ot);if(this.appearance&&st===null)return super.getOperatorList(Fe,$e,Ye,tt,ot);const dt=new L.OperatorList;if(!this._defaultAppearance||st===null)return{opList:dt,separateForm:!1,separateCanvas:!1};const ct=[1,0,0,1,0,0],mt=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],ut=me(this.data.rect,mt,ct);let rt;this.oc&&(rt=await Fe.parseMarkedContentProps(this.oc,null)),rt!==void 0&&dt.addOp(R.OPS.beginMarkedContentProps,["OC",rt]),dt.addOp(R.OPS.beginAnnotation,[this.data.id,this.data.rect,ut,this.getRotationMatrix(ot),!1]);const He=new Q.StringStream(st);return await Fe.getOperatorList({stream:He,task:$e,resources:this._fieldResources.mergedResources,operatorList:dt}),dt.addOp(R.OPS.endAnnotation,[]),rt!==void 0&&dt.addOp(R.OPS.endMarkedContent,[]),{opList:dt,separateForm:!1,separateCanvas:!1}}_getMKDict(Fe){const $e=new z.Dict(null);return Fe&&$e.set("R",Fe),this.borderColor&&$e.set("BC",Array.from(this.borderColor).map(Ye=>Ye/255)),this.backgroundColor&&$e.set("BG",Array.from(this.backgroundColor).map(Ye=>Ye/255)),$e.size>0?$e:null}async save(Fe,$e,Ye){const tt=Ye?Ye.get(this.data.id):void 0;let ot=tt&&tt.value,st=tt&&tt.rotation;if(ot===this.data.fieldValue||ot===void 0){if(!this._hasValueFromXFA&&st===void 0)return null;ot=ot||this.data.fieldValue}if(st===void 0&&!this._hasValueFromXFA&&Array.isArray(ot)&&Array.isArray(this.data.fieldValue)&&ot.length===this.data.fieldValue.length&&ot.every(($t,Yt)=>$t===this.data.fieldValue[Yt]))return null;st===void 0&&(st=this.rotation);let dt=await this._getAppearance(Fe,$e,Ye);if(dt===null)return null;const{xref:ct}=Fe,mt=ct.fetchIfRef(this.ref);if(!(mt instanceof z.Dict))return null;const ut=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],rt={path:(0,R.stringToPDFString)(mt.get("T")||""),value:ot},He=ct.getNewRef(),Je=new z.Dict(ct);Je.set("N",He);const St=ct.encrypt;let bt=null,pt=null;St&&(bt=St.createCipherTransform(this.ref.num,this.ref.gen),pt=St.createCipherTransform(He.num,He.gen),dt=pt.encryptString(dt));const wt=$t=>(0,R.isAscii)($t)?$t:(0,R.stringToUTF16BEString)($t);mt.set("V",Array.isArray(ot)?ot.map(wt):wt(ot)),mt.set("AP",Je),mt.set("M",`D:${(0,R.getModificationDate)()}`);const Pt=this._getMKDict(st);Pt&&mt.set("MK",Pt);const Nt=new z.Dict(ct);Nt.set("Length",dt.length),Nt.set("Subtype",z.Name.get("Form")),Nt.set("Resources",this._getSaveFieldResources(ct)),Nt.set("BBox",ut);const Vt=this.getRotationMatrix(Ye);Vt!==R.IDENTITY_MATRIX&&Nt.set("Matrix",Vt);const Wt=[`${this.ref.num} ${this.ref.gen} obj + */var hasRequiredPonyfill;function requirePonyfill(){return hasRequiredPonyfill||(hasRequiredPonyfill=1,function(k,m){(function(M,G){G(m)})(commonjsGlobal$1,function(M){var G=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol:function(Xe){return"Symbol(".concat(Xe,")")};function V(Xe,ht){var Ot={label:0,sent:function(){if(vr[0]&1)throw vr[1];return vr[1]},trys:[],ops:[]},tr,dr,vr,$r;return $r={next:Zr(0),throw:Zr(1),return:Zr(2)},typeof Symbol=="function"&&($r[Symbol.iterator]=function(){return this}),$r;function Zr(en){return function(Tn){return _n([en,Tn])}}function _n(en){if(tr)throw new TypeError("Generator is already executing.");for(;$r&&($r=0,en[0]&&(Ot=0)),Ot;)try{if(tr=1,dr&&(vr=en[0]&2?dr.return:en[0]?dr.throw||((vr=dr.return)&&vr.call(dr),0):dr.next)&&!(vr=vr.call(dr,en[1])).done)return vr;switch(dr=0,vr&&(en=[en[0]&2,vr.value]),en[0]){case 0:case 1:vr=en;break;case 4:return Ot.label++,{value:en[1],done:!1};case 5:Ot.label++,dr=en[1],en=[0];continue;case 7:en=Ot.ops.pop(),Ot.trys.pop();continue;default:if(vr=Ot.trys,!(vr=vr.length>0&&vr[vr.length-1])&&(en[0]===6||en[0]===2)){Ot=0;continue}if(en[0]===3&&(!vr||en[1]>vr[0]&&en[1]=Xe.length&&(Xe=void 0),{value:Xe&&Xe[tr++],done:!Xe}}};throw new TypeError(ht?"Object is not iterable.":"Symbol.iterator is not defined.")}function $(Xe){return this instanceof $?(this.v=Xe,this):new $(Xe)}function D(Xe,ht,Ot){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var tr=Ot.apply(Xe,ht||[]),dr,vr=[];return dr={},$r("next"),$r("throw"),$r("return"),dr[Symbol.asyncIterator]=function(){return this},dr;function $r(Ln){tr[Ln]&&(dr[Ln]=function(ai){return new Promise(function(wi,Mi){vr.push([Ln,ai,wi,Mi])>1||Zr(Ln,ai)})})}function Zr(Ln,ai){try{_n(tr[Ln](ai))}catch(wi){Nn(vr[0][3],wi)}}function _n(Ln){Ln.value instanceof $?Promise.resolve(Ln.value.v).then(en,Tn):Nn(vr[0][2],Ln)}function en(Ln){Zr("next",Ln)}function Tn(Ln){Zr("throw",Ln)}function Nn(Ln,ai){Ln(ai),vr.shift(),vr.length&&Zr(vr[0][0],vr[0][1])}}function B(Xe){var ht,Ot;return ht={},tr("next"),tr("throw",function(dr){throw dr}),tr("return"),ht[Symbol.iterator]=function(){return this},ht;function tr(dr,vr){ht[dr]=Xe[dr]?function($r){return(Ot=!Ot)?{value:$(Xe[dr]($r)),done:!1}:vr?vr($r):$r}:vr}}function R(Xe){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var ht=Xe[Symbol.asyncIterator],Ot;return ht?ht.call(Xe):(Xe=typeof q=="function"?q(Xe):Xe[Symbol.iterator](),Ot={},tr("next"),tr("throw"),tr("return"),Ot[Symbol.asyncIterator]=function(){return this},Ot);function tr(vr){Ot[vr]=Xe[vr]&&function($r){return new Promise(function(Zr,_n){$r=Xe[vr]($r),dr(Zr,_n,$r.done,$r.value)})}}function dr(vr,$r,Zr,_n){Promise.resolve(_n).then(function(en){vr({value:en,done:Zr})},$r)}}typeof SuppressedError=="function"&&SuppressedError;function U(){}function K(Xe){return typeof Xe=="object"&&Xe!==null||typeof Xe=="function"}var z=U;function e(Xe,ht){try{Object.defineProperty(Xe,"name",{value:ht,configurable:!0})}catch{}}var ae=Promise,ie=Promise.prototype.then,he=Promise.reject.bind(ae);function J(Xe){return new ae(Xe)}function W(Xe){return J(function(ht){return ht(Xe)})}function X(Xe){return he(Xe)}function L(Xe,ht,Ot){return ie.call(Xe,ht,Ot)}function Q(Xe,ht,Ot){L(L(Xe,ht,Ot),void 0,z)}function ce(Xe,ht){Q(Xe,ht)}function de(Xe,ht){Q(Xe,void 0,ht)}function se(Xe,ht,Ot){return L(Xe,ht,Ot)}function oe(Xe){L(Xe,void 0,z)}var me=function(Xe){if(typeof queueMicrotask=="function")me=queueMicrotask;else{var ht=W(void 0);me=function(Ot){return L(ht,Ot)}}return me(Xe)};function Ee(Xe,ht,Ot){if(typeof Xe!="function")throw new TypeError("Argument is not a function");return Function.prototype.apply.call(Xe,ht,Ot)}function ke(Xe,ht,Ot){try{return W(Ee(Xe,ht,Ot))}catch(tr){return X(tr)}}var xe=16384,fe=function(){function Xe(){this._cursor=0,this._size=0,this._front={_elements:[],_next:void 0},this._back=this._front,this._cursor=0,this._size=0}return Object.defineProperty(Xe.prototype,"length",{get:function(){return this._size},enumerable:!1,configurable:!0}),Xe.prototype.push=function(ht){var Ot=this._back,tr=Ot;Ot._elements.length===xe-1&&(tr={_elements:[],_next:void 0}),Ot._elements.push(ht),tr!==Ot&&(this._back=tr,Ot._next=tr),++this._size},Xe.prototype.shift=function(){var ht=this._front,Ot=ht,tr=this._cursor,dr=tr+1,vr=ht._elements,$r=vr[tr];return dr===xe&&(Ot=ht._next,dr=0),--this._size,this._cursor=dr,ht!==Ot&&(this._front=Ot),vr[tr]=void 0,$r},Xe.prototype.forEach=function(ht){for(var Ot=this._cursor,tr=this._front,dr=tr._elements;(Ot!==dr.length||tr._next!==void 0)&&!(Ot===dr.length&&(tr=tr._next,dr=tr._elements,Ot=0,dr.length===0));)ht(dr[Ot]),++Ot},Xe.prototype.peek=function(){var ht=this._front,Ot=this._cursor;return ht._elements[Ot]},Xe}(),ve=G("[[AbortSteps]]"),ye=G("[[ErrorSteps]]"),Ce=G("[[CancelSteps]]"),pe=G("[[PullSteps]]"),_e=G("[[ReleaseSteps]]");function Ge(Xe,ht){Xe._ownerReadableStream=ht,ht._reader=Xe,ht._state==="readable"?ze(Xe):ht._state==="closed"?Fe(Xe):Te(Xe,ht._storedError)}function Ae(Xe,ht){var Ot=Xe._ownerReadableStream;return Gi(Ot,ht)}function Ne(Xe){var ht=Xe._ownerReadableStream;ht._state==="readable"?Pe(Xe,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")):we(Xe,new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")),ht._readableStreamController[_e](),ht._reader=void 0,Xe._ownerReadableStream=void 0}function Ze(Xe){return new TypeError("Cannot "+Xe+" a stream using a released reader")}function ze(Xe){Xe._closedPromise=J(function(ht,Ot){Xe._closedPromise_resolve=ht,Xe._closedPromise_reject=Ot})}function Te(Xe,ht){ze(Xe),Pe(Xe,ht)}function Fe(Xe){ze(Xe),Ie(Xe)}function Pe(Xe,ht){Xe._closedPromise_reject!==void 0&&(oe(Xe._closedPromise),Xe._closedPromise_reject(ht),Xe._closedPromise_resolve=void 0,Xe._closedPromise_reject=void 0)}function we(Xe,ht){Te(Xe,ht)}function Ie(Xe){Xe._closedPromise_resolve!==void 0&&(Xe._closedPromise_resolve(void 0),Xe._closedPromise_resolve=void 0,Xe._closedPromise_reject=void 0)}var Be=Number.isFinite||function(Xe){return typeof Xe=="number"&&isFinite(Xe)},Ke=Math.trunc||function(Xe){return Xe<0?Math.ceil(Xe):Math.floor(Xe)};function Ve(Xe){return typeof Xe=="object"||typeof Xe=="function"}function je(Xe,ht){if(Xe!==void 0&&!Ve(Xe))throw new TypeError("".concat(ht," is not an object."))}function Le(Xe,ht){if(typeof Xe!="function")throw new TypeError("".concat(ht," is not a function."))}function et(Xe){return typeof Xe=="object"&&Xe!==null||typeof Xe=="function"}function Qe(Xe,ht){if(!et(Xe))throw new TypeError("".concat(ht," is not an object."))}function Ue(Xe,ht,Ot){if(Xe===void 0)throw new TypeError("Parameter ".concat(ht," is required in '").concat(Ot,"'."))}function $e(Xe,ht,Ot){if(Xe===void 0)throw new TypeError("".concat(ht," is required in '").concat(Ot,"'."))}function Ye(Xe){return Number(Xe)}function tt(Xe){return Xe===0?0:Xe}function ot(Xe){return tt(Ke(Xe))}function st(Xe,ht){var Ot=0,tr=Number.MAX_SAFE_INTEGER,dr=Number(Xe);if(dr=tt(dr),!Be(dr))throw new TypeError("".concat(ht," is not a finite number"));if(dr=ot(dr),drtr)throw new TypeError("".concat(ht," is outside the accepted range of ").concat(Ot," to ").concat(tr,", inclusive"));return!Be(dr)||dr===0?0:dr}function dt(Xe,ht){if(!Ea(Xe))throw new TypeError("".concat(ht," is not a ReadableStream."))}function ct(Xe){return new Je(Xe)}function mt(Xe,ht){Xe._reader._readRequests.push(ht)}function ut(Xe,ht,Ot){var tr=Xe._reader,dr=tr._readRequests.shift();Ot?dr._closeSteps():dr._chunkSteps(ht)}function rt(Xe){return Xe._reader._readRequests.length}function He(Xe){var ht=Xe._reader;return!(ht===void 0||!St(ht))}var Je=function(){function Xe(ht){if(Ue(ht,1,"ReadableStreamDefaultReader"),dt(ht,"First parameter"),Ca(ht))throw new TypeError("This stream has already been locked for exclusive reading by another reader");Ge(this,ht),this._readRequests=new fe}return Object.defineProperty(Xe.prototype,"closed",{get:function(){return St(this)?this._closedPromise:X(Pt("closed"))},enumerable:!1,configurable:!0}),Xe.prototype.cancel=function(ht){return ht===void 0&&(ht=void 0),St(this)?this._ownerReadableStream===void 0?X(Ze("cancel")):Ae(this,ht):X(Pt("cancel"))},Xe.prototype.read=function(){if(!St(this))return X(Pt("read"));if(this._ownerReadableStream===void 0)return X(Ze("read from"));var ht,Ot,tr=J(function(vr,$r){ht=vr,Ot=$r}),dr={_chunkSteps:function(vr){return ht({value:vr,done:!1})},_closeSteps:function(){return ht({value:void 0,done:!0})},_errorSteps:function(vr){return Ot(vr)}};return bt(this,dr),tr},Xe.prototype.releaseLock=function(){if(!St(this))throw Pt("releaseLock");this._ownerReadableStream!==void 0&&pt(this)},Xe}();Object.defineProperties(Je.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),e(Je.prototype.cancel,"cancel"),e(Je.prototype.read,"read"),e(Je.prototype.releaseLock,"releaseLock"),typeof G.toStringTag=="symbol"&&Object.defineProperty(Je.prototype,G.toStringTag,{value:"ReadableStreamDefaultReader",configurable:!0});function St(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_readRequests")?!1:Xe instanceof Je}function bt(Xe,ht){var Ot=Xe._ownerReadableStream;Ot._disturbed=!0,Ot._state==="closed"?ht._closeSteps():Ot._state==="errored"?ht._errorSteps(Ot._storedError):Ot._readableStreamController[pe](ht)}function pt(Xe){Ne(Xe);var ht=new TypeError("Reader was released");wt(Xe,ht)}function wt(Xe,ht){var Ot=Xe._readRequests;Xe._readRequests=new fe,Ot.forEach(function(tr){tr._errorSteps(ht)})}function Pt(Xe){return new TypeError("ReadableStreamDefaultReader.prototype.".concat(Xe," can only be used on a ReadableStreamDefaultReader"))}var Nt,Vt,Wt;function Mt(Xe){return Xe.slice()}function $t(Xe,ht,Ot,tr,dr){new Uint8Array(Xe).set(new Uint8Array(Ot,tr,dr),ht)}var Yt=function(Xe){return typeof Xe.transfer=="function"?Yt=function(ht){return ht.transfer()}:typeof structuredClone=="function"?Yt=function(ht){return structuredClone(ht,{transfer:[ht]})}:Yt=function(ht){return ht},Yt(Xe)},Ft=function(Xe){return typeof Xe.detached=="boolean"?Ft=function(ht){return ht.detached}:Ft=function(ht){return ht.byteLength===0},Ft(Xe)};function Jt(Xe,ht,Ot){if(Xe.slice)return Xe.slice(ht,Ot);var tr=Ot-ht,dr=new ArrayBuffer(tr);return $t(dr,0,Xe,ht,tr),dr}function er(Xe,ht){var Ot=Xe[ht];if(Ot!=null){if(typeof Ot!="function")throw new TypeError("".concat(String(ht)," is not a function"));return Ot}}function Bt(Xe){var ht,Ot=(ht={},ht[G.iterator]=function(){return Xe.iterator},ht),tr=function(){return D(this,arguments,function(){return V(this,function(vr){switch(vr.label){case 0:return[5,q(B(R(Ot)))];case 1:return[4,$.apply(void 0,[vr.sent()])];case 2:return[4,$.apply(void 0,[vr.sent()])];case 3:return[2,vr.sent()]}})})}(),dr=tr.next;return{iterator:tr,nextMethod:dr,done:!1}}var It=(Wt=(Nt=G.asyncIterator)!==null&&Nt!==void 0?Nt:(Vt=G.for)===null||Vt===void 0?void 0:Vt.call(G,"Symbol.asyncIterator"))!==null&&Wt!==void 0?Wt:"@@asyncIterator";function Dt(Xe,ht,Ot){if(ht===void 0&&(ht="sync"),Ot===void 0)if(ht==="async"){if(Ot=er(Xe,It),Ot===void 0){var tr=er(Xe,G.iterator),dr=Dt(Xe,"sync",tr);return Bt(dr)}}else Ot=er(Xe,G.iterator);if(Ot===void 0)throw new TypeError("The object is not iterable");var vr=Ee(Ot,Xe,[]);if(!K(vr))throw new TypeError("The iterator method must return an object");var $r=vr.next;return{iterator:vr,nextMethod:$r,done:!1}}function Zt(Xe){var ht=Ee(Xe.nextMethod,Xe.iterator,[]);if(!K(ht))throw new TypeError("The iterator.next() method must return an object");return ht}function gr(Xe){return!!Xe.done}function fr(Xe){return Xe.value}var Dr,kr=(Dr={},Dr[It]=function(){return this},Dr);Object.defineProperty(kr,It,{enumerable:!1});var cr=function(){function Xe(ht,Ot){this._ongoingPromise=void 0,this._isFinished=!1,this._reader=ht,this._preventCancel=Ot}return Xe.prototype.next=function(){var ht=this,Ot=function(){return ht._nextSteps()};return this._ongoingPromise=this._ongoingPromise?se(this._ongoingPromise,Ot,Ot):Ot(),this._ongoingPromise},Xe.prototype.return=function(ht){var Ot=this,tr=function(){return Ot._returnSteps(ht)};return this._ongoingPromise?se(this._ongoingPromise,tr,tr):tr()},Xe.prototype._nextSteps=function(){var ht=this;if(this._isFinished)return Promise.resolve({value:void 0,done:!0});var Ot=this._reader,tr,dr,vr=J(function(Zr,_n){tr=Zr,dr=_n}),$r={_chunkSteps:function(Zr){ht._ongoingPromise=void 0,me(function(){return tr({value:Zr,done:!1})})},_closeSteps:function(){ht._ongoingPromise=void 0,ht._isFinished=!0,Ne(Ot),tr({value:void 0,done:!0})},_errorSteps:function(Zr){ht._ongoingPromise=void 0,ht._isFinished=!0,Ne(Ot),dr(Zr)}};return bt(Ot,$r),vr},Xe.prototype._returnSteps=function(ht){if(this._isFinished)return Promise.resolve({value:ht,done:!0});this._isFinished=!0;var Ot=this._reader;if(!this._preventCancel){var tr=Ae(Ot,ht);return Ne(Ot),se(tr,function(){return{value:ht,done:!0}})}return Ne(Ot),W({value:ht,done:!0})},Xe}(),Ar={next:function(){return vt(this)?this._asyncIteratorImpl.next():X(Xt("next"))},return:function(Xe){return vt(this)?this._asyncIteratorImpl.return(Xe):X(Xt("return"))}};Object.setPrototypeOf(Ar,kr);function yt(Xe,ht){var Ot=ct(Xe),tr=new cr(Ot,ht),dr=Object.create(Ar);return dr._asyncIteratorImpl=tr,dr}function vt(Xe){if(!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_asyncIteratorImpl"))return!1;try{return Xe._asyncIteratorImpl instanceof cr}catch{return!1}}function Xt(Xe){return new TypeError("ReadableStreamAsyncIterator.".concat(Xe," can only be used on a ReadableSteamAsyncIterator"))}var At=Number.isNaN||function(Xe){return Xe!==Xe};function zt(Xe){return!(typeof Xe!="number"||At(Xe)||Xe<0)}function Br(Xe){var ht=Jt(Xe.buffer,Xe.byteOffset,Xe.byteOffset+Xe.byteLength);return new Uint8Array(ht)}function br(Xe){var ht=Xe._queue.shift();return Xe._queueTotalSize-=ht.size,Xe._queueTotalSize<0&&(Xe._queueTotalSize=0),ht.value}function Ur(Xe,ht,Ot){if(!zt(Ot)||Ot===1/0)throw new RangeError("Size must be a finite, non-NaN, non-negative number.");Xe._queue.push({value:ht,size:Ot}),Xe._queueTotalSize+=Ot}function un(Xe){var ht=Xe._queue.peek();return ht.value}function sr(Xe){Xe._queue=new fe,Xe._queueTotalSize=0}function ur(Xe){return Xe===DataView}function Cr(Xe){return ur(Xe.constructor)}function Tr(Xe){return ur(Xe)?1:Xe.BYTES_PER_ELEMENT}var jt=function(){function Xe(){throw new TypeError("Illegal constructor")}return Object.defineProperty(Xe.prototype,"view",{get:function(){if(!Gr(this))throw aa("view");return this._view},enumerable:!1,configurable:!0}),Xe.prototype.respond=function(ht){if(!Gr(this))throw aa("respond");if(Ue(ht,1,"respond"),ht=st(ht,"First parameter"),this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Ft(this._view.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");na(this._associatedReadableByteStreamController,ht)},Xe.prototype.respondWithNewView=function(ht){if(!Gr(this))throw aa("respondWithNewView");if(Ue(ht,1,"respondWithNewView"),!ArrayBuffer.isView(ht))throw new TypeError("You can only respond with array buffer views");if(this._associatedReadableByteStreamController===void 0)throw new TypeError("This BYOB request has been invalidated");if(Ft(ht.buffer))throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");Fi(this._associatedReadableByteStreamController,ht)},Xe}();Object.defineProperties(jt.prototype,{respond:{enumerable:!0},respondWithNewView:{enumerable:!0},view:{enumerable:!0}}),e(jt.prototype.respond,"respond"),e(jt.prototype.respondWithNewView,"respondWithNewView"),typeof G.toStringTag=="symbol"&&Object.defineProperty(jt.prototype,G.toStringTag,{value:"ReadableStreamBYOBRequest",configurable:!0});var Wr=function(){function Xe(){throw new TypeError("Illegal constructor")}return Object.defineProperty(Xe.prototype,"byobRequest",{get:function(){if(!ir(this))throw Ii("byobRequest");return ha(this)},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"desiredSize",{get:function(){if(!ir(this))throw Ii("desiredSize");return ka(this)},enumerable:!1,configurable:!0}),Xe.prototype.close=function(){if(!ir(this))throw Ii("close");if(this._closeRequested)throw new TypeError("The stream has already been closed; do not close it again!");var ht=this._controlledReadableByteStream._state;if(ht!=="readable")throw new TypeError("The stream (in ".concat(ht," state) is not in the readable state and cannot be closed"));Ri(this)},Xe.prototype.enqueue=function(ht){if(!ir(this))throw Ii("enqueue");if(Ue(ht,1,"enqueue"),!ArrayBuffer.isView(ht))throw new TypeError("chunk must be an array buffer view");if(ht.byteLength===0)throw new TypeError("chunk must have non-zero byteLength");if(ht.buffer.byteLength===0)throw new TypeError("chunk's buffer must have non-zero byteLength");if(this._closeRequested)throw new TypeError("stream is closed or draining");var Ot=this._controlledReadableByteStream._state;if(Ot!=="readable")throw new TypeError("The stream (in ".concat(Ot," state) is not in the readable state and cannot be enqueued to"));oi(this,ht)},Xe.prototype.error=function(ht){if(ht===void 0&&(ht=void 0),!ir(this))throw Ii("error");mi(this,ht)},Xe.prototype[Ce]=function(ht){Xr(this),sr(this);var Ot=this._cancelAlgorithm(ht);return ra(this),Ot},Xe.prototype[pe]=function(ht){var Ot=this._controlledReadableByteStream;if(this._queueTotalSize>0){Ia(this,ht);return}var tr=this._autoAllocateChunkSize;if(tr!==void 0){var dr=void 0;try{dr=new ArrayBuffer(tr)}catch($r){ht._errorSteps($r);return}var vr={buffer:dr,bufferByteLength:tr,byteOffset:0,byteLength:tr,bytesFilled:0,minimumFill:1,elementSize:1,viewConstructor:Uint8Array,readerType:"default"};this._pendingPullIntos.push(vr)}mt(Ot,ht),Jr(this)},Xe.prototype[_e]=function(){if(this._pendingPullIntos.length>0){var ht=this._pendingPullIntos.peek();ht.readerType="none",this._pendingPullIntos=new fe,this._pendingPullIntos.push(ht)}},Xe}();Object.defineProperties(Wr.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},byobRequest:{enumerable:!0},desiredSize:{enumerable:!0}}),e(Wr.prototype.close,"close"),e(Wr.prototype.enqueue,"enqueue"),e(Wr.prototype.error,"error"),typeof G.toStringTag=="symbol"&&Object.defineProperty(Wr.prototype,G.toStringTag,{value:"ReadableByteStreamController",configurable:!0});function ir(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_controlledReadableByteStream")?!1:Xe instanceof Wr}function Gr(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_associatedReadableByteStreamController")?!1:Xe instanceof jt}function Jr(Xe){var ht=da(Xe);if(ht){if(Xe._pulling){Xe._pullAgain=!0;return}Xe._pulling=!0;var Ot=Xe._pullAlgorithm();Q(Ot,function(){return Xe._pulling=!1,Xe._pullAgain&&(Xe._pullAgain=!1,Jr(Xe)),null},function(tr){return mi(Xe,tr),null})}}function Xr(Xe){an(Xe),Xe._pendingPullIntos=new fe}function fn(Xe,ht){var Ot=!1;Xe._state==="closed"&&(Ot=!0);var tr=cn(ht);ht.readerType==="default"?ut(Xe,tr,Ot):ma(Xe,tr,Ot)}function cn(Xe){var ht=Xe.bytesFilled,Ot=Xe.elementSize;return new Xe.viewConstructor(Xe.buffer,Xe.byteOffset,ht/Ot)}function nn(Xe,ht,Ot,tr){Xe._queue.push({buffer:ht,byteOffset:Ot,byteLength:tr}),Xe._queueTotalSize+=tr}function ar(Xe,ht,Ot,tr){var dr;try{dr=Jt(ht,Ot,Ot+tr)}catch(vr){throw mi(Xe,vr),vr}nn(Xe,dr,0,tr)}function xr(Xe,ht){ht.bytesFilled>0&&ar(Xe,ht.buffer,ht.byteOffset,ht.bytesFilled),Ci(Xe)}function Lr(Xe,ht){var Ot=Math.min(Xe._queueTotalSize,ht.byteLength-ht.bytesFilled),tr=ht.bytesFilled+Ot,dr=Ot,vr=!1,$r=tr%ht.elementSize,Zr=tr-$r;Zr>=ht.minimumFill&&(dr=Zr-ht.bytesFilled,vr=!0);for(var _n=Xe._queue;dr>0;){var en=_n.peek(),Tn=Math.min(dr,en.byteLength),Nn=ht.byteOffset+ht.bytesFilled;$t(ht.buffer,Nn,en.buffer,en.byteOffset,Tn),en.byteLength===Tn?_n.shift():(en.byteOffset+=Tn,en.byteLength-=Tn),Xe._queueTotalSize-=Tn,Rr(Xe,Tn,ht),dr-=Tn}return vr}function Rr(Xe,ht,Ot){Ot.bytesFilled+=ht}function Mr(Xe){Xe._queueTotalSize===0&&Xe._closeRequested?(ra(Xe),qa(Xe._controlledReadableByteStream)):Jr(Xe)}function an(Xe){Xe._byobRequest!==null&&(Xe._byobRequest._associatedReadableByteStreamController=void 0,Xe._byobRequest._view=null,Xe._byobRequest=null)}function gn(Xe){for(;Xe._pendingPullIntos.length>0;){if(Xe._queueTotalSize===0)return;var ht=Xe._pendingPullIntos.peek();Lr(Xe,ht)&&(Ci(Xe),fn(Xe._controlledReadableByteStream,ht))}}function dn(Xe){for(var ht=Xe._controlledReadableByteStream._reader;ht._readRequests.length>0;){if(Xe._queueTotalSize===0)return;var Ot=ht._readRequests.shift();Ia(Xe,Ot)}}function pn(Xe,ht,Ot,tr){var dr=Xe._controlledReadableByteStream,vr=ht.constructor,$r=Tr(vr),Zr=ht.byteOffset,_n=ht.byteLength,en=Ot*$r,Tn;try{Tn=Yt(ht.buffer)}catch(Mi){tr._errorSteps(Mi);return}var Nn={buffer:Tn,bufferByteLength:Tn.byteLength,byteOffset:Zr,byteLength:_n,bytesFilled:0,minimumFill:en,elementSize:$r,viewConstructor:vr,readerType:"byob"};if(Xe._pendingPullIntos.length>0){Xe._pendingPullIntos.push(Nn),ki(dr,tr);return}if(dr._state==="closed"){var Ln=new vr(Nn.buffer,Nn.byteOffset,0);tr._closeSteps(Ln);return}if(Xe._queueTotalSize>0){if(Lr(Xe,Nn)){var ai=cn(Nn);Mr(Xe),tr._chunkSteps(ai);return}if(Xe._closeRequested){var wi=new TypeError("Insufficient bytes to fill elements in the given buffer");mi(Xe,wi),tr._errorSteps(wi);return}}Xe._pendingPullIntos.push(Nn),ki(dr,tr),Jr(Xe)}function Mn(Xe,ht){ht.readerType==="none"&&Ci(Xe);var Ot=Xe._controlledReadableByteStream;if(oa(Ot))for(;sa(Ot)>0;){var tr=Ci(Xe);fn(Ot,tr)}}function Yn(Xe,ht,Ot){if(Rr(Xe,ht,Ot),Ot.readerType==="none"){xr(Xe,Ot),gn(Xe);return}if(!(Ot.bytesFilled0){var dr=Ot.byteOffset+Ot.bytesFilled;ar(Xe,Ot.buffer,dr-tr,tr)}Ot.bytesFilled-=tr,fn(Xe._controlledReadableByteStream,Ot),gn(Xe)}}function hi(Xe,ht){var Ot=Xe._pendingPullIntos.peek();an(Xe);var tr=Xe._controlledReadableByteStream._state;tr==="closed"?Mn(Xe,Ot):Yn(Xe,ht,Ot),Jr(Xe)}function Ci(Xe){var ht=Xe._pendingPullIntos.shift();return ht}function da(Xe){var ht=Xe._controlledReadableByteStream;if(ht._state!=="readable"||Xe._closeRequested||!Xe._started)return!1;if(He(ht)&&rt(ht)>0||oa(ht)&&sa(ht)>0)return!0;var Ot=ka(Xe);return Ot>0}function ra(Xe){Xe._pullAlgorithm=void 0,Xe._cancelAlgorithm=void 0}function Ri(Xe){var ht=Xe._controlledReadableByteStream;if(!(Xe._closeRequested||ht._state!=="readable")){if(Xe._queueTotalSize>0){Xe._closeRequested=!0;return}if(Xe._pendingPullIntos.length>0){var Ot=Xe._pendingPullIntos.peek();if(Ot.bytesFilled%Ot.elementSize!==0){var tr=new TypeError("Insufficient bytes to fill elements in the given buffer");throw mi(Xe,tr),tr}}ra(Xe),qa(ht)}}function oi(Xe,ht){var Ot=Xe._controlledReadableByteStream;if(!(Xe._closeRequested||Ot._state!=="readable")){var tr=ht.buffer,dr=ht.byteOffset,vr=ht.byteLength;if(Ft(tr))throw new TypeError("chunk's buffer is detached and so cannot be enqueued");var $r=Yt(tr);if(Xe._pendingPullIntos.length>0){var Zr=Xe._pendingPullIntos.peek();if(Ft(Zr.buffer))throw new TypeError("The BYOB request's buffer has been detached and so cannot be filled with an enqueued chunk");an(Xe),Zr.buffer=Yt(Zr.buffer),Zr.readerType==="none"&&xr(Xe,Zr)}if(He(Ot))if(dn(Xe),rt(Ot)===0)nn(Xe,$r,dr,vr);else{Xe._pendingPullIntos.length>0&&Ci(Xe);var _n=new Uint8Array($r,dr,vr);ut(Ot,_n,!1)}else oa(Ot)?(nn(Xe,$r,dr,vr),gn(Xe)):nn(Xe,$r,dr,vr);Jr(Xe)}}function mi(Xe,ht){var Ot=Xe._controlledReadableByteStream;Ot._state==="readable"&&(Xr(Xe),sr(Xe),ra(Xe),$s(Ot,ht))}function Ia(Xe,ht){var Ot=Xe._queue.shift();Xe._queueTotalSize-=Ot.byteLength,Mr(Xe);var tr=new Uint8Array(Ot.buffer,Ot.byteOffset,Ot.byteLength);ht._chunkSteps(tr)}function ha(Xe){if(Xe._byobRequest===null&&Xe._pendingPullIntos.length>0){var ht=Xe._pendingPullIntos.peek(),Ot=new Uint8Array(ht.buffer,ht.byteOffset+ht.bytesFilled,ht.byteLength-ht.bytesFilled),tr=Object.create(jt.prototype);Oa(tr,Xe,Ot),Xe._byobRequest=tr}return Xe._byobRequest}function ka(Xe){var ht=Xe._controlledReadableByteStream._state;return ht==="errored"?null:ht==="closed"?0:Xe._strategyHWM-Xe._queueTotalSize}function na(Xe,ht){var Ot=Xe._pendingPullIntos.peek(),tr=Xe._controlledReadableByteStream._state;if(tr==="closed"){if(ht!==0)throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream")}else{if(ht===0)throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");if(Ot.bytesFilled+ht>Ot.byteLength)throw new RangeError("bytesWritten out of range")}Ot.buffer=Yt(Ot.buffer),hi(Xe,ht)}function Fi(Xe,ht){var Ot=Xe._pendingPullIntos.peek(),tr=Xe._controlledReadableByteStream._state;if(tr==="closed"){if(ht.byteLength!==0)throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream")}else if(ht.byteLength===0)throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");if(Ot.byteOffset+Ot.bytesFilled!==ht.byteOffset)throw new RangeError("The region specified by view does not match byobRequest");if(Ot.bufferByteLength!==ht.buffer.byteLength)throw new RangeError("The buffer of view has different capacity than byobRequest");if(Ot.bytesFilled+ht.byteLength>Ot.byteLength)throw new RangeError("The region specified by view is larger than byobRequest");var dr=ht.byteLength;Ot.buffer=Yt(ht.buffer),hi(Xe,dr)}function Zn(Xe,ht,Ot,tr,dr,vr,$r){ht._controlledReadableByteStream=Xe,ht._pullAgain=!1,ht._pulling=!1,ht._byobRequest=null,ht._queue=ht._queueTotalSize=void 0,sr(ht),ht._closeRequested=!1,ht._started=!1,ht._strategyHWM=vr,ht._pullAlgorithm=tr,ht._cancelAlgorithm=dr,ht._autoAllocateChunkSize=$r,ht._pendingPullIntos=new fe,Xe._readableStreamController=ht;var Zr=Ot();Q(W(Zr),function(){return ht._started=!0,Jr(ht),null},function(_n){return mi(ht,_n),null})}function ia(Xe,ht,Ot){var tr=Object.create(Wr.prototype),dr,vr,$r;ht.start!==void 0?dr=function(){return ht.start(tr)}:dr=function(){},ht.pull!==void 0?vr=function(){return ht.pull(tr)}:vr=function(){return W(void 0)},ht.cancel!==void 0?$r=function(_n){return ht.cancel(_n)}:$r=function(){return W(void 0)};var Zr=ht.autoAllocateChunkSize;if(Zr===0)throw new TypeError("autoAllocateChunkSize must be greater than 0");Zn(Xe,tr,dr,vr,$r,Ot,Zr)}function Oa(Xe,ht,Ot){Xe._associatedReadableByteStreamController=ht,Xe._view=Ot}function aa(Xe){return new TypeError("ReadableStreamBYOBRequest.prototype.".concat(Xe," can only be used on a ReadableStreamBYOBRequest"))}function Ii(Xe){return new TypeError("ReadableByteStreamController.prototype.".concat(Xe," can only be used on a ReadableByteStreamController"))}function fa(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.mode;return{mode:Ot===void 0?void 0:Na(Ot,"".concat(ht," has member 'mode' that"))}}function Na(Xe,ht){if(Xe="".concat(Xe),Xe!=="byob")throw new TypeError("".concat(ht," '").concat(Xe,"' is not a valid enumeration value for ReadableStreamReaderMode"));return Xe}function pa(Xe,ht){var Ot;je(Xe,ht);var tr=(Ot=Xe==null?void 0:Xe.min)!==null&&Ot!==void 0?Ot:1;return{min:st(tr,"".concat(ht," has member 'min' that"))}}function Vi(Xe){return new Ir(Xe)}function ki(Xe,ht){Xe._reader._readIntoRequests.push(ht)}function ma(Xe,ht,Ot){var tr=Xe._reader,dr=tr._readIntoRequests.shift();Ot?dr._closeSteps(ht):dr._chunkSteps(ht)}function sa(Xe){return Xe._reader._readIntoRequests.length}function oa(Xe){var ht=Xe._reader;return!(ht===void 0||!$n(ht))}var Ir=function(){function Xe(ht){if(Ue(ht,1,"ReadableStreamBYOBReader"),dt(ht,"First parameter"),Ca(ht))throw new TypeError("This stream has already been locked for exclusive reading by another reader");if(!ir(ht._readableStreamController))throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");Ge(this,ht),this._readIntoRequests=new fe}return Object.defineProperty(Xe.prototype,"closed",{get:function(){return $n(this)?this._closedPromise:X(Er("closed"))},enumerable:!1,configurable:!0}),Xe.prototype.cancel=function(ht){return ht===void 0&&(ht=void 0),$n(this)?this._ownerReadableStream===void 0?X(Ze("cancel")):Ae(this,ht):X(Er("cancel"))},Xe.prototype.read=function(ht,Ot){if(Ot===void 0&&(Ot={}),!$n(this))return X(Er("read"));if(!ArrayBuffer.isView(ht))return X(new TypeError("view must be an array buffer view"));if(ht.byteLength===0)return X(new TypeError("view must have non-zero byteLength"));if(ht.buffer.byteLength===0)return X(new TypeError("view's buffer must have non-zero byteLength"));if(Ft(ht.buffer))return X(new TypeError("view's buffer has been detached"));var tr;try{tr=pa(Ot,"options")}catch(en){return X(en)}var dr=tr.min;if(dr===0)return X(new TypeError("options.min must be greater than 0"));if(Cr(ht)){if(dr>ht.byteLength)return X(new RangeError("options.min must be less than or equal to view's byteLength"))}else if(dr>ht.length)return X(new RangeError("options.min must be less than or equal to view's length"));if(this._ownerReadableStream===void 0)return X(Ze("read from"));var vr,$r,Zr=J(function(en,Tn){vr=en,$r=Tn}),_n={_chunkSteps:function(en){return vr({value:en,done:!1})},_closeSteps:function(en){return vr({value:en,done:!0})},_errorSteps:function(en){return $r(en)}};return Ai(this,ht,dr,_n),Zr},Xe.prototype.releaseLock=function(){if(!$n(this))throw Er("releaseLock");this._ownerReadableStream!==void 0&&Oi(this)},Xe}();Object.defineProperties(Ir.prototype,{cancel:{enumerable:!0},read:{enumerable:!0},releaseLock:{enumerable:!0},closed:{enumerable:!0}}),e(Ir.prototype.cancel,"cancel"),e(Ir.prototype.read,"read"),e(Ir.prototype.releaseLock,"releaseLock"),typeof G.toStringTag=="symbol"&&Object.defineProperty(Ir.prototype,G.toStringTag,{value:"ReadableStreamBYOBReader",configurable:!0});function $n(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_readIntoRequests")?!1:Xe instanceof Ir}function Ai(Xe,ht,Ot,tr){var dr=Xe._ownerReadableStream;dr._disturbed=!0,dr._state==="errored"?tr._errorSteps(dr._storedError):pn(dr._readableStreamController,ht,Ot,tr)}function Oi(Xe){Ne(Xe);var ht=new TypeError("Reader was released");ga(Xe,ht)}function ga(Xe,ht){var Ot=Xe._readIntoRequests;Xe._readIntoRequests=new fe,Ot.forEach(function(tr){tr._errorSteps(ht)})}function Er(Xe){return new TypeError("ReadableStreamBYOBReader.prototype.".concat(Xe," can only be used on a ReadableStreamBYOBReader"))}function Oe(Xe,ht){var Ot=Xe.highWaterMark;if(Ot===void 0)return ht;if(At(Ot)||Ot<0)throw new RangeError("Invalid highWaterMark");return Ot}function ft(Xe){var ht=Xe.size;return ht||function(){return 1}}function yr(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.highWaterMark,tr=Xe==null?void 0:Xe.size;return{highWaterMark:Ot===void 0?void 0:Ye(Ot),size:tr===void 0?void 0:lr(tr,"".concat(ht," has member 'size' that"))}}function lr(Xe,ht){return Le(Xe,ht),function(Ot){return Ye(Xe(Ot))}}function qr(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.abort,tr=Xe==null?void 0:Xe.close,dr=Xe==null?void 0:Xe.start,vr=Xe==null?void 0:Xe.type,$r=Xe==null?void 0:Xe.write;return{abort:Ot===void 0?void 0:sn(Ot,Xe,"".concat(ht," has member 'abort' that")),close:tr===void 0?void 0:Kr(tr,Xe,"".concat(ht," has member 'close' that")),start:dr===void 0?void 0:on(dr,Xe,"".concat(ht," has member 'start' that")),write:$r===void 0?void 0:bn($r,Xe,"".concat(ht," has member 'write' that")),type:vr}}function sn(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return ke(Xe,ht,[tr])}}function Kr(Xe,ht,Ot){return Le(Xe,Ot),function(){return ke(Xe,ht,[])}}function on(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return Ee(Xe,ht,[tr])}}function bn(Xe,ht,Ot){return Le(Xe,Ot),function(tr,dr){return ke(Xe,ht,[tr,dr])}}function Dn(Xe,ht){if(!In(Xe))throw new TypeError("".concat(ht," is not a WritableStream."))}function zn(Xe){if(typeof Xe!="object"||Xe===null)return!1;try{return typeof Xe.aborted=="boolean"}catch{return!1}}var Bn=typeof AbortController=="function";function kn(){if(Bn)return new AbortController}var Gn=function(){function Xe(ht,Ot){ht===void 0&&(ht={}),Ot===void 0&&(Ot={}),ht===void 0?ht=null:Qe(ht,"First parameter");var tr=yr(Ot,"Second parameter"),dr=qr(ht,"First parameter");Sn(this);var vr=dr.type;if(vr!==void 0)throw new RangeError("Invalid type is specified");var $r=ft(tr),Zr=Oe(tr,1);Go(this,dr,Zr,$r)}return Object.defineProperty(Xe.prototype,"locked",{get:function(){if(!In(this))throw ds("locked");return vn(this)},enumerable:!1,configurable:!0}),Xe.prototype.abort=function(ht){return ht===void 0&&(ht=void 0),In(this)?vn(this)?X(new TypeError("Cannot abort a stream that already has a writer")):Cn(this,ht):X(ds("abort"))},Xe.prototype.close=function(){return In(this)?vn(this)?X(new TypeError("Cannot close a stream that already has a writer")):ti(this)?X(new TypeError("Cannot close an already-closing stream")):Ti(this):X(ds("close"))},Xe.prototype.getWriter=function(){if(!In(this))throw ds("getWriter");return En(this)},Xe}();Object.defineProperties(Gn.prototype,{abort:{enumerable:!0},close:{enumerable:!0},getWriter:{enumerable:!0},locked:{enumerable:!0}}),e(Gn.prototype.abort,"abort"),e(Gn.prototype.close,"close"),e(Gn.prototype.getWriter,"getWriter"),typeof G.toStringTag=="symbol"&&Object.defineProperty(Gn.prototype,G.toStringTag,{value:"WritableStream",configurable:!0});function En(Xe){return new _a(Xe)}function li(Xe,ht,Ot,tr,dr,vr){dr===void 0&&(dr=1),vr===void 0&&(vr=function(){return 1});var $r=Object.create(Gn.prototype);Sn($r);var Zr=Object.create(ba.prototype);return to($r,Zr,Xe,ht,Ot,tr,dr,vr),$r}function Sn(Xe){Xe._state="writable",Xe._storedError=void 0,Xe._writer=void 0,Xe._writableStreamController=void 0,Xe._writeRequests=new fe,Xe._inFlightWriteRequest=void 0,Xe._closeRequest=void 0,Xe._inFlightCloseRequest=void 0,Xe._pendingAbortRequest=void 0,Xe._backpressure=!1}function In(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_writableStreamController")?!1:Xe instanceof Gn}function vn(Xe){return Xe._writer!==void 0}function Cn(Xe,ht){var Ot;if(Xe._state==="closed"||Xe._state==="errored")return W(void 0);Xe._writableStreamController._abortReason=ht,(Ot=Xe._writableStreamController._abortController)===null||Ot===void 0||Ot.abort(ht);var tr=Xe._state;if(tr==="closed"||tr==="errored")return W(void 0);if(Xe._pendingAbortRequest!==void 0)return Xe._pendingAbortRequest._promise;var dr=!1;tr==="erroring"&&(dr=!0,ht=void 0);var vr=J(function($r,Zr){Xe._pendingAbortRequest={_promise:void 0,_resolve:$r,_reject:Zr,_reason:ht,_wasAlreadyErroring:dr}});return Xe._pendingAbortRequest._promise=vr,dr||Ni(Xe,ht),vr}function Ti(Xe){var ht=Xe._state;if(ht==="closed"||ht==="errored")return X(new TypeError("The stream (in ".concat(ht," state) is not in the writable state and cannot be closed")));var Ot=J(function(dr,vr){var $r={_resolve:dr,_reject:vr};Xe._closeRequest=$r}),tr=Xe._writer;return tr!==void 0&&Xe._backpressure&&ht==="writable"&&ao(tr),_o(Xe._writableStreamController),Ot}function vi(Xe){var ht=J(function(Ot,tr){var dr={_resolve:Ot,_reject:tr};Xe._writeRequests.push(dr)});return ht}function Hn(Xe,ht){var Ot=Xe._state;if(Ot==="writable"){Ni(Xe,ht);return}zi(Xe)}function Ni(Xe,ht){var Ot=Xe._writableStreamController;Xe._state="erroring",Xe._storedError=ht;var tr=Xe._writer;tr!==void 0&&Si(tr,ht),!Da(Xe)&&Ot._started&&zi(Xe)}function zi(Xe){Xe._state="errored",Xe._writableStreamController[ye]();var ht=Xe._storedError;if(Xe._writeRequests.forEach(function(dr){dr._reject(ht)}),Xe._writeRequests=new fe,Xe._pendingAbortRequest===void 0){as(Xe);return}var Ot=Xe._pendingAbortRequest;if(Xe._pendingAbortRequest=void 0,Ot._wasAlreadyErroring){Ot._reject(ht),as(Xe);return}var tr=Xe._writableStreamController[ve](Ot._reason);Q(tr,function(){return Ot._resolve(),as(Xe),null},function(dr){return Ot._reject(dr),as(Xe),null})}function Qr(Xe){Xe._inFlightWriteRequest._resolve(void 0),Xe._inFlightWriteRequest=void 0}function gi(Xe,ht){Xe._inFlightWriteRequest._reject(ht),Xe._inFlightWriteRequest=void 0,Hn(Xe,ht)}function Zs(Xe){Xe._inFlightCloseRequest._resolve(void 0),Xe._inFlightCloseRequest=void 0;var ht=Xe._state;ht==="erroring"&&(Xe._storedError=void 0,Xe._pendingAbortRequest!==void 0&&(Xe._pendingAbortRequest._resolve(),Xe._pendingAbortRequest=void 0)),Xe._state="closed";var Ot=Xe._writer;Ot!==void 0&&xo(Ot)}function Js(Xe,ht){Xe._inFlightCloseRequest._reject(ht),Xe._inFlightCloseRequest=void 0,Xe._pendingAbortRequest!==void 0&&(Xe._pendingAbortRequest._reject(ht),Xe._pendingAbortRequest=void 0),Hn(Xe,ht)}function ti(Xe){return!(Xe._closeRequest===void 0&&Xe._inFlightCloseRequest===void 0)}function Da(Xe){return!(Xe._inFlightWriteRequest===void 0&&Xe._inFlightCloseRequest===void 0)}function Kn(Xe){Xe._inFlightCloseRequest=Xe._closeRequest,Xe._closeRequest=void 0}function mo(Xe){Xe._inFlightWriteRequest=Xe._writeRequests.shift()}function as(Xe){Xe._closeRequest!==void 0&&(Xe._closeRequest._reject(Xe._storedError),Xe._closeRequest=void 0);var ht=Xe._writer;ht!==void 0&&ps(ht,Xe._storedError)}function Ss(Xe,ht){var Ot=Xe._writer;Ot!==void 0&&ht!==Xe._backpressure&&(ht?io(Ot):ao(Ot)),Xe._backpressure=ht}var _a=function(){function Xe(ht){if(Ue(ht,1,"WritableStreamDefaultWriter"),Dn(ht,"First parameter"),vn(ht))throw new TypeError("This stream has already been locked for exclusive writing by another writer");this._ownerWritableStream=ht,ht._writer=this;var Ot=ht._state;if(Ot==="writable")!ti(ht)&&ht._backpressure?As(this):ms(this),Es(this);else if(Ot==="erroring")Ts(this,ht._storedError),Es(this);else if(Ot==="closed")ms(this),fs(this);else{var tr=ht._storedError;Ts(this,tr),Cs(this,tr)}}return Object.defineProperty(Xe.prototype,"closed",{get:function(){return Ga(this)?this._closedPromise:X(ya("closed"))},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"desiredSize",{get:function(){if(!Ga(this))throw ya("desiredSize");if(this._ownerWritableStream===void 0)throw Ya("desiredSize");return eo(this)},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"ready",{get:function(){return Ga(this)?this._readyPromise:X(ya("ready"))},enumerable:!1,configurable:!0}),Xe.prototype.abort=function(ht){return ht===void 0&&(ht=void 0),Ga(this)?this._ownerWritableStream===void 0?X(Ya("abort")):Uo(this,ht):X(ya("abort"))},Xe.prototype.close=function(){if(!Ga(this))return X(ya("close"));var ht=this._ownerWritableStream;return ht===void 0?X(Ya("close")):ti(ht)?X(new TypeError("Cannot close an already-closing stream")):ui(this)},Xe.prototype.releaseLock=function(){if(!Ga(this))throw ya("releaseLock");var ht=this._ownerWritableStream;ht!==void 0&&Bi(this)},Xe.prototype.write=function(ht){return ht===void 0&&(ht=void 0),Ga(this)?this._ownerWritableStream===void 0?X(Ya("write to")):On(this,ht):X(ya("write"))},Xe}();Object.defineProperties(_a.prototype,{abort:{enumerable:!0},close:{enumerable:!0},releaseLock:{enumerable:!0},write:{enumerable:!0},closed:{enumerable:!0},desiredSize:{enumerable:!0},ready:{enumerable:!0}}),e(_a.prototype.abort,"abort"),e(_a.prototype.close,"close"),e(_a.prototype.releaseLock,"releaseLock"),e(_a.prototype.write,"write"),typeof G.toStringTag=="symbol"&&Object.defineProperty(_a.prototype,G.toStringTag,{value:"WritableStreamDefaultWriter",configurable:!0});function Ga(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_ownerWritableStream")?!1:Xe instanceof _a}function Uo(Xe,ht){var Ot=Xe._ownerWritableStream;return Cn(Ot,ht)}function ui(Xe){var ht=Xe._ownerWritableStream;return Ti(ht)}function go(Xe){var ht=Xe._ownerWritableStream,Ot=ht._state;return ti(ht)||Ot==="closed"?W(void 0):Ot==="errored"?X(ht._storedError):ui(Xe)}function ss(Xe,ht){Xe._closedPromiseState==="pending"?ps(Xe,ht):So(Xe,ht)}function Si(Xe,ht){Xe._readyPromiseState==="pending"?ws(Xe,ht):Rs(Xe,ht)}function eo(Xe){var ht=Xe._ownerWritableStream,Ot=ht._state;return Ot==="errored"||Ot==="erroring"?null:Ot==="closed"?0:ls(ht._writableStreamController)}function Bi(Xe){var ht=Xe._ownerWritableStream,Ot=new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");Si(Xe,Ot),ss(Xe,Ot),ht._writer=void 0,Xe._ownerWritableStream=void 0}function On(Xe,ht){var Ot=Xe._ownerWritableStream,tr=Ot._writableStreamController,dr=bo(tr,ht);if(Ot!==Xe._ownerWritableStream)return X(Ya("write to"));var vr=Ot._state;if(vr==="errored")return X(Ot._storedError);if(ti(Ot)||vr==="closed")return X(new TypeError("The stream is closing or closed and cannot be written to"));if(vr==="erroring")return X(Ot._storedError);var $r=vi(Ot);return cs(tr,ht,dr),$r}var xs={},ba=function(){function Xe(){throw new TypeError("Illegal constructor")}return Object.defineProperty(Xe.prototype,"abortReason",{get:function(){if(!os(this))throw hs("abortReason");return this._abortReason},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"signal",{get:function(){if(!os(this))throw hs("signal");if(this._abortController===void 0)throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");return this._abortController.signal},enumerable:!1,configurable:!0}),Xe.prototype.error=function(ht){if(ht===void 0&&(ht=void 0),!os(this))throw hs("error");var Ot=this._controlledWritableStream._state;Ot==="writable"&&vo(this,ht)},Xe.prototype[ve]=function(ht){var Ot=this._abortAlgorithm(ht);return ri(this),Ot},Xe.prototype[ye]=function(){sr(this)},Xe}();Object.defineProperties(ba.prototype,{abortReason:{enumerable:!0},signal:{enumerable:!0},error:{enumerable:!0}}),typeof G.toStringTag=="symbol"&&Object.defineProperty(ba.prototype,G.toStringTag,{value:"WritableStreamDefaultController",configurable:!0});function os(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_controlledWritableStream")?!1:Xe instanceof ba}function to(Xe,ht,Ot,tr,dr,vr,$r,Zr){ht._controlledWritableStream=Xe,Xe._writableStreamController=ht,ht._queue=void 0,ht._queueTotalSize=void 0,sr(ht),ht._abortReason=void 0,ht._abortController=kn(),ht._started=!1,ht._strategySizeAlgorithm=Zr,ht._strategyHWM=$r,ht._writeAlgorithm=tr,ht._closeAlgorithm=dr,ht._abortAlgorithm=vr;var _n=no(ht);Ss(Xe,_n);var en=Ot(),Tn=W(en);Q(Tn,function(){return ht._started=!0,us(ht),null},function(Nn){return ht._started=!0,Hn(Xe,Nn),null})}function Go(Xe,ht,Ot,tr){var dr=Object.create(ba.prototype),vr,$r,Zr,_n;ht.start!==void 0?vr=function(){return ht.start(dr)}:vr=function(){},ht.write!==void 0?$r=function(en){return ht.write(en,dr)}:$r=function(){return W(void 0)},ht.close!==void 0?Zr=function(){return ht.close()}:Zr=function(){return W(void 0)},ht.abort!==void 0?_n=function(en){return ht.abort(en)}:_n=function(){return W(void 0)},to(Xe,dr,vr,$r,Zr,_n,Ot,tr)}function ri(Xe){Xe._writeAlgorithm=void 0,Xe._closeAlgorithm=void 0,Xe._abortAlgorithm=void 0,Xe._strategySizeAlgorithm=void 0}function _o(Xe){Ur(Xe,xs,0),us(Xe)}function bo(Xe,ht){try{return Xe._strategySizeAlgorithm(ht)}catch(Ot){return $a(Xe,Ot),1}}function ls(Xe){return Xe._strategyHWM-Xe._queueTotalSize}function cs(Xe,ht,Ot){try{Ur(Xe,ht,Ot)}catch(vr){$a(Xe,vr);return}var tr=Xe._controlledWritableStream;if(!ti(tr)&&tr._state==="writable"){var dr=no(Xe);Ss(tr,dr)}us(Xe)}function us(Xe){var ht=Xe._controlledWritableStream;if(Xe._started&&ht._inFlightWriteRequest===void 0){var Ot=ht._state;if(Ot==="erroring"){zi(ht);return}if(Xe._queue.length!==0){var tr=un(Xe);tr===xs?ro(Xe):yo(Xe,tr)}}}function $a(Xe,ht){Xe._controlledWritableStream._state==="writable"&&vo(Xe,ht)}function ro(Xe){var ht=Xe._controlledWritableStream;Kn(ht),br(Xe);var Ot=Xe._closeAlgorithm();ri(Xe),Q(Ot,function(){return Zs(ht),null},function(tr){return Js(ht,tr),null})}function yo(Xe,ht){var Ot=Xe._controlledWritableStream;mo(Ot);var tr=Xe._writeAlgorithm(ht);Q(tr,function(){Qr(Ot);var dr=Ot._state;if(br(Xe),!ti(Ot)&&dr==="writable"){var vr=no(Xe);Ss(Ot,vr)}return us(Xe),null},function(dr){return Ot._state==="writable"&&ri(Xe),gi(Ot,dr),null})}function no(Xe){var ht=ls(Xe);return ht<=0}function vo(Xe,ht){var Ot=Xe._controlledWritableStream;ri(Xe),Ni(Ot,ht)}function ds(Xe){return new TypeError("WritableStream.prototype.".concat(Xe," can only be used on a WritableStream"))}function hs(Xe){return new TypeError("WritableStreamDefaultController.prototype.".concat(Xe," can only be used on a WritableStreamDefaultController"))}function ya(Xe){return new TypeError("WritableStreamDefaultWriter.prototype.".concat(Xe," can only be used on a WritableStreamDefaultWriter"))}function Ya(Xe){return new TypeError("Cannot "+Xe+" a stream using a released writer")}function Es(Xe){Xe._closedPromise=J(function(ht,Ot){Xe._closedPromise_resolve=ht,Xe._closedPromise_reject=Ot,Xe._closedPromiseState="pending"})}function Cs(Xe,ht){Es(Xe),ps(Xe,ht)}function fs(Xe){Es(Xe),xo(Xe)}function ps(Xe,ht){Xe._closedPromise_reject!==void 0&&(oe(Xe._closedPromise),Xe._closedPromise_reject(ht),Xe._closedPromise_resolve=void 0,Xe._closedPromise_reject=void 0,Xe._closedPromiseState="rejected")}function So(Xe,ht){Cs(Xe,ht)}function xo(Xe){Xe._closedPromise_resolve!==void 0&&(Xe._closedPromise_resolve(void 0),Xe._closedPromise_resolve=void 0,Xe._closedPromise_reject=void 0,Xe._closedPromiseState="resolved")}function As(Xe){Xe._readyPromise=J(function(ht,Ot){Xe._readyPromise_resolve=ht,Xe._readyPromise_reject=Ot}),Xe._readyPromiseState="pending"}function Ts(Xe,ht){As(Xe),ws(Xe,ht)}function ms(Xe){As(Xe),ao(Xe)}function ws(Xe,ht){Xe._readyPromise_reject!==void 0&&(oe(Xe._readyPromise),Xe._readyPromise_reject(ht),Xe._readyPromise_resolve=void 0,Xe._readyPromise_reject=void 0,Xe._readyPromiseState="rejected")}function io(Xe){As(Xe)}function Rs(Xe,ht){Ts(Xe,ht)}function ao(Xe){Xe._readyPromise_resolve!==void 0&&(Xe._readyPromise_resolve(void 0),Xe._readyPromise_resolve=void 0,Xe._readyPromise_reject=void 0,Xe._readyPromiseState="fulfilled")}function $o(){if(typeof globalThis<"u")return globalThis;if(typeof self<"u")return self;if(typeof commonjsGlobal$1<"u")return commonjsGlobal$1}var Is=$o();function ks(Xe){if(!(typeof Xe=="function"||typeof Xe=="object")||Xe.name!=="DOMException")return!1;try{return new Xe,!0}catch{return!1}}function Os(){var Xe=Is==null?void 0:Is.DOMException;return ks(Xe)?Xe:void 0}function Ns(){var Xe=function(Ot,tr){this.message=Ot||"",this.name=tr||"Error",Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)};return e(Xe,"DOMException"),Xe.prototype=Object.create(Error.prototype),Object.defineProperty(Xe.prototype,"constructor",{value:Xe,writable:!0,configurable:!0}),Xe}var Eo=Os()||Ns();function Ds(Xe,ht,Ot,tr,dr,vr){var $r=ct(Xe),Zr=En(ht);Xe._disturbed=!0;var _n=!1,en=W(void 0);return J(function(Tn,Nn){var Ln;if(vr!==void 0){if(Ln=function(){var Rn=vr.reason!==void 0?vr.reason:new Eo("Aborted","AbortError"),Wn=[];tr||Wn.push(function(){return ht._state==="writable"?Cn(ht,Rn):W(void 0)}),dr||Wn.push(function(){return Xe._state==="readable"?Gi(Xe,Rn):W(void 0)}),yi(function(){return Promise.all(Wn.map(function(Jn){return Jn()}))},!0,Rn)},vr.aborted){Ln();return}vr.addEventListener("abort",Ln)}function ai(){return J(function(Rn,Wn){function Jn(Qi){Qi?Rn():L(wi(),Jn,Wn)}Jn(!1)})}function wi(){return _n?W(!0):L(Zr._readyPromise,function(){return J(function(Rn,Wn){bt($r,{_chunkSteps:function(Jn){en=L(On(Zr,Jn),void 0,U),Rn(!1)},_closeSteps:function(){return Rn(!0)},_errorSteps:Wn})})})}if(bi(Xe,$r._closedPromise,function(Rn){return tr?Ra(!0,Rn):yi(function(){return Cn(ht,Rn)},!0,Rn),null}),bi(ht,Zr._closedPromise,function(Rn){return dr?Ra(!0,Rn):yi(function(){return Gi(Xe,Rn)},!0,Rn),null}),$i(Xe,$r._closedPromise,function(){return Ot?Ra():yi(function(){return go(Zr)}),null}),ti(ht)||ht._state==="closed"){var Mi=new TypeError("the destination writable stream closed before all data could be piped to it");dr?Ra(!0,Mi):yi(function(){return Gi(Xe,Mi)},!0,Mi)}oe(ai());function Ki(){var Rn=en;return L(en,function(){return Rn!==en?Ki():void 0})}function bi(Rn,Wn,Jn){Rn._state==="errored"?Jn(Rn._storedError):de(Wn,Jn)}function $i(Rn,Wn,Jn){Rn._state==="closed"?Jn():ce(Wn,Jn)}function yi(Rn,Wn,Jn){if(_n)return;_n=!0,ht._state==="writable"&&!ti(ht)?ce(Ki(),Qi):Qi();function Qi(){return Q(Rn(),function(){return si(Wn,Jn)},function(Ua){return si(!0,Ua)}),null}}function Ra(Rn,Wn){_n||(_n=!0,ht._state==="writable"&&!ti(ht)?ce(Ki(),function(){return si(Rn,Wn)}):si(Rn,Wn))}function si(Rn,Wn){return Bi(Zr),Ne($r),vr!==void 0&&vr.removeEventListener("abort",Ln),Rn?Nn(Wn):Tn(void 0),null}})}var va=function(){function Xe(){throw new TypeError("Illegal constructor")}return Object.defineProperty(Xe.prototype,"desiredSize",{get:function(){if(!gs(this))throw Ps("desiredSize");return Ls(this)},enumerable:!1,configurable:!0}),Xe.prototype.close=function(){if(!gs(this))throw Ps("close");if(!ja(this))throw new TypeError("The stream is not in a state that permits close");Ma(this)},Xe.prototype.enqueue=function(ht){if(ht===void 0&&(ht=void 0),!gs(this))throw Ps("enqueue");if(!ja(this))throw new TypeError("The stream is not in a state that permits enqueue");return xa(this,ht)},Xe.prototype.error=function(ht){if(ht===void 0&&(ht=void 0),!gs(this))throw Ps("error");Hi(this,ht)},Xe.prototype[Ce]=function(ht){sr(this);var Ot=this._cancelAlgorithm(ht);return Ms(this),Ot},Xe.prototype[pe]=function(ht){var Ot=this._controlledReadableStream;if(this._queue.length>0){var tr=br(this);this._closeRequested&&this._queue.length===0?(Ms(this),qa(Ot)):Sa(this),ht._chunkSteps(tr)}else mt(Ot,ht),Sa(this)},Xe.prototype[_e]=function(){},Xe}();Object.defineProperties(va.prototype,{close:{enumerable:!0},enqueue:{enumerable:!0},error:{enumerable:!0},desiredSize:{enumerable:!0}}),e(va.prototype.close,"close"),e(va.prototype.enqueue,"enqueue"),e(va.prototype.error,"error"),typeof G.toStringTag=="symbol"&&Object.defineProperty(va.prototype,G.toStringTag,{value:"ReadableStreamDefaultController",configurable:!0});function gs(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_controlledReadableStream")?!1:Xe instanceof va}function Sa(Xe){var ht=so(Xe);if(ht){if(Xe._pulling){Xe._pullAgain=!0;return}Xe._pulling=!0;var Ot=Xe._pullAlgorithm();Q(Ot,function(){return Xe._pulling=!1,Xe._pullAgain&&(Xe._pullAgain=!1,Sa(Xe)),null},function(tr){return Hi(Xe,tr),null})}}function so(Xe){var ht=Xe._controlledReadableStream;if(!ja(Xe)||!Xe._started)return!1;if(Ca(ht)&&rt(ht)>0)return!0;var Ot=Ls(Xe);return Ot>0}function Ms(Xe){Xe._pullAlgorithm=void 0,Xe._cancelAlgorithm=void 0,Xe._strategySizeAlgorithm=void 0}function Ma(Xe){if(ja(Xe)){var ht=Xe._controlledReadableStream;Xe._closeRequested=!0,Xe._queue.length===0&&(Ms(Xe),qa(ht))}}function xa(Xe,ht){if(ja(Xe)){var Ot=Xe._controlledReadableStream;if(Ca(Ot)&&rt(Ot)>0)ut(Ot,ht,!1);else{var tr=void 0;try{tr=Xe._strategySizeAlgorithm(ht)}catch(dr){throw Hi(Xe,dr),dr}try{Ur(Xe,ht,tr)}catch(dr){throw Hi(Xe,dr),dr}}Sa(Xe)}}function Hi(Xe,ht){var Ot=Xe._controlledReadableStream;Ot._state==="readable"&&(sr(Xe),Ms(Xe),$s(Ot,ht))}function Ls(Xe){var ht=Xe._controlledReadableStream._state;return ht==="errored"?null:ht==="closed"?0:Xe._strategyHWM-Xe._queueTotalSize}function Co(Xe){return!so(Xe)}function ja(Xe){var ht=Xe._controlledReadableStream._state;return!Xe._closeRequested&&ht==="readable"}function Wi(Xe,ht,Ot,tr,dr,vr,$r){ht._controlledReadableStream=Xe,ht._queue=void 0,ht._queueTotalSize=void 0,sr(ht),ht._started=!1,ht._closeRequested=!1,ht._pullAgain=!1,ht._pulling=!1,ht._strategySizeAlgorithm=$r,ht._strategyHWM=vr,ht._pullAlgorithm=tr,ht._cancelAlgorithm=dr,Xe._readableStreamController=ht;var Zr=Ot();Q(W(Zr),function(){return ht._started=!0,Sa(ht),null},function(_n){return Hi(ht,_n),null})}function Ao(Xe,ht,Ot,tr){var dr=Object.create(va.prototype),vr,$r,Zr;ht.start!==void 0?vr=function(){return ht.start(dr)}:vr=function(){},ht.pull!==void 0?$r=function(){return ht.pull(dr)}:$r=function(){return W(void 0)},ht.cancel!==void 0?Zr=function(_n){return ht.cancel(_n)}:Zr=function(){return W(void 0)},Wi(Xe,dr,vr,$r,Zr,Ot,tr)}function Ps(Xe){return new TypeError("ReadableStreamDefaultController.prototype.".concat(Xe," can only be used on a ReadableStreamDefaultController"))}function Fs(Xe,ht){return ir(Xe._readableStreamController)?Bs(Xe):To(Xe)}function To(Xe,ht){var Ot=ct(Xe),tr=!1,dr=!1,vr=!1,$r=!1,Zr,_n,en,Tn,Nn,Ln=J(function(bi){Nn=bi});function ai(){if(tr)return dr=!0,W(void 0);tr=!0;var bi={_chunkSteps:function($i){me(function(){dr=!1;var yi=$i,Ra=$i;vr||xa(en._readableStreamController,yi),$r||xa(Tn._readableStreamController,Ra),tr=!1,dr&&ai()})},_closeSteps:function(){tr=!1,vr||Ma(en._readableStreamController),$r||Ma(Tn._readableStreamController),(!vr||!$r)&&Nn(void 0)},_errorSteps:function(){tr=!1}};return bt(Ot,bi),W(void 0)}function wi(bi){if(vr=!0,Zr=bi,$r){var $i=Mt([Zr,_n]),yi=Gi(Xe,$i);Nn(yi)}return Ln}function Mi(bi){if($r=!0,_n=bi,vr){var $i=Mt([Zr,_n]),yi=Gi(Xe,$i);Nn(yi)}return Ln}function Ki(){}return en=Ei(Ki,ai,wi),Tn=Ei(Ki,ai,Mi),de(Ot._closedPromise,function(bi){return Hi(en._readableStreamController,bi),Hi(Tn._readableStreamController,bi),(!vr||!$r)&&Nn(void 0),null}),[en,Tn]}function Bs(Xe){var ht=ct(Xe),Ot=!1,tr=!1,dr=!1,vr=!1,$r=!1,Zr,_n,en,Tn,Nn,Ln=J(function(si){Nn=si});function ai(si){de(si._closedPromise,function(Rn){return si!==ht||(mi(en._readableStreamController,Rn),mi(Tn._readableStreamController,Rn),(!vr||!$r)&&Nn(void 0)),null})}function wi(){$n(ht)&&(Ne(ht),ht=ct(Xe),ai(ht));var si={_chunkSteps:function(Rn){me(function(){tr=!1,dr=!1;var Wn=Rn,Jn=Rn;if(!vr&&!$r)try{Jn=Br(Rn)}catch(Qi){mi(en._readableStreamController,Qi),mi(Tn._readableStreamController,Qi),Nn(Gi(Xe,Qi));return}vr||oi(en._readableStreamController,Wn),$r||oi(Tn._readableStreamController,Jn),Ot=!1,tr?Ki():dr&&bi()})},_closeSteps:function(){Ot=!1,vr||Ri(en._readableStreamController),$r||Ri(Tn._readableStreamController),en._readableStreamController._pendingPullIntos.length>0&&na(en._readableStreamController,0),Tn._readableStreamController._pendingPullIntos.length>0&&na(Tn._readableStreamController,0),(!vr||!$r)&&Nn(void 0)},_errorSteps:function(){Ot=!1}};bt(ht,si)}function Mi(si,Rn){St(ht)&&(Ne(ht),ht=Vi(Xe),ai(ht));var Wn=Rn?Tn:en,Jn=Rn?en:Tn,Qi={_chunkSteps:function(Ua){me(function(){tr=!1,dr=!1;var Tt=Rn?$r:vr,De=Rn?vr:$r;if(De)Tt||Fi(Wn._readableStreamController,Ua);else{var qe=void 0;try{qe=Br(Ua)}catch(We){mi(Wn._readableStreamController,We),mi(Jn._readableStreamController,We),Nn(Gi(Xe,We));return}Tt||Fi(Wn._readableStreamController,Ua),oi(Jn._readableStreamController,qe)}Ot=!1,tr?Ki():dr&&bi()})},_closeSteps:function(Ua){Ot=!1;var Tt=Rn?$r:vr,De=Rn?vr:$r;Tt||Ri(Wn._readableStreamController),De||Ri(Jn._readableStreamController),Ua!==void 0&&(Tt||Fi(Wn._readableStreamController,Ua),!De&&Jn._readableStreamController._pendingPullIntos.length>0&&na(Jn._readableStreamController,0)),(!Tt||!De)&&Nn(void 0)},_errorSteps:function(){Ot=!1}};Ai(ht,si,1,Qi)}function Ki(){if(Ot)return tr=!0,W(void 0);Ot=!0;var si=ha(en._readableStreamController);return si===null?wi():Mi(si._view,!1),W(void 0)}function bi(){if(Ot)return dr=!0,W(void 0);Ot=!0;var si=ha(Tn._readableStreamController);return si===null?wi():Mi(si._view,!0),W(void 0)}function $i(si){if(vr=!0,Zr=si,$r){var Rn=Mt([Zr,_n]),Wn=Gi(Xe,Rn);Nn(Wn)}return Ln}function yi(si){if($r=!0,_n=si,vr){var Rn=Mt([Zr,_n]),Wn=Gi(Xe,Rn);Nn(Wn)}return Ln}function Ra(){}return en=uo(Ra,Ki,$i),Tn=uo(Ra,bi,yi),ai(ht),[en,Tn]}function oo(Xe){return K(Xe)&&typeof Xe.getReader<"u"}function wo(Xe){return oo(Xe)?lo(Xe.getReader()):la(Xe)}function la(Xe){var ht,Ot=Dt(Xe,"async"),tr=U;function dr(){var $r;try{$r=Zt(Ot)}catch(_n){return X(_n)}var Zr=W($r);return se(Zr,function(_n){if(!K(_n))throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");var en=gr(_n);if(en)Ma(ht._readableStreamController);else{var Tn=fr(_n);xa(ht._readableStreamController,Tn)}})}function vr($r){var Zr=Ot.iterator,_n;try{_n=er(Zr,"return")}catch(Nn){return X(Nn)}if(_n===void 0)return W(void 0);var en;try{en=Ee(_n,Zr,[$r])}catch(Nn){return X(Nn)}var Tn=W(en);return se(Tn,function(Nn){if(!K(Nn))throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object")})}return ht=Ei(tr,dr,vr,0),ht}function lo(Xe){var ht,Ot=U;function tr(){var vr;try{vr=Xe.read()}catch($r){return X($r)}return se(vr,function($r){if(!K($r))throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");if($r.done)Ma(ht._readableStreamController);else{var Zr=$r.value;xa(ht._readableStreamController,Zr)}})}function dr(vr){try{return W(Xe.cancel(vr))}catch($r){return X($r)}}return ht=Ei(Ot,tr,dr,0),ht}function Qt(Xe,ht){je(Xe,ht);var Ot=Xe,tr=Ot==null?void 0:Ot.autoAllocateChunkSize,dr=Ot==null?void 0:Ot.cancel,vr=Ot==null?void 0:Ot.pull,$r=Ot==null?void 0:Ot.start,Zr=Ot==null?void 0:Ot.type;return{autoAllocateChunkSize:tr===void 0?void 0:st(tr,"".concat(ht," has member 'autoAllocateChunkSize' that")),cancel:dr===void 0?void 0:Yi(dr,Ot,"".concat(ht," has member 'cancel' that")),pull:vr===void 0?void 0:La(vr,Ot,"".concat(ht," has member 'pull' that")),start:$r===void 0?void 0:co($r,Ot,"".concat(ht," has member 'start' that")),type:Zr===void 0?void 0:Xa(Zr,"".concat(ht," has member 'type' that"))}}function Yi(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return ke(Xe,ht,[tr])}}function La(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return ke(Xe,ht,[tr])}}function co(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return Ee(Xe,ht,[tr])}}function Xa(Xe,ht){if(Xe="".concat(Xe),Xe!=="bytes")throw new TypeError("".concat(ht," '").concat(Xe,"' is not a valid enumeration value for ReadableStreamType"));return Xe}function ca(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.preventCancel;return{preventCancel:!!Ot}}function Ui(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.preventAbort,tr=Xe==null?void 0:Xe.preventCancel,dr=Xe==null?void 0:Xe.preventClose,vr=Xe==null?void 0:Xe.signal;return vr!==void 0&&Us(vr,"".concat(ht," has member 'signal' that")),{preventAbort:!!Ot,preventCancel:!!tr,preventClose:!!dr,signal:vr}}function Us(Xe,ht){if(!zn(Xe))throw new TypeError("".concat(ht," is not an AbortSignal."))}function ji(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.readable;$e(Ot,"readable","ReadableWritablePair"),dt(Ot,"".concat(ht," has member 'readable' that"));var tr=Xe==null?void 0:Xe.writable;return $e(tr,"writable","ReadableWritablePair"),Dn(tr,"".concat(ht," has member 'writable' that")),{readable:Ot,writable:tr}}var fi=function(){function Xe(ht,Ot){ht===void 0&&(ht={}),Ot===void 0&&(Ot={}),ht===void 0?ht=null:Qe(ht,"First parameter");var tr=yr(Ot,"Second parameter"),dr=Qt(ht,"First parameter");if(Gs(this),dr.type==="bytes"){if(tr.size!==void 0)throw new RangeError("The strategy for a byte stream cannot have a size function");var vr=Oe(tr,0);ia(this,dr,vr)}else{var $r=ft(tr),vr=Oe(tr,1);Ao(this,dr,vr,$r)}}return Object.defineProperty(Xe.prototype,"locked",{get:function(){if(!Ea(this))throw ua("locked");return Ca(this)},enumerable:!1,configurable:!0}),Xe.prototype.cancel=function(ht){return ht===void 0&&(ht=void 0),Ea(this)?Ca(this)?X(new TypeError("Cannot cancel a stream that already has a reader")):Gi(this,ht):X(ua("cancel"))},Xe.prototype.getReader=function(ht){if(ht===void 0&&(ht=void 0),!Ea(this))throw ua("getReader");var Ot=fa(ht,"First parameter");return Ot.mode===void 0?ct(this):Vi(this)},Xe.prototype.pipeThrough=function(ht,Ot){if(Ot===void 0&&(Ot={}),!Ea(this))throw ua("pipeThrough");Ue(ht,1,"pipeThrough");var tr=ji(ht,"First parameter"),dr=Ui(Ot,"Second parameter");if(Ca(this))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");if(vn(tr.writable))throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");var vr=Ds(this,tr.writable,dr.preventClose,dr.preventAbort,dr.preventCancel,dr.signal);return oe(vr),tr.readable},Xe.prototype.pipeTo=function(ht,Ot){if(Ot===void 0&&(Ot={}),!Ea(this))return X(ua("pipeTo"));if(ht===void 0)return X("Parameter 1 is required in 'pipeTo'.");if(!In(ht))return X(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));var tr;try{tr=Ui(Ot,"Second parameter")}catch(dr){return X(dr)}return Ca(this)?X(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")):vn(ht)?X(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")):Ds(this,ht,tr.preventClose,tr.preventAbort,tr.preventCancel,tr.signal)},Xe.prototype.tee=function(){if(!Ea(this))throw ua("tee");var ht=Fs(this);return Mt(ht)},Xe.prototype.values=function(ht){if(ht===void 0&&(ht=void 0),!Ea(this))throw ua("values");var Ot=ca(ht,"First parameter");return yt(this,Ot.preventCancel)},Xe.prototype[It]=function(ht){return this.values(ht)},Xe.from=function(ht){return wo(ht)},Xe}();Object.defineProperties(fi,{from:{enumerable:!0}}),Object.defineProperties(fi.prototype,{cancel:{enumerable:!0},getReader:{enumerable:!0},pipeThrough:{enumerable:!0},pipeTo:{enumerable:!0},tee:{enumerable:!0},values:{enumerable:!0},locked:{enumerable:!0}}),e(fi.from,"from"),e(fi.prototype.cancel,"cancel"),e(fi.prototype.getReader,"getReader"),e(fi.prototype.pipeThrough,"pipeThrough"),e(fi.prototype.pipeTo,"pipeTo"),e(fi.prototype.tee,"tee"),e(fi.prototype.values,"values"),typeof G.toStringTag=="symbol"&&Object.defineProperty(fi.prototype,G.toStringTag,{value:"ReadableStream",configurable:!0}),Object.defineProperty(fi.prototype,It,{value:fi.prototype.values,writable:!0,configurable:!0});function Ei(Xe,ht,Ot,tr,dr){tr===void 0&&(tr=1),dr===void 0&&(dr=function(){return 1});var vr=Object.create(fi.prototype);Gs(vr);var $r=Object.create(va.prototype);return Wi(vr,$r,Xe,ht,Ot,tr,dr),vr}function uo(Xe,ht,Ot){var tr=Object.create(fi.prototype);Gs(tr);var dr=Object.create(Wr.prototype);return Zn(tr,dr,Xe,ht,Ot,0,void 0),tr}function Gs(Xe){Xe._state="readable",Xe._reader=void 0,Xe._storedError=void 0,Xe._disturbed=!1}function Ea(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_readableStreamController")?!1:Xe instanceof fi}function Ca(Xe){return Xe._reader!==void 0}function Gi(Xe,ht){if(Xe._disturbed=!0,Xe._state==="closed")return W(void 0);if(Xe._state==="errored")return X(Xe._storedError);qa(Xe);var Ot=Xe._reader;if(Ot!==void 0&&$n(Ot)){var tr=Ot._readIntoRequests;Ot._readIntoRequests=new fe,tr.forEach(function(vr){vr._closeSteps(void 0)})}var dr=Xe._readableStreamController[Ce](ht);return se(dr,U)}function qa(Xe){Xe._state="closed";var ht=Xe._reader;if(ht!==void 0&&(Ie(ht),St(ht))){var Ot=ht._readRequests;ht._readRequests=new fe,Ot.forEach(function(tr){tr._closeSteps()})}}function $s(Xe,ht){Xe._state="errored",Xe._storedError=ht;var Ot=Xe._reader;Ot!==void 0&&(Pe(Ot,ht),St(Ot)?wt(Ot,ht):ga(Ot,ht))}function ua(Xe){return new TypeError("ReadableStream.prototype.".concat(Xe," can only be used on a ReadableStream"))}function Di(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.highWaterMark;return $e(Ot,"highWaterMark","QueuingStrategyInit"),{highWaterMark:Ye(Ot)}}var Aa=function(Xe){return Xe.byteLength};e(Aa,"size");var _i=function(){function Xe(ht){Ue(ht,1,"ByteLengthQueuingStrategy"),ht=Di(ht,"First parameter"),this._byteLengthQueuingStrategyHighWaterMark=ht.highWaterMark}return Object.defineProperty(Xe.prototype,"highWaterMark",{get:function(){if(!Ro(this))throw Pa("highWaterMark");return this._byteLengthQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"size",{get:function(){if(!Ro(this))throw Pa("size");return Aa},enumerable:!1,configurable:!0}),Xe}();Object.defineProperties(_i.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof G.toStringTag=="symbol"&&Object.defineProperty(_i.prototype,G.toStringTag,{value:"ByteLengthQueuingStrategy",configurable:!0});function Pa(Xe){return new TypeError("ByteLengthQueuingStrategy.prototype.".concat(Xe," can only be used on a ByteLengthQueuingStrategy"))}function Ro(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_byteLengthQueuingStrategyHighWaterMark")?!1:Xe instanceof _i}var qs=function(){return 1};e(qs,"size");var _s=function(){function Xe(ht){Ue(ht,1,"CountQueuingStrategy"),ht=Di(ht,"First parameter"),this._countQueuingStrategyHighWaterMark=ht.highWaterMark}return Object.defineProperty(Xe.prototype,"highWaterMark",{get:function(){if(!ho(this))throw Vs("highWaterMark");return this._countQueuingStrategyHighWaterMark},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"size",{get:function(){if(!ho(this))throw Vs("size");return qs},enumerable:!1,configurable:!0}),Xe}();Object.defineProperties(_s.prototype,{highWaterMark:{enumerable:!0},size:{enumerable:!0}}),typeof G.toStringTag=="symbol"&&Object.defineProperty(_s.prototype,G.toStringTag,{value:"CountQueuingStrategy",configurable:!0});function Vs(Xe){return new TypeError("CountQueuingStrategy.prototype.".concat(Xe," can only be used on a CountQueuingStrategy"))}function ho(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_countQueuingStrategyHighWaterMark")?!1:Xe instanceof _s}function Va(Xe,ht){je(Xe,ht);var Ot=Xe==null?void 0:Xe.cancel,tr=Xe==null?void 0:Xe.flush,dr=Xe==null?void 0:Xe.readableType,vr=Xe==null?void 0:Xe.start,$r=Xe==null?void 0:Xe.transform,Zr=Xe==null?void 0:Xe.writableType;return{cancel:Ot===void 0?void 0:fo(Ot,Xe,"".concat(ht," has member 'cancel' that")),flush:tr===void 0?void 0:Ka(tr,Xe,"".concat(ht," has member 'flush' that")),readableType:dr,start:vr===void 0?void 0:Qa(vr,Xe,"".concat(ht," has member 'start' that")),transform:$r===void 0?void 0:qo($r,Xe,"".concat(ht," has member 'transform' that")),writableType:Zr}}function Ka(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return ke(Xe,ht,[tr])}}function Qa(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return Ee(Xe,ht,[tr])}}function qo(Xe,ht,Ot){return Le(Xe,Ot),function(tr,dr){return ke(Xe,ht,[tr,dr])}}function fo(Xe,ht,Ot){return Le(Xe,Ot),function(tr){return ke(Xe,ht,[tr])}}var yn=function(){function Xe(ht,Ot,tr){ht===void 0&&(ht={}),Ot===void 0&&(Ot={}),tr===void 0&&(tr={}),ht===void 0&&(ht=null);var dr=yr(Ot,"Second parameter"),vr=yr(tr,"Third parameter"),$r=Va(ht,"First parameter");if($r.readableType!==void 0)throw new RangeError("Invalid readableType specified");if($r.writableType!==void 0)throw new RangeError("Invalid writableType specified");var Zr=Oe(vr,0),_n=ft(vr),en=Oe(dr,1),Tn=ft(dr),Nn,Ln=J(function(ai){Nn=ai});bs(this,Ln,en,Tn,Zr,_n),Io(this,$r),$r.start!==void 0?Nn($r.start(this._transformStreamController)):Nn(void 0)}return Object.defineProperty(Xe.prototype,"readable",{get:function(){if(!zs(this))throw Mo("readable");return this._readable},enumerable:!1,configurable:!0}),Object.defineProperty(Xe.prototype,"writable",{get:function(){if(!zs(this))throw Mo("writable");return this._writable},enumerable:!1,configurable:!0}),Xe}();Object.defineProperties(yn.prototype,{readable:{enumerable:!0},writable:{enumerable:!0}}),typeof G.toStringTag=="symbol"&&Object.defineProperty(yn.prototype,G.toStringTag,{value:"TransformStream",configurable:!0});function bs(Xe,ht,Ot,tr,dr,vr){function $r(){return ht}function Zr(Ln){return Ba(Xe,Ln)}function _n(Ln){return Do(Xe,Ln)}function en(){return Vo(Xe)}Xe._writable=li($r,Zr,en,_n,Ot,tr);function Tn(){return zo(Xe)}function Nn(Ln){return Za(Xe,Ln)}Xe._readable=Ei($r,Tn,Nn,dr,vr),Xe._backpressure=void 0,Xe._backpressureChangePromise=void 0,Xe._backpressureChangePromise_resolve=void 0,za(Xe,!0),Xe._transformStreamController=void 0}function zs(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_transformStreamController")?!1:Xe instanceof yn}function Ta(Xe,ht){Hi(Xe._readable._readableStreamController,ht),ys(Xe,ht)}function ys(Xe,ht){vs(Xe._transformStreamController),$a(Xe._writable._writableStreamController,ht),Fa(Xe)}function Fa(Xe){Xe._backpressure&&za(Xe,!1)}function za(Xe,ht){Xe._backpressureChangePromise!==void 0&&Xe._backpressureChangePromise_resolve(),Xe._backpressureChangePromise=J(function(Ot){Xe._backpressureChangePromise_resolve=Ot}),Xe._backpressure=ht}var jn=function(){function Xe(){throw new TypeError("Illegal constructor")}return Object.defineProperty(Xe.prototype,"desiredSize",{get:function(){if(!wa(this))throw Ws("desiredSize");var ht=this._controlledTransformStream._readable._readableStreamController;return Ls(ht)},enumerable:!1,configurable:!0}),Xe.prototype.enqueue=function(ht){if(ht===void 0&&(ht=void 0),!wa(this))throw Ws("enqueue");ko(this,ht)},Xe.prototype.error=function(ht){if(ht===void 0&&(ht=void 0),!wa(this))throw Ws("error");Oo(this,ht)},Xe.prototype.terminate=function(){if(!wa(this))throw Ws("terminate");No(this)},Xe}();Object.defineProperties(jn.prototype,{enqueue:{enumerable:!0},error:{enumerable:!0},terminate:{enumerable:!0},desiredSize:{enumerable:!0}}),e(jn.prototype.enqueue,"enqueue"),e(jn.prototype.error,"error"),e(jn.prototype.terminate,"terminate"),typeof G.toStringTag=="symbol"&&Object.defineProperty(jn.prototype,G.toStringTag,{value:"TransformStreamDefaultController",configurable:!0});function wa(Xe){return!K(Xe)||!Object.prototype.hasOwnProperty.call(Xe,"_controlledTransformStream")?!1:Xe instanceof jn}function Hs(Xe,ht,Ot,tr,dr){ht._controlledTransformStream=Xe,Xe._transformStreamController=ht,ht._transformAlgorithm=Ot,ht._flushAlgorithm=tr,ht._cancelAlgorithm=dr,ht._finishPromise=void 0,ht._finishPromise_resolve=void 0,ht._finishPromise_reject=void 0}function Io(Xe,ht){var Ot=Object.create(jn.prototype),tr,dr,vr;ht.transform!==void 0?tr=function($r){return ht.transform($r,Ot)}:tr=function($r){try{return ko(Ot,$r),W(void 0)}catch(Zr){return X(Zr)}},ht.flush!==void 0?dr=function(){return ht.flush(Ot)}:dr=function(){return W(void 0)},ht.cancel!==void 0?vr=function($r){return ht.cancel($r)}:vr=function(){return W(void 0)},Hs(Xe,Ot,tr,dr,vr)}function vs(Xe){Xe._transformAlgorithm=void 0,Xe._flushAlgorithm=void 0,Xe._cancelAlgorithm=void 0}function ko(Xe,ht){var Ot=Xe._controlledTransformStream,tr=Ot._readable._readableStreamController;if(!ja(tr))throw new TypeError("Readable side is not in a state that permits enqueue");try{xa(tr,ht)}catch(vr){throw ys(Ot,vr),Ot._readable._storedError}var dr=Co(tr);dr!==Ot._backpressure&&za(Ot,!0)}function Oo(Xe,ht){Ta(Xe._controlledTransformStream,ht)}function po(Xe,ht){var Ot=Xe._transformAlgorithm(ht);return se(Ot,void 0,function(tr){throw Ta(Xe._controlledTransformStream,tr),tr})}function No(Xe){var ht=Xe._controlledTransformStream,Ot=ht._readable._readableStreamController;Ma(Ot);var tr=new TypeError("TransformStream terminated");ys(ht,tr)}function Ba(Xe,ht){var Ot=Xe._transformStreamController;if(Xe._backpressure){var tr=Xe._backpressureChangePromise;return se(tr,function(){var dr=Xe._writable,vr=dr._state;if(vr==="erroring")throw dr._storedError;return po(Ot,ht)})}return po(Ot,ht)}function Do(Xe,ht){var Ot=Xe._transformStreamController;if(Ot._finishPromise!==void 0)return Ot._finishPromise;var tr=Xe._readable;Ot._finishPromise=J(function(vr,$r){Ot._finishPromise_resolve=vr,Ot._finishPromise_reject=$r});var dr=Ot._cancelAlgorithm(ht);return vs(Ot),Q(dr,function(){return tr._state==="errored"?es(Ot,tr._storedError):(Hi(tr._readableStreamController,ht),Ja(Ot)),null},function(vr){return Hi(tr._readableStreamController,vr),es(Ot,vr),null}),Ot._finishPromise}function Vo(Xe){var ht=Xe._transformStreamController;if(ht._finishPromise!==void 0)return ht._finishPromise;var Ot=Xe._readable;ht._finishPromise=J(function(dr,vr){ht._finishPromise_resolve=dr,ht._finishPromise_reject=vr});var tr=ht._flushAlgorithm();return vs(ht),Q(tr,function(){return Ot._state==="errored"?es(ht,Ot._storedError):(Ma(Ot._readableStreamController),Ja(ht)),null},function(dr){return Hi(Ot._readableStreamController,dr),es(ht,dr),null}),ht._finishPromise}function zo(Xe){return za(Xe,!1),Xe._backpressureChangePromise}function Za(Xe,ht){var Ot=Xe._transformStreamController;if(Ot._finishPromise!==void 0)return Ot._finishPromise;var tr=Xe._writable;Ot._finishPromise=J(function(vr,$r){Ot._finishPromise_resolve=vr,Ot._finishPromise_reject=$r});var dr=Ot._cancelAlgorithm(ht);return vs(Ot),Q(dr,function(){return tr._state==="errored"?es(Ot,tr._storedError):($a(tr._writableStreamController,ht),Fa(Xe),Ja(Ot)),null},function(vr){return $a(tr._writableStreamController,vr),Fa(Xe),es(Ot,vr),null}),Ot._finishPromise}function Ws(Xe){return new TypeError("TransformStreamDefaultController.prototype.".concat(Xe," can only be used on a TransformStreamDefaultController"))}function Ja(Xe){Xe._finishPromise_resolve!==void 0&&(Xe._finishPromise_resolve(),Xe._finishPromise_resolve=void 0,Xe._finishPromise_reject=void 0)}function es(Xe,ht){Xe._finishPromise_reject!==void 0&&(oe(Xe._finishPromise),Xe._finishPromise_reject(ht),Xe._finishPromise_resolve=void 0,Xe._finishPromise_reject=void 0)}function Mo(Xe){return new TypeError("TransformStream.prototype.".concat(Xe," can only be used on a TransformStream"))}M.ByteLengthQueuingStrategy=_i,M.CountQueuingStrategy=_s,M.ReadableByteStreamController=Wr,M.ReadableStream=fi,M.ReadableStreamBYOBReader=Ir,M.ReadableStreamBYOBRequest=jt,M.ReadableStreamDefaultController=va,M.ReadableStreamDefaultReader=Je,M.TransformStream=yn,M.TransformStreamDefaultController=jn,M.WritableStream=Gn,M.WritableStreamDefaultController=ba,M.WritableStreamDefaultWriter=_a})}(ponyfill,ponyfill.exports)),ponyfill.exports}var hasRequiredPdf;function requirePdf(){return hasRequiredPdf||(hasRequiredPdf=1,function(module,exports){(function(m,M){module.exports=M()})(globalThis,()=>(()=>{var __webpack_modules__=[,(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.VerbosityLevel=m.Util=m.UnknownErrorException=m.UnexpectedResponseException=m.UNSUPPORTED_FEATURES=m.TextRenderingMode=m.StreamType=m.RenderingIntentFlag=m.PermissionFlag=m.PasswordResponses=m.PasswordException=m.PageActionEventType=m.OPS=m.MissingPDFException=m.LINE_FACTOR=m.LINE_DESCENT_FACTOR=m.InvalidPDFException=m.ImageKind=m.IDENTITY_MATRIX=m.FormatError=m.FontType=m.FeatureTest=m.FONT_IDENTITY_MATRIX=m.DocumentActionEventType=m.CMapCompressionType=m.BaseException=m.AnnotationType=m.AnnotationStateModelType=m.AnnotationReviewState=m.AnnotationReplyType=m.AnnotationMode=m.AnnotationMarkedState=m.AnnotationFlag=m.AnnotationFieldFlag=m.AnnotationEditorType=m.AnnotationEditorPrefix=m.AnnotationEditorParamsType=m.AnnotationBorderStyleType=m.AnnotationActionEventType=m.AbortException=void 0,m.arrayByteLength=Ue,m.arraysToBytes=$e,m.assert=Ze,m.bytesToString=et,m.createPromiseCapability=Wt,m.createValidAbsoluteUrl=Te,m.escapeString=Je,m.getModificationDate=Vt,m.getVerbosityLevel=_e,m.info=Ge,m.isArrayBuffer=Pt,m.isArrayEqual=Nt,m.isAscii=St,m.objectFromMap=ot,m.objectSize=tt,m.setVerbosityLevel=pe,m.shadow=Fe,m.string32=Ye,m.stringToBytes=Qe,m.stringToPDFString=He,m.stringToUTF16BEString=bt,m.stringToUTF8String=pt,m.unreachable=Ne,m.utf8StringToString=wt,m.warn=Ae,M(2);const G=[1,0,0,1,0,0];m.IDENTITY_MATRIX=G;const V=[.001,0,0,.001,0,0];m.FONT_IDENTITY_MATRIX=V;const q=1.35;m.LINE_FACTOR=q;const $=.35;m.LINE_DESCENT_FACTOR=$;const D={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};m.RenderingIntentFlag=D;const B={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};m.AnnotationMode=B;const R="pdfjs_internal_editor_";m.AnnotationEditorPrefix=R;const U={DISABLE:-1,NONE:0,FREETEXT:3,INK:15};m.AnnotationEditorType=U;const K={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13};m.AnnotationEditorParamsType=K;const z={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};m.PermissionFlag=z;const e={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};m.TextRenderingMode=e;const ae={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};m.ImageKind=ae;const ie={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};m.AnnotationType=ie;const he={MARKED:"Marked",REVIEW:"Review"};m.AnnotationStateModelType=he;const J={MARKED:"Marked",UNMARKED:"Unmarked"};m.AnnotationMarkedState=J;const W={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};m.AnnotationReviewState=W;const X={GROUP:"Group",REPLY:"R"};m.AnnotationReplyType=X;const L={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};m.AnnotationFlag=L;const Q={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};m.AnnotationFieldFlag=Q;const ce={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};m.AnnotationBorderStyleType=ce;const de={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"};m.AnnotationActionEventType=de;const se={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};m.DocumentActionEventType=se;const oe={O:"PageOpen",C:"PageClose"};m.PageActionEventType=oe;const me={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};m.StreamType=me;const Ee={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};m.FontType=Ee;const ke={ERRORS:0,WARNINGS:1,INFOS:5};m.VerbosityLevel=ke;const xe={NONE:0,BINARY:1,STREAM:2};m.CMapCompressionType=xe;const fe={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};m.OPS=fe;const ve={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"};m.UNSUPPORTED_FEATURES=ve;const ye={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};m.PasswordResponses=ye;let Ce=ke.WARNINGS;function pe(Mt){Number.isInteger(Mt)&&(Ce=Mt)}function _e(){return Ce}function Ge(Mt){Ce>=ke.INFOS&&console.log(`Info: ${Mt}`)}function Ae(Mt){Ce>=ke.WARNINGS&&console.log(`Warning: ${Mt}`)}function Ne(Mt){throw new Error(Mt)}function Ze(Mt,$t){Mt||Ne($t)}function ze(Mt){if(!Mt)return!1;switch(Mt.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function Te(Mt){let $t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Yt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Mt)return null;try{if(Yt&&typeof Mt=="string"){if(Yt.addDefaultProtocol&&Mt.startsWith("www.")){const Jt=Mt.match(/\./g);Jt&&Jt.length>=2&&(Mt=`http://${Mt}`)}if(Yt.tryConvertEncoding)try{Mt=pt(Mt)}catch{}}const Ft=$t?new URL(Mt,$t):new URL(Mt);if(ze(Ft))return Ft}catch{}return null}function Fe(Mt,$t,Yt){return Object.defineProperty(Mt,$t,{value:Yt,enumerable:!0,configurable:!0,writable:!1}),Yt}const Pe=function(){function $t(Yt,Ft){this.constructor===$t&&Ne("Cannot initialize BaseException."),this.message=Yt,this.name=Ft}return $t.prototype=new Error,$t.constructor=$t,$t}();m.BaseException=Pe;class we extends Pe{constructor($t,Yt){super($t,"PasswordException"),this.code=Yt}}m.PasswordException=we;class Ie extends Pe{constructor($t,Yt){super($t,"UnknownErrorException"),this.details=Yt}}m.UnknownErrorException=Ie;class Be extends Pe{constructor($t){super($t,"InvalidPDFException")}}m.InvalidPDFException=Be;class Ke extends Pe{constructor($t){super($t,"MissingPDFException")}}m.MissingPDFException=Ke;class Ve extends Pe{constructor($t,Yt){super($t,"UnexpectedResponseException"),this.status=Yt}}m.UnexpectedResponseException=Ve;class je extends Pe{constructor($t){super($t,"FormatError")}}m.FormatError=je;class Le extends Pe{constructor($t){super($t,"AbortException")}}m.AbortException=Le;function et(Mt){(typeof Mt!="object"||Mt===null||Mt.length===void 0)&&Ne("Invalid argument for bytesToString");const $t=Mt.length,Yt=8192;if($t>24&255,Mt>>16&255,Mt>>8&255,Mt&255)}function tt(Mt){return Object.keys(Mt).length}function ot(Mt){const $t=Object.create(null);for(const[Yt,Ft]of Mt)$t[Yt]=Ft;return $t}function st(){const Mt=new Uint8Array(4);return Mt[0]=1,new Uint32Array(Mt.buffer,0,1)[0]===1}function dt(){try{return new Function(""),!0}catch{return!1}}class ct{static get isLittleEndian(){return Fe(this,"isLittleEndian",st())}static get isEvalSupported(){return Fe(this,"isEvalSupported",dt())}static get isOffscreenCanvasSupported(){return Fe(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}}m.FeatureTest=ct;const mt=[...Array(256).keys()].map(Mt=>Mt.toString(16).padStart(2,"0"));class ut{static makeHexColor($t,Yt,Ft){return`#${mt[$t]}${mt[Yt]}${mt[Ft]}`}static scaleMinMax($t,Yt){let Ft;$t[0]?($t[0]<0&&(Ft=Yt[0],Yt[0]=Yt[1],Yt[1]=Ft),Yt[0]*=$t[0],Yt[1]*=$t[0],$t[3]<0&&(Ft=Yt[2],Yt[2]=Yt[3],Yt[3]=Ft),Yt[2]*=$t[3],Yt[3]*=$t[3]):(Ft=Yt[0],Yt[0]=Yt[2],Yt[2]=Ft,Ft=Yt[1],Yt[1]=Yt[3],Yt[3]=Ft,$t[1]<0&&(Ft=Yt[2],Yt[2]=Yt[3],Yt[3]=Ft),Yt[2]*=$t[1],Yt[3]*=$t[1],$t[2]<0&&(Ft=Yt[0],Yt[0]=Yt[1],Yt[1]=Ft),Yt[0]*=$t[2],Yt[1]*=$t[2]),Yt[0]+=$t[4],Yt[1]+=$t[4],Yt[2]+=$t[5],Yt[3]+=$t[5]}static transform($t,Yt){return[$t[0]*Yt[0]+$t[2]*Yt[1],$t[1]*Yt[0]+$t[3]*Yt[1],$t[0]*Yt[2]+$t[2]*Yt[3],$t[1]*Yt[2]+$t[3]*Yt[3],$t[0]*Yt[4]+$t[2]*Yt[5]+$t[4],$t[1]*Yt[4]+$t[3]*Yt[5]+$t[5]]}static applyTransform($t,Yt){const Ft=$t[0]*Yt[0]+$t[1]*Yt[2]+Yt[4],Jt=$t[0]*Yt[1]+$t[1]*Yt[3]+Yt[5];return[Ft,Jt]}static applyInverseTransform($t,Yt){const Ft=Yt[0]*Yt[3]-Yt[1]*Yt[2],Jt=($t[0]*Yt[3]-$t[1]*Yt[2]+Yt[2]*Yt[5]-Yt[4]*Yt[3])/Ft,er=(-$t[0]*Yt[1]+$t[1]*Yt[0]+Yt[4]*Yt[1]-Yt[5]*Yt[0])/Ft;return[Jt,er]}static getAxialAlignedBoundingBox($t,Yt){const Ft=ut.applyTransform($t,Yt),Jt=ut.applyTransform($t.slice(2,4),Yt),er=ut.applyTransform([$t[0],$t[3]],Yt),Bt=ut.applyTransform([$t[2],$t[1]],Yt);return[Math.min(Ft[0],Jt[0],er[0],Bt[0]),Math.min(Ft[1],Jt[1],er[1],Bt[1]),Math.max(Ft[0],Jt[0],er[0],Bt[0]),Math.max(Ft[1],Jt[1],er[1],Bt[1])]}static inverseTransform($t){const Yt=$t[0]*$t[3]-$t[1]*$t[2];return[$t[3]/Yt,-$t[1]/Yt,-$t[2]/Yt,$t[0]/Yt,($t[2]*$t[5]-$t[4]*$t[3])/Yt,($t[4]*$t[1]-$t[5]*$t[0])/Yt]}static apply3dTransform($t,Yt){return[$t[0]*Yt[0]+$t[1]*Yt[1]+$t[2]*Yt[2],$t[3]*Yt[0]+$t[4]*Yt[1]+$t[5]*Yt[2],$t[6]*Yt[0]+$t[7]*Yt[1]+$t[8]*Yt[2]]}static singularValueDecompose2dScale($t){const Yt=[$t[0],$t[2],$t[1],$t[3]],Ft=$t[0]*Yt[0]+$t[1]*Yt[2],Jt=$t[0]*Yt[1]+$t[1]*Yt[3],er=$t[2]*Yt[0]+$t[3]*Yt[2],Bt=$t[2]*Yt[1]+$t[3]*Yt[3],It=(Ft+Bt)/2,Dt=Math.sqrt((Ft+Bt)**2-4*(Ft*Bt-er*Jt))/2,Zt=It+Dt||1,gr=It-Dt||1;return[Math.sqrt(Zt),Math.sqrt(gr)]}static normalizeRect($t){const Yt=$t.slice(0);return $t[0]>$t[2]&&(Yt[0]=$t[2],Yt[2]=$t[0]),$t[1]>$t[3]&&(Yt[1]=$t[3],Yt[3]=$t[1]),Yt}static intersect($t,Yt){const Ft=Math.max(Math.min($t[0],$t[2]),Math.min(Yt[0],Yt[2])),Jt=Math.min(Math.max($t[0],$t[2]),Math.max(Yt[0],Yt[2]));if(Ft>Jt)return null;const er=Math.max(Math.min($t[1],$t[3]),Math.min(Yt[1],Yt[3])),Bt=Math.min(Math.max($t[1],$t[3]),Math.max(Yt[1],Yt[3]));return er>Bt?null:[Ft,er,Jt,Bt]}static bezierBoundingBox($t,Yt,Ft,Jt,er,Bt,It,Dt){const Zt=[],gr=[[],[]];let fr,Dr,kr,cr,Ar,yt,vt,Xt;for(let br=0;br<2;++br){if(br===0?(Dr=6*$t-12*Ft+6*er,fr=-3*$t+9*Ft-9*er+3*It,kr=3*Ft-3*$t):(Dr=6*Yt-12*Jt+6*Bt,fr=-3*Yt+9*Jt-9*Bt+3*Dt,kr=3*Jt-3*Yt),Math.abs(fr)<1e-12){if(Math.abs(Dr)<1e-12)continue;cr=-kr/Dr,0="ï"){let Yt;if(Mt[0]==="þ"&&Mt[1]==="ÿ"?Yt="utf-16be":Mt[0]==="ÿ"&&Mt[1]==="þ"?Yt="utf-16le":Mt[0]==="ï"&&Mt[1]==="»"&&Mt[2]==="¿"&&(Yt="utf-8"),Yt)try{const Ft=new TextDecoder(Yt,{fatal:!0}),Jt=Qe(Mt);return Ft.decode(Jt)}catch(Ft){Ae(`stringToPDFString: "${Ft}".`)}}const $t=[];for(let Yt=0,Ft=Mt.length;Yt$t===` +`?"\\n":$t==="\r"?"\\r":`\\${$t}`)}function St(Mt){return/^[\x00-\x7F]*$/.test(Mt)}function bt(Mt){const $t=["þÿ"];for(let Yt=0,Ft=Mt.length;Yt>8&255),String.fromCharCode(Jt&255))}return $t.join("")}function pt(Mt){return decodeURIComponent(escape(Mt))}function wt(Mt){return unescape(encodeURIComponent(Mt))}function Pt(Mt){return typeof Mt=="object"&&Mt!==null&&Mt.byteLength!==void 0}function Nt(Mt,$t){if(Mt.length!==$t.length)return!1;for(let Yt=0,Ft=Mt.length;Yt0&&arguments[0]!==void 0?arguments[0]:new Date;return[Mt.getUTCFullYear().toString(),(Mt.getUTCMonth()+1).toString().padStart(2,"0"),Mt.getUTCDate().toString().padStart(2,"0"),Mt.getUTCHours().toString().padStart(2,"0"),Mt.getUTCMinutes().toString().padStart(2,"0"),Mt.getUTCSeconds().toString().padStart(2,"0")].join("")}function Wt(){const Mt=Object.create(null);let $t=!1;return Object.defineProperty(Mt,"settled",{get(){return $t}}),Mt.promise=new Promise(function(Yt,Ft){Mt.resolve=function(Jt){$t=!0,Yt(Jt)},Mt.reject=function(Jt){$t=!0,Ft(Jt)}}),Mt}},(k,m,M)=>{var G=M(3);globalThis._pdfjsCompatibilityChecked||(globalThis._pdfjsCompatibilityChecked=!0,function(){globalThis.btoa||!G.isNodeJS||(globalThis.btoa=function(q){return Buffer.from(q,"binary").toString("base64")})}(),function(){globalThis.atob||!G.isNodeJS||(globalThis.atob=function(q){return Buffer.from(q,"base64").toString("binary")})}(),function(){globalThis.DOMMatrix||!G.isNodeJS||(globalThis.DOMMatrix=requireDommatrix())}(),function(){globalThis.ReadableStream||!G.isNodeJS||(globalThis.ReadableStream=requirePonyfill().ReadableStream)}(),function(){Array.prototype.at||M(4)}(),function(){Uint8Array.prototype.at||M(76)}(),function(){globalThis.structuredClone||M(86)}())},(k,m)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.isNodeJS=void 0;const M=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser");m.isNodeJS=M},(k,m,M)=>{M(5);var G=M(75);k.exports=G("Array","at")},(k,m,M)=>{var G=M(6),V=M(41),q=M(65),$=M(63),D=M(70);G({target:"Array",proto:!0},{at:function(R){var U=V(this),K=q(U),z=$(R),e=z>=0?z:K+z;return e<0||e>=K?void 0:U[e]}}),D("at")},(k,m,M)=>{var G=M(7),V=M(8).f,q=M(45),$=M(49),D=M(39),B=M(57),R=M(69);k.exports=function(U,K){var z=U.target,e=U.global,ae=U.stat,ie,he,J,W,X,L;if(e?he=G:ae?he=G[z]||D(z,{}):he=(G[z]||{}).prototype,he)for(J in K){if(X=K[J],U.dontCallGetSet?(L=V(he,J),W=L&&L.value):W=he[J],ie=R(e?J:z+(ae?".":"#")+J,U.forced),!ie&&W!==void 0){if(typeof X==typeof W)continue;B(X,W)}(U.sham||W&&W.sham)&&q(X,"sham",!0),$(he,J,X,U)}}},k=>{var m=function(M){return M&&M.Math==Math&&M};k.exports=m(typeof globalThis=="object"&&globalThis)||m(typeof window=="object"&&window)||m(typeof self=="object"&&self)||m(typeof commonjsGlobal$1=="object"&&commonjsGlobal$1)||function(){return this}()||Function("return this")()},(k,m,M)=>{var G=M(9),V=M(11),q=M(13),$=M(14),D=M(15),B=M(20),R=M(40),U=M(43),K=Object.getOwnPropertyDescriptor;m.f=G?K:function(e,ae){if(e=D(e),ae=B(ae),U)try{return K(e,ae)}catch{}if(R(e,ae))return $(!V(q.f,e,ae),e[ae])}},(k,m,M)=>{var G=M(10);k.exports=!G(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},k=>{k.exports=function(m){try{return!!m()}catch{return!0}}},(k,m,M)=>{var G=M(12),V=Function.prototype.call;k.exports=G?V.bind(V):function(){return V.apply(V,arguments)}},(k,m,M)=>{var G=M(10);k.exports=!G(function(){var V=(function(){}).bind();return typeof V!="function"||V.hasOwnProperty("prototype")})},(k,m)=>{var M={}.propertyIsEnumerable,G=Object.getOwnPropertyDescriptor,V=G&&!M.call({1:2},1);m.f=V?function($){var D=G(this,$);return!!D&&D.enumerable}:M},k=>{k.exports=function(m,M){return{enumerable:!(m&1),configurable:!(m&2),writable:!(m&4),value:M}}},(k,m,M)=>{var G=M(16),V=M(19);k.exports=function(q){return G(V(q))}},(k,m,M)=>{var G=M(17),V=M(10),q=M(18),$=Object,D=G("".split);k.exports=V(function(){return!$("z").propertyIsEnumerable(0)})?function(B){return q(B)=="String"?D(B,""):$(B)}:$},(k,m,M)=>{var G=M(12),V=Function.prototype,q=V.bind,$=V.call,D=G&&q.bind($,$);k.exports=G?function(B){return B&&D(B)}:function(B){return B&&function(){return $.apply(B,arguments)}}},(k,m,M)=>{var G=M(17),V=G({}.toString),q=G("".slice);k.exports=function($){return q(V($),8,-1)}},k=>{var m=TypeError;k.exports=function(M){if(M==null)throw m("Can't call method on "+M);return M}},(k,m,M)=>{var G=M(21),V=M(24);k.exports=function(q){var $=G(q,"string");return V($)?$:$+""}},(k,m,M)=>{var G=M(11),V=M(22),q=M(24),$=M(31),D=M(34),B=M(35),R=TypeError,U=B("toPrimitive");k.exports=function(K,z){if(!V(K)||q(K))return K;var e=$(K,U),ae;if(e){if(z===void 0&&(z="default"),ae=G(e,K,z),!V(ae)||q(ae))return ae;throw R("Can't convert object to primitive value")}return z===void 0&&(z="number"),D(K,z)}},(k,m,M)=>{var G=M(23);k.exports=function(V){return typeof V=="object"?V!==null:G(V)}},k=>{k.exports=function(m){return typeof m=="function"}},(k,m,M)=>{var G=M(25),V=M(23),q=M(26),$=M(27),D=Object;k.exports=$?function(B){return typeof B=="symbol"}:function(B){var R=G("Symbol");return V(R)&&q(R.prototype,D(B))}},(k,m,M)=>{var G=M(7),V=M(23),q=function($){return V($)?$:void 0};k.exports=function($,D){return arguments.length<2?q(G[$]):G[$]&&G[$][D]}},(k,m,M)=>{var G=M(17);k.exports=G({}.isPrototypeOf)},(k,m,M)=>{var G=M(28);k.exports=G&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},(k,m,M)=>{var G=M(29),V=M(10);k.exports=!!Object.getOwnPropertySymbols&&!V(function(){var q=Symbol();return!String(q)||!(Object(q)instanceof Symbol)||!Symbol.sham&&G&&G<41})},(k,m,M)=>{var G=M(7),V=M(30),q=G.process,$=G.Deno,D=q&&q.versions||$&&$.version,B=D&&D.v8,R,U;B&&(R=B.split("."),U=R[0]>0&&R[0]<4?1:+(R[0]+R[1])),!U&&V&&(R=V.match(/Edge\/(\d+)/),(!R||R[1]>=74)&&(R=V.match(/Chrome\/(\d+)/),R&&(U=+R[1]))),k.exports=U},(k,m,M)=>{var G=M(25);k.exports=G("navigator","userAgent")||""},(k,m,M)=>{var G=M(32);k.exports=function(V,q){var $=V[q];return $==null?void 0:G($)}},(k,m,M)=>{var G=M(23),V=M(33),q=TypeError;k.exports=function($){if(G($))return $;throw q(V($)+" is not a function")}},k=>{var m=String;k.exports=function(M){try{return m(M)}catch{return"Object"}}},(k,m,M)=>{var G=M(11),V=M(23),q=M(22),$=TypeError;k.exports=function(D,B){var R,U;if(B==="string"&&V(R=D.toString)&&!q(U=G(R,D))||V(R=D.valueOf)&&!q(U=G(R,D))||B!=="string"&&V(R=D.toString)&&!q(U=G(R,D)))return U;throw $("Can't convert object to primitive value")}},(k,m,M)=>{var G=M(7),V=M(36),q=M(40),$=M(42),D=M(28),B=M(27),R=V("wks"),U=G.Symbol,K=U&&U.for,z=B?U:U&&U.withoutSetter||$;k.exports=function(e){if(!q(R,e)||!(D||typeof R[e]=="string")){var ae="Symbol."+e;D&&q(U,e)?R[e]=U[e]:B&&K?R[e]=K(ae):R[e]=z(ae)}return R[e]}},(k,m,M)=>{var G=M(37),V=M(38);(k.exports=function(q,$){return V[q]||(V[q]=$!==void 0?$:{})})("versions",[]).push({version:"3.24.1",mode:G?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},k=>{k.exports=!1},(k,m,M)=>{var G=M(7),V=M(39),q="__core-js_shared__",$=G[q]||V(q,{});k.exports=$},(k,m,M)=>{var G=M(7),V=Object.defineProperty;k.exports=function(q,$){try{V(G,q,{value:$,configurable:!0,writable:!0})}catch{G[q]=$}return $}},(k,m,M)=>{var G=M(17),V=M(41),q=G({}.hasOwnProperty);k.exports=Object.hasOwn||function(D,B){return q(V(D),B)}},(k,m,M)=>{var G=M(19),V=Object;k.exports=function(q){return V(G(q))}},(k,m,M)=>{var G=M(17),V=0,q=Math.random(),$=G(1 .toString);k.exports=function(D){return"Symbol("+(D===void 0?"":D)+")_"+$(++V+q,36)}},(k,m,M)=>{var G=M(9),V=M(10),q=M(44);k.exports=!G&&!V(function(){return Object.defineProperty(q("div"),"a",{get:function(){return 7}}).a!=7})},(k,m,M)=>{var G=M(7),V=M(22),q=G.document,$=V(q)&&V(q.createElement);k.exports=function(D){return $?q.createElement(D):{}}},(k,m,M)=>{var G=M(9),V=M(46),q=M(14);k.exports=G?function($,D,B){return V.f($,D,q(1,B))}:function($,D,B){return $[D]=B,$}},(k,m,M)=>{var G=M(9),V=M(43),q=M(47),$=M(48),D=M(20),B=TypeError,R=Object.defineProperty,U=Object.getOwnPropertyDescriptor,K="enumerable",z="configurable",e="writable";m.f=G?q?function(ie,he,J){if($(ie),he=D(he),$(J),typeof ie=="function"&&he==="prototype"&&"value"in J&&e in J&&!J[e]){var W=U(ie,he);W&&W[e]&&(ie[he]=J.value,J={configurable:z in J?J[z]:W[z],enumerable:K in J?J[K]:W[K],writable:!1})}return R(ie,he,J)}:R:function(ie,he,J){if($(ie),he=D(he),$(J),V)try{return R(ie,he,J)}catch{}if("get"in J||"set"in J)throw B("Accessors not supported");return"value"in J&&(ie[he]=J.value),ie}},(k,m,M)=>{var G=M(9),V=M(10);k.exports=G&&V(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},(k,m,M)=>{var G=M(22),V=String,q=TypeError;k.exports=function($){if(G($))return $;throw q(V($)+" is not an object")}},(k,m,M)=>{var G=M(23),V=M(46),q=M(50),$=M(39);k.exports=function(D,B,R,U){U||(U={});var K=U.enumerable,z=U.name!==void 0?U.name:B;if(G(R)&&q(R,z,U),U.global)K?D[B]=R:$(B,R);else{try{U.unsafe?D[B]&&(K=!0):delete D[B]}catch{}K?D[B]=R:V.f(D,B,{value:R,enumerable:!1,configurable:!U.nonConfigurable,writable:!U.nonWritable})}return D}},(k,m,M)=>{var G=M(10),V=M(23),q=M(40),$=M(9),D=M(51).CONFIGURABLE,B=M(52),R=M(53),U=R.enforce,K=R.get,z=Object.defineProperty,e=$&&!G(function(){return z(function(){},"length",{value:8}).length!==8}),ae=String(String).split("String"),ie=k.exports=function(he,J,W){String(J).slice(0,7)==="Symbol("&&(J="["+String(J).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),W&&W.getter&&(J="get "+J),W&&W.setter&&(J="set "+J),(!q(he,"name")||D&&he.name!==J)&&($?z(he,"name",{value:J,configurable:!0}):he.name=J),e&&W&&q(W,"arity")&&he.length!==W.arity&&z(he,"length",{value:W.arity});try{W&&q(W,"constructor")&&W.constructor?$&&z(he,"prototype",{writable:!1}):he.prototype&&(he.prototype=void 0)}catch{}var X=U(he);return q(X,"source")||(X.source=ae.join(typeof J=="string"?J:"")),he};Function.prototype.toString=ie(function(){return V(this)&&K(this).source||B(this)},"toString")},(k,m,M)=>{var G=M(9),V=M(40),q=Function.prototype,$=G&&Object.getOwnPropertyDescriptor,D=V(q,"name"),B=D&&(function(){}).name==="something",R=D&&(!G||G&&$(q,"name").configurable);k.exports={EXISTS:D,PROPER:B,CONFIGURABLE:R}},(k,m,M)=>{var G=M(17),V=M(23),q=M(38),$=G(Function.toString);V(q.inspectSource)||(q.inspectSource=function(D){return $(D)}),k.exports=q.inspectSource},(k,m,M)=>{var G=M(54),V=M(7),q=M(17),$=M(22),D=M(45),B=M(40),R=M(38),U=M(55),K=M(56),z="Object already initialized",e=V.TypeError,ae=V.WeakMap,ie,he,J,W=function(oe){return J(oe)?he(oe):ie(oe,{})},X=function(oe){return function(me){var Ee;if(!$(me)||(Ee=he(me)).type!==oe)throw e("Incompatible receiver, "+oe+" required");return Ee}};if(G||R.state){var L=R.state||(R.state=new ae),Q=q(L.get),ce=q(L.has),de=q(L.set);ie=function(oe,me){if(ce(L,oe))throw new e(z);return me.facade=oe,de(L,oe,me),me},he=function(oe){return Q(L,oe)||{}},J=function(oe){return ce(L,oe)}}else{var se=U("state");K[se]=!0,ie=function(oe,me){if(B(oe,se))throw new e(z);return me.facade=oe,D(oe,se,me),me},he=function(oe){return B(oe,se)?oe[se]:{}},J=function(oe){return B(oe,se)}}k.exports={set:ie,get:he,has:J,enforce:W,getterFor:X}},(k,m,M)=>{var G=M(7),V=M(23),q=M(52),$=G.WeakMap;k.exports=V($)&&/native code/.test(q($))},(k,m,M)=>{var G=M(36),V=M(42),q=G("keys");k.exports=function($){return q[$]||(q[$]=V($))}},k=>{k.exports={}},(k,m,M)=>{var G=M(40),V=M(58),q=M(8),$=M(46);k.exports=function(D,B,R){for(var U=V(B),K=$.f,z=q.f,e=0;e{var G=M(25),V=M(17),q=M(59),$=M(68),D=M(48),B=V([].concat);k.exports=G("Reflect","ownKeys")||function(U){var K=q.f(D(U)),z=$.f;return z?B(K,z(U)):K}},(k,m,M)=>{var G=M(60),V=M(67),q=V.concat("length","prototype");m.f=Object.getOwnPropertyNames||function(D){return G(D,q)}},(k,m,M)=>{var G=M(17),V=M(40),q=M(15),$=M(61).indexOf,D=M(56),B=G([].push);k.exports=function(R,U){var K=q(R),z=0,e=[],ae;for(ae in K)!V(D,ae)&&V(K,ae)&&B(e,ae);for(;U.length>z;)V(K,ae=U[z++])&&(~$(e,ae)||B(e,ae));return e}},(k,m,M)=>{var G=M(15),V=M(62),q=M(65),$=function(D){return function(B,R,U){var K=G(B),z=q(K),e=V(U,z),ae;if(D&&R!=R){for(;z>e;)if(ae=K[e++],ae!=ae)return!0}else for(;z>e;e++)if((D||e in K)&&K[e]===R)return D||e||0;return!D&&-1}};k.exports={includes:$(!0),indexOf:$(!1)}},(k,m,M)=>{var G=M(63),V=Math.max,q=Math.min;k.exports=function($,D){var B=G($);return B<0?V(B+D,0):q(B,D)}},(k,m,M)=>{var G=M(64);k.exports=function(V){var q=+V;return q!==q||q===0?0:G(q)}},k=>{var m=Math.ceil,M=Math.floor;k.exports=Math.trunc||function(V){var q=+V;return(q>0?M:m)(q)}},(k,m,M)=>{var G=M(66);k.exports=function(V){return G(V.length)}},(k,m,M)=>{var G=M(63),V=Math.min;k.exports=function(q){return q>0?V(G(q),9007199254740991):0}},k=>{k.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},(k,m)=>{m.f=Object.getOwnPropertySymbols},(k,m,M)=>{var G=M(10),V=M(23),q=/#|\.prototype\./,$=function(K,z){var e=B[D(K)];return e==U?!0:e==R?!1:V(z)?G(z):!!z},D=$.normalize=function(K){return String(K).replace(q,".").toLowerCase()},B=$.data={},R=$.NATIVE="N",U=$.POLYFILL="P";k.exports=$},(k,m,M)=>{var G=M(35),V=M(71),q=M(46).f,$=G("unscopables"),D=Array.prototype;D[$]==null&&q(D,$,{configurable:!0,value:V(null)}),k.exports=function(B){D[$][B]=!0}},(k,m,M)=>{var G=M(48),V=M(72),q=M(67),$=M(56),D=M(74),B=M(44),R=M(55),U=">",K="<",z="prototype",e="script",ae=R("IE_PROTO"),ie=function(){},he=function(Q){return K+e+U+Q+K+"/"+e+U},J=function(Q){Q.write(he("")),Q.close();var ce=Q.parentWindow.Object;return Q=null,ce},W=function(){var Q=B("iframe"),ce="java"+e+":",de;return Q.style.display="none",D.appendChild(Q),Q.src=String(ce),de=Q.contentWindow.document,de.open(),de.write(he("document.F=Object")),de.close(),de.F},X,L=function(){try{X=new ActiveXObject("htmlfile")}catch{}L=typeof document<"u"?document.domain&&X?J(X):W():J(X);for(var Q=q.length;Q--;)delete L[z][q[Q]];return L()};$[ae]=!0,k.exports=Object.create||function(ce,de){var se;return ce!==null?(ie[z]=G(ce),se=new ie,ie[z]=null,se[ae]=ce):se=L(),de===void 0?se:V.f(se,de)}},(k,m,M)=>{var G=M(9),V=M(47),q=M(46),$=M(48),D=M(15),B=M(73);m.f=G&&!V?Object.defineProperties:function(U,K){$(U);for(var z=D(K),e=B(K),ae=e.length,ie=0,he;ae>ie;)q.f(U,he=e[ie++],z[he]);return U}},(k,m,M)=>{var G=M(60),V=M(67);k.exports=Object.keys||function($){return G($,V)}},(k,m,M)=>{var G=M(25);k.exports=G("document","documentElement")},(k,m,M)=>{var G=M(7),V=M(17);k.exports=function(q,$){return V(G[q].prototype[$])}},(k,m,M)=>{M(77)},(k,m,M)=>{var G=M(78),V=M(65),q=M(63),$=G.aTypedArray,D=G.exportTypedArrayMethod;D("at",function(R){var U=$(this),K=V(U),z=q(R),e=z>=0?z:K+z;return e<0||e>=K?void 0:U[e]})},(k,m,M)=>{var G=M(79),V=M(9),q=M(7),$=M(23),D=M(22),B=M(40),R=M(80),U=M(33),K=M(45),z=M(49),e=M(46).f,ae=M(26),ie=M(82),he=M(84),J=M(35),W=M(42),X=M(53),L=X.enforce,Q=X.get,ce=q.Int8Array,de=ce&&ce.prototype,se=q.Uint8ClampedArray,oe=se&&se.prototype,me=ce&&ie(ce),Ee=de&&ie(de),ke=Object.prototype,xe=q.TypeError,fe=J("toStringTag"),ve=W("TYPED_ARRAY_TAG"),ye="TypedArrayConstructor",Ce=G&&!!he&&R(q.opera)!=="Opera",pe=!1,_e,Ge,Ae,Ne={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ze={BigInt64Array:8,BigUint64Array:8},ze=function(Ve){if(!D(Ve))return!1;var je=R(Ve);return je==="DataView"||B(Ne,je)||B(Ze,je)},Te=function(Ke){var Ve=ie(Ke);if(D(Ve)){var je=Q(Ve);return je&&B(je,ye)?je[ye]:Te(Ve)}},Fe=function(Ke){if(!D(Ke))return!1;var Ve=R(Ke);return B(Ne,Ve)||B(Ze,Ve)},Pe=function(Ke){if(Fe(Ke))return Ke;throw xe("Target is not a typed array")},we=function(Ke){if($(Ke)&&(!he||ae(me,Ke)))return Ke;throw xe(U(Ke)+" is not a typed array constructor")},Ie=function(Ke,Ve,je,Le){if(V){if(je)for(var et in Ne){var Qe=q[et];if(Qe&&B(Qe.prototype,Ke))try{delete Qe.prototype[Ke]}catch{try{Qe.prototype[Ke]=Ve}catch{}}}(!Ee[Ke]||je)&&z(Ee,Ke,je?Ve:Ce&&de[Ke]||Ve,Le)}},Be=function(Ke,Ve,je){var Le,et;if(V){if(he){if(je){for(Le in Ne)if(et=q[Le],et&&B(et,Ke))try{delete et[Ke]}catch{}}if(!me[Ke]||je)try{return z(me,Ke,je?Ve:Ce&&me[Ke]||Ve)}catch{}else return}for(Le in Ne)et=q[Le],et&&(!et[Ke]||je)&&z(et,Ke,Ve)}};for(_e in Ne)Ge=q[_e],Ae=Ge&&Ge.prototype,Ae?L(Ae)[ye]=Ge:Ce=!1;for(_e in Ze)Ge=q[_e],Ae=Ge&&Ge.prototype,Ae&&(L(Ae)[ye]=Ge);if((!Ce||!$(me)||me===Function.prototype)&&(me=function(){throw xe("Incorrect invocation")},Ce))for(_e in Ne)q[_e]&&he(q[_e],me);if((!Ce||!Ee||Ee===ke)&&(Ee=me.prototype,Ce))for(_e in Ne)q[_e]&&he(q[_e].prototype,Ee);if(Ce&&ie(oe)!==Ee&&he(oe,Ee),V&&!B(Ee,fe)){pe=!0,e(Ee,fe,{get:function(){return D(this)?this[ve]:void 0}});for(_e in Ne)q[_e]&&K(q[_e],ve,_e)}k.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ce,TYPED_ARRAY_TAG:pe&&ve,aTypedArray:Pe,aTypedArrayConstructor:we,exportTypedArrayMethod:Ie,exportTypedArrayStaticMethod:Be,getTypedArrayConstructor:Te,isView:ze,isTypedArray:Fe,TypedArray:me,TypedArrayPrototype:Ee}},k=>{k.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},(k,m,M)=>{var G=M(81),V=M(23),q=M(18),$=M(35),D=$("toStringTag"),B=Object,R=q(function(){return arguments}())=="Arguments",U=function(K,z){try{return K[z]}catch{}};k.exports=G?q:function(K){var z,e,ae;return K===void 0?"Undefined":K===null?"Null":typeof(e=U(z=B(K),D))=="string"?e:R?q(z):(ae=q(z))=="Object"&&V(z.callee)?"Arguments":ae}},(k,m,M)=>{var G=M(35),V=G("toStringTag"),q={};q[V]="z",k.exports=String(q)==="[object z]"},(k,m,M)=>{var G=M(40),V=M(23),q=M(41),$=M(55),D=M(83),B=$("IE_PROTO"),R=Object,U=R.prototype;k.exports=D?R.getPrototypeOf:function(K){var z=q(K);if(G(z,B))return z[B];var e=z.constructor;return V(e)&&z instanceof e?e.prototype:z instanceof R?U:null}},(k,m,M)=>{var G=M(10);k.exports=!G(function(){function V(){}return V.prototype.constructor=null,Object.getPrototypeOf(new V)!==V.prototype})},(k,m,M)=>{var G=M(17),V=M(48),q=M(85);k.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var $=!1,D={},B;try{B=G(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),B(D,[]),$=D instanceof Array}catch{}return function(U,K){return V(U),q(K),$?B(U,K):U.__proto__=K,U}}():void 0)},(k,m,M)=>{var G=M(23),V=String,q=TypeError;k.exports=function($){if(typeof $=="object"||G($))return $;throw q("Can't set "+V($)+" as a prototype")}},(k,m,M)=>{M(87),M(93),M(95),M(117),M(119);var G=M(128);k.exports=G.structuredClone},(k,m,M)=>{var G=M(15),V=M(70),q=M(88),$=M(53),D=M(46).f,B=M(89),R=M(37),U=M(9),K="Array Iterator",z=$.set,e=$.getterFor(K);k.exports=B(Array,"Array",function(ie,he){z(this,{type:K,target:G(ie),index:0,kind:he})},function(){var ie=e(this),he=ie.target,J=ie.kind,W=ie.index++;return!he||W>=he.length?(ie.target=void 0,{value:void 0,done:!0}):J=="keys"?{value:W,done:!1}:J=="values"?{value:he[W],done:!1}:{value:[W,he[W]],done:!1}},"values");var ae=q.Arguments=q.Array;if(V("keys"),V("values"),V("entries"),!R&&U&&ae.name!=="values")try{D(ae,"name",{value:"values"})}catch{}},k=>{k.exports={}},(k,m,M)=>{var G=M(6),V=M(11),q=M(37),$=M(51),D=M(23),B=M(90),R=M(82),U=M(84),K=M(92),z=M(45),e=M(49),ae=M(35),ie=M(88),he=M(91),J=$.PROPER,W=$.CONFIGURABLE,X=he.IteratorPrototype,L=he.BUGGY_SAFARI_ITERATORS,Q=ae("iterator"),ce="keys",de="values",se="entries",oe=function(){return this};k.exports=function(me,Ee,ke,xe,fe,ve,ye){B(ke,Ee,xe);var Ce=function(Pe){if(Pe===fe&&Ne)return Ne;if(!L&&Pe in Ge)return Ge[Pe];switch(Pe){case ce:return function(){return new ke(this,Pe)};case de:return function(){return new ke(this,Pe)};case se:return function(){return new ke(this,Pe)}}return function(){return new ke(this)}},pe=Ee+" Iterator",_e=!1,Ge=me.prototype,Ae=Ge[Q]||Ge["@@iterator"]||fe&&Ge[fe],Ne=!L&&Ae||Ce(fe),Ze=Ee=="Array"&&Ge.entries||Ae,ze,Te,Fe;if(Ze&&(ze=R(Ze.call(new me)),ze!==Object.prototype&&ze.next&&(!q&&R(ze)!==X&&(U?U(ze,X):D(ze[Q])||e(ze,Q,oe)),K(ze,pe,!0,!0),q&&(ie[pe]=oe))),J&&fe==de&&Ae&&Ae.name!==de&&(!q&&W?z(Ge,"name",de):(_e=!0,Ne=function(){return V(Ae,this)})),fe)if(Te={values:Ce(de),keys:ve?Ne:Ce(ce),entries:Ce(se)},ye)for(Fe in Te)(L||_e||!(Fe in Ge))&&e(Ge,Fe,Te[Fe]);else G({target:Ee,proto:!0,forced:L||_e},Te);return(!q||ye)&&Ge[Q]!==Ne&&e(Ge,Q,Ne,{name:fe}),ie[Ee]=Ne,Te}},(k,m,M)=>{var G=M(91).IteratorPrototype,V=M(71),q=M(14),$=M(92),D=M(88),B=function(){return this};k.exports=function(R,U,K,z){var e=U+" Iterator";return R.prototype=V(G,{next:q(+!z,K)}),$(R,e,!1,!0),D[e]=B,R}},(k,m,M)=>{var G=M(10),V=M(23),q=M(71),$=M(82),D=M(49),B=M(35),R=M(37),U=B("iterator"),K=!1,z,e,ae;[].keys&&(ae=[].keys(),"next"in ae?(e=$($(ae)),e!==Object.prototype&&(z=e)):K=!0);var ie=z==null||G(function(){var he={};return z[U].call(he)!==he});ie?z={}:R&&(z=q(z)),V(z[U])||D(z,U,function(){return this}),k.exports={IteratorPrototype:z,BUGGY_SAFARI_ITERATORS:K}},(k,m,M)=>{var G=M(46).f,V=M(40),q=M(35),$=q("toStringTag");k.exports=function(D,B,R){D&&!R&&(D=D.prototype),D&&!V(D,$)&&G(D,$,{configurable:!0,value:B})}},(k,m,M)=>{var G=M(81),V=M(49),q=M(94);G||V(Object.prototype,"toString",q,{unsafe:!0})},(k,m,M)=>{var G=M(81),V=M(80);k.exports=G?{}.toString:function(){return"[object "+V(this)+"]"}},(k,m,M)=>{M(96)},(k,m,M)=>{var G=M(97),V=M(114);G("Map",function(q){return function(){return q(this,arguments.length?arguments[0]:void 0)}},V)},(k,m,M)=>{var G=M(6),V=M(7),q=M(17),$=M(69),D=M(49),B=M(98),R=M(105),U=M(111),K=M(23),z=M(22),e=M(10),ae=M(112),ie=M(92),he=M(113);k.exports=function(J,W,X){var L=J.indexOf("Map")!==-1,Q=J.indexOf("Weak")!==-1,ce=L?"set":"add",de=V[J],se=de&&de.prototype,oe=de,me={},Ee=function(pe){var _e=q(se[pe]);D(se,pe,pe=="add"?function(Ae){return _e(this,Ae===0?0:Ae),this}:pe=="delete"?function(Ge){return Q&&!z(Ge)?!1:_e(this,Ge===0?0:Ge)}:pe=="get"?function(Ae){return Q&&!z(Ae)?void 0:_e(this,Ae===0?0:Ae)}:pe=="has"?function(Ae){return Q&&!z(Ae)?!1:_e(this,Ae===0?0:Ae)}:function(Ae,Ne){return _e(this,Ae===0?0:Ae,Ne),this})},ke=$(J,!K(de)||!(Q||se.forEach&&!e(function(){new de().entries().next()})));if(ke)oe=X.getConstructor(W,J,L,ce),B.enable();else if($(J,!0)){var xe=new oe,fe=xe[ce](Q?{}:-0,1)!=xe,ve=e(function(){xe.has(1)}),ye=ae(function(pe){new de(pe)}),Ce=!Q&&e(function(){for(var pe=new de,_e=5;_e--;)pe[ce](_e,_e);return!pe.has(-0)});ye||(oe=W(function(pe,_e){U(pe,se);var Ge=he(new de,pe,oe);return _e!=null&&R(_e,Ge[ce],{that:Ge,AS_ENTRIES:L}),Ge}),oe.prototype=se,se.constructor=oe),(ve||Ce)&&(Ee("delete"),Ee("has"),L&&Ee("get")),(Ce||fe)&&Ee(ce),Q&&se.clear&&delete se.clear}return me[J]=oe,G({global:!0,constructor:!0,forced:oe!=de},me),ie(oe,J),Q||X.setStrong(oe,J,L),oe}},(k,m,M)=>{var G=M(6),V=M(17),q=M(56),$=M(22),D=M(40),B=M(46).f,R=M(59),U=M(99),K=M(102),z=M(42),e=M(104),ae=!1,ie=z("meta"),he=0,J=function(de){B(de,ie,{value:{objectID:"O"+he++,weakData:{}}})},W=function(de,se){if(!$(de))return typeof de=="symbol"?de:(typeof de=="string"?"S":"P")+de;if(!D(de,ie)){if(!K(de))return"F";if(!se)return"E";J(de)}return de[ie].objectID},X=function(de,se){if(!D(de,ie)){if(!K(de))return!0;if(!se)return!1;J(de)}return de[ie].weakData},L=function(de){return e&&ae&&K(de)&&!D(de,ie)&&J(de),de},Q=function(){ce.enable=function(){},ae=!0;var de=R.f,se=V([].splice),oe={};oe[ie]=1,de(oe).length&&(R.f=function(me){for(var Ee=de(me),ke=0,xe=Ee.length;ke{var G=M(18),V=M(15),q=M(59).f,$=M(100),D=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],B=function(R){try{return q(R)}catch{return $(D)}};k.exports.f=function(U){return D&&G(U)=="Window"?B(U):q(V(U))}},(k,m,M)=>{var G=M(62),V=M(65),q=M(101),$=Array,D=Math.max;k.exports=function(B,R,U){for(var K=V(B),z=G(R,K),e=G(U===void 0?K:U,K),ae=$(D(e-z,0)),ie=0;z{var G=M(20),V=M(46),q=M(14);k.exports=function($,D,B){var R=G(D);R in $?V.f($,R,q(0,B)):$[R]=B}},(k,m,M)=>{var G=M(10),V=M(22),q=M(18),$=M(103),D=Object.isExtensible,B=G(function(){});k.exports=B||$?function(U){return!V(U)||$&&q(U)=="ArrayBuffer"?!1:D?D(U):!0}:D},(k,m,M)=>{var G=M(10);k.exports=G(function(){if(typeof ArrayBuffer=="function"){var V=new ArrayBuffer(8);Object.isExtensible(V)&&Object.defineProperty(V,"a",{value:8})}})},(k,m,M)=>{var G=M(10);k.exports=!G(function(){return Object.isExtensible(Object.preventExtensions({}))})},(k,m,M)=>{var G=M(106),V=M(11),q=M(48),$=M(33),D=M(107),B=M(65),R=M(26),U=M(108),K=M(109),z=M(110),e=TypeError,ae=function(he,J){this.stopped=he,this.result=J},ie=ae.prototype;k.exports=function(he,J,W){var X=W&&W.that,L=!!(W&&W.AS_ENTRIES),Q=!!(W&&W.IS_RECORD),ce=!!(W&&W.IS_ITERATOR),de=!!(W&&W.INTERRUPTED),se=G(J,X),oe,me,Ee,ke,xe,fe,ve,ye=function(pe){return oe&&z(oe,"normal",pe),new ae(!0,pe)},Ce=function(pe){return L?(q(pe),de?se(pe[0],pe[1],ye):se(pe[0],pe[1])):de?se(pe,ye):se(pe)};if(Q)oe=he.iterator;else if(ce)oe=he;else{if(me=K(he),!me)throw e($(he)+" is not iterable");if(D(me)){for(Ee=0,ke=B(he);ke>Ee;Ee++)if(xe=Ce(he[Ee]),xe&&R(ie,xe))return xe;return new ae(!1)}oe=U(he,me)}for(fe=Q?he.next:oe.next;!(ve=V(fe,oe)).done;){try{xe=Ce(ve.value)}catch(pe){z(oe,"throw",pe)}if(typeof xe=="object"&&xe&&R(ie,xe))return xe}return new ae(!1)}},(k,m,M)=>{var G=M(17),V=M(32),q=M(12),$=G(G.bind);k.exports=function(D,B){return V(D),B===void 0?D:q?$(D,B):function(){return D.apply(B,arguments)}}},(k,m,M)=>{var G=M(35),V=M(88),q=G("iterator"),$=Array.prototype;k.exports=function(D){return D!==void 0&&(V.Array===D||$[q]===D)}},(k,m,M)=>{var G=M(11),V=M(32),q=M(48),$=M(33),D=M(109),B=TypeError;k.exports=function(R,U){var K=arguments.length<2?D(R):U;if(V(K))return q(G(K,R));throw B($(R)+" is not iterable")}},(k,m,M)=>{var G=M(80),V=M(31),q=M(88),$=M(35),D=$("iterator");k.exports=function(B){if(B!=null)return V(B,D)||V(B,"@@iterator")||q[G(B)]}},(k,m,M)=>{var G=M(11),V=M(48),q=M(31);k.exports=function($,D,B){var R,U;V($);try{if(R=q($,"return"),!R){if(D==="throw")throw B;return B}R=G(R,$)}catch(K){U=!0,R=K}if(D==="throw")throw B;if(U)throw R;return V(R),B}},(k,m,M)=>{var G=M(26),V=TypeError;k.exports=function(q,$){if(G($,q))return q;throw V("Incorrect invocation")}},(k,m,M)=>{var G=M(35),V=G("iterator"),q=!1;try{var $=0,D={next:function(){return{done:!!$++}},return:function(){q=!0}};D[V]=function(){return this},Array.from(D,function(){throw 2})}catch{}k.exports=function(B,R){if(!R&&!q)return!1;var U=!1;try{var K={};K[V]=function(){return{next:function(){return{done:U=!0}}}},B(K)}catch{}return U}},(k,m,M)=>{var G=M(23),V=M(22),q=M(84);k.exports=function($,D,B){var R,U;return q&&G(R=D.constructor)&&R!==B&&V(U=R.prototype)&&U!==B.prototype&&q($,U),$}},(k,m,M)=>{var G=M(46).f,V=M(71),q=M(115),$=M(106),D=M(111),B=M(105),R=M(89),U=M(116),K=M(9),z=M(98).fastKey,e=M(53),ae=e.set,ie=e.getterFor;k.exports={getConstructor:function(he,J,W,X){var L=he(function(oe,me){D(oe,Q),ae(oe,{type:J,index:V(null),first:void 0,last:void 0,size:0}),K||(oe.size=0),me!=null&&B(me,oe[X],{that:oe,AS_ENTRIES:W})}),Q=L.prototype,ce=ie(J),de=function(oe,me,Ee){var ke=ce(oe),xe=se(oe,me),fe,ve;return xe?xe.value=Ee:(ke.last=xe={index:ve=z(me,!0),key:me,value:Ee,previous:fe=ke.last,next:void 0,removed:!1},ke.first||(ke.first=xe),fe&&(fe.next=xe),K?ke.size++:oe.size++,ve!=="F"&&(ke.index[ve]=xe)),oe},se=function(oe,me){var Ee=ce(oe),ke=z(me),xe;if(ke!=="F")return Ee.index[ke];for(xe=Ee.first;xe;xe=xe.next)if(xe.key==me)return xe};return q(Q,{clear:function(){for(var me=this,Ee=ce(me),ke=Ee.index,xe=Ee.first;xe;)xe.removed=!0,xe.previous&&(xe.previous=xe.previous.next=void 0),delete ke[xe.index],xe=xe.next;Ee.first=Ee.last=void 0,K?Ee.size=0:me.size=0},delete:function(oe){var me=this,Ee=ce(me),ke=se(me,oe);if(ke){var xe=ke.next,fe=ke.previous;delete Ee.index[ke.index],ke.removed=!0,fe&&(fe.next=xe),xe&&(xe.previous=fe),Ee.first==ke&&(Ee.first=xe),Ee.last==ke&&(Ee.last=fe),K?Ee.size--:me.size--}return!!ke},forEach:function(me){for(var Ee=ce(this),ke=$(me,arguments.length>1?arguments[1]:void 0),xe;xe=xe?xe.next:Ee.first;)for(ke(xe.value,xe.key,this);xe&&xe.removed;)xe=xe.previous},has:function(me){return!!se(this,me)}}),q(Q,W?{get:function(me){var Ee=se(this,me);return Ee&&Ee.value},set:function(me,Ee){return de(this,me===0?0:me,Ee)}}:{add:function(me){return de(this,me=me===0?0:me,me)}}),K&&G(Q,"size",{get:function(){return ce(this).size}}),L},setStrong:function(he,J,W){var X=J+" Iterator",L=ie(J),Q=ie(X);R(he,J,function(ce,de){ae(this,{type:X,target:ce,state:L(ce),kind:de,last:void 0})},function(){for(var ce=Q(this),de=ce.kind,se=ce.last;se&&se.removed;)se=se.previous;return!ce.target||!(ce.last=se=se?se.next:ce.state.first)?(ce.target=void 0,{value:void 0,done:!0}):de=="keys"?{value:se.key,done:!1}:de=="values"?{value:se.value,done:!1}:{value:[se.key,se.value],done:!1}},W?"entries":"values",!W,!0),U(J)}}},(k,m,M)=>{var G=M(49);k.exports=function(V,q,$){for(var D in q)G(V,D,q[D],$);return V}},(k,m,M)=>{var G=M(25),V=M(46),q=M(35),$=M(9),D=q("species");k.exports=function(B){var R=G(B),U=V.f;$&&R&&!R[D]&&U(R,D,{configurable:!0,get:function(){return this}})}},(k,m,M)=>{M(118)},(k,m,M)=>{var G=M(97),V=M(114);G("Set",function(q){return function(){return q(this,arguments.length?arguments[0]:void 0)}},V)},(k,m,M)=>{var G=M(37),V=M(6),q=M(7),$=M(25),D=M(17),B=M(10),R=M(42),U=M(23),K=M(120),z=M(22),e=M(24),ae=M(105),ie=M(48),he=M(80),J=M(40),W=M(101),X=M(45),L=M(65),Q=M(121),ce=M(122),de=M(124),se=M(29),oe=M(125),me=M(126),Ee=M(127),ke=q.Object,xe=q.Date,fe=q.Error,ve=q.EvalError,ye=q.RangeError,Ce=q.ReferenceError,pe=q.SyntaxError,_e=q.TypeError,Ge=q.URIError,Ae=q.PerformanceMark,Ne=q.WebAssembly,Ze=Ne&&Ne.CompileError||fe,ze=Ne&&Ne.LinkError||fe,Te=Ne&&Ne.RuntimeError||fe,Fe=$("DOMException"),Pe=$("Set"),we=$("Map"),Ie=we.prototype,Be=D(Ie.has),Ke=D(Ie.get),Ve=D(Ie.set),je=D(Pe.prototype.add),Le=$("Object","keys"),et=D([].push),Qe=D((!0).valueOf),Ue=D(1 .valueOf),$e=D("".valueOf),Ye=D(xe.prototype.getTime),tt=R("structuredClone"),ot="DataCloneError",st="Transferring",dt=function(Nt){return!B(function(){var Vt=new q.Set([7]),Wt=Nt(Vt),Mt=Nt(ke(7));return Wt==Vt||!Wt.has(7)||typeof Mt!="object"||Mt!=7})&&Nt},ct=function(Nt,Vt){return!B(function(){var Wt=new Vt,Mt=Nt({a:Wt,b:Wt});return!(Mt&&Mt.a===Mt.b&&Mt.a instanceof Vt&&Mt.a.stack===Wt.stack)})},mt=function(Nt){return!B(function(){var Vt=Nt(new q.AggregateError([1],tt,{cause:3}));return Vt.name!="AggregateError"||Vt.errors[0]!=1||Vt.message!=tt||Vt.cause!=3})},ut=q.structuredClone,rt=G||!ct(ut,fe)||!ct(ut,Fe)||!mt(ut),He=!ut&&dt(function(Nt){return new Ae(tt,{detail:Nt}).detail}),Je=dt(ut)||He,St=function(Nt){throw new Fe("Uncloneable type: "+Nt,ot)},bt=function(Nt,Vt){throw new Fe((Vt||"Cloning")+" of "+Nt+" cannot be properly polyfilled in this engine",ot)},pt=function(Nt,Vt){if(e(Nt)&&St("Symbol"),!z(Nt))return Nt;if(Vt){if(Be(Vt,Nt))return Ke(Vt,Nt)}else Vt=new we;var Wt=he(Nt),Mt=!1,$t,Yt,Ft,Jt,er,Bt,It,Dt,Zt,gr;switch(Wt){case"Array":Ft=[],Mt=!0;break;case"Object":Ft={},Mt=!0;break;case"Map":Ft=new we,Mt=!0;break;case"Set":Ft=new Pe,Mt=!0;break;case"RegExp":Ft=new RegExp(Nt.source,ce(Nt));break;case"Error":switch(Yt=Nt.name,Yt){case"AggregateError":Ft=$("AggregateError")([]);break;case"EvalError":Ft=ve();break;case"RangeError":Ft=ye();break;case"ReferenceError":Ft=Ce();break;case"SyntaxError":Ft=pe();break;case"TypeError":Ft=_e();break;case"URIError":Ft=Ge();break;case"CompileError":Ft=Ze();break;case"LinkError":Ft=ze();break;case"RuntimeError":Ft=Te();break;default:Ft=fe()}Mt=!0;break;case"DOMException":Ft=new Fe(Nt.message,Nt.name),Mt=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":$t=q[Wt],z($t)||bt(Wt),Ft=new $t(pt(Nt.buffer,Vt),Nt.byteOffset,Wt==="DataView"?Nt.byteLength:Nt.length);break;case"DOMQuad":try{Ft=new DOMQuad(pt(Nt.p1,Vt),pt(Nt.p2,Vt),pt(Nt.p3,Vt),pt(Nt.p4,Vt))}catch{Je?Ft=Je(Nt):bt(Wt)}break;case"FileList":if($t=q.DataTransfer,K($t)){for(Jt=new $t,er=0,Bt=L(Nt);er92||Ee&&se>94||oe&&se>97)return!1;var Nt=new ArrayBuffer(8),Vt=ut(Nt,{transfer:[Nt]});return Nt.byteLength!=0||Vt.byteLength!=8}),Pt=function(Nt,Vt){if(!z(Nt))throw _e("Transfer option cannot be converted to a sequence");var Wt=[];ae(Nt,function(Zt){et(Wt,ie(Zt))});var Mt=0,$t=L(Wt),Yt,Ft,Jt,er,Bt,It,Dt;if(wt)for(er=ut(Wt,{transfer:Wt});Mt<$t;)Ve(Vt,Wt[Mt],er[Mt++]);else for(;Mt<$t;){if(Yt=Wt[Mt++],Be(Vt,Yt))throw new Fe("Duplicate transferable",ot);switch(Ft=he(Yt),Ft){case"ImageBitmap":Jt=q.OffscreenCanvas,K(Jt)||bt(Ft,st);try{It=new Jt(Yt.width,Yt.height),Dt=It.getContext("bitmaprenderer"),Dt.transferFromImageBitmap(Yt),Bt=It.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!U(Yt.clone)||!U(Yt.close))&&bt(Ft,st);try{Bt=Yt.clone(),Yt.close()}catch{}break;case"ArrayBuffer":case"MessagePort":case"OffscreenCanvas":case"ReadableStream":case"TransformStream":case"WritableStream":bt(Ft,st)}if(Bt===void 0)throw new Fe("This object cannot be transferred: "+Ft,ot);Ve(Vt,Yt,Bt)}};V({global:!0,enumerable:!0,sham:!wt,forced:rt},{structuredClone:function(Vt){var Wt=Q(arguments.length,1)>1&&arguments[1]!=null?ie(arguments[1]):void 0,Mt=Wt?Wt.transfer:void 0,$t;return Mt!==void 0&&($t=new we,Pt(Mt,$t)),pt(Vt,$t)}})},(k,m,M)=>{var G=M(17),V=M(10),q=M(23),$=M(80),D=M(25),B=M(52),R=function(){},U=[],K=D("Reflect","construct"),z=/^\s*(?:class|function)\b/,e=G(z.exec),ae=!z.exec(R),ie=function(W){if(!q(W))return!1;try{return K(R,U,W),!0}catch{return!1}},he=function(W){if(!q(W))return!1;switch($(W)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return ae||!!e(z,B(W))}catch{return!0}};he.sham=!0,k.exports=!K||V(function(){var J;return ie(ie.call)||!ie(Object)||!ie(function(){J=!0})||J})?he:ie},k=>{var m=TypeError;k.exports=function(M,G){if(M{var G=M(11),V=M(40),q=M(26),$=M(123),D=RegExp.prototype;k.exports=function(B){var R=B.flags;return R===void 0&&!("flags"in D)&&!V(B,"flags")&&q(D,B)?G($,B):R}},(k,m,M)=>{var G=M(48);k.exports=function(){var V=G(this),q="";return V.hasIndices&&(q+="d"),V.global&&(q+="g"),V.ignoreCase&&(q+="i"),V.multiline&&(q+="m"),V.dotAll&&(q+="s"),V.unicode&&(q+="u"),V.unicodeSets&&(q+="v"),V.sticky&&(q+="y"),q}},(k,m,M)=>{var G=M(10),V=M(14);k.exports=!G(function(){var q=Error("a");return"stack"in q?(Object.defineProperty(q,"stack",V(1,7)),q.stack!==7):!0})},(k,m,M)=>{var G=M(126),V=M(127);k.exports=!G&&!V&&typeof window=="object"&&typeof document=="object"},k=>{k.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},(k,m,M)=>{var G=M(18),V=M(7);k.exports=G(V.process)=="process"},(k,m,M)=>{var G=M(7);k.exports=G},(__unused_webpack_module,exports,__w_pdfjs_require__)=>{Object.defineProperty(exports,"__esModule",{value:!0}),exports.build=exports.RenderTask=exports.PDFWorkerUtil=exports.PDFWorker=exports.PDFPageProxy=exports.PDFDocumentProxy=exports.PDFDocumentLoadingTask=exports.PDFDataRangeTransport=exports.LoopbackPort=exports.DefaultStandardFontDataFactory=exports.DefaultCanvasFactory=exports.DefaultCMapReaderFactory=void 0,exports.getDocument=getDocument,exports.setPDFNetworkStreamFactory=setPDFNetworkStreamFactory,exports.version=void 0;var _util=__w_pdfjs_require__(1),_annotation_storage=__w_pdfjs_require__(130),_display_utils=__w_pdfjs_require__(133),_font_loader=__w_pdfjs_require__(136),_canvas=__w_pdfjs_require__(137),_worker_options=__w_pdfjs_require__(140),_is_node=__w_pdfjs_require__(3),_message_handler=__w_pdfjs_require__(141),_metadata=__w_pdfjs_require__(142),_optional_content_config=__w_pdfjs_require__(143),_transport_stream=__w_pdfjs_require__(144),_xfa_text=__w_pdfjs_require__(145);function _classPrivateMethodInitSpec(k,m){_checkPrivateRedeclaration(k,m),m.add(k)}function _classPrivateMethodGet(k,m,M){if(!m.has(k))throw new TypeError("attempted to get private field on non-instance");return M}function _classPrivateFieldInitSpec(k,m,M){_checkPrivateRedeclaration(k,m),m.set(k,M)}function _checkPrivateRedeclaration(k,m){if(m.has(k))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldSet(k,m,M){var G=_classExtractFieldDescriptor(k,m,"set");return _classApplyDescriptorSet(k,G,M),M}function _classPrivateFieldGet(k,m){var M=_classExtractFieldDescriptor(k,m,"get");return _classApplyDescriptorGet(k,M)}function _classExtractFieldDescriptor(k,m,M){if(!m.has(k))throw new TypeError("attempted to "+M+" private field on non-instance");return m.get(k)}function _classStaticPrivateFieldSpecSet(k,m,M,G){return _classCheckPrivateStaticAccess(k,m),_classCheckPrivateStaticFieldDescriptor(M,"set"),_classApplyDescriptorSet(k,M,G),G}function _classApplyDescriptorSet(k,m,M){if(m.set)m.set.call(k,M);else{if(!m.writable)throw new TypeError("attempted to set read only private field");m.value=M}}function _classStaticPrivateFieldSpecGet(k,m,M){return _classCheckPrivateStaticAccess(k,m),_classCheckPrivateStaticFieldDescriptor(M,"get"),_classApplyDescriptorGet(k,M)}function _classCheckPrivateStaticFieldDescriptor(k,m){if(k===void 0)throw new TypeError("attempted to "+m+" private static field before its declaration")}function _classCheckPrivateStaticAccess(k,m){if(k!==m)throw new TypeError("Private static access of wrong provenance")}function _classApplyDescriptorGet(k,m){return m.get?m.get.call(k):m.value}const DEFAULT_RANGE_CHUNK_SIZE=65536,RENDERING_CANCELLED_TIMEOUT=100;let DefaultCanvasFactory=_display_utils.DOMCanvasFactory;exports.DefaultCanvasFactory=DefaultCanvasFactory;let DefaultCMapReaderFactory=_display_utils.DOMCMapReaderFactory;exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory;let DefaultStandardFontDataFactory=_display_utils.DOMStandardFontDataFactory;if(exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory,_is_node.isNodeJS){const{NodeCanvasFactory:k,NodeCMapReaderFactory:m,NodeStandardFontDataFactory:M}=__w_pdfjs_require__(146);exports.DefaultCanvasFactory=DefaultCanvasFactory=k,exports.DefaultCMapReaderFactory=DefaultCMapReaderFactory=m,exports.DefaultStandardFontDataFactory=DefaultStandardFontDataFactory=M}let createPDFNetworkStream;function setPDFNetworkStreamFactory(k){createPDFNetworkStream=k}function getDocument(k){const m=new PDFDocumentLoadingTask;let M;if(typeof k=="string"||k instanceof URL)M={url:k};else if((0,_util.isArrayBuffer)(k))M={data:k};else if(k instanceof PDFDataRangeTransport)M={range:k};else{if(typeof k!="object")throw new Error("Invalid parameter in getDocument, need either string, URL, TypedArray, or parameter object.");if(!k.url&&!k.data&&!k.range)throw new Error("Invalid parameter object: need either .data, .range or .url");M=k}const G=Object.create(null);let V=null,q=null;for(const D in M){const B=M[D];switch(D){case"url":if(typeof window<"u")try{G[D]=new URL(B,window.location).href;continue}catch(R){(0,_util.warn)(`Cannot create valid URL: "${R}".`)}else if(typeof B=="string"||B instanceof URL){G[D]=B.toString();continue}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.");case"range":V=B;continue;case"worker":q=B;continue;case"data":if(_is_node.isNodeJS&&typeof Buffer<"u"&&B instanceof Buffer)G[D]=new Uint8Array(B);else{if(B instanceof Uint8Array)break;if(typeof B=="string")G[D]=(0,_util.stringToBytes)(B);else if(typeof B=="object"&&B!==null&&!isNaN(B.length))G[D]=new Uint8Array(B);else if((0,_util.isArrayBuffer)(B))G[D]=new Uint8Array(B);else throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}continue}G[D]=B}if(G.CMapReaderFactory=G.CMapReaderFactory||DefaultCMapReaderFactory,G.StandardFontDataFactory=G.StandardFontDataFactory||DefaultStandardFontDataFactory,G.ignoreErrors=G.stopAtErrors!==!0,G.fontExtraProperties=G.fontExtraProperties===!0,G.pdfBug=G.pdfBug===!0,G.enableXfa=G.enableXfa===!0,(!Number.isInteger(G.rangeChunkSize)||G.rangeChunkSize<1)&&(G.rangeChunkSize=DEFAULT_RANGE_CHUNK_SIZE),(typeof G.docBaseUrl!="string"||(0,_display_utils.isDataScheme)(G.docBaseUrl))&&(G.docBaseUrl=null),(!Number.isInteger(G.maxImageSize)||G.maxImageSize<-1)&&(G.maxImageSize=-1),typeof G.cMapUrl!="string"&&(G.cMapUrl=null),typeof G.standardFontDataUrl!="string"&&(G.standardFontDataUrl=null),typeof G.useWorkerFetch!="boolean"&&(G.useWorkerFetch=G.CMapReaderFactory===_display_utils.DOMCMapReaderFactory&&G.StandardFontDataFactory===_display_utils.DOMStandardFontDataFactory),typeof G.isEvalSupported!="boolean"&&(G.isEvalSupported=!0),typeof G.disableFontFace!="boolean"&&(G.disableFontFace=_is_node.isNodeJS),typeof G.useSystemFonts!="boolean"&&(G.useSystemFonts=!_is_node.isNodeJS&&!G.disableFontFace),(typeof G.ownerDocument!="object"||G.ownerDocument===null)&&(G.ownerDocument=globalThis.document),typeof G.disableRange!="boolean"&&(G.disableRange=!1),typeof G.disableStream!="boolean"&&(G.disableStream=!1),typeof G.disableAutoFetch!="boolean"&&(G.disableAutoFetch=!1),(0,_util.setVerbosityLevel)(G.verbosity),!q){const D={verbosity:G.verbosity,port:_worker_options.GlobalWorkerOptions.workerPort};q=D.port?PDFWorker.fromPort(D):new PDFWorker(D),m._worker=q}const $=m.docId;return q.promise.then(function(){if(m.destroyed)throw new Error("Loading aborted");const D=_fetchDocument(q,G,V,$),B=new Promise(function(R){let U;V?U=new _transport_stream.PDFDataTransportStream({length:G.length,initialData:G.initialData,progressiveDone:G.progressiveDone,contentDispositionFilename:G.contentDispositionFilename,disableRange:G.disableRange,disableStream:G.disableStream},V):G.data||(U=createPDFNetworkStream({url:G.url,length:G.length,httpHeaders:G.httpHeaders,withCredentials:G.withCredentials,rangeChunkSize:G.rangeChunkSize,disableRange:G.disableRange,disableStream:G.disableStream})),R(U)});return Promise.all([D,B]).then(function(R){let[U,K]=R;if(m.destroyed)throw new Error("Loading aborted");const z=new _message_handler.MessageHandler($,U,q.port),e=new WorkerTransport(z,m,K,G);m._transport=e,z.send("Ready",null)})}).catch(m._capability.reject),m}async function _fetchDocument(k,m,M,G){if(k.destroyed)throw new Error("Worker was destroyed");M&&(m.length=M.length,m.initialData=M.initialData,m.progressiveDone=M.progressiveDone,m.contentDispositionFilename=M.contentDispositionFilename);const V=await k.messageHandler.sendWithPromise("GetDocRequest",{docId:G,apiVersion:"2.16.105",source:{data:m.data,url:m.url,password:m.password,disableAutoFetch:m.disableAutoFetch,rangeChunkSize:m.rangeChunkSize,length:m.length},maxImageSize:m.maxImageSize,disableFontFace:m.disableFontFace,docBaseUrl:m.docBaseUrl,ignoreErrors:m.ignoreErrors,isEvalSupported:m.isEvalSupported,fontExtraProperties:m.fontExtraProperties,enableXfa:m.enableXfa,useSystemFonts:m.useSystemFonts,cMapUrl:m.useWorkerFetch?m.cMapUrl:null,standardFontDataUrl:m.useWorkerFetch?m.standardFontDataUrl:null});if(m.data&&(m.data=null),k.destroyed)throw new Error("Worker was destroyed");return V}class PDFDocumentLoadingTask{constructor(){var m,M;this._capability=(0,_util.createPromiseCapability)(),this._transport=null,this._worker=null,this.docId=`d${_classStaticPrivateFieldSpecSet(PDFDocumentLoadingTask,PDFDocumentLoadingTask,_docId,(m=_classStaticPrivateFieldSpecGet(PDFDocumentLoadingTask,PDFDocumentLoadingTask,_docId),M=m++,m)),M}`,this.destroyed=!1,this.onPassword=null,this.onProgress=null,this.onUnsupportedFeature=null}get promise(){return this._capability.promise}async destroy(){var m;this.destroyed=!0,await((m=this._transport)===null||m===void 0?void 0:m.destroy()),this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}}exports.PDFDocumentLoadingTask=PDFDocumentLoadingTask;var _docId={writable:!0,value:0};class PDFDataRangeTransport{constructor(m,M){let G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;this.length=m,this.initialData=M,this.progressiveDone=G,this.contentDispositionFilename=V,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=(0,_util.createPromiseCapability)()}addRangeListener(m){this._rangeListeners.push(m)}addProgressListener(m){this._progressListeners.push(m)}addProgressiveReadListener(m){this._progressiveReadListeners.push(m)}addProgressiveDoneListener(m){this._progressiveDoneListeners.push(m)}onDataRange(m,M){for(const G of this._rangeListeners)G(m,M)}onDataProgress(m,M){this._readyCapability.promise.then(()=>{for(const G of this._progressListeners)G(m,M)})}onDataProgressiveRead(m){this._readyCapability.promise.then(()=>{for(const M of this._progressiveReadListeners)M(m)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const m of this._progressiveDoneListeners)m()})}transportReady(){this._readyCapability.resolve()}requestDataRange(m,M){(0,_util.unreachable)("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}}exports.PDFDataRangeTransport=PDFDataRangeTransport;class PDFDocumentProxy{constructor(m,M){this._pdfInfo=m,this._transport=M,Object.defineProperty(this,"fingerprint",{get(){return(0,_display_utils.deprecated)("`PDFDocumentProxy.fingerprint`, please use `PDFDocumentProxy.fingerprints` instead."),this.fingerprints[0]}}),Object.defineProperty(this,"getStats",{value:async()=>((0,_display_utils.deprecated)("`PDFDocumentProxy.getStats`, please use the `PDFDocumentProxy.stats`-getter instead."),this.stats||{streamTypes:{},fontTypes:{}})})}get annotationStorage(){return this._transport.annotationStorage}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get stats(){return this._transport.stats}get isPureXfa(){return!!this._transport._htmlForXfa}get allXfaHtml(){return this._transport._htmlForXfa}getPage(m){return this._transport.getPage(m)}getPageIndex(m){return this._transport.getPageIndex(m)}getDestinations(){return this._transport.getDestinations()}getDestination(m){return this._transport.getDestination(m)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJavaScript(){return this._transport.getJavaScript()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig(){return this._transport.getOptionalContentConfig()}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this._transport.startCleanup(m||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}saveDocument(){return this._transport.annotationStorage.size<=0&&(0,_display_utils.deprecated)("saveDocument called while `annotationStorage` is empty, please use the getData-method instead."),this._transport.saveDocument()}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}exports.PDFDocumentProxy=PDFDocumentProxy;class PDFPageProxy{constructor(m,M,G,V){let q=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1;this._pageIndex=m,this._pageInfo=M,this._ownerDocument=V,this._transport=G,this._stats=q?new _display_utils.StatTimer:null,this._pdfBug=q,this.commonObjs=G.commonObjs,this.objs=new PDFObjects,this._bitmaps=new Set,this.cleanupAfterRender=!1,this.pendingCleanup=!1,this._intentStates=new Map,this._annotationPromises=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport(){let{scale:m,rotation:M=this.rotate,offsetX:G=0,offsetY:V=0,dontFlip:q=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new _display_utils.PageViewport({viewBox:this.view,scale:m,rotation:M,offsetX:G,offsetY:V,dontFlip:q})}getAnnotations(){let{intent:m="display"}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const M=this._transport.getRenderingIntent(m);let G=this._annotationPromises.get(M.cacheKey);return G||(G=this._transport.getAnnotations(this._pageIndex,M.renderingIntent),this._annotationPromises.set(M.cacheKey,G),G=G.then(V=>{for(const q of V)q.titleObj!==void 0&&Object.defineProperty(q,"title",{get(){return(0,_display_utils.deprecated)("`title`-property on annotation, please use `titleObj` instead."),q.titleObj.str}}),q.contentsObj!==void 0&&Object.defineProperty(q,"contents",{get(){return(0,_display_utils.deprecated)("`contents`-property on annotation, please use `contentsObj` instead."),q.contentsObj.str}});return V})),G}getJSActions(){return this._jsActionsPromise||(this._jsActionsPromise=this._transport.getPageJSActions(this._pageIndex))}async getXfa(){var m;return((m=this._transport._htmlForXfa)===null||m===void 0?void 0:m.children[this._pageIndex])||null}render(m){var M,G,V;let{canvasContext:q,viewport:$,intent:D="display",annotationMode:B=_util.AnnotationMode.ENABLE,transform:R=null,imageLayer:U=null,canvasFactory:K=null,background:z=null,optionalContentConfigPromise:e=null,annotationCanvasMap:ae=null,pageColors:ie=null,printAnnotationStorage:he=null}=m;((M=arguments[0])===null||M===void 0?void 0:M.renderInteractiveForms)!==void 0&&((0,_display_utils.deprecated)("render no longer accepts the `renderInteractiveForms`-option, please use the `annotationMode`-option instead."),arguments[0].renderInteractiveForms===!0&&B===_util.AnnotationMode.ENABLE&&(B=_util.AnnotationMode.ENABLE_FORMS)),((G=arguments[0])===null||G===void 0?void 0:G.includeAnnotationStorage)!==void 0&&((0,_display_utils.deprecated)("render no longer accepts the `includeAnnotationStorage`-option, please use the `annotationMode`-option instead."),arguments[0].includeAnnotationStorage===!0&&B===_util.AnnotationMode.ENABLE&&(B=_util.AnnotationMode.ENABLE_STORAGE)),this._stats&&this._stats.time("Overall");const J=this._transport.getRenderingIntent(D,B,he);this.pendingCleanup=!1,e||(e=this._transport.getOptionalContentConfig());let W=this._intentStates.get(J.cacheKey);W||(W=Object.create(null),this._intentStates.set(J.cacheKey,W)),W.streamReaderCancelTimeout&&(clearTimeout(W.streamReaderCancelTimeout),W.streamReaderCancelTimeout=null);const X=K||new DefaultCanvasFactory({ownerDocument:this._ownerDocument}),L=!!(J.renderingIntent&_util.RenderingIntentFlag.PRINT);W.displayReadyCapability||(W.displayReadyCapability=(0,_util.createPromiseCapability)(),W.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(J));const Q=se=>{W.renderTasks.delete(ce),(this.cleanupAfterRender||L)&&(this.pendingCleanup=!0),this._tryCleanup(),se?(ce.capability.reject(se),this._abortOperatorList({intentState:W,reason:se instanceof Error?se:new Error(se)})):ce.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"))},ce=new InternalRenderTask({callback:Q,params:{canvasContext:q,viewport:$,transform:R,imageLayer:U,background:z},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:ae,operatorList:W.operatorList,pageIndex:this._pageIndex,canvasFactory:X,useRequestAnimationFrame:!L,pdfBug:this._pdfBug,pageColors:ie});((V=W).renderTasks||(V.renderTasks=new Set)).add(ce);const de=ce.task;return Promise.all([W.displayReadyCapability.promise,e]).then(se=>{let[oe,me]=se;if(this.pendingCleanup){Q();return}this._stats&&this._stats.time("Rendering"),ce.initializeGraphics({transparency:oe,optionalContentConfig:me}),ce.operatorListChanged()}).catch(Q),de}getOperatorList(){let{intent:m="display",annotationMode:M=_util.AnnotationMode.ENABLE,printAnnotationStorage:G=null}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};function V(){$.operatorList.lastChunk&&($.opListReadCapability.resolve($.operatorList),$.renderTasks.delete(D))}const q=this._transport.getRenderingIntent(m,M,G,!0);let $=this._intentStates.get(q.cacheKey);$||($=Object.create(null),this._intentStates.set(q.cacheKey,$));let D;if(!$.opListReadCapability){var B;D=Object.create(null),D.operatorListChanged=V,$.opListReadCapability=(0,_util.createPromiseCapability)(),((B=$).renderTasks||(B.renderTasks=new Set)).add(D),$.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats&&this._stats.time("Page Request"),this._pumpOperatorList(q)}return $.opListReadCapability.promise}streamTextContent(){let{disableCombineTextItems:m=!1,includeMarkedContent:M=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const G=100;return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,combineTextItems:m!==!0,includeMarkedContent:M===!0},{highWaterMark:G,size(V){return V.items.length}})}getTextContent(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._transport._htmlForXfa)return this.getXfa().then(G=>_xfa_text.XfaText.textContent(G));const M=this.streamTextContent(m);return new Promise(function(G,V){function q(){$.read().then(function(B){let{value:R,done:U}=B;if(U){G(D);return}Object.assign(D.styles,R.styles),D.items.push(...R.items),q()},V)}const $=M.getReader(),D={items:[],styles:Object.create(null)};q()})}getStructTree(){return this._structTreePromise||(this._structTreePromise=this._transport.getStructTree(this._pageIndex))}_destroy(){this.destroyed=!0;const m=[];for(const M of this._intentStates.values())if(this._abortOperatorList({intentState:M,reason:new Error("Page was destroyed."),force:!0}),!M.opListReadCapability)for(const G of M.renderTasks)m.push(G.completed),G.cancel();this.objs.clear();for(const M of this._bitmaps)M.close();return this._bitmaps.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,this.pendingCleanup=!1,Promise.all(m)}cleanup(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.pendingCleanup=!0,this._tryCleanup(m)}_tryCleanup(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.pendingCleanup)return!1;for(const{renderTasks:M,operatorList:G}of this._intentStates.values())if(M.size>0||!G.lastChunk)return!1;this._intentStates.clear(),this.objs.clear(),this._annotationPromises.clear(),this._jsActionsPromise=null,this._structTreePromise=null,m&&this._stats&&(this._stats=new _display_utils.StatTimer);for(const M of this._bitmaps)M.close();return this._bitmaps.clear(),this.pendingCleanup=!1,!0}_startRenderPage(m,M){const G=this._intentStates.get(M);G&&(this._stats&&this._stats.timeEnd("Page Request"),G.displayReadyCapability&&G.displayReadyCapability.resolve(m))}_renderPageChunk(m,M){for(let G=0,V=m.length;G{$.read().then(R=>{let{value:U,done:K}=R;if(K){D.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(U,D),B())},R=>{if(D.streamReader=null,!this._transport.destroyed){if(D.operatorList){D.operatorList.lastChunk=!0;for(const U of D.renderTasks)U.operatorListChanged();this._tryCleanup()}if(D.displayReadyCapability)D.displayReadyCapability.reject(R);else if(D.opListReadCapability)D.opListReadCapability.reject(R);else throw R}})};B()}_abortOperatorList(m){let{intentState:M,reason:G,force:V=!1}=m;if(M.streamReader){if(!V){if(M.renderTasks.size>0)return;if(G instanceof _display_utils.RenderingCancelledException){M.streamReaderCancelTimeout=setTimeout(()=>{this._abortOperatorList({intentState:M,reason:G,force:!0}),M.streamReaderCancelTimeout=null},RENDERING_CANCELLED_TIMEOUT);return}}if(M.streamReader.cancel(new _util.AbortException(G.message)).catch(()=>{}),M.streamReader=null,!this._transport.destroyed){for(const[q,$]of this._intentStates)if($===M){this._intentStates.delete(q);break}this.cleanup()}}}get stats(){return this._stats}}exports.PDFPageProxy=PDFPageProxy;class LoopbackPort{constructor(){this._listeners=[],this._deferred=Promise.resolve()}postMessage(m,M){const G={data:structuredClone(m,M)};this._deferred.then(()=>{for(const V of this._listeners)V.call(this,G)})}addEventListener(m,M){this._listeners.push(M)}removeEventListener(m,M){const G=this._listeners.indexOf(M);this._listeners.splice(G,1)}terminate(){this._listeners.length=0}}exports.LoopbackPort=LoopbackPort;const PDFWorkerUtil={isWorkerDisabled:!1,fallbackWorkerSrc:null,fakeWorkerId:0};exports.PDFWorkerUtil=PDFWorkerUtil;{if(_is_node.isNodeJS&&typeof commonjsRequire$1=="function")PDFWorkerUtil.isWorkerDisabled=!0,PDFWorkerUtil.fallbackWorkerSrc="./pdf.worker.js";else if(typeof document=="object"){var _document,_document$currentScri;const k=(_document=document)===null||_document===void 0||(_document$currentScri=_document.currentScript)===null||_document$currentScri===void 0?void 0:_document$currentScri.src;k&&(PDFWorkerUtil.fallbackWorkerSrc=k.replace(/(\.(?:min\.)?js)(\?.*)?$/i,".worker$1$2"))}PDFWorkerUtil.isSameOrigin=function(k,m){let M;try{if(M=new URL(k),!M.origin||M.origin==="null")return!1}catch{return!1}const G=new URL(m,M);return M.origin===G.origin},PDFWorkerUtil.createCDNWrapper=function(k){const m=`importScripts("${k}");`;return URL.createObjectURL(new Blob([m]))}}class PDFWorker{constructor(){let{name:k=null,port:m=null,verbosity:M=(0,_util.getVerbosityLevel)()}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(m&&_classStaticPrivateFieldSpecGet(PDFWorker,PDFWorker,_workerPorts).has(m))throw new Error("Cannot use more than one PDFWorker per port.");if(this.name=k,this.destroyed=!1,this.verbosity=M,this._readyCapability=(0,_util.createPromiseCapability)(),this._port=null,this._webWorker=null,this._messageHandler=null,m){_classStaticPrivateFieldSpecGet(PDFWorker,PDFWorker,_workerPorts).set(m,this),this._initializeFromPort(m);return}this._initialize()}get promise(){return this._readyCapability.promise}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(k){this._port=k,this._messageHandler=new _message_handler.MessageHandler("main","worker",k),this._messageHandler.on("ready",function(){}),this._readyCapability.resolve()}_initialize(){if(!PDFWorkerUtil.isWorkerDisabled&&!PDFWorker._mainThreadWorkerMessageHandler){let{workerSrc:k}=PDFWorker;try{PDFWorkerUtil.isSameOrigin(window.location.href,k)||(k=PDFWorkerUtil.createCDNWrapper(new URL(k,window.location).href));const m=new Worker(k),M=new _message_handler.MessageHandler("main","worker",m),G=()=>{m.removeEventListener("error",V),M.destroy(),m.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},V=()=>{this._webWorker||G()};m.addEventListener("error",V),M.on("test",$=>{if(m.removeEventListener("error",V),this.destroyed){G();return}$?(this._messageHandler=M,this._port=m,this._webWorker=m,this._readyCapability.resolve(),M.send("configure",{verbosity:this.verbosity})):(this._setupFakeWorker(),M.destroy(),m.terminate())}),M.on("ready",$=>{if(m.removeEventListener("error",V),this.destroyed){G();return}try{q()}catch{this._setupFakeWorker()}});const q=()=>{const $=new Uint8Array;M.send("test",$,[$.buffer])};q();return}catch{(0,_util.info)("The worker has been disabled.")}}this._setupFakeWorker()}_setupFakeWorker(){PDFWorkerUtil.isWorkerDisabled||((0,_util.warn)("Setting up fake worker."),PDFWorkerUtil.isWorkerDisabled=!0),PDFWorker._setupFakeWorkerGlobal.then(k=>{if(this.destroyed){this._readyCapability.reject(new Error("Worker was destroyed"));return}const m=new LoopbackPort;this._port=m;const M=`fake${PDFWorkerUtil.fakeWorkerId++}`,G=new _message_handler.MessageHandler(M+"_worker",M,m);k.setup(G,m);const V=new _message_handler.MessageHandler(M,M+"_worker",m);this._messageHandler=V,this._readyCapability.resolve(),V.send("configure",{verbosity:this.verbosity})}).catch(k=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${k.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),_classStaticPrivateFieldSpecGet(PDFWorker,PDFWorker,_workerPorts).delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(k){if(!(k!=null&&k.port))throw new Error("PDFWorker.fromPort - invalid method signature.");return _classStaticPrivateFieldSpecGet(this,PDFWorker,_workerPorts).has(k.port)?_classStaticPrivateFieldSpecGet(this,PDFWorker,_workerPorts).get(k.port):new PDFWorker(k)}static get workerSrc(){if(_worker_options.GlobalWorkerOptions.workerSrc)return _worker_options.GlobalWorkerOptions.workerSrc;if(PDFWorkerUtil.fallbackWorkerSrc!==null)return _is_node.isNodeJS||(0,_display_utils.deprecated)('No "GlobalWorkerOptions.workerSrc" specified.'),PDFWorkerUtil.fallbackWorkerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get _mainThreadWorkerMessageHandler(){try{var k;return((k=globalThis.pdfjsWorker)===null||k===void 0?void 0:k.WorkerMessageHandler)||null}catch{return null}}static get _setupFakeWorkerGlobal(){const loader=async()=>{const mainWorkerMessageHandler=this._mainThreadWorkerMessageHandler;if(mainWorkerMessageHandler)return mainWorkerMessageHandler;if(_is_node.isNodeJS&&typeof commonjsRequire$1=="function"){const worker=eval("require")(this.workerSrc);return worker.WorkerMessageHandler}return await(0,_display_utils.loadScript)(this.workerSrc),window.pdfjsWorker.WorkerMessageHandler};return(0,_util.shadow)(this,"_setupFakeWorkerGlobal",loader())}}exports.PDFWorker=PDFWorker;var _workerPorts={writable:!0,value:new WeakMap};PDFWorker.getWorkerSrc=function(){return(0,_display_utils.deprecated)("`PDFWorker.getWorkerSrc()`, please use `PDFWorker.workerSrc` instead."),this.workerSrc};var _docStats=new WeakMap,_pageCache=new WeakMap,_pagePromises=new WeakMap,_metadataPromise=new WeakMap;class WorkerTransport{constructor(m,M,G,V){_classPrivateFieldInitSpec(this,_docStats,{writable:!0,value:null}),_classPrivateFieldInitSpec(this,_pageCache,{writable:!0,value:new Map}),_classPrivateFieldInitSpec(this,_pagePromises,{writable:!0,value:new Map}),_classPrivateFieldInitSpec(this,_metadataPromise,{writable:!0,value:null}),this.messageHandler=m,this.loadingTask=M,this.commonObjs=new PDFObjects,this.fontLoader=new _font_loader.FontLoader({docId:M.docId,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),ownerDocument:V.ownerDocument,styleElement:V.styleElement}),this._params=V,V.useWorkerFetch||(this.CMapReaderFactory=new V.CMapReaderFactory({baseUrl:V.cMapUrl,isCompressed:V.cMapPacked}),this.StandardFontDataFactory=new V.StandardFontDataFactory({baseUrl:V.standardFontDataUrl})),this.destroyed=!1,this.destroyCapability=null,this._passwordCapability=null,this._networkStream=G,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=(0,_util.createPromiseCapability)(),this.setupMessageHandler()}get annotationStorage(){return(0,_util.shadow)(this,"annotationStorage",new _annotation_storage.AnnotationStorage)}get stats(){return _classPrivateFieldGet(this,_docStats)}getRenderingIntent(m){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_util.AnnotationMode.ENABLE,G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,V=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,q=_util.RenderingIntentFlag.DISPLAY,$=null;switch(m){case"any":q=_util.RenderingIntentFlag.ANY;break;case"display":break;case"print":q=_util.RenderingIntentFlag.PRINT;break;default:(0,_util.warn)(`getRenderingIntent - invalid intent: ${m}`)}switch(M){case _util.AnnotationMode.DISABLE:q+=_util.RenderingIntentFlag.ANNOTATIONS_DISABLE;break;case _util.AnnotationMode.ENABLE:break;case _util.AnnotationMode.ENABLE_FORMS:q+=_util.RenderingIntentFlag.ANNOTATIONS_FORMS;break;case _util.AnnotationMode.ENABLE_STORAGE:q+=_util.RenderingIntentFlag.ANNOTATIONS_STORAGE,$=(q&_util.RenderingIntentFlag.PRINT&&G instanceof _annotation_storage.PrintAnnotationStorage?G:this.annotationStorage).serializable;break;default:(0,_util.warn)(`getRenderingIntent - invalid annotationMode: ${M}`)}return V&&(q+=_util.RenderingIntentFlag.OPLIST),{renderingIntent:q,cacheKey:`${q}_${_annotation_storage.AnnotationStorage.getHash($)}`,annotationStorageMap:$}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=(0,_util.createPromiseCapability)(),this._passwordCapability&&this._passwordCapability.reject(new Error("Worker was destroyed during onPassword callback"));const m=[];for(const G of _classPrivateFieldGet(this,_pageCache).values())m.push(G._destroy());_classPrivateFieldGet(this,_pageCache).clear(),_classPrivateFieldGet(this,_pagePromises).clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const M=this.messageHandler.sendWithPromise("Terminate",null);return m.push(M),Promise.all(m).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),_classPrivateFieldSet(this,_metadataPromise,null),this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null,this._networkStream&&this._networkStream.cancelAllRequests(new _util.AbortException("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:m,loadingTask:M}=this;m.on("GetReader",(G,V)=>{(0,_util.assert)(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=q=>{this._lastProgress={loaded:q.loaded,total:q.total}},V.onPull=()=>{this._fullReader.read().then(function(q){let{value:$,done:D}=q;if(D){V.close();return}(0,_util.assert)((0,_util.isArrayBuffer)($),"GetReader - expected an ArrayBuffer."),V.enqueue(new Uint8Array($),1,[$])}).catch(q=>{V.error(q)})},V.onCancel=q=>{this._fullReader.cancel(q),V.ready.catch($=>{if(!this.destroyed)throw $})}}),m.on("ReaderHeadersReady",G=>{const V=(0,_util.createPromiseCapability)(),q=this._fullReader;return q.headersReady.then(()=>{if(!q.isStreamingSupported||!q.isRangeSupported){if(this._lastProgress){var $;($=M.onProgress)===null||$===void 0||$.call(M,this._lastProgress)}q.onProgress=D=>{var B;(B=M.onProgress)===null||B===void 0||B.call(M,{loaded:D.loaded,total:D.total})}}V.resolve({isStreamingSupported:q.isStreamingSupported,isRangeSupported:q.isRangeSupported,contentLength:q.contentLength})},V.reject),V.promise}),m.on("GetRangeReader",(G,V)=>{(0,_util.assert)(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const q=this._networkStream.getRangeReader(G.begin,G.end);if(!q){V.close();return}V.onPull=()=>{q.read().then(function($){let{value:D,done:B}=$;if(B){V.close();return}(0,_util.assert)((0,_util.isArrayBuffer)(D),"GetRangeReader - expected an ArrayBuffer."),V.enqueue(new Uint8Array(D),1,[D])}).catch($=>{V.error($)})},V.onCancel=$=>{q.cancel($),V.ready.catch(D=>{if(!this.destroyed)throw D})}}),m.on("GetDoc",G=>{let{pdfInfo:V}=G;this._numPages=V.numPages,this._htmlForXfa=V.htmlForXfa,delete V.htmlForXfa,M._capability.resolve(new PDFDocumentProxy(V,this))}),m.on("DocException",function(G){let V;switch(G.name){case"PasswordException":V=new _util.PasswordException(G.message,G.code);break;case"InvalidPDFException":V=new _util.InvalidPDFException(G.message);break;case"MissingPDFException":V=new _util.MissingPDFException(G.message);break;case"UnexpectedResponseException":V=new _util.UnexpectedResponseException(G.message,G.status);break;case"UnknownErrorException":V=new _util.UnknownErrorException(G.message,G.details);break;default:(0,_util.unreachable)("DocException - expected a valid Error.")}M._capability.reject(V)}),m.on("PasswordRequest",G=>{if(this._passwordCapability=(0,_util.createPromiseCapability)(),M.onPassword){const V=q=>{q instanceof Error?this._passwordCapability.reject(q):this._passwordCapability.resolve({password:q})};try{M.onPassword(V,G.code)}catch(q){this._passwordCapability.reject(q)}}else this._passwordCapability.reject(new _util.PasswordException(G.message,G.code));return this._passwordCapability.promise}),m.on("DataLoaded",G=>{var V;(V=M.onProgress)===null||V===void 0||V.call(M,{loaded:G.length,total:G.length}),this.downloadInfoCapability.resolve(G)}),m.on("StartRenderPage",G=>{if(this.destroyed)return;_classPrivateFieldGet(this,_pageCache).get(G.pageIndex)._startRenderPage(G.transparency,G.cacheKey)}),m.on("commonobj",G=>{var V;let[q,$,D]=G;if(!this.destroyed&&!this.commonObjs.has(q))switch($){case"Font":const B=this._params;if("error"in D){const K=D.error;(0,_util.warn)(`Error during font loading: ${K}`),this.commonObjs.resolve(q,K);break}let R=null;B.pdfBug&&(V=globalThis.FontInspector)!==null&&V!==void 0&&V.enabled&&(R={registerFont(K,z){globalThis.FontInspector.fontAdded(K,z)}});const U=new _font_loader.FontFaceObject(D,{isEvalSupported:B.isEvalSupported,disableFontFace:B.disableFontFace,ignoreErrors:B.ignoreErrors,onUnsupportedFeature:this._onUnsupportedFeature.bind(this),fontRegistry:R});this.fontLoader.bind(U).catch(K=>m.sendWithPromise("FontFallback",{id:q})).finally(()=>{!B.fontExtraProperties&&U.data&&(U.data=null),this.commonObjs.resolve(q,U)});break;case"FontPath":case"Image":this.commonObjs.resolve(q,D);break;default:throw new Error(`Got unknown common object type ${$}`)}}),m.on("obj",G=>{let[V,q,$,D]=G;if(this.destroyed)return;const B=_classPrivateFieldGet(this,_pageCache).get(q);if(!B.objs.has(V))switch($){case"Image":B.objs.resolve(V,D);const U=8e6;if(D){let K;if(D.bitmap){const{bitmap:z,width:e,height:ae}=D;K=e*ae*4,B._bitmaps.add(z)}else{var R;K=((R=D.data)===null||R===void 0?void 0:R.length)||0}K>U&&(B.cleanupAfterRender=!0)}break;case"Pattern":B.objs.resolve(V,D);break;default:throw new Error(`Got unknown object type ${$}`)}}),m.on("DocProgress",G=>{var V;this.destroyed||(V=M.onProgress)===null||V===void 0||V.call(M,{loaded:G.loaded,total:G.total})}),m.on("DocStats",G=>{this.destroyed||_classPrivateFieldSet(this,_docStats,Object.freeze({streamTypes:Object.freeze(G.streamTypes),fontTypes:Object.freeze(G.fontTypes)}))}),m.on("UnsupportedFeature",this._onUnsupportedFeature.bind(this)),m.on("FetchBuiltInCMap",G=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.CMapReaderFactory?this.CMapReaderFactory.fetch(G):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),m.on("FetchStandardFontData",G=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.StandardFontDataFactory?this.StandardFontDataFactory.fetch(G):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}_onUnsupportedFeature(m){var M,G;let{featureId:V}=m;this.destroyed||(M=(G=this.loadingTask).onUnsupportedFeature)===null||M===void 0||M.call(G,V)}getData(){return this.messageHandler.sendWithPromise("GetData",null)}getPage(m){if(!Number.isInteger(m)||m<=0||m>this._numPages)return Promise.reject(new Error("Invalid page request."));const M=m-1,G=_classPrivateFieldGet(this,_pagePromises).get(M);if(G)return G;const V=this.messageHandler.sendWithPromise("GetPage",{pageIndex:M}).then(q=>{if(this.destroyed)throw new Error("Transport destroyed");const $=new PDFPageProxy(M,q,this,this._params.ownerDocument,this._params.pdfBug);return _classPrivateFieldGet(this,_pageCache).set(M,$),$});return _classPrivateFieldGet(this,_pagePromises).set(M,V),V}getPageIndex(m){return typeof m!="object"||m===null||!Number.isInteger(m.num)||m.num<0||!Number.isInteger(m.gen)||m.gen<0?Promise.reject(new Error("Invalid pageIndex request.")):this.messageHandler.sendWithPromise("GetPageIndex",{num:m.num,gen:m.gen})}getAnnotations(m,M){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:m,intent:M})}saveDocument(){var m,M;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:this.annotationStorage.serializable,filename:(m=(M=this._fullReader)===null||M===void 0?void 0:M.filename)!==null&&m!==void 0?m:null}).finally(()=>{this.annotationStorage.resetModified()})}getFieldObjects(){return this._getFieldObjectsPromise||(this._getFieldObjectsPromise=this.messageHandler.sendWithPromise("GetFieldObjects",null))}hasJSActions(){return this._hasJSActionsPromise||(this._hasJSActionsPromise=this.messageHandler.sendWithPromise("HasJSActions",null))}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(m){return typeof m!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:m})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getJavaScript(){return this.messageHandler.sendWithPromise("GetJavaScript",null)}getDocJSActions(){return this.messageHandler.sendWithPromise("GetDocJSActions",null)}getPageJSActions(m){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:m})}getStructTree(m){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:m})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(){return this.messageHandler.sendWithPromise("GetOptionalContentConfig",null).then(m=>new _optional_content_config.OptionalContentConfig(m))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){return _classPrivateFieldGet(this,_metadataPromise)||_classPrivateFieldSet(this,_metadataPromise,this.messageHandler.sendWithPromise("GetMetadata",null).then(m=>{var M,G,V,q;return{info:m[0],metadata:m[1]?new _metadata.Metadata(m[1]):null,contentDispositionFilename:(M=(G=this._fullReader)===null||G===void 0?void 0:G.filename)!==null&&M!==void 0?M:null,contentLength:(V=(q=this._fullReader)===null||q===void 0?void 0:q.contentLength)!==null&&V!==void 0?V:null}}))}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(await this.messageHandler.sendWithPromise("Cleanup",null),!this.destroyed){for(const M of _classPrivateFieldGet(this,_pageCache).values())if(!M.cleanup())throw new Error(`startCleanup: Page ${M.pageNumber} is currently rendering.`);this.commonObjs.clear(),m||this.fontLoader.clear(),_classPrivateFieldSet(this,_metadataPromise,null),this._getFieldObjectsPromise=null,this._hasJSActionsPromise=null}}get loadingParams(){const m=this._params;return(0,_util.shadow)(this,"loadingParams",{disableAutoFetch:m.disableAutoFetch,enableXfa:m.enableXfa})}}var _objs=new WeakMap,_ensureObj=new WeakSet;class PDFObjects{constructor(){_classPrivateMethodInitSpec(this,_ensureObj),_classPrivateFieldInitSpec(this,_objs,{writable:!0,value:Object.create(null)})}get(m){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(M){const V=_classPrivateMethodGet(this,_ensureObj,_ensureObj2).call(this,m);return V.capability.promise.then(()=>M(V.data)),null}const G=_classPrivateFieldGet(this,_objs)[m];if(!(G!=null&&G.capability.settled))throw new Error(`Requesting object that isn't resolved yet ${m}.`);return G.data}has(m){const M=_classPrivateFieldGet(this,_objs)[m];return(M==null?void 0:M.capability.settled)||!1}resolve(m){let M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const G=_classPrivateMethodGet(this,_ensureObj,_ensureObj2).call(this,m);G.data=M,G.capability.resolve()}clear(){_classPrivateFieldSet(this,_objs,Object.create(null))}}function _ensureObj2(k){const m=_classPrivateFieldGet(this,_objs)[k];return m||(_classPrivateFieldGet(this,_objs)[k]={capability:(0,_util.createPromiseCapability)(),data:null})}var _internalRenderTask=new WeakMap;class RenderTask{constructor(m){_classPrivateFieldInitSpec(this,_internalRenderTask,{writable:!0,value:null}),_classPrivateFieldSet(this,_internalRenderTask,m),this.onContinue=null}get promise(){return _classPrivateFieldGet(this,_internalRenderTask).capability.promise}cancel(){_classPrivateFieldGet(this,_internalRenderTask).cancel()}get separateAnnots(){const{separateAnnots:m}=_classPrivateFieldGet(this,_internalRenderTask).operatorList;if(!m)return!1;const{annotationCanvasMap:M}=_classPrivateFieldGet(this,_internalRenderTask);return m.form||m.canvas&&(M==null?void 0:M.size)>0}}exports.RenderTask=RenderTask;class InternalRenderTask{constructor(m){let{callback:M,params:G,objs:V,commonObjs:q,annotationCanvasMap:$,operatorList:D,pageIndex:B,canvasFactory:R,useRequestAnimationFrame:U=!1,pdfBug:K=!1,pageColors:z=null}=m;this.callback=M,this.params=G,this.objs=V,this.commonObjs=q,this.annotationCanvasMap=$,this.operatorListIdx=null,this.operatorList=D,this._pageIndex=B,this.canvasFactory=R,this._pdfBug=K,this.pageColors=z,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=U===!0&&typeof window<"u",this.cancelled=!1,this.capability=(0,_util.createPromiseCapability)(),this.task=new RenderTask(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=G.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics(m){var M;let{transparency:G=!1,optionalContentConfig:V}=m;if(this.cancelled)return;if(this._canvas){if(_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).add(this._canvas)}this._pdfBug&&(M=globalThis.StepperManager)!==null&&M!==void 0&&M.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:q,viewport:$,transform:D,imageLayer:B,background:R}=this.params;this.gfx=new _canvas.CanvasGraphics(q,this.commonObjs,this.objs,this.canvasFactory,B,V,this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:D,viewport:$,transparency:G,background:R}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback&&this.graphicsReadyCallback()}cancel(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this.running=!1,this.cancelled=!0,this.gfx&&this.gfx.endDrawing(),this._canvas&&_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).delete(this._canvas),this.callback(m||new _display_utils.RenderingCancelledException(`Rendering cancelled, page ${this._pageIndex+1}`,"canvas"))}operatorListChanged(){if(!this.graphicsReady){this.graphicsReadyCallback||(this.graphicsReadyCallback=this._continueBound);return}this.stepper&&this.stepper.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?window.requestAnimationFrame(()=>{this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),this._canvas&&_classStaticPrivateFieldSpecGet(InternalRenderTask,InternalRenderTask,_canvasInUse).delete(this._canvas),this.callback())))}}var _canvasInUse={writable:!0,value:new WeakSet};const version="2.16.105";exports.version=version;const build="172ccdbe5";exports.build=build},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.PrintAnnotationStorage=m.AnnotationStorage=void 0;var G=M(1),V=M(131),q=M(135);function $(L,Q,ce){e(L,Q),Q.set(L,ce)}function D(L,Q){var ce=U(L,Q,"get");return B(L,ce)}function B(L,Q){return Q.get?Q.get.call(L):Q.value}function R(L,Q,ce){var de=U(L,Q,"set");return K(L,de,ce),ce}function U(L,Q,ce){if(!Q.has(L))throw new TypeError("attempted to "+ce+" private field on non-instance");return Q.get(L)}function K(L,Q,ce){if(Q.set)Q.set.call(L,ce);else{if(!Q.writable)throw new TypeError("attempted to set read only private field");Q.value=ce}}function z(L,Q){e(L,Q),Q.add(L)}function e(L,Q){if(Q.has(L))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ae(L,Q,ce){if(!Q.has(L))throw new TypeError("attempted to get private field on non-instance");return ce}var ie=new WeakSet;class he{constructor(){z(this,ie),this._storage=new Map,this._modified=!1,this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(Q,ce){const de=this._storage.get(Q);return de===void 0?ce:Object.assign(ce,de)}getRawValue(Q){return this._storage.get(Q)}remove(Q){if(this._storage.delete(Q),this._storage.size===0&&this.resetModified(),typeof this.onAnnotationEditor=="function"){for(const ce of this._storage.values())if(ce instanceof V.AnnotationEditor)return;this.onAnnotationEditor(null)}}setValue(Q,ce){const de=this._storage.get(Q);let se=!1;if(de!==void 0)for(const[oe,me]of Object.entries(ce))de[oe]!==me&&(se=!0,de[oe]=me);else se=!0,this._storage.set(Q,ce);se&&ae(this,ie,J).call(this),ce instanceof V.AnnotationEditor&&typeof this.onAnnotationEditor=="function"&&this.onAnnotationEditor(ce.constructor._type)}has(Q){return this._storage.has(Q)}getAll(){return this._storage.size>0?(0,G.objectFromMap)(this._storage):null}get size(){return this._storage.size}resetModified(){this._modified&&(this._modified=!1,typeof this.onResetModified=="function"&&this.onResetModified())}get print(){return new X(this)}get serializable(){if(this._storage.size===0)return null;const Q=new Map;for(const[ce,de]of this._storage){const se=de instanceof V.AnnotationEditor?de.serialize():de;se&&Q.set(ce,se)}return Q}static getHash(Q){if(!Q)return"";const ce=new q.MurmurHash3_64;for(const[de,se]of Q)ce.update(`${de}:${JSON.stringify(se)}`);return ce.hexdigest()}}m.AnnotationStorage=he;function J(){this._modified||(this._modified=!0,typeof this.onSetModified=="function"&&this.onSetModified())}var W=new WeakMap;class X extends he{constructor(Q){super(),$(this,W,{writable:!0,value:null}),R(this,W,structuredClone(Q.serializable))}get print(){(0,G.unreachable)("Should not call PrintAnnotationStorage.print")}get serializable(){return D(this,W)}}m.PrintAnnotationStorage=X},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.AnnotationEditor=void 0;var G=M(132),V=M(1);function q(L,Q,ce){return Q in L?Object.defineProperty(L,Q,{value:ce,enumerable:!0,configurable:!0,writable:!0}):L[Q]=ce,L}function $(L,Q,ce){D(L,Q),Q.set(L,ce)}function D(L,Q){if(Q.has(L))throw new TypeError("Cannot initialize the same private elements twice on an object")}function B(L,Q,ce){var de=K(L,Q,"set");return R(L,de,ce),ce}function R(L,Q,ce){if(Q.set)Q.set.call(L,ce);else{if(!Q.writable)throw new TypeError("attempted to set read only private field");Q.value=ce}}function U(L,Q){var ce=K(L,Q,"get");return z(L,ce)}function K(L,Q,ce){if(!Q.has(L))throw new TypeError("attempted to "+ce+" private field on non-instance");return Q.get(L)}function z(L,Q){return Q.get?Q.get.call(L):Q.value}var e=new WeakMap,ae=new WeakMap,ie=new WeakMap,he=new WeakMap,J=new WeakMap,W=new WeakMap;class X{constructor(Q){$(this,e,{writable:!0,value:this.focusin.bind(this)}),$(this,ae,{writable:!0,value:this.focusout.bind(this)}),$(this,ie,{writable:!0,value:!1}),$(this,he,{writable:!0,value:!1}),$(this,J,{writable:!0,value:!1}),$(this,W,{writable:!0,value:X._zIndex++}),this.constructor===X&&(0,V.unreachable)("Cannot initialize AnnotationEditor."),this.parent=Q.parent,this.id=Q.id,this.width=this.height=null,this.pageIndex=Q.parent.pageIndex,this.name=Q.name,this.div=null;const[ce,de]=this.parent.viewportBaseDimensions;this.x=Q.x/ce,this.y=Q.y/de,this.rotation=this.parent.viewport.rotation,this.isAttachedToDOM=!1}static get _defaultLineColor(){return(0,V.shadow)(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=U(this,W)}focusin(Q){U(this,ie)?B(this,ie,!1):this.parent.setSelected(this)}focusout(Q){if(!this.isAttachedToDOM)return;const ce=Q.relatedTarget;ce!=null&&ce.closest(`#${this.id}`)||(Q.preventDefault(),this.parent.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.parent.addToAnnotationStorage(this)}dragstart(Q){const ce=this.parent.div.getBoundingClientRect();this.startX=Q.clientX-ce.x,this.startY=Q.clientY-ce.y,Q.dataTransfer.setData("text/plain",this.id),Q.dataTransfer.effectAllowed="move"}setAt(Q,ce,de,se){const[oe,me]=this.parent.viewportBaseDimensions;[de,se]=this.screenToPageTranslation(de,se),this.x=(Q+de)/oe,this.y=(ce+se)/me,this.div.style.left=`${100*this.x}%`,this.div.style.top=`${100*this.y}%`}translate(Q,ce){const[de,se]=this.parent.viewportBaseDimensions;[Q,ce]=this.screenToPageTranslation(Q,ce),this.x+=Q/de,this.y+=ce/se,this.div.style.left=`${100*this.x}%`,this.div.style.top=`${100*this.y}%`}screenToPageTranslation(Q,ce){const{rotation:de}=this.parent.viewport;switch(de){case 90:return[ce,-Q];case 180:return[-Q,-ce];case 270:return[-ce,Q];default:return[Q,ce]}}setDims(Q,ce){const[de,se]=this.parent.viewportBaseDimensions;this.div.style.width=`${100*Q/de}%`,this.div.style.height=`${100*ce/se}%`}getInitialTranslation(){return[0,0]}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.setAttribute("tabIndex",0),this.setInForeground(),this.div.addEventListener("focusin",U(this,e)),this.div.addEventListener("focusout",U(this,ae));const[Q,ce]=this.getInitialTranslation();return this.translate(Q,ce),(0,G.bindEvents)(this,this.div,["dragstart","pointerdown"]),this.div}pointerdown(Q){const ce=G.KeyboardManager.platform.isMac;if(Q.button!==0||Q.ctrlKey&&ce){Q.preventDefault();return}Q.ctrlKey&&!ce||Q.shiftKey||Q.metaKey&&ce?this.parent.toggleSelected(this):this.parent.setSelected(this),B(this,ie,!0)}getRect(Q,ce){const[de,se]=this.parent.viewportBaseDimensions,[oe,me]=this.parent.pageDimensions,Ee=oe*Q/de,ke=me*ce/se,xe=this.x*oe,fe=this.y*me,ve=this.width*oe,ye=this.height*me;switch(this.rotation){case 0:return[xe+Ee,me-fe-ke-ye,xe+Ee+ve,me-fe-ke];case 90:return[xe+ke,me-fe+Ee,xe+ke+ye,me-fe+Ee+ve];case 180:return[xe-Ee-ve,me-fe+ke,xe-Ee,me-fe+ke+ye];case 270:return[xe-ke-ye,me-fe-Ee-ve,xe-ke,me-fe-Ee];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(Q,ce){const[de,se,oe,me]=Q,Ee=oe-de,ke=me-se;switch(this.rotation){case 0:return[de,ce-me,Ee,ke];case 90:return[de,ce-se,ke,Ee];case 180:return[oe,ce-se,Ee,ke];case 270:return[oe,ce-me,ke,Ee];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){B(this,J,!0)}disableEditMode(){B(this,J,!1)}isInEditMode(){return U(this,J)}shouldGetKeyboardEvents(){return!1}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){var Q;(Q=this.div)===null||Q===void 0||Q.addEventListener("focusin",U(this,e))}serialize(){(0,V.unreachable)("An editor must be serializable")}static deserialize(Q,ce){const de=new this.prototype.constructor({parent:ce,id:ce.getNextId()});de.rotation=Q.rotation;const[se,oe]=ce.pageDimensions,[me,Ee,ke,xe]=de.getRectInCurrentCoords(Q.rect,oe);return de.x=me/se,de.y=Ee/oe,de.width=ke/se,de.height=xe/oe,de}remove(){this.div.removeEventListener("focusin",U(this,e)),this.div.removeEventListener("focusout",U(this,ae)),this.isEmpty()||this.commit(),this.parent.remove(this)}select(){var Q;(Q=this.div)===null||Q===void 0||Q.classList.add("selectedEditor")}unselect(){var Q;(Q=this.div)===null||Q===void 0||Q.classList.remove("selectedEditor")}updateParams(Q,ce){}disableEditing(){}enableEditing(){}get propertiesToUpdate(){return{}}get contentDiv(){return this.div}get isEditing(){return U(this,he)}set isEditing(Q){B(this,he,Q),Q?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null)}}m.AnnotationEditor=X,q(X,"_colorManager",new G.ColorManager),q(X,"_zIndex",1)},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.KeyboardManager=m.CommandManager=m.ColorManager=m.AnnotationEditorUIManager=void 0,m.bindEvents=ie,m.opacityToHex=he;var G=M(1),V=M(133);function q(St,bt,pt){return bt in St?Object.defineProperty(St,bt,{value:pt,enumerable:!0,configurable:!0,writable:!0}):St[bt]=pt,St}function $(St,bt){R(St,bt),bt.add(St)}function D(St,bt,pt){if(!bt.has(St))throw new TypeError("attempted to get private field on non-instance");return pt}function B(St,bt,pt){R(St,bt),bt.set(St,pt)}function R(St,bt){if(bt.has(St))throw new TypeError("Cannot initialize the same private elements twice on an object")}function U(St,bt,pt){var wt=e(St,bt,"set");return K(St,wt,pt),pt}function K(St,bt,pt){if(bt.set)bt.set.call(St,pt);else{if(!bt.writable)throw new TypeError("attempted to set read only private field");bt.value=pt}}function z(St,bt){var pt=e(St,bt,"get");return ae(St,pt)}function e(St,bt,pt){if(!bt.has(St))throw new TypeError("attempted to "+pt+" private field on non-instance");return bt.get(St)}function ae(St,bt){return bt.get?bt.get.call(St):bt.value}function ie(St,bt,pt){for(const wt of pt)bt.addEventListener(wt,St[wt].bind(St))}function he(St){return Math.round(Math.min(255,Math.max(1,255*St))).toString(16).padStart(2,"0")}var J=new WeakMap;class W{constructor(){B(this,J,{writable:!0,value:0})}getId(){var bt,pt;return`${G.AnnotationEditorPrefix}${U(this,J,(bt=z(this,J),pt=bt++,bt)),pt}`}}var X=new WeakMap,L=new WeakMap,Q=new WeakMap,ce=new WeakMap;class de{constructor(){let bt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:128;B(this,X,{writable:!0,value:[]}),B(this,L,{writable:!0,value:!1}),B(this,Q,{writable:!0,value:void 0}),B(this,ce,{writable:!0,value:-1}),U(this,Q,bt)}add(bt){let{cmd:pt,undo:wt,mustExec:Pt,type:Nt=NaN,overwriteIfSameType:Vt=!1,keepUndo:Wt=!1}=bt;if(Pt&&pt(),z(this,L))return;const Mt={cmd:pt,undo:wt,type:Nt};if(z(this,ce)===-1){z(this,X).length>0&&(z(this,X).length=0),U(this,ce,0),z(this,X).push(Mt);return}if(Vt&&z(this,X)[z(this,ce)].type===Nt){Wt&&(Mt.undo=z(this,X)[z(this,ce)].undo),z(this,X)[z(this,ce)]=Mt;return}const $t=z(this,ce)+1;$t===z(this,Q)?z(this,X).splice(0,1):(U(this,ce,$t),$tpt.serialize())):U(this,Ee,[bt.serialize()]),U(this,Ee,z(this,Ee).filter(pt=>!!pt)),z(this,Ee).length===0&&U(this,Ee,null))}paste(){return z(this,Ee)}isEmpty(){return z(this,Ee)===null}destroy(){U(this,Ee,null)}}class xe{get _colors(){const bt=new Map([["CanvasText",null],["Canvas",null]]);return(0,V.getColorValues)(bt),(0,G.shadow)(this,"_colors",bt)}convert(bt){const pt=(0,V.getRGB)(bt);if(!window.matchMedia("(forced-colors: active)").matches)return pt;for(const[wt,Pt]of this._colors)if(Pt.every((Nt,Vt)=>Nt===pt[Vt]))return xe._colorsMapping.get(wt);return pt}getHexCode(bt){const pt=this._colors.get(bt);return pt?G.Util.makeHexColor(...pt):bt}}m.ColorManager=xe,q(xe,"_colorsMapping",new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]));var fe=new WeakMap,ve=new WeakMap,ye=new WeakMap,Ce=new WeakMap,pe=new WeakMap,_e=new WeakMap,Ge=new WeakMap,Ae=new WeakMap,Ne=new WeakMap,Ze=new WeakMap,ze=new WeakMap,Te=new WeakMap,Fe=new WeakMap,Pe=new WeakMap,we=new WeakMap,Ie=new WeakMap,Be=new WeakMap,Ke=new WeakSet,Ve=new WeakSet,je=new WeakSet,Le=new WeakSet,et=new WeakSet,Qe=new WeakSet,Ue=new WeakSet,$e=new WeakSet,Ye=new WeakSet;class tt{constructor(bt,pt){$(this,Ye),$(this,$e),$(this,Ue),$(this,Qe),$(this,et),$(this,Le),$(this,je),$(this,Ve),$(this,Ke),B(this,fe,{writable:!0,value:null}),B(this,ve,{writable:!0,value:new Map}),B(this,ye,{writable:!0,value:new Map}),B(this,Ce,{writable:!0,value:new ke}),B(this,pe,{writable:!0,value:new de}),B(this,_e,{writable:!0,value:0}),B(this,Ge,{writable:!0,value:null}),B(this,Ae,{writable:!0,value:null}),B(this,Ne,{writable:!0,value:new W}),B(this,Ze,{writable:!0,value:!1}),B(this,ze,{writable:!0,value:G.AnnotationEditorType.NONE}),B(this,Te,{writable:!0,value:new Set}),B(this,Fe,{writable:!0,value:this.keydown.bind(this)}),B(this,Pe,{writable:!0,value:this.onEditingAction.bind(this)}),B(this,we,{writable:!0,value:this.onPageChanging.bind(this)}),B(this,Ie,{writable:!0,value:{isEditing:!1,isEmpty:!0,hasEmptyClipboard:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1}}),B(this,Be,{writable:!0,value:null}),U(this,Be,bt),U(this,Ae,pt),z(this,Ae)._on("editingaction",z(this,Pe)),z(this,Ae)._on("pagechanging",z(this,we))}destroy(){D(this,Ve,st).call(this),z(this,Ae)._off("editingaction",z(this,Pe)),z(this,Ae)._off("pagechanging",z(this,we));for(const bt of z(this,ye).values())bt.destroy();z(this,ye).clear(),z(this,ve).clear(),U(this,fe,null),z(this,Te).clear(),z(this,Ce).destroy(),z(this,pe).destroy()}onPageChanging(bt){let{pageNumber:pt}=bt;U(this,_e,pt-1)}focusMainContainer(){z(this,Be).focus()}keydown(bt){var pt;(pt=this.getActive())!==null&&pt!==void 0&&pt.shouldGetKeyboardEvents()||tt._keyboardManager.exec(this,bt)}onEditingAction(bt){["undo","redo","cut","copy","paste","delete","selectAll"].includes(bt.name)&&this[bt.name]()}setEditingState(bt){bt?(D(this,Ke,ot).call(this),D(this,je,dt).call(this,{isEditing:z(this,ze)!==G.AnnotationEditorType.NONE,isEmpty:D(this,$e,He).call(this),hasSomethingToUndo:z(this,pe).hasSomethingToUndo(),hasSomethingToRedo:z(this,pe).hasSomethingToRedo(),hasSelectedEditor:!1,hasEmptyClipboard:z(this,Ce).isEmpty()})):(D(this,Ve,st).call(this),D(this,je,dt).call(this,{isEditing:!1}))}registerEditorTypes(bt){U(this,Ge,bt);for(const pt of z(this,Ge))D(this,Le,ct).call(this,pt.defaultPropertiesToUpdate)}getId(){return z(this,Ne).getId()}addLayer(bt){z(this,ye).set(bt.pageIndex,bt),z(this,Ze)?bt.enable():bt.disable()}removeLayer(bt){z(this,ye).delete(bt.pageIndex)}updateMode(bt){if(U(this,ze,bt),bt===G.AnnotationEditorType.NONE)this.setEditingState(!1),D(this,Qe,ut).call(this);else{this.setEditingState(!0),D(this,et,mt).call(this);for(const pt of z(this,ye).values())pt.updateMode(bt)}}updateToolbar(bt){bt!==z(this,ze)&&z(this,Ae).dispatch("switchannotationeditormode",{source:this,mode:bt})}updateParams(bt,pt){for(const wt of z(this,Te))wt.updateParams(bt,pt);for(const wt of z(this,Ge))wt.updateDefaultParams(bt,pt)}getEditors(bt){const pt=[];for(const wt of z(this,ve).values())wt.pageIndex===bt&&pt.push(wt);return pt}getEditor(bt){return z(this,ve).get(bt)}addEditor(bt){z(this,ve).set(bt.id,bt)}removeEditor(bt){z(this,ve).delete(bt.id),this.unselect(bt)}setActiveEditor(bt){z(this,fe)!==bt&&(U(this,fe,bt),bt&&D(this,Le,ct).call(this,bt.propertiesToUpdate))}toggleSelected(bt){if(z(this,Te).has(bt)){z(this,Te).delete(bt),bt.unselect(),D(this,je,dt).call(this,{hasSelectedEditor:this.hasSelection});return}z(this,Te).add(bt),bt.select(),D(this,Le,ct).call(this,bt.propertiesToUpdate),D(this,je,dt).call(this,{hasSelectedEditor:!0})}setSelected(bt){for(const pt of z(this,Te))pt!==bt&&pt.unselect();z(this,Te).clear(),z(this,Te).add(bt),bt.select(),D(this,Le,ct).call(this,bt.propertiesToUpdate),D(this,je,dt).call(this,{hasSelectedEditor:!0})}isSelected(bt){return z(this,Te).has(bt)}unselect(bt){bt.unselect(),z(this,Te).delete(bt),D(this,je,dt).call(this,{hasSelectedEditor:this.hasSelection})}get hasSelection(){return z(this,Te).size!==0}undo(){z(this,pe).undo(),D(this,je,dt).call(this,{hasSomethingToUndo:z(this,pe).hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:D(this,$e,He).call(this)})}redo(){z(this,pe).redo(),D(this,je,dt).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:z(this,pe).hasSomethingToRedo(),isEmpty:D(this,$e,He).call(this)})}addCommands(bt){z(this,pe).add(bt),D(this,je,dt).call(this,{hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:D(this,$e,He).call(this)})}delete(){if(z(this,fe)&&z(this,fe).commitOrRemove(),!this.hasSelection)return;const bt=[...z(this,Te)],pt=()=>{for(const Pt of bt)Pt.remove()},wt=()=>{for(const Pt of bt)D(this,Ue,rt).call(this,Pt)};this.addCommands({cmd:pt,undo:wt,mustExec:!0})}copy(){if(z(this,fe)&&z(this,fe).commitOrRemove(),this.hasSelection){const bt=[];for(const pt of z(this,Te))pt.isEmpty()||bt.push(pt);if(bt.length===0)return;z(this,Ce).copy(bt),D(this,je,dt).call(this,{hasEmptyClipboard:!1})}}cut(){this.copy(),this.delete()}paste(){if(z(this,Ce).isEmpty())return;this.unselectAll();const bt=z(this,ye).get(z(this,_e)),pt=z(this,Ce).paste().map(Nt=>bt.deserialize(Nt)),wt=()=>{for(const Nt of pt)D(this,Ue,rt).call(this,Nt);D(this,Ye,Je).call(this,pt)},Pt=()=>{for(const Nt of pt)Nt.remove()};this.addCommands({cmd:wt,undo:Pt,mustExec:!0})}selectAll(){for(const bt of z(this,Te))bt.commit();D(this,Ye,Je).call(this,z(this,ve).values())}unselectAll(){if(z(this,fe)){z(this,fe).commitOrRemove();return}if(D(this,Ye,Je).size!==0){for(const bt of z(this,Te))bt.unselect();z(this,Te).clear(),D(this,je,dt).call(this,{hasSelectedEditor:!1})}}isActive(bt){return z(this,fe)===bt}getActive(){return z(this,fe)}getMode(){return z(this,ze)}}m.AnnotationEditorUIManager=tt;function ot(){z(this,Be).addEventListener("keydown",z(this,Fe))}function st(){z(this,Be).removeEventListener("keydown",z(this,Fe))}function dt(St){Object.entries(St).some(pt=>{let[wt,Pt]=pt;return z(this,Ie)[wt]!==Pt})&&z(this,Ae).dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(z(this,Ie),St)})}function ct(St){z(this,Ae).dispatch("annotationeditorparamschanged",{source:this,details:St})}function mt(){if(!z(this,Ze)){U(this,Ze,!0);for(const St of z(this,ye).values())St.enable()}}function ut(){if(this.unselectAll(),z(this,Ze)){U(this,Ze,!1);for(const St of z(this,ye).values())St.disable()}}function rt(St){const bt=z(this,ye).get(St.pageIndex);bt?bt.addOrRebuild(St):this.addEditor(St)}function He(){if(z(this,ve).size===0)return!0;if(z(this,ve).size===1)for(const St of z(this,ve).values())return St.isEmpty();return!1}function Je(St){z(this,Te).clear();for(const bt of St)bt.isEmpty()||(z(this,Te).add(bt),bt.select());D(this,je,dt).call(this,{hasSelectedEditor:!0})}q(tt,"_keyboardManager",new oe([[["ctrl+a","mac+meta+a"],tt.prototype.selectAll],[["ctrl+c","mac+meta+c"],tt.prototype.copy],[["ctrl+v","mac+meta+v"],tt.prototype.paste],[["ctrl+x","mac+meta+x"],tt.prototype.cut],[["ctrl+z","mac+meta+z"],tt.prototype.undo],[["ctrl+y","ctrl+shift+Z","mac+meta+shift+Z"],tt.prototype.redo],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete"],tt.prototype.delete],[["Escape","mac+Escape"],tt.prototype.unselectAll]]))},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.StatTimer=m.RenderingCancelledException=m.PixelsPerInch=m.PageViewport=m.PDFDateString=m.DOMStandardFontDataFactory=m.DOMSVGFactory=m.DOMCanvasFactory=m.DOMCMapReaderFactory=m.AnnotationPrefix=void 0,m.deprecated=de,m.getColorValues=ke,m.getCurrentTransform=xe,m.getCurrentTransformInverse=fe,m.getFilenameFromUrl=W,m.getPdfFilenameFromUrl=X,m.getRGB=Ee,m.getXfaPageViewport=me,m.isDataScheme=he,m.isPdfFile=J,m.isValidFetchUrl=Q,m.loadScript=ce;var G=M(134),V=M(1);function q(ve,ye,Ce){return ye in ve?Object.defineProperty(ve,ye,{value:Ce,enumerable:!0,configurable:!0,writable:!0}):ve[ye]=Ce,ve}const $="http://www.w3.org/2000/svg",D="pdfjs_internal_id_";m.AnnotationPrefix=D;class B{}m.PixelsPerInch=B,q(B,"CSS",96),q(B,"PDF",72),q(B,"PDF_TO_CSS_UNITS",B.CSS/B.PDF);class R extends G.BaseCanvasFactory{constructor(){let{ownerDocument:ye=globalThis.document}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};super(),this._document=ye}_createCanvas(ye,Ce){const pe=this._document.createElement("canvas");return pe.width=ye,pe.height=Ce,pe}}m.DOMCanvasFactory=R;async function U(ve){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Q(ve,document.baseURI)){const Ce=await fetch(ve);if(!Ce.ok)throw new Error(Ce.statusText);return ye?new Uint8Array(await Ce.arrayBuffer()):(0,V.stringToBytes)(await Ce.text())}return new Promise((Ce,pe)=>{const _e=new XMLHttpRequest;_e.open("GET",ve,!0),ye&&(_e.responseType="arraybuffer"),_e.onreadystatechange=()=>{if(_e.readyState===XMLHttpRequest.DONE){if(_e.status===200||_e.status===0){let Ge;if(ye&&_e.response?Ge=new Uint8Array(_e.response):!ye&&_e.responseText&&(Ge=(0,V.stringToBytes)(_e.responseText)),Ge){Ce(Ge);return}}pe(new Error(_e.statusText))}},_e.send(null)})}class K extends G.BaseCMapReaderFactory{_fetchData(ye,Ce){return U(ye,this.isCompressed).then(pe=>({cMapData:pe,compressionType:Ce}))}}m.DOMCMapReaderFactory=K;class z extends G.BaseStandardFontDataFactory{_fetchData(ye){return U(ye,!0)}}m.DOMStandardFontDataFactory=z;class e extends G.BaseSVGFactory{_createSVG(ye){return document.createElementNS($,ye)}}m.DOMSVGFactory=e;class ae{constructor(ye){let{viewBox:Ce,scale:pe,rotation:_e,offsetX:Ge=0,offsetY:Ae=0,dontFlip:Ne=!1}=ye;this.viewBox=Ce,this.scale=pe,this.rotation=_e,this.offsetX=Ge,this.offsetY=Ae;const Ze=(Ce[2]+Ce[0])/2,ze=(Ce[3]+Ce[1])/2;let Te,Fe,Pe,we;switch(_e%=360,_e<0&&(_e+=360),_e){case 180:Te=-1,Fe=0,Pe=0,we=1;break;case 90:Te=0,Fe=1,Pe=1,we=0;break;case 270:Te=0,Fe=-1,Pe=-1,we=0;break;case 0:Te=1,Fe=0,Pe=0,we=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}Ne&&(Pe=-Pe,we=-we);let Ie,Be,Ke,Ve;Te===0?(Ie=Math.abs(ze-Ce[1])*pe+Ge,Be=Math.abs(Ze-Ce[0])*pe+Ae,Ke=Math.abs(Ce[3]-Ce[1])*pe,Ve=Math.abs(Ce[2]-Ce[0])*pe):(Ie=Math.abs(Ze-Ce[0])*pe+Ge,Be=Math.abs(ze-Ce[1])*pe+Ae,Ke=Math.abs(Ce[2]-Ce[0])*pe,Ve=Math.abs(Ce[3]-Ce[1])*pe),this.transform=[Te*pe,Fe*pe,Pe*pe,we*pe,Ie-Te*pe*Ze-Pe*pe*ze,Be-Fe*pe*Ze-we*pe*ze],this.width=Ke,this.height=Ve}clone(){let{scale:ye=this.scale,rotation:Ce=this.rotation,offsetX:pe=this.offsetX,offsetY:_e=this.offsetY,dontFlip:Ge=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new ae({viewBox:this.viewBox.slice(),scale:ye,rotation:Ce,offsetX:pe,offsetY:_e,dontFlip:Ge})}convertToViewportPoint(ye,Ce){return V.Util.applyTransform([ye,Ce],this.transform)}convertToViewportRectangle(ye){const Ce=V.Util.applyTransform([ye[0],ye[1]],this.transform),pe=V.Util.applyTransform([ye[2],ye[3]],this.transform);return[Ce[0],Ce[1],pe[0],pe[1]]}convertToPdfPoint(ye,Ce){return V.Util.applyInverseTransform([ye,Ce],this.transform)}}m.PageViewport=ae;class ie extends V.BaseException{constructor(ye,Ce){super(ye,"RenderingCancelledException"),this.type=Ce}}m.RenderingCancelledException=ie;function he(ve){const ye=ve.length;let Ce=0;for(;Ce0?ye:ve.length,Ce>0?Ce:ve.length);return ve.substring(ve.lastIndexOf("/",pe)+1,pe)}function X(ve){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"document.pdf";if(typeof ve!="string")return ye;if(he(ve))return(0,V.warn)('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),ye;const Ce=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,pe=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,_e=Ce.exec(ve);let Ge=pe.exec(_e[1])||pe.exec(_e[2])||pe.exec(_e[3]);if(Ge&&(Ge=Ge[0],Ge.includes("%")))try{Ge=pe.exec(decodeURIComponent(Ge))[0]}catch{}return Ge||ye}class L{constructor(){this.started=Object.create(null),this.times=[]}time(ye){ye in this.started&&(0,V.warn)(`Timer is already running for ${ye}`),this.started[ye]=Date.now()}timeEnd(ye){ye in this.started||(0,V.warn)(`Timer has not been started for ${ye}`),this.times.push({name:ye,start:this.started[ye],end:Date.now()}),delete this.started[ye]}toString(){const ye=[];let Ce=0;for(const pe of this.times){const _e=pe.name;_e.length>Ce&&(Ce=_e.length)}for(const pe of this.times){const _e=pe.end-pe.start;ye.push(`${pe.name.padEnd(Ce)} ${_e}ms +`)}return ye.join("")}}m.StatTimer=L;function Q(ve,ye){try{const{protocol:Ce}=ye?new URL(ve,ye):new URL(ve);return Ce==="http:"||Ce==="https:"}catch{return!1}}function ce(ve){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return new Promise((Ce,pe)=>{const _e=document.createElement("script");_e.src=ve,_e.onload=function(Ge){ye&&_e.remove(),Ce(Ge)},_e.onerror=function(){pe(new Error(`Cannot load script at: ${_e.src}`))},(document.head||document.documentElement).append(_e)})}function de(ve){console.log("Deprecated API usage: "+ve)}let se;class oe{static toDateObject(ye){if(!ye||typeof ye!="string")return null;se||(se=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?"));const Ce=se.exec(ye);if(!Ce)return null;const pe=parseInt(Ce[1],10);let _e=parseInt(Ce[2],10);_e=_e>=1&&_e<=12?_e-1:0;let Ge=parseInt(Ce[3],10);Ge=Ge>=1&&Ge<=31?Ge:1;let Ae=parseInt(Ce[4],10);Ae=Ae>=0&&Ae<=23?Ae:0;let Ne=parseInt(Ce[5],10);Ne=Ne>=0&&Ne<=59?Ne:0;let Ze=parseInt(Ce[6],10);Ze=Ze>=0&&Ze<=59?Ze:0;const ze=Ce[7]||"Z";let Te=parseInt(Ce[8],10);Te=Te>=0&&Te<=23?Te:0;let Fe=parseInt(Ce[9],10)||0;return Fe=Fe>=0&&Fe<=59?Fe:0,ze==="-"?(Ae+=Te,Ne+=Fe):ze==="+"&&(Ae-=Te,Ne-=Fe),new Date(Date.UTC(pe,_e,Ge,Ae,Ne,Ze))}}m.PDFDateString=oe;function me(ve,ye){let{scale:Ce=1,rotation:pe=0}=ye;const{width:_e,height:Ge}=ve.attributes.style,Ae=[0,0,parseInt(_e),parseInt(Ge)];return new ae({viewBox:Ae,scale:Ce,rotation:pe})}function Ee(ve){if(ve.startsWith("#")){const ye=parseInt(ve.slice(1),16);return[(ye&16711680)>>16,(ye&65280)>>8,ye&255]}return ve.startsWith("rgb(")?ve.slice(4,-1).split(",").map(ye=>parseInt(ye)):ve.startsWith("rgba(")?ve.slice(5,-1).split(",").map(ye=>parseInt(ye)).slice(0,3):((0,V.warn)(`Not a valid color format: "${ve}"`),[0,0,0])}function ke(ve){const ye=document.createElement("span");ye.style.visibility="hidden",document.body.append(ye);for(const Ce of ve.keys()){ye.style.color=Ce;const pe=window.getComputedStyle(ye).color;ve.set(Ce,Ee(pe))}ye.remove()}function xe(ve){const{a:ye,b:Ce,c:pe,d:_e,e:Ge,f:Ae}=ve.getTransform();return[ye,Ce,pe,_e,Ge,Ae]}function fe(ve){const{a:ye,b:Ce,c:pe,d:_e,e:Ge,f:Ae}=ve.getTransform().invertSelf();return[ye,Ce,pe,_e,Ge,Ae]}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.BaseStandardFontDataFactory=m.BaseSVGFactory=m.BaseCanvasFactory=m.BaseCMapReaderFactory=void 0;var G=M(1);class V{constructor(){this.constructor===V&&(0,G.unreachable)("Cannot initialize BaseCanvasFactory.")}create(R,U){if(R<=0||U<=0)throw new Error("Invalid canvas size");const K=this._createCanvas(R,U);return{canvas:K,context:K.getContext("2d")}}reset(R,U,K){if(!R.canvas)throw new Error("Canvas is not specified");if(U<=0||K<=0)throw new Error("Invalid canvas size");R.canvas.width=U,R.canvas.height=K}destroy(R){if(!R.canvas)throw new Error("Canvas is not specified");R.canvas.width=0,R.canvas.height=0,R.canvas=null,R.context=null}_createCanvas(R,U){(0,G.unreachable)("Abstract method `_createCanvas` called.")}}m.BaseCanvasFactory=V;class q{constructor(R){let{baseUrl:U=null,isCompressed:K=!1}=R;this.constructor===q&&(0,G.unreachable)("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=U,this.isCompressed=K}async fetch(R){let{name:U}=R;if(!this.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!U)throw new Error("CMap name must be specified.");const K=this.baseUrl+U+(this.isCompressed?".bcmap":""),z=this.isCompressed?G.CMapCompressionType.BINARY:G.CMapCompressionType.NONE;return this._fetchData(K,z).catch(e=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${K}`)})}_fetchData(R,U){(0,G.unreachable)("Abstract method `_fetchData` called.")}}m.BaseCMapReaderFactory=q;class ${constructor(R){let{baseUrl:U=null}=R;this.constructor===$&&(0,G.unreachable)("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=U}async fetch(R){let{filename:U}=R;if(!this.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!U)throw new Error("Font filename must be specified.");const K=`${this.baseUrl}${U}`;return this._fetchData(K).catch(z=>{throw new Error(`Unable to load font data at: ${K}`)})}_fetchData(R){(0,G.unreachable)("Abstract method `_fetchData` called.")}}m.BaseStandardFontDataFactory=$;class D{constructor(){this.constructor===D&&(0,G.unreachable)("Cannot initialize BaseSVGFactory.")}create(R,U){let K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(R<=0||U<=0)throw new Error("Invalid SVG dimensions");const z=this._createSVG("svg:svg");return z.setAttribute("version","1.1"),K||(z.setAttribute("width",`${R}px`),z.setAttribute("height",`${U}px`)),z.setAttribute("preserveAspectRatio","none"),z.setAttribute("viewBox",`0 0 ${R} ${U}`),z}createElement(R){if(typeof R!="string")throw new Error("Invalid SVG element type");return this._createSVG(R)}_createSVG(R){(0,G.unreachable)("Abstract method `_createSVG` called.")}}m.BaseSVGFactory=D},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.MurmurHash3_64=void 0;var G=M(1);const V=3285377520,q=4294901760,$=65535;class D{constructor(R){this.h1=R?R&4294967295:V,this.h2=R?R&4294967295:V}update(R){let U,K;if(typeof R=="string"){U=new Uint8Array(R.length*2),K=0;for(let de=0,se=R.length;de>>8,U[K++]=oe&255)}}else if((0,G.isArrayBuffer)(R))U=R.slice(),K=U.byteLength;else throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");const z=K>>2,e=K-z*4,ae=new Uint32Array(U.buffer,0,z);let ie=0,he=0,J=this.h1,W=this.h2;const X=3432918353,L=461845907,Q=X&$,ce=L&$;for(let de=0;de>>17,ie=ie*L&q|ie*ce&$,J^=ie,J=J<<13|J>>>19,J=J*5+3864292196):(he=ae[de],he=he*X&q|he*Q&$,he=he<<15|he>>>17,he=he*L&q|he*ce&$,W^=he,W=W<<13|W>>>19,W=W*5+3864292196);switch(ie=0,e){case 3:ie^=U[z*4+2]<<16;case 2:ie^=U[z*4+1]<<8;case 1:ie^=U[z*4],ie=ie*X&q|ie*Q&$,ie=ie<<15|ie>>>17,ie=ie*L&q|ie*ce&$,z&1?J^=ie:W^=ie}this.h1=J,this.h2=W}hexdigest(){let R=this.h1,U=this.h2;R^=U>>>1,R=R*3981806797&q|R*36045&$,U=U*4283543511&q|((U<<16|R>>>16)*2950163797&q)>>>16,R^=U>>>1,R=R*444984403&q|R*60499&$,U=U*3301882366&q|((U<<16|R>>>16)*3120437893&q)>>>16,R^=U>>>1;const K=(R>>>0).toString(16),z=(U>>>0).toString(16);return K.padStart(8,"0")+z.padStart(8,"0")}}m.MurmurHash3_64=D},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.FontLoader=m.FontFaceObject=void 0;var G=M(1);class V{constructor(B){let{docId:R,onUnsupportedFeature:U,ownerDocument:K=globalThis.document,styleElement:z=null}=B;this.constructor===V&&(0,G.unreachable)("Cannot initialize BaseFontLoader."),this.docId=R,this._onUnsupportedFeature=U,this._document=K,this.nativeFontFaces=[],this.styleElement=null}addNativeFontFace(B){this.nativeFontFaces.push(B),this._document.fonts.add(B)}insertRule(B){let R=this.styleElement;R||(R=this.styleElement=this._document.createElement("style"),R.id=`PDFJS_FONT_STYLE_TAG_${this.docId}`,this._document.documentElement.getElementsByTagName("head")[0].append(R));const U=R.sheet;U.insertRule(B,U.cssRules.length)}clear(){for(const B of this.nativeFontFaces)this._document.fonts.delete(B);this.nativeFontFaces.length=0,this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async bind(B){if(B.attached||B.missingFile)return;if(B.attached=!0,this.isFontLoadingAPISupported){const U=B.createNativeFontFace();if(U){this.addNativeFontFace(U);try{await U.loaded}catch(K){throw this._onUnsupportedFeature({featureId:G.UNSUPPORTED_FEATURES.errorFontLoadNative}),(0,G.warn)(`Failed to load font '${U.family}': '${K}'.`),B.disableFontFace=!0,K}}return}const R=B.createFontFaceRule();if(R){if(this.insertRule(R),this.isSyncFontLoadingSupported)return;await new Promise(U=>{const K=this._queueLoadingCallback(U);this._prepareFontLoadEvent([R],[B],K)})}}_queueLoadingCallback(B){(0,G.unreachable)("Abstract method `_queueLoadingCallback`.")}get isFontLoadingAPISupported(){var B;const R=!!((B=this._document)!==null&&B!==void 0&&B.fonts);return(0,G.shadow)(this,"isFontLoadingAPISupported",R)}get isSyncFontLoadingSupported(){(0,G.unreachable)("Abstract method `isSyncFontLoadingSupported`.")}get _loadTestFont(){(0,G.unreachable)("Abstract method `_loadTestFont`.")}_prepareFontLoadEvent(B,R,U){(0,G.unreachable)("Abstract method `_prepareFontLoadEvent`.")}}let q;m.FontLoader=q,m.FontLoader=q=class extends V{constructor(B){super(B),this.loadingContext={requests:[],nextRequestId:0},this.loadTestFontId=0}get isSyncFontLoadingSupported(){let B=!1;if(typeof navigator>"u")B=!0;else{const R=/Mozilla\/5.0.*?rv:(\d+).*? Gecko/.exec(navigator.userAgent);(R==null?void 0:R[1])>=14&&(B=!0)}return(0,G.shadow)(this,"isSyncFontLoadingSupported",B)}_queueLoadingCallback(B){function R(){for((0,G.assert)(!K.done,"completeRequest() cannot be called twice."),K.done=!0;U.requests.length>0&&U.requests[0].done;){const z=U.requests.shift();setTimeout(z.callback,0)}}const U=this.loadingContext,K={id:`pdfjs-font-loading-${U.nextRequestId++}`,done:!1,complete:R,callback:B};return U.requests.push(K),K}get _loadTestFont(){const B=function(){return atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==")};return(0,G.shadow)(this,"_loadTestFont",B())}_prepareFontLoadEvent(B,R,U){function K(xe,fe){return xe.charCodeAt(fe)<<24|xe.charCodeAt(fe+1)<<16|xe.charCodeAt(fe+2)<<8|xe.charCodeAt(fe+3)&255}function z(xe,fe,ve,ye){const Ce=xe.substring(0,fe),pe=xe.substring(fe+ve);return Ce+ye+pe}let e,ae;const ie=this._document.createElement("canvas");ie.width=1,ie.height=1;const he=ie.getContext("2d");let J=0;function W(xe,fe){if(J++,J>30){(0,G.warn)("Load test font never loaded."),fe();return}if(he.font="30px "+xe,he.fillText(".",0,20),he.getImageData(0,0,1,1).data[3]>0){fe();return}setTimeout(W.bind(null,xe,fe))}const X=`lt${Date.now()}${this.loadTestFontId++}`;let L=this._loadTestFont;L=z(L,976,X.length,X);const ce=16,de=1482184792;let se=K(L,ce);for(e=0,ae=X.length-3;e{ke.remove(),U.complete()})}};class ${constructor(B,R){let{isEvalSupported:U=!0,disableFontFace:K=!1,ignoreErrors:z=!1,onUnsupportedFeature:e,fontRegistry:ae=null}=R;this.compiledGlyphs=Object.create(null);for(const ie in B)this[ie]=B[ie];this.isEvalSupported=U!==!1,this.disableFontFace=K===!0,this.ignoreErrors=z===!0,this._onUnsupportedFeature=e,this.fontRegistry=ae}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let B;if(!this.cssFontInfo)B=new FontFace(this.loadedName,this.data,{});else{const R={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(R.style=`oblique ${this.cssFontInfo.italicAngle}deg`),B=new FontFace(this.cssFontInfo.fontFamily,this.data,R)}return this.fontRegistry&&this.fontRegistry.registerFont(this),B}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const B=(0,G.bytesToString)(this.data),R=`url(data:${this.mimetype};base64,${btoa(B)});`;let U;if(!this.cssFontInfo)U=`@font-face {font-family:"${this.loadedName}";src:${R}}`;else{let K=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(K+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),U=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${K}src:${R}}`}return this.fontRegistry&&this.fontRegistry.registerFont(this,R),U}getPathGenerator(B,R){if(this.compiledGlyphs[R]!==void 0)return this.compiledGlyphs[R];let U;try{U=B.get(this.loadedName+"_path_"+R)}catch(K){if(!this.ignoreErrors)throw K;return this._onUnsupportedFeature({featureId:G.UNSUPPORTED_FEATURES.errorFontGetPath}),(0,G.warn)(`getPathGenerator - ignoring character: "${K}".`),this.compiledGlyphs[R]=function(z,e){}}if(this.isEvalSupported&&G.FeatureTest.isEvalSupported){const K=[];for(const z of U){const e=z.args!==void 0?z.args.join(","):"";K.push("c.",z.cmd,"(",e,`); +`)}return this.compiledGlyphs[R]=new Function("c","size",K.join(""))}return this.compiledGlyphs[R]=function(K,z){for(const e of U)e.cmd==="scale"&&(e.args=[z,-z]),K[e.cmd].apply(K,e.args)}}}m.FontFaceObject=$},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.CanvasGraphics=void 0;var G=M(133),V=M(1),q=M(138),$=M(139),D=M(3);function B(ze,Te){R(ze,Te),Te.add(ze)}function R(ze,Te){if(Te.has(ze))throw new TypeError("Cannot initialize the same private elements twice on an object")}function U(ze,Te,Fe){if(!Te.has(ze))throw new TypeError("attempted to get private field on non-instance");return Fe}const K=16,z=100,e=4096,ae=15,ie=10,he=D.isNodeJS&&typeof Path2D>"u"?-1:1e3,J=16;function W(ze,Te){if(ze._removeMirroring)throw new Error("Context is already forwarding operations.");ze.__originalSave=ze.save,ze.__originalRestore=ze.restore,ze.__originalRotate=ze.rotate,ze.__originalScale=ze.scale,ze.__originalTranslate=ze.translate,ze.__originalTransform=ze.transform,ze.__originalSetTransform=ze.setTransform,ze.__originalResetTransform=ze.resetTransform,ze.__originalClip=ze.clip,ze.__originalMoveTo=ze.moveTo,ze.__originalLineTo=ze.lineTo,ze.__originalBezierCurveTo=ze.bezierCurveTo,ze.__originalRect=ze.rect,ze.__originalClosePath=ze.closePath,ze.__originalBeginPath=ze.beginPath,ze._removeMirroring=()=>{ze.save=ze.__originalSave,ze.restore=ze.__originalRestore,ze.rotate=ze.__originalRotate,ze.scale=ze.__originalScale,ze.translate=ze.__originalTranslate,ze.transform=ze.__originalTransform,ze.setTransform=ze.__originalSetTransform,ze.resetTransform=ze.__originalResetTransform,ze.clip=ze.__originalClip,ze.moveTo=ze.__originalMoveTo,ze.lineTo=ze.__originalLineTo,ze.bezierCurveTo=ze.__originalBezierCurveTo,ze.rect=ze.__originalRect,ze.closePath=ze.__originalClosePath,ze.beginPath=ze.__originalBeginPath,delete ze._removeMirroring},ze.save=function(){Te.save(),this.__originalSave()},ze.restore=function(){Te.restore(),this.__originalRestore()},ze.translate=function(Pe,we){Te.translate(Pe,we),this.__originalTranslate(Pe,we)},ze.scale=function(Pe,we){Te.scale(Pe,we),this.__originalScale(Pe,we)},ze.transform=function(Pe,we,Ie,Be,Ke,Ve){Te.transform(Pe,we,Ie,Be,Ke,Ve),this.__originalTransform(Pe,we,Ie,Be,Ke,Ve)},ze.setTransform=function(Pe,we,Ie,Be,Ke,Ve){Te.setTransform(Pe,we,Ie,Be,Ke,Ve),this.__originalSetTransform(Pe,we,Ie,Be,Ke,Ve)},ze.resetTransform=function(){Te.resetTransform(),this.__originalResetTransform()},ze.rotate=function(Pe){Te.rotate(Pe),this.__originalRotate(Pe)},ze.clip=function(Pe){Te.clip(Pe),this.__originalClip(Pe)},ze.moveTo=function(Fe,Pe){Te.moveTo(Fe,Pe),this.__originalMoveTo(Fe,Pe)},ze.lineTo=function(Fe,Pe){Te.lineTo(Fe,Pe),this.__originalLineTo(Fe,Pe)},ze.bezierCurveTo=function(Fe,Pe,we,Ie,Be,Ke){Te.bezierCurveTo(Fe,Pe,we,Ie,Be,Ke),this.__originalBezierCurveTo(Fe,Pe,we,Ie,Be,Ke)},ze.rect=function(Fe,Pe,we,Ie){Te.rect(Fe,Pe,we,Ie),this.__originalRect(Fe,Pe,we,Ie)},ze.closePath=function(){Te.closePath(),this.__originalClosePath()},ze.beginPath=function(){Te.beginPath(),this.__originalBeginPath()}}class X{constructor(Te){this.canvasFactory=Te,this.cache=Object.create(null)}getCanvas(Te,Fe,Pe){let we;return this.cache[Te]!==void 0?(we=this.cache[Te],this.canvasFactory.reset(we,Fe,Pe)):(we=this.canvasFactory.create(Fe,Pe),this.cache[Te]=we),we}delete(Te){delete this.cache[Te]}clear(){for(const Te in this.cache){const Fe=this.cache[Te];this.canvasFactory.destroy(Fe),delete this.cache[Te]}}}function L(ze,Te,Fe,Pe,we,Ie,Be,Ke,Ve,je){const[Le,et,Qe,Ue,$e,Ye]=(0,G.getCurrentTransform)(ze);if(et===0&&Qe===0){const st=Be*Le+$e,dt=Math.round(st),ct=Ke*Ue+Ye,mt=Math.round(ct),ut=(Be+Ve)*Le+$e,rt=Math.abs(Math.round(ut)-dt)||1,He=(Ke+je)*Ue+Ye,Je=Math.abs(Math.round(He)-mt)||1;return ze.setTransform(Math.sign(Le),0,0,Math.sign(Ue),dt,mt),ze.drawImage(Te,Fe,Pe,we,Ie,0,0,rt,Je),ze.setTransform(Le,et,Qe,Ue,$e,Ye),[rt,Je]}if(Le===0&&Ue===0){const st=Ke*Qe+$e,dt=Math.round(st),ct=Be*et+Ye,mt=Math.round(ct),ut=(Ke+je)*Qe+$e,rt=Math.abs(Math.round(ut)-dt)||1,He=(Be+Ve)*et+Ye,Je=Math.abs(Math.round(He)-mt)||1;return ze.setTransform(0,Math.sign(et),Math.sign(Qe),0,dt,mt),ze.drawImage(Te,Fe,Pe,we,Ie,0,0,Je,rt),ze.setTransform(Le,et,Qe,Ue,$e,Ye),[Je,rt]}ze.drawImage(Te,Fe,Pe,we,Ie,Be,Ke,Ve,je);const tt=Math.hypot(Le,et),ot=Math.hypot(Qe,Ue);return[tt*Ve,ot*je]}function Q(ze){const{width:Te,height:Fe}=ze;if(Te>he||Fe>he)return null;const Pe=1e3,we=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),Ie=Te+1;let Be=new Uint8Array(Ie*(Fe+1)),Ke,Ve,je;const Le=Te+7&-8;let et=new Uint8Array(Le*Fe),Qe=0;for(const ot of ze.data){let st=128;for(;st>0;)et[Qe++]=ot&st?0:255,st>>=1}let Ue=0;for(Qe=0,et[Qe]!==0&&(Be[0]=1,++Ue),Ve=1;Ve>2)+(et[Qe+1]?4:0)+(et[Qe-Le+1]?8:0),we[ot]&&(Be[je+Ve]=we[ot],++Ue),Qe++;if(et[Qe-Le]!==et[Qe]&&(Be[je+Ve]=et[Qe]?2:4,++Ue),Ue>Pe)return null}for(Qe=Le*(Fe-1),je=Ke*Ie,et[Qe]!==0&&(Be[je]=8,++Ue),Ve=1;VePe)return null;const $e=new Int32Array([0,Ie,-1,0,-Ie,0,0,0,1]),Ye=new Path2D;for(Ke=0;Ue&&Ke<=Fe;Ke++){let ot=Ke*Ie;const st=ot+Te;for(;ot>4,Be[ot]&=ct>>2|ct<<2),Ye.lineTo(ot%Ie,ot/Ie|0),Be[ot]||--Ue}while(dt!==ot);--Ke}return et=null,Be=null,function(ot){ot.save(),ot.scale(1/Te,-1/Fe),ot.translate(0,-Fe),ot.fill(Ye),ot.beginPath(),ot.restore()}}class ce{constructor(Te,Fe){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=V.IDENTITY_MATRIX,this.textMatrixScale=1,this.fontMatrix=V.FONT_IDENTITY_MATRIX,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=V.TextRenderingMode.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps=null,this.startNewPathAndClipBox([0,0,Te,Fe])}clone(){const Te=Object.create(this);return Te.clipBox=this.clipBox.slice(),Te}setCurrentPoint(Te,Fe){this.x=Te,this.y=Fe}updatePathMinMax(Te,Fe,Pe){[Fe,Pe]=V.Util.applyTransform([Fe,Pe],Te),this.minX=Math.min(this.minX,Fe),this.minY=Math.min(this.minY,Pe),this.maxX=Math.max(this.maxX,Fe),this.maxY=Math.max(this.maxY,Pe)}updateRectMinMax(Te,Fe){const Pe=V.Util.applyTransform(Fe,Te),we=V.Util.applyTransform(Fe.slice(2),Te);this.minX=Math.min(this.minX,Pe[0],we[0]),this.minY=Math.min(this.minY,Pe[1],we[1]),this.maxX=Math.max(this.maxX,Pe[0],we[0]),this.maxY=Math.max(this.maxY,Pe[1],we[1])}updateScalingPathMinMax(Te,Fe){V.Util.scaleMinMax(Te,Fe),this.minX=Math.min(this.minX,Fe[0]),this.maxX=Math.max(this.maxX,Fe[1]),this.minY=Math.min(this.minY,Fe[2]),this.maxY=Math.max(this.maxY,Fe[3])}updateCurvePathMinMax(Te,Fe,Pe,we,Ie,Be,Ke,Ve,je,Le){const et=V.Util.bezierBoundingBox(Fe,Pe,we,Ie,Be,Ke,Ve,je);if(Le){Le[0]=Math.min(Le[0],et[0],et[2]),Le[1]=Math.max(Le[1],et[0],et[2]),Le[2]=Math.min(Le[2],et[1],et[3]),Le[3]=Math.max(Le[3],et[1],et[3]);return}this.updateRectMinMax(Te,et)}getPathBoundingBox(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:q.PathType.FILL,Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const Pe=[this.minX,this.minY,this.maxX,this.maxY];if(Te===q.PathType.STROKE){Fe||(0,V.unreachable)("Stroke bounding box must include transform.");const we=V.Util.singularValueDecompose2dScale(Fe),Ie=we[0]*this.lineWidth/2,Be=we[1]*this.lineWidth/2;Pe[0]-=Ie,Pe[1]-=Be,Pe[2]+=Ie,Pe[3]+=Be}return Pe}updateClipFromPath(){const Te=V.Util.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(Te||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(Te){this.clipBox=Te,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:q.PathType.FILL,Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return V.Util.intersect(this.clipBox,this.getPathBoundingBox(Te,Fe))}}function de(ze,Te){let Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(typeof ImageData<"u"&&Te instanceof ImageData){ze.putImageData(Te,0,0);return}const Pe=Te.height,we=Te.width,Ie=Pe%J,Be=(Pe-Ie)/J,Ke=Ie===0?Be:Be+1,Ve=ze.createImageData(we,J);let je=0,Le;const et=Te.data,Qe=Ve.data;let Ue,$e,Ye,tt,ot,st,dt,ct;if(Fe)switch(Fe.length){case 1:ot=Fe[0],st=Fe[0],dt=Fe[0],ct=Fe[0];break;case 4:ot=Fe[0],st=Fe[1],dt=Fe[2],ct=Fe[3];break}if(Te.kind===V.ImageKind.GRAYSCALE_1BPP){const mt=et.byteLength,ut=new Uint32Array(Qe.buffer,0,Qe.byteLength>>2),rt=ut.length,He=we+7>>3;let Je=4294967295,St=V.FeatureTest.isLittleEndian?4278190080:255;for(ct&&ct[0]===255&&ct[255]===0&&([Je,St]=[St,Je]),Ue=0;UeHe?we:bt*8-7,Pt=wt&-8;let Nt=0,Vt=0;for(;pt>=1}for(;Le=Be&&(Ye=Ie,tt=we*Ye),Le=0,$e=tt;$e--;)Qe[Le++]=et[je++],Qe[Le++]=et[je++],Qe[Le++]=et[je++],Qe[Le++]=255;if(mt)for(let ut=0;ut>8,ze[Ie-2]=ze[Ie-2]*Be+Fe*Ke>>8,ze[Ie-1]=ze[Ie-1]*Be+Pe*Ke>>8}}}function ke(ze,Te,Fe){const Pe=ze.length,we=1/255;for(let Ie=3;Ie>8]>>8:Te[we]*Ie>>16}}function fe(ze,Te,Fe,Pe,we,Ie,Be,Ke,Ve,je,Le){const et=!!Ie,Qe=et?Ie[0]:0,Ue=et?Ie[1]:0,$e=et?Ie[2]:0;let Ye;we==="Luminosity"?Ye=xe:Ye=ke;const ot=Math.min(Pe,Math.ceil(1048576/Fe));for(let st=0;st1&&arguments[1]!==void 0?arguments[1]:null;return typeof Te=="string"?Te.startsWith("g_")?this.commonObjs.get(Te):this.objs.get(Te):Fe}beginDrawing(Te){let{transform:Fe,viewport:Pe,transparency:we=!1,background:Ie=null}=Te;const Be=this.ctx.canvas.width,Ke=this.ctx.canvas.height,Ve=Ie||"#ffffff";if(this.ctx.save(),this.foregroundColor&&this.backgroundColor){this.ctx.fillStyle=this.foregroundColor;const je=this.foregroundColor=this.ctx.fillStyle;this.ctx.fillStyle=this.backgroundColor;const Le=this.backgroundColor=this.ctx.fillStyle;let et=!0,Qe=Ve;if(this.ctx.fillStyle=Ve,Qe=this.ctx.fillStyle,et=typeof Qe=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Qe),je==="#000000"&&Le==="#ffffff"||je===Le||!et)this.foregroundColor=this.backgroundColor=null;else{const[Ue,$e,Ye]=(0,G.getRGB)(Qe),tt=st=>(st/=255,st<=.03928?st/12.92:((st+.055)/1.055)**2.4),ot=Math.round(.2126*tt(Ue)+.7152*tt($e)+.0722*tt(Ye));this.selectColor=(st,dt,ct)=>{const mt=.2126*tt(st)+.7152*tt(dt)+.0722*tt(ct);return Math.round(mt)===ot?Le:je}}}if(this.ctx.fillStyle=this.backgroundColor||Ve,this.ctx.fillRect(0,0,Be,Ke),this.ctx.restore(),we){const je=this.cachedCanvases.getCanvas("transparent",Be,Ke);this.compositeCtx=this.ctx,this.transparentCanvas=je.canvas,this.ctx=je.context,this.ctx.save(),this.ctx.transform(...(0,G.getCurrentTransform)(this.compositeCtx))}this.ctx.save(),me(this.ctx,this.foregroundColor),Fe&&(this.ctx.transform(...Fe),this.outputScaleX=Fe[0],this.outputScaleY=Fe[0]),this.ctx.transform(...Pe.transform),this.viewportScale=Pe.scale,this.baseTransform=(0,G.getCurrentTransform)(this.ctx),this.imageLayer&&((0,G.deprecated)("The `imageLayer` functionality will be removed in the future."),this.imageLayer.beginLayout())}executeOperatorList(Te,Fe,Pe,we){const Ie=Te.argsArray,Be=Te.fnArray;let Ke=Fe||0;const Ve=Ie.length;if(Ve===Ke)return Ke;const je=Ve-Ke>ie&&typeof Pe=="function",Le=je?Date.now()+ae:0;let et=0;const Qe=this.commonObjs,Ue=this.objs;let $e;for(;;){if(we!==void 0&&Ke===we.nextBreakPoint)return we.breakIt(Ke,Pe),Ke;if($e=Be[Ke],$e!==V.OPS.dependency)this[$e].apply(this,Ie[Ke]);else for(const Ye of Ie[Ke]){const tt=Ye.startsWith("g_")?Qe:Ue;if(!tt.has(Ye))return tt.get(Ye,Pe),Ke}if(Ke++,Ke===Ve)return Ke;if(je&&++et>ie){if(Date.now()>Le)return Pe(),Ke;et=0}}}endDrawing(){U(this,Ae,Ze).call(this),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const Te of this._cachedBitmapsMap.values()){for(const Fe of Te.values())typeof HTMLCanvasElement<"u"&&Fe instanceof HTMLCanvasElement&&(Fe.width=Fe.height=0);Te.clear()}this._cachedBitmapsMap.clear(),this.imageLayer&&this.imageLayer.endLayout()}_scaleImage(Te,Fe){const Pe=Te.width,we=Te.height;let Ie=Math.max(Math.hypot(Fe[0],Fe[1]),1),Be=Math.max(Math.hypot(Fe[2],Fe[3]),1),Ke=Pe,Ve=we,je="prescale1",Le,et;for(;Ie>2&&Ke>1||Be>2&&Ve>1;){let Qe=Ke,Ue=Ve;Ie>2&&Ke>1&&(Qe=Math.ceil(Ke/2),Ie/=Ke/Qe),Be>2&&Ve>1&&(Ue=Math.ceil(Ve/2),Be/=Ve/Ue),Le=this.cachedCanvases.getCanvas(je,Qe,Ue),et=Le.context,et.clearRect(0,0,Qe,Ue),et.drawImage(Te,0,0,Ke,Ve,0,0,Qe,Ue),Te=Le.canvas,Ke=Qe,Ve=Ue,je=je==="prescale1"?"prescale2":"prescale1"}return{img:Te,paintWidth:Ke,paintHeight:Ve}}_createMaskCanvas(Te){const Fe=this.ctx,{width:Pe,height:we}=Te,Ie=this.current.fillColor,Be=this.current.patternFill,Ke=(0,G.getCurrentTransform)(Fe);let Ve,je,Le,et;if((Te.bitmap||Te.data)&&Te.count>1){const rt=Te.bitmap||Te.data.buffer,He=Ke.slice(0,4);je=JSON.stringify(Be?He:[He,Ie]),Ve=this._cachedBitmapsMap.get(rt),Ve||(Ve=new Map,this._cachedBitmapsMap.set(rt,Ve));const Je=Ve.get(je);if(Je&&!Be){const St=Math.round(Math.min(Ke[0],Ke[2])+Ke[4]),bt=Math.round(Math.min(Ke[1],Ke[3])+Ke[5]);return{canvas:Je,offsetX:St,offsetY:bt}}Le=Je}Le||(et=this.cachedCanvases.getCanvas("maskCanvas",Pe,we),se(et.context,Te));let Qe=V.Util.transform(Ke,[1/Pe,0,0,-1/we,0,0]);Qe=V.Util.transform(Qe,[1,0,0,1,0,-we]);const Ue=V.Util.applyTransform([0,0],Qe),$e=V.Util.applyTransform([Pe,we],Qe),Ye=V.Util.normalizeRect([Ue[0],Ue[1],$e[0],$e[1]]),tt=Math.round(Ye[2]-Ye[0])||1,ot=Math.round(Ye[3]-Ye[1])||1,st=this.cachedCanvases.getCanvas("fillCanvas",tt,ot),dt=st.context,ct=Math.min(Ue[0],$e[0]),mt=Math.min(Ue[1],$e[1]);dt.translate(-ct,-mt),dt.transform(...Qe),Le||(Le=this._scaleImage(et.canvas,(0,G.getCurrentTransformInverse)(dt)),Le=Le.img,Ve&&Be&&Ve.set(je,Le)),dt.imageSmoothingEnabled=ye((0,G.getCurrentTransform)(dt),Te.interpolate),L(dt,Le,0,0,Le.width,Le.height,0,0,Pe,we),dt.globalCompositeOperation="source-in";const ut=V.Util.transform((0,G.getCurrentTransformInverse)(dt),[1,0,0,1,-ct,-mt]);return dt.fillStyle=Be?Ie.getPattern(Fe,this,ut,q.PathType.FILL):Ie,dt.fillRect(0,0,Pe,we),Ve&&!Be&&(this.cachedCanvases.delete("fillCanvas"),Ve.set(je,st.canvas)),{canvas:st.canvas,offsetX:Math.round(ct),offsetY:Math.round(mt)}}setLineWidth(Te){Te!==this.current.lineWidth&&(this._cachedScaleForStroking=null),this.current.lineWidth=Te,this.ctx.lineWidth=Te}setLineCap(Te){this.ctx.lineCap=Ce[Te]}setLineJoin(Te){this.ctx.lineJoin=pe[Te]}setMiterLimit(Te){this.ctx.miterLimit=Te}setDash(Te,Fe){const Pe=this.ctx;Pe.setLineDash!==void 0&&(Pe.setLineDash(Te),Pe.lineDashOffset=Fe)}setRenderingIntent(Te){}setFlatness(Te){}setGState(Te){for(let Fe=0,Pe=Te.length;Fez&&(je=z),this.current.fontSizeScale=Fe/je,this.ctx.font=`${Ke} ${Be} ${je}px ${Ve}`}setTextRenderingMode(Te){this.current.textRenderingMode=Te}setTextRise(Te){this.current.textRise=Te}moveText(Te,Fe){this.current.x=this.current.lineX+=Te,this.current.y=this.current.lineY+=Fe}setLeadingMoveText(Te,Fe){this.setLeading(-Fe),this.moveText(Te,Fe)}setTextMatrix(Te,Fe,Pe,we,Ie,Be){this.current.textMatrix=[Te,Fe,Pe,we,Ie,Be],this.current.textMatrixScale=Math.hypot(Te,Fe),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(Te,Fe,Pe,we){const Ie=this.ctx,Be=this.current,Ke=Be.font,Ve=Be.textRenderingMode,je=Be.fontSize/Be.fontSizeScale,Le=Ve&V.TextRenderingMode.FILL_STROKE_MASK,et=!!(Ve&V.TextRenderingMode.ADD_TO_PATH_FLAG),Qe=Be.patternFill&&!Ke.missingFile;let Ue;(Ke.disableFontFace||et||Qe)&&(Ue=Ke.getPathGenerator(this.commonObjs,Te)),Ke.disableFontFace||Qe?(Ie.save(),Ie.translate(Fe,Pe),Ie.beginPath(),Ue(Ie,je),we&&Ie.setTransform(...we),(Le===V.TextRenderingMode.FILL||Le===V.TextRenderingMode.FILL_STROKE)&&Ie.fill(),(Le===V.TextRenderingMode.STROKE||Le===V.TextRenderingMode.FILL_STROKE)&&Ie.stroke(),Ie.restore()):((Le===V.TextRenderingMode.FILL||Le===V.TextRenderingMode.FILL_STROKE)&&Ie.fillText(Te,Fe,Pe),(Le===V.TextRenderingMode.STROKE||Le===V.TextRenderingMode.FILL_STROKE)&&Ie.strokeText(Te,Fe,Pe)),et&&(this.pendingTextPaths||(this.pendingTextPaths=[])).push({transform:(0,G.getCurrentTransform)(Ie),x:Fe,y:Pe,fontSize:je,addToPath:Ue})}get isFontSubpixelAAEnabled(){const{context:Te}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);Te.scale(1.5,1),Te.fillText("I",0,10);const Fe=Te.getImageData(0,0,10,10).data;let Pe=!1;for(let we=3;we0&&Fe[we]<255){Pe=!0;break}return(0,V.shadow)(this,"isFontSubpixelAAEnabled",Pe)}showText(Te){const Fe=this.current,Pe=Fe.font;if(Pe.isType3Font)return this.showType3Text(Te);const we=Fe.fontSize;if(we===0)return;const Ie=this.ctx,Be=Fe.fontSizeScale,Ke=Fe.charSpacing,Ve=Fe.wordSpacing,je=Fe.fontDirection,Le=Fe.textHScale*je,et=Te.length,Qe=Pe.vertical,Ue=Qe?1:-1,$e=Pe.defaultVMetrics,Ye=we*Fe.fontMatrix[0],tt=Fe.textRenderingMode===V.TextRenderingMode.FILL&&!Pe.disableFontFace&&!Fe.patternFill;Ie.save(),Ie.transform(...Fe.textMatrix),Ie.translate(Fe.x,Fe.y+Fe.textRise),je>0?Ie.scale(Le,-1):Ie.scale(Le,1);let ot;if(Fe.patternFill){Ie.save();const ut=Fe.fillColor.getPattern(Ie,this,(0,G.getCurrentTransformInverse)(Ie),q.PathType.FILL);ot=(0,G.getCurrentTransform)(Ie),Ie.restore(),Ie.fillStyle=ut}let st=Fe.lineWidth;const dt=Fe.textMatrixScale;if(dt===0||st===0){const ut=Fe.textRenderingMode&V.TextRenderingMode.FILL_STROKE_MASK;(ut===V.TextRenderingMode.STROKE||ut===V.TextRenderingMode.FILL_STROKE)&&(st=this.getSinglePixelWidth())}else st/=dt;Be!==1&&(Ie.scale(Be,Be),st/=Be),Ie.lineWidth=st;let ct=0,mt;for(mt=0;mt0){const Nt=Ie.measureText(Je).width*1e3/we*Be;if(wtnew Ne(Be,this.commonObjs,this.objs,this.canvasFactory)};Fe=new q.TilingPattern(Te,Pe,this.ctx,Ie,we)}else Fe=this._getPattern(Te[1],Te[2]);return Fe}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(Te,Fe,Pe){var we;const Ie=((we=this.selectColor)===null||we===void 0?void 0:we.call(this,Te,Fe,Pe))||V.Util.makeHexColor(Te,Fe,Pe);this.ctx.strokeStyle=Ie,this.current.strokeColor=Ie}setFillRGBColor(Te,Fe,Pe){var we;const Ie=((we=this.selectColor)===null||we===void 0?void 0:we.call(this,Te,Fe,Pe))||V.Util.makeHexColor(Te,Fe,Pe);this.ctx.fillStyle=Ie,this.current.fillColor=Ie,this.current.patternFill=!1}_getPattern(Te){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Pe;return this.cachedPatterns.has(Te)?Pe=this.cachedPatterns.get(Te):(Pe=(0,q.getShadingPattern)(this.objs.get(Te)),this.cachedPatterns.set(Te,Pe)),Fe&&(Pe.matrix=Fe),Pe}shadingFill(Te){if(!this.contentVisible)return;const Fe=this.ctx;this.save();const Pe=this._getPattern(Te);Fe.fillStyle=Pe.getPattern(Fe,this,(0,G.getCurrentTransformInverse)(Fe),q.PathType.SHADING);const we=(0,G.getCurrentTransformInverse)(Fe);if(we){const Ie=Fe.canvas,Be=Ie.width,Ke=Ie.height,Ve=V.Util.applyTransform([0,0],we),je=V.Util.applyTransform([0,Ke],we),Le=V.Util.applyTransform([Be,0],we),et=V.Util.applyTransform([Be,Ke],we),Qe=Math.min(Ve[0],je[0],Le[0],et[0]),Ue=Math.min(Ve[1],je[1],Le[1],et[1]),$e=Math.max(Ve[0],je[0],Le[0],et[0]),Ye=Math.max(Ve[1],je[1],Le[1],et[1]);this.ctx.fillRect(Qe,Ue,$e-Qe,Ye-Ue)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){(0,V.unreachable)("Should not call beginInlineImage")}beginImageData(){(0,V.unreachable)("Should not call beginImageData")}paintFormXObjectBegin(Te,Fe){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),Array.isArray(Te)&&Te.length===6&&this.transform(...Te),this.baseTransform=(0,G.getCurrentTransform)(this.ctx),Fe)){const Pe=Fe[2]-Fe[0],we=Fe[3]-Fe[1];this.ctx.rect(Fe[0],Fe[1],Pe,we),this.current.updateRectMinMax((0,G.getCurrentTransform)(this.ctx),Fe),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(Te){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const Fe=this.ctx;Te.isolated||(0,V.info)("TODO: Support non-isolated groups."),Te.knockout&&(0,V.warn)("Knockout groups not supported.");const Pe=(0,G.getCurrentTransform)(Fe);if(Te.matrix&&Fe.transform(...Te.matrix),!Te.bbox)throw new Error("Bounding box is required.");let we=V.Util.getAxialAlignedBoundingBox(Te.bbox,(0,G.getCurrentTransform)(Fe));const Ie=[0,0,Fe.canvas.width,Fe.canvas.height];we=V.Util.intersect(we,Ie)||[0,0,0,0];const Be=Math.floor(we[0]),Ke=Math.floor(we[1]);let Ve=Math.max(Math.ceil(we[2])-Be,1),je=Math.max(Math.ceil(we[3])-Ke,1),Le=1,et=1;Ve>e&&(Le=Ve/e,Ve=e),je>e&&(et=je/e,je=e),this.current.startNewPathAndClipBox([0,0,Ve,je]);let Qe="groupAt"+this.groupLevel;Te.smask&&(Qe+="_smask_"+this.smaskCounter++%2);const Ue=this.cachedCanvases.getCanvas(Qe,Ve,je),$e=Ue.context;$e.scale(1/Le,1/et),$e.translate(-Be,-Ke),$e.transform(...Pe),Te.smask?this.smaskStack.push({canvas:Ue.canvas,context:$e,offsetX:Be,offsetY:Ke,scaleX:Le,scaleY:et,subtype:Te.smask.subtype,backdrop:Te.smask.backdrop,transferMap:Te.smask.transferMap||null,startTransformInverse:null}):(Fe.setTransform(1,0,0,1,0,0),Fe.translate(Be,Ke),Fe.scale(Le,et),Fe.save()),oe(Fe,$e),this.ctx=$e,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(Fe),this.groupLevel++}endGroup(Te){if(!this.contentVisible)return;this.groupLevel--;const Fe=this.ctx,Pe=this.groupStack.pop();if(this.ctx=Pe,this.ctx.imageSmoothingEnabled=!1,Te.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const we=(0,G.getCurrentTransform)(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...we);const Ie=V.Util.getAxialAlignedBoundingBox([0,0,Fe.canvas.width,Fe.canvas.height],we);this.ctx.drawImage(Fe.canvas,0,0),this.ctx.restore(),this.compose(Ie)}}beginAnnotation(Te,Fe,Pe,we,Ie){if(U(this,Ae,Ze).call(this),me(this.ctx,this.foregroundColor),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),Array.isArray(Fe)&&Fe.length===4){const Be=Fe[2]-Fe[0],Ke=Fe[3]-Fe[1];if(Ie&&this.annotationCanvasMap){Pe=Pe.slice(),Pe[4]-=Fe[0],Pe[5]-=Fe[1],Fe=Fe.slice(),Fe[0]=Fe[1]=0,Fe[2]=Be,Fe[3]=Ke;const[Ve,je]=V.Util.singularValueDecompose2dScale((0,G.getCurrentTransform)(this.ctx)),{viewportScale:Le}=this,et=Math.ceil(Be*this.outputScaleX*Le),Qe=Math.ceil(Ke*this.outputScaleY*Le);this.annotationCanvas=this.canvasFactory.create(et,Qe);const{canvas:Ue,context:$e}=this.annotationCanvas;this.annotationCanvasMap.set(Te,Ue),this.annotationCanvas.savedCtx=this.ctx,this.ctx=$e,this.ctx.setTransform(Ve,0,0,-je,0,Ke*je),me(this.ctx,this.foregroundColor)}else me(this.ctx,this.foregroundColor),this.ctx.rect(Fe[0],Fe[1],Be,Ke),this.ctx.clip(),this.endPath()}this.current=new ce(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...Pe),this.transform(...we)}endAnnotation(){this.annotationCanvas&&(this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(Te){if(!this.contentVisible)return;const Fe=Te.count;Te=this.getObject(Te.data,Te),Te.count=Fe;const Pe=this.ctx,we=this.processingType3;if(we&&(we.compiled===void 0&&(we.compiled=Q(Te)),we.compiled)){we.compiled(Pe);return}const Ie=this._createMaskCanvas(Te),Be=Ie.canvas;Pe.save(),Pe.setTransform(1,0,0,1,0,0),Pe.drawImage(Be,Ie.offsetX,Ie.offsetY),Pe.restore(),this.compose()}paintImageMaskXObjectRepeat(Te,Fe){let Pe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,we=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,Ie=arguments.length>4?arguments[4]:void 0,Be=arguments.length>5?arguments[5]:void 0;if(!this.contentVisible)return;Te=this.getObject(Te.data,Te);const Ke=this.ctx;Ke.save();const Ve=(0,G.getCurrentTransform)(Ke);Ke.transform(Fe,Pe,we,Ie,0,0);const je=this._createMaskCanvas(Te);Ke.setTransform(1,0,0,1,0,0);for(let Le=0,et=Be.length;LeVe?Ke/Ve:1,we=Be>Ve?Be/Ve:1}}this._cachedScaleForStroking=[Pe,we]}return this._cachedScaleForStroking}rescaleAndStroke(Te){const{ctx:Fe}=this,{lineWidth:Pe}=this.current,[we,Ie]=this.getScaleForStroking();if(Fe.lineWidth=Pe||1,we===1&&Ie===1){Fe.stroke();return}let Be,Ke,Ve;Te&&(Be=(0,G.getCurrentTransform)(Fe),Ke=Fe.getLineDash().slice(),Ve=Fe.lineDashOffset),Fe.scale(we,Ie);const je=Math.max(we,Ie);Fe.setLineDash(Fe.getLineDash().map(Le=>Le/je)),Fe.lineDashOffset/=je,Fe.stroke(),Te&&(Fe.setTransform(...Be),Fe.setLineDash(Ke),Fe.lineDashOffset=Ve)}isContentVisible(){for(let Te=this.markedContentStack.length-1;Te>=0;Te--)if(!this.markedContentStack[Te].visible)return!1;return!0}}m.CanvasGraphics=Ne;function Ze(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}for(const ze in V.OPS)Ne.prototype[ze]!==void 0&&(Ne.prototype[V.OPS[ze]]=Ne.prototype[ze])},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.TilingPattern=m.PathType=void 0,m.getShadingPattern=ae;var G=M(1),V=M(133),q=M(3);const $={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};m.PathType=$;function D(J,W){if(!W||q.isNodeJS)return;const X=W[2]-W[0],L=W[3]-W[1],Q=new Path2D;Q.rect(W[0],W[1],X,L),J.clip(Q)}class B{constructor(){this.constructor===B&&(0,G.unreachable)("Cannot initialize BaseShadingPattern.")}getPattern(){(0,G.unreachable)("Abstract method `getPattern` called.")}}class R extends B{constructor(W){super(),this._type=W[1],this._bbox=W[2],this._colorStops=W[3],this._p0=W[4],this._p1=W[5],this._r0=W[6],this._r1=W[7],this.matrix=null}_createGradient(W){let X;this._type==="axial"?X=W.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):this._type==="radial"&&(X=W.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const L of this._colorStops)X.addColorStop(L[0],L[1]);return X}getPattern(W,X,L,Q){let ce;if(Q===$.STROKE||Q===$.FILL){const de=X.current.getClippedPathBoundingBox(Q,(0,V.getCurrentTransform)(W))||[0,0,0,0],se=Math.ceil(de[2]-de[0])||1,oe=Math.ceil(de[3]-de[1])||1,me=X.cachedCanvases.getCanvas("pattern",se,oe,!0),Ee=me.context;Ee.clearRect(0,0,Ee.canvas.width,Ee.canvas.height),Ee.beginPath(),Ee.rect(0,0,Ee.canvas.width,Ee.canvas.height),Ee.translate(-de[0],-de[1]),L=G.Util.transform(L,[1,0,0,1,de[0],de[1]]),Ee.transform(...X.baseTransform),this.matrix&&Ee.transform(...this.matrix),D(Ee,this._bbox),Ee.fillStyle=this._createGradient(Ee),Ee.fill(),ce=W.createPattern(me.canvas,"no-repeat");const ke=new DOMMatrix(L);try{ce.setTransform(ke)}catch(xe){(0,G.warn)(`RadialAxialShadingPattern.getPattern: "${xe==null?void 0:xe.message}".`)}}else D(W,this._bbox),ce=this._createGradient(W);return ce}}function U(J,W,X,L,Q,ce,de,se){const oe=W.coords,me=W.colors,Ee=J.data,ke=J.width*4;let xe;oe[X+1]>oe[L+1]&&(xe=X,X=L,L=xe,xe=ce,ce=de,de=xe),oe[L+1]>oe[Q+1]&&(xe=L,L=Q,Q=xe,xe=de,de=se,se=xe),oe[X+1]>oe[L+1]&&(xe=X,X=L,L=xe,xe=ce,ce=de,de=xe);const fe=(oe[X]+W.offsetX)*W.scaleX,ve=(oe[X+1]+W.offsetY)*W.scaleY,ye=(oe[L]+W.offsetX)*W.scaleX,Ce=(oe[L+1]+W.offsetY)*W.scaleY,pe=(oe[Q]+W.offsetX)*W.scaleX,_e=(oe[Q+1]+W.offsetY)*W.scaleY;if(ve>=_e)return;const Ge=me[ce],Ae=me[ce+1],Ne=me[ce+2],Ze=me[de],ze=me[de+1],Te=me[de+2],Fe=me[se],Pe=me[se+1],we=me[se+2],Ie=Math.round(ve),Be=Math.round(_e);let Ke,Ve,je,Le,et,Qe,Ue,$e;for(let Ye=Ie;Ye<=Be;Ye++){if(Ye_e?ct=1:Ce===_e?ct=0:ct=(Ce-Ye)/(Ce-_e),Ke=ye-(ye-pe)*ct,Ve=Ze-(Ze-Fe)*ct,je=ze-(ze-Pe)*ct,Le=Te-(Te-we)*ct}let tt;Ye_e?tt=1:tt=(ve-Ye)/(ve-_e),et=fe-(fe-pe)*tt,Qe=Ge-(Ge-Fe)*tt,Ue=Ae-(Ae-Pe)*tt,$e=Ne-(Ne-we)*tt;const ot=Math.round(Math.min(Ke,et)),st=Math.round(Math.max(Ke,et));let dt=ke*Ye+ot*4;for(let ct=ot;ct<=st;ct++)tt=(Ke-ct)/(Ke-et),tt<0?tt=0:tt>1&&(tt=1),Ee[dt++]=Ve-(Ve-Qe)*tt|0,Ee[dt++]=je-(je-Ue)*tt|0,Ee[dt++]=Le-(Le-$e)*tt|0,Ee[dt++]=255}}function K(J,W,X){const L=W.coords,Q=W.colors;let ce,de;switch(W.type){case"lattice":const se=W.verticesPerRow,oe=Math.floor(L.length/se)-1,me=se-1;for(ce=0;ce=Q?ce=Q:L=ce/W,{scale:L,size:ce}}clipBbox(W,X,L,Q,ce){const de=Q-X,se=ce-L;W.ctx.rect(X,L,de,se),W.current.updateRectMinMax((0,V.getCurrentTransform)(W.ctx),[X,L,Q,ce]),W.clip(),W.endPath()}setFillAndStrokeStyleToContext(W,X,L){const Q=W.ctx,ce=W.current;switch(X){case ie.COLORED:const de=this.ctx;Q.fillStyle=de.fillStyle,Q.strokeStyle=de.strokeStyle,ce.fillColor=de.fillStyle,ce.strokeColor=de.strokeStyle;break;case ie.UNCOLORED:const se=G.Util.makeHexColor(L[0],L[1],L[2]);Q.fillStyle=se,Q.strokeStyle=se,ce.fillColor=se,ce.strokeColor=se;break;default:throw new G.FormatError(`Unsupported paint type: ${X}`)}}getPattern(W,X,L,Q){let ce=L;Q!==$.SHADING&&(ce=G.Util.transform(ce,X.baseTransform),this.matrix&&(ce=G.Util.transform(ce,this.matrix)));const de=this.createPatternCanvas(X);let se=new DOMMatrix(ce);se=se.translate(de.offsetX,de.offsetY),se=se.scale(1/de.scaleX,1/de.scaleY);const oe=W.createPattern(de.canvas,"repeat");try{oe.setTransform(se)}catch(me){(0,G.warn)(`TilingPattern.getPattern: "${me==null?void 0:me.message}".`)}return oe}}m.TilingPattern=he},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.applyMaskImageData=V;var G=M(1);function V(q){let{src:$,srcPos:D=0,dest:B,destPos:R=0,width:U,height:K,inverseDecode:z=!1}=q;const e=G.FeatureTest.isLittleEndian?4278190080:255,[ae,ie]=z?[0,e]:[e,0],he=U>>3,J=U&7,W=$.length;B=new Uint32Array(B.buffer);for(let X=0;X{Object.defineProperty(m,"__esModule",{value:!0}),m.GlobalWorkerOptions=void 0;const M=Object.create(null);m.GlobalWorkerOptions=M,M.workerPort=M.workerPort===void 0?null:M.workerPort,M.workerSrc=M.workerSrc===void 0?"":M.workerSrc},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.MessageHandler=void 0;var G=M(1);const V={UNKNOWN:0,DATA:1,ERROR:2},q={UNKNOWN:0,CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function $(B){switch(B instanceof Error||typeof B=="object"&&B!==null||(0,G.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),B.name){case"AbortException":return new G.AbortException(B.message);case"MissingPDFException":return new G.MissingPDFException(B.message);case"PasswordException":return new G.PasswordException(B.message,B.code);case"UnexpectedResponseException":return new G.UnexpectedResponseException(B.message,B.status);case"UnknownErrorException":return new G.UnknownErrorException(B.message,B.details);default:return new G.UnknownErrorException(B.message,B.toString())}}class D{constructor(R,U,K){this.sourceName=R,this.targetName=U,this.comObj=K,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=z=>{const e=z.data;if(e.targetName!==this.sourceName)return;if(e.stream){this._processStreamMessage(e);return}if(e.callback){const ie=e.callbackId,he=this.callbackCapabilities[ie];if(!he)throw new Error(`Cannot resolve callback ${ie}`);if(delete this.callbackCapabilities[ie],e.callback===V.DATA)he.resolve(e.data);else if(e.callback===V.ERROR)he.reject($(e.reason));else throw new Error("Unexpected callback case");return}const ae=this.actionHandler[e.action];if(!ae)throw new Error(`Unknown action from worker: ${e.action}`);if(e.callbackId){const ie=this.sourceName,he=e.sourceName;new Promise(function(J){J(ae(e.data))}).then(function(J){K.postMessage({sourceName:ie,targetName:he,callback:V.DATA,callbackId:e.callbackId,data:J})},function(J){K.postMessage({sourceName:ie,targetName:he,callback:V.ERROR,callbackId:e.callbackId,reason:$(J)})});return}if(e.streamId){this._createStreamSink(e);return}ae(e.data)},K.addEventListener("message",this._onComObjOnMessage)}on(R,U){const K=this.actionHandler;if(K[R])throw new Error(`There is already an actionName called "${R}"`);K[R]=U}send(R,U,K){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:R,data:U},K)}sendWithPromise(R,U,K){const z=this.callbackId++,e=(0,G.createPromiseCapability)();this.callbackCapabilities[z]=e;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:R,callbackId:z,data:U},K)}catch(ae){e.reject(ae)}return e.promise}sendWithStream(R,U,K,z){const e=this.streamId++,ae=this.sourceName,ie=this.targetName,he=this.comObj;return new ReadableStream({start:J=>{const W=(0,G.createPromiseCapability)();return this.streamControllers[e]={controller:J,startCall:W,pullCall:null,cancelCall:null,isClosed:!1},he.postMessage({sourceName:ae,targetName:ie,action:R,streamId:e,data:U,desiredSize:J.desiredSize},z),W.promise},pull:J=>{const W=(0,G.createPromiseCapability)();return this.streamControllers[e].pullCall=W,he.postMessage({sourceName:ae,targetName:ie,stream:q.PULL,streamId:e,desiredSize:J.desiredSize}),W.promise},cancel:J=>{(0,G.assert)(J instanceof Error,"cancel must have a valid reason");const W=(0,G.createPromiseCapability)();return this.streamControllers[e].cancelCall=W,this.streamControllers[e].isClosed=!0,he.postMessage({sourceName:ae,targetName:ie,stream:q.CANCEL,streamId:e,reason:$(J)}),W.promise}},K)}_createStreamSink(R){const U=R.streamId,K=this.sourceName,z=R.sourceName,e=this.comObj,ae=this,ie=this.actionHandler[R.action],he={enqueue(J){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,X=arguments.length>2?arguments[2]:void 0;if(this.isCancelled)return;const L=this.desiredSize;this.desiredSize-=W,L>0&&this.desiredSize<=0&&(this.sinkCapability=(0,G.createPromiseCapability)(),this.ready=this.sinkCapability.promise),e.postMessage({sourceName:K,targetName:z,stream:q.ENQUEUE,streamId:U,chunk:J},X)},close(){this.isCancelled||(this.isCancelled=!0,e.postMessage({sourceName:K,targetName:z,stream:q.CLOSE,streamId:U}),delete ae.streamSinks[U])},error(J){(0,G.assert)(J instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,e.postMessage({sourceName:K,targetName:z,stream:q.ERROR,streamId:U,reason:$(J)}))},sinkCapability:(0,G.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:R.desiredSize,ready:null};he.sinkCapability.resolve(),he.ready=he.sinkCapability.promise,this.streamSinks[U]=he,new Promise(function(J){J(ie(R.data,he))}).then(function(){e.postMessage({sourceName:K,targetName:z,stream:q.START_COMPLETE,streamId:U,success:!0})},function(J){e.postMessage({sourceName:K,targetName:z,stream:q.START_COMPLETE,streamId:U,reason:$(J)})})}_processStreamMessage(R){const U=R.streamId,K=this.sourceName,z=R.sourceName,e=this.comObj,ae=this.streamControllers[U],ie=this.streamSinks[U];switch(R.stream){case q.START_COMPLETE:R.success?ae.startCall.resolve():ae.startCall.reject($(R.reason));break;case q.PULL_COMPLETE:R.success?ae.pullCall.resolve():ae.pullCall.reject($(R.reason));break;case q.PULL:if(!ie){e.postMessage({sourceName:K,targetName:z,stream:q.PULL_COMPLETE,streamId:U,success:!0});break}ie.desiredSize<=0&&R.desiredSize>0&&ie.sinkCapability.resolve(),ie.desiredSize=R.desiredSize,new Promise(function(he){he(ie.onPull&&ie.onPull())}).then(function(){e.postMessage({sourceName:K,targetName:z,stream:q.PULL_COMPLETE,streamId:U,success:!0})},function(he){e.postMessage({sourceName:K,targetName:z,stream:q.PULL_COMPLETE,streamId:U,reason:$(he)})});break;case q.ENQUEUE:if((0,G.assert)(ae,"enqueue should have stream controller"),ae.isClosed)break;ae.controller.enqueue(R.chunk);break;case q.CLOSE:if((0,G.assert)(ae,"close should have stream controller"),ae.isClosed)break;ae.isClosed=!0,ae.controller.close(),this._deleteStreamController(ae,U);break;case q.ERROR:(0,G.assert)(ae,"error should have stream controller"),ae.controller.error($(R.reason)),this._deleteStreamController(ae,U);break;case q.CANCEL_COMPLETE:R.success?ae.cancelCall.resolve():ae.cancelCall.reject($(R.reason)),this._deleteStreamController(ae,U);break;case q.CANCEL:if(!ie)break;new Promise(function(he){he(ie.onCancel&&ie.onCancel($(R.reason)))}).then(function(){e.postMessage({sourceName:K,targetName:z,stream:q.CANCEL_COMPLETE,streamId:U,success:!0})},function(he){e.postMessage({sourceName:K,targetName:z,stream:q.CANCEL_COMPLETE,streamId:U,reason:$(he)})}),ie.sinkCapability.reject($(R.reason)),ie.isCancelled=!0,delete this.streamSinks[U];break;default:throw new Error("Unexpected stream case")}}async _deleteStreamController(R,U){await Promise.allSettled([R.startCall&&R.startCall.promise,R.pullCall&&R.pullCall.promise,R.cancelCall&&R.cancelCall.promise]),delete this.streamControllers[U]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}m.MessageHandler=D},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.Metadata=void 0;var G=M(1);function V(ae,ie,he){q(ae,ie),ie.set(ae,he)}function q(ae,ie){if(ie.has(ae))throw new TypeError("Cannot initialize the same private elements twice on an object")}function $(ae,ie){var he=R(ae,ie,"get");return D(ae,he)}function D(ae,ie){return ie.get?ie.get.call(ae):ie.value}function B(ae,ie,he){var J=R(ae,ie,"set");return U(ae,J,he),he}function R(ae,ie,he){if(!ie.has(ae))throw new TypeError("attempted to "+he+" private field on non-instance");return ie.get(ae)}function U(ae,ie,he){if(ie.set)ie.set.call(ae,he);else{if(!ie.writable)throw new TypeError("attempted to set read only private field");ie.value=he}}var K=new WeakMap,z=new WeakMap;class e{constructor(ie){let{parsedData:he,rawData:J}=ie;V(this,K,{writable:!0,value:void 0}),V(this,z,{writable:!0,value:void 0}),B(this,K,he),B(this,z,J)}getRaw(){return $(this,z)}get(ie){var he;return(he=$(this,K).get(ie))!==null&&he!==void 0?he:null}getAll(){return(0,G.objectFromMap)($(this,K))}has(ie){return $(this,K).has(ie)}}m.Metadata=e},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.OptionalContentConfig=void 0;var G=M(1);function V(de,se){D(de,se),se.add(de)}function q(de,se,oe){if(!se.has(de))throw new TypeError("attempted to get private field on non-instance");return oe}function $(de,se,oe){D(de,se),se.set(de,oe)}function D(de,se){if(se.has(de))throw new TypeError("Cannot initialize the same private elements twice on an object")}function B(de,se,oe){var me=K(de,se,"set");return R(de,me,oe),oe}function R(de,se,oe){if(se.set)se.set.call(de,oe);else{if(!se.writable)throw new TypeError("attempted to set read only private field");se.value=oe}}function U(de,se){var oe=K(de,se,"get");return z(de,oe)}function K(de,se,oe){if(!se.has(de))throw new TypeError("attempted to "+oe+" private field on non-instance");return se.get(de)}function z(de,se){return se.get?se.get.call(de):se.value}const e=Symbol("INTERNAL");var ae=new WeakMap;class ie{constructor(se,oe){$(this,ae,{writable:!0,value:!0}),this.name=se,this.intent=oe}get visible(){return U(this,ae)}_setVisible(se,oe){se!==e&&(0,G.unreachable)("Internal method `_setVisible` called."),B(this,ae,oe)}}var he=new WeakMap,J=new WeakMap,W=new WeakMap,X=new WeakMap,L=new WeakSet;class Q{constructor(se){if(V(this,L),$(this,he,{writable:!0,value:!0}),$(this,J,{writable:!0,value:new Map}),$(this,W,{writable:!0,value:null}),$(this,X,{writable:!0,value:null}),this.name=null,this.creator=null,se!==null){this.name=se.name,this.creator=se.creator,B(this,X,se.order);for(const oe of se.groups)U(this,J).set(oe.id,new ie(oe.name,oe.intent));if(se.baseState==="OFF")for(const oe of U(this,J).values())oe._setVisible(e,!1);for(const oe of se.on)U(this,J).get(oe)._setVisible(e,!0);for(const oe of se.off)U(this,J).get(oe)._setVisible(e,!1);B(this,W,new Map);for(const[oe,me]of U(this,J))U(this,W).set(oe,me.visible)}}isVisible(se){if(U(this,J).size===0)return!0;if(!se)return(0,G.warn)("Optional content group not defined."),!0;if(se.type==="OCG")return U(this,J).has(se.id)?U(this,J).get(se.id).visible:((0,G.warn)(`Optional content group not found: ${se.id}`),!0);if(se.type==="OCMD"){if(se.expression)return q(this,L,ce).call(this,se.expression);if(!se.policy||se.policy==="AnyOn"){for(const oe of se.ids){if(!U(this,J).has(oe))return(0,G.warn)(`Optional content group not found: ${oe}`),!0;if(U(this,J).get(oe).visible)return!0}return!1}else if(se.policy==="AllOn"){for(const oe of se.ids){if(!U(this,J).has(oe))return(0,G.warn)(`Optional content group not found: ${oe}`),!0;if(!U(this,J).get(oe).visible)return!1}return!0}else if(se.policy==="AnyOff"){for(const oe of se.ids){if(!U(this,J).has(oe))return(0,G.warn)(`Optional content group not found: ${oe}`),!0;if(!U(this,J).get(oe).visible)return!0}return!1}else if(se.policy==="AllOff"){for(const oe of se.ids){if(!U(this,J).has(oe))return(0,G.warn)(`Optional content group not found: ${oe}`),!0;if(U(this,J).get(oe).visible)return!1}return!0}return(0,G.warn)(`Unknown optional content policy ${se.policy}.`),!0}return(0,G.warn)(`Unknown group type ${se.type}.`),!0}setVisibility(se){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;if(!U(this,J).has(se)){(0,G.warn)(`Optional content group not found: ${se}`);return}U(this,J).get(se)._setVisible(e,!!oe),B(this,he,null)}get hasInitialVisibility(){if(U(this,he)!==null)return U(this,he);for(const[se,oe]of U(this,J)){const me=U(this,W).get(se);if(oe.visible!==me)return B(this,he,!1)}return B(this,he,!0)}getOrder(){return U(this,J).size?U(this,X)?U(this,X).slice():[...U(this,J).keys()]:null}getGroups(){return U(this,J).size>0?(0,G.objectFromMap)(U(this,J)):null}getGroup(se){return U(this,J).get(se)||null}}m.OptionalContentConfig=Q;function ce(de){const se=de.length;if(se<2)return!0;const oe=de[0];for(let me=1;me{Object.defineProperty(m,"__esModule",{value:!0}),m.PDFDataTransportStream=void 0;var G=M(1),V=M(133);class q{constructor(R,U){(0,G.assert)(U,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.'),this._queuedChunks=[],this._progressiveDone=R.progressiveDone||!1,this._contentDispositionFilename=R.contentDispositionFilename||null;const K=R.initialData;if((K==null?void 0:K.length)>0){const z=new Uint8Array(K).buffer;this._queuedChunks.push(z)}this._pdfDataRangeTransport=U,this._isStreamingSupported=!R.disableStream,this._isRangeSupported=!R.disableRange,this._contentLength=R.length,this._fullRequestReader=null,this._rangeReaders=[],this._pdfDataRangeTransport.addRangeListener((z,e)=>{this._onReceiveData({begin:z,chunk:e})}),this._pdfDataRangeTransport.addProgressListener((z,e)=>{this._onProgress({loaded:z,total:e})}),this._pdfDataRangeTransport.addProgressiveReadListener(z=>{this._onReceiveData({chunk:z})}),this._pdfDataRangeTransport.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),this._pdfDataRangeTransport.transportReady()}_onReceiveData(R){const U=new Uint8Array(R.chunk).buffer;if(R.begin===void 0)this._fullRequestReader?this._fullRequestReader._enqueue(U):this._queuedChunks.push(U);else{const K=this._rangeReaders.some(function(z){return z._begin!==R.begin?!1:(z._enqueue(U),!0)});(0,G.assert)(K,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){var R,U;return(R=(U=this._fullRequestReader)===null||U===void 0?void 0:U._loaded)!==null&&R!==void 0?R:0}_onProgress(R){if(R.total===void 0){const U=this._rangeReaders[0];U!=null&&U.onProgress&&U.onProgress({loaded:R.loaded})}else{const U=this._fullRequestReader;U!=null&&U.onProgress&&U.onProgress({loaded:R.loaded,total:R.total})}}_onProgressiveDone(){this._fullRequestReader&&this._fullRequestReader.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(R){const U=this._rangeReaders.indexOf(R);U>=0&&this._rangeReaders.splice(U,1)}getFullReader(){(0,G.assert)(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const R=this._queuedChunks;return this._queuedChunks=null,new $(this,R,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(R,U){if(U<=this._progressiveDataLength)return null;const K=new D(this,R,U);return this._pdfDataRangeTransport.requestDataRange(R,U),this._rangeReaders.push(K),K}cancelAllRequests(R){this._fullRequestReader&&this._fullRequestReader.cancel(R);for(const U of this._rangeReaders.slice(0))U.cancel(R);this._pdfDataRangeTransport.abort()}}m.PDFDataTransportStream=q;class ${constructor(R,U){let K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,z=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;this._stream=R,this._done=K||!1,this._filename=(0,V.isPdfFile)(z)?z:null,this._queuedChunks=U||[],this._loaded=0;for(const e of this._queuedChunks)this._loaded+=e.byteLength;this._requests=[],this._headersReady=Promise.resolve(),R._fullRequestReader=this,this.onProgress=null}_enqueue(R){this._done||(this._requests.length>0?this._requests.shift().resolve({value:R,done:!1}):this._queuedChunks.push(R),this._loaded+=R.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const R=(0,G.createPromiseCapability)();return this._requests.push(R),R.promise}cancel(R){this._done=!0;for(const U of this._requests)U.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class D{constructor(R,U,K){this._stream=R,this._begin=U,this._end=K,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(R){if(!this._done){if(this._requests.length===0)this._queuedChunk=R;else{this._requests.shift().resolve({value:R,done:!1});for(const K of this._requests)K.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const U=this._queuedChunk;return this._queuedChunk=null,{value:U,done:!1}}if(this._done)return{value:void 0,done:!0};const R=(0,G.createPromiseCapability)();return this._requests.push(R),R.promise}cancel(R){this._done=!0;for(const U of this._requests)U.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}},(k,m)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.XfaText=void 0;class M{static textContent(V){const q=[],$={items:q,styles:Object.create(null)};function D(B){var R;if(!B)return;let U=null;const K=B.name;if(K==="#text")U=B.value;else if(M.shouldBuildText(K))B!=null&&(R=B.attributes)!==null&&R!==void 0&&R.textContent?U=B.attributes.textContent:B.value&&(U=B.value);else return;if(U!==null&&q.push({str:U}),!!B.children)for(const z of B.children)D(z)}return D(V),$}static shouldBuildText(V){return!(V==="textarea"||V==="input"||V==="option"||V==="select")}}m.XfaText=M},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.NodeStandardFontDataFactory=m.NodeCanvasFactory=m.NodeCMapReaderFactory=void 0;var G=M(134);const V=function(B){return new Promise((R,U)=>{require$$7.readFile(B,(z,e)=>{if(z||!e){U(new Error(z));return}R(new Uint8Array(e))})})};class q extends G.BaseCanvasFactory{_createCanvas(R,U){return require$$7.createCanvas(R,U)}}m.NodeCanvasFactory=q;class $ extends G.BaseCMapReaderFactory{_fetchData(R,U){return V(R).then(K=>({cMapData:K,compressionType:U}))}}m.NodeCMapReaderFactory=$;class D extends G.BaseStandardFontDataFactory{_fetchData(R){return V(R)}}m.NodeStandardFontDataFactory=D},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.AnnotationEditorLayer=void 0;var G=M(132),V=M(1),q=M(148),$=M(149);function D(pe,_e){U(pe,_e),_e.add(pe)}function B(pe,_e,Ge){return _e in pe?Object.defineProperty(pe,_e,{value:Ge,enumerable:!0,configurable:!0,writable:!0}):pe[_e]=Ge,pe}function R(pe,_e,Ge){U(pe,_e),_e.set(pe,Ge)}function U(pe,_e){if(_e.has(pe))throw new TypeError("Cannot initialize the same private elements twice on an object")}function K(pe,_e,Ge){if(!_e.has(pe))throw new TypeError("attempted to get private field on non-instance");return Ge}function z(pe,_e){var Ge=ie(pe,_e,"get");return e(pe,Ge)}function e(pe,_e){return _e.get?_e.get.call(pe):_e.value}function ae(pe,_e,Ge){var Ae=ie(pe,_e,"set");return he(pe,Ae,Ge),Ge}function ie(pe,_e,Ge){if(!_e.has(pe))throw new TypeError("attempted to "+Ge+" private field on non-instance");return _e.get(pe)}function he(pe,_e,Ge){if(_e.set)_e.set.call(pe,Ge);else{if(!_e.writable)throw new TypeError("attempted to set read only private field");_e.value=Ge}}var J=new WeakMap,W=new WeakMap,X=new WeakMap,L=new WeakMap,Q=new WeakMap,ce=new WeakMap,de=new WeakMap,se=new WeakMap,oe=new WeakSet,me=new WeakSet,Ee=new WeakSet,ke=new WeakSet;class xe{constructor(_e){D(this,ke),D(this,Ee),D(this,me),D(this,oe),R(this,J,{writable:!0,value:void 0}),R(this,W,{writable:!0,value:!1}),R(this,X,{writable:!0,value:this.pointerup.bind(this)}),R(this,L,{writable:!0,value:this.pointerdown.bind(this)}),R(this,Q,{writable:!0,value:new Map}),R(this,ce,{writable:!0,value:!1}),R(this,de,{writable:!0,value:!1}),R(this,se,{writable:!0,value:void 0}),xe._initialized||(xe._initialized=!0,q.FreeTextEditor.initialize(_e.l10n),$.InkEditor.initialize(_e.l10n),_e.uiManager.registerEditorTypes([q.FreeTextEditor,$.InkEditor])),ae(this,se,_e.uiManager),this.annotationStorage=_e.annotationStorage,this.pageIndex=_e.pageIndex,this.div=_e.div,ae(this,J,_e.accessibilityManager),z(this,se).addLayer(this)}updateToolbar(_e){z(this,se).updateToolbar(_e)}updateMode(){let _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:z(this,se).getMode();K(this,ke,Ce).call(this),_e===V.AnnotationEditorType.INK?(this.addInkEditorIfNeeded(!1),this.disableClick()):this.enableClick(),z(this,se).unselectAll()}addInkEditorIfNeeded(_e){if(!_e&&z(this,se).getMode()!==V.AnnotationEditorType.INK)return;if(!_e){for(const Ae of z(this,Q).values())if(Ae.isEmpty()){Ae.setInBackground();return}}K(this,Ee,ye).call(this,{offsetX:0,offsetY:0}).setInBackground()}setEditingState(_e){z(this,se).setEditingState(_e)}addCommands(_e){z(this,se).addCommands(_e)}enable(){this.div.style.pointerEvents="auto";for(const _e of z(this,Q).values())_e.enableEditing()}disable(){this.div.style.pointerEvents="none";for(const _e of z(this,Q).values())_e.disableEditing()}setActiveEditor(_e){z(this,se).getActive()!==_e&&z(this,se).setActiveEditor(_e)}enableClick(){this.div.addEventListener("pointerdown",z(this,L)),this.div.addEventListener("pointerup",z(this,X))}disableClick(){this.div.removeEventListener("pointerdown",z(this,L)),this.div.removeEventListener("pointerup",z(this,X))}attach(_e){z(this,Q).set(_e.id,_e)}detach(_e){var Ge;z(this,Q).delete(_e.id),(Ge=z(this,J))===null||Ge===void 0||Ge.removePointerInTextLayer(_e.contentDiv)}remove(_e){z(this,se).removeEditor(_e),this.detach(_e),this.annotationStorage.remove(_e.id),_e.div.style.display="none",setTimeout(()=>{_e.div.style.display="",_e.div.remove(),_e.isAttachedToDOM=!1,document.activeElement===document.body&&z(this,se).focusMainContainer()},0),z(this,de)||this.addInkEditorIfNeeded(!1)}add(_e){if(K(this,oe,fe).call(this,_e),z(this,se).addEditor(_e),this.attach(_e),!_e.isAttachedToDOM){const Ge=_e.render();this.div.append(Ge),_e.isAttachedToDOM=!0}this.moveEditorInDOM(_e),_e.onceAdded(),this.addToAnnotationStorage(_e)}moveEditorInDOM(_e){var Ge;(Ge=z(this,J))===null||Ge===void 0||Ge.moveElementInDOM(this.div,_e.div,_e.contentDiv,!0)}addToAnnotationStorage(_e){!_e.isEmpty()&&!this.annotationStorage.has(_e.id)&&this.annotationStorage.setValue(_e.id,_e)}addOrRebuild(_e){_e.needsToBeRebuilt()?_e.rebuild():this.add(_e)}addANewEditor(_e){const Ge=()=>{this.addOrRebuild(_e)},Ae=()=>{_e.remove()};this.addCommands({cmd:Ge,undo:Ae,mustExec:!0})}addUndoableEditor(_e){const Ge=()=>{this.addOrRebuild(_e)},Ae=()=>{_e.remove()};this.addCommands({cmd:Ge,undo:Ae,mustExec:!1})}getNextId(){return z(this,se).getId()}deserialize(_e){switch(_e.annotationType){case V.AnnotationEditorType.FREETEXT:return q.FreeTextEditor.deserialize(_e,this);case V.AnnotationEditorType.INK:return $.InkEditor.deserialize(_e,this)}return null}setSelected(_e){z(this,se).setSelected(_e)}toggleSelected(_e){z(this,se).toggleSelected(_e)}isSelected(_e){return z(this,se).isSelected(_e)}unselect(_e){z(this,se).unselect(_e)}pointerup(_e){const Ge=G.KeyboardManager.platform.isMac;if(!(_e.button!==0||_e.ctrlKey&&Ge)&&_e.target===this.div&&z(this,ce)){if(ae(this,ce,!1),!z(this,W)){ae(this,W,!0);return}K(this,Ee,ye).call(this,_e)}}pointerdown(_e){const Ge=G.KeyboardManager.platform.isMac;if(_e.button!==0||_e.ctrlKey&&Ge||_e.target!==this.div)return;ae(this,ce,!0);const Ae=z(this,se).getActive();ae(this,W,!Ae||Ae.isEmpty())}drop(_e){const Ge=_e.dataTransfer.getData("text/plain"),Ae=z(this,se).getEditor(Ge);if(!Ae)return;_e.preventDefault(),_e.dataTransfer.dropEffect="move",K(this,oe,fe).call(this,Ae);const Ne=this.div.getBoundingClientRect(),Ze=_e.clientX-Ne.x,ze=_e.clientY-Ne.y;Ae.translate(Ze-Ae.startX,ze-Ae.startY),this.moveEditorInDOM(Ae),Ae.div.focus()}dragover(_e){_e.preventDefault()}destroy(){var _e;((_e=z(this,se).getActive())===null||_e===void 0?void 0:_e.parent)===this&&z(this,se).setActiveEditor(null);for(const Ae of z(this,Q).values()){var Ge;(Ge=z(this,J))===null||Ge===void 0||Ge.removePointerInTextLayer(Ae.contentDiv),Ae.isAttachedToDOM=!1,Ae.div.remove(),Ae.parent=null}this.div=null,z(this,Q).clear(),z(this,se).removeLayer(this)}render(_e){this.viewport=_e.viewport,(0,G.bindEvents)(this,this.div,["dragover","drop"]),this.setDimensions();for(const Ge of z(this,se).getEditors(this.pageIndex))this.add(Ge);this.updateMode()}update(_e){this.viewport=_e.viewport,this.setDimensions(),this.updateMode()}get scaleFactor(){return this.viewport.scale}get pageDimensions(){const[_e,Ge,Ae,Ne]=this.viewport.viewBox,Ze=Ae-_e,ze=Ne-Ge;return[Ze,ze]}get viewportBaseDimensions(){const{width:_e,height:Ge,rotation:Ae}=this.viewport;return Ae%180===0?[_e,Ge]:[Ge,_e]}setDimensions(){const{width:_e,height:Ge,rotation:Ae}=this.viewport,Ne=Ae%180!==0,Ze=Math.floor(_e)+"px",ze=Math.floor(Ge)+"px";this.div.style.width=Ne?ze:Ze,this.div.style.height=Ne?Ze:ze,this.div.setAttribute("data-main-rotation",Ae)}}m.AnnotationEditorLayer=xe;function fe(pe){var _e;pe.parent!==this&&(this.attach(pe),pe.pageIndex=this.pageIndex,(_e=pe.parent)===null||_e===void 0||_e.detach(pe),pe.parent=this,pe.div&&pe.isAttachedToDOM&&(pe.div.remove(),this.div.append(pe.div)))}function ve(pe){switch(z(this,se).getMode()){case V.AnnotationEditorType.FREETEXT:return new q.FreeTextEditor(pe);case V.AnnotationEditorType.INK:return new $.InkEditor(pe)}return null}function ye(pe){const _e=this.getNextId(),Ge=K(this,me,ve).call(this,{parent:this,id:_e,x:pe.offsetX,y:pe.offsetY});return Ge&&this.add(Ge),Ge}function Ce(){ae(this,de,!0);for(const pe of z(this,Q).values())pe.isEmpty()&&pe.remove();ae(this,de,!1)}B(xe,"_initialized",!1)},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.FreeTextEditor=void 0;var G=M(1),V=M(132),q=M(131);function $(ye,Ce){R(ye,Ce),Ce.add(ye)}function D(ye,Ce,pe){return Ce in ye?Object.defineProperty(ye,Ce,{value:pe,enumerable:!0,configurable:!0,writable:!0}):ye[Ce]=pe,ye}function B(ye,Ce,pe){R(ye,Ce),Ce.set(ye,pe)}function R(ye,Ce){if(Ce.has(ye))throw new TypeError("Cannot initialize the same private elements twice on an object")}function U(ye,Ce){var pe=ae(ye,Ce,"get");return K(ye,pe)}function K(ye,Ce){return Ce.get?Ce.get.call(ye):Ce.value}function z(ye,Ce,pe){if(!Ce.has(ye))throw new TypeError("attempted to get private field on non-instance");return pe}function e(ye,Ce,pe){var _e=ae(ye,Ce,"set");return ie(ye,_e,pe),pe}function ae(ye,Ce,pe){if(!Ce.has(ye))throw new TypeError("attempted to "+pe+" private field on non-instance");return Ce.get(ye)}function ie(ye,Ce,pe){if(Ce.set)Ce.set.call(ye,pe);else{if(!Ce.writable)throw new TypeError("attempted to set read only private field");Ce.value=pe}}var he=new WeakMap,J=new WeakMap,W=new WeakMap,X=new WeakMap,L=new WeakMap,Q=new WeakMap,ce=new WeakMap,de=new WeakSet,se=new WeakSet,oe=new WeakSet,me=new WeakSet;class Ee extends q.AnnotationEditor{constructor(Ce){super({...Ce,name:"freeTextEditor"}),$(this,me),$(this,oe),$(this,se),$(this,de),B(this,he,{writable:!0,value:this.editorDivBlur.bind(this)}),B(this,J,{writable:!0,value:this.editorDivFocus.bind(this)}),B(this,W,{writable:!0,value:this.editorDivKeydown.bind(this)}),B(this,X,{writable:!0,value:void 0}),B(this,L,{writable:!0,value:""}),B(this,Q,{writable:!0,value:!1}),B(this,ce,{writable:!0,value:void 0}),e(this,X,Ce.color||Ee._defaultColor||q.AnnotationEditor._defaultLineColor),e(this,ce,Ce.fontSize||Ee._defaultFontSize)}static initialize(Ce){this._l10nPromise=new Map(["free_text_default_content","editor_free_text_aria_label"].map(_e=>[_e,Ce.get(_e)]));const pe=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(pe.getPropertyValue("--freetext-padding"))}static updateDefaultParams(Ce,pe){switch(Ce){case G.AnnotationEditorParamsType.FREETEXT_SIZE:Ee._defaultFontSize=pe;break;case G.AnnotationEditorParamsType.FREETEXT_COLOR:Ee._defaultColor=pe;break}}updateParams(Ce,pe){switch(Ce){case G.AnnotationEditorParamsType.FREETEXT_SIZE:z(this,de,ke).call(this,pe);break;case G.AnnotationEditorParamsType.FREETEXT_COLOR:z(this,se,xe).call(this,pe);break}}static get defaultPropertiesToUpdate(){return[[G.AnnotationEditorParamsType.FREETEXT_SIZE,Ee._defaultFontSize],[G.AnnotationEditorParamsType.FREETEXT_COLOR,Ee._defaultColor||q.AnnotationEditor._defaultLineColor]]}get propertiesToUpdate(){return[[G.AnnotationEditorParamsType.FREETEXT_SIZE,U(this,ce)],[G.AnnotationEditorParamsType.FREETEXT_COLOR,U(this,X)]]}getInitialTranslation(){return[-Ee._internalPadding*this.parent.scaleFactor,-(Ee._internalPadding+U(this,ce))*this.parent.scaleFactor]}rebuild(){super.rebuild(),this.div!==null&&(this.isAttachedToDOM||this.parent.add(this))}enableEditMode(){this.isInEditMode()||(this.parent.setEditingState(!1),this.parent.updateToolbar(G.AnnotationEditorType.FREETEXT),super.enableEditMode(),this.enableEditing(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this.div.draggable=!1,this.editorDiv.addEventListener("keydown",U(this,W)),this.editorDiv.addEventListener("focus",U(this,J)),this.editorDiv.addEventListener("blur",U(this,he)))}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.disableEditing(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.draggable=!0,this.editorDiv.removeEventListener("keydown",U(this,W)),this.editorDiv.removeEventListener("focus",U(this,J)),this.editorDiv.removeEventListener("blur",U(this,he)),this.div.focus(),this.isEditing=!1)}focusin(Ce){super.focusin(Ce),Ce.target!==this.editorDiv&&this.editorDiv.focus()}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus())}isEmpty(){return!this.editorDiv||this.editorDiv.innerText.trim()===""}remove(){this.isEditing=!1,this.parent.setEditingState(!0),super.remove()}commit(){super.commit(),U(this,Q)||(e(this,Q,!0),this.parent.addUndoableEditor(this)),this.disableEditMode(),e(this,L,z(this,oe,fe).call(this).trimEnd()),z(this,me,ve).call(this)}shouldGetKeyboardEvents(){return this.isInEditMode()}dblclick(Ce){this.enableEditMode(),this.editorDiv.focus()}keydown(Ce){Ce.target===this.div&&Ce.key==="Enter"&&(this.enableEditMode(),this.editorDiv.focus())}editorDivKeydown(Ce){Ee._keyboardManager.exec(this,Ce)}editorDivFocus(Ce){this.isEditing=!0}editorDivBlur(Ce){this.isEditing=!1}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let Ce,pe;this.width&&(Ce=this.x,pe=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",`${this.id}-editor`),this.enableEditing(),Ee._l10nPromise.get("editor_free_text_aria_label").then(Ge=>{var Ae;return(Ae=this.editorDiv)===null||Ae===void 0?void 0:Ae.setAttribute("aria-label",Ge)}),Ee._l10nPromise.get("free_text_default_content").then(Ge=>{var Ae;return(Ae=this.editorDiv)===null||Ae===void 0?void 0:Ae.setAttribute("default-content",Ge)}),this.editorDiv.contentEditable=!0;const{style:_e}=this.editorDiv;if(_e.fontSize=`calc(${U(this,ce)}px * var(--scale-factor))`,_e.color=U(this,X),this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),(0,V.bindEvents)(this,this.div,["dblclick","keydown"]),this.width){const[Ge,Ae]=this.parent.viewportBaseDimensions;this.setAt(Ce*Ge,pe*Ae,this.width*Ge,this.height*Ae);for(const Ne of U(this,L).split(` +`)){const Ze=document.createElement("div");Ze.append(Ne?document.createTextNode(Ne):document.createElement("br")),this.editorDiv.append(Ze)}this.div.draggable=!0,this.editorDiv.contentEditable=!1}else this.div.draggable=!1,this.editorDiv.contentEditable=!0;return this.div}get contentDiv(){return this.editorDiv}static deserialize(Ce,pe){const _e=super.deserialize(Ce,pe);return e(_e,ce,Ce.fontSize),e(_e,X,G.Util.makeHexColor(...Ce.color)),e(_e,L,Ce.value),_e}serialize(){if(this.isEmpty())return null;const Ce=Ee._internalPadding*this.parent.scaleFactor,pe=this.getRect(Ce,Ce),_e=q.AnnotationEditor._colorManager.convert(getComputedStyle(this.editorDiv).color);return{annotationType:G.AnnotationEditorType.FREETEXT,color:_e,fontSize:U(this,ce),value:U(this,L),pageIndex:this.parent.pageIndex,rect:pe,rotation:this.rotation}}}m.FreeTextEditor=Ee;function ke(ye){const Ce=_e=>{this.editorDiv.style.fontSize=`calc(${_e}px * var(--scale-factor))`,this.translate(0,-(_e-U(this,ce))*this.parent.scaleFactor),e(this,ce,_e),z(this,me,ve).call(this)},pe=U(this,ce);this.parent.addCommands({cmd:()=>{Ce(ye)},undo:()=>{Ce(pe)},mustExec:!0,type:G.AnnotationEditorParamsType.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}function xe(ye){const Ce=U(this,X);this.parent.addCommands({cmd:()=>{e(this,X,ye),this.editorDiv.style.color=ye},undo:()=>{e(this,X,Ce),this.editorDiv.style.color=Ce},mustExec:!0,type:G.AnnotationEditorParamsType.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function fe(){const ye=this.editorDiv.getElementsByTagName("div");if(ye.length===0)return this.editorDiv.innerText;const Ce=[];for(let pe=0,_e=ye.length;pe<_e;pe++){const Ae=ye[pe].firstChild;(Ae==null?void 0:Ae.nodeName)==="#text"?Ce.push(Ae.data):Ce.push("")}return Ce.join(` +`)}function ve(){const[ye,Ce]=this.parent.viewportBaseDimensions,pe=this.div.getBoundingClientRect();this.width=pe.width/ye,this.height=pe.height/Ce}D(Ee,"_freeTextDefaultContent",""),D(Ee,"_l10nPromise",void 0),D(Ee,"_internalPadding",0),D(Ee,"_defaultColor",null),D(Ee,"_defaultFontSize",10),D(Ee,"_keyboardManager",new V.KeyboardManager([[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],Ee.prototype.commitOrRemove]])),D(Ee,"_type","freetext")},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.InkEditor=void 0,Object.defineProperty(m,"fitCurve",{enumerable:!0,get:function(){return q.fitCurve}});var G=M(1),V=M(131),q=M(150),$=M(132);function D(Bt,It){U(Bt,It),It.add(Bt)}function B(Bt,It,Dt){return It in Bt?Object.defineProperty(Bt,It,{value:Dt,enumerable:!0,configurable:!0,writable:!0}):Bt[It]=Dt,Bt}function R(Bt,It,Dt){U(Bt,It),It.set(Bt,Dt)}function U(Bt,It){if(It.has(Bt))throw new TypeError("Cannot initialize the same private elements twice on an object")}function K(Bt,It,Dt){return z(Bt,It),Dt}function z(Bt,It){if(Bt!==It)throw new TypeError("Private static access of wrong provenance")}function e(Bt,It,Dt){var Zt=he(Bt,It,"set");return ae(Bt,Zt,Dt),Dt}function ae(Bt,It,Dt){if(It.set)It.set.call(Bt,Dt);else{if(!It.writable)throw new TypeError("attempted to set read only private field");It.value=Dt}}function ie(Bt,It){var Dt=he(Bt,It,"get");return J(Bt,Dt)}function he(Bt,It,Dt){if(!It.has(Bt))throw new TypeError("attempted to "+Dt+" private field on non-instance");return It.get(Bt)}function J(Bt,It){return It.get?It.get.call(Bt):It.value}function W(Bt,It,Dt){if(!It.has(Bt))throw new TypeError("attempted to get private field on non-instance");return Dt}const X=16;var L=new WeakMap,Q=new WeakMap,ce=new WeakMap,de=new WeakMap,se=new WeakMap,oe=new WeakMap,me=new WeakMap,Ee=new WeakMap,ke=new WeakMap,xe=new WeakMap,fe=new WeakMap,ve=new WeakMap,ye=new WeakMap,Ce=new WeakMap,pe=new WeakSet,_e=new WeakSet,Ge=new WeakSet,Ae=new WeakSet,Ne=new WeakSet,Ze=new WeakSet,ze=new WeakSet,Te=new WeakSet,Fe=new WeakSet,Pe=new WeakSet,we=new WeakSet,Ie=new WeakSet,Be=new WeakSet,Ke=new WeakSet,Ve=new WeakSet,je=new WeakSet,Le=new WeakSet,et=new WeakSet,Qe=new WeakSet,Ue=new WeakSet,$e=new WeakSet,Ye=new WeakSet;class tt extends V.AnnotationEditor{constructor(It){super({...It,name:"inkEditor"}),D(this,Ye),D(this,$e),D(this,Ue),D(this,Qe),D(this,et),D(this,Le),D(this,je),D(this,Ve),D(this,Ke),D(this,Be),D(this,Ie),D(this,we),D(this,Pe),D(this,Fe),D(this,Te),D(this,ze),D(this,Ze),D(this,Ne),D(this,Ae),D(this,Ge),D(this,_e),D(this,pe),R(this,L,{writable:!0,value:0}),R(this,Q,{writable:!0,value:0}),R(this,ce,{writable:!0,value:0}),R(this,de,{writable:!0,value:this.canvasPointermove.bind(this)}),R(this,se,{writable:!0,value:this.canvasPointerleave.bind(this)}),R(this,oe,{writable:!0,value:this.canvasPointerup.bind(this)}),R(this,me,{writable:!0,value:this.canvasPointerdown.bind(this)}),R(this,Ee,{writable:!0,value:!1}),R(this,ke,{writable:!0,value:!1}),R(this,xe,{writable:!0,value:null}),R(this,fe,{writable:!0,value:null}),R(this,ve,{writable:!0,value:0}),R(this,ye,{writable:!0,value:0}),R(this,Ce,{writable:!0,value:null}),this.color=It.color||null,this.thickness=It.thickness||null,this.opacity=It.opacity||null,this.paths=[],this.bezierPath2D=[],this.currentPath=[],this.scaleFactor=1,this.translationX=this.translationY=0,this.x=0,this.y=0}static initialize(It){this._l10nPromise=new Map(["editor_ink_canvas_aria_label","editor_ink_aria_label"].map(Dt=>[Dt,It.get(Dt)]))}static updateDefaultParams(It,Dt){switch(It){case G.AnnotationEditorParamsType.INK_THICKNESS:tt._defaultThickness=Dt;break;case G.AnnotationEditorParamsType.INK_COLOR:tt._defaultColor=Dt;break;case G.AnnotationEditorParamsType.INK_OPACITY:tt._defaultOpacity=Dt/100;break}}updateParams(It,Dt){switch(It){case G.AnnotationEditorParamsType.INK_THICKNESS:W(this,pe,ot).call(this,Dt);break;case G.AnnotationEditorParamsType.INK_COLOR:W(this,_e,st).call(this,Dt);break;case G.AnnotationEditorParamsType.INK_OPACITY:W(this,Ge,dt).call(this,Dt);break}}static get defaultPropertiesToUpdate(){return[[G.AnnotationEditorParamsType.INK_THICKNESS,tt._defaultThickness],[G.AnnotationEditorParamsType.INK_COLOR,tt._defaultColor||V.AnnotationEditor._defaultLineColor],[G.AnnotationEditorParamsType.INK_OPACITY,Math.round(tt._defaultOpacity*100)]]}get propertiesToUpdate(){var It;return[[G.AnnotationEditorParamsType.INK_THICKNESS,this.thickness||tt._defaultThickness],[G.AnnotationEditorParamsType.INK_COLOR,this.color||tt._defaultColor||V.AnnotationEditor._defaultLineColor],[G.AnnotationEditorParamsType.INK_OPACITY,Math.round(100*((It=this.opacity)!==null&&It!==void 0?It:tt._defaultOpacity))]]}rebuild(){super.rebuild(),this.div!==null&&(this.canvas||(W(this,we,bt).call(this),W(this,Ie,pt).call(this)),this.isAttachedToDOM||(this.parent.add(this),W(this,Be,wt).call(this)),W(this,$e,Jt).call(this))}remove(){this.canvas!==null&&(this.isEmpty()||this.commit(),this.canvas.width=this.canvas.height=0,this.canvas.remove(),this.canvas=null,ie(this,fe).disconnect(),e(this,fe,null),super.remove())}enableEditMode(){ie(this,Ee)||this.canvas===null||(super.enableEditMode(),this.div.draggable=!1,this.canvas.addEventListener("pointerdown",ie(this,me)),this.canvas.addEventListener("pointerup",ie(this,oe)))}disableEditMode(){!this.isInEditMode()||this.canvas===null||(super.disableEditMode(),this.div.draggable=!this.isEmpty(),this.div.classList.remove("editing"),this.canvas.removeEventListener("pointerdown",ie(this,me)),this.canvas.removeEventListener("pointerup",ie(this,oe)))}onceAdded(){this.div.draggable=!this.isEmpty()}isEmpty(){return this.paths.length===0||this.paths.length===1&&this.paths[0].length===0}commit(){ie(this,Ee)||(super.commit(),this.isEditing=!1,this.disableEditMode(),this.setInForeground(),e(this,Ee,!0),this.div.classList.add("disabled"),W(this,$e,Jt).call(this,!0),this.parent.addInkEditorIfNeeded(!0),this.parent.moveEditorInDOM(this),this.div.focus())}focusin(It){super.focusin(It),this.enableEditMode()}canvasPointerdown(It){It.button!==0||!this.isInEditMode()||ie(this,Ee)||(this.setInForeground(),It.type!=="mouse"&&this.div.focus(),It.stopPropagation(),this.canvas.addEventListener("pointerleave",ie(this,se)),this.canvas.addEventListener("pointermove",ie(this,de)),W(this,Ze,ut).call(this,It.offsetX,It.offsetY))}canvasPointermove(It){It.stopPropagation(),W(this,ze,rt).call(this,It.offsetX,It.offsetY)}canvasPointerup(It){It.button===0&&this.isInEditMode()&&this.currentPath.length!==0&&(It.stopPropagation(),W(this,Pe,St).call(this,It),this.setInBackground())}canvasPointerleave(It){W(this,Pe,St).call(this,It),this.setInBackground()}render(){if(this.div)return this.div;let It,Dt;this.width&&(It=this.x,Dt=this.y),super.render(),tt._l10nPromise.get("editor_ink_aria_label").then(kr=>{var cr;return(cr=this.div)===null||cr===void 0?void 0:cr.setAttribute("aria-label",kr)});const[Zt,gr,fr,Dr]=W(this,Ae,ct).call(this);if(this.setAt(Zt,gr,0,0),this.setDims(fr,Dr),W(this,we,bt).call(this),this.width){const[kr,cr]=this.parent.viewportBaseDimensions;this.setAt(It*kr,Dt*cr,this.width*kr,this.height*cr),e(this,ke,!0),W(this,Be,wt).call(this),this.setDims(this.width*kr,this.height*cr),W(this,Fe,Je).call(this),W(this,Ye,er).call(this),this.div.classList.add("disabled")}else this.div.classList.add("editing"),this.enableEditMode();return W(this,Ie,pt).call(this),this.div}setDimensions(It,Dt){const Zt=Math.round(It),gr=Math.round(Dt);if(ie(this,ve)===Zt&&ie(this,ye)===gr)return;e(this,ve,Zt),e(this,ye,gr),this.canvas.style.visibility="hidden",ie(this,L)&&Math.abs(ie(this,L)-It/Dt)>.01&&(Dt=Math.ceil(It/ie(this,L)),this.setDims(It,Dt));const[fr,Dr]=this.parent.viewportBaseDimensions;this.width=It/fr,this.height=Dt/Dr,ie(this,Ee)&&W(this,Ke,Pt).call(this,It,Dt),W(this,Be,wt).call(this),W(this,Fe,Je).call(this),this.canvas.style.visibility="visible"}static deserialize(It,Dt){const Zt=super.deserialize(It,Dt);Zt.thickness=It.thickness,Zt.color=G.Util.makeHexColor(...It.color),Zt.opacity=It.opacity;const[gr,fr]=Dt.pageDimensions,Dr=Zt.width*gr,kr=Zt.height*fr,cr=Dt.scaleFactor,Ar=It.thickness/2;e(Zt,L,Dr/kr),e(Zt,Ee,!0),e(Zt,ve,Math.round(Dr)),e(Zt,ye,Math.round(kr));for(const{bezier:vt}of It.paths){const Xt=[];Zt.paths.push(Xt);let At=cr*(vt[0]-Ar),zt=cr*(kr-vt[1]-Ar);for(let br=2,Ur=vt.length;br{this.thickness=Bt,W(this,$e,Jt).call(this)},undo:()=>{this.thickness=It,W(this,$e,Jt).call(this)},mustExec:!0,type:G.AnnotationEditorParamsType.INK_THICKNESS,overwriteIfSameType:!0,keepUndo:!0})}function st(Bt){const It=this.color;this.parent.addCommands({cmd:()=>{this.color=Bt,W(this,Fe,Je).call(this)},undo:()=>{this.color=It,W(this,Fe,Je).call(this)},mustExec:!0,type:G.AnnotationEditorParamsType.INK_COLOR,overwriteIfSameType:!0,keepUndo:!0})}function dt(Bt){Bt/=100;const It=this.opacity;this.parent.addCommands({cmd:()=>{this.opacity=Bt,W(this,Fe,Je).call(this)},undo:()=>{this.opacity=It,W(this,Fe,Je).call(this)},mustExec:!0,type:G.AnnotationEditorParamsType.INK_OPACITY,overwriteIfSameType:!0,keepUndo:!0})}function ct(){const{width:Bt,height:It,rotation:Dt}=this.parent.viewport;switch(Dt){case 90:return[0,Bt,Bt,It];case 180:return[Bt,It,Bt,It];case 270:return[It,0,Bt,It];default:return[0,0,Bt,It]}}function mt(){this.ctx.lineWidth=this.thickness*this.parent.scaleFactor/this.scaleFactor,this.ctx.lineCap="round",this.ctx.lineJoin="round",this.ctx.miterLimit=10,this.ctx.strokeStyle=`${this.color}${(0,$.opacityToHex)(this.opacity)}`}function ut(Bt,It){if(this.isEditing=!0,!ie(this,ke)){var Dt;e(this,ke,!0),W(this,Be,wt).call(this),this.thickness||(this.thickness=tt._defaultThickness),this.color||(this.color=tt._defaultColor||V.AnnotationEditor._defaultLineColor),(Dt=this.opacity)!==null&&Dt!==void 0||(this.opacity=tt._defaultOpacity)}this.currentPath.push([Bt,It]),e(this,xe,null),W(this,Ne,mt).call(this),this.ctx.beginPath(),this.ctx.moveTo(Bt,It),e(this,Ce,()=>{ie(this,Ce)&&(ie(this,xe)&&(this.isEmpty()?(this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)):W(this,Fe,Je).call(this),this.ctx.lineTo(...ie(this,xe)),e(this,xe,null),this.ctx.stroke()),window.requestAnimationFrame(ie(this,Ce)))}),window.requestAnimationFrame(ie(this,Ce))}function rt(Bt,It){const[Dt,Zt]=this.currentPath.at(-1);Bt===Dt&&It===Zt||(this.currentPath.push([Bt,It]),e(this,xe,[Bt,It]))}function He(Bt,It){this.ctx.closePath(),e(this,Ce,null),Bt=Math.min(Math.max(Bt,0),this.canvas.width),It=Math.min(Math.max(It,0),this.canvas.height);const[Dt,Zt]=this.currentPath.at(-1);(Bt!==Dt||It!==Zt)&&this.currentPath.push([Bt,It]);let gr;if(this.currentPath.length!==1)gr=(0,q.fitCurve)(this.currentPath,30,null);else{const cr=[Bt,It];gr=[[cr,cr.slice(),cr.slice(),cr]]}const fr=K(tt,tt,Vt).call(tt,gr);this.currentPath.length=0;const Dr=()=>{this.paths.push(gr),this.bezierPath2D.push(fr),this.rebuild()},kr=()=>{this.paths.pop(),this.bezierPath2D.pop(),this.paths.length===0?this.remove():(this.canvas||(W(this,we,bt).call(this),W(this,Ie,pt).call(this)),W(this,$e,Jt).call(this))};this.parent.addCommands({cmd:Dr,undo:kr,mustExec:!0})}function Je(){if(this.isEmpty()){W(this,Ve,Nt).call(this);return}W(this,Ne,mt).call(this);const{canvas:Bt,ctx:It}=this;It.setTransform(1,0,0,1,0,0),It.clearRect(0,0,Bt.width,Bt.height),W(this,Ve,Nt).call(this);for(const Dt of this.bezierPath2D)It.stroke(Dt)}function St(Bt){W(this,Te,He).call(this,Bt.offsetX,Bt.offsetY),this.canvas.removeEventListener("pointerleave",ie(this,se)),this.canvas.removeEventListener("pointermove",ie(this,de)),this.parent.addToAnnotationStorage(this)}function bt(){this.canvas=document.createElement("canvas"),this.canvas.width=this.canvas.height=0,this.canvas.className="inkEditorCanvas",tt._l10nPromise.get("editor_ink_canvas_aria_label").then(Bt=>{var It;return(It=this.canvas)===null||It===void 0?void 0:It.setAttribute("aria-label",Bt)}),this.div.append(this.canvas),this.ctx=this.canvas.getContext("2d")}function pt(){e(this,fe,new ResizeObserver(Bt=>{const It=Bt[0].contentRect;It.width&&It.height&&this.setDimensions(It.width,It.height)})),ie(this,fe).observe(this.div)}function wt(){if(!ie(this,ke))return;const[Bt,It]=this.parent.viewportBaseDimensions;this.canvas.width=Math.ceil(this.width*Bt),this.canvas.height=Math.ceil(this.height*It),W(this,Ve,Nt).call(this)}function Pt(Bt,It){const Dt=W(this,Ue,Ft).call(this),Zt=(Bt-Dt)/ie(this,ce),gr=(It-Dt)/ie(this,Q);this.scaleFactor=Math.min(Zt,gr)}function Nt(){const Bt=W(this,Ue,Ft).call(this)/2;this.ctx.setTransform(this.scaleFactor,0,0,this.scaleFactor,this.translationX*this.scaleFactor+Bt,this.translationY*this.scaleFactor+Bt)}function Vt(Bt){const It=new Path2D;for(let Dt=0,Zt=Bt.length;Dt0&&arguments[0]!==void 0?arguments[0]:!1;if(this.isEmpty())return;if(!ie(this,Ee)){W(this,Fe,Je).call(this);return}const It=W(this,Qe,Yt).call(this),Dt=W(this,Ue,Ft).call(this);e(this,ce,Math.max(X,It[2]-It[0])),e(this,Q,Math.max(X,It[3]-It[1]));const Zt=Math.ceil(Dt+ie(this,ce)*this.scaleFactor),gr=Math.ceil(Dt+ie(this,Q)*this.scaleFactor),[fr,Dr]=this.parent.viewportBaseDimensions;this.width=Zt/fr,this.height=gr/Dr,e(this,L,Zt/gr),W(this,Ye,er).call(this);const kr=this.translationX,cr=this.translationY;this.translationX=-It[0],this.translationY=-It[1],W(this,Be,wt).call(this),W(this,Fe,Je).call(this),e(this,ve,Zt),e(this,ye,gr),this.setDims(Zt,gr);const Ar=Bt?Dt/this.scaleFactor/2:0;this.translate(kr-this.translationX-Ar,cr-this.translationY-Ar)}function er(){const{style:Bt}=this.div;ie(this,L)>=1?(Bt.minHeight=`${X}px`,Bt.minWidth=`${Math.round(ie(this,L)*X)}px`):(Bt.minWidth=`${X}px`,Bt.minHeight=`${Math.round(X/ie(this,L))}px`)}B(tt,"_defaultColor",null),B(tt,"_defaultOpacity",1),B(tt,"_defaultThickness",1),B(tt,"_l10nPromise",void 0),B(tt,"_type","ink")},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.fitCurve=void 0;const G=M(151);m.fitCurve=G},k=>{function m(ae,ie,he){if(!Array.isArray(ae))throw new TypeError("First argument should be an array");if(ae.forEach(L=>{if(!Array.isArray(L)||L.some(Q=>typeof Q!="number")||L.length!==ae[0].length)throw Error("Each point should be an array of numbers. Each point should have the same amount of numbers.")}),ae=ae.filter((L,Q)=>Q===0||!L.every((ce,de)=>ce===ae[Q-1][de])),ae.length<2)return[];const J=ae.length,W=K(ae[1],ae[0]),X=K(ae[J-2],ae[J-1]);return M(ae,W,X,ie,he)}function M(ae,ie,he,J,W){var L,Q,ce,de,se,oe,me,Ee,ke,xe,fe,ve,ye;if(ae.length===2)return ve=z.vectorLen(z.subtract(ae[0],ae[1]))/3,L=[ae[0],z.addArrays(ae[0],z.mulItems(ie,ve)),z.addArrays(ae[1],z.mulItems(he,ve)),ae[1]],[L];if(Q=D(ae),[L,de,oe]=G(ae,Q,Q,ie,he,W),de===0||de.9999&&Ce<1.0001)break}se=de,me=oe}return fe=[],Ee=z.subtract(ae[oe-1],ae[oe+1]),Ee.every(Ce=>Ce===0)&&(Ee=z.subtract(ae[oe-1],ae[oe]),[Ee[0],Ee[1]]=[-Ee[1],Ee[0]]),ke=z.normalize(Ee),xe=z.mulItems(ke,-1),fe=fe.concat(M(ae.slice(0,oe+1),ie,ke,J,W)),fe=fe.concat(M(ae.slice(oe),xe,he,J,W)),fe}function G(ae,ie,he,J,W,X){var L,Q,ce;return L=V(ae,he,J,W),[Q,ce]=B(ae,L,ie),X&&X({bez:L,points:ae,params:ie,maxErr:Q,maxPoint:ce}),[L,Q,ce]}function V(ae,ie,he,J){var W,X,L,Q,ce,de,se,oe,me,Ee,ke,xe,fe,ve,ye,Ce,pe,_e=ae[0],Ge=ae[ae.length-1];for(W=[_e,null,null,Ge],X=z.zeros_Xx2x2(ie.length),fe=0,ve=ie.length;fe$(ae,ie[W],J))}function $(ae,ie,he){var J=z.subtract(e.q(ae,he),ie),W=e.qprime(ae,he),X=z.mulMatrix(J,W),L=z.sum(z.squareItems(W))+2*z.mulMatrix(J,e.qprimeprime(ae,he));return L===0?he:he-X/L}function D(ae){var ie=[],he,J,W;return ae.forEach((X,L)=>{he=L?J+z.vectorLen(z.subtract(X,W)):0,ie.push(he),J=he,W=X}),ie=ie.map(X=>X/J),ie}function B(ae,ie,he){var J,W,X,L,Q,ce,de,se;W=0,X=Math.floor(ae.length/2);const oe=R(ie,10);for(Q=0,ce=ae.length;QW&&(W=J,X=Q);return[W,X]}var R=function(ae,ie){for(var he,J=[0],W=ae[0],X=0,L=1;L<=ie;L++)he=e.q(ae,L/ie),X+=z.vectorLen(z.subtract(he,W)),J.push(X),W=he;return J=J.map(Q=>Q/X),J};function U(ae,ie,he,J){if(ie<0)return 0;if(ie>1)return 1;for(var W,X,L,Q,ce,de=1;de<=J;de++)if(ie<=he[de]){Q=(de-1)/J,L=de/J,X=he[de-1],W=he[de],ce=(ie-X)/(W-X)*(L-Q)+Q;break}return ce}function K(ae,ie){return z.normalize(z.subtract(ae,ie))}class z{static zeros_Xx2x2(ie){for(var he=[];ie--;)he.push([0,0]);return he}static mulItems(ie,he){return ie.map(J=>J*he)}static mulMatrix(ie,he){return ie.reduce((J,W,X)=>J+W*he[X],0)}static subtract(ie,he){return ie.map((J,W)=>J-he[W])}static addArrays(ie,he){return ie.map((J,W)=>J+he[W])}static addItems(ie,he){return ie.map(J=>J+he)}static sum(ie){return ie.reduce((he,J)=>he+J)}static dot(ie,he){return z.mulMatrix(ie,he)}static vectorLen(ie){return Math.hypot(...ie)}static divItems(ie,he){return ie.map(J=>J/he)}static squareItems(ie){return ie.map(he=>he*he)}static normalize(ie){return this.divItems(ie,this.vectorLen(ie))}}class e{static q(ie,he){var J=1-he,W=z.mulItems(ie[0],J*J*J),X=z.mulItems(ie[1],3*J*J*he),L=z.mulItems(ie[2],3*J*he*he),Q=z.mulItems(ie[3],he*he*he);return z.addArrays(z.addArrays(W,X),z.addArrays(L,Q))}static qprime(ie,he){var J=1-he,W=z.mulItems(z.subtract(ie[1],ie[0]),3*J*J),X=z.mulItems(z.subtract(ie[2],ie[1]),6*J*he),L=z.mulItems(z.subtract(ie[3],ie[2]),3*he*he);return z.addArrays(z.addArrays(W,X),L)}static qprimeprime(ie,he){return z.addArrays(z.mulItems(z.addArrays(z.subtract(ie[2],z.mulItems(ie[1],2)),ie[0]),6*(1-he)),z.mulItems(z.addArrays(z.subtract(ie[3],z.mulItems(ie[2],2)),ie[1]),6*he))}}k.exports=m,k.exports.fitCubic=M,k.exports.createTangent=K},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.AnnotationLayer=void 0;var G=M(1),V=M(133),q=M(130),$=M(153),D=M(154);function B(we,Ie,Be){return R(we,Ie),Be}function R(we,Ie){if(we!==Ie)throw new TypeError("Private static access of wrong provenance")}const U=1e3,K=9,z=new WeakSet;function e(we){return{width:we[2]-we[0],height:we[3]-we[1]}}class ae{static create(Ie){switch(Ie.data.annotationType){case G.AnnotationType.LINK:return new he(Ie);case G.AnnotationType.TEXT:return new J(Ie);case G.AnnotationType.WIDGET:switch(Ie.data.fieldType){case"Tx":return new X(Ie);case"Btn":return Ie.data.radioButton?new Q(Ie):Ie.data.checkBox?new L(Ie):new ce(Ie);case"Ch":return new de(Ie)}return new W(Ie);case G.AnnotationType.POPUP:return new se(Ie);case G.AnnotationType.FREETEXT:return new me(Ie);case G.AnnotationType.LINE:return new Ee(Ie);case G.AnnotationType.SQUARE:return new ke(Ie);case G.AnnotationType.CIRCLE:return new xe(Ie);case G.AnnotationType.POLYLINE:return new fe(Ie);case G.AnnotationType.CARET:return new ye(Ie);case G.AnnotationType.INK:return new Ce(Ie);case G.AnnotationType.POLYGON:return new ve(Ie);case G.AnnotationType.HIGHLIGHT:return new pe(Ie);case G.AnnotationType.UNDERLINE:return new _e(Ie);case G.AnnotationType.SQUIGGLY:return new Ge(Ie);case G.AnnotationType.STRIKEOUT:return new Ae(Ie);case G.AnnotationType.STAMP:return new Ne(Ie);case G.AnnotationType.FILEATTACHMENT:return new Ze(Ie);default:return new ie(Ie)}}}class ie{constructor(Ie){let{isRenderable:Be=!1,ignoreBorder:Ke=!1,createQuadrilaterals:Ve=!1}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.isRenderable=Be,this.data=Ie.data,this.layer=Ie.layer,this.page=Ie.page,this.viewport=Ie.viewport,this.linkService=Ie.linkService,this.downloadManager=Ie.downloadManager,this.imageResourcesPath=Ie.imageResourcesPath,this.renderForms=Ie.renderForms,this.svgFactory=Ie.svgFactory,this.annotationStorage=Ie.annotationStorage,this.enableScripting=Ie.enableScripting,this.hasJSActions=Ie.hasJSActions,this._fieldObjects=Ie.fieldObjects,this._mouseState=Ie.mouseState,Be&&(this.container=this._createContainer(Ke)),Ve&&(this.quadrilaterals=this._createQuadrilaterals(Ke))}_createContainer(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const Be=this.data,Ke=this.page,Ve=this.viewport,je=document.createElement("section"),{width:Le,height:et}=e(Be.rect),[Qe,Ue,$e,Ye]=Ve.viewBox,tt=$e-Qe,ot=Ye-Ue;je.setAttribute("data-annotation-id",Be.id);const st=G.Util.normalizeRect([Be.rect[0],Ke.view[3]-Be.rect[1]+Ke.view[1],Be.rect[2],Ke.view[3]-Be.rect[3]+Ke.view[1]]);if(!Ie&&Be.borderStyle.width>0){je.style.borderWidth=`${Be.borderStyle.width}px`;const ct=Be.borderStyle.horizontalCornerRadius,mt=Be.borderStyle.verticalCornerRadius;if(ct>0||mt>0){const rt=`calc(${ct}px * var(--scale-factor)) / calc(${mt}px * var(--scale-factor))`;je.style.borderRadius=rt}else if(this instanceof Q){const rt=`calc(${Le}px * var(--scale-factor)) / calc(${et}px * var(--scale-factor))`;je.style.borderRadius=rt}switch(Be.borderStyle.style){case G.AnnotationBorderStyleType.SOLID:je.style.borderStyle="solid";break;case G.AnnotationBorderStyleType.DASHED:je.style.borderStyle="dashed";break;case G.AnnotationBorderStyleType.BEVELED:(0,G.warn)("Unimplemented border style: beveled");break;case G.AnnotationBorderStyleType.INSET:(0,G.warn)("Unimplemented border style: inset");break;case G.AnnotationBorderStyleType.UNDERLINE:je.style.borderBottomStyle="solid";break}const ut=Be.borderColor||null;ut?je.style.borderColor=G.Util.makeHexColor(ut[0]|0,ut[1]|0,ut[2]|0):je.style.borderWidth=0}je.style.left=`${100*(st[0]-Qe)/tt}%`,je.style.top=`${100*(st[1]-Ue)/ot}%`;const{rotation:dt}=Be;return Be.hasOwnCanvas||dt===0?(je.style.width=`${100*Le/tt}%`,je.style.height=`${100*et/ot}%`):this.setRotation(dt,je),je}setRotation(Ie){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this.container;const[Ke,Ve,je,Le]=this.viewport.viewBox,et=je-Ke,Qe=Le-Ve,{width:Ue,height:$e}=e(this.data.rect);let Ye,tt;Ie%180===0?(Ye=100*Ue/et,tt=100*$e/Qe):(Ye=100*$e/et,tt=100*Ue/Qe),Be.style.width=`${Ye}%`,Be.style.height=`${tt}%`,Be.setAttribute("data-main-rotation",(360-Ie)%360)}get _commonActions(){const Ie=(Be,Ke,Ve)=>{const je=Ve.detail[Be];Ve.target.style[Ke]=$.ColorConverters[`${je[0]}_HTML`](je.slice(1))};return(0,G.shadow)(this,"_commonActions",{display:Be=>{const Ke=Be.detail.display%2===1;this.container.style.visibility=Ke?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:Ke,print:Be.detail.display===0||Be.detail.display===3})},print:Be=>{this.annotationStorage.setValue(this.data.id,{print:Be.detail.print})},hidden:Be=>{this.container.style.visibility=Be.detail.hidden?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{hidden:Be.detail.hidden})},focus:Be=>{setTimeout(()=>Be.target.focus({preventScroll:!1}),0)},userName:Be=>{Be.target.title=Be.detail.userName},readonly:Be=>{Be.detail.readonly?Be.target.setAttribute("readonly",""):Be.target.removeAttribute("readonly")},required:Be=>{this._setRequired(Be.target,Be.detail.required)},bgColor:Be=>{Ie("bgColor","backgroundColor",Be)},fillColor:Be=>{Ie("fillColor","backgroundColor",Be)},fgColor:Be=>{Ie("fgColor","color",Be)},textColor:Be=>{Ie("textColor","color",Be)},borderColor:Be=>{Ie("borderColor","borderColor",Be)},strokeColor:Be=>{Ie("strokeColor","borderColor",Be)},rotation:Be=>{const Ke=Be.detail.rotation;this.setRotation(Ke),this.annotationStorage.setValue(this.data.id,{rotation:Ke})}})}_dispatchEventFromSandbox(Ie,Be){const Ke=this._commonActions;for(const Ve of Object.keys(Be.detail)){const je=Ie[Ve]||Ke[Ve];je&&je(Be)}}_setDefaultPropertiesFromJS(Ie){if(!this.enableScripting)return;const Be=this.annotationStorage.getRawValue(this.data.id);if(!Be)return;const Ke=this._commonActions;for(const[Ve,je]of Object.entries(Be)){const Le=Ke[Ve];if(Le){const et={detail:{[Ve]:je},target:Ie};Le(et),delete Be[Ve]}}}_createQuadrilaterals(){let Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.data.quadPoints)return null;const Be=[],Ke=this.data.rect;for(const Ve of this.data.quadPoints)this.data.rect=[Ve[2].x,Ve[2].y,Ve[1].x,Ve[1].y],Be.push(this._createContainer(Ie));return this.data.rect=Ke,Be}_createPopup(Ie,Be){let Ke=this.container;this.quadrilaterals&&(Ie=Ie||this.quadrilaterals,Ke=this.quadrilaterals[0]),Ie||(Ie=document.createElement("div"),Ie.className="popupTriggerArea",Ke.append(Ie));const je=new oe({container:Ke,trigger:Ie,color:Be.color,titleObj:Be.titleObj,modificationDate:Be.modificationDate,contentsObj:Be.contentsObj,richText:Be.richText,hideWrapper:!0}).render();je.style.left="100%",Ke.append(je)}_renderQuadrilaterals(Ie){for(const Be of this.quadrilaterals)Be.className=Ie;return this.quadrilaterals}render(){(0,G.unreachable)("Abstract method `AnnotationElement.render` called")}_getElementsByName(Ie){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const Ke=[];if(this._fieldObjects){const Ve=this._fieldObjects[Ie];if(Ve)for(const{page:je,id:Le,exportValues:et}of Ve){if(je===-1||Le===Be)continue;const Qe=typeof et=="string"?et:null,Ue=document.querySelector(`[data-element-id="${Le}"]`);if(Ue&&!z.has(Ue)){(0,G.warn)(`_getElementsByName - element not allowed: ${Le}`);continue}Ke.push({id:Le,exportValue:Qe,domElement:Ue})}return Ke}for(const Ve of document.getElementsByName(Ie)){const{id:je,exportValue:Le}=Ve;je!==Be&&z.has(Ve)&&Ke.push({id:je,exportValue:Le,domElement:Ve})}return Ke}static get platform(){const Ie=typeof navigator<"u"?navigator.platform:"";return(0,G.shadow)(this,"platform",{isWin:Ie.includes("Win"),isMac:Ie.includes("Mac")})}}class he extends ie{constructor(Ie){let Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;super(Ie,{isRenderable:!0,ignoreBorder:!!(Be!=null&&Be.ignoreBorder),createQuadrilaterals:!0}),this.isTooltipOnly=Ie.data.isTooltipOnly}render(){const{data:Ie,linkService:Be}=this,Ke=document.createElement("a");Ke.setAttribute("data-element-id",Ie.id);let Ve=!1;return Ie.url?(Be.addLinkAttributes(Ke,Ie.url,Ie.newWindow),Ve=!0):Ie.action?(this._bindNamedAction(Ke,Ie.action),Ve=!0):Ie.dest?(this._bindLink(Ke,Ie.dest),Ve=!0):(Ie.actions&&(Ie.actions.Action||Ie.actions["Mouse Up"]||Ie.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(Ke,Ie),Ve=!0),Ie.resetForm?(this._bindResetFormAction(Ke,Ie.resetForm),Ve=!0):this.isTooltipOnly&&!Ve&&(this._bindLink(Ke,""),Ve=!0)),this.quadrilaterals?this._renderQuadrilaterals("linkAnnotation").map((je,Le)=>{const et=Le===0?Ke:Ke.cloneNode();return je.append(et),je}):(this.container.className="linkAnnotation",Ve&&this.container.append(Ke),this.container)}_bindLink(Ie,Be){Ie.href=this.linkService.getDestinationHash(Be),Ie.onclick=()=>(Be&&this.linkService.goToDestination(Be),!1),(Be||Be==="")&&(Ie.className="internalLink")}_bindNamedAction(Ie,Be){Ie.href=this.linkService.getAnchorUrl(""),Ie.onclick=()=>(this.linkService.executeNamedAction(Be),!1),Ie.className="internalLink"}_bindJSAction(Ie,Be){Ie.href=this.linkService.getAnchorUrl("");const Ke=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const Ve of Object.keys(Be.actions)){const je=Ke.get(Ve);je&&(Ie[je]=()=>{var Le;return(Le=this.linkService.eventBus)===null||Le===void 0||Le.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be.id,name:Ve}}),!1})}Ie.onclick||(Ie.onclick=()=>!1),Ie.className="internalLink"}_bindResetFormAction(Ie,Be){const Ke=Ie.onclick;if(Ke||(Ie.href=this.linkService.getAnchorUrl("")),Ie.className="internalLink",!this._fieldObjects){(0,G.warn)('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),Ke||(Ie.onclick=()=>!1);return}Ie.onclick=()=>{Ke&&Ke();const{fields:Ve,refs:je,include:Le}=Be,et=[];if(Ve.length!==0||je.length!==0){const Ye=new Set(je);for(const tt of Ve){const ot=this._fieldObjects[tt]||[];for(const{id:st}of ot)Ye.add(st)}for(const tt of Object.values(this._fieldObjects))for(const ot of tt)Ye.has(ot.id)===Le&&et.push(ot)}else for(const Ye of Object.values(this._fieldObjects))et.push(...Ye);const Qe=this.annotationStorage,Ue=[];for(const Ye of et){const{id:tt}=Ye;switch(Ue.push(tt),Ye.type){case"text":{const st=Ye.defaultValue||"";Qe.setValue(tt,{value:st});break}case"checkbox":case"radiobutton":{const st=Ye.defaultValue===Ye.exportValues;Qe.setValue(tt,{value:st});break}case"combobox":case"listbox":{const st=Ye.defaultValue||"";Qe.setValue(tt,{value:st});break}default:continue}const ot=document.querySelector(`[data-element-id="${tt}"]`);if(ot){if(!z.has(ot)){(0,G.warn)(`_bindResetFormAction - element not allowed: ${tt}`);continue}}else continue;ot.dispatchEvent(new Event("resetform"))}if(this.enableScripting){var $e;($e=this.linkService.eventBus)===null||$e===void 0||$e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:Ue,name:"ResetForm"}})}return!1}}}class J extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je})}render(){this.container.className="textAnnotation";const Ie=document.createElement("img");return Ie.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",Ie.alt="[{{type}} Annotation]",Ie.dataset.l10nId="text_annotation_type",Ie.dataset.l10nArgs=JSON.stringify({type:this.data.name}),this.data.hasPopup||this._createPopup(Ie,this.data),this.container.append(Ie),this.container}}class W extends ie{render(){return this.data.alternativeText&&(this.container.title=this.data.alternativeText),this.container}_getKeyModifier(Ie){const{isWin:Be,isMac:Ke}=ie.platform;return Be&&Ie.ctrlKey||Ke&&Ie.metaKey}_setEventListener(Ie,Be,Ke,Ve){Be.includes("mouse")?Ie.addEventListener(Be,je=>{var Le;(Le=this.linkService.eventBus)===null||Le===void 0||Le.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:Ke,value:Ve(je),shift:je.shiftKey,modifier:this._getKeyModifier(je)}})}):Ie.addEventListener(Be,je=>{var Le;(Le=this.linkService.eventBus)===null||Le===void 0||Le.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:Ke,value:Ve(je)}})})}_setEventListeners(Ie,Be,Ke){for(const[je,Le]of Be){var Ve;(Le==="Action"||(Ve=this.data.actions)!==null&&Ve!==void 0&&Ve[Le])&&this._setEventListener(Ie,je,Le,Ke)}}_setBackgroundColor(Ie){const Be=this.data.backgroundColor||null;Ie.style.backgroundColor=Be===null?"transparent":G.Util.makeHexColor(Be[0],Be[1],Be[2])}_setTextStyle(Ie){const Be=["left","center","right"],{fontColor:Ke}=this.data.defaultAppearanceData,Ve=this.data.defaultAppearanceData.fontSize||K,je=Ie.style;let Le;if(this.data.multiLine){const et=Math.abs(this.data.rect[3]-this.data.rect[1]),Qe=Math.round(et/(G.LINE_FACTOR*Ve))||1,Ue=et/Qe;Le=Math.min(Ve,Math.round(Ue/G.LINE_FACTOR))}else{const et=Math.abs(this.data.rect[3]-this.data.rect[1]);Le=Math.min(Ve,Math.round(et/G.LINE_FACTOR))}je.fontSize=`calc(${Le}px * var(--scale-factor))`,je.color=G.Util.makeHexColor(Ke[0],Ke[1],Ke[2]),this.data.textAlignment!==null&&(je.textAlign=Be[this.data.textAlignment])}_setRequired(Ie,Be){Be?Ie.setAttribute("required",!0):Ie.removeAttribute("required"),Ie.setAttribute("aria-required",Be)}}class X extends W{constructor(Ie){const Be=Ie.renderForms||!Ie.data.hasAppearance&&!!Ie.data.fieldValue;super(Ie,{isRenderable:Be})}setPropertyOnSiblings(Ie,Be,Ke,Ve){const je=this.annotationStorage;for(const Le of this._getElementsByName(Ie.name,Ie.id))Le.domElement&&(Le.domElement[Be]=Ke),je.setValue(Le.id,{[Ve]:Ke})}render(){const Ie=this.annotationStorage,Be=this.data.id;this.container.className="textWidgetAnnotation";let Ke=null;if(this.renderForms){const je=Ie.getValue(Be,{value:this.data.fieldValue});let Le=je.formattedValue||je.value||"";const et=Ie.getValue(Be,{charLimit:this.data.maxLen}).charLimit;et&&Le.length>et&&(Le=Le.slice(0,et));const Qe={userValue:Le,formattedValue:null,valueOnFocus:""};this.data.multiLine?(Ke=document.createElement("textarea"),Ke.textContent=Le,this.data.doNotScroll&&(Ke.style.overflowY="hidden")):(Ke=document.createElement("input"),Ke.type="text",Ke.setAttribute("value",Le),this.data.doNotScroll&&(Ke.style.overflowX="hidden")),z.add(Ke),Ke.setAttribute("data-element-id",Be),Ke.disabled=this.data.readOnly,Ke.name=this.data.fieldName,Ke.tabIndex=U,this._setRequired(Ke,this.data.required),et&&(Ke.maxLength=et),Ke.addEventListener("input",$e=>{Ie.setValue(Be,{value:$e.target.value}),this.setPropertyOnSiblings(Ke,"value",$e.target.value,"value")}),Ke.addEventListener("resetform",$e=>{var Ye;const tt=(Ye=this.data.defaultFieldValue)!==null&&Ye!==void 0?Ye:"";Ke.value=Qe.userValue=tt,Qe.formattedValue=null});let Ue=$e=>{const{formattedValue:Ye}=Qe;Ye!=null&&($e.target.value=Ye),$e.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){var Ve;Ke.addEventListener("focus",Ye=>{Qe.userValue&&(Ye.target.value=Qe.userValue),Qe.valueOnFocus=Ye.target.value}),Ke.addEventListener("updatefromsandbox",Ye=>{const tt={value(ot){var st;Qe.userValue=(st=ot.detail.value)!==null&&st!==void 0?st:"",Ie.setValue(Be,{value:Qe.userValue.toString()}),ot.target.value=Qe.userValue},formattedValue(ot){const{formattedValue:st}=ot.detail;Qe.formattedValue=st,st!=null&&ot.target!==document.activeElement&&(ot.target.value=st),Ie.setValue(Be,{formattedValue:st})},selRange(ot){ot.target.setSelectionRange(...ot.detail.selRange)},charLimit:ot=>{var st;const{charLimit:dt}=ot.detail,{target:ct}=ot;if(dt===0){ct.removeAttribute("maxLength");return}ct.setAttribute("maxLength",dt);let mt=Qe.userValue;!mt||mt.length<=dt||(mt=mt.slice(0,dt),ct.value=Qe.userValue=mt,Ie.setValue(Be,{value:mt}),(st=this.linkService.eventBus)===null||st===void 0||st.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be,name:"Keystroke",value:mt,willCommit:!0,commitKey:1,selStart:ct.selectionStart,selEnd:ct.selectionEnd}}))}};this._dispatchEventFromSandbox(tt,Ye)}),Ke.addEventListener("keydown",Ye=>{var tt;let ot=-1;if(Ye.key==="Escape"?ot=0:Ye.key==="Enter"?ot=2:Ye.key==="Tab"&&(ot=3),ot===-1)return;const{value:st}=Ye.target;Qe.valueOnFocus!==st&&(Qe.userValue=st,(tt=this.linkService.eventBus)===null||tt===void 0||tt.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be,name:"Keystroke",value:st,willCommit:!0,commitKey:ot,selStart:Ye.target.selectionStart,selEnd:Ye.target.selectionEnd}}))});const $e=Ue;Ue=null,Ke.addEventListener("blur",Ye=>{const{value:tt}=Ye.target;if(Qe.userValue=tt,this._mouseState.isDown&&Qe.valueOnFocus!==tt){var ot;(ot=this.linkService.eventBus)===null||ot===void 0||ot.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be,name:"Keystroke",value:tt,willCommit:!0,commitKey:1,selStart:Ye.target.selectionStart,selEnd:Ye.target.selectionEnd}})}$e(Ye)}),(Ve=this.data.actions)!==null&&Ve!==void 0&&Ve.Keystroke&&Ke.addEventListener("beforeinput",Ye=>{var tt;const{data:ot,target:st}=Ye,{value:dt,selectionStart:ct,selectionEnd:mt}=st;let ut=ct,rt=mt;switch(Ye.inputType){case"deleteWordBackward":{const He=dt.substring(0,ct).match(/\w*[^\w]*$/);He&&(ut-=He[0].length);break}case"deleteWordForward":{const He=dt.substring(ct).match(/^[^\w]*\w*/);He&&(rt+=He[0].length);break}case"deleteContentBackward":ct===mt&&(ut-=1);break;case"deleteContentForward":ct===mt&&(rt+=1);break}Ye.preventDefault(),(tt=this.linkService.eventBus)===null||tt===void 0||tt.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be,name:"Keystroke",value:dt,change:ot||"",willCommit:!1,selStart:ut,selEnd:rt}})}),this._setEventListeners(Ke,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Ye=>Ye.target.value)}if(Ue&&Ke.addEventListener("blur",Ue),this.data.comb){const Ye=(this.data.rect[2]-this.data.rect[0])/et;Ke.classList.add("comb"),Ke.style.letterSpacing=`calc(${Ye}px * var(--scale-factor) - 1ch)`}}else Ke=document.createElement("div"),Ke.textContent=this.data.fieldValue,Ke.style.verticalAlign="middle",Ke.style.display="table-cell";return this._setTextStyle(Ke),this._setBackgroundColor(Ke),this._setDefaultPropertiesFromJS(Ke),this.container.append(Ke),this.container}}class L extends W{constructor(Ie){super(Ie,{isRenderable:Ie.renderForms})}render(){const Ie=this.annotationStorage,Be=this.data,Ke=Be.id;let Ve=Ie.getValue(Ke,{value:Be.exportValue===Be.fieldValue}).value;typeof Ve=="string"&&(Ve=Ve!=="Off",Ie.setValue(Ke,{value:Ve})),this.container.className="buttonWidgetAnnotation checkBox";const je=document.createElement("input");return z.add(je),je.setAttribute("data-element-id",Ke),je.disabled=Be.readOnly,this._setRequired(je,this.data.required),je.type="checkbox",je.name=Be.fieldName,Ve&&je.setAttribute("checked",!0),je.setAttribute("exportValue",Be.exportValue),je.tabIndex=U,je.addEventListener("change",Le=>{const{name:et,checked:Qe}=Le.target;for(const Ue of this._getElementsByName(et,Ke)){const $e=Qe&&Ue.exportValue===Be.exportValue;Ue.domElement&&(Ue.domElement.checked=$e),Ie.setValue(Ue.id,{value:$e})}Ie.setValue(Ke,{value:Qe})}),je.addEventListener("resetform",Le=>{const et=Be.defaultFieldValue||"Off";Le.target.checked=et===Be.exportValue}),this.enableScripting&&this.hasJSActions&&(je.addEventListener("updatefromsandbox",Le=>{const et={value(Qe){Qe.target.checked=Qe.detail.value!=="Off",Ie.setValue(Ke,{value:Qe.target.checked})}};this._dispatchEventFromSandbox(et,Le)}),this._setEventListeners(je,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],Le=>Le.target.checked)),this._setBackgroundColor(je),this._setDefaultPropertiesFromJS(je),this.container.append(je),this.container}}class Q extends W{constructor(Ie){super(Ie,{isRenderable:Ie.renderForms})}render(){this.container.className="buttonWidgetAnnotation radioButton";const Ie=this.annotationStorage,Be=this.data,Ke=Be.id;let Ve=Ie.getValue(Ke,{value:Be.fieldValue===Be.buttonValue}).value;typeof Ve=="string"&&(Ve=Ve!==Be.buttonValue,Ie.setValue(Ke,{value:Ve}));const je=document.createElement("input");if(z.add(je),je.setAttribute("data-element-id",Ke),je.disabled=Be.readOnly,this._setRequired(je,this.data.required),je.type="radio",je.name=Be.fieldName,Ve&&je.setAttribute("checked",!0),je.tabIndex=U,je.addEventListener("change",Le=>{const{name:et,checked:Qe}=Le.target;for(const Ue of this._getElementsByName(et,Ke))Ie.setValue(Ue.id,{value:!1});Ie.setValue(Ke,{value:Qe})}),je.addEventListener("resetform",Le=>{const et=Be.defaultFieldValue;Le.target.checked=et!=null&&et===Be.buttonValue}),this.enableScripting&&this.hasJSActions){const Le=Be.buttonValue;je.addEventListener("updatefromsandbox",et=>{const Qe={value:Ue=>{const $e=Le===Ue.detail.value;for(const Ye of this._getElementsByName(Ue.target.name)){const tt=$e&&Ye.id===Ke;Ye.domElement&&(Ye.domElement.checked=tt),Ie.setValue(Ye.id,{value:tt})}}};this._dispatchEventFromSandbox(Qe,et)}),this._setEventListeners(je,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],et=>et.target.checked)}return this._setBackgroundColor(je),this._setDefaultPropertiesFromJS(je),this.container.append(je),this.container}}class ce extends he{constructor(Ie){super(Ie,{ignoreBorder:Ie.data.hasAppearance})}render(){const Ie=super.render();Ie.className="buttonWidgetAnnotation pushButton",this.data.alternativeText&&(Ie.title=this.data.alternativeText);const Be=Ie.lastChild;return this.enableScripting&&this.hasJSActions&&Be&&(this._setDefaultPropertiesFromJS(Be),Be.addEventListener("updatefromsandbox",Ke=>{this._dispatchEventFromSandbox({},Ke)})),Ie}}class de extends W{constructor(Ie){super(Ie,{isRenderable:Ie.renderForms})}render(){this.container.className="choiceWidgetAnnotation";const Ie=this.annotationStorage,Be=this.data.id,Ke=Ie.getValue(Be,{value:this.data.fieldValue}),Ve=document.createElement("select");z.add(Ve),Ve.setAttribute("data-element-id",Be),Ve.disabled=this.data.readOnly,this._setRequired(Ve,this.data.required),Ve.name=this.data.fieldName,Ve.tabIndex=U;let je=this.data.combo&&this.data.options.length>0;this.data.combo||(Ve.size=this.data.options.length,this.data.multiSelect&&(Ve.multiple=!0)),Ve.addEventListener("resetform",Ue=>{const $e=this.data.defaultFieldValue;for(const Ye of Ve.options)Ye.selected=Ye.value===$e});for(const Ue of this.data.options){const $e=document.createElement("option");$e.textContent=Ue.displayValue,$e.value=Ue.exportValue,Ke.value.includes(Ue.exportValue)&&($e.setAttribute("selected",!0),je=!1),Ve.append($e)}let Le=null;if(je){const Ue=document.createElement("option");Ue.value=" ",Ue.setAttribute("hidden",!0),Ue.setAttribute("selected",!0),Ve.prepend(Ue),Le=()=>{Ue.remove(),Ve.removeEventListener("input",Le),Le=null},Ve.addEventListener("input",Le)}const et=(Ue,$e)=>{const Ye=$e?"value":"textContent",tt=Ue.target.options;return Ue.target.multiple?Array.prototype.filter.call(tt,ot=>ot.selected).map(ot=>ot[Ye]):tt.selectedIndex===-1?null:tt[tt.selectedIndex][Ye]},Qe=Ue=>{const $e=Ue.target.options;return Array.prototype.map.call($e,Ye=>({displayValue:Ye.textContent,exportValue:Ye.value}))};return this.enableScripting&&this.hasJSActions?(Ve.addEventListener("updatefromsandbox",Ue=>{const $e={value(Ye){var tt;(tt=Le)===null||tt===void 0||tt();const ot=Ye.detail.value,st=new Set(Array.isArray(ot)?ot:[ot]);for(const dt of Ve.options)dt.selected=st.has(dt.value);Ie.setValue(Be,{value:et(Ye,!0)})},multipleSelection(Ye){Ve.multiple=!0},remove(Ye){const tt=Ve.options,ot=Ye.detail.remove;tt[ot].selected=!1,Ve.remove(ot),tt.length>0&&Array.prototype.findIndex.call(tt,dt=>dt.selected)===-1&&(tt[0].selected=!0),Ie.setValue(Be,{value:et(Ye,!0),items:Qe(Ye)})},clear(Ye){for(;Ve.length!==0;)Ve.remove(0);Ie.setValue(Be,{value:null,items:[]})},insert(Ye){const{index:tt,displayValue:ot,exportValue:st}=Ye.detail.insert,dt=Ve.children[tt],ct=document.createElement("option");ct.textContent=ot,ct.value=st,dt?dt.before(ct):Ve.append(ct),Ie.setValue(Be,{value:et(Ye,!0),items:Qe(Ye)})},items(Ye){const{items:tt}=Ye.detail;for(;Ve.length!==0;)Ve.remove(0);for(const ot of tt){const{displayValue:st,exportValue:dt}=ot,ct=document.createElement("option");ct.textContent=st,ct.value=dt,Ve.append(ct)}Ve.options.length>0&&(Ve.options[0].selected=!0),Ie.setValue(Be,{value:et(Ye,!0),items:Qe(Ye)})},indices(Ye){const tt=new Set(Ye.detail.indices);for(const ot of Ye.target.options)ot.selected=tt.has(ot.index);Ie.setValue(Be,{value:et(Ye,!0)})},editable(Ye){Ye.target.disabled=!Ye.detail.editable}};this._dispatchEventFromSandbox($e,Ue)}),Ve.addEventListener("input",Ue=>{var $e;const Ye=et(Ue,!0),tt=et(Ue,!1);Ie.setValue(Be,{value:Ye}),($e=this.linkService.eventBus)===null||$e===void 0||$e.dispatch("dispatcheventinsandbox",{source:this,detail:{id:Be,name:"Keystroke",value:tt,changeEx:Ye,willCommit:!0,commitKey:1,keyDown:!1}})}),this._setEventListeners(Ve,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"]],Ue=>Ue.target.checked)):Ve.addEventListener("input",function(Ue){Ie.setValue(Be,{value:et(Ue,!0)})}),this.data.combo&&this._setTextStyle(Ve),this._setBackgroundColor(Ve),this._setDefaultPropertiesFromJS(Ve),this.container.append(Ve),this.container}}class se extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!((Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je})}render(){const Ie=["Line","Square","Circle","PolyLine","Polygon","Ink"];if(this.container.className="popupAnnotation",Ie.includes(this.data.parentType))return this.container;const Be=`[data-annotation-id="${this.data.parentId}"]`,Ke=this.layer.querySelectorAll(Be);if(Ke.length===0)return this.container;const Ve=new oe({container:this.container,trigger:Array.from(Ke),color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText}),je=this.page,Le=G.Util.normalizeRect([this.data.parentRect[0],je.view[3]-this.data.parentRect[1]+je.view[1],this.data.parentRect[2],je.view[3]-this.data.parentRect[3]+je.view[1]]),et=Le[0]+this.data.parentRect[2]-this.data.parentRect[0],Qe=Le[1],[Ue,$e,Ye,tt]=this.viewport.viewBox,ot=Ye-Ue,st=tt-$e;return this.container.style.left=`${100*(et-Ue)/ot}%`,this.container.style.top=`${100*(Qe-$e)/st}%`,this.container.append(Ve.render()),this.container}}class oe{constructor(Ie){this.container=Ie.container,this.trigger=Ie.trigger,this.color=Ie.color,this.titleObj=Ie.titleObj,this.modificationDate=Ie.modificationDate,this.contentsObj=Ie.contentsObj,this.richText=Ie.richText,this.hideWrapper=Ie.hideWrapper||!1,this.pinned=!1}render(){var Ie,Be;const Ve=document.createElement("div");Ve.className="popupWrapper",this.hideElement=this.hideWrapper?Ve:this.container,this.hideElement.hidden=!0;const je=document.createElement("div");je.className="popup";const Le=this.color;if(Le){const Ue=.7*(255-Le[0])+Le[0],$e=.7*(255-Le[1])+Le[1],Ye=.7*(255-Le[2])+Le[2];je.style.backgroundColor=G.Util.makeHexColor(Ue|0,$e|0,Ye|0)}const et=document.createElement("h1");et.dir=this.titleObj.dir,et.textContent=this.titleObj.str,je.append(et);const Qe=V.PDFDateString.toDateObject(this.modificationDate);if(Qe){const Ue=document.createElement("span");Ue.className="popupDate",Ue.textContent="{{date}}, {{time}}",Ue.dataset.l10nId="annotation_date_string",Ue.dataset.l10nArgs=JSON.stringify({date:Qe.toLocaleDateString(),time:Qe.toLocaleTimeString()}),je.append(Ue)}if((Ie=this.richText)!==null&&Ie!==void 0&&Ie.str&&(!((Be=this.contentsObj)!==null&&Be!==void 0&&Be.str)||this.contentsObj.str===this.richText.str))D.XfaLayer.render({xfaHtml:this.richText.html,intent:"richText",div:je}),je.lastChild.className="richText popupContent";else{const Ue=this._formatContents(this.contentsObj);je.append(Ue)}Array.isArray(this.trigger)||(this.trigger=[this.trigger]);for(const Ue of this.trigger)Ue.addEventListener("click",this._toggle.bind(this)),Ue.addEventListener("mouseover",this._show.bind(this,!1)),Ue.addEventListener("mouseout",this._hide.bind(this,!1));return je.addEventListener("click",this._hide.bind(this,!0)),Ve.append(je),Ve}_formatContents(Ie){let{str:Be,dir:Ke}=Ie;const Ve=document.createElement("p");Ve.className="popupContent",Ve.dir=Ke;const je=Be.split(/(?:\r\n?|\n)/);for(let Le=0,et=je.length;Le0&&arguments[0]!==void 0?arguments[0]:!1)&&(this.pinned=!0),this.hideElement.hidden&&(this.hideElement.hidden=!1,this.container.style.zIndex=parseInt(this.container.style.zIndex)+1e3)}_hide(){(arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0)&&(this.pinned=!1),!this.hideElement.hidden&&!this.pinned&&(this.hideElement.hidden=!0,this.container.style.zIndex=parseInt(this.container.style.zIndex)-1e3)}}class me extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0}),this.textContent=Ie.data.textContent}render(){if(this.container.className="freeTextAnnotation",this.textContent){const Ie=document.createElement("div");Ie.className="annotationTextContent",Ie.setAttribute("role","comment");for(const Be of this.textContent){const Ke=document.createElement("span");Ke.textContent=Be,Ie.append(Ke)}this.container.append(Ie)}return this.data.hasPopup||this._createPopup(null,this.data),this.container}}class Ee extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0})}render(){this.container.className="lineAnnotation";const Ie=this.data,{width:Be,height:Ke}=e(Ie.rect),Ve=this.svgFactory.create(Be,Ke,!0),je=this.svgFactory.createElement("svg:line");return je.setAttribute("x1",Ie.rect[2]-Ie.lineCoordinates[0]),je.setAttribute("y1",Ie.rect[3]-Ie.lineCoordinates[1]),je.setAttribute("x2",Ie.rect[2]-Ie.lineCoordinates[2]),je.setAttribute("y2",Ie.rect[3]-Ie.lineCoordinates[3]),je.setAttribute("stroke-width",Ie.borderStyle.width||1),je.setAttribute("stroke","transparent"),je.setAttribute("fill","transparent"),Ve.append(je),this.container.append(Ve),this._createPopup(je,Ie),this.container}}class ke extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0})}render(){this.container.className="squareAnnotation";const Ie=this.data,{width:Be,height:Ke}=e(Ie.rect),Ve=this.svgFactory.create(Be,Ke,!0),je=Ie.borderStyle.width,Le=this.svgFactory.createElement("svg:rect");return Le.setAttribute("x",je/2),Le.setAttribute("y",je/2),Le.setAttribute("width",Be-je),Le.setAttribute("height",Ke-je),Le.setAttribute("stroke-width",je||1),Le.setAttribute("stroke","transparent"),Le.setAttribute("fill","transparent"),Ve.append(Le),this.container.append(Ve),this._createPopup(Le,Ie),this.container}}class xe extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0})}render(){this.container.className="circleAnnotation";const Ie=this.data,{width:Be,height:Ke}=e(Ie.rect),Ve=this.svgFactory.create(Be,Ke,!0),je=Ie.borderStyle.width,Le=this.svgFactory.createElement("svg:ellipse");return Le.setAttribute("cx",Be/2),Le.setAttribute("cy",Ke/2),Le.setAttribute("rx",Be/2-je/2),Le.setAttribute("ry",Ke/2-je/2),Le.setAttribute("stroke-width",je||1),Le.setAttribute("stroke","transparent"),Le.setAttribute("fill","transparent"),Ve.append(Le),this.container.append(Ve),this._createPopup(Le,Ie),this.container}}class fe extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const Ie=this.data,{width:Be,height:Ke}=e(Ie.rect),Ve=this.svgFactory.create(Be,Ke,!0);let je=[];for(const et of Ie.vertices){const Qe=et.x-Ie.rect[0],Ue=Ie.rect[3]-et.y;je.push(Qe+","+Ue)}je=je.join(" ");const Le=this.svgFactory.createElement(this.svgElementName);return Le.setAttribute("points",je),Le.setAttribute("stroke-width",Ie.borderStyle.width||1),Le.setAttribute("stroke","transparent"),Le.setAttribute("fill","transparent"),Ve.append(Le),this.container.append(Ve),this._createPopup(Le,Ie),this.container}}class ve extends fe{constructor(Ie){super(Ie),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class ye extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0})}render(){return this.container.className="caretAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class Ce extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline"}render(){this.container.className=this.containerClassName;const Ie=this.data,{width:Be,height:Ke}=e(Ie.rect),Ve=this.svgFactory.create(Be,Ke,!0);for(const je of Ie.inkLists){let Le=[];for(const Qe of je){const Ue=Qe.x-Ie.rect[0],$e=Ie.rect[3]-Qe.y;Le.push(`${Ue},${$e}`)}Le=Le.join(" ");const et=this.svgFactory.createElement(this.svgElementName);et.setAttribute("points",Le),et.setAttribute("stroke-width",Ie.borderStyle.width||1),et.setAttribute("stroke","transparent"),et.setAttribute("fill","transparent"),this._createPopup(et,Ie),Ve.append(et)}return this.container.append(Ve),this.container}}class pe extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("highlightAnnotation"):(this.container.className="highlightAnnotation",this.container)}}class _e extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("underlineAnnotation"):(this.container.className="underlineAnnotation",this.container)}}class Ge extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("squigglyAnnotation"):(this.container.className="squigglyAnnotation",this.container)}}class Ae extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return this.data.hasPopup||this._createPopup(null,this.data),this.quadrilaterals?this._renderQuadrilaterals("strikeoutAnnotation"):(this.container.className="strikeoutAnnotation",this.container)}}class Ne extends ie{constructor(Ie){var Be,Ke,Ve;const je=!!(Ie.data.hasPopup||(Be=Ie.data.titleObj)!==null&&Be!==void 0&&Be.str||(Ke=Ie.data.contentsObj)!==null&&Ke!==void 0&&Ke.str||(Ve=Ie.data.richText)!==null&&Ve!==void 0&&Ve.str);super(Ie,{isRenderable:je,ignoreBorder:!0})}render(){return this.container.className="stampAnnotation",this.data.hasPopup||this._createPopup(null,this.data),this.container}}class Ze extends ie{constructor(Ie){var Be;super(Ie,{isRenderable:!0});const{filename:Ke,content:Ve}=this.data.file;this.filename=(0,V.getFilenameFromUrl)(Ke),this.content=Ve,(Be=this.linkService.eventBus)===null||Be===void 0||Be.dispatch("fileattachmentannotation",{source:this,filename:Ke,content:Ve})}render(){var Ie,Be;this.container.className="fileAttachmentAnnotation";const Ke=document.createElement("div");return Ke.className="popupTriggerArea",Ke.addEventListener("dblclick",this._download.bind(this)),!this.data.hasPopup&&((Ie=this.data.titleObj)!==null&&Ie!==void 0&&Ie.str||(Be=this.data.contentsObj)!==null&&Be!==void 0&&Be.str||this.data.richText)&&this._createPopup(Ke,this.data),this.container.append(Ke),this.container}_download(){var Ie;(Ie=this.downloadManager)===null||Ie===void 0||Ie.openOrDownloadData(this.container,this.content,this.filename)}}class ze{static render(Ie){const{annotations:Be,div:Ke,viewport:Ve,accessibilityManager:je}=Ie;B(this,ze,Fe).call(this,Ke,Ve);let Le=0;for(const et of Be){if(et.annotationType!==G.AnnotationType.POPUP){const{width:Ue,height:$e}=e(et.rect);if(Ue<=0||$e<=0)continue}const Qe=ae.create({data:et,layer:Ke,page:Ie.page,viewport:Ve,linkService:Ie.linkService,downloadManager:Ie.downloadManager,imageResourcesPath:Ie.imageResourcesPath||"",renderForms:Ie.renderForms!==!1,svgFactory:new V.DOMSVGFactory,annotationStorage:Ie.annotationStorage||new q.AnnotationStorage,enableScripting:Ie.enableScripting,hasJSActions:Ie.hasJSActions,fieldObjects:Ie.fieldObjects,mouseState:Ie.mouseState||{isDown:!1}});if(Qe.isRenderable){const Ue=Qe.render();if(et.hidden&&(Ue.style.visibility="hidden"),Array.isArray(Ue))for(const $e of Ue)$e.style.zIndex=Le++,B(ze,ze,Te).call(ze,$e,et.id,Ke,je);else Ue.style.zIndex=Le++,Qe instanceof se?Ke.prepend(Ue):B(ze,ze,Te).call(ze,Ue,et.id,Ke,je)}}B(this,ze,Pe).call(this,Ke,Ie.annotationCanvasMap)}static update(Ie){const{annotationCanvasMap:Be,div:Ke,viewport:Ve}=Ie;B(this,ze,Fe).call(this,Ke,Ve),B(this,ze,Pe).call(this,Ke,Be),Ke.hidden=!1}}m.AnnotationLayer=ze;function Te(we,Ie,Be,Ke){const Ve=we.firstChild||we;Ve.id=`${V.AnnotationPrefix}${Ie}`,Be.append(we),Ke==null||Ke.moveElementInDOM(Be,we,Ve,!1)}function Fe(we,Ie){let{width:Be,height:Ke,rotation:Ve}=Ie;const{style:je}=we,Le=Ve%180!==0,et=Math.floor(Be)+"px",Qe=Math.floor(Ke)+"px";je.width=Le?Qe:et,je.height=Le?et:Qe,we.setAttribute("data-main-rotation",Ve)}function Pe(we,Ie){if(Ie){for(const[Be,Ke]of Ie){const Ve=we.querySelector(`[data-annotation-id="${Be}"]`);if(!Ve)continue;const{firstChild:je}=Ve;je?je.nodeName==="CANVAS"?je.replaceWith(Ke):je.before(Ke):Ve.append(Ke)}Ie.clear()}}},(k,m)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.ColorConverters=void 0;function M(V){return Math.floor(Math.max(0,Math.min(1,V))*255).toString(16).padStart(2,"0")}class G{static CMYK_G(q){let[$,D,B,R]=q;return["G",1-Math.min(1,.3*$+.59*B+.11*D+R)]}static G_CMYK(q){let[$]=q;return["CMYK",0,0,0,1-$]}static G_RGB(q){let[$]=q;return["RGB",$,$,$]}static G_HTML(q){let[$]=q;const D=M($);return`#${D}${D}${D}`}static RGB_G(q){let[$,D,B]=q;return["G",.3*$+.59*D+.11*B]}static RGB_HTML(q){let[$,D,B]=q;const R=M($),U=M(D),K=M(B);return`#${R}${U}${K}`}static T_HTML(){return"#00000000"}static CMYK_RGB(q){let[$,D,B,R]=q;return["RGB",1-Math.min(1,$+R),1-Math.min(1,B+R),1-Math.min(1,D+R)]}static CMYK_HTML(q){const $=this.CMYK_RGB(q).slice(1);return this.RGB_HTML($)}static RGB_CMYK(q){let[$,D,B]=q;const R=1-$,U=1-D,K=1-B,z=Math.min(R,U,K);return["CMYK",R,U,K,z]}}m.ColorConverters=G},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.XfaLayer=void 0;var G=M(145);class V{static setupStorage($,D,B,R,U){const K=R.getValue(D,{value:null});switch(B.name){case"textarea":if(K.value!==null&&($.textContent=K.value),U==="print")break;$.addEventListener("input",z=>{R.setValue(D,{value:z.target.value})});break;case"input":if(B.attributes.type==="radio"||B.attributes.type==="checkbox"){if(K.value===B.attributes.xfaOn?$.setAttribute("checked",!0):K.value===B.attributes.xfaOff&&$.removeAttribute("checked"),U==="print")break;$.addEventListener("change",z=>{R.setValue(D,{value:z.target.checked?z.target.getAttribute("xfaOn"):z.target.getAttribute("xfaOff")})})}else{if(K.value!==null&&$.setAttribute("value",K.value),U==="print")break;$.addEventListener("input",z=>{R.setValue(D,{value:z.target.value})})}break;case"select":if(K.value!==null)for(const z of B.children)z.attributes.value===K.value&&(z.attributes.selected=!0);$.addEventListener("input",z=>{const e=z.target.options,ae=e.selectedIndex===-1?"":e[e.selectedIndex].value;R.setValue(D,{value:ae})});break}}static setAttributes($){let{html:D,element:B,storage:R=null,intent:U,linkService:K}=$;const{attributes:z}=B,e=D instanceof HTMLAnchorElement;z.type==="radio"&&(z.name=`${z.name}-${U}`);for(const[ae,ie]of Object.entries(z))if(ie!=null)switch(ae){case"class":ie.length&&D.setAttribute(ae,ie.join(" "));break;case"dataId":break;case"id":D.setAttribute("data-element-id",ie);break;case"style":Object.assign(D.style,ie);break;case"textContent":D.textContent=ie;break;default:(!e||ae!=="href"&&ae!=="newWindow")&&D.setAttribute(ae,ie)}e&&K.addLinkAttributes(D,z.href,z.newWindow),R&&z.dataId&&this.setupStorage(D,z.dataId,B,R)}static render($){const D=$.annotationStorage,B=$.linkService,R=$.xfaHtml,U=$.intent||"display",K=document.createElement(R.name);R.attributes&&this.setAttributes({html:K,element:R,intent:U,linkService:B});const z=[[R,-1,K]],e=$.div;if(e.append(K),$.viewport){const he=`matrix(${$.viewport.transform.join(",")})`;e.style.transform=he}U!=="richText"&&e.setAttribute("class","xfaLayer xfaFont");const ae=[];for(;z.length>0;){var ie;const[he,J,W]=z.at(-1);if(J+1===he.children.length){z.pop();continue}const X=he.children[++z.at(-1)[1]];if(X===null)continue;const{name:L}=X;if(L==="#text"){const ce=document.createTextNode(X.value);ae.push(ce),W.append(ce);continue}let Q;if(X!=null&&(ie=X.attributes)!==null&&ie!==void 0&&ie.xmlns?Q=document.createElementNS(X.attributes.xmlns,L):Q=document.createElement(L),W.append(Q),X.attributes&&this.setAttributes({html:Q,element:X,storage:D,intent:U,linkService:B}),X.children&&X.children.length>0)z.push([X,-1,Q]);else if(X.value){const ce=document.createTextNode(X.value);G.XfaText.shouldBuildText(L)&&ae.push(ce),Q.append(ce)}}for(const he of e.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))he.setAttribute("readOnly",!0);return{textDivs:ae}}static update($){const D=`matrix(${$.viewport.transform.join(",")})`;$.div.style.transform=D,$.div.hidden=!1}}m.XfaLayer=V},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.TextLayerRenderTask=void 0,m.renderTextLayer=W;var G=M(1),V=M(133);const q=1e5,$=30,D=.8,B=new Map,R=/^\s+$/g;function U(X,L){const Q=B.get(X);if(Q)return Q;L.save(),L.font=`${$}px ${X}`;const ce=L.measureText("");let de=ce.fontBoundingBoxAscent,se=Math.abs(ce.fontBoundingBoxDescent);if(de){L.restore();const me=de/(de+se);return B.set(X,me),me}L.strokeStyle="red",L.clearRect(0,0,$,$),L.strokeText("g",0,0);let oe=L.getImageData(0,0,$,$).data;se=0;for(let me=oe.length-1-3;me>=0;me-=4)if(oe[me]>0){se=Math.ceil(me/4/$);break}L.clearRect(0,0,$,$),L.strokeText("A",0,$),oe=L.getImageData(0,0,$,$).data,de=0;for(let me=0,Ee=oe.length;me0){de=$-Math.floor(me/4/$);break}if(L.restore(),de){const me=de/(de+se);return B.set(X,me),me}return B.set(X,D),D}function K(X,L,Q,ce){const de=document.createElement("span"),se=X._enhanceTextSelection?{angle:0,canvasWidth:0,hasText:L.str!=="",hasEOL:L.hasEOL,originalTransform:null,paddingBottom:0,paddingLeft:0,paddingRight:0,paddingTop:0,scale:1,fontSize:0}:{angle:0,canvasWidth:0,hasText:L.str!=="",hasEOL:L.hasEOL,fontSize:0};X._textDivs.push(de);const oe=G.Util.transform(X._viewport.transform,L.transform);let me=Math.atan2(oe[1],oe[0]);const Ee=Q[L.fontName];Ee.vertical&&(me+=Math.PI/2);const ke=Math.hypot(oe[2],oe[3]),xe=ke*U(Ee.fontFamily,ce);let fe,ve;me===0?(fe=oe[4],ve=oe[5]-xe):(fe=oe[4]+xe*Math.sin(me),ve=oe[5]-xe*Math.cos(me)),de.style.left=`${fe}px`,de.style.top=`${ve}px`,de.style.fontSize=`${ke}px`,de.style.fontFamily=Ee.fontFamily,se.fontSize=ke,de.setAttribute("role","presentation"),de.textContent=L.str,de.dir=L.dir,X._fontInspectorEnabled&&(de.dataset.fontName=L.fontName),me!==0&&(se.angle=me*(180/Math.PI));let ye=!1;if(L.str.length>1||X._enhanceTextSelection&&R.test(L.str))ye=!0;else if(L.str!==" "&&L.transform[0]!==L.transform[3]){const Ce=Math.abs(L.transform[0]),pe=Math.abs(L.transform[3]);Ce!==pe&&Math.max(Ce,pe)/Math.min(Ce,pe)>1.5&&(ye=!0)}if(ye&&(Ee.vertical?se.canvasWidth=L.height*X._viewport.scale:se.canvasWidth=L.width*X._viewport.scale),X._textDivProperties.set(de,se),X._textContentStream&&X._layoutText(de),X._enhanceTextSelection&&se.hasText){let Ce=1,pe=0;me!==0&&(Ce=Math.cos(me),pe=Math.sin(me));const _e=(Ee.vertical?L.height:L.width)*X._viewport.scale,Ge=ke;let Ae,Ne;me!==0?(Ae=[Ce,pe,-pe,Ce,fe,ve],Ne=G.Util.getAxialAlignedBoundingBox([0,0,_e,Ge],Ae)):Ne=[fe,ve,fe+_e,ve+Ge],X._bounds.push({left:Ne[0],top:Ne[1],right:Ne[2],bottom:Ne[3],div:de,size:[_e,Ge],m:Ae})}}function z(X){if(X._canceled)return;const L=X._textDivs,Q=X._capability,ce=L.length;if(ce>q){X._renderingDone=!0,Q.resolve();return}if(!X._textContentStream)for(let de=0;de0&&(ce=ce?Math.min(se,ce):se)}return ce}function ae(X){const L=X._bounds,Q=X._viewport,ce=ie(Q.width,Q.height,L);for(let de=0;de=0&&ce[oe].start>=de.y2;)oe--;let me,Ee,ke,xe,fe=-1/0;for(ke=se;ke<=oe;ke++){me=ce[ke],Ee=me.boundary;let Ce;Ee.x2>de.x1?Ce=Ee.index>de.index?Ee.x1New:de.x1:Ee.x2New===void 0?Ce=(Ee.x2+de.x1)/2:Ce=Ee.x2New,Ce>fe&&(fe=Ce)}for(de.x1New=fe,ke=se;ke<=oe;ke++)me=ce[ke],Ee=me.boundary,Ee.x2New===void 0?Ee.x2>de.x1?Ee.index>de.index&&(Ee.x2New=Ee.x2):Ee.x2New=fe:Ee.x2New>fe&&(Ee.x2New=Math.max(fe,Ee.x2));const ve=[];let ye=null;for(ke=se;ke<=oe;ke++){me=ce[ke],Ee=me.boundary;const Ce=Ee.x2>de.x2?Ee:de;ye===Ce?ve.at(-1).end=me.end:(ve.push({start:me.start,end:me.end,boundary:Ce}),ye=Ce)}for(ce[se].start=0&&ce[xe].start>=Ee.y1;xe--)Ce=ce[xe].boundary===Ee;for(xe=oe+1;!Ce&&xe{this._enhanceTextSelection||(this._textDivProperties=null),this._layoutTextCtx&&(this._layoutTextCtx.canvas.width=0,this._layoutTextCtx.canvas.height=0,this._layoutTextCtx=null)}).catch(()=>{})}get promise(){return this._capability.promise}cancel(){this._canceled=!0,this._reader&&(this._reader.cancel(new G.AbortException("TextLayer task cancelled.")).catch(()=>{}),this._reader=null),this._renderTimer!==null&&(clearTimeout(this._renderTimer),this._renderTimer=null),this._capability.reject(new Error("TextLayer task cancelled."))}_processItems(L,Q){for(let ce=0,de=L.length;ce0){const me=this._devicePixelRatio*Q.canvasWidth/oe;this._enhanceTextSelection&&(Q.scale=me),ce=`scaleX(${me})`}}if(Q.angle!==0&&(ce=`rotate(${Q.angle}deg) ${ce}`),ce.length>0&&(this._enhanceTextSelection&&(Q.originalTransform=ce),L.style.transform=ce),Q.hasText&&this._container.append(L),Q.hasEOL){const de=document.createElement("br");de.setAttribute("role","presentation"),this._container.append(de)}}_render(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;const Q=(0,G.createPromiseCapability)();let ce=Object.create(null);const de=this._document.createElement("canvas");if(de.height=de.width=$,this._layoutTextCtx=de.getContext("2d",{alpha:!1}),this._textContent){const se=this._textContent.items,oe=this._textContent.styles;this._processItems(se,oe),Q.resolve()}else if(this._textContentStream){const se=()=>{this._reader.read().then(oe=>{let{value:me,done:Ee}=oe;if(Ee){Q.resolve();return}Object.assign(ce,me.styles),this._processItems(me.items,ce),se()},Q.reject)};this._reader=this._textContentStream.getReader(),se()}else throw new Error('Neither "textContent" nor "textContentStream" parameters specified.');Q.promise.then(()=>{ce=null,L?this._renderTimer=setTimeout(()=>{z(this),this._renderTimer=null},L):z(this)},this._capability.reject)}expandTextDivs(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this._enhanceTextSelection||!this._renderingDone)return;this._bounds!==null&&(ae(this),this._bounds=null);const Q=[],ce=[];for(let de=0,se=this._textDivs.length;de0?(ce.push(`${me.paddingTop}px`),Q.push(`translateY(${-me.paddingTop}px)`)):ce.push(0),me.paddingRight>0?ce.push(`${me.paddingRight/me.scale}px`):ce.push(0),me.paddingBottom>0?ce.push(`${me.paddingBottom}px`):ce.push(0),me.paddingLeft>0?(ce.push(`${me.paddingLeft/me.scale}px`),Q.push(`translateX(${-me.paddingLeft/me.scale}px)`)):ce.push(0),oe.style.padding=ce.join(" "),Q.length&&(oe.style.transform=Q.join(" "))):(oe.style.padding=null,oe.style.transform=me.originalTransform))}}}m.TextLayerRenderTask=J;function W(X){const L=new J({textContent:X.textContent,textContentStream:X.textContentStream,container:X.container,viewport:X.viewport,textDivs:X.textDivs,textContentItemsStr:X.textContentItemsStr,enhanceTextSelection:X.enhanceTextSelection});return L._render(X.timeout),L}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.SVGGraphics=void 0;var G=M(133),V=M(1),q=M(3);let $=class{constructor(){(0,V.unreachable)("Not implemented: SVGGraphics")}};m.SVGGraphics=$;{let ie=function(Q){let ce=[];const de=[];for(const se of Q){if(se.fn==="save"){ce.push({fnId:92,fn:"group",items:[]}),de.push(ce),ce=ce.at(-1).items;continue}se.fn==="restore"?ce=de.pop():ce.push(se)}return ce},he=function(Q){if(Number.isInteger(Q))return Q.toString();const ce=Q.toFixed(10);let de=ce.length-1;if(ce[de]!=="0")return ce;do de--;while(ce[de]==="0");return ce.substring(0,ce[de]==="."?de:de+1)},J=function(Q){if(Q[4]===0&&Q[5]===0){if(Q[1]===0&&Q[2]===0)return Q[0]===1&&Q[3]===1?"":`scale(${he(Q[0])} ${he(Q[3])})`;if(Q[0]===Q[3]&&Q[1]===-Q[2]){const ce=Math.acos(Q[0])*180/Math.PI;return`rotate(${he(ce)})`}}else if(Q[0]===1&&Q[1]===0&&Q[2]===0&&Q[3]===1)return`translate(${he(Q[4])} ${he(Q[5])})`;return`matrix(${he(Q[0])} ${he(Q[1])} ${he(Q[2])} ${he(Q[3])} ${he(Q[4])} ${he(Q[5])})`};const D={fontStyle:"normal",fontWeight:"normal",fillColor:"#000000"},B="http://www.w3.org/XML/1998/namespace",R="http://www.w3.org/1999/xlink",U=["butt","round","square"],K=["miter","round","bevel"],z=function(Q){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(URL.createObjectURL&&typeof Blob<"u"&&!de)return URL.createObjectURL(new Blob([Q],{type:ce}));const se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";let oe=`data:${ce};base64,`;for(let me=0,Ee=Q.length;me>2,ye=(ke&3)<<4|xe>>4,Ce=me+1>6:64,pe=me+2>1&2147483647:ve=ve>>1&2147483647;de[fe]=ve}function se(fe,ve,ye){let Ce=-1;for(let pe=ve;pe>>8^Ge}return Ce^-1}function oe(fe,ve,ye,Ce){let pe=Ce;const _e=ve.length;ye[pe]=_e>>24&255,ye[pe+1]=_e>>16&255,ye[pe+2]=_e>>8&255,ye[pe+3]=_e&255,pe+=4,ye[pe]=fe.charCodeAt(0)&255,ye[pe+1]=fe.charCodeAt(1)&255,ye[pe+2]=fe.charCodeAt(2)&255,ye[pe+3]=fe.charCodeAt(3)&255,pe+=4,ye.set(ve,pe),pe+=ve.length;const Ge=se(ye,Ce+4,pe);ye[pe]=Ge>>24&255,ye[pe+1]=Ge>>16&255,ye[pe+2]=Ge>>8&255,ye[pe+3]=Ge&255}function me(fe,ve,ye){let Ce=1,pe=0;for(let _e=ve;_e=8?ve=fe:ve=Buffer.from(fe);const ye=require$$7.deflateSync(ve,{level:9});return ye instanceof Uint8Array?ye:new Uint8Array(ye)}catch(ve){(0,V.warn)("Not compressing PNG because zlib.deflateSync is unavailable: "+ve)}return ke(fe)}function ke(fe){let ve=fe.length;const ye=65535,Ce=Math.ceil(ve/ye),pe=new Uint8Array(2+ve+Ce*5+4);let _e=0;pe[_e++]=120,pe[_e++]=156;let Ge=0;for(;ve>ye;)pe[_e++]=0,pe[_e++]=255,pe[_e++]=255,pe[_e++]=0,pe[_e++]=0,pe.set(fe.subarray(Ge,Ge+ye),_e),_e+=ye,Ge+=ye,ve-=ye;pe[_e++]=1,pe[_e++]=ve&255,pe[_e++]=ve>>8&255,pe[_e++]=~ve&65535&255,pe[_e++]=(~ve&65535)>>8&255,pe.set(fe.subarray(Ge),_e),_e+=fe.length-Ge;const Ae=me(fe,0,fe.length);return pe[_e++]=Ae>>24&255,pe[_e++]=Ae>>16&255,pe[_e++]=Ae>>8&255,pe[_e++]=Ae&255,pe}function xe(fe,ve,ye,Ce){const pe=fe.width,_e=fe.height;let Ge,Ae,Ne;const Ze=fe.data;switch(ve){case V.ImageKind.GRAYSCALE_1BPP:Ae=0,Ge=1,Ne=pe+7>>3;break;case V.ImageKind.RGB_24BPP:Ae=2,Ge=8,Ne=pe*3;break;case V.ImageKind.RGBA_32BPP:Ae=6,Ge=8,Ne=pe*4;break;default:throw new Error("invalid format")}const ze=new Uint8Array((1+Ne)*_e);let Te=0,Fe=0;for(let Ve=0;Ve<_e;++Ve)ze[Te++]=0,ze.set(Ze.subarray(Fe,Fe+Ne),Te),Fe+=Ne,Te+=Ne;if(ve===V.ImageKind.GRAYSCALE_1BPP&&Ce){Te=0;for(let Ve=0;Ve<_e;Ve++){Te++;for(let je=0;je>24&255,pe>>16&255,pe>>8&255,pe&255,_e>>24&255,_e>>16&255,_e>>8&255,_e&255,Ge,Ae,0,0,0]),we=Ee(ze),Ie=Q.length+ce*3+Pe.length+we.length,Be=new Uint8Array(Ie);let Ke=0;return Be.set(Q,Ke),Ke+=Q.length,oe("IHDR",Pe,Be,Ke),Ke+=ce+Pe.length,oe("IDATA",we,Be,Ke),Ke+=ce+we.length,oe("IEND",new Uint8Array(0),Be,Ke),z(Be,"image/png",ye)}return function(ve,ye,Ce){const pe=ve.kind===void 0?V.ImageKind.GRAYSCALE_1BPP:ve.kind;return xe(ve,pe,ye,Ce)}}();class ae{constructor(){this.fontSizeScale=1,this.fontWeight=D.fontWeight,this.fontSize=0,this.textMatrix=V.IDENTITY_MATRIX,this.fontMatrix=V.FONT_IDENTITY_MATRIX,this.leading=0,this.textRenderingMode=V.TextRenderingMode.FILL,this.textMatrixScale=1,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRise=0,this.fillColor=D.fillColor,this.strokeColor="#000000",this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.lineJoin="",this.lineCap="",this.miterLimit=0,this.dashArray=[],this.dashPhase=0,this.dependencies=[],this.activeClipUrl=null,this.clipGroup=null,this.maskId=""}clone(){return Object.create(this)}setCurrentPoint(ce,de){this.x=ce,this.y=de}}let W=0,X=0,L=0;m.SVGGraphics=$=class{constructor(Q,ce){let de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;(0,G.deprecated)("The SVG back-end is no longer maintained and *may* be removed in the future."),this.svgFactory=new G.DOMSVGFactory,this.current=new ae,this.transformMatrix=V.IDENTITY_MATRIX,this.transformStack=[],this.extraStack=[],this.commonObjs=Q,this.objs=ce,this.pendingClip=null,this.pendingEOFill=!1,this.embedFonts=!1,this.embeddedFonts=Object.create(null),this.cssStyle=null,this.forceDataSchema=!!de,this._operatorIdMapping=[];for(const se in V.OPS)this._operatorIdMapping[V.OPS[se]]=se}save(){this.transformStack.push(this.transformMatrix);const Q=this.current;this.extraStack.push(Q),this.current=Q.clone()}restore(){this.transformMatrix=this.transformStack.pop(),this.current=this.extraStack.pop(),this.pendingClip=null,this.tgrp=null}group(Q){this.save(),this.executeOpTree(Q),this.restore()}loadDependencies(Q){const ce=Q.fnArray,de=Q.argsArray;for(let se=0,oe=ce.length;se{Ee.get(me,xe)});this.current.dependencies.push(ke)}return Promise.all(this.current.dependencies)}transform(Q,ce,de,se,oe,me){const Ee=[Q,ce,de,se,oe,me];this.transformMatrix=V.Util.transform(this.transformMatrix,Ee),this.tgrp=null}getSVG(Q,ce){this.viewport=ce;const de=this._initialize(ce);return this.loadDependencies(Q).then(()=>(this.transformMatrix=V.IDENTITY_MATRIX,this.executeOpTree(this.convertOpList(Q)),de))}convertOpList(Q){const ce=this._operatorIdMapping,de=Q.argsArray,se=Q.fnArray,oe=[];for(let me=0,Ee=se.length;me0&&(this.current.lineWidth=Q)}setLineCap(Q){this.current.lineCap=U[Q]}setLineJoin(Q){this.current.lineJoin=K[Q]}setMiterLimit(Q){this.current.miterLimit=Q}setStrokeAlpha(Q){this.current.strokeAlpha=Q}setStrokeRGBColor(Q,ce,de){this.current.strokeColor=V.Util.makeHexColor(Q,ce,de)}setFillAlpha(Q){this.current.fillAlpha=Q}setFillRGBColor(Q,ce,de){this.current.fillColor=V.Util.makeHexColor(Q,ce,de),this.current.tspan=this.svgFactory.createElement("svg:tspan"),this.current.xcoords=[],this.current.ycoords=[]}setStrokeColorN(Q){this.current.strokeColor=this._makeColorN_Pattern(Q)}setFillColorN(Q){this.current.fillColor=this._makeColorN_Pattern(Q)}shadingFill(Q){const ce=this.viewport.width,de=this.viewport.height,se=V.Util.inverseTransform(this.transformMatrix),oe=V.Util.applyTransform([0,0],se),me=V.Util.applyTransform([0,de],se),Ee=V.Util.applyTransform([ce,0],se),ke=V.Util.applyTransform([ce,de],se),xe=Math.min(oe[0],me[0],Ee[0],ke[0]),fe=Math.min(oe[1],me[1],Ee[1],ke[1]),ve=Math.max(oe[0],me[0],Ee[0],ke[0]),ye=Math.max(oe[1],me[1],Ee[1],ke[1]),Ce=this.svgFactory.createElement("svg:rect");Ce.setAttributeNS(null,"x",xe),Ce.setAttributeNS(null,"y",fe),Ce.setAttributeNS(null,"width",ve-xe),Ce.setAttributeNS(null,"height",ye-fe),Ce.setAttributeNS(null,"fill",this._makeShadingPattern(Q)),this.current.fillAlpha<1&&Ce.setAttributeNS(null,"fill-opacity",this.current.fillAlpha),this._ensureTransformGroup().append(Ce)}_makeColorN_Pattern(Q){return Q[0]==="TilingPattern"?this._makeTilingPattern(Q):this._makeShadingPattern(Q)}_makeTilingPattern(Q){const ce=Q[1],de=Q[2],se=Q[3]||V.IDENTITY_MATRIX,[oe,me,Ee,ke]=Q[4],xe=Q[5],fe=Q[6],ve=Q[7],ye=`shading${L++}`,[Ce,pe,_e,Ge]=V.Util.normalizeRect([...V.Util.applyTransform([oe,me],se),...V.Util.applyTransform([Ee,ke],se)]),[Ae,Ne]=V.Util.singularValueDecompose2dScale(se),Ze=xe*Ae,ze=fe*Ne,Te=this.svgFactory.createElement("svg:pattern");Te.setAttributeNS(null,"id",ye),Te.setAttributeNS(null,"patternUnits","userSpaceOnUse"),Te.setAttributeNS(null,"width",Ze),Te.setAttributeNS(null,"height",ze),Te.setAttributeNS(null,"x",`${Ce}`),Te.setAttributeNS(null,"y",`${pe}`);const Fe=this.svg,Pe=this.transformMatrix,we=this.current.fillColor,Ie=this.current.strokeColor,Be=this.svgFactory.create(_e-Ce,Ge-pe);if(this.svg=Be,this.transformMatrix=se,ve===2){const Ke=V.Util.makeHexColor(...ce);this.current.fillColor=Ke,this.current.strokeColor=Ke}return this.executeOpTree(this.convertOpList(de)),this.svg=Fe,this.transformMatrix=Pe,this.current.fillColor=we,this.current.strokeColor=Ie,Te.append(Be.childNodes[0]),this.defs.append(Te),`url(#${ye})`}_makeShadingPattern(Q){switch(typeof Q=="string"&&(Q=this.objs.get(Q)),Q[0]){case"RadialAxial":const ce=`shading${L++}`,de=Q[3];let se;switch(Q[1]){case"axial":const oe=Q[4],me=Q[5];se=this.svgFactory.createElement("svg:linearGradient"),se.setAttributeNS(null,"id",ce),se.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),se.setAttributeNS(null,"x1",oe[0]),se.setAttributeNS(null,"y1",oe[1]),se.setAttributeNS(null,"x2",me[0]),se.setAttributeNS(null,"y2",me[1]);break;case"radial":const Ee=Q[4],ke=Q[5],xe=Q[6],fe=Q[7];se=this.svgFactory.createElement("svg:radialGradient"),se.setAttributeNS(null,"id",ce),se.setAttributeNS(null,"gradientUnits","userSpaceOnUse"),se.setAttributeNS(null,"cx",ke[0]),se.setAttributeNS(null,"cy",ke[1]),se.setAttributeNS(null,"r",fe),se.setAttributeNS(null,"fx",Ee[0]),se.setAttributeNS(null,"fy",Ee[1]),se.setAttributeNS(null,"fr",xe);break;default:throw new Error(`Unknown RadialAxial type: ${Q[1]}`)}for(const oe of de){const me=this.svgFactory.createElement("svg:stop");me.setAttributeNS(null,"offset",oe[0]),me.setAttributeNS(null,"stop-color",oe[1]),se.append(me)}return this.defs.append(se),`url(#${ce})`;case"Mesh":return(0,V.warn)("Unimplemented pattern Mesh"),null;case"Dummy":return"hotpink";default:throw new Error(`Unknown IR type: ${Q[0]}`)}}setDash(Q,ce){this.current.dashArray=Q,this.current.dashPhase=ce}constructPath(Q,ce){const de=this.current;let se=de.x,oe=de.y,me=[],Ee=0;for(const ke of Q)switch(ke|0){case V.OPS.rectangle:se=ce[Ee++],oe=ce[Ee++];const xe=ce[Ee++],fe=ce[Ee++],ve=se+xe,ye=oe+fe;me.push("M",he(se),he(oe),"L",he(ve),he(oe),"L",he(ve),he(ye),"L",he(se),he(ye),"Z");break;case V.OPS.moveTo:se=ce[Ee++],oe=ce[Ee++],me.push("M",he(se),he(oe));break;case V.OPS.lineTo:se=ce[Ee++],oe=ce[Ee++],me.push("L",he(se),he(oe));break;case V.OPS.curveTo:se=ce[Ee+4],oe=ce[Ee+5],me.push("C",he(ce[Ee]),he(ce[Ee+1]),he(ce[Ee+2]),he(ce[Ee+3]),he(se),he(oe)),Ee+=6;break;case V.OPS.curveTo2:me.push("C",he(se),he(oe),he(ce[Ee]),he(ce[Ee+1]),he(ce[Ee+2]),he(ce[Ee+3])),se=ce[Ee+2],oe=ce[Ee+3],Ee+=4;break;case V.OPS.curveTo3:se=ce[Ee+2],oe=ce[Ee+3],me.push("C",he(ce[Ee]),he(ce[Ee+1]),he(se),he(oe),he(se),he(oe)),Ee+=4;break;case V.OPS.closePath:me.push("Z");break}me=me.join(" "),de.path&&Q.length>0&&Q[0]!==V.OPS.rectangle&&Q[0]!==V.OPS.moveTo?me=de.path.getAttributeNS(null,"d")+me:(de.path=this.svgFactory.createElement("svg:path"),this._ensureTransformGroup().append(de.path)),de.path.setAttributeNS(null,"d",me),de.path.setAttributeNS(null,"fill","none"),de.element=de.path,de.setCurrentPoint(se,oe)}endPath(){const Q=this.current;if(Q.path=null,!this.pendingClip)return;if(!Q.element){this.pendingClip=null;return}const ce=`clippath${W++}`,de=this.svgFactory.createElement("svg:clipPath");de.setAttributeNS(null,"id",ce),de.setAttributeNS(null,"transform",J(this.transformMatrix));const se=Q.element.cloneNode(!0);if(this.pendingClip==="evenodd"?se.setAttributeNS(null,"clip-rule","evenodd"):se.setAttributeNS(null,"clip-rule","nonzero"),this.pendingClip=null,de.append(se),this.defs.append(de),Q.activeClipUrl){Q.clipGroup=null;for(const oe of this.extraStack)oe.clipGroup=null;de.setAttributeNS(null,"clip-path",Q.activeClipUrl)}Q.activeClipUrl=`url(#${ce})`,this.tgrp=null}clip(Q){this.pendingClip=Q}closePath(){const Q=this.current;if(Q.path){const ce=`${Q.path.getAttributeNS(null,"d")}Z`;Q.path.setAttributeNS(null,"d",ce)}}setLeading(Q){this.current.leading=-Q}setTextRise(Q){this.current.textRise=Q}setTextRenderingMode(Q){this.current.textRenderingMode=Q}setHScale(Q){this.current.textHScale=Q/100}setRenderingIntent(Q){}setFlatness(Q){}setGState(Q){for(const[ce,de]of Q)switch(ce){case"LW":this.setLineWidth(de);break;case"LC":this.setLineCap(de);break;case"LJ":this.setLineJoin(de);break;case"ML":this.setMiterLimit(de);break;case"D":this.setDash(de[0],de[1]);break;case"RI":this.setRenderingIntent(de);break;case"FL":this.setFlatness(de);break;case"Font":this.setFont(de);break;case"CA":this.setStrokeAlpha(de);break;case"ca":this.setFillAlpha(de);break;default:(0,V.warn)(`Unimplemented graphic state operator ${ce}`);break}}fill(){const Q=this.current;Q.element&&(Q.element.setAttributeNS(null,"fill",Q.fillColor),Q.element.setAttributeNS(null,"fill-opacity",Q.fillAlpha),this.endPath())}stroke(){const Q=this.current;Q.element&&(this._setStrokeAttributes(Q.element),Q.element.setAttributeNS(null,"fill","none"),this.endPath())}_setStrokeAttributes(Q){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const de=this.current;let se=de.dashArray;ce!==1&&se.length>0&&(se=se.map(function(oe){return ce*oe})),Q.setAttributeNS(null,"stroke",de.strokeColor),Q.setAttributeNS(null,"stroke-opacity",de.strokeAlpha),Q.setAttributeNS(null,"stroke-miterlimit",he(de.miterLimit)),Q.setAttributeNS(null,"stroke-linecap",de.lineCap),Q.setAttributeNS(null,"stroke-linejoin",de.lineJoin),Q.setAttributeNS(null,"stroke-width",he(ce*de.lineWidth)+"px"),Q.setAttributeNS(null,"stroke-dasharray",se.map(he).join(" ")),Q.setAttributeNS(null,"stroke-dashoffset",he(ce*de.dashPhase)+"px")}eoFill(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fill()}fillStroke(){this.stroke(),this.fill()}eoFillStroke(){this.current.element&&this.current.element.setAttributeNS(null,"fill-rule","evenodd"),this.fillStroke()}closeStroke(){this.closePath(),this.stroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.closePath(),this.eoFillStroke()}paintSolidColorImageMask(){const Q=this.svgFactory.createElement("svg:rect");Q.setAttributeNS(null,"x","0"),Q.setAttributeNS(null,"y","0"),Q.setAttributeNS(null,"width","1px"),Q.setAttributeNS(null,"height","1px"),Q.setAttributeNS(null,"fill",this.current.fillColor),this._ensureTransformGroup().append(Q)}paintImageXObject(Q){const ce=Q.startsWith("g_")?this.commonObjs.get(Q):this.objs.get(Q);if(!ce){(0,V.warn)(`Dependent image with object ID ${Q} is not ready yet`);return}this.paintInlineImageXObject(ce)}paintInlineImageXObject(Q,ce){const de=Q.width,se=Q.height,oe=e(Q,this.forceDataSchema,!!ce),me=this.svgFactory.createElement("svg:rect");me.setAttributeNS(null,"x","0"),me.setAttributeNS(null,"y","0"),me.setAttributeNS(null,"width",he(de)),me.setAttributeNS(null,"height",he(se)),this.current.element=me,this.clip("nonzero");const Ee=this.svgFactory.createElement("svg:image");Ee.setAttributeNS(R,"xlink:href",oe),Ee.setAttributeNS(null,"x","0"),Ee.setAttributeNS(null,"y",he(-se)),Ee.setAttributeNS(null,"width",he(de)+"px"),Ee.setAttributeNS(null,"height",he(se)+"px"),Ee.setAttributeNS(null,"transform",`scale(${he(1/de)} ${he(-1/se)})`),ce?ce.append(Ee):this._ensureTransformGroup().append(Ee)}paintImageMaskXObject(Q){const ce=this.current,de=Q.width,se=Q.height,oe=ce.fillColor;ce.maskId=`mask${X++}`;const me=this.svgFactory.createElement("svg:mask");me.setAttributeNS(null,"id",ce.maskId);const Ee=this.svgFactory.createElement("svg:rect");Ee.setAttributeNS(null,"x","0"),Ee.setAttributeNS(null,"y","0"),Ee.setAttributeNS(null,"width",he(de)),Ee.setAttributeNS(null,"height",he(se)),Ee.setAttributeNS(null,"fill",oe),Ee.setAttributeNS(null,"mask",`url(#${ce.maskId})`),this.defs.append(me),this._ensureTransformGroup().append(Ee),this.paintInlineImageXObject(Q,me)}paintFormXObjectBegin(Q,ce){if(Array.isArray(Q)&&Q.length===6&&this.transform(Q[0],Q[1],Q[2],Q[3],Q[4],Q[5]),ce){const de=ce[2]-ce[0],se=ce[3]-ce[1],oe=this.svgFactory.createElement("svg:rect");oe.setAttributeNS(null,"x",ce[0]),oe.setAttributeNS(null,"y",ce[1]),oe.setAttributeNS(null,"width",he(de)),oe.setAttributeNS(null,"height",he(se)),this.current.element=oe,this.clip("nonzero"),this.endPath()}}paintFormXObjectEnd(){}_initialize(Q){const ce=this.svgFactory.create(Q.width,Q.height),de=this.svgFactory.createElement("svg:defs");ce.append(de),this.defs=de;const se=this.svgFactory.createElement("svg:g");return se.setAttributeNS(null,"transform",J(Q.transform)),ce.append(se),this.svg=se,ce}_ensureClipGroup(){if(!this.current.clipGroup){const Q=this.svgFactory.createElement("svg:g");Q.setAttributeNS(null,"clip-path",this.current.activeClipUrl),this.svg.append(Q),this.current.clipGroup=Q}return this.current.clipGroup}_ensureTransformGroup(){return this.tgrp||(this.tgrp=this.svgFactory.createElement("svg:g"),this.tgrp.setAttributeNS(null,"transform",J(this.transformMatrix)),this.current.activeClipUrl?this._ensureClipGroup().append(this.tgrp):this.svg.append(this.tgrp)),this.tgrp}}}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.PDFNodeStream=void 0;var G=M(1),V=M(158);const q=require$$7,$=require$$7,D=require$$7,B=require$$7,R=/^file:\/\/\/[a-zA-Z]:\//;function U(X){const L=B.parse(X);return L.protocol==="file:"||L.host?L:/^[a-z]:[/\\]/i.test(X)?B.parse(`file:///${X}`):(L.host||(L.protocol="file:"),L)}class K{constructor(L){this.source=L,this.url=U(L.url),this.isHttp=this.url.protocol==="http:"||this.url.protocol==="https:",this.isFsUrl=this.url.protocol==="file:",this.httpHeaders=this.isHttp&&L.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var L,Q;return(L=(Q=this._fullRequestReader)===null||Q===void 0?void 0:Q._loaded)!==null&&L!==void 0?L:0}getFullReader(){return(0,G.assert)(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new J(this):new ie(this),this._fullRequestReader}getRangeReader(L,Q){if(Q<=this._progressiveDataLength)return null;const ce=this.isFsUrl?new W(this,L,Q):new he(this,L,Q);return this._rangeRequestReaders.push(ce),ce}cancelAllRequests(L){this._fullRequestReader&&this._fullRequestReader.cancel(L);for(const Q of this._rangeRequestReaders.slice(0))Q.cancel(L)}}m.PDFNodeStream=K;class z{constructor(L){this._url=L.url,this._done=!1,this._storedError=null,this.onProgress=null;const Q=L.source;this._contentLength=Q.length,this._loaded=0,this._filename=null,this._disableRange=Q.disableRange||!1,this._rangeChunkSize=Q.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!Q.disableStream,this._isRangeSupported=!Q.disableRange,this._readableStream=null,this._readCapability=(0,G.createPromiseCapability)(),this._headersCapability=(0,G.createPromiseCapability)()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const L=this._readableStream.read();return L===null?(this._readCapability=(0,G.createPromiseCapability)(),this.read()):(this._loaded+=L.length,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(L).buffer,done:!1})}cancel(L){if(!this._readableStream){this._error(L);return}this._readableStream.destroy(L)}_error(L){this._storedError=L,this._readCapability.resolve()}_setReadableStream(L){this._readableStream=L,L.on("readable",()=>{this._readCapability.resolve()}),L.on("end",()=>{L.destroy(),this._done=!0,this._readCapability.resolve()}),L.on("error",Q=>{this._error(Q)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new G.AbortException("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class e{constructor(L){this._url=L.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=(0,G.createPromiseCapability)();const Q=L.source;this._isStreamingSupported=!Q.disableStream}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const L=this._readableStream.read();return L===null?(this._readCapability=(0,G.createPromiseCapability)(),this.read()):(this._loaded+=L.length,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(L).buffer,done:!1})}cancel(L){if(!this._readableStream){this._error(L);return}this._readableStream.destroy(L)}_error(L){this._storedError=L,this._readCapability.resolve()}_setReadableStream(L){this._readableStream=L,L.on("readable",()=>{this._readCapability.resolve()}),L.on("end",()=>{L.destroy(),this._done=!0,this._readCapability.resolve()}),L.on("error",Q=>{this._error(Q)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function ae(X,L){return{protocol:X.protocol,auth:X.auth,host:X.hostname,port:X.port,path:X.path,method:"GET",headers:L}}class ie extends z{constructor(L){super(L);const Q=ce=>{if(ce.statusCode===404){const me=new G.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=me,this._headersCapability.reject(me);return}this._headersCapability.resolve(),this._setReadableStream(ce);const de=me=>this._readableStream.headers[me.toLowerCase()],{allowRangeRequests:se,suggestedLength:oe}=(0,V.validateRangeRequestCapabilities)({getResponseHeader:de,isHttp:L.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=se,this._contentLength=oe||this._contentLength,this._filename=(0,V.extractFilenameFromHeader)(de)};this._request=null,this._url.protocol==="http:"?this._request=$.request(ae(this._url,L.httpHeaders),Q):this._request=D.request(ae(this._url,L.httpHeaders),Q),this._request.on("error",ce=>{this._storedError=ce,this._headersCapability.reject(ce)}),this._request.end()}}class he extends e{constructor(L,Q,ce){super(L),this._httpHeaders={};for(const se in L.httpHeaders){const oe=L.httpHeaders[se];typeof oe>"u"||(this._httpHeaders[se]=oe)}this._httpHeaders.Range=`bytes=${Q}-${ce-1}`;const de=se=>{if(se.statusCode===404){const oe=new G.MissingPDFException(`Missing PDF "${this._url}".`);this._storedError=oe;return}this._setReadableStream(se)};this._request=null,this._url.protocol==="http:"?this._request=$.request(ae(this._url,this._httpHeaders),de):this._request=D.request(ae(this._url,this._httpHeaders),de),this._request.on("error",se=>{this._storedError=se}),this._request.end()}}class J extends z{constructor(L){super(L);let Q=decodeURIComponent(this._url.path);R.test(this._url.href)&&(Q=Q.replace(/^\//,"")),q.lstat(Q,(ce,de)=>{if(ce){ce.code==="ENOENT"&&(ce=new G.MissingPDFException(`Missing PDF "${Q}".`)),this._storedError=ce,this._headersCapability.reject(ce);return}this._contentLength=de.size,this._setReadableStream(q.createReadStream(Q)),this._headersCapability.resolve()})}}class W extends e{constructor(L,Q,ce){super(L);let de=decodeURIComponent(this._url.path);R.test(this._url.href)&&(de=de.replace(/^\//,"")),this._setReadableStream(q.createReadStream(de,{start:Q,end:ce-1}))}}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.createResponseStatusError=B,m.extractFilenameFromHeader=D,m.validateRangeRequestCapabilities=$,m.validateResponseStatus=R;var G=M(1),V=M(159),q=M(133);function $(U){let{getResponseHeader:K,isHttp:z,rangeChunkSize:e,disableRange:ae}=U;const ie={allowRangeRequests:!1,suggestedLength:void 0},he=parseInt(K("Content-Length"),10);return!Number.isInteger(he)||(ie.suggestedLength=he,he<=2*e)||ae||!z||K("Accept-Ranges")!=="bytes"||(K("Content-Encoding")||"identity")!=="identity"||(ie.allowRangeRequests=!0),ie}function D(U){const K=U("Content-Disposition");if(K){let z=(0,V.getFilenameFromContentDispositionHeader)(K);if(z.includes("%"))try{z=decodeURIComponent(z)}catch{}if((0,q.isPdfFile)(z))return z}return null}function B(U,K){return U===404||U===0&&K.startsWith("file:")?new G.MissingPDFException('Missing PDF "'+K+'".'):new G.UnexpectedResponseException(`Unexpected server response (${U}) while retrieving PDF "${K}".`,U)}function R(U){return U===200||U===206}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.getFilenameFromContentDispositionHeader=V;var G=M(1);function V(q){let $=!0,D=B("filename\\*","i").exec(q);if(D){D=D[1];let ie=z(D);return ie=unescape(ie),ie=e(ie),ie=ae(ie),U(ie)}if(D=K(q),D){const ie=ae(D);return U(ie)}if(D=B("filename","i").exec(q),D){D=D[1];let ie=z(D);return ie=ae(ie),U(ie)}function B(ie,he){return new RegExp("(?:^|;)\\s*"+ie+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',he)}function R(ie,he){if(ie){if(!/^[\x00-\xFF]+$/.test(he))return he;try{const J=new TextDecoder(ie,{fatal:!0}),W=(0,G.stringToBytes)(he);he=J.decode(W),$=!1}catch{}}return he}function U(ie){return $&&/[\x80-\xff]/.test(ie)&&(ie=R("utf-8",ie),$&&(ie=R("iso-8859-1",ie))),ie}function K(ie){const he=[];let J;const W=B("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(J=W.exec(ie))!==null;){let[,L,Q,ce]=J;if(L=parseInt(L,10),L in he){if(L===0)break;continue}he[L]=[Q,ce]}const X=[];for(let L=0;L{Object.defineProperty(m,"__esModule",{value:!0}),m.PDFNetworkStream=void 0;var G=M(1),V=M(158);const q=200,$=206;function D(z){const e=z.response;return typeof e!="string"?e:(0,G.stringToBytes)(e).buffer}class B{constructor(e){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.url=e,this.isHttp=/^https?:/i.test(e),this.httpHeaders=this.isHttp&&ae.httpHeaders||Object.create(null),this.withCredentials=ae.withCredentials||!1,this.getXhr=ae.getXhr||function(){return new XMLHttpRequest},this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(e,ae,ie){const he={begin:e,end:ae};for(const J in ie)he[J]=ie[J];return this.request(he)}requestFull(e){return this.request(e)}request(e){const ae=this.getXhr(),ie=this.currXhrId++,he=this.pendingRequests[ie]={xhr:ae};ae.open("GET",this.url),ae.withCredentials=this.withCredentials;for(const J in this.httpHeaders){const W=this.httpHeaders[J];typeof W>"u"||ae.setRequestHeader(J,W)}return this.isHttp&&"begin"in e&&"end"in e?(ae.setRequestHeader("Range",`bytes=${e.begin}-${e.end-1}`),he.expectedStatus=$):he.expectedStatus=q,ae.responseType="arraybuffer",e.onError&&(ae.onerror=function(J){e.onError(ae.status)}),ae.onreadystatechange=this.onStateChange.bind(this,ie),ae.onprogress=this.onProgress.bind(this,ie),he.onHeadersReceived=e.onHeadersReceived,he.onDone=e.onDone,he.onError=e.onError,he.onProgress=e.onProgress,ae.send(null),ie}onProgress(e,ae){var ie;const he=this.pendingRequests[e];he&&((ie=he.onProgress)===null||ie===void 0||ie.call(he,ae))}onStateChange(e,ae){const ie=this.pendingRequests[e];if(!ie)return;const he=ie.xhr;if(he.readyState>=2&&ie.onHeadersReceived&&(ie.onHeadersReceived(),delete ie.onHeadersReceived),he.readyState!==4||!(e in this.pendingRequests))return;if(delete this.pendingRequests[e],he.status===0&&this.isHttp){var J;(J=ie.onError)===null||J===void 0||J.call(ie,he.status);return}const W=he.status||q;if(!(W===q&&ie.expectedStatus===$)&&W!==ie.expectedStatus){var L;(L=ie.onError)===null||L===void 0||L.call(ie,he.status);return}const Q=D(he);if(W===$){const de=he.getResponseHeader("Content-Range"),se=/bytes (\d+)-(\d+)\/(\d+)/.exec(de);ie.onDone({begin:parseInt(se[1],10),chunk:Q})}else if(Q)ie.onDone({begin:0,chunk:Q});else{var ce;(ce=ie.onError)===null||ce===void 0||ce.call(ie,he.status)}}getRequestXhr(e){return this.pendingRequests[e].xhr}isPendingRequest(e){return e in this.pendingRequests}abortRequest(e){const ae=this.pendingRequests[e].xhr;delete this.pendingRequests[e],ae.abort()}}class R{constructor(e){this._source=e,this._manager=new B(e.url,{httpHeaders:e.httpHeaders,withCredentials:e.withCredentials}),this._rangeChunkSize=e.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(e){const ae=this._rangeRequestReaders.indexOf(e);ae>=0&&this._rangeRequestReaders.splice(ae,1)}getFullReader(){return(0,G.assert)(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new U(this._manager,this._source),this._fullRequestReader}getRangeReader(e,ae){const ie=new K(this._manager,e,ae);return ie.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(ie),ie}cancelAllRequests(e){var ae;(ae=this._fullRequestReader)===null||ae===void 0||ae.cancel(e);for(const ie of this._rangeRequestReaders.slice(0))ie.cancel(e)}}m.PDFNetworkStream=R;class U{constructor(e,ae){this._manager=e;const ie={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=ae.url,this._fullRequestId=e.requestFull(ie),this._headersReceivedCapability=(0,G.createPromiseCapability)(),this._disableRange=ae.disableRange||!1,this._contentLength=ae.length,this._rangeChunkSize=ae.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const e=this._fullRequestId,ae=this._manager.getRequestXhr(e),ie=W=>ae.getResponseHeader(W),{allowRangeRequests:he,suggestedLength:J}=(0,V.validateRangeRequestCapabilities)({getResponseHeader:ie,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});he&&(this._isRangeSupported=!0),this._contentLength=J||this._contentLength,this._filename=(0,V.extractFilenameFromHeader)(ie),this._isRangeSupported&&this._manager.abortRequest(e),this._headersReceivedCapability.resolve()}_onDone(e){if(e&&(this._requests.length>0?this._requests.shift().resolve({value:e.chunk,done:!1}):this._cachedChunks.push(e.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const ae of this._requests)ae.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(e){this._storedError=(0,V.createResponseStatusError)(e,this._url),this._headersReceivedCapability.reject(this._storedError);for(const ae of this._requests)ae.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(e){var ae;(ae=this.onProgress)===null||ae===void 0||ae.call(this,{loaded:e.loaded,total:e.lengthComputable?e.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}async read(){if(this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const e=(0,G.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0,this._headersReceivedCapability.reject(e);for(const ae of this._requests)ae.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class K{constructor(e,ae,ie){this._manager=e;const he={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=e.url,this._requestId=e.requestRange(ae,ie,he),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){var e;(e=this.onClosed)===null||e===void 0||e.call(this,this)}_onDone(e){const ae=e.chunk;this._requests.length>0?this._requests.shift().resolve({value:ae,done:!1}):this._queuedChunk=ae,this._done=!0;for(const ie of this._requests)ie.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(e){this._storedError=(0,V.createResponseStatusError)(e,this._url);for(const ae of this._requests)ae.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(e){if(!this.isStreamingSupported){var ae;(ae=this.onProgress)===null||ae===void 0||ae.call(this,{loaded:e.loaded})}}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){const ae=this._queuedChunk;return this._queuedChunk=null,{value:ae,done:!1}}if(this._done)return{value:void 0,done:!0};const e=(0,G.createPromiseCapability)();return this._requests.push(e),e.promise}cancel(e){this._done=!0;for(const ae of this._requests)ae.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}},(k,m,M)=>{Object.defineProperty(m,"__esModule",{value:!0}),m.PDFFetchStream=void 0;var G=M(1),V=M(158);function q(U,K,z){return{method:"GET",headers:U,signal:z.signal,mode:"cors",credentials:K?"include":"same-origin",redirect:"follow"}}function $(U){const K=new Headers;for(const z in U){const e=U[z];typeof e>"u"||K.append(z,e)}return K}class D{constructor(K){this.source=K,this.isHttp=/^https?:/i.test(K.url),this.httpHeaders=this.isHttp&&K.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){var K,z;return(K=(z=this._fullRequestReader)===null||z===void 0?void 0:z._loaded)!==null&&K!==void 0?K:0}getFullReader(){return(0,G.assert)(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new B(this),this._fullRequestReader}getRangeReader(K,z){if(z<=this._progressiveDataLength)return null;const e=new R(this,K,z);return this._rangeRequestReaders.push(e),e}cancelAllRequests(K){this._fullRequestReader&&this._fullRequestReader.cancel(K);for(const z of this._rangeRequestReaders.slice(0))z.cancel(K)}}m.PDFFetchStream=D;class B{constructor(K){this._stream=K,this._reader=null,this._loaded=0,this._filename=null;const z=K.source;this._withCredentials=z.withCredentials||!1,this._contentLength=z.length,this._headersCapability=(0,G.createPromiseCapability)(),this._disableRange=z.disableRange||!1,this._rangeChunkSize=z.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!z.disableStream,this._isRangeSupported=!z.disableRange,this._headers=$(this._stream.httpHeaders);const e=z.url;fetch(e,q(this._headers,this._withCredentials,this._abortController)).then(ae=>{if(!(0,V.validateResponseStatus)(ae.status))throw(0,V.createResponseStatusError)(ae.status,e);this._reader=ae.body.getReader(),this._headersCapability.resolve();const ie=W=>ae.headers.get(W),{allowRangeRequests:he,suggestedLength:J}=(0,V.validateRangeRequestCapabilities)({getResponseHeader:ie,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=he,this._contentLength=J||this._contentLength,this._filename=(0,V.extractFilenameFromHeader)(ie),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new G.AbortException("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;const{value:K,done:z}=await this._reader.read();return z?{value:K,done:z}:(this._loaded+=K.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(K).buffer,done:!1})}cancel(K){this._reader&&this._reader.cancel(K),this._abortController.abort()}}class R{constructor(K,z,e){this._stream=K,this._reader=null,this._loaded=0;const ae=K.source;this._withCredentials=ae.withCredentials||!1,this._readCapability=(0,G.createPromiseCapability)(),this._isStreamingSupported=!ae.disableStream,this._abortController=new AbortController,this._headers=$(this._stream.httpHeaders),this._headers.append("Range",`bytes=${z}-${e-1}`);const ie=ae.url;fetch(ie,q(this._headers,this._withCredentials,this._abortController)).then(he=>{if(!(0,V.validateResponseStatus)(he.status))throw(0,V.createResponseStatusError)(he.status,ie);this._readCapability.resolve(),this._reader=he.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;const{value:K,done:z}=await this._reader.read();return z?{value:K,done:z}:(this._loaded+=K.byteLength,this.onProgress&&this.onProgress({loaded:this._loaded}),{value:new Uint8Array(K).buffer,done:!1})}cancel(K){this._reader&&this._reader.cancel(K),this._abortController.abort()}}}],__webpack_module_cache__={};function __w_pdfjs_require__(k){var m=__webpack_module_cache__[k];if(m!==void 0)return m.exports;var M=__webpack_module_cache__[k]={exports:{}};return __webpack_modules__[k](M,M.exports,__w_pdfjs_require__),M.exports}var __webpack_exports__={};return(()=>{var k=__webpack_exports__;Object.defineProperty(k,"__esModule",{value:!0}),Object.defineProperty(k,"AnnotationEditorLayer",{enumerable:!0,get:function(){return V.AnnotationEditorLayer}}),Object.defineProperty(k,"AnnotationEditorParamsType",{enumerable:!0,get:function(){return m.AnnotationEditorParamsType}}),Object.defineProperty(k,"AnnotationEditorType",{enumerable:!0,get:function(){return m.AnnotationEditorType}}),Object.defineProperty(k,"AnnotationEditorUIManager",{enumerable:!0,get:function(){return q.AnnotationEditorUIManager}}),Object.defineProperty(k,"AnnotationLayer",{enumerable:!0,get:function(){return $.AnnotationLayer}}),Object.defineProperty(k,"AnnotationMode",{enumerable:!0,get:function(){return m.AnnotationMode}}),Object.defineProperty(k,"CMapCompressionType",{enumerable:!0,get:function(){return m.CMapCompressionType}}),Object.defineProperty(k,"GlobalWorkerOptions",{enumerable:!0,get:function(){return D.GlobalWorkerOptions}}),Object.defineProperty(k,"InvalidPDFException",{enumerable:!0,get:function(){return m.InvalidPDFException}}),Object.defineProperty(k,"LoopbackPort",{enumerable:!0,get:function(){return M.LoopbackPort}}),Object.defineProperty(k,"MissingPDFException",{enumerable:!0,get:function(){return m.MissingPDFException}}),Object.defineProperty(k,"OPS",{enumerable:!0,get:function(){return m.OPS}}),Object.defineProperty(k,"PDFDataRangeTransport",{enumerable:!0,get:function(){return M.PDFDataRangeTransport}}),Object.defineProperty(k,"PDFDateString",{enumerable:!0,get:function(){return G.PDFDateString}}),Object.defineProperty(k,"PDFWorker",{enumerable:!0,get:function(){return M.PDFWorker}}),Object.defineProperty(k,"PasswordResponses",{enumerable:!0,get:function(){return m.PasswordResponses}}),Object.defineProperty(k,"PermissionFlag",{enumerable:!0,get:function(){return m.PermissionFlag}}),Object.defineProperty(k,"PixelsPerInch",{enumerable:!0,get:function(){return G.PixelsPerInch}}),Object.defineProperty(k,"RenderingCancelledException",{enumerable:!0,get:function(){return G.RenderingCancelledException}}),Object.defineProperty(k,"SVGGraphics",{enumerable:!0,get:function(){return U.SVGGraphics}}),Object.defineProperty(k,"UNSUPPORTED_FEATURES",{enumerable:!0,get:function(){return m.UNSUPPORTED_FEATURES}}),Object.defineProperty(k,"UnexpectedResponseException",{enumerable:!0,get:function(){return m.UnexpectedResponseException}}),Object.defineProperty(k,"Util",{enumerable:!0,get:function(){return m.Util}}),Object.defineProperty(k,"VerbosityLevel",{enumerable:!0,get:function(){return m.VerbosityLevel}}),Object.defineProperty(k,"XfaLayer",{enumerable:!0,get:function(){return K.XfaLayer}}),Object.defineProperty(k,"build",{enumerable:!0,get:function(){return M.build}}),Object.defineProperty(k,"createPromiseCapability",{enumerable:!0,get:function(){return m.createPromiseCapability}}),Object.defineProperty(k,"createValidAbsoluteUrl",{enumerable:!0,get:function(){return m.createValidAbsoluteUrl}}),Object.defineProperty(k,"getDocument",{enumerable:!0,get:function(){return M.getDocument}}),Object.defineProperty(k,"getFilenameFromUrl",{enumerable:!0,get:function(){return G.getFilenameFromUrl}}),Object.defineProperty(k,"getPdfFilenameFromUrl",{enumerable:!0,get:function(){return G.getPdfFilenameFromUrl}}),Object.defineProperty(k,"getXfaPageViewport",{enumerable:!0,get:function(){return G.getXfaPageViewport}}),Object.defineProperty(k,"isPdfFile",{enumerable:!0,get:function(){return G.isPdfFile}}),Object.defineProperty(k,"loadScript",{enumerable:!0,get:function(){return G.loadScript}}),Object.defineProperty(k,"renderTextLayer",{enumerable:!0,get:function(){return R.renderTextLayer}}),Object.defineProperty(k,"shadow",{enumerable:!0,get:function(){return m.shadow}}),Object.defineProperty(k,"version",{enumerable:!0,get:function(){return M.version}});var m=__w_pdfjs_require__(1),M=__w_pdfjs_require__(129),G=__w_pdfjs_require__(133),V=__w_pdfjs_require__(147),q=__w_pdfjs_require__(132),$=__w_pdfjs_require__(152),D=__w_pdfjs_require__(140),B=__w_pdfjs_require__(3),R=__w_pdfjs_require__(155),U=__w_pdfjs_require__(156),K=__w_pdfjs_require__(154);if(B.isNodeJS){const{PDFNodeStream:z}=__w_pdfjs_require__(157);(0,M.setPDFNetworkStreamFactory)(e=>new z(e))}else{const{PDFNetworkStream:z}=__w_pdfjs_require__(160),{PDFFetchStream:e}=__w_pdfjs_require__(161);(0,M.setPDFNetworkStreamFactory)(ae=>(0,G.isValidFetchUrl)(ae.url)?new e(ae):new z(ae))}})(),__webpack_exports__})())}(pdf)),pdf.exports}var pdfExports=requirePdf(),pdf_worker_entry={},pdf_worker={exports:{}};(function(k,m){(function(G,V){k.exports=V()})(globalThis,()=>(()=>{var M=[,($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.WorkerTask=D.WorkerMessageHandler=void 0;var R=B(2),U=B(130),K=B(131),z=B(133),e=B(196),ae=B(190),ie=B(4),he=B(227),J=B(228);class W{constructor(ce){this.name=ce,this.terminated=!1,this._capability=(0,R.createPromiseCapability)()}get finished(){return this._capability.promise}finish(){this._capability.resolve()}terminate(){this.terminated=!0}ensureNotTerminated(){if(this.terminated)throw new Error("Worker task was terminated")}}D.WorkerTask=W;class X{static setup(ce,de){let se=!1;ce.on("test",function(me){se||(se=!0,ce.send("test",me instanceof Uint8Array))}),ce.on("configure",function(me){(0,R.setVerbosityLevel)(me.verbosity)}),ce.on("GetDocRequest",function(me){return X.createDocumentHandler(me,de)})}static createDocumentHandler(ce,de){let se,oe=!1,me=null;const Ee=[],ke=(0,R.getVerbosityLevel)(),xe=ce.apiVersion,fe="2.16.105";if(xe!==fe)throw new Error(`The API version "${xe}" does not match the Worker version "${fe}".`);const ve=[];for(const Fe in[])ve.push(Fe);if(ve.length)throw new Error("The `Array.prototype` contains unexpected enumerable properties: "+ve.join(", ")+"; thus breaking e.g. `for...in` iteration of `Array`s.");if(typeof ReadableStream>"u"){const Fe="The browser/environment lacks native support for critical functionality used by the PDF.js library (e.g. `ReadableStream`); ";throw ie.isNodeJS?new Error(Fe+"please use a `legacy`-build instead."):new Error(Fe+"please update to a supported browser.")}const ye=ce.docId,Ce=ce.docBaseUrl,pe=ce.docId+"_worker";let _e=new he.MessageHandler(pe,ye,de);function Ge(){if(oe)throw new Error("Worker was terminated")}function Ae(Fe){Ee.push(Fe)}function Ne(Fe){Fe.finish();const Pe=Ee.indexOf(Fe);Ee.splice(Pe,1)}async function Ze(Fe){await se.ensureDoc("checkHeader"),await se.ensureDoc("parseStartXRef"),await se.ensureDoc("parse",[Fe]),await se.ensureDoc("checkFirstPage",[Fe]),await se.ensureDoc("checkLastPage",[Fe]);const Pe=await se.ensureDoc("isPureXfa");if(Pe){const Ke=new W("loadXfaFonts");Ae(Ke),await Promise.all([se.loadXfaFonts(_e,Ke).catch(Ve=>{}).then(()=>Ne(Ke)),se.loadXfaImages()])}const[we,Ie]=await Promise.all([se.ensureDoc("numPages"),se.ensureDoc("fingerprints")]),Be=Pe?await se.ensureDoc("htmlForXfa"):null;return{numPages:we,fingerprints:Ie,htmlForXfa:Be}}function ze(Fe,Pe,we){const Ie=(0,R.createPromiseCapability)();let Be;const Ke=Fe.source;if(Ke.data){try{Be=new z.LocalPdfManager(ye,Ke.data,Ke.password,_e,Pe,we,Ce),Ie.resolve(Be)}catch($e){Ie.reject($e)}return Ie.promise}let Ve,je=[];try{Ve=new J.PDFWorkerStream(_e)}catch($e){return Ie.reject($e),Ie.promise}const Le=Ve.getFullReader();Le.headersReady.then(function(){if(!Le.isRangeSupported)return;const $e=Ke.disableAutoFetch||Le.isStreamingSupported;Be=new z.NetworkPdfManager(ye,Ve,{msgHandler:_e,password:Ke.password,length:Le.contentLength,disableAutoFetch:$e,rangeChunkSize:Ke.rangeChunkSize},Pe,we,Ce);for(const Ye of je)Be.sendProgressiveData(Ye);je=[],Ie.resolve(Be),me=null}).catch(function($e){Ie.reject($e),me=null});let et=0;const Qe=function(){const $e=(0,R.arraysToBytes)(je);Ke.length&&$e.length!==Ke.length&&(0,R.warn)("reported HTTP length is different from actual");try{Be=new z.LocalPdfManager(ye,$e,Ke.password,_e,Pe,we,Ce),Ie.resolve(Be)}catch(Ye){Ie.reject(Ye)}je=[]};return new Promise(function($e,Ye){const tt=function(ot){let{value:st,done:dt}=ot;try{if(Ge(),dt){Be||Qe(),me=null;return}et+=(0,R.arrayByteLength)(st),Le.isStreamingSupported||_e.send("DocProgress",{loaded:et,total:Math.max(et,Le.contentLength||0)}),Be?Be.sendProgressiveData(st):je.push(st),Le.read().then(tt,Ye)}catch(ct){Ye(ct)}};Le.read().then(tt,Ye)}).catch(function($e){Ie.reject($e),me=null}),me=function($e){Ve.cancelAllRequests($e)},Ie.promise}function Te(Fe){function Pe(Ke){Ge(),_e.send("GetDoc",{pdfInfo:Ke})}function we(Ke){if(Ge(),Ke instanceof R.PasswordException){const Ve=new W(`PasswordException: response ${Ke.code}`);Ae(Ve),_e.sendWithPromise("PasswordRequest",Ke).then(function(je){let{password:Le}=je;Ne(Ve),se.updatePassword(Le),Ie()}).catch(function(){Ne(Ve),_e.send("DocException",Ke)})}else Ke instanceof R.InvalidPDFException||Ke instanceof R.MissingPDFException||Ke instanceof R.UnexpectedResponseException||Ke instanceof R.UnknownErrorException?_e.send("DocException",Ke):_e.send("DocException",new R.UnknownErrorException(Ke.message,Ke.toString()))}function Ie(){Ge(),Ze(!1).then(Pe,function(Ke){if(Ge(),!(Ke instanceof K.XRefParseException)){we(Ke);return}se.requestLoadedStream(),se.onLoadedStream().then(function(){Ge(),Ze(!0).then(Pe,we)})})}Ge();const Be={maxImageSize:Fe.maxImageSize,disableFontFace:Fe.disableFontFace,ignoreErrors:Fe.ignoreErrors,isEvalSupported:Fe.isEvalSupported,fontExtraProperties:Fe.fontExtraProperties,useSystemFonts:Fe.useSystemFonts,cMapUrl:Fe.cMapUrl,standardFontDataUrl:Fe.standardFontDataUrl};ze(Fe,Be,Fe.enableXfa).then(function(Ke){if(oe)throw Ke.terminate(new R.AbortException("Worker was terminated.")),new Error("Worker was terminated");se=Ke,se.onLoadedStream().then(function(Ve){_e.send("DataLoaded",{length:Ve.bytes.byteLength})})}).then(Ie,we)}return _e.on("GetPage",function(Pe){return se.getPage(Pe.pageIndex).then(function(we){return Promise.all([se.ensure(we,"rotate"),se.ensure(we,"ref"),se.ensure(we,"userUnit"),se.ensure(we,"view")]).then(function(Ie){let[Be,Ke,Ve,je]=Ie;return{rotate:Be,ref:Ke,userUnit:Ve,view:je}})})}),_e.on("GetPageIndex",function(Pe){const we=U.Ref.get(Pe.num,Pe.gen);return se.ensureCatalog("getPageIndex",[we])}),_e.on("GetDestinations",function(Pe){return se.ensureCatalog("destinations")}),_e.on("GetDestination",function(Pe){return se.ensureCatalog("getDestination",[Pe.id])}),_e.on("GetPageLabels",function(Pe){return se.ensureCatalog("pageLabels")}),_e.on("GetPageLayout",function(Pe){return se.ensureCatalog("pageLayout")}),_e.on("GetPageMode",function(Pe){return se.ensureCatalog("pageMode")}),_e.on("GetViewerPreferences",function(Fe){return se.ensureCatalog("viewerPreferences")}),_e.on("GetOpenAction",function(Fe){return se.ensureCatalog("openAction")}),_e.on("GetAttachments",function(Pe){return se.ensureCatalog("attachments")}),_e.on("GetJavaScript",function(Pe){return se.ensureCatalog("javaScript")}),_e.on("GetDocJSActions",function(Pe){return se.ensureCatalog("jsActions")}),_e.on("GetPageJSActions",function(Fe){let{pageIndex:Pe}=Fe;return se.getPage(Pe).then(function(we){return se.ensure(we,"jsActions")})}),_e.on("GetOutline",function(Pe){return se.ensureCatalog("documentOutline")}),_e.on("GetOptionalContentConfig",function(Fe){return se.ensureCatalog("optionalContentConfig")}),_e.on("GetPermissions",function(Fe){return se.ensureCatalog("permissions")}),_e.on("GetMetadata",function(Pe){return Promise.all([se.ensureDoc("documentInfo"),se.ensureCatalog("metadata")])}),_e.on("GetMarkInfo",function(Pe){return se.ensureCatalog("markInfo")}),_e.on("GetData",function(Pe){return se.requestLoadedStream(),se.onLoadedStream().then(function(we){return we.bytes})}),_e.on("GetAnnotations",function(Fe){let{pageIndex:Pe,intent:we}=Fe;return se.getPage(Pe).then(function(Ie){const Be=new W(`GetAnnotations: page ${Pe}`);return Ae(Be),Ie.getAnnotationsData(_e,Be,we).then(Ke=>(Ne(Be),Ke),Ke=>{Ne(Be)})})}),_e.on("GetFieldObjects",function(Fe){return se.ensureDoc("fieldObjects")}),_e.on("HasJSActions",function(Fe){return se.ensureDoc("hasJSActions")}),_e.on("GetCalculationOrderIds",function(Fe){return se.ensureDoc("calculationOrderIds")}),_e.on("SaveDocument",function(Fe){let{isPureXfa:Pe,numPages:we,annotationStorage:Ie,filename:Be}=Fe;se.requestLoadedStream();const Ke=Pe?null:(0,K.getNewAnnotationsMap)(Ie),Ve=[se.onLoadedStream(),se.ensureCatalog("acroForm"),se.ensureCatalog("acroFormRef"),se.ensureDoc("xref"),se.ensureDoc("startXRef")];if(Ke)for(const[je,Le]of Ke)Ve.push(se.getPage(je).then(et=>{const Qe=new W(`Save (editor): page ${je}`);return et.saveNewAnnotations(_e,Qe,Le).finally(function(){Ne(Qe)})}));if(Pe)Ve.push(se.serializeXfaData(Ie));else for(let je=0;je{typeof Je=="string"&&(ut[He]=(0,R.stringToPDFString)(Je))}),mt={rootRef:Ue.trailer.getRaw("Root")||null,encryptRef:Ue.trailer.getRaw("Encrypt")||null,newRef:Ue.getNewRef(),infoRef:Ue.trailer.getRaw("Info")||null,info:ut,fileIds:Ue.trailer.get("ID")||null,startXRef:$e,filename:Be}}return Ue.resetNewRef(),(0,ae.incrementalUpdate)({originalData:Le.bytes,xrefInfo:mt,newRefs:tt,xref:Ue,hasXfa:!!st,xfaDatasetsRef:dt,hasXfaDatasetsEntry:ct,acroFormRef:Qe,acroForm:et,xfaData:ot})})}),_e.on("GetOperatorList",function(Pe,we){const Ie=Pe.pageIndex;se.getPage(Ie).then(function(Be){const Ke=new W(`GetOperatorList: page ${Ie}`);Ae(Ke);const Ve=ke>=R.VerbosityLevel.INFOS?Date.now():0;Be.getOperatorList({handler:_e,sink:we,task:Ke,intent:Pe.intent,cacheKey:Pe.cacheKey,annotationStorage:Pe.annotationStorage}).then(function(je){Ne(Ke),Ve&&(0,R.info)(`page=${Ie+1} - getOperatorList: time=${Date.now()-Ve}ms, len=${je.length}`),we.close()},function(je){Ne(Ke),!Ke.terminated&&(_e.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorOperatorList}),we.error(je))})})}),_e.on("GetTextContent",function(Pe,we){const Ie=Pe.pageIndex;se.getPage(Ie).then(function(Be){const Ke=new W("GetTextContent: page "+Ie);Ae(Ke);const Ve=ke>=R.VerbosityLevel.INFOS?Date.now():0;Be.extractTextContent({handler:_e,task:Ke,sink:we,includeMarkedContent:Pe.includeMarkedContent,combineTextItems:Pe.combineTextItems}).then(function(){Ne(Ke),Ve&&(0,R.info)(`page=${Ie+1} - getTextContent: time=${Date.now()-Ve}ms`),we.close()},function(je){Ne(Ke),!Ke.terminated&&we.error(je)})})}),_e.on("GetStructTree",function(Pe){return se.getPage(Pe.pageIndex).then(function(we){return se.ensure(we,"getStructTree")})}),_e.on("FontFallback",function(Fe){return se.fontFallback(Fe.id,_e)}),_e.on("Cleanup",function(Pe){return se.cleanup(!0)}),_e.on("Terminate",function(Pe){oe=!0;const we=[];if(se){se.terminate(new R.AbortException("Worker was terminated."));const Ie=se.cleanup();we.push(Ie),se=null}else(0,e.clearGlobalCaches)();me&&me(new R.AbortException("Worker was terminated."));for(const Ie of Ee)we.push(Ie.finished),Ie.terminate();return Promise.all(we).then(function(){_e.destroy(),_e=null})}),_e.on("Ready",function(Pe){Te(ce),ce=null}),pe}static initializeFromPort(ce){const de=new he.MessageHandler("worker","main",ce);X.setup(de,ce),de.send("ready",null)}}D.WorkerMessageHandler=X;function L(Q){return typeof Q.postMessage=="function"&&"onmessage"in Q}typeof window>"u"&&!ie.isNodeJS&&typeof self<"u"&&L(self)&&X.initializeFromPort(self)},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.VerbosityLevel=D.Util=D.UnknownErrorException=D.UnexpectedResponseException=D.UNSUPPORTED_FEATURES=D.TextRenderingMode=D.StreamType=D.RenderingIntentFlag=D.PermissionFlag=D.PasswordResponses=D.PasswordException=D.PageActionEventType=D.OPS=D.MissingPDFException=D.LINE_FACTOR=D.LINE_DESCENT_FACTOR=D.InvalidPDFException=D.ImageKind=D.IDENTITY_MATRIX=D.FormatError=D.FontType=D.FeatureTest=D.FONT_IDENTITY_MATRIX=D.DocumentActionEventType=D.CMapCompressionType=D.BaseException=D.AnnotationType=D.AnnotationStateModelType=D.AnnotationReviewState=D.AnnotationReplyType=D.AnnotationMode=D.AnnotationMarkedState=D.AnnotationFlag=D.AnnotationFieldFlag=D.AnnotationEditorType=D.AnnotationEditorPrefix=D.AnnotationEditorParamsType=D.AnnotationBorderStyleType=D.AnnotationActionEventType=D.AbortException=void 0,D.arrayByteLength=dt,D.arraysToBytes=ct,D.assert=Ie,D.bytesToString=ot,D.createPromiseCapability=er,D.createValidAbsoluteUrl=Ke,D.escapeString=Nt,D.getModificationDate=Jt,D.getVerbosityLevel=Te,D.info=Fe,D.isArrayBuffer=Yt,D.isArrayEqual=Ft,D.isAscii=Vt,D.objectFromMap=rt,D.objectSize=ut,D.setVerbosityLevel=ze,D.shadow=Ve,D.string32=mt,D.stringToBytes=st,D.stringToPDFString=Pt,D.stringToUTF16BEString=Wt,D.stringToUTF8String=Mt,D.unreachable=we,D.utf8StringToString=$t,D.warn=Pe,B(3);const R=[1,0,0,1,0,0];D.IDENTITY_MATRIX=R;const U=[.001,0,0,.001,0,0];D.FONT_IDENTITY_MATRIX=U;const K=1.35;D.LINE_FACTOR=K;const z=.35;D.LINE_DESCENT_FACTOR=z;const e={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256};D.RenderingIntentFlag=e;const ae={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3};D.AnnotationMode=ae;const ie="pdfjs_internal_editor_";D.AnnotationEditorPrefix=ie;const he={DISABLE:-1,NONE:0,FREETEXT:3,INK:15};D.AnnotationEditorType=he;const J={FREETEXT_SIZE:1,FREETEXT_COLOR:2,FREETEXT_OPACITY:3,INK_COLOR:11,INK_THICKNESS:12,INK_OPACITY:13};D.AnnotationEditorParamsType=J;const W={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048};D.PermissionFlag=W;const X={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_ADD_TO_PATH:4,STROKE_ADD_TO_PATH:5,FILL_STROKE_ADD_TO_PATH:6,ADD_TO_PATH:7,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4};D.TextRenderingMode=X;const L={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3};D.ImageKind=L;const Q={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,SOUND:18,MOVIE:19,WIDGET:20,SCREEN:21,PRINTERMARK:22,TRAPNET:23,WATERMARK:24,THREED:25,REDACT:26};D.AnnotationType=Q;const ce={MARKED:"Marked",REVIEW:"Review"};D.AnnotationStateModelType=ce;const de={MARKED:"Marked",UNMARKED:"Unmarked"};D.AnnotationMarkedState=de;const se={ACCEPTED:"Accepted",REJECTED:"Rejected",CANCELLED:"Cancelled",COMPLETED:"Completed",NONE:"None"};D.AnnotationReviewState=se;const oe={GROUP:"Group",REPLY:"R"};D.AnnotationReplyType=oe;const me={INVISIBLE:1,HIDDEN:2,PRINT:4,NOZOOM:8,NOROTATE:16,NOVIEW:32,READONLY:64,LOCKED:128,TOGGLENOVIEW:256,LOCKEDCONTENTS:512};D.AnnotationFlag=me;const Ee={READONLY:1,REQUIRED:2,NOEXPORT:4,MULTILINE:4096,PASSWORD:8192,NOTOGGLETOOFF:16384,RADIO:32768,PUSHBUTTON:65536,COMBO:131072,EDIT:262144,SORT:524288,FILESELECT:1048576,MULTISELECT:2097152,DONOTSPELLCHECK:4194304,DONOTSCROLL:8388608,COMB:16777216,RICHTEXT:33554432,RADIOSINUNISON:33554432,COMMITONSELCHANGE:67108864};D.AnnotationFieldFlag=Ee;const ke={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5};D.AnnotationBorderStyleType=ke;const xe={E:"Mouse Enter",X:"Mouse Exit",D:"Mouse Down",U:"Mouse Up",Fo:"Focus",Bl:"Blur",PO:"PageOpen",PC:"PageClose",PV:"PageVisible",PI:"PageInvisible",K:"Keystroke",F:"Format",V:"Validate",C:"Calculate"};D.AnnotationActionEventType=xe;const fe={WC:"WillClose",WS:"WillSave",DS:"DidSave",WP:"WillPrint",DP:"DidPrint"};D.DocumentActionEventType=fe;const ve={O:"PageOpen",C:"PageClose"};D.PageActionEventType=ve;const ye={UNKNOWN:"UNKNOWN",FLATE:"FLATE",LZW:"LZW",DCT:"DCT",JPX:"JPX",JBIG:"JBIG",A85:"A85",AHX:"AHX",CCF:"CCF",RLX:"RLX"};D.StreamType=ye;const Ce={UNKNOWN:"UNKNOWN",TYPE1:"TYPE1",TYPE1STANDARD:"TYPE1STANDARD",TYPE1C:"TYPE1C",CIDFONTTYPE0:"CIDFONTTYPE0",CIDFONTTYPE0C:"CIDFONTTYPE0C",TRUETYPE:"TRUETYPE",CIDFONTTYPE2:"CIDFONTTYPE2",TYPE3:"TYPE3",OPENTYPE:"OPENTYPE",TYPE0:"TYPE0",MMTYPE1:"MMTYPE1"};D.FontType=Ce;const pe={ERRORS:0,WARNINGS:1,INFOS:5};D.VerbosityLevel=pe;const _e={NONE:0,BINARY:1,STREAM:2};D.CMapCompressionType=_e;const Ge={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotations:78,endAnnotations:79,beginAnnotation:80,endAnnotation:81,paintJpegXObject:82,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91};D.OPS=Ge;const Ae={unknown:"unknown",forms:"forms",javaScript:"javaScript",signatures:"signatures",smask:"smask",shadingPattern:"shadingPattern",font:"font",errorTilingPattern:"errorTilingPattern",errorExtGState:"errorExtGState",errorXObject:"errorXObject",errorFontLoadType3:"errorFontLoadType3",errorFontState:"errorFontState",errorFontMissing:"errorFontMissing",errorFontTranslate:"errorFontTranslate",errorColorSpace:"errorColorSpace",errorOperatorList:"errorOperatorList",errorFontToUnicode:"errorFontToUnicode",errorFontLoadNative:"errorFontLoadNative",errorFontBuildPath:"errorFontBuildPath",errorFontGetPath:"errorFontGetPath",errorMarkedContent:"errorMarkedContent",errorContentSubStream:"errorContentSubStream"};D.UNSUPPORTED_FEATURES=Ae;const Ne={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};D.PasswordResponses=Ne;let Ze=pe.WARNINGS;function ze(Bt){Number.isInteger(Bt)&&(Ze=Bt)}function Te(){return Ze}function Fe(Bt){Ze>=pe.INFOS&&console.log(`Info: ${Bt}`)}function Pe(Bt){Ze>=pe.WARNINGS&&console.log(`Warning: ${Bt}`)}function we(Bt){throw new Error(Bt)}function Ie(Bt,It){Bt||we(It)}function Be(Bt){if(!Bt)return!1;switch(Bt.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function Ke(Bt){let It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(!Bt)return null;try{if(Dt&&typeof Bt=="string"){if(Dt.addDefaultProtocol&&Bt.startsWith("www.")){const gr=Bt.match(/\./g);gr&&gr.length>=2&&(Bt=`http://${Bt}`)}if(Dt.tryConvertEncoding)try{Bt=Mt(Bt)}catch{}}const Zt=It?new URL(Bt,It):new URL(Bt);if(Be(Zt))return Zt}catch{}return null}function Ve(Bt,It,Dt){return Object.defineProperty(Bt,It,{value:Dt,enumerable:!0,configurable:!0,writable:!1}),Dt}const je=function(){function It(Dt,Zt){this.constructor===It&&we("Cannot initialize BaseException."),this.message=Dt,this.name=Zt}return It.prototype=new Error,It.constructor=It,It}();D.BaseException=je;class Le extends je{constructor(It,Dt){super(It,"PasswordException"),this.code=Dt}}D.PasswordException=Le;class et extends je{constructor(It,Dt){super(It,"UnknownErrorException"),this.details=Dt}}D.UnknownErrorException=et;class Qe extends je{constructor(It){super(It,"InvalidPDFException")}}D.InvalidPDFException=Qe;class Ue extends je{constructor(It){super(It,"MissingPDFException")}}D.MissingPDFException=Ue;class $e extends je{constructor(It,Dt){super(It,"UnexpectedResponseException"),this.status=Dt}}D.UnexpectedResponseException=$e;class Ye extends je{constructor(It){super(It,"FormatError")}}D.FormatError=Ye;class tt extends je{constructor(It){super(It,"AbortException")}}D.AbortException=tt;function ot(Bt){(typeof Bt!="object"||Bt===null||Bt.length===void 0)&&we("Invalid argument for bytesToString");const It=Bt.length,Dt=8192;if(It>24&255,Bt>>16&255,Bt>>8&255,Bt&255)}function ut(Bt){return Object.keys(Bt).length}function rt(Bt){const It=Object.create(null);for(const[Dt,Zt]of Bt)It[Dt]=Zt;return It}function He(){const Bt=new Uint8Array(4);return Bt[0]=1,new Uint32Array(Bt.buffer,0,1)[0]===1}function Je(){try{return new Function(""),!0}catch{return!1}}class St{static get isLittleEndian(){return Ve(this,"isLittleEndian",He())}static get isEvalSupported(){return Ve(this,"isEvalSupported",Je())}static get isOffscreenCanvasSupported(){return Ve(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}}D.FeatureTest=St;const bt=[...Array(256).keys()].map(Bt=>Bt.toString(16).padStart(2,"0"));class pt{static makeHexColor(It,Dt,Zt){return`#${bt[It]}${bt[Dt]}${bt[Zt]}`}static scaleMinMax(It,Dt){let Zt;It[0]?(It[0]<0&&(Zt=Dt[0],Dt[0]=Dt[1],Dt[1]=Zt),Dt[0]*=It[0],Dt[1]*=It[0],It[3]<0&&(Zt=Dt[2],Dt[2]=Dt[3],Dt[3]=Zt),Dt[2]*=It[3],Dt[3]*=It[3]):(Zt=Dt[0],Dt[0]=Dt[2],Dt[2]=Zt,Zt=Dt[1],Dt[1]=Dt[3],Dt[3]=Zt,It[1]<0&&(Zt=Dt[2],Dt[2]=Dt[3],Dt[3]=Zt),Dt[2]*=It[1],Dt[3]*=It[1],It[2]<0&&(Zt=Dt[0],Dt[0]=Dt[1],Dt[1]=Zt),Dt[0]*=It[2],Dt[1]*=It[2]),Dt[0]+=It[4],Dt[1]+=It[4],Dt[2]+=It[5],Dt[3]+=It[5]}static transform(It,Dt){return[It[0]*Dt[0]+It[2]*Dt[1],It[1]*Dt[0]+It[3]*Dt[1],It[0]*Dt[2]+It[2]*Dt[3],It[1]*Dt[2]+It[3]*Dt[3],It[0]*Dt[4]+It[2]*Dt[5]+It[4],It[1]*Dt[4]+It[3]*Dt[5]+It[5]]}static applyTransform(It,Dt){const Zt=It[0]*Dt[0]+It[1]*Dt[2]+Dt[4],gr=It[0]*Dt[1]+It[1]*Dt[3]+Dt[5];return[Zt,gr]}static applyInverseTransform(It,Dt){const Zt=Dt[0]*Dt[3]-Dt[1]*Dt[2],gr=(It[0]*Dt[3]-It[1]*Dt[2]+Dt[2]*Dt[5]-Dt[4]*Dt[3])/Zt,fr=(-It[0]*Dt[1]+It[1]*Dt[0]+Dt[4]*Dt[1]-Dt[5]*Dt[0])/Zt;return[gr,fr]}static getAxialAlignedBoundingBox(It,Dt){const Zt=pt.applyTransform(It,Dt),gr=pt.applyTransform(It.slice(2,4),Dt),fr=pt.applyTransform([It[0],It[3]],Dt),Dr=pt.applyTransform([It[2],It[1]],Dt);return[Math.min(Zt[0],gr[0],fr[0],Dr[0]),Math.min(Zt[1],gr[1],fr[1],Dr[1]),Math.max(Zt[0],gr[0],fr[0],Dr[0]),Math.max(Zt[1],gr[1],fr[1],Dr[1])]}static inverseTransform(It){const Dt=It[0]*It[3]-It[1]*It[2];return[It[3]/Dt,-It[1]/Dt,-It[2]/Dt,It[0]/Dt,(It[2]*It[5]-It[4]*It[3])/Dt,(It[4]*It[1]-It[5]*It[0])/Dt]}static apply3dTransform(It,Dt){return[It[0]*Dt[0]+It[1]*Dt[1]+It[2]*Dt[2],It[3]*Dt[0]+It[4]*Dt[1]+It[5]*Dt[2],It[6]*Dt[0]+It[7]*Dt[1]+It[8]*Dt[2]]}static singularValueDecompose2dScale(It){const Dt=[It[0],It[2],It[1],It[3]],Zt=It[0]*Dt[0]+It[1]*Dt[2],gr=It[0]*Dt[1]+It[1]*Dt[3],fr=It[2]*Dt[0]+It[3]*Dt[2],Dr=It[2]*Dt[1]+It[3]*Dt[3],kr=(Zt+Dr)/2,cr=Math.sqrt((Zt+Dr)**2-4*(Zt*Dr-fr*gr))/2,Ar=kr+cr||1,yt=kr-cr||1;return[Math.sqrt(Ar),Math.sqrt(yt)]}static normalizeRect(It){const Dt=It.slice(0);return It[0]>It[2]&&(Dt[0]=It[2],Dt[2]=It[0]),It[1]>It[3]&&(Dt[1]=It[3],Dt[3]=It[1]),Dt}static intersect(It,Dt){const Zt=Math.max(Math.min(It[0],It[2]),Math.min(Dt[0],Dt[2])),gr=Math.min(Math.max(It[0],It[2]),Math.max(Dt[0],Dt[2]));if(Zt>gr)return null;const fr=Math.max(Math.min(It[1],It[3]),Math.min(Dt[1],Dt[3])),Dr=Math.min(Math.max(It[1],It[3]),Math.max(Dt[1],Dt[3]));return fr>Dr?null:[Zt,fr,gr,Dr]}static bezierBoundingBox(It,Dt,Zt,gr,fr,Dr,kr,cr){const Ar=[],yt=[[],[]];let vt,Xt,At,zt,Br,br,Ur,un;for(let Tr=0;Tr<2;++Tr){if(Tr===0?(Xt=6*It-12*Zt+6*fr,vt=-3*It+9*Zt-9*fr+3*kr,At=3*Zt-3*It):(Xt=6*Dt-12*gr+6*Dr,vt=-3*Dt+9*gr-9*Dr+3*cr,At=3*gr-3*Dt),Math.abs(vt)<1e-12){if(Math.abs(Xt)<1e-12)continue;zt=-At/Xt,0="ï"){let Dt;if(Bt[0]==="þ"&&Bt[1]==="ÿ"?Dt="utf-16be":Bt[0]==="ÿ"&&Bt[1]==="þ"?Dt="utf-16le":Bt[0]==="ï"&&Bt[1]==="»"&&Bt[2]==="¿"&&(Dt="utf-8"),Dt)try{const Zt=new TextDecoder(Dt,{fatal:!0}),gr=st(Bt);return Zt.decode(gr)}catch(Zt){Pe(`stringToPDFString: "${Zt}".`)}}const It=[];for(let Dt=0,Zt=Bt.length;DtIt===` +`?"\\n":It==="\r"?"\\r":`\\${It}`)}function Vt(Bt){return/^[\x00-\x7F]*$/.test(Bt)}function Wt(Bt){const It=["þÿ"];for(let Dt=0,Zt=Bt.length;Dt>8&255),String.fromCharCode(gr&255))}return It.join("")}function Mt(Bt){return decodeURIComponent(escape(Bt))}function $t(Bt){return unescape(encodeURIComponent(Bt))}function Yt(Bt){return typeof Bt=="object"&&Bt!==null&&Bt.byteLength!==void 0}function Ft(Bt,It){if(Bt.length!==It.length)return!1;for(let Dt=0,Zt=Bt.length;Dt0&&arguments[0]!==void 0?arguments[0]:new Date;return[Bt.getUTCFullYear().toString(),(Bt.getUTCMonth()+1).toString().padStart(2,"0"),Bt.getUTCDate().toString().padStart(2,"0"),Bt.getUTCHours().toString().padStart(2,"0"),Bt.getUTCMinutes().toString().padStart(2,"0"),Bt.getUTCSeconds().toString().padStart(2,"0")].join("")}function er(){const Bt=Object.create(null);let It=!1;return Object.defineProperty(Bt,"settled",{get(){return It}}),Bt.promise=new Promise(function(Dt,Zt){Bt.resolve=function(gr){It=!0,Dt(gr)},Bt.reject=function(gr){It=!0,Zt(gr)}}),Bt}},($,D,B)=>{var R=B(4);globalThis._pdfjsCompatibilityChecked||(globalThis._pdfjsCompatibilityChecked=!0,function(){globalThis.btoa||!R.isNodeJS||(globalThis.btoa=function(K){return Buffer.from(K,"binary").toString("base64")})}(),function(){globalThis.atob||!R.isNodeJS||(globalThis.atob=function(K){return Buffer.from(K,"base64").toString("binary")})}(),function(){globalThis.DOMMatrix||!R.isNodeJS||(globalThis.DOMMatrix=requireDommatrix())}(),function(){globalThis.ReadableStream||!R.isNodeJS||(globalThis.ReadableStream=requirePonyfill().ReadableStream)}(),function(){Array.prototype.at||B(5)}(),function(){Uint8Array.prototype.at||B(77)}(),function(){globalThis.structuredClone||B(87)}())},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.isNodeJS=void 0;const B=typeof process=="object"&&process+""=="[object process]"&&!process.versions.nw&&!(process.versions.electron&&process.type&&process.type!=="browser");D.isNodeJS=B},($,D,B)=>{B(6);var R=B(76);$.exports=R("Array","at")},($,D,B)=>{var R=B(7),U=B(42),K=B(66),z=B(64),e=B(71);R({target:"Array",proto:!0},{at:function(ie){var he=U(this),J=K(he),W=z(ie),X=W>=0?W:J+W;return X<0||X>=J?void 0:he[X]}}),e("at")},($,D,B)=>{var R=B(8),U=B(9).f,K=B(46),z=B(50),e=B(40),ae=B(58),ie=B(70);$.exports=function(he,J){var W=he.target,X=he.global,L=he.stat,Q,ce,de,se,oe,me;if(X?ce=R:L?ce=R[W]||e(W,{}):ce=(R[W]||{}).prototype,ce)for(de in J){if(oe=J[de],he.dontCallGetSet?(me=U(ce,de),se=me&&me.value):se=ce[de],Q=ie(X?de:W+(L?".":"#")+de,he.forced),!Q&&se!==void 0){if(typeof oe==typeof se)continue;ae(oe,se)}(he.sham||se&&se.sham)&&K(oe,"sham",!0),z(ce,de,oe,he)}}},$=>{var D=function(B){return B&&B.Math==Math&&B};$.exports=D(typeof globalThis=="object"&&globalThis)||D(typeof window=="object"&&window)||D(typeof self=="object"&&self)||D(typeof commonjsGlobal$1=="object"&&commonjsGlobal$1)||function(){return this}()||Function("return this")()},($,D,B)=>{var R=B(10),U=B(12),K=B(14),z=B(15),e=B(16),ae=B(21),ie=B(41),he=B(44),J=Object.getOwnPropertyDescriptor;D.f=R?J:function(X,L){if(X=e(X),L=ae(L),he)try{return J(X,L)}catch{}if(ie(X,L))return z(!U(K.f,X,L),X[L])}},($,D,B)=>{var R=B(11);$.exports=!R(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},$=>{$.exports=function(D){try{return!!D()}catch{return!0}}},($,D,B)=>{var R=B(13),U=Function.prototype.call;$.exports=R?U.bind(U):function(){return U.apply(U,arguments)}},($,D,B)=>{var R=B(11);$.exports=!R(function(){var U=(function(){}).bind();return typeof U!="function"||U.hasOwnProperty("prototype")})},($,D)=>{var B={}.propertyIsEnumerable,R=Object.getOwnPropertyDescriptor,U=R&&!B.call({1:2},1);D.f=U?function(z){var e=R(this,z);return!!e&&e.enumerable}:B},$=>{$.exports=function(D,B){return{enumerable:!(D&1),configurable:!(D&2),writable:!(D&4),value:B}}},($,D,B)=>{var R=B(17),U=B(20);$.exports=function(K){return R(U(K))}},($,D,B)=>{var R=B(18),U=B(11),K=B(19),z=Object,e=R("".split);$.exports=U(function(){return!z("z").propertyIsEnumerable(0)})?function(ae){return K(ae)=="String"?e(ae,""):z(ae)}:z},($,D,B)=>{var R=B(13),U=Function.prototype,K=U.bind,z=U.call,e=R&&K.bind(z,z);$.exports=R?function(ae){return ae&&e(ae)}:function(ae){return ae&&function(){return z.apply(ae,arguments)}}},($,D,B)=>{var R=B(18),U=R({}.toString),K=R("".slice);$.exports=function(z){return K(U(z),8,-1)}},$=>{var D=TypeError;$.exports=function(B){if(B==null)throw D("Can't call method on "+B);return B}},($,D,B)=>{var R=B(22),U=B(25);$.exports=function(K){var z=R(K,"string");return U(z)?z:z+""}},($,D,B)=>{var R=B(12),U=B(23),K=B(25),z=B(32),e=B(35),ae=B(36),ie=TypeError,he=ae("toPrimitive");$.exports=function(J,W){if(!U(J)||K(J))return J;var X=z(J,he),L;if(X){if(W===void 0&&(W="default"),L=R(X,J,W),!U(L)||K(L))return L;throw ie("Can't convert object to primitive value")}return W===void 0&&(W="number"),e(J,W)}},($,D,B)=>{var R=B(24);$.exports=function(U){return typeof U=="object"?U!==null:R(U)}},$=>{$.exports=function(D){return typeof D=="function"}},($,D,B)=>{var R=B(26),U=B(24),K=B(27),z=B(28),e=Object;$.exports=z?function(ae){return typeof ae=="symbol"}:function(ae){var ie=R("Symbol");return U(ie)&&K(ie.prototype,e(ae))}},($,D,B)=>{var R=B(8),U=B(24),K=function(z){return U(z)?z:void 0};$.exports=function(z,e){return arguments.length<2?K(R[z]):R[z]&&R[z][e]}},($,D,B)=>{var R=B(18);$.exports=R({}.isPrototypeOf)},($,D,B)=>{var R=B(29);$.exports=R&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},($,D,B)=>{var R=B(30),U=B(11);$.exports=!!Object.getOwnPropertySymbols&&!U(function(){var K=Symbol();return!String(K)||!(Object(K)instanceof Symbol)||!Symbol.sham&&R&&R<41})},($,D,B)=>{var R=B(8),U=B(31),K=R.process,z=R.Deno,e=K&&K.versions||z&&z.version,ae=e&&e.v8,ie,he;ae&&(ie=ae.split("."),he=ie[0]>0&&ie[0]<4?1:+(ie[0]+ie[1])),!he&&U&&(ie=U.match(/Edge\/(\d+)/),(!ie||ie[1]>=74)&&(ie=U.match(/Chrome\/(\d+)/),ie&&(he=+ie[1]))),$.exports=he},($,D,B)=>{var R=B(26);$.exports=R("navigator","userAgent")||""},($,D,B)=>{var R=B(33);$.exports=function(U,K){var z=U[K];return z==null?void 0:R(z)}},($,D,B)=>{var R=B(24),U=B(34),K=TypeError;$.exports=function(z){if(R(z))return z;throw K(U(z)+" is not a function")}},$=>{var D=String;$.exports=function(B){try{return D(B)}catch{return"Object"}}},($,D,B)=>{var R=B(12),U=B(24),K=B(23),z=TypeError;$.exports=function(e,ae){var ie,he;if(ae==="string"&&U(ie=e.toString)&&!K(he=R(ie,e))||U(ie=e.valueOf)&&!K(he=R(ie,e))||ae!=="string"&&U(ie=e.toString)&&!K(he=R(ie,e)))return he;throw z("Can't convert object to primitive value")}},($,D,B)=>{var R=B(8),U=B(37),K=B(41),z=B(43),e=B(29),ae=B(28),ie=U("wks"),he=R.Symbol,J=he&&he.for,W=ae?he:he&&he.withoutSetter||z;$.exports=function(X){if(!K(ie,X)||!(e||typeof ie[X]=="string")){var L="Symbol."+X;e&&K(he,X)?ie[X]=he[X]:ae&&J?ie[X]=J(L):ie[X]=W(L)}return ie[X]}},($,D,B)=>{var R=B(38),U=B(39);($.exports=function(K,z){return U[K]||(U[K]=z!==void 0?z:{})})("versions",[]).push({version:"3.24.1",mode:R?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE",source:"https://github.com/zloirock/core-js"})},$=>{$.exports=!1},($,D,B)=>{var R=B(8),U=B(40),K="__core-js_shared__",z=R[K]||U(K,{});$.exports=z},($,D,B)=>{var R=B(8),U=Object.defineProperty;$.exports=function(K,z){try{U(R,K,{value:z,configurable:!0,writable:!0})}catch{R[K]=z}return z}},($,D,B)=>{var R=B(18),U=B(42),K=R({}.hasOwnProperty);$.exports=Object.hasOwn||function(e,ae){return K(U(e),ae)}},($,D,B)=>{var R=B(20),U=Object;$.exports=function(K){return U(R(K))}},($,D,B)=>{var R=B(18),U=0,K=Math.random(),z=R(1 .toString);$.exports=function(e){return"Symbol("+(e===void 0?"":e)+")_"+z(++U+K,36)}},($,D,B)=>{var R=B(10),U=B(11),K=B(45);$.exports=!R&&!U(function(){return Object.defineProperty(K("div"),"a",{get:function(){return 7}}).a!=7})},($,D,B)=>{var R=B(8),U=B(23),K=R.document,z=U(K)&&U(K.createElement);$.exports=function(e){return z?K.createElement(e):{}}},($,D,B)=>{var R=B(10),U=B(47),K=B(15);$.exports=R?function(z,e,ae){return U.f(z,e,K(1,ae))}:function(z,e,ae){return z[e]=ae,z}},($,D,B)=>{var R=B(10),U=B(44),K=B(48),z=B(49),e=B(21),ae=TypeError,ie=Object.defineProperty,he=Object.getOwnPropertyDescriptor,J="enumerable",W="configurable",X="writable";D.f=R?K?function(Q,ce,de){if(z(Q),ce=e(ce),z(de),typeof Q=="function"&&ce==="prototype"&&"value"in de&&X in de&&!de[X]){var se=he(Q,ce);se&&se[X]&&(Q[ce]=de.value,de={configurable:W in de?de[W]:se[W],enumerable:J in de?de[J]:se[J],writable:!1})}return ie(Q,ce,de)}:ie:function(Q,ce,de){if(z(Q),ce=e(ce),z(de),U)try{return ie(Q,ce,de)}catch{}if("get"in de||"set"in de)throw ae("Accessors not supported");return"value"in de&&(Q[ce]=de.value),Q}},($,D,B)=>{var R=B(10),U=B(11);$.exports=R&&U(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},($,D,B)=>{var R=B(23),U=String,K=TypeError;$.exports=function(z){if(R(z))return z;throw K(U(z)+" is not an object")}},($,D,B)=>{var R=B(24),U=B(47),K=B(51),z=B(40);$.exports=function(e,ae,ie,he){he||(he={});var J=he.enumerable,W=he.name!==void 0?he.name:ae;if(R(ie)&&K(ie,W,he),he.global)J?e[ae]=ie:z(ae,ie);else{try{he.unsafe?e[ae]&&(J=!0):delete e[ae]}catch{}J?e[ae]=ie:U.f(e,ae,{value:ie,enumerable:!1,configurable:!he.nonConfigurable,writable:!he.nonWritable})}return e}},($,D,B)=>{var R=B(11),U=B(24),K=B(41),z=B(10),e=B(52).CONFIGURABLE,ae=B(53),ie=B(54),he=ie.enforce,J=ie.get,W=Object.defineProperty,X=z&&!R(function(){return W(function(){},"length",{value:8}).length!==8}),L=String(String).split("String"),Q=$.exports=function(ce,de,se){String(de).slice(0,7)==="Symbol("&&(de="["+String(de).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),se&&se.getter&&(de="get "+de),se&&se.setter&&(de="set "+de),(!K(ce,"name")||e&&ce.name!==de)&&(z?W(ce,"name",{value:de,configurable:!0}):ce.name=de),X&&se&&K(se,"arity")&&ce.length!==se.arity&&W(ce,"length",{value:se.arity});try{se&&K(se,"constructor")&&se.constructor?z&&W(ce,"prototype",{writable:!1}):ce.prototype&&(ce.prototype=void 0)}catch{}var oe=he(ce);return K(oe,"source")||(oe.source=L.join(typeof de=="string"?de:"")),ce};Function.prototype.toString=Q(function(){return U(this)&&J(this).source||ae(this)},"toString")},($,D,B)=>{var R=B(10),U=B(41),K=Function.prototype,z=R&&Object.getOwnPropertyDescriptor,e=U(K,"name"),ae=e&&(function(){}).name==="something",ie=e&&(!R||R&&z(K,"name").configurable);$.exports={EXISTS:e,PROPER:ae,CONFIGURABLE:ie}},($,D,B)=>{var R=B(18),U=B(24),K=B(39),z=R(Function.toString);U(K.inspectSource)||(K.inspectSource=function(e){return z(e)}),$.exports=K.inspectSource},($,D,B)=>{var R=B(55),U=B(8),K=B(18),z=B(23),e=B(46),ae=B(41),ie=B(39),he=B(56),J=B(57),W="Object already initialized",X=U.TypeError,L=U.WeakMap,Q,ce,de,se=function(ve){return de(ve)?ce(ve):Q(ve,{})},oe=function(ve){return function(ye){var Ce;if(!z(ye)||(Ce=ce(ye)).type!==ve)throw X("Incompatible receiver, "+ve+" required");return Ce}};if(R||ie.state){var me=ie.state||(ie.state=new L),Ee=K(me.get),ke=K(me.has),xe=K(me.set);Q=function(ve,ye){if(ke(me,ve))throw new X(W);return ye.facade=ve,xe(me,ve,ye),ye},ce=function(ve){return Ee(me,ve)||{}},de=function(ve){return ke(me,ve)}}else{var fe=he("state");J[fe]=!0,Q=function(ve,ye){if(ae(ve,fe))throw new X(W);return ye.facade=ve,e(ve,fe,ye),ye},ce=function(ve){return ae(ve,fe)?ve[fe]:{}},de=function(ve){return ae(ve,fe)}}$.exports={set:Q,get:ce,has:de,enforce:se,getterFor:oe}},($,D,B)=>{var R=B(8),U=B(24),K=B(53),z=R.WeakMap;$.exports=U(z)&&/native code/.test(K(z))},($,D,B)=>{var R=B(37),U=B(43),K=R("keys");$.exports=function(z){return K[z]||(K[z]=U(z))}},$=>{$.exports={}},($,D,B)=>{var R=B(41),U=B(59),K=B(9),z=B(47);$.exports=function(e,ae,ie){for(var he=U(ae),J=z.f,W=K.f,X=0;X{var R=B(26),U=B(18),K=B(60),z=B(69),e=B(49),ae=U([].concat);$.exports=R("Reflect","ownKeys")||function(he){var J=K.f(e(he)),W=z.f;return W?ae(J,W(he)):J}},($,D,B)=>{var R=B(61),U=B(68),K=U.concat("length","prototype");D.f=Object.getOwnPropertyNames||function(e){return R(e,K)}},($,D,B)=>{var R=B(18),U=B(41),K=B(16),z=B(62).indexOf,e=B(57),ae=R([].push);$.exports=function(ie,he){var J=K(ie),W=0,X=[],L;for(L in J)!U(e,L)&&U(J,L)&&ae(X,L);for(;he.length>W;)U(J,L=he[W++])&&(~z(X,L)||ae(X,L));return X}},($,D,B)=>{var R=B(16),U=B(63),K=B(66),z=function(e){return function(ae,ie,he){var J=R(ae),W=K(J),X=U(he,W),L;if(e&&ie!=ie){for(;W>X;)if(L=J[X++],L!=L)return!0}else for(;W>X;X++)if((e||X in J)&&J[X]===ie)return e||X||0;return!e&&-1}};$.exports={includes:z(!0),indexOf:z(!1)}},($,D,B)=>{var R=B(64),U=Math.max,K=Math.min;$.exports=function(z,e){var ae=R(z);return ae<0?U(ae+e,0):K(ae,e)}},($,D,B)=>{var R=B(65);$.exports=function(U){var K=+U;return K!==K||K===0?0:R(K)}},$=>{var D=Math.ceil,B=Math.floor;$.exports=Math.trunc||function(U){var K=+U;return(K>0?B:D)(K)}},($,D,B)=>{var R=B(67);$.exports=function(U){return R(U.length)}},($,D,B)=>{var R=B(64),U=Math.min;$.exports=function(K){return K>0?U(R(K),9007199254740991):0}},$=>{$.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},($,D)=>{D.f=Object.getOwnPropertySymbols},($,D,B)=>{var R=B(11),U=B(24),K=/#|\.prototype\./,z=function(J,W){var X=ae[e(J)];return X==he?!0:X==ie?!1:U(W)?R(W):!!W},e=z.normalize=function(J){return String(J).replace(K,".").toLowerCase()},ae=z.data={},ie=z.NATIVE="N",he=z.POLYFILL="P";$.exports=z},($,D,B)=>{var R=B(36),U=B(72),K=B(47).f,z=R("unscopables"),e=Array.prototype;e[z]==null&&K(e,z,{configurable:!0,value:U(null)}),$.exports=function(ae){e[z][ae]=!0}},($,D,B)=>{var R=B(49),U=B(73),K=B(68),z=B(57),e=B(75),ae=B(45),ie=B(56),he=">",J="<",W="prototype",X="script",L=ie("IE_PROTO"),Q=function(){},ce=function(Ee){return J+X+he+Ee+J+"/"+X+he},de=function(Ee){Ee.write(ce("")),Ee.close();var ke=Ee.parentWindow.Object;return Ee=null,ke},se=function(){var Ee=ae("iframe"),ke="java"+X+":",xe;return Ee.style.display="none",e.appendChild(Ee),Ee.src=String(ke),xe=Ee.contentWindow.document,xe.open(),xe.write(ce("document.F=Object")),xe.close(),xe.F},oe,me=function(){try{oe=new ActiveXObject("htmlfile")}catch{}me=typeof document<"u"?document.domain&&oe?de(oe):se():de(oe);for(var Ee=K.length;Ee--;)delete me[W][K[Ee]];return me()};z[L]=!0,$.exports=Object.create||function(ke,xe){var fe;return ke!==null?(Q[W]=R(ke),fe=new Q,Q[W]=null,fe[L]=ke):fe=me(),xe===void 0?fe:U.f(fe,xe)}},($,D,B)=>{var R=B(10),U=B(48),K=B(47),z=B(49),e=B(16),ae=B(74);D.f=R&&!U?Object.defineProperties:function(he,J){z(he);for(var W=e(J),X=ae(J),L=X.length,Q=0,ce;L>Q;)K.f(he,ce=X[Q++],W[ce]);return he}},($,D,B)=>{var R=B(61),U=B(68);$.exports=Object.keys||function(z){return R(z,U)}},($,D,B)=>{var R=B(26);$.exports=R("document","documentElement")},($,D,B)=>{var R=B(8),U=B(18);$.exports=function(K,z){return U(R[K].prototype[z])}},($,D,B)=>{B(78)},($,D,B)=>{var R=B(79),U=B(66),K=B(64),z=R.aTypedArray,e=R.exportTypedArrayMethod;e("at",function(ie){var he=z(this),J=U(he),W=K(ie),X=W>=0?W:J+W;return X<0||X>=J?void 0:he[X]})},($,D,B)=>{var R=B(80),U=B(10),K=B(8),z=B(24),e=B(23),ae=B(41),ie=B(81),he=B(34),J=B(46),W=B(50),X=B(47).f,L=B(27),Q=B(83),ce=B(85),de=B(36),se=B(43),oe=B(54),me=oe.enforce,Ee=oe.get,ke=K.Int8Array,xe=ke&&ke.prototype,fe=K.Uint8ClampedArray,ve=fe&&fe.prototype,ye=ke&&Q(ke),Ce=xe&&Q(xe),pe=Object.prototype,_e=K.TypeError,Ge=de("toStringTag"),Ae=se("TYPED_ARRAY_TAG"),Ne="TypedArrayConstructor",Ze=R&&!!ce&&ie(K.opera)!=="Opera",ze=!1,Te,Fe,Pe,we={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},Ie={BigInt64Array:8,BigUint64Array:8},Be=function($e){if(!e($e))return!1;var Ye=ie($e);return Ye==="DataView"||ae(we,Ye)||ae(Ie,Ye)},Ke=function(Ue){var $e=Q(Ue);if(e($e)){var Ye=Ee($e);return Ye&&ae(Ye,Ne)?Ye[Ne]:Ke($e)}},Ve=function(Ue){if(!e(Ue))return!1;var $e=ie(Ue);return ae(we,$e)||ae(Ie,$e)},je=function(Ue){if(Ve(Ue))return Ue;throw _e("Target is not a typed array")},Le=function(Ue){if(z(Ue)&&(!ce||L(ye,Ue)))return Ue;throw _e(he(Ue)+" is not a typed array constructor")},et=function(Ue,$e,Ye,tt){if(U){if(Ye)for(var ot in we){var st=K[ot];if(st&&ae(st.prototype,Ue))try{delete st.prototype[Ue]}catch{try{st.prototype[Ue]=$e}catch{}}}(!Ce[Ue]||Ye)&&W(Ce,Ue,Ye?$e:Ze&&xe[Ue]||$e,tt)}},Qe=function(Ue,$e,Ye){var tt,ot;if(U){if(ce){if(Ye){for(tt in we)if(ot=K[tt],ot&&ae(ot,Ue))try{delete ot[Ue]}catch{}}if(!ye[Ue]||Ye)try{return W(ye,Ue,Ye?$e:Ze&&ye[Ue]||$e)}catch{}else return}for(tt in we)ot=K[tt],ot&&(!ot[Ue]||Ye)&&W(ot,Ue,$e)}};for(Te in we)Fe=K[Te],Pe=Fe&&Fe.prototype,Pe?me(Pe)[Ne]=Fe:Ze=!1;for(Te in Ie)Fe=K[Te],Pe=Fe&&Fe.prototype,Pe&&(me(Pe)[Ne]=Fe);if((!Ze||!z(ye)||ye===Function.prototype)&&(ye=function(){throw _e("Incorrect invocation")},Ze))for(Te in we)K[Te]&&ce(K[Te],ye);if((!Ze||!Ce||Ce===pe)&&(Ce=ye.prototype,Ze))for(Te in we)K[Te]&&ce(K[Te].prototype,Ce);if(Ze&&Q(ve)!==Ce&&ce(ve,Ce),U&&!ae(Ce,Ge)){ze=!0,X(Ce,Ge,{get:function(){return e(this)?this[Ae]:void 0}});for(Te in we)K[Te]&&J(K[Te],Ae,Te)}$.exports={NATIVE_ARRAY_BUFFER_VIEWS:Ze,TYPED_ARRAY_TAG:ze&&Ae,aTypedArray:je,aTypedArrayConstructor:Le,exportTypedArrayMethod:et,exportTypedArrayStaticMethod:Qe,getTypedArrayConstructor:Ke,isView:Be,isTypedArray:Ve,TypedArray:ye,TypedArrayPrototype:Ce}},$=>{$.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"},($,D,B)=>{var R=B(82),U=B(24),K=B(19),z=B(36),e=z("toStringTag"),ae=Object,ie=K(function(){return arguments}())=="Arguments",he=function(J,W){try{return J[W]}catch{}};$.exports=R?K:function(J){var W,X,L;return J===void 0?"Undefined":J===null?"Null":typeof(X=he(W=ae(J),e))=="string"?X:ie?K(W):(L=K(W))=="Object"&&U(W.callee)?"Arguments":L}},($,D,B)=>{var R=B(36),U=R("toStringTag"),K={};K[U]="z",$.exports=String(K)==="[object z]"},($,D,B)=>{var R=B(41),U=B(24),K=B(42),z=B(56),e=B(84),ae=z("IE_PROTO"),ie=Object,he=ie.prototype;$.exports=e?ie.getPrototypeOf:function(J){var W=K(J);if(R(W,ae))return W[ae];var X=W.constructor;return U(X)&&W instanceof X?X.prototype:W instanceof ie?he:null}},($,D,B)=>{var R=B(11);$.exports=!R(function(){function U(){}return U.prototype.constructor=null,Object.getPrototypeOf(new U)!==U.prototype})},($,D,B)=>{var R=B(18),U=B(49),K=B(86);$.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var z=!1,e={},ae;try{ae=R(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),ae(e,[]),z=e instanceof Array}catch{}return function(he,J){return U(he),K(J),z?ae(he,J):he.__proto__=J,he}}():void 0)},($,D,B)=>{var R=B(24),U=String,K=TypeError;$.exports=function(z){if(typeof z=="object"||R(z))return z;throw K("Can't set "+U(z)+" as a prototype")}},($,D,B)=>{B(88),B(94),B(96),B(118),B(120);var R=B(129);$.exports=R.structuredClone},($,D,B)=>{var R=B(16),U=B(71),K=B(89),z=B(54),e=B(47).f,ae=B(90),ie=B(38),he=B(10),J="Array Iterator",W=z.set,X=z.getterFor(J);$.exports=ae(Array,"Array",function(Q,ce){W(this,{type:J,target:R(Q),index:0,kind:ce})},function(){var Q=X(this),ce=Q.target,de=Q.kind,se=Q.index++;return!ce||se>=ce.length?(Q.target=void 0,{value:void 0,done:!0}):de=="keys"?{value:se,done:!1}:de=="values"?{value:ce[se],done:!1}:{value:[se,ce[se]],done:!1}},"values");var L=K.Arguments=K.Array;if(U("keys"),U("values"),U("entries"),!ie&&he&&L.name!=="values")try{e(L,"name",{value:"values"})}catch{}},$=>{$.exports={}},($,D,B)=>{var R=B(7),U=B(12),K=B(38),z=B(52),e=B(24),ae=B(91),ie=B(83),he=B(85),J=B(93),W=B(46),X=B(50),L=B(36),Q=B(89),ce=B(92),de=z.PROPER,se=z.CONFIGURABLE,oe=ce.IteratorPrototype,me=ce.BUGGY_SAFARI_ITERATORS,Ee=L("iterator"),ke="keys",xe="values",fe="entries",ve=function(){return this};$.exports=function(ye,Ce,pe,_e,Ge,Ae,Ne){ae(pe,Ce,_e);var Ze=function(je){if(je===Ge&&we)return we;if(!me&&je in Fe)return Fe[je];switch(je){case ke:return function(){return new pe(this,je)};case xe:return function(){return new pe(this,je)};case fe:return function(){return new pe(this,je)}}return function(){return new pe(this)}},ze=Ce+" Iterator",Te=!1,Fe=ye.prototype,Pe=Fe[Ee]||Fe["@@iterator"]||Ge&&Fe[Ge],we=!me&&Pe||Ze(Ge),Ie=Ce=="Array"&&Fe.entries||Pe,Be,Ke,Ve;if(Ie&&(Be=ie(Ie.call(new ye)),Be!==Object.prototype&&Be.next&&(!K&&ie(Be)!==oe&&(he?he(Be,oe):e(Be[Ee])||X(Be,Ee,ve)),J(Be,ze,!0,!0),K&&(Q[ze]=ve))),de&&Ge==xe&&Pe&&Pe.name!==xe&&(!K&&se?W(Fe,"name",xe):(Te=!0,we=function(){return U(Pe,this)})),Ge)if(Ke={values:Ze(xe),keys:Ae?we:Ze(ke),entries:Ze(fe)},Ne)for(Ve in Ke)(me||Te||!(Ve in Fe))&&X(Fe,Ve,Ke[Ve]);else R({target:Ce,proto:!0,forced:me||Te},Ke);return(!K||Ne)&&Fe[Ee]!==we&&X(Fe,Ee,we,{name:Ge}),Q[Ce]=we,Ke}},($,D,B)=>{var R=B(92).IteratorPrototype,U=B(72),K=B(15),z=B(93),e=B(89),ae=function(){return this};$.exports=function(ie,he,J,W){var X=he+" Iterator";return ie.prototype=U(R,{next:K(+!W,J)}),z(ie,X,!1,!0),e[X]=ae,ie}},($,D,B)=>{var R=B(11),U=B(24),K=B(72),z=B(83),e=B(50),ae=B(36),ie=B(38),he=ae("iterator"),J=!1,W,X,L;[].keys&&(L=[].keys(),"next"in L?(X=z(z(L)),X!==Object.prototype&&(W=X)):J=!0);var Q=W==null||R(function(){var ce={};return W[he].call(ce)!==ce});Q?W={}:ie&&(W=K(W)),U(W[he])||e(W,he,function(){return this}),$.exports={IteratorPrototype:W,BUGGY_SAFARI_ITERATORS:J}},($,D,B)=>{var R=B(47).f,U=B(41),K=B(36),z=K("toStringTag");$.exports=function(e,ae,ie){e&&!ie&&(e=e.prototype),e&&!U(e,z)&&R(e,z,{configurable:!0,value:ae})}},($,D,B)=>{var R=B(82),U=B(50),K=B(95);R||U(Object.prototype,"toString",K,{unsafe:!0})},($,D,B)=>{var R=B(82),U=B(81);$.exports=R?{}.toString:function(){return"[object "+U(this)+"]"}},($,D,B)=>{B(97)},($,D,B)=>{var R=B(98),U=B(115);R("Map",function(K){return function(){return K(this,arguments.length?arguments[0]:void 0)}},U)},($,D,B)=>{var R=B(7),U=B(8),K=B(18),z=B(70),e=B(50),ae=B(99),ie=B(106),he=B(112),J=B(24),W=B(23),X=B(11),L=B(113),Q=B(93),ce=B(114);$.exports=function(de,se,oe){var me=de.indexOf("Map")!==-1,Ee=de.indexOf("Weak")!==-1,ke=me?"set":"add",xe=U[de],fe=xe&&xe.prototype,ve=xe,ye={},Ce=function(ze){var Te=K(fe[ze]);e(fe,ze,ze=="add"?function(Pe){return Te(this,Pe===0?0:Pe),this}:ze=="delete"?function(Fe){return Ee&&!W(Fe)?!1:Te(this,Fe===0?0:Fe)}:ze=="get"?function(Pe){return Ee&&!W(Pe)?void 0:Te(this,Pe===0?0:Pe)}:ze=="has"?function(Pe){return Ee&&!W(Pe)?!1:Te(this,Pe===0?0:Pe)}:function(Pe,we){return Te(this,Pe===0?0:Pe,we),this})},pe=z(de,!J(xe)||!(Ee||fe.forEach&&!X(function(){new xe().entries().next()})));if(pe)ve=oe.getConstructor(se,de,me,ke),ae.enable();else if(z(de,!0)){var _e=new ve,Ge=_e[ke](Ee?{}:-0,1)!=_e,Ae=X(function(){_e.has(1)}),Ne=L(function(ze){new xe(ze)}),Ze=!Ee&&X(function(){for(var ze=new xe,Te=5;Te--;)ze[ke](Te,Te);return!ze.has(-0)});Ne||(ve=se(function(ze,Te){he(ze,fe);var Fe=ce(new xe,ze,ve);return Te!=null&&ie(Te,Fe[ke],{that:Fe,AS_ENTRIES:me}),Fe}),ve.prototype=fe,fe.constructor=ve),(Ae||Ze)&&(Ce("delete"),Ce("has"),me&&Ce("get")),(Ze||Ge)&&Ce(ke),Ee&&fe.clear&&delete fe.clear}return ye[de]=ve,R({global:!0,constructor:!0,forced:ve!=xe},ye),Q(ve,de),Ee||oe.setStrong(ve,de,me),ve}},($,D,B)=>{var R=B(7),U=B(18),K=B(57),z=B(23),e=B(41),ae=B(47).f,ie=B(60),he=B(100),J=B(103),W=B(43),X=B(105),L=!1,Q=W("meta"),ce=0,de=function(xe){ae(xe,Q,{value:{objectID:"O"+ce++,weakData:{}}})},se=function(xe,fe){if(!z(xe))return typeof xe=="symbol"?xe:(typeof xe=="string"?"S":"P")+xe;if(!e(xe,Q)){if(!J(xe))return"F";if(!fe)return"E";de(xe)}return xe[Q].objectID},oe=function(xe,fe){if(!e(xe,Q)){if(!J(xe))return!0;if(!fe)return!1;de(xe)}return xe[Q].weakData},me=function(xe){return X&&L&&J(xe)&&!e(xe,Q)&&de(xe),xe},Ee=function(){ke.enable=function(){},L=!0;var xe=ie.f,fe=U([].splice),ve={};ve[Q]=1,xe(ve).length&&(ie.f=function(ye){for(var Ce=xe(ye),pe=0,_e=Ce.length;pe<_e;pe++)if(Ce[pe]===Q){fe(Ce,pe,1);break}return Ce},R({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:he.f}))},ke=$.exports={enable:Ee,fastKey:se,getWeakData:oe,onFreeze:me};K[Q]=!0},($,D,B)=>{var R=B(19),U=B(16),K=B(60).f,z=B(101),e=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],ae=function(ie){try{return K(ie)}catch{return z(e)}};$.exports.f=function(he){return e&&R(he)=="Window"?ae(he):K(U(he))}},($,D,B)=>{var R=B(63),U=B(66),K=B(102),z=Array,e=Math.max;$.exports=function(ae,ie,he){for(var J=U(ae),W=R(ie,J),X=R(he===void 0?J:he,J),L=z(e(X-W,0)),Q=0;W{var R=B(21),U=B(47),K=B(15);$.exports=function(z,e,ae){var ie=R(e);ie in z?U.f(z,ie,K(0,ae)):z[ie]=ae}},($,D,B)=>{var R=B(11),U=B(23),K=B(19),z=B(104),e=Object.isExtensible,ae=R(function(){});$.exports=ae||z?function(he){return!U(he)||z&&K(he)=="ArrayBuffer"?!1:e?e(he):!0}:e},($,D,B)=>{var R=B(11);$.exports=R(function(){if(typeof ArrayBuffer=="function"){var U=new ArrayBuffer(8);Object.isExtensible(U)&&Object.defineProperty(U,"a",{value:8})}})},($,D,B)=>{var R=B(11);$.exports=!R(function(){return Object.isExtensible(Object.preventExtensions({}))})},($,D,B)=>{var R=B(107),U=B(12),K=B(49),z=B(34),e=B(108),ae=B(66),ie=B(27),he=B(109),J=B(110),W=B(111),X=TypeError,L=function(ce,de){this.stopped=ce,this.result=de},Q=L.prototype;$.exports=function(ce,de,se){var oe=se&&se.that,me=!!(se&&se.AS_ENTRIES),Ee=!!(se&&se.IS_RECORD),ke=!!(se&&se.IS_ITERATOR),xe=!!(se&&se.INTERRUPTED),fe=R(de,oe),ve,ye,Ce,pe,_e,Ge,Ae,Ne=function(ze){return ve&&W(ve,"normal",ze),new L(!0,ze)},Ze=function(ze){return me?(K(ze),xe?fe(ze[0],ze[1],Ne):fe(ze[0],ze[1])):xe?fe(ze,Ne):fe(ze)};if(Ee)ve=ce.iterator;else if(ke)ve=ce;else{if(ye=J(ce),!ye)throw X(z(ce)+" is not iterable");if(e(ye)){for(Ce=0,pe=ae(ce);pe>Ce;Ce++)if(_e=Ze(ce[Ce]),_e&&ie(Q,_e))return _e;return new L(!1)}ve=he(ce,ye)}for(Ge=Ee?ce.next:ve.next;!(Ae=U(Ge,ve)).done;){try{_e=Ze(Ae.value)}catch(ze){W(ve,"throw",ze)}if(typeof _e=="object"&&_e&&ie(Q,_e))return _e}return new L(!1)}},($,D,B)=>{var R=B(18),U=B(33),K=B(13),z=R(R.bind);$.exports=function(e,ae){return U(e),ae===void 0?e:K?z(e,ae):function(){return e.apply(ae,arguments)}}},($,D,B)=>{var R=B(36),U=B(89),K=R("iterator"),z=Array.prototype;$.exports=function(e){return e!==void 0&&(U.Array===e||z[K]===e)}},($,D,B)=>{var R=B(12),U=B(33),K=B(49),z=B(34),e=B(110),ae=TypeError;$.exports=function(ie,he){var J=arguments.length<2?e(ie):he;if(U(J))return K(R(J,ie));throw ae(z(ie)+" is not iterable")}},($,D,B)=>{var R=B(81),U=B(32),K=B(89),z=B(36),e=z("iterator");$.exports=function(ae){if(ae!=null)return U(ae,e)||U(ae,"@@iterator")||K[R(ae)]}},($,D,B)=>{var R=B(12),U=B(49),K=B(32);$.exports=function(z,e,ae){var ie,he;U(z);try{if(ie=K(z,"return"),!ie){if(e==="throw")throw ae;return ae}ie=R(ie,z)}catch(J){he=!0,ie=J}if(e==="throw")throw ae;if(he)throw ie;return U(ie),ae}},($,D,B)=>{var R=B(27),U=TypeError;$.exports=function(K,z){if(R(z,K))return K;throw U("Incorrect invocation")}},($,D,B)=>{var R=B(36),U=R("iterator"),K=!1;try{var z=0,e={next:function(){return{done:!!z++}},return:function(){K=!0}};e[U]=function(){return this},Array.from(e,function(){throw 2})}catch{}$.exports=function(ae,ie){if(!ie&&!K)return!1;var he=!1;try{var J={};J[U]=function(){return{next:function(){return{done:he=!0}}}},ae(J)}catch{}return he}},($,D,B)=>{var R=B(24),U=B(23),K=B(85);$.exports=function(z,e,ae){var ie,he;return K&&R(ie=e.constructor)&&ie!==ae&&U(he=ie.prototype)&&he!==ae.prototype&&K(z,he),z}},($,D,B)=>{var R=B(47).f,U=B(72),K=B(116),z=B(107),e=B(112),ae=B(106),ie=B(90),he=B(117),J=B(10),W=B(99).fastKey,X=B(54),L=X.set,Q=X.getterFor;$.exports={getConstructor:function(ce,de,se,oe){var me=ce(function(ve,ye){e(ve,Ee),L(ve,{type:de,index:U(null),first:void 0,last:void 0,size:0}),J||(ve.size=0),ye!=null&&ae(ye,ve[oe],{that:ve,AS_ENTRIES:se})}),Ee=me.prototype,ke=Q(de),xe=function(ve,ye,Ce){var pe=ke(ve),_e=fe(ve,ye),Ge,Ae;return _e?_e.value=Ce:(pe.last=_e={index:Ae=W(ye,!0),key:ye,value:Ce,previous:Ge=pe.last,next:void 0,removed:!1},pe.first||(pe.first=_e),Ge&&(Ge.next=_e),J?pe.size++:ve.size++,Ae!=="F"&&(pe.index[Ae]=_e)),ve},fe=function(ve,ye){var Ce=ke(ve),pe=W(ye),_e;if(pe!=="F")return Ce.index[pe];for(_e=Ce.first;_e;_e=_e.next)if(_e.key==ye)return _e};return K(Ee,{clear:function(){for(var ye=this,Ce=ke(ye),pe=Ce.index,_e=Ce.first;_e;)_e.removed=!0,_e.previous&&(_e.previous=_e.previous.next=void 0),delete pe[_e.index],_e=_e.next;Ce.first=Ce.last=void 0,J?Ce.size=0:ye.size=0},delete:function(ve){var ye=this,Ce=ke(ye),pe=fe(ye,ve);if(pe){var _e=pe.next,Ge=pe.previous;delete Ce.index[pe.index],pe.removed=!0,Ge&&(Ge.next=_e),_e&&(_e.previous=Ge),Ce.first==pe&&(Ce.first=_e),Ce.last==pe&&(Ce.last=Ge),J?Ce.size--:ye.size--}return!!pe},forEach:function(ye){for(var Ce=ke(this),pe=z(ye,arguments.length>1?arguments[1]:void 0),_e;_e=_e?_e.next:Ce.first;)for(pe(_e.value,_e.key,this);_e&&_e.removed;)_e=_e.previous},has:function(ye){return!!fe(this,ye)}}),K(Ee,se?{get:function(ye){var Ce=fe(this,ye);return Ce&&Ce.value},set:function(ye,Ce){return xe(this,ye===0?0:ye,Ce)}}:{add:function(ye){return xe(this,ye=ye===0?0:ye,ye)}}),J&&R(Ee,"size",{get:function(){return ke(this).size}}),me},setStrong:function(ce,de,se){var oe=de+" Iterator",me=Q(de),Ee=Q(oe);ie(ce,de,function(ke,xe){L(this,{type:oe,target:ke,state:me(ke),kind:xe,last:void 0})},function(){for(var ke=Ee(this),xe=ke.kind,fe=ke.last;fe&&fe.removed;)fe=fe.previous;return!ke.target||!(ke.last=fe=fe?fe.next:ke.state.first)?(ke.target=void 0,{value:void 0,done:!0}):xe=="keys"?{value:fe.key,done:!1}:xe=="values"?{value:fe.value,done:!1}:{value:[fe.key,fe.value],done:!1}},se?"entries":"values",!se,!0),he(de)}}},($,D,B)=>{var R=B(50);$.exports=function(U,K,z){for(var e in K)R(U,e,K[e],z);return U}},($,D,B)=>{var R=B(26),U=B(47),K=B(36),z=B(10),e=K("species");$.exports=function(ae){var ie=R(ae),he=U.f;z&&ie&&!ie[e]&&he(ie,e,{configurable:!0,get:function(){return this}})}},($,D,B)=>{B(119)},($,D,B)=>{var R=B(98),U=B(115);R("Set",function(K){return function(){return K(this,arguments.length?arguments[0]:void 0)}},U)},($,D,B)=>{var R=B(38),U=B(7),K=B(8),z=B(26),e=B(18),ae=B(11),ie=B(43),he=B(24),J=B(121),W=B(23),X=B(25),L=B(106),Q=B(49),ce=B(81),de=B(41),se=B(102),oe=B(46),me=B(66),Ee=B(122),ke=B(123),xe=B(125),fe=B(30),ve=B(126),ye=B(127),Ce=B(128),pe=K.Object,_e=K.Date,Ge=K.Error,Ae=K.EvalError,Ne=K.RangeError,Ze=K.ReferenceError,ze=K.SyntaxError,Te=K.TypeError,Fe=K.URIError,Pe=K.PerformanceMark,we=K.WebAssembly,Ie=we&&we.CompileError||Ge,Be=we&&we.LinkError||Ge,Ke=we&&we.RuntimeError||Ge,Ve=z("DOMException"),je=z("Set"),Le=z("Map"),et=Le.prototype,Qe=e(et.has),Ue=e(et.get),$e=e(et.set),Ye=e(je.prototype.add),tt=z("Object","keys"),ot=e([].push),st=e((!0).valueOf),dt=e(1 .valueOf),ct=e("".valueOf),mt=e(_e.prototype.getTime),ut=ie("structuredClone"),rt="DataCloneError",He="Transferring",Je=function(Ft){return!ae(function(){var Jt=new K.Set([7]),er=Ft(Jt),Bt=Ft(pe(7));return er==Jt||!er.has(7)||typeof Bt!="object"||Bt!=7})&&Ft},St=function(Ft,Jt){return!ae(function(){var er=new Jt,Bt=Ft({a:er,b:er});return!(Bt&&Bt.a===Bt.b&&Bt.a instanceof Jt&&Bt.a.stack===er.stack)})},bt=function(Ft){return!ae(function(){var Jt=Ft(new K.AggregateError([1],ut,{cause:3}));return Jt.name!="AggregateError"||Jt.errors[0]!=1||Jt.message!=ut||Jt.cause!=3})},pt=K.structuredClone,wt=R||!St(pt,Ge)||!St(pt,Ve)||!bt(pt),Pt=!pt&&Je(function(Ft){return new Pe(ut,{detail:Ft}).detail}),Nt=Je(pt)||Pt,Vt=function(Ft){throw new Ve("Uncloneable type: "+Ft,rt)},Wt=function(Ft,Jt){throw new Ve((Jt||"Cloning")+" of "+Ft+" cannot be properly polyfilled in this engine",rt)},Mt=function(Ft,Jt){if(X(Ft)&&Vt("Symbol"),!W(Ft))return Ft;if(Jt){if(Qe(Jt,Ft))return Ue(Jt,Ft)}else Jt=new Le;var er=ce(Ft),Bt=!1,It,Dt,Zt,gr,fr,Dr,kr,cr,Ar,yt;switch(er){case"Array":Zt=[],Bt=!0;break;case"Object":Zt={},Bt=!0;break;case"Map":Zt=new Le,Bt=!0;break;case"Set":Zt=new je,Bt=!0;break;case"RegExp":Zt=new RegExp(Ft.source,ke(Ft));break;case"Error":switch(Dt=Ft.name,Dt){case"AggregateError":Zt=z("AggregateError")([]);break;case"EvalError":Zt=Ae();break;case"RangeError":Zt=Ne();break;case"ReferenceError":Zt=Ze();break;case"SyntaxError":Zt=ze();break;case"TypeError":Zt=Te();break;case"URIError":Zt=Fe();break;case"CompileError":Zt=Ie();break;case"LinkError":Zt=Be();break;case"RuntimeError":Zt=Ke();break;default:Zt=Ge()}Bt=!0;break;case"DOMException":Zt=new Ve(Ft.message,Ft.name),Bt=!0;break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":It=K[er],W(It)||Wt(er),Zt=new It(Mt(Ft.buffer,Jt),Ft.byteOffset,er==="DataView"?Ft.byteLength:Ft.length);break;case"DOMQuad":try{Zt=new DOMQuad(Mt(Ft.p1,Jt),Mt(Ft.p2,Jt),Mt(Ft.p3,Jt),Mt(Ft.p4,Jt))}catch{Nt?Zt=Nt(Ft):Wt(er)}break;case"FileList":if(It=K.DataTransfer,J(It)){for(gr=new It,fr=0,Dr=me(Ft);fr92||Ce&&fe>94||ve&&fe>97)return!1;var Ft=new ArrayBuffer(8),Jt=pt(Ft,{transfer:[Ft]});return Ft.byteLength!=0||Jt.byteLength!=8}),Yt=function(Ft,Jt){if(!W(Ft))throw Te("Transfer option cannot be converted to a sequence");var er=[];L(Ft,function(Ar){ot(er,Q(Ar))});var Bt=0,It=me(er),Dt,Zt,gr,fr,Dr,kr,cr;if($t)for(fr=pt(er,{transfer:er});Bt1&&arguments[1]!=null?Q(arguments[1]):void 0,Bt=er?er.transfer:void 0,It;return Bt!==void 0&&(It=new Le,Yt(Bt,It)),Mt(Jt,It)}})},($,D,B)=>{var R=B(18),U=B(11),K=B(24),z=B(81),e=B(26),ae=B(53),ie=function(){},he=[],J=e("Reflect","construct"),W=/^\s*(?:class|function)\b/,X=R(W.exec),L=!W.exec(ie),Q=function(se){if(!K(se))return!1;try{return J(ie,he,se),!0}catch{return!1}},ce=function(se){if(!K(se))return!1;switch(z(se)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return L||!!X(W,ae(se))}catch{return!0}};ce.sham=!0,$.exports=!J||U(function(){var de;return Q(Q.call)||!Q(Object)||!Q(function(){de=!0})||de})?ce:Q},$=>{var D=TypeError;$.exports=function(B,R){if(B{var R=B(12),U=B(41),K=B(27),z=B(124),e=RegExp.prototype;$.exports=function(ae){var ie=ae.flags;return ie===void 0&&!("flags"in e)&&!U(ae,"flags")&&K(e,ae)?R(z,ae):ie}},($,D,B)=>{var R=B(49);$.exports=function(){var U=R(this),K="";return U.hasIndices&&(K+="d"),U.global&&(K+="g"),U.ignoreCase&&(K+="i"),U.multiline&&(K+="m"),U.dotAll&&(K+="s"),U.unicode&&(K+="u"),U.unicodeSets&&(K+="v"),U.sticky&&(K+="y"),K}},($,D,B)=>{var R=B(11),U=B(15);$.exports=!R(function(){var K=Error("a");return"stack"in K?(Object.defineProperty(K,"stack",U(1,7)),K.stack!==7):!0})},($,D,B)=>{var R=B(127),U=B(128);$.exports=!R&&!U&&typeof window=="object"&&typeof document=="object"},$=>{$.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},($,D,B)=>{var R=B(19),U=B(8);$.exports=R(U.process)=="process"},($,D,B)=>{var R=B(8);$.exports=R},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.RefSetCache=D.RefSet=D.Ref=D.Name=D.EOF=D.Dict=D.Cmd=D.CIRCULAR_REF=void 0,D.clearPrimitiveCaches=de,D.isCmd=L,D.isDict=Q,D.isName=X,D.isRefsEqual=ce;var R=B(2);const U=Symbol("CIRCULAR_REF");D.CIRCULAR_REF=U;const K=Symbol("EOF");D.EOF=K;const z=function(){let oe=Object.create(null);class me{constructor(ke){this.name=ke}static get(ke){return oe[ke]||(oe[ke]=new me(ke))}static _clearCache(){oe=Object.create(null)}}return me}();D.Name=z;const e=function(){let oe=Object.create(null);class me{constructor(ke){this.cmd=ke}static get(ke){return oe[ke]||(oe[ke]=new me(ke))}static _clearCache(){oe=Object.create(null)}}return me}();D.Cmd=e;const ae=function(){return ae};class ie{constructor(){let oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._map=Object.create(null),this.xref=oe,this.objId=null,this.suppressEncryption=!1,this.__nonSerializable__=ae}assignXref(oe){this.xref=oe}get size(){return Object.keys(this._map).length}get(oe,me,Ee){let ke=this._map[oe];return ke===void 0&&me!==void 0&&(ke=this._map[me],ke===void 0&&Ee!==void 0&&(ke=this._map[Ee])),ke instanceof he&&this.xref?this.xref.fetch(ke,this.suppressEncryption):ke}async getAsync(oe,me,Ee){let ke=this._map[oe];return ke===void 0&&me!==void 0&&(ke=this._map[me],ke===void 0&&Ee!==void 0&&(ke=this._map[Ee])),ke instanceof he&&this.xref?this.xref.fetchAsync(ke,this.suppressEncryption):ke}getArray(oe,me,Ee){let ke=this._map[oe];if(ke===void 0&&me!==void 0&&(ke=this._map[me],ke===void 0&&Ee!==void 0&&(ke=this._map[Ee])),ke instanceof he&&this.xref&&(ke=this.xref.fetch(ke,this.suppressEncryption)),Array.isArray(ke)){ke=ke.slice();for(let xe=0,fe=ke.length;xe{(0,R.unreachable)("Should not call `set` on the empty dictionary.")},(0,R.shadow)(this,"empty",oe)}static merge(oe){let{xref:me,dictArray:Ee,mergeSubDicts:ke=!1}=oe;const xe=new ie(me),fe=new Map;for(const ve of Ee)if(ve instanceof ie)for(const[ye,Ce]of Object.entries(ve._map)){let pe=fe.get(ye);if(pe===void 0)pe=[],fe.set(ye,pe);else if(!ke||!(Ce instanceof ie))continue;pe.push(Ce)}for(const[ve,ye]of fe){if(ye.length===1||!(ye[0]instanceof ie)){xe._map[ve]=ye[0];continue}const Ce=new ie(me);for(const pe of ye)for(const[_e,Ge]of Object.entries(pe._map))Ce._map[_e]===void 0&&(Ce._map[_e]=Ge);Ce.size>0&&(xe._map[ve]=Ce)}return fe.clear(),xe.size>0?xe:ie.empty}}D.Dict=ie;const he=function(){let oe=Object.create(null);class me{constructor(ke,xe){this.num=ke,this.gen=xe}toString(){return this.gen===0?`${this.num}R`:`${this.num}R${this.gen}`}static get(ke,xe){const fe=xe===0?`${ke}R`:`${ke}R${xe}`;return oe[fe]||(oe[fe]=new me(ke,xe))}static _clearCache(){oe=Object.create(null)}}return me}();D.Ref=he;class J{constructor(){let oe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._set=new Set(oe&&oe._set)}has(oe){return this._set.has(oe.toString())}put(oe){this._set.add(oe.toString())}remove(oe){this._set.delete(oe.toString())}[Symbol.iterator](){return this._set.values()}clear(){this._set.clear()}}D.RefSet=J;class W{constructor(){this._map=new Map}get size(){return this._map.size}get(oe){return this._map.get(oe.toString())}has(oe){return this._map.has(oe.toString())}put(oe,me){this._map.set(oe.toString(),me)}putAlias(oe,me){this._map.set(oe.toString(),this.get(me))}[Symbol.iterator](){return this._map.values()}clear(){this._map.clear()}}D.RefSetCache=W;function X(se,oe){return se instanceof z&&(oe===void 0||se.name===oe)}function L(se,oe){return se instanceof e&&(oe===void 0||se.cmd===oe)}function Q(se,oe){return se instanceof ie&&(oe===void 0||X(se.get("Type"),oe))}function ce(se,oe){return se.num===oe.num&&se.gen===oe.gen}function de(){e._clearCache(),z._clearCache(),he._clearCache()}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XRefParseException=D.XRefEntryException=D.ParserEOFException=D.MissingDataException=D.DocStats=void 0,D.collectActions=fe,D.encodeToXmlString=ye,D.escapePDFName=ke,D.getArrayLookupTableFactory=e,D.getInheritableProperty=X,D.getLookupTableFactory=z,D.getNewAnnotationsMap=Ge,D.isWhiteSpace=me,D.log2=ce,D.numberToString=_e,D.parseXFAPath=Ee,D.readInt8=de,D.readUint16=se,D.readUint32=oe,D.recoverJsURL=pe,D.toRomanNumerals=Q,D.validateCSSFont=Ce;var R=B(2),U=B(130),K=B(132);function z(Ae){let Ne;return function(){return Ae&&(Ne=Object.create(null),Ae(Ne),Ae=null),Ne}}function e(Ae){let Ne;return function(){if(Ae){let Ze=Ae();Ae=null,Ne=Object.create(null);for(let ze=0,Te=Ze.length;ze1&&arguments[1]!==void 0?arguments[1]:!1;(0,R.assert)(Number.isInteger(Ae)&&Ae>0,"The number should be a positive integer.");const Ze=[];let ze;for(;Ae>=1e3;)Ae-=1e3,Ze.push("M");ze=Ae/100|0,Ae%=100,Ze.push(L[ze]),ze=Ae/10|0,Ae%=10,Ze.push(L[10+ze]),Ze.push(L[20+Ae]);const Te=Ze.join("");return Ne?Te.toLowerCase():Te}function ce(Ae){return Ae<=0?0:Math.ceil(Math.log2(Ae))}function de(Ae,Ne){return Ae[Ne]<<24>>24}function se(Ae,Ne){return Ae[Ne]<<8|Ae[Ne+1]}function oe(Ae,Ne){return(Ae[Ne]<<24|Ae[Ne+1]<<16|Ae[Ne+2]<<8|Ae[Ne+3])>>>0}function me(Ae){return Ae===32||Ae===9||Ae===13||Ae===10}function Ee(Ae){const Ne=/(.+)\[(\d+)\]$/;return Ae.split(".").map(Ze=>{const ze=Ze.match(Ne);return ze?{name:ze[1],pos:parseInt(ze[2],10)}:{name:Ze,pos:0}})}function ke(Ae){const Ne=[];let Ze=0;for(let ze=0,Te=Ae.length;ze126||Fe===35||Fe===40||Fe===41||Fe===60||Fe===62||Fe===91||Fe===93||Fe===123||Fe===125||Fe===47||Fe===37)&&(Ze=0;Fe--){const Pe=Te[Fe];if(Pe instanceof U.Dict)for(const we of Pe.getKeys()){const Ie=Ze[we];if(!Ie)continue;const Be=Pe.getRaw(we),Ke=new U.RefSet,Ve=[];xe(Be,Ae,Ve,Ke),Ve.length>0&&(ze[Ie]=Ve)}}if(Ne.has("A")){const Fe=Ne.get("A"),Pe=new U.RefSet,we=[];xe(Fe,Ae,we,Pe),we.length>0&&(ze.Action=we)}return(0,R.objectSize)(ze)>0?ze:null}const ve={60:"<",62:">",38:"&",34:""",39:"'"};function ye(Ae){const Ne=[];let Ze=0;for(let ze=0,Te=Ae.length;ze55295&&(Fe<57344||Fe>65533)&&ze++,Ze=ze+1}return Ne.length===0?Ae:(Ze: ${Te}.`),!1;const we=Fe?Fe.toString():"";Ae.fontWeight=ze.has(we)?we:Ze;const Ie=parseFloat(Pe);return Ae.italicAngle=isNaN(Ie)||Ie<-90||Ie>90?Ne:Pe.toString(),!0}function pe(Ae){const Ne=["app.launchURL","window.open","xfa.host.gotoURL"],ze=new RegExp("^\\s*("+Ne.join("|").split(".").join("\\.")+`)\\((?:'|")([^'"]*)(?:'|")(?:,\\s*(\\w+)\\)|\\))`,"i").exec(Ae);if(ze&&ze[2]){const Te=ze[2];let Fe=!1;return ze[3]==="true"&&ze[1]==="app.launchURL"&&(Fe=!0),{url:Te,newWindow:Fe}}return null}function _e(Ae){if(Number.isInteger(Ae))return Ae.toString();const Ne=Math.round(Ae*100);return Ne%100===0?(Ne/100).toString():Ne%10===0?Ae.toFixed(1):Ae.toFixed(2)}function Ge(Ae){if(!Ae)return null;const Ne=new Map;for(const[Ze,ze]of Ae){if(!Ze.startsWith(R.AnnotationEditorPrefix))continue;let Te=Ne.get(ze.pageIndex);Te||(Te=[],Ne.set(ze.pageIndex,Te)),Te.push(ze)}return Ne.size>0?Ne:null}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.BaseStream=void 0;var R=B(2);class U{constructor(){this.constructor===U&&(0,R.unreachable)("Cannot initialize BaseStream.")}get length(){(0,R.unreachable)("Abstract getter `length` accessed")}get isEmpty(){(0,R.unreachable)("Abstract getter `isEmpty` accessed")}get isDataLoaded(){return(0,R.shadow)(this,"isDataLoaded",!0)}getByte(){(0,R.unreachable)("Abstract method `getByte` called")}getBytes(z){(0,R.unreachable)("Abstract method `getBytes` called")}peekByte(){const z=this.getByte();return z!==-1&&this.pos--,z}peekBytes(z){const e=this.getBytes(z);return this.pos-=e.length,e}getUint16(){const z=this.getByte(),e=this.getByte();return z===-1||e===-1?-1:(z<<8)+e}getInt32(){const z=this.getByte(),e=this.getByte(),ae=this.getByte(),ie=this.getByte();return(z<<24)+(e<<16)+(ae<<8)+ie}getByteRange(z,e){(0,R.unreachable)("Abstract method `getByteRange` called")}getString(z){return(0,R.bytesToString)(this.getBytes(z))}skip(z){this.pos+=z||1}reset(){(0,R.unreachable)("Abstract method `reset` called")}moveStart(){(0,R.unreachable)("Abstract method `moveStart` called")}makeSubStream(z,e){(0,R.unreachable)("Abstract method `makeSubStream` called")}getBaseStreams(){return null}}D.BaseStream=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.NetworkPdfManager=D.LocalPdfManager=void 0;var R=B(2),U=B(134),K=B(131),z=B(136),e=B(135);function ae(W){if(W){const X=(0,R.createValidAbsoluteUrl)(W);if(X)return X.href;(0,R.warn)(`Invalid absolute docBaseUrl: "${W}".`)}return null}class ie{constructor(){this.constructor===ie&&(0,R.unreachable)("Cannot initialize BasePdfManager.")}get docId(){return this._docId}get password(){return this._password}get docBaseUrl(){const X=this.pdfDocument.catalog;return(0,R.shadow)(this,"docBaseUrl",X.baseUrl||this._docBaseUrl)}onLoadedStream(){(0,R.unreachable)("Abstract method `onLoadedStream` called")}ensureDoc(X,L){return this.ensure(this.pdfDocument,X,L)}ensureXRef(X,L){return this.ensure(this.pdfDocument.xref,X,L)}ensureCatalog(X,L){return this.ensure(this.pdfDocument.catalog,X,L)}getPage(X){return this.pdfDocument.getPage(X)}fontFallback(X,L){return this.pdfDocument.fontFallback(X,L)}loadXfaFonts(X,L){return this.pdfDocument.loadXfaFonts(X,L)}loadXfaImages(){return this.pdfDocument.loadXfaImages()}serializeXfaData(X){return this.pdfDocument.serializeXfaData(X)}cleanup(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.pdfDocument.cleanup(X)}async ensure(X,L,Q){(0,R.unreachable)("Abstract method `ensure` called")}requestRange(X,L){(0,R.unreachable)("Abstract method `requestRange` called")}requestLoadedStream(){(0,R.unreachable)("Abstract method `requestLoadedStream` called")}sendProgressiveData(X){(0,R.unreachable)("Abstract method `sendProgressiveData` called")}updatePassword(X){this._password=X}terminate(X){(0,R.unreachable)("Abstract method `terminate` called")}}class he extends ie{constructor(X,L,Q,ce,de,se,oe){super(),this._docId=X,this._password=Q,this._docBaseUrl=ae(oe),this.msgHandler=ce,this.evaluatorOptions=de,this.enableXfa=se;const me=new e.Stream(L);this.pdfDocument=new z.PDFDocument(this,me),this._loadedStreamPromise=Promise.resolve(me)}async ensure(X,L,Q){const ce=X[L];return typeof ce=="function"?ce.apply(X,Q):ce}requestRange(X,L){return Promise.resolve()}requestLoadedStream(){}onLoadedStream(){return this._loadedStreamPromise}terminate(X){}}D.LocalPdfManager=he;class J extends ie{constructor(X,L,Q,ce,de,se){super(),this._docId=X,this._password=Q.password,this._docBaseUrl=ae(se),this.msgHandler=Q.msgHandler,this.evaluatorOptions=ce,this.enableXfa=de,this.streamManager=new U.ChunkedStreamManager(L,{msgHandler:Q.msgHandler,length:Q.length,disableAutoFetch:Q.disableAutoFetch,rangeChunkSize:Q.rangeChunkSize}),this.pdfDocument=new z.PDFDocument(this,this.streamManager.getStream())}async ensure(X,L,Q){try{const ce=X[L];return typeof ce=="function"?ce.apply(X,Q):ce}catch(ce){if(!(ce instanceof K.MissingDataException))throw ce;return await this.requestRange(ce.begin,ce.end),this.ensure(X,L,Q)}}requestRange(X,L){return this.streamManager.requestRange(X,L)}requestLoadedStream(){this.streamManager.requestAllChunks()}sendProgressiveData(X){this.streamManager.onReceiveData({chunk:X})}onLoadedStream(){return this.streamManager.onLoadedStream()}terminate(X){this.streamManager.abort(X)}}D.NetworkPdfManager=J},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ChunkedStreamManager=D.ChunkedStream=void 0;var R=B(2),U=B(131),K=B(135);class z extends K.Stream{constructor(ie,he,J){super(new Uint8Array(ie),0,ie,null),this.chunkSize=he,this._loadedChunks=new Set,this.numChunks=Math.ceil(ie/he),this.manager=J,this.progressiveDataLength=0,this.lastSuccessfulEnsureByteChunk=-1}getMissingChunks(){const ie=[];for(let he=0,J=this.numChunks;he=this.end?this.numChunks:Math.floor(he/this.chunkSize);for(let X=J;Xthis.numChunks)&&he!==this.lastSuccessfulEnsureByteChunk){if(!this._loadedChunks.has(he))throw new U.MissingDataException(ie,ie+1);this.lastSuccessfulEnsureByteChunk=he}}ensureRange(ie,he){if(ie>=he||he<=this.progressiveDataLength)return;const J=Math.floor(ie/this.chunkSize);if(J>this.numChunks)return;const W=Math.min(Math.floor((he-1)/this.chunkSize)+1,this.numChunks);for(let X=J;X=this.end?-1:(ie>=this.progressiveDataLength&&this.ensureByte(ie),this.bytes[this.pos++])}getBytes(ie){const he=this.bytes,J=this.pos,W=this.end;if(!ie)return W>this.progressiveDataLength&&this.ensureRange(J,W),he.subarray(J,W);let X=J+ie;return X>W&&(X=W),X>this.progressiveDataLength&&this.ensureRange(J,X),this.pos=X,he.subarray(J,X)}getByteRange(ie,he){return ie<0&&(ie=0),he>this.end&&(he=this.end),he>this.progressiveDataLength&&this.ensureRange(ie,he),this.bytes.subarray(ie,he)}makeSubStream(ie,he){let J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;he?ie+he>this.progressiveDataLength&&this.ensureRange(ie,ie+he):ie>=this.progressiveDataLength&&this.ensureByte(ie);function W(){}W.prototype=Object.create(this),W.prototype.getMissingChunks=function(){const L=this.chunkSize,Q=Math.floor(this.start/L),ce=Math.floor((this.end-1)/L)+1,de=[];for(let se=Q;se{const ce=de=>{try{if(!de.done){const oe=de.value;W.push(oe),X+=(0,R.arrayByteLength)(oe),J.isStreamingSupported&&this.onProgress({loaded:X}),J.read().then(ce,Q);return}const se=(0,R.arraysToBytes)(W);W=null,L(se)}catch(se){Q(se)}};J.read().then(ce,Q)}).then(L=>{this.aborted||this.onReceiveData({chunk:L,begin:ie})})}requestAllChunks(){const ie=this.stream.getMissingChunks();return this._requestChunks(ie),this._loadedStreamCapability.promise}_requestChunks(ie){const he=this.currRequestId++,J=new Set;this._chunksNeededByRequest.set(he,J);for(const L of ie)this.stream.hasChunk(L)||J.add(L);if(J.size===0)return Promise.resolve();const W=(0,R.createPromiseCapability)();this._promisesByRequest.set(he,W);const X=[];for(const L of J){let Q=this._requestsByChunk.get(L);Q||(Q=[],this._requestsByChunk.set(L,Q),X.push(L)),Q.push(he)}if(X.length>0){const L=this.groupChunks(X);for(const Q of L){const ce=Q.beginChunk*this.chunkSize,de=Math.min(Q.endChunk*this.chunkSize,this.length);this.sendRequest(ce,de).catch(W.reject)}}return W.promise.catch(L=>{if(!this.aborted)throw L})}getStream(){return this.stream}requestRange(ie,he){he=Math.min(he,this.length);const J=this.getBeginChunk(ie),W=this.getEndChunk(he),X=[];for(let L=J;L0&&arguments[0]!==void 0?arguments[0]:[];const he=[];for(const J of ie){const W=this.getBeginChunk(J.begin),X=this.getEndChunk(J.end);for(let L=W;L=0&&W+1!==Q&&(he.push({beginChunk:J,endChunk:W+1}),J=Q),X+1===ie.length&&he.push({beginChunk:J,endChunk:Q+1}),W=Q}return he}onProgress(ie){this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize+ie.loaded,total:this.length})}onReceiveData(ie){const he=ie.chunk,J=ie.begin===void 0,W=J?this.progressiveDataLength:ie.begin,X=W+he.byteLength,L=Math.floor(W/this.chunkSize),Q=X0)&&ce.push(oe)}}}if(!this.disableAutoFetch&&this._requestsByChunk.size===0){let de;if(this.stream.numChunksLoaded===1){const se=this.stream.numChunks-1;this.stream.hasChunk(se)||(de=se)}else de=this.stream.nextEmptyChunk(Q);Number.isInteger(de)&&this._requestChunks([de])}for(const de of ce){const se=this._promisesByRequest.get(de);this._promisesByRequest.delete(de),se.resolve()}this.msgHandler.send("DocProgress",{loaded:this.stream.numChunksLoaded*this.chunkSize,total:this.length})}onError(ie){this._loadedStreamCapability.reject(ie)}getBeginChunk(ie){return Math.floor(ie/this.chunkSize)}getEndChunk(ie){return Math.floor((ie-1)/this.chunkSize)+1}abort(ie){this.aborted=!0,this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests(ie);for(const he of this._promisesByRequest.values())he.reject(ie)}}D.ChunkedStreamManager=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.StringStream=D.Stream=D.NullStream=void 0;var R=B(132),U=B(2);class K extends R.BaseStream{constructor(ie,he,J,W){super(),this.bytes=ie instanceof Uint8Array?ie:new Uint8Array(ie),this.start=he||0,this.pos=this.start,this.end=he+J||this.bytes.length,this.dict=W}get length(){return this.end-this.start}get isEmpty(){return this.length===0}getByte(){return this.pos>=this.end?-1:this.bytes[this.pos++]}getBytes(ie){const he=this.bytes,J=this.pos,W=this.end;if(!ie)return he.subarray(J,W);let X=J+ie;return X>W&&(X=W),this.pos=X,he.subarray(J,X)}getByteRange(ie,he){return ie<0&&(ie=0),he>this.end&&(he=this.end),this.bytes.subarray(ie,he)}reset(){this.pos=this.start}moveStart(){this.start=this.pos}makeSubStream(ie,he){let J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return new K(this.bytes.buffer,ie,he,J)}}D.Stream=K;class z extends K{constructor(ie){super((0,U.stringToBytes)(ie))}}D.StringStream=z;class e extends K{constructor(){super(new Uint8Array(0))}}D.NullStream=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Page=D.PDFDocument=void 0;var R=B(137),U=B(2),K=B(131),z=B(130),e=B(176),ae=B(132),ie=B(192),he=B(194),J=B(196),W=B(225),X=B(142),L=B(135),Q=B(200),ce=B(187),de=B(140),se=B(144),oe=B(199),me=B(190),Ee=B(201),ke=B(226);const xe=1,fe=[0,0,612,792];class ve{constructor(Te){let{pdfManager:Fe,xref:Pe,pageIndex:we,pageDict:Ie,ref:Be,globalIdFactory:Ke,fontCache:Ve,builtInCMapCache:je,standardFontDataCache:Le,globalImageCache:et,nonBlendModesSet:Qe,xfaFactory:Ue}=Te;this.pdfManager=Fe,this.pageIndex=we,this.pageDict=Ie,this.xref=Pe,this.ref=Be,this.fontCache=Ve,this.builtInCMapCache=je,this.standardFontDataCache=Le,this.globalImageCache=et,this.nonBlendModesSet=Qe,this.evaluatorOptions=Fe.evaluatorOptions,this.resourcesPromise=null,this.xfaFactory=Ue;const $e={obj:0};this._localIdFactory=class extends Ke{static createObjId(){return`p${we}_${++$e.obj}`}static getPageObjId(){return`page${Be.toString()}`}}}_getInheritableProperty(Te){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const Pe=(0,K.getInheritableProperty)({dict:this.pageDict,key:Te,getArray:Fe,stopWhenFound:!1});return Array.isArray(Pe)?Pe.length===1||!(Pe[0]instanceof z.Dict)?Pe[0]:z.Dict.merge({xref:this.xref,dictArray:Pe}):Pe}get content(){return this.pageDict.getArray("Contents")}get resources(){const Te=this._getInheritableProperty("Resources");return(0,U.shadow)(this,"resources",Te instanceof z.Dict?Te:z.Dict.empty)}_getBoundingBox(Te){if(this.xfaData)return this.xfaData.bbox;const Fe=this._getInheritableProperty(Te,!0);if(Array.isArray(Fe)&&Fe.length===4){if(Fe[2]-Fe[0]!==0&&Fe[3]-Fe[1]!==0)return Fe;(0,U.warn)(`Empty /${Te} entry.`)}return null}get mediaBox(){return(0,U.shadow)(this,"mediaBox",this._getBoundingBox("MediaBox")||fe)}get cropBox(){return(0,U.shadow)(this,"cropBox",this._getBoundingBox("CropBox")||this.mediaBox)}get userUnit(){let Te=this.pageDict.get("UserUnit");return(typeof Te!="number"||Te<=0)&&(Te=xe),(0,U.shadow)(this,"userUnit",Te)}get view(){const{cropBox:Te,mediaBox:Fe}=this;let Pe;if(Te===Fe||(0,U.isArrayEqual)(Te,Fe))Pe=Fe;else{const we=U.Util.intersect(Te,Fe);we&&we[2]-we[0]!==0&&we[3]-we[1]!==0?Pe=we:(0,U.warn)("Empty /CropBox and /MediaBox intersection.")}return(0,U.shadow)(this,"view",Pe||Fe)}get rotate(){let Te=this._getInheritableProperty("Rotate")||0;return Te%90!==0?Te=0:Te>=360?Te%=360:Te<0&&(Te=(Te%360+360)%360),(0,U.shadow)(this,"rotate",Te)}_onSubStreamError(Te,Fe,Pe){if(this.evaluatorOptions.ignoreErrors){Te.send("UnsupportedFeature",{featureId:U.UNSUPPORTED_FEATURES.errorContentSubStream}),(0,U.warn)(`getContentStream - ignoring sub-stream (${Pe}): "${Fe}".`);return}throw Fe}getContentStream(Te){return this.pdfManager.ensure(this,"content").then(Fe=>Fe instanceof ae.BaseStream?Fe:Array.isArray(Fe)?new se.StreamsSequenceStream(Fe,this._onSubStreamError.bind(this,Te)):new L.NullStream)}get xfaData(){return(0,U.shadow)(this,"xfaData",this.xfaFactory?{bbox:this.xfaFactory.getBoundingBox(this.pageIndex)}:null)}async saveNewAnnotations(Te,Fe,Pe){if(this.xfaFactory)throw new Error("XFA: Cannot save new annotations.");const we=new de.PartialEvaluator({xref:this.xref,handler:Te,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}),Ie=this.pageDict,Be=this.annotations.slice(),Ke=await R.AnnotationFactory.saveNewAnnotations(we,Fe,Pe);for(const{ref:Qe}of Ke.annotations)Be.push(Qe);const Ve=Ie.get("Annots");Ie.set("Annots",Be);const je=[];let Le=null;this.xref.encrypt&&(Le=this.xref.encrypt.createCipherTransform(this.ref.num,this.ref.gen)),(0,me.writeObject)(this.ref,Ie,je,Le),Ve&&Ie.set("Annots",Ve);const et=Ke.dependencies;return et.push({ref:this.ref,data:je.join("")},...Ke.annotations),et}save(Te,Fe,Pe){const we=new de.PartialEvaluator({xref:this.xref,handler:Te,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions});return this._parsedAnnotations.then(function(Ie){const Be=[];for(const Ke of Ie)Ke.mustBePrinted(Pe)&&Be.push(Ke.save(we,Fe,Pe).catch(function(Ve){return(0,U.warn)(`save - ignoring annotation data during "${Fe.name}" task: "${Ve}".`),null}));return Promise.all(Be).then(function(Ke){return Ke.filter(Ve=>!!Ve)})})}loadResources(Te){return this.resourcesPromise||(this.resourcesPromise=this.pdfManager.ensure(this,"resources")),this.resourcesPromise.then(()=>new Q.ObjectLoader(this.resources,Te,this.xref).load())}getOperatorList(Te){let{handler:Fe,sink:Pe,task:we,intent:Ie,cacheKey:Be,annotationStorage:Ke=null}=Te;const Ve=this.getContentStream(Fe),je=this.loadResources(["ColorSpace","ExtGState","Font","Pattern","Properties","Shading","XObject"]),Le=new de.PartialEvaluator({xref:this.xref,handler:Fe,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}),et=this.xfaFactory?null:(0,K.getNewAnnotationsMap)(Ke);let Qe=Promise.resolve(null);if(et){const Ye=et.get(this.pageIndex);Ye&&(Qe=R.AnnotationFactory.printNewAnnotations(Le,we,Ye))}const $e=Promise.all([Ve,je]).then(Ye=>{let[tt]=Ye;const ot=new ce.OperatorList(Ie,Pe);return Fe.send("StartRenderPage",{transparency:Le.hasBlendModes(this.resources,this.nonBlendModesSet),pageIndex:this.pageIndex,cacheKey:Be}),Le.getOperatorList({stream:tt,task:we,resources:this.resources,operatorList:ot}).then(function(){return ot})});return Promise.all([$e,this._parsedAnnotations,Qe]).then(function(Ye){let[tt,ot,st]=Ye;if(st&&(ot=ot.concat(st)),ot.length===0||Ie&U.RenderingIntentFlag.ANNOTATIONS_DISABLE)return tt.flush(!0),{length:tt.totalLength};const dt=!!(Ie&U.RenderingIntentFlag.ANNOTATIONS_FORMS),ct=!!(Ie&U.RenderingIntentFlag.ANY),mt=!!(Ie&U.RenderingIntentFlag.DISPLAY),ut=!!(Ie&U.RenderingIntentFlag.PRINT),rt=[];for(const He of ot)(ct||mt&&He.mustBeViewed(Ke)||ut&&He.mustBePrinted(Ke))&&rt.push(He.getOperatorList(Le,we,Ie,dt,Ke).catch(function(Je){return(0,U.warn)(`getOperatorList - ignoring annotation data during "${we.name}" task: "${Je}".`),null}));return Promise.all(rt).then(function(He){let Je=!1,St=!1;for(const{opList:bt,separateForm:pt,separateCanvas:wt}of He)tt.addOpList(bt),pt&&(Je=pt),wt&&(St=wt);return tt.flush(!0,{form:Je,canvas:St}),{length:tt.totalLength}})})}extractTextContent(Te){let{handler:Fe,task:Pe,includeMarkedContent:we,sink:Ie,combineTextItems:Be}=Te;const Ke=this.getContentStream(Fe),Ve=this.loadResources(["ExtGState","Font","Properties","XObject"]);return Promise.all([Ke,Ve]).then(Le=>{let[et]=Le;return new de.PartialEvaluator({xref:this.xref,handler:Fe,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions}).getTextContent({stream:et,task:Pe,resources:this.resources,includeMarkedContent:we,combineTextItems:Be,sink:Ie,viewBox:this.view})})}async getStructTree(){const Te=await this.pdfManager.ensureCatalog("structTreeRoot");return Te?(await this.pdfManager.ensure(this,"_parseStructTree",[Te])).serializable:null}_parseStructTree(Te){const Fe=new oe.StructTreePage(Te,this.pageDict);return Fe.parse(),Fe}async getAnnotationsData(Te,Fe,Pe){const we=await this._parsedAnnotations;if(we.length===0)return[];const Ie=[],Be=[];let Ke;const Ve=!!(Pe&U.RenderingIntentFlag.ANY),je=!!(Pe&U.RenderingIntentFlag.DISPLAY),Le=!!(Pe&U.RenderingIntentFlag.PRINT);for(const et of we){const Qe=Ve||je&&et.viewable;(Qe||Le&&et.printable)&&Be.push(et.data),et.hasTextContent&&Qe&&(Ke||(Ke=new de.PartialEvaluator({xref:this.xref,handler:Te,pageIndex:this.pageIndex,idFactory:this._localIdFactory,fontCache:this.fontCache,builtInCMapCache:this.builtInCMapCache,standardFontDataCache:this.standardFontDataCache,globalImageCache:this.globalImageCache,options:this.evaluatorOptions})),Ie.push(et.extractTextContent(Ke,Fe,this.view).catch(function(Ue){(0,U.warn)(`getAnnotationsData - ignoring textContent during "${Fe.name}" task: "${Ue}".`)})))}return await Promise.all(Ie),Be}get annotations(){const Te=this._getInheritableProperty("Annots");return(0,U.shadow)(this,"annotations",Array.isArray(Te)?Te:[])}get _parsedAnnotations(){const Te=this.pdfManager.ensure(this,"annotations").then(()=>{const Fe=[];for(const Pe of this.annotations)Fe.push(R.AnnotationFactory.create(this.xref,Pe,this.pdfManager,this._localIdFactory,!1).catch(function(we){return(0,U.warn)(`_parsedAnnotations: "${we}".`),null}));return Promise.all(Fe).then(function(Pe){if(Pe.length===0)return Pe;const we=[];let Ie;for(const Be of Pe)if(Be){if(Be instanceof R.PopupAnnotation){Ie||(Ie=[]),Ie.push(Be);continue}we.push(Be)}return Ie&&we.push(...Ie),we})});return(0,U.shadow)(this,"_parsedAnnotations",Te)}get jsActions(){const Te=(0,K.collectActions)(this.xref,this.pageDict,U.PageActionEventType);return(0,U.shadow)(this,"jsActions",Te)}}D.Page=ve;const ye=new Uint8Array([37,80,68,70,45]),Ce=new Uint8Array([115,116,97,114,116,120,114,101,102]),pe=new Uint8Array([101,110,100,111,98,106]),_e=1024,Ge="\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",Ae=/^[1-9]\.\d$/;function Ne(ze,Te){let Fe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1024,Pe=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const we=Te.length,Ie=ze.peekBytes(Fe),Be=Ie.length-we;if(Be<=0)return!1;if(Pe){const Ke=we-1;let Ve=Ie.length-1;for(;Ve>=Ke;){let je=0;for(;je=we)return ze.pos+=Ve-Ke,!0;Ve--}}else{let Ke=0;for(;Ke<=Be;){let Ve=0;for(;Ve=we)return ze.pos+=Ke,!0;Ke++}}return!1}class Ze{constructor(Te,Fe){if(Fe.length<=0)throw new U.InvalidPDFException("The PDF file is empty, i.e. its size is zero bytes.");this.pdfManager=Te,this.stream=Fe,this.xref=new ke.XRef(Fe,Te),this._pagePromises=new Map,this._version=null;const Pe={font:0};this._globalIdFactory=class{static getDocId(){return`g_${Te.docId}`}static createFontId(){return`f${++Pe.font}`}static createObjId(){(0,U.unreachable)("Abstract method `createObjId` called.")}static getPageObjId(){(0,U.unreachable)("Abstract method `getPageObjId` called.")}}}parse(Te){this.xref.parse(Te),this.catalog=new he.Catalog(this.pdfManager,this.xref),this.catalog.version&&(this._version=this.catalog.version)}get linearization(){let Te=null;try{Te=X.Linearization.create(this.stream)}catch(Fe){if(Fe instanceof K.MissingDataException)throw Fe;(0,U.info)(Fe)}return(0,U.shadow)(this,"linearization",Te)}get startXRef(){const Te=this.stream;let Fe=0;if(this.linearization)Te.reset(),Ne(Te,pe)&&(Fe=Te.pos+6-Te.start);else{const we=Ce.length;let Ie=!1,Be=Te.end;for(;!Ie&&Be>0;)Be-=1024-we,Be<0&&(Be=0),Te.pos=Be,Ie=Ne(Te,Ce,1024,!0);if(Ie){Te.skip(9);let Ke;do Ke=Te.getByte();while((0,K.isWhiteSpace)(Ke));let Ve="";for(;Ke>=32&&Ke<=57;)Ve+=String.fromCharCode(Ke),Ke=Te.getByte();Fe=parseInt(Ve,10),isNaN(Fe)&&(Fe=0)}}return(0,U.shadow)(this,"startXRef",Fe)}checkHeader(){const Te=this.stream;if(Te.reset(),!Ne(Te,ye))return;Te.moveStart();const Fe=12;let Pe="",we;for(;(we=Te.getByte())>32&&!(Pe.length>=Fe);)Pe+=String.fromCharCode(we);this._version||(this._version=Pe.substring(5))}parseStartXRef(){this.xref.setStartXRef(this.startXRef)}get numPages(){let Te=0;return this.catalog.hasActualNumPages?Te=this.catalog.numPages:this.xfaFactory?Te=this.xfaFactory.getNumPages():this.linearization?Te=this.linearization.numPages:Te=this.catalog.numPages,(0,U.shadow)(this,"numPages",Te)}_hasOnlyDocumentSignatures(Te){let Fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;const Pe=10;return Array.isArray(Te)?Te.every(we=>{if(we=this.xref.fetchIfRef(we),!(we instanceof z.Dict))return!1;if(we.has("Kids"))return++Fe>Pe?((0,U.warn)("_hasOnlyDocumentSignatures: maximum recursion depth reached"),!1):this._hasOnlyDocumentSignatures(we.get("Kids"),Fe);const Ie=(0,z.isName)(we.get("FT"),"Sig"),Be=we.get("Rect"),Ke=Array.isArray(Be)&&Be.every(Ve=>Ve===0);return Ie&&Ke}):!1}get _xfaStreams(){const Te=this.catalog.acroForm;if(!Te)return null;const Fe=Te.get("XFA"),Pe={"xdp:xdp":"",template:"",datasets:"",config:"",connectionSet:"",localeSet:"",stylesheet:"","/xdp:xdp":""};if(Fe instanceof ae.BaseStream&&!Fe.isEmpty)return Pe["xdp:xdp"]=Fe,Pe;if(!Array.isArray(Fe)||Fe.length===0)return null;for(let we=0,Ie=Fe.length;we{Qe.set(tt,ot)});const Ue=[];for(const[tt,ot]of Qe){const st=ot.get("FontDescriptor");if(!(st instanceof z.Dict))continue;let dt=st.get("FontFamily");dt=dt.replace(/[ ]+(\d)/g,"$1");const ct=st.get("FontWeight"),mt=-st.get("ItalicAngle"),ut={fontFamily:dt,fontWeight:ct,italicAngle:mt};(0,K.validateCSSFont)(ut)&&Ue.push(Ve.handleSetFont(we,[z.Name.get(tt),1],null,je,Fe,et,null,ut).catch(function(rt){return(0,U.warn)(`loadXfaFonts: "${rt}".`),null}))}await Promise.all(Ue);const $e=this.xfaFactory.setFonts(Le);if(!$e)return;Ke.ignoreErrors=!0,Ue.length=0,Le.length=0;const Ye=new Set;for(const tt of $e)(0,e.getXfaFontName)(`${tt}-Regular`)||Ye.add(tt);Ye.size&&$e.push("PdfJS-Fallback");for(const tt of $e)if(!Ye.has(tt))for(const ot of[{name:"Regular",fontWeight:400,italicAngle:0},{name:"Bold",fontWeight:700,italicAngle:0},{name:"Italic",fontWeight:400,italicAngle:12},{name:"BoldItalic",fontWeight:700,italicAngle:12}]){const st=`${tt}-${ot.name}`,dt=(0,e.getXfaFontDict)(st);Ue.push(Ve.handleSetFont(we,[z.Name.get(st),1],null,je,Fe,et,dt,{fontFamily:tt,fontWeight:ot.fontWeight,italicAngle:ot.italicAngle}).catch(function(ct){return(0,U.warn)(`loadXfaFonts: "${ct}".`),null}))}await Promise.all(Ue),this.xfaFactory.appendFonts(Le,Ye)}async serializeXfaData(Te){return this.xfaFactory?this.xfaFactory.serializeData(Te):null}get formInfo(){const Te={hasFields:!1,hasAcroForm:!1,hasXfa:!1,hasSignatures:!1},Fe=this.catalog.acroForm;if(!Fe)return(0,U.shadow)(this,"formInfo",Te);try{const Pe=Fe.get("Fields"),we=Array.isArray(Pe)&&Pe.length>0;Te.hasFields=we;const Ie=Fe.get("XFA");Te.hasXfa=Array.isArray(Ie)&&Ie.length>0||Ie instanceof ae.BaseStream&&!Ie.isEmpty;const Ke=!!(Fe.get("SigFlags")&1),Ve=Ke&&this._hasOnlyDocumentSignatures(Pe);Te.hasAcroForm=we&&!Ve,Te.hasSignatures=Ke}catch(Pe){if(Pe instanceof K.MissingDataException)throw Pe;(0,U.warn)(`Cannot fetch form information: "${Pe}".`)}return(0,U.shadow)(this,"formInfo",Te)}get documentInfo(){let Te=this._version;(typeof Te!="string"||!Ae.test(Te))&&((0,U.warn)(`Invalid PDF header version number: ${Te}`),Te=null);const Fe={PDFFormatVersion:Te,Language:this.catalog.lang,EncryptFilterName:this.xref.encrypt?this.xref.encrypt.filterName:null,IsLinearized:!!this.linearization,IsAcroFormPresent:this.formInfo.hasAcroForm,IsXFAPresent:this.formInfo.hasXfa,IsCollectionPresent:!!this.catalog.collection,IsSignaturesPresent:this.formInfo.hasSignatures};let Pe;try{Pe=this.xref.trailer.get("Info")}catch(we){if(we instanceof K.MissingDataException)throw we;(0,U.info)("The document information dictionary is invalid.")}if(!(Pe instanceof z.Dict))return(0,U.shadow)(this,"documentInfo",Fe);for(const we of Pe.getKeys()){const Ie=Pe.get(we);switch(we){case"Title":case"Author":case"Subject":case"Keywords":case"Creator":case"Producer":case"CreationDate":case"ModDate":if(typeof Ie=="string"){Fe[we]=(0,U.stringToPDFString)(Ie);continue}break;case"Trapped":if(Ie instanceof z.Name){Fe[we]=Ie;continue}break;default:let Be;switch(typeof Ie){case"string":Be=(0,U.stringToPDFString)(Ie);break;case"number":case"boolean":Be=Ie;break;default:Ie instanceof z.Name&&(Be=Ie);break}if(Be===void 0){(0,U.warn)(`Bad value, for custom key "${we}", in Info: ${Ie}.`);continue}Fe.Custom||(Fe.Custom=Object.create(null)),Fe.Custom[we]=Be;continue}(0,U.warn)(`Bad value, for key "${we}", in Info: ${Ie}.`)}return(0,U.shadow)(this,"documentInfo",Fe)}get fingerprints(){function Te(Be){return typeof Be=="string"&&Be.length>0&&Be!==Ge}function Fe(Be){const Ke=[];for(let Ve=0,je=Be.length;Ve{let[Ve,je]=Ke;return new ve({pdfManager:this.pdfManager,xref:this.xref,pageIndex:Te,pageDict:Ve,ref:je,globalIdFactory:this._globalIdFactory,fontCache:Pe.fontCache,builtInCMapCache:Pe.builtInCMapCache,standardFontDataCache:Pe.standardFontDataCache,globalImageCache:Pe.globalImageCache,nonBlendModesSet:Pe.nonBlendModesSet,xfaFactory:Ie})}),this._pagePromises.set(Te,Be),Be}async checkFirstPage(){if(!(arguments.length>0&&arguments[0]!==void 0&&arguments[0]))try{await this.getPage(0)}catch(Fe){if(Fe instanceof K.XRefEntryException)throw this._pagePromises.delete(0),await this.cleanup(),new K.XRefParseException}}async checkLastPage(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const{catalog:Fe,pdfManager:Pe}=this;Fe.setActualNumPages();let we;try{if(await Promise.all([Pe.ensureDoc("xfaFactory"),Pe.ensureDoc("linearization"),Pe.ensureCatalog("numPages")]),this.xfaFactory)return;if(this.linearization?we=this.linearization.numPages:we=Fe.numPages,Number.isInteger(we)){if(we<=1)return}else throw new U.FormatError("Page count is not an integer.");await this.getPage(we-1)}catch(Ie){if(this._pagePromises.delete(we-1),await this.cleanup(),Ie instanceof K.XRefEntryException&&!Te)throw new K.XRefParseException;(0,U.warn)(`checkLastPage - invalid /Pages tree /Count: ${we}.`);let Be;try{Be=await Fe.getAllPageDicts(Te)}catch(Ke){if(Ke instanceof K.XRefEntryException&&!Te)throw new K.XRefParseException;Fe.setActualNumPages(1);return}for(const[Ke,[Ve,je]]of Be){let Le;Ve instanceof Error?(Le=Promise.reject(Ve),Le.catch(()=>{})):Le=Promise.resolve(new ve({pdfManager:Pe,xref:this.xref,pageIndex:Ke,pageDict:Ve,ref:je,globalIdFactory:this._globalIdFactory,fontCache:Fe.fontCache,builtInCMapCache:Fe.builtInCMapCache,standardFontDataCache:Fe.standardFontDataCache,globalImageCache:Fe.globalImageCache,nonBlendModesSet:Fe.nonBlendModesSet,xfaFactory:null})),this._pagePromises.set(Ke,Le)}Fe.setActualNumPages(Be.size)}}fontFallback(Te,Fe){return this.catalog.fontFallback(Te,Fe)}async cleanup(){let Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;return this.catalog?this.catalog.cleanup(Te):(0,J.clearGlobalCaches)()}_collectFieldObjects(Te,Fe,Pe){const we=this.xref.fetchIfRef(Fe);if(we.has("T")){const Ie=(0,U.stringToPDFString)(we.get("T"));Te===""?Te=Ie:Te=`${Te}.${Ie}`}if(Pe.has(Te)||Pe.set(Te,[]),Pe.get(Te).push(R.AnnotationFactory.create(this.xref,Fe,this.pdfManager,this._localIdFactory,!0).then(Ie=>Ie&&Ie.getFieldObject()).catch(function(Ie){return(0,U.warn)(`_collectFieldObjects: "${Ie}".`),null})),we.has("Kids")){const Ie=we.get("Kids");for(const Be of Ie)this._collectFieldObjects(Te,Be,Pe)}}get fieldObjects(){if(!this.formInfo.hasFields)return(0,U.shadow)(this,"fieldObjects",Promise.resolve(null));const Te=Object.create(null),Fe=new Map;for(const we of this.catalog.acroForm.get("Fields"))this._collectFieldObjects("",we,Fe);const Pe=[];for(const[we,Ie]of Fe)Pe.push(Promise.all(Ie).then(Be=>{Be=Be.filter(Ke=>!!Ke),Be.length>0&&(Te[we]=Be)}));return(0,U.shadow)(this,"fieldObjects",Promise.all(Pe).then(()=>Te))}get hasJSActions(){const Te=this.pdfManager.ensureDoc("_parseHasJSActions");return(0,U.shadow)(this,"hasJSActions",Te)}async _parseHasJSActions(){const[Te,Fe]=await Promise.all([this.pdfManager.ensureCatalog("jsActions"),this.pdfManager.ensureDoc("fieldObjects")]);return Te?!0:Fe?Object.values(Fe).some(Pe=>Pe.some(we=>we.actions!==null)):!1}get calculationOrderIds(){const Te=this.catalog.acroForm;if(!Te||!Te.has("CO"))return(0,U.shadow)(this,"calculationOrderIds",null);const Fe=Te.get("CO");if(!Array.isArray(Fe)||Fe.length===0)return(0,U.shadow)(this,"calculationOrderIds",null);const Pe=[];for(const we of Fe)we instanceof z.Ref&&Pe.push(we.toString());return Pe.length===0?(0,U.shadow)(this,"calculationOrderIds",null):(0,U.shadow)(this,"calculationOrderIds",Pe)}}D.PDFDocument=Ze},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PopupAnnotation=D.MarkupAnnotation=D.AnnotationFactory=D.AnnotationBorderStyle=D.Annotation=void 0,D.getQuadPoints=oe;var R=B(2),U=B(131),K=B(138),z=B(130),e=B(190),ae=B(132),ie=B(185),he=B(194),J=B(139),W=B(197),X=B(200),L=B(187),Q=B(135),ce=B(201);class de{static create(Ue,$e,Ye,tt,ot){return Promise.all([Ye.ensureCatalog("acroForm"),Ye.ensureCatalog("baseUrl"),Ye.ensureDoc("xfaDatasets"),ot?this._getPageIndex(Ue,$e,Ye):-1]).then(st=>{let[dt,ct,mt,ut]=st;return Ye.ensure(this,"_create",[Ue,$e,Ye,tt,dt,mt,ot,ut])})}static _create(Ue,$e,Ye,tt,ot,st,dt){let ct=arguments.length>7&&arguments[7]!==void 0?arguments[7]:-1;const mt=Ue.fetchIfRef($e);if(!(mt instanceof z.Dict))return;const ut=$e instanceof z.Ref?$e.toString():`annot_${tt.createObjId()}`;let rt=mt.get("Subtype");rt=rt instanceof z.Name?rt.name:null;const He={xref:Ue,ref:$e,dict:mt,subtype:rt,id:ut,pdfManager:Ye,acroForm:ot instanceof z.Dict?ot:z.Dict.empty,xfaDatasets:st,collectFields:dt,pageIndex:ct};switch(rt){case"Link":return new Ge(He);case"Text":return new _e(He);case"Widget":let Je=(0,U.getInheritableProperty)({dict:mt,key:"FT"});switch(Je=Je instanceof z.Name?Je.name:null,Je){case"Tx":return new ve(He);case"Btn":return new ye(He);case"Ch":return new Ce(He);case"Sig":return new pe(He)}return(0,R.warn)(`Unimplemented widget field type "${Je}", falling back to base field type.`),new fe(He);case"Popup":return new Ae(He);case"FreeText":return new Ne(He);case"Line":return new Ze(He);case"Square":return new ze(He);case"Circle":return new Te(He);case"PolyLine":return new Fe(He);case"Polygon":return new Pe(He);case"Caret":return new we(He);case"Ink":return new Ie(He);case"Highlight":return new Be(He);case"Underline":return new Ke(He);case"Squiggly":return new Ve(He);case"StrikeOut":return new je(He);case"Stamp":return new Le(He);case"FileAttachment":return new et(He);default:return dt||(rt?(0,R.warn)(`Unimplemented annotation type "${rt}", falling back to base annotation.`):(0,R.warn)("Annotation is missing the required /Subtype.")),new Ee(He)}}static async _getPageIndex(Ue,$e,Ye){try{const tt=await Ue.fetchIfRefAsync($e);if(!(tt instanceof z.Dict))return-1;const ot=tt.getRaw("P");return ot instanceof z.Ref?await Ye.ensureCatalog("getPageIndex",[ot]):-1}catch(tt){return(0,R.warn)(`_getPageIndex: "${tt}".`),-1}}static async saveNewAnnotations(Ue,$e,Ye){const tt=Ue.xref;let ot;const st=[],dt=[];for(const ct of Ye)switch(ct.annotationType){case R.AnnotationEditorType.FREETEXT:if(!ot){const mt=new z.Dict(tt);mt.set("BaseFont",z.Name.get("Helvetica")),mt.set("Type",z.Name.get("Font")),mt.set("Subtype",z.Name.get("Type1")),mt.set("Encoding",z.Name.get("WinAnsiEncoding"));const ut=[];ot=tt.getNewRef(),(0,e.writeObject)(ot,mt,ut,null),st.push({ref:ot,data:ut.join("")})}dt.push(Ne.createNewAnnotation(tt,ct,st,{evaluator:Ue,task:$e,baseFontRef:ot}));break;case R.AnnotationEditorType.INK:dt.push(Ie.createNewAnnotation(tt,ct,st))}return{annotations:await Promise.all(dt),dependencies:st}}static async printNewAnnotations(Ue,$e,Ye){if(!Ye)return null;const tt=Ue.xref,ot=[];for(const st of Ye)switch(st.annotationType){case R.AnnotationEditorType.FREETEXT:ot.push(Ne.createNewPrintAnnotation(tt,st,{evaluator:Ue,task:$e}));break;case R.AnnotationEditorType.INK:ot.push(Ie.createNewPrintAnnotation(tt,st));break}return Promise.all(ot)}}D.AnnotationFactory=de;function se(Qe){let Ue=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Uint8ClampedArray(3);if(!Array.isArray(Qe))return Ue;const $e=Ue||new Uint8ClampedArray(3);switch(Qe.length){case 0:return null;case 1:return J.ColorSpace.singletons.gray.getRgbItem(Qe,0,$e,0),$e;case 3:return J.ColorSpace.singletons.rgb.getRgbItem(Qe,0,$e,0),$e;case 4:return J.ColorSpace.singletons.cmyk.getRgbItem(Qe,0,$e,0),$e;default:return Ue}}function oe(Qe,Ue){if(!Qe.has("QuadPoints"))return null;const $e=Qe.getArray("QuadPoints");if(!Array.isArray($e)||$e.length===0||$e.length%8>0)return null;const Ye=[];for(let tt=0,ot=$e.length/8;ttUe[2]||mtUe[3]))return null;Ye[tt].push({x:ct,y:mt})}}return Ye.map(tt=>{const[ot,st,dt,ct]=tt.reduce((mt,ut)=>{let[rt,He,Je,St]=mt;return[Math.min(rt,ut.x),Math.max(He,ut.x),Math.min(Je,ut.y),Math.max(St,ut.y)]},[Number.MAX_VALUE,Number.MIN_VALUE,Number.MAX_VALUE,Number.MIN_VALUE]);return[{x:ot,y:ct},{x:st,y:ct},{x:ot,y:dt},{x:st,y:dt}]})}function me(Qe,Ue,$e){const[Ye,tt,ot,st]=R.Util.getAxialAlignedBoundingBox(Ue,$e);if(Ye===ot||tt===st)return[1,0,0,1,Qe[0],Qe[1]];const dt=(Qe[2]-Qe[0])/(ot-Ye),ct=(Qe[3]-Qe[1])/(st-tt);return[dt,0,0,ct,Qe[0]-Ye*dt,Qe[1]-tt*ct]}class Ee{constructor(Ue){const $e=Ue.dict;this.setTitle($e.get("T")),this.setContents($e.get("Contents")),this.setModificationDate($e.get("M")),this.setFlags($e.get("F")),this.setRectangle($e.getArray("Rect")),this.setColor($e.getArray("C")),this.setBorderStyle($e),this.setAppearance($e),this.setOptionalContent($e);const Ye=$e.get("MK");if(this.setBorderAndBackgroundColors(Ye),this.setRotation(Ye),this._streams=[],this.appearance&&this._streams.push(this.appearance),this.data={annotationFlags:this.flags,borderStyle:this.borderStyle,color:this.color,backgroundColor:this.backgroundColor,borderColor:this.borderColor,rotation:this.rotation,contentsObj:this._contents,hasAppearance:!!this.appearance,id:Ue.id,modificationDate:this.modificationDate,rect:this.rectangle,subtype:Ue.subtype,hasOwnCanvas:!1},Ue.collectFields){const tt=$e.get("Kids");if(Array.isArray(tt)){const ot=[];for(const st of tt)st instanceof z.Ref&&ot.push(st.toString());ot.length!==0&&(this.data.kidIds=ot)}this.data.actions=(0,U.collectActions)(Ue.xref,$e,R.AnnotationActionEventType),this.data.fieldName=this._constructFieldName($e),this.data.pageIndex=Ue.pageIndex}this._fallbackFontDict=null}_hasFlag(Ue,$e){return!!(Ue&$e)}_isViewable(Ue){return!this._hasFlag(Ue,R.AnnotationFlag.INVISIBLE)&&!this._hasFlag(Ue,R.AnnotationFlag.NOVIEW)}_isPrintable(Ue){return this._hasFlag(Ue,R.AnnotationFlag.PRINT)&&!this._hasFlag(Ue,R.AnnotationFlag.INVISIBLE)}mustBeViewed(Ue){const $e=Ue&&Ue.get(this.data.id);return $e&&$e.hidden!==void 0?!$e.hidden:this.viewable&&!this._hasFlag(this.flags,R.AnnotationFlag.HIDDEN)}mustBePrinted(Ue){const $e=Ue&&Ue.get(this.data.id);return $e&&$e.print!==void 0?$e.print:this.printable}get viewable(){return this.data.quadPoints===null?!1:this.flags===0?!0:this._isViewable(this.flags)}get printable(){return this.data.quadPoints===null||this.flags===0?!1:this._isPrintable(this.flags)}_parseStringHelper(Ue){const $e=typeof Ue=="string"?(0,R.stringToPDFString)(Ue):"",Ye=$e&&(0,ie.bidi)($e).dir==="rtl"?"rtl":"ltr";return{str:$e,dir:Ye}}setTitle(Ue){this._title=this._parseStringHelper(Ue)}setContents(Ue){this._contents=this._parseStringHelper(Ue)}setModificationDate(Ue){this.modificationDate=typeof Ue=="string"?Ue:null}setFlags(Ue){this.flags=Number.isInteger(Ue)&&Ue>0?Ue:0}hasFlag(Ue){return this._hasFlag(this.flags,Ue)}setRectangle(Ue){Array.isArray(Ue)&&Ue.length===4?this.rectangle=R.Util.normalizeRect(Ue):this.rectangle=[0,0,0,0]}setColor(Ue){this.color=se(Ue)}setLineEndings(Ue){if(this.lineEndings=["None","None"],Array.isArray(Ue)&&Ue.length===2)for(let $e=0;$e<2;$e++){const Ye=Ue[$e];if(Ye instanceof z.Name)switch(Ye.name){case"None":continue;case"Square":case"Circle":case"Diamond":case"OpenArrow":case"ClosedArrow":case"Butt":case"ROpenArrow":case"RClosedArrow":case"Slash":this.lineEndings[$e]=Ye.name;continue}(0,R.warn)(`Ignoring invalid lineEnding: ${Ye}`)}}setRotation(Ue){if(this.rotation=0,Ue instanceof z.Dict){let $e=Ue.get("R")||0;Number.isInteger($e)&&$e!==0&&($e%=360,$e<0&&($e+=360),$e%90===0&&(this.rotation=$e))}}setBorderAndBackgroundColors(Ue){Ue instanceof z.Dict?(this.borderColor=se(Ue.getArray("BC"),null),this.backgroundColor=se(Ue.getArray("BG"),null)):this.borderColor=this.backgroundColor=null}setBorderStyle(Ue){if(this.borderStyle=new ke,Ue instanceof z.Dict)if(Ue.has("BS")){const $e=Ue.get("BS"),Ye=$e.get("Type");(!Ye||(0,z.isName)(Ye,"Border"))&&(this.borderStyle.setWidth($e.get("W"),this.rectangle),this.borderStyle.setStyle($e.get("S")),this.borderStyle.setDashArray($e.getArray("D")))}else if(Ue.has("Border")){const $e=Ue.getArray("Border");Array.isArray($e)&&$e.length>=3&&(this.borderStyle.setHorizontalCornerRadius($e[0]),this.borderStyle.setVerticalCornerRadius($e[1]),this.borderStyle.setWidth($e[2],this.rectangle),$e.length===4&&this.borderStyle.setDashArray($e[3],!0))}else this.borderStyle.setWidth(0)}setAppearance(Ue){this.appearance=null;const $e=Ue.get("AP");if(!($e instanceof z.Dict))return;const Ye=$e.get("N");if(Ye instanceof ae.BaseStream){this.appearance=Ye;return}if(!(Ye instanceof z.Dict))return;const tt=Ue.get("AS");!(tt instanceof z.Name)||!Ye.has(tt.name)||(this.appearance=Ye.get(tt.name))}setOptionalContent(Ue){this.oc=null;const $e=Ue.get("OC");$e instanceof z.Name?(0,R.warn)("setOptionalContent: Support for /Name-entry is not implemented."):$e instanceof z.Dict&&(this.oc=$e)}loadResources(Ue,$e){return $e.dict.getAsync("Resources").then(Ye=>Ye?new X.ObjectLoader(Ye,Ue,Ye.xref).load().then(function(){return Ye}):void 0)}async getOperatorList(Ue,$e,Ye,tt,ot){const st=this.data;let dt=this.appearance;const ct=!!(this.data.hasOwnCanvas&&Ye&R.RenderingIntentFlag.DISPLAY);if(!dt){if(!ct)return{opList:new L.OperatorList,separateForm:!1,separateCanvas:!1};dt=new Q.StringStream(""),dt.dict=new z.Dict}const mt=dt.dict,ut=await this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"],dt),rt=mt.getArray("BBox")||[0,0,1,1],He=mt.getArray("Matrix")||[1,0,0,1,0,0],Je=me(st.rect,rt,He),St=new L.OperatorList;let bt;return this.oc&&(bt=await Ue.parseMarkedContentProps(this.oc,null)),bt!==void 0&&St.addOp(R.OPS.beginMarkedContentProps,["OC",bt]),St.addOp(R.OPS.beginAnnotation,[st.id,st.rect,Je,He,ct]),await Ue.getOperatorList({stream:dt,task:$e,resources:ut,operatorList:St,fallbackFontDict:this._fallbackFontDict}),St.addOp(R.OPS.endAnnotation,[]),bt!==void 0&&St.addOp(R.OPS.endMarkedContent,[]),this.reset(),{opList:St,separateForm:!1,separateCanvas:ct}}async save(Ue,$e,Ye){return null}get hasTextContent(){return!1}async extractTextContent(Ue,$e,Ye){if(!this.appearance)return;const tt=await this.loadResources(["ExtGState","Font","Properties","XObject"],this.appearance),ot=[],st=[],dt={desiredSize:Math.Infinity,ready:!0,enqueue(ct,mt){for(const ut of ct.items)st.push(ut.str),ut.hasEOL&&(ot.push(st.join("")),st.length=0)}};await Ue.getTextContent({stream:this.appearance,task:$e,resources:tt,includeMarkedContent:!0,combineTextItems:!0,sink:dt,viewBox:Ye}),this.reset(),st.length&&ot.push(st.join("")),ot.length>0&&(this.data.textContent=ot)}getFieldObject(){return this.data.kidIds?{id:this.data.id,actions:this.data.actions,name:this.data.fieldName,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,type:"",kidIds:this.data.kidIds,page:this.data.pageIndex,rotation:this.rotation}:null}reset(){for(const Ue of this._streams)Ue.reset()}_constructFieldName(Ue){if(!Ue.has("T")&&!Ue.has("Parent"))return(0,R.warn)("Unknown field name, falling back to empty field name."),"";if(!Ue.has("Parent"))return(0,R.stringToPDFString)(Ue.get("T"));const $e=[];Ue.has("T")&&$e.unshift((0,R.stringToPDFString)(Ue.get("T")));let Ye=Ue;const tt=new z.RefSet;for(Ue.objId&&tt.put(Ue.objId);Ye.has("Parent")&&(Ye=Ye.get("Parent"),!(!(Ye instanceof z.Dict)||Ye.objId&&tt.has(Ye.objId)));)Ye.objId&&tt.put(Ye.objId),Ye.has("T")&&$e.unshift((0,R.stringToPDFString)(Ye.get("T")));return $e.join(".")}}D.Annotation=Ee;class ke{constructor(){this.width=1,this.style=R.AnnotationBorderStyleType.SOLID,this.dashArray=[3],this.horizontalCornerRadius=0,this.verticalCornerRadius=0}setWidth(Ue){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0,0,0];if(Ue instanceof z.Name){this.width=0;return}if(typeof Ue=="number"){if(Ue>0){const Ye=($e[2]-$e[0])/2,tt=($e[3]-$e[1])/2;Ye>0&&tt>0&&(Ue>Ye||Ue>tt)&&((0,R.warn)(`AnnotationBorderStyle.setWidth - ignoring width: ${Ue}`),Ue=1)}this.width=Ue}}setStyle(Ue){if(Ue instanceof z.Name)switch(Ue.name){case"S":this.style=R.AnnotationBorderStyleType.SOLID;break;case"D":this.style=R.AnnotationBorderStyleType.DASHED;break;case"B":this.style=R.AnnotationBorderStyleType.BEVELED;break;case"I":this.style=R.AnnotationBorderStyleType.INSET;break;case"U":this.style=R.AnnotationBorderStyleType.UNDERLINE;break}}setDashArray(Ue){let $e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Array.isArray(Ue)&&Ue.length>0){let Ye=!0,tt=!0;for(const ot of Ue)if(+ot>=0)ot>0&&(tt=!1);else{Ye=!1;break}Ye&&!tt?(this.dashArray=Ue,$e&&this.setStyle(z.Name.get("D"))):this.width=0}else Ue&&(this.width=0)}setHorizontalCornerRadius(Ue){Number.isInteger(Ue)&&(this.horizontalCornerRadius=Ue)}setVerticalCornerRadius(Ue){Number.isInteger(Ue)&&(this.verticalCornerRadius=Ue)}}D.AnnotationBorderStyle=ke;class xe extends Ee{constructor(Ue){super(Ue);const $e=Ue.dict;if($e.has("IRT")){const Ye=$e.getRaw("IRT");this.data.inReplyTo=Ye instanceof z.Ref?Ye.toString():null;const tt=$e.get("RT");this.data.replyType=tt instanceof z.Name?tt.name:R.AnnotationReplyType.REPLY}if(this.data.replyType===R.AnnotationReplyType.GROUP){const Ye=$e.get("IRT");this.setTitle(Ye.get("T")),this.data.titleObj=this._title,this.setContents(Ye.get("Contents")),this.data.contentsObj=this._contents,Ye.has("CreationDate")?(this.setCreationDate(Ye.get("CreationDate")),this.data.creationDate=this.creationDate):this.data.creationDate=null,Ye.has("M")?(this.setModificationDate(Ye.get("M")),this.data.modificationDate=this.modificationDate):this.data.modificationDate=null,this.data.hasPopup=Ye.has("Popup"),Ye.has("C")?(this.setColor(Ye.getArray("C")),this.data.color=this.color):this.data.color=null}else this.data.titleObj=this._title,this.setCreationDate($e.get("CreationDate")),this.data.creationDate=this.creationDate,this.data.hasPopup=$e.has("Popup"),$e.has("C")||(this.data.color=null);$e.has("RC")&&(this.data.richText=ce.XFAFactory.getRichTextAsHtml($e.get("RC")))}setCreationDate(Ue){this.creationDate=typeof Ue=="string"?Ue:null}_setDefaultAppearance(Ue){let{xref:$e,extra:Ye,strokeColor:tt,fillColor:ot,blendMode:st,strokeAlpha:dt,fillAlpha:ct,pointsCallback:mt}=Ue,ut=Number.MAX_VALUE,rt=Number.MAX_VALUE,He=Number.MIN_VALUE,Je=Number.MIN_VALUE;const St=["q"];Ye&&St.push(Ye),tt&&St.push(`${tt[0]} ${tt[1]} ${tt[2]} RG`),ot&&St.push(`${ot[0]} ${ot[1]} ${ot[2]} rg`);let bt=this.data.quadPoints;bt||(bt=[[{x:this.rectangle[0],y:this.rectangle[3]},{x:this.rectangle[2],y:this.rectangle[3]},{x:this.rectangle[0],y:this.rectangle[1]},{x:this.rectangle[2],y:this.rectangle[1]}]]);for(const Yt of bt){const[Ft,Jt,er,Bt]=mt(St,Yt);ut=Math.min(ut,Ft),He=Math.max(He,Jt),rt=Math.min(rt,er),Je=Math.max(Je,Bt)}St.push("Q");const pt=new z.Dict($e),wt=new z.Dict($e);wt.set("Subtype",z.Name.get("Form"));const Pt=new Q.StringStream(St.join(" "));Pt.dict=wt,pt.set("Fm0",Pt);const Nt=new z.Dict($e);st&&Nt.set("BM",z.Name.get(st)),typeof dt=="number"&&Nt.set("CA",dt),typeof ct=="number"&&Nt.set("ca",ct);const Vt=new z.Dict($e);Vt.set("GS0",Nt);const Wt=new z.Dict($e);Wt.set("ExtGState",Vt),Wt.set("XObject",pt);const Mt=new z.Dict($e);Mt.set("Resources",Wt);const $t=this.data.rect=[ut,rt,He,Je];Mt.set("BBox",$t),this.appearance=new Q.StringStream("/GS0 gs /Fm0 Do"),this.appearance.dict=Mt,this._streams.push(this.appearance,Pt)}static async createNewAnnotation(Ue,$e,Ye,tt){const ot=Ue.getNewRef(),st=Ue.getNewRef(),dt=this.createNewDict($e,Ue,{apRef:st}),ct=await this.createNewAppearanceStream($e,Ue,tt),mt=[];let ut=Ue.encrypt?Ue.encrypt.createCipherTransform(st.num,st.gen):null;return(0,e.writeObject)(st,ct,mt,ut),Ye.push({ref:st,data:mt.join("")}),mt.length=0,ut=Ue.encrypt?Ue.encrypt.createCipherTransform(ot.num,ot.gen):null,(0,e.writeObject)(ot,dt,mt,ut),{ref:ot,data:mt.join("")}}static async createNewPrintAnnotation(Ue,$e,Ye){const tt=await this.createNewAppearanceStream($e,Ue,Ye),ot=this.createNewDict($e,Ue,{ap:tt});return new this.prototype.constructor({dict:ot,xref:Ue})}}D.MarkupAnnotation=xe;class fe extends Ee{constructor(Ue){super(Ue);const $e=Ue.dict,Ye=this.data;this.ref=Ue.ref,Ye.annotationType=R.AnnotationType.WIDGET,Ye.fieldName===void 0&&(Ye.fieldName=this._constructFieldName($e)),Ye.actions===void 0&&(Ye.actions=(0,U.collectActions)(Ue.xref,$e,R.AnnotationActionEventType));let tt=(0,U.getInheritableProperty)({dict:$e,key:"V",getArray:!0});Ye.fieldValue=this._decodeFormValue(tt);const ot=(0,U.getInheritableProperty)({dict:$e,key:"DV",getArray:!0});if(Ye.defaultFieldValue=this._decodeFormValue(ot),tt===void 0&&Ue.xfaDatasets){const rt=this._title.str;rt&&(this._hasValueFromXFA=!0,Ye.fieldValue=tt=Ue.xfaDatasets.getValue(rt))}tt===void 0&&Ye.defaultFieldValue!==null&&(Ye.fieldValue=Ye.defaultFieldValue),Ye.alternativeText=(0,R.stringToPDFString)($e.get("TU")||"");const st=(0,U.getInheritableProperty)({dict:$e,key:"DA"})||Ue.acroForm.get("DA");this._defaultAppearance=typeof st=="string"?st:"",Ye.defaultAppearanceData=(0,K.parseDefaultAppearance)(this._defaultAppearance);const dt=(0,U.getInheritableProperty)({dict:$e,key:"FT"});Ye.fieldType=dt instanceof z.Name?dt.name:null;const ct=(0,U.getInheritableProperty)({dict:$e,key:"DR"}),mt=Ue.acroForm.get("DR"),ut=this.appearance&&this.appearance.dict.get("Resources");this._fieldResources={localResources:ct,acroFormResources:mt,appearanceResources:ut,mergedResources:z.Dict.merge({xref:Ue.xref,dictArray:[ct,ut,mt],mergeSubDicts:!0})},Ye.fieldFlags=(0,U.getInheritableProperty)({dict:$e,key:"Ff"}),(!Number.isInteger(Ye.fieldFlags)||Ye.fieldFlags<0)&&(Ye.fieldFlags=0),Ye.readOnly=this.hasFieldFlag(R.AnnotationFieldFlag.READONLY),Ye.required=this.hasFieldFlag(R.AnnotationFieldFlag.REQUIRED),Ye.hidden=this._hasFlag(Ye.annotationFlags,R.AnnotationFlag.HIDDEN)}_decodeFormValue(Ue){return Array.isArray(Ue)?Ue.filter($e=>typeof $e=="string").map($e=>(0,R.stringToPDFString)($e)):Ue instanceof z.Name?(0,R.stringToPDFString)(Ue.name):typeof Ue=="string"?(0,R.stringToPDFString)(Ue):null}hasFieldFlag(Ue){return!!(this.data.fieldFlags&Ue)}static _getRotationMatrix(Ue,$e,Ye){switch(Ue){case 90:return[0,1,-1,0,$e,0];case 180:return[-1,0,0,-1,$e,Ye];case 270:return[0,-1,1,0,0,Ye];default:throw new Error("Invalid rotation")}}getRotationMatrix(Ue){const $e=Ue?Ue.get(this.data.id):void 0;let Ye=$e&&$e.rotation;if(Ye===void 0&&(Ye=this.rotation),Ye===0)return R.IDENTITY_MATRIX;const tt=this.data.rect[2]-this.data.rect[0],ot=this.data.rect[3]-this.data.rect[1];return fe._getRotationMatrix(Ye,tt,ot)}getBorderAndBackgroundAppearances(Ue){const $e=Ue?Ue.get(this.data.id):void 0;let Ye=$e&&$e.rotation;if(Ye===void 0&&(Ye=this.rotation),!this.backgroundColor&&!this.borderColor)return"";const tt=this.data.rect[2]-this.data.rect[0],ot=this.data.rect[3]-this.data.rect[1],st=Ye===0||Ye===180?`0 0 ${tt} ${ot} re`:`0 0 ${ot} ${tt} re`;let dt="";if(this.backgroundColor&&(dt=`${(0,K.getPdfColor)(this.backgroundColor,!0)} ${st} f `),this.borderColor){const ct=this.borderStyle.width||1;dt+=`${ct} w ${(0,K.getPdfColor)(this.borderColor,!1)} ${st} S `}return dt}async getOperatorList(Ue,$e,Ye,tt,ot){if(tt&&!(this instanceof pe))return{opList:new L.OperatorList,separateForm:!0,separateCanvas:!1};if(!this._hasText)return super.getOperatorList(Ue,$e,Ye,tt,ot);const st=await this._getAppearance(Ue,$e,ot);if(this.appearance&&st===null)return super.getOperatorList(Ue,$e,Ye,tt,ot);const dt=new L.OperatorList;if(!this._defaultAppearance||st===null)return{opList:dt,separateForm:!1,separateCanvas:!1};const ct=[1,0,0,1,0,0],mt=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],ut=me(this.data.rect,mt,ct);let rt;this.oc&&(rt=await Ue.parseMarkedContentProps(this.oc,null)),rt!==void 0&&dt.addOp(R.OPS.beginMarkedContentProps,["OC",rt]),dt.addOp(R.OPS.beginAnnotation,[this.data.id,this.data.rect,ut,this.getRotationMatrix(ot),!1]);const He=new Q.StringStream(st);return await Ue.getOperatorList({stream:He,task:$e,resources:this._fieldResources.mergedResources,operatorList:dt}),dt.addOp(R.OPS.endAnnotation,[]),rt!==void 0&&dt.addOp(R.OPS.endMarkedContent,[]),{opList:dt,separateForm:!1,separateCanvas:!1}}_getMKDict(Ue){const $e=new z.Dict(null);return Ue&&$e.set("R",Ue),this.borderColor&&$e.set("BC",Array.from(this.borderColor).map(Ye=>Ye/255)),this.backgroundColor&&$e.set("BG",Array.from(this.backgroundColor).map(Ye=>Ye/255)),$e.size>0?$e:null}async save(Ue,$e,Ye){const tt=Ye?Ye.get(this.data.id):void 0;let ot=tt&&tt.value,st=tt&&tt.rotation;if(ot===this.data.fieldValue||ot===void 0){if(!this._hasValueFromXFA&&st===void 0)return null;ot=ot||this.data.fieldValue}if(st===void 0&&!this._hasValueFromXFA&&Array.isArray(ot)&&Array.isArray(this.data.fieldValue)&&ot.length===this.data.fieldValue.length&&ot.every(($t,Yt)=>$t===this.data.fieldValue[Yt]))return null;st===void 0&&(st=this.rotation);let dt=await this._getAppearance(Ue,$e,Ye);if(dt===null)return null;const{xref:ct}=Ue,mt=ct.fetchIfRef(this.ref);if(!(mt instanceof z.Dict))return null;const ut=[0,0,this.data.rect[2]-this.data.rect[0],this.data.rect[3]-this.data.rect[1]],rt={path:(0,R.stringToPDFString)(mt.get("T")||""),value:ot},He=ct.getNewRef(),Je=new z.Dict(ct);Je.set("N",He);const St=ct.encrypt;let bt=null,pt=null;St&&(bt=St.createCipherTransform(this.ref.num,this.ref.gen),pt=St.createCipherTransform(He.num,He.gen),dt=pt.encryptString(dt));const wt=$t=>(0,R.isAscii)($t)?$t:(0,R.stringToUTF16BEString)($t);mt.set("V",Array.isArray(ot)?ot.map(wt):wt(ot)),mt.set("AP",Je),mt.set("M",`D:${(0,R.getModificationDate)()}`);const Pt=this._getMKDict(st);Pt&&mt.set("MK",Pt);const Nt=new z.Dict(ct);Nt.set("Length",dt.length),Nt.set("Subtype",z.Name.get("Form")),Nt.set("Resources",this._getSaveFieldResources(ct)),Nt.set("BBox",ut);const Vt=this.getRotationMatrix(Ye);Vt!==R.IDENTITY_MATRIX&&Nt.set("Matrix",Vt);const Wt=[`${this.ref.num} ${this.ref.gen} obj `];(0,e.writeDict)(mt,Wt,bt),Wt.push(` endobj `);const Mt=[`${He.num} ${He.gen} obj @@ -440,66 +588,66 @@ endobj `,dt,` endstream endobj -`),[{ref:this.ref,data:Wt.join(""),xfa:rt},{ref:He,data:Mt.join(""),xfa:null}]}async _getAppearance(Fe,$e,Ye){if(this.hasFieldFlag(R.AnnotationFieldFlag.PASSWORD))return null;const ot=Ye?Ye.get(this.data.id):void 0;let st,dt;if(ot&&(st=ot.formattedValue||ot.value,dt=ot.rotation),dt===void 0&&st===void 0&&(!this._hasValueFromXFA||this.appearance))return null;if(st===void 0&&(st=this.data.fieldValue,!st)||(Array.isArray(st)&&st.length===1&&(st=st[0]),(0,R.assert)(typeof st=="string","Expected `value` to be a string."),st=st.trim(),st===""))return"";dt===void 0&&(dt=this.rotation);let ct=-1;this.data.multiLine&&(ct=st.split(/\r\n|\r|\n/).length);const mt=2,ut=mt;let rt=this.data.rect[3]-this.data.rect[1],He=this.data.rect[2]-this.data.rect[0];(dt===90||dt===270)&&([He,rt]=[rt,He]),this._defaultAppearance||(this.data.defaultAppearanceData=(0,K.parseDefaultAppearance)(this._defaultAppearance="/Helvetica 0 Tf 0 g"));const Je=await fe._getFontData(Fe,$e,this.data.defaultAppearanceData,this._fieldResources.mergedResources),[St,bt]=this._computeFontSize(rt-mt,He-2*ut,st,Je,ct);let pt=Je.descent;isNaN(pt)&&(pt=0);const Pt=Math.min(Math.floor((rt-bt)/2),mt)+Math.abs(pt)*bt,Nt=this.data.textAlignment;if(this.data.multiLine)return this._getMultilineAppearance(St,st,Je,bt,He,rt,Nt,ut,Pt,Ye);const Vt=Je.encodeString(st).join("");if(this.data.comb)return this._getCombAppearance(St,Je,Vt,He,ut,Pt,Ye);const Wt=this.getBorderAndBackgroundAppearances(Ye);if(Nt===0||Nt>2)return`/Tx BMC q ${Wt}BT `+St+` 1 0 0 1 ${ut} ${Pt} Tm (${(0,R.escapeString)(Vt)}) Tj ET Q EMC`;const Mt=this._renderText(Vt,Je,bt,He,Nt,ut,Pt);return`/Tx BMC q ${Wt}BT `+St+` 1 0 0 1 0 0 Tm ${Mt} ET Q EMC`}static async _getFontData(Fe,$e,Ye,tt){const ot=new L.OperatorList,st={font:null,clone(){return this}},{fontName:dt,fontSize:ct}=Ye;return await Fe.handleSetFont(tt,[dt&&z.Name.get(dt),ct],null,ot,$e,st,null),st.font}_getTextWidth(Fe,$e){return $e.charsToGlyphs(Fe).reduce((Ye,tt)=>Ye+tt.width,0)/1e3}_computeFontSize(Fe,$e,Ye,tt,ot){let{fontSize:st}=this.data.defaultAppearanceData;if(!st){const dt=ut=>Math.floor(ut*100)/100;if(ot===-1){const ut=this._getTextWidth(Ye,tt);st=dt(Math.min(Fe/R.LINE_FACTOR,$e/ut))}else{const ut=Ye.split(/\r\n?|\n/),rt=[];for(const bt of ut){const pt=tt.encodeString(bt).join(""),wt=tt.charsToGlyphs(pt),Pt=tt.getCharPositions(pt);rt.push({line:pt,glyphs:wt,positions:Pt})}const He=bt=>{let pt=0;for(const wt of rt){const Pt=this._splitLine(null,tt,bt,$e,wt);if(pt+=Pt.length*bt,pt>Fe)return!0}return!1};st=12;let Je=st*R.LINE_FACTOR,St=Math.round(Fe/Je);for(St=Math.max(St,ot);;){if(Je=Fe/St,st=dt(Je/R.LINE_FACTOR),He(st)){St++;continue}break}}const{fontName:ct,fontColor:mt}=this.data.defaultAppearanceData;this._defaultAppearance=(0,K.createDefaultAppearance)({fontSize:st,fontName:ct,fontColor:mt})}return[this._defaultAppearance,st]}_renderText(Fe,$e,Ye,tt,ot,st,dt){let ct;if(ot===1){const mt=this._getTextWidth(Fe,$e)*Ye;ct=(tt-mt)/2}else if(ot===2){const mt=this._getTextWidth(Fe,$e)*Ye;ct=tt-mt-st}else ct=st;return ct=(0,U.numberToString)(ct),dt=(0,U.numberToString)(dt),`${ct} ${dt} Td (${(0,R.escapeString)(Fe)}) Tj`}_getSaveFieldResources(Fe){const{localResources:$e,appearanceResources:Ye,acroFormResources:tt}=this._fieldResources,ot=this.data.defaultAppearanceData&&this.data.defaultAppearanceData.fontName;if(!ot)return $e||z.Dict.empty;for(const st of[$e,Ye])if(st instanceof z.Dict){const dt=st.get("Font");if(dt instanceof z.Dict&&dt.has(ot))return st}if(tt instanceof z.Dict){const st=tt.get("Font");if(st instanceof z.Dict&&st.has(ot)){const dt=new z.Dict(Fe);dt.set(ot,st.getRaw(ot));const ct=new z.Dict(Fe);return ct.set("Font",dt),z.Dict.merge({xref:Fe,dictArray:[ct,$e],mergeSubDicts:!0})}}return $e||z.Dict.empty}getFieldObject(){return null}}class ve extends fe{constructor(Fe){super(Fe),this._hasText=!0;const $e=Fe.dict;typeof this.data.fieldValue!="string"&&(this.data.fieldValue="");let Ye=(0,U.getInheritableProperty)({dict:$e,key:"Q"});(!Number.isInteger(Ye)||Ye<0||Ye>2)&&(Ye=null),this.data.textAlignment=Ye;let tt=(0,U.getInheritableProperty)({dict:$e,key:"MaxLen"});(!Number.isInteger(tt)||tt<0)&&(tt=0),this.data.maxLen=tt,this.data.multiLine=this.hasFieldFlag(R.AnnotationFieldFlag.MULTILINE),this.data.comb=this.hasFieldFlag(R.AnnotationFieldFlag.COMB)&&!this.hasFieldFlag(R.AnnotationFieldFlag.MULTILINE)&&!this.hasFieldFlag(R.AnnotationFieldFlag.PASSWORD)&&!this.hasFieldFlag(R.AnnotationFieldFlag.FILESELECT)&&this.data.maxLen!==0,this.data.doNotScroll=this.hasFieldFlag(R.AnnotationFieldFlag.DONOTSCROLL)}_getCombAppearance(Fe,$e,Ye,tt,ot,st,dt){const ct=(0,U.numberToString)(tt/this.data.maxLen),mt=[],ut=$e.getCharPositions(Ye);for(const[Je,St]of ut)mt.push(`(${(0,R.escapeString)(Ye.substring(Je,St))}) Tj`);const rt=this.getBorderAndBackgroundAppearances(dt),He=mt.join(` ${ct} 0 Td `);return`/Tx BMC q ${rt}BT `+Fe+` 1 0 0 1 ${ot} ${st} Tm ${He} ET Q EMC`}_getMultilineAppearance(Fe,$e,Ye,tt,ot,st,dt,ct,mt,ut){const rt=$e.split(/\r\n?|\n/),He=[],Je=ot-2*ct;for(const pt of rt){const wt=this._splitLine(pt,Ye,tt,Je);for(const Pt of wt){const Nt=He.length===0?ct:0;He.push(this._renderText(Pt,Ye,tt,ot,dt,Nt,-tt))}}const St=He.join(` -`);return`/Tx BMC q ${this.getBorderAndBackgroundAppearances(ut)}BT `+Fe+` 1 0 0 1 0 ${st} Tm ${St} ET Q EMC`}_splitLine(Fe,$e,Ye,tt){let ot=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};Fe=ot.line||$e.encodeString(Fe).join("");const st=ot.glyphs||$e.charsToGlyphs(Fe);if(st.length<=1)return[Fe];const dt=ot.positions||$e.getCharPositions(Fe),ct=Ye/1e3,mt=[];let ut=-1,rt=-1,He=-1,Je=0,St=0;for(let bt=0,pt=st.length;bttt?(mt.push(Fe.substring(Je,wt)),Je=wt,St=Vt,ut=-1,He=-1):(St+=Vt,ut=wt,rt=Pt,He=bt):St+Vt>tt?ut!==-1?(mt.push(Fe.substring(Je,rt)),Je=rt,bt=He+1,ut=-1,St=0):(mt.push(Fe.substring(Je,wt)),Je=wt,St=Vt):St+=Vt}return Je2)return`/Tx BMC q ${Wt}BT `+St+` 1 0 0 1 ${ut} ${Pt} Tm (${(0,R.escapeString)(Vt)}) Tj ET Q EMC`;const Mt=this._renderText(Vt,Je,bt,He,Nt,ut,Pt);return`/Tx BMC q ${Wt}BT `+St+` 1 0 0 1 0 0 Tm ${Mt} ET Q EMC`}static async _getFontData(Ue,$e,Ye,tt){const ot=new L.OperatorList,st={font:null,clone(){return this}},{fontName:dt,fontSize:ct}=Ye;return await Ue.handleSetFont(tt,[dt&&z.Name.get(dt),ct],null,ot,$e,st,null),st.font}_getTextWidth(Ue,$e){return $e.charsToGlyphs(Ue).reduce((Ye,tt)=>Ye+tt.width,0)/1e3}_computeFontSize(Ue,$e,Ye,tt,ot){let{fontSize:st}=this.data.defaultAppearanceData;if(!st){const dt=ut=>Math.floor(ut*100)/100;if(ot===-1){const ut=this._getTextWidth(Ye,tt);st=dt(Math.min(Ue/R.LINE_FACTOR,$e/ut))}else{const ut=Ye.split(/\r\n?|\n/),rt=[];for(const bt of ut){const pt=tt.encodeString(bt).join(""),wt=tt.charsToGlyphs(pt),Pt=tt.getCharPositions(pt);rt.push({line:pt,glyphs:wt,positions:Pt})}const He=bt=>{let pt=0;for(const wt of rt){const Pt=this._splitLine(null,tt,bt,$e,wt);if(pt+=Pt.length*bt,pt>Ue)return!0}return!1};st=12;let Je=st*R.LINE_FACTOR,St=Math.round(Ue/Je);for(St=Math.max(St,ot);;){if(Je=Ue/St,st=dt(Je/R.LINE_FACTOR),He(st)){St++;continue}break}}const{fontName:ct,fontColor:mt}=this.data.defaultAppearanceData;this._defaultAppearance=(0,K.createDefaultAppearance)({fontSize:st,fontName:ct,fontColor:mt})}return[this._defaultAppearance,st]}_renderText(Ue,$e,Ye,tt,ot,st,dt){let ct;if(ot===1){const mt=this._getTextWidth(Ue,$e)*Ye;ct=(tt-mt)/2}else if(ot===2){const mt=this._getTextWidth(Ue,$e)*Ye;ct=tt-mt-st}else ct=st;return ct=(0,U.numberToString)(ct),dt=(0,U.numberToString)(dt),`${ct} ${dt} Td (${(0,R.escapeString)(Ue)}) Tj`}_getSaveFieldResources(Ue){const{localResources:$e,appearanceResources:Ye,acroFormResources:tt}=this._fieldResources,ot=this.data.defaultAppearanceData&&this.data.defaultAppearanceData.fontName;if(!ot)return $e||z.Dict.empty;for(const st of[$e,Ye])if(st instanceof z.Dict){const dt=st.get("Font");if(dt instanceof z.Dict&&dt.has(ot))return st}if(tt instanceof z.Dict){const st=tt.get("Font");if(st instanceof z.Dict&&st.has(ot)){const dt=new z.Dict(Ue);dt.set(ot,st.getRaw(ot));const ct=new z.Dict(Ue);return ct.set("Font",dt),z.Dict.merge({xref:Ue,dictArray:[ct,$e],mergeSubDicts:!0})}}return $e||z.Dict.empty}getFieldObject(){return null}}class ve extends fe{constructor(Ue){super(Ue),this._hasText=!0;const $e=Ue.dict;typeof this.data.fieldValue!="string"&&(this.data.fieldValue="");let Ye=(0,U.getInheritableProperty)({dict:$e,key:"Q"});(!Number.isInteger(Ye)||Ye<0||Ye>2)&&(Ye=null),this.data.textAlignment=Ye;let tt=(0,U.getInheritableProperty)({dict:$e,key:"MaxLen"});(!Number.isInteger(tt)||tt<0)&&(tt=0),this.data.maxLen=tt,this.data.multiLine=this.hasFieldFlag(R.AnnotationFieldFlag.MULTILINE),this.data.comb=this.hasFieldFlag(R.AnnotationFieldFlag.COMB)&&!this.hasFieldFlag(R.AnnotationFieldFlag.MULTILINE)&&!this.hasFieldFlag(R.AnnotationFieldFlag.PASSWORD)&&!this.hasFieldFlag(R.AnnotationFieldFlag.FILESELECT)&&this.data.maxLen!==0,this.data.doNotScroll=this.hasFieldFlag(R.AnnotationFieldFlag.DONOTSCROLL)}_getCombAppearance(Ue,$e,Ye,tt,ot,st,dt){const ct=(0,U.numberToString)(tt/this.data.maxLen),mt=[],ut=$e.getCharPositions(Ye);for(const[Je,St]of ut)mt.push(`(${(0,R.escapeString)(Ye.substring(Je,St))}) Tj`);const rt=this.getBorderAndBackgroundAppearances(dt),He=mt.join(` ${ct} 0 Td `);return`/Tx BMC q ${rt}BT `+Ue+` 1 0 0 1 ${ot} ${st} Tm ${He} ET Q EMC`}_getMultilineAppearance(Ue,$e,Ye,tt,ot,st,dt,ct,mt,ut){const rt=$e.split(/\r\n?|\n/),He=[],Je=ot-2*ct;for(const pt of rt){const wt=this._splitLine(pt,Ye,tt,Je);for(const Pt of wt){const Nt=He.length===0?ct:0;He.push(this._renderText(Pt,Ye,tt,ot,dt,Nt,-tt))}}const St=He.join(` +`);return`/Tx BMC q ${this.getBorderAndBackgroundAppearances(ut)}BT `+Ue+` 1 0 0 1 0 ${st} Tm ${St} ET Q EMC`}_splitLine(Ue,$e,Ye,tt){let ot=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};Ue=ot.line||$e.encodeString(Ue).join("");const st=ot.glyphs||$e.charsToGlyphs(Ue);if(st.length<=1)return[Ue];const dt=ot.positions||$e.getCharPositions(Ue),ct=Ye/1e3,mt=[];let ut=-1,rt=-1,He=-1,Je=0,St=0;for(let bt=0,pt=st.length;bttt?(mt.push(Ue.substring(Je,wt)),Je=wt,St=Vt,ut=-1,He=-1):(St+=Vt,ut=wt,rt=Pt,He=bt):St+Vt>tt?ut!==-1?(mt.push(Ue.substring(Je,rt)),Je=rt,bt=He+1,ut=-1,St=0):(mt.push(Ue.substring(Je,wt)),Je=wt,St=Vt):St+=Vt}return Ject!=="Off");st.length=0,st.push("Off",dt)}st.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=st[1],this.checkedAppearance=Ye.get(this.data.exportValue)||null,this.uncheckedAppearance=Ye.get("Off")||null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(Fe,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}_processRadioButton(Fe){this.data.fieldValue=this.data.buttonValue=null;const $e=Fe.dict.get("Parent");if($e instanceof z.Dict){this.parent=Fe.dict.getRaw("Parent");const ot=$e.get("V");ot instanceof z.Name&&(this.data.fieldValue=this._decodeFormValue(ot))}const Ye=Fe.dict.get("AP");if(!(Ye instanceof z.Dict))return;const tt=Ye.get("N");if(tt instanceof z.Dict){for(const ot of tt.getKeys())if(ot!=="Off"){this.data.buttonValue=this._decodeFormValue(ot);break}this.checkedAppearance=tt.get(this.data.buttonValue)||null,this.uncheckedAppearance=tt.get("Off")||null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(Fe,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}_processPushButton(Fe){if(!Fe.dict.has("A")&&!Fe.dict.has("AA")&&!this.data.alternativeText){(0,R.warn)("Push buttons without action dictionaries are not supported");return}this.data.isTooltipOnly=!Fe.dict.has("A")&&!Fe.dict.has("AA"),he.Catalog.parseDestDictionary({destDict:Fe.dict,resultObj:this.data,docBaseUrl:Fe.pdfManager.docBaseUrl})}getFieldObject(){let Fe="button",$e;return this.data.checkBox?(Fe="checkbox",$e=this.data.exportValue):this.data.radioButton&&(Fe="radiobutton",$e=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:$e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:Fe}}get fallbackFontDict(){const Fe=new z.Dict;return Fe.set("BaseFont",z.Name.get("ZapfDingbats")),Fe.set("Type",z.Name.get("FallbackType")),Fe.set("Subtype",z.Name.get("FallbackType")),Fe.set("Encoding",z.Name.get("ZapfDingbatsEncoding")),(0,R.shadow)(this,"fallbackFontDict",Fe)}}class Ce extends fe{constructor(Fe){super(Fe),this.data.options=[];const $e=(0,U.getInheritableProperty)({dict:Fe.dict,key:"Opt"});if(Array.isArray($e)){const Ye=Fe.xref;for(let tt=0,ot=$e.length;tt0?this.data.fieldValue[0]:null;return{id:this.data.id,value:$e,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:Fe}}async _getAppearance(Fe,$e,Ye){if(this.data.combo)return super._getAppearance(Fe,$e,Ye);if(!Ye)return null;const tt=Ye.get(this.data.id);if(!tt)return null;const ot=tt.rotation;let st=tt.value;if(ot===void 0&&st===void 0)return null;st===void 0?st=this.data.fieldValue:Array.isArray(st)||(st=[st]);const dt=2,ct=dt;let mt=this.data.rect[3]-this.data.rect[1],ut=this.data.rect[2]-this.data.rect[0];(ot===90||ot===270)&&([ut,mt]=[mt,ut]);const rt=this.data.options.length,He=[];for(let Mt=0;Mt$t&&($t=Jt,Yt=Ft)}[St,bt]=this._computeFontSize(Mt,ut-2*ct,Yt,Je,-1)}const pt=bt*R.LINE_FACTOR,wt=(pt-bt)/2,Pt=Math.floor(mt/pt);let Nt;if(He.length===1){const Mt=He[0],$t=Mt%Pt;Nt=Mt-$t}else Nt=He.length?He[0]:0;const Vt=Math.min(Nt+Pt+1,rt),Wt=["/Tx BMC q",`1 1 ${ut} ${mt} re W n`];if(He.length){Wt.push("0.600006 0.756866 0.854904 rg");for(const Mt of He)Nt<=Mt&&Mtct!=="Off");st.length=0,st.push("Off",dt)}st.includes(this.data.fieldValue)||(this.data.fieldValue="Off"),this.data.exportValue=st[1],this.checkedAppearance=Ye.get(this.data.exportValue)||null,this.uncheckedAppearance=Ye.get("Off")||null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(Ue,"check"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}_processRadioButton(Ue){this.data.fieldValue=this.data.buttonValue=null;const $e=Ue.dict.get("Parent");if($e instanceof z.Dict){this.parent=Ue.dict.getRaw("Parent");const ot=$e.get("V");ot instanceof z.Name&&(this.data.fieldValue=this._decodeFormValue(ot))}const Ye=Ue.dict.get("AP");if(!(Ye instanceof z.Dict))return;const tt=Ye.get("N");if(tt instanceof z.Dict){for(const ot of tt.getKeys())if(ot!=="Off"){this.data.buttonValue=this._decodeFormValue(ot);break}this.checkedAppearance=tt.get(this.data.buttonValue)||null,this.uncheckedAppearance=tt.get("Off")||null,this.checkedAppearance?this._streams.push(this.checkedAppearance):this._getDefaultCheckedAppearance(Ue,"disc"),this.uncheckedAppearance&&this._streams.push(this.uncheckedAppearance),this._fallbackFontDict=this.fallbackFontDict}}_processPushButton(Ue){if(!Ue.dict.has("A")&&!Ue.dict.has("AA")&&!this.data.alternativeText){(0,R.warn)("Push buttons without action dictionaries are not supported");return}this.data.isTooltipOnly=!Ue.dict.has("A")&&!Ue.dict.has("AA"),he.Catalog.parseDestDictionary({destDict:Ue.dict,resultObj:this.data,docBaseUrl:Ue.pdfManager.docBaseUrl})}getFieldObject(){let Ue="button",$e;return this.data.checkBox?(Ue="checkbox",$e=this.data.exportValue):this.data.radioButton&&(Ue="radiobutton",$e=this.data.buttonValue),{id:this.data.id,value:this.data.fieldValue||"Off",defaultValue:this.data.defaultFieldValue,exportValues:$e,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,hidden:this.data.hidden,actions:this.data.actions,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:Ue}}get fallbackFontDict(){const Ue=new z.Dict;return Ue.set("BaseFont",z.Name.get("ZapfDingbats")),Ue.set("Type",z.Name.get("FallbackType")),Ue.set("Subtype",z.Name.get("FallbackType")),Ue.set("Encoding",z.Name.get("ZapfDingbatsEncoding")),(0,R.shadow)(this,"fallbackFontDict",Ue)}}class Ce extends fe{constructor(Ue){super(Ue),this.data.options=[];const $e=(0,U.getInheritableProperty)({dict:Ue.dict,key:"Opt"});if(Array.isArray($e)){const Ye=Ue.xref;for(let tt=0,ot=$e.length;tt0?this.data.fieldValue[0]:null;return{id:this.data.id,value:$e,defaultValue:this.data.defaultFieldValue,editable:!this.data.readOnly,name:this.data.fieldName,rect:this.data.rect,numItems:this.data.fieldValue.length,multipleSelection:this.data.multiSelect,hidden:this.data.hidden,actions:this.data.actions,items:this.data.options,page:this.data.pageIndex,strokeColor:this.data.borderColor,fillColor:this.data.backgroundColor,rotation:this.rotation,type:Ue}}async _getAppearance(Ue,$e,Ye){if(this.data.combo)return super._getAppearance(Ue,$e,Ye);if(!Ye)return null;const tt=Ye.get(this.data.id);if(!tt)return null;const ot=tt.rotation;let st=tt.value;if(ot===void 0&&st===void 0)return null;st===void 0?st=this.data.fieldValue:Array.isArray(st)||(st=[st]);const dt=2,ct=dt;let mt=this.data.rect[3]-this.data.rect[1],ut=this.data.rect[2]-this.data.rect[0];(ot===90||ot===270)&&([ut,mt]=[mt,ut]);const rt=this.data.options.length,He=[];for(let Mt=0;Mt$t&&($t=Jt,Yt=Ft)}[St,bt]=this._computeFontSize(Mt,ut-2*ct,Yt,Je,-1)}const pt=bt*R.LINE_FACTOR,wt=(pt-bt)/2,Pt=Math.floor(mt/pt);let Nt;if(He.length===1){const Mt=He[0],$t=Mt%Pt;Nt=Mt-$t}else Nt=He.length?He[0]:0;const Vt=Math.min(Nt+Pt+1,rt),Wt=["/Tx BMC q",`1 1 ${ut} ${mt} re W n`];if(He.length){Wt.push("0.600006 0.756866 0.854904 rg");for(const Mt of He)Nt<=Mt&&MtNt&&(Ft=Nt/$t);let Jt=1;const er=R.LINE_FACTOR*ct,Bt=R.LINE_DESCENT_FACTOR*ct,It=er*Wt.length;It>Vt&&(Jt=Vt/It);const Dt=Math.min(Ft,Jt),Zt=ct*Dt,gr=["q",`0 0 ${(0,U.numberToString)(Nt)} ${(0,U.numberToString)(Vt)} re W n`,"BT",`1 0 0 1 0 ${(0,U.numberToString)(Vt+Bt)} Tm 0 Tc ${(0,K.getPdfColor)(dt,!0)}`,`/Helv ${(0,U.numberToString)(Zt)} Tf`],fr=(0,U.numberToString)(er);for(const Ar of Yt)gr.push(`0 -${fr} Td (${(0,R.escapeString)(Ar)}) Tj`);gr.push("ET","Q");const Dr=gr.join(` -`),kr=new z.Dict($e);if(kr.set("FormType",1),kr.set("Subtype",z.Name.get("Form")),kr.set("Type",z.Name.get("XObject")),kr.set("BBox",[0,0,Nt,Vt]),kr.set("Length",Dr.length),kr.set("Resources",He),ut){const Ar=fe._getRotationMatrix(ut,Nt,Vt);kr.set("Matrix",Ar)}const cr=new Q.StringStream(Dr);return cr.dict=kr,cr}}class Ze extends xe{constructor(Fe){super(Fe);const{dict:$e}=Fe;this.data.annotationType=R.AnnotationType.LINE;const Ye=$e.getArray("L");if(this.data.lineCoordinates=R.Util.normalizeRect(Ye),this.setLineEndings($e.getArray("LE")),this.data.lineEndings=this.lineEndings,!this.appearance){const tt=this.color?Array.from(this.color).map(He=>He/255):[0,0,0],ot=$e.get("CA");let st=null,dt=$e.getArray("IC");dt&&(dt=oe(dt,null),st=dt?Array.from(dt).map(He=>He/255):null);const ct=st?ot:null,mt=this.borderStyle.width||1,ut=2*mt,rt=[this.data.lineCoordinates[0]-ut,this.data.lineCoordinates[1]-ut,this.data.lineCoordinates[2]+ut,this.data.lineCoordinates[3]+ut];R.Util.intersect(this.rectangle,rt)||(this.rectangle=rt),this._setDefaultAppearance({xref:Fe.xref,extra:`${mt} w`,strokeColor:tt,fillColor:st,strokeAlpha:ot,fillAlpha:ct,pointsCallback:(He,Je)=>(He.push(`${Ye[0]} ${Ye[1]} m`,`${Ye[2]} ${Ye[3]} l`,"S"),[Je[0].x-mt,Je[1].x+mt,Je[3].y-mt,Je[1].y+mt])})}}}class ze extends xe{constructor(Fe){if(super(Fe),this.data.annotationType=R.AnnotationType.SQUARE,!this.appearance){const $e=this.color?Array.from(this.color).map(dt=>dt/255):[0,0,0],Ye=Fe.dict.get("CA");let tt=null,ot=Fe.dict.getArray("IC");ot&&(ot=oe(ot,null),tt=ot?Array.from(ot).map(dt=>dt/255):null);const st=tt?Ye:null;if(this.borderStyle.width===0&&!tt)return;this._setDefaultAppearance({xref:Fe.xref,extra:`${this.borderStyle.width} w`,strokeColor:$e,fillColor:tt,strokeAlpha:Ye,fillAlpha:st,pointsCallback:(dt,ct)=>{const mt=ct[2].x+this.borderStyle.width/2,ut=ct[2].y+this.borderStyle.width/2,rt=ct[3].x-ct[2].x-this.borderStyle.width,He=ct[1].y-ct[3].y-this.borderStyle.width;return dt.push(`${mt} ${ut} ${rt} ${He} re`),tt?dt.push("B"):dt.push("S"),[ct[0].x,ct[1].x,ct[3].y,ct[1].y]}})}}}class Ae extends xe{constructor(Fe){if(super(Fe),this.data.annotationType=R.AnnotationType.CIRCLE,!this.appearance){const $e=this.color?Array.from(this.color).map(ct=>ct/255):[0,0,0],Ye=Fe.dict.get("CA");let tt=null,ot=Fe.dict.getArray("IC");ot&&(ot=oe(ot,null),tt=ot?Array.from(ot).map(ct=>ct/255):null);const st=tt?Ye:null;if(this.borderStyle.width===0&&!tt)return;const dt=4/3*Math.tan(Math.PI/(2*4));this._setDefaultAppearance({xref:Fe.xref,extra:`${this.borderStyle.width} w`,strokeColor:$e,fillColor:tt,strokeAlpha:Ye,fillAlpha:st,pointsCallback:(ct,mt)=>{const ut=mt[0].x+this.borderStyle.width/2,rt=mt[0].y-this.borderStyle.width/2,He=mt[3].x-this.borderStyle.width/2,Je=mt[3].y+this.borderStyle.width/2,St=ut+(He-ut)/2,bt=rt+(Je-rt)/2,pt=(He-ut)/2*dt,wt=(Je-rt)/2*dt;return ct.push(`${St} ${Je} m`,`${St+pt} ${Je} ${He} ${bt+wt} ${He} ${bt} c`,`${He} ${bt-wt} ${St+pt} ${rt} ${St} ${rt} c`,`${St-pt} ${rt} ${ut} ${bt-wt} ${ut} ${bt} c`,`${ut} ${bt+wt} ${St-pt} ${Je} ${St} ${Je} c`,"h"),tt?ct.push("B"):ct.push("S"),[mt[0].x,mt[1].x,mt[3].y,mt[1].y]}})}}}class De extends xe{constructor(Fe){super(Fe);const{dict:$e}=Fe;this.data.annotationType=R.AnnotationType.POLYLINE,this.data.vertices=[],this instanceof Ue||(this.setLineEndings($e.getArray("LE")),this.data.lineEndings=this.lineEndings);const Ye=$e.getArray("Vertices");if(Array.isArray(Ye)){for(let tt=0,ot=Ye.length;ttmt/255):[0,0,0],ot=$e.get("CA"),st=this.borderStyle.width||1,dt=2*st,ct=[1/0,1/0,-1/0,-1/0];for(const mt of this.data.vertices)ct[0]=Math.min(ct[0],mt.x-dt),ct[1]=Math.min(ct[1],mt.y-dt),ct[2]=Math.max(ct[2],mt.x+dt),ct[3]=Math.max(ct[3],mt.y+dt);R.Util.intersect(this.rectangle,ct)||(this.rectangle=ct),this._setDefaultAppearance({xref:Fe.xref,extra:`${st} w`,strokeColor:tt,strokeAlpha:ot,pointsCallback:(mt,ut)=>{const rt=this.data.vertices;for(let He=0,Je=rt.length;Hemt/255):[0,0,0],ot=Fe.dict.get("CA"),st=this.borderStyle.width||1,dt=2*st,ct=[1/0,1/0,-1/0,-1/0];for(const mt of this.data.inkLists)for(const ut of mt)ct[0]=Math.min(ct[0],ut.x-dt),ct[1]=Math.min(ct[1],ut.y-dt),ct[2]=Math.max(ct[2],ut.x+dt),ct[3]=Math.max(ct[3],ut.y+dt);R.Util.intersect(this.rectangle,ct)||(this.rectangle=ct),this._setDefaultAppearance({xref:Fe.xref,extra:`${st} w`,strokeColor:tt,strokeAlpha:ot,pointsCallback:(mt,ut)=>{for(const rt of this.data.inkLists){for(let He=0,Je=rt.length;Hert.points)),mt.set("F",4),mt.set("Border",[0,0,0]),mt.set("Rotate",ct);const ut=new z.Dict($e);return mt.set("AP",ut),tt?ut.set("N",tt):ut.set("N",ot),mt}static async createNewAppearanceStream(Fe,$e,Ye){const{color:tt,rect:ot,rotation:st,paths:dt,thickness:ct,opacity:mt}=Fe,[ut,rt,He,Je]=ot;let St=He-ut,bt=Je-rt;st%180!==0&&([St,bt]=[bt,St]);const pt=[`${ct} w 1 J 1 j`,`${(0,K.getPdfColor)(tt,!1)}`];mt!==1&&pt.push("/R0 gs");const wt=[];for(const{bezier:Wt}of dt){wt.length=0,wt.push(`${(0,U.numberToString)(Wt[0])} ${(0,U.numberToString)(Wt[1])} m`);for(let Mt=2,$t=Wt.length;Mt<$t;Mt+=6){const Yt=Wt.slice(Mt,Mt+6).map(U.numberToString).join(" ");wt.push(`${Yt} c`)}wt.push("S"),pt.push(wt.join(` +`),kr=new z.Dict($e);if(kr.set("FormType",1),kr.set("Subtype",z.Name.get("Form")),kr.set("Type",z.Name.get("XObject")),kr.set("BBox",[0,0,Nt,Vt]),kr.set("Length",Dr.length),kr.set("Resources",He),ut){const Ar=fe._getRotationMatrix(ut,Nt,Vt);kr.set("Matrix",Ar)}const cr=new Q.StringStream(Dr);return cr.dict=kr,cr}}class Ze extends xe{constructor(Ue){super(Ue);const{dict:$e}=Ue;this.data.annotationType=R.AnnotationType.LINE;const Ye=$e.getArray("L");if(this.data.lineCoordinates=R.Util.normalizeRect(Ye),this.setLineEndings($e.getArray("LE")),this.data.lineEndings=this.lineEndings,!this.appearance){const tt=this.color?Array.from(this.color).map(He=>He/255):[0,0,0],ot=$e.get("CA");let st=null,dt=$e.getArray("IC");dt&&(dt=se(dt,null),st=dt?Array.from(dt).map(He=>He/255):null);const ct=st?ot:null,mt=this.borderStyle.width||1,ut=2*mt,rt=[this.data.lineCoordinates[0]-ut,this.data.lineCoordinates[1]-ut,this.data.lineCoordinates[2]+ut,this.data.lineCoordinates[3]+ut];R.Util.intersect(this.rectangle,rt)||(this.rectangle=rt),this._setDefaultAppearance({xref:Ue.xref,extra:`${mt} w`,strokeColor:tt,fillColor:st,strokeAlpha:ot,fillAlpha:ct,pointsCallback:(He,Je)=>(He.push(`${Ye[0]} ${Ye[1]} m`,`${Ye[2]} ${Ye[3]} l`,"S"),[Je[0].x-mt,Je[1].x+mt,Je[3].y-mt,Je[1].y+mt])})}}}class ze extends xe{constructor(Ue){if(super(Ue),this.data.annotationType=R.AnnotationType.SQUARE,!this.appearance){const $e=this.color?Array.from(this.color).map(dt=>dt/255):[0,0,0],Ye=Ue.dict.get("CA");let tt=null,ot=Ue.dict.getArray("IC");ot&&(ot=se(ot,null),tt=ot?Array.from(ot).map(dt=>dt/255):null);const st=tt?Ye:null;if(this.borderStyle.width===0&&!tt)return;this._setDefaultAppearance({xref:Ue.xref,extra:`${this.borderStyle.width} w`,strokeColor:$e,fillColor:tt,strokeAlpha:Ye,fillAlpha:st,pointsCallback:(dt,ct)=>{const mt=ct[2].x+this.borderStyle.width/2,ut=ct[2].y+this.borderStyle.width/2,rt=ct[3].x-ct[2].x-this.borderStyle.width,He=ct[1].y-ct[3].y-this.borderStyle.width;return dt.push(`${mt} ${ut} ${rt} ${He} re`),tt?dt.push("B"):dt.push("S"),[ct[0].x,ct[1].x,ct[3].y,ct[1].y]}})}}}class Te extends xe{constructor(Ue){if(super(Ue),this.data.annotationType=R.AnnotationType.CIRCLE,!this.appearance){const $e=this.color?Array.from(this.color).map(ct=>ct/255):[0,0,0],Ye=Ue.dict.get("CA");let tt=null,ot=Ue.dict.getArray("IC");ot&&(ot=se(ot,null),tt=ot?Array.from(ot).map(ct=>ct/255):null);const st=tt?Ye:null;if(this.borderStyle.width===0&&!tt)return;const dt=4/3*Math.tan(Math.PI/(2*4));this._setDefaultAppearance({xref:Ue.xref,extra:`${this.borderStyle.width} w`,strokeColor:$e,fillColor:tt,strokeAlpha:Ye,fillAlpha:st,pointsCallback:(ct,mt)=>{const ut=mt[0].x+this.borderStyle.width/2,rt=mt[0].y-this.borderStyle.width/2,He=mt[3].x-this.borderStyle.width/2,Je=mt[3].y+this.borderStyle.width/2,St=ut+(He-ut)/2,bt=rt+(Je-rt)/2,pt=(He-ut)/2*dt,wt=(Je-rt)/2*dt;return ct.push(`${St} ${Je} m`,`${St+pt} ${Je} ${He} ${bt+wt} ${He} ${bt} c`,`${He} ${bt-wt} ${St+pt} ${rt} ${St} ${rt} c`,`${St-pt} ${rt} ${ut} ${bt-wt} ${ut} ${bt} c`,`${ut} ${bt+wt} ${St-pt} ${Je} ${St} ${Je} c`,"h"),tt?ct.push("B"):ct.push("S"),[mt[0].x,mt[1].x,mt[3].y,mt[1].y]}})}}}class Fe extends xe{constructor(Ue){super(Ue);const{dict:$e}=Ue;this.data.annotationType=R.AnnotationType.POLYLINE,this.data.vertices=[],this instanceof Pe||(this.setLineEndings($e.getArray("LE")),this.data.lineEndings=this.lineEndings);const Ye=$e.getArray("Vertices");if(Array.isArray(Ye)){for(let tt=0,ot=Ye.length;ttmt/255):[0,0,0],ot=$e.get("CA"),st=this.borderStyle.width||1,dt=2*st,ct=[1/0,1/0,-1/0,-1/0];for(const mt of this.data.vertices)ct[0]=Math.min(ct[0],mt.x-dt),ct[1]=Math.min(ct[1],mt.y-dt),ct[2]=Math.max(ct[2],mt.x+dt),ct[3]=Math.max(ct[3],mt.y+dt);R.Util.intersect(this.rectangle,ct)||(this.rectangle=ct),this._setDefaultAppearance({xref:Ue.xref,extra:`${st} w`,strokeColor:tt,strokeAlpha:ot,pointsCallback:(mt,ut)=>{const rt=this.data.vertices;for(let He=0,Je=rt.length;Hemt/255):[0,0,0],ot=Ue.dict.get("CA"),st=this.borderStyle.width||1,dt=2*st,ct=[1/0,1/0,-1/0,-1/0];for(const mt of this.data.inkLists)for(const ut of mt)ct[0]=Math.min(ct[0],ut.x-dt),ct[1]=Math.min(ct[1],ut.y-dt),ct[2]=Math.max(ct[2],ut.x+dt),ct[3]=Math.max(ct[3],ut.y+dt);R.Util.intersect(this.rectangle,ct)||(this.rectangle=ct),this._setDefaultAppearance({xref:Ue.xref,extra:`${st} w`,strokeColor:tt,strokeAlpha:ot,pointsCallback:(mt,ut)=>{for(const rt of this.data.inkLists){for(let He=0,Je=rt.length;Hert.points)),mt.set("F",4),mt.set("Border",[0,0,0]),mt.set("Rotate",ct);const ut=new z.Dict($e);return mt.set("AP",ut),tt?ut.set("N",tt):ut.set("N",ot),mt}static async createNewAppearanceStream(Ue,$e,Ye){const{color:tt,rect:ot,rotation:st,paths:dt,thickness:ct,opacity:mt}=Ue,[ut,rt,He,Je]=ot;let St=He-ut,bt=Je-rt;st%180!==0&&([St,bt]=[bt,St]);const pt=[`${ct} w 1 J 1 j`,`${(0,K.getPdfColor)(tt,!1)}`];mt!==1&&pt.push("/R0 gs");const wt=[];for(const{bezier:Wt}of dt){wt.length=0,wt.push(`${(0,U.numberToString)(Wt[0])} ${(0,U.numberToString)(Wt[1])} m`);for(let Mt=2,$t=Wt.length;Mt<$t;Mt+=6){const Yt=Wt.slice(Mt,Mt+6).map(U.numberToString).join(" ");wt.push(`${Yt} c`)}wt.push("S"),pt.push(wt.join(` `))}const Pt=pt.join(` -`),Nt=new z.Dict($e);if(Nt.set("FormType",1),Nt.set("Subtype",z.Name.get("Form")),Nt.set("Type",z.Name.get("XObject")),Nt.set("BBox",[0,0,St,bt]),Nt.set("Length",Pt.length),st){const Wt=fe._getRotationMatrix(st,St,bt);Nt.set("Matrix",Wt)}if(mt!==1){const Wt=new z.Dict($e),Mt=new z.Dict($e),$t=new z.Dict($e);$t.set("CA",mt),$t.set("Type",z.Name.get("ExtGState")),Mt.set("R0",$t),Wt.set("ExtGState",Mt),Nt.set("Resources",Wt)}const Vt=new Q.StringStream(Pt);return Vt.dict=Nt,Vt}}class Be extends xe{constructor(Fe){if(super(Fe),this.data.annotationType=R.AnnotationType.HIGHLIGHT,this.data.quadPoints=se(Fe.dict,null)){const Ye=this.appearance&&this.appearance.dict.get("Resources");if(!this.appearance||!(Ye&&Ye.has("ExtGState"))){this.appearance&&(0,R.warn)("HighlightAnnotation - ignoring built-in appearance stream.");const tt=this.color?Array.from(this.color).map(st=>st/255):[1,1,0],ot=Fe.dict.get("CA");this._setDefaultAppearance({xref:Fe.xref,fillColor:tt,blendMode:"Multiply",fillAlpha:ot,pointsCallback:(st,dt)=>(st.push(`${dt[0].x} ${dt[0].y} m`,`${dt[1].x} ${dt[1].y} l`,`${dt[3].x} ${dt[3].y} l`,`${dt[2].x} ${dt[2].y} l`,"f"),[dt[0].x,dt[1].x,dt[3].y,dt[1].y])})}}else this.data.hasPopup=!1}}class Ke extends xe{constructor(Fe){if(super(Fe),this.data.annotationType=R.AnnotationType.UNDERLINE,this.data.quadPoints=se(Fe.dict,null)){if(!this.appearance){const Ye=this.color?Array.from(this.color).map(ot=>ot/255):[0,0,0],tt=Fe.dict.get("CA");this._setDefaultAppearance({xref:Fe.xref,extra:"[] 0 d 1 w",strokeColor:Ye,strokeAlpha:tt,pointsCallback:(ot,st)=>(ot.push(`${st[2].x} ${st[2].y} m`,`${st[3].x} ${st[3].y} l`,"S"),[st[0].x,st[1].x,st[3].y,st[1].y])})}}else this.data.hasPopup=!1}}class Ve extends xe{constructor(Fe){if(super(Fe),this.data.annotationType=R.AnnotationType.SQUIGGLY,this.data.quadPoints=se(Fe.dict,null)){if(!this.appearance){const Ye=this.color?Array.from(this.color).map(ot=>ot/255):[0,0,0],tt=Fe.dict.get("CA");this._setDefaultAppearance({xref:Fe.xref,extra:"[] 0 d 1 w",strokeColor:Ye,strokeAlpha:tt,pointsCallback:(ot,st)=>{const dt=(st[0].y-st[2].y)/6;let ct=dt,mt=st[2].x;const ut=st[2].y,rt=st[3].x;ot.push(`${mt} ${ut+ct} m`);do mt+=2,ct=ct===0?dt:0,ot.push(`${mt} ${ut+ct} l`);while(mtot/255):[0,0,0],tt=Fe.dict.get("CA");this._setDefaultAppearance({xref:Fe.xref,extra:"[] 0 d 1 w",strokeColor:Ye,strokeAlpha:tt,pointsCallback:(ot,st)=>(ot.push(`${(st[0].x+st[2].x)/2} ${(st[0].y+st[2].y)/2} m`,`${(st[1].x+st[3].x)/2} ${(st[1].y+st[3].y)/2} l`,"S"),[st[0].x,st[1].x,st[3].y,st[1].y])})}}else this.data.hasPopup=!1}}class Le extends xe{constructor(Fe){super(Fe),this.data.annotationType=R.AnnotationType.STAMP}}class et extends xe{constructor(Fe){super(Fe);const $e=new X.FileSpec(Fe.dict.get("FS"),Fe.xref);this.data.annotationType=R.AnnotationType.FILEATTACHMENT,this.data.file=$e.serializable}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.createDefaultAppearance=X,D.getPdfColor=J,D.parseDefaultAppearance=he;var R=B(131),U=B(2),K=B(139),z=B(140),e=B(130),ae=B(135);class ie extends z.EvaluatorPreprocessor{constructor(L){super(new ae.StringStream(L))}parse(){const L={fn:0,args:[]},Q={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;L.args.length=0,!!this.read(L);){if(this.savedStatesDepth!==0)continue;const{fn:ce,args:de}=L;switch(ce|0){case U.OPS.setFont:const[oe,se]=de;oe instanceof e.Name&&(Q.fontName=oe.name),typeof se=="number"&&se>0&&(Q.fontSize=se);break;case U.OPS.setFillRGBColor:K.ColorSpace.singletons.rgb.getRgbItem(de,0,Q.fontColor,0);break;case U.OPS.setFillGray:K.ColorSpace.singletons.gray.getRgbItem(de,0,Q.fontColor,0);break;case U.OPS.setFillColorSpace:K.ColorSpace.singletons.cmyk.getRgbItem(de,0,Q.fontColor,0);break}}}catch(ce){(0,U.warn)(`parseDefaultAppearance - ignoring errors: "${ce}".`)}return Q}}function he(W){return new ie(W).parse()}function J(W,L){if(W[0]===W[1]&&W[1]===W[2]){const Q=W[0]/255;return`${(0,R.numberToString)(Q)} ${L?"g":"G"}`}return Array.from(W).map(Q=>(0,R.numberToString)(Q/255)).join(" ")+` ${L?"rg":"RG"}`}function X(W){let{fontSize:L,fontName:Q,fontColor:ce}=W;return`/${(0,R.escapePDFName)(Q)} ${L} Tf ${J(ce,!0)}`}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ColorSpace=void 0;var R=B(2),U=B(130),K=B(132),z=B(131);function e(oe,se,me,Ee,ke,xe,fe){fe=fe!==1?0:fe;const ye=me/ke,Ce=Ee/xe;let pe=0,_e;const Ge=new Uint16Array(ke),Te=me*3;for(let Ne=0;NeGe&&this.name!=="DeviceGray"&&this.name!=="DeviceRGB"){const Ne=ve<=8?new Uint8Array(Ge):new Uint16Array(Ge);for(let ze=0;ze2&&arguments[2]!==void 0?arguments[2]:null,ke=arguments.length>3?arguments[3]:void 0;if(se=me.fetchIfRef(se),se instanceof U.Name)switch(se.name){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"Pattern":return new he(null);default:if(Ee instanceof U.Dict){const xe=Ee.get("ColorSpace");if(xe instanceof U.Dict){const fe=xe.get(se.name);if(fe){if(fe instanceof U.Name)return this._parse(fe,me,Ee,ke);se=fe;break}}}throw new R.FormatError(`Unrecognized ColorSpace: ${se.name}`)}if(Array.isArray(se)){const xe=me.fetchIfRef(se[0]).name;let fe,ve,ye,Ce,pe,_e;switch(xe){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"CalGray":return fe=me.fetchIfRef(se[1]),Ce=fe.getArray("WhitePoint"),pe=fe.getArray("BlackPoint"),_e=fe.get("Gamma"),new Q(Ce,pe,_e);case"CalRGB":fe=me.fetchIfRef(se[1]),Ce=fe.getArray("WhitePoint"),pe=fe.getArray("BlackPoint"),_e=fe.getArray("Gamma");const Ge=fe.getArray("Matrix");return new ce(Ce,pe,_e,Ge);case"ICCBased":const Ne=me.fetchIfRef(se[1]).dict;ve=Ne.get("N");const Ze=Ne.get("Alternate");if(Ze){const Ie=this._parse(Ze,me,Ee,ke);if(Ie.numComps===ve)return Ie;(0,R.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(ve===1)return this.singletons.gray;if(ve===3)return this.singletons.rgb;if(ve===4)return this.singletons.cmyk;break;case"Pattern":return ye=se[1]||null,ye&&(ye=this._parse(ye,me,Ee,ke)),new he(ye);case"I":case"Indexed":ye=this._parse(se[1],me,Ee,ke);const ze=me.fetchIfRef(se[2])+1,Ae=me.fetchIfRef(se[3]);return new J(ye,ze,Ae);case"Separation":case"DeviceN":const De=me.fetchIfRef(se[1]);ve=Array.isArray(De)?De.length:1,ye=this._parse(se[2],me,Ee,ke);const Ue=ke.create(se[3]);return new ie(ve,ye,Ue);case"Lab":fe=me.fetchIfRef(se[1]),Ce=fe.getArray("WhitePoint"),pe=fe.getArray("BlackPoint");const we=fe.getArray("Range");return new de(Ce,pe,we);default:throw new R.FormatError(`Unimplemented ColorSpace object: ${xe}`)}}throw new R.FormatError(`Unrecognized ColorSpace object: ${se}`)}static isDefaultDecode(se,me){if(!Array.isArray(se))return!0;if(me*2!==se.length)return(0,R.warn)("The decode map is not the correct length"),!0;for(let Ee=0,ke=se.length;Ee=.99554525?1:Te(0,1,(1+.055)*we**(1/2.4)-.055)}function Te(we,Ie,Be){return Math.max(we,Math.min(Ie,Be))}function Ne(we){return we<0?-Ne(-we):we>8?((we+16)/116)**3:we*ye}function Ze(we,Ie,Be){if(we[0]===0&&we[1]===0&&we[2]===0){Be[0]=Ie[0],Be[1]=Ie[1],Be[2]=Ie[2];return}const Ke=Ne(0),Ve=Ke,je=Ne(we[0]),Le=Ke,et=Ne(we[1]),Qe=Ke,Fe=Ne(we[2]),$e=(1-Ve)/(1-je),Ye=1-$e,tt=(1-Le)/(1-et),ot=1-tt,st=(1-Qe)/(1-Fe),dt=1-st;Be[0]=Ie[0]*$e+Ye,Be[1]=Ie[1]*tt+ot,Be[2]=Ie[2]*st+dt}function ze(we,Ie,Be){if(we[0]===1&&we[2]===1){Be[0]=Ie[0],Be[1]=Ie[1],Be[2]=Ie[2];return}const Ke=Be;Ce(se,Ie,Ke);const Ve=xe;pe(we,Ke,Ve),Ce(me,Ve,Be)}function Ae(we,Ie,Be){const Ke=Be;Ce(se,Ie,Ke);const Ve=xe;_e(we,Ke,Ve),Ce(me,Ve,Be)}function De(we,Ie,Be,Ke,Ve,je){const Le=Te(0,1,Ie[Be]*je),et=Te(0,1,Ie[Be+1]*je),Qe=Te(0,1,Ie[Be+2]*je),Fe=Le===1?1:Le**we.GR,$e=et===1?1:et**we.GG,Ye=Qe===1?1:Qe**we.GB,tt=we.MXA*Fe+we.MXB*$e+we.MXC*Ye,ot=we.MYA*Fe+we.MYB*$e+we.MYC*Ye,st=we.MZA*Fe+we.MZB*$e+we.MZC*Ye,dt=fe;dt[0]=tt,dt[1]=ot,dt[2]=st;const ct=ve;ze(we.whitePoint,dt,ct);const mt=fe;Ze(we.blackPoint,ct,mt);const ut=ve;Ae(ke,mt,ut);const rt=fe;Ce(Ee,ut,rt),Ke[Ve]=Ge(rt[0])*255,Ke[Ve+1]=Ge(rt[1])*255,Ke[Ve+2]=Ge(rt[2])*255}class Ue extends ae{constructor(Ie,Be,Ke,Ve){if(super("CalRGB",3),!Ie)throw new R.FormatError("WhitePoint missing - required for color space CalRGB");Be=Be||new Float32Array(3),Ke=Ke||new Float32Array([1,1,1]),Ve=Ve||new Float32Array([1,0,0,0,1,0,0,0,1]);const je=Ie[0],Le=Ie[1],et=Ie[2];this.whitePoint=Ie;const Qe=Be[0],Fe=Be[1],$e=Be[2];if(this.blackPoint=Be,this.GR=Ke[0],this.GG=Ke[1],this.GB=Ke[2],this.MXA=Ve[0],this.MYA=Ve[1],this.MZA=Ve[2],this.MXB=Ve[3],this.MYB=Ve[4],this.MZB=Ve[5],this.MXC=Ve[6],this.MYC=Ve[7],this.MZC=Ve[8],je<0||et<0||Le!==1)throw new R.FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);(Qe<0||Fe<0||$e<0)&&((0,R.info)(`Invalid BlackPoint for ${this.name} [${Qe}, ${Fe}, ${$e}], falling back to default.`),this.blackPoint=new Float32Array(3)),(this.GR<0||this.GG<0||this.GB<0)&&((0,R.info)(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ${this.name}, falling back to default.`),this.GR=this.GG=this.GB=1)}getRgbItem(Ie,Be,Ke,Ve){De(this,Ie,Be,Ke,Ve,1)}getRgbBuffer(Ie,Be,Ke,Ve,je,Le,et){const Qe=1/((1<=6/29?fe=xe**3:fe=108/841*(xe-4/29),fe}function me(xe,fe,ve,ye){return ve+xe*(ye-ve)/fe}function Ee(xe,fe,ve,ye,Ce,pe){let _e=fe[ve],Ge=fe[ve+1],Te=fe[ve+2];ye!==!1&&(_e=me(_e,ye,0,100),Ge=me(Ge,ye,xe.amin,xe.amax),Te=me(Te,ye,xe.bmin,xe.bmax)),Ge>xe.amax?Ge=xe.amax:Gexe.bmax?Te=xe.bmax:Tethis.amax||this.bmin>this.bmax)&&((0,R.info)("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}getRgbItem(fe,ve,ye,Ce){Ee(this,fe,ve,!1,ye,Ce)}getRgbBuffer(fe,ve,ye,Ce,pe,_e,Ge){const Te=(1<<_e)-1;for(let Ne=0;Ne{Object.defineProperty(D,"__esModule",{value:!0}),D.PartialEvaluator=D.EvaluatorPreprocessor=void 0;var R=B(2),U=B(141),K=B(130),z=B(159),e=B(163),ae=B(162),ie=B(166),he=B(165),J=B(175),X=B(176),W=B(167),L=B(182),Q=B(142),ce=B(184),de=B(135),oe=B(132),se=B(185),me=B(139),Ee=B(144),ke=B(164),xe=B(131),fe=B(170),ve=B(186),ye=B(187),Ce=B(188);const pe=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),_e={TILING:1,SHADING:2},Ge=10,Te=Promise.resolve();function Ne(Ke){let Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Array.isArray(Ke)){for(let je=0,Le=Ke.length;je0&&Ke.args[0].count++}class ze{static get TIME_SLOT_DURATION_MS(){return(0,R.shadow)(this,"TIME_SLOT_DURATION_MS",20)}static get CHECK_TIME_EVERY(){return(0,R.shadow)(this,"CHECK_TIME_EVERY",100)}constructor(){this.reset()}check(){return++this.checked0&&arguments[0]!==void 0?arguments[0]:null;const je=Object.create(this);return je.options=Object.assign(Object.create(null),this.options,Ve),je}hasBlendModes(Ve,je){if(!(Ve instanceof K.Dict)||Ve.objId&&je.has(Ve.objId))return!1;const Le=new K.RefSet(je);Ve.objId&&Le.put(Ve.objId);const et=[Ve],Qe=this.xref;for(;et.length;){const Fe=et.shift(),$e=Fe.get("ExtGState");if($e instanceof K.Dict)for(let tt of $e.getRawValues()){if(tt instanceof K.Ref){if(Le.has(tt))continue;try{tt=Qe.fetch(tt)}catch(st){Le.put(tt),(0,R.info)(`hasBlendModes - ignoring ExtGState: "${st}".`);continue}}if(!(tt instanceof K.Dict))continue;tt.objId&&Le.put(tt.objId);const ot=tt.get("BM");if(ot instanceof K.Name){if(ot.name!=="Normal")return!0;continue}if(ot!==void 0&&Array.isArray(ot)){for(const st of ot)if(st instanceof K.Name&&st.name!=="Normal")return!0}}const Ye=Fe.get("XObject");if(Ye instanceof K.Dict)for(let tt of Ye.getRawValues()){if(tt instanceof K.Ref){if(Le.has(tt))continue;try{tt=Qe.fetch(tt)}catch(st){Le.put(tt),(0,R.info)(`hasBlendModes - ignoring XObject: "${st}".`);continue}}if(!(tt instanceof oe.BaseStream))continue;tt.dict.objId&&Le.put(tt.dict.objId);const ot=tt.dict.get("Resources");ot instanceof K.Dict&&(ot.objId&&Le.has(ot.objId)||(et.push(ot),ot.objId&&Le.put(ot.objId)))}}for(const Fe of Le)je.put(Fe);return!1}async fetchBuiltInCMap(Ve){const je=this.builtInCMapCache.get(Ve);if(je)return je;let Le;if(this.options.cMapUrl!==null){const et=`${this.options.cMapUrl}${Ve}.bcmap`,Qe=await fetch(et);if(!Qe.ok)throw new Error(`fetchBuiltInCMap: failed to fetch file "${et}" with "${Qe.statusText}".`);Le={cMapData:new Uint8Array(await Qe.arrayBuffer()),compressionType:R.CMapCompressionType.BINARY}}else Le=await this.handler.sendWithPromise("FetchBuiltInCMap",{name:Ve});return Le.compressionType!==R.CMapCompressionType.NONE&&this.builtInCMapCache.set(Ve,Le),Le}async fetchStandardFontData(Ve){const je=this.standardFontDataCache.get(Ve);if(je)return new de.Stream(je);if(this.options.useSystemFonts&&Ve!=="Symbol"&&Ve!=="ZapfDingbats")return null;const Le=(0,ie.getFontNameToFileMap)(),et=Le[Ve];let Qe;if(this.options.standardFontDataUrl!==null){const Fe=`${this.options.standardFontDataUrl}${et}`,$e=await fetch(Fe);$e.ok?Qe=await $e.arrayBuffer():(0,R.warn)(`fetchStandardFontData: failed to fetch file "${Fe}" with "${$e.statusText}".`)}else try{Qe=await this.handler.sendWithPromise("FetchStandardFontData",{filename:et})}catch(Fe){(0,R.warn)(`fetchStandardFontData: failed to fetch file "${et}" with "${Fe}".`)}return Qe?(this.standardFontDataCache.set(Ve,Qe),new de.Stream(Qe)):null}async buildFormXObject(Ve,je,Le,et,Qe,Fe,$e){const Ye=je.dict,tt=Ye.getArray("Matrix");let ot=Ye.getArray("BBox");Array.isArray(ot)&&ot.length===4?ot=R.Util.normalizeRect(ot):ot=null;let st,dt;Ye.has("OC")&&(st=await this.parseMarkedContentProps(Ye.get("OC"),Ve)),st!==void 0&&et.addOp(R.OPS.beginMarkedContentProps,["OC",st]);const ct=Ye.get("Group");if(ct){dt={matrix:tt,bbox:ot,smask:Le,isolated:!1,knockout:!1};const ut=ct.get("S");let rt=null;if((0,K.isName)(ut,"Transparency")&&(dt.isolated=ct.get("I")||!1,dt.knockout=ct.get("K")||!1,ct.has("CS"))){const He=ct.getRaw("CS"),Je=me.ColorSpace.getCached(He,this.xref,$e);Je?rt=Je:rt=await this.parseColorSpace({cs:He,resources:Ve,localColorSpaceCache:$e})}Le&&Le.backdrop&&(rt=rt||me.ColorSpace.singletons.rgb,Le.backdrop=rt.getRgb(Le.backdrop,0)),et.addOp(R.OPS.beginGroup,[dt])}const mt=ct?[tt,null]:[tt,ot];return et.addOp(R.OPS.paintFormXObjectBegin,mt),this.getOperatorList({stream:je,task:Qe,resources:Ye.get("Resources")||Ve,operatorList:et,initialState:Fe}).then(function(){et.addOp(R.OPS.paintFormXObjectEnd,[]),ct&&et.addOp(R.OPS.endGroup,[dt]),st!==void 0&&et.addOp(R.OPS.endMarkedContent,[])})}_sendImgData(Ve,je){let Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const et=je?[je.bitmap||je.data.buffer]:null;return this.parsingType3Font||Le?this.handler.send("commonobj",[Ve,"Image",je],et):this.handler.send("obj",[Ve,this.pageIndex,"Image",je],et)}async buildPaintImageXObject(Ve){let{resources:je,image:Le,isInline:et=!1,operatorList:Qe,cacheKey:Fe,localImageCache:$e,localColorSpaceCache:Ye}=Ve;const tt=Le.dict,ot=tt.objId,st=tt.get("W","Width"),dt=tt.get("H","Height");if(!(st&&typeof st=="number")||!(dt&&typeof dt=="number")){(0,R.warn)("Image dimensions are missing, or not numbers.");return}const ct=this.options.maxImageSize;if(ct!==-1&&st*dt>ct){const Pt="Image exceeded maximum allowed size and was removed.";if(this.options.ignoreErrors){(0,R.warn)(Pt);return}throw new Error(Pt)}let mt;tt.has("OC")&&(mt=await this.parseMarkedContentProps(tt.get("OC"),je));const ut=tt.get("IM","ImageMask")||!1;let rt,He;if(ut){const Pt=tt.get("I","Interpolate"),Nt=st+7>>3,Vt=Le.getBytes(Nt*dt),Wt=tt.getArray("D","Decode");if(this.parsingType3Font){rt=Ce.PDFImage.createRawMask({imgArray:Vt,width:st,height:dt,imageIsFromDecodeStream:Le instanceof Ee.DecodeStream,inverseDecode:!!Wt&&Wt[0]>0,interpolate:Pt}),rt.cached=!!Fe,He=[rt],Qe.addImageOps(R.OPS.paintImageMaskXObject,He,mt),Fe&&$e.set(Fe,ot,{fn:R.OPS.paintImageMaskXObject,args:He,optionalContent:mt});return}if(rt=Ce.PDFImage.createMask({imgArray:Vt,width:st,height:dt,imageIsFromDecodeStream:Le instanceof Ee.DecodeStream,inverseDecode:!!Wt&&Wt[0]>0,interpolate:Pt}),rt.isSingleOpaquePixel){Qe.addImageOps(R.OPS.paintSolidColorImageMask,[],mt),Fe&&$e.set(Fe,ot,{fn:R.OPS.paintSolidColorImageMask,args:[],optionalContent:mt});return}const Mt=`mask_${this.idFactory.createObjId()}`;Qe.addDependency(Mt),this._sendImgData(Mt,rt),He=[{data:Mt,width:rt.width,height:rt.height,interpolate:rt.interpolate,count:1}],Qe.addImageOps(R.OPS.paintImageMaskXObject,He,mt),Fe&&$e.set(Fe,ot,{fn:R.OPS.paintImageMaskXObject,args:He,optionalContent:mt});return}const Je=tt.get("SM","SMask")||!1,St=tt.get("Mask")||!1,bt=200;if(et&&!Je&&!St&&st+dt(rt=Pt.createImageData(!1),Fe&&ot&&wt&&this.globalImageCache.addByteSize(ot,rt.data.length),this._sendImgData(pt,rt,wt))).catch(Pt=>((0,R.warn)(`Unable to decode image "${pt}": "${Pt}".`),this._sendImgData(pt,null,wt))),Qe.addImageOps(R.OPS.paintImageXObject,He,mt),Fe&&($e.set(Fe,ot,{fn:R.OPS.paintImageXObject,args:He,optionalContent:mt}),ot&&((0,R.assert)(!et,"Cannot cache an inline image globally."),this.globalImageCache.addPageIndex(ot,this.pageIndex),wt&&this.globalImageCache.setData(ot,{objId:pt,fn:R.OPS.paintImageXObject,args:He,optionalContent:mt,byteSize:0})))}handleSMask(Ve,je,Le,et,Qe,Fe){const $e=Ve.get("G"),Ye={subtype:Ve.get("S").name,backdrop:Ve.get("BC")},tt=Ve.get("TR");if((0,L.isPDFFunction)(tt)){const ot=this._pdfFunctionFactory.create(tt),st=new Uint8Array(256),dt=new Float32Array(1);for(let ct=0;ct<256;ct++)dt[0]=ct/255,ot(dt,0,dt,0),st[ct]=dt[0]*255|0;Ye.transferMap=st}return this.buildFormXObject(je,$e,Ye,Le,et,Qe.state.clone(),Fe)}handleTransferFunction(Ve){let je;if(Array.isArray(Ve))je=Ve;else if((0,L.isPDFFunction)(Ve))je=[Ve];else return null;const Le=[];let et=0,Qe=0;for(const Fe of je){const $e=this.xref.fetchIfRef(Fe);if(et++,(0,K.isName)($e,"Identity")){Le.push(null);continue}else if(!(0,L.isPDFFunction)($e))return null;const Ye=this._pdfFunctionFactory.create($e),tt=new Uint8Array(256),ot=new Float32Array(1);for(let st=0;st<256;st++)ot[0]=st/255,Ye(ot,0,ot,0),tt[st]=ot[0]*255|0;Le.push(tt),Qe++}return!(et===1||et===4)||Qe===0?null:Le}handleTilingType(Ve,je,Le,et,Qe,Fe,$e,Ye){const tt=new ye.OperatorList,ot=K.Dict.merge({xref:this.xref,dictArray:[Qe.get("Resources"),Le]});return this.getOperatorList({stream:et,task:$e,resources:ot,operatorList:tt}).then(function(){const st=tt.getIR(),dt=(0,J.getTilingPatternIR)(st,Qe,je);Fe.addDependencies(tt.dependencies),Fe.addOp(Ve,dt),Qe.objId&&Ye.set(null,Qe.objId,{operatorListIR:st,dict:Qe})}).catch(st=>{if(!(st instanceof R.AbortException)){if(this.options.ignoreErrors){this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorTilingPattern}),(0,R.warn)(`handleTilingType - ignoring pattern: "${st}".`);return}throw st}})}handleSetFont(Ve,je,Le,et,Qe,Fe){let $e=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,Ye=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;const tt=je&&je[0]instanceof K.Name?je[0].name:null;return this.loadFont(tt,Le,Ve,$e,Ye).then(ot=>ot.font.isType3Font?ot.loadType3Data(this,Ve,Qe).then(function(){return et.addDependencies(ot.type3Dependencies),ot}).catch(st=>(this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontLoadType3}),new De({loadedName:"g_font_error",font:new z.ErrorFont(`Type3 font load error: ${st}`),dict:ot.font,evaluatorOptions:this.options}))):ot).then(ot=>(Fe.font=ot.font,ot.send(this.handler),ot.loadedName))}handleText(Ve,je){const Le=je.font,et=Le.charsToGlyphs(Ve);return Le.data&&(je.textRenderingMode&R.TextRenderingMode.ADD_TO_PATH_FLAG||je.fillColorSpace.name==="Pattern"||Le.disableFontFace||this.options.disableFontFace)&&Ae.buildFontPaths(Le,et,this.handler,this.options),et}ensureStateFont(Ve){if(Ve.font)return;const je=new R.FormatError("Missing setFont (Tf) operator before text rendering operator.");if(this.options.ignoreErrors){this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontState}),(0,R.warn)(`ensureStateFont: "${je}".`);return}throw je}async setGState(Ve){let{resources:je,gState:Le,operatorList:et,cacheKey:Qe,task:Fe,stateManager:$e,localGStateCache:Ye,localColorSpaceCache:tt}=Ve;const ot=Le.objId;let st=!0;const dt=[],ct=Le.getKeys();let mt=Promise.resolve();for(let ut=0,rt=ct.length;utthis.handleSetFont(je,null,Je[0],et,Fe,$e.state).then(function(bt){et.addDependency(bt),dt.push([He,[bt,Je[1]]])}));break;case"BM":dt.push([He,Ne(Je)]);break;case"SMask":if((0,K.isName)(Je,"None")){dt.push([He,!1]);break}Je instanceof K.Dict?(st=!1,mt=mt.then(()=>this.handleSMask(Je,je,et,Fe,$e,tt)),dt.push([He,!0])):(0,R.warn)("Unsupported SMask type");break;case"TR":const St=this.handleTransferFunction(Je);dt.push([He,St]);break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":(0,R.info)("graphic state operator "+He);break;default:(0,R.info)("Unknown graphic state operator "+He);break}}return mt.then(function(){dt.length>0&&et.addOp(R.OPS.setGState,[dt]),st&&Ye.set(Qe,ot,dt)})}loadFont(Ve,je,Le){let et=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,Qe=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;const Fe=async()=>new De({loadedName:"g_font_error",font:new z.ErrorFont(`Font "${Ve}" is not available.`),dict:je,evaluatorOptions:this.options}),$e=this.xref;let Ye;if(je)je instanceof K.Ref&&(Ye=je);else{const ut=Le.get("Font");ut&&(Ye=ut.getRaw(Ve))}if(!Ye){const ut=`Font "${Ve||je&&je.toString()}" is not available`;if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,R.warn)(`${ut}.`),Fe();this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontMissing}),(0,R.warn)(`${ut} -- attempting to fallback to a default font.`),et?Ye=et:Ye=Ae.fallbackFontDict}if(this.parsingType3Font&&this.type3FontRefs.has(Ye))return Fe();if(this.fontCache.has(Ye))return this.fontCache.get(Ye);if(je=$e.fetchIfRef(Ye),!(je instanceof K.Dict))return Fe();if(je.cacheKey&&this.fontCache.has(je.cacheKey))return this.fontCache.get(je.cacheKey);const tt=(0,R.createPromiseCapability)();let ot;try{ot=this.preEvaluateFont(je),ot.cssFontInfo=Qe}catch(ut){return(0,R.warn)(`loadFont - preEvaluateFont failed: "${ut}".`),Fe()}const{descriptor:st,hash:dt}=ot,ct=Ye instanceof K.Ref;let mt;if(ct&&(mt=`f${Ye.toString()}`),dt&&st instanceof K.Dict){st.fontAliases||(st.fontAliases=Object.create(null));const ut=st.fontAliases;if(ut[dt]){const rt=ut[dt].aliasRef;if(ct&&rt&&this.fontCache.has(rt))return this.fontCache.putAlias(Ye,rt),this.fontCache.get(Ye)}else ut[dt]={fontID:this.idFactory.createFontId()};ct&&(ut[dt].aliasRef=Ye),mt=ut[dt].fontID}return ct?this.fontCache.put(Ye,tt.promise):(mt||(mt=this.idFactory.createFontId()),je.cacheKey=`cacheKey_${mt}`,this.fontCache.put(je.cacheKey,tt.promise)),(0,R.assert)(mt&&mt.startsWith("f"),'The "fontID" must be (correctly) defined.'),je.loadedName=`${this.idFactory.getDocId()}_${mt}`,this.translateFont(ot).then(ut=>{ut.fontType!==void 0&&$e.stats.addFontType(ut.fontType),tt.resolve(new De({loadedName:je.loadedName,font:ut,dict:je,evaluatorOptions:this.options}))}).catch(ut=>{this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontTranslate}),(0,R.warn)(`loadFont - translateFont failed: "${ut}".`);try{const rt=st&&st.get("FontFile3"),He=rt&&rt.get("Subtype"),Je=(0,e.getFontType)(ot.type,He&&He.name);Je!==void 0&&$e.stats.addFontType(Je)}catch{}tt.resolve(new De({loadedName:je.loadedName,font:new z.ErrorFont(ut instanceof Error?ut.message:ut),dict:je,evaluatorOptions:this.options}))}),tt.promise}buildPath(Ve,je,Le){let et=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const Qe=Ve.length-1;Le||(Le=[]);let Fe;if(Qe<0||Ve.fnArray[Qe]!==R.OPS.constructPath)et&&((0,R.warn)(`Encountered path operator "${je}" inside of a text object.`),Ve.addOp(R.OPS.save,null)),Fe=[1/0,-1/0,1/0,-1/0],Ve.addOp(R.OPS.constructPath,[[je],Le,Fe]),et&&Ve.addOp(R.OPS.restore,null);else{const $e=Ve.argsArray[Qe];$e[0].push(je),Array.prototype.push.apply($e[1],Le),Fe=$e[2]}switch(je){case R.OPS.rectangle:Fe[0]=Math.min(Fe[0],Le[0],Le[0]+Le[2]),Fe[1]=Math.max(Fe[1],Le[0],Le[0]+Le[2]),Fe[2]=Math.min(Fe[2],Le[1],Le[1]+Le[3]),Fe[3]=Math.max(Fe[3],Le[1],Le[1]+Le[3]);break;case R.OPS.moveTo:case R.OPS.lineTo:Fe[0]=Math.min(Fe[0],Le[0]),Fe[1]=Math.max(Fe[1],Le[0]),Fe[2]=Math.min(Fe[2],Le[1]),Fe[3]=Math.max(Fe[3],Le[1]);break}}parseColorSpace(Ve){let{cs:je,resources:Le,localColorSpaceCache:et}=Ve;return me.ColorSpace.parseAsync({cs:je,xref:this.xref,resources:Le,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:et}).catch(Qe=>{if(Qe instanceof R.AbortException)return null;if(this.options.ignoreErrors)return this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorColorSpace}),(0,R.warn)(`parseColorSpace - ignoring ColorSpace: "${Qe}".`),null;throw Qe})}parseShading(Ve){let{shading:je,resources:Le,localColorSpaceCache:et,localShadingPatternCache:Qe}=Ve,Fe=Qe.get(je);if(!Fe){var $e=J.Pattern.parseShading(je,this.xref,Le,this.handler,this._pdfFunctionFactory,et);const Ye=$e.getIR();Fe=`pattern_${this.idFactory.createObjId()}`,Qe.set(je,Fe),this.handler.send("obj",[Fe,this.pageIndex,"Pattern",Ye])}return Fe}handleColorN(Ve,je,Le,et,Qe,Fe,$e,Ye,tt,ot){const st=Le.pop();if(st instanceof K.Name){const dt=Qe.getRaw(st.name),ct=dt instanceof K.Ref&&tt.getByRef(dt);if(ct)try{const ut=et.base?et.base.getRgb(Le,0):null,rt=(0,J.getTilingPatternIR)(ct.operatorListIR,ct.dict,ut);Ve.addOp(je,rt);return}catch{}const mt=this.xref.fetchIfRef(dt);if(mt){const ut=mt instanceof oe.BaseStream?mt.dict:mt,rt=ut.get("PatternType");if(rt===_e.TILING){const He=et.base?et.base.getRgb(Le,0):null;return this.handleTilingType(je,He,Fe,mt,ut,Ve,$e,tt)}else if(rt===_e.SHADING){const He=ut.get("Shading"),Je=ut.getArray("Matrix"),St=this.parseShading({shading:He,resources:Fe,localColorSpaceCache:Ye,localShadingPatternCache:ot});Ve.addOp(je,["Shading",St,Je]);return}throw new R.FormatError(`Unknown PatternType: ${rt}`)}}throw new R.FormatError(`Unknown PatternName: ${st}`)}_parseVisibilityExpression(Ve,je,Le){if(++je>10){(0,R.warn)("Visibility expression is too deeply nested");return}const Qe=Ve.length,Fe=this.xref.fetchIfRef(Ve[0]);if(Qe<2||!(Fe instanceof K.Name)){(0,R.warn)("Invalid visibility expression");return}switch(Fe.name){case"And":case"Or":case"Not":Le.push(Fe.name);break;default:(0,R.warn)(`Invalid operator ${Fe.name} in visibility expression`);return}for(let $e=1;$e0)return{type:"OCMD",expression:$e}}const Fe=Le.get("OCGs");if(Array.isArray(Fe)||Fe instanceof K.Dict){const $e=[];if(Array.isArray(Fe))for(const Ye of Fe)$e.push(Ye.toString());else $e.push(Fe.objId);return{type:et,ids:$e,policy:Le.get("P")instanceof K.Name?Le.get("P").name:null,expression:null}}else if(Fe instanceof K.Ref)return{type:et,id:Fe.toString()}}return null}getOperatorList(Ve){let{stream:je,task:Le,resources:et,operatorList:Qe,initialState:Fe=null,fallbackFontDict:$e=null}=Ve;if(et=et||K.Dict.empty,Fe=Fe||new Ie,!Qe)throw new Error('getOperatorList: missing "operatorList" parameter');const Ye=this,tt=this.xref;let ot=!1;const st=new ce.LocalImageCache,dt=new ce.LocalColorSpaceCache,ct=new ce.LocalGStateCache,mt=new ce.LocalTilingPatternCache,ut=new Map,rt=et.get("XObject")||K.Dict.empty,He=et.get("Pattern")||K.Dict.empty,Je=new Ue(Fe),St=new Be(je,tt,Je),bt=new ze;function pt(wt){for(let Pt=0,Nt=St.savedStatesDepth;Pt0&&Qe.addOp(R.OPS.setGState,[vt]),cr=null;continue}}Vt(new Promise(function(vt,Xt){if(!er)throw new R.FormatError("GState must be referred to by name.");const At=et.get("ExtGState");if(!(At instanceof K.Dict))throw new R.FormatError("ExtGState should be a dictionary.");const zt=At.get(Jt);if(!(zt instanceof K.Dict))throw new R.FormatError("GState should be a dictionary.");Ye.setGState({resources:et,gState:zt,operatorList:Qe,cacheKey:Jt,task:Le,stateManager:Je,localGStateCache:ct,localColorSpaceCache:dt}).then(vt,Xt)}).catch(function(vt){if(!(vt instanceof R.AbortException)){if(Ye.options.ignoreErrors){Ye.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorExtGState}),(0,R.warn)(`getOperatorList - ignoring ExtGState: "${vt}".`);return}throw vt}}));return;case R.OPS.moveTo:case R.OPS.lineTo:case R.OPS.curveTo:case R.OPS.curveTo2:case R.OPS.curveTo3:case R.OPS.closePath:case R.OPS.rectangle:Ye.buildPath(Qe,Ar,cr,ot);continue;case R.OPS.markPoint:case R.OPS.markPointProps:case R.OPS.beginCompat:case R.OPS.endCompat:continue;case R.OPS.beginMarkedContentProps:if(!(cr[0]instanceof K.Name)){(0,R.warn)(`Expected name for beginMarkedContentProps arg0=${cr[0]}`);continue}if(cr[0].name==="OC"){Vt(Ye.parseMarkedContentProps(cr[1],et).then(vt=>{Qe.addOp(R.OPS.beginMarkedContentProps,["OC",vt])}).catch(vt=>{if(!(vt instanceof R.AbortException)){if(Ye.options.ignoreErrors){Ye.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorMarkedContent}),(0,R.warn)(`getOperatorList - ignoring beginMarkedContentProps: "${vt}".`);return}throw vt}}));return}cr=[cr[0].name,cr[1]instanceof K.Dict?cr[1].get("MCID"):null];break;case R.OPS.beginMarkedContent:case R.OPS.endMarkedContent:default:if(cr!==null){for($t=0,Yt=cr.length;$t{if(!(wt instanceof R.AbortException)){if(this.options.ignoreErrors){this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorOperatorList}),(0,R.warn)(`getOperatorList - ignoring errors during "${Le.name}" task: "${wt}".`),pt();return}throw wt}})}getTextContent(Ve){let{stream:je,task:Le,resources:et,stateManager:Qe=null,combineTextItems:Fe=!1,includeMarkedContent:$e=!1,sink:Ye,seenStyles:tt=new Set,viewBox:ot}=Ve;et=et||K.Dict.empty,Qe=Qe||new Ue(new we);const st=(0,he.getNormalizedUnicodes)(),dt={items:[],styles:Object.create(null)},ct={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},mt=[" "," "];let ut=0;function rt(vt){const Xt=(ut+1)%2,At=mt[ut]!==" "&&mt[Xt]===" ";return mt[ut]=vt,ut=Xt,At}function He(){mt[0]=mt[1]=" ",ut=0}const Je=.1,St=.03,bt=-.2,pt=.1,wt=.6,Pt=this,Nt=this.xref,Vt=[];let Wt=null;const Mt=new ce.LocalImageCache,$t=new ce.LocalGStateCache,Yt=new Be(je,Nt,Qe);let Ft;function Jt(){const vt=Ft.font,Xt=[Ft.fontSize*Ft.textHScale,0,0,Ft.fontSize,0,Ft.textRise];if(vt.isType3Font&&(Ft.fontSize<=1||vt.isCharBBox)&&!(0,R.isArrayEqual)(Ft.fontMatrix,R.FONT_IDENTITY_MATRIX)){const At=vt.bbox[3]-vt.bbox[1];At>0&&(Xt[3]*=At*Ft.fontMatrix[3])}return R.Util.transform(Ft.ctm,R.Util.transform(Ft.textMatrix,Xt))}function er(){if(ct.initialized)return ct;const vt=Ft.font,Xt=vt.loadedName;tt.has(Xt)||(tt.add(Xt),dt.styles[Xt]={fontFamily:vt.fallbackName,ascent:vt.ascent,descent:vt.descent,vertical:vt.vertical}),ct.fontName=Xt;const At=ct.transform=Jt();vt.vertical?(ct.width=ct.totalWidth=Math.hypot(At[0],At[1]),ct.height=ct.totalHeight=0,ct.vertical=!0):(ct.width=ct.totalWidth=0,ct.height=ct.totalHeight=Math.hypot(At[2],At[3]),ct.vertical=!1);const zt=Math.hypot(Ft.textLineMatrix[0],Ft.textLineMatrix[1]),Br=Math.hypot(Ft.ctm[0],Ft.ctm[1]);return ct.textAdvanceScale=Br*zt,ct.trackingSpaceMin=Ft.fontSize*Je,ct.notASpace=Ft.fontSize*St,ct.negativeSpaceMax=Ft.fontSize*bt,ct.spaceInFlowMin=Ft.fontSize*pt,ct.spaceInFlowMax=Ft.fontSize*wt,ct.hasEOL=!1,ct.initialized=!0,ct}function Bt(){if(!ct.initialized)return;const vt=Math.hypot(Ft.textLineMatrix[0],Ft.textLineMatrix[1]),At=Math.hypot(Ft.ctm[0],Ft.ctm[1])*vt;At!==ct.textAdvanceScale&&(ct.vertical?(ct.totalHeight+=ct.height*ct.textAdvanceScale,ct.height=0):(ct.totalWidth+=ct.width*ct.textAdvanceScale,ct.width=0),ct.textAdvanceScale=At)}function It(vt){const Xt=vt.str.join(""),At=(0,se.bidi)(Xt,-1,vt.vertical);return{str:At.str,dir:At.dir,width:Math.abs(vt.totalWidth),height:Math.abs(vt.totalHeight),transform:vt.transform,fontName:vt.fontName,hasEOL:vt.hasEOL}}function Dt(vt,Xt){return Pt.loadFont(vt,Xt,et).then(function(At){return At.font.isType3Font?At.loadType3Data(Pt,et,Le).catch(function(){}).then(function(){return At}):At}).then(function(At){Ft.font=At.font,Ft.fontMatrix=At.font.fontMatrix||R.FONT_IDENTITY_MATRIX})}function Zt(vt,Xt,At){const zt=Math.hypot(At[0],At[1]);return[(At[0]*vt+At[1]*Xt)/zt,(At[2]*vt+At[3]*Xt)/zt]}function gr(){const vt=Jt();let Xt=vt[4],At=vt[5];const zt=Xt-ot[0],Br=At-ot[1];if(zt<0||zt>ot[2]||Br<0||Br>ot[3])return!1;if(!Fe||!Ft.font||!ct.prevTransform)return!0;let br=ct.prevTransform[4],Ur=ct.prevTransform[5];if(br===Xt&&Ur===At)return!0;let un=-1;switch(vt[0]&&vt[1]===0&&vt[2]===0?un=vt[0]>0?0:180:vt[1]&&vt[0]===0&&vt[3]===0&&(un=vt[1]>0?90:270),un){case 0:break;case 90:[Xt,At]=[At,Xt],[br,Ur]=[Ur,br];break;case 180:[Xt,At,br,Ur]=[-Xt,-At,-br,-Ur];break;case 270:[Xt,At]=[-At,-Xt],[br,Ur]=[-Ur,-br];break;default:[Xt,At]=Zt(Xt,At,vt),[br,Ur]=Zt(br,Ur,ct.prevTransform)}if(Ft.font.vertical){const Tr=(Ur-At)/ct.textAdvanceScale,jt=Xt-br,Wr=Math.sign(ct.height);return Tr.5*ct.width?(Dr(),!0):(He(),cr(),!0):Math.abs(jt)>ct.width?(Dr(),!0):(Tr<=Wr*ct.notASpace&&He(),Tr<=Wr*ct.trackingSpaceMin?ct.height+=Tr:kr(Tr,ct.prevTransform,Wr)||(ct.str.length===0?(He(),dt.items.push({str:" ",dir:"ltr",width:0,height:Math.abs(Tr),transform:ct.prevTransform,fontName:ct.fontName,hasEOL:!1})):ct.height+=Tr),!0)}const sr=(Xt-br)/ct.textAdvanceScale,ur=At-Ur,Cr=Math.sign(ct.width);return sr.5*ct.height?(Dr(),!0):(He(),cr(),!0):Math.abs(ur)>ct.height?(Dr(),!0):(sr<=Cr*ct.notASpace&&He(),sr<=Cr*ct.trackingSpaceMin?ct.width+=sr:kr(sr,ct.prevTransform,Cr)||(ct.str.length===0?(He(),dt.items.push({str:" ",dir:"ltr",width:Math.abs(sr),height:0,transform:ct.prevTransform,fontName:ct.fontName,hasEOL:!1})):ct.width+=sr),!0)}function fr(vt){let{chars:Xt,extraSpacing:At}=vt;const zt=Ft.font;if(!Xt){const Ur=Ft.charSpacing+At;Ur&&(zt.vertical?Ft.translateTextMatrix(0,-Ur):Ft.translateTextMatrix(Ur*Ft.textHScale,0));return}const Br=zt.charsToGlyphs(Xt),br=Ft.fontMatrix[0]*Ft.fontSize;for(let Ur=0,un=Br.length;Ur0&&arguments[0]!==void 0?arguments[0]:!1;const Xt=dt.items.length;Xt!==0&&(vt&&Xt0){const Gr=Vt.join("");Vt.length=0,fr({chars:Gr,extraSpacing:0})}break;case R.OPS.showText:if(!Qe.state.font){Pt.ensureStateFont(Qe.state);continue}fr({chars:Ur[0],extraSpacing:0});break;case R.OPS.nextLineShowText:if(!Qe.state.font){Pt.ensureStateFont(Qe.state);continue}Ft.carriageReturn(),fr({chars:Ur[0],extraSpacing:0});break;case R.OPS.nextLineSetSpacingShowText:if(!Qe.state.font){Pt.ensureStateFont(Qe.state);continue}Ft.wordSpacing=Ur[0],Ft.charSpacing=Ur[1],Ft.carriageReturn(),fr({chars:Ur[2],extraSpacing:0});break;case R.OPS.paintXObject:cr(),Wt||(Wt=et.get("XObject")||K.Dict.empty);var ur=Ur[0]instanceof K.Name,Cr=Ur[0].name;if(ur&&Mt.getByName(Cr))break;zt(new Promise(function(Gr,Jr){if(!ur)throw new R.FormatError("XObject must be referred to by name.");let Xr=Wt.getRaw(Cr);if(Xr instanceof K.Ref){if(Mt.getByRef(Xr)){Gr();return}if(Pt.globalImageCache.getData(Xr,Pt.pageIndex)){Gr();return}Xr=Nt.fetch(Xr)}if(!(Xr instanceof oe.BaseStream))throw new R.FormatError("XObject should be a stream");const fn=Xr.dict.get("Subtype");if(!(fn instanceof K.Name))throw new R.FormatError("XObject should have a Name subtype");if(fn.name!=="Form"){Mt.set(Cr,Xr.dict.objId,!0),Gr();return}const cn=Qe.state.clone(),nn=new Ue(cn),ar=Xr.dict.getArray("Matrix");Array.isArray(ar)&&ar.length===6&&nn.transform(ar),Ar();const xr={enqueueInvoked:!1,enqueue(Lr,Rr){this.enqueueInvoked=!0,Ye.enqueue(Lr,Rr)},get desiredSize(){return Ye.desiredSize},get ready(){return Ye.ready}};Pt.getTextContent({stream:Xr,task:Le,resources:Xr.dict.get("Resources")||et,stateManager:nn,combineTextItems:Fe,includeMarkedContent:$e,sink:xr,seenStyles:tt,viewBox:ot}).then(function(){xr.enqueueInvoked||Mt.set(Cr,Xr.dict.objId,!0),Gr()},Jr)}).catch(function(Gr){if(!(Gr instanceof R.AbortException)){if(Pt.options.ignoreErrors){(0,R.warn)(`getTextContent - ignoring XObject: "${Gr}".`);return}throw Gr}}));return;case R.OPS.setGState:if(ur=Ur[0]instanceof K.Name,Cr=Ur[0].name,ur&&$t.getByName(Cr))break;zt(new Promise(function(Gr,Jr){if(!ur)throw new R.FormatError("GState must be referred to by name.");const Xr=et.get("ExtGState");if(!(Xr instanceof K.Dict))throw new R.FormatError("ExtGState should be a dictionary.");const fn=Xr.get(Cr);if(!(fn instanceof K.Dict))throw new R.FormatError("GState should be a dictionary.");const cn=fn.get("Font");if(!cn){$t.set(Cr,fn.objId,!0),Gr();return}cr(),Ft.fontName=null,Ft.fontSize=cn[1],Dt(null,cn[0]).then(Gr,Jr)}).catch(function(Gr){if(!(Gr instanceof R.AbortException)){if(Pt.options.ignoreErrors){(0,R.warn)(`getTextContent - ignoring ExtGState: "${Gr}".`);return}throw Gr}}));return;case R.OPS.beginMarkedContent:cr(),$e&&dt.items.push({type:"beginMarkedContent",tag:Ur[0]instanceof K.Name?Ur[0].name:null});break;case R.OPS.beginMarkedContentProps:if(cr(),$e){let Gr=null;Ur[1]instanceof K.Dict&&(Gr=Ur[1].get("MCID")),dt.items.push({type:"beginMarkedContentProps",id:Number.isInteger(Gr)?`${Pt.idFactory.getPageObjId()}_mcid${Gr}`:null,tag:Ur[0]instanceof K.Name?Ur[0].name:null})}break;case R.OPS.endMarkedContent:cr(),$e&&dt.items.push({type:"endMarkedContent"});break}if(dt.items.length>=Ye.desiredSize){br=!0;break}}if(br){zt(Te);return}cr(),Ar(),Xt()}).catch(vt=>{if(!(vt instanceof R.AbortException)){if(this.options.ignoreErrors){(0,R.warn)(`getTextContent - ignoring errors during "${Le.name}" task: "${vt}".`),cr(),Ar();return}throw vt}})}extractDataStructures(Ve,je,Le){const et=this.xref;let Qe;const Fe=this.readToUnicode(Le.toUnicode||Ve.get("ToUnicode")||je.get("ToUnicode"));if(Le.composite){const ot=Ve.get("CIDSystemInfo");ot instanceof K.Dict&&(Le.cidSystemInfo={registry:(0,R.stringToPDFString)(ot.get("Registry")),ordering:(0,R.stringToPDFString)(ot.get("Ordering")),supplement:ot.get("Supplement")});try{const st=Ve.get("CIDToGIDMap");st instanceof oe.BaseStream&&(Qe=st.getBytes())}catch(st){if(!this.options.ignoreErrors)throw st;(0,R.warn)(`extractDataStructures - ignoring CIDToGIDMap data: "${st}".`)}}const $e=[];let Ye=null,tt;if(Ve.has("Encoding")){if(tt=Ve.get("Encoding"),tt instanceof K.Dict){if(Ye=tt.get("BaseEncoding"),Ye=Ye instanceof K.Name?Ye.name:null,tt.has("Differences")){const ot=tt.get("Differences");let st=0;for(let dt=0,ct=ot.length;dt0,Le.dict=Ve,Fe.then(ot=>(Le.toUnicode=ot,this.buildToUnicode(Le))).then(ot=>(Le.toUnicode=ot,Qe&&(Le.cidToGidMap=this.readCidToGidMap(Qe,ot)),Le))}_simpleFontToUnicode(Ve){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,R.assert)(!Ve.composite,"Must be a simple font.");const Le=[],et=Ve.defaultEncoding.slice(),Qe=Ve.baseEncodingName,Fe=Ve.differences;for(const Ye in Fe){const tt=Fe[Ye];tt!==".notdef"&&(et[Ye]=tt)}const $e=(0,ke.getGlyphsUnicode)();for(const Ye in et){let tt=et[Ye];if(tt!==""){if($e[tt]===void 0){let ot=0;switch(tt[0]){case"G":tt.length===3&&(ot=parseInt(tt.substring(1),16));break;case"g":tt.length===5&&(ot=parseInt(tt.substring(1),16));break;case"C":case"c":if(tt.length>=3&&tt.length<=4){const dt=tt.substring(1);if(je){ot=parseInt(dt,16);break}if(ot=+dt,Number.isNaN(ot)&&Number.isInteger(parseInt(dt,16)))return this._simpleFontToUnicode(Ve,!0)}break;default:const st=(0,he.getUnicodeForGlyph)(tt,$e);st!==-1&&(ot=st)}if(ot>0&&ot<=1114111&&Number.isInteger(ot)){if(Qe&&ot===+Ye){const st=(0,ae.getEncoding)(Qe);if(st&&(tt=st[Ye])){Le[Ye]=String.fromCharCode($e[tt]);continue}}Le[Ye]=String.fromCodePoint(ot)}continue}Le[Ye]=String.fromCharCode($e[tt])}}return Le}async buildToUnicode(Ve){if(Ve.hasIncludedToUnicodeMap=!!Ve.toUnicode&&Ve.toUnicode.length>0,Ve.hasIncludedToUnicodeMap)return!Ve.composite&&Ve.hasEncoding&&(Ve.fallbackToUnicode=this._simpleFontToUnicode(Ve)),Ve.toUnicode;if(!Ve.composite)return new W.ToUnicodeMap(this._simpleFontToUnicode(Ve));if(Ve.composite&&(Ve.cMap.builtInCMap&&!(Ve.cMap instanceof U.IdentityCMap)||Ve.cidSystemInfo.registry==="Adobe"&&(Ve.cidSystemInfo.ordering==="GB1"||Ve.cidSystemInfo.ordering==="CNS1"||Ve.cidSystemInfo.ordering==="Japan1"||Ve.cidSystemInfo.ordering==="Korea1"))){const{registry:je,ordering:Le}=Ve.cidSystemInfo,et=K.Name.get(`${je}-${Le}-UCS2`),Qe=await U.CMapFactory.create({encoding:et,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),Fe=[];return Ve.cMap.forEach(function($e,Ye){if(Ye>65535)throw new R.FormatError("Max size of CID is 65,535");const tt=Qe.lookup(Ye);tt&&(Fe[$e]=String.fromCharCode((tt.charCodeAt(0)<<8)+tt.charCodeAt(1)))}),new W.ToUnicodeMap(Fe)}return new W.IdentityToUnicodeMap(Ve.firstChar,Ve.lastChar)}readToUnicode(Ve){return Ve?Ve instanceof K.Name?U.CMapFactory.create({encoding:Ve,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(je){return je instanceof U.IdentityCMap?new W.IdentityToUnicodeMap(0,65535):new W.ToUnicodeMap(je.getMap())}):Ve instanceof oe.BaseStream?U.CMapFactory.create({encoding:Ve,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(je){if(je instanceof U.IdentityCMap)return new W.IdentityToUnicodeMap(0,65535);const Le=new Array(je.length);return je.forEach(function(et,Qe){if(typeof Qe=="number"){Le[et]=String.fromCodePoint(Qe);return}const Fe=[];for(let $e=0;$e{if(je instanceof R.AbortException)return null;if(this.options.ignoreErrors)return this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontToUnicode}),(0,R.warn)(`readToUnicode - ignoring ToUnicode data: "${je}".`),null;throw je}):Promise.resolve(null):Promise.resolve(null)}readCidToGidMap(Ve,je){const Le=[];for(let et=0,Qe=Ve.length;et>1;Fe===0&&!je.has($e)||(Le[$e]=Fe)}return Le}extractWidths(Ve,je,Le){const et=this.xref;let Qe=[],Fe=0;const $e=[];let Ye,tt,ot,st,dt,ct,mt,ut;if(Le.composite){if(Fe=Ve.has("DW")?Ve.get("DW"):1e3,ut=Ve.get("W"),ut)for(tt=0,ot=ut.length;tt{if(Mt){const Jt=[];let er=$e;for(let Bt=0,It=Mt.length;Bt(this.extractWidths(Le,je,Pt),new z.Font(ct.name,ut,Pt)))}static buildFontPaths(Ve,je,Le,et){function Qe(Fe){const $e=`${Ve.loadedName}_path_${Fe}`;try{if(Ve.renderer.hasBuiltPath(Fe))return;Le.send("commonobj",[$e,"FontPath",Ve.renderer.getPathJs(Fe)])}catch(Ye){if(et.ignoreErrors){Le.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontBuildPath}),(0,R.warn)(`buildFontPaths - ignoring ${$e} glyph: "${Ye}".`);return}throw Ye}}for(const Fe of je){Qe(Fe.fontChar);const $e=Fe.accent;$e&&$e.fontChar&&Qe($e.fontChar)}}static get fallbackFontDict(){const Ve=new K.Dict;return Ve.set("BaseFont",K.Name.get("PDFJS-FallbackFont")),Ve.set("Type",K.Name.get("FallbackType")),Ve.set("Subtype",K.Name.get("FallbackType")),Ve.set("Encoding",K.Name.get("WinAnsiEncoding")),(0,R.shadow)(this,"fallbackFontDict",Ve)}}D.PartialEvaluator=Ae;class De{constructor(Ve){let{loadedName:je,font:Le,dict:et,evaluatorOptions:Qe}=Ve;this.loadedName=je,this.font=Le,this.dict=et,this._evaluatorOptions=Qe||pe,this.type3Loaded=null,this.type3Dependencies=Le.isType3Font?new Set:null,this.sent=!1}send(Ve){this.sent||(this.sent=!0,Ve.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}fallback(Ve){this.font.data&&(this.font.disableFontFace=!0,Ae.buildFontPaths(this.font,this.font.glyphCacheValues,Ve,this._evaluatorOptions))}loadType3Data(Ve,je,Le){if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");const et=Ve.clone({ignoreErrors:!1});et.parsingType3Font=!0;const Qe=new K.RefSet(Ve.type3FontRefs);this.dict.objId&&!Qe.has(this.dict.objId)&&Qe.put(this.dict.objId),et.type3FontRefs=Qe;const Fe=this.font,$e=this.type3Dependencies;let Ye=Promise.resolve();const tt=this.dict.get("CharProcs"),ot=this.dict.get("Resources")||je,st=Object.create(null),dt=R.Util.normalizeRect(Fe.bbox||[0,0,0,0]),ct=dt[2]-dt[0],mt=dt[3]-dt[1],ut=Math.hypot(ct,mt);for(const rt of tt.getKeys())Ye=Ye.then(()=>{const He=tt.get(rt),Je=new ye.OperatorList;return et.getOperatorList({stream:He,task:Le,resources:ot,operatorList:Je}).then(()=>{Je.fnArray[0]===R.OPS.setCharWidthAndBounds&&this._removeType3ColorOperators(Je,ut),st[rt]=Je.getIR();for(const St of Je.dependencies)$e.add(St)}).catch(function(St){(0,R.warn)(`Type3 font resource "${rt}" is not available.`);const bt=new ye.OperatorList;st[rt]=bt.getIR()})});return this.type3Loaded=Ye.then(()=>{Fe.charProcOperatorList=st,this._bbox&&(Fe.isCharBBox=!0,Fe.bbox=this._bbox)}),this.type3Loaded}_removeType3ColorOperators(Ve){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN;const Le=R.Util.normalizeRect(Ve.argsArray[0].slice(2)),et=Le[2]-Le[0],Qe=Le[3]-Le[1],Fe=Math.hypot(et,Qe);et===0||Qe===0?(Ve.fnArray.splice(0,1),Ve.argsArray.splice(0,1)):(je===0||Math.round(Fe/je)>=10)&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],Le[0]),this._bbox[1]=Math.min(this._bbox[1],Le[1]),this._bbox[2]=Math.max(this._bbox[2],Le[2]),this._bbox[3]=Math.max(this._bbox[3],Le[3]));let $e=0,Ye=Ve.length;for(;$e0&&arguments[0]!==void 0?arguments[0]:new Ie;this.state=Ve,this.stateStack=[]}save(){const Ve=this.state;this.stateStack.push(this.state),this.state=Ve.clone()}restore(){const Ve=this.stateStack.pop();Ve&&(this.state=Ve)}transform(Ve){this.state.ctm=R.Util.transform(this.state.ctm,Ve)}}class we{constructor(){this.ctm=new Float32Array(R.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.font=null,this.fontMatrix=R.FONT_IDENTITY_MATRIX,this.textMatrix=R.IDENTITY_MATRIX.slice(),this.textLineMatrix=R.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}setTextMatrix(Ve,je,Le,et,Qe,Fe){const $e=this.textMatrix;$e[0]=Ve,$e[1]=je,$e[2]=Le,$e[3]=et,$e[4]=Qe,$e[5]=Fe}setTextLineMatrix(Ve,je,Le,et,Qe,Fe){const $e=this.textLineMatrix;$e[0]=Ve,$e[1]=je,$e[2]=Le,$e[3]=et,$e[4]=Qe,$e[5]=Fe}translateTextMatrix(Ve,je){const Le=this.textMatrix;Le[4]=Le[0]*Ve+Le[2]*je+Le[4],Le[5]=Le[1]*Ve+Le[3]*je+Le[5]}translateTextLineMatrix(Ve,je){const Le=this.textLineMatrix;Le[4]=Le[0]*Ve+Le[2]*je+Le[4],Le[5]=Le[1]*Ve+Le[3]*je+Le[5]}carriageReturn(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}clone(){const Ve=Object.create(this);return Ve.textMatrix=this.textMatrix.slice(),Ve.textLineMatrix=this.textLineMatrix.slice(),Ve.fontMatrix=this.fontMatrix.slice(),Ve}}class Ie{constructor(){this.ctm=new Float32Array(R.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=R.TextRenderingMode.FILL,this.fillColorSpace=me.ColorSpace.singletons.gray,this.strokeColorSpace=me.ColorSpace.singletons.gray}clone(){return Object.create(this)}}class Be{static get opMap(){const Ve=(0,xe.getLookupTableFactory)(function(je){je.w={id:R.OPS.setLineWidth,numArgs:1,variableArgs:!1},je.J={id:R.OPS.setLineCap,numArgs:1,variableArgs:!1},je.j={id:R.OPS.setLineJoin,numArgs:1,variableArgs:!1},je.M={id:R.OPS.setMiterLimit,numArgs:1,variableArgs:!1},je.d={id:R.OPS.setDash,numArgs:2,variableArgs:!1},je.ri={id:R.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},je.i={id:R.OPS.setFlatness,numArgs:1,variableArgs:!1},je.gs={id:R.OPS.setGState,numArgs:1,variableArgs:!1},je.q={id:R.OPS.save,numArgs:0,variableArgs:!1},je.Q={id:R.OPS.restore,numArgs:0,variableArgs:!1},je.cm={id:R.OPS.transform,numArgs:6,variableArgs:!1},je.m={id:R.OPS.moveTo,numArgs:2,variableArgs:!1},je.l={id:R.OPS.lineTo,numArgs:2,variableArgs:!1},je.c={id:R.OPS.curveTo,numArgs:6,variableArgs:!1},je.v={id:R.OPS.curveTo2,numArgs:4,variableArgs:!1},je.y={id:R.OPS.curveTo3,numArgs:4,variableArgs:!1},je.h={id:R.OPS.closePath,numArgs:0,variableArgs:!1},je.re={id:R.OPS.rectangle,numArgs:4,variableArgs:!1},je.S={id:R.OPS.stroke,numArgs:0,variableArgs:!1},je.s={id:R.OPS.closeStroke,numArgs:0,variableArgs:!1},je.f={id:R.OPS.fill,numArgs:0,variableArgs:!1},je.F={id:R.OPS.fill,numArgs:0,variableArgs:!1},je["f*"]={id:R.OPS.eoFill,numArgs:0,variableArgs:!1},je.B={id:R.OPS.fillStroke,numArgs:0,variableArgs:!1},je["B*"]={id:R.OPS.eoFillStroke,numArgs:0,variableArgs:!1},je.b={id:R.OPS.closeFillStroke,numArgs:0,variableArgs:!1},je["b*"]={id:R.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},je.n={id:R.OPS.endPath,numArgs:0,variableArgs:!1},je.W={id:R.OPS.clip,numArgs:0,variableArgs:!1},je["W*"]={id:R.OPS.eoClip,numArgs:0,variableArgs:!1},je.BT={id:R.OPS.beginText,numArgs:0,variableArgs:!1},je.ET={id:R.OPS.endText,numArgs:0,variableArgs:!1},je.Tc={id:R.OPS.setCharSpacing,numArgs:1,variableArgs:!1},je.Tw={id:R.OPS.setWordSpacing,numArgs:1,variableArgs:!1},je.Tz={id:R.OPS.setHScale,numArgs:1,variableArgs:!1},je.TL={id:R.OPS.setLeading,numArgs:1,variableArgs:!1},je.Tf={id:R.OPS.setFont,numArgs:2,variableArgs:!1},je.Tr={id:R.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},je.Ts={id:R.OPS.setTextRise,numArgs:1,variableArgs:!1},je.Td={id:R.OPS.moveText,numArgs:2,variableArgs:!1},je.TD={id:R.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},je.Tm={id:R.OPS.setTextMatrix,numArgs:6,variableArgs:!1},je["T*"]={id:R.OPS.nextLine,numArgs:0,variableArgs:!1},je.Tj={id:R.OPS.showText,numArgs:1,variableArgs:!1},je.TJ={id:R.OPS.showSpacedText,numArgs:1,variableArgs:!1},je["'"]={id:R.OPS.nextLineShowText,numArgs:1,variableArgs:!1},je['"']={id:R.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},je.d0={id:R.OPS.setCharWidth,numArgs:2,variableArgs:!1},je.d1={id:R.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},je.CS={id:R.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},je.cs={id:R.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},je.SC={id:R.OPS.setStrokeColor,numArgs:4,variableArgs:!0},je.SCN={id:R.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},je.sc={id:R.OPS.setFillColor,numArgs:4,variableArgs:!0},je.scn={id:R.OPS.setFillColorN,numArgs:33,variableArgs:!0},je.G={id:R.OPS.setStrokeGray,numArgs:1,variableArgs:!1},je.g={id:R.OPS.setFillGray,numArgs:1,variableArgs:!1},je.RG={id:R.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},je.rg={id:R.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},je.K={id:R.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},je.k={id:R.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},je.sh={id:R.OPS.shadingFill,numArgs:1,variableArgs:!1},je.BI={id:R.OPS.beginInlineImage,numArgs:0,variableArgs:!1},je.ID={id:R.OPS.beginImageData,numArgs:0,variableArgs:!1},je.EI={id:R.OPS.endInlineImage,numArgs:1,variableArgs:!1},je.Do={id:R.OPS.paintXObject,numArgs:1,variableArgs:!1},je.MP={id:R.OPS.markPoint,numArgs:1,variableArgs:!1},je.DP={id:R.OPS.markPointProps,numArgs:2,variableArgs:!1},je.BMC={id:R.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},je.BDC={id:R.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},je.EMC={id:R.OPS.endMarkedContent,numArgs:0,variableArgs:!1},je.BX={id:R.OPS.beginCompat,numArgs:0,variableArgs:!1},je.EX={id:R.OPS.endCompat,numArgs:0,variableArgs:!1},je.BM=null,je.BD=null,je.true=null,je.fa=null,je.fal=null,je.fals=null,je.false=null,je.nu=null,je.nul=null,je.null=null});return(0,R.shadow)(this,"opMap",Ve())}static get MAX_INVALID_PATH_OPS(){return(0,R.shadow)(this,"MAX_INVALID_PATH_OPS",10)}constructor(Ve,je){let Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Ue;this.parser=new Q.Parser({lexer:new Q.Lexer(Ve,Be.opMap),xref:je}),this.stateManager=Le,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}get savedStatesDepth(){return this.stateManager.stateStack.length}read(Ve){let je=Ve.args;for(;;){const Le=this.parser.getObj();if(Le instanceof K.Cmd){const et=Le.cmd,Qe=Be.opMap[et];if(!Qe){(0,R.warn)(`Unknown command "${et}".`);continue}const Fe=Qe.id,$e=Qe.numArgs;let Ye=je!==null?je.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=Fe>=R.OPS.moveTo&&Fe<=R.OPS.endPath,Qe.variableArgs)Ye>$e&&(0,R.info)(`Command ${et}: expected [0, ${$e}] args, but received ${Ye} args.`);else{if(Ye!==$e){const tt=this.nonProcessedArgs;for(;Ye>$e;)tt.push(je.shift()),Ye--;for(;Ye<$e&&tt.length!==0;)je===null&&(je=[]),je.unshift(tt.pop()),Ye++}if(Ye<$e){const tt=`command ${et}: expected ${$e} args, but received ${Ye} args.`;if(this._isPathOp&&++this._numInvalidPathOPS>Be.MAX_INVALID_PATH_OPS)throw new R.FormatError(`Invalid ${tt}`);(0,R.warn)(`Skipping ${tt}`),je!==null&&(je.length=0);continue}}return this.preprocessCommand(Fe,je),Ve.fn=Fe,Ve.args=je,!0}if(Le===K.EOF)return!1;if(Le!==null&&(je===null&&(je=[]),je.push(Le),je.length>33))throw new R.FormatError("Too many arguments")}}preprocessCommand(Ve,je){switch(Ve|0){case R.OPS.save:this.stateManager.save();break;case R.OPS.restore:this.stateManager.restore();break;case R.OPS.transform:this.stateManager.transform(je);break}}}D.EvaluatorPreprocessor=Be},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.IdentityCMap=D.CMapFactory=D.CMap=void 0;var R=B(2),U=B(130),K=B(132),z=B(142),e=B(131),ae=B(135);const ie=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],he=2**24-1;class J{constructor(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=ce}addCodespaceRange(ce,de,oe){this.codespaceRanges[ce-1].push(de,oe),this.numCodespaceRanges++}mapCidRange(ce,de,oe){if(de-ce>he)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;ce<=de;)this._map[ce++]=oe++}mapBfRange(ce,de,oe){if(de-ce>he)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");const se=oe.length-1;for(;ce<=de;){this._map[ce++]=oe;const me=oe.charCodeAt(se)+1;if(me>255){oe=oe.substring(0,se-1)+String.fromCharCode(oe.charCodeAt(se-1)+1)+"\0";continue}oe=oe.substring(0,se)+String.fromCharCode(me)}}mapBfRangeToArray(ce,de,oe){if(de-ce>he)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");const se=oe.length;let me=0;for(;ce<=de&&me>>0;const xe=me[Ee];for(let fe=0,ve=xe.length;fe=ye&&se<=Ce){oe.charcode=se,oe.length=Ee+1;return}}}oe.charcode=0,oe.length=1}getCharCodeLength(ce){const de=this.codespaceRanges;for(let oe=0,se=de.length;oe=xe&&ce<=fe)return oe+1}}return 1}get length(){return this._map.length}get isIdentityCMap(){if(!(this.name==="Identity-H"||this.name==="Identity-V")||this._map.length!==65536)return!1;for(let ce=0;ce<65536;ce++)if(this._map[ce]!==ce)return!1;return!0}}D.CMap=J;class X extends J{constructor(ce,de){super(),this.vertical=ce,this.addCodespaceRange(de,0,65535)}mapCidRange(ce,de,oe){(0,R.unreachable)("should not call mapCidRange")}mapBfRange(ce,de,oe){(0,R.unreachable)("should not call mapBfRange")}mapBfRangeToArray(ce,de,oe){(0,R.unreachable)("should not call mapBfRangeToArray")}mapOne(ce,de){(0,R.unreachable)("should not call mapCidOne")}lookup(ce){return Number.isInteger(ce)&&ce<=65535?ce:void 0}contains(ce){return Number.isInteger(ce)&&ce<=65535}forEach(ce){for(let de=0;de<=65535;de++)ce(de,de)}charCodeOf(ce){return Number.isInteger(ce)&&ce<=65535?ce:-1}getMap(){const ce=new Array(65536);for(let de=0;de<=65535;de++)ce[de]=de;return ce}get length(){return 65536}get isIdentityCMap(){(0,R.unreachable)("should not access .isIdentityCMap")}}D.IdentityCMap=X;const W=function(){function ce(fe,ve){let ye=0;for(let Ce=0;Ce<=ve;Ce++)ye=ye<<8|fe[Ce];return ye>>>0}function de(fe,ve){return ve===1?String.fromCharCode(fe[0],fe[1]):ve===3?String.fromCharCode(fe[0],fe[1],fe[2],fe[3]):String.fromCharCode.apply(null,fe.subarray(0,ve+1))}function oe(fe,ve,ye){let Ce=0;for(let pe=ye;pe>=0;pe--)Ce+=fe[pe]+ve[pe],fe[pe]=Ce&255,Ce>>=8}function se(fe,ve){let ye=1;for(let Ce=ve;Ce>=0&&ye>0;Ce--)ye+=fe[Ce],fe[Ce]=ye&255,ye>>=8}const me=16,Ee=19;class ke{constructor(ve){this.buffer=ve,this.pos=0,this.end=ve.length,this.tmpBuf=new Uint8Array(Ee)}readByte(){return this.pos>=this.end?-1:this.buffer[this.pos++]}readNumber(){let ve=0,ye;do{const Ce=this.readByte();if(Ce<0)throw new R.FormatError("unexpected EOF in bcmap");ye=!(Ce&128),ve=ve<<7|Ce&127}while(!ye);return ve}readSigned(){const ve=this.readNumber();return ve&1?~(ve>>>1):ve>>>1}readHex(ve,ye){ve.set(this.buffer.subarray(this.pos,this.pos+ye+1)),this.pos+=ye+1}readHexNumber(ve,ye){let Ce;const pe=this.tmpBuf;let _e=0;do{const Ze=this.readByte();if(Ze<0)throw new R.FormatError("unexpected EOF in bcmap");Ce=!(Ze&128),pe[_e++]=Ze&127}while(!Ce);let Ge=ye,Te=0,Ne=0;for(;Ge>=0;){for(;Ne<8&&pe.length>0;)Te|=pe[--_e]<>=8,Ne-=8}}readHexSigned(ve,ye){this.readHexNumber(ve,ye);const Ce=ve[ye]&1?255:0;let pe=0;for(let _e=0;_e<=ye;_e++)pe=(pe&1)<<8|ve[_e],ve[_e]=pe>>1^Ce}readString(){const ve=this.readNumber();let ye="";for(let Ce=0;Ce=0;){const we=Ue>>5;if(we===7){switch(Ue&31){case 0:pe.readString();break;case 1:Ge=pe.readString();break}continue}const Ie=!!(Ue&16),Be=Ue&15;if(Be+1>me)throw new Error("BinaryCMapReader.process: Invalid dataSize.");const Ke=1,Ve=pe.readNumber();switch(we){case 0:pe.readHex(Te,Be),pe.readHexNumber(Ne,Be),oe(Ne,Te,Be),ye.addCodespaceRange(Be+1,ce(Te,Be),ce(Ne,Be));for(let je=1;je>>0}function de(_e){if(typeof _e!="string")throw new R.FormatError("Malformed CMap: expected string.")}function oe(_e){if(!Number.isInteger(_e))throw new R.FormatError("Malformed CMap: expected int.")}function se(_e,Ge){for(;;){let Te=Ge.getObj();if(Te===U.EOF)break;if((0,U.isCmd)(Te,"endbfchar"))return;de(Te);const Ne=ce(Te);Te=Ge.getObj(),de(Te);const Ze=Te;_e.mapOne(Ne,Ze)}}function me(_e,Ge){for(;;){let Te=Ge.getObj();if(Te===U.EOF)break;if((0,U.isCmd)(Te,"endbfrange"))return;de(Te);const Ne=ce(Te);Te=Ge.getObj(),de(Te);const Ze=ce(Te);if(Te=Ge.getObj(),Number.isInteger(Te)||typeof Te=="string"){const ze=Number.isInteger(Te)?String.fromCharCode(Te):Te;_e.mapBfRange(Ne,Ze,ze)}else if((0,U.isCmd)(Te,"[")){Te=Ge.getObj();const ze=[];for(;!(0,U.isCmd)(Te,"]")&&Te!==U.EOF;)ze.push(Te),Te=Ge.getObj();_e.mapBfRangeToArray(Ne,Ze,ze)}else break}throw new R.FormatError("Invalid bf range.")}function Ee(_e,Ge){for(;;){let Te=Ge.getObj();if(Te===U.EOF)break;if((0,U.isCmd)(Te,"endcidchar"))return;de(Te);const Ne=ce(Te);Te=Ge.getObj(),oe(Te);const Ze=Te;_e.mapOne(Ne,Ze)}}function ke(_e,Ge){for(;;){let Te=Ge.getObj();if(Te===U.EOF)break;if((0,U.isCmd)(Te,"endcidrange"))return;de(Te);const Ne=ce(Te);Te=Ge.getObj(),de(Te);const Ze=ce(Te);Te=Ge.getObj(),oe(Te);const ze=Te;_e.mapCidRange(Ne,Ze,ze)}}function xe(_e,Ge){for(;;){let Te=Ge.getObj();if(Te===U.EOF)break;if((0,U.isCmd)(Te,"endcodespacerange"))return;if(typeof Te!="string")break;const Ne=ce(Te);if(Te=Ge.getObj(),typeof Te!="string")break;const Ze=ce(Te);_e.addCodespaceRange(Te.length,Ne,Ze)}throw new R.FormatError("Invalid codespace range.")}function fe(_e,Ge){const Te=Ge.getObj();Number.isInteger(Te)&&(_e.vertical=!!Te)}function ve(_e,Ge){const Te=Ge.getObj();Te instanceof U.Name&&(_e.name=Te.name)}async function ye(_e,Ge,Te,Ne){let Ze,ze;e:for(;;)try{const Ae=Ge.getObj();if(Ae===U.EOF)break;if(Ae instanceof U.Name)Ae.name==="WMode"?fe(_e,Ge):Ae.name==="CMapName"&&ve(_e,Ge),Ze=Ae;else if(Ae instanceof U.Cmd)switch(Ae.cmd){case"endcmap":break e;case"usecmap":Ze instanceof U.Name&&(ze=Ze.name);break;case"begincodespacerange":xe(_e,Ge);break;case"beginbfchar":se(_e,Ge);break;case"begincidchar":Ee(_e,Ge);break;case"beginbfrange":me(_e,Ge);break;case"begincidrange":ke(_e,Ge);break}}catch(Ae){if(Ae instanceof e.MissingDataException)throw Ae;(0,R.warn)("Invalid cMap data: "+Ae);continue}return!Ne&&ze&&(Ne=ze),Ne?Ce(_e,Te,Ne):_e}async function Ce(_e,Ge,Te){if(_e.useCMap=await pe(Te,Ge),_e.numCodespaceRanges===0){const Ne=_e.useCMap.codespaceRanges;for(let Ze=0;ZeCe(Ze,Ge,ze));if(Ne===R.CMapCompressionType.NONE){const ze=new z.Lexer(new ae.Stream(Te));return ye(Ze,ze,Ge,null)}throw new Error("TODO: Only BINARY/NONE CMap compression is currently supported.")}return{async create(_e){const Ge=_e.encoding,Te=_e.fetchBuiltInCMap,Ne=_e.useCMap;if(Ge instanceof U.Name)return pe(Ge.name,Te);if(Ge instanceof K.BaseStream){const Ze=await ye(new J,new z.Lexer(Ge),Te,Ne);return Ze.isIdentityCMap?pe(Ze.name,Te):Ze}throw new Error("Encoding required.")}}}();D.CMapFactory=L},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Parser=D.Linearization=D.Lexer=void 0;var R=B(2),U=B(130),K=B(131),z=B(143),e=B(145),ae=B(146),ie=B(148),he=B(149),J=B(152),X=B(154),W=B(156),L=B(135),Q=B(157),ce=B(158);const de=1e3,oe=5552;function se(ve){const ye=ve.length;let Ce=1,pe=0;for(let _e=0;_e0&&arguments[0]!==void 0?arguments[0]:null;const Ce=this.buf1;if(this.shift(),Ce instanceof U.Cmd)switch(Ce.cmd){case"BI":return this.makeInlineImage(ye);case"[":const pe=[];for(;!(0,U.isCmd)(this.buf1,"]")&&this.buf1!==U.EOF;)pe.push(this.getObj(ye));if(this.buf1===U.EOF){if(this.recoveryMode)return pe;throw new K.ParserEOFException("End of file inside array.")}return this.shift(),pe;case"<<":const _e=new U.Dict(this.xref);for(;!(0,U.isCmd)(this.buf1,">>")&&this.buf1!==U.EOF;){if(!(this.buf1 instanceof U.Name)){(0,R.info)("Malformed dictionary: key must be a name object"),this.shift();continue}const Ge=this.buf1.name;if(this.shift(),this.buf1===U.EOF)break;_e.set(Ge,this.getObj(ye))}if(this.buf1===U.EOF){if(this.recoveryMode)return _e;throw new K.ParserEOFException("End of file inside dictionary.")}return(0,U.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream(_e,ye):_e:(this.shift(),_e);default:return Ce}if(Number.isInteger(Ce)){if(Number.isInteger(this.buf1)&&(0,U.isCmd)(this.buf2,"R")){const pe=U.Ref.get(Ce,this.buf1);return this.shift(),this.shift(),pe}return Ce}return typeof Ce=="string"&&ye?ye.decryptString(Ce):Ce}findDefaultInlineStreamEnd(ye){const Ze=this.lexer,ze=ye.pos,Ae=10;let De=0,Ue,we;for(;(Ue=ye.getByte())!==-1;)if(De===0)De=Ue===69?1:0;else if(De===1)De=Ue===73?2:0;else if((0,R.assert)(De===2,"findDefaultInlineStreamEnd - invalid state."),Ue===32||Ue===10||Ue===13){we=ye.pos;const Be=ye.peekBytes(Ae);for(let Ke=0,Ve=Be.length;Ke127)){De=0;break}if(De!==2)continue;if(Ze.knownCommands){const Ke=Ze.peekObj();Ke instanceof U.Cmd&&!Ze.knownCommands[Ke.cmd]&&(De=0)}else(0,R.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");if(De===2)break}else De=0;Ue===-1&&((0,R.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),we&&((0,R.warn)('... trying to recover by using the last "EI" occurrence.'),ye.skip(-(ye.pos-we))));let Ie=4;return ye.skip(-Ie),Ue=ye.peekByte(),ye.skip(Ie),(0,K.isWhiteSpace)(Ue)||Ie--,ye.pos-Ie-ze}findDCTDecodeInlineStreamEnd(ye){const Ce=ye.pos;let pe=!1,_e,Ge;for(;(_e=ye.getByte())!==-1;)if(_e===255){switch(ye.getByte()){case 0:break;case 255:ye.skip(-1);break;case 217:pe=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:Ge=ye.getUint16(),Ge>2?ye.skip(Ge-2):ye.skip(-2);break}if(pe)break}const Te=ye.pos-Ce;return _e===-1?((0,R.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),ye.skip(-Te),this.findDefaultInlineStreamEnd(ye)):(this.inlineStreamSkipEI(ye),Te)}findASCII85DecodeInlineStreamEnd(ye){const _e=ye.pos;let Ge;for(;(Ge=ye.getByte())!==-1;)if(Ge===126){const Ne=ye.pos;for(Ge=ye.peekByte();(0,K.isWhiteSpace)(Ge);)ye.skip(),Ge=ye.peekByte();if(Ge===62){ye.skip();break}if(ye.pos>Ne){const Ze=ye.peekBytes(2);if(Ze[0]===69&&Ze[1]===73)break}}const Te=ye.pos-_e;return Ge===-1?((0,R.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),ye.skip(-Te),this.findDefaultInlineStreamEnd(ye)):(this.inlineStreamSkipEI(ye),Te)}findASCIIHexDecodeInlineStreamEnd(ye){const pe=ye.pos;let _e;for(;(_e=ye.getByte())!==-1&&_e!==62;);const Ge=ye.pos-pe;return _e===-1?((0,R.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),ye.skip(-Ge),this.findDefaultInlineStreamEnd(ye)):(this.inlineStreamSkipEI(ye),Ge)}inlineStreamSkipEI(ye){let _e=0,Ge;for(;(Ge=ye.getByte())!==-1;)if(_e===0)_e=Ge===69?1:0;else if(_e===1)_e=Ge===73?2:0;else if(_e===2)break}makeInlineImage(ye){const Ce=this.lexer,pe=Ce.stream,_e=new U.Dict(this.xref);let Ge;for(;!(0,U.isCmd)(this.buf1,"ID")&&this.buf1!==U.EOF;){if(!(this.buf1 instanceof U.Name))throw new R.FormatError("Dictionary key must be a name object");const Ue=this.buf1.name;if(this.shift(),this.buf1===U.EOF)break;_e.set(Ue,this.getObj(ye))}Ce.beginInlineImagePos!==-1&&(Ge=pe.pos-Ce.beginInlineImagePos);const Te=_e.get("F","Filter");let Ne;if(Te instanceof U.Name)Ne=Te.name;else if(Array.isArray(Te)){const Ue=this.xref.fetchIfRef(Te[0]);Ue instanceof U.Name&&(Ne=Ue.name)}const Ze=pe.pos;let ze;switch(Ne){case"DCT":case"DCTDecode":ze=this.findDCTDecodeInlineStreamEnd(pe);break;case"A85":case"ASCII85Decode":ze=this.findASCII85DecodeInlineStreamEnd(pe);break;case"AHx":case"ASCIIHexDecode":ze=this.findASCIIHexDecodeInlineStreamEnd(pe);break;default:ze=this.findDefaultInlineStreamEnd(pe)}let Ae=pe.makeSubStream(Ze,ze,_e),De;if(ze=Ge)return pe.pos+=Ze,pe.pos-ye;Ze++}pe.pos+=Ne}return-1}makeStream(ye,Ce){const pe=this.lexer;let _e=pe.stream;pe.skipToNextLine();const Ge=_e.pos-1;let Te=ye.get("Length");if(Number.isInteger(Te)||((0,R.info)(`Bad length "${Te&&Te.toString()}" in stream.`),Te=0),_e.pos=Ge+Te,pe.nextChar(),this.tryShift()&&(0,U.isCmd)(this.buf2,"endstream"))this.shift();else{const Ne=new Uint8Array([101,110,100,115,116,114,101,97,109]);let Ze=this._findStreamLength(Ge,Ne);if(Ze<0){for(let Ae=1;Ae<=1;Ae++){const De=Ne.length-Ae,Ue=Ne.slice(0,De),we=this._findStreamLength(Ge,Ue);if(we>=0){const Ie=_e.peekBytes(De+1)[De];if(!(0,K.isWhiteSpace)(Ie))break;(0,R.info)(`Found "${(0,R.bytesToString)(Ue)}" when searching for endstream command.`),Ze=we;break}}if(Ze<0)throw new R.FormatError("Missing endstream command.")}Te=Ze,pe.nextChar(),this.shift(),this.shift()}return this.shift(),_e=_e.makeSubStream(Ge,Te,ye),Ce&&(_e=Ce.createStream(_e,Te)),_e=this.filter(_e,ye,Te),_e.dict=ye,_e}filter(ye,Ce,pe){let _e=Ce.get("F","Filter"),Ge=Ce.get("DP","DecodeParms");if(_e instanceof U.Name)return Array.isArray(Ge)&&(0,R.warn)("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(ye,_e.name,pe,Ge);let Te=pe;if(Array.isArray(_e)){const Ne=_e,Ze=Ge;for(let ze=0,Ae=Ne.length;ze=48&&ve<=57?ve&15:ve>=65&&ve<=70||ve>=97&&ve<=102?(ve&15)+9:-1}class xe{constructor(ye){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.stream=ye,this.nextChar(),this.strBuf=[],this.knownCommands=Ce,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let ye=this.currentChar,Ce=!1,pe=0,_e=0;if(ye===45?(_e=-1,ye=this.nextChar(),ye===45&&(ye=this.nextChar())):ye===43&&(_e=1,ye=this.nextChar()),ye===10||ye===13)do ye=this.nextChar();while(ye===10||ye===13);if(ye===46&&(pe=10,ye=this.nextChar()),ye<48||ye>57){if((0,K.isWhiteSpace)(ye)||ye===-1){if(pe===10&&_e===0)return(0,R.warn)("Lexer.getNumber - treating a single decimal point as zero."),0;if(pe===0&&_e===-1)return(0,R.warn)("Lexer.getNumber - treating a single minus sign as zero."),0}throw new R.FormatError(`Invalid number: ${String.fromCharCode(ye)} (charCode ${ye})`)}_e=_e||1;let Ge=ye-48,Te=0,Ne=1;for(;(ye=this.nextChar())>=0;)if(ye>=48&&ye<=57){const Ze=ye-48;Ce?Te=Te*10+Ze:(pe!==0&&(pe*=10),Ge=Ge*10+Ze)}else if(ye===46)if(pe===0)pe=1;else break;else if(ye===45)(0,R.warn)("Badly formatted number: minus sign in the middle");else if(ye===69||ye===101){if(ye=this.peekChar(),ye===43||ye===45)Ne=ye===45?-1:1,this.nextChar();else if(ye<48||ye>57)break;Ce=!0}else break;return pe!==0&&(Ge/=pe),Ce&&(Ge*=10**(Ne*Te)),_e*Ge}getString(){let ye=1,Ce=!1;const pe=this.strBuf;pe.length=0;let _e=this.nextChar();for(;;){let Ge=!1;switch(_e|0){case-1:(0,R.warn)("Unterminated string"),Ce=!0;break;case 40:++ye,pe.push("(");break;case 41:--ye===0?(this.nextChar(),Ce=!0):pe.push(")");break;case 92:switch(_e=this.nextChar(),_e){case-1:(0,R.warn)("Unterminated string"),Ce=!0;break;case 110:pe.push(` -`);break;case 114:pe.push("\r");break;case 116:pe.push(" ");break;case 98:pe.push("\b");break;case 102:pe.push("\f");break;case 92:case 40:case 41:pe.push(String.fromCharCode(_e));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let Te=_e&15;_e=this.nextChar(),Ge=!0,_e>=48&&_e<=55&&(Te=(Te<<3)+(_e&15),_e=this.nextChar(),_e>=48&&_e<=55&&(Ge=!1,Te=(Te<<3)+(_e&15))),pe.push(String.fromCharCode(Te));break;case 13:this.peekChar()===10&&this.nextChar();break;case 10:break;default:pe.push(String.fromCharCode(_e));break}break;default:pe.push(String.fromCharCode(_e));break}if(Ce)break;Ge||(_e=this.nextChar())}return pe.join("")}getName(){let ye,Ce;const pe=this.strBuf;for(pe.length=0;(ye=this.nextChar())>=0&&!Ee[ye];)if(ye===35){if(ye=this.nextChar(),Ee[ye]){(0,R.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),pe.push("#");break}const _e=ke(ye);if(_e!==-1){Ce=ye,ye=this.nextChar();const Ge=ke(ye);if(Ge===-1){if((0,R.warn)(`Lexer_getName: Illegal digit (${String.fromCharCode(ye)}) in hexadecimal number.`),pe.push("#",String.fromCharCode(Ce)),Ee[ye])break;pe.push(String.fromCharCode(ye));continue}pe.push(String.fromCharCode(_e<<4|Ge))}else pe.push("#",String.fromCharCode(ye))}else pe.push(String.fromCharCode(ye));return pe.length>127&&(0,R.warn)(`Name token is longer than allowed by the spec: ${pe.length}`),U.Name.get(pe.join(""))}_hexStringWarn(ye){if(this._hexStringNumWarn++===5){(0,R.warn)("getHexString - ignoring additional invalid characters.");return}this._hexStringNumWarn>5||(0,R.warn)(`getHexString - ignoring invalid character: ${ye}`)}getHexString(){const ye=this.strBuf;ye.length=0;let Ce=this.currentChar,pe=!0,_e,Ge;for(this._hexStringNumWarn=0;;)if(Ce<0){(0,R.warn)("Unterminated hex string");break}else if(Ce===62){this.nextChar();break}else if(Ee[Ce]===1){Ce=this.nextChar();continue}else{if(pe){if(_e=ke(Ce),_e===-1){this._hexStringWarn(Ce),Ce=this.nextChar();continue}}else{if(Ge=ke(Ce),Ge===-1){this._hexStringWarn(Ce),Ce=this.nextChar();continue}ye.push(String.fromCharCode(_e<<4|Ge))}pe=!pe,Ce=this.nextChar()}return ye.join("")}getObj(){let ye=!1,Ce=this.currentChar;for(;;){if(Ce<0)return U.EOF;if(ye)(Ce===10||Ce===13)&&(ye=!1);else if(Ce===37)ye=!0;else if(Ee[Ce]!==1)break;Ce=this.nextChar()}switch(Ce|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),U.Cmd.get("[");case 93:return this.nextChar(),U.Cmd.get("]");case 60:return Ce=this.nextChar(),Ce===60?(this.nextChar(),U.Cmd.get("<<")):this.getHexString();case 62:return Ce=this.nextChar(),Ce===62?(this.nextChar(),U.Cmd.get(">>")):U.Cmd.get(">");case 123:return this.nextChar(),U.Cmd.get("{");case 125:return this.nextChar(),U.Cmd.get("}");case 41:throw this.nextChar(),new R.FormatError(`Illegal character: ${Ce}`)}let pe=String.fromCharCode(Ce);if(Ce<32||Ce>127){const Te=this.peekChar();if(Te>=32&&Te<=127)return this.nextChar(),U.Cmd.get(pe)}const _e=this.knownCommands;let Ge=_e&&_e[pe]!==void 0;for(;(Ce=this.nextChar())>=0&&!Ee[Ce];){const Te=pe+String.fromCharCode(Ce);if(Ge&&_e[Te]===void 0)break;if(pe.length===128)throw new R.FormatError(`Command token too long: ${pe.length}`);pe=Te,Ge=_e&&_e[pe]!==void 0}return pe==="true"?!0:pe==="false"?!1:pe==="null"?null:(pe==="BI"&&(this.beginInlineImagePos=this.stream.pos),U.Cmd.get(pe))}peekObj(){const ye=this.stream.pos,Ce=this.currentChar,pe=this.beginInlineImagePos;let _e;try{_e=this.getObj()}catch(Ge){if(Ge instanceof K.MissingDataException)throw Ge;(0,R.warn)(`peekObj: ${Ge}`)}return this.stream.pos=ye,this.currentChar=Ce,this.beginInlineImagePos=pe,_e}skipToNextLine(){let ye=this.currentChar;for(;ye>=0;){if(ye===13){ye=this.nextChar(),ye===10&&this.nextChar();break}else if(ye===10){this.nextChar();break}ye=this.nextChar()}}}D.Lexer=xe;class fe{static create(ye){function Ce(De,Ue){let we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const Ie=De.get(Ue);if(Number.isInteger(Ie)&&(we?Ie>=0:Ie>0))return Ie;throw new Error(`The "${Ue}" parameter in the linearization dictionary is invalid.`)}function pe(De){const Ue=De.get("H");let we;if(Array.isArray(Ue)&&((we=Ue.length)===2||we===4)){for(let Ie=0;Ie0))throw new Error(`Hint (${Ie}) in the linearization dictionary is invalid.`)}return Ue}throw new Error("Hint array in the linearization dictionary is invalid.")}const _e=new me({lexer:new xe(ye),xref:null}),Ge=_e.getObj(),Te=_e.getObj(),Ne=_e.getObj(),Ze=_e.getObj();let ze,Ae;if(Number.isInteger(Ge)&&Number.isInteger(Te)&&(0,U.isCmd)(Ne,"obj")&&Ze instanceof U.Dict&&typeof(ze=Ze.get("Linearized"))=="number"&&ze>0){if((Ae=Ce(Ze,"L"))!==ye.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.')}else return null;return{length:Ae,hints:pe(Ze),objectNumberFirst:Ce(Ze,"O"),endFirst:Ce(Ze,"E"),numPages:Ce(Ze,"N"),mainXRefEntriesOffset:Ce(Ze,"T"),pageFirst:Ze.has("P")?Ce(Ze,"P",!0):0}}}D.Linearization=fe},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Ascii85Stream=void 0;var R=B(144),U=B(131);class K extends R.DecodeStream{constructor(e,ae){ae&&(ae*=.8),super(ae),this.str=e,this.dict=e.dict,this.input=new Uint8Array(5)}readBlock(){const he=this.str;let J=he.getByte();for(;(0,U.isWhiteSpace)(J);)J=he.getByte();if(J===-1||J===126){this.eof=!0;return}const X=this.bufferLength;let W,L;if(J===122){for(W=this.ensureBuffer(X+4),L=0;L<4;++L)W[X+L]=0;this.bufferLength+=4}else{const Q=this.input;for(Q[0]=J,L=1;L<5;++L){for(J=he.getByte();(0,U.isWhiteSpace)(J);)J=he.getByte();if(Q[L]=J,J===-1||J===126)break}if(W=this.ensureBuffer(X+L-1),this.bufferLength+=L-1,L<5){for(;L<5;++L)Q[L]=117;this.eof=!0}let ce=0;for(L=0;L<5;++L)ce=ce*85+(Q[L]-33);for(L=3;L>=0;--L)W[X+L]=ce&255,ce>>=8}}}D.Ascii85Stream=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.StreamsSequenceStream=D.DecodeStream=void 0;var R=B(132),U=B(135);const K=new Uint8Array(0);class z extends R.BaseStream{constructor(ie){if(super(),this._rawMinBufferLength=ie||0,this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=K,this.minBufferLength=512,ie)for(;this.minBufferLengthX&&(J=X)}else{for(;!this.eof;)this.readBlock();J=this.bufferLength}return this.pos=J,this.buffer.subarray(he,J)}reset(){this.pos=0}makeSubStream(ie,he){let J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(he===void 0)for(;!this.eof;)this.readBlock();else{const X=ie+he;for(;this.bufferLength<=X&&!this.eof;)this.readBlock()}return new U.Stream(this.buffer,ie,he,J)}getBaseStreams(){return this.str?this.str.getBaseStreams():null}}D.DecodeStream=z;class e extends z{constructor(ie){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,J=0;for(const X of ie)J+=X instanceof z?X._rawMinBufferLength:X.length;super(J),this.streams=ie,this._onError=he}readBlock(){const ie=this.streams;if(ie.length===0){this.eof=!0;return}const he=ie.shift();let J;try{J=he.getBytes()}catch(Q){if(this._onError){this._onError(Q,he.dict&&he.dict.objId);return}throw Q}const X=this.bufferLength,W=X+J.length;this.ensureBuffer(W).set(J,X),this.bufferLength=W}getBaseStreams(){const ie=[];for(const he of this.streams){const J=he.getBaseStreams();J&&ie.push(...J)}return ie.length>0?ie:null}}D.StreamsSequenceStream=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.AsciiHexStream=void 0;var R=B(144);class U extends R.DecodeStream{constructor(z,e){e&&(e*=.5),super(e),this.str=z,this.dict=z.dict,this.firstDigit=-1}readBlock(){const e=this.str.getBytes(8e3);if(!e.length){this.eof=!0;return}const ae=e.length+1>>1,ie=this.ensureBuffer(this.bufferLength+ae);let he=this.bufferLength,J=this.firstDigit;for(const X of e){let W;if(X>=48&&X<=57)W=X&15;else if(X>=65&&X<=70||X>=97&&X<=102)W=(X&15)+9;else if(X===62){this.eof=!0;break}else continue;J<0?J=W:(ie[he++]=J<<4|W,J=-1)}J>=0&&this.eof&&(ie[he++]=J<<4,J=-1),this.firstDigit=J,this.bufferLength=he}}D.AsciiHexStream=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CCITTFaxStream=void 0;var R=B(147),U=B(144),K=B(130);class z extends U.DecodeStream{constructor(ae,ie,he){super(ie),this.str=ae,this.dict=ae.dict,he instanceof K.Dict||(he=K.Dict.empty);const J={next(){return ae.getByte()}};this.ccittFaxDecoder=new R.CCITTFaxDecoder(J,{K:he.get("K"),EndOfLine:he.get("EndOfLine"),EncodedByteAlign:he.get("EncodedByteAlign"),Columns:he.get("Columns"),Rows:he.get("Rows"),EndOfBlock:he.get("EndOfBlock"),BlackIs1:he.get("BlackIs1")})}readBlock(){for(;!this.eof;){const ae=this.ccittFaxDecoder.readNextChar();if(ae===-1){this.eof=!0;return}this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=ae}}}D.CCITTFaxStream=z},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CCITTFaxDecoder=void 0;var R=B(2);const U=-2,K=-1,z=0,e=1,ae=2,ie=3,he=4,J=5,X=6,W=7,L=8,Q=[[-1,-1],[-1,-1],[7,L],[7,W],[6,X],[6,X],[6,J],[6,J],[4,z],[4,z],[4,z],[4,z],[4,z],[4,z],[4,z],[4,z],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae]],ce=[[-1,-1],[12,U],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],de=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],oe=[[-1,-1],[-1,-1],[12,U],[12,U],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],se=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],me=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];class Ee{constructor(xe){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!xe||typeof xe.next!="function")throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=xe,this.eof=!1,this.encoding=fe.K||0,this.eoline=fe.EndOfLine||!1,this.byteAlign=fe.EncodedByteAlign||!1,this.columns=fe.Columns||1728,this.rows=fe.Rows||0;let ve=fe.EndOfBlock;ve==null&&(ve=!0),this.eoblock=ve,this.black=fe.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;let ye;for(;(ye=this._lookBits(12))===0;)this._eatBits(1);ye===1&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}readNextChar(){if(this.eof)return-1;const xe=this.refLine,fe=this.codingLine,ve=this.columns;let ye,Ce,pe,_e;if(this.outputBits===0){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;this.err=!1;let Te,Ne,Ze;if(this.nextLine2D){for(_e=0;fe[_e]=64);do Ne+=Ze=this._getWhiteCode();while(Ze>=64)}else{do Te+=Ze=this._getWhiteCode();while(Ze>=64);do Ne+=Ze=this._getBlackCode();while(Ze>=64)}for(this._addPixels(fe[this.codingPos]+Te,Ce),fe[this.codingPos]0?--ye:++ye;xe[ye]<=fe[this.codingPos]&&xe[ye]0?--ye:++ye;xe[ye]<=fe[this.codingPos]&&xe[ye]0?--ye:++ye;xe[ye]<=fe[this.codingPos]&&xe[ye]=64);else do Te+=Ze=this._getWhiteCode();while(Ze>=64);this._addPixels(fe[this.codingPos]+Te,Ce),Ce^=1}let ze=!1;if(this.byteAlign&&(this.inputBits&=-8),!this.eoblock&&this.row===this.rows-1)this.rowsDone=!0;else{if(Te=this._lookBits(12),this.eoline)for(;Te!==K&&Te!==1;)this._eatBits(1),Te=this._lookBits(12);else for(;Te===0;)this._eatBits(1),Te=this._lookBits(12);Te===1?(this._eatBits(12),ze=!0):Te===K&&(this.eof=!0)}if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&ze&&this.byteAlign){if(Te=this._lookBits(12),Te===1){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(_e=0;_e<4;++_e)Te=this._lookBits(12),Te!==1&&(0,R.info)("bad rtc code: "+Te),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(Te=this._lookBits(13),Te===K)return this.eof=!0,-1;if(Te>>1===1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(Te&1))}fe[0]>0?this.outputBits=fe[this.codingPos=0]:this.outputBits=fe[this.codingPos=1],this.row++}let Ge;if(this.outputBits>=8)Ge=this.codingPos&1?0:255,this.outputBits-=8,this.outputBits===0&&fe[this.codingPos]pe?(Ge<<=pe,this.codingPos&1||(Ge|=255>>8-pe),this.outputBits-=pe,pe=0):(Ge<<=this.outputBits,this.codingPos&1||(Ge|=255>>8-this.outputBits),pe-=this.outputBits,this.outputBits=0,fe[this.codingPos]0&&(Ge<<=pe,pe=0))}while(pe)}return this.black&&(Ge^=255),Ge}_addPixels(xe,fe){const ve=this.codingLine;let ye=this.codingPos;xe>ve[ye]&&(xe>this.columns&&((0,R.info)("row is wrong length"),this.err=!0,xe=this.columns),ye&1^fe&&++ye,ve[ye]=xe),this.codingPos=ye}_addPixelsNeg(xe,fe){const ve=this.codingLine;let ye=this.codingPos;if(xe>ve[ye])xe>this.columns&&((0,R.info)("row is wrong length"),this.err=!0,xe=this.columns),ye&1^fe&&++ye,ve[ye]=xe;else if(xe0&&xe=Ce){const Ge=ve[_e-Ce];if(Ge[0]===pe)return this._eatBits(pe),[!0,Ge[1],!0]}}return[!1,0,!1]}_getTwoDimCode(){let xe=0,fe;if(this.eoblock){if(xe=this._lookBits(7),fe=Q[xe],fe&&fe[0]>0)return this._eatBits(fe[0]),fe[1]}else{const ve=this._findTableCode(1,7,Q);if(ve[0]&&ve[2])return ve[1]}return(0,R.info)("Bad two dim code"),K}_getWhiteCode(){let xe=0,fe;if(this.eoblock){if(xe=this._lookBits(12),xe===K)return 1;if(xe>>5?fe=de[xe>>3]:fe=ce[xe],fe[0]>0)return this._eatBits(fe[0]),fe[1]}else{let ve=this._findTableCode(1,9,de);if(ve[0]||(ve=this._findTableCode(11,12,ce),ve[0]))return ve[1]}return(0,R.info)("bad white code"),this._eatBits(1),1}_getBlackCode(){let xe,fe;if(this.eoblock){if(xe=this._lookBits(13),xe===K)return 1;if(xe>>7?!(xe>>9)&&xe>>7?fe=se[(xe>>1)-64]:fe=me[xe>>7]:fe=oe[xe],fe[0]>0)return this._eatBits(fe[0]),fe[1]}else{let ve=this._findTableCode(2,6,me);if(ve[0]||(ve=this._findTableCode(7,12,se,64),ve[0])||(ve=this._findTableCode(10,13,oe),ve[0]))return ve[1]}return(0,R.info)("bad black code"),this._eatBits(1),1}_lookBits(xe){let fe;for(;this.inputBits>16-xe;this.inputBuf=this.inputBuf<<8|fe,this.inputBits+=8}return this.inputBuf>>this.inputBits-xe&65535>>16-xe}_eatBits(xe){(this.inputBits-=xe)<0&&(this.inputBits=0)}}D.CCITTFaxDecoder=Ee},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.FlateStream=void 0;var R=B(144),U=B(2);const K=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),z=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),e=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),ae=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],ie=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];class he extends R.DecodeStream{constructor(X,W){super(W),this.str=X,this.dict=X.dict;const L=X.getByte(),Q=X.getByte();if(L===-1||Q===-1)throw new U.FormatError(`Invalid header in flate stream: ${L}, ${Q}`);if((L&15)!==8)throw new U.FormatError(`Unknown compression method in flate stream: ${L}, ${Q}`);if(((L<<8)+Q)%31!==0)throw new U.FormatError(`Bad FCHECK in flate stream: ${L}, ${Q}`);if(Q&32)throw new U.FormatError(`FDICT bit set in flate stream: ${L}, ${Q}`);this.codeSize=0,this.codeBuf=0}getBits(X){const W=this.str;let L=this.codeSize,Q=this.codeBuf,ce;for(;L>X,this.codeSize=L-=X,ce}getCode(X){const W=this.str,L=X[0],Q=X[1];let ce=this.codeSize,de=this.codeBuf,oe;for(;ce>16,Ee=se&65535;if(me<1||ce>me,this.codeSize=ce-me,Ee}generateHuffmanTable(X){const W=X.length;let L=0,Q;for(Q=0;QL&&(L=X[Q]);const ce=1<>=1;for(Q=ke;Q>=1,Q===0){let me;if((me=L.getByte())===-1)throw new U.FormatError("Bad block header in flate stream");let Ee=me;if((me=L.getByte())===-1)throw new U.FormatError("Bad block header in flate stream");if(Ee|=me<<8,(me=L.getByte())===-1)throw new U.FormatError("Bad block header in flate stream");let ke=me;if((me=L.getByte())===-1)throw new U.FormatError("Bad block header in flate stream");if(ke|=me<<8,ke!==(~Ee&65535)&&(Ee!==0||ke!==0))throw new U.FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;const xe=this.bufferLength,fe=xe+Ee;if(X=this.ensureBuffer(fe),this.bufferLength=fe,Ee===0)L.peekByte()===-1&&(this.eof=!0);else{const ve=L.getBytes(Ee);X.set(ve,xe),ve.length0;)Ce[fe++]=Ge}ce=this.generateHuffmanTable(Ce.subarray(0,me)),de=this.generateHuffmanTable(Ce.subarray(me,ye))}else throw new U.FormatError("Unknown block type in flate stream");X=this.buffer;let oe=X?X.length:0,se=this.bufferLength;for(;;){let me=this.getCode(ce);if(me<256){se+1>=oe&&(X=this.ensureBuffer(se+1),oe=X.length),X[se++]=me;continue}if(me===256){this.bufferLength=se;return}me-=257,me=z[me];let Ee=me>>16;Ee>0&&(Ee=this.getBits(Ee)),W=(me&65535)+Ee,me=this.getCode(de),me=e[me],Ee=me>>16,Ee>0&&(Ee=this.getBits(Ee));const ke=(me&65535)+Ee;se+W>=oe&&(X=this.ensureBuffer(se+W),oe=X.length);for(let xe=0;xe{Object.defineProperty(D,"__esModule",{value:!0}),D.Jbig2Stream=void 0;var R=B(132),U=B(144),K=B(130),z=B(150),e=B(2);class ae extends U.DecodeStream{constructor(he,J,X){super(J),this.stream=he,this.dict=he.dict,this.maybeLength=J,this.params=X}get bytes(){return(0,e.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(he){}readBlock(){if(this.eof)return;const he=new z.Jbig2Image,J=[];if(this.params instanceof K.Dict){const L=this.params.get("JBIG2Globals");if(L instanceof R.BaseStream){const Q=L.getBytes();J.push({data:Q,start:0,end:Q.length})}}J.push({data:this.bytes,start:0,end:this.bytes.length});const X=he.parseChunks(J),W=X.length;for(let L=0;L{Object.defineProperty(D,"__esModule",{value:!0}),D.Jbig2Image=void 0;var R=B(2),U=B(131),K=B(151),z=B(147);class e extends R.BaseException{constructor(Qe){super(`JBIG2 error: ${Qe}`,"Jbig2Error")}}class ae{getContexts(Qe){return Qe in this?this[Qe]:this[Qe]=new Int8Array(65536)}}class ie{constructor(Qe,Fe,$e){this.data=Qe,this.start=Fe,this.end=$e}get decoder(){const Qe=new K.ArithmeticDecoder(this.data,this.start,this.end);return(0,R.shadow)(this,"decoder",Qe)}get contextCache(){const Qe=new ae;return(0,R.shadow)(this,"contextCache",Qe)}}function he(et,Qe,Fe){const $e=et.getContexts(Qe);let Ye=1;function tt(dt){let ct=0;for(let mt=0;mt>>0}const ot=tt(1),st=tt(1)?tt(1)?tt(1)?tt(1)?tt(1)?tt(32)+4436:tt(12)+340:tt(8)+84:tt(6)+20:tt(4)+4:tt(2);return ot===0?st:st>0?-st:null}function J(et,Qe,Fe){const $e=et.getContexts("IAID");let Ye=1;for(let tt=0;tt=$t&&gr=Yt)for(kr=kr<<1&Je,Pt=0;Pt=0&&Dr=0&&(cr=Bt[fr][Dr],cr&&(kr|=cr<=et?It<<=1:It=It<<1|Vt[er][Bt];for(He=0;He=Pt||Bt<0||Bt>=wt?It<<=1:It=It<<1|$e[er][Bt];const Dt=Wt.readBit(Mt,It);Ft[Jt]=Dt}}return Vt}function me(et,Qe,Fe,$e,Ye,tt,ot,st,dt,ct,mt,ut){if(et&&Qe)throw new e("symbol refinement with Huffman is not supported");const rt=[];let He=0,Je=(0,U.log2)(Fe.length+$e);const St=mt.decoder,bt=mt.contextCache;let pt,wt;for(et&&(pt=Ue(1),wt=[],Je=Math.max(Je,1));rt.length<$e;){const Yt=et?tt.tableDeltaHeight.decode(ut):he(bt,"IADH",St);He+=Yt;let Ft=0,Jt=0;const er=et?wt.length:0;for(;;){const Bt=et?tt.tableDeltaWidth.decode(ut):he(bt,"IADW",St);if(Bt===null)break;Ft+=Bt,Jt+=Ft;let It;if(Qe){const Dt=he(bt,"IAAI",St);if(Dt>1)It=Ee(et,Qe,Ft,He,0,Dt,1,Fe.concat(rt),Je,0,0,1,0,tt,dt,ct,mt,0,ut);else{const Zt=J(bt,St,Je),gr=he(bt,"IARDX",St),fr=he(bt,"IARDY",St),Dr=Zt1&&(Bt=et?wt.readBits(pt):he(Mt,"IAIT",Wt));const It=ot*$t+Bt,Dt=et?He.symbolIDTable.decode(wt):J(Mt,Wt,dt),Zt=Qe&&(et?wt.readBit():he(Mt,"IARI",Wt));let gr=st[Dt],fr=gr[0].length,Dr=gr.length;if(Zt){const At=he(Mt,"IARDW",Wt),zt=he(Mt,"IARDH",Wt),Br=he(Mt,"IARDX",Wt),br=he(Mt,"IARDY",Wt);fr+=At,Dr+=zt,gr=se(fr,Dr,Je,gr,(At>>1)+Br,(zt>>1)+br,!1,St,bt)}const kr=It-(ut&1?0:Dr-1),cr=er-(ut&2?fr-1:0);let Ar,yt,vt;if(ct){for(Ar=0;Ar=0;pt--)et?er=je(Jt,dt,ct,!0):er=oe(!1,dt,ct,Fe,!1,null,Yt,Je),Ft[pt]=er;let Bt,It,Dt,Zt,gr,fr,Dr,kr,cr;for(Bt=0;Bt=0;wt--)Dt^=Ft[wt][Bt][It],Zt|=Dt<>8,Dr=ut+Bt*rt-It*He>>8,fr>=0&&fr+Wt<=$e&&Dr>=0&&Dr+Mt<=Ye)for(pt=0;pt=Ye))for(cr=bt[yt],kr=gr[pt],wt=0;wt=0&&Ar<$e&&(cr[Ar]|=kr[wt])}}return bt}function fe(et,Qe){const Fe={};Fe.number=(0,U.readUint32)(et,Qe);const $e=et[Qe+4],Ye=$e&63;if(!X[Ye])throw new e("invalid segment type: "+Ye);Fe.type=Ye,Fe.typeName=X[Ye],Fe.deferredNonRetain=!!($e&128);const tt=!!($e&64),ot=et[Qe+5];let st=ot>>5&7;const dt=[ot&31];let ct=Qe+6;if(ot===7){st=(0,U.readUint32)(et,ct-1)&536870911,ct+=3;let Je=st+7>>3;for(dt[0]=et[ct++];--Je>0;)dt.push(et[ct++])}else if(ot===5||ot===6)throw new e("invalid referred-to flags");Fe.retainBits=dt;let mt=4;Fe.number<=256?mt=1:Fe.number<=65536&&(mt=2);const ut=[];let rt,He;for(rt=0;rt>>24&255,wt[3]=Je.height>>16&255,wt[4]=Je.height>>8&255,wt[5]=Je.height&255,rt=ct,He=et.length;rt>2&3,ut.huffmanDWSelector=rt>>4&3,ut.bitmapSizeSelector=rt>>6&1,ut.aggregationInstancesSelector=rt>>7&1,ut.bitmapCodingContextUsed=!!(rt&256),ut.bitmapCodingContextRetained=!!(rt&512),ut.template=rt>>10&3,ut.refinementTemplate=rt>>12&1,tt+=2,!ut.huffman){for(ct=ut.template===0?4:1,st=[],dt=0;dt>2&3,He.stripSize=1<>4&3,He.transposed=!!(Je&64),He.combinationOperator=Je>>7&3,He.defaultPixelValue=Je>>9&1,He.dsOffset=Je<<17>>27,He.refinementTemplate=Je>>15&1,He.huffman){const Mt=(0,U.readUint16)($e,tt);tt+=2,He.huffmanFS=Mt&3,He.huffmanDS=Mt>>2&3,He.huffmanDT=Mt>>4&3,He.huffmanRefinementDW=Mt>>6&3,He.huffmanRefinementDH=Mt>>8&3,He.huffmanRefinementDX=Mt>>10&3,He.huffmanRefinementDY=Mt>>12&3,He.huffmanRefinementSizeSelector=!!(Mt&16384)}if(He.refinement&&!He.refinementTemplate){for(st=[],dt=0;dt<2;dt++)st.push({x:(0,U.readInt8)($e,tt),y:(0,U.readInt8)($e,tt+1)}),tt+=2;He.refinementAt=st}He.numberOfSymbolInstances=(0,U.readUint32)($e,tt),tt+=4,ot=[He,Fe.referredTo,$e,tt,Ye];break;case 16:const St={},bt=$e[tt++];St.mmr=!!(bt&1),St.template=bt>>1&3,St.patternWidth=$e[tt++],St.patternHeight=$e[tt++],St.maxPatternIndex=(0,U.readUint32)($e,tt),tt+=4,ot=[St,Fe.number,$e,tt,Ye];break;case 22:case 23:const pt={};pt.info=ye($e,tt),tt+=Ce;const wt=$e[tt++];pt.mmr=!!(wt&1),pt.template=wt>>1&3,pt.enableSkip=!!(wt&8),pt.combinationOperator=wt>>4&7,pt.defaultPixelValue=wt>>7&1,pt.gridWidth=(0,U.readUint32)($e,tt),tt+=4,pt.gridHeight=(0,U.readUint32)($e,tt),tt+=4,pt.gridOffsetX=(0,U.readUint32)($e,tt)&4294967295,tt+=4,pt.gridOffsetY=(0,U.readUint32)($e,tt)&4294967295,tt+=4,pt.gridVectorX=(0,U.readUint16)($e,tt),tt+=2,pt.gridVectorY=(0,U.readUint16)($e,tt),tt+=2,ot=[pt,Fe.referredTo,$e,tt,Ye];break;case 38:case 39:const Pt={};Pt.info=ye($e,tt),tt+=Ce;const Nt=$e[tt++];if(Pt.mmr=!!(Nt&1),Pt.template=Nt>>1&3,Pt.prediction=!!(Nt&8),!Pt.mmr){for(ct=Pt.template===0?4:1,st=[],dt=0;dt>2&1,Vt.combinationOperator=Wt>>3&3,Vt.requiresBuffer=!!(Wt&32),Vt.combinationOperatorOverride=!!(Wt&64),ot=[Vt];break;case 49:break;case 50:break;case 51:break;case 53:ot=[Fe.number,$e,tt,Ye];break;case 62:break;default:throw new e(`segment type ${Fe.typeName}(${Fe.type}) is not implemented`)}const mt="on"+Fe.typeName;mt in Qe&&Qe[mt].apply(Qe,ot)}function _e(et,Qe){for(let Fe=0,$e=et.length;Fe<$e;Fe++)pe(et[Fe],Qe)}function Ge(et){const Qe=new Te;for(let Fe=0,$e=et.length;Fe<$e;Fe++){const Ye=et[Fe],tt=ve({},Ye.data,Ye.start,Ye.end);_e(tt,Qe)}return Qe.buffer}class Te{onPageInformation(Qe){this.currentPageInfo=Qe;const Fe=Qe.width+7>>3,$e=new Uint8ClampedArray(Fe*Qe.height);Qe.defaultPixelValue&&$e.fill(255),this.buffer=$e}drawBitmap(Qe,Fe){const $e=this.currentPageInfo,Ye=Qe.width,tt=Qe.height,ot=$e.width+7>>3,st=$e.combinationOperatorOverride?Qe.combinationOperator:$e.combinationOperator,dt=this.buffer,ct=128>>(Qe.x&7);let mt=Qe.y*ot+(Qe.x>>3),ut,rt,He,Je;switch(st){case 0:for(ut=0;ut>=1,He||(He=128,Je++);mt+=ot}break;case 2:for(ut=0;ut>=1,He||(He=128,Je++);mt+=ot}break;default:throw new e(`operator ${st} is not supported`)}}onImmediateGenericRegion(Qe,Fe,$e,Ye){const tt=Qe.info,ot=new ie(Fe,$e,Ye),st=oe(Qe.mmr,tt.width,tt.height,Qe.template,Qe.prediction,null,Qe.at,ot);this.drawBitmap(tt,st)}onImmediateLosslessGenericRegion(){this.onImmediateGenericRegion(...arguments)}onSymbolDictionary(Qe,Fe,$e,Ye,tt,ot){let st,dt;Qe.huffman&&(st=Ke(Qe,$e,this.customTables),dt=new we(Ye,tt,ot));let ct=this.symbols;ct||(this.symbols=ct={});const mt=[];for(const rt of $e){const He=ct[rt];He&&mt.push(...He)}const ut=new ie(Ye,tt,ot);ct[Fe]=me(Qe.huffman,Qe.refinement,mt,Qe.numberOfNewSymbols,Qe.numberOfExportedSymbols,st,Qe.template,Qe.at,Qe.refinementTemplate,Qe.refinementAt,ut,dt)}onImmediateTextRegion(Qe,Fe,$e,Ye,tt){const ot=Qe.info;let st,dt;const ct=this.symbols,mt=[];for(const Je of Fe){const St=ct[Je];St&&mt.push(...St)}const ut=(0,U.log2)(mt.length);Qe.huffman&&(dt=new we($e,Ye,tt),st=Be(Qe,Fe,this.customTables,mt.length,dt));const rt=new ie($e,Ye,tt),He=Ee(Qe.huffman,Qe.refinement,ot.width,ot.height,Qe.defaultPixelValue,Qe.numberOfSymbolInstances,Qe.stripSize,mt,ut,Qe.transposed,Qe.dsOffset,Qe.referenceCorner,Qe.combinationOperator,st,Qe.refinementTemplate,Qe.refinementAt,rt,Qe.logStripSize,dt);this.drawBitmap(ot,He)}onImmediateLosslessTextRegion(){this.onImmediateTextRegion(...arguments)}onPatternDictionary(Qe,Fe,$e,Ye,tt){let ot=this.patterns;ot||(this.patterns=ot={});const st=new ie($e,Ye,tt);ot[Fe]=ke(Qe.mmr,Qe.patternWidth,Qe.patternHeight,Qe.maxPatternIndex,Qe.template,st)}onImmediateHalftoneRegion(Qe,Fe,$e,Ye,tt){const ot=this.patterns[Fe[0]],st=Qe.info,dt=new ie($e,Ye,tt),ct=xe(Qe.mmr,ot,Qe.template,st.width,st.height,Qe.defaultPixelValue,Qe.enableSkip,Qe.combinationOperator,Qe.gridWidth,Qe.gridHeight,Qe.gridOffsetX,Qe.gridOffsetY,Qe.gridVectorX,Qe.gridVectorY,dt);this.drawBitmap(st,ct)}onImmediateLosslessHalftoneRegion(){this.onImmediateHalftoneRegion(...arguments)}onTables(Qe,Fe,$e,Ye){let tt=this.customTables;tt||(this.customTables=tt={}),tt[Qe]=Ae(Fe,$e,Ye)}}class Ne{constructor(Qe){Qe.length===2?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=Qe[0],this.rangeLength=0,this.prefixCode=Qe[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=Qe[0],this.prefixLength=Qe[1],this.rangeLength=Qe[2],this.prefixCode=Qe[3],this.isLowerRange=Qe[4]==="lower")}}class Ze{constructor(Qe){this.children=[],Qe?(this.isLeaf=!0,this.rangeLength=Qe.rangeLength,this.rangeLow=Qe.rangeLow,this.isLowerRange=Qe.isLowerRange,this.isOOB=Qe.isOOB):this.isLeaf=!1}buildTree(Qe,Fe){const $e=Qe.prefixCode>>Fe&1;if(Fe<=0)this.children[$e]=new Ze(Qe);else{let Ye=this.children[$e];Ye||(this.children[$e]=Ye=new Ze(null)),Ye.buildTree(Qe,Fe-1)}}decodeNode(Qe){if(this.isLeaf){if(this.isOOB)return null;const $e=Qe.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-$e:$e)}const Fe=this.children[Qe.readBit()];if(!Fe)throw new e("invalid Huffman data");return Fe.decodeNode(Qe)}}class ze{constructor(Qe,Fe){Fe||this.assignPrefixCodes(Qe),this.rootNode=new Ze(null);for(let $e=0,Ye=Qe.length;$e0&&this.rootNode.buildTree(tt,tt.prefixLength-1)}}decode(Qe){return this.rootNode.decodeNode(Qe)}assignPrefixCodes(Qe){const Fe=Qe.length;let $e=0;for(let mt=0;mt>1&7)+1,dt=($e>>4&7)+1,ct=[];let mt,ut,rt=Ye;do mt=ot.readBits(st),ut=ot.readBits(dt),ct.push(new Ne([rt,mt,ut,0])),rt+=1<=this.end)throw new e("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}const Qe=this.currentByte>>this.shift&1;return this.shift--,Qe}readBits(Qe){let Fe=0,$e;for($e=Qe-1;$e>=0;$e--)Fe|=this.readBit()<<$e;return Fe}byteAlign(){this.shift=-1}next(){return this.position>=this.end?-1:this.data[this.position++]}}function Ie(et,Qe,Fe){let $e=0;for(let Ye=0,tt=Qe.length;Ye=32){let Je,St,bt;switch(He){case 32:if(rt===0)throw new e("no previous value in symbol ID table");St=Ye.readBits(2)+3,Je=tt[rt-1].prefixLength;break;case 33:St=Ye.readBits(3)+3,Je=0;break;case 34:St=Ye.readBits(7)+11,Je=0;break;default:throw new e("invalid code length in symbol ID table")}for(bt=0;bt>ut&1,ut--}if($e&&!dt)for(let mt=0;mt<5&&tt.readNextChar()!==-1;mt++);return ot}class Le{parseChunks(Qe){return Ge(Qe)}parse(Qe){throw new Error("Not implemented: Jbig2Image.parse")}}D.Jbig2Image=Le},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ArithmeticDecoder=void 0;const B=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];class R{constructor(K,z,e){this.data=K,this.bp=z,this.dataEnd=e,this.chigh=K[z],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}byteIn(){const K=this.data;let z=this.bp;K[z]===255?K[z+1]>143?(this.clow+=65280,this.ct=8):(z++,this.clow+=K[z]<<9,this.ct=7,this.bp=z):(z++,this.clow+=z65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}readBit(K,z){let e=K[z]>>1,ae=K[z]&1;const ie=B[e],he=ie.qe;let J,X=this.a-he;if(this.chigh>15&1,this.clow=this.clow<<1&65535,this.ct--;while(!(X&32768));return this.a=X,K[z]=e<<1|ae,J}}D.ArithmeticDecoder=R},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.JpegStream=void 0;var R=B(144),U=B(130),K=B(153),z=B(2);class e extends R.DecodeStream{constructor(ie,he,J){let X;for(;(X=ie.getByte())!==-1;)if(X===255){ie.skip(-1);break}super(he),this.stream=ie,this.dict=ie.dict,this.maybeLength=he,this.params=J}get bytes(){return(0,z.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(ie){}readBlock(){if(this.eof)return;const ie={decodeTransform:void 0,colorTransform:void 0},he=this.dict.getArray("D","Decode");if(this.forceRGB&&Array.isArray(he)){const W=this.dict.get("BPC","BitsPerComponent")||8,L=he.length,Q=new Int32Array(L);let ce=!1;const de=(1<{Object.defineProperty(D,"__esModule",{value:!0}),D.JpegImage=void 0;var R=B(2),U=B(131);class K extends R.BaseException{constructor(ve){super(`JPEG error: ${ve}`,"JpegError")}}class z extends R.BaseException{constructor(ve,ye){super(ve,"DNLMarkerError"),this.scanLines=ye}}class e extends R.BaseException{constructor(ve){super(ve,"EOIMarkerError")}}const ae=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),ie=4017,he=799,J=3406,X=2276,W=1567,L=3784,Q=5793,ce=2896;function de(fe,ve){let ye=0,Ce,pe,_e=16;for(;_e>0&&!fe[_e-1];)_e--;const Ge=[{children:[],index:0}];let Te=Ge[0],Ne;for(Ce=0;Ce<_e;Ce++){for(pe=0;pe0;)Te=Ge.pop();for(Te.index++,Ge.push(Te);Ge.length<=Ce;)Ge.push(Ne={children:[],index:0}),Te.children[Te.index]=Ne.children,Te=Ne;ye++}Ce+1<_e&&(Ge.push(Ne={children:[],index:0}),Te.children[Te.index]=Ne.children,Te=Ne)}return Ge[0].children}function oe(fe,ve,ye){return 64*((fe.blocksPerLine+1)*ve+ye)}function se(fe,ve,ye,Ce,pe,_e,Ge,Te,Ne){let Ze=arguments.length>9&&arguments[9]!==void 0?arguments[9]:!1;const ze=ye.mcusPerLine,Ae=ye.progressive,De=ve;let Ue=0,we=0;function Ie(){if(we>0)return we--,Ue>>we&1;if(Ue=fe[ve++],Ue===255){const Vt=fe[ve++];if(Vt){if(Vt===220&&Ze){ve+=2;const Wt=(0,U.readUint16)(fe,ve);if(ve+=2,Wt>0&&Wt!==ye.scanLines)throw new z("Found DNL marker (0xFFDC) while parsing scan data",Wt)}else if(Vt===217){if(Ze){const Wt=ot*(ye.precision===8?8:0);if(Wt>0&&Math.round(ye.scanLines/Wt)>=10)throw new z("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",Wt)}throw new e("Found EOI marker (0xFFD9) while parsing scan data")}throw new K(`unexpected marker ${(Ue<<8|Vt).toString(16)}`)}}return we=7,Ue>>>7}function Be(Vt){let Wt=Vt;for(;;){switch(Wt=Wt[Ie()],typeof Wt){case"number":return Wt;case"object":continue}throw new K("invalid huffman sequence")}}function Ke(Vt){let Wt=0;for(;Vt>0;)Wt=Wt<<1|Ie(),Vt--;return Wt}function Ve(Vt){if(Vt===1)return Ie()===1?1:-1;const Wt=Ke(Vt);return Wt>=1<>4;if(Jt===0){if(er<15)break;Yt+=16;continue}Yt+=er;const Bt=ae[Yt];Vt.blockData[Wt+Bt]=Ve(Jt),Yt++}}function Le(Vt,Wt){const Mt=Be(Vt.huffmanTableDC),$t=Mt===0?0:Ve(Mt)<0){Qe--;return}let Mt=_e;const $t=Ge;for(;Mt<=$t;){const Yt=Be(Vt.huffmanTableAC),Ft=Yt&15,Jt=Yt>>4;if(Ft===0){if(Jt<15){Qe=Ke(Jt)+(1<>4,Ft===0)Yt<15?(Qe=Ke(Yt)+(1<0){for(ut=0;ut0?"unexpected":"excessive";(0,R.warn)(`decodeScan - ${Wt} MCU data, current marker is: ${pt.invalid}`),ve=pt.offset}if(pt.marker>=65488&&pt.marker<=65495)ve+=2;else break}return ve-De}function me(fe,ve,ye){const Ce=fe.quantizationTable,pe=fe.blockData;let _e,Ge,Te,Ne,Ze,ze,Ae,De,Ue,we,Ie,Be,Ke,Ve,je,Le,et;if(!Ce)throw new K("missing required Quantization Table.");for(let Qe=0;Qe<64;Qe+=8){if(Ue=pe[ve+Qe],we=pe[ve+Qe+1],Ie=pe[ve+Qe+2],Be=pe[ve+Qe+3],Ke=pe[ve+Qe+4],Ve=pe[ve+Qe+5],je=pe[ve+Qe+6],Le=pe[ve+Qe+7],Ue*=Ce[Qe],!(we|Ie|Be|Ke|Ve|je|Le)){et=Q*Ue+512>>10,ye[Qe]=et,ye[Qe+1]=et,ye[Qe+2]=et,ye[Qe+3]=et,ye[Qe+4]=et,ye[Qe+5]=et,ye[Qe+6]=et,ye[Qe+7]=et;continue}we*=Ce[Qe+1],Ie*=Ce[Qe+2],Be*=Ce[Qe+3],Ke*=Ce[Qe+4],Ve*=Ce[Qe+5],je*=Ce[Qe+6],Le*=Ce[Qe+7],_e=Q*Ue+128>>8,Ge=Q*Ke+128>>8,Te=Ie,Ne=je,Ze=ce*(we-Le)+128>>8,De=ce*(we+Le)+128>>8,ze=Be<<4,Ae=Ve<<4,_e=_e+Ge+1>>1,Ge=_e-Ge,et=Te*L+Ne*W+128>>8,Te=Te*W-Ne*L+128>>8,Ne=et,Ze=Ze+Ae+1>>1,Ae=Ze-Ae,De=De+ze+1>>1,ze=De-ze,_e=_e+Ne+1>>1,Ne=_e-Ne,Ge=Ge+Te+1>>1,Te=Ge-Te,et=Ze*X+De*J+2048>>12,Ze=Ze*J-De*X+2048>>12,De=et,et=ze*he+Ae*ie+2048>>12,ze=ze*ie-Ae*he+2048>>12,Ae=et,ye[Qe]=_e+De,ye[Qe+7]=_e-De,ye[Qe+1]=Ge+Ae,ye[Qe+6]=Ge-Ae,ye[Qe+2]=Te+ze,ye[Qe+5]=Te-ze,ye[Qe+3]=Ne+Ze,ye[Qe+4]=Ne-Ze}for(let Qe=0;Qe<8;++Qe){if(Ue=ye[Qe],we=ye[Qe+8],Ie=ye[Qe+16],Be=ye[Qe+24],Ke=ye[Qe+32],Ve=ye[Qe+40],je=ye[Qe+48],Le=ye[Qe+56],!(we|Ie|Be|Ke|Ve|je|Le)){et=Q*Ue+8192>>14,et<-2040?et=0:et>=2024?et=255:et=et+2056>>4,pe[ve+Qe]=et,pe[ve+Qe+8]=et,pe[ve+Qe+16]=et,pe[ve+Qe+24]=et,pe[ve+Qe+32]=et,pe[ve+Qe+40]=et,pe[ve+Qe+48]=et,pe[ve+Qe+56]=et;continue}_e=Q*Ue+2048>>12,Ge=Q*Ke+2048>>12,Te=Ie,Ne=je,Ze=ce*(we-Le)+2048>>12,De=ce*(we+Le)+2048>>12,ze=Be,Ae=Ve,_e=(_e+Ge+1>>1)+4112,Ge=_e-Ge,et=Te*L+Ne*W+2048>>12,Te=Te*W-Ne*L+2048>>12,Ne=et,Ze=Ze+Ae+1>>1,Ae=Ze-Ae,De=De+ze+1>>1,ze=De-ze,_e=_e+Ne+1>>1,Ne=_e-Ne,Ge=Ge+Te+1>>1,Te=Ge-Te,et=Ze*X+De*J+2048>>12,Ze=Ze*J-De*X+2048>>12,De=et,et=ze*he+Ae*ie+2048>>12,ze=ze*ie-Ae*he+2048>>12,Ae=et,Ue=_e+De,Le=_e-De,we=Ge+Ae,je=Ge-Ae,Ie=Te+ze,Ve=Te-ze,Be=Ne+Ze,Ke=Ne-Ze,Ue<16?Ue=0:Ue>=4080?Ue=255:Ue>>=4,we<16?we=0:we>=4080?we=255:we>>=4,Ie<16?Ie=0:Ie>=4080?Ie=255:Ie>>=4,Be<16?Be=0:Be>=4080?Be=255:Be>>=4,Ke<16?Ke=0:Ke>=4080?Ke=255:Ke>>=4,Ve<16?Ve=0:Ve>=4080?Ve=255:Ve>>=4,je<16?je=0:je>=4080?je=255:je>>=4,Le<16?Le=0:Le>=4080?Le=255:Le>>=4,pe[ve+Qe]=Ue,pe[ve+Qe+8]=we,pe[ve+Qe+16]=Ie,pe[ve+Qe+24]=Be,pe[ve+Qe+32]=Ke,pe[ve+Qe+40]=Ve,pe[ve+Qe+48]=je,pe[ve+Qe+56]=Le}}function Ee(fe,ve){const ye=ve.blocksPerLine,Ce=ve.blocksPerColumn,pe=new Int16Array(64);for(let _e=0;_e2&&arguments[2]!==void 0?arguments[2]:ve;const Ce=fe.length-1;let pe=ye=Ce)return null;const _e=(0,U.readUint16)(fe,ve);if(_e>=65472&&_e<=65534)return{invalid:null,marker:_e,offset:ve};let Ge=(0,U.readUint16)(fe,pe);for(;!(Ge>=65472&&Ge<=65534);){if(++pe>=Ce)return null;Ge=(0,U.readUint16)(fe,pe)}return{invalid:_e.toString(16),marker:Ge,offset:pe}}class xe{constructor(){let{decodeTransform:ve=null,colorTransform:ye=-1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this._decodeTransform=ve,this._colorTransform=ye}parse(ve){let{dnlScanLines:ye=null}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function Ce(){const Ie=(0,U.readUint16)(ve,_e);_e+=2;let Be=_e+Ie-2;const Ke=ke(ve,Be,_e);Ke&&Ke.invalid&&((0,R.warn)("readDataBlock - incorrect length, current marker is: "+Ke.invalid),Be=Ke.offset);const Ve=ve.subarray(_e,Be);return _e+=Ve.length,Ve}function pe(Ie){const Be=Math.ceil(Ie.samplesPerLine/8/Ie.maxH),Ke=Math.ceil(Ie.scanLines/8/Ie.maxV);for(let Ve=0,je=Ie.components.length;Ve>4)if(He>>4===1)for(Be=0;Be<64;Be++)et=ae[Be],Je[et]=(0,U.readUint16)(ve,_e),_e+=2;else throw new K("DQT - invalid table spec");else for(Be=0;Be<64;Be++)et=ae[Be],Je[et]=ve[_e++];Ae[He&15]=Je}break;case 65472:case 65473:case 65474:if(Ne)throw new K("Only single frame JPEGs supported");_e+=2,Ne={},Ne.extended=we===65473,Ne.progressive=we===65474,Ne.precision=ve[_e++];const Qe=(0,U.readUint16)(ve,_e);_e+=2,Ne.scanLines=ye||Qe,Ne.samplesPerLine=(0,U.readUint16)(ve,_e),_e+=2,Ne.components=[],Ne.componentIds={};const Fe=ve[_e++];let $e=0,Ye=0;for(Ie=0;Ie>4,St=ve[_e+1]&15;$e>4?De:Ue)[He&15]=de(Je,bt)}break;case 65501:_e+=2,Ze=(0,U.readUint16)(ve,_e),_e+=2;break;case 65498:const ot=++ze===1&&!ye;_e+=2;const st=ve[_e++],dt=[];for(Ie=0;Ie>4],St.huffmanTableAC=De[bt&15],dt.push(St)}const ct=ve[_e++],mt=ve[_e++],ut=ve[_e++];try{const He=se(ve,_e,Ne,dt,Ze,ct,mt,ut>>4,ut&15,ot);_e+=He}catch(He){if(He instanceof z)return(0,R.warn)(`${He.message} -- attempting to re-parse the JPEG image.`),this.parse(ve,{dnlScanLines:He.scanLines});if(He instanceof e){(0,R.warn)(`${He.message} -- ignoring the rest of the image data.`);break e}throw He}break;case 65500:_e+=4;break;case 65535:ve[_e]!==255&&_e--;break;default:const rt=ke(ve,_e-2,_e-3);if(rt&&rt.invalid){(0,R.warn)("JpegImage.parse - unexpected data, current marker is: "+rt.invalid),_e=rt.offset;break}if(!rt||_e>=ve.length-1){(0,R.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new K("JpegImage.parse - unknown marker: "+we.toString(16))}we=(0,U.readUint16)(ve,_e),_e+=2}this.width=Ne.samplesPerLine,this.height=Ne.scanLines,this.jfif=Ge,this.adobe=Te,this.components=[];for(let Ie=0,Be=Ne.components.length;Ie2&&arguments[2]!==void 0?arguments[2]:!1;const pe=this.width/ve,_e=this.height/ye;let Ge,Te,Ne,Ze,ze,Ae,De,Ue,we,Ie,Be=0,Ke;const Ve=this.components.length,je=ve*ye*Ve,Le=new Uint8ClampedArray(je),et=new Uint32Array(ve),Qe=4294967288;let Fe;for(De=0;De>8)+$e[we+1];return Le}get _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:this.numComponents===3?this._colorTransform===0?!1:!(this.components[0].index===82&&this.components[1].index===71&&this.components[2].index===66):this._colorTransform===1}_convertYccToRgb(ve){let ye,Ce,pe;for(let _e=0,Ge=ve.length;_e4)throw new K("Unsupported color mode");const Ge=this._getLinearizedBlockData(ye,Ce,_e);if(this.numComponents===1&&pe){const Te=Ge.length,Ne=new Uint8ClampedArray(Te*3);let Ze=0;for(let ze=0;ze{Object.defineProperty(D,"__esModule",{value:!0}),D.JpxStream=void 0;var R=B(144),U=B(155),K=B(2);class z extends R.DecodeStream{constructor(ae,ie,he){super(ie),this.stream=ae,this.dict=ae.dict,this.maybeLength=ie,this.params=he}get bytes(){return(0,K.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(ae){}readBlock(){if(this.eof)return;const ae=new U.JpxImage;ae.parse(this.bytes);const ie=ae.width,he=ae.height,J=ae.componentsCount,X=ae.tiles.length;if(X===1)this.buffer=ae.tiles[0].items;else{const W=new Uint8ClampedArray(ie*he*J);for(let L=0;L{Object.defineProperty(D,"__esModule",{value:!0}),D.JpxImage=void 0;var R=B(2),U=B(131),K=B(151);class z extends R.BaseException{constructor(Ae){super(`JPX error: ${Ae}`,"JpxError")}}const e={LL:0,LH:1,HL:1,HH:2};class ae{constructor(){this.failOnCorruptedImage=!1}parse(Ae){if((0,U.readUint16)(Ae,0)===65359){this.parseCodestream(Ae,0,Ae.length);return}const Ue=Ae.length;let we=0;for(;we>24&255,Ke>>16&255,Ke>>8&255,Ke&255);(0,R.warn)(`Unsupported header type ${Ke} (${et}).`);break}je&&(we+=Ve)}}parseImageProperties(Ae){let De=Ae.getByte();for(;De>=0;){const Ue=De;if(De=Ae.getByte(),(Ue<<8|De)===65361){Ae.skip(4);const Ie=Ae.getInt32()>>>0,Be=Ae.getInt32()>>>0,Ke=Ae.getInt32()>>>0,Ve=Ae.getInt32()>>>0;Ae.skip(16);const je=Ae.getUint16();this.width=Ie-Ke,this.height=Be-Ve,this.componentsCount=je,this.bitsPerComponent=8;return}}throw new z("No size marker found in JPX stream")}parseCodestream(Ae,De,Ue){const we={};let Ie=!1;try{let Be=De;for(;Be+1>5,et=[];je>3,Je.mu=0):(Je.epsilon=Ae[je]>>3,Je.mu=(Ae[je]&7)<<8|Ae[je+1],je+=2),et.push(Je)}st.SPqcds=et,we.mainHeader?we.QCD=st:(we.currentTile.QCD=st,we.currentTile.QCC=[]);break;case 65373:Ve=(0,U.readUint16)(Ae,Be);const dt={};je=Be+2;let ct;switch(we.SIZ.Csiz<257?ct=Ae[je++]:(ct=(0,U.readUint16)(Ae,je),je+=2),Le=Ae[je++],Le&31){case 0:Qe=8,Fe=!0;break;case 1:Qe=16,Fe=!1;break;case 2:Qe=16,Fe=!0;break;default:throw new Error("Invalid SQcd value "+Le)}for(dt.noQuantization=Qe===8,dt.scalarExpounded=Fe,dt.guardBits=Le>>5,et=[];je>3,Je.mu=0):(Je.epsilon=Ae[je]>>3,Je.mu=(Ae[je]&7)<<8|Ae[je+1],je+=2),et.push(Je)}dt.SPqcds=et,we.mainHeader?we.QCC[ct]=dt:we.currentTile.QCC[ct]=dt;break;case 65362:Ve=(0,U.readUint16)(Ae,Be);const mt={};je=Be+2;const ut=Ae[je++];mt.entropyCoderWithCustomPrecincts=!!(ut&1),mt.sopMarkerUsed=!!(ut&2),mt.ephMarkerUsed=!!(ut&4),mt.progressionOrder=Ae[je++],mt.layersCount=(0,U.readUint16)(Ae,je),je+=2,mt.multipleComponentTransform=Ae[je++],mt.decompositionLevelsCount=Ae[je++],mt.xcb=(Ae[je++]&15)+2,mt.ycb=(Ae[je++]&15)+2;const rt=Ae[je++];if(mt.selectiveArithmeticCodingBypass=!!(rt&1),mt.resetContextProbabilities=!!(rt&2),mt.terminationOnEachCodingPass=!!(rt&4),mt.verticallyStripe=!!(rt&8),mt.predictableTermination=!!(rt&16),mt.segmentationSymbolUsed=!!(rt&32),mt.reversibleTransformation=Ae[je++],mt.entropyCoderWithCustomPrecincts){const Je=[];for(;je>4})}mt.precinctsSizes=Je}const He=[];mt.selectiveArithmeticCodingBypass&&He.push("selectiveArithmeticCodingBypass"),mt.terminationOnEachCodingPass&&He.push("terminationOnEachCodingPass"),mt.verticallyStripe&&He.push("verticallyStripe"),mt.predictableTermination&&He.push("predictableTermination"),He.length>0&&(Ie=!0,(0,R.warn)(`JPX: Unsupported COD options (${He.join(", ")}).`)),we.mainHeader?we.COD=mt:(we.currentTile.COD=mt,we.currentTile.COC=[]);break;case 65424:Ve=(0,U.readUint16)(Ae,Be),$e={},$e.index=(0,U.readUint16)(Ae,Be+2),$e.length=(0,U.readUint32)(Ae,Be+4),$e.dataEnd=$e.length+Be-2,$e.partIndex=Ae[Be+8],$e.partsCount=Ae[Be+9],we.mainHeader=!1,$e.partIndex===0&&($e.COD=we.COD,$e.COC=we.COC.slice(0),$e.QCD=we.QCD,$e.QCC=we.QCC.slice(0)),we.currentTile=$e;break;case 65427:$e=we.currentTile,$e.partIndex===0&&(Ce(we,$e.index),ke(we)),Ve=$e.dataEnd-Be,xe(we,Ae,Be,Ve);break;case 65363:(0,R.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented.");case 65365:case 65367:case 65368:case 65380:Ve=(0,U.readUint16)(Ae,Be);break;default:throw new Error("Unknown codestream code: "+Ke.toString(16))}Be+=Ve}}catch(Be){if(Ie||this.failOnCorruptedImage)throw new z(Be.message);(0,R.warn)(`JPX: Trying to recover from: "${Be.message}".`)}this.tiles=ye(we),this.width=we.SIZ.Xsiz-we.SIZ.XOsiz,this.height=we.SIZ.Ysiz-we.SIZ.YOsiz,this.componentsCount=we.SIZ.Csiz}}D.JpxImage=ae;function ie(ze,Ae){ze.x0=Math.ceil(Ae.XOsiz/ze.XRsiz),ze.x1=Math.ceil(Ae.Xsiz/ze.XRsiz),ze.y0=Math.ceil(Ae.YOsiz/ze.YRsiz),ze.y1=Math.ceil(Ae.Ysiz/ze.YRsiz),ze.width=ze.x1-ze.x0,ze.height=ze.y1-ze.y0}function he(ze,Ae){const De=ze.SIZ,Ue=[];let we;const Ie=Math.ceil((De.Xsiz-De.XTOsiz)/De.XTsiz),Be=Math.ceil((De.Ysiz-De.YTOsiz)/De.YTsiz);for(let Ve=0;Ve0?Math.min(Ue.xcb,we.PPx-1):Math.min(Ue.xcb,we.PPx),we.ycb_=De>0?Math.min(Ue.ycb,we.PPy-1):Math.min(Ue.ycb,we.PPy),we}function X(ze,Ae,De){const Ue=1<Ae.trx0?Math.ceil(Ae.trx1/Ue)-Math.floor(Ae.trx0/Ue):0,je=Ae.try1>Ae.try0?Math.ceil(Ae.try1/we)-Math.floor(Ae.try0/we):0,Le=Ve*je;Ae.precinctParameters={precinctWidth:Ue,precinctHeight:we,numprecinctswide:Ve,numprecinctshigh:je,numprecincts:Le,precinctWidthInSubband:Be,precinctHeightInSubband:Ke}}function W(ze,Ae,De){const Ue=De.xcb_,we=De.ycb_,Ie=1<>Ue,Ve=Ae.tby0>>we,je=Ae.tbx1+Ie-1>>Ue,Le=Ae.tby1+Be-1>>we,et=Ae.resolution.precinctParameters,Qe=[],Fe=[];let $e,Ye,tt,ot;for(Ye=Ve;Yect.cbxMax&&(ct.cbxMax=$e),Yect.cbyMax&&(ct.cbyMax=Ye)):Fe[ot]=ct={cbxMin:$e,cbyMin:Ye,cbxMax:$e,cbyMax:Ye},tt.precinct=ct}Ae.codeblockParameters={codeblockWidth:Ue,codeblockHeight:we,numcodeblockwide:je-Ke+1,numcodeblockhigh:Le-Ve+1},Ae.codeblocks=Qe,Ae.precincts=Fe}function L(ze,Ae,De){const Ue=[],we=ze.subbands;for(let Ie=0,Be=we.length;IeQe.codingStyleParameters.decompositionLevelsCount)continue;const Fe=Qe.resolutions[Ve],$e=Fe.precinctParameters.numprecincts;for(;Le<$e;){const Ye=L(Fe,Le,Ke);return Le++,Ye}Le=0}je=0}Ve=0}throw new z("Out of packets")}}function ce(ze){const Ae=ze.SIZ,De=ze.currentTile.index,Ue=ze.tiles[De],we=Ue.codingStyleDefaultParameters.layersCount,Ie=Ae.Csiz;let Be=0;for(let et=0;etQe.codingStyleParameters.decompositionLevelsCount)continue;const Fe=Qe.resolutions[Ke],$e=Fe.precinctParameters.numprecincts;for(;Le<$e;){const Ye=L(Fe,Le,Ve);return Le++,Ye}Le=0}je=0}Ve=0}throw new z("Out of packets")}}function de(ze){const Ae=ze.SIZ,De=ze.currentTile.index,Ue=ze.tiles[De],we=Ue.codingStyleDefaultParameters.layersCount,Ie=Ae.Csiz;let Be,Ke,Ve,je,Le=0;for(Ve=0;VeFe.codingStyleParameters.decompositionLevelsCount)continue;const $e=Fe.resolutions[Ke],Ye=$e.precinctParameters.numprecincts;if(!(je>=Ye)){for(;Be=0;--tt){const ot=Ve.resolutions[tt],st=Ye*ot.precinctParameters.precinctWidth,dt=Ye*ot.precinctParameters.precinctHeight;et=Math.min(et,st),Qe=Math.min(Qe,dt),Fe=Math.max(Fe,ot.precinctParameters.numprecinctswide),$e=Math.max($e,ot.precinctParameters.numprecinctshigh),Le[tt]={width:st,height:dt},Ye<<=1}De=Math.min(De,et),Ue=Math.min(Ue,Qe),we=Math.max(we,Fe),Ie=Math.max(Ie,$e),Be[Ke]={resolutions:Le,minWidth:et,minHeight:Qe,maxNumWide:Fe,maxNumHigh:$e}}return{components:Be,minWidth:De,minHeight:Ue,maxNumWide:we,maxNumHigh:Ie}}function ke(ze){const Ae=ze.SIZ,De=ze.currentTile.index,Ue=ze.tiles[De],we=Ae.Csiz;for(let Be=0;Be>>Be&(1<0;){const ut=ct.shift();mt=ut.codeblock,mt.data===void 0&&(mt.data=[]),mt.data.push({data:Ae,start:De+we,end:De+we+ut.dataLength,codingpasses:ut.codingpasses}),we+=ut.dataLength}}return we}function fe(ze,Ae,De,Ue,we,Ie,Be,Ke,Ve){const je=Ue.tbx0,Le=Ue.tby0,et=Ue.tbx1-Ue.tbx0,Qe=Ue.codeblocks,Fe=Ue.type.charAt(0)==="H"?1:0,$e=Ue.type.charAt(1)==="H"?Ae:0;for(let Ye=0,tt=Qe.length;Ye=Ie?ze[Dt]=Ft:ze[Dt]=Ft*(1<0?1-st:0));const bt=dt.subbands[rt],pt=e[bt.type],wt=Fe?1:2**(Qe+pt-St)*(1+Je/2048),Pt=je+St-1;fe(ut,ct,mt,bt,wt,Pt,Fe,Le,et)}Ye.push({width:ct,height:mt,items:ut})}const ot=$e.calculate(Ye,Ue.tcx0,Ue.tcy0);return{left:Ue.tcx0,top:Ue.tcy0,width:ot.width,height:ot.height,items:ot.items}}function ye(ze){const Ae=ze.SIZ,De=ze.components,Ue=Ae.Csiz,we=[];for(let Ie=0,Be=ze.tiles.length;Ie>2);Le[$e++]=bt+dt>>Qe,Le[$e++]=bt>>Qe,Le[$e++]=bt+st>>Qe}else for(Ye=0;Ye>Qe,Le[$e++]=ot-.34413*st-.71414*dt>>Qe,Le[$e++]=ot+1.772*st>>Qe;if(ct)for(Ye=0,$e=3;Ye>Qe}else for(let ct=0;ct>Qe,$e+=Ue}we.push(et)}return we}function Ce(ze,Ae){const Ue=ze.SIZ.Csiz,we=ze.tiles[Ae];for(let Ie=0;Ie>=1,De>>=1,Ue++}Ue--,Ie=this.levels[Ue],Ie.items[Ie.index]=we,this.currentLevel=Ue,delete this.value}incrementValue(){const Ae=this.levels[this.currentLevel];Ae.items[Ae.index]++}nextLevel(){let Ae=this.currentLevel,De=this.levels[Ae];const Ue=De.items[De.index];return Ae--,Ae<0?(this.value=Ue,!1):(this.currentLevel=Ae,De=this.levels[Ae],De.items[De.index]=Ue,!0)}}class _e{constructor(Ae,De,Ue){const we=(0,U.log2)(Math.max(Ae,De))+1;this.levels=[];for(let Ie=0;IeUe)return this.currentLevel=we,this.propagateValues(),!1;Ae>>=1,De>>=1,we++}return this.currentLevel=we-1,!0}incrementValue(Ae){const De=this.levels[this.currentLevel];De.items[De.index]=Ae+1,this.propagateValues()}propagateValues(){let Ae=this.currentLevel,De=this.levels[Ae];const Ue=De.items[De.index];for(;--Ae>=0;)De=this.levels[Ae],De.items[De.index]=Ue}nextLevel(){let Ae=this.currentLevel,De=this.levels[Ae];const Ue=De.items[De.index];return De.items[De.index]=255,Ae--,Ae<0?!1:(this.currentLevel=Ae,De=this.levels[Ae],De.items[De.index]=Ue,!0)}}const Ge=function(){const Ue=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]),we=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]),Ie=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);class Be{constructor(Ve,je,Le,et,Qe){this.width=Ve,this.height=je;let Fe;Le==="HH"?Fe=Ie:Le==="HL"?Fe=we:Fe=Ue,this.contextLabelTable=Fe;const $e=Ve*je;this.neighborsSignificance=new Uint8Array($e),this.coefficentsSign=new Uint8Array($e);let Ye;Qe>14?Ye=new Uint32Array($e):Qe>6?Ye=new Uint16Array($e):Ye=new Uint8Array($e),this.coefficentsMagnitude=Ye,this.processingFlags=new Uint8Array($e);const tt=new Uint8Array($e);if(et!==0)for(let ot=0;ot<$e;ot++)tt[ot]=et;this.bitsDecoded=tt,this.reset()}setDecoder(Ve){this.decoder=Ve}reset(){this.contexts=new Int8Array(19),this.contexts[0]=8,this.contexts[17]=92,this.contexts[18]=6}setNeighborsSignificance(Ve,je,Le){const et=this.neighborsSignificance,Qe=this.width,Fe=this.height,$e=je>0,Ye=je+10&&(tt=Le-Qe,$e&&(et[tt-1]+=16),Ye&&(et[tt+1]+=16),et[tt]+=4),Ve+1=Le)break;if($e[rt]&=st,et[rt]||!Fe[rt])continue;const St=tt[Fe[rt]];if(Ve.readBit(Ye,St)){const pt=this.decodeSignBit(Je,ut,rt);Qe[rt]=pt,et[rt]=1,this.setNeighborsSignificance(Je,ut,rt),$e[rt]|=ct}ot[rt]++,$e[rt]|=dt}}}decodeSignBit(Ve,je,Le){const et=this.width,Qe=this.height,Fe=this.coefficentsMagnitude,$e=this.coefficentsSign;let Ye,tt,ot,st,dt,ct;st=je>0&&Fe[Le-1]!==0,je+10&&Fe[Le-et]!==0,Ve+1=0?(dt=9+Ye,ct=this.decoder.readBit(this.contexts,dt)):(dt=9-Ye,ct=this.decoder.readBit(this.contexts,dt)^1),ct}runMagnitudeRefinementPass(){const Ve=this.decoder,je=this.width,Le=this.height,et=this.coefficentsMagnitude,Qe=this.neighborsSignificance,Fe=this.contexts,$e=this.bitsDecoded,Ye=this.processingFlags,tt=1,ot=2,st=je*Le,dt=je*4;for(let ct=0,mt;ct>1;De|=0;let Ie,Be,Ke,Ve;const je=-1.586134342059924,Le=-.052980118572961,et=.882911075530934,Qe=.443506852043971,Fe=1.230174104914001,$e=1/Fe;for(Ie=De-3,Be=we+4;Be--;Ie+=2)Ae[Ie]*=$e;for(Ie=De-2,Ke=Qe*Ae[Ie-1],Be=we+3;Be--&&(Ve=Qe*Ae[Ie+1],Ae[Ie]=Fe*Ae[Ie]-Ke-Ve,Be--);Ie+=2)Ie+=2,Ke=Qe*Ae[Ie+1],Ae[Ie]=Fe*Ae[Ie]-Ke-Ve;for(Ie=De-1,Ke=et*Ae[Ie-1],Be=we+2;Be--&&(Ve=et*Ae[Ie+1],Ae[Ie]-=Ke+Ve,Be--);Ie+=2)Ie+=2,Ke=et*Ae[Ie+1],Ae[Ie]-=Ke+Ve;for(Ie=De,Ke=Le*Ae[Ie-1],Be=we+1;Be--&&(Ve=Le*Ae[Ie+1],Ae[Ie]-=Ke+Ve,Be--);Ie+=2)Ie+=2,Ke=Le*Ae[Ie+1],Ae[Ie]-=Ke+Ve;if(we!==0)for(Ie=De+1,Ke=je*Ae[Ie-1],Be=we;Be--&&(Ve=je*Ae[Ie+1],Ae[Ie]-=Ke+Ve,Be--);Ie+=2)Ie+=2,Ke=je*Ae[Ie+1],Ae[Ie]-=Ke+Ve}}class Ze extends Te{filter(Ae,De,Ue){const we=Ue>>1;De|=0;let Ie,Be;for(Ie=De,Be=we+1;Be--;Ie+=2)Ae[Ie]-=Ae[Ie-1]+Ae[Ie+1]+2>>2;for(Ie=De+1,Be=we;Be--;Ie+=2)Ae[Ie]+=Ae[Ie-1]+Ae[Ie+1]>>1}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.LZWStream=void 0;var R=B(144);class U extends R.DecodeStream{constructor(z,e,ae){super(e),this.str=z,this.dict=z.dict,this.cachedData=0,this.bitsCached=0;const ie=4096,he={earlyChange:ae,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(ie),dictionaryLengths:new Uint16Array(ie),dictionaryPrevCodes:new Uint16Array(ie),currentSequence:new Uint8Array(ie),currentSequenceLength:0};for(let J=0;J<256;++J)he.dictionaryValues[J]=J,he.dictionaryLengths[J]=1;this.lzwState=he}readBits(z){let e=this.bitsCached,ae=this.cachedData;for(;e>>e&(1<0;if(ve<256)me[0]=ve,Ee=1;else if(ve>=258)if(ve=0;he--)me[he]=Q[J],J=de[J];else me[Ee++]=me[0];else if(ve===256){oe=9,L=258,Ee=0;continue}else{this.eof=!0,delete this.lzwState;break}if(ye&&(de[L]=se,ce[L]=ce[se]+1,Q[L]=me[0],L++,oe=L+W&L+W-1?oe:Math.min(Math.log(L+W)/.6931471805599453+1,12)|0),se=ve,ke+=Ee,ae{Object.defineProperty(D,"__esModule",{value:!0}),D.PredictorStream=void 0;var R=B(144),U=B(130),K=B(2);class z extends R.DecodeStream{constructor(ae,ie,he){if(super(ie),!(he instanceof U.Dict))return ae;const J=this.predictor=he.get("Predictor")||1;if(J<=1)return ae;if(J!==2&&(J<10||J>15))throw new K.FormatError(`Unsupported predictor: ${J}`);J===2?this.readBlock=this.readBlockTiff:this.readBlock=this.readBlockPng,this.str=ae,this.dict=ae.dict;const X=this.colors=he.get("Colors")||1,W=this.bits=he.get("BPC","BitsPerComponent")||8,L=this.columns=he.get("Columns")||1;return this.pixBytes=X*W+7>>3,this.rowBytes=L*X*W+7>>3,this}readBlockTiff(){const ae=this.rowBytes,ie=this.bufferLength,he=this.ensureBuffer(ie+ae),J=this.bits,X=this.colors,W=this.str.getBytes(ae);if(this.eof=!W.length,this.eof)return;let L=0,Q=0,ce=0,de=0,oe=ie,se;if(J===1&&X===1)for(se=0;se>1,me^=me>>2,me^=me>>4,L=(me&1)<<7,he[oe++]=me}else if(J===8){for(se=0;se>8&255,he[oe++]=Ee&255}}else{const me=new Uint8Array(X+1),Ee=(1<>ce-J)&Ee,ce-=J,Q=Q<=8&&(he[xe++]=Q>>de-8&255,de-=8);de>0&&(he[xe++]=(Q<<8-de)+(L&(1<<8-de)-1))}this.bufferLength+=ae}readBlockPng(){const ae=this.rowBytes,ie=this.pixBytes,he=this.str.getByte(),J=this.str.getBytes(ae);if(this.eof=!J.length,this.eof)return;const X=this.bufferLength,W=this.ensureBuffer(X+ae);let L=W.subarray(X-ae,X);L.length===0&&(L=new Uint8Array(ae));let Q,ce=X,de,oe;switch(he){case 0:for(Q=0;Q>1)+J[Q];for(;Q>1)+J[Q]&255,ce++;break;case 4:for(Q=0;Q{Object.defineProperty(D,"__esModule",{value:!0}),D.RunLengthStream=void 0;var R=B(144);class U extends R.DecodeStream{constructor(z,e){super(e),this.str=z,this.dict=z.dict}readBlock(){const z=this.str.getBytes(2);if(!z||z.length<2||z[0]===128){this.eof=!0;return}let e,ae=this.bufferLength,ie=z[0];if(ie<128){if(e=this.ensureBuffer(ae+ie+1),e[ae++]=z[1],ie>0){const he=this.str.getBytes(ie);e.set(he,ae),ae+=ie}}else{ie=257-ie;const he=z[1];e=this.ensureBuffer(ae+ie+1);for(let J=0;J{Object.defineProperty(D,"__esModule",{value:!0}),D.Font=D.ErrorFont=void 0;var R=B(2),U=B(160),K=B(163),z=B(165),e=B(164),ae=B(162),ie=B(166),he=B(167),J=B(168),X=B(169),W=B(170),L=B(171),Q=B(141),ce=B(172),de=B(131),oe=B(135),se=B(173);const me=[[57344,63743],[1048576,1114109]],Ee=1e3,ke=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","fontType","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","type","vertical"],xe=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function fe(dt){if(!dt.fontMatrix||dt.fontMatrix[0]===R.FONT_IDENTITY_MATRIX[0])return;const ct=.001/dt.fontMatrix[0],mt=dt.widths;for(const ut in mt)mt[ut]*=ct;dt.defaultWidth*=ct}function ve(dt,ct){if(dt.isInternalFont||ct===dt.defaultEncoding||dt.toUnicode instanceof he.IdentityToUnicodeMap)return;const mt=[],ut=(0,e.getGlyphsUnicode)();for(const rt in ct){if(dt.hasIncludedToUnicodeMap){if(dt.toUnicode.has(rt))continue}else if(dt.hasEncoding&&(dt.differences.length===0||dt.differences[rt]!==void 0))continue;const He=ct[rt],Je=(0,z.getUnicodeForGlyph)(He,ut);Je!==-1&&(mt[rt]=String.fromCharCode(Je))}mt.length>0&&dt.toUnicode.amend(mt)}function ye(dt){if(!dt.fallbackToUnicode||dt.toUnicode instanceof he.IdentityToUnicodeMap)return;const ct=[];for(const mt in dt.fallbackToUnicode)dt.toUnicode.has(mt)||(ct[mt]=dt.fallbackToUnicode[mt]);ct.length>0&&dt.toUnicode.amend(ct)}class Ce{constructor(ct,mt,ut,rt,He,Je,St,bt,pt){this.originalCharCode=ct,this.fontChar=mt,this.unicode=ut,this.accent=rt,this.width=He,this.vmetric=Je,this.operatorListId=St,this.isSpace=bt,this.isInFont=pt;const wt=(0,z.getCharUnicodeCategory)(ut);this.isWhitespace=wt.isWhitespace,this.isZeroWidthDiacritic=wt.isZeroWidthDiacritic,this.isInvisibleFormatMark=wt.isInvisibleFormatMark}matchesForCache(ct,mt,ut,rt,He,Je,St,bt,pt){return this.originalCharCode===ct&&this.fontChar===mt&&this.unicode===ut&&this.accent===rt&&this.width===He&&this.vmetric===Je&&this.operatorListId===St&&this.isSpace===bt&&this.isInFont===pt}}function pe(dt,ct){return(dt<<8)+ct}function _e(dt,ct,mt){dt[ct+1]=mt,dt[ct]=mt>>>8}function Ge(dt,ct){const mt=(dt<<8)+ct;return mt&32768?mt-65536:mt}function Te(dt,ct,mt,ut){return(dt<<24)+(ct<<16)+(mt<<8)+ut}function Ne(dt){return String.fromCharCode(dt>>8&255,dt&255)}function Ze(dt){return dt>32767?dt=32767:dt<-32768&&(dt=-32768),String.fromCharCode(dt>>8&255,dt&255)}function ze(dt){const ct=dt.peekBytes(4);return(0,de.readUint32)(ct,0)===65536||(0,R.bytesToString)(ct)==="true"}function Ae(dt){const ct=dt.peekBytes(4);return(0,R.bytesToString)(ct)==="ttcf"}function De(dt){const ct=dt.peekBytes(4);return(0,R.bytesToString)(ct)==="OTTO"}function Ue(dt){const ct=dt.peekBytes(2);return ct[0]===37&&ct[1]===33||ct[0]===128&&ct[1]===1}function we(dt){const ct=dt.peekBytes(4);return ct[0]>=1&&ct[3]>=1&&ct[3]<=4}function Ie(dt,ct){let{type:mt,subtype:ut,composite:rt}=ct,He,Je;return ze(dt)||Ae(dt)?rt?He="CIDFontType2":He="TrueType":De(dt)?rt?He="CIDFontType2":He="OpenType":Ue(dt)?rt?He="CIDFontType0":He=mt==="MMType1"?"MMType1":"Type1":we(dt)?rt?(He="CIDFontType0",Je="CIDFontType0C"):(He=mt==="MMType1"?"MMType1":"Type1",Je="Type1C"):((0,R.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),He=mt,Je=ut),[He,Je]}function Be(dt,ct){for(const mt in ct)dt[+mt]=ct[mt]}function Ke(dt,ct,mt){const ut=[];let rt;for(let He=0,Je=dt.length;He2&&arguments[2]!==void 0?arguments[2]:!1;switch(ct.length){case 1:return ct.charCodeAt(0);case 2:return ct.charCodeAt(0)<<8|ct.charCodeAt(1)}const ut=`Unsupported CID string (charCode ${dt}): "${ct}".`;if(mt)throw new R.FormatError(ut);return(0,R.warn)(ut),ct}function je(dt,ct,mt,ut){const rt=Object.create(null),He=new Map,Je=[],St=new Set;let bt=0;const pt=me[bt][0];let wt=pt,Pt=me[bt][1];for(let Nt in dt){Nt|=0;let Vt=dt[Nt];if(!ct(Vt))continue;if(wt>Pt){if(bt++,bt>=me.length){(0,R.warn)("Ran out of space in font private use area.");break}wt=me[bt][0],Pt=me[bt][1]}const Wt=wt++;Vt===0&&(Vt=mt);let Mt=ut.get(Nt);typeof Mt=="string"&&(Mt=Mt.codePointAt(0)),Mt&&Mt=mt||ut.push({fontCharCode:Je|0,glyphId:dt[Je]});if(ct)for(const[Je,St]of ct)St>=mt||ut.push({fontCharCode:Je,glyphId:St});ut.length===0&&ut.push({fontCharCode:0,glyphId:0}),ut.sort(function(St,bt){return St.fontCharCode-bt.fontCharCode});const rt=[],He=ut.length;for(let Je=0;Je65535?2:1;let He="\0\0"+Ne(rt)+"\0\0"+(0,R.string32)(4+rt*8),Je,St,bt,pt;for(Je=ut.length-1;Je>=0&&!(ut[Je][0]<=65535);--Je);const wt=Je+1;ut[Je][0]<65535&&ut[Je][1]===65535&&(ut[Je][1]=65534);const Pt=ut[Je][1]<65535?1:0,Nt=wt+Pt,Vt=ce.OpenTypeFileBuilder.getSearchParams(Nt,2);let Wt="",Mt="",$t="",Yt="",Ft="",Jt=0,er,Bt,It,Dt;for(Je=0,St=wt;Je0&&(Mt+="ÿÿ",Wt+="ÿÿ",$t+="\0",Yt+="\0\0");const Zt="\0\0"+Ne(2*Nt)+Ne(Vt.range)+Ne(Vt.entry)+Ne(Vt.rangeShift)+Mt+"\0\0"+Wt+$t+Yt+Ft;let gr="",fr="";if(rt>1){for(He+=`\0\0 -`+(0,R.string32)(4+rt*8+4+Zt.length),gr="",Je=0,St=ut.length;JeHe||(ct.skip(6),ct.getUint16()===0)?!1:(dt.data[8]=dt.data[9]=0,!0)}function Fe(dt,ct,mt){mt=mt||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};let ut=0,rt=0,He=0,Je=0,St=null,bt=0;if(ct){for(let $t in ct){$t|=0,(St>$t||!St)&&(St=$t),bt<$t&&(bt=$t);const Yt=(0,z.getUnicodeRangeFor)($t);if(Yt<32)ut|=1< 123 are reserved for internal usage")}bt>65535&&(bt=65535)}else St=0,bt=255;const pt=dt.bbox||[0,0,0,0],wt=mt.unitsPerEm||1/(dt.fontMatrix||R.FONT_IDENTITY_MATRIX)[0],Pt=dt.ascentScaled?1:wt/Ee,Nt=mt.ascent||Math.round(Pt*(dt.ascent||pt[3]));let Vt=mt.descent||Math.round(Pt*(dt.descent||pt[1]));Vt>0&&dt.descent>0&&pt[1]<0&&(Vt=-Vt);const Wt=mt.yMax||Nt,Mt=-mt.yMin||-Vt;return"\0$ô\0\0\0Š»\0\0\0ŒŠ»\0\0ß\x001\0\0\0\0"+String.fromCharCode(dt.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,R.string32)(ut)+(0,R.string32)(rt)+(0,R.string32)(He)+(0,R.string32)(Je)+"*21*"+Ne(dt.italicAngle?1:0)+Ne(St||dt.firstChar)+Ne(bt||dt.lastChar)+Ne(Nt)+Ne(Vt)+"\0d"+Ne(Wt)+Ne(Mt)+"\0\0\0\0\0\0\0\0"+Ne(dt.xHeight)+Ne(dt.capHeight)+Ne(0)+Ne(St||dt.firstChar)+"\0"}function $e(dt){const ct=Math.floor(dt.italicAngle*65536);return"\0\0\0"+(0,R.string32)(ct)+"\0\0\0\0"+(0,R.string32)(dt.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function Ye(dt){return dt.replace(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function tt(dt,ct){ct||(ct=[[],[]]);const mt=[ct[0][0]||"Original licence",ct[0][1]||dt,ct[0][2]||"Unknown",ct[0][3]||"uniqueID",ct[0][4]||dt,ct[0][5]||"Version 0.11",ct[0][6]||Ye(dt),ct[0][7]||"Unknown",ct[0][8]||"Unknown",ct[0][9]||"Unknown"],ut=[];let rt,He,Je,St,bt;for(rt=0,He=mt.length;rt0&&arguments[0]!==void 0?arguments[0]:!1)?[...ke,...xe]:ke,ut=Object.create(null);let rt,He;for(rt of mt)He=this[rt],He!==void 0&&(ut[rt]=He);return ut}fallbackToSystemFont(ct){this.missingFile=!0;const mt=this.name,ut=this.type,rt=this.subtype;let He=(0,K.normalizeFontName)(mt);const Je=(0,ie.getStdFontMap)(),St=(0,ie.getNonStdFontMap)(),bt=!!Je[He],pt=!!(St[He]&&Je[St[He]]);He=Je[He]||St[He]||He;const Pt=(0,W.getFontBasicMetrics)()[He];Pt&&(isNaN(this.ascent)&&(this.ascent=Pt.ascent/Ee),isNaN(this.descent)&&(this.descent=Pt.descent/Ee),isNaN(this.capHeight)&&(this.capHeight=Pt.capHeight/Ee)),this.bold=He.search(/bold/gi)!==-1,this.italic=He.search(/oblique/gi)!==-1||He.search(/italic/gi)!==-1,this.black=mt.search(/Black/g)!==-1;const Nt=mt.search(/Narrow/g)!==-1;if(this.remeasure=(!bt||Nt)&&Object.keys(this.widths).length>0,(bt||pt)&&ut==="CIDFontType2"&&this.cidEncoding.startsWith("Identity-")){const Vt=ct.cidToGidMap,Wt=[];if(Be(Wt,(0,ie.getGlyphMapForStandardFonts)()),/Arial-?Black/i.test(mt)?Be(Wt,(0,ie.getSupplementalGlyphMapForArialBlack)()):/Calibri/i.test(mt)&&Be(Wt,(0,ie.getSupplementalGlyphMapForCalibri)()),Vt){for(const Mt in Wt){const $t=Wt[Mt];Vt[$t]!==void 0&&(Wt[+Mt]=Vt[$t])}Vt.length!==this.toUnicode.length&&ct.hasIncludedToUnicodeMap&&this.toUnicode instanceof he.IdentityToUnicodeMap&&this.toUnicode.forEach(function(Mt,$t){const Yt=Wt[Mt];Vt[Yt]===void 0&&(Wt[+Mt]=$t)})}this.toUnicode instanceof he.IdentityToUnicodeMap||this.toUnicode.forEach(function(Mt,$t){Wt[+Mt]=$t}),this.toFontChar=Wt,this.toUnicode=new he.ToUnicodeMap(Wt)}else if(/Symbol/i.test(He))this.toFontChar=Ke(ae.SymbolSetEncoding,(0,e.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(He))/Wingdings/i.test(mt)&&(0,R.warn)("Non-embedded Wingdings font, falling back to ZapfDingbats."),this.toFontChar=Ke(ae.ZapfDingbatsEncoding,(0,e.getDingbatsGlyphsUnicode)(),this.differences);else if(bt){const Vt=Ke(this.defaultEncoding,(0,e.getGlyphsUnicode)(),this.differences);ut==="CIDFontType2"&&!this.cidEncoding.startsWith("Identity-")&&!(this.toUnicode instanceof he.IdentityToUnicodeMap)&&this.toUnicode.forEach(function(Wt,Mt){Vt[+Wt]=Mt}),this.toFontChar=Vt}else{const Vt=(0,e.getGlyphsUnicode)(),Wt=[];this.toUnicode.forEach((Mt,$t)=>{if(!this.composite){const Yt=this.differences[Mt]||this.defaultEncoding[Mt],Ft=(0,z.getUnicodeForGlyph)(Yt,Vt);Ft!==-1&&($t=Ft)}Wt[+Mt]=$t}),this.composite&&this.toUnicode instanceof he.IdentityToUnicodeMap&&/Verdana/i.test(mt)&&Be(Wt,(0,ie.getGlyphMapForStandardFonts)()),this.toFontChar=Wt}ye(ct),this.loadedName=He.split("-")[0],this.fontType=(0,K.getFontType)(ut,rt,ct.isStandardFont)}checkAndRepair(ct,mt,ut){const rt=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function He(sr,ur){const Cr=Object.create(null);Cr["OS/2"]=null,Cr.cmap=null,Cr.head=null,Cr.hhea=null,Cr.hmtx=null,Cr.maxp=null,Cr.name=null,Cr.post=null;for(let Tr=0;Tr>>0,Tr=sr.getInt32()>>>0,jt=sr.getInt32()>>>0,Wr=sr.pos;sr.pos=sr.start||0,sr.skip(Tr);const ir=sr.getBytes(jt);return sr.pos=Wr,ur==="head"&&(ir[8]=ir[9]=ir[10]=ir[11]=0,ir[17]|=32),{tag:ur,checksum:Cr,length:jt,offset:Tr,data:ir}}function St(sr){return{version:sr.getString(4),numTables:sr.getUint16(),searchRange:sr.getUint16(),entrySelector:sr.getUint16(),rangeShift:sr.getUint16()}}function bt(sr){const ur=sr.getString(4);(0,R.assert)(ur==="ttcf","Must be a TrueType Collection font.");const Cr=sr.getUint16(),Tr=sr.getUint16(),jt=sr.getInt32()>>>0,Wr=[];for(let Gr=0;Gr>>0);const ir={ttcTag:ur,majorVersion:Cr,minorVersion:Tr,numFonts:jt,offsetTable:Wr};switch(Cr){case 1:return ir;case 2:return ir.dsigTag=sr.getInt32()>>>0,ir.dsigLength=sr.getInt32()>>>0,ir.dsigOffset=sr.getInt32()>>>0,ir}throw new R.FormatError(`Invalid TrueType Collection majorVersion: ${Cr}.`)}function pt(sr,ur){const{numFonts:Cr,offsetTable:Tr}=bt(sr),jt=ur.split("+");let Wr;for(let ir=0;ir>>0;let an=!1;if(!(Gr&&Gr.platformId===Lr&&Gr.encodingId===Rr)){if(Lr===0&&(Rr===0||Rr===1||Rr===3))an=!0;else if(Lr===1&&Rr===0)an=!0;else if(Lr===3&&Rr===1&&(Tr||!Gr))an=!0,Cr||(Jr=!0);else if(Cr&&Lr===3&&Rr===0){an=!0;let gn=!0;if(xr>3;xr.push(an),Lr=Math.max(an,Lr)}const Rr=[];for(let Mr=0;Mr<=Lr;Mr++)Rr.push({firstCode:ur.getUint16(),entryCount:ur.getUint16(),idDelta:Ge(ur.getByte(),ur.getByte()),idRangePos:ur.pos+ur.getUint16()});for(let Mr=0;Mr<256;Mr++)if(xr[Mr]===0)ur.pos=Rr[0].idRangePos+2*Mr,ar=ur.getUint16(),cn.push({charCode:Mr,glyphId:ar});else{const an=Rr[xr[Mr]];for(nn=0;nn>1;ur.skip(6);const Lr=[];let Rr;for(Rr=0;Rr>1)-(xr-Rr),jt.offsetIndex=an,Mr=Math.max(Mr,an+jt.end-jt.start+1)}const gn=[];for(nn=0;nn>>0;for(nn=0;nn>>0,Rr=ur.getInt32()>>>0;let Mr=ur.getInt32()>>>0;for(let an=Lr;an<=Rr;an++)cn.push({charCode:an,glyphId:Mr++})}}else return(0,R.warn)("cmap table has unsupported format: "+Xr),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};cn.sort(function(xr,Lr){return xr.charCode-Lr.charCode});for(let xr=1;xrjt&&((0,R.info)(`The numOfMetrics (${Gr}) should not be greater than the numGlyphs (${jt}).`),Gr=jt,ur.data[34]=(Gr&65280)>>8,ur.data[35]=Gr&255);const Xr=jt-Gr-(Cr.length-Gr*4>>1);if(Xr>0){const fn=new Uint8Array(Cr.length+Xr*2);fn.set(Cr.data),Wr&&(fn[Cr.length]=Cr.data[2],fn[Cr.length+1]=Cr.data[3]),Cr.data=fn}}function Nt(sr,ur,Cr,Tr,jt,Wr){const ir={length:0,sizeOfInstructions:0};if(Cr-ur<=12)return ir;const Gr=sr.subarray(ur,Cr);let Jr=Ge(Gr[0],Gr[1]);if(Jr<0)return Jr=-1,_e(Gr,0,Jr),Tr.set(Gr,jt),ir.length=Gr.length,ir;let Xr,fn=10,cn=0;for(Xr=0;XrGr.length?ir:!Wr&&ar>0?(Tr.set(Gr.subarray(0,nn),jt),Tr.set([0,0],jt+nn),Tr.set(Gr.subarray(xr,Rr),jt+nn+2),Rr-=ar,Gr.length-Rr>3&&(Rr=Rr+3&-4),ir.length=Rr,ir):Gr.length-Rr>3?(Rr=Rr+3&-4,Tr.set(Gr.subarray(0,Rr),jt),ir.length=Rr,ir):(Tr.set(Gr,jt),ir.length=Gr.length,ir)}function Vt(sr,ur,Cr){const Tr=sr.data,jt=Te(Tr[0],Tr[1],Tr[2],Tr[3]);jt>>16!==1&&((0,R.info)("Attempting to fix invalid version in head table: "+jt),Tr[0]=0,Tr[1]=1,Tr[2]=0,Tr[3]=0);const Wr=pe(Tr[50],Tr[51]);if(Wr<0||Wr>1){(0,R.info)("Attempting to fix invalid indexToLocFormat in head table: "+Wr);const ir=ur+1;if(Cr===ir<<1)Tr[50]=0,Tr[51]=0;else if(Cr===ir<<2)Tr[50]=0,Tr[51]=1;else throw new R.FormatError("Could not fix indexToLocFormat: "+Wr)}}function Wt(sr,ur,Cr,Tr,jt,Wr,ir){let Gr,Jr,Xr;Tr?(Gr=4,Jr=function(Mn,Yn){return Mn[Yn]<<24|Mn[Yn+1]<<16|Mn[Yn+2]<<8|Mn[Yn+3]},Xr=function(Mn,Yn,hi){Mn[Yn]=hi>>>24&255,Mn[Yn+1]=hi>>16&255,Mn[Yn+2]=hi>>8&255,Mn[Yn+3]=hi&255}):(Gr=2,Jr=function(Mn,Yn){return Mn[Yn]<<9|Mn[Yn+1]<<1},Xr=function(Mn,Yn,hi){Mn[Yn]=hi>>9&255,Mn[Yn+1]=hi>>1&255});const fn=Wr?Cr+1:Cr,cn=Gr*(1+fn),nn=new Uint8Array(cn);nn.set(sr.data.subarray(0,cn)),sr.data=nn;const ar=ur.data,xr=ar.length,Lr=new Uint8Array(xr);let Rr,Mr;const an=[];for(Rr=0,Mr=0;Rrxr&&(pn=xr),an.push({index:Rr,offset:pn,endOffset:0})}for(an.sort((pn,Mn)=>pn.offset-Mn.offset),Rr=0;Rrpn.index-Mn.index),Rr=0;Rrir&&(ir=pn.sizeOfInstructions),dn+=Mn,Xr(nn,Mr,dn)}if(dn===0){const pn=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(Rr=0,Mr=Gr;Rrpn+dn?ur.data=Lr.subarray(0,pn+dn):(ur.data=new Uint8Array(pn+dn),ur.data.set(Lr.subarray(0,dn))),ur.data.set(Lr.subarray(0,pn),dn),Xr(sr.data,nn.length-Gr,dn+pn)}else ur.data=Lr.subarray(0,dn);return{missingGlyphs:gn,maxSizeOfInstructions:ir}}function Mt(sr,ur,Cr){const Tr=(mt.start||0)+sr.offset;mt.pos=Tr;const jt=sr.length,Wr=Tr+jt,ir=mt.getInt32();mt.skip(28);let Gr,Jr=!0,Xr;switch(ir){case 65536:Gr=K.MacStandardGlyphOrdering;break;case 131072:const fn=mt.getUint16();if(fn!==Cr){Jr=!1;break}const cn=[];for(Xr=0;Xr=32768){Jr=!1;break}cn.push(xr)}if(!Jr)break;const nn=[],ar=[];for(;mt.posjt)continue;mt.pos=xr;const Lr=ar.name;if(ar.encoding){let Rr="";for(let Mr=0,an=ar.length;Mr0&&(Tr+=pn-1)}if(!Lr&&!Mr){let pn=0;for(dn<=142?pn=Yt[dn]:dn>=192&&dn<=223?pn=-1:dn>=224&&(pn=-2),dn>=113&&dn<=117&&(Wr=cn.pop(),isNaN(Wr)||(pn=-Wr*2));pn<0&&cn.length>0;)cn.pop(),pn++;for(;pn>0;)cn.push(NaN),pn--}}ur.tooComplexToFollowFunctions=xr;const an=[Cr];Tr>Cr.length&&an.push(new Uint8Array(Tr-Cr.length)),fn>Xr&&((0,R.warn)("TT: complementing a missing function tail"),an.push(new Uint8Array([34,45]))),er(sr,an)}function Jt(sr,ur){if(!sr.tooComplexToFollowFunctions){if(sr.functionsDefined.length>ur){(0,R.warn)("TT: more functions defined than expected"),sr.hintsValid=!1;return}for(let Cr=0,Tr=sr.functionsUsed.length;Crur){(0,R.warn)("TT: invalid function id: "+Cr),sr.hintsValid=!1;return}if(sr.functionsUsed[Cr]&&!sr.functionsDefined[Cr]){(0,R.warn)("TT: undefined function: "+Cr),sr.hintsValid=!1;return}}}}function er(sr,ur){if(ur.length>1){let Cr=0,Tr,jt;for(Tr=0,jt=ur.length;Tr0||!(ut.cMap instanceof Q.IdentityCMap));if(It.version==="OTTO"&&!sr||!Dt.head||!Dt.hhea||!Dt.maxp||!Dt.post)return gr=new oe.Stream(Dt["CFF "].data),Zt=new J.CFFFont(gr,ut),fe(ut),this.convert(ct,Zt,ut);delete Dt.glyf,delete Dt.loca,delete Dt.fpgm,delete Dt.prep,delete Dt["cvt "],this.isOpenType=!0}if(!Dt.maxp)throw new R.FormatError('Required "maxp" table is not found');mt.pos=(mt.start||0)+Dt.maxp.offset;const Dr=mt.getInt32(),kr=mt.getUint16();if(ut.scaleFactors&&ut.scaleFactors.length===kr&&fr){const{scaleFactors:sr}=ut,ur=pe(Dt.head.data[50],Dt.head.data[51]),Cr=new L.GlyfTable({glyfTable:Dt.glyf.data,isGlyphLocationsLong:ur,locaTable:Dt.loca.data,numGlyphs:kr});Cr.scale(sr);const{glyf:Tr,loca:jt,isLocationLong:Wr}=Cr.write();Dt.glyf.data=Tr,Dt.loca.data=jt,Wr!==!!ur&&(Dt.head.data[50]=0,Dt.head.data[51]=Wr?1:0);const ir=Dt.hmtx.data;for(let Gr=0;Gr>8&255,ir[Jr+1]=Xr&255;const fn=Math.round(sr[Gr]*Ge(ir[Jr+2],ir[Jr+3]));_e(ir,Jr+2,fn)}}let cr=kr+1,Ar=!0;cr>65535&&(Ar=!1,cr=kr,(0,R.warn)("Not enough space in glyfs to duplicate first glyph."));let yt=0,vt=0;Dr>=65536&&Dt.maxp.length>=22&&(mt.pos+=8,mt.getUint16()>2&&(Dt.maxp.data[14]=0,Dt.maxp.data[15]=2),mt.pos+=4,yt=mt.getUint16(),mt.pos+=4,vt=mt.getUint16()),Dt.maxp.data[4]=cr>>8,Dt.maxp.data[5]=cr&255;const Xt=Bt(Dt.fpgm,Dt.prep,Dt["cvt "],yt);if(Xt||(delete Dt.fpgm,delete Dt.prep,delete Dt["cvt "]),Pt(mt,Dt.hhea,Dt.hmtx,Dt.head,cr,Ar),!Dt.head)throw new R.FormatError('Required "head" table is not found');Vt(Dt.head,kr,fr?Dt.loca.length:0);let At=Object.create(null);if(fr){const sr=pe(Dt.head.data[50],Dt.head.data[51]),ur=Wt(Dt.loca,Dt.glyf,kr,sr,Xt,Ar,vt);At=ur.missingGlyphs,Dr>=65536&&Dt.maxp.length>=22&&(Dt.maxp.data[26]=ur.maxSizeOfInstructions>>8,Dt.maxp.data[27]=ur.maxSizeOfInstructions&255)}if(!Dt.hhea)throw new R.FormatError('Required "hhea" table is not found');Dt.hhea.data[10]===0&&Dt.hhea.data[11]===0&&(Dt.hhea.data[10]=255,Dt.hhea.data[11]=255);const zt={unitsPerEm:pe(Dt.head.data[18],Dt.head.data[19]),yMax:pe(Dt.head.data[42],Dt.head.data[43]),yMin:Ge(Dt.head.data[38],Dt.head.data[39]),ascent:Ge(Dt.hhea.data[4],Dt.hhea.data[5]),descent:Ge(Dt.hhea.data[6],Dt.hhea.data[7]),lineGap:Ge(Dt.hhea.data[8],Dt.hhea.data[9])};this.ascent=zt.ascent/zt.unitsPerEm,this.descent=zt.descent/zt.unitsPerEm,this.lineGap=zt.lineGap/zt.unitsPerEm,this.cssFontInfo&&this.cssFontInfo.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,Dt.post&&Mt(Dt.post,ut,kr),Dt.post={tag:"post",data:$e(ut)};const Br=[];function br(sr){return!At[sr]}if(ut.composite){const sr=ut.cidToGidMap||[],ur=sr.length===0;ut.cMap.forEach(function(Cr,Tr){if(typeof Tr=="string"&&(Tr=Ve(Cr,Tr,!0)),Tr>65535)throw new R.FormatError("Max size of CID is 65,535");let jt=-1;ur?jt=Tr:sr[Tr]!==void 0&&(jt=sr[Tr]),jt>=0&&jt=61440&&Jr<=61695&&(Jr&=255),Br[Jr]=Tr[Gr].glyphId}if(ut.glyphNames&&(Wr.length||this.differences.length))for(let Gr=0;Gr<256;++Gr){if(!ir&&Br[Gr]!==void 0)continue;const Jr=this.differences[Gr]||Wr[Gr];if(!Jr)continue;const Xr=ut.glyphNames.indexOf(Jr);Xr>0&&br(Xr)&&(Br[Gr]=Xr)}}Br.length===0&&(Br[0]=0);let Ur=cr-1;if(Ar||(Ur=0),!ut.cssFontInfo){const sr=je(Br,br,Ur,this.toUnicode);this.toFontChar=sr.toFontChar,Dt.cmap={tag:"cmap",data:et(sr.charCodeToGlyphId,sr.toUnicodeExtraMap,cr)},(!Dt["OS/2"]||!Qe(Dt["OS/2"],mt))&&(Dt["OS/2"]={tag:"OS/2",data:Fe(ut,sr.charCodeToGlyphId,zt)})}if(!fr)try{gr=new oe.Stream(Dt["CFF "].data),Zt=new U.CFFParser(gr,ut,K.SEAC_ANALYSIS_ENABLED).parse(),Zt.duplicateFirstGlyph();const ur=new U.CFFCompiler(Zt);Dt["CFF "].data=ur.compile()}catch{(0,R.warn)("Failed to compile font "+ut.loadedName)}if(!Dt.name)Dt.name={tag:"name",data:tt(this.name)};else{const sr=$t(Dt.name);Dt.name.data=tt(ct,sr),this.psName=sr[0][6]||null}const un=new ce.OpenTypeFileBuilder(It.version);for(const sr in Dt)un.addTable(sr,Dt[sr].data);return un.toArray()}convert(ct,mt,ut){ut.fixedPitch=!1,ut.builtInEncoding&&ve(ut,ut.builtInEncoding);let rt=1;mt instanceof J.CFFFont&&(rt=mt.numGlyphs-1);const He=mt.getGlyphMapping(ut);let Je=null,St=He,bt=null;ut.cssFontInfo||(Je=je(He,mt.hasGlyphId.bind(mt),rt,this.toUnicode),this.toFontChar=Je.toFontChar,St=Je.charCodeToGlyphId,bt=Je.toUnicodeExtraMap);const pt=mt.numGlyphs;function wt(Mt,$t){let Yt=null;for(const Ft in Mt)$t===Mt[Ft]&&(Yt||(Yt=[]),Yt.push(Ft|0));return Yt}function Pt(Mt,$t){for(const Yt in Mt)if($t===Mt[Yt])return Yt|0;return Je.charCodeToGlyphId[Je.nextAvailableFontCharCode]=$t,Je.nextAvailableFontCharCode++}const Nt=mt.seacs;if(Je&&K.SEAC_ANALYSIS_ENABLED&&Nt&&Nt.length){const Mt=ut.fontMatrix||R.FONT_IDENTITY_MATRIX,$t=mt.getCharset(),Yt=Object.create(null);for(let Ft in Nt){Ft|=0;const Jt=Nt[Ft],er=ae.StandardEncoding[Jt[2]],Bt=ae.StandardEncoding[Jt[3]],It=$t.indexOf(er),Dt=$t.indexOf(Bt);if(It<0||Dt<0)continue;const Zt={x:Jt[0]*Mt[0]+Jt[1]*Mt[2]+Mt[4],y:Jt[0]*Mt[1]+Jt[1]*Mt[3]+Mt[5]},gr=wt(He,Ft);if(gr)for(let fr=0,Dr=gr.length;fr1&&arguments[1]!==void 0?arguments[1]:!1,ut,rt,He,Je=ct;this.cMap&&this.cMap.contains(ct)&&(Je=this.cMap.lookup(ct),typeof Je=="string"&&(Je=Ve(ct,Je))),rt=this.widths[Je],typeof rt!="number"&&(rt=this.defaultWidth);const St=this.vmetrics&&this.vmetrics[Je];let bt=this.toUnicode.get(ct)||ct;typeof bt=="number"&&(bt=String.fromCharCode(bt));let pt=this.toFontChar[ct]!==void 0;if(ut=this.toFontChar[ct]||ct,this.missingFile){const Vt=this.differences[ct]||this.defaultEncoding[ct];(Vt===".notdef"||Vt==="")&&this.type==="Type1"&&(ut=32),ut=(0,z.mapSpecialUnicodeValues)(ut)}this.isType3Font&&(He=ut);let wt=null;if(this.seacMap&&this.seacMap[ct]){pt=!0;const Vt=this.seacMap[ct];ut=Vt.baseFontCharCode,wt={fontChar:String.fromCodePoint(Vt.accentFontCharCode),offset:Vt.accentOffset}}let Pt="";typeof ut=="number"&&(ut<=1114111?Pt=String.fromCodePoint(ut):(0,R.warn)(`charToGlyph - invalid fontCharCode: ${ut}`));let Nt=this._glyphCache[ct];return(!Nt||!Nt.matchesForCache(ct,Pt,bt,wt,rt,St,He,mt,pt))&&(Nt=new Ce(ct,Pt,bt,wt,rt,St,He,mt,pt),this._glyphCache[ct]=Nt),Nt}charsToGlyphs(ct){let mt=this._charsCache[ct];if(mt)return mt;if(mt=[],this.cMap){const ut=Object.create(null),rt=ct.length;let He=0;for(;Hemt.length%2===1,He=this.toUnicode instanceof he.IdentityToUnicodeMap?Je=>this.toUnicode.charCodeOf(Je):Je=>this.toUnicode.charCodeOf(String.fromCodePoint(Je));for(let Je=0,St=ct.length;Je55295&&(bt<57344||bt>65533)&&Je++,this.toUnicode){const pt=He(bt);if(pt!==-1){rt()&&(mt.push(ut.join("")),ut.length=0);const wt=this.cMap?this.cMap.getCharCodeLength(pt):1;for(let Pt=wt-1;Pt>=0;Pt--)ut.push(String.fromCharCode(pt>>8*Pt&255));continue}}rt()||(mt.push(ut.join("")),ut.length=0),ut.push(String.fromCodePoint(bt))}return mt.push(ut.join("")),mt}}D.Font=ot;class st{constructor(ct){this.error=ct,this.loadedName="g_font_error",this.missingFile=!0}charsToGlyphs(){return[]}encodeString(ct){return[ct]}exportData(){return{error:this.error}}}D.ErrorFont=st},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CFFTopDict=D.CFFStrings=D.CFFStandardStrings=D.CFFPrivateDict=D.CFFParser=D.CFFIndex=D.CFFHeader=D.CFFFDSelect=D.CFFCompiler=D.CFFCharset=D.CFF=void 0;var R=B(2),U=B(161),K=B(162);const z=10,e=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"];D.CFFStandardStrings=e;const ae=391,ie=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],he=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(Ce,pe){Ce[pe-2]=Ce[pe-2]+Ce[pe-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(Ce,pe){Ce[pe-2]=Ce[pe-2]-Ce[pe-1]}},{id:"div",min:2,stackDelta:-1,stackFn(Ce,pe){Ce[pe-2]=Ce[pe-2]/Ce[pe-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(Ce,pe){Ce[pe-1]=-Ce[pe-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(Ce,pe){Ce[pe-2]=Ce[pe-2]*Ce[pe-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];class J{constructor(pe,_e,Ge){this.bytes=pe.getBytes(),this.properties=_e,this.seacAnalysisEnabled=!!Ge}parse(){const pe=this.properties,_e=new X;this.cff=_e;const Ge=this.parseHeader(),Te=this.parseIndex(Ge.endPos),Ne=this.parseIndex(Te.endPos),Ze=this.parseIndex(Ne.endPos),ze=this.parseIndex(Ze.endPos),Ae=this.parseDict(Ne.obj.get(0)),De=this.createDict(oe,Ae,_e.strings);_e.header=Ge.obj,_e.names=this.parseNameIndex(Te.obj),_e.strings=this.parseStringIndex(Ze.obj),_e.topDict=De,_e.globalSubrIndex=ze.obj,this.parsePrivateDict(_e.topDict),_e.isCIDFont=De.hasName("ROS");const Ue=De.getByName("CharStrings"),we=this.parseIndex(Ue).obj,Ie=De.getByName("FontMatrix");Ie&&(pe.fontMatrix=Ie);const Be=De.getByName("FontBBox");Be&&(pe.ascent=Math.max(Be[3],Be[1]),pe.descent=Math.min(Be[1],Be[3]),pe.ascentScaled=!0);let Ke,Ve;if(_e.isCIDFont){const Le=this.parseIndex(De.getByName("FDArray")).obj;for(let et=0,Qe=Le.count;et=_e)throw new R.FormatError("Invalid CFF header");Ge!==0&&((0,R.info)("cff data is shifted"),pe=pe.subarray(Ge),this.bytes=pe);const Te=pe[0],Ne=pe[1],Ze=pe[2],ze=pe[3];return{obj:new W(Te,Ne,Ze,ze),endPos:Ze}}parseDict(pe){let _e=0;function Ge(){let Ae=pe[_e++];return Ae===30?Te():Ae===28?(Ae=pe[_e++],Ae=(Ae<<24|pe[_e++]<<16)>>16,Ae):Ae===29?(Ae=pe[_e++],Ae=Ae<<8|pe[_e++],Ae=Ae<<8|pe[_e++],Ae=Ae<<8|pe[_e++],Ae):Ae>=32&&Ae<=246?Ae-139:Ae>=247&&Ae<=250?(Ae-247)*256+pe[_e++]+108:Ae>=251&&Ae<=254?-((Ae-251)*256)-pe[_e++]-108:((0,R.warn)('CFFParser_parseDict: "'+Ae+'" is a reserved command.'),NaN)}function Te(){let Ae="";const Ue=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],we=pe.length;for(;_e>4,Ke=Ie&15;if(Be===15||(Ae+=Ue[Be],Ke===15))break;Ae+=Ue[Ke]}return parseFloat(Ae)}let Ne=[];const Ze=[];_e=0;const ze=pe.length;for(;_ez)return!1;let Ne=pe.stackSize;const Ze=pe.stack,ze=_e.length;for(let Ae=0;Ae>16,Ae+=2,Ne++;else if(De===14){if(Ne>=4&&(Ne-=4,this.seacAnalysisEnabled))return pe.seac=Ze.slice(Ne,Ne+4),!1;Ue=ie[De]}else if(De>=32&&De<=246)Ze[Ne]=De-139,Ne++;else if(De>=247&&De<=254)Ze[Ne]=De<251?(De-247<<8)+_e[Ae]+108:-(De-251<<8)-_e[Ae]-108,Ae++,Ne++;else if(De===255)Ze[Ne]=(_e[Ae]<<24|_e[Ae+1]<<16|_e[Ae+2]<<8|_e[Ae+3])/65536,Ae+=4,Ne++;else if(De===19||De===20)pe.hints+=Ne>>1,Ae+=pe.hints+7>>3,Ne%=2,Ue=ie[De];else if(De===10||De===29){let we;if(De===10?we=Ge:we=Te,!we)return Ue=ie[De],(0,R.warn)("Missing subrsIndex for "+Ue.id),!1;let Ie=32768;we.count<1240?Ie=107:we.count<33900&&(Ie=1131);const Be=Ze[--Ne]+Ie;if(Be<0||Be>=we.count||isNaN(Be))return Ue=ie[De],(0,R.warn)("Out of bounds subrIndex for "+Ue.id),!1;if(pe.stackSize=Ne,pe.callDepth++,!this.parseCharString(pe,we.get(Be),Ge,Te))return!1;pe.callDepth--,Ne=pe.stackSize;continue}else{if(De===11)return pe.stackSize=Ne,!0;De===0&&Ae===_e.length?(_e[Ae-1]=14,Ue=ie[14]):Ue=ie[De]}if(Ue){if(Ue.stem&&(pe.hints+=Ne>>1,De===3||De===23?pe.hasVStems=!0:pe.hasVStems&&(De===1||De===18)&&((0,R.warn)("CFF stem hints are in wrong order"),_e[Ae-1]=De===1?3:23)),"min"in Ue&&!pe.undefStack&&Ne=2&&Ue.stem?Ne%=2:Ne>1&&(0,R.warn)("Found too many parameters for stack-clearing command"),Ne>0&&(pe.width=Ze[Ne-1])),"stackDelta"in Ue?("stackFn"in Ue&&Ue.stackFn(Ze,Ne),Ne+=Ue.stackDelta):Ue.stackClearing?Ne=0:Ue.resetStack?(Ne=0,pe.undefStack=!1):Ue.undefStack&&(Ne=0,pe.undefStack=!0,pe.firstStackClearing=!1)}}return pe.stackSize=Ne,!0}parseCharStrings(pe){let{charStrings:_e,localSubrIndex:Ge,globalSubrIndex:Te,fdSelect:Ne,fdArray:Ze,privateDict:ze}=pe;const Ae=[],De=[],Ue=_e.count;for(let we=0;we=Ze.length&&((0,R.warn)("Invalid fd index for glyph index."),Ke=!1),Ke&&(je=Ze[Le].privateDict,Ve=je.subrsIndex)}else Ge&&(Ve=Ge);if(Ke&&(Ke=this.parseCharString(Be,Ie,Ve,Te)),Be.width!==null){const Le=je.getByName("nominalWidthX");De[we]=Le+Be.width}else{const Le=je.getByName("defaultWidthX");De[we]=Le}Be.seac!==null&&(Ae[we]=Be.seac),Ke||_e.set(we,new Uint8Array([14]))}return{charStrings:_e,seacs:Ae,widths:De}}emptyPrivateDictionary(pe){const _e=this.createDict(me,[],pe.strings);pe.setByKey(18,[0,0]),pe.privateDict=_e}parsePrivateDict(pe){if(!pe.hasName("Private")){this.emptyPrivateDictionary(pe);return}const _e=pe.getByName("Private");if(!Array.isArray(_e)||_e.length!==2){pe.removeByName("Private");return}const Ge=_e[0],Te=_e[1];if(Ge===0||Te>=this.bytes.length){this.emptyPrivateDictionary(pe);return}const Ne=Te+Ge,Ze=this.bytes.subarray(Te,Ne),ze=this.parseDict(Ze),Ae=this.createDict(me,ze,pe.strings);if(pe.privateDict=Ae,!Ae.getByName("Subrs"))return;const De=Ae.getByName("Subrs"),Ue=Te+De;if(De===0||Ue>=this.bytes.length){this.emptyPrivateDictionary(pe);return}const we=this.parseIndex(Ue);Ae.subrsIndex=we.obj}parseCharsets(pe,_e,Ge,Te){if(pe===0)return new ke(!0,Ee.ISO_ADOBE,U.ISOAdobeCharset);if(pe===1)return new ke(!0,Ee.EXPERT,U.ExpertCharset);if(pe===2)return new ke(!0,Ee.EXPERT_SUBSET,U.ExpertSubsetCharset);const Ne=this.bytes,Ze=pe,ze=Ne[pe++],Ae=[Te?0:".notdef"];let De,Ue,we;switch(_e-=1,ze){case 0:for(we=0;we<_e;we++)De=Ne[pe++]<<8|Ne[pe++],Ae.push(Te?De:Ge.get(De));break;case 1:for(;Ae.length<=_e;)for(De=Ne[pe++]<<8|Ne[pe++],Ue=Ne[pe++],we=0;we<=Ue;we++)Ae.push(Te?De++:Ge.get(De++));break;case 2:for(;Ae.length<=_e;)for(De=Ne[pe++]<<8|Ne[pe++],Ue=Ne[pe++]<<8|Ne[pe++],we=0;we<=Ue;we++)Ae.push(Te?De++:Ge.get(De++));break;default:throw new R.FormatError("Unknown charset format")}const Ie=pe,Be=Ne.subarray(Ze,Ie);return new ke(!1,ze,Ae,Be)}parseEncoding(pe,_e,Ge,Te){const Ne=Object.create(null),Ze=this.bytes;let ze=!1,Ae,De,Ue,we=null;function Ie(){const Be=Ze[pe++];for(De=0;De=65535){(0,R.warn)("Not enough space in charstrings to duplicate first glyph.");return}const pe=this.charStrings.get(0);this.charStrings.add(pe),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}hasGlyphId(pe){return pe<0||pe>=this.charStrings.count?!1:this.charStrings.get(pe).length>0}}D.CFF=X;class W{constructor(pe,_e,Ge,Te){this.major=pe,this.minor=_e,this.hdrSize=Ge,this.offSize=Te}}D.CFFHeader=W;class L{constructor(){this.strings=[]}get(pe){return pe>=0&&pe<=ae-1?e[pe]:pe-ae<=this.strings.length?this.strings[pe-ae]:e[0]}getSID(pe){let _e=e.indexOf(pe);return _e!==-1?_e:(_e=this.strings.indexOf(pe),_e!==-1?_e+ae:-1)}add(pe){this.strings.push(pe)}get count(){return this.strings.length}}D.CFFStrings=L;class Q{constructor(){this.objects=[],this.length=0}add(pe){this.length+=pe.length,this.objects.push(pe)}set(pe,_e){this.length+=_e.length-this.objects[pe].length,this.objects[pe]=_e}get(pe){return this.objects[pe]}get count(){return this.objects.length}}D.CFFIndex=Q;class ce{constructor(pe,_e){this.keyToNameMap=pe.keyToNameMap,this.nameToKeyMap=pe.nameToKeyMap,this.defaults=pe.defaults,this.types=pe.types,this.opcodes=pe.opcodes,this.order=pe.order,this.strings=_e,this.values=Object.create(null)}setByKey(pe,_e){if(!(pe in this.keyToNameMap))return!1;const Ge=_e.length;if(Ge===0)return!0;for(let Ne=0;Ne=this.fdSelect.length?-1:this.fdSelect[pe]}}D.CFFFDSelect=fe;class ve{constructor(){this.offsets=Object.create(null)}isTracking(pe){return pe in this.offsets}track(pe,_e){if(pe in this.offsets)throw new R.FormatError(`Already tracking location of ${pe}`);this.offsets[pe]=_e}offset(pe){for(const _e in this.offsets)this.offsets[_e]+=pe}setEntryLocation(pe,_e,Ge){if(!(pe in this.offsets))throw new R.FormatError(`Not tracking location of ${pe}`);const Te=Ge.data,Ne=this.offsets[pe],Ze=5;for(let ze=0,Ae=_e.length;ze>24&255,Te[we]=Ke>>16&255,Te[Ie]=Ke>>8&255,Te[Be]=Ke&255}}}class ye{constructor(pe){this.cff=pe}compile(){const pe=this.cff,_e={data:[],length:0,add(Ie){this.data=this.data.concat(Ie),this.length=this.data.length}},Ge=this.compileHeader(pe.header);_e.add(Ge);const Te=this.compileNameIndex(pe.names);if(_e.add(Te),pe.isCIDFont&&pe.topDict.hasName("FontMatrix")){const Ie=pe.topDict.getByName("FontMatrix");pe.topDict.removeByName("FontMatrix");for(let Be=0,Ke=pe.fdArray.length;Be16&&pe.topDict.removeByName("XUID"),pe.topDict.setByName("charset",0);let Ze=this.compileTopDicts([pe.topDict],_e.length,pe.isCIDFont);_e.add(Ze.output);const ze=Ze.trackers[0],Ae=this.compileStringIndex(pe.strings.strings);_e.add(Ae);const De=this.compileIndex(pe.globalSubrIndex);if(_e.add(De),pe.encoding&&pe.topDict.hasName("Encoding"))if(pe.encoding.predefined)ze.setEntryLocation("Encoding",[pe.encoding.format],_e);else{const Ie=this.compileEncoding(pe.encoding);ze.setEntryLocation("Encoding",[_e.length],_e),_e.add(Ie)}const Ue=this.compileCharset(pe.charset,pe.charStrings.count,pe.strings,pe.isCIDFont);ze.setEntryLocation("charset",[_e.length],_e),_e.add(Ue);const we=this.compileCharStrings(pe.charStrings);if(ze.setEntryLocation("CharStrings",[_e.length],_e),_e.add(we),pe.isCIDFont){ze.setEntryLocation("FDSelect",[_e.length],_e);const Ie=this.compileFDSelect(pe.fdSelect);_e.add(Ie),Ze=this.compileTopDicts(pe.fdArray,_e.length,!0),ze.setEntryLocation("FDArray",[_e.length],_e),_e.add(Ze.output);const Be=Ze.trackers;this.compilePrivateDicts(pe.fdArray,Be,_e)}return this.compilePrivateDicts([pe.topDict],[ze],_e),_e.add([0]),_e.data}encodeNumber(pe){return Number.isInteger(pe)?this.encodeInteger(pe):this.encodeFloat(pe)}static get EncodeFloatRegExp(){return(0,R.shadow)(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}encodeFloat(pe){let _e=pe.toString();const Ge=ye.EncodeFloatRegExp.exec(_e);if(Ge){const Ae=parseFloat("1e"+((Ge[2]?+Ge[2]:0)+Ge[1].length));_e=(Math.round(pe*Ae)/Ae).toString()}let Te="",Ne,Ze;for(Ne=0,Ze=_e.length;Ne=-107&&pe<=107?_e=[pe+139]:pe>=108&&pe<=1131?(pe-=108,_e=[(pe>>8)+247,pe&255]):pe>=-1131&&pe<=-108?(pe=-pe-108,_e=[(pe>>8)+251,pe&255]):pe>=-32768&&pe<=32767?_e=[28,pe>>8&255,pe&255]:_e=[29,pe>>24&255,pe>>16&255,pe>>8&255,pe&255],_e}compileHeader(pe){return[pe.major,pe.minor,4,pe.offSize]}compileNameIndex(pe){const _e=new Q;for(let Ge=0,Te=pe.length;Ge"~"||De==="["||De==="]"||De==="("||De===")"||De==="{"||De==="}"||De==="<"||De===">"||De==="/"||De==="%")&&(De="_"),ze[Ae]=De}ze=ze.join(""),ze===""&&(ze="Bad_Font_Name"),_e.add((0,R.stringToBytes)(ze))}return this.compileIndex(_e)}compileTopDicts(pe,_e,Ge){const Te=[];let Ne=new Q;for(let Ze=0,ze=pe.length;Ze>8&255,Ze&255]);else{const ze=1+Ze*2;Ne=new Uint8Array(ze),Ne[0]=0;let Ae=0;const De=pe.charset.length;let Ue=!1;for(let we=1;we>8&255,Ne[we+1]=Ie&255}}return this.compileTypedArray(Ne)}compileEncoding(pe){return this.compileTypedArray(pe.raw)}compileFDSelect(pe){const _e=pe.format;let Ge,Te;switch(_e){case 0:for(Ge=new Uint8Array(1+pe.fdSelect.length),Ge[0]=_e,Te=0;Te>8&255,Ne&255,Ze];for(Te=1;Te>8&255,Te&255,De),Ze=De)}const Ae=(ze.length-3)/3;ze[1]=Ae>>8&255,ze[2]=Ae&255,ze.push(Te>>8&255,Te&255),Ge=new Uint8Array(ze);break}return this.compileTypedArray(Ge)}compileTypedArray(pe){const _e=[];for(let Ge=0,Te=pe.length;Ge1&&arguments[1]!==void 0?arguments[1]:[];const Ge=pe.objects,Te=Ge.length;if(Te===0)return[0,0];const Ne=[Te>>8&255,Te&255];let Ze=1,ze;for(ze=0;ze>8&255,De&255):Ae===3?Ne.push(De>>16&255,De>>8&255,De&255):Ne.push(De>>>24&255,De>>16&255,De>>8&255,De&255),Ge[ze]&&(De+=Ge[ze].length);for(ze=0;ze{Object.defineProperty(D,"__esModule",{value:!0}),D.ISOAdobeCharset=D.ExpertSubsetCharset=D.ExpertCharset=void 0;const B=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"];D.ISOAdobeCharset=B;const R=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];D.ExpertCharset=R;const U=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"];D.ExpertSubsetCharset=U},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ZapfDingbatsEncoding=D.WinAnsiEncoding=D.SymbolSetEncoding=D.StandardEncoding=D.MacRomanEncoding=D.ExpertEncoding=void 0,D.getEncoding=ie;const B=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];D.ExpertEncoding=B;const R=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""],U=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"];D.MacRomanEncoding=U;const K=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""];D.StandardEncoding=K;const z=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"];D.WinAnsiEncoding=z;const e=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""];D.SymbolSetEncoding=e;const ae=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""];D.ZapfDingbatsEncoding=ae;function ie(he){switch(he){case"WinAnsiEncoding":return z;case"StandardEncoding":return K;case"MacRomanEncoding":return U;case"SymbolSetEncoding":return e;case"ZapfDingbatsEncoding":return ae;case"ExpertEncoding":return B;case"MacExpertEncoding":return R;default:return null}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.SEAC_ANALYSIS_ENABLED=D.MacStandardGlyphOrdering=D.FontFlags=void 0,D.getFontType=he,D.normalizeFontName=W,D.recoverGlyphName=J,D.type1FontGlyphMapping=X;var R=B(2),U=B(162),K=B(164),z=B(165);const e=!0;D.SEAC_ANALYSIS_ENABLED=e;const ae={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};D.FontFlags=ae;const ie=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];D.MacStandardGlyphOrdering=ie;function he(L,Q){let ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;switch(L){case"Type1":return ce?R.FontType.TYPE1STANDARD:Q==="Type1C"?R.FontType.TYPE1C:R.FontType.TYPE1;case"CIDFontType0":return Q==="CIDFontType0C"?R.FontType.CIDFONTTYPE0C:R.FontType.CIDFONTTYPE0;case"OpenType":return R.FontType.OPENTYPE;case"TrueType":return R.FontType.TRUETYPE;case"CIDFontType2":return R.FontType.CIDFONTTYPE2;case"MMType1":return R.FontType.MMTYPE1;case"Type0":return R.FontType.TYPE0;default:return R.FontType.UNKNOWN}}function J(L,Q){if(Q[L]!==void 0)return L;const ce=(0,z.getUnicodeForGlyph)(L,Q);if(ce!==-1){for(const de in Q)if(Q[de]===ce)return de}return(0,R.info)("Unable to recover a standard glyph name for: "+L),L}function X(L,Q,ce){const de=Object.create(null);let oe,se,me;const Ee=!!(L.flags&ae.Symbolic);if(L.isInternalFont)for(me=Q,se=0;se=0?de[se]=oe:de[se]=0;else if(L.baseEncodingName)for(me=(0,U.getEncoding)(L.baseEncodingName),se=0;se=0?de[se]=oe:de[se]=0;else if(Ee)for(se in Q)de[se]=Q[se];else for(me=U.StandardEncoding,se=0;se=0?de[se]=oe:de[se]=0;const ke=L.differences;let xe;if(ke)for(se in ke){const fe=ke[se];if(oe=ce.indexOf(fe),oe===-1){xe||(xe=(0,K.getGlyphsUnicode)());const ve=J(fe,xe);ve!==fe&&(oe=ce.indexOf(ve))}oe>=0?de[se]=oe:de[se]=0}return de}function W(L){return L.replace(/[,_]/g,"-").replace(/\s/g,"")}},($,D,B)=>{B.r(D),B.d(D,{getDingbatsGlyphsUnicode:()=>K,getGlyphsUnicode:()=>U});var R=B(131);const U=(0,R.getArrayLookupTableFactory)(function(){return["A",65,"AE",198,"AEacute",508,"AEmacron",482,"AEsmall",63462,"Aacute",193,"Aacutesmall",63457,"Abreve",258,"Abreveacute",7854,"Abrevecyrillic",1232,"Abrevedotbelow",7862,"Abrevegrave",7856,"Abrevehookabove",7858,"Abrevetilde",7860,"Acaron",461,"Acircle",9398,"Acircumflex",194,"Acircumflexacute",7844,"Acircumflexdotbelow",7852,"Acircumflexgrave",7846,"Acircumflexhookabove",7848,"Acircumflexsmall",63458,"Acircumflextilde",7850,"Acute",63177,"Acutesmall",63412,"Acyrillic",1040,"Adblgrave",512,"Adieresis",196,"Adieresiscyrillic",1234,"Adieresismacron",478,"Adieresissmall",63460,"Adotbelow",7840,"Adotmacron",480,"Agrave",192,"Agravesmall",63456,"Ahookabove",7842,"Aiecyrillic",1236,"Ainvertedbreve",514,"Alpha",913,"Alphatonos",902,"Amacron",256,"Amonospace",65313,"Aogonek",260,"Aring",197,"Aringacute",506,"Aringbelow",7680,"Aringsmall",63461,"Asmall",63329,"Atilde",195,"Atildesmall",63459,"Aybarmenian",1329,"B",66,"Bcircle",9399,"Bdotaccent",7682,"Bdotbelow",7684,"Becyrillic",1041,"Benarmenian",1330,"Beta",914,"Bhook",385,"Blinebelow",7686,"Bmonospace",65314,"Brevesmall",63220,"Bsmall",63330,"Btopbar",386,"C",67,"Caarmenian",1342,"Cacute",262,"Caron",63178,"Caronsmall",63221,"Ccaron",268,"Ccedilla",199,"Ccedillaacute",7688,"Ccedillasmall",63463,"Ccircle",9400,"Ccircumflex",264,"Cdot",266,"Cdotaccent",266,"Cedillasmall",63416,"Chaarmenian",1353,"Cheabkhasiancyrillic",1212,"Checyrillic",1063,"Chedescenderabkhasiancyrillic",1214,"Chedescendercyrillic",1206,"Chedieresiscyrillic",1268,"Cheharmenian",1347,"Chekhakassiancyrillic",1227,"Cheverticalstrokecyrillic",1208,"Chi",935,"Chook",391,"Circumflexsmall",63222,"Cmonospace",65315,"Coarmenian",1361,"Csmall",63331,"D",68,"DZ",497,"DZcaron",452,"Daarmenian",1332,"Dafrican",393,"Dcaron",270,"Dcedilla",7696,"Dcircle",9401,"Dcircumflexbelow",7698,"Dcroat",272,"Ddotaccent",7690,"Ddotbelow",7692,"Decyrillic",1044,"Deicoptic",1006,"Delta",8710,"Deltagreek",916,"Dhook",394,"Dieresis",63179,"DieresisAcute",63180,"DieresisGrave",63181,"Dieresissmall",63400,"Digammagreek",988,"Djecyrillic",1026,"Dlinebelow",7694,"Dmonospace",65316,"Dotaccentsmall",63223,"Dslash",272,"Dsmall",63332,"Dtopbar",395,"Dz",498,"Dzcaron",453,"Dzeabkhasiancyrillic",1248,"Dzecyrillic",1029,"Dzhecyrillic",1039,"E",69,"Eacute",201,"Eacutesmall",63465,"Ebreve",276,"Ecaron",282,"Ecedillabreve",7708,"Echarmenian",1333,"Ecircle",9402,"Ecircumflex",202,"Ecircumflexacute",7870,"Ecircumflexbelow",7704,"Ecircumflexdotbelow",7878,"Ecircumflexgrave",7872,"Ecircumflexhookabove",7874,"Ecircumflexsmall",63466,"Ecircumflextilde",7876,"Ecyrillic",1028,"Edblgrave",516,"Edieresis",203,"Edieresissmall",63467,"Edot",278,"Edotaccent",278,"Edotbelow",7864,"Efcyrillic",1060,"Egrave",200,"Egravesmall",63464,"Eharmenian",1335,"Ehookabove",7866,"Eightroman",8551,"Einvertedbreve",518,"Eiotifiedcyrillic",1124,"Elcyrillic",1051,"Elevenroman",8554,"Emacron",274,"Emacronacute",7702,"Emacrongrave",7700,"Emcyrillic",1052,"Emonospace",65317,"Encyrillic",1053,"Endescendercyrillic",1186,"Eng",330,"Enghecyrillic",1188,"Enhookcyrillic",1223,"Eogonek",280,"Eopen",400,"Epsilon",917,"Epsilontonos",904,"Ercyrillic",1056,"Ereversed",398,"Ereversedcyrillic",1069,"Escyrillic",1057,"Esdescendercyrillic",1194,"Esh",425,"Esmall",63333,"Eta",919,"Etarmenian",1336,"Etatonos",905,"Eth",208,"Ethsmall",63472,"Etilde",7868,"Etildebelow",7706,"Euro",8364,"Ezh",439,"Ezhcaron",494,"Ezhreversed",440,"F",70,"Fcircle",9403,"Fdotaccent",7710,"Feharmenian",1366,"Feicoptic",996,"Fhook",401,"Fitacyrillic",1138,"Fiveroman",8548,"Fmonospace",65318,"Fourroman",8547,"Fsmall",63334,"G",71,"GBsquare",13191,"Gacute",500,"Gamma",915,"Gammaafrican",404,"Gangiacoptic",1002,"Gbreve",286,"Gcaron",486,"Gcedilla",290,"Gcircle",9404,"Gcircumflex",284,"Gcommaaccent",290,"Gdot",288,"Gdotaccent",288,"Gecyrillic",1043,"Ghadarmenian",1346,"Ghemiddlehookcyrillic",1172,"Ghestrokecyrillic",1170,"Gheupturncyrillic",1168,"Ghook",403,"Gimarmenian",1331,"Gjecyrillic",1027,"Gmacron",7712,"Gmonospace",65319,"Grave",63182,"Gravesmall",63328,"Gsmall",63335,"Gsmallhook",667,"Gstroke",484,"H",72,"H18533",9679,"H18543",9642,"H18551",9643,"H22073",9633,"HPsquare",13259,"Haabkhasiancyrillic",1192,"Hadescendercyrillic",1202,"Hardsigncyrillic",1066,"Hbar",294,"Hbrevebelow",7722,"Hcedilla",7720,"Hcircle",9405,"Hcircumflex",292,"Hdieresis",7718,"Hdotaccent",7714,"Hdotbelow",7716,"Hmonospace",65320,"Hoarmenian",1344,"Horicoptic",1e3,"Hsmall",63336,"Hungarumlaut",63183,"Hungarumlautsmall",63224,"Hzsquare",13200,"I",73,"IAcyrillic",1071,"IJ",306,"IUcyrillic",1070,"Iacute",205,"Iacutesmall",63469,"Ibreve",300,"Icaron",463,"Icircle",9406,"Icircumflex",206,"Icircumflexsmall",63470,"Icyrillic",1030,"Idblgrave",520,"Idieresis",207,"Idieresisacute",7726,"Idieresiscyrillic",1252,"Idieresissmall",63471,"Idot",304,"Idotaccent",304,"Idotbelow",7882,"Iebrevecyrillic",1238,"Iecyrillic",1045,"Ifraktur",8465,"Igrave",204,"Igravesmall",63468,"Ihookabove",7880,"Iicyrillic",1048,"Iinvertedbreve",522,"Iishortcyrillic",1049,"Imacron",298,"Imacroncyrillic",1250,"Imonospace",65321,"Iniarmenian",1339,"Iocyrillic",1025,"Iogonek",302,"Iota",921,"Iotaafrican",406,"Iotadieresis",938,"Iotatonos",906,"Ismall",63337,"Istroke",407,"Itilde",296,"Itildebelow",7724,"Izhitsacyrillic",1140,"Izhitsadblgravecyrillic",1142,"J",74,"Jaarmenian",1345,"Jcircle",9407,"Jcircumflex",308,"Jecyrillic",1032,"Jheharmenian",1355,"Jmonospace",65322,"Jsmall",63338,"K",75,"KBsquare",13189,"KKsquare",13261,"Kabashkircyrillic",1184,"Kacute",7728,"Kacyrillic",1050,"Kadescendercyrillic",1178,"Kahookcyrillic",1219,"Kappa",922,"Kastrokecyrillic",1182,"Kaverticalstrokecyrillic",1180,"Kcaron",488,"Kcedilla",310,"Kcircle",9408,"Kcommaaccent",310,"Kdotbelow",7730,"Keharmenian",1364,"Kenarmenian",1343,"Khacyrillic",1061,"Kheicoptic",998,"Khook",408,"Kjecyrillic",1036,"Klinebelow",7732,"Kmonospace",65323,"Koppacyrillic",1152,"Koppagreek",990,"Ksicyrillic",1134,"Ksmall",63339,"L",76,"LJ",455,"LL",63167,"Lacute",313,"Lambda",923,"Lcaron",317,"Lcedilla",315,"Lcircle",9409,"Lcircumflexbelow",7740,"Lcommaaccent",315,"Ldot",319,"Ldotaccent",319,"Ldotbelow",7734,"Ldotbelowmacron",7736,"Liwnarmenian",1340,"Lj",456,"Ljecyrillic",1033,"Llinebelow",7738,"Lmonospace",65324,"Lslash",321,"Lslashsmall",63225,"Lsmall",63340,"M",77,"MBsquare",13190,"Macron",63184,"Macronsmall",63407,"Macute",7742,"Mcircle",9410,"Mdotaccent",7744,"Mdotbelow",7746,"Menarmenian",1348,"Mmonospace",65325,"Msmall",63341,"Mturned",412,"Mu",924,"N",78,"NJ",458,"Nacute",323,"Ncaron",327,"Ncedilla",325,"Ncircle",9411,"Ncircumflexbelow",7754,"Ncommaaccent",325,"Ndotaccent",7748,"Ndotbelow",7750,"Nhookleft",413,"Nineroman",8552,"Nj",459,"Njecyrillic",1034,"Nlinebelow",7752,"Nmonospace",65326,"Nowarmenian",1350,"Nsmall",63342,"Ntilde",209,"Ntildesmall",63473,"Nu",925,"O",79,"OE",338,"OEsmall",63226,"Oacute",211,"Oacutesmall",63475,"Obarredcyrillic",1256,"Obarreddieresiscyrillic",1258,"Obreve",334,"Ocaron",465,"Ocenteredtilde",415,"Ocircle",9412,"Ocircumflex",212,"Ocircumflexacute",7888,"Ocircumflexdotbelow",7896,"Ocircumflexgrave",7890,"Ocircumflexhookabove",7892,"Ocircumflexsmall",63476,"Ocircumflextilde",7894,"Ocyrillic",1054,"Odblacute",336,"Odblgrave",524,"Odieresis",214,"Odieresiscyrillic",1254,"Odieresissmall",63478,"Odotbelow",7884,"Ogoneksmall",63227,"Ograve",210,"Ogravesmall",63474,"Oharmenian",1365,"Ohm",8486,"Ohookabove",7886,"Ohorn",416,"Ohornacute",7898,"Ohorndotbelow",7906,"Ohorngrave",7900,"Ohornhookabove",7902,"Ohorntilde",7904,"Ohungarumlaut",336,"Oi",418,"Oinvertedbreve",526,"Omacron",332,"Omacronacute",7762,"Omacrongrave",7760,"Omega",8486,"Omegacyrillic",1120,"Omegagreek",937,"Omegaroundcyrillic",1146,"Omegatitlocyrillic",1148,"Omegatonos",911,"Omicron",927,"Omicrontonos",908,"Omonospace",65327,"Oneroman",8544,"Oogonek",490,"Oogonekmacron",492,"Oopen",390,"Oslash",216,"Oslashacute",510,"Oslashsmall",63480,"Osmall",63343,"Ostrokeacute",510,"Otcyrillic",1150,"Otilde",213,"Otildeacute",7756,"Otildedieresis",7758,"Otildesmall",63477,"P",80,"Pacute",7764,"Pcircle",9413,"Pdotaccent",7766,"Pecyrillic",1055,"Peharmenian",1354,"Pemiddlehookcyrillic",1190,"Phi",934,"Phook",420,"Pi",928,"Piwrarmenian",1363,"Pmonospace",65328,"Psi",936,"Psicyrillic",1136,"Psmall",63344,"Q",81,"Qcircle",9414,"Qmonospace",65329,"Qsmall",63345,"R",82,"Raarmenian",1356,"Racute",340,"Rcaron",344,"Rcedilla",342,"Rcircle",9415,"Rcommaaccent",342,"Rdblgrave",528,"Rdotaccent",7768,"Rdotbelow",7770,"Rdotbelowmacron",7772,"Reharmenian",1360,"Rfraktur",8476,"Rho",929,"Ringsmall",63228,"Rinvertedbreve",530,"Rlinebelow",7774,"Rmonospace",65330,"Rsmall",63346,"Rsmallinverted",641,"Rsmallinvertedsuperior",694,"S",83,"SF010000",9484,"SF020000",9492,"SF030000",9488,"SF040000",9496,"SF050000",9532,"SF060000",9516,"SF070000",9524,"SF080000",9500,"SF090000",9508,"SF100000",9472,"SF110000",9474,"SF190000",9569,"SF200000",9570,"SF210000",9558,"SF220000",9557,"SF230000",9571,"SF240000",9553,"SF250000",9559,"SF260000",9565,"SF270000",9564,"SF280000",9563,"SF360000",9566,"SF370000",9567,"SF380000",9562,"SF390000",9556,"SF400000",9577,"SF410000",9574,"SF420000",9568,"SF430000",9552,"SF440000",9580,"SF450000",9575,"SF460000",9576,"SF470000",9572,"SF480000",9573,"SF490000",9561,"SF500000",9560,"SF510000",9554,"SF520000",9555,"SF530000",9579,"SF540000",9578,"Sacute",346,"Sacutedotaccent",7780,"Sampigreek",992,"Scaron",352,"Scarondotaccent",7782,"Scaronsmall",63229,"Scedilla",350,"Schwa",399,"Schwacyrillic",1240,"Schwadieresiscyrillic",1242,"Scircle",9416,"Scircumflex",348,"Scommaaccent",536,"Sdotaccent",7776,"Sdotbelow",7778,"Sdotbelowdotaccent",7784,"Seharmenian",1357,"Sevenroman",8550,"Shaarmenian",1351,"Shacyrillic",1064,"Shchacyrillic",1065,"Sheicoptic",994,"Shhacyrillic",1210,"Shimacoptic",1004,"Sigma",931,"Sixroman",8549,"Smonospace",65331,"Softsigncyrillic",1068,"Ssmall",63347,"Stigmagreek",986,"T",84,"Tau",932,"Tbar",358,"Tcaron",356,"Tcedilla",354,"Tcircle",9417,"Tcircumflexbelow",7792,"Tcommaaccent",354,"Tdotaccent",7786,"Tdotbelow",7788,"Tecyrillic",1058,"Tedescendercyrillic",1196,"Tenroman",8553,"Tetsecyrillic",1204,"Theta",920,"Thook",428,"Thorn",222,"Thornsmall",63486,"Threeroman",8546,"Tildesmall",63230,"Tiwnarmenian",1359,"Tlinebelow",7790,"Tmonospace",65332,"Toarmenian",1337,"Tonefive",444,"Tonesix",388,"Tonetwo",423,"Tretroflexhook",430,"Tsecyrillic",1062,"Tshecyrillic",1035,"Tsmall",63348,"Twelveroman",8555,"Tworoman",8545,"U",85,"Uacute",218,"Uacutesmall",63482,"Ubreve",364,"Ucaron",467,"Ucircle",9418,"Ucircumflex",219,"Ucircumflexbelow",7798,"Ucircumflexsmall",63483,"Ucyrillic",1059,"Udblacute",368,"Udblgrave",532,"Udieresis",220,"Udieresisacute",471,"Udieresisbelow",7794,"Udieresiscaron",473,"Udieresiscyrillic",1264,"Udieresisgrave",475,"Udieresismacron",469,"Udieresissmall",63484,"Udotbelow",7908,"Ugrave",217,"Ugravesmall",63481,"Uhookabove",7910,"Uhorn",431,"Uhornacute",7912,"Uhorndotbelow",7920,"Uhorngrave",7914,"Uhornhookabove",7916,"Uhorntilde",7918,"Uhungarumlaut",368,"Uhungarumlautcyrillic",1266,"Uinvertedbreve",534,"Ukcyrillic",1144,"Umacron",362,"Umacroncyrillic",1262,"Umacrondieresis",7802,"Umonospace",65333,"Uogonek",370,"Upsilon",933,"Upsilon1",978,"Upsilonacutehooksymbolgreek",979,"Upsilonafrican",433,"Upsilondieresis",939,"Upsilondieresishooksymbolgreek",980,"Upsilonhooksymbol",978,"Upsilontonos",910,"Uring",366,"Ushortcyrillic",1038,"Usmall",63349,"Ustraightcyrillic",1198,"Ustraightstrokecyrillic",1200,"Utilde",360,"Utildeacute",7800,"Utildebelow",7796,"V",86,"Vcircle",9419,"Vdotbelow",7806,"Vecyrillic",1042,"Vewarmenian",1358,"Vhook",434,"Vmonospace",65334,"Voarmenian",1352,"Vsmall",63350,"Vtilde",7804,"W",87,"Wacute",7810,"Wcircle",9420,"Wcircumflex",372,"Wdieresis",7812,"Wdotaccent",7814,"Wdotbelow",7816,"Wgrave",7808,"Wmonospace",65335,"Wsmall",63351,"X",88,"Xcircle",9421,"Xdieresis",7820,"Xdotaccent",7818,"Xeharmenian",1341,"Xi",926,"Xmonospace",65336,"Xsmall",63352,"Y",89,"Yacute",221,"Yacutesmall",63485,"Yatcyrillic",1122,"Ycircle",9422,"Ycircumflex",374,"Ydieresis",376,"Ydieresissmall",63487,"Ydotaccent",7822,"Ydotbelow",7924,"Yericyrillic",1067,"Yerudieresiscyrillic",1272,"Ygrave",7922,"Yhook",435,"Yhookabove",7926,"Yiarmenian",1349,"Yicyrillic",1031,"Yiwnarmenian",1362,"Ymonospace",65337,"Ysmall",63353,"Ytilde",7928,"Yusbigcyrillic",1130,"Yusbigiotifiedcyrillic",1132,"Yuslittlecyrillic",1126,"Yuslittleiotifiedcyrillic",1128,"Z",90,"Zaarmenian",1334,"Zacute",377,"Zcaron",381,"Zcaronsmall",63231,"Zcircle",9423,"Zcircumflex",7824,"Zdot",379,"Zdotaccent",379,"Zdotbelow",7826,"Zecyrillic",1047,"Zedescendercyrillic",1176,"Zedieresiscyrillic",1246,"Zeta",918,"Zhearmenian",1338,"Zhebrevecyrillic",1217,"Zhecyrillic",1046,"Zhedescendercyrillic",1174,"Zhedieresiscyrillic",1244,"Zlinebelow",7828,"Zmonospace",65338,"Zsmall",63354,"Zstroke",437,"a",97,"aabengali",2438,"aacute",225,"aadeva",2310,"aagujarati",2694,"aagurmukhi",2566,"aamatragurmukhi",2622,"aarusquare",13059,"aavowelsignbengali",2494,"aavowelsigndeva",2366,"aavowelsigngujarati",2750,"abbreviationmarkarmenian",1375,"abbreviationsigndeva",2416,"abengali",2437,"abopomofo",12570,"abreve",259,"abreveacute",7855,"abrevecyrillic",1233,"abrevedotbelow",7863,"abrevegrave",7857,"abrevehookabove",7859,"abrevetilde",7861,"acaron",462,"acircle",9424,"acircumflex",226,"acircumflexacute",7845,"acircumflexdotbelow",7853,"acircumflexgrave",7847,"acircumflexhookabove",7849,"acircumflextilde",7851,"acute",180,"acutebelowcmb",791,"acutecmb",769,"acutecomb",769,"acutedeva",2388,"acutelowmod",719,"acutetonecmb",833,"acyrillic",1072,"adblgrave",513,"addakgurmukhi",2673,"adeva",2309,"adieresis",228,"adieresiscyrillic",1235,"adieresismacron",479,"adotbelow",7841,"adotmacron",481,"ae",230,"aeacute",509,"aekorean",12624,"aemacron",483,"afii00208",8213,"afii08941",8356,"afii10017",1040,"afii10018",1041,"afii10019",1042,"afii10020",1043,"afii10021",1044,"afii10022",1045,"afii10023",1025,"afii10024",1046,"afii10025",1047,"afii10026",1048,"afii10027",1049,"afii10028",1050,"afii10029",1051,"afii10030",1052,"afii10031",1053,"afii10032",1054,"afii10033",1055,"afii10034",1056,"afii10035",1057,"afii10036",1058,"afii10037",1059,"afii10038",1060,"afii10039",1061,"afii10040",1062,"afii10041",1063,"afii10042",1064,"afii10043",1065,"afii10044",1066,"afii10045",1067,"afii10046",1068,"afii10047",1069,"afii10048",1070,"afii10049",1071,"afii10050",1168,"afii10051",1026,"afii10052",1027,"afii10053",1028,"afii10054",1029,"afii10055",1030,"afii10056",1031,"afii10057",1032,"afii10058",1033,"afii10059",1034,"afii10060",1035,"afii10061",1036,"afii10062",1038,"afii10063",63172,"afii10064",63173,"afii10065",1072,"afii10066",1073,"afii10067",1074,"afii10068",1075,"afii10069",1076,"afii10070",1077,"afii10071",1105,"afii10072",1078,"afii10073",1079,"afii10074",1080,"afii10075",1081,"afii10076",1082,"afii10077",1083,"afii10078",1084,"afii10079",1085,"afii10080",1086,"afii10081",1087,"afii10082",1088,"afii10083",1089,"afii10084",1090,"afii10085",1091,"afii10086",1092,"afii10087",1093,"afii10088",1094,"afii10089",1095,"afii10090",1096,"afii10091",1097,"afii10092",1098,"afii10093",1099,"afii10094",1100,"afii10095",1101,"afii10096",1102,"afii10097",1103,"afii10098",1169,"afii10099",1106,"afii10100",1107,"afii10101",1108,"afii10102",1109,"afii10103",1110,"afii10104",1111,"afii10105",1112,"afii10106",1113,"afii10107",1114,"afii10108",1115,"afii10109",1116,"afii10110",1118,"afii10145",1039,"afii10146",1122,"afii10147",1138,"afii10148",1140,"afii10192",63174,"afii10193",1119,"afii10194",1123,"afii10195",1139,"afii10196",1141,"afii10831",63175,"afii10832",63176,"afii10846",1241,"afii299",8206,"afii300",8207,"afii301",8205,"afii57381",1642,"afii57388",1548,"afii57392",1632,"afii57393",1633,"afii57394",1634,"afii57395",1635,"afii57396",1636,"afii57397",1637,"afii57398",1638,"afii57399",1639,"afii57400",1640,"afii57401",1641,"afii57403",1563,"afii57407",1567,"afii57409",1569,"afii57410",1570,"afii57411",1571,"afii57412",1572,"afii57413",1573,"afii57414",1574,"afii57415",1575,"afii57416",1576,"afii57417",1577,"afii57418",1578,"afii57419",1579,"afii57420",1580,"afii57421",1581,"afii57422",1582,"afii57423",1583,"afii57424",1584,"afii57425",1585,"afii57426",1586,"afii57427",1587,"afii57428",1588,"afii57429",1589,"afii57430",1590,"afii57431",1591,"afii57432",1592,"afii57433",1593,"afii57434",1594,"afii57440",1600,"afii57441",1601,"afii57442",1602,"afii57443",1603,"afii57444",1604,"afii57445",1605,"afii57446",1606,"afii57448",1608,"afii57449",1609,"afii57450",1610,"afii57451",1611,"afii57452",1612,"afii57453",1613,"afii57454",1614,"afii57455",1615,"afii57456",1616,"afii57457",1617,"afii57458",1618,"afii57470",1607,"afii57505",1700,"afii57506",1662,"afii57507",1670,"afii57508",1688,"afii57509",1711,"afii57511",1657,"afii57512",1672,"afii57513",1681,"afii57514",1722,"afii57519",1746,"afii57534",1749,"afii57636",8362,"afii57645",1470,"afii57658",1475,"afii57664",1488,"afii57665",1489,"afii57666",1490,"afii57667",1491,"afii57668",1492,"afii57669",1493,"afii57670",1494,"afii57671",1495,"afii57672",1496,"afii57673",1497,"afii57674",1498,"afii57675",1499,"afii57676",1500,"afii57677",1501,"afii57678",1502,"afii57679",1503,"afii57680",1504,"afii57681",1505,"afii57682",1506,"afii57683",1507,"afii57684",1508,"afii57685",1509,"afii57686",1510,"afii57687",1511,"afii57688",1512,"afii57689",1513,"afii57690",1514,"afii57694",64298,"afii57695",64299,"afii57700",64331,"afii57705",64287,"afii57716",1520,"afii57717",1521,"afii57718",1522,"afii57723",64309,"afii57793",1460,"afii57794",1461,"afii57795",1462,"afii57796",1467,"afii57797",1464,"afii57798",1463,"afii57799",1456,"afii57800",1458,"afii57801",1457,"afii57802",1459,"afii57803",1474,"afii57804",1473,"afii57806",1465,"afii57807",1468,"afii57839",1469,"afii57841",1471,"afii57842",1472,"afii57929",700,"afii61248",8453,"afii61289",8467,"afii61352",8470,"afii61573",8236,"afii61574",8237,"afii61575",8238,"afii61664",8204,"afii63167",1645,"afii64937",701,"agrave",224,"agujarati",2693,"agurmukhi",2565,"ahiragana",12354,"ahookabove",7843,"aibengali",2448,"aibopomofo",12574,"aideva",2320,"aiecyrillic",1237,"aigujarati",2704,"aigurmukhi",2576,"aimatragurmukhi",2632,"ainarabic",1593,"ainfinalarabic",65226,"aininitialarabic",65227,"ainmedialarabic",65228,"ainvertedbreve",515,"aivowelsignbengali",2504,"aivowelsigndeva",2376,"aivowelsigngujarati",2760,"akatakana",12450,"akatakanahalfwidth",65393,"akorean",12623,"alef",1488,"alefarabic",1575,"alefdageshhebrew",64304,"aleffinalarabic",65166,"alefhamzaabovearabic",1571,"alefhamzaabovefinalarabic",65156,"alefhamzabelowarabic",1573,"alefhamzabelowfinalarabic",65160,"alefhebrew",1488,"aleflamedhebrew",64335,"alefmaddaabovearabic",1570,"alefmaddaabovefinalarabic",65154,"alefmaksuraarabic",1609,"alefmaksurafinalarabic",65264,"alefmaksurainitialarabic",65267,"alefmaksuramedialarabic",65268,"alefpatahhebrew",64302,"alefqamatshebrew",64303,"aleph",8501,"allequal",8780,"alpha",945,"alphatonos",940,"amacron",257,"amonospace",65345,"ampersand",38,"ampersandmonospace",65286,"ampersandsmall",63270,"amsquare",13250,"anbopomofo",12578,"angbopomofo",12580,"angbracketleft",12296,"angbracketright",12297,"angkhankhuthai",3674,"angle",8736,"anglebracketleft",12296,"anglebracketleftvertical",65087,"anglebracketright",12297,"anglebracketrightvertical",65088,"angleleft",9001,"angleright",9002,"angstrom",8491,"anoteleia",903,"anudattadeva",2386,"anusvarabengali",2434,"anusvaradeva",2306,"anusvaragujarati",2690,"aogonek",261,"apaatosquare",13056,"aparen",9372,"apostrophearmenian",1370,"apostrophemod",700,"apple",63743,"approaches",8784,"approxequal",8776,"approxequalorimage",8786,"approximatelyequal",8773,"araeaekorean",12686,"araeakorean",12685,"arc",8978,"arighthalfring",7834,"aring",229,"aringacute",507,"aringbelow",7681,"arrowboth",8596,"arrowdashdown",8675,"arrowdashleft",8672,"arrowdashright",8674,"arrowdashup",8673,"arrowdblboth",8660,"arrowdbldown",8659,"arrowdblleft",8656,"arrowdblright",8658,"arrowdblup",8657,"arrowdown",8595,"arrowdownleft",8601,"arrowdownright",8600,"arrowdownwhite",8681,"arrowheaddownmod",709,"arrowheadleftmod",706,"arrowheadrightmod",707,"arrowheadupmod",708,"arrowhorizex",63719,"arrowleft",8592,"arrowleftdbl",8656,"arrowleftdblstroke",8653,"arrowleftoverright",8646,"arrowleftwhite",8678,"arrowright",8594,"arrowrightdblstroke",8655,"arrowrightheavy",10142,"arrowrightoverleft",8644,"arrowrightwhite",8680,"arrowtableft",8676,"arrowtabright",8677,"arrowup",8593,"arrowupdn",8597,"arrowupdnbse",8616,"arrowupdownbase",8616,"arrowupleft",8598,"arrowupleftofdown",8645,"arrowupright",8599,"arrowupwhite",8679,"arrowvertex",63718,"asciicircum",94,"asciicircummonospace",65342,"asciitilde",126,"asciitildemonospace",65374,"ascript",593,"ascriptturned",594,"asmallhiragana",12353,"asmallkatakana",12449,"asmallkatakanahalfwidth",65383,"asterisk",42,"asteriskaltonearabic",1645,"asteriskarabic",1645,"asteriskmath",8727,"asteriskmonospace",65290,"asterisksmall",65121,"asterism",8258,"asuperior",63209,"asymptoticallyequal",8771,"at",64,"atilde",227,"atmonospace",65312,"atsmall",65131,"aturned",592,"aubengali",2452,"aubopomofo",12576,"audeva",2324,"augujarati",2708,"augurmukhi",2580,"aulengthmarkbengali",2519,"aumatragurmukhi",2636,"auvowelsignbengali",2508,"auvowelsigndeva",2380,"auvowelsigngujarati",2764,"avagrahadeva",2365,"aybarmenian",1377,"ayin",1506,"ayinaltonehebrew",64288,"ayinhebrew",1506,"b",98,"babengali",2476,"backslash",92,"backslashmonospace",65340,"badeva",2348,"bagujarati",2732,"bagurmukhi",2604,"bahiragana",12400,"bahtthai",3647,"bakatakana",12496,"bar",124,"barmonospace",65372,"bbopomofo",12549,"bcircle",9425,"bdotaccent",7683,"bdotbelow",7685,"beamedsixteenthnotes",9836,"because",8757,"becyrillic",1073,"beharabic",1576,"behfinalarabic",65168,"behinitialarabic",65169,"behiragana",12409,"behmedialarabic",65170,"behmeeminitialarabic",64671,"behmeemisolatedarabic",64520,"behnoonfinalarabic",64621,"bekatakana",12505,"benarmenian",1378,"bet",1489,"beta",946,"betasymbolgreek",976,"betdagesh",64305,"betdageshhebrew",64305,"bethebrew",1489,"betrafehebrew",64332,"bhabengali",2477,"bhadeva",2349,"bhagujarati",2733,"bhagurmukhi",2605,"bhook",595,"bihiragana",12403,"bikatakana",12499,"bilabialclick",664,"bindigurmukhi",2562,"birusquare",13105,"blackcircle",9679,"blackdiamond",9670,"blackdownpointingtriangle",9660,"blackleftpointingpointer",9668,"blackleftpointingtriangle",9664,"blacklenticularbracketleft",12304,"blacklenticularbracketleftvertical",65083,"blacklenticularbracketright",12305,"blacklenticularbracketrightvertical",65084,"blacklowerlefttriangle",9699,"blacklowerrighttriangle",9698,"blackrectangle",9644,"blackrightpointingpointer",9658,"blackrightpointingtriangle",9654,"blacksmallsquare",9642,"blacksmilingface",9787,"blacksquare",9632,"blackstar",9733,"blackupperlefttriangle",9700,"blackupperrighttriangle",9701,"blackuppointingsmalltriangle",9652,"blackuppointingtriangle",9650,"blank",9251,"blinebelow",7687,"block",9608,"bmonospace",65346,"bobaimaithai",3610,"bohiragana",12412,"bokatakana",12508,"bparen",9373,"bqsquare",13251,"braceex",63732,"braceleft",123,"braceleftbt",63731,"braceleftmid",63730,"braceleftmonospace",65371,"braceleftsmall",65115,"bracelefttp",63729,"braceleftvertical",65079,"braceright",125,"bracerightbt",63742,"bracerightmid",63741,"bracerightmonospace",65373,"bracerightsmall",65116,"bracerighttp",63740,"bracerightvertical",65080,"bracketleft",91,"bracketleftbt",63728,"bracketleftex",63727,"bracketleftmonospace",65339,"bracketlefttp",63726,"bracketright",93,"bracketrightbt",63739,"bracketrightex",63738,"bracketrightmonospace",65341,"bracketrighttp",63737,"breve",728,"brevebelowcmb",814,"brevecmb",774,"breveinvertedbelowcmb",815,"breveinvertedcmb",785,"breveinverteddoublecmb",865,"bridgebelowcmb",810,"bridgeinvertedbelowcmb",826,"brokenbar",166,"bstroke",384,"bsuperior",63210,"btopbar",387,"buhiragana",12406,"bukatakana",12502,"bullet",8226,"bulletinverse",9688,"bulletoperator",8729,"bullseye",9678,"c",99,"caarmenian",1390,"cabengali",2458,"cacute",263,"cadeva",2330,"cagujarati",2714,"cagurmukhi",2586,"calsquare",13192,"candrabindubengali",2433,"candrabinducmb",784,"candrabindudeva",2305,"candrabindugujarati",2689,"capslock",8682,"careof",8453,"caron",711,"caronbelowcmb",812,"caroncmb",780,"carriagereturn",8629,"cbopomofo",12568,"ccaron",269,"ccedilla",231,"ccedillaacute",7689,"ccircle",9426,"ccircumflex",265,"ccurl",597,"cdot",267,"cdotaccent",267,"cdsquare",13253,"cedilla",184,"cedillacmb",807,"cent",162,"centigrade",8451,"centinferior",63199,"centmonospace",65504,"centoldstyle",63394,"centsuperior",63200,"chaarmenian",1401,"chabengali",2459,"chadeva",2331,"chagujarati",2715,"chagurmukhi",2587,"chbopomofo",12564,"cheabkhasiancyrillic",1213,"checkmark",10003,"checyrillic",1095,"chedescenderabkhasiancyrillic",1215,"chedescendercyrillic",1207,"chedieresiscyrillic",1269,"cheharmenian",1395,"chekhakassiancyrillic",1228,"cheverticalstrokecyrillic",1209,"chi",967,"chieuchacirclekorean",12919,"chieuchaparenkorean",12823,"chieuchcirclekorean",12905,"chieuchkorean",12618,"chieuchparenkorean",12809,"chochangthai",3594,"chochanthai",3592,"chochingthai",3593,"chochoethai",3596,"chook",392,"cieucacirclekorean",12918,"cieucaparenkorean",12822,"cieuccirclekorean",12904,"cieuckorean",12616,"cieucparenkorean",12808,"cieucuparenkorean",12828,"circle",9675,"circlecopyrt",169,"circlemultiply",8855,"circleot",8857,"circleplus",8853,"circlepostalmark",12342,"circlewithlefthalfblack",9680,"circlewithrighthalfblack",9681,"circumflex",710,"circumflexbelowcmb",813,"circumflexcmb",770,"clear",8999,"clickalveolar",450,"clickdental",448,"clicklateral",449,"clickretroflex",451,"club",9827,"clubsuitblack",9827,"clubsuitwhite",9831,"cmcubedsquare",13220,"cmonospace",65347,"cmsquaredsquare",13216,"coarmenian",1409,"colon",58,"colonmonetary",8353,"colonmonospace",65306,"colonsign",8353,"colonsmall",65109,"colontriangularhalfmod",721,"colontriangularmod",720,"comma",44,"commaabovecmb",787,"commaaboverightcmb",789,"commaaccent",63171,"commaarabic",1548,"commaarmenian",1373,"commainferior",63201,"commamonospace",65292,"commareversedabovecmb",788,"commareversedmod",701,"commasmall",65104,"commasuperior",63202,"commaturnedabovecmb",786,"commaturnedmod",699,"compass",9788,"congruent",8773,"contourintegral",8750,"control",8963,"controlACK",6,"controlBEL",7,"controlBS",8,"controlCAN",24,"controlCR",13,"controlDC1",17,"controlDC2",18,"controlDC3",19,"controlDC4",20,"controlDEL",127,"controlDLE",16,"controlEM",25,"controlENQ",5,"controlEOT",4,"controlESC",27,"controlETB",23,"controlETX",3,"controlFF",12,"controlFS",28,"controlGS",29,"controlHT",9,"controlLF",10,"controlNAK",21,"controlNULL",0,"controlRS",30,"controlSI",15,"controlSO",14,"controlSOT",2,"controlSTX",1,"controlSUB",26,"controlSYN",22,"controlUS",31,"controlVT",11,"copyright",169,"copyrightsans",63721,"copyrightserif",63193,"cornerbracketleft",12300,"cornerbracketlefthalfwidth",65378,"cornerbracketleftvertical",65089,"cornerbracketright",12301,"cornerbracketrighthalfwidth",65379,"cornerbracketrightvertical",65090,"corporationsquare",13183,"cosquare",13255,"coverkgsquare",13254,"cparen",9374,"cruzeiro",8354,"cstretched",663,"curlyand",8911,"curlyor",8910,"currency",164,"cyrBreve",63185,"cyrFlex",63186,"cyrbreve",63188,"cyrflex",63189,"d",100,"daarmenian",1380,"dabengali",2470,"dadarabic",1590,"dadeva",2342,"dadfinalarabic",65214,"dadinitialarabic",65215,"dadmedialarabic",65216,"dagesh",1468,"dageshhebrew",1468,"dagger",8224,"daggerdbl",8225,"dagujarati",2726,"dagurmukhi",2598,"dahiragana",12384,"dakatakana",12480,"dalarabic",1583,"dalet",1491,"daletdagesh",64307,"daletdageshhebrew",64307,"dalethebrew",1491,"dalfinalarabic",65194,"dammaarabic",1615,"dammalowarabic",1615,"dammatanaltonearabic",1612,"dammatanarabic",1612,"danda",2404,"dargahebrew",1447,"dargalefthebrew",1447,"dasiapneumatacyrilliccmb",1157,"dblGrave",63187,"dblanglebracketleft",12298,"dblanglebracketleftvertical",65085,"dblanglebracketright",12299,"dblanglebracketrightvertical",65086,"dblarchinvertedbelowcmb",811,"dblarrowleft",8660,"dblarrowright",8658,"dbldanda",2405,"dblgrave",63190,"dblgravecmb",783,"dblintegral",8748,"dbllowline",8215,"dbllowlinecmb",819,"dbloverlinecmb",831,"dblprimemod",698,"dblverticalbar",8214,"dblverticallineabovecmb",782,"dbopomofo",12553,"dbsquare",13256,"dcaron",271,"dcedilla",7697,"dcircle",9427,"dcircumflexbelow",7699,"dcroat",273,"ddabengali",2465,"ddadeva",2337,"ddagujarati",2721,"ddagurmukhi",2593,"ddalarabic",1672,"ddalfinalarabic",64393,"dddhadeva",2396,"ddhabengali",2466,"ddhadeva",2338,"ddhagujarati",2722,"ddhagurmukhi",2594,"ddotaccent",7691,"ddotbelow",7693,"decimalseparatorarabic",1643,"decimalseparatorpersian",1643,"decyrillic",1076,"degree",176,"dehihebrew",1453,"dehiragana",12391,"deicoptic",1007,"dekatakana",12487,"deleteleft",9003,"deleteright",8998,"delta",948,"deltaturned",397,"denominatorminusonenumeratorbengali",2552,"dezh",676,"dhabengali",2471,"dhadeva",2343,"dhagujarati",2727,"dhagurmukhi",2599,"dhook",599,"dialytikatonos",901,"dialytikatonoscmb",836,"diamond",9830,"diamondsuitwhite",9826,"dieresis",168,"dieresisacute",63191,"dieresisbelowcmb",804,"dieresiscmb",776,"dieresisgrave",63192,"dieresistonos",901,"dihiragana",12386,"dikatakana",12482,"dittomark",12291,"divide",247,"divides",8739,"divisionslash",8725,"djecyrillic",1106,"dkshade",9619,"dlinebelow",7695,"dlsquare",13207,"dmacron",273,"dmonospace",65348,"dnblock",9604,"dochadathai",3598,"dodekthai",3604,"dohiragana",12393,"dokatakana",12489,"dollar",36,"dollarinferior",63203,"dollarmonospace",65284,"dollaroldstyle",63268,"dollarsmall",65129,"dollarsuperior",63204,"dong",8363,"dorusquare",13094,"dotaccent",729,"dotaccentcmb",775,"dotbelowcmb",803,"dotbelowcomb",803,"dotkatakana",12539,"dotlessi",305,"dotlessj",63166,"dotlessjstrokehook",644,"dotmath",8901,"dottedcircle",9676,"doubleyodpatah",64287,"doubleyodpatahhebrew",64287,"downtackbelowcmb",798,"downtackmod",725,"dparen",9375,"dsuperior",63211,"dtail",598,"dtopbar",396,"duhiragana",12389,"dukatakana",12485,"dz",499,"dzaltone",675,"dzcaron",454,"dzcurl",677,"dzeabkhasiancyrillic",1249,"dzecyrillic",1109,"dzhecyrillic",1119,"e",101,"eacute",233,"earth",9793,"ebengali",2447,"ebopomofo",12572,"ebreve",277,"ecandradeva",2317,"ecandragujarati",2701,"ecandravowelsigndeva",2373,"ecandravowelsigngujarati",2757,"ecaron",283,"ecedillabreve",7709,"echarmenian",1381,"echyiwnarmenian",1415,"ecircle",9428,"ecircumflex",234,"ecircumflexacute",7871,"ecircumflexbelow",7705,"ecircumflexdotbelow",7879,"ecircumflexgrave",7873,"ecircumflexhookabove",7875,"ecircumflextilde",7877,"ecyrillic",1108,"edblgrave",517,"edeva",2319,"edieresis",235,"edot",279,"edotaccent",279,"edotbelow",7865,"eegurmukhi",2575,"eematragurmukhi",2631,"efcyrillic",1092,"egrave",232,"egujarati",2703,"eharmenian",1383,"ehbopomofo",12573,"ehiragana",12360,"ehookabove",7867,"eibopomofo",12575,"eight",56,"eightarabic",1640,"eightbengali",2542,"eightcircle",9319,"eightcircleinversesansserif",10129,"eightdeva",2414,"eighteencircle",9329,"eighteenparen",9349,"eighteenperiod",9369,"eightgujarati",2798,"eightgurmukhi",2670,"eighthackarabic",1640,"eighthangzhou",12328,"eighthnotebeamed",9835,"eightideographicparen",12839,"eightinferior",8328,"eightmonospace",65304,"eightoldstyle",63288,"eightparen",9339,"eightperiod",9359,"eightpersian",1784,"eightroman",8567,"eightsuperior",8312,"eightthai",3672,"einvertedbreve",519,"eiotifiedcyrillic",1125,"ekatakana",12456,"ekatakanahalfwidth",65396,"ekonkargurmukhi",2676,"ekorean",12628,"elcyrillic",1083,"element",8712,"elevencircle",9322,"elevenparen",9342,"elevenperiod",9362,"elevenroman",8570,"ellipsis",8230,"ellipsisvertical",8942,"emacron",275,"emacronacute",7703,"emacrongrave",7701,"emcyrillic",1084,"emdash",8212,"emdashvertical",65073,"emonospace",65349,"emphasismarkarmenian",1371,"emptyset",8709,"enbopomofo",12579,"encyrillic",1085,"endash",8211,"endashvertical",65074,"endescendercyrillic",1187,"eng",331,"engbopomofo",12581,"enghecyrillic",1189,"enhookcyrillic",1224,"enspace",8194,"eogonek",281,"eokorean",12627,"eopen",603,"eopenclosed",666,"eopenreversed",604,"eopenreversedclosed",606,"eopenreversedhook",605,"eparen",9376,"epsilon",949,"epsilontonos",941,"equal",61,"equalmonospace",65309,"equalsmall",65126,"equalsuperior",8316,"equivalence",8801,"erbopomofo",12582,"ercyrillic",1088,"ereversed",600,"ereversedcyrillic",1101,"escyrillic",1089,"esdescendercyrillic",1195,"esh",643,"eshcurl",646,"eshortdeva",2318,"eshortvowelsigndeva",2374,"eshreversedloop",426,"eshsquatreversed",645,"esmallhiragana",12359,"esmallkatakana",12455,"esmallkatakanahalfwidth",65386,"estimated",8494,"esuperior",63212,"eta",951,"etarmenian",1384,"etatonos",942,"eth",240,"etilde",7869,"etildebelow",7707,"etnahtafoukhhebrew",1425,"etnahtafoukhlefthebrew",1425,"etnahtahebrew",1425,"etnahtalefthebrew",1425,"eturned",477,"eukorean",12641,"euro",8364,"evowelsignbengali",2503,"evowelsigndeva",2375,"evowelsigngujarati",2759,"exclam",33,"exclamarmenian",1372,"exclamdbl",8252,"exclamdown",161,"exclamdownsmall",63393,"exclammonospace",65281,"exclamsmall",63265,"existential",8707,"ezh",658,"ezhcaron",495,"ezhcurl",659,"ezhreversed",441,"ezhtail",442,"f",102,"fadeva",2398,"fagurmukhi",2654,"fahrenheit",8457,"fathaarabic",1614,"fathalowarabic",1614,"fathatanarabic",1611,"fbopomofo",12552,"fcircle",9429,"fdotaccent",7711,"feharabic",1601,"feharmenian",1414,"fehfinalarabic",65234,"fehinitialarabic",65235,"fehmedialarabic",65236,"feicoptic",997,"female",9792,"ff",64256,"f_f",64256,"ffi",64259,"ffl",64260,"fi",64257,"fifteencircle",9326,"fifteenparen",9346,"fifteenperiod",9366,"figuredash",8210,"filledbox",9632,"filledrect",9644,"finalkaf",1498,"finalkafdagesh",64314,"finalkafdageshhebrew",64314,"finalkafhebrew",1498,"finalmem",1501,"finalmemhebrew",1501,"finalnun",1503,"finalnunhebrew",1503,"finalpe",1507,"finalpehebrew",1507,"finaltsadi",1509,"finaltsadihebrew",1509,"firsttonechinese",713,"fisheye",9673,"fitacyrillic",1139,"five",53,"fivearabic",1637,"fivebengali",2539,"fivecircle",9316,"fivecircleinversesansserif",10126,"fivedeva",2411,"fiveeighths",8541,"fivegujarati",2795,"fivegurmukhi",2667,"fivehackarabic",1637,"fivehangzhou",12325,"fiveideographicparen",12836,"fiveinferior",8325,"fivemonospace",65301,"fiveoldstyle",63285,"fiveparen",9336,"fiveperiod",9356,"fivepersian",1781,"fiveroman",8564,"fivesuperior",8309,"fivethai",3669,"fl",64258,"florin",402,"fmonospace",65350,"fmsquare",13209,"fofanthai",3615,"fofathai",3613,"fongmanthai",3663,"forall",8704,"four",52,"fourarabic",1636,"fourbengali",2538,"fourcircle",9315,"fourcircleinversesansserif",10125,"fourdeva",2410,"fourgujarati",2794,"fourgurmukhi",2666,"fourhackarabic",1636,"fourhangzhou",12324,"fourideographicparen",12835,"fourinferior",8324,"fourmonospace",65300,"fournumeratorbengali",2551,"fouroldstyle",63284,"fourparen",9335,"fourperiod",9355,"fourpersian",1780,"fourroman",8563,"foursuperior",8308,"fourteencircle",9325,"fourteenparen",9345,"fourteenperiod",9365,"fourthai",3668,"fourthtonechinese",715,"fparen",9377,"fraction",8260,"franc",8355,"g",103,"gabengali",2455,"gacute",501,"gadeva",2327,"gafarabic",1711,"gaffinalarabic",64403,"gafinitialarabic",64404,"gafmedialarabic",64405,"gagujarati",2711,"gagurmukhi",2583,"gahiragana",12364,"gakatakana",12460,"gamma",947,"gammalatinsmall",611,"gammasuperior",736,"gangiacoptic",1003,"gbopomofo",12557,"gbreve",287,"gcaron",487,"gcedilla",291,"gcircle",9430,"gcircumflex",285,"gcommaaccent",291,"gdot",289,"gdotaccent",289,"gecyrillic",1075,"gehiragana",12370,"gekatakana",12466,"geometricallyequal",8785,"gereshaccenthebrew",1436,"gereshhebrew",1523,"gereshmuqdamhebrew",1437,"germandbls",223,"gershayimaccenthebrew",1438,"gershayimhebrew",1524,"getamark",12307,"ghabengali",2456,"ghadarmenian",1394,"ghadeva",2328,"ghagujarati",2712,"ghagurmukhi",2584,"ghainarabic",1594,"ghainfinalarabic",65230,"ghaininitialarabic",65231,"ghainmedialarabic",65232,"ghemiddlehookcyrillic",1173,"ghestrokecyrillic",1171,"gheupturncyrillic",1169,"ghhadeva",2394,"ghhagurmukhi",2650,"ghook",608,"ghzsquare",13203,"gihiragana",12366,"gikatakana",12462,"gimarmenian",1379,"gimel",1490,"gimeldagesh",64306,"gimeldageshhebrew",64306,"gimelhebrew",1490,"gjecyrillic",1107,"glottalinvertedstroke",446,"glottalstop",660,"glottalstopinverted",662,"glottalstopmod",704,"glottalstopreversed",661,"glottalstopreversedmod",705,"glottalstopreversedsuperior",740,"glottalstopstroke",673,"glottalstopstrokereversed",674,"gmacron",7713,"gmonospace",65351,"gohiragana",12372,"gokatakana",12468,"gparen",9378,"gpasquare",13228,"gradient",8711,"grave",96,"gravebelowcmb",790,"gravecmb",768,"gravecomb",768,"gravedeva",2387,"gravelowmod",718,"gravemonospace",65344,"gravetonecmb",832,"greater",62,"greaterequal",8805,"greaterequalorless",8923,"greatermonospace",65310,"greaterorequivalent",8819,"greaterorless",8823,"greateroverequal",8807,"greatersmall",65125,"gscript",609,"gstroke",485,"guhiragana",12368,"guillemotleft",171,"guillemotright",187,"guilsinglleft",8249,"guilsinglright",8250,"gukatakana",12464,"guramusquare",13080,"gysquare",13257,"h",104,"haabkhasiancyrillic",1193,"haaltonearabic",1729,"habengali",2489,"hadescendercyrillic",1203,"hadeva",2361,"hagujarati",2745,"hagurmukhi",2617,"haharabic",1581,"hahfinalarabic",65186,"hahinitialarabic",65187,"hahiragana",12399,"hahmedialarabic",65188,"haitusquare",13098,"hakatakana",12495,"hakatakanahalfwidth",65418,"halantgurmukhi",2637,"hamzaarabic",1569,"hamzalowarabic",1569,"hangulfiller",12644,"hardsigncyrillic",1098,"harpoonleftbarbup",8636,"harpoonrightbarbup",8640,"hasquare",13258,"hatafpatah",1458,"hatafpatah16",1458,"hatafpatah23",1458,"hatafpatah2f",1458,"hatafpatahhebrew",1458,"hatafpatahnarrowhebrew",1458,"hatafpatahquarterhebrew",1458,"hatafpatahwidehebrew",1458,"hatafqamats",1459,"hatafqamats1b",1459,"hatafqamats28",1459,"hatafqamats34",1459,"hatafqamatshebrew",1459,"hatafqamatsnarrowhebrew",1459,"hatafqamatsquarterhebrew",1459,"hatafqamatswidehebrew",1459,"hatafsegol",1457,"hatafsegol17",1457,"hatafsegol24",1457,"hatafsegol30",1457,"hatafsegolhebrew",1457,"hatafsegolnarrowhebrew",1457,"hatafsegolquarterhebrew",1457,"hatafsegolwidehebrew",1457,"hbar",295,"hbopomofo",12559,"hbrevebelow",7723,"hcedilla",7721,"hcircle",9431,"hcircumflex",293,"hdieresis",7719,"hdotaccent",7715,"hdotbelow",7717,"he",1492,"heart",9829,"heartsuitblack",9829,"heartsuitwhite",9825,"hedagesh",64308,"hedageshhebrew",64308,"hehaltonearabic",1729,"heharabic",1607,"hehebrew",1492,"hehfinalaltonearabic",64423,"hehfinalalttwoarabic",65258,"hehfinalarabic",65258,"hehhamzaabovefinalarabic",64421,"hehhamzaaboveisolatedarabic",64420,"hehinitialaltonearabic",64424,"hehinitialarabic",65259,"hehiragana",12408,"hehmedialaltonearabic",64425,"hehmedialarabic",65260,"heiseierasquare",13179,"hekatakana",12504,"hekatakanahalfwidth",65421,"hekutaarusquare",13110,"henghook",615,"herutusquare",13113,"het",1495,"hethebrew",1495,"hhook",614,"hhooksuperior",689,"hieuhacirclekorean",12923,"hieuhaparenkorean",12827,"hieuhcirclekorean",12909,"hieuhkorean",12622,"hieuhparenkorean",12813,"hihiragana",12402,"hikatakana",12498,"hikatakanahalfwidth",65419,"hiriq",1460,"hiriq14",1460,"hiriq21",1460,"hiriq2d",1460,"hiriqhebrew",1460,"hiriqnarrowhebrew",1460,"hiriqquarterhebrew",1460,"hiriqwidehebrew",1460,"hlinebelow",7830,"hmonospace",65352,"hoarmenian",1392,"hohipthai",3627,"hohiragana",12411,"hokatakana",12507,"hokatakanahalfwidth",65422,"holam",1465,"holam19",1465,"holam26",1465,"holam32",1465,"holamhebrew",1465,"holamnarrowhebrew",1465,"holamquarterhebrew",1465,"holamwidehebrew",1465,"honokhukthai",3630,"hookabovecomb",777,"hookcmb",777,"hookpalatalizedbelowcmb",801,"hookretroflexbelowcmb",802,"hoonsquare",13122,"horicoptic",1001,"horizontalbar",8213,"horncmb",795,"hotsprings",9832,"house",8962,"hparen",9379,"hsuperior",688,"hturned",613,"huhiragana",12405,"huiitosquare",13107,"hukatakana",12501,"hukatakanahalfwidth",65420,"hungarumlaut",733,"hungarumlautcmb",779,"hv",405,"hyphen",45,"hypheninferior",63205,"hyphenmonospace",65293,"hyphensmall",65123,"hyphensuperior",63206,"hyphentwo",8208,"i",105,"iacute",237,"iacyrillic",1103,"ibengali",2439,"ibopomofo",12583,"ibreve",301,"icaron",464,"icircle",9432,"icircumflex",238,"icyrillic",1110,"idblgrave",521,"ideographearthcircle",12943,"ideographfirecircle",12939,"ideographicallianceparen",12863,"ideographiccallparen",12858,"ideographiccentrecircle",12965,"ideographicclose",12294,"ideographiccomma",12289,"ideographiccommaleft",65380,"ideographiccongratulationparen",12855,"ideographiccorrectcircle",12963,"ideographicearthparen",12847,"ideographicenterpriseparen",12861,"ideographicexcellentcircle",12957,"ideographicfestivalparen",12864,"ideographicfinancialcircle",12950,"ideographicfinancialparen",12854,"ideographicfireparen",12843,"ideographichaveparen",12850,"ideographichighcircle",12964,"ideographiciterationmark",12293,"ideographiclaborcircle",12952,"ideographiclaborparen",12856,"ideographicleftcircle",12967,"ideographiclowcircle",12966,"ideographicmedicinecircle",12969,"ideographicmetalparen",12846,"ideographicmoonparen",12842,"ideographicnameparen",12852,"ideographicperiod",12290,"ideographicprintcircle",12958,"ideographicreachparen",12867,"ideographicrepresentparen",12857,"ideographicresourceparen",12862,"ideographicrightcircle",12968,"ideographicsecretcircle",12953,"ideographicselfparen",12866,"ideographicsocietyparen",12851,"ideographicspace",12288,"ideographicspecialparen",12853,"ideographicstockparen",12849,"ideographicstudyparen",12859,"ideographicsunparen",12848,"ideographicsuperviseparen",12860,"ideographicwaterparen",12844,"ideographicwoodparen",12845,"ideographiczero",12295,"ideographmetalcircle",12942,"ideographmooncircle",12938,"ideographnamecircle",12948,"ideographsuncircle",12944,"ideographwatercircle",12940,"ideographwoodcircle",12941,"ideva",2311,"idieresis",239,"idieresisacute",7727,"idieresiscyrillic",1253,"idotbelow",7883,"iebrevecyrillic",1239,"iecyrillic",1077,"ieungacirclekorean",12917,"ieungaparenkorean",12821,"ieungcirclekorean",12903,"ieungkorean",12615,"ieungparenkorean",12807,"igrave",236,"igujarati",2695,"igurmukhi",2567,"ihiragana",12356,"ihookabove",7881,"iibengali",2440,"iicyrillic",1080,"iideva",2312,"iigujarati",2696,"iigurmukhi",2568,"iimatragurmukhi",2624,"iinvertedbreve",523,"iishortcyrillic",1081,"iivowelsignbengali",2496,"iivowelsigndeva",2368,"iivowelsigngujarati",2752,"ij",307,"ikatakana",12452,"ikatakanahalfwidth",65394,"ikorean",12643,"ilde",732,"iluyhebrew",1452,"imacron",299,"imacroncyrillic",1251,"imageorapproximatelyequal",8787,"imatragurmukhi",2623,"imonospace",65353,"increment",8710,"infinity",8734,"iniarmenian",1387,"integral",8747,"integralbottom",8993,"integralbt",8993,"integralex",63733,"integraltop",8992,"integraltp",8992,"intersection",8745,"intisquare",13061,"invbullet",9688,"invcircle",9689,"invsmileface",9787,"iocyrillic",1105,"iogonek",303,"iota",953,"iotadieresis",970,"iotadieresistonos",912,"iotalatin",617,"iotatonos",943,"iparen",9380,"irigurmukhi",2674,"ismallhiragana",12355,"ismallkatakana",12451,"ismallkatakanahalfwidth",65384,"issharbengali",2554,"istroke",616,"isuperior",63213,"iterationhiragana",12445,"iterationkatakana",12541,"itilde",297,"itildebelow",7725,"iubopomofo",12585,"iucyrillic",1102,"ivowelsignbengali",2495,"ivowelsigndeva",2367,"ivowelsigngujarati",2751,"izhitsacyrillic",1141,"izhitsadblgravecyrillic",1143,"j",106,"jaarmenian",1393,"jabengali",2460,"jadeva",2332,"jagujarati",2716,"jagurmukhi",2588,"jbopomofo",12560,"jcaron",496,"jcircle",9433,"jcircumflex",309,"jcrossedtail",669,"jdotlessstroke",607,"jecyrillic",1112,"jeemarabic",1580,"jeemfinalarabic",65182,"jeeminitialarabic",65183,"jeemmedialarabic",65184,"jeharabic",1688,"jehfinalarabic",64395,"jhabengali",2461,"jhadeva",2333,"jhagujarati",2717,"jhagurmukhi",2589,"jheharmenian",1403,"jis",12292,"jmonospace",65354,"jparen",9381,"jsuperior",690,"k",107,"kabashkircyrillic",1185,"kabengali",2453,"kacute",7729,"kacyrillic",1082,"kadescendercyrillic",1179,"kadeva",2325,"kaf",1499,"kafarabic",1603,"kafdagesh",64315,"kafdageshhebrew",64315,"kaffinalarabic",65242,"kafhebrew",1499,"kafinitialarabic",65243,"kafmedialarabic",65244,"kafrafehebrew",64333,"kagujarati",2709,"kagurmukhi",2581,"kahiragana",12363,"kahookcyrillic",1220,"kakatakana",12459,"kakatakanahalfwidth",65398,"kappa",954,"kappasymbolgreek",1008,"kapyeounmieumkorean",12657,"kapyeounphieuphkorean",12676,"kapyeounpieupkorean",12664,"kapyeounssangpieupkorean",12665,"karoriisquare",13069,"kashidaautoarabic",1600,"kashidaautonosidebearingarabic",1600,"kasmallkatakana",12533,"kasquare",13188,"kasraarabic",1616,"kasratanarabic",1613,"kastrokecyrillic",1183,"katahiraprolongmarkhalfwidth",65392,"kaverticalstrokecyrillic",1181,"kbopomofo",12558,"kcalsquare",13193,"kcaron",489,"kcedilla",311,"kcircle",9434,"kcommaaccent",311,"kdotbelow",7731,"keharmenian",1412,"kehiragana",12369,"kekatakana",12465,"kekatakanahalfwidth",65401,"kenarmenian",1391,"kesmallkatakana",12534,"kgreenlandic",312,"khabengali",2454,"khacyrillic",1093,"khadeva",2326,"khagujarati",2710,"khagurmukhi",2582,"khaharabic",1582,"khahfinalarabic",65190,"khahinitialarabic",65191,"khahmedialarabic",65192,"kheicoptic",999,"khhadeva",2393,"khhagurmukhi",2649,"khieukhacirclekorean",12920,"khieukhaparenkorean",12824,"khieukhcirclekorean",12906,"khieukhkorean",12619,"khieukhparenkorean",12810,"khokhaithai",3586,"khokhonthai",3589,"khokhuatthai",3587,"khokhwaithai",3588,"khomutthai",3675,"khook",409,"khorakhangthai",3590,"khzsquare",13201,"kihiragana",12365,"kikatakana",12461,"kikatakanahalfwidth",65399,"kiroguramusquare",13077,"kiromeetorusquare",13078,"kirosquare",13076,"kiyeokacirclekorean",12910,"kiyeokaparenkorean",12814,"kiyeokcirclekorean",12896,"kiyeokkorean",12593,"kiyeokparenkorean",12800,"kiyeoksioskorean",12595,"kjecyrillic",1116,"klinebelow",7733,"klsquare",13208,"kmcubedsquare",13222,"kmonospace",65355,"kmsquaredsquare",13218,"kohiragana",12371,"kohmsquare",13248,"kokaithai",3585,"kokatakana",12467,"kokatakanahalfwidth",65402,"kooposquare",13086,"koppacyrillic",1153,"koreanstandardsymbol",12927,"koroniscmb",835,"kparen",9382,"kpasquare",13226,"ksicyrillic",1135,"ktsquare",13263,"kturned",670,"kuhiragana",12367,"kukatakana",12463,"kukatakanahalfwidth",65400,"kvsquare",13240,"kwsquare",13246,"l",108,"labengali",2482,"lacute",314,"ladeva",2354,"lagujarati",2738,"lagurmukhi",2610,"lakkhangyaothai",3653,"lamaleffinalarabic",65276,"lamalefhamzaabovefinalarabic",65272,"lamalefhamzaaboveisolatedarabic",65271,"lamalefhamzabelowfinalarabic",65274,"lamalefhamzabelowisolatedarabic",65273,"lamalefisolatedarabic",65275,"lamalefmaddaabovefinalarabic",65270,"lamalefmaddaaboveisolatedarabic",65269,"lamarabic",1604,"lambda",955,"lambdastroke",411,"lamed",1500,"lameddagesh",64316,"lameddageshhebrew",64316,"lamedhebrew",1500,"lamfinalarabic",65246,"lamhahinitialarabic",64714,"laminitialarabic",65247,"lamjeeminitialarabic",64713,"lamkhahinitialarabic",64715,"lamlamhehisolatedarabic",65010,"lammedialarabic",65248,"lammeemhahinitialarabic",64904,"lammeeminitialarabic",64716,"largecircle",9711,"lbar",410,"lbelt",620,"lbopomofo",12556,"lcaron",318,"lcedilla",316,"lcircle",9435,"lcircumflexbelow",7741,"lcommaaccent",316,"ldot",320,"ldotaccent",320,"ldotbelow",7735,"ldotbelowmacron",7737,"leftangleabovecmb",794,"lefttackbelowcmb",792,"less",60,"lessequal",8804,"lessequalorgreater",8922,"lessmonospace",65308,"lessorequivalent",8818,"lessorgreater",8822,"lessoverequal",8806,"lesssmall",65124,"lezh",622,"lfblock",9612,"lhookretroflex",621,"lira",8356,"liwnarmenian",1388,"lj",457,"ljecyrillic",1113,"ll",63168,"lladeva",2355,"llagujarati",2739,"llinebelow",7739,"llladeva",2356,"llvocalicbengali",2529,"llvocalicdeva",2401,"llvocalicvowelsignbengali",2531,"llvocalicvowelsigndeva",2403,"lmiddletilde",619,"lmonospace",65356,"lmsquare",13264,"lochulathai",3628,"logicaland",8743,"logicalnot",172,"logicalnotreversed",8976,"logicalor",8744,"lolingthai",3621,"longs",383,"lowlinecenterline",65102,"lowlinecmb",818,"lowlinedashed",65101,"lozenge",9674,"lparen",9383,"lslash",322,"lsquare",8467,"lsuperior",63214,"ltshade",9617,"luthai",3622,"lvocalicbengali",2444,"lvocalicdeva",2316,"lvocalicvowelsignbengali",2530,"lvocalicvowelsigndeva",2402,"lxsquare",13267,"m",109,"mabengali",2478,"macron",175,"macronbelowcmb",817,"macroncmb",772,"macronlowmod",717,"macronmonospace",65507,"macute",7743,"madeva",2350,"magujarati",2734,"magurmukhi",2606,"mahapakhhebrew",1444,"mahapakhlefthebrew",1444,"mahiragana",12414,"maichattawalowleftthai",63637,"maichattawalowrightthai",63636,"maichattawathai",3659,"maichattawaupperleftthai",63635,"maieklowleftthai",63628,"maieklowrightthai",63627,"maiekthai",3656,"maiekupperleftthai",63626,"maihanakatleftthai",63620,"maihanakatthai",3633,"maitaikhuleftthai",63625,"maitaikhuthai",3655,"maitholowleftthai",63631,"maitholowrightthai",63630,"maithothai",3657,"maithoupperleftthai",63629,"maitrilowleftthai",63634,"maitrilowrightthai",63633,"maitrithai",3658,"maitriupperleftthai",63632,"maiyamokthai",3654,"makatakana",12510,"makatakanahalfwidth",65423,"male",9794,"mansyonsquare",13127,"maqafhebrew",1470,"mars",9794,"masoracirclehebrew",1455,"masquare",13187,"mbopomofo",12551,"mbsquare",13268,"mcircle",9436,"mcubedsquare",13221,"mdotaccent",7745,"mdotbelow",7747,"meemarabic",1605,"meemfinalarabic",65250,"meeminitialarabic",65251,"meemmedialarabic",65252,"meemmeeminitialarabic",64721,"meemmeemisolatedarabic",64584,"meetorusquare",13133,"mehiragana",12417,"meizierasquare",13182,"mekatakana",12513,"mekatakanahalfwidth",65426,"mem",1502,"memdagesh",64318,"memdageshhebrew",64318,"memhebrew",1502,"menarmenian",1396,"merkhahebrew",1445,"merkhakefulahebrew",1446,"merkhakefulalefthebrew",1446,"merkhalefthebrew",1445,"mhook",625,"mhzsquare",13202,"middledotkatakanahalfwidth",65381,"middot",183,"mieumacirclekorean",12914,"mieumaparenkorean",12818,"mieumcirclekorean",12900,"mieumkorean",12609,"mieumpansioskorean",12656,"mieumparenkorean",12804,"mieumpieupkorean",12654,"mieumsioskorean",12655,"mihiragana",12415,"mikatakana",12511,"mikatakanahalfwidth",65424,"minus",8722,"minusbelowcmb",800,"minuscircle",8854,"minusmod",727,"minusplus",8723,"minute",8242,"miribaarusquare",13130,"mirisquare",13129,"mlonglegturned",624,"mlsquare",13206,"mmcubedsquare",13219,"mmonospace",65357,"mmsquaredsquare",13215,"mohiragana",12418,"mohmsquare",13249,"mokatakana",12514,"mokatakanahalfwidth",65427,"molsquare",13270,"momathai",3617,"moverssquare",13223,"moverssquaredsquare",13224,"mparen",9384,"mpasquare",13227,"mssquare",13235,"msuperior",63215,"mturned",623,"mu",181,"mu1",181,"muasquare",13186,"muchgreater",8811,"muchless",8810,"mufsquare",13196,"mugreek",956,"mugsquare",13197,"muhiragana",12416,"mukatakana",12512,"mukatakanahalfwidth",65425,"mulsquare",13205,"multiply",215,"mumsquare",13211,"munahhebrew",1443,"munahlefthebrew",1443,"musicalnote",9834,"musicalnotedbl",9835,"musicflatsign",9837,"musicsharpsign",9839,"mussquare",13234,"muvsquare",13238,"muwsquare",13244,"mvmegasquare",13241,"mvsquare",13239,"mwmegasquare",13247,"mwsquare",13245,"n",110,"nabengali",2472,"nabla",8711,"nacute",324,"nadeva",2344,"nagujarati",2728,"nagurmukhi",2600,"nahiragana",12394,"nakatakana",12490,"nakatakanahalfwidth",65413,"napostrophe",329,"nasquare",13185,"nbopomofo",12555,"nbspace",160,"ncaron",328,"ncedilla",326,"ncircle",9437,"ncircumflexbelow",7755,"ncommaaccent",326,"ndotaccent",7749,"ndotbelow",7751,"nehiragana",12397,"nekatakana",12493,"nekatakanahalfwidth",65416,"newsheqelsign",8362,"nfsquare",13195,"ngabengali",2457,"ngadeva",2329,"ngagujarati",2713,"ngagurmukhi",2585,"ngonguthai",3591,"nhiragana",12435,"nhookleft",626,"nhookretroflex",627,"nieunacirclekorean",12911,"nieunaparenkorean",12815,"nieuncieuckorean",12597,"nieuncirclekorean",12897,"nieunhieuhkorean",12598,"nieunkorean",12596,"nieunpansioskorean",12648,"nieunparenkorean",12801,"nieunsioskorean",12647,"nieuntikeutkorean",12646,"nihiragana",12395,"nikatakana",12491,"nikatakanahalfwidth",65414,"nikhahitleftthai",63641,"nikhahitthai",3661,"nine",57,"ninearabic",1641,"ninebengali",2543,"ninecircle",9320,"ninecircleinversesansserif",10130,"ninedeva",2415,"ninegujarati",2799,"ninegurmukhi",2671,"ninehackarabic",1641,"ninehangzhou",12329,"nineideographicparen",12840,"nineinferior",8329,"ninemonospace",65305,"nineoldstyle",63289,"nineparen",9340,"nineperiod",9360,"ninepersian",1785,"nineroman",8568,"ninesuperior",8313,"nineteencircle",9330,"nineteenparen",9350,"nineteenperiod",9370,"ninethai",3673,"nj",460,"njecyrillic",1114,"nkatakana",12531,"nkatakanahalfwidth",65437,"nlegrightlong",414,"nlinebelow",7753,"nmonospace",65358,"nmsquare",13210,"nnabengali",2467,"nnadeva",2339,"nnagujarati",2723,"nnagurmukhi",2595,"nnnadeva",2345,"nohiragana",12398,"nokatakana",12494,"nokatakanahalfwidth",65417,"nonbreakingspace",160,"nonenthai",3603,"nonuthai",3609,"noonarabic",1606,"noonfinalarabic",65254,"noonghunnaarabic",1722,"noonghunnafinalarabic",64415,"nooninitialarabic",65255,"noonjeeminitialarabic",64722,"noonjeemisolatedarabic",64587,"noonmedialarabic",65256,"noonmeeminitialarabic",64725,"noonmeemisolatedarabic",64590,"noonnoonfinalarabic",64653,"notcontains",8716,"notelement",8713,"notelementof",8713,"notequal",8800,"notgreater",8815,"notgreaternorequal",8817,"notgreaternorless",8825,"notidentical",8802,"notless",8814,"notlessnorequal",8816,"notparallel",8742,"notprecedes",8832,"notsubset",8836,"notsucceeds",8833,"notsuperset",8837,"nowarmenian",1398,"nparen",9385,"nssquare",13233,"nsuperior",8319,"ntilde",241,"nu",957,"nuhiragana",12396,"nukatakana",12492,"nukatakanahalfwidth",65415,"nuktabengali",2492,"nuktadeva",2364,"nuktagujarati",2748,"nuktagurmukhi",2620,"numbersign",35,"numbersignmonospace",65283,"numbersignsmall",65119,"numeralsigngreek",884,"numeralsignlowergreek",885,"numero",8470,"nun",1504,"nundagesh",64320,"nundageshhebrew",64320,"nunhebrew",1504,"nvsquare",13237,"nwsquare",13243,"nyabengali",2462,"nyadeva",2334,"nyagujarati",2718,"nyagurmukhi",2590,"o",111,"oacute",243,"oangthai",3629,"obarred",629,"obarredcyrillic",1257,"obarreddieresiscyrillic",1259,"obengali",2451,"obopomofo",12571,"obreve",335,"ocandradeva",2321,"ocandragujarati",2705,"ocandravowelsigndeva",2377,"ocandravowelsigngujarati",2761,"ocaron",466,"ocircle",9438,"ocircumflex",244,"ocircumflexacute",7889,"ocircumflexdotbelow",7897,"ocircumflexgrave",7891,"ocircumflexhookabove",7893,"ocircumflextilde",7895,"ocyrillic",1086,"odblacute",337,"odblgrave",525,"odeva",2323,"odieresis",246,"odieresiscyrillic",1255,"odotbelow",7885,"oe",339,"oekorean",12634,"ogonek",731,"ogonekcmb",808,"ograve",242,"ogujarati",2707,"oharmenian",1413,"ohiragana",12362,"ohookabove",7887,"ohorn",417,"ohornacute",7899,"ohorndotbelow",7907,"ohorngrave",7901,"ohornhookabove",7903,"ohorntilde",7905,"ohungarumlaut",337,"oi",419,"oinvertedbreve",527,"okatakana",12458,"okatakanahalfwidth",65397,"okorean",12631,"olehebrew",1451,"omacron",333,"omacronacute",7763,"omacrongrave",7761,"omdeva",2384,"omega",969,"omega1",982,"omegacyrillic",1121,"omegalatinclosed",631,"omegaroundcyrillic",1147,"omegatitlocyrillic",1149,"omegatonos",974,"omgujarati",2768,"omicron",959,"omicrontonos",972,"omonospace",65359,"one",49,"onearabic",1633,"onebengali",2535,"onecircle",9312,"onecircleinversesansserif",10122,"onedeva",2407,"onedotenleader",8228,"oneeighth",8539,"onefitted",63196,"onegujarati",2791,"onegurmukhi",2663,"onehackarabic",1633,"onehalf",189,"onehangzhou",12321,"oneideographicparen",12832,"oneinferior",8321,"onemonospace",65297,"onenumeratorbengali",2548,"oneoldstyle",63281,"oneparen",9332,"oneperiod",9352,"onepersian",1777,"onequarter",188,"oneroman",8560,"onesuperior",185,"onethai",3665,"onethird",8531,"oogonek",491,"oogonekmacron",493,"oogurmukhi",2579,"oomatragurmukhi",2635,"oopen",596,"oparen",9386,"openbullet",9702,"option",8997,"ordfeminine",170,"ordmasculine",186,"orthogonal",8735,"oshortdeva",2322,"oshortvowelsigndeva",2378,"oslash",248,"oslashacute",511,"osmallhiragana",12361,"osmallkatakana",12457,"osmallkatakanahalfwidth",65387,"ostrokeacute",511,"osuperior",63216,"otcyrillic",1151,"otilde",245,"otildeacute",7757,"otildedieresis",7759,"oubopomofo",12577,"overline",8254,"overlinecenterline",65098,"overlinecmb",773,"overlinedashed",65097,"overlinedblwavy",65100,"overlinewavy",65099,"overscore",175,"ovowelsignbengali",2507,"ovowelsigndeva",2379,"ovowelsigngujarati",2763,"p",112,"paampssquare",13184,"paasentosquare",13099,"pabengali",2474,"pacute",7765,"padeva",2346,"pagedown",8671,"pageup",8670,"pagujarati",2730,"pagurmukhi",2602,"pahiragana",12401,"paiyannoithai",3631,"pakatakana",12497,"palatalizationcyrilliccmb",1156,"palochkacyrillic",1216,"pansioskorean",12671,"paragraph",182,"parallel",8741,"parenleft",40,"parenleftaltonearabic",64830,"parenleftbt",63725,"parenleftex",63724,"parenleftinferior",8333,"parenleftmonospace",65288,"parenleftsmall",65113,"parenleftsuperior",8317,"parenlefttp",63723,"parenleftvertical",65077,"parenright",41,"parenrightaltonearabic",64831,"parenrightbt",63736,"parenrightex",63735,"parenrightinferior",8334,"parenrightmonospace",65289,"parenrightsmall",65114,"parenrightsuperior",8318,"parenrighttp",63734,"parenrightvertical",65078,"partialdiff",8706,"paseqhebrew",1472,"pashtahebrew",1433,"pasquare",13225,"patah",1463,"patah11",1463,"patah1d",1463,"patah2a",1463,"patahhebrew",1463,"patahnarrowhebrew",1463,"patahquarterhebrew",1463,"patahwidehebrew",1463,"pazerhebrew",1441,"pbopomofo",12550,"pcircle",9439,"pdotaccent",7767,"pe",1508,"pecyrillic",1087,"pedagesh",64324,"pedageshhebrew",64324,"peezisquare",13115,"pefinaldageshhebrew",64323,"peharabic",1662,"peharmenian",1402,"pehebrew",1508,"pehfinalarabic",64343,"pehinitialarabic",64344,"pehiragana",12410,"pehmedialarabic",64345,"pekatakana",12506,"pemiddlehookcyrillic",1191,"perafehebrew",64334,"percent",37,"percentarabic",1642,"percentmonospace",65285,"percentsmall",65130,"period",46,"periodarmenian",1417,"periodcentered",183,"periodhalfwidth",65377,"periodinferior",63207,"periodmonospace",65294,"periodsmall",65106,"periodsuperior",63208,"perispomenigreekcmb",834,"perpendicular",8869,"perthousand",8240,"peseta",8359,"pfsquare",13194,"phabengali",2475,"phadeva",2347,"phagujarati",2731,"phagurmukhi",2603,"phi",966,"phi1",981,"phieuphacirclekorean",12922,"phieuphaparenkorean",12826,"phieuphcirclekorean",12908,"phieuphkorean",12621,"phieuphparenkorean",12812,"philatin",632,"phinthuthai",3642,"phisymbolgreek",981,"phook",421,"phophanthai",3614,"phophungthai",3612,"phosamphaothai",3616,"pi",960,"pieupacirclekorean",12915,"pieupaparenkorean",12819,"pieupcieuckorean",12662,"pieupcirclekorean",12901,"pieupkiyeokkorean",12658,"pieupkorean",12610,"pieupparenkorean",12805,"pieupsioskiyeokkorean",12660,"pieupsioskorean",12612,"pieupsiostikeutkorean",12661,"pieupthieuthkorean",12663,"pieuptikeutkorean",12659,"pihiragana",12404,"pikatakana",12500,"pisymbolgreek",982,"piwrarmenian",1411,"plus",43,"plusbelowcmb",799,"pluscircle",8853,"plusminus",177,"plusmod",726,"plusmonospace",65291,"plussmall",65122,"plussuperior",8314,"pmonospace",65360,"pmsquare",13272,"pohiragana",12413,"pointingindexdownwhite",9759,"pointingindexleftwhite",9756,"pointingindexrightwhite",9758,"pointingindexupwhite",9757,"pokatakana",12509,"poplathai",3611,"postalmark",12306,"postalmarkface",12320,"pparen",9387,"precedes",8826,"prescription",8478,"primemod",697,"primereversed",8245,"product",8719,"projective",8965,"prolongedkana",12540,"propellor",8984,"propersubset",8834,"propersuperset",8835,"proportion",8759,"proportional",8733,"psi",968,"psicyrillic",1137,"psilipneumatacyrilliccmb",1158,"pssquare",13232,"puhiragana",12407,"pukatakana",12503,"pvsquare",13236,"pwsquare",13242,"q",113,"qadeva",2392,"qadmahebrew",1448,"qafarabic",1602,"qaffinalarabic",65238,"qafinitialarabic",65239,"qafmedialarabic",65240,"qamats",1464,"qamats10",1464,"qamats1a",1464,"qamats1c",1464,"qamats27",1464,"qamats29",1464,"qamats33",1464,"qamatsde",1464,"qamatshebrew",1464,"qamatsnarrowhebrew",1464,"qamatsqatanhebrew",1464,"qamatsqatannarrowhebrew",1464,"qamatsqatanquarterhebrew",1464,"qamatsqatanwidehebrew",1464,"qamatsquarterhebrew",1464,"qamatswidehebrew",1464,"qarneyparahebrew",1439,"qbopomofo",12561,"qcircle",9440,"qhook",672,"qmonospace",65361,"qof",1511,"qofdagesh",64327,"qofdageshhebrew",64327,"qofhebrew",1511,"qparen",9388,"quarternote",9833,"qubuts",1467,"qubuts18",1467,"qubuts25",1467,"qubuts31",1467,"qubutshebrew",1467,"qubutsnarrowhebrew",1467,"qubutsquarterhebrew",1467,"qubutswidehebrew",1467,"question",63,"questionarabic",1567,"questionarmenian",1374,"questiondown",191,"questiondownsmall",63423,"questiongreek",894,"questionmonospace",65311,"questionsmall",63295,"quotedbl",34,"quotedblbase",8222,"quotedblleft",8220,"quotedblmonospace",65282,"quotedblprime",12318,"quotedblprimereversed",12317,"quotedblright",8221,"quoteleft",8216,"quoteleftreversed",8219,"quotereversed",8219,"quoteright",8217,"quoterightn",329,"quotesinglbase",8218,"quotesingle",39,"quotesinglemonospace",65287,"r",114,"raarmenian",1404,"rabengali",2480,"racute",341,"radeva",2352,"radical",8730,"radicalex",63717,"radoverssquare",13230,"radoverssquaredsquare",13231,"radsquare",13229,"rafe",1471,"rafehebrew",1471,"ragujarati",2736,"ragurmukhi",2608,"rahiragana",12425,"rakatakana",12521,"rakatakanahalfwidth",65431,"ralowerdiagonalbengali",2545,"ramiddlediagonalbengali",2544,"ramshorn",612,"ratio",8758,"rbopomofo",12566,"rcaron",345,"rcedilla",343,"rcircle",9441,"rcommaaccent",343,"rdblgrave",529,"rdotaccent",7769,"rdotbelow",7771,"rdotbelowmacron",7773,"referencemark",8251,"reflexsubset",8838,"reflexsuperset",8839,"registered",174,"registersans",63720,"registerserif",63194,"reharabic",1585,"reharmenian",1408,"rehfinalarabic",65198,"rehiragana",12428,"rekatakana",12524,"rekatakanahalfwidth",65434,"resh",1512,"reshdageshhebrew",64328,"reshhebrew",1512,"reversedtilde",8765,"reviahebrew",1431,"reviamugrashhebrew",1431,"revlogicalnot",8976,"rfishhook",638,"rfishhookreversed",639,"rhabengali",2525,"rhadeva",2397,"rho",961,"rhook",637,"rhookturned",635,"rhookturnedsuperior",693,"rhosymbolgreek",1009,"rhotichookmod",734,"rieulacirclekorean",12913,"rieulaparenkorean",12817,"rieulcirclekorean",12899,"rieulhieuhkorean",12608,"rieulkiyeokkorean",12602,"rieulkiyeoksioskorean",12649,"rieulkorean",12601,"rieulmieumkorean",12603,"rieulpansioskorean",12652,"rieulparenkorean",12803,"rieulphieuphkorean",12607,"rieulpieupkorean",12604,"rieulpieupsioskorean",12651,"rieulsioskorean",12605,"rieulthieuthkorean",12606,"rieultikeutkorean",12650,"rieulyeorinhieuhkorean",12653,"rightangle",8735,"righttackbelowcmb",793,"righttriangle",8895,"rihiragana",12426,"rikatakana",12522,"rikatakanahalfwidth",65432,"ring",730,"ringbelowcmb",805,"ringcmb",778,"ringhalfleft",703,"ringhalfleftarmenian",1369,"ringhalfleftbelowcmb",796,"ringhalfleftcentered",723,"ringhalfright",702,"ringhalfrightbelowcmb",825,"ringhalfrightcentered",722,"rinvertedbreve",531,"rittorusquare",13137,"rlinebelow",7775,"rlongleg",636,"rlonglegturned",634,"rmonospace",65362,"rohiragana",12429,"rokatakana",12525,"rokatakanahalfwidth",65435,"roruathai",3619,"rparen",9389,"rrabengali",2524,"rradeva",2353,"rragurmukhi",2652,"rreharabic",1681,"rrehfinalarabic",64397,"rrvocalicbengali",2528,"rrvocalicdeva",2400,"rrvocalicgujarati",2784,"rrvocalicvowelsignbengali",2500,"rrvocalicvowelsigndeva",2372,"rrvocalicvowelsigngujarati",2756,"rsuperior",63217,"rtblock",9616,"rturned",633,"rturnedsuperior",692,"ruhiragana",12427,"rukatakana",12523,"rukatakanahalfwidth",65433,"rupeemarkbengali",2546,"rupeesignbengali",2547,"rupiah",63197,"ruthai",3620,"rvocalicbengali",2443,"rvocalicdeva",2315,"rvocalicgujarati",2699,"rvocalicvowelsignbengali",2499,"rvocalicvowelsigndeva",2371,"rvocalicvowelsigngujarati",2755,"s",115,"sabengali",2488,"sacute",347,"sacutedotaccent",7781,"sadarabic",1589,"sadeva",2360,"sadfinalarabic",65210,"sadinitialarabic",65211,"sadmedialarabic",65212,"sagujarati",2744,"sagurmukhi",2616,"sahiragana",12373,"sakatakana",12469,"sakatakanahalfwidth",65403,"sallallahoualayhewasallamarabic",65018,"samekh",1505,"samekhdagesh",64321,"samekhdageshhebrew",64321,"samekhhebrew",1505,"saraaathai",3634,"saraaethai",3649,"saraaimaimalaithai",3652,"saraaimaimuanthai",3651,"saraamthai",3635,"saraathai",3632,"saraethai",3648,"saraiileftthai",63622,"saraiithai",3637,"saraileftthai",63621,"saraithai",3636,"saraothai",3650,"saraueeleftthai",63624,"saraueethai",3639,"saraueleftthai",63623,"sarauethai",3638,"sarauthai",3640,"sarauuthai",3641,"sbopomofo",12569,"scaron",353,"scarondotaccent",7783,"scedilla",351,"schwa",601,"schwacyrillic",1241,"schwadieresiscyrillic",1243,"schwahook",602,"scircle",9442,"scircumflex",349,"scommaaccent",537,"sdotaccent",7777,"sdotbelow",7779,"sdotbelowdotaccent",7785,"seagullbelowcmb",828,"second",8243,"secondtonechinese",714,"section",167,"seenarabic",1587,"seenfinalarabic",65202,"seeninitialarabic",65203,"seenmedialarabic",65204,"segol",1462,"segol13",1462,"segol1f",1462,"segol2c",1462,"segolhebrew",1462,"segolnarrowhebrew",1462,"segolquarterhebrew",1462,"segoltahebrew",1426,"segolwidehebrew",1462,"seharmenian",1405,"sehiragana",12379,"sekatakana",12475,"sekatakanahalfwidth",65406,"semicolon",59,"semicolonarabic",1563,"semicolonmonospace",65307,"semicolonsmall",65108,"semivoicedmarkkana",12444,"semivoicedmarkkanahalfwidth",65439,"sentisquare",13090,"sentosquare",13091,"seven",55,"sevenarabic",1639,"sevenbengali",2541,"sevencircle",9318,"sevencircleinversesansserif",10128,"sevendeva",2413,"seveneighths",8542,"sevengujarati",2797,"sevengurmukhi",2669,"sevenhackarabic",1639,"sevenhangzhou",12327,"sevenideographicparen",12838,"seveninferior",8327,"sevenmonospace",65303,"sevenoldstyle",63287,"sevenparen",9338,"sevenperiod",9358,"sevenpersian",1783,"sevenroman",8566,"sevensuperior",8311,"seventeencircle",9328,"seventeenparen",9348,"seventeenperiod",9368,"seventhai",3671,"sfthyphen",173,"shaarmenian",1399,"shabengali",2486,"shacyrillic",1096,"shaddaarabic",1617,"shaddadammaarabic",64609,"shaddadammatanarabic",64606,"shaddafathaarabic",64608,"shaddakasraarabic",64610,"shaddakasratanarabic",64607,"shade",9618,"shadedark",9619,"shadelight",9617,"shademedium",9618,"shadeva",2358,"shagujarati",2742,"shagurmukhi",2614,"shalshelethebrew",1427,"shbopomofo",12565,"shchacyrillic",1097,"sheenarabic",1588,"sheenfinalarabic",65206,"sheeninitialarabic",65207,"sheenmedialarabic",65208,"sheicoptic",995,"sheqel",8362,"sheqelhebrew",8362,"sheva",1456,"sheva115",1456,"sheva15",1456,"sheva22",1456,"sheva2e",1456,"shevahebrew",1456,"shevanarrowhebrew",1456,"shevaquarterhebrew",1456,"shevawidehebrew",1456,"shhacyrillic",1211,"shimacoptic",1005,"shin",1513,"shindagesh",64329,"shindageshhebrew",64329,"shindageshshindot",64300,"shindageshshindothebrew",64300,"shindageshsindot",64301,"shindageshsindothebrew",64301,"shindothebrew",1473,"shinhebrew",1513,"shinshindot",64298,"shinshindothebrew",64298,"shinsindot",64299,"shinsindothebrew",64299,"shook",642,"sigma",963,"sigma1",962,"sigmafinal",962,"sigmalunatesymbolgreek",1010,"sihiragana",12375,"sikatakana",12471,"sikatakanahalfwidth",65404,"siluqhebrew",1469,"siluqlefthebrew",1469,"similar",8764,"sindothebrew",1474,"siosacirclekorean",12916,"siosaparenkorean",12820,"sioscieuckorean",12670,"sioscirclekorean",12902,"sioskiyeokkorean",12666,"sioskorean",12613,"siosnieunkorean",12667,"siosparenkorean",12806,"siospieupkorean",12669,"siostikeutkorean",12668,"six",54,"sixarabic",1638,"sixbengali",2540,"sixcircle",9317,"sixcircleinversesansserif",10127,"sixdeva",2412,"sixgujarati",2796,"sixgurmukhi",2668,"sixhackarabic",1638,"sixhangzhou",12326,"sixideographicparen",12837,"sixinferior",8326,"sixmonospace",65302,"sixoldstyle",63286,"sixparen",9337,"sixperiod",9357,"sixpersian",1782,"sixroman",8565,"sixsuperior",8310,"sixteencircle",9327,"sixteencurrencydenominatorbengali",2553,"sixteenparen",9347,"sixteenperiod",9367,"sixthai",3670,"slash",47,"slashmonospace",65295,"slong",383,"slongdotaccent",7835,"smileface",9786,"smonospace",65363,"sofpasuqhebrew",1475,"softhyphen",173,"softsigncyrillic",1100,"sohiragana",12381,"sokatakana",12477,"sokatakanahalfwidth",65407,"soliduslongoverlaycmb",824,"solidusshortoverlaycmb",823,"sorusithai",3625,"sosalathai",3624,"sosothai",3595,"sosuathai",3626,"space",32,"spacehackarabic",32,"spade",9824,"spadesuitblack",9824,"spadesuitwhite",9828,"sparen",9390,"squarebelowcmb",827,"squarecc",13252,"squarecm",13213,"squarediagonalcrosshatchfill",9641,"squarehorizontalfill",9636,"squarekg",13199,"squarekm",13214,"squarekmcapital",13262,"squareln",13265,"squarelog",13266,"squaremg",13198,"squaremil",13269,"squaremm",13212,"squaremsquared",13217,"squareorthogonalcrosshatchfill",9638,"squareupperlefttolowerrightfill",9639,"squareupperrighttolowerleftfill",9640,"squareverticalfill",9637,"squarewhitewithsmallblack",9635,"srsquare",13275,"ssabengali",2487,"ssadeva",2359,"ssagujarati",2743,"ssangcieuckorean",12617,"ssanghieuhkorean",12677,"ssangieungkorean",12672,"ssangkiyeokkorean",12594,"ssangnieunkorean",12645,"ssangpieupkorean",12611,"ssangsioskorean",12614,"ssangtikeutkorean",12600,"ssuperior",63218,"sterling",163,"sterlingmonospace",65505,"strokelongoverlaycmb",822,"strokeshortoverlaycmb",821,"subset",8834,"subsetnotequal",8842,"subsetorequal",8838,"succeeds",8827,"suchthat",8715,"suhiragana",12377,"sukatakana",12473,"sukatakanahalfwidth",65405,"sukunarabic",1618,"summation",8721,"sun",9788,"superset",8835,"supersetnotequal",8843,"supersetorequal",8839,"svsquare",13276,"syouwaerasquare",13180,"t",116,"tabengali",2468,"tackdown",8868,"tackleft",8867,"tadeva",2340,"tagujarati",2724,"tagurmukhi",2596,"taharabic",1591,"tahfinalarabic",65218,"tahinitialarabic",65219,"tahiragana",12383,"tahmedialarabic",65220,"taisyouerasquare",13181,"takatakana",12479,"takatakanahalfwidth",65408,"tatweelarabic",1600,"tau",964,"tav",1514,"tavdages",64330,"tavdagesh",64330,"tavdageshhebrew",64330,"tavhebrew",1514,"tbar",359,"tbopomofo",12554,"tcaron",357,"tccurl",680,"tcedilla",355,"tcheharabic",1670,"tchehfinalarabic",64379,"tchehinitialarabic",64380,"tchehmedialarabic",64381,"tcircle",9443,"tcircumflexbelow",7793,"tcommaaccent",355,"tdieresis",7831,"tdotaccent",7787,"tdotbelow",7789,"tecyrillic",1090,"tedescendercyrillic",1197,"teharabic",1578,"tehfinalarabic",65174,"tehhahinitialarabic",64674,"tehhahisolatedarabic",64524,"tehinitialarabic",65175,"tehiragana",12390,"tehjeeminitialarabic",64673,"tehjeemisolatedarabic",64523,"tehmarbutaarabic",1577,"tehmarbutafinalarabic",65172,"tehmedialarabic",65176,"tehmeeminitialarabic",64676,"tehmeemisolatedarabic",64526,"tehnoonfinalarabic",64627,"tekatakana",12486,"tekatakanahalfwidth",65411,"telephone",8481,"telephoneblack",9742,"telishagedolahebrew",1440,"telishaqetanahebrew",1449,"tencircle",9321,"tenideographicparen",12841,"tenparen",9341,"tenperiod",9361,"tenroman",8569,"tesh",679,"tet",1496,"tetdagesh",64312,"tetdageshhebrew",64312,"tethebrew",1496,"tetsecyrillic",1205,"tevirhebrew",1435,"tevirlefthebrew",1435,"thabengali",2469,"thadeva",2341,"thagujarati",2725,"thagurmukhi",2597,"thalarabic",1584,"thalfinalarabic",65196,"thanthakhatlowleftthai",63640,"thanthakhatlowrightthai",63639,"thanthakhatthai",3660,"thanthakhatupperleftthai",63638,"theharabic",1579,"thehfinalarabic",65178,"thehinitialarabic",65179,"thehmedialarabic",65180,"thereexists",8707,"therefore",8756,"theta",952,"theta1",977,"thetasymbolgreek",977,"thieuthacirclekorean",12921,"thieuthaparenkorean",12825,"thieuthcirclekorean",12907,"thieuthkorean",12620,"thieuthparenkorean",12811,"thirteencircle",9324,"thirteenparen",9344,"thirteenperiod",9364,"thonangmonthothai",3601,"thook",429,"thophuthaothai",3602,"thorn",254,"thothahanthai",3607,"thothanthai",3600,"thothongthai",3608,"thothungthai",3606,"thousandcyrillic",1154,"thousandsseparatorarabic",1644,"thousandsseparatorpersian",1644,"three",51,"threearabic",1635,"threebengali",2537,"threecircle",9314,"threecircleinversesansserif",10124,"threedeva",2409,"threeeighths",8540,"threegujarati",2793,"threegurmukhi",2665,"threehackarabic",1635,"threehangzhou",12323,"threeideographicparen",12834,"threeinferior",8323,"threemonospace",65299,"threenumeratorbengali",2550,"threeoldstyle",63283,"threeparen",9334,"threeperiod",9354,"threepersian",1779,"threequarters",190,"threequartersemdash",63198,"threeroman",8562,"threesuperior",179,"threethai",3667,"thzsquare",13204,"tihiragana",12385,"tikatakana",12481,"tikatakanahalfwidth",65409,"tikeutacirclekorean",12912,"tikeutaparenkorean",12816,"tikeutcirclekorean",12898,"tikeutkorean",12599,"tikeutparenkorean",12802,"tilde",732,"tildebelowcmb",816,"tildecmb",771,"tildecomb",771,"tildedoublecmb",864,"tildeoperator",8764,"tildeoverlaycmb",820,"tildeverticalcmb",830,"timescircle",8855,"tipehahebrew",1430,"tipehalefthebrew",1430,"tippigurmukhi",2672,"titlocyrilliccmb",1155,"tiwnarmenian",1407,"tlinebelow",7791,"tmonospace",65364,"toarmenian",1385,"tohiragana",12392,"tokatakana",12488,"tokatakanahalfwidth",65412,"tonebarextrahighmod",741,"tonebarextralowmod",745,"tonebarhighmod",742,"tonebarlowmod",744,"tonebarmidmod",743,"tonefive",445,"tonesix",389,"tonetwo",424,"tonos",900,"tonsquare",13095,"topatakthai",3599,"tortoiseshellbracketleft",12308,"tortoiseshellbracketleftsmall",65117,"tortoiseshellbracketleftvertical",65081,"tortoiseshellbracketright",12309,"tortoiseshellbracketrightsmall",65118,"tortoiseshellbracketrightvertical",65082,"totaothai",3605,"tpalatalhook",427,"tparen",9391,"trademark",8482,"trademarksans",63722,"trademarkserif",63195,"tretroflexhook",648,"triagdn",9660,"triaglf",9668,"triagrt",9658,"triagup",9650,"ts",678,"tsadi",1510,"tsadidagesh",64326,"tsadidageshhebrew",64326,"tsadihebrew",1510,"tsecyrillic",1094,"tsere",1461,"tsere12",1461,"tsere1e",1461,"tsere2b",1461,"tserehebrew",1461,"tserenarrowhebrew",1461,"tserequarterhebrew",1461,"tserewidehebrew",1461,"tshecyrillic",1115,"tsuperior",63219,"ttabengali",2463,"ttadeva",2335,"ttagujarati",2719,"ttagurmukhi",2591,"tteharabic",1657,"ttehfinalarabic",64359,"ttehinitialarabic",64360,"ttehmedialarabic",64361,"tthabengali",2464,"tthadeva",2336,"tthagujarati",2720,"tthagurmukhi",2592,"tturned",647,"tuhiragana",12388,"tukatakana",12484,"tukatakanahalfwidth",65410,"tusmallhiragana",12387,"tusmallkatakana",12483,"tusmallkatakanahalfwidth",65391,"twelvecircle",9323,"twelveparen",9343,"twelveperiod",9363,"twelveroman",8571,"twentycircle",9331,"twentyhangzhou",21316,"twentyparen",9351,"twentyperiod",9371,"two",50,"twoarabic",1634,"twobengali",2536,"twocircle",9313,"twocircleinversesansserif",10123,"twodeva",2408,"twodotenleader",8229,"twodotleader",8229,"twodotleadervertical",65072,"twogujarati",2792,"twogurmukhi",2664,"twohackarabic",1634,"twohangzhou",12322,"twoideographicparen",12833,"twoinferior",8322,"twomonospace",65298,"twonumeratorbengali",2549,"twooldstyle",63282,"twoparen",9333,"twoperiod",9353,"twopersian",1778,"tworoman",8561,"twostroke",443,"twosuperior",178,"twothai",3666,"twothirds",8532,"u",117,"uacute",250,"ubar",649,"ubengali",2441,"ubopomofo",12584,"ubreve",365,"ucaron",468,"ucircle",9444,"ucircumflex",251,"ucircumflexbelow",7799,"ucyrillic",1091,"udattadeva",2385,"udblacute",369,"udblgrave",533,"udeva",2313,"udieresis",252,"udieresisacute",472,"udieresisbelow",7795,"udieresiscaron",474,"udieresiscyrillic",1265,"udieresisgrave",476,"udieresismacron",470,"udotbelow",7909,"ugrave",249,"ugujarati",2697,"ugurmukhi",2569,"uhiragana",12358,"uhookabove",7911,"uhorn",432,"uhornacute",7913,"uhorndotbelow",7921,"uhorngrave",7915,"uhornhookabove",7917,"uhorntilde",7919,"uhungarumlaut",369,"uhungarumlautcyrillic",1267,"uinvertedbreve",535,"ukatakana",12454,"ukatakanahalfwidth",65395,"ukcyrillic",1145,"ukorean",12636,"umacron",363,"umacroncyrillic",1263,"umacrondieresis",7803,"umatragurmukhi",2625,"umonospace",65365,"underscore",95,"underscoredbl",8215,"underscoremonospace",65343,"underscorevertical",65075,"underscorewavy",65103,"union",8746,"universal",8704,"uogonek",371,"uparen",9392,"upblock",9600,"upperdothebrew",1476,"upsilon",965,"upsilondieresis",971,"upsilondieresistonos",944,"upsilonlatin",650,"upsilontonos",973,"uptackbelowcmb",797,"uptackmod",724,"uragurmukhi",2675,"uring",367,"ushortcyrillic",1118,"usmallhiragana",12357,"usmallkatakana",12453,"usmallkatakanahalfwidth",65385,"ustraightcyrillic",1199,"ustraightstrokecyrillic",1201,"utilde",361,"utildeacute",7801,"utildebelow",7797,"uubengali",2442,"uudeva",2314,"uugujarati",2698,"uugurmukhi",2570,"uumatragurmukhi",2626,"uuvowelsignbengali",2498,"uuvowelsigndeva",2370,"uuvowelsigngujarati",2754,"uvowelsignbengali",2497,"uvowelsigndeva",2369,"uvowelsigngujarati",2753,"v",118,"vadeva",2357,"vagujarati",2741,"vagurmukhi",2613,"vakatakana",12535,"vav",1493,"vavdagesh",64309,"vavdagesh65",64309,"vavdageshhebrew",64309,"vavhebrew",1493,"vavholam",64331,"vavholamhebrew",64331,"vavvavhebrew",1520,"vavyodhebrew",1521,"vcircle",9445,"vdotbelow",7807,"vecyrillic",1074,"veharabic",1700,"vehfinalarabic",64363,"vehinitialarabic",64364,"vehmedialarabic",64365,"vekatakana",12537,"venus",9792,"verticalbar",124,"verticallineabovecmb",781,"verticallinebelowcmb",809,"verticallinelowmod",716,"verticallinemod",712,"vewarmenian",1406,"vhook",651,"vikatakana",12536,"viramabengali",2509,"viramadeva",2381,"viramagujarati",2765,"visargabengali",2435,"visargadeva",2307,"visargagujarati",2691,"vmonospace",65366,"voarmenian",1400,"voicediterationhiragana",12446,"voicediterationkatakana",12542,"voicedmarkkana",12443,"voicedmarkkanahalfwidth",65438,"vokatakana",12538,"vparen",9393,"vtilde",7805,"vturned",652,"vuhiragana",12436,"vukatakana",12532,"w",119,"wacute",7811,"waekorean",12633,"wahiragana",12431,"wakatakana",12527,"wakatakanahalfwidth",65436,"wakorean",12632,"wasmallhiragana",12430,"wasmallkatakana",12526,"wattosquare",13143,"wavedash",12316,"wavyunderscorevertical",65076,"wawarabic",1608,"wawfinalarabic",65262,"wawhamzaabovearabic",1572,"wawhamzaabovefinalarabic",65158,"wbsquare",13277,"wcircle",9446,"wcircumflex",373,"wdieresis",7813,"wdotaccent",7815,"wdotbelow",7817,"wehiragana",12433,"weierstrass",8472,"wekatakana",12529,"wekorean",12638,"weokorean",12637,"wgrave",7809,"whitebullet",9702,"whitecircle",9675,"whitecircleinverse",9689,"whitecornerbracketleft",12302,"whitecornerbracketleftvertical",65091,"whitecornerbracketright",12303,"whitecornerbracketrightvertical",65092,"whitediamond",9671,"whitediamondcontainingblacksmalldiamond",9672,"whitedownpointingsmalltriangle",9663,"whitedownpointingtriangle",9661,"whiteleftpointingsmalltriangle",9667,"whiteleftpointingtriangle",9665,"whitelenticularbracketleft",12310,"whitelenticularbracketright",12311,"whiterightpointingsmalltriangle",9657,"whiterightpointingtriangle",9655,"whitesmallsquare",9643,"whitesmilingface",9786,"whitesquare",9633,"whitestar",9734,"whitetelephone",9743,"whitetortoiseshellbracketleft",12312,"whitetortoiseshellbracketright",12313,"whiteuppointingsmalltriangle",9653,"whiteuppointingtriangle",9651,"wihiragana",12432,"wikatakana",12528,"wikorean",12639,"wmonospace",65367,"wohiragana",12434,"wokatakana",12530,"wokatakanahalfwidth",65382,"won",8361,"wonmonospace",65510,"wowaenthai",3623,"wparen",9394,"wring",7832,"wsuperior",695,"wturned",653,"wynn",447,"x",120,"xabovecmb",829,"xbopomofo",12562,"xcircle",9447,"xdieresis",7821,"xdotaccent",7819,"xeharmenian",1389,"xi",958,"xmonospace",65368,"xparen",9395,"xsuperior",739,"y",121,"yaadosquare",13134,"yabengali",2479,"yacute",253,"yadeva",2351,"yaekorean",12626,"yagujarati",2735,"yagurmukhi",2607,"yahiragana",12420,"yakatakana",12516,"yakatakanahalfwidth",65428,"yakorean",12625,"yamakkanthai",3662,"yasmallhiragana",12419,"yasmallkatakana",12515,"yasmallkatakanahalfwidth",65388,"yatcyrillic",1123,"ycircle",9448,"ycircumflex",375,"ydieresis",255,"ydotaccent",7823,"ydotbelow",7925,"yeharabic",1610,"yehbarreearabic",1746,"yehbarreefinalarabic",64431,"yehfinalarabic",65266,"yehhamzaabovearabic",1574,"yehhamzaabovefinalarabic",65162,"yehhamzaaboveinitialarabic",65163,"yehhamzaabovemedialarabic",65164,"yehinitialarabic",65267,"yehmedialarabic",65268,"yehmeeminitialarabic",64733,"yehmeemisolatedarabic",64600,"yehnoonfinalarabic",64660,"yehthreedotsbelowarabic",1745,"yekorean",12630,"yen",165,"yenmonospace",65509,"yeokorean",12629,"yeorinhieuhkorean",12678,"yerahbenyomohebrew",1450,"yerahbenyomolefthebrew",1450,"yericyrillic",1099,"yerudieresiscyrillic",1273,"yesieungkorean",12673,"yesieungpansioskorean",12675,"yesieungsioskorean",12674,"yetivhebrew",1434,"ygrave",7923,"yhook",436,"yhookabove",7927,"yiarmenian",1397,"yicyrillic",1111,"yikorean",12642,"yinyang",9775,"yiwnarmenian",1410,"ymonospace",65369,"yod",1497,"yoddagesh",64313,"yoddageshhebrew",64313,"yodhebrew",1497,"yodyodhebrew",1522,"yodyodpatahhebrew",64287,"yohiragana",12424,"yoikorean",12681,"yokatakana",12520,"yokatakanahalfwidth",65430,"yokorean",12635,"yosmallhiragana",12423,"yosmallkatakana",12519,"yosmallkatakanahalfwidth",65390,"yotgreek",1011,"yoyaekorean",12680,"yoyakorean",12679,"yoyakthai",3618,"yoyingthai",3597,"yparen",9396,"ypogegrammeni",890,"ypogegrammenigreekcmb",837,"yr",422,"yring",7833,"ysuperior",696,"ytilde",7929,"yturned",654,"yuhiragana",12422,"yuikorean",12684,"yukatakana",12518,"yukatakanahalfwidth",65429,"yukorean",12640,"yusbigcyrillic",1131,"yusbigiotifiedcyrillic",1133,"yuslittlecyrillic",1127,"yuslittleiotifiedcyrillic",1129,"yusmallhiragana",12421,"yusmallkatakana",12517,"yusmallkatakanahalfwidth",65389,"yuyekorean",12683,"yuyeokorean",12682,"yyabengali",2527,"yyadeva",2399,"z",122,"zaarmenian",1382,"zacute",378,"zadeva",2395,"zagurmukhi",2651,"zaharabic",1592,"zahfinalarabic",65222,"zahinitialarabic",65223,"zahiragana",12374,"zahmedialarabic",65224,"zainarabic",1586,"zainfinalarabic",65200,"zakatakana",12470,"zaqefgadolhebrew",1429,"zaqefqatanhebrew",1428,"zarqahebrew",1432,"zayin",1494,"zayindagesh",64310,"zayindageshhebrew",64310,"zayinhebrew",1494,"zbopomofo",12567,"zcaron",382,"zcircle",9449,"zcircumflex",7825,"zcurl",657,"zdot",380,"zdotaccent",380,"zdotbelow",7827,"zecyrillic",1079,"zedescendercyrillic",1177,"zedieresiscyrillic",1247,"zehiragana",12380,"zekatakana",12476,"zero",48,"zeroarabic",1632,"zerobengali",2534,"zerodeva",2406,"zerogujarati",2790,"zerogurmukhi",2662,"zerohackarabic",1632,"zeroinferior",8320,"zeromonospace",65296,"zerooldstyle",63280,"zeropersian",1776,"zerosuperior",8304,"zerothai",3664,"zerowidthjoiner",65279,"zerowidthnonjoiner",8204,"zerowidthspace",8203,"zeta",950,"zhbopomofo",12563,"zhearmenian",1386,"zhebrevecyrillic",1218,"zhecyrillic",1078,"zhedescendercyrillic",1175,"zhedieresiscyrillic",1245,"zihiragana",12376,"zikatakana",12472,"zinorhebrew",1454,"zlinebelow",7829,"zmonospace",65370,"zohiragana",12382,"zokatakana",12478,"zparen",9397,"zretroflexhook",656,"zstroke",438,"zuhiragana",12378,"zukatakana",12474,".notdef",0,"angbracketleftbig",9001,"angbracketleftBig",9001,"angbracketleftbigg",9001,"angbracketleftBigg",9001,"angbracketrightBig",9002,"angbracketrightbig",9002,"angbracketrightBigg",9002,"angbracketrightbigg",9002,"arrowhookleft",8618,"arrowhookright",8617,"arrowlefttophalf",8636,"arrowleftbothalf",8637,"arrownortheast",8599,"arrownorthwest",8598,"arrowrighttophalf",8640,"arrowrightbothalf",8641,"arrowsoutheast",8600,"arrowsouthwest",8601,"backslashbig",8726,"backslashBig",8726,"backslashBigg",8726,"backslashbigg",8726,"bardbl",8214,"bracehtipdownleft",65079,"bracehtipdownright",65079,"bracehtipupleft",65080,"bracehtipupright",65080,"braceleftBig",123,"braceleftbig",123,"braceleftbigg",123,"braceleftBigg",123,"bracerightBig",125,"bracerightbig",125,"bracerightbigg",125,"bracerightBigg",125,"bracketleftbig",91,"bracketleftBig",91,"bracketleftbigg",91,"bracketleftBigg",91,"bracketrightBig",93,"bracketrightbig",93,"bracketrightbigg",93,"bracketrightBigg",93,"ceilingleftbig",8968,"ceilingleftBig",8968,"ceilingleftBigg",8968,"ceilingleftbigg",8968,"ceilingrightbig",8969,"ceilingrightBig",8969,"ceilingrightbigg",8969,"ceilingrightBigg",8969,"circledotdisplay",8857,"circledottext",8857,"circlemultiplydisplay",8855,"circlemultiplytext",8855,"circleplusdisplay",8853,"circleplustext",8853,"contintegraldisplay",8750,"contintegraltext",8750,"coproductdisplay",8720,"coproducttext",8720,"floorleftBig",8970,"floorleftbig",8970,"floorleftbigg",8970,"floorleftBigg",8970,"floorrightbig",8971,"floorrightBig",8971,"floorrightBigg",8971,"floorrightbigg",8971,"hatwide",770,"hatwider",770,"hatwidest",770,"intercal",7488,"integraldisplay",8747,"integraltext",8747,"intersectiondisplay",8898,"intersectiontext",8898,"logicalanddisplay",8743,"logicalandtext",8743,"logicalordisplay",8744,"logicalortext",8744,"parenleftBig",40,"parenleftbig",40,"parenleftBigg",40,"parenleftbigg",40,"parenrightBig",41,"parenrightbig",41,"parenrightBigg",41,"parenrightbigg",41,"prime",8242,"productdisplay",8719,"producttext",8719,"radicalbig",8730,"radicalBig",8730,"radicalBigg",8730,"radicalbigg",8730,"radicalbt",8730,"radicaltp",8730,"radicalvertex",8730,"slashbig",47,"slashBig",47,"slashBigg",47,"slashbigg",47,"summationdisplay",8721,"summationtext",8721,"tildewide",732,"tildewider",732,"tildewidest",732,"uniondisplay",8899,"unionmultidisplay",8846,"unionmultitext",8846,"unionsqdisplay",8852,"unionsqtext",8852,"uniontext",8899,"vextenddouble",8741,"vextendsingle",8739]}),K=(0,R.getArrayLookupTableFactory)(function(){return["space",32,"a1",9985,"a2",9986,"a202",9987,"a3",9988,"a4",9742,"a5",9990,"a119",9991,"a118",9992,"a117",9993,"a11",9755,"a12",9758,"a13",9996,"a14",9997,"a15",9998,"a16",9999,"a105",1e4,"a17",10001,"a18",10002,"a19",10003,"a20",10004,"a21",10005,"a22",10006,"a23",10007,"a24",10008,"a25",10009,"a26",10010,"a27",10011,"a28",10012,"a6",10013,"a7",10014,"a8",10015,"a9",10016,"a10",10017,"a29",10018,"a30",10019,"a31",10020,"a32",10021,"a33",10022,"a34",10023,"a35",9733,"a36",10025,"a37",10026,"a38",10027,"a39",10028,"a40",10029,"a41",10030,"a42",10031,"a43",10032,"a44",10033,"a45",10034,"a46",10035,"a47",10036,"a48",10037,"a49",10038,"a50",10039,"a51",10040,"a52",10041,"a53",10042,"a54",10043,"a55",10044,"a56",10045,"a57",10046,"a58",10047,"a59",10048,"a60",10049,"a61",10050,"a62",10051,"a63",10052,"a64",10053,"a65",10054,"a66",10055,"a67",10056,"a68",10057,"a69",10058,"a70",10059,"a71",9679,"a72",10061,"a73",9632,"a74",10063,"a203",10064,"a75",10065,"a204",10066,"a76",9650,"a77",9660,"a78",9670,"a79",10070,"a81",9687,"a82",10072,"a83",10073,"a84",10074,"a97",10075,"a98",10076,"a99",10077,"a100",10078,"a101",10081,"a102",10082,"a103",10083,"a104",10084,"a106",10085,"a107",10086,"a108",10087,"a112",9827,"a111",9830,"a110",9829,"a109",9824,"a120",9312,"a121",9313,"a122",9314,"a123",9315,"a124",9316,"a125",9317,"a126",9318,"a127",9319,"a128",9320,"a129",9321,"a130",10102,"a131",10103,"a132",10104,"a133",10105,"a134",10106,"a135",10107,"a136",10108,"a137",10109,"a138",10110,"a139",10111,"a140",10112,"a141",10113,"a142",10114,"a143",10115,"a144",10116,"a145",10117,"a146",10118,"a147",10119,"a148",10120,"a149",10121,"a150",10122,"a151",10123,"a152",10124,"a153",10125,"a154",10126,"a155",10127,"a156",10128,"a157",10129,"a158",10130,"a159",10131,"a160",10132,"a161",8594,"a163",8596,"a164",8597,"a196",10136,"a165",10137,"a192",10138,"a166",10139,"a167",10140,"a168",10141,"a169",10142,"a170",10143,"a171",10144,"a172",10145,"a173",10146,"a162",10147,"a174",10148,"a175",10149,"a176",10150,"a177",10151,"a178",10152,"a179",10153,"a193",10154,"a180",10155,"a199",10156,"a181",10157,"a200",10158,"a182",10159,"a201",10161,"a183",10162,"a184",10163,"a197",10164,"a185",10165,"a194",10166,"a198",10167,"a186",10168,"a195",10169,"a187",10170,"a188",10171,"a189",10172,"a190",10173,"a191",10174,"a89",10088,"a90",10089,"a93",10090,"a94",10091,"a91",10092,"a92",10093,"a205",10094,"a85",10095,"a206",10096,"a86",10097,"a87",10098,"a88",10099,"a95",10100,"a96",10101,".notdef",0]})},($,D,B)=>{B.r(D),B.d(D,{clearUnicodeCaches:()=>Q,getCharUnicodeCategory:()=>L,getNormalizedUnicodes:()=>he,getUnicodeForGlyph:()=>z,getUnicodeRangeFor:()=>ae,mapSpecialUnicodeValues:()=>K,reverseIfRtl:()=>J});var R=B(131);const U=(0,R.getLookupTableFactory)(function(ce){ce[63721]=169,ce[63193]=169,ce[63720]=174,ce[63194]=174,ce[63722]=8482,ce[63195]=8482,ce[63729]=9127,ce[63730]=9128,ce[63731]=9129,ce[63740]=9131,ce[63741]=9132,ce[63742]=9133,ce[63726]=9121,ce[63727]=9122,ce[63728]=9123,ce[63737]=9124,ce[63738]=9125,ce[63739]=9126,ce[63723]=9115,ce[63724]=9116,ce[63725]=9117,ce[63734]=9118,ce[63735]=9119,ce[63736]=9120});function K(ce){return ce>=65520&&ce<=65535?0:ce>=62976&&ce<=63743?U()[ce]||ce:ce===173?45:ce}function z(ce,de){let oe=de[ce];if(oe!==void 0)return oe;if(!ce)return-1;if(ce[0]==="u"){const se=ce.length;let me;if(se===7&&ce[1]==="n"&&ce[2]==="i")me=ce.substring(3);else if(se>=5&&se<=7)me=ce.substring(1);else return-1;if(me===me.toUpperCase()&&(oe=parseInt(me,16),oe>=0))return oe}return-1}const e=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];function ae(ce){for(let de=0,oe=e.length;de=se.begin&&ce=de.begin&&ce=de.begin&&ce=0;se--)oe.push(ce[se]);return oe.join("")}const X=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),W=new Map;function L(ce){const de=W.get(ce);if(de)return de;const oe=ce.match(X),se={isWhitespace:!!(oe&&oe[1]),isZeroWidthDiacritic:!!(oe&&oe[2]),isInvisibleFormatMark:!!(oe&&oe[3])};return W.set(ce,se),se}function Q(){W.clear()}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.getSerifFonts=D.getNonStdFontMap=D.getGlyphMapForStandardFonts=D.getFontNameToFileMap=void 0,D.getStandardFontName=W,D.getSymbolsFonts=D.getSupplementalGlyphMapForCalibri=D.getSupplementalGlyphMapForArialBlack=D.getStdFontMap=void 0;var R=B(131),U=B(163);const K=(0,R.getLookupTableFactory)(function(L){L["Times-Roman"]="Times-Roman",L.Helvetica="Helvetica",L.Courier="Courier",L.Symbol="Symbol",L["Times-Bold"]="Times-Bold",L["Helvetica-Bold"]="Helvetica-Bold",L["Courier-Bold"]="Courier-Bold",L.ZapfDingbats="ZapfDingbats",L["Times-Italic"]="Times-Italic",L["Helvetica-Oblique"]="Helvetica-Oblique",L["Courier-Oblique"]="Courier-Oblique",L["Times-BoldItalic"]="Times-BoldItalic",L["Helvetica-BoldOblique"]="Helvetica-BoldOblique",L["Courier-BoldOblique"]="Courier-BoldOblique",L.ArialNarrow="Helvetica",L["ArialNarrow-Bold"]="Helvetica-Bold",L["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",L["ArialNarrow-Italic"]="Helvetica-Oblique",L.ArialBlack="Helvetica",L["ArialBlack-Bold"]="Helvetica-Bold",L["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",L["ArialBlack-Italic"]="Helvetica-Oblique",L["Arial-Black"]="Helvetica",L["Arial-Black-Bold"]="Helvetica-Bold",L["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",L["Arial-Black-Italic"]="Helvetica-Oblique",L.Arial="Helvetica",L["Arial-Bold"]="Helvetica-Bold",L["Arial-BoldItalic"]="Helvetica-BoldOblique",L["Arial-Italic"]="Helvetica-Oblique",L.ArialMT="Helvetica",L["Arial-BoldItalicMT"]="Helvetica-BoldOblique",L["Arial-BoldMT"]="Helvetica-Bold",L["Arial-ItalicMT"]="Helvetica-Oblique",L.ArialUnicodeMS="Helvetica",L["ArialUnicodeMS-Bold"]="Helvetica-Bold",L["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",L["ArialUnicodeMS-Italic"]="Helvetica-Oblique",L["Courier-BoldItalic"]="Courier-BoldOblique",L["Courier-Italic"]="Courier-Oblique",L.CourierNew="Courier",L["CourierNew-Bold"]="Courier-Bold",L["CourierNew-BoldItalic"]="Courier-BoldOblique",L["CourierNew-Italic"]="Courier-Oblique",L["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",L["CourierNewPS-BoldMT"]="Courier-Bold",L["CourierNewPS-ItalicMT"]="Courier-Oblique",L.CourierNewPSMT="Courier",L["Helvetica-BoldItalic"]="Helvetica-BoldOblique",L["Helvetica-Italic"]="Helvetica-Oblique",L["Symbol-Bold"]="Symbol",L["Symbol-BoldItalic"]="Symbol",L["Symbol-Italic"]="Symbol",L.TimesNewRoman="Times-Roman",L["TimesNewRoman-Bold"]="Times-Bold",L["TimesNewRoman-BoldItalic"]="Times-BoldItalic",L["TimesNewRoman-Italic"]="Times-Italic",L.TimesNewRomanPS="Times-Roman",L["TimesNewRomanPS-Bold"]="Times-Bold",L["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",L["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",L["TimesNewRomanPS-BoldMT"]="Times-Bold",L["TimesNewRomanPS-Italic"]="Times-Italic",L["TimesNewRomanPS-ItalicMT"]="Times-Italic",L.TimesNewRomanPSMT="Times-Roman",L["TimesNewRomanPSMT-Bold"]="Times-Bold",L["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",L["TimesNewRomanPSMT-Italic"]="Times-Italic"});D.getStdFontMap=K;const z=(0,R.getLookupTableFactory)(function(L){L.Courier="FoxitFixed.pfb",L["Courier-Bold"]="FoxitFixedBold.pfb",L["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",L["Courier-Oblique"]="FoxitFixedItalic.pfb",L.Helvetica="FoxitSans.pfb",L["Helvetica-Bold"]="FoxitSansBold.pfb",L["Helvetica-BoldOblique"]="FoxitSansBoldItalic.pfb",L["Helvetica-Oblique"]="FoxitSansItalic.pfb",L["Times-Roman"]="FoxitSerif.pfb",L["Times-Bold"]="FoxitSerifBold.pfb",L["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",L["Times-Italic"]="FoxitSerifItalic.pfb",L.Symbol="FoxitSymbol.pfb",L.ZapfDingbats="FoxitDingbats.pfb",L["LiberationSans-Regular"]="LiberationSans-Regular.ttf",L["LiberationSans-Bold"]="LiberationSans-Bold.ttf",L["LiberationSans-Italic"]="LiberationSans-Italic.ttf",L["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"});D.getFontNameToFileMap=z;const e=(0,R.getLookupTableFactory)(function(L){L.Calibri="Helvetica",L["Calibri-Bold"]="Helvetica-Bold",L["Calibri-BoldItalic"]="Helvetica-BoldOblique",L["Calibri-Italic"]="Helvetica-Oblique",L.CenturyGothic="Helvetica",L["CenturyGothic-Bold"]="Helvetica-Bold",L["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",L["CenturyGothic-Italic"]="Helvetica-Oblique",L.ComicSansMS="Comic Sans MS",L["ComicSansMS-Bold"]="Comic Sans MS-Bold",L["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",L["ComicSansMS-Italic"]="Comic Sans MS-Italic",L["ItcSymbol-Bold"]="Helvetica-Bold",L["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",L["ItcSymbol-Book"]="Helvetica",L["ItcSymbol-BookItalic"]="Helvetica-Oblique",L["ItcSymbol-Medium"]="Helvetica",L["ItcSymbol-MediumItalic"]="Helvetica-Oblique",L.LucidaConsole="Courier",L["LucidaConsole-Bold"]="Courier-Bold",L["LucidaConsole-BoldItalic"]="Courier-BoldOblique",L["LucidaConsole-Italic"]="Courier-Oblique",L["LucidaSans-Demi"]="Helvetica-Bold",L["MS-Gothic"]="MS Gothic",L["MS-Gothic-Bold"]="MS Gothic-Bold",L["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",L["MS-Gothic-Italic"]="MS Gothic-Italic",L["MS-Mincho"]="MS Mincho",L["MS-Mincho-Bold"]="MS Mincho-Bold",L["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",L["MS-Mincho-Italic"]="MS Mincho-Italic",L["MS-PGothic"]="MS PGothic",L["MS-PGothic-Bold"]="MS PGothic-Bold",L["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",L["MS-PGothic-Italic"]="MS PGothic-Italic",L["MS-PMincho"]="MS PMincho",L["MS-PMincho-Bold"]="MS PMincho-Bold",L["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",L["MS-PMincho-Italic"]="MS PMincho-Italic",L.NuptialScript="Times-Italic",L.SegoeUISymbol="Helvetica",L.Wingdings="ZapfDingbats",L["Wingdings-Regular"]="ZapfDingbats"});D.getNonStdFontMap=e;const ae=(0,R.getLookupTableFactory)(function(L){L["Adobe Jenson"]=!0,L["Adobe Text"]=!0,L.Albertus=!0,L.Aldus=!0,L.Alexandria=!0,L.Algerian=!0,L["American Typewriter"]=!0,L.Antiqua=!0,L.Apex=!0,L.Arno=!0,L.Aster=!0,L.Aurora=!0,L.Baskerville=!0,L.Bell=!0,L.Bembo=!0,L["Bembo Schoolbook"]=!0,L.Benguiat=!0,L["Berkeley Old Style"]=!0,L["Bernhard Modern"]=!0,L["Berthold City"]=!0,L.Bodoni=!0,L["Bauer Bodoni"]=!0,L["Book Antiqua"]=!0,L.Bookman=!0,L["Bordeaux Roman"]=!0,L["Californian FB"]=!0,L.Calisto=!0,L.Calvert=!0,L.Capitals=!0,L.Cambria=!0,L.Cartier=!0,L.Caslon=!0,L.Catull=!0,L.Centaur=!0,L["Century Old Style"]=!0,L["Century Schoolbook"]=!0,L.Chaparral=!0,L["Charis SIL"]=!0,L.Cheltenham=!0,L["Cholla Slab"]=!0,L.Clarendon=!0,L.Clearface=!0,L.Cochin=!0,L.Colonna=!0,L["Computer Modern"]=!0,L["Concrete Roman"]=!0,L.Constantia=!0,L["Cooper Black"]=!0,L.Corona=!0,L.Ecotype=!0,L.Egyptienne=!0,L.Elephant=!0,L.Excelsior=!0,L.Fairfield=!0,L["FF Scala"]=!0,L.Folkard=!0,L.Footlight=!0,L.FreeSerif=!0,L["Friz Quadrata"]=!0,L.Garamond=!0,L.Gentium=!0,L.Georgia=!0,L.Gloucester=!0,L["Goudy Old Style"]=!0,L["Goudy Schoolbook"]=!0,L["Goudy Pro Font"]=!0,L.Granjon=!0,L["Guardian Egyptian"]=!0,L.Heather=!0,L.Hercules=!0,L["High Tower Text"]=!0,L.Hiroshige=!0,L["Hoefler Text"]=!0,L["Humana Serif"]=!0,L.Imprint=!0,L["Ionic No. 5"]=!0,L.Janson=!0,L.Joanna=!0,L.Korinna=!0,L.Lexicon=!0,L.LiberationSerif=!0,L["Liberation Serif"]=!0,L["Linux Libertine"]=!0,L.Literaturnaya=!0,L.Lucida=!0,L["Lucida Bright"]=!0,L.Melior=!0,L.Memphis=!0,L.Miller=!0,L.Minion=!0,L.Modern=!0,L["Mona Lisa"]=!0,L["Mrs Eaves"]=!0,L["MS Serif"]=!0,L["Museo Slab"]=!0,L["New York"]=!0,L["Nimbus Roman"]=!0,L["NPS Rawlinson Roadway"]=!0,L.NuptialScript=!0,L.Palatino=!0,L.Perpetua=!0,L.Plantin=!0,L["Plantin Schoolbook"]=!0,L.Playbill=!0,L["Poor Richard"]=!0,L["Rawlinson Roadway"]=!0,L.Renault=!0,L.Requiem=!0,L.Rockwell=!0,L.Roman=!0,L["Rotis Serif"]=!0,L.Sabon=!0,L.Scala=!0,L.Seagull=!0,L.Sistina=!0,L.Souvenir=!0,L.STIX=!0,L["Stone Informal"]=!0,L["Stone Serif"]=!0,L.Sylfaen=!0,L.Times=!0,L.Trajan=!0,L.Trinité=!0,L["Trump Mediaeval"]=!0,L.Utopia=!0,L["Vale Type"]=!0,L["Bitstream Vera"]=!0,L["Vera Serif"]=!0,L.Versailles=!0,L.Wanted=!0,L.Weiss=!0,L["Wide Latin"]=!0,L.Windsor=!0,L.XITS=!0});D.getSerifFonts=ae;const ie=(0,R.getLookupTableFactory)(function(L){L.Dingbats=!0,L.Symbol=!0,L.ZapfDingbats=!0});D.getSymbolsFonts=ie;const he=(0,R.getLookupTableFactory)(function(L){L[2]=10,L[3]=32,L[4]=33,L[5]=34,L[6]=35,L[7]=36,L[8]=37,L[9]=38,L[10]=39,L[11]=40,L[12]=41,L[13]=42,L[14]=43,L[15]=44,L[16]=45,L[17]=46,L[18]=47,L[19]=48,L[20]=49,L[21]=50,L[22]=51,L[23]=52,L[24]=53,L[25]=54,L[26]=55,L[27]=56,L[28]=57,L[29]=58,L[30]=894,L[31]=60,L[32]=61,L[33]=62,L[34]=63,L[35]=64,L[36]=65,L[37]=66,L[38]=67,L[39]=68,L[40]=69,L[41]=70,L[42]=71,L[43]=72,L[44]=73,L[45]=74,L[46]=75,L[47]=76,L[48]=77,L[49]=78,L[50]=79,L[51]=80,L[52]=81,L[53]=82,L[54]=83,L[55]=84,L[56]=85,L[57]=86,L[58]=87,L[59]=88,L[60]=89,L[61]=90,L[62]=91,L[63]=92,L[64]=93,L[65]=94,L[66]=95,L[67]=96,L[68]=97,L[69]=98,L[70]=99,L[71]=100,L[72]=101,L[73]=102,L[74]=103,L[75]=104,L[76]=105,L[77]=106,L[78]=107,L[79]=108,L[80]=109,L[81]=110,L[82]=111,L[83]=112,L[84]=113,L[85]=114,L[86]=115,L[87]=116,L[88]=117,L[89]=118,L[90]=119,L[91]=120,L[92]=121,L[93]=122,L[94]=123,L[95]=124,L[96]=125,L[97]=126,L[98]=196,L[99]=197,L[100]=199,L[101]=201,L[102]=209,L[103]=214,L[104]=220,L[105]=225,L[106]=224,L[107]=226,L[108]=228,L[109]=227,L[110]=229,L[111]=231,L[112]=233,L[113]=232,L[114]=234,L[115]=235,L[116]=237,L[117]=236,L[118]=238,L[119]=239,L[120]=241,L[121]=243,L[122]=242,L[123]=244,L[124]=246,L[125]=245,L[126]=250,L[127]=249,L[128]=251,L[129]=252,L[130]=8224,L[131]=176,L[132]=162,L[133]=163,L[134]=167,L[135]=8226,L[136]=182,L[137]=223,L[138]=174,L[139]=169,L[140]=8482,L[141]=180,L[142]=168,L[143]=8800,L[144]=198,L[145]=216,L[146]=8734,L[147]=177,L[148]=8804,L[149]=8805,L[150]=165,L[151]=181,L[152]=8706,L[153]=8721,L[154]=8719,L[156]=8747,L[157]=170,L[158]=186,L[159]=8486,L[160]=230,L[161]=248,L[162]=191,L[163]=161,L[164]=172,L[165]=8730,L[166]=402,L[167]=8776,L[168]=8710,L[169]=171,L[170]=187,L[171]=8230,L[200]=193,L[203]=205,L[210]=218,L[223]=711,L[224]=321,L[225]=322,L[226]=352,L[227]=353,L[228]=381,L[229]=382,L[233]=221,L[234]=253,L[252]=263,L[253]=268,L[254]=269,L[258]=258,L[260]=260,L[261]=261,L[265]=280,L[266]=281,L[267]=282,L[268]=283,L[269]=313,L[275]=323,L[276]=324,L[278]=328,L[283]=344,L[284]=345,L[285]=346,L[286]=347,L[292]=367,L[295]=377,L[296]=378,L[298]=380,L[305]=963,L[306]=964,L[307]=966,L[308]=8215,L[309]=8252,L[310]=8319,L[311]=8359,L[312]=8592,L[313]=8593,L[337]=9552,L[493]=1039,L[494]=1040,L[672]=1488,L[673]=1489,L[674]=1490,L[675]=1491,L[676]=1492,L[677]=1493,L[678]=1494,L[679]=1495,L[680]=1496,L[681]=1497,L[682]=1498,L[683]=1499,L[684]=1500,L[685]=1501,L[686]=1502,L[687]=1503,L[688]=1504,L[689]=1505,L[690]=1506,L[691]=1507,L[692]=1508,L[693]=1509,L[694]=1510,L[695]=1511,L[696]=1512,L[697]=1513,L[698]=1514,L[705]=1524,L[706]=8362,L[710]=64288,L[711]=64298,L[759]=1617,L[761]=1776,L[763]=1778,L[775]=1652,L[777]=1764,L[778]=1780,L[779]=1781,L[780]=1782,L[782]=771,L[783]=64726,L[786]=8363,L[788]=8532,L[790]=768,L[791]=769,L[792]=768,L[795]=803,L[797]=64336,L[798]=64337,L[799]=64342,L[800]=64343,L[801]=64344,L[802]=64345,L[803]=64362,L[804]=64363,L[805]=64364,L[2424]=7821,L[2425]=7822,L[2426]=7823,L[2427]=7824,L[2428]=7825,L[2429]=7826,L[2430]=7827,L[2433]=7682,L[2678]=8045,L[2679]=8046,L[2830]=1552,L[2838]=686,L[2840]=751,L[2842]=753,L[2843]=754,L[2844]=755,L[2846]=757,L[2856]=767,L[2857]=848,L[2858]=849,L[2862]=853,L[2863]=854,L[2864]=855,L[2865]=861,L[2866]=862,L[2906]=7460,L[2908]=7462,L[2909]=7463,L[2910]=7464,L[2912]=7466,L[2913]=7467,L[2914]=7468,L[2916]=7470,L[2917]=7471,L[2918]=7472,L[2920]=7474,L[2921]=7475,L[2922]=7476,L[2924]=7478,L[2925]=7479,L[2926]=7480,L[2928]=7482,L[2929]=7483,L[2930]=7484,L[2932]=7486,L[2933]=7487,L[2934]=7488,L[2936]=7490,L[2937]=7491,L[2938]=7492,L[2940]=7494,L[2941]=7495,L[2942]=7496,L[2944]=7498,L[2946]=7500,L[2948]=7502,L[2950]=7504,L[2951]=7505,L[2952]=7506,L[2954]=7508,L[2955]=7509,L[2956]=7510,L[2958]=7512,L[2959]=7513,L[2960]=7514,L[2962]=7516,L[2963]=7517,L[2964]=7518,L[2966]=7520,L[2967]=7521,L[2968]=7522,L[2970]=7524,L[2971]=7525,L[2972]=7526,L[2974]=7528,L[2975]=7529,L[2976]=7530,L[2978]=1537,L[2979]=1538,L[2980]=1539,L[2982]=1549,L[2983]=1551,L[2984]=1552,L[2986]=1554,L[2987]=1555,L[2988]=1556,L[2990]=1623,L[2991]=1624,L[2995]=1775,L[2999]=1791,L[3002]=64290,L[3003]=64291,L[3004]=64292,L[3006]=64294,L[3007]=64295,L[3008]=64296,L[3011]=1900,L[3014]=8223,L[3015]=8244,L[3017]=7532,L[3018]=7533,L[3019]=7534,L[3075]=7590,L[3076]=7591,L[3079]=7594,L[3080]=7595,L[3083]=7598,L[3084]=7599,L[3087]=7602,L[3088]=7603,L[3091]=7606,L[3092]=7607,L[3095]=7610,L[3096]=7611,L[3099]=7614,L[3100]=7615,L[3103]=7618,L[3104]=7619,L[3107]=8337,L[3108]=8338,L[3116]=1884,L[3119]=1885,L[3120]=1885,L[3123]=1886,L[3124]=1886,L[3127]=1887,L[3128]=1887,L[3131]=1888,L[3132]=1888,L[3135]=1889,L[3136]=1889,L[3139]=1890,L[3140]=1890,L[3143]=1891,L[3144]=1891,L[3147]=1892,L[3148]=1892,L[3153]=580,L[3154]=581,L[3157]=584,L[3158]=585,L[3161]=588,L[3162]=589,L[3165]=891,L[3166]=892,L[3169]=1274,L[3170]=1275,L[3173]=1278,L[3174]=1279,L[3181]=7622,L[3182]=7623,L[3282]=11799,L[3316]=578,L[3379]=42785,L[3393]=1159,L[3416]=8377});D.getGlyphMapForStandardFonts=he;const J=(0,R.getLookupTableFactory)(function(L){L[227]=322,L[264]=261,L[291]=346});D.getSupplementalGlyphMapForArialBlack=J;const X=(0,R.getLookupTableFactory)(function(L){L[1]=32,L[4]=65,L[6]=193,L[17]=66,L[18]=67,L[21]=268,L[24]=68,L[28]=69,L[30]=201,L[32]=282,L[38]=70,L[39]=71,L[44]=72,L[47]=73,L[49]=205,L[58]=74,L[60]=75,L[62]=76,L[68]=77,L[69]=78,L[75]=79,L[87]=80,L[89]=81,L[90]=82,L[92]=344,L[94]=83,L[97]=352,L[100]=84,L[104]=85,L[115]=86,L[116]=87,L[121]=88,L[122]=89,L[124]=221,L[127]=90,L[129]=381,L[258]=97,L[260]=225,L[268]=261,L[271]=98,L[272]=99,L[273]=263,L[275]=269,L[282]=100,L[286]=101,L[288]=233,L[290]=283,L[295]=281,L[296]=102,L[336]=103,L[346]=104,L[349]=105,L[351]=237,L[361]=106,L[364]=107,L[367]=108,L[371]=322,L[373]=109,L[374]=110,L[381]=111,L[383]=243,L[393]=112,L[395]=113,L[396]=114,L[398]=345,L[400]=115,L[401]=347,L[403]=353,L[410]=116,L[437]=117,L[448]=118,L[449]=119,L[454]=120,L[455]=121,L[457]=253,L[460]=122,L[462]=382,L[463]=380,L[853]=44,L[855]=58,L[856]=46,L[876]=47,L[878]=45,L[882]=45,L[894]=40,L[895]=41,L[896]=91,L[897]=93,L[923]=64,L[1004]=48,L[1005]=49,L[1006]=50,L[1007]=51,L[1008]=52,L[1009]=53,L[1010]=54,L[1011]=55,L[1012]=56,L[1013]=57,L[1081]=37,L[1085]=43,L[1086]=45});D.getSupplementalGlyphMapForCalibri=X;function W(L){const Q=(0,U.normalizeFontName)(L);return K()[Q]}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ToUnicodeMap=D.IdentityToUnicodeMap=void 0;var R=B(2);class U{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this._map=e}get length(){return this._map.length}forEach(e){for(const ae in this._map)e(ae,this._map[ae].charCodeAt(0))}has(e){return this._map[e]!==void 0}get(e){return this._map[e]}charCodeOf(e){const ae=this._map;if(ae.length<=65536)return ae.indexOf(e);for(const ie in ae)if(ae[ie]===e)return ie|0;return-1}amend(e){for(const ae in e)this._map[ae]=e[ae]}}D.ToUnicodeMap=U;class K{constructor(e,ae){this.firstChar=e,this.lastChar=ae}get length(){return this.lastChar+1-this.firstChar}forEach(e){for(let ae=this.firstChar,ie=this.lastChar;ae<=ie;ae++)e(ae,ae)}has(e){return this.firstChar<=e&&e<=this.lastChar}get(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}charCodeOf(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}amend(e){(0,R.unreachable)("Should not call amend()")}}D.IdentityToUnicodeMap=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CFFFont=void 0;var R=B(160),U=B(163),K=B(2);class z{constructor(ae,ie){this.properties=ie;const he=new R.CFFParser(ae,ie,U.SEAC_ANALYSIS_ENABLED);this.cff=he.parse(),this.cff.duplicateFirstGlyph();const J=new R.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=J.compile()}catch{(0,K.warn)("Failed to compile font "+ie.loadedName),this.data=ae}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){const ae=this.cff,ie=this.properties,he=ae.charset.charset;let J,X;if(ie.composite){J=Object.create(null);let L;if(ae.isCIDFont)for(X=0;X=0){const Q=he[L];Q&&(X[W]=Q)}}X.length>0&&(this.properties.builtInEncoding=X)}}D.CFFFont=z},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.FontRendererFactory=void 0;var R=B(2),U=B(160),K=B(164),z=B(162),e=B(135);function ae(ve,ye){return(ve[ye]<<24|ve[ye+1]<<16|ve[ye+2]<<8|ve[ye+3])>>>0}function ie(ve,ye){return ve[ye]<<8|ve[ye+1]}function he(ve,ye){return(ve[ye]<<24|ve[ye+1]<<16)>>16}function J(ve,ye){return ve[ye]<<24>>24}function X(ve,ye){return he(ve,ye)/16384}function W(ve){const ye=ve.length;let Ce=32768;return ye<1240?Ce=107:ye<33900&&(Ce=1131),Ce}function L(ve,ye,Ce){const pe=ie(ve,ye+2)===1?ae(ve,ye+8):ae(ve,ye+16),_e=ie(ve,ye+pe);let Ge,Te,Ne;if(_e===4){ie(ve,ye+pe+2);const Ze=ie(ve,ye+pe+6)>>1;for(Te=ye+pe+14,Ge=[],Ne=0;Ne2*ie(Ne,Ze));const Ge=[];let Te=_e(ye,0);for(let Ne=pe;Ne>1;Ce0;)Ke.push({flags:Ze})}for(Ue=0;Ue>1,Ie=!0;break;case 3:Ae+=Ne.length>>1,Ie=!0;break;case 4:ze+=Ne.pop(),_e(Ze,ze),Ie=!0;break;case 5:for(;Ne.length>0;)Ze+=Ne.shift(),ze+=Ne.shift(),Ge(Ze,ze);break;case 6:for(;Ne.length>0&&(Ze+=Ne.shift(),Ge(Ze,ze),Ne.length!==0);)ze+=Ne.shift(),Ge(Ze,ze);break;case 7:for(;Ne.length>0&&(ze+=Ne.shift(),Ge(Ze,ze),Ne.length!==0);)Ze+=Ne.shift(),Ge(Ze,ze);break;case 8:for(;Ne.length>0;)Ke=Ze+Ne.shift(),je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le+Ne.shift(),Te(Ke,je,Ve,Le,Ze,ze);break;case 10:if($e=Ne.pop(),Ye=null,Ce.isCFFCIDFont){const tt=Ce.fdSelect.getFDIndex(pe);if(tt>=0&&ttMath.abs(ze-ot)?Ze+=Ne.shift():ze+=Ne.shift(),Te(Ke,je,Ve,Le,Ze,ze);break;default:throw new R.FormatError(`unknown operator: 12 ${Be}`)}break;case 14:if(Ne.length>=4){const tt=Ne.pop(),ot=Ne.pop();ze=Ne.pop(),Ze=Ne.pop(),ye.push({cmd:"save"},{cmd:"translate",args:[Ze,ze]});let st=de(Ce.cmap,String.fromCharCode(Ce.glyphNameMap[z.StandardEncoding[tt]]));se(Ce.glyphs[st.glyphId],ye,Ce,st.glyphId),ye.push({cmd:"restore"}),st=de(Ce.cmap,String.fromCharCode(Ce.glyphNameMap[z.StandardEncoding[ot]])),se(Ce.glyphs[st.glyphId],ye,Ce,st.glyphId)}return;case 18:Ae+=Ne.length>>1,Ie=!0;break;case 19:Ae+=Ne.length>>1,we+=Ae+7>>3,Ie=!0;break;case 20:Ae+=Ne.length>>1,we+=Ae+7>>3,Ie=!0;break;case 21:ze+=Ne.pop(),Ze+=Ne.pop(),_e(Ze,ze),Ie=!0;break;case 22:Ze+=Ne.pop(),_e(Ze,ze),Ie=!0;break;case 23:Ae+=Ne.length>>1,Ie=!0;break;case 24:for(;Ne.length>2;)Ke=Ze+Ne.shift(),je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le+Ne.shift(),Te(Ke,je,Ve,Le,Ze,ze);Ze+=Ne.shift(),ze+=Ne.shift(),Ge(Ze,ze);break;case 25:for(;Ne.length>6;)Ze+=Ne.shift(),ze+=Ne.shift(),Ge(Ze,ze);Ke=Ze+Ne.shift(),je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le+Ne.shift(),Te(Ke,je,Ve,Le,Ze,ze);break;case 26:for(Ne.length%2&&(Ze+=Ne.shift());Ne.length>0;)Ke=Ze,je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve,ze=Le+Ne.shift(),Te(Ke,je,Ve,Le,Ze,ze);break;case 27:for(Ne.length%2&&(ze+=Ne.shift());Ne.length>0;)Ke=Ze+Ne.shift(),je=ze,Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le,Te(Ke,je,Ve,Le,Ze,ze);break;case 28:Ne.push((Ue[we]<<24|Ue[we+1]<<16)>>16),we+=2;break;case 29:$e=Ne.pop()+Ce.gsubrsBias,Ye=Ce.gsubrs[$e],Ye&&De(Ye);break;case 30:for(;Ne.length>0&&(Ke=Ze,je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le+(Ne.length===1?Ne.shift():0),Te(Ke,je,Ve,Le,Ze,ze),Ne.length!==0);)Ke=Ze+Ne.shift(),je=ze,Ve=Ke+Ne.shift(),Le=je+Ne.shift(),ze=Le+Ne.shift(),Ze=Ve+(Ne.length===1?Ne.shift():0),Te(Ke,je,Ve,Le,Ze,ze);break;case 31:for(;Ne.length>0&&(Ke=Ze+Ne.shift(),je=ze,Ve=Ke+Ne.shift(),Le=je+Ne.shift(),ze=Le+Ne.shift(),Ze=Ve+(Ne.length===1?Ne.shift():0),Te(Ke,je,Ve,Le,Ze,ze),Ne.length!==0);)Ke=Ze,je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le+(Ne.length===1?Ne.shift():0),Te(Ke,je,Ve,Le,Ze,ze);break;default:if(Be<32)throw new R.FormatError(`unknown operator: ${Be}`);Be<247?Ne.push(Be-139):Be<251?Ne.push((Be-247)*256+Ue[we++]+108):Be<255?Ne.push(-(Be-251)*256-Ue[we++]-108):(Ne.push((Ue[we]<<24|Ue[we+1]<<16|Ue[we+2]<<8|Ue[we+3])/65536),we+=4);break}Ie&&(Ne.length=0)}}De(ve)}const me=[];class Ee{constructor(ye){this.constructor===Ee&&(0,R.unreachable)("Cannot initialize CompiledFont."),this.fontMatrix=ye,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}getPathJs(ye){const{charCode:Ce,glyphId:pe}=de(this.cmap,ye);let _e=this.compiledGlyphs[pe];if(!_e)try{_e=this.compileGlyph(this.glyphs[pe],pe),this.compiledGlyphs[pe]=_e}catch(Ge){throw this.compiledGlyphs[pe]=me,this.compiledCharCodeToGlyphId[Ce]===void 0&&(this.compiledCharCodeToGlyphId[Ce]=pe),Ge}return this.compiledCharCodeToGlyphId[Ce]===void 0&&(this.compiledCharCodeToGlyphId[Ce]=pe),_e}compileGlyph(ye,Ce){if(!ye||ye.length===0||ye[0]===14)return me;let pe=this.fontMatrix;if(this.isCFFCIDFont){const Ge=this.fdSelect.getFDIndex(Ce);Ge>=0&&Ge{Object.defineProperty(D,"__esModule",{value:!0}),D.getMetrics=D.getFontBasicMetrics=void 0;var R=B(131);const U=(0,R.getLookupTableFactory)(function(z){z.Courier=600,z["Courier-Bold"]=600,z["Courier-BoldOblique"]=600,z["Courier-Oblique"]=600,z.Helvetica=(0,R.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),z["Helvetica-Bold"]=(0,R.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),z["Helvetica-BoldOblique"]=(0,R.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),z["Helvetica-Oblique"]=(0,R.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),z.Symbol=(0,R.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790}),z["Times-Roman"]=(0,R.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),z["Times-Bold"]=(0,R.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),z["Times-BoldItalic"]=(0,R.getLookupTableFactory)(function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),z["Times-Italic"]=(0,R.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),z.ZapfDingbats=(0,R.getLookupTableFactory)(function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918})});D.getMetrics=U;const K=(0,R.getLookupTableFactory)(function(z){z.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},z["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},z["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},z["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},z.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},z["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},z["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},z["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},z["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},z["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},z["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},z["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},z.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},z.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}});D.getFontBasicMetrics=K},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.GlyfTable=void 0;const B=1,R=2,U=4,K=8,z=16,e=32,ae=64,ie=1,he=2,J=8,X=32,W=64,L=128,Q=256;class ce{constructor(xe){let{glyfTable:fe,isGlyphLocationsLong:ve,locaTable:ye,numGlyphs:Ce}=xe;this.glyphs=[];const pe=new DataView(ye.buffer,ye.byteOffset,ye.byteLength),_e=new DataView(fe.buffer,fe.byteOffset,fe.byteLength),Ge=ve?4:2;let Te=ve?pe.getUint32(0):2*pe.getUint16(0),Ne=0;for(let Ze=0;Ze{const ve=fe.getSize();return xe+(ve+3&-4)},0)}write(){const xe=this.getSize(),fe=new DataView(new ArrayBuffer(xe)),ve=xe>131070,ye=ve?4:2,Ce=new DataView(new ArrayBuffer((this.glyphs.length+1)*ye));ve?Ce.setUint32(0,0):Ce.setUint16(0,0);let pe=0,_e=0;for(const Ge of this.glyphs)pe+=Ge.write(pe,fe),pe=pe+3&-4,_e+=ye,ve?Ce.setUint32(_e,pe):Ce.setUint16(_e,pe>>1);return{isLocationLong:ve,loca:new Uint8Array(Ce.buffer),glyf:new Uint8Array(fe.buffer)}}scale(xe){for(let fe=0,ve=this.glyphs.length;fefe+ve.getSize(),0);return this.header.getSize()+xe}write(xe,fe){if(!this.header)return 0;const ve=xe;if(xe+=this.header.write(xe,fe),this.simple)xe+=this.simple.write(xe,fe);else for(const ye of this.composites)xe+=ye.write(xe,fe);return xe-ve}scale(xe){if(!this.header)return;const fe=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(fe,xe),this.simple)this.simple.scale(fe,xe);else for(const ve of this.composites)ve.scale(fe,xe)}}class oe{constructor(xe){let{numberOfContours:fe,xMin:ve,yMin:ye,xMax:Ce,yMax:pe}=xe;this.numberOfContours=fe,this.xMin=ve,this.yMin=ye,this.xMax=Ce,this.yMax=pe}static parse(xe,fe){return[10,new oe({numberOfContours:fe.getInt16(xe),xMin:fe.getInt16(xe+2),yMin:fe.getInt16(xe+4),xMax:fe.getInt16(xe+6),yMax:fe.getInt16(xe+8)})]}getSize(){return 10}write(xe,fe){return fe.setInt16(xe,this.numberOfContours),fe.setInt16(xe+2,this.xMin),fe.setInt16(xe+4,this.yMin),fe.setInt16(xe+6,this.xMax),fe.setInt16(xe+8,this.yMax),10}scale(xe,fe){this.xMin=Math.round(xe+(this.xMin-xe)*fe),this.xMax=Math.round(xe+(this.xMax-xe)*fe)}}class se{constructor(xe){let{flags:fe,xCoordinates:ve,yCoordinates:ye}=xe;this.xCoordinates=ve,this.yCoordinates=ye,this.flags=fe}}class me{constructor(xe){let{contours:fe,instructions:ve}=xe;this.contours=fe,this.instructions=ve}static parse(xe,fe,ve){const ye=[];for(let we=0;we255?xe+=2:Te>0&&(xe+=1),fe=_e,Te=Math.abs(Ge-ve),Te>255?xe+=2:Te>0&&(xe+=1),ve=Ge}}return xe}write(xe,fe){const ve=xe,ye=[],Ce=[],pe=[];let _e=0,Ge=0;for(const Te of this.contours){for(let Ne=0,Ze=Te.xCoordinates.length;Ne=0?R|z:R,ye.push(we)):ye.push(De)}_e=Ae;const Ue=Te.yCoordinates[Ne];if(De=Ue-Ge,De===0)ze|=e,Ce.push(0);else{const we=Math.abs(De);we<=255?(ze|=De>=0?U|e:U,Ce.push(we)):Ce.push(De)}Ge=Ue,pe.push(ze)}fe.setUint16(xe,ye.length-1),xe+=2}fe.setUint16(xe,this.instructions.length),xe+=2,this.instructions.length&&(new Uint8Array(fe.buffer,0,fe.buffer.byteLength).set(this.instructions,xe),xe+=this.instructions.length);for(const Te of pe)fe.setUint8(xe++,Te);for(let Te=0,Ne=ye.length;Te=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(xe+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(xe+=2),xe}write(xe,fe){const ve=xe;return this.flags&he?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=ie):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=ie),fe.setUint16(xe,this.flags),fe.setUint16(xe+2,this.glyphIndex),xe+=4,this.flags&ie?(this.flags&he?(fe.setInt16(xe,this.argument1),fe.setInt16(xe+2,this.argument2)):(fe.setUint16(xe,this.argument1),fe.setUint16(xe+2,this.argument2)),xe+=4):(fe.setUint8(xe,this.argument1),fe.setUint8(xe+1,this.argument2),xe+=2),this.flags&Q&&(fe.setUint16(xe,this.instructions.length),xe+=2,this.instructions.length&&(new Uint8Array(fe.buffer,0,fe.buffer.byteLength).set(this.instructions,xe),xe+=this.instructions.length)),xe-ve}scale(xe,fe){}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.OpenTypeFileBuilder=void 0;var R=B(131),U=B(2);function K(J,X,W){J[X]=W>>8&255,J[X+1]=W&255}function z(J,X,W){J[X]=W>>24&255,J[X+1]=W>>16&255,J[X+2]=W>>8&255,J[X+3]=W&255}function e(J,X,W){if(W instanceof Uint8Array)J.set(W,X);else if(typeof W=="string")for(let L=0,Q=W.length;LL;)L<<=1,Q++;const ce=L*W;return{range:ce,entry:Q,rangeShift:W*X-ce}}toArray(){let X=this.sfnt;const W=this.tables,L=Object.keys(W);L.sort();const Q=L.length;let ce,de,oe,se,me,Ee=ae+Q*ie;const ke=[Ee];for(ce=0;ce>>0;Ee+=ve,ke.push(Ee)}const xe=new Uint8Array(Ee);for(ce=0;ce>>0}z(xe,Ee+4,ve),z(xe,Ee+8,ke[ce]),z(xe,Ee+12,W[me].length),Ee+=ie}return xe}addTable(X,W){if(X in this.tables)throw new Error("Table "+X+" already exists");this.tables[X]=W}}D.OpenTypeFileBuilder=he},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Type1Font=void 0;var R=B(160),U=B(163),K=B(131),z=B(135),e=B(174),ae=B(2);function ie(W,L,Q){const ce=W.length,de=L.length,oe=ce-de;let se=Q,me=!1;for(;se=de){for(se+=Ee;se=0&&(de[me]=oe)}return(0,U.type1FontGlyphMapping)(L,de,ce)}hasGlyphId(L){return L<0||L>=this.numGlyphs?!1:L===0?!0:this.charstrings[L-1].charstring.length>0}getSeacs(L){const Q=[];for(let ce=0,de=L.length;ce0;Ze--)Ne[Ze]-=Ne[Ze-1];Ce.setByName(Te,Ne)}se.topDict.privateDict=Ce;const _e=new R.CFFIndex;for(fe=0,ve=de.length;fe{Object.defineProperty(D,"__esModule",{value:!0}),D.Type1Parser=void 0;var R=B(162),U=B(131),K=B(135),z=B(2);const e=!1,ae={hstem:[1],vstem:[3],vmoveto:[4],rlineto:[5],hlineto:[6],vlineto:[7],rrcurveto:[8],callsubr:[10],flex:[12,35],drop:[12,18],endchar:[14],rmoveto:[21],hmoveto:[22],vhcurveto:[30],hvcurveto:[31]};class ie{constructor(){this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}convert(oe,se,me){const Ee=oe.length;let ke=!1,xe,fe,ve;for(let ye=0;yeEe)return!0;const ke=Ee-oe;for(let xe=ke;xe>8&255,fe&255):(fe=65536*fe|0,this.output.push(255,fe>>24&255,fe>>16&255,fe>>8&255,fe&255))}return this.output.push(...se),me?this.stack.splice(ke,oe):this.stack.length=0,!1}}const he=55665,J=4330;function X(de){return de>=48&&de<=57||de>=65&&de<=70||de>=97&&de<=102}function W(de,oe,se){if(se>=de.length)return new Uint8Array(0);const me=52845,Ee=22719;let ke=oe|0,xe,fe;for(xe=0;xe>8,ke=(Ce+ke)*me+Ee&65535}return ye}function L(de,oe,se){let ke=oe|0;const xe=de.length,fe=xe>>>1,ve=new Uint8Array(fe);let ye,Ce;for(ye=0,Ce=0;ye>8,ke=(Ge+ke)*52845+22719&65535}}return ve.slice(se,Ce)}function Q(de){return de===47||de===91||de===93||de===123||de===125||de===40||de===41}class ce{constructor(oe,se,me){if(se){const Ee=oe.getBytes(),ke=!((X(Ee[0])||(0,U.isWhiteSpace)(Ee[0]))&&X(Ee[1])&&X(Ee[2])&&X(Ee[3])&&X(Ee[4])&&X(Ee[5])&&X(Ee[6])&&X(Ee[7]));oe=new K.Stream(ke?W(Ee,he,4):L(Ee,he,4))}this.seacAnalysisEnabled=!!me,this.stream=oe,this.nextChar()}readNumberArray(){this.getToken();const oe=[];for(;;){const se=this.getToken();if(se===null||se==="]"||se==="}")break;oe.push(parseFloat(se||0))}return oe}readNumber(){const oe=this.getToken();return parseFloat(oe||0)}readInt(){const oe=this.getToken();return parseInt(oe||0,10)|0}readBoolean(){return this.getToken()==="true"?1:0}nextChar(){return this.currentChar=this.stream.getByte()}prevChar(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}getToken(){let oe=!1,se=this.currentChar;for(;;){if(se===-1)return null;if(oe)(se===10||se===13)&&(oe=!1);else if(se===37)oe=!0;else if(!(0,U.isWhiteSpace)(se))break;se=this.nextChar()}if(Q(se))return this.nextChar(),String.fromCharCode(se);let me="";do me+=String.fromCharCode(se),se=this.nextChar();while(se>=0&&!(0,U.isWhiteSpace)(se)&&!Q(se));return me}readCharStrings(oe,se){return se===-1?oe:W(oe,J,se)}extractFontProgram(oe){const se=this.stream,me=[],Ee=[],ke=Object.create(null);ke.lenIV=4;const xe={subrs:[],charstrings:[],properties:{privateData:ke}};let fe,ve,ye,Ce;for(;(fe=this.getToken())!==null;)if(fe==="/")switch(fe=this.getToken(),fe){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();fe=this.getToken(),!(fe===null||fe==="end");){if(fe!=="/")continue;const _e=this.getToken();ve=this.readInt(),this.getToken(),ye=ve>0?se.getBytes(ve):new Uint8Array(0),Ce=xe.properties.privateData.lenIV;const Ge=this.readCharStrings(ye,Ce);this.nextChar(),fe=this.getToken(),fe==="noaccess"?this.getToken():fe==="/"&&this.prevChar(),Ee.push({glyph:_e,encoded:Ge})}break;case"Subrs":for(this.readInt(),this.getToken();this.getToken()==="dup";){const _e=this.readInt();ve=this.readInt(),this.getToken(),ye=ve>0?se.getBytes(ve):new Uint8Array(0),Ce=xe.properties.privateData.lenIV;const Ge=this.readCharStrings(ye,Ce);this.nextChar(),fe=this.getToken(),fe==="noaccess"&&this.getToken(),me[_e]=Ge}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":const pe=this.readNumberArray();pe.length>0&&pe.length%2===0&&e&&(xe.properties.privateData[fe]=pe);break;case"StemSnapH":case"StemSnapV":xe.properties.privateData[fe]=this.readNumberArray();break;case"StdHW":case"StdVW":xe.properties.privateData[fe]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":case"ExpansionFactor":xe.properties.privateData[fe]=this.readNumber();break;case"ForceBold":xe.properties.privateData[fe]=this.readBoolean();break}for(const{encoded:pe,glyph:_e}of Ee){const Ge=new ie,Te=Ge.convert(pe,me,this.seacAnalysisEnabled);let Ne=Ge.output;Te&&(Ne=[14]);const Ze={glyphName:_e,charstring:Ne,width:Ge.width,lsb:Ge.lsb,seac:Ge.seac};if(_e===".notdef"?xe.charstrings.unshift(Ze):xe.charstrings.push(Ze),oe.builtInEncoding){const ze=oe.builtInEncoding.indexOf(_e);ze>-1&&oe.widths[ze]===void 0&&ze>=oe.firstChar&&ze<=oe.lastChar&&(oe.widths[ze]=Ge.width)}}return xe}extractFontHeader(oe){let se;for(;(se=this.getToken())!==null;)if(se==="/")switch(se=this.getToken(),se){case"FontMatrix":const me=this.readNumberArray();oe.fontMatrix=me;break;case"Encoding":const Ee=this.getToken();let ke;if(!/^\d+$/.test(Ee))ke=(0,R.getEncoding)(Ee);else{ke=[];const fe=parseInt(Ee,10)|0;this.getToken();for(let ve=0;ve{Object.defineProperty(D,"__esModule",{value:!0}),D.Pattern=void 0,D.getTilingPatternIR=Q;var R=B(2),U=B(132),K=B(139),z=B(131);const e={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7};class ae{constructor(){(0,R.unreachable)("Cannot initialize Pattern.")}static parseShading(de,oe,se,me,Ee,ke){const xe=de instanceof U.BaseStream?de.dict:de,fe=xe.get("ShadingType");try{switch(fe){case e.AXIAL:case e.RADIAL:return new he(xe,oe,se,Ee,ke);case e.FREE_FORM_MESH:case e.LATTICE_FORM_MESH:case e.COONS_PATCH_MESH:case e.TENSOR_PATCH_MESH:return new W(de,oe,se,Ee,ke);default:throw new R.FormatError("Unsupported ShadingType: "+fe)}}catch(ve){if(ve instanceof z.MissingDataException)throw ve;return me.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.shadingPattern}),(0,R.warn)(ve),new L}}}D.Pattern=ae;class ie{static get SMALL_NUMBER(){return(0,R.shadow)(this,"SMALL_NUMBER",1e-6)}constructor(){this.constructor===ie&&(0,R.unreachable)("Cannot initialize BaseShading.")}getIR(){(0,R.unreachable)("Abstract method `getIR` called.")}}class he extends ie{constructor(de,oe,se,me,Ee){super(),this.coordsArr=de.getArray("Coords"),this.shadingType=de.get("ShadingType");const ke=K.ColorSpace.parse({cs:de.getRaw("CS")||de.getRaw("ColorSpace"),xref:oe,resources:se,pdfFunctionFactory:me,localColorSpaceCache:Ee}),xe=de.getArray("BBox");Array.isArray(xe)&&xe.length===4?this.bbox=R.Util.normalizeRect(xe):this.bbox=null;let fe=0,ve=1;if(de.has("Domain")){const Ue=de.getArray("Domain");fe=Ue[0],ve=Ue[1]}let ye=!1,Ce=!1;if(de.has("Extend")){const Ue=de.getArray("Extend");ye=Ue[0],Ce=Ue[1]}if(this.shadingType===e.RADIAL&&(!ye||!Ce)){const[Ue,we,Ie,Be,Ke,Ve]=this.coordsArr,je=Math.hypot(Ue-Be,we-Ke);Ie<=Ve+je&&Ve<=Ie+je&&(0,R.warn)("Unsupported radial gradient.")}this.extendStart=ye,this.extendEnd=Ce;const pe=de.getRaw("Function"),_e=me.createFromArray(pe),Ge=10,Te=(ve-fe)/Ge,Ne=this.colorStops=[];if(fe>=ve||Te<=0){(0,R.info)("Bad shading domain.");return}const Ze=new Float32Array(ke.numComps),ze=new Float32Array(1);let Ae;for(let Ue=0;Ue<=Ge;Ue++){ze[0]=fe+Ue*Te,_e(ze,0,Ze,0),Ae=ke.getRgb(Ze,0);const we=R.Util.makeHexColor(Ae[0],Ae[1],Ae[2]);Ne.push([Ue/Ge,we])}let De="transparent";de.has("Background")&&(Ae=ke.getRgb(de.get("Background"),0),De=R.Util.makeHexColor(Ae[0],Ae[1],Ae[2])),ye||(Ne.unshift([0,De]),Ne[1][0]+=ie.SMALL_NUMBER),Ce||(Ne.at(-1)[0]-=ie.SMALL_NUMBER,Ne.push([1,De])),this.colorStops=Ne}getIR(){const de=this.coordsArr,oe=this.shadingType;let se,me,Ee,ke,xe;return oe===e.AXIAL?(me=[de[0],de[1]],Ee=[de[2],de[3]],ke=null,xe=null,se="axial"):oe===e.RADIAL?(me=[de[0],de[1]],Ee=[de[3],de[4]],ke=de[2],xe=de[5],se="radial"):(0,R.unreachable)(`getPattern type unknown: ${oe}`),["RadialAxial",se,this.bbox,this.colorStops,me,Ee,ke,xe]}}class J{constructor(de,oe){this.stream=de,this.context=oe,this.buffer=0,this.bufferLength=0;const se=oe.numComps;this.tmpCompsBuf=new Float32Array(se);const me=oe.colorSpace.numComps;this.tmpCsCompsBuf=oe.colorFn?new Float32Array(me):this.tmpCompsBuf}get hasData(){if(this.stream.end)return this.stream.pos0)return!0;const de=this.stream.getByte();return de<0?!1:(this.buffer=de,this.bufferLength=8,!0)}readBits(de){let oe=this.buffer,se=this.bufferLength;if(de===32){if(se===0)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;oe=oe<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();const me=this.stream.getByte();return this.buffer=me&(1<>se)>>>0}if(de===8&&se===0)return this.stream.getByte();for(;se>se}align(){this.buffer=0,this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){const de=this.context.bitsPerCoordinate,oe=this.readBits(de),se=this.readBits(de),me=this.context.decode,Ee=de<32?1/((1<xe?xe:de,oe=oe>fe?fe:oe,se=se{Object.defineProperty(D,"__esModule",{value:!0}),D.getXfaFontDict=L,D.getXfaFontName=X;var R=B(177),U=B(130),K=B(178),z=B(179),e=B(180),ae=B(181),ie=B(131),he=B(163);const J=(0,ie.getLookupTableFactory)(function(Q){Q["MyriadPro-Regular"]=Q["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:e.MyriadProRegularFactors,baseWidths:z.LiberationSansRegularWidths,baseMapping:z.LiberationSansRegularMapping,metrics:e.MyriadProRegularMetrics},Q["MyriadPro-Bold"]=Q["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:e.MyriadProBoldFactors,baseWidths:z.LiberationSansBoldWidths,baseMapping:z.LiberationSansBoldMapping,metrics:e.MyriadProBoldMetrics},Q["MyriadPro-It"]=Q["MyriadPro-Italic"]=Q["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:e.MyriadProItalicFactors,baseWidths:z.LiberationSansItalicWidths,baseMapping:z.LiberationSansItalicMapping,metrics:e.MyriadProItalicMetrics},Q["MyriadPro-BoldIt"]=Q["MyriadPro-BoldItalic"]=Q["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:e.MyriadProBoldItalicFactors,baseWidths:z.LiberationSansBoldItalicWidths,baseMapping:z.LiberationSansBoldItalicMapping,metrics:e.MyriadProBoldItalicMetrics},Q.ArialMT=Q.Arial=Q["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:z.LiberationSansRegularWidths,baseMapping:z.LiberationSansRegularMapping},Q["Arial-BoldMT"]=Q["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:z.LiberationSansBoldWidths,baseMapping:z.LiberationSansBoldMapping},Q["Arial-ItalicMT"]=Q["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:z.LiberationSansItalicWidths,baseMapping:z.LiberationSansItalicMapping},Q["Arial-BoldItalicMT"]=Q["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:z.LiberationSansBoldItalicWidths,baseMapping:z.LiberationSansBoldItalicMapping},Q["Calibri-Regular"]={name:"LiberationSans-Regular",factors:R.CalibriRegularFactors,baseWidths:z.LiberationSansRegularWidths,baseMapping:z.LiberationSansRegularMapping,metrics:R.CalibriRegularMetrics},Q["Calibri-Bold"]={name:"LiberationSans-Bold",factors:R.CalibriBoldFactors,baseWidths:z.LiberationSansBoldWidths,baseMapping:z.LiberationSansBoldMapping,metrics:R.CalibriBoldMetrics},Q["Calibri-Italic"]={name:"LiberationSans-Italic",factors:R.CalibriItalicFactors,baseWidths:z.LiberationSansItalicWidths,baseMapping:z.LiberationSansItalicMapping,metrics:R.CalibriItalicMetrics},Q["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:R.CalibriBoldItalicFactors,baseWidths:z.LiberationSansBoldItalicWidths,baseMapping:z.LiberationSansBoldItalicMapping,metrics:R.CalibriBoldItalicMetrics},Q["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:ae.SegoeuiRegularFactors,baseWidths:z.LiberationSansRegularWidths,baseMapping:z.LiberationSansRegularMapping,metrics:ae.SegoeuiRegularMetrics},Q["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:ae.SegoeuiBoldFactors,baseWidths:z.LiberationSansBoldWidths,baseMapping:z.LiberationSansBoldMapping,metrics:ae.SegoeuiBoldMetrics},Q["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:ae.SegoeuiItalicFactors,baseWidths:z.LiberationSansItalicWidths,baseMapping:z.LiberationSansItalicMapping,metrics:ae.SegoeuiItalicMetrics},Q["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:ae.SegoeuiBoldItalicFactors,baseWidths:z.LiberationSansBoldItalicWidths,baseMapping:z.LiberationSansBoldItalicMapping,metrics:ae.SegoeuiBoldItalicMetrics},Q["Helvetica-Regular"]=Q.Helvetica={name:"LiberationSans-Regular",factors:K.HelveticaRegularFactors,baseWidths:z.LiberationSansRegularWidths,baseMapping:z.LiberationSansRegularMapping,metrics:K.HelveticaRegularMetrics},Q["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:K.HelveticaBoldFactors,baseWidths:z.LiberationSansBoldWidths,baseMapping:z.LiberationSansBoldMapping,metrics:K.HelveticaBoldMetrics},Q["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:K.HelveticaItalicFactors,baseWidths:z.LiberationSansItalicWidths,baseMapping:z.LiberationSansItalicMapping,metrics:K.HelveticaItalicMetrics},Q["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:K.HelveticaBoldItalicFactors,baseWidths:z.LiberationSansBoldItalicWidths,baseMapping:z.LiberationSansBoldItalicMapping,metrics:K.HelveticaBoldItalicMetrics}});function X(Q){const ce=(0,he.normalizeFontName)(Q);return J()[ce]}function W(Q){const ce=X(Q);if(!ce)return null;const{baseWidths:de,baseMapping:oe,factors:se}=ce;let me;se?me=de.map((fe,ve)=>fe*se[ve]):me=de;let Ee=-2,ke;const xe=[];for(const[fe,ve]of oe.map((ye,Ce)=>[ye,Ce]).sort((ye,Ce)=>{let[pe]=ye,[_e]=Ce;return pe-_e}))fe!==-1&&(fe===Ee+1?(ke.push(me[ve]),Ee+=1):(Ee=fe,ke=[me[ve]],xe.push(fe,ke)));return xe}function L(Q){const ce=W(Q),de=new U.Dict(null);de.set("BaseFont",U.Name.get(Q)),de.set("Type",U.Name.get("Font")),de.set("Subtype",U.Name.get("CIDFontType2")),de.set("Encoding",U.Name.get("Identity-H")),de.set("CIDToGIDMap",U.Name.get("Identity")),de.set("W",ce),de.set("FirstChar",ce[0]),de.set("LastChar",ce.at(-2)+ce.at(-1).length-1);const oe=new U.Dict(null);de.set("FontDescriptor",oe);const se=new U.Dict(null);return se.set("Ordering","Identity"),se.set("Registry","Adobe"),se.set("Supplement",0),de.set("CIDSystemInfo",se),de}},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CalibriRegularMetrics=D.CalibriRegularFactors=D.CalibriItalicMetrics=D.CalibriItalicFactors=D.CalibriBoldMetrics=D.CalibriBoldItalicMetrics=D.CalibriBoldItalicFactors=D.CalibriBoldFactors=void 0;const B=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.CalibriBoldFactors=B;const R={lineHeight:1.2207,lineGap:.2207};D.CalibriBoldMetrics=R;const U=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.CalibriBoldItalicFactors=U;const K={lineHeight:1.2207,lineGap:.2207};D.CalibriBoldItalicMetrics=K;const z=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.CalibriItalicFactors=z;const e={lineHeight:1.2207,lineGap:.2207};D.CalibriItalicMetrics=e;const ae=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1];D.CalibriRegularFactors=ae;const ie={lineHeight:1.2207,lineGap:.2207};D.CalibriRegularMetrics=ie},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.HelveticaRegularMetrics=D.HelveticaRegularFactors=D.HelveticaItalicMetrics=D.HelveticaItalicFactors=D.HelveticaBoldMetrics=D.HelveticaBoldItalicMetrics=D.HelveticaBoldItalicFactors=D.HelveticaBoldFactors=void 0;const B=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];D.HelveticaBoldFactors=B;const R={lineHeight:1.2,lineGap:.2};D.HelveticaBoldMetrics=R;const U=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];D.HelveticaBoldItalicFactors=U;const K={lineHeight:1.35,lineGap:.2};D.HelveticaBoldItalicMetrics=K;const z=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];D.HelveticaItalicFactors=z;const e={lineHeight:1.35,lineGap:.2};D.HelveticaItalicMetrics=e;const ae=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.HelveticaRegularFactors=ae;const ie={lineHeight:1.2,lineGap:.2};D.HelveticaRegularMetrics=ie},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.LiberationSansRegularWidths=D.LiberationSansRegularMapping=D.LiberationSansItalicWidths=D.LiberationSansItalicMapping=D.LiberationSansBoldWidths=D.LiberationSansBoldMapping=D.LiberationSansBoldItalicWidths=D.LiberationSansBoldItalicMapping=void 0;const B=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333];D.LiberationSansBoldWidths=B;const R=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];D.LiberationSansBoldMapping=R;const U=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333];D.LiberationSansBoldItalicWidths=U;const K=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];D.LiberationSansBoldItalicMapping=K;const z=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285];D.LiberationSansItalicWidths=z;const e=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];D.LiberationSansItalicMapping=e;const ae=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285];D.LiberationSansRegularWidths=ae;const ie=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];D.LiberationSansRegularMapping=ie},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.MyriadProRegularMetrics=D.MyriadProRegularFactors=D.MyriadProItalicMetrics=D.MyriadProItalicFactors=D.MyriadProBoldMetrics=D.MyriadProBoldItalicMetrics=D.MyriadProBoldItalicFactors=D.MyriadProBoldFactors=void 0;const B=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.16161,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.MyriadProBoldFactors=B;const R={lineHeight:1.2,lineGap:.2};D.MyriadProBoldMetrics=R;const U=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.20006,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.MyriadProBoldItalicFactors=U;const K={lineHeight:1.2,lineGap:.2};D.MyriadProBoldItalicMetrics=K;const z=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.MyriadProItalicFactors=z;const e={lineHeight:1.2,lineGap:.2};D.MyriadProItalicMetrics=e;const ae=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05638,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.MyriadProRegularFactors=ae;const ie={lineHeight:1.2,lineGap:.2};D.MyriadProRegularMetrics=ie},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.SegoeuiRegularMetrics=D.SegoeuiRegularFactors=D.SegoeuiItalicMetrics=D.SegoeuiItalicFactors=D.SegoeuiBoldMetrics=D.SegoeuiBoldItalicMetrics=D.SegoeuiBoldItalicFactors=D.SegoeuiBoldFactors=void 0;const B=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.SegoeuiBoldFactors=B;const R={lineHeight:1.33008,lineGap:0};D.SegoeuiBoldMetrics=R;const U=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.SegoeuiBoldItalicFactors=U;const K={lineHeight:1.33008,lineGap:0};D.SegoeuiBoldItalicMetrics=K;const z=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.SegoeuiItalicFactors=z;const e={lineHeight:1.33008,lineGap:0};D.SegoeuiItalicMetrics=e;const ae=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1];D.SegoeuiRegularFactors=ae;const ie={lineHeight:1.33008,lineGap:0};D.SegoeuiRegularMetrics=ie},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PostScriptEvaluator=D.PostScriptCompiler=D.PDFFunctionFactory=void 0,D.isPDFFunction=J;var R=B(130),U=B(2),K=B(183),z=B(132),e=B(184);class ae{constructor(pe){let{xref:_e,isEvalSupported:Ge=!0}=pe;this.xref=_e,this.isEvalSupported=Ge!==!1}create(pe){const _e=this.getCached(pe);if(_e)return _e;const Ge=he.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:pe instanceof R.Ref?this.xref.fetch(pe):pe});return this._cache(pe,Ge),Ge}createFromArray(pe){const _e=this.getCached(pe);if(_e)return _e;const Ge=he.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:pe instanceof R.Ref?this.xref.fetch(pe):pe});return this._cache(pe,Ge),Ge}getCached(pe){let _e;if(pe instanceof R.Ref?_e=pe:pe instanceof R.Dict?_e=pe.objId:pe instanceof z.BaseStream&&(_e=pe.dict&&pe.dict.objId),_e){const Ge=this._localFunctionCache.getByRef(_e);if(Ge)return Ge}return null}_cache(pe,_e){if(!_e)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');let Ge;pe instanceof R.Ref?Ge=pe:pe instanceof R.Dict?Ge=pe.objId:pe instanceof z.BaseStream&&(Ge=pe.dict&&pe.dict.objId),Ge&&this._localFunctionCache.set(null,Ge,_e)}get _localFunctionCache(){return(0,U.shadow)(this,"_localFunctionCache",new e.LocalFunctionCache)}}D.PDFFunctionFactory=ae;function ie(Ce){if(!Array.isArray(Ce))return null;const pe=Ce.length;for(let _e=0;_e>De)*we,Ue&=(1<mt?dt=mt:dt0&&($e=De[Fe-1]);let Ye=Ne[1];Fe>1,Ie=Ze.length>>1,Be=new W(Ue),Ke=Object.create(null);let je=2048*4;const Le=new Float32Array(Ie);return function(Qe,Fe,$e,Ye){let tt,ot,st="";const dt=Le;for(tt=0;ttHe&&(ot=He)),mt[tt]=ot}je>0&&(je--,Ke[st]=mt),$e.set(mt,Ye)}}}function J(Ce){let pe;if(typeof Ce!="object")return!1;if(Ce instanceof R.Dict)pe=Ce;else if(Ce instanceof z.BaseStream)pe=Ce.dict;else return!1;return pe.has("FunctionType")}class X{static get MAX_STACK_SIZE(){return(0,U.shadow)(this,"MAX_STACK_SIZE",100)}constructor(pe){this.stack=pe?Array.prototype.slice.call(pe,0):[]}push(pe){if(this.stack.length>=X.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(pe)}pop(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}copy(pe){if(this.stack.length+pe>=X.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");const _e=this.stack;for(let Ge=_e.length-pe,Te=pe-1;Te>=0;Te--,Ge++)_e.push(_e[Ge])}index(pe){this.push(this.stack[this.stack.length-pe-1])}roll(pe,_e){const Ge=this.stack,Te=Ge.length-pe,Ne=Ge.length-1,Ze=Te+(_e-Math.floor(_e/pe)*pe);for(let ze=Te,Ae=Ne;ze0?_e.push(ze<>Ae);break;case"ceiling":ze=_e.pop(),_e.push(Math.ceil(ze));break;case"copy":ze=_e.pop(),_e.copy(ze);break;case"cos":ze=_e.pop(),_e.push(Math.cos(ze));break;case"cvi":ze=_e.pop()|0,_e.push(ze);break;case"cvr":break;case"div":Ae=_e.pop(),ze=_e.pop(),_e.push(ze/Ae);break;case"dup":_e.copy(1);break;case"eq":Ae=_e.pop(),ze=_e.pop(),_e.push(ze===Ae);break;case"exch":_e.roll(2,1);break;case"exp":Ae=_e.pop(),ze=_e.pop(),_e.push(ze**Ae);break;case"false":_e.push(!1);break;case"floor":ze=_e.pop(),_e.push(Math.floor(ze));break;case"ge":Ae=_e.pop(),ze=_e.pop(),_e.push(ze>=Ae);break;case"gt":Ae=_e.pop(),ze=_e.pop(),_e.push(ze>Ae);break;case"idiv":Ae=_e.pop(),ze=_e.pop(),_e.push(ze/Ae|0);break;case"index":ze=_e.pop(),_e.index(ze);break;case"le":Ae=_e.pop(),ze=_e.pop(),_e.push(ze<=Ae);break;case"ln":ze=_e.pop(),_e.push(Math.log(ze));break;case"log":ze=_e.pop(),_e.push(Math.log(ze)/Math.LN10);break;case"lt":Ae=_e.pop(),ze=_e.pop(),_e.push(ze=pe?new ce(pe):Ce.max<=pe?Ce:new oe(Ce,pe)}class ye{compile(pe,_e,Ge){const Te=[],Ne=[],Ze=_e.length>>1,ze=Ge.length>>1;let Ae=0,De,Ue,we,Ie,Be,Ke,Ve,je;for(let et=0;etFe.min&&(ot.unshift("Math.max(",Ye,", "),ot.push(")")),tt{Object.defineProperty(D,"__esModule",{value:!0}),D.PostScriptParser=D.PostScriptLexer=void 0;var R=B(2),U=B(130),K=B(131);class z{constructor(J){this.lexer=J,this.operators=[],this.token=null,this.prev=null}nextToken(){this.prev=this.token,this.token=this.lexer.getToken()}accept(J){return this.token.type===J?(this.nextToken(),!0):!1}expect(J){if(this.accept(J))return!0;throw new R.FormatError(`Unexpected symbol: found ${this.token.type} expected ${J}.`)}parse(){return this.nextToken(),this.expect(e.LBRACE),this.parseBlock(),this.expect(e.RBRACE),this.operators}parseBlock(){for(;;)if(this.accept(e.NUMBER))this.operators.push(this.prev.value);else if(this.accept(e.OPERATOR))this.operators.push(this.prev.value);else if(this.accept(e.LBRACE))this.parseCondition();else return}parseCondition(){const J=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(e.RBRACE),this.accept(e.IF))this.operators[J]=this.operators.length,this.operators[J+1]="jz";else if(this.accept(e.LBRACE)){const X=this.operators.length;this.operators.push(null,null);const W=this.operators.length;this.parseBlock(),this.expect(e.RBRACE),this.expect(e.IFELSE),this.operators[X]=this.operators.length,this.operators[X+1]="j",this.operators[J]=W,this.operators[J+1]="jz"}else throw new R.FormatError("PS Function: error parsing conditional.")}}D.PostScriptParser=z;const e={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5};class ae{static get opCache(){return(0,R.shadow)(this,"opCache",Object.create(null))}constructor(J,X){this.type=J,this.value=X}static getOperator(J){const X=ae.opCache[J];return X||(ae.opCache[J]=new ae(e.OPERATOR,J))}static get LBRACE(){return(0,R.shadow)(this,"LBRACE",new ae(e.LBRACE,"{"))}static get RBRACE(){return(0,R.shadow)(this,"RBRACE",new ae(e.RBRACE,"}"))}static get IF(){return(0,R.shadow)(this,"IF",new ae(e.IF,"IF"))}static get IFELSE(){return(0,R.shadow)(this,"IFELSE",new ae(e.IFELSE,"IFELSE"))}}class ie{constructor(J){this.stream=J,this.nextChar(),this.strBuf=[]}nextChar(){return this.currentChar=this.stream.getByte()}getToken(){let J=!1,X=this.currentChar;for(;;){if(X<0)return U.EOF;if(J)(X===10||X===13)&&(J=!1);else if(X===37)J=!0;else if(!(0,K.isWhiteSpace)(X))break;X=this.nextChar()}switch(X|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new ae(e.NUMBER,this.getNumber());case 123:return this.nextChar(),ae.LBRACE;case 125:return this.nextChar(),ae.RBRACE}const W=this.strBuf;for(W.length=0,W[0]=String.fromCharCode(X);(X=this.nextChar())>=0&&(X>=65&&X<=90||X>=97&&X<=122);)W.push(String.fromCharCode(X));const L=W.join("");switch(L.toLowerCase()){case"if":return ae.IF;case"ifelse":return ae.IFELSE;default:return ae.getOperator(L)}}getNumber(){let J=this.currentChar;const X=this.strBuf;for(X.length=0,X[0]=String.fromCharCode(J);(J=this.nextChar())>=0&&(J>=48&&J<=57||J===45||J===46);)X.push(String.fromCharCode(J));const W=parseFloat(X.join(""));if(isNaN(W))throw new R.FormatError(`Invalid floating point number: ${W}`);return W}}D.PostScriptLexer=ie},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.LocalTilingPatternCache=D.LocalImageCache=D.LocalGStateCache=D.LocalFunctionCache=D.LocalColorSpaceCache=D.GlobalImageCache=void 0;var R=B(2),U=B(130);class K{constructor(W){this.constructor===K&&(0,R.unreachable)("Cannot initialize BaseLocalCache."),this._onlyRefs=(W&&W.onlyRefs)===!0,this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new U.RefSetCache}getByName(W){this._onlyRefs&&(0,R.unreachable)("Should not call `getByName` method.");const L=this._nameRefMap.get(W);return L?this.getByRef(L):this._imageMap.get(W)||null}getByRef(W){return this._imageCache.get(W)||null}set(W,L,Q){(0,R.unreachable)("Abstract method `set` called.")}}class z extends K{set(W){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Q=arguments.length>2?arguments[2]:void 0;if(typeof W!="string")throw new Error('LocalImageCache.set - expected "name" argument.');if(L){if(this._imageCache.has(L))return;this._nameRefMap.set(W,L),this._imageCache.put(L,Q);return}this._imageMap.has(W)||this._imageMap.set(W,Q)}}D.LocalImageCache=z;class e extends K{set(){let W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Q=arguments.length>2?arguments[2]:void 0;if(typeof W!="string"&&!L)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(L){if(this._imageCache.has(L))return;W!==null&&this._nameRefMap.set(W,L),this._imageCache.put(L,Q);return}this._imageMap.has(W)||this._imageMap.set(W,Q)}}D.LocalColorSpaceCache=e;class ae extends K{constructor(W){super({onlyRefs:!0})}set(){let W=arguments.length>1?arguments[1]:void 0,L=arguments.length>2?arguments[2]:void 0;if(!W)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(W)||this._imageCache.put(W,L)}}D.LocalFunctionCache=ae;class ie extends K{set(W){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Q=arguments.length>2?arguments[2]:void 0;if(typeof W!="string")throw new Error('LocalGStateCache.set - expected "name" argument.');if(L){if(this._imageCache.has(L))return;this._nameRefMap.set(W,L),this._imageCache.put(L,Q);return}this._imageMap.has(W)||this._imageMap.set(W,Q)}}D.LocalGStateCache=ie;class he extends K{constructor(W){super({onlyRefs:!0})}set(){let W=arguments.length>1?arguments[1]:void 0,L=arguments.length>2?arguments[2]:void 0;if(!W)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(W)||this._imageCache.put(W,L)}}D.LocalTilingPatternCache=he;class J{static get NUM_PAGES_THRESHOLD(){return(0,R.shadow)(this,"NUM_PAGES_THRESHOLD",2)}static get MIN_IMAGES_TO_CACHE(){return(0,R.shadow)(this,"MIN_IMAGES_TO_CACHE",10)}static get MAX_BYTE_SIZE(){return(0,R.shadow)(this,"MAX_BYTE_SIZE",4e7)}constructor(){this._refCache=new U.RefSetCache,this._imageCache=new U.RefSetCache}get _byteSize(){let W=0;for(const L of this._imageCache)W+=L.byteSize;return W}get _cacheLimitReached(){return!(this._imageCache.size0&&arguments[0]!==void 0?arguments[0]:!1)||this._refCache.clear(),this._imageCache.clear()}}D.GlobalImageCache=J},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.bidi=L;var R=B(2);const U=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],K=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function z(Q){return(Q&1)!==0}function e(Q){return(Q&1)===0}function ae(Q,ce,de){let oe,se;for(oe=ce,se=Q.length;oe2&&arguments[2]!==void 0?arguments[2]:!1,oe="ltr";return de?oe="ttb":ce||(oe="rtl"),{str:Q,dir:oe}}const X=[],W=[];function L(Q){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,oe=!0;const se=Q.length;if(se===0||de)return J(Q,oe,de);X.length=se,W.length=se;let me=0,Ee,ke;for(Ee=0;Ee4?(oe=!0,ce=0):(oe=!1,ce=1));const xe=[];for(Ee=0;Ee=0&&W[Ne]==="ET";--Ne)W[Ne]="EN";for(let Ne=Ee+1;Ne0&&(Ze=W[Ee-1]);let ze=ye;Ne+1Te&&z(Te)&&(Ge=Te);for(Te=_e;Te>=Ge;--Te){let Ne=-1;for(Ee=0,ke=xe.length;Ee=0&&(he(X,Ne,Ee),Ne=-1):Ne<0&&(Ne=Ee);Ne>=0&&he(X,Ne,xe.length)}for(Ee=0,ke=X.length;Ee")&&(X[Ee]="")}return J(X.join(""),oe)}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.MurmurHash3_64=void 0;var R=B(2);const U=3285377520,K=4294901760,z=65535;class e{constructor(ie){this.h1=ie?ie&4294967295:U,this.h2=ie?ie&4294967295:U}update(ie){let he,J;if(typeof ie=="string"){he=new Uint8Array(ie.length*2),J=0;for(let xe=0,fe=ie.length;xe>>8,he[J++]=ve&255)}}else if((0,R.isArrayBuffer)(ie))he=ie.slice(),J=he.byteLength;else throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");const X=J>>2,W=J-X*4,L=new Uint32Array(he.buffer,0,X);let Q=0,ce=0,de=this.h1,oe=this.h2;const se=3432918353,me=461845907,Ee=se&z,ke=me&z;for(let xe=0;xe>>17,Q=Q*me&K|Q*ke&z,de^=Q,de=de<<13|de>>>19,de=de*5+3864292196):(ce=L[xe],ce=ce*se&K|ce*Ee&z,ce=ce<<15|ce>>>17,ce=ce*me&K|ce*ke&z,oe^=ce,oe=oe<<13|oe>>>19,oe=oe*5+3864292196);switch(Q=0,W){case 3:Q^=he[X*4+2]<<16;case 2:Q^=he[X*4+1]<<8;case 1:Q^=he[X*4],Q=Q*se&K|Q*Ee&z,Q=Q<<15|Q>>>17,Q=Q*me&K|Q*ke&z,X&1?de^=Q:oe^=Q}this.h1=de,this.h2=oe}hexdigest(){let ie=this.h1,he=this.h2;ie^=he>>>1,ie=ie*3981806797&K|ie*36045&z,he=he*4283543511&K|((he<<16|ie>>>16)*2950163797&K)>>>16,ie^=he>>>1,ie=ie*444984403&K|ie*60499&z,he=he*3301882366&K|((he<<16|ie>>>16)*3120437893&K)>>>16,ie^=he>>>1;const J=(ie>>>0).toString(16),X=(he>>>0).toString(16);return J.padStart(8,"0")+X.padStart(8,"0")}}D.MurmurHash3_64=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.OperatorList=void 0;var R=B(2);function U(ie,he,J,X,W){let L=ie;for(let Q=0,ce=he.length-1;Q1e3&&(xe=Math.max(xe,ye),Ce+=ve+2,ye=0,ve=0),fe.push({transform:Ze,x:ye,y:Ce,w:ze.width,h:ze.height}),ye+=ze.width+2,ve=Math.max(ve,ze.height)}const pe=Math.max(xe,ye)+1,_e=Ce+ve+1,Ge=new Uint8Array(pe*_e*4),Te=pe<<2;for(let Ne=0;Ne=0;)Ze[De-4]=Ze[De],Ze[De-3]=Ze[De+1],Ze[De-2]=Ze[De+2],Ze[De-1]=Ze[De+3],Ze[De+ze]=Ze[De+ze-4],Ze[De+ze+1]=Ze[De+ze-3],Ze[De+ze+2]=Ze[De+ze-2],Ze[De+ze+3]=Ze[De+ze-1],De-=Te}return ce.splice(se,ke*4,R.OPS.paintInlineImageXObjectGroup),de.splice(se,ke*4,[{width:pe,height:_e,kind:R.ImageKind.RGBA_32BPP,data:Ge},fe]),se+1}),U(K,[R.OPS.save,R.OPS.transform,R.OPS.paintImageMaskXObject,R.OPS.restore],null,function(he,J){const X=he.fnArray,W=he.iCurr-3,L=(J-W)%4;switch(L){case 0:return X[J]===R.OPS.save;case 1:return X[J]===R.OPS.transform;case 2:return X[J]===R.OPS.paintImageMaskXObject;case 3:return X[J]===R.OPS.restore}throw new Error(`iterateImageMaskGroup - invalid pos: ${L}`)},function(he,J){const Q=he.fnArray,ce=he.argsArray,de=he.iCurr,oe=de-3,se=de-2,me=de-1;let Ee=Math.floor((J-oe)/4);if(Ee<10)return J-(J-oe)%4;let ke=!1,xe,fe;const ve=ce[me][0],ye=ce[se][0],Ce=ce[se][1],pe=ce[se][2],_e=ce[se][3];if(Ce===pe){ke=!0,xe=se+4;let Ge=me+4;for(let Te=1;Te=4&&W[ce-4]===W[de]&&W[ce-3]===W[oe]&&W[ce-2]===W[se]&&W[ce-1]===W[me]&&L[ce-4][0]===Ee&&L[ce-4][1]===ke&&(xe++,fe-=5);let ve=fe+4;for(let ye=1;ye=X)break}if(W=(W||K)[he[J]],!W||Array.isArray(W)){J++;continue}if(Q.iCurr=J,J++,W.checkFn&&!(0,W.checkFn)(Q)){W=null;continue}L=W,W=null}this.state=W,this.match=L,this.lastProcessed=J}flush(){for(;this.match;){const he=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,he),this.match=null,this.state=null,this._optimize()}}reset(){this.state=null,this.match=null,this.lastProcessed=0}}class ae{static get CHUNK_SIZE(){return(0,R.shadow)(this,"CHUNK_SIZE",1e3)}static get CHUNK_SIZE_ABOUT(){return(0,R.shadow)(this,"CHUNK_SIZE_ABOUT",this.CHUNK_SIZE-5)}constructor(){let he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,J=arguments.length>1?arguments[1]:void 0;this._streamSink=J,this.fnArray=[],this.argsArray=[],J&&!(he&R.RenderingIntentFlag.OPLIST)?this.optimizer=new e(this):this.optimizer=new z(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=J?null:Promise.resolve()}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}get totalLength(){return this._totalLength+this.length}addOp(he,J){this.optimizer.push(he,J),this.weight++,this._streamSink&&(this.weight>=ae.CHUNK_SIZE?this.flush():this.weight>=ae.CHUNK_SIZE_ABOUT&&(he===R.OPS.restore||he===R.OPS.endText)&&this.flush())}addImageOps(he,J,X){X!==void 0&&this.addOp(R.OPS.beginMarkedContentProps,["OC",X]),this.addOp(he,J),X!==void 0&&this.addOp(R.OPS.endMarkedContent,[])}addDependency(he){this.dependencies.has(he)||(this.dependencies.add(he),this.addOp(R.OPS.dependency,[he]))}addDependencies(he){for(const J of he)this.addDependency(J)}addOpList(he){if(!(he instanceof ae)){(0,R.warn)('addOpList - ignoring invalid "opList" parameter.');return}for(const J of he.dependencies)this.dependencies.add(J);for(let J=0,X=he.length;J0&&arguments[0]!==void 0?arguments[0]:!1,J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.optimizer.flush();const X=this.length;this._totalLength+=X,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:he,separateAnnots:J,length:X},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}D.OperatorList=ae},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFImage=void 0;var R=B(2),U=B(189),K=B(132),z=B(139),e=B(144),ae=B(152),ie=B(155),he=B(130);function J(L,Q,ce,de){return L=Q+L*ce,L<0?L=0:L>de&&(L=de),L}function X(L,Q,ce,de,oe,se){const me=oe*se;let Ee;Q<=8?Ee=new Uint8Array(me):Q<=16?Ee=new Uint16Array(me):Ee=new Uint32Array(me);const ke=ce/oe,xe=de/se;let fe,ve,ye,Ce=0,pe;const _e=new Uint16Array(oe),Ge=ce;for(fe=0;fe0&&Number.isInteger(oe.height)&&oe.height>0&&(oe.width!==pe||oe.height!==_e)&&((0,R.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),pe=oe.width,_e=oe.height),pe<1||_e<1)throw new R.FormatError(`Invalid image width: ${pe} or height: ${_e}`);this.width=pe,this.height=_e,this.interpolate=ve.get("I","Interpolate"),this.imageMask=ve.get("IM","ImageMask")||!1,this.matte=ve.get("Matte")||!1;let Ge=oe.bitsPerComponent;if(!Ge&&(Ge=ve.get("BPC","BitsPerComponent"),!Ge))if(this.imageMask)Ge=1;else throw new R.FormatError(`Bits per component missing in image: ${this.imageMask}`);if(this.bpc=Ge,!this.imageMask){let Te=ve.getRaw("CS")||ve.getRaw("ColorSpace");if(!Te)switch((0,R.info)("JPX images (which do not require color spaces)"),oe.numComps){case 1:Te=he.Name.get("DeviceGray");break;case 3:Te=he.Name.get("DeviceRGB");break;case 4:Te=he.Name.get("DeviceCMYK");break;default:throw new Error(`JPX images with ${oe.numComps} color components not supported.`)}this.colorSpace=z.ColorSpace.parse({cs:Te,xref:ce,resources:se?de:null,pdfFunctionFactory:xe,localColorSpaceCache:fe}),this.numComps=this.colorSpace.numComps}if(this.decode=ve.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,Ge)||ke&&!z.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;const Te=(1<>3)*oe,xe=ce.byteLength,fe=ke===xe;let ve,ye;if(se&&(!me||fe)?ve=ce:me?(ve=new Uint8Array(ke),ve.set(ce),ve.fill(255,xe)):ve=new Uint8Array(ce),me)for(ye=0;ye>7&1,ke[ve+1]=Ce>>6&1,ke[ve+2]=Ce>>5&1,ke[ve+3]=Ce>>4&1,ke[ve+4]=Ce>>3&1,ke[ve+5]=Ce>>2&1,ke[ve+6]=Ce>>1&1,ke[ve+7]=Ce&1,ve+=8;if(ve>=1}}else{let pe=0;for(Ce=0,ve=0,ye=me;ve>_e;Ge<0?Ge=0:Ge>fe&&(Ge=fe),ke[ve]=Ge,Ce&=(1<<_e)-1,pe=_e}}return ke}fillOpacity(Q,ce,de,oe,se){const me=this.smask,Ee=this.mask;let ke,xe,fe,ve,ye,Ce;if(me)xe=me.width,fe=me.height,ke=new Uint8ClampedArray(xe*fe),me.fillGrayBuffer(ke),(xe!==ce||fe!==de)&&(ke=X(ke,me.bpc,xe,fe,ce,de));else if(Ee)if(Ee instanceof W){for(xe=Ee.width,fe=Ee.height,ke=new Uint8ClampedArray(xe*fe),Ee.numComps=1,Ee.fillGrayBuffer(ke),ve=0,ye=xe*fe;veEe[Ne+1]){_e=255;break}}ke[ve]=_e}}else throw new R.FormatError("Unknown mask format.");if(ke)for(ve=0,Ce=3,ye=ce*oe;ve0&&arguments[0]!==void 0?arguments[0]:!1;const ce=this.drawWidth,de=this.drawHeight,oe={width:ce,height:de,interpolate:this.interpolate,kind:0,data:null},se=this.numComps,me=this.width,Ee=this.height,ke=this.bpc,xe=me*se*ke+7>>3;if(!Q){let _e;if(this.colorSpace.name==="DeviceGray"&&ke===1?_e=R.ImageKind.GRAYSCALE_1BPP:this.colorSpace.name==="DeviceRGB"&&ke===8&&!this.needsDecode&&(_e=R.ImageKind.RGB_24BPP),_e&&!this.smask&&!this.mask&&ce===me&&de===Ee){if(oe.kind=_e,oe.data=this.getImageBytes(Ee*xe,{}),this.needsDecode){(0,R.assert)(_e===R.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");const Ge=oe.data;for(let Te=0,Ne=Ge.length;Te>3,Ee=this.getImageBytes(oe*me,{internal:!0}),ke=this.getComponents(Ee);let xe,fe;if(se===1){if(fe=de*oe,this.needsDecode)for(xe=0;xe{Object.defineProperty(D,"__esModule",{value:!0}),D.applyMaskImageData=U;var R=B(2);function U(K){let{src:z,srcPos:e=0,dest:ae,destPos:ie=0,width:he,height:J,inverseDecode:X=!1}=K;const W=R.FeatureTest.isLittleEndian?4278190080:255,[L,Q]=X?[0,W]:[W,0],ce=he>>3,de=he&7,oe=z.length;ae=new Uint32Array(ae.buffer);for(let se=0;se{Object.defineProperty(D,"__esModule",{value:!0}),D.incrementalUpdate=se,D.writeDict=he,D.writeObject=ie;var R=B(2),U=B(130),K=B(131),z=B(191),e=B(132),ae=B(192);function ie(me,Ee,ke,xe){ke.push(`${me.num} ${me.gen} obj +`),Nt=new z.Dict($e);if(Nt.set("FormType",1),Nt.set("Subtype",z.Name.get("Form")),Nt.set("Type",z.Name.get("XObject")),Nt.set("BBox",[0,0,St,bt]),Nt.set("Length",Pt.length),st){const Wt=fe._getRotationMatrix(st,St,bt);Nt.set("Matrix",Wt)}if(mt!==1){const Wt=new z.Dict($e),Mt=new z.Dict($e),$t=new z.Dict($e);$t.set("CA",mt),$t.set("Type",z.Name.get("ExtGState")),Mt.set("R0",$t),Wt.set("ExtGState",Mt),Nt.set("Resources",Wt)}const Vt=new Q.StringStream(Pt);return Vt.dict=Nt,Vt}}class Be extends xe{constructor(Ue){if(super(Ue),this.data.annotationType=R.AnnotationType.HIGHLIGHT,this.data.quadPoints=oe(Ue.dict,null)){const Ye=this.appearance&&this.appearance.dict.get("Resources");if(!this.appearance||!(Ye&&Ye.has("ExtGState"))){this.appearance&&(0,R.warn)("HighlightAnnotation - ignoring built-in appearance stream.");const tt=this.color?Array.from(this.color).map(st=>st/255):[1,1,0],ot=Ue.dict.get("CA");this._setDefaultAppearance({xref:Ue.xref,fillColor:tt,blendMode:"Multiply",fillAlpha:ot,pointsCallback:(st,dt)=>(st.push(`${dt[0].x} ${dt[0].y} m`,`${dt[1].x} ${dt[1].y} l`,`${dt[3].x} ${dt[3].y} l`,`${dt[2].x} ${dt[2].y} l`,"f"),[dt[0].x,dt[1].x,dt[3].y,dt[1].y])})}}else this.data.hasPopup=!1}}class Ke extends xe{constructor(Ue){if(super(Ue),this.data.annotationType=R.AnnotationType.UNDERLINE,this.data.quadPoints=oe(Ue.dict,null)){if(!this.appearance){const Ye=this.color?Array.from(this.color).map(ot=>ot/255):[0,0,0],tt=Ue.dict.get("CA");this._setDefaultAppearance({xref:Ue.xref,extra:"[] 0 d 1 w",strokeColor:Ye,strokeAlpha:tt,pointsCallback:(ot,st)=>(ot.push(`${st[2].x} ${st[2].y} m`,`${st[3].x} ${st[3].y} l`,"S"),[st[0].x,st[1].x,st[3].y,st[1].y])})}}else this.data.hasPopup=!1}}class Ve extends xe{constructor(Ue){if(super(Ue),this.data.annotationType=R.AnnotationType.SQUIGGLY,this.data.quadPoints=oe(Ue.dict,null)){if(!this.appearance){const Ye=this.color?Array.from(this.color).map(ot=>ot/255):[0,0,0],tt=Ue.dict.get("CA");this._setDefaultAppearance({xref:Ue.xref,extra:"[] 0 d 1 w",strokeColor:Ye,strokeAlpha:tt,pointsCallback:(ot,st)=>{const dt=(st[0].y-st[2].y)/6;let ct=dt,mt=st[2].x;const ut=st[2].y,rt=st[3].x;ot.push(`${mt} ${ut+ct} m`);do mt+=2,ct=ct===0?dt:0,ot.push(`${mt} ${ut+ct} l`);while(mtot/255):[0,0,0],tt=Ue.dict.get("CA");this._setDefaultAppearance({xref:Ue.xref,extra:"[] 0 d 1 w",strokeColor:Ye,strokeAlpha:tt,pointsCallback:(ot,st)=>(ot.push(`${(st[0].x+st[2].x)/2} ${(st[0].y+st[2].y)/2} m`,`${(st[1].x+st[3].x)/2} ${(st[1].y+st[3].y)/2} l`,"S"),[st[0].x,st[1].x,st[3].y,st[1].y])})}}else this.data.hasPopup=!1}}class Le extends xe{constructor(Ue){super(Ue),this.data.annotationType=R.AnnotationType.STAMP}}class et extends xe{constructor(Ue){super(Ue);const $e=new W.FileSpec(Ue.dict.get("FS"),Ue.xref);this.data.annotationType=R.AnnotationType.FILEATTACHMENT,this.data.file=$e.serializable}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.createDefaultAppearance=W,D.getPdfColor=J,D.parseDefaultAppearance=he;var R=B(131),U=B(2),K=B(139),z=B(140),e=B(130),ae=B(135);class ie extends z.EvaluatorPreprocessor{constructor(L){super(new ae.StringStream(L))}parse(){const L={fn:0,args:[]},Q={fontSize:0,fontName:"",fontColor:new Uint8ClampedArray(3)};try{for(;L.args.length=0,!!this.read(L);){if(this.savedStatesDepth!==0)continue;const{fn:ce,args:de}=L;switch(ce|0){case U.OPS.setFont:const[se,oe]=de;se instanceof e.Name&&(Q.fontName=se.name),typeof oe=="number"&&oe>0&&(Q.fontSize=oe);break;case U.OPS.setFillRGBColor:K.ColorSpace.singletons.rgb.getRgbItem(de,0,Q.fontColor,0);break;case U.OPS.setFillGray:K.ColorSpace.singletons.gray.getRgbItem(de,0,Q.fontColor,0);break;case U.OPS.setFillColorSpace:K.ColorSpace.singletons.cmyk.getRgbItem(de,0,Q.fontColor,0);break}}}catch(ce){(0,U.warn)(`parseDefaultAppearance - ignoring errors: "${ce}".`)}return Q}}function he(X){return new ie(X).parse()}function J(X,L){if(X[0]===X[1]&&X[1]===X[2]){const Q=X[0]/255;return`${(0,R.numberToString)(Q)} ${L?"g":"G"}`}return Array.from(X).map(Q=>(0,R.numberToString)(Q/255)).join(" ")+` ${L?"rg":"RG"}`}function W(X){let{fontSize:L,fontName:Q,fontColor:ce}=X;return`/${(0,R.escapePDFName)(Q)} ${L} Tf ${J(ce,!0)}`}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ColorSpace=void 0;var R=B(2),U=B(130),K=B(132),z=B(131);function e(se,oe,me,Ee,ke,xe,fe){fe=fe!==1?0:fe;const ye=me/ke,Ce=Ee/xe;let pe=0,_e;const Ge=new Uint16Array(ke),Ae=me*3;for(let Ne=0;NeGe&&this.name!=="DeviceGray"&&this.name!=="DeviceRGB"){const Ne=ve<=8?new Uint8Array(Ge):new Uint16Array(Ge);for(let ze=0;ze2&&arguments[2]!==void 0?arguments[2]:null,ke=arguments.length>3?arguments[3]:void 0;if(oe=me.fetchIfRef(oe),oe instanceof U.Name)switch(oe.name){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"Pattern":return new he(null);default:if(Ee instanceof U.Dict){const xe=Ee.get("ColorSpace");if(xe instanceof U.Dict){const fe=xe.get(oe.name);if(fe){if(fe instanceof U.Name)return this._parse(fe,me,Ee,ke);oe=fe;break}}}throw new R.FormatError(`Unrecognized ColorSpace: ${oe.name}`)}if(Array.isArray(oe)){const xe=me.fetchIfRef(oe[0]).name;let fe,ve,ye,Ce,pe,_e;switch(xe){case"G":case"DeviceGray":return this.singletons.gray;case"RGB":case"DeviceRGB":return this.singletons.rgb;case"CMYK":case"DeviceCMYK":return this.singletons.cmyk;case"CalGray":return fe=me.fetchIfRef(oe[1]),Ce=fe.getArray("WhitePoint"),pe=fe.getArray("BlackPoint"),_e=fe.get("Gamma"),new Q(Ce,pe,_e);case"CalRGB":fe=me.fetchIfRef(oe[1]),Ce=fe.getArray("WhitePoint"),pe=fe.getArray("BlackPoint"),_e=fe.getArray("Gamma");const Ge=fe.getArray("Matrix");return new ce(Ce,pe,_e,Ge);case"ICCBased":const Ne=me.fetchIfRef(oe[1]).dict;ve=Ne.get("N");const Ze=Ne.get("Alternate");if(Ze){const Ie=this._parse(Ze,me,Ee,ke);if(Ie.numComps===ve)return Ie;(0,R.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(ve===1)return this.singletons.gray;if(ve===3)return this.singletons.rgb;if(ve===4)return this.singletons.cmyk;break;case"Pattern":return ye=oe[1]||null,ye&&(ye=this._parse(ye,me,Ee,ke)),new he(ye);case"I":case"Indexed":ye=this._parse(oe[1],me,Ee,ke);const ze=me.fetchIfRef(oe[2])+1,Te=me.fetchIfRef(oe[3]);return new J(ye,ze,Te);case"Separation":case"DeviceN":const Fe=me.fetchIfRef(oe[1]);ve=Array.isArray(Fe)?Fe.length:1,ye=this._parse(oe[2],me,Ee,ke);const Pe=ke.create(oe[3]);return new ie(ve,ye,Pe);case"Lab":fe=me.fetchIfRef(oe[1]),Ce=fe.getArray("WhitePoint"),pe=fe.getArray("BlackPoint");const we=fe.getArray("Range");return new de(Ce,pe,we);default:throw new R.FormatError(`Unimplemented ColorSpace object: ${xe}`)}}throw new R.FormatError(`Unrecognized ColorSpace object: ${oe}`)}static isDefaultDecode(oe,me){if(!Array.isArray(oe))return!0;if(me*2!==oe.length)return(0,R.warn)("The decode map is not the correct length"),!0;for(let Ee=0,ke=oe.length;Ee=.99554525?1:Ae(0,1,(1+.055)*we**(1/2.4)-.055)}function Ae(we,Ie,Be){return Math.max(we,Math.min(Ie,Be))}function Ne(we){return we<0?-Ne(-we):we>8?((we+16)/116)**3:we*ye}function Ze(we,Ie,Be){if(we[0]===0&&we[1]===0&&we[2]===0){Be[0]=Ie[0],Be[1]=Ie[1],Be[2]=Ie[2];return}const Ke=Ne(0),Ve=Ke,je=Ne(we[0]),Le=Ke,et=Ne(we[1]),Qe=Ke,Ue=Ne(we[2]),$e=(1-Ve)/(1-je),Ye=1-$e,tt=(1-Le)/(1-et),ot=1-tt,st=(1-Qe)/(1-Ue),dt=1-st;Be[0]=Ie[0]*$e+Ye,Be[1]=Ie[1]*tt+ot,Be[2]=Ie[2]*st+dt}function ze(we,Ie,Be){if(we[0]===1&&we[2]===1){Be[0]=Ie[0],Be[1]=Ie[1],Be[2]=Ie[2];return}const Ke=Be;Ce(oe,Ie,Ke);const Ve=xe;pe(we,Ke,Ve),Ce(me,Ve,Be)}function Te(we,Ie,Be){const Ke=Be;Ce(oe,Ie,Ke);const Ve=xe;_e(we,Ke,Ve),Ce(me,Ve,Be)}function Fe(we,Ie,Be,Ke,Ve,je){const Le=Ae(0,1,Ie[Be]*je),et=Ae(0,1,Ie[Be+1]*je),Qe=Ae(0,1,Ie[Be+2]*je),Ue=Le===1?1:Le**we.GR,$e=et===1?1:et**we.GG,Ye=Qe===1?1:Qe**we.GB,tt=we.MXA*Ue+we.MXB*$e+we.MXC*Ye,ot=we.MYA*Ue+we.MYB*$e+we.MYC*Ye,st=we.MZA*Ue+we.MZB*$e+we.MZC*Ye,dt=fe;dt[0]=tt,dt[1]=ot,dt[2]=st;const ct=ve;ze(we.whitePoint,dt,ct);const mt=fe;Ze(we.blackPoint,ct,mt);const ut=ve;Te(ke,mt,ut);const rt=fe;Ce(Ee,ut,rt),Ke[Ve]=Ge(rt[0])*255,Ke[Ve+1]=Ge(rt[1])*255,Ke[Ve+2]=Ge(rt[2])*255}class Pe extends ae{constructor(Ie,Be,Ke,Ve){if(super("CalRGB",3),!Ie)throw new R.FormatError("WhitePoint missing - required for color space CalRGB");Be=Be||new Float32Array(3),Ke=Ke||new Float32Array([1,1,1]),Ve=Ve||new Float32Array([1,0,0,0,1,0,0,0,1]);const je=Ie[0],Le=Ie[1],et=Ie[2];this.whitePoint=Ie;const Qe=Be[0],Ue=Be[1],$e=Be[2];if(this.blackPoint=Be,this.GR=Ke[0],this.GG=Ke[1],this.GB=Ke[2],this.MXA=Ve[0],this.MYA=Ve[1],this.MZA=Ve[2],this.MXB=Ve[3],this.MYB=Ve[4],this.MZB=Ve[5],this.MXC=Ve[6],this.MYC=Ve[7],this.MZC=Ve[8],je<0||et<0||Le!==1)throw new R.FormatError(`Invalid WhitePoint components for ${this.name}, no fallback available`);(Qe<0||Ue<0||$e<0)&&((0,R.info)(`Invalid BlackPoint for ${this.name} [${Qe}, ${Ue}, ${$e}], falling back to default.`),this.blackPoint=new Float32Array(3)),(this.GR<0||this.GG<0||this.GB<0)&&((0,R.info)(`Invalid Gamma [${this.GR}, ${this.GG}, ${this.GB}] for ${this.name}, falling back to default.`),this.GR=this.GG=this.GB=1)}getRgbItem(Ie,Be,Ke,Ve){Fe(this,Ie,Be,Ke,Ve,1)}getRgbBuffer(Ie,Be,Ke,Ve,je,Le,et){const Qe=1/((1<=6/29?fe=xe**3:fe=108/841*(xe-4/29),fe}function me(xe,fe,ve,ye){return ve+xe*(ye-ve)/fe}function Ee(xe,fe,ve,ye,Ce,pe){let _e=fe[ve],Ge=fe[ve+1],Ae=fe[ve+2];ye!==!1&&(_e=me(_e,ye,0,100),Ge=me(Ge,ye,xe.amin,xe.amax),Ae=me(Ae,ye,xe.bmin,xe.bmax)),Ge>xe.amax?Ge=xe.amax:Gexe.bmax?Ae=xe.bmax:Aethis.amax||this.bmin>this.bmax)&&((0,R.info)("Invalid Range, falling back to defaults"),this.amin=-100,this.amax=100,this.bmin=-100,this.bmax=100)}getRgbItem(fe,ve,ye,Ce){Ee(this,fe,ve,!1,ye,Ce)}getRgbBuffer(fe,ve,ye,Ce,pe,_e,Ge){const Ae=(1<<_e)-1;for(let Ne=0;Ne{Object.defineProperty(D,"__esModule",{value:!0}),D.PartialEvaluator=D.EvaluatorPreprocessor=void 0;var R=B(2),U=B(141),K=B(130),z=B(159),e=B(163),ae=B(162),ie=B(166),he=B(165),J=B(175),W=B(176),X=B(167),L=B(182),Q=B(142),ce=B(184),de=B(135),se=B(132),oe=B(185),me=B(139),Ee=B(144),ke=B(164),xe=B(131),fe=B(170),ve=B(186),ye=B(187),Ce=B(188);const pe=Object.freeze({maxImageSize:-1,disableFontFace:!1,ignoreErrors:!1,isEvalSupported:!0,fontExtraProperties:!1,useSystemFonts:!0,cMapUrl:null,standardFontDataUrl:null}),_e={TILING:1,SHADING:2},Ge=10,Ae=Promise.resolve();function Ne(Ke){let Ve=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(Array.isArray(Ke)){for(let je=0,Le=Ke.length;je0&&Ke.args[0].count++}class ze{static get TIME_SLOT_DURATION_MS(){return(0,R.shadow)(this,"TIME_SLOT_DURATION_MS",20)}static get CHECK_TIME_EVERY(){return(0,R.shadow)(this,"CHECK_TIME_EVERY",100)}constructor(){this.reset()}check(){return++this.checked0&&arguments[0]!==void 0?arguments[0]:null;const je=Object.create(this);return je.options=Object.assign(Object.create(null),this.options,Ve),je}hasBlendModes(Ve,je){if(!(Ve instanceof K.Dict)||Ve.objId&&je.has(Ve.objId))return!1;const Le=new K.RefSet(je);Ve.objId&&Le.put(Ve.objId);const et=[Ve],Qe=this.xref;for(;et.length;){const Ue=et.shift(),$e=Ue.get("ExtGState");if($e instanceof K.Dict)for(let tt of $e.getRawValues()){if(tt instanceof K.Ref){if(Le.has(tt))continue;try{tt=Qe.fetch(tt)}catch(st){Le.put(tt),(0,R.info)(`hasBlendModes - ignoring ExtGState: "${st}".`);continue}}if(!(tt instanceof K.Dict))continue;tt.objId&&Le.put(tt.objId);const ot=tt.get("BM");if(ot instanceof K.Name){if(ot.name!=="Normal")return!0;continue}if(ot!==void 0&&Array.isArray(ot)){for(const st of ot)if(st instanceof K.Name&&st.name!=="Normal")return!0}}const Ye=Ue.get("XObject");if(Ye instanceof K.Dict)for(let tt of Ye.getRawValues()){if(tt instanceof K.Ref){if(Le.has(tt))continue;try{tt=Qe.fetch(tt)}catch(st){Le.put(tt),(0,R.info)(`hasBlendModes - ignoring XObject: "${st}".`);continue}}if(!(tt instanceof se.BaseStream))continue;tt.dict.objId&&Le.put(tt.dict.objId);const ot=tt.dict.get("Resources");ot instanceof K.Dict&&(ot.objId&&Le.has(ot.objId)||(et.push(ot),ot.objId&&Le.put(ot.objId)))}}for(const Ue of Le)je.put(Ue);return!1}async fetchBuiltInCMap(Ve){const je=this.builtInCMapCache.get(Ve);if(je)return je;let Le;if(this.options.cMapUrl!==null){const et=`${this.options.cMapUrl}${Ve}.bcmap`,Qe=await fetch(et);if(!Qe.ok)throw new Error(`fetchBuiltInCMap: failed to fetch file "${et}" with "${Qe.statusText}".`);Le={cMapData:new Uint8Array(await Qe.arrayBuffer()),compressionType:R.CMapCompressionType.BINARY}}else Le=await this.handler.sendWithPromise("FetchBuiltInCMap",{name:Ve});return Le.compressionType!==R.CMapCompressionType.NONE&&this.builtInCMapCache.set(Ve,Le),Le}async fetchStandardFontData(Ve){const je=this.standardFontDataCache.get(Ve);if(je)return new de.Stream(je);if(this.options.useSystemFonts&&Ve!=="Symbol"&&Ve!=="ZapfDingbats")return null;const Le=(0,ie.getFontNameToFileMap)(),et=Le[Ve];let Qe;if(this.options.standardFontDataUrl!==null){const Ue=`${this.options.standardFontDataUrl}${et}`,$e=await fetch(Ue);$e.ok?Qe=await $e.arrayBuffer():(0,R.warn)(`fetchStandardFontData: failed to fetch file "${Ue}" with "${$e.statusText}".`)}else try{Qe=await this.handler.sendWithPromise("FetchStandardFontData",{filename:et})}catch(Ue){(0,R.warn)(`fetchStandardFontData: failed to fetch file "${et}" with "${Ue}".`)}return Qe?(this.standardFontDataCache.set(Ve,Qe),new de.Stream(Qe)):null}async buildFormXObject(Ve,je,Le,et,Qe,Ue,$e){const Ye=je.dict,tt=Ye.getArray("Matrix");let ot=Ye.getArray("BBox");Array.isArray(ot)&&ot.length===4?ot=R.Util.normalizeRect(ot):ot=null;let st,dt;Ye.has("OC")&&(st=await this.parseMarkedContentProps(Ye.get("OC"),Ve)),st!==void 0&&et.addOp(R.OPS.beginMarkedContentProps,["OC",st]);const ct=Ye.get("Group");if(ct){dt={matrix:tt,bbox:ot,smask:Le,isolated:!1,knockout:!1};const ut=ct.get("S");let rt=null;if((0,K.isName)(ut,"Transparency")&&(dt.isolated=ct.get("I")||!1,dt.knockout=ct.get("K")||!1,ct.has("CS"))){const He=ct.getRaw("CS"),Je=me.ColorSpace.getCached(He,this.xref,$e);Je?rt=Je:rt=await this.parseColorSpace({cs:He,resources:Ve,localColorSpaceCache:$e})}Le&&Le.backdrop&&(rt=rt||me.ColorSpace.singletons.rgb,Le.backdrop=rt.getRgb(Le.backdrop,0)),et.addOp(R.OPS.beginGroup,[dt])}const mt=ct?[tt,null]:[tt,ot];return et.addOp(R.OPS.paintFormXObjectBegin,mt),this.getOperatorList({stream:je,task:Qe,resources:Ye.get("Resources")||Ve,operatorList:et,initialState:Ue}).then(function(){et.addOp(R.OPS.paintFormXObjectEnd,[]),ct&&et.addOp(R.OPS.endGroup,[dt]),st!==void 0&&et.addOp(R.OPS.endMarkedContent,[])})}_sendImgData(Ve,je){let Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const et=je?[je.bitmap||je.data.buffer]:null;return this.parsingType3Font||Le?this.handler.send("commonobj",[Ve,"Image",je],et):this.handler.send("obj",[Ve,this.pageIndex,"Image",je],et)}async buildPaintImageXObject(Ve){let{resources:je,image:Le,isInline:et=!1,operatorList:Qe,cacheKey:Ue,localImageCache:$e,localColorSpaceCache:Ye}=Ve;const tt=Le.dict,ot=tt.objId,st=tt.get("W","Width"),dt=tt.get("H","Height");if(!(st&&typeof st=="number")||!(dt&&typeof dt=="number")){(0,R.warn)("Image dimensions are missing, or not numbers.");return}const ct=this.options.maxImageSize;if(ct!==-1&&st*dt>ct){const Pt="Image exceeded maximum allowed size and was removed.";if(this.options.ignoreErrors){(0,R.warn)(Pt);return}throw new Error(Pt)}let mt;tt.has("OC")&&(mt=await this.parseMarkedContentProps(tt.get("OC"),je));const ut=tt.get("IM","ImageMask")||!1;let rt,He;if(ut){const Pt=tt.get("I","Interpolate"),Nt=st+7>>3,Vt=Le.getBytes(Nt*dt),Wt=tt.getArray("D","Decode");if(this.parsingType3Font){rt=Ce.PDFImage.createRawMask({imgArray:Vt,width:st,height:dt,imageIsFromDecodeStream:Le instanceof Ee.DecodeStream,inverseDecode:!!Wt&&Wt[0]>0,interpolate:Pt}),rt.cached=!!Ue,He=[rt],Qe.addImageOps(R.OPS.paintImageMaskXObject,He,mt),Ue&&$e.set(Ue,ot,{fn:R.OPS.paintImageMaskXObject,args:He,optionalContent:mt});return}if(rt=Ce.PDFImage.createMask({imgArray:Vt,width:st,height:dt,imageIsFromDecodeStream:Le instanceof Ee.DecodeStream,inverseDecode:!!Wt&&Wt[0]>0,interpolate:Pt}),rt.isSingleOpaquePixel){Qe.addImageOps(R.OPS.paintSolidColorImageMask,[],mt),Ue&&$e.set(Ue,ot,{fn:R.OPS.paintSolidColorImageMask,args:[],optionalContent:mt});return}const Mt=`mask_${this.idFactory.createObjId()}`;Qe.addDependency(Mt),this._sendImgData(Mt,rt),He=[{data:Mt,width:rt.width,height:rt.height,interpolate:rt.interpolate,count:1}],Qe.addImageOps(R.OPS.paintImageMaskXObject,He,mt),Ue&&$e.set(Ue,ot,{fn:R.OPS.paintImageMaskXObject,args:He,optionalContent:mt});return}const Je=tt.get("SM","SMask")||!1,St=tt.get("Mask")||!1,bt=200;if(et&&!Je&&!St&&st+dt(rt=Pt.createImageData(!1),Ue&&ot&&wt&&this.globalImageCache.addByteSize(ot,rt.data.length),this._sendImgData(pt,rt,wt))).catch(Pt=>((0,R.warn)(`Unable to decode image "${pt}": "${Pt}".`),this._sendImgData(pt,null,wt))),Qe.addImageOps(R.OPS.paintImageXObject,He,mt),Ue&&($e.set(Ue,ot,{fn:R.OPS.paintImageXObject,args:He,optionalContent:mt}),ot&&((0,R.assert)(!et,"Cannot cache an inline image globally."),this.globalImageCache.addPageIndex(ot,this.pageIndex),wt&&this.globalImageCache.setData(ot,{objId:pt,fn:R.OPS.paintImageXObject,args:He,optionalContent:mt,byteSize:0})))}handleSMask(Ve,je,Le,et,Qe,Ue){const $e=Ve.get("G"),Ye={subtype:Ve.get("S").name,backdrop:Ve.get("BC")},tt=Ve.get("TR");if((0,L.isPDFFunction)(tt)){const ot=this._pdfFunctionFactory.create(tt),st=new Uint8Array(256),dt=new Float32Array(1);for(let ct=0;ct<256;ct++)dt[0]=ct/255,ot(dt,0,dt,0),st[ct]=dt[0]*255|0;Ye.transferMap=st}return this.buildFormXObject(je,$e,Ye,Le,et,Qe.state.clone(),Ue)}handleTransferFunction(Ve){let je;if(Array.isArray(Ve))je=Ve;else if((0,L.isPDFFunction)(Ve))je=[Ve];else return null;const Le=[];let et=0,Qe=0;for(const Ue of je){const $e=this.xref.fetchIfRef(Ue);if(et++,(0,K.isName)($e,"Identity")){Le.push(null);continue}else if(!(0,L.isPDFFunction)($e))return null;const Ye=this._pdfFunctionFactory.create($e),tt=new Uint8Array(256),ot=new Float32Array(1);for(let st=0;st<256;st++)ot[0]=st/255,Ye(ot,0,ot,0),tt[st]=ot[0]*255|0;Le.push(tt),Qe++}return!(et===1||et===4)||Qe===0?null:Le}handleTilingType(Ve,je,Le,et,Qe,Ue,$e,Ye){const tt=new ye.OperatorList,ot=K.Dict.merge({xref:this.xref,dictArray:[Qe.get("Resources"),Le]});return this.getOperatorList({stream:et,task:$e,resources:ot,operatorList:tt}).then(function(){const st=tt.getIR(),dt=(0,J.getTilingPatternIR)(st,Qe,je);Ue.addDependencies(tt.dependencies),Ue.addOp(Ve,dt),Qe.objId&&Ye.set(null,Qe.objId,{operatorListIR:st,dict:Qe})}).catch(st=>{if(!(st instanceof R.AbortException)){if(this.options.ignoreErrors){this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorTilingPattern}),(0,R.warn)(`handleTilingType - ignoring pattern: "${st}".`);return}throw st}})}handleSetFont(Ve,je,Le,et,Qe,Ue){let $e=arguments.length>6&&arguments[6]!==void 0?arguments[6]:null,Ye=arguments.length>7&&arguments[7]!==void 0?arguments[7]:null;const tt=je&&je[0]instanceof K.Name?je[0].name:null;return this.loadFont(tt,Le,Ve,$e,Ye).then(ot=>ot.font.isType3Font?ot.loadType3Data(this,Ve,Qe).then(function(){return et.addDependencies(ot.type3Dependencies),ot}).catch(st=>(this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontLoadType3}),new Fe({loadedName:"g_font_error",font:new z.ErrorFont(`Type3 font load error: ${st}`),dict:ot.font,evaluatorOptions:this.options}))):ot).then(ot=>(Ue.font=ot.font,ot.send(this.handler),ot.loadedName))}handleText(Ve,je){const Le=je.font,et=Le.charsToGlyphs(Ve);return Le.data&&(je.textRenderingMode&R.TextRenderingMode.ADD_TO_PATH_FLAG||je.fillColorSpace.name==="Pattern"||Le.disableFontFace||this.options.disableFontFace)&&Te.buildFontPaths(Le,et,this.handler,this.options),et}ensureStateFont(Ve){if(Ve.font)return;const je=new R.FormatError("Missing setFont (Tf) operator before text rendering operator.");if(this.options.ignoreErrors){this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontState}),(0,R.warn)(`ensureStateFont: "${je}".`);return}throw je}async setGState(Ve){let{resources:je,gState:Le,operatorList:et,cacheKey:Qe,task:Ue,stateManager:$e,localGStateCache:Ye,localColorSpaceCache:tt}=Ve;const ot=Le.objId;let st=!0;const dt=[],ct=Le.getKeys();let mt=Promise.resolve();for(let ut=0,rt=ct.length;utthis.handleSetFont(je,null,Je[0],et,Ue,$e.state).then(function(bt){et.addDependency(bt),dt.push([He,[bt,Je[1]]])}));break;case"BM":dt.push([He,Ne(Je)]);break;case"SMask":if((0,K.isName)(Je,"None")){dt.push([He,!1]);break}Je instanceof K.Dict?(st=!1,mt=mt.then(()=>this.handleSMask(Je,je,et,Ue,$e,tt)),dt.push([He,!0])):(0,R.warn)("Unsupported SMask type");break;case"TR":const St=this.handleTransferFunction(Je);dt.push([He,St]);break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":(0,R.info)("graphic state operator "+He);break;default:(0,R.info)("Unknown graphic state operator "+He);break}}return mt.then(function(){dt.length>0&&et.addOp(R.OPS.setGState,[dt]),st&&Ye.set(Qe,ot,dt)})}loadFont(Ve,je,Le){let et=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null,Qe=arguments.length>4&&arguments[4]!==void 0?arguments[4]:null;const Ue=async()=>new Fe({loadedName:"g_font_error",font:new z.ErrorFont(`Font "${Ve}" is not available.`),dict:je,evaluatorOptions:this.options}),$e=this.xref;let Ye;if(je)je instanceof K.Ref&&(Ye=je);else{const ut=Le.get("Font");ut&&(Ye=ut.getRaw(Ve))}if(!Ye){const ut=`Font "${Ve||je&&je.toString()}" is not available`;if(!this.options.ignoreErrors&&!this.parsingType3Font)return(0,R.warn)(`${ut}.`),Ue();this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontMissing}),(0,R.warn)(`${ut} -- attempting to fallback to a default font.`),et?Ye=et:Ye=Te.fallbackFontDict}if(this.parsingType3Font&&this.type3FontRefs.has(Ye))return Ue();if(this.fontCache.has(Ye))return this.fontCache.get(Ye);if(je=$e.fetchIfRef(Ye),!(je instanceof K.Dict))return Ue();if(je.cacheKey&&this.fontCache.has(je.cacheKey))return this.fontCache.get(je.cacheKey);const tt=(0,R.createPromiseCapability)();let ot;try{ot=this.preEvaluateFont(je),ot.cssFontInfo=Qe}catch(ut){return(0,R.warn)(`loadFont - preEvaluateFont failed: "${ut}".`),Ue()}const{descriptor:st,hash:dt}=ot,ct=Ye instanceof K.Ref;let mt;if(ct&&(mt=`f${Ye.toString()}`),dt&&st instanceof K.Dict){st.fontAliases||(st.fontAliases=Object.create(null));const ut=st.fontAliases;if(ut[dt]){const rt=ut[dt].aliasRef;if(ct&&rt&&this.fontCache.has(rt))return this.fontCache.putAlias(Ye,rt),this.fontCache.get(Ye)}else ut[dt]={fontID:this.idFactory.createFontId()};ct&&(ut[dt].aliasRef=Ye),mt=ut[dt].fontID}return ct?this.fontCache.put(Ye,tt.promise):(mt||(mt=this.idFactory.createFontId()),je.cacheKey=`cacheKey_${mt}`,this.fontCache.put(je.cacheKey,tt.promise)),(0,R.assert)(mt&&mt.startsWith("f"),'The "fontID" must be (correctly) defined.'),je.loadedName=`${this.idFactory.getDocId()}_${mt}`,this.translateFont(ot).then(ut=>{ut.fontType!==void 0&&$e.stats.addFontType(ut.fontType),tt.resolve(new Fe({loadedName:je.loadedName,font:ut,dict:je,evaluatorOptions:this.options}))}).catch(ut=>{this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontTranslate}),(0,R.warn)(`loadFont - translateFont failed: "${ut}".`);try{const rt=st&&st.get("FontFile3"),He=rt&&rt.get("Subtype"),Je=(0,e.getFontType)(ot.type,He&&He.name);Je!==void 0&&$e.stats.addFontType(Je)}catch{}tt.resolve(new Fe({loadedName:je.loadedName,font:new z.ErrorFont(ut instanceof Error?ut.message:ut),dict:je,evaluatorOptions:this.options}))}),tt.promise}buildPath(Ve,je,Le){let et=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const Qe=Ve.length-1;Le||(Le=[]);let Ue;if(Qe<0||Ve.fnArray[Qe]!==R.OPS.constructPath)et&&((0,R.warn)(`Encountered path operator "${je}" inside of a text object.`),Ve.addOp(R.OPS.save,null)),Ue=[1/0,-1/0,1/0,-1/0],Ve.addOp(R.OPS.constructPath,[[je],Le,Ue]),et&&Ve.addOp(R.OPS.restore,null);else{const $e=Ve.argsArray[Qe];$e[0].push(je),Array.prototype.push.apply($e[1],Le),Ue=$e[2]}switch(je){case R.OPS.rectangle:Ue[0]=Math.min(Ue[0],Le[0],Le[0]+Le[2]),Ue[1]=Math.max(Ue[1],Le[0],Le[0]+Le[2]),Ue[2]=Math.min(Ue[2],Le[1],Le[1]+Le[3]),Ue[3]=Math.max(Ue[3],Le[1],Le[1]+Le[3]);break;case R.OPS.moveTo:case R.OPS.lineTo:Ue[0]=Math.min(Ue[0],Le[0]),Ue[1]=Math.max(Ue[1],Le[0]),Ue[2]=Math.min(Ue[2],Le[1]),Ue[3]=Math.max(Ue[3],Le[1]);break}}parseColorSpace(Ve){let{cs:je,resources:Le,localColorSpaceCache:et}=Ve;return me.ColorSpace.parseAsync({cs:je,xref:this.xref,resources:Le,pdfFunctionFactory:this._pdfFunctionFactory,localColorSpaceCache:et}).catch(Qe=>{if(Qe instanceof R.AbortException)return null;if(this.options.ignoreErrors)return this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorColorSpace}),(0,R.warn)(`parseColorSpace - ignoring ColorSpace: "${Qe}".`),null;throw Qe})}parseShading(Ve){let{shading:je,resources:Le,localColorSpaceCache:et,localShadingPatternCache:Qe}=Ve,Ue=Qe.get(je);if(!Ue){var $e=J.Pattern.parseShading(je,this.xref,Le,this.handler,this._pdfFunctionFactory,et);const Ye=$e.getIR();Ue=`pattern_${this.idFactory.createObjId()}`,Qe.set(je,Ue),this.handler.send("obj",[Ue,this.pageIndex,"Pattern",Ye])}return Ue}handleColorN(Ve,je,Le,et,Qe,Ue,$e,Ye,tt,ot){const st=Le.pop();if(st instanceof K.Name){const dt=Qe.getRaw(st.name),ct=dt instanceof K.Ref&&tt.getByRef(dt);if(ct)try{const ut=et.base?et.base.getRgb(Le,0):null,rt=(0,J.getTilingPatternIR)(ct.operatorListIR,ct.dict,ut);Ve.addOp(je,rt);return}catch{}const mt=this.xref.fetchIfRef(dt);if(mt){const ut=mt instanceof se.BaseStream?mt.dict:mt,rt=ut.get("PatternType");if(rt===_e.TILING){const He=et.base?et.base.getRgb(Le,0):null;return this.handleTilingType(je,He,Ue,mt,ut,Ve,$e,tt)}else if(rt===_e.SHADING){const He=ut.get("Shading"),Je=ut.getArray("Matrix"),St=this.parseShading({shading:He,resources:Ue,localColorSpaceCache:Ye,localShadingPatternCache:ot});Ve.addOp(je,["Shading",St,Je]);return}throw new R.FormatError(`Unknown PatternType: ${rt}`)}}throw new R.FormatError(`Unknown PatternName: ${st}`)}_parseVisibilityExpression(Ve,je,Le){if(++je>10){(0,R.warn)("Visibility expression is too deeply nested");return}const Qe=Ve.length,Ue=this.xref.fetchIfRef(Ve[0]);if(Qe<2||!(Ue instanceof K.Name)){(0,R.warn)("Invalid visibility expression");return}switch(Ue.name){case"And":case"Or":case"Not":Le.push(Ue.name);break;default:(0,R.warn)(`Invalid operator ${Ue.name} in visibility expression`);return}for(let $e=1;$e0)return{type:"OCMD",expression:$e}}const Ue=Le.get("OCGs");if(Array.isArray(Ue)||Ue instanceof K.Dict){const $e=[];if(Array.isArray(Ue))for(const Ye of Ue)$e.push(Ye.toString());else $e.push(Ue.objId);return{type:et,ids:$e,policy:Le.get("P")instanceof K.Name?Le.get("P").name:null,expression:null}}else if(Ue instanceof K.Ref)return{type:et,id:Ue.toString()}}return null}getOperatorList(Ve){let{stream:je,task:Le,resources:et,operatorList:Qe,initialState:Ue=null,fallbackFontDict:$e=null}=Ve;if(et=et||K.Dict.empty,Ue=Ue||new Ie,!Qe)throw new Error('getOperatorList: missing "operatorList" parameter');const Ye=this,tt=this.xref;let ot=!1;const st=new ce.LocalImageCache,dt=new ce.LocalColorSpaceCache,ct=new ce.LocalGStateCache,mt=new ce.LocalTilingPatternCache,ut=new Map,rt=et.get("XObject")||K.Dict.empty,He=et.get("Pattern")||K.Dict.empty,Je=new Pe(Ue),St=new Be(je,tt,Je),bt=new ze;function pt(wt){for(let Pt=0,Nt=St.savedStatesDepth;Pt0&&Qe.addOp(R.OPS.setGState,[vt]),cr=null;continue}}Vt(new Promise(function(vt,Xt){if(!er)throw new R.FormatError("GState must be referred to by name.");const At=et.get("ExtGState");if(!(At instanceof K.Dict))throw new R.FormatError("ExtGState should be a dictionary.");const zt=At.get(Jt);if(!(zt instanceof K.Dict))throw new R.FormatError("GState should be a dictionary.");Ye.setGState({resources:et,gState:zt,operatorList:Qe,cacheKey:Jt,task:Le,stateManager:Je,localGStateCache:ct,localColorSpaceCache:dt}).then(vt,Xt)}).catch(function(vt){if(!(vt instanceof R.AbortException)){if(Ye.options.ignoreErrors){Ye.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorExtGState}),(0,R.warn)(`getOperatorList - ignoring ExtGState: "${vt}".`);return}throw vt}}));return;case R.OPS.moveTo:case R.OPS.lineTo:case R.OPS.curveTo:case R.OPS.curveTo2:case R.OPS.curveTo3:case R.OPS.closePath:case R.OPS.rectangle:Ye.buildPath(Qe,Ar,cr,ot);continue;case R.OPS.markPoint:case R.OPS.markPointProps:case R.OPS.beginCompat:case R.OPS.endCompat:continue;case R.OPS.beginMarkedContentProps:if(!(cr[0]instanceof K.Name)){(0,R.warn)(`Expected name for beginMarkedContentProps arg0=${cr[0]}`);continue}if(cr[0].name==="OC"){Vt(Ye.parseMarkedContentProps(cr[1],et).then(vt=>{Qe.addOp(R.OPS.beginMarkedContentProps,["OC",vt])}).catch(vt=>{if(!(vt instanceof R.AbortException)){if(Ye.options.ignoreErrors){Ye.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorMarkedContent}),(0,R.warn)(`getOperatorList - ignoring beginMarkedContentProps: "${vt}".`);return}throw vt}}));return}cr=[cr[0].name,cr[1]instanceof K.Dict?cr[1].get("MCID"):null];break;case R.OPS.beginMarkedContent:case R.OPS.endMarkedContent:default:if(cr!==null){for($t=0,Yt=cr.length;$t{if(!(wt instanceof R.AbortException)){if(this.options.ignoreErrors){this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorOperatorList}),(0,R.warn)(`getOperatorList - ignoring errors during "${Le.name}" task: "${wt}".`),pt();return}throw wt}})}getTextContent(Ve){let{stream:je,task:Le,resources:et,stateManager:Qe=null,combineTextItems:Ue=!1,includeMarkedContent:$e=!1,sink:Ye,seenStyles:tt=new Set,viewBox:ot}=Ve;et=et||K.Dict.empty,Qe=Qe||new Pe(new we);const st=(0,he.getNormalizedUnicodes)(),dt={items:[],styles:Object.create(null)},ct={initialized:!1,str:[],totalWidth:0,totalHeight:0,width:0,height:0,vertical:!1,prevTransform:null,textAdvanceScale:0,spaceInFlowMin:0,spaceInFlowMax:0,trackingSpaceMin:1/0,negativeSpaceMax:-1/0,notASpace:-1/0,transform:null,fontName:null,hasEOL:!1},mt=[" "," "];let ut=0;function rt(vt){const Xt=(ut+1)%2,At=mt[ut]!==" "&&mt[Xt]===" ";return mt[ut]=vt,ut=Xt,At}function He(){mt[0]=mt[1]=" ",ut=0}const Je=.1,St=.03,bt=-.2,pt=.1,wt=.6,Pt=this,Nt=this.xref,Vt=[];let Wt=null;const Mt=new ce.LocalImageCache,$t=new ce.LocalGStateCache,Yt=new Be(je,Nt,Qe);let Ft;function Jt(){const vt=Ft.font,Xt=[Ft.fontSize*Ft.textHScale,0,0,Ft.fontSize,0,Ft.textRise];if(vt.isType3Font&&(Ft.fontSize<=1||vt.isCharBBox)&&!(0,R.isArrayEqual)(Ft.fontMatrix,R.FONT_IDENTITY_MATRIX)){const At=vt.bbox[3]-vt.bbox[1];At>0&&(Xt[3]*=At*Ft.fontMatrix[3])}return R.Util.transform(Ft.ctm,R.Util.transform(Ft.textMatrix,Xt))}function er(){if(ct.initialized)return ct;const vt=Ft.font,Xt=vt.loadedName;tt.has(Xt)||(tt.add(Xt),dt.styles[Xt]={fontFamily:vt.fallbackName,ascent:vt.ascent,descent:vt.descent,vertical:vt.vertical}),ct.fontName=Xt;const At=ct.transform=Jt();vt.vertical?(ct.width=ct.totalWidth=Math.hypot(At[0],At[1]),ct.height=ct.totalHeight=0,ct.vertical=!0):(ct.width=ct.totalWidth=0,ct.height=ct.totalHeight=Math.hypot(At[2],At[3]),ct.vertical=!1);const zt=Math.hypot(Ft.textLineMatrix[0],Ft.textLineMatrix[1]),Br=Math.hypot(Ft.ctm[0],Ft.ctm[1]);return ct.textAdvanceScale=Br*zt,ct.trackingSpaceMin=Ft.fontSize*Je,ct.notASpace=Ft.fontSize*St,ct.negativeSpaceMax=Ft.fontSize*bt,ct.spaceInFlowMin=Ft.fontSize*pt,ct.spaceInFlowMax=Ft.fontSize*wt,ct.hasEOL=!1,ct.initialized=!0,ct}function Bt(){if(!ct.initialized)return;const vt=Math.hypot(Ft.textLineMatrix[0],Ft.textLineMatrix[1]),At=Math.hypot(Ft.ctm[0],Ft.ctm[1])*vt;At!==ct.textAdvanceScale&&(ct.vertical?(ct.totalHeight+=ct.height*ct.textAdvanceScale,ct.height=0):(ct.totalWidth+=ct.width*ct.textAdvanceScale,ct.width=0),ct.textAdvanceScale=At)}function It(vt){const Xt=vt.str.join(""),At=(0,oe.bidi)(Xt,-1,vt.vertical);return{str:At.str,dir:At.dir,width:Math.abs(vt.totalWidth),height:Math.abs(vt.totalHeight),transform:vt.transform,fontName:vt.fontName,hasEOL:vt.hasEOL}}function Dt(vt,Xt){return Pt.loadFont(vt,Xt,et).then(function(At){return At.font.isType3Font?At.loadType3Data(Pt,et,Le).catch(function(){}).then(function(){return At}):At}).then(function(At){Ft.font=At.font,Ft.fontMatrix=At.font.fontMatrix||R.FONT_IDENTITY_MATRIX})}function Zt(vt,Xt,At){const zt=Math.hypot(At[0],At[1]);return[(At[0]*vt+At[1]*Xt)/zt,(At[2]*vt+At[3]*Xt)/zt]}function gr(){const vt=Jt();let Xt=vt[4],At=vt[5];const zt=Xt-ot[0],Br=At-ot[1];if(zt<0||zt>ot[2]||Br<0||Br>ot[3])return!1;if(!Ue||!Ft.font||!ct.prevTransform)return!0;let br=ct.prevTransform[4],Ur=ct.prevTransform[5];if(br===Xt&&Ur===At)return!0;let un=-1;switch(vt[0]&&vt[1]===0&&vt[2]===0?un=vt[0]>0?0:180:vt[1]&&vt[0]===0&&vt[3]===0&&(un=vt[1]>0?90:270),un){case 0:break;case 90:[Xt,At]=[At,Xt],[br,Ur]=[Ur,br];break;case 180:[Xt,At,br,Ur]=[-Xt,-At,-br,-Ur];break;case 270:[Xt,At]=[-At,-Xt],[br,Ur]=[-Ur,-br];break;default:[Xt,At]=Zt(Xt,At,vt),[br,Ur]=Zt(br,Ur,ct.prevTransform)}if(Ft.font.vertical){const Tr=(Ur-At)/ct.textAdvanceScale,jt=Xt-br,Wr=Math.sign(ct.height);return Tr.5*ct.width?(Dr(),!0):(He(),cr(),!0):Math.abs(jt)>ct.width?(Dr(),!0):(Tr<=Wr*ct.notASpace&&He(),Tr<=Wr*ct.trackingSpaceMin?ct.height+=Tr:kr(Tr,ct.prevTransform,Wr)||(ct.str.length===0?(He(),dt.items.push({str:" ",dir:"ltr",width:0,height:Math.abs(Tr),transform:ct.prevTransform,fontName:ct.fontName,hasEOL:!1})):ct.height+=Tr),!0)}const sr=(Xt-br)/ct.textAdvanceScale,ur=At-Ur,Cr=Math.sign(ct.width);return sr.5*ct.height?(Dr(),!0):(He(),cr(),!0):Math.abs(ur)>ct.height?(Dr(),!0):(sr<=Cr*ct.notASpace&&He(),sr<=Cr*ct.trackingSpaceMin?ct.width+=sr:kr(sr,ct.prevTransform,Cr)||(ct.str.length===0?(He(),dt.items.push({str:" ",dir:"ltr",width:Math.abs(sr),height:0,transform:ct.prevTransform,fontName:ct.fontName,hasEOL:!1})):ct.width+=sr),!0)}function fr(vt){let{chars:Xt,extraSpacing:At}=vt;const zt=Ft.font;if(!Xt){const Ur=Ft.charSpacing+At;Ur&&(zt.vertical?Ft.translateTextMatrix(0,-Ur):Ft.translateTextMatrix(Ur*Ft.textHScale,0));return}const Br=zt.charsToGlyphs(Xt),br=Ft.fontMatrix[0]*Ft.fontSize;for(let Ur=0,un=Br.length;Ur0&&arguments[0]!==void 0?arguments[0]:!1;const Xt=dt.items.length;Xt!==0&&(vt&&Xt0){const Gr=Vt.join("");Vt.length=0,fr({chars:Gr,extraSpacing:0})}break;case R.OPS.showText:if(!Qe.state.font){Pt.ensureStateFont(Qe.state);continue}fr({chars:Ur[0],extraSpacing:0});break;case R.OPS.nextLineShowText:if(!Qe.state.font){Pt.ensureStateFont(Qe.state);continue}Ft.carriageReturn(),fr({chars:Ur[0],extraSpacing:0});break;case R.OPS.nextLineSetSpacingShowText:if(!Qe.state.font){Pt.ensureStateFont(Qe.state);continue}Ft.wordSpacing=Ur[0],Ft.charSpacing=Ur[1],Ft.carriageReturn(),fr({chars:Ur[2],extraSpacing:0});break;case R.OPS.paintXObject:cr(),Wt||(Wt=et.get("XObject")||K.Dict.empty);var ur=Ur[0]instanceof K.Name,Cr=Ur[0].name;if(ur&&Mt.getByName(Cr))break;zt(new Promise(function(Gr,Jr){if(!ur)throw new R.FormatError("XObject must be referred to by name.");let Xr=Wt.getRaw(Cr);if(Xr instanceof K.Ref){if(Mt.getByRef(Xr)){Gr();return}if(Pt.globalImageCache.getData(Xr,Pt.pageIndex)){Gr();return}Xr=Nt.fetch(Xr)}if(!(Xr instanceof se.BaseStream))throw new R.FormatError("XObject should be a stream");const fn=Xr.dict.get("Subtype");if(!(fn instanceof K.Name))throw new R.FormatError("XObject should have a Name subtype");if(fn.name!=="Form"){Mt.set(Cr,Xr.dict.objId,!0),Gr();return}const cn=Qe.state.clone(),nn=new Pe(cn),ar=Xr.dict.getArray("Matrix");Array.isArray(ar)&&ar.length===6&&nn.transform(ar),Ar();const xr={enqueueInvoked:!1,enqueue(Lr,Rr){this.enqueueInvoked=!0,Ye.enqueue(Lr,Rr)},get desiredSize(){return Ye.desiredSize},get ready(){return Ye.ready}};Pt.getTextContent({stream:Xr,task:Le,resources:Xr.dict.get("Resources")||et,stateManager:nn,combineTextItems:Ue,includeMarkedContent:$e,sink:xr,seenStyles:tt,viewBox:ot}).then(function(){xr.enqueueInvoked||Mt.set(Cr,Xr.dict.objId,!0),Gr()},Jr)}).catch(function(Gr){if(!(Gr instanceof R.AbortException)){if(Pt.options.ignoreErrors){(0,R.warn)(`getTextContent - ignoring XObject: "${Gr}".`);return}throw Gr}}));return;case R.OPS.setGState:if(ur=Ur[0]instanceof K.Name,Cr=Ur[0].name,ur&&$t.getByName(Cr))break;zt(new Promise(function(Gr,Jr){if(!ur)throw new R.FormatError("GState must be referred to by name.");const Xr=et.get("ExtGState");if(!(Xr instanceof K.Dict))throw new R.FormatError("ExtGState should be a dictionary.");const fn=Xr.get(Cr);if(!(fn instanceof K.Dict))throw new R.FormatError("GState should be a dictionary.");const cn=fn.get("Font");if(!cn){$t.set(Cr,fn.objId,!0),Gr();return}cr(),Ft.fontName=null,Ft.fontSize=cn[1],Dt(null,cn[0]).then(Gr,Jr)}).catch(function(Gr){if(!(Gr instanceof R.AbortException)){if(Pt.options.ignoreErrors){(0,R.warn)(`getTextContent - ignoring ExtGState: "${Gr}".`);return}throw Gr}}));return;case R.OPS.beginMarkedContent:cr(),$e&&dt.items.push({type:"beginMarkedContent",tag:Ur[0]instanceof K.Name?Ur[0].name:null});break;case R.OPS.beginMarkedContentProps:if(cr(),$e){let Gr=null;Ur[1]instanceof K.Dict&&(Gr=Ur[1].get("MCID")),dt.items.push({type:"beginMarkedContentProps",id:Number.isInteger(Gr)?`${Pt.idFactory.getPageObjId()}_mcid${Gr}`:null,tag:Ur[0]instanceof K.Name?Ur[0].name:null})}break;case R.OPS.endMarkedContent:cr(),$e&&dt.items.push({type:"endMarkedContent"});break}if(dt.items.length>=Ye.desiredSize){br=!0;break}}if(br){zt(Ae);return}cr(),Ar(),Xt()}).catch(vt=>{if(!(vt instanceof R.AbortException)){if(this.options.ignoreErrors){(0,R.warn)(`getTextContent - ignoring errors during "${Le.name}" task: "${vt}".`),cr(),Ar();return}throw vt}})}extractDataStructures(Ve,je,Le){const et=this.xref;let Qe;const Ue=this.readToUnicode(Le.toUnicode||Ve.get("ToUnicode")||je.get("ToUnicode"));if(Le.composite){const ot=Ve.get("CIDSystemInfo");ot instanceof K.Dict&&(Le.cidSystemInfo={registry:(0,R.stringToPDFString)(ot.get("Registry")),ordering:(0,R.stringToPDFString)(ot.get("Ordering")),supplement:ot.get("Supplement")});try{const st=Ve.get("CIDToGIDMap");st instanceof se.BaseStream&&(Qe=st.getBytes())}catch(st){if(!this.options.ignoreErrors)throw st;(0,R.warn)(`extractDataStructures - ignoring CIDToGIDMap data: "${st}".`)}}const $e=[];let Ye=null,tt;if(Ve.has("Encoding")){if(tt=Ve.get("Encoding"),tt instanceof K.Dict){if(Ye=tt.get("BaseEncoding"),Ye=Ye instanceof K.Name?Ye.name:null,tt.has("Differences")){const ot=tt.get("Differences");let st=0;for(let dt=0,ct=ot.length;dt0,Le.dict=Ve,Ue.then(ot=>(Le.toUnicode=ot,this.buildToUnicode(Le))).then(ot=>(Le.toUnicode=ot,Qe&&(Le.cidToGidMap=this.readCidToGidMap(Qe,ot)),Le))}_simpleFontToUnicode(Ve){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;(0,R.assert)(!Ve.composite,"Must be a simple font.");const Le=[],et=Ve.defaultEncoding.slice(),Qe=Ve.baseEncodingName,Ue=Ve.differences;for(const Ye in Ue){const tt=Ue[Ye];tt!==".notdef"&&(et[Ye]=tt)}const $e=(0,ke.getGlyphsUnicode)();for(const Ye in et){let tt=et[Ye];if(tt!==""){if($e[tt]===void 0){let ot=0;switch(tt[0]){case"G":tt.length===3&&(ot=parseInt(tt.substring(1),16));break;case"g":tt.length===5&&(ot=parseInt(tt.substring(1),16));break;case"C":case"c":if(tt.length>=3&&tt.length<=4){const dt=tt.substring(1);if(je){ot=parseInt(dt,16);break}if(ot=+dt,Number.isNaN(ot)&&Number.isInteger(parseInt(dt,16)))return this._simpleFontToUnicode(Ve,!0)}break;default:const st=(0,he.getUnicodeForGlyph)(tt,$e);st!==-1&&(ot=st)}if(ot>0&&ot<=1114111&&Number.isInteger(ot)){if(Qe&&ot===+Ye){const st=(0,ae.getEncoding)(Qe);if(st&&(tt=st[Ye])){Le[Ye]=String.fromCharCode($e[tt]);continue}}Le[Ye]=String.fromCodePoint(ot)}continue}Le[Ye]=String.fromCharCode($e[tt])}}return Le}async buildToUnicode(Ve){if(Ve.hasIncludedToUnicodeMap=!!Ve.toUnicode&&Ve.toUnicode.length>0,Ve.hasIncludedToUnicodeMap)return!Ve.composite&&Ve.hasEncoding&&(Ve.fallbackToUnicode=this._simpleFontToUnicode(Ve)),Ve.toUnicode;if(!Ve.composite)return new X.ToUnicodeMap(this._simpleFontToUnicode(Ve));if(Ve.composite&&(Ve.cMap.builtInCMap&&!(Ve.cMap instanceof U.IdentityCMap)||Ve.cidSystemInfo.registry==="Adobe"&&(Ve.cidSystemInfo.ordering==="GB1"||Ve.cidSystemInfo.ordering==="CNS1"||Ve.cidSystemInfo.ordering==="Japan1"||Ve.cidSystemInfo.ordering==="Korea1"))){const{registry:je,ordering:Le}=Ve.cidSystemInfo,et=K.Name.get(`${je}-${Le}-UCS2`),Qe=await U.CMapFactory.create({encoding:et,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}),Ue=[];return Ve.cMap.forEach(function($e,Ye){if(Ye>65535)throw new R.FormatError("Max size of CID is 65,535");const tt=Qe.lookup(Ye);tt&&(Ue[$e]=String.fromCharCode((tt.charCodeAt(0)<<8)+tt.charCodeAt(1)))}),new X.ToUnicodeMap(Ue)}return new X.IdentityToUnicodeMap(Ve.firstChar,Ve.lastChar)}readToUnicode(Ve){return Ve?Ve instanceof K.Name?U.CMapFactory.create({encoding:Ve,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(je){return je instanceof U.IdentityCMap?new X.IdentityToUnicodeMap(0,65535):new X.ToUnicodeMap(je.getMap())}):Ve instanceof se.BaseStream?U.CMapFactory.create({encoding:Ve,fetchBuiltInCMap:this._fetchBuiltInCMapBound,useCMap:null}).then(function(je){if(je instanceof U.IdentityCMap)return new X.IdentityToUnicodeMap(0,65535);const Le=new Array(je.length);return je.forEach(function(et,Qe){if(typeof Qe=="number"){Le[et]=String.fromCodePoint(Qe);return}const Ue=[];for(let $e=0;$e{if(je instanceof R.AbortException)return null;if(this.options.ignoreErrors)return this.handler.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontToUnicode}),(0,R.warn)(`readToUnicode - ignoring ToUnicode data: "${je}".`),null;throw je}):Promise.resolve(null):Promise.resolve(null)}readCidToGidMap(Ve,je){const Le=[];for(let et=0,Qe=Ve.length;et>1;Ue===0&&!je.has($e)||(Le[$e]=Ue)}return Le}extractWidths(Ve,je,Le){const et=this.xref;let Qe=[],Ue=0;const $e=[];let Ye,tt,ot,st,dt,ct,mt,ut;if(Le.composite){if(Ue=Ve.has("DW")?Ve.get("DW"):1e3,ut=Ve.get("W"),ut)for(tt=0,ot=ut.length;tt{if(Mt){const Jt=[];let er=$e;for(let Bt=0,It=Mt.length;Bt(this.extractWidths(Le,je,Pt),new z.Font(ct.name,ut,Pt)))}static buildFontPaths(Ve,je,Le,et){function Qe(Ue){const $e=`${Ve.loadedName}_path_${Ue}`;try{if(Ve.renderer.hasBuiltPath(Ue))return;Le.send("commonobj",[$e,"FontPath",Ve.renderer.getPathJs(Ue)])}catch(Ye){if(et.ignoreErrors){Le.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.errorFontBuildPath}),(0,R.warn)(`buildFontPaths - ignoring ${$e} glyph: "${Ye}".`);return}throw Ye}}for(const Ue of je){Qe(Ue.fontChar);const $e=Ue.accent;$e&&$e.fontChar&&Qe($e.fontChar)}}static get fallbackFontDict(){const Ve=new K.Dict;return Ve.set("BaseFont",K.Name.get("PDFJS-FallbackFont")),Ve.set("Type",K.Name.get("FallbackType")),Ve.set("Subtype",K.Name.get("FallbackType")),Ve.set("Encoding",K.Name.get("WinAnsiEncoding")),(0,R.shadow)(this,"fallbackFontDict",Ve)}}D.PartialEvaluator=Te;class Fe{constructor(Ve){let{loadedName:je,font:Le,dict:et,evaluatorOptions:Qe}=Ve;this.loadedName=je,this.font=Le,this.dict=et,this._evaluatorOptions=Qe||pe,this.type3Loaded=null,this.type3Dependencies=Le.isType3Font?new Set:null,this.sent=!1}send(Ve){this.sent||(this.sent=!0,Ve.send("commonobj",[this.loadedName,"Font",this.font.exportData(this._evaluatorOptions.fontExtraProperties)]))}fallback(Ve){this.font.data&&(this.font.disableFontFace=!0,Te.buildFontPaths(this.font,this.font.glyphCacheValues,Ve,this._evaluatorOptions))}loadType3Data(Ve,je,Le){if(this.type3Loaded)return this.type3Loaded;if(!this.font.isType3Font)throw new Error("Must be a Type3 font.");const et=Ve.clone({ignoreErrors:!1});et.parsingType3Font=!0;const Qe=new K.RefSet(Ve.type3FontRefs);this.dict.objId&&!Qe.has(this.dict.objId)&&Qe.put(this.dict.objId),et.type3FontRefs=Qe;const Ue=this.font,$e=this.type3Dependencies;let Ye=Promise.resolve();const tt=this.dict.get("CharProcs"),ot=this.dict.get("Resources")||je,st=Object.create(null),dt=R.Util.normalizeRect(Ue.bbox||[0,0,0,0]),ct=dt[2]-dt[0],mt=dt[3]-dt[1],ut=Math.hypot(ct,mt);for(const rt of tt.getKeys())Ye=Ye.then(()=>{const He=tt.get(rt),Je=new ye.OperatorList;return et.getOperatorList({stream:He,task:Le,resources:ot,operatorList:Je}).then(()=>{Je.fnArray[0]===R.OPS.setCharWidthAndBounds&&this._removeType3ColorOperators(Je,ut),st[rt]=Je.getIR();for(const St of Je.dependencies)$e.add(St)}).catch(function(St){(0,R.warn)(`Type3 font resource "${rt}" is not available.`);const bt=new ye.OperatorList;st[rt]=bt.getIR()})});return this.type3Loaded=Ye.then(()=>{Ue.charProcOperatorList=st,this._bbox&&(Ue.isCharBBox=!0,Ue.bbox=this._bbox)}),this.type3Loaded}_removeType3ColorOperators(Ve){let je=arguments.length>1&&arguments[1]!==void 0?arguments[1]:NaN;const Le=R.Util.normalizeRect(Ve.argsArray[0].slice(2)),et=Le[2]-Le[0],Qe=Le[3]-Le[1],Ue=Math.hypot(et,Qe);et===0||Qe===0?(Ve.fnArray.splice(0,1),Ve.argsArray.splice(0,1)):(je===0||Math.round(Ue/je)>=10)&&(this._bbox||(this._bbox=[1/0,1/0,-1/0,-1/0]),this._bbox[0]=Math.min(this._bbox[0],Le[0]),this._bbox[1]=Math.min(this._bbox[1],Le[1]),this._bbox[2]=Math.max(this._bbox[2],Le[2]),this._bbox[3]=Math.max(this._bbox[3],Le[3]));let $e=0,Ye=Ve.length;for(;$e0&&arguments[0]!==void 0?arguments[0]:new Ie;this.state=Ve,this.stateStack=[]}save(){const Ve=this.state;this.stateStack.push(this.state),this.state=Ve.clone()}restore(){const Ve=this.stateStack.pop();Ve&&(this.state=Ve)}transform(Ve){this.state.ctm=R.Util.transform(this.state.ctm,Ve)}}class we{constructor(){this.ctm=new Float32Array(R.IDENTITY_MATRIX),this.fontName=null,this.fontSize=0,this.font=null,this.fontMatrix=R.FONT_IDENTITY_MATRIX,this.textMatrix=R.IDENTITY_MATRIX.slice(),this.textLineMatrix=R.IDENTITY_MATRIX.slice(),this.charSpacing=0,this.wordSpacing=0,this.leading=0,this.textHScale=1,this.textRise=0}setTextMatrix(Ve,je,Le,et,Qe,Ue){const $e=this.textMatrix;$e[0]=Ve,$e[1]=je,$e[2]=Le,$e[3]=et,$e[4]=Qe,$e[5]=Ue}setTextLineMatrix(Ve,je,Le,et,Qe,Ue){const $e=this.textLineMatrix;$e[0]=Ve,$e[1]=je,$e[2]=Le,$e[3]=et,$e[4]=Qe,$e[5]=Ue}translateTextMatrix(Ve,je){const Le=this.textMatrix;Le[4]=Le[0]*Ve+Le[2]*je+Le[4],Le[5]=Le[1]*Ve+Le[3]*je+Le[5]}translateTextLineMatrix(Ve,je){const Le=this.textLineMatrix;Le[4]=Le[0]*Ve+Le[2]*je+Le[4],Le[5]=Le[1]*Ve+Le[3]*je+Le[5]}carriageReturn(){this.translateTextLineMatrix(0,-this.leading),this.textMatrix=this.textLineMatrix.slice()}clone(){const Ve=Object.create(this);return Ve.textMatrix=this.textMatrix.slice(),Ve.textLineMatrix=this.textLineMatrix.slice(),Ve.fontMatrix=this.fontMatrix.slice(),Ve}}class Ie{constructor(){this.ctm=new Float32Array(R.IDENTITY_MATRIX),this.font=null,this.textRenderingMode=R.TextRenderingMode.FILL,this.fillColorSpace=me.ColorSpace.singletons.gray,this.strokeColorSpace=me.ColorSpace.singletons.gray}clone(){return Object.create(this)}}class Be{static get opMap(){const Ve=(0,xe.getLookupTableFactory)(function(je){je.w={id:R.OPS.setLineWidth,numArgs:1,variableArgs:!1},je.J={id:R.OPS.setLineCap,numArgs:1,variableArgs:!1},je.j={id:R.OPS.setLineJoin,numArgs:1,variableArgs:!1},je.M={id:R.OPS.setMiterLimit,numArgs:1,variableArgs:!1},je.d={id:R.OPS.setDash,numArgs:2,variableArgs:!1},je.ri={id:R.OPS.setRenderingIntent,numArgs:1,variableArgs:!1},je.i={id:R.OPS.setFlatness,numArgs:1,variableArgs:!1},je.gs={id:R.OPS.setGState,numArgs:1,variableArgs:!1},je.q={id:R.OPS.save,numArgs:0,variableArgs:!1},je.Q={id:R.OPS.restore,numArgs:0,variableArgs:!1},je.cm={id:R.OPS.transform,numArgs:6,variableArgs:!1},je.m={id:R.OPS.moveTo,numArgs:2,variableArgs:!1},je.l={id:R.OPS.lineTo,numArgs:2,variableArgs:!1},je.c={id:R.OPS.curveTo,numArgs:6,variableArgs:!1},je.v={id:R.OPS.curveTo2,numArgs:4,variableArgs:!1},je.y={id:R.OPS.curveTo3,numArgs:4,variableArgs:!1},je.h={id:R.OPS.closePath,numArgs:0,variableArgs:!1},je.re={id:R.OPS.rectangle,numArgs:4,variableArgs:!1},je.S={id:R.OPS.stroke,numArgs:0,variableArgs:!1},je.s={id:R.OPS.closeStroke,numArgs:0,variableArgs:!1},je.f={id:R.OPS.fill,numArgs:0,variableArgs:!1},je.F={id:R.OPS.fill,numArgs:0,variableArgs:!1},je["f*"]={id:R.OPS.eoFill,numArgs:0,variableArgs:!1},je.B={id:R.OPS.fillStroke,numArgs:0,variableArgs:!1},je["B*"]={id:R.OPS.eoFillStroke,numArgs:0,variableArgs:!1},je.b={id:R.OPS.closeFillStroke,numArgs:0,variableArgs:!1},je["b*"]={id:R.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1},je.n={id:R.OPS.endPath,numArgs:0,variableArgs:!1},je.W={id:R.OPS.clip,numArgs:0,variableArgs:!1},je["W*"]={id:R.OPS.eoClip,numArgs:0,variableArgs:!1},je.BT={id:R.OPS.beginText,numArgs:0,variableArgs:!1},je.ET={id:R.OPS.endText,numArgs:0,variableArgs:!1},je.Tc={id:R.OPS.setCharSpacing,numArgs:1,variableArgs:!1},je.Tw={id:R.OPS.setWordSpacing,numArgs:1,variableArgs:!1},je.Tz={id:R.OPS.setHScale,numArgs:1,variableArgs:!1},je.TL={id:R.OPS.setLeading,numArgs:1,variableArgs:!1},je.Tf={id:R.OPS.setFont,numArgs:2,variableArgs:!1},je.Tr={id:R.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1},je.Ts={id:R.OPS.setTextRise,numArgs:1,variableArgs:!1},je.Td={id:R.OPS.moveText,numArgs:2,variableArgs:!1},je.TD={id:R.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1},je.Tm={id:R.OPS.setTextMatrix,numArgs:6,variableArgs:!1},je["T*"]={id:R.OPS.nextLine,numArgs:0,variableArgs:!1},je.Tj={id:R.OPS.showText,numArgs:1,variableArgs:!1},je.TJ={id:R.OPS.showSpacedText,numArgs:1,variableArgs:!1},je["'"]={id:R.OPS.nextLineShowText,numArgs:1,variableArgs:!1},je['"']={id:R.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1},je.d0={id:R.OPS.setCharWidth,numArgs:2,variableArgs:!1},je.d1={id:R.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1},je.CS={id:R.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1},je.cs={id:R.OPS.setFillColorSpace,numArgs:1,variableArgs:!1},je.SC={id:R.OPS.setStrokeColor,numArgs:4,variableArgs:!0},je.SCN={id:R.OPS.setStrokeColorN,numArgs:33,variableArgs:!0},je.sc={id:R.OPS.setFillColor,numArgs:4,variableArgs:!0},je.scn={id:R.OPS.setFillColorN,numArgs:33,variableArgs:!0},je.G={id:R.OPS.setStrokeGray,numArgs:1,variableArgs:!1},je.g={id:R.OPS.setFillGray,numArgs:1,variableArgs:!1},je.RG={id:R.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1},je.rg={id:R.OPS.setFillRGBColor,numArgs:3,variableArgs:!1},je.K={id:R.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1},je.k={id:R.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1},je.sh={id:R.OPS.shadingFill,numArgs:1,variableArgs:!1},je.BI={id:R.OPS.beginInlineImage,numArgs:0,variableArgs:!1},je.ID={id:R.OPS.beginImageData,numArgs:0,variableArgs:!1},je.EI={id:R.OPS.endInlineImage,numArgs:1,variableArgs:!1},je.Do={id:R.OPS.paintXObject,numArgs:1,variableArgs:!1},je.MP={id:R.OPS.markPoint,numArgs:1,variableArgs:!1},je.DP={id:R.OPS.markPointProps,numArgs:2,variableArgs:!1},je.BMC={id:R.OPS.beginMarkedContent,numArgs:1,variableArgs:!1},je.BDC={id:R.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1},je.EMC={id:R.OPS.endMarkedContent,numArgs:0,variableArgs:!1},je.BX={id:R.OPS.beginCompat,numArgs:0,variableArgs:!1},je.EX={id:R.OPS.endCompat,numArgs:0,variableArgs:!1},je.BM=null,je.BD=null,je.true=null,je.fa=null,je.fal=null,je.fals=null,je.false=null,je.nu=null,je.nul=null,je.null=null});return(0,R.shadow)(this,"opMap",Ve())}static get MAX_INVALID_PATH_OPS(){return(0,R.shadow)(this,"MAX_INVALID_PATH_OPS",10)}constructor(Ve,je){let Le=arguments.length>2&&arguments[2]!==void 0?arguments[2]:new Pe;this.parser=new Q.Parser({lexer:new Q.Lexer(Ve,Be.opMap),xref:je}),this.stateManager=Le,this.nonProcessedArgs=[],this._isPathOp=!1,this._numInvalidPathOPS=0}get savedStatesDepth(){return this.stateManager.stateStack.length}read(Ve){let je=Ve.args;for(;;){const Le=this.parser.getObj();if(Le instanceof K.Cmd){const et=Le.cmd,Qe=Be.opMap[et];if(!Qe){(0,R.warn)(`Unknown command "${et}".`);continue}const Ue=Qe.id,$e=Qe.numArgs;let Ye=je!==null?je.length:0;if(this._isPathOp||(this._numInvalidPathOPS=0),this._isPathOp=Ue>=R.OPS.moveTo&&Ue<=R.OPS.endPath,Qe.variableArgs)Ye>$e&&(0,R.info)(`Command ${et}: expected [0, ${$e}] args, but received ${Ye} args.`);else{if(Ye!==$e){const tt=this.nonProcessedArgs;for(;Ye>$e;)tt.push(je.shift()),Ye--;for(;Ye<$e&&tt.length!==0;)je===null&&(je=[]),je.unshift(tt.pop()),Ye++}if(Ye<$e){const tt=`command ${et}: expected ${$e} args, but received ${Ye} args.`;if(this._isPathOp&&++this._numInvalidPathOPS>Be.MAX_INVALID_PATH_OPS)throw new R.FormatError(`Invalid ${tt}`);(0,R.warn)(`Skipping ${tt}`),je!==null&&(je.length=0);continue}}return this.preprocessCommand(Ue,je),Ve.fn=Ue,Ve.args=je,!0}if(Le===K.EOF)return!1;if(Le!==null&&(je===null&&(je=[]),je.push(Le),je.length>33))throw new R.FormatError("Too many arguments")}}preprocessCommand(Ve,je){switch(Ve|0){case R.OPS.save:this.stateManager.save();break;case R.OPS.restore:this.stateManager.restore();break;case R.OPS.transform:this.stateManager.transform(je);break}}}D.EvaluatorPreprocessor=Be},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.IdentityCMap=D.CMapFactory=D.CMap=void 0;var R=B(2),U=B(130),K=B(132),z=B(142),e=B(131),ae=B(135);const ie=["Adobe-GB1-UCS2","Adobe-CNS1-UCS2","Adobe-Japan1-UCS2","Adobe-Korea1-UCS2","78-EUC-H","78-EUC-V","78-H","78-RKSJ-H","78-RKSJ-V","78-V","78ms-RKSJ-H","78ms-RKSJ-V","83pv-RKSJ-H","90ms-RKSJ-H","90ms-RKSJ-V","90msp-RKSJ-H","90msp-RKSJ-V","90pv-RKSJ-H","90pv-RKSJ-V","Add-H","Add-RKSJ-H","Add-RKSJ-V","Add-V","Adobe-CNS1-0","Adobe-CNS1-1","Adobe-CNS1-2","Adobe-CNS1-3","Adobe-CNS1-4","Adobe-CNS1-5","Adobe-CNS1-6","Adobe-GB1-0","Adobe-GB1-1","Adobe-GB1-2","Adobe-GB1-3","Adobe-GB1-4","Adobe-GB1-5","Adobe-Japan1-0","Adobe-Japan1-1","Adobe-Japan1-2","Adobe-Japan1-3","Adobe-Japan1-4","Adobe-Japan1-5","Adobe-Japan1-6","Adobe-Korea1-0","Adobe-Korea1-1","Adobe-Korea1-2","B5-H","B5-V","B5pc-H","B5pc-V","CNS-EUC-H","CNS-EUC-V","CNS1-H","CNS1-V","CNS2-H","CNS2-V","ETHK-B5-H","ETHK-B5-V","ETen-B5-H","ETen-B5-V","ETenms-B5-H","ETenms-B5-V","EUC-H","EUC-V","Ext-H","Ext-RKSJ-H","Ext-RKSJ-V","Ext-V","GB-EUC-H","GB-EUC-V","GB-H","GB-V","GBK-EUC-H","GBK-EUC-V","GBK2K-H","GBK2K-V","GBKp-EUC-H","GBKp-EUC-V","GBT-EUC-H","GBT-EUC-V","GBT-H","GBT-V","GBTpc-EUC-H","GBTpc-EUC-V","GBpc-EUC-H","GBpc-EUC-V","H","HKdla-B5-H","HKdla-B5-V","HKdlb-B5-H","HKdlb-B5-V","HKgccs-B5-H","HKgccs-B5-V","HKm314-B5-H","HKm314-B5-V","HKm471-B5-H","HKm471-B5-V","HKscs-B5-H","HKscs-B5-V","Hankaku","Hiragana","KSC-EUC-H","KSC-EUC-V","KSC-H","KSC-Johab-H","KSC-Johab-V","KSC-V","KSCms-UHC-H","KSCms-UHC-HW-H","KSCms-UHC-HW-V","KSCms-UHC-V","KSCpc-EUC-H","KSCpc-EUC-V","Katakana","NWP-H","NWP-V","RKSJ-H","RKSJ-V","Roman","UniCNS-UCS2-H","UniCNS-UCS2-V","UniCNS-UTF16-H","UniCNS-UTF16-V","UniCNS-UTF32-H","UniCNS-UTF32-V","UniCNS-UTF8-H","UniCNS-UTF8-V","UniGB-UCS2-H","UniGB-UCS2-V","UniGB-UTF16-H","UniGB-UTF16-V","UniGB-UTF32-H","UniGB-UTF32-V","UniGB-UTF8-H","UniGB-UTF8-V","UniJIS-UCS2-H","UniJIS-UCS2-HW-H","UniJIS-UCS2-HW-V","UniJIS-UCS2-V","UniJIS-UTF16-H","UniJIS-UTF16-V","UniJIS-UTF32-H","UniJIS-UTF32-V","UniJIS-UTF8-H","UniJIS-UTF8-V","UniJIS2004-UTF16-H","UniJIS2004-UTF16-V","UniJIS2004-UTF32-H","UniJIS2004-UTF32-V","UniJIS2004-UTF8-H","UniJIS2004-UTF8-V","UniJISPro-UCS2-HW-V","UniJISPro-UCS2-V","UniJISPro-UTF8-V","UniJISX0213-UTF32-H","UniJISX0213-UTF32-V","UniJISX02132004-UTF32-H","UniJISX02132004-UTF32-V","UniKS-UCS2-H","UniKS-UCS2-V","UniKS-UTF16-H","UniKS-UTF16-V","UniKS-UTF32-H","UniKS-UTF32-V","UniKS-UTF8-H","UniKS-UTF8-V","V","WP-Symbol"],he=2**24-1;class J{constructor(){let ce=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;this.codespaceRanges=[[],[],[],[]],this.numCodespaceRanges=0,this._map=[],this.name="",this.vertical=!1,this.useCMap=null,this.builtInCMap=ce}addCodespaceRange(ce,de,se){this.codespaceRanges[ce-1].push(de,se),this.numCodespaceRanges++}mapCidRange(ce,de,se){if(de-ce>he)throw new Error("mapCidRange - ignoring data above MAX_MAP_RANGE.");for(;ce<=de;)this._map[ce++]=se++}mapBfRange(ce,de,se){if(de-ce>he)throw new Error("mapBfRange - ignoring data above MAX_MAP_RANGE.");const oe=se.length-1;for(;ce<=de;){this._map[ce++]=se;const me=se.charCodeAt(oe)+1;if(me>255){se=se.substring(0,oe-1)+String.fromCharCode(se.charCodeAt(oe-1)+1)+"\0";continue}se=se.substring(0,oe)+String.fromCharCode(me)}}mapBfRangeToArray(ce,de,se){if(de-ce>he)throw new Error("mapBfRangeToArray - ignoring data above MAX_MAP_RANGE.");const oe=se.length;let me=0;for(;ce<=de&&me>>0;const xe=me[Ee];for(let fe=0,ve=xe.length;fe=ye&&oe<=Ce){se.charcode=oe,se.length=Ee+1;return}}}se.charcode=0,se.length=1}getCharCodeLength(ce){const de=this.codespaceRanges;for(let se=0,oe=de.length;se=xe&&ce<=fe)return se+1}}return 1}get length(){return this._map.length}get isIdentityCMap(){if(!(this.name==="Identity-H"||this.name==="Identity-V")||this._map.length!==65536)return!1;for(let ce=0;ce<65536;ce++)if(this._map[ce]!==ce)return!1;return!0}}D.CMap=J;class W extends J{constructor(ce,de){super(),this.vertical=ce,this.addCodespaceRange(de,0,65535)}mapCidRange(ce,de,se){(0,R.unreachable)("should not call mapCidRange")}mapBfRange(ce,de,se){(0,R.unreachable)("should not call mapBfRange")}mapBfRangeToArray(ce,de,se){(0,R.unreachable)("should not call mapBfRangeToArray")}mapOne(ce,de){(0,R.unreachable)("should not call mapCidOne")}lookup(ce){return Number.isInteger(ce)&&ce<=65535?ce:void 0}contains(ce){return Number.isInteger(ce)&&ce<=65535}forEach(ce){for(let de=0;de<=65535;de++)ce(de,de)}charCodeOf(ce){return Number.isInteger(ce)&&ce<=65535?ce:-1}getMap(){const ce=new Array(65536);for(let de=0;de<=65535;de++)ce[de]=de;return ce}get length(){return 65536}get isIdentityCMap(){(0,R.unreachable)("should not access .isIdentityCMap")}}D.IdentityCMap=W;const X=function(){function ce(fe,ve){let ye=0;for(let Ce=0;Ce<=ve;Ce++)ye=ye<<8|fe[Ce];return ye>>>0}function de(fe,ve){return ve===1?String.fromCharCode(fe[0],fe[1]):ve===3?String.fromCharCode(fe[0],fe[1],fe[2],fe[3]):String.fromCharCode.apply(null,fe.subarray(0,ve+1))}function se(fe,ve,ye){let Ce=0;for(let pe=ye;pe>=0;pe--)Ce+=fe[pe]+ve[pe],fe[pe]=Ce&255,Ce>>=8}function oe(fe,ve){let ye=1;for(let Ce=ve;Ce>=0&&ye>0;Ce--)ye+=fe[Ce],fe[Ce]=ye&255,ye>>=8}const me=16,Ee=19;class ke{constructor(ve){this.buffer=ve,this.pos=0,this.end=ve.length,this.tmpBuf=new Uint8Array(Ee)}readByte(){return this.pos>=this.end?-1:this.buffer[this.pos++]}readNumber(){let ve=0,ye;do{const Ce=this.readByte();if(Ce<0)throw new R.FormatError("unexpected EOF in bcmap");ye=!(Ce&128),ve=ve<<7|Ce&127}while(!ye);return ve}readSigned(){const ve=this.readNumber();return ve&1?~(ve>>>1):ve>>>1}readHex(ve,ye){ve.set(this.buffer.subarray(this.pos,this.pos+ye+1)),this.pos+=ye+1}readHexNumber(ve,ye){let Ce;const pe=this.tmpBuf;let _e=0;do{const Ze=this.readByte();if(Ze<0)throw new R.FormatError("unexpected EOF in bcmap");Ce=!(Ze&128),pe[_e++]=Ze&127}while(!Ce);let Ge=ye,Ae=0,Ne=0;for(;Ge>=0;){for(;Ne<8&&pe.length>0;)Ae|=pe[--_e]<>=8,Ne-=8}}readHexSigned(ve,ye){this.readHexNumber(ve,ye);const Ce=ve[ye]&1?255:0;let pe=0;for(let _e=0;_e<=ye;_e++)pe=(pe&1)<<8|ve[_e],ve[_e]=pe>>1^Ce}readString(){const ve=this.readNumber();let ye="";for(let Ce=0;Ce=0;){const we=Pe>>5;if(we===7){switch(Pe&31){case 0:pe.readString();break;case 1:Ge=pe.readString();break}continue}const Ie=!!(Pe&16),Be=Pe&15;if(Be+1>me)throw new Error("BinaryCMapReader.process: Invalid dataSize.");const Ke=1,Ve=pe.readNumber();switch(we){case 0:pe.readHex(Ae,Be),pe.readHexNumber(Ne,Be),se(Ne,Ae,Be),ye.addCodespaceRange(Be+1,ce(Ae,Be),ce(Ne,Be));for(let je=1;je>>0}function de(_e){if(typeof _e!="string")throw new R.FormatError("Malformed CMap: expected string.")}function se(_e){if(!Number.isInteger(_e))throw new R.FormatError("Malformed CMap: expected int.")}function oe(_e,Ge){for(;;){let Ae=Ge.getObj();if(Ae===U.EOF)break;if((0,U.isCmd)(Ae,"endbfchar"))return;de(Ae);const Ne=ce(Ae);Ae=Ge.getObj(),de(Ae);const Ze=Ae;_e.mapOne(Ne,Ze)}}function me(_e,Ge){for(;;){let Ae=Ge.getObj();if(Ae===U.EOF)break;if((0,U.isCmd)(Ae,"endbfrange"))return;de(Ae);const Ne=ce(Ae);Ae=Ge.getObj(),de(Ae);const Ze=ce(Ae);if(Ae=Ge.getObj(),Number.isInteger(Ae)||typeof Ae=="string"){const ze=Number.isInteger(Ae)?String.fromCharCode(Ae):Ae;_e.mapBfRange(Ne,Ze,ze)}else if((0,U.isCmd)(Ae,"[")){Ae=Ge.getObj();const ze=[];for(;!(0,U.isCmd)(Ae,"]")&&Ae!==U.EOF;)ze.push(Ae),Ae=Ge.getObj();_e.mapBfRangeToArray(Ne,Ze,ze)}else break}throw new R.FormatError("Invalid bf range.")}function Ee(_e,Ge){for(;;){let Ae=Ge.getObj();if(Ae===U.EOF)break;if((0,U.isCmd)(Ae,"endcidchar"))return;de(Ae);const Ne=ce(Ae);Ae=Ge.getObj(),se(Ae);const Ze=Ae;_e.mapOne(Ne,Ze)}}function ke(_e,Ge){for(;;){let Ae=Ge.getObj();if(Ae===U.EOF)break;if((0,U.isCmd)(Ae,"endcidrange"))return;de(Ae);const Ne=ce(Ae);Ae=Ge.getObj(),de(Ae);const Ze=ce(Ae);Ae=Ge.getObj(),se(Ae);const ze=Ae;_e.mapCidRange(Ne,Ze,ze)}}function xe(_e,Ge){for(;;){let Ae=Ge.getObj();if(Ae===U.EOF)break;if((0,U.isCmd)(Ae,"endcodespacerange"))return;if(typeof Ae!="string")break;const Ne=ce(Ae);if(Ae=Ge.getObj(),typeof Ae!="string")break;const Ze=ce(Ae);_e.addCodespaceRange(Ae.length,Ne,Ze)}throw new R.FormatError("Invalid codespace range.")}function fe(_e,Ge){const Ae=Ge.getObj();Number.isInteger(Ae)&&(_e.vertical=!!Ae)}function ve(_e,Ge){const Ae=Ge.getObj();Ae instanceof U.Name&&(_e.name=Ae.name)}async function ye(_e,Ge,Ae,Ne){let Ze,ze;e:for(;;)try{const Te=Ge.getObj();if(Te===U.EOF)break;if(Te instanceof U.Name)Te.name==="WMode"?fe(_e,Ge):Te.name==="CMapName"&&ve(_e,Ge),Ze=Te;else if(Te instanceof U.Cmd)switch(Te.cmd){case"endcmap":break e;case"usecmap":Ze instanceof U.Name&&(ze=Ze.name);break;case"begincodespacerange":xe(_e,Ge);break;case"beginbfchar":oe(_e,Ge);break;case"begincidchar":Ee(_e,Ge);break;case"beginbfrange":me(_e,Ge);break;case"begincidrange":ke(_e,Ge);break}}catch(Te){if(Te instanceof e.MissingDataException)throw Te;(0,R.warn)("Invalid cMap data: "+Te);continue}return!Ne&&ze&&(Ne=ze),Ne?Ce(_e,Ae,Ne):_e}async function Ce(_e,Ge,Ae){if(_e.useCMap=await pe(Ae,Ge),_e.numCodespaceRanges===0){const Ne=_e.useCMap.codespaceRanges;for(let Ze=0;ZeCe(Ze,Ge,ze));if(Ne===R.CMapCompressionType.NONE){const ze=new z.Lexer(new ae.Stream(Ae));return ye(Ze,ze,Ge,null)}throw new Error("TODO: Only BINARY/NONE CMap compression is currently supported.")}return{async create(_e){const Ge=_e.encoding,Ae=_e.fetchBuiltInCMap,Ne=_e.useCMap;if(Ge instanceof U.Name)return pe(Ge.name,Ae);if(Ge instanceof K.BaseStream){const Ze=await ye(new J,new z.Lexer(Ge),Ae,Ne);return Ze.isIdentityCMap?pe(Ze.name,Ae):Ze}throw new Error("Encoding required.")}}}();D.CMapFactory=L},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Parser=D.Linearization=D.Lexer=void 0;var R=B(2),U=B(130),K=B(131),z=B(143),e=B(145),ae=B(146),ie=B(148),he=B(149),J=B(152),W=B(154),X=B(156),L=B(135),Q=B(157),ce=B(158);const de=1e3,se=5552;function oe(ve){const ye=ve.length;let Ce=1,pe=0;for(let _e=0;_e0&&arguments[0]!==void 0?arguments[0]:null;const Ce=this.buf1;if(this.shift(),Ce instanceof U.Cmd)switch(Ce.cmd){case"BI":return this.makeInlineImage(ye);case"[":const pe=[];for(;!(0,U.isCmd)(this.buf1,"]")&&this.buf1!==U.EOF;)pe.push(this.getObj(ye));if(this.buf1===U.EOF){if(this.recoveryMode)return pe;throw new K.ParserEOFException("End of file inside array.")}return this.shift(),pe;case"<<":const _e=new U.Dict(this.xref);for(;!(0,U.isCmd)(this.buf1,">>")&&this.buf1!==U.EOF;){if(!(this.buf1 instanceof U.Name)){(0,R.info)("Malformed dictionary: key must be a name object"),this.shift();continue}const Ge=this.buf1.name;if(this.shift(),this.buf1===U.EOF)break;_e.set(Ge,this.getObj(ye))}if(this.buf1===U.EOF){if(this.recoveryMode)return _e;throw new K.ParserEOFException("End of file inside dictionary.")}return(0,U.isCmd)(this.buf2,"stream")?this.allowStreams?this.makeStream(_e,ye):_e:(this.shift(),_e);default:return Ce}if(Number.isInteger(Ce)){if(Number.isInteger(this.buf1)&&(0,U.isCmd)(this.buf2,"R")){const pe=U.Ref.get(Ce,this.buf1);return this.shift(),this.shift(),pe}return Ce}return typeof Ce=="string"&&ye?ye.decryptString(Ce):Ce}findDefaultInlineStreamEnd(ye){const Ze=this.lexer,ze=ye.pos,Te=10;let Fe=0,Pe,we;for(;(Pe=ye.getByte())!==-1;)if(Fe===0)Fe=Pe===69?1:0;else if(Fe===1)Fe=Pe===73?2:0;else if((0,R.assert)(Fe===2,"findDefaultInlineStreamEnd - invalid state."),Pe===32||Pe===10||Pe===13){we=ye.pos;const Be=ye.peekBytes(Te);for(let Ke=0,Ve=Be.length;Ke127)){Fe=0;break}if(Fe!==2)continue;if(Ze.knownCommands){const Ke=Ze.peekObj();Ke instanceof U.Cmd&&!Ze.knownCommands[Ke.cmd]&&(Fe=0)}else(0,R.warn)("findDefaultInlineStreamEnd - `lexer.knownCommands` is undefined.");if(Fe===2)break}else Fe=0;Pe===-1&&((0,R.warn)("findDefaultInlineStreamEnd: Reached the end of the stream without finding a valid EI marker"),we&&((0,R.warn)('... trying to recover by using the last "EI" occurrence.'),ye.skip(-(ye.pos-we))));let Ie=4;return ye.skip(-Ie),Pe=ye.peekByte(),ye.skip(Ie),(0,K.isWhiteSpace)(Pe)||Ie--,ye.pos-Ie-ze}findDCTDecodeInlineStreamEnd(ye){const Ce=ye.pos;let pe=!1,_e,Ge;for(;(_e=ye.getByte())!==-1;)if(_e===255){switch(ye.getByte()){case 0:break;case 255:ye.skip(-1);break;case 217:pe=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:Ge=ye.getUint16(),Ge>2?ye.skip(Ge-2):ye.skip(-2);break}if(pe)break}const Ae=ye.pos-Ce;return _e===-1?((0,R.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead."),ye.skip(-Ae),this.findDefaultInlineStreamEnd(ye)):(this.inlineStreamSkipEI(ye),Ae)}findASCII85DecodeInlineStreamEnd(ye){const _e=ye.pos;let Ge;for(;(Ge=ye.getByte())!==-1;)if(Ge===126){const Ne=ye.pos;for(Ge=ye.peekByte();(0,K.isWhiteSpace)(Ge);)ye.skip(),Ge=ye.peekByte();if(Ge===62){ye.skip();break}if(ye.pos>Ne){const Ze=ye.peekBytes(2);if(Ze[0]===69&&Ze[1]===73)break}}const Ae=ye.pos-_e;return Ge===-1?((0,R.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead."),ye.skip(-Ae),this.findDefaultInlineStreamEnd(ye)):(this.inlineStreamSkipEI(ye),Ae)}findASCIIHexDecodeInlineStreamEnd(ye){const pe=ye.pos;let _e;for(;(_e=ye.getByte())!==-1&&_e!==62;);const Ge=ye.pos-pe;return _e===-1?((0,R.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead."),ye.skip(-Ge),this.findDefaultInlineStreamEnd(ye)):(this.inlineStreamSkipEI(ye),Ge)}inlineStreamSkipEI(ye){let _e=0,Ge;for(;(Ge=ye.getByte())!==-1;)if(_e===0)_e=Ge===69?1:0;else if(_e===1)_e=Ge===73?2:0;else if(_e===2)break}makeInlineImage(ye){const Ce=this.lexer,pe=Ce.stream,_e=new U.Dict(this.xref);let Ge;for(;!(0,U.isCmd)(this.buf1,"ID")&&this.buf1!==U.EOF;){if(!(this.buf1 instanceof U.Name))throw new R.FormatError("Dictionary key must be a name object");const Pe=this.buf1.name;if(this.shift(),this.buf1===U.EOF)break;_e.set(Pe,this.getObj(ye))}Ce.beginInlineImagePos!==-1&&(Ge=pe.pos-Ce.beginInlineImagePos);const Ae=_e.get("F","Filter");let Ne;if(Ae instanceof U.Name)Ne=Ae.name;else if(Array.isArray(Ae)){const Pe=this.xref.fetchIfRef(Ae[0]);Pe instanceof U.Name&&(Ne=Pe.name)}const Ze=pe.pos;let ze;switch(Ne){case"DCT":case"DCTDecode":ze=this.findDCTDecodeInlineStreamEnd(pe);break;case"A85":case"ASCII85Decode":ze=this.findASCII85DecodeInlineStreamEnd(pe);break;case"AHx":case"ASCIIHexDecode":ze=this.findASCIIHexDecodeInlineStreamEnd(pe);break;default:ze=this.findDefaultInlineStreamEnd(pe)}let Te=pe.makeSubStream(Ze,ze,_e),Fe;if(ze=Ge)return pe.pos+=Ze,pe.pos-ye;Ze++}pe.pos+=Ne}return-1}makeStream(ye,Ce){const pe=this.lexer;let _e=pe.stream;pe.skipToNextLine();const Ge=_e.pos-1;let Ae=ye.get("Length");if(Number.isInteger(Ae)||((0,R.info)(`Bad length "${Ae&&Ae.toString()}" in stream.`),Ae=0),_e.pos=Ge+Ae,pe.nextChar(),this.tryShift()&&(0,U.isCmd)(this.buf2,"endstream"))this.shift();else{const Ne=new Uint8Array([101,110,100,115,116,114,101,97,109]);let Ze=this._findStreamLength(Ge,Ne);if(Ze<0){for(let Te=1;Te<=1;Te++){const Fe=Ne.length-Te,Pe=Ne.slice(0,Fe),we=this._findStreamLength(Ge,Pe);if(we>=0){const Ie=_e.peekBytes(Fe+1)[Fe];if(!(0,K.isWhiteSpace)(Ie))break;(0,R.info)(`Found "${(0,R.bytesToString)(Pe)}" when searching for endstream command.`),Ze=we;break}}if(Ze<0)throw new R.FormatError("Missing endstream command.")}Ae=Ze,pe.nextChar(),this.shift(),this.shift()}return this.shift(),_e=_e.makeSubStream(Ge,Ae,ye),Ce&&(_e=Ce.createStream(_e,Ae)),_e=this.filter(_e,ye,Ae),_e.dict=ye,_e}filter(ye,Ce,pe){let _e=Ce.get("F","Filter"),Ge=Ce.get("DP","DecodeParms");if(_e instanceof U.Name)return Array.isArray(Ge)&&(0,R.warn)("/DecodeParms should not be an Array, when /Filter is a Name."),this.makeFilter(ye,_e.name,pe,Ge);let Ae=pe;if(Array.isArray(_e)){const Ne=_e,Ze=Ge;for(let ze=0,Te=Ne.length;ze=48&&ve<=57?ve&15:ve>=65&&ve<=70||ve>=97&&ve<=102?(ve&15)+9:-1}class xe{constructor(ye){let Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.stream=ye,this.nextChar(),this.strBuf=[],this.knownCommands=Ce,this._hexStringNumWarn=0,this.beginInlineImagePos=-1}nextChar(){return this.currentChar=this.stream.getByte()}peekChar(){return this.stream.peekByte()}getNumber(){let ye=this.currentChar,Ce=!1,pe=0,_e=0;if(ye===45?(_e=-1,ye=this.nextChar(),ye===45&&(ye=this.nextChar())):ye===43&&(_e=1,ye=this.nextChar()),ye===10||ye===13)do ye=this.nextChar();while(ye===10||ye===13);if(ye===46&&(pe=10,ye=this.nextChar()),ye<48||ye>57){if((0,K.isWhiteSpace)(ye)||ye===-1){if(pe===10&&_e===0)return(0,R.warn)("Lexer.getNumber - treating a single decimal point as zero."),0;if(pe===0&&_e===-1)return(0,R.warn)("Lexer.getNumber - treating a single minus sign as zero."),0}throw new R.FormatError(`Invalid number: ${String.fromCharCode(ye)} (charCode ${ye})`)}_e=_e||1;let Ge=ye-48,Ae=0,Ne=1;for(;(ye=this.nextChar())>=0;)if(ye>=48&&ye<=57){const Ze=ye-48;Ce?Ae=Ae*10+Ze:(pe!==0&&(pe*=10),Ge=Ge*10+Ze)}else if(ye===46)if(pe===0)pe=1;else break;else if(ye===45)(0,R.warn)("Badly formatted number: minus sign in the middle");else if(ye===69||ye===101){if(ye=this.peekChar(),ye===43||ye===45)Ne=ye===45?-1:1,this.nextChar();else if(ye<48||ye>57)break;Ce=!0}else break;return pe!==0&&(Ge/=pe),Ce&&(Ge*=10**(Ne*Ae)),_e*Ge}getString(){let ye=1,Ce=!1;const pe=this.strBuf;pe.length=0;let _e=this.nextChar();for(;;){let Ge=!1;switch(_e|0){case-1:(0,R.warn)("Unterminated string"),Ce=!0;break;case 40:++ye,pe.push("(");break;case 41:--ye===0?(this.nextChar(),Ce=!0):pe.push(")");break;case 92:switch(_e=this.nextChar(),_e){case-1:(0,R.warn)("Unterminated string"),Ce=!0;break;case 110:pe.push(` +`);break;case 114:pe.push("\r");break;case 116:pe.push(" ");break;case 98:pe.push("\b");break;case 102:pe.push("\f");break;case 92:case 40:case 41:pe.push(String.fromCharCode(_e));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:let Ae=_e&15;_e=this.nextChar(),Ge=!0,_e>=48&&_e<=55&&(Ae=(Ae<<3)+(_e&15),_e=this.nextChar(),_e>=48&&_e<=55&&(Ge=!1,Ae=(Ae<<3)+(_e&15))),pe.push(String.fromCharCode(Ae));break;case 13:this.peekChar()===10&&this.nextChar();break;case 10:break;default:pe.push(String.fromCharCode(_e));break}break;default:pe.push(String.fromCharCode(_e));break}if(Ce)break;Ge||(_e=this.nextChar())}return pe.join("")}getName(){let ye,Ce;const pe=this.strBuf;for(pe.length=0;(ye=this.nextChar())>=0&&!Ee[ye];)if(ye===35){if(ye=this.nextChar(),Ee[ye]){(0,R.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number."),pe.push("#");break}const _e=ke(ye);if(_e!==-1){Ce=ye,ye=this.nextChar();const Ge=ke(ye);if(Ge===-1){if((0,R.warn)(`Lexer_getName: Illegal digit (${String.fromCharCode(ye)}) in hexadecimal number.`),pe.push("#",String.fromCharCode(Ce)),Ee[ye])break;pe.push(String.fromCharCode(ye));continue}pe.push(String.fromCharCode(_e<<4|Ge))}else pe.push("#",String.fromCharCode(ye))}else pe.push(String.fromCharCode(ye));return pe.length>127&&(0,R.warn)(`Name token is longer than allowed by the spec: ${pe.length}`),U.Name.get(pe.join(""))}_hexStringWarn(ye){if(this._hexStringNumWarn++===5){(0,R.warn)("getHexString - ignoring additional invalid characters.");return}this._hexStringNumWarn>5||(0,R.warn)(`getHexString - ignoring invalid character: ${ye}`)}getHexString(){const ye=this.strBuf;ye.length=0;let Ce=this.currentChar,pe=!0,_e,Ge;for(this._hexStringNumWarn=0;;)if(Ce<0){(0,R.warn)("Unterminated hex string");break}else if(Ce===62){this.nextChar();break}else if(Ee[Ce]===1){Ce=this.nextChar();continue}else{if(pe){if(_e=ke(Ce),_e===-1){this._hexStringWarn(Ce),Ce=this.nextChar();continue}}else{if(Ge=ke(Ce),Ge===-1){this._hexStringWarn(Ce),Ce=this.nextChar();continue}ye.push(String.fromCharCode(_e<<4|Ge))}pe=!pe,Ce=this.nextChar()}return ye.join("")}getObj(){let ye=!1,Ce=this.currentChar;for(;;){if(Ce<0)return U.EOF;if(ye)(Ce===10||Ce===13)&&(ye=!1);else if(Ce===37)ye=!0;else if(Ee[Ce]!==1)break;Ce=this.nextChar()}switch(Ce|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:return this.nextChar(),U.Cmd.get("[");case 93:return this.nextChar(),U.Cmd.get("]");case 60:return Ce=this.nextChar(),Ce===60?(this.nextChar(),U.Cmd.get("<<")):this.getHexString();case 62:return Ce=this.nextChar(),Ce===62?(this.nextChar(),U.Cmd.get(">>")):U.Cmd.get(">");case 123:return this.nextChar(),U.Cmd.get("{");case 125:return this.nextChar(),U.Cmd.get("}");case 41:throw this.nextChar(),new R.FormatError(`Illegal character: ${Ce}`)}let pe=String.fromCharCode(Ce);if(Ce<32||Ce>127){const Ae=this.peekChar();if(Ae>=32&&Ae<=127)return this.nextChar(),U.Cmd.get(pe)}const _e=this.knownCommands;let Ge=_e&&_e[pe]!==void 0;for(;(Ce=this.nextChar())>=0&&!Ee[Ce];){const Ae=pe+String.fromCharCode(Ce);if(Ge&&_e[Ae]===void 0)break;if(pe.length===128)throw new R.FormatError(`Command token too long: ${pe.length}`);pe=Ae,Ge=_e&&_e[pe]!==void 0}return pe==="true"?!0:pe==="false"?!1:pe==="null"?null:(pe==="BI"&&(this.beginInlineImagePos=this.stream.pos),U.Cmd.get(pe))}peekObj(){const ye=this.stream.pos,Ce=this.currentChar,pe=this.beginInlineImagePos;let _e;try{_e=this.getObj()}catch(Ge){if(Ge instanceof K.MissingDataException)throw Ge;(0,R.warn)(`peekObj: ${Ge}`)}return this.stream.pos=ye,this.currentChar=Ce,this.beginInlineImagePos=pe,_e}skipToNextLine(){let ye=this.currentChar;for(;ye>=0;){if(ye===13){ye=this.nextChar(),ye===10&&this.nextChar();break}else if(ye===10){this.nextChar();break}ye=this.nextChar()}}}D.Lexer=xe;class fe{static create(ye){function Ce(Fe,Pe){let we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const Ie=Fe.get(Pe);if(Number.isInteger(Ie)&&(we?Ie>=0:Ie>0))return Ie;throw new Error(`The "${Pe}" parameter in the linearization dictionary is invalid.`)}function pe(Fe){const Pe=Fe.get("H");let we;if(Array.isArray(Pe)&&((we=Pe.length)===2||we===4)){for(let Ie=0;Ie0))throw new Error(`Hint (${Ie}) in the linearization dictionary is invalid.`)}return Pe}throw new Error("Hint array in the linearization dictionary is invalid.")}const _e=new me({lexer:new xe(ye),xref:null}),Ge=_e.getObj(),Ae=_e.getObj(),Ne=_e.getObj(),Ze=_e.getObj();let ze,Te;if(Number.isInteger(Ge)&&Number.isInteger(Ae)&&(0,U.isCmd)(Ne,"obj")&&Ze instanceof U.Dict&&typeof(ze=Ze.get("Linearized"))=="number"&&ze>0){if((Te=Ce(Ze,"L"))!==ye.length)throw new Error('The "L" parameter in the linearization dictionary does not equal the stream length.')}else return null;return{length:Te,hints:pe(Ze),objectNumberFirst:Ce(Ze,"O"),endFirst:Ce(Ze,"E"),numPages:Ce(Ze,"N"),mainXRefEntriesOffset:Ce(Ze,"T"),pageFirst:Ze.has("P")?Ce(Ze,"P",!0):0}}}D.Linearization=fe},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Ascii85Stream=void 0;var R=B(144),U=B(131);class K extends R.DecodeStream{constructor(e,ae){ae&&(ae*=.8),super(ae),this.str=e,this.dict=e.dict,this.input=new Uint8Array(5)}readBlock(){const he=this.str;let J=he.getByte();for(;(0,U.isWhiteSpace)(J);)J=he.getByte();if(J===-1||J===126){this.eof=!0;return}const W=this.bufferLength;let X,L;if(J===122){for(X=this.ensureBuffer(W+4),L=0;L<4;++L)X[W+L]=0;this.bufferLength+=4}else{const Q=this.input;for(Q[0]=J,L=1;L<5;++L){for(J=he.getByte();(0,U.isWhiteSpace)(J);)J=he.getByte();if(Q[L]=J,J===-1||J===126)break}if(X=this.ensureBuffer(W+L-1),this.bufferLength+=L-1,L<5){for(;L<5;++L)Q[L]=117;this.eof=!0}let ce=0;for(L=0;L<5;++L)ce=ce*85+(Q[L]-33);for(L=3;L>=0;--L)X[W+L]=ce&255,ce>>=8}}}D.Ascii85Stream=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.StreamsSequenceStream=D.DecodeStream=void 0;var R=B(132),U=B(135);const K=new Uint8Array(0);class z extends R.BaseStream{constructor(ie){if(super(),this._rawMinBufferLength=ie||0,this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=K,this.minBufferLength=512,ie)for(;this.minBufferLengthW&&(J=W)}else{for(;!this.eof;)this.readBlock();J=this.bufferLength}return this.pos=J,this.buffer.subarray(he,J)}reset(){this.pos=0}makeSubStream(ie,he){let J=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;if(he===void 0)for(;!this.eof;)this.readBlock();else{const W=ie+he;for(;this.bufferLength<=W&&!this.eof;)this.readBlock()}return new U.Stream(this.buffer,ie,he,J)}getBaseStreams(){return this.str?this.str.getBaseStreams():null}}D.DecodeStream=z;class e extends z{constructor(ie){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,J=0;for(const W of ie)J+=W instanceof z?W._rawMinBufferLength:W.length;super(J),this.streams=ie,this._onError=he}readBlock(){const ie=this.streams;if(ie.length===0){this.eof=!0;return}const he=ie.shift();let J;try{J=he.getBytes()}catch(Q){if(this._onError){this._onError(Q,he.dict&&he.dict.objId);return}throw Q}const W=this.bufferLength,X=W+J.length;this.ensureBuffer(X).set(J,W),this.bufferLength=X}getBaseStreams(){const ie=[];for(const he of this.streams){const J=he.getBaseStreams();J&&ie.push(...J)}return ie.length>0?ie:null}}D.StreamsSequenceStream=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.AsciiHexStream=void 0;var R=B(144);class U extends R.DecodeStream{constructor(z,e){e&&(e*=.5),super(e),this.str=z,this.dict=z.dict,this.firstDigit=-1}readBlock(){const e=this.str.getBytes(8e3);if(!e.length){this.eof=!0;return}const ae=e.length+1>>1,ie=this.ensureBuffer(this.bufferLength+ae);let he=this.bufferLength,J=this.firstDigit;for(const W of e){let X;if(W>=48&&W<=57)X=W&15;else if(W>=65&&W<=70||W>=97&&W<=102)X=(W&15)+9;else if(W===62){this.eof=!0;break}else continue;J<0?J=X:(ie[he++]=J<<4|X,J=-1)}J>=0&&this.eof&&(ie[he++]=J<<4,J=-1),this.firstDigit=J,this.bufferLength=he}}D.AsciiHexStream=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CCITTFaxStream=void 0;var R=B(147),U=B(144),K=B(130);class z extends U.DecodeStream{constructor(ae,ie,he){super(ie),this.str=ae,this.dict=ae.dict,he instanceof K.Dict||(he=K.Dict.empty);const J={next(){return ae.getByte()}};this.ccittFaxDecoder=new R.CCITTFaxDecoder(J,{K:he.get("K"),EndOfLine:he.get("EndOfLine"),EncodedByteAlign:he.get("EncodedByteAlign"),Columns:he.get("Columns"),Rows:he.get("Rows"),EndOfBlock:he.get("EndOfBlock"),BlackIs1:he.get("BlackIs1")})}readBlock(){for(;!this.eof;){const ae=this.ccittFaxDecoder.readNextChar();if(ae===-1){this.eof=!0;return}this.ensureBuffer(this.bufferLength+1),this.buffer[this.bufferLength++]=ae}}}D.CCITTFaxStream=z},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CCITTFaxDecoder=void 0;var R=B(2);const U=-2,K=-1,z=0,e=1,ae=2,ie=3,he=4,J=5,W=6,X=7,L=8,Q=[[-1,-1],[-1,-1],[7,L],[7,X],[6,W],[6,W],[6,J],[6,J],[4,z],[4,z],[4,z],[4,z],[4,z],[4,z],[4,z],[4,z],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,e],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,he],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[3,ie],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae],[1,ae]],ce=[[-1,-1],[12,U],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[12,1984],[12,2048],[12,2112],[12,2176],[12,2240],[12,2304],[11,1856],[11,1856],[11,1920],[11,1920],[12,2368],[12,2432],[12,2496],[12,2560]],de=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[8,29],[8,29],[8,30],[8,30],[8,45],[8,45],[8,46],[8,46],[7,22],[7,22],[7,22],[7,22],[7,23],[7,23],[7,23],[7,23],[8,47],[8,47],[8,48],[8,48],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[6,13],[7,20],[7,20],[7,20],[7,20],[8,33],[8,33],[8,34],[8,34],[8,35],[8,35],[8,36],[8,36],[8,37],[8,37],[8,38],[8,38],[7,19],[7,19],[7,19],[7,19],[8,31],[8,31],[8,32],[8,32],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[6,12],[8,53],[8,53],[8,54],[8,54],[7,26],[7,26],[7,26],[7,26],[8,39],[8,39],[8,40],[8,40],[8,41],[8,41],[8,42],[8,42],[8,43],[8,43],[8,44],[8,44],[7,21],[7,21],[7,21],[7,21],[7,28],[7,28],[7,28],[7,28],[8,61],[8,61],[8,62],[8,62],[8,63],[8,63],[8,0],[8,0],[8,320],[8,320],[8,384],[8,384],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,10],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[5,11],[7,27],[7,27],[7,27],[7,27],[8,59],[8,59],[8,60],[8,60],[9,1472],[9,1536],[9,1600],[9,1728],[7,18],[7,18],[7,18],[7,18],[7,24],[7,24],[7,24],[7,24],[8,49],[8,49],[8,50],[8,50],[8,51],[8,51],[8,52],[8,52],[7,25],[7,25],[7,25],[7,25],[8,55],[8,55],[8,56],[8,56],[8,57],[8,57],[8,58],[8,58],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,192],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[6,1664],[8,448],[8,448],[8,512],[8,512],[9,704],[9,768],[8,640],[8,640],[8,576],[8,576],[9,832],[9,896],[9,960],[9,1024],[9,1088],[9,1152],[9,1216],[9,1280],[9,1344],[9,1408],[7,256],[7,256],[7,256],[7,256],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,2],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[4,3],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,128],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,8],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[5,9],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,16],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[6,17],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,4],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[4,5],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,14],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[6,15],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[5,64],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,6],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7],[4,7]],se=[[-1,-1],[-1,-1],[12,U],[12,U],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[-1,-1],[11,1792],[11,1792],[11,1792],[11,1792],[12,1984],[12,1984],[12,2048],[12,2048],[12,2112],[12,2112],[12,2176],[12,2176],[12,2240],[12,2240],[12,2304],[12,2304],[11,1856],[11,1856],[11,1856],[11,1856],[11,1920],[11,1920],[11,1920],[11,1920],[12,2368],[12,2368],[12,2432],[12,2432],[12,2496],[12,2496],[12,2560],[12,2560],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[10,18],[12,52],[12,52],[13,640],[13,704],[13,768],[13,832],[12,55],[12,55],[12,56],[12,56],[13,1280],[13,1344],[13,1408],[13,1472],[12,59],[12,59],[12,60],[12,60],[13,1536],[13,1600],[11,24],[11,24],[11,24],[11,24],[11,25],[11,25],[11,25],[11,25],[13,1664],[13,1728],[12,320],[12,320],[12,384],[12,384],[12,448],[12,448],[13,512],[13,576],[12,53],[12,53],[12,54],[12,54],[13,896],[13,960],[13,1024],[13,1088],[13,1152],[13,1216],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64],[10,64]],oe=[[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[8,13],[11,23],[11,23],[12,50],[12,51],[12,44],[12,45],[12,46],[12,47],[12,57],[12,58],[12,61],[12,256],[10,16],[10,16],[10,16],[10,16],[10,17],[10,17],[10,17],[10,17],[12,48],[12,49],[12,62],[12,63],[12,30],[12,31],[12,32],[12,33],[12,40],[12,41],[11,22],[11,22],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[8,14],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,10],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[7,11],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[9,15],[12,128],[12,192],[12,26],[12,27],[12,28],[12,29],[11,19],[11,19],[11,20],[11,20],[12,34],[12,35],[12,36],[12,37],[12,38],[12,39],[11,21],[11,21],[12,42],[12,43],[10,0],[10,0],[10,0],[10,0],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12],[7,12]],me=[[-1,-1],[-1,-1],[-1,-1],[-1,-1],[6,9],[6,8],[5,7],[5,7],[4,6],[4,6],[4,6],[4,6],[4,5],[4,5],[4,5],[4,5],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,1],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[3,4],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,3],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2],[2,2]];class Ee{constructor(xe){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!xe||typeof xe.next!="function")throw new Error('CCITTFaxDecoder - invalid "source" parameter.');this.source=xe,this.eof=!1,this.encoding=fe.K||0,this.eoline=fe.EndOfLine||!1,this.byteAlign=fe.EncodedByteAlign||!1,this.columns=fe.Columns||1728,this.rows=fe.Rows||0;let ve=fe.EndOfBlock;ve==null&&(ve=!0),this.eoblock=ve,this.black=fe.BlackIs1||!1,this.codingLine=new Uint32Array(this.columns+1),this.refLine=new Uint32Array(this.columns+2),this.codingLine[0]=this.columns,this.codingPos=0,this.row=0,this.nextLine2D=this.encoding<0,this.inputBits=0,this.inputBuf=0,this.outputBits=0,this.rowsDone=!1;let ye;for(;(ye=this._lookBits(12))===0;)this._eatBits(1);ye===1&&this._eatBits(12),this.encoding>0&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1))}readNextChar(){if(this.eof)return-1;const xe=this.refLine,fe=this.codingLine,ve=this.columns;let ye,Ce,pe,_e;if(this.outputBits===0){if(this.rowsDone&&(this.eof=!0),this.eof)return-1;this.err=!1;let Ae,Ne,Ze;if(this.nextLine2D){for(_e=0;fe[_e]=64);do Ne+=Ze=this._getWhiteCode();while(Ze>=64)}else{do Ae+=Ze=this._getWhiteCode();while(Ze>=64);do Ne+=Ze=this._getBlackCode();while(Ze>=64)}for(this._addPixels(fe[this.codingPos]+Ae,Ce),fe[this.codingPos]0?--ye:++ye;xe[ye]<=fe[this.codingPos]&&xe[ye]0?--ye:++ye;xe[ye]<=fe[this.codingPos]&&xe[ye]0?--ye:++ye;xe[ye]<=fe[this.codingPos]&&xe[ye]=64);else do Ae+=Ze=this._getWhiteCode();while(Ze>=64);this._addPixels(fe[this.codingPos]+Ae,Ce),Ce^=1}let ze=!1;if(this.byteAlign&&(this.inputBits&=-8),!this.eoblock&&this.row===this.rows-1)this.rowsDone=!0;else{if(Ae=this._lookBits(12),this.eoline)for(;Ae!==K&&Ae!==1;)this._eatBits(1),Ae=this._lookBits(12);else for(;Ae===0;)this._eatBits(1),Ae=this._lookBits(12);Ae===1?(this._eatBits(12),ze=!0):Ae===K&&(this.eof=!0)}if(!this.eof&&this.encoding>0&&!this.rowsDone&&(this.nextLine2D=!this._lookBits(1),this._eatBits(1)),this.eoblock&&ze&&this.byteAlign){if(Ae=this._lookBits(12),Ae===1){if(this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1)),this.encoding>=0)for(_e=0;_e<4;++_e)Ae=this._lookBits(12),Ae!==1&&(0,R.info)("bad rtc code: "+Ae),this._eatBits(12),this.encoding>0&&(this._lookBits(1),this._eatBits(1));this.eof=!0}}else if(this.err&&this.eoline){for(;;){if(Ae=this._lookBits(13),Ae===K)return this.eof=!0,-1;if(Ae>>1===1)break;this._eatBits(1)}this._eatBits(12),this.encoding>0&&(this._eatBits(1),this.nextLine2D=!(Ae&1))}fe[0]>0?this.outputBits=fe[this.codingPos=0]:this.outputBits=fe[this.codingPos=1],this.row++}let Ge;if(this.outputBits>=8)Ge=this.codingPos&1?0:255,this.outputBits-=8,this.outputBits===0&&fe[this.codingPos]pe?(Ge<<=pe,this.codingPos&1||(Ge|=255>>8-pe),this.outputBits-=pe,pe=0):(Ge<<=this.outputBits,this.codingPos&1||(Ge|=255>>8-this.outputBits),pe-=this.outputBits,this.outputBits=0,fe[this.codingPos]0&&(Ge<<=pe,pe=0))}while(pe)}return this.black&&(Ge^=255),Ge}_addPixels(xe,fe){const ve=this.codingLine;let ye=this.codingPos;xe>ve[ye]&&(xe>this.columns&&((0,R.info)("row is wrong length"),this.err=!0,xe=this.columns),ye&1^fe&&++ye,ve[ye]=xe),this.codingPos=ye}_addPixelsNeg(xe,fe){const ve=this.codingLine;let ye=this.codingPos;if(xe>ve[ye])xe>this.columns&&((0,R.info)("row is wrong length"),this.err=!0,xe=this.columns),ye&1^fe&&++ye,ve[ye]=xe;else if(xe0&&xe=Ce){const Ge=ve[_e-Ce];if(Ge[0]===pe)return this._eatBits(pe),[!0,Ge[1],!0]}}return[!1,0,!1]}_getTwoDimCode(){let xe=0,fe;if(this.eoblock){if(xe=this._lookBits(7),fe=Q[xe],fe&&fe[0]>0)return this._eatBits(fe[0]),fe[1]}else{const ve=this._findTableCode(1,7,Q);if(ve[0]&&ve[2])return ve[1]}return(0,R.info)("Bad two dim code"),K}_getWhiteCode(){let xe=0,fe;if(this.eoblock){if(xe=this._lookBits(12),xe===K)return 1;if(xe>>5?fe=de[xe>>3]:fe=ce[xe],fe[0]>0)return this._eatBits(fe[0]),fe[1]}else{let ve=this._findTableCode(1,9,de);if(ve[0]||(ve=this._findTableCode(11,12,ce),ve[0]))return ve[1]}return(0,R.info)("bad white code"),this._eatBits(1),1}_getBlackCode(){let xe,fe;if(this.eoblock){if(xe=this._lookBits(13),xe===K)return 1;if(xe>>7?!(xe>>9)&&xe>>7?fe=oe[(xe>>1)-64]:fe=me[xe>>7]:fe=se[xe],fe[0]>0)return this._eatBits(fe[0]),fe[1]}else{let ve=this._findTableCode(2,6,me);if(ve[0]||(ve=this._findTableCode(7,12,oe,64),ve[0])||(ve=this._findTableCode(10,13,se),ve[0]))return ve[1]}return(0,R.info)("bad black code"),this._eatBits(1),1}_lookBits(xe){let fe;for(;this.inputBits>16-xe;this.inputBuf=this.inputBuf<<8|fe,this.inputBits+=8}return this.inputBuf>>this.inputBits-xe&65535>>16-xe}_eatBits(xe){(this.inputBits-=xe)<0&&(this.inputBits=0)}}D.CCITTFaxDecoder=Ee},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.FlateStream=void 0;var R=B(144),U=B(2);const K=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),z=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),e=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),ae=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],ie=[new Int32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];class he extends R.DecodeStream{constructor(W,X){super(X),this.str=W,this.dict=W.dict;const L=W.getByte(),Q=W.getByte();if(L===-1||Q===-1)throw new U.FormatError(`Invalid header in flate stream: ${L}, ${Q}`);if((L&15)!==8)throw new U.FormatError(`Unknown compression method in flate stream: ${L}, ${Q}`);if(((L<<8)+Q)%31!==0)throw new U.FormatError(`Bad FCHECK in flate stream: ${L}, ${Q}`);if(Q&32)throw new U.FormatError(`FDICT bit set in flate stream: ${L}, ${Q}`);this.codeSize=0,this.codeBuf=0}getBits(W){const X=this.str;let L=this.codeSize,Q=this.codeBuf,ce;for(;L>W,this.codeSize=L-=W,ce}getCode(W){const X=this.str,L=W[0],Q=W[1];let ce=this.codeSize,de=this.codeBuf,se;for(;ce>16,Ee=oe&65535;if(me<1||ce>me,this.codeSize=ce-me,Ee}generateHuffmanTable(W){const X=W.length;let L=0,Q;for(Q=0;QL&&(L=W[Q]);const ce=1<>=1;for(Q=ke;Q>=1,Q===0){let me;if((me=L.getByte())===-1)throw new U.FormatError("Bad block header in flate stream");let Ee=me;if((me=L.getByte())===-1)throw new U.FormatError("Bad block header in flate stream");if(Ee|=me<<8,(me=L.getByte())===-1)throw new U.FormatError("Bad block header in flate stream");let ke=me;if((me=L.getByte())===-1)throw new U.FormatError("Bad block header in flate stream");if(ke|=me<<8,ke!==(~Ee&65535)&&(Ee!==0||ke!==0))throw new U.FormatError("Bad uncompressed block length in flate stream");this.codeBuf=0,this.codeSize=0;const xe=this.bufferLength,fe=xe+Ee;if(W=this.ensureBuffer(fe),this.bufferLength=fe,Ee===0)L.peekByte()===-1&&(this.eof=!0);else{const ve=L.getBytes(Ee);W.set(ve,xe),ve.length0;)Ce[fe++]=Ge}ce=this.generateHuffmanTable(Ce.subarray(0,me)),de=this.generateHuffmanTable(Ce.subarray(me,ye))}else throw new U.FormatError("Unknown block type in flate stream");W=this.buffer;let se=W?W.length:0,oe=this.bufferLength;for(;;){let me=this.getCode(ce);if(me<256){oe+1>=se&&(W=this.ensureBuffer(oe+1),se=W.length),W[oe++]=me;continue}if(me===256){this.bufferLength=oe;return}me-=257,me=z[me];let Ee=me>>16;Ee>0&&(Ee=this.getBits(Ee)),X=(me&65535)+Ee,me=this.getCode(de),me=e[me],Ee=me>>16,Ee>0&&(Ee=this.getBits(Ee));const ke=(me&65535)+Ee;oe+X>=se&&(W=this.ensureBuffer(oe+X),se=W.length);for(let xe=0;xe{Object.defineProperty(D,"__esModule",{value:!0}),D.Jbig2Stream=void 0;var R=B(132),U=B(144),K=B(130),z=B(150),e=B(2);class ae extends U.DecodeStream{constructor(he,J,W){super(J),this.stream=he,this.dict=he.dict,this.maybeLength=J,this.params=W}get bytes(){return(0,e.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(he){}readBlock(){if(this.eof)return;const he=new z.Jbig2Image,J=[];if(this.params instanceof K.Dict){const L=this.params.get("JBIG2Globals");if(L instanceof R.BaseStream){const Q=L.getBytes();J.push({data:Q,start:0,end:Q.length})}}J.push({data:this.bytes,start:0,end:this.bytes.length});const W=he.parseChunks(J),X=W.length;for(let L=0;L{Object.defineProperty(D,"__esModule",{value:!0}),D.Jbig2Image=void 0;var R=B(2),U=B(131),K=B(151),z=B(147);class e extends R.BaseException{constructor(Qe){super(`JBIG2 error: ${Qe}`,"Jbig2Error")}}class ae{getContexts(Qe){return Qe in this?this[Qe]:this[Qe]=new Int8Array(65536)}}class ie{constructor(Qe,Ue,$e){this.data=Qe,this.start=Ue,this.end=$e}get decoder(){const Qe=new K.ArithmeticDecoder(this.data,this.start,this.end);return(0,R.shadow)(this,"decoder",Qe)}get contextCache(){const Qe=new ae;return(0,R.shadow)(this,"contextCache",Qe)}}function he(et,Qe,Ue){const $e=et.getContexts(Qe);let Ye=1;function tt(dt){let ct=0;for(let mt=0;mt>>0}const ot=tt(1),st=tt(1)?tt(1)?tt(1)?tt(1)?tt(1)?tt(32)+4436:tt(12)+340:tt(8)+84:tt(6)+20:tt(4)+4:tt(2);return ot===0?st:st>0?-st:null}function J(et,Qe,Ue){const $e=et.getContexts("IAID");let Ye=1;for(let tt=0;tt=$t&&gr=Yt)for(kr=kr<<1&Je,Pt=0;Pt=0&&Dr=0&&(cr=Bt[fr][Dr],cr&&(kr|=cr<=et?It<<=1:It=It<<1|Vt[er][Bt];for(He=0;He=Pt||Bt<0||Bt>=wt?It<<=1:It=It<<1|$e[er][Bt];const Dt=Wt.readBit(Mt,It);Ft[Jt]=Dt}}return Vt}function me(et,Qe,Ue,$e,Ye,tt,ot,st,dt,ct,mt,ut){if(et&&Qe)throw new e("symbol refinement with Huffman is not supported");const rt=[];let He=0,Je=(0,U.log2)(Ue.length+$e);const St=mt.decoder,bt=mt.contextCache;let pt,wt;for(et&&(pt=Pe(1),wt=[],Je=Math.max(Je,1));rt.length<$e;){const Yt=et?tt.tableDeltaHeight.decode(ut):he(bt,"IADH",St);He+=Yt;let Ft=0,Jt=0;const er=et?wt.length:0;for(;;){const Bt=et?tt.tableDeltaWidth.decode(ut):he(bt,"IADW",St);if(Bt===null)break;Ft+=Bt,Jt+=Ft;let It;if(Qe){const Dt=he(bt,"IAAI",St);if(Dt>1)It=Ee(et,Qe,Ft,He,0,Dt,1,Ue.concat(rt),Je,0,0,1,0,tt,dt,ct,mt,0,ut);else{const Zt=J(bt,St,Je),gr=he(bt,"IARDX",St),fr=he(bt,"IARDY",St),Dr=Zt1&&(Bt=et?wt.readBits(pt):he(Mt,"IAIT",Wt));const It=ot*$t+Bt,Dt=et?He.symbolIDTable.decode(wt):J(Mt,Wt,dt),Zt=Qe&&(et?wt.readBit():he(Mt,"IARI",Wt));let gr=st[Dt],fr=gr[0].length,Dr=gr.length;if(Zt){const At=he(Mt,"IARDW",Wt),zt=he(Mt,"IARDH",Wt),Br=he(Mt,"IARDX",Wt),br=he(Mt,"IARDY",Wt);fr+=At,Dr+=zt,gr=oe(fr,Dr,Je,gr,(At>>1)+Br,(zt>>1)+br,!1,St,bt)}const kr=It-(ut&1?0:Dr-1),cr=er-(ut&2?fr-1:0);let Ar,yt,vt;if(ct){for(Ar=0;Ar=0;pt--)et?er=je(Jt,dt,ct,!0):er=se(!1,dt,ct,Ue,!1,null,Yt,Je),Ft[pt]=er;let Bt,It,Dt,Zt,gr,fr,Dr,kr,cr;for(Bt=0;Bt=0;wt--)Dt^=Ft[wt][Bt][It],Zt|=Dt<>8,Dr=ut+Bt*rt-It*He>>8,fr>=0&&fr+Wt<=$e&&Dr>=0&&Dr+Mt<=Ye)for(pt=0;pt=Ye))for(cr=bt[yt],kr=gr[pt],wt=0;wt=0&&Ar<$e&&(cr[Ar]|=kr[wt])}}return bt}function fe(et,Qe){const Ue={};Ue.number=(0,U.readUint32)(et,Qe);const $e=et[Qe+4],Ye=$e&63;if(!W[Ye])throw new e("invalid segment type: "+Ye);Ue.type=Ye,Ue.typeName=W[Ye],Ue.deferredNonRetain=!!($e&128);const tt=!!($e&64),ot=et[Qe+5];let st=ot>>5&7;const dt=[ot&31];let ct=Qe+6;if(ot===7){st=(0,U.readUint32)(et,ct-1)&536870911,ct+=3;let Je=st+7>>3;for(dt[0]=et[ct++];--Je>0;)dt.push(et[ct++])}else if(ot===5||ot===6)throw new e("invalid referred-to flags");Ue.retainBits=dt;let mt=4;Ue.number<=256?mt=1:Ue.number<=65536&&(mt=2);const ut=[];let rt,He;for(rt=0;rt>>24&255,wt[3]=Je.height>>16&255,wt[4]=Je.height>>8&255,wt[5]=Je.height&255,rt=ct,He=et.length;rt>2&3,ut.huffmanDWSelector=rt>>4&3,ut.bitmapSizeSelector=rt>>6&1,ut.aggregationInstancesSelector=rt>>7&1,ut.bitmapCodingContextUsed=!!(rt&256),ut.bitmapCodingContextRetained=!!(rt&512),ut.template=rt>>10&3,ut.refinementTemplate=rt>>12&1,tt+=2,!ut.huffman){for(ct=ut.template===0?4:1,st=[],dt=0;dt>2&3,He.stripSize=1<>4&3,He.transposed=!!(Je&64),He.combinationOperator=Je>>7&3,He.defaultPixelValue=Je>>9&1,He.dsOffset=Je<<17>>27,He.refinementTemplate=Je>>15&1,He.huffman){const Mt=(0,U.readUint16)($e,tt);tt+=2,He.huffmanFS=Mt&3,He.huffmanDS=Mt>>2&3,He.huffmanDT=Mt>>4&3,He.huffmanRefinementDW=Mt>>6&3,He.huffmanRefinementDH=Mt>>8&3,He.huffmanRefinementDX=Mt>>10&3,He.huffmanRefinementDY=Mt>>12&3,He.huffmanRefinementSizeSelector=!!(Mt&16384)}if(He.refinement&&!He.refinementTemplate){for(st=[],dt=0;dt<2;dt++)st.push({x:(0,U.readInt8)($e,tt),y:(0,U.readInt8)($e,tt+1)}),tt+=2;He.refinementAt=st}He.numberOfSymbolInstances=(0,U.readUint32)($e,tt),tt+=4,ot=[He,Ue.referredTo,$e,tt,Ye];break;case 16:const St={},bt=$e[tt++];St.mmr=!!(bt&1),St.template=bt>>1&3,St.patternWidth=$e[tt++],St.patternHeight=$e[tt++],St.maxPatternIndex=(0,U.readUint32)($e,tt),tt+=4,ot=[St,Ue.number,$e,tt,Ye];break;case 22:case 23:const pt={};pt.info=ye($e,tt),tt+=Ce;const wt=$e[tt++];pt.mmr=!!(wt&1),pt.template=wt>>1&3,pt.enableSkip=!!(wt&8),pt.combinationOperator=wt>>4&7,pt.defaultPixelValue=wt>>7&1,pt.gridWidth=(0,U.readUint32)($e,tt),tt+=4,pt.gridHeight=(0,U.readUint32)($e,tt),tt+=4,pt.gridOffsetX=(0,U.readUint32)($e,tt)&4294967295,tt+=4,pt.gridOffsetY=(0,U.readUint32)($e,tt)&4294967295,tt+=4,pt.gridVectorX=(0,U.readUint16)($e,tt),tt+=2,pt.gridVectorY=(0,U.readUint16)($e,tt),tt+=2,ot=[pt,Ue.referredTo,$e,tt,Ye];break;case 38:case 39:const Pt={};Pt.info=ye($e,tt),tt+=Ce;const Nt=$e[tt++];if(Pt.mmr=!!(Nt&1),Pt.template=Nt>>1&3,Pt.prediction=!!(Nt&8),!Pt.mmr){for(ct=Pt.template===0?4:1,st=[],dt=0;dt>2&1,Vt.combinationOperator=Wt>>3&3,Vt.requiresBuffer=!!(Wt&32),Vt.combinationOperatorOverride=!!(Wt&64),ot=[Vt];break;case 49:break;case 50:break;case 51:break;case 53:ot=[Ue.number,$e,tt,Ye];break;case 62:break;default:throw new e(`segment type ${Ue.typeName}(${Ue.type}) is not implemented`)}const mt="on"+Ue.typeName;mt in Qe&&Qe[mt].apply(Qe,ot)}function _e(et,Qe){for(let Ue=0,$e=et.length;Ue<$e;Ue++)pe(et[Ue],Qe)}function Ge(et){const Qe=new Ae;for(let Ue=0,$e=et.length;Ue<$e;Ue++){const Ye=et[Ue],tt=ve({},Ye.data,Ye.start,Ye.end);_e(tt,Qe)}return Qe.buffer}class Ae{onPageInformation(Qe){this.currentPageInfo=Qe;const Ue=Qe.width+7>>3,$e=new Uint8ClampedArray(Ue*Qe.height);Qe.defaultPixelValue&&$e.fill(255),this.buffer=$e}drawBitmap(Qe,Ue){const $e=this.currentPageInfo,Ye=Qe.width,tt=Qe.height,ot=$e.width+7>>3,st=$e.combinationOperatorOverride?Qe.combinationOperator:$e.combinationOperator,dt=this.buffer,ct=128>>(Qe.x&7);let mt=Qe.y*ot+(Qe.x>>3),ut,rt,He,Je;switch(st){case 0:for(ut=0;ut>=1,He||(He=128,Je++);mt+=ot}break;case 2:for(ut=0;ut>=1,He||(He=128,Je++);mt+=ot}break;default:throw new e(`operator ${st} is not supported`)}}onImmediateGenericRegion(Qe,Ue,$e,Ye){const tt=Qe.info,ot=new ie(Ue,$e,Ye),st=se(Qe.mmr,tt.width,tt.height,Qe.template,Qe.prediction,null,Qe.at,ot);this.drawBitmap(tt,st)}onImmediateLosslessGenericRegion(){this.onImmediateGenericRegion(...arguments)}onSymbolDictionary(Qe,Ue,$e,Ye,tt,ot){let st,dt;Qe.huffman&&(st=Ke(Qe,$e,this.customTables),dt=new we(Ye,tt,ot));let ct=this.symbols;ct||(this.symbols=ct={});const mt=[];for(const rt of $e){const He=ct[rt];He&&mt.push(...He)}const ut=new ie(Ye,tt,ot);ct[Ue]=me(Qe.huffman,Qe.refinement,mt,Qe.numberOfNewSymbols,Qe.numberOfExportedSymbols,st,Qe.template,Qe.at,Qe.refinementTemplate,Qe.refinementAt,ut,dt)}onImmediateTextRegion(Qe,Ue,$e,Ye,tt){const ot=Qe.info;let st,dt;const ct=this.symbols,mt=[];for(const Je of Ue){const St=ct[Je];St&&mt.push(...St)}const ut=(0,U.log2)(mt.length);Qe.huffman&&(dt=new we($e,Ye,tt),st=Be(Qe,Ue,this.customTables,mt.length,dt));const rt=new ie($e,Ye,tt),He=Ee(Qe.huffman,Qe.refinement,ot.width,ot.height,Qe.defaultPixelValue,Qe.numberOfSymbolInstances,Qe.stripSize,mt,ut,Qe.transposed,Qe.dsOffset,Qe.referenceCorner,Qe.combinationOperator,st,Qe.refinementTemplate,Qe.refinementAt,rt,Qe.logStripSize,dt);this.drawBitmap(ot,He)}onImmediateLosslessTextRegion(){this.onImmediateTextRegion(...arguments)}onPatternDictionary(Qe,Ue,$e,Ye,tt){let ot=this.patterns;ot||(this.patterns=ot={});const st=new ie($e,Ye,tt);ot[Ue]=ke(Qe.mmr,Qe.patternWidth,Qe.patternHeight,Qe.maxPatternIndex,Qe.template,st)}onImmediateHalftoneRegion(Qe,Ue,$e,Ye,tt){const ot=this.patterns[Ue[0]],st=Qe.info,dt=new ie($e,Ye,tt),ct=xe(Qe.mmr,ot,Qe.template,st.width,st.height,Qe.defaultPixelValue,Qe.enableSkip,Qe.combinationOperator,Qe.gridWidth,Qe.gridHeight,Qe.gridOffsetX,Qe.gridOffsetY,Qe.gridVectorX,Qe.gridVectorY,dt);this.drawBitmap(st,ct)}onImmediateLosslessHalftoneRegion(){this.onImmediateHalftoneRegion(...arguments)}onTables(Qe,Ue,$e,Ye){let tt=this.customTables;tt||(this.customTables=tt={}),tt[Qe]=Te(Ue,$e,Ye)}}class Ne{constructor(Qe){Qe.length===2?(this.isOOB=!0,this.rangeLow=0,this.prefixLength=Qe[0],this.rangeLength=0,this.prefixCode=Qe[1],this.isLowerRange=!1):(this.isOOB=!1,this.rangeLow=Qe[0],this.prefixLength=Qe[1],this.rangeLength=Qe[2],this.prefixCode=Qe[3],this.isLowerRange=Qe[4]==="lower")}}class Ze{constructor(Qe){this.children=[],Qe?(this.isLeaf=!0,this.rangeLength=Qe.rangeLength,this.rangeLow=Qe.rangeLow,this.isLowerRange=Qe.isLowerRange,this.isOOB=Qe.isOOB):this.isLeaf=!1}buildTree(Qe,Ue){const $e=Qe.prefixCode>>Ue&1;if(Ue<=0)this.children[$e]=new Ze(Qe);else{let Ye=this.children[$e];Ye||(this.children[$e]=Ye=new Ze(null)),Ye.buildTree(Qe,Ue-1)}}decodeNode(Qe){if(this.isLeaf){if(this.isOOB)return null;const $e=Qe.readBits(this.rangeLength);return this.rangeLow+(this.isLowerRange?-$e:$e)}const Ue=this.children[Qe.readBit()];if(!Ue)throw new e("invalid Huffman data");return Ue.decodeNode(Qe)}}class ze{constructor(Qe,Ue){Ue||this.assignPrefixCodes(Qe),this.rootNode=new Ze(null);for(let $e=0,Ye=Qe.length;$e0&&this.rootNode.buildTree(tt,tt.prefixLength-1)}}decode(Qe){return this.rootNode.decodeNode(Qe)}assignPrefixCodes(Qe){const Ue=Qe.length;let $e=0;for(let mt=0;mt>1&7)+1,dt=($e>>4&7)+1,ct=[];let mt,ut,rt=Ye;do mt=ot.readBits(st),ut=ot.readBits(dt),ct.push(new Ne([rt,mt,ut,0])),rt+=1<=this.end)throw new e("end of data while reading bit");this.currentByte=this.data[this.position++],this.shift=7}const Qe=this.currentByte>>this.shift&1;return this.shift--,Qe}readBits(Qe){let Ue=0,$e;for($e=Qe-1;$e>=0;$e--)Ue|=this.readBit()<<$e;return Ue}byteAlign(){this.shift=-1}next(){return this.position>=this.end?-1:this.data[this.position++]}}function Ie(et,Qe,Ue){let $e=0;for(let Ye=0,tt=Qe.length;Ye=32){let Je,St,bt;switch(He){case 32:if(rt===0)throw new e("no previous value in symbol ID table");St=Ye.readBits(2)+3,Je=tt[rt-1].prefixLength;break;case 33:St=Ye.readBits(3)+3,Je=0;break;case 34:St=Ye.readBits(7)+11,Je=0;break;default:throw new e("invalid code length in symbol ID table")}for(bt=0;bt>ut&1,ut--}if($e&&!dt)for(let mt=0;mt<5&&tt.readNextChar()!==-1;mt++);return ot}class Le{parseChunks(Qe){return Ge(Qe)}parse(Qe){throw new Error("Not implemented: Jbig2Image.parse")}}D.Jbig2Image=Le},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ArithmeticDecoder=void 0;const B=[{qe:22017,nmps:1,nlps:1,switchFlag:1},{qe:13313,nmps:2,nlps:6,switchFlag:0},{qe:6145,nmps:3,nlps:9,switchFlag:0},{qe:2753,nmps:4,nlps:12,switchFlag:0},{qe:1313,nmps:5,nlps:29,switchFlag:0},{qe:545,nmps:38,nlps:33,switchFlag:0},{qe:22017,nmps:7,nlps:6,switchFlag:1},{qe:21505,nmps:8,nlps:14,switchFlag:0},{qe:18433,nmps:9,nlps:14,switchFlag:0},{qe:14337,nmps:10,nlps:14,switchFlag:0},{qe:12289,nmps:11,nlps:17,switchFlag:0},{qe:9217,nmps:12,nlps:18,switchFlag:0},{qe:7169,nmps:13,nlps:20,switchFlag:0},{qe:5633,nmps:29,nlps:21,switchFlag:0},{qe:22017,nmps:15,nlps:14,switchFlag:1},{qe:21505,nmps:16,nlps:14,switchFlag:0},{qe:20737,nmps:17,nlps:15,switchFlag:0},{qe:18433,nmps:18,nlps:16,switchFlag:0},{qe:14337,nmps:19,nlps:17,switchFlag:0},{qe:13313,nmps:20,nlps:18,switchFlag:0},{qe:12289,nmps:21,nlps:19,switchFlag:0},{qe:10241,nmps:22,nlps:19,switchFlag:0},{qe:9217,nmps:23,nlps:20,switchFlag:0},{qe:8705,nmps:24,nlps:21,switchFlag:0},{qe:7169,nmps:25,nlps:22,switchFlag:0},{qe:6145,nmps:26,nlps:23,switchFlag:0},{qe:5633,nmps:27,nlps:24,switchFlag:0},{qe:5121,nmps:28,nlps:25,switchFlag:0},{qe:4609,nmps:29,nlps:26,switchFlag:0},{qe:4353,nmps:30,nlps:27,switchFlag:0},{qe:2753,nmps:31,nlps:28,switchFlag:0},{qe:2497,nmps:32,nlps:29,switchFlag:0},{qe:2209,nmps:33,nlps:30,switchFlag:0},{qe:1313,nmps:34,nlps:31,switchFlag:0},{qe:1089,nmps:35,nlps:32,switchFlag:0},{qe:673,nmps:36,nlps:33,switchFlag:0},{qe:545,nmps:37,nlps:34,switchFlag:0},{qe:321,nmps:38,nlps:35,switchFlag:0},{qe:273,nmps:39,nlps:36,switchFlag:0},{qe:133,nmps:40,nlps:37,switchFlag:0},{qe:73,nmps:41,nlps:38,switchFlag:0},{qe:37,nmps:42,nlps:39,switchFlag:0},{qe:21,nmps:43,nlps:40,switchFlag:0},{qe:9,nmps:44,nlps:41,switchFlag:0},{qe:5,nmps:45,nlps:42,switchFlag:0},{qe:1,nmps:45,nlps:43,switchFlag:0},{qe:22017,nmps:46,nlps:46,switchFlag:0}];class R{constructor(K,z,e){this.data=K,this.bp=z,this.dataEnd=e,this.chigh=K[z],this.clow=0,this.byteIn(),this.chigh=this.chigh<<7&65535|this.clow>>9&127,this.clow=this.clow<<7&65535,this.ct-=7,this.a=32768}byteIn(){const K=this.data;let z=this.bp;K[z]===255?K[z+1]>143?(this.clow+=65280,this.ct=8):(z++,this.clow+=K[z]<<9,this.ct=7,this.bp=z):(z++,this.clow+=z65535&&(this.chigh+=this.clow>>16,this.clow&=65535)}readBit(K,z){let e=K[z]>>1,ae=K[z]&1;const ie=B[e],he=ie.qe;let J,W=this.a-he;if(this.chigh>15&1,this.clow=this.clow<<1&65535,this.ct--;while(!(W&32768));return this.a=W,K[z]=e<<1|ae,J}}D.ArithmeticDecoder=R},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.JpegStream=void 0;var R=B(144),U=B(130),K=B(153),z=B(2);class e extends R.DecodeStream{constructor(ie,he,J){let W;for(;(W=ie.getByte())!==-1;)if(W===255){ie.skip(-1);break}super(he),this.stream=ie,this.dict=ie.dict,this.maybeLength=he,this.params=J}get bytes(){return(0,z.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(ie){}readBlock(){if(this.eof)return;const ie={decodeTransform:void 0,colorTransform:void 0},he=this.dict.getArray("D","Decode");if(this.forceRGB&&Array.isArray(he)){const X=this.dict.get("BPC","BitsPerComponent")||8,L=he.length,Q=new Int32Array(L);let ce=!1;const de=(1<{Object.defineProperty(D,"__esModule",{value:!0}),D.JpegImage=void 0;var R=B(2),U=B(131);class K extends R.BaseException{constructor(ve){super(`JPEG error: ${ve}`,"JpegError")}}class z extends R.BaseException{constructor(ve,ye){super(ve,"DNLMarkerError"),this.scanLines=ye}}class e extends R.BaseException{constructor(ve){super(ve,"EOIMarkerError")}}const ae=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),ie=4017,he=799,J=3406,W=2276,X=1567,L=3784,Q=5793,ce=2896;function de(fe,ve){let ye=0,Ce,pe,_e=16;for(;_e>0&&!fe[_e-1];)_e--;const Ge=[{children:[],index:0}];let Ae=Ge[0],Ne;for(Ce=0;Ce<_e;Ce++){for(pe=0;pe0;)Ae=Ge.pop();for(Ae.index++,Ge.push(Ae);Ge.length<=Ce;)Ge.push(Ne={children:[],index:0}),Ae.children[Ae.index]=Ne.children,Ae=Ne;ye++}Ce+1<_e&&(Ge.push(Ne={children:[],index:0}),Ae.children[Ae.index]=Ne.children,Ae=Ne)}return Ge[0].children}function se(fe,ve,ye){return 64*((fe.blocksPerLine+1)*ve+ye)}function oe(fe,ve,ye,Ce,pe,_e,Ge,Ae,Ne){let Ze=arguments.length>9&&arguments[9]!==void 0?arguments[9]:!1;const ze=ye.mcusPerLine,Te=ye.progressive,Fe=ve;let Pe=0,we=0;function Ie(){if(we>0)return we--,Pe>>we&1;if(Pe=fe[ve++],Pe===255){const Vt=fe[ve++];if(Vt){if(Vt===220&&Ze){ve+=2;const Wt=(0,U.readUint16)(fe,ve);if(ve+=2,Wt>0&&Wt!==ye.scanLines)throw new z("Found DNL marker (0xFFDC) while parsing scan data",Wt)}else if(Vt===217){if(Ze){const Wt=ot*(ye.precision===8?8:0);if(Wt>0&&Math.round(ye.scanLines/Wt)>=10)throw new z("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",Wt)}throw new e("Found EOI marker (0xFFD9) while parsing scan data")}throw new K(`unexpected marker ${(Pe<<8|Vt).toString(16)}`)}}return we=7,Pe>>>7}function Be(Vt){let Wt=Vt;for(;;){switch(Wt=Wt[Ie()],typeof Wt){case"number":return Wt;case"object":continue}throw new K("invalid huffman sequence")}}function Ke(Vt){let Wt=0;for(;Vt>0;)Wt=Wt<<1|Ie(),Vt--;return Wt}function Ve(Vt){if(Vt===1)return Ie()===1?1:-1;const Wt=Ke(Vt);return Wt>=1<>4;if(Jt===0){if(er<15)break;Yt+=16;continue}Yt+=er;const Bt=ae[Yt];Vt.blockData[Wt+Bt]=Ve(Jt),Yt++}}function Le(Vt,Wt){const Mt=Be(Vt.huffmanTableDC),$t=Mt===0?0:Ve(Mt)<0){Qe--;return}let Mt=_e;const $t=Ge;for(;Mt<=$t;){const Yt=Be(Vt.huffmanTableAC),Ft=Yt&15,Jt=Yt>>4;if(Ft===0){if(Jt<15){Qe=Ke(Jt)+(1<>4,Ft===0)Yt<15?(Qe=Ke(Yt)+(1<0){for(ut=0;ut0?"unexpected":"excessive";(0,R.warn)(`decodeScan - ${Wt} MCU data, current marker is: ${pt.invalid}`),ve=pt.offset}if(pt.marker>=65488&&pt.marker<=65495)ve+=2;else break}return ve-Fe}function me(fe,ve,ye){const Ce=fe.quantizationTable,pe=fe.blockData;let _e,Ge,Ae,Ne,Ze,ze,Te,Fe,Pe,we,Ie,Be,Ke,Ve,je,Le,et;if(!Ce)throw new K("missing required Quantization Table.");for(let Qe=0;Qe<64;Qe+=8){if(Pe=pe[ve+Qe],we=pe[ve+Qe+1],Ie=pe[ve+Qe+2],Be=pe[ve+Qe+3],Ke=pe[ve+Qe+4],Ve=pe[ve+Qe+5],je=pe[ve+Qe+6],Le=pe[ve+Qe+7],Pe*=Ce[Qe],!(we|Ie|Be|Ke|Ve|je|Le)){et=Q*Pe+512>>10,ye[Qe]=et,ye[Qe+1]=et,ye[Qe+2]=et,ye[Qe+3]=et,ye[Qe+4]=et,ye[Qe+5]=et,ye[Qe+6]=et,ye[Qe+7]=et;continue}we*=Ce[Qe+1],Ie*=Ce[Qe+2],Be*=Ce[Qe+3],Ke*=Ce[Qe+4],Ve*=Ce[Qe+5],je*=Ce[Qe+6],Le*=Ce[Qe+7],_e=Q*Pe+128>>8,Ge=Q*Ke+128>>8,Ae=Ie,Ne=je,Ze=ce*(we-Le)+128>>8,Fe=ce*(we+Le)+128>>8,ze=Be<<4,Te=Ve<<4,_e=_e+Ge+1>>1,Ge=_e-Ge,et=Ae*L+Ne*X+128>>8,Ae=Ae*X-Ne*L+128>>8,Ne=et,Ze=Ze+Te+1>>1,Te=Ze-Te,Fe=Fe+ze+1>>1,ze=Fe-ze,_e=_e+Ne+1>>1,Ne=_e-Ne,Ge=Ge+Ae+1>>1,Ae=Ge-Ae,et=Ze*W+Fe*J+2048>>12,Ze=Ze*J-Fe*W+2048>>12,Fe=et,et=ze*he+Te*ie+2048>>12,ze=ze*ie-Te*he+2048>>12,Te=et,ye[Qe]=_e+Fe,ye[Qe+7]=_e-Fe,ye[Qe+1]=Ge+Te,ye[Qe+6]=Ge-Te,ye[Qe+2]=Ae+ze,ye[Qe+5]=Ae-ze,ye[Qe+3]=Ne+Ze,ye[Qe+4]=Ne-Ze}for(let Qe=0;Qe<8;++Qe){if(Pe=ye[Qe],we=ye[Qe+8],Ie=ye[Qe+16],Be=ye[Qe+24],Ke=ye[Qe+32],Ve=ye[Qe+40],je=ye[Qe+48],Le=ye[Qe+56],!(we|Ie|Be|Ke|Ve|je|Le)){et=Q*Pe+8192>>14,et<-2040?et=0:et>=2024?et=255:et=et+2056>>4,pe[ve+Qe]=et,pe[ve+Qe+8]=et,pe[ve+Qe+16]=et,pe[ve+Qe+24]=et,pe[ve+Qe+32]=et,pe[ve+Qe+40]=et,pe[ve+Qe+48]=et,pe[ve+Qe+56]=et;continue}_e=Q*Pe+2048>>12,Ge=Q*Ke+2048>>12,Ae=Ie,Ne=je,Ze=ce*(we-Le)+2048>>12,Fe=ce*(we+Le)+2048>>12,ze=Be,Te=Ve,_e=(_e+Ge+1>>1)+4112,Ge=_e-Ge,et=Ae*L+Ne*X+2048>>12,Ae=Ae*X-Ne*L+2048>>12,Ne=et,Ze=Ze+Te+1>>1,Te=Ze-Te,Fe=Fe+ze+1>>1,ze=Fe-ze,_e=_e+Ne+1>>1,Ne=_e-Ne,Ge=Ge+Ae+1>>1,Ae=Ge-Ae,et=Ze*W+Fe*J+2048>>12,Ze=Ze*J-Fe*W+2048>>12,Fe=et,et=ze*he+Te*ie+2048>>12,ze=ze*ie-Te*he+2048>>12,Te=et,Pe=_e+Fe,Le=_e-Fe,we=Ge+Te,je=Ge-Te,Ie=Ae+ze,Ve=Ae-ze,Be=Ne+Ze,Ke=Ne-Ze,Pe<16?Pe=0:Pe>=4080?Pe=255:Pe>>=4,we<16?we=0:we>=4080?we=255:we>>=4,Ie<16?Ie=0:Ie>=4080?Ie=255:Ie>>=4,Be<16?Be=0:Be>=4080?Be=255:Be>>=4,Ke<16?Ke=0:Ke>=4080?Ke=255:Ke>>=4,Ve<16?Ve=0:Ve>=4080?Ve=255:Ve>>=4,je<16?je=0:je>=4080?je=255:je>>=4,Le<16?Le=0:Le>=4080?Le=255:Le>>=4,pe[ve+Qe]=Pe,pe[ve+Qe+8]=we,pe[ve+Qe+16]=Ie,pe[ve+Qe+24]=Be,pe[ve+Qe+32]=Ke,pe[ve+Qe+40]=Ve,pe[ve+Qe+48]=je,pe[ve+Qe+56]=Le}}function Ee(fe,ve){const ye=ve.blocksPerLine,Ce=ve.blocksPerColumn,pe=new Int16Array(64);for(let _e=0;_e2&&arguments[2]!==void 0?arguments[2]:ve;const Ce=fe.length-1;let pe=ye=Ce)return null;const _e=(0,U.readUint16)(fe,ve);if(_e>=65472&&_e<=65534)return{invalid:null,marker:_e,offset:ve};let Ge=(0,U.readUint16)(fe,pe);for(;!(Ge>=65472&&Ge<=65534);){if(++pe>=Ce)return null;Ge=(0,U.readUint16)(fe,pe)}return{invalid:_e.toString(16),marker:Ge,offset:pe}}class xe{constructor(){let{decodeTransform:ve=null,colorTransform:ye=-1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this._decodeTransform=ve,this._colorTransform=ye}parse(ve){let{dnlScanLines:ye=null}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};function Ce(){const Ie=(0,U.readUint16)(ve,_e);_e+=2;let Be=_e+Ie-2;const Ke=ke(ve,Be,_e);Ke&&Ke.invalid&&((0,R.warn)("readDataBlock - incorrect length, current marker is: "+Ke.invalid),Be=Ke.offset);const Ve=ve.subarray(_e,Be);return _e+=Ve.length,Ve}function pe(Ie){const Be=Math.ceil(Ie.samplesPerLine/8/Ie.maxH),Ke=Math.ceil(Ie.scanLines/8/Ie.maxV);for(let Ve=0,je=Ie.components.length;Ve>4)if(He>>4===1)for(Be=0;Be<64;Be++)et=ae[Be],Je[et]=(0,U.readUint16)(ve,_e),_e+=2;else throw new K("DQT - invalid table spec");else for(Be=0;Be<64;Be++)et=ae[Be],Je[et]=ve[_e++];Te[He&15]=Je}break;case 65472:case 65473:case 65474:if(Ne)throw new K("Only single frame JPEGs supported");_e+=2,Ne={},Ne.extended=we===65473,Ne.progressive=we===65474,Ne.precision=ve[_e++];const Qe=(0,U.readUint16)(ve,_e);_e+=2,Ne.scanLines=ye||Qe,Ne.samplesPerLine=(0,U.readUint16)(ve,_e),_e+=2,Ne.components=[],Ne.componentIds={};const Ue=ve[_e++];let $e=0,Ye=0;for(Ie=0;Ie>4,St=ve[_e+1]&15;$e>4?Fe:Pe)[He&15]=de(Je,bt)}break;case 65501:_e+=2,Ze=(0,U.readUint16)(ve,_e),_e+=2;break;case 65498:const ot=++ze===1&&!ye;_e+=2;const st=ve[_e++],dt=[];for(Ie=0;Ie>4],St.huffmanTableAC=Fe[bt&15],dt.push(St)}const ct=ve[_e++],mt=ve[_e++],ut=ve[_e++];try{const He=oe(ve,_e,Ne,dt,Ze,ct,mt,ut>>4,ut&15,ot);_e+=He}catch(He){if(He instanceof z)return(0,R.warn)(`${He.message} -- attempting to re-parse the JPEG image.`),this.parse(ve,{dnlScanLines:He.scanLines});if(He instanceof e){(0,R.warn)(`${He.message} -- ignoring the rest of the image data.`);break e}throw He}break;case 65500:_e+=4;break;case 65535:ve[_e]!==255&&_e--;break;default:const rt=ke(ve,_e-2,_e-3);if(rt&&rt.invalid){(0,R.warn)("JpegImage.parse - unexpected data, current marker is: "+rt.invalid),_e=rt.offset;break}if(!rt||_e>=ve.length-1){(0,R.warn)("JpegImage.parse - reached the end of the image data without finding an EOI marker (0xFFD9).");break e}throw new K("JpegImage.parse - unknown marker: "+we.toString(16))}we=(0,U.readUint16)(ve,_e),_e+=2}this.width=Ne.samplesPerLine,this.height=Ne.scanLines,this.jfif=Ge,this.adobe=Ae,this.components=[];for(let Ie=0,Be=Ne.components.length;Ie2&&arguments[2]!==void 0?arguments[2]:!1;const pe=this.width/ve,_e=this.height/ye;let Ge,Ae,Ne,Ze,ze,Te,Fe,Pe,we,Ie,Be=0,Ke;const Ve=this.components.length,je=ve*ye*Ve,Le=new Uint8ClampedArray(je),et=new Uint32Array(ve),Qe=4294967288;let Ue;for(Fe=0;Fe>8)+$e[we+1];return Le}get _isColorConversionNeeded(){return this.adobe?!!this.adobe.transformCode:this.numComponents===3?this._colorTransform===0?!1:!(this.components[0].index===82&&this.components[1].index===71&&this.components[2].index===66):this._colorTransform===1}_convertYccToRgb(ve){let ye,Ce,pe;for(let _e=0,Ge=ve.length;_e4)throw new K("Unsupported color mode");const Ge=this._getLinearizedBlockData(ye,Ce,_e);if(this.numComponents===1&&pe){const Ae=Ge.length,Ne=new Uint8ClampedArray(Ae*3);let Ze=0;for(let ze=0;ze{Object.defineProperty(D,"__esModule",{value:!0}),D.JpxStream=void 0;var R=B(144),U=B(155),K=B(2);class z extends R.DecodeStream{constructor(ae,ie,he){super(ie),this.stream=ae,this.dict=ae.dict,this.maybeLength=ie,this.params=he}get bytes(){return(0,K.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))}ensureBuffer(ae){}readBlock(){if(this.eof)return;const ae=new U.JpxImage;ae.parse(this.bytes);const ie=ae.width,he=ae.height,J=ae.componentsCount,W=ae.tiles.length;if(W===1)this.buffer=ae.tiles[0].items;else{const X=new Uint8ClampedArray(ie*he*J);for(let L=0;L{Object.defineProperty(D,"__esModule",{value:!0}),D.JpxImage=void 0;var R=B(2),U=B(131),K=B(151);class z extends R.BaseException{constructor(Te){super(`JPX error: ${Te}`,"JpxError")}}const e={LL:0,LH:1,HL:1,HH:2};class ae{constructor(){this.failOnCorruptedImage=!1}parse(Te){if((0,U.readUint16)(Te,0)===65359){this.parseCodestream(Te,0,Te.length);return}const Pe=Te.length;let we=0;for(;we>24&255,Ke>>16&255,Ke>>8&255,Ke&255);(0,R.warn)(`Unsupported header type ${Ke} (${et}).`);break}je&&(we+=Ve)}}parseImageProperties(Te){let Fe=Te.getByte();for(;Fe>=0;){const Pe=Fe;if(Fe=Te.getByte(),(Pe<<8|Fe)===65361){Te.skip(4);const Ie=Te.getInt32()>>>0,Be=Te.getInt32()>>>0,Ke=Te.getInt32()>>>0,Ve=Te.getInt32()>>>0;Te.skip(16);const je=Te.getUint16();this.width=Ie-Ke,this.height=Be-Ve,this.componentsCount=je,this.bitsPerComponent=8;return}}throw new z("No size marker found in JPX stream")}parseCodestream(Te,Fe,Pe){const we={};let Ie=!1;try{let Be=Fe;for(;Be+1>5,et=[];je>3,Je.mu=0):(Je.epsilon=Te[je]>>3,Je.mu=(Te[je]&7)<<8|Te[je+1],je+=2),et.push(Je)}st.SPqcds=et,we.mainHeader?we.QCD=st:(we.currentTile.QCD=st,we.currentTile.QCC=[]);break;case 65373:Ve=(0,U.readUint16)(Te,Be);const dt={};je=Be+2;let ct;switch(we.SIZ.Csiz<257?ct=Te[je++]:(ct=(0,U.readUint16)(Te,je),je+=2),Le=Te[je++],Le&31){case 0:Qe=8,Ue=!0;break;case 1:Qe=16,Ue=!1;break;case 2:Qe=16,Ue=!0;break;default:throw new Error("Invalid SQcd value "+Le)}for(dt.noQuantization=Qe===8,dt.scalarExpounded=Ue,dt.guardBits=Le>>5,et=[];je>3,Je.mu=0):(Je.epsilon=Te[je]>>3,Je.mu=(Te[je]&7)<<8|Te[je+1],je+=2),et.push(Je)}dt.SPqcds=et,we.mainHeader?we.QCC[ct]=dt:we.currentTile.QCC[ct]=dt;break;case 65362:Ve=(0,U.readUint16)(Te,Be);const mt={};je=Be+2;const ut=Te[je++];mt.entropyCoderWithCustomPrecincts=!!(ut&1),mt.sopMarkerUsed=!!(ut&2),mt.ephMarkerUsed=!!(ut&4),mt.progressionOrder=Te[je++],mt.layersCount=(0,U.readUint16)(Te,je),je+=2,mt.multipleComponentTransform=Te[je++],mt.decompositionLevelsCount=Te[je++],mt.xcb=(Te[je++]&15)+2,mt.ycb=(Te[je++]&15)+2;const rt=Te[je++];if(mt.selectiveArithmeticCodingBypass=!!(rt&1),mt.resetContextProbabilities=!!(rt&2),mt.terminationOnEachCodingPass=!!(rt&4),mt.verticallyStripe=!!(rt&8),mt.predictableTermination=!!(rt&16),mt.segmentationSymbolUsed=!!(rt&32),mt.reversibleTransformation=Te[je++],mt.entropyCoderWithCustomPrecincts){const Je=[];for(;je>4})}mt.precinctsSizes=Je}const He=[];mt.selectiveArithmeticCodingBypass&&He.push("selectiveArithmeticCodingBypass"),mt.terminationOnEachCodingPass&&He.push("terminationOnEachCodingPass"),mt.verticallyStripe&&He.push("verticallyStripe"),mt.predictableTermination&&He.push("predictableTermination"),He.length>0&&(Ie=!0,(0,R.warn)(`JPX: Unsupported COD options (${He.join(", ")}).`)),we.mainHeader?we.COD=mt:(we.currentTile.COD=mt,we.currentTile.COC=[]);break;case 65424:Ve=(0,U.readUint16)(Te,Be),$e={},$e.index=(0,U.readUint16)(Te,Be+2),$e.length=(0,U.readUint32)(Te,Be+4),$e.dataEnd=$e.length+Be-2,$e.partIndex=Te[Be+8],$e.partsCount=Te[Be+9],we.mainHeader=!1,$e.partIndex===0&&($e.COD=we.COD,$e.COC=we.COC.slice(0),$e.QCD=we.QCD,$e.QCC=we.QCC.slice(0)),we.currentTile=$e;break;case 65427:$e=we.currentTile,$e.partIndex===0&&(Ce(we,$e.index),ke(we)),Ve=$e.dataEnd-Be,xe(we,Te,Be,Ve);break;case 65363:(0,R.warn)("JPX: Codestream code 0xFF53 (COC) is not implemented.");case 65365:case 65367:case 65368:case 65380:Ve=(0,U.readUint16)(Te,Be);break;default:throw new Error("Unknown codestream code: "+Ke.toString(16))}Be+=Ve}}catch(Be){if(Ie||this.failOnCorruptedImage)throw new z(Be.message);(0,R.warn)(`JPX: Trying to recover from: "${Be.message}".`)}this.tiles=ye(we),this.width=we.SIZ.Xsiz-we.SIZ.XOsiz,this.height=we.SIZ.Ysiz-we.SIZ.YOsiz,this.componentsCount=we.SIZ.Csiz}}D.JpxImage=ae;function ie(ze,Te){ze.x0=Math.ceil(Te.XOsiz/ze.XRsiz),ze.x1=Math.ceil(Te.Xsiz/ze.XRsiz),ze.y0=Math.ceil(Te.YOsiz/ze.YRsiz),ze.y1=Math.ceil(Te.Ysiz/ze.YRsiz),ze.width=ze.x1-ze.x0,ze.height=ze.y1-ze.y0}function he(ze,Te){const Fe=ze.SIZ,Pe=[];let we;const Ie=Math.ceil((Fe.Xsiz-Fe.XTOsiz)/Fe.XTsiz),Be=Math.ceil((Fe.Ysiz-Fe.YTOsiz)/Fe.YTsiz);for(let Ve=0;Ve0?Math.min(Pe.xcb,we.PPx-1):Math.min(Pe.xcb,we.PPx),we.ycb_=Fe>0?Math.min(Pe.ycb,we.PPy-1):Math.min(Pe.ycb,we.PPy),we}function W(ze,Te,Fe){const Pe=1<Te.trx0?Math.ceil(Te.trx1/Pe)-Math.floor(Te.trx0/Pe):0,je=Te.try1>Te.try0?Math.ceil(Te.try1/we)-Math.floor(Te.try0/we):0,Le=Ve*je;Te.precinctParameters={precinctWidth:Pe,precinctHeight:we,numprecinctswide:Ve,numprecinctshigh:je,numprecincts:Le,precinctWidthInSubband:Be,precinctHeightInSubband:Ke}}function X(ze,Te,Fe){const Pe=Fe.xcb_,we=Fe.ycb_,Ie=1<>Pe,Ve=Te.tby0>>we,je=Te.tbx1+Ie-1>>Pe,Le=Te.tby1+Be-1>>we,et=Te.resolution.precinctParameters,Qe=[],Ue=[];let $e,Ye,tt,ot;for(Ye=Ve;Yect.cbxMax&&(ct.cbxMax=$e),Yect.cbyMax&&(ct.cbyMax=Ye)):Ue[ot]=ct={cbxMin:$e,cbyMin:Ye,cbxMax:$e,cbyMax:Ye},tt.precinct=ct}Te.codeblockParameters={codeblockWidth:Pe,codeblockHeight:we,numcodeblockwide:je-Ke+1,numcodeblockhigh:Le-Ve+1},Te.codeblocks=Qe,Te.precincts=Ue}function L(ze,Te,Fe){const Pe=[],we=ze.subbands;for(let Ie=0,Be=we.length;IeQe.codingStyleParameters.decompositionLevelsCount)continue;const Ue=Qe.resolutions[Ve],$e=Ue.precinctParameters.numprecincts;for(;Le<$e;){const Ye=L(Ue,Le,Ke);return Le++,Ye}Le=0}je=0}Ve=0}throw new z("Out of packets")}}function ce(ze){const Te=ze.SIZ,Fe=ze.currentTile.index,Pe=ze.tiles[Fe],we=Pe.codingStyleDefaultParameters.layersCount,Ie=Te.Csiz;let Be=0;for(let et=0;etQe.codingStyleParameters.decompositionLevelsCount)continue;const Ue=Qe.resolutions[Ke],$e=Ue.precinctParameters.numprecincts;for(;Le<$e;){const Ye=L(Ue,Le,Ve);return Le++,Ye}Le=0}je=0}Ve=0}throw new z("Out of packets")}}function de(ze){const Te=ze.SIZ,Fe=ze.currentTile.index,Pe=ze.tiles[Fe],we=Pe.codingStyleDefaultParameters.layersCount,Ie=Te.Csiz;let Be,Ke,Ve,je,Le=0;for(Ve=0;VeUe.codingStyleParameters.decompositionLevelsCount)continue;const $e=Ue.resolutions[Ke],Ye=$e.precinctParameters.numprecincts;if(!(je>=Ye)){for(;Be=0;--tt){const ot=Ve.resolutions[tt],st=Ye*ot.precinctParameters.precinctWidth,dt=Ye*ot.precinctParameters.precinctHeight;et=Math.min(et,st),Qe=Math.min(Qe,dt),Ue=Math.max(Ue,ot.precinctParameters.numprecinctswide),$e=Math.max($e,ot.precinctParameters.numprecinctshigh),Le[tt]={width:st,height:dt},Ye<<=1}Fe=Math.min(Fe,et),Pe=Math.min(Pe,Qe),we=Math.max(we,Ue),Ie=Math.max(Ie,$e),Be[Ke]={resolutions:Le,minWidth:et,minHeight:Qe,maxNumWide:Ue,maxNumHigh:$e}}return{components:Be,minWidth:Fe,minHeight:Pe,maxNumWide:we,maxNumHigh:Ie}}function ke(ze){const Te=ze.SIZ,Fe=ze.currentTile.index,Pe=ze.tiles[Fe],we=Te.Csiz;for(let Be=0;Be>>Be&(1<0;){const ut=ct.shift();mt=ut.codeblock,mt.data===void 0&&(mt.data=[]),mt.data.push({data:Te,start:Fe+we,end:Fe+we+ut.dataLength,codingpasses:ut.codingpasses}),we+=ut.dataLength}}return we}function fe(ze,Te,Fe,Pe,we,Ie,Be,Ke,Ve){const je=Pe.tbx0,Le=Pe.tby0,et=Pe.tbx1-Pe.tbx0,Qe=Pe.codeblocks,Ue=Pe.type.charAt(0)==="H"?1:0,$e=Pe.type.charAt(1)==="H"?Te:0;for(let Ye=0,tt=Qe.length;Ye=Ie?ze[Dt]=Ft:ze[Dt]=Ft*(1<0?1-st:0));const bt=dt.subbands[rt],pt=e[bt.type],wt=Ue?1:2**(Qe+pt-St)*(1+Je/2048),Pt=je+St-1;fe(ut,ct,mt,bt,wt,Pt,Ue,Le,et)}Ye.push({width:ct,height:mt,items:ut})}const ot=$e.calculate(Ye,Pe.tcx0,Pe.tcy0);return{left:Pe.tcx0,top:Pe.tcy0,width:ot.width,height:ot.height,items:ot.items}}function ye(ze){const Te=ze.SIZ,Fe=ze.components,Pe=Te.Csiz,we=[];for(let Ie=0,Be=ze.tiles.length;Ie>2);Le[$e++]=bt+dt>>Qe,Le[$e++]=bt>>Qe,Le[$e++]=bt+st>>Qe}else for(Ye=0;Ye>Qe,Le[$e++]=ot-.34413*st-.71414*dt>>Qe,Le[$e++]=ot+1.772*st>>Qe;if(ct)for(Ye=0,$e=3;Ye>Qe}else for(let ct=0;ct>Qe,$e+=Pe}we.push(et)}return we}function Ce(ze,Te){const Pe=ze.SIZ.Csiz,we=ze.tiles[Te];for(let Ie=0;Ie>=1,Fe>>=1,Pe++}Pe--,Ie=this.levels[Pe],Ie.items[Ie.index]=we,this.currentLevel=Pe,delete this.value}incrementValue(){const Te=this.levels[this.currentLevel];Te.items[Te.index]++}nextLevel(){let Te=this.currentLevel,Fe=this.levels[Te];const Pe=Fe.items[Fe.index];return Te--,Te<0?(this.value=Pe,!1):(this.currentLevel=Te,Fe=this.levels[Te],Fe.items[Fe.index]=Pe,!0)}}class _e{constructor(Te,Fe,Pe){const we=(0,U.log2)(Math.max(Te,Fe))+1;this.levels=[];for(let Ie=0;IePe)return this.currentLevel=we,this.propagateValues(),!1;Te>>=1,Fe>>=1,we++}return this.currentLevel=we-1,!0}incrementValue(Te){const Fe=this.levels[this.currentLevel];Fe.items[Fe.index]=Te+1,this.propagateValues()}propagateValues(){let Te=this.currentLevel,Fe=this.levels[Te];const Pe=Fe.items[Fe.index];for(;--Te>=0;)Fe=this.levels[Te],Fe.items[Fe.index]=Pe}nextLevel(){let Te=this.currentLevel,Fe=this.levels[Te];const Pe=Fe.items[Fe.index];return Fe.items[Fe.index]=255,Te--,Te<0?!1:(this.currentLevel=Te,Fe=this.levels[Te],Fe.items[Fe.index]=Pe,!0)}}const Ge=function(){const Pe=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]),we=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]),Ie=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);class Be{constructor(Ve,je,Le,et,Qe){this.width=Ve,this.height=je;let Ue;Le==="HH"?Ue=Ie:Le==="HL"?Ue=we:Ue=Pe,this.contextLabelTable=Ue;const $e=Ve*je;this.neighborsSignificance=new Uint8Array($e),this.coefficentsSign=new Uint8Array($e);let Ye;Qe>14?Ye=new Uint32Array($e):Qe>6?Ye=new Uint16Array($e):Ye=new Uint8Array($e),this.coefficentsMagnitude=Ye,this.processingFlags=new Uint8Array($e);const tt=new Uint8Array($e);if(et!==0)for(let ot=0;ot<$e;ot++)tt[ot]=et;this.bitsDecoded=tt,this.reset()}setDecoder(Ve){this.decoder=Ve}reset(){this.contexts=new Int8Array(19),this.contexts[0]=8,this.contexts[17]=92,this.contexts[18]=6}setNeighborsSignificance(Ve,je,Le){const et=this.neighborsSignificance,Qe=this.width,Ue=this.height,$e=je>0,Ye=je+10&&(tt=Le-Qe,$e&&(et[tt-1]+=16),Ye&&(et[tt+1]+=16),et[tt]+=4),Ve+1=Le)break;if($e[rt]&=st,et[rt]||!Ue[rt])continue;const St=tt[Ue[rt]];if(Ve.readBit(Ye,St)){const pt=this.decodeSignBit(Je,ut,rt);Qe[rt]=pt,et[rt]=1,this.setNeighborsSignificance(Je,ut,rt),$e[rt]|=ct}ot[rt]++,$e[rt]|=dt}}}decodeSignBit(Ve,je,Le){const et=this.width,Qe=this.height,Ue=this.coefficentsMagnitude,$e=this.coefficentsSign;let Ye,tt,ot,st,dt,ct;st=je>0&&Ue[Le-1]!==0,je+10&&Ue[Le-et]!==0,Ve+1=0?(dt=9+Ye,ct=this.decoder.readBit(this.contexts,dt)):(dt=9-Ye,ct=this.decoder.readBit(this.contexts,dt)^1),ct}runMagnitudeRefinementPass(){const Ve=this.decoder,je=this.width,Le=this.height,et=this.coefficentsMagnitude,Qe=this.neighborsSignificance,Ue=this.contexts,$e=this.bitsDecoded,Ye=this.processingFlags,tt=1,ot=2,st=je*Le,dt=je*4;for(let ct=0,mt;ct>1;Fe|=0;let Ie,Be,Ke,Ve;const je=-1.586134342059924,Le=-.052980118572961,et=.882911075530934,Qe=.443506852043971,Ue=1.230174104914001,$e=1/Ue;for(Ie=Fe-3,Be=we+4;Be--;Ie+=2)Te[Ie]*=$e;for(Ie=Fe-2,Ke=Qe*Te[Ie-1],Be=we+3;Be--&&(Ve=Qe*Te[Ie+1],Te[Ie]=Ue*Te[Ie]-Ke-Ve,Be--);Ie+=2)Ie+=2,Ke=Qe*Te[Ie+1],Te[Ie]=Ue*Te[Ie]-Ke-Ve;for(Ie=Fe-1,Ke=et*Te[Ie-1],Be=we+2;Be--&&(Ve=et*Te[Ie+1],Te[Ie]-=Ke+Ve,Be--);Ie+=2)Ie+=2,Ke=et*Te[Ie+1],Te[Ie]-=Ke+Ve;for(Ie=Fe,Ke=Le*Te[Ie-1],Be=we+1;Be--&&(Ve=Le*Te[Ie+1],Te[Ie]-=Ke+Ve,Be--);Ie+=2)Ie+=2,Ke=Le*Te[Ie+1],Te[Ie]-=Ke+Ve;if(we!==0)for(Ie=Fe+1,Ke=je*Te[Ie-1],Be=we;Be--&&(Ve=je*Te[Ie+1],Te[Ie]-=Ke+Ve,Be--);Ie+=2)Ie+=2,Ke=je*Te[Ie+1],Te[Ie]-=Ke+Ve}}class Ze extends Ae{filter(Te,Fe,Pe){const we=Pe>>1;Fe|=0;let Ie,Be;for(Ie=Fe,Be=we+1;Be--;Ie+=2)Te[Ie]-=Te[Ie-1]+Te[Ie+1]+2>>2;for(Ie=Fe+1,Be=we;Be--;Ie+=2)Te[Ie]+=Te[Ie-1]+Te[Ie+1]>>1}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.LZWStream=void 0;var R=B(144);class U extends R.DecodeStream{constructor(z,e,ae){super(e),this.str=z,this.dict=z.dict,this.cachedData=0,this.bitsCached=0;const ie=4096,he={earlyChange:ae,codeLength:9,nextCode:258,dictionaryValues:new Uint8Array(ie),dictionaryLengths:new Uint16Array(ie),dictionaryPrevCodes:new Uint16Array(ie),currentSequence:new Uint8Array(ie),currentSequenceLength:0};for(let J=0;J<256;++J)he.dictionaryValues[J]=J,he.dictionaryLengths[J]=1;this.lzwState=he}readBits(z){let e=this.bitsCached,ae=this.cachedData;for(;e>>e&(1<0;if(ve<256)me[0]=ve,Ee=1;else if(ve>=258)if(ve=0;he--)me[he]=Q[J],J=de[J];else me[Ee++]=me[0];else if(ve===256){se=9,L=258,Ee=0;continue}else{this.eof=!0,delete this.lzwState;break}if(ye&&(de[L]=oe,ce[L]=ce[oe]+1,Q[L]=me[0],L++,se=L+X&L+X-1?se:Math.min(Math.log(L+X)/.6931471805599453+1,12)|0),oe=ve,ke+=Ee,ae{Object.defineProperty(D,"__esModule",{value:!0}),D.PredictorStream=void 0;var R=B(144),U=B(130),K=B(2);class z extends R.DecodeStream{constructor(ae,ie,he){if(super(ie),!(he instanceof U.Dict))return ae;const J=this.predictor=he.get("Predictor")||1;if(J<=1)return ae;if(J!==2&&(J<10||J>15))throw new K.FormatError(`Unsupported predictor: ${J}`);J===2?this.readBlock=this.readBlockTiff:this.readBlock=this.readBlockPng,this.str=ae,this.dict=ae.dict;const W=this.colors=he.get("Colors")||1,X=this.bits=he.get("BPC","BitsPerComponent")||8,L=this.columns=he.get("Columns")||1;return this.pixBytes=W*X+7>>3,this.rowBytes=L*W*X+7>>3,this}readBlockTiff(){const ae=this.rowBytes,ie=this.bufferLength,he=this.ensureBuffer(ie+ae),J=this.bits,W=this.colors,X=this.str.getBytes(ae);if(this.eof=!X.length,this.eof)return;let L=0,Q=0,ce=0,de=0,se=ie,oe;if(J===1&&W===1)for(oe=0;oe>1,me^=me>>2,me^=me>>4,L=(me&1)<<7,he[se++]=me}else if(J===8){for(oe=0;oe>8&255,he[se++]=Ee&255}}else{const me=new Uint8Array(W+1),Ee=(1<>ce-J)&Ee,ce-=J,Q=Q<=8&&(he[xe++]=Q>>de-8&255,de-=8);de>0&&(he[xe++]=(Q<<8-de)+(L&(1<<8-de)-1))}this.bufferLength+=ae}readBlockPng(){const ae=this.rowBytes,ie=this.pixBytes,he=this.str.getByte(),J=this.str.getBytes(ae);if(this.eof=!J.length,this.eof)return;const W=this.bufferLength,X=this.ensureBuffer(W+ae);let L=X.subarray(W-ae,W);L.length===0&&(L=new Uint8Array(ae));let Q,ce=W,de,se;switch(he){case 0:for(Q=0;Q>1)+J[Q];for(;Q>1)+J[Q]&255,ce++;break;case 4:for(Q=0;Q{Object.defineProperty(D,"__esModule",{value:!0}),D.RunLengthStream=void 0;var R=B(144);class U extends R.DecodeStream{constructor(z,e){super(e),this.str=z,this.dict=z.dict}readBlock(){const z=this.str.getBytes(2);if(!z||z.length<2||z[0]===128){this.eof=!0;return}let e,ae=this.bufferLength,ie=z[0];if(ie<128){if(e=this.ensureBuffer(ae+ie+1),e[ae++]=z[1],ie>0){const he=this.str.getBytes(ie);e.set(he,ae),ae+=ie}}else{ie=257-ie;const he=z[1];e=this.ensureBuffer(ae+ie+1);for(let J=0;J{Object.defineProperty(D,"__esModule",{value:!0}),D.Font=D.ErrorFont=void 0;var R=B(2),U=B(160),K=B(163),z=B(165),e=B(164),ae=B(162),ie=B(166),he=B(167),J=B(168),W=B(169),X=B(170),L=B(171),Q=B(141),ce=B(172),de=B(131),se=B(135),oe=B(173);const me=[[57344,63743],[1048576,1114109]],Ee=1e3,ke=["ascent","bbox","black","bold","charProcOperatorList","composite","cssFontInfo","data","defaultVMetrics","defaultWidth","descent","fallbackName","fontMatrix","fontType","isType3Font","italic","loadedName","mimetype","missingFile","name","remeasure","subtype","type","vertical"],xe=["cMap","defaultEncoding","differences","isMonospace","isSerifFont","isSymbolicFont","seacMap","toFontChar","toUnicode","vmetrics","widths"];function fe(dt){if(!dt.fontMatrix||dt.fontMatrix[0]===R.FONT_IDENTITY_MATRIX[0])return;const ct=.001/dt.fontMatrix[0],mt=dt.widths;for(const ut in mt)mt[ut]*=ct;dt.defaultWidth*=ct}function ve(dt,ct){if(dt.isInternalFont||ct===dt.defaultEncoding||dt.toUnicode instanceof he.IdentityToUnicodeMap)return;const mt=[],ut=(0,e.getGlyphsUnicode)();for(const rt in ct){if(dt.hasIncludedToUnicodeMap){if(dt.toUnicode.has(rt))continue}else if(dt.hasEncoding&&(dt.differences.length===0||dt.differences[rt]!==void 0))continue;const He=ct[rt],Je=(0,z.getUnicodeForGlyph)(He,ut);Je!==-1&&(mt[rt]=String.fromCharCode(Je))}mt.length>0&&dt.toUnicode.amend(mt)}function ye(dt){if(!dt.fallbackToUnicode||dt.toUnicode instanceof he.IdentityToUnicodeMap)return;const ct=[];for(const mt in dt.fallbackToUnicode)dt.toUnicode.has(mt)||(ct[mt]=dt.fallbackToUnicode[mt]);ct.length>0&&dt.toUnicode.amend(ct)}class Ce{constructor(ct,mt,ut,rt,He,Je,St,bt,pt){this.originalCharCode=ct,this.fontChar=mt,this.unicode=ut,this.accent=rt,this.width=He,this.vmetric=Je,this.operatorListId=St,this.isSpace=bt,this.isInFont=pt;const wt=(0,z.getCharUnicodeCategory)(ut);this.isWhitespace=wt.isWhitespace,this.isZeroWidthDiacritic=wt.isZeroWidthDiacritic,this.isInvisibleFormatMark=wt.isInvisibleFormatMark}matchesForCache(ct,mt,ut,rt,He,Je,St,bt,pt){return this.originalCharCode===ct&&this.fontChar===mt&&this.unicode===ut&&this.accent===rt&&this.width===He&&this.vmetric===Je&&this.operatorListId===St&&this.isSpace===bt&&this.isInFont===pt}}function pe(dt,ct){return(dt<<8)+ct}function _e(dt,ct,mt){dt[ct+1]=mt,dt[ct]=mt>>>8}function Ge(dt,ct){const mt=(dt<<8)+ct;return mt&32768?mt-65536:mt}function Ae(dt,ct,mt,ut){return(dt<<24)+(ct<<16)+(mt<<8)+ut}function Ne(dt){return String.fromCharCode(dt>>8&255,dt&255)}function Ze(dt){return dt>32767?dt=32767:dt<-32768&&(dt=-32768),String.fromCharCode(dt>>8&255,dt&255)}function ze(dt){const ct=dt.peekBytes(4);return(0,de.readUint32)(ct,0)===65536||(0,R.bytesToString)(ct)==="true"}function Te(dt){const ct=dt.peekBytes(4);return(0,R.bytesToString)(ct)==="ttcf"}function Fe(dt){const ct=dt.peekBytes(4);return(0,R.bytesToString)(ct)==="OTTO"}function Pe(dt){const ct=dt.peekBytes(2);return ct[0]===37&&ct[1]===33||ct[0]===128&&ct[1]===1}function we(dt){const ct=dt.peekBytes(4);return ct[0]>=1&&ct[3]>=1&&ct[3]<=4}function Ie(dt,ct){let{type:mt,subtype:ut,composite:rt}=ct,He,Je;return ze(dt)||Te(dt)?rt?He="CIDFontType2":He="TrueType":Fe(dt)?rt?He="CIDFontType2":He="OpenType":Pe(dt)?rt?He="CIDFontType0":He=mt==="MMType1"?"MMType1":"Type1":we(dt)?rt?(He="CIDFontType0",Je="CIDFontType0C"):(He=mt==="MMType1"?"MMType1":"Type1",Je="Type1C"):((0,R.warn)("getFontFileType: Unable to detect correct font file Type/Subtype."),He=mt,Je=ut),[He,Je]}function Be(dt,ct){for(const mt in ct)dt[+mt]=ct[mt]}function Ke(dt,ct,mt){const ut=[];let rt;for(let He=0,Je=dt.length;He2&&arguments[2]!==void 0?arguments[2]:!1;switch(ct.length){case 1:return ct.charCodeAt(0);case 2:return ct.charCodeAt(0)<<8|ct.charCodeAt(1)}const ut=`Unsupported CID string (charCode ${dt}): "${ct}".`;if(mt)throw new R.FormatError(ut);return(0,R.warn)(ut),ct}function je(dt,ct,mt,ut){const rt=Object.create(null),He=new Map,Je=[],St=new Set;let bt=0;const pt=me[bt][0];let wt=pt,Pt=me[bt][1];for(let Nt in dt){Nt|=0;let Vt=dt[Nt];if(!ct(Vt))continue;if(wt>Pt){if(bt++,bt>=me.length){(0,R.warn)("Ran out of space in font private use area.");break}wt=me[bt][0],Pt=me[bt][1]}const Wt=wt++;Vt===0&&(Vt=mt);let Mt=ut.get(Nt);typeof Mt=="string"&&(Mt=Mt.codePointAt(0)),Mt&&Mt=mt||ut.push({fontCharCode:Je|0,glyphId:dt[Je]});if(ct)for(const[Je,St]of ct)St>=mt||ut.push({fontCharCode:Je,glyphId:St});ut.length===0&&ut.push({fontCharCode:0,glyphId:0}),ut.sort(function(St,bt){return St.fontCharCode-bt.fontCharCode});const rt=[],He=ut.length;for(let Je=0;Je65535?2:1;let He="\0\0"+Ne(rt)+"\0\0"+(0,R.string32)(4+rt*8),Je,St,bt,pt;for(Je=ut.length-1;Je>=0&&!(ut[Je][0]<=65535);--Je);const wt=Je+1;ut[Je][0]<65535&&ut[Je][1]===65535&&(ut[Je][1]=65534);const Pt=ut[Je][1]<65535?1:0,Nt=wt+Pt,Vt=ce.OpenTypeFileBuilder.getSearchParams(Nt,2);let Wt="",Mt="",$t="",Yt="",Ft="",Jt=0,er,Bt,It,Dt;for(Je=0,St=wt;Je0&&(Mt+="ÿÿ",Wt+="ÿÿ",$t+="\0",Yt+="\0\0");const Zt="\0\0"+Ne(2*Nt)+Ne(Vt.range)+Ne(Vt.entry)+Ne(Vt.rangeShift)+Mt+"\0\0"+Wt+$t+Yt+Ft;let gr="",fr="";if(rt>1){for(He+=`\0\0 +`+(0,R.string32)(4+rt*8+4+Zt.length),gr="",Je=0,St=ut.length;JeHe||(ct.skip(6),ct.getUint16()===0)?!1:(dt.data[8]=dt.data[9]=0,!0)}function Ue(dt,ct,mt){mt=mt||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};let ut=0,rt=0,He=0,Je=0,St=null,bt=0;if(ct){for(let $t in ct){$t|=0,(St>$t||!St)&&(St=$t),bt<$t&&(bt=$t);const Yt=(0,z.getUnicodeRangeFor)($t);if(Yt<32)ut|=1< 123 are reserved for internal usage")}bt>65535&&(bt=65535)}else St=0,bt=255;const pt=dt.bbox||[0,0,0,0],wt=mt.unitsPerEm||1/(dt.fontMatrix||R.FONT_IDENTITY_MATRIX)[0],Pt=dt.ascentScaled?1:wt/Ee,Nt=mt.ascent||Math.round(Pt*(dt.ascent||pt[3]));let Vt=mt.descent||Math.round(Pt*(dt.descent||pt[1]));Vt>0&&dt.descent>0&&pt[1]<0&&(Vt=-Vt);const Wt=mt.yMax||Nt,Mt=-mt.yMin||-Vt;return"\0$ô\0\0\0Š»\0\0\0ŒŠ»\0\0ß\x001\0\0\0\0"+String.fromCharCode(dt.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,R.string32)(ut)+(0,R.string32)(rt)+(0,R.string32)(He)+(0,R.string32)(Je)+"*21*"+Ne(dt.italicAngle?1:0)+Ne(St||dt.firstChar)+Ne(bt||dt.lastChar)+Ne(Nt)+Ne(Vt)+"\0d"+Ne(Wt)+Ne(Mt)+"\0\0\0\0\0\0\0\0"+Ne(dt.xHeight)+Ne(dt.capHeight)+Ne(0)+Ne(St||dt.firstChar)+"\0"}function $e(dt){const ct=Math.floor(dt.italicAngle*65536);return"\0\0\0"+(0,R.string32)(ct)+"\0\0\0\0"+(0,R.string32)(dt.fixedPitch?1:0)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function Ye(dt){return dt.replace(/[^\x21-\x7E]|[[\](){}<>/%]/g,"").slice(0,63)}function tt(dt,ct){ct||(ct=[[],[]]);const mt=[ct[0][0]||"Original licence",ct[0][1]||dt,ct[0][2]||"Unknown",ct[0][3]||"uniqueID",ct[0][4]||dt,ct[0][5]||"Version 0.11",ct[0][6]||Ye(dt),ct[0][7]||"Unknown",ct[0][8]||"Unknown",ct[0][9]||"Unknown"],ut=[];let rt,He,Je,St,bt;for(rt=0,He=mt.length;rt0&&arguments[0]!==void 0?arguments[0]:!1)?[...ke,...xe]:ke,ut=Object.create(null);let rt,He;for(rt of mt)He=this[rt],He!==void 0&&(ut[rt]=He);return ut}fallbackToSystemFont(ct){this.missingFile=!0;const mt=this.name,ut=this.type,rt=this.subtype;let He=(0,K.normalizeFontName)(mt);const Je=(0,ie.getStdFontMap)(),St=(0,ie.getNonStdFontMap)(),bt=!!Je[He],pt=!!(St[He]&&Je[St[He]]);He=Je[He]||St[He]||He;const Pt=(0,X.getFontBasicMetrics)()[He];Pt&&(isNaN(this.ascent)&&(this.ascent=Pt.ascent/Ee),isNaN(this.descent)&&(this.descent=Pt.descent/Ee),isNaN(this.capHeight)&&(this.capHeight=Pt.capHeight/Ee)),this.bold=He.search(/bold/gi)!==-1,this.italic=He.search(/oblique/gi)!==-1||He.search(/italic/gi)!==-1,this.black=mt.search(/Black/g)!==-1;const Nt=mt.search(/Narrow/g)!==-1;if(this.remeasure=(!bt||Nt)&&Object.keys(this.widths).length>0,(bt||pt)&&ut==="CIDFontType2"&&this.cidEncoding.startsWith("Identity-")){const Vt=ct.cidToGidMap,Wt=[];if(Be(Wt,(0,ie.getGlyphMapForStandardFonts)()),/Arial-?Black/i.test(mt)?Be(Wt,(0,ie.getSupplementalGlyphMapForArialBlack)()):/Calibri/i.test(mt)&&Be(Wt,(0,ie.getSupplementalGlyphMapForCalibri)()),Vt){for(const Mt in Wt){const $t=Wt[Mt];Vt[$t]!==void 0&&(Wt[+Mt]=Vt[$t])}Vt.length!==this.toUnicode.length&&ct.hasIncludedToUnicodeMap&&this.toUnicode instanceof he.IdentityToUnicodeMap&&this.toUnicode.forEach(function(Mt,$t){const Yt=Wt[Mt];Vt[Yt]===void 0&&(Wt[+Mt]=$t)})}this.toUnicode instanceof he.IdentityToUnicodeMap||this.toUnicode.forEach(function(Mt,$t){Wt[+Mt]=$t}),this.toFontChar=Wt,this.toUnicode=new he.ToUnicodeMap(Wt)}else if(/Symbol/i.test(He))this.toFontChar=Ke(ae.SymbolSetEncoding,(0,e.getGlyphsUnicode)(),this.differences);else if(/Dingbats/i.test(He))/Wingdings/i.test(mt)&&(0,R.warn)("Non-embedded Wingdings font, falling back to ZapfDingbats."),this.toFontChar=Ke(ae.ZapfDingbatsEncoding,(0,e.getDingbatsGlyphsUnicode)(),this.differences);else if(bt){const Vt=Ke(this.defaultEncoding,(0,e.getGlyphsUnicode)(),this.differences);ut==="CIDFontType2"&&!this.cidEncoding.startsWith("Identity-")&&!(this.toUnicode instanceof he.IdentityToUnicodeMap)&&this.toUnicode.forEach(function(Wt,Mt){Vt[+Wt]=Mt}),this.toFontChar=Vt}else{const Vt=(0,e.getGlyphsUnicode)(),Wt=[];this.toUnicode.forEach((Mt,$t)=>{if(!this.composite){const Yt=this.differences[Mt]||this.defaultEncoding[Mt],Ft=(0,z.getUnicodeForGlyph)(Yt,Vt);Ft!==-1&&($t=Ft)}Wt[+Mt]=$t}),this.composite&&this.toUnicode instanceof he.IdentityToUnicodeMap&&/Verdana/i.test(mt)&&Be(Wt,(0,ie.getGlyphMapForStandardFonts)()),this.toFontChar=Wt}ye(ct),this.loadedName=He.split("-")[0],this.fontType=(0,K.getFontType)(ut,rt,ct.isStandardFont)}checkAndRepair(ct,mt,ut){const rt=["OS/2","cmap","head","hhea","hmtx","maxp","name","post","loca","glyf","fpgm","prep","cvt ","CFF "];function He(sr,ur){const Cr=Object.create(null);Cr["OS/2"]=null,Cr.cmap=null,Cr.head=null,Cr.hhea=null,Cr.hmtx=null,Cr.maxp=null,Cr.name=null,Cr.post=null;for(let Tr=0;Tr>>0,Tr=sr.getInt32()>>>0,jt=sr.getInt32()>>>0,Wr=sr.pos;sr.pos=sr.start||0,sr.skip(Tr);const ir=sr.getBytes(jt);return sr.pos=Wr,ur==="head"&&(ir[8]=ir[9]=ir[10]=ir[11]=0,ir[17]|=32),{tag:ur,checksum:Cr,length:jt,offset:Tr,data:ir}}function St(sr){return{version:sr.getString(4),numTables:sr.getUint16(),searchRange:sr.getUint16(),entrySelector:sr.getUint16(),rangeShift:sr.getUint16()}}function bt(sr){const ur=sr.getString(4);(0,R.assert)(ur==="ttcf","Must be a TrueType Collection font.");const Cr=sr.getUint16(),Tr=sr.getUint16(),jt=sr.getInt32()>>>0,Wr=[];for(let Gr=0;Gr>>0);const ir={ttcTag:ur,majorVersion:Cr,minorVersion:Tr,numFonts:jt,offsetTable:Wr};switch(Cr){case 1:return ir;case 2:return ir.dsigTag=sr.getInt32()>>>0,ir.dsigLength=sr.getInt32()>>>0,ir.dsigOffset=sr.getInt32()>>>0,ir}throw new R.FormatError(`Invalid TrueType Collection majorVersion: ${Cr}.`)}function pt(sr,ur){const{numFonts:Cr,offsetTable:Tr}=bt(sr),jt=ur.split("+");let Wr;for(let ir=0;ir>>0;let an=!1;if(!(Gr&&Gr.platformId===Lr&&Gr.encodingId===Rr)){if(Lr===0&&(Rr===0||Rr===1||Rr===3))an=!0;else if(Lr===1&&Rr===0)an=!0;else if(Lr===3&&Rr===1&&(Tr||!Gr))an=!0,Cr||(Jr=!0);else if(Cr&&Lr===3&&Rr===0){an=!0;let gn=!0;if(xr>3;xr.push(an),Lr=Math.max(an,Lr)}const Rr=[];for(let Mr=0;Mr<=Lr;Mr++)Rr.push({firstCode:ur.getUint16(),entryCount:ur.getUint16(),idDelta:Ge(ur.getByte(),ur.getByte()),idRangePos:ur.pos+ur.getUint16()});for(let Mr=0;Mr<256;Mr++)if(xr[Mr]===0)ur.pos=Rr[0].idRangePos+2*Mr,ar=ur.getUint16(),cn.push({charCode:Mr,glyphId:ar});else{const an=Rr[xr[Mr]];for(nn=0;nn>1;ur.skip(6);const Lr=[];let Rr;for(Rr=0;Rr>1)-(xr-Rr),jt.offsetIndex=an,Mr=Math.max(Mr,an+jt.end-jt.start+1)}const gn=[];for(nn=0;nn>>0;for(nn=0;nn>>0,Rr=ur.getInt32()>>>0;let Mr=ur.getInt32()>>>0;for(let an=Lr;an<=Rr;an++)cn.push({charCode:an,glyphId:Mr++})}}else return(0,R.warn)("cmap table has unsupported format: "+Xr),{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1};cn.sort(function(xr,Lr){return xr.charCode-Lr.charCode});for(let xr=1;xrjt&&((0,R.info)(`The numOfMetrics (${Gr}) should not be greater than the numGlyphs (${jt}).`),Gr=jt,ur.data[34]=(Gr&65280)>>8,ur.data[35]=Gr&255);const Xr=jt-Gr-(Cr.length-Gr*4>>1);if(Xr>0){const fn=new Uint8Array(Cr.length+Xr*2);fn.set(Cr.data),Wr&&(fn[Cr.length]=Cr.data[2],fn[Cr.length+1]=Cr.data[3]),Cr.data=fn}}function Nt(sr,ur,Cr,Tr,jt,Wr){const ir={length:0,sizeOfInstructions:0};if(Cr-ur<=12)return ir;const Gr=sr.subarray(ur,Cr);let Jr=Ge(Gr[0],Gr[1]);if(Jr<0)return Jr=-1,_e(Gr,0,Jr),Tr.set(Gr,jt),ir.length=Gr.length,ir;let Xr,fn=10,cn=0;for(Xr=0;XrGr.length?ir:!Wr&&ar>0?(Tr.set(Gr.subarray(0,nn),jt),Tr.set([0,0],jt+nn),Tr.set(Gr.subarray(xr,Rr),jt+nn+2),Rr-=ar,Gr.length-Rr>3&&(Rr=Rr+3&-4),ir.length=Rr,ir):Gr.length-Rr>3?(Rr=Rr+3&-4,Tr.set(Gr.subarray(0,Rr),jt),ir.length=Rr,ir):(Tr.set(Gr,jt),ir.length=Gr.length,ir)}function Vt(sr,ur,Cr){const Tr=sr.data,jt=Ae(Tr[0],Tr[1],Tr[2],Tr[3]);jt>>16!==1&&((0,R.info)("Attempting to fix invalid version in head table: "+jt),Tr[0]=0,Tr[1]=1,Tr[2]=0,Tr[3]=0);const Wr=pe(Tr[50],Tr[51]);if(Wr<0||Wr>1){(0,R.info)("Attempting to fix invalid indexToLocFormat in head table: "+Wr);const ir=ur+1;if(Cr===ir<<1)Tr[50]=0,Tr[51]=0;else if(Cr===ir<<2)Tr[50]=0,Tr[51]=1;else throw new R.FormatError("Could not fix indexToLocFormat: "+Wr)}}function Wt(sr,ur,Cr,Tr,jt,Wr,ir){let Gr,Jr,Xr;Tr?(Gr=4,Jr=function(Mn,Yn){return Mn[Yn]<<24|Mn[Yn+1]<<16|Mn[Yn+2]<<8|Mn[Yn+3]},Xr=function(Mn,Yn,hi){Mn[Yn]=hi>>>24&255,Mn[Yn+1]=hi>>16&255,Mn[Yn+2]=hi>>8&255,Mn[Yn+3]=hi&255}):(Gr=2,Jr=function(Mn,Yn){return Mn[Yn]<<9|Mn[Yn+1]<<1},Xr=function(Mn,Yn,hi){Mn[Yn]=hi>>9&255,Mn[Yn+1]=hi>>1&255});const fn=Wr?Cr+1:Cr,cn=Gr*(1+fn),nn=new Uint8Array(cn);nn.set(sr.data.subarray(0,cn)),sr.data=nn;const ar=ur.data,xr=ar.length,Lr=new Uint8Array(xr);let Rr,Mr;const an=[];for(Rr=0,Mr=0;Rrxr&&(pn=xr),an.push({index:Rr,offset:pn,endOffset:0})}for(an.sort((pn,Mn)=>pn.offset-Mn.offset),Rr=0;Rrpn.index-Mn.index),Rr=0;Rrir&&(ir=pn.sizeOfInstructions),dn+=Mn,Xr(nn,Mr,dn)}if(dn===0){const pn=new Uint8Array([0,1,0,0,0,0,0,0,0,0,0,0,0,0,49,0]);for(Rr=0,Mr=Gr;Rrpn+dn?ur.data=Lr.subarray(0,pn+dn):(ur.data=new Uint8Array(pn+dn),ur.data.set(Lr.subarray(0,dn))),ur.data.set(Lr.subarray(0,pn),dn),Xr(sr.data,nn.length-Gr,dn+pn)}else ur.data=Lr.subarray(0,dn);return{missingGlyphs:gn,maxSizeOfInstructions:ir}}function Mt(sr,ur,Cr){const Tr=(mt.start||0)+sr.offset;mt.pos=Tr;const jt=sr.length,Wr=Tr+jt,ir=mt.getInt32();mt.skip(28);let Gr,Jr=!0,Xr;switch(ir){case 65536:Gr=K.MacStandardGlyphOrdering;break;case 131072:const fn=mt.getUint16();if(fn!==Cr){Jr=!1;break}const cn=[];for(Xr=0;Xr=32768){Jr=!1;break}cn.push(xr)}if(!Jr)break;const nn=[],ar=[];for(;mt.posjt)continue;mt.pos=xr;const Lr=ar.name;if(ar.encoding){let Rr="";for(let Mr=0,an=ar.length;Mr0&&(Tr+=pn-1)}if(!Lr&&!Mr){let pn=0;for(dn<=142?pn=Yt[dn]:dn>=192&&dn<=223?pn=-1:dn>=224&&(pn=-2),dn>=113&&dn<=117&&(Wr=cn.pop(),isNaN(Wr)||(pn=-Wr*2));pn<0&&cn.length>0;)cn.pop(),pn++;for(;pn>0;)cn.push(NaN),pn--}}ur.tooComplexToFollowFunctions=xr;const an=[Cr];Tr>Cr.length&&an.push(new Uint8Array(Tr-Cr.length)),fn>Xr&&((0,R.warn)("TT: complementing a missing function tail"),an.push(new Uint8Array([34,45]))),er(sr,an)}function Jt(sr,ur){if(!sr.tooComplexToFollowFunctions){if(sr.functionsDefined.length>ur){(0,R.warn)("TT: more functions defined than expected"),sr.hintsValid=!1;return}for(let Cr=0,Tr=sr.functionsUsed.length;Crur){(0,R.warn)("TT: invalid function id: "+Cr),sr.hintsValid=!1;return}if(sr.functionsUsed[Cr]&&!sr.functionsDefined[Cr]){(0,R.warn)("TT: undefined function: "+Cr),sr.hintsValid=!1;return}}}}function er(sr,ur){if(ur.length>1){let Cr=0,Tr,jt;for(Tr=0,jt=ur.length;Tr0||!(ut.cMap instanceof Q.IdentityCMap));if(It.version==="OTTO"&&!sr||!Dt.head||!Dt.hhea||!Dt.maxp||!Dt.post)return gr=new se.Stream(Dt["CFF "].data),Zt=new J.CFFFont(gr,ut),fe(ut),this.convert(ct,Zt,ut);delete Dt.glyf,delete Dt.loca,delete Dt.fpgm,delete Dt.prep,delete Dt["cvt "],this.isOpenType=!0}if(!Dt.maxp)throw new R.FormatError('Required "maxp" table is not found');mt.pos=(mt.start||0)+Dt.maxp.offset;const Dr=mt.getInt32(),kr=mt.getUint16();if(ut.scaleFactors&&ut.scaleFactors.length===kr&&fr){const{scaleFactors:sr}=ut,ur=pe(Dt.head.data[50],Dt.head.data[51]),Cr=new L.GlyfTable({glyfTable:Dt.glyf.data,isGlyphLocationsLong:ur,locaTable:Dt.loca.data,numGlyphs:kr});Cr.scale(sr);const{glyf:Tr,loca:jt,isLocationLong:Wr}=Cr.write();Dt.glyf.data=Tr,Dt.loca.data=jt,Wr!==!!ur&&(Dt.head.data[50]=0,Dt.head.data[51]=Wr?1:0);const ir=Dt.hmtx.data;for(let Gr=0;Gr>8&255,ir[Jr+1]=Xr&255;const fn=Math.round(sr[Gr]*Ge(ir[Jr+2],ir[Jr+3]));_e(ir,Jr+2,fn)}}let cr=kr+1,Ar=!0;cr>65535&&(Ar=!1,cr=kr,(0,R.warn)("Not enough space in glyfs to duplicate first glyph."));let yt=0,vt=0;Dr>=65536&&Dt.maxp.length>=22&&(mt.pos+=8,mt.getUint16()>2&&(Dt.maxp.data[14]=0,Dt.maxp.data[15]=2),mt.pos+=4,yt=mt.getUint16(),mt.pos+=4,vt=mt.getUint16()),Dt.maxp.data[4]=cr>>8,Dt.maxp.data[5]=cr&255;const Xt=Bt(Dt.fpgm,Dt.prep,Dt["cvt "],yt);if(Xt||(delete Dt.fpgm,delete Dt.prep,delete Dt["cvt "]),Pt(mt,Dt.hhea,Dt.hmtx,Dt.head,cr,Ar),!Dt.head)throw new R.FormatError('Required "head" table is not found');Vt(Dt.head,kr,fr?Dt.loca.length:0);let At=Object.create(null);if(fr){const sr=pe(Dt.head.data[50],Dt.head.data[51]),ur=Wt(Dt.loca,Dt.glyf,kr,sr,Xt,Ar,vt);At=ur.missingGlyphs,Dr>=65536&&Dt.maxp.length>=22&&(Dt.maxp.data[26]=ur.maxSizeOfInstructions>>8,Dt.maxp.data[27]=ur.maxSizeOfInstructions&255)}if(!Dt.hhea)throw new R.FormatError('Required "hhea" table is not found');Dt.hhea.data[10]===0&&Dt.hhea.data[11]===0&&(Dt.hhea.data[10]=255,Dt.hhea.data[11]=255);const zt={unitsPerEm:pe(Dt.head.data[18],Dt.head.data[19]),yMax:pe(Dt.head.data[42],Dt.head.data[43]),yMin:Ge(Dt.head.data[38],Dt.head.data[39]),ascent:Ge(Dt.hhea.data[4],Dt.hhea.data[5]),descent:Ge(Dt.hhea.data[6],Dt.hhea.data[7]),lineGap:Ge(Dt.hhea.data[8],Dt.hhea.data[9])};this.ascent=zt.ascent/zt.unitsPerEm,this.descent=zt.descent/zt.unitsPerEm,this.lineGap=zt.lineGap/zt.unitsPerEm,this.cssFontInfo&&this.cssFontInfo.lineHeight?(this.lineHeight=this.cssFontInfo.metrics.lineHeight,this.lineGap=this.cssFontInfo.metrics.lineGap):this.lineHeight=this.ascent-this.descent+this.lineGap,Dt.post&&Mt(Dt.post,ut,kr),Dt.post={tag:"post",data:$e(ut)};const Br=[];function br(sr){return!At[sr]}if(ut.composite){const sr=ut.cidToGidMap||[],ur=sr.length===0;ut.cMap.forEach(function(Cr,Tr){if(typeof Tr=="string"&&(Tr=Ve(Cr,Tr,!0)),Tr>65535)throw new R.FormatError("Max size of CID is 65,535");let jt=-1;ur?jt=Tr:sr[Tr]!==void 0&&(jt=sr[Tr]),jt>=0&&jt=61440&&Jr<=61695&&(Jr&=255),Br[Jr]=Tr[Gr].glyphId}if(ut.glyphNames&&(Wr.length||this.differences.length))for(let Gr=0;Gr<256;++Gr){if(!ir&&Br[Gr]!==void 0)continue;const Jr=this.differences[Gr]||Wr[Gr];if(!Jr)continue;const Xr=ut.glyphNames.indexOf(Jr);Xr>0&&br(Xr)&&(Br[Gr]=Xr)}}Br.length===0&&(Br[0]=0);let Ur=cr-1;if(Ar||(Ur=0),!ut.cssFontInfo){const sr=je(Br,br,Ur,this.toUnicode);this.toFontChar=sr.toFontChar,Dt.cmap={tag:"cmap",data:et(sr.charCodeToGlyphId,sr.toUnicodeExtraMap,cr)},(!Dt["OS/2"]||!Qe(Dt["OS/2"],mt))&&(Dt["OS/2"]={tag:"OS/2",data:Ue(ut,sr.charCodeToGlyphId,zt)})}if(!fr)try{gr=new se.Stream(Dt["CFF "].data),Zt=new U.CFFParser(gr,ut,K.SEAC_ANALYSIS_ENABLED).parse(),Zt.duplicateFirstGlyph();const ur=new U.CFFCompiler(Zt);Dt["CFF "].data=ur.compile()}catch{(0,R.warn)("Failed to compile font "+ut.loadedName)}if(!Dt.name)Dt.name={tag:"name",data:tt(this.name)};else{const sr=$t(Dt.name);Dt.name.data=tt(ct,sr),this.psName=sr[0][6]||null}const un=new ce.OpenTypeFileBuilder(It.version);for(const sr in Dt)un.addTable(sr,Dt[sr].data);return un.toArray()}convert(ct,mt,ut){ut.fixedPitch=!1,ut.builtInEncoding&&ve(ut,ut.builtInEncoding);let rt=1;mt instanceof J.CFFFont&&(rt=mt.numGlyphs-1);const He=mt.getGlyphMapping(ut);let Je=null,St=He,bt=null;ut.cssFontInfo||(Je=je(He,mt.hasGlyphId.bind(mt),rt,this.toUnicode),this.toFontChar=Je.toFontChar,St=Je.charCodeToGlyphId,bt=Je.toUnicodeExtraMap);const pt=mt.numGlyphs;function wt(Mt,$t){let Yt=null;for(const Ft in Mt)$t===Mt[Ft]&&(Yt||(Yt=[]),Yt.push(Ft|0));return Yt}function Pt(Mt,$t){for(const Yt in Mt)if($t===Mt[Yt])return Yt|0;return Je.charCodeToGlyphId[Je.nextAvailableFontCharCode]=$t,Je.nextAvailableFontCharCode++}const Nt=mt.seacs;if(Je&&K.SEAC_ANALYSIS_ENABLED&&Nt&&Nt.length){const Mt=ut.fontMatrix||R.FONT_IDENTITY_MATRIX,$t=mt.getCharset(),Yt=Object.create(null);for(let Ft in Nt){Ft|=0;const Jt=Nt[Ft],er=ae.StandardEncoding[Jt[2]],Bt=ae.StandardEncoding[Jt[3]],It=$t.indexOf(er),Dt=$t.indexOf(Bt);if(It<0||Dt<0)continue;const Zt={x:Jt[0]*Mt[0]+Jt[1]*Mt[2]+Mt[4],y:Jt[0]*Mt[1]+Jt[1]*Mt[3]+Mt[5]},gr=wt(He,Ft);if(gr)for(let fr=0,Dr=gr.length;fr1&&arguments[1]!==void 0?arguments[1]:!1,ut,rt,He,Je=ct;this.cMap&&this.cMap.contains(ct)&&(Je=this.cMap.lookup(ct),typeof Je=="string"&&(Je=Ve(ct,Je))),rt=this.widths[Je],typeof rt!="number"&&(rt=this.defaultWidth);const St=this.vmetrics&&this.vmetrics[Je];let bt=this.toUnicode.get(ct)||ct;typeof bt=="number"&&(bt=String.fromCharCode(bt));let pt=this.toFontChar[ct]!==void 0;if(ut=this.toFontChar[ct]||ct,this.missingFile){const Vt=this.differences[ct]||this.defaultEncoding[ct];(Vt===".notdef"||Vt==="")&&this.type==="Type1"&&(ut=32),ut=(0,z.mapSpecialUnicodeValues)(ut)}this.isType3Font&&(He=ut);let wt=null;if(this.seacMap&&this.seacMap[ct]){pt=!0;const Vt=this.seacMap[ct];ut=Vt.baseFontCharCode,wt={fontChar:String.fromCodePoint(Vt.accentFontCharCode),offset:Vt.accentOffset}}let Pt="";typeof ut=="number"&&(ut<=1114111?Pt=String.fromCodePoint(ut):(0,R.warn)(`charToGlyph - invalid fontCharCode: ${ut}`));let Nt=this._glyphCache[ct];return(!Nt||!Nt.matchesForCache(ct,Pt,bt,wt,rt,St,He,mt,pt))&&(Nt=new Ce(ct,Pt,bt,wt,rt,St,He,mt,pt),this._glyphCache[ct]=Nt),Nt}charsToGlyphs(ct){let mt=this._charsCache[ct];if(mt)return mt;if(mt=[],this.cMap){const ut=Object.create(null),rt=ct.length;let He=0;for(;Hemt.length%2===1,He=this.toUnicode instanceof he.IdentityToUnicodeMap?Je=>this.toUnicode.charCodeOf(Je):Je=>this.toUnicode.charCodeOf(String.fromCodePoint(Je));for(let Je=0,St=ct.length;Je55295&&(bt<57344||bt>65533)&&Je++,this.toUnicode){const pt=He(bt);if(pt!==-1){rt()&&(mt.push(ut.join("")),ut.length=0);const wt=this.cMap?this.cMap.getCharCodeLength(pt):1;for(let Pt=wt-1;Pt>=0;Pt--)ut.push(String.fromCharCode(pt>>8*Pt&255));continue}}rt()||(mt.push(ut.join("")),ut.length=0),ut.push(String.fromCodePoint(bt))}return mt.push(ut.join("")),mt}}D.Font=ot;class st{constructor(ct){this.error=ct,this.loadedName="g_font_error",this.missingFile=!0}charsToGlyphs(){return[]}encodeString(ct){return[ct]}exportData(){return{error:this.error}}}D.ErrorFont=st},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CFFTopDict=D.CFFStrings=D.CFFStandardStrings=D.CFFPrivateDict=D.CFFParser=D.CFFIndex=D.CFFHeader=D.CFFFDSelect=D.CFFCompiler=D.CFFCharset=D.CFF=void 0;var R=B(2),U=B(161),K=B(162);const z=10,e=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"];D.CFFStandardStrings=e;const ae=391,ie=[null,{id:"hstem",min:2,stackClearing:!0,stem:!0},null,{id:"vstem",min:2,stackClearing:!0,stem:!0},{id:"vmoveto",min:1,stackClearing:!0},{id:"rlineto",min:2,resetStack:!0},{id:"hlineto",min:1,resetStack:!0},{id:"vlineto",min:1,resetStack:!0},{id:"rrcurveto",min:6,resetStack:!0},null,{id:"callsubr",min:1,undefStack:!0},{id:"return",min:0,undefStack:!0},null,null,{id:"endchar",min:0,stackClearing:!0},null,null,null,{id:"hstemhm",min:2,stackClearing:!0,stem:!0},{id:"hintmask",min:0,stackClearing:!0},{id:"cntrmask",min:0,stackClearing:!0},{id:"rmoveto",min:2,stackClearing:!0},{id:"hmoveto",min:1,stackClearing:!0},{id:"vstemhm",min:2,stackClearing:!0,stem:!0},{id:"rcurveline",min:8,resetStack:!0},{id:"rlinecurve",min:8,resetStack:!0},{id:"vvcurveto",min:4,resetStack:!0},{id:"hhcurveto",min:4,resetStack:!0},null,{id:"callgsubr",min:1,undefStack:!0},{id:"vhcurveto",min:4,resetStack:!0},{id:"hvcurveto",min:4,resetStack:!0}],he=[null,null,null,{id:"and",min:2,stackDelta:-1},{id:"or",min:2,stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn(Ce,pe){Ce[pe-2]=Ce[pe-2]+Ce[pe-1]}},{id:"sub",min:2,stackDelta:-1,stackFn(Ce,pe){Ce[pe-2]=Ce[pe-2]-Ce[pe-1]}},{id:"div",min:2,stackDelta:-1,stackFn(Ce,pe){Ce[pe-2]=Ce[pe-2]/Ce[pe-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn(Ce,pe){Ce[pe-1]=-Ce[pe-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn(Ce,pe){Ce[pe-2]=Ce[pe-2]*Ce[pe-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];class J{constructor(pe,_e,Ge){this.bytes=pe.getBytes(),this.properties=_e,this.seacAnalysisEnabled=!!Ge}parse(){const pe=this.properties,_e=new W;this.cff=_e;const Ge=this.parseHeader(),Ae=this.parseIndex(Ge.endPos),Ne=this.parseIndex(Ae.endPos),Ze=this.parseIndex(Ne.endPos),ze=this.parseIndex(Ze.endPos),Te=this.parseDict(Ne.obj.get(0)),Fe=this.createDict(se,Te,_e.strings);_e.header=Ge.obj,_e.names=this.parseNameIndex(Ae.obj),_e.strings=this.parseStringIndex(Ze.obj),_e.topDict=Fe,_e.globalSubrIndex=ze.obj,this.parsePrivateDict(_e.topDict),_e.isCIDFont=Fe.hasName("ROS");const Pe=Fe.getByName("CharStrings"),we=this.parseIndex(Pe).obj,Ie=Fe.getByName("FontMatrix");Ie&&(pe.fontMatrix=Ie);const Be=Fe.getByName("FontBBox");Be&&(pe.ascent=Math.max(Be[3],Be[1]),pe.descent=Math.min(Be[1],Be[3]),pe.ascentScaled=!0);let Ke,Ve;if(_e.isCIDFont){const Le=this.parseIndex(Fe.getByName("FDArray")).obj;for(let et=0,Qe=Le.count;et=_e)throw new R.FormatError("Invalid CFF header");Ge!==0&&((0,R.info)("cff data is shifted"),pe=pe.subarray(Ge),this.bytes=pe);const Ae=pe[0],Ne=pe[1],Ze=pe[2],ze=pe[3];return{obj:new X(Ae,Ne,Ze,ze),endPos:Ze}}parseDict(pe){let _e=0;function Ge(){let Te=pe[_e++];return Te===30?Ae():Te===28?(Te=pe[_e++],Te=(Te<<24|pe[_e++]<<16)>>16,Te):Te===29?(Te=pe[_e++],Te=Te<<8|pe[_e++],Te=Te<<8|pe[_e++],Te=Te<<8|pe[_e++],Te):Te>=32&&Te<=246?Te-139:Te>=247&&Te<=250?(Te-247)*256+pe[_e++]+108:Te>=251&&Te<=254?-((Te-251)*256)-pe[_e++]-108:((0,R.warn)('CFFParser_parseDict: "'+Te+'" is a reserved command.'),NaN)}function Ae(){let Te="";const Pe=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],we=pe.length;for(;_e>4,Ke=Ie&15;if(Be===15||(Te+=Pe[Be],Ke===15))break;Te+=Pe[Ke]}return parseFloat(Te)}let Ne=[];const Ze=[];_e=0;const ze=pe.length;for(;_ez)return!1;let Ne=pe.stackSize;const Ze=pe.stack,ze=_e.length;for(let Te=0;Te>16,Te+=2,Ne++;else if(Fe===14){if(Ne>=4&&(Ne-=4,this.seacAnalysisEnabled))return pe.seac=Ze.slice(Ne,Ne+4),!1;Pe=ie[Fe]}else if(Fe>=32&&Fe<=246)Ze[Ne]=Fe-139,Ne++;else if(Fe>=247&&Fe<=254)Ze[Ne]=Fe<251?(Fe-247<<8)+_e[Te]+108:-(Fe-251<<8)-_e[Te]-108,Te++,Ne++;else if(Fe===255)Ze[Ne]=(_e[Te]<<24|_e[Te+1]<<16|_e[Te+2]<<8|_e[Te+3])/65536,Te+=4,Ne++;else if(Fe===19||Fe===20)pe.hints+=Ne>>1,Te+=pe.hints+7>>3,Ne%=2,Pe=ie[Fe];else if(Fe===10||Fe===29){let we;if(Fe===10?we=Ge:we=Ae,!we)return Pe=ie[Fe],(0,R.warn)("Missing subrsIndex for "+Pe.id),!1;let Ie=32768;we.count<1240?Ie=107:we.count<33900&&(Ie=1131);const Be=Ze[--Ne]+Ie;if(Be<0||Be>=we.count||isNaN(Be))return Pe=ie[Fe],(0,R.warn)("Out of bounds subrIndex for "+Pe.id),!1;if(pe.stackSize=Ne,pe.callDepth++,!this.parseCharString(pe,we.get(Be),Ge,Ae))return!1;pe.callDepth--,Ne=pe.stackSize;continue}else{if(Fe===11)return pe.stackSize=Ne,!0;Fe===0&&Te===_e.length?(_e[Te-1]=14,Pe=ie[14]):Pe=ie[Fe]}if(Pe){if(Pe.stem&&(pe.hints+=Ne>>1,Fe===3||Fe===23?pe.hasVStems=!0:pe.hasVStems&&(Fe===1||Fe===18)&&((0,R.warn)("CFF stem hints are in wrong order"),_e[Te-1]=Fe===1?3:23)),"min"in Pe&&!pe.undefStack&&Ne=2&&Pe.stem?Ne%=2:Ne>1&&(0,R.warn)("Found too many parameters for stack-clearing command"),Ne>0&&(pe.width=Ze[Ne-1])),"stackDelta"in Pe?("stackFn"in Pe&&Pe.stackFn(Ze,Ne),Ne+=Pe.stackDelta):Pe.stackClearing?Ne=0:Pe.resetStack?(Ne=0,pe.undefStack=!1):Pe.undefStack&&(Ne=0,pe.undefStack=!0,pe.firstStackClearing=!1)}}return pe.stackSize=Ne,!0}parseCharStrings(pe){let{charStrings:_e,localSubrIndex:Ge,globalSubrIndex:Ae,fdSelect:Ne,fdArray:Ze,privateDict:ze}=pe;const Te=[],Fe=[],Pe=_e.count;for(let we=0;we=Ze.length&&((0,R.warn)("Invalid fd index for glyph index."),Ke=!1),Ke&&(je=Ze[Le].privateDict,Ve=je.subrsIndex)}else Ge&&(Ve=Ge);if(Ke&&(Ke=this.parseCharString(Be,Ie,Ve,Ae)),Be.width!==null){const Le=je.getByName("nominalWidthX");Fe[we]=Le+Be.width}else{const Le=je.getByName("defaultWidthX");Fe[we]=Le}Be.seac!==null&&(Te[we]=Be.seac),Ke||_e.set(we,new Uint8Array([14]))}return{charStrings:_e,seacs:Te,widths:Fe}}emptyPrivateDictionary(pe){const _e=this.createDict(me,[],pe.strings);pe.setByKey(18,[0,0]),pe.privateDict=_e}parsePrivateDict(pe){if(!pe.hasName("Private")){this.emptyPrivateDictionary(pe);return}const _e=pe.getByName("Private");if(!Array.isArray(_e)||_e.length!==2){pe.removeByName("Private");return}const Ge=_e[0],Ae=_e[1];if(Ge===0||Ae>=this.bytes.length){this.emptyPrivateDictionary(pe);return}const Ne=Ae+Ge,Ze=this.bytes.subarray(Ae,Ne),ze=this.parseDict(Ze),Te=this.createDict(me,ze,pe.strings);if(pe.privateDict=Te,!Te.getByName("Subrs"))return;const Fe=Te.getByName("Subrs"),Pe=Ae+Fe;if(Fe===0||Pe>=this.bytes.length){this.emptyPrivateDictionary(pe);return}const we=this.parseIndex(Pe);Te.subrsIndex=we.obj}parseCharsets(pe,_e,Ge,Ae){if(pe===0)return new ke(!0,Ee.ISO_ADOBE,U.ISOAdobeCharset);if(pe===1)return new ke(!0,Ee.EXPERT,U.ExpertCharset);if(pe===2)return new ke(!0,Ee.EXPERT_SUBSET,U.ExpertSubsetCharset);const Ne=this.bytes,Ze=pe,ze=Ne[pe++],Te=[Ae?0:".notdef"];let Fe,Pe,we;switch(_e-=1,ze){case 0:for(we=0;we<_e;we++)Fe=Ne[pe++]<<8|Ne[pe++],Te.push(Ae?Fe:Ge.get(Fe));break;case 1:for(;Te.length<=_e;)for(Fe=Ne[pe++]<<8|Ne[pe++],Pe=Ne[pe++],we=0;we<=Pe;we++)Te.push(Ae?Fe++:Ge.get(Fe++));break;case 2:for(;Te.length<=_e;)for(Fe=Ne[pe++]<<8|Ne[pe++],Pe=Ne[pe++]<<8|Ne[pe++],we=0;we<=Pe;we++)Te.push(Ae?Fe++:Ge.get(Fe++));break;default:throw new R.FormatError("Unknown charset format")}const Ie=pe,Be=Ne.subarray(Ze,Ie);return new ke(!1,ze,Te,Be)}parseEncoding(pe,_e,Ge,Ae){const Ne=Object.create(null),Ze=this.bytes;let ze=!1,Te,Fe,Pe,we=null;function Ie(){const Be=Ze[pe++];for(Fe=0;Fe=65535){(0,R.warn)("Not enough space in charstrings to duplicate first glyph.");return}const pe=this.charStrings.get(0);this.charStrings.add(pe),this.isCIDFont&&this.fdSelect.fdSelect.push(this.fdSelect.fdSelect[0])}hasGlyphId(pe){return pe<0||pe>=this.charStrings.count?!1:this.charStrings.get(pe).length>0}}D.CFF=W;class X{constructor(pe,_e,Ge,Ae){this.major=pe,this.minor=_e,this.hdrSize=Ge,this.offSize=Ae}}D.CFFHeader=X;class L{constructor(){this.strings=[]}get(pe){return pe>=0&&pe<=ae-1?e[pe]:pe-ae<=this.strings.length?this.strings[pe-ae]:e[0]}getSID(pe){let _e=e.indexOf(pe);return _e!==-1?_e:(_e=this.strings.indexOf(pe),_e!==-1?_e+ae:-1)}add(pe){this.strings.push(pe)}get count(){return this.strings.length}}D.CFFStrings=L;class Q{constructor(){this.objects=[],this.length=0}add(pe){this.length+=pe.length,this.objects.push(pe)}set(pe,_e){this.length+=_e.length-this.objects[pe].length,this.objects[pe]=_e}get(pe){return this.objects[pe]}get count(){return this.objects.length}}D.CFFIndex=Q;class ce{constructor(pe,_e){this.keyToNameMap=pe.keyToNameMap,this.nameToKeyMap=pe.nameToKeyMap,this.defaults=pe.defaults,this.types=pe.types,this.opcodes=pe.opcodes,this.order=pe.order,this.strings=_e,this.values=Object.create(null)}setByKey(pe,_e){if(!(pe in this.keyToNameMap))return!1;const Ge=_e.length;if(Ge===0)return!0;for(let Ne=0;Ne=this.fdSelect.length?-1:this.fdSelect[pe]}}D.CFFFDSelect=fe;class ve{constructor(){this.offsets=Object.create(null)}isTracking(pe){return pe in this.offsets}track(pe,_e){if(pe in this.offsets)throw new R.FormatError(`Already tracking location of ${pe}`);this.offsets[pe]=_e}offset(pe){for(const _e in this.offsets)this.offsets[_e]+=pe}setEntryLocation(pe,_e,Ge){if(!(pe in this.offsets))throw new R.FormatError(`Not tracking location of ${pe}`);const Ae=Ge.data,Ne=this.offsets[pe],Ze=5;for(let ze=0,Te=_e.length;ze>24&255,Ae[we]=Ke>>16&255,Ae[Ie]=Ke>>8&255,Ae[Be]=Ke&255}}}class ye{constructor(pe){this.cff=pe}compile(){const pe=this.cff,_e={data:[],length:0,add(Ie){this.data=this.data.concat(Ie),this.length=this.data.length}},Ge=this.compileHeader(pe.header);_e.add(Ge);const Ae=this.compileNameIndex(pe.names);if(_e.add(Ae),pe.isCIDFont&&pe.topDict.hasName("FontMatrix")){const Ie=pe.topDict.getByName("FontMatrix");pe.topDict.removeByName("FontMatrix");for(let Be=0,Ke=pe.fdArray.length;Be16&&pe.topDict.removeByName("XUID"),pe.topDict.setByName("charset",0);let Ze=this.compileTopDicts([pe.topDict],_e.length,pe.isCIDFont);_e.add(Ze.output);const ze=Ze.trackers[0],Te=this.compileStringIndex(pe.strings.strings);_e.add(Te);const Fe=this.compileIndex(pe.globalSubrIndex);if(_e.add(Fe),pe.encoding&&pe.topDict.hasName("Encoding"))if(pe.encoding.predefined)ze.setEntryLocation("Encoding",[pe.encoding.format],_e);else{const Ie=this.compileEncoding(pe.encoding);ze.setEntryLocation("Encoding",[_e.length],_e),_e.add(Ie)}const Pe=this.compileCharset(pe.charset,pe.charStrings.count,pe.strings,pe.isCIDFont);ze.setEntryLocation("charset",[_e.length],_e),_e.add(Pe);const we=this.compileCharStrings(pe.charStrings);if(ze.setEntryLocation("CharStrings",[_e.length],_e),_e.add(we),pe.isCIDFont){ze.setEntryLocation("FDSelect",[_e.length],_e);const Ie=this.compileFDSelect(pe.fdSelect);_e.add(Ie),Ze=this.compileTopDicts(pe.fdArray,_e.length,!0),ze.setEntryLocation("FDArray",[_e.length],_e),_e.add(Ze.output);const Be=Ze.trackers;this.compilePrivateDicts(pe.fdArray,Be,_e)}return this.compilePrivateDicts([pe.topDict],[ze],_e),_e.add([0]),_e.data}encodeNumber(pe){return Number.isInteger(pe)?this.encodeInteger(pe):this.encodeFloat(pe)}static get EncodeFloatRegExp(){return(0,R.shadow)(this,"EncodeFloatRegExp",/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/)}encodeFloat(pe){let _e=pe.toString();const Ge=ye.EncodeFloatRegExp.exec(_e);if(Ge){const Te=parseFloat("1e"+((Ge[2]?+Ge[2]:0)+Ge[1].length));_e=(Math.round(pe*Te)/Te).toString()}let Ae="",Ne,Ze;for(Ne=0,Ze=_e.length;Ne=-107&&pe<=107?_e=[pe+139]:pe>=108&&pe<=1131?(pe-=108,_e=[(pe>>8)+247,pe&255]):pe>=-1131&&pe<=-108?(pe=-pe-108,_e=[(pe>>8)+251,pe&255]):pe>=-32768&&pe<=32767?_e=[28,pe>>8&255,pe&255]:_e=[29,pe>>24&255,pe>>16&255,pe>>8&255,pe&255],_e}compileHeader(pe){return[pe.major,pe.minor,4,pe.offSize]}compileNameIndex(pe){const _e=new Q;for(let Ge=0,Ae=pe.length;Ge"~"||Fe==="["||Fe==="]"||Fe==="("||Fe===")"||Fe==="{"||Fe==="}"||Fe==="<"||Fe===">"||Fe==="/"||Fe==="%")&&(Fe="_"),ze[Te]=Fe}ze=ze.join(""),ze===""&&(ze="Bad_Font_Name"),_e.add((0,R.stringToBytes)(ze))}return this.compileIndex(_e)}compileTopDicts(pe,_e,Ge){const Ae=[];let Ne=new Q;for(let Ze=0,ze=pe.length;Ze>8&255,Ze&255]);else{const ze=1+Ze*2;Ne=new Uint8Array(ze),Ne[0]=0;let Te=0;const Fe=pe.charset.length;let Pe=!1;for(let we=1;we>8&255,Ne[we+1]=Ie&255}}return this.compileTypedArray(Ne)}compileEncoding(pe){return this.compileTypedArray(pe.raw)}compileFDSelect(pe){const _e=pe.format;let Ge,Ae;switch(_e){case 0:for(Ge=new Uint8Array(1+pe.fdSelect.length),Ge[0]=_e,Ae=0;Ae>8&255,Ne&255,Ze];for(Ae=1;Ae>8&255,Ae&255,Fe),Ze=Fe)}const Te=(ze.length-3)/3;ze[1]=Te>>8&255,ze[2]=Te&255,ze.push(Ae>>8&255,Ae&255),Ge=new Uint8Array(ze);break}return this.compileTypedArray(Ge)}compileTypedArray(pe){const _e=[];for(let Ge=0,Ae=pe.length;Ge1&&arguments[1]!==void 0?arguments[1]:[];const Ge=pe.objects,Ae=Ge.length;if(Ae===0)return[0,0];const Ne=[Ae>>8&255,Ae&255];let Ze=1,ze;for(ze=0;ze>8&255,Fe&255):Te===3?Ne.push(Fe>>16&255,Fe>>8&255,Fe&255):Ne.push(Fe>>>24&255,Fe>>16&255,Fe>>8&255,Fe&255),Ge[ze]&&(Fe+=Ge[ze].length);for(ze=0;ze{Object.defineProperty(D,"__esModule",{value:!0}),D.ISOAdobeCharset=D.ExpertSubsetCharset=D.ExpertCharset=void 0;const B=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"];D.ISOAdobeCharset=B;const R=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];D.ExpertCharset=R;const U=[".notdef","space","dollaroldstyle","dollarsuperior","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","hyphensuperior","colonmonetary","onefitted","rupiah","centoldstyle","figuredash","hypheninferior","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior"];D.ExpertSubsetCharset=U},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ZapfDingbatsEncoding=D.WinAnsiEncoding=D.SymbolSetEncoding=D.StandardEncoding=D.MacRomanEncoding=D.ExpertEncoding=void 0,D.getEncoding=ie;const B=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"];D.ExpertEncoding=B;const R=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","centoldstyle","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","","threequartersemdash","","questionsmall","","","","","Ethsmall","","","onequarter","onehalf","threequarters","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","","","","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hypheninferior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","asuperior","centsuperior","","","","","Aacutesmall","Agravesmall","Acircumflexsmall","Adieresissmall","Atildesmall","Aringsmall","Ccedillasmall","Eacutesmall","Egravesmall","Ecircumflexsmall","Edieresissmall","Iacutesmall","Igravesmall","Icircumflexsmall","Idieresissmall","Ntildesmall","Oacutesmall","Ogravesmall","Ocircumflexsmall","Odieresissmall","Otildesmall","Uacutesmall","Ugravesmall","Ucircumflexsmall","Udieresissmall","","eightsuperior","fourinferior","threeinferior","sixinferior","eightinferior","seveninferior","Scaronsmall","","centinferior","twoinferior","","Dieresissmall","","Caronsmall","osuperior","fiveinferior","","commainferior","periodinferior","Yacutesmall","","dollarinferior","","","Thornsmall","","nineinferior","zeroinferior","Zcaronsmall","AEsmall","Oslashsmall","questiondownsmall","oneinferior","Lslashsmall","","","","","","","Cedillasmall","","","","","","OEsmall","figuredash","hyphensuperior","","","","","exclamdownsmall","","Ydieresissmall","","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","ninesuperior","zerosuperior","","esuperior","rsuperior","tsuperior","","","isuperior","ssuperior","dsuperior","","","","","","lsuperior","Ogoneksmall","Brevesmall","Macronsmall","bsuperior","nsuperior","msuperior","commasuperior","periodsuperior","Dotaccentsmall","Ringsmall","","","",""],U=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","space","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron"];D.MacRomanEncoding=U;const K=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls","","","",""];D.StandardEncoding=K;const z=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","bullet","Euro","bullet","quotesinglbase","florin","quotedblbase","ellipsis","dagger","daggerdbl","circumflex","perthousand","Scaron","guilsinglleft","OE","bullet","Zcaron","bullet","bullet","quoteleft","quoteright","quotedblleft","quotedblright","bullet","endash","emdash","tilde","trademark","scaron","guilsinglright","oe","bullet","zcaron","Ydieresis","space","exclamdown","cent","sterling","currency","yen","brokenbar","section","dieresis","copyright","ordfeminine","guillemotleft","logicalnot","hyphen","registered","macron","degree","plusminus","twosuperior","threesuperior","acute","mu","paragraph","periodcentered","cedilla","onesuperior","ordmasculine","guillemotright","onequarter","onehalf","threequarters","questiondown","Agrave","Aacute","Acircumflex","Atilde","Adieresis","Aring","AE","Ccedilla","Egrave","Eacute","Ecircumflex","Edieresis","Igrave","Iacute","Icircumflex","Idieresis","Eth","Ntilde","Ograve","Oacute","Ocircumflex","Otilde","Odieresis","multiply","Oslash","Ugrave","Uacute","Ucircumflex","Udieresis","Yacute","Thorn","germandbls","agrave","aacute","acircumflex","atilde","adieresis","aring","ae","ccedilla","egrave","eacute","ecircumflex","edieresis","igrave","iacute","icircumflex","idieresis","eth","ntilde","ograve","oacute","ocircumflex","otilde","odieresis","divide","oslash","ugrave","uacute","ucircumflex","udieresis","yacute","thorn","ydieresis"];D.WinAnsiEncoding=z;const e=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","universal","numbersign","existential","percent","ampersand","suchthat","parenleft","parenright","asteriskmath","plus","comma","minus","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","congruent","Alpha","Beta","Chi","Delta","Epsilon","Phi","Gamma","Eta","Iota","theta1","Kappa","Lambda","Mu","Nu","Omicron","Pi","Theta","Rho","Sigma","Tau","Upsilon","sigma1","Omega","Xi","Psi","Zeta","bracketleft","therefore","bracketright","perpendicular","underscore","radicalex","alpha","beta","chi","delta","epsilon","phi","gamma","eta","iota","phi1","kappa","lambda","mu","nu","omicron","pi","theta","rho","sigma","tau","upsilon","omega1","omega","xi","psi","zeta","braceleft","bar","braceright","similar","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","Euro","Upsilon1","minute","lessequal","fraction","infinity","florin","club","diamond","heart","spade","arrowboth","arrowleft","arrowup","arrowright","arrowdown","degree","plusminus","second","greaterequal","multiply","proportional","partialdiff","bullet","divide","notequal","equivalence","approxequal","ellipsis","arrowvertex","arrowhorizex","carriagereturn","aleph","Ifraktur","Rfraktur","weierstrass","circlemultiply","circleplus","emptyset","intersection","union","propersuperset","reflexsuperset","notsubset","propersubset","reflexsubset","element","notelement","angle","gradient","registerserif","copyrightserif","trademarkserif","product","radical","dotmath","logicalnot","logicaland","logicalor","arrowdblboth","arrowdblleft","arrowdblup","arrowdblright","arrowdbldown","lozenge","angleleft","registersans","copyrightsans","trademarksans","summation","parenlefttp","parenleftex","parenleftbt","bracketlefttp","bracketleftex","bracketleftbt","bracelefttp","braceleftmid","braceleftbt","braceex","","angleright","integral","integraltp","integralex","integralbt","parenrighttp","parenrightex","parenrightbt","bracketrighttp","bracketrightex","bracketrightbt","bracerighttp","bracerightmid","bracerightbt",""];D.SymbolSetEncoding=e;const ae=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","a1","a2","a202","a3","a4","a5","a119","a118","a117","a11","a12","a13","a14","a15","a16","a105","a17","a18","a19","a20","a21","a22","a23","a24","a25","a26","a27","a28","a6","a7","a8","a9","a10","a29","a30","a31","a32","a33","a34","a35","a36","a37","a38","a39","a40","a41","a42","a43","a44","a45","a46","a47","a48","a49","a50","a51","a52","a53","a54","a55","a56","a57","a58","a59","a60","a61","a62","a63","a64","a65","a66","a67","a68","a69","a70","a71","a72","a73","a74","a203","a75","a204","a76","a77","a78","a79","a81","a82","a83","a84","a97","a98","a99","a100","","a89","a90","a93","a94","a91","a92","a205","a85","a206","a86","a87","a88","a95","a96","","","","","","","","","","","","","","","","","","","","a101","a102","a103","a104","a106","a107","a108","a112","a111","a110","a109","a120","a121","a122","a123","a124","a125","a126","a127","a128","a129","a130","a131","a132","a133","a134","a135","a136","a137","a138","a139","a140","a141","a142","a143","a144","a145","a146","a147","a148","a149","a150","a151","a152","a153","a154","a155","a156","a157","a158","a159","a160","a161","a163","a164","a196","a165","a192","a166","a167","a168","a169","a170","a171","a172","a173","a162","a174","a175","a176","a177","a178","a179","a193","a180","a199","a181","a200","a182","","a201","a183","a184","a197","a185","a194","a198","a186","a195","a187","a188","a189","a190","a191",""];D.ZapfDingbatsEncoding=ae;function ie(he){switch(he){case"WinAnsiEncoding":return z;case"StandardEncoding":return K;case"MacRomanEncoding":return U;case"SymbolSetEncoding":return e;case"ZapfDingbatsEncoding":return ae;case"ExpertEncoding":return B;case"MacExpertEncoding":return R;default:return null}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.SEAC_ANALYSIS_ENABLED=D.MacStandardGlyphOrdering=D.FontFlags=void 0,D.getFontType=he,D.normalizeFontName=X,D.recoverGlyphName=J,D.type1FontGlyphMapping=W;var R=B(2),U=B(162),K=B(164),z=B(165);const e=!0;D.SEAC_ANALYSIS_ENABLED=e;const ae={FixedPitch:1,Serif:2,Symbolic:4,Script:8,Nonsymbolic:32,Italic:64,AllCap:65536,SmallCap:131072,ForceBold:262144};D.FontFlags=ae;const ie=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];D.MacStandardGlyphOrdering=ie;function he(L,Q){let ce=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;switch(L){case"Type1":return ce?R.FontType.TYPE1STANDARD:Q==="Type1C"?R.FontType.TYPE1C:R.FontType.TYPE1;case"CIDFontType0":return Q==="CIDFontType0C"?R.FontType.CIDFONTTYPE0C:R.FontType.CIDFONTTYPE0;case"OpenType":return R.FontType.OPENTYPE;case"TrueType":return R.FontType.TRUETYPE;case"CIDFontType2":return R.FontType.CIDFONTTYPE2;case"MMType1":return R.FontType.MMTYPE1;case"Type0":return R.FontType.TYPE0;default:return R.FontType.UNKNOWN}}function J(L,Q){if(Q[L]!==void 0)return L;const ce=(0,z.getUnicodeForGlyph)(L,Q);if(ce!==-1){for(const de in Q)if(Q[de]===ce)return de}return(0,R.info)("Unable to recover a standard glyph name for: "+L),L}function W(L,Q,ce){const de=Object.create(null);let se,oe,me;const Ee=!!(L.flags&ae.Symbolic);if(L.isInternalFont)for(me=Q,oe=0;oe=0?de[oe]=se:de[oe]=0;else if(L.baseEncodingName)for(me=(0,U.getEncoding)(L.baseEncodingName),oe=0;oe=0?de[oe]=se:de[oe]=0;else if(Ee)for(oe in Q)de[oe]=Q[oe];else for(me=U.StandardEncoding,oe=0;oe=0?de[oe]=se:de[oe]=0;const ke=L.differences;let xe;if(ke)for(oe in ke){const fe=ke[oe];if(se=ce.indexOf(fe),se===-1){xe||(xe=(0,K.getGlyphsUnicode)());const ve=J(fe,xe);ve!==fe&&(se=ce.indexOf(ve))}se>=0?de[oe]=se:de[oe]=0}return de}function X(L){return L.replace(/[,_]/g,"-").replace(/\s/g,"")}},($,D,B)=>{B.r(D),B.d(D,{getDingbatsGlyphsUnicode:()=>K,getGlyphsUnicode:()=>U});var R=B(131);const U=(0,R.getArrayLookupTableFactory)(function(){return["A",65,"AE",198,"AEacute",508,"AEmacron",482,"AEsmall",63462,"Aacute",193,"Aacutesmall",63457,"Abreve",258,"Abreveacute",7854,"Abrevecyrillic",1232,"Abrevedotbelow",7862,"Abrevegrave",7856,"Abrevehookabove",7858,"Abrevetilde",7860,"Acaron",461,"Acircle",9398,"Acircumflex",194,"Acircumflexacute",7844,"Acircumflexdotbelow",7852,"Acircumflexgrave",7846,"Acircumflexhookabove",7848,"Acircumflexsmall",63458,"Acircumflextilde",7850,"Acute",63177,"Acutesmall",63412,"Acyrillic",1040,"Adblgrave",512,"Adieresis",196,"Adieresiscyrillic",1234,"Adieresismacron",478,"Adieresissmall",63460,"Adotbelow",7840,"Adotmacron",480,"Agrave",192,"Agravesmall",63456,"Ahookabove",7842,"Aiecyrillic",1236,"Ainvertedbreve",514,"Alpha",913,"Alphatonos",902,"Amacron",256,"Amonospace",65313,"Aogonek",260,"Aring",197,"Aringacute",506,"Aringbelow",7680,"Aringsmall",63461,"Asmall",63329,"Atilde",195,"Atildesmall",63459,"Aybarmenian",1329,"B",66,"Bcircle",9399,"Bdotaccent",7682,"Bdotbelow",7684,"Becyrillic",1041,"Benarmenian",1330,"Beta",914,"Bhook",385,"Blinebelow",7686,"Bmonospace",65314,"Brevesmall",63220,"Bsmall",63330,"Btopbar",386,"C",67,"Caarmenian",1342,"Cacute",262,"Caron",63178,"Caronsmall",63221,"Ccaron",268,"Ccedilla",199,"Ccedillaacute",7688,"Ccedillasmall",63463,"Ccircle",9400,"Ccircumflex",264,"Cdot",266,"Cdotaccent",266,"Cedillasmall",63416,"Chaarmenian",1353,"Cheabkhasiancyrillic",1212,"Checyrillic",1063,"Chedescenderabkhasiancyrillic",1214,"Chedescendercyrillic",1206,"Chedieresiscyrillic",1268,"Cheharmenian",1347,"Chekhakassiancyrillic",1227,"Cheverticalstrokecyrillic",1208,"Chi",935,"Chook",391,"Circumflexsmall",63222,"Cmonospace",65315,"Coarmenian",1361,"Csmall",63331,"D",68,"DZ",497,"DZcaron",452,"Daarmenian",1332,"Dafrican",393,"Dcaron",270,"Dcedilla",7696,"Dcircle",9401,"Dcircumflexbelow",7698,"Dcroat",272,"Ddotaccent",7690,"Ddotbelow",7692,"Decyrillic",1044,"Deicoptic",1006,"Delta",8710,"Deltagreek",916,"Dhook",394,"Dieresis",63179,"DieresisAcute",63180,"DieresisGrave",63181,"Dieresissmall",63400,"Digammagreek",988,"Djecyrillic",1026,"Dlinebelow",7694,"Dmonospace",65316,"Dotaccentsmall",63223,"Dslash",272,"Dsmall",63332,"Dtopbar",395,"Dz",498,"Dzcaron",453,"Dzeabkhasiancyrillic",1248,"Dzecyrillic",1029,"Dzhecyrillic",1039,"E",69,"Eacute",201,"Eacutesmall",63465,"Ebreve",276,"Ecaron",282,"Ecedillabreve",7708,"Echarmenian",1333,"Ecircle",9402,"Ecircumflex",202,"Ecircumflexacute",7870,"Ecircumflexbelow",7704,"Ecircumflexdotbelow",7878,"Ecircumflexgrave",7872,"Ecircumflexhookabove",7874,"Ecircumflexsmall",63466,"Ecircumflextilde",7876,"Ecyrillic",1028,"Edblgrave",516,"Edieresis",203,"Edieresissmall",63467,"Edot",278,"Edotaccent",278,"Edotbelow",7864,"Efcyrillic",1060,"Egrave",200,"Egravesmall",63464,"Eharmenian",1335,"Ehookabove",7866,"Eightroman",8551,"Einvertedbreve",518,"Eiotifiedcyrillic",1124,"Elcyrillic",1051,"Elevenroman",8554,"Emacron",274,"Emacronacute",7702,"Emacrongrave",7700,"Emcyrillic",1052,"Emonospace",65317,"Encyrillic",1053,"Endescendercyrillic",1186,"Eng",330,"Enghecyrillic",1188,"Enhookcyrillic",1223,"Eogonek",280,"Eopen",400,"Epsilon",917,"Epsilontonos",904,"Ercyrillic",1056,"Ereversed",398,"Ereversedcyrillic",1069,"Escyrillic",1057,"Esdescendercyrillic",1194,"Esh",425,"Esmall",63333,"Eta",919,"Etarmenian",1336,"Etatonos",905,"Eth",208,"Ethsmall",63472,"Etilde",7868,"Etildebelow",7706,"Euro",8364,"Ezh",439,"Ezhcaron",494,"Ezhreversed",440,"F",70,"Fcircle",9403,"Fdotaccent",7710,"Feharmenian",1366,"Feicoptic",996,"Fhook",401,"Fitacyrillic",1138,"Fiveroman",8548,"Fmonospace",65318,"Fourroman",8547,"Fsmall",63334,"G",71,"GBsquare",13191,"Gacute",500,"Gamma",915,"Gammaafrican",404,"Gangiacoptic",1002,"Gbreve",286,"Gcaron",486,"Gcedilla",290,"Gcircle",9404,"Gcircumflex",284,"Gcommaaccent",290,"Gdot",288,"Gdotaccent",288,"Gecyrillic",1043,"Ghadarmenian",1346,"Ghemiddlehookcyrillic",1172,"Ghestrokecyrillic",1170,"Gheupturncyrillic",1168,"Ghook",403,"Gimarmenian",1331,"Gjecyrillic",1027,"Gmacron",7712,"Gmonospace",65319,"Grave",63182,"Gravesmall",63328,"Gsmall",63335,"Gsmallhook",667,"Gstroke",484,"H",72,"H18533",9679,"H18543",9642,"H18551",9643,"H22073",9633,"HPsquare",13259,"Haabkhasiancyrillic",1192,"Hadescendercyrillic",1202,"Hardsigncyrillic",1066,"Hbar",294,"Hbrevebelow",7722,"Hcedilla",7720,"Hcircle",9405,"Hcircumflex",292,"Hdieresis",7718,"Hdotaccent",7714,"Hdotbelow",7716,"Hmonospace",65320,"Hoarmenian",1344,"Horicoptic",1e3,"Hsmall",63336,"Hungarumlaut",63183,"Hungarumlautsmall",63224,"Hzsquare",13200,"I",73,"IAcyrillic",1071,"IJ",306,"IUcyrillic",1070,"Iacute",205,"Iacutesmall",63469,"Ibreve",300,"Icaron",463,"Icircle",9406,"Icircumflex",206,"Icircumflexsmall",63470,"Icyrillic",1030,"Idblgrave",520,"Idieresis",207,"Idieresisacute",7726,"Idieresiscyrillic",1252,"Idieresissmall",63471,"Idot",304,"Idotaccent",304,"Idotbelow",7882,"Iebrevecyrillic",1238,"Iecyrillic",1045,"Ifraktur",8465,"Igrave",204,"Igravesmall",63468,"Ihookabove",7880,"Iicyrillic",1048,"Iinvertedbreve",522,"Iishortcyrillic",1049,"Imacron",298,"Imacroncyrillic",1250,"Imonospace",65321,"Iniarmenian",1339,"Iocyrillic",1025,"Iogonek",302,"Iota",921,"Iotaafrican",406,"Iotadieresis",938,"Iotatonos",906,"Ismall",63337,"Istroke",407,"Itilde",296,"Itildebelow",7724,"Izhitsacyrillic",1140,"Izhitsadblgravecyrillic",1142,"J",74,"Jaarmenian",1345,"Jcircle",9407,"Jcircumflex",308,"Jecyrillic",1032,"Jheharmenian",1355,"Jmonospace",65322,"Jsmall",63338,"K",75,"KBsquare",13189,"KKsquare",13261,"Kabashkircyrillic",1184,"Kacute",7728,"Kacyrillic",1050,"Kadescendercyrillic",1178,"Kahookcyrillic",1219,"Kappa",922,"Kastrokecyrillic",1182,"Kaverticalstrokecyrillic",1180,"Kcaron",488,"Kcedilla",310,"Kcircle",9408,"Kcommaaccent",310,"Kdotbelow",7730,"Keharmenian",1364,"Kenarmenian",1343,"Khacyrillic",1061,"Kheicoptic",998,"Khook",408,"Kjecyrillic",1036,"Klinebelow",7732,"Kmonospace",65323,"Koppacyrillic",1152,"Koppagreek",990,"Ksicyrillic",1134,"Ksmall",63339,"L",76,"LJ",455,"LL",63167,"Lacute",313,"Lambda",923,"Lcaron",317,"Lcedilla",315,"Lcircle",9409,"Lcircumflexbelow",7740,"Lcommaaccent",315,"Ldot",319,"Ldotaccent",319,"Ldotbelow",7734,"Ldotbelowmacron",7736,"Liwnarmenian",1340,"Lj",456,"Ljecyrillic",1033,"Llinebelow",7738,"Lmonospace",65324,"Lslash",321,"Lslashsmall",63225,"Lsmall",63340,"M",77,"MBsquare",13190,"Macron",63184,"Macronsmall",63407,"Macute",7742,"Mcircle",9410,"Mdotaccent",7744,"Mdotbelow",7746,"Menarmenian",1348,"Mmonospace",65325,"Msmall",63341,"Mturned",412,"Mu",924,"N",78,"NJ",458,"Nacute",323,"Ncaron",327,"Ncedilla",325,"Ncircle",9411,"Ncircumflexbelow",7754,"Ncommaaccent",325,"Ndotaccent",7748,"Ndotbelow",7750,"Nhookleft",413,"Nineroman",8552,"Nj",459,"Njecyrillic",1034,"Nlinebelow",7752,"Nmonospace",65326,"Nowarmenian",1350,"Nsmall",63342,"Ntilde",209,"Ntildesmall",63473,"Nu",925,"O",79,"OE",338,"OEsmall",63226,"Oacute",211,"Oacutesmall",63475,"Obarredcyrillic",1256,"Obarreddieresiscyrillic",1258,"Obreve",334,"Ocaron",465,"Ocenteredtilde",415,"Ocircle",9412,"Ocircumflex",212,"Ocircumflexacute",7888,"Ocircumflexdotbelow",7896,"Ocircumflexgrave",7890,"Ocircumflexhookabove",7892,"Ocircumflexsmall",63476,"Ocircumflextilde",7894,"Ocyrillic",1054,"Odblacute",336,"Odblgrave",524,"Odieresis",214,"Odieresiscyrillic",1254,"Odieresissmall",63478,"Odotbelow",7884,"Ogoneksmall",63227,"Ograve",210,"Ogravesmall",63474,"Oharmenian",1365,"Ohm",8486,"Ohookabove",7886,"Ohorn",416,"Ohornacute",7898,"Ohorndotbelow",7906,"Ohorngrave",7900,"Ohornhookabove",7902,"Ohorntilde",7904,"Ohungarumlaut",336,"Oi",418,"Oinvertedbreve",526,"Omacron",332,"Omacronacute",7762,"Omacrongrave",7760,"Omega",8486,"Omegacyrillic",1120,"Omegagreek",937,"Omegaroundcyrillic",1146,"Omegatitlocyrillic",1148,"Omegatonos",911,"Omicron",927,"Omicrontonos",908,"Omonospace",65327,"Oneroman",8544,"Oogonek",490,"Oogonekmacron",492,"Oopen",390,"Oslash",216,"Oslashacute",510,"Oslashsmall",63480,"Osmall",63343,"Ostrokeacute",510,"Otcyrillic",1150,"Otilde",213,"Otildeacute",7756,"Otildedieresis",7758,"Otildesmall",63477,"P",80,"Pacute",7764,"Pcircle",9413,"Pdotaccent",7766,"Pecyrillic",1055,"Peharmenian",1354,"Pemiddlehookcyrillic",1190,"Phi",934,"Phook",420,"Pi",928,"Piwrarmenian",1363,"Pmonospace",65328,"Psi",936,"Psicyrillic",1136,"Psmall",63344,"Q",81,"Qcircle",9414,"Qmonospace",65329,"Qsmall",63345,"R",82,"Raarmenian",1356,"Racute",340,"Rcaron",344,"Rcedilla",342,"Rcircle",9415,"Rcommaaccent",342,"Rdblgrave",528,"Rdotaccent",7768,"Rdotbelow",7770,"Rdotbelowmacron",7772,"Reharmenian",1360,"Rfraktur",8476,"Rho",929,"Ringsmall",63228,"Rinvertedbreve",530,"Rlinebelow",7774,"Rmonospace",65330,"Rsmall",63346,"Rsmallinverted",641,"Rsmallinvertedsuperior",694,"S",83,"SF010000",9484,"SF020000",9492,"SF030000",9488,"SF040000",9496,"SF050000",9532,"SF060000",9516,"SF070000",9524,"SF080000",9500,"SF090000",9508,"SF100000",9472,"SF110000",9474,"SF190000",9569,"SF200000",9570,"SF210000",9558,"SF220000",9557,"SF230000",9571,"SF240000",9553,"SF250000",9559,"SF260000",9565,"SF270000",9564,"SF280000",9563,"SF360000",9566,"SF370000",9567,"SF380000",9562,"SF390000",9556,"SF400000",9577,"SF410000",9574,"SF420000",9568,"SF430000",9552,"SF440000",9580,"SF450000",9575,"SF460000",9576,"SF470000",9572,"SF480000",9573,"SF490000",9561,"SF500000",9560,"SF510000",9554,"SF520000",9555,"SF530000",9579,"SF540000",9578,"Sacute",346,"Sacutedotaccent",7780,"Sampigreek",992,"Scaron",352,"Scarondotaccent",7782,"Scaronsmall",63229,"Scedilla",350,"Schwa",399,"Schwacyrillic",1240,"Schwadieresiscyrillic",1242,"Scircle",9416,"Scircumflex",348,"Scommaaccent",536,"Sdotaccent",7776,"Sdotbelow",7778,"Sdotbelowdotaccent",7784,"Seharmenian",1357,"Sevenroman",8550,"Shaarmenian",1351,"Shacyrillic",1064,"Shchacyrillic",1065,"Sheicoptic",994,"Shhacyrillic",1210,"Shimacoptic",1004,"Sigma",931,"Sixroman",8549,"Smonospace",65331,"Softsigncyrillic",1068,"Ssmall",63347,"Stigmagreek",986,"T",84,"Tau",932,"Tbar",358,"Tcaron",356,"Tcedilla",354,"Tcircle",9417,"Tcircumflexbelow",7792,"Tcommaaccent",354,"Tdotaccent",7786,"Tdotbelow",7788,"Tecyrillic",1058,"Tedescendercyrillic",1196,"Tenroman",8553,"Tetsecyrillic",1204,"Theta",920,"Thook",428,"Thorn",222,"Thornsmall",63486,"Threeroman",8546,"Tildesmall",63230,"Tiwnarmenian",1359,"Tlinebelow",7790,"Tmonospace",65332,"Toarmenian",1337,"Tonefive",444,"Tonesix",388,"Tonetwo",423,"Tretroflexhook",430,"Tsecyrillic",1062,"Tshecyrillic",1035,"Tsmall",63348,"Twelveroman",8555,"Tworoman",8545,"U",85,"Uacute",218,"Uacutesmall",63482,"Ubreve",364,"Ucaron",467,"Ucircle",9418,"Ucircumflex",219,"Ucircumflexbelow",7798,"Ucircumflexsmall",63483,"Ucyrillic",1059,"Udblacute",368,"Udblgrave",532,"Udieresis",220,"Udieresisacute",471,"Udieresisbelow",7794,"Udieresiscaron",473,"Udieresiscyrillic",1264,"Udieresisgrave",475,"Udieresismacron",469,"Udieresissmall",63484,"Udotbelow",7908,"Ugrave",217,"Ugravesmall",63481,"Uhookabove",7910,"Uhorn",431,"Uhornacute",7912,"Uhorndotbelow",7920,"Uhorngrave",7914,"Uhornhookabove",7916,"Uhorntilde",7918,"Uhungarumlaut",368,"Uhungarumlautcyrillic",1266,"Uinvertedbreve",534,"Ukcyrillic",1144,"Umacron",362,"Umacroncyrillic",1262,"Umacrondieresis",7802,"Umonospace",65333,"Uogonek",370,"Upsilon",933,"Upsilon1",978,"Upsilonacutehooksymbolgreek",979,"Upsilonafrican",433,"Upsilondieresis",939,"Upsilondieresishooksymbolgreek",980,"Upsilonhooksymbol",978,"Upsilontonos",910,"Uring",366,"Ushortcyrillic",1038,"Usmall",63349,"Ustraightcyrillic",1198,"Ustraightstrokecyrillic",1200,"Utilde",360,"Utildeacute",7800,"Utildebelow",7796,"V",86,"Vcircle",9419,"Vdotbelow",7806,"Vecyrillic",1042,"Vewarmenian",1358,"Vhook",434,"Vmonospace",65334,"Voarmenian",1352,"Vsmall",63350,"Vtilde",7804,"W",87,"Wacute",7810,"Wcircle",9420,"Wcircumflex",372,"Wdieresis",7812,"Wdotaccent",7814,"Wdotbelow",7816,"Wgrave",7808,"Wmonospace",65335,"Wsmall",63351,"X",88,"Xcircle",9421,"Xdieresis",7820,"Xdotaccent",7818,"Xeharmenian",1341,"Xi",926,"Xmonospace",65336,"Xsmall",63352,"Y",89,"Yacute",221,"Yacutesmall",63485,"Yatcyrillic",1122,"Ycircle",9422,"Ycircumflex",374,"Ydieresis",376,"Ydieresissmall",63487,"Ydotaccent",7822,"Ydotbelow",7924,"Yericyrillic",1067,"Yerudieresiscyrillic",1272,"Ygrave",7922,"Yhook",435,"Yhookabove",7926,"Yiarmenian",1349,"Yicyrillic",1031,"Yiwnarmenian",1362,"Ymonospace",65337,"Ysmall",63353,"Ytilde",7928,"Yusbigcyrillic",1130,"Yusbigiotifiedcyrillic",1132,"Yuslittlecyrillic",1126,"Yuslittleiotifiedcyrillic",1128,"Z",90,"Zaarmenian",1334,"Zacute",377,"Zcaron",381,"Zcaronsmall",63231,"Zcircle",9423,"Zcircumflex",7824,"Zdot",379,"Zdotaccent",379,"Zdotbelow",7826,"Zecyrillic",1047,"Zedescendercyrillic",1176,"Zedieresiscyrillic",1246,"Zeta",918,"Zhearmenian",1338,"Zhebrevecyrillic",1217,"Zhecyrillic",1046,"Zhedescendercyrillic",1174,"Zhedieresiscyrillic",1244,"Zlinebelow",7828,"Zmonospace",65338,"Zsmall",63354,"Zstroke",437,"a",97,"aabengali",2438,"aacute",225,"aadeva",2310,"aagujarati",2694,"aagurmukhi",2566,"aamatragurmukhi",2622,"aarusquare",13059,"aavowelsignbengali",2494,"aavowelsigndeva",2366,"aavowelsigngujarati",2750,"abbreviationmarkarmenian",1375,"abbreviationsigndeva",2416,"abengali",2437,"abopomofo",12570,"abreve",259,"abreveacute",7855,"abrevecyrillic",1233,"abrevedotbelow",7863,"abrevegrave",7857,"abrevehookabove",7859,"abrevetilde",7861,"acaron",462,"acircle",9424,"acircumflex",226,"acircumflexacute",7845,"acircumflexdotbelow",7853,"acircumflexgrave",7847,"acircumflexhookabove",7849,"acircumflextilde",7851,"acute",180,"acutebelowcmb",791,"acutecmb",769,"acutecomb",769,"acutedeva",2388,"acutelowmod",719,"acutetonecmb",833,"acyrillic",1072,"adblgrave",513,"addakgurmukhi",2673,"adeva",2309,"adieresis",228,"adieresiscyrillic",1235,"adieresismacron",479,"adotbelow",7841,"adotmacron",481,"ae",230,"aeacute",509,"aekorean",12624,"aemacron",483,"afii00208",8213,"afii08941",8356,"afii10017",1040,"afii10018",1041,"afii10019",1042,"afii10020",1043,"afii10021",1044,"afii10022",1045,"afii10023",1025,"afii10024",1046,"afii10025",1047,"afii10026",1048,"afii10027",1049,"afii10028",1050,"afii10029",1051,"afii10030",1052,"afii10031",1053,"afii10032",1054,"afii10033",1055,"afii10034",1056,"afii10035",1057,"afii10036",1058,"afii10037",1059,"afii10038",1060,"afii10039",1061,"afii10040",1062,"afii10041",1063,"afii10042",1064,"afii10043",1065,"afii10044",1066,"afii10045",1067,"afii10046",1068,"afii10047",1069,"afii10048",1070,"afii10049",1071,"afii10050",1168,"afii10051",1026,"afii10052",1027,"afii10053",1028,"afii10054",1029,"afii10055",1030,"afii10056",1031,"afii10057",1032,"afii10058",1033,"afii10059",1034,"afii10060",1035,"afii10061",1036,"afii10062",1038,"afii10063",63172,"afii10064",63173,"afii10065",1072,"afii10066",1073,"afii10067",1074,"afii10068",1075,"afii10069",1076,"afii10070",1077,"afii10071",1105,"afii10072",1078,"afii10073",1079,"afii10074",1080,"afii10075",1081,"afii10076",1082,"afii10077",1083,"afii10078",1084,"afii10079",1085,"afii10080",1086,"afii10081",1087,"afii10082",1088,"afii10083",1089,"afii10084",1090,"afii10085",1091,"afii10086",1092,"afii10087",1093,"afii10088",1094,"afii10089",1095,"afii10090",1096,"afii10091",1097,"afii10092",1098,"afii10093",1099,"afii10094",1100,"afii10095",1101,"afii10096",1102,"afii10097",1103,"afii10098",1169,"afii10099",1106,"afii10100",1107,"afii10101",1108,"afii10102",1109,"afii10103",1110,"afii10104",1111,"afii10105",1112,"afii10106",1113,"afii10107",1114,"afii10108",1115,"afii10109",1116,"afii10110",1118,"afii10145",1039,"afii10146",1122,"afii10147",1138,"afii10148",1140,"afii10192",63174,"afii10193",1119,"afii10194",1123,"afii10195",1139,"afii10196",1141,"afii10831",63175,"afii10832",63176,"afii10846",1241,"afii299",8206,"afii300",8207,"afii301",8205,"afii57381",1642,"afii57388",1548,"afii57392",1632,"afii57393",1633,"afii57394",1634,"afii57395",1635,"afii57396",1636,"afii57397",1637,"afii57398",1638,"afii57399",1639,"afii57400",1640,"afii57401",1641,"afii57403",1563,"afii57407",1567,"afii57409",1569,"afii57410",1570,"afii57411",1571,"afii57412",1572,"afii57413",1573,"afii57414",1574,"afii57415",1575,"afii57416",1576,"afii57417",1577,"afii57418",1578,"afii57419",1579,"afii57420",1580,"afii57421",1581,"afii57422",1582,"afii57423",1583,"afii57424",1584,"afii57425",1585,"afii57426",1586,"afii57427",1587,"afii57428",1588,"afii57429",1589,"afii57430",1590,"afii57431",1591,"afii57432",1592,"afii57433",1593,"afii57434",1594,"afii57440",1600,"afii57441",1601,"afii57442",1602,"afii57443",1603,"afii57444",1604,"afii57445",1605,"afii57446",1606,"afii57448",1608,"afii57449",1609,"afii57450",1610,"afii57451",1611,"afii57452",1612,"afii57453",1613,"afii57454",1614,"afii57455",1615,"afii57456",1616,"afii57457",1617,"afii57458",1618,"afii57470",1607,"afii57505",1700,"afii57506",1662,"afii57507",1670,"afii57508",1688,"afii57509",1711,"afii57511",1657,"afii57512",1672,"afii57513",1681,"afii57514",1722,"afii57519",1746,"afii57534",1749,"afii57636",8362,"afii57645",1470,"afii57658",1475,"afii57664",1488,"afii57665",1489,"afii57666",1490,"afii57667",1491,"afii57668",1492,"afii57669",1493,"afii57670",1494,"afii57671",1495,"afii57672",1496,"afii57673",1497,"afii57674",1498,"afii57675",1499,"afii57676",1500,"afii57677",1501,"afii57678",1502,"afii57679",1503,"afii57680",1504,"afii57681",1505,"afii57682",1506,"afii57683",1507,"afii57684",1508,"afii57685",1509,"afii57686",1510,"afii57687",1511,"afii57688",1512,"afii57689",1513,"afii57690",1514,"afii57694",64298,"afii57695",64299,"afii57700",64331,"afii57705",64287,"afii57716",1520,"afii57717",1521,"afii57718",1522,"afii57723",64309,"afii57793",1460,"afii57794",1461,"afii57795",1462,"afii57796",1467,"afii57797",1464,"afii57798",1463,"afii57799",1456,"afii57800",1458,"afii57801",1457,"afii57802",1459,"afii57803",1474,"afii57804",1473,"afii57806",1465,"afii57807",1468,"afii57839",1469,"afii57841",1471,"afii57842",1472,"afii57929",700,"afii61248",8453,"afii61289",8467,"afii61352",8470,"afii61573",8236,"afii61574",8237,"afii61575",8238,"afii61664",8204,"afii63167",1645,"afii64937",701,"agrave",224,"agujarati",2693,"agurmukhi",2565,"ahiragana",12354,"ahookabove",7843,"aibengali",2448,"aibopomofo",12574,"aideva",2320,"aiecyrillic",1237,"aigujarati",2704,"aigurmukhi",2576,"aimatragurmukhi",2632,"ainarabic",1593,"ainfinalarabic",65226,"aininitialarabic",65227,"ainmedialarabic",65228,"ainvertedbreve",515,"aivowelsignbengali",2504,"aivowelsigndeva",2376,"aivowelsigngujarati",2760,"akatakana",12450,"akatakanahalfwidth",65393,"akorean",12623,"alef",1488,"alefarabic",1575,"alefdageshhebrew",64304,"aleffinalarabic",65166,"alefhamzaabovearabic",1571,"alefhamzaabovefinalarabic",65156,"alefhamzabelowarabic",1573,"alefhamzabelowfinalarabic",65160,"alefhebrew",1488,"aleflamedhebrew",64335,"alefmaddaabovearabic",1570,"alefmaddaabovefinalarabic",65154,"alefmaksuraarabic",1609,"alefmaksurafinalarabic",65264,"alefmaksurainitialarabic",65267,"alefmaksuramedialarabic",65268,"alefpatahhebrew",64302,"alefqamatshebrew",64303,"aleph",8501,"allequal",8780,"alpha",945,"alphatonos",940,"amacron",257,"amonospace",65345,"ampersand",38,"ampersandmonospace",65286,"ampersandsmall",63270,"amsquare",13250,"anbopomofo",12578,"angbopomofo",12580,"angbracketleft",12296,"angbracketright",12297,"angkhankhuthai",3674,"angle",8736,"anglebracketleft",12296,"anglebracketleftvertical",65087,"anglebracketright",12297,"anglebracketrightvertical",65088,"angleleft",9001,"angleright",9002,"angstrom",8491,"anoteleia",903,"anudattadeva",2386,"anusvarabengali",2434,"anusvaradeva",2306,"anusvaragujarati",2690,"aogonek",261,"apaatosquare",13056,"aparen",9372,"apostrophearmenian",1370,"apostrophemod",700,"apple",63743,"approaches",8784,"approxequal",8776,"approxequalorimage",8786,"approximatelyequal",8773,"araeaekorean",12686,"araeakorean",12685,"arc",8978,"arighthalfring",7834,"aring",229,"aringacute",507,"aringbelow",7681,"arrowboth",8596,"arrowdashdown",8675,"arrowdashleft",8672,"arrowdashright",8674,"arrowdashup",8673,"arrowdblboth",8660,"arrowdbldown",8659,"arrowdblleft",8656,"arrowdblright",8658,"arrowdblup",8657,"arrowdown",8595,"arrowdownleft",8601,"arrowdownright",8600,"arrowdownwhite",8681,"arrowheaddownmod",709,"arrowheadleftmod",706,"arrowheadrightmod",707,"arrowheadupmod",708,"arrowhorizex",63719,"arrowleft",8592,"arrowleftdbl",8656,"arrowleftdblstroke",8653,"arrowleftoverright",8646,"arrowleftwhite",8678,"arrowright",8594,"arrowrightdblstroke",8655,"arrowrightheavy",10142,"arrowrightoverleft",8644,"arrowrightwhite",8680,"arrowtableft",8676,"arrowtabright",8677,"arrowup",8593,"arrowupdn",8597,"arrowupdnbse",8616,"arrowupdownbase",8616,"arrowupleft",8598,"arrowupleftofdown",8645,"arrowupright",8599,"arrowupwhite",8679,"arrowvertex",63718,"asciicircum",94,"asciicircummonospace",65342,"asciitilde",126,"asciitildemonospace",65374,"ascript",593,"ascriptturned",594,"asmallhiragana",12353,"asmallkatakana",12449,"asmallkatakanahalfwidth",65383,"asterisk",42,"asteriskaltonearabic",1645,"asteriskarabic",1645,"asteriskmath",8727,"asteriskmonospace",65290,"asterisksmall",65121,"asterism",8258,"asuperior",63209,"asymptoticallyequal",8771,"at",64,"atilde",227,"atmonospace",65312,"atsmall",65131,"aturned",592,"aubengali",2452,"aubopomofo",12576,"audeva",2324,"augujarati",2708,"augurmukhi",2580,"aulengthmarkbengali",2519,"aumatragurmukhi",2636,"auvowelsignbengali",2508,"auvowelsigndeva",2380,"auvowelsigngujarati",2764,"avagrahadeva",2365,"aybarmenian",1377,"ayin",1506,"ayinaltonehebrew",64288,"ayinhebrew",1506,"b",98,"babengali",2476,"backslash",92,"backslashmonospace",65340,"badeva",2348,"bagujarati",2732,"bagurmukhi",2604,"bahiragana",12400,"bahtthai",3647,"bakatakana",12496,"bar",124,"barmonospace",65372,"bbopomofo",12549,"bcircle",9425,"bdotaccent",7683,"bdotbelow",7685,"beamedsixteenthnotes",9836,"because",8757,"becyrillic",1073,"beharabic",1576,"behfinalarabic",65168,"behinitialarabic",65169,"behiragana",12409,"behmedialarabic",65170,"behmeeminitialarabic",64671,"behmeemisolatedarabic",64520,"behnoonfinalarabic",64621,"bekatakana",12505,"benarmenian",1378,"bet",1489,"beta",946,"betasymbolgreek",976,"betdagesh",64305,"betdageshhebrew",64305,"bethebrew",1489,"betrafehebrew",64332,"bhabengali",2477,"bhadeva",2349,"bhagujarati",2733,"bhagurmukhi",2605,"bhook",595,"bihiragana",12403,"bikatakana",12499,"bilabialclick",664,"bindigurmukhi",2562,"birusquare",13105,"blackcircle",9679,"blackdiamond",9670,"blackdownpointingtriangle",9660,"blackleftpointingpointer",9668,"blackleftpointingtriangle",9664,"blacklenticularbracketleft",12304,"blacklenticularbracketleftvertical",65083,"blacklenticularbracketright",12305,"blacklenticularbracketrightvertical",65084,"blacklowerlefttriangle",9699,"blacklowerrighttriangle",9698,"blackrectangle",9644,"blackrightpointingpointer",9658,"blackrightpointingtriangle",9654,"blacksmallsquare",9642,"blacksmilingface",9787,"blacksquare",9632,"blackstar",9733,"blackupperlefttriangle",9700,"blackupperrighttriangle",9701,"blackuppointingsmalltriangle",9652,"blackuppointingtriangle",9650,"blank",9251,"blinebelow",7687,"block",9608,"bmonospace",65346,"bobaimaithai",3610,"bohiragana",12412,"bokatakana",12508,"bparen",9373,"bqsquare",13251,"braceex",63732,"braceleft",123,"braceleftbt",63731,"braceleftmid",63730,"braceleftmonospace",65371,"braceleftsmall",65115,"bracelefttp",63729,"braceleftvertical",65079,"braceright",125,"bracerightbt",63742,"bracerightmid",63741,"bracerightmonospace",65373,"bracerightsmall",65116,"bracerighttp",63740,"bracerightvertical",65080,"bracketleft",91,"bracketleftbt",63728,"bracketleftex",63727,"bracketleftmonospace",65339,"bracketlefttp",63726,"bracketright",93,"bracketrightbt",63739,"bracketrightex",63738,"bracketrightmonospace",65341,"bracketrighttp",63737,"breve",728,"brevebelowcmb",814,"brevecmb",774,"breveinvertedbelowcmb",815,"breveinvertedcmb",785,"breveinverteddoublecmb",865,"bridgebelowcmb",810,"bridgeinvertedbelowcmb",826,"brokenbar",166,"bstroke",384,"bsuperior",63210,"btopbar",387,"buhiragana",12406,"bukatakana",12502,"bullet",8226,"bulletinverse",9688,"bulletoperator",8729,"bullseye",9678,"c",99,"caarmenian",1390,"cabengali",2458,"cacute",263,"cadeva",2330,"cagujarati",2714,"cagurmukhi",2586,"calsquare",13192,"candrabindubengali",2433,"candrabinducmb",784,"candrabindudeva",2305,"candrabindugujarati",2689,"capslock",8682,"careof",8453,"caron",711,"caronbelowcmb",812,"caroncmb",780,"carriagereturn",8629,"cbopomofo",12568,"ccaron",269,"ccedilla",231,"ccedillaacute",7689,"ccircle",9426,"ccircumflex",265,"ccurl",597,"cdot",267,"cdotaccent",267,"cdsquare",13253,"cedilla",184,"cedillacmb",807,"cent",162,"centigrade",8451,"centinferior",63199,"centmonospace",65504,"centoldstyle",63394,"centsuperior",63200,"chaarmenian",1401,"chabengali",2459,"chadeva",2331,"chagujarati",2715,"chagurmukhi",2587,"chbopomofo",12564,"cheabkhasiancyrillic",1213,"checkmark",10003,"checyrillic",1095,"chedescenderabkhasiancyrillic",1215,"chedescendercyrillic",1207,"chedieresiscyrillic",1269,"cheharmenian",1395,"chekhakassiancyrillic",1228,"cheverticalstrokecyrillic",1209,"chi",967,"chieuchacirclekorean",12919,"chieuchaparenkorean",12823,"chieuchcirclekorean",12905,"chieuchkorean",12618,"chieuchparenkorean",12809,"chochangthai",3594,"chochanthai",3592,"chochingthai",3593,"chochoethai",3596,"chook",392,"cieucacirclekorean",12918,"cieucaparenkorean",12822,"cieuccirclekorean",12904,"cieuckorean",12616,"cieucparenkorean",12808,"cieucuparenkorean",12828,"circle",9675,"circlecopyrt",169,"circlemultiply",8855,"circleot",8857,"circleplus",8853,"circlepostalmark",12342,"circlewithlefthalfblack",9680,"circlewithrighthalfblack",9681,"circumflex",710,"circumflexbelowcmb",813,"circumflexcmb",770,"clear",8999,"clickalveolar",450,"clickdental",448,"clicklateral",449,"clickretroflex",451,"club",9827,"clubsuitblack",9827,"clubsuitwhite",9831,"cmcubedsquare",13220,"cmonospace",65347,"cmsquaredsquare",13216,"coarmenian",1409,"colon",58,"colonmonetary",8353,"colonmonospace",65306,"colonsign",8353,"colonsmall",65109,"colontriangularhalfmod",721,"colontriangularmod",720,"comma",44,"commaabovecmb",787,"commaaboverightcmb",789,"commaaccent",63171,"commaarabic",1548,"commaarmenian",1373,"commainferior",63201,"commamonospace",65292,"commareversedabovecmb",788,"commareversedmod",701,"commasmall",65104,"commasuperior",63202,"commaturnedabovecmb",786,"commaturnedmod",699,"compass",9788,"congruent",8773,"contourintegral",8750,"control",8963,"controlACK",6,"controlBEL",7,"controlBS",8,"controlCAN",24,"controlCR",13,"controlDC1",17,"controlDC2",18,"controlDC3",19,"controlDC4",20,"controlDEL",127,"controlDLE",16,"controlEM",25,"controlENQ",5,"controlEOT",4,"controlESC",27,"controlETB",23,"controlETX",3,"controlFF",12,"controlFS",28,"controlGS",29,"controlHT",9,"controlLF",10,"controlNAK",21,"controlNULL",0,"controlRS",30,"controlSI",15,"controlSO",14,"controlSOT",2,"controlSTX",1,"controlSUB",26,"controlSYN",22,"controlUS",31,"controlVT",11,"copyright",169,"copyrightsans",63721,"copyrightserif",63193,"cornerbracketleft",12300,"cornerbracketlefthalfwidth",65378,"cornerbracketleftvertical",65089,"cornerbracketright",12301,"cornerbracketrighthalfwidth",65379,"cornerbracketrightvertical",65090,"corporationsquare",13183,"cosquare",13255,"coverkgsquare",13254,"cparen",9374,"cruzeiro",8354,"cstretched",663,"curlyand",8911,"curlyor",8910,"currency",164,"cyrBreve",63185,"cyrFlex",63186,"cyrbreve",63188,"cyrflex",63189,"d",100,"daarmenian",1380,"dabengali",2470,"dadarabic",1590,"dadeva",2342,"dadfinalarabic",65214,"dadinitialarabic",65215,"dadmedialarabic",65216,"dagesh",1468,"dageshhebrew",1468,"dagger",8224,"daggerdbl",8225,"dagujarati",2726,"dagurmukhi",2598,"dahiragana",12384,"dakatakana",12480,"dalarabic",1583,"dalet",1491,"daletdagesh",64307,"daletdageshhebrew",64307,"dalethebrew",1491,"dalfinalarabic",65194,"dammaarabic",1615,"dammalowarabic",1615,"dammatanaltonearabic",1612,"dammatanarabic",1612,"danda",2404,"dargahebrew",1447,"dargalefthebrew",1447,"dasiapneumatacyrilliccmb",1157,"dblGrave",63187,"dblanglebracketleft",12298,"dblanglebracketleftvertical",65085,"dblanglebracketright",12299,"dblanglebracketrightvertical",65086,"dblarchinvertedbelowcmb",811,"dblarrowleft",8660,"dblarrowright",8658,"dbldanda",2405,"dblgrave",63190,"dblgravecmb",783,"dblintegral",8748,"dbllowline",8215,"dbllowlinecmb",819,"dbloverlinecmb",831,"dblprimemod",698,"dblverticalbar",8214,"dblverticallineabovecmb",782,"dbopomofo",12553,"dbsquare",13256,"dcaron",271,"dcedilla",7697,"dcircle",9427,"dcircumflexbelow",7699,"dcroat",273,"ddabengali",2465,"ddadeva",2337,"ddagujarati",2721,"ddagurmukhi",2593,"ddalarabic",1672,"ddalfinalarabic",64393,"dddhadeva",2396,"ddhabengali",2466,"ddhadeva",2338,"ddhagujarati",2722,"ddhagurmukhi",2594,"ddotaccent",7691,"ddotbelow",7693,"decimalseparatorarabic",1643,"decimalseparatorpersian",1643,"decyrillic",1076,"degree",176,"dehihebrew",1453,"dehiragana",12391,"deicoptic",1007,"dekatakana",12487,"deleteleft",9003,"deleteright",8998,"delta",948,"deltaturned",397,"denominatorminusonenumeratorbengali",2552,"dezh",676,"dhabengali",2471,"dhadeva",2343,"dhagujarati",2727,"dhagurmukhi",2599,"dhook",599,"dialytikatonos",901,"dialytikatonoscmb",836,"diamond",9830,"diamondsuitwhite",9826,"dieresis",168,"dieresisacute",63191,"dieresisbelowcmb",804,"dieresiscmb",776,"dieresisgrave",63192,"dieresistonos",901,"dihiragana",12386,"dikatakana",12482,"dittomark",12291,"divide",247,"divides",8739,"divisionslash",8725,"djecyrillic",1106,"dkshade",9619,"dlinebelow",7695,"dlsquare",13207,"dmacron",273,"dmonospace",65348,"dnblock",9604,"dochadathai",3598,"dodekthai",3604,"dohiragana",12393,"dokatakana",12489,"dollar",36,"dollarinferior",63203,"dollarmonospace",65284,"dollaroldstyle",63268,"dollarsmall",65129,"dollarsuperior",63204,"dong",8363,"dorusquare",13094,"dotaccent",729,"dotaccentcmb",775,"dotbelowcmb",803,"dotbelowcomb",803,"dotkatakana",12539,"dotlessi",305,"dotlessj",63166,"dotlessjstrokehook",644,"dotmath",8901,"dottedcircle",9676,"doubleyodpatah",64287,"doubleyodpatahhebrew",64287,"downtackbelowcmb",798,"downtackmod",725,"dparen",9375,"dsuperior",63211,"dtail",598,"dtopbar",396,"duhiragana",12389,"dukatakana",12485,"dz",499,"dzaltone",675,"dzcaron",454,"dzcurl",677,"dzeabkhasiancyrillic",1249,"dzecyrillic",1109,"dzhecyrillic",1119,"e",101,"eacute",233,"earth",9793,"ebengali",2447,"ebopomofo",12572,"ebreve",277,"ecandradeva",2317,"ecandragujarati",2701,"ecandravowelsigndeva",2373,"ecandravowelsigngujarati",2757,"ecaron",283,"ecedillabreve",7709,"echarmenian",1381,"echyiwnarmenian",1415,"ecircle",9428,"ecircumflex",234,"ecircumflexacute",7871,"ecircumflexbelow",7705,"ecircumflexdotbelow",7879,"ecircumflexgrave",7873,"ecircumflexhookabove",7875,"ecircumflextilde",7877,"ecyrillic",1108,"edblgrave",517,"edeva",2319,"edieresis",235,"edot",279,"edotaccent",279,"edotbelow",7865,"eegurmukhi",2575,"eematragurmukhi",2631,"efcyrillic",1092,"egrave",232,"egujarati",2703,"eharmenian",1383,"ehbopomofo",12573,"ehiragana",12360,"ehookabove",7867,"eibopomofo",12575,"eight",56,"eightarabic",1640,"eightbengali",2542,"eightcircle",9319,"eightcircleinversesansserif",10129,"eightdeva",2414,"eighteencircle",9329,"eighteenparen",9349,"eighteenperiod",9369,"eightgujarati",2798,"eightgurmukhi",2670,"eighthackarabic",1640,"eighthangzhou",12328,"eighthnotebeamed",9835,"eightideographicparen",12839,"eightinferior",8328,"eightmonospace",65304,"eightoldstyle",63288,"eightparen",9339,"eightperiod",9359,"eightpersian",1784,"eightroman",8567,"eightsuperior",8312,"eightthai",3672,"einvertedbreve",519,"eiotifiedcyrillic",1125,"ekatakana",12456,"ekatakanahalfwidth",65396,"ekonkargurmukhi",2676,"ekorean",12628,"elcyrillic",1083,"element",8712,"elevencircle",9322,"elevenparen",9342,"elevenperiod",9362,"elevenroman",8570,"ellipsis",8230,"ellipsisvertical",8942,"emacron",275,"emacronacute",7703,"emacrongrave",7701,"emcyrillic",1084,"emdash",8212,"emdashvertical",65073,"emonospace",65349,"emphasismarkarmenian",1371,"emptyset",8709,"enbopomofo",12579,"encyrillic",1085,"endash",8211,"endashvertical",65074,"endescendercyrillic",1187,"eng",331,"engbopomofo",12581,"enghecyrillic",1189,"enhookcyrillic",1224,"enspace",8194,"eogonek",281,"eokorean",12627,"eopen",603,"eopenclosed",666,"eopenreversed",604,"eopenreversedclosed",606,"eopenreversedhook",605,"eparen",9376,"epsilon",949,"epsilontonos",941,"equal",61,"equalmonospace",65309,"equalsmall",65126,"equalsuperior",8316,"equivalence",8801,"erbopomofo",12582,"ercyrillic",1088,"ereversed",600,"ereversedcyrillic",1101,"escyrillic",1089,"esdescendercyrillic",1195,"esh",643,"eshcurl",646,"eshortdeva",2318,"eshortvowelsigndeva",2374,"eshreversedloop",426,"eshsquatreversed",645,"esmallhiragana",12359,"esmallkatakana",12455,"esmallkatakanahalfwidth",65386,"estimated",8494,"esuperior",63212,"eta",951,"etarmenian",1384,"etatonos",942,"eth",240,"etilde",7869,"etildebelow",7707,"etnahtafoukhhebrew",1425,"etnahtafoukhlefthebrew",1425,"etnahtahebrew",1425,"etnahtalefthebrew",1425,"eturned",477,"eukorean",12641,"euro",8364,"evowelsignbengali",2503,"evowelsigndeva",2375,"evowelsigngujarati",2759,"exclam",33,"exclamarmenian",1372,"exclamdbl",8252,"exclamdown",161,"exclamdownsmall",63393,"exclammonospace",65281,"exclamsmall",63265,"existential",8707,"ezh",658,"ezhcaron",495,"ezhcurl",659,"ezhreversed",441,"ezhtail",442,"f",102,"fadeva",2398,"fagurmukhi",2654,"fahrenheit",8457,"fathaarabic",1614,"fathalowarabic",1614,"fathatanarabic",1611,"fbopomofo",12552,"fcircle",9429,"fdotaccent",7711,"feharabic",1601,"feharmenian",1414,"fehfinalarabic",65234,"fehinitialarabic",65235,"fehmedialarabic",65236,"feicoptic",997,"female",9792,"ff",64256,"f_f",64256,"ffi",64259,"ffl",64260,"fi",64257,"fifteencircle",9326,"fifteenparen",9346,"fifteenperiod",9366,"figuredash",8210,"filledbox",9632,"filledrect",9644,"finalkaf",1498,"finalkafdagesh",64314,"finalkafdageshhebrew",64314,"finalkafhebrew",1498,"finalmem",1501,"finalmemhebrew",1501,"finalnun",1503,"finalnunhebrew",1503,"finalpe",1507,"finalpehebrew",1507,"finaltsadi",1509,"finaltsadihebrew",1509,"firsttonechinese",713,"fisheye",9673,"fitacyrillic",1139,"five",53,"fivearabic",1637,"fivebengali",2539,"fivecircle",9316,"fivecircleinversesansserif",10126,"fivedeva",2411,"fiveeighths",8541,"fivegujarati",2795,"fivegurmukhi",2667,"fivehackarabic",1637,"fivehangzhou",12325,"fiveideographicparen",12836,"fiveinferior",8325,"fivemonospace",65301,"fiveoldstyle",63285,"fiveparen",9336,"fiveperiod",9356,"fivepersian",1781,"fiveroman",8564,"fivesuperior",8309,"fivethai",3669,"fl",64258,"florin",402,"fmonospace",65350,"fmsquare",13209,"fofanthai",3615,"fofathai",3613,"fongmanthai",3663,"forall",8704,"four",52,"fourarabic",1636,"fourbengali",2538,"fourcircle",9315,"fourcircleinversesansserif",10125,"fourdeva",2410,"fourgujarati",2794,"fourgurmukhi",2666,"fourhackarabic",1636,"fourhangzhou",12324,"fourideographicparen",12835,"fourinferior",8324,"fourmonospace",65300,"fournumeratorbengali",2551,"fouroldstyle",63284,"fourparen",9335,"fourperiod",9355,"fourpersian",1780,"fourroman",8563,"foursuperior",8308,"fourteencircle",9325,"fourteenparen",9345,"fourteenperiod",9365,"fourthai",3668,"fourthtonechinese",715,"fparen",9377,"fraction",8260,"franc",8355,"g",103,"gabengali",2455,"gacute",501,"gadeva",2327,"gafarabic",1711,"gaffinalarabic",64403,"gafinitialarabic",64404,"gafmedialarabic",64405,"gagujarati",2711,"gagurmukhi",2583,"gahiragana",12364,"gakatakana",12460,"gamma",947,"gammalatinsmall",611,"gammasuperior",736,"gangiacoptic",1003,"gbopomofo",12557,"gbreve",287,"gcaron",487,"gcedilla",291,"gcircle",9430,"gcircumflex",285,"gcommaaccent",291,"gdot",289,"gdotaccent",289,"gecyrillic",1075,"gehiragana",12370,"gekatakana",12466,"geometricallyequal",8785,"gereshaccenthebrew",1436,"gereshhebrew",1523,"gereshmuqdamhebrew",1437,"germandbls",223,"gershayimaccenthebrew",1438,"gershayimhebrew",1524,"getamark",12307,"ghabengali",2456,"ghadarmenian",1394,"ghadeva",2328,"ghagujarati",2712,"ghagurmukhi",2584,"ghainarabic",1594,"ghainfinalarabic",65230,"ghaininitialarabic",65231,"ghainmedialarabic",65232,"ghemiddlehookcyrillic",1173,"ghestrokecyrillic",1171,"gheupturncyrillic",1169,"ghhadeva",2394,"ghhagurmukhi",2650,"ghook",608,"ghzsquare",13203,"gihiragana",12366,"gikatakana",12462,"gimarmenian",1379,"gimel",1490,"gimeldagesh",64306,"gimeldageshhebrew",64306,"gimelhebrew",1490,"gjecyrillic",1107,"glottalinvertedstroke",446,"glottalstop",660,"glottalstopinverted",662,"glottalstopmod",704,"glottalstopreversed",661,"glottalstopreversedmod",705,"glottalstopreversedsuperior",740,"glottalstopstroke",673,"glottalstopstrokereversed",674,"gmacron",7713,"gmonospace",65351,"gohiragana",12372,"gokatakana",12468,"gparen",9378,"gpasquare",13228,"gradient",8711,"grave",96,"gravebelowcmb",790,"gravecmb",768,"gravecomb",768,"gravedeva",2387,"gravelowmod",718,"gravemonospace",65344,"gravetonecmb",832,"greater",62,"greaterequal",8805,"greaterequalorless",8923,"greatermonospace",65310,"greaterorequivalent",8819,"greaterorless",8823,"greateroverequal",8807,"greatersmall",65125,"gscript",609,"gstroke",485,"guhiragana",12368,"guillemotleft",171,"guillemotright",187,"guilsinglleft",8249,"guilsinglright",8250,"gukatakana",12464,"guramusquare",13080,"gysquare",13257,"h",104,"haabkhasiancyrillic",1193,"haaltonearabic",1729,"habengali",2489,"hadescendercyrillic",1203,"hadeva",2361,"hagujarati",2745,"hagurmukhi",2617,"haharabic",1581,"hahfinalarabic",65186,"hahinitialarabic",65187,"hahiragana",12399,"hahmedialarabic",65188,"haitusquare",13098,"hakatakana",12495,"hakatakanahalfwidth",65418,"halantgurmukhi",2637,"hamzaarabic",1569,"hamzalowarabic",1569,"hangulfiller",12644,"hardsigncyrillic",1098,"harpoonleftbarbup",8636,"harpoonrightbarbup",8640,"hasquare",13258,"hatafpatah",1458,"hatafpatah16",1458,"hatafpatah23",1458,"hatafpatah2f",1458,"hatafpatahhebrew",1458,"hatafpatahnarrowhebrew",1458,"hatafpatahquarterhebrew",1458,"hatafpatahwidehebrew",1458,"hatafqamats",1459,"hatafqamats1b",1459,"hatafqamats28",1459,"hatafqamats34",1459,"hatafqamatshebrew",1459,"hatafqamatsnarrowhebrew",1459,"hatafqamatsquarterhebrew",1459,"hatafqamatswidehebrew",1459,"hatafsegol",1457,"hatafsegol17",1457,"hatafsegol24",1457,"hatafsegol30",1457,"hatafsegolhebrew",1457,"hatafsegolnarrowhebrew",1457,"hatafsegolquarterhebrew",1457,"hatafsegolwidehebrew",1457,"hbar",295,"hbopomofo",12559,"hbrevebelow",7723,"hcedilla",7721,"hcircle",9431,"hcircumflex",293,"hdieresis",7719,"hdotaccent",7715,"hdotbelow",7717,"he",1492,"heart",9829,"heartsuitblack",9829,"heartsuitwhite",9825,"hedagesh",64308,"hedageshhebrew",64308,"hehaltonearabic",1729,"heharabic",1607,"hehebrew",1492,"hehfinalaltonearabic",64423,"hehfinalalttwoarabic",65258,"hehfinalarabic",65258,"hehhamzaabovefinalarabic",64421,"hehhamzaaboveisolatedarabic",64420,"hehinitialaltonearabic",64424,"hehinitialarabic",65259,"hehiragana",12408,"hehmedialaltonearabic",64425,"hehmedialarabic",65260,"heiseierasquare",13179,"hekatakana",12504,"hekatakanahalfwidth",65421,"hekutaarusquare",13110,"henghook",615,"herutusquare",13113,"het",1495,"hethebrew",1495,"hhook",614,"hhooksuperior",689,"hieuhacirclekorean",12923,"hieuhaparenkorean",12827,"hieuhcirclekorean",12909,"hieuhkorean",12622,"hieuhparenkorean",12813,"hihiragana",12402,"hikatakana",12498,"hikatakanahalfwidth",65419,"hiriq",1460,"hiriq14",1460,"hiriq21",1460,"hiriq2d",1460,"hiriqhebrew",1460,"hiriqnarrowhebrew",1460,"hiriqquarterhebrew",1460,"hiriqwidehebrew",1460,"hlinebelow",7830,"hmonospace",65352,"hoarmenian",1392,"hohipthai",3627,"hohiragana",12411,"hokatakana",12507,"hokatakanahalfwidth",65422,"holam",1465,"holam19",1465,"holam26",1465,"holam32",1465,"holamhebrew",1465,"holamnarrowhebrew",1465,"holamquarterhebrew",1465,"holamwidehebrew",1465,"honokhukthai",3630,"hookabovecomb",777,"hookcmb",777,"hookpalatalizedbelowcmb",801,"hookretroflexbelowcmb",802,"hoonsquare",13122,"horicoptic",1001,"horizontalbar",8213,"horncmb",795,"hotsprings",9832,"house",8962,"hparen",9379,"hsuperior",688,"hturned",613,"huhiragana",12405,"huiitosquare",13107,"hukatakana",12501,"hukatakanahalfwidth",65420,"hungarumlaut",733,"hungarumlautcmb",779,"hv",405,"hyphen",45,"hypheninferior",63205,"hyphenmonospace",65293,"hyphensmall",65123,"hyphensuperior",63206,"hyphentwo",8208,"i",105,"iacute",237,"iacyrillic",1103,"ibengali",2439,"ibopomofo",12583,"ibreve",301,"icaron",464,"icircle",9432,"icircumflex",238,"icyrillic",1110,"idblgrave",521,"ideographearthcircle",12943,"ideographfirecircle",12939,"ideographicallianceparen",12863,"ideographiccallparen",12858,"ideographiccentrecircle",12965,"ideographicclose",12294,"ideographiccomma",12289,"ideographiccommaleft",65380,"ideographiccongratulationparen",12855,"ideographiccorrectcircle",12963,"ideographicearthparen",12847,"ideographicenterpriseparen",12861,"ideographicexcellentcircle",12957,"ideographicfestivalparen",12864,"ideographicfinancialcircle",12950,"ideographicfinancialparen",12854,"ideographicfireparen",12843,"ideographichaveparen",12850,"ideographichighcircle",12964,"ideographiciterationmark",12293,"ideographiclaborcircle",12952,"ideographiclaborparen",12856,"ideographicleftcircle",12967,"ideographiclowcircle",12966,"ideographicmedicinecircle",12969,"ideographicmetalparen",12846,"ideographicmoonparen",12842,"ideographicnameparen",12852,"ideographicperiod",12290,"ideographicprintcircle",12958,"ideographicreachparen",12867,"ideographicrepresentparen",12857,"ideographicresourceparen",12862,"ideographicrightcircle",12968,"ideographicsecretcircle",12953,"ideographicselfparen",12866,"ideographicsocietyparen",12851,"ideographicspace",12288,"ideographicspecialparen",12853,"ideographicstockparen",12849,"ideographicstudyparen",12859,"ideographicsunparen",12848,"ideographicsuperviseparen",12860,"ideographicwaterparen",12844,"ideographicwoodparen",12845,"ideographiczero",12295,"ideographmetalcircle",12942,"ideographmooncircle",12938,"ideographnamecircle",12948,"ideographsuncircle",12944,"ideographwatercircle",12940,"ideographwoodcircle",12941,"ideva",2311,"idieresis",239,"idieresisacute",7727,"idieresiscyrillic",1253,"idotbelow",7883,"iebrevecyrillic",1239,"iecyrillic",1077,"ieungacirclekorean",12917,"ieungaparenkorean",12821,"ieungcirclekorean",12903,"ieungkorean",12615,"ieungparenkorean",12807,"igrave",236,"igujarati",2695,"igurmukhi",2567,"ihiragana",12356,"ihookabove",7881,"iibengali",2440,"iicyrillic",1080,"iideva",2312,"iigujarati",2696,"iigurmukhi",2568,"iimatragurmukhi",2624,"iinvertedbreve",523,"iishortcyrillic",1081,"iivowelsignbengali",2496,"iivowelsigndeva",2368,"iivowelsigngujarati",2752,"ij",307,"ikatakana",12452,"ikatakanahalfwidth",65394,"ikorean",12643,"ilde",732,"iluyhebrew",1452,"imacron",299,"imacroncyrillic",1251,"imageorapproximatelyequal",8787,"imatragurmukhi",2623,"imonospace",65353,"increment",8710,"infinity",8734,"iniarmenian",1387,"integral",8747,"integralbottom",8993,"integralbt",8993,"integralex",63733,"integraltop",8992,"integraltp",8992,"intersection",8745,"intisquare",13061,"invbullet",9688,"invcircle",9689,"invsmileface",9787,"iocyrillic",1105,"iogonek",303,"iota",953,"iotadieresis",970,"iotadieresistonos",912,"iotalatin",617,"iotatonos",943,"iparen",9380,"irigurmukhi",2674,"ismallhiragana",12355,"ismallkatakana",12451,"ismallkatakanahalfwidth",65384,"issharbengali",2554,"istroke",616,"isuperior",63213,"iterationhiragana",12445,"iterationkatakana",12541,"itilde",297,"itildebelow",7725,"iubopomofo",12585,"iucyrillic",1102,"ivowelsignbengali",2495,"ivowelsigndeva",2367,"ivowelsigngujarati",2751,"izhitsacyrillic",1141,"izhitsadblgravecyrillic",1143,"j",106,"jaarmenian",1393,"jabengali",2460,"jadeva",2332,"jagujarati",2716,"jagurmukhi",2588,"jbopomofo",12560,"jcaron",496,"jcircle",9433,"jcircumflex",309,"jcrossedtail",669,"jdotlessstroke",607,"jecyrillic",1112,"jeemarabic",1580,"jeemfinalarabic",65182,"jeeminitialarabic",65183,"jeemmedialarabic",65184,"jeharabic",1688,"jehfinalarabic",64395,"jhabengali",2461,"jhadeva",2333,"jhagujarati",2717,"jhagurmukhi",2589,"jheharmenian",1403,"jis",12292,"jmonospace",65354,"jparen",9381,"jsuperior",690,"k",107,"kabashkircyrillic",1185,"kabengali",2453,"kacute",7729,"kacyrillic",1082,"kadescendercyrillic",1179,"kadeva",2325,"kaf",1499,"kafarabic",1603,"kafdagesh",64315,"kafdageshhebrew",64315,"kaffinalarabic",65242,"kafhebrew",1499,"kafinitialarabic",65243,"kafmedialarabic",65244,"kafrafehebrew",64333,"kagujarati",2709,"kagurmukhi",2581,"kahiragana",12363,"kahookcyrillic",1220,"kakatakana",12459,"kakatakanahalfwidth",65398,"kappa",954,"kappasymbolgreek",1008,"kapyeounmieumkorean",12657,"kapyeounphieuphkorean",12676,"kapyeounpieupkorean",12664,"kapyeounssangpieupkorean",12665,"karoriisquare",13069,"kashidaautoarabic",1600,"kashidaautonosidebearingarabic",1600,"kasmallkatakana",12533,"kasquare",13188,"kasraarabic",1616,"kasratanarabic",1613,"kastrokecyrillic",1183,"katahiraprolongmarkhalfwidth",65392,"kaverticalstrokecyrillic",1181,"kbopomofo",12558,"kcalsquare",13193,"kcaron",489,"kcedilla",311,"kcircle",9434,"kcommaaccent",311,"kdotbelow",7731,"keharmenian",1412,"kehiragana",12369,"kekatakana",12465,"kekatakanahalfwidth",65401,"kenarmenian",1391,"kesmallkatakana",12534,"kgreenlandic",312,"khabengali",2454,"khacyrillic",1093,"khadeva",2326,"khagujarati",2710,"khagurmukhi",2582,"khaharabic",1582,"khahfinalarabic",65190,"khahinitialarabic",65191,"khahmedialarabic",65192,"kheicoptic",999,"khhadeva",2393,"khhagurmukhi",2649,"khieukhacirclekorean",12920,"khieukhaparenkorean",12824,"khieukhcirclekorean",12906,"khieukhkorean",12619,"khieukhparenkorean",12810,"khokhaithai",3586,"khokhonthai",3589,"khokhuatthai",3587,"khokhwaithai",3588,"khomutthai",3675,"khook",409,"khorakhangthai",3590,"khzsquare",13201,"kihiragana",12365,"kikatakana",12461,"kikatakanahalfwidth",65399,"kiroguramusquare",13077,"kiromeetorusquare",13078,"kirosquare",13076,"kiyeokacirclekorean",12910,"kiyeokaparenkorean",12814,"kiyeokcirclekorean",12896,"kiyeokkorean",12593,"kiyeokparenkorean",12800,"kiyeoksioskorean",12595,"kjecyrillic",1116,"klinebelow",7733,"klsquare",13208,"kmcubedsquare",13222,"kmonospace",65355,"kmsquaredsquare",13218,"kohiragana",12371,"kohmsquare",13248,"kokaithai",3585,"kokatakana",12467,"kokatakanahalfwidth",65402,"kooposquare",13086,"koppacyrillic",1153,"koreanstandardsymbol",12927,"koroniscmb",835,"kparen",9382,"kpasquare",13226,"ksicyrillic",1135,"ktsquare",13263,"kturned",670,"kuhiragana",12367,"kukatakana",12463,"kukatakanahalfwidth",65400,"kvsquare",13240,"kwsquare",13246,"l",108,"labengali",2482,"lacute",314,"ladeva",2354,"lagujarati",2738,"lagurmukhi",2610,"lakkhangyaothai",3653,"lamaleffinalarabic",65276,"lamalefhamzaabovefinalarabic",65272,"lamalefhamzaaboveisolatedarabic",65271,"lamalefhamzabelowfinalarabic",65274,"lamalefhamzabelowisolatedarabic",65273,"lamalefisolatedarabic",65275,"lamalefmaddaabovefinalarabic",65270,"lamalefmaddaaboveisolatedarabic",65269,"lamarabic",1604,"lambda",955,"lambdastroke",411,"lamed",1500,"lameddagesh",64316,"lameddageshhebrew",64316,"lamedhebrew",1500,"lamfinalarabic",65246,"lamhahinitialarabic",64714,"laminitialarabic",65247,"lamjeeminitialarabic",64713,"lamkhahinitialarabic",64715,"lamlamhehisolatedarabic",65010,"lammedialarabic",65248,"lammeemhahinitialarabic",64904,"lammeeminitialarabic",64716,"largecircle",9711,"lbar",410,"lbelt",620,"lbopomofo",12556,"lcaron",318,"lcedilla",316,"lcircle",9435,"lcircumflexbelow",7741,"lcommaaccent",316,"ldot",320,"ldotaccent",320,"ldotbelow",7735,"ldotbelowmacron",7737,"leftangleabovecmb",794,"lefttackbelowcmb",792,"less",60,"lessequal",8804,"lessequalorgreater",8922,"lessmonospace",65308,"lessorequivalent",8818,"lessorgreater",8822,"lessoverequal",8806,"lesssmall",65124,"lezh",622,"lfblock",9612,"lhookretroflex",621,"lira",8356,"liwnarmenian",1388,"lj",457,"ljecyrillic",1113,"ll",63168,"lladeva",2355,"llagujarati",2739,"llinebelow",7739,"llladeva",2356,"llvocalicbengali",2529,"llvocalicdeva",2401,"llvocalicvowelsignbengali",2531,"llvocalicvowelsigndeva",2403,"lmiddletilde",619,"lmonospace",65356,"lmsquare",13264,"lochulathai",3628,"logicaland",8743,"logicalnot",172,"logicalnotreversed",8976,"logicalor",8744,"lolingthai",3621,"longs",383,"lowlinecenterline",65102,"lowlinecmb",818,"lowlinedashed",65101,"lozenge",9674,"lparen",9383,"lslash",322,"lsquare",8467,"lsuperior",63214,"ltshade",9617,"luthai",3622,"lvocalicbengali",2444,"lvocalicdeva",2316,"lvocalicvowelsignbengali",2530,"lvocalicvowelsigndeva",2402,"lxsquare",13267,"m",109,"mabengali",2478,"macron",175,"macronbelowcmb",817,"macroncmb",772,"macronlowmod",717,"macronmonospace",65507,"macute",7743,"madeva",2350,"magujarati",2734,"magurmukhi",2606,"mahapakhhebrew",1444,"mahapakhlefthebrew",1444,"mahiragana",12414,"maichattawalowleftthai",63637,"maichattawalowrightthai",63636,"maichattawathai",3659,"maichattawaupperleftthai",63635,"maieklowleftthai",63628,"maieklowrightthai",63627,"maiekthai",3656,"maiekupperleftthai",63626,"maihanakatleftthai",63620,"maihanakatthai",3633,"maitaikhuleftthai",63625,"maitaikhuthai",3655,"maitholowleftthai",63631,"maitholowrightthai",63630,"maithothai",3657,"maithoupperleftthai",63629,"maitrilowleftthai",63634,"maitrilowrightthai",63633,"maitrithai",3658,"maitriupperleftthai",63632,"maiyamokthai",3654,"makatakana",12510,"makatakanahalfwidth",65423,"male",9794,"mansyonsquare",13127,"maqafhebrew",1470,"mars",9794,"masoracirclehebrew",1455,"masquare",13187,"mbopomofo",12551,"mbsquare",13268,"mcircle",9436,"mcubedsquare",13221,"mdotaccent",7745,"mdotbelow",7747,"meemarabic",1605,"meemfinalarabic",65250,"meeminitialarabic",65251,"meemmedialarabic",65252,"meemmeeminitialarabic",64721,"meemmeemisolatedarabic",64584,"meetorusquare",13133,"mehiragana",12417,"meizierasquare",13182,"mekatakana",12513,"mekatakanahalfwidth",65426,"mem",1502,"memdagesh",64318,"memdageshhebrew",64318,"memhebrew",1502,"menarmenian",1396,"merkhahebrew",1445,"merkhakefulahebrew",1446,"merkhakefulalefthebrew",1446,"merkhalefthebrew",1445,"mhook",625,"mhzsquare",13202,"middledotkatakanahalfwidth",65381,"middot",183,"mieumacirclekorean",12914,"mieumaparenkorean",12818,"mieumcirclekorean",12900,"mieumkorean",12609,"mieumpansioskorean",12656,"mieumparenkorean",12804,"mieumpieupkorean",12654,"mieumsioskorean",12655,"mihiragana",12415,"mikatakana",12511,"mikatakanahalfwidth",65424,"minus",8722,"minusbelowcmb",800,"minuscircle",8854,"minusmod",727,"minusplus",8723,"minute",8242,"miribaarusquare",13130,"mirisquare",13129,"mlonglegturned",624,"mlsquare",13206,"mmcubedsquare",13219,"mmonospace",65357,"mmsquaredsquare",13215,"mohiragana",12418,"mohmsquare",13249,"mokatakana",12514,"mokatakanahalfwidth",65427,"molsquare",13270,"momathai",3617,"moverssquare",13223,"moverssquaredsquare",13224,"mparen",9384,"mpasquare",13227,"mssquare",13235,"msuperior",63215,"mturned",623,"mu",181,"mu1",181,"muasquare",13186,"muchgreater",8811,"muchless",8810,"mufsquare",13196,"mugreek",956,"mugsquare",13197,"muhiragana",12416,"mukatakana",12512,"mukatakanahalfwidth",65425,"mulsquare",13205,"multiply",215,"mumsquare",13211,"munahhebrew",1443,"munahlefthebrew",1443,"musicalnote",9834,"musicalnotedbl",9835,"musicflatsign",9837,"musicsharpsign",9839,"mussquare",13234,"muvsquare",13238,"muwsquare",13244,"mvmegasquare",13241,"mvsquare",13239,"mwmegasquare",13247,"mwsquare",13245,"n",110,"nabengali",2472,"nabla",8711,"nacute",324,"nadeva",2344,"nagujarati",2728,"nagurmukhi",2600,"nahiragana",12394,"nakatakana",12490,"nakatakanahalfwidth",65413,"napostrophe",329,"nasquare",13185,"nbopomofo",12555,"nbspace",160,"ncaron",328,"ncedilla",326,"ncircle",9437,"ncircumflexbelow",7755,"ncommaaccent",326,"ndotaccent",7749,"ndotbelow",7751,"nehiragana",12397,"nekatakana",12493,"nekatakanahalfwidth",65416,"newsheqelsign",8362,"nfsquare",13195,"ngabengali",2457,"ngadeva",2329,"ngagujarati",2713,"ngagurmukhi",2585,"ngonguthai",3591,"nhiragana",12435,"nhookleft",626,"nhookretroflex",627,"nieunacirclekorean",12911,"nieunaparenkorean",12815,"nieuncieuckorean",12597,"nieuncirclekorean",12897,"nieunhieuhkorean",12598,"nieunkorean",12596,"nieunpansioskorean",12648,"nieunparenkorean",12801,"nieunsioskorean",12647,"nieuntikeutkorean",12646,"nihiragana",12395,"nikatakana",12491,"nikatakanahalfwidth",65414,"nikhahitleftthai",63641,"nikhahitthai",3661,"nine",57,"ninearabic",1641,"ninebengali",2543,"ninecircle",9320,"ninecircleinversesansserif",10130,"ninedeva",2415,"ninegujarati",2799,"ninegurmukhi",2671,"ninehackarabic",1641,"ninehangzhou",12329,"nineideographicparen",12840,"nineinferior",8329,"ninemonospace",65305,"nineoldstyle",63289,"nineparen",9340,"nineperiod",9360,"ninepersian",1785,"nineroman",8568,"ninesuperior",8313,"nineteencircle",9330,"nineteenparen",9350,"nineteenperiod",9370,"ninethai",3673,"nj",460,"njecyrillic",1114,"nkatakana",12531,"nkatakanahalfwidth",65437,"nlegrightlong",414,"nlinebelow",7753,"nmonospace",65358,"nmsquare",13210,"nnabengali",2467,"nnadeva",2339,"nnagujarati",2723,"nnagurmukhi",2595,"nnnadeva",2345,"nohiragana",12398,"nokatakana",12494,"nokatakanahalfwidth",65417,"nonbreakingspace",160,"nonenthai",3603,"nonuthai",3609,"noonarabic",1606,"noonfinalarabic",65254,"noonghunnaarabic",1722,"noonghunnafinalarabic",64415,"nooninitialarabic",65255,"noonjeeminitialarabic",64722,"noonjeemisolatedarabic",64587,"noonmedialarabic",65256,"noonmeeminitialarabic",64725,"noonmeemisolatedarabic",64590,"noonnoonfinalarabic",64653,"notcontains",8716,"notelement",8713,"notelementof",8713,"notequal",8800,"notgreater",8815,"notgreaternorequal",8817,"notgreaternorless",8825,"notidentical",8802,"notless",8814,"notlessnorequal",8816,"notparallel",8742,"notprecedes",8832,"notsubset",8836,"notsucceeds",8833,"notsuperset",8837,"nowarmenian",1398,"nparen",9385,"nssquare",13233,"nsuperior",8319,"ntilde",241,"nu",957,"nuhiragana",12396,"nukatakana",12492,"nukatakanahalfwidth",65415,"nuktabengali",2492,"nuktadeva",2364,"nuktagujarati",2748,"nuktagurmukhi",2620,"numbersign",35,"numbersignmonospace",65283,"numbersignsmall",65119,"numeralsigngreek",884,"numeralsignlowergreek",885,"numero",8470,"nun",1504,"nundagesh",64320,"nundageshhebrew",64320,"nunhebrew",1504,"nvsquare",13237,"nwsquare",13243,"nyabengali",2462,"nyadeva",2334,"nyagujarati",2718,"nyagurmukhi",2590,"o",111,"oacute",243,"oangthai",3629,"obarred",629,"obarredcyrillic",1257,"obarreddieresiscyrillic",1259,"obengali",2451,"obopomofo",12571,"obreve",335,"ocandradeva",2321,"ocandragujarati",2705,"ocandravowelsigndeva",2377,"ocandravowelsigngujarati",2761,"ocaron",466,"ocircle",9438,"ocircumflex",244,"ocircumflexacute",7889,"ocircumflexdotbelow",7897,"ocircumflexgrave",7891,"ocircumflexhookabove",7893,"ocircumflextilde",7895,"ocyrillic",1086,"odblacute",337,"odblgrave",525,"odeva",2323,"odieresis",246,"odieresiscyrillic",1255,"odotbelow",7885,"oe",339,"oekorean",12634,"ogonek",731,"ogonekcmb",808,"ograve",242,"ogujarati",2707,"oharmenian",1413,"ohiragana",12362,"ohookabove",7887,"ohorn",417,"ohornacute",7899,"ohorndotbelow",7907,"ohorngrave",7901,"ohornhookabove",7903,"ohorntilde",7905,"ohungarumlaut",337,"oi",419,"oinvertedbreve",527,"okatakana",12458,"okatakanahalfwidth",65397,"okorean",12631,"olehebrew",1451,"omacron",333,"omacronacute",7763,"omacrongrave",7761,"omdeva",2384,"omega",969,"omega1",982,"omegacyrillic",1121,"omegalatinclosed",631,"omegaroundcyrillic",1147,"omegatitlocyrillic",1149,"omegatonos",974,"omgujarati",2768,"omicron",959,"omicrontonos",972,"omonospace",65359,"one",49,"onearabic",1633,"onebengali",2535,"onecircle",9312,"onecircleinversesansserif",10122,"onedeva",2407,"onedotenleader",8228,"oneeighth",8539,"onefitted",63196,"onegujarati",2791,"onegurmukhi",2663,"onehackarabic",1633,"onehalf",189,"onehangzhou",12321,"oneideographicparen",12832,"oneinferior",8321,"onemonospace",65297,"onenumeratorbengali",2548,"oneoldstyle",63281,"oneparen",9332,"oneperiod",9352,"onepersian",1777,"onequarter",188,"oneroman",8560,"onesuperior",185,"onethai",3665,"onethird",8531,"oogonek",491,"oogonekmacron",493,"oogurmukhi",2579,"oomatragurmukhi",2635,"oopen",596,"oparen",9386,"openbullet",9702,"option",8997,"ordfeminine",170,"ordmasculine",186,"orthogonal",8735,"oshortdeva",2322,"oshortvowelsigndeva",2378,"oslash",248,"oslashacute",511,"osmallhiragana",12361,"osmallkatakana",12457,"osmallkatakanahalfwidth",65387,"ostrokeacute",511,"osuperior",63216,"otcyrillic",1151,"otilde",245,"otildeacute",7757,"otildedieresis",7759,"oubopomofo",12577,"overline",8254,"overlinecenterline",65098,"overlinecmb",773,"overlinedashed",65097,"overlinedblwavy",65100,"overlinewavy",65099,"overscore",175,"ovowelsignbengali",2507,"ovowelsigndeva",2379,"ovowelsigngujarati",2763,"p",112,"paampssquare",13184,"paasentosquare",13099,"pabengali",2474,"pacute",7765,"padeva",2346,"pagedown",8671,"pageup",8670,"pagujarati",2730,"pagurmukhi",2602,"pahiragana",12401,"paiyannoithai",3631,"pakatakana",12497,"palatalizationcyrilliccmb",1156,"palochkacyrillic",1216,"pansioskorean",12671,"paragraph",182,"parallel",8741,"parenleft",40,"parenleftaltonearabic",64830,"parenleftbt",63725,"parenleftex",63724,"parenleftinferior",8333,"parenleftmonospace",65288,"parenleftsmall",65113,"parenleftsuperior",8317,"parenlefttp",63723,"parenleftvertical",65077,"parenright",41,"parenrightaltonearabic",64831,"parenrightbt",63736,"parenrightex",63735,"parenrightinferior",8334,"parenrightmonospace",65289,"parenrightsmall",65114,"parenrightsuperior",8318,"parenrighttp",63734,"parenrightvertical",65078,"partialdiff",8706,"paseqhebrew",1472,"pashtahebrew",1433,"pasquare",13225,"patah",1463,"patah11",1463,"patah1d",1463,"patah2a",1463,"patahhebrew",1463,"patahnarrowhebrew",1463,"patahquarterhebrew",1463,"patahwidehebrew",1463,"pazerhebrew",1441,"pbopomofo",12550,"pcircle",9439,"pdotaccent",7767,"pe",1508,"pecyrillic",1087,"pedagesh",64324,"pedageshhebrew",64324,"peezisquare",13115,"pefinaldageshhebrew",64323,"peharabic",1662,"peharmenian",1402,"pehebrew",1508,"pehfinalarabic",64343,"pehinitialarabic",64344,"pehiragana",12410,"pehmedialarabic",64345,"pekatakana",12506,"pemiddlehookcyrillic",1191,"perafehebrew",64334,"percent",37,"percentarabic",1642,"percentmonospace",65285,"percentsmall",65130,"period",46,"periodarmenian",1417,"periodcentered",183,"periodhalfwidth",65377,"periodinferior",63207,"periodmonospace",65294,"periodsmall",65106,"periodsuperior",63208,"perispomenigreekcmb",834,"perpendicular",8869,"perthousand",8240,"peseta",8359,"pfsquare",13194,"phabengali",2475,"phadeva",2347,"phagujarati",2731,"phagurmukhi",2603,"phi",966,"phi1",981,"phieuphacirclekorean",12922,"phieuphaparenkorean",12826,"phieuphcirclekorean",12908,"phieuphkorean",12621,"phieuphparenkorean",12812,"philatin",632,"phinthuthai",3642,"phisymbolgreek",981,"phook",421,"phophanthai",3614,"phophungthai",3612,"phosamphaothai",3616,"pi",960,"pieupacirclekorean",12915,"pieupaparenkorean",12819,"pieupcieuckorean",12662,"pieupcirclekorean",12901,"pieupkiyeokkorean",12658,"pieupkorean",12610,"pieupparenkorean",12805,"pieupsioskiyeokkorean",12660,"pieupsioskorean",12612,"pieupsiostikeutkorean",12661,"pieupthieuthkorean",12663,"pieuptikeutkorean",12659,"pihiragana",12404,"pikatakana",12500,"pisymbolgreek",982,"piwrarmenian",1411,"plus",43,"plusbelowcmb",799,"pluscircle",8853,"plusminus",177,"plusmod",726,"plusmonospace",65291,"plussmall",65122,"plussuperior",8314,"pmonospace",65360,"pmsquare",13272,"pohiragana",12413,"pointingindexdownwhite",9759,"pointingindexleftwhite",9756,"pointingindexrightwhite",9758,"pointingindexupwhite",9757,"pokatakana",12509,"poplathai",3611,"postalmark",12306,"postalmarkface",12320,"pparen",9387,"precedes",8826,"prescription",8478,"primemod",697,"primereversed",8245,"product",8719,"projective",8965,"prolongedkana",12540,"propellor",8984,"propersubset",8834,"propersuperset",8835,"proportion",8759,"proportional",8733,"psi",968,"psicyrillic",1137,"psilipneumatacyrilliccmb",1158,"pssquare",13232,"puhiragana",12407,"pukatakana",12503,"pvsquare",13236,"pwsquare",13242,"q",113,"qadeva",2392,"qadmahebrew",1448,"qafarabic",1602,"qaffinalarabic",65238,"qafinitialarabic",65239,"qafmedialarabic",65240,"qamats",1464,"qamats10",1464,"qamats1a",1464,"qamats1c",1464,"qamats27",1464,"qamats29",1464,"qamats33",1464,"qamatsde",1464,"qamatshebrew",1464,"qamatsnarrowhebrew",1464,"qamatsqatanhebrew",1464,"qamatsqatannarrowhebrew",1464,"qamatsqatanquarterhebrew",1464,"qamatsqatanwidehebrew",1464,"qamatsquarterhebrew",1464,"qamatswidehebrew",1464,"qarneyparahebrew",1439,"qbopomofo",12561,"qcircle",9440,"qhook",672,"qmonospace",65361,"qof",1511,"qofdagesh",64327,"qofdageshhebrew",64327,"qofhebrew",1511,"qparen",9388,"quarternote",9833,"qubuts",1467,"qubuts18",1467,"qubuts25",1467,"qubuts31",1467,"qubutshebrew",1467,"qubutsnarrowhebrew",1467,"qubutsquarterhebrew",1467,"qubutswidehebrew",1467,"question",63,"questionarabic",1567,"questionarmenian",1374,"questiondown",191,"questiondownsmall",63423,"questiongreek",894,"questionmonospace",65311,"questionsmall",63295,"quotedbl",34,"quotedblbase",8222,"quotedblleft",8220,"quotedblmonospace",65282,"quotedblprime",12318,"quotedblprimereversed",12317,"quotedblright",8221,"quoteleft",8216,"quoteleftreversed",8219,"quotereversed",8219,"quoteright",8217,"quoterightn",329,"quotesinglbase",8218,"quotesingle",39,"quotesinglemonospace",65287,"r",114,"raarmenian",1404,"rabengali",2480,"racute",341,"radeva",2352,"radical",8730,"radicalex",63717,"radoverssquare",13230,"radoverssquaredsquare",13231,"radsquare",13229,"rafe",1471,"rafehebrew",1471,"ragujarati",2736,"ragurmukhi",2608,"rahiragana",12425,"rakatakana",12521,"rakatakanahalfwidth",65431,"ralowerdiagonalbengali",2545,"ramiddlediagonalbengali",2544,"ramshorn",612,"ratio",8758,"rbopomofo",12566,"rcaron",345,"rcedilla",343,"rcircle",9441,"rcommaaccent",343,"rdblgrave",529,"rdotaccent",7769,"rdotbelow",7771,"rdotbelowmacron",7773,"referencemark",8251,"reflexsubset",8838,"reflexsuperset",8839,"registered",174,"registersans",63720,"registerserif",63194,"reharabic",1585,"reharmenian",1408,"rehfinalarabic",65198,"rehiragana",12428,"rekatakana",12524,"rekatakanahalfwidth",65434,"resh",1512,"reshdageshhebrew",64328,"reshhebrew",1512,"reversedtilde",8765,"reviahebrew",1431,"reviamugrashhebrew",1431,"revlogicalnot",8976,"rfishhook",638,"rfishhookreversed",639,"rhabengali",2525,"rhadeva",2397,"rho",961,"rhook",637,"rhookturned",635,"rhookturnedsuperior",693,"rhosymbolgreek",1009,"rhotichookmod",734,"rieulacirclekorean",12913,"rieulaparenkorean",12817,"rieulcirclekorean",12899,"rieulhieuhkorean",12608,"rieulkiyeokkorean",12602,"rieulkiyeoksioskorean",12649,"rieulkorean",12601,"rieulmieumkorean",12603,"rieulpansioskorean",12652,"rieulparenkorean",12803,"rieulphieuphkorean",12607,"rieulpieupkorean",12604,"rieulpieupsioskorean",12651,"rieulsioskorean",12605,"rieulthieuthkorean",12606,"rieultikeutkorean",12650,"rieulyeorinhieuhkorean",12653,"rightangle",8735,"righttackbelowcmb",793,"righttriangle",8895,"rihiragana",12426,"rikatakana",12522,"rikatakanahalfwidth",65432,"ring",730,"ringbelowcmb",805,"ringcmb",778,"ringhalfleft",703,"ringhalfleftarmenian",1369,"ringhalfleftbelowcmb",796,"ringhalfleftcentered",723,"ringhalfright",702,"ringhalfrightbelowcmb",825,"ringhalfrightcentered",722,"rinvertedbreve",531,"rittorusquare",13137,"rlinebelow",7775,"rlongleg",636,"rlonglegturned",634,"rmonospace",65362,"rohiragana",12429,"rokatakana",12525,"rokatakanahalfwidth",65435,"roruathai",3619,"rparen",9389,"rrabengali",2524,"rradeva",2353,"rragurmukhi",2652,"rreharabic",1681,"rrehfinalarabic",64397,"rrvocalicbengali",2528,"rrvocalicdeva",2400,"rrvocalicgujarati",2784,"rrvocalicvowelsignbengali",2500,"rrvocalicvowelsigndeva",2372,"rrvocalicvowelsigngujarati",2756,"rsuperior",63217,"rtblock",9616,"rturned",633,"rturnedsuperior",692,"ruhiragana",12427,"rukatakana",12523,"rukatakanahalfwidth",65433,"rupeemarkbengali",2546,"rupeesignbengali",2547,"rupiah",63197,"ruthai",3620,"rvocalicbengali",2443,"rvocalicdeva",2315,"rvocalicgujarati",2699,"rvocalicvowelsignbengali",2499,"rvocalicvowelsigndeva",2371,"rvocalicvowelsigngujarati",2755,"s",115,"sabengali",2488,"sacute",347,"sacutedotaccent",7781,"sadarabic",1589,"sadeva",2360,"sadfinalarabic",65210,"sadinitialarabic",65211,"sadmedialarabic",65212,"sagujarati",2744,"sagurmukhi",2616,"sahiragana",12373,"sakatakana",12469,"sakatakanahalfwidth",65403,"sallallahoualayhewasallamarabic",65018,"samekh",1505,"samekhdagesh",64321,"samekhdageshhebrew",64321,"samekhhebrew",1505,"saraaathai",3634,"saraaethai",3649,"saraaimaimalaithai",3652,"saraaimaimuanthai",3651,"saraamthai",3635,"saraathai",3632,"saraethai",3648,"saraiileftthai",63622,"saraiithai",3637,"saraileftthai",63621,"saraithai",3636,"saraothai",3650,"saraueeleftthai",63624,"saraueethai",3639,"saraueleftthai",63623,"sarauethai",3638,"sarauthai",3640,"sarauuthai",3641,"sbopomofo",12569,"scaron",353,"scarondotaccent",7783,"scedilla",351,"schwa",601,"schwacyrillic",1241,"schwadieresiscyrillic",1243,"schwahook",602,"scircle",9442,"scircumflex",349,"scommaaccent",537,"sdotaccent",7777,"sdotbelow",7779,"sdotbelowdotaccent",7785,"seagullbelowcmb",828,"second",8243,"secondtonechinese",714,"section",167,"seenarabic",1587,"seenfinalarabic",65202,"seeninitialarabic",65203,"seenmedialarabic",65204,"segol",1462,"segol13",1462,"segol1f",1462,"segol2c",1462,"segolhebrew",1462,"segolnarrowhebrew",1462,"segolquarterhebrew",1462,"segoltahebrew",1426,"segolwidehebrew",1462,"seharmenian",1405,"sehiragana",12379,"sekatakana",12475,"sekatakanahalfwidth",65406,"semicolon",59,"semicolonarabic",1563,"semicolonmonospace",65307,"semicolonsmall",65108,"semivoicedmarkkana",12444,"semivoicedmarkkanahalfwidth",65439,"sentisquare",13090,"sentosquare",13091,"seven",55,"sevenarabic",1639,"sevenbengali",2541,"sevencircle",9318,"sevencircleinversesansserif",10128,"sevendeva",2413,"seveneighths",8542,"sevengujarati",2797,"sevengurmukhi",2669,"sevenhackarabic",1639,"sevenhangzhou",12327,"sevenideographicparen",12838,"seveninferior",8327,"sevenmonospace",65303,"sevenoldstyle",63287,"sevenparen",9338,"sevenperiod",9358,"sevenpersian",1783,"sevenroman",8566,"sevensuperior",8311,"seventeencircle",9328,"seventeenparen",9348,"seventeenperiod",9368,"seventhai",3671,"sfthyphen",173,"shaarmenian",1399,"shabengali",2486,"shacyrillic",1096,"shaddaarabic",1617,"shaddadammaarabic",64609,"shaddadammatanarabic",64606,"shaddafathaarabic",64608,"shaddakasraarabic",64610,"shaddakasratanarabic",64607,"shade",9618,"shadedark",9619,"shadelight",9617,"shademedium",9618,"shadeva",2358,"shagujarati",2742,"shagurmukhi",2614,"shalshelethebrew",1427,"shbopomofo",12565,"shchacyrillic",1097,"sheenarabic",1588,"sheenfinalarabic",65206,"sheeninitialarabic",65207,"sheenmedialarabic",65208,"sheicoptic",995,"sheqel",8362,"sheqelhebrew",8362,"sheva",1456,"sheva115",1456,"sheva15",1456,"sheva22",1456,"sheva2e",1456,"shevahebrew",1456,"shevanarrowhebrew",1456,"shevaquarterhebrew",1456,"shevawidehebrew",1456,"shhacyrillic",1211,"shimacoptic",1005,"shin",1513,"shindagesh",64329,"shindageshhebrew",64329,"shindageshshindot",64300,"shindageshshindothebrew",64300,"shindageshsindot",64301,"shindageshsindothebrew",64301,"shindothebrew",1473,"shinhebrew",1513,"shinshindot",64298,"shinshindothebrew",64298,"shinsindot",64299,"shinsindothebrew",64299,"shook",642,"sigma",963,"sigma1",962,"sigmafinal",962,"sigmalunatesymbolgreek",1010,"sihiragana",12375,"sikatakana",12471,"sikatakanahalfwidth",65404,"siluqhebrew",1469,"siluqlefthebrew",1469,"similar",8764,"sindothebrew",1474,"siosacirclekorean",12916,"siosaparenkorean",12820,"sioscieuckorean",12670,"sioscirclekorean",12902,"sioskiyeokkorean",12666,"sioskorean",12613,"siosnieunkorean",12667,"siosparenkorean",12806,"siospieupkorean",12669,"siostikeutkorean",12668,"six",54,"sixarabic",1638,"sixbengali",2540,"sixcircle",9317,"sixcircleinversesansserif",10127,"sixdeva",2412,"sixgujarati",2796,"sixgurmukhi",2668,"sixhackarabic",1638,"sixhangzhou",12326,"sixideographicparen",12837,"sixinferior",8326,"sixmonospace",65302,"sixoldstyle",63286,"sixparen",9337,"sixperiod",9357,"sixpersian",1782,"sixroman",8565,"sixsuperior",8310,"sixteencircle",9327,"sixteencurrencydenominatorbengali",2553,"sixteenparen",9347,"sixteenperiod",9367,"sixthai",3670,"slash",47,"slashmonospace",65295,"slong",383,"slongdotaccent",7835,"smileface",9786,"smonospace",65363,"sofpasuqhebrew",1475,"softhyphen",173,"softsigncyrillic",1100,"sohiragana",12381,"sokatakana",12477,"sokatakanahalfwidth",65407,"soliduslongoverlaycmb",824,"solidusshortoverlaycmb",823,"sorusithai",3625,"sosalathai",3624,"sosothai",3595,"sosuathai",3626,"space",32,"spacehackarabic",32,"spade",9824,"spadesuitblack",9824,"spadesuitwhite",9828,"sparen",9390,"squarebelowcmb",827,"squarecc",13252,"squarecm",13213,"squarediagonalcrosshatchfill",9641,"squarehorizontalfill",9636,"squarekg",13199,"squarekm",13214,"squarekmcapital",13262,"squareln",13265,"squarelog",13266,"squaremg",13198,"squaremil",13269,"squaremm",13212,"squaremsquared",13217,"squareorthogonalcrosshatchfill",9638,"squareupperlefttolowerrightfill",9639,"squareupperrighttolowerleftfill",9640,"squareverticalfill",9637,"squarewhitewithsmallblack",9635,"srsquare",13275,"ssabengali",2487,"ssadeva",2359,"ssagujarati",2743,"ssangcieuckorean",12617,"ssanghieuhkorean",12677,"ssangieungkorean",12672,"ssangkiyeokkorean",12594,"ssangnieunkorean",12645,"ssangpieupkorean",12611,"ssangsioskorean",12614,"ssangtikeutkorean",12600,"ssuperior",63218,"sterling",163,"sterlingmonospace",65505,"strokelongoverlaycmb",822,"strokeshortoverlaycmb",821,"subset",8834,"subsetnotequal",8842,"subsetorequal",8838,"succeeds",8827,"suchthat",8715,"suhiragana",12377,"sukatakana",12473,"sukatakanahalfwidth",65405,"sukunarabic",1618,"summation",8721,"sun",9788,"superset",8835,"supersetnotequal",8843,"supersetorequal",8839,"svsquare",13276,"syouwaerasquare",13180,"t",116,"tabengali",2468,"tackdown",8868,"tackleft",8867,"tadeva",2340,"tagujarati",2724,"tagurmukhi",2596,"taharabic",1591,"tahfinalarabic",65218,"tahinitialarabic",65219,"tahiragana",12383,"tahmedialarabic",65220,"taisyouerasquare",13181,"takatakana",12479,"takatakanahalfwidth",65408,"tatweelarabic",1600,"tau",964,"tav",1514,"tavdages",64330,"tavdagesh",64330,"tavdageshhebrew",64330,"tavhebrew",1514,"tbar",359,"tbopomofo",12554,"tcaron",357,"tccurl",680,"tcedilla",355,"tcheharabic",1670,"tchehfinalarabic",64379,"tchehinitialarabic",64380,"tchehmedialarabic",64381,"tcircle",9443,"tcircumflexbelow",7793,"tcommaaccent",355,"tdieresis",7831,"tdotaccent",7787,"tdotbelow",7789,"tecyrillic",1090,"tedescendercyrillic",1197,"teharabic",1578,"tehfinalarabic",65174,"tehhahinitialarabic",64674,"tehhahisolatedarabic",64524,"tehinitialarabic",65175,"tehiragana",12390,"tehjeeminitialarabic",64673,"tehjeemisolatedarabic",64523,"tehmarbutaarabic",1577,"tehmarbutafinalarabic",65172,"tehmedialarabic",65176,"tehmeeminitialarabic",64676,"tehmeemisolatedarabic",64526,"tehnoonfinalarabic",64627,"tekatakana",12486,"tekatakanahalfwidth",65411,"telephone",8481,"telephoneblack",9742,"telishagedolahebrew",1440,"telishaqetanahebrew",1449,"tencircle",9321,"tenideographicparen",12841,"tenparen",9341,"tenperiod",9361,"tenroman",8569,"tesh",679,"tet",1496,"tetdagesh",64312,"tetdageshhebrew",64312,"tethebrew",1496,"tetsecyrillic",1205,"tevirhebrew",1435,"tevirlefthebrew",1435,"thabengali",2469,"thadeva",2341,"thagujarati",2725,"thagurmukhi",2597,"thalarabic",1584,"thalfinalarabic",65196,"thanthakhatlowleftthai",63640,"thanthakhatlowrightthai",63639,"thanthakhatthai",3660,"thanthakhatupperleftthai",63638,"theharabic",1579,"thehfinalarabic",65178,"thehinitialarabic",65179,"thehmedialarabic",65180,"thereexists",8707,"therefore",8756,"theta",952,"theta1",977,"thetasymbolgreek",977,"thieuthacirclekorean",12921,"thieuthaparenkorean",12825,"thieuthcirclekorean",12907,"thieuthkorean",12620,"thieuthparenkorean",12811,"thirteencircle",9324,"thirteenparen",9344,"thirteenperiod",9364,"thonangmonthothai",3601,"thook",429,"thophuthaothai",3602,"thorn",254,"thothahanthai",3607,"thothanthai",3600,"thothongthai",3608,"thothungthai",3606,"thousandcyrillic",1154,"thousandsseparatorarabic",1644,"thousandsseparatorpersian",1644,"three",51,"threearabic",1635,"threebengali",2537,"threecircle",9314,"threecircleinversesansserif",10124,"threedeva",2409,"threeeighths",8540,"threegujarati",2793,"threegurmukhi",2665,"threehackarabic",1635,"threehangzhou",12323,"threeideographicparen",12834,"threeinferior",8323,"threemonospace",65299,"threenumeratorbengali",2550,"threeoldstyle",63283,"threeparen",9334,"threeperiod",9354,"threepersian",1779,"threequarters",190,"threequartersemdash",63198,"threeroman",8562,"threesuperior",179,"threethai",3667,"thzsquare",13204,"tihiragana",12385,"tikatakana",12481,"tikatakanahalfwidth",65409,"tikeutacirclekorean",12912,"tikeutaparenkorean",12816,"tikeutcirclekorean",12898,"tikeutkorean",12599,"tikeutparenkorean",12802,"tilde",732,"tildebelowcmb",816,"tildecmb",771,"tildecomb",771,"tildedoublecmb",864,"tildeoperator",8764,"tildeoverlaycmb",820,"tildeverticalcmb",830,"timescircle",8855,"tipehahebrew",1430,"tipehalefthebrew",1430,"tippigurmukhi",2672,"titlocyrilliccmb",1155,"tiwnarmenian",1407,"tlinebelow",7791,"tmonospace",65364,"toarmenian",1385,"tohiragana",12392,"tokatakana",12488,"tokatakanahalfwidth",65412,"tonebarextrahighmod",741,"tonebarextralowmod",745,"tonebarhighmod",742,"tonebarlowmod",744,"tonebarmidmod",743,"tonefive",445,"tonesix",389,"tonetwo",424,"tonos",900,"tonsquare",13095,"topatakthai",3599,"tortoiseshellbracketleft",12308,"tortoiseshellbracketleftsmall",65117,"tortoiseshellbracketleftvertical",65081,"tortoiseshellbracketright",12309,"tortoiseshellbracketrightsmall",65118,"tortoiseshellbracketrightvertical",65082,"totaothai",3605,"tpalatalhook",427,"tparen",9391,"trademark",8482,"trademarksans",63722,"trademarkserif",63195,"tretroflexhook",648,"triagdn",9660,"triaglf",9668,"triagrt",9658,"triagup",9650,"ts",678,"tsadi",1510,"tsadidagesh",64326,"tsadidageshhebrew",64326,"tsadihebrew",1510,"tsecyrillic",1094,"tsere",1461,"tsere12",1461,"tsere1e",1461,"tsere2b",1461,"tserehebrew",1461,"tserenarrowhebrew",1461,"tserequarterhebrew",1461,"tserewidehebrew",1461,"tshecyrillic",1115,"tsuperior",63219,"ttabengali",2463,"ttadeva",2335,"ttagujarati",2719,"ttagurmukhi",2591,"tteharabic",1657,"ttehfinalarabic",64359,"ttehinitialarabic",64360,"ttehmedialarabic",64361,"tthabengali",2464,"tthadeva",2336,"tthagujarati",2720,"tthagurmukhi",2592,"tturned",647,"tuhiragana",12388,"tukatakana",12484,"tukatakanahalfwidth",65410,"tusmallhiragana",12387,"tusmallkatakana",12483,"tusmallkatakanahalfwidth",65391,"twelvecircle",9323,"twelveparen",9343,"twelveperiod",9363,"twelveroman",8571,"twentycircle",9331,"twentyhangzhou",21316,"twentyparen",9351,"twentyperiod",9371,"two",50,"twoarabic",1634,"twobengali",2536,"twocircle",9313,"twocircleinversesansserif",10123,"twodeva",2408,"twodotenleader",8229,"twodotleader",8229,"twodotleadervertical",65072,"twogujarati",2792,"twogurmukhi",2664,"twohackarabic",1634,"twohangzhou",12322,"twoideographicparen",12833,"twoinferior",8322,"twomonospace",65298,"twonumeratorbengali",2549,"twooldstyle",63282,"twoparen",9333,"twoperiod",9353,"twopersian",1778,"tworoman",8561,"twostroke",443,"twosuperior",178,"twothai",3666,"twothirds",8532,"u",117,"uacute",250,"ubar",649,"ubengali",2441,"ubopomofo",12584,"ubreve",365,"ucaron",468,"ucircle",9444,"ucircumflex",251,"ucircumflexbelow",7799,"ucyrillic",1091,"udattadeva",2385,"udblacute",369,"udblgrave",533,"udeva",2313,"udieresis",252,"udieresisacute",472,"udieresisbelow",7795,"udieresiscaron",474,"udieresiscyrillic",1265,"udieresisgrave",476,"udieresismacron",470,"udotbelow",7909,"ugrave",249,"ugujarati",2697,"ugurmukhi",2569,"uhiragana",12358,"uhookabove",7911,"uhorn",432,"uhornacute",7913,"uhorndotbelow",7921,"uhorngrave",7915,"uhornhookabove",7917,"uhorntilde",7919,"uhungarumlaut",369,"uhungarumlautcyrillic",1267,"uinvertedbreve",535,"ukatakana",12454,"ukatakanahalfwidth",65395,"ukcyrillic",1145,"ukorean",12636,"umacron",363,"umacroncyrillic",1263,"umacrondieresis",7803,"umatragurmukhi",2625,"umonospace",65365,"underscore",95,"underscoredbl",8215,"underscoremonospace",65343,"underscorevertical",65075,"underscorewavy",65103,"union",8746,"universal",8704,"uogonek",371,"uparen",9392,"upblock",9600,"upperdothebrew",1476,"upsilon",965,"upsilondieresis",971,"upsilondieresistonos",944,"upsilonlatin",650,"upsilontonos",973,"uptackbelowcmb",797,"uptackmod",724,"uragurmukhi",2675,"uring",367,"ushortcyrillic",1118,"usmallhiragana",12357,"usmallkatakana",12453,"usmallkatakanahalfwidth",65385,"ustraightcyrillic",1199,"ustraightstrokecyrillic",1201,"utilde",361,"utildeacute",7801,"utildebelow",7797,"uubengali",2442,"uudeva",2314,"uugujarati",2698,"uugurmukhi",2570,"uumatragurmukhi",2626,"uuvowelsignbengali",2498,"uuvowelsigndeva",2370,"uuvowelsigngujarati",2754,"uvowelsignbengali",2497,"uvowelsigndeva",2369,"uvowelsigngujarati",2753,"v",118,"vadeva",2357,"vagujarati",2741,"vagurmukhi",2613,"vakatakana",12535,"vav",1493,"vavdagesh",64309,"vavdagesh65",64309,"vavdageshhebrew",64309,"vavhebrew",1493,"vavholam",64331,"vavholamhebrew",64331,"vavvavhebrew",1520,"vavyodhebrew",1521,"vcircle",9445,"vdotbelow",7807,"vecyrillic",1074,"veharabic",1700,"vehfinalarabic",64363,"vehinitialarabic",64364,"vehmedialarabic",64365,"vekatakana",12537,"venus",9792,"verticalbar",124,"verticallineabovecmb",781,"verticallinebelowcmb",809,"verticallinelowmod",716,"verticallinemod",712,"vewarmenian",1406,"vhook",651,"vikatakana",12536,"viramabengali",2509,"viramadeva",2381,"viramagujarati",2765,"visargabengali",2435,"visargadeva",2307,"visargagujarati",2691,"vmonospace",65366,"voarmenian",1400,"voicediterationhiragana",12446,"voicediterationkatakana",12542,"voicedmarkkana",12443,"voicedmarkkanahalfwidth",65438,"vokatakana",12538,"vparen",9393,"vtilde",7805,"vturned",652,"vuhiragana",12436,"vukatakana",12532,"w",119,"wacute",7811,"waekorean",12633,"wahiragana",12431,"wakatakana",12527,"wakatakanahalfwidth",65436,"wakorean",12632,"wasmallhiragana",12430,"wasmallkatakana",12526,"wattosquare",13143,"wavedash",12316,"wavyunderscorevertical",65076,"wawarabic",1608,"wawfinalarabic",65262,"wawhamzaabovearabic",1572,"wawhamzaabovefinalarabic",65158,"wbsquare",13277,"wcircle",9446,"wcircumflex",373,"wdieresis",7813,"wdotaccent",7815,"wdotbelow",7817,"wehiragana",12433,"weierstrass",8472,"wekatakana",12529,"wekorean",12638,"weokorean",12637,"wgrave",7809,"whitebullet",9702,"whitecircle",9675,"whitecircleinverse",9689,"whitecornerbracketleft",12302,"whitecornerbracketleftvertical",65091,"whitecornerbracketright",12303,"whitecornerbracketrightvertical",65092,"whitediamond",9671,"whitediamondcontainingblacksmalldiamond",9672,"whitedownpointingsmalltriangle",9663,"whitedownpointingtriangle",9661,"whiteleftpointingsmalltriangle",9667,"whiteleftpointingtriangle",9665,"whitelenticularbracketleft",12310,"whitelenticularbracketright",12311,"whiterightpointingsmalltriangle",9657,"whiterightpointingtriangle",9655,"whitesmallsquare",9643,"whitesmilingface",9786,"whitesquare",9633,"whitestar",9734,"whitetelephone",9743,"whitetortoiseshellbracketleft",12312,"whitetortoiseshellbracketright",12313,"whiteuppointingsmalltriangle",9653,"whiteuppointingtriangle",9651,"wihiragana",12432,"wikatakana",12528,"wikorean",12639,"wmonospace",65367,"wohiragana",12434,"wokatakana",12530,"wokatakanahalfwidth",65382,"won",8361,"wonmonospace",65510,"wowaenthai",3623,"wparen",9394,"wring",7832,"wsuperior",695,"wturned",653,"wynn",447,"x",120,"xabovecmb",829,"xbopomofo",12562,"xcircle",9447,"xdieresis",7821,"xdotaccent",7819,"xeharmenian",1389,"xi",958,"xmonospace",65368,"xparen",9395,"xsuperior",739,"y",121,"yaadosquare",13134,"yabengali",2479,"yacute",253,"yadeva",2351,"yaekorean",12626,"yagujarati",2735,"yagurmukhi",2607,"yahiragana",12420,"yakatakana",12516,"yakatakanahalfwidth",65428,"yakorean",12625,"yamakkanthai",3662,"yasmallhiragana",12419,"yasmallkatakana",12515,"yasmallkatakanahalfwidth",65388,"yatcyrillic",1123,"ycircle",9448,"ycircumflex",375,"ydieresis",255,"ydotaccent",7823,"ydotbelow",7925,"yeharabic",1610,"yehbarreearabic",1746,"yehbarreefinalarabic",64431,"yehfinalarabic",65266,"yehhamzaabovearabic",1574,"yehhamzaabovefinalarabic",65162,"yehhamzaaboveinitialarabic",65163,"yehhamzaabovemedialarabic",65164,"yehinitialarabic",65267,"yehmedialarabic",65268,"yehmeeminitialarabic",64733,"yehmeemisolatedarabic",64600,"yehnoonfinalarabic",64660,"yehthreedotsbelowarabic",1745,"yekorean",12630,"yen",165,"yenmonospace",65509,"yeokorean",12629,"yeorinhieuhkorean",12678,"yerahbenyomohebrew",1450,"yerahbenyomolefthebrew",1450,"yericyrillic",1099,"yerudieresiscyrillic",1273,"yesieungkorean",12673,"yesieungpansioskorean",12675,"yesieungsioskorean",12674,"yetivhebrew",1434,"ygrave",7923,"yhook",436,"yhookabove",7927,"yiarmenian",1397,"yicyrillic",1111,"yikorean",12642,"yinyang",9775,"yiwnarmenian",1410,"ymonospace",65369,"yod",1497,"yoddagesh",64313,"yoddageshhebrew",64313,"yodhebrew",1497,"yodyodhebrew",1522,"yodyodpatahhebrew",64287,"yohiragana",12424,"yoikorean",12681,"yokatakana",12520,"yokatakanahalfwidth",65430,"yokorean",12635,"yosmallhiragana",12423,"yosmallkatakana",12519,"yosmallkatakanahalfwidth",65390,"yotgreek",1011,"yoyaekorean",12680,"yoyakorean",12679,"yoyakthai",3618,"yoyingthai",3597,"yparen",9396,"ypogegrammeni",890,"ypogegrammenigreekcmb",837,"yr",422,"yring",7833,"ysuperior",696,"ytilde",7929,"yturned",654,"yuhiragana",12422,"yuikorean",12684,"yukatakana",12518,"yukatakanahalfwidth",65429,"yukorean",12640,"yusbigcyrillic",1131,"yusbigiotifiedcyrillic",1133,"yuslittlecyrillic",1127,"yuslittleiotifiedcyrillic",1129,"yusmallhiragana",12421,"yusmallkatakana",12517,"yusmallkatakanahalfwidth",65389,"yuyekorean",12683,"yuyeokorean",12682,"yyabengali",2527,"yyadeva",2399,"z",122,"zaarmenian",1382,"zacute",378,"zadeva",2395,"zagurmukhi",2651,"zaharabic",1592,"zahfinalarabic",65222,"zahinitialarabic",65223,"zahiragana",12374,"zahmedialarabic",65224,"zainarabic",1586,"zainfinalarabic",65200,"zakatakana",12470,"zaqefgadolhebrew",1429,"zaqefqatanhebrew",1428,"zarqahebrew",1432,"zayin",1494,"zayindagesh",64310,"zayindageshhebrew",64310,"zayinhebrew",1494,"zbopomofo",12567,"zcaron",382,"zcircle",9449,"zcircumflex",7825,"zcurl",657,"zdot",380,"zdotaccent",380,"zdotbelow",7827,"zecyrillic",1079,"zedescendercyrillic",1177,"zedieresiscyrillic",1247,"zehiragana",12380,"zekatakana",12476,"zero",48,"zeroarabic",1632,"zerobengali",2534,"zerodeva",2406,"zerogujarati",2790,"zerogurmukhi",2662,"zerohackarabic",1632,"zeroinferior",8320,"zeromonospace",65296,"zerooldstyle",63280,"zeropersian",1776,"zerosuperior",8304,"zerothai",3664,"zerowidthjoiner",65279,"zerowidthnonjoiner",8204,"zerowidthspace",8203,"zeta",950,"zhbopomofo",12563,"zhearmenian",1386,"zhebrevecyrillic",1218,"zhecyrillic",1078,"zhedescendercyrillic",1175,"zhedieresiscyrillic",1245,"zihiragana",12376,"zikatakana",12472,"zinorhebrew",1454,"zlinebelow",7829,"zmonospace",65370,"zohiragana",12382,"zokatakana",12478,"zparen",9397,"zretroflexhook",656,"zstroke",438,"zuhiragana",12378,"zukatakana",12474,".notdef",0,"angbracketleftbig",9001,"angbracketleftBig",9001,"angbracketleftbigg",9001,"angbracketleftBigg",9001,"angbracketrightBig",9002,"angbracketrightbig",9002,"angbracketrightBigg",9002,"angbracketrightbigg",9002,"arrowhookleft",8618,"arrowhookright",8617,"arrowlefttophalf",8636,"arrowleftbothalf",8637,"arrownortheast",8599,"arrownorthwest",8598,"arrowrighttophalf",8640,"arrowrightbothalf",8641,"arrowsoutheast",8600,"arrowsouthwest",8601,"backslashbig",8726,"backslashBig",8726,"backslashBigg",8726,"backslashbigg",8726,"bardbl",8214,"bracehtipdownleft",65079,"bracehtipdownright",65079,"bracehtipupleft",65080,"bracehtipupright",65080,"braceleftBig",123,"braceleftbig",123,"braceleftbigg",123,"braceleftBigg",123,"bracerightBig",125,"bracerightbig",125,"bracerightbigg",125,"bracerightBigg",125,"bracketleftbig",91,"bracketleftBig",91,"bracketleftbigg",91,"bracketleftBigg",91,"bracketrightBig",93,"bracketrightbig",93,"bracketrightbigg",93,"bracketrightBigg",93,"ceilingleftbig",8968,"ceilingleftBig",8968,"ceilingleftBigg",8968,"ceilingleftbigg",8968,"ceilingrightbig",8969,"ceilingrightBig",8969,"ceilingrightbigg",8969,"ceilingrightBigg",8969,"circledotdisplay",8857,"circledottext",8857,"circlemultiplydisplay",8855,"circlemultiplytext",8855,"circleplusdisplay",8853,"circleplustext",8853,"contintegraldisplay",8750,"contintegraltext",8750,"coproductdisplay",8720,"coproducttext",8720,"floorleftBig",8970,"floorleftbig",8970,"floorleftbigg",8970,"floorleftBigg",8970,"floorrightbig",8971,"floorrightBig",8971,"floorrightBigg",8971,"floorrightbigg",8971,"hatwide",770,"hatwider",770,"hatwidest",770,"intercal",7488,"integraldisplay",8747,"integraltext",8747,"intersectiondisplay",8898,"intersectiontext",8898,"logicalanddisplay",8743,"logicalandtext",8743,"logicalordisplay",8744,"logicalortext",8744,"parenleftBig",40,"parenleftbig",40,"parenleftBigg",40,"parenleftbigg",40,"parenrightBig",41,"parenrightbig",41,"parenrightBigg",41,"parenrightbigg",41,"prime",8242,"productdisplay",8719,"producttext",8719,"radicalbig",8730,"radicalBig",8730,"radicalBigg",8730,"radicalbigg",8730,"radicalbt",8730,"radicaltp",8730,"radicalvertex",8730,"slashbig",47,"slashBig",47,"slashBigg",47,"slashbigg",47,"summationdisplay",8721,"summationtext",8721,"tildewide",732,"tildewider",732,"tildewidest",732,"uniondisplay",8899,"unionmultidisplay",8846,"unionmultitext",8846,"unionsqdisplay",8852,"unionsqtext",8852,"uniontext",8899,"vextenddouble",8741,"vextendsingle",8739]}),K=(0,R.getArrayLookupTableFactory)(function(){return["space",32,"a1",9985,"a2",9986,"a202",9987,"a3",9988,"a4",9742,"a5",9990,"a119",9991,"a118",9992,"a117",9993,"a11",9755,"a12",9758,"a13",9996,"a14",9997,"a15",9998,"a16",9999,"a105",1e4,"a17",10001,"a18",10002,"a19",10003,"a20",10004,"a21",10005,"a22",10006,"a23",10007,"a24",10008,"a25",10009,"a26",10010,"a27",10011,"a28",10012,"a6",10013,"a7",10014,"a8",10015,"a9",10016,"a10",10017,"a29",10018,"a30",10019,"a31",10020,"a32",10021,"a33",10022,"a34",10023,"a35",9733,"a36",10025,"a37",10026,"a38",10027,"a39",10028,"a40",10029,"a41",10030,"a42",10031,"a43",10032,"a44",10033,"a45",10034,"a46",10035,"a47",10036,"a48",10037,"a49",10038,"a50",10039,"a51",10040,"a52",10041,"a53",10042,"a54",10043,"a55",10044,"a56",10045,"a57",10046,"a58",10047,"a59",10048,"a60",10049,"a61",10050,"a62",10051,"a63",10052,"a64",10053,"a65",10054,"a66",10055,"a67",10056,"a68",10057,"a69",10058,"a70",10059,"a71",9679,"a72",10061,"a73",9632,"a74",10063,"a203",10064,"a75",10065,"a204",10066,"a76",9650,"a77",9660,"a78",9670,"a79",10070,"a81",9687,"a82",10072,"a83",10073,"a84",10074,"a97",10075,"a98",10076,"a99",10077,"a100",10078,"a101",10081,"a102",10082,"a103",10083,"a104",10084,"a106",10085,"a107",10086,"a108",10087,"a112",9827,"a111",9830,"a110",9829,"a109",9824,"a120",9312,"a121",9313,"a122",9314,"a123",9315,"a124",9316,"a125",9317,"a126",9318,"a127",9319,"a128",9320,"a129",9321,"a130",10102,"a131",10103,"a132",10104,"a133",10105,"a134",10106,"a135",10107,"a136",10108,"a137",10109,"a138",10110,"a139",10111,"a140",10112,"a141",10113,"a142",10114,"a143",10115,"a144",10116,"a145",10117,"a146",10118,"a147",10119,"a148",10120,"a149",10121,"a150",10122,"a151",10123,"a152",10124,"a153",10125,"a154",10126,"a155",10127,"a156",10128,"a157",10129,"a158",10130,"a159",10131,"a160",10132,"a161",8594,"a163",8596,"a164",8597,"a196",10136,"a165",10137,"a192",10138,"a166",10139,"a167",10140,"a168",10141,"a169",10142,"a170",10143,"a171",10144,"a172",10145,"a173",10146,"a162",10147,"a174",10148,"a175",10149,"a176",10150,"a177",10151,"a178",10152,"a179",10153,"a193",10154,"a180",10155,"a199",10156,"a181",10157,"a200",10158,"a182",10159,"a201",10161,"a183",10162,"a184",10163,"a197",10164,"a185",10165,"a194",10166,"a198",10167,"a186",10168,"a195",10169,"a187",10170,"a188",10171,"a189",10172,"a190",10173,"a191",10174,"a89",10088,"a90",10089,"a93",10090,"a94",10091,"a91",10092,"a92",10093,"a205",10094,"a85",10095,"a206",10096,"a86",10097,"a87",10098,"a88",10099,"a95",10100,"a96",10101,".notdef",0]})},($,D,B)=>{B.r(D),B.d(D,{clearUnicodeCaches:()=>Q,getCharUnicodeCategory:()=>L,getNormalizedUnicodes:()=>he,getUnicodeForGlyph:()=>z,getUnicodeRangeFor:()=>ae,mapSpecialUnicodeValues:()=>K,reverseIfRtl:()=>J});var R=B(131);const U=(0,R.getLookupTableFactory)(function(ce){ce[63721]=169,ce[63193]=169,ce[63720]=174,ce[63194]=174,ce[63722]=8482,ce[63195]=8482,ce[63729]=9127,ce[63730]=9128,ce[63731]=9129,ce[63740]=9131,ce[63741]=9132,ce[63742]=9133,ce[63726]=9121,ce[63727]=9122,ce[63728]=9123,ce[63737]=9124,ce[63738]=9125,ce[63739]=9126,ce[63723]=9115,ce[63724]=9116,ce[63725]=9117,ce[63734]=9118,ce[63735]=9119,ce[63736]=9120});function K(ce){return ce>=65520&&ce<=65535?0:ce>=62976&&ce<=63743?U()[ce]||ce:ce===173?45:ce}function z(ce,de){let se=de[ce];if(se!==void 0)return se;if(!ce)return-1;if(ce[0]==="u"){const oe=ce.length;let me;if(oe===7&&ce[1]==="n"&&ce[2]==="i")me=ce.substring(3);else if(oe>=5&&oe<=7)me=ce.substring(1);else return-1;if(me===me.toUpperCase()&&(se=parseInt(me,16),se>=0))return se}return-1}const e=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];function ae(ce){for(let de=0,se=e.length;de=oe.begin&&ce=de.begin&&ce=de.begin&&ce=0;oe--)se.push(ce[oe]);return se.join("")}const W=new RegExp("^(\\s)|(\\p{Mn})|(\\p{Cf})$","u"),X=new Map;function L(ce){const de=X.get(ce);if(de)return de;const se=ce.match(W),oe={isWhitespace:!!(se&&se[1]),isZeroWidthDiacritic:!!(se&&se[2]),isInvisibleFormatMark:!!(se&&se[3])};return X.set(ce,oe),oe}function Q(){X.clear()}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.getSerifFonts=D.getNonStdFontMap=D.getGlyphMapForStandardFonts=D.getFontNameToFileMap=void 0,D.getStandardFontName=X,D.getSymbolsFonts=D.getSupplementalGlyphMapForCalibri=D.getSupplementalGlyphMapForArialBlack=D.getStdFontMap=void 0;var R=B(131),U=B(163);const K=(0,R.getLookupTableFactory)(function(L){L["Times-Roman"]="Times-Roman",L.Helvetica="Helvetica",L.Courier="Courier",L.Symbol="Symbol",L["Times-Bold"]="Times-Bold",L["Helvetica-Bold"]="Helvetica-Bold",L["Courier-Bold"]="Courier-Bold",L.ZapfDingbats="ZapfDingbats",L["Times-Italic"]="Times-Italic",L["Helvetica-Oblique"]="Helvetica-Oblique",L["Courier-Oblique"]="Courier-Oblique",L["Times-BoldItalic"]="Times-BoldItalic",L["Helvetica-BoldOblique"]="Helvetica-BoldOblique",L["Courier-BoldOblique"]="Courier-BoldOblique",L.ArialNarrow="Helvetica",L["ArialNarrow-Bold"]="Helvetica-Bold",L["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique",L["ArialNarrow-Italic"]="Helvetica-Oblique",L.ArialBlack="Helvetica",L["ArialBlack-Bold"]="Helvetica-Bold",L["ArialBlack-BoldItalic"]="Helvetica-BoldOblique",L["ArialBlack-Italic"]="Helvetica-Oblique",L["Arial-Black"]="Helvetica",L["Arial-Black-Bold"]="Helvetica-Bold",L["Arial-Black-BoldItalic"]="Helvetica-BoldOblique",L["Arial-Black-Italic"]="Helvetica-Oblique",L.Arial="Helvetica",L["Arial-Bold"]="Helvetica-Bold",L["Arial-BoldItalic"]="Helvetica-BoldOblique",L["Arial-Italic"]="Helvetica-Oblique",L.ArialMT="Helvetica",L["Arial-BoldItalicMT"]="Helvetica-BoldOblique",L["Arial-BoldMT"]="Helvetica-Bold",L["Arial-ItalicMT"]="Helvetica-Oblique",L.ArialUnicodeMS="Helvetica",L["ArialUnicodeMS-Bold"]="Helvetica-Bold",L["ArialUnicodeMS-BoldItalic"]="Helvetica-BoldOblique",L["ArialUnicodeMS-Italic"]="Helvetica-Oblique",L["Courier-BoldItalic"]="Courier-BoldOblique",L["Courier-Italic"]="Courier-Oblique",L.CourierNew="Courier",L["CourierNew-Bold"]="Courier-Bold",L["CourierNew-BoldItalic"]="Courier-BoldOblique",L["CourierNew-Italic"]="Courier-Oblique",L["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique",L["CourierNewPS-BoldMT"]="Courier-Bold",L["CourierNewPS-ItalicMT"]="Courier-Oblique",L.CourierNewPSMT="Courier",L["Helvetica-BoldItalic"]="Helvetica-BoldOblique",L["Helvetica-Italic"]="Helvetica-Oblique",L["Symbol-Bold"]="Symbol",L["Symbol-BoldItalic"]="Symbol",L["Symbol-Italic"]="Symbol",L.TimesNewRoman="Times-Roman",L["TimesNewRoman-Bold"]="Times-Bold",L["TimesNewRoman-BoldItalic"]="Times-BoldItalic",L["TimesNewRoman-Italic"]="Times-Italic",L.TimesNewRomanPS="Times-Roman",L["TimesNewRomanPS-Bold"]="Times-Bold",L["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic",L["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic",L["TimesNewRomanPS-BoldMT"]="Times-Bold",L["TimesNewRomanPS-Italic"]="Times-Italic",L["TimesNewRomanPS-ItalicMT"]="Times-Italic",L.TimesNewRomanPSMT="Times-Roman",L["TimesNewRomanPSMT-Bold"]="Times-Bold",L["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic",L["TimesNewRomanPSMT-Italic"]="Times-Italic"});D.getStdFontMap=K;const z=(0,R.getLookupTableFactory)(function(L){L.Courier="FoxitFixed.pfb",L["Courier-Bold"]="FoxitFixedBold.pfb",L["Courier-BoldOblique"]="FoxitFixedBoldItalic.pfb",L["Courier-Oblique"]="FoxitFixedItalic.pfb",L.Helvetica="FoxitSans.pfb",L["Helvetica-Bold"]="FoxitSansBold.pfb",L["Helvetica-BoldOblique"]="FoxitSansBoldItalic.pfb",L["Helvetica-Oblique"]="FoxitSansItalic.pfb",L["Times-Roman"]="FoxitSerif.pfb",L["Times-Bold"]="FoxitSerifBold.pfb",L["Times-BoldItalic"]="FoxitSerifBoldItalic.pfb",L["Times-Italic"]="FoxitSerifItalic.pfb",L.Symbol="FoxitSymbol.pfb",L.ZapfDingbats="FoxitDingbats.pfb",L["LiberationSans-Regular"]="LiberationSans-Regular.ttf",L["LiberationSans-Bold"]="LiberationSans-Bold.ttf",L["LiberationSans-Italic"]="LiberationSans-Italic.ttf",L["LiberationSans-BoldItalic"]="LiberationSans-BoldItalic.ttf"});D.getFontNameToFileMap=z;const e=(0,R.getLookupTableFactory)(function(L){L.Calibri="Helvetica",L["Calibri-Bold"]="Helvetica-Bold",L["Calibri-BoldItalic"]="Helvetica-BoldOblique",L["Calibri-Italic"]="Helvetica-Oblique",L.CenturyGothic="Helvetica",L["CenturyGothic-Bold"]="Helvetica-Bold",L["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique",L["CenturyGothic-Italic"]="Helvetica-Oblique",L.ComicSansMS="Comic Sans MS",L["ComicSansMS-Bold"]="Comic Sans MS-Bold",L["ComicSansMS-BoldItalic"]="Comic Sans MS-BoldItalic",L["ComicSansMS-Italic"]="Comic Sans MS-Italic",L["ItcSymbol-Bold"]="Helvetica-Bold",L["ItcSymbol-BoldItalic"]="Helvetica-BoldOblique",L["ItcSymbol-Book"]="Helvetica",L["ItcSymbol-BookItalic"]="Helvetica-Oblique",L["ItcSymbol-Medium"]="Helvetica",L["ItcSymbol-MediumItalic"]="Helvetica-Oblique",L.LucidaConsole="Courier",L["LucidaConsole-Bold"]="Courier-Bold",L["LucidaConsole-BoldItalic"]="Courier-BoldOblique",L["LucidaConsole-Italic"]="Courier-Oblique",L["LucidaSans-Demi"]="Helvetica-Bold",L["MS-Gothic"]="MS Gothic",L["MS-Gothic-Bold"]="MS Gothic-Bold",L["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic",L["MS-Gothic-Italic"]="MS Gothic-Italic",L["MS-Mincho"]="MS Mincho",L["MS-Mincho-Bold"]="MS Mincho-Bold",L["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic",L["MS-Mincho-Italic"]="MS Mincho-Italic",L["MS-PGothic"]="MS PGothic",L["MS-PGothic-Bold"]="MS PGothic-Bold",L["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic",L["MS-PGothic-Italic"]="MS PGothic-Italic",L["MS-PMincho"]="MS PMincho",L["MS-PMincho-Bold"]="MS PMincho-Bold",L["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic",L["MS-PMincho-Italic"]="MS PMincho-Italic",L.NuptialScript="Times-Italic",L.SegoeUISymbol="Helvetica",L.Wingdings="ZapfDingbats",L["Wingdings-Regular"]="ZapfDingbats"});D.getNonStdFontMap=e;const ae=(0,R.getLookupTableFactory)(function(L){L["Adobe Jenson"]=!0,L["Adobe Text"]=!0,L.Albertus=!0,L.Aldus=!0,L.Alexandria=!0,L.Algerian=!0,L["American Typewriter"]=!0,L.Antiqua=!0,L.Apex=!0,L.Arno=!0,L.Aster=!0,L.Aurora=!0,L.Baskerville=!0,L.Bell=!0,L.Bembo=!0,L["Bembo Schoolbook"]=!0,L.Benguiat=!0,L["Berkeley Old Style"]=!0,L["Bernhard Modern"]=!0,L["Berthold City"]=!0,L.Bodoni=!0,L["Bauer Bodoni"]=!0,L["Book Antiqua"]=!0,L.Bookman=!0,L["Bordeaux Roman"]=!0,L["Californian FB"]=!0,L.Calisto=!0,L.Calvert=!0,L.Capitals=!0,L.Cambria=!0,L.Cartier=!0,L.Caslon=!0,L.Catull=!0,L.Centaur=!0,L["Century Old Style"]=!0,L["Century Schoolbook"]=!0,L.Chaparral=!0,L["Charis SIL"]=!0,L.Cheltenham=!0,L["Cholla Slab"]=!0,L.Clarendon=!0,L.Clearface=!0,L.Cochin=!0,L.Colonna=!0,L["Computer Modern"]=!0,L["Concrete Roman"]=!0,L.Constantia=!0,L["Cooper Black"]=!0,L.Corona=!0,L.Ecotype=!0,L.Egyptienne=!0,L.Elephant=!0,L.Excelsior=!0,L.Fairfield=!0,L["FF Scala"]=!0,L.Folkard=!0,L.Footlight=!0,L.FreeSerif=!0,L["Friz Quadrata"]=!0,L.Garamond=!0,L.Gentium=!0,L.Georgia=!0,L.Gloucester=!0,L["Goudy Old Style"]=!0,L["Goudy Schoolbook"]=!0,L["Goudy Pro Font"]=!0,L.Granjon=!0,L["Guardian Egyptian"]=!0,L.Heather=!0,L.Hercules=!0,L["High Tower Text"]=!0,L.Hiroshige=!0,L["Hoefler Text"]=!0,L["Humana Serif"]=!0,L.Imprint=!0,L["Ionic No. 5"]=!0,L.Janson=!0,L.Joanna=!0,L.Korinna=!0,L.Lexicon=!0,L.LiberationSerif=!0,L["Liberation Serif"]=!0,L["Linux Libertine"]=!0,L.Literaturnaya=!0,L.Lucida=!0,L["Lucida Bright"]=!0,L.Melior=!0,L.Memphis=!0,L.Miller=!0,L.Minion=!0,L.Modern=!0,L["Mona Lisa"]=!0,L["Mrs Eaves"]=!0,L["MS Serif"]=!0,L["Museo Slab"]=!0,L["New York"]=!0,L["Nimbus Roman"]=!0,L["NPS Rawlinson Roadway"]=!0,L.NuptialScript=!0,L.Palatino=!0,L.Perpetua=!0,L.Plantin=!0,L["Plantin Schoolbook"]=!0,L.Playbill=!0,L["Poor Richard"]=!0,L["Rawlinson Roadway"]=!0,L.Renault=!0,L.Requiem=!0,L.Rockwell=!0,L.Roman=!0,L["Rotis Serif"]=!0,L.Sabon=!0,L.Scala=!0,L.Seagull=!0,L.Sistina=!0,L.Souvenir=!0,L.STIX=!0,L["Stone Informal"]=!0,L["Stone Serif"]=!0,L.Sylfaen=!0,L.Times=!0,L.Trajan=!0,L.Trinité=!0,L["Trump Mediaeval"]=!0,L.Utopia=!0,L["Vale Type"]=!0,L["Bitstream Vera"]=!0,L["Vera Serif"]=!0,L.Versailles=!0,L.Wanted=!0,L.Weiss=!0,L["Wide Latin"]=!0,L.Windsor=!0,L.XITS=!0});D.getSerifFonts=ae;const ie=(0,R.getLookupTableFactory)(function(L){L.Dingbats=!0,L.Symbol=!0,L.ZapfDingbats=!0});D.getSymbolsFonts=ie;const he=(0,R.getLookupTableFactory)(function(L){L[2]=10,L[3]=32,L[4]=33,L[5]=34,L[6]=35,L[7]=36,L[8]=37,L[9]=38,L[10]=39,L[11]=40,L[12]=41,L[13]=42,L[14]=43,L[15]=44,L[16]=45,L[17]=46,L[18]=47,L[19]=48,L[20]=49,L[21]=50,L[22]=51,L[23]=52,L[24]=53,L[25]=54,L[26]=55,L[27]=56,L[28]=57,L[29]=58,L[30]=894,L[31]=60,L[32]=61,L[33]=62,L[34]=63,L[35]=64,L[36]=65,L[37]=66,L[38]=67,L[39]=68,L[40]=69,L[41]=70,L[42]=71,L[43]=72,L[44]=73,L[45]=74,L[46]=75,L[47]=76,L[48]=77,L[49]=78,L[50]=79,L[51]=80,L[52]=81,L[53]=82,L[54]=83,L[55]=84,L[56]=85,L[57]=86,L[58]=87,L[59]=88,L[60]=89,L[61]=90,L[62]=91,L[63]=92,L[64]=93,L[65]=94,L[66]=95,L[67]=96,L[68]=97,L[69]=98,L[70]=99,L[71]=100,L[72]=101,L[73]=102,L[74]=103,L[75]=104,L[76]=105,L[77]=106,L[78]=107,L[79]=108,L[80]=109,L[81]=110,L[82]=111,L[83]=112,L[84]=113,L[85]=114,L[86]=115,L[87]=116,L[88]=117,L[89]=118,L[90]=119,L[91]=120,L[92]=121,L[93]=122,L[94]=123,L[95]=124,L[96]=125,L[97]=126,L[98]=196,L[99]=197,L[100]=199,L[101]=201,L[102]=209,L[103]=214,L[104]=220,L[105]=225,L[106]=224,L[107]=226,L[108]=228,L[109]=227,L[110]=229,L[111]=231,L[112]=233,L[113]=232,L[114]=234,L[115]=235,L[116]=237,L[117]=236,L[118]=238,L[119]=239,L[120]=241,L[121]=243,L[122]=242,L[123]=244,L[124]=246,L[125]=245,L[126]=250,L[127]=249,L[128]=251,L[129]=252,L[130]=8224,L[131]=176,L[132]=162,L[133]=163,L[134]=167,L[135]=8226,L[136]=182,L[137]=223,L[138]=174,L[139]=169,L[140]=8482,L[141]=180,L[142]=168,L[143]=8800,L[144]=198,L[145]=216,L[146]=8734,L[147]=177,L[148]=8804,L[149]=8805,L[150]=165,L[151]=181,L[152]=8706,L[153]=8721,L[154]=8719,L[156]=8747,L[157]=170,L[158]=186,L[159]=8486,L[160]=230,L[161]=248,L[162]=191,L[163]=161,L[164]=172,L[165]=8730,L[166]=402,L[167]=8776,L[168]=8710,L[169]=171,L[170]=187,L[171]=8230,L[200]=193,L[203]=205,L[210]=218,L[223]=711,L[224]=321,L[225]=322,L[226]=352,L[227]=353,L[228]=381,L[229]=382,L[233]=221,L[234]=253,L[252]=263,L[253]=268,L[254]=269,L[258]=258,L[260]=260,L[261]=261,L[265]=280,L[266]=281,L[267]=282,L[268]=283,L[269]=313,L[275]=323,L[276]=324,L[278]=328,L[283]=344,L[284]=345,L[285]=346,L[286]=347,L[292]=367,L[295]=377,L[296]=378,L[298]=380,L[305]=963,L[306]=964,L[307]=966,L[308]=8215,L[309]=8252,L[310]=8319,L[311]=8359,L[312]=8592,L[313]=8593,L[337]=9552,L[493]=1039,L[494]=1040,L[672]=1488,L[673]=1489,L[674]=1490,L[675]=1491,L[676]=1492,L[677]=1493,L[678]=1494,L[679]=1495,L[680]=1496,L[681]=1497,L[682]=1498,L[683]=1499,L[684]=1500,L[685]=1501,L[686]=1502,L[687]=1503,L[688]=1504,L[689]=1505,L[690]=1506,L[691]=1507,L[692]=1508,L[693]=1509,L[694]=1510,L[695]=1511,L[696]=1512,L[697]=1513,L[698]=1514,L[705]=1524,L[706]=8362,L[710]=64288,L[711]=64298,L[759]=1617,L[761]=1776,L[763]=1778,L[775]=1652,L[777]=1764,L[778]=1780,L[779]=1781,L[780]=1782,L[782]=771,L[783]=64726,L[786]=8363,L[788]=8532,L[790]=768,L[791]=769,L[792]=768,L[795]=803,L[797]=64336,L[798]=64337,L[799]=64342,L[800]=64343,L[801]=64344,L[802]=64345,L[803]=64362,L[804]=64363,L[805]=64364,L[2424]=7821,L[2425]=7822,L[2426]=7823,L[2427]=7824,L[2428]=7825,L[2429]=7826,L[2430]=7827,L[2433]=7682,L[2678]=8045,L[2679]=8046,L[2830]=1552,L[2838]=686,L[2840]=751,L[2842]=753,L[2843]=754,L[2844]=755,L[2846]=757,L[2856]=767,L[2857]=848,L[2858]=849,L[2862]=853,L[2863]=854,L[2864]=855,L[2865]=861,L[2866]=862,L[2906]=7460,L[2908]=7462,L[2909]=7463,L[2910]=7464,L[2912]=7466,L[2913]=7467,L[2914]=7468,L[2916]=7470,L[2917]=7471,L[2918]=7472,L[2920]=7474,L[2921]=7475,L[2922]=7476,L[2924]=7478,L[2925]=7479,L[2926]=7480,L[2928]=7482,L[2929]=7483,L[2930]=7484,L[2932]=7486,L[2933]=7487,L[2934]=7488,L[2936]=7490,L[2937]=7491,L[2938]=7492,L[2940]=7494,L[2941]=7495,L[2942]=7496,L[2944]=7498,L[2946]=7500,L[2948]=7502,L[2950]=7504,L[2951]=7505,L[2952]=7506,L[2954]=7508,L[2955]=7509,L[2956]=7510,L[2958]=7512,L[2959]=7513,L[2960]=7514,L[2962]=7516,L[2963]=7517,L[2964]=7518,L[2966]=7520,L[2967]=7521,L[2968]=7522,L[2970]=7524,L[2971]=7525,L[2972]=7526,L[2974]=7528,L[2975]=7529,L[2976]=7530,L[2978]=1537,L[2979]=1538,L[2980]=1539,L[2982]=1549,L[2983]=1551,L[2984]=1552,L[2986]=1554,L[2987]=1555,L[2988]=1556,L[2990]=1623,L[2991]=1624,L[2995]=1775,L[2999]=1791,L[3002]=64290,L[3003]=64291,L[3004]=64292,L[3006]=64294,L[3007]=64295,L[3008]=64296,L[3011]=1900,L[3014]=8223,L[3015]=8244,L[3017]=7532,L[3018]=7533,L[3019]=7534,L[3075]=7590,L[3076]=7591,L[3079]=7594,L[3080]=7595,L[3083]=7598,L[3084]=7599,L[3087]=7602,L[3088]=7603,L[3091]=7606,L[3092]=7607,L[3095]=7610,L[3096]=7611,L[3099]=7614,L[3100]=7615,L[3103]=7618,L[3104]=7619,L[3107]=8337,L[3108]=8338,L[3116]=1884,L[3119]=1885,L[3120]=1885,L[3123]=1886,L[3124]=1886,L[3127]=1887,L[3128]=1887,L[3131]=1888,L[3132]=1888,L[3135]=1889,L[3136]=1889,L[3139]=1890,L[3140]=1890,L[3143]=1891,L[3144]=1891,L[3147]=1892,L[3148]=1892,L[3153]=580,L[3154]=581,L[3157]=584,L[3158]=585,L[3161]=588,L[3162]=589,L[3165]=891,L[3166]=892,L[3169]=1274,L[3170]=1275,L[3173]=1278,L[3174]=1279,L[3181]=7622,L[3182]=7623,L[3282]=11799,L[3316]=578,L[3379]=42785,L[3393]=1159,L[3416]=8377});D.getGlyphMapForStandardFonts=he;const J=(0,R.getLookupTableFactory)(function(L){L[227]=322,L[264]=261,L[291]=346});D.getSupplementalGlyphMapForArialBlack=J;const W=(0,R.getLookupTableFactory)(function(L){L[1]=32,L[4]=65,L[6]=193,L[17]=66,L[18]=67,L[21]=268,L[24]=68,L[28]=69,L[30]=201,L[32]=282,L[38]=70,L[39]=71,L[44]=72,L[47]=73,L[49]=205,L[58]=74,L[60]=75,L[62]=76,L[68]=77,L[69]=78,L[75]=79,L[87]=80,L[89]=81,L[90]=82,L[92]=344,L[94]=83,L[97]=352,L[100]=84,L[104]=85,L[115]=86,L[116]=87,L[121]=88,L[122]=89,L[124]=221,L[127]=90,L[129]=381,L[258]=97,L[260]=225,L[268]=261,L[271]=98,L[272]=99,L[273]=263,L[275]=269,L[282]=100,L[286]=101,L[288]=233,L[290]=283,L[295]=281,L[296]=102,L[336]=103,L[346]=104,L[349]=105,L[351]=237,L[361]=106,L[364]=107,L[367]=108,L[371]=322,L[373]=109,L[374]=110,L[381]=111,L[383]=243,L[393]=112,L[395]=113,L[396]=114,L[398]=345,L[400]=115,L[401]=347,L[403]=353,L[410]=116,L[437]=117,L[448]=118,L[449]=119,L[454]=120,L[455]=121,L[457]=253,L[460]=122,L[462]=382,L[463]=380,L[853]=44,L[855]=58,L[856]=46,L[876]=47,L[878]=45,L[882]=45,L[894]=40,L[895]=41,L[896]=91,L[897]=93,L[923]=64,L[1004]=48,L[1005]=49,L[1006]=50,L[1007]=51,L[1008]=52,L[1009]=53,L[1010]=54,L[1011]=55,L[1012]=56,L[1013]=57,L[1081]=37,L[1085]=43,L[1086]=45});D.getSupplementalGlyphMapForCalibri=W;function X(L){const Q=(0,U.normalizeFontName)(L);return K()[Q]}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ToUnicodeMap=D.IdentityToUnicodeMap=void 0;var R=B(2);class U{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];this._map=e}get length(){return this._map.length}forEach(e){for(const ae in this._map)e(ae,this._map[ae].charCodeAt(0))}has(e){return this._map[e]!==void 0}get(e){return this._map[e]}charCodeOf(e){const ae=this._map;if(ae.length<=65536)return ae.indexOf(e);for(const ie in ae)if(ae[ie]===e)return ie|0;return-1}amend(e){for(const ae in e)this._map[ae]=e[ae]}}D.ToUnicodeMap=U;class K{constructor(e,ae){this.firstChar=e,this.lastChar=ae}get length(){return this.lastChar+1-this.firstChar}forEach(e){for(let ae=this.firstChar,ie=this.lastChar;ae<=ie;ae++)e(ae,ae)}has(e){return this.firstChar<=e&&e<=this.lastChar}get(e){if(this.firstChar<=e&&e<=this.lastChar)return String.fromCharCode(e)}charCodeOf(e){return Number.isInteger(e)&&e>=this.firstChar&&e<=this.lastChar?e:-1}amend(e){(0,R.unreachable)("Should not call amend()")}}D.IdentityToUnicodeMap=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CFFFont=void 0;var R=B(160),U=B(163),K=B(2);class z{constructor(ae,ie){this.properties=ie;const he=new R.CFFParser(ae,ie,U.SEAC_ANALYSIS_ENABLED);this.cff=he.parse(),this.cff.duplicateFirstGlyph();const J=new R.CFFCompiler(this.cff);this.seacs=this.cff.seacs;try{this.data=J.compile()}catch{(0,K.warn)("Failed to compile font "+ie.loadedName),this.data=ae}this._createBuiltInEncoding()}get numGlyphs(){return this.cff.charStrings.count}getCharset(){return this.cff.charset.charset}getGlyphMapping(){const ae=this.cff,ie=this.properties,he=ae.charset.charset;let J,W;if(ie.composite){J=Object.create(null);let L;if(ae.isCIDFont)for(W=0;W=0){const Q=he[L];Q&&(W[X]=Q)}}W.length>0&&(this.properties.builtInEncoding=W)}}D.CFFFont=z},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.FontRendererFactory=void 0;var R=B(2),U=B(160),K=B(164),z=B(162),e=B(135);function ae(ve,ye){return(ve[ye]<<24|ve[ye+1]<<16|ve[ye+2]<<8|ve[ye+3])>>>0}function ie(ve,ye){return ve[ye]<<8|ve[ye+1]}function he(ve,ye){return(ve[ye]<<24|ve[ye+1]<<16)>>16}function J(ve,ye){return ve[ye]<<24>>24}function W(ve,ye){return he(ve,ye)/16384}function X(ve){const ye=ve.length;let Ce=32768;return ye<1240?Ce=107:ye<33900&&(Ce=1131),Ce}function L(ve,ye,Ce){const pe=ie(ve,ye+2)===1?ae(ve,ye+8):ae(ve,ye+16),_e=ie(ve,ye+pe);let Ge,Ae,Ne;if(_e===4){ie(ve,ye+pe+2);const Ze=ie(ve,ye+pe+6)>>1;for(Ae=ye+pe+14,Ge=[],Ne=0;Ne2*ie(Ne,Ze));const Ge=[];let Ae=_e(ye,0);for(let Ne=pe;Ne>1;Ce0;)Ke.push({flags:Ze})}for(Pe=0;Pe>1,Ie=!0;break;case 3:Te+=Ne.length>>1,Ie=!0;break;case 4:ze+=Ne.pop(),_e(Ze,ze),Ie=!0;break;case 5:for(;Ne.length>0;)Ze+=Ne.shift(),ze+=Ne.shift(),Ge(Ze,ze);break;case 6:for(;Ne.length>0&&(Ze+=Ne.shift(),Ge(Ze,ze),Ne.length!==0);)ze+=Ne.shift(),Ge(Ze,ze);break;case 7:for(;Ne.length>0&&(ze+=Ne.shift(),Ge(Ze,ze),Ne.length!==0);)Ze+=Ne.shift(),Ge(Ze,ze);break;case 8:for(;Ne.length>0;)Ke=Ze+Ne.shift(),je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le+Ne.shift(),Ae(Ke,je,Ve,Le,Ze,ze);break;case 10:if($e=Ne.pop(),Ye=null,Ce.isCFFCIDFont){const tt=Ce.fdSelect.getFDIndex(pe);if(tt>=0&&ttMath.abs(ze-ot)?Ze+=Ne.shift():ze+=Ne.shift(),Ae(Ke,je,Ve,Le,Ze,ze);break;default:throw new R.FormatError(`unknown operator: 12 ${Be}`)}break;case 14:if(Ne.length>=4){const tt=Ne.pop(),ot=Ne.pop();ze=Ne.pop(),Ze=Ne.pop(),ye.push({cmd:"save"},{cmd:"translate",args:[Ze,ze]});let st=de(Ce.cmap,String.fromCharCode(Ce.glyphNameMap[z.StandardEncoding[tt]]));oe(Ce.glyphs[st.glyphId],ye,Ce,st.glyphId),ye.push({cmd:"restore"}),st=de(Ce.cmap,String.fromCharCode(Ce.glyphNameMap[z.StandardEncoding[ot]])),oe(Ce.glyphs[st.glyphId],ye,Ce,st.glyphId)}return;case 18:Te+=Ne.length>>1,Ie=!0;break;case 19:Te+=Ne.length>>1,we+=Te+7>>3,Ie=!0;break;case 20:Te+=Ne.length>>1,we+=Te+7>>3,Ie=!0;break;case 21:ze+=Ne.pop(),Ze+=Ne.pop(),_e(Ze,ze),Ie=!0;break;case 22:Ze+=Ne.pop(),_e(Ze,ze),Ie=!0;break;case 23:Te+=Ne.length>>1,Ie=!0;break;case 24:for(;Ne.length>2;)Ke=Ze+Ne.shift(),je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le+Ne.shift(),Ae(Ke,je,Ve,Le,Ze,ze);Ze+=Ne.shift(),ze+=Ne.shift(),Ge(Ze,ze);break;case 25:for(;Ne.length>6;)Ze+=Ne.shift(),ze+=Ne.shift(),Ge(Ze,ze);Ke=Ze+Ne.shift(),je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le+Ne.shift(),Ae(Ke,je,Ve,Le,Ze,ze);break;case 26:for(Ne.length%2&&(Ze+=Ne.shift());Ne.length>0;)Ke=Ze,je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve,ze=Le+Ne.shift(),Ae(Ke,je,Ve,Le,Ze,ze);break;case 27:for(Ne.length%2&&(ze+=Ne.shift());Ne.length>0;)Ke=Ze+Ne.shift(),je=ze,Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le,Ae(Ke,je,Ve,Le,Ze,ze);break;case 28:Ne.push((Pe[we]<<24|Pe[we+1]<<16)>>16),we+=2;break;case 29:$e=Ne.pop()+Ce.gsubrsBias,Ye=Ce.gsubrs[$e],Ye&&Fe(Ye);break;case 30:for(;Ne.length>0&&(Ke=Ze,je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le+(Ne.length===1?Ne.shift():0),Ae(Ke,je,Ve,Le,Ze,ze),Ne.length!==0);)Ke=Ze+Ne.shift(),je=ze,Ve=Ke+Ne.shift(),Le=je+Ne.shift(),ze=Le+Ne.shift(),Ze=Ve+(Ne.length===1?Ne.shift():0),Ae(Ke,je,Ve,Le,Ze,ze);break;case 31:for(;Ne.length>0&&(Ke=Ze+Ne.shift(),je=ze,Ve=Ke+Ne.shift(),Le=je+Ne.shift(),ze=Le+Ne.shift(),Ze=Ve+(Ne.length===1?Ne.shift():0),Ae(Ke,je,Ve,Le,Ze,ze),Ne.length!==0);)Ke=Ze,je=ze+Ne.shift(),Ve=Ke+Ne.shift(),Le=je+Ne.shift(),Ze=Ve+Ne.shift(),ze=Le+(Ne.length===1?Ne.shift():0),Ae(Ke,je,Ve,Le,Ze,ze);break;default:if(Be<32)throw new R.FormatError(`unknown operator: ${Be}`);Be<247?Ne.push(Be-139):Be<251?Ne.push((Be-247)*256+Pe[we++]+108):Be<255?Ne.push(-(Be-251)*256-Pe[we++]-108):(Ne.push((Pe[we]<<24|Pe[we+1]<<16|Pe[we+2]<<8|Pe[we+3])/65536),we+=4);break}Ie&&(Ne.length=0)}}Fe(ve)}const me=[];class Ee{constructor(ye){this.constructor===Ee&&(0,R.unreachable)("Cannot initialize CompiledFont."),this.fontMatrix=ye,this.compiledGlyphs=Object.create(null),this.compiledCharCodeToGlyphId=Object.create(null)}getPathJs(ye){const{charCode:Ce,glyphId:pe}=de(this.cmap,ye);let _e=this.compiledGlyphs[pe];if(!_e)try{_e=this.compileGlyph(this.glyphs[pe],pe),this.compiledGlyphs[pe]=_e}catch(Ge){throw this.compiledGlyphs[pe]=me,this.compiledCharCodeToGlyphId[Ce]===void 0&&(this.compiledCharCodeToGlyphId[Ce]=pe),Ge}return this.compiledCharCodeToGlyphId[Ce]===void 0&&(this.compiledCharCodeToGlyphId[Ce]=pe),_e}compileGlyph(ye,Ce){if(!ye||ye.length===0||ye[0]===14)return me;let pe=this.fontMatrix;if(this.isCFFCIDFont){const Ge=this.fdSelect.getFDIndex(Ce);Ge>=0&&Ge{Object.defineProperty(D,"__esModule",{value:!0}),D.getMetrics=D.getFontBasicMetrics=void 0;var R=B(131);const U=(0,R.getLookupTableFactory)(function(z){z.Courier=600,z["Courier-Bold"]=600,z["Courier-BoldOblique"]=600,z["Courier-Oblique"]=600,z.Helvetica=(0,R.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),z["Helvetica-Bold"]=(0,R.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),z["Helvetica-BoldOblique"]=(0,R.getLookupTableFactory)(function(e){e.space=278,e.exclam=333,e.quotedbl=474,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=722,e.quoteright=278,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=333,e.semicolon=333,e.less=584,e.equal=584,e.greater=584,e.question=611,e.at=975,e.A=722,e.B=722,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=556,e.K=722,e.L=611,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=584,e.underscore=556,e.quoteleft=278,e.a=556,e.b=611,e.c=556,e.d=611,e.e=556,e.f=333,e.g=611,e.h=611,e.i=278,e.j=278,e.k=556,e.l=278,e.m=889,e.n=611,e.o=611,e.p=611,e.q=611,e.r=389,e.s=556,e.t=333,e.u=611,e.v=556,e.w=778,e.x=556,e.y=556,e.z=500,e.braceleft=389,e.bar=280,e.braceright=389,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=238,e.quotedblleft=500,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=611,e.fl=611,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=556,e.bullet=350,e.quotesinglbase=278,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=611,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=278,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=611,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=722,e.aacute=556,e.Ucircumflex=722,e.yacute=556,e.scommaaccent=556,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=611,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=556,e.aring=556,e.Ncommaaccent=722,e.lacute=278,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=556,e.scedilla=556,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=611,e.acircumflex=556,e.Amacron=722,e.rcaron=389,e.ccedilla=556,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=743,e.Umacron=722,e.uring=611,e.threesuperior=333,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=584,e.uacute=611,e.Tcaron=611,e.partialdiff=494,e.ydieresis=556,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=556,e.nacute=611,e.umacron=611,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=280,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=611,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=389,e.eogonek=556,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=556,e.zacute=500,e.iogonek=278,e.Oacute=778,e.oacute=611,e.amacron=556,e.sacute=556,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=611,e.twosuperior=333,e.Odieresis=778,e.mu=611,e.igrave=278,e.ohungarumlaut=611,e.Eogonek=667,e.dcroat=611,e.threequarters=834,e.Scedilla=667,e.lcaron=400,e.Kcommaaccent=722,e.Lacute=611,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=611,e.onehalf=834,e.lessequal=549,e.ocircumflex=611,e.ntilde=611,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=611,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=611,e.Ccaron=722,e.ugrave=611,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=611,e.Rcommaaccent=722,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=556,e.minus=584,e.Icircumflex=278,e.ncaron=611,e.tcommaaccent=333,e.logicalnot=584,e.odieresis=611,e.udieresis=611,e.notequal=549,e.gcommaaccent=611,e.eth=611,e.zcaron=500,e.ncommaaccent=611,e.onesuperior=333,e.imacron=278,e.Euro=556}),z["Helvetica-Oblique"]=(0,R.getLookupTableFactory)(function(e){e.space=278,e.exclam=278,e.quotedbl=355,e.numbersign=556,e.dollar=556,e.percent=889,e.ampersand=667,e.quoteright=222,e.parenleft=333,e.parenright=333,e.asterisk=389,e.plus=584,e.comma=278,e.hyphen=333,e.period=278,e.slash=278,e.zero=556,e.one=556,e.two=556,e.three=556,e.four=556,e.five=556,e.six=556,e.seven=556,e.eight=556,e.nine=556,e.colon=278,e.semicolon=278,e.less=584,e.equal=584,e.greater=584,e.question=556,e.at=1015,e.A=667,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=722,e.I=278,e.J=500,e.K=667,e.L=556,e.M=833,e.N=722,e.O=778,e.P=667,e.Q=778,e.R=722,e.S=667,e.T=611,e.U=722,e.V=667,e.W=944,e.X=667,e.Y=667,e.Z=611,e.bracketleft=278,e.backslash=278,e.bracketright=278,e.asciicircum=469,e.underscore=556,e.quoteleft=222,e.a=556,e.b=556,e.c=500,e.d=556,e.e=556,e.f=278,e.g=556,e.h=556,e.i=222,e.j=222,e.k=500,e.l=222,e.m=833,e.n=556,e.o=556,e.p=556,e.q=556,e.r=333,e.s=500,e.t=278,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=500,e.braceleft=334,e.bar=260,e.braceright=334,e.asciitilde=584,e.exclamdown=333,e.cent=556,e.sterling=556,e.fraction=167,e.yen=556,e.florin=556,e.section=556,e.currency=556,e.quotesingle=191,e.quotedblleft=333,e.guillemotleft=556,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=556,e.dagger=556,e.daggerdbl=556,e.periodcentered=278,e.paragraph=537,e.bullet=350,e.quotesinglbase=222,e.quotedblbase=333,e.quotedblright=333,e.guillemotright=556,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=611,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=370,e.Lslash=556,e.Oslash=778,e.OE=1e3,e.ordmasculine=365,e.ae=889,e.dotlessi=278,e.lslash=222,e.oslash=611,e.oe=944,e.germandbls=611,e.Idieresis=278,e.eacute=556,e.abreve=556,e.uhungarumlaut=556,e.ecaron=556,e.Ydieresis=667,e.divide=584,e.Yacute=667,e.Acircumflex=667,e.aacute=556,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=500,e.ecircumflex=556,e.Uring=722,e.Udieresis=722,e.aogonek=556,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=737,e.Emacron=667,e.ccaron=500,e.aring=556,e.Ncommaaccent=722,e.lacute=222,e.agrave=556,e.Tcommaaccent=611,e.Cacute=722,e.atilde=556,e.Edotaccent=667,e.scaron=500,e.scedilla=500,e.iacute=278,e.lozenge=471,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=556,e.Amacron=667,e.rcaron=333,e.ccedilla=500,e.Zdotaccent=611,e.Thorn=667,e.Omacron=778,e.Racute=722,e.Sacute=667,e.dcaron=643,e.Umacron=722,e.uring=556,e.threesuperior=333,e.Ograve=778,e.Agrave=667,e.Abreve=667,e.multiply=584,e.uacute=556,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=556,e.edieresis=556,e.cacute=500,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=278,e.plusminus=584,e.brokenbar=260,e.registered=737,e.Gbreve=778,e.Idotaccent=278,e.summation=600,e.Egrave=667,e.racute=333,e.omacron=556,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=222,e.tcaron=317,e.eogonek=556,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=556,e.zacute=500,e.iogonek=222,e.Oacute=778,e.oacute=556,e.amacron=556,e.sacute=500,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=333,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=556,e.Eogonek=667,e.dcroat=556,e.threequarters=834,e.Scedilla=667,e.lcaron=299,e.Kcommaaccent=667,e.Lacute=556,e.trademark=1e3,e.edotaccent=556,e.Igrave=278,e.Imacron=278,e.Lcaron=556,e.onehalf=834,e.lessequal=549,e.ocircumflex=556,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=556,e.gbreve=556,e.onequarter=834,e.Scaron=667,e.Scommaaccent=667,e.Ohungarumlaut=778,e.degree=400,e.ograve=556,e.Ccaron=722,e.ugrave=556,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=556,e.Rcommaaccent=722,e.Lcommaaccent=556,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=778,e.zdotaccent=500,e.Ecaron=667,e.Iogonek=278,e.kcommaaccent=500,e.minus=584,e.Icircumflex=278,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=584,e.odieresis=556,e.udieresis=556,e.notequal=549,e.gcommaaccent=556,e.eth=556,e.zcaron=500,e.ncommaaccent=556,e.onesuperior=333,e.imacron=278,e.Euro=556}),z.Symbol=(0,R.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.universal=713,e.numbersign=500,e.existential=549,e.percent=833,e.ampersand=778,e.suchthat=439,e.parenleft=333,e.parenright=333,e.asteriskmath=500,e.plus=549,e.comma=250,e.minus=549,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=549,e.equal=549,e.greater=549,e.question=444,e.congruent=549,e.Alpha=722,e.Beta=667,e.Chi=722,e.Delta=612,e.Epsilon=611,e.Phi=763,e.Gamma=603,e.Eta=722,e.Iota=333,e.theta1=631,e.Kappa=722,e.Lambda=686,e.Mu=889,e.Nu=722,e.Omicron=722,e.Pi=768,e.Theta=741,e.Rho=556,e.Sigma=592,e.Tau=611,e.Upsilon=690,e.sigma1=439,e.Omega=768,e.Xi=645,e.Psi=795,e.Zeta=611,e.bracketleft=333,e.therefore=863,e.bracketright=333,e.perpendicular=658,e.underscore=500,e.radicalex=500,e.alpha=631,e.beta=549,e.chi=549,e.delta=494,e.epsilon=439,e.phi=521,e.gamma=411,e.eta=603,e.iota=329,e.phi1=603,e.kappa=549,e.lambda=549,e.mu=576,e.nu=521,e.omicron=549,e.pi=549,e.theta=521,e.rho=549,e.sigma=603,e.tau=439,e.upsilon=576,e.omega1=713,e.omega=686,e.xi=493,e.psi=686,e.zeta=494,e.braceleft=480,e.bar=200,e.braceright=480,e.similar=549,e.Euro=750,e.Upsilon1=620,e.minute=247,e.lessequal=549,e.fraction=167,e.infinity=713,e.florin=500,e.club=753,e.diamond=753,e.heart=753,e.spade=753,e.arrowboth=1042,e.arrowleft=987,e.arrowup=603,e.arrowright=987,e.arrowdown=603,e.degree=400,e.plusminus=549,e.second=411,e.greaterequal=549,e.multiply=549,e.proportional=713,e.partialdiff=494,e.bullet=460,e.divide=549,e.notequal=549,e.equivalence=549,e.approxequal=549,e.ellipsis=1e3,e.arrowvertex=603,e.arrowhorizex=1e3,e.carriagereturn=658,e.aleph=823,e.Ifraktur=686,e.Rfraktur=795,e.weierstrass=987,e.circlemultiply=768,e.circleplus=768,e.emptyset=823,e.intersection=768,e.union=768,e.propersuperset=713,e.reflexsuperset=713,e.notsubset=713,e.propersubset=713,e.reflexsubset=713,e.element=713,e.notelement=713,e.angle=768,e.gradient=713,e.registerserif=790,e.copyrightserif=790,e.trademarkserif=890,e.product=823,e.radical=549,e.dotmath=250,e.logicalnot=713,e.logicaland=603,e.logicalor=603,e.arrowdblboth=1042,e.arrowdblleft=987,e.arrowdblup=603,e.arrowdblright=987,e.arrowdbldown=603,e.lozenge=494,e.angleleft=329,e.registersans=790,e.copyrightsans=790,e.trademarksans=786,e.summation=713,e.parenlefttp=384,e.parenleftex=384,e.parenleftbt=384,e.bracketlefttp=384,e.bracketleftex=384,e.bracketleftbt=384,e.bracelefttp=494,e.braceleftmid=494,e.braceleftbt=494,e.braceex=494,e.angleright=329,e.integral=274,e.integraltp=686,e.integralex=686,e.integralbt=686,e.parenrighttp=384,e.parenrightex=384,e.parenrightbt=384,e.bracketrighttp=384,e.bracketrightex=384,e.bracketrightbt=384,e.bracerighttp=494,e.bracerightmid=494,e.bracerightbt=494,e.apple=790}),z["Times-Roman"]=(0,R.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=408,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=564,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=278,e.semicolon=278,e.less=564,e.equal=564,e.greater=564,e.question=444,e.at=921,e.A=722,e.B=667,e.C=667,e.D=722,e.E=611,e.F=556,e.G=722,e.H=722,e.I=333,e.J=389,e.K=722,e.L=611,e.M=889,e.N=722,e.O=722,e.P=556,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=722,e.W=944,e.X=722,e.Y=722,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=469,e.underscore=500,e.quoteleft=333,e.a=444,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=500,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=500,e.o=500,e.p=500,e.q=500,e.r=333,e.s=389,e.t=278,e.u=500,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=480,e.bar=200,e.braceright=480,e.asciitilde=541,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=180,e.quotedblleft=444,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=453,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=444,e.quotedblright=444,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=444,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=889,e.ordfeminine=276,e.Lslash=611,e.Oslash=722,e.OE=889,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=444,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=722,e.divide=564,e.Yacute=722,e.Acircumflex=722,e.aacute=444,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=444,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=444,e.Ncommaaccent=722,e.lacute=278,e.agrave=444,e.Tcommaaccent=611,e.Cacute=667,e.atilde=444,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=444,e.Amacron=722,e.rcaron=333,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=556,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=588,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=722,e.Abreve=722,e.multiply=564,e.uacute=500,e.Tcaron=611,e.partialdiff=476,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=444,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=722,e.Iacute=333,e.plusminus=564,e.brokenbar=200,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=333,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=326,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=444,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=344,e.Kcommaaccent=722,e.Lacute=611,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=333,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=722,e.zdotaccent=444,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=500,e.minus=564,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=564,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),z["Times-Bold"]=(0,R.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=1e3,e.ampersand=833,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=930,e.A=722,e.B=667,e.C=722,e.D=722,e.E=667,e.F=611,e.G=778,e.H=778,e.I=389,e.J=500,e.K=778,e.L=667,e.M=944,e.N=722,e.O=778,e.P=611,e.Q=778,e.R=722,e.S=556,e.T=667,e.U=722,e.V=722,e.W=1e3,e.X=722,e.Y=722,e.Z=667,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=581,e.underscore=500,e.quoteleft=333,e.a=500,e.b=556,e.c=444,e.d=556,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=333,e.k=556,e.l=278,e.m=833,e.n=556,e.o=500,e.p=556,e.q=556,e.r=444,e.s=389,e.t=333,e.u=556,e.v=500,e.w=722,e.x=500,e.y=500,e.z=444,e.braceleft=394,e.bar=220,e.braceright=394,e.asciitilde=520,e.exclamdown=333,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=540,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=1e3,e.ordfeminine=300,e.Lslash=667,e.Oslash=778,e.OE=1e3,e.ordmasculine=330,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=556,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=722,e.divide=570,e.Yacute=722,e.Acircumflex=722,e.aacute=500,e.Ucircumflex=722,e.yacute=500,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=667,e.Cacute=722,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=722,e.Gcommaaccent=778,e.ucircumflex=556,e.acircumflex=500,e.Amacron=722,e.rcaron=444,e.ccedilla=444,e.Zdotaccent=667,e.Thorn=611,e.Omacron=778,e.Racute=722,e.Sacute=556,e.dcaron=672,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=778,e.Agrave=722,e.Abreve=722,e.multiply=570,e.uacute=556,e.Tcaron=667,e.partialdiff=494,e.ydieresis=500,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=778,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=444,e.omacron=500,e.Zacute=667,e.Zcaron=667,e.greaterequal=549,e.Eth=722,e.Ccedilla=722,e.lcommaaccent=278,e.tcaron=416,e.eogonek=444,e.Uogonek=722,e.Aacute=722,e.Adieresis=722,e.egrave=444,e.zacute=444,e.iogonek=278,e.Oacute=778,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=778,e.Ugrave=722,e.Delta=612,e.thorn=556,e.twosuperior=300,e.Odieresis=778,e.mu=556,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=556,e.threequarters=750,e.Scedilla=556,e.lcaron=394,e.Kcommaaccent=778,e.Lacute=667,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=667,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=778,e.degree=400,e.ograve=500,e.Ccaron=722,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=444,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=722,e.Lcommaaccent=667,e.Atilde=722,e.Aogonek=722,e.Aring=722,e.Otilde=778,e.zdotaccent=444,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=556,e.minus=570,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=333,e.logicalnot=570,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=444,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),z["Times-BoldItalic"]=(0,R.getLookupTableFactory)(function(e){e.space=250,e.exclam=389,e.quotedbl=555,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=570,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=570,e.equal=570,e.greater=570,e.question=500,e.at=832,e.A=667,e.B=667,e.C=667,e.D=722,e.E=667,e.F=667,e.G=722,e.H=778,e.I=389,e.J=500,e.K=667,e.L=611,e.M=889,e.N=722,e.O=722,e.P=611,e.Q=722,e.R=667,e.S=556,e.T=611,e.U=722,e.V=667,e.W=889,e.X=667,e.Y=611,e.Z=611,e.bracketleft=333,e.backslash=278,e.bracketright=333,e.asciicircum=570,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=333,e.g=500,e.h=556,e.i=278,e.j=278,e.k=500,e.l=278,e.m=778,e.n=556,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=556,e.v=444,e.w=667,e.x=500,e.y=444,e.z=389,e.braceleft=348,e.bar=220,e.braceright=348,e.asciitilde=570,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=278,e.quotedblleft=500,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=556,e.fl=556,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=500,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=500,e.quotedblright=500,e.guillemotright=500,e.ellipsis=1e3,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=1e3,e.AE=944,e.ordfeminine=266,e.Lslash=611,e.Oslash=722,e.OE=944,e.ordmasculine=300,e.ae=722,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=722,e.germandbls=500,e.Idieresis=389,e.eacute=444,e.abreve=500,e.uhungarumlaut=556,e.ecaron=444,e.Ydieresis=611,e.divide=570,e.Yacute=611,e.Acircumflex=667,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=556,e.Edieresis=667,e.Dcroat=722,e.commaaccent=250,e.copyright=747,e.Emacron=667,e.ccaron=444,e.aring=500,e.Ncommaaccent=722,e.lacute=278,e.agrave=500,e.Tcommaaccent=611,e.Cacute=667,e.atilde=500,e.Edotaccent=667,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=494,e.Rcaron=667,e.Gcommaaccent=722,e.ucircumflex=556,e.acircumflex=500,e.Amacron=667,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=611,e.Thorn=611,e.Omacron=722,e.Racute=667,e.Sacute=556,e.dcaron=608,e.Umacron=722,e.uring=556,e.threesuperior=300,e.Ograve=722,e.Agrave=667,e.Abreve=667,e.multiply=570,e.uacute=556,e.Tcaron=611,e.partialdiff=494,e.ydieresis=444,e.Nacute=722,e.icircumflex=278,e.Ecircumflex=667,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=556,e.umacron=556,e.Ncaron=722,e.Iacute=389,e.plusminus=570,e.brokenbar=220,e.registered=747,e.Gbreve=722,e.Idotaccent=389,e.summation=600,e.Egrave=667,e.racute=389,e.omacron=500,e.Zacute=611,e.Zcaron=611,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=366,e.eogonek=444,e.Uogonek=722,e.Aacute=667,e.Adieresis=667,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=576,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=667,e.dcroat=500,e.threequarters=750,e.Scedilla=556,e.lcaron=382,e.Kcommaaccent=667,e.Lacute=611,e.trademark=1e3,e.edotaccent=444,e.Igrave=389,e.Imacron=389,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=556,e.Uhungarumlaut=722,e.Eacute=667,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=556,e.Scommaaccent=556,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=556,e.radical=549,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=722,e.otilde=500,e.Rcommaaccent=667,e.Lcommaaccent=611,e.Atilde=667,e.Aogonek=667,e.Aring=667,e.Otilde=722,e.zdotaccent=389,e.Ecaron=667,e.Iogonek=389,e.kcommaaccent=500,e.minus=606,e.Icircumflex=389,e.ncaron=556,e.tcommaaccent=278,e.logicalnot=606,e.odieresis=500,e.udieresis=556,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=556,e.onesuperior=300,e.imacron=278,e.Euro=500}),z["Times-Italic"]=(0,R.getLookupTableFactory)(function(e){e.space=250,e.exclam=333,e.quotedbl=420,e.numbersign=500,e.dollar=500,e.percent=833,e.ampersand=778,e.quoteright=333,e.parenleft=333,e.parenright=333,e.asterisk=500,e.plus=675,e.comma=250,e.hyphen=333,e.period=250,e.slash=278,e.zero=500,e.one=500,e.two=500,e.three=500,e.four=500,e.five=500,e.six=500,e.seven=500,e.eight=500,e.nine=500,e.colon=333,e.semicolon=333,e.less=675,e.equal=675,e.greater=675,e.question=500,e.at=920,e.A=611,e.B=611,e.C=667,e.D=722,e.E=611,e.F=611,e.G=722,e.H=722,e.I=333,e.J=444,e.K=667,e.L=556,e.M=833,e.N=667,e.O=722,e.P=611,e.Q=722,e.R=611,e.S=500,e.T=556,e.U=722,e.V=611,e.W=833,e.X=611,e.Y=556,e.Z=556,e.bracketleft=389,e.backslash=278,e.bracketright=389,e.asciicircum=422,e.underscore=500,e.quoteleft=333,e.a=500,e.b=500,e.c=444,e.d=500,e.e=444,e.f=278,e.g=500,e.h=500,e.i=278,e.j=278,e.k=444,e.l=278,e.m=722,e.n=500,e.o=500,e.p=500,e.q=500,e.r=389,e.s=389,e.t=278,e.u=500,e.v=444,e.w=667,e.x=444,e.y=444,e.z=389,e.braceleft=400,e.bar=275,e.braceright=400,e.asciitilde=541,e.exclamdown=389,e.cent=500,e.sterling=500,e.fraction=167,e.yen=500,e.florin=500,e.section=500,e.currency=500,e.quotesingle=214,e.quotedblleft=556,e.guillemotleft=500,e.guilsinglleft=333,e.guilsinglright=333,e.fi=500,e.fl=500,e.endash=500,e.dagger=500,e.daggerdbl=500,e.periodcentered=250,e.paragraph=523,e.bullet=350,e.quotesinglbase=333,e.quotedblbase=556,e.quotedblright=556,e.guillemotright=500,e.ellipsis=889,e.perthousand=1e3,e.questiondown=500,e.grave=333,e.acute=333,e.circumflex=333,e.tilde=333,e.macron=333,e.breve=333,e.dotaccent=333,e.dieresis=333,e.ring=333,e.cedilla=333,e.hungarumlaut=333,e.ogonek=333,e.caron=333,e.emdash=889,e.AE=889,e.ordfeminine=276,e.Lslash=556,e.Oslash=722,e.OE=944,e.ordmasculine=310,e.ae=667,e.dotlessi=278,e.lslash=278,e.oslash=500,e.oe=667,e.germandbls=500,e.Idieresis=333,e.eacute=444,e.abreve=500,e.uhungarumlaut=500,e.ecaron=444,e.Ydieresis=556,e.divide=675,e.Yacute=556,e.Acircumflex=611,e.aacute=500,e.Ucircumflex=722,e.yacute=444,e.scommaaccent=389,e.ecircumflex=444,e.Uring=722,e.Udieresis=722,e.aogonek=500,e.Uacute=722,e.uogonek=500,e.Edieresis=611,e.Dcroat=722,e.commaaccent=250,e.copyright=760,e.Emacron=611,e.ccaron=444,e.aring=500,e.Ncommaaccent=667,e.lacute=278,e.agrave=500,e.Tcommaaccent=556,e.Cacute=667,e.atilde=500,e.Edotaccent=611,e.scaron=389,e.scedilla=389,e.iacute=278,e.lozenge=471,e.Rcaron=611,e.Gcommaaccent=722,e.ucircumflex=500,e.acircumflex=500,e.Amacron=611,e.rcaron=389,e.ccedilla=444,e.Zdotaccent=556,e.Thorn=611,e.Omacron=722,e.Racute=611,e.Sacute=500,e.dcaron=544,e.Umacron=722,e.uring=500,e.threesuperior=300,e.Ograve=722,e.Agrave=611,e.Abreve=611,e.multiply=675,e.uacute=500,e.Tcaron=556,e.partialdiff=476,e.ydieresis=444,e.Nacute=667,e.icircumflex=278,e.Ecircumflex=611,e.adieresis=500,e.edieresis=444,e.cacute=444,e.nacute=500,e.umacron=500,e.Ncaron=667,e.Iacute=333,e.plusminus=675,e.brokenbar=275,e.registered=760,e.Gbreve=722,e.Idotaccent=333,e.summation=600,e.Egrave=611,e.racute=389,e.omacron=500,e.Zacute=556,e.Zcaron=556,e.greaterequal=549,e.Eth=722,e.Ccedilla=667,e.lcommaaccent=278,e.tcaron=300,e.eogonek=444,e.Uogonek=722,e.Aacute=611,e.Adieresis=611,e.egrave=444,e.zacute=389,e.iogonek=278,e.Oacute=722,e.oacute=500,e.amacron=500,e.sacute=389,e.idieresis=278,e.Ocircumflex=722,e.Ugrave=722,e.Delta=612,e.thorn=500,e.twosuperior=300,e.Odieresis=722,e.mu=500,e.igrave=278,e.ohungarumlaut=500,e.Eogonek=611,e.dcroat=500,e.threequarters=750,e.Scedilla=500,e.lcaron=300,e.Kcommaaccent=667,e.Lacute=556,e.trademark=980,e.edotaccent=444,e.Igrave=333,e.Imacron=333,e.Lcaron=611,e.onehalf=750,e.lessequal=549,e.ocircumflex=500,e.ntilde=500,e.Uhungarumlaut=722,e.Eacute=611,e.emacron=444,e.gbreve=500,e.onequarter=750,e.Scaron=500,e.Scommaaccent=500,e.Ohungarumlaut=722,e.degree=400,e.ograve=500,e.Ccaron=667,e.ugrave=500,e.radical=453,e.Dcaron=722,e.rcommaaccent=389,e.Ntilde=667,e.otilde=500,e.Rcommaaccent=611,e.Lcommaaccent=556,e.Atilde=611,e.Aogonek=611,e.Aring=611,e.Otilde=722,e.zdotaccent=389,e.Ecaron=611,e.Iogonek=333,e.kcommaaccent=444,e.minus=675,e.Icircumflex=333,e.ncaron=500,e.tcommaaccent=278,e.logicalnot=675,e.odieresis=500,e.udieresis=500,e.notequal=549,e.gcommaaccent=500,e.eth=500,e.zcaron=389,e.ncommaaccent=500,e.onesuperior=300,e.imacron=278,e.Euro=500}),z.ZapfDingbats=(0,R.getLookupTableFactory)(function(e){e.space=278,e.a1=974,e.a2=961,e.a202=974,e.a3=980,e.a4=719,e.a5=789,e.a119=790,e.a118=791,e.a117=690,e.a11=960,e.a12=939,e.a13=549,e.a14=855,e.a15=911,e.a16=933,e.a105=911,e.a17=945,e.a18=974,e.a19=755,e.a20=846,e.a21=762,e.a22=761,e.a23=571,e.a24=677,e.a25=763,e.a26=760,e.a27=759,e.a28=754,e.a6=494,e.a7=552,e.a8=537,e.a9=577,e.a10=692,e.a29=786,e.a30=788,e.a31=788,e.a32=790,e.a33=793,e.a34=794,e.a35=816,e.a36=823,e.a37=789,e.a38=841,e.a39=823,e.a40=833,e.a41=816,e.a42=831,e.a43=923,e.a44=744,e.a45=723,e.a46=749,e.a47=790,e.a48=792,e.a49=695,e.a50=776,e.a51=768,e.a52=792,e.a53=759,e.a54=707,e.a55=708,e.a56=682,e.a57=701,e.a58=826,e.a59=815,e.a60=789,e.a61=789,e.a62=707,e.a63=687,e.a64=696,e.a65=689,e.a66=786,e.a67=787,e.a68=713,e.a69=791,e.a70=785,e.a71=791,e.a72=873,e.a73=761,e.a74=762,e.a203=762,e.a75=759,e.a204=759,e.a76=892,e.a77=892,e.a78=788,e.a79=784,e.a81=438,e.a82=138,e.a83=277,e.a84=415,e.a97=392,e.a98=392,e.a99=668,e.a100=668,e.a89=390,e.a90=390,e.a93=317,e.a94=317,e.a91=276,e.a92=276,e.a205=509,e.a85=509,e.a206=410,e.a86=410,e.a87=234,e.a88=234,e.a95=334,e.a96=334,e.a101=732,e.a102=544,e.a103=544,e.a104=910,e.a106=667,e.a107=760,e.a108=760,e.a112=776,e.a111=595,e.a110=694,e.a109=626,e.a120=788,e.a121=788,e.a122=788,e.a123=788,e.a124=788,e.a125=788,e.a126=788,e.a127=788,e.a128=788,e.a129=788,e.a130=788,e.a131=788,e.a132=788,e.a133=788,e.a134=788,e.a135=788,e.a136=788,e.a137=788,e.a138=788,e.a139=788,e.a140=788,e.a141=788,e.a142=788,e.a143=788,e.a144=788,e.a145=788,e.a146=788,e.a147=788,e.a148=788,e.a149=788,e.a150=788,e.a151=788,e.a152=788,e.a153=788,e.a154=788,e.a155=788,e.a156=788,e.a157=788,e.a158=788,e.a159=788,e.a160=894,e.a161=838,e.a163=1016,e.a164=458,e.a196=748,e.a165=924,e.a192=748,e.a166=918,e.a167=927,e.a168=928,e.a169=928,e.a170=834,e.a171=873,e.a172=828,e.a173=924,e.a162=924,e.a174=917,e.a175=930,e.a176=931,e.a177=463,e.a178=883,e.a179=836,e.a193=836,e.a180=867,e.a199=867,e.a181=696,e.a200=696,e.a182=874,e.a201=874,e.a183=760,e.a184=946,e.a197=771,e.a185=865,e.a194=771,e.a198=888,e.a186=967,e.a195=888,e.a187=831,e.a188=873,e.a189=927,e.a190=970,e.a191=918})});D.getMetrics=U;const K=(0,R.getLookupTableFactory)(function(z){z.Courier={ascent:629,descent:-157,capHeight:562,xHeight:-426},z["Courier-Bold"]={ascent:629,descent:-157,capHeight:562,xHeight:439},z["Courier-Oblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},z["Courier-BoldOblique"]={ascent:629,descent:-157,capHeight:562,xHeight:426},z.Helvetica={ascent:718,descent:-207,capHeight:718,xHeight:523},z["Helvetica-Bold"]={ascent:718,descent:-207,capHeight:718,xHeight:532},z["Helvetica-Oblique"]={ascent:718,descent:-207,capHeight:718,xHeight:523},z["Helvetica-BoldOblique"]={ascent:718,descent:-207,capHeight:718,xHeight:532},z["Times-Roman"]={ascent:683,descent:-217,capHeight:662,xHeight:450},z["Times-Bold"]={ascent:683,descent:-217,capHeight:676,xHeight:461},z["Times-Italic"]={ascent:683,descent:-217,capHeight:653,xHeight:441},z["Times-BoldItalic"]={ascent:683,descent:-217,capHeight:669,xHeight:462},z.Symbol={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN},z.ZapfDingbats={ascent:Math.NaN,descent:Math.NaN,capHeight:Math.NaN,xHeight:Math.NaN}});D.getFontBasicMetrics=K},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.GlyfTable=void 0;const B=1,R=2,U=4,K=8,z=16,e=32,ae=64,ie=1,he=2,J=8,W=32,X=64,L=128,Q=256;class ce{constructor(xe){let{glyfTable:fe,isGlyphLocationsLong:ve,locaTable:ye,numGlyphs:Ce}=xe;this.glyphs=[];const pe=new DataView(ye.buffer,ye.byteOffset,ye.byteLength),_e=new DataView(fe.buffer,fe.byteOffset,fe.byteLength),Ge=ve?4:2;let Ae=ve?pe.getUint32(0):2*pe.getUint16(0),Ne=0;for(let Ze=0;Ze{const ve=fe.getSize();return xe+(ve+3&-4)},0)}write(){const xe=this.getSize(),fe=new DataView(new ArrayBuffer(xe)),ve=xe>131070,ye=ve?4:2,Ce=new DataView(new ArrayBuffer((this.glyphs.length+1)*ye));ve?Ce.setUint32(0,0):Ce.setUint16(0,0);let pe=0,_e=0;for(const Ge of this.glyphs)pe+=Ge.write(pe,fe),pe=pe+3&-4,_e+=ye,ve?Ce.setUint32(_e,pe):Ce.setUint16(_e,pe>>1);return{isLocationLong:ve,loca:new Uint8Array(Ce.buffer),glyf:new Uint8Array(fe.buffer)}}scale(xe){for(let fe=0,ve=this.glyphs.length;fefe+ve.getSize(),0);return this.header.getSize()+xe}write(xe,fe){if(!this.header)return 0;const ve=xe;if(xe+=this.header.write(xe,fe),this.simple)xe+=this.simple.write(xe,fe);else for(const ye of this.composites)xe+=ye.write(xe,fe);return xe-ve}scale(xe){if(!this.header)return;const fe=(this.header.xMin+this.header.xMax)/2;if(this.header.scale(fe,xe),this.simple)this.simple.scale(fe,xe);else for(const ve of this.composites)ve.scale(fe,xe)}}class se{constructor(xe){let{numberOfContours:fe,xMin:ve,yMin:ye,xMax:Ce,yMax:pe}=xe;this.numberOfContours=fe,this.xMin=ve,this.yMin=ye,this.xMax=Ce,this.yMax=pe}static parse(xe,fe){return[10,new se({numberOfContours:fe.getInt16(xe),xMin:fe.getInt16(xe+2),yMin:fe.getInt16(xe+4),xMax:fe.getInt16(xe+6),yMax:fe.getInt16(xe+8)})]}getSize(){return 10}write(xe,fe){return fe.setInt16(xe,this.numberOfContours),fe.setInt16(xe+2,this.xMin),fe.setInt16(xe+4,this.yMin),fe.setInt16(xe+6,this.xMax),fe.setInt16(xe+8,this.yMax),10}scale(xe,fe){this.xMin=Math.round(xe+(this.xMin-xe)*fe),this.xMax=Math.round(xe+(this.xMax-xe)*fe)}}class oe{constructor(xe){let{flags:fe,xCoordinates:ve,yCoordinates:ye}=xe;this.xCoordinates=ve,this.yCoordinates=ye,this.flags=fe}}class me{constructor(xe){let{contours:fe,instructions:ve}=xe;this.contours=fe,this.instructions=ve}static parse(xe,fe,ve){const ye=[];for(let we=0;we255?xe+=2:Ae>0&&(xe+=1),fe=_e,Ae=Math.abs(Ge-ve),Ae>255?xe+=2:Ae>0&&(xe+=1),ve=Ge}}return xe}write(xe,fe){const ve=xe,ye=[],Ce=[],pe=[];let _e=0,Ge=0;for(const Ae of this.contours){for(let Ne=0,Ze=Ae.xCoordinates.length;Ne=0?R|z:R,ye.push(we)):ye.push(Fe)}_e=Te;const Pe=Ae.yCoordinates[Ne];if(Fe=Pe-Ge,Fe===0)ze|=e,Ce.push(0);else{const we=Math.abs(Fe);we<=255?(ze|=Fe>=0?U|e:U,Ce.push(we)):Ce.push(Fe)}Ge=Pe,pe.push(ze)}fe.setUint16(xe,ye.length-1),xe+=2}fe.setUint16(xe,this.instructions.length),xe+=2,this.instructions.length&&(new Uint8Array(fe.buffer,0,fe.buffer.byteLength).set(this.instructions,xe),xe+=this.instructions.length);for(const Ae of pe)fe.setUint8(xe++,Ae);for(let Ae=0,Ne=ye.length;Ae=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(xe+=2):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(xe+=2),xe}write(xe,fe){const ve=xe;return this.flags&he?this.argument1>=-128&&this.argument1<=127&&this.argument2>=-128&&this.argument2<=127||(this.flags|=ie):this.argument1>=0&&this.argument1<=255&&this.argument2>=0&&this.argument2<=255||(this.flags|=ie),fe.setUint16(xe,this.flags),fe.setUint16(xe+2,this.glyphIndex),xe+=4,this.flags&ie?(this.flags&he?(fe.setInt16(xe,this.argument1),fe.setInt16(xe+2,this.argument2)):(fe.setUint16(xe,this.argument1),fe.setUint16(xe+2,this.argument2)),xe+=4):(fe.setUint8(xe,this.argument1),fe.setUint8(xe+1,this.argument2),xe+=2),this.flags&Q&&(fe.setUint16(xe,this.instructions.length),xe+=2,this.instructions.length&&(new Uint8Array(fe.buffer,0,fe.buffer.byteLength).set(this.instructions,xe),xe+=this.instructions.length)),xe-ve}scale(xe,fe){}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.OpenTypeFileBuilder=void 0;var R=B(131),U=B(2);function K(J,W,X){J[W]=X>>8&255,J[W+1]=X&255}function z(J,W,X){J[W]=X>>24&255,J[W+1]=X>>16&255,J[W+2]=X>>8&255,J[W+3]=X&255}function e(J,W,X){if(X instanceof Uint8Array)J.set(X,W);else if(typeof X=="string")for(let L=0,Q=X.length;LL;)L<<=1,Q++;const ce=L*X;return{range:ce,entry:Q,rangeShift:X*W-ce}}toArray(){let W=this.sfnt;const X=this.tables,L=Object.keys(X);L.sort();const Q=L.length;let ce,de,se,oe,me,Ee=ae+Q*ie;const ke=[Ee];for(ce=0;ce>>0;Ee+=ve,ke.push(Ee)}const xe=new Uint8Array(Ee);for(ce=0;ce>>0}z(xe,Ee+4,ve),z(xe,Ee+8,ke[ce]),z(xe,Ee+12,X[me].length),Ee+=ie}return xe}addTable(W,X){if(W in this.tables)throw new Error("Table "+W+" already exists");this.tables[W]=X}}D.OpenTypeFileBuilder=he},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Type1Font=void 0;var R=B(160),U=B(163),K=B(131),z=B(135),e=B(174),ae=B(2);function ie(X,L,Q){const ce=X.length,de=L.length,se=ce-de;let oe=Q,me=!1;for(;oe=de){for(oe+=Ee;oe=0&&(de[me]=se)}return(0,U.type1FontGlyphMapping)(L,de,ce)}hasGlyphId(L){return L<0||L>=this.numGlyphs?!1:L===0?!0:this.charstrings[L-1].charstring.length>0}getSeacs(L){const Q=[];for(let ce=0,de=L.length;ce0;Ze--)Ne[Ze]-=Ne[Ze-1];Ce.setByName(Ae,Ne)}oe.topDict.privateDict=Ce;const _e=new R.CFFIndex;for(fe=0,ve=de.length;fe{Object.defineProperty(D,"__esModule",{value:!0}),D.Type1Parser=void 0;var R=B(162),U=B(131),K=B(135),z=B(2);const e=!1,ae={hstem:[1],vstem:[3],vmoveto:[4],rlineto:[5],hlineto:[6],vlineto:[7],rrcurveto:[8],callsubr:[10],flex:[12,35],drop:[12,18],endchar:[14],rmoveto:[21],hmoveto:[22],vhcurveto:[30],hvcurveto:[31]};class ie{constructor(){this.width=0,this.lsb=0,this.flexing=!1,this.output=[],this.stack=[]}convert(se,oe,me){const Ee=se.length;let ke=!1,xe,fe,ve;for(let ye=0;yeEe)return!0;const ke=Ee-se;for(let xe=ke;xe>8&255,fe&255):(fe=65536*fe|0,this.output.push(255,fe>>24&255,fe>>16&255,fe>>8&255,fe&255))}return this.output.push(...oe),me?this.stack.splice(ke,se):this.stack.length=0,!1}}const he=55665,J=4330;function W(de){return de>=48&&de<=57||de>=65&&de<=70||de>=97&&de<=102}function X(de,se,oe){if(oe>=de.length)return new Uint8Array(0);const me=52845,Ee=22719;let ke=se|0,xe,fe;for(xe=0;xe>8,ke=(Ce+ke)*me+Ee&65535}return ye}function L(de,se,oe){let ke=se|0;const xe=de.length,fe=xe>>>1,ve=new Uint8Array(fe);let ye,Ce;for(ye=0,Ce=0;ye>8,ke=(Ge+ke)*52845+22719&65535}}return ve.slice(oe,Ce)}function Q(de){return de===47||de===91||de===93||de===123||de===125||de===40||de===41}class ce{constructor(se,oe,me){if(oe){const Ee=se.getBytes(),ke=!((W(Ee[0])||(0,U.isWhiteSpace)(Ee[0]))&&W(Ee[1])&&W(Ee[2])&&W(Ee[3])&&W(Ee[4])&&W(Ee[5])&&W(Ee[6])&&W(Ee[7]));se=new K.Stream(ke?X(Ee,he,4):L(Ee,he,4))}this.seacAnalysisEnabled=!!me,this.stream=se,this.nextChar()}readNumberArray(){this.getToken();const se=[];for(;;){const oe=this.getToken();if(oe===null||oe==="]"||oe==="}")break;se.push(parseFloat(oe||0))}return se}readNumber(){const se=this.getToken();return parseFloat(se||0)}readInt(){const se=this.getToken();return parseInt(se||0,10)|0}readBoolean(){return this.getToken()==="true"?1:0}nextChar(){return this.currentChar=this.stream.getByte()}prevChar(){return this.stream.skip(-2),this.currentChar=this.stream.getByte()}getToken(){let se=!1,oe=this.currentChar;for(;;){if(oe===-1)return null;if(se)(oe===10||oe===13)&&(se=!1);else if(oe===37)se=!0;else if(!(0,U.isWhiteSpace)(oe))break;oe=this.nextChar()}if(Q(oe))return this.nextChar(),String.fromCharCode(oe);let me="";do me+=String.fromCharCode(oe),oe=this.nextChar();while(oe>=0&&!(0,U.isWhiteSpace)(oe)&&!Q(oe));return me}readCharStrings(se,oe){return oe===-1?se:X(se,J,oe)}extractFontProgram(se){const oe=this.stream,me=[],Ee=[],ke=Object.create(null);ke.lenIV=4;const xe={subrs:[],charstrings:[],properties:{privateData:ke}};let fe,ve,ye,Ce;for(;(fe=this.getToken())!==null;)if(fe==="/")switch(fe=this.getToken(),fe){case"CharStrings":for(this.getToken(),this.getToken(),this.getToken(),this.getToken();fe=this.getToken(),!(fe===null||fe==="end");){if(fe!=="/")continue;const _e=this.getToken();ve=this.readInt(),this.getToken(),ye=ve>0?oe.getBytes(ve):new Uint8Array(0),Ce=xe.properties.privateData.lenIV;const Ge=this.readCharStrings(ye,Ce);this.nextChar(),fe=this.getToken(),fe==="noaccess"?this.getToken():fe==="/"&&this.prevChar(),Ee.push({glyph:_e,encoded:Ge})}break;case"Subrs":for(this.readInt(),this.getToken();this.getToken()==="dup";){const _e=this.readInt();ve=this.readInt(),this.getToken(),ye=ve>0?oe.getBytes(ve):new Uint8Array(0),Ce=xe.properties.privateData.lenIV;const Ge=this.readCharStrings(ye,Ce);this.nextChar(),fe=this.getToken(),fe==="noaccess"&&this.getToken(),me[_e]=Ge}break;case"BlueValues":case"OtherBlues":case"FamilyBlues":case"FamilyOtherBlues":const pe=this.readNumberArray();pe.length>0&&pe.length%2===0&&e&&(xe.properties.privateData[fe]=pe);break;case"StemSnapH":case"StemSnapV":xe.properties.privateData[fe]=this.readNumberArray();break;case"StdHW":case"StdVW":xe.properties.privateData[fe]=this.readNumberArray()[0];break;case"BlueShift":case"lenIV":case"BlueFuzz":case"BlueScale":case"LanguageGroup":case"ExpansionFactor":xe.properties.privateData[fe]=this.readNumber();break;case"ForceBold":xe.properties.privateData[fe]=this.readBoolean();break}for(const{encoded:pe,glyph:_e}of Ee){const Ge=new ie,Ae=Ge.convert(pe,me,this.seacAnalysisEnabled);let Ne=Ge.output;Ae&&(Ne=[14]);const Ze={glyphName:_e,charstring:Ne,width:Ge.width,lsb:Ge.lsb,seac:Ge.seac};if(_e===".notdef"?xe.charstrings.unshift(Ze):xe.charstrings.push(Ze),se.builtInEncoding){const ze=se.builtInEncoding.indexOf(_e);ze>-1&&se.widths[ze]===void 0&&ze>=se.firstChar&&ze<=se.lastChar&&(se.widths[ze]=Ge.width)}}return xe}extractFontHeader(se){let oe;for(;(oe=this.getToken())!==null;)if(oe==="/")switch(oe=this.getToken(),oe){case"FontMatrix":const me=this.readNumberArray();se.fontMatrix=me;break;case"Encoding":const Ee=this.getToken();let ke;if(!/^\d+$/.test(Ee))ke=(0,R.getEncoding)(Ee);else{ke=[];const fe=parseInt(Ee,10)|0;this.getToken();for(let ve=0;ve{Object.defineProperty(D,"__esModule",{value:!0}),D.Pattern=void 0,D.getTilingPatternIR=Q;var R=B(2),U=B(132),K=B(139),z=B(131);const e={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7};class ae{constructor(){(0,R.unreachable)("Cannot initialize Pattern.")}static parseShading(de,se,oe,me,Ee,ke){const xe=de instanceof U.BaseStream?de.dict:de,fe=xe.get("ShadingType");try{switch(fe){case e.AXIAL:case e.RADIAL:return new he(xe,se,oe,Ee,ke);case e.FREE_FORM_MESH:case e.LATTICE_FORM_MESH:case e.COONS_PATCH_MESH:case e.TENSOR_PATCH_MESH:return new X(de,se,oe,Ee,ke);default:throw new R.FormatError("Unsupported ShadingType: "+fe)}}catch(ve){if(ve instanceof z.MissingDataException)throw ve;return me.send("UnsupportedFeature",{featureId:R.UNSUPPORTED_FEATURES.shadingPattern}),(0,R.warn)(ve),new L}}}D.Pattern=ae;class ie{static get SMALL_NUMBER(){return(0,R.shadow)(this,"SMALL_NUMBER",1e-6)}constructor(){this.constructor===ie&&(0,R.unreachable)("Cannot initialize BaseShading.")}getIR(){(0,R.unreachable)("Abstract method `getIR` called.")}}class he extends ie{constructor(de,se,oe,me,Ee){super(),this.coordsArr=de.getArray("Coords"),this.shadingType=de.get("ShadingType");const ke=K.ColorSpace.parse({cs:de.getRaw("CS")||de.getRaw("ColorSpace"),xref:se,resources:oe,pdfFunctionFactory:me,localColorSpaceCache:Ee}),xe=de.getArray("BBox");Array.isArray(xe)&&xe.length===4?this.bbox=R.Util.normalizeRect(xe):this.bbox=null;let fe=0,ve=1;if(de.has("Domain")){const Pe=de.getArray("Domain");fe=Pe[0],ve=Pe[1]}let ye=!1,Ce=!1;if(de.has("Extend")){const Pe=de.getArray("Extend");ye=Pe[0],Ce=Pe[1]}if(this.shadingType===e.RADIAL&&(!ye||!Ce)){const[Pe,we,Ie,Be,Ke,Ve]=this.coordsArr,je=Math.hypot(Pe-Be,we-Ke);Ie<=Ve+je&&Ve<=Ie+je&&(0,R.warn)("Unsupported radial gradient.")}this.extendStart=ye,this.extendEnd=Ce;const pe=de.getRaw("Function"),_e=me.createFromArray(pe),Ge=10,Ae=(ve-fe)/Ge,Ne=this.colorStops=[];if(fe>=ve||Ae<=0){(0,R.info)("Bad shading domain.");return}const Ze=new Float32Array(ke.numComps),ze=new Float32Array(1);let Te;for(let Pe=0;Pe<=Ge;Pe++){ze[0]=fe+Pe*Ae,_e(ze,0,Ze,0),Te=ke.getRgb(Ze,0);const we=R.Util.makeHexColor(Te[0],Te[1],Te[2]);Ne.push([Pe/Ge,we])}let Fe="transparent";de.has("Background")&&(Te=ke.getRgb(de.get("Background"),0),Fe=R.Util.makeHexColor(Te[0],Te[1],Te[2])),ye||(Ne.unshift([0,Fe]),Ne[1][0]+=ie.SMALL_NUMBER),Ce||(Ne.at(-1)[0]-=ie.SMALL_NUMBER,Ne.push([1,Fe])),this.colorStops=Ne}getIR(){const de=this.coordsArr,se=this.shadingType;let oe,me,Ee,ke,xe;return se===e.AXIAL?(me=[de[0],de[1]],Ee=[de[2],de[3]],ke=null,xe=null,oe="axial"):se===e.RADIAL?(me=[de[0],de[1]],Ee=[de[3],de[4]],ke=de[2],xe=de[5],oe="radial"):(0,R.unreachable)(`getPattern type unknown: ${se}`),["RadialAxial",oe,this.bbox,this.colorStops,me,Ee,ke,xe]}}class J{constructor(de,se){this.stream=de,this.context=se,this.buffer=0,this.bufferLength=0;const oe=se.numComps;this.tmpCompsBuf=new Float32Array(oe);const me=se.colorSpace.numComps;this.tmpCsCompsBuf=se.colorFn?new Float32Array(me):this.tmpCompsBuf}get hasData(){if(this.stream.end)return this.stream.pos0)return!0;const de=this.stream.getByte();return de<0?!1:(this.buffer=de,this.bufferLength=8,!0)}readBits(de){let se=this.buffer,oe=this.bufferLength;if(de===32){if(oe===0)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;se=se<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();const me=this.stream.getByte();return this.buffer=me&(1<>oe)>>>0}if(de===8&&oe===0)return this.stream.getByte();for(;oe>oe}align(){this.buffer=0,this.bufferLength=0}readFlag(){return this.readBits(this.context.bitsPerFlag)}readCoordinate(){const de=this.context.bitsPerCoordinate,se=this.readBits(de),oe=this.readBits(de),me=this.context.decode,Ee=de<32?1/((1<xe?xe:de,se=se>fe?fe:se,oe=oe{Object.defineProperty(D,"__esModule",{value:!0}),D.getXfaFontDict=L,D.getXfaFontName=W;var R=B(177),U=B(130),K=B(178),z=B(179),e=B(180),ae=B(181),ie=B(131),he=B(163);const J=(0,ie.getLookupTableFactory)(function(Q){Q["MyriadPro-Regular"]=Q["PdfJS-Fallback-Regular"]={name:"LiberationSans-Regular",factors:e.MyriadProRegularFactors,baseWidths:z.LiberationSansRegularWidths,baseMapping:z.LiberationSansRegularMapping,metrics:e.MyriadProRegularMetrics},Q["MyriadPro-Bold"]=Q["PdfJS-Fallback-Bold"]={name:"LiberationSans-Bold",factors:e.MyriadProBoldFactors,baseWidths:z.LiberationSansBoldWidths,baseMapping:z.LiberationSansBoldMapping,metrics:e.MyriadProBoldMetrics},Q["MyriadPro-It"]=Q["MyriadPro-Italic"]=Q["PdfJS-Fallback-Italic"]={name:"LiberationSans-Italic",factors:e.MyriadProItalicFactors,baseWidths:z.LiberationSansItalicWidths,baseMapping:z.LiberationSansItalicMapping,metrics:e.MyriadProItalicMetrics},Q["MyriadPro-BoldIt"]=Q["MyriadPro-BoldItalic"]=Q["PdfJS-Fallback-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:e.MyriadProBoldItalicFactors,baseWidths:z.LiberationSansBoldItalicWidths,baseMapping:z.LiberationSansBoldItalicMapping,metrics:e.MyriadProBoldItalicMetrics},Q.ArialMT=Q.Arial=Q["Arial-Regular"]={name:"LiberationSans-Regular",baseWidths:z.LiberationSansRegularWidths,baseMapping:z.LiberationSansRegularMapping},Q["Arial-BoldMT"]=Q["Arial-Bold"]={name:"LiberationSans-Bold",baseWidths:z.LiberationSansBoldWidths,baseMapping:z.LiberationSansBoldMapping},Q["Arial-ItalicMT"]=Q["Arial-Italic"]={name:"LiberationSans-Italic",baseWidths:z.LiberationSansItalicWidths,baseMapping:z.LiberationSansItalicMapping},Q["Arial-BoldItalicMT"]=Q["Arial-BoldItalic"]={name:"LiberationSans-BoldItalic",baseWidths:z.LiberationSansBoldItalicWidths,baseMapping:z.LiberationSansBoldItalicMapping},Q["Calibri-Regular"]={name:"LiberationSans-Regular",factors:R.CalibriRegularFactors,baseWidths:z.LiberationSansRegularWidths,baseMapping:z.LiberationSansRegularMapping,metrics:R.CalibriRegularMetrics},Q["Calibri-Bold"]={name:"LiberationSans-Bold",factors:R.CalibriBoldFactors,baseWidths:z.LiberationSansBoldWidths,baseMapping:z.LiberationSansBoldMapping,metrics:R.CalibriBoldMetrics},Q["Calibri-Italic"]={name:"LiberationSans-Italic",factors:R.CalibriItalicFactors,baseWidths:z.LiberationSansItalicWidths,baseMapping:z.LiberationSansItalicMapping,metrics:R.CalibriItalicMetrics},Q["Calibri-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:R.CalibriBoldItalicFactors,baseWidths:z.LiberationSansBoldItalicWidths,baseMapping:z.LiberationSansBoldItalicMapping,metrics:R.CalibriBoldItalicMetrics},Q["Segoeui-Regular"]={name:"LiberationSans-Regular",factors:ae.SegoeuiRegularFactors,baseWidths:z.LiberationSansRegularWidths,baseMapping:z.LiberationSansRegularMapping,metrics:ae.SegoeuiRegularMetrics},Q["Segoeui-Bold"]={name:"LiberationSans-Bold",factors:ae.SegoeuiBoldFactors,baseWidths:z.LiberationSansBoldWidths,baseMapping:z.LiberationSansBoldMapping,metrics:ae.SegoeuiBoldMetrics},Q["Segoeui-Italic"]={name:"LiberationSans-Italic",factors:ae.SegoeuiItalicFactors,baseWidths:z.LiberationSansItalicWidths,baseMapping:z.LiberationSansItalicMapping,metrics:ae.SegoeuiItalicMetrics},Q["Segoeui-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:ae.SegoeuiBoldItalicFactors,baseWidths:z.LiberationSansBoldItalicWidths,baseMapping:z.LiberationSansBoldItalicMapping,metrics:ae.SegoeuiBoldItalicMetrics},Q["Helvetica-Regular"]=Q.Helvetica={name:"LiberationSans-Regular",factors:K.HelveticaRegularFactors,baseWidths:z.LiberationSansRegularWidths,baseMapping:z.LiberationSansRegularMapping,metrics:K.HelveticaRegularMetrics},Q["Helvetica-Bold"]={name:"LiberationSans-Bold",factors:K.HelveticaBoldFactors,baseWidths:z.LiberationSansBoldWidths,baseMapping:z.LiberationSansBoldMapping,metrics:K.HelveticaBoldMetrics},Q["Helvetica-Italic"]={name:"LiberationSans-Italic",factors:K.HelveticaItalicFactors,baseWidths:z.LiberationSansItalicWidths,baseMapping:z.LiberationSansItalicMapping,metrics:K.HelveticaItalicMetrics},Q["Helvetica-BoldItalic"]={name:"LiberationSans-BoldItalic",factors:K.HelveticaBoldItalicFactors,baseWidths:z.LiberationSansBoldItalicWidths,baseMapping:z.LiberationSansBoldItalicMapping,metrics:K.HelveticaBoldItalicMetrics}});function W(Q){const ce=(0,he.normalizeFontName)(Q);return J()[ce]}function X(Q){const ce=W(Q);if(!ce)return null;const{baseWidths:de,baseMapping:se,factors:oe}=ce;let me;oe?me=de.map((fe,ve)=>fe*oe[ve]):me=de;let Ee=-2,ke;const xe=[];for(const[fe,ve]of se.map((ye,Ce)=>[ye,Ce]).sort((ye,Ce)=>{let[pe]=ye,[_e]=Ce;return pe-_e}))fe!==-1&&(fe===Ee+1?(ke.push(me[ve]),Ee+=1):(Ee=fe,ke=[me[ve]],xe.push(fe,ke)));return xe}function L(Q){const ce=X(Q),de=new U.Dict(null);de.set("BaseFont",U.Name.get(Q)),de.set("Type",U.Name.get("Font")),de.set("Subtype",U.Name.get("CIDFontType2")),de.set("Encoding",U.Name.get("Identity-H")),de.set("CIDToGIDMap",U.Name.get("Identity")),de.set("W",ce),de.set("FirstChar",ce[0]),de.set("LastChar",ce.at(-2)+ce.at(-1).length-1);const se=new U.Dict(null);de.set("FontDescriptor",se);const oe=new U.Dict(null);return oe.set("Ordering","Identity"),oe.set("Registry","Adobe"),oe.set("Supplement",0),de.set("CIDSystemInfo",oe),de}},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CalibriRegularMetrics=D.CalibriRegularFactors=D.CalibriItalicMetrics=D.CalibriItalicFactors=D.CalibriBoldMetrics=D.CalibriBoldItalicMetrics=D.CalibriBoldItalicFactors=D.CalibriBoldFactors=void 0;const B=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.54657,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.73293,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.9121,.86943,.79795,.88198,.77958,.70864,.81055,.90399,.88653,.96017,.82577,.77892,.78257,.97507,1.54657,.97507,.85284,.89552,.90176,.88762,.8785,.75241,.8785,.90518,.95015,.77618,.8785,.88401,.91916,.86304,.88401,.91488,.8785,.8801,.8785,.8785,.91343,.7173,1.04106,.8785,.85075,.95794,.82616,.85162,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.12401,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.73293,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.9121,.86943,.86943,.86943,.86943,.86943,.85284,.87508,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.88762,.88762,.88762,.88762,.88762,.88762,.8715,.75241,.90518,.90518,.90518,.90518,.88401,.88401,.88401,.88401,.8785,.8785,.8801,.8801,.8801,.8801,.8801,.90747,.89049,.8785,.8785,.8785,.8785,.85162,.8785,.85162,.83908,.88762,.83908,.88762,.83908,.88762,.73293,.75241,.73293,.75241,.73293,.75241,.73293,.75241,.87289,.83016,.88506,.93125,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.73133,.90518,.81921,.77618,.81921,.77618,.81921,.77618,1,1,.87356,.8785,.91075,.89608,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76229,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.79468,.91926,.88175,.70823,.94903,.9121,.8785,1,1,.9121,.8785,.87802,.88656,.8785,.86943,.8801,.86943,.8801,.86943,.8801,.87402,.89291,.77958,.91343,1,1,.77958,.91343,.70864,.7173,.70864,.7173,.70864,.7173,.70864,.7173,1,1,.81055,.75841,.81055,1.06452,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.90399,.8785,.96017,.95794,.77892,.85162,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.88762,.77539,.8715,.87508,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70674,.98387,.94721,1.33431,1.45894,.95161,1.06303,.83908,.80352,.57184,.6965,.56289,.82001,.56029,.81235,1.02988,.83908,.7762,.68156,.80367,.73133,.78257,.87356,.86943,.95958,.75727,.89019,1.04924,.9121,.7648,.86943,.87356,.79795,.78275,.81055,.77892,.9762,.82577,.99819,.84896,.95958,.77892,.96108,1.01407,.89049,1.02988,.94211,.96108,.8936,.84021,.87842,.96399,.79109,.89049,1.00813,1.02988,.86077,.87445,.92099,.84723,.86513,.8801,.75638,.85714,.78216,.79586,.87965,.94211,.97747,.78287,.97926,.84971,1.02988,.94211,.8801,.94211,.84971,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90264,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.90518,1,1,1,1,1,1,1,1,1,1,1,1,.90548,1,1,1,1,1,1,.96017,.95794,.96017,.95794,.96017,.95794,.77892,.85162,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.92794,.87012,.87012,.87012,.89552,.89552,1.42259,.71143,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.93835,.83406,.91133,.84107,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90527,1.81055,.90527,1.81055,1.31006,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.CalibriBoldFactors=B;const R={lineHeight:1.2207,lineGap:.2207};D.CalibriBoldMetrics=R;const U=[1.3877,1,1,1,.97801,.92482,.89552,.91133,.81988,.97566,.98152,.93548,.93548,1.2798,.85284,.92794,1,.96134,1.56239,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.82845,.82845,.85284,.85284,.85284,.75859,.92138,.83908,.7762,.71805,.87289,.73133,.7514,.81921,.87356,.95958,.59526,.75727,.69225,1.04924,.90872,.85938,.79795,.87068,.77958,.69766,.81055,.90399,.88653,.96068,.82577,.77892,.78257,.97507,1.529,.97507,.85284,.89552,.90176,.94908,.86411,.74012,.86411,.88323,.95015,.86411,.86331,.88401,.91916,.86304,.88401,.9039,.86331,.86331,.86411,.86411,.90464,.70852,1.04106,.86331,.84372,.95794,.82616,.84548,.79492,.88331,1.69808,.88331,.85284,.97801,.89552,.91133,.89552,.91133,1.7801,.89552,1.24487,1.13254,1.19129,.96839,.85284,.68787,.70645,.85592,.90747,1.01466,1.0088,.90323,1,1.07463,1,.91056,.75806,1.19118,.96839,.78864,.82845,.84133,.75859,.83908,.83908,.83908,.83908,.83908,.83908,.77539,.71805,.73133,.73133,.73133,.73133,.95958,.95958,.95958,.95958,.88506,.90872,.85938,.85938,.85938,.85938,.85938,.85284,.87068,.90399,.90399,.90399,.90399,.77892,.79795,.90807,.94908,.94908,.94908,.94908,.94908,.94908,.85887,.74012,.88323,.88323,.88323,.88323,.88401,.88401,.88401,.88401,.8785,.86331,.86331,.86331,.86331,.86331,.86331,.90747,.89049,.86331,.86331,.86331,.86331,.84548,.86411,.84548,.83908,.94908,.83908,.94908,.83908,.94908,.71805,.74012,.71805,.74012,.71805,.74012,.71805,.74012,.87289,.79538,.88506,.92726,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.73133,.88323,.81921,.86411,.81921,.86411,.81921,.86411,1,1,.87356,.86331,.91075,.8777,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.95958,.88401,.76467,.90167,.59526,.91916,1,1,.86304,.69225,.88401,1,1,.70424,.77312,.91926,.88175,.70823,.94903,.90872,.86331,1,1,.90872,.86331,.86906,.88116,.86331,.85938,.86331,.85938,.86331,.85938,.86331,.87402,.86549,.77958,.90464,1,1,.77958,.90464,.69766,.70852,.69766,.70852,.69766,.70852,.69766,.70852,1,1,.81055,.75841,.81055,1.06452,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.90399,.86331,.96068,.95794,.77892,.84548,.77892,.78257,.79492,.78257,.79492,.78257,.79492,.9297,.56892,.83908,.94908,.77539,.85887,.87068,.89049,1,1,.81055,1.04106,1.20528,1.20528,1,1.15543,.70088,.98387,.94721,1.33431,1.45894,.95161,1.48387,.83908,.80352,.57118,.6965,.56347,.79179,.55853,.80346,1.02988,.83908,.7762,.67174,.86036,.73133,.78257,.87356,.86441,.95958,.75727,.89019,1.04924,.90872,.74889,.85938,.87891,.79795,.7957,.81055,.77892,.97447,.82577,.97466,.87179,.95958,.77892,.94252,.95612,.8753,1.02988,.92733,.94252,.87411,.84021,.8728,.95612,.74081,.8753,1.02189,1.02988,.84814,.87445,.91822,.84723,.85668,.86331,.81344,.87581,.76422,.82046,.96057,.92733,.99375,.78022,.95452,.86015,1.02988,.92733,.86331,.92733,.86015,.73133,1,1,1,1,1,1,1,1,1,1,1,1,.90631,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.88323,1,1,1,1,1,1,1,1,1,1,1,1,.85174,1,1,1,1,1,1,.96068,.95794,.96068,.95794,.96068,.95794,.77892,.84548,1,1,.89552,.90527,1,.90363,.92794,.92794,.92794,.89807,.87012,.87012,.87012,.89552,.89552,1.42259,.71094,1.06152,1,1,1.03372,1.03372,.97171,1.4956,2.2807,.92972,.83406,.91133,.83326,.91133,1,1,1,.72021,1,1.23108,.83489,.88525,.88525,.81499,.90616,1.81055,.90527,1.81055,1.3107,1.53711,.94434,1.08696,1,.95018,.77192,.85284,.90747,1.17534,.69825,.9716,1.37077,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.08004,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,.90727,.90727,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.CalibriBoldItalicFactors=U;const K={lineHeight:1.2207,lineGap:.2207};D.CalibriBoldItalicMetrics=K;const z=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39543,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.72346,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89249,.84118,.77452,.85374,.75186,.67789,.79776,.88844,.85066,.94309,.77818,.7306,.76659,1.10369,1.38313,1.10369,1.06139,.89552,.8739,.9245,.9245,.83203,.9245,.85865,1.09842,.9245,.9245,1.03297,1.07692,.90918,1.03297,.94959,.9245,.92274,.9245,.9245,1.02933,.77832,1.20562,.9245,.8916,.98986,.86621,.89453,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.16359,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.72346,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89249,.84118,.84118,.84118,.84118,.84118,.85284,.84557,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.9245,.9245,.9245,.9245,.9245,.9245,.84843,.83203,.85865,.85865,.85865,.85865,.82601,.82601,.82601,.82601,.94469,.9245,.92274,.92274,.92274,.92274,.92274,.90747,.86651,.9245,.9245,.9245,.9245,.89453,.9245,.89453,.8675,.9245,.8675,.9245,.8675,.9245,.72346,.83203,.72346,.83203,.72346,.83203,.72346,.83203,.85193,.8875,.86477,.99034,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.73206,.85865,.81105,.9245,.81105,.9245,.81105,.9245,1,1,.86275,.9245,.90872,.93591,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77896,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.9375,.98156,.93407,.77261,1.11429,.89249,.9245,1,1,.89249,.9245,.92534,.86698,.9245,.84118,.92274,.84118,.92274,.84118,.92274,.8667,.86291,.75186,1.02933,1,1,.75186,1.02933,.67789,.77832,.67789,.77832,.67789,.77832,.67789,.77832,1,1,.79776,.97655,.79776,1.23023,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.88844,.9245,.94309,.98986,.7306,.89453,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.9245,.76318,.84843,.84557,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67009,.96334,.93695,1.35191,1.40909,.95161,1.48387,.8675,.90861,.6192,.7363,.64824,.82411,.56321,.85696,1.23516,.8675,.81552,.7286,.84134,.73206,.76659,.86275,.84369,.90685,.77892,.85871,1.02638,.89249,.75828,.84118,.85984,.77452,.76466,.79776,.7306,.90782,.77818,.903,.87291,.90685,.7306,.99058,1.03667,.94635,1.23516,.9849,.99058,.92393,.8916,.942,1.03667,.75026,.94635,1.0297,1.23516,.90918,.94048,.98217,.89746,.84153,.92274,.82507,.88832,.84438,.88178,1.03525,.9849,1.00225,.78086,.97248,.89404,1.23516,.9849,.92274,.9849,.89404,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.89693,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.85865,1,1,1,1,1,1,1,1,1,1,1,1,.90933,1,1,1,1,1,1,.94309,.98986,.94309,.98986,.94309,.98986,.7306,.89453,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.68994,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.97858,.82616,.91133,.83437,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90572,1.81055,.90749,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85284,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.CalibriItalicFactors=z;const e={lineHeight:1.2207,lineGap:.2207};D.CalibriItalicMetrics=e;const ae=[1.3877,1,1,1,1.17223,1.1293,.89552,.91133,.80395,1.02269,1.15601,.91056,.91056,1.2798,.85284,.89807,1,.90861,1.39016,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.91133,.96309,.96309,.85284,.85284,.85284,.83319,.88071,.8675,.81552,.73834,.85193,.73206,.7522,.81105,.86275,.90685,.6377,.77892,.75593,1.02638,.89385,.85122,.77452,.86503,.75186,.68887,.79776,.88844,.85066,.94258,.77818,.7306,.76659,1.10369,1.39016,1.10369,1.06139,.89552,.8739,.86128,.94469,.8457,.94469,.89464,1.09842,.84636,.94469,1.03297,1.07692,.90918,1.03297,.95897,.94469,.9482,.94469,.94469,1.04692,.78223,1.20562,.94469,.90332,.98986,.86621,.90527,.79004,.94152,1.77256,.94152,.85284,.97801,.89552,.91133,.89552,.91133,1.91729,.89552,1.17889,1.13254,1.08707,.92098,.85284,.68787,.71353,.84737,.90747,1.0088,1.0044,.87683,1,1.09091,1,.92229,.739,1.15642,.92098,.76288,.80504,.80972,.75859,.8675,.8675,.8675,.8675,.8675,.8675,.76318,.73834,.73206,.73206,.73206,.73206,.90685,.90685,.90685,.90685,.86477,.89385,.85122,.85122,.85122,.85122,.85122,.85284,.85311,.88844,.88844,.88844,.88844,.7306,.77452,.86331,.86128,.86128,.86128,.86128,.86128,.86128,.8693,.8457,.89464,.89464,.89464,.89464,.82601,.82601,.82601,.82601,.94469,.94469,.9482,.9482,.9482,.9482,.9482,.90747,.86651,.94469,.94469,.94469,.94469,.90527,.94469,.90527,.8675,.86128,.8675,.86128,.8675,.86128,.73834,.8457,.73834,.8457,.73834,.8457,.73834,.8457,.85193,.92454,.86477,.9921,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.73206,.89464,.81105,.84636,.81105,.84636,.81105,.84636,1,1,.86275,.94469,.90872,.95786,.90685,.82601,.90685,.82601,.90685,.82601,.90685,1.03297,.90685,.82601,.77741,1.05611,.6377,1.07692,1,1,.90918,.75593,1.03297,1,1,.76032,.90452,.98156,1.11842,.77261,1.11429,.89385,.94469,1,1,.89385,.94469,.95877,.86901,.94469,.85122,.9482,.85122,.9482,.85122,.9482,.8667,.90016,.75186,1.04692,1,1,.75186,1.04692,.68887,.78223,.68887,.78223,.68887,.78223,.68887,.78223,1,1,.79776,.92188,.79776,1.23023,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.88844,.94469,.94258,.98986,.7306,.90527,.7306,.76659,.79004,.76659,.79004,.76659,.79004,1.09231,.54873,.8675,.86128,.76318,.8693,.85311,.86651,1,1,.79776,1.20562,1.18622,1.18622,1,1.1437,.67742,.96334,.93695,1.35191,1.40909,.95161,1.48387,.86686,.90861,.62267,.74359,.65649,.85498,.56963,.88254,1.23516,.8675,.81552,.75443,.84503,.73206,.76659,.86275,.85122,.90685,.77892,.85746,1.02638,.89385,.75657,.85122,.86275,.77452,.74171,.79776,.7306,.95165,.77818,.89772,.88831,.90685,.7306,.98142,1.02191,.96576,1.23516,.99018,.98142,.9236,.89258,.94035,1.02191,.78848,.96576,.9561,1.23516,.90918,.92578,.95424,.89746,.83969,.9482,.80113,.89442,.85208,.86155,.98022,.99018,1.00452,.81209,.99247,.89181,1.23516,.99018,.9482,.99018,.89181,.73206,1,1,1,1,1,1,1,1,1,1,1,1,.88844,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89464,1,1,1,1,1,1,1,1,1,1,1,1,.96766,1,1,1,1,1,1,.94258,.98986,.94258,.98986,.94258,.98986,.7306,.90527,1,1,.89552,.90527,1,.90186,1.12308,1.12308,1.12308,1.12308,1.2566,1.2566,1.2566,.89552,.89552,1.42259,.69043,1.03809,1,1,1.0176,1.0176,1.11523,1.4956,2.01462,.99331,.82616,.91133,.84286,.91133,1,1,1,.70508,1,1.23108,.79801,.84426,.84426,.774,.90527,1.81055,.90527,1.81055,1.28809,1.55469,.94434,1.07806,1,.97094,.7589,.85284,.90747,1.19658,.69825,.97622,1.33512,.90747,.90747,.85356,.90747,.90747,1.44947,.85284,.8941,.8941,.70572,.8,.70572,.70572,.70572,.70572,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.99862,.99862,1,1,1,1,1,1.0336,.91027,1,1,1,.99862,1,1,1,1,1,1,1,1,1,1,1,1,1.05859,1.05859,1,1,1,1.07185,.99413,.96334,1.08065,1,1,1,1,1,1,1,1,1,1,1];D.CalibriRegularFactors=ae;const ie={lineHeight:1.2207,lineGap:.2207};D.CalibriRegularMetrics=ie},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.HelveticaRegularMetrics=D.HelveticaRegularFactors=D.HelveticaItalicMetrics=D.HelveticaItalicFactors=D.HelveticaBoldMetrics=D.HelveticaBoldItalicMetrics=D.HelveticaBoldItalicFactors=D.HelveticaBoldFactors=void 0;const B=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.03374,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.00042,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.03828,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00034,.99977,1,.99997,1.00026,1.00078,1.00036,.99973,1.00013,1.0006,.99977,.99977,.99988,.85148,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,1.00069,1.00022,.99977,1.00001,.99984,1.00026,1.00001,1.00024,1.00001,.9999,1,1.0006,1.00001,1.00041,.99962,1.00026,1.0006,.99995,1.00041,.99942,.99973,.99927,1.00082,.99902,1.00026,1.00087,1.0006,1.00069,.99973,.99867,.99973,.9993,1.00026,1.00049,1.00056,1,.99988,.99935,.99995,.99954,1.00055,.99945,1.00032,1.0006,.99995,1.00026,.99995,1.00032,1.00001,1.00008,.99971,1.00019,.9994,1.00001,1.0006,1.00044,.99973,1.00023,1.00047,1,.99942,.99561,.99989,1.00035,.99977,1.00035,.99977,1.00019,.99944,1.00001,1.00021,.99926,1.00035,1.00035,.99942,1.00048,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.99989,1.00057,1.00001,.99936,1.00052,1.00012,.99996,1.00043,1,1.00035,.9994,.99976,1.00035,.99973,1.00052,1.00041,1.00119,1.00037,.99973,1.00002,.99986,1.00041,1.00041,.99902,.9996,1.00034,.99999,1.00026,.99999,1.00026,.99973,1.00052,.99973,1,.99973,1.00041,1.00075,.9994,1.0003,.99999,1,1.00041,.99955,1,.99915,.99973,.99973,1.00026,1.00119,.99955,.99973,1.0006,.99911,1.0006,1.00026,.99972,1.00026,.99902,1.00041,.99973,.99999,1,1,1.00038,1.0005,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,1.00047,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];D.HelveticaBoldFactors=B;const R={lineHeight:1.2,lineGap:.2};D.HelveticaBoldMetrics=R;const U=[.76116,1,1,1.0006,.99998,.99974,.99973,.99973,.99982,.99977,1.00087,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99998,1,1.00003,1.00003,1.00003,1.00026,.9999,.99977,.99977,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,.99973,.99977,1.00026,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,.99998,1.0006,.99998,1.00003,.99973,.99998,.99973,1.00026,.99973,1.00026,.99973,.99998,1.00026,1.00026,1.0006,1.0006,.99973,1.0006,.99982,1.00026,1.00026,1.00026,1.00026,.99959,.99973,.99998,1.00026,.99973,1.00022,.99973,.99973,1,.99959,1.00077,.99959,1.00003,.99998,.99973,.99973,.99973,.99973,1.00077,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.99973,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,.99977,.99977,.99977,.99977,.99977,.99977,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,.99973,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.00026,1.06409,1.00026,1.00026,1.00026,1.00026,1.00026,.99973,1.00026,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,1.0044,.99977,1.00026,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,.99977,1.00026,.99977,1.00026,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99971,.99973,.99973,1.0006,.99977,.99973,.99973,1.00026,1.0006,1.00026,1.0006,1.00026,1.01011,1.00026,.99999,1.00026,1.0006,.99977,1.00026,.99977,1.00026,.99977,1.00026,.9993,.9998,1.00026,1.00022,1.00026,1.00022,1.00026,1.00022,1.00026,1,1.00016,.99977,.99959,.99977,.99959,.99977,.99959,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00026,.99998,1.00026,.8121,1.00026,.99998,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,.99977,1.00026,1.00016,1.00022,1.00001,.99973,1.00001,1.00026,1,1.00026,1,1.00026,1,1.0006,.99973,.99977,.99973,1,.99982,1.00022,1.00026,1.00001,.99973,1.00026,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99977,1,1,1.00026,.99969,.99972,.99981,.9998,1.0006,.99977,.99977,1.00022,.91155,1.00001,1.00026,.99977,1.00022,1.0006,.99977,1.00001,.99999,.99977,.99966,1.00022,1.00032,1.00001,.99944,1.00026,1.00001,.99968,1.00001,1.00047,1,1.0006,1.00001,.99981,1.00101,1.00026,1.0006,.99948,.99981,1.00064,.99973,.99942,1.00101,1.00061,1.00026,1.00069,1.0006,1.00014,.99973,1.01322,.99973,1.00065,1.00026,1.00012,.99923,1,1.00064,1.00076,.99948,1.00055,1.00063,1.00007,.99943,1.0006,.99948,1.00026,.99948,.99943,1.00001,1.00001,1.00029,1.00038,1.00035,1.00001,1.0006,1.0006,.99973,.99978,1.00001,1.00057,.99989,.99967,.99964,.99967,.99977,.99999,.99977,1.00038,.99977,1.00001,.99973,1.00066,.99967,.99967,1.00041,.99998,.99999,.99977,1.00022,.99967,1.00001,.99977,1.00026,.99964,1.00031,1.00001,.99999,.99999,1,1.00023,1,1,.99999,1.00035,1.00001,.99999,.99973,.99977,.99999,1.00058,.99973,.99973,.99955,.9995,1.00026,1.00026,1.00032,.99989,1.00034,.99999,1.00026,1.00026,1.00026,.99973,.45998,.99973,1.00026,.99973,1.00001,.99999,.99982,.99994,.99996,1,1.00042,1.00044,1.00029,1.00023,.99973,.99973,1.00026,.99949,1.00002,.99973,1.0006,1.0006,1.0006,.99975,1.00026,1.00026,1.00032,.98685,.99973,1.00026,1,1,.99966,1.00044,1.00016,1.00022,1.00016,1.00022,1.00016,1.00022,1.00001,.99973,1,1,.99973,1,1,.99955,1.0006,1.0006,1.0006,1.0006,1,1,1,.99973,.99973,.99972,1,1,1.00106,.99999,.99998,.99998,.99999,.99998,1.66475,1,.99973,.99973,1,.99973,.99971,.99978,1,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00098,1,1,1,1.00049,1,1,.99972,1,1.20985,1.39713,1.00003,1.00031,1.00015,1,.99561,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.99972,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];D.HelveticaBoldItalicFactors=U;const K={lineHeight:1.35,lineGap:.2};D.HelveticaBoldItalicMetrics=K;const z=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.0288,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,.99946,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.06311,.99973,1.00024,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,1.00041,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.89547,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,1.00001,1,1.00054,.99977,1.00084,1.00007,.99973,1.00013,.99924,1.00001,1.00001,.99945,.91221,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00001,.99999,.99977,.99933,1.00022,1.00054,1.00001,1.00065,1.00026,1.00001,1.0001,1.00001,1.00052,1,1.0006,1.00001,.99945,.99897,.99968,.99924,1.00036,.99945,.99949,1,1.0006,.99897,.99918,.99968,.99911,.99924,1,.99962,1.01487,1,1.0005,.99973,1.00012,1.00043,1,.99995,.99994,1.00036,.99947,1.00019,1.00063,1.00025,.99924,1.00036,.99973,1.00036,1.00025,1.00001,1.00001,1.00027,1.0001,1.00068,1.00001,1.0006,1.0006,1,1.00008,.99957,.99972,.9994,.99954,.99975,1.00051,1.00001,1.00019,1.00001,1.0001,.99986,1.00001,1.00001,1.00038,.99954,.99954,.9994,1.00066,.99999,.99977,1.00022,1.00054,1.00001,.99977,1.00026,.99975,1.0001,1.00001,.99993,.9995,.99955,1.00016,.99978,.99974,1.00019,1.00022,.99955,1.00053,.99973,1.00089,1.00005,.99967,1.00048,.99973,1.00002,1.00034,.99973,.99973,.99964,1.00006,1.00066,.99947,.99973,.98894,.99973,1,.44898,1,.99946,1,1.00039,1.00082,.99991,.99991,.99985,1.00022,1.00023,1.00061,1.00006,.99966,.99973,.99973,.99973,1.00019,1.0008,1,.99924,.99924,.99924,.99983,1.00044,.99973,.99964,.98332,1,.99973,1,1,.99962,.99895,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,1.00423,.99925,.99999,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1.00049,1,1.00245,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,1.00003,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,.99998,.99998,.99998,.99998,1,1,1,1,1,1,1,1,1,1,1];D.HelveticaItalicFactors=z;const e={lineHeight:1.35,lineGap:.2};D.HelveticaItalicMetrics=e;const ae=[.76116,1,1,1.0006,1.0006,1.00006,.99973,.99973,.99982,1.00001,1.00043,.99998,.99998,.99959,1.00003,1.0006,.99998,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.0006,1,1.00003,1.00003,1.00003,.99973,.99987,1.00001,1.00001,.99977,.99977,1.00001,1.00026,1.00022,.99977,1.0006,1,1.00001,.99973,.99999,.99977,1.00022,1.00001,1.00022,.99977,1.00001,1.00026,.99977,1.00001,1.00016,1.00001,1.00001,1.00026,1.0006,1.0006,1.0006,.99949,.99973,.99998,.99973,.99973,1,.99973,.99973,1.0006,.99973,.99973,.99924,.99924,1,.99924,.99999,.99973,.99973,.99973,.99973,.99998,1,1.0006,.99973,1,.99977,1,1,1,1.00005,1.0009,1.00005,1.00003,.99998,.99973,.99973,.99973,.99973,1.0009,.99973,.99998,1.00025,.99968,.99973,1.00003,1.00025,.60299,1.00024,1.06409,1,1,.99998,1,.9998,1.0006,.99998,1,.99936,.99973,1.00002,1.00002,1.00002,1.00026,1.00001,1.00001,1.00001,1.00001,1.00001,1.00001,1,.99977,1.00001,1.00001,1.00001,1.00001,1.0006,1.0006,1.0006,1.0006,.99977,.99977,1.00022,1.00022,1.00022,1.00022,1.00022,1.00003,1.00022,.99977,.99977,.99977,.99977,1.00001,1.00001,1.00026,.99973,.99973,.99973,.99973,.99973,.99973,.99982,1,.99973,.99973,.99973,.99973,1.0006,1.0006,1.0006,1.0006,.99973,.99973,.99973,.99973,.99973,.99973,.99973,1.06409,1.00026,.99973,.99973,.99973,.99973,1,.99973,1,1.00001,.99973,1.00001,.99973,1.00001,.99973,.99977,1,.99977,1,.99977,1,.99977,1,.99977,1.04596,.99977,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00001,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,.99977,.99973,.99977,.99973,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,1.0006,.99924,1.0006,1.0006,1.00019,1.00034,1,.99924,1.00001,1,1,.99973,.99924,.99973,.99924,.99973,1.02572,.99973,1.00005,.99973,.99924,.99977,.99973,.99977,.99973,.99977,.99973,.99999,.9998,.99973,1.00022,.99973,1.00022,.99973,1.00022,.99973,1,1.00016,.99977,.99998,.99977,.99998,.99977,.99998,1.00001,1,1.00001,1,1.00001,1,1.00001,1,1.00026,1.0006,1.00026,.84533,1.00026,1.0006,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,.99977,.99973,1.00016,.99977,1.00001,1,1.00001,1.00026,1,1.00026,1,1.00026,1,.99924,.99973,1.00001,.99973,1,.99982,1.00022,1.00026,1.00001,1,1.00026,1.0006,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99998,.99928,1,.99977,1.00013,1.00055,.99947,.99945,.99941,.99924,1.00001,1.00001,1.0004,.91621,1.00001,1.00026,.99977,1.00022,1.0006,1.00001,1.00005,.99999,.99977,1.00015,1.00022,.99977,1.00001,.99973,1.00026,1.00001,1.00019,1.00001,.99946,1,1.0006,1.00001,.99978,1.00045,.99973,.99924,1.00023,.99978,.99966,1,1.00065,1.00045,1.00019,.99973,.99973,.99924,1,1,.96499,1,1.00055,.99973,1.00008,1.00027,1,.9997,.99995,1.00023,.99933,1.00019,1.00015,1.00031,.99924,1.00023,.99973,1.00023,1.00031,1.00001,.99928,1.00029,1.00092,1.00035,1.00001,1.0006,1.0006,1,.99988,.99975,1,1.00082,.99561,.9996,1.00035,1.00001,.99962,1.00001,1.00092,.99964,1.00001,.99963,.99999,1.00035,1.00035,1.00082,.99962,.99999,.99977,1.00022,1.00035,1.00001,.99977,1.00026,.9996,.99967,1.00001,1.00034,1.00074,1.00054,1.00053,1.00063,.99971,.99962,1.00035,.99975,.99977,.99973,1.00043,.99953,1.0007,.99915,.99973,1.00008,.99892,1.00073,1.00073,1.00114,.99915,1.00073,.99955,.99973,1.00092,.99973,1,.99998,1,1.0003,1,1.00043,1.00001,.99969,1.0003,1,1.00035,1.00001,.9995,1,1.00092,.99973,.99973,.99973,1.0007,.9995,1,.99924,1.0006,.99924,.99972,1.00062,.99973,1.00114,1.00073,1,.99955,1,1,1.00047,.99968,1.00016,.99977,1.00016,.99977,1.00016,.99977,1.00001,1,1,1,.99973,1,1,.99955,.99924,.99924,.99924,.99924,.99998,.99998,.99998,.99973,.99973,.99972,1,1,1.00267,.99999,.99998,.99998,1,.99998,1.66475,1,.99973,.99973,1.00023,.99973,.99971,.99925,1.00023,1,.99991,.99984,1.00002,1.00002,1.00002,1.00002,1,1,1,1,1,1,1,.96329,1,1.20985,1.39713,1.00003,.8254,1.00015,1,1.00035,1.00027,1.00031,1.00031,.99915,1.00031,1.00031,.99999,1.00003,.99999,.99999,1.41144,1.6,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.41144,1.40579,1.40579,1.36625,.99999,1,.99861,.99861,1,1.00026,1.00026,1.00026,1.00026,.95317,.99999,.99999,.99999,.99999,1.40483,1,.99977,1.00054,1,1,.99953,.99962,1.00042,.9995,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.HelveticaRegularFactors=ae;const ie={lineHeight:1.2,lineGap:.2};D.HelveticaRegularMetrics=ie},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.LiberationSansRegularWidths=D.LiberationSansRegularMapping=D.LiberationSansItalicWidths=D.LiberationSansItalicMapping=D.LiberationSansBoldWidths=D.LiberationSansBoldMapping=D.LiberationSansBoldItalicWidths=D.LiberationSansBoldItalicMapping=void 0;const B=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,719,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,785,556,556,278,722,556,556,611,278,611,278,611,385,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,465,722,333,853,906,474,825,927,838,278,722,722,601,719,667,611,722,778,278,722,667,833,722,644,778,722,667,600,611,667,821,667,809,802,278,667,615,451,611,278,582,615,610,556,606,475,460,611,541,278,558,556,612,556,445,611,766,619,520,684,446,582,715,576,753,845,278,582,611,582,845,667,669,885,567,711,667,278,276,556,1094,1062,875,610,722,622,719,722,719,722,567,712,667,904,626,719,719,610,702,833,722,778,719,667,722,611,622,854,667,730,703,1005,1019,870,979,719,711,1031,719,556,618,615,417,635,556,709,497,615,615,500,635,740,604,611,604,611,556,490,556,875,556,615,581,833,844,729,854,615,552,854,583,556,556,611,417,552,556,278,281,278,969,906,611,500,615,556,604,778,611,487,447,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1094,556,885,489,1115,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333];D.LiberationSansBoldWidths=B;const R=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];D.LiberationSansBoldMapping=R;const U=[365,0,333,278,333,474,556,556,889,722,238,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,333,333,584,584,584,611,975,722,722,722,722,667,611,778,722,278,556,722,611,833,722,778,667,778,722,667,611,722,667,944,667,667,611,333,278,333,584,556,333,556,611,556,611,556,333,611,611,278,278,556,278,889,611,611,611,611,389,556,333,611,556,778,556,556,500,389,280,389,584,333,556,556,556,556,280,556,333,737,370,556,584,737,552,400,549,333,333,333,576,556,278,333,333,365,556,834,834,834,611,722,722,722,722,722,722,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,556,556,556,556,556,278,278,278,278,611,611,611,611,611,611,611,549,611,611,611,611,611,556,611,556,722,556,722,556,722,556,722,556,722,556,722,556,722,556,722,740,722,611,667,556,667,556,667,556,667,556,667,556,778,611,778,611,778,611,778,611,722,611,722,611,278,278,278,278,278,278,278,278,278,278,782,556,556,278,722,556,556,611,278,611,278,611,396,611,479,611,278,722,611,722,611,722,611,708,723,611,778,611,778,611,778,611,1e3,944,722,389,722,389,722,389,667,556,667,556,667,556,667,556,611,333,611,479,611,333,722,611,722,611,722,611,722,611,722,611,722,611,944,778,667,556,667,611,500,611,500,611,500,278,556,722,556,1e3,889,778,611,667,556,611,333,333,333,333,333,333,333,333,333,333,333,333,722,333,854,906,473,844,930,847,278,722,722,610,671,667,611,722,778,278,722,667,833,722,657,778,718,667,590,611,667,822,667,829,781,278,667,620,479,611,278,591,620,621,556,610,479,492,611,558,278,566,556,603,556,450,611,712,605,532,664,409,591,704,578,773,834,278,591,611,591,834,667,667,886,614,719,667,278,278,556,1094,1042,854,622,719,677,719,722,708,722,614,722,667,927,643,719,719,615,687,833,722,778,719,667,722,611,677,781,667,729,708,979,989,854,1e3,708,719,1042,729,556,619,604,534,618,556,736,510,611,611,507,622,740,604,611,611,611,556,889,556,885,556,646,583,889,935,707,854,594,552,865,589,556,556,611,469,563,556,278,278,278,969,906,611,507,619,556,611,778,611,575,467,944,778,944,778,944,778,667,556,333,333,556,1e3,1e3,552,278,278,278,278,500,500,500,556,556,350,1e3,1e3,240,479,333,333,604,333,167,396,556,556,1104,556,885,516,1146,1e3,768,600,834,834,834,834,999,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,722,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,611,611,333,333,333,333,333,333,333,333,222,222,333,333,333,333,333,333,333,333];D.LiberationSansBoldItalicWidths=U;const K=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];D.LiberationSansBoldItalicMapping=K;const z=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,625,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,733,444,500,222,667,500,500,556,222,556,222,556,281,556,400,556,222,722,556,722,556,722,556,615,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,354,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,789,846,389,794,865,775,222,667,667,570,671,667,611,722,778,278,667,667,833,722,648,778,725,667,600,611,667,837,667,831,761,278,667,570,439,555,222,550,570,571,500,556,439,463,555,542,222,500,492,548,500,447,556,670,573,486,603,374,550,652,546,728,779,222,550,556,550,779,667,667,843,544,708,667,278,278,500,1066,982,844,589,715,639,724,667,651,667,544,704,667,917,614,715,715,589,686,833,722,778,725,667,722,611,639,795,667,727,673,920,923,805,886,651,694,1022,682,556,562,522,493,553,556,688,465,556,556,472,564,686,550,556,556,556,500,833,500,835,500,572,518,830,851,621,736,526,492,752,534,556,556,556,378,496,500,222,222,222,910,828,556,472,565,500,556,778,556,492,339,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1083,1e3,768,600,834,834,834,834,1e3,500,998,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,584,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285];D.LiberationSansItalicWidths=z;const e=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];D.LiberationSansItalicMapping=e;const ae=[365,0,333,278,278,355,556,556,889,667,191,333,333,389,584,278,333,278,278,556,556,556,556,556,556,556,556,556,556,278,278,584,584,584,556,1015,667,667,722,722,667,611,778,722,278,500,667,556,833,722,778,667,778,722,667,611,722,667,944,667,667,611,278,278,278,469,556,333,556,556,500,556,556,278,556,556,222,222,500,222,833,556,556,556,556,333,500,278,556,500,722,500,500,500,334,260,334,584,333,556,556,556,556,260,556,333,737,370,556,584,737,552,400,549,333,333,333,576,537,278,333,333,365,556,834,834,834,611,667,667,667,667,667,667,1e3,722,667,667,667,667,278,278,278,278,722,722,778,778,778,778,778,584,778,722,722,722,722,667,667,611,556,556,556,556,556,556,889,500,556,556,556,556,278,278,278,278,556,556,556,556,556,556,556,549,611,556,556,556,556,500,556,500,667,556,667,556,667,556,722,500,722,500,722,500,722,500,722,615,722,556,667,556,667,556,667,556,667,556,667,556,778,556,778,556,778,556,778,556,722,556,722,556,278,278,278,278,278,278,278,222,278,278,735,444,500,222,667,500,500,556,222,556,222,556,292,556,334,556,222,722,556,722,556,722,556,604,723,556,778,556,778,556,778,556,1e3,944,722,333,722,333,722,333,667,500,667,500,667,500,667,500,611,278,611,375,611,278,722,556,722,556,722,556,722,556,722,556,722,556,944,722,667,500,667,611,500,611,500,611,500,222,556,667,556,1e3,889,778,611,667,500,611,278,333,333,333,333,333,333,333,333,333,333,333,667,278,784,838,384,774,855,752,222,667,667,551,668,667,611,722,778,278,667,668,833,722,650,778,722,667,618,611,667,798,667,835,748,278,667,578,446,556,222,547,578,575,500,557,446,441,556,556,222,500,500,576,500,448,556,690,569,482,617,395,547,648,525,713,781,222,547,556,547,781,667,667,865,542,719,667,278,278,500,1057,1010,854,583,722,635,719,667,656,667,542,677,667,923,604,719,719,583,656,833,722,778,719,667,722,611,635,760,667,740,667,917,938,792,885,656,719,1010,722,556,573,531,365,583,556,669,458,559,559,438,583,688,552,556,542,556,500,458,500,823,500,573,521,802,823,625,719,521,510,750,542,556,556,556,365,510,500,222,278,222,906,812,556,438,559,500,552,778,556,489,411,944,722,944,722,944,722,667,500,333,333,556,1e3,1e3,552,222,222,222,222,333,333,333,556,556,350,1e3,1e3,188,354,333,333,500,333,167,365,556,556,1094,556,885,323,1073,1e3,768,600,834,834,834,834,1e3,500,1e3,500,1e3,500,500,494,612,823,713,584,549,713,979,719,274,549,549,583,549,549,604,584,604,604,708,625,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,708,729,604,604,354,354,1e3,990,990,990,990,494,604,604,604,604,354,1021,1052,917,750,750,531,656,594,510,500,750,750,500,500,333,333,333,333,333,333,333,333,222,222,294,294,324,324,316,328,398,285];D.LiberationSansRegularWidths=ae;const ie=[-1,-1,-1,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,161,162,163,164,165,166,167,168,169,170,171,172,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,402,506,507,508,509,510,511,536,537,538,539,710,711,713,728,729,730,731,732,733,900,901,902,903,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1138,1139,1168,1169,7808,7809,7810,7811,7812,7813,7922,7923,8208,8209,8211,8212,8213,8215,8216,8217,8218,8219,8220,8221,8222,8224,8225,8226,8230,8240,8242,8243,8249,8250,8252,8254,8260,8319,8355,8356,8359,8364,8453,8467,8470,8482,8486,8494,8539,8540,8541,8542,8592,8593,8594,8595,8596,8597,8616,8706,8710,8719,8721,8722,8730,8734,8735,8745,8747,8776,8800,8801,8804,8805,8962,8976,8992,8993,9472,9474,9484,9488,9492,9496,9500,9508,9516,9524,9532,9552,9553,9554,9555,9556,9557,9558,9559,9560,9561,9562,9563,9564,9565,9566,9567,9568,9569,9570,9571,9572,9573,9574,9575,9576,9577,9578,9579,9580,9600,9604,9608,9612,9616,9617,9618,9619,9632,9633,9642,9643,9644,9650,9658,9660,9668,9674,9675,9679,9688,9689,9702,9786,9787,9788,9792,9794,9824,9827,9829,9830,9834,9835,9836,61441,61442,61445,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1];D.LiberationSansRegularMapping=ie},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.MyriadProRegularMetrics=D.MyriadProRegularFactors=D.MyriadProItalicMetrics=D.MyriadProItalicFactors=D.MyriadProBoldMetrics=D.MyriadProBoldItalicMetrics=D.MyriadProBoldItalicFactors=D.MyriadProBoldFactors=void 0;const B=[1.36898,1,1,.72706,.80479,.83734,.98894,.99793,.9897,.93884,.86209,.94292,.94292,1.16661,1.02058,.93582,.96694,.93582,1.19137,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.99793,.78076,.78076,1.02058,1.02058,1.02058,.72851,.78966,.90838,.83637,.82391,.96376,.80061,.86275,.8768,.95407,1.0258,.73901,.85022,.83655,1.0156,.95546,.92179,.87107,.92179,.82114,.8096,.89713,.94438,.95353,.94083,.91905,.90406,.9446,.94292,1.18777,.94292,1.02058,.89903,.90088,.94938,.97898,.81093,.97571,.94938,1.024,.9577,.95933,.98621,1.0474,.97455,.98981,.9672,.95933,.9446,.97898,.97407,.97646,.78036,1.10208,.95442,.95298,.97579,.9332,.94039,.938,.80687,1.01149,.80687,1.02058,.80479,.99793,.99793,.99793,.99793,1.01149,1.00872,.90088,.91882,1.0213,.8361,1.02058,.62295,.54324,.89022,1.08595,1,1,.90088,1,.97455,.93582,.90088,1,1.05686,.8361,.99642,.99642,.99642,.72851,.90838,.90838,.90838,.90838,.90838,.90838,.868,.82391,.80061,.80061,.80061,.80061,1.0258,1.0258,1.0258,1.0258,.97484,.95546,.92179,.92179,.92179,.92179,.92179,1.02058,.92179,.94438,.94438,.94438,.94438,.90406,.86958,.98225,.94938,.94938,.94938,.94938,.94938,.94938,.9031,.81093,.94938,.94938,.94938,.94938,.98621,.98621,.98621,.98621,.93969,.95933,.9446,.9446,.9446,.9446,.9446,1.08595,.9446,.95442,.95442,.95442,.95442,.94039,.97898,.94039,.90838,.94938,.90838,.94938,.90838,.94938,.82391,.81093,.82391,.81093,.82391,.81093,.82391,.81093,.96376,.84313,.97484,.97571,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.80061,.94938,.8768,.9577,.8768,.9577,.8768,.9577,1,1,.95407,.95933,.97069,.95933,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,1.0258,.98621,.887,1.01591,.73901,1.0474,1,1,.97455,.83655,.98981,1,1,.83655,.73977,.83655,.73903,.84638,1.033,.95546,.95933,1,1,.95546,.95933,.8271,.95417,.95933,.92179,.9446,.92179,.9446,.92179,.9446,.936,.91964,.82114,.97646,1,1,.82114,.97646,.8096,.78036,.8096,.78036,1,1,.8096,.78036,1,1,.89713,.77452,.89713,1.10208,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94438,.95442,.94083,.97579,.90406,.94039,.90406,.9446,.938,.9446,.938,.9446,.938,1,.99793,.90838,.94938,.868,.9031,.92179,.9446,1,1,.89713,1.10208,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90989,.9358,.91945,.83181,.75261,.87992,.82976,.96034,.83689,.97268,1.0078,.90838,.83637,.8019,.90157,.80061,.9446,.95407,.92436,1.0258,.85022,.97153,1.0156,.95546,.89192,.92179,.92361,.87107,.96318,.89713,.93704,.95638,.91905,.91709,.92796,1.0258,.93704,.94836,1.0373,.95933,1.0078,.95871,.94836,.96174,.92601,.9498,.98607,.95776,.95933,1.05453,1.0078,.98275,.9314,.95617,.91701,1.05993,.9446,.78367,.9553,1,.86832,1.0128,.95871,.99394,.87548,.96361,.86774,1.0078,.95871,.9446,.95871,.86774,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.94083,.97579,.94083,.97579,.94083,.97579,.90406,.94039,.96694,1,.89903,1,1,1,.93582,.93582,.93582,1,.908,.908,.918,.94219,.94219,.96544,1,1.285,1,1,.81079,.81079,1,1,.74854,1,1,1,1,.99793,1,1,1,.65,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.17173,1,.80535,.76169,1.02058,1.0732,1.05486,1,1,1.30692,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.16161,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.MyriadProBoldFactors=B;const R={lineHeight:1.2,lineGap:.2};D.MyriadProBoldMetrics=R;const U=[1.36898,1,1,.66227,.80779,.81625,.97276,.97276,.97733,.92222,.83266,.94292,.94292,1.16148,1.02058,.93582,.96694,.93582,1.17337,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.97276,.78076,.78076,1.02058,1.02058,1.02058,.71541,.76813,.85576,.80591,.80729,.94299,.77512,.83655,.86523,.92222,.98621,.71743,.81698,.79726,.98558,.92222,.90637,.83809,.90637,.80729,.76463,.86275,.90699,.91605,.9154,.85308,.85458,.90531,.94292,1.21296,.94292,1.02058,.89903,1.18616,.99613,.91677,.78216,.91677,.90083,.98796,.9135,.92168,.95381,.98981,.95298,.95381,.93459,.92168,.91513,.92004,.91677,.95077,.748,1.04502,.91677,.92061,.94236,.89544,.89364,.9,.80687,.8578,.80687,1.02058,.80779,.97276,.97276,.97276,.97276,.8578,.99973,1.18616,.91339,1.08074,.82891,1.02058,.55509,.71526,.89022,1.08595,1,1,1.18616,1,.96736,.93582,1.18616,1,1.04864,.82711,.99043,.99043,.99043,.71541,.85576,.85576,.85576,.85576,.85576,.85576,.845,.80729,.77512,.77512,.77512,.77512,.98621,.98621,.98621,.98621,.95961,.92222,.90637,.90637,.90637,.90637,.90637,1.02058,.90251,.90699,.90699,.90699,.90699,.85458,.83659,.94951,.99613,.99613,.99613,.99613,.99613,.99613,.85811,.78216,.90083,.90083,.90083,.90083,.95381,.95381,.95381,.95381,.9135,.92168,.91513,.91513,.91513,.91513,.91513,1.08595,.91677,.91677,.91677,.91677,.91677,.89364,.92332,.89364,.85576,.99613,.85576,.99613,.85576,.99613,.80729,.78216,.80729,.78216,.80729,.78216,.80729,.78216,.94299,.76783,.95961,.91677,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.77512,.90083,.86523,.9135,.86523,.9135,.86523,.9135,1,1,.92222,.92168,.92222,.92168,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.98621,.95381,.86036,.97096,.71743,.98981,1,1,.95298,.79726,.95381,1,1,.79726,.6894,.79726,.74321,.81691,1.0006,.92222,.92168,1,1,.92222,.92168,.79464,.92098,.92168,.90637,.91513,.90637,.91513,.90637,.91513,.909,.87514,.80729,.95077,1,1,.80729,.95077,.76463,.748,.76463,.748,1,1,.76463,.748,1,1,.86275,.72651,.86275,1.04502,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.90699,.91677,.9154,.94236,.85458,.89364,.85458,.90531,.9,.90531,.9,.90531,.9,1,.97276,.85576,.99613,.845,.85811,.90251,.91677,1,1,.86275,1.04502,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.18616,1.00899,1.30628,.85576,.80178,.66862,.7927,.69323,.88127,.72459,.89711,.95381,.85576,.80591,.7805,.94729,.77512,.90531,.92222,.90637,.98621,.81698,.92655,.98558,.92222,.85359,.90637,.90976,.83809,.94523,.86275,.83509,.93157,.85308,.83392,.92346,.98621,.83509,.92886,.91324,.92168,.95381,.90646,.92886,.90557,.86847,.90276,.91324,.86842,.92168,.99531,.95381,.9224,.85408,.92699,.86847,1.0051,.91513,.80487,.93481,1,.88159,1.05214,.90646,.97355,.81539,.89398,.85923,.95381,.90646,.91513,.90646,.85923,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9154,.94236,.9154,.94236,.9154,.94236,.85458,.89364,.96694,1,.89903,1,1,1,.91782,.91782,.91782,1,.896,.896,.896,.9332,.9332,.95973,1,1.26,1,1,.80479,.80178,1,1,.85633,1,1,1,1,.97276,1,1,1,.698,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.14542,1,.79199,.78694,1.02058,1.03493,1.05486,1,1,1.23026,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.20006,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.MyriadProBoldItalicFactors=U;const K={lineHeight:1.2,lineGap:.2};D.MyriadProBoldItalicMetrics=K;const z=[1.36898,1,1,.65507,.84943,.85639,.88465,.88465,.86936,.88307,.86948,.85283,.85283,1.06383,1.02058,.75945,.9219,.75945,1.17337,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.88465,.75945,.75945,1.02058,1.02058,1.02058,.69046,.70926,.85158,.77812,.76852,.89591,.70466,.76125,.80094,.86822,.83864,.728,.77212,.79475,.93637,.87514,.8588,.76013,.8588,.72421,.69866,.77598,.85991,.80811,.87832,.78112,.77512,.8562,1.0222,1.18417,1.0222,1.27014,.89903,1.15012,.93859,.94399,.846,.94399,.81453,1.0186,.94219,.96017,1.03075,1.02175,.912,1.03075,.96998,.96017,.93859,.94399,.94399,.95493,.746,1.12658,.94578,.91,.979,.882,.882,.83,.85034,.83537,.85034,1.02058,.70869,.88465,.88465,.88465,.88465,.83537,.90083,1.15012,.9161,.94565,.73541,1.02058,.53609,.69353,.79519,1.08595,1,1,1.15012,1,.91974,.75945,1.15012,1,.9446,.73361,.9005,.9005,.9005,.62864,.85158,.85158,.85158,.85158,.85158,.85158,.773,.76852,.70466,.70466,.70466,.70466,.83864,.83864,.83864,.83864,.90561,.87514,.8588,.8588,.8588,.8588,.8588,1.02058,.85751,.85991,.85991,.85991,.85991,.77512,.76013,.88075,.93859,.93859,.93859,.93859,.93859,.93859,.8075,.846,.81453,.81453,.81453,.81453,.82424,.82424,.82424,.82424,.9278,.96017,.93859,.93859,.93859,.93859,.93859,1.08595,.8562,.94578,.94578,.94578,.94578,.882,.94578,.882,.85158,.93859,.85158,.93859,.85158,.93859,.76852,.846,.76852,.846,.76852,.846,.76852,.846,.89591,.8544,.90561,.94399,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.70466,.81453,.80094,.94219,.80094,.94219,.80094,.94219,1,1,.86822,.96017,.86822,.96017,.83864,.82424,.83864,.82424,.83864,.82424,.83864,1.03075,.83864,.82424,.81402,1.02738,.728,1.02175,1,1,.912,.79475,1.03075,1,1,.79475,.83911,.79475,.66266,.80553,1.06676,.87514,.96017,1,1,.87514,.96017,.86865,.87396,.96017,.8588,.93859,.8588,.93859,.8588,.93859,.867,.84759,.72421,.95493,1,1,.72421,.95493,.69866,.746,.69866,.746,1,1,.69866,.746,1,1,.77598,.88417,.77598,1.12658,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.85991,.94578,.87832,.979,.77512,.882,.77512,.8562,.83,.8562,.83,.8562,.83,1,.88465,.85158,.93859,.773,.8075,.85751,.8562,1,1,.77598,1.12658,1.15012,1.15012,1.15012,1.15012,1.15012,1.15313,1.15012,1.15012,1.15012,1.08106,1.03901,.85158,.77025,.62264,.7646,.65351,.86026,.69461,.89947,1.03075,.85158,.77812,.76449,.88836,.70466,.8562,.86822,.8588,.83864,.77212,.85308,.93637,.87514,.82352,.8588,.85701,.76013,.89058,.77598,.8156,.82565,.78112,.77899,.89386,.83864,.8156,.9486,.92388,.96186,1.03075,.91123,.9486,.93298,.878,.93942,.92388,.84596,.96186,.95119,1.03075,.922,.88787,.95829,.88,.93559,.93859,.78815,.93758,1,.89217,1.03737,.91123,.93969,.77487,.85769,.86799,1.03075,.91123,.93859,.91123,.86799,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87832,.979,.87832,.979,.87832,.979,.77512,.882,.9219,1,.89903,1,1,1,.87321,.87321,.87321,1,1.027,1.027,1.027,.86847,.86847,.79121,1,1.124,1,1,.73572,.73572,1,1,.85034,1,1,1,1,.88465,1,1,1,.669,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.04828,1,.74948,.75187,1.02058,.98391,1.02119,1,1,1.06233,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05233,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.MyriadProItalicFactors=z;const e={lineHeight:1.2,lineGap:.2};D.MyriadProItalicMetrics=e;const ae=[1.36898,1,1,.76305,.82784,.94935,.89364,.92241,.89073,.90706,.98472,.85283,.85283,1.0664,1.02058,.74505,.9219,.74505,1.23456,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.92241,.74505,.74505,1.02058,1.02058,1.02058,.73002,.72601,.91755,.8126,.80314,.92222,.73764,.79726,.83051,.90284,.86023,.74,.8126,.84869,.96518,.91115,.8858,.79761,.8858,.74498,.73914,.81363,.89591,.83659,.89633,.85608,.8111,.90531,1.0222,1.22736,1.0222,1.27014,.89903,.90088,.86667,1.0231,.896,1.01411,.90083,1.05099,1.00512,.99793,1.05326,1.09377,.938,1.06226,1.00119,.99793,.98714,1.0231,1.01231,.98196,.792,1.19137,.99074,.962,1.01915,.926,.942,.856,.85034,.92006,.85034,1.02058,.69067,.92241,.92241,.92241,.92241,.92006,.9332,.90088,.91882,.93484,.75339,1.02058,.56866,.54324,.79519,1.08595,1,1,.90088,1,.95325,.74505,.90088,1,.97198,.75339,.91009,.91009,.91009,.66466,.91755,.91755,.91755,.91755,.91755,.91755,.788,.80314,.73764,.73764,.73764,.73764,.86023,.86023,.86023,.86023,.92915,.91115,.8858,.8858,.8858,.8858,.8858,1.02058,.8858,.89591,.89591,.89591,.89591,.8111,.79611,.89713,.86667,.86667,.86667,.86667,.86667,.86667,.86936,.896,.90083,.90083,.90083,.90083,.84224,.84224,.84224,.84224,.97276,.99793,.98714,.98714,.98714,.98714,.98714,1.08595,.89876,.99074,.99074,.99074,.99074,.942,1.0231,.942,.91755,.86667,.91755,.86667,.91755,.86667,.80314,.896,.80314,.896,.80314,.896,.80314,.896,.92222,.93372,.92915,1.01411,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.73764,.90083,.83051,1.00512,.83051,1.00512,.83051,1.00512,1,1,.90284,.99793,.90976,.99793,.86023,.84224,.86023,.84224,.86023,.84224,.86023,1.05326,.86023,.84224,.82873,1.07469,.74,1.09377,1,1,.938,.84869,1.06226,1,1,.84869,.83704,.84869,.81441,.85588,1.08927,.91115,.99793,1,1,.91115,.99793,.91887,.90991,.99793,.8858,.98714,.8858,.98714,.8858,.98714,.894,.91434,.74498,.98196,1,1,.74498,.98196,.73914,.792,.73914,.792,1,1,.73914,.792,1,1,.81363,.904,.81363,1.19137,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89591,.99074,.89633,1.01915,.8111,.942,.8111,.90531,.856,.90531,.856,.90531,.856,1,.92241,.91755,.86667,.788,.86936,.8858,.89876,1,1,.81363,1.19137,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90088,.90388,1.03901,.92138,.78105,.7154,.86169,.80513,.94007,.82528,.98612,1.06226,.91755,.8126,.81884,.92819,.73764,.90531,.90284,.8858,.86023,.8126,.91172,.96518,.91115,.83089,.8858,.87791,.79761,.89297,.81363,.88157,.89992,.85608,.81992,.94307,.86023,.88157,.95308,.98699,.99793,1.06226,.95817,.95308,.97358,.928,.98088,.98699,.92761,.99793,.96017,1.06226,.986,.944,.95978,.938,.96705,.98714,.80442,.98972,1,.89762,1.04552,.95817,.99007,.87064,.91879,.88888,1.06226,.95817,.98714,.95817,.88888,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.89633,1.01915,.89633,1.01915,.89633,1.01915,.8111,.942,.9219,1,.89903,1,1,1,.93173,.93173,.93173,1,1.06304,1.06304,1.06904,.89903,.89903,.80549,1,1.156,1,1,.76575,.76575,1,1,.72458,1,1,1,1,.92241,1,1,1,.619,1,1.36145,1,1,1,1,1,1,1,1,1,1,1,1.07257,1,.74705,.71119,1.02058,1.024,1.02119,1,1,1.1536,1.08595,1.08595,1,1.08595,1.08595,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.05638,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.MyriadProRegularFactors=ae;const ie={lineHeight:1.2,lineGap:.2};D.MyriadProRegularMetrics=ie},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.SegoeuiRegularMetrics=D.SegoeuiRegularFactors=D.SegoeuiItalicMetrics=D.SegoeuiItalicFactors=D.SegoeuiBoldMetrics=D.SegoeuiBoldItalicMetrics=D.SegoeuiBoldItalicFactors=D.SegoeuiBoldFactors=void 0;const B=[1.76738,1,1,.99297,.9824,1.04016,1.06497,1.03424,.97529,1.17647,1.23203,1.1085,1.1085,1.16939,1.2107,.9754,1.21408,.9754,1.59578,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,1.03424,.81378,.81378,1.2107,1.2107,1.2107,.71703,.97847,.97363,.88776,.8641,1.02096,.79795,.85132,.914,1.06085,1.1406,.8007,.89858,.83693,1.14889,1.09398,.97489,.92094,.97489,.90399,.84041,.95923,1.00135,1,1.06467,.98243,.90996,.99361,1.1085,1.56942,1.1085,1.2107,.74627,.94282,.96752,1.01519,.86304,1.01359,.97278,1.15103,1.01359,.98561,1.02285,1.02285,1.00527,1.02285,1.0302,.99041,1.0008,1.01519,1.01359,1.02258,.79104,1.16862,.99041,.97454,1.02511,.99298,.96752,.95801,.94856,1.16579,.94856,1.2107,.9824,1.03424,1.03424,1,1.03424,1.16579,.8727,1.3871,1.18622,1.10818,1.04478,1.2107,1.18622,.75155,.94994,1.28826,1.21408,1.21408,.91056,1,.91572,.9754,.64663,1.18328,1.24866,1.04478,1.14169,1.15749,1.17389,.71703,.97363,.97363,.97363,.97363,.97363,.97363,.93506,.8641,.79795,.79795,.79795,.79795,1.1406,1.1406,1.1406,1.1406,1.02096,1.09398,.97426,.97426,.97426,.97426,.97426,1.2107,.97489,1.00135,1.00135,1.00135,1.00135,.90996,.92094,1.02798,.96752,.96752,.96752,.96752,.96752,.96752,.93136,.86304,.97278,.97278,.97278,.97278,1.02285,1.02285,1.02285,1.02285,.97122,.99041,1,1,1,1,1,1.28826,1.0008,.99041,.99041,.99041,.99041,.96752,1.01519,.96752,.97363,.96752,.97363,.96752,.97363,.96752,.8641,.86304,.8641,.86304,.8641,.86304,.8641,.86304,1.02096,1.03057,1.02096,1.03517,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.79795,.97278,.914,1.01359,.914,1.01359,.914,1.01359,1,1,1.06085,.98561,1.06085,1.00879,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,1.1406,1.02285,.97138,1.08692,.8007,1.02285,1,1,1.00527,.83693,1.02285,1,1,.83693,.9455,.83693,.90418,.83693,1.13005,1.09398,.99041,1,1,1.09398,.99041,.96692,1.09251,.99041,.97489,1.0008,.97489,1.0008,.97489,1.0008,.93994,.97931,.90399,1.02258,1,1,.90399,1.02258,.84041,.79104,.84041,.79104,.84041,.79104,.84041,.79104,1,1,.95923,1.07034,.95923,1.16862,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.00135,.99041,1.06467,1.02511,.90996,.96752,.90996,.99361,.95801,.99361,.95801,.99361,.95801,1.07733,1.03424,.97363,.96752,.93506,.93136,.97489,1.0008,1,1,.95923,1.16862,1.15103,1.15103,1.01173,1.03959,.75953,.81378,.79912,1.15103,1.21994,.95161,.87815,1.01149,.81525,.7676,.98167,1.01134,1.02546,.84097,1.03089,1.18102,.97363,.88776,.85134,.97826,.79795,.99361,1.06085,.97489,1.1406,.89858,1.0388,1.14889,1.09398,.86039,.97489,1.0595,.92094,.94793,.95923,.90996,.99346,.98243,1.02112,.95493,1.1406,.90996,1.03574,1.02597,1.0008,1.18102,1.06628,1.03574,1.0192,1.01932,1.00886,.97531,1.0106,1.0008,1.13189,1.18102,1.02277,.98683,1.0016,.99561,1.07237,1.0008,.90434,.99921,.93803,.8965,1.23085,1.06628,1.04983,.96268,1.0499,.98439,1.18102,1.06628,1.0008,1.06628,.98439,.79795,1,1,1,1,1,1,1,1,1,1,1,1,1.09466,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.97278,1,1,1,1,1,1,1,1,1,1,1,1,1.02065,1,1,1,1,1,1,1.06467,1.02511,1.06467,1.02511,1.06467,1.02511,.90996,.96752,1,1.21408,.89903,1,1,.75155,1.04394,1.04394,1.04394,1.04394,.98633,.98633,.98633,.73047,.73047,1.20642,.91211,1.25635,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.12454,.93503,1.03424,1.19687,1.03424,1,1,1,.771,1,1,1.15749,1.15749,1.15749,1.10948,.86279,.94434,.86279,.94434,.86182,1,1,1.16897,1,.96085,.90137,1.2107,1.18416,1.13973,.69825,.9716,2.10339,1.29004,1.29004,1.21172,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18874,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.09193,1.09193,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.SegoeuiBoldFactors=B;const R={lineHeight:1.33008,lineGap:0};D.SegoeuiBoldMetrics=R;const U=[1.76738,1,1,.98946,1.03959,1.04016,1.02809,1.036,.97639,1.10953,1.23203,1.11144,1.11144,1.16939,1.21237,.9754,1.21261,.9754,1.59754,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,1.036,.81378,.81378,1.21237,1.21237,1.21237,.73541,.97847,.97363,.89723,.87897,1.0426,.79429,.85292,.91149,1.05815,1.1406,.79631,.90128,.83853,1.04396,1.10615,.97552,.94436,.97552,.88641,.80527,.96083,1.00135,1,1.06777,.9817,.91142,.99361,1.11144,1.57293,1.11144,1.21237,.74627,1.31818,1.06585,.97042,.83055,.97042,.93503,1.1261,.97042,.97922,1.14236,.94552,1.01054,1.14236,1.02471,.97922,.94165,.97042,.97042,1.0276,.78929,1.1261,.97922,.95874,1.02197,.98507,.96752,.97168,.95107,1.16579,.95107,1.21237,1.03959,1.036,1.036,1,1.036,1.16579,.87357,1.31818,1.18754,1.26781,1.05356,1.21237,1.18622,.79487,.94994,1.29004,1.24047,1.24047,1.31818,1,.91484,.9754,1.31818,1.1349,1.24866,1.05356,1.13934,1.15574,1.17389,.73541,.97363,.97363,.97363,.97363,.97363,.97363,.94385,.87897,.79429,.79429,.79429,.79429,1.1406,1.1406,1.1406,1.1406,1.0426,1.10615,.97552,.97552,.97552,.97552,.97552,1.21237,.97552,1.00135,1.00135,1.00135,1.00135,.91142,.94436,.98721,1.06585,1.06585,1.06585,1.06585,1.06585,1.06585,.96705,.83055,.93503,.93503,.93503,.93503,1.14236,1.14236,1.14236,1.14236,.93125,.97922,.94165,.94165,.94165,.94165,.94165,1.29004,.94165,.97922,.97922,.97922,.97922,.96752,.97042,.96752,.97363,1.06585,.97363,1.06585,.97363,1.06585,.87897,.83055,.87897,.83055,.87897,.83055,.87897,.83055,1.0426,1.0033,1.0426,.97042,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.79429,.93503,.91149,.97042,.91149,.97042,.91149,.97042,1,1,1.05815,.97922,1.05815,.97922,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,1.1406,1.14236,.97441,1.04302,.79631,1.01582,1,1,1.01054,.83853,1.14236,1,1,.83853,1.09125,.83853,.90418,.83853,1.19508,1.10615,.97922,1,1,1.10615,.97922,1.01034,1.10466,.97922,.97552,.94165,.97552,.94165,.97552,.94165,.91602,.91981,.88641,1.0276,1,1,.88641,1.0276,.80527,.78929,.80527,.78929,.80527,.78929,.80527,.78929,1,1,.96083,1.05403,.95923,1.16862,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.00135,.97922,1.06777,1.02197,.91142,.96752,.91142,.99361,.97168,.99361,.97168,.99361,.97168,1.23199,1.036,.97363,1.06585,.94385,.96705,.97552,.94165,1,1,.96083,1.1261,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,1.31818,.95161,1.27126,1.00811,.83284,.77702,.99137,.95253,1.0347,.86142,1.07205,1.14236,.97363,.89723,.86869,1.09818,.79429,.99361,1.05815,.97552,1.1406,.90128,1.06662,1.04396,1.10615,.84918,.97552,1.04694,.94436,.98015,.96083,.91142,1.00356,.9817,1.01945,.98999,1.1406,.91142,1.04961,.9898,1.00639,1.14236,1.07514,1.04961,.99607,1.02897,1.008,.9898,.95134,1.00639,1.11121,1.14236,1.00518,.97981,1.02186,1,1.08578,.94165,.99314,.98387,.93028,.93377,1.35125,1.07514,1.10687,.93491,1.04232,1.00351,1.14236,1.07514,.94165,1.07514,1.00351,.79429,1,1,1,1,1,1,1,1,1,1,1,1,1.09097,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.93503,1,1,1,1,1,1,1,1,1,1,1,1,.96609,1,1,1,1,1,1,1.06777,1.02197,1.06777,1.02197,1.06777,1.02197,.91142,.96752,1,1.21261,.89903,1,1,.75155,1.04745,1.04745,1.04745,1.04394,.98633,.98633,.98633,.72959,.72959,1.20502,.91406,1.26514,1.222,1.02956,1.03372,1.03372,.96039,1.24633,1,1.09125,.93327,1.03336,1.16541,1.036,1,1,1,.771,1,1,1.15574,1.15574,1.15574,1.15574,.86364,.94434,.86279,.94434,.86224,1,1,1.16798,1,.96085,.90068,1.21237,1.18416,1.13904,.69825,.9716,2.10339,1.29004,1.29004,1.21339,1.29004,1.29004,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18775,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.13269,1.13269,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.SegoeuiBoldItalicFactors=U;const K={lineHeight:1.33008,lineGap:0};D.SegoeuiBoldItalicMetrics=K;const z=[1.76738,1,1,.98946,1.14763,1.05365,1.06234,.96927,.92586,1.15373,1.18414,.91349,.91349,1.07403,1.17308,.78383,1.20088,.78383,1.42531,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78383,.78383,1.17308,1.17308,1.17308,.77349,.94565,.94729,.85944,.88506,.9858,.74817,.80016,.88449,.98039,.95782,.69238,.89898,.83231,.98183,1.03989,.96924,.86237,.96924,.80595,.74524,.86091,.95402,.94143,.98448,.8858,.83089,.93285,1.0949,1.39016,1.0949,1.45994,.74627,1.04839,.97454,.97454,.87207,.97454,.87533,1.06151,.97454,1.00176,1.16484,1.08132,.98047,1.16484,1.02989,1.01054,.96225,.97454,.97454,1.06598,.79004,1.16344,1.00351,.94629,.9973,.91016,.96777,.9043,.91082,.92481,.91082,1.17308,.95748,.96927,.96927,1,.96927,.92481,.80597,1.04839,1.23393,1.1781,.9245,1.17308,1.20808,.63218,.94261,1.24822,1.09971,1.09971,1.04839,1,.85273,.78032,1.04839,1.09971,1.22326,.9245,1.09836,1.13525,1.15222,.70424,.94729,.94729,.94729,.94729,.94729,.94729,.85498,.88506,.74817,.74817,.74817,.74817,.95782,.95782,.95782,.95782,.9858,1.03989,.96924,.96924,.96924,.96924,.96924,1.17308,.96924,.95402,.95402,.95402,.95402,.83089,.86237,.88409,.97454,.97454,.97454,.97454,.97454,.97454,.92916,.87207,.87533,.87533,.87533,.87533,.93146,.93146,.93146,.93146,.93854,1.01054,.96225,.96225,.96225,.96225,.96225,1.24822,.8761,1.00351,1.00351,1.00351,1.00351,.96777,.97454,.96777,.94729,.97454,.94729,.97454,.94729,.97454,.88506,.87207,.88506,.87207,.88506,.87207,.88506,.87207,.9858,.95391,.9858,.97454,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.74817,.87533,.88449,.97454,.88449,.97454,.88449,.97454,1,1,.98039,1.00176,.98039,1.00176,.95782,.93146,.95782,.93146,.95782,.93146,.95782,1.16484,.95782,.93146,.84421,1.12761,.69238,1.08132,1,1,.98047,.83231,1.16484,1,1,.84723,1.04861,.84723,.78755,.83231,1.23736,1.03989,1.01054,1,1,1.03989,1.01054,.9857,1.03849,1.01054,.96924,.96225,.96924,.96225,.96924,.96225,.92383,.90171,.80595,1.06598,1,1,.80595,1.06598,.74524,.79004,.74524,.79004,.74524,.79004,.74524,.79004,1,1,.86091,1.02759,.85771,1.16344,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.95402,1.00351,.98448,.9973,.83089,.96777,.83089,.93285,.9043,.93285,.9043,.93285,.9043,1.31868,.96927,.94729,.97454,.85498,.92916,.96924,.8761,1,1,.86091,1.16344,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,1.04839,.81965,.81965,.94729,.78032,.71022,.90883,.84171,.99877,.77596,1.05734,1.2,.94729,.85944,.82791,.9607,.74817,.93285,.98039,.96924,.95782,.89898,.98316,.98183,1.03989,.78614,.96924,.97642,.86237,.86075,.86091,.83089,.90082,.8858,.97296,1.01284,.95782,.83089,1.0976,1.04,1.03342,1.2,1.0675,1.0976,.98205,1.03809,1.05097,1.04,.95364,1.03342,1.05401,1.2,1.02148,1.0119,1.04724,1.0127,1.02732,.96225,.8965,.97783,.93574,.94818,1.30679,1.0675,1.11826,.99821,1.0557,1.0326,1.2,1.0675,.96225,1.0675,1.0326,.74817,1,1,1,1,1,1,1,1,1,1,1,1,1.03754,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.87533,1,1,1,1,1,1,1,1,1,1,1,1,.98705,1,1,1,1,1,1,.98448,.9973,.98448,.9973,.98448,.9973,.83089,.96777,1,1.20088,.89903,1,1,.75155,.94945,.94945,.94945,.94945,1.12317,1.12317,1.12317,.67603,.67603,1.15621,.73584,1.21191,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87709,.96927,1.01473,.96927,1,1,1,.77295,1,1,1.09836,1.09836,1.09836,1.01522,.86321,.94434,.8649,.94434,.86182,1,1,1.083,1,.91578,.86438,1.17308,1.18416,1.14589,.69825,.97622,1.96791,1.24822,1.24822,1.17308,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.17984,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10742,1.10742,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1];D.SegoeuiItalicFactors=z;const e={lineHeight:1.33008,lineGap:0};D.SegoeuiItalicMetrics=e;const ae=[1.76738,1,1,.98594,1.02285,1.10454,1.06234,.96927,.92037,1.19985,1.2046,.90616,.90616,1.07152,1.1714,.78032,1.20088,.78032,1.40246,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.96927,.78032,.78032,1.1714,1.1714,1.1714,.80597,.94084,.96706,.85944,.85734,.97093,.75842,.79936,.88198,.9831,.95782,.71387,.86969,.84636,1.07796,1.03584,.96924,.83968,.96924,.82826,.79649,.85771,.95132,.93119,.98965,.88433,.8287,.93365,1.08612,1.3638,1.08612,1.45786,.74627,.80499,.91484,1.05707,.92383,1.05882,.9403,1.12654,1.05882,1.01756,1.09011,1.09011,.99414,1.09011,1.034,1.01756,1.05356,1.05707,1.05882,1.04399,.84863,1.21968,1.01756,.95801,1.00068,.91797,.96777,.9043,.90351,.92105,.90351,1.1714,.85337,.96927,.96927,.99912,.96927,.92105,.80597,1.2434,1.20808,1.05937,.90957,1.1714,1.20808,.75155,.94261,1.24644,1.09971,1.09971,.84751,1,.85273,.78032,.61584,1.05425,1.17914,.90957,1.08665,1.11593,1.14169,.73381,.96706,.96706,.96706,.96706,.96706,.96706,.86035,.85734,.75842,.75842,.75842,.75842,.95782,.95782,.95782,.95782,.97093,1.03584,.96924,.96924,.96924,.96924,.96924,1.1714,.96924,.95132,.95132,.95132,.95132,.8287,.83968,.89049,.91484,.91484,.91484,.91484,.91484,.91484,.93575,.92383,.9403,.9403,.9403,.9403,.8717,.8717,.8717,.8717,1.00527,1.01756,1.05356,1.05356,1.05356,1.05356,1.05356,1.24644,.95923,1.01756,1.01756,1.01756,1.01756,.96777,1.05707,.96777,.96706,.91484,.96706,.91484,.96706,.91484,.85734,.92383,.85734,.92383,.85734,.92383,.85734,.92383,.97093,1.0969,.97093,1.05882,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.75842,.9403,.88198,1.05882,.88198,1.05882,.88198,1.05882,1,1,.9831,1.01756,.9831,1.01756,.95782,.8717,.95782,.8717,.95782,.8717,.95782,1.09011,.95782,.8717,.84784,1.11551,.71387,1.09011,1,1,.99414,.84636,1.09011,1,1,.84636,1.0536,.84636,.94298,.84636,1.23297,1.03584,1.01756,1,1,1.03584,1.01756,1.00323,1.03444,1.01756,.96924,1.05356,.96924,1.05356,.96924,1.05356,.93066,.98293,.82826,1.04399,1,1,.82826,1.04399,.79649,.84863,.79649,.84863,.79649,.84863,.79649,.84863,1,1,.85771,1.17318,.85771,1.21968,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.95132,1.01756,.98965,1.00068,.8287,.96777,.8287,.93365,.9043,.93365,.9043,.93365,.9043,1.08571,.96927,.96706,.91484,.86035,.93575,.96924,.95923,1,1,.85771,1.21968,1.11437,1.11437,.93109,.91202,.60411,.84164,.55572,1.01173,.97361,.81818,.81818,.96635,.78032,.72727,.92366,.98601,1.03405,.77968,1.09799,1.2,.96706,.85944,.85638,.96491,.75842,.93365,.9831,.96924,.95782,.86969,.94152,1.07796,1.03584,.78437,.96924,.98715,.83968,.83491,.85771,.8287,.94492,.88433,.9287,1.0098,.95782,.8287,1.0625,.98248,1.03424,1.2,1.01071,1.0625,.95246,1.03809,1.04912,.98248,1.00221,1.03424,1.05443,1.2,1.04785,.99609,1.00169,1.05176,.99346,1.05356,.9087,1.03004,.95542,.93117,1.23362,1.01071,1.07831,1.02512,1.05205,1.03502,1.2,1.01071,1.05356,1.01071,1.03502,.75842,1,1,1,1,1,1,1,1,1,1,1,1,1.03719,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,.9403,1,1,1,1,1,1,1,1,1,1,1,1,1.04021,1,1,1,1,1,1,.98965,1.00068,.98965,1.00068,.98965,1.00068,.8287,.96777,1,1.20088,.89903,1,1,.75155,1.03077,1.03077,1.03077,1.03077,1.13196,1.13196,1.13196,.67428,.67428,1.16039,.73291,1.20996,1.22135,1.06483,.94868,.94868,.95996,1.24633,1,1.07497,.87796,.96927,1.01518,.96927,1,1,1,.77295,1,1,1.10539,1.10539,1.11358,1.06967,.86279,.94434,.86279,.94434,.86182,1,1,1.083,1,.91578,.86507,1.1714,1.18416,1.14589,.69825,.97622,1.9697,1.24822,1.24822,1.17238,1.24822,1.24822,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1.42603,1,.99862,.99862,1,.87025,.87025,.87025,.87025,1.18083,1.42603,1,1.42603,1.42603,.99862,1,1,1,1,1,1.2886,1.04315,1.15296,1.34163,1,1,1,1.10938,1.10938,1,1,1,1.05425,1.09971,1.09971,1.09971,1,1,1,1,1,1,1,1,1,1,1];D.SegoeuiRegularFactors=ae;const ie={lineHeight:1.33008,lineGap:0};D.SegoeuiRegularMetrics=ie},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PostScriptEvaluator=D.PostScriptCompiler=D.PDFFunctionFactory=void 0,D.isPDFFunction=J;var R=B(130),U=B(2),K=B(183),z=B(132),e=B(184);class ae{constructor(pe){let{xref:_e,isEvalSupported:Ge=!0}=pe;this.xref=_e,this.isEvalSupported=Ge!==!1}create(pe){const _e=this.getCached(pe);if(_e)return _e;const Ge=he.parse({xref:this.xref,isEvalSupported:this.isEvalSupported,fn:pe instanceof R.Ref?this.xref.fetch(pe):pe});return this._cache(pe,Ge),Ge}createFromArray(pe){const _e=this.getCached(pe);if(_e)return _e;const Ge=he.parseArray({xref:this.xref,isEvalSupported:this.isEvalSupported,fnObj:pe instanceof R.Ref?this.xref.fetch(pe):pe});return this._cache(pe,Ge),Ge}getCached(pe){let _e;if(pe instanceof R.Ref?_e=pe:pe instanceof R.Dict?_e=pe.objId:pe instanceof z.BaseStream&&(_e=pe.dict&&pe.dict.objId),_e){const Ge=this._localFunctionCache.getByRef(_e);if(Ge)return Ge}return null}_cache(pe,_e){if(!_e)throw new Error('PDFFunctionFactory._cache - expected "parsedFunction" argument.');let Ge;pe instanceof R.Ref?Ge=pe:pe instanceof R.Dict?Ge=pe.objId:pe instanceof z.BaseStream&&(Ge=pe.dict&&pe.dict.objId),Ge&&this._localFunctionCache.set(null,Ge,_e)}get _localFunctionCache(){return(0,U.shadow)(this,"_localFunctionCache",new e.LocalFunctionCache)}}D.PDFFunctionFactory=ae;function ie(Ce){if(!Array.isArray(Ce))return null;const pe=Ce.length;for(let _e=0;_e>Fe)*we,Pe&=(1<mt?dt=mt:dt0&&($e=Fe[Ue-1]);let Ye=Ne[1];Ue>1,Ie=Ze.length>>1,Be=new X(Pe),Ke=Object.create(null);let je=2048*4;const Le=new Float32Array(Ie);return function(Qe,Ue,$e,Ye){let tt,ot,st="";const dt=Le;for(tt=0;ttHe&&(ot=He)),mt[tt]=ot}je>0&&(je--,Ke[st]=mt),$e.set(mt,Ye)}}}function J(Ce){let pe;if(typeof Ce!="object")return!1;if(Ce instanceof R.Dict)pe=Ce;else if(Ce instanceof z.BaseStream)pe=Ce.dict;else return!1;return pe.has("FunctionType")}class W{static get MAX_STACK_SIZE(){return(0,U.shadow)(this,"MAX_STACK_SIZE",100)}constructor(pe){this.stack=pe?Array.prototype.slice.call(pe,0):[]}push(pe){if(this.stack.length>=W.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");this.stack.push(pe)}pop(){if(this.stack.length<=0)throw new Error("PostScript function stack underflow.");return this.stack.pop()}copy(pe){if(this.stack.length+pe>=W.MAX_STACK_SIZE)throw new Error("PostScript function stack overflow.");const _e=this.stack;for(let Ge=_e.length-pe,Ae=pe-1;Ae>=0;Ae--,Ge++)_e.push(_e[Ge])}index(pe){this.push(this.stack[this.stack.length-pe-1])}roll(pe,_e){const Ge=this.stack,Ae=Ge.length-pe,Ne=Ge.length-1,Ze=Ae+(_e-Math.floor(_e/pe)*pe);for(let ze=Ae,Te=Ne;ze0?_e.push(ze<>Te);break;case"ceiling":ze=_e.pop(),_e.push(Math.ceil(ze));break;case"copy":ze=_e.pop(),_e.copy(ze);break;case"cos":ze=_e.pop(),_e.push(Math.cos(ze));break;case"cvi":ze=_e.pop()|0,_e.push(ze);break;case"cvr":break;case"div":Te=_e.pop(),ze=_e.pop(),_e.push(ze/Te);break;case"dup":_e.copy(1);break;case"eq":Te=_e.pop(),ze=_e.pop(),_e.push(ze===Te);break;case"exch":_e.roll(2,1);break;case"exp":Te=_e.pop(),ze=_e.pop(),_e.push(ze**Te);break;case"false":_e.push(!1);break;case"floor":ze=_e.pop(),_e.push(Math.floor(ze));break;case"ge":Te=_e.pop(),ze=_e.pop(),_e.push(ze>=Te);break;case"gt":Te=_e.pop(),ze=_e.pop(),_e.push(ze>Te);break;case"idiv":Te=_e.pop(),ze=_e.pop(),_e.push(ze/Te|0);break;case"index":ze=_e.pop(),_e.index(ze);break;case"le":Te=_e.pop(),ze=_e.pop(),_e.push(ze<=Te);break;case"ln":ze=_e.pop(),_e.push(Math.log(ze));break;case"log":ze=_e.pop(),_e.push(Math.log(ze)/Math.LN10);break;case"lt":Te=_e.pop(),ze=_e.pop(),_e.push(ze=pe?new ce(pe):Ce.max<=pe?Ce:new se(Ce,pe)}class ye{compile(pe,_e,Ge){const Ae=[],Ne=[],Ze=_e.length>>1,ze=Ge.length>>1;let Te=0,Fe,Pe,we,Ie,Be,Ke,Ve,je;for(let et=0;etUe.min&&(ot.unshift("Math.max(",Ye,", "),ot.push(")")),tt{Object.defineProperty(D,"__esModule",{value:!0}),D.PostScriptParser=D.PostScriptLexer=void 0;var R=B(2),U=B(130),K=B(131);class z{constructor(J){this.lexer=J,this.operators=[],this.token=null,this.prev=null}nextToken(){this.prev=this.token,this.token=this.lexer.getToken()}accept(J){return this.token.type===J?(this.nextToken(),!0):!1}expect(J){if(this.accept(J))return!0;throw new R.FormatError(`Unexpected symbol: found ${this.token.type} expected ${J}.`)}parse(){return this.nextToken(),this.expect(e.LBRACE),this.parseBlock(),this.expect(e.RBRACE),this.operators}parseBlock(){for(;;)if(this.accept(e.NUMBER))this.operators.push(this.prev.value);else if(this.accept(e.OPERATOR))this.operators.push(this.prev.value);else if(this.accept(e.LBRACE))this.parseCondition();else return}parseCondition(){const J=this.operators.length;if(this.operators.push(null,null),this.parseBlock(),this.expect(e.RBRACE),this.accept(e.IF))this.operators[J]=this.operators.length,this.operators[J+1]="jz";else if(this.accept(e.LBRACE)){const W=this.operators.length;this.operators.push(null,null);const X=this.operators.length;this.parseBlock(),this.expect(e.RBRACE),this.expect(e.IFELSE),this.operators[W]=this.operators.length,this.operators[W+1]="j",this.operators[J]=X,this.operators[J+1]="jz"}else throw new R.FormatError("PS Function: error parsing conditional.")}}D.PostScriptParser=z;const e={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5};class ae{static get opCache(){return(0,R.shadow)(this,"opCache",Object.create(null))}constructor(J,W){this.type=J,this.value=W}static getOperator(J){const W=ae.opCache[J];return W||(ae.opCache[J]=new ae(e.OPERATOR,J))}static get LBRACE(){return(0,R.shadow)(this,"LBRACE",new ae(e.LBRACE,"{"))}static get RBRACE(){return(0,R.shadow)(this,"RBRACE",new ae(e.RBRACE,"}"))}static get IF(){return(0,R.shadow)(this,"IF",new ae(e.IF,"IF"))}static get IFELSE(){return(0,R.shadow)(this,"IFELSE",new ae(e.IFELSE,"IFELSE"))}}class ie{constructor(J){this.stream=J,this.nextChar(),this.strBuf=[]}nextChar(){return this.currentChar=this.stream.getByte()}getToken(){let J=!1,W=this.currentChar;for(;;){if(W<0)return U.EOF;if(J)(W===10||W===13)&&(J=!1);else if(W===37)J=!0;else if(!(0,K.isWhiteSpace)(W))break;W=this.nextChar()}switch(W|0){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return new ae(e.NUMBER,this.getNumber());case 123:return this.nextChar(),ae.LBRACE;case 125:return this.nextChar(),ae.RBRACE}const X=this.strBuf;for(X.length=0,X[0]=String.fromCharCode(W);(W=this.nextChar())>=0&&(W>=65&&W<=90||W>=97&&W<=122);)X.push(String.fromCharCode(W));const L=X.join("");switch(L.toLowerCase()){case"if":return ae.IF;case"ifelse":return ae.IFELSE;default:return ae.getOperator(L)}}getNumber(){let J=this.currentChar;const W=this.strBuf;for(W.length=0,W[0]=String.fromCharCode(J);(J=this.nextChar())>=0&&(J>=48&&J<=57||J===45||J===46);)W.push(String.fromCharCode(J));const X=parseFloat(W.join(""));if(isNaN(X))throw new R.FormatError(`Invalid floating point number: ${X}`);return X}}D.PostScriptLexer=ie},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.LocalTilingPatternCache=D.LocalImageCache=D.LocalGStateCache=D.LocalFunctionCache=D.LocalColorSpaceCache=D.GlobalImageCache=void 0;var R=B(2),U=B(130);class K{constructor(X){this.constructor===K&&(0,R.unreachable)("Cannot initialize BaseLocalCache."),this._onlyRefs=(X&&X.onlyRefs)===!0,this._onlyRefs||(this._nameRefMap=new Map,this._imageMap=new Map),this._imageCache=new U.RefSetCache}getByName(X){this._onlyRefs&&(0,R.unreachable)("Should not call `getByName` method.");const L=this._nameRefMap.get(X);return L?this.getByRef(L):this._imageMap.get(X)||null}getByRef(X){return this._imageCache.get(X)||null}set(X,L,Q){(0,R.unreachable)("Abstract method `set` called.")}}class z extends K{set(X){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Q=arguments.length>2?arguments[2]:void 0;if(typeof X!="string")throw new Error('LocalImageCache.set - expected "name" argument.');if(L){if(this._imageCache.has(L))return;this._nameRefMap.set(X,L),this._imageCache.put(L,Q);return}this._imageMap.has(X)||this._imageMap.set(X,Q)}}D.LocalImageCache=z;class e extends K{set(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Q=arguments.length>2?arguments[2]:void 0;if(typeof X!="string"&&!L)throw new Error('LocalColorSpaceCache.set - expected "name" and/or "ref" argument.');if(L){if(this._imageCache.has(L))return;X!==null&&this._nameRefMap.set(X,L),this._imageCache.put(L,Q);return}this._imageMap.has(X)||this._imageMap.set(X,Q)}}D.LocalColorSpaceCache=e;class ae extends K{constructor(X){super({onlyRefs:!0})}set(){let X=arguments.length>1?arguments[1]:void 0,L=arguments.length>2?arguments[2]:void 0;if(!X)throw new Error('LocalFunctionCache.set - expected "ref" argument.');this._imageCache.has(X)||this._imageCache.put(X,L)}}D.LocalFunctionCache=ae;class ie extends K{set(X){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Q=arguments.length>2?arguments[2]:void 0;if(typeof X!="string")throw new Error('LocalGStateCache.set - expected "name" argument.');if(L){if(this._imageCache.has(L))return;this._nameRefMap.set(X,L),this._imageCache.put(L,Q);return}this._imageMap.has(X)||this._imageMap.set(X,Q)}}D.LocalGStateCache=ie;class he extends K{constructor(X){super({onlyRefs:!0})}set(){let X=arguments.length>1?arguments[1]:void 0,L=arguments.length>2?arguments[2]:void 0;if(!X)throw new Error('LocalTilingPatternCache.set - expected "ref" argument.');this._imageCache.has(X)||this._imageCache.put(X,L)}}D.LocalTilingPatternCache=he;class J{static get NUM_PAGES_THRESHOLD(){return(0,R.shadow)(this,"NUM_PAGES_THRESHOLD",2)}static get MIN_IMAGES_TO_CACHE(){return(0,R.shadow)(this,"MIN_IMAGES_TO_CACHE",10)}static get MAX_BYTE_SIZE(){return(0,R.shadow)(this,"MAX_BYTE_SIZE",4e7)}constructor(){this._refCache=new U.RefSetCache,this._imageCache=new U.RefSetCache}get _byteSize(){let X=0;for(const L of this._imageCache)X+=L.byteSize;return X}get _cacheLimitReached(){return!(this._imageCache.size0&&arguments[0]!==void 0?arguments[0]:!1)||this._refCache.clear(),this._imageCache.clear()}}D.GlobalImageCache=J},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.bidi=L;var R=B(2);const U=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","ON","ET","ET","ET","ET","ON","ON","ON","ON","L","ON","ON","BN","ON","ON","ET","ET","EN","EN","ON","L","ON","ON","ON","EN","L","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","L","L","L","L","L","L","L","L"],K=["AN","AN","AN","AN","AN","AN","ON","ON","AL","ET","ET","AL","CS","AL","ON","ON","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","ON","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","ON","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL"];function z(Q){return(Q&1)!==0}function e(Q){return(Q&1)===0}function ae(Q,ce,de){let se,oe;for(se=ce,oe=Q.length;se2&&arguments[2]!==void 0?arguments[2]:!1,se="ltr";return de?se="ttb":ce||(se="rtl"),{str:Q,dir:se}}const W=[],X=[];function L(Q){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,de=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,se=!0;const oe=Q.length;if(oe===0||de)return J(Q,se,de);W.length=oe,X.length=oe;let me=0,Ee,ke;for(Ee=0;Ee4?(se=!0,ce=0):(se=!1,ce=1));const xe=[];for(Ee=0;Ee=0&&X[Ne]==="ET";--Ne)X[Ne]="EN";for(let Ne=Ee+1;Ne0&&(Ze=X[Ee-1]);let ze=ye;Ne+1Ae&&z(Ae)&&(Ge=Ae);for(Ae=_e;Ae>=Ge;--Ae){let Ne=-1;for(Ee=0,ke=xe.length;Ee=0&&(he(W,Ne,Ee),Ne=-1):Ne<0&&(Ne=Ee);Ne>=0&&he(W,Ne,xe.length)}for(Ee=0,ke=W.length;Ee")&&(W[Ee]="")}return J(W.join(""),se)}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.MurmurHash3_64=void 0;var R=B(2);const U=3285377520,K=4294901760,z=65535;class e{constructor(ie){this.h1=ie?ie&4294967295:U,this.h2=ie?ie&4294967295:U}update(ie){let he,J;if(typeof ie=="string"){he=new Uint8Array(ie.length*2),J=0;for(let xe=0,fe=ie.length;xe>>8,he[J++]=ve&255)}}else if((0,R.isArrayBuffer)(ie))he=ie.slice(),J=he.byteLength;else throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");const W=J>>2,X=J-W*4,L=new Uint32Array(he.buffer,0,W);let Q=0,ce=0,de=this.h1,se=this.h2;const oe=3432918353,me=461845907,Ee=oe&z,ke=me&z;for(let xe=0;xe>>17,Q=Q*me&K|Q*ke&z,de^=Q,de=de<<13|de>>>19,de=de*5+3864292196):(ce=L[xe],ce=ce*oe&K|ce*Ee&z,ce=ce<<15|ce>>>17,ce=ce*me&K|ce*ke&z,se^=ce,se=se<<13|se>>>19,se=se*5+3864292196);switch(Q=0,X){case 3:Q^=he[W*4+2]<<16;case 2:Q^=he[W*4+1]<<8;case 1:Q^=he[W*4],Q=Q*oe&K|Q*Ee&z,Q=Q<<15|Q>>>17,Q=Q*me&K|Q*ke&z,W&1?de^=Q:se^=Q}this.h1=de,this.h2=se}hexdigest(){let ie=this.h1,he=this.h2;ie^=he>>>1,ie=ie*3981806797&K|ie*36045&z,he=he*4283543511&K|((he<<16|ie>>>16)*2950163797&K)>>>16,ie^=he>>>1,ie=ie*444984403&K|ie*60499&z,he=he*3301882366&K|((he<<16|ie>>>16)*3120437893&K)>>>16,ie^=he>>>1;const J=(ie>>>0).toString(16),W=(he>>>0).toString(16);return J.padStart(8,"0")+W.padStart(8,"0")}}D.MurmurHash3_64=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.OperatorList=void 0;var R=B(2);function U(ie,he,J,W,X){let L=ie;for(let Q=0,ce=he.length-1;Q1e3&&(xe=Math.max(xe,ye),Ce+=ve+2,ye=0,ve=0),fe.push({transform:Ze,x:ye,y:Ce,w:ze.width,h:ze.height}),ye+=ze.width+2,ve=Math.max(ve,ze.height)}const pe=Math.max(xe,ye)+1,_e=Ce+ve+1,Ge=new Uint8Array(pe*_e*4),Ae=pe<<2;for(let Ne=0;Ne=0;)Ze[Fe-4]=Ze[Fe],Ze[Fe-3]=Ze[Fe+1],Ze[Fe-2]=Ze[Fe+2],Ze[Fe-1]=Ze[Fe+3],Ze[Fe+ze]=Ze[Fe+ze-4],Ze[Fe+ze+1]=Ze[Fe+ze-3],Ze[Fe+ze+2]=Ze[Fe+ze-2],Ze[Fe+ze+3]=Ze[Fe+ze-1],Fe-=Ae}return ce.splice(oe,ke*4,R.OPS.paintInlineImageXObjectGroup),de.splice(oe,ke*4,[{width:pe,height:_e,kind:R.ImageKind.RGBA_32BPP,data:Ge},fe]),oe+1}),U(K,[R.OPS.save,R.OPS.transform,R.OPS.paintImageMaskXObject,R.OPS.restore],null,function(he,J){const W=he.fnArray,X=he.iCurr-3,L=(J-X)%4;switch(L){case 0:return W[J]===R.OPS.save;case 1:return W[J]===R.OPS.transform;case 2:return W[J]===R.OPS.paintImageMaskXObject;case 3:return W[J]===R.OPS.restore}throw new Error(`iterateImageMaskGroup - invalid pos: ${L}`)},function(he,J){const Q=he.fnArray,ce=he.argsArray,de=he.iCurr,se=de-3,oe=de-2,me=de-1;let Ee=Math.floor((J-se)/4);if(Ee<10)return J-(J-se)%4;let ke=!1,xe,fe;const ve=ce[me][0],ye=ce[oe][0],Ce=ce[oe][1],pe=ce[oe][2],_e=ce[oe][3];if(Ce===pe){ke=!0,xe=oe+4;let Ge=me+4;for(let Ae=1;Ae=4&&X[ce-4]===X[de]&&X[ce-3]===X[se]&&X[ce-2]===X[oe]&&X[ce-1]===X[me]&&L[ce-4][0]===Ee&&L[ce-4][1]===ke&&(xe++,fe-=5);let ve=fe+4;for(let ye=1;ye=W)break}if(X=(X||K)[he[J]],!X||Array.isArray(X)){J++;continue}if(Q.iCurr=J,J++,X.checkFn&&!(0,X.checkFn)(Q)){X=null;continue}L=X,X=null}this.state=X,this.match=L,this.lastProcessed=J}flush(){for(;this.match;){const he=this.queue.fnArray.length;this.lastProcessed=(0,this.match.processFn)(this.context,he),this.match=null,this.state=null,this._optimize()}}reset(){this.state=null,this.match=null,this.lastProcessed=0}}class ae{static get CHUNK_SIZE(){return(0,R.shadow)(this,"CHUNK_SIZE",1e3)}static get CHUNK_SIZE_ABOUT(){return(0,R.shadow)(this,"CHUNK_SIZE_ABOUT",this.CHUNK_SIZE-5)}constructor(){let he=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,J=arguments.length>1?arguments[1]:void 0;this._streamSink=J,this.fnArray=[],this.argsArray=[],J&&!(he&R.RenderingIntentFlag.OPLIST)?this.optimizer=new e(this):this.optimizer=new z(this),this.dependencies=new Set,this._totalLength=0,this.weight=0,this._resolved=J?null:Promise.resolve()}get length(){return this.argsArray.length}get ready(){return this._resolved||this._streamSink.ready}get totalLength(){return this._totalLength+this.length}addOp(he,J){this.optimizer.push(he,J),this.weight++,this._streamSink&&(this.weight>=ae.CHUNK_SIZE?this.flush():this.weight>=ae.CHUNK_SIZE_ABOUT&&(he===R.OPS.restore||he===R.OPS.endText)&&this.flush())}addImageOps(he,J,W){W!==void 0&&this.addOp(R.OPS.beginMarkedContentProps,["OC",W]),this.addOp(he,J),W!==void 0&&this.addOp(R.OPS.endMarkedContent,[])}addDependency(he){this.dependencies.has(he)||(this.dependencies.add(he),this.addOp(R.OPS.dependency,[he]))}addDependencies(he){for(const J of he)this.addDependency(J)}addOpList(he){if(!(he instanceof ae)){(0,R.warn)('addOpList - ignoring invalid "opList" parameter.');return}for(const J of he.dependencies)this.dependencies.add(J);for(let J=0,W=he.length;J0&&arguments[0]!==void 0?arguments[0]:!1,J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.optimizer.flush();const W=this.length;this._totalLength+=W,this._streamSink.enqueue({fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:he,separateAnnots:J,length:W},1,this._transfers),this.dependencies.clear(),this.fnArray.length=0,this.argsArray.length=0,this.weight=0,this.optimizer.reset()}}D.OperatorList=ae},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFImage=void 0;var R=B(2),U=B(189),K=B(132),z=B(139),e=B(144),ae=B(152),ie=B(155),he=B(130);function J(L,Q,ce,de){return L=Q+L*ce,L<0?L=0:L>de&&(L=de),L}function W(L,Q,ce,de,se,oe){const me=se*oe;let Ee;Q<=8?Ee=new Uint8Array(me):Q<=16?Ee=new Uint16Array(me):Ee=new Uint32Array(me);const ke=ce/se,xe=de/oe;let fe,ve,ye,Ce=0,pe;const _e=new Uint16Array(se),Ge=ce;for(fe=0;fe0&&Number.isInteger(se.height)&&se.height>0&&(se.width!==pe||se.height!==_e)&&((0,R.warn)("PDFImage - using the Width/Height of the image data, rather than the image dictionary."),pe=se.width,_e=se.height),pe<1||_e<1)throw new R.FormatError(`Invalid image width: ${pe} or height: ${_e}`);this.width=pe,this.height=_e,this.interpolate=ve.get("I","Interpolate"),this.imageMask=ve.get("IM","ImageMask")||!1,this.matte=ve.get("Matte")||!1;let Ge=se.bitsPerComponent;if(!Ge&&(Ge=ve.get("BPC","BitsPerComponent"),!Ge))if(this.imageMask)Ge=1;else throw new R.FormatError(`Bits per component missing in image: ${this.imageMask}`);if(this.bpc=Ge,!this.imageMask){let Ae=ve.getRaw("CS")||ve.getRaw("ColorSpace");if(!Ae)switch((0,R.info)("JPX images (which do not require color spaces)"),se.numComps){case 1:Ae=he.Name.get("DeviceGray");break;case 3:Ae=he.Name.get("DeviceRGB");break;case 4:Ae=he.Name.get("DeviceCMYK");break;default:throw new Error(`JPX images with ${se.numComps} color components not supported.`)}this.colorSpace=z.ColorSpace.parse({cs:Ae,xref:ce,resources:oe?de:null,pdfFunctionFactory:xe,localColorSpaceCache:fe}),this.numComps=this.colorSpace.numComps}if(this.decode=ve.getArray("D","Decode"),this.needsDecode=!1,this.decode&&(this.colorSpace&&!this.colorSpace.isDefaultDecode(this.decode,Ge)||ke&&!z.ColorSpace.isDefaultDecode(this.decode,1))){this.needsDecode=!0;const Ae=(1<>3)*se,xe=ce.byteLength,fe=ke===xe;let ve,ye;if(oe&&(!me||fe)?ve=ce:me?(ve=new Uint8Array(ke),ve.set(ce),ve.fill(255,xe)):ve=new Uint8Array(ce),me)for(ye=0;ye>7&1,ke[ve+1]=Ce>>6&1,ke[ve+2]=Ce>>5&1,ke[ve+3]=Ce>>4&1,ke[ve+4]=Ce>>3&1,ke[ve+5]=Ce>>2&1,ke[ve+6]=Ce>>1&1,ke[ve+7]=Ce&1,ve+=8;if(ve>=1}}else{let pe=0;for(Ce=0,ve=0,ye=me;ve>_e;Ge<0?Ge=0:Ge>fe&&(Ge=fe),ke[ve]=Ge,Ce&=(1<<_e)-1,pe=_e}}return ke}fillOpacity(Q,ce,de,se,oe){const me=this.smask,Ee=this.mask;let ke,xe,fe,ve,ye,Ce;if(me)xe=me.width,fe=me.height,ke=new Uint8ClampedArray(xe*fe),me.fillGrayBuffer(ke),(xe!==ce||fe!==de)&&(ke=W(ke,me.bpc,xe,fe,ce,de));else if(Ee)if(Ee instanceof X){for(xe=Ee.width,fe=Ee.height,ke=new Uint8ClampedArray(xe*fe),Ee.numComps=1,Ee.fillGrayBuffer(ke),ve=0,ye=xe*fe;veEe[Ne+1]){_e=255;break}}ke[ve]=_e}}else throw new R.FormatError("Unknown mask format.");if(ke)for(ve=0,Ce=3,ye=ce*se;ve0&&arguments[0]!==void 0?arguments[0]:!1;const ce=this.drawWidth,de=this.drawHeight,se={width:ce,height:de,interpolate:this.interpolate,kind:0,data:null},oe=this.numComps,me=this.width,Ee=this.height,ke=this.bpc,xe=me*oe*ke+7>>3;if(!Q){let _e;if(this.colorSpace.name==="DeviceGray"&&ke===1?_e=R.ImageKind.GRAYSCALE_1BPP:this.colorSpace.name==="DeviceRGB"&&ke===8&&!this.needsDecode&&(_e=R.ImageKind.RGB_24BPP),_e&&!this.smask&&!this.mask&&ce===me&&de===Ee){if(se.kind=_e,se.data=this.getImageBytes(Ee*xe,{}),this.needsDecode){(0,R.assert)(_e===R.ImageKind.GRAYSCALE_1BPP,"PDFImage.createImageData: The image must be grayscale.");const Ge=se.data;for(let Ae=0,Ne=Ge.length;Ae>3,Ee=this.getImageBytes(se*me,{internal:!0}),ke=this.getComponents(Ee);let xe,fe;if(oe===1){if(fe=de*se,this.needsDecode)for(xe=0;xe{Object.defineProperty(D,"__esModule",{value:!0}),D.applyMaskImageData=U;var R=B(2);function U(K){let{src:z,srcPos:e=0,dest:ae,destPos:ie=0,width:he,height:J,inverseDecode:W=!1}=K;const X=R.FeatureTest.isLittleEndian?4278190080:255,[L,Q]=W?[0,X]:[X,0],ce=he>>3,de=he&7,se=z.length;ae=new Uint32Array(ae.buffer);for(let oe=0;oe{Object.defineProperty(D,"__esModule",{value:!0}),D.incrementalUpdate=oe,D.writeDict=he,D.writeObject=ie;var R=B(2),U=B(130),K=B(131),z=B(191),e=B(132),ae=B(192);function ie(me,Ee,ke,xe){ke.push(`${me.num} ${me.gen} obj `),Ee instanceof U.Dict?he(Ee,ke,xe):Ee instanceof e.BaseStream&&J(Ee,ke,xe),ke.push(` endobj -`)}function he(me,Ee,ke){Ee.push("<<");for(const xe of me.getKeys())Ee.push(` /${(0,K.escapePDFName)(xe)} `),W(me.getRaw(xe),Ee,ke);Ee.push(">>")}function J(me,Ee,ke){he(me.dict,Ee,ke),Ee.push(` stream +`)}function he(me,Ee,ke){Ee.push("<<");for(const xe of me.getKeys())Ee.push(` /${(0,K.escapePDFName)(xe)} `),X(me.getRaw(xe),Ee,ke);Ee.push(">>")}function J(me,Ee,ke){he(me.dict,Ee,ke),Ee.push(` stream `);let xe=me.getString();ke!==null&&(xe=ke.encryptString(xe)),Ee.push(xe,` endstream -`)}function X(me,Ee,ke){Ee.push("[");let xe=!0;for(const fe of me)xe?xe=!1:Ee.push(" "),W(fe,Ee,ke);Ee.push("]")}function W(me,Ee,ke){me instanceof U.Name?Ee.push(`/${(0,K.escapePDFName)(me.name)}`):me instanceof U.Ref?Ee.push(`${me.num} ${me.gen} R`):Array.isArray(me)?X(me,Ee,ke):typeof me=="string"?(ke!==null&&(me=ke.encryptString(me)),Ee.push(`(${(0,R.escapeString)(me)})`)):typeof me=="number"?Ee.push((0,K.numberToString)(me)):typeof me=="boolean"?Ee.push(me.toString()):me instanceof U.Dict?he(me,Ee,ke):me instanceof e.BaseStream?J(me,Ee,ke):me===null?Ee.push("null"):(0,R.warn)(`Unhandled value in writer: ${typeof me}, please file a bug.`)}function L(me,Ee,ke,xe){for(let fe=Ee+ke-1;fe>ke-1;fe--)xe[fe]=me&255,me>>=8;return ke+Ee}function Q(me,Ee,ke){for(let xe=0,fe=me.length;xepe+_e.length,0);for(const pe of Object.values(Ee.info))fe.push(pe),ve+=pe.length;const ye=new Uint8Array(ve);let Ce=0;for(const pe of fe)Q(pe,Ce,ye),Ce+=pe.length;return(0,R.bytesToString)((0,ae.calculateMD5)(ye))}function de(me,Ee){const ke=new z.SimpleXMLParser({hasAttributes:!0}).parseFromString(me);for(const{xfa:fe}of Ee){if(!fe)continue;const{path:ve,value:ye}=fe;if(!ve)continue;const Ce=ke.documentElement.searchNode((0,K.parseXFAPath)(ve),0);Ce?Array.isArray(ye)?Ce.childNodes=ye.map(pe=>new z.SimpleDOMNode("value",pe)):Ce.childNodes=[new z.SimpleDOMNode("#text",ye)]:(0,R.warn)(`Node not found for path: ${ve}`)}const xe=[];return ke.documentElement.dump(xe),xe.join("")}function oe(me){let{xfaData:Ee,xfaDatasetsRef:ke,hasXfaDatasetsEntry:xe,acroFormRef:fe,acroForm:ve,newRefs:ye,xref:Ce,xrefInfo:pe}=me;if(Ce===null)return;if(!xe){if(!fe){(0,R.warn)("XFA - Cannot save it");return}const Te=ve.get("XFA"),Ne=Te.slice();Ne.splice(2,0,"datasets"),Ne.splice(3,0,ke),ve.set("XFA",Ne);const Ze=Ce.encrypt;let ze=null;Ze&&(ze=Ze.createCipherTransform(fe.num,fe.gen));const Ae=[`${fe.num} ${fe.gen} obj -`];he(ve,Ae,ze),Ae.push(` -`),ve.set("XFA",Te),ye.push({ref:fe,data:Ae.join("")})}if(Ee===null){const Te=Ce.fetchIfRef(ke);Ee=de(Te.getString(),ye)}const _e=Ce.encrypt;_e&&(Ee=_e.createCipherTransform(ke.num,ke.gen).encryptString(Ee));const Ge=`${ke.num} ${ke.gen} obj +`)}function W(me,Ee,ke){Ee.push("[");let xe=!0;for(const fe of me)xe?xe=!1:Ee.push(" "),X(fe,Ee,ke);Ee.push("]")}function X(me,Ee,ke){me instanceof U.Name?Ee.push(`/${(0,K.escapePDFName)(me.name)}`):me instanceof U.Ref?Ee.push(`${me.num} ${me.gen} R`):Array.isArray(me)?W(me,Ee,ke):typeof me=="string"?(ke!==null&&(me=ke.encryptString(me)),Ee.push(`(${(0,R.escapeString)(me)})`)):typeof me=="number"?Ee.push((0,K.numberToString)(me)):typeof me=="boolean"?Ee.push(me.toString()):me instanceof U.Dict?he(me,Ee,ke):me instanceof e.BaseStream?J(me,Ee,ke):me===null?Ee.push("null"):(0,R.warn)(`Unhandled value in writer: ${typeof me}, please file a bug.`)}function L(me,Ee,ke,xe){for(let fe=Ee+ke-1;fe>ke-1;fe--)xe[fe]=me&255,me>>=8;return ke+Ee}function Q(me,Ee,ke){for(let xe=0,fe=me.length;xepe+_e.length,0);for(const pe of Object.values(Ee.info))fe.push(pe),ve+=pe.length;const ye=new Uint8Array(ve);let Ce=0;for(const pe of fe)Q(pe,Ce,ye),Ce+=pe.length;return(0,R.bytesToString)((0,ae.calculateMD5)(ye))}function de(me,Ee){const ke=new z.SimpleXMLParser({hasAttributes:!0}).parseFromString(me);for(const{xfa:fe}of Ee){if(!fe)continue;const{path:ve,value:ye}=fe;if(!ve)continue;const Ce=ke.documentElement.searchNode((0,K.parseXFAPath)(ve),0);Ce?Array.isArray(ye)?Ce.childNodes=ye.map(pe=>new z.SimpleDOMNode("value",pe)):Ce.childNodes=[new z.SimpleDOMNode("#text",ye)]:(0,R.warn)(`Node not found for path: ${ve}`)}const xe=[];return ke.documentElement.dump(xe),xe.join("")}function se(me){let{xfaData:Ee,xfaDatasetsRef:ke,hasXfaDatasetsEntry:xe,acroFormRef:fe,acroForm:ve,newRefs:ye,xref:Ce,xrefInfo:pe}=me;if(Ce===null)return;if(!xe){if(!fe){(0,R.warn)("XFA - Cannot save it");return}const Ae=ve.get("XFA"),Ne=Ae.slice();Ne.splice(2,0,"datasets"),Ne.splice(3,0,ke),ve.set("XFA",Ne);const Ze=Ce.encrypt;let ze=null;Ze&&(ze=Ze.createCipherTransform(fe.num,fe.gen));const Te=[`${fe.num} ${fe.gen} obj +`];he(ve,Te,ze),Te.push(` +`),ve.set("XFA",Ae),ye.push({ref:fe,data:Te.join("")})}if(Ee===null){const Ae=Ce.fetchIfRef(ke);Ee=de(Ae.getString(),ye)}const _e=Ce.encrypt;_e&&(Ee=_e.createCipherTransform(ke.num,ke.gen).encryptString(Ee));const Ge=`${ke.num} ${ke.gen} obj << /Type /EmbeddedFile /Length ${Ee.length}>> stream `+Ee+` endstream endobj -`;ye.push({ref:ke,data:Ge})}function se(me){let{originalData:Ee,xrefInfo:ke,newRefs:xe,xref:fe=null,hasXfa:ve=!1,xfaDatasetsRef:ye=null,hasXfaDatasetsEntry:Ce=!1,acroFormRef:pe=null,acroForm:_e=null,xfaData:Ge=null}=me;ve&&oe({xfaData:Ge,xfaDatasetsRef:ye,hasXfaDatasetsEntry:Ce,acroFormRef:pe,acroForm:_e,newRefs:xe,xref:fe,xrefInfo:ke});const Te=new U.Dict(null),Ne=ke.newRef;let Ze,ze;const Ae=Ee.at(-1);Ae===10||Ae===13?(Ze=[],ze=Ee.length):(Ze=[` -`],ze=Ee.length+1),Te.set("Size",Ne.num+1),Te.set("Prev",ke.startXRef),Te.set("Type",U.Name.get("XRef")),ke.rootRef!==null&&Te.set("Root",ke.rootRef),ke.infoRef!==null&&Te.set("Info",ke.infoRef),ke.encryptRef!==null&&Te.set("Encrypt",ke.encryptRef),xe.push({ref:Ne,data:""}),xe=xe.sort((Fe,$e)=>Fe.ref.num-$e.ref.num);const De=[[0,1,65535]],Ue=[0,1];let we=0;for(const{ref:Fe,data:$e}of xe)we=Math.max(we,ze),De.push([1,ze,Math.min(Fe.gen,65535)]),ze+=$e.length,Ue.push(Fe.num,1),Ze.push($e);if(Te.set("Index",Ue),Array.isArray(ke.fileIds)&&ke.fileIds.length>0){const Fe=ce(ze,ke);Te.set("ID",[ke.fileIds[0],Fe])}const Be=[1,Math.ceil(Math.log2(we)/8),2],Ve=(Be[0]+Be[1]+Be[2])*De.length;Te.set("W",Be),Te.set("Length",Ve),Ze.push(`${Ne.num} ${Ne.gen} obj -`),he(Te,Ze,null),Ze.push(` stream -`);const je=Ze.reduce((Fe,$e)=>Fe+$e.length,0),Le=` +`;ye.push({ref:ke,data:Ge})}function oe(me){let{originalData:Ee,xrefInfo:ke,newRefs:xe,xref:fe=null,hasXfa:ve=!1,xfaDatasetsRef:ye=null,hasXfaDatasetsEntry:Ce=!1,acroFormRef:pe=null,acroForm:_e=null,xfaData:Ge=null}=me;ve&&se({xfaData:Ge,xfaDatasetsRef:ye,hasXfaDatasetsEntry:Ce,acroFormRef:pe,acroForm:_e,newRefs:xe,xref:fe,xrefInfo:ke});const Ae=new U.Dict(null),Ne=ke.newRef;let Ze,ze;const Te=Ee.at(-1);Te===10||Te===13?(Ze=[],ze=Ee.length):(Ze=[` +`],ze=Ee.length+1),Ae.set("Size",Ne.num+1),Ae.set("Prev",ke.startXRef),Ae.set("Type",U.Name.get("XRef")),ke.rootRef!==null&&Ae.set("Root",ke.rootRef),ke.infoRef!==null&&Ae.set("Info",ke.infoRef),ke.encryptRef!==null&&Ae.set("Encrypt",ke.encryptRef),xe.push({ref:Ne,data:""}),xe=xe.sort((Ue,$e)=>Ue.ref.num-$e.ref.num);const Fe=[[0,1,65535]],Pe=[0,1];let we=0;for(const{ref:Ue,data:$e}of xe)we=Math.max(we,ze),Fe.push([1,ze,Math.min(Ue.gen,65535)]),ze+=$e.length,Pe.push(Ue.num,1),Ze.push($e);if(Ae.set("Index",Pe),Array.isArray(ke.fileIds)&&ke.fileIds.length>0){const Ue=ce(ze,ke);Ae.set("ID",[ke.fileIds[0],Ue])}const Be=[1,Math.ceil(Math.log2(we)/8),2],Ve=(Be[0]+Be[1]+Be[2])*Fe.length;Ae.set("W",Be),Ae.set("Length",Ve),Ze.push(`${Ne.num} ${Ne.gen} obj +`),he(Ae,Ze,null),Ze.push(` stream +`);const je=Ze.reduce((Ue,$e)=>Ue+$e.length,0),Le=` endstream endobj startxref ${ze} %%EOF -`,et=new Uint8Array(Ee.length+je+Ve+Le.length);et.set(Ee);let Qe=Ee.length;for(const Fe of Ze)Q(Fe,Qe,et),Qe+=Fe.length;for(const[Fe,$e,Ye]of De)Qe=L(Fe,Be[0],Qe,et),Qe=L($e,Be[1],Qe,et),Qe=L(Ye,Be[2],Qe,et);return Q(Le,Qe,et),et}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XMLParserErrorCode=D.XMLParserBase=D.SimpleXMLParser=D.SimpleDOMNode=void 0;var R=B(131);const U={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};D.XMLParserErrorCode=U;function K(he,J){const X=he[J];return X===" "||X===` -`||X==="\r"||X===" "}function z(he){for(let J=0,X=he.length;J{if(W.substring(0,2)==="#x")return String.fromCodePoint(parseInt(W.substring(2),16));if(W.substring(0,1)==="#")return String.fromCodePoint(parseInt(W.substring(1),10));switch(W){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return this.onResolveEntity(W)})}_parseContent(J,X){const W=[];let L=X;function Q(){for(;L"&&J[L]!=="/";)++L;const ce=J.substring(X,L);for(Q();L"&&J[L]!=="/"&&J[L]!=="?";){Q();let de="",oe="";for(;L"&&J[W]!=="?"&&J[W]!=="/";)++W;const Q=J.substring(X,W);L();const ce=W;for(;W");)++W;const de=J.substring(ce,W);return{name:Q,value:de,parsed:W-X}}parseXml(J){let X=0;for(;X",L),ce<0){this.onError(U.UnterminatedElement);return}this.onEndElement(J.substring(L,ce)),L=ce+1;break;case"?":++L;const de=this._parseProcessingInstruction(J,L);if(J.substring(L+de.parsed,L+de.parsed+2)!=="?>"){this.onError(U.UnterminatedXmlDeclaration);return}this.onPi(de.name,de.value),L+=de.parsed+2;break;case"!":if(J.substring(L+1,L+3)==="--"){if(ce=J.indexOf("-->",L+3),ce<0){this.onError(U.UnterminatedComment);return}this.onComment(J.substring(L+3,ce)),L=ce+3}else if(J.substring(L+1,L+8)==="[CDATA["){if(ce=J.indexOf("]]>",L+8),ce<0){this.onError(U.UnterminatedCdat);return}this.onCdata(J.substring(L+8,ce)),L=ce+3}else if(J.substring(L+1,L+8)==="DOCTYPE"){const me=J.indexOf("[",L+8);let Ee=!1;if(ce=J.indexOf(">",L+8),ce<0){this.onError(U.UnterminatedDoctypeDeclaration);return}if(me>0&&ce>me){if(ce=J.indexOf("]>",L+8),ce<0){this.onError(U.UnterminatedDoctypeDeclaration);return}Ee=!0}const ke=J.substring(L+8,ce+(Ee?1:0));this.onDoctype(ke),L=ce+(Ee?2:1)}else{this.onError(U.MalformedElement);return}break;default:const oe=this._parseContent(J,L);if(oe===null){this.onError(U.MalformedElement);return}let se=!1;if(J.substring(L+oe.parsed,L+oe.parsed+2)==="/>")se=!0;else if(J.substring(L+oe.parsed,L+oe.parsed+1)!==">"){this.onError(U.UnterminatedElement);return}this.onBeginElement(oe.name,oe.attributes,se),L+=oe.parsed+(se?2:1);break}}else{for(;L0}searchNode(J,X){if(X>=J.length)return this;const W=J[X],L=[];let Q=this;for(;;){if(W.name===Q.nodeName)if(W.pos===0){const ce=Q.searchNode(J,X+1);if(ce!==null)return ce}else{if(L.length===0)return null;{const[ce]=L.pop();let de=0;for(const oe of ce.childNodes)if(W.name===oe.nodeName){if(de===W.pos)return oe.searchNode(J,X+1);de++}return Q.searchNode(J,X+1)}}if(Q.childNodes&&Q.childNodes.length!==0)L.push([Q,0]),Q=Q.childNodes[0];else{if(L.length===0)return null;for(;L.length!==0;){const[ce,de]=L.pop(),oe=de+1;if(oe");for(const X of this.childNodes)X.dump(J);J.push(``)}else this.nodeValue?J.push(`>${(0,R.encodeToXmlString)(this.nodeValue)}`):J.push("/>")}}D.SimpleDOMNode=ae;class ie extends e{constructor(J){let{hasAttributes:X=!1,lowerCaseName:W=!1}=J;super(),this._currentFragment=null,this._stack=null,this._errorCode=U.NoError,this._hasAttributes=X,this._lowerCaseName=W}parseFromString(J){if(this._currentFragment=[],this._stack=[],this._errorCode=U.NoError,this.parseXml(J),this._errorCode!==U.NoError)return;const[X]=this._currentFragment;if(X)return{documentElement:X}}onText(J){if(z(J))return;const X=new ae("#text",J);this._currentFragment.push(X)}onCdata(J){const X=new ae("#text",J);this._currentFragment.push(X)}onBeginElement(J,X,W){this._lowerCaseName&&(J=J.toLowerCase());const L=new ae(J);L.childNodes=[],this._hasAttributes&&(L.attributes=X),this._currentFragment.push(L),!W&&(this._stack.push(this._currentFragment),this._currentFragment=L.childNodes)}onEndElement(J){this._currentFragment=this._stack.pop()||[];const X=this._currentFragment.at(-1);if(!X)return null;for(let W=0,L=X.childNodes.length;W{Object.defineProperty(D,"__esModule",{value:!0}),D.calculateSHA256=D.calculateMD5=D.PDF20=D.PDF17=D.CipherTransformFactory=D.ARCFourCipher=D.AES256Cipher=D.AES128Cipher=void 0,D.calculateSHA384=J,D.calculateSHA512=void 0;var R=B(2),U=B(130),K=B(193);class z{constructor(Ee){this.a=0,this.b=0;const ke=new Uint8Array(256),xe=Ee.length;for(let fe=0;fe<256;++fe)ke[fe]=fe;for(let fe=0,ve=0;fe<256;++fe){const ye=ke[fe];ve=ve+ye+Ee[fe%xe]&255,ke[fe]=ke[ve],ke[ve]=ye}this.s=ke}encryptBlock(Ee){let ke=this.a,xe=this.b;const fe=this.s,ve=Ee.length,ye=new Uint8Array(ve);for(let Ce=0;Ce>5&255,Ne[Ze++]=ye>>13&255,Ne[Ze++]=ye>>21&255,Ne[Ze++]=ye>>>29&255,Ne[Ze++]=0,Ne[Ze++]=0,Ne[Ze++]=0;const De=new Int32Array(16);for(Ze=0;Ze>>32-et)|0,Ue=je}Ce=Ce+Ue|0,pe=pe+we|0,_e=_e+Ie|0,Ge=Ge+Be|0}return new Uint8Array([Ce&255,Ce>>8&255,Ce>>16&255,Ce>>>24&255,pe&255,pe>>8&255,pe>>16&255,pe>>>24&255,_e&255,_e>>8&255,_e>>16&255,_e>>>24&255,Ge&255,Ge>>8&255,Ge>>16&255,Ge>>>24&255])}return xe}();D.calculateMD5=e;class ae{constructor(Ee,ke){this.high=Ee|0,this.low=ke|0}and(Ee){this.high&=Ee.high,this.low&=Ee.low}xor(Ee){this.high^=Ee.high,this.low^=Ee.low}or(Ee){this.high|=Ee.high,this.low|=Ee.low}shiftRight(Ee){Ee>=32?(this.low=this.high>>>Ee-32|0,this.high=0):(this.low=this.low>>>Ee|this.high<<32-Ee,this.high=this.high>>>Ee|0)}shiftLeft(Ee){Ee>=32?(this.high=this.low<>>32-Ee,this.low<<=Ee)}rotateRight(Ee){let ke,xe;Ee&32?(xe=this.low,ke=this.high):(ke=this.low,xe=this.high),Ee&=31,this.low=ke>>>Ee|xe<<32-Ee,this.high=xe>>>Ee|ke<<32-Ee}not(){this.high=~this.high,this.low=~this.low}add(Ee){const ke=(this.low>>>0)+(Ee.low>>>0);let xe=(this.high>>>0)+(Ee.high>>>0);ke>4294967295&&(xe+=1),this.low=ke|0,this.high=xe|0}copyTo(Ee,ke){Ee[ke]=this.high>>>24&255,Ee[ke+1]=this.high>>16&255,Ee[ke+2]=this.high>>8&255,Ee[ke+3]=this.high&255,Ee[ke+4]=this.low>>>24&255,Ee[ke+5]=this.low>>16&255,Ee[ke+6]=this.low>>8&255,Ee[ke+7]=this.low&255}assign(Ee){this.high=Ee.high,this.low=Ee.low}}const ie=function(){function Ee(Ge,Te){return Ge>>>Te|Ge<<32-Te}function ke(Ge,Te,Ne){return Ge&Te^~Ge&Ne}function xe(Ge,Te,Ne){return Ge&Te^Ge&Ne^Te&Ne}function fe(Ge){return Ee(Ge,2)^Ee(Ge,13)^Ee(Ge,22)}function ve(Ge){return Ee(Ge,6)^Ee(Ge,11)^Ee(Ge,25)}function ye(Ge){return Ee(Ge,7)^Ee(Ge,18)^Ge>>>3}function Ce(Ge){return Ee(Ge,17)^Ee(Ge,19)^Ge>>>10}const pe=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function _e(Ge,Te,Ne){let Ze=1779033703,ze=3144134277,Ae=1013904242,De=2773480762,Ue=1359893119,we=2600822924,Ie=528734635,Be=1541459225;const Ke=Math.ceil((Ne+9)/64)*64,Ve=new Uint8Array(Ke);let je,Le;for(je=0;je>>29&255,Ve[je++]=Ne>>21&255,Ve[je++]=Ne>>13&255,Ve[je++]=Ne>>5&255,Ve[je++]=Ne<<3&255;const Qe=new Uint32Array(64);for(je=0;je>24&255,Ze>>16&255,Ze>>8&255,Ze&255,ze>>24&255,ze>>16&255,ze>>8&255,ze&255,Ae>>24&255,Ae>>16&255,Ae>>8&255,Ae&255,De>>24&255,De>>16&255,De>>8&255,De&255,Ue>>24&255,Ue>>16&255,Ue>>8&255,Ue&255,we>>24&255,we>>16&255,we>>8&255,we&255,Ie>>24&255,Ie>>16&255,Ie>>8&255,Ie&255,Be>>24&255,Be>>16&255,Be>>8&255,Be&255])}return _e}();D.calculateSHA256=ie;const he=function(){function Ee(_e,Ge,Te,Ne,Ze){_e.assign(Ge),_e.and(Te),Ze.assign(Ge),Ze.not(),Ze.and(Ne),_e.xor(Ze)}function ke(_e,Ge,Te,Ne,Ze){_e.assign(Ge),_e.and(Te),Ze.assign(Ge),Ze.and(Ne),_e.xor(Ze),Ze.assign(Te),Ze.and(Ne),_e.xor(Ze)}function xe(_e,Ge,Te){_e.assign(Ge),_e.rotateRight(28),Te.assign(Ge),Te.rotateRight(34),_e.xor(Te),Te.assign(Ge),Te.rotateRight(39),_e.xor(Te)}function fe(_e,Ge,Te){_e.assign(Ge),_e.rotateRight(14),Te.assign(Ge),Te.rotateRight(18),_e.xor(Te),Te.assign(Ge),Te.rotateRight(41),_e.xor(Te)}function ve(_e,Ge,Te){_e.assign(Ge),_e.rotateRight(1),Te.assign(Ge),Te.rotateRight(8),_e.xor(Te),Te.assign(Ge),Te.shiftRight(7),_e.xor(Te)}function ye(_e,Ge,Te){_e.assign(Ge),_e.rotateRight(19),Te.assign(Ge),Te.rotateRight(61),_e.xor(Te),Te.assign(Ge),Te.shiftRight(6),_e.xor(Te)}const Ce=[new ae(1116352408,3609767458),new ae(1899447441,602891725),new ae(3049323471,3964484399),new ae(3921009573,2173295548),new ae(961987163,4081628472),new ae(1508970993,3053834265),new ae(2453635748,2937671579),new ae(2870763221,3664609560),new ae(3624381080,2734883394),new ae(310598401,1164996542),new ae(607225278,1323610764),new ae(1426881987,3590304994),new ae(1925078388,4068182383),new ae(2162078206,991336113),new ae(2614888103,633803317),new ae(3248222580,3479774868),new ae(3835390401,2666613458),new ae(4022224774,944711139),new ae(264347078,2341262773),new ae(604807628,2007800933),new ae(770255983,1495990901),new ae(1249150122,1856431235),new ae(1555081692,3175218132),new ae(1996064986,2198950837),new ae(2554220882,3999719339),new ae(2821834349,766784016),new ae(2952996808,2566594879),new ae(3210313671,3203337956),new ae(3336571891,1034457026),new ae(3584528711,2466948901),new ae(113926993,3758326383),new ae(338241895,168717936),new ae(666307205,1188179964),new ae(773529912,1546045734),new ae(1294757372,1522805485),new ae(1396182291,2643833823),new ae(1695183700,2343527390),new ae(1986661051,1014477480),new ae(2177026350,1206759142),new ae(2456956037,344077627),new ae(2730485921,1290863460),new ae(2820302411,3158454273),new ae(3259730800,3505952657),new ae(3345764771,106217008),new ae(3516065817,3606008344),new ae(3600352804,1432725776),new ae(4094571909,1467031594),new ae(275423344,851169720),new ae(430227734,3100823752),new ae(506948616,1363258195),new ae(659060556,3750685593),new ae(883997877,3785050280),new ae(958139571,3318307427),new ae(1322822218,3812723403),new ae(1537002063,2003034995),new ae(1747873779,3602036899),new ae(1955562222,1575990012),new ae(2024104815,1125592928),new ae(2227730452,2716904306),new ae(2361852424,442776044),new ae(2428436474,593698344),new ae(2756734187,3733110249),new ae(3204031479,2999351573),new ae(3329325298,3815920427),new ae(3391569614,3928383900),new ae(3515267271,566280711),new ae(3940187606,3454069534),new ae(4118630271,4000239992),new ae(116418474,1914138554),new ae(174292421,2731055270),new ae(289380356,3203993006),new ae(460393269,320620315),new ae(685471733,587496836),new ae(852142971,1086792851),new ae(1017036298,365543100),new ae(1126000580,2618297676),new ae(1288033470,3409855158),new ae(1501505948,4234509866),new ae(1607167915,987167468),new ae(1816402316,1246189591)];function pe(_e,Ge,Te){let Ne=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Ze,ze,Ae,De,Ue,we,Ie,Be;Ne?(Ze=new ae(3418070365,3238371032),ze=new ae(1654270250,914150663),Ae=new ae(2438529370,812702999),De=new ae(355462360,4144912697),Ue=new ae(1731405415,4290775857),we=new ae(2394180231,1750603025),Ie=new ae(3675008525,1694076839),Be=new ae(1203062813,3204075428)):(Ze=new ae(1779033703,4089235720),ze=new ae(3144134277,2227873595),Ae=new ae(1013904242,4271175723),De=new ae(2773480762,1595750129),Ue=new ae(1359893119,2917565137),we=new ae(2600822924,725511199),Ie=new ae(528734635,4215389547),Be=new ae(1541459225,327033209));const Ke=Math.ceil((Te+17)/128)*128,Ve=new Uint8Array(Ke);let je,Le;for(je=0;je>>29&255,Ve[je++]=Te>>21&255,Ve[je++]=Te>>13&255,Ve[je++]=Te>>5&255,Ve[je++]=Te<<3&255;const Qe=new Array(80);for(je=0;je<80;je++)Qe[je]=new ae(0,0);let Fe=new ae(0,0),$e=new ae(0,0),Ye=new ae(0,0),tt=new ae(0,0),ot=new ae(0,0),st=new ae(0,0),dt=new ae(0,0),ct=new ae(0,0);const mt=new ae(0,0),ut=new ae(0,0),rt=new ae(0,0),He=new ae(0,0);let Je;for(je=0;je=1;--Ce){xe=ye[13],ye[13]=ye[9],ye[9]=ye[5],ye[5]=ye[1],ye[1]=xe,xe=ye[14],fe=ye[10],ye[14]=ye[6],ye[10]=ye[2],ye[6]=xe,ye[2]=fe,xe=ye[15],fe=ye[11],ve=ye[7],ye[15]=ye[3],ye[11]=xe,ye[7]=fe,ye[3]=ve;for(let pe=0;pe<16;++pe)ye[pe]=this._inv_s[ye[pe]];for(let pe=0,_e=Ce*16;pe<16;++pe,++_e)ye[pe]^=ke[_e];for(let pe=0;pe<16;pe+=4){const _e=this._mix[ye[pe]],Ge=this._mix[ye[pe+1]],Te=this._mix[ye[pe+2]],Ne=this._mix[ye[pe+3]];xe=_e^Ge>>>8^Ge<<24^Te>>>16^Te<<16^Ne>>>24^Ne<<8,ye[pe]=xe>>>24&255,ye[pe+1]=xe>>16&255,ye[pe+2]=xe>>8&255,ye[pe+3]=xe&255}}xe=ye[13],ye[13]=ye[9],ye[9]=ye[5],ye[5]=ye[1],ye[1]=xe,xe=ye[14],fe=ye[10],ye[14]=ye[6],ye[10]=ye[2],ye[6]=xe,ye[2]=fe,xe=ye[15],fe=ye[11],ve=ye[7],ye[15]=ye[3],ye[11]=xe,ye[7]=fe,ye[3]=ve;for(let Ce=0;Ce<16;++Ce)ye[Ce]=this._inv_s[ye[Ce]],ye[Ce]^=ke[Ce];return ye}_encrypt(Ee,ke){const xe=this._s;let fe,ve,ye;const Ce=new Uint8Array(16);Ce.set(Ee);for(let pe=0;pe<16;++pe)Ce[pe]^=ke[pe];for(let pe=1;pe=Ze;--Ne)if(Ge[Ne]!==Te){Te=0;break}pe-=Te,ye[ye.length-1]=Ge.subarray(0,16-Te)}}const _e=new Uint8Array(pe);for(let Ge=0,Te=0,Ne=ye.length;Ge2&&arguments[2]!==void 0?arguments[2]:null;const fe=Ee.length,ve=this.buffer;let ye=this.bufferPosition;if(xe)this.iv=xe;else{for(let Ce=0;ye<16&&Ce=256&&(ve=(ve^27)&255));for(let Ne=0;Ne<4;++Ne)fe[Ge]=ye^=fe[Ge-32],Ge++,fe[Ge]=Ce^=fe[Ge-32],Ge++,fe[Ge]=pe^=fe[Ge-32],Ge++,fe[Ge]=_e^=fe[Ge-32],Ge++}return fe}}D.AES256Cipher=Q;class ce{checkOwnerPassword(Ee,ke,xe,fe){const ve=new Uint8Array(Ee.length+56);ve.set(Ee,0),ve.set(ke,Ee.length),ve.set(xe,Ee.length+ke.length);const ye=ie(ve,0,ve.length);return(0,R.isArrayEqual)(ye,fe)}checkUserPassword(Ee,ke,xe){const fe=new Uint8Array(Ee.length+8);fe.set(Ee,0),fe.set(ke,Ee.length);const ve=ie(fe,0,fe.length);return(0,R.isArrayEqual)(ve,xe)}getOwnerKey(Ee,ke,xe,fe){const ve=new Uint8Array(Ee.length+56);ve.set(Ee,0),ve.set(ke,Ee.length),ve.set(xe,Ee.length+ke.length);const ye=ie(ve,0,ve.length);return new Q(ye).decryptBlock(fe,!1,new Uint8Array(16))}getUserKey(Ee,ke,xe){const fe=new Uint8Array(Ee.length+8);fe.set(Ee,0),fe.set(ke,Ee.length);const ve=ie(fe,0,fe.length);return new Q(ve).decryptBlock(xe,!1,new Uint8Array(16))}}D.PDF17=ce;const de=function(){function Ee(xe,fe,ve){let ye=ie(fe,0,fe.length).subarray(0,32),Ce=[0],pe=0;for(;pe<64||Ce.at(-1)>pe-32;){const _e=xe.length+ye.length+ve.length,Ge=new Uint8Array(_e);let Te=0;Ge.set(xe,Te),Te+=xe.length,Ge.set(ye,Te),Te+=ye.length,Ge.set(ve,Te);const Ne=new Uint8Array(_e*64);for(let Ae=0,De=0;Ae<64;Ae++,De+=_e)Ne.set(Ge,De);Ce=new L(ye.subarray(0,16)).encrypt(Ne,ye.subarray(16,32));let ze=0;for(let Ae=0;Ae<16;Ae++)ze*=256%3,ze%=3,ze+=(Ce[Ae]>>>0)%3,ze%=3;ze===0?ye=ie(Ce,0,Ce.length):ze===1?ye=J(Ce,0,Ce.length):ze===2&&(ye=he(Ce,0,Ce.length)),pe++}return ye.subarray(0,32)}class ke{hash(fe,ve,ye){return Ee(fe,ve,ye)}checkOwnerPassword(fe,ve,ye,Ce){const pe=new Uint8Array(fe.length+56);pe.set(fe,0),pe.set(ve,fe.length),pe.set(ye,fe.length+ve.length);const _e=Ee(fe,pe,ye);return(0,R.isArrayEqual)(_e,Ce)}checkUserPassword(fe,ve,ye){const Ce=new Uint8Array(fe.length+8);Ce.set(fe,0),Ce.set(ve,fe.length);const pe=Ee(fe,Ce,[]);return(0,R.isArrayEqual)(pe,ye)}getOwnerKey(fe,ve,ye,Ce){const pe=new Uint8Array(fe.length+56);pe.set(fe,0),pe.set(ve,fe.length),pe.set(ye,fe.length+ve.length);const _e=Ee(fe,pe,ye);return new Q(_e).decryptBlock(Ce,!1,new Uint8Array(16))}getUserKey(fe,ve,ye){const Ce=new Uint8Array(fe.length+8);Ce.set(fe,0),Ce.set(ve,fe.length);const pe=Ee(fe,Ce,[]);return new Q(pe).decryptBlock(ye,!1,new Uint8Array(16))}}return ke}();D.PDF20=de;class oe{constructor(Ee,ke){this.StringCipherConstructor=Ee,this.StreamCipherConstructor=ke}createStream(Ee,ke){const xe=new this.StreamCipherConstructor;return new K.DecryptStream(Ee,ke,function(ve,ye){return xe.decryptBlock(ve,ye)})}decryptString(Ee){const ke=new this.StringCipherConstructor;let xe=(0,R.stringToBytes)(Ee);return xe=ke.decryptBlock(xe,!0),(0,R.bytesToString)(xe)}encryptString(Ee){const ke=new this.StringCipherConstructor;if(ke instanceof W){const ve=16-Ee.length%16;Ee+=String.fromCharCode(ve).repeat(ve);const ye=new Uint8Array(16);if(typeof crypto<"u")crypto.getRandomValues(ye);else for(let _e=0;_e<16;_e++)ye[_e]=Math.floor(256*Math.random());let Ce=(0,R.stringToBytes)(Ee);Ce=ke.encrypt(Ce,ye);const pe=new Uint8Array(16+Ce.length);return pe.set(ye),pe.set(Ce,16),(0,R.bytesToString)(pe)}let xe=(0,R.stringToBytes)(Ee);return xe=ke.encrypt(xe),(0,R.bytesToString)(xe)}}const se=function(){const Ee=new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]);function ke(_e,Ge,Te,Ne,Ze,ze,Ae,De,Ue,we,Ie,Be){if(Ge){const Ve=Math.min(127,Ge.length);Ge=Ge.subarray(0,Ve)}else Ge=[];let Ke;return _e===6?Ke=new de:Ke=new ce,Ke.checkUserPassword(Ge,De,Ae)?Ke.getUserKey(Ge,Ue,Ie):Ge.length&&Ke.checkOwnerPassword(Ge,Ne,ze,Te)?Ke.getOwnerKey(Ge,Ze,ze,we):null}function xe(_e,Ge,Te,Ne,Ze,ze,Ae,De){const Ue=40+Te.length+_e.length,we=new Uint8Array(Ue);let Ie=0,Be,Ke;if(Ge)for(Ke=Math.min(32,Ge.length);Ie>8&255,we[Ie++]=Ze>>16&255,we[Ie++]=Ze>>>24&255,Be=0,Ke=_e.length;Be=4&&!De&&(we[Ie++]=255,we[Ie++]=255,we[Ie++]=255,we[Ie++]=255);let Ve=e(we,0,Ie);const je=Ae>>3;if(ze>=3)for(Be=0;Be<50;++Be)Ve=e(Ve,0,je);const Le=Ve.subarray(0,je);let et,Qe;if(ze>=3){for(Ie=0;Ie<32;++Ie)we[Ie]=Ee[Ie];for(Be=0,Ke=_e.length;Be>3;if(Te>=3)for(De=0;De<50;++De)Ue=e(Ue,0,Ue.length);let Ie,Be;if(Te>=3){Be=Ge;const Ke=new Uint8Array(we);for(De=19;De>=0;De--){for(let Ve=0;Ve3&&arguments[3]!==void 0?arguments[3]:!1;const Ze=new Uint8Array(Te.length+9),ze=Te.length;let Ae;for(Ae=0;Ae>8&255,Ze[Ae++]=_e>>16&255,Ze[Ae++]=Ge&255,Ze[Ae++]=Ge>>8&255,Ne&&(Ze[Ae++]=115,Ze[Ae++]=65,Ze[Ae++]=108,Ze[Ae++]=84),e(Ze,0,Ae).subarray(0,Math.min(Te.length+5,16))}function Ce(_e,Ge,Te,Ne,Ze){if(!(Ge instanceof U.Name))throw new R.FormatError("Invalid crypt filter name.");const ze=_e.get(Ge.name);let Ae;if(ze!=null&&(Ae=ze.get("CFM")),!Ae||Ae.name==="None")return function(){return new X};if(Ae.name==="V2")return function(){return new z(ye(Te,Ne,Ze,!1))};if(Ae.name==="AESV2")return function(){return new L(ye(Te,Ne,Ze,!0))};if(Ae.name==="AESV3")return function(){return new Q(Ze)};throw new R.FormatError("Unknown crypto method")}class pe{constructor(Ge,Te,Ne){const Ze=Ge.get("Filter");if(!(0,U.isName)(Ze,"Standard"))throw new R.FormatError("unknown encryption method");this.filterName=Ze.name,this.dict=Ge;const ze=Ge.get("V");if(!Number.isInteger(ze)||ze!==1&&ze!==2&&ze!==4&&ze!==5)throw new R.FormatError("unsupported encryption algorithm");this.algorithm=ze;let Ae=Ge.get("Length");if(!Ae)if(ze<=3)Ae=40;else{const Le=Ge.get("CF"),et=Ge.get("StmF");if(Le instanceof U.Dict&&et instanceof U.Name){Le.suppressEncryption=!0;const Qe=Le.get(et.name);Ae=Qe&&Qe.get("Length")||128,Ae<40&&(Ae<<=3)}}if(!Number.isInteger(Ae)||Ae<40||Ae%8!==0)throw new R.FormatError("invalid key length");const De=(0,R.stringToBytes)(Ge.get("O")).subarray(0,32),Ue=(0,R.stringToBytes)(Ge.get("U")).subarray(0,32),we=Ge.get("P"),Ie=Ge.get("R"),Be=(ze===4||ze===5)&&Ge.get("EncryptMetadata")!==!1;this.encryptMetadata=Be;const Ke=(0,R.stringToBytes)(Te);let Ve;if(Ne){if(Ie===6)try{Ne=(0,R.utf8StringToString)(Ne)}catch{(0,R.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password.")}Ve=(0,R.stringToBytes)(Ne)}let je;if(ze!==5)je=xe(Ke,Ve,De,Ue,we,Ie,Ae,Be);else{const Le=(0,R.stringToBytes)(Ge.get("O")).subarray(32,40),et=(0,R.stringToBytes)(Ge.get("O")).subarray(40,48),Qe=(0,R.stringToBytes)(Ge.get("U")).subarray(0,48),Fe=(0,R.stringToBytes)(Ge.get("U")).subarray(32,40),$e=(0,R.stringToBytes)(Ge.get("U")).subarray(40,48),Ye=(0,R.stringToBytes)(Ge.get("OE")),tt=(0,R.stringToBytes)(Ge.get("UE"));(0,R.stringToBytes)(Ge.get("Perms")),je=ke(Ie,Ve,De,Le,et,Qe,Ue,Fe,$e,Ye,tt)}if(!je&&!Ne)throw new R.PasswordException("No password given",R.PasswordResponses.NEED_PASSWORD);if(!je&&Ne){const Le=fe(Ve,De,Ie,Ae);je=xe(Ke,Le,De,Ue,we,Ie,Ae,Be)}if(!je)throw new R.PasswordException("Incorrect Password",R.PasswordResponses.INCORRECT_PASSWORD);if(this.encryptionKey=je,ze>=4){const Le=Ge.get("CF");Le instanceof U.Dict&&(Le.suppressEncryption=!0),this.cf=Le,this.stmf=Ge.get("StmF")||ve,this.strf=Ge.get("StrF")||ve,this.eff=Ge.get("EFF")||this.stmf}}createCipherTransform(Ge,Te){if(this.algorithm===4||this.algorithm===5)return new oe(Ce(this.cf,this.strf,Ge,Te,this.encryptionKey),Ce(this.cf,this.stmf,Ge,Te,this.encryptionKey));const Ne=ye(Ge,Te,this.encryptionKey,!1),Ze=function(){return new z(Ne)};return new oe(Ze,Ze)}}return pe}();D.CipherTransformFactory=se},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.DecryptStream=void 0;var R=B(144);const U=512;class K extends R.DecodeStream{constructor(e,ae,ie){super(ae),this.str=e,this.dict=e.dict,this.decrypt=ie,this.nextChunk=null,this.initialized=!1}readBlock(){let e;if(this.initialized?e=this.nextChunk:(e=this.str.getBytes(U),this.initialized=!0),!e||e.length===0){this.eof=!0;return}this.nextChunk=this.str.getBytes(U);const ae=this.nextChunk&&this.nextChunk.length>0,ie=this.decrypt;e=ie(e,!ae);let he=this.bufferLength;const J=e.length,X=this.ensureBuffer(he+J);for(let W=0;W{Object.defineProperty(D,"__esModule",{value:!0}),D.Catalog=void 0;var R=B(131),U=B(2),K=B(130),z=B(195),e=B(132),ae=B(196),ie=B(139),he=B(197),J=B(184),X=B(198),W=B(199);function L(ce){return ce instanceof K.Dict&&(ce=ce.get("D")),Array.isArray(ce)?ce:null}class Q{constructor(de,oe){if(this.pdfManager=de,this.xref=oe,this._catDict=oe.getCatalogObj(),!(this._catDict instanceof K.Dict))throw new U.FormatError("Catalog object is not a dictionary.");this.toplevelPagesDict,this._actualNumPages=null,this.fontCache=new K.RefSetCache,this.builtInCMapCache=new Map,this.standardFontDataCache=new Map,this.globalImageCache=new J.GlobalImageCache,this.pageKidsCountCache=new K.RefSetCache,this.pageIndexCache=new K.RefSetCache,this.nonBlendModesSet=new K.RefSet}get version(){const de=this._catDict.get("Version");return(0,U.shadow)(this,"version",de instanceof K.Name?de.name:null)}get lang(){const de=this._catDict.get("Lang");return(0,U.shadow)(this,"lang",typeof de=="string"?(0,U.stringToPDFString)(de):null)}get needsRendering(){const de=this._catDict.get("NeedsRendering");return(0,U.shadow)(this,"needsRendering",typeof de=="boolean"?de:!1)}get collection(){let de=null;try{const oe=this._catDict.get("Collection");oe instanceof K.Dict&&oe.size>0&&(de=oe)}catch(oe){if(oe instanceof R.MissingDataException)throw oe;(0,U.info)("Cannot fetch Collection entry; assuming no collection is present.")}return(0,U.shadow)(this,"collection",de)}get acroForm(){let de=null;try{const oe=this._catDict.get("AcroForm");oe instanceof K.Dict&&oe.size>0&&(de=oe)}catch(oe){if(oe instanceof R.MissingDataException)throw oe;(0,U.info)("Cannot fetch AcroForm entry; assuming no forms are present.")}return(0,U.shadow)(this,"acroForm",de)}get acroFormRef(){const de=this._catDict.getRaw("AcroForm");return(0,U.shadow)(this,"acroFormRef",de instanceof K.Ref?de:null)}get metadata(){const de=this._catDict.getRaw("Metadata");if(!(de instanceof K.Ref))return(0,U.shadow)(this,"metadata",null);let oe=null;try{const se=!(this.xref.encrypt&&this.xref.encrypt.encryptMetadata),me=this.xref.fetch(de,se);if(me instanceof e.BaseStream&&me.dict instanceof K.Dict){const Ee=me.dict.get("Type"),ke=me.dict.get("Subtype");if((0,K.isName)(Ee,"Metadata")&&(0,K.isName)(ke,"XML")){const xe=(0,U.stringToUTF8String)(me.getString());xe&&(oe=new X.MetadataParser(xe).serializable)}}}catch(se){if(se instanceof R.MissingDataException)throw se;(0,U.info)(`Skipping invalid Metadata: "${se}".`)}return(0,U.shadow)(this,"metadata",oe)}get markInfo(){let de=null;try{de=this._readMarkInfo()}catch(oe){if(oe instanceof R.MissingDataException)throw oe;(0,U.warn)("Unable to read mark info.")}return(0,U.shadow)(this,"markInfo",de)}_readMarkInfo(){const de=this._catDict.get("MarkInfo");if(!(de instanceof K.Dict))return null;const oe={Marked:!1,UserProperties:!1,Suspects:!1};for(const se in oe){const me=de.get(se);typeof me=="boolean"&&(oe[se]=me)}return oe}get structTreeRoot(){let de=null;try{de=this._readStructTreeRoot()}catch(oe){if(oe instanceof R.MissingDataException)throw oe;(0,U.warn)("Unable read to structTreeRoot info.")}return(0,U.shadow)(this,"structTreeRoot",de)}_readStructTreeRoot(){const de=this._catDict.get("StructTreeRoot");if(!(de instanceof K.Dict))return null;const oe=new W.StructTreeRoot(de);return oe.init(),oe}get toplevelPagesDict(){const de=this._catDict.get("Pages");if(!(de instanceof K.Dict))throw new U.FormatError("Invalid top-level pages dictionary.");return(0,U.shadow)(this,"toplevelPagesDict",de)}get documentOutline(){let de=null;try{de=this._readDocumentOutline()}catch(oe){if(oe instanceof R.MissingDataException)throw oe;(0,U.warn)("Unable to read document outline.")}return(0,U.shadow)(this,"documentOutline",de)}_readDocumentOutline(){let de=this._catDict.get("Outlines");if(!(de instanceof K.Dict)||(de=de.getRaw("First"),!(de instanceof K.Ref)))return null;const oe={items:[]},se=[{obj:de,parent:oe}],me=new K.RefSet;me.put(de);const Ee=this.xref,ke=new Uint8ClampedArray(3);for(;se.length>0;){const xe=se.shift(),fe=Ee.fetchIfRef(xe.obj);if(fe===null)continue;if(!fe.has("Title"))throw new U.FormatError("Invalid outline item encountered.");const ve={url:null,dest:null};Q.parseDestDictionary({destDict:fe,resultObj:ve,docBaseUrl:this.pdfManager.docBaseUrl});const ye=fe.get("Title"),Ce=fe.get("F")||0,pe=fe.getArray("C"),_e=fe.get("Count");let Ge=ke;Array.isArray(pe)&&pe.length===3&&(pe[0]!==0||pe[1]!==0||pe[2]!==0)&&(Ge=ie.ColorSpace.singletons.rgb.getRgb(pe,0));const Te={dest:ve.dest,url:ve.url,unsafeUrl:ve.unsafeUrl,newWindow:ve.newWindow,title:(0,U.stringToPDFString)(ye),color:Ge,count:Number.isInteger(_e)?_e:void 0,bold:!!(Ce&2),italic:!!(Ce&1),items:[]};xe.parent.items.push(Te),de=fe.getRaw("First"),de instanceof K.Ref&&!me.has(de)&&(se.push({obj:de,parent:Te}),me.put(de)),de=fe.getRaw("Next"),de instanceof K.Ref&&!me.has(de)&&(se.push({obj:de,parent:xe.parent}),me.put(de))}return oe.items.length>0?oe.items:null}get permissions(){let de=null;try{de=this._readPermissions()}catch(oe){if(oe instanceof R.MissingDataException)throw oe;(0,U.warn)("Unable to read permissions.")}return(0,U.shadow)(this,"permissions",de)}_readPermissions(){const de=this.xref.trailer.get("Encrypt");if(!(de instanceof K.Dict))return null;let oe=de.get("P");if(typeof oe!="number")return null;oe+=4294967296;const se=[];for(const me in U.PermissionFlag){const Ee=U.PermissionFlag[me];oe&Ee&&se.push(Ee)}return se}get optionalContentConfig(){let de=null;try{const oe=this._catDict.get("OCProperties");if(!oe)return(0,U.shadow)(this,"optionalContentConfig",null);const se=oe.get("D");if(!se)return(0,U.shadow)(this,"optionalContentConfig",null);const me=oe.get("OCGs");if(!Array.isArray(me))return(0,U.shadow)(this,"optionalContentConfig",null);const Ee=[],ke=[];for(const xe of me){if(!(xe instanceof K.Ref))continue;ke.push(xe);const fe=this.xref.fetchIfRef(xe);Ee.push({id:xe.toString(),name:typeof fe.get("Name")=="string"?(0,U.stringToPDFString)(fe.get("Name")):null,intent:typeof fe.get("Intent")=="string"?(0,U.stringToPDFString)(fe.get("Intent")):null})}de=this._readOptionalContentConfig(se,ke),de.groups=Ee}catch(oe){if(oe instanceof R.MissingDataException)throw oe;(0,U.warn)(`Unable to read optional content config: ${oe}`)}return(0,U.shadow)(this,"optionalContentConfig",de)}_readOptionalContentConfig(de,oe){function se(ve){const ye=[];if(Array.isArray(ve))for(const Ce of ve)Ce instanceof K.Ref&&oe.includes(Ce)&&ye.push(Ce.toString());return ye}function me(ve){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!Array.isArray(ve))return null;const Ce=[];for(const _e of ve){if(_e instanceof K.Ref&&oe.includes(_e)){xe.put(_e),Ce.push(_e.toString());continue}const Ge=Ee(_e,ye);Ge&&Ce.push(Ge)}if(ye>0)return Ce;const pe=[];for(const _e of oe)xe.has(_e)||pe.push(_e.toString());return pe.length&&Ce.push({name:null,order:pe}),Ce}function Ee(ve,ye){if(++ye>fe)return(0,U.warn)("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;const Ce=ke.fetchIfRef(ve);if(!Array.isArray(Ce))return null;const pe=ke.fetchIfRef(Ce[0]);if(typeof pe!="string")return null;const _e=me(Ce.slice(1),ye);return!_e||!_e.length?null:{name:(0,U.stringToPDFString)(pe),order:_e}}const ke=this.xref,xe=new K.RefSet,fe=10;return{name:typeof de.get("Name")=="string"?(0,U.stringToPDFString)(de.get("Name")):null,creator:typeof de.get("Creator")=="string"?(0,U.stringToPDFString)(de.get("Creator")):null,baseState:de.get("BaseState")instanceof K.Name?de.get("BaseState").name:null,on:se(de.get("ON")),off:se(de.get("OFF")),order:me(de.get("Order")),groups:null}}setActualNumPages(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._actualNumPages=de}get hasActualNumPages(){return this._actualNumPages!==null}get _pagesCount(){const de=this.toplevelPagesDict.get("Count");if(!Number.isInteger(de))throw new U.FormatError("Page count in top-level pages dictionary is not an integer.");return(0,U.shadow)(this,"_pagesCount",de)}get numPages(){return this.hasActualNumPages?this._actualNumPages:this._pagesCount}get destinations(){const de=this._readDests(),oe=Object.create(null);if(de instanceof z.NameTree)for(const[se,me]of de.getAll()){const Ee=L(me);Ee&&(oe[(0,U.stringToPDFString)(se)]=Ee)}else de instanceof K.Dict&&de.forEach(function(se,me){const Ee=L(me);Ee&&(oe[se]=Ee)});return(0,U.shadow)(this,"destinations",oe)}getDestination(de){const oe=this._readDests();if(oe instanceof z.NameTree){const se=L(oe.get(de));if(se)return se;const me=this.destinations[de];if(me)return(0,U.warn)(`Found "${de}" at an incorrect position in the NameTree.`),me}else if(oe instanceof K.Dict){const se=L(oe.get(de));if(se)return se}return null}_readDests(){const de=this._catDict.get("Names");if(de&&de.has("Dests"))return new z.NameTree(de.getRaw("Dests"),this.xref);if(this._catDict.has("Dests"))return this._catDict.get("Dests")}get pageLabels(){let de=null;try{de=this._readPageLabels()}catch(oe){if(oe instanceof R.MissingDataException)throw oe;(0,U.warn)("Unable to read page labels.")}return(0,U.shadow)(this,"pageLabels",de)}_readPageLabels(){const de=this._catDict.getRaw("PageLabels");if(!de)return null;const oe=new Array(this.numPages);let se=null,me="";const ke=new z.NumberTree(de,this.xref).getAll();let xe="",fe=1;for(let ve=0,ye=this.numPages;ve=1))throw new U.FormatError("Invalid start in PageLabel dictionary.");fe=pe}else fe=1}switch(se){case"D":xe=fe;break;case"R":case"r":xe=(0,R.toRomanNumerals)(fe,se==="r");break;case"A":case"a":const pe=26,Te=se==="a"?97:65,Ne=fe-1;xe=String.fromCharCode(Te+Ne%pe).repeat(Math.floor(Ne/pe)+1);break;default:if(se)throw new U.FormatError(`Invalid style "${se}" in PageLabel dictionary.`);xe=""}oe[ve]=me+xe,fe++}return oe}get pageLayout(){const de=this._catDict.get("PageLayout");let oe="";if(de instanceof K.Name)switch(de.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":oe=de.name}return(0,U.shadow)(this,"pageLayout",oe)}get pageMode(){const de=this._catDict.get("PageMode");let oe="UseNone";if(de instanceof K.Name)switch(de.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":oe=de.name}return(0,U.shadow)(this,"pageMode",oe)}get viewerPreferences(){const de=this._catDict.get("ViewerPreferences");if(!(de instanceof K.Dict))return(0,U.shadow)(this,"viewerPreferences",null);let oe=null;for(const se of de.getKeys()){const me=de.get(se);let Ee;switch(se){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":typeof me=="boolean"&&(Ee=me);break;case"NonFullScreenPageMode":if(me instanceof K.Name)switch(me.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":Ee=me.name;break;default:Ee="UseNone"}break;case"Direction":if(me instanceof K.Name)switch(me.name){case"L2R":case"R2L":Ee=me.name;break;default:Ee="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(me instanceof K.Name)switch(me.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":Ee=me.name;break;default:Ee="CropBox"}break;case"PrintScaling":if(me instanceof K.Name)switch(me.name){case"None":case"AppDefault":Ee=me.name;break;default:Ee="AppDefault"}break;case"Duplex":if(me instanceof K.Name)switch(me.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":Ee=me.name;break;default:Ee="None"}break;case"PrintPageRange":Array.isArray(me)&&me.length%2===0&&me.every((xe,fe,ve)=>Number.isInteger(xe)&&xe>0&&(fe===0||xe>=ve[fe-1])&&xe<=this.numPages)&&(Ee=me);break;case"NumCopies":Number.isInteger(me)&&me>0&&(Ee=me);break;default:(0,U.warn)(`Ignoring non-standard key in ViewerPreferences: ${se}.`);continue}if(Ee===void 0){(0,U.warn)(`Bad value, for key "${se}", in ViewerPreferences: ${me}.`);continue}oe||(oe=Object.create(null)),oe[se]=Ee}return(0,U.shadow)(this,"viewerPreferences",oe)}get openAction(){const de=this._catDict.get("OpenAction"),oe=Object.create(null);if(de instanceof K.Dict){const se=new K.Dict(this.xref);se.set("A",de);const me={url:null,dest:null,action:null};Q.parseDestDictionary({destDict:se,resultObj:me}),Array.isArray(me.dest)?oe.dest=me.dest:me.action&&(oe.action=me.action)}else Array.isArray(de)&&(oe.dest=de);return(0,U.shadow)(this,"openAction",(0,U.objectSize)(oe)>0?oe:null)}get attachments(){const de=this._catDict.get("Names");let oe=null;if(de instanceof K.Dict&&de.has("EmbeddedFiles")){const se=new z.NameTree(de.getRaw("EmbeddedFiles"),this.xref);for(const[me,Ee]of se.getAll()){const ke=new he.FileSpec(Ee,this.xref);oe||(oe=Object.create(null)),oe[(0,U.stringToPDFString)(me)]=ke.serializable}}return(0,U.shadow)(this,"attachments",oe)}get xfaImages(){const de=this._catDict.get("Names");let oe=null;if(de instanceof K.Dict&&de.has("XFAImages")){const se=new z.NameTree(de.getRaw("XFAImages"),this.xref);for(const[me,Ee]of se.getAll())oe||(oe=new K.Dict(this.xref)),oe.set((0,U.stringToPDFString)(me),Ee)}return(0,U.shadow)(this,"xfaImages",oe)}_collectJavaScript(){const de=this._catDict.get("Names");let oe=null;function se(Ee,ke){if(!(ke instanceof K.Dict)||!(0,K.isName)(ke.get("S"),"JavaScript"))return;let xe=ke.get("JS");if(xe instanceof e.BaseStream)xe=xe.getString();else if(typeof xe!="string")return;oe===null&&(oe=new Map),xe=(0,U.stringToPDFString)(xe).replace(/\u0000/g,""),oe.set(Ee,xe)}if(de instanceof K.Dict&&de.has("JavaScript")){const Ee=new z.NameTree(de.getRaw("JavaScript"),this.xref);for(const[ke,xe]of Ee.getAll())se((0,U.stringToPDFString)(ke),xe)}const me=this._catDict.get("OpenAction");return me&&se("OpenAction",me),oe}get javaScript(){const de=this._collectJavaScript();return(0,U.shadow)(this,"javaScript",de?[...de.values()]:null)}get jsActions(){const de=this._collectJavaScript();let oe=(0,R.collectActions)(this.xref,this._catDict,U.DocumentActionEventType);if(de){oe||(oe=Object.create(null));for(const[se,me]of de)se in oe?oe[se].push(me):oe[se]=[me]}return(0,U.shadow)(this,"jsActions",oe)}async fontFallback(de,oe){const se=await Promise.all(this.fontCache);for(const me of se)if(me.loadedName===de){me.fallback(oe);return}}async cleanup(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;(0,ae.clearGlobalCaches)(),this.globalImageCache.clear(de),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.nonBlendModesSet.clear();const oe=await Promise.all(this.fontCache);for(const{dict:se}of oe)delete se.cacheKey;this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear()}async getPageDict(de){const oe=[this.toplevelPagesDict],se=new K.RefSet,me=this._catDict.getRaw("Pages");me instanceof K.Ref&&se.put(me);const Ee=this.xref,ke=this.pageKidsCountCache,xe=this.pageIndexCache;let fe=0;for(;oe.length;){const ve=oe.pop();if(ve instanceof K.Ref){const _e=ke.get(ve);if(_e>=0&&fe+_e<=de){fe+=_e;continue}if(se.has(ve))throw new U.FormatError("Pages tree contains circular reference.");se.put(ve);const Ge=await Ee.fetchAsync(ve);if(Ge instanceof K.Dict){let Te=Ge.getRaw("Type");if(Te instanceof K.Ref&&(Te=await Ee.fetchAsync(Te)),(0,K.isName)(Te,"Page")||!Ge.has("Kids")){if(ke.has(ve)||ke.put(ve,1),xe.has(ve)||xe.put(ve,fe),fe===de)return[Ge,ve];fe++;continue}}oe.push(Ge);continue}if(!(ve instanceof K.Dict))throw new U.FormatError("Page dictionary kid reference points to wrong type of object.");const{objId:ye}=ve;let Ce=ve.getRaw("Count");if(Ce instanceof K.Ref&&(Ce=await Ee.fetchAsync(Ce)),Number.isInteger(Ce)&&Ce>=0&&(ye&&!ke.has(ye)&&ke.put(ye,Ce),fe+Ce<=de)){fe+=Ce;continue}let pe=ve.getRaw("Kids");if(pe instanceof K.Ref&&(pe=await Ee.fetchAsync(pe)),!Array.isArray(pe)){let _e=ve.getRaw("Type");if(_e instanceof K.Ref&&(_e=await Ee.fetchAsync(_e)),(0,K.isName)(_e,"Page")||!ve.has("Kids")){if(fe===de)return[ve,null];fe++;continue}throw new U.FormatError("Page dictionary kids object is not an array.")}for(let _e=pe.length-1;_e>=0;_e--)oe.push(pe[_e])}throw new Error(`Page index ${de} not found.`)}async getAllPageDicts(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const oe=[{currentNode:this.toplevelPagesDict,posInKids:0}],se=new K.RefSet,me=this._catDict.getRaw("Pages");me instanceof K.Ref&&se.put(me);const Ee=new Map,ke=this.xref,xe=this.pageIndexCache;let fe=0;function ve(Ce,pe){pe&&!xe.has(pe)&&xe.put(pe,fe),Ee.set(fe++,[Ce,pe])}function ye(Ce){if(Ce instanceof R.XRefEntryException&&!de)throw Ce;Ee.set(fe++,[Ce,null])}for(;oe.length>0;){const Ce=oe.at(-1),{currentNode:pe,posInKids:_e}=Ce;let Ge=pe.getRaw("Kids");if(Ge instanceof K.Ref)try{Ge=await ke.fetchAsync(Ge)}catch(ze){ye(ze);break}if(!Array.isArray(Ge)){ye(new U.FormatError("Page dictionary kids object is not an array."));break}if(_e>=Ge.length){oe.pop();continue}const Te=Ge[_e];let Ne;if(Te instanceof K.Ref){if(se.has(Te)){ye(new U.FormatError("Pages tree contains circular reference."));break}se.put(Te);try{Ne=await ke.fetchAsync(Te)}catch(ze){ye(ze);break}}else Ne=Te;if(!(Ne instanceof K.Dict)){ye(new U.FormatError("Page dictionary kid reference points to wrong type of object."));break}let Ze=Ne.getRaw("Type");if(Ze instanceof K.Ref)try{Ze=await ke.fetchAsync(Ze)}catch(ze){ye(ze);break}(0,K.isName)(Ze,"Page")||!Ne.has("Kids")?ve(Ne,Te instanceof K.Ref?Te:null):oe.push({currentNode:Ne,posInKids:0}),Ce.posInKids++}return Ee}getPageIndex(de){const oe=this.pageIndexCache.get(de);if(oe!==void 0)return Promise.resolve(oe);const se=this.xref;function me(xe){let fe=0,ve;return se.fetchAsync(xe).then(function(ye){if((0,K.isRefsEqual)(xe,de)&&!(0,K.isDict)(ye,"Page")&&!(ye instanceof K.Dict&&!ye.has("Type")&&ye.has("Contents")))throw new U.FormatError("The reference does not point to a /Page dictionary.");if(!ye)return null;if(!(ye instanceof K.Dict))throw new U.FormatError("Node must be a dictionary.");return ve=ye.getRaw("Parent"),ye.getAsync("Parent")}).then(function(ye){if(!ye)return null;if(!(ye instanceof K.Dict))throw new U.FormatError("Parent must be a dictionary.");return ye.getAsync("Kids")}).then(function(ye){if(!ye)return null;const Ce=[];let pe=!1;for(let _e=0,Ge=ye.length;_eme(xe).then(fe=>{if(!fe)return this.pageIndexCache.put(de,Ee),Ee;const[ve,ye]=fe;return Ee+=ve,ke(ye)});return ke(de)}get baseUrl(){const de=this._catDict.get("URI");if(de instanceof K.Dict){const oe=de.get("Base");if(typeof oe=="string"){const se=(0,U.createValidAbsoluteUrl)(oe,null,{tryConvertEncoding:!0});if(se)return(0,U.shadow)(this,"baseUrl",se.href)}}return(0,U.shadow)(this,"baseUrl",null)}static parseDestDictionary(de){const oe=de.destDict;if(!(oe instanceof K.Dict)){(0,U.warn)("parseDestDictionary: `destDict` must be a dictionary.");return}const se=de.resultObj;if(typeof se!="object"){(0,U.warn)("parseDestDictionary: `resultObj` must be an object.");return}const me=de.docBaseUrl||null;let Ee=oe.get("A"),ke,xe;if(Ee instanceof K.Dict||(oe.has("Dest")?Ee=oe.get("Dest"):(Ee=oe.get("AA"),Ee instanceof K.Dict&&(Ee.has("D")?Ee=Ee.get("D"):Ee.has("U")&&(Ee=Ee.get("U"))))),Ee instanceof K.Dict){const fe=Ee.get("S");if(!(fe instanceof K.Name)){(0,U.warn)("parseDestDictionary: Invalid type in Action dictionary.");return}const ve=fe.name;switch(ve){case"ResetForm":const ye=Ee.get("Flags"),Ce=((typeof ye=="number"?ye:0)&1)===0,pe=[],_e=[];for(const Ue of Ee.get("Fields")||[])Ue instanceof K.Ref?_e.push(Ue.toString()):typeof Ue=="string"&&pe.push((0,U.stringToPDFString)(Ue));se.resetForm={fields:pe,refs:_e,include:Ce};break;case"URI":ke=Ee.get("URI"),ke instanceof K.Name&&(ke="/"+ke.name);break;case"GoTo":xe=Ee.get("D");break;case"Launch":case"GoToR":const Ge=Ee.get("F");Ge instanceof K.Dict?ke=Ge.get("F")||null:typeof Ge=="string"&&(ke=Ge);let Te=Ee.get("D");if(Te&&(Te instanceof K.Name&&(Te=Te.name),typeof ke=="string")){const Ue=ke.split("#")[0];typeof Te=="string"?ke=Ue+"#"+Te:Array.isArray(Te)&&(ke=Ue+"#"+JSON.stringify(Te))}const Ne=Ee.get("NewWindow");typeof Ne=="boolean"&&(se.newWindow=Ne);break;case"Named":const Ze=Ee.get("N");Ze instanceof K.Name&&(se.action=Ze.name);break;case"JavaScript":const ze=Ee.get("JS");let Ae;ze instanceof e.BaseStream?Ae=ze.getString():typeof ze=="string"&&(Ae=ze);const De=Ae&&(0,R.recoverJsURL)((0,U.stringToPDFString)(Ae));if(De){ke=De.url,se.newWindow=De.newWindow;break}default:if(ve==="JavaScript"||ve==="SubmitForm")break;(0,U.warn)(`parseDestDictionary - unsupported action: "${ve}".`);break}}else oe.has("Dest")&&(xe=oe.get("Dest"));if(typeof ke=="string"){const fe=(0,U.createValidAbsoluteUrl)(ke,me,{addDefaultProtocol:!0,tryConvertEncoding:!0});fe&&(se.url=fe.href),se.unsafeUrl=ke}xe&&(xe instanceof K.Name&&(xe=xe.name),typeof xe=="string"?se.dest=(0,U.stringToPDFString)(xe):Array.isArray(xe)&&(se.dest=xe))}}D.Catalog=Q},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.NumberTree=D.NameTree=void 0;var R=B(130),U=B(2);class K{constructor(ie,he,J){this.constructor===K&&(0,U.unreachable)("Cannot initialize NameOrNumberTree."),this.root=ie,this.xref=he,this._type=J}getAll(){const ie=new Map;if(!this.root)return ie;const he=this.xref,J=new R.RefSet;J.put(this.root);const X=[this.root];for(;X.length>0;){const W=he.fetchIfRef(X.shift());if(!(W instanceof R.Dict))continue;if(W.has("Kids")){const Q=W.get("Kids");if(!Array.isArray(Q))continue;for(const ce of Q){if(J.has(ce))throw new U.FormatError(`Duplicate entry in "${this._type}" tree.`);X.push(ce),J.put(ce)}continue}const L=W.get(this._type);if(Array.isArray(L))for(let Q=0,ce=L.length;QW)return(0,U.warn)(`Search depth limit reached for "${this._type}" tree.`),null;const Q=J.get("Kids");if(!Array.isArray(Q))return null;let ce=0,de=Q.length-1;for(;ce<=de;){const oe=ce+de>>1,se=he.fetchIfRef(Q[oe]),me=se.get("Limits");if(iehe.fetchIfRef(me[1]))ce=oe+1;else{J=se;break}}if(ce>de)return null}const L=J.get(this._type);if(Array.isArray(L)){let Q=0,ce=L.length-2;for(;Q<=ce;){const de=Q+ce>>1,oe=de+(de&1),se=he.fetchIfRef(L[oe]);if(iese)Q=oe+2;else return he.fetchIfRef(L[oe+1])}}return null}}class z extends K{constructor(ie,he){super(ie,he,"Names")}}D.NameTree=z;class e extends K{constructor(ie,he){super(ie,he,"Nums")}}D.NumberTree=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.clearGlobalCaches=K;var R=B(130),U=B(165);function K(){(0,R.clearPrimitiveCaches)(),(0,U.clearUnicodeCaches)()}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.FileSpec=void 0;var R=B(2),U=B(132),K=B(130);function z(ae){return ae.has("UF")?ae.get("UF"):ae.has("F")?ae.get("F"):ae.has("Unix")?ae.get("Unix"):ae.has("Mac")?ae.get("Mac"):ae.has("DOS")?ae.get("DOS"):null}class e{constructor(ie,he){ie instanceof K.Dict&&(this.xref=he,this.root=ie,ie.has("FS")&&(this.fs=ie.get("FS")),this.description=ie.has("Desc")?(0,R.stringToPDFString)(ie.get("Desc")):"",ie.has("RF")&&(0,R.warn)("Related file specifications are not supported"),this.contentAvailable=!0,ie.has("EF")||(this.contentAvailable=!1,(0,R.warn)("Non-embedded file specifications are not supported")))}get filename(){if(!this._filename&&this.root){const ie=z(this.root)||"unnamed";this._filename=(0,R.stringToPDFString)(ie).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,"/")}return this._filename}get content(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=z(this.root.get("EF")));let ie=null;if(this.contentRef){const he=this.xref.fetchIfRef(this.contentRef);he instanceof U.BaseStream?ie=he.getBytes():(0,R.warn)("Embedded file specification points to non-existing/invalid content")}else(0,R.warn)("Embedded file specification does not have a content");return ie}get serializable(){return{filename:this.filename,content:this.content}}}D.FileSpec=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.MetadataParser=void 0;var R=B(191);class U{constructor(z){z=this._repair(z);const ae=new R.SimpleXMLParser({lowerCaseName:!0}).parseFromString(z);this._metadataMap=new Map,this._data=z,ae&&this._parse(ae)}_repair(z){return z.replace(/^[^<]+/,"").replace(/>\\376\\377([^<]+)/g,function(e,ae){const ie=ae.replace(/\\([0-3])([0-7])([0-7])/g,function(J,X,W,L){return String.fromCharCode(X*64+W*8+L*1)}).replace(/&(amp|apos|gt|lt|quot);/g,function(J,X){switch(X){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error(`_repair: ${X} isn't defined.`)}),he=[];for(let J=0,X=ie.length;J=32&&W<127&&W!==60&&W!==62&&W!==38?he.push(String.fromCharCode(W)):he.push("&#x"+(65536+W).toString(16).substring(1)+";")}return">"+he.join("")})}_getSequence(z){const e=z.nodeName;return e!=="rdf:bag"&&e!=="rdf:seq"&&e!=="rdf:alt"?null:z.childNodes.filter(ae=>ae.nodeName==="rdf:li")}_parseArray(z){if(!z.hasChildNodes())return;const[e]=z.childNodes,ae=this._getSequence(e)||[];this._metadataMap.set(z.nodeName,ae.map(ie=>ie.textContent.trim()))}_parse(z){let e=z.documentElement;if(e.nodeName!=="rdf:rdf")for(e=e.firstChild;e&&e.nodeName!=="rdf:rdf";)e=e.nextSibling;if(!(!e||e.nodeName!=="rdf:rdf"||!e.hasChildNodes())){for(const ae of e.childNodes)if(ae.nodeName==="rdf:description")for(const ie of ae.childNodes){const he=ie.nodeName;switch(he){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(ie);continue}this._metadataMap.set(he,ie.textContent.trim())}}}get serializable(){return{parsedData:this._metadataMap,rawData:this._data}}}D.MetadataParser=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.StructTreeRoot=D.StructTreePage=void 0;var R=B(130),U=B(2),K=B(195);const z=40,e={PAGE_CONTENT:"PAGE_CONTENT",STREAM_CONTENT:"STREAM_CONTENT",OBJECT:"OBJECT",ELEMENT:"ELEMENT"};class ae{constructor(W){this.dict=W,this.roleMap=new Map}init(){this.readRoleMap()}readRoleMap(){const W=this.dict.get("RoleMap");W instanceof R.Dict&&W.forEach((L,Q)=>{Q instanceof R.Name&&this.roleMap.set(L,Q.name)})}}D.StructTreeRoot=ae;class ie{constructor(W,L){this.tree=W,this.dict=L,this.kids=[],this.parseKids()}get role(){const W=this.dict.get("S"),L=W instanceof R.Name?W.name:"",{root:Q}=this.tree;return Q.roleMap.has(L)?Q.roleMap.get(L):L}parseKids(){let W=null;const L=this.dict.getRaw("Pg");L instanceof R.Ref&&(W=L.toString());const Q=this.dict.get("K");if(Array.isArray(Q))for(const ce of Q){const de=this.parseKid(W,ce);de&&this.kids.push(de)}else{const ce=this.parseKid(W,Q);ce&&this.kids.push(ce)}}parseKid(W,L){if(Number.isInteger(L))return this.tree.pageDict.objId!==W?null:new he({type:e.PAGE_CONTENT,mcid:L,pageObjId:W});let Q=null;if(L instanceof R.Ref?Q=this.dict.xref.fetch(L):L instanceof R.Dict&&(Q=L),!Q)return null;const ce=Q.getRaw("Pg");ce instanceof R.Ref&&(W=ce.toString());const de=Q.get("Type")instanceof R.Name?Q.get("Type").name:null;return de==="MCR"?this.tree.pageDict.objId!==W?null:new he({type:e.STREAM_CONTENT,refObjId:Q.getRaw("Stm")instanceof R.Ref?Q.getRaw("Stm").toString():null,pageObjId:W,mcid:Q.get("MCID")}):de==="OBJR"?this.tree.pageDict.objId!==W?null:new he({type:e.OBJECT,refObjId:Q.getRaw("Obj")instanceof R.Ref?Q.getRaw("Obj").toString():null,pageObjId:W}):new he({type:e.ELEMENT,dict:Q})}}class he{constructor(W){let{type:L,dict:Q=null,mcid:ce=null,pageObjId:de=null,refObjId:oe=null}=W;this.type=L,this.dict=Q,this.mcid=ce,this.pageObjId=de,this.refObjId=oe,this.parentNode=null}}class J{constructor(W,L){this.root=W,this.rootDict=W?W.dict:null,this.pageDict=L,this.nodes=[]}parse(){if(!this.root||!this.rootDict)return;const W=this.rootDict.get("ParentTree");if(!W)return;const L=this.pageDict.get("StructParents");if(!Number.isInteger(L))return;const ce=new K.NumberTree(W,this.rootDict.xref).get(L);if(!Array.isArray(ce))return;const de=new Map;for(const oe of ce)oe instanceof R.Ref&&this.addNode(this.rootDict.xref.fetch(oe),de)}addNode(W,L){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(Q>z)return(0,U.warn)("StructTree MAX_DEPTH reached."),null;if(L.has(W))return L.get(W);const ce=new ie(this,W);L.set(W,ce);const de=W.get("P");if(!de||(0,R.isName)(de.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(W,ce)||L.delete(W),ce;const oe=this.addNode(de,L,Q+1);if(!oe)return ce;let se=!1;for(const me of oe.kids)me.type===e.ELEMENT&&me.dict===W&&(me.parentNode=ce,se=!0);return se||L.delete(W),ce}addTopLevelNode(W,L){const Q=this.rootDict.get("K");if(!Q)return!1;if(Q instanceof R.Dict)return Q.objId!==W.objId?!1:(this.nodes[0]=L,!0);if(!Array.isArray(Q))return!0;let ce=!1;for(let de=0;de2&&arguments[2]!==void 0?arguments[2]:0;if(de>z){(0,U.warn)("StructTree too deep to be fully serialized.");return}const oe=Object.create(null);oe.role=Q.role,oe.children=[],ce.children.push(oe);const se=Q.dict.get("Alt");typeof se=="string"&&(oe.alt=(0,U.stringToPDFString)(se));const me=Q.dict.get("Lang");typeof me=="string"&&(oe.lang=(0,U.stringToPDFString)(me));for(const Ee of Q.kids){const ke=Ee.type===e.ELEMENT?Ee.parentNode:null;if(ke){W(ke,oe,de+1);continue}else Ee.type===e.PAGE_CONTENT||Ee.type===e.STREAM_CONTENT?oe.children.push({type:"content",id:`page${Ee.pageObjId}_mcid${Ee.mcid}`}):Ee.type===e.OBJECT&&oe.children.push({type:"object",id:Ee.refObjId})}}const L=Object.create(null);L.children=[],L.role="Root";for(const Q of this.nodes)Q&&W(Q,L);return L}}D.StructTreePage=J},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ObjectLoader=void 0;var R=B(130),U=B(132),K=B(131),z=B(2);function e(he){return he instanceof R.Ref||he instanceof R.Dict||he instanceof U.BaseStream||Array.isArray(he)}function ae(he,J){if(he instanceof R.Dict)he=he.getRawValues();else if(he instanceof U.BaseStream)he=he.dict.getRawValues();else if(!Array.isArray(he))return;for(const X of he)e(X)&&J.push(X)}class ie{constructor(J,X,W){this.dict=J,this.keys=X,this.xref=W,this.refSet=null}async load(){if(this.xref.stream.isDataLoaded)return;const{keys:J,dict:X}=this;this.refSet=new R.RefSet;const W=[];for(let L=0,Q=J.length;L{Object.defineProperty(D,"__esModule",{value:!0}),D.XFAFactory=void 0;var R=B(202),U=B(206),K=B(212),z=B(210),e=B(203),ae=B(2),ie=B(213),he=B(223);class J{constructor(W){try{this.root=new ie.XFAParser().parse(J._createDocument(W));const L=new U.Binder(this.root);this.form=L.bind(),this.dataHandler=new K.DataHandler(this.root,L.getData()),this.form[R.$globalData].template=this.form}catch(L){(0,ae.warn)(`XFA - an error occurred during parsing and binding: ${L}`)}}isValid(){return this.root&&this.form}_createPagesHelper(){const W=this.form[R.$toPages]();return new Promise((L,Q)=>{const ce=()=>{try{const de=W.next();de.done?L(de.value):setTimeout(ce,0)}catch(de){Q(de)}};setTimeout(ce,0)})}async _createPages(){try{this.pages=await this._createPagesHelper(),this.dims=this.pages.children.map(W=>{const{width:L,height:Q}=W.attributes.style;return[0,0,parseInt(L),parseInt(Q)]})}catch(W){(0,ae.warn)(`XFA - an error occurred during layout: ${W}`)}}getBoundingBox(W){return this.dims[W]}async getNumPages(){return this.pages||await this._createPages(),this.dims.length}setImages(W){this.form[R.$globalData].images=W}setFonts(W){this.form[R.$globalData].fontFinder=new z.FontFinder(W);const L=[];for(let Q of this.form[R.$globalData].usedTypefaces)Q=(0,e.stripQuotes)(Q),this.form[R.$globalData].fontFinder.find(Q)||L.push(Q);return L.length>0?L:null}appendFonts(W,L){this.form[R.$globalData].fontFinder.add(W,L)}async getPages(){this.pages||await this._createPages();const W=this.pages;return this.pages=null,W}serializeData(W){return this.dataHandler.serialize(W)}static _createDocument(W){return W["/xdp:xdp"]?Object.values(W).join(""):W["xdp:xdp"]}static getRichTextAsHtml(W){if(!W||typeof W!="string")return null;try{let L=new ie.XFAParser(he.XhtmlNamespace,!0).parse(W);if(!["body","xhtml"].includes(L[R.$nodeName])){const oe=he.XhtmlNamespace.body({});oe[R.$appendChild](L),L=oe}const Q=L[R.$toHTML]();if(!Q.success)return null;const{html:ce}=Q,{attributes:de}=ce;return de&&(de.class&&(de.class=de.class.filter(oe=>!oe.startsWith("xfa"))),de.dir="auto"),{html:ce,str:L[R.$text]()}}catch(L){(0,ae.warn)(`XFA - an error occurred during parsing of rich text: ${L}`)}return null}}D.XFAFactory=J},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XmlObject=D.XFAObjectArray=D.XFAObject=D.XFAAttribute=D.StringObject=D.OptionObject=D.Option10=D.Option01=D.IntegerObject=D.ContentObject=D.$uid=D.$toStyle=D.$toString=D.$toPages=D.$toHTML=D.$text=D.$tabIndex=D.$setValue=D.$setSetAttributes=D.$setId=D.$searchNode=D.$root=D.$resolvePrototypes=D.$removeChild=D.$pushPara=D.$pushGlyphs=D.$popPara=D.$onText=D.$onChildCheck=D.$onChild=D.$nsAttributes=D.$nodeName=D.$namespaceId=D.$isUsable=D.$isTransparent=D.$isThereMoreWidth=D.$isSplittable=D.$isNsAgnostic=D.$isDescendent=D.$isDataValue=D.$isCDATAXml=D.$isBindable=D.$insertAt=D.$indexOf=D.$ids=D.$hasSettableValue=D.$globalData=D.$getTemplateRoot=D.$getSubformParent=D.$getRealChildrenByNameIt=D.$getParent=D.$getNextPage=D.$getExtra=D.$getDataValue=D.$getContainedChildren=D.$getChildrenByNameIt=D.$getChildrenByName=D.$getChildrenByClass=D.$getChildren=D.$getAvailableSpace=D.$getAttributes=D.$getAttributeIt=D.$flushHTML=D.$finalize=D.$extra=D.$dump=D.$data=D.$content=D.$consumed=D.$clone=D.$cleanup=D.$cleanPage=D.$clean=D.$childrenToHTML=D.$appendChild=D.$addHTML=D.$acceptWhitespace=void 0;var R=B(203),U=B(2),K=B(131),z=B(204),e=B(205);const ae=Symbol();D.$acceptWhitespace=ae;const ie=Symbol();D.$addHTML=ie;const he=Symbol();D.$appendChild=he;const J=Symbol();D.$childrenToHTML=J;const X=Symbol();D.$clean=X;const W=Symbol();D.$cleanPage=W;const L=Symbol();D.$cleanup=L;const Q=Symbol();D.$clone=Q;const ce=Symbol();D.$consumed=ce;const de=Symbol("content");D.$content=de;const oe=Symbol("data");D.$data=oe;const se=Symbol();D.$dump=se;const me=Symbol("extra");D.$extra=me;const Ee=Symbol();D.$finalize=Ee;const ke=Symbol();D.$flushHTML=ke;const xe=Symbol();D.$getAttributeIt=xe;const fe=Symbol();D.$getAttributes=fe;const ve=Symbol();D.$getAvailableSpace=ve;const ye=Symbol();D.$getChildrenByClass=ye;const Ce=Symbol();D.$getChildrenByName=Ce;const pe=Symbol();D.$getChildrenByNameIt=pe;const _e=Symbol();D.$getDataValue=_e;const Ge=Symbol();D.$getExtra=Ge;const Te=Symbol();D.$getRealChildrenByNameIt=Te;const Ne=Symbol();D.$getChildren=Ne;const Ze=Symbol();D.$getContainedChildren=Ze;const ze=Symbol();D.$getNextPage=ze;const Ae=Symbol();D.$getSubformParent=Ae;const De=Symbol();D.$getParent=De;const Ue=Symbol();D.$getTemplateRoot=Ue;const we=Symbol();D.$globalData=we;const Ie=Symbol();D.$hasSettableValue=Ie;const Be=Symbol();D.$ids=Be;const Ke=Symbol();D.$indexOf=Ke;const Ve=Symbol();D.$insertAt=Ve;const je=Symbol();D.$isCDATAXml=je;const Le=Symbol();D.$isBindable=Le;const et=Symbol();D.$isDataValue=et;const Qe=Symbol();D.$isDescendent=Qe;const Fe=Symbol();D.$isNsAgnostic=Fe;const $e=Symbol();D.$isSplittable=$e;const Ye=Symbol();D.$isThereMoreWidth=Ye;const tt=Symbol();D.$isTransparent=tt;const ot=Symbol();D.$isUsable=ot;const st=Symbol(),dt=Symbol("namespaceId");D.$namespaceId=dt;const ct=Symbol("nodeName");D.$nodeName=ct;const mt=Symbol();D.$nsAttributes=mt;const ut=Symbol();D.$onChild=ut;const rt=Symbol();D.$onChildCheck=rt;const He=Symbol();D.$onText=He;const Je=Symbol();D.$pushGlyphs=Je;const St=Symbol();D.$popPara=St;const bt=Symbol();D.$pushPara=bt;const pt=Symbol();D.$removeChild=pt;const wt=Symbol("root");D.$root=wt;const Pt=Symbol();D.$resolvePrototypes=Pt;const Nt=Symbol();D.$searchNode=Nt;const Vt=Symbol();D.$setId=Vt;const Wt=Symbol();D.$setSetAttributes=Wt;const Mt=Symbol();D.$setValue=Mt;const $t=Symbol();D.$tabIndex=$t;const Yt=Symbol();D.$text=Yt;const Ft=Symbol();D.$toPages=Ft;const Jt=Symbol();D.$toHTML=Jt;const er=Symbol();D.$toString=er;const Bt=Symbol();D.$toStyle=Bt;const It=Symbol("uid");D.$uid=It;const Dt=Symbol(),Zt=Symbol(),gr=Symbol(),fr=Symbol("_children"),Dr=Symbol(),kr=Symbol(),cr=Symbol(),Ar=Symbol(),yt=Symbol(),vt=Symbol(),Xt=Symbol(),At=Symbol(),zt=Symbol(),Br=Symbol("parent"),br=Symbol(),Ur=Symbol(),un=Symbol();let sr=0;const ur=z.NamespaceIds.datasets.id;class Cr{constructor(ar,xr){let Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this[dt]=ar,this[ct]=xr,this[Xt]=Lr,this[Br]=null,this[fr]=[],this[It]=`${xr}${sr++}`,this[we]=null}[ut](ar){if(!this[Xt]||!this[rt](ar))return!1;const xr=ar[ct],Lr=this[xr];if(Lr instanceof Tr){if(Lr.push(ar))return this[he](ar),!0}else return Lr!==null&&this[pt](Lr),this[xr]=ar,this[he](ar),!0;let Rr="";return this.id?Rr=` (id: ${this.id})`:this.name&&(Rr=` (name: ${this.name} ${this.h.value})`),(0,U.warn)(`XFA - node "${this[ct]}"${Rr} has already enough "${xr}"!`),!1}[rt](ar){return this.hasOwnProperty(ar[ct])&&ar[dt]===this[dt]}[Fe](){return!1}[ae](){return!1}[je](){return!1}[Le](){return!1}[St](){this.para&&this[Ue]()[me].paraStack.pop()}[bt](){this[Ue]()[me].paraStack.push(this.para)}[Vt](ar){this.id&&this[dt]===z.NamespaceIds.template.id&&ar.set(this.id,this)}[Ue](){return this[we].template}[$e](){return!1}[Ye](){return!1}[he](ar){ar[Br]=this,this[fr].push(ar),!ar[we]&&this[we]&&(ar[we]=this[we])}[pt](ar){const xr=this[fr].indexOf(ar);this[fr].splice(xr,1)}[Ie](){return this.hasOwnProperty("value")}[Mt](ar){}[He](ar){}[Ee](){}[X](ar){delete this[Xt],this[L]&&(ar.clean(this[L]),delete this[L])}[Ke](ar){return this[fr].indexOf(ar)}[Ve](ar,xr){xr[Br]=this,this[fr].splice(ar,0,xr),!xr[we]&&this[we]&&(xr[we]=this[we])}[tt](){return!this.name}[st](){return""}[Yt](){return this[fr].length===0?this[de]:this[fr].map(ar=>ar[Yt]()).join("")}get[gr](){const ar=Object.getPrototypeOf(this);if(!ar._attributes){const xr=ar._attributes=new Set;for(const Lr of Object.getOwnPropertyNames(this)){if(this[Lr]===null||this[Lr]instanceof Cr||this[Lr]instanceof Tr)break;xr.add(Lr)}}return(0,U.shadow)(this,gr,ar._attributes)}[Qe](ar){let xr=this;for(;xr;){if(xr===ar)return!0;xr=xr[De]()}return!1}[De](){return this[Br]}[Ae](){return this[De]()}[Ne](){let ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return ar?this[ar]:this[fr]}[se](){const ar=Object.create(null);this[de]&&(ar.$content=this[de]);for(const xr of Object.getOwnPropertyNames(this)){const Lr=this[xr];Lr!==null&&(Lr instanceof Cr?ar[xr]=Lr[se]():Lr instanceof Tr?Lr.isEmpty()||(ar[xr]=Lr.dump()):ar[xr]=Lr)}return ar}[Bt](){return null}[Jt](){return R.HTMLResult.EMPTY}*[Ze](){for(const ar of this[Ne]())yield ar}*[Ar](ar,xr){for(const Lr of this[Ze]())if(!ar||xr===ar.has(Lr[ct])){const Rr=this[ve](),Mr=Lr[Jt](Rr);Mr.success||(this[me].failingNode=Lr),yield Mr}}[ke](){return null}[ie](ar,xr){this[me].children.push(ar)}[ve](){}[J](ar){let{filter:xr=null,include:Lr=!0}=ar;if(!this[me].generator)this[me].generator=this[Ar](xr,Lr);else{const Rr=this[ve](),Mr=this[me].failingNode[Jt](Rr);if(!Mr.success)return Mr;Mr.html&&this[ie](Mr.html,Mr.bbox),delete this[me].failingNode}for(;;){const Rr=this[me].generator.next();if(Rr.done)break;const Mr=Rr.value;if(!Mr.success)return Mr;Mr.html&&this[ie](Mr.html,Mr.bbox)}return this[me].generator=null,R.HTMLResult.EMPTY}[Wt](ar){this[Ur]=new Set(Object.keys(ar))}[vt](ar){const xr=this[gr],Lr=this[Ur];return[...ar].filter(Rr=>xr.has(Rr)&&!Lr.has(Rr))}[Pt](ar){let xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const Lr of this[fr])Lr[br](ar,xr)}[br](ar,xr){const Lr=this[yt](ar,xr);Lr?this[Dt](Lr,ar,xr):this[Pt](ar,xr)}[yt](ar,xr){const{use:Lr,usehref:Rr}=this;if(!Lr&&!Rr)return null;let Mr=null,an=null,gn=null,dn=Lr;if(Rr?(dn=Rr,Rr.startsWith("#som(")&&Rr.endsWith(")")?an=Rr.slice(5,Rr.length-1):Rr.startsWith(".#som(")&&Rr.endsWith(")")?an=Rr.slice(6,Rr.length-1):Rr.startsWith("#")?gn=Rr.slice(1):Rr.startsWith(".#")&&(gn=Rr.slice(2))):Lr.startsWith("#")?gn=Lr.slice(1):an=Lr,this.use=this.usehref="",gn?Mr=ar.get(gn):(Mr=(0,e.searchNode)(ar.get(wt),this,an,!0,!1),Mr&&(Mr=Mr[0])),!Mr)return(0,U.warn)(`XFA - Invalid prototype reference: ${dn}.`),null;if(Mr[ct]!==this[ct])return(0,U.warn)(`XFA - Incompatible prototype: ${Mr[ct]} !== ${this[ct]}.`),null;if(xr.has(Mr))return(0,U.warn)("XFA - Cycle detected in prototypes use."),null;xr.add(Mr);const pn=Mr[yt](ar,xr);return pn&&Mr[Dt](pn,ar,xr),Mr[Pt](ar,xr),xr.delete(Mr),Mr}[Dt](ar,xr,Lr){if(Lr.has(ar)){(0,U.warn)("XFA - Cycle detected in prototypes use.");return}!this[de]&&ar[de]&&(this[de]=ar[de]),new Set(Lr).add(ar);for(const Mr of this[vt](ar[Ur]))this[Mr]=ar[Mr],this[Ur]&&this[Ur].add(Mr);for(const Mr of Object.getOwnPropertyNames(this)){if(this[gr].has(Mr))continue;const an=this[Mr],gn=ar[Mr];if(an instanceof Tr){for(const dn of an[fr])dn[br](xr,Lr);for(let dn=an[fr].length,pn=gn[fr].length;dnCr[Dr](xr)):typeof ar=="object"&&ar!==null?Object.assign({},ar):ar}[Q](){const ar=Object.create(Object.getPrototypeOf(this));for(const xr of Object.getOwnPropertySymbols(this))try{ar[xr]=this[xr]}catch{(0,U.shadow)(ar,xr,this[xr])}ar[It]=`${ar[ct]}${sr++}`,ar[fr]=[];for(const xr of Object.getOwnPropertyNames(this)){if(this[gr].has(xr)){ar[xr]=Cr[Dr](this[xr]);continue}const Lr=this[xr];Lr instanceof Tr?ar[xr]=new Tr(Lr[At]):ar[xr]=null}for(const xr of this[fr]){const Lr=xr[ct],Rr=xr[Q]();ar[fr].push(Rr),Rr[Br]=ar,ar[Lr]===null?ar[Lr]=Rr:ar[Lr][fr].push(Rr)}return ar}[Ne](){let ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return ar?this[fr].filter(xr=>xr[ct]===ar):this[fr]}[ye](ar){return this[ar]}[Ce](ar,xr){let Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Array.from(this[pe](ar,xr,Lr))}*[pe](ar,xr){let Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(ar==="parent"){yield this[Br];return}for(const Rr of this[fr])Rr[ct]===ar&&(yield Rr),Rr.name===ar&&(yield Rr),(xr||Rr[tt]())&&(yield*Rr[pe](ar,xr,!1));Lr&&this[gr].has(ar)&&(yield new jt(this,ar,this[ar]))}}D.XFAObject=Cr;class Tr{constructor(){let ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1/0;this[At]=ar,this[fr]=[]}push(ar){return this[fr].length<=this[At]?(this[fr].push(ar),!0):((0,U.warn)(`XFA - node "${ar[ct]}" accepts no more than ${this[At]} children`),!1)}isEmpty(){return this[fr].length===0}dump(){return this[fr].length===1?this[fr][0][se]():this[fr].map(ar=>ar[se]())}[Q](){const ar=new Tr(this[At]);return ar[fr]=this[fr].map(xr=>xr[Q]()),ar}get children(){return this[fr]}clear(){this[fr].length=0}}D.XFAObjectArray=Tr;class jt{constructor(ar,xr,Lr){this[Br]=ar,this[ct]=xr,this[de]=Lr,this[ce]=!1,this[It]=`attribute${sr++}`}[De](){return this[Br]}[et](){return!0}[_e](){return this[de].trim()}[Mt](ar){ar=ar.value||"",this[de]=ar.toString()}[Yt](){return this[de]}[Qe](ar){return this[Br]===ar||this[Br][Qe](ar)}}D.XFAAttribute=jt;class Wr extends Cr{constructor(ar,xr){let Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(super(ar,xr),this[de]="",this[kr]=null,xr!=="#text"){const Rr=new Map;this[Zt]=Rr;for(const[Mr,an]of Object.entries(Lr))Rr.set(Mr,new jt(this,Mr,an));if(Lr.hasOwnProperty(mt)){const Mr=Lr[mt].xfa.dataNode;Mr!==void 0&&(Mr==="dataGroup"?this[kr]=!1:Mr==="dataValue"&&(this[kr]=!0))}}this[ce]=!1}[er](ar){const xr=this[ct];if(xr==="#text"){ar.push((0,K.encodeToXmlString)(this[de]));return}const Lr=(0,U.utf8StringToString)(xr),Rr=this[dt]===ur?"xfa:":"";ar.push(`<${Rr}${Lr}`);for(const[Mr,an]of this[Zt].entries()){const gn=(0,U.utf8StringToString)(Mr);ar.push(` ${gn}="${(0,K.encodeToXmlString)(an[de])}"`)}if(this[kr]!==null&&(this[kr]?ar.push(' xfa:dataNode="dataValue"'):ar.push(' xfa:dataNode="dataGroup"')),!this[de]&&this[fr].length===0){ar.push("/>");return}if(ar.push(">"),this[de])typeof this[de]=="string"?ar.push((0,K.encodeToXmlString)(this[de])):this[de][er](ar);else for(const Mr of this[fr])Mr[er](ar);ar.push(``)}[ut](ar){if(this[de]){const xr=new Wr(this[dt],"#text");this[he](xr),xr[de]=this[de],this[de]=""}return this[he](ar),!0}[He](ar){this[de]+=ar}[Ee](){if(this[de]&&this[fr].length>0){const ar=new Wr(this[dt],"#text");this[he](ar),ar[de]=this[de],delete this[de]}}[Jt](){return this[ct]==="#text"?R.HTMLResult.success({name:"#text",value:this[de]}):R.HTMLResult.EMPTY}[Ne](){let ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return ar?this[fr].filter(xr=>xr[ct]===ar):this[fr]}[fe](){return this[Zt]}[ye](ar){const xr=this[Zt].get(ar);return xr!==void 0?xr:this[Ne](ar)}*[pe](ar,xr){const Lr=this[Zt].get(ar);Lr&&(yield Lr);for(const Rr of this[fr])Rr[ct]===ar&&(yield Rr),xr&&(yield*Rr[pe](ar,xr))}*[xe](ar,xr){const Lr=this[Zt].get(ar);Lr&&(!xr||!Lr[ce])&&(yield Lr);for(const Rr of this[fr])yield*Rr[xe](ar,xr)}*[Te](ar,xr,Lr){for(const Rr of this[fr])Rr[ct]===ar&&(!Lr||!Rr[ce])&&(yield Rr),xr&&(yield*Rr[Te](ar,xr,Lr))}[et](){return this[kr]===null?this[fr].length===0||this[fr][0][dt]===z.NamespaceIds.xhtml.id:this[kr]}[_e](){return this[kr]===null?this[fr].length===0?this[de].trim():this[fr][0][dt]===z.NamespaceIds.xhtml.id?this[fr][0][Yt]().trim():null:this[de].trim()}[Mt](ar){ar=ar.value||"",this[de]=ar.toString()}[se](){let ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const xr=Object.create(null);ar&&(xr.$ns=this[dt]),this[de]&&(xr.$content=this[de]),xr.$name=this[ct],xr.children=[];for(const Lr of this[fr])xr.children.push(Lr[se](ar));xr.attributes=Object.create(null);for(const[Lr,Rr]of this[Zt])xr.attributes[Lr]=Rr[de];return xr}}D.XmlObject=Wr;class ir extends Cr{constructor(ar,xr){super(ar,xr),this[de]=""}[He](ar){this[de]+=ar}[Ee](){}}D.ContentObject=ir;class Gr extends ir{constructor(ar,xr,Lr){super(ar,xr),this[zt]=Lr}[Ee](){this[de]=(0,R.getKeyword)({data:this[de],defaultValue:this[zt][0],validate:ar=>this[zt].includes(ar)})}[X](ar){super[X](ar),delete this[zt]}}D.OptionObject=Gr;class Jr extends ir{[Ee](){this[de]=this[de].trim()}}D.StringObject=Jr;class Xr extends ir{constructor(ar,xr,Lr,Rr){super(ar,xr),this[cr]=Lr,this[un]=Rr}[Ee](){this[de]=(0,R.getInteger)({data:this[de],defaultValue:this[cr],validate:this[un]})}[X](ar){super[X](ar),delete this[cr],delete this[un]}}D.IntegerObject=Xr;class fn extends Xr{constructor(ar,xr){super(ar,xr,0,Lr=>Lr===1)}}D.Option01=fn;class cn extends Xr{constructor(ar,xr){super(ar,xr,1,Lr=>Lr===0)}}D.Option10=cn},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.HTMLResult=void 0,D.getBBox=Q,D.getColor=L,D.getFloat=ae,D.getInteger=e,D.getKeyword=ie,D.getMeasurement=J,D.getRatio=X,D.getRelevant=W,D.getStringOption=he,D.stripQuotes=z;var R=B(2);const U={pt:de=>de,cm:de=>de/2.54*72,mm:de=>de/(10*2.54)*72,in:de=>de*72,px:de=>de},K=/([+-]?\d+\.?\d*)(.*)/;function z(de){return de.startsWith("'")||de.startsWith('"')?de.slice(1,de.length-1):de}function e(de){let{data:oe,defaultValue:se,validate:me}=de;if(!oe)return se;oe=oe.trim();const Ee=parseInt(oe,10);return!isNaN(Ee)&&me(Ee)?Ee:se}function ae(de){let{data:oe,defaultValue:se,validate:me}=de;if(!oe)return se;oe=oe.trim();const Ee=parseFloat(oe);return!isNaN(Ee)&&me(Ee)?Ee:se}function ie(de){let{data:oe,defaultValue:se,validate:me}=de;return oe?(oe=oe.trim(),me(oe)?oe:se):se}function he(de,oe){return ie({data:de,defaultValue:oe[0],validate:se=>oe.includes(se)})}function J(de){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0";if(oe=oe||"0",!de)return J(oe);const se=de.trim().match(K);if(!se)return J(oe);const[,me,Ee]=se,ke=parseFloat(me);if(isNaN(ke))return J(oe);if(ke===0)return 0;const xe=U[Ee];return xe?xe(ke):ke}function X(de){if(!de)return{num:1,den:1};const oe=de.trim().split(/\s*:\s*/).map(Ee=>parseFloat(Ee)).filter(Ee=>!isNaN(Ee));if(oe.length===1&&oe.push(1),oe.length===0)return{num:1,den:1};const[se,me]=oe;return{num:se,den:me}}function W(de){return de?de.trim().split(/\s+/).map(oe=>({excluded:oe[0]==="-",viewname:oe.substring(1)})):[]}function L(de){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0,0],[se,me,Ee]=oe;if(!de)return{r:se,g:me,b:Ee};const ke=de.trim().split(/\s*,\s*/).map(xe=>Math.min(Math.max(0,parseInt(xe.trim(),10)),255)).map(xe=>isNaN(xe)?0:xe);return ke.length<3?{r:se,g:me,b:Ee}:([se,me,Ee]=ke,{r:se,g:me,b:Ee})}function Q(de){if(!de)return{x:-1,y:-1,width:-1,height:-1};const se=de.trim().split(/\s*,\s*/).map(fe=>J(fe,"-1"));if(se.length<4||se[2]<0||se[3]<0)return{x:-1,y:-1,width:-1,height:-1};const[me,Ee,ke,xe]=se;return{x:me,y:Ee,width:ke,height:xe}}class ce{static get FAILURE(){return(0,R.shadow)(this,"FAILURE",new ce(!1,null,null,null))}static get EMPTY(){return(0,R.shadow)(this,"EMPTY",new ce(!0,null,null,null))}constructor(oe,se,me,Ee){this.success=oe,this.html=se,this.bbox=me,this.breakNode=Ee}isBreak(){return!!this.breakNode}static breakNode(oe){return new ce(!1,null,null,oe)}static success(oe){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return new ce(!0,oe,se,null)}}D.HTMLResult=ce},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.NamespaceIds=D.$buildXFAObject=void 0;const B=Symbol();D.$buildXFAObject=B;const R={config:{id:0,check:U=>U.startsWith("http://www.xfa.org/schema/xci/")},connectionSet:{id:1,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-connection-set/")},datasets:{id:2,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-data/")},form:{id:3,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-form/")},localeSet:{id:4,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-locale-set/")},pdf:{id:5,check:U=>U==="http://ns.adobe.com/xdp/pdf/"},signature:{id:6,check:U=>U==="http://www.w3.org/2000/09/xmldsig#"},sourceSet:{id:7,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-source-set/")},stylesheet:{id:8,check:U=>U==="http://www.w3.org/1999/XSL/Transform"},template:{id:9,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-template/")},xdc:{id:10,check:U=>U.startsWith("http://www.xfa.org/schema/xdc/")},xdp:{id:11,check:U=>U==="http://ns.adobe.com/xdp/"},xfdf:{id:12,check:U=>U==="http://ns.adobe.com/xfdf/"},xhtml:{id:13,check:U=>U==="http://www.w3.org/1999/xhtml"},xmpmeta:{id:14,check:U=>U==="http://ns.adobe.com/xmpmeta/"}};D.NamespaceIds=R},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.createDataNode=ce,D.searchNode=L;var R=B(202),U=B(204),K=B(2);const z=/^[^.[]+/,e=/^[^\]]+/,ae={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},ie=new Map([["$data",(de,oe)=>de.datasets?de.datasets.data:de],["$record",(de,oe)=>(de.datasets?de.datasets.data:de)[R.$getChildren]()[0]],["$template",(de,oe)=>de.template],["$connectionSet",(de,oe)=>de.connectionSet],["$form",(de,oe)=>de.form],["$layout",(de,oe)=>de.layout],["$host",(de,oe)=>de.host],["$dataWindow",(de,oe)=>de.dataWindow],["$event",(de,oe)=>de.event],["!",(de,oe)=>de.datasets],["$xfa",(de,oe)=>de],["xfa",(de,oe)=>de],["$",(de,oe)=>oe]]),he=new WeakMap,J=U.NamespaceIds.datasets.id;function X(de){return de=de.trim(),de==="*"?1/0:parseInt(de,10)||0}function W(de,oe){let se=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,me=de.match(z);if(!me)return null;let[Ee]=me;const ke=[{name:Ee,cacheName:"."+Ee,index:0,js:null,formCalc:null,operator:ae.dot}];let xe=Ee.length;for(;xe3&&arguments[3]!==void 0?arguments[3]:!0,Ee=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;const ke=W(se,me);if(!ke)return null;const xe=ie.get(ke[0].name);let fe=0,ve;xe?(ve=!0,de=[xe(de,oe)],fe=1):(ve=oe===null,de=[oe||de]);for(let ye=ke.length;fe0&&Te.push(Ze)}if(Te.length===0&&!ve&&fe===0){if(oe=oe[R.$getParent](),!oe)return null;fe=-1,de=[oe];continue}isFinite(Ge)?de=Te.filter(Ne=>GeNe[Ge]):de=Te.flat()}return de.length===0?null:de}function Q(de,oe){let se=null;for(const{name:me,index:Ee}of oe){for(let ke=0,xe=isFinite(Ee)?Ee:0;ke<=xe;ke++){const fe=de[R.$namespaceId]===J?-1:de[R.$namespaceId];se=new R.XmlObject(fe,me),de[R.$appendChild](se)}de=se}return se}function ce(de,oe,se){const me=W(se);if(!me||me.some(xe=>xe.operator===ae.dotDot))return null;const Ee=ie.get(me[0].name);let ke=0;Ee?(de=Ee(de,oe),ke=1):de=oe||de;for(let xe=me.length;ke{Object.defineProperty(D,"__esModule",{value:!0}),D.Binder=void 0;var R=B(202),U=B(207),K=B(205),z=B(204),e=B(2);const ae=z.NamespaceIds.datasets.id;function ie(J){const X=new U.Text({});return X[R.$content]=J,X}class he{constructor(X){this.root=X,this.datasets=X.datasets,X.datasets&&X.datasets.data?this.data=X.datasets.data:this.data=new R.XmlObject(z.NamespaceIds.datasets.id,"data"),this.emptyMerge=this.data[R.$getChildren]().length===0,this.root.form=this.form=X.template[R.$clone]()}_isConsumeData(){return!this.emptyMerge&&this._mergeMode}_isMatchTemplate(){return!this._isConsumeData()}bind(){return this._bindElement(this.form,this.data),this.form}getData(){return this.data}_bindValue(X,W,L){if(X[R.$data]=W,X[R.$hasSettableValue]())if(W[R.$isDataValue]()){const Q=W[R.$getDataValue]();X[R.$setValue](ie(Q))}else if(X instanceof U.Field&&X.ui&&X.ui.choiceList&&X.ui.choiceList.open==="multiSelect"){const Q=W[R.$getChildren]().map(ce=>ce[R.$content].trim()).join(` -`);X[R.$setValue](ie(Q))}else this._isConsumeData()&&(0,e.warn)("XFA - Nodes haven't the same type.");else!W[R.$isDataValue]()||this._isMatchTemplate()?this._bindElement(X,W):(0,e.warn)("XFA - Nodes haven't the same type.")}_findDataByNameToConsume(X,W,L,Q){if(!X)return null;let ce,de;for(let oe=0;oe<3;oe++){for(ce=L[R.$getRealChildrenByNameIt](X,!1,!0);de=ce.next().value,!!de;)if(W===de[R.$isDataValue]())return de;if(L[R.$namespaceId]===z.NamespaceIds.datasets.id&&L[R.$nodeName]==="data")break;L=L[R.$getParent]()}return Q?(ce=this.data[R.$getRealChildrenByNameIt](X,!0,!1),de=ce.next().value,de||(ce=this.data[R.$getAttributeIt](X,!0),de=ce.next().value,de&&de[R.$isDataValue]())?de:null):null}_setProperties(X,W){if(X.hasOwnProperty("setProperty"))for(const{ref:L,target:Q,connection:ce}of X.setProperty.children){if(ce||!L)continue;const de=(0,K.searchNode)(this.root,W,L,!1,!1);if(!de){(0,e.warn)(`XFA - Invalid reference: ${L}.`);continue}const[oe]=de;if(!oe[R.$isDescendent](this.data)){(0,e.warn)("XFA - Invalid node: must be a data node.");continue}const se=(0,K.searchNode)(this.root,X,Q,!1,!1);if(!se){(0,e.warn)(`XFA - Invalid target: ${Q}.`);continue}const[me]=se;if(!me[R.$isDescendent](X)){(0,e.warn)("XFA - Invalid target: must be a property or subproperty.");continue}const Ee=me[R.$getParent]();if(me instanceof U.SetProperty||Ee instanceof U.SetProperty){(0,e.warn)("XFA - Invalid target: cannot be a setProperty or one of its properties.");continue}if(me instanceof U.BindItems||Ee instanceof U.BindItems){(0,e.warn)("XFA - Invalid target: cannot be a bindItems or one of its properties.");continue}const ke=oe[R.$text](),xe=me[R.$nodeName];if(me instanceof R.XFAAttribute){const fe=Object.create(null);fe[xe]=ke;const ve=Reflect.construct(Object.getPrototypeOf(Ee).constructor,[fe]);Ee[xe]=ve[xe];continue}if(!me.hasOwnProperty(R.$content)){(0,e.warn)("XFA - Invalid node to use in setProperty");continue}me[R.$data]=oe,me[R.$content]=ke,me[R.$finalize]()}}_bindItems(X,W){if(!X.hasOwnProperty("items")||!X.hasOwnProperty("bindItems")||X.bindItems.isEmpty())return;for(const ce of X.items.children)X[R.$removeChild](ce);X.items.clear();const L=new U.Items({}),Q=new U.Items({});X[R.$appendChild](L),X.items.push(L),X[R.$appendChild](Q),X.items.push(Q);for(const{ref:ce,labelRef:de,valueRef:oe,connection:se}of X.bindItems.children){if(se||!ce)continue;const me=(0,K.searchNode)(this.root,W,ce,!1,!1);if(!me){(0,e.warn)(`XFA - Invalid reference: ${ce}.`);continue}for(const Ee of me){if(!Ee[R.$isDescendent](this.datasets)){(0,e.warn)(`XFA - Invalid ref (${ce}): must be a datasets child.`);continue}const ke=(0,K.searchNode)(this.root,Ee,de,!0,!1);if(!ke){(0,e.warn)(`XFA - Invalid label: ${de}.`);continue}const[xe]=ke;if(!xe[R.$isDescendent](this.datasets)){(0,e.warn)("XFA - Invalid label: must be a datasets child.");continue}const fe=(0,K.searchNode)(this.root,Ee,oe,!0,!1);if(!fe){(0,e.warn)(`XFA - Invalid value: ${oe}.`);continue}const[ve]=fe;if(!ve[R.$isDescendent](this.datasets)){(0,e.warn)("XFA - Invalid value: must be a datasets child.");continue}const ye=ie(xe[R.$text]()),Ce=ie(ve[R.$text]());L[R.$appendChild](ye),L.text.push(ye),Q[R.$appendChild](Ce),Q.text.push(Ce)}}}_bindOccurrences(X,W,L){let Q;if(W.length>1&&(Q=X[R.$clone](),Q[R.$removeChild](Q.occur),Q.occur=null),this._bindValue(X,W[0],L),this._setProperties(X,W[0]),this._bindItems(X,W[0]),W.length===1)return;const ce=X[R.$getParent](),de=X[R.$nodeName],oe=ce[R.$indexOf](X);for(let se=1,me=W.length;sese.name===X.name).length:ce=L[Q].children.length;const de=L[R.$indexOf](X)+1,oe=W.initial-ce;if(oe){const se=X[R.$clone]();se[R.$removeChild](se.occur),se.occur=null,L[Q].push(se),L[R.$insertAt](de,se);for(let me=1;me0)this._bindOccurrences(Q,[ke[0]],null);else if(this.emptyMerge){const xe=W[R.$namespaceId]===ae?-1:W[R.$namespaceId],fe=Q[R.$data]=new R.XmlObject(xe,Q.name||"root");W[R.$appendChild](fe),this._bindElement(Q,fe)}continue}if(!Q[R.$isBindable]())continue;let ce=!1,de=null,oe=null,se=null;if(Q.bind){switch(Q.bind.match){case"none":this._setAndBind(Q,W);continue;case"global":ce=!0;break;case"dataRef":if(!Q.bind.ref){(0,e.warn)(`XFA - ref is empty in node ${Q[R.$nodeName]}.`),this._setAndBind(Q,W);continue}oe=Q.bind.ref;break}Q.bind.picture&&(de=Q.bind.picture[R.$content])}const[me,Ee]=this._getOccurInfo(Q);if(oe)if(se=(0,K.searchNode)(this.root,W,oe,!0,!1),se===null){if(se=(0,K.createDataNode)(this.data,W,oe),!se)continue;this._isConsumeData()&&(se[R.$consumed]=!0),this._setAndBind(Q,se);continue}else this._isConsumeData()&&(se=se.filter(ke=>!ke[R.$consumed])),se.length>Ee?se=se.slice(0,Ee):se.length===0&&(se=null),se&&this._isConsumeData()&&se.forEach(ke=>{ke[R.$consumed]=!0});else{if(!Q.name){this._setAndBind(Q,W);continue}if(this._isConsumeData()){const ke=[];for(;ke.length0?ke:null}else{if(se=W[R.$getRealChildrenByNameIt](Q.name,!1,this.emptyMerge).next().value,!se){if(me===0){L.push(Q);continue}const ke=W[R.$namespaceId]===ae?-1:W[R.$namespaceId];se=Q[R.$data]=new R.XmlObject(ke,Q.name),this.emptyMerge&&(se[R.$consumed]=!0),W[R.$appendChild](se),this._setAndBind(Q,se);continue}this.emptyMerge&&(se[R.$consumed]=!0),se=[se]}}se?this._bindOccurrences(Q,se,de):me>0?this._setAndBind(Q,W):L.push(Q)}L.forEach(Q=>Q[R.$getParent]()[R.$removeChild](Q))}}D.Binder=he},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Value=D.Text=D.TemplateNamespace=D.Template=D.SetProperty=D.Items=D.Field=D.BindItems=void 0;var R=B(202),U=B(204),K=B(208),z=B(209),e=B(203),ae=B(2),ie=B(210),he=B(131),J=B(205);const X=U.NamespaceIds.template.id,W="http://www.w3.org/2000/svg",L=2,Q=3,ce=5e3,de=/^H(\d+)$/,oe=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),se=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function me(Er){if(!Er||!Er.border)return{w:0,h:0};const Oe=Er.border[R.$getExtra]();return Oe?{w:Oe.widths[0]+Oe.widths[2]+Oe.insets[0]+Oe.insets[2],h:Oe.widths[1]+Oe.widths[3]+Oe.insets[1]+Oe.insets[3]}:{w:0,h:0}}function Ee(Er){return Er.margin&&(Er.margin.topInset||Er.margin.rightInset||Er.margin.bottomInset||Er.margin.leftInset)}function ke(Er,Oe){if(!Er.value){const ft=new Ai({});Er[R.$appendChild](ft),Er.value=ft}Er.value[R.$setValue](Oe)}function*xe(Er){for(const Oe of Er[R.$getChildren]()){if(Oe instanceof ia){yield*Oe[R.$getContainedChildren]();continue}yield Oe}}function fe(Er){return Er.validate&&Er.validate.nullTest==="error"}function ve(Er){for(;Er;){if(!Er.traversal){Er[R.$tabIndex]=Er[R.$getParent]()[R.$tabIndex];return}if(Er[R.$tabIndex])return;let Oe=null;for(const lr of Er.traversal[R.$getChildren]())if(lr.operation==="next"){Oe=lr;break}if(!Oe||!Oe.ref){Er[R.$tabIndex]=Er[R.$getParent]()[R.$tabIndex];return}const ft=Er[R.$getTemplateRoot]();Er[R.$tabIndex]=++ft[R.$tabIndex];const yr=ft[R.$searchNode](Oe.ref,Er);if(!yr)return;Er=yr[0]}}function ye(Er,Oe){const ft=Er.assist;if(ft){const yr=ft[R.$toHTML]();yr&&(Oe.title=yr);const qr=ft.role.match(de);if(qr){const sn="heading",Kr=qr[1];Oe.role=sn,Oe["aria-level"]=Kr}}if(Er.layout==="table")Oe.role="table";else if(Er.layout==="row")Oe.role="row";else{const yr=Er[R.$getParent]();yr.layout==="row"&&(yr.assist&&yr.assist.role==="TH"?Oe.role="columnheader":Oe.role="cell")}}function Ce(Er){if(!Er.assist)return null;const Oe=Er.assist;return Oe.speak&&Oe.speak[R.$content]!==""?Oe.speak[R.$content]:Oe.toolTip?Oe.toolTip[R.$content]:null}function pe(Er){return e.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:Er}]})}function _e(Er){const Oe=Er[R.$getTemplateRoot]();Oe[R.$extra].firstUnsplittable===null&&(Oe[R.$extra].firstUnsplittable=Er,Oe[R.$extra].noLayoutFailure=!0)}function Ge(Er){const Oe=Er[R.$getTemplateRoot]();Oe[R.$extra].firstUnsplittable===Er&&(Oe[R.$extra].noLayoutFailure=!1)}function Te(Er){if(Er[R.$extra]||(Er[R.$extra]=Object.create(null),Er.targetType==="auto"))return!1;const Oe=Er[R.$getTemplateRoot]();let ft=null;if(Er.target){if(ft=Oe[R.$searchNode](Er.target,Er[R.$getParent]()),!ft)return!1;ft=ft[0]}const{currentPageArea:yr,currentContentArea:lr}=Oe[R.$extra];if(Er.targetType==="pageArea")return ft instanceof Rr||(ft=null),Er.startNew?(Er[R.$extra].target=ft||yr,!0):ft&&ft!==yr?(Er[R.$extra].target=ft,!0):!1;ft instanceof ut||(ft=null);const qr=ft&&ft[R.$getParent]();let sn,Kr=qr;if(Er.startNew)if(ft){const on=qr.contentArea.children,bn=on.indexOf(lr),Dn=on.indexOf(ft);bn!==-1&&bnEr,yr[R.$extra].noLayoutFailure=!0;const sn=Oe[R.$toHTML](ft);Er[R.$addHTML](sn.html,sn.bbox),yr[R.$extra].noLayoutFailure=lr,Oe[R.$getSubformParent]=qr}class Ze extends R.StringObject{constructor(Oe){super(X,"appearanceFilter"),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class ze extends R.XFAObject{constructor(Oe){super(X,"arc",!0),this.circular=(0,e.getInteger)({data:Oe.circular,defaultValue:0,validate:ft=>ft===1}),this.hand=(0,e.getStringOption)(Oe.hand,["even","left","right"]),this.id=Oe.id||"",this.startAngle=(0,e.getFloat)({data:Oe.startAngle,defaultValue:0,validate:ft=>!0}),this.sweepAngle=(0,e.getFloat)({data:Oe.sweepAngle,defaultValue:360,validate:ft=>!0}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.edge=null,this.fill=null}[R.$toHTML](){const Oe=this.edge||new Wt({}),ft=Oe[R.$toStyle](),yr=Object.create(null);this.fill&&this.fill.presence==="visible"?Object.assign(yr,this.fill[R.$toStyle]()):yr.fill="transparent",yr.strokeWidth=(0,z.measureToString)(Oe.presence==="visible"?Oe.thickness:0),yr.stroke=ft.color;let lr;const qr={xmlns:W,style:{width:"100%",height:"100%",overflow:"visible"}};if(this.sweepAngle===360)lr={name:"ellipse",attributes:{xmlns:W,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:yr}};else{const on=this.startAngle*Math.PI/180,bn=this.sweepAngle*Math.PI/180,Dn=this.sweepAngle>180?1:0,[zn,Bn,kn,Gn]=[50*(1+Math.cos(on)),50*(1-Math.sin(on)),50*(1+Math.cos(on+bn)),50*(1-Math.sin(on+bn))];lr={name:"path",attributes:{xmlns:W,d:`M ${zn} ${Bn} A 50 50 0 ${Dn} 0 ${kn} ${Gn}`,vectorEffect:"non-scaling-stroke",style:yr}},Object.assign(qr,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}const sn={name:"svg",children:[lr],attributes:qr},Kr=this[R.$getParent]()[R.$getParent]();return Ee(Kr)?e.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[sn]}):(sn.attributes.style.position="absolute",e.HTMLResult.success(sn))}}class Ae extends R.XFAObject{constructor(Oe){super(X,"area",!0),this.colSpan=(0,e.getInteger)({data:Oe.colSpan,defaultValue:1,validate:ft=>ft>=1||ft===-1}),this.id=Oe.id||"",this.name=Oe.name||"",this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.desc=null,this.extras=null,this.area=new R.XFAObjectArray,this.draw=new R.XFAObjectArray,this.exObject=new R.XFAObjectArray,this.exclGroup=new R.XFAObjectArray,this.field=new R.XFAObjectArray,this.subform=new R.XFAObjectArray,this.subformSet=new R.XFAObjectArray}*[R.$getContainedChildren](){yield*xe(this)}[R.$isTransparent](){return!0}[R.$isBindable](){return!0}[R.$addHTML](Oe,ft){const[yr,lr,qr,sn]=ft;this[R.$extra].width=Math.max(this[R.$extra].width,yr+qr),this[R.$extra].height=Math.max(this[R.$extra].height,lr+sn),this[R.$extra].children.push(Oe)}[R.$getAvailableSpace](){return this[R.$extra].availableSpace}[R.$toHTML](Oe){const ft=(0,z.toStyle)(this,"position"),yr={style:ft,id:this[R.$uid],class:["xfaArea"]};(0,z.isPrintOnly)(this)&&yr.class.push("xfaPrintOnly"),this.name&&(yr.xfaName=this.name);const lr=[];this[R.$extra]={children:lr,width:0,height:0,availableSpace:Oe};const qr=this[R.$childrenToHTML]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!qr.success)return qr.isBreak()?qr:(delete this[R.$extra],e.HTMLResult.FAILURE);ft.width=(0,z.measureToString)(this[R.$extra].width),ft.height=(0,z.measureToString)(this[R.$extra].height);const sn={name:"div",attributes:yr,children:lr},Kr=[this.x,this.y,this[R.$extra].width,this[R.$extra].height];return delete this[R.$extra],e.HTMLResult.success(sn,Kr)}}class De extends R.XFAObject{constructor(Oe){super(X,"assist",!0),this.id=Oe.id||"",this.role=Oe.role||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.speak=null,this.toolTip=null}[R.$toHTML](){return this.toolTip&&this.toolTip[R.$content]?this.toolTip[R.$content]:null}}class Ue extends R.XFAObject{constructor(Oe){super(X,"barcode",!0),this.charEncoding=(0,e.getKeyword)({data:Oe.charEncoding?Oe.charEncoding.toLowerCase():"",defaultValue:"",validate:ft=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(ft)||ft.match(/iso-8859-\d{2}/)}),this.checksum=(0,e.getStringOption)(Oe.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),this.dataColumnCount=(0,e.getInteger)({data:Oe.dataColumnCount,defaultValue:-1,validate:ft=>ft>=0}),this.dataLength=(0,e.getInteger)({data:Oe.dataLength,defaultValue:-1,validate:ft=>ft>=0}),this.dataPrep=(0,e.getStringOption)(Oe.dataPrep,["none","flateCompress"]),this.dataRowCount=(0,e.getInteger)({data:Oe.dataRowCount,defaultValue:-1,validate:ft=>ft>=0}),this.endChar=Oe.endChar||"",this.errorCorrectionLevel=(0,e.getInteger)({data:Oe.errorCorrectionLevel,defaultValue:-1,validate:ft=>ft>=0&&ft<=8}),this.id=Oe.id||"",this.moduleHeight=(0,e.getMeasurement)(Oe.moduleHeight,"5mm"),this.moduleWidth=(0,e.getMeasurement)(Oe.moduleWidth,"0.25mm"),this.printCheckDigit=(0,e.getInteger)({data:Oe.printCheckDigit,defaultValue:0,validate:ft=>ft===1}),this.rowColumnRatio=(0,e.getRatio)(Oe.rowColumnRatio),this.startChar=Oe.startChar||"",this.textLocation=(0,e.getStringOption)(Oe.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),this.truncate=(0,e.getInteger)({data:Oe.truncate,defaultValue:0,validate:ft=>ft===1}),this.type=(0,e.getStringOption)(Oe.type?Oe.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),this.upsMode=(0,e.getStringOption)(Oe.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.wideNarrowRatio=(0,e.getRatio)(Oe.wideNarrowRatio),this.encrypt=null,this.extras=null}}class we extends R.XFAObject{constructor(Oe){super(X,"bind",!0),this.match=(0,e.getStringOption)(Oe.match,["once","dataRef","global","none"]),this.ref=Oe.ref||"",this.picture=null}}class Ie extends R.XFAObject{constructor(Oe){super(X,"bindItems"),this.connection=Oe.connection||"",this.labelRef=Oe.labelRef||"",this.ref=Oe.ref||"",this.valueRef=Oe.valueRef||""}}D.BindItems=Ie;class Be extends R.XFAObject{constructor(Oe){super(X,"bookend"),this.id=Oe.id||"",this.leader=Oe.leader||"",this.trailer=Oe.trailer||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Ke extends R.Option01{constructor(Oe){super(X,"boolean"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$toHTML](Oe){return pe(this[R.$content]===1?"1":"0")}}class Ve extends R.XFAObject{constructor(Oe){super(X,"border",!0),this.break=(0,e.getStringOption)(Oe.break,["close","open"]),this.hand=(0,e.getStringOption)(Oe.hand,["even","left","right"]),this.id=Oe.id||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.corner=new R.XFAObjectArray(4),this.edge=new R.XFAObjectArray(4),this.extras=null,this.fill=null,this.margin=null}[R.$getExtra](){if(!this[R.$extra]){const Oe=this.edge.children.slice();if(Oe.length<4){const lr=Oe.at(-1)||new Wt({});for(let qr=Oe.length;qr<4;qr++)Oe.push(lr)}const ft=Oe.map(lr=>lr.thickness),yr=[0,0,0,0];this.margin&&(yr[0]=this.margin.topInset,yr[1]=this.margin.rightInset,yr[2]=this.margin.bottomInset,yr[3]=this.margin.leftInset),this[R.$extra]={widths:ft,insets:yr,edges:Oe}}return this[R.$extra]}[R.$toStyle](){const{edges:Oe}=this[R.$getExtra](),ft=Oe.map(lr=>{const qr=lr[R.$toStyle]();return qr.color=qr.color||"#000000",qr}),yr=Object.create(null);if(this.margin&&Object.assign(yr,this.margin[R.$toStyle]()),this.fill&&this.fill.presence==="visible"&&Object.assign(yr,this.fill[R.$toStyle]()),this.corner.children.some(lr=>lr.radius!==0)){const lr=this.corner.children.map(qr=>qr[R.$toStyle]());if(lr.length===2||lr.length===3){const qr=lr.at(-1);for(let sn=lr.length;sn<4;sn++)lr.push(qr)}yr.borderRadius=lr.map(qr=>qr.radius).join(" ")}switch(this.presence){case"invisible":case"hidden":yr.borderStyle="";break;case"inactive":yr.borderStyle="none";break;default:yr.borderStyle=ft.map(lr=>lr.style).join(" ");break}return yr.borderWidth=ft.map(lr=>lr.width).join(" "),yr.borderColor=ft.map(lr=>lr.color).join(" "),yr}}class je extends R.XFAObject{constructor(Oe){super(X,"break",!0),this.after=(0,e.getStringOption)(Oe.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.afterTarget=Oe.afterTarget||"",this.before=(0,e.getStringOption)(Oe.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.beforeTarget=Oe.beforeTarget||"",this.bookendLeader=Oe.bookendLeader||"",this.bookendTrailer=Oe.bookendTrailer||"",this.id=Oe.id||"",this.overflowLeader=Oe.overflowLeader||"",this.overflowTarget=Oe.overflowTarget||"",this.overflowTrailer=Oe.overflowTrailer||"",this.startNew=(0,e.getInteger)({data:Oe.startNew,defaultValue:0,validate:ft=>ft===1}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}}class Le extends R.XFAObject{constructor(Oe){super(X,"breakAfter",!0),this.id=Oe.id||"",this.leader=Oe.leader||"",this.startNew=(0,e.getInteger)({data:Oe.startNew,defaultValue:0,validate:ft=>ft===1}),this.target=Oe.target||"",this.targetType=(0,e.getStringOption)(Oe.targetType,["auto","contentArea","pageArea"]),this.trailer=Oe.trailer||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.script=null}}class et extends R.XFAObject{constructor(Oe){super(X,"breakBefore",!0),this.id=Oe.id||"",this.leader=Oe.leader||"",this.startNew=(0,e.getInteger)({data:Oe.startNew,defaultValue:0,validate:ft=>ft===1}),this.target=Oe.target||"",this.targetType=(0,e.getStringOption)(Oe.targetType,["auto","contentArea","pageArea"]),this.trailer=Oe.trailer||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.script=null}[R.$toHTML](Oe){return this[R.$extra]={},e.HTMLResult.FAILURE}}class Qe extends R.XFAObject{constructor(Oe){super(X,"button",!0),this.highlight=(0,e.getStringOption)(Oe.highlight,["inverted","none","outline","push"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}[R.$toHTML](Oe){const yr=this[R.$getParent]()[R.$getParent](),lr={name:"button",attributes:{id:this[R.$uid],class:["xfaButton"],style:{}},children:[]};for(const qr of yr.event.children){if(qr.activity!=="click"||!qr.script)continue;const sn=(0,he.recoverJsURL)(qr.script[R.$content]);if(!sn)continue;const Kr=(0,z.fixURL)(sn.url);Kr&&lr.children.push({name:"a",attributes:{id:"link"+this[R.$uid],href:Kr,newWindow:sn.newWindow,class:["xfaLink"],style:{}},children:[]})}return e.HTMLResult.success(lr)}}class Fe extends R.XFAObject{constructor(Oe){super(X,"calculate",!0),this.id=Oe.id||"",this.override=(0,e.getStringOption)(Oe.override,["disabled","error","ignore","warning"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.message=null,this.script=null}}class $e extends R.XFAObject{constructor(Oe){super(X,"caption",!0),this.id=Oe.id||"",this.placement=(0,e.getStringOption)(Oe.placement,["left","bottom","inline","right","top"]),this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.reserve=Math.ceil((0,e.getMeasurement)(Oe.reserve)),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.font=null,this.margin=null,this.para=null,this.value=null}[R.$setValue](Oe){ke(this,Oe)}[R.$getExtra](Oe){if(!this[R.$extra]){let{width:ft,height:yr}=Oe;switch(this.placement){case"left":case"right":case"inline":ft=this.reserve<=0?ft:this.reserve;break;case"top":case"bottom":yr=this.reserve<=0?yr:this.reserve;break}this[R.$extra]=(0,z.layoutNode)(this,{width:ft,height:yr})}return this[R.$extra]}[R.$toHTML](Oe){if(!this.value)return e.HTMLResult.EMPTY;this[R.$pushPara]();const ft=this.value[R.$toHTML](Oe).html;if(!ft)return this[R.$popPara](),e.HTMLResult.EMPTY;const yr=this.reserve;if(this.reserve<=0){const{w:sn,h:Kr}=this[R.$getExtra](Oe);switch(this.placement){case"left":case"right":case"inline":this.reserve=sn;break;case"top":case"bottom":this.reserve=Kr;break}}const lr=[];typeof ft=="string"?lr.push({name:"#text",value:ft}):lr.push(ft);const qr=(0,z.toStyle)(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(qr.width=(0,z.measureToString)(this.reserve));break;case"top":case"bottom":this.reserve>0&&(qr.height=(0,z.measureToString)(this.reserve));break}return(0,z.setPara)(this,null,ft),this[R.$popPara](),this.reserve=yr,e.HTMLResult.success({name:"div",attributes:{style:qr,class:["xfaCaption"]},children:lr})}}class Ye extends R.StringObject{constructor(Oe){super(X,"certificate"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class tt extends R.XFAObject{constructor(Oe){super(X,"certificates",!0),this.credentialServerPolicy=(0,e.getStringOption)(Oe.credentialServerPolicy,["optional","required"]),this.id=Oe.id||"",this.url=Oe.url||"",this.urlPolicy=Oe.urlPolicy||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.encryption=null,this.issuers=null,this.keyUsage=null,this.oids=null,this.signing=null,this.subjectDNs=null}}class ot extends R.XFAObject{constructor(Oe){super(X,"checkButton",!0),this.id=Oe.id||"",this.mark=(0,e.getStringOption)(Oe.mark,["default","check","circle","cross","diamond","square","star"]),this.shape=(0,e.getStringOption)(Oe.shape,["square","round"]),this.size=(0,e.getMeasurement)(Oe.size,"10pt"),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){const ft=(0,z.toStyle)("margin"),yr=(0,z.measureToString)(this.size);ft.width=ft.height=yr;let lr,qr,sn;const Kr=this[R.$getParent]()[R.$getParent](),on=Kr.items.children.length&&Kr.items.children[0][R.$toHTML]().html||[],bn={on:(on[0]!==void 0?on[0]:"on").toString(),off:(on[1]!==void 0?on[1]:"off").toString()},zn=(Kr.value&&Kr.value[R.$text]()||"off")===bn.on||void 0,Bn=Kr[R.$getSubformParent](),kn=Kr[R.$uid];let Gn;Bn instanceof gr?(sn=Bn[R.$uid],lr="radio",qr="xfaRadio",Gn=Bn[R.$data]&&Bn[R.$data][R.$uid]||Bn[R.$uid]):(lr="checkbox",qr="xfaCheckbox",Gn=Kr[R.$data]&&Kr[R.$data][R.$uid]||Kr[R.$uid]);const En={name:"input",attributes:{class:[qr],style:ft,fieldId:kn,dataId:Gn,type:lr,checked:zn,xfaOn:bn.on,xfaOff:bn.off,"aria-label":Ce(Kr),"aria-required":!1}};return sn&&(En.attributes.name=sn),fe(Kr)&&(En.attributes["aria-required"]=!0,En.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[En]})}}class st extends R.XFAObject{constructor(Oe){super(X,"choiceList",!0),this.commitOn=(0,e.getStringOption)(Oe.commitOn,["select","exit"]),this.id=Oe.id||"",this.open=(0,e.getStringOption)(Oe.open,["userControl","always","multiSelect","onEntry"]),this.textEntry=(0,e.getInteger)({data:Oe.textEntry,defaultValue:0,validate:ft=>ft===1}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){const ft=(0,z.toStyle)(this,"border","margin"),lr=this[R.$getParent]()[R.$getParent](),sn={fontSize:`calc(${lr.font&&lr.font.size||10}px * var(--scale-factor))`},Kr=[];if(lr.items.children.length>0){const bn=lr.items;let Dn=0,zn=0;bn.children.length===2&&(Dn=bn.children[0].save,zn=1-Dn);const Bn=bn.children[Dn][R.$toHTML]().html,kn=bn.children[zn][R.$toHTML]().html;let Gn=!1;const En=lr.value&&lr.value[R.$text]()||"";for(let li=0,Sn=Bn.length;lift>=0}),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class mt extends R.XFAObject{constructor(Oe){super(X,"connect",!0),this.connection=Oe.connection||"",this.id=Oe.id||"",this.ref=Oe.ref||"",this.usage=(0,e.getStringOption)(Oe.usage,["exportAndImport","exportOnly","importOnly"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.picture=null}}class ut extends R.XFAObject{constructor(Oe){super(X,"contentArea",!0),this.h=(0,e.getMeasurement)(Oe.h),this.id=Oe.id||"",this.name=Oe.name||"",this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.w=(0,e.getMeasurement)(Oe.w),this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.desc=null,this.extras=null}[R.$toHTML](Oe){const ft=(0,z.measureToString)(this.x),yr=(0,z.measureToString)(this.y),lr={left:ft,top:yr,width:(0,z.measureToString)(this.w),height:(0,z.measureToString)(this.h)},qr=["xfaContentarea"];return(0,z.isPrintOnly)(this)&&qr.push("xfaPrintOnly"),e.HTMLResult.success({name:"div",children:[],attributes:{style:lr,class:qr,id:this[R.$uid]}})}}class rt extends R.XFAObject{constructor(Oe){super(X,"corner",!0),this.id=Oe.id||"",this.inverted=(0,e.getInteger)({data:Oe.inverted,defaultValue:0,validate:ft=>ft===1}),this.join=(0,e.getStringOption)(Oe.join,["square","round"]),this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.radius=(0,e.getMeasurement)(Oe.radius),this.stroke=(0,e.getStringOption)(Oe.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=(0,e.getMeasurement)(Oe.thickness,"0.5pt"),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](){const Oe=(0,z.toStyle)(this,"visibility");return Oe.radius=(0,z.measureToString)(this.join==="square"?0:this.radius),Oe}}class He extends R.ContentObject{constructor(Oe){super(X,"date"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=this[R.$content].trim();this[R.$content]=Oe?new Date(Oe):null}[R.$toHTML](Oe){return pe(this[R.$content]?this[R.$content].toString():"")}}class Je extends R.ContentObject{constructor(Oe){super(X,"dateTime"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=this[R.$content].trim();this[R.$content]=Oe?new Date(Oe):null}[R.$toHTML](Oe){return pe(this[R.$content]?this[R.$content].toString():"")}}class St extends R.XFAObject{constructor(Oe){super(X,"dateTimeEdit",!0),this.hScrollPolicy=(0,e.getStringOption)(Oe.hScrollPolicy,["auto","off","on"]),this.id=Oe.id||"",this.picker=(0,e.getStringOption)(Oe.picker,["host","none"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){const ft=(0,z.toStyle)(this,"border","font","margin"),yr=this[R.$getParent]()[R.$getParent](),lr={name:"input",attributes:{type:"text",fieldId:yr[R.$uid],dataId:yr[R.$data]&&yr[R.$data][R.$uid]||yr[R.$uid],class:["xfaTextfield"],style:ft,"aria-label":Ce(yr),"aria-required":!1}};return fe(yr)&&(lr.attributes["aria-required"]=!0,lr.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[lr]})}}class bt extends R.ContentObject{constructor(Oe){super(X,"decimal"),this.fracDigits=(0,e.getInteger)({data:Oe.fracDigits,defaultValue:2,validate:ft=>!0}),this.id=Oe.id||"",this.leadDigits=(0,e.getInteger)({data:Oe.leadDigits,defaultValue:-1,validate:ft=>!0}),this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=parseFloat(this[R.$content].trim());this[R.$content]=isNaN(Oe)?null:Oe}[R.$toHTML](Oe){return pe(this[R.$content]!==null?this[R.$content].toString():"")}}class pt extends R.XFAObject{constructor(Oe){super(X,"defaultUi",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}}class wt extends R.XFAObject{constructor(Oe){super(X,"desc",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.boolean=new R.XFAObjectArray,this.date=new R.XFAObjectArray,this.dateTime=new R.XFAObjectArray,this.decimal=new R.XFAObjectArray,this.exData=new R.XFAObjectArray,this.float=new R.XFAObjectArray,this.image=new R.XFAObjectArray,this.integer=new R.XFAObjectArray,this.text=new R.XFAObjectArray,this.time=new R.XFAObjectArray}}class Pt extends R.OptionObject{constructor(Oe){super(X,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Nt extends R.XFAObject{constructor(Oe){super(X,"digestMethods",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.digestMethod=new R.XFAObjectArray}}class Vt extends R.XFAObject{constructor(Oe){super(X,"draw",!0),this.anchorType=(0,e.getStringOption)(Oe.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,e.getInteger)({data:Oe.colSpan,defaultValue:1,validate:ft=>ft>=1||ft===-1}),this.h=Oe.h?(0,e.getMeasurement)(Oe.h):"",this.hAlign=(0,e.getStringOption)(Oe.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=Oe.id||"",this.locale=Oe.locale||"",this.maxH=(0,e.getMeasurement)(Oe.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(Oe.maxW,"0pt"),this.minH=(0,e.getMeasurement)(Oe.minH,"0pt"),this.minW=(0,e.getMeasurement)(Oe.minW,"0pt"),this.name=Oe.name||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.rotate=(0,e.getInteger)({data:Oe.rotate,defaultValue:0,validate:ft=>ft%90===0}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.w=Oe.w?(0,e.getMeasurement)(Oe.w):"",this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.assist=null,this.border=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.value=null,this.setProperty=new R.XFAObjectArray}[R.$setValue](Oe){ke(this,Oe)}[R.$toHTML](Oe){if(ve(this),this.presence==="hidden"||this.presence==="inactive")return e.HTMLResult.EMPTY;(0,z.fixDimensions)(this),this[R.$pushPara]();const ft=this.w,yr=this.h,{w:lr,h:qr,isBroken:sn}=(0,z.layoutNode)(this,Oe);if(lr&&this.w===""){if(sn&&this[R.$getSubformParent]()[R.$isThereMoreWidth]())return this[R.$popPara](),e.HTMLResult.FAILURE;this.w=lr}if(qr&&this.h===""&&(this.h=qr),_e(this),!(0,K.checkDimensions)(this,Oe))return this.w=ft,this.h=yr,this[R.$popPara](),e.HTMLResult.FAILURE;Ge(this);const Kr=(0,z.toStyle)(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");(0,z.setMinMaxDimensions)(this,Kr),Kr.margin&&(Kr.padding=Kr.margin,delete Kr.margin);const on=["xfaDraw"];this.font&&on.push("xfaFont"),(0,z.isPrintOnly)(this)&&on.push("xfaPrintOnly");const bn={style:Kr,id:this[R.$uid],class:on};this.name&&(bn.xfaName=this.name);const Dn={name:"div",attributes:bn,children:[]};ye(this,bn);const zn=(0,z.computeBbox)(this,Dn,Oe),Bn=this.value?this.value[R.$toHTML](Oe).html:null;return Bn===null?(this.w=ft,this.h=yr,this[R.$popPara](),e.HTMLResult.success((0,z.createWrapper)(this,Dn),zn)):(Dn.children.push(Bn),(0,z.setPara)(this,Kr,Bn),this.w=ft,this.h=yr,this[R.$popPara](),e.HTMLResult.success((0,z.createWrapper)(this,Dn),zn))}}class Wt extends R.XFAObject{constructor(Oe){super(X,"edge",!0),this.cap=(0,e.getStringOption)(Oe.cap,["square","butt","round"]),this.id=Oe.id||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.stroke=(0,e.getStringOption)(Oe.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=(0,e.getMeasurement)(Oe.thickness,"0.5pt"),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](){const Oe=(0,z.toStyle)(this,"visibility");if(Object.assign(Oe,{linecap:this.cap,width:(0,z.measureToString)(this.thickness),color:this.color?this.color[R.$toStyle]():"#000000",style:""}),this.presence!=="visible")Oe.style="none";else switch(this.stroke){case"solid":Oe.style="solid";break;case"dashDot":Oe.style="dashed";break;case"dashDotDot":Oe.style="dashed";break;case"dashed":Oe.style="dashed";break;case"dotted":Oe.style="dotted";break;case"embossed":Oe.style="ridge";break;case"etched":Oe.style="groove";break;case"lowered":Oe.style="inset";break;case"raised":Oe.style="outset";break}return Oe}}class Mt extends R.OptionObject{constructor(Oe){super(X,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class $t extends R.XFAObject{constructor(Oe){super(X,"encodings",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.encoding=new R.XFAObjectArray}}class Yt extends R.XFAObject{constructor(Oe){super(X,"encrypt",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.certificate=null}}class Ft extends R.XFAObject{constructor(Oe){super(X,"encryptData",!0),this.id=Oe.id||"",this.operation=(0,e.getStringOption)(Oe.operation,["encrypt","decrypt"]),this.target=Oe.target||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.filter=null,this.manifest=null}}class Jt extends R.XFAObject{constructor(Oe){super(X,"encryption",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.certificate=new R.XFAObjectArray}}class er extends R.OptionObject{constructor(Oe){super(X,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Bt extends R.XFAObject{constructor(Oe){super(X,"encryptionMethods",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.encryptionMethod=new R.XFAObjectArray}}class It extends R.XFAObject{constructor(Oe){super(X,"event",!0),this.activity=(0,e.getStringOption)(Oe.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),this.id=Oe.id||"",this.listen=(0,e.getStringOption)(Oe.listen,["refOnly","refAndDescendents"]),this.name=Oe.name||"",this.ref=Oe.ref||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.encryptData=null,this.execute=null,this.script=null,this.signData=null,this.submit=null}}class Dt extends R.ContentObject{constructor(Oe){super(X,"exData"),this.contentType=Oe.contentType||"",this.href=Oe.href||"",this.id=Oe.id||"",this.maxLength=(0,e.getInteger)({data:Oe.maxLength,defaultValue:-1,validate:ft=>ft>=-1}),this.name=Oe.name||"",this.rid=Oe.rid||"",this.transferEncoding=(0,e.getStringOption)(Oe.transferEncoding,["none","base64","package"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$isCDATAXml](){return this.contentType==="text/html"}[R.$onChild](Oe){return this.contentType==="text/html"&&Oe[R.$namespaceId]===U.NamespaceIds.xhtml.id?(this[R.$content]=Oe,!0):this.contentType==="text/xml"?(this[R.$content]=Oe,!0):!1}[R.$toHTML](Oe){return this.contentType!=="text/html"||!this[R.$content]?e.HTMLResult.EMPTY:this[R.$content][R.$toHTML](Oe)}}class Zt extends R.XFAObject{constructor(Oe){super(X,"exObject",!0),this.archive=Oe.archive||"",this.classId=Oe.classId||"",this.codeBase=Oe.codeBase||"",this.codeType=Oe.codeType||"",this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.boolean=new R.XFAObjectArray,this.date=new R.XFAObjectArray,this.dateTime=new R.XFAObjectArray,this.decimal=new R.XFAObjectArray,this.exData=new R.XFAObjectArray,this.exObject=new R.XFAObjectArray,this.float=new R.XFAObjectArray,this.image=new R.XFAObjectArray,this.integer=new R.XFAObjectArray,this.text=new R.XFAObjectArray,this.time=new R.XFAObjectArray}}class gr extends R.XFAObject{constructor(Oe){super(X,"exclGroup",!0),this.access=(0,e.getStringOption)(Oe.access,["open","nonInteractive","protected","readOnly"]),this.accessKey=Oe.accessKey||"",this.anchorType=(0,e.getStringOption)(Oe.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,e.getInteger)({data:Oe.colSpan,defaultValue:1,validate:ft=>ft>=1||ft===-1}),this.h=Oe.h?(0,e.getMeasurement)(Oe.h):"",this.hAlign=(0,e.getStringOption)(Oe.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=Oe.id||"",this.layout=(0,e.getStringOption)(Oe.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.maxH=(0,e.getMeasurement)(Oe.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(Oe.maxW,"0pt"),this.minH=(0,e.getMeasurement)(Oe.minH,"0pt"),this.minW=(0,e.getMeasurement)(Oe.minW,"0pt"),this.name=Oe.name||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.w=Oe.w?(0,e.getMeasurement)(Oe.w):"",this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.margin=null,this.para=null,this.traversal=null,this.validate=null,this.connect=new R.XFAObjectArray,this.event=new R.XFAObjectArray,this.field=new R.XFAObjectArray,this.setProperty=new R.XFAObjectArray}[R.$isBindable](){return!0}[R.$hasSettableValue](){return!0}[R.$setValue](Oe){for(const ft of this.field.children){if(!ft.value){const yr=new Ai({});ft[R.$appendChild](yr),ft.value=yr}ft.value[R.$setValue](Oe)}}[R.$isThereMoreWidth](){return this.layout.endsWith("-tb")&&this[R.$extra].attempt===0&&this[R.$extra].numberInLine>0||this[R.$getParent]()[R.$isThereMoreWidth]()}[R.$isSplittable](){const Oe=this[R.$getSubformParent]();return Oe[R.$isSplittable]()?this[R.$extra]._isSplittable!==void 0?this[R.$extra]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[R.$extra]._isSplittable=!1,!1):Oe.layout&&Oe.layout.endsWith("-tb")&&Oe[R.$extra].numberInLine!==0?!1:(this[R.$extra]._isSplittable=!0,!0):!1}[R.$flushHTML](){return(0,K.flushHTML)(this)}[R.$addHTML](Oe,ft){(0,K.addHTML)(this,Oe,ft)}[R.$getAvailableSpace](){return(0,K.getAvailableSpace)(this)}[R.$toHTML](Oe){if(ve(this),this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return e.HTMLResult.EMPTY;(0,z.fixDimensions)(this);const ft=[],yr={id:this[R.$uid],class:[]};(0,z.setAccess)(this,yr.class),this[R.$extra]||(this[R.$extra]=Object.create(null)),Object.assign(this[R.$extra],{children:ft,attributes:yr,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,Oe.width),height:Math.min(this.h||1/0,Oe.height)},width:0,height:0,prevHeight:0,currentWidth:0});const lr=this[R.$isSplittable]();if(lr||_e(this),!(0,K.checkDimensions)(this,Oe))return e.HTMLResult.FAILURE;const qr=new Set(["field"]);if(this.layout.includes("row")){const Sn=this[R.$getSubformParent]().columnWidths;Array.isArray(Sn)&&Sn.length>0&&(this[R.$extra].columnWidths=Sn,this[R.$extra].currentColumn=0)}const sn=(0,z.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),Kr=["xfaExclgroup"],on=(0,z.layoutClass)(this);on&&Kr.push(on),(0,z.isPrintOnly)(this)&&Kr.push("xfaPrintOnly"),yr.style=sn,yr.class=Kr,this.name&&(yr.xfaName=this.name),this[R.$pushPara]();const bn=this.layout==="lr-tb"||this.layout==="rl-tb",Dn=bn?L:1;for(;this[R.$extra].attemptft>=1||ft===-1}),this.h=Oe.h?(0,e.getMeasurement)(Oe.h):"",this.hAlign=(0,e.getStringOption)(Oe.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=Oe.id||"",this.locale=Oe.locale||"",this.maxH=(0,e.getMeasurement)(Oe.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(Oe.maxW,"0pt"),this.minH=(0,e.getMeasurement)(Oe.minH,"0pt"),this.minW=(0,e.getMeasurement)(Oe.minW,"0pt"),this.name=Oe.name||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.rotate=(0,e.getInteger)({data:Oe.rotate,defaultValue:0,validate:ft=>ft%90===0}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.w=Oe.w?(0,e.getMeasurement)(Oe.w):"",this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.format=null,this.items=new R.XFAObjectArray(2),this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.validate=null,this.value=null,this.bindItems=new R.XFAObjectArray,this.connect=new R.XFAObjectArray,this.event=new R.XFAObjectArray,this.setProperty=new R.XFAObjectArray}[R.$isBindable](){return!0}[R.$setValue](Oe){ke(this,Oe)}[R.$toHTML](Oe){if(ve(this),!this.ui){this.ui=new Ir({}),this.ui[R.$globalData]=this[R.$globalData],this[R.$appendChild](this.ui);let Sn;switch(this.items.children.length){case 0:Sn=new pa({}),this.ui.textEdit=Sn;break;case 1:Sn=new ot({}),this.ui.checkButton=Sn;break;case 2:Sn=new st({}),this.ui.choiceList=Sn;break}this.ui[R.$appendChild](Sn)}if(!this.ui||this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return e.HTMLResult.EMPTY;this.caption&&delete this.caption[R.$extra],this[R.$pushPara]();const ft=this.caption?this.caption[R.$toHTML](Oe).html:null,yr=this.w,lr=this.h;let qr=0,sn=0;this.margin&&(qr=this.margin.leftInset+this.margin.rightInset,sn=this.margin.topInset+this.margin.bottomInset);let Kr=null;if(this.w===""||this.h===""){let Sn=null,In=null,vn=0,Cn=0;if(this.ui.checkButton)vn=Cn=this.ui.checkButton.size;else{const{w:Ti,h:vi}=(0,z.layoutNode)(this,Oe);Ti!==null?(vn=Ti,Cn=vi):Cn=(0,ie.getMetrics)(this.font,!0).lineNoGap}if(Kr=me(this.ui[R.$getExtra]()),vn+=Kr.w,Cn+=Kr.h,this.caption){const{w:Ti,h:vi,isBroken:Hn}=this.caption[R.$getExtra](Oe);if(Hn&&this[R.$getSubformParent]()[R.$isThereMoreWidth]())return this[R.$popPara](),e.HTMLResult.FAILURE;switch(Sn=Ti,In=vi,this.caption.placement){case"left":case"right":case"inline":Sn+=vn;break;case"top":case"bottom":In+=Cn;break}}else Sn=vn,In=Cn;Sn&&this.w===""&&(Sn+=qr,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1ft>=1&&ft<=5}),this.appearanceFilter=null,this.certificates=null,this.digestMethods=null,this.encodings=null,this.encryptionMethods=null,this.handler=null,this.lockDocument=null,this.mdp=null,this.reasons=null,this.timeStamp=null}}class yt extends R.ContentObject{constructor(Oe){super(X,"float"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=parseFloat(this[R.$content].trim());this[R.$content]=isNaN(Oe)?null:Oe}[R.$toHTML](Oe){return pe(this[R.$content]!==null?this[R.$content].toString():"")}}class vt extends R.XFAObject{constructor(Oe){super(X,"font",!0),this.baselineShift=(0,e.getMeasurement)(Oe.baselineShift),this.fontHorizontalScale=(0,e.getFloat)({data:Oe.fontHorizontalScale,defaultValue:100,validate:ft=>ft>=0}),this.fontVerticalScale=(0,e.getFloat)({data:Oe.fontVerticalScale,defaultValue:100,validate:ft=>ft>=0}),this.id=Oe.id||"",this.kerningMode=(0,e.getStringOption)(Oe.kerningMode,["none","pair"]),this.letterSpacing=(0,e.getMeasurement)(Oe.letterSpacing,"0"),this.lineThrough=(0,e.getInteger)({data:Oe.lineThrough,defaultValue:0,validate:ft=>ft===1||ft===2}),this.lineThroughPeriod=(0,e.getStringOption)(Oe.lineThroughPeriod,["all","word"]),this.overline=(0,e.getInteger)({data:Oe.overline,defaultValue:0,validate:ft=>ft===1||ft===2}),this.overlinePeriod=(0,e.getStringOption)(Oe.overlinePeriod,["all","word"]),this.posture=(0,e.getStringOption)(Oe.posture,["normal","italic"]),this.size=(0,e.getMeasurement)(Oe.size,"10pt"),this.typeface=Oe.typeface||"Courier",this.underline=(0,e.getInteger)({data:Oe.underline,defaultValue:0,validate:ft=>ft===1||ft===2}),this.underlinePeriod=(0,e.getStringOption)(Oe.underlinePeriod,["all","word"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.weight=(0,e.getStringOption)(Oe.weight,["normal","bold"]),this.extras=null,this.fill=null}[R.$clean](Oe){super[R.$clean](Oe),this[R.$globalData].usedTypefaces.add(this.typeface)}[R.$toStyle](){const Oe=(0,z.toStyle)(this,"fill"),ft=Oe.color;return ft&&(ft==="#000000"?delete Oe.color:ft.startsWith("#")||(Oe.background=ft,Oe.backgroundClip="text",Oe.color="transparent")),this.baselineShift&&(Oe.verticalAlign=(0,z.measureToString)(this.baselineShift)),Oe.fontKerning=this.kerningMode==="none"?"none":"normal",Oe.letterSpacing=(0,z.measureToString)(this.letterSpacing),this.lineThrough!==0&&(Oe.textDecoration="line-through",this.lineThrough===2&&(Oe.textDecorationStyle="double")),this.overline!==0&&(Oe.textDecoration="overline",this.overline===2&&(Oe.textDecorationStyle="double")),Oe.fontStyle=this.posture,Oe.fontSize=(0,z.measureToString)(.99*this.size),(0,z.setFontFamily)(this,this,this[R.$globalData].fontFinder,Oe),this.underline!==0&&(Oe.textDecoration="underline",this.underline===2&&(Oe.textDecorationStyle="double")),Oe.fontWeight=this.weight,Oe}}class Xt extends R.XFAObject{constructor(Oe){super(X,"format",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.picture=null}}class At extends R.StringObject{constructor(Oe){super(X,"handler"),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class zt extends R.XFAObject{constructor(Oe){super(X,"hyphenation"),this.excludeAllCaps=(0,e.getInteger)({data:Oe.excludeAllCaps,defaultValue:0,validate:ft=>ft===1}),this.excludeInitialCap=(0,e.getInteger)({data:Oe.excludeInitialCap,defaultValue:0,validate:ft=>ft===1}),this.hyphenate=(0,e.getInteger)({data:Oe.hyphenate,defaultValue:0,validate:ft=>ft===1}),this.id=Oe.id||"",this.pushCharacterCount=(0,e.getInteger)({data:Oe.pushCharacterCount,defaultValue:3,validate:ft=>ft>=0}),this.remainCharacterCount=(0,e.getInteger)({data:Oe.remainCharacterCount,defaultValue:3,validate:ft=>ft>=0}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.wordCharacterCount=(0,e.getInteger)({data:Oe.wordCharacterCount,defaultValue:7,validate:ft=>ft>=0})}}class Br extends R.StringObject{constructor(Oe){super(X,"image"),this.aspect=(0,e.getStringOption)(Oe.aspect,["fit","actual","height","none","width"]),this.contentType=Oe.contentType||"",this.href=Oe.href||"",this.id=Oe.id||"",this.name=Oe.name||"",this.transferEncoding=(0,e.getStringOption)(Oe.transferEncoding,["base64","none","package"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$toHTML](){if(this.contentType&&!oe.has(this.contentType.toLowerCase()))return e.HTMLResult.EMPTY;let Oe=this[R.$globalData].images&&this[R.$globalData].images.get(this.href);if(!Oe&&(this.href||!this[R.$content])||(!Oe&&this.transferEncoding==="base64"&&(Oe=(0,ae.stringToBytes)(atob(this[R.$content]))),!Oe))return e.HTMLResult.EMPTY;if(!this.contentType){for(const[qr,sn]of se)if(Oe.length>qr.length&&qr.every((Kr,on)=>Kr===Oe[on])){this.contentType=sn;break}if(!this.contentType)return e.HTMLResult.EMPTY}const ft=new Blob([Oe],{type:this.contentType});let yr;switch(this.aspect){case"fit":case"actual":break;case"height":yr={height:"100%",objectFit:"fill"};break;case"none":yr={width:"100%",height:"100%",objectFit:"fill"};break;case"width":yr={width:"100%",objectFit:"fill"};break}const lr=this[R.$getParent]();return e.HTMLResult.success({name:"img",attributes:{class:["xfaImage"],style:yr,src:URL.createObjectURL(ft),alt:lr?Ce(lr[R.$getParent]()):null}})}}class br extends R.XFAObject{constructor(Oe){super(X,"imageEdit",!0),this.data=(0,e.getStringOption)(Oe.data,["link","embed"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){return this.data==="embed"?e.HTMLResult.success({name:"div",children:[],attributes:{}}):e.HTMLResult.EMPTY}}class Ur extends R.ContentObject{constructor(Oe){super(X,"integer"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=parseInt(this[R.$content].trim(),10);this[R.$content]=isNaN(Oe)?null:Oe}[R.$toHTML](Oe){return pe(this[R.$content]!==null?this[R.$content].toString():"")}}class un extends R.XFAObject{constructor(Oe){super(X,"issuers",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.certificate=new R.XFAObjectArray}}class sr extends R.XFAObject{constructor(Oe){super(X,"items",!0),this.id=Oe.id||"",this.name=Oe.name||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.ref=Oe.ref||"",this.save=(0,e.getInteger)({data:Oe.save,defaultValue:0,validate:ft=>ft===1}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.boolean=new R.XFAObjectArray,this.date=new R.XFAObjectArray,this.dateTime=new R.XFAObjectArray,this.decimal=new R.XFAObjectArray,this.exData=new R.XFAObjectArray,this.float=new R.XFAObjectArray,this.image=new R.XFAObjectArray,this.integer=new R.XFAObjectArray,this.text=new R.XFAObjectArray,this.time=new R.XFAObjectArray}[R.$toHTML](){const Oe=[];for(const ft of this[R.$getChildren]())Oe.push(ft[R.$text]());return e.HTMLResult.success(Oe)}}D.Items=sr;class ur extends R.XFAObject{constructor(Oe){super(X,"keep",!0),this.id=Oe.id||"";const ft=["none","contentArea","pageArea"];this.intact=(0,e.getStringOption)(Oe.intact,ft),this.next=(0,e.getStringOption)(Oe.next,ft),this.previous=(0,e.getStringOption)(Oe.previous,ft),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}}class Cr extends R.XFAObject{constructor(Oe){super(X,"keyUsage");const ft=["","yes","no"];this.crlSign=(0,e.getStringOption)(Oe.crlSign,ft),this.dataEncipherment=(0,e.getStringOption)(Oe.dataEncipherment,ft),this.decipherOnly=(0,e.getStringOption)(Oe.decipherOnly,ft),this.digitalSignature=(0,e.getStringOption)(Oe.digitalSignature,ft),this.encipherOnly=(0,e.getStringOption)(Oe.encipherOnly,ft),this.id=Oe.id||"",this.keyAgreement=(0,e.getStringOption)(Oe.keyAgreement,ft),this.keyCertSign=(0,e.getStringOption)(Oe.keyCertSign,ft),this.keyEncipherment=(0,e.getStringOption)(Oe.keyEncipherment,ft),this.nonRepudiation=(0,e.getStringOption)(Oe.nonRepudiation,ft),this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Tr extends R.XFAObject{constructor(Oe){super(X,"line",!0),this.hand=(0,e.getStringOption)(Oe.hand,["even","left","right"]),this.id=Oe.id||"",this.slope=(0,e.getStringOption)(Oe.slope,["\\","/"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.edge=null}[R.$toHTML](){const Oe=this[R.$getParent]()[R.$getParent](),ft=this.edge||new Wt({}),yr=ft[R.$toStyle](),lr=Object.create(null),qr=ft.presence==="visible"?ft.thickness:0;lr.strokeWidth=(0,z.measureToString)(qr),lr.stroke=yr.color;let sn,Kr,on,bn,Dn="100%",zn="100%";Oe.w<=qr?([sn,Kr,on,bn]=["50%",0,"50%","100%"],Dn=lr.strokeWidth):Oe.h<=qr?([sn,Kr,on,bn]=[0,"50%","100%","50%"],zn=lr.strokeWidth):this.slope==="\\"?[sn,Kr,on,bn]=[0,0,"100%","100%"]:[sn,Kr,on,bn]=[0,"100%","100%",0];const kn={name:"svg",children:[{name:"line",attributes:{xmlns:W,x1:sn,y1:Kr,x2:on,y2:bn,style:lr}}],attributes:{xmlns:W,width:Dn,height:zn,style:{overflow:"visible"}}};return Ee(Oe)?e.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[kn]}):(kn.attributes.style.position="absolute",e.HTMLResult.success(kn))}}class jt extends R.XFAObject{constructor(Oe){super(X,"linear",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["toRight","toBottom","toLeft","toTop"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](Oe){Oe=Oe?Oe[R.$toStyle]():"#FFFFFF";const ft=this.type.replace(/([RBLT])/," $1").toLowerCase(),yr=this.color?this.color[R.$toStyle]():"#000000";return`linear-gradient(${ft}, ${Oe}, ${yr})`}}class Wr extends R.ContentObject{constructor(Oe){super(X,"lockDocument"),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){this[R.$content]=(0,e.getStringOption)(this[R.$content],["auto","0","1"])}}class ir extends R.XFAObject{constructor(Oe){super(X,"manifest",!0),this.action=(0,e.getStringOption)(Oe.action,["include","all","exclude"]),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.ref=new R.XFAObjectArray}}class Gr extends R.XFAObject{constructor(Oe){super(X,"margin",!0),this.bottomInset=(0,e.getMeasurement)(Oe.bottomInset,"0"),this.id=Oe.id||"",this.leftInset=(0,e.getMeasurement)(Oe.leftInset,"0"),this.rightInset=(0,e.getMeasurement)(Oe.rightInset,"0"),this.topInset=(0,e.getMeasurement)(Oe.topInset,"0"),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}[R.$toStyle](){return{margin:(0,z.measureToString)(this.topInset)+" "+(0,z.measureToString)(this.rightInset)+" "+(0,z.measureToString)(this.bottomInset)+" "+(0,z.measureToString)(this.leftInset)}}}class Jr extends R.XFAObject{constructor(Oe){super(X,"mdp"),this.id=Oe.id||"",this.permissions=(0,e.getInteger)({data:Oe.permissions,defaultValue:2,validate:ft=>ft===1||ft===3}),this.signatureType=(0,e.getStringOption)(Oe.signatureType,["filler","author"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Xr extends R.XFAObject{constructor(Oe){super(X,"medium"),this.id=Oe.id||"",this.imagingBBox=(0,e.getBBox)(Oe.imagingBBox),this.long=(0,e.getMeasurement)(Oe.long),this.orientation=(0,e.getStringOption)(Oe.orientation,["portrait","landscape"]),this.short=(0,e.getMeasurement)(Oe.short),this.stock=Oe.stock||"",this.trayIn=(0,e.getStringOption)(Oe.trayIn,["auto","delegate","pageFront"]),this.trayOut=(0,e.getStringOption)(Oe.trayOut,["auto","delegate"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class fn extends R.XFAObject{constructor(Oe){super(X,"message",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.text=new R.XFAObjectArray}}class cn extends R.XFAObject{constructor(Oe){super(X,"numericEdit",!0),this.hScrollPolicy=(0,e.getStringOption)(Oe.hScrollPolicy,["auto","off","on"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){const ft=(0,z.toStyle)(this,"border","font","margin"),yr=this[R.$getParent]()[R.$getParent](),lr={name:"input",attributes:{type:"text",fieldId:yr[R.$uid],dataId:yr[R.$data]&&yr[R.$data][R.$uid]||yr[R.$uid],class:["xfaTextfield"],style:ft,"aria-label":Ce(yr),"aria-required":!1}};return fe(yr)&&(lr.attributes["aria-required"]=!0,lr.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[lr]})}}class nn extends R.XFAObject{constructor(Oe){super(X,"occur",!0),this.id=Oe.id||"",this.initial=Oe.initial!==""?(0,e.getInteger)({data:Oe.initial,defaultValue:"",validate:ft=>!0}):"",this.max=Oe.max!==""?(0,e.getInteger)({data:Oe.max,defaultValue:1,validate:ft=>!0}):"",this.min=Oe.min!==""?(0,e.getInteger)({data:Oe.min,defaultValue:1,validate:ft=>!0}):"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}[R.$clean](){const Oe=this[R.$getParent](),ft=this.min;this.min===""&&(this.min=Oe instanceof Rr||Oe instanceof Mr?0:1),this.max===""&&(ft===""?this.max=Oe instanceof Rr||Oe instanceof Mr?-1:1:this.max=this.min),this.max!==-1&&this.max!0}),this.name=Oe.name||"",this.numbered=(0,e.getInteger)({data:Oe.numbered,defaultValue:1,validate:ft=>!0}),this.oddOrEven=(0,e.getStringOption)(Oe.oddOrEven,["any","even","odd"]),this.pagePosition=(0,e.getStringOption)(Oe.pagePosition,["any","first","last","only","rest"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.desc=null,this.extras=null,this.medium=null,this.occur=null,this.area=new R.XFAObjectArray,this.contentArea=new R.XFAObjectArray,this.draw=new R.XFAObjectArray,this.exclGroup=new R.XFAObjectArray,this.field=new R.XFAObjectArray,this.subform=new R.XFAObjectArray}[R.$isUsable](){return this[R.$extra]?!this.occur||this.occur.max===-1||this[R.$extra].numberOfUseqr.oddOrEven===ft&&qr.pagePosition===yr);return lr||(lr=this.pageArea.children.find(qr=>qr.oddOrEven==="any"&&qr.pagePosition===yr),lr)||(lr=this.pageArea.children.find(qr=>qr.oddOrEven==="any"&&qr.pagePosition==="any"),lr)?lr:this.pageArea.children[0]}}class an extends R.XFAObject{constructor(Oe){super(X,"para",!0),this.hAlign=(0,e.getStringOption)(Oe.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=Oe.id||"",this.lineHeight=Oe.lineHeight?(0,e.getMeasurement)(Oe.lineHeight,"0pt"):"",this.marginLeft=Oe.marginLeft?(0,e.getMeasurement)(Oe.marginLeft,"0pt"):"",this.marginRight=Oe.marginRight?(0,e.getMeasurement)(Oe.marginRight,"0pt"):"",this.orphans=(0,e.getInteger)({data:Oe.orphans,defaultValue:0,validate:ft=>ft>=0}),this.preserve=Oe.preserve||"",this.radixOffset=Oe.radixOffset?(0,e.getMeasurement)(Oe.radixOffset,"0pt"):"",this.spaceAbove=Oe.spaceAbove?(0,e.getMeasurement)(Oe.spaceAbove,"0pt"):"",this.spaceBelow=Oe.spaceBelow?(0,e.getMeasurement)(Oe.spaceBelow,"0pt"):"",this.tabDefault=Oe.tabDefault?(0,e.getMeasurement)(this.tabDefault):"",this.tabStops=(Oe.tabStops||"").trim().split(/\s+/).map((ft,yr)=>yr%2===1?(0,e.getMeasurement)(ft):ft),this.textIndent=Oe.textIndent?(0,e.getMeasurement)(Oe.textIndent,"0pt"):"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.vAlign=(0,e.getStringOption)(Oe.vAlign,["top","bottom","middle"]),this.widows=(0,e.getInteger)({data:Oe.widows,defaultValue:0,validate:ft=>ft>=0}),this.hyphenation=null}[R.$toStyle](){const Oe=(0,z.toStyle)(this,"hAlign");return this.marginLeft!==""&&(Oe.paddingLeft=(0,z.measureToString)(this.marginLeft)),this.marginRight!==""&&(Oe.paddingight=(0,z.measureToString)(this.marginRight)),this.spaceAbove!==""&&(Oe.paddingTop=(0,z.measureToString)(this.spaceAbove)),this.spaceBelow!==""&&(Oe.paddingBottom=(0,z.measureToString)(this.spaceBelow)),this.textIndent!==""&&(Oe.textIndent=(0,z.measureToString)(this.textIndent),(0,z.fixTextIndent)(Oe)),this.lineHeight>0&&(Oe.lineHeight=(0,z.measureToString)(this.lineHeight)),this.tabDefault!==""&&(Oe.tabSize=(0,z.measureToString)(this.tabDefault)),this.tabStops.length>0,this.hyphenatation&&Object.assign(Oe,this.hyphenatation[R.$toStyle]()),Oe}}class gn extends R.XFAObject{constructor(Oe){super(X,"passwordEdit",!0),this.hScrollPolicy=(0,e.getStringOption)(Oe.hScrollPolicy,["auto","off","on"]),this.id=Oe.id||"",this.passwordChar=Oe.passwordChar||"*",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.extras=null,this.margin=null}}class dn extends R.XFAObject{constructor(Oe){super(X,"pattern",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](Oe){Oe=Oe?Oe[R.$toStyle]():"#FFFFFF";const ft=this.color?this.color[R.$toStyle]():"#000000",yr=5,lr="repeating-linear-gradient",qr=`${Oe},${Oe} ${yr}px,${ft} ${yr}px,${ft} ${2*yr}px`;switch(this.type){case"crossHatch":return`${lr}(to top,${qr}) ${lr}(to right,${qr})`;case"crossDiagonal":return`${lr}(45deg,${qr}) ${lr}(-45deg,${qr})`;case"diagonalLeft":return`${lr}(45deg,${qr})`;case"diagonalRight":return`${lr}(-45deg,${qr})`;case"horizontal":return`${lr}(to top,${qr})`;case"vertical":return`${lr}(to right,${qr})`}return""}}class pn extends R.StringObject{constructor(Oe){super(X,"picture"),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Mn extends R.XFAObject{constructor(Oe){super(X,"proto",!0),this.appearanceFilter=new R.XFAObjectArray,this.arc=new R.XFAObjectArray,this.area=new R.XFAObjectArray,this.assist=new R.XFAObjectArray,this.barcode=new R.XFAObjectArray,this.bindItems=new R.XFAObjectArray,this.bookend=new R.XFAObjectArray,this.boolean=new R.XFAObjectArray,this.border=new R.XFAObjectArray,this.break=new R.XFAObjectArray,this.breakAfter=new R.XFAObjectArray,this.breakBefore=new R.XFAObjectArray,this.button=new R.XFAObjectArray,this.calculate=new R.XFAObjectArray,this.caption=new R.XFAObjectArray,this.certificate=new R.XFAObjectArray,this.certificates=new R.XFAObjectArray,this.checkButton=new R.XFAObjectArray,this.choiceList=new R.XFAObjectArray,this.color=new R.XFAObjectArray,this.comb=new R.XFAObjectArray,this.connect=new R.XFAObjectArray,this.contentArea=new R.XFAObjectArray,this.corner=new R.XFAObjectArray,this.date=new R.XFAObjectArray,this.dateTime=new R.XFAObjectArray,this.dateTimeEdit=new R.XFAObjectArray,this.decimal=new R.XFAObjectArray,this.defaultUi=new R.XFAObjectArray,this.desc=new R.XFAObjectArray,this.digestMethod=new R.XFAObjectArray,this.digestMethods=new R.XFAObjectArray,this.draw=new R.XFAObjectArray,this.edge=new R.XFAObjectArray,this.encoding=new R.XFAObjectArray,this.encodings=new R.XFAObjectArray,this.encrypt=new R.XFAObjectArray,this.encryptData=new R.XFAObjectArray,this.encryption=new R.XFAObjectArray,this.encryptionMethod=new R.XFAObjectArray,this.encryptionMethods=new R.XFAObjectArray,this.event=new R.XFAObjectArray,this.exData=new R.XFAObjectArray,this.exObject=new R.XFAObjectArray,this.exclGroup=new R.XFAObjectArray,this.execute=new R.XFAObjectArray,this.extras=new R.XFAObjectArray,this.field=new R.XFAObjectArray,this.fill=new R.XFAObjectArray,this.filter=new R.XFAObjectArray,this.float=new R.XFAObjectArray,this.font=new R.XFAObjectArray,this.format=new R.XFAObjectArray,this.handler=new R.XFAObjectArray,this.hyphenation=new R.XFAObjectArray,this.image=new R.XFAObjectArray,this.imageEdit=new R.XFAObjectArray,this.integer=new R.XFAObjectArray,this.issuers=new R.XFAObjectArray,this.items=new R.XFAObjectArray,this.keep=new R.XFAObjectArray,this.keyUsage=new R.XFAObjectArray,this.line=new R.XFAObjectArray,this.linear=new R.XFAObjectArray,this.lockDocument=new R.XFAObjectArray,this.manifest=new R.XFAObjectArray,this.margin=new R.XFAObjectArray,this.mdp=new R.XFAObjectArray,this.medium=new R.XFAObjectArray,this.message=new R.XFAObjectArray,this.numericEdit=new R.XFAObjectArray,this.occur=new R.XFAObjectArray,this.oid=new R.XFAObjectArray,this.oids=new R.XFAObjectArray,this.overflow=new R.XFAObjectArray,this.pageArea=new R.XFAObjectArray,this.pageSet=new R.XFAObjectArray,this.para=new R.XFAObjectArray,this.passwordEdit=new R.XFAObjectArray,this.pattern=new R.XFAObjectArray,this.picture=new R.XFAObjectArray,this.radial=new R.XFAObjectArray,this.reason=new R.XFAObjectArray,this.reasons=new R.XFAObjectArray,this.rectangle=new R.XFAObjectArray,this.ref=new R.XFAObjectArray,this.script=new R.XFAObjectArray,this.setProperty=new R.XFAObjectArray,this.signData=new R.XFAObjectArray,this.signature=new R.XFAObjectArray,this.signing=new R.XFAObjectArray,this.solid=new R.XFAObjectArray,this.speak=new R.XFAObjectArray,this.stipple=new R.XFAObjectArray,this.subform=new R.XFAObjectArray,this.subformSet=new R.XFAObjectArray,this.subjectDN=new R.XFAObjectArray,this.subjectDNs=new R.XFAObjectArray,this.submit=new R.XFAObjectArray,this.text=new R.XFAObjectArray,this.textEdit=new R.XFAObjectArray,this.time=new R.XFAObjectArray,this.timeStamp=new R.XFAObjectArray,this.toolTip=new R.XFAObjectArray,this.traversal=new R.XFAObjectArray,this.traverse=new R.XFAObjectArray,this.ui=new R.XFAObjectArray,this.validate=new R.XFAObjectArray,this.value=new R.XFAObjectArray,this.variables=new R.XFAObjectArray}}class Yn extends R.XFAObject{constructor(Oe){super(X,"radial",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["toEdge","toCenter"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](Oe){Oe=Oe?Oe[R.$toStyle]():"#FFFFFF";const ft=this.color?this.color[R.$toStyle]():"#000000";return`radial-gradient(circle at center, ${this.type==="toEdge"?`${Oe},${ft}`:`${ft},${Oe}`})`}}class hi extends R.StringObject{constructor(Oe){super(X,"reason"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Ci extends R.XFAObject{constructor(Oe){super(X,"reasons",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.reason=new R.XFAObjectArray}}class da extends R.XFAObject{constructor(Oe){super(X,"rectangle",!0),this.hand=(0,e.getStringOption)(Oe.hand,["even","left","right"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.corner=new R.XFAObjectArray(4),this.edge=new R.XFAObjectArray(4),this.fill=null}[R.$toHTML](){const Oe=this.edge.children.length?this.edge.children[0]:new Wt({}),ft=Oe[R.$toStyle](),yr=Object.create(null);this.fill&&this.fill.presence==="visible"?Object.assign(yr,this.fill[R.$toStyle]()):yr.fill="transparent",yr.strokeWidth=(0,z.measureToString)(Oe.presence==="visible"?Oe.thickness:0),yr.stroke=ft.color;const qr=(this.corner.children.length?this.corner.children[0]:new rt({}))[R.$toStyle](),Kr={name:"svg",children:[{name:"rect",attributes:{xmlns:W,width:"100%",height:"100%",x:0,y:0,rx:qr.radius,ry:qr.radius,style:yr}}],attributes:{xmlns:W,style:{overflow:"visible"},width:"100%",height:"100%"}},on=this[R.$getParent]()[R.$getParent]();return Ee(on)?e.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[Kr]}):(Kr.attributes.style.position="absolute",e.HTMLResult.success(Kr))}}class ra extends R.StringObject{constructor(Oe){super(X,"ref"),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Ri extends R.StringObject{constructor(Oe){super(X,"script"),this.binding=Oe.binding||"",this.contentType=Oe.contentType||"",this.id=Oe.id||"",this.name=Oe.name||"",this.runAt=(0,e.getStringOption)(Oe.runAt,["client","both","server"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class oi extends R.XFAObject{constructor(Oe){super(X,"setProperty"),this.connection=Oe.connection||"",this.ref=Oe.ref||"",this.target=Oe.target||""}}D.SetProperty=oi;class mi extends R.XFAObject{constructor(Oe){super(X,"signData",!0),this.id=Oe.id||"",this.operation=(0,e.getStringOption)(Oe.operation,["sign","clear","verify"]),this.ref=Oe.ref||"",this.target=Oe.target||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.filter=null,this.manifest=null}}class Ia extends R.XFAObject{constructor(Oe){super(X,"signature",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["PDF1.3","PDF1.6"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.extras=null,this.filter=null,this.manifest=null,this.margin=null}}class ha extends R.XFAObject{constructor(Oe){super(X,"signing",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.certificate=new R.XFAObjectArray}}class ka extends R.XFAObject{constructor(Oe){super(X,"solid",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}[R.$toStyle](Oe){return Oe?Oe[R.$toStyle]():"#FFFFFF"}}class na extends R.StringObject{constructor(Oe){super(X,"speak"),this.disable=(0,e.getInteger)({data:Oe.disable,defaultValue:0,validate:ft=>ft===1}),this.id=Oe.id||"",this.priority=(0,e.getStringOption)(Oe.priority,["custom","caption","name","toolTip"]),this.rid=Oe.rid||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Fi extends R.XFAObject{constructor(Oe){super(X,"stipple",!0),this.id=Oe.id||"",this.rate=(0,e.getInteger)({data:Oe.rate,defaultValue:50,validate:ft=>ft>=0&&ft<=100}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](Oe){const ft=this.rate/100;return ae.Util.makeHexColor(Math.round(Oe.value.r*(1-ft)+this.value.r*ft),Math.round(Oe.value.g*(1-ft)+this.value.g*ft),Math.round(Oe.value.b*(1-ft)+this.value.b*ft))}}class Zn extends R.XFAObject{constructor(Oe){super(X,"subform",!0),this.access=(0,e.getStringOption)(Oe.access,["open","nonInteractive","protected","readOnly"]),this.allowMacro=(0,e.getInteger)({data:Oe.allowMacro,defaultValue:0,validate:ft=>ft===1}),this.anchorType=(0,e.getStringOption)(Oe.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,e.getInteger)({data:Oe.colSpan,defaultValue:1,validate:ft=>ft>=1||ft===-1}),this.columnWidths=(Oe.columnWidths||"").trim().split(/\s+/).map(ft=>ft==="-1"?-1:(0,e.getMeasurement)(ft)),this.h=Oe.h?(0,e.getMeasurement)(Oe.h):"",this.hAlign=(0,e.getStringOption)(Oe.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=Oe.id||"",this.layout=(0,e.getStringOption)(Oe.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.locale=Oe.locale||"",this.maxH=(0,e.getMeasurement)(Oe.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(Oe.maxW,"0pt"),this.mergeMode=(0,e.getStringOption)(Oe.mergeMode,["consumeData","matchTemplate"]),this.minH=(0,e.getMeasurement)(Oe.minH,"0pt"),this.minW=(0,e.getMeasurement)(Oe.minW,"0pt"),this.name=Oe.name||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.restoreState=(0,e.getStringOption)(Oe.restoreState,["manual","auto"]),this.scope=(0,e.getStringOption)(Oe.scope,["name","none"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.w=Oe.w?(0,e.getMeasurement)(Oe.w):"",this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.assist=null,this.bind=null,this.bookend=null,this.border=null,this.break=null,this.calculate=null,this.desc=null,this.extras=null,this.keep=null,this.margin=null,this.occur=null,this.overflow=null,this.pageSet=null,this.para=null,this.traversal=null,this.validate=null,this.variables=null,this.area=new R.XFAObjectArray,this.breakAfter=new R.XFAObjectArray,this.breakBefore=new R.XFAObjectArray,this.connect=new R.XFAObjectArray,this.draw=new R.XFAObjectArray,this.event=new R.XFAObjectArray,this.exObject=new R.XFAObjectArray,this.exclGroup=new R.XFAObjectArray,this.field=new R.XFAObjectArray,this.proto=new R.XFAObjectArray,this.setProperty=new R.XFAObjectArray,this.subform=new R.XFAObjectArray,this.subformSet=new R.XFAObjectArray}[R.$getSubformParent](){const Oe=this[R.$getParent]();return Oe instanceof ia?Oe[R.$getSubformParent]():Oe}[R.$isBindable](){return!0}[R.$isThereMoreWidth](){return this.layout.endsWith("-tb")&&this[R.$extra].attempt===0&&this[R.$extra].numberInLine>0||this[R.$getParent]()[R.$isThereMoreWidth]()}*[R.$getContainedChildren](){yield*xe(this)}[R.$flushHTML](){return(0,K.flushHTML)(this)}[R.$addHTML](Oe,ft){(0,K.addHTML)(this,Oe,ft)}[R.$getAvailableSpace](){return(0,K.getAvailableSpace)(this)}[R.$isSplittable](){const Oe=this[R.$getSubformParent]();return Oe[R.$isSplittable]()?this[R.$extra]._isSplittable!==void 0?this[R.$extra]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[R.$extra]._isSplittable=!1,!1):this.keep&&this.keep.intact!=="none"?(this[R.$extra]._isSplittable=!1,!1):Oe.layout&&Oe.layout.endsWith("-tb")&&Oe[R.$extra].numberInLine!==0?!1:(this[R.$extra]._isSplittable=!0,!0):!1}[R.$toHTML](Oe){if(ve(this),this.break){if(this.break.after!=="auto"||this.break.afterTarget!==""){const Cn=new Le({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});Cn[R.$globalData]=this[R.$globalData],this[R.$appendChild](Cn),this.breakAfter.push(Cn)}if(this.break.before!=="auto"||this.break.beforeTarget!==""){const Cn=new et({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});Cn[R.$globalData]=this[R.$globalData],this[R.$appendChild](Cn),this.breakBefore.push(Cn)}if(this.break.overflowTarget!==""){const Cn=new Lr({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});Cn[R.$globalData]=this[R.$globalData],this[R.$appendChild](Cn),this.overflow.push(Cn)}this[R.$removeChild](this.break),this.break=null}if(this.presence==="hidden"||this.presence==="inactive")return e.HTMLResult.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&(0,ae.warn)("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){const Cn=this.breakBefore.children[0];if(Te(Cn))return e.HTMLResult.breakNode(Cn)}if(this[R.$extra]&&this[R.$extra].afterBreakAfter)return e.HTMLResult.EMPTY;(0,z.fixDimensions)(this);const ft=[],yr={id:this[R.$uid],class:[]};(0,z.setAccess)(this,yr.class),this[R.$extra]||(this[R.$extra]=Object.create(null)),Object.assign(this[R.$extra],{children:ft,line:null,attributes:yr,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,Oe.width),height:Math.min(this.h||1/0,Oe.height)},width:0,height:0,prevHeight:0,currentWidth:0});const lr=this[R.$getTemplateRoot](),qr=lr[R.$extra].noLayoutFailure,sn=this[R.$isSplittable]();if(sn||_e(this),!(0,K.checkDimensions)(this,Oe))return e.HTMLResult.FAILURE;const Kr=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){const Cn=this[R.$getSubformParent]().columnWidths;Array.isArray(Cn)&&Cn.length>0&&(this[R.$extra].columnWidths=Cn,this[R.$extra].currentColumn=0)}const on=(0,z.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),bn=["xfaSubform"],Dn=(0,z.layoutClass)(this);if(Dn&&bn.push(Dn),yr.style=on,yr.class=bn,this.name&&(yr.xfaName=this.name),this.overflow){const Cn=this.overflow[R.$getExtra]();Cn.addLeader&&(Cn.addLeader=!1,Ne(this,Cn.leader,Oe))}this[R.$pushPara]();const zn=this.layout==="lr-tb"||this.layout==="rl-tb",Bn=zn?L:1;for(;this[R.$extra].attempt=1){const Cn=this.breakAfter.children[0];if(Te(Cn))return this[R.$extra].afterBreakAfter=vn,e.HTMLResult.breakNode(Cn)}return delete this[R.$extra],vn}}class ia extends R.XFAObject{constructor(Oe){super(X,"subformSet",!0),this.id=Oe.id||"",this.name=Oe.name||"",this.relation=(0,e.getStringOption)(Oe.relation,["ordered","choice","unordered"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.bookend=null,this.break=null,this.desc=null,this.extras=null,this.occur=null,this.overflow=null,this.breakAfter=new R.XFAObjectArray,this.breakBefore=new R.XFAObjectArray,this.subform=new R.XFAObjectArray,this.subformSet=new R.XFAObjectArray}*[R.$getContainedChildren](){yield*xe(this)}[R.$getSubformParent](){let Oe=this[R.$getParent]();for(;!(Oe instanceof Zn);)Oe=Oe[R.$getParent]();return Oe}[R.$isBindable](){return!0}}class Oa extends R.ContentObject{constructor(Oe){super(X,"subjectDN"),this.delimiter=Oe.delimiter||",",this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){this[R.$content]=new Map(this[R.$content].split(this.delimiter).map(Oe=>(Oe=Oe.split("=",2),Oe[0]=Oe[0].trim(),Oe)))}}class aa extends R.XFAObject{constructor(Oe){super(X,"subjectDNs",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.subjectDN=new R.XFAObjectArray}}class Ii extends R.XFAObject{constructor(Oe){super(X,"submit",!0),this.embedPDF=(0,e.getInteger)({data:Oe.embedPDF,defaultValue:0,validate:ft=>ft===1}),this.format=(0,e.getStringOption)(Oe.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),this.id=Oe.id||"",this.target=Oe.target||"",this.textEncoding=(0,e.getKeyword)({data:Oe.textEncoding?Oe.textEncoding.toLowerCase():"",defaultValue:"",validate:ft=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(ft)||ft.match(/iso-8859-\d{2}/)}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.xdpContent=Oe.xdpContent||"",this.encrypt=null,this.encryptData=new R.XFAObjectArray,this.signData=new R.XFAObjectArray}}class fa extends R.XFAObject{constructor(Oe){super(X,"template",!0),this.baseProfile=(0,e.getStringOption)(Oe.baseProfile,["full","interactiveForms"]),this.extras=null,this.subform=new R.XFAObjectArray}[R.$finalize](){this.subform.children.length===0&&(0,ae.warn)("XFA - No subforms in template node."),this.subform.children.length>=2&&(0,ae.warn)("XFA - Several subforms in template node: please file a bug."),this[R.$tabIndex]=ce}[R.$isSplittable](){return!0}[R.$searchNode](Oe,ft){return Oe.startsWith("#")?[this[R.$ids].get(Oe.slice(1))]:(0,J.searchNode)(this,ft,Oe,!0,!0)}*[R.$toPages](){if(!this.subform.children.length)return e.HTMLResult.success({name:"div",children:[]});this[R.$extra]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]};const Oe=this.subform.children[0];Oe.pageSet[R.$cleanPage]();const ft=Oe.pageSet.pageArea.children,yr={name:"div",children:[]};let lr=null,qr=null,sn=null;if(Oe.breakBefore.children.length>=1?(qr=Oe.breakBefore.children[0],sn=qr.target):Oe.subform.children.length>=1&&Oe.subform.children[0].breakBefore.children.length>=1?(qr=Oe.subform.children[0].breakBefore.children[0],sn=qr.target):Oe.break&&Oe.break.beforeTarget?(qr=Oe.break,sn=qr.beforeTarget):Oe.subform.children.length>=1&&Oe.subform.children[0].break&&Oe.subform.children[0].break.beforeTarget&&(qr=Oe.subform.children[0].break,sn=qr.beforeTarget),qr){const Gn=this[R.$searchNode](sn,qr[R.$getParent]());Gn instanceof Rr&&(lr=Gn,qr[R.$extra]={})}lr||(lr=ft[0]),lr[R.$extra]={numberOfUse:1};const Kr=lr[R.$getParent]();Kr[R.$extra]={numberOfUse:1,pageIndex:Kr.pageArea.children.indexOf(lr),pageSetIndex:0};let on,bn=null,Dn=null,zn=!0,Bn=0,kn=0;for(;;){if(zn)Bn=0;else if(yr.children.pop(),++Bn===Q)return(0,ae.warn)("XFA - Something goes wrong: please file a bug."),yr;on=null,this[R.$extra].currentPageArea=lr;const Gn=lr[R.$toHTML]().html;yr.children.push(Gn),bn&&(this[R.$extra].noLayoutFailure=!0,Gn.children.push(bn[R.$toHTML](lr[R.$extra].space).html),bn=null),Dn&&(this[R.$extra].noLayoutFailure=!0,Gn.children.push(Dn[R.$toHTML](lr[R.$extra].space).html),Dn=null);const En=lr.contentArea.children,li=Gn.children.filter(In=>In.attributes.class.includes("xfaContentarea"));zn=!1,this[R.$extra].firstUnsplittable=null,this[R.$extra].noLayoutFailure=!1;const Sn=In=>{const vn=Oe[R.$flushHTML]();vn&&(zn=zn||vn.children&&vn.children.length!==0,li[In].children.push(vn))};for(let In=kn,vn=En.length;In1&&yr.children.pop(),yr;if(vi.isBreak()){const Hn=vi.breakNode;if(Sn(In),Hn.targetType==="auto")continue;Hn.leader&&(bn=this[R.$searchNode](Hn.leader,Hn[R.$getParent]()),bn=bn?bn[0]:null),Hn.trailer&&(Dn=this[R.$searchNode](Hn.trailer,Hn[R.$getParent]()),Dn=Dn?Dn[0]:null),Hn.targetType==="pageArea"?(on=Hn[R.$extra].target,In=1/0):Hn[R.$extra].target?(on=Hn[R.$extra].target,kn=Hn[R.$extra].index+1,In=1/0):In=Hn[R.$extra].index;continue}if(this[R.$extra].overflowNode){const Hn=this[R.$extra].overflowNode;this[R.$extra].overflowNode=null;const Ni=Hn[R.$getExtra](),zi=Ni.target;Ni.addLeader=Ni.leader!==null,Ni.addTrailer=Ni.trailer!==null,Sn(In);const Qr=In;if(In=1/0,zi instanceof Rr)on=zi;else if(zi instanceof ut){const gi=En.indexOf(zi);gi!==-1?gi>Qr?In=gi-1:kn=gi:(on=zi[R.$getParent](),kn=on.contentArea.children.indexOf(zi))}continue}Sn(In)}this[R.$extra].pageNumber+=1,on&&(on[R.$isUsable]()?on[R.$extra].numberOfUse+=1:on=null),lr=on||lr[R.$getNextPage](),yield null}}}D.Template=fa;class Na extends R.ContentObject{constructor(Oe){super(X,"text"),this.id=Oe.id||"",this.maxChars=(0,e.getInteger)({data:Oe.maxChars,defaultValue:0,validate:ft=>ft>=0}),this.name=Oe.name||"",this.rid=Oe.rid||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$acceptWhitespace](){return!0}[R.$onChild](Oe){return Oe[R.$namespaceId]===U.NamespaceIds.xhtml.id?(this[R.$content]=Oe,!0):((0,ae.warn)(`XFA - Invalid content in Text: ${Oe[R.$nodeName]}.`),!1)}[R.$onText](Oe){this[R.$content]instanceof R.XFAObject||super[R.$onText](Oe)}[R.$finalize](){typeof this[R.$content]=="string"&&(this[R.$content]=this[R.$content].replace(/\r\n/g,` +`,et=new Uint8Array(Ee.length+je+Ve+Le.length);et.set(Ee);let Qe=Ee.length;for(const Ue of Ze)Q(Ue,Qe,et),Qe+=Ue.length;for(const[Ue,$e,Ye]of Fe)Qe=L(Ue,Be[0],Qe,et),Qe=L($e,Be[1],Qe,et),Qe=L(Ye,Be[2],Qe,et);return Q(Le,Qe,et),et}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XMLParserErrorCode=D.XMLParserBase=D.SimpleXMLParser=D.SimpleDOMNode=void 0;var R=B(131);const U={NoError:0,EndOfDocument:-1,UnterminatedCdat:-2,UnterminatedXmlDeclaration:-3,UnterminatedDoctypeDeclaration:-4,UnterminatedComment:-5,MalformedElement:-6,OutOfMemory:-7,UnterminatedAttributeValue:-8,UnterminatedElement:-9,ElementNeverBegun:-10};D.XMLParserErrorCode=U;function K(he,J){const W=he[J];return W===" "||W===` +`||W==="\r"||W===" "}function z(he){for(let J=0,W=he.length;J{if(X.substring(0,2)==="#x")return String.fromCodePoint(parseInt(X.substring(2),16));if(X.substring(0,1)==="#")return String.fromCodePoint(parseInt(X.substring(1),10));switch(X){case"lt":return"<";case"gt":return">";case"amp":return"&";case"quot":return'"';case"apos":return"'"}return this.onResolveEntity(X)})}_parseContent(J,W){const X=[];let L=W;function Q(){for(;L"&&J[L]!=="/";)++L;const ce=J.substring(W,L);for(Q();L"&&J[L]!=="/"&&J[L]!=="?";){Q();let de="",se="";for(;L"&&J[X]!=="?"&&J[X]!=="/";)++X;const Q=J.substring(W,X);L();const ce=X;for(;X");)++X;const de=J.substring(ce,X);return{name:Q,value:de,parsed:X-W}}parseXml(J){let W=0;for(;W",L),ce<0){this.onError(U.UnterminatedElement);return}this.onEndElement(J.substring(L,ce)),L=ce+1;break;case"?":++L;const de=this._parseProcessingInstruction(J,L);if(J.substring(L+de.parsed,L+de.parsed+2)!=="?>"){this.onError(U.UnterminatedXmlDeclaration);return}this.onPi(de.name,de.value),L+=de.parsed+2;break;case"!":if(J.substring(L+1,L+3)==="--"){if(ce=J.indexOf("-->",L+3),ce<0){this.onError(U.UnterminatedComment);return}this.onComment(J.substring(L+3,ce)),L=ce+3}else if(J.substring(L+1,L+8)==="[CDATA["){if(ce=J.indexOf("]]>",L+8),ce<0){this.onError(U.UnterminatedCdat);return}this.onCdata(J.substring(L+8,ce)),L=ce+3}else if(J.substring(L+1,L+8)==="DOCTYPE"){const me=J.indexOf("[",L+8);let Ee=!1;if(ce=J.indexOf(">",L+8),ce<0){this.onError(U.UnterminatedDoctypeDeclaration);return}if(me>0&&ce>me){if(ce=J.indexOf("]>",L+8),ce<0){this.onError(U.UnterminatedDoctypeDeclaration);return}Ee=!0}const ke=J.substring(L+8,ce+(Ee?1:0));this.onDoctype(ke),L=ce+(Ee?2:1)}else{this.onError(U.MalformedElement);return}break;default:const se=this._parseContent(J,L);if(se===null){this.onError(U.MalformedElement);return}let oe=!1;if(J.substring(L+se.parsed,L+se.parsed+2)==="/>")oe=!0;else if(J.substring(L+se.parsed,L+se.parsed+1)!==">"){this.onError(U.UnterminatedElement);return}this.onBeginElement(se.name,se.attributes,oe),L+=se.parsed+(oe?2:1);break}}else{for(;L0}searchNode(J,W){if(W>=J.length)return this;const X=J[W],L=[];let Q=this;for(;;){if(X.name===Q.nodeName)if(X.pos===0){const ce=Q.searchNode(J,W+1);if(ce!==null)return ce}else{if(L.length===0)return null;{const[ce]=L.pop();let de=0;for(const se of ce.childNodes)if(X.name===se.nodeName){if(de===X.pos)return se.searchNode(J,W+1);de++}return Q.searchNode(J,W+1)}}if(Q.childNodes&&Q.childNodes.length!==0)L.push([Q,0]),Q=Q.childNodes[0];else{if(L.length===0)return null;for(;L.length!==0;){const[ce,de]=L.pop(),se=de+1;if(se");for(const W of this.childNodes)W.dump(J);J.push(``)}else this.nodeValue?J.push(`>${(0,R.encodeToXmlString)(this.nodeValue)}`):J.push("/>")}}D.SimpleDOMNode=ae;class ie extends e{constructor(J){let{hasAttributes:W=!1,lowerCaseName:X=!1}=J;super(),this._currentFragment=null,this._stack=null,this._errorCode=U.NoError,this._hasAttributes=W,this._lowerCaseName=X}parseFromString(J){if(this._currentFragment=[],this._stack=[],this._errorCode=U.NoError,this.parseXml(J),this._errorCode!==U.NoError)return;const[W]=this._currentFragment;if(W)return{documentElement:W}}onText(J){if(z(J))return;const W=new ae("#text",J);this._currentFragment.push(W)}onCdata(J){const W=new ae("#text",J);this._currentFragment.push(W)}onBeginElement(J,W,X){this._lowerCaseName&&(J=J.toLowerCase());const L=new ae(J);L.childNodes=[],this._hasAttributes&&(L.attributes=W),this._currentFragment.push(L),!X&&(this._stack.push(this._currentFragment),this._currentFragment=L.childNodes)}onEndElement(J){this._currentFragment=this._stack.pop()||[];const W=this._currentFragment.at(-1);if(!W)return null;for(let X=0,L=W.childNodes.length;X{Object.defineProperty(D,"__esModule",{value:!0}),D.calculateSHA256=D.calculateMD5=D.PDF20=D.PDF17=D.CipherTransformFactory=D.ARCFourCipher=D.AES256Cipher=D.AES128Cipher=void 0,D.calculateSHA384=J,D.calculateSHA512=void 0;var R=B(2),U=B(130),K=B(193);class z{constructor(Ee){this.a=0,this.b=0;const ke=new Uint8Array(256),xe=Ee.length;for(let fe=0;fe<256;++fe)ke[fe]=fe;for(let fe=0,ve=0;fe<256;++fe){const ye=ke[fe];ve=ve+ye+Ee[fe%xe]&255,ke[fe]=ke[ve],ke[ve]=ye}this.s=ke}encryptBlock(Ee){let ke=this.a,xe=this.b;const fe=this.s,ve=Ee.length,ye=new Uint8Array(ve);for(let Ce=0;Ce>5&255,Ne[Ze++]=ye>>13&255,Ne[Ze++]=ye>>21&255,Ne[Ze++]=ye>>>29&255,Ne[Ze++]=0,Ne[Ze++]=0,Ne[Ze++]=0;const Fe=new Int32Array(16);for(Ze=0;Ze>>32-et)|0,Pe=je}Ce=Ce+Pe|0,pe=pe+we|0,_e=_e+Ie|0,Ge=Ge+Be|0}return new Uint8Array([Ce&255,Ce>>8&255,Ce>>16&255,Ce>>>24&255,pe&255,pe>>8&255,pe>>16&255,pe>>>24&255,_e&255,_e>>8&255,_e>>16&255,_e>>>24&255,Ge&255,Ge>>8&255,Ge>>16&255,Ge>>>24&255])}return xe}();D.calculateMD5=e;class ae{constructor(Ee,ke){this.high=Ee|0,this.low=ke|0}and(Ee){this.high&=Ee.high,this.low&=Ee.low}xor(Ee){this.high^=Ee.high,this.low^=Ee.low}or(Ee){this.high|=Ee.high,this.low|=Ee.low}shiftRight(Ee){Ee>=32?(this.low=this.high>>>Ee-32|0,this.high=0):(this.low=this.low>>>Ee|this.high<<32-Ee,this.high=this.high>>>Ee|0)}shiftLeft(Ee){Ee>=32?(this.high=this.low<>>32-Ee,this.low<<=Ee)}rotateRight(Ee){let ke,xe;Ee&32?(xe=this.low,ke=this.high):(ke=this.low,xe=this.high),Ee&=31,this.low=ke>>>Ee|xe<<32-Ee,this.high=xe>>>Ee|ke<<32-Ee}not(){this.high=~this.high,this.low=~this.low}add(Ee){const ke=(this.low>>>0)+(Ee.low>>>0);let xe=(this.high>>>0)+(Ee.high>>>0);ke>4294967295&&(xe+=1),this.low=ke|0,this.high=xe|0}copyTo(Ee,ke){Ee[ke]=this.high>>>24&255,Ee[ke+1]=this.high>>16&255,Ee[ke+2]=this.high>>8&255,Ee[ke+3]=this.high&255,Ee[ke+4]=this.low>>>24&255,Ee[ke+5]=this.low>>16&255,Ee[ke+6]=this.low>>8&255,Ee[ke+7]=this.low&255}assign(Ee){this.high=Ee.high,this.low=Ee.low}}const ie=function(){function Ee(Ge,Ae){return Ge>>>Ae|Ge<<32-Ae}function ke(Ge,Ae,Ne){return Ge&Ae^~Ge&Ne}function xe(Ge,Ae,Ne){return Ge&Ae^Ge&Ne^Ae&Ne}function fe(Ge){return Ee(Ge,2)^Ee(Ge,13)^Ee(Ge,22)}function ve(Ge){return Ee(Ge,6)^Ee(Ge,11)^Ee(Ge,25)}function ye(Ge){return Ee(Ge,7)^Ee(Ge,18)^Ge>>>3}function Ce(Ge){return Ee(Ge,17)^Ee(Ge,19)^Ge>>>10}const pe=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function _e(Ge,Ae,Ne){let Ze=1779033703,ze=3144134277,Te=1013904242,Fe=2773480762,Pe=1359893119,we=2600822924,Ie=528734635,Be=1541459225;const Ke=Math.ceil((Ne+9)/64)*64,Ve=new Uint8Array(Ke);let je,Le;for(je=0;je>>29&255,Ve[je++]=Ne>>21&255,Ve[je++]=Ne>>13&255,Ve[je++]=Ne>>5&255,Ve[je++]=Ne<<3&255;const Qe=new Uint32Array(64);for(je=0;je>24&255,Ze>>16&255,Ze>>8&255,Ze&255,ze>>24&255,ze>>16&255,ze>>8&255,ze&255,Te>>24&255,Te>>16&255,Te>>8&255,Te&255,Fe>>24&255,Fe>>16&255,Fe>>8&255,Fe&255,Pe>>24&255,Pe>>16&255,Pe>>8&255,Pe&255,we>>24&255,we>>16&255,we>>8&255,we&255,Ie>>24&255,Ie>>16&255,Ie>>8&255,Ie&255,Be>>24&255,Be>>16&255,Be>>8&255,Be&255])}return _e}();D.calculateSHA256=ie;const he=function(){function Ee(_e,Ge,Ae,Ne,Ze){_e.assign(Ge),_e.and(Ae),Ze.assign(Ge),Ze.not(),Ze.and(Ne),_e.xor(Ze)}function ke(_e,Ge,Ae,Ne,Ze){_e.assign(Ge),_e.and(Ae),Ze.assign(Ge),Ze.and(Ne),_e.xor(Ze),Ze.assign(Ae),Ze.and(Ne),_e.xor(Ze)}function xe(_e,Ge,Ae){_e.assign(Ge),_e.rotateRight(28),Ae.assign(Ge),Ae.rotateRight(34),_e.xor(Ae),Ae.assign(Ge),Ae.rotateRight(39),_e.xor(Ae)}function fe(_e,Ge,Ae){_e.assign(Ge),_e.rotateRight(14),Ae.assign(Ge),Ae.rotateRight(18),_e.xor(Ae),Ae.assign(Ge),Ae.rotateRight(41),_e.xor(Ae)}function ve(_e,Ge,Ae){_e.assign(Ge),_e.rotateRight(1),Ae.assign(Ge),Ae.rotateRight(8),_e.xor(Ae),Ae.assign(Ge),Ae.shiftRight(7),_e.xor(Ae)}function ye(_e,Ge,Ae){_e.assign(Ge),_e.rotateRight(19),Ae.assign(Ge),Ae.rotateRight(61),_e.xor(Ae),Ae.assign(Ge),Ae.shiftRight(6),_e.xor(Ae)}const Ce=[new ae(1116352408,3609767458),new ae(1899447441,602891725),new ae(3049323471,3964484399),new ae(3921009573,2173295548),new ae(961987163,4081628472),new ae(1508970993,3053834265),new ae(2453635748,2937671579),new ae(2870763221,3664609560),new ae(3624381080,2734883394),new ae(310598401,1164996542),new ae(607225278,1323610764),new ae(1426881987,3590304994),new ae(1925078388,4068182383),new ae(2162078206,991336113),new ae(2614888103,633803317),new ae(3248222580,3479774868),new ae(3835390401,2666613458),new ae(4022224774,944711139),new ae(264347078,2341262773),new ae(604807628,2007800933),new ae(770255983,1495990901),new ae(1249150122,1856431235),new ae(1555081692,3175218132),new ae(1996064986,2198950837),new ae(2554220882,3999719339),new ae(2821834349,766784016),new ae(2952996808,2566594879),new ae(3210313671,3203337956),new ae(3336571891,1034457026),new ae(3584528711,2466948901),new ae(113926993,3758326383),new ae(338241895,168717936),new ae(666307205,1188179964),new ae(773529912,1546045734),new ae(1294757372,1522805485),new ae(1396182291,2643833823),new ae(1695183700,2343527390),new ae(1986661051,1014477480),new ae(2177026350,1206759142),new ae(2456956037,344077627),new ae(2730485921,1290863460),new ae(2820302411,3158454273),new ae(3259730800,3505952657),new ae(3345764771,106217008),new ae(3516065817,3606008344),new ae(3600352804,1432725776),new ae(4094571909,1467031594),new ae(275423344,851169720),new ae(430227734,3100823752),new ae(506948616,1363258195),new ae(659060556,3750685593),new ae(883997877,3785050280),new ae(958139571,3318307427),new ae(1322822218,3812723403),new ae(1537002063,2003034995),new ae(1747873779,3602036899),new ae(1955562222,1575990012),new ae(2024104815,1125592928),new ae(2227730452,2716904306),new ae(2361852424,442776044),new ae(2428436474,593698344),new ae(2756734187,3733110249),new ae(3204031479,2999351573),new ae(3329325298,3815920427),new ae(3391569614,3928383900),new ae(3515267271,566280711),new ae(3940187606,3454069534),new ae(4118630271,4000239992),new ae(116418474,1914138554),new ae(174292421,2731055270),new ae(289380356,3203993006),new ae(460393269,320620315),new ae(685471733,587496836),new ae(852142971,1086792851),new ae(1017036298,365543100),new ae(1126000580,2618297676),new ae(1288033470,3409855158),new ae(1501505948,4234509866),new ae(1607167915,987167468),new ae(1816402316,1246189591)];function pe(_e,Ge,Ae){let Ne=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,Ze,ze,Te,Fe,Pe,we,Ie,Be;Ne?(Ze=new ae(3418070365,3238371032),ze=new ae(1654270250,914150663),Te=new ae(2438529370,812702999),Fe=new ae(355462360,4144912697),Pe=new ae(1731405415,4290775857),we=new ae(2394180231,1750603025),Ie=new ae(3675008525,1694076839),Be=new ae(1203062813,3204075428)):(Ze=new ae(1779033703,4089235720),ze=new ae(3144134277,2227873595),Te=new ae(1013904242,4271175723),Fe=new ae(2773480762,1595750129),Pe=new ae(1359893119,2917565137),we=new ae(2600822924,725511199),Ie=new ae(528734635,4215389547),Be=new ae(1541459225,327033209));const Ke=Math.ceil((Ae+17)/128)*128,Ve=new Uint8Array(Ke);let je,Le;for(je=0;je>>29&255,Ve[je++]=Ae>>21&255,Ve[je++]=Ae>>13&255,Ve[je++]=Ae>>5&255,Ve[je++]=Ae<<3&255;const Qe=new Array(80);for(je=0;je<80;je++)Qe[je]=new ae(0,0);let Ue=new ae(0,0),$e=new ae(0,0),Ye=new ae(0,0),tt=new ae(0,0),ot=new ae(0,0),st=new ae(0,0),dt=new ae(0,0),ct=new ae(0,0);const mt=new ae(0,0),ut=new ae(0,0),rt=new ae(0,0),He=new ae(0,0);let Je;for(je=0;je=1;--Ce){xe=ye[13],ye[13]=ye[9],ye[9]=ye[5],ye[5]=ye[1],ye[1]=xe,xe=ye[14],fe=ye[10],ye[14]=ye[6],ye[10]=ye[2],ye[6]=xe,ye[2]=fe,xe=ye[15],fe=ye[11],ve=ye[7],ye[15]=ye[3],ye[11]=xe,ye[7]=fe,ye[3]=ve;for(let pe=0;pe<16;++pe)ye[pe]=this._inv_s[ye[pe]];for(let pe=0,_e=Ce*16;pe<16;++pe,++_e)ye[pe]^=ke[_e];for(let pe=0;pe<16;pe+=4){const _e=this._mix[ye[pe]],Ge=this._mix[ye[pe+1]],Ae=this._mix[ye[pe+2]],Ne=this._mix[ye[pe+3]];xe=_e^Ge>>>8^Ge<<24^Ae>>>16^Ae<<16^Ne>>>24^Ne<<8,ye[pe]=xe>>>24&255,ye[pe+1]=xe>>16&255,ye[pe+2]=xe>>8&255,ye[pe+3]=xe&255}}xe=ye[13],ye[13]=ye[9],ye[9]=ye[5],ye[5]=ye[1],ye[1]=xe,xe=ye[14],fe=ye[10],ye[14]=ye[6],ye[10]=ye[2],ye[6]=xe,ye[2]=fe,xe=ye[15],fe=ye[11],ve=ye[7],ye[15]=ye[3],ye[11]=xe,ye[7]=fe,ye[3]=ve;for(let Ce=0;Ce<16;++Ce)ye[Ce]=this._inv_s[ye[Ce]],ye[Ce]^=ke[Ce];return ye}_encrypt(Ee,ke){const xe=this._s;let fe,ve,ye;const Ce=new Uint8Array(16);Ce.set(Ee);for(let pe=0;pe<16;++pe)Ce[pe]^=ke[pe];for(let pe=1;pe=Ze;--Ne)if(Ge[Ne]!==Ae){Ae=0;break}pe-=Ae,ye[ye.length-1]=Ge.subarray(0,16-Ae)}}const _e=new Uint8Array(pe);for(let Ge=0,Ae=0,Ne=ye.length;Ge2&&arguments[2]!==void 0?arguments[2]:null;const fe=Ee.length,ve=this.buffer;let ye=this.bufferPosition;if(xe)this.iv=xe;else{for(let Ce=0;ye<16&&Ce=256&&(ve=(ve^27)&255));for(let Ne=0;Ne<4;++Ne)fe[Ge]=ye^=fe[Ge-32],Ge++,fe[Ge]=Ce^=fe[Ge-32],Ge++,fe[Ge]=pe^=fe[Ge-32],Ge++,fe[Ge]=_e^=fe[Ge-32],Ge++}return fe}}D.AES256Cipher=Q;class ce{checkOwnerPassword(Ee,ke,xe,fe){const ve=new Uint8Array(Ee.length+56);ve.set(Ee,0),ve.set(ke,Ee.length),ve.set(xe,Ee.length+ke.length);const ye=ie(ve,0,ve.length);return(0,R.isArrayEqual)(ye,fe)}checkUserPassword(Ee,ke,xe){const fe=new Uint8Array(Ee.length+8);fe.set(Ee,0),fe.set(ke,Ee.length);const ve=ie(fe,0,fe.length);return(0,R.isArrayEqual)(ve,xe)}getOwnerKey(Ee,ke,xe,fe){const ve=new Uint8Array(Ee.length+56);ve.set(Ee,0),ve.set(ke,Ee.length),ve.set(xe,Ee.length+ke.length);const ye=ie(ve,0,ve.length);return new Q(ye).decryptBlock(fe,!1,new Uint8Array(16))}getUserKey(Ee,ke,xe){const fe=new Uint8Array(Ee.length+8);fe.set(Ee,0),fe.set(ke,Ee.length);const ve=ie(fe,0,fe.length);return new Q(ve).decryptBlock(xe,!1,new Uint8Array(16))}}D.PDF17=ce;const de=function(){function Ee(xe,fe,ve){let ye=ie(fe,0,fe.length).subarray(0,32),Ce=[0],pe=0;for(;pe<64||Ce.at(-1)>pe-32;){const _e=xe.length+ye.length+ve.length,Ge=new Uint8Array(_e);let Ae=0;Ge.set(xe,Ae),Ae+=xe.length,Ge.set(ye,Ae),Ae+=ye.length,Ge.set(ve,Ae);const Ne=new Uint8Array(_e*64);for(let Te=0,Fe=0;Te<64;Te++,Fe+=_e)Ne.set(Ge,Fe);Ce=new L(ye.subarray(0,16)).encrypt(Ne,ye.subarray(16,32));let ze=0;for(let Te=0;Te<16;Te++)ze*=256%3,ze%=3,ze+=(Ce[Te]>>>0)%3,ze%=3;ze===0?ye=ie(Ce,0,Ce.length):ze===1?ye=J(Ce,0,Ce.length):ze===2&&(ye=he(Ce,0,Ce.length)),pe++}return ye.subarray(0,32)}class ke{hash(fe,ve,ye){return Ee(fe,ve,ye)}checkOwnerPassword(fe,ve,ye,Ce){const pe=new Uint8Array(fe.length+56);pe.set(fe,0),pe.set(ve,fe.length),pe.set(ye,fe.length+ve.length);const _e=Ee(fe,pe,ye);return(0,R.isArrayEqual)(_e,Ce)}checkUserPassword(fe,ve,ye){const Ce=new Uint8Array(fe.length+8);Ce.set(fe,0),Ce.set(ve,fe.length);const pe=Ee(fe,Ce,[]);return(0,R.isArrayEqual)(pe,ye)}getOwnerKey(fe,ve,ye,Ce){const pe=new Uint8Array(fe.length+56);pe.set(fe,0),pe.set(ve,fe.length),pe.set(ye,fe.length+ve.length);const _e=Ee(fe,pe,ye);return new Q(_e).decryptBlock(Ce,!1,new Uint8Array(16))}getUserKey(fe,ve,ye){const Ce=new Uint8Array(fe.length+8);Ce.set(fe,0),Ce.set(ve,fe.length);const pe=Ee(fe,Ce,[]);return new Q(pe).decryptBlock(ye,!1,new Uint8Array(16))}}return ke}();D.PDF20=de;class se{constructor(Ee,ke){this.StringCipherConstructor=Ee,this.StreamCipherConstructor=ke}createStream(Ee,ke){const xe=new this.StreamCipherConstructor;return new K.DecryptStream(Ee,ke,function(ve,ye){return xe.decryptBlock(ve,ye)})}decryptString(Ee){const ke=new this.StringCipherConstructor;let xe=(0,R.stringToBytes)(Ee);return xe=ke.decryptBlock(xe,!0),(0,R.bytesToString)(xe)}encryptString(Ee){const ke=new this.StringCipherConstructor;if(ke instanceof X){const ve=16-Ee.length%16;Ee+=String.fromCharCode(ve).repeat(ve);const ye=new Uint8Array(16);if(typeof crypto<"u")crypto.getRandomValues(ye);else for(let _e=0;_e<16;_e++)ye[_e]=Math.floor(256*Math.random());let Ce=(0,R.stringToBytes)(Ee);Ce=ke.encrypt(Ce,ye);const pe=new Uint8Array(16+Ce.length);return pe.set(ye),pe.set(Ce,16),(0,R.bytesToString)(pe)}let xe=(0,R.stringToBytes)(Ee);return xe=ke.encrypt(xe),(0,R.bytesToString)(xe)}}const oe=function(){const Ee=new Uint8Array([40,191,78,94,78,117,138,65,100,0,78,86,255,250,1,8,46,46,0,182,208,104,62,128,47,12,169,254,100,83,105,122]);function ke(_e,Ge,Ae,Ne,Ze,ze,Te,Fe,Pe,we,Ie,Be){if(Ge){const Ve=Math.min(127,Ge.length);Ge=Ge.subarray(0,Ve)}else Ge=[];let Ke;return _e===6?Ke=new de:Ke=new ce,Ke.checkUserPassword(Ge,Fe,Te)?Ke.getUserKey(Ge,Pe,Ie):Ge.length&&Ke.checkOwnerPassword(Ge,Ne,ze,Ae)?Ke.getOwnerKey(Ge,Ze,ze,we):null}function xe(_e,Ge,Ae,Ne,Ze,ze,Te,Fe){const Pe=40+Ae.length+_e.length,we=new Uint8Array(Pe);let Ie=0,Be,Ke;if(Ge)for(Ke=Math.min(32,Ge.length);Ie>8&255,we[Ie++]=Ze>>16&255,we[Ie++]=Ze>>>24&255,Be=0,Ke=_e.length;Be=4&&!Fe&&(we[Ie++]=255,we[Ie++]=255,we[Ie++]=255,we[Ie++]=255);let Ve=e(we,0,Ie);const je=Te>>3;if(ze>=3)for(Be=0;Be<50;++Be)Ve=e(Ve,0,je);const Le=Ve.subarray(0,je);let et,Qe;if(ze>=3){for(Ie=0;Ie<32;++Ie)we[Ie]=Ee[Ie];for(Be=0,Ke=_e.length;Be>3;if(Ae>=3)for(Fe=0;Fe<50;++Fe)Pe=e(Pe,0,Pe.length);let Ie,Be;if(Ae>=3){Be=Ge;const Ke=new Uint8Array(we);for(Fe=19;Fe>=0;Fe--){for(let Ve=0;Ve3&&arguments[3]!==void 0?arguments[3]:!1;const Ze=new Uint8Array(Ae.length+9),ze=Ae.length;let Te;for(Te=0;Te>8&255,Ze[Te++]=_e>>16&255,Ze[Te++]=Ge&255,Ze[Te++]=Ge>>8&255,Ne&&(Ze[Te++]=115,Ze[Te++]=65,Ze[Te++]=108,Ze[Te++]=84),e(Ze,0,Te).subarray(0,Math.min(Ae.length+5,16))}function Ce(_e,Ge,Ae,Ne,Ze){if(!(Ge instanceof U.Name))throw new R.FormatError("Invalid crypt filter name.");const ze=_e.get(Ge.name);let Te;if(ze!=null&&(Te=ze.get("CFM")),!Te||Te.name==="None")return function(){return new W};if(Te.name==="V2")return function(){return new z(ye(Ae,Ne,Ze,!1))};if(Te.name==="AESV2")return function(){return new L(ye(Ae,Ne,Ze,!0))};if(Te.name==="AESV3")return function(){return new Q(Ze)};throw new R.FormatError("Unknown crypto method")}class pe{constructor(Ge,Ae,Ne){const Ze=Ge.get("Filter");if(!(0,U.isName)(Ze,"Standard"))throw new R.FormatError("unknown encryption method");this.filterName=Ze.name,this.dict=Ge;const ze=Ge.get("V");if(!Number.isInteger(ze)||ze!==1&&ze!==2&&ze!==4&&ze!==5)throw new R.FormatError("unsupported encryption algorithm");this.algorithm=ze;let Te=Ge.get("Length");if(!Te)if(ze<=3)Te=40;else{const Le=Ge.get("CF"),et=Ge.get("StmF");if(Le instanceof U.Dict&&et instanceof U.Name){Le.suppressEncryption=!0;const Qe=Le.get(et.name);Te=Qe&&Qe.get("Length")||128,Te<40&&(Te<<=3)}}if(!Number.isInteger(Te)||Te<40||Te%8!==0)throw new R.FormatError("invalid key length");const Fe=(0,R.stringToBytes)(Ge.get("O")).subarray(0,32),Pe=(0,R.stringToBytes)(Ge.get("U")).subarray(0,32),we=Ge.get("P"),Ie=Ge.get("R"),Be=(ze===4||ze===5)&&Ge.get("EncryptMetadata")!==!1;this.encryptMetadata=Be;const Ke=(0,R.stringToBytes)(Ae);let Ve;if(Ne){if(Ie===6)try{Ne=(0,R.utf8StringToString)(Ne)}catch{(0,R.warn)("CipherTransformFactory: Unable to convert UTF8 encoded password.")}Ve=(0,R.stringToBytes)(Ne)}let je;if(ze!==5)je=xe(Ke,Ve,Fe,Pe,we,Ie,Te,Be);else{const Le=(0,R.stringToBytes)(Ge.get("O")).subarray(32,40),et=(0,R.stringToBytes)(Ge.get("O")).subarray(40,48),Qe=(0,R.stringToBytes)(Ge.get("U")).subarray(0,48),Ue=(0,R.stringToBytes)(Ge.get("U")).subarray(32,40),$e=(0,R.stringToBytes)(Ge.get("U")).subarray(40,48),Ye=(0,R.stringToBytes)(Ge.get("OE")),tt=(0,R.stringToBytes)(Ge.get("UE"));(0,R.stringToBytes)(Ge.get("Perms")),je=ke(Ie,Ve,Fe,Le,et,Qe,Pe,Ue,$e,Ye,tt)}if(!je&&!Ne)throw new R.PasswordException("No password given",R.PasswordResponses.NEED_PASSWORD);if(!je&&Ne){const Le=fe(Ve,Fe,Ie,Te);je=xe(Ke,Le,Fe,Pe,we,Ie,Te,Be)}if(!je)throw new R.PasswordException("Incorrect Password",R.PasswordResponses.INCORRECT_PASSWORD);if(this.encryptionKey=je,ze>=4){const Le=Ge.get("CF");Le instanceof U.Dict&&(Le.suppressEncryption=!0),this.cf=Le,this.stmf=Ge.get("StmF")||ve,this.strf=Ge.get("StrF")||ve,this.eff=Ge.get("EFF")||this.stmf}}createCipherTransform(Ge,Ae){if(this.algorithm===4||this.algorithm===5)return new se(Ce(this.cf,this.strf,Ge,Ae,this.encryptionKey),Ce(this.cf,this.stmf,Ge,Ae,this.encryptionKey));const Ne=ye(Ge,Ae,this.encryptionKey,!1),Ze=function(){return new z(Ne)};return new se(Ze,Ze)}}return pe}();D.CipherTransformFactory=oe},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.DecryptStream=void 0;var R=B(144);const U=512;class K extends R.DecodeStream{constructor(e,ae,ie){super(ae),this.str=e,this.dict=e.dict,this.decrypt=ie,this.nextChunk=null,this.initialized=!1}readBlock(){let e;if(this.initialized?e=this.nextChunk:(e=this.str.getBytes(U),this.initialized=!0),!e||e.length===0){this.eof=!0;return}this.nextChunk=this.str.getBytes(U);const ae=this.nextChunk&&this.nextChunk.length>0,ie=this.decrypt;e=ie(e,!ae);let he=this.bufferLength;const J=e.length,W=this.ensureBuffer(he+J);for(let X=0;X{Object.defineProperty(D,"__esModule",{value:!0}),D.Catalog=void 0;var R=B(131),U=B(2),K=B(130),z=B(195),e=B(132),ae=B(196),ie=B(139),he=B(197),J=B(184),W=B(198),X=B(199);function L(ce){return ce instanceof K.Dict&&(ce=ce.get("D")),Array.isArray(ce)?ce:null}class Q{constructor(de,se){if(this.pdfManager=de,this.xref=se,this._catDict=se.getCatalogObj(),!(this._catDict instanceof K.Dict))throw new U.FormatError("Catalog object is not a dictionary.");this.toplevelPagesDict,this._actualNumPages=null,this.fontCache=new K.RefSetCache,this.builtInCMapCache=new Map,this.standardFontDataCache=new Map,this.globalImageCache=new J.GlobalImageCache,this.pageKidsCountCache=new K.RefSetCache,this.pageIndexCache=new K.RefSetCache,this.nonBlendModesSet=new K.RefSet}get version(){const de=this._catDict.get("Version");return(0,U.shadow)(this,"version",de instanceof K.Name?de.name:null)}get lang(){const de=this._catDict.get("Lang");return(0,U.shadow)(this,"lang",typeof de=="string"?(0,U.stringToPDFString)(de):null)}get needsRendering(){const de=this._catDict.get("NeedsRendering");return(0,U.shadow)(this,"needsRendering",typeof de=="boolean"?de:!1)}get collection(){let de=null;try{const se=this._catDict.get("Collection");se instanceof K.Dict&&se.size>0&&(de=se)}catch(se){if(se instanceof R.MissingDataException)throw se;(0,U.info)("Cannot fetch Collection entry; assuming no collection is present.")}return(0,U.shadow)(this,"collection",de)}get acroForm(){let de=null;try{const se=this._catDict.get("AcroForm");se instanceof K.Dict&&se.size>0&&(de=se)}catch(se){if(se instanceof R.MissingDataException)throw se;(0,U.info)("Cannot fetch AcroForm entry; assuming no forms are present.")}return(0,U.shadow)(this,"acroForm",de)}get acroFormRef(){const de=this._catDict.getRaw("AcroForm");return(0,U.shadow)(this,"acroFormRef",de instanceof K.Ref?de:null)}get metadata(){const de=this._catDict.getRaw("Metadata");if(!(de instanceof K.Ref))return(0,U.shadow)(this,"metadata",null);let se=null;try{const oe=!(this.xref.encrypt&&this.xref.encrypt.encryptMetadata),me=this.xref.fetch(de,oe);if(me instanceof e.BaseStream&&me.dict instanceof K.Dict){const Ee=me.dict.get("Type"),ke=me.dict.get("Subtype");if((0,K.isName)(Ee,"Metadata")&&(0,K.isName)(ke,"XML")){const xe=(0,U.stringToUTF8String)(me.getString());xe&&(se=new W.MetadataParser(xe).serializable)}}}catch(oe){if(oe instanceof R.MissingDataException)throw oe;(0,U.info)(`Skipping invalid Metadata: "${oe}".`)}return(0,U.shadow)(this,"metadata",se)}get markInfo(){let de=null;try{de=this._readMarkInfo()}catch(se){if(se instanceof R.MissingDataException)throw se;(0,U.warn)("Unable to read mark info.")}return(0,U.shadow)(this,"markInfo",de)}_readMarkInfo(){const de=this._catDict.get("MarkInfo");if(!(de instanceof K.Dict))return null;const se={Marked:!1,UserProperties:!1,Suspects:!1};for(const oe in se){const me=de.get(oe);typeof me=="boolean"&&(se[oe]=me)}return se}get structTreeRoot(){let de=null;try{de=this._readStructTreeRoot()}catch(se){if(se instanceof R.MissingDataException)throw se;(0,U.warn)("Unable read to structTreeRoot info.")}return(0,U.shadow)(this,"structTreeRoot",de)}_readStructTreeRoot(){const de=this._catDict.get("StructTreeRoot");if(!(de instanceof K.Dict))return null;const se=new X.StructTreeRoot(de);return se.init(),se}get toplevelPagesDict(){const de=this._catDict.get("Pages");if(!(de instanceof K.Dict))throw new U.FormatError("Invalid top-level pages dictionary.");return(0,U.shadow)(this,"toplevelPagesDict",de)}get documentOutline(){let de=null;try{de=this._readDocumentOutline()}catch(se){if(se instanceof R.MissingDataException)throw se;(0,U.warn)("Unable to read document outline.")}return(0,U.shadow)(this,"documentOutline",de)}_readDocumentOutline(){let de=this._catDict.get("Outlines");if(!(de instanceof K.Dict)||(de=de.getRaw("First"),!(de instanceof K.Ref)))return null;const se={items:[]},oe=[{obj:de,parent:se}],me=new K.RefSet;me.put(de);const Ee=this.xref,ke=new Uint8ClampedArray(3);for(;oe.length>0;){const xe=oe.shift(),fe=Ee.fetchIfRef(xe.obj);if(fe===null)continue;if(!fe.has("Title"))throw new U.FormatError("Invalid outline item encountered.");const ve={url:null,dest:null};Q.parseDestDictionary({destDict:fe,resultObj:ve,docBaseUrl:this.pdfManager.docBaseUrl});const ye=fe.get("Title"),Ce=fe.get("F")||0,pe=fe.getArray("C"),_e=fe.get("Count");let Ge=ke;Array.isArray(pe)&&pe.length===3&&(pe[0]!==0||pe[1]!==0||pe[2]!==0)&&(Ge=ie.ColorSpace.singletons.rgb.getRgb(pe,0));const Ae={dest:ve.dest,url:ve.url,unsafeUrl:ve.unsafeUrl,newWindow:ve.newWindow,title:(0,U.stringToPDFString)(ye),color:Ge,count:Number.isInteger(_e)?_e:void 0,bold:!!(Ce&2),italic:!!(Ce&1),items:[]};xe.parent.items.push(Ae),de=fe.getRaw("First"),de instanceof K.Ref&&!me.has(de)&&(oe.push({obj:de,parent:Ae}),me.put(de)),de=fe.getRaw("Next"),de instanceof K.Ref&&!me.has(de)&&(oe.push({obj:de,parent:xe.parent}),me.put(de))}return se.items.length>0?se.items:null}get permissions(){let de=null;try{de=this._readPermissions()}catch(se){if(se instanceof R.MissingDataException)throw se;(0,U.warn)("Unable to read permissions.")}return(0,U.shadow)(this,"permissions",de)}_readPermissions(){const de=this.xref.trailer.get("Encrypt");if(!(de instanceof K.Dict))return null;let se=de.get("P");if(typeof se!="number")return null;se+=4294967296;const oe=[];for(const me in U.PermissionFlag){const Ee=U.PermissionFlag[me];se&Ee&&oe.push(Ee)}return oe}get optionalContentConfig(){let de=null;try{const se=this._catDict.get("OCProperties");if(!se)return(0,U.shadow)(this,"optionalContentConfig",null);const oe=se.get("D");if(!oe)return(0,U.shadow)(this,"optionalContentConfig",null);const me=se.get("OCGs");if(!Array.isArray(me))return(0,U.shadow)(this,"optionalContentConfig",null);const Ee=[],ke=[];for(const xe of me){if(!(xe instanceof K.Ref))continue;ke.push(xe);const fe=this.xref.fetchIfRef(xe);Ee.push({id:xe.toString(),name:typeof fe.get("Name")=="string"?(0,U.stringToPDFString)(fe.get("Name")):null,intent:typeof fe.get("Intent")=="string"?(0,U.stringToPDFString)(fe.get("Intent")):null})}de=this._readOptionalContentConfig(oe,ke),de.groups=Ee}catch(se){if(se instanceof R.MissingDataException)throw se;(0,U.warn)(`Unable to read optional content config: ${se}`)}return(0,U.shadow)(this,"optionalContentConfig",de)}_readOptionalContentConfig(de,se){function oe(ve){const ye=[];if(Array.isArray(ve))for(const Ce of ve)Ce instanceof K.Ref&&se.includes(Ce)&&ye.push(Ce.toString());return ye}function me(ve){let ye=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;if(!Array.isArray(ve))return null;const Ce=[];for(const _e of ve){if(_e instanceof K.Ref&&se.includes(_e)){xe.put(_e),Ce.push(_e.toString());continue}const Ge=Ee(_e,ye);Ge&&Ce.push(Ge)}if(ye>0)return Ce;const pe=[];for(const _e of se)xe.has(_e)||pe.push(_e.toString());return pe.length&&Ce.push({name:null,order:pe}),Ce}function Ee(ve,ye){if(++ye>fe)return(0,U.warn)("parseNestedOrder - reached MAX_NESTED_LEVELS."),null;const Ce=ke.fetchIfRef(ve);if(!Array.isArray(Ce))return null;const pe=ke.fetchIfRef(Ce[0]);if(typeof pe!="string")return null;const _e=me(Ce.slice(1),ye);return!_e||!_e.length?null:{name:(0,U.stringToPDFString)(pe),order:_e}}const ke=this.xref,xe=new K.RefSet,fe=10;return{name:typeof de.get("Name")=="string"?(0,U.stringToPDFString)(de.get("Name")):null,creator:typeof de.get("Creator")=="string"?(0,U.stringToPDFString)(de.get("Creator")):null,baseState:de.get("BaseState")instanceof K.Name?de.get("BaseState").name:null,on:oe(de.get("ON")),off:oe(de.get("OFF")),order:me(de.get("Order")),groups:null}}setActualNumPages(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._actualNumPages=de}get hasActualNumPages(){return this._actualNumPages!==null}get _pagesCount(){const de=this.toplevelPagesDict.get("Count");if(!Number.isInteger(de))throw new U.FormatError("Page count in top-level pages dictionary is not an integer.");return(0,U.shadow)(this,"_pagesCount",de)}get numPages(){return this.hasActualNumPages?this._actualNumPages:this._pagesCount}get destinations(){const de=this._readDests(),se=Object.create(null);if(de instanceof z.NameTree)for(const[oe,me]of de.getAll()){const Ee=L(me);Ee&&(se[(0,U.stringToPDFString)(oe)]=Ee)}else de instanceof K.Dict&&de.forEach(function(oe,me){const Ee=L(me);Ee&&(se[oe]=Ee)});return(0,U.shadow)(this,"destinations",se)}getDestination(de){const se=this._readDests();if(se instanceof z.NameTree){const oe=L(se.get(de));if(oe)return oe;const me=this.destinations[de];if(me)return(0,U.warn)(`Found "${de}" at an incorrect position in the NameTree.`),me}else if(se instanceof K.Dict){const oe=L(se.get(de));if(oe)return oe}return null}_readDests(){const de=this._catDict.get("Names");if(de&&de.has("Dests"))return new z.NameTree(de.getRaw("Dests"),this.xref);if(this._catDict.has("Dests"))return this._catDict.get("Dests")}get pageLabels(){let de=null;try{de=this._readPageLabels()}catch(se){if(se instanceof R.MissingDataException)throw se;(0,U.warn)("Unable to read page labels.")}return(0,U.shadow)(this,"pageLabels",de)}_readPageLabels(){const de=this._catDict.getRaw("PageLabels");if(!de)return null;const se=new Array(this.numPages);let oe=null,me="";const ke=new z.NumberTree(de,this.xref).getAll();let xe="",fe=1;for(let ve=0,ye=this.numPages;ve=1))throw new U.FormatError("Invalid start in PageLabel dictionary.");fe=pe}else fe=1}switch(oe){case"D":xe=fe;break;case"R":case"r":xe=(0,R.toRomanNumerals)(fe,oe==="r");break;case"A":case"a":const pe=26,Ae=oe==="a"?97:65,Ne=fe-1;xe=String.fromCharCode(Ae+Ne%pe).repeat(Math.floor(Ne/pe)+1);break;default:if(oe)throw new U.FormatError(`Invalid style "${oe}" in PageLabel dictionary.`);xe=""}se[ve]=me+xe,fe++}return se}get pageLayout(){const de=this._catDict.get("PageLayout");let se="";if(de instanceof K.Name)switch(de.name){case"SinglePage":case"OneColumn":case"TwoColumnLeft":case"TwoColumnRight":case"TwoPageLeft":case"TwoPageRight":se=de.name}return(0,U.shadow)(this,"pageLayout",se)}get pageMode(){const de=this._catDict.get("PageMode");let se="UseNone";if(de instanceof K.Name)switch(de.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC":case"UseAttachments":se=de.name}return(0,U.shadow)(this,"pageMode",se)}get viewerPreferences(){const de=this._catDict.get("ViewerPreferences");if(!(de instanceof K.Dict))return(0,U.shadow)(this,"viewerPreferences",null);let se=null;for(const oe of de.getKeys()){const me=de.get(oe);let Ee;switch(oe){case"HideToolbar":case"HideMenubar":case"HideWindowUI":case"FitWindow":case"CenterWindow":case"DisplayDocTitle":case"PickTrayByPDFSize":typeof me=="boolean"&&(Ee=me);break;case"NonFullScreenPageMode":if(me instanceof K.Name)switch(me.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"UseOC":Ee=me.name;break;default:Ee="UseNone"}break;case"Direction":if(me instanceof K.Name)switch(me.name){case"L2R":case"R2L":Ee=me.name;break;default:Ee="L2R"}break;case"ViewArea":case"ViewClip":case"PrintArea":case"PrintClip":if(me instanceof K.Name)switch(me.name){case"MediaBox":case"CropBox":case"BleedBox":case"TrimBox":case"ArtBox":Ee=me.name;break;default:Ee="CropBox"}break;case"PrintScaling":if(me instanceof K.Name)switch(me.name){case"None":case"AppDefault":Ee=me.name;break;default:Ee="AppDefault"}break;case"Duplex":if(me instanceof K.Name)switch(me.name){case"Simplex":case"DuplexFlipShortEdge":case"DuplexFlipLongEdge":Ee=me.name;break;default:Ee="None"}break;case"PrintPageRange":Array.isArray(me)&&me.length%2===0&&me.every((xe,fe,ve)=>Number.isInteger(xe)&&xe>0&&(fe===0||xe>=ve[fe-1])&&xe<=this.numPages)&&(Ee=me);break;case"NumCopies":Number.isInteger(me)&&me>0&&(Ee=me);break;default:(0,U.warn)(`Ignoring non-standard key in ViewerPreferences: ${oe}.`);continue}if(Ee===void 0){(0,U.warn)(`Bad value, for key "${oe}", in ViewerPreferences: ${me}.`);continue}se||(se=Object.create(null)),se[oe]=Ee}return(0,U.shadow)(this,"viewerPreferences",se)}get openAction(){const de=this._catDict.get("OpenAction"),se=Object.create(null);if(de instanceof K.Dict){const oe=new K.Dict(this.xref);oe.set("A",de);const me={url:null,dest:null,action:null};Q.parseDestDictionary({destDict:oe,resultObj:me}),Array.isArray(me.dest)?se.dest=me.dest:me.action&&(se.action=me.action)}else Array.isArray(de)&&(se.dest=de);return(0,U.shadow)(this,"openAction",(0,U.objectSize)(se)>0?se:null)}get attachments(){const de=this._catDict.get("Names");let se=null;if(de instanceof K.Dict&&de.has("EmbeddedFiles")){const oe=new z.NameTree(de.getRaw("EmbeddedFiles"),this.xref);for(const[me,Ee]of oe.getAll()){const ke=new he.FileSpec(Ee,this.xref);se||(se=Object.create(null)),se[(0,U.stringToPDFString)(me)]=ke.serializable}}return(0,U.shadow)(this,"attachments",se)}get xfaImages(){const de=this._catDict.get("Names");let se=null;if(de instanceof K.Dict&&de.has("XFAImages")){const oe=new z.NameTree(de.getRaw("XFAImages"),this.xref);for(const[me,Ee]of oe.getAll())se||(se=new K.Dict(this.xref)),se.set((0,U.stringToPDFString)(me),Ee)}return(0,U.shadow)(this,"xfaImages",se)}_collectJavaScript(){const de=this._catDict.get("Names");let se=null;function oe(Ee,ke){if(!(ke instanceof K.Dict)||!(0,K.isName)(ke.get("S"),"JavaScript"))return;let xe=ke.get("JS");if(xe instanceof e.BaseStream)xe=xe.getString();else if(typeof xe!="string")return;se===null&&(se=new Map),xe=(0,U.stringToPDFString)(xe).replace(/\u0000/g,""),se.set(Ee,xe)}if(de instanceof K.Dict&&de.has("JavaScript")){const Ee=new z.NameTree(de.getRaw("JavaScript"),this.xref);for(const[ke,xe]of Ee.getAll())oe((0,U.stringToPDFString)(ke),xe)}const me=this._catDict.get("OpenAction");return me&&oe("OpenAction",me),se}get javaScript(){const de=this._collectJavaScript();return(0,U.shadow)(this,"javaScript",de?[...de.values()]:null)}get jsActions(){const de=this._collectJavaScript();let se=(0,R.collectActions)(this.xref,this._catDict,U.DocumentActionEventType);if(de){se||(se=Object.create(null));for(const[oe,me]of de)oe in se?se[oe].push(me):se[oe]=[me]}return(0,U.shadow)(this,"jsActions",se)}async fontFallback(de,se){const oe=await Promise.all(this.fontCache);for(const me of oe)if(me.loadedName===de){me.fallback(se);return}}async cleanup(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;(0,ae.clearGlobalCaches)(),this.globalImageCache.clear(de),this.pageKidsCountCache.clear(),this.pageIndexCache.clear(),this.nonBlendModesSet.clear();const se=await Promise.all(this.fontCache);for(const{dict:oe}of se)delete oe.cacheKey;this.fontCache.clear(),this.builtInCMapCache.clear(),this.standardFontDataCache.clear()}async getPageDict(de){const se=[this.toplevelPagesDict],oe=new K.RefSet,me=this._catDict.getRaw("Pages");me instanceof K.Ref&&oe.put(me);const Ee=this.xref,ke=this.pageKidsCountCache,xe=this.pageIndexCache;let fe=0;for(;se.length;){const ve=se.pop();if(ve instanceof K.Ref){const _e=ke.get(ve);if(_e>=0&&fe+_e<=de){fe+=_e;continue}if(oe.has(ve))throw new U.FormatError("Pages tree contains circular reference.");oe.put(ve);const Ge=await Ee.fetchAsync(ve);if(Ge instanceof K.Dict){let Ae=Ge.getRaw("Type");if(Ae instanceof K.Ref&&(Ae=await Ee.fetchAsync(Ae)),(0,K.isName)(Ae,"Page")||!Ge.has("Kids")){if(ke.has(ve)||ke.put(ve,1),xe.has(ve)||xe.put(ve,fe),fe===de)return[Ge,ve];fe++;continue}}se.push(Ge);continue}if(!(ve instanceof K.Dict))throw new U.FormatError("Page dictionary kid reference points to wrong type of object.");const{objId:ye}=ve;let Ce=ve.getRaw("Count");if(Ce instanceof K.Ref&&(Ce=await Ee.fetchAsync(Ce)),Number.isInteger(Ce)&&Ce>=0&&(ye&&!ke.has(ye)&&ke.put(ye,Ce),fe+Ce<=de)){fe+=Ce;continue}let pe=ve.getRaw("Kids");if(pe instanceof K.Ref&&(pe=await Ee.fetchAsync(pe)),!Array.isArray(pe)){let _e=ve.getRaw("Type");if(_e instanceof K.Ref&&(_e=await Ee.fetchAsync(_e)),(0,K.isName)(_e,"Page")||!ve.has("Kids")){if(fe===de)return[ve,null];fe++;continue}throw new U.FormatError("Page dictionary kids object is not an array.")}for(let _e=pe.length-1;_e>=0;_e--)se.push(pe[_e])}throw new Error(`Page index ${de} not found.`)}async getAllPageDicts(){let de=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const se=[{currentNode:this.toplevelPagesDict,posInKids:0}],oe=new K.RefSet,me=this._catDict.getRaw("Pages");me instanceof K.Ref&&oe.put(me);const Ee=new Map,ke=this.xref,xe=this.pageIndexCache;let fe=0;function ve(Ce,pe){pe&&!xe.has(pe)&&xe.put(pe,fe),Ee.set(fe++,[Ce,pe])}function ye(Ce){if(Ce instanceof R.XRefEntryException&&!de)throw Ce;Ee.set(fe++,[Ce,null])}for(;se.length>0;){const Ce=se.at(-1),{currentNode:pe,posInKids:_e}=Ce;let Ge=pe.getRaw("Kids");if(Ge instanceof K.Ref)try{Ge=await ke.fetchAsync(Ge)}catch(ze){ye(ze);break}if(!Array.isArray(Ge)){ye(new U.FormatError("Page dictionary kids object is not an array."));break}if(_e>=Ge.length){se.pop();continue}const Ae=Ge[_e];let Ne;if(Ae instanceof K.Ref){if(oe.has(Ae)){ye(new U.FormatError("Pages tree contains circular reference."));break}oe.put(Ae);try{Ne=await ke.fetchAsync(Ae)}catch(ze){ye(ze);break}}else Ne=Ae;if(!(Ne instanceof K.Dict)){ye(new U.FormatError("Page dictionary kid reference points to wrong type of object."));break}let Ze=Ne.getRaw("Type");if(Ze instanceof K.Ref)try{Ze=await ke.fetchAsync(Ze)}catch(ze){ye(ze);break}(0,K.isName)(Ze,"Page")||!Ne.has("Kids")?ve(Ne,Ae instanceof K.Ref?Ae:null):se.push({currentNode:Ne,posInKids:0}),Ce.posInKids++}return Ee}getPageIndex(de){const se=this.pageIndexCache.get(de);if(se!==void 0)return Promise.resolve(se);const oe=this.xref;function me(xe){let fe=0,ve;return oe.fetchAsync(xe).then(function(ye){if((0,K.isRefsEqual)(xe,de)&&!(0,K.isDict)(ye,"Page")&&!(ye instanceof K.Dict&&!ye.has("Type")&&ye.has("Contents")))throw new U.FormatError("The reference does not point to a /Page dictionary.");if(!ye)return null;if(!(ye instanceof K.Dict))throw new U.FormatError("Node must be a dictionary.");return ve=ye.getRaw("Parent"),ye.getAsync("Parent")}).then(function(ye){if(!ye)return null;if(!(ye instanceof K.Dict))throw new U.FormatError("Parent must be a dictionary.");return ye.getAsync("Kids")}).then(function(ye){if(!ye)return null;const Ce=[];let pe=!1;for(let _e=0,Ge=ye.length;_eme(xe).then(fe=>{if(!fe)return this.pageIndexCache.put(de,Ee),Ee;const[ve,ye]=fe;return Ee+=ve,ke(ye)});return ke(de)}get baseUrl(){const de=this._catDict.get("URI");if(de instanceof K.Dict){const se=de.get("Base");if(typeof se=="string"){const oe=(0,U.createValidAbsoluteUrl)(se,null,{tryConvertEncoding:!0});if(oe)return(0,U.shadow)(this,"baseUrl",oe.href)}}return(0,U.shadow)(this,"baseUrl",null)}static parseDestDictionary(de){const se=de.destDict;if(!(se instanceof K.Dict)){(0,U.warn)("parseDestDictionary: `destDict` must be a dictionary.");return}const oe=de.resultObj;if(typeof oe!="object"){(0,U.warn)("parseDestDictionary: `resultObj` must be an object.");return}const me=de.docBaseUrl||null;let Ee=se.get("A"),ke,xe;if(Ee instanceof K.Dict||(se.has("Dest")?Ee=se.get("Dest"):(Ee=se.get("AA"),Ee instanceof K.Dict&&(Ee.has("D")?Ee=Ee.get("D"):Ee.has("U")&&(Ee=Ee.get("U"))))),Ee instanceof K.Dict){const fe=Ee.get("S");if(!(fe instanceof K.Name)){(0,U.warn)("parseDestDictionary: Invalid type in Action dictionary.");return}const ve=fe.name;switch(ve){case"ResetForm":const ye=Ee.get("Flags"),Ce=((typeof ye=="number"?ye:0)&1)===0,pe=[],_e=[];for(const Pe of Ee.get("Fields")||[])Pe instanceof K.Ref?_e.push(Pe.toString()):typeof Pe=="string"&&pe.push((0,U.stringToPDFString)(Pe));oe.resetForm={fields:pe,refs:_e,include:Ce};break;case"URI":ke=Ee.get("URI"),ke instanceof K.Name&&(ke="/"+ke.name);break;case"GoTo":xe=Ee.get("D");break;case"Launch":case"GoToR":const Ge=Ee.get("F");Ge instanceof K.Dict?ke=Ge.get("F")||null:typeof Ge=="string"&&(ke=Ge);let Ae=Ee.get("D");if(Ae&&(Ae instanceof K.Name&&(Ae=Ae.name),typeof ke=="string")){const Pe=ke.split("#")[0];typeof Ae=="string"?ke=Pe+"#"+Ae:Array.isArray(Ae)&&(ke=Pe+"#"+JSON.stringify(Ae))}const Ne=Ee.get("NewWindow");typeof Ne=="boolean"&&(oe.newWindow=Ne);break;case"Named":const Ze=Ee.get("N");Ze instanceof K.Name&&(oe.action=Ze.name);break;case"JavaScript":const ze=Ee.get("JS");let Te;ze instanceof e.BaseStream?Te=ze.getString():typeof ze=="string"&&(Te=ze);const Fe=Te&&(0,R.recoverJsURL)((0,U.stringToPDFString)(Te));if(Fe){ke=Fe.url,oe.newWindow=Fe.newWindow;break}default:if(ve==="JavaScript"||ve==="SubmitForm")break;(0,U.warn)(`parseDestDictionary - unsupported action: "${ve}".`);break}}else se.has("Dest")&&(xe=se.get("Dest"));if(typeof ke=="string"){const fe=(0,U.createValidAbsoluteUrl)(ke,me,{addDefaultProtocol:!0,tryConvertEncoding:!0});fe&&(oe.url=fe.href),oe.unsafeUrl=ke}xe&&(xe instanceof K.Name&&(xe=xe.name),typeof xe=="string"?oe.dest=(0,U.stringToPDFString)(xe):Array.isArray(xe)&&(oe.dest=xe))}}D.Catalog=Q},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.NumberTree=D.NameTree=void 0;var R=B(130),U=B(2);class K{constructor(ie,he,J){this.constructor===K&&(0,U.unreachable)("Cannot initialize NameOrNumberTree."),this.root=ie,this.xref=he,this._type=J}getAll(){const ie=new Map;if(!this.root)return ie;const he=this.xref,J=new R.RefSet;J.put(this.root);const W=[this.root];for(;W.length>0;){const X=he.fetchIfRef(W.shift());if(!(X instanceof R.Dict))continue;if(X.has("Kids")){const Q=X.get("Kids");if(!Array.isArray(Q))continue;for(const ce of Q){if(J.has(ce))throw new U.FormatError(`Duplicate entry in "${this._type}" tree.`);W.push(ce),J.put(ce)}continue}const L=X.get(this._type);if(Array.isArray(L))for(let Q=0,ce=L.length;QX)return(0,U.warn)(`Search depth limit reached for "${this._type}" tree.`),null;const Q=J.get("Kids");if(!Array.isArray(Q))return null;let ce=0,de=Q.length-1;for(;ce<=de;){const se=ce+de>>1,oe=he.fetchIfRef(Q[se]),me=oe.get("Limits");if(iehe.fetchIfRef(me[1]))ce=se+1;else{J=oe;break}}if(ce>de)return null}const L=J.get(this._type);if(Array.isArray(L)){let Q=0,ce=L.length-2;for(;Q<=ce;){const de=Q+ce>>1,se=de+(de&1),oe=he.fetchIfRef(L[se]);if(ieoe)Q=se+2;else return he.fetchIfRef(L[se+1])}}return null}}class z extends K{constructor(ie,he){super(ie,he,"Names")}}D.NameTree=z;class e extends K{constructor(ie,he){super(ie,he,"Nums")}}D.NumberTree=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.clearGlobalCaches=K;var R=B(130),U=B(165);function K(){(0,R.clearPrimitiveCaches)(),(0,U.clearUnicodeCaches)()}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.FileSpec=void 0;var R=B(2),U=B(132),K=B(130);function z(ae){return ae.has("UF")?ae.get("UF"):ae.has("F")?ae.get("F"):ae.has("Unix")?ae.get("Unix"):ae.has("Mac")?ae.get("Mac"):ae.has("DOS")?ae.get("DOS"):null}class e{constructor(ie,he){ie instanceof K.Dict&&(this.xref=he,this.root=ie,ie.has("FS")&&(this.fs=ie.get("FS")),this.description=ie.has("Desc")?(0,R.stringToPDFString)(ie.get("Desc")):"",ie.has("RF")&&(0,R.warn)("Related file specifications are not supported"),this.contentAvailable=!0,ie.has("EF")||(this.contentAvailable=!1,(0,R.warn)("Non-embedded file specifications are not supported")))}get filename(){if(!this._filename&&this.root){const ie=z(this.root)||"unnamed";this._filename=(0,R.stringToPDFString)(ie).replace(/\\\\/g,"\\").replace(/\\\//g,"/").replace(/\\/g,"/")}return this._filename}get content(){if(!this.contentAvailable)return null;!this.contentRef&&this.root&&(this.contentRef=z(this.root.get("EF")));let ie=null;if(this.contentRef){const he=this.xref.fetchIfRef(this.contentRef);he instanceof U.BaseStream?ie=he.getBytes():(0,R.warn)("Embedded file specification points to non-existing/invalid content")}else(0,R.warn)("Embedded file specification does not have a content");return ie}get serializable(){return{filename:this.filename,content:this.content}}}D.FileSpec=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.MetadataParser=void 0;var R=B(191);class U{constructor(z){z=this._repair(z);const ae=new R.SimpleXMLParser({lowerCaseName:!0}).parseFromString(z);this._metadataMap=new Map,this._data=z,ae&&this._parse(ae)}_repair(z){return z.replace(/^[^<]+/,"").replace(/>\\376\\377([^<]+)/g,function(e,ae){const ie=ae.replace(/\\([0-3])([0-7])([0-7])/g,function(J,W,X,L){return String.fromCharCode(W*64+X*8+L*1)}).replace(/&(amp|apos|gt|lt|quot);/g,function(J,W){switch(W){case"amp":return"&";case"apos":return"'";case"gt":return">";case"lt":return"<";case"quot":return'"'}throw new Error(`_repair: ${W} isn't defined.`)}),he=[];for(let J=0,W=ie.length;J=32&&X<127&&X!==60&&X!==62&&X!==38?he.push(String.fromCharCode(X)):he.push("&#x"+(65536+X).toString(16).substring(1)+";")}return">"+he.join("")})}_getSequence(z){const e=z.nodeName;return e!=="rdf:bag"&&e!=="rdf:seq"&&e!=="rdf:alt"?null:z.childNodes.filter(ae=>ae.nodeName==="rdf:li")}_parseArray(z){if(!z.hasChildNodes())return;const[e]=z.childNodes,ae=this._getSequence(e)||[];this._metadataMap.set(z.nodeName,ae.map(ie=>ie.textContent.trim()))}_parse(z){let e=z.documentElement;if(e.nodeName!=="rdf:rdf")for(e=e.firstChild;e&&e.nodeName!=="rdf:rdf";)e=e.nextSibling;if(!(!e||e.nodeName!=="rdf:rdf"||!e.hasChildNodes())){for(const ae of e.childNodes)if(ae.nodeName==="rdf:description")for(const ie of ae.childNodes){const he=ie.nodeName;switch(he){case"#text":continue;case"dc:creator":case"dc:subject":this._parseArray(ie);continue}this._metadataMap.set(he,ie.textContent.trim())}}}get serializable(){return{parsedData:this._metadataMap,rawData:this._data}}}D.MetadataParser=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.StructTreeRoot=D.StructTreePage=void 0;var R=B(130),U=B(2),K=B(195);const z=40,e={PAGE_CONTENT:"PAGE_CONTENT",STREAM_CONTENT:"STREAM_CONTENT",OBJECT:"OBJECT",ELEMENT:"ELEMENT"};class ae{constructor(X){this.dict=X,this.roleMap=new Map}init(){this.readRoleMap()}readRoleMap(){const X=this.dict.get("RoleMap");X instanceof R.Dict&&X.forEach((L,Q)=>{Q instanceof R.Name&&this.roleMap.set(L,Q.name)})}}D.StructTreeRoot=ae;class ie{constructor(X,L){this.tree=X,this.dict=L,this.kids=[],this.parseKids()}get role(){const X=this.dict.get("S"),L=X instanceof R.Name?X.name:"",{root:Q}=this.tree;return Q.roleMap.has(L)?Q.roleMap.get(L):L}parseKids(){let X=null;const L=this.dict.getRaw("Pg");L instanceof R.Ref&&(X=L.toString());const Q=this.dict.get("K");if(Array.isArray(Q))for(const ce of Q){const de=this.parseKid(X,ce);de&&this.kids.push(de)}else{const ce=this.parseKid(X,Q);ce&&this.kids.push(ce)}}parseKid(X,L){if(Number.isInteger(L))return this.tree.pageDict.objId!==X?null:new he({type:e.PAGE_CONTENT,mcid:L,pageObjId:X});let Q=null;if(L instanceof R.Ref?Q=this.dict.xref.fetch(L):L instanceof R.Dict&&(Q=L),!Q)return null;const ce=Q.getRaw("Pg");ce instanceof R.Ref&&(X=ce.toString());const de=Q.get("Type")instanceof R.Name?Q.get("Type").name:null;return de==="MCR"?this.tree.pageDict.objId!==X?null:new he({type:e.STREAM_CONTENT,refObjId:Q.getRaw("Stm")instanceof R.Ref?Q.getRaw("Stm").toString():null,pageObjId:X,mcid:Q.get("MCID")}):de==="OBJR"?this.tree.pageDict.objId!==X?null:new he({type:e.OBJECT,refObjId:Q.getRaw("Obj")instanceof R.Ref?Q.getRaw("Obj").toString():null,pageObjId:X}):new he({type:e.ELEMENT,dict:Q})}}class he{constructor(X){let{type:L,dict:Q=null,mcid:ce=null,pageObjId:de=null,refObjId:se=null}=X;this.type=L,this.dict=Q,this.mcid=ce,this.pageObjId=de,this.refObjId=se,this.parentNode=null}}class J{constructor(X,L){this.root=X,this.rootDict=X?X.dict:null,this.pageDict=L,this.nodes=[]}parse(){if(!this.root||!this.rootDict)return;const X=this.rootDict.get("ParentTree");if(!X)return;const L=this.pageDict.get("StructParents");if(!Number.isInteger(L))return;const ce=new K.NumberTree(X,this.rootDict.xref).get(L);if(!Array.isArray(ce))return;const de=new Map;for(const se of ce)se instanceof R.Ref&&this.addNode(this.rootDict.xref.fetch(se),de)}addNode(X,L){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0;if(Q>z)return(0,U.warn)("StructTree MAX_DEPTH reached."),null;if(L.has(X))return L.get(X);const ce=new ie(this,X);L.set(X,ce);const de=X.get("P");if(!de||(0,R.isName)(de.get("Type"),"StructTreeRoot"))return this.addTopLevelNode(X,ce)||L.delete(X),ce;const se=this.addNode(de,L,Q+1);if(!se)return ce;let oe=!1;for(const me of se.kids)me.type===e.ELEMENT&&me.dict===X&&(me.parentNode=ce,oe=!0);return oe||L.delete(X),ce}addTopLevelNode(X,L){const Q=this.rootDict.get("K");if(!Q)return!1;if(Q instanceof R.Dict)return Q.objId!==X.objId?!1:(this.nodes[0]=L,!0);if(!Array.isArray(Q))return!0;let ce=!1;for(let de=0;de2&&arguments[2]!==void 0?arguments[2]:0;if(de>z){(0,U.warn)("StructTree too deep to be fully serialized.");return}const se=Object.create(null);se.role=Q.role,se.children=[],ce.children.push(se);const oe=Q.dict.get("Alt");typeof oe=="string"&&(se.alt=(0,U.stringToPDFString)(oe));const me=Q.dict.get("Lang");typeof me=="string"&&(se.lang=(0,U.stringToPDFString)(me));for(const Ee of Q.kids){const ke=Ee.type===e.ELEMENT?Ee.parentNode:null;if(ke){X(ke,se,de+1);continue}else Ee.type===e.PAGE_CONTENT||Ee.type===e.STREAM_CONTENT?se.children.push({type:"content",id:`page${Ee.pageObjId}_mcid${Ee.mcid}`}):Ee.type===e.OBJECT&&se.children.push({type:"object",id:Ee.refObjId})}}const L=Object.create(null);L.children=[],L.role="Root";for(const Q of this.nodes)Q&&X(Q,L);return L}}D.StructTreePage=J},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ObjectLoader=void 0;var R=B(130),U=B(132),K=B(131),z=B(2);function e(he){return he instanceof R.Ref||he instanceof R.Dict||he instanceof U.BaseStream||Array.isArray(he)}function ae(he,J){if(he instanceof R.Dict)he=he.getRawValues();else if(he instanceof U.BaseStream)he=he.dict.getRawValues();else if(!Array.isArray(he))return;for(const W of he)e(W)&&J.push(W)}class ie{constructor(J,W,X){this.dict=J,this.keys=W,this.xref=X,this.refSet=null}async load(){if(this.xref.stream.isDataLoaded)return;const{keys:J,dict:W}=this;this.refSet=new R.RefSet;const X=[];for(let L=0,Q=J.length;L{Object.defineProperty(D,"__esModule",{value:!0}),D.XFAFactory=void 0;var R=B(202),U=B(206),K=B(212),z=B(210),e=B(203),ae=B(2),ie=B(213),he=B(223);class J{constructor(X){try{this.root=new ie.XFAParser().parse(J._createDocument(X));const L=new U.Binder(this.root);this.form=L.bind(),this.dataHandler=new K.DataHandler(this.root,L.getData()),this.form[R.$globalData].template=this.form}catch(L){(0,ae.warn)(`XFA - an error occurred during parsing and binding: ${L}`)}}isValid(){return this.root&&this.form}_createPagesHelper(){const X=this.form[R.$toPages]();return new Promise((L,Q)=>{const ce=()=>{try{const de=X.next();de.done?L(de.value):setTimeout(ce,0)}catch(de){Q(de)}};setTimeout(ce,0)})}async _createPages(){try{this.pages=await this._createPagesHelper(),this.dims=this.pages.children.map(X=>{const{width:L,height:Q}=X.attributes.style;return[0,0,parseInt(L),parseInt(Q)]})}catch(X){(0,ae.warn)(`XFA - an error occurred during layout: ${X}`)}}getBoundingBox(X){return this.dims[X]}async getNumPages(){return this.pages||await this._createPages(),this.dims.length}setImages(X){this.form[R.$globalData].images=X}setFonts(X){this.form[R.$globalData].fontFinder=new z.FontFinder(X);const L=[];for(let Q of this.form[R.$globalData].usedTypefaces)Q=(0,e.stripQuotes)(Q),this.form[R.$globalData].fontFinder.find(Q)||L.push(Q);return L.length>0?L:null}appendFonts(X,L){this.form[R.$globalData].fontFinder.add(X,L)}async getPages(){this.pages||await this._createPages();const X=this.pages;return this.pages=null,X}serializeData(X){return this.dataHandler.serialize(X)}static _createDocument(X){return X["/xdp:xdp"]?Object.values(X).join(""):X["xdp:xdp"]}static getRichTextAsHtml(X){if(!X||typeof X!="string")return null;try{let L=new ie.XFAParser(he.XhtmlNamespace,!0).parse(X);if(!["body","xhtml"].includes(L[R.$nodeName])){const se=he.XhtmlNamespace.body({});se[R.$appendChild](L),L=se}const Q=L[R.$toHTML]();if(!Q.success)return null;const{html:ce}=Q,{attributes:de}=ce;return de&&(de.class&&(de.class=de.class.filter(se=>!se.startsWith("xfa"))),de.dir="auto"),{html:ce,str:L[R.$text]()}}catch(L){(0,ae.warn)(`XFA - an error occurred during parsing of rich text: ${L}`)}return null}}D.XFAFactory=J},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XmlObject=D.XFAObjectArray=D.XFAObject=D.XFAAttribute=D.StringObject=D.OptionObject=D.Option10=D.Option01=D.IntegerObject=D.ContentObject=D.$uid=D.$toStyle=D.$toString=D.$toPages=D.$toHTML=D.$text=D.$tabIndex=D.$setValue=D.$setSetAttributes=D.$setId=D.$searchNode=D.$root=D.$resolvePrototypes=D.$removeChild=D.$pushPara=D.$pushGlyphs=D.$popPara=D.$onText=D.$onChildCheck=D.$onChild=D.$nsAttributes=D.$nodeName=D.$namespaceId=D.$isUsable=D.$isTransparent=D.$isThereMoreWidth=D.$isSplittable=D.$isNsAgnostic=D.$isDescendent=D.$isDataValue=D.$isCDATAXml=D.$isBindable=D.$insertAt=D.$indexOf=D.$ids=D.$hasSettableValue=D.$globalData=D.$getTemplateRoot=D.$getSubformParent=D.$getRealChildrenByNameIt=D.$getParent=D.$getNextPage=D.$getExtra=D.$getDataValue=D.$getContainedChildren=D.$getChildrenByNameIt=D.$getChildrenByName=D.$getChildrenByClass=D.$getChildren=D.$getAvailableSpace=D.$getAttributes=D.$getAttributeIt=D.$flushHTML=D.$finalize=D.$extra=D.$dump=D.$data=D.$content=D.$consumed=D.$clone=D.$cleanup=D.$cleanPage=D.$clean=D.$childrenToHTML=D.$appendChild=D.$addHTML=D.$acceptWhitespace=void 0;var R=B(203),U=B(2),K=B(131),z=B(204),e=B(205);const ae=Symbol();D.$acceptWhitespace=ae;const ie=Symbol();D.$addHTML=ie;const he=Symbol();D.$appendChild=he;const J=Symbol();D.$childrenToHTML=J;const W=Symbol();D.$clean=W;const X=Symbol();D.$cleanPage=X;const L=Symbol();D.$cleanup=L;const Q=Symbol();D.$clone=Q;const ce=Symbol();D.$consumed=ce;const de=Symbol("content");D.$content=de;const se=Symbol("data");D.$data=se;const oe=Symbol();D.$dump=oe;const me=Symbol("extra");D.$extra=me;const Ee=Symbol();D.$finalize=Ee;const ke=Symbol();D.$flushHTML=ke;const xe=Symbol();D.$getAttributeIt=xe;const fe=Symbol();D.$getAttributes=fe;const ve=Symbol();D.$getAvailableSpace=ve;const ye=Symbol();D.$getChildrenByClass=ye;const Ce=Symbol();D.$getChildrenByName=Ce;const pe=Symbol();D.$getChildrenByNameIt=pe;const _e=Symbol();D.$getDataValue=_e;const Ge=Symbol();D.$getExtra=Ge;const Ae=Symbol();D.$getRealChildrenByNameIt=Ae;const Ne=Symbol();D.$getChildren=Ne;const Ze=Symbol();D.$getContainedChildren=Ze;const ze=Symbol();D.$getNextPage=ze;const Te=Symbol();D.$getSubformParent=Te;const Fe=Symbol();D.$getParent=Fe;const Pe=Symbol();D.$getTemplateRoot=Pe;const we=Symbol();D.$globalData=we;const Ie=Symbol();D.$hasSettableValue=Ie;const Be=Symbol();D.$ids=Be;const Ke=Symbol();D.$indexOf=Ke;const Ve=Symbol();D.$insertAt=Ve;const je=Symbol();D.$isCDATAXml=je;const Le=Symbol();D.$isBindable=Le;const et=Symbol();D.$isDataValue=et;const Qe=Symbol();D.$isDescendent=Qe;const Ue=Symbol();D.$isNsAgnostic=Ue;const $e=Symbol();D.$isSplittable=$e;const Ye=Symbol();D.$isThereMoreWidth=Ye;const tt=Symbol();D.$isTransparent=tt;const ot=Symbol();D.$isUsable=ot;const st=Symbol(),dt=Symbol("namespaceId");D.$namespaceId=dt;const ct=Symbol("nodeName");D.$nodeName=ct;const mt=Symbol();D.$nsAttributes=mt;const ut=Symbol();D.$onChild=ut;const rt=Symbol();D.$onChildCheck=rt;const He=Symbol();D.$onText=He;const Je=Symbol();D.$pushGlyphs=Je;const St=Symbol();D.$popPara=St;const bt=Symbol();D.$pushPara=bt;const pt=Symbol();D.$removeChild=pt;const wt=Symbol("root");D.$root=wt;const Pt=Symbol();D.$resolvePrototypes=Pt;const Nt=Symbol();D.$searchNode=Nt;const Vt=Symbol();D.$setId=Vt;const Wt=Symbol();D.$setSetAttributes=Wt;const Mt=Symbol();D.$setValue=Mt;const $t=Symbol();D.$tabIndex=$t;const Yt=Symbol();D.$text=Yt;const Ft=Symbol();D.$toPages=Ft;const Jt=Symbol();D.$toHTML=Jt;const er=Symbol();D.$toString=er;const Bt=Symbol();D.$toStyle=Bt;const It=Symbol("uid");D.$uid=It;const Dt=Symbol(),Zt=Symbol(),gr=Symbol(),fr=Symbol("_children"),Dr=Symbol(),kr=Symbol(),cr=Symbol(),Ar=Symbol(),yt=Symbol(),vt=Symbol(),Xt=Symbol(),At=Symbol(),zt=Symbol(),Br=Symbol("parent"),br=Symbol(),Ur=Symbol(),un=Symbol();let sr=0;const ur=z.NamespaceIds.datasets.id;class Cr{constructor(ar,xr){let Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this[dt]=ar,this[ct]=xr,this[Xt]=Lr,this[Br]=null,this[fr]=[],this[It]=`${xr}${sr++}`,this[we]=null}[ut](ar){if(!this[Xt]||!this[rt](ar))return!1;const xr=ar[ct],Lr=this[xr];if(Lr instanceof Tr){if(Lr.push(ar))return this[he](ar),!0}else return Lr!==null&&this[pt](Lr),this[xr]=ar,this[he](ar),!0;let Rr="";return this.id?Rr=` (id: ${this.id})`:this.name&&(Rr=` (name: ${this.name} ${this.h.value})`),(0,U.warn)(`XFA - node "${this[ct]}"${Rr} has already enough "${xr}"!`),!1}[rt](ar){return this.hasOwnProperty(ar[ct])&&ar[dt]===this[dt]}[Ue](){return!1}[ae](){return!1}[je](){return!1}[Le](){return!1}[St](){this.para&&this[Pe]()[me].paraStack.pop()}[bt](){this[Pe]()[me].paraStack.push(this.para)}[Vt](ar){this.id&&this[dt]===z.NamespaceIds.template.id&&ar.set(this.id,this)}[Pe](){return this[we].template}[$e](){return!1}[Ye](){return!1}[he](ar){ar[Br]=this,this[fr].push(ar),!ar[we]&&this[we]&&(ar[we]=this[we])}[pt](ar){const xr=this[fr].indexOf(ar);this[fr].splice(xr,1)}[Ie](){return this.hasOwnProperty("value")}[Mt](ar){}[He](ar){}[Ee](){}[W](ar){delete this[Xt],this[L]&&(ar.clean(this[L]),delete this[L])}[Ke](ar){return this[fr].indexOf(ar)}[Ve](ar,xr){xr[Br]=this,this[fr].splice(ar,0,xr),!xr[we]&&this[we]&&(xr[we]=this[we])}[tt](){return!this.name}[st](){return""}[Yt](){return this[fr].length===0?this[de]:this[fr].map(ar=>ar[Yt]()).join("")}get[gr](){const ar=Object.getPrototypeOf(this);if(!ar._attributes){const xr=ar._attributes=new Set;for(const Lr of Object.getOwnPropertyNames(this)){if(this[Lr]===null||this[Lr]instanceof Cr||this[Lr]instanceof Tr)break;xr.add(Lr)}}return(0,U.shadow)(this,gr,ar._attributes)}[Qe](ar){let xr=this;for(;xr;){if(xr===ar)return!0;xr=xr[Fe]()}return!1}[Fe](){return this[Br]}[Te](){return this[Fe]()}[Ne](){let ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return ar?this[ar]:this[fr]}[oe](){const ar=Object.create(null);this[de]&&(ar.$content=this[de]);for(const xr of Object.getOwnPropertyNames(this)){const Lr=this[xr];Lr!==null&&(Lr instanceof Cr?ar[xr]=Lr[oe]():Lr instanceof Tr?Lr.isEmpty()||(ar[xr]=Lr.dump()):ar[xr]=Lr)}return ar}[Bt](){return null}[Jt](){return R.HTMLResult.EMPTY}*[Ze](){for(const ar of this[Ne]())yield ar}*[Ar](ar,xr){for(const Lr of this[Ze]())if(!ar||xr===ar.has(Lr[ct])){const Rr=this[ve](),Mr=Lr[Jt](Rr);Mr.success||(this[me].failingNode=Lr),yield Mr}}[ke](){return null}[ie](ar,xr){this[me].children.push(ar)}[ve](){}[J](ar){let{filter:xr=null,include:Lr=!0}=ar;if(!this[me].generator)this[me].generator=this[Ar](xr,Lr);else{const Rr=this[ve](),Mr=this[me].failingNode[Jt](Rr);if(!Mr.success)return Mr;Mr.html&&this[ie](Mr.html,Mr.bbox),delete this[me].failingNode}for(;;){const Rr=this[me].generator.next();if(Rr.done)break;const Mr=Rr.value;if(!Mr.success)return Mr;Mr.html&&this[ie](Mr.html,Mr.bbox)}return this[me].generator=null,R.HTMLResult.EMPTY}[Wt](ar){this[Ur]=new Set(Object.keys(ar))}[vt](ar){const xr=this[gr],Lr=this[Ur];return[...ar].filter(Rr=>xr.has(Rr)&&!Lr.has(Rr))}[Pt](ar){let xr=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;for(const Lr of this[fr])Lr[br](ar,xr)}[br](ar,xr){const Lr=this[yt](ar,xr);Lr?this[Dt](Lr,ar,xr):this[Pt](ar,xr)}[yt](ar,xr){const{use:Lr,usehref:Rr}=this;if(!Lr&&!Rr)return null;let Mr=null,an=null,gn=null,dn=Lr;if(Rr?(dn=Rr,Rr.startsWith("#som(")&&Rr.endsWith(")")?an=Rr.slice(5,Rr.length-1):Rr.startsWith(".#som(")&&Rr.endsWith(")")?an=Rr.slice(6,Rr.length-1):Rr.startsWith("#")?gn=Rr.slice(1):Rr.startsWith(".#")&&(gn=Rr.slice(2))):Lr.startsWith("#")?gn=Lr.slice(1):an=Lr,this.use=this.usehref="",gn?Mr=ar.get(gn):(Mr=(0,e.searchNode)(ar.get(wt),this,an,!0,!1),Mr&&(Mr=Mr[0])),!Mr)return(0,U.warn)(`XFA - Invalid prototype reference: ${dn}.`),null;if(Mr[ct]!==this[ct])return(0,U.warn)(`XFA - Incompatible prototype: ${Mr[ct]} !== ${this[ct]}.`),null;if(xr.has(Mr))return(0,U.warn)("XFA - Cycle detected in prototypes use."),null;xr.add(Mr);const pn=Mr[yt](ar,xr);return pn&&Mr[Dt](pn,ar,xr),Mr[Pt](ar,xr),xr.delete(Mr),Mr}[Dt](ar,xr,Lr){if(Lr.has(ar)){(0,U.warn)("XFA - Cycle detected in prototypes use.");return}!this[de]&&ar[de]&&(this[de]=ar[de]),new Set(Lr).add(ar);for(const Mr of this[vt](ar[Ur]))this[Mr]=ar[Mr],this[Ur]&&this[Ur].add(Mr);for(const Mr of Object.getOwnPropertyNames(this)){if(this[gr].has(Mr))continue;const an=this[Mr],gn=ar[Mr];if(an instanceof Tr){for(const dn of an[fr])dn[br](xr,Lr);for(let dn=an[fr].length,pn=gn[fr].length;dnCr[Dr](xr)):typeof ar=="object"&&ar!==null?Object.assign({},ar):ar}[Q](){const ar=Object.create(Object.getPrototypeOf(this));for(const xr of Object.getOwnPropertySymbols(this))try{ar[xr]=this[xr]}catch{(0,U.shadow)(ar,xr,this[xr])}ar[It]=`${ar[ct]}${sr++}`,ar[fr]=[];for(const xr of Object.getOwnPropertyNames(this)){if(this[gr].has(xr)){ar[xr]=Cr[Dr](this[xr]);continue}const Lr=this[xr];Lr instanceof Tr?ar[xr]=new Tr(Lr[At]):ar[xr]=null}for(const xr of this[fr]){const Lr=xr[ct],Rr=xr[Q]();ar[fr].push(Rr),Rr[Br]=ar,ar[Lr]===null?ar[Lr]=Rr:ar[Lr][fr].push(Rr)}return ar}[Ne](){let ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return ar?this[fr].filter(xr=>xr[ct]===ar):this[fr]}[ye](ar){return this[ar]}[Ce](ar,xr){let Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;return Array.from(this[pe](ar,xr,Lr))}*[pe](ar,xr){let Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0;if(ar==="parent"){yield this[Br];return}for(const Rr of this[fr])Rr[ct]===ar&&(yield Rr),Rr.name===ar&&(yield Rr),(xr||Rr[tt]())&&(yield*Rr[pe](ar,xr,!1));Lr&&this[gr].has(ar)&&(yield new jt(this,ar,this[ar]))}}D.XFAObject=Cr;class Tr{constructor(){let ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1/0;this[At]=ar,this[fr]=[]}push(ar){return this[fr].length<=this[At]?(this[fr].push(ar),!0):((0,U.warn)(`XFA - node "${ar[ct]}" accepts no more than ${this[At]} children`),!1)}isEmpty(){return this[fr].length===0}dump(){return this[fr].length===1?this[fr][0][oe]():this[fr].map(ar=>ar[oe]())}[Q](){const ar=new Tr(this[At]);return ar[fr]=this[fr].map(xr=>xr[Q]()),ar}get children(){return this[fr]}clear(){this[fr].length=0}}D.XFAObjectArray=Tr;class jt{constructor(ar,xr,Lr){this[Br]=ar,this[ct]=xr,this[de]=Lr,this[ce]=!1,this[It]=`attribute${sr++}`}[Fe](){return this[Br]}[et](){return!0}[_e](){return this[de].trim()}[Mt](ar){ar=ar.value||"",this[de]=ar.toString()}[Yt](){return this[de]}[Qe](ar){return this[Br]===ar||this[Br][Qe](ar)}}D.XFAAttribute=jt;class Wr extends Cr{constructor(ar,xr){let Lr=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(super(ar,xr),this[de]="",this[kr]=null,xr!=="#text"){const Rr=new Map;this[Zt]=Rr;for(const[Mr,an]of Object.entries(Lr))Rr.set(Mr,new jt(this,Mr,an));if(Lr.hasOwnProperty(mt)){const Mr=Lr[mt].xfa.dataNode;Mr!==void 0&&(Mr==="dataGroup"?this[kr]=!1:Mr==="dataValue"&&(this[kr]=!0))}}this[ce]=!1}[er](ar){const xr=this[ct];if(xr==="#text"){ar.push((0,K.encodeToXmlString)(this[de]));return}const Lr=(0,U.utf8StringToString)(xr),Rr=this[dt]===ur?"xfa:":"";ar.push(`<${Rr}${Lr}`);for(const[Mr,an]of this[Zt].entries()){const gn=(0,U.utf8StringToString)(Mr);ar.push(` ${gn}="${(0,K.encodeToXmlString)(an[de])}"`)}if(this[kr]!==null&&(this[kr]?ar.push(' xfa:dataNode="dataValue"'):ar.push(' xfa:dataNode="dataGroup"')),!this[de]&&this[fr].length===0){ar.push("/>");return}if(ar.push(">"),this[de])typeof this[de]=="string"?ar.push((0,K.encodeToXmlString)(this[de])):this[de][er](ar);else for(const Mr of this[fr])Mr[er](ar);ar.push(``)}[ut](ar){if(this[de]){const xr=new Wr(this[dt],"#text");this[he](xr),xr[de]=this[de],this[de]=""}return this[he](ar),!0}[He](ar){this[de]+=ar}[Ee](){if(this[de]&&this[fr].length>0){const ar=new Wr(this[dt],"#text");this[he](ar),ar[de]=this[de],delete this[de]}}[Jt](){return this[ct]==="#text"?R.HTMLResult.success({name:"#text",value:this[de]}):R.HTMLResult.EMPTY}[Ne](){let ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return ar?this[fr].filter(xr=>xr[ct]===ar):this[fr]}[fe](){return this[Zt]}[ye](ar){const xr=this[Zt].get(ar);return xr!==void 0?xr:this[Ne](ar)}*[pe](ar,xr){const Lr=this[Zt].get(ar);Lr&&(yield Lr);for(const Rr of this[fr])Rr[ct]===ar&&(yield Rr),xr&&(yield*Rr[pe](ar,xr))}*[xe](ar,xr){const Lr=this[Zt].get(ar);Lr&&(!xr||!Lr[ce])&&(yield Lr);for(const Rr of this[fr])yield*Rr[xe](ar,xr)}*[Ae](ar,xr,Lr){for(const Rr of this[fr])Rr[ct]===ar&&(!Lr||!Rr[ce])&&(yield Rr),xr&&(yield*Rr[Ae](ar,xr,Lr))}[et](){return this[kr]===null?this[fr].length===0||this[fr][0][dt]===z.NamespaceIds.xhtml.id:this[kr]}[_e](){return this[kr]===null?this[fr].length===0?this[de].trim():this[fr][0][dt]===z.NamespaceIds.xhtml.id?this[fr][0][Yt]().trim():null:this[de].trim()}[Mt](ar){ar=ar.value||"",this[de]=ar.toString()}[oe](){let ar=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const xr=Object.create(null);ar&&(xr.$ns=this[dt]),this[de]&&(xr.$content=this[de]),xr.$name=this[ct],xr.children=[];for(const Lr of this[fr])xr.children.push(Lr[oe](ar));xr.attributes=Object.create(null);for(const[Lr,Rr]of this[Zt])xr.attributes[Lr]=Rr[de];return xr}}D.XmlObject=Wr;class ir extends Cr{constructor(ar,xr){super(ar,xr),this[de]=""}[He](ar){this[de]+=ar}[Ee](){}}D.ContentObject=ir;class Gr extends ir{constructor(ar,xr,Lr){super(ar,xr),this[zt]=Lr}[Ee](){this[de]=(0,R.getKeyword)({data:this[de],defaultValue:this[zt][0],validate:ar=>this[zt].includes(ar)})}[W](ar){super[W](ar),delete this[zt]}}D.OptionObject=Gr;class Jr extends ir{[Ee](){this[de]=this[de].trim()}}D.StringObject=Jr;class Xr extends ir{constructor(ar,xr,Lr,Rr){super(ar,xr),this[cr]=Lr,this[un]=Rr}[Ee](){this[de]=(0,R.getInteger)({data:this[de],defaultValue:this[cr],validate:this[un]})}[W](ar){super[W](ar),delete this[cr],delete this[un]}}D.IntegerObject=Xr;class fn extends Xr{constructor(ar,xr){super(ar,xr,0,Lr=>Lr===1)}}D.Option01=fn;class cn extends Xr{constructor(ar,xr){super(ar,xr,1,Lr=>Lr===0)}}D.Option10=cn},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.HTMLResult=void 0,D.getBBox=Q,D.getColor=L,D.getFloat=ae,D.getInteger=e,D.getKeyword=ie,D.getMeasurement=J,D.getRatio=W,D.getRelevant=X,D.getStringOption=he,D.stripQuotes=z;var R=B(2);const U={pt:de=>de,cm:de=>de/2.54*72,mm:de=>de/(10*2.54)*72,in:de=>de*72,px:de=>de},K=/([+-]?\d+\.?\d*)(.*)/;function z(de){return de.startsWith("'")||de.startsWith('"')?de.slice(1,de.length-1):de}function e(de){let{data:se,defaultValue:oe,validate:me}=de;if(!se)return oe;se=se.trim();const Ee=parseInt(se,10);return!isNaN(Ee)&&me(Ee)?Ee:oe}function ae(de){let{data:se,defaultValue:oe,validate:me}=de;if(!se)return oe;se=se.trim();const Ee=parseFloat(se);return!isNaN(Ee)&&me(Ee)?Ee:oe}function ie(de){let{data:se,defaultValue:oe,validate:me}=de;return se?(se=se.trim(),me(se)?se:oe):oe}function he(de,se){return ie({data:de,defaultValue:se[0],validate:oe=>se.includes(oe)})}function J(de){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"0";if(se=se||"0",!de)return J(se);const oe=de.trim().match(K);if(!oe)return J(se);const[,me,Ee]=oe,ke=parseFloat(me);if(isNaN(ke))return J(se);if(ke===0)return 0;const xe=U[Ee];return xe?xe(ke):ke}function W(de){if(!de)return{num:1,den:1};const se=de.trim().split(/\s*:\s*/).map(Ee=>parseFloat(Ee)).filter(Ee=>!isNaN(Ee));if(se.length===1&&se.push(1),se.length===0)return{num:1,den:1};const[oe,me]=se;return{num:oe,den:me}}function X(de){return de?de.trim().split(/\s+/).map(se=>({excluded:se[0]==="-",viewname:se.substring(1)})):[]}function L(de){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[0,0,0],[oe,me,Ee]=se;if(!de)return{r:oe,g:me,b:Ee};const ke=de.trim().split(/\s*,\s*/).map(xe=>Math.min(Math.max(0,parseInt(xe.trim(),10)),255)).map(xe=>isNaN(xe)?0:xe);return ke.length<3?{r:oe,g:me,b:Ee}:([oe,me,Ee]=ke,{r:oe,g:me,b:Ee})}function Q(de){if(!de)return{x:-1,y:-1,width:-1,height:-1};const oe=de.trim().split(/\s*,\s*/).map(fe=>J(fe,"-1"));if(oe.length<4||oe[2]<0||oe[3]<0)return{x:-1,y:-1,width:-1,height:-1};const[me,Ee,ke,xe]=oe;return{x:me,y:Ee,width:ke,height:xe}}class ce{static get FAILURE(){return(0,R.shadow)(this,"FAILURE",new ce(!1,null,null,null))}static get EMPTY(){return(0,R.shadow)(this,"EMPTY",new ce(!0,null,null,null))}constructor(se,oe,me,Ee){this.success=se,this.html=oe,this.bbox=me,this.breakNode=Ee}isBreak(){return!!this.breakNode}static breakNode(se){return new ce(!1,null,null,se)}static success(se){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return new ce(!0,se,oe,null)}}D.HTMLResult=ce},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.NamespaceIds=D.$buildXFAObject=void 0;const B=Symbol();D.$buildXFAObject=B;const R={config:{id:0,check:U=>U.startsWith("http://www.xfa.org/schema/xci/")},connectionSet:{id:1,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-connection-set/")},datasets:{id:2,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-data/")},form:{id:3,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-form/")},localeSet:{id:4,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-locale-set/")},pdf:{id:5,check:U=>U==="http://ns.adobe.com/xdp/pdf/"},signature:{id:6,check:U=>U==="http://www.w3.org/2000/09/xmldsig#"},sourceSet:{id:7,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-source-set/")},stylesheet:{id:8,check:U=>U==="http://www.w3.org/1999/XSL/Transform"},template:{id:9,check:U=>U.startsWith("http://www.xfa.org/schema/xfa-template/")},xdc:{id:10,check:U=>U.startsWith("http://www.xfa.org/schema/xdc/")},xdp:{id:11,check:U=>U==="http://ns.adobe.com/xdp/"},xfdf:{id:12,check:U=>U==="http://ns.adobe.com/xfdf/"},xhtml:{id:13,check:U=>U==="http://www.w3.org/1999/xhtml"},xmpmeta:{id:14,check:U=>U==="http://ns.adobe.com/xmpmeta/"}};D.NamespaceIds=R},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.createDataNode=ce,D.searchNode=L;var R=B(202),U=B(204),K=B(2);const z=/^[^.[]+/,e=/^[^\]]+/,ae={dot:0,dotDot:1,dotHash:2,dotBracket:3,dotParen:4},ie=new Map([["$data",(de,se)=>de.datasets?de.datasets.data:de],["$record",(de,se)=>(de.datasets?de.datasets.data:de)[R.$getChildren]()[0]],["$template",(de,se)=>de.template],["$connectionSet",(de,se)=>de.connectionSet],["$form",(de,se)=>de.form],["$layout",(de,se)=>de.layout],["$host",(de,se)=>de.host],["$dataWindow",(de,se)=>de.dataWindow],["$event",(de,se)=>de.event],["!",(de,se)=>de.datasets],["$xfa",(de,se)=>de],["xfa",(de,se)=>de],["$",(de,se)=>se]]),he=new WeakMap,J=U.NamespaceIds.datasets.id;function W(de){return de=de.trim(),de==="*"?1/0:parseInt(de,10)||0}function X(de,se){let oe=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,me=de.match(z);if(!me)return null;let[Ee]=me;const ke=[{name:Ee,cacheName:"."+Ee,index:0,js:null,formCalc:null,operator:ae.dot}];let xe=Ee.length;for(;xe3&&arguments[3]!==void 0?arguments[3]:!0,Ee=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;const ke=X(oe,me);if(!ke)return null;const xe=ie.get(ke[0].name);let fe=0,ve;xe?(ve=!0,de=[xe(de,se)],fe=1):(ve=se===null,de=[se||de]);for(let ye=ke.length;fe0&&Ae.push(Ze)}if(Ae.length===0&&!ve&&fe===0){if(se=se[R.$getParent](),!se)return null;fe=-1,de=[se];continue}isFinite(Ge)?de=Ae.filter(Ne=>GeNe[Ge]):de=Ae.flat()}return de.length===0?null:de}function Q(de,se){let oe=null;for(const{name:me,index:Ee}of se){for(let ke=0,xe=isFinite(Ee)?Ee:0;ke<=xe;ke++){const fe=de[R.$namespaceId]===J?-1:de[R.$namespaceId];oe=new R.XmlObject(fe,me),de[R.$appendChild](oe)}de=oe}return oe}function ce(de,se,oe){const me=X(oe);if(!me||me.some(xe=>xe.operator===ae.dotDot))return null;const Ee=ie.get(me[0].name);let ke=0;Ee?(de=Ee(de,se),ke=1):de=se||de;for(let xe=me.length;ke{Object.defineProperty(D,"__esModule",{value:!0}),D.Binder=void 0;var R=B(202),U=B(207),K=B(205),z=B(204),e=B(2);const ae=z.NamespaceIds.datasets.id;function ie(J){const W=new U.Text({});return W[R.$content]=J,W}class he{constructor(W){this.root=W,this.datasets=W.datasets,W.datasets&&W.datasets.data?this.data=W.datasets.data:this.data=new R.XmlObject(z.NamespaceIds.datasets.id,"data"),this.emptyMerge=this.data[R.$getChildren]().length===0,this.root.form=this.form=W.template[R.$clone]()}_isConsumeData(){return!this.emptyMerge&&this._mergeMode}_isMatchTemplate(){return!this._isConsumeData()}bind(){return this._bindElement(this.form,this.data),this.form}getData(){return this.data}_bindValue(W,X,L){if(W[R.$data]=X,W[R.$hasSettableValue]())if(X[R.$isDataValue]()){const Q=X[R.$getDataValue]();W[R.$setValue](ie(Q))}else if(W instanceof U.Field&&W.ui&&W.ui.choiceList&&W.ui.choiceList.open==="multiSelect"){const Q=X[R.$getChildren]().map(ce=>ce[R.$content].trim()).join(` +`);W[R.$setValue](ie(Q))}else this._isConsumeData()&&(0,e.warn)("XFA - Nodes haven't the same type.");else!X[R.$isDataValue]()||this._isMatchTemplate()?this._bindElement(W,X):(0,e.warn)("XFA - Nodes haven't the same type.")}_findDataByNameToConsume(W,X,L,Q){if(!W)return null;let ce,de;for(let se=0;se<3;se++){for(ce=L[R.$getRealChildrenByNameIt](W,!1,!0);de=ce.next().value,!!de;)if(X===de[R.$isDataValue]())return de;if(L[R.$namespaceId]===z.NamespaceIds.datasets.id&&L[R.$nodeName]==="data")break;L=L[R.$getParent]()}return Q?(ce=this.data[R.$getRealChildrenByNameIt](W,!0,!1),de=ce.next().value,de||(ce=this.data[R.$getAttributeIt](W,!0),de=ce.next().value,de&&de[R.$isDataValue]())?de:null):null}_setProperties(W,X){if(W.hasOwnProperty("setProperty"))for(const{ref:L,target:Q,connection:ce}of W.setProperty.children){if(ce||!L)continue;const de=(0,K.searchNode)(this.root,X,L,!1,!1);if(!de){(0,e.warn)(`XFA - Invalid reference: ${L}.`);continue}const[se]=de;if(!se[R.$isDescendent](this.data)){(0,e.warn)("XFA - Invalid node: must be a data node.");continue}const oe=(0,K.searchNode)(this.root,W,Q,!1,!1);if(!oe){(0,e.warn)(`XFA - Invalid target: ${Q}.`);continue}const[me]=oe;if(!me[R.$isDescendent](W)){(0,e.warn)("XFA - Invalid target: must be a property or subproperty.");continue}const Ee=me[R.$getParent]();if(me instanceof U.SetProperty||Ee instanceof U.SetProperty){(0,e.warn)("XFA - Invalid target: cannot be a setProperty or one of its properties.");continue}if(me instanceof U.BindItems||Ee instanceof U.BindItems){(0,e.warn)("XFA - Invalid target: cannot be a bindItems or one of its properties.");continue}const ke=se[R.$text](),xe=me[R.$nodeName];if(me instanceof R.XFAAttribute){const fe=Object.create(null);fe[xe]=ke;const ve=Reflect.construct(Object.getPrototypeOf(Ee).constructor,[fe]);Ee[xe]=ve[xe];continue}if(!me.hasOwnProperty(R.$content)){(0,e.warn)("XFA - Invalid node to use in setProperty");continue}me[R.$data]=se,me[R.$content]=ke,me[R.$finalize]()}}_bindItems(W,X){if(!W.hasOwnProperty("items")||!W.hasOwnProperty("bindItems")||W.bindItems.isEmpty())return;for(const ce of W.items.children)W[R.$removeChild](ce);W.items.clear();const L=new U.Items({}),Q=new U.Items({});W[R.$appendChild](L),W.items.push(L),W[R.$appendChild](Q),W.items.push(Q);for(const{ref:ce,labelRef:de,valueRef:se,connection:oe}of W.bindItems.children){if(oe||!ce)continue;const me=(0,K.searchNode)(this.root,X,ce,!1,!1);if(!me){(0,e.warn)(`XFA - Invalid reference: ${ce}.`);continue}for(const Ee of me){if(!Ee[R.$isDescendent](this.datasets)){(0,e.warn)(`XFA - Invalid ref (${ce}): must be a datasets child.`);continue}const ke=(0,K.searchNode)(this.root,Ee,de,!0,!1);if(!ke){(0,e.warn)(`XFA - Invalid label: ${de}.`);continue}const[xe]=ke;if(!xe[R.$isDescendent](this.datasets)){(0,e.warn)("XFA - Invalid label: must be a datasets child.");continue}const fe=(0,K.searchNode)(this.root,Ee,se,!0,!1);if(!fe){(0,e.warn)(`XFA - Invalid value: ${se}.`);continue}const[ve]=fe;if(!ve[R.$isDescendent](this.datasets)){(0,e.warn)("XFA - Invalid value: must be a datasets child.");continue}const ye=ie(xe[R.$text]()),Ce=ie(ve[R.$text]());L[R.$appendChild](ye),L.text.push(ye),Q[R.$appendChild](Ce),Q.text.push(Ce)}}}_bindOccurrences(W,X,L){let Q;if(X.length>1&&(Q=W[R.$clone](),Q[R.$removeChild](Q.occur),Q.occur=null),this._bindValue(W,X[0],L),this._setProperties(W,X[0]),this._bindItems(W,X[0]),X.length===1)return;const ce=W[R.$getParent](),de=W[R.$nodeName],se=ce[R.$indexOf](W);for(let oe=1,me=X.length;oeoe.name===W.name).length:ce=L[Q].children.length;const de=L[R.$indexOf](W)+1,se=X.initial-ce;if(se){const oe=W[R.$clone]();oe[R.$removeChild](oe.occur),oe.occur=null,L[Q].push(oe),L[R.$insertAt](de,oe);for(let me=1;me0)this._bindOccurrences(Q,[ke[0]],null);else if(this.emptyMerge){const xe=X[R.$namespaceId]===ae?-1:X[R.$namespaceId],fe=Q[R.$data]=new R.XmlObject(xe,Q.name||"root");X[R.$appendChild](fe),this._bindElement(Q,fe)}continue}if(!Q[R.$isBindable]())continue;let ce=!1,de=null,se=null,oe=null;if(Q.bind){switch(Q.bind.match){case"none":this._setAndBind(Q,X);continue;case"global":ce=!0;break;case"dataRef":if(!Q.bind.ref){(0,e.warn)(`XFA - ref is empty in node ${Q[R.$nodeName]}.`),this._setAndBind(Q,X);continue}se=Q.bind.ref;break}Q.bind.picture&&(de=Q.bind.picture[R.$content])}const[me,Ee]=this._getOccurInfo(Q);if(se)if(oe=(0,K.searchNode)(this.root,X,se,!0,!1),oe===null){if(oe=(0,K.createDataNode)(this.data,X,se),!oe)continue;this._isConsumeData()&&(oe[R.$consumed]=!0),this._setAndBind(Q,oe);continue}else this._isConsumeData()&&(oe=oe.filter(ke=>!ke[R.$consumed])),oe.length>Ee?oe=oe.slice(0,Ee):oe.length===0&&(oe=null),oe&&this._isConsumeData()&&oe.forEach(ke=>{ke[R.$consumed]=!0});else{if(!Q.name){this._setAndBind(Q,X);continue}if(this._isConsumeData()){const ke=[];for(;ke.length0?ke:null}else{if(oe=X[R.$getRealChildrenByNameIt](Q.name,!1,this.emptyMerge).next().value,!oe){if(me===0){L.push(Q);continue}const ke=X[R.$namespaceId]===ae?-1:X[R.$namespaceId];oe=Q[R.$data]=new R.XmlObject(ke,Q.name),this.emptyMerge&&(oe[R.$consumed]=!0),X[R.$appendChild](oe),this._setAndBind(Q,oe);continue}this.emptyMerge&&(oe[R.$consumed]=!0),oe=[oe]}}oe?this._bindOccurrences(Q,oe,de):me>0?this._setAndBind(Q,X):L.push(Q)}L.forEach(Q=>Q[R.$getParent]()[R.$removeChild](Q))}}D.Binder=he},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Value=D.Text=D.TemplateNamespace=D.Template=D.SetProperty=D.Items=D.Field=D.BindItems=void 0;var R=B(202),U=B(204),K=B(208),z=B(209),e=B(203),ae=B(2),ie=B(210),he=B(131),J=B(205);const W=U.NamespaceIds.template.id,X="http://www.w3.org/2000/svg",L=2,Q=3,ce=5e3,de=/^H(\d+)$/,se=new Set(["image/gif","image/jpeg","image/jpg","image/pjpeg","image/png","image/apng","image/x-png","image/bmp","image/x-ms-bmp","image/tiff","image/tif","application/octet-stream"]),oe=[[[66,77],"image/bmp"],[[255,216,255],"image/jpeg"],[[73,73,42,0],"image/tiff"],[[77,77,0,42],"image/tiff"],[[71,73,70,56,57,97],"image/gif"],[[137,80,78,71,13,10,26,10],"image/png"]];function me(Er){if(!Er||!Er.border)return{w:0,h:0};const Oe=Er.border[R.$getExtra]();return Oe?{w:Oe.widths[0]+Oe.widths[2]+Oe.insets[0]+Oe.insets[2],h:Oe.widths[1]+Oe.widths[3]+Oe.insets[1]+Oe.insets[3]}:{w:0,h:0}}function Ee(Er){return Er.margin&&(Er.margin.topInset||Er.margin.rightInset||Er.margin.bottomInset||Er.margin.leftInset)}function ke(Er,Oe){if(!Er.value){const ft=new Ai({});Er[R.$appendChild](ft),Er.value=ft}Er.value[R.$setValue](Oe)}function*xe(Er){for(const Oe of Er[R.$getChildren]()){if(Oe instanceof ia){yield*Oe[R.$getContainedChildren]();continue}yield Oe}}function fe(Er){return Er.validate&&Er.validate.nullTest==="error"}function ve(Er){for(;Er;){if(!Er.traversal){Er[R.$tabIndex]=Er[R.$getParent]()[R.$tabIndex];return}if(Er[R.$tabIndex])return;let Oe=null;for(const lr of Er.traversal[R.$getChildren]())if(lr.operation==="next"){Oe=lr;break}if(!Oe||!Oe.ref){Er[R.$tabIndex]=Er[R.$getParent]()[R.$tabIndex];return}const ft=Er[R.$getTemplateRoot]();Er[R.$tabIndex]=++ft[R.$tabIndex];const yr=ft[R.$searchNode](Oe.ref,Er);if(!yr)return;Er=yr[0]}}function ye(Er,Oe){const ft=Er.assist;if(ft){const yr=ft[R.$toHTML]();yr&&(Oe.title=yr);const qr=ft.role.match(de);if(qr){const sn="heading",Kr=qr[1];Oe.role=sn,Oe["aria-level"]=Kr}}if(Er.layout==="table")Oe.role="table";else if(Er.layout==="row")Oe.role="row";else{const yr=Er[R.$getParent]();yr.layout==="row"&&(yr.assist&&yr.assist.role==="TH"?Oe.role="columnheader":Oe.role="cell")}}function Ce(Er){if(!Er.assist)return null;const Oe=Er.assist;return Oe.speak&&Oe.speak[R.$content]!==""?Oe.speak[R.$content]:Oe.toolTip?Oe.toolTip[R.$content]:null}function pe(Er){return e.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:Object.create(null)},children:[{name:"span",attributes:{style:Object.create(null)},value:Er}]})}function _e(Er){const Oe=Er[R.$getTemplateRoot]();Oe[R.$extra].firstUnsplittable===null&&(Oe[R.$extra].firstUnsplittable=Er,Oe[R.$extra].noLayoutFailure=!0)}function Ge(Er){const Oe=Er[R.$getTemplateRoot]();Oe[R.$extra].firstUnsplittable===Er&&(Oe[R.$extra].noLayoutFailure=!1)}function Ae(Er){if(Er[R.$extra]||(Er[R.$extra]=Object.create(null),Er.targetType==="auto"))return!1;const Oe=Er[R.$getTemplateRoot]();let ft=null;if(Er.target){if(ft=Oe[R.$searchNode](Er.target,Er[R.$getParent]()),!ft)return!1;ft=ft[0]}const{currentPageArea:yr,currentContentArea:lr}=Oe[R.$extra];if(Er.targetType==="pageArea")return ft instanceof Rr||(ft=null),Er.startNew?(Er[R.$extra].target=ft||yr,!0):ft&&ft!==yr?(Er[R.$extra].target=ft,!0):!1;ft instanceof ut||(ft=null);const qr=ft&&ft[R.$getParent]();let sn,Kr=qr;if(Er.startNew)if(ft){const on=qr.contentArea.children,bn=on.indexOf(lr),Dn=on.indexOf(ft);bn!==-1&&bnEr,yr[R.$extra].noLayoutFailure=!0;const sn=Oe[R.$toHTML](ft);Er[R.$addHTML](sn.html,sn.bbox),yr[R.$extra].noLayoutFailure=lr,Oe[R.$getSubformParent]=qr}class Ze extends R.StringObject{constructor(Oe){super(W,"appearanceFilter"),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class ze extends R.XFAObject{constructor(Oe){super(W,"arc",!0),this.circular=(0,e.getInteger)({data:Oe.circular,defaultValue:0,validate:ft=>ft===1}),this.hand=(0,e.getStringOption)(Oe.hand,["even","left","right"]),this.id=Oe.id||"",this.startAngle=(0,e.getFloat)({data:Oe.startAngle,defaultValue:0,validate:ft=>!0}),this.sweepAngle=(0,e.getFloat)({data:Oe.sweepAngle,defaultValue:360,validate:ft=>!0}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.edge=null,this.fill=null}[R.$toHTML](){const Oe=this.edge||new Wt({}),ft=Oe[R.$toStyle](),yr=Object.create(null);this.fill&&this.fill.presence==="visible"?Object.assign(yr,this.fill[R.$toStyle]()):yr.fill="transparent",yr.strokeWidth=(0,z.measureToString)(Oe.presence==="visible"?Oe.thickness:0),yr.stroke=ft.color;let lr;const qr={xmlns:X,style:{width:"100%",height:"100%",overflow:"visible"}};if(this.sweepAngle===360)lr={name:"ellipse",attributes:{xmlns:X,cx:"50%",cy:"50%",rx:"50%",ry:"50%",style:yr}};else{const on=this.startAngle*Math.PI/180,bn=this.sweepAngle*Math.PI/180,Dn=this.sweepAngle>180?1:0,[zn,Bn,kn,Gn]=[50*(1+Math.cos(on)),50*(1-Math.sin(on)),50*(1+Math.cos(on+bn)),50*(1-Math.sin(on+bn))];lr={name:"path",attributes:{xmlns:X,d:`M ${zn} ${Bn} A 50 50 0 ${Dn} 0 ${kn} ${Gn}`,vectorEffect:"non-scaling-stroke",style:yr}},Object.assign(qr,{viewBox:"0 0 100 100",preserveAspectRatio:"none"})}const sn={name:"svg",children:[lr],attributes:qr},Kr=this[R.$getParent]()[R.$getParent]();return Ee(Kr)?e.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[sn]}):(sn.attributes.style.position="absolute",e.HTMLResult.success(sn))}}class Te extends R.XFAObject{constructor(Oe){super(W,"area",!0),this.colSpan=(0,e.getInteger)({data:Oe.colSpan,defaultValue:1,validate:ft=>ft>=1||ft===-1}),this.id=Oe.id||"",this.name=Oe.name||"",this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.desc=null,this.extras=null,this.area=new R.XFAObjectArray,this.draw=new R.XFAObjectArray,this.exObject=new R.XFAObjectArray,this.exclGroup=new R.XFAObjectArray,this.field=new R.XFAObjectArray,this.subform=new R.XFAObjectArray,this.subformSet=new R.XFAObjectArray}*[R.$getContainedChildren](){yield*xe(this)}[R.$isTransparent](){return!0}[R.$isBindable](){return!0}[R.$addHTML](Oe,ft){const[yr,lr,qr,sn]=ft;this[R.$extra].width=Math.max(this[R.$extra].width,yr+qr),this[R.$extra].height=Math.max(this[R.$extra].height,lr+sn),this[R.$extra].children.push(Oe)}[R.$getAvailableSpace](){return this[R.$extra].availableSpace}[R.$toHTML](Oe){const ft=(0,z.toStyle)(this,"position"),yr={style:ft,id:this[R.$uid],class:["xfaArea"]};(0,z.isPrintOnly)(this)&&yr.class.push("xfaPrintOnly"),this.name&&(yr.xfaName=this.name);const lr=[];this[R.$extra]={children:lr,width:0,height:0,availableSpace:Oe};const qr=this[R.$childrenToHTML]({filter:new Set(["area","draw","field","exclGroup","subform","subformSet"]),include:!0});if(!qr.success)return qr.isBreak()?qr:(delete this[R.$extra],e.HTMLResult.FAILURE);ft.width=(0,z.measureToString)(this[R.$extra].width),ft.height=(0,z.measureToString)(this[R.$extra].height);const sn={name:"div",attributes:yr,children:lr},Kr=[this.x,this.y,this[R.$extra].width,this[R.$extra].height];return delete this[R.$extra],e.HTMLResult.success(sn,Kr)}}class Fe extends R.XFAObject{constructor(Oe){super(W,"assist",!0),this.id=Oe.id||"",this.role=Oe.role||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.speak=null,this.toolTip=null}[R.$toHTML](){return this.toolTip&&this.toolTip[R.$content]?this.toolTip[R.$content]:null}}class Pe extends R.XFAObject{constructor(Oe){super(W,"barcode",!0),this.charEncoding=(0,e.getKeyword)({data:Oe.charEncoding?Oe.charEncoding.toLowerCase():"",defaultValue:"",validate:ft=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(ft)||ft.match(/iso-8859-\d{2}/)}),this.checksum=(0,e.getStringOption)(Oe.checksum,["none","1mod10","1mod10_1mod11","2mod10","auto"]),this.dataColumnCount=(0,e.getInteger)({data:Oe.dataColumnCount,defaultValue:-1,validate:ft=>ft>=0}),this.dataLength=(0,e.getInteger)({data:Oe.dataLength,defaultValue:-1,validate:ft=>ft>=0}),this.dataPrep=(0,e.getStringOption)(Oe.dataPrep,["none","flateCompress"]),this.dataRowCount=(0,e.getInteger)({data:Oe.dataRowCount,defaultValue:-1,validate:ft=>ft>=0}),this.endChar=Oe.endChar||"",this.errorCorrectionLevel=(0,e.getInteger)({data:Oe.errorCorrectionLevel,defaultValue:-1,validate:ft=>ft>=0&&ft<=8}),this.id=Oe.id||"",this.moduleHeight=(0,e.getMeasurement)(Oe.moduleHeight,"5mm"),this.moduleWidth=(0,e.getMeasurement)(Oe.moduleWidth,"0.25mm"),this.printCheckDigit=(0,e.getInteger)({data:Oe.printCheckDigit,defaultValue:0,validate:ft=>ft===1}),this.rowColumnRatio=(0,e.getRatio)(Oe.rowColumnRatio),this.startChar=Oe.startChar||"",this.textLocation=(0,e.getStringOption)(Oe.textLocation,["below","above","aboveEmbedded","belowEmbedded","none"]),this.truncate=(0,e.getInteger)({data:Oe.truncate,defaultValue:0,validate:ft=>ft===1}),this.type=(0,e.getStringOption)(Oe.type?Oe.type.toLowerCase():"",["aztec","codabar","code2of5industrial","code2of5interleaved","code2of5matrix","code2of5standard","code3of9","code3of9extended","code11","code49","code93","code128","code128a","code128b","code128c","code128sscc","datamatrix","ean8","ean8add2","ean8add5","ean13","ean13add2","ean13add5","ean13pwcd","fim","logmars","maxicode","msi","pdf417","pdf417macro","plessey","postauscust2","postauscust3","postausreplypaid","postausstandard","postukrm4scc","postusdpbc","postusimb","postusstandard","postus5zip","qrcode","rfid","rss14","rss14expanded","rss14limited","rss14stacked","rss14stackedomni","rss14truncated","telepen","ucc128","ucc128random","ucc128sscc","upca","upcaadd2","upcaadd5","upcapwcd","upce","upceadd2","upceadd5","upcean2","upcean5","upsmaxicode"]),this.upsMode=(0,e.getStringOption)(Oe.upsMode,["usCarrier","internationalCarrier","secureSymbol","standardSymbol"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.wideNarrowRatio=(0,e.getRatio)(Oe.wideNarrowRatio),this.encrypt=null,this.extras=null}}class we extends R.XFAObject{constructor(Oe){super(W,"bind",!0),this.match=(0,e.getStringOption)(Oe.match,["once","dataRef","global","none"]),this.ref=Oe.ref||"",this.picture=null}}class Ie extends R.XFAObject{constructor(Oe){super(W,"bindItems"),this.connection=Oe.connection||"",this.labelRef=Oe.labelRef||"",this.ref=Oe.ref||"",this.valueRef=Oe.valueRef||""}}D.BindItems=Ie;class Be extends R.XFAObject{constructor(Oe){super(W,"bookend"),this.id=Oe.id||"",this.leader=Oe.leader||"",this.trailer=Oe.trailer||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Ke extends R.Option01{constructor(Oe){super(W,"boolean"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$toHTML](Oe){return pe(this[R.$content]===1?"1":"0")}}class Ve extends R.XFAObject{constructor(Oe){super(W,"border",!0),this.break=(0,e.getStringOption)(Oe.break,["close","open"]),this.hand=(0,e.getStringOption)(Oe.hand,["even","left","right"]),this.id=Oe.id||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.corner=new R.XFAObjectArray(4),this.edge=new R.XFAObjectArray(4),this.extras=null,this.fill=null,this.margin=null}[R.$getExtra](){if(!this[R.$extra]){const Oe=this.edge.children.slice();if(Oe.length<4){const lr=Oe.at(-1)||new Wt({});for(let qr=Oe.length;qr<4;qr++)Oe.push(lr)}const ft=Oe.map(lr=>lr.thickness),yr=[0,0,0,0];this.margin&&(yr[0]=this.margin.topInset,yr[1]=this.margin.rightInset,yr[2]=this.margin.bottomInset,yr[3]=this.margin.leftInset),this[R.$extra]={widths:ft,insets:yr,edges:Oe}}return this[R.$extra]}[R.$toStyle](){const{edges:Oe}=this[R.$getExtra](),ft=Oe.map(lr=>{const qr=lr[R.$toStyle]();return qr.color=qr.color||"#000000",qr}),yr=Object.create(null);if(this.margin&&Object.assign(yr,this.margin[R.$toStyle]()),this.fill&&this.fill.presence==="visible"&&Object.assign(yr,this.fill[R.$toStyle]()),this.corner.children.some(lr=>lr.radius!==0)){const lr=this.corner.children.map(qr=>qr[R.$toStyle]());if(lr.length===2||lr.length===3){const qr=lr.at(-1);for(let sn=lr.length;sn<4;sn++)lr.push(qr)}yr.borderRadius=lr.map(qr=>qr.radius).join(" ")}switch(this.presence){case"invisible":case"hidden":yr.borderStyle="";break;case"inactive":yr.borderStyle="none";break;default:yr.borderStyle=ft.map(lr=>lr.style).join(" ");break}return yr.borderWidth=ft.map(lr=>lr.width).join(" "),yr.borderColor=ft.map(lr=>lr.color).join(" "),yr}}class je extends R.XFAObject{constructor(Oe){super(W,"break",!0),this.after=(0,e.getStringOption)(Oe.after,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.afterTarget=Oe.afterTarget||"",this.before=(0,e.getStringOption)(Oe.before,["auto","contentArea","pageArea","pageEven","pageOdd"]),this.beforeTarget=Oe.beforeTarget||"",this.bookendLeader=Oe.bookendLeader||"",this.bookendTrailer=Oe.bookendTrailer||"",this.id=Oe.id||"",this.overflowLeader=Oe.overflowLeader||"",this.overflowTarget=Oe.overflowTarget||"",this.overflowTrailer=Oe.overflowTrailer||"",this.startNew=(0,e.getInteger)({data:Oe.startNew,defaultValue:0,validate:ft=>ft===1}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}}class Le extends R.XFAObject{constructor(Oe){super(W,"breakAfter",!0),this.id=Oe.id||"",this.leader=Oe.leader||"",this.startNew=(0,e.getInteger)({data:Oe.startNew,defaultValue:0,validate:ft=>ft===1}),this.target=Oe.target||"",this.targetType=(0,e.getStringOption)(Oe.targetType,["auto","contentArea","pageArea"]),this.trailer=Oe.trailer||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.script=null}}class et extends R.XFAObject{constructor(Oe){super(W,"breakBefore",!0),this.id=Oe.id||"",this.leader=Oe.leader||"",this.startNew=(0,e.getInteger)({data:Oe.startNew,defaultValue:0,validate:ft=>ft===1}),this.target=Oe.target||"",this.targetType=(0,e.getStringOption)(Oe.targetType,["auto","contentArea","pageArea"]),this.trailer=Oe.trailer||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.script=null}[R.$toHTML](Oe){return this[R.$extra]={},e.HTMLResult.FAILURE}}class Qe extends R.XFAObject{constructor(Oe){super(W,"button",!0),this.highlight=(0,e.getStringOption)(Oe.highlight,["inverted","none","outline","push"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}[R.$toHTML](Oe){const yr=this[R.$getParent]()[R.$getParent](),lr={name:"button",attributes:{id:this[R.$uid],class:["xfaButton"],style:{}},children:[]};for(const qr of yr.event.children){if(qr.activity!=="click"||!qr.script)continue;const sn=(0,he.recoverJsURL)(qr.script[R.$content]);if(!sn)continue;const Kr=(0,z.fixURL)(sn.url);Kr&&lr.children.push({name:"a",attributes:{id:"link"+this[R.$uid],href:Kr,newWindow:sn.newWindow,class:["xfaLink"],style:{}},children:[]})}return e.HTMLResult.success(lr)}}class Ue extends R.XFAObject{constructor(Oe){super(W,"calculate",!0),this.id=Oe.id||"",this.override=(0,e.getStringOption)(Oe.override,["disabled","error","ignore","warning"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.message=null,this.script=null}}class $e extends R.XFAObject{constructor(Oe){super(W,"caption",!0),this.id=Oe.id||"",this.placement=(0,e.getStringOption)(Oe.placement,["left","bottom","inline","right","top"]),this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.reserve=Math.ceil((0,e.getMeasurement)(Oe.reserve)),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.font=null,this.margin=null,this.para=null,this.value=null}[R.$setValue](Oe){ke(this,Oe)}[R.$getExtra](Oe){if(!this[R.$extra]){let{width:ft,height:yr}=Oe;switch(this.placement){case"left":case"right":case"inline":ft=this.reserve<=0?ft:this.reserve;break;case"top":case"bottom":yr=this.reserve<=0?yr:this.reserve;break}this[R.$extra]=(0,z.layoutNode)(this,{width:ft,height:yr})}return this[R.$extra]}[R.$toHTML](Oe){if(!this.value)return e.HTMLResult.EMPTY;this[R.$pushPara]();const ft=this.value[R.$toHTML](Oe).html;if(!ft)return this[R.$popPara](),e.HTMLResult.EMPTY;const yr=this.reserve;if(this.reserve<=0){const{w:sn,h:Kr}=this[R.$getExtra](Oe);switch(this.placement){case"left":case"right":case"inline":this.reserve=sn;break;case"top":case"bottom":this.reserve=Kr;break}}const lr=[];typeof ft=="string"?lr.push({name:"#text",value:ft}):lr.push(ft);const qr=(0,z.toStyle)(this,"font","margin","visibility");switch(this.placement){case"left":case"right":this.reserve>0&&(qr.width=(0,z.measureToString)(this.reserve));break;case"top":case"bottom":this.reserve>0&&(qr.height=(0,z.measureToString)(this.reserve));break}return(0,z.setPara)(this,null,ft),this[R.$popPara](),this.reserve=yr,e.HTMLResult.success({name:"div",attributes:{style:qr,class:["xfaCaption"]},children:lr})}}class Ye extends R.StringObject{constructor(Oe){super(W,"certificate"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class tt extends R.XFAObject{constructor(Oe){super(W,"certificates",!0),this.credentialServerPolicy=(0,e.getStringOption)(Oe.credentialServerPolicy,["optional","required"]),this.id=Oe.id||"",this.url=Oe.url||"",this.urlPolicy=Oe.urlPolicy||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.encryption=null,this.issuers=null,this.keyUsage=null,this.oids=null,this.signing=null,this.subjectDNs=null}}class ot extends R.XFAObject{constructor(Oe){super(W,"checkButton",!0),this.id=Oe.id||"",this.mark=(0,e.getStringOption)(Oe.mark,["default","check","circle","cross","diamond","square","star"]),this.shape=(0,e.getStringOption)(Oe.shape,["square","round"]),this.size=(0,e.getMeasurement)(Oe.size,"10pt"),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){const ft=(0,z.toStyle)("margin"),yr=(0,z.measureToString)(this.size);ft.width=ft.height=yr;let lr,qr,sn;const Kr=this[R.$getParent]()[R.$getParent](),on=Kr.items.children.length&&Kr.items.children[0][R.$toHTML]().html||[],bn={on:(on[0]!==void 0?on[0]:"on").toString(),off:(on[1]!==void 0?on[1]:"off").toString()},zn=(Kr.value&&Kr.value[R.$text]()||"off")===bn.on||void 0,Bn=Kr[R.$getSubformParent](),kn=Kr[R.$uid];let Gn;Bn instanceof gr?(sn=Bn[R.$uid],lr="radio",qr="xfaRadio",Gn=Bn[R.$data]&&Bn[R.$data][R.$uid]||Bn[R.$uid]):(lr="checkbox",qr="xfaCheckbox",Gn=Kr[R.$data]&&Kr[R.$data][R.$uid]||Kr[R.$uid]);const En={name:"input",attributes:{class:[qr],style:ft,fieldId:kn,dataId:Gn,type:lr,checked:zn,xfaOn:bn.on,xfaOff:bn.off,"aria-label":Ce(Kr),"aria-required":!1}};return sn&&(En.attributes.name=sn),fe(Kr)&&(En.attributes["aria-required"]=!0,En.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[En]})}}class st extends R.XFAObject{constructor(Oe){super(W,"choiceList",!0),this.commitOn=(0,e.getStringOption)(Oe.commitOn,["select","exit"]),this.id=Oe.id||"",this.open=(0,e.getStringOption)(Oe.open,["userControl","always","multiSelect","onEntry"]),this.textEntry=(0,e.getInteger)({data:Oe.textEntry,defaultValue:0,validate:ft=>ft===1}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){const ft=(0,z.toStyle)(this,"border","margin"),lr=this[R.$getParent]()[R.$getParent](),sn={fontSize:`calc(${lr.font&&lr.font.size||10}px * var(--scale-factor))`},Kr=[];if(lr.items.children.length>0){const bn=lr.items;let Dn=0,zn=0;bn.children.length===2&&(Dn=bn.children[0].save,zn=1-Dn);const Bn=bn.children[Dn][R.$toHTML]().html,kn=bn.children[zn][R.$toHTML]().html;let Gn=!1;const En=lr.value&&lr.value[R.$text]()||"";for(let li=0,Sn=Bn.length;lift>=0}),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class mt extends R.XFAObject{constructor(Oe){super(W,"connect",!0),this.connection=Oe.connection||"",this.id=Oe.id||"",this.ref=Oe.ref||"",this.usage=(0,e.getStringOption)(Oe.usage,["exportAndImport","exportOnly","importOnly"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.picture=null}}class ut extends R.XFAObject{constructor(Oe){super(W,"contentArea",!0),this.h=(0,e.getMeasurement)(Oe.h),this.id=Oe.id||"",this.name=Oe.name||"",this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.w=(0,e.getMeasurement)(Oe.w),this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.desc=null,this.extras=null}[R.$toHTML](Oe){const ft=(0,z.measureToString)(this.x),yr=(0,z.measureToString)(this.y),lr={left:ft,top:yr,width:(0,z.measureToString)(this.w),height:(0,z.measureToString)(this.h)},qr=["xfaContentarea"];return(0,z.isPrintOnly)(this)&&qr.push("xfaPrintOnly"),e.HTMLResult.success({name:"div",children:[],attributes:{style:lr,class:qr,id:this[R.$uid]}})}}class rt extends R.XFAObject{constructor(Oe){super(W,"corner",!0),this.id=Oe.id||"",this.inverted=(0,e.getInteger)({data:Oe.inverted,defaultValue:0,validate:ft=>ft===1}),this.join=(0,e.getStringOption)(Oe.join,["square","round"]),this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.radius=(0,e.getMeasurement)(Oe.radius),this.stroke=(0,e.getStringOption)(Oe.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=(0,e.getMeasurement)(Oe.thickness,"0.5pt"),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](){const Oe=(0,z.toStyle)(this,"visibility");return Oe.radius=(0,z.measureToString)(this.join==="square"?0:this.radius),Oe}}class He extends R.ContentObject{constructor(Oe){super(W,"date"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=this[R.$content].trim();this[R.$content]=Oe?new Date(Oe):null}[R.$toHTML](Oe){return pe(this[R.$content]?this[R.$content].toString():"")}}class Je extends R.ContentObject{constructor(Oe){super(W,"dateTime"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=this[R.$content].trim();this[R.$content]=Oe?new Date(Oe):null}[R.$toHTML](Oe){return pe(this[R.$content]?this[R.$content].toString():"")}}class St extends R.XFAObject{constructor(Oe){super(W,"dateTimeEdit",!0),this.hScrollPolicy=(0,e.getStringOption)(Oe.hScrollPolicy,["auto","off","on"]),this.id=Oe.id||"",this.picker=(0,e.getStringOption)(Oe.picker,["host","none"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){const ft=(0,z.toStyle)(this,"border","font","margin"),yr=this[R.$getParent]()[R.$getParent](),lr={name:"input",attributes:{type:"text",fieldId:yr[R.$uid],dataId:yr[R.$data]&&yr[R.$data][R.$uid]||yr[R.$uid],class:["xfaTextfield"],style:ft,"aria-label":Ce(yr),"aria-required":!1}};return fe(yr)&&(lr.attributes["aria-required"]=!0,lr.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[lr]})}}class bt extends R.ContentObject{constructor(Oe){super(W,"decimal"),this.fracDigits=(0,e.getInteger)({data:Oe.fracDigits,defaultValue:2,validate:ft=>!0}),this.id=Oe.id||"",this.leadDigits=(0,e.getInteger)({data:Oe.leadDigits,defaultValue:-1,validate:ft=>!0}),this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=parseFloat(this[R.$content].trim());this[R.$content]=isNaN(Oe)?null:Oe}[R.$toHTML](Oe){return pe(this[R.$content]!==null?this[R.$content].toString():"")}}class pt extends R.XFAObject{constructor(Oe){super(W,"defaultUi",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}}class wt extends R.XFAObject{constructor(Oe){super(W,"desc",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.boolean=new R.XFAObjectArray,this.date=new R.XFAObjectArray,this.dateTime=new R.XFAObjectArray,this.decimal=new R.XFAObjectArray,this.exData=new R.XFAObjectArray,this.float=new R.XFAObjectArray,this.image=new R.XFAObjectArray,this.integer=new R.XFAObjectArray,this.text=new R.XFAObjectArray,this.time=new R.XFAObjectArray}}class Pt extends R.OptionObject{constructor(Oe){super(W,"digestMethod",["","SHA1","SHA256","SHA512","RIPEMD160"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Nt extends R.XFAObject{constructor(Oe){super(W,"digestMethods",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.digestMethod=new R.XFAObjectArray}}class Vt extends R.XFAObject{constructor(Oe){super(W,"draw",!0),this.anchorType=(0,e.getStringOption)(Oe.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,e.getInteger)({data:Oe.colSpan,defaultValue:1,validate:ft=>ft>=1||ft===-1}),this.h=Oe.h?(0,e.getMeasurement)(Oe.h):"",this.hAlign=(0,e.getStringOption)(Oe.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=Oe.id||"",this.locale=Oe.locale||"",this.maxH=(0,e.getMeasurement)(Oe.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(Oe.maxW,"0pt"),this.minH=(0,e.getMeasurement)(Oe.minH,"0pt"),this.minW=(0,e.getMeasurement)(Oe.minW,"0pt"),this.name=Oe.name||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.rotate=(0,e.getInteger)({data:Oe.rotate,defaultValue:0,validate:ft=>ft%90===0}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.w=Oe.w?(0,e.getMeasurement)(Oe.w):"",this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.assist=null,this.border=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.value=null,this.setProperty=new R.XFAObjectArray}[R.$setValue](Oe){ke(this,Oe)}[R.$toHTML](Oe){if(ve(this),this.presence==="hidden"||this.presence==="inactive")return e.HTMLResult.EMPTY;(0,z.fixDimensions)(this),this[R.$pushPara]();const ft=this.w,yr=this.h,{w:lr,h:qr,isBroken:sn}=(0,z.layoutNode)(this,Oe);if(lr&&this.w===""){if(sn&&this[R.$getSubformParent]()[R.$isThereMoreWidth]())return this[R.$popPara](),e.HTMLResult.FAILURE;this.w=lr}if(qr&&this.h===""&&(this.h=qr),_e(this),!(0,K.checkDimensions)(this,Oe))return this.w=ft,this.h=yr,this[R.$popPara](),e.HTMLResult.FAILURE;Ge(this);const Kr=(0,z.toStyle)(this,"font","hAlign","dimensions","position","presence","rotate","anchorType","border","margin");(0,z.setMinMaxDimensions)(this,Kr),Kr.margin&&(Kr.padding=Kr.margin,delete Kr.margin);const on=["xfaDraw"];this.font&&on.push("xfaFont"),(0,z.isPrintOnly)(this)&&on.push("xfaPrintOnly");const bn={style:Kr,id:this[R.$uid],class:on};this.name&&(bn.xfaName=this.name);const Dn={name:"div",attributes:bn,children:[]};ye(this,bn);const zn=(0,z.computeBbox)(this,Dn,Oe),Bn=this.value?this.value[R.$toHTML](Oe).html:null;return Bn===null?(this.w=ft,this.h=yr,this[R.$popPara](),e.HTMLResult.success((0,z.createWrapper)(this,Dn),zn)):(Dn.children.push(Bn),(0,z.setPara)(this,Kr,Bn),this.w=ft,this.h=yr,this[R.$popPara](),e.HTMLResult.success((0,z.createWrapper)(this,Dn),zn))}}class Wt extends R.XFAObject{constructor(Oe){super(W,"edge",!0),this.cap=(0,e.getStringOption)(Oe.cap,["square","butt","round"]),this.id=Oe.id||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.stroke=(0,e.getStringOption)(Oe.stroke,["solid","dashDot","dashDotDot","dashed","dotted","embossed","etched","lowered","raised"]),this.thickness=(0,e.getMeasurement)(Oe.thickness,"0.5pt"),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](){const Oe=(0,z.toStyle)(this,"visibility");if(Object.assign(Oe,{linecap:this.cap,width:(0,z.measureToString)(this.thickness),color:this.color?this.color[R.$toStyle]():"#000000",style:""}),this.presence!=="visible")Oe.style="none";else switch(this.stroke){case"solid":Oe.style="solid";break;case"dashDot":Oe.style="dashed";break;case"dashDotDot":Oe.style="dashed";break;case"dashed":Oe.style="dashed";break;case"dotted":Oe.style="dotted";break;case"embossed":Oe.style="ridge";break;case"etched":Oe.style="groove";break;case"lowered":Oe.style="inset";break;case"raised":Oe.style="outset";break}return Oe}}class Mt extends R.OptionObject{constructor(Oe){super(W,"encoding",["adbe.x509.rsa_sha1","adbe.pkcs7.detached","adbe.pkcs7.sha1"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class $t extends R.XFAObject{constructor(Oe){super(W,"encodings",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.encoding=new R.XFAObjectArray}}class Yt extends R.XFAObject{constructor(Oe){super(W,"encrypt",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.certificate=null}}class Ft extends R.XFAObject{constructor(Oe){super(W,"encryptData",!0),this.id=Oe.id||"",this.operation=(0,e.getStringOption)(Oe.operation,["encrypt","decrypt"]),this.target=Oe.target||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.filter=null,this.manifest=null}}class Jt extends R.XFAObject{constructor(Oe){super(W,"encryption",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.certificate=new R.XFAObjectArray}}class er extends R.OptionObject{constructor(Oe){super(W,"encryptionMethod",["","AES256-CBC","TRIPLEDES-CBC","AES128-CBC","AES192-CBC"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Bt extends R.XFAObject{constructor(Oe){super(W,"encryptionMethods",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.encryptionMethod=new R.XFAObjectArray}}class It extends R.XFAObject{constructor(Oe){super(W,"event",!0),this.activity=(0,e.getStringOption)(Oe.activity,["click","change","docClose","docReady","enter","exit","full","indexChange","initialize","mouseDown","mouseEnter","mouseExit","mouseUp","postExecute","postOpen","postPrint","postSave","postSign","postSubmit","preExecute","preOpen","prePrint","preSave","preSign","preSubmit","ready","validationState"]),this.id=Oe.id||"",this.listen=(0,e.getStringOption)(Oe.listen,["refOnly","refAndDescendents"]),this.name=Oe.name||"",this.ref=Oe.ref||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.encryptData=null,this.execute=null,this.script=null,this.signData=null,this.submit=null}}class Dt extends R.ContentObject{constructor(Oe){super(W,"exData"),this.contentType=Oe.contentType||"",this.href=Oe.href||"",this.id=Oe.id||"",this.maxLength=(0,e.getInteger)({data:Oe.maxLength,defaultValue:-1,validate:ft=>ft>=-1}),this.name=Oe.name||"",this.rid=Oe.rid||"",this.transferEncoding=(0,e.getStringOption)(Oe.transferEncoding,["none","base64","package"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$isCDATAXml](){return this.contentType==="text/html"}[R.$onChild](Oe){return this.contentType==="text/html"&&Oe[R.$namespaceId]===U.NamespaceIds.xhtml.id?(this[R.$content]=Oe,!0):this.contentType==="text/xml"?(this[R.$content]=Oe,!0):!1}[R.$toHTML](Oe){return this.contentType!=="text/html"||!this[R.$content]?e.HTMLResult.EMPTY:this[R.$content][R.$toHTML](Oe)}}class Zt extends R.XFAObject{constructor(Oe){super(W,"exObject",!0),this.archive=Oe.archive||"",this.classId=Oe.classId||"",this.codeBase=Oe.codeBase||"",this.codeType=Oe.codeType||"",this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.boolean=new R.XFAObjectArray,this.date=new R.XFAObjectArray,this.dateTime=new R.XFAObjectArray,this.decimal=new R.XFAObjectArray,this.exData=new R.XFAObjectArray,this.exObject=new R.XFAObjectArray,this.float=new R.XFAObjectArray,this.image=new R.XFAObjectArray,this.integer=new R.XFAObjectArray,this.text=new R.XFAObjectArray,this.time=new R.XFAObjectArray}}class gr extends R.XFAObject{constructor(Oe){super(W,"exclGroup",!0),this.access=(0,e.getStringOption)(Oe.access,["open","nonInteractive","protected","readOnly"]),this.accessKey=Oe.accessKey||"",this.anchorType=(0,e.getStringOption)(Oe.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,e.getInteger)({data:Oe.colSpan,defaultValue:1,validate:ft=>ft>=1||ft===-1}),this.h=Oe.h?(0,e.getMeasurement)(Oe.h):"",this.hAlign=(0,e.getStringOption)(Oe.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=Oe.id||"",this.layout=(0,e.getStringOption)(Oe.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.maxH=(0,e.getMeasurement)(Oe.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(Oe.maxW,"0pt"),this.minH=(0,e.getMeasurement)(Oe.minH,"0pt"),this.minW=(0,e.getMeasurement)(Oe.minW,"0pt"),this.name=Oe.name||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.w=Oe.w?(0,e.getMeasurement)(Oe.w):"",this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.margin=null,this.para=null,this.traversal=null,this.validate=null,this.connect=new R.XFAObjectArray,this.event=new R.XFAObjectArray,this.field=new R.XFAObjectArray,this.setProperty=new R.XFAObjectArray}[R.$isBindable](){return!0}[R.$hasSettableValue](){return!0}[R.$setValue](Oe){for(const ft of this.field.children){if(!ft.value){const yr=new Ai({});ft[R.$appendChild](yr),ft.value=yr}ft.value[R.$setValue](Oe)}}[R.$isThereMoreWidth](){return this.layout.endsWith("-tb")&&this[R.$extra].attempt===0&&this[R.$extra].numberInLine>0||this[R.$getParent]()[R.$isThereMoreWidth]()}[R.$isSplittable](){const Oe=this[R.$getSubformParent]();return Oe[R.$isSplittable]()?this[R.$extra]._isSplittable!==void 0?this[R.$extra]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[R.$extra]._isSplittable=!1,!1):Oe.layout&&Oe.layout.endsWith("-tb")&&Oe[R.$extra].numberInLine!==0?!1:(this[R.$extra]._isSplittable=!0,!0):!1}[R.$flushHTML](){return(0,K.flushHTML)(this)}[R.$addHTML](Oe,ft){(0,K.addHTML)(this,Oe,ft)}[R.$getAvailableSpace](){return(0,K.getAvailableSpace)(this)}[R.$toHTML](Oe){if(ve(this),this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return e.HTMLResult.EMPTY;(0,z.fixDimensions)(this);const ft=[],yr={id:this[R.$uid],class:[]};(0,z.setAccess)(this,yr.class),this[R.$extra]||(this[R.$extra]=Object.create(null)),Object.assign(this[R.$extra],{children:ft,attributes:yr,attempt:0,line:null,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,Oe.width),height:Math.min(this.h||1/0,Oe.height)},width:0,height:0,prevHeight:0,currentWidth:0});const lr=this[R.$isSplittable]();if(lr||_e(this),!(0,K.checkDimensions)(this,Oe))return e.HTMLResult.FAILURE;const qr=new Set(["field"]);if(this.layout.includes("row")){const Sn=this[R.$getSubformParent]().columnWidths;Array.isArray(Sn)&&Sn.length>0&&(this[R.$extra].columnWidths=Sn,this[R.$extra].currentColumn=0)}const sn=(0,z.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),Kr=["xfaExclgroup"],on=(0,z.layoutClass)(this);on&&Kr.push(on),(0,z.isPrintOnly)(this)&&Kr.push("xfaPrintOnly"),yr.style=sn,yr.class=Kr,this.name&&(yr.xfaName=this.name),this[R.$pushPara]();const bn=this.layout==="lr-tb"||this.layout==="rl-tb",Dn=bn?L:1;for(;this[R.$extra].attemptft>=1||ft===-1}),this.h=Oe.h?(0,e.getMeasurement)(Oe.h):"",this.hAlign=(0,e.getStringOption)(Oe.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=Oe.id||"",this.locale=Oe.locale||"",this.maxH=(0,e.getMeasurement)(Oe.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(Oe.maxW,"0pt"),this.minH=(0,e.getMeasurement)(Oe.minH,"0pt"),this.minW=(0,e.getMeasurement)(Oe.minW,"0pt"),this.name=Oe.name||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.rotate=(0,e.getInteger)({data:Oe.rotate,defaultValue:0,validate:ft=>ft%90===0}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.w=Oe.w?(0,e.getMeasurement)(Oe.w):"",this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.assist=null,this.bind=null,this.border=null,this.calculate=null,this.caption=null,this.desc=null,this.extras=null,this.font=null,this.format=null,this.items=new R.XFAObjectArray(2),this.keep=null,this.margin=null,this.para=null,this.traversal=null,this.ui=null,this.validate=null,this.value=null,this.bindItems=new R.XFAObjectArray,this.connect=new R.XFAObjectArray,this.event=new R.XFAObjectArray,this.setProperty=new R.XFAObjectArray}[R.$isBindable](){return!0}[R.$setValue](Oe){ke(this,Oe)}[R.$toHTML](Oe){if(ve(this),!this.ui){this.ui=new Ir({}),this.ui[R.$globalData]=this[R.$globalData],this[R.$appendChild](this.ui);let Sn;switch(this.items.children.length){case 0:Sn=new pa({}),this.ui.textEdit=Sn;break;case 1:Sn=new ot({}),this.ui.checkButton=Sn;break;case 2:Sn=new st({}),this.ui.choiceList=Sn;break}this.ui[R.$appendChild](Sn)}if(!this.ui||this.presence==="hidden"||this.presence==="inactive"||this.h===0||this.w===0)return e.HTMLResult.EMPTY;this.caption&&delete this.caption[R.$extra],this[R.$pushPara]();const ft=this.caption?this.caption[R.$toHTML](Oe).html:null,yr=this.w,lr=this.h;let qr=0,sn=0;this.margin&&(qr=this.margin.leftInset+this.margin.rightInset,sn=this.margin.topInset+this.margin.bottomInset);let Kr=null;if(this.w===""||this.h===""){let Sn=null,In=null,vn=0,Cn=0;if(this.ui.checkButton)vn=Cn=this.ui.checkButton.size;else{const{w:Ti,h:vi}=(0,z.layoutNode)(this,Oe);Ti!==null?(vn=Ti,Cn=vi):Cn=(0,ie.getMetrics)(this.font,!0).lineNoGap}if(Kr=me(this.ui[R.$getExtra]()),vn+=Kr.w,Cn+=Kr.h,this.caption){const{w:Ti,h:vi,isBroken:Hn}=this.caption[R.$getExtra](Oe);if(Hn&&this[R.$getSubformParent]()[R.$isThereMoreWidth]())return this[R.$popPara](),e.HTMLResult.FAILURE;switch(Sn=Ti,In=vi,this.caption.placement){case"left":case"right":case"inline":Sn+=vn;break;case"top":case"bottom":In+=Cn;break}}else Sn=vn,In=Cn;Sn&&this.w===""&&(Sn+=qr,this.w=Math.min(this.maxW<=0?1/0:this.maxW,this.minW+1ft>=1&&ft<=5}),this.appearanceFilter=null,this.certificates=null,this.digestMethods=null,this.encodings=null,this.encryptionMethods=null,this.handler=null,this.lockDocument=null,this.mdp=null,this.reasons=null,this.timeStamp=null}}class yt extends R.ContentObject{constructor(Oe){super(W,"float"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=parseFloat(this[R.$content].trim());this[R.$content]=isNaN(Oe)?null:Oe}[R.$toHTML](Oe){return pe(this[R.$content]!==null?this[R.$content].toString():"")}}class vt extends R.XFAObject{constructor(Oe){super(W,"font",!0),this.baselineShift=(0,e.getMeasurement)(Oe.baselineShift),this.fontHorizontalScale=(0,e.getFloat)({data:Oe.fontHorizontalScale,defaultValue:100,validate:ft=>ft>=0}),this.fontVerticalScale=(0,e.getFloat)({data:Oe.fontVerticalScale,defaultValue:100,validate:ft=>ft>=0}),this.id=Oe.id||"",this.kerningMode=(0,e.getStringOption)(Oe.kerningMode,["none","pair"]),this.letterSpacing=(0,e.getMeasurement)(Oe.letterSpacing,"0"),this.lineThrough=(0,e.getInteger)({data:Oe.lineThrough,defaultValue:0,validate:ft=>ft===1||ft===2}),this.lineThroughPeriod=(0,e.getStringOption)(Oe.lineThroughPeriod,["all","word"]),this.overline=(0,e.getInteger)({data:Oe.overline,defaultValue:0,validate:ft=>ft===1||ft===2}),this.overlinePeriod=(0,e.getStringOption)(Oe.overlinePeriod,["all","word"]),this.posture=(0,e.getStringOption)(Oe.posture,["normal","italic"]),this.size=(0,e.getMeasurement)(Oe.size,"10pt"),this.typeface=Oe.typeface||"Courier",this.underline=(0,e.getInteger)({data:Oe.underline,defaultValue:0,validate:ft=>ft===1||ft===2}),this.underlinePeriod=(0,e.getStringOption)(Oe.underlinePeriod,["all","word"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.weight=(0,e.getStringOption)(Oe.weight,["normal","bold"]),this.extras=null,this.fill=null}[R.$clean](Oe){super[R.$clean](Oe),this[R.$globalData].usedTypefaces.add(this.typeface)}[R.$toStyle](){const Oe=(0,z.toStyle)(this,"fill"),ft=Oe.color;return ft&&(ft==="#000000"?delete Oe.color:ft.startsWith("#")||(Oe.background=ft,Oe.backgroundClip="text",Oe.color="transparent")),this.baselineShift&&(Oe.verticalAlign=(0,z.measureToString)(this.baselineShift)),Oe.fontKerning=this.kerningMode==="none"?"none":"normal",Oe.letterSpacing=(0,z.measureToString)(this.letterSpacing),this.lineThrough!==0&&(Oe.textDecoration="line-through",this.lineThrough===2&&(Oe.textDecorationStyle="double")),this.overline!==0&&(Oe.textDecoration="overline",this.overline===2&&(Oe.textDecorationStyle="double")),Oe.fontStyle=this.posture,Oe.fontSize=(0,z.measureToString)(.99*this.size),(0,z.setFontFamily)(this,this,this[R.$globalData].fontFinder,Oe),this.underline!==0&&(Oe.textDecoration="underline",this.underline===2&&(Oe.textDecorationStyle="double")),Oe.fontWeight=this.weight,Oe}}class Xt extends R.XFAObject{constructor(Oe){super(W,"format",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.picture=null}}class At extends R.StringObject{constructor(Oe){super(W,"handler"),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class zt extends R.XFAObject{constructor(Oe){super(W,"hyphenation"),this.excludeAllCaps=(0,e.getInteger)({data:Oe.excludeAllCaps,defaultValue:0,validate:ft=>ft===1}),this.excludeInitialCap=(0,e.getInteger)({data:Oe.excludeInitialCap,defaultValue:0,validate:ft=>ft===1}),this.hyphenate=(0,e.getInteger)({data:Oe.hyphenate,defaultValue:0,validate:ft=>ft===1}),this.id=Oe.id||"",this.pushCharacterCount=(0,e.getInteger)({data:Oe.pushCharacterCount,defaultValue:3,validate:ft=>ft>=0}),this.remainCharacterCount=(0,e.getInteger)({data:Oe.remainCharacterCount,defaultValue:3,validate:ft=>ft>=0}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.wordCharacterCount=(0,e.getInteger)({data:Oe.wordCharacterCount,defaultValue:7,validate:ft=>ft>=0})}}class Br extends R.StringObject{constructor(Oe){super(W,"image"),this.aspect=(0,e.getStringOption)(Oe.aspect,["fit","actual","height","none","width"]),this.contentType=Oe.contentType||"",this.href=Oe.href||"",this.id=Oe.id||"",this.name=Oe.name||"",this.transferEncoding=(0,e.getStringOption)(Oe.transferEncoding,["base64","none","package"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$toHTML](){if(this.contentType&&!se.has(this.contentType.toLowerCase()))return e.HTMLResult.EMPTY;let Oe=this[R.$globalData].images&&this[R.$globalData].images.get(this.href);if(!Oe&&(this.href||!this[R.$content])||(!Oe&&this.transferEncoding==="base64"&&(Oe=(0,ae.stringToBytes)(atob(this[R.$content]))),!Oe))return e.HTMLResult.EMPTY;if(!this.contentType){for(const[qr,sn]of oe)if(Oe.length>qr.length&&qr.every((Kr,on)=>Kr===Oe[on])){this.contentType=sn;break}if(!this.contentType)return e.HTMLResult.EMPTY}const ft=new Blob([Oe],{type:this.contentType});let yr;switch(this.aspect){case"fit":case"actual":break;case"height":yr={height:"100%",objectFit:"fill"};break;case"none":yr={width:"100%",height:"100%",objectFit:"fill"};break;case"width":yr={width:"100%",objectFit:"fill"};break}const lr=this[R.$getParent]();return e.HTMLResult.success({name:"img",attributes:{class:["xfaImage"],style:yr,src:URL.createObjectURL(ft),alt:lr?Ce(lr[R.$getParent]()):null}})}}class br extends R.XFAObject{constructor(Oe){super(W,"imageEdit",!0),this.data=(0,e.getStringOption)(Oe.data,["link","embed"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){return this.data==="embed"?e.HTMLResult.success({name:"div",children:[],attributes:{}}):e.HTMLResult.EMPTY}}class Ur extends R.ContentObject{constructor(Oe){super(W,"integer"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=parseInt(this[R.$content].trim(),10);this[R.$content]=isNaN(Oe)?null:Oe}[R.$toHTML](Oe){return pe(this[R.$content]!==null?this[R.$content].toString():"")}}class un extends R.XFAObject{constructor(Oe){super(W,"issuers",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.certificate=new R.XFAObjectArray}}class sr extends R.XFAObject{constructor(Oe){super(W,"items",!0),this.id=Oe.id||"",this.name=Oe.name||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.ref=Oe.ref||"",this.save=(0,e.getInteger)({data:Oe.save,defaultValue:0,validate:ft=>ft===1}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.boolean=new R.XFAObjectArray,this.date=new R.XFAObjectArray,this.dateTime=new R.XFAObjectArray,this.decimal=new R.XFAObjectArray,this.exData=new R.XFAObjectArray,this.float=new R.XFAObjectArray,this.image=new R.XFAObjectArray,this.integer=new R.XFAObjectArray,this.text=new R.XFAObjectArray,this.time=new R.XFAObjectArray}[R.$toHTML](){const Oe=[];for(const ft of this[R.$getChildren]())Oe.push(ft[R.$text]());return e.HTMLResult.success(Oe)}}D.Items=sr;class ur extends R.XFAObject{constructor(Oe){super(W,"keep",!0),this.id=Oe.id||"";const ft=["none","contentArea","pageArea"];this.intact=(0,e.getStringOption)(Oe.intact,ft),this.next=(0,e.getStringOption)(Oe.next,ft),this.previous=(0,e.getStringOption)(Oe.previous,ft),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}}class Cr extends R.XFAObject{constructor(Oe){super(W,"keyUsage");const ft=["","yes","no"];this.crlSign=(0,e.getStringOption)(Oe.crlSign,ft),this.dataEncipherment=(0,e.getStringOption)(Oe.dataEncipherment,ft),this.decipherOnly=(0,e.getStringOption)(Oe.decipherOnly,ft),this.digitalSignature=(0,e.getStringOption)(Oe.digitalSignature,ft),this.encipherOnly=(0,e.getStringOption)(Oe.encipherOnly,ft),this.id=Oe.id||"",this.keyAgreement=(0,e.getStringOption)(Oe.keyAgreement,ft),this.keyCertSign=(0,e.getStringOption)(Oe.keyCertSign,ft),this.keyEncipherment=(0,e.getStringOption)(Oe.keyEncipherment,ft),this.nonRepudiation=(0,e.getStringOption)(Oe.nonRepudiation,ft),this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Tr extends R.XFAObject{constructor(Oe){super(W,"line",!0),this.hand=(0,e.getStringOption)(Oe.hand,["even","left","right"]),this.id=Oe.id||"",this.slope=(0,e.getStringOption)(Oe.slope,["\\","/"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.edge=null}[R.$toHTML](){const Oe=this[R.$getParent]()[R.$getParent](),ft=this.edge||new Wt({}),yr=ft[R.$toStyle](),lr=Object.create(null),qr=ft.presence==="visible"?ft.thickness:0;lr.strokeWidth=(0,z.measureToString)(qr),lr.stroke=yr.color;let sn,Kr,on,bn,Dn="100%",zn="100%";Oe.w<=qr?([sn,Kr,on,bn]=["50%",0,"50%","100%"],Dn=lr.strokeWidth):Oe.h<=qr?([sn,Kr,on,bn]=[0,"50%","100%","50%"],zn=lr.strokeWidth):this.slope==="\\"?[sn,Kr,on,bn]=[0,0,"100%","100%"]:[sn,Kr,on,bn]=[0,"100%","100%",0];const kn={name:"svg",children:[{name:"line",attributes:{xmlns:X,x1:sn,y1:Kr,x2:on,y2:bn,style:lr}}],attributes:{xmlns:X,width:Dn,height:zn,style:{overflow:"visible"}}};return Ee(Oe)?e.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[kn]}):(kn.attributes.style.position="absolute",e.HTMLResult.success(kn))}}class jt extends R.XFAObject{constructor(Oe){super(W,"linear",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["toRight","toBottom","toLeft","toTop"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](Oe){Oe=Oe?Oe[R.$toStyle]():"#FFFFFF";const ft=this.type.replace(/([RBLT])/," $1").toLowerCase(),yr=this.color?this.color[R.$toStyle]():"#000000";return`linear-gradient(${ft}, ${Oe}, ${yr})`}}class Wr extends R.ContentObject{constructor(Oe){super(W,"lockDocument"),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){this[R.$content]=(0,e.getStringOption)(this[R.$content],["auto","0","1"])}}class ir extends R.XFAObject{constructor(Oe){super(W,"manifest",!0),this.action=(0,e.getStringOption)(Oe.action,["include","all","exclude"]),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.ref=new R.XFAObjectArray}}class Gr extends R.XFAObject{constructor(Oe){super(W,"margin",!0),this.bottomInset=(0,e.getMeasurement)(Oe.bottomInset,"0"),this.id=Oe.id||"",this.leftInset=(0,e.getMeasurement)(Oe.leftInset,"0"),this.rightInset=(0,e.getMeasurement)(Oe.rightInset,"0"),this.topInset=(0,e.getMeasurement)(Oe.topInset,"0"),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}[R.$toStyle](){return{margin:(0,z.measureToString)(this.topInset)+" "+(0,z.measureToString)(this.rightInset)+" "+(0,z.measureToString)(this.bottomInset)+" "+(0,z.measureToString)(this.leftInset)}}}class Jr extends R.XFAObject{constructor(Oe){super(W,"mdp"),this.id=Oe.id||"",this.permissions=(0,e.getInteger)({data:Oe.permissions,defaultValue:2,validate:ft=>ft===1||ft===3}),this.signatureType=(0,e.getStringOption)(Oe.signatureType,["filler","author"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Xr extends R.XFAObject{constructor(Oe){super(W,"medium"),this.id=Oe.id||"",this.imagingBBox=(0,e.getBBox)(Oe.imagingBBox),this.long=(0,e.getMeasurement)(Oe.long),this.orientation=(0,e.getStringOption)(Oe.orientation,["portrait","landscape"]),this.short=(0,e.getMeasurement)(Oe.short),this.stock=Oe.stock||"",this.trayIn=(0,e.getStringOption)(Oe.trayIn,["auto","delegate","pageFront"]),this.trayOut=(0,e.getStringOption)(Oe.trayOut,["auto","delegate"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class fn extends R.XFAObject{constructor(Oe){super(W,"message",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.text=new R.XFAObjectArray}}class cn extends R.XFAObject{constructor(Oe){super(W,"numericEdit",!0),this.hScrollPolicy=(0,e.getStringOption)(Oe.hScrollPolicy,["auto","off","on"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.comb=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){const ft=(0,z.toStyle)(this,"border","font","margin"),yr=this[R.$getParent]()[R.$getParent](),lr={name:"input",attributes:{type:"text",fieldId:yr[R.$uid],dataId:yr[R.$data]&&yr[R.$data][R.$uid]||yr[R.$uid],class:["xfaTextfield"],style:ft,"aria-label":Ce(yr),"aria-required":!1}};return fe(yr)&&(lr.attributes["aria-required"]=!0,lr.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[lr]})}}class nn extends R.XFAObject{constructor(Oe){super(W,"occur",!0),this.id=Oe.id||"",this.initial=Oe.initial!==""?(0,e.getInteger)({data:Oe.initial,defaultValue:"",validate:ft=>!0}):"",this.max=Oe.max!==""?(0,e.getInteger)({data:Oe.max,defaultValue:1,validate:ft=>!0}):"",this.min=Oe.min!==""?(0,e.getInteger)({data:Oe.min,defaultValue:1,validate:ft=>!0}):"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}[R.$clean](){const Oe=this[R.$getParent](),ft=this.min;this.min===""&&(this.min=Oe instanceof Rr||Oe instanceof Mr?0:1),this.max===""&&(ft===""?this.max=Oe instanceof Rr||Oe instanceof Mr?-1:1:this.max=this.min),this.max!==-1&&this.max!0}),this.name=Oe.name||"",this.numbered=(0,e.getInteger)({data:Oe.numbered,defaultValue:1,validate:ft=>!0}),this.oddOrEven=(0,e.getStringOption)(Oe.oddOrEven,["any","even","odd"]),this.pagePosition=(0,e.getStringOption)(Oe.pagePosition,["any","first","last","only","rest"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.desc=null,this.extras=null,this.medium=null,this.occur=null,this.area=new R.XFAObjectArray,this.contentArea=new R.XFAObjectArray,this.draw=new R.XFAObjectArray,this.exclGroup=new R.XFAObjectArray,this.field=new R.XFAObjectArray,this.subform=new R.XFAObjectArray}[R.$isUsable](){return this[R.$extra]?!this.occur||this.occur.max===-1||this[R.$extra].numberOfUseqr.oddOrEven===ft&&qr.pagePosition===yr);return lr||(lr=this.pageArea.children.find(qr=>qr.oddOrEven==="any"&&qr.pagePosition===yr),lr)||(lr=this.pageArea.children.find(qr=>qr.oddOrEven==="any"&&qr.pagePosition==="any"),lr)?lr:this.pageArea.children[0]}}class an extends R.XFAObject{constructor(Oe){super(W,"para",!0),this.hAlign=(0,e.getStringOption)(Oe.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=Oe.id||"",this.lineHeight=Oe.lineHeight?(0,e.getMeasurement)(Oe.lineHeight,"0pt"):"",this.marginLeft=Oe.marginLeft?(0,e.getMeasurement)(Oe.marginLeft,"0pt"):"",this.marginRight=Oe.marginRight?(0,e.getMeasurement)(Oe.marginRight,"0pt"):"",this.orphans=(0,e.getInteger)({data:Oe.orphans,defaultValue:0,validate:ft=>ft>=0}),this.preserve=Oe.preserve||"",this.radixOffset=Oe.radixOffset?(0,e.getMeasurement)(Oe.radixOffset,"0pt"):"",this.spaceAbove=Oe.spaceAbove?(0,e.getMeasurement)(Oe.spaceAbove,"0pt"):"",this.spaceBelow=Oe.spaceBelow?(0,e.getMeasurement)(Oe.spaceBelow,"0pt"):"",this.tabDefault=Oe.tabDefault?(0,e.getMeasurement)(this.tabDefault):"",this.tabStops=(Oe.tabStops||"").trim().split(/\s+/).map((ft,yr)=>yr%2===1?(0,e.getMeasurement)(ft):ft),this.textIndent=Oe.textIndent?(0,e.getMeasurement)(Oe.textIndent,"0pt"):"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.vAlign=(0,e.getStringOption)(Oe.vAlign,["top","bottom","middle"]),this.widows=(0,e.getInteger)({data:Oe.widows,defaultValue:0,validate:ft=>ft>=0}),this.hyphenation=null}[R.$toStyle](){const Oe=(0,z.toStyle)(this,"hAlign");return this.marginLeft!==""&&(Oe.paddingLeft=(0,z.measureToString)(this.marginLeft)),this.marginRight!==""&&(Oe.paddingight=(0,z.measureToString)(this.marginRight)),this.spaceAbove!==""&&(Oe.paddingTop=(0,z.measureToString)(this.spaceAbove)),this.spaceBelow!==""&&(Oe.paddingBottom=(0,z.measureToString)(this.spaceBelow)),this.textIndent!==""&&(Oe.textIndent=(0,z.measureToString)(this.textIndent),(0,z.fixTextIndent)(Oe)),this.lineHeight>0&&(Oe.lineHeight=(0,z.measureToString)(this.lineHeight)),this.tabDefault!==""&&(Oe.tabSize=(0,z.measureToString)(this.tabDefault)),this.tabStops.length>0,this.hyphenatation&&Object.assign(Oe,this.hyphenatation[R.$toStyle]()),Oe}}class gn extends R.XFAObject{constructor(Oe){super(W,"passwordEdit",!0),this.hScrollPolicy=(0,e.getStringOption)(Oe.hScrollPolicy,["auto","off","on"]),this.id=Oe.id||"",this.passwordChar=Oe.passwordChar||"*",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.extras=null,this.margin=null}}class dn extends R.XFAObject{constructor(Oe){super(W,"pattern",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["crossHatch","crossDiagonal","diagonalLeft","diagonalRight","horizontal","vertical"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](Oe){Oe=Oe?Oe[R.$toStyle]():"#FFFFFF";const ft=this.color?this.color[R.$toStyle]():"#000000",yr=5,lr="repeating-linear-gradient",qr=`${Oe},${Oe} ${yr}px,${ft} ${yr}px,${ft} ${2*yr}px`;switch(this.type){case"crossHatch":return`${lr}(to top,${qr}) ${lr}(to right,${qr})`;case"crossDiagonal":return`${lr}(45deg,${qr}) ${lr}(-45deg,${qr})`;case"diagonalLeft":return`${lr}(45deg,${qr})`;case"diagonalRight":return`${lr}(-45deg,${qr})`;case"horizontal":return`${lr}(to top,${qr})`;case"vertical":return`${lr}(to right,${qr})`}return""}}class pn extends R.StringObject{constructor(Oe){super(W,"picture"),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Mn extends R.XFAObject{constructor(Oe){super(W,"proto",!0),this.appearanceFilter=new R.XFAObjectArray,this.arc=new R.XFAObjectArray,this.area=new R.XFAObjectArray,this.assist=new R.XFAObjectArray,this.barcode=new R.XFAObjectArray,this.bindItems=new R.XFAObjectArray,this.bookend=new R.XFAObjectArray,this.boolean=new R.XFAObjectArray,this.border=new R.XFAObjectArray,this.break=new R.XFAObjectArray,this.breakAfter=new R.XFAObjectArray,this.breakBefore=new R.XFAObjectArray,this.button=new R.XFAObjectArray,this.calculate=new R.XFAObjectArray,this.caption=new R.XFAObjectArray,this.certificate=new R.XFAObjectArray,this.certificates=new R.XFAObjectArray,this.checkButton=new R.XFAObjectArray,this.choiceList=new R.XFAObjectArray,this.color=new R.XFAObjectArray,this.comb=new R.XFAObjectArray,this.connect=new R.XFAObjectArray,this.contentArea=new R.XFAObjectArray,this.corner=new R.XFAObjectArray,this.date=new R.XFAObjectArray,this.dateTime=new R.XFAObjectArray,this.dateTimeEdit=new R.XFAObjectArray,this.decimal=new R.XFAObjectArray,this.defaultUi=new R.XFAObjectArray,this.desc=new R.XFAObjectArray,this.digestMethod=new R.XFAObjectArray,this.digestMethods=new R.XFAObjectArray,this.draw=new R.XFAObjectArray,this.edge=new R.XFAObjectArray,this.encoding=new R.XFAObjectArray,this.encodings=new R.XFAObjectArray,this.encrypt=new R.XFAObjectArray,this.encryptData=new R.XFAObjectArray,this.encryption=new R.XFAObjectArray,this.encryptionMethod=new R.XFAObjectArray,this.encryptionMethods=new R.XFAObjectArray,this.event=new R.XFAObjectArray,this.exData=new R.XFAObjectArray,this.exObject=new R.XFAObjectArray,this.exclGroup=new R.XFAObjectArray,this.execute=new R.XFAObjectArray,this.extras=new R.XFAObjectArray,this.field=new R.XFAObjectArray,this.fill=new R.XFAObjectArray,this.filter=new R.XFAObjectArray,this.float=new R.XFAObjectArray,this.font=new R.XFAObjectArray,this.format=new R.XFAObjectArray,this.handler=new R.XFAObjectArray,this.hyphenation=new R.XFAObjectArray,this.image=new R.XFAObjectArray,this.imageEdit=new R.XFAObjectArray,this.integer=new R.XFAObjectArray,this.issuers=new R.XFAObjectArray,this.items=new R.XFAObjectArray,this.keep=new R.XFAObjectArray,this.keyUsage=new R.XFAObjectArray,this.line=new R.XFAObjectArray,this.linear=new R.XFAObjectArray,this.lockDocument=new R.XFAObjectArray,this.manifest=new R.XFAObjectArray,this.margin=new R.XFAObjectArray,this.mdp=new R.XFAObjectArray,this.medium=new R.XFAObjectArray,this.message=new R.XFAObjectArray,this.numericEdit=new R.XFAObjectArray,this.occur=new R.XFAObjectArray,this.oid=new R.XFAObjectArray,this.oids=new R.XFAObjectArray,this.overflow=new R.XFAObjectArray,this.pageArea=new R.XFAObjectArray,this.pageSet=new R.XFAObjectArray,this.para=new R.XFAObjectArray,this.passwordEdit=new R.XFAObjectArray,this.pattern=new R.XFAObjectArray,this.picture=new R.XFAObjectArray,this.radial=new R.XFAObjectArray,this.reason=new R.XFAObjectArray,this.reasons=new R.XFAObjectArray,this.rectangle=new R.XFAObjectArray,this.ref=new R.XFAObjectArray,this.script=new R.XFAObjectArray,this.setProperty=new R.XFAObjectArray,this.signData=new R.XFAObjectArray,this.signature=new R.XFAObjectArray,this.signing=new R.XFAObjectArray,this.solid=new R.XFAObjectArray,this.speak=new R.XFAObjectArray,this.stipple=new R.XFAObjectArray,this.subform=new R.XFAObjectArray,this.subformSet=new R.XFAObjectArray,this.subjectDN=new R.XFAObjectArray,this.subjectDNs=new R.XFAObjectArray,this.submit=new R.XFAObjectArray,this.text=new R.XFAObjectArray,this.textEdit=new R.XFAObjectArray,this.time=new R.XFAObjectArray,this.timeStamp=new R.XFAObjectArray,this.toolTip=new R.XFAObjectArray,this.traversal=new R.XFAObjectArray,this.traverse=new R.XFAObjectArray,this.ui=new R.XFAObjectArray,this.validate=new R.XFAObjectArray,this.value=new R.XFAObjectArray,this.variables=new R.XFAObjectArray}}class Yn extends R.XFAObject{constructor(Oe){super(W,"radial",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["toEdge","toCenter"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](Oe){Oe=Oe?Oe[R.$toStyle]():"#FFFFFF";const ft=this.color?this.color[R.$toStyle]():"#000000";return`radial-gradient(circle at center, ${this.type==="toEdge"?`${Oe},${ft}`:`${ft},${Oe}`})`}}class hi extends R.StringObject{constructor(Oe){super(W,"reason"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Ci extends R.XFAObject{constructor(Oe){super(W,"reasons",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.reason=new R.XFAObjectArray}}class da extends R.XFAObject{constructor(Oe){super(W,"rectangle",!0),this.hand=(0,e.getStringOption)(Oe.hand,["even","left","right"]),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.corner=new R.XFAObjectArray(4),this.edge=new R.XFAObjectArray(4),this.fill=null}[R.$toHTML](){const Oe=this.edge.children.length?this.edge.children[0]:new Wt({}),ft=Oe[R.$toStyle](),yr=Object.create(null);this.fill&&this.fill.presence==="visible"?Object.assign(yr,this.fill[R.$toStyle]()):yr.fill="transparent",yr.strokeWidth=(0,z.measureToString)(Oe.presence==="visible"?Oe.thickness:0),yr.stroke=ft.color;const qr=(this.corner.children.length?this.corner.children[0]:new rt({}))[R.$toStyle](),Kr={name:"svg",children:[{name:"rect",attributes:{xmlns:X,width:"100%",height:"100%",x:0,y:0,rx:qr.radius,ry:qr.radius,style:yr}}],attributes:{xmlns:X,style:{overflow:"visible"},width:"100%",height:"100%"}},on=this[R.$getParent]()[R.$getParent]();return Ee(on)?e.HTMLResult.success({name:"div",attributes:{style:{display:"inline",width:"100%",height:"100%"}},children:[Kr]}):(Kr.attributes.style.position="absolute",e.HTMLResult.success(Kr))}}class ra extends R.StringObject{constructor(Oe){super(W,"ref"),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Ri extends R.StringObject{constructor(Oe){super(W,"script"),this.binding=Oe.binding||"",this.contentType=Oe.contentType||"",this.id=Oe.id||"",this.name=Oe.name||"",this.runAt=(0,e.getStringOption)(Oe.runAt,["client","both","server"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class oi extends R.XFAObject{constructor(Oe){super(W,"setProperty"),this.connection=Oe.connection||"",this.ref=Oe.ref||"",this.target=Oe.target||""}}D.SetProperty=oi;class mi extends R.XFAObject{constructor(Oe){super(W,"signData",!0),this.id=Oe.id||"",this.operation=(0,e.getStringOption)(Oe.operation,["sign","clear","verify"]),this.ref=Oe.ref||"",this.target=Oe.target||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.filter=null,this.manifest=null}}class Ia extends R.XFAObject{constructor(Oe){super(W,"signature",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["PDF1.3","PDF1.6"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.border=null,this.extras=null,this.filter=null,this.manifest=null,this.margin=null}}class ha extends R.XFAObject{constructor(Oe){super(W,"signing",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.certificate=new R.XFAObjectArray}}class ka extends R.XFAObject{constructor(Oe){super(W,"solid",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null}[R.$toStyle](Oe){return Oe?Oe[R.$toStyle]():"#FFFFFF"}}class na extends R.StringObject{constructor(Oe){super(W,"speak"),this.disable=(0,e.getInteger)({data:Oe.disable,defaultValue:0,validate:ft=>ft===1}),this.id=Oe.id||"",this.priority=(0,e.getStringOption)(Oe.priority,["custom","caption","name","toolTip"]),this.rid=Oe.rid||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class Fi extends R.XFAObject{constructor(Oe){super(W,"stipple",!0),this.id=Oe.id||"",this.rate=(0,e.getInteger)({data:Oe.rate,defaultValue:50,validate:ft=>ft>=0&&ft<=100}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.color=null,this.extras=null}[R.$toStyle](Oe){const ft=this.rate/100;return ae.Util.makeHexColor(Math.round(Oe.value.r*(1-ft)+this.value.r*ft),Math.round(Oe.value.g*(1-ft)+this.value.g*ft),Math.round(Oe.value.b*(1-ft)+this.value.b*ft))}}class Zn extends R.XFAObject{constructor(Oe){super(W,"subform",!0),this.access=(0,e.getStringOption)(Oe.access,["open","nonInteractive","protected","readOnly"]),this.allowMacro=(0,e.getInteger)({data:Oe.allowMacro,defaultValue:0,validate:ft=>ft===1}),this.anchorType=(0,e.getStringOption)(Oe.anchorType,["topLeft","bottomCenter","bottomLeft","bottomRight","middleCenter","middleLeft","middleRight","topCenter","topRight"]),this.colSpan=(0,e.getInteger)({data:Oe.colSpan,defaultValue:1,validate:ft=>ft>=1||ft===-1}),this.columnWidths=(Oe.columnWidths||"").trim().split(/\s+/).map(ft=>ft==="-1"?-1:(0,e.getMeasurement)(ft)),this.h=Oe.h?(0,e.getMeasurement)(Oe.h):"",this.hAlign=(0,e.getStringOption)(Oe.hAlign,["left","center","justify","justifyAll","radix","right"]),this.id=Oe.id||"",this.layout=(0,e.getStringOption)(Oe.layout,["position","lr-tb","rl-row","rl-tb","row","table","tb"]),this.locale=Oe.locale||"",this.maxH=(0,e.getMeasurement)(Oe.maxH,"0pt"),this.maxW=(0,e.getMeasurement)(Oe.maxW,"0pt"),this.mergeMode=(0,e.getStringOption)(Oe.mergeMode,["consumeData","matchTemplate"]),this.minH=(0,e.getMeasurement)(Oe.minH,"0pt"),this.minW=(0,e.getMeasurement)(Oe.minW,"0pt"),this.name=Oe.name||"",this.presence=(0,e.getStringOption)(Oe.presence,["visible","hidden","inactive","invisible"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.restoreState=(0,e.getStringOption)(Oe.restoreState,["manual","auto"]),this.scope=(0,e.getStringOption)(Oe.scope,["name","none"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.w=Oe.w?(0,e.getMeasurement)(Oe.w):"",this.x=(0,e.getMeasurement)(Oe.x,"0pt"),this.y=(0,e.getMeasurement)(Oe.y,"0pt"),this.assist=null,this.bind=null,this.bookend=null,this.border=null,this.break=null,this.calculate=null,this.desc=null,this.extras=null,this.keep=null,this.margin=null,this.occur=null,this.overflow=null,this.pageSet=null,this.para=null,this.traversal=null,this.validate=null,this.variables=null,this.area=new R.XFAObjectArray,this.breakAfter=new R.XFAObjectArray,this.breakBefore=new R.XFAObjectArray,this.connect=new R.XFAObjectArray,this.draw=new R.XFAObjectArray,this.event=new R.XFAObjectArray,this.exObject=new R.XFAObjectArray,this.exclGroup=new R.XFAObjectArray,this.field=new R.XFAObjectArray,this.proto=new R.XFAObjectArray,this.setProperty=new R.XFAObjectArray,this.subform=new R.XFAObjectArray,this.subformSet=new R.XFAObjectArray}[R.$getSubformParent](){const Oe=this[R.$getParent]();return Oe instanceof ia?Oe[R.$getSubformParent]():Oe}[R.$isBindable](){return!0}[R.$isThereMoreWidth](){return this.layout.endsWith("-tb")&&this[R.$extra].attempt===0&&this[R.$extra].numberInLine>0||this[R.$getParent]()[R.$isThereMoreWidth]()}*[R.$getContainedChildren](){yield*xe(this)}[R.$flushHTML](){return(0,K.flushHTML)(this)}[R.$addHTML](Oe,ft){(0,K.addHTML)(this,Oe,ft)}[R.$getAvailableSpace](){return(0,K.getAvailableSpace)(this)}[R.$isSplittable](){const Oe=this[R.$getSubformParent]();return Oe[R.$isSplittable]()?this[R.$extra]._isSplittable!==void 0?this[R.$extra]._isSplittable:this.layout==="position"||this.layout.includes("row")?(this[R.$extra]._isSplittable=!1,!1):this.keep&&this.keep.intact!=="none"?(this[R.$extra]._isSplittable=!1,!1):Oe.layout&&Oe.layout.endsWith("-tb")&&Oe[R.$extra].numberInLine!==0?!1:(this[R.$extra]._isSplittable=!0,!0):!1}[R.$toHTML](Oe){if(ve(this),this.break){if(this.break.after!=="auto"||this.break.afterTarget!==""){const Cn=new Le({targetType:this.break.after,target:this.break.afterTarget,startNew:this.break.startNew.toString()});Cn[R.$globalData]=this[R.$globalData],this[R.$appendChild](Cn),this.breakAfter.push(Cn)}if(this.break.before!=="auto"||this.break.beforeTarget!==""){const Cn=new et({targetType:this.break.before,target:this.break.beforeTarget,startNew:this.break.startNew.toString()});Cn[R.$globalData]=this[R.$globalData],this[R.$appendChild](Cn),this.breakBefore.push(Cn)}if(this.break.overflowTarget!==""){const Cn=new Lr({target:this.break.overflowTarget,leader:this.break.overflowLeader,trailer:this.break.overflowTrailer});Cn[R.$globalData]=this[R.$globalData],this[R.$appendChild](Cn),this.overflow.push(Cn)}this[R.$removeChild](this.break),this.break=null}if(this.presence==="hidden"||this.presence==="inactive")return e.HTMLResult.EMPTY;if((this.breakBefore.children.length>1||this.breakAfter.children.length>1)&&(0,ae.warn)("XFA - Several breakBefore or breakAfter in subforms: please file a bug."),this.breakBefore.children.length>=1){const Cn=this.breakBefore.children[0];if(Ae(Cn))return e.HTMLResult.breakNode(Cn)}if(this[R.$extra]&&this[R.$extra].afterBreakAfter)return e.HTMLResult.EMPTY;(0,z.fixDimensions)(this);const ft=[],yr={id:this[R.$uid],class:[]};(0,z.setAccess)(this,yr.class),this[R.$extra]||(this[R.$extra]=Object.create(null)),Object.assign(this[R.$extra],{children:ft,line:null,attributes:yr,attempt:0,numberInLine:0,availableSpace:{width:Math.min(this.w||1/0,Oe.width),height:Math.min(this.h||1/0,Oe.height)},width:0,height:0,prevHeight:0,currentWidth:0});const lr=this[R.$getTemplateRoot](),qr=lr[R.$extra].noLayoutFailure,sn=this[R.$isSplittable]();if(sn||_e(this),!(0,K.checkDimensions)(this,Oe))return e.HTMLResult.FAILURE;const Kr=new Set(["area","draw","exclGroup","field","subform","subformSet"]);if(this.layout.includes("row")){const Cn=this[R.$getSubformParent]().columnWidths;Array.isArray(Cn)&&Cn.length>0&&(this[R.$extra].columnWidths=Cn,this[R.$extra].currentColumn=0)}const on=(0,z.toStyle)(this,"anchorType","dimensions","position","presence","border","margin","hAlign"),bn=["xfaSubform"],Dn=(0,z.layoutClass)(this);if(Dn&&bn.push(Dn),yr.style=on,yr.class=bn,this.name&&(yr.xfaName=this.name),this.overflow){const Cn=this.overflow[R.$getExtra]();Cn.addLeader&&(Cn.addLeader=!1,Ne(this,Cn.leader,Oe))}this[R.$pushPara]();const zn=this.layout==="lr-tb"||this.layout==="rl-tb",Bn=zn?L:1;for(;this[R.$extra].attempt=1){const Cn=this.breakAfter.children[0];if(Ae(Cn))return this[R.$extra].afterBreakAfter=vn,e.HTMLResult.breakNode(Cn)}return delete this[R.$extra],vn}}class ia extends R.XFAObject{constructor(Oe){super(W,"subformSet",!0),this.id=Oe.id||"",this.name=Oe.name||"",this.relation=(0,e.getStringOption)(Oe.relation,["ordered","choice","unordered"]),this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.bookend=null,this.break=null,this.desc=null,this.extras=null,this.occur=null,this.overflow=null,this.breakAfter=new R.XFAObjectArray,this.breakBefore=new R.XFAObjectArray,this.subform=new R.XFAObjectArray,this.subformSet=new R.XFAObjectArray}*[R.$getContainedChildren](){yield*xe(this)}[R.$getSubformParent](){let Oe=this[R.$getParent]();for(;!(Oe instanceof Zn);)Oe=Oe[R.$getParent]();return Oe}[R.$isBindable](){return!0}}class Oa extends R.ContentObject{constructor(Oe){super(W,"subjectDN"),this.delimiter=Oe.delimiter||",",this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){this[R.$content]=new Map(this[R.$content].split(this.delimiter).map(Oe=>(Oe=Oe.split("=",2),Oe[0]=Oe[0].trim(),Oe)))}}class aa extends R.XFAObject{constructor(Oe){super(W,"subjectDNs",!0),this.id=Oe.id||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.subjectDN=new R.XFAObjectArray}}class Ii extends R.XFAObject{constructor(Oe){super(W,"submit",!0),this.embedPDF=(0,e.getInteger)({data:Oe.embedPDF,defaultValue:0,validate:ft=>ft===1}),this.format=(0,e.getStringOption)(Oe.format,["xdp","formdata","pdf","urlencoded","xfd","xml"]),this.id=Oe.id||"",this.target=Oe.target||"",this.textEncoding=(0,e.getKeyword)({data:Oe.textEncoding?Oe.textEncoding.toLowerCase():"",defaultValue:"",validate:ft=>["utf-8","big-five","fontspecific","gbk","gb-18030","gb-2312","ksc-5601","none","shift-jis","ucs-2","utf-16"].includes(ft)||ft.match(/iso-8859-\d{2}/)}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.xdpContent=Oe.xdpContent||"",this.encrypt=null,this.encryptData=new R.XFAObjectArray,this.signData=new R.XFAObjectArray}}class fa extends R.XFAObject{constructor(Oe){super(W,"template",!0),this.baseProfile=(0,e.getStringOption)(Oe.baseProfile,["full","interactiveForms"]),this.extras=null,this.subform=new R.XFAObjectArray}[R.$finalize](){this.subform.children.length===0&&(0,ae.warn)("XFA - No subforms in template node."),this.subform.children.length>=2&&(0,ae.warn)("XFA - Several subforms in template node: please file a bug."),this[R.$tabIndex]=ce}[R.$isSplittable](){return!0}[R.$searchNode](Oe,ft){return Oe.startsWith("#")?[this[R.$ids].get(Oe.slice(1))]:(0,J.searchNode)(this,ft,Oe,!0,!0)}*[R.$toPages](){if(!this.subform.children.length)return e.HTMLResult.success({name:"div",children:[]});this[R.$extra]={overflowNode:null,firstUnsplittable:null,currentContentArea:null,currentPageArea:null,noLayoutFailure:!1,pageNumber:1,pagePosition:"first",oddOrEven:"odd",blankOrNotBlank:"nonBlank",paraStack:[]};const Oe=this.subform.children[0];Oe.pageSet[R.$cleanPage]();const ft=Oe.pageSet.pageArea.children,yr={name:"div",children:[]};let lr=null,qr=null,sn=null;if(Oe.breakBefore.children.length>=1?(qr=Oe.breakBefore.children[0],sn=qr.target):Oe.subform.children.length>=1&&Oe.subform.children[0].breakBefore.children.length>=1?(qr=Oe.subform.children[0].breakBefore.children[0],sn=qr.target):Oe.break&&Oe.break.beforeTarget?(qr=Oe.break,sn=qr.beforeTarget):Oe.subform.children.length>=1&&Oe.subform.children[0].break&&Oe.subform.children[0].break.beforeTarget&&(qr=Oe.subform.children[0].break,sn=qr.beforeTarget),qr){const Gn=this[R.$searchNode](sn,qr[R.$getParent]());Gn instanceof Rr&&(lr=Gn,qr[R.$extra]={})}lr||(lr=ft[0]),lr[R.$extra]={numberOfUse:1};const Kr=lr[R.$getParent]();Kr[R.$extra]={numberOfUse:1,pageIndex:Kr.pageArea.children.indexOf(lr),pageSetIndex:0};let on,bn=null,Dn=null,zn=!0,Bn=0,kn=0;for(;;){if(zn)Bn=0;else if(yr.children.pop(),++Bn===Q)return(0,ae.warn)("XFA - Something goes wrong: please file a bug."),yr;on=null,this[R.$extra].currentPageArea=lr;const Gn=lr[R.$toHTML]().html;yr.children.push(Gn),bn&&(this[R.$extra].noLayoutFailure=!0,Gn.children.push(bn[R.$toHTML](lr[R.$extra].space).html),bn=null),Dn&&(this[R.$extra].noLayoutFailure=!0,Gn.children.push(Dn[R.$toHTML](lr[R.$extra].space).html),Dn=null);const En=lr.contentArea.children,li=Gn.children.filter(In=>In.attributes.class.includes("xfaContentarea"));zn=!1,this[R.$extra].firstUnsplittable=null,this[R.$extra].noLayoutFailure=!1;const Sn=In=>{const vn=Oe[R.$flushHTML]();vn&&(zn=zn||vn.children&&vn.children.length!==0,li[In].children.push(vn))};for(let In=kn,vn=En.length;In1&&yr.children.pop(),yr;if(vi.isBreak()){const Hn=vi.breakNode;if(Sn(In),Hn.targetType==="auto")continue;Hn.leader&&(bn=this[R.$searchNode](Hn.leader,Hn[R.$getParent]()),bn=bn?bn[0]:null),Hn.trailer&&(Dn=this[R.$searchNode](Hn.trailer,Hn[R.$getParent]()),Dn=Dn?Dn[0]:null),Hn.targetType==="pageArea"?(on=Hn[R.$extra].target,In=1/0):Hn[R.$extra].target?(on=Hn[R.$extra].target,kn=Hn[R.$extra].index+1,In=1/0):In=Hn[R.$extra].index;continue}if(this[R.$extra].overflowNode){const Hn=this[R.$extra].overflowNode;this[R.$extra].overflowNode=null;const Ni=Hn[R.$getExtra](),zi=Ni.target;Ni.addLeader=Ni.leader!==null,Ni.addTrailer=Ni.trailer!==null,Sn(In);const Qr=In;if(In=1/0,zi instanceof Rr)on=zi;else if(zi instanceof ut){const gi=En.indexOf(zi);gi!==-1?gi>Qr?In=gi-1:kn=gi:(on=zi[R.$getParent](),kn=on.contentArea.children.indexOf(zi))}continue}Sn(In)}this[R.$extra].pageNumber+=1,on&&(on[R.$isUsable]()?on[R.$extra].numberOfUse+=1:on=null),lr=on||lr[R.$getNextPage](),yield null}}}D.Template=fa;class Na extends R.ContentObject{constructor(Oe){super(W,"text"),this.id=Oe.id||"",this.maxChars=(0,e.getInteger)({data:Oe.maxChars,defaultValue:0,validate:ft=>ft>=0}),this.name=Oe.name||"",this.rid=Oe.rid||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$acceptWhitespace](){return!0}[R.$onChild](Oe){return Oe[R.$namespaceId]===U.NamespaceIds.xhtml.id?(this[R.$content]=Oe,!0):((0,ae.warn)(`XFA - Invalid content in Text: ${Oe[R.$nodeName]}.`),!1)}[R.$onText](Oe){this[R.$content]instanceof R.XFAObject||super[R.$onText](Oe)}[R.$finalize](){typeof this[R.$content]=="string"&&(this[R.$content]=this[R.$content].replace(/\r\n/g,` `))}[R.$getExtra](){return typeof this[R.$content]=="string"?this[R.$content].split(/[\u2029\u2028\n]/).reduce((Oe,ft)=>(ft&&Oe.push(ft),Oe),[]).join(` -`):this[R.$content][R.$text]()}[R.$toHTML](Oe){if(typeof this[R.$content]=="string"){const ft=pe(this[R.$content]).html;return this[R.$content].includes("\u2029")?(ft.name="div",ft.children=[],this[R.$content].split("\u2029").map(yr=>yr.split(/[\u2028\n]/).reduce((lr,qr)=>(lr.push({name:"span",value:qr},{name:"br"}),lr),[])).forEach(yr=>{ft.children.push({name:"p",children:yr})})):/[\u2028\n]/.test(this[R.$content])&&(ft.name="div",ft.children=[],this[R.$content].split(/[\u2028\n]/).forEach(yr=>{ft.children.push({name:"span",value:yr},{name:"br"})})),e.HTMLResult.success(ft)}return this[R.$content][R.$toHTML](Oe)}}D.Text=Na;class pa extends R.XFAObject{constructor(Oe){super(X,"textEdit",!0),this.allowRichText=(0,e.getInteger)({data:Oe.allowRichText,defaultValue:0,validate:ft=>ft===1}),this.hScrollPolicy=(0,e.getStringOption)(Oe.hScrollPolicy,["auto","off","on"]),this.id=Oe.id||"",this.multiLine=(0,e.getInteger)({data:Oe.multiLine,defaultValue:"",validate:ft=>ft===0||ft===1}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.vScrollPolicy=(0,e.getStringOption)(Oe.vScrollPolicy,["auto","off","on"]),this.border=null,this.comb=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){const ft=(0,z.toStyle)(this,"border","font","margin");let yr;const lr=this[R.$getParent]()[R.$getParent]();return this.multiLine===""&&(this.multiLine=lr instanceof Vt?1:0),this.multiLine===1?yr={name:"textarea",attributes:{dataId:lr[R.$data]&&lr[R.$data][R.$uid]||lr[R.$uid],fieldId:lr[R.$uid],class:["xfaTextfield"],style:ft,"aria-label":Ce(lr),"aria-required":!1}}:yr={name:"input",attributes:{type:"text",dataId:lr[R.$data]&&lr[R.$data][R.$uid]||lr[R.$uid],fieldId:lr[R.$uid],class:["xfaTextfield"],style:ft,"aria-label":Ce(lr),"aria-required":!1}},fe(lr)&&(yr.attributes["aria-required"]=!0,yr.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[yr]})}}class Vi extends R.StringObject{constructor(Oe){super(X,"time"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=this[R.$content].trim();this[R.$content]=Oe?new Date(Oe):null}[R.$toHTML](Oe){return pe(this[R.$content]?this[R.$content].toString():"")}}class ki extends R.XFAObject{constructor(Oe){super(X,"timeStamp"),this.id=Oe.id||"",this.server=Oe.server||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class ma extends R.StringObject{constructor(Oe){super(X,"toolTip"),this.id=Oe.id||"",this.rid=Oe.rid||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class sa extends R.XFAObject{constructor(Oe){super(X,"traversal",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.traverse=new R.XFAObjectArray}}class oa extends R.XFAObject{constructor(Oe){super(X,"traverse",!0),this.id=Oe.id||"",this.operation=(0,e.getStringOption)(Oe.operation,["next","back","down","first","left","right","up"]),this.ref=Oe.ref||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.script=null}get name(){return this.operation}[R.$isTransparent](){return!1}}class Ir extends R.XFAObject{constructor(Oe){super(X,"ui",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.picture=null,this.barcode=null,this.button=null,this.checkButton=null,this.choiceList=null,this.dateTimeEdit=null,this.defaultUi=null,this.imageEdit=null,this.numericEdit=null,this.passwordEdit=null,this.signature=null,this.textEdit=null}[R.$getExtra](){if(this[R.$extra]===void 0){for(const Oe of Object.getOwnPropertyNames(this)){if(Oe==="extras"||Oe==="picture")continue;const ft=this[Oe];if(ft instanceof R.XFAObject)return this[R.$extra]=ft,ft}this[R.$extra]=null}return this[R.$extra]}[R.$toHTML](Oe){const ft=this[R.$getExtra]();return ft?ft[R.$toHTML](Oe):e.HTMLResult.EMPTY}}class $n extends R.XFAObject{constructor(Oe){super(X,"validate",!0),this.formatTest=(0,e.getStringOption)(Oe.formatTest,["warning","disabled","error"]),this.id=Oe.id||"",this.nullTest=(0,e.getStringOption)(Oe.nullTest,["disabled","error","warning"]),this.scriptTest=(0,e.getStringOption)(Oe.scriptTest,["error","disabled","warning"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.message=null,this.picture=null,this.script=null}}class Ai extends R.XFAObject{constructor(Oe){super(X,"value",!0),this.id=Oe.id||"",this.override=(0,e.getInteger)({data:Oe.override,defaultValue:0,validate:ft=>ft===1}),this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.arc=null,this.boolean=null,this.date=null,this.dateTime=null,this.decimal=null,this.exData=null,this.float=null,this.image=null,this.integer=null,this.line=null,this.rectangle=null,this.text=null,this.time=null}[R.$setValue](Oe){const ft=this[R.$getParent]();if(ft instanceof kr&&ft.ui&&ft.ui.imageEdit){this.image||(this.image=new Br({}),this[R.$appendChild](this.image)),this.image[R.$content]=Oe[R.$content];return}const yr=Oe[R.$nodeName];if(this[yr]!==null){this[yr][R.$content]=Oe[R.$content];return}for(const lr of Object.getOwnPropertyNames(this)){const qr=this[lr];qr instanceof R.XFAObject&&(this[lr]=null,this[R.$removeChild](qr))}this[Oe[R.$nodeName]]=Oe,this[R.$appendChild](Oe)}[R.$text](){if(this.exData)return typeof this.exData[R.$content]=="string"?this.exData[R.$content].trim():this.exData[R.$content][R.$text]().trim();for(const Oe of Object.getOwnPropertyNames(this)){if(Oe==="image")continue;const ft=this[Oe];if(ft instanceof R.XFAObject)return(ft[R.$content]||"").toString().trim()}return null}[R.$toHTML](Oe){for(const ft of Object.getOwnPropertyNames(this)){const yr=this[ft];if(yr instanceof R.XFAObject)return yr[R.$toHTML](Oe)}return e.HTMLResult.EMPTY}}D.Value=Ai;class Oi extends R.XFAObject{constructor(Oe){super(X,"variables",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.boolean=new R.XFAObjectArray,this.date=new R.XFAObjectArray,this.dateTime=new R.XFAObjectArray,this.decimal=new R.XFAObjectArray,this.exData=new R.XFAObjectArray,this.float=new R.XFAObjectArray,this.image=new R.XFAObjectArray,this.integer=new R.XFAObjectArray,this.manifest=new R.XFAObjectArray,this.script=new R.XFAObjectArray,this.text=new R.XFAObjectArray,this.time=new R.XFAObjectArray}[R.$isTransparent](){return!0}}class ga{static[U.$buildXFAObject](Oe,ft){if(ga.hasOwnProperty(Oe)){const yr=ga[Oe](ft);return yr[R.$setSetAttributes](ft),yr}}static appearanceFilter(Oe){return new Ze(Oe)}static arc(Oe){return new ze(Oe)}static area(Oe){return new Ae(Oe)}static assist(Oe){return new De(Oe)}static barcode(Oe){return new Ue(Oe)}static bind(Oe){return new we(Oe)}static bindItems(Oe){return new Ie(Oe)}static bookend(Oe){return new Be(Oe)}static boolean(Oe){return new Ke(Oe)}static border(Oe){return new Ve(Oe)}static break(Oe){return new je(Oe)}static breakAfter(Oe){return new Le(Oe)}static breakBefore(Oe){return new et(Oe)}static button(Oe){return new Qe(Oe)}static calculate(Oe){return new Fe(Oe)}static caption(Oe){return new $e(Oe)}static certificate(Oe){return new Ye(Oe)}static certificates(Oe){return new tt(Oe)}static checkButton(Oe){return new ot(Oe)}static choiceList(Oe){return new st(Oe)}static color(Oe){return new dt(Oe)}static comb(Oe){return new ct(Oe)}static connect(Oe){return new mt(Oe)}static contentArea(Oe){return new ut(Oe)}static corner(Oe){return new rt(Oe)}static date(Oe){return new He(Oe)}static dateTime(Oe){return new Je(Oe)}static dateTimeEdit(Oe){return new St(Oe)}static decimal(Oe){return new bt(Oe)}static defaultUi(Oe){return new pt(Oe)}static desc(Oe){return new wt(Oe)}static digestMethod(Oe){return new Pt(Oe)}static digestMethods(Oe){return new Nt(Oe)}static draw(Oe){return new Vt(Oe)}static edge(Oe){return new Wt(Oe)}static encoding(Oe){return new Mt(Oe)}static encodings(Oe){return new $t(Oe)}static encrypt(Oe){return new Yt(Oe)}static encryptData(Oe){return new Ft(Oe)}static encryption(Oe){return new Jt(Oe)}static encryptionMethod(Oe){return new er(Oe)}static encryptionMethods(Oe){return new Bt(Oe)}static event(Oe){return new It(Oe)}static exData(Oe){return new Dt(Oe)}static exObject(Oe){return new Zt(Oe)}static exclGroup(Oe){return new gr(Oe)}static execute(Oe){return new fr(Oe)}static extras(Oe){return new Dr(Oe)}static field(Oe){return new kr(Oe)}static fill(Oe){return new cr(Oe)}static filter(Oe){return new Ar(Oe)}static float(Oe){return new yt(Oe)}static font(Oe){return new vt(Oe)}static format(Oe){return new Xt(Oe)}static handler(Oe){return new At(Oe)}static hyphenation(Oe){return new zt(Oe)}static image(Oe){return new Br(Oe)}static imageEdit(Oe){return new br(Oe)}static integer(Oe){return new Ur(Oe)}static issuers(Oe){return new un(Oe)}static items(Oe){return new sr(Oe)}static keep(Oe){return new ur(Oe)}static keyUsage(Oe){return new Cr(Oe)}static line(Oe){return new Tr(Oe)}static linear(Oe){return new jt(Oe)}static lockDocument(Oe){return new Wr(Oe)}static manifest(Oe){return new ir(Oe)}static margin(Oe){return new Gr(Oe)}static mdp(Oe){return new Jr(Oe)}static medium(Oe){return new Xr(Oe)}static message(Oe){return new fn(Oe)}static numericEdit(Oe){return new cn(Oe)}static occur(Oe){return new nn(Oe)}static oid(Oe){return new ar(Oe)}static oids(Oe){return new xr(Oe)}static overflow(Oe){return new Lr(Oe)}static pageArea(Oe){return new Rr(Oe)}static pageSet(Oe){return new Mr(Oe)}static para(Oe){return new an(Oe)}static passwordEdit(Oe){return new gn(Oe)}static pattern(Oe){return new dn(Oe)}static picture(Oe){return new pn(Oe)}static proto(Oe){return new Mn(Oe)}static radial(Oe){return new Yn(Oe)}static reason(Oe){return new hi(Oe)}static reasons(Oe){return new Ci(Oe)}static rectangle(Oe){return new da(Oe)}static ref(Oe){return new ra(Oe)}static script(Oe){return new Ri(Oe)}static setProperty(Oe){return new oi(Oe)}static signData(Oe){return new mi(Oe)}static signature(Oe){return new Ia(Oe)}static signing(Oe){return new ha(Oe)}static solid(Oe){return new ka(Oe)}static speak(Oe){return new na(Oe)}static stipple(Oe){return new Fi(Oe)}static subform(Oe){return new Zn(Oe)}static subformSet(Oe){return new ia(Oe)}static subjectDN(Oe){return new Oa(Oe)}static subjectDNs(Oe){return new aa(Oe)}static submit(Oe){return new Ii(Oe)}static template(Oe){return new fa(Oe)}static text(Oe){return new Na(Oe)}static textEdit(Oe){return new pa(Oe)}static time(Oe){return new Vi(Oe)}static timeStamp(Oe){return new ki(Oe)}static toolTip(Oe){return new ma(Oe)}static traversal(Oe){return new sa(Oe)}static traverse(Oe){return new oa(Oe)}static ui(Oe){return new Ir(Oe)}static validate(Oe){return new $n(Oe)}static value(Oe){return new Ai(Oe)}static variables(Oe){return new Oi(Oe)}}D.TemplateNamespace=ga},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.addHTML=e,D.checkDimensions=he,D.flushHTML=z,D.getAvailableSpace=ae;var R=B(202),U=B(209);function K(J,X){return{name:"div",attributes:{class:[J.layout==="lr-tb"?"xfaLr":"xfaRl"]},children:X}}function z(J){if(!J[R.$extra])return null;const W={name:"div",attributes:J[R.$extra].attributes,children:J[R.$extra].children};if(J[R.$extra].failingNode){const L=J[R.$extra].failingNode[R.$flushHTML]();L&&(J.layout.endsWith("-tb")?W.children.push(K(J,[L])):W.children.push(L))}return W.children.length===0?null:W}function e(J,X,W){const L=J[R.$extra],Q=L.availableSpace,[ce,de,oe,se]=W;switch(J.layout){case"position":{L.width=Math.max(L.width,ce+oe),L.height=Math.max(L.height,de+se),L.children.push(X);break}case"lr-tb":case"rl-tb":(!L.line||L.attempt===1)&&(L.line=K(J,[]),L.children.push(L.line),L.numberInLine=0),L.numberInLine+=1,L.line.children.push(X),L.attempt===0?(L.currentWidth+=oe,L.height=Math.max(L.height,L.prevHeight+se)):(L.currentWidth=oe,L.prevHeight=L.height,L.height+=se,L.attempt=0),L.width=Math.max(L.width,L.currentWidth);break;case"rl-row":case"row":{L.children.push(X),L.width+=oe,L.height=Math.max(L.height,se);const me=(0,U.measureToString)(L.height);for(const Ee of L.children)Ee.attributes.style.height=me;break}case"table":{L.width=Math.min(Q.width,Math.max(L.width,oe)),L.height+=se,L.children.push(X);break}case"tb":{L.width=Math.min(Q.width,Math.max(L.width,oe)),L.height+=se,L.children.push(X);break}}}function ae(J){const X=J[R.$extra].availableSpace,W=J.margin?J.margin.topInset+J.margin.bottomInset:0,L=J.margin?J.margin.leftInset+J.margin.rightInset:0;switch(J.layout){case"lr-tb":case"rl-tb":return J[R.$extra].attempt===0?{width:X.width-L-J[R.$extra].currentWidth,height:X.height-W-J[R.$extra].prevHeight}:{width:X.width-L,height:X.height-W-J[R.$extra].height};case"rl-row":case"row":return{width:J[R.$extra].columnWidths.slice(J[R.$extra].currentColumn).reduce((ce,de)=>ce+de),height:X.height-L};case"table":case"tb":return{width:X.width-L,height:X.height-W-J[R.$extra].height};case"position":default:return X}}function ie(J){let X=J.w===""?NaN:J.w,W=J.h===""?NaN:J.h,[L,Q]=[0,0];switch(J.anchorType||""){case"bottomCenter":[L,Q]=[X/2,W];break;case"bottomLeft":[L,Q]=[0,W];break;case"bottomRight":[L,Q]=[X,W];break;case"middleCenter":[L,Q]=[X/2,W/2];break;case"middleLeft":[L,Q]=[0,W/2];break;case"middleRight":[L,Q]=[X,W/2];break;case"topCenter":[L,Q]=[X/2,0];break;case"topRight":[L,Q]=[X,0];break}let ce,de;switch(J.rotate||0){case 0:[ce,de]=[-L,-Q];break;case 90:[ce,de]=[-Q,L],[X,W]=[W,-X];break;case 180:[ce,de]=[L,Q],[X,W]=[-X,-W];break;case 270:[ce,de]=[Q,-L],[X,W]=[-W,X];break}return[J.x+ce+Math.min(0,X),J.y+de+Math.min(0,W),Math.abs(X),Math.abs(W)]}function he(J,X){if(J[R.$getTemplateRoot]()[R.$extra].firstUnsplittable===null||J.w===0||J.h===0)return!0;const W=2,L=J[R.$getSubformParent](),Q=L[R.$extra]&&L[R.$extra].attempt||0,[,ce,de,oe]=ie(J);switch(L.layout){case"lr-tb":case"rl-tb":return Q===0?J[R.$getTemplateRoot]()[R.$extra].noLayoutFailure?J.w!==""?Math.round(de-X.width)<=W:X.width>W:J.h!==""&&Math.round(oe-X.height)>W?!1:J.w!==""?Math.round(de-X.width)<=W?!0:L[R.$extra].numberInLine===0?X.height>W:!1:X.width>W:J[R.$getTemplateRoot]()[R.$extra].noLayoutFailure?!0:J.h!==""&&Math.round(oe-X.height)>W?!1:J.w===""||Math.round(de-X.width)<=W?X.height>W:L[R.$isThereMoreWidth]()?!1:X.height>W;case"table":case"tb":return J[R.$getTemplateRoot]()[R.$extra].noLayoutFailure?!0:J.h!==""&&!J[R.$isSplittable]()?Math.round(oe-X.height)<=W:J.w===""||Math.round(de-X.width)<=W?X.height>W:L[R.$isThereMoreWidth]()?!1:X.height>W;case"position":if(J[R.$getTemplateRoot]()[R.$extra].noLayoutFailure||J.h===""||Math.round(oe+ce-X.height)<=W)return!0;const se=J[R.$getTemplateRoot]()[R.$extra].currentContentArea;return oe+ce>se.h;case"rl-row":case"row":return J[R.$getTemplateRoot]()[R.$extra].noLayoutFailure?!0:J.h!==""?Math.round(oe-X.height)<=W:!0;default:return!0}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.computeBbox=W,D.createWrapper=de,D.fixDimensions=L,D.fixTextIndent=oe,D.fixURL=fe,D.isPrintOnly=me,D.layoutClass=Q,D.layoutNode=X,D.measureToString=ae,D.setAccess=se,D.setFontFamily=xe,D.setMinMaxDimensions=he,D.setPara=ke,D.toStyle=ce;var R=B(202),U=B(2),K=B(203),z=B(210),e=B(211);function ae(ve){return typeof ve=="string"?"0px":Number.isInteger(ve)?`${ve}px`:`${ve.toFixed(2)}px`}const ie={anchorType(ve,ye){const Ce=ve[R.$getSubformParent]();if(!(!Ce||Ce.layout&&Ce.layout!=="position"))switch("transform"in ye||(ye.transform=""),ve.anchorType){case"bottomCenter":ye.transform+="translate(-50%, -100%)";break;case"bottomLeft":ye.transform+="translate(0,-100%)";break;case"bottomRight":ye.transform+="translate(-100%,-100%)";break;case"middleCenter":ye.transform+="translate(-50%,-50%)";break;case"middleLeft":ye.transform+="translate(0,-50%)";break;case"middleRight":ye.transform+="translate(-100%,-50%)";break;case"topCenter":ye.transform+="translate(-50%,0)";break;case"topRight":ye.transform+="translate(-100%,0)";break}},dimensions(ve,ye){const Ce=ve[R.$getSubformParent]();let pe=ve.w;const _e=ve.h;if(Ce.layout&&Ce.layout.includes("row")){const Ge=Ce[R.$extra],Te=ve.colSpan;let Ne;Te===-1?(Ne=Ge.columnWidths.slice(Ge.currentColumn).reduce((Ze,ze)=>Ze+ze,0),Ge.currentColumn=0):(Ne=Ge.columnWidths.slice(Ge.currentColumn,Ge.currentColumn+Te).reduce((Ze,ze)=>Ze+ze,0),Ge.currentColumn=(Ge.currentColumn+ve.colSpan)%Ge.columnWidths.length),isNaN(Ne)||(pe=ve.w=Ne)}pe!==""?ye.width=ae(pe):ye.width="auto",_e!==""?ye.height=ae(_e):ye.height="auto"},position(ve,ye){const Ce=ve[R.$getSubformParent]();Ce&&Ce.layout&&Ce.layout!=="position"||(ye.position="absolute",ye.left=ae(ve.x),ye.top=ae(ve.y))},rotate(ve,ye){ve.rotate&&("transform"in ye||(ye.transform=""),ye.transform+=`rotate(-${ve.rotate}deg)`,ye.transformOrigin="top left")},presence(ve,ye){switch(ve.presence){case"invisible":ye.visibility="hidden";break;case"hidden":case"inactive":ye.display="none";break}},hAlign(ve,ye){if(ve[R.$nodeName]==="para")switch(ve.hAlign){case"justifyAll":ye.textAlign="justify-all";break;case"radix":ye.textAlign="left";break;default:ye.textAlign=ve.hAlign}else switch(ve.hAlign){case"left":ye.alignSelf="start";break;case"center":ye.alignSelf="center";break;case"right":ye.alignSelf="end";break}},margin(ve,ye){ve.margin&&(ye.margin=ve.margin[R.$toStyle]().margin)}};function he(ve,ye){ve[R.$getSubformParent]().layout==="position"&&(ve.minW>0&&(ye.minWidth=ae(ve.minW)),ve.maxW>0&&(ye.maxWidth=ae(ve.maxW)),ve.minH>0&&(ye.minHeight=ae(ve.minH)),ve.maxH>0&&(ye.maxHeight=ae(ve.maxH)))}function J(ve,ye,Ce,pe,_e,Ge){const Te=new e.TextMeasure(ye,Ce,pe,_e);return typeof ve=="string"?Te.addString(ve):ve[R.$pushGlyphs](Te),Te.compute(Ge)}function X(ve,ye){let Ce=null,pe=null,_e=!1;if((!ve.w||!ve.h)&&ve.value){let Ge=0,Te=0;ve.margin&&(Ge=ve.margin.leftInset+ve.margin.rightInset,Te=ve.margin.topInset+ve.margin.bottomInset);let Ne=null,Ze=null;ve.para&&(Ze=Object.create(null),Ne=ve.para.lineHeight===""?null:ve.para.lineHeight,Ze.top=ve.para.spaceAbove===""?0:ve.para.spaceAbove,Ze.bottom=ve.para.spaceBelow===""?0:ve.para.spaceBelow,Ze.left=ve.para.marginLeft===""?0:ve.para.marginLeft,Ze.right=ve.para.marginRight===""?0:ve.para.marginRight);let ze=ve.font;if(!ze){const Ue=ve[R.$getTemplateRoot]();let we=ve[R.$getParent]();for(;we&&we!==Ue;){if(we.font){ze=we.font;break}we=we[R.$getParent]()}}const Ae=(ve.w||ye.width)-Ge,De=ve[R.$globalData].fontFinder;if(ve.value.exData&&ve.value.exData[R.$content]&&ve.value.exData.contentType==="text/html"){const Ue=J(ve.value.exData[R.$content],ze,Ze,Ne,De,Ae);pe=Ue.width,Ce=Ue.height,_e=Ue.isBroken}else{const Ue=ve.value[R.$text]();if(Ue){const we=J(Ue,ze,Ze,Ne,De,Ae);pe=we.width,Ce=we.height,_e=we.isBroken}}pe!==null&&!ve.w&&(pe+=Ge),Ce!==null&&!ve.h&&(Ce+=Te)}return{w:pe,h:Ce,isBroken:_e}}function W(ve,ye,Ce){let pe;if(ve.w!==""&&ve.h!=="")pe=[ve.x,ve.y,ve.w,ve.h];else{if(!Ce)return null;let _e=ve.w;if(_e===""){if(ve.maxW===0){const Te=ve[R.$getSubformParent]();Te.layout==="position"&&Te.w!==""?_e=0:_e=ve.minW}else _e=Math.min(ve.maxW,Ce.width);ye.attributes.style.width=ae(_e)}let Ge=ve.h;if(Ge===""){if(ve.maxH===0){const Te=ve[R.$getSubformParent]();Te.layout==="position"&&Te.h!==""?Ge=0:Ge=ve.minH}else Ge=Math.min(ve.maxH,Ce.height);ye.attributes.style.height=ae(Ge)}pe=[ve.x,ve.y,_e,Ge]}return pe}function L(ve){const ye=ve[R.$getSubformParent]();if(ye.layout&&ye.layout.includes("row")){const Ce=ye[R.$extra],pe=ve.colSpan;let _e;pe===-1?_e=Ce.columnWidths.slice(Ce.currentColumn).reduce((Ge,Te)=>Ge+Te,0):_e=Ce.columnWidths.slice(Ce.currentColumn,Ce.currentColumn+pe).reduce((Ge,Te)=>Ge+Te,0),isNaN(_e)||(ve.w=_e)}ye.layout&&ye.layout!=="position"&&(ve.x=ve.y=0),ve.layout==="table"&&ve.w===""&&Array.isArray(ve.columnWidths)&&(ve.w=ve.columnWidths.reduce((Ce,pe)=>Ce+pe,0))}function Q(ve){switch(ve.layout){case"position":return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb";default:return"xfaPosition"}}function ce(ve){const ye=Object.create(null);for(var Ce=arguments.length,pe=new Array(Ce>1?Ce-1:0),_e=1;_e=0)return;const pe="padding"+((ve.textAlign==="right"?"right":"left")==="left"?"Left":"Right"),_e=(0,K.getMeasurement)(ve[pe],"0px");ve[pe]=`${_e-ye}px`}function se(ve,ye){switch(ve.access){case"nonInteractive":ye.push("xfaNonInteractive");break;case"readOnly":ye.push("xfaReadOnly");break;case"protected":ye.push("xfaDisabled");break}}function me(ve){return ve.relevant.length>0&&!ve.relevant[0].excluded&&ve.relevant[0].viewname==="print"}function Ee(ve){const ye=ve[R.$getTemplateRoot]()[R.$extra].paraStack;return ye.length?ye.at(-1):null}function ke(ve,ye,Ce){if(Ce.attributes.class&&Ce.attributes.class.includes("xfaRich")){ye&&(ve.h===""&&(ye.height="auto"),ve.w===""&&(ye.width="auto"));const pe=Ee(ve);if(pe){const _e=Ce.attributes.style;switch(_e.display="flex",_e.flexDirection="column",pe.vAlign){case"top":_e.justifyContent="start";break;case"bottom":_e.justifyContent="end";break;case"middle":_e.justifyContent="center";break}const Ge=pe[R.$toStyle]();for(const[Te,Ne]of Object.entries(Ge))Te in _e||(_e[Te]=Ne)}}}function xe(ve,ye,Ce,pe){if(!Ce){delete pe.fontFamily;return}const _e=(0,K.stripQuotes)(ve.typeface);pe.fontFamily=`"${_e}"`;const Ge=Ce.find(_e);if(Ge){const{fontFamily:Te}=Ge.regular.cssFontInfo;Te!==_e&&(pe.fontFamily=`"${Te}"`);const Ne=Ee(ye);if(Ne&&Ne.lineHeight!==""||pe.lineHeight)return;const Ze=(0,z.selectFont)(ve,Ge);Ze&&(pe.lineHeight=Math.max(1.2,Ze.lineHeight))}}function fe(ve){const ye=(0,U.createValidAbsoluteUrl)(ve,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return ye?ye.href:null}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.FontFinder=void 0,D.getMetrics=ae,D.selectFont=e;var R=B(202),U=B(203),K=B(2);class z{constructor(he){this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(he)}add(he){let J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;for(const W of he)this.addPdfFont(W);for(const W of this.fonts.values())W.regular||(W.regular=W.italic||W.bold||W.bolditalic);if(!J||J.size===0)return;const X=this.fonts.get("PdfJS-Fallback-PdfJS-XFA");for(const W of J)this.fonts.set(W,X)}addPdfFont(he){const J=he.cssFontInfo,X=J.fontFamily;let W=this.fonts.get(X);W||(W=Object.create(null),this.fonts.set(X,W),this.defaultFont||(this.defaultFont=W));let L="";const Q=parseFloat(J.fontWeight);parseFloat(J.italicAngle)!==0?L=Q>=700?"bolditalic":"italic":Q>=700&&(L="bold"),L||((he.name.includes("Bold")||he.psName&&he.psName.includes("Bold"))&&(L="bold"),(he.name.includes("Italic")||he.name.endsWith("It")||he.psName&&(he.psName.includes("Italic")||he.psName.endsWith("It")))&&(L+="italic")),L||(L="regular"),W[L]=he}getDefault(){return this.defaultFont}find(he){let J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,X=this.fonts.get(he)||this.cache.get(he);if(X)return X;const W=/,|-|_| |bolditalic|bold|italic|regular|it/gi;let L=he.replace(W,"");if(X=this.fonts.get(L),X)return this.cache.set(he,X),X;L=L.toLowerCase();const Q=[];for(const[ce,de]of this.fonts.entries())ce.replace(W,"").toLowerCase().startsWith(L)&&Q.push(de);if(Q.length===0)for(const[,ce]of this.fonts.entries())ce.regular.name&&ce.regular.name.replace(W,"").toLowerCase().startsWith(L)&&Q.push(ce);if(Q.length===0){L=L.replace(/psmt|mt/gi,"");for(const[ce,de]of this.fonts.entries())ce.replace(W,"").toLowerCase().startsWith(L)&&Q.push(de)}if(Q.length===0)for(const ce of this.fonts.values())ce.regular.name&&ce.regular.name.replace(W,"").toLowerCase().startsWith(L)&&Q.push(ce);return Q.length>=1?(Q.length!==1&&J&&(0,K.warn)(`XFA - Too many choices to guess the correct font: ${he}`),this.cache.set(he,Q[0]),Q[0]):(J&&!this.warned.has(he)&&(this.warned.add(he),(0,K.warn)(`XFA - Cannot find the font: ${he}`)),null)}}D.FontFinder=z;function e(ie,he){return ie.posture==="italic"?ie.weight==="bold"?he.bolditalic:he.italic:ie.weight==="bold"?he.bold:he.regular}function ae(ie){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,J=null;if(ie){const Q=(0,U.stripQuotes)(ie.typeface),ce=ie[R.$globalData].fontFinder.find(Q);J=e(ie,ce)}if(!J)return{lineHeight:12,lineGap:2,lineNoGap:10};const X=ie.size||10,W=J.lineHeight?Math.max(he?0:1.2,J.lineHeight):1.2,L=J.lineGap===void 0?.2:J.lineGap;return{lineHeight:W*X,lineGap:L*X,lineNoGap:Math.max(1,W-L)*X}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.TextMeasure=void 0;var R=B(210);const U=1.02;class K{constructor(ie,he,J,X){if(this.lineHeight=J,this.paraMargin=he||{top:0,bottom:0,left:0,right:0},!ie){[this.pdfFont,this.xfaFont]=this.defaultFont(X);return}this.xfaFont={typeface:ie.typeface,posture:ie.posture,weight:ie.weight,size:ie.size,letterSpacing:ie.letterSpacing};const W=X.find(ie.typeface);if(!W){[this.pdfFont,this.xfaFont]=this.defaultFont(X);return}this.pdfFont=(0,R.selectFont)(ie,W),this.pdfFont||([this.pdfFont,this.xfaFont]=this.defaultFont(X))}defaultFont(ie){const he=ie.find("Helvetica",!1)||ie.find("Myriad Pro",!1)||ie.find("Arial",!1)||ie.getDefault();if(he&&he.regular){const X=he.regular,L={typeface:X.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0};return[X,L]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}class z{constructor(ie,he,J,X){this.fontFinder=X,this.stack=[new K(ie,he,J,X)]}pushData(ie,he,J){const X=this.stack.at(-1);for(const L of["typeface","posture","weight","size","letterSpacing"])ie[L]||(ie[L]=X.xfaFont[L]);for(const L of["top","bottom","left","right"])isNaN(he[L])&&(he[L]=X.paraMargin[L]);const W=new K(ie,he,J||X.lineHeight,this.fontFinder);W.pdfFont||(W.pdfFont=X.pdfFont),this.stack.push(W)}popFont(){this.stack.pop()}topFont(){return this.stack.at(-1)}}class e{constructor(ie,he,J,X){this.glyphs=[],this.fontSelector=new z(ie,he,J,X),this.extraHeight=0}pushData(ie,he,J){this.fontSelector.pushData(ie,he,J)}popFont(ie){return this.fontSelector.popFont()}addPara(){const ie=this.fontSelector.topFont();this.extraHeight+=ie.paraMargin.top+ie.paraMargin.bottom}addString(ie){if(!ie)return;const he=this.fontSelector.topFont(),J=he.xfaFont.size;if(he.pdfFont){const X=he.xfaFont.letterSpacing,W=he.pdfFont,L=W.lineHeight||1.2,Q=he.lineHeight||Math.max(1.2,L)*J,ce=W.lineGap===void 0?.2:W.lineGap,de=L-ce,oe=Math.max(1,de)*J,se=J/1e3,me=W.defaultWidth||W.charsToGlyphs(" ")[0].width;for(const Ee of ie.split(/[\u2029\n]/)){const ke=W.encodeString(Ee).join(""),xe=W.charsToGlyphs(ke);for(const fe of xe){const ve=fe.width||me;this.glyphs.push([ve*se+X,Q,oe,fe.unicode,!1])}this.glyphs.push([0,0,0,` -`,!0])}this.glyphs.pop();return}for(const X of ie.split(/[\u2029\n]/)){for(const W of X.split(""))this.glyphs.push([J,1.2*J,J,W,!1]);this.glyphs.push([0,0,0,` -`,!0])}this.glyphs.pop()}compute(ie){let he=-1,J=0,X=0,W=0,L=0,Q=0,ce=!1,de=!0;for(let oe=0,se=this.glyphs.length;oeie?(X=Math.max(X,L),L=0,W+=Q,Q=ye,he=-1,J=0,ce=!0,de=!1):(Q=Math.max(ye,Q),J=L,L+=me,he=oe);continue}if(L+me>ie){W+=Q,Q=ye,he!==-1?(oe=he,X=Math.max(X,J),L=0,he=-1,J=0):(X=Math.max(X,L),L=me),ce=!0,de=!1;continue}L+=me,Q=Math.max(ye,Q)}return X=Math.max(X,L),W+=Q+this.extraHeight,{width:U*X,height:W,isBroken:ce}}}D.TextMeasure=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.DataHandler=void 0;var R=B(202);class U{constructor(z,e){this.data=e,this.dataset=z.datasets||null}serialize(z){const e=[[-1,this.data[R.$getChildren]()]];for(;e.length>0;){const ie=e.at(-1),[he,J]=ie;if(he+1===J.length){e.pop();continue}const X=J[++ie[0]],W=z.get(X[R.$uid]);if(W)X[R.$setValue](W);else{const Q=X[R.$getAttributes]();for(const ce of Q.values()){const de=z.get(ce[R.$uid]);if(de){ce[R.$setValue](de);break}}}const L=X[R.$getChildren]();L.length>0&&e.push([-1,L])}const ae=[''];if(this.dataset)for(const ie of this.dataset[R.$getChildren]())ie[R.$nodeName]!=="data"&&ie[R.$toString](ae);return this.data[R.$toString](ae),ae.push(""),ae.join("")}}D.DataHandler=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XFAParser=void 0;var R=B(202),U=B(191),K=B(214),z=B(2);class e extends U.XMLParserBase{constructor(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super(),this._builder=new K.Builder(ie),this._stack=[],this._globalData={usedTypefaces:new Set},this._ids=new Map,this._current=this._builder.buildRoot(this._ids),this._errorCode=U.XMLParserErrorCode.NoError,this._whiteRegex=/^\s+$/,this._nbsps=/\xa0+/g,this._richText=he}parse(ie){if(this.parseXml(ie),this._errorCode===U.XMLParserErrorCode.NoError)return this._current[R.$finalize](),this._current.element}onText(ie){if(ie=ie.replace(this._nbsps,he=>he.slice(1)+" "),this._richText||this._current[R.$acceptWhitespace]()){this._current[R.$onText](ie,this._richText);return}this._whiteRegex.test(ie)||this._current[R.$onText](ie.trim())}onCdata(ie){this._current[R.$onText](ie)}_mkAttributes(ie,he){let J=null,X=null;const W=Object.create({});for(const{name:L,value:Q}of ie)if(L==="xmlns")J?(0,z.warn)(`XFA - multiple namespace definition in <${he}>`):J=Q;else if(L.startsWith("xmlns:")){const ce=L.substring(6);X||(X=[]),X.push({prefix:ce,value:Q})}else{const ce=L.indexOf(":");if(ce===-1)W[L]=Q;else{let de=W[R.$nsAttributes];de||(de=W[R.$nsAttributes]=Object.create(null));const[oe,se]=[L.slice(0,ce),L.slice(ce+1)];let me=de[oe];me||(me=de[oe]=Object.create(null)),me[se]=Q}}return[J,X,W]}_getNameAndPrefix(ie,he){const J=ie.indexOf(":");return J===-1?[ie,null]:[ie.substring(J+1),he?"":ie.substring(0,J)]}onBeginElement(ie,he,J){const[X,W,L]=this._mkAttributes(he,ie),[Q,ce]=this._getNameAndPrefix(ie,this._builder.isNsAgnostic()),de=this._builder.build({nsPrefix:ce,name:Q,attributes:L,namespace:X,prefixes:W});if(de[R.$globalData]=this._globalData,J){de[R.$finalize](),this._current[R.$onChild](de)&&de[R.$setId](this._ids),de[R.$clean](this._builder);return}this._stack.push(this._current),this._current=de}onEndElement(ie){const he=this._current;if(he[R.$isCDATAXml]()&&typeof he[R.$content]=="string"){const J=new e;J._globalData=this._globalData;const X=J.parse(he[R.$content]);he[R.$content]=null,he[R.$onChild](X)}he[R.$finalize](),this._current=this._stack.pop(),this._current[R.$onChild](he)&&he[R.$setId](this._ids),he[R.$clean](this._builder)}onError(ie){this._errorCode=ie}}D.XFAParser=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Builder=void 0;var R=B(204),U=B(202),K=B(215),z=B(207),e=B(224),ae=B(2);class ie extends U.XFAObject{constructor(W){super(-1,"root",Object.create(null)),this.element=null,this[U.$ids]=W}[U.$onChild](W){return this.element=W,!0}[U.$finalize](){super[U.$finalize](),this.element.template instanceof z.Template&&(this[U.$ids].set(U.$root,this.element),this.element.template[U.$resolvePrototypes](this[U.$ids]),this.element.template[U.$ids]=this[U.$ids])}}class he extends U.XFAObject{constructor(){super(-1,"",Object.create(null))}[U.$onChild](W){return!1}}class J{constructor(){let W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max(...Object.values(R.NamespaceIds).map(L=>{let{id:Q}=L;return Q})),this._currentNamespace=W||new e.UnknownNamespace(++this._nextNsId)}buildRoot(W){return new ie(W)}build(W){let{nsPrefix:L,name:Q,attributes:ce,namespace:de,prefixes:oe}=W;const se=de!==null;if(se&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(de)),oe&&this._addNamespacePrefix(oe),ce.hasOwnProperty(U.$nsAttributes)){const ke=K.NamespaceSetUp.datasets,xe=ce[U.$nsAttributes];let fe=null;for(const[ve,ye]of Object.entries(xe))if(this._getNamespaceToUse(ve)===ke){fe={xfa:ye};break}fe?ce[U.$nsAttributes]=fe:delete ce[U.$nsAttributes]}const me=this._getNamespaceToUse(L),Ee=me&&me[R.$buildXFAObject](Q,ce)||new he;return Ee[U.$isNsAgnostic]()&&this._nsAgnosticLevel++,(se||oe||Ee[U.$isNsAgnostic]())&&(Ee[U.$cleanup]={hasNamespace:se,prefixes:oe,nsAgnostic:Ee[U.$isNsAgnostic]()}),Ee}isNsAgnostic(){return this._nsAgnosticLevel>0}_searchNamespace(W){let L=this._namespaces.get(W);if(L)return L;for(const[Q,{check:ce}]of Object.entries(R.NamespaceIds))if(ce(W)){if(L=K.NamespaceSetUp[Q],L)return this._namespaces.set(W,L),L;break}return L=new e.UnknownNamespace(++this._nextNsId),this._namespaces.set(W,L),L}_addNamespacePrefix(W){for(const{prefix:L,value:Q}of W){const ce=this._searchNamespace(Q);let de=this._namespacePrefixes.get(L);de||(de=[],this._namespacePrefixes.set(L,de)),de.push(ce)}}_getNamespaceToUse(W){if(!W)return this._currentNamespace;const L=this._namespacePrefixes.get(W);return L&&L.length>0?L.at(-1):((0,ae.warn)(`Unknown namespace prefix: ${W}.`),null)}clean(W){const{hasNamespace:L,prefixes:Q,nsAgnostic:ce}=W;L&&(this._currentNamespace=this._namespaceStack.pop()),Q&&Q.forEach(de=>{let{prefix:oe}=de;this._namespacePrefixes.get(oe).pop()}),ce&&this._nsAgnosticLevel--}}D.Builder=J},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.NamespaceSetUp=void 0;var R=B(216),U=B(217),K=B(218),z=B(219),e=B(220),ae=B(221),ie=B(207),he=B(222),J=B(223);const X={config:R.ConfigNamespace,connection:U.ConnectionSetNamespace,datasets:K.DatasetsNamespace,localeSet:z.LocaleSetNamespace,signature:e.SignatureNamespace,stylesheet:ae.StylesheetNamespace,template:ie.TemplateNamespace,xdp:he.XdpNamespace,xhtml:J.XhtmlNamespace};D.NamespaceSetUp=X},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ConfigNamespace=void 0;var R=B(204),U=B(202),K=B(203),z=B(2);const e=R.NamespaceIds.config.id;class ae extends U.XFAObject{constructor(ft){super(e,"acrobat",!0),this.acrobat7=null,this.autoSave=null,this.common=null,this.validate=null,this.validateApprovalSignatures=null,this.submitUrl=new U.XFAObjectArray}}class ie extends U.XFAObject{constructor(ft){super(e,"acrobat7",!0),this.dynamicRender=null}}class he extends U.OptionObject{constructor(ft){super(e,"ADBE_JSConsole",["delegate","Enable","Disable"])}}class J extends U.OptionObject{constructor(ft){super(e,"ADBE_JSDebugger",["delegate","Enable","Disable"])}}class X extends U.Option01{constructor(ft){super(e,"addSilentPrint")}}class W extends U.Option01{constructor(ft){super(e,"addViewerPreferences")}}class L extends U.Option10{constructor(ft){super(e,"adjustData")}}class Q extends U.IntegerObject{constructor(ft){super(e,"adobeExtensionLevel",0,yr=>yr>=1&&yr<=8)}}class ce extends U.XFAObject{constructor(ft){super(e,"agent",!0),this.name=ft.name?ft.name.trim():"",this.common=new U.XFAObjectArray}}class de extends U.ContentObject{constructor(ft){super(e,"alwaysEmbed")}}class oe extends U.StringObject{constructor(ft){super(e,"amd")}}class se extends U.XFAObject{constructor(ft){super(e,"area"),this.level=(0,K.getInteger)({data:ft.level,defaultValue:0,validate:yr=>yr>=1&&yr<=3}),this.name=(0,K.getStringOption)(ft.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"])}}class me extends U.OptionObject{constructor(ft){super(e,"attributes",["preserve","delegate","ignore"])}}class Ee extends U.OptionObject{constructor(ft){super(e,"autoSave",["disabled","enabled"])}}class ke extends U.StringObject{constructor(ft){super(e,"base")}}class xe extends U.XFAObject{constructor(ft){super(e,"batchOutput"),this.format=(0,K.getStringOption)(ft.format,["none","concat","zip","zipCompress"])}}class fe extends U.ContentObject{constructor(ft){super(e,"behaviorOverride")}[U.$finalize](){this[U.$content]=new Map(this[U.$content].trim().split(/\s+/).filter(ft=>ft.includes(":")).map(ft=>ft.split(":",2)))}}class ve extends U.XFAObject{constructor(ft){super(e,"cache",!0),this.templateCache=null}}class ye extends U.Option01{constructor(ft){super(e,"change")}}class Ce extends U.XFAObject{constructor(ft){super(e,"common",!0),this.data=null,this.locale=null,this.localeSet=null,this.messaging=null,this.suppressBanner=null,this.template=null,this.validationMessaging=null,this.versionControl=null,this.log=new U.XFAObjectArray}}class pe extends U.XFAObject{constructor(ft){super(e,"compress"),this.scope=(0,K.getStringOption)(ft.scope,["imageOnly","document"])}}class _e extends U.Option01{constructor(ft){super(e,"compressLogicalStructure")}}class Ge extends U.Option10{constructor(ft){super(e,"compressObjectStream")}}class Te extends U.XFAObject{constructor(ft){super(e,"compression",!0),this.compressLogicalStructure=null,this.compressObjectStream=null,this.level=null,this.type=null}}class Ne extends U.XFAObject{constructor(ft){super(e,"config",!0),this.acrobat=null,this.present=null,this.trace=null,this.agent=new U.XFAObjectArray}}class Ze extends U.OptionObject{constructor(ft){super(e,"conformance",["A","B"])}}class ze extends U.Option01{constructor(ft){super(e,"contentCopy")}}class Ae extends U.IntegerObject{constructor(ft){super(e,"copies",1,yr=>yr>=1)}}class De extends U.StringObject{constructor(ft){super(e,"creator")}}class Ue extends U.IntegerObject{constructor(ft){super(e,"currentPage",0,yr=>yr>=0)}}class we extends U.XFAObject{constructor(ft){super(e,"data",!0),this.adjustData=null,this.attributes=null,this.incrementalLoad=null,this.outputXSL=null,this.range=null,this.record=null,this.startNode=null,this.uri=null,this.window=null,this.xsl=null,this.excludeNS=new U.XFAObjectArray,this.transform=new U.XFAObjectArray}}class Ie extends U.XFAObject{constructor(ft){super(e,"debug",!0),this.uri=null}}class Be extends U.ContentObject{constructor(ft){super(e,"defaultTypeface"),this.writingScript=(0,K.getStringOption)(ft.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"])}}class Ke extends U.OptionObject{constructor(ft){super(e,"destination",["pdf","pcl","ps","webClient","zpl"])}}class Ve extends U.Option01{constructor(ft){super(e,"documentAssembly")}}class je extends U.XFAObject{constructor(ft){super(e,"driver",!0),this.name=ft.name?ft.name.trim():"",this.fontInfo=null,this.xdc=null}}class Le extends U.OptionObject{constructor(ft){super(e,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"])}}class et extends U.OptionObject{constructor(ft){super(e,"dynamicRender",["forbidden","required"])}}class Qe extends U.Option01{constructor(ft){super(e,"embed")}}class Fe extends U.Option01{constructor(ft){super(e,"encrypt")}}class $e extends U.XFAObject{constructor(ft){super(e,"encryption",!0),this.encrypt=null,this.encryptionLevel=null,this.permissions=null}}class Ye extends U.OptionObject{constructor(ft){super(e,"encryptionLevel",["40bit","128bit"])}}class tt extends U.StringObject{constructor(ft){super(e,"enforce")}}class ot extends U.XFAObject{constructor(ft){super(e,"equate"),this.force=(0,K.getInteger)({data:ft.force,defaultValue:1,validate:yr=>yr===0}),this.from=ft.from||"",this.to=ft.to||""}}class st extends U.XFAObject{constructor(ft){super(e,"equateRange"),this.from=ft.from||"",this.to=ft.to||"",this._unicodeRange=ft.unicodeRange||""}get unicodeRange(){const ft=[],yr=/U\+([0-9a-fA-F]+)/,lr=this._unicodeRange;for(let qr of lr.split(",").map(sn=>sn.trim()).filter(sn=>!!sn))qr=qr.split("-",2).map(sn=>{const Kr=sn.match(yr);return Kr?parseInt(Kr[1],16):0}),qr.length===1&&qr.push(qr[0]),ft.push(qr);return(0,z.shadow)(this,"unicodeRange",ft)}}class dt extends U.ContentObject{constructor(ft){super(e,"exclude")}[U.$finalize](){this[U.$content]=this[U.$content].trim().split(/\s+/).filter(ft=>ft&&["calculate","close","enter","exit","initialize","ready","validate"].includes(ft))}}class ct extends U.StringObject{constructor(ft){super(e,"excludeNS")}}class mt extends U.OptionObject{constructor(ft){super(e,"flipLabel",["usePrinterSetting","on","off"])}}class ut extends U.XFAObject{constructor(ft){super(e,"fontInfo",!0),this.embed=null,this.map=null,this.subsetBelow=null,this.alwaysEmbed=new U.XFAObjectArray,this.defaultTypeface=new U.XFAObjectArray,this.neverEmbed=new U.XFAObjectArray}}class rt extends U.Option01{constructor(ft){super(e,"formFieldFilling")}}class He extends U.StringObject{constructor(ft){super(e,"groupParent")}}class Je extends U.OptionObject{constructor(ft){super(e,"ifEmpty",["dataValue","dataGroup","ignore","remove"])}}class St extends U.StringObject{constructor(ft){super(e,"includeXDPContent")}}class bt extends U.OptionObject{constructor(ft){super(e,"incrementalLoad",["none","forwardOnly"])}}class pt extends U.Option01{constructor(ft){super(e,"incrementalMerge")}}class wt extends U.Option01{constructor(ft){super(e,"interactive")}}class Pt extends U.OptionObject{constructor(ft){super(e,"jog",["usePrinterSetting","none","pageSet"])}}class Nt extends U.XFAObject{constructor(ft){super(e,"labelPrinter",!0),this.name=(0,K.getStringOption)(ft.name,["zpl","dpl","ipl","tcpl"]),this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}}class Vt extends U.OptionObject{constructor(ft){super(e,"layout",["paginate","panel"])}}class Wt extends U.IntegerObject{constructor(ft){super(e,"level",0,yr=>yr>0)}}class Mt extends U.Option01{constructor(ft){super(e,"linearized")}}class $t extends U.StringObject{constructor(ft){super(e,"locale")}}class Yt extends U.StringObject{constructor(ft){super(e,"localeSet")}}class Ft extends U.XFAObject{constructor(ft){super(e,"log",!0),this.mode=null,this.threshold=null,this.to=null,this.uri=null}}class Jt extends U.XFAObject{constructor(ft){super(e,"map",!0),this.equate=new U.XFAObjectArray,this.equateRange=new U.XFAObjectArray}}class er extends U.XFAObject{constructor(ft){super(e,"mediumInfo",!0),this.map=null}}class Bt extends U.XFAObject{constructor(ft){super(e,"message",!0),this.msgId=null,this.severity=null}}class It extends U.XFAObject{constructor(ft){super(e,"messaging",!0),this.message=new U.XFAObjectArray}}class Dt extends U.OptionObject{constructor(ft){super(e,"mode",["append","overwrite"])}}class Zt extends U.Option01{constructor(ft){super(e,"modifyAnnots")}}class gr extends U.IntegerObject{constructor(ft){super(e,"msgId",1,yr=>yr>=1)}}class fr extends U.StringObject{constructor(ft){super(e,"nameAttr")}}class Dr extends U.ContentObject{constructor(ft){super(e,"neverEmbed")}}class kr extends U.IntegerObject{constructor(ft){super(e,"numberOfCopies",null,yr=>yr>=2&&yr<=5)}}class cr extends U.XFAObject{constructor(ft){super(e,"openAction",!0),this.destination=null}}class Ar extends U.XFAObject{constructor(ft){super(e,"output",!0),this.to=null,this.type=null,this.uri=null}}class yt extends U.StringObject{constructor(ft){super(e,"outputBin")}}class vt extends U.XFAObject{constructor(ft){super(e,"outputXSL",!0),this.uri=null}}class Xt extends U.OptionObject{constructor(ft){super(e,"overprint",["none","both","draw","field"])}}class At extends U.StringObject{constructor(ft){super(e,"packets")}[U.$finalize](){this[U.$content]!=="*"&&(this[U.$content]=this[U.$content].trim().split(/\s+/).filter(ft=>["config","datasets","template","xfdf","xslt"].includes(ft)))}}class zt extends U.XFAObject{constructor(ft){super(e,"pageOffset"),this.x=(0,K.getInteger)({data:ft.x,defaultValue:"useXDCSetting",validate:yr=>!0}),this.y=(0,K.getInteger)({data:ft.y,defaultValue:"useXDCSetting",validate:yr=>!0})}}class Br extends U.StringObject{constructor(ft){super(e,"pageRange")}[U.$finalize](){const ft=this[U.$content].trim().split(/\s+/).map(lr=>parseInt(lr,10)),yr=[];for(let lr=0,qr=ft.length;lr!1)}}class sr extends U.XFAObject{constructor(ft){super(e,"pcl",!0),this.name=ft.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.pageOffset=null,this.staple=null,this.xdc=null}}class ur extends U.XFAObject{constructor(ft){super(e,"pdf",!0),this.name=ft.name||"",this.adobeExtensionLevel=null,this.batchOutput=null,this.compression=null,this.creator=null,this.encryption=null,this.fontInfo=null,this.interactive=null,this.linearized=null,this.openAction=null,this.pdfa=null,this.producer=null,this.renderPolicy=null,this.scriptModel=null,this.silentPrint=null,this.submitFormat=null,this.tagged=null,this.version=null,this.viewerPreferences=null,this.xdc=null}}class Cr extends U.XFAObject{constructor(ft){super(e,"pdfa",!0),this.amd=null,this.conformance=null,this.includeXDPContent=null,this.part=null}}class Tr extends U.XFAObject{constructor(ft){super(e,"permissions",!0),this.accessibleContent=null,this.change=null,this.contentCopy=null,this.documentAssembly=null,this.formFieldFilling=null,this.modifyAnnots=null,this.plaintextMetadata=null,this.print=null,this.printHighQuality=null}}class jt extends U.Option01{constructor(ft){super(e,"pickTrayByPDFSize")}}class Wr extends U.StringObject{constructor(ft){super(e,"picture")}}class ir extends U.Option01{constructor(ft){super(e,"plaintextMetadata")}}class Gr extends U.OptionObject{constructor(ft){super(e,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"])}}class Jr extends U.XFAObject{constructor(ft){super(e,"present",!0),this.behaviorOverride=null,this.cache=null,this.common=null,this.copies=null,this.destination=null,this.incrementalMerge=null,this.layout=null,this.output=null,this.overprint=null,this.pagination=null,this.paginationOverride=null,this.script=null,this.validate=null,this.xdp=null,this.driver=new U.XFAObjectArray,this.labelPrinter=new U.XFAObjectArray,this.pcl=new U.XFAObjectArray,this.pdf=new U.XFAObjectArray,this.ps=new U.XFAObjectArray,this.submitUrl=new U.XFAObjectArray,this.webClient=new U.XFAObjectArray,this.zpl=new U.XFAObjectArray}}class Xr extends U.Option01{constructor(ft){super(e,"print")}}class fn extends U.Option01{constructor(ft){super(e,"printHighQuality")}}class cn extends U.OptionObject{constructor(ft){super(e,"printScaling",["appdefault","noScaling"])}}class nn extends U.StringObject{constructor(ft){super(e,"printerName")}}class ar extends U.StringObject{constructor(ft){super(e,"producer")}}class xr extends U.XFAObject{constructor(ft){super(e,"ps",!0),this.name=ft.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.staple=null,this.xdc=null}}class Lr extends U.ContentObject{constructor(ft){super(e,"range")}[U.$finalize](){this[U.$content]=this[U.$content].trim().split(/\s*,\s*/,2).map(ft=>ft.split("-").map(yr=>parseInt(yr.trim(),10))).filter(ft=>ft.every(yr=>!isNaN(yr))).map(ft=>(ft.length===1&&ft.push(ft[0]),ft))}}class Rr extends U.ContentObject{constructor(ft){super(e,"record")}[U.$finalize](){this[U.$content]=this[U.$content].trim();const ft=parseInt(this[U.$content],10);!isNaN(ft)&&ft>=0&&(this[U.$content]=ft)}}class Mr extends U.ContentObject{constructor(ft){super(e,"relevant")}[U.$finalize](){this[U.$content]=this[U.$content].trim().split(/\s+/)}}class an extends U.ContentObject{constructor(ft){super(e,"rename")}[U.$finalize](){this[U.$content]=this[U.$content].trim(),(this[U.$content].toLowerCase().startsWith("xml")||this[U.$content].match(new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u")))&&(0,z.warn)("XFA - Rename: invalid XFA name")}}class gn extends U.OptionObject{constructor(ft){super(e,"renderPolicy",["server","client"])}}class dn extends U.OptionObject{constructor(ft){super(e,"runScripts",["both","client","none","server"])}}class pn extends U.XFAObject{constructor(ft){super(e,"script",!0),this.currentPage=null,this.exclude=null,this.runScripts=null}}class Mn extends U.OptionObject{constructor(ft){super(e,"scriptModel",["XFA","none"])}}class Yn extends U.OptionObject{constructor(ft){super(e,"severity",["ignore","error","information","trace","warning"])}}class hi extends U.XFAObject{constructor(ft){super(e,"silentPrint",!0),this.addSilentPrint=null,this.printerName=null}}class Ci extends U.XFAObject{constructor(ft){super(e,"staple"),this.mode=(0,K.getStringOption)(ft.mode,["usePrinterSetting","on","off"])}}class da extends U.StringObject{constructor(ft){super(e,"startNode")}}class ra extends U.IntegerObject{constructor(ft){super(e,"startPage",0,yr=>!0)}}class Ri extends U.OptionObject{constructor(ft){super(e,"submitFormat",["html","delegate","fdf","xml","pdf"])}}class oi extends U.StringObject{constructor(ft){super(e,"submitUrl")}}class mi extends U.IntegerObject{constructor(ft){super(e,"subsetBelow",100,yr=>yr>=0&&yr<=100)}}class Ia extends U.Option01{constructor(ft){super(e,"suppressBanner")}}class ha extends U.Option01{constructor(ft){super(e,"tagged")}}class ka extends U.XFAObject{constructor(ft){super(e,"template",!0),this.base=null,this.relevant=null,this.startPage=null,this.uri=null,this.xsl=null}}class na extends U.OptionObject{constructor(ft){super(e,"threshold",["trace","error","information","warning"])}}class Fi extends U.OptionObject{constructor(ft){super(e,"to",["null","memory","stderr","stdout","system","uri"])}}class Zn extends U.XFAObject{constructor(ft){super(e,"templateCache"),this.maxEntries=(0,K.getInteger)({data:ft.maxEntries,defaultValue:5,validate:yr=>yr>=0})}}class ia extends U.XFAObject{constructor(ft){super(e,"trace",!0),this.area=new U.XFAObjectArray}}class Oa extends U.XFAObject{constructor(ft){super(e,"transform",!0),this.groupParent=null,this.ifEmpty=null,this.nameAttr=null,this.picture=null,this.presence=null,this.rename=null,this.whitespace=null}}class aa extends U.OptionObject{constructor(ft){super(e,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"])}}class Ii extends U.StringObject{constructor(ft){super(e,"uri")}}class fa extends U.OptionObject{constructor(ft){super(e,"validate",["preSubmit","prePrint","preExecute","preSave"])}}class Na extends U.ContentObject{constructor(ft){super(e,"validateApprovalSignatures")}[U.$finalize](){this[U.$content]=this[U.$content].trim().split(/\s+/).filter(ft=>["docReady","postSign"].includes(ft))}}class pa extends U.OptionObject{constructor(ft){super(e,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"])}}class Vi extends U.OptionObject{constructor(ft){super(e,"version",["1.7","1.6","1.5","1.4","1.3","1.2"])}}class ki extends U.XFAObject{constructor(ft){super(e,"VersionControl"),this.outputBelow=(0,K.getStringOption)(ft.outputBelow,["warn","error","update"]),this.sourceAbove=(0,K.getStringOption)(ft.sourceAbove,["warn","error"]),this.sourceBelow=(0,K.getStringOption)(ft.sourceBelow,["update","maintain"])}}class ma extends U.XFAObject{constructor(ft){super(e,"viewerPreferences",!0),this.ADBE_JSConsole=null,this.ADBE_JSDebugger=null,this.addViewerPreferences=null,this.duplexOption=null,this.enforce=null,this.numberOfCopies=null,this.pageRange=null,this.pickTrayByPDFSize=null,this.printScaling=null}}class sa extends U.XFAObject{constructor(ft){super(e,"webClient",!0),this.name=ft.name?ft.name.trim():"",this.fontInfo=null,this.xdc=null}}class oa extends U.OptionObject{constructor(ft){super(e,"whitespace",["preserve","ltrim","normalize","rtrim","trim"])}}class Ir extends U.ContentObject{constructor(ft){super(e,"window")}[U.$finalize](){const ft=this[U.$content].trim().split(/\s*,\s*/,2).map(yr=>parseInt(yr,10));if(ft.some(yr=>isNaN(yr))){this[U.$content]=[0,0];return}ft.length===1&&ft.push(ft[0]),this[U.$content]=ft}}class $n extends U.XFAObject{constructor(ft){super(e,"xdc",!0),this.uri=new U.XFAObjectArray,this.xsl=new U.XFAObjectArray}}class Ai extends U.XFAObject{constructor(ft){super(e,"xdp",!0),this.packets=null}}class Oi extends U.XFAObject{constructor(ft){super(e,"xsl",!0),this.debug=null,this.uri=null}}class ga extends U.XFAObject{constructor(ft){super(e,"zpl",!0),this.name=ft.name?ft.name.trim():"",this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}}class Er{static[R.$buildXFAObject](ft,yr){if(Er.hasOwnProperty(ft))return Er[ft](yr)}static acrobat(ft){return new ae(ft)}static acrobat7(ft){return new ie(ft)}static ADBE_JSConsole(ft){return new he(ft)}static ADBE_JSDebugger(ft){return new J(ft)}static addSilentPrint(ft){return new X(ft)}static addViewerPreferences(ft){return new W(ft)}static adjustData(ft){return new L(ft)}static adobeExtensionLevel(ft){return new Q(ft)}static agent(ft){return new ce(ft)}static alwaysEmbed(ft){return new de(ft)}static amd(ft){return new oe(ft)}static area(ft){return new se(ft)}static attributes(ft){return new me(ft)}static autoSave(ft){return new Ee(ft)}static base(ft){return new ke(ft)}static batchOutput(ft){return new xe(ft)}static behaviorOverride(ft){return new fe(ft)}static cache(ft){return new ve(ft)}static change(ft){return new ye(ft)}static common(ft){return new Ce(ft)}static compress(ft){return new pe(ft)}static compressLogicalStructure(ft){return new _e(ft)}static compressObjectStream(ft){return new Ge(ft)}static compression(ft){return new Te(ft)}static config(ft){return new Ne(ft)}static conformance(ft){return new Ze(ft)}static contentCopy(ft){return new ze(ft)}static copies(ft){return new Ae(ft)}static creator(ft){return new De(ft)}static currentPage(ft){return new Ue(ft)}static data(ft){return new we(ft)}static debug(ft){return new Ie(ft)}static defaultTypeface(ft){return new Be(ft)}static destination(ft){return new Ke(ft)}static documentAssembly(ft){return new Ve(ft)}static driver(ft){return new je(ft)}static duplexOption(ft){return new Le(ft)}static dynamicRender(ft){return new et(ft)}static embed(ft){return new Qe(ft)}static encrypt(ft){return new Fe(ft)}static encryption(ft){return new $e(ft)}static encryptionLevel(ft){return new Ye(ft)}static enforce(ft){return new tt(ft)}static equate(ft){return new ot(ft)}static equateRange(ft){return new st(ft)}static exclude(ft){return new dt(ft)}static excludeNS(ft){return new ct(ft)}static flipLabel(ft){return new mt(ft)}static fontInfo(ft){return new ut(ft)}static formFieldFilling(ft){return new rt(ft)}static groupParent(ft){return new He(ft)}static ifEmpty(ft){return new Je(ft)}static includeXDPContent(ft){return new St(ft)}static incrementalLoad(ft){return new bt(ft)}static incrementalMerge(ft){return new pt(ft)}static interactive(ft){return new wt(ft)}static jog(ft){return new Pt(ft)}static labelPrinter(ft){return new Nt(ft)}static layout(ft){return new Vt(ft)}static level(ft){return new Wt(ft)}static linearized(ft){return new Mt(ft)}static locale(ft){return new $t(ft)}static localeSet(ft){return new Yt(ft)}static log(ft){return new Ft(ft)}static map(ft){return new Jt(ft)}static mediumInfo(ft){return new er(ft)}static message(ft){return new Bt(ft)}static messaging(ft){return new It(ft)}static mode(ft){return new Dt(ft)}static modifyAnnots(ft){return new Zt(ft)}static msgId(ft){return new gr(ft)}static nameAttr(ft){return new fr(ft)}static neverEmbed(ft){return new Dr(ft)}static numberOfCopies(ft){return new kr(ft)}static openAction(ft){return new cr(ft)}static output(ft){return new Ar(ft)}static outputBin(ft){return new yt(ft)}static outputXSL(ft){return new vt(ft)}static overprint(ft){return new Xt(ft)}static packets(ft){return new At(ft)}static pageOffset(ft){return new zt(ft)}static pageRange(ft){return new Br(ft)}static pagination(ft){return new br(ft)}static paginationOverride(ft){return new Ur(ft)}static part(ft){return new un(ft)}static pcl(ft){return new sr(ft)}static pdf(ft){return new ur(ft)}static pdfa(ft){return new Cr(ft)}static permissions(ft){return new Tr(ft)}static pickTrayByPDFSize(ft){return new jt(ft)}static picture(ft){return new Wr(ft)}static plaintextMetadata(ft){return new ir(ft)}static presence(ft){return new Gr(ft)}static present(ft){return new Jr(ft)}static print(ft){return new Xr(ft)}static printHighQuality(ft){return new fn(ft)}static printScaling(ft){return new cn(ft)}static printerName(ft){return new nn(ft)}static producer(ft){return new ar(ft)}static ps(ft){return new xr(ft)}static range(ft){return new Lr(ft)}static record(ft){return new Rr(ft)}static relevant(ft){return new Mr(ft)}static rename(ft){return new an(ft)}static renderPolicy(ft){return new gn(ft)}static runScripts(ft){return new dn(ft)}static script(ft){return new pn(ft)}static scriptModel(ft){return new Mn(ft)}static severity(ft){return new Yn(ft)}static silentPrint(ft){return new hi(ft)}static staple(ft){return new Ci(ft)}static startNode(ft){return new da(ft)}static startPage(ft){return new ra(ft)}static submitFormat(ft){return new Ri(ft)}static submitUrl(ft){return new oi(ft)}static subsetBelow(ft){return new mi(ft)}static suppressBanner(ft){return new Ia(ft)}static tagged(ft){return new ha(ft)}static template(ft){return new ka(ft)}static templateCache(ft){return new Zn(ft)}static threshold(ft){return new na(ft)}static to(ft){return new Fi(ft)}static trace(ft){return new ia(ft)}static transform(ft){return new Oa(ft)}static type(ft){return new aa(ft)}static uri(ft){return new Ii(ft)}static validate(ft){return new fa(ft)}static validateApprovalSignatures(ft){return new Na(ft)}static validationMessaging(ft){return new pa(ft)}static version(ft){return new Vi(ft)}static versionControl(ft){return new ki(ft)}static viewerPreferences(ft){return new ma(ft)}static webClient(ft){return new sa(ft)}static whitespace(ft){return new oa(ft)}static window(ft){return new Ir(ft)}static xdc(ft){return new $n(ft)}static xdp(ft){return new Ai(ft)}static xsl(ft){return new Oi(ft)}static zpl(ft){return new ga(ft)}}D.ConfigNamespace=Er},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ConnectionSetNamespace=void 0;var R=B(204),U=B(202);const K=R.NamespaceIds.connectionSet.id;class z extends U.XFAObject{constructor(me){super(K,"connectionSet",!0),this.wsdlConnection=new U.XFAObjectArray,this.xmlConnection=new U.XFAObjectArray,this.xsdConnection=new U.XFAObjectArray}}class e extends U.XFAObject{constructor(me){super(K,"effectiveInputPolicy"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class ae extends U.XFAObject{constructor(me){super(K,"effectiveOutputPolicy"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class ie extends U.StringObject{constructor(me){super(K,"operation"),this.id=me.id||"",this.input=me.input||"",this.name=me.name||"",this.output=me.output||"",this.use=me.use||"",this.usehref=me.usehref||""}}class he extends U.StringObject{constructor(me){super(K,"rootElement"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class J extends U.StringObject{constructor(me){super(K,"soapAction"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class X extends U.StringObject{constructor(me){super(K,"soapAddress"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class W extends U.StringObject{constructor(me){super(K,"uri"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class L extends U.StringObject{constructor(me){super(K,"wsdlAddress"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class Q extends U.XFAObject{constructor(me){super(K,"wsdlConnection",!0),this.dataDescription=me.dataDescription||"",this.name=me.name||"",this.effectiveInputPolicy=null,this.effectiveOutputPolicy=null,this.operation=null,this.soapAction=null,this.soapAddress=null,this.wsdlAddress=null}}class ce extends U.XFAObject{constructor(me){super(K,"xmlConnection",!0),this.dataDescription=me.dataDescription||"",this.name=me.name||"",this.uri=null}}class de extends U.XFAObject{constructor(me){super(K,"xsdConnection",!0),this.dataDescription=me.dataDescription||"",this.name=me.name||"",this.rootElement=null,this.uri=null}}class oe{static[R.$buildXFAObject](me,Ee){if(oe.hasOwnProperty(me))return oe[me](Ee)}static connectionSet(me){return new z(me)}static effectiveInputPolicy(me){return new e(me)}static effectiveOutputPolicy(me){return new ae(me)}static operation(me){return new ie(me)}static rootElement(me){return new he(me)}static soapAction(me){return new J(me)}static soapAddress(me){return new X(me)}static uri(me){return new W(me)}static wsdlAddress(me){return new L(me)}static wsdlConnection(me){return new Q(me)}static xmlConnection(me){return new ce(me)}static xsdConnection(me){return new de(me)}}D.ConnectionSetNamespace=oe},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.DatasetsNamespace=void 0;var R=B(202),U=B(204);const K=U.NamespaceIds.datasets.id;class z extends R.XmlObject{constructor(he){super(K,"data",he)}[R.$isNsAgnostic](){return!0}}class e extends R.XFAObject{constructor(he){super(K,"datasets",!0),this.data=null,this.Signature=null}[R.$onChild](he){const J=he[R.$nodeName];(J==="data"&&he[R.$namespaceId]===K||J==="Signature"&&he[R.$namespaceId]===U.NamespaceIds.signature.id)&&(this[J]=he),this[R.$appendChild](he)}}class ae{static[U.$buildXFAObject](he,J){if(ae.hasOwnProperty(he))return ae[he](J)}static datasets(he){return new e(he)}static data(he){return new z(he)}}D.DatasetsNamespace=ae},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.LocaleSetNamespace=void 0;var R=B(204),U=B(202),K=B(203);const z=R.NamespaceIds.localeSet.id;class e extends U.XFAObject{constructor(Ze){super(z,"calendarSymbols",!0),this.name="gregorian",this.dayNames=new U.XFAObjectArray(2),this.eraNames=null,this.meridiemNames=null,this.monthNames=new U.XFAObjectArray(2)}}class ae extends U.StringObject{constructor(Ze){super(z,"currencySymbol"),this.name=(0,K.getStringOption)(Ze.name,["symbol","isoname","decimal"])}}class ie extends U.XFAObject{constructor(Ze){super(z,"currencySymbols",!0),this.currencySymbol=new U.XFAObjectArray(3)}}class he extends U.StringObject{constructor(Ze){super(z,"datePattern"),this.name=(0,K.getStringOption)(Ze.name,["full","long","med","short"])}}class J extends U.XFAObject{constructor(Ze){super(z,"datePatterns",!0),this.datePattern=new U.XFAObjectArray(4)}}class X extends U.ContentObject{constructor(Ze){super(z,"dateTimeSymbols")}}class W extends U.StringObject{constructor(Ze){super(z,"day")}}class L extends U.XFAObject{constructor(Ze){super(z,"dayNames",!0),this.abbr=(0,K.getInteger)({data:Ze.abbr,defaultValue:0,validate:ze=>ze===1}),this.day=new U.XFAObjectArray(7)}}class Q extends U.StringObject{constructor(Ze){super(z,"era")}}class ce extends U.XFAObject{constructor(Ze){super(z,"eraNames",!0),this.era=new U.XFAObjectArray(2)}}class de extends U.XFAObject{constructor(Ze){super(z,"locale",!0),this.desc=Ze.desc||"",this.name="isoname",this.calendarSymbols=null,this.currencySymbols=null,this.datePatterns=null,this.dateTimeSymbols=null,this.numberPatterns=null,this.numberSymbols=null,this.timePatterns=null,this.typeFaces=null}}class oe extends U.XFAObject{constructor(Ze){super(z,"localeSet",!0),this.locale=new U.XFAObjectArray}}class se extends U.StringObject{constructor(Ze){super(z,"meridiem")}}class me extends U.XFAObject{constructor(Ze){super(z,"meridiemNames",!0),this.meridiem=new U.XFAObjectArray(2)}}class Ee extends U.StringObject{constructor(Ze){super(z,"month")}}class ke extends U.XFAObject{constructor(Ze){super(z,"monthNames",!0),this.abbr=(0,K.getInteger)({data:Ze.abbr,defaultValue:0,validate:ze=>ze===1}),this.month=new U.XFAObjectArray(12)}}class xe extends U.StringObject{constructor(Ze){super(z,"numberPattern"),this.name=(0,K.getStringOption)(Ze.name,["full","long","med","short"])}}class fe extends U.XFAObject{constructor(Ze){super(z,"numberPatterns",!0),this.numberPattern=new U.XFAObjectArray(4)}}class ve extends U.StringObject{constructor(Ze){super(z,"numberSymbol"),this.name=(0,K.getStringOption)(Ze.name,["decimal","grouping","percent","minus","zero"])}}class ye extends U.XFAObject{constructor(Ze){super(z,"numberSymbols",!0),this.numberSymbol=new U.XFAObjectArray(5)}}class Ce extends U.StringObject{constructor(Ze){super(z,"timePattern"),this.name=(0,K.getStringOption)(Ze.name,["full","long","med","short"])}}class pe extends U.XFAObject{constructor(Ze){super(z,"timePatterns",!0),this.timePattern=new U.XFAObjectArray(4)}}class _e extends U.XFAObject{constructor(Ze){super(z,"typeFace",!0),this.name=Ze.name|""}}class Ge extends U.XFAObject{constructor(Ze){super(z,"typeFaces",!0),this.typeFace=new U.XFAObjectArray}}class Te{static[R.$buildXFAObject](Ze,ze){if(Te.hasOwnProperty(Ze))return Te[Ze](ze)}static calendarSymbols(Ze){return new e(Ze)}static currencySymbol(Ze){return new ae(Ze)}static currencySymbols(Ze){return new ie(Ze)}static datePattern(Ze){return new he(Ze)}static datePatterns(Ze){return new J(Ze)}static dateTimeSymbols(Ze){return new X(Ze)}static day(Ze){return new W(Ze)}static dayNames(Ze){return new L(Ze)}static era(Ze){return new Q(Ze)}static eraNames(Ze){return new ce(Ze)}static locale(Ze){return new de(Ze)}static localeSet(Ze){return new oe(Ze)}static meridiem(Ze){return new se(Ze)}static meridiemNames(Ze){return new me(Ze)}static month(Ze){return new Ee(Ze)}static monthNames(Ze){return new ke(Ze)}static numberPattern(Ze){return new xe(Ze)}static numberPatterns(Ze){return new fe(Ze)}static numberSymbol(Ze){return new ve(Ze)}static numberSymbols(Ze){return new ye(Ze)}static timePattern(Ze){return new Ce(Ze)}static timePatterns(Ze){return new pe(Ze)}static typeFace(Ze){return new _e(Ze)}static typeFaces(Ze){return new Ge(Ze)}}D.LocaleSetNamespace=Te},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.SignatureNamespace=void 0;var R=B(204),U=B(202);const K=R.NamespaceIds.signature.id;class z extends U.XFAObject{constructor(ie){super(K,"signature",!0)}}class e{static[R.$buildXFAObject](ie,he){if(e.hasOwnProperty(ie))return e[ie](he)}static signature(ie){return new z(ie)}}D.SignatureNamespace=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.StylesheetNamespace=void 0;var R=B(204),U=B(202);const K=R.NamespaceIds.stylesheet.id;class z extends U.XFAObject{constructor(ie){super(K,"stylesheet",!0)}}class e{static[R.$buildXFAObject](ie,he){if(e.hasOwnProperty(ie))return e[ie](he)}static stylesheet(ie){return new z(ie)}}D.StylesheetNamespace=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XdpNamespace=void 0;var R=B(204),U=B(202);const K=R.NamespaceIds.xdp.id;class z extends U.XFAObject{constructor(ie){super(K,"xdp",!0),this.uuid=ie.uuid||"",this.timeStamp=ie.timeStamp||"",this.config=null,this.connectionSet=null,this.datasets=null,this.localeSet=null,this.stylesheet=new U.XFAObjectArray,this.template=null}[U.$onChildCheck](ie){const he=R.NamespaceIds[ie[U.$nodeName]];return he&&ie[U.$namespaceId]===he.id}}class e{static[R.$buildXFAObject](ie,he){if(e.hasOwnProperty(ie))return e[ie](he)}static xdp(ie){return new z(ie)}}D.XdpNamespace=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XhtmlNamespace=void 0;var R=B(202),U=B(204),K=B(209),z=B(203);const e=U.NamespaceIds.xhtml.id,ae=Symbol(),ie=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),he=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",Ne=>Ne==="none"?"none":"normal"],["xfa-font-horizontal-scale",Ne=>`scaleX(${Math.max(0,Math.min(parseInt(Ne)/100)).toFixed(2)})`],["xfa-font-vertical-scale",Ne=>`scaleY(${Math.max(0,Math.min(parseInt(Ne)/100)).toFixed(2)})`],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",(Ne,Ze)=>(Ne=Ze.fontSize=(0,z.getMeasurement)(Ne),(0,K.measureToString)(.99*Ne))],["letter-spacing",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["line-height",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["margin",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["margin-bottom",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["margin-left",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["margin-right",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["margin-top",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["text-indent",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["font-family",Ne=>Ne],["vertical-align",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))]]),J=/\s+/g,X=/[\r\n]+/g,W=/\r\n?/g;function L(Ne,Ze,ze){const Ae=Object.create(null);if(!Ne)return Ae;const De=Object.create(null);for(const[Ue,we]of Ne.split(";").map(Ie=>Ie.split(":",2))){const Ie=he.get(Ue);if(Ie==="")continue;let Be=we;Ie&&(typeof Ie=="string"?Be=Ie:Be=Ie(we,De)),Ue.endsWith("scale")?Ae.transform?Ae.transform=`${Ae[Ue]} ${Be}`:Ae.transform=Be:Ae[Ue.replaceAll(/-([a-zA-Z])/g,(Ke,Ve)=>Ve.toUpperCase())]=Be}if(Ae.fontFamily&&(0,K.setFontFamily)({typeface:Ae.fontFamily,weight:Ae.fontWeight||"normal",posture:Ae.fontStyle||"normal",size:De.fontSize||0},Ze,Ze[R.$globalData].fontFinder,Ae),ze&&Ae.verticalAlign&&Ae.verticalAlign!=="0px"&&Ae.fontSize){const Ie=(0,z.getMeasurement)(Ae.fontSize);Ae.fontSize=(0,K.measureToString)(Ie*.583),Ae.verticalAlign=(0,K.measureToString)(Math.sign((0,z.getMeasurement)(Ae.verticalAlign))*Ie*.333)}return ze&&Ae.fontSize&&(Ae.fontSize=`calc(${Ae.fontSize} * var(--scale-factor))`),(0,K.fixTextIndent)(Ae),Ae}function Q(Ne){return Ne.style?Ne.style.trim().split(/\s*;\s*/).filter(Ze=>!!Ze).map(Ze=>Ze.split(/\s*:\s*/,2)).filter(Ze=>{let[ze,Ae]=Ze;return ze==="font-family"&&Ne[R.$globalData].usedTypefaces.add(Ae),ie.has(ze)}).map(Ze=>Ze.join(":")).join(";"):""}const ce=new Set(["body","html"]);class de extends R.XmlObject{constructor(Ze,ze){super(e,ze),this[ae]=!1,this.style=Ze.style||""}[R.$clean](Ze){super[R.$clean](Ze),this.style=Q(this)}[R.$acceptWhitespace](){return!ce.has(this[R.$nodeName])}[R.$onText](Ze){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?this[ae]=!0:(Ze=Ze.replace(X,""),this.style.includes("xfa-spacerun:yes")||(Ze=Ze.replace(J," "))),Ze&&(this[R.$content]+=Ze)}[R.$pushGlyphs](Ze){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const Ae=Object.create(null),De={top:NaN,bottom:NaN,left:NaN,right:NaN};let Ue=null;for(const[we,Ie]of this.style.split(";").map(Be=>Be.split(":",2)))switch(we){case"font-family":Ae.typeface=(0,z.stripQuotes)(Ie);break;case"font-size":Ae.size=(0,z.getMeasurement)(Ie);break;case"font-weight":Ae.weight=Ie;break;case"font-style":Ae.posture=Ie;break;case"letter-spacing":Ae.letterSpacing=(0,z.getMeasurement)(Ie);break;case"margin":const Be=Ie.split(/ \t/).map(Ke=>(0,z.getMeasurement)(Ke));switch(Be.length){case 1:De.top=De.bottom=De.left=De.right=Be[0];break;case 2:De.top=De.bottom=Be[0],De.left=De.right=Be[1];break;case 3:De.top=Be[0],De.bottom=Be[2],De.left=De.right=Be[1];break;case 4:De.top=Be[0],De.left=Be[1],De.bottom=Be[2],De.right=Be[3];break}break;case"margin-top":De.top=(0,z.getMeasurement)(Ie);break;case"margin-bottom":De.bottom=(0,z.getMeasurement)(Ie);break;case"margin-left":De.left=(0,z.getMeasurement)(Ie);break;case"margin-right":De.right=(0,z.getMeasurement)(Ie);break;case"line-height":Ue=(0,z.getMeasurement)(Ie);break}if(Ze.pushData(Ae,De,Ue),this[R.$content])Ze.addString(this[R.$content]);else for(const we of this[R.$getChildren]()){if(we[R.$nodeName]==="#text"){Ze.addString(we[R.$content]);continue}we[R.$pushGlyphs](Ze)}ze&&Ze.popFont()}[R.$toHTML](Ze){const ze=[];if(this[R.$extra]={children:ze},this[R.$childrenToHTML]({}),ze.length===0&&!this[R.$content])return z.HTMLResult.EMPTY;let Ae;return this[ae]?Ae=this[R.$content]?this[R.$content].replace(W,` -`):void 0:Ae=this[R.$content]||void 0,z.HTMLResult.success({name:this[R.$nodeName],attributes:{href:this.href,style:L(this.style,this,this[ae])},children:ze,value:Ae})}}class oe extends de{constructor(Ze){super(Ze,"a"),this.href=(0,K.fixURL)(Ze.href)||""}}class se extends de{constructor(Ze){super(Ze,"b")}[R.$pushGlyphs](Ze){Ze.pushFont({weight:"bold"}),super[R.$pushGlyphs](Ze),Ze.popFont()}}class me extends de{constructor(Ze){super(Ze,"body")}[R.$toHTML](Ze){const ze=super[R.$toHTML](Ze),{html:Ae}=ze;return Ae?(Ae.name="div",Ae.attributes.class=["xfaRich"],ze):z.HTMLResult.EMPTY}}class Ee extends de{constructor(Ze){super(Ze,"br")}[R.$text](){return` +`):this[R.$content][R.$text]()}[R.$toHTML](Oe){if(typeof this[R.$content]=="string"){const ft=pe(this[R.$content]).html;return this[R.$content].includes("\u2029")?(ft.name="div",ft.children=[],this[R.$content].split("\u2029").map(yr=>yr.split(/[\u2028\n]/).reduce((lr,qr)=>(lr.push({name:"span",value:qr},{name:"br"}),lr),[])).forEach(yr=>{ft.children.push({name:"p",children:yr})})):/[\u2028\n]/.test(this[R.$content])&&(ft.name="div",ft.children=[],this[R.$content].split(/[\u2028\n]/).forEach(yr=>{ft.children.push({name:"span",value:yr},{name:"br"})})),e.HTMLResult.success(ft)}return this[R.$content][R.$toHTML](Oe)}}D.Text=Na;class pa extends R.XFAObject{constructor(Oe){super(W,"textEdit",!0),this.allowRichText=(0,e.getInteger)({data:Oe.allowRichText,defaultValue:0,validate:ft=>ft===1}),this.hScrollPolicy=(0,e.getStringOption)(Oe.hScrollPolicy,["auto","off","on"]),this.id=Oe.id||"",this.multiLine=(0,e.getInteger)({data:Oe.multiLine,defaultValue:"",validate:ft=>ft===0||ft===1}),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.vScrollPolicy=(0,e.getStringOption)(Oe.vScrollPolicy,["auto","off","on"]),this.border=null,this.comb=null,this.extras=null,this.margin=null}[R.$toHTML](Oe){const ft=(0,z.toStyle)(this,"border","font","margin");let yr;const lr=this[R.$getParent]()[R.$getParent]();return this.multiLine===""&&(this.multiLine=lr instanceof Vt?1:0),this.multiLine===1?yr={name:"textarea",attributes:{dataId:lr[R.$data]&&lr[R.$data][R.$uid]||lr[R.$uid],fieldId:lr[R.$uid],class:["xfaTextfield"],style:ft,"aria-label":Ce(lr),"aria-required":!1}}:yr={name:"input",attributes:{type:"text",dataId:lr[R.$data]&&lr[R.$data][R.$uid]||lr[R.$uid],fieldId:lr[R.$uid],class:["xfaTextfield"],style:ft,"aria-label":Ce(lr),"aria-required":!1}},fe(lr)&&(yr.attributes["aria-required"]=!0,yr.attributes.required=!0),e.HTMLResult.success({name:"label",attributes:{class:["xfaLabel"]},children:[yr]})}}class Vi extends R.StringObject{constructor(Oe){super(W,"time"),this.id=Oe.id||"",this.name=Oe.name||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}[R.$finalize](){const Oe=this[R.$content].trim();this[R.$content]=Oe?new Date(Oe):null}[R.$toHTML](Oe){return pe(this[R.$content]?this[R.$content].toString():"")}}class ki extends R.XFAObject{constructor(Oe){super(W,"timeStamp"),this.id=Oe.id||"",this.server=Oe.server||"",this.type=(0,e.getStringOption)(Oe.type,["optional","required"]),this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class ma extends R.StringObject{constructor(Oe){super(W,"toolTip"),this.id=Oe.id||"",this.rid=Oe.rid||"",this.use=Oe.use||"",this.usehref=Oe.usehref||""}}class sa extends R.XFAObject{constructor(Oe){super(W,"traversal",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.traverse=new R.XFAObjectArray}}class oa extends R.XFAObject{constructor(Oe){super(W,"traverse",!0),this.id=Oe.id||"",this.operation=(0,e.getStringOption)(Oe.operation,["next","back","down","first","left","right","up"]),this.ref=Oe.ref||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.script=null}get name(){return this.operation}[R.$isTransparent](){return!1}}class Ir extends R.XFAObject{constructor(Oe){super(W,"ui",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.picture=null,this.barcode=null,this.button=null,this.checkButton=null,this.choiceList=null,this.dateTimeEdit=null,this.defaultUi=null,this.imageEdit=null,this.numericEdit=null,this.passwordEdit=null,this.signature=null,this.textEdit=null}[R.$getExtra](){if(this[R.$extra]===void 0){for(const Oe of Object.getOwnPropertyNames(this)){if(Oe==="extras"||Oe==="picture")continue;const ft=this[Oe];if(ft instanceof R.XFAObject)return this[R.$extra]=ft,ft}this[R.$extra]=null}return this[R.$extra]}[R.$toHTML](Oe){const ft=this[R.$getExtra]();return ft?ft[R.$toHTML](Oe):e.HTMLResult.EMPTY}}class $n extends R.XFAObject{constructor(Oe){super(W,"validate",!0),this.formatTest=(0,e.getStringOption)(Oe.formatTest,["warning","disabled","error"]),this.id=Oe.id||"",this.nullTest=(0,e.getStringOption)(Oe.nullTest,["disabled","error","warning"]),this.scriptTest=(0,e.getStringOption)(Oe.scriptTest,["error","disabled","warning"]),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.extras=null,this.message=null,this.picture=null,this.script=null}}class Ai extends R.XFAObject{constructor(Oe){super(W,"value",!0),this.id=Oe.id||"",this.override=(0,e.getInteger)({data:Oe.override,defaultValue:0,validate:ft=>ft===1}),this.relevant=(0,e.getRelevant)(Oe.relevant),this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.arc=null,this.boolean=null,this.date=null,this.dateTime=null,this.decimal=null,this.exData=null,this.float=null,this.image=null,this.integer=null,this.line=null,this.rectangle=null,this.text=null,this.time=null}[R.$setValue](Oe){const ft=this[R.$getParent]();if(ft instanceof kr&&ft.ui&&ft.ui.imageEdit){this.image||(this.image=new Br({}),this[R.$appendChild](this.image)),this.image[R.$content]=Oe[R.$content];return}const yr=Oe[R.$nodeName];if(this[yr]!==null){this[yr][R.$content]=Oe[R.$content];return}for(const lr of Object.getOwnPropertyNames(this)){const qr=this[lr];qr instanceof R.XFAObject&&(this[lr]=null,this[R.$removeChild](qr))}this[Oe[R.$nodeName]]=Oe,this[R.$appendChild](Oe)}[R.$text](){if(this.exData)return typeof this.exData[R.$content]=="string"?this.exData[R.$content].trim():this.exData[R.$content][R.$text]().trim();for(const Oe of Object.getOwnPropertyNames(this)){if(Oe==="image")continue;const ft=this[Oe];if(ft instanceof R.XFAObject)return(ft[R.$content]||"").toString().trim()}return null}[R.$toHTML](Oe){for(const ft of Object.getOwnPropertyNames(this)){const yr=this[ft];if(yr instanceof R.XFAObject)return yr[R.$toHTML](Oe)}return e.HTMLResult.EMPTY}}D.Value=Ai;class Oi extends R.XFAObject{constructor(Oe){super(W,"variables",!0),this.id=Oe.id||"",this.use=Oe.use||"",this.usehref=Oe.usehref||"",this.boolean=new R.XFAObjectArray,this.date=new R.XFAObjectArray,this.dateTime=new R.XFAObjectArray,this.decimal=new R.XFAObjectArray,this.exData=new R.XFAObjectArray,this.float=new R.XFAObjectArray,this.image=new R.XFAObjectArray,this.integer=new R.XFAObjectArray,this.manifest=new R.XFAObjectArray,this.script=new R.XFAObjectArray,this.text=new R.XFAObjectArray,this.time=new R.XFAObjectArray}[R.$isTransparent](){return!0}}class ga{static[U.$buildXFAObject](Oe,ft){if(ga.hasOwnProperty(Oe)){const yr=ga[Oe](ft);return yr[R.$setSetAttributes](ft),yr}}static appearanceFilter(Oe){return new Ze(Oe)}static arc(Oe){return new ze(Oe)}static area(Oe){return new Te(Oe)}static assist(Oe){return new Fe(Oe)}static barcode(Oe){return new Pe(Oe)}static bind(Oe){return new we(Oe)}static bindItems(Oe){return new Ie(Oe)}static bookend(Oe){return new Be(Oe)}static boolean(Oe){return new Ke(Oe)}static border(Oe){return new Ve(Oe)}static break(Oe){return new je(Oe)}static breakAfter(Oe){return new Le(Oe)}static breakBefore(Oe){return new et(Oe)}static button(Oe){return new Qe(Oe)}static calculate(Oe){return new Ue(Oe)}static caption(Oe){return new $e(Oe)}static certificate(Oe){return new Ye(Oe)}static certificates(Oe){return new tt(Oe)}static checkButton(Oe){return new ot(Oe)}static choiceList(Oe){return new st(Oe)}static color(Oe){return new dt(Oe)}static comb(Oe){return new ct(Oe)}static connect(Oe){return new mt(Oe)}static contentArea(Oe){return new ut(Oe)}static corner(Oe){return new rt(Oe)}static date(Oe){return new He(Oe)}static dateTime(Oe){return new Je(Oe)}static dateTimeEdit(Oe){return new St(Oe)}static decimal(Oe){return new bt(Oe)}static defaultUi(Oe){return new pt(Oe)}static desc(Oe){return new wt(Oe)}static digestMethod(Oe){return new Pt(Oe)}static digestMethods(Oe){return new Nt(Oe)}static draw(Oe){return new Vt(Oe)}static edge(Oe){return new Wt(Oe)}static encoding(Oe){return new Mt(Oe)}static encodings(Oe){return new $t(Oe)}static encrypt(Oe){return new Yt(Oe)}static encryptData(Oe){return new Ft(Oe)}static encryption(Oe){return new Jt(Oe)}static encryptionMethod(Oe){return new er(Oe)}static encryptionMethods(Oe){return new Bt(Oe)}static event(Oe){return new It(Oe)}static exData(Oe){return new Dt(Oe)}static exObject(Oe){return new Zt(Oe)}static exclGroup(Oe){return new gr(Oe)}static execute(Oe){return new fr(Oe)}static extras(Oe){return new Dr(Oe)}static field(Oe){return new kr(Oe)}static fill(Oe){return new cr(Oe)}static filter(Oe){return new Ar(Oe)}static float(Oe){return new yt(Oe)}static font(Oe){return new vt(Oe)}static format(Oe){return new Xt(Oe)}static handler(Oe){return new At(Oe)}static hyphenation(Oe){return new zt(Oe)}static image(Oe){return new Br(Oe)}static imageEdit(Oe){return new br(Oe)}static integer(Oe){return new Ur(Oe)}static issuers(Oe){return new un(Oe)}static items(Oe){return new sr(Oe)}static keep(Oe){return new ur(Oe)}static keyUsage(Oe){return new Cr(Oe)}static line(Oe){return new Tr(Oe)}static linear(Oe){return new jt(Oe)}static lockDocument(Oe){return new Wr(Oe)}static manifest(Oe){return new ir(Oe)}static margin(Oe){return new Gr(Oe)}static mdp(Oe){return new Jr(Oe)}static medium(Oe){return new Xr(Oe)}static message(Oe){return new fn(Oe)}static numericEdit(Oe){return new cn(Oe)}static occur(Oe){return new nn(Oe)}static oid(Oe){return new ar(Oe)}static oids(Oe){return new xr(Oe)}static overflow(Oe){return new Lr(Oe)}static pageArea(Oe){return new Rr(Oe)}static pageSet(Oe){return new Mr(Oe)}static para(Oe){return new an(Oe)}static passwordEdit(Oe){return new gn(Oe)}static pattern(Oe){return new dn(Oe)}static picture(Oe){return new pn(Oe)}static proto(Oe){return new Mn(Oe)}static radial(Oe){return new Yn(Oe)}static reason(Oe){return new hi(Oe)}static reasons(Oe){return new Ci(Oe)}static rectangle(Oe){return new da(Oe)}static ref(Oe){return new ra(Oe)}static script(Oe){return new Ri(Oe)}static setProperty(Oe){return new oi(Oe)}static signData(Oe){return new mi(Oe)}static signature(Oe){return new Ia(Oe)}static signing(Oe){return new ha(Oe)}static solid(Oe){return new ka(Oe)}static speak(Oe){return new na(Oe)}static stipple(Oe){return new Fi(Oe)}static subform(Oe){return new Zn(Oe)}static subformSet(Oe){return new ia(Oe)}static subjectDN(Oe){return new Oa(Oe)}static subjectDNs(Oe){return new aa(Oe)}static submit(Oe){return new Ii(Oe)}static template(Oe){return new fa(Oe)}static text(Oe){return new Na(Oe)}static textEdit(Oe){return new pa(Oe)}static time(Oe){return new Vi(Oe)}static timeStamp(Oe){return new ki(Oe)}static toolTip(Oe){return new ma(Oe)}static traversal(Oe){return new sa(Oe)}static traverse(Oe){return new oa(Oe)}static ui(Oe){return new Ir(Oe)}static validate(Oe){return new $n(Oe)}static value(Oe){return new Ai(Oe)}static variables(Oe){return new Oi(Oe)}}D.TemplateNamespace=ga},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.addHTML=e,D.checkDimensions=he,D.flushHTML=z,D.getAvailableSpace=ae;var R=B(202),U=B(209);function K(J,W){return{name:"div",attributes:{class:[J.layout==="lr-tb"?"xfaLr":"xfaRl"]},children:W}}function z(J){if(!J[R.$extra])return null;const X={name:"div",attributes:J[R.$extra].attributes,children:J[R.$extra].children};if(J[R.$extra].failingNode){const L=J[R.$extra].failingNode[R.$flushHTML]();L&&(J.layout.endsWith("-tb")?X.children.push(K(J,[L])):X.children.push(L))}return X.children.length===0?null:X}function e(J,W,X){const L=J[R.$extra],Q=L.availableSpace,[ce,de,se,oe]=X;switch(J.layout){case"position":{L.width=Math.max(L.width,ce+se),L.height=Math.max(L.height,de+oe),L.children.push(W);break}case"lr-tb":case"rl-tb":(!L.line||L.attempt===1)&&(L.line=K(J,[]),L.children.push(L.line),L.numberInLine=0),L.numberInLine+=1,L.line.children.push(W),L.attempt===0?(L.currentWidth+=se,L.height=Math.max(L.height,L.prevHeight+oe)):(L.currentWidth=se,L.prevHeight=L.height,L.height+=oe,L.attempt=0),L.width=Math.max(L.width,L.currentWidth);break;case"rl-row":case"row":{L.children.push(W),L.width+=se,L.height=Math.max(L.height,oe);const me=(0,U.measureToString)(L.height);for(const Ee of L.children)Ee.attributes.style.height=me;break}case"table":{L.width=Math.min(Q.width,Math.max(L.width,se)),L.height+=oe,L.children.push(W);break}case"tb":{L.width=Math.min(Q.width,Math.max(L.width,se)),L.height+=oe,L.children.push(W);break}}}function ae(J){const W=J[R.$extra].availableSpace,X=J.margin?J.margin.topInset+J.margin.bottomInset:0,L=J.margin?J.margin.leftInset+J.margin.rightInset:0;switch(J.layout){case"lr-tb":case"rl-tb":return J[R.$extra].attempt===0?{width:W.width-L-J[R.$extra].currentWidth,height:W.height-X-J[R.$extra].prevHeight}:{width:W.width-L,height:W.height-X-J[R.$extra].height};case"rl-row":case"row":return{width:J[R.$extra].columnWidths.slice(J[R.$extra].currentColumn).reduce((ce,de)=>ce+de),height:W.height-L};case"table":case"tb":return{width:W.width-L,height:W.height-X-J[R.$extra].height};case"position":default:return W}}function ie(J){let W=J.w===""?NaN:J.w,X=J.h===""?NaN:J.h,[L,Q]=[0,0];switch(J.anchorType||""){case"bottomCenter":[L,Q]=[W/2,X];break;case"bottomLeft":[L,Q]=[0,X];break;case"bottomRight":[L,Q]=[W,X];break;case"middleCenter":[L,Q]=[W/2,X/2];break;case"middleLeft":[L,Q]=[0,X/2];break;case"middleRight":[L,Q]=[W,X/2];break;case"topCenter":[L,Q]=[W/2,0];break;case"topRight":[L,Q]=[W,0];break}let ce,de;switch(J.rotate||0){case 0:[ce,de]=[-L,-Q];break;case 90:[ce,de]=[-Q,L],[W,X]=[X,-W];break;case 180:[ce,de]=[L,Q],[W,X]=[-W,-X];break;case 270:[ce,de]=[Q,-L],[W,X]=[-X,W];break}return[J.x+ce+Math.min(0,W),J.y+de+Math.min(0,X),Math.abs(W),Math.abs(X)]}function he(J,W){if(J[R.$getTemplateRoot]()[R.$extra].firstUnsplittable===null||J.w===0||J.h===0)return!0;const X=2,L=J[R.$getSubformParent](),Q=L[R.$extra]&&L[R.$extra].attempt||0,[,ce,de,se]=ie(J);switch(L.layout){case"lr-tb":case"rl-tb":return Q===0?J[R.$getTemplateRoot]()[R.$extra].noLayoutFailure?J.w!==""?Math.round(de-W.width)<=X:W.width>X:J.h!==""&&Math.round(se-W.height)>X?!1:J.w!==""?Math.round(de-W.width)<=X?!0:L[R.$extra].numberInLine===0?W.height>X:!1:W.width>X:J[R.$getTemplateRoot]()[R.$extra].noLayoutFailure?!0:J.h!==""&&Math.round(se-W.height)>X?!1:J.w===""||Math.round(de-W.width)<=X?W.height>X:L[R.$isThereMoreWidth]()?!1:W.height>X;case"table":case"tb":return J[R.$getTemplateRoot]()[R.$extra].noLayoutFailure?!0:J.h!==""&&!J[R.$isSplittable]()?Math.round(se-W.height)<=X:J.w===""||Math.round(de-W.width)<=X?W.height>X:L[R.$isThereMoreWidth]()?!1:W.height>X;case"position":if(J[R.$getTemplateRoot]()[R.$extra].noLayoutFailure||J.h===""||Math.round(se+ce-W.height)<=X)return!0;const oe=J[R.$getTemplateRoot]()[R.$extra].currentContentArea;return se+ce>oe.h;case"rl-row":case"row":return J[R.$getTemplateRoot]()[R.$extra].noLayoutFailure?!0:J.h!==""?Math.round(se-W.height)<=X:!0;default:return!0}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.computeBbox=X,D.createWrapper=de,D.fixDimensions=L,D.fixTextIndent=se,D.fixURL=fe,D.isPrintOnly=me,D.layoutClass=Q,D.layoutNode=W,D.measureToString=ae,D.setAccess=oe,D.setFontFamily=xe,D.setMinMaxDimensions=he,D.setPara=ke,D.toStyle=ce;var R=B(202),U=B(2),K=B(203),z=B(210),e=B(211);function ae(ve){return typeof ve=="string"?"0px":Number.isInteger(ve)?`${ve}px`:`${ve.toFixed(2)}px`}const ie={anchorType(ve,ye){const Ce=ve[R.$getSubformParent]();if(!(!Ce||Ce.layout&&Ce.layout!=="position"))switch("transform"in ye||(ye.transform=""),ve.anchorType){case"bottomCenter":ye.transform+="translate(-50%, -100%)";break;case"bottomLeft":ye.transform+="translate(0,-100%)";break;case"bottomRight":ye.transform+="translate(-100%,-100%)";break;case"middleCenter":ye.transform+="translate(-50%,-50%)";break;case"middleLeft":ye.transform+="translate(0,-50%)";break;case"middleRight":ye.transform+="translate(-100%,-50%)";break;case"topCenter":ye.transform+="translate(-50%,0)";break;case"topRight":ye.transform+="translate(-100%,0)";break}},dimensions(ve,ye){const Ce=ve[R.$getSubformParent]();let pe=ve.w;const _e=ve.h;if(Ce.layout&&Ce.layout.includes("row")){const Ge=Ce[R.$extra],Ae=ve.colSpan;let Ne;Ae===-1?(Ne=Ge.columnWidths.slice(Ge.currentColumn).reduce((Ze,ze)=>Ze+ze,0),Ge.currentColumn=0):(Ne=Ge.columnWidths.slice(Ge.currentColumn,Ge.currentColumn+Ae).reduce((Ze,ze)=>Ze+ze,0),Ge.currentColumn=(Ge.currentColumn+ve.colSpan)%Ge.columnWidths.length),isNaN(Ne)||(pe=ve.w=Ne)}pe!==""?ye.width=ae(pe):ye.width="auto",_e!==""?ye.height=ae(_e):ye.height="auto"},position(ve,ye){const Ce=ve[R.$getSubformParent]();Ce&&Ce.layout&&Ce.layout!=="position"||(ye.position="absolute",ye.left=ae(ve.x),ye.top=ae(ve.y))},rotate(ve,ye){ve.rotate&&("transform"in ye||(ye.transform=""),ye.transform+=`rotate(-${ve.rotate}deg)`,ye.transformOrigin="top left")},presence(ve,ye){switch(ve.presence){case"invisible":ye.visibility="hidden";break;case"hidden":case"inactive":ye.display="none";break}},hAlign(ve,ye){if(ve[R.$nodeName]==="para")switch(ve.hAlign){case"justifyAll":ye.textAlign="justify-all";break;case"radix":ye.textAlign="left";break;default:ye.textAlign=ve.hAlign}else switch(ve.hAlign){case"left":ye.alignSelf="start";break;case"center":ye.alignSelf="center";break;case"right":ye.alignSelf="end";break}},margin(ve,ye){ve.margin&&(ye.margin=ve.margin[R.$toStyle]().margin)}};function he(ve,ye){ve[R.$getSubformParent]().layout==="position"&&(ve.minW>0&&(ye.minWidth=ae(ve.minW)),ve.maxW>0&&(ye.maxWidth=ae(ve.maxW)),ve.minH>0&&(ye.minHeight=ae(ve.minH)),ve.maxH>0&&(ye.maxHeight=ae(ve.maxH)))}function J(ve,ye,Ce,pe,_e,Ge){const Ae=new e.TextMeasure(ye,Ce,pe,_e);return typeof ve=="string"?Ae.addString(ve):ve[R.$pushGlyphs](Ae),Ae.compute(Ge)}function W(ve,ye){let Ce=null,pe=null,_e=!1;if((!ve.w||!ve.h)&&ve.value){let Ge=0,Ae=0;ve.margin&&(Ge=ve.margin.leftInset+ve.margin.rightInset,Ae=ve.margin.topInset+ve.margin.bottomInset);let Ne=null,Ze=null;ve.para&&(Ze=Object.create(null),Ne=ve.para.lineHeight===""?null:ve.para.lineHeight,Ze.top=ve.para.spaceAbove===""?0:ve.para.spaceAbove,Ze.bottom=ve.para.spaceBelow===""?0:ve.para.spaceBelow,Ze.left=ve.para.marginLeft===""?0:ve.para.marginLeft,Ze.right=ve.para.marginRight===""?0:ve.para.marginRight);let ze=ve.font;if(!ze){const Pe=ve[R.$getTemplateRoot]();let we=ve[R.$getParent]();for(;we&&we!==Pe;){if(we.font){ze=we.font;break}we=we[R.$getParent]()}}const Te=(ve.w||ye.width)-Ge,Fe=ve[R.$globalData].fontFinder;if(ve.value.exData&&ve.value.exData[R.$content]&&ve.value.exData.contentType==="text/html"){const Pe=J(ve.value.exData[R.$content],ze,Ze,Ne,Fe,Te);pe=Pe.width,Ce=Pe.height,_e=Pe.isBroken}else{const Pe=ve.value[R.$text]();if(Pe){const we=J(Pe,ze,Ze,Ne,Fe,Te);pe=we.width,Ce=we.height,_e=we.isBroken}}pe!==null&&!ve.w&&(pe+=Ge),Ce!==null&&!ve.h&&(Ce+=Ae)}return{w:pe,h:Ce,isBroken:_e}}function X(ve,ye,Ce){let pe;if(ve.w!==""&&ve.h!=="")pe=[ve.x,ve.y,ve.w,ve.h];else{if(!Ce)return null;let _e=ve.w;if(_e===""){if(ve.maxW===0){const Ae=ve[R.$getSubformParent]();Ae.layout==="position"&&Ae.w!==""?_e=0:_e=ve.minW}else _e=Math.min(ve.maxW,Ce.width);ye.attributes.style.width=ae(_e)}let Ge=ve.h;if(Ge===""){if(ve.maxH===0){const Ae=ve[R.$getSubformParent]();Ae.layout==="position"&&Ae.h!==""?Ge=0:Ge=ve.minH}else Ge=Math.min(ve.maxH,Ce.height);ye.attributes.style.height=ae(Ge)}pe=[ve.x,ve.y,_e,Ge]}return pe}function L(ve){const ye=ve[R.$getSubformParent]();if(ye.layout&&ye.layout.includes("row")){const Ce=ye[R.$extra],pe=ve.colSpan;let _e;pe===-1?_e=Ce.columnWidths.slice(Ce.currentColumn).reduce((Ge,Ae)=>Ge+Ae,0):_e=Ce.columnWidths.slice(Ce.currentColumn,Ce.currentColumn+pe).reduce((Ge,Ae)=>Ge+Ae,0),isNaN(_e)||(ve.w=_e)}ye.layout&&ye.layout!=="position"&&(ve.x=ve.y=0),ve.layout==="table"&&ve.w===""&&Array.isArray(ve.columnWidths)&&(ve.w=ve.columnWidths.reduce((Ce,pe)=>Ce+pe,0))}function Q(ve){switch(ve.layout){case"position":return"xfaPosition";case"lr-tb":return"xfaLrTb";case"rl-row":return"xfaRlRow";case"rl-tb":return"xfaRlTb";case"row":return"xfaRow";case"table":return"xfaTable";case"tb":return"xfaTb";default:return"xfaPosition"}}function ce(ve){const ye=Object.create(null);for(var Ce=arguments.length,pe=new Array(Ce>1?Ce-1:0),_e=1;_e=0)return;const pe="padding"+((ve.textAlign==="right"?"right":"left")==="left"?"Left":"Right"),_e=(0,K.getMeasurement)(ve[pe],"0px");ve[pe]=`${_e-ye}px`}function oe(ve,ye){switch(ve.access){case"nonInteractive":ye.push("xfaNonInteractive");break;case"readOnly":ye.push("xfaReadOnly");break;case"protected":ye.push("xfaDisabled");break}}function me(ve){return ve.relevant.length>0&&!ve.relevant[0].excluded&&ve.relevant[0].viewname==="print"}function Ee(ve){const ye=ve[R.$getTemplateRoot]()[R.$extra].paraStack;return ye.length?ye.at(-1):null}function ke(ve,ye,Ce){if(Ce.attributes.class&&Ce.attributes.class.includes("xfaRich")){ye&&(ve.h===""&&(ye.height="auto"),ve.w===""&&(ye.width="auto"));const pe=Ee(ve);if(pe){const _e=Ce.attributes.style;switch(_e.display="flex",_e.flexDirection="column",pe.vAlign){case"top":_e.justifyContent="start";break;case"bottom":_e.justifyContent="end";break;case"middle":_e.justifyContent="center";break}const Ge=pe[R.$toStyle]();for(const[Ae,Ne]of Object.entries(Ge))Ae in _e||(_e[Ae]=Ne)}}}function xe(ve,ye,Ce,pe){if(!Ce){delete pe.fontFamily;return}const _e=(0,K.stripQuotes)(ve.typeface);pe.fontFamily=`"${_e}"`;const Ge=Ce.find(_e);if(Ge){const{fontFamily:Ae}=Ge.regular.cssFontInfo;Ae!==_e&&(pe.fontFamily=`"${Ae}"`);const Ne=Ee(ye);if(Ne&&Ne.lineHeight!==""||pe.lineHeight)return;const Ze=(0,z.selectFont)(ve,Ge);Ze&&(pe.lineHeight=Math.max(1.2,Ze.lineHeight))}}function fe(ve){const ye=(0,U.createValidAbsoluteUrl)(ve,null,{addDefaultProtocol:!0,tryConvertEncoding:!0});return ye?ye.href:null}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.FontFinder=void 0,D.getMetrics=ae,D.selectFont=e;var R=B(202),U=B(203),K=B(2);class z{constructor(he){this.fonts=new Map,this.cache=new Map,this.warned=new Set,this.defaultFont=null,this.add(he)}add(he){let J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;for(const X of he)this.addPdfFont(X);for(const X of this.fonts.values())X.regular||(X.regular=X.italic||X.bold||X.bolditalic);if(!J||J.size===0)return;const W=this.fonts.get("PdfJS-Fallback-PdfJS-XFA");for(const X of J)this.fonts.set(X,W)}addPdfFont(he){const J=he.cssFontInfo,W=J.fontFamily;let X=this.fonts.get(W);X||(X=Object.create(null),this.fonts.set(W,X),this.defaultFont||(this.defaultFont=X));let L="";const Q=parseFloat(J.fontWeight);parseFloat(J.italicAngle)!==0?L=Q>=700?"bolditalic":"italic":Q>=700&&(L="bold"),L||((he.name.includes("Bold")||he.psName&&he.psName.includes("Bold"))&&(L="bold"),(he.name.includes("Italic")||he.name.endsWith("It")||he.psName&&(he.psName.includes("Italic")||he.psName.endsWith("It")))&&(L+="italic")),L||(L="regular"),X[L]=he}getDefault(){return this.defaultFont}find(he){let J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,W=this.fonts.get(he)||this.cache.get(he);if(W)return W;const X=/,|-|_| |bolditalic|bold|italic|regular|it/gi;let L=he.replace(X,"");if(W=this.fonts.get(L),W)return this.cache.set(he,W),W;L=L.toLowerCase();const Q=[];for(const[ce,de]of this.fonts.entries())ce.replace(X,"").toLowerCase().startsWith(L)&&Q.push(de);if(Q.length===0)for(const[,ce]of this.fonts.entries())ce.regular.name&&ce.regular.name.replace(X,"").toLowerCase().startsWith(L)&&Q.push(ce);if(Q.length===0){L=L.replace(/psmt|mt/gi,"");for(const[ce,de]of this.fonts.entries())ce.replace(X,"").toLowerCase().startsWith(L)&&Q.push(de)}if(Q.length===0)for(const ce of this.fonts.values())ce.regular.name&&ce.regular.name.replace(X,"").toLowerCase().startsWith(L)&&Q.push(ce);return Q.length>=1?(Q.length!==1&&J&&(0,K.warn)(`XFA - Too many choices to guess the correct font: ${he}`),this.cache.set(he,Q[0]),Q[0]):(J&&!this.warned.has(he)&&(this.warned.add(he),(0,K.warn)(`XFA - Cannot find the font: ${he}`)),null)}}D.FontFinder=z;function e(ie,he){return ie.posture==="italic"?ie.weight==="bold"?he.bolditalic:he.italic:ie.weight==="bold"?he.bold:he.regular}function ae(ie){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,J=null;if(ie){const Q=(0,U.stripQuotes)(ie.typeface),ce=ie[R.$globalData].fontFinder.find(Q);J=e(ie,ce)}if(!J)return{lineHeight:12,lineGap:2,lineNoGap:10};const W=ie.size||10,X=J.lineHeight?Math.max(he?0:1.2,J.lineHeight):1.2,L=J.lineGap===void 0?.2:J.lineGap;return{lineHeight:X*W,lineGap:L*W,lineNoGap:Math.max(1,X-L)*W}}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.TextMeasure=void 0;var R=B(210);const U=1.02;class K{constructor(ie,he,J,W){if(this.lineHeight=J,this.paraMargin=he||{top:0,bottom:0,left:0,right:0},!ie){[this.pdfFont,this.xfaFont]=this.defaultFont(W);return}this.xfaFont={typeface:ie.typeface,posture:ie.posture,weight:ie.weight,size:ie.size,letterSpacing:ie.letterSpacing};const X=W.find(ie.typeface);if(!X){[this.pdfFont,this.xfaFont]=this.defaultFont(W);return}this.pdfFont=(0,R.selectFont)(ie,X),this.pdfFont||([this.pdfFont,this.xfaFont]=this.defaultFont(W))}defaultFont(ie){const he=ie.find("Helvetica",!1)||ie.find("Myriad Pro",!1)||ie.find("Arial",!1)||ie.getDefault();if(he&&he.regular){const W=he.regular,L={typeface:W.cssFontInfo.fontFamily,posture:"normal",weight:"normal",size:10,letterSpacing:0};return[W,L]}return[null,{typeface:"Courier",posture:"normal",weight:"normal",size:10,letterSpacing:0}]}}class z{constructor(ie,he,J,W){this.fontFinder=W,this.stack=[new K(ie,he,J,W)]}pushData(ie,he,J){const W=this.stack.at(-1);for(const L of["typeface","posture","weight","size","letterSpacing"])ie[L]||(ie[L]=W.xfaFont[L]);for(const L of["top","bottom","left","right"])isNaN(he[L])&&(he[L]=W.paraMargin[L]);const X=new K(ie,he,J||W.lineHeight,this.fontFinder);X.pdfFont||(X.pdfFont=W.pdfFont),this.stack.push(X)}popFont(){this.stack.pop()}topFont(){return this.stack.at(-1)}}class e{constructor(ie,he,J,W){this.glyphs=[],this.fontSelector=new z(ie,he,J,W),this.extraHeight=0}pushData(ie,he,J){this.fontSelector.pushData(ie,he,J)}popFont(ie){return this.fontSelector.popFont()}addPara(){const ie=this.fontSelector.topFont();this.extraHeight+=ie.paraMargin.top+ie.paraMargin.bottom}addString(ie){if(!ie)return;const he=this.fontSelector.topFont(),J=he.xfaFont.size;if(he.pdfFont){const W=he.xfaFont.letterSpacing,X=he.pdfFont,L=X.lineHeight||1.2,Q=he.lineHeight||Math.max(1.2,L)*J,ce=X.lineGap===void 0?.2:X.lineGap,de=L-ce,se=Math.max(1,de)*J,oe=J/1e3,me=X.defaultWidth||X.charsToGlyphs(" ")[0].width;for(const Ee of ie.split(/[\u2029\n]/)){const ke=X.encodeString(Ee).join(""),xe=X.charsToGlyphs(ke);for(const fe of xe){const ve=fe.width||me;this.glyphs.push([ve*oe+W,Q,se,fe.unicode,!1])}this.glyphs.push([0,0,0,` +`,!0])}this.glyphs.pop();return}for(const W of ie.split(/[\u2029\n]/)){for(const X of W.split(""))this.glyphs.push([J,1.2*J,J,X,!1]);this.glyphs.push([0,0,0,` +`,!0])}this.glyphs.pop()}compute(ie){let he=-1,J=0,W=0,X=0,L=0,Q=0,ce=!1,de=!0;for(let se=0,oe=this.glyphs.length;seie?(W=Math.max(W,L),L=0,X+=Q,Q=ye,he=-1,J=0,ce=!0,de=!1):(Q=Math.max(ye,Q),J=L,L+=me,he=se);continue}if(L+me>ie){X+=Q,Q=ye,he!==-1?(se=he,W=Math.max(W,J),L=0,he=-1,J=0):(W=Math.max(W,L),L=me),ce=!0,de=!1;continue}L+=me,Q=Math.max(ye,Q)}return W=Math.max(W,L),X+=Q+this.extraHeight,{width:U*W,height:X,isBroken:ce}}}D.TextMeasure=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.DataHandler=void 0;var R=B(202);class U{constructor(z,e){this.data=e,this.dataset=z.datasets||null}serialize(z){const e=[[-1,this.data[R.$getChildren]()]];for(;e.length>0;){const ie=e.at(-1),[he,J]=ie;if(he+1===J.length){e.pop();continue}const W=J[++ie[0]],X=z.get(W[R.$uid]);if(X)W[R.$setValue](X);else{const Q=W[R.$getAttributes]();for(const ce of Q.values()){const de=z.get(ce[R.$uid]);if(de){ce[R.$setValue](de);break}}}const L=W[R.$getChildren]();L.length>0&&e.push([-1,L])}const ae=[''];if(this.dataset)for(const ie of this.dataset[R.$getChildren]())ie[R.$nodeName]!=="data"&&ie[R.$toString](ae);return this.data[R.$toString](ae),ae.push(""),ae.join("")}}D.DataHandler=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XFAParser=void 0;var R=B(202),U=B(191),K=B(214),z=B(2);class e extends U.XMLParserBase{constructor(){let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super(),this._builder=new K.Builder(ie),this._stack=[],this._globalData={usedTypefaces:new Set},this._ids=new Map,this._current=this._builder.buildRoot(this._ids),this._errorCode=U.XMLParserErrorCode.NoError,this._whiteRegex=/^\s+$/,this._nbsps=/\xa0+/g,this._richText=he}parse(ie){if(this.parseXml(ie),this._errorCode===U.XMLParserErrorCode.NoError)return this._current[R.$finalize](),this._current.element}onText(ie){if(ie=ie.replace(this._nbsps,he=>he.slice(1)+" "),this._richText||this._current[R.$acceptWhitespace]()){this._current[R.$onText](ie,this._richText);return}this._whiteRegex.test(ie)||this._current[R.$onText](ie.trim())}onCdata(ie){this._current[R.$onText](ie)}_mkAttributes(ie,he){let J=null,W=null;const X=Object.create({});for(const{name:L,value:Q}of ie)if(L==="xmlns")J?(0,z.warn)(`XFA - multiple namespace definition in <${he}>`):J=Q;else if(L.startsWith("xmlns:")){const ce=L.substring(6);W||(W=[]),W.push({prefix:ce,value:Q})}else{const ce=L.indexOf(":");if(ce===-1)X[L]=Q;else{let de=X[R.$nsAttributes];de||(de=X[R.$nsAttributes]=Object.create(null));const[se,oe]=[L.slice(0,ce),L.slice(ce+1)];let me=de[se];me||(me=de[se]=Object.create(null)),me[oe]=Q}}return[J,W,X]}_getNameAndPrefix(ie,he){const J=ie.indexOf(":");return J===-1?[ie,null]:[ie.substring(J+1),he?"":ie.substring(0,J)]}onBeginElement(ie,he,J){const[W,X,L]=this._mkAttributes(he,ie),[Q,ce]=this._getNameAndPrefix(ie,this._builder.isNsAgnostic()),de=this._builder.build({nsPrefix:ce,name:Q,attributes:L,namespace:W,prefixes:X});if(de[R.$globalData]=this._globalData,J){de[R.$finalize](),this._current[R.$onChild](de)&&de[R.$setId](this._ids),de[R.$clean](this._builder);return}this._stack.push(this._current),this._current=de}onEndElement(ie){const he=this._current;if(he[R.$isCDATAXml]()&&typeof he[R.$content]=="string"){const J=new e;J._globalData=this._globalData;const W=J.parse(he[R.$content]);he[R.$content]=null,he[R.$onChild](W)}he[R.$finalize](),this._current=this._stack.pop(),this._current[R.$onChild](he)&&he[R.$setId](this._ids),he[R.$clean](this._builder)}onError(ie){this._errorCode=ie}}D.XFAParser=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.Builder=void 0;var R=B(204),U=B(202),K=B(215),z=B(207),e=B(224),ae=B(2);class ie extends U.XFAObject{constructor(X){super(-1,"root",Object.create(null)),this.element=null,this[U.$ids]=X}[U.$onChild](X){return this.element=X,!0}[U.$finalize](){super[U.$finalize](),this.element.template instanceof z.Template&&(this[U.$ids].set(U.$root,this.element),this.element.template[U.$resolvePrototypes](this[U.$ids]),this.element.template[U.$ids]=this[U.$ids])}}class he extends U.XFAObject{constructor(){super(-1,"",Object.create(null))}[U.$onChild](X){return!1}}class J{constructor(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;this._namespaceStack=[],this._nsAgnosticLevel=0,this._namespacePrefixes=new Map,this._namespaces=new Map,this._nextNsId=Math.max(...Object.values(R.NamespaceIds).map(L=>{let{id:Q}=L;return Q})),this._currentNamespace=X||new e.UnknownNamespace(++this._nextNsId)}buildRoot(X){return new ie(X)}build(X){let{nsPrefix:L,name:Q,attributes:ce,namespace:de,prefixes:se}=X;const oe=de!==null;if(oe&&(this._namespaceStack.push(this._currentNamespace),this._currentNamespace=this._searchNamespace(de)),se&&this._addNamespacePrefix(se),ce.hasOwnProperty(U.$nsAttributes)){const ke=K.NamespaceSetUp.datasets,xe=ce[U.$nsAttributes];let fe=null;for(const[ve,ye]of Object.entries(xe))if(this._getNamespaceToUse(ve)===ke){fe={xfa:ye};break}fe?ce[U.$nsAttributes]=fe:delete ce[U.$nsAttributes]}const me=this._getNamespaceToUse(L),Ee=me&&me[R.$buildXFAObject](Q,ce)||new he;return Ee[U.$isNsAgnostic]()&&this._nsAgnosticLevel++,(oe||se||Ee[U.$isNsAgnostic]())&&(Ee[U.$cleanup]={hasNamespace:oe,prefixes:se,nsAgnostic:Ee[U.$isNsAgnostic]()}),Ee}isNsAgnostic(){return this._nsAgnosticLevel>0}_searchNamespace(X){let L=this._namespaces.get(X);if(L)return L;for(const[Q,{check:ce}]of Object.entries(R.NamespaceIds))if(ce(X)){if(L=K.NamespaceSetUp[Q],L)return this._namespaces.set(X,L),L;break}return L=new e.UnknownNamespace(++this._nextNsId),this._namespaces.set(X,L),L}_addNamespacePrefix(X){for(const{prefix:L,value:Q}of X){const ce=this._searchNamespace(Q);let de=this._namespacePrefixes.get(L);de||(de=[],this._namespacePrefixes.set(L,de)),de.push(ce)}}_getNamespaceToUse(X){if(!X)return this._currentNamespace;const L=this._namespacePrefixes.get(X);return L&&L.length>0?L.at(-1):((0,ae.warn)(`Unknown namespace prefix: ${X}.`),null)}clean(X){const{hasNamespace:L,prefixes:Q,nsAgnostic:ce}=X;L&&(this._currentNamespace=this._namespaceStack.pop()),Q&&Q.forEach(de=>{let{prefix:se}=de;this._namespacePrefixes.get(se).pop()}),ce&&this._nsAgnosticLevel--}}D.Builder=J},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.NamespaceSetUp=void 0;var R=B(216),U=B(217),K=B(218),z=B(219),e=B(220),ae=B(221),ie=B(207),he=B(222),J=B(223);const W={config:R.ConfigNamespace,connection:U.ConnectionSetNamespace,datasets:K.DatasetsNamespace,localeSet:z.LocaleSetNamespace,signature:e.SignatureNamespace,stylesheet:ae.StylesheetNamespace,template:ie.TemplateNamespace,xdp:he.XdpNamespace,xhtml:J.XhtmlNamespace};D.NamespaceSetUp=W},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ConfigNamespace=void 0;var R=B(204),U=B(202),K=B(203),z=B(2);const e=R.NamespaceIds.config.id;class ae extends U.XFAObject{constructor(ft){super(e,"acrobat",!0),this.acrobat7=null,this.autoSave=null,this.common=null,this.validate=null,this.validateApprovalSignatures=null,this.submitUrl=new U.XFAObjectArray}}class ie extends U.XFAObject{constructor(ft){super(e,"acrobat7",!0),this.dynamicRender=null}}class he extends U.OptionObject{constructor(ft){super(e,"ADBE_JSConsole",["delegate","Enable","Disable"])}}class J extends U.OptionObject{constructor(ft){super(e,"ADBE_JSDebugger",["delegate","Enable","Disable"])}}class W extends U.Option01{constructor(ft){super(e,"addSilentPrint")}}class X extends U.Option01{constructor(ft){super(e,"addViewerPreferences")}}class L extends U.Option10{constructor(ft){super(e,"adjustData")}}class Q extends U.IntegerObject{constructor(ft){super(e,"adobeExtensionLevel",0,yr=>yr>=1&&yr<=8)}}class ce extends U.XFAObject{constructor(ft){super(e,"agent",!0),this.name=ft.name?ft.name.trim():"",this.common=new U.XFAObjectArray}}class de extends U.ContentObject{constructor(ft){super(e,"alwaysEmbed")}}class se extends U.StringObject{constructor(ft){super(e,"amd")}}class oe extends U.XFAObject{constructor(ft){super(e,"area"),this.level=(0,K.getInteger)({data:ft.level,defaultValue:0,validate:yr=>yr>=1&&yr<=3}),this.name=(0,K.getStringOption)(ft.name,["","barcode","coreinit","deviceDriver","font","general","layout","merge","script","signature","sourceSet","templateCache"])}}class me extends U.OptionObject{constructor(ft){super(e,"attributes",["preserve","delegate","ignore"])}}class Ee extends U.OptionObject{constructor(ft){super(e,"autoSave",["disabled","enabled"])}}class ke extends U.StringObject{constructor(ft){super(e,"base")}}class xe extends U.XFAObject{constructor(ft){super(e,"batchOutput"),this.format=(0,K.getStringOption)(ft.format,["none","concat","zip","zipCompress"])}}class fe extends U.ContentObject{constructor(ft){super(e,"behaviorOverride")}[U.$finalize](){this[U.$content]=new Map(this[U.$content].trim().split(/\s+/).filter(ft=>ft.includes(":")).map(ft=>ft.split(":",2)))}}class ve extends U.XFAObject{constructor(ft){super(e,"cache",!0),this.templateCache=null}}class ye extends U.Option01{constructor(ft){super(e,"change")}}class Ce extends U.XFAObject{constructor(ft){super(e,"common",!0),this.data=null,this.locale=null,this.localeSet=null,this.messaging=null,this.suppressBanner=null,this.template=null,this.validationMessaging=null,this.versionControl=null,this.log=new U.XFAObjectArray}}class pe extends U.XFAObject{constructor(ft){super(e,"compress"),this.scope=(0,K.getStringOption)(ft.scope,["imageOnly","document"])}}class _e extends U.Option01{constructor(ft){super(e,"compressLogicalStructure")}}class Ge extends U.Option10{constructor(ft){super(e,"compressObjectStream")}}class Ae extends U.XFAObject{constructor(ft){super(e,"compression",!0),this.compressLogicalStructure=null,this.compressObjectStream=null,this.level=null,this.type=null}}class Ne extends U.XFAObject{constructor(ft){super(e,"config",!0),this.acrobat=null,this.present=null,this.trace=null,this.agent=new U.XFAObjectArray}}class Ze extends U.OptionObject{constructor(ft){super(e,"conformance",["A","B"])}}class ze extends U.Option01{constructor(ft){super(e,"contentCopy")}}class Te extends U.IntegerObject{constructor(ft){super(e,"copies",1,yr=>yr>=1)}}class Fe extends U.StringObject{constructor(ft){super(e,"creator")}}class Pe extends U.IntegerObject{constructor(ft){super(e,"currentPage",0,yr=>yr>=0)}}class we extends U.XFAObject{constructor(ft){super(e,"data",!0),this.adjustData=null,this.attributes=null,this.incrementalLoad=null,this.outputXSL=null,this.range=null,this.record=null,this.startNode=null,this.uri=null,this.window=null,this.xsl=null,this.excludeNS=new U.XFAObjectArray,this.transform=new U.XFAObjectArray}}class Ie extends U.XFAObject{constructor(ft){super(e,"debug",!0),this.uri=null}}class Be extends U.ContentObject{constructor(ft){super(e,"defaultTypeface"),this.writingScript=(0,K.getStringOption)(ft.writingScript,["*","Arabic","Cyrillic","EastEuropeanRoman","Greek","Hebrew","Japanese","Korean","Roman","SimplifiedChinese","Thai","TraditionalChinese","Vietnamese"])}}class Ke extends U.OptionObject{constructor(ft){super(e,"destination",["pdf","pcl","ps","webClient","zpl"])}}class Ve extends U.Option01{constructor(ft){super(e,"documentAssembly")}}class je extends U.XFAObject{constructor(ft){super(e,"driver",!0),this.name=ft.name?ft.name.trim():"",this.fontInfo=null,this.xdc=null}}class Le extends U.OptionObject{constructor(ft){super(e,"duplexOption",["simplex","duplexFlipLongEdge","duplexFlipShortEdge"])}}class et extends U.OptionObject{constructor(ft){super(e,"dynamicRender",["forbidden","required"])}}class Qe extends U.Option01{constructor(ft){super(e,"embed")}}class Ue extends U.Option01{constructor(ft){super(e,"encrypt")}}class $e extends U.XFAObject{constructor(ft){super(e,"encryption",!0),this.encrypt=null,this.encryptionLevel=null,this.permissions=null}}class Ye extends U.OptionObject{constructor(ft){super(e,"encryptionLevel",["40bit","128bit"])}}class tt extends U.StringObject{constructor(ft){super(e,"enforce")}}class ot extends U.XFAObject{constructor(ft){super(e,"equate"),this.force=(0,K.getInteger)({data:ft.force,defaultValue:1,validate:yr=>yr===0}),this.from=ft.from||"",this.to=ft.to||""}}class st extends U.XFAObject{constructor(ft){super(e,"equateRange"),this.from=ft.from||"",this.to=ft.to||"",this._unicodeRange=ft.unicodeRange||""}get unicodeRange(){const ft=[],yr=/U\+([0-9a-fA-F]+)/,lr=this._unicodeRange;for(let qr of lr.split(",").map(sn=>sn.trim()).filter(sn=>!!sn))qr=qr.split("-",2).map(sn=>{const Kr=sn.match(yr);return Kr?parseInt(Kr[1],16):0}),qr.length===1&&qr.push(qr[0]),ft.push(qr);return(0,z.shadow)(this,"unicodeRange",ft)}}class dt extends U.ContentObject{constructor(ft){super(e,"exclude")}[U.$finalize](){this[U.$content]=this[U.$content].trim().split(/\s+/).filter(ft=>ft&&["calculate","close","enter","exit","initialize","ready","validate"].includes(ft))}}class ct extends U.StringObject{constructor(ft){super(e,"excludeNS")}}class mt extends U.OptionObject{constructor(ft){super(e,"flipLabel",["usePrinterSetting","on","off"])}}class ut extends U.XFAObject{constructor(ft){super(e,"fontInfo",!0),this.embed=null,this.map=null,this.subsetBelow=null,this.alwaysEmbed=new U.XFAObjectArray,this.defaultTypeface=new U.XFAObjectArray,this.neverEmbed=new U.XFAObjectArray}}class rt extends U.Option01{constructor(ft){super(e,"formFieldFilling")}}class He extends U.StringObject{constructor(ft){super(e,"groupParent")}}class Je extends U.OptionObject{constructor(ft){super(e,"ifEmpty",["dataValue","dataGroup","ignore","remove"])}}class St extends U.StringObject{constructor(ft){super(e,"includeXDPContent")}}class bt extends U.OptionObject{constructor(ft){super(e,"incrementalLoad",["none","forwardOnly"])}}class pt extends U.Option01{constructor(ft){super(e,"incrementalMerge")}}class wt extends U.Option01{constructor(ft){super(e,"interactive")}}class Pt extends U.OptionObject{constructor(ft){super(e,"jog",["usePrinterSetting","none","pageSet"])}}class Nt extends U.XFAObject{constructor(ft){super(e,"labelPrinter",!0),this.name=(0,K.getStringOption)(ft.name,["zpl","dpl","ipl","tcpl"]),this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}}class Vt extends U.OptionObject{constructor(ft){super(e,"layout",["paginate","panel"])}}class Wt extends U.IntegerObject{constructor(ft){super(e,"level",0,yr=>yr>0)}}class Mt extends U.Option01{constructor(ft){super(e,"linearized")}}class $t extends U.StringObject{constructor(ft){super(e,"locale")}}class Yt extends U.StringObject{constructor(ft){super(e,"localeSet")}}class Ft extends U.XFAObject{constructor(ft){super(e,"log",!0),this.mode=null,this.threshold=null,this.to=null,this.uri=null}}class Jt extends U.XFAObject{constructor(ft){super(e,"map",!0),this.equate=new U.XFAObjectArray,this.equateRange=new U.XFAObjectArray}}class er extends U.XFAObject{constructor(ft){super(e,"mediumInfo",!0),this.map=null}}class Bt extends U.XFAObject{constructor(ft){super(e,"message",!0),this.msgId=null,this.severity=null}}class It extends U.XFAObject{constructor(ft){super(e,"messaging",!0),this.message=new U.XFAObjectArray}}class Dt extends U.OptionObject{constructor(ft){super(e,"mode",["append","overwrite"])}}class Zt extends U.Option01{constructor(ft){super(e,"modifyAnnots")}}class gr extends U.IntegerObject{constructor(ft){super(e,"msgId",1,yr=>yr>=1)}}class fr extends U.StringObject{constructor(ft){super(e,"nameAttr")}}class Dr extends U.ContentObject{constructor(ft){super(e,"neverEmbed")}}class kr extends U.IntegerObject{constructor(ft){super(e,"numberOfCopies",null,yr=>yr>=2&&yr<=5)}}class cr extends U.XFAObject{constructor(ft){super(e,"openAction",!0),this.destination=null}}class Ar extends U.XFAObject{constructor(ft){super(e,"output",!0),this.to=null,this.type=null,this.uri=null}}class yt extends U.StringObject{constructor(ft){super(e,"outputBin")}}class vt extends U.XFAObject{constructor(ft){super(e,"outputXSL",!0),this.uri=null}}class Xt extends U.OptionObject{constructor(ft){super(e,"overprint",["none","both","draw","field"])}}class At extends U.StringObject{constructor(ft){super(e,"packets")}[U.$finalize](){this[U.$content]!=="*"&&(this[U.$content]=this[U.$content].trim().split(/\s+/).filter(ft=>["config","datasets","template","xfdf","xslt"].includes(ft)))}}class zt extends U.XFAObject{constructor(ft){super(e,"pageOffset"),this.x=(0,K.getInteger)({data:ft.x,defaultValue:"useXDCSetting",validate:yr=>!0}),this.y=(0,K.getInteger)({data:ft.y,defaultValue:"useXDCSetting",validate:yr=>!0})}}class Br extends U.StringObject{constructor(ft){super(e,"pageRange")}[U.$finalize](){const ft=this[U.$content].trim().split(/\s+/).map(lr=>parseInt(lr,10)),yr=[];for(let lr=0,qr=ft.length;lr!1)}}class sr extends U.XFAObject{constructor(ft){super(e,"pcl",!0),this.name=ft.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.pageOffset=null,this.staple=null,this.xdc=null}}class ur extends U.XFAObject{constructor(ft){super(e,"pdf",!0),this.name=ft.name||"",this.adobeExtensionLevel=null,this.batchOutput=null,this.compression=null,this.creator=null,this.encryption=null,this.fontInfo=null,this.interactive=null,this.linearized=null,this.openAction=null,this.pdfa=null,this.producer=null,this.renderPolicy=null,this.scriptModel=null,this.silentPrint=null,this.submitFormat=null,this.tagged=null,this.version=null,this.viewerPreferences=null,this.xdc=null}}class Cr extends U.XFAObject{constructor(ft){super(e,"pdfa",!0),this.amd=null,this.conformance=null,this.includeXDPContent=null,this.part=null}}class Tr extends U.XFAObject{constructor(ft){super(e,"permissions",!0),this.accessibleContent=null,this.change=null,this.contentCopy=null,this.documentAssembly=null,this.formFieldFilling=null,this.modifyAnnots=null,this.plaintextMetadata=null,this.print=null,this.printHighQuality=null}}class jt extends U.Option01{constructor(ft){super(e,"pickTrayByPDFSize")}}class Wr extends U.StringObject{constructor(ft){super(e,"picture")}}class ir extends U.Option01{constructor(ft){super(e,"plaintextMetadata")}}class Gr extends U.OptionObject{constructor(ft){super(e,"presence",["preserve","dissolve","dissolveStructure","ignore","remove"])}}class Jr extends U.XFAObject{constructor(ft){super(e,"present",!0),this.behaviorOverride=null,this.cache=null,this.common=null,this.copies=null,this.destination=null,this.incrementalMerge=null,this.layout=null,this.output=null,this.overprint=null,this.pagination=null,this.paginationOverride=null,this.script=null,this.validate=null,this.xdp=null,this.driver=new U.XFAObjectArray,this.labelPrinter=new U.XFAObjectArray,this.pcl=new U.XFAObjectArray,this.pdf=new U.XFAObjectArray,this.ps=new U.XFAObjectArray,this.submitUrl=new U.XFAObjectArray,this.webClient=new U.XFAObjectArray,this.zpl=new U.XFAObjectArray}}class Xr extends U.Option01{constructor(ft){super(e,"print")}}class fn extends U.Option01{constructor(ft){super(e,"printHighQuality")}}class cn extends U.OptionObject{constructor(ft){super(e,"printScaling",["appdefault","noScaling"])}}class nn extends U.StringObject{constructor(ft){super(e,"printerName")}}class ar extends U.StringObject{constructor(ft){super(e,"producer")}}class xr extends U.XFAObject{constructor(ft){super(e,"ps",!0),this.name=ft.name||"",this.batchOutput=null,this.fontInfo=null,this.jog=null,this.mediumInfo=null,this.outputBin=null,this.staple=null,this.xdc=null}}class Lr extends U.ContentObject{constructor(ft){super(e,"range")}[U.$finalize](){this[U.$content]=this[U.$content].trim().split(/\s*,\s*/,2).map(ft=>ft.split("-").map(yr=>parseInt(yr.trim(),10))).filter(ft=>ft.every(yr=>!isNaN(yr))).map(ft=>(ft.length===1&&ft.push(ft[0]),ft))}}class Rr extends U.ContentObject{constructor(ft){super(e,"record")}[U.$finalize](){this[U.$content]=this[U.$content].trim();const ft=parseInt(this[U.$content],10);!isNaN(ft)&&ft>=0&&(this[U.$content]=ft)}}class Mr extends U.ContentObject{constructor(ft){super(e,"relevant")}[U.$finalize](){this[U.$content]=this[U.$content].trim().split(/\s+/)}}class an extends U.ContentObject{constructor(ft){super(e,"rename")}[U.$finalize](){this[U.$content]=this[U.$content].trim(),(this[U.$content].toLowerCase().startsWith("xml")||this[U.$content].match(new RegExp("[\\p{L}_][\\p{L}\\d._\\p{M}-]*","u")))&&(0,z.warn)("XFA - Rename: invalid XFA name")}}class gn extends U.OptionObject{constructor(ft){super(e,"renderPolicy",["server","client"])}}class dn extends U.OptionObject{constructor(ft){super(e,"runScripts",["both","client","none","server"])}}class pn extends U.XFAObject{constructor(ft){super(e,"script",!0),this.currentPage=null,this.exclude=null,this.runScripts=null}}class Mn extends U.OptionObject{constructor(ft){super(e,"scriptModel",["XFA","none"])}}class Yn extends U.OptionObject{constructor(ft){super(e,"severity",["ignore","error","information","trace","warning"])}}class hi extends U.XFAObject{constructor(ft){super(e,"silentPrint",!0),this.addSilentPrint=null,this.printerName=null}}class Ci extends U.XFAObject{constructor(ft){super(e,"staple"),this.mode=(0,K.getStringOption)(ft.mode,["usePrinterSetting","on","off"])}}class da extends U.StringObject{constructor(ft){super(e,"startNode")}}class ra extends U.IntegerObject{constructor(ft){super(e,"startPage",0,yr=>!0)}}class Ri extends U.OptionObject{constructor(ft){super(e,"submitFormat",["html","delegate","fdf","xml","pdf"])}}class oi extends U.StringObject{constructor(ft){super(e,"submitUrl")}}class mi extends U.IntegerObject{constructor(ft){super(e,"subsetBelow",100,yr=>yr>=0&&yr<=100)}}class Ia extends U.Option01{constructor(ft){super(e,"suppressBanner")}}class ha extends U.Option01{constructor(ft){super(e,"tagged")}}class ka extends U.XFAObject{constructor(ft){super(e,"template",!0),this.base=null,this.relevant=null,this.startPage=null,this.uri=null,this.xsl=null}}class na extends U.OptionObject{constructor(ft){super(e,"threshold",["trace","error","information","warning"])}}class Fi extends U.OptionObject{constructor(ft){super(e,"to",["null","memory","stderr","stdout","system","uri"])}}class Zn extends U.XFAObject{constructor(ft){super(e,"templateCache"),this.maxEntries=(0,K.getInteger)({data:ft.maxEntries,defaultValue:5,validate:yr=>yr>=0})}}class ia extends U.XFAObject{constructor(ft){super(e,"trace",!0),this.area=new U.XFAObjectArray}}class Oa extends U.XFAObject{constructor(ft){super(e,"transform",!0),this.groupParent=null,this.ifEmpty=null,this.nameAttr=null,this.picture=null,this.presence=null,this.rename=null,this.whitespace=null}}class aa extends U.OptionObject{constructor(ft){super(e,"type",["none","ascii85","asciiHex","ccittfax","flate","lzw","runLength","native","xdp","mergedXDP"])}}class Ii extends U.StringObject{constructor(ft){super(e,"uri")}}class fa extends U.OptionObject{constructor(ft){super(e,"validate",["preSubmit","prePrint","preExecute","preSave"])}}class Na extends U.ContentObject{constructor(ft){super(e,"validateApprovalSignatures")}[U.$finalize](){this[U.$content]=this[U.$content].trim().split(/\s+/).filter(ft=>["docReady","postSign"].includes(ft))}}class pa extends U.OptionObject{constructor(ft){super(e,"validationMessaging",["allMessagesIndividually","allMessagesTogether","firstMessageOnly","noMessages"])}}class Vi extends U.OptionObject{constructor(ft){super(e,"version",["1.7","1.6","1.5","1.4","1.3","1.2"])}}class ki extends U.XFAObject{constructor(ft){super(e,"VersionControl"),this.outputBelow=(0,K.getStringOption)(ft.outputBelow,["warn","error","update"]),this.sourceAbove=(0,K.getStringOption)(ft.sourceAbove,["warn","error"]),this.sourceBelow=(0,K.getStringOption)(ft.sourceBelow,["update","maintain"])}}class ma extends U.XFAObject{constructor(ft){super(e,"viewerPreferences",!0),this.ADBE_JSConsole=null,this.ADBE_JSDebugger=null,this.addViewerPreferences=null,this.duplexOption=null,this.enforce=null,this.numberOfCopies=null,this.pageRange=null,this.pickTrayByPDFSize=null,this.printScaling=null}}class sa extends U.XFAObject{constructor(ft){super(e,"webClient",!0),this.name=ft.name?ft.name.trim():"",this.fontInfo=null,this.xdc=null}}class oa extends U.OptionObject{constructor(ft){super(e,"whitespace",["preserve","ltrim","normalize","rtrim","trim"])}}class Ir extends U.ContentObject{constructor(ft){super(e,"window")}[U.$finalize](){const ft=this[U.$content].trim().split(/\s*,\s*/,2).map(yr=>parseInt(yr,10));if(ft.some(yr=>isNaN(yr))){this[U.$content]=[0,0];return}ft.length===1&&ft.push(ft[0]),this[U.$content]=ft}}class $n extends U.XFAObject{constructor(ft){super(e,"xdc",!0),this.uri=new U.XFAObjectArray,this.xsl=new U.XFAObjectArray}}class Ai extends U.XFAObject{constructor(ft){super(e,"xdp",!0),this.packets=null}}class Oi extends U.XFAObject{constructor(ft){super(e,"xsl",!0),this.debug=null,this.uri=null}}class ga extends U.XFAObject{constructor(ft){super(e,"zpl",!0),this.name=ft.name?ft.name.trim():"",this.batchOutput=null,this.flipLabel=null,this.fontInfo=null,this.xdc=null}}class Er{static[R.$buildXFAObject](ft,yr){if(Er.hasOwnProperty(ft))return Er[ft](yr)}static acrobat(ft){return new ae(ft)}static acrobat7(ft){return new ie(ft)}static ADBE_JSConsole(ft){return new he(ft)}static ADBE_JSDebugger(ft){return new J(ft)}static addSilentPrint(ft){return new W(ft)}static addViewerPreferences(ft){return new X(ft)}static adjustData(ft){return new L(ft)}static adobeExtensionLevel(ft){return new Q(ft)}static agent(ft){return new ce(ft)}static alwaysEmbed(ft){return new de(ft)}static amd(ft){return new se(ft)}static area(ft){return new oe(ft)}static attributes(ft){return new me(ft)}static autoSave(ft){return new Ee(ft)}static base(ft){return new ke(ft)}static batchOutput(ft){return new xe(ft)}static behaviorOverride(ft){return new fe(ft)}static cache(ft){return new ve(ft)}static change(ft){return new ye(ft)}static common(ft){return new Ce(ft)}static compress(ft){return new pe(ft)}static compressLogicalStructure(ft){return new _e(ft)}static compressObjectStream(ft){return new Ge(ft)}static compression(ft){return new Ae(ft)}static config(ft){return new Ne(ft)}static conformance(ft){return new Ze(ft)}static contentCopy(ft){return new ze(ft)}static copies(ft){return new Te(ft)}static creator(ft){return new Fe(ft)}static currentPage(ft){return new Pe(ft)}static data(ft){return new we(ft)}static debug(ft){return new Ie(ft)}static defaultTypeface(ft){return new Be(ft)}static destination(ft){return new Ke(ft)}static documentAssembly(ft){return new Ve(ft)}static driver(ft){return new je(ft)}static duplexOption(ft){return new Le(ft)}static dynamicRender(ft){return new et(ft)}static embed(ft){return new Qe(ft)}static encrypt(ft){return new Ue(ft)}static encryption(ft){return new $e(ft)}static encryptionLevel(ft){return new Ye(ft)}static enforce(ft){return new tt(ft)}static equate(ft){return new ot(ft)}static equateRange(ft){return new st(ft)}static exclude(ft){return new dt(ft)}static excludeNS(ft){return new ct(ft)}static flipLabel(ft){return new mt(ft)}static fontInfo(ft){return new ut(ft)}static formFieldFilling(ft){return new rt(ft)}static groupParent(ft){return new He(ft)}static ifEmpty(ft){return new Je(ft)}static includeXDPContent(ft){return new St(ft)}static incrementalLoad(ft){return new bt(ft)}static incrementalMerge(ft){return new pt(ft)}static interactive(ft){return new wt(ft)}static jog(ft){return new Pt(ft)}static labelPrinter(ft){return new Nt(ft)}static layout(ft){return new Vt(ft)}static level(ft){return new Wt(ft)}static linearized(ft){return new Mt(ft)}static locale(ft){return new $t(ft)}static localeSet(ft){return new Yt(ft)}static log(ft){return new Ft(ft)}static map(ft){return new Jt(ft)}static mediumInfo(ft){return new er(ft)}static message(ft){return new Bt(ft)}static messaging(ft){return new It(ft)}static mode(ft){return new Dt(ft)}static modifyAnnots(ft){return new Zt(ft)}static msgId(ft){return new gr(ft)}static nameAttr(ft){return new fr(ft)}static neverEmbed(ft){return new Dr(ft)}static numberOfCopies(ft){return new kr(ft)}static openAction(ft){return new cr(ft)}static output(ft){return new Ar(ft)}static outputBin(ft){return new yt(ft)}static outputXSL(ft){return new vt(ft)}static overprint(ft){return new Xt(ft)}static packets(ft){return new At(ft)}static pageOffset(ft){return new zt(ft)}static pageRange(ft){return new Br(ft)}static pagination(ft){return new br(ft)}static paginationOverride(ft){return new Ur(ft)}static part(ft){return new un(ft)}static pcl(ft){return new sr(ft)}static pdf(ft){return new ur(ft)}static pdfa(ft){return new Cr(ft)}static permissions(ft){return new Tr(ft)}static pickTrayByPDFSize(ft){return new jt(ft)}static picture(ft){return new Wr(ft)}static plaintextMetadata(ft){return new ir(ft)}static presence(ft){return new Gr(ft)}static present(ft){return new Jr(ft)}static print(ft){return new Xr(ft)}static printHighQuality(ft){return new fn(ft)}static printScaling(ft){return new cn(ft)}static printerName(ft){return new nn(ft)}static producer(ft){return new ar(ft)}static ps(ft){return new xr(ft)}static range(ft){return new Lr(ft)}static record(ft){return new Rr(ft)}static relevant(ft){return new Mr(ft)}static rename(ft){return new an(ft)}static renderPolicy(ft){return new gn(ft)}static runScripts(ft){return new dn(ft)}static script(ft){return new pn(ft)}static scriptModel(ft){return new Mn(ft)}static severity(ft){return new Yn(ft)}static silentPrint(ft){return new hi(ft)}static staple(ft){return new Ci(ft)}static startNode(ft){return new da(ft)}static startPage(ft){return new ra(ft)}static submitFormat(ft){return new Ri(ft)}static submitUrl(ft){return new oi(ft)}static subsetBelow(ft){return new mi(ft)}static suppressBanner(ft){return new Ia(ft)}static tagged(ft){return new ha(ft)}static template(ft){return new ka(ft)}static templateCache(ft){return new Zn(ft)}static threshold(ft){return new na(ft)}static to(ft){return new Fi(ft)}static trace(ft){return new ia(ft)}static transform(ft){return new Oa(ft)}static type(ft){return new aa(ft)}static uri(ft){return new Ii(ft)}static validate(ft){return new fa(ft)}static validateApprovalSignatures(ft){return new Na(ft)}static validationMessaging(ft){return new pa(ft)}static version(ft){return new Vi(ft)}static versionControl(ft){return new ki(ft)}static viewerPreferences(ft){return new ma(ft)}static webClient(ft){return new sa(ft)}static whitespace(ft){return new oa(ft)}static window(ft){return new Ir(ft)}static xdc(ft){return new $n(ft)}static xdp(ft){return new Ai(ft)}static xsl(ft){return new Oi(ft)}static zpl(ft){return new ga(ft)}}D.ConfigNamespace=Er},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.ConnectionSetNamespace=void 0;var R=B(204),U=B(202);const K=R.NamespaceIds.connectionSet.id;class z extends U.XFAObject{constructor(me){super(K,"connectionSet",!0),this.wsdlConnection=new U.XFAObjectArray,this.xmlConnection=new U.XFAObjectArray,this.xsdConnection=new U.XFAObjectArray}}class e extends U.XFAObject{constructor(me){super(K,"effectiveInputPolicy"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class ae extends U.XFAObject{constructor(me){super(K,"effectiveOutputPolicy"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class ie extends U.StringObject{constructor(me){super(K,"operation"),this.id=me.id||"",this.input=me.input||"",this.name=me.name||"",this.output=me.output||"",this.use=me.use||"",this.usehref=me.usehref||""}}class he extends U.StringObject{constructor(me){super(K,"rootElement"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class J extends U.StringObject{constructor(me){super(K,"soapAction"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class W extends U.StringObject{constructor(me){super(K,"soapAddress"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class X extends U.StringObject{constructor(me){super(K,"uri"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class L extends U.StringObject{constructor(me){super(K,"wsdlAddress"),this.id=me.id||"",this.name=me.name||"",this.use=me.use||"",this.usehref=me.usehref||""}}class Q extends U.XFAObject{constructor(me){super(K,"wsdlConnection",!0),this.dataDescription=me.dataDescription||"",this.name=me.name||"",this.effectiveInputPolicy=null,this.effectiveOutputPolicy=null,this.operation=null,this.soapAction=null,this.soapAddress=null,this.wsdlAddress=null}}class ce extends U.XFAObject{constructor(me){super(K,"xmlConnection",!0),this.dataDescription=me.dataDescription||"",this.name=me.name||"",this.uri=null}}class de extends U.XFAObject{constructor(me){super(K,"xsdConnection",!0),this.dataDescription=me.dataDescription||"",this.name=me.name||"",this.rootElement=null,this.uri=null}}class se{static[R.$buildXFAObject](me,Ee){if(se.hasOwnProperty(me))return se[me](Ee)}static connectionSet(me){return new z(me)}static effectiveInputPolicy(me){return new e(me)}static effectiveOutputPolicy(me){return new ae(me)}static operation(me){return new ie(me)}static rootElement(me){return new he(me)}static soapAction(me){return new J(me)}static soapAddress(me){return new W(me)}static uri(me){return new X(me)}static wsdlAddress(me){return new L(me)}static wsdlConnection(me){return new Q(me)}static xmlConnection(me){return new ce(me)}static xsdConnection(me){return new de(me)}}D.ConnectionSetNamespace=se},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.DatasetsNamespace=void 0;var R=B(202),U=B(204);const K=U.NamespaceIds.datasets.id;class z extends R.XmlObject{constructor(he){super(K,"data",he)}[R.$isNsAgnostic](){return!0}}class e extends R.XFAObject{constructor(he){super(K,"datasets",!0),this.data=null,this.Signature=null}[R.$onChild](he){const J=he[R.$nodeName];(J==="data"&&he[R.$namespaceId]===K||J==="Signature"&&he[R.$namespaceId]===U.NamespaceIds.signature.id)&&(this[J]=he),this[R.$appendChild](he)}}class ae{static[U.$buildXFAObject](he,J){if(ae.hasOwnProperty(he))return ae[he](J)}static datasets(he){return new e(he)}static data(he){return new z(he)}}D.DatasetsNamespace=ae},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.LocaleSetNamespace=void 0;var R=B(204),U=B(202),K=B(203);const z=R.NamespaceIds.localeSet.id;class e extends U.XFAObject{constructor(Ze){super(z,"calendarSymbols",!0),this.name="gregorian",this.dayNames=new U.XFAObjectArray(2),this.eraNames=null,this.meridiemNames=null,this.monthNames=new U.XFAObjectArray(2)}}class ae extends U.StringObject{constructor(Ze){super(z,"currencySymbol"),this.name=(0,K.getStringOption)(Ze.name,["symbol","isoname","decimal"])}}class ie extends U.XFAObject{constructor(Ze){super(z,"currencySymbols",!0),this.currencySymbol=new U.XFAObjectArray(3)}}class he extends U.StringObject{constructor(Ze){super(z,"datePattern"),this.name=(0,K.getStringOption)(Ze.name,["full","long","med","short"])}}class J extends U.XFAObject{constructor(Ze){super(z,"datePatterns",!0),this.datePattern=new U.XFAObjectArray(4)}}class W extends U.ContentObject{constructor(Ze){super(z,"dateTimeSymbols")}}class X extends U.StringObject{constructor(Ze){super(z,"day")}}class L extends U.XFAObject{constructor(Ze){super(z,"dayNames",!0),this.abbr=(0,K.getInteger)({data:Ze.abbr,defaultValue:0,validate:ze=>ze===1}),this.day=new U.XFAObjectArray(7)}}class Q extends U.StringObject{constructor(Ze){super(z,"era")}}class ce extends U.XFAObject{constructor(Ze){super(z,"eraNames",!0),this.era=new U.XFAObjectArray(2)}}class de extends U.XFAObject{constructor(Ze){super(z,"locale",!0),this.desc=Ze.desc||"",this.name="isoname",this.calendarSymbols=null,this.currencySymbols=null,this.datePatterns=null,this.dateTimeSymbols=null,this.numberPatterns=null,this.numberSymbols=null,this.timePatterns=null,this.typeFaces=null}}class se extends U.XFAObject{constructor(Ze){super(z,"localeSet",!0),this.locale=new U.XFAObjectArray}}class oe extends U.StringObject{constructor(Ze){super(z,"meridiem")}}class me extends U.XFAObject{constructor(Ze){super(z,"meridiemNames",!0),this.meridiem=new U.XFAObjectArray(2)}}class Ee extends U.StringObject{constructor(Ze){super(z,"month")}}class ke extends U.XFAObject{constructor(Ze){super(z,"monthNames",!0),this.abbr=(0,K.getInteger)({data:Ze.abbr,defaultValue:0,validate:ze=>ze===1}),this.month=new U.XFAObjectArray(12)}}class xe extends U.StringObject{constructor(Ze){super(z,"numberPattern"),this.name=(0,K.getStringOption)(Ze.name,["full","long","med","short"])}}class fe extends U.XFAObject{constructor(Ze){super(z,"numberPatterns",!0),this.numberPattern=new U.XFAObjectArray(4)}}class ve extends U.StringObject{constructor(Ze){super(z,"numberSymbol"),this.name=(0,K.getStringOption)(Ze.name,["decimal","grouping","percent","minus","zero"])}}class ye extends U.XFAObject{constructor(Ze){super(z,"numberSymbols",!0),this.numberSymbol=new U.XFAObjectArray(5)}}class Ce extends U.StringObject{constructor(Ze){super(z,"timePattern"),this.name=(0,K.getStringOption)(Ze.name,["full","long","med","short"])}}class pe extends U.XFAObject{constructor(Ze){super(z,"timePatterns",!0),this.timePattern=new U.XFAObjectArray(4)}}class _e extends U.XFAObject{constructor(Ze){super(z,"typeFace",!0),this.name=Ze.name|""}}class Ge extends U.XFAObject{constructor(Ze){super(z,"typeFaces",!0),this.typeFace=new U.XFAObjectArray}}class Ae{static[R.$buildXFAObject](Ze,ze){if(Ae.hasOwnProperty(Ze))return Ae[Ze](ze)}static calendarSymbols(Ze){return new e(Ze)}static currencySymbol(Ze){return new ae(Ze)}static currencySymbols(Ze){return new ie(Ze)}static datePattern(Ze){return new he(Ze)}static datePatterns(Ze){return new J(Ze)}static dateTimeSymbols(Ze){return new W(Ze)}static day(Ze){return new X(Ze)}static dayNames(Ze){return new L(Ze)}static era(Ze){return new Q(Ze)}static eraNames(Ze){return new ce(Ze)}static locale(Ze){return new de(Ze)}static localeSet(Ze){return new se(Ze)}static meridiem(Ze){return new oe(Ze)}static meridiemNames(Ze){return new me(Ze)}static month(Ze){return new Ee(Ze)}static monthNames(Ze){return new ke(Ze)}static numberPattern(Ze){return new xe(Ze)}static numberPatterns(Ze){return new fe(Ze)}static numberSymbol(Ze){return new ve(Ze)}static numberSymbols(Ze){return new ye(Ze)}static timePattern(Ze){return new Ce(Ze)}static timePatterns(Ze){return new pe(Ze)}static typeFace(Ze){return new _e(Ze)}static typeFaces(Ze){return new Ge(Ze)}}D.LocaleSetNamespace=Ae},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.SignatureNamespace=void 0;var R=B(204),U=B(202);const K=R.NamespaceIds.signature.id;class z extends U.XFAObject{constructor(ie){super(K,"signature",!0)}}class e{static[R.$buildXFAObject](ie,he){if(e.hasOwnProperty(ie))return e[ie](he)}static signature(ie){return new z(ie)}}D.SignatureNamespace=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.StylesheetNamespace=void 0;var R=B(204),U=B(202);const K=R.NamespaceIds.stylesheet.id;class z extends U.XFAObject{constructor(ie){super(K,"stylesheet",!0)}}class e{static[R.$buildXFAObject](ie,he){if(e.hasOwnProperty(ie))return e[ie](he)}static stylesheet(ie){return new z(ie)}}D.StylesheetNamespace=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XdpNamespace=void 0;var R=B(204),U=B(202);const K=R.NamespaceIds.xdp.id;class z extends U.XFAObject{constructor(ie){super(K,"xdp",!0),this.uuid=ie.uuid||"",this.timeStamp=ie.timeStamp||"",this.config=null,this.connectionSet=null,this.datasets=null,this.localeSet=null,this.stylesheet=new U.XFAObjectArray,this.template=null}[U.$onChildCheck](ie){const he=R.NamespaceIds[ie[U.$nodeName]];return he&&ie[U.$namespaceId]===he.id}}class e{static[R.$buildXFAObject](ie,he){if(e.hasOwnProperty(ie))return e[ie](he)}static xdp(ie){return new z(ie)}}D.XdpNamespace=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XhtmlNamespace=void 0;var R=B(202),U=B(204),K=B(209),z=B(203);const e=U.NamespaceIds.xhtml.id,ae=Symbol(),ie=new Set(["color","font","font-family","font-size","font-stretch","font-style","font-weight","margin","margin-bottom","margin-left","margin-right","margin-top","letter-spacing","line-height","orphans","page-break-after","page-break-before","page-break-inside","tab-interval","tab-stop","text-align","text-decoration","text-indent","vertical-align","widows","kerning-mode","xfa-font-horizontal-scale","xfa-font-vertical-scale","xfa-spacerun","xfa-tab-stops"]),he=new Map([["page-break-after","breakAfter"],["page-break-before","breakBefore"],["page-break-inside","breakInside"],["kerning-mode",Ne=>Ne==="none"?"none":"normal"],["xfa-font-horizontal-scale",Ne=>`scaleX(${Math.max(0,Math.min(parseInt(Ne)/100)).toFixed(2)})`],["xfa-font-vertical-scale",Ne=>`scaleY(${Math.max(0,Math.min(parseInt(Ne)/100)).toFixed(2)})`],["xfa-spacerun",""],["xfa-tab-stops",""],["font-size",(Ne,Ze)=>(Ne=Ze.fontSize=(0,z.getMeasurement)(Ne),(0,K.measureToString)(.99*Ne))],["letter-spacing",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["line-height",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["margin",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["margin-bottom",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["margin-left",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["margin-right",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["margin-top",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["text-indent",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))],["font-family",Ne=>Ne],["vertical-align",Ne=>(0,K.measureToString)((0,z.getMeasurement)(Ne))]]),J=/\s+/g,W=/[\r\n]+/g,X=/\r\n?/g;function L(Ne,Ze,ze){const Te=Object.create(null);if(!Ne)return Te;const Fe=Object.create(null);for(const[Pe,we]of Ne.split(";").map(Ie=>Ie.split(":",2))){const Ie=he.get(Pe);if(Ie==="")continue;let Be=we;Ie&&(typeof Ie=="string"?Be=Ie:Be=Ie(we,Fe)),Pe.endsWith("scale")?Te.transform?Te.transform=`${Te[Pe]} ${Be}`:Te.transform=Be:Te[Pe.replaceAll(/-([a-zA-Z])/g,(Ke,Ve)=>Ve.toUpperCase())]=Be}if(Te.fontFamily&&(0,K.setFontFamily)({typeface:Te.fontFamily,weight:Te.fontWeight||"normal",posture:Te.fontStyle||"normal",size:Fe.fontSize||0},Ze,Ze[R.$globalData].fontFinder,Te),ze&&Te.verticalAlign&&Te.verticalAlign!=="0px"&&Te.fontSize){const Ie=(0,z.getMeasurement)(Te.fontSize);Te.fontSize=(0,K.measureToString)(Ie*.583),Te.verticalAlign=(0,K.measureToString)(Math.sign((0,z.getMeasurement)(Te.verticalAlign))*Ie*.333)}return ze&&Te.fontSize&&(Te.fontSize=`calc(${Te.fontSize} * var(--scale-factor))`),(0,K.fixTextIndent)(Te),Te}function Q(Ne){return Ne.style?Ne.style.trim().split(/\s*;\s*/).filter(Ze=>!!Ze).map(Ze=>Ze.split(/\s*:\s*/,2)).filter(Ze=>{let[ze,Te]=Ze;return ze==="font-family"&&Ne[R.$globalData].usedTypefaces.add(Te),ie.has(ze)}).map(Ze=>Ze.join(":")).join(";"):""}const ce=new Set(["body","html"]);class de extends R.XmlObject{constructor(Ze,ze){super(e,ze),this[ae]=!1,this.style=Ze.style||""}[R.$clean](Ze){super[R.$clean](Ze),this.style=Q(this)}[R.$acceptWhitespace](){return!ce.has(this[R.$nodeName])}[R.$onText](Ze){(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)?this[ae]=!0:(Ze=Ze.replace(W,""),this.style.includes("xfa-spacerun:yes")||(Ze=Ze.replace(J," "))),Ze&&(this[R.$content]+=Ze)}[R.$pushGlyphs](Ze){let ze=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;const Te=Object.create(null),Fe={top:NaN,bottom:NaN,left:NaN,right:NaN};let Pe=null;for(const[we,Ie]of this.style.split(";").map(Be=>Be.split(":",2)))switch(we){case"font-family":Te.typeface=(0,z.stripQuotes)(Ie);break;case"font-size":Te.size=(0,z.getMeasurement)(Ie);break;case"font-weight":Te.weight=Ie;break;case"font-style":Te.posture=Ie;break;case"letter-spacing":Te.letterSpacing=(0,z.getMeasurement)(Ie);break;case"margin":const Be=Ie.split(/ \t/).map(Ke=>(0,z.getMeasurement)(Ke));switch(Be.length){case 1:Fe.top=Fe.bottom=Fe.left=Fe.right=Be[0];break;case 2:Fe.top=Fe.bottom=Be[0],Fe.left=Fe.right=Be[1];break;case 3:Fe.top=Be[0],Fe.bottom=Be[2],Fe.left=Fe.right=Be[1];break;case 4:Fe.top=Be[0],Fe.left=Be[1],Fe.bottom=Be[2],Fe.right=Be[3];break}break;case"margin-top":Fe.top=(0,z.getMeasurement)(Ie);break;case"margin-bottom":Fe.bottom=(0,z.getMeasurement)(Ie);break;case"margin-left":Fe.left=(0,z.getMeasurement)(Ie);break;case"margin-right":Fe.right=(0,z.getMeasurement)(Ie);break;case"line-height":Pe=(0,z.getMeasurement)(Ie);break}if(Ze.pushData(Te,Fe,Pe),this[R.$content])Ze.addString(this[R.$content]);else for(const we of this[R.$getChildren]()){if(we[R.$nodeName]==="#text"){Ze.addString(we[R.$content]);continue}we[R.$pushGlyphs](Ze)}ze&&Ze.popFont()}[R.$toHTML](Ze){const ze=[];if(this[R.$extra]={children:ze},this[R.$childrenToHTML]({}),ze.length===0&&!this[R.$content])return z.HTMLResult.EMPTY;let Te;return this[ae]?Te=this[R.$content]?this[R.$content].replace(X,` +`):void 0:Te=this[R.$content]||void 0,z.HTMLResult.success({name:this[R.$nodeName],attributes:{href:this.href,style:L(this.style,this,this[ae])},children:ze,value:Te})}}class se extends de{constructor(Ze){super(Ze,"a"),this.href=(0,K.fixURL)(Ze.href)||""}}class oe extends de{constructor(Ze){super(Ze,"b")}[R.$pushGlyphs](Ze){Ze.pushFont({weight:"bold"}),super[R.$pushGlyphs](Ze),Ze.popFont()}}class me extends de{constructor(Ze){super(Ze,"body")}[R.$toHTML](Ze){const ze=super[R.$toHTML](Ze),{html:Te}=ze;return Te?(Te.name="div",Te.attributes.class=["xfaRich"],ze):z.HTMLResult.EMPTY}}class Ee extends de{constructor(Ze){super(Ze,"br")}[R.$text](){return` `}[R.$pushGlyphs](Ze){Ze.addString(` -`)}[R.$toHTML](Ze){return z.HTMLResult.success({name:"br"})}}class ke extends de{constructor(Ze){super(Ze,"html")}[R.$toHTML](Ze){const ze=[];if(this[R.$extra]={children:ze},this[R.$childrenToHTML]({}),ze.length===0)return z.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[R.$content]||""});if(ze.length===1){const Ae=ze[0];if(Ae.attributes&&Ae.attributes.class.includes("xfaRich"))return z.HTMLResult.success(Ae)}return z.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:ze})}}class xe extends de{constructor(Ze){super(Ze,"i")}[R.$pushGlyphs](Ze){Ze.pushFont({posture:"italic"}),super[R.$pushGlyphs](Ze),Ze.popFont()}}class fe extends de{constructor(Ze){super(Ze,"li")}}class ve extends de{constructor(Ze){super(Ze,"ol")}}class ye extends de{constructor(Ze){super(Ze,"p")}[R.$pushGlyphs](Ze){super[R.$pushGlyphs](Ze,!1),Ze.addString(` +`)}[R.$toHTML](Ze){return z.HTMLResult.success({name:"br"})}}class ke extends de{constructor(Ze){super(Ze,"html")}[R.$toHTML](Ze){const ze=[];if(this[R.$extra]={children:ze},this[R.$childrenToHTML]({}),ze.length===0)return z.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},value:this[R.$content]||""});if(ze.length===1){const Te=ze[0];if(Te.attributes&&Te.attributes.class.includes("xfaRich"))return z.HTMLResult.success(Te)}return z.HTMLResult.success({name:"div",attributes:{class:["xfaRich"],style:{}},children:ze})}}class xe extends de{constructor(Ze){super(Ze,"i")}[R.$pushGlyphs](Ze){Ze.pushFont({posture:"italic"}),super[R.$pushGlyphs](Ze),Ze.popFont()}}class fe extends de{constructor(Ze){super(Ze,"li")}}class ve extends de{constructor(Ze){super(Ze,"ol")}}class ye extends de{constructor(Ze){super(Ze,"p")}[R.$pushGlyphs](Ze){super[R.$pushGlyphs](Ze,!1),Ze.addString(` `),Ze.addPara(),Ze.popFont()}[R.$text](){return this[R.$getParent]()[R.$getChildren]().at(-1)===this?super[R.$text]():super[R.$text]()+` -`}}class Ce extends de{constructor(Ze){super(Ze,"span")}}class pe extends de{constructor(Ze){super(Ze,"sub")}}class _e extends de{constructor(Ze){super(Ze,"sup")}}class Ge extends de{constructor(Ze){super(Ze,"ul")}}class Te{static[U.$buildXFAObject](Ze,ze){if(Te.hasOwnProperty(Ze))return Te[Ze](ze)}static a(Ze){return new oe(Ze)}static b(Ze){return new se(Ze)}static body(Ze){return new me(Ze)}static br(Ze){return new Ee(Ze)}static html(Ze){return new ke(Ze)}static i(Ze){return new xe(Ze)}static li(Ze){return new fe(Ze)}static ol(Ze){return new ve(Ze)}static p(Ze){return new ye(Ze)}static span(Ze){return new Ce(Ze)}static sub(Ze){return new pe(Ze)}static sup(Ze){return new _e(Ze)}static ul(Ze){return new Ge(Ze)}}D.XhtmlNamespace=Te},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.UnknownNamespace=void 0;var R=B(204),U=B(202);class K{constructor(e){this.namespaceId=e}[R.$buildXFAObject](e,ae){return new U.XmlObject(this.namespaceId,e,ae)}}D.UnknownNamespace=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.DatasetReader=void 0;var R=B(2),U=B(131),K=B(191);function z(ie){try{return(0,R.stringToUTF8String)(ie)}catch(he){return(0,R.warn)(`UTF-8 decoding failed: "${he}".`),ie}}class e extends K.SimpleXMLParser{constructor(he){super(he),this.node=null}onEndElement(he){const J=super.onEndElement(he);if(J&&he==="xfa:datasets")throw this.node=J,new Error("Aborting DatasetXMLParser.")}}class ae{constructor(he){if(he.datasets)this.node=new K.SimpleXMLParser({hasAttributes:!0}).parseFromString(he.datasets).documentElement;else{const J=new e({hasAttributes:!0});try{J.parseFromString(he["xdp:xdp"])}catch{}this.node=J.node}}getValue(he){if(!this.node||!he)return"";const J=this.node.searchNode((0,U.parseXFAPath)(he),0);if(!J)return"";const X=J.firstChild;return X&&X.nodeName==="value"?J.children.map(W=>z(W.textContent)):z(J.textContent)}}D.DatasetReader=ae},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XRef=void 0;var R=B(2),U=B(130),K=B(131),z=B(142),e=B(132),ae=B(192);class ie{constructor(J,X){this.stream=J,this.pdfManager=X,this.entries=[],this.xrefstms=Object.create(null),this._cacheMap=new Map,this._pendingRefs=new U.RefSet,this.stats=new K.DocStats(X.msgHandler),this._newRefNum=null}getNewRef(){return this._newRefNum===null&&(this._newRefNum=this.entries.length||1),U.Ref.get(this._newRefNum++,0)}resetNewRef(){this._newRefNum=null}setStartXRef(J){this.startXRefQueue=[J]}parse(){let J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,X;J?((0,R.warn)("Indexing all PDF objects"),X=this.indexObjects()):X=this.readXRef(),X.assignXref(this),this.trailer=X;let W;try{W=X.get("Encrypt")}catch(Q){if(Q instanceof K.MissingDataException)throw Q;(0,R.warn)(`XRef.parse - Invalid "Encrypt" reference: "${Q}".`)}if(W instanceof U.Dict){const Q=X.get("ID"),ce=Q&&Q.length?Q[0]:"";W.suppressEncryption=!0,this.encrypt=new ae.CipherTransformFactory(W,ce,this.pdfManager.password)}let L;try{L=X.get("Root")}catch(Q){if(Q instanceof K.MissingDataException)throw Q;(0,R.warn)(`XRef.parse - Invalid "Root" reference: "${Q}".`)}if(L instanceof U.Dict)try{if(L.get("Pages")instanceof U.Dict){this.root=L;return}}catch(Q){if(Q instanceof K.MissingDataException)throw Q;(0,R.warn)(`XRef.parse - Invalid "Pages" reference: "${Q}".`)}throw J?new R.InvalidPDFException("Invalid Root reference."):new K.XRefParseException}processXRefTable(J){"tableState"in this||(this.tableState={entryNum:0,streamPos:J.lexer.stream.pos,parserBuf1:J.buf1,parserBuf2:J.buf2});const X=this.readXRefTable(J);if(!(0,U.isCmd)(X,"trailer"))throw new R.FormatError("Invalid XRef table: could not find trailer dictionary");let W=J.getObj();if(!(W instanceof U.Dict)&&W.dict&&(W=W.dict),!(W instanceof U.Dict))throw new R.FormatError("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,W}readXRefTable(J){const X=J.lexer.stream,W=this.tableState;X.pos=W.streamPos,J.buf1=W.parserBuf1,J.buf2=W.parserBuf2;let L;for(;;){if(!("firstEntryNum"in W)||!("entryCount"in W)){if((0,U.isCmd)(L=J.getObj(),"trailer"))break;W.firstEntryNum=L,W.entryCount=J.getObj()}let Q=W.firstEntryNum;const ce=W.entryCount;if(!Number.isInteger(Q)||!Number.isInteger(ce))throw new R.FormatError("Invalid XRef table: wrong types in subsection header");for(let de=W.entryNum;de0;){const[de,oe]=ce;if(!Number.isInteger(de)||!Number.isInteger(oe))throw new R.FormatError(`Invalid XRef range fields: ${de}, ${oe}`);if(!Number.isInteger(W)||!Number.isInteger(L)||!Number.isInteger(Q))throw new R.FormatError(`Invalid XRef entry fields length: ${de}, ${oe}`);for(let se=X.entryNum;se=ze.length);)De+=String.fromCharCode(Ue),Ue=ze[Ae];return De}function oe(ze,Ae,De){const Ue=De.length,we=ze.length;let Ie=0;for(;Ae=Ue)break;Ae++,Ie++}return Ie}const se=/^(\d+)\s+(\d+)\s+obj\b/,me=/\bendobj[\b\s]$/,Ee=/\s+(\d+\s+\d+\s+obj[\b\s<])$/,ke=25,xe=new Uint8Array([116,114,97,105,108,101,114]),fe=new Uint8Array([115,116,97,114,116,120,114,101,102]),ve=new Uint8Array([111,98,106]),ye=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();const Ce=this.stream;Ce.pos=0;const pe=Ce.getBytes(),_e=pe.length;let Ge=Ce.start;const Te=[],Ne=[];for(;Ge<_e;){let ze=pe[Ge];if(ze===9||ze===10||ze===13||ze===32){++Ge;continue}if(ze===37){do{if(++Ge,Ge>=_e)break;ze=pe[Ge]}while(ze!==10&&ze!==13);continue}const Ae=de(pe,Ge);let De;if(Ae.startsWith("xref")&&(Ae.length===4||/\s/.test(Ae[4])))Ge+=oe(pe,Ge,xe),Te.push(Ge),Ge+=oe(pe,Ge,fe);else if(De=se.exec(Ae)){const Ue=De[1]|0,we=De[2]|0;let Ie,Be=Ge+Ae.length,Ke=!1;if(!this.entries[Ue])Ke=!0;else if(this.entries[Ue].gen===we)try{new z.Parser({lexer:new z.Lexer(Ce.makeSubStream(Be))}).getObj(),Ke=!0}catch(Le){Le instanceof K.ParserEOFException?(0,R.warn)(`indexObjects -- checking object (${Ae}): "${Le}".`):Ke=!0}for(Ke&&(this.entries[Ue]={offset:Ge-Ce.start,gen:we,uncompressed:!0});Be0&&arguments[0]!==void 0?arguments[0]:!1;const X=this.stream,W=new Set;try{for(;this.startXRefQueue.length;){const L=this.startXRefQueue[0];if(W.has(L)){(0,R.warn)("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();continue}W.add(L),X.pos=L+X.start;const Q=new z.Parser({lexer:new z.Lexer(X),xref:this,allowStreams:!0});let ce=Q.getObj(),de;if((0,U.isCmd)(ce,"xref")){if(de=this.processXRefTable(Q),this.topDict||(this.topDict=de),ce=de.get("XRefStm"),Number.isInteger(ce)){const oe=ce;oe in this.xrefstms||(this.xrefstms[oe]=1,this.startXRefQueue.push(oe))}}else if(Number.isInteger(ce)){if(!Number.isInteger(Q.getObj())||!(0,U.isCmd)(Q.getObj(),"obj")||!((ce=Q.getObj())instanceof e.BaseStream))throw new R.FormatError("Invalid XRef stream");if(de=this.processXRefStream(ce),this.topDict||(this.topDict=de),!de)throw new R.FormatError("Failed to read XRef stream")}else throw new R.FormatError("Invalid XRef stream header");ce=de.get("Prev"),Number.isInteger(ce)?this.startXRefQueue.push(ce):ce instanceof U.Ref&&this.startXRefQueue.push(ce.num),this.startXRefQueue.shift()}return this.topDict}catch(L){if(L instanceof K.MissingDataException)throw L;(0,R.info)("(while reading XRef): "+L),this.startXRefQueue.shift()}if(!J)throw new K.XRefParseException}getEntry(J){const X=this.entries[J];return X&&!X.free&&X.offset?X:null}fetchIfRef(J){let X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return J instanceof U.Ref?this.fetch(J,X):J}fetch(J){let X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!(J instanceof U.Ref))throw new Error("ref object is not a reference");const W=J.num,L=this._cacheMap.get(W);if(L!==void 0)return L instanceof U.Dict&&!L.objId&&(L.objId=J.toString()),L;let Q=this.getEntry(W);if(Q===null)return this._cacheMap.set(W,Q),Q;if(this._pendingRefs.has(J))return this._pendingRefs.remove(J),(0,R.warn)(`Ignoring circular reference: ${J}.`),U.CIRCULAR_REF;this._pendingRefs.put(J);try{Q.uncompressed?Q=this.fetchUncompressed(J,Q,X):Q=this.fetchCompressed(J,Q,X),this._pendingRefs.remove(J)}catch(ce){throw this._pendingRefs.remove(J),ce}return Q instanceof U.Dict?Q.objId=J.toString():Q instanceof e.BaseStream&&(Q.dict.objId=J.toString()),Q}fetchUncompressed(J,X){let W=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const L=J.gen;let Q=J.num;if(X.gen!==L)throw new K.XRefEntryException(`Inconsistent generation in XRef: ${J}`);const ce=this.stream.makeSubStream(X.offset+this.stream.start),de=new z.Parser({lexer:new z.Lexer(ce),xref:this,allowStreams:!0}),oe=de.getObj(),se=de.getObj(),me=de.getObj();if(oe!==Q||se!==L||!(me instanceof U.Cmd))throw new K.XRefEntryException(`Bad (uncompressed) XRef entry: ${J}`);if(me.cmd!=="obj"){if(me.cmd.startsWith("obj")&&(Q=parseInt(me.cmd.substring(3),10),!Number.isNaN(Q)))return Q;throw new K.XRefEntryException(`Bad (uncompressed) XRef entry: ${J}`)}return this.encrypt&&!W?X=de.getObj(this.encrypt.createCipherTransform(Q,L)):X=de.getObj(),X instanceof e.BaseStream||this._cacheMap.set(Q,X),X}fetchCompressed(J,X){const W=X.offset,L=this.fetch(U.Ref.get(W,0));if(!(L instanceof e.BaseStream))throw new R.FormatError("bad ObjStm stream");const Q=L.dict.get("First"),ce=L.dict.get("N");if(!Number.isInteger(Q)||!Number.isInteger(ce))throw new R.FormatError("invalid first and n parameters for ObjStm stream");let de=new z.Parser({lexer:new z.Lexer(L),xref:this,allowStreams:!0});const oe=new Array(ce),se=new Array(ce);for(let ke=0;ke{Object.defineProperty(D,"__esModule",{value:!0}),D.MessageHandler=void 0;var R=B(2);const U={UNKNOWN:0,DATA:1,ERROR:2},K={UNKNOWN:0,CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function z(ae){switch(ae instanceof Error||typeof ae=="object"&&ae!==null||(0,R.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),ae.name){case"AbortException":return new R.AbortException(ae.message);case"MissingPDFException":return new R.MissingPDFException(ae.message);case"PasswordException":return new R.PasswordException(ae.message,ae.code);case"UnexpectedResponseException":return new R.UnexpectedResponseException(ae.message,ae.status);case"UnknownErrorException":return new R.UnknownErrorException(ae.message,ae.details);default:return new R.UnknownErrorException(ae.message,ae.toString())}}class e{constructor(ie,he,J){this.sourceName=ie,this.targetName=he,this.comObj=J,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=X=>{const W=X.data;if(W.targetName!==this.sourceName)return;if(W.stream){this._processStreamMessage(W);return}if(W.callback){const Q=W.callbackId,ce=this.callbackCapabilities[Q];if(!ce)throw new Error(`Cannot resolve callback ${Q}`);if(delete this.callbackCapabilities[Q],W.callback===U.DATA)ce.resolve(W.data);else if(W.callback===U.ERROR)ce.reject(z(W.reason));else throw new Error("Unexpected callback case");return}const L=this.actionHandler[W.action];if(!L)throw new Error(`Unknown action from worker: ${W.action}`);if(W.callbackId){const Q=this.sourceName,ce=W.sourceName;new Promise(function(de){de(L(W.data))}).then(function(de){J.postMessage({sourceName:Q,targetName:ce,callback:U.DATA,callbackId:W.callbackId,data:de})},function(de){J.postMessage({sourceName:Q,targetName:ce,callback:U.ERROR,callbackId:W.callbackId,reason:z(de)})});return}if(W.streamId){this._createStreamSink(W);return}L(W.data)},J.addEventListener("message",this._onComObjOnMessage)}on(ie,he){const J=this.actionHandler;if(J[ie])throw new Error(`There is already an actionName called "${ie}"`);J[ie]=he}send(ie,he,J){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:ie,data:he},J)}sendWithPromise(ie,he,J){const X=this.callbackId++,W=(0,R.createPromiseCapability)();this.callbackCapabilities[X]=W;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:ie,callbackId:X,data:he},J)}catch(L){W.reject(L)}return W.promise}sendWithStream(ie,he,J,X){const W=this.streamId++,L=this.sourceName,Q=this.targetName,ce=this.comObj;return new ReadableStream({start:de=>{const oe=(0,R.createPromiseCapability)();return this.streamControllers[W]={controller:de,startCall:oe,pullCall:null,cancelCall:null,isClosed:!1},ce.postMessage({sourceName:L,targetName:Q,action:ie,streamId:W,data:he,desiredSize:de.desiredSize},X),oe.promise},pull:de=>{const oe=(0,R.createPromiseCapability)();return this.streamControllers[W].pullCall=oe,ce.postMessage({sourceName:L,targetName:Q,stream:K.PULL,streamId:W,desiredSize:de.desiredSize}),oe.promise},cancel:de=>{(0,R.assert)(de instanceof Error,"cancel must have a valid reason");const oe=(0,R.createPromiseCapability)();return this.streamControllers[W].cancelCall=oe,this.streamControllers[W].isClosed=!0,ce.postMessage({sourceName:L,targetName:Q,stream:K.CANCEL,streamId:W,reason:z(de)}),oe.promise}},J)}_createStreamSink(ie){const he=ie.streamId,J=this.sourceName,X=ie.sourceName,W=this.comObj,L=this,Q=this.actionHandler[ie.action],ce={enqueue(de){let oe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,se=arguments.length>2?arguments[2]:void 0;if(this.isCancelled)return;const me=this.desiredSize;this.desiredSize-=oe,me>0&&this.desiredSize<=0&&(this.sinkCapability=(0,R.createPromiseCapability)(),this.ready=this.sinkCapability.promise),W.postMessage({sourceName:J,targetName:X,stream:K.ENQUEUE,streamId:he,chunk:de},se)},close(){this.isCancelled||(this.isCancelled=!0,W.postMessage({sourceName:J,targetName:X,stream:K.CLOSE,streamId:he}),delete L.streamSinks[he])},error(de){(0,R.assert)(de instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,W.postMessage({sourceName:J,targetName:X,stream:K.ERROR,streamId:he,reason:z(de)}))},sinkCapability:(0,R.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:ie.desiredSize,ready:null};ce.sinkCapability.resolve(),ce.ready=ce.sinkCapability.promise,this.streamSinks[he]=ce,new Promise(function(de){de(Q(ie.data,ce))}).then(function(){W.postMessage({sourceName:J,targetName:X,stream:K.START_COMPLETE,streamId:he,success:!0})},function(de){W.postMessage({sourceName:J,targetName:X,stream:K.START_COMPLETE,streamId:he,reason:z(de)})})}_processStreamMessage(ie){const he=ie.streamId,J=this.sourceName,X=ie.sourceName,W=this.comObj,L=this.streamControllers[he],Q=this.streamSinks[he];switch(ie.stream){case K.START_COMPLETE:ie.success?L.startCall.resolve():L.startCall.reject(z(ie.reason));break;case K.PULL_COMPLETE:ie.success?L.pullCall.resolve():L.pullCall.reject(z(ie.reason));break;case K.PULL:if(!Q){W.postMessage({sourceName:J,targetName:X,stream:K.PULL_COMPLETE,streamId:he,success:!0});break}Q.desiredSize<=0&&ie.desiredSize>0&&Q.sinkCapability.resolve(),Q.desiredSize=ie.desiredSize,new Promise(function(ce){ce(Q.onPull&&Q.onPull())}).then(function(){W.postMessage({sourceName:J,targetName:X,stream:K.PULL_COMPLETE,streamId:he,success:!0})},function(ce){W.postMessage({sourceName:J,targetName:X,stream:K.PULL_COMPLETE,streamId:he,reason:z(ce)})});break;case K.ENQUEUE:if((0,R.assert)(L,"enqueue should have stream controller"),L.isClosed)break;L.controller.enqueue(ie.chunk);break;case K.CLOSE:if((0,R.assert)(L,"close should have stream controller"),L.isClosed)break;L.isClosed=!0,L.controller.close(),this._deleteStreamController(L,he);break;case K.ERROR:(0,R.assert)(L,"error should have stream controller"),L.controller.error(z(ie.reason)),this._deleteStreamController(L,he);break;case K.CANCEL_COMPLETE:ie.success?L.cancelCall.resolve():L.cancelCall.reject(z(ie.reason)),this._deleteStreamController(L,he);break;case K.CANCEL:if(!Q)break;new Promise(function(ce){ce(Q.onCancel&&Q.onCancel(z(ie.reason)))}).then(function(){W.postMessage({sourceName:J,targetName:X,stream:K.CANCEL_COMPLETE,streamId:he,success:!0})},function(ce){W.postMessage({sourceName:J,targetName:X,stream:K.CANCEL_COMPLETE,streamId:he,reason:z(ce)})}),Q.sinkCapability.reject(z(ie.reason)),Q.isCancelled=!0,delete this.streamSinks[he];break;default:throw new Error("Unexpected stream case")}}async _deleteStreamController(ie,he){await Promise.allSettled([ie.startCall&&ie.startCall.promise,ie.pullCall&&ie.pullCall.promise,ie.cancelCall&&ie.cancelCall.promise]),delete this.streamControllers[he]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}D.MessageHandler=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFWorkerStream=void 0;var R=B(2);class U{constructor(ae){this._msgHandler=ae,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}getFullReader(){return(0,R.assert)(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new K(this._msgHandler),this._fullRequestReader}getRangeReader(ae,ie){const he=new z(ae,ie,this._msgHandler);return this._rangeRequestReaders.push(he),he}cancelAllRequests(ae){this._fullRequestReader&&this._fullRequestReader.cancel(ae);for(const ie of this._rangeRequestReaders.slice(0))ie.cancel(ae)}}D.PDFWorkerStream=U;class K{constructor(ae){this._msgHandler=ae,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;const ie=this._msgHandler.sendWithStream("GetReader");this._reader=ie.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then(he=>{this._isStreamingSupported=he.isStreamingSupported,this._isRangeSupported=he.isRangeSupported,this._contentLength=he.contentLength})}get headersReady(){return this._headersReady}get contentLength(){return this._contentLength}get isStreamingSupported(){return this._isStreamingSupported}get isRangeSupported(){return this._isRangeSupported}async read(){const{value:ae,done:ie}=await this._reader.read();return ie?{value:void 0,done:!0}:{value:ae.buffer,done:!1}}cancel(ae){this._reader.cancel(ae)}}class z{constructor(ae,ie,he){this._msgHandler=he,this.onProgress=null;const J=this._msgHandler.sendWithStream("GetRangeReader",{begin:ae,end:ie});this._reader=J.getReader()}get isStreamingSupported(){return!1}async read(){const{value:ae,done:ie}=await this._reader.read();return ie?{value:void 0,done:!0}:{value:ae.buffer,done:!1}}cancel(ae){this._reader.cancel(ae)}}}],G={};function V($){var D=G[$];if(D!==void 0)return D.exports;var B=G[$]={exports:{}};return M[$](B,B.exports,V),B.exports}V.d=($,D)=>{for(var B in D)V.o(D,B)&&!V.o($,B)&&Object.defineProperty($,B,{enumerable:!0,get:D[B]})},V.o=($,D)=>Object.prototype.hasOwnProperty.call($,D),V.r=$=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty($,Symbol.toStringTag,{value:"Module"}),Object.defineProperty($,"__esModule",{value:!0})};var q={};return(()=>{var $=q;Object.defineProperty($,"__esModule",{value:!0}),Object.defineProperty($,"WorkerMessageHandler",{enumerable:!0,get:function(){return D.WorkerMessageHandler}});var D=V(1)})(),q})())})(pdf_worker);var pdf_workerExports=pdf_worker.exports;(typeof window<"u"?window:{}).pdfjsWorker=pdf_workerExports;var pdf_viewer$1={exports:{}};(function(k,m){(function(G,V){k.exports=V()})(globalThis,()=>(()=>{var M=[,($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.DefaultXfaLayerFactory=D.DefaultTextLayerFactory=D.DefaultStructTreeLayerFactory=D.DefaultAnnotationLayerFactory=D.DefaultAnnotationEditorLayerFactory=void 0;var R=B(2),U=B(5),K=B(4),z=B(6),e=B(8),ae=B(9),ie=B(10);class he{createAnnotationLayerBuilder(ce){let{pageDiv:de,pdfPage:oe,annotationStorage:se=null,imageResourcesPath:me="",renderForms:Ee=!0,l10n:ke=K.NullL10n,enableScripting:xe=!1,hasJSActionsPromise:fe=null,mouseState:ve=null,fieldObjectsPromise:ye=null,annotationCanvasMap:Ce=null,accessibilityManager:pe=null}=ce;return new U.AnnotationLayerBuilder({pageDiv:de,pdfPage:oe,imageResourcesPath:me,renderForms:Ee,linkService:new z.SimpleLinkService,l10n:ke,annotationStorage:se,enableScripting:xe,hasJSActionsPromise:fe,fieldObjectsPromise:ye,mouseState:ve,annotationCanvasMap:Ce,accessibilityManager:pe})}}D.DefaultAnnotationLayerFactory=he;class J{createAnnotationEditorLayerBuilder(ce){let{uiManager:de=null,pageDiv:oe,pdfPage:se,accessibilityManager:me=null,l10n:Ee,annotationStorage:ke=null}=ce;return new R.AnnotationEditorLayerBuilder({uiManager:de,pageDiv:oe,pdfPage:se,accessibilityManager:me,l10n:Ee,annotationStorage:ke})}}D.DefaultAnnotationEditorLayerFactory=J;class X{createStructTreeLayerBuilder(ce){let{pdfPage:de}=ce;return new e.StructTreeLayerBuilder({pdfPage:de})}}D.DefaultStructTreeLayerFactory=X;class W{createTextLayerBuilder(ce){let{textLayerDiv:de,pageIndex:oe,viewport:se,enhanceTextSelection:me=!1,eventBus:Ee,highlighter:ke,accessibilityManager:xe=null}=ce;return new ae.TextLayerBuilder({textLayerDiv:de,pageIndex:oe,viewport:se,enhanceTextSelection:me,eventBus:Ee,highlighter:ke,accessibilityManager:xe})}}D.DefaultTextLayerFactory=W;class L{createXfaLayerBuilder(ce){let{pageDiv:de,pdfPage:oe,annotationStorage:se=null}=ce;return new ie.XfaLayerBuilder({pageDiv:de,pdfPage:oe,annotationStorage:se,linkService:new z.SimpleLinkService})}}D.DefaultXfaLayerFactory=L},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.AnnotationEditorLayerBuilder=void 0;var R=B(3),U=B(4);function K(L,Q,ce){z(L,Q),Q.set(L,ce)}function z(L,Q){if(Q.has(L))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(L,Q){var ce=he(L,Q,"get");return ae(L,ce)}function ae(L,Q){return Q.get?Q.get.call(L):Q.value}function ie(L,Q,ce){var de=he(L,Q,"set");return J(L,de,ce),ce}function he(L,Q,ce){if(!Q.has(L))throw new TypeError("attempted to "+ce+" private field on non-instance");return Q.get(L)}function J(L,Q,ce){if(Q.set)Q.set.call(L,ce);else{if(!Q.writable)throw new TypeError("attempted to set read only private field");Q.value=ce}}var X=new WeakMap;class W{constructor(Q){K(this,X,{writable:!0,value:void 0}),this.pageDiv=Q.pageDiv,this.pdfPage=Q.pdfPage,this.annotationStorage=Q.annotationStorage||null,this.accessibilityManager=Q.accessibilityManager,this.l10n=Q.l10n||U.NullL10n,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,ie(this,X,Q.uiManager)}async render(Q){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"display";if(ce!=="display"||this._cancelled)return;const de=Q.clone({dontFlip:!0});if(this.div){this.annotationEditorLayer.update({viewport:de}),this.show();return}this.div=document.createElement("div"),this.div.className="annotationEditorLayer",this.div.tabIndex=0,this.pageDiv.append(this.div),this.annotationEditorLayer=new R.AnnotationEditorLayer({uiManager:e(this,X),div:this.div,annotationStorage:this.annotationStorage,accessibilityManager:this.accessibilityManager,pageIndex:this.pdfPage._pageIndex,l10n:this.l10n,viewport:de});const oe={viewport:de,div:this.div,annotations:null,intent:ce};this.annotationEditorLayer.render(oe)}cancel(){this._cancelled=!0,this.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){this.div&&(this.div.hidden=!1)}destroy(){this.div&&(this.pageDiv=null,this.annotationEditorLayer.destroy(),this.div.remove())}}D.AnnotationEditorLayerBuilder=W},$=>{let D;typeof window<"u"&&window["pdfjs-dist/build/pdf"]?D=window["pdfjs-dist/build/pdf"]:D=requirePdf(),$.exports=D},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.NullL10n=void 0,D.fixupLangCode=K,D.getL10nFallback=R;const B={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} × {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} × {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",print_progress_percent:"{{progress}}%","toggle_sidebar.title":"Toggle Sidebar","toggle_sidebar_notification2.title":"Toggle Sidebar (document contains outline/attachments/layers)",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",error_version_info:"PDF.js v{{version}} (build: {{build}})",error_message:"Message: {{message}}",error_stack:"Stack: {{stack}}",error_file:"File: {{file}}",error_line:"Line: {{line}}",rendering_error:"An error occurred while rendering the page.",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading:"Loading…",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts.",free_text_default_content:"Enter text…",editor_free_text_aria_label:"FreeText Editor",editor_ink_aria_label:"Ink Editor",editor_ink_canvas_aria_label:"User-created image"};function R(ae,ie){switch(ae){case"find_match_count":ae=`find_match_count[${ie.total===1?"one":"other"}]`;break;case"find_match_count_limit":ae=`find_match_count_limit[${ie.limit===1?"one":"other"}]`;break}return B[ae]||""}const U={en:"en-US",es:"es-ES",fy:"fy-NL",ga:"ga-IE",gu:"gu-IN",hi:"hi-IN",hy:"hy-AM",nb:"nb-NO",ne:"ne-NP",nn:"nn-NO",pa:"pa-IN",pt:"pt-PT",sv:"sv-SE",zh:"zh-CN"};function K(ae){return U[ae==null?void 0:ae.toLowerCase()]||ae}function z(ae,ie){return ie?ae.replace(/\{\{\s*(\w+)\s*\}\}/g,(he,J)=>J in ie?ie[J]:"{{"+J+"}}"):ae}const e={async getLanguage(){return"en-us"},async getDirection(){return"ltr"},async get(ae){let ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R(ae,ie);return z(he,ie)},async translate(ae){}};D.NullL10n=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.AnnotationLayerBuilder=void 0;var R=B(3),U=B(4);class K{constructor(e){let{pageDiv:ae,pdfPage:ie,linkService:he,downloadManager:J,annotationStorage:X=null,imageResourcesPath:W="",renderForms:L=!0,l10n:Q=U.NullL10n,enableScripting:ce=!1,hasJSActionsPromise:de=null,fieldObjectsPromise:oe=null,mouseState:se=null,annotationCanvasMap:me=null,accessibilityManager:Ee=null}=e;this.pageDiv=ae,this.pdfPage=ie,this.linkService=he,this.downloadManager=J,this.imageResourcesPath=W,this.renderForms=L,this.l10n=Q,this.annotationStorage=X,this.enableScripting=ce,this._hasJSActionsPromise=de,this._fieldObjectsPromise=oe,this._mouseState=se,this._annotationCanvasMap=me,this._accessibilityManager=Ee,this.div=null,this._cancelled=!1}async render(e){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"display";const[ie,he=!1,J=null]=await Promise.all([this.pdfPage.getAnnotations({intent:ae}),this._hasJSActionsPromise,this._fieldObjectsPromise]);if(this._cancelled||ie.length===0)return;const X={viewport:e.clone({dontFlip:!0}),div:this.div,annotations:ie,page:this.pdfPage,imageResourcesPath:this.imageResourcesPath,renderForms:this.renderForms,linkService:this.linkService,downloadManager:this.downloadManager,annotationStorage:this.annotationStorage,enableScripting:this.enableScripting,hasJSActions:he,fieldObjects:J,mouseState:this._mouseState,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager};this.div?R.AnnotationLayer.update(X):(this.div=document.createElement("div"),this.div.className="annotationLayer",this.pageDiv.append(this.div),X.div=this.div,R.AnnotationLayer.render(X),this.l10n.translate(this.div))}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}D.AnnotationLayerBuilder=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.SimpleLinkService=D.PDFLinkService=D.LinkTarget=void 0;var R=B(7);function U(ke,xe){z(ke,xe),xe.add(ke)}function K(ke,xe,fe){z(ke,xe),xe.set(ke,fe)}function z(ke,xe){if(xe.has(ke))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(ke,xe,fe){return ae(ke,xe),fe}function ae(ke,xe){if(ke!==xe)throw new TypeError("Private static access of wrong provenance")}function ie(ke,xe,fe){if(!xe.has(ke))throw new TypeError("attempted to get private field on non-instance");return fe}function he(ke,xe){var fe=J(ke,xe,"get");return X(ke,fe)}function J(ke,xe,fe){if(!xe.has(ke))throw new TypeError("attempted to "+fe+" private field on non-instance");return xe.get(ke)}function X(ke,xe){return xe.get?xe.get.call(ke):xe.value}const W="noopener noreferrer nofollow",L={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};D.LinkTarget=L;function Q(ke){let{url:xe,target:fe,rel:ve,enabled:ye=!0}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!xe||typeof xe!="string")throw new Error('A valid "url" parameter must provided.');const Ce=(0,R.removeNullCharacters)(xe);ye?ke.href=ke.title=Ce:(ke.href="",ke.title=`Disabled: ${Ce}`,ke.onclick=()=>!1);let pe="";switch(fe){case L.NONE:break;case L.SELF:pe="_self";break;case L.BLANK:pe="_blank";break;case L.PARENT:pe="_parent";break;case L.TOP:pe="_top";break}ke.target=pe,ke.rel=typeof ve=="string"?ve:W}var ce=new WeakMap,de=new WeakSet;class oe{constructor(){let{eventBus:xe,externalLinkTarget:fe=null,externalLinkRel:ve=null,ignoreDestinationZoom:ye=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};U(this,de),K(this,ce,{writable:!0,value:new Map}),this.eventBus=xe,this.externalLinkTarget=fe,this.externalLinkRel=ve,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=ye,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(xe){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.baseUrl=fe,this.pdfDocument=xe,he(this,ce).clear()}setViewer(xe){this.pdfViewer=xe}setHistory(xe){this.pdfHistory=xe}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfViewer.currentPageNumber}set page(xe){this.pdfViewer.currentPageNumber=xe}get rotation(){return this.pdfViewer.pagesRotation}set rotation(xe){this.pdfViewer.pagesRotation=xe}async goToDestination(xe){if(!this.pdfDocument)return;let fe,ve;if(typeof xe=="string"?(fe=xe,ve=await this.pdfDocument.getDestination(xe)):(fe=null,ve=await xe),!Array.isArray(ve)){console.error(`PDFLinkService.goToDestination: "${ve}" is not a valid destination array, for dest="${xe}".`);return}ie(this,de,se).call(this,xe,fe,ve)}goToPage(xe){if(!this.pdfDocument)return;const fe=typeof xe=="string"&&this.pdfViewer.pageLabelToPageNumber(xe)||xe|0;if(!(Number.isInteger(fe)&&fe>0&&fe<=this.pagesCount)){console.error(`PDFLinkService.goToPage: "${xe}" is not a valid page.`);return}this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(fe)),this.pdfViewer.scrollPageIntoView({pageNumber:fe})}addLinkAttributes(xe,fe){let ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Q(xe,{url:fe,target:ve?L.BLANK:this.externalLinkTarget,rel:this.externalLinkRel,enabled:this.externalLinkEnabled})}getDestinationHash(xe){if(typeof xe=="string"){if(xe.length>0)return this.getAnchorUrl("#"+escape(xe))}else if(Array.isArray(xe)){const fe=JSON.stringify(xe);if(fe.length>0)return this.getAnchorUrl("#"+escape(fe))}return this.getAnchorUrl("")}getAnchorUrl(xe){return(this.baseUrl||"")+xe}setHash(xe){if(!this.pdfDocument)return;let fe,ve;if(xe.includes("=")){const ye=(0,R.parseQueryString)(xe);if(ye.has("search")&&this.eventBus.dispatch("findfromurlhash",{source:this,query:ye.get("search").replace(/"/g,""),phraseSearch:ye.get("phrase")==="true"}),ye.has("page")&&(fe=ye.get("page")|0||1),ye.has("zoom")){const Ce=ye.get("zoom").split(","),pe=Ce[0],_e=parseFloat(pe);pe.includes("Fit")?pe==="Fit"||pe==="FitB"?ve=[null,{name:pe}]:pe==="FitH"||pe==="FitBH"||pe==="FitV"||pe==="FitBV"?ve=[null,{name:pe},Ce.length>1?Ce[1]|0:null]:pe==="FitR"?Ce.length!==5?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):ve=[null,{name:pe},Ce[1]|0,Ce[2]|0,Ce[3]|0,Ce[4]|0]:console.error(`PDFLinkService.setHash: "${pe}" is not a valid zoom value.`):ve=[null,{name:"XYZ"},Ce.length>1?Ce[1]|0:null,Ce.length>2?Ce[2]|0:null,_e?_e/100:pe]}ve?this.pdfViewer.scrollPageIntoView({pageNumber:fe||this.page,destArray:ve,allowNegativeOffset:!0}):fe&&(this.page=fe),ye.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:ye.get("pagemode")}),ye.has("nameddest")&&this.goToDestination(ye.get("nameddest"))}else{ve=unescape(xe);try{ve=JSON.parse(ve),Array.isArray(ve)||(ve=ve.toString())}catch{}if(typeof ve=="string"||e(oe,oe,me).call(oe,ve)){this.goToDestination(ve);return}console.error(`PDFLinkService.setHash: "${unescape(xe)}" is not a valid destination.`)}}executeNamedAction(xe){var fe,ve;switch(xe){case"GoBack":(fe=this.pdfHistory)===null||fe===void 0||fe.back();break;case"GoForward":(ve=this.pdfHistory)===null||ve===void 0||ve.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1;break}this.eventBus.dispatch("namedaction",{source:this,action:xe})}cachePageRef(xe,fe){if(!fe)return;const ve=fe.gen===0?`${fe.num}R`:`${fe.num}R${fe.gen}`;he(this,ce).set(ve,xe)}_cachedPageNumber(xe){if(!xe)return null;const fe=xe.gen===0?`${xe.num}R`:`${xe.num}R${xe.gen}`;return he(this,ce).get(fe)||null}isPageVisible(xe){return this.pdfViewer.isPageVisible(xe)}isPageCached(xe){return this.pdfViewer.isPageCached(xe)}}D.PDFLinkService=oe;function se(ke){let xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,fe=arguments.length>2?arguments[2]:void 0;const ve=fe[0];let ye;if(typeof ve=="object"&&ve!==null){if(ye=this._cachedPageNumber(ve),!ye){this.pdfDocument.getPageIndex(ve).then(Ce=>{this.cachePageRef(Ce+1,ve),ie(this,de,se).call(this,ke,xe,fe)}).catch(()=>{console.error(`PDFLinkService.#goToDestinationHelper: "${ve}" is not a valid page reference, for dest="${ke}".`)});return}}else if(Number.isInteger(ve))ye=ve+1;else{console.error(`PDFLinkService.#goToDestinationHelper: "${ve}" is not a valid destination reference, for dest="${ke}".`);return}if(!ye||ye<1||ye>this.pagesCount){console.error(`PDFLinkService.#goToDestinationHelper: "${ye}" is not a valid page number, for dest="${ke}".`);return}this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.push({namedDest:xe,explicitDest:fe,pageNumber:ye})),this.pdfViewer.scrollPageIntoView({pageNumber:ye,destArray:fe,ignoreDestinationZoom:this._ignoreDestinationZoom})}function me(ke){if(!Array.isArray(ke))return!1;const xe=ke.length;if(xe<2)return!1;const fe=ke[0];if(!(typeof fe=="object"&&Number.isInteger(fe.num)&&Number.isInteger(fe.gen))&&!(Number.isInteger(fe)&&fe>=0))return!1;const ve=ke[1];if(!(typeof ve=="object"&&typeof ve.name=="string"))return!1;let ye=!0;switch(ve.name){case"XYZ":if(xe!==5)return!1;break;case"Fit":case"FitB":return xe===2;case"FitH":case"FitBH":case"FitV":case"FitBV":if(xe!==3)return!1;break;case"FitR":if(xe!==6)return!1;ye=!1;break;default:return!1}for(let Ce=2;Ce{Object.defineProperty(D,"__esModule",{value:!0}),D.animationStarted=D.VERTICAL_PADDING=D.UNKNOWN_SCALE=D.TextLayerMode=D.SpreadMode=D.SidebarView=D.ScrollMode=D.SCROLLBAR_PADDING=D.RenderingStates=D.RendererType=D.ProgressBar=D.PresentationModeState=D.OutputScale=D.MIN_SCALE=D.MAX_SCALE=D.MAX_AUTO_SCALE=D.DEFAULT_SCALE_VALUE=D.DEFAULT_SCALE_DELTA=D.DEFAULT_SCALE=D.AutoPrintRegExp=void 0,D.apiPageLayoutToViewerModes=ct,D.apiPageModeToSidebarView=mt,D.approximateFraction=ze,D.backtrackBeforeAllVisibleElements=Ue,D.binarySearchFirstItem=Ze,D.docStyle=void 0,D.getActiveOrFocusedElement=dt,D.getPageSizeInches=De,D.getVisibleElements=we,D.isPortraitOrientation=et,D.isValidRotation=Ve,D.isValidScrollMode=je,D.isValidSpreadMode=Le,D.noContextMenuHandler=Ie,D.normalizeWheelEventDelta=Ke,D.normalizeWheelEventDirection=Be,D.parseQueryString=_e,D.removeNullCharacters=Ne,D.roundToDivide=Ae,D.scrollIntoView=Ce,D.watchScroll=pe;function B(ut,rt,He){R(ut,rt),rt.set(ut,He)}function R(ut,rt){if(rt.has(ut))throw new TypeError("Cannot initialize the same private elements twice on an object")}function U(ut,rt){var He=e(ut,rt,"get");return K(ut,He)}function K(ut,rt){return rt.get?rt.get.call(ut):rt.value}function z(ut,rt,He){var Je=e(ut,rt,"set");return ae(ut,Je,He),He}function e(ut,rt,He){if(!rt.has(ut))throw new TypeError("attempted to "+He+" private field on non-instance");return rt.get(ut)}function ae(ut,rt,He){if(rt.set)rt.set.call(ut,He);else{if(!rt.writable)throw new TypeError("attempted to set read only private field");rt.value=He}}const ie="auto";D.DEFAULT_SCALE_VALUE=ie;const he=1;D.DEFAULT_SCALE=he;const J=1.1;D.DEFAULT_SCALE_DELTA=J;const X=.1;D.MIN_SCALE=X;const W=10;D.MAX_SCALE=W;const L=0;D.UNKNOWN_SCALE=L;const Q=1.25;D.MAX_AUTO_SCALE=Q;const ce=40;D.SCROLLBAR_PADDING=ce;const de=5;D.VERTICAL_PADDING=de;const oe={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3};D.RenderingStates=oe;const se={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};D.PresentationModeState=se;const me={UNKNOWN:-1,NONE:0,THUMBS:1,OUTLINE:2,ATTACHMENTS:3,LAYERS:4};D.SidebarView=me;const Ee={CANVAS:"canvas",SVG:"svg"};D.RendererType=Ee;const ke={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};D.TextLayerMode=ke;const xe={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3};D.ScrollMode=xe;const fe={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};D.SpreadMode=fe;const ve=/\bprint\s*\(/;D.AutoPrintRegExp=ve;class ye{constructor(){const rt=window.devicePixelRatio||1;this.sx=rt,this.sy=rt}get scaled(){return this.sx!==1||this.sy!==1}}D.OutputScale=ye;function Ce(ut,rt){let He=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Je=ut.offsetParent;if(!Je){console.error("offsetParent is not set -- cannot scroll");return}let St=ut.offsetTop+ut.clientTop,bt=ut.offsetLeft+ut.clientLeft;for(;Je.clientHeight===Je.scrollHeight&&Je.clientWidth===Je.scrollWidth||He&&(Je.classList.contains("markedContent")||getComputedStyle(Je).overflow==="hidden");)if(St+=Je.offsetTop,bt+=Je.offsetLeft,Je=Je.offsetParent,!Je)return;rt&&(rt.top!==void 0&&(St+=rt.top),rt.left!==void 0&&(bt+=rt.left,Je.scrollLeft=bt)),Je.scrollTop=St}function pe(ut,rt){const He=function(bt){St||(St=window.requestAnimationFrame(function(){St=null;const wt=ut.scrollLeft,Pt=Je.lastX;wt!==Pt&&(Je.right=wt>Pt),Je.lastX=wt;const Nt=ut.scrollTop,Vt=Je.lastY;Nt!==Vt&&(Je.down=Nt>Vt),Je.lastY=Nt,rt(Je)}))},Je={right:!0,down:!0,lastX:ut.scrollLeft,lastY:ut.scrollTop,_eventHandler:He};let St=null;return ut.addEventListener("scroll",He,!0),Je}function _e(ut){const rt=new Map;for(const[He,Je]of new URLSearchParams(ut))rt.set(He.toLowerCase(),Je);return rt}const Ge=/\x00/g,Te=/[\x01-\x1F]/g;function Ne(ut){let rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return typeof ut!="string"?(console.error("The argument must be a string."),ut):(rt&&(ut=ut.replace(Te," ")),ut.replace(Ge,""))}function Ze(ut,rt){let Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,St=ut.length-1;if(St<0||!rt(ut[St]))return ut.length;if(rt(ut[Je]))return Je;for(;Je>1,pt=ut[bt];rt(pt)?St=bt:Je=bt+1}return Je}function ze(ut){if(Math.floor(ut)===ut)return[ut,1];const rt=1/ut,He=8;if(rt>He)return[1,He];if(Math.floor(rt)===rt)return[1,rt];const Je=ut>1?rt:ut;let St=0,bt=1,pt=1,wt=1;for(;;){const Nt=St+pt,Vt=bt+wt;if(Vt>He)break;Je<=Nt/Vt?(pt=Nt,wt=Vt):(St=Nt,bt=Vt)}let Pt;return Je-St/bt=He&&(Je=rt[ut-1].div,St=Je.offsetTop+Je.clientTop);for(let bt=ut-2;bt>=0&&(Je=rt[bt].div,!(Je.offsetTop+Je.clientTop+Je.clientHeight<=St));--bt)ut=bt;return ut}function we(ut){let{scrollEl:rt,views:He,sortByVisibility:Je=!1,horizontal:St=!1,rtl:bt=!1}=ut;const pt=rt.scrollTop,wt=pt+rt.clientHeight,Pt=rt.scrollLeft,Nt=Pt+rt.clientWidth;function Vt(It){const Dt=It.div;return Dt.offsetTop+Dt.clientTop+Dt.clientHeight>pt}function Wt(It){const Dt=It.div,Zt=Dt.offsetLeft+Dt.clientLeft,gr=Zt+Dt.clientWidth;return bt?ZtPt}const Mt=[],$t=new Set,Yt=He.length;let Ft=Ze(He,St?Wt:Vt);Ft>0&&Ft=wt&&(Jt=Ar);else if((St?gr:fr)>Jt)break;if(Ar<=pt||fr>=wt||cr<=Pt||gr>=Nt)continue;const yt=Math.max(0,pt-fr)+Math.max(0,Ar-wt),vt=Math.max(0,Pt-gr)+Math.max(0,cr-Nt),Xt=(kr-yt)/kr,At=(Dr-vt)/Dr,zt=Xt*At*100|0;Mt.push({id:Dt.id,x:gr,y:fr,view:Dt,percent:zt,widthPercent:At*100|0}),$t.add(Dt.id)}const er=Mt[0],Bt=Mt.at(-1);return Je&&Mt.sort(function(It,Dt){const Zt=It.percent-Dt.percent;return Math.abs(Zt)>.001?-Zt:It.id-Dt.id}),{first:er,last:Bt,views:Mt,ids:$t}}function Ie(ut){ut.preventDefault()}function Be(ut){let rt=Math.hypot(ut.deltaX,ut.deltaY);const He=Math.atan2(ut.deltaY,ut.deltaX);return-.25*Math.PI1)throw new Error("ProgressBar no longer accepts any additional options, please use CSS rules to modify its appearance instead.");const He=document.getElementById(rt);z(this,Ye,He.classList)}get percent(){return U(this,tt)}set percent(rt){if(z(this,tt,$e(rt,0,100)),isNaN(rt)){U(this,Ye).add("indeterminate");return}U(this,Ye).remove("indeterminate"),Fe.setProperty("--progressBar-percent",`${U(this,tt)}%`)}setWidth(rt){if(!rt)return;const Je=rt.parentNode.offsetWidth-rt.offsetWidth;Je>0&&Fe.setProperty("--progressBar-end-offset",`${Je}px`)}hide(){U(this,ot)&&(z(this,ot,!1),U(this,Ye).add("hidden"))}show(){U(this,ot)||(z(this,ot,!0),U(this,Ye).remove("hidden"))}}D.ProgressBar=st;function dt(){let ut=document,rt=ut.activeElement||ut.querySelector(":focus");for(;(He=rt)!==null&&He!==void 0&&He.shadowRoot;){var He;ut=rt.shadowRoot,rt=ut.activeElement||ut.querySelector(":focus")}return rt}function ct(ut){let rt=xe.VERTICAL,He=fe.NONE;switch(ut){case"SinglePage":rt=xe.PAGE;break;case"OneColumn":break;case"TwoPageLeft":rt=xe.PAGE;case"TwoColumnLeft":He=fe.ODD;break;case"TwoPageRight":rt=xe.PAGE;case"TwoColumnRight":He=fe.EVEN;break}return{scrollMode:rt,spreadMode:He}}function mt(ut){switch(ut){case"UseNone":return me.NONE;case"UseThumbs":return me.THUMBS;case"UseOutlines":return me.OUTLINE;case"UseAttachments":return me.ATTACHMENTS;case"UseOC":return me.LAYERS}return me.NONE}},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.StructTreeLayerBuilder=void 0;const B={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},R=/^H(\d+)$/;class U{constructor(z){let{pdfPage:e}=z;this.pdfPage=e}render(z){return this._walk(z)}_setAttributes(z,e){z.alt!==void 0&&e.setAttribute("aria-label",z.alt),z.id!==void 0&&e.setAttribute("aria-owns",z.id),z.lang!==void 0&&e.setAttribute("lang",z.lang)}_walk(z){if(!z)return null;const e=document.createElement("span");if("role"in z){const{role:ae}=z,ie=ae.match(R);ie?(e.setAttribute("role","heading"),e.setAttribute("aria-level",ie[1])):B[ae]&&e.setAttribute("role",B[ae])}if(this._setAttributes(z,e),z.children)if(z.children.length===1&&"id"in z.children[0])this._setAttributes(z.children[0],e);else for(const ae of z.children)e.append(this._walk(ae));return e}}D.StructTreeLayerBuilder=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.TextLayerBuilder=void 0;var R=B(3);const U=300;class K{constructor(e){let{textLayerDiv:ae,eventBus:ie,pageIndex:he,viewport:J,highlighter:X=null,enhanceTextSelection:W=!1,accessibilityManager:L=null}=e;this.textLayerDiv=ae,this.eventBus=ie,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageNumber=he+1,this.viewport=J,this.textDivs=[],this.textLayerRenderTask=null,this.highlighter=X,this.enhanceTextSelection=W,this.accessibilityManager=L,this._bindMouse()}_finishRendering(){if(this.renderingDone=!0,!this.enhanceTextSelection){const e=document.createElement("div");e.className="endOfContent",this.textLayerDiv.append(e)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}render(){var e,ae;let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;if(!(this.textContent||this.textContentStream)||this.renderingDone)return;this.cancel(),this.textDivs.length=0,(e=this.highlighter)===null||e===void 0||e.setTextMapping(this.textDivs,this.textContentItemsStr),(ae=this.accessibilityManager)===null||ae===void 0||ae.setTextMapping(this.textDivs);const he=document.createDocumentFragment();this.textLayerRenderTask=(0,R.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:he,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:ie,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(()=>{var J,X;this.textLayerDiv.append(he),this._finishRendering(),(J=this.highlighter)===null||J===void 0||J.enable(),(X=this.accessibilityManager)===null||X===void 0||X.enable()},function(J){})}cancel(){var e,ae;this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),(e=this.highlighter)===null||e===void 0||e.disable(),(ae=this.accessibilityManager)===null||ae===void 0||ae.disable()}setTextContentStream(e){this.cancel(),this.textContentStream=e}setTextContent(e){this.cancel(),this.textContent=e}_bindMouse(){const e=this.textLayerDiv;let ae=null;e.addEventListener("mousedown",ie=>{if(this.enhanceTextSelection&&this.textLayerRenderTask){this.textLayerRenderTask.expandTextDivs(!0),ae&&(clearTimeout(ae),ae=null);return}const he=e.querySelector(".endOfContent");if(!he)return;let J=ie.target!==e;if(J=J&&window.getComputedStyle(he).getPropertyValue("-moz-user-select")!=="none",J){const X=e.getBoundingClientRect(),W=Math.max(0,(ie.pageY-X.top)/X.height);he.style.top=(W*100).toFixed(2)+"%"}he.classList.add("active")}),e.addEventListener("mouseup",()=>{if(this.enhanceTextSelection&&this.textLayerRenderTask){ae=setTimeout(()=>{this.textLayerRenderTask&&this.textLayerRenderTask.expandTextDivs(!1),ae=null},U);return}const ie=e.querySelector(".endOfContent");ie&&(ie.style.top="",ie.classList.remove("active"))})}}D.TextLayerBuilder=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XfaLayerBuilder=void 0;var R=B(3);class U{constructor(z){let{pageDiv:e,pdfPage:ae,annotationStorage:ie=null,linkService:he,xfaHtml:J=null}=z;this.pageDiv=e,this.pdfPage=ae,this.annotationStorage=ie,this.linkService=he,this.xfaHtml=J,this.div=null,this._cancelled=!1}render(z){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"display";if(e==="print"){const ae={viewport:z.clone({dontFlip:!0}),div:this.div,xfaHtml:this.xfaHtml,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:e},ie=document.createElement("div");this.pageDiv.append(ie),ae.div=ie;const he=R.XfaLayer.render(ae);return Promise.resolve(he)}return this.pdfPage.getXfa().then(ae=>{if(this._cancelled||!ae)return{textDivs:[]};const ie={viewport:z.clone({dontFlip:!0}),div:this.div,xfaHtml:ae,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:e};return this.div?R.XfaLayer.update(ie):(this.div=document.createElement("div"),this.pageDiv.append(this.div),ie.div=this.div,R.XfaLayer.render(ie))}).catch(ae=>{console.error(ae)})}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}D.XfaLayerBuilder=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFViewer=D.PDFSinglePageViewer=void 0;var R=B(7),U=B(12);class K extends U.BaseViewer{}D.PDFViewer=K;class z extends U.BaseViewer{_resetView(){super._resetView(),this._scrollMode=R.ScrollMode.PAGE,this._spreadMode=R.SpreadMode.NONE}set scrollMode(ae){}_updateScrollMode(){}set spreadMode(ae){}_updateSpreadMode(){}}D.PDFSinglePageViewer=z},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PagesCountLimit=D.PDFPageViewBuffer=D.BaseViewer=void 0;var R=B(3),U=B(7),K=B(2),z=B(5),e=B(4),ae=B(13),ie=B(16),he=B(6),J=B(8),X=B(17),W=B(9),L=B(10);let Q;function ce(bt,pt){oe(bt,pt),pt.add(bt)}function de(bt,pt,wt){oe(bt,pt),pt.set(bt,wt)}function oe(bt,pt){if(pt.has(bt))throw new TypeError("Cannot initialize the same private elements twice on an object")}function se(bt,pt,wt){if(!pt.has(bt))throw new TypeError("attempted to get private field on non-instance");return wt}function me(bt,pt){var wt=xe(bt,pt,"get");return Ee(bt,wt)}function Ee(bt,pt){return pt.get?pt.get.call(bt):pt.value}function ke(bt,pt,wt){var Pt=xe(bt,pt,"set");return fe(bt,Pt,wt),wt}function xe(bt,pt,wt){if(!pt.has(bt))throw new TypeError("attempted to "+wt+" private field on non-instance");return pt.get(bt)}function fe(bt,pt,wt){if(pt.set)pt.set.call(bt,wt);else{if(!pt.writable)throw new TypeError("attempted to set read only private field");pt.value=wt}}const ve=10,ye="enablePermissions",Ce={FORCE_SCROLL_MODE_PAGE:15e3,FORCE_LAZY_PAGE_INIT:7500,PAUSE_EAGER_PAGE_INIT:250};D.PagesCountLimit=Ce;function pe(bt){return Object.values(R.AnnotationEditorType).includes(bt)&&bt!==R.AnnotationEditorType.DISABLE}var _e=new WeakMap,Ge=new WeakMap,Te=new WeakSet;Q=Symbol.iterator;class Ne{constructor(pt){ce(this,Te),de(this,_e,{writable:!0,value:new Set}),de(this,Ge,{writable:!0,value:0}),ke(this,Ge,pt)}push(pt){const wt=me(this,_e);wt.has(pt)&&wt.delete(pt),wt.add(pt),wt.size>me(this,Ge)&&se(this,Te,Ze).call(this)}resize(pt){let wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ke(this,Ge,pt);const Pt=me(this,_e);if(wt){const Nt=Pt.size;let Vt=1;for(const Wt of Pt)if(wt.has(Wt.id)&&(Pt.delete(Wt),Pt.add(Wt)),++Vt>Nt)break}for(;Pt.size>me(this,Ge);)se(this,Te,Ze).call(this)}has(pt){return me(this,_e).has(pt)}[Q](){return me(this,_e).keys()}}D.PDFPageViewBuffer=Ne;function Ze(){const bt=me(this,_e).keys().next().value;bt==null||bt.destroy(),me(this,_e).delete(bt)}var ze=new WeakMap,Ae=new WeakMap,De=new WeakMap,Ue=new WeakMap,we=new WeakMap,Ie=new WeakMap,Be=new WeakMap,Ke=new WeakMap,Ve=new WeakSet,je=new WeakSet,Le=new WeakSet,et=new WeakSet,Qe=new WeakSet,Fe=new WeakSet,$e=new WeakSet,Ye=new WeakSet,tt=new WeakSet;class ot{constructor(pt){var wt,Pt,Nt,Vt,Wt;if(ce(this,tt),ce(this,Ye),ce(this,$e),ce(this,Fe),ce(this,Qe),ce(this,et),ce(this,Le),ce(this,je),ce(this,Ve),de(this,ze,{writable:!0,value:null}),de(this,Ae,{writable:!0,value:R.AnnotationEditorType.DISABLE}),de(this,De,{writable:!0,value:null}),de(this,Ue,{writable:!0,value:R.AnnotationMode.ENABLE_FORMS}),de(this,we,{writable:!0,value:!1}),de(this,Ie,{writable:!0,value:0}),de(this,Be,{writable:!0,value:null}),de(this,Ke,{writable:!0,value:null}),this.constructor===ot)throw new Error("Cannot initialize BaseViewer.");const Mt="2.16.105";if(R.version!==Mt)throw new Error(`The API version "${R.version}" does not match the Viewer version "${Mt}".`);if(this.container=pt.container,this.viewer=pt.viewer||pt.container.firstElementChild,!(((wt=this.container)===null||wt===void 0?void 0:wt.tagName.toUpperCase())==="DIV"&&((Pt=this.viewer)===null||Pt===void 0?void 0:Pt.tagName.toUpperCase())==="DIV"))throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&getComputedStyle(this.container).position!=="absolute")throw new Error("The `container` must be absolutely positioned.");this.eventBus=pt.eventBus,this.linkService=pt.linkService||new he.SimpleLinkService,this.downloadManager=pt.downloadManager||null,this.findController=pt.findController||null,this._scriptingManager=pt.scriptingManager||null,this.removePageBorders=pt.removePageBorders||!1,this.textLayerMode=(Nt=pt.textLayerMode)!==null&&Nt!==void 0?Nt:U.TextLayerMode.ENABLE,ke(this,Ue,(Vt=pt.annotationMode)!==null&&Vt!==void 0?Vt:R.AnnotationMode.ENABLE_FORMS),ke(this,Ae,(Wt=pt.annotationEditorMode)!==null&&Wt!==void 0?Wt:R.AnnotationEditorType.DISABLE),this.imageResourcesPath=pt.imageResourcesPath||"",this.enablePrintAutoRotate=pt.enablePrintAutoRotate||!1,this.renderer=pt.renderer||U.RendererType.CANVAS,this.useOnlyCssZoom=pt.useOnlyCssZoom||!1,this.maxCanvasPixels=pt.maxCanvasPixels,this.l10n=pt.l10n||e.NullL10n,ke(this,we,pt.enablePermissions||!1),this.pageColors=pt.pageColors||null,this.pageColors&&!(CSS.supports("color",this.pageColors.background)&&CSS.supports("color",this.pageColors.foreground))&&((this.pageColors.background||this.pageColors.foreground)&&console.warn("BaseViewer: Ignoring `pageColors`-option, since the browser doesn't support the values used."),this.pageColors=null),this.defaultRenderingQueue=!pt.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new ie.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=pt.renderingQueue,this.scroll=(0,U.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=U.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.updateContainerHeightCss()}get pagesCount(){return this._pages.length}getPageView(pt){return this._pages[pt]}get pageViewsReady(){return this._pagesCapability.settled?this._pages.every(function(pt){return pt==null?void 0:pt.pdfPage}):!1}get renderForms(){return me(this,Ue)===R.AnnotationMode.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(pt){if(!Number.isInteger(pt))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(pt,!0)||console.error(`currentPageNumber: "${pt}" is not a valid page.`))}_setCurrentPageNumber(pt){var wt,Pt;let Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(this._currentPageNumber===pt)return Nt&&se(this,Fe,rt).call(this),!0;if(!(0=0&&(wt=Pt+1)}this._setCurrentPageNumber(wt,!0)||console.error(`currentPageLabel: "${pt}" is not a valid page.`)}get currentScale(){return this._currentScale!==U.UNKNOWN_SCALE?this._currentScale:U.DEFAULT_SCALE}set currentScale(pt){if(isNaN(pt))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(pt,!1)}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(pt){this.pdfDocument&&this._setScale(pt,!1)}get pagesRotation(){return this._pagesRotation}set pagesRotation(pt){if(!(0,U.isValidRotation)(pt))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||(pt%=360,pt<0&&(pt+=360),this._pagesRotation===pt))return;this._pagesRotation=pt;const wt=this._currentPageNumber,Pt={rotation:pt};for(const Nt of this._pages)Nt.update(Pt);this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:pt,pageNumber:wt}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}setDocument(pt){if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null),this._scriptingManager&&this._scriptingManager.setDocument(null),me(this,De)&&(me(this,De).destroy(),ke(this,De,null))),this.pdfDocument=pt,!pt)return;const wt=pt.isPureXfa,Pt=pt.numPages,Nt=pt.getPage(1),Vt=pt.getOptionalContentConfig(),Wt=me(this,we)?pt.getPermissions():Promise.resolve();if(Pt>Ce.FORCE_SCROLL_MODE_PAGE){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const Mt=this._scrollMode=U.ScrollMode.PAGE;this.eventBus.dispatch("scrollmodechanged",{source:this,mode:Mt})}this._pagesCapability.promise.then(()=>{this.eventBus.dispatch("pagesloaded",{source:this,pagesCount:Pt})},()=>{}),this._onBeforeDraw=Mt=>{const $t=this._pages[Mt.pageNumber-1];$t&&me(this,ze).push($t)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=Mt=>{Mt.cssTransform||this._onePageRenderedCapability.settled||(this._onePageRenderedCapability.resolve({timestamp:Mt.timestamp}),this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null,me(this,Ke)&&(document.removeEventListener("visibilitychange",me(this,Ke)),ke(this,Ke,null)))},this.eventBus._on("pagerendered",this._onAfterDraw),Promise.all([Nt,Wt]).then(Mt=>{let[$t,Yt]=Mt;if(pt!==this.pdfDocument)return;this._firstPageCapability.resolve($t),this._optionalContentConfigPromise=Vt;const{annotationEditorMode:Ft,annotationMode:Jt,textLayerMode:er}=se(this,Ve,st).call(this,Yt);if(Ft!==R.AnnotationEditorType.DISABLE){const cr=Ft;wt?console.warn("Warning: XFA-editing is not implemented."):pe(cr)?(ke(this,De,new R.AnnotationEditorUIManager(this.container,this.eventBus)),cr!==R.AnnotationEditorType.NONE&&me(this,De).updateMode(cr)):console.error(`Invalid AnnotationEditor mode: ${cr}`)}const Bt=this._scrollMode===U.ScrollMode.PAGE?null:this.viewer,It=this.currentScale,Dt=$t.getViewport({scale:It*R.PixelsPerInch.PDF_TO_CSS_UNITS}),Zt=er!==U.TextLayerMode.DISABLE&&!wt?this:null,gr=Jt!==R.AnnotationMode.DISABLE?this:null,fr=wt?this:null,Dr=me(this,De)?this:null;for(let cr=1;cr<=Pt;++cr){const Ar=new ae.PDFPageView({container:Bt,eventBus:this.eventBus,id:cr,scale:It,defaultViewport:Dt.clone(),optionalContentConfigPromise:Vt,renderingQueue:this.renderingQueue,textLayerFactory:Zt,textLayerMode:er,annotationLayerFactory:gr,annotationMode:Jt,xfaLayerFactory:fr,annotationEditorLayerFactory:Dr,textHighlighterFactory:this,structTreeLayerFactory:this,imageResourcesPath:this.imageResourcesPath,renderer:this.renderer,useOnlyCssZoom:this.useOnlyCssZoom,maxCanvasPixels:this.maxCanvasPixels,pageColors:this.pageColors,l10n:this.l10n});this._pages.push(Ar)}const kr=this._pages[0];kr&&(kr.setPdfPage($t),this.linkService.cachePageRef(1,$t.ref)),this._scrollMode===U.ScrollMode.PAGE?se(this,Le,ct).call(this):this._spreadMode!==U.SpreadMode.NONE&&this._updateSpreadMode(),se(this,je,dt).call(this).then(async()=>{if(this.findController&&this.findController.setDocument(pt),this._scriptingManager&&this._scriptingManager.setDocument(pt),me(this,De)&&this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:me(this,Ae)}),pt.loadingParams.disableAutoFetch||Pt>Ce.FORCE_LAZY_PAGE_INIT){this._pagesCapability.resolve();return}let cr=Pt-1;if(cr<=0){this._pagesCapability.resolve();return}for(let Ar=2;Ar<=Pt;++Ar){const yt=pt.getPage(Ar).then(vt=>{const Xt=this._pages[Ar-1];Xt.pdfPage||Xt.setPdfPage(vt),this.linkService.cachePageRef(Ar,vt.ref),--cr===0&&this._pagesCapability.resolve()},vt=>{console.error(`Unable to get page ${Ar} to initialize viewer`,vt),--cr===0&&this._pagesCapability.resolve()});Ar%Ce.PAUSE_EAGER_PAGE_INIT===0&&await yt}}),this.eventBus.dispatch("pagesinit",{source:this}),pt.getMetadata().then(cr=>{let{info:Ar}=cr;pt===this.pdfDocument&&Ar.Language&&(this.viewer.lang=Ar.Language)}),this.defaultRenderingQueue&&this.update()}).catch(Mt=>{console.error("Unable to initialize viewer",Mt),this._pagesCapability.reject(Mt)})}setPageLabels(pt){if(this.pdfDocument){pt?Array.isArray(pt)&&this.pdfDocument.numPages===pt.length?this._pageLabels=pt:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let Nt=0,Vt=this._pages.length;Nt2&&arguments[2]!==void 0?arguments[2]:!1,Nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(this._currentScaleValue=wt.toString(),se(this,Qe,ut).call(this,pt)){Nt&&this.eventBus.dispatch("scalechanging",{source:this,scale:pt,presetValue:wt});return}U.docStyle.setProperty("--scale-factor",pt*R.PixelsPerInch.PDF_TO_CSS_UNITS);const Vt={scale:pt};for(const Wt of this._pages)Wt.update(Vt);if(this._currentScale=pt,!Pt){let Wt=this._currentPageNumber,Mt;this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&(Wt=this._location.pageNumber,Mt=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:Wt,destArray:Mt,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:pt,presetValue:Nt?wt:void 0}),this.defaultRenderingQueue&&this.update(),this.updateContainerHeightCss()}get _pageWidthScaleFactor(){return this._spreadMode!==U.SpreadMode.NONE&&this._scrollMode!==U.ScrollMode.HORIZONTAL?2:1}_setScale(pt){let wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pt=parseFloat(pt);if(Pt>0)this._setScaleUpdatePages(Pt,pt,wt,!1);else{const Nt=this._pages[this._currentPageNumber-1];if(!Nt)return;let Vt=U.SCROLLBAR_PADDING,Wt=U.VERTICAL_PADDING;this.isInPresentationMode?Vt=Wt=4:this.removePageBorders?Vt=Wt=0:this._scrollMode===U.ScrollMode.HORIZONTAL&&([Vt,Wt]=[Wt,Vt]);const Mt=(this.container.clientWidth-Vt)/Nt.width*Nt.scale/this._pageWidthScaleFactor,$t=(this.container.clientHeight-Wt)/Nt.height*Nt.scale;switch(pt){case"page-actual":Pt=1;break;case"page-width":Pt=Mt;break;case"page-height":Pt=$t;break;case"page-fit":Pt=Math.min(Mt,$t);break;case"auto":const Yt=(0,U.isPortraitOrientation)(Nt)?Mt:Math.min($t,Mt);Pt=Math.min(U.MAX_AUTO_SCALE,Yt);break;default:console.error(`_setScale: "${pt}" is an unknown zoom value.`);return}this._setScaleUpdatePages(Pt,pt,wt,!0)}}pageLabelToPageNumber(pt){if(!this._pageLabels)return null;const wt=this._pageLabels.indexOf(pt);return wt<0?null:wt+1}scrollPageIntoView(pt){let{pageNumber:wt,destArray:Pt=null,allowNegativeOffset:Nt=!1,ignoreDestinationZoom:Vt=!1}=pt;if(!this.pdfDocument)return;const Wt=Number.isInteger(wt)&&this._pages[wt-1];if(!Wt){console.error(`scrollPageIntoView: "${wt}" is not a valid pageNumber parameter.`);return}if(this.isInPresentationMode||!Pt){this._setCurrentPageNumber(wt,!0);return}let Mt=0,$t=0,Yt=0,Ft=0,Jt,er;const Bt=Wt.rotation%180!==0,It=(Bt?Wt.height:Wt.width)/Wt.scale/R.PixelsPerInch.PDF_TO_CSS_UNITS,Dt=(Bt?Wt.width:Wt.height)/Wt.scale/R.PixelsPerInch.PDF_TO_CSS_UNITS;let Zt=0;switch(Pt[1].name){case"XYZ":Mt=Pt[2],$t=Pt[3],Zt=Pt[4],Mt=Mt!==null?Mt:0,$t=$t!==null?$t:Dt;break;case"Fit":case"FitB":Zt="page-fit";break;case"FitH":case"FitBH":$t=Pt[2],Zt="page-width",$t===null&&this._location?(Mt=this._location.left,$t=this._location.top):(typeof $t!="number"||$t<0)&&($t=Dt);break;case"FitV":case"FitBV":Mt=Pt[2],Yt=It,Ft=Dt,Zt="page-height";break;case"FitR":Mt=Pt[2],$t=Pt[3],Yt=Pt[4]-Mt,Ft=Pt[5]-$t;const kr=this.removePageBorders?0:U.SCROLLBAR_PADDING,cr=this.removePageBorders?0:U.VERTICAL_PADDING;Jt=(this.container.clientWidth-kr)/Yt/R.PixelsPerInch.PDF_TO_CSS_UNITS,er=(this.container.clientHeight-cr)/Ft/R.PixelsPerInch.PDF_TO_CSS_UNITS,Zt=Math.min(Math.abs(Jt),Math.abs(er));break;default:console.error(`scrollPageIntoView: "${Pt[1].name}" is not a valid destination type.`);return}if(Vt||(Zt&&Zt!==this._currentScale?this.currentScaleValue=Zt:this._currentScale===U.UNKNOWN_SCALE&&(this.currentScaleValue=U.DEFAULT_SCALE_VALUE)),Zt==="page-fit"&&!Pt[4]){se(this,et,mt).call(this,Wt);return}const gr=[Wt.viewport.convertToViewportPoint(Mt,$t),Wt.viewport.convertToViewportPoint(Mt+Yt,$t+Ft)];let fr=Math.min(gr[0][0],gr[1][0]),Dr=Math.min(gr[0][1],gr[1][1]);Nt||(fr=Math.max(fr,0),Dr=Math.max(Dr,0)),se(this,et,mt).call(this,Wt,{left:fr,top:Dr})}_updateLocation(pt){const wt=this._currentScale,Pt=this._currentScaleValue,Nt=parseFloat(Pt)===wt?Math.round(wt*1e4)/100:Pt,Vt=pt.id,Wt=this._pages[Vt-1],Mt=this.container,$t=Wt.getPagePoint(Mt.scrollLeft-pt.x,Mt.scrollTop-pt.y),Yt=Math.round($t[0]),Ft=Math.round($t[1]);let Jt=`#page=${Vt}`;this.isInPresentationMode||(Jt+=`&zoom=${Nt},${Yt},${Ft}`),this._location={pageNumber:Vt,scale:Nt,top:Ft,left:Yt,rotation:this._pagesRotation,pdfOpenParams:Jt}}update(){const pt=this._getVisiblePages(),wt=pt.views,Pt=wt.length;if(Pt===0)return;const Nt=Math.max(ve,2*Pt+1);me(this,ze).resize(Nt,pt.ids),this.renderingQueue.renderHighestPriority(pt);const Vt=this._spreadMode===U.SpreadMode.NONE&&(this._scrollMode===U.ScrollMode.PAGE||this._scrollMode===U.ScrollMode.VERTICAL),Wt=this._currentPageNumber;let Mt=!1;for(const $t of wt){if($t.percent<100)break;if($t.id===Wt&&Vt){Mt=!0;break}}this._setCurrentPageNumber(Mt?Wt:wt[0].id),this._updateLocation(pt.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}containsElement(pt){return this.container.contains(pt)}focus(){this.container.focus()}get _isContainerRtl(){return getComputedStyle(this.container).direction==="rtl"}get isInPresentationMode(){return this.presentationModeState===U.PresentationModeState.FULLSCREEN}get isChangingPresentationMode(){return this.presentationModeState===U.PresentationModeState.CHANGING}get isHorizontalScrollbarEnabled(){return this.isInPresentationMode?!1:this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return this.isInPresentationMode?!1:this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const pt=this._scrollMode===U.ScrollMode.PAGE?me(this,Be).pages:this._pages,wt=this._scrollMode===U.ScrollMode.HORIZONTAL,Pt=wt&&this._isContainerRtl;return(0,U.getVisibleElements)({scrollEl:this.container,views:pt,sortByVisibility:!0,horizontal:wt,rtl:Pt})}isPageVisible(pt){return this.pdfDocument?Number.isInteger(pt)&&pt>0&&pt<=this.pagesCount?this._getVisiblePages().ids.has(pt):(console.error(`isPageVisible: "${pt}" is not a valid page.`),!1):!1}isPageCached(pt){if(!this.pdfDocument)return!1;if(!(Number.isInteger(pt)&&pt>0&&pt<=this.pagesCount))return console.error(`isPageCached: "${pt}" is not a valid page.`),!1;const wt=this._pages[pt-1];return me(this,ze).has(wt)}cleanup(){for(const pt of this._pages)pt.renderingState!==U.RenderingStates.FINISHED&&pt.reset()}_cancelRendering(){for(const pt of this._pages)pt.cancelRendering()}forceRendering(pt){const wt=pt||this._getVisiblePages(),Pt=se(this,Ye,Je).call(this,wt),Nt=this._spreadMode!==U.SpreadMode.NONE&&this._scrollMode!==U.ScrollMode.HORIZONTAL,Vt=this.renderingQueue.getHighestPriority(wt,this._pages,Pt,Nt);return se(this,tt,St).call(this,wt.ids),Vt?(se(this,$e,He).call(this,Vt).then(()=>{this.renderingQueue.renderView(Vt)}),!0):!1}createTextLayerBuilder(pt){let{textLayerDiv:wt,pageIndex:Pt,viewport:Nt,enhanceTextSelection:Vt=!1,eventBus:Wt,highlighter:Mt,accessibilityManager:$t=null}=pt;return new W.TextLayerBuilder({textLayerDiv:wt,eventBus:Wt,pageIndex:Pt,viewport:Nt,enhanceTextSelection:this.isInPresentationMode?!1:Vt,highlighter:Mt,accessibilityManager:$t})}createTextHighlighter(pt){let{pageIndex:wt,eventBus:Pt}=pt;return new X.TextHighlighter({eventBus:Pt,pageIndex:wt,findController:this.isInPresentationMode?null:this.findController})}createAnnotationLayerBuilder(pt){var wt,Pt,Nt,Vt;let{pageDiv:Wt,pdfPage:Mt,annotationStorage:$t=(wt=this.pdfDocument)===null||wt===void 0?void 0:wt.annotationStorage,imageResourcesPath:Yt="",renderForms:Ft=!0,l10n:Jt=e.NullL10n,enableScripting:er=this.enableScripting,hasJSActionsPromise:Bt=(Pt=this.pdfDocument)===null||Pt===void 0?void 0:Pt.hasJSActions(),mouseState:It=(Nt=this._scriptingManager)===null||Nt===void 0?void 0:Nt.mouseState,fieldObjectsPromise:Dt=(Vt=this.pdfDocument)===null||Vt===void 0?void 0:Vt.getFieldObjects(),annotationCanvasMap:Zt=null,accessibilityManager:gr=null}=pt;return new z.AnnotationLayerBuilder({pageDiv:Wt,pdfPage:Mt,annotationStorage:$t,imageResourcesPath:Yt,renderForms:Ft,linkService:this.linkService,downloadManager:this.downloadManager,l10n:Jt,enableScripting:er,hasJSActionsPromise:Bt,mouseState:It,fieldObjectsPromise:Dt,annotationCanvasMap:Zt,accessibilityManager:gr})}createAnnotationEditorLayerBuilder(pt){var wt;let{uiManager:Pt=me(this,De),pageDiv:Nt,pdfPage:Vt,accessibilityManager:Wt=null,l10n:Mt,annotationStorage:$t=(wt=this.pdfDocument)===null||wt===void 0?void 0:wt.annotationStorage}=pt;return new K.AnnotationEditorLayerBuilder({uiManager:Pt,pageDiv:Nt,pdfPage:Vt,annotationStorage:$t,accessibilityManager:Wt,l10n:Mt})}createXfaLayerBuilder(pt){var wt;let{pageDiv:Pt,pdfPage:Nt,annotationStorage:Vt=(wt=this.pdfDocument)===null||wt===void 0?void 0:wt.annotationStorage}=pt;return new L.XfaLayerBuilder({pageDiv:Pt,pdfPage:Nt,annotationStorage:Vt,linkService:this.linkService})}createStructTreeLayerBuilder(pt){let{pdfPage:wt}=pt;return new J.StructTreeLayerBuilder({pdfPage:wt})}get hasEqualPageSizes(){const pt=this._pages[0];for(let wt=1,Pt=this._pages.length;wt{const wt=pt.pdfPage.getViewport({scale:1});return!this.enablePrintAutoRotate||(0,U.isPortraitOrientation)(wt)?{width:wt.width,height:wt.height,rotation:wt.rotation}:{width:wt.height,height:wt.width,rotation:(wt.rotation-90)%360}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig()):Promise.resolve(null)}set optionalContentConfigPromise(pt){if(!(pt instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${pt}`);if(!this.pdfDocument||!this._optionalContentConfigPromise)return;this._optionalContentConfigPromise=pt;const wt={optionalContentConfigPromise:pt};for(const Pt of this._pages)Pt.update(wt);this.update(),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:pt})}get scrollMode(){return this._scrollMode}set scrollMode(pt){if(this._scrollMode!==pt){if(!(0,U.isValidScrollMode)(pt))throw new Error(`Invalid scroll mode: ${pt}`);this.pagesCount>Ce.FORCE_SCROLL_MODE_PAGE||(this._previousScrollMode=this._scrollMode,this._scrollMode=pt,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:pt}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(){let pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;const wt=this._scrollMode,Pt=this.viewer;Pt.classList.toggle("scrollHorizontal",wt===U.ScrollMode.HORIZONTAL),Pt.classList.toggle("scrollWrapped",wt===U.ScrollMode.WRAPPED),!(!this.pdfDocument||!pt)&&(wt===U.ScrollMode.PAGE?se(this,Le,ct).call(this):this._previousScrollMode===U.ScrollMode.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(pt,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(pt){if(this._spreadMode!==pt){if(!(0,U.isValidSpreadMode)(pt))throw new Error(`Invalid spread mode: ${pt}`);this._spreadMode=pt,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:pt}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(){let pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(!this.pdfDocument)return;const wt=this.viewer,Pt=this._pages;if(this._scrollMode===U.ScrollMode.PAGE)se(this,Le,ct).call(this);else if(wt.textContent="",this._spreadMode===U.SpreadMode.NONE)for(const Nt of this._pages)wt.append(Nt.div);else{const Nt=this._spreadMode-1;let Vt=null;for(let Wt=0,Mt=Pt.length;Wt1&&arguments[1]!==void 0?arguments[1]:!1;switch(this._scrollMode){case U.ScrollMode.WRAPPED:{const{views:Pt}=this._getVisiblePages(),Nt=new Map;for(const{id:Vt,y:Wt,percent:Mt,widthPercent:$t}of Pt){if(Mt===0||$t<100)continue;let Yt=Nt.get(Wt);Yt||Nt.set(Wt,Yt||(Yt=[])),Yt.push(Vt)}for(const Vt of Nt.values()){const Wt=Vt.indexOf(pt);if(Wt===-1)continue;const Mt=Vt.length;if(Mt===1)break;if(wt)for(let $t=Wt-1,Yt=0;$t>=Yt;$t--){const Ft=Vt[$t],Jt=Vt[$t+1]-1;if(FtJt)return Jt-pt}if(wt){const $t=Vt[0];if($tpt)return $t-pt+1}break}break}case U.ScrollMode.HORIZONTAL:break;case U.ScrollMode.PAGE:case U.ScrollMode.VERTICAL:{if(this._spreadMode===U.SpreadMode.NONE)break;const Pt=this._spreadMode-1;if(wt&&pt%2!==Pt)break;if(!wt&&pt%2===Pt)break;const{views:Nt}=this._getVisiblePages(),Vt=wt?pt-1:pt+1;for(const{id:Wt,percent:Mt,widthPercent:$t}of Nt)if(Wt===Vt){if(Mt>0&&$t===100)return 2;break}break}}return 1}nextPage(){const pt=this._currentPageNumber,wt=this.pagesCount;if(pt>=wt)return!1;const Pt=this._getPageAdvance(pt,!1)||1;return this.currentPageNumber=Math.min(pt+Pt,wt),!0}previousPage(){const pt=this._currentPageNumber;if(pt<=1)return!1;const wt=this._getPageAdvance(pt,!0)||1;return this.currentPageNumber=Math.max(pt-wt,1),!0}increaseScale(){let pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,wt=this._currentScale;do wt=(wt*U.DEFAULT_SCALE_DELTA).toFixed(2),wt=Math.ceil(wt*10)/10,wt=Math.min(U.MAX_SCALE,wt);while(--pt>0&&wt0&&arguments[0]!==void 0?arguments[0]:1,wt=this._currentScale;do wt=(wt/U.DEFAULT_SCALE_DELTA).toFixed(2),wt=Math.floor(wt*10)/10,wt=Math.max(U.MIN_SCALE,wt);while(--pt>0&&wt>U.MIN_SCALE);this.currentScaleValue=wt}updateContainerHeightCss(){const pt=this.container.clientHeight;pt!==me(this,Ie)&&(ke(this,Ie,pt),U.docStyle.setProperty("--viewer-container-height",`${pt}px`))}get annotationEditorMode(){return me(this,De)?me(this,Ae):R.AnnotationEditorType.DISABLE}set annotationEditorMode(pt){if(!me(this,De))throw new Error("The AnnotationEditor is not enabled.");if(me(this,Ae)!==pt){if(!pe(pt))throw new Error(`Invalid AnnotationEditor mode: ${pt}`);this.pdfDocument&&(ke(this,Ae,pt),this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:pt}),me(this,De).updateMode(pt))}}set annotationEditorParams(pt){let{type:wt,value:Pt}=pt;if(!me(this,De))throw new Error("The AnnotationEditor is not enabled.");me(this,De).updateParams(wt,Pt)}refresh(){if(!this.pdfDocument)return;const pt={};for(const wt of this._pages)wt.update(pt);this.update()}}D.BaseViewer=ot;function st(bt){const pt={annotationEditorMode:me(this,Ae),annotationMode:me(this,Ue),textLayerMode:this.textLayerMode};return bt&&(bt.includes(R.PermissionFlag.COPY)||this.viewer.classList.add(ye),bt.includes(R.PermissionFlag.MODIFY_CONTENTS)||(pt.annotationEditorMode=R.AnnotationEditorType.DISABLE),!bt.includes(R.PermissionFlag.MODIFY_ANNOTATIONS)&&!bt.includes(R.PermissionFlag.FILL_INTERACTIVE_FORMS)&&me(this,Ue)===R.AnnotationMode.ENABLE_FORMS&&(pt.annotationMode=R.AnnotationMode.ENABLE)),pt}function dt(){if(document.visibilityState==="hidden"||!this.container.offsetParent||this._getVisiblePages().views.length===0)return Promise.resolve();const bt=new Promise(pt=>{ke(this,Ke,()=>{document.visibilityState==="hidden"&&(pt(),document.removeEventListener("visibilitychange",me(this,Ke)),ke(this,Ke,null))}),document.addEventListener("visibilitychange",me(this,Ke))});return Promise.race([this._onePageRenderedCapability.promise,bt])}function ct(){if(this._scrollMode!==U.ScrollMode.PAGE)throw new Error("#ensurePageViewVisible: Invalid scrollMode value.");const bt=this._currentPageNumber,pt=me(this,Be),wt=this.viewer;if(wt.textContent="",pt.pages.length=0,this._spreadMode===U.SpreadMode.NONE&&!this.isInPresentationMode){const Pt=this._pages[bt-1];wt.append(Pt.div),pt.pages.push(Pt)}else{const Pt=new Set,Nt=this._spreadMode-1;Nt===-1?Pt.add(bt-1):bt%2!==Nt?(Pt.add(bt-1),Pt.add(bt)):(Pt.add(bt-2),Pt.add(bt-1));const Vt=document.createElement("div");if(Vt.className="spread",this.isInPresentationMode){const Wt=document.createElement("div");Wt.className="dummyPage",Vt.append(Wt)}for(const Wt of Pt){const Mt=this._pages[Wt];Mt&&(Vt.append(Mt.div),pt.pages.push(Mt))}wt.append(Vt)}pt.scrollDown=bt>=pt.previousPageNumber,pt.previousPageNumber=bt}function mt(bt){let pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const{div:wt,id:Pt}=bt;if(this._scrollMode===U.ScrollMode.PAGE&&(this._setCurrentPageNumber(Pt),se(this,Le,ct).call(this),this.update()),!pt&&!this.isInPresentationMode){const Nt=wt.offsetLeft+wt.clientLeft,Vt=Nt+wt.clientWidth,{scrollLeft:Wt,clientWidth:Mt}=this.container;(this._scrollMode===U.ScrollMode.HORIZONTAL||NtWt+Mt)&&(pt={left:0,top:0})}(0,U.scrollIntoView)(wt,pt)}function ut(bt){return bt===this._currentScale||Math.abs(bt-this._currentScale)<1e-15}function rt(){const bt=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),se(this,et,mt).call(this,bt)}async function He(bt){if(bt.pdfPage)return bt.pdfPage;try{var pt,wt;const Pt=await this.pdfDocument.getPage(bt.id);return bt.pdfPage||bt.setPdfPage(Pt),(pt=(wt=this.linkService)._cachedPageNumber)!==null&&pt!==void 0&&pt.call(wt,Pt.ref)||this.linkService.cachePageRef(bt.id,Pt.ref),Pt}catch(Pt){return console.error("Unable to get page for page view",Pt),null}}function Je(bt){var pt,wt;if(((pt=bt.first)===null||pt===void 0?void 0:pt.id)===1)return!0;if(((wt=bt.last)===null||wt===void 0?void 0:wt.id)===this.pagesCount)return!1;switch(this._scrollMode){case U.ScrollMode.PAGE:return me(this,Be).scrollDown;case U.ScrollMode.HORIZONTAL:return this.scroll.right}return this.scroll.down}function St(bt){for(const pt of bt){const wt=this._pages[pt-1];wt==null||wt.toggleLoadingIconSpinner(!0)}for(const pt of me(this,ze))bt.has(pt.id)||pt.toggleLoadingIconSpinner(!1)}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFPageView=void 0;var R=B(3),U=B(7),K=B(14),z=B(4),e=B(15);function ae(se,me,Ee){ie(se,me),me.set(se,Ee)}function ie(se,me){if(me.has(se))throw new TypeError("Cannot initialize the same private elements twice on an object")}function he(se,me){var Ee=W(se,me,"get");return J(se,Ee)}function J(se,me){return me.get?me.get.call(se):me.value}function X(se,me,Ee){var ke=W(se,me,"set");return L(se,ke,Ee),Ee}function W(se,me,Ee){if(!me.has(se))throw new TypeError("attempted to "+Ee+" private field on non-instance");return me.get(se)}function L(se,me,Ee){if(me.set)me.set.call(se,Ee);else{if(!me.writable)throw new TypeError("attempted to set read only private field");me.value=Ee}}const Q=K.compatibilityParams.maxCanvasPixels||16777216;var ce=new WeakMap,de=new WeakMap;class oe{constructor(me){var Ee,ke,xe,fe;ae(this,ce,{writable:!0,value:R.AnnotationMode.ENABLE_FORMS}),ae(this,de,{writable:!0,value:{initialOptionalContent:!0,regularAnnotations:!0}});const ve=me.container,ye=me.defaultViewport;this.id=me.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=me.scale||U.DEFAULT_SCALE,this.viewport=ye,this.pdfPageRotate=ye.rotation,this._optionalContentConfigPromise=me.optionalContentConfigPromise||null,this.hasRestrictedScaling=!1,this.textLayerMode=(Ee=me.textLayerMode)!==null&&Ee!==void 0?Ee:U.TextLayerMode.ENABLE,X(this,ce,(ke=me.annotationMode)!==null&&ke!==void 0?ke:R.AnnotationMode.ENABLE_FORMS),this.imageResourcesPath=me.imageResourcesPath||"",this.useOnlyCssZoom=me.useOnlyCssZoom||!1,this.maxCanvasPixels=me.maxCanvasPixels||Q,this.pageColors=me.pageColors||null,this.eventBus=me.eventBus,this.renderingQueue=me.renderingQueue,this.textLayerFactory=me.textLayerFactory,this.annotationLayerFactory=me.annotationLayerFactory,this.annotationEditorLayerFactory=me.annotationEditorLayerFactory,this.xfaLayerFactory=me.xfaLayerFactory,this.textHighlighter=(xe=me.textHighlighterFactory)===null||xe===void 0?void 0:xe.createTextHighlighter({pageIndex:this.id-1,eventBus:this.eventBus}),this.structTreeLayerFactory=me.structTreeLayerFactory,this.renderer=me.renderer||U.RendererType.CANVAS,this.l10n=me.l10n||z.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=U.RenderingStates.INITIAL,this.resume=null,this._renderError=null,this._isStandalone=!((fe=this.renderingQueue)!==null&&fe!==void 0&&fe.hasViewer()),this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null;const Ce=document.createElement("div");if(Ce.className="page",Ce.style.width=Math.floor(this.viewport.width)+"px",Ce.style.height=Math.floor(this.viewport.height)+"px",Ce.setAttribute("data-page-number",this.id),Ce.setAttribute("role","region"),this.l10n.get("page_landmark",{page:this.id}).then(pe=>{Ce.setAttribute("aria-label",pe)}),this.div=Ce,ve==null||ve.append(Ce),this._isStandalone){const{optionalContentConfigPromise:pe}=me;pe&&pe.then(_e=>{pe===this._optionalContentConfigPromise&&(he(this,de).initialOptionalContent=_e.hasInitialVisibility)})}}setPdfPage(me){this.pdfPage=me,this.pdfPageRotate=me.rotate;const Ee=(this.rotation+this.pdfPageRotate)%360;this.viewport=me.getViewport({scale:this.scale*R.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:Ee}),this.reset()}destroy(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}async _renderAnnotationLayer(){let me=null;try{await this.annotationLayer.render(this.viewport,"display")}catch(Ee){console.error(`_renderAnnotationLayer: "${Ee}".`),me=Ee}finally{this.eventBus.dispatch("annotationlayerrendered",{source:this,pageNumber:this.id,error:me})}}async _renderAnnotationEditorLayer(){let me=null;try{await this.annotationEditorLayer.render(this.viewport,"display")}catch(Ee){console.error(`_renderAnnotationEditorLayer: "${Ee}".`),me=Ee}finally{this.eventBus.dispatch("annotationeditorlayerrendered",{source:this,pageNumber:this.id,error:me})}}async _renderXfaLayer(){let me=null;try{const Ee=await this.xfaLayer.render(this.viewport,"display");this.textHighlighter&&this._buildXfaTextContentItems(Ee.textDivs)}catch(Ee){console.error(`_renderXfaLayer: "${Ee}".`),me=Ee}finally{this.eventBus.dispatch("xfalayerrendered",{source:this,pageNumber:this.id,error:me})}}async _buildXfaTextContentItems(me){const Ee=await this.pdfPage.getTextContent(),ke=[];for(const xe of Ee.items)ke.push(xe.str);this.textHighlighter.setTextMapping(me,ke),this.textHighlighter.enable()}_resetZoomLayer(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.zoomLayer)return;const Ee=this.zoomLayer.firstChild;this.paintedViewportMap.delete(Ee),Ee.width=0,Ee.height=0,me&&this.zoomLayer.remove(),this.zoomLayer=null}reset(){var me,Ee,ke;let{keepZoomLayer:xe=!1,keepAnnotationLayer:fe=!1,keepAnnotationEditorLayer:ve=!1,keepXfaLayer:ye=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.cancelRendering({keepAnnotationLayer:fe,keepAnnotationEditorLayer:ve,keepXfaLayer:ye}),this.renderingState=U.RenderingStates.INITIAL;const Ce=this.div;Ce.style.width=Math.floor(this.viewport.width)+"px",Ce.style.height=Math.floor(this.viewport.height)+"px";const pe=Ce.childNodes,_e=xe&&this.zoomLayer||null,Ge=fe&&((me=this.annotationLayer)===null||me===void 0?void 0:me.div)||null,Te=ve&&((Ee=this.annotationEditorLayer)===null||Ee===void 0?void 0:Ee.div)||null,Ne=ye&&((ke=this.xfaLayer)===null||ke===void 0?void 0:ke.div)||null;for(let ze=pe.length-1;ze>=0;ze--){const Ae=pe[ze];switch(Ae){case _e:case Ge:case Te:case Ne:continue}Ae.remove()}if(Ce.removeAttribute("data-loaded"),Ge&&this.annotationLayer.hide(),Te)this.annotationEditorLayer.hide();else{var Ze;(Ze=this.annotationEditorLayer)===null||Ze===void 0||Ze.destroy()}Ne&&this.xfaLayer.hide(),_e||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon notVisible",this._isStandalone&&this.toggleLoadingIconSpinner(!0),this.loadingIconDiv.setAttribute("role","img"),this.l10n.get("loading").then(ze=>{var Ae;(Ae=this.loadingIconDiv)===null||Ae===void 0||Ae.setAttribute("aria-label",ze)}),Ce.append(this.loadingIconDiv)}update(me){let{scale:Ee=0,rotation:ke=null,optionalContentConfigPromise:xe=null}=me;this.scale=Ee||this.scale,typeof ke=="number"&&(this.rotation=ke),xe instanceof Promise&&(this._optionalContentConfigPromise=xe,xe.then(ye=>{xe===this._optionalContentConfigPromise&&(he(this,de).initialOptionalContent=ye.hasInitialVisibility)}));const fe=(this.rotation+this.pdfPageRotate)%360;if(this.viewport=this.viewport.clone({scale:this.scale*R.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:fe}),this._isStandalone&&U.docStyle.setProperty("--scale-factor",this.viewport.scale),this.svg){this.cssTransform({target:this.svg,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});return}let ve=!1;if(this.canvas&&this.maxCanvasPixels>0){const ye=this.outputScale;(Math.floor(this.viewport.width)*ye.sx|0)*(Math.floor(this.viewport.height)*ye.sy|0)>this.maxCanvasPixels&&(ve=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&ve){this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});return}!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0})}cancelRendering(){let{keepAnnotationLayer:me=!1,keepAnnotationEditorLayer:Ee=!1,keepXfaLayer:ke=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),this.annotationLayer&&(!me||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.annotationEditorLayer&&(!Ee||!this.annotationEditorLayer.div)&&(this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!ke||!this.xfaLayer.div)){var xe;this.xfaLayer.cancel(),this.xfaLayer=null,(xe=this.textHighlighter)===null||xe===void 0||xe.disable()}this._onTextLayerRendered&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null)}cssTransform(me){let{target:Ee,redrawAnnotationLayer:ke=!1,redrawAnnotationEditorLayer:xe=!1,redrawXfaLayer:fe=!1}=me;const ve=this.viewport.width,ye=this.viewport.height,Ce=this.div;Ee.style.width=Ee.parentNode.style.width=Ce.style.width=Math.floor(ve)+"px",Ee.style.height=Ee.parentNode.style.height=Ce.style.height=Math.floor(ye)+"px";const pe=this.viewport.rotation-this.paintedViewportMap.get(Ee).rotation,_e=Math.abs(pe);let Ge=1,Te=1;if((_e===90||_e===270)&&(Ge=ye/ve,Te=ve/ye),Ee.style.transform=`rotate(${pe}deg) scale(${Ge}, ${Te})`,this.textLayer){const Ne=this.textLayer.viewport,Ze=this.viewport.rotation-Ne.rotation,ze=Math.abs(Ze);let Ae=ve/Ne.width;(ze===90||ze===270)&&(Ae=ve/Ne.height);const De=this.textLayer.textLayerDiv;let Ue,we;switch(ze){case 0:Ue=we=0;break;case 90:Ue=0,we="-"+De.style.height;break;case 180:Ue="-"+De.style.width,we="-"+De.style.height;break;case 270:Ue="-"+De.style.width,we=0;break;default:console.error("Bad rotation value.");break}De.style.transform=`rotate(${ze}deg) scale(${Ae}) translate(${Ue}, ${we})`,De.style.transformOrigin="0% 0%"}ke&&this.annotationLayer&&this._renderAnnotationLayer(),xe&&this.annotationEditorLayer&&this._renderAnnotationEditorLayer(),fe&&this.xfaLayer&&this._renderXfaLayer()}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(me,Ee){return this.viewport.convertToPdfPoint(me,Ee)}toggleLoadingIconSpinner(){var me;let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;(me=this.loadingIconDiv)===null||me===void 0||me.classList.toggle("notVisible",!Ee)}draw(){var me,Ee,ke,xe=this;this.renderingState!==U.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());const{div:fe,pdfPage:ve}=this;if(!ve)return this.renderingState=U.RenderingStates.FINISHED,this.loadingIconDiv&&(this.loadingIconDiv.remove(),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=U.RenderingStates.RUNNING;const ye=document.createElement("div");ye.style.width=fe.style.width,ye.style.height=fe.style.height,ye.classList.add("canvasWrapper");const Ce=((me=this.annotationLayer)===null||me===void 0?void 0:me.div)||((Ee=this.annotationEditorLayer)===null||Ee===void 0?void 0:Ee.div);Ce?Ce.before(ye):fe.append(ye);let pe=null;if(this.textLayerMode!==U.TextLayerMode.DISABLE&&this.textLayerFactory){this._accessibilityManager||(this._accessibilityManager=new e.TextAccessibilityManager);const Ze=document.createElement("div");Ze.className="textLayer",Ze.style.width=ye.style.width,Ze.style.height=ye.style.height,Ce?Ce.before(Ze):fe.append(Ze),pe=this.textLayerFactory.createTextLayerBuilder({textLayerDiv:Ze,pageIndex:this.id-1,viewport:this.viewport,enhanceTextSelection:this.textLayerMode===U.TextLayerMode.ENABLE_ENHANCE,eventBus:this.eventBus,highlighter:this.textHighlighter,accessibilityManager:this._accessibilityManager})}this.textLayer=pe,he(this,ce)!==R.AnnotationMode.DISABLE&&this.annotationLayerFactory&&(this._annotationCanvasMap||(this._annotationCanvasMap=new Map),this.annotationLayer||(this.annotationLayer=this.annotationLayerFactory.createAnnotationLayerBuilder({pageDiv:fe,pdfPage:ve,imageResourcesPath:this.imageResourcesPath,renderForms:he(this,ce)===R.AnnotationMode.ENABLE_FORMS,l10n:this.l10n,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager}))),(ke=this.xfaLayer)!==null&&ke!==void 0&&ke.div&&fe.append(this.xfaLayer.div);let _e=null;this.renderingQueue&&(_e=Ze=>{if(!this.renderingQueue.isHighestPriority(this)){this.renderingState=U.RenderingStates.PAUSED,this.resume=()=>{this.renderingState=U.RenderingStates.RUNNING,Ze()};return}Ze()});const Ge=async function(){let Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(Te===xe.paintTask&&(xe.paintTask=null),Ze instanceof R.RenderingCancelledException){xe._renderError=null;return}if(xe._renderError=Ze,xe.renderingState=U.RenderingStates.FINISHED,xe.loadingIconDiv&&(xe.loadingIconDiv.remove(),delete xe.loadingIconDiv),xe._resetZoomLayer(!0),he(xe,de).regularAnnotations=!Te.separateAnnots,xe.eventBus.dispatch("pagerendered",{source:xe,pageNumber:xe.id,cssTransform:!1,timestamp:performance.now(),error:xe._renderError}),Ze)throw Ze},Te=this.renderer===U.RendererType.SVG?this.paintOnSvg(ye):this.paintOnCanvas(ye);Te.onRenderContinue=_e,this.paintTask=Te;const Ne=Te.promise.then(()=>Ge(null).then(()=>{if(pe){const Ze=ve.streamTextContent({includeMarkedContent:!0});pe.setTextContentStream(Ze),pe.render()}this.annotationLayer&&this._renderAnnotationLayer().then(()=>{this.annotationEditorLayerFactory&&(this.annotationEditorLayer||(this.annotationEditorLayer=this.annotationEditorLayerFactory.createAnnotationEditorLayerBuilder({pageDiv:fe,pdfPage:ve,l10n:this.l10n,accessibilityManager:this._accessibilityManager})),this._renderAnnotationEditorLayer())})}),function(Ze){return Ge(Ze)});return this.xfaLayerFactory&&(this.xfaLayer||(this.xfaLayer=this.xfaLayerFactory.createXfaLayerBuilder({pageDiv:fe,pdfPage:ve})),this._renderXfaLayer()),this.structTreeLayerFactory&&this.textLayer&&this.canvas&&(this._onTextLayerRendered=Ze=>{Ze.pageNumber===this.id&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null,this.canvas&&this.pdfPage.getStructTree().then(ze=>{if(!ze||!this.canvas)return;const Ae=this.structTreeLayer.render(ze);Ae.classList.add("structTree"),this.canvas.append(Ae)}))},this.eventBus._on("textlayerrendered",this._onTextLayerRendered),this.structTreeLayer=this.structTreeLayerFactory.createStructTreeLayerBuilder({pdfPage:ve})),fe.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),Ne}paintOnCanvas(me){const Ee=(0,R.createPromiseCapability)(),ke={promise:Ee.promise,onRenderContinue(ze){ze()},cancel(){Ze.cancel()},get separateAnnots(){return Ze.separateAnnots}},xe=this.viewport,fe=document.createElement("canvas");fe.setAttribute("role","presentation"),fe.hidden=!0;let ve=!0;const ye=function(){ve&&(fe.hidden=!1,ve=!1)};me.append(fe),this.canvas=fe;const Ce=fe.getContext("2d",{alpha:!1}),pe=this.outputScale=new U.OutputScale;if(this.useOnlyCssZoom){const ze=xe.clone({scale:R.PixelsPerInch.PDF_TO_CSS_UNITS});pe.sx*=ze.width/xe.width,pe.sy*=ze.height/xe.height}if(this.maxCanvasPixels>0){const ze=xe.width*xe.height,Ae=Math.sqrt(this.maxCanvasPixels/ze);pe.sx>Ae||pe.sy>Ae?(pe.sx=Ae,pe.sy=Ae,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}const _e=(0,U.approximateFraction)(pe.sx),Ge=(0,U.approximateFraction)(pe.sy);fe.width=(0,U.roundToDivide)(xe.width*pe.sx,_e[0]),fe.height=(0,U.roundToDivide)(xe.height*pe.sy,Ge[0]),fe.style.width=(0,U.roundToDivide)(xe.width,_e[1])+"px",fe.style.height=(0,U.roundToDivide)(xe.height,Ge[1])+"px",this.paintedViewportMap.set(fe,xe);const Te=pe.scaled?[pe.sx,0,0,pe.sy,0,0]:null,Ne={canvasContext:Ce,transform:Te,viewport:this.viewport,annotationMode:he(this,ce),optionalContentConfigPromise:this._optionalContentConfigPromise,annotationCanvasMap:this._annotationCanvasMap,pageColors:this.pageColors},Ze=this.pdfPage.render(Ne);return Ze.onContinue=function(ze){ye(),ke.onRenderContinue?ke.onRenderContinue(ze):ze()},Ze.promise.then(function(){ye(),Ee.resolve()},function(ze){ye(),Ee.reject(ze)}),ke}paintOnSvg(me){let Ee=!1;const ke=()=>{if(Ee)throw new R.RenderingCancelledException(`Rendering cancelled, page ${this.id}`,"svg")},xe=this.pdfPage,fe=this.viewport.clone({scale:R.PixelsPerInch.PDF_TO_CSS_UNITS});return{promise:xe.getOperatorList({annotationMode:he(this,ce)}).then(ye=>(ke(),new R.SVGGraphics(xe.commonObjs,xe.objs).getSVG(ye,fe).then(pe=>{ke(),this.svg=pe,this.paintedViewportMap.set(pe,fe),pe.style.width=me.style.width,pe.style.height=me.style.height,this.renderingState=U.RenderingStates.FINISHED,me.append(pe)}))),onRenderContinue(ye){ye()},cancel(){Ee=!0},get separateAnnots(){return!1}}}setPageLabel(me){this.pageLabel=typeof me=="string"?me:null,this.pageLabel!==null?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{initialOptionalContent:me,regularAnnotations:Ee}=he(this,de);return me&&Ee?this.canvas:null}}D.PDFPageView=oe},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.compatibilityParams=D.OptionKind=D.AppOptions=void 0;const B=Object.create(null);D.compatibilityParams=B;{const e=navigator.userAgent||"",ae=navigator.platform||"",ie=navigator.maxTouchPoints||1,he=/Android/.test(e),J=/\b(iPad|iPhone|iPod)(?=;)/.test(e)||ae==="MacIntel"&&ie>1;(function(){(J||he)&&(B.maxCanvasPixels=5242880)})()}const R={VIEWER:2,API:4,WORKER:8,PREFERENCE:128};D.OptionKind=R;const U={annotationEditorMode:{value:-1,kind:R.VIEWER+R.PREFERENCE},annotationMode:{value:2,kind:R.VIEWER+R.PREFERENCE},cursorToolOnLoad:{value:0,kind:R.VIEWER+R.PREFERENCE},defaultZoomValue:{value:"",kind:R.VIEWER+R.PREFERENCE},disableHistory:{value:!1,kind:R.VIEWER},disablePageLabels:{value:!1,kind:R.VIEWER+R.PREFERENCE},enablePermissions:{value:!1,kind:R.VIEWER+R.PREFERENCE},enablePrintAutoRotate:{value:!0,kind:R.VIEWER+R.PREFERENCE},enableScripting:{value:!0,kind:R.VIEWER+R.PREFERENCE},externalLinkRel:{value:"noopener noreferrer nofollow",kind:R.VIEWER},externalLinkTarget:{value:0,kind:R.VIEWER+R.PREFERENCE},historyUpdateUrl:{value:!1,kind:R.VIEWER+R.PREFERENCE},ignoreDestinationZoom:{value:!1,kind:R.VIEWER+R.PREFERENCE},imageResourcesPath:{value:"./images/",kind:R.VIEWER},maxCanvasPixels:{value:16777216,kind:R.VIEWER},forcePageColors:{value:!1,kind:R.VIEWER+R.PREFERENCE},pageColorsBackground:{value:"Canvas",kind:R.VIEWER+R.PREFERENCE},pageColorsForeground:{value:"CanvasText",kind:R.VIEWER+R.PREFERENCE},pdfBugEnabled:{value:!1,kind:R.VIEWER+R.PREFERENCE},printResolution:{value:150,kind:R.VIEWER},sidebarViewOnLoad:{value:-1,kind:R.VIEWER+R.PREFERENCE},scrollModeOnLoad:{value:-1,kind:R.VIEWER+R.PREFERENCE},spreadModeOnLoad:{value:-1,kind:R.VIEWER+R.PREFERENCE},textLayerMode:{value:1,kind:R.VIEWER+R.PREFERENCE},useOnlyCssZoom:{value:!1,kind:R.VIEWER+R.PREFERENCE},viewerCssTheme:{value:0,kind:R.VIEWER+R.PREFERENCE},viewOnLoad:{value:0,kind:R.VIEWER+R.PREFERENCE},cMapPacked:{value:!0,kind:R.API},cMapUrl:{value:"../web/cmaps/",kind:R.API},disableAutoFetch:{value:!1,kind:R.API+R.PREFERENCE},disableFontFace:{value:!1,kind:R.API+R.PREFERENCE},disableRange:{value:!1,kind:R.API+R.PREFERENCE},disableStream:{value:!1,kind:R.API+R.PREFERENCE},docBaseUrl:{value:"",kind:R.API},enableXfa:{value:!0,kind:R.API+R.PREFERENCE},fontExtraProperties:{value:!1,kind:R.API},isEvalSupported:{value:!0,kind:R.API},maxImageSize:{value:-1,kind:R.API},pdfBug:{value:!1,kind:R.API},standardFontDataUrl:{value:"../web/standard_fonts/",kind:R.API},verbosity:{value:1,kind:R.API},workerPort:{value:null,kind:R.WORKER},workerSrc:{value:"../build/pdf.worker.js",kind:R.WORKER}};U.defaultUrl={value:"compressed.tracemonkey-pldi-09.pdf",kind:R.VIEWER},U.disablePreferences={value:!1,kind:R.VIEWER},U.locale={value:navigator.language||"en-US",kind:R.VIEWER},U.renderer={value:"canvas",kind:R.VIEWER+R.PREFERENCE},U.sandboxBundleSrc={value:"../build/pdf.sandbox.js",kind:R.VIEWER};const K=Object.create(null);class z{constructor(){throw new Error("Cannot initialize AppOptions.")}static get(ae){const ie=K[ae];if(ie!==void 0)return ie;const he=U[ae];if(he!==void 0){var J;return(J=B[ae])!==null&&J!==void 0?J:he.value}}static getAll(){let ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;const ie=Object.create(null);for(const J in U){var he;const X=U[J];if(ae){if(!(ae&X.kind))continue;if(ae===R.PREFERENCE){const L=X.value,Q=typeof L;if(Q==="boolean"||Q==="string"||Q==="number"&&Number.isInteger(L)){ie[J]=L;continue}throw new Error(`Invalid type for preference: ${J}`)}}const W=K[J];ie[J]=W!==void 0?W:(he=B[J])!==null&&he!==void 0?he:X.value}return ie}static set(ae,ie){K[ae]=ie}static setAll(ae){for(const ie in ae)K[ie]=ae[ie]}static remove(ae){delete K[ae]}static _hasUserOptions(){return Object.keys(K).length>0}}D.AppOptions=z},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.TextAccessibilityManager=void 0;var R=B(7);function U(xe,fe){z(xe,fe),fe.add(xe)}function K(xe,fe,ve){z(xe,fe),fe.set(xe,ve)}function z(xe,fe){if(fe.has(xe))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(xe,fe,ve){if(!fe.has(xe))throw new TypeError("attempted to get private field on non-instance");return ve}function ae(xe,fe,ve){return ie(xe,fe),ve}function ie(xe,fe){if(xe!==fe)throw new TypeError("Private static access of wrong provenance")}function he(xe,fe){var ve=W(xe,fe,"get");return J(xe,ve)}function J(xe,fe){return fe.get?fe.get.call(xe):fe.value}function X(xe,fe,ve){var ye=W(xe,fe,"set");return L(xe,ye,ve),ve}function W(xe,fe,ve){if(!fe.has(xe))throw new TypeError("attempted to "+ve+" private field on non-instance");return fe.get(xe)}function L(xe,fe,ve){if(fe.set)fe.set.call(xe,ve);else{if(!fe.writable)throw new TypeError("attempted to set read only private field");fe.value=ve}}var Q=new WeakMap,ce=new WeakMap,de=new WeakMap,oe=new WeakMap,se=new WeakSet;class me{constructor(){U(this,se),K(this,Q,{writable:!0,value:!1}),K(this,ce,{writable:!0,value:null}),K(this,de,{writable:!0,value:new Map}),K(this,oe,{writable:!0,value:new Map})}setTextMapping(fe){X(this,ce,fe)}enable(){if(he(this,Q))throw new Error("TextAccessibilityManager is already enabled.");if(!he(this,ce))throw new Error("Text divs and strings have not been set.");if(X(this,Q,!0),X(this,ce,he(this,ce).slice()),he(this,ce).sort(ae(me,me,Ee)),he(this,de).size>0){const fe=he(this,ce);for(const[ve,ye]of he(this,de)){if(!document.getElementById(ve)){he(this,de).delete(ve);continue}e(this,se,ke).call(this,ve,fe[ye])}}for(const[fe,ve]of he(this,oe))this.addPointerInTextLayer(fe,ve);he(this,oe).clear()}disable(){he(this,Q)&&(he(this,oe).clear(),X(this,ce,null),X(this,Q,!1))}removePointerInTextLayer(fe){var ve;if(!he(this,Q)){he(this,oe).delete(fe);return}const ye=he(this,ce);if(!ye||ye.length===0)return;const{id:Ce}=fe,pe=he(this,de).get(Ce);if(pe===void 0)return;const _e=ye[pe];he(this,de).delete(Ce);let Ge=_e.getAttribute("aria-owns");(ve=Ge)!==null&&ve!==void 0&&ve.includes(Ce)&&(Ge=Ge.split(" ").filter(Te=>Te!==Ce).join(" "),Ge?_e.setAttribute("aria-owns",Ge):(_e.removeAttribute("aria-owns"),_e.setAttribute("role","presentation")))}addPointerInTextLayer(fe,ve){const{id:ye}=fe;if(!ye)return;if(!he(this,Q)){he(this,oe).set(fe,ve);return}ve&&this.removePointerInTextLayer(fe);const Ce=he(this,ce);if(!Ce||Ce.length===0)return;const pe=(0,R.binarySearchFirstItem)(Ce,Ge=>ae(me,me,Ee).call(me,fe,Ge)<0),_e=Math.max(0,pe-1);e(this,se,ke).call(this,ye,Ce[_e]),he(this,de).set(ye,_e)}moveElementInDOM(fe,ve,ye,Ce){if(this.addPointerInTextLayer(ye,Ce),!fe.hasChildNodes()){fe.append(ve);return}const pe=Array.from(fe.childNodes).filter(Te=>Te!==ve);if(pe.length===0)return;const _e=ye||ve,Ge=(0,R.binarySearchFirstItem)(pe,Te=>ae(me,me,Ee).call(me,_e,Te)<0);Ge===0?pe[0].before(ve):pe[Ge-1].after(ve)}}D.TextAccessibilityManager=me;function Ee(xe,fe){const ve=xe.getBoundingClientRect(),ye=fe.getBoundingClientRect();if(ve.width===0&&ve.height===0)return 1;if(ye.width===0&&ye.height===0)return-1;const Ce=ve.y,pe=ve.y+ve.height,_e=ve.y+ve.height/2,Ge=ye.y,Te=ye.y+ye.height,Ne=ye.y+ye.height/2;if(_e<=Ge&&Ne>=pe)return-1;if(Ne<=Ce&&_e>=Te)return 1;const Ze=ve.x+ve.width/2,ze=ye.x+ye.width/2;return Ze-ze}function ke(xe,fe){const ve=fe.getAttribute("aria-owns");ve!=null&&ve.includes(xe)||fe.setAttribute("aria-owns",ve?`${ve} ${xe}`:xe),fe.removeAttribute("role")}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFRenderingQueue=void 0;var R=B(3),U=B(7);const K=3e4;class z{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}setViewer(ae){this.pdfViewer=ae}setThumbnailViewer(ae){this.pdfThumbnailViewer=ae}isHighestPriority(ae){return this.highestPriorityPage===ae.renderingId}hasViewer(){return!!this.pdfViewer}renderHighestPriority(ae){var ie;this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(ae)&&(this.isThumbnailViewEnabled&&(ie=this.pdfThumbnailViewer)!==null&&ie!==void 0&&ie.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),K)))}getHighestPriority(ae,ie,he){let J=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const X=ae.views,W=X.length;if(W===0)return null;for(let oe=0;oeW){const oe=ae.ids;for(let se=1,me=Q-L;se{this.renderHighestPriority()}).catch(ie=>{ie instanceof R.RenderingCancelledException||console.error(`renderView: "${ie}"`)});break}return!0}}D.PDFRenderingQueue=z},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.TextHighlighter=void 0;class B{constructor(U){let{findController:K,eventBus:z,pageIndex:e}=U;this.findController=K,this.matches=[],this.eventBus=z,this.pageIdx=e,this._onUpdateTextLayerMatches=null,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(U,K){this.textDivs=U,this.textContentItemsStr=K}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=U=>{(U.pageIndex===this.pageIdx||U.pageIndex===-1)&&this._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches)),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null))}_convertMatches(U,K){if(!U)return[];const{textContentItemsStr:z}=this;let e=0,ae=0;const ie=z.length-1,he=[];for(let J=0,X=U.length;J=ae+z[e].length;)ae+=z[e].length,e++;e===z.length&&console.error("Could not find a matching mapping");const L={begin:{divIdx:e,offset:W-ae}};for(W+=K[J];e!==ie&&W>ae+z[e].length;)ae+=z[e].length,e++;L.end={divIdx:e,offset:W-ae},he.push(L)}return he}_renderMatches(U){if(U.length===0)return;const{findController:K,pageIdx:z}=this,{textContentItemsStr:e,textDivs:ae}=this,ie=z===K.selected.pageIdx,he=K.selected.matchIdx,J=K.state.highlightAll;let X=null;const W={divIdx:-1,offset:void 0};function L(oe,se){const me=oe.divIdx;return ae[me].textContent="",Q(me,0,oe.offset,se)}function Q(oe,se,me,Ee){let ke=ae[oe];if(ke.nodeType===Node.TEXT_NODE){const ve=document.createElement("span");ke.before(ve),ve.append(ke),ae[oe]=ve,ke=ve}const xe=e[oe].substring(se,me),fe=document.createTextNode(xe);if(Ee){const ve=document.createElement("span");return ve.className=`${Ee} appended`,ve.append(fe),ke.append(ve),Ee.includes("selected")?ve.offsetLeft:0}return ke.append(fe),0}let ce=he,de=ce+1;if(J)ce=0,de=U.length;else if(!ie)return;for(let oe=ce;oe{Object.defineProperty(D,"__esModule",{value:!0}),D.DownloadManager=void 0;var R=B(3);function U(z,e){const ae=document.createElement("a");if(!ae.click)throw new Error('DownloadManager: "a.click()" is not supported.');ae.href=z,ae.target="_parent","download"in ae&&(ae.download=e),(document.body||document.documentElement).append(ae),ae.click(),ae.remove()}class K{constructor(){this._openBlobUrls=new WeakMap}downloadUrl(e,ae){if(!(0,R.createValidAbsoluteUrl)(e,"http://example.com")){console.error(`downloadUrl - not a valid URL: ${e}`);return}U(e+"#pdfjs.action=download",ae)}downloadData(e,ae,ie){const he=URL.createObjectURL(new Blob([e],{type:ie}));U(he,ae)}openOrDownloadData(e,ae,ie){const he=(0,R.isPdfFile)(ie),J=he?"application/pdf":"";if(he){let X=this._openBlobUrls.get(e);X||(X=URL.createObjectURL(new Blob([ae],{type:J})),this._openBlobUrls.set(e,X));let W;W="?file="+encodeURIComponent(X+"#"+ie);try{return window.open(W),!0}catch(L){console.error(`openOrDownloadData: ${L}`),URL.revokeObjectURL(X),this._openBlobUrls.delete(e)}}return this.downloadData(ae,ie,J),!1}download(e,ae,ie){const he=URL.createObjectURL(e);U(he,ie)}}D.DownloadManager=K},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.WaitOnType=D.EventBus=D.AutomationEventBus=void 0,D.waitOnEventOrTimeout=R;const B={EVENT:"event",TIMEOUT:"timeout"};D.WaitOnType=B;function R(z){let{target:e,name:ae,delay:ie=0}=z;return new Promise(function(he,J){if(typeof e!="object"||!(ae&&typeof ae=="string")||!(Number.isInteger(ie)&&ie>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function X(ce){e instanceof U?e._off(ae,W):e.removeEventListener(ae,W),Q&&clearTimeout(Q),he(ce)}const W=X.bind(null,B.EVENT);e instanceof U?e._on(ae,W):e.addEventListener(ae,W);const L=X.bind(null,B.TIMEOUT),Q=setTimeout(L,ie)})}class U{constructor(){this._listeners=Object.create(null)}on(e,ae){let ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this._on(e,ae,{external:!0,once:ie==null?void 0:ie.once})}off(e,ae){let ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this._off(e,ae,{external:!0,once:ie==null?void 0:ie.once})}dispatch(e,ae){const ie=this._listeners[e];if(!ie||ie.length===0)return;let he;for(const{listener:J,external:X,once:W}of ie.slice(0)){if(W&&this._off(e,J),X){(he||(he=[])).push(J);continue}J(ae)}if(he){for(const J of he)J(ae);he=null}}_on(e,ae){var ie;let he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;((ie=this._listeners)[e]||(ie[e]=[])).push({listener:ae,external:(he==null?void 0:he.external)===!0,once:(he==null?void 0:he.once)===!0})}_off(e,ae){const ie=this._listeners[e];if(ie){for(let he=0,J=ie.length;he{Object.defineProperty(D,"__esModule",{value:!0}),D.GenericL10n=void 0,B(21);var R=B(4);const U=document.webL10n;class K{constructor(e){this._lang=e,this._ready=new Promise((ae,ie)=>{U.setLanguage((0,R.fixupLangCode)(e),()=>{ae(U)})})}async getLanguage(){return(await this._ready).getLanguage()}async getDirection(){return(await this._ready).getDirection()}async get(e){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,R.getL10nFallback)(e,ae);return(await this._ready).get(e,ae,ie)}async translate(e){return(await this._ready).translate(e)}}D.GenericL10n=K},()=>{document.webL10n=function($,D,B){var R={},U="",K="textContent",z="",e={},ae="loading",ie=!0;function he(){return D.querySelectorAll('link[type="application/l10n"]')}function J(){var ve=D.querySelector('script[type="application/l10n"]');return ve?JSON.parse(ve.innerHTML):null}function X(ve){return ve?ve.querySelectorAll("*[data-l10n-id]"):[]}function W(ve){if(!ve)return{};var ye=ve.getAttribute("data-l10n-id"),Ce=ve.getAttribute("data-l10n-args"),pe={};if(Ce)try{pe=JSON.parse(Ce)}catch{console.warn("could not parse arguments for #"+ye)}return{id:ye,args:pe}}function L(ve,ye,Ce){ye=ye||function(Ge){},Ce=Ce||function(){};var pe=new XMLHttpRequest;pe.open("GET",ve,ie),pe.overrideMimeType&&pe.overrideMimeType("text/plain; charset=utf-8"),pe.onreadystatechange=function(){pe.readyState==4&&(pe.status==200||pe.status===0?ye(pe.responseText):Ce())},pe.onerror=Ce,pe.ontimeout=Ce;try{pe.send(null)}catch{Ce()}}function Q(ve,ye,Ce,pe){var _e=ve.replace(/[^\/]*$/,"")||"./";function Ge(Ne){return Ne.lastIndexOf("\\")<0?Ne:Ne.replace(/\\\\/g,"\\").replace(/\\n/g,` -`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\{/g,"{").replace(/\\}/g,"}").replace(/\\"/g,'"').replace(/\\'/g,"'")}function Te(Ne,Ze){var ze={},Ae=/^\s*|\s*$/,De=/^\s*#|^\s*$/,Ue=/^\s*\[(.*)\]\s*$/,we=/^\s*@import\s+url\((.*)\)\s*$/i,Ie=/^([^=\s]*)\s*=\s*(.+)$/;function Be(Ve,je,Le){var et=Ve.replace(Ae,"").split(/[\r\n]+/),Qe="*",Fe=ye.split("-",1)[0],$e=!1,Ye="";function tt(){for(;;){if(!et.length){Le();return}var ot=et.shift();if(!De.test(ot)){if(je){if(Ye=Ue.exec(ot),Ye){Qe=Ye[1].toLowerCase(),$e=Qe!=="*"&&Qe!==ye&&Qe!==Fe;continue}else if($e)continue;if(Ye=we.exec(ot),Ye){Ke(_e+Ye[1],tt);return}}var st=ot.match(Ie);st&&st.length==3&&(ze[st[1]]=Ge(st[2]))}}}tt()}function Ke(Ve,je){L(Ve,function(Le){Be(Le,!1,je)},function(){console.warn(Ve+" not found."),je()})}Be(Ne,!0,function(){Ze(ze)})}L(ve,function(Ne){U+=Ne,Te(Ne,function(Ze){for(var ze in Ze){var Ae,De,Ue=ze.lastIndexOf(".");Ue>0?(Ae=ze.substring(0,Ue),De=ze.substring(Ue+1)):(Ae=ze,De=K),R[Ae]||(R[Ae]={}),R[Ae][De]=Ze[ze]}Ce&&Ce()})},pe)}function ce(ve,ye){ve&&(ve=ve.toLowerCase()),ye=ye||function(){},de(),z=ve;var Ce=he(),pe=Ce.length;if(pe===0){var _e=J();if(_e&&_e.locales&&_e.default_locale){if(console.log("using the embedded JSON directory, early way out"),R=_e.locales[ve],!R){var Ge=_e.default_locale.toLowerCase();for(var Te in _e.locales)if(Te=Te.toLowerCase(),Te===ve){R=_e.locales[ve];break}else Te===Ge&&(R=_e.locales[Ge])}ye()}else console.log("no resource to load, early way out");ae="complete";return}var Ne=null,Ze=0;Ne=function(){Ze++,Ze>=pe&&(ye(),ae="complete")};function ze(Ue){var we=Ue.href;this.load=function(Ie,Be){Q(we,Ie,Be,function(){console.warn(we+" not found."),console.warn('"'+Ie+'" resource not found'),z="",Be()})}}for(var Ae=0;Ae0&&(_e=ve.substring(pe+1),ve=ve.substring(0,pe));var Ge;Ce&&(Ge={},Ge[_e]=Ce);var Te=se(ve,ye,Ge);return Te&&_e in Te?Te[_e]:"{{"+ve+"}}"},getData:function(){return R},getText:function(){return U},getLanguage:function(){return z},setLanguage:function(ve,ye){ce(ve,function(){ye&&ye()})},getDirection:function(){var ve=["ar","he","fa","ps","ur"],ye=z.split("-",1)[0];return ve.indexOf(ye)>=0?"rtl":"ltr"},translate:fe,getReadyState:function(){return ae},ready:function(ve){if(ve)ae=="complete"||ae=="interactive"?$.setTimeout(function(){ve()}):D.addEventListener&&D.addEventListener("localized",function ye(){D.removeEventListener("localized",ye),ve()});else return}}}(window,document)},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFFindController=D.FindState=void 0;var R=B(7),U=B(3),K=B(23);function z(Jt,er,Bt){ae(Jt,er),er.set(Jt,Bt)}function e(Jt,er){ae(Jt,er),er.add(Jt)}function ae(Jt,er){if(er.has(Jt))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ie(Jt,er){var Bt=he(Jt,er,"get");return J(Jt,Bt)}function he(Jt,er,Bt){if(!er.has(Jt))throw new TypeError("attempted to "+Bt+" private field on non-instance");return er.get(Jt)}function J(Jt,er){return er.get?er.get.call(Jt):er.value}function X(Jt,er,Bt){if(!er.has(Jt))throw new TypeError("attempted to get private field on non-instance");return Bt}const W={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};D.FindState=W;const L=250,Q=-50,ce=-400,de={"‐":"-","‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},oe=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]),se=[...oe.values()].map(Jt=>String.fromCharCode(Jt)).join(""),me=/\p{M}+/gu,Ee=/([.*+?^${}()|[\]\\])|(\p{P})|(\s+)|(\p{M})|(\p{L})/gu,ke=/([^\p{M}])\p{M}*$/u,xe=/^\p{M}*([^\p{M}])/u,fe=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,ve=new Map,ye="[\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f]";let Ce=null,pe=null;function _e(Jt){const er=[];let Bt;for(;(Bt=fe.exec(Jt))!==null;){let{index:vt}=Bt;for(const Xt of Bt[0]){let At=ve.get(Xt);At||(At=Xt.normalize("NFD").length,ve.set(Xt,At)),er.push([At,vt++])}}let It;if(er.length===0&&Ce)It=Ce;else if(er.length>0&&pe)It=pe;else{const Xt=`([${Object.keys(de).join("")}])|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(\\n)`;er.length===0?It=Ce=new RegExp(Xt+"|(\\u0000)","gum"):It=pe=new RegExp(Xt+`|(${ye})`,"gum")}const Dt=[];for(;(Bt=me.exec(Jt))!==null;)Dt.push([Bt[0].length,Bt.index]);let Zt=Jt.normalize("NFD");const gr=[[0,0]];let fr=0,Dr=0,kr=0,cr=0,Ar=0,yt=!1;return Zt=Zt.replace(It,(vt,Xt,At,zt,Br,br,Ur)=>{var un;if(Ur-=cr,Xt){const ur=de[vt],Cr=ur.length;for(let Tr=1;Trfr[0]>=It);Jt[Zt][0]>It&&--Zt;let gr=(0,R.binarySearchFirstItem)(Jt,fr=>fr[0]>=Dt,Zt);return Jt[gr][0]>Dt&&--gr,[It+Jt[Zt][1],Bt+Jt[gr][1]-Jt[Zt][1]]}var Te=new WeakSet,Ne=new WeakSet,Ze=new WeakMap,ze=new WeakSet,Ae=new WeakSet,De=new WeakSet,Ue=new WeakSet,we=new WeakSet,Ie=new WeakSet,Be=new WeakSet,Ke=new WeakSet,Ve=new WeakSet,je=new WeakSet,Le=new WeakSet,et=new WeakSet,Qe=new WeakSet,Fe=new WeakSet,$e=new WeakSet,Ye=new WeakSet,tt=new WeakSet;class ot{constructor(er){let{linkService:Bt,eventBus:It}=er;e(this,tt),e(this,Ye),e(this,$e),e(this,Fe),e(this,Qe),e(this,et),e(this,Le),e(this,je),e(this,Ve),e(this,Ke),e(this,Be),e(this,Ie),e(this,we),e(this,Ue),e(this,De),e(this,Ae),e(this,ze),z(this,Ze,{get:ct,set:void 0}),e(this,Ne),e(this,Te),this._linkService=Bt,this._eventBus=It,X(this,Ne,dt).call(this),It._on("find",X(this,Te,st).bind(this)),It._on("findbarclose",X(this,Fe,Mt).bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this._state}setDocument(er){this._pdfDocument&&X(this,Ne,dt).call(this),er&&(this._pdfDocument=er,this._firstPageCapability.resolve())}scrollMatchIntoView(er){let{element:Bt=null,selectedLeft:It=0,pageIndex:Dt=-1,matchIndex:Zt=-1}=er;if(!this._scrollMatches||!Bt)return;if(Zt===-1||Zt!==this._selected.matchIdx)return;if(Dt===-1||Dt!==this._selected.pageIdx)return;this._scrollMatches=!1;const gr={top:Q,left:It+ce};(0,R.scrollIntoView)(Bt,gr,!0)}}D.PDFFindController=ot;function st(Jt){if(!Jt)return;const er=this._pdfDocument,{type:Bt}=Jt;(this._state===null||X(this,ze,mt).call(this,Jt))&&(this._dirtyMatch=!0),this._state=Jt,Bt!=="highlightallchange"&&X(this,tt,Ft).call(this,W.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||er&&this._pdfDocument!==er)return;X(this,Ie,St).call(this);const It=!this._highlightMatches,Dt=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),Bt?this._dirtyMatch?X(this,Ve,wt).call(this):Bt==="again"?(X(this,Ve,wt).call(this),It&&this._state.highlightAll&&X(this,Ke,pt).call(this)):Bt==="highlightallchange"?(Dt?X(this,Ve,wt).call(this):this._highlightMatches=!0,X(this,Ke,pt).call(this)):X(this,Ve,wt).call(this):this._findTimeout=setTimeout(()=>{X(this,Ve,wt).call(this),this._findTimeout=null},L)})}function dt(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,U.createPromiseCapability)()}function ct(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,[this._normalizedQuery]=_e(this._state.query)),this._normalizedQuery}function mt(Jt){if(Jt.query!==this._state.query)return!0;switch(Jt.type){case"again":const er=this._selected.pageIdx+1,Bt=this._linkService;return er>=1&&er<=Bt.pagesCount&&er!==Bt.page&&!Bt.isPageVisible(er);case"highlightallchange":return!1}return!0}function ut(Jt,er,Bt){let It=Jt.slice(0,er).match(ke);if(It){const Dt=Jt.charCodeAt(er),Zt=It[1].charCodeAt(0);if((0,K.getCharacterType)(Dt)===(0,K.getCharacterType)(Zt))return!1}if(It=Jt.slice(er+Bt).match(xe),It){const Dt=Jt.charCodeAt(er+Bt-1),Zt=It[1].charCodeAt(0);if((0,K.getCharacterType)(Dt)===(0,K.getCharacterType)(Zt))return!1}return!0}function rt(Jt,er,Bt,It){const Dt=[],Zt=[],gr=this._pageDiffs[Bt];let fr;for(;(fr=Jt.exec(It))!==null;){if(er&&!X(this,Ae,ut).call(this,It,fr.index,fr[0].length))continue;const[Dr,kr]=Ge(gr,fr.index,fr[0].length);kr&&(Dt.push(Dr),Zt.push(kr))}this._pageMatches[Bt]=Dt,this._pageMatchesLength[Bt]=Zt}function He(Jt,er){const{matchDiacritics:Bt}=this._state;let It=!1;Jt=Jt.replace(Ee,(Zt,gr,fr,Dr,kr,cr)=>gr?`[ ]*\\${gr}[ ]*`:fr?`[ ]*${fr}[ ]*`:Dr?"[ ]+":Bt?kr||cr:kr?oe.has(kr.charCodeAt(0))?kr:"":er?(It=!0,`${cr}\\p{M}*`):cr);const Dt="[ ]*";return Jt.endsWith(Dt)&&(Jt=Jt.slice(0,Jt.length-Dt.length)),Bt&&er&&(It=!0,Jt=`${Jt}(?=[${se}]|[^\\p{M}]|$)`),[It,Jt]}function Je(Jt){let er=ie(this,Ze);if(er.length===0)return;const{caseSensitive:Bt,entireWord:It,phraseSearch:Dt}=this._state,Zt=this._pageContents[Jt],gr=this._hasDiacritics[Jt];let fr=!1;if(Dt)[fr,er]=X(this,Ue,He).call(this,er,gr);else{const cr=er.match(/\S+/g);cr&&(er=cr.sort().reverse().map(Ar=>{const[yt,vt]=X(this,Ue,He).call(this,Ar,gr);return fr||(fr=yt),`(${vt})`}).join("|"))}const Dr=`g${fr?"u":""}${Bt?"":"i"}`;er=new RegExp(er,Dr),X(this,De,rt).call(this,er,It,Jt,Zt),this._state.highlightAll&&X(this,Be,bt).call(this,Jt),this._resumePageIdx===Jt&&(this._resumePageIdx=null,X(this,Le,Nt).call(this));const kr=this._pageMatches[Jt].length;kr>0&&(this._matchesCountTotal+=kr,X(this,Ye,Yt).call(this))}function St(){if(this._extractTextPromises.length>0)return;let Jt=Promise.resolve();for(let er=0,Bt=this._linkService.pagesCount;erthis._pdfDocument.getPage(er+1).then(Dt=>Dt.getTextContent()).then(Dt=>{const Zt=[];for(const gr of Dt.items)Zt.push(gr.str),gr.hasEOL&&Zt.push(` -`);[this._pageContents[er],this._pageDiffs[er],this._hasDiacritics[er]]=_e(Zt.join("")),It.resolve()},Dt=>{console.error(`Unable to get text content for page ${er+1}`,Dt),this._pageContents[er]="",this._pageDiffs[er]=null,this._hasDiacritics[er]=!1,It.resolve()}))}}function bt(Jt){this._scrollMatches&&this._selected.pageIdx===Jt&&(this._linkService.page=Jt+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:Jt})}function pt(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}function wt(){const Jt=this._state.findPrevious,er=this._linkService.page-1,Bt=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=er,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,X(this,Ke,pt).call(this);for(let Dt=0;Dt{this._pendingFindMatches.delete(Dt),X(this,we,Je).call(this,Dt)}))}if(ie(this,Ze)===""){X(this,tt,Ft).call(this,W.FOUND);return}if(this._resumePageIdx)return;const It=this._offset;if(this._pagesToSearch=Bt,It.matchIdx!==null){const Dt=this._pageMatches[It.pageIdx].length;if(!Jt&&It.matchIdx+10){It.matchIdx=Jt?It.matchIdx-1:It.matchIdx+1,X(this,Qe,Wt).call(this,!0);return}X(this,et,Vt).call(this,Jt)}X(this,Le,Nt).call(this)}function Pt(Jt){const er=this._offset,Bt=Jt.length,It=this._state.findPrevious;return Bt?(er.matchIdx=It?Bt-1:0,X(this,Qe,Wt).call(this,!0),!0):(X(this,et,Vt).call(this,It),er.wrapped&&(er.matchIdx=null,this._pagesToSearch<0)?(X(this,Qe,Wt).call(this,!1),!0):!1)}function Nt(){this._resumePageIdx!==null&&console.error("There can only be one pending page.");let Jt=null;do{const er=this._offset.pageIdx;if(Jt=this._pageMatches[er],!Jt){this._resumePageIdx=er;break}}while(!X(this,je,Pt).call(this,Jt))}function Vt(Jt){const er=this._offset,Bt=this._linkService.pagesCount;er.pageIdx=Jt?er.pageIdx-1:er.pageIdx+1,er.matchIdx=null,this._pagesToSearch--,(er.pageIdx>=Bt||er.pageIdx<0)&&(er.pageIdx=Jt?Bt-1:0,er.wrapped=!0)}function Wt(){let Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,er=W.NOT_FOUND;const Bt=this._offset.wrapped;if(this._offset.wrapped=!1,Jt){const It=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,er=Bt?W.WRAPPED:W.FOUND,It!==-1&&It!==this._selected.pageIdx&&X(this,Be,bt).call(this,It)}X(this,tt,Ft).call(this,er,this._state.findPrevious),this._selected.pageIdx!==-1&&(this._scrollMatches=!0,X(this,Be,bt).call(this,this._selected.pageIdx))}function Mt(Jt){const er=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||er&&this._pdfDocument!==er||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),X(this,tt,Ft).call(this,W.FOUND),this._highlightMatches=!1,X(this,Ke,pt).call(this))})}function $t(){const{pageIdx:Jt,matchIdx:er}=this._selected;let Bt=0,It=this._matchesCountTotal;if(er!==-1){for(let Zt=0;ZtIt)&&(Bt=It=0),{current:Bt,total:It}}function Yt(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:X(this,$e,$t).call(this)})}function Ft(Jt){var er,Bt;let It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:Jt,previous:It,matchesCount:X(this,$e,$t).call(this),rawQuery:(er=(Bt=this._state)===null||Bt===void 0?void 0:Bt.query)!==null&&er!==void 0?er:null})}},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CharacterType=void 0,D.getCharacterType=W;const B={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};D.CharacterType=B;function R(L){return L<11904}function U(L){return(L&65408)===0}function K(L){return L>=97&&L<=122||L>=65&&L<=90}function z(L){return L>=48&&L<=57}function e(L){return L===32||L===9||L===13||L===10}function ae(L){return L>=13312&&L<=40959||L>=63744&&L<=64255}function ie(L){return L>=12448&&L<=12543}function he(L){return L>=12352&&L<=12447}function J(L){return L>=65376&&L<=65439}function X(L){return(L&65408)===3584}function W(L){return R(L)?U(L)?e(L)?B.SPACE:K(L)||z(L)||L===95?B.ALPHA_LETTER:B.PUNCT:X(L)?B.THAI_LETTER:L===160?B.SPACE:B.ALPHA_LETTER:ae(L)?B.HAN_LETTER:ie(L)?B.KATAKANA_LETTER:he(L)?B.HIRAGANA_LETTER:J(L)?B.HALFWIDTH_KATAKANA_LETTER:B.ALPHA_LETTER}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFHistory=void 0,D.isDestArraysEqual=J,D.isDestHashesEqual=he;var R=B(7),U=B(19);const K=1e3,z=50,e=1e3;function ae(){return document.location.hash}class ie{constructor(W){let{linkService:L,eventBus:Q}=W;this.linkService=L,this.eventBus=Q,this._initialized=!1,this._fingerprint="",this.reset(),this._boundEvents=null,this.eventBus._on("pagesinit",()=>{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",ce=>{this._isPagesLoaded=!!ce.pagesCount},{once:!0})})}initialize(W){let{fingerprint:L,resetHistory:Q=!1,updateUrl:ce=!1}=W;if(!L||typeof L!="string"){console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');return}this._initialized&&this.reset();const de=this._fingerprint!==""&&this._fingerprint!==L;this._fingerprint=L,this._updateUrl=ce===!0,this._initialized=!0,this._bindEvents();const oe=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=ae(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(oe,!0)||Q){const{hash:me,page:Ee,rotation:ke}=this._parseCurrentHash(!0);if(!me||de||Q){this._pushOrReplaceState(null,!0);return}this._pushOrReplaceState({hash:me,page:Ee,rotation:ke},!0);return}const se=oe.destination;this._updateInternalState(se,oe.uid,!0),se.rotation!==void 0&&(this._initialRotation=se.rotation),se.dest?(this._initialBookmark=JSON.stringify(se.dest),this._destination.page=null):se.hash?this._initialBookmark=se.hash:se.page&&(this._initialBookmark=`page=${se.page}`)}reset(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push(W){let{namedDest:L=null,explicitDest:Q,pageNumber:ce}=W;if(!this._initialized)return;if(L&&typeof L!="string"){console.error(`PDFHistory.push: "${L}" is not a valid namedDest parameter.`);return}else if(Array.isArray(Q)){if(!this._isValidPage(ce)&&(ce!==null||this._destination)){console.error(`PDFHistory.push: "${ce}" is not a valid pageNumber parameter.`);return}}else{console.error(`PDFHistory.push: "${Q}" is not a valid explicitDest parameter.`);return}const de=L||JSON.stringify(Q);if(!de)return;let oe=!1;if(this._destination&&(he(this._destination.hash,de)||J(this._destination.dest,Q))){if(this._destination.page)return;oe=!0}this._popStateInProgress&&!oe||(this._pushOrReplaceState({dest:Q,hash:de,page:ce,rotation:this.linkService.rotation},oe),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(W){var L;if(this._initialized){if(!this._isValidPage(W)){console.error(`PDFHistory.pushPage: "${W}" is not a valid page number.`);return}((L=this._destination)===null||L===void 0?void 0:L.page)!==W&&(this._popStateInProgress||(this._pushOrReplaceState({dest:null,hash:`page=${W}`,page:W,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this._tryPushCurrentPosition()}back(){if(!this._initialized||this._popStateInProgress)return;const W=window.history.state;this._isValidState(W)&&W.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const W=window.history.state;this._isValidState(W)&&W.uid0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}_pushOrReplaceState(W){const Q=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)||!this._destination,ce={fingerprint:this._fingerprint,uid:Q?this._uid:this._uid+1,destination:W};this._updateInternalState(W,ce.uid);let de;if(this._updateUrl&&W!==null&&W!==void 0&&W.hash){const oe=document.location.href.split("#")[0];oe.startsWith("file://")||(de=`${oe}#${W.hash}`)}Q?window.history.replaceState(ce,"",de):window.history.pushState(ce,"",de)}_tryPushCurrentPosition(){let W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this._position)return;let L=this._position;if(W&&(L=Object.assign(Object.create(null),this._position),L.temporary=!0),!this._destination){this._pushOrReplaceState(L);return}if(this._destination.temporary){this._pushOrReplaceState(L,!0);return}if(this._destination.hash===L.hash||!this._destination.page&&this._numPositionUpdates<=z)return;let Q=!1;if(this._destination.page>=L.first&&this._destination.page<=L.page){if(this._destination.dest!==void 0||!this._destination.first)return;Q=!0}this._pushOrReplaceState(L,Q)}_isValidPage(W){return Number.isInteger(W)&&W>0&&W<=this.linkService.pagesCount}_isValidState(W){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!W)return!1;if(W.fingerprint!==this._fingerprint)if(L){if(typeof W.fingerprint!="string"||W.fingerprint.length!==this._fingerprint.length)return!1;const[Q]=performance.getEntriesByType("navigation");if((Q==null?void 0:Q.type)!=="reload")return!1}else return!1;return!(!Number.isInteger(W.uid)||W.uid<0||W.destination===null||typeof W.destination!="object")}_updateInternalState(W,L){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),Q&&W!==null&&W!==void 0&&W.temporary&&delete W.temporary,this._destination=W,this._uid=L,this._maxUid=Math.max(this._maxUid,L),this._numPositionUpdates=0}_parseCurrentHash(){let W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const L=unescape(ae()).substring(1),Q=(0,R.parseQueryString)(L),ce=Q.get("nameddest")||"";let de=Q.get("page")|0;return(!this._isValidPage(de)||W&&ce.length>0)&&(de=null),{hash:L,page:de,rotation:this.linkService.rotation}}_updateViewarea(W){let{location:L}=W;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:L.pdfOpenParams.substring(1),page:this.linkService.page,first:L.pageNumber,rotation:L.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this._tryPushCurrentPosition(!0),this._updateViewareaTimeout=null},e))}_popState(W){let{state:L}=W;const Q=ae(),ce=this._currentHash!==Q;if(this._currentHash=Q,!L){this._uid++;const{hash:oe,page:se,rotation:me}=this._parseCurrentHash();this._pushOrReplaceState({hash:oe,page:se,rotation:me},!0);return}if(!this._isValidState(L))return;this._popStateInProgress=!0,ce&&(this._blockHashChange++,(0,U.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:K}).then(()=>{this._blockHashChange--}));const de=L.destination;this._updateInternalState(de,L.uid,!0),(0,R.isValidRotation)(de.rotation)&&(this.linkService.rotation=de.rotation),de.dest?this.linkService.goToDestination(de.dest):de.hash?this.linkService.setHash(de.hash):de.page&&(this.linkService.page=de.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}_pageHide(){(!this._destination||this._destination.temporary)&&this._tryPushCurrentPosition()}_bindEvents(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}_unbindEvents(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}}D.PDFHistory=ie;function he(X,W){return typeof X!="string"||typeof W!="string"?!1:X===W||(0,R.parseQueryString)(X).get("nameddest")===W}function J(X,W){function L(Q,ce){if(typeof Q!=typeof ce||Array.isArray(Q)||Array.isArray(ce))return!1;if(Q!==null&&typeof Q=="object"&&ce!==null){if(Object.keys(Q).length!==Object.keys(ce).length)return!1;for(const de in Q)if(!L(Q[de],ce[de]))return!1;return!0}return Q===ce||Number.isNaN(Q)&&Number.isNaN(ce)}if(!(Array.isArray(X)&&Array.isArray(W))||X.length!==W.length)return!1;for(let Q=0,ce=X.length;Q{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFScriptingManager=void 0;var R=B(7),U=B(3);class K{constructor(e){let{eventBus:ae,sandboxBundleSrc:ie=null,scriptingFactory:he=null,docPropertiesLookup:J=null}=e;this._pdfDocument=null,this._pdfViewer=null,this._closeCapability=null,this._destroyCapability=null,this._scripting=null,this._mouseState=Object.create(null),this._ready=!1,this._eventBus=ae,this._sandboxBundleSrc=ie,this._scriptingFactory=he,this._docPropertiesLookup=J,this._scriptingFactory||window.addEventListener("updatefromsandbox",X=>{this._eventBus.dispatch("updatefromsandbox",{source:window,detail:X.detail})})}setViewer(e){this._pdfViewer=e}async setDocument(e){var ae;if(this._pdfDocument&&await this._destroyScripting(),this._pdfDocument=e,!e)return;const[ie,he,J]=await Promise.all([e.getFieldObjects(),e.getCalculationOrderIds(),e.getJSActions()]);if(!ie&&!J){await this._destroyScripting();return}if(e===this._pdfDocument){try{this._scripting=this._createScripting()}catch(X){console.error(`PDFScriptingManager.setDocument: "${X==null?void 0:X.message}".`),await this._destroyScripting();return}this._internalEvents.set("updatefromsandbox",X=>{(X==null?void 0:X.source)===window&&this._updateFromSandbox(X.detail)}),this._internalEvents.set("dispatcheventinsandbox",X=>{var W;(W=this._scripting)===null||W===void 0||W.dispatchEventInSandbox(X.detail)}),this._internalEvents.set("pagechanging",X=>{let{pageNumber:W,previous:L}=X;W!==L&&(this._dispatchPageClose(L),this._dispatchPageOpen(W))}),this._internalEvents.set("pagerendered",X=>{let{pageNumber:W}=X;this._pageOpenPending.has(W)&&W===this._pdfViewer.currentPageNumber&&this._dispatchPageOpen(W)}),this._internalEvents.set("pagesdestroy",async X=>{var W,L;await this._dispatchPageClose(this._pdfViewer.currentPageNumber),await((W=this._scripting)===null||W===void 0?void 0:W.dispatchEventInSandbox({id:"doc",name:"WillClose"})),(L=this._closeCapability)===null||L===void 0||L.resolve()}),this._domEvents.set("mousedown",X=>{this._mouseState.isDown=!0}),this._domEvents.set("mouseup",X=>{this._mouseState.isDown=!1});for(const[X,W]of this._internalEvents)this._eventBus._on(X,W);for(const[X,W]of this._domEvents)window.addEventListener(X,W,!0);try{const X=await this._getDocProperties();if(e!==this._pdfDocument)return;await this._scripting.createSandbox({objects:ie,calculationOrder:he,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...X,actions:J}}),this._eventBus.dispatch("sandboxcreated",{source:this})}catch(X){console.error(`PDFScriptingManager.setDocument: "${X==null?void 0:X.message}".`),await this._destroyScripting();return}await((ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"doc",name:"Open"})),await this._dispatchPageOpen(this._pdfViewer.currentPageNumber,!0),Promise.resolve().then(()=>{e===this._pdfDocument&&(this._ready=!0)})}}async dispatchWillSave(e){var ae;return(ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"doc",name:"WillSave"})}async dispatchDidSave(e){var ae;return(ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"doc",name:"DidSave"})}async dispatchWillPrint(e){var ae;return(ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"doc",name:"WillPrint"})}async dispatchDidPrint(e){var ae;return(ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"doc",name:"DidPrint"})}get mouseState(){return this._mouseState}get destroyPromise(){var e;return((e=this._destroyCapability)===null||e===void 0?void 0:e.promise)||null}get ready(){return this._ready}get _internalEvents(){return(0,U.shadow)(this,"_internalEvents",new Map)}get _domEvents(){return(0,U.shadow)(this,"_domEvents",new Map)}get _pageOpenPending(){return(0,U.shadow)(this,"_pageOpenPending",new Set)}get _visitedPages(){return(0,U.shadow)(this,"_visitedPages",new Map)}async _updateFromSandbox(e){const ae=this._pdfViewer.isInPresentationMode||this._pdfViewer.isChangingPresentationMode,{id:ie,siblings:he,command:J,value:X}=e;if(!ie){switch(J){case"clear":console.clear();break;case"error":console.error(X);break;case"layout":if(ae)return;const Q=(0,R.apiPageLayoutToViewerModes)(X);this._pdfViewer.spreadMode=Q.spreadMode;break;case"page-num":this._pdfViewer.currentPageNumber=X+1;break;case"print":await this._pdfViewer.pagesPromise,this._eventBus.dispatch("print",{source:this});break;case"println":console.log(X);break;case"zoom":if(ae)return;this._pdfViewer.currentScaleValue=X;break;case"SaveAs":this._eventBus.dispatch("download",{source:this});break;case"FirstPage":this._pdfViewer.currentPageNumber=1;break;case"LastPage":this._pdfViewer.currentPageNumber=this._pdfViewer.pagesCount;break;case"NextPage":this._pdfViewer.nextPage();break;case"PrevPage":this._pdfViewer.previousPage();break;case"ZoomViewIn":if(ae)return;this._pdfViewer.increaseScale();break;case"ZoomViewOut":if(ae)return;this._pdfViewer.decreaseScale();break}return}if(ae&&e.focus)return;delete e.id,delete e.siblings;const W=he?[ie,...he]:[ie];for(const Q of W){const ce=document.querySelector(`[data-element-id="${Q}"]`);if(ce)ce.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:e}));else{var L;(L=this._pdfDocument)===null||L===void 0||L.annotationStorage.setValue(Q,e)}}}async _dispatchPageOpen(e){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const ie=this._pdfDocument,he=this._visitedPages;if(ae&&(this._closeCapability=(0,U.createPromiseCapability)()),!this._closeCapability)return;const J=this._pdfViewer.getPageView(e-1);if((J==null?void 0:J.renderingState)!==R.RenderingStates.FINISHED){this._pageOpenPending.add(e);return}this._pageOpenPending.delete(e);const X=(async()=>{var W,L;const Q=await(he.has(e)?null:(W=J.pdfPage)===null||W===void 0?void 0:W.getJSActions());ie===this._pdfDocument&&await((L=this._scripting)===null||L===void 0?void 0:L.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:e,actions:Q}))})();he.set(e,X)}async _dispatchPageClose(e){var ae;const ie=this._pdfDocument,he=this._visitedPages;if(!this._closeCapability||this._pageOpenPending.has(e))return;const J=he.get(e);J&&(he.set(e,null),await J,ie===this._pdfDocument&&await((ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:e})))}async _getDocProperties(){if(this._docPropertiesLookup)return this._docPropertiesLookup(this._pdfDocument);const{docPropertiesLookup:e}=B(26);return e(this._pdfDocument)}_createScripting(){if(this._destroyCapability=(0,U.createPromiseCapability)(),this._scripting)throw new Error("_createScripting: Scripting already exists.");if(this._scriptingFactory)return this._scriptingFactory.createScripting({sandboxBundleSrc:this._sandboxBundleSrc});const{GenericScripting:e}=B(26);return new e(this._sandboxBundleSrc)}async _destroyScripting(){var e;if(!this._scripting){var ae;this._pdfDocument=null,(ae=this._destroyCapability)===null||ae===void 0||ae.resolve();return}this._closeCapability&&(await Promise.race([this._closeCapability.promise,new Promise(ie=>{setTimeout(ie,1e3)})]).catch(ie=>{}),this._closeCapability=null),this._pdfDocument=null;try{await this._scripting.destroySandbox()}catch{}for(const[ie,he]of this._internalEvents)this._eventBus._off(ie,he);this._internalEvents.clear();for(const[ie,he]of this._domEvents)window.removeEventListener(ie,he,!0);this._domEvents.clear(),this._pageOpenPending.clear(),this._visitedPages.clear(),this._scripting=null,delete this._mouseState.isDown,this._ready=!1,(e=this._destroyCapability)===null||e===void 0||e.resolve()}}D.PDFScriptingManager=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.GenericScripting=void 0,D.docPropertiesLookup=U;var R=B(3);async function U(z){const e="",ae=e.split("#")[0];let{info:ie,metadata:he,contentDispositionFilename:J,contentLength:X}=await z.getMetadata();if(!X){const{length:W}=await z.getDownloadInfo();X=W}return{...ie,baseURL:ae,filesize:X,filename:J||(0,R.getPdfFilenameFromUrl)(e),metadata:he==null?void 0:he.getRaw(),authors:he==null?void 0:he.get("dc:creator"),numPages:z.numPages,URL:e}}class K{constructor(e){this._ready=(0,R.loadScript)(e,!0).then(()=>window.pdfjsSandbox.QuickJSSandbox())}async createSandbox(e){(await this._ready).create(e)}async dispatchEventInSandbox(e){const ae=await this._ready;setTimeout(()=>ae.dispatchEvent(e),0)}async destroySandbox(){(await this._ready).nukeSandbox()}}D.GenericScripting=K}],G={};function V($){var D=G[$];if(D!==void 0)return D.exports;var B=G[$]={exports:{}};return M[$](B,B.exports,V),B.exports}var q={};return(()=>{var $=q;Object.defineProperty($,"__esModule",{value:!0}),Object.defineProperty($,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return K.AnnotationLayerBuilder}}),Object.defineProperty($,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return D.DefaultAnnotationLayerFactory}}),Object.defineProperty($,"DefaultStructTreeLayerFactory",{enumerable:!0,get:function(){return D.DefaultStructTreeLayerFactory}}),Object.defineProperty($,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return D.DefaultTextLayerFactory}}),Object.defineProperty($,"DefaultXfaLayerFactory",{enumerable:!0,get:function(){return D.DefaultXfaLayerFactory}}),Object.defineProperty($,"DownloadManager",{enumerable:!0,get:function(){return z.DownloadManager}}),Object.defineProperty($,"EventBus",{enumerable:!0,get:function(){return e.EventBus}}),Object.defineProperty($,"GenericL10n",{enumerable:!0,get:function(){return ae.GenericL10n}}),Object.defineProperty($,"LinkTarget",{enumerable:!0,get:function(){return B.LinkTarget}}),Object.defineProperty($,"NullL10n",{enumerable:!0,get:function(){return ie.NullL10n}}),Object.defineProperty($,"PDFFindController",{enumerable:!0,get:function(){return he.PDFFindController}}),Object.defineProperty($,"PDFHistory",{enumerable:!0,get:function(){return J.PDFHistory}}),Object.defineProperty($,"PDFLinkService",{enumerable:!0,get:function(){return B.PDFLinkService}}),Object.defineProperty($,"PDFPageView",{enumerable:!0,get:function(){return X.PDFPageView}}),Object.defineProperty($,"PDFScriptingManager",{enumerable:!0,get:function(){return W.PDFScriptingManager}}),Object.defineProperty($,"PDFSinglePageViewer",{enumerable:!0,get:function(){return U.PDFSinglePageViewer}}),Object.defineProperty($,"PDFViewer",{enumerable:!0,get:function(){return U.PDFViewer}}),Object.defineProperty($,"ProgressBar",{enumerable:!0,get:function(){return R.ProgressBar}}),Object.defineProperty($,"RenderingStates",{enumerable:!0,get:function(){return R.RenderingStates}}),Object.defineProperty($,"ScrollMode",{enumerable:!0,get:function(){return R.ScrollMode}}),Object.defineProperty($,"SimpleLinkService",{enumerable:!0,get:function(){return B.SimpleLinkService}}),Object.defineProperty($,"SpreadMode",{enumerable:!0,get:function(){return R.SpreadMode}}),Object.defineProperty($,"StructTreeLayerBuilder",{enumerable:!0,get:function(){return L.StructTreeLayerBuilder}}),Object.defineProperty($,"TextLayerBuilder",{enumerable:!0,get:function(){return Q.TextLayerBuilder}}),Object.defineProperty($,"XfaLayerBuilder",{enumerable:!0,get:function(){return ce.XfaLayerBuilder}}),Object.defineProperty($,"parseQueryString",{enumerable:!0,get:function(){return R.parseQueryString}});var D=V(1),B=V(6),R=V(7),U=V(11),K=V(5),z=V(18),e=V(19),ae=V(20),ie=V(4),he=V(22),J=V(24),X=V(13),W=V(25),L=V(8),Q=V(9),ce=V(10)})(),q})())})(pdf_viewer$1);var pdf_viewerExports=pdf_viewer$1.exports;const pdf_viewer="";var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function createCommonjsModule(k,m,M){return M={path:m,exports:{},require:function(G,V){return commonjsRequire(G,V??M.path)}},k(M,M.exports),M.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var check=function(k){return k&&k.Math==Math&&k},global_1=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof commonjsGlobal=="object"&&commonjsGlobal)||function(){return this}()||Function("return this")(),fails=function(k){try{return!!k()}catch{return!0}},descriptors=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1),f$4=NASHORN_BUG?function k(m){var M=getOwnPropertyDescriptor$2(this,m);return!!M&&M.enumerable}:$propertyIsEnumerable,objectPropertyIsEnumerable={f:f$4},createPropertyDescriptor=function(k,m){return{enumerable:!(k&1),configurable:!(k&2),writable:!(k&4),value:m}},toString={}.toString,classofRaw=function(k){return toString.call(k).slice(8,-1)},split="".split,indexedObject=fails(function(){return!Object("z").propertyIsEnumerable(0)})?function(k){return classofRaw(k)=="String"?split.call(k,""):Object(k)}:Object,requireObjectCoercible=function(k){if(k==null)throw TypeError("Can't call method on "+k);return k},toIndexedObject=function(k){return indexedObject(requireObjectCoercible(k))},isObject=function(k){return typeof k=="object"?k!==null:typeof k=="function"},aFunction$1=function(k){return typeof k=="function"?k:void 0},getBuiltIn=function(k,m){return arguments.length<2?aFunction$1(global_1[k]):global_1[k]&&global_1[k][m]},engineUserAgent=getBuiltIn("navigator","userAgent")||"",process$1=global_1.process,Deno$1=global_1.Deno,versions=process$1&&process$1.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8,match,version;v8?(match=v8.split("."),version=match[0]<4?1:match[0]+match[1]):engineUserAgent&&(match=engineUserAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=engineUserAgent.match(/Chrome\/(\d+)/),match&&(version=match[1])));var engineV8Version=version&&+version,nativeSymbol=!!Object.getOwnPropertySymbols&&!fails(function(){var k=Symbol();return!String(k)||!(Object(k)instanceof Symbol)||!Symbol.sham&&engineV8Version&&engineV8Version<41}),useSymbolAsUid=nativeSymbol&&!Symbol.sham&&typeof Symbol.iterator=="symbol",isSymbol=useSymbolAsUid?function(k){return typeof k=="symbol"}:function(k){var m=getBuiltIn("Symbol");return typeof m=="function"&&Object(k)instanceof m},ordinaryToPrimitive=function(k,m){var M,G;if(m==="string"&&typeof(M=k.toString)=="function"&&!isObject(G=M.call(k))||typeof(M=k.valueOf)=="function"&&!isObject(G=M.call(k))||m!=="string"&&typeof(M=k.toString)=="function"&&!isObject(G=M.call(k)))return G;throw TypeError("Can't convert object to primitive value")},setGlobal=function(k,m){try{Object.defineProperty(global_1,k,{value:m,configurable:!0,writable:!0})}catch{global_1[k]=m}return m},SHARED="__core-js_shared__",store$1=global_1[SHARED]||setGlobal(SHARED,{}),sharedStore=store$1,shared=createCommonjsModule(function(k){(k.exports=function(m,M){return sharedStore[m]||(sharedStore[m]=M!==void 0?M:{})})("versions",[]).push({version:"3.17.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),toObject=function(k){return Object(requireObjectCoercible(k))},hasOwnProperty={}.hasOwnProperty,has$1=Object.hasOwn||function k(m,M){return hasOwnProperty.call(toObject(m),M)},id=0,postfix=Math.random(),uid=function(k){return"Symbol("+String(k===void 0?"":k)+")_"+(++id+postfix).toString(36)},WellKnownSymbolsStore=shared("wks"),Symbol$1=global_1.Symbol,createWellKnownSymbol=useSymbolAsUid?Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid,wellKnownSymbol=function(k){return(!has$1(WellKnownSymbolsStore,k)||!(nativeSymbol||typeof WellKnownSymbolsStore[k]=="string"))&&(nativeSymbol&&has$1(Symbol$1,k)?WellKnownSymbolsStore[k]=Symbol$1[k]:WellKnownSymbolsStore[k]=createWellKnownSymbol("Symbol."+k)),WellKnownSymbolsStore[k]},TO_PRIMITIVE=wellKnownSymbol("toPrimitive"),toPrimitive=function(k,m){if(!isObject(k)||isSymbol(k))return k;var M=k[TO_PRIMITIVE],G;if(M!==void 0){if(m===void 0&&(m="default"),G=M.call(k,m),!isObject(G)||isSymbol(G))return G;throw TypeError("Can't convert object to primitive value")}return m===void 0&&(m="number"),ordinaryToPrimitive(k,m)},toPropertyKey=function(k){var m=toPrimitive(k,"string");return isSymbol(m)?m:String(m)},document$1=global_1.document,EXISTS=isObject(document$1)&&isObject(document$1.createElement),documentCreateElement=function(k){return EXISTS?document$1.createElement(k):{}},ie8DomDefine=!descriptors&&!fails(function(){return Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a!=7}),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,f$3=descriptors?$getOwnPropertyDescriptor:function k(m,M){if(m=toIndexedObject(m),M=toPropertyKey(M),ie8DomDefine)try{return $getOwnPropertyDescriptor(m,M)}catch{}if(has$1(m,M))return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(m,M),m[M])},objectGetOwnPropertyDescriptor={f:f$3},anObject=function(k){if(!isObject(k))throw TypeError(String(k)+" is not an object");return k},$defineProperty=Object.defineProperty,f$2=descriptors?$defineProperty:function k(m,M,G){if(anObject(m),M=toPropertyKey(M),anObject(G),ie8DomDefine)try{return $defineProperty(m,M,G)}catch{}if("get"in G||"set"in G)throw TypeError("Accessors not supported");return"value"in G&&(m[M]=G.value),m},objectDefineProperty={f:f$2},createNonEnumerableProperty=descriptors?function(k,m,M){return objectDefineProperty.f(k,m,createPropertyDescriptor(1,M))}:function(k,m,M){return k[m]=M,k},functionToString=Function.toString;typeof sharedStore.inspectSource!="function"&&(sharedStore.inspectSource=function(k){return functionToString.call(k)});var inspectSource=sharedStore.inspectSource,WeakMap$1=global_1.WeakMap,nativeWeakMap=typeof WeakMap$1=="function"&&/native code/.test(inspectSource(WeakMap$1)),keys$1=shared("keys"),sharedKey=function(k){return keys$1[k]||(keys$1[k]=uid(k))},hiddenKeys$1={},OBJECT_ALREADY_INITIALIZED="Object already initialized",WeakMap$2=global_1.WeakMap,set,get,has,enforce=function(k){return has(k)?get(k):set(k,{})},getterFor=function(k){return function(m){var M;if(!isObject(m)||(M=get(m)).type!==k)throw TypeError("Incompatible receiver, "+k+" required");return M}};if(nativeWeakMap||sharedStore.state){var store=sharedStore.state||(sharedStore.state=new WeakMap$2),wmget=store.get,wmhas=store.has,wmset=store.set;set=function(k,m){if(wmhas.call(store,k))throw new TypeError(OBJECT_ALREADY_INITIALIZED);return m.facade=k,wmset.call(store,k,m),m},get=function(k){return wmget.call(store,k)||{}},has=function(k){return wmhas.call(store,k)}}else{var STATE=sharedKey("state");hiddenKeys$1[STATE]=!0,set=function(k,m){if(has$1(k,STATE))throw new TypeError(OBJECT_ALREADY_INITIALIZED);return m.facade=k,createNonEnumerableProperty(k,STATE,m),m},get=function(k){return has$1(k,STATE)?k[STATE]:{}},has=function(k){return has$1(k,STATE)}}var internalState={set,get,has,enforce,getterFor},redefine=createCommonjsModule(function(k){var m=internalState.get,M=internalState.enforce,G=String(String).split("String");(k.exports=function(V,q,$,D){var B=D?!!D.unsafe:!1,R=D?!!D.enumerable:!1,U=D?!!D.noTargetGet:!1,K;if(typeof $=="function"&&(typeof q=="string"&&!has$1($,"name")&&createNonEnumerableProperty($,"name",q),K=M($),K.source||(K.source=G.join(typeof q=="string"?q:""))),V===global_1){R?V[q]=$:setGlobal(q,$);return}else B?!U&&V[q]&&(R=!0):delete V[q];R?V[q]=$:createNonEnumerableProperty(V,q,$)})(Function.prototype,"toString",function(){return typeof this=="function"&&m(this).source||inspectSource(this)})}),ceil=Math.ceil,floor=Math.floor,toInteger=function(k){return isNaN(k=+k)?0:(k>0?floor:ceil)(k)},min$1=Math.min,toLength=function(k){return k>0?min$1(toInteger(k),9007199254740991):0},max=Math.max,min=Math.min,toAbsoluteIndex=function(k,m){var M=toInteger(k);return M<0?max(M+m,0):min(M,m)},createMethod$3=function(k){return function(m,M,G){var V=toIndexedObject(m),q=toLength(V.length),$=toAbsoluteIndex(G,q),D;if(k&&M!=M){for(;q>$;)if(D=V[$++],D!=D)return!0}else for(;q>$;$++)if((k||$ in V)&&V[$]===M)return k||$||0;return!k&&-1}},arrayIncludes={includes:createMethod$3(!0),indexOf:createMethod$3(!1)},indexOf=arrayIncludes.indexOf,objectKeysInternal=function(k,m){var M=toIndexedObject(k),G=0,V=[],q;for(q in M)!has$1(hiddenKeys$1,q)&&has$1(M,q)&&V.push(q);for(;m.length>G;)has$1(M,q=m[G++])&&(~indexOf(V,q)||V.push(q));return V},enumBugKeys=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],hiddenKeys=enumBugKeys.concat("length","prototype"),f$1=Object.getOwnPropertyNames||function k(m){return objectKeysInternal(m,hiddenKeys)},objectGetOwnPropertyNames={f:f$1},f=Object.getOwnPropertySymbols,objectGetOwnPropertySymbols={f},ownKeys=getBuiltIn("Reflect","ownKeys")||function k(m){var M=objectGetOwnPropertyNames.f(anObject(m)),G=objectGetOwnPropertySymbols.f;return G?M.concat(G(m)):M},copyConstructorProperties=function(k,m){for(var M=ownKeys(m),G=objectDefineProperty.f,V=objectGetOwnPropertyDescriptor.f,q=0;qhe;he++)if((D||he in e)&&(W=e[he],L=ae(W,he,z),k))if(m)X[he]=L;else if(L)switch(k){case 3:return!0;case 5:return W;case 6:return he;case 2:push.call(X,W)}else switch(k){case 4:return!1;case 7:push.call(X,W)}return q?-1:G||V?V:X}},arrayIteration={forEach:createMethod$2(0),map:createMethod$2(1),filter:createMethod$2(2),some:createMethod$2(3),every:createMethod$2(4),find:createMethod$2(5),findIndex:createMethod$2(6),filterReject:createMethod$2(7)},arrayMethodIsStrict=function(k,m){var M=[][k];return!!M&&fails(function(){M.call(null,m||function(){throw 1},1)})},$forEach=arrayIteration.forEach,STRICT_METHOD=arrayMethodIsStrict("forEach"),arrayForEach=STRICT_METHOD?[].forEach:function k(m){return $forEach(this,m,arguments.length>1?arguments[1]:void 0)};_export({target:"Array",proto:!0,forced:[].forEach!=arrayForEach},{forEach:arrayForEach});var domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},classList=documentCreateElement("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype,handlePrototype=function(k){if(k&&k.forEach!==arrayForEach)try{createNonEnumerableProperty(k,"forEach",arrayForEach)}catch{k.forEach=arrayForEach}};for(var COLLECTION_NAME in domIterables)handlePrototype(global_1[COLLECTION_NAME]&&global_1[COLLECTION_NAME].prototype);handlePrototype(domTokenListPrototype);var objectKeys=Object.keys||function k(m){return objectKeysInternal(m,enumBugKeys)},propertyIsEnumerable=objectPropertyIsEnumerable.f,createMethod$1=function(k){return function(m){for(var M=toIndexedObject(m),G=objectKeys(M),V=G.length,q=0,$=[],D;V>q;)D=G[q++],(!descriptors||propertyIsEnumerable.call(M,D))&&$.push(k?[D,M[D]]:M[D]);return $}},objectToArray={entries:createMethod$1(!0),values:createMethod$1(!1)},$entries=objectToArray.entries;_export({target:"Object",stat:!0},{entries:function k(m){return $entries(m)}});var aPossiblePrototype=function(k){if(!isObject(k)&&k!==null)throw TypeError("Can't set "+String(k)+" as a prototype");return k},objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var k=!1,m={},M;try{M=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,M.call(m,[]),k=m instanceof Array}catch{}return function(V,q){return anObject(V),aPossiblePrototype(q),k?M.call(V,q):V.__proto__=q,V}}():void 0),inheritIfRequired=function(k,m,M){var G,V;return objectSetPrototypeOf&&typeof(G=m.constructor)=="function"&&G!==M&&isObject(V=G.prototype)&&V!==M.prototype&&objectSetPrototypeOf(k,V),k},objectDefineProperties=descriptors?Object.defineProperties:function k(m,M){anObject(m);for(var G=objectKeys(M),V=G.length,q=0,$;V>q;)objectDefineProperty.f(m,$=G[q++],M[$]);return m},html=getBuiltIn("document","documentElement"),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(k){return LT+SCRIPT+GT+k+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(k){k.write(scriptTag("")),k.close();var m=k.parentWindow.Object;return k=null,m},NullProtoObjectViaIFrame=function(){var k=documentCreateElement("iframe"),m="java"+SCRIPT+":",M;return k.style.display="none",html.appendChild(k),k.src=String(m),M=k.contentWindow.document,M.open(),M.write(scriptTag("document.F=Object")),M.close(),M.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var k=enumBugKeys.length;k--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[k]];return NullProtoObject()};hiddenKeys$1[IE_PROTO]=!0;var objectCreate=Object.create||function k(m,M){var G;return m!==null?(EmptyConstructor[PROTOTYPE]=anObject(m),G=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,G[IE_PROTO]=m):G=NullProtoObject(),M===void 0?G:objectDefineProperties(G,M)},toString_1=function(k){if(isSymbol(k))throw TypeError("Cannot convert a Symbol value to a string");return String(k)},whitespaces=` -\v\f\r                 \u2028\u2029\uFEFF`,whitespace="["+whitespaces+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod=function(k){return function(m){var M=toString_1(requireObjectCoercible(m));return k&1&&(M=M.replace(ltrim,"")),k&2&&(M=M.replace(rtrim,"")),M}},stringTrim={start:createMethod(1),end:createMethod(2),trim:createMethod(3)},getOwnPropertyNames=objectGetOwnPropertyNames.f,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,defineProperty=objectDefineProperty.f,trim$1=stringTrim.trim,NUMBER="Number",NativeNumber=global_1[NUMBER],NumberPrototype=NativeNumber.prototype,BROKEN_CLASSOF=classofRaw(objectCreate(NumberPrototype))==NUMBER,toNumber=function(k){if(isSymbol(k))throw TypeError("Cannot convert a Symbol value to a number");var m=toPrimitive(k,"number"),M,G,V,q,$,D,B,R;if(typeof m=="string"&&m.length>2){if(m=trim$1(m),M=m.charCodeAt(0),M===43||M===45){if(G=m.charCodeAt(2),G===88||G===120)return NaN}else if(M===48){switch(m.charCodeAt(1)){case 66:case 98:V=2,q=49;break;case 79:case 111:V=8,q=55;break;default:return+m}for($=m.slice(2),D=$.length,B=0;Bq)return NaN;return parseInt($,V)}}return+m};if(isForced_1(NUMBER,!NativeNumber(" 0o1")||!NativeNumber("0b1")||NativeNumber("+0x1"))){for(var NumberWrapper=function(m){var M=arguments.length<1?0:m,G=this;return G instanceof NumberWrapper&&(BROKEN_CLASSOF?fails(function(){NumberPrototype.valueOf.call(G)}):classofRaw(G)!=NUMBER)?inheritIfRequired(new NativeNumber(toNumber(M)),G,NumberWrapper):toNumber(M)},keys=descriptors?getOwnPropertyNames(NativeNumber):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),j=0,key;keys.length>j;j++)has$1(NativeNumber,key=keys[j])&&!has$1(NumberWrapper,key)&&defineProperty(NumberWrapper,key,getOwnPropertyDescriptor(NativeNumber,key));NumberWrapper.prototype=NumberPrototype,NumberPrototype.constructor=NumberWrapper,redefine(global_1,NUMBER,NumberWrapper)}var trim=stringTrim.trim,$parseFloat=global_1.parseFloat,FORCED=1/$parseFloat(whitespaces+"-0")!==-1/0,numberParseFloat=FORCED?function k(m){var M=trim(toString_1(m)),G=$parseFloat(M);return G===0&&M.charAt(0)=="-"?-0:G}:$parseFloat;_export({global:!0,forced:parseFloat!=numberParseFloat},{parseFloat:numberParseFloat});var slice=[].slice,MSIE=/MSIE .\./.test(engineUserAgent),wrap=function(k){return function(m,M){var G=arguments.length>2,V=G?slice.call(arguments,2):void 0;return k(G?function(){(typeof m=="function"?m:Function(m)).apply(this,V)}:m,M)}};_export({global:!0,bind:!0,forced:MSIE},{setTimeout:wrap(global_1.setTimeout),setInterval:wrap(global_1.setInterval)});function __awaiter(k,m,M,G){function V(q){return q instanceof M?q:new M(function($){$(q)})}return new(M||(M=Promise))(function(q,$){function D(U){try{R(G.next(U))}catch(K){$(K)}}function B(U){try{R(G.throw(U))}catch(K){$(K)}}function R(U){U.done?q(U.value):V(U.value).then(D,B)}R((G=G.apply(k,m||[])).next())})}function __generator(k,m){var M={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},G,V,q,$;return $={next:D(0),throw:D(1),return:D(2)},typeof Symbol=="function"&&($[Symbol.iterator]=function(){return this}),$;function D(R){return function(U){return B([R,U])}}function B(R){if(G)throw new TypeError("Generator is already executing.");for(;M;)try{if(G=1,V&&(q=R[0]&2?V.return:R[0]?V.throw||((q=V.return)&&q.call(V),0):V.next)&&!(q=q.call(V,R[1])).done)return q;switch(V=0,q&&(R=[R[0]&2,q.value]),R[0]){case 0:case 1:q=R;break;case 4:return M.label++,{value:R[1],done:!1};case 5:M.label++,V=R[1],R=[0];continue;case 7:R=M.ops.pop(),M.trys.pop();continue;default:if(q=M.trys,!(q=q.length>0&&q[q.length-1])&&(R[0]===6||R[0]===2)){M=0;continue}if(R[0]===3&&(!q||R[1]>q[0]&&R[1]"u")){var G=document.head||document.getElementsByTagName("head")[0],V=document.createElement("style");V.type="text/css",M==="top"&&G.firstChild?G.insertBefore(V,G.firstChild):G.appendChild(V),V.styleSheet?V.styleSheet.cssText=k:V.appendChild(document.createTextNode(k))}}var css_248z=".vue-pdf__wrapper{position:relative}.vue-pdf__wrapper-text-layer br{display:none}.vue-pdf__wrapper-annotation-layer{position:absolute}.vue-pdf__wrapper-annotation-layer .linkAnnotation{position:absolute;z-index:1}.vue-pdf__wrapper-annotation-layer .linkAnnotation a{width:100%;height:100%;display:inline-block}";styleInject(css_248z);script.render=render$2;const _hoisted_1$7={class:"flex justify-between items-end w-full bg-transparent"},_hoisted_2$6={key:0,class:"flex flex-nowrap overflow-x-auto scrollbar-hide ml-2"},_hoisted_3$6=["onClick"],_hoisted_4$5=createBaseVNode("div",{class:"flex-1 bg-transparent"},null,-1),_hoisted_5$5={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},_hoisted_6$5={class:"py-1"},_hoisted_7$5=["onClick"],_hoisted_8$4={href:"#",class:"flex w-full items-center px-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_9$4={class:"py-1"},_hoisted_10$3=["onClick"],_hoisted_11$3={href:"#",class:"flex w-full items-center px-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_12$2={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},_hoisted_13$2={class:"py-1"},_hoisted_14$2=["onClick"],_hoisted_15$2={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_16$2={class:"flex flex-1 justify-center"},_hoisted_17$2={class:"w-28"},_hoisted_18$2={class:"py-1"},_hoisted_19$1=["onClick"],_hoisted_20$1={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_21={class:"flex flex-1 justify-center"},_hoisted_22={class:"w-28"},_hoisted_23={key:0,class:"flex items-center py-2 px-2 rounded-lg w-full cursor-pointer transition duration-150 ease-in-out"},_hoisted_24=createBaseVNode("p",{class:"text-sm text-gray-500 dark:text-gray-400 flex-grow truncate"}," 使用 @ 搜索应用程序 ",-1),_hoisted_25=[_hoisted_24],_hoisted_26=["onClick"],_hoisted_27={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},_hoisted_28=["src"],_hoisted_29={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},_hoisted_30={class:"text-md font-bold text-gray-600 dark:text-primary-500 mr-3 flex-shrink-0"},_hoisted_31={class:"text-sm text-gray-400 dark:text-gray-400 flex-grow truncate"},_hoisted_32={key:0,class:"self-start w-full bg-opacity dark:bg-gray-700 rounded-lg"},_hoisted_33=["src"],_hoisted_34=["onClick"],_hoisted_35={key:1,class:"relative group w-full"},_hoisted_36={class:"px-3 flex items-center justify-start bg-opacity rounded-t-lg h-12 text-gray-700 dark:text-gray-400"},_hoisted_37={class:"text-gray-500"},_hoisted_38={class:"px-2 flex items-center justify-start rounded-t-lg h-12 text-gray-700 bg-opacity dark:bg-gray-700 dark:text-gray-400 w-full"},_hoisted_39={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},_hoisted_40=["src"],_hoisted_41={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},_hoisted_42={class:"text-md font-bold text-gray-700 dark:text-gray-400 mr-3 flex-shrink-0 flex justify-start"},_hoisted_43={class:"text-sm text-gray-400 dark:text-gray-400 truncate pr-10"},_hoisted_44={class:"px-2 flex items-center justify-start bg-opacity rounded-t-lg h-12 text-gray-700 dark:text-gray-400 w-full dark:bg-gray-700"},_hoisted_45={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},_hoisted_46=["src"],_hoisted_47={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},_hoisted_48={class:"text-md font-bold text-gray-600 dark:text-gray-400 mr-3 flex-shrink-0 flex justify-start"},_hoisted_49={class:"text-sm text-gray-400 dark:text-gray-400 truncate pr-10"},_hoisted_50={class:"flex justify-between flex-grow w-full py-2 px-2"},_hoisted_51={class:"flex justify-start items-end"},_hoisted_52={class:"flex flex-grow items-center justify-center"},_hoisted_53=["placeholder"],_hoisted_54={class:"flex justify-end items-end"},_hoisted_55=["disabled"],_hoisted_56={key:0,class:"w-full flex justify-center items-center text-sm text-gray-500"},_hoisted_57={class:"transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400 ml-2",href:"https://beian.miit.gov.cn",target:"_blank"},_sfc_main$7=defineComponent({__name:"index",emits:["pause-request"],setup(k,{emit:m}){const M=inject("onConversation"),G=useRoute(),V=useGlobalStoreWithOut(),q=useAuthStore(),$=useChatStore(),D=m,B=ref([{id:"square",title:t$3("chat.square1"),values:"1:1",aspectRatio:"1 / 1"},{id:"illustration",title:t$3("chat.illustration"),values:"4:3",aspectRatio:"4 / 3"},{id:"wallpaper",title:t$3("chat.wallpaper"),values:"16:9",aspectRatio:"16 / 9"},{id:"media",title:t$3("chat.media"),values:"3:4",aspectRatio:"3 / 4"},{id:"poster",title:t$3("chat.poster"),values:"9:16",aspectRatio:"9 / 16"}]),R=ref([{title:"6.1",values:"--v 6.1"},{title:"5.2",values:"--v 5.2"},{title:"卡通",values:"--niji 6"}]),U=ref([{title:t$3("chat.imageToImage"),values:"imageToImage"},{title:t$3("chat.faceConsistency"),values:"faceConsistency"},{title:t$3("chat.styleConsistency"),values:"styleConsistency"},{title:"以图生文",values:"imageToText"}]),K=ref([{id:"default",title:t$3("chat.square"),values:"1024x1024",aspectRatio:"1024 / 1024"},{id:"landscape",title:t$3("chat.landscape"),values:"1792x1024",aspectRatio:"1792 / 1024"},{id:"portrait",title:t$3("chat.portrait"),values:"1024x1792",aspectRatio:"1024 / 1792"}]),z=ref(!1),e=ref(!0),ae=ref(),ie=ref(!1),he=ref([]),J=computed(()=>G.path==="/pdf"),X=ref(null),W=ref({size:"",style:""}),L=ref(),Q=ref("--v 6.1"),ce=ref([]),de=ref(K.value[0]),oe=ref(U.value[0]),se=ref(R.value[0]),me=ref(""),Ee=ref(""),ke=ref(""),xe=ref(!1),fe=ref(),ve=ref(!1);let ye=null;const Ce=computed({get:()=>$.prompt,set:Xt=>{$.setPrompt(Xt)}}),pe=computed(()=>q.globalConfig),_e=computed(()=>{var Xt,At;return((Xt=pe.value)==null?void 0:Xt.companyName)&&((At=pe.value)==null?void 0:At.filingNumber)}),{isMobile:Ge}=useBasicLayout(),Te=computed(()=>$.currentPlugin),Ne=computed(()=>$.isStreamIn!==void 0?$.isStreamIn:!1),Ze=computed(()=>$.chatList),ze=ref("/api/upload/file"),Ae=computed(()=>String(Ie==null?void 0:Ie.value.modelInfo.modelName)),De=computed(()=>Number(Ie==null?void 0:Ie.value.modelInfo.keyType)),Ue=computed(()=>$.active),we=computed(()=>$.getChatByGroupInfo()),Ie=computed(()=>{var At;const Xt=(At=we.value)==null?void 0:At.config;if(!Xt)return{};try{return JSON.parse(Xt)}catch{return{}}}),Be=computed(()=>{var Xt,At;return String(((At=(Xt=Ie==null?void 0:Ie.value)==null?void 0:Xt.fileInfo)==null?void 0:At.fileParsing)||"")}),Ke=computed(()=>{var Xt,At;return String(((At=(Xt=Ie==null?void 0:Ie.value)==null?void 0:Xt.fileInfo)==null?void 0:At.fileName)||"")}),Ve=computed(()=>{var Xt,At;return String(((At=(Xt=Ie==null?void 0:Ie.value)==null?void 0:Xt.modelInfo)==null?void 0:At.model)??"")}),je=computed(()=>{var Xt,At;return Number((At=(Xt=Ie==null?void 0:Ie.value)==null?void 0:Xt.modelInfo)==null?void 0:At.isFileUpload)}),Le=computed(()=>[1,2,3].includes(je.value)),et=computed(()=>{var Xt;return Ve.value==="dall-e-3"||((Xt=Te.value)==null?void 0:Xt.parameters)==="dall-e-3"}),Qe=computed(()=>{var Xt;return Ve.value.includes("flux")||((Xt=Te.value)==null?void 0:Xt.parameters.includes("flux"))}),Fe=computed(()=>{var Xt;return Ve.value==="midjourney"||((Xt=Te.value)==null?void 0:Xt.parameters)==="midjourney"}),$e=computed(()=>{var Xt;return Ve.value==="ai-ppt"||((Xt=Te.value)==null?void 0:Xt.parameters)==="ai-ppt"}),Ye=computed(()=>{var Xt;return Ve.value==="luma-video"||((Xt=Te.value)==null?void 0:Xt.parameters)==="luma-video"}),tt=computed(()=>{var Xt;return Ve.value==="cog-video"||((Xt=Te.value)==null?void 0:Xt.parameters)==="cog-video"}),ot=computed(()=>V.clipboardText),st=computed(()=>Ge.value?t$3("chat.placeholderMobile"):t$3("chat.placeholder")),dt=computed(()=>Ne.value||(!Ce.value||Ce.value.trim()==="")&&!(Ft.value.length>0)),ct=(Xt,At=16)=>{const[zt,Br]=Xt.split(" / ").map(Number),br=zt/Br;return Br>zt?{width:`${At*br}px`,height:`${At}px`}:{width:`${At}px`,height:`${At/br}px`}},mt=Xt=>{if(Xt.id==="custom"){const At=`${me.value}:${Ee.value}`;de.value={...Xt,values:At,aspectRatio:`${me.value} / ${Ee.value}`},W.value.size=At}else de.value=Xt,W.value.size=Xt.values},ut=Xt=>{se.value=Xt,Q.value=Xt.values},rt=Xt=>{Ft.value.length>0||$t(),oe.value=Xt,L.value=Xt.values},He=()=>{if(X.value){const Xt=X.value,At=8,zt="1.5rem";Xt.style.height=zt;const Br=Ce.value.split(` -`).reduce((sr,ur)=>{const Cr=Math.floor(Xt.clientWidth/8);return sr+Math.ceil(ur.length/Cr)},0),br=parseFloat(window.getComputedStyle(Xt).lineHeight)||20,Ur=br*At,un=br*Br;Xt.style.height=Math.min(un,Ur)+"px"}};watch(Ce,()=>{nextTick(()=>{He()})},{immediate:!0});const Je=async Xt=>{const zt=Xt.target.value;if(xe.value=zt.startsWith("@"),ye&&clearTimeout(ye),xe.value&&!ve.value){const Br=zt.slice(1);ye=setTimeout(async()=>{if(Br.length>0)try{const br=await fetchSearchAppsAPI({keyword:Br});he.value=br.data.rows}catch(br){console.error("Error fetching search results:",br),he.value=[]}else he.value=[]},1e3)}else he.value=[]},St=computed(()=>{var Xt,At;return String(((Xt=Te==null?void 0:Te.value)==null?void 0:Xt.pluginImg)||((At=Ie==null?void 0:Ie.value.modelInfo)==null?void 0:At.modelAvatar)||"")}),bt=()=>{var Br;const At=((Br=pe.value)==null?void 0:Br.drawingStyles.split(",")).sort(()=>.5-Math.random()),zt=Ge.value?3:5;ce.value=At.slice(0,zt)};async function pt(Xt){Ce.value&&/,\s*$/.test(Ce.value)?await $.setPrompt(`${Ce.value} ${Xt}`):Ce.value?await $.setPrompt(`${Ce.value}, ${Xt}`):await $.setPrompt(`${Xt}`),X.value.focus(),X.value.scrollTop=X.value.scrollHeight}const wt=inject("createNewChatGroup",()=>Promise.resolve()),Pt=async Xt=>{var Cr,Tr,jt,Wr,ir,Gr,Jr,Xr,fn,cn,nn,ar,xr,Lr;if(Ne.value)return;$.groupList.length===0&&await wt(),$.setStreamIn(!0);let At="";((Cr=Te.value)==null?void 0:Cr.parameters)==="suno-music"?At="LYRICS":((Tr=Te.value)==null?void 0:Tr.parameters)==="midjourney"&&(L.value==="imageToText"?At="DESCRIBE":At="IMAGINE");let zt=((jt=fe==null?void 0:fe.value)==null?void 0:jt.model)||($==null?void 0:$.activeModel),Br=((Wr=Te==null?void 0:Te.value)==null?void 0:Wr.pluginName)||((ir=fe==null?void 0:fe.value)==null?void 0:ir.name)||Ae.value;const br=De.value;(Gr=Te.value)!=null&&Gr.deductType&&((Jr=Te.value)==null?void 0:Jr.deductType)!==0&&(zt=(Xr=Te.value)==null?void 0:Xr.parameters);let Ur=((fn=fe==null?void 0:fe.value)==null?void 0:fn.coverImg)||St.value,un;fe!=null&&fe.value?un=(cn=fe==null?void 0:fe.value)==null?void 0:cn.id:un=(nn=we==null?void 0:we.value)==null?void 0:nn.appId;let sr="";console.log(Ce);let ur=Ce.value||"";if($e.value&&sr.length===0&&(ur=`使用 ${Ke} 生成 PPT`),(je.value===1||je.value===2||je.value===3&&((ar=Yt.value[0])!=null&&ar.type.startsWith("image/"))||Fe.value||Ye.value||$e.value||tt.value)&&Ft.value.length>0&&(console.log("满足文件上传条件,开始上传文件"),sr=await Nt(),console.log("文件上传成功,文件 URL:",sr),ie.value=!1,Ft.value=[],Yt.value=[]),zt==="midjourney"&&At==="IMAGINE"){if(sr)switch(L.value){case"faceConsistency":ur=`${ur} --cref ${sr} --cw 100`;break;case"styleConsistency":ur=`${ur} --sref ${sr}`;break;default:ur=`${sr} ${ur}`}if(W.value.size&&!ur.includes("--ar")){let Rr=W.value.size;switch(Rr){case"1024x1024":Rr="1:1";break;case"1792x1024":Rr="16:9";break;case"1024x1792":Rr="9:16";break}ur=`${ur} --ar ${Rr}`}Q.value&&!ur.includes("--v")&&!ur.includes("--niji")&&(ur=`${ur} ${Q.value}`)}if(At==="DESCRIBE"&&sr&&(ur="以图生文"),un)try{Ur=(await fetchQueryOneCatAPI({id:un})).data.modelAvatar}catch{}await $.setPrompt(""),Ft.value=[],Yt.value=[],X.value.style.height="1.5rem",console.log("开始对话",{prompt:Ce,action:At,useModel:zt,useModelName:Br,useModelType:br,modelAvatar:Ur,appId:un,extraParam:W.value,fileUrl:sr,pluginParam:(xr=Te.value)==null?void 0:xr.parameters}),await M({msg:ur,action:At,model:zt,modelName:Br,modelType:br,modelAvatar:Ur,appId:un,extraParam:W.value,fileUrl:sr,pluginParam:(Lr=Te.value)==null?void 0:Lr.parameters}),$.setStreamIn(!1),ie.value=!1},Nt=async()=>{ie.value=!0;const Xt=[];try{const At=new Date,zt=At.getFullYear(),Br=String(At.getMonth()+1).padStart(2,"0"),br=String(At.getDate()).padStart(2,"0"),un=`userFiles/${`${zt}${Br}/${br}`}`,sr=Array.from(Yt.value).map(async ur=>{var Tr;const Cr=new FormData;Cr.append("file",ur);try{const jt=await axios.post(`${ze.value}?dir=${encodeURIComponent(un)}`,Cr,{headers:{"Content-Type":"multipart/form-data"}});return(Tr=jt==null?void 0:jt.data)==null?void 0:Tr.data}catch(jt){return console.error(`上传文件 ${ur.name} 失败:`,jt),`上传文件 ${ur.name} 失败`}});Xt.push(...await Promise.all(sr))}catch(At){console.error("上传文件过程中发生错误:",At)}finally{ie.value=!1}return Xt.join(", ")},Vt=async Xt=>{const zt=(Xt.clipboardData||window.clipboardData).items;for(const Br of zt)if(Br.kind==="file"){const br=Br.getAsFile();br&&await Wt(br)}},Wt=async Xt=>{let At=Xt.name;const zt=25,Br=At.split(".").pop()||"";if(At.length>zt&&(At=At.substring(0,zt-Br.length-1)+"…."+Br),Xt.type.startsWith("image/"))e.value=!1,await Mt(),Jt(Xt);else if(e.value=!0,Ft.value=[],Yt.value=[],Jt(Xt),je.value===3&&!$e.value&&!tt.value&&!Ye.value&&!Fe.value){const br=await Dt();br&&await cr({fileName:At,fileParsing:br})}else await cr({fileName:At});$e.value&&await $.setPrompt(`使用 ${At} 生成 PPT`)};async function Mt(){await cr({fileParsing:"",fileName:""});const Xt=Yt.value.filter(zt=>zt.type.startsWith("image/")),At=Ft.value.filter((zt,Br)=>Yt.value[Br]&&Yt.value[Br].type.startsWith("image/"));Yt.value=Xt,Ft.value=At,Yt.value.length>=4&&(Yt.value.shift(),Ft.value.shift())}const $t=()=>{var Xt;(Xt=ae==null?void 0:ae.value)==null||Xt.click()},Yt=ref([]),Ft=ref([]),Jt=async Xt=>{Yt.value.push(Xt);const At=new FileReader;At.onload=zt=>{var br;const Br=(br=zt.target)==null?void 0:br.result;Ft.value.push(Br),console.log(`文件 ${Xt.name} 的 Base64 数据已添加`)},At.readAsDataURL(Xt),ae.value=null},er=async Xt=>{Ft.value.splice(Xt,1),Yt.value.splice(Xt,1),await cr({fileParsing:"",fileName:""})},Bt=async Xt=>{var Br;console.log("文件选择事件触发");const At=Xt.target,zt=(Br=At==null?void 0:At.files)==null?void 0:Br[0];zt&&(await Wt(zt),At.value="")},It=async()=>{he.value=[],xe.value=!1,ve.value=!1,fe.value=null,$.setUsingPlugin(null)},Dt=async()=>{ie.value=!0;try{if(!Yt.value.length)throw new Error("No file selected");const Xt=Yt.value[0],At=Xt.type;let zt="";if(At.startsWith("text/"))zt=await kr(Xt);else switch(At){case"application/pdf":zt=await Zt(Xt);break;case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":zt=await gr(Xt,"word/document.xml","word");break;case"application/vnd.openxmlformats-officedocument.presentationml.presentation":zt=await gr(Xt,"ppt/slides/slide1.xml","ppt");break;case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":zt=await gr(Xt,"xl/worksheets/sheet1.xml","excel");break;case"application/xml":case"application/javascript":case"application/xslt+xml":case"application/json":case"application/sql":zt=await kr(Xt);break;default:console.warn("Unsupported file type:",At),alert("Unsupported file type")}return zt.length>5e4&&(console.warn("Text exceeds 50000 characters, truncating..."),zt=zt.slice(0,5e4)),zt}catch(Xt){return console.error(Xt),null}finally{ie.value=!1,Ft.value=[],Yt.value=[]}},Zt=async Xt=>{try{const At=await Xt.arrayBuffer(),zt=new Uint8Array(At),br=await createLoadingTask(zt).promise;let Ur="";for(let un=1;un<=br.numPages;un++){const Cr=(await(await br.getPage(un)).getTextContent()).items.map(Tr=>"str"in Tr?Tr.str:"").join(" ");Ur+=`{${Cr}} +`}}class Ce extends de{constructor(Ze){super(Ze,"span")}}class pe extends de{constructor(Ze){super(Ze,"sub")}}class _e extends de{constructor(Ze){super(Ze,"sup")}}class Ge extends de{constructor(Ze){super(Ze,"ul")}}class Ae{static[U.$buildXFAObject](Ze,ze){if(Ae.hasOwnProperty(Ze))return Ae[Ze](ze)}static a(Ze){return new se(Ze)}static b(Ze){return new oe(Ze)}static body(Ze){return new me(Ze)}static br(Ze){return new Ee(Ze)}static html(Ze){return new ke(Ze)}static i(Ze){return new xe(Ze)}static li(Ze){return new fe(Ze)}static ol(Ze){return new ve(Ze)}static p(Ze){return new ye(Ze)}static span(Ze){return new Ce(Ze)}static sub(Ze){return new pe(Ze)}static sup(Ze){return new _e(Ze)}static ul(Ze){return new Ge(Ze)}}D.XhtmlNamespace=Ae},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.UnknownNamespace=void 0;var R=B(204),U=B(202);class K{constructor(e){this.namespaceId=e}[R.$buildXFAObject](e,ae){return new U.XmlObject(this.namespaceId,e,ae)}}D.UnknownNamespace=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.DatasetReader=void 0;var R=B(2),U=B(131),K=B(191);function z(ie){try{return(0,R.stringToUTF8String)(ie)}catch(he){return(0,R.warn)(`UTF-8 decoding failed: "${he}".`),ie}}class e extends K.SimpleXMLParser{constructor(he){super(he),this.node=null}onEndElement(he){const J=super.onEndElement(he);if(J&&he==="xfa:datasets")throw this.node=J,new Error("Aborting DatasetXMLParser.")}}class ae{constructor(he){if(he.datasets)this.node=new K.SimpleXMLParser({hasAttributes:!0}).parseFromString(he.datasets).documentElement;else{const J=new e({hasAttributes:!0});try{J.parseFromString(he["xdp:xdp"])}catch{}this.node=J.node}}getValue(he){if(!this.node||!he)return"";const J=this.node.searchNode((0,U.parseXFAPath)(he),0);if(!J)return"";const W=J.firstChild;return W&&W.nodeName==="value"?J.children.map(X=>z(X.textContent)):z(J.textContent)}}D.DatasetReader=ae},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XRef=void 0;var R=B(2),U=B(130),K=B(131),z=B(142),e=B(132),ae=B(192);class ie{constructor(J,W){this.stream=J,this.pdfManager=W,this.entries=[],this.xrefstms=Object.create(null),this._cacheMap=new Map,this._pendingRefs=new U.RefSet,this.stats=new K.DocStats(W.msgHandler),this._newRefNum=null}getNewRef(){return this._newRefNum===null&&(this._newRefNum=this.entries.length||1),U.Ref.get(this._newRefNum++,0)}resetNewRef(){this._newRefNum=null}setStartXRef(J){this.startXRefQueue=[J]}parse(){let J=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,W;J?((0,R.warn)("Indexing all PDF objects"),W=this.indexObjects()):W=this.readXRef(),W.assignXref(this),this.trailer=W;let X;try{X=W.get("Encrypt")}catch(Q){if(Q instanceof K.MissingDataException)throw Q;(0,R.warn)(`XRef.parse - Invalid "Encrypt" reference: "${Q}".`)}if(X instanceof U.Dict){const Q=W.get("ID"),ce=Q&&Q.length?Q[0]:"";X.suppressEncryption=!0,this.encrypt=new ae.CipherTransformFactory(X,ce,this.pdfManager.password)}let L;try{L=W.get("Root")}catch(Q){if(Q instanceof K.MissingDataException)throw Q;(0,R.warn)(`XRef.parse - Invalid "Root" reference: "${Q}".`)}if(L instanceof U.Dict)try{if(L.get("Pages")instanceof U.Dict){this.root=L;return}}catch(Q){if(Q instanceof K.MissingDataException)throw Q;(0,R.warn)(`XRef.parse - Invalid "Pages" reference: "${Q}".`)}throw J?new R.InvalidPDFException("Invalid Root reference."):new K.XRefParseException}processXRefTable(J){"tableState"in this||(this.tableState={entryNum:0,streamPos:J.lexer.stream.pos,parserBuf1:J.buf1,parserBuf2:J.buf2});const W=this.readXRefTable(J);if(!(0,U.isCmd)(W,"trailer"))throw new R.FormatError("Invalid XRef table: could not find trailer dictionary");let X=J.getObj();if(!(X instanceof U.Dict)&&X.dict&&(X=X.dict),!(X instanceof U.Dict))throw new R.FormatError("Invalid XRef table: could not parse trailer dictionary");return delete this.tableState,X}readXRefTable(J){const W=J.lexer.stream,X=this.tableState;W.pos=X.streamPos,J.buf1=X.parserBuf1,J.buf2=X.parserBuf2;let L;for(;;){if(!("firstEntryNum"in X)||!("entryCount"in X)){if((0,U.isCmd)(L=J.getObj(),"trailer"))break;X.firstEntryNum=L,X.entryCount=J.getObj()}let Q=X.firstEntryNum;const ce=X.entryCount;if(!Number.isInteger(Q)||!Number.isInteger(ce))throw new R.FormatError("Invalid XRef table: wrong types in subsection header");for(let de=X.entryNum;de0;){const[de,se]=ce;if(!Number.isInteger(de)||!Number.isInteger(se))throw new R.FormatError(`Invalid XRef range fields: ${de}, ${se}`);if(!Number.isInteger(X)||!Number.isInteger(L)||!Number.isInteger(Q))throw new R.FormatError(`Invalid XRef entry fields length: ${de}, ${se}`);for(let oe=W.entryNum;oe=ze.length);)Fe+=String.fromCharCode(Pe),Pe=ze[Te];return Fe}function se(ze,Te,Fe){const Pe=Fe.length,we=ze.length;let Ie=0;for(;Te=Pe)break;Te++,Ie++}return Ie}const oe=/^(\d+)\s+(\d+)\s+obj\b/,me=/\bendobj[\b\s]$/,Ee=/\s+(\d+\s+\d+\s+obj[\b\s<])$/,ke=25,xe=new Uint8Array([116,114,97,105,108,101,114]),fe=new Uint8Array([115,116,97,114,116,120,114,101,102]),ve=new Uint8Array([111,98,106]),ye=new Uint8Array([47,88,82,101,102]);this.entries.length=0,this._cacheMap.clear();const Ce=this.stream;Ce.pos=0;const pe=Ce.getBytes(),_e=pe.length;let Ge=Ce.start;const Ae=[],Ne=[];for(;Ge<_e;){let ze=pe[Ge];if(ze===9||ze===10||ze===13||ze===32){++Ge;continue}if(ze===37){do{if(++Ge,Ge>=_e)break;ze=pe[Ge]}while(ze!==10&&ze!==13);continue}const Te=de(pe,Ge);let Fe;if(Te.startsWith("xref")&&(Te.length===4||/\s/.test(Te[4])))Ge+=se(pe,Ge,xe),Ae.push(Ge),Ge+=se(pe,Ge,fe);else if(Fe=oe.exec(Te)){const Pe=Fe[1]|0,we=Fe[2]|0;let Ie,Be=Ge+Te.length,Ke=!1;if(!this.entries[Pe])Ke=!0;else if(this.entries[Pe].gen===we)try{new z.Parser({lexer:new z.Lexer(Ce.makeSubStream(Be))}).getObj(),Ke=!0}catch(Le){Le instanceof K.ParserEOFException?(0,R.warn)(`indexObjects -- checking object (${Te}): "${Le}".`):Ke=!0}for(Ke&&(this.entries[Pe]={offset:Ge-Ce.start,gen:we,uncompressed:!0});Be0&&arguments[0]!==void 0?arguments[0]:!1;const W=this.stream,X=new Set;try{for(;this.startXRefQueue.length;){const L=this.startXRefQueue[0];if(X.has(L)){(0,R.warn)("readXRef - skipping XRef table since it was already parsed."),this.startXRefQueue.shift();continue}X.add(L),W.pos=L+W.start;const Q=new z.Parser({lexer:new z.Lexer(W),xref:this,allowStreams:!0});let ce=Q.getObj(),de;if((0,U.isCmd)(ce,"xref")){if(de=this.processXRefTable(Q),this.topDict||(this.topDict=de),ce=de.get("XRefStm"),Number.isInteger(ce)){const se=ce;se in this.xrefstms||(this.xrefstms[se]=1,this.startXRefQueue.push(se))}}else if(Number.isInteger(ce)){if(!Number.isInteger(Q.getObj())||!(0,U.isCmd)(Q.getObj(),"obj")||!((ce=Q.getObj())instanceof e.BaseStream))throw new R.FormatError("Invalid XRef stream");if(de=this.processXRefStream(ce),this.topDict||(this.topDict=de),!de)throw new R.FormatError("Failed to read XRef stream")}else throw new R.FormatError("Invalid XRef stream header");ce=de.get("Prev"),Number.isInteger(ce)?this.startXRefQueue.push(ce):ce instanceof U.Ref&&this.startXRefQueue.push(ce.num),this.startXRefQueue.shift()}return this.topDict}catch(L){if(L instanceof K.MissingDataException)throw L;(0,R.info)("(while reading XRef): "+L),this.startXRefQueue.shift()}if(!J)throw new K.XRefParseException}getEntry(J){const W=this.entries[J];return W&&!W.free&&W.offset?W:null}fetchIfRef(J){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return J instanceof U.Ref?this.fetch(J,W):J}fetch(J){let W=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!(J instanceof U.Ref))throw new Error("ref object is not a reference");const X=J.num,L=this._cacheMap.get(X);if(L!==void 0)return L instanceof U.Dict&&!L.objId&&(L.objId=J.toString()),L;let Q=this.getEntry(X);if(Q===null)return this._cacheMap.set(X,Q),Q;if(this._pendingRefs.has(J))return this._pendingRefs.remove(J),(0,R.warn)(`Ignoring circular reference: ${J}.`),U.CIRCULAR_REF;this._pendingRefs.put(J);try{Q.uncompressed?Q=this.fetchUncompressed(J,Q,W):Q=this.fetchCompressed(J,Q,W),this._pendingRefs.remove(J)}catch(ce){throw this._pendingRefs.remove(J),ce}return Q instanceof U.Dict?Q.objId=J.toString():Q instanceof e.BaseStream&&(Q.dict.objId=J.toString()),Q}fetchUncompressed(J,W){let X=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const L=J.gen;let Q=J.num;if(W.gen!==L)throw new K.XRefEntryException(`Inconsistent generation in XRef: ${J}`);const ce=this.stream.makeSubStream(W.offset+this.stream.start),de=new z.Parser({lexer:new z.Lexer(ce),xref:this,allowStreams:!0}),se=de.getObj(),oe=de.getObj(),me=de.getObj();if(se!==Q||oe!==L||!(me instanceof U.Cmd))throw new K.XRefEntryException(`Bad (uncompressed) XRef entry: ${J}`);if(me.cmd!=="obj"){if(me.cmd.startsWith("obj")&&(Q=parseInt(me.cmd.substring(3),10),!Number.isNaN(Q)))return Q;throw new K.XRefEntryException(`Bad (uncompressed) XRef entry: ${J}`)}return this.encrypt&&!X?W=de.getObj(this.encrypt.createCipherTransform(Q,L)):W=de.getObj(),W instanceof e.BaseStream||this._cacheMap.set(Q,W),W}fetchCompressed(J,W){const X=W.offset,L=this.fetch(U.Ref.get(X,0));if(!(L instanceof e.BaseStream))throw new R.FormatError("bad ObjStm stream");const Q=L.dict.get("First"),ce=L.dict.get("N");if(!Number.isInteger(Q)||!Number.isInteger(ce))throw new R.FormatError("invalid first and n parameters for ObjStm stream");let de=new z.Parser({lexer:new z.Lexer(L),xref:this,allowStreams:!0});const se=new Array(ce),oe=new Array(ce);for(let ke=0;ke{Object.defineProperty(D,"__esModule",{value:!0}),D.MessageHandler=void 0;var R=B(2);const U={UNKNOWN:0,DATA:1,ERROR:2},K={UNKNOWN:0,CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function z(ae){switch(ae instanceof Error||typeof ae=="object"&&ae!==null||(0,R.unreachable)('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),ae.name){case"AbortException":return new R.AbortException(ae.message);case"MissingPDFException":return new R.MissingPDFException(ae.message);case"PasswordException":return new R.PasswordException(ae.message,ae.code);case"UnexpectedResponseException":return new R.UnexpectedResponseException(ae.message,ae.status);case"UnknownErrorException":return new R.UnknownErrorException(ae.message,ae.details);default:return new R.UnknownErrorException(ae.message,ae.toString())}}class e{constructor(ie,he,J){this.sourceName=ie,this.targetName=he,this.comObj=J,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=W=>{const X=W.data;if(X.targetName!==this.sourceName)return;if(X.stream){this._processStreamMessage(X);return}if(X.callback){const Q=X.callbackId,ce=this.callbackCapabilities[Q];if(!ce)throw new Error(`Cannot resolve callback ${Q}`);if(delete this.callbackCapabilities[Q],X.callback===U.DATA)ce.resolve(X.data);else if(X.callback===U.ERROR)ce.reject(z(X.reason));else throw new Error("Unexpected callback case");return}const L=this.actionHandler[X.action];if(!L)throw new Error(`Unknown action from worker: ${X.action}`);if(X.callbackId){const Q=this.sourceName,ce=X.sourceName;new Promise(function(de){de(L(X.data))}).then(function(de){J.postMessage({sourceName:Q,targetName:ce,callback:U.DATA,callbackId:X.callbackId,data:de})},function(de){J.postMessage({sourceName:Q,targetName:ce,callback:U.ERROR,callbackId:X.callbackId,reason:z(de)})});return}if(X.streamId){this._createStreamSink(X);return}L(X.data)},J.addEventListener("message",this._onComObjOnMessage)}on(ie,he){const J=this.actionHandler;if(J[ie])throw new Error(`There is already an actionName called "${ie}"`);J[ie]=he}send(ie,he,J){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:ie,data:he},J)}sendWithPromise(ie,he,J){const W=this.callbackId++,X=(0,R.createPromiseCapability)();this.callbackCapabilities[W]=X;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:ie,callbackId:W,data:he},J)}catch(L){X.reject(L)}return X.promise}sendWithStream(ie,he,J,W){const X=this.streamId++,L=this.sourceName,Q=this.targetName,ce=this.comObj;return new ReadableStream({start:de=>{const se=(0,R.createPromiseCapability)();return this.streamControllers[X]={controller:de,startCall:se,pullCall:null,cancelCall:null,isClosed:!1},ce.postMessage({sourceName:L,targetName:Q,action:ie,streamId:X,data:he,desiredSize:de.desiredSize},W),se.promise},pull:de=>{const se=(0,R.createPromiseCapability)();return this.streamControllers[X].pullCall=se,ce.postMessage({sourceName:L,targetName:Q,stream:K.PULL,streamId:X,desiredSize:de.desiredSize}),se.promise},cancel:de=>{(0,R.assert)(de instanceof Error,"cancel must have a valid reason");const se=(0,R.createPromiseCapability)();return this.streamControllers[X].cancelCall=se,this.streamControllers[X].isClosed=!0,ce.postMessage({sourceName:L,targetName:Q,stream:K.CANCEL,streamId:X,reason:z(de)}),se.promise}},J)}_createStreamSink(ie){const he=ie.streamId,J=this.sourceName,W=ie.sourceName,X=this.comObj,L=this,Q=this.actionHandler[ie.action],ce={enqueue(de){let se=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,oe=arguments.length>2?arguments[2]:void 0;if(this.isCancelled)return;const me=this.desiredSize;this.desiredSize-=se,me>0&&this.desiredSize<=0&&(this.sinkCapability=(0,R.createPromiseCapability)(),this.ready=this.sinkCapability.promise),X.postMessage({sourceName:J,targetName:W,stream:K.ENQUEUE,streamId:he,chunk:de},oe)},close(){this.isCancelled||(this.isCancelled=!0,X.postMessage({sourceName:J,targetName:W,stream:K.CLOSE,streamId:he}),delete L.streamSinks[he])},error(de){(0,R.assert)(de instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,X.postMessage({sourceName:J,targetName:W,stream:K.ERROR,streamId:he,reason:z(de)}))},sinkCapability:(0,R.createPromiseCapability)(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:ie.desiredSize,ready:null};ce.sinkCapability.resolve(),ce.ready=ce.sinkCapability.promise,this.streamSinks[he]=ce,new Promise(function(de){de(Q(ie.data,ce))}).then(function(){X.postMessage({sourceName:J,targetName:W,stream:K.START_COMPLETE,streamId:he,success:!0})},function(de){X.postMessage({sourceName:J,targetName:W,stream:K.START_COMPLETE,streamId:he,reason:z(de)})})}_processStreamMessage(ie){const he=ie.streamId,J=this.sourceName,W=ie.sourceName,X=this.comObj,L=this.streamControllers[he],Q=this.streamSinks[he];switch(ie.stream){case K.START_COMPLETE:ie.success?L.startCall.resolve():L.startCall.reject(z(ie.reason));break;case K.PULL_COMPLETE:ie.success?L.pullCall.resolve():L.pullCall.reject(z(ie.reason));break;case K.PULL:if(!Q){X.postMessage({sourceName:J,targetName:W,stream:K.PULL_COMPLETE,streamId:he,success:!0});break}Q.desiredSize<=0&&ie.desiredSize>0&&Q.sinkCapability.resolve(),Q.desiredSize=ie.desiredSize,new Promise(function(ce){ce(Q.onPull&&Q.onPull())}).then(function(){X.postMessage({sourceName:J,targetName:W,stream:K.PULL_COMPLETE,streamId:he,success:!0})},function(ce){X.postMessage({sourceName:J,targetName:W,stream:K.PULL_COMPLETE,streamId:he,reason:z(ce)})});break;case K.ENQUEUE:if((0,R.assert)(L,"enqueue should have stream controller"),L.isClosed)break;L.controller.enqueue(ie.chunk);break;case K.CLOSE:if((0,R.assert)(L,"close should have stream controller"),L.isClosed)break;L.isClosed=!0,L.controller.close(),this._deleteStreamController(L,he);break;case K.ERROR:(0,R.assert)(L,"error should have stream controller"),L.controller.error(z(ie.reason)),this._deleteStreamController(L,he);break;case K.CANCEL_COMPLETE:ie.success?L.cancelCall.resolve():L.cancelCall.reject(z(ie.reason)),this._deleteStreamController(L,he);break;case K.CANCEL:if(!Q)break;new Promise(function(ce){ce(Q.onCancel&&Q.onCancel(z(ie.reason)))}).then(function(){X.postMessage({sourceName:J,targetName:W,stream:K.CANCEL_COMPLETE,streamId:he,success:!0})},function(ce){X.postMessage({sourceName:J,targetName:W,stream:K.CANCEL_COMPLETE,streamId:he,reason:z(ce)})}),Q.sinkCapability.reject(z(ie.reason)),Q.isCancelled=!0,delete this.streamSinks[he];break;default:throw new Error("Unexpected stream case")}}async _deleteStreamController(ie,he){await Promise.allSettled([ie.startCall&&ie.startCall.promise,ie.pullCall&&ie.pullCall.promise,ie.cancelCall&&ie.cancelCall.promise]),delete this.streamControllers[he]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}D.MessageHandler=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFWorkerStream=void 0;var R=B(2);class U{constructor(ae){this._msgHandler=ae,this._contentLength=null,this._fullRequestReader=null,this._rangeRequestReaders=[]}getFullReader(){return(0,R.assert)(!this._fullRequestReader,"PDFWorkerStream.getFullReader can only be called once."),this._fullRequestReader=new K(this._msgHandler),this._fullRequestReader}getRangeReader(ae,ie){const he=new z(ae,ie,this._msgHandler);return this._rangeRequestReaders.push(he),he}cancelAllRequests(ae){this._fullRequestReader&&this._fullRequestReader.cancel(ae);for(const ie of this._rangeRequestReaders.slice(0))ie.cancel(ae)}}D.PDFWorkerStream=U;class K{constructor(ae){this._msgHandler=ae,this.onProgress=null,this._contentLength=null,this._isRangeSupported=!1,this._isStreamingSupported=!1;const ie=this._msgHandler.sendWithStream("GetReader");this._reader=ie.getReader(),this._headersReady=this._msgHandler.sendWithPromise("ReaderHeadersReady").then(he=>{this._isStreamingSupported=he.isStreamingSupported,this._isRangeSupported=he.isRangeSupported,this._contentLength=he.contentLength})}get headersReady(){return this._headersReady}get contentLength(){return this._contentLength}get isStreamingSupported(){return this._isStreamingSupported}get isRangeSupported(){return this._isRangeSupported}async read(){const{value:ae,done:ie}=await this._reader.read();return ie?{value:void 0,done:!0}:{value:ae.buffer,done:!1}}cancel(ae){this._reader.cancel(ae)}}class z{constructor(ae,ie,he){this._msgHandler=he,this.onProgress=null;const J=this._msgHandler.sendWithStream("GetRangeReader",{begin:ae,end:ie});this._reader=J.getReader()}get isStreamingSupported(){return!1}async read(){const{value:ae,done:ie}=await this._reader.read();return ie?{value:void 0,done:!0}:{value:ae.buffer,done:!1}}cancel(ae){this._reader.cancel(ae)}}}],G={};function V($){var D=G[$];if(D!==void 0)return D.exports;var B=G[$]={exports:{}};return M[$](B,B.exports,V),B.exports}V.d=($,D)=>{for(var B in D)V.o(D,B)&&!V.o($,B)&&Object.defineProperty($,B,{enumerable:!0,get:D[B]})},V.o=($,D)=>Object.prototype.hasOwnProperty.call($,D),V.r=$=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty($,Symbol.toStringTag,{value:"Module"}),Object.defineProperty($,"__esModule",{value:!0})};var q={};return(()=>{var $=q;Object.defineProperty($,"__esModule",{value:!0}),Object.defineProperty($,"WorkerMessageHandler",{enumerable:!0,get:function(){return D.WorkerMessageHandler}});var D=V(1)})(),q})())})(pdf_worker);var pdf_workerExports=pdf_worker.exports;(typeof window<"u"?window:{}).pdfjsWorker=pdf_workerExports;var pdf_viewer$1={exports:{}};(function(k,m){(function(G,V){k.exports=V()})(globalThis,()=>(()=>{var M=[,($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.DefaultXfaLayerFactory=D.DefaultTextLayerFactory=D.DefaultStructTreeLayerFactory=D.DefaultAnnotationLayerFactory=D.DefaultAnnotationEditorLayerFactory=void 0;var R=B(2),U=B(5),K=B(4),z=B(6),e=B(8),ae=B(9),ie=B(10);class he{createAnnotationLayerBuilder(ce){let{pageDiv:de,pdfPage:se,annotationStorage:oe=null,imageResourcesPath:me="",renderForms:Ee=!0,l10n:ke=K.NullL10n,enableScripting:xe=!1,hasJSActionsPromise:fe=null,mouseState:ve=null,fieldObjectsPromise:ye=null,annotationCanvasMap:Ce=null,accessibilityManager:pe=null}=ce;return new U.AnnotationLayerBuilder({pageDiv:de,pdfPage:se,imageResourcesPath:me,renderForms:Ee,linkService:new z.SimpleLinkService,l10n:ke,annotationStorage:oe,enableScripting:xe,hasJSActionsPromise:fe,fieldObjectsPromise:ye,mouseState:ve,annotationCanvasMap:Ce,accessibilityManager:pe})}}D.DefaultAnnotationLayerFactory=he;class J{createAnnotationEditorLayerBuilder(ce){let{uiManager:de=null,pageDiv:se,pdfPage:oe,accessibilityManager:me=null,l10n:Ee,annotationStorage:ke=null}=ce;return new R.AnnotationEditorLayerBuilder({uiManager:de,pageDiv:se,pdfPage:oe,accessibilityManager:me,l10n:Ee,annotationStorage:ke})}}D.DefaultAnnotationEditorLayerFactory=J;class W{createStructTreeLayerBuilder(ce){let{pdfPage:de}=ce;return new e.StructTreeLayerBuilder({pdfPage:de})}}D.DefaultStructTreeLayerFactory=W;class X{createTextLayerBuilder(ce){let{textLayerDiv:de,pageIndex:se,viewport:oe,enhanceTextSelection:me=!1,eventBus:Ee,highlighter:ke,accessibilityManager:xe=null}=ce;return new ae.TextLayerBuilder({textLayerDiv:de,pageIndex:se,viewport:oe,enhanceTextSelection:me,eventBus:Ee,highlighter:ke,accessibilityManager:xe})}}D.DefaultTextLayerFactory=X;class L{createXfaLayerBuilder(ce){let{pageDiv:de,pdfPage:se,annotationStorage:oe=null}=ce;return new ie.XfaLayerBuilder({pageDiv:de,pdfPage:se,annotationStorage:oe,linkService:new z.SimpleLinkService})}}D.DefaultXfaLayerFactory=L},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.AnnotationEditorLayerBuilder=void 0;var R=B(3),U=B(4);function K(L,Q,ce){z(L,Q),Q.set(L,ce)}function z(L,Q){if(Q.has(L))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(L,Q){var ce=he(L,Q,"get");return ae(L,ce)}function ae(L,Q){return Q.get?Q.get.call(L):Q.value}function ie(L,Q,ce){var de=he(L,Q,"set");return J(L,de,ce),ce}function he(L,Q,ce){if(!Q.has(L))throw new TypeError("attempted to "+ce+" private field on non-instance");return Q.get(L)}function J(L,Q,ce){if(Q.set)Q.set.call(L,ce);else{if(!Q.writable)throw new TypeError("attempted to set read only private field");Q.value=ce}}var W=new WeakMap;class X{constructor(Q){K(this,W,{writable:!0,value:void 0}),this.pageDiv=Q.pageDiv,this.pdfPage=Q.pdfPage,this.annotationStorage=Q.annotationStorage||null,this.accessibilityManager=Q.accessibilityManager,this.l10n=Q.l10n||U.NullL10n,this.annotationEditorLayer=null,this.div=null,this._cancelled=!1,ie(this,W,Q.uiManager)}async render(Q){let ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"display";if(ce!=="display"||this._cancelled)return;const de=Q.clone({dontFlip:!0});if(this.div){this.annotationEditorLayer.update({viewport:de}),this.show();return}this.div=document.createElement("div"),this.div.className="annotationEditorLayer",this.div.tabIndex=0,this.pageDiv.append(this.div),this.annotationEditorLayer=new R.AnnotationEditorLayer({uiManager:e(this,W),div:this.div,annotationStorage:this.annotationStorage,accessibilityManager:this.accessibilityManager,pageIndex:this.pdfPage._pageIndex,l10n:this.l10n,viewport:de});const se={viewport:de,div:this.div,annotations:null,intent:ce};this.annotationEditorLayer.render(se)}cancel(){this._cancelled=!0,this.destroy()}hide(){this.div&&(this.div.hidden=!0)}show(){this.div&&(this.div.hidden=!1)}destroy(){this.div&&(this.pageDiv=null,this.annotationEditorLayer.destroy(),this.div.remove())}}D.AnnotationEditorLayerBuilder=X},$=>{let D;typeof window<"u"&&window["pdfjs-dist/build/pdf"]?D=window["pdfjs-dist/build/pdf"]:D=requirePdf(),$.exports=D},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.NullL10n=void 0,D.fixupLangCode=K,D.getL10nFallback=R;const B={of_pages:"of {{pagesCount}}",page_of_pages:"({{pageNumber}} of {{pagesCount}})",document_properties_kb:"{{size_kb}} KB ({{size_b}} bytes)",document_properties_mb:"{{size_mb}} MB ({{size_b}} bytes)",document_properties_date_string:"{{date}}, {{time}}",document_properties_page_size_unit_inches:"in",document_properties_page_size_unit_millimeters:"mm",document_properties_page_size_orientation_portrait:"portrait",document_properties_page_size_orientation_landscape:"landscape",document_properties_page_size_name_a3:"A3",document_properties_page_size_name_a4:"A4",document_properties_page_size_name_letter:"Letter",document_properties_page_size_name_legal:"Legal",document_properties_page_size_dimension_string:"{{width}} × {{height}} {{unit}} ({{orientation}})",document_properties_page_size_dimension_name_string:"{{width}} × {{height}} {{unit}} ({{name}}, {{orientation}})",document_properties_linearized_yes:"Yes",document_properties_linearized_no:"No",print_progress_percent:"{{progress}}%","toggle_sidebar.title":"Toggle Sidebar","toggle_sidebar_notification2.title":"Toggle Sidebar (document contains outline/attachments/layers)",additional_layers:"Additional Layers",page_landmark:"Page {{page}}",thumb_page_title:"Page {{page}}",thumb_page_canvas:"Thumbnail of Page {{page}}",find_reached_top:"Reached top of document, continued from bottom",find_reached_bottom:"Reached end of document, continued from top","find_match_count[one]":"{{current}} of {{total}} match","find_match_count[other]":"{{current}} of {{total}} matches","find_match_count_limit[one]":"More than {{limit}} match","find_match_count_limit[other]":"More than {{limit}} matches",find_not_found:"Phrase not found",error_version_info:"PDF.js v{{version}} (build: {{build}})",error_message:"Message: {{message}}",error_stack:"Stack: {{stack}}",error_file:"File: {{file}}",error_line:"Line: {{line}}",rendering_error:"An error occurred while rendering the page.",page_scale_width:"Page Width",page_scale_fit:"Page Fit",page_scale_auto:"Automatic Zoom",page_scale_actual:"Actual Size",page_scale_percent:"{{scale}}%",loading:"Loading…",loading_error:"An error occurred while loading the PDF.",invalid_file_error:"Invalid or corrupted PDF file.",missing_file_error:"Missing PDF file.",unexpected_response_error:"Unexpected server response.",printing_not_supported:"Warning: Printing is not fully supported by this browser.",printing_not_ready:"Warning: The PDF is not fully loaded for printing.",web_fonts_disabled:"Web fonts are disabled: unable to use embedded PDF fonts.",free_text_default_content:"Enter text…",editor_free_text_aria_label:"FreeText Editor",editor_ink_aria_label:"Ink Editor",editor_ink_canvas_aria_label:"User-created image"};function R(ae,ie){switch(ae){case"find_match_count":ae=`find_match_count[${ie.total===1?"one":"other"}]`;break;case"find_match_count_limit":ae=`find_match_count_limit[${ie.limit===1?"one":"other"}]`;break}return B[ae]||""}const U={en:"en-US",es:"es-ES",fy:"fy-NL",ga:"ga-IE",gu:"gu-IN",hi:"hi-IN",hy:"hy-AM",nb:"nb-NO",ne:"ne-NP",nn:"nn-NO",pa:"pa-IN",pt:"pt-PT",sv:"sv-SE",zh:"zh-CN"};function K(ae){return U[ae==null?void 0:ae.toLowerCase()]||ae}function z(ae,ie){return ie?ae.replace(/\{\{\s*(\w+)\s*\}\}/g,(he,J)=>J in ie?ie[J]:"{{"+J+"}}"):ae}const e={async getLanguage(){return"en-us"},async getDirection(){return"ltr"},async get(ae){let ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:R(ae,ie);return z(he,ie)},async translate(ae){}};D.NullL10n=e},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.AnnotationLayerBuilder=void 0;var R=B(3),U=B(4);class K{constructor(e){let{pageDiv:ae,pdfPage:ie,linkService:he,downloadManager:J,annotationStorage:W=null,imageResourcesPath:X="",renderForms:L=!0,l10n:Q=U.NullL10n,enableScripting:ce=!1,hasJSActionsPromise:de=null,fieldObjectsPromise:se=null,mouseState:oe=null,annotationCanvasMap:me=null,accessibilityManager:Ee=null}=e;this.pageDiv=ae,this.pdfPage=ie,this.linkService=he,this.downloadManager=J,this.imageResourcesPath=X,this.renderForms=L,this.l10n=Q,this.annotationStorage=W,this.enableScripting=ce,this._hasJSActionsPromise=de,this._fieldObjectsPromise=se,this._mouseState=oe,this._annotationCanvasMap=me,this._accessibilityManager=Ee,this.div=null,this._cancelled=!1}async render(e){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"display";const[ie,he=!1,J=null]=await Promise.all([this.pdfPage.getAnnotations({intent:ae}),this._hasJSActionsPromise,this._fieldObjectsPromise]);if(this._cancelled||ie.length===0)return;const W={viewport:e.clone({dontFlip:!0}),div:this.div,annotations:ie,page:this.pdfPage,imageResourcesPath:this.imageResourcesPath,renderForms:this.renderForms,linkService:this.linkService,downloadManager:this.downloadManager,annotationStorage:this.annotationStorage,enableScripting:this.enableScripting,hasJSActions:he,fieldObjects:J,mouseState:this._mouseState,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager};this.div?R.AnnotationLayer.update(W):(this.div=document.createElement("div"),this.div.className="annotationLayer",this.pageDiv.append(this.div),W.div=this.div,R.AnnotationLayer.render(W),this.l10n.translate(this.div))}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}D.AnnotationLayerBuilder=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.SimpleLinkService=D.PDFLinkService=D.LinkTarget=void 0;var R=B(7);function U(ke,xe){z(ke,xe),xe.add(ke)}function K(ke,xe,fe){z(ke,xe),xe.set(ke,fe)}function z(ke,xe){if(xe.has(ke))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(ke,xe,fe){return ae(ke,xe),fe}function ae(ke,xe){if(ke!==xe)throw new TypeError("Private static access of wrong provenance")}function ie(ke,xe,fe){if(!xe.has(ke))throw new TypeError("attempted to get private field on non-instance");return fe}function he(ke,xe){var fe=J(ke,xe,"get");return W(ke,fe)}function J(ke,xe,fe){if(!xe.has(ke))throw new TypeError("attempted to "+fe+" private field on non-instance");return xe.get(ke)}function W(ke,xe){return xe.get?xe.get.call(ke):xe.value}const X="noopener noreferrer nofollow",L={NONE:0,SELF:1,BLANK:2,PARENT:3,TOP:4};D.LinkTarget=L;function Q(ke){let{url:xe,target:fe,rel:ve,enabled:ye=!0}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!xe||typeof xe!="string")throw new Error('A valid "url" parameter must provided.');const Ce=(0,R.removeNullCharacters)(xe);ye?ke.href=ke.title=Ce:(ke.href="",ke.title=`Disabled: ${Ce}`,ke.onclick=()=>!1);let pe="";switch(fe){case L.NONE:break;case L.SELF:pe="_self";break;case L.BLANK:pe="_blank";break;case L.PARENT:pe="_parent";break;case L.TOP:pe="_top";break}ke.target=pe,ke.rel=typeof ve=="string"?ve:X}var ce=new WeakMap,de=new WeakSet;class se{constructor(){let{eventBus:xe,externalLinkTarget:fe=null,externalLinkRel:ve=null,ignoreDestinationZoom:ye=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};U(this,de),K(this,ce,{writable:!0,value:new Map}),this.eventBus=xe,this.externalLinkTarget=fe,this.externalLinkRel=ve,this.externalLinkEnabled=!0,this._ignoreDestinationZoom=ye,this.baseUrl=null,this.pdfDocument=null,this.pdfViewer=null,this.pdfHistory=null}setDocument(xe){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;this.baseUrl=fe,this.pdfDocument=xe,he(this,ce).clear()}setViewer(xe){this.pdfViewer=xe}setHistory(xe){this.pdfHistory=xe}get pagesCount(){return this.pdfDocument?this.pdfDocument.numPages:0}get page(){return this.pdfViewer.currentPageNumber}set page(xe){this.pdfViewer.currentPageNumber=xe}get rotation(){return this.pdfViewer.pagesRotation}set rotation(xe){this.pdfViewer.pagesRotation=xe}async goToDestination(xe){if(!this.pdfDocument)return;let fe,ve;if(typeof xe=="string"?(fe=xe,ve=await this.pdfDocument.getDestination(xe)):(fe=null,ve=await xe),!Array.isArray(ve)){console.error(`PDFLinkService.goToDestination: "${ve}" is not a valid destination array, for dest="${xe}".`);return}ie(this,de,oe).call(this,xe,fe,ve)}goToPage(xe){if(!this.pdfDocument)return;const fe=typeof xe=="string"&&this.pdfViewer.pageLabelToPageNumber(xe)||xe|0;if(!(Number.isInteger(fe)&&fe>0&&fe<=this.pagesCount)){console.error(`PDFLinkService.goToPage: "${xe}" is not a valid page.`);return}this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.pushPage(fe)),this.pdfViewer.scrollPageIntoView({pageNumber:fe})}addLinkAttributes(xe,fe){let ve=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;Q(xe,{url:fe,target:ve?L.BLANK:this.externalLinkTarget,rel:this.externalLinkRel,enabled:this.externalLinkEnabled})}getDestinationHash(xe){if(typeof xe=="string"){if(xe.length>0)return this.getAnchorUrl("#"+escape(xe))}else if(Array.isArray(xe)){const fe=JSON.stringify(xe);if(fe.length>0)return this.getAnchorUrl("#"+escape(fe))}return this.getAnchorUrl("")}getAnchorUrl(xe){return(this.baseUrl||"")+xe}setHash(xe){if(!this.pdfDocument)return;let fe,ve;if(xe.includes("=")){const ye=(0,R.parseQueryString)(xe);if(ye.has("search")&&this.eventBus.dispatch("findfromurlhash",{source:this,query:ye.get("search").replace(/"/g,""),phraseSearch:ye.get("phrase")==="true"}),ye.has("page")&&(fe=ye.get("page")|0||1),ye.has("zoom")){const Ce=ye.get("zoom").split(","),pe=Ce[0],_e=parseFloat(pe);pe.includes("Fit")?pe==="Fit"||pe==="FitB"?ve=[null,{name:pe}]:pe==="FitH"||pe==="FitBH"||pe==="FitV"||pe==="FitBV"?ve=[null,{name:pe},Ce.length>1?Ce[1]|0:null]:pe==="FitR"?Ce.length!==5?console.error('PDFLinkService.setHash: Not enough parameters for "FitR".'):ve=[null,{name:pe},Ce[1]|0,Ce[2]|0,Ce[3]|0,Ce[4]|0]:console.error(`PDFLinkService.setHash: "${pe}" is not a valid zoom value.`):ve=[null,{name:"XYZ"},Ce.length>1?Ce[1]|0:null,Ce.length>2?Ce[2]|0:null,_e?_e/100:pe]}ve?this.pdfViewer.scrollPageIntoView({pageNumber:fe||this.page,destArray:ve,allowNegativeOffset:!0}):fe&&(this.page=fe),ye.has("pagemode")&&this.eventBus.dispatch("pagemode",{source:this,mode:ye.get("pagemode")}),ye.has("nameddest")&&this.goToDestination(ye.get("nameddest"))}else{ve=unescape(xe);try{ve=JSON.parse(ve),Array.isArray(ve)||(ve=ve.toString())}catch{}if(typeof ve=="string"||e(se,se,me).call(se,ve)){this.goToDestination(ve);return}console.error(`PDFLinkService.setHash: "${unescape(xe)}" is not a valid destination.`)}}executeNamedAction(xe){var fe,ve;switch(xe){case"GoBack":(fe=this.pdfHistory)===null||fe===void 0||fe.back();break;case"GoForward":(ve=this.pdfHistory)===null||ve===void 0||ve.forward();break;case"NextPage":this.pdfViewer.nextPage();break;case"PrevPage":this.pdfViewer.previousPage();break;case"LastPage":this.page=this.pagesCount;break;case"FirstPage":this.page=1;break}this.eventBus.dispatch("namedaction",{source:this,action:xe})}cachePageRef(xe,fe){if(!fe)return;const ve=fe.gen===0?`${fe.num}R`:`${fe.num}R${fe.gen}`;he(this,ce).set(ve,xe)}_cachedPageNumber(xe){if(!xe)return null;const fe=xe.gen===0?`${xe.num}R`:`${xe.num}R${xe.gen}`;return he(this,ce).get(fe)||null}isPageVisible(xe){return this.pdfViewer.isPageVisible(xe)}isPageCached(xe){return this.pdfViewer.isPageCached(xe)}}D.PDFLinkService=se;function oe(ke){let xe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,fe=arguments.length>2?arguments[2]:void 0;const ve=fe[0];let ye;if(typeof ve=="object"&&ve!==null){if(ye=this._cachedPageNumber(ve),!ye){this.pdfDocument.getPageIndex(ve).then(Ce=>{this.cachePageRef(Ce+1,ve),ie(this,de,oe).call(this,ke,xe,fe)}).catch(()=>{console.error(`PDFLinkService.#goToDestinationHelper: "${ve}" is not a valid page reference, for dest="${ke}".`)});return}}else if(Number.isInteger(ve))ye=ve+1;else{console.error(`PDFLinkService.#goToDestinationHelper: "${ve}" is not a valid destination reference, for dest="${ke}".`);return}if(!ye||ye<1||ye>this.pagesCount){console.error(`PDFLinkService.#goToDestinationHelper: "${ye}" is not a valid page number, for dest="${ke}".`);return}this.pdfHistory&&(this.pdfHistory.pushCurrentPosition(),this.pdfHistory.push({namedDest:xe,explicitDest:fe,pageNumber:ye})),this.pdfViewer.scrollPageIntoView({pageNumber:ye,destArray:fe,ignoreDestinationZoom:this._ignoreDestinationZoom})}function me(ke){if(!Array.isArray(ke))return!1;const xe=ke.length;if(xe<2)return!1;const fe=ke[0];if(!(typeof fe=="object"&&Number.isInteger(fe.num)&&Number.isInteger(fe.gen))&&!(Number.isInteger(fe)&&fe>=0))return!1;const ve=ke[1];if(!(typeof ve=="object"&&typeof ve.name=="string"))return!1;let ye=!0;switch(ve.name){case"XYZ":if(xe!==5)return!1;break;case"Fit":case"FitB":return xe===2;case"FitH":case"FitBH":case"FitV":case"FitBV":if(xe!==3)return!1;break;case"FitR":if(xe!==6)return!1;ye=!1;break;default:return!1}for(let Ce=2;Ce{Object.defineProperty(D,"__esModule",{value:!0}),D.animationStarted=D.VERTICAL_PADDING=D.UNKNOWN_SCALE=D.TextLayerMode=D.SpreadMode=D.SidebarView=D.ScrollMode=D.SCROLLBAR_PADDING=D.RenderingStates=D.RendererType=D.ProgressBar=D.PresentationModeState=D.OutputScale=D.MIN_SCALE=D.MAX_SCALE=D.MAX_AUTO_SCALE=D.DEFAULT_SCALE_VALUE=D.DEFAULT_SCALE_DELTA=D.DEFAULT_SCALE=D.AutoPrintRegExp=void 0,D.apiPageLayoutToViewerModes=ct,D.apiPageModeToSidebarView=mt,D.approximateFraction=ze,D.backtrackBeforeAllVisibleElements=Pe,D.binarySearchFirstItem=Ze,D.docStyle=void 0,D.getActiveOrFocusedElement=dt,D.getPageSizeInches=Fe,D.getVisibleElements=we,D.isPortraitOrientation=et,D.isValidRotation=Ve,D.isValidScrollMode=je,D.isValidSpreadMode=Le,D.noContextMenuHandler=Ie,D.normalizeWheelEventDelta=Ke,D.normalizeWheelEventDirection=Be,D.parseQueryString=_e,D.removeNullCharacters=Ne,D.roundToDivide=Te,D.scrollIntoView=Ce,D.watchScroll=pe;function B(ut,rt,He){R(ut,rt),rt.set(ut,He)}function R(ut,rt){if(rt.has(ut))throw new TypeError("Cannot initialize the same private elements twice on an object")}function U(ut,rt){var He=e(ut,rt,"get");return K(ut,He)}function K(ut,rt){return rt.get?rt.get.call(ut):rt.value}function z(ut,rt,He){var Je=e(ut,rt,"set");return ae(ut,Je,He),He}function e(ut,rt,He){if(!rt.has(ut))throw new TypeError("attempted to "+He+" private field on non-instance");return rt.get(ut)}function ae(ut,rt,He){if(rt.set)rt.set.call(ut,He);else{if(!rt.writable)throw new TypeError("attempted to set read only private field");rt.value=He}}const ie="auto";D.DEFAULT_SCALE_VALUE=ie;const he=1;D.DEFAULT_SCALE=he;const J=1.1;D.DEFAULT_SCALE_DELTA=J;const W=.1;D.MIN_SCALE=W;const X=10;D.MAX_SCALE=X;const L=0;D.UNKNOWN_SCALE=L;const Q=1.25;D.MAX_AUTO_SCALE=Q;const ce=40;D.SCROLLBAR_PADDING=ce;const de=5;D.VERTICAL_PADDING=de;const se={INITIAL:0,RUNNING:1,PAUSED:2,FINISHED:3};D.RenderingStates=se;const oe={UNKNOWN:0,NORMAL:1,CHANGING:2,FULLSCREEN:3};D.PresentationModeState=oe;const me={UNKNOWN:-1,NONE:0,THUMBS:1,OUTLINE:2,ATTACHMENTS:3,LAYERS:4};D.SidebarView=me;const Ee={CANVAS:"canvas",SVG:"svg"};D.RendererType=Ee;const ke={DISABLE:0,ENABLE:1,ENABLE_ENHANCE:2};D.TextLayerMode=ke;const xe={UNKNOWN:-1,VERTICAL:0,HORIZONTAL:1,WRAPPED:2,PAGE:3};D.ScrollMode=xe;const fe={UNKNOWN:-1,NONE:0,ODD:1,EVEN:2};D.SpreadMode=fe;const ve=/\bprint\s*\(/;D.AutoPrintRegExp=ve;class ye{constructor(){const rt=window.devicePixelRatio||1;this.sx=rt,this.sy=rt}get scaled(){return this.sx!==1||this.sy!==1}}D.OutputScale=ye;function Ce(ut,rt){let He=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,Je=ut.offsetParent;if(!Je){console.error("offsetParent is not set -- cannot scroll");return}let St=ut.offsetTop+ut.clientTop,bt=ut.offsetLeft+ut.clientLeft;for(;Je.clientHeight===Je.scrollHeight&&Je.clientWidth===Je.scrollWidth||He&&(Je.classList.contains("markedContent")||getComputedStyle(Je).overflow==="hidden");)if(St+=Je.offsetTop,bt+=Je.offsetLeft,Je=Je.offsetParent,!Je)return;rt&&(rt.top!==void 0&&(St+=rt.top),rt.left!==void 0&&(bt+=rt.left,Je.scrollLeft=bt)),Je.scrollTop=St}function pe(ut,rt){const He=function(bt){St||(St=window.requestAnimationFrame(function(){St=null;const wt=ut.scrollLeft,Pt=Je.lastX;wt!==Pt&&(Je.right=wt>Pt),Je.lastX=wt;const Nt=ut.scrollTop,Vt=Je.lastY;Nt!==Vt&&(Je.down=Nt>Vt),Je.lastY=Nt,rt(Je)}))},Je={right:!0,down:!0,lastX:ut.scrollLeft,lastY:ut.scrollTop,_eventHandler:He};let St=null;return ut.addEventListener("scroll",He,!0),Je}function _e(ut){const rt=new Map;for(const[He,Je]of new URLSearchParams(ut))rt.set(He.toLowerCase(),Je);return rt}const Ge=/\x00/g,Ae=/[\x01-\x1F]/g;function Ne(ut){let rt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return typeof ut!="string"?(console.error("The argument must be a string."),ut):(rt&&(ut=ut.replace(Ae," ")),ut.replace(Ge,""))}function Ze(ut,rt){let Je=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,St=ut.length-1;if(St<0||!rt(ut[St]))return ut.length;if(rt(ut[Je]))return Je;for(;Je>1,pt=ut[bt];rt(pt)?St=bt:Je=bt+1}return Je}function ze(ut){if(Math.floor(ut)===ut)return[ut,1];const rt=1/ut,He=8;if(rt>He)return[1,He];if(Math.floor(rt)===rt)return[1,rt];const Je=ut>1?rt:ut;let St=0,bt=1,pt=1,wt=1;for(;;){const Nt=St+pt,Vt=bt+wt;if(Vt>He)break;Je<=Nt/Vt?(pt=Nt,wt=Vt):(St=Nt,bt=Vt)}let Pt;return Je-St/bt=He&&(Je=rt[ut-1].div,St=Je.offsetTop+Je.clientTop);for(let bt=ut-2;bt>=0&&(Je=rt[bt].div,!(Je.offsetTop+Je.clientTop+Je.clientHeight<=St));--bt)ut=bt;return ut}function we(ut){let{scrollEl:rt,views:He,sortByVisibility:Je=!1,horizontal:St=!1,rtl:bt=!1}=ut;const pt=rt.scrollTop,wt=pt+rt.clientHeight,Pt=rt.scrollLeft,Nt=Pt+rt.clientWidth;function Vt(It){const Dt=It.div;return Dt.offsetTop+Dt.clientTop+Dt.clientHeight>pt}function Wt(It){const Dt=It.div,Zt=Dt.offsetLeft+Dt.clientLeft,gr=Zt+Dt.clientWidth;return bt?ZtPt}const Mt=[],$t=new Set,Yt=He.length;let Ft=Ze(He,St?Wt:Vt);Ft>0&&Ft=wt&&(Jt=Ar);else if((St?gr:fr)>Jt)break;if(Ar<=pt||fr>=wt||cr<=Pt||gr>=Nt)continue;const yt=Math.max(0,pt-fr)+Math.max(0,Ar-wt),vt=Math.max(0,Pt-gr)+Math.max(0,cr-Nt),Xt=(kr-yt)/kr,At=(Dr-vt)/Dr,zt=Xt*At*100|0;Mt.push({id:Dt.id,x:gr,y:fr,view:Dt,percent:zt,widthPercent:At*100|0}),$t.add(Dt.id)}const er=Mt[0],Bt=Mt.at(-1);return Je&&Mt.sort(function(It,Dt){const Zt=It.percent-Dt.percent;return Math.abs(Zt)>.001?-Zt:It.id-Dt.id}),{first:er,last:Bt,views:Mt,ids:$t}}function Ie(ut){ut.preventDefault()}function Be(ut){let rt=Math.hypot(ut.deltaX,ut.deltaY);const He=Math.atan2(ut.deltaY,ut.deltaX);return-.25*Math.PI1)throw new Error("ProgressBar no longer accepts any additional options, please use CSS rules to modify its appearance instead.");const He=document.getElementById(rt);z(this,Ye,He.classList)}get percent(){return U(this,tt)}set percent(rt){if(z(this,tt,$e(rt,0,100)),isNaN(rt)){U(this,Ye).add("indeterminate");return}U(this,Ye).remove("indeterminate"),Ue.setProperty("--progressBar-percent",`${U(this,tt)}%`)}setWidth(rt){if(!rt)return;const Je=rt.parentNode.offsetWidth-rt.offsetWidth;Je>0&&Ue.setProperty("--progressBar-end-offset",`${Je}px`)}hide(){U(this,ot)&&(z(this,ot,!1),U(this,Ye).add("hidden"))}show(){U(this,ot)||(z(this,ot,!0),U(this,Ye).remove("hidden"))}}D.ProgressBar=st;function dt(){let ut=document,rt=ut.activeElement||ut.querySelector(":focus");for(;(He=rt)!==null&&He!==void 0&&He.shadowRoot;){var He;ut=rt.shadowRoot,rt=ut.activeElement||ut.querySelector(":focus")}return rt}function ct(ut){let rt=xe.VERTICAL,He=fe.NONE;switch(ut){case"SinglePage":rt=xe.PAGE;break;case"OneColumn":break;case"TwoPageLeft":rt=xe.PAGE;case"TwoColumnLeft":He=fe.ODD;break;case"TwoPageRight":rt=xe.PAGE;case"TwoColumnRight":He=fe.EVEN;break}return{scrollMode:rt,spreadMode:He}}function mt(ut){switch(ut){case"UseNone":return me.NONE;case"UseThumbs":return me.THUMBS;case"UseOutlines":return me.OUTLINE;case"UseAttachments":return me.ATTACHMENTS;case"UseOC":return me.LAYERS}return me.NONE}},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.StructTreeLayerBuilder=void 0;const B={Document:null,DocumentFragment:null,Part:"group",Sect:"group",Div:"group",Aside:"note",NonStruct:"none",P:null,H:"heading",Title:null,FENote:"note",Sub:"group",Lbl:null,Span:null,Em:null,Strong:null,Link:"link",Annot:"note",Form:"form",Ruby:null,RB:null,RT:null,RP:null,Warichu:null,WT:null,WP:null,L:"list",LI:"listitem",LBody:null,Table:"table",TR:"row",TH:"columnheader",TD:"cell",THead:"columnheader",TBody:null,TFoot:null,Caption:null,Figure:"figure",Formula:null,Artifact:null},R=/^H(\d+)$/;class U{constructor(z){let{pdfPage:e}=z;this.pdfPage=e}render(z){return this._walk(z)}_setAttributes(z,e){z.alt!==void 0&&e.setAttribute("aria-label",z.alt),z.id!==void 0&&e.setAttribute("aria-owns",z.id),z.lang!==void 0&&e.setAttribute("lang",z.lang)}_walk(z){if(!z)return null;const e=document.createElement("span");if("role"in z){const{role:ae}=z,ie=ae.match(R);ie?(e.setAttribute("role","heading"),e.setAttribute("aria-level",ie[1])):B[ae]&&e.setAttribute("role",B[ae])}if(this._setAttributes(z,e),z.children)if(z.children.length===1&&"id"in z.children[0])this._setAttributes(z.children[0],e);else for(const ae of z.children)e.append(this._walk(ae));return e}}D.StructTreeLayerBuilder=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.TextLayerBuilder=void 0;var R=B(3);const U=300;class K{constructor(e){let{textLayerDiv:ae,eventBus:ie,pageIndex:he,viewport:J,highlighter:W=null,enhanceTextSelection:X=!1,accessibilityManager:L=null}=e;this.textLayerDiv=ae,this.eventBus=ie,this.textContent=null,this.textContentItemsStr=[],this.textContentStream=null,this.renderingDone=!1,this.pageNumber=he+1,this.viewport=J,this.textDivs=[],this.textLayerRenderTask=null,this.highlighter=W,this.enhanceTextSelection=X,this.accessibilityManager=L,this._bindMouse()}_finishRendering(){if(this.renderingDone=!0,!this.enhanceTextSelection){const e=document.createElement("div");e.className="endOfContent",this.textLayerDiv.append(e)}this.eventBus.dispatch("textlayerrendered",{source:this,pageNumber:this.pageNumber,numTextDivs:this.textDivs.length})}render(){var e,ae;let ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;if(!(this.textContent||this.textContentStream)||this.renderingDone)return;this.cancel(),this.textDivs.length=0,(e=this.highlighter)===null||e===void 0||e.setTextMapping(this.textDivs,this.textContentItemsStr),(ae=this.accessibilityManager)===null||ae===void 0||ae.setTextMapping(this.textDivs);const he=document.createDocumentFragment();this.textLayerRenderTask=(0,R.renderTextLayer)({textContent:this.textContent,textContentStream:this.textContentStream,container:he,viewport:this.viewport,textDivs:this.textDivs,textContentItemsStr:this.textContentItemsStr,timeout:ie,enhanceTextSelection:this.enhanceTextSelection}),this.textLayerRenderTask.promise.then(()=>{var J,W;this.textLayerDiv.append(he),this._finishRendering(),(J=this.highlighter)===null||J===void 0||J.enable(),(W=this.accessibilityManager)===null||W===void 0||W.enable()},function(J){})}cancel(){var e,ae;this.textLayerRenderTask&&(this.textLayerRenderTask.cancel(),this.textLayerRenderTask=null),(e=this.highlighter)===null||e===void 0||e.disable(),(ae=this.accessibilityManager)===null||ae===void 0||ae.disable()}setTextContentStream(e){this.cancel(),this.textContentStream=e}setTextContent(e){this.cancel(),this.textContent=e}_bindMouse(){const e=this.textLayerDiv;let ae=null;e.addEventListener("mousedown",ie=>{if(this.enhanceTextSelection&&this.textLayerRenderTask){this.textLayerRenderTask.expandTextDivs(!0),ae&&(clearTimeout(ae),ae=null);return}const he=e.querySelector(".endOfContent");if(!he)return;let J=ie.target!==e;if(J=J&&window.getComputedStyle(he).getPropertyValue("-moz-user-select")!=="none",J){const W=e.getBoundingClientRect(),X=Math.max(0,(ie.pageY-W.top)/W.height);he.style.top=(X*100).toFixed(2)+"%"}he.classList.add("active")}),e.addEventListener("mouseup",()=>{if(this.enhanceTextSelection&&this.textLayerRenderTask){ae=setTimeout(()=>{this.textLayerRenderTask&&this.textLayerRenderTask.expandTextDivs(!1),ae=null},U);return}const ie=e.querySelector(".endOfContent");ie&&(ie.style.top="",ie.classList.remove("active"))})}}D.TextLayerBuilder=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.XfaLayerBuilder=void 0;var R=B(3);class U{constructor(z){let{pageDiv:e,pdfPage:ae,annotationStorage:ie=null,linkService:he,xfaHtml:J=null}=z;this.pageDiv=e,this.pdfPage=ae,this.annotationStorage=ie,this.linkService=he,this.xfaHtml=J,this.div=null,this._cancelled=!1}render(z){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"display";if(e==="print"){const ae={viewport:z.clone({dontFlip:!0}),div:this.div,xfaHtml:this.xfaHtml,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:e},ie=document.createElement("div");this.pageDiv.append(ie),ae.div=ie;const he=R.XfaLayer.render(ae);return Promise.resolve(he)}return this.pdfPage.getXfa().then(ae=>{if(this._cancelled||!ae)return{textDivs:[]};const ie={viewport:z.clone({dontFlip:!0}),div:this.div,xfaHtml:ae,annotationStorage:this.annotationStorage,linkService:this.linkService,intent:e};return this.div?R.XfaLayer.update(ie):(this.div=document.createElement("div"),this.pageDiv.append(this.div),ie.div=this.div,R.XfaLayer.render(ie))}).catch(ae=>{console.error(ae)})}cancel(){this._cancelled=!0}hide(){this.div&&(this.div.hidden=!0)}}D.XfaLayerBuilder=U},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFViewer=D.PDFSinglePageViewer=void 0;var R=B(7),U=B(12);class K extends U.BaseViewer{}D.PDFViewer=K;class z extends U.BaseViewer{_resetView(){super._resetView(),this._scrollMode=R.ScrollMode.PAGE,this._spreadMode=R.SpreadMode.NONE}set scrollMode(ae){}_updateScrollMode(){}set spreadMode(ae){}_updateSpreadMode(){}}D.PDFSinglePageViewer=z},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PagesCountLimit=D.PDFPageViewBuffer=D.BaseViewer=void 0;var R=B(3),U=B(7),K=B(2),z=B(5),e=B(4),ae=B(13),ie=B(16),he=B(6),J=B(8),W=B(17),X=B(9),L=B(10);let Q;function ce(bt,pt){se(bt,pt),pt.add(bt)}function de(bt,pt,wt){se(bt,pt),pt.set(bt,wt)}function se(bt,pt){if(pt.has(bt))throw new TypeError("Cannot initialize the same private elements twice on an object")}function oe(bt,pt,wt){if(!pt.has(bt))throw new TypeError("attempted to get private field on non-instance");return wt}function me(bt,pt){var wt=xe(bt,pt,"get");return Ee(bt,wt)}function Ee(bt,pt){return pt.get?pt.get.call(bt):pt.value}function ke(bt,pt,wt){var Pt=xe(bt,pt,"set");return fe(bt,Pt,wt),wt}function xe(bt,pt,wt){if(!pt.has(bt))throw new TypeError("attempted to "+wt+" private field on non-instance");return pt.get(bt)}function fe(bt,pt,wt){if(pt.set)pt.set.call(bt,wt);else{if(!pt.writable)throw new TypeError("attempted to set read only private field");pt.value=wt}}const ve=10,ye="enablePermissions",Ce={FORCE_SCROLL_MODE_PAGE:15e3,FORCE_LAZY_PAGE_INIT:7500,PAUSE_EAGER_PAGE_INIT:250};D.PagesCountLimit=Ce;function pe(bt){return Object.values(R.AnnotationEditorType).includes(bt)&&bt!==R.AnnotationEditorType.DISABLE}var _e=new WeakMap,Ge=new WeakMap,Ae=new WeakSet;Q=Symbol.iterator;class Ne{constructor(pt){ce(this,Ae),de(this,_e,{writable:!0,value:new Set}),de(this,Ge,{writable:!0,value:0}),ke(this,Ge,pt)}push(pt){const wt=me(this,_e);wt.has(pt)&&wt.delete(pt),wt.add(pt),wt.size>me(this,Ge)&&oe(this,Ae,Ze).call(this)}resize(pt){let wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;ke(this,Ge,pt);const Pt=me(this,_e);if(wt){const Nt=Pt.size;let Vt=1;for(const Wt of Pt)if(wt.has(Wt.id)&&(Pt.delete(Wt),Pt.add(Wt)),++Vt>Nt)break}for(;Pt.size>me(this,Ge);)oe(this,Ae,Ze).call(this)}has(pt){return me(this,_e).has(pt)}[Q](){return me(this,_e).keys()}}D.PDFPageViewBuffer=Ne;function Ze(){const bt=me(this,_e).keys().next().value;bt==null||bt.destroy(),me(this,_e).delete(bt)}var ze=new WeakMap,Te=new WeakMap,Fe=new WeakMap,Pe=new WeakMap,we=new WeakMap,Ie=new WeakMap,Be=new WeakMap,Ke=new WeakMap,Ve=new WeakSet,je=new WeakSet,Le=new WeakSet,et=new WeakSet,Qe=new WeakSet,Ue=new WeakSet,$e=new WeakSet,Ye=new WeakSet,tt=new WeakSet;class ot{constructor(pt){var wt,Pt,Nt,Vt,Wt;if(ce(this,tt),ce(this,Ye),ce(this,$e),ce(this,Ue),ce(this,Qe),ce(this,et),ce(this,Le),ce(this,je),ce(this,Ve),de(this,ze,{writable:!0,value:null}),de(this,Te,{writable:!0,value:R.AnnotationEditorType.DISABLE}),de(this,Fe,{writable:!0,value:null}),de(this,Pe,{writable:!0,value:R.AnnotationMode.ENABLE_FORMS}),de(this,we,{writable:!0,value:!1}),de(this,Ie,{writable:!0,value:0}),de(this,Be,{writable:!0,value:null}),de(this,Ke,{writable:!0,value:null}),this.constructor===ot)throw new Error("Cannot initialize BaseViewer.");const Mt="2.16.105";if(R.version!==Mt)throw new Error(`The API version "${R.version}" does not match the Viewer version "${Mt}".`);if(this.container=pt.container,this.viewer=pt.viewer||pt.container.firstElementChild,!(((wt=this.container)===null||wt===void 0?void 0:wt.tagName.toUpperCase())==="DIV"&&((Pt=this.viewer)===null||Pt===void 0?void 0:Pt.tagName.toUpperCase())==="DIV"))throw new Error("Invalid `container` and/or `viewer` option.");if(this.container.offsetParent&&getComputedStyle(this.container).position!=="absolute")throw new Error("The `container` must be absolutely positioned.");this.eventBus=pt.eventBus,this.linkService=pt.linkService||new he.SimpleLinkService,this.downloadManager=pt.downloadManager||null,this.findController=pt.findController||null,this._scriptingManager=pt.scriptingManager||null,this.removePageBorders=pt.removePageBorders||!1,this.textLayerMode=(Nt=pt.textLayerMode)!==null&&Nt!==void 0?Nt:U.TextLayerMode.ENABLE,ke(this,Pe,(Vt=pt.annotationMode)!==null&&Vt!==void 0?Vt:R.AnnotationMode.ENABLE_FORMS),ke(this,Te,(Wt=pt.annotationEditorMode)!==null&&Wt!==void 0?Wt:R.AnnotationEditorType.DISABLE),this.imageResourcesPath=pt.imageResourcesPath||"",this.enablePrintAutoRotate=pt.enablePrintAutoRotate||!1,this.renderer=pt.renderer||U.RendererType.CANVAS,this.useOnlyCssZoom=pt.useOnlyCssZoom||!1,this.maxCanvasPixels=pt.maxCanvasPixels,this.l10n=pt.l10n||e.NullL10n,ke(this,we,pt.enablePermissions||!1),this.pageColors=pt.pageColors||null,this.pageColors&&!(CSS.supports("color",this.pageColors.background)&&CSS.supports("color",this.pageColors.foreground))&&((this.pageColors.background||this.pageColors.foreground)&&console.warn("BaseViewer: Ignoring `pageColors`-option, since the browser doesn't support the values used."),this.pageColors=null),this.defaultRenderingQueue=!pt.renderingQueue,this.defaultRenderingQueue?(this.renderingQueue=new ie.PDFRenderingQueue,this.renderingQueue.setViewer(this)):this.renderingQueue=pt.renderingQueue,this.scroll=(0,U.watchScroll)(this.container,this._scrollUpdate.bind(this)),this.presentationModeState=U.PresentationModeState.UNKNOWN,this._onBeforeDraw=this._onAfterDraw=null,this._resetView(),this.removePageBorders&&this.viewer.classList.add("removePageBorders"),this.updateContainerHeightCss()}get pagesCount(){return this._pages.length}getPageView(pt){return this._pages[pt]}get pageViewsReady(){return this._pagesCapability.settled?this._pages.every(function(pt){return pt==null?void 0:pt.pdfPage}):!1}get renderForms(){return me(this,Pe)===R.AnnotationMode.ENABLE_FORMS}get enableScripting(){return!!this._scriptingManager}get currentPageNumber(){return this._currentPageNumber}set currentPageNumber(pt){if(!Number.isInteger(pt))throw new Error("Invalid page number.");this.pdfDocument&&(this._setCurrentPageNumber(pt,!0)||console.error(`currentPageNumber: "${pt}" is not a valid page.`))}_setCurrentPageNumber(pt){var wt,Pt;let Nt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(this._currentPageNumber===pt)return Nt&&oe(this,Ue,rt).call(this),!0;if(!(0=0&&(wt=Pt+1)}this._setCurrentPageNumber(wt,!0)||console.error(`currentPageLabel: "${pt}" is not a valid page.`)}get currentScale(){return this._currentScale!==U.UNKNOWN_SCALE?this._currentScale:U.DEFAULT_SCALE}set currentScale(pt){if(isNaN(pt))throw new Error("Invalid numeric scale.");this.pdfDocument&&this._setScale(pt,!1)}get currentScaleValue(){return this._currentScaleValue}set currentScaleValue(pt){this.pdfDocument&&this._setScale(pt,!1)}get pagesRotation(){return this._pagesRotation}set pagesRotation(pt){if(!(0,U.isValidRotation)(pt))throw new Error("Invalid pages rotation angle.");if(!this.pdfDocument||(pt%=360,pt<0&&(pt+=360),this._pagesRotation===pt))return;this._pagesRotation=pt;const wt=this._currentPageNumber,Pt={rotation:pt};for(const Nt of this._pages)Nt.update(Pt);this._currentScaleValue&&this._setScale(this._currentScaleValue,!0),this.eventBus.dispatch("rotationchanging",{source:this,pagesRotation:pt,pageNumber:wt}),this.defaultRenderingQueue&&this.update()}get firstPagePromise(){return this.pdfDocument?this._firstPageCapability.promise:null}get onePageRendered(){return this.pdfDocument?this._onePageRenderedCapability.promise:null}get pagesPromise(){return this.pdfDocument?this._pagesCapability.promise:null}setDocument(pt){if(this.pdfDocument&&(this.eventBus.dispatch("pagesdestroy",{source:this}),this._cancelRendering(),this._resetView(),this.findController&&this.findController.setDocument(null),this._scriptingManager&&this._scriptingManager.setDocument(null),me(this,Fe)&&(me(this,Fe).destroy(),ke(this,Fe,null))),this.pdfDocument=pt,!pt)return;const wt=pt.isPureXfa,Pt=pt.numPages,Nt=pt.getPage(1),Vt=pt.getOptionalContentConfig(),Wt=me(this,we)?pt.getPermissions():Promise.resolve();if(Pt>Ce.FORCE_SCROLL_MODE_PAGE){console.warn("Forcing PAGE-scrolling for performance reasons, given the length of the document.");const Mt=this._scrollMode=U.ScrollMode.PAGE;this.eventBus.dispatch("scrollmodechanged",{source:this,mode:Mt})}this._pagesCapability.promise.then(()=>{this.eventBus.dispatch("pagesloaded",{source:this,pagesCount:Pt})},()=>{}),this._onBeforeDraw=Mt=>{const $t=this._pages[Mt.pageNumber-1];$t&&me(this,ze).push($t)},this.eventBus._on("pagerender",this._onBeforeDraw),this._onAfterDraw=Mt=>{Mt.cssTransform||this._onePageRenderedCapability.settled||(this._onePageRenderedCapability.resolve({timestamp:Mt.timestamp}),this.eventBus._off("pagerendered",this._onAfterDraw),this._onAfterDraw=null,me(this,Ke)&&(document.removeEventListener("visibilitychange",me(this,Ke)),ke(this,Ke,null)))},this.eventBus._on("pagerendered",this._onAfterDraw),Promise.all([Nt,Wt]).then(Mt=>{let[$t,Yt]=Mt;if(pt!==this.pdfDocument)return;this._firstPageCapability.resolve($t),this._optionalContentConfigPromise=Vt;const{annotationEditorMode:Ft,annotationMode:Jt,textLayerMode:er}=oe(this,Ve,st).call(this,Yt);if(Ft!==R.AnnotationEditorType.DISABLE){const cr=Ft;wt?console.warn("Warning: XFA-editing is not implemented."):pe(cr)?(ke(this,Fe,new R.AnnotationEditorUIManager(this.container,this.eventBus)),cr!==R.AnnotationEditorType.NONE&&me(this,Fe).updateMode(cr)):console.error(`Invalid AnnotationEditor mode: ${cr}`)}const Bt=this._scrollMode===U.ScrollMode.PAGE?null:this.viewer,It=this.currentScale,Dt=$t.getViewport({scale:It*R.PixelsPerInch.PDF_TO_CSS_UNITS}),Zt=er!==U.TextLayerMode.DISABLE&&!wt?this:null,gr=Jt!==R.AnnotationMode.DISABLE?this:null,fr=wt?this:null,Dr=me(this,Fe)?this:null;for(let cr=1;cr<=Pt;++cr){const Ar=new ae.PDFPageView({container:Bt,eventBus:this.eventBus,id:cr,scale:It,defaultViewport:Dt.clone(),optionalContentConfigPromise:Vt,renderingQueue:this.renderingQueue,textLayerFactory:Zt,textLayerMode:er,annotationLayerFactory:gr,annotationMode:Jt,xfaLayerFactory:fr,annotationEditorLayerFactory:Dr,textHighlighterFactory:this,structTreeLayerFactory:this,imageResourcesPath:this.imageResourcesPath,renderer:this.renderer,useOnlyCssZoom:this.useOnlyCssZoom,maxCanvasPixels:this.maxCanvasPixels,pageColors:this.pageColors,l10n:this.l10n});this._pages.push(Ar)}const kr=this._pages[0];kr&&(kr.setPdfPage($t),this.linkService.cachePageRef(1,$t.ref)),this._scrollMode===U.ScrollMode.PAGE?oe(this,Le,ct).call(this):this._spreadMode!==U.SpreadMode.NONE&&this._updateSpreadMode(),oe(this,je,dt).call(this).then(async()=>{if(this.findController&&this.findController.setDocument(pt),this._scriptingManager&&this._scriptingManager.setDocument(pt),me(this,Fe)&&this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:me(this,Te)}),pt.loadingParams.disableAutoFetch||Pt>Ce.FORCE_LAZY_PAGE_INIT){this._pagesCapability.resolve();return}let cr=Pt-1;if(cr<=0){this._pagesCapability.resolve();return}for(let Ar=2;Ar<=Pt;++Ar){const yt=pt.getPage(Ar).then(vt=>{const Xt=this._pages[Ar-1];Xt.pdfPage||Xt.setPdfPage(vt),this.linkService.cachePageRef(Ar,vt.ref),--cr===0&&this._pagesCapability.resolve()},vt=>{console.error(`Unable to get page ${Ar} to initialize viewer`,vt),--cr===0&&this._pagesCapability.resolve()});Ar%Ce.PAUSE_EAGER_PAGE_INIT===0&&await yt}}),this.eventBus.dispatch("pagesinit",{source:this}),pt.getMetadata().then(cr=>{let{info:Ar}=cr;pt===this.pdfDocument&&Ar.Language&&(this.viewer.lang=Ar.Language)}),this.defaultRenderingQueue&&this.update()}).catch(Mt=>{console.error("Unable to initialize viewer",Mt),this._pagesCapability.reject(Mt)})}setPageLabels(pt){if(this.pdfDocument){pt?Array.isArray(pt)&&this.pdfDocument.numPages===pt.length?this._pageLabels=pt:(this._pageLabels=null,console.error("setPageLabels: Invalid page labels.")):this._pageLabels=null;for(let Nt=0,Vt=this._pages.length;Nt2&&arguments[2]!==void 0?arguments[2]:!1,Nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;if(this._currentScaleValue=wt.toString(),oe(this,Qe,ut).call(this,pt)){Nt&&this.eventBus.dispatch("scalechanging",{source:this,scale:pt,presetValue:wt});return}U.docStyle.setProperty("--scale-factor",pt*R.PixelsPerInch.PDF_TO_CSS_UNITS);const Vt={scale:pt};for(const Wt of this._pages)Wt.update(Vt);if(this._currentScale=pt,!Pt){let Wt=this._currentPageNumber,Mt;this._location&&!(this.isInPresentationMode||this.isChangingPresentationMode)&&(Wt=this._location.pageNumber,Mt=[null,{name:"XYZ"},this._location.left,this._location.top,null]),this.scrollPageIntoView({pageNumber:Wt,destArray:Mt,allowNegativeOffset:!0})}this.eventBus.dispatch("scalechanging",{source:this,scale:pt,presetValue:Nt?wt:void 0}),this.defaultRenderingQueue&&this.update(),this.updateContainerHeightCss()}get _pageWidthScaleFactor(){return this._spreadMode!==U.SpreadMode.NONE&&this._scrollMode!==U.ScrollMode.HORIZONTAL?2:1}_setScale(pt){let wt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,Pt=parseFloat(pt);if(Pt>0)this._setScaleUpdatePages(Pt,pt,wt,!1);else{const Nt=this._pages[this._currentPageNumber-1];if(!Nt)return;let Vt=U.SCROLLBAR_PADDING,Wt=U.VERTICAL_PADDING;this.isInPresentationMode?Vt=Wt=4:this.removePageBorders?Vt=Wt=0:this._scrollMode===U.ScrollMode.HORIZONTAL&&([Vt,Wt]=[Wt,Vt]);const Mt=(this.container.clientWidth-Vt)/Nt.width*Nt.scale/this._pageWidthScaleFactor,$t=(this.container.clientHeight-Wt)/Nt.height*Nt.scale;switch(pt){case"page-actual":Pt=1;break;case"page-width":Pt=Mt;break;case"page-height":Pt=$t;break;case"page-fit":Pt=Math.min(Mt,$t);break;case"auto":const Yt=(0,U.isPortraitOrientation)(Nt)?Mt:Math.min($t,Mt);Pt=Math.min(U.MAX_AUTO_SCALE,Yt);break;default:console.error(`_setScale: "${pt}" is an unknown zoom value.`);return}this._setScaleUpdatePages(Pt,pt,wt,!0)}}pageLabelToPageNumber(pt){if(!this._pageLabels)return null;const wt=this._pageLabels.indexOf(pt);return wt<0?null:wt+1}scrollPageIntoView(pt){let{pageNumber:wt,destArray:Pt=null,allowNegativeOffset:Nt=!1,ignoreDestinationZoom:Vt=!1}=pt;if(!this.pdfDocument)return;const Wt=Number.isInteger(wt)&&this._pages[wt-1];if(!Wt){console.error(`scrollPageIntoView: "${wt}" is not a valid pageNumber parameter.`);return}if(this.isInPresentationMode||!Pt){this._setCurrentPageNumber(wt,!0);return}let Mt=0,$t=0,Yt=0,Ft=0,Jt,er;const Bt=Wt.rotation%180!==0,It=(Bt?Wt.height:Wt.width)/Wt.scale/R.PixelsPerInch.PDF_TO_CSS_UNITS,Dt=(Bt?Wt.width:Wt.height)/Wt.scale/R.PixelsPerInch.PDF_TO_CSS_UNITS;let Zt=0;switch(Pt[1].name){case"XYZ":Mt=Pt[2],$t=Pt[3],Zt=Pt[4],Mt=Mt!==null?Mt:0,$t=$t!==null?$t:Dt;break;case"Fit":case"FitB":Zt="page-fit";break;case"FitH":case"FitBH":$t=Pt[2],Zt="page-width",$t===null&&this._location?(Mt=this._location.left,$t=this._location.top):(typeof $t!="number"||$t<0)&&($t=Dt);break;case"FitV":case"FitBV":Mt=Pt[2],Yt=It,Ft=Dt,Zt="page-height";break;case"FitR":Mt=Pt[2],$t=Pt[3],Yt=Pt[4]-Mt,Ft=Pt[5]-$t;const kr=this.removePageBorders?0:U.SCROLLBAR_PADDING,cr=this.removePageBorders?0:U.VERTICAL_PADDING;Jt=(this.container.clientWidth-kr)/Yt/R.PixelsPerInch.PDF_TO_CSS_UNITS,er=(this.container.clientHeight-cr)/Ft/R.PixelsPerInch.PDF_TO_CSS_UNITS,Zt=Math.min(Math.abs(Jt),Math.abs(er));break;default:console.error(`scrollPageIntoView: "${Pt[1].name}" is not a valid destination type.`);return}if(Vt||(Zt&&Zt!==this._currentScale?this.currentScaleValue=Zt:this._currentScale===U.UNKNOWN_SCALE&&(this.currentScaleValue=U.DEFAULT_SCALE_VALUE)),Zt==="page-fit"&&!Pt[4]){oe(this,et,mt).call(this,Wt);return}const gr=[Wt.viewport.convertToViewportPoint(Mt,$t),Wt.viewport.convertToViewportPoint(Mt+Yt,$t+Ft)];let fr=Math.min(gr[0][0],gr[1][0]),Dr=Math.min(gr[0][1],gr[1][1]);Nt||(fr=Math.max(fr,0),Dr=Math.max(Dr,0)),oe(this,et,mt).call(this,Wt,{left:fr,top:Dr})}_updateLocation(pt){const wt=this._currentScale,Pt=this._currentScaleValue,Nt=parseFloat(Pt)===wt?Math.round(wt*1e4)/100:Pt,Vt=pt.id,Wt=this._pages[Vt-1],Mt=this.container,$t=Wt.getPagePoint(Mt.scrollLeft-pt.x,Mt.scrollTop-pt.y),Yt=Math.round($t[0]),Ft=Math.round($t[1]);let Jt=`#page=${Vt}`;this.isInPresentationMode||(Jt+=`&zoom=${Nt},${Yt},${Ft}`),this._location={pageNumber:Vt,scale:Nt,top:Ft,left:Yt,rotation:this._pagesRotation,pdfOpenParams:Jt}}update(){const pt=this._getVisiblePages(),wt=pt.views,Pt=wt.length;if(Pt===0)return;const Nt=Math.max(ve,2*Pt+1);me(this,ze).resize(Nt,pt.ids),this.renderingQueue.renderHighestPriority(pt);const Vt=this._spreadMode===U.SpreadMode.NONE&&(this._scrollMode===U.ScrollMode.PAGE||this._scrollMode===U.ScrollMode.VERTICAL),Wt=this._currentPageNumber;let Mt=!1;for(const $t of wt){if($t.percent<100)break;if($t.id===Wt&&Vt){Mt=!0;break}}this._setCurrentPageNumber(Mt?Wt:wt[0].id),this._updateLocation(pt.first),this.eventBus.dispatch("updateviewarea",{source:this,location:this._location})}containsElement(pt){return this.container.contains(pt)}focus(){this.container.focus()}get _isContainerRtl(){return getComputedStyle(this.container).direction==="rtl"}get isInPresentationMode(){return this.presentationModeState===U.PresentationModeState.FULLSCREEN}get isChangingPresentationMode(){return this.presentationModeState===U.PresentationModeState.CHANGING}get isHorizontalScrollbarEnabled(){return this.isInPresentationMode?!1:this.container.scrollWidth>this.container.clientWidth}get isVerticalScrollbarEnabled(){return this.isInPresentationMode?!1:this.container.scrollHeight>this.container.clientHeight}_getVisiblePages(){const pt=this._scrollMode===U.ScrollMode.PAGE?me(this,Be).pages:this._pages,wt=this._scrollMode===U.ScrollMode.HORIZONTAL,Pt=wt&&this._isContainerRtl;return(0,U.getVisibleElements)({scrollEl:this.container,views:pt,sortByVisibility:!0,horizontal:wt,rtl:Pt})}isPageVisible(pt){return this.pdfDocument?Number.isInteger(pt)&&pt>0&&pt<=this.pagesCount?this._getVisiblePages().ids.has(pt):(console.error(`isPageVisible: "${pt}" is not a valid page.`),!1):!1}isPageCached(pt){if(!this.pdfDocument)return!1;if(!(Number.isInteger(pt)&&pt>0&&pt<=this.pagesCount))return console.error(`isPageCached: "${pt}" is not a valid page.`),!1;const wt=this._pages[pt-1];return me(this,ze).has(wt)}cleanup(){for(const pt of this._pages)pt.renderingState!==U.RenderingStates.FINISHED&&pt.reset()}_cancelRendering(){for(const pt of this._pages)pt.cancelRendering()}forceRendering(pt){const wt=pt||this._getVisiblePages(),Pt=oe(this,Ye,Je).call(this,wt),Nt=this._spreadMode!==U.SpreadMode.NONE&&this._scrollMode!==U.ScrollMode.HORIZONTAL,Vt=this.renderingQueue.getHighestPriority(wt,this._pages,Pt,Nt);return oe(this,tt,St).call(this,wt.ids),Vt?(oe(this,$e,He).call(this,Vt).then(()=>{this.renderingQueue.renderView(Vt)}),!0):!1}createTextLayerBuilder(pt){let{textLayerDiv:wt,pageIndex:Pt,viewport:Nt,enhanceTextSelection:Vt=!1,eventBus:Wt,highlighter:Mt,accessibilityManager:$t=null}=pt;return new X.TextLayerBuilder({textLayerDiv:wt,eventBus:Wt,pageIndex:Pt,viewport:Nt,enhanceTextSelection:this.isInPresentationMode?!1:Vt,highlighter:Mt,accessibilityManager:$t})}createTextHighlighter(pt){let{pageIndex:wt,eventBus:Pt}=pt;return new W.TextHighlighter({eventBus:Pt,pageIndex:wt,findController:this.isInPresentationMode?null:this.findController})}createAnnotationLayerBuilder(pt){var wt,Pt,Nt,Vt;let{pageDiv:Wt,pdfPage:Mt,annotationStorage:$t=(wt=this.pdfDocument)===null||wt===void 0?void 0:wt.annotationStorage,imageResourcesPath:Yt="",renderForms:Ft=!0,l10n:Jt=e.NullL10n,enableScripting:er=this.enableScripting,hasJSActionsPromise:Bt=(Pt=this.pdfDocument)===null||Pt===void 0?void 0:Pt.hasJSActions(),mouseState:It=(Nt=this._scriptingManager)===null||Nt===void 0?void 0:Nt.mouseState,fieldObjectsPromise:Dt=(Vt=this.pdfDocument)===null||Vt===void 0?void 0:Vt.getFieldObjects(),annotationCanvasMap:Zt=null,accessibilityManager:gr=null}=pt;return new z.AnnotationLayerBuilder({pageDiv:Wt,pdfPage:Mt,annotationStorage:$t,imageResourcesPath:Yt,renderForms:Ft,linkService:this.linkService,downloadManager:this.downloadManager,l10n:Jt,enableScripting:er,hasJSActionsPromise:Bt,mouseState:It,fieldObjectsPromise:Dt,annotationCanvasMap:Zt,accessibilityManager:gr})}createAnnotationEditorLayerBuilder(pt){var wt;let{uiManager:Pt=me(this,Fe),pageDiv:Nt,pdfPage:Vt,accessibilityManager:Wt=null,l10n:Mt,annotationStorage:$t=(wt=this.pdfDocument)===null||wt===void 0?void 0:wt.annotationStorage}=pt;return new K.AnnotationEditorLayerBuilder({uiManager:Pt,pageDiv:Nt,pdfPage:Vt,annotationStorage:$t,accessibilityManager:Wt,l10n:Mt})}createXfaLayerBuilder(pt){var wt;let{pageDiv:Pt,pdfPage:Nt,annotationStorage:Vt=(wt=this.pdfDocument)===null||wt===void 0?void 0:wt.annotationStorage}=pt;return new L.XfaLayerBuilder({pageDiv:Pt,pdfPage:Nt,annotationStorage:Vt,linkService:this.linkService})}createStructTreeLayerBuilder(pt){let{pdfPage:wt}=pt;return new J.StructTreeLayerBuilder({pdfPage:wt})}get hasEqualPageSizes(){const pt=this._pages[0];for(let wt=1,Pt=this._pages.length;wt{const wt=pt.pdfPage.getViewport({scale:1});return!this.enablePrintAutoRotate||(0,U.isPortraitOrientation)(wt)?{width:wt.width,height:wt.height,rotation:wt.rotation}:{width:wt.height,height:wt.width,rotation:(wt.rotation-90)%360}})}get optionalContentConfigPromise(){return this.pdfDocument?this._optionalContentConfigPromise?this._optionalContentConfigPromise:(console.error("optionalContentConfigPromise: Not initialized yet."),this.pdfDocument.getOptionalContentConfig()):Promise.resolve(null)}set optionalContentConfigPromise(pt){if(!(pt instanceof Promise))throw new Error(`Invalid optionalContentConfigPromise: ${pt}`);if(!this.pdfDocument||!this._optionalContentConfigPromise)return;this._optionalContentConfigPromise=pt;const wt={optionalContentConfigPromise:pt};for(const Pt of this._pages)Pt.update(wt);this.update(),this.eventBus.dispatch("optionalcontentconfigchanged",{source:this,promise:pt})}get scrollMode(){return this._scrollMode}set scrollMode(pt){if(this._scrollMode!==pt){if(!(0,U.isValidScrollMode)(pt))throw new Error(`Invalid scroll mode: ${pt}`);this.pagesCount>Ce.FORCE_SCROLL_MODE_PAGE||(this._previousScrollMode=this._scrollMode,this._scrollMode=pt,this.eventBus.dispatch("scrollmodechanged",{source:this,mode:pt}),this._updateScrollMode(this._currentPageNumber))}}_updateScrollMode(){let pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;const wt=this._scrollMode,Pt=this.viewer;Pt.classList.toggle("scrollHorizontal",wt===U.ScrollMode.HORIZONTAL),Pt.classList.toggle("scrollWrapped",wt===U.ScrollMode.WRAPPED),!(!this.pdfDocument||!pt)&&(wt===U.ScrollMode.PAGE?oe(this,Le,ct).call(this):this._previousScrollMode===U.ScrollMode.PAGE&&this._updateSpreadMode(),this._currentScaleValue&&isNaN(this._currentScaleValue)&&this._setScale(this._currentScaleValue,!0),this._setCurrentPageNumber(pt,!0),this.update())}get spreadMode(){return this._spreadMode}set spreadMode(pt){if(this._spreadMode!==pt){if(!(0,U.isValidSpreadMode)(pt))throw new Error(`Invalid spread mode: ${pt}`);this._spreadMode=pt,this.eventBus.dispatch("spreadmodechanged",{source:this,mode:pt}),this._updateSpreadMode(this._currentPageNumber)}}_updateSpreadMode(){let pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(!this.pdfDocument)return;const wt=this.viewer,Pt=this._pages;if(this._scrollMode===U.ScrollMode.PAGE)oe(this,Le,ct).call(this);else if(wt.textContent="",this._spreadMode===U.SpreadMode.NONE)for(const Nt of this._pages)wt.append(Nt.div);else{const Nt=this._spreadMode-1;let Vt=null;for(let Wt=0,Mt=Pt.length;Wt1&&arguments[1]!==void 0?arguments[1]:!1;switch(this._scrollMode){case U.ScrollMode.WRAPPED:{const{views:Pt}=this._getVisiblePages(),Nt=new Map;for(const{id:Vt,y:Wt,percent:Mt,widthPercent:$t}of Pt){if(Mt===0||$t<100)continue;let Yt=Nt.get(Wt);Yt||Nt.set(Wt,Yt||(Yt=[])),Yt.push(Vt)}for(const Vt of Nt.values()){const Wt=Vt.indexOf(pt);if(Wt===-1)continue;const Mt=Vt.length;if(Mt===1)break;if(wt)for(let $t=Wt-1,Yt=0;$t>=Yt;$t--){const Ft=Vt[$t],Jt=Vt[$t+1]-1;if(FtJt)return Jt-pt}if(wt){const $t=Vt[0];if($tpt)return $t-pt+1}break}break}case U.ScrollMode.HORIZONTAL:break;case U.ScrollMode.PAGE:case U.ScrollMode.VERTICAL:{if(this._spreadMode===U.SpreadMode.NONE)break;const Pt=this._spreadMode-1;if(wt&&pt%2!==Pt)break;if(!wt&&pt%2===Pt)break;const{views:Nt}=this._getVisiblePages(),Vt=wt?pt-1:pt+1;for(const{id:Wt,percent:Mt,widthPercent:$t}of Nt)if(Wt===Vt){if(Mt>0&&$t===100)return 2;break}break}}return 1}nextPage(){const pt=this._currentPageNumber,wt=this.pagesCount;if(pt>=wt)return!1;const Pt=this._getPageAdvance(pt,!1)||1;return this.currentPageNumber=Math.min(pt+Pt,wt),!0}previousPage(){const pt=this._currentPageNumber;if(pt<=1)return!1;const wt=this._getPageAdvance(pt,!0)||1;return this.currentPageNumber=Math.max(pt-wt,1),!0}increaseScale(){let pt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1,wt=this._currentScale;do wt=(wt*U.DEFAULT_SCALE_DELTA).toFixed(2),wt=Math.ceil(wt*10)/10,wt=Math.min(U.MAX_SCALE,wt);while(--pt>0&&wt0&&arguments[0]!==void 0?arguments[0]:1,wt=this._currentScale;do wt=(wt/U.DEFAULT_SCALE_DELTA).toFixed(2),wt=Math.floor(wt*10)/10,wt=Math.max(U.MIN_SCALE,wt);while(--pt>0&&wt>U.MIN_SCALE);this.currentScaleValue=wt}updateContainerHeightCss(){const pt=this.container.clientHeight;pt!==me(this,Ie)&&(ke(this,Ie,pt),U.docStyle.setProperty("--viewer-container-height",`${pt}px`))}get annotationEditorMode(){return me(this,Fe)?me(this,Te):R.AnnotationEditorType.DISABLE}set annotationEditorMode(pt){if(!me(this,Fe))throw new Error("The AnnotationEditor is not enabled.");if(me(this,Te)!==pt){if(!pe(pt))throw new Error(`Invalid AnnotationEditor mode: ${pt}`);this.pdfDocument&&(ke(this,Te,pt),this.eventBus.dispatch("annotationeditormodechanged",{source:this,mode:pt}),me(this,Fe).updateMode(pt))}}set annotationEditorParams(pt){let{type:wt,value:Pt}=pt;if(!me(this,Fe))throw new Error("The AnnotationEditor is not enabled.");me(this,Fe).updateParams(wt,Pt)}refresh(){if(!this.pdfDocument)return;const pt={};for(const wt of this._pages)wt.update(pt);this.update()}}D.BaseViewer=ot;function st(bt){const pt={annotationEditorMode:me(this,Te),annotationMode:me(this,Pe),textLayerMode:this.textLayerMode};return bt&&(bt.includes(R.PermissionFlag.COPY)||this.viewer.classList.add(ye),bt.includes(R.PermissionFlag.MODIFY_CONTENTS)||(pt.annotationEditorMode=R.AnnotationEditorType.DISABLE),!bt.includes(R.PermissionFlag.MODIFY_ANNOTATIONS)&&!bt.includes(R.PermissionFlag.FILL_INTERACTIVE_FORMS)&&me(this,Pe)===R.AnnotationMode.ENABLE_FORMS&&(pt.annotationMode=R.AnnotationMode.ENABLE)),pt}function dt(){if(document.visibilityState==="hidden"||!this.container.offsetParent||this._getVisiblePages().views.length===0)return Promise.resolve();const bt=new Promise(pt=>{ke(this,Ke,()=>{document.visibilityState==="hidden"&&(pt(),document.removeEventListener("visibilitychange",me(this,Ke)),ke(this,Ke,null))}),document.addEventListener("visibilitychange",me(this,Ke))});return Promise.race([this._onePageRenderedCapability.promise,bt])}function ct(){if(this._scrollMode!==U.ScrollMode.PAGE)throw new Error("#ensurePageViewVisible: Invalid scrollMode value.");const bt=this._currentPageNumber,pt=me(this,Be),wt=this.viewer;if(wt.textContent="",pt.pages.length=0,this._spreadMode===U.SpreadMode.NONE&&!this.isInPresentationMode){const Pt=this._pages[bt-1];wt.append(Pt.div),pt.pages.push(Pt)}else{const Pt=new Set,Nt=this._spreadMode-1;Nt===-1?Pt.add(bt-1):bt%2!==Nt?(Pt.add(bt-1),Pt.add(bt)):(Pt.add(bt-2),Pt.add(bt-1));const Vt=document.createElement("div");if(Vt.className="spread",this.isInPresentationMode){const Wt=document.createElement("div");Wt.className="dummyPage",Vt.append(Wt)}for(const Wt of Pt){const Mt=this._pages[Wt];Mt&&(Vt.append(Mt.div),pt.pages.push(Mt))}wt.append(Vt)}pt.scrollDown=bt>=pt.previousPageNumber,pt.previousPageNumber=bt}function mt(bt){let pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;const{div:wt,id:Pt}=bt;if(this._scrollMode===U.ScrollMode.PAGE&&(this._setCurrentPageNumber(Pt),oe(this,Le,ct).call(this),this.update()),!pt&&!this.isInPresentationMode){const Nt=wt.offsetLeft+wt.clientLeft,Vt=Nt+wt.clientWidth,{scrollLeft:Wt,clientWidth:Mt}=this.container;(this._scrollMode===U.ScrollMode.HORIZONTAL||NtWt+Mt)&&(pt={left:0,top:0})}(0,U.scrollIntoView)(wt,pt)}function ut(bt){return bt===this._currentScale||Math.abs(bt-this._currentScale)<1e-15}function rt(){const bt=this._pages[this._currentPageNumber-1];this.isInPresentationMode&&this._setScale(this._currentScaleValue,!0),oe(this,et,mt).call(this,bt)}async function He(bt){if(bt.pdfPage)return bt.pdfPage;try{var pt,wt;const Pt=await this.pdfDocument.getPage(bt.id);return bt.pdfPage||bt.setPdfPage(Pt),(pt=(wt=this.linkService)._cachedPageNumber)!==null&&pt!==void 0&&pt.call(wt,Pt.ref)||this.linkService.cachePageRef(bt.id,Pt.ref),Pt}catch(Pt){return console.error("Unable to get page for page view",Pt),null}}function Je(bt){var pt,wt;if(((pt=bt.first)===null||pt===void 0?void 0:pt.id)===1)return!0;if(((wt=bt.last)===null||wt===void 0?void 0:wt.id)===this.pagesCount)return!1;switch(this._scrollMode){case U.ScrollMode.PAGE:return me(this,Be).scrollDown;case U.ScrollMode.HORIZONTAL:return this.scroll.right}return this.scroll.down}function St(bt){for(const pt of bt){const wt=this._pages[pt-1];wt==null||wt.toggleLoadingIconSpinner(!0)}for(const pt of me(this,ze))bt.has(pt.id)||pt.toggleLoadingIconSpinner(!1)}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFPageView=void 0;var R=B(3),U=B(7),K=B(14),z=B(4),e=B(15);function ae(oe,me,Ee){ie(oe,me),me.set(oe,Ee)}function ie(oe,me){if(me.has(oe))throw new TypeError("Cannot initialize the same private elements twice on an object")}function he(oe,me){var Ee=X(oe,me,"get");return J(oe,Ee)}function J(oe,me){return me.get?me.get.call(oe):me.value}function W(oe,me,Ee){var ke=X(oe,me,"set");return L(oe,ke,Ee),Ee}function X(oe,me,Ee){if(!me.has(oe))throw new TypeError("attempted to "+Ee+" private field on non-instance");return me.get(oe)}function L(oe,me,Ee){if(me.set)me.set.call(oe,Ee);else{if(!me.writable)throw new TypeError("attempted to set read only private field");me.value=Ee}}const Q=K.compatibilityParams.maxCanvasPixels||16777216;var ce=new WeakMap,de=new WeakMap;class se{constructor(me){var Ee,ke,xe,fe;ae(this,ce,{writable:!0,value:R.AnnotationMode.ENABLE_FORMS}),ae(this,de,{writable:!0,value:{initialOptionalContent:!0,regularAnnotations:!0}});const ve=me.container,ye=me.defaultViewport;this.id=me.id,this.renderingId="page"+this.id,this.pdfPage=null,this.pageLabel=null,this.rotation=0,this.scale=me.scale||U.DEFAULT_SCALE,this.viewport=ye,this.pdfPageRotate=ye.rotation,this._optionalContentConfigPromise=me.optionalContentConfigPromise||null,this.hasRestrictedScaling=!1,this.textLayerMode=(Ee=me.textLayerMode)!==null&&Ee!==void 0?Ee:U.TextLayerMode.ENABLE,W(this,ce,(ke=me.annotationMode)!==null&&ke!==void 0?ke:R.AnnotationMode.ENABLE_FORMS),this.imageResourcesPath=me.imageResourcesPath||"",this.useOnlyCssZoom=me.useOnlyCssZoom||!1,this.maxCanvasPixels=me.maxCanvasPixels||Q,this.pageColors=me.pageColors||null,this.eventBus=me.eventBus,this.renderingQueue=me.renderingQueue,this.textLayerFactory=me.textLayerFactory,this.annotationLayerFactory=me.annotationLayerFactory,this.annotationEditorLayerFactory=me.annotationEditorLayerFactory,this.xfaLayerFactory=me.xfaLayerFactory,this.textHighlighter=(xe=me.textHighlighterFactory)===null||xe===void 0?void 0:xe.createTextHighlighter({pageIndex:this.id-1,eventBus:this.eventBus}),this.structTreeLayerFactory=me.structTreeLayerFactory,this.renderer=me.renderer||U.RendererType.CANVAS,this.l10n=me.l10n||z.NullL10n,this.paintTask=null,this.paintedViewportMap=new WeakMap,this.renderingState=U.RenderingStates.INITIAL,this.resume=null,this._renderError=null,this._isStandalone=!((fe=this.renderingQueue)!==null&&fe!==void 0&&fe.hasViewer()),this._annotationCanvasMap=null,this.annotationLayer=null,this.annotationEditorLayer=null,this.textLayer=null,this.zoomLayer=null,this.xfaLayer=null,this.structTreeLayer=null;const Ce=document.createElement("div");if(Ce.className="page",Ce.style.width=Math.floor(this.viewport.width)+"px",Ce.style.height=Math.floor(this.viewport.height)+"px",Ce.setAttribute("data-page-number",this.id),Ce.setAttribute("role","region"),this.l10n.get("page_landmark",{page:this.id}).then(pe=>{Ce.setAttribute("aria-label",pe)}),this.div=Ce,ve==null||ve.append(Ce),this._isStandalone){const{optionalContentConfigPromise:pe}=me;pe&&pe.then(_e=>{pe===this._optionalContentConfigPromise&&(he(this,de).initialOptionalContent=_e.hasInitialVisibility)})}}setPdfPage(me){this.pdfPage=me,this.pdfPageRotate=me.rotate;const Ee=(this.rotation+this.pdfPageRotate)%360;this.viewport=me.getViewport({scale:this.scale*R.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:Ee}),this.reset()}destroy(){this.reset(),this.pdfPage&&this.pdfPage.cleanup()}async _renderAnnotationLayer(){let me=null;try{await this.annotationLayer.render(this.viewport,"display")}catch(Ee){console.error(`_renderAnnotationLayer: "${Ee}".`),me=Ee}finally{this.eventBus.dispatch("annotationlayerrendered",{source:this,pageNumber:this.id,error:me})}}async _renderAnnotationEditorLayer(){let me=null;try{await this.annotationEditorLayer.render(this.viewport,"display")}catch(Ee){console.error(`_renderAnnotationEditorLayer: "${Ee}".`),me=Ee}finally{this.eventBus.dispatch("annotationeditorlayerrendered",{source:this,pageNumber:this.id,error:me})}}async _renderXfaLayer(){let me=null;try{const Ee=await this.xfaLayer.render(this.viewport,"display");this.textHighlighter&&this._buildXfaTextContentItems(Ee.textDivs)}catch(Ee){console.error(`_renderXfaLayer: "${Ee}".`),me=Ee}finally{this.eventBus.dispatch("xfalayerrendered",{source:this,pageNumber:this.id,error:me})}}async _buildXfaTextContentItems(me){const Ee=await this.pdfPage.getTextContent(),ke=[];for(const xe of Ee.items)ke.push(xe.str);this.textHighlighter.setTextMapping(me,ke),this.textHighlighter.enable()}_resetZoomLayer(){let me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this.zoomLayer)return;const Ee=this.zoomLayer.firstChild;this.paintedViewportMap.delete(Ee),Ee.width=0,Ee.height=0,me&&this.zoomLayer.remove(),this.zoomLayer=null}reset(){var me,Ee,ke;let{keepZoomLayer:xe=!1,keepAnnotationLayer:fe=!1,keepAnnotationEditorLayer:ve=!1,keepXfaLayer:ye=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.cancelRendering({keepAnnotationLayer:fe,keepAnnotationEditorLayer:ve,keepXfaLayer:ye}),this.renderingState=U.RenderingStates.INITIAL;const Ce=this.div;Ce.style.width=Math.floor(this.viewport.width)+"px",Ce.style.height=Math.floor(this.viewport.height)+"px";const pe=Ce.childNodes,_e=xe&&this.zoomLayer||null,Ge=fe&&((me=this.annotationLayer)===null||me===void 0?void 0:me.div)||null,Ae=ve&&((Ee=this.annotationEditorLayer)===null||Ee===void 0?void 0:Ee.div)||null,Ne=ye&&((ke=this.xfaLayer)===null||ke===void 0?void 0:ke.div)||null;for(let ze=pe.length-1;ze>=0;ze--){const Te=pe[ze];switch(Te){case _e:case Ge:case Ae:case Ne:continue}Te.remove()}if(Ce.removeAttribute("data-loaded"),Ge&&this.annotationLayer.hide(),Ae)this.annotationEditorLayer.hide();else{var Ze;(Ze=this.annotationEditorLayer)===null||Ze===void 0||Ze.destroy()}Ne&&this.xfaLayer.hide(),_e||(this.canvas&&(this.paintedViewportMap.delete(this.canvas),this.canvas.width=0,this.canvas.height=0,delete this.canvas),this._resetZoomLayer()),this.svg&&(this.paintedViewportMap.delete(this.svg),delete this.svg),this.loadingIconDiv=document.createElement("div"),this.loadingIconDiv.className="loadingIcon notVisible",this._isStandalone&&this.toggleLoadingIconSpinner(!0),this.loadingIconDiv.setAttribute("role","img"),this.l10n.get("loading").then(ze=>{var Te;(Te=this.loadingIconDiv)===null||Te===void 0||Te.setAttribute("aria-label",ze)}),Ce.append(this.loadingIconDiv)}update(me){let{scale:Ee=0,rotation:ke=null,optionalContentConfigPromise:xe=null}=me;this.scale=Ee||this.scale,typeof ke=="number"&&(this.rotation=ke),xe instanceof Promise&&(this._optionalContentConfigPromise=xe,xe.then(ye=>{xe===this._optionalContentConfigPromise&&(he(this,de).initialOptionalContent=ye.hasInitialVisibility)}));const fe=(this.rotation+this.pdfPageRotate)%360;if(this.viewport=this.viewport.clone({scale:this.scale*R.PixelsPerInch.PDF_TO_CSS_UNITS,rotation:fe}),this._isStandalone&&U.docStyle.setProperty("--scale-factor",this.viewport.scale),this.svg){this.cssTransform({target:this.svg,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});return}let ve=!1;if(this.canvas&&this.maxCanvasPixels>0){const ye=this.outputScale;(Math.floor(this.viewport.width)*ye.sx|0)*(Math.floor(this.viewport.height)*ye.sy|0)>this.maxCanvasPixels&&(ve=!0)}if(this.canvas){if(this.useOnlyCssZoom||this.hasRestrictedScaling&&ve){this.cssTransform({target:this.canvas,redrawAnnotationLayer:!0,redrawAnnotationEditorLayer:!0,redrawXfaLayer:!0}),this.eventBus.dispatch("pagerendered",{source:this,pageNumber:this.id,cssTransform:!0,timestamp:performance.now(),error:this._renderError});return}!this.zoomLayer&&!this.canvas.hidden&&(this.zoomLayer=this.canvas.parentNode,this.zoomLayer.style.position="absolute")}this.zoomLayer&&this.cssTransform({target:this.zoomLayer.firstChild}),this.reset({keepZoomLayer:!0,keepAnnotationLayer:!0,keepAnnotationEditorLayer:!0,keepXfaLayer:!0})}cancelRendering(){let{keepAnnotationLayer:me=!1,keepAnnotationEditorLayer:Ee=!1,keepXfaLayer:ke=!1}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this.paintTask&&(this.paintTask.cancel(),this.paintTask=null),this.resume=null,this.textLayer&&(this.textLayer.cancel(),this.textLayer=null),this.annotationLayer&&(!me||!this.annotationLayer.div)&&(this.annotationLayer.cancel(),this.annotationLayer=null,this._annotationCanvasMap=null),this.annotationEditorLayer&&(!Ee||!this.annotationEditorLayer.div)&&(this.annotationEditorLayer.cancel(),this.annotationEditorLayer=null),this.xfaLayer&&(!ke||!this.xfaLayer.div)){var xe;this.xfaLayer.cancel(),this.xfaLayer=null,(xe=this.textHighlighter)===null||xe===void 0||xe.disable()}this._onTextLayerRendered&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null)}cssTransform(me){let{target:Ee,redrawAnnotationLayer:ke=!1,redrawAnnotationEditorLayer:xe=!1,redrawXfaLayer:fe=!1}=me;const ve=this.viewport.width,ye=this.viewport.height,Ce=this.div;Ee.style.width=Ee.parentNode.style.width=Ce.style.width=Math.floor(ve)+"px",Ee.style.height=Ee.parentNode.style.height=Ce.style.height=Math.floor(ye)+"px";const pe=this.viewport.rotation-this.paintedViewportMap.get(Ee).rotation,_e=Math.abs(pe);let Ge=1,Ae=1;if((_e===90||_e===270)&&(Ge=ye/ve,Ae=ve/ye),Ee.style.transform=`rotate(${pe}deg) scale(${Ge}, ${Ae})`,this.textLayer){const Ne=this.textLayer.viewport,Ze=this.viewport.rotation-Ne.rotation,ze=Math.abs(Ze);let Te=ve/Ne.width;(ze===90||ze===270)&&(Te=ve/Ne.height);const Fe=this.textLayer.textLayerDiv;let Pe,we;switch(ze){case 0:Pe=we=0;break;case 90:Pe=0,we="-"+Fe.style.height;break;case 180:Pe="-"+Fe.style.width,we="-"+Fe.style.height;break;case 270:Pe="-"+Fe.style.width,we=0;break;default:console.error("Bad rotation value.");break}Fe.style.transform=`rotate(${ze}deg) scale(${Te}) translate(${Pe}, ${we})`,Fe.style.transformOrigin="0% 0%"}ke&&this.annotationLayer&&this._renderAnnotationLayer(),xe&&this.annotationEditorLayer&&this._renderAnnotationEditorLayer(),fe&&this.xfaLayer&&this._renderXfaLayer()}get width(){return this.viewport.width}get height(){return this.viewport.height}getPagePoint(me,Ee){return this.viewport.convertToPdfPoint(me,Ee)}toggleLoadingIconSpinner(){var me;let Ee=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;(me=this.loadingIconDiv)===null||me===void 0||me.classList.toggle("notVisible",!Ee)}draw(){var me,Ee,ke,xe=this;this.renderingState!==U.RenderingStates.INITIAL&&(console.error("Must be in new state before drawing"),this.reset());const{div:fe,pdfPage:ve}=this;if(!ve)return this.renderingState=U.RenderingStates.FINISHED,this.loadingIconDiv&&(this.loadingIconDiv.remove(),delete this.loadingIconDiv),Promise.reject(new Error("pdfPage is not loaded"));this.renderingState=U.RenderingStates.RUNNING;const ye=document.createElement("div");ye.style.width=fe.style.width,ye.style.height=fe.style.height,ye.classList.add("canvasWrapper");const Ce=((me=this.annotationLayer)===null||me===void 0?void 0:me.div)||((Ee=this.annotationEditorLayer)===null||Ee===void 0?void 0:Ee.div);Ce?Ce.before(ye):fe.append(ye);let pe=null;if(this.textLayerMode!==U.TextLayerMode.DISABLE&&this.textLayerFactory){this._accessibilityManager||(this._accessibilityManager=new e.TextAccessibilityManager);const Ze=document.createElement("div");Ze.className="textLayer",Ze.style.width=ye.style.width,Ze.style.height=ye.style.height,Ce?Ce.before(Ze):fe.append(Ze),pe=this.textLayerFactory.createTextLayerBuilder({textLayerDiv:Ze,pageIndex:this.id-1,viewport:this.viewport,enhanceTextSelection:this.textLayerMode===U.TextLayerMode.ENABLE_ENHANCE,eventBus:this.eventBus,highlighter:this.textHighlighter,accessibilityManager:this._accessibilityManager})}this.textLayer=pe,he(this,ce)!==R.AnnotationMode.DISABLE&&this.annotationLayerFactory&&(this._annotationCanvasMap||(this._annotationCanvasMap=new Map),this.annotationLayer||(this.annotationLayer=this.annotationLayerFactory.createAnnotationLayerBuilder({pageDiv:fe,pdfPage:ve,imageResourcesPath:this.imageResourcesPath,renderForms:he(this,ce)===R.AnnotationMode.ENABLE_FORMS,l10n:this.l10n,annotationCanvasMap:this._annotationCanvasMap,accessibilityManager:this._accessibilityManager}))),(ke=this.xfaLayer)!==null&&ke!==void 0&&ke.div&&fe.append(this.xfaLayer.div);let _e=null;this.renderingQueue&&(_e=Ze=>{if(!this.renderingQueue.isHighestPriority(this)){this.renderingState=U.RenderingStates.PAUSED,this.resume=()=>{this.renderingState=U.RenderingStates.RUNNING,Ze()};return}Ze()});const Ge=async function(){let Ze=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;if(Ae===xe.paintTask&&(xe.paintTask=null),Ze instanceof R.RenderingCancelledException){xe._renderError=null;return}if(xe._renderError=Ze,xe.renderingState=U.RenderingStates.FINISHED,xe.loadingIconDiv&&(xe.loadingIconDiv.remove(),delete xe.loadingIconDiv),xe._resetZoomLayer(!0),he(xe,de).regularAnnotations=!Ae.separateAnnots,xe.eventBus.dispatch("pagerendered",{source:xe,pageNumber:xe.id,cssTransform:!1,timestamp:performance.now(),error:xe._renderError}),Ze)throw Ze},Ae=this.renderer===U.RendererType.SVG?this.paintOnSvg(ye):this.paintOnCanvas(ye);Ae.onRenderContinue=_e,this.paintTask=Ae;const Ne=Ae.promise.then(()=>Ge(null).then(()=>{if(pe){const Ze=ve.streamTextContent({includeMarkedContent:!0});pe.setTextContentStream(Ze),pe.render()}this.annotationLayer&&this._renderAnnotationLayer().then(()=>{this.annotationEditorLayerFactory&&(this.annotationEditorLayer||(this.annotationEditorLayer=this.annotationEditorLayerFactory.createAnnotationEditorLayerBuilder({pageDiv:fe,pdfPage:ve,l10n:this.l10n,accessibilityManager:this._accessibilityManager})),this._renderAnnotationEditorLayer())})}),function(Ze){return Ge(Ze)});return this.xfaLayerFactory&&(this.xfaLayer||(this.xfaLayer=this.xfaLayerFactory.createXfaLayerBuilder({pageDiv:fe,pdfPage:ve})),this._renderXfaLayer()),this.structTreeLayerFactory&&this.textLayer&&this.canvas&&(this._onTextLayerRendered=Ze=>{Ze.pageNumber===this.id&&(this.eventBus._off("textlayerrendered",this._onTextLayerRendered),this._onTextLayerRendered=null,this.canvas&&this.pdfPage.getStructTree().then(ze=>{if(!ze||!this.canvas)return;const Te=this.structTreeLayer.render(ze);Te.classList.add("structTree"),this.canvas.append(Te)}))},this.eventBus._on("textlayerrendered",this._onTextLayerRendered),this.structTreeLayer=this.structTreeLayerFactory.createStructTreeLayerBuilder({pdfPage:ve})),fe.setAttribute("data-loaded",!0),this.eventBus.dispatch("pagerender",{source:this,pageNumber:this.id}),Ne}paintOnCanvas(me){const Ee=(0,R.createPromiseCapability)(),ke={promise:Ee.promise,onRenderContinue(ze){ze()},cancel(){Ze.cancel()},get separateAnnots(){return Ze.separateAnnots}},xe=this.viewport,fe=document.createElement("canvas");fe.setAttribute("role","presentation"),fe.hidden=!0;let ve=!0;const ye=function(){ve&&(fe.hidden=!1,ve=!1)};me.append(fe),this.canvas=fe;const Ce=fe.getContext("2d",{alpha:!1}),pe=this.outputScale=new U.OutputScale;if(this.useOnlyCssZoom){const ze=xe.clone({scale:R.PixelsPerInch.PDF_TO_CSS_UNITS});pe.sx*=ze.width/xe.width,pe.sy*=ze.height/xe.height}if(this.maxCanvasPixels>0){const ze=xe.width*xe.height,Te=Math.sqrt(this.maxCanvasPixels/ze);pe.sx>Te||pe.sy>Te?(pe.sx=Te,pe.sy=Te,this.hasRestrictedScaling=!0):this.hasRestrictedScaling=!1}const _e=(0,U.approximateFraction)(pe.sx),Ge=(0,U.approximateFraction)(pe.sy);fe.width=(0,U.roundToDivide)(xe.width*pe.sx,_e[0]),fe.height=(0,U.roundToDivide)(xe.height*pe.sy,Ge[0]),fe.style.width=(0,U.roundToDivide)(xe.width,_e[1])+"px",fe.style.height=(0,U.roundToDivide)(xe.height,Ge[1])+"px",this.paintedViewportMap.set(fe,xe);const Ae=pe.scaled?[pe.sx,0,0,pe.sy,0,0]:null,Ne={canvasContext:Ce,transform:Ae,viewport:this.viewport,annotationMode:he(this,ce),optionalContentConfigPromise:this._optionalContentConfigPromise,annotationCanvasMap:this._annotationCanvasMap,pageColors:this.pageColors},Ze=this.pdfPage.render(Ne);return Ze.onContinue=function(ze){ye(),ke.onRenderContinue?ke.onRenderContinue(ze):ze()},Ze.promise.then(function(){ye(),Ee.resolve()},function(ze){ye(),Ee.reject(ze)}),ke}paintOnSvg(me){let Ee=!1;const ke=()=>{if(Ee)throw new R.RenderingCancelledException(`Rendering cancelled, page ${this.id}`,"svg")},xe=this.pdfPage,fe=this.viewport.clone({scale:R.PixelsPerInch.PDF_TO_CSS_UNITS});return{promise:xe.getOperatorList({annotationMode:he(this,ce)}).then(ye=>(ke(),new R.SVGGraphics(xe.commonObjs,xe.objs).getSVG(ye,fe).then(pe=>{ke(),this.svg=pe,this.paintedViewportMap.set(pe,fe),pe.style.width=me.style.width,pe.style.height=me.style.height,this.renderingState=U.RenderingStates.FINISHED,me.append(pe)}))),onRenderContinue(ye){ye()},cancel(){Ee=!0},get separateAnnots(){return!1}}}setPageLabel(me){this.pageLabel=typeof me=="string"?me:null,this.pageLabel!==null?this.div.setAttribute("data-page-label",this.pageLabel):this.div.removeAttribute("data-page-label")}get thumbnailCanvas(){const{initialOptionalContent:me,regularAnnotations:Ee}=he(this,de);return me&&Ee?this.canvas:null}}D.PDFPageView=se},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.compatibilityParams=D.OptionKind=D.AppOptions=void 0;const B=Object.create(null);D.compatibilityParams=B;{const e=navigator.userAgent||"",ae=navigator.platform||"",ie=navigator.maxTouchPoints||1,he=/Android/.test(e),J=/\b(iPad|iPhone|iPod)(?=;)/.test(e)||ae==="MacIntel"&&ie>1;(function(){(J||he)&&(B.maxCanvasPixels=5242880)})()}const R={VIEWER:2,API:4,WORKER:8,PREFERENCE:128};D.OptionKind=R;const U={annotationEditorMode:{value:-1,kind:R.VIEWER+R.PREFERENCE},annotationMode:{value:2,kind:R.VIEWER+R.PREFERENCE},cursorToolOnLoad:{value:0,kind:R.VIEWER+R.PREFERENCE},defaultZoomValue:{value:"",kind:R.VIEWER+R.PREFERENCE},disableHistory:{value:!1,kind:R.VIEWER},disablePageLabels:{value:!1,kind:R.VIEWER+R.PREFERENCE},enablePermissions:{value:!1,kind:R.VIEWER+R.PREFERENCE},enablePrintAutoRotate:{value:!0,kind:R.VIEWER+R.PREFERENCE},enableScripting:{value:!0,kind:R.VIEWER+R.PREFERENCE},externalLinkRel:{value:"noopener noreferrer nofollow",kind:R.VIEWER},externalLinkTarget:{value:0,kind:R.VIEWER+R.PREFERENCE},historyUpdateUrl:{value:!1,kind:R.VIEWER+R.PREFERENCE},ignoreDestinationZoom:{value:!1,kind:R.VIEWER+R.PREFERENCE},imageResourcesPath:{value:"./images/",kind:R.VIEWER},maxCanvasPixels:{value:16777216,kind:R.VIEWER},forcePageColors:{value:!1,kind:R.VIEWER+R.PREFERENCE},pageColorsBackground:{value:"Canvas",kind:R.VIEWER+R.PREFERENCE},pageColorsForeground:{value:"CanvasText",kind:R.VIEWER+R.PREFERENCE},pdfBugEnabled:{value:!1,kind:R.VIEWER+R.PREFERENCE},printResolution:{value:150,kind:R.VIEWER},sidebarViewOnLoad:{value:-1,kind:R.VIEWER+R.PREFERENCE},scrollModeOnLoad:{value:-1,kind:R.VIEWER+R.PREFERENCE},spreadModeOnLoad:{value:-1,kind:R.VIEWER+R.PREFERENCE},textLayerMode:{value:1,kind:R.VIEWER+R.PREFERENCE},useOnlyCssZoom:{value:!1,kind:R.VIEWER+R.PREFERENCE},viewerCssTheme:{value:0,kind:R.VIEWER+R.PREFERENCE},viewOnLoad:{value:0,kind:R.VIEWER+R.PREFERENCE},cMapPacked:{value:!0,kind:R.API},cMapUrl:{value:"../web/cmaps/",kind:R.API},disableAutoFetch:{value:!1,kind:R.API+R.PREFERENCE},disableFontFace:{value:!1,kind:R.API+R.PREFERENCE},disableRange:{value:!1,kind:R.API+R.PREFERENCE},disableStream:{value:!1,kind:R.API+R.PREFERENCE},docBaseUrl:{value:"",kind:R.API},enableXfa:{value:!0,kind:R.API+R.PREFERENCE},fontExtraProperties:{value:!1,kind:R.API},isEvalSupported:{value:!0,kind:R.API},maxImageSize:{value:-1,kind:R.API},pdfBug:{value:!1,kind:R.API},standardFontDataUrl:{value:"../web/standard_fonts/",kind:R.API},verbosity:{value:1,kind:R.API},workerPort:{value:null,kind:R.WORKER},workerSrc:{value:"../build/pdf.worker.js",kind:R.WORKER}};U.defaultUrl={value:"compressed.tracemonkey-pldi-09.pdf",kind:R.VIEWER},U.disablePreferences={value:!1,kind:R.VIEWER},U.locale={value:navigator.language||"en-US",kind:R.VIEWER},U.renderer={value:"canvas",kind:R.VIEWER+R.PREFERENCE},U.sandboxBundleSrc={value:"../build/pdf.sandbox.js",kind:R.VIEWER};const K=Object.create(null);class z{constructor(){throw new Error("Cannot initialize AppOptions.")}static get(ae){const ie=K[ae];if(ie!==void 0)return ie;const he=U[ae];if(he!==void 0){var J;return(J=B[ae])!==null&&J!==void 0?J:he.value}}static getAll(){let ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;const ie=Object.create(null);for(const J in U){var he;const W=U[J];if(ae){if(!(ae&W.kind))continue;if(ae===R.PREFERENCE){const L=W.value,Q=typeof L;if(Q==="boolean"||Q==="string"||Q==="number"&&Number.isInteger(L)){ie[J]=L;continue}throw new Error(`Invalid type for preference: ${J}`)}}const X=K[J];ie[J]=X!==void 0?X:(he=B[J])!==null&&he!==void 0?he:W.value}return ie}static set(ae,ie){K[ae]=ie}static setAll(ae){for(const ie in ae)K[ie]=ae[ie]}static remove(ae){delete K[ae]}static _hasUserOptions(){return Object.keys(K).length>0}}D.AppOptions=z},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.TextAccessibilityManager=void 0;var R=B(7);function U(xe,fe){z(xe,fe),fe.add(xe)}function K(xe,fe,ve){z(xe,fe),fe.set(xe,ve)}function z(xe,fe){if(fe.has(xe))throw new TypeError("Cannot initialize the same private elements twice on an object")}function e(xe,fe,ve){if(!fe.has(xe))throw new TypeError("attempted to get private field on non-instance");return ve}function ae(xe,fe,ve){return ie(xe,fe),ve}function ie(xe,fe){if(xe!==fe)throw new TypeError("Private static access of wrong provenance")}function he(xe,fe){var ve=X(xe,fe,"get");return J(xe,ve)}function J(xe,fe){return fe.get?fe.get.call(xe):fe.value}function W(xe,fe,ve){var ye=X(xe,fe,"set");return L(xe,ye,ve),ve}function X(xe,fe,ve){if(!fe.has(xe))throw new TypeError("attempted to "+ve+" private field on non-instance");return fe.get(xe)}function L(xe,fe,ve){if(fe.set)fe.set.call(xe,ve);else{if(!fe.writable)throw new TypeError("attempted to set read only private field");fe.value=ve}}var Q=new WeakMap,ce=new WeakMap,de=new WeakMap,se=new WeakMap,oe=new WeakSet;class me{constructor(){U(this,oe),K(this,Q,{writable:!0,value:!1}),K(this,ce,{writable:!0,value:null}),K(this,de,{writable:!0,value:new Map}),K(this,se,{writable:!0,value:new Map})}setTextMapping(fe){W(this,ce,fe)}enable(){if(he(this,Q))throw new Error("TextAccessibilityManager is already enabled.");if(!he(this,ce))throw new Error("Text divs and strings have not been set.");if(W(this,Q,!0),W(this,ce,he(this,ce).slice()),he(this,ce).sort(ae(me,me,Ee)),he(this,de).size>0){const fe=he(this,ce);for(const[ve,ye]of he(this,de)){if(!document.getElementById(ve)){he(this,de).delete(ve);continue}e(this,oe,ke).call(this,ve,fe[ye])}}for(const[fe,ve]of he(this,se))this.addPointerInTextLayer(fe,ve);he(this,se).clear()}disable(){he(this,Q)&&(he(this,se).clear(),W(this,ce,null),W(this,Q,!1))}removePointerInTextLayer(fe){var ve;if(!he(this,Q)){he(this,se).delete(fe);return}const ye=he(this,ce);if(!ye||ye.length===0)return;const{id:Ce}=fe,pe=he(this,de).get(Ce);if(pe===void 0)return;const _e=ye[pe];he(this,de).delete(Ce);let Ge=_e.getAttribute("aria-owns");(ve=Ge)!==null&&ve!==void 0&&ve.includes(Ce)&&(Ge=Ge.split(" ").filter(Ae=>Ae!==Ce).join(" "),Ge?_e.setAttribute("aria-owns",Ge):(_e.removeAttribute("aria-owns"),_e.setAttribute("role","presentation")))}addPointerInTextLayer(fe,ve){const{id:ye}=fe;if(!ye)return;if(!he(this,Q)){he(this,se).set(fe,ve);return}ve&&this.removePointerInTextLayer(fe);const Ce=he(this,ce);if(!Ce||Ce.length===0)return;const pe=(0,R.binarySearchFirstItem)(Ce,Ge=>ae(me,me,Ee).call(me,fe,Ge)<0),_e=Math.max(0,pe-1);e(this,oe,ke).call(this,ye,Ce[_e]),he(this,de).set(ye,_e)}moveElementInDOM(fe,ve,ye,Ce){if(this.addPointerInTextLayer(ye,Ce),!fe.hasChildNodes()){fe.append(ve);return}const pe=Array.from(fe.childNodes).filter(Ae=>Ae!==ve);if(pe.length===0)return;const _e=ye||ve,Ge=(0,R.binarySearchFirstItem)(pe,Ae=>ae(me,me,Ee).call(me,_e,Ae)<0);Ge===0?pe[0].before(ve):pe[Ge-1].after(ve)}}D.TextAccessibilityManager=me;function Ee(xe,fe){const ve=xe.getBoundingClientRect(),ye=fe.getBoundingClientRect();if(ve.width===0&&ve.height===0)return 1;if(ye.width===0&&ye.height===0)return-1;const Ce=ve.y,pe=ve.y+ve.height,_e=ve.y+ve.height/2,Ge=ye.y,Ae=ye.y+ye.height,Ne=ye.y+ye.height/2;if(_e<=Ge&&Ne>=pe)return-1;if(Ne<=Ce&&_e>=Ae)return 1;const Ze=ve.x+ve.width/2,ze=ye.x+ye.width/2;return Ze-ze}function ke(xe,fe){const ve=fe.getAttribute("aria-owns");ve!=null&&ve.includes(xe)||fe.setAttribute("aria-owns",ve?`${ve} ${xe}`:xe),fe.removeAttribute("role")}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFRenderingQueue=void 0;var R=B(3),U=B(7);const K=3e4;class z{constructor(){this.pdfViewer=null,this.pdfThumbnailViewer=null,this.onIdle=null,this.highestPriorityPage=null,this.idleTimeout=null,this.printing=!1,this.isThumbnailViewEnabled=!1}setViewer(ae){this.pdfViewer=ae}setThumbnailViewer(ae){this.pdfThumbnailViewer=ae}isHighestPriority(ae){return this.highestPriorityPage===ae.renderingId}hasViewer(){return!!this.pdfViewer}renderHighestPriority(ae){var ie;this.idleTimeout&&(clearTimeout(this.idleTimeout),this.idleTimeout=null),!this.pdfViewer.forceRendering(ae)&&(this.isThumbnailViewEnabled&&(ie=this.pdfThumbnailViewer)!==null&&ie!==void 0&&ie.forceRendering()||this.printing||this.onIdle&&(this.idleTimeout=setTimeout(this.onIdle.bind(this),K)))}getHighestPriority(ae,ie,he){let J=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;const W=ae.views,X=W.length;if(X===0)return null;for(let se=0;seX){const se=ae.ids;for(let oe=1,me=Q-L;oe{this.renderHighestPriority()}).catch(ie=>{ie instanceof R.RenderingCancelledException||console.error(`renderView: "${ie}"`)});break}return!0}}D.PDFRenderingQueue=z},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.TextHighlighter=void 0;class B{constructor(U){let{findController:K,eventBus:z,pageIndex:e}=U;this.findController=K,this.matches=[],this.eventBus=z,this.pageIdx=e,this._onUpdateTextLayerMatches=null,this.textDivs=null,this.textContentItemsStr=null,this.enabled=!1}setTextMapping(U,K){this.textDivs=U,this.textContentItemsStr=K}enable(){if(!this.textDivs||!this.textContentItemsStr)throw new Error("Text divs and strings have not been set.");if(this.enabled)throw new Error("TextHighlighter is already enabled.");this.enabled=!0,this._onUpdateTextLayerMatches||(this._onUpdateTextLayerMatches=U=>{(U.pageIndex===this.pageIdx||U.pageIndex===-1)&&this._updateMatches()},this.eventBus._on("updatetextlayermatches",this._onUpdateTextLayerMatches)),this._updateMatches()}disable(){this.enabled&&(this.enabled=!1,this._onUpdateTextLayerMatches&&(this.eventBus._off("updatetextlayermatches",this._onUpdateTextLayerMatches),this._onUpdateTextLayerMatches=null))}_convertMatches(U,K){if(!U)return[];const{textContentItemsStr:z}=this;let e=0,ae=0;const ie=z.length-1,he=[];for(let J=0,W=U.length;J=ae+z[e].length;)ae+=z[e].length,e++;e===z.length&&console.error("Could not find a matching mapping");const L={begin:{divIdx:e,offset:X-ae}};for(X+=K[J];e!==ie&&X>ae+z[e].length;)ae+=z[e].length,e++;L.end={divIdx:e,offset:X-ae},he.push(L)}return he}_renderMatches(U){if(U.length===0)return;const{findController:K,pageIdx:z}=this,{textContentItemsStr:e,textDivs:ae}=this,ie=z===K.selected.pageIdx,he=K.selected.matchIdx,J=K.state.highlightAll;let W=null;const X={divIdx:-1,offset:void 0};function L(se,oe){const me=se.divIdx;return ae[me].textContent="",Q(me,0,se.offset,oe)}function Q(se,oe,me,Ee){let ke=ae[se];if(ke.nodeType===Node.TEXT_NODE){const ve=document.createElement("span");ke.before(ve),ve.append(ke),ae[se]=ve,ke=ve}const xe=e[se].substring(oe,me),fe=document.createTextNode(xe);if(Ee){const ve=document.createElement("span");return ve.className=`${Ee} appended`,ve.append(fe),ke.append(ve),Ee.includes("selected")?ve.offsetLeft:0}return ke.append(fe),0}let ce=he,de=ce+1;if(J)ce=0,de=U.length;else if(!ie)return;for(let se=ce;se{Object.defineProperty(D,"__esModule",{value:!0}),D.DownloadManager=void 0;var R=B(3);function U(z,e){const ae=document.createElement("a");if(!ae.click)throw new Error('DownloadManager: "a.click()" is not supported.');ae.href=z,ae.target="_parent","download"in ae&&(ae.download=e),(document.body||document.documentElement).append(ae),ae.click(),ae.remove()}class K{constructor(){this._openBlobUrls=new WeakMap}downloadUrl(e,ae){if(!(0,R.createValidAbsoluteUrl)(e,"http://example.com")){console.error(`downloadUrl - not a valid URL: ${e}`);return}U(e+"#pdfjs.action=download",ae)}downloadData(e,ae,ie){const he=URL.createObjectURL(new Blob([e],{type:ie}));U(he,ae)}openOrDownloadData(e,ae,ie){const he=(0,R.isPdfFile)(ie),J=he?"application/pdf":"";if(he){let W=this._openBlobUrls.get(e);W||(W=URL.createObjectURL(new Blob([ae],{type:J})),this._openBlobUrls.set(e,W));let X;X="?file="+encodeURIComponent(W+"#"+ie);try{return window.open(X),!0}catch(L){console.error(`openOrDownloadData: ${L}`),URL.revokeObjectURL(W),this._openBlobUrls.delete(e)}}return this.downloadData(ae,ie,J),!1}download(e,ae,ie){const he=URL.createObjectURL(e);U(he,ie)}}D.DownloadManager=K},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.WaitOnType=D.EventBus=D.AutomationEventBus=void 0,D.waitOnEventOrTimeout=R;const B={EVENT:"event",TIMEOUT:"timeout"};D.WaitOnType=B;function R(z){let{target:e,name:ae,delay:ie=0}=z;return new Promise(function(he,J){if(typeof e!="object"||!(ae&&typeof ae=="string")||!(Number.isInteger(ie)&&ie>=0))throw new Error("waitOnEventOrTimeout - invalid parameters.");function W(ce){e instanceof U?e._off(ae,X):e.removeEventListener(ae,X),Q&&clearTimeout(Q),he(ce)}const X=W.bind(null,B.EVENT);e instanceof U?e._on(ae,X):e.addEventListener(ae,X);const L=W.bind(null,B.TIMEOUT),Q=setTimeout(L,ie)})}class U{constructor(){this._listeners=Object.create(null)}on(e,ae){let ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this._on(e,ae,{external:!0,once:ie==null?void 0:ie.once})}off(e,ae){let ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this._off(e,ae,{external:!0,once:ie==null?void 0:ie.once})}dispatch(e,ae){const ie=this._listeners[e];if(!ie||ie.length===0)return;let he;for(const{listener:J,external:W,once:X}of ie.slice(0)){if(X&&this._off(e,J),W){(he||(he=[])).push(J);continue}J(ae)}if(he){for(const J of he)J(ae);he=null}}_on(e,ae){var ie;let he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;((ie=this._listeners)[e]||(ie[e]=[])).push({listener:ae,external:(he==null?void 0:he.external)===!0,once:(he==null?void 0:he.once)===!0})}_off(e,ae){const ie=this._listeners[e];if(ie){for(let he=0,J=ie.length;he{Object.defineProperty(D,"__esModule",{value:!0}),D.GenericL10n=void 0,B(21);var R=B(4);const U=document.webL10n;class K{constructor(e){this._lang=e,this._ready=new Promise((ae,ie)=>{U.setLanguage((0,R.fixupLangCode)(e),()=>{ae(U)})})}async getLanguage(){return(await this._ready).getLanguage()}async getDirection(){return(await this._ready).getDirection()}async get(e){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,ie=arguments.length>2&&arguments[2]!==void 0?arguments[2]:(0,R.getL10nFallback)(e,ae);return(await this._ready).get(e,ae,ie)}async translate(e){return(await this._ready).translate(e)}}D.GenericL10n=K},()=>{document.webL10n=function($,D,B){var R={},U="",K="textContent",z="",e={},ae="loading",ie=!0;function he(){return D.querySelectorAll('link[type="application/l10n"]')}function J(){var ve=D.querySelector('script[type="application/l10n"]');return ve?JSON.parse(ve.innerHTML):null}function W(ve){return ve?ve.querySelectorAll("*[data-l10n-id]"):[]}function X(ve){if(!ve)return{};var ye=ve.getAttribute("data-l10n-id"),Ce=ve.getAttribute("data-l10n-args"),pe={};if(Ce)try{pe=JSON.parse(Ce)}catch{console.warn("could not parse arguments for #"+ye)}return{id:ye,args:pe}}function L(ve,ye,Ce){ye=ye||function(Ge){},Ce=Ce||function(){};var pe=new XMLHttpRequest;pe.open("GET",ve,ie),pe.overrideMimeType&&pe.overrideMimeType("text/plain; charset=utf-8"),pe.onreadystatechange=function(){pe.readyState==4&&(pe.status==200||pe.status===0?ye(pe.responseText):Ce())},pe.onerror=Ce,pe.ontimeout=Ce;try{pe.send(null)}catch{Ce()}}function Q(ve,ye,Ce,pe){var _e=ve.replace(/[^\/]*$/,"")||"./";function Ge(Ne){return Ne.lastIndexOf("\\")<0?Ne:Ne.replace(/\\\\/g,"\\").replace(/\\n/g,` +`).replace(/\\r/g,"\r").replace(/\\t/g," ").replace(/\\b/g,"\b").replace(/\\f/g,"\f").replace(/\\{/g,"{").replace(/\\}/g,"}").replace(/\\"/g,'"').replace(/\\'/g,"'")}function Ae(Ne,Ze){var ze={},Te=/^\s*|\s*$/,Fe=/^\s*#|^\s*$/,Pe=/^\s*\[(.*)\]\s*$/,we=/^\s*@import\s+url\((.*)\)\s*$/i,Ie=/^([^=\s]*)\s*=\s*(.+)$/;function Be(Ve,je,Le){var et=Ve.replace(Te,"").split(/[\r\n]+/),Qe="*",Ue=ye.split("-",1)[0],$e=!1,Ye="";function tt(){for(;;){if(!et.length){Le();return}var ot=et.shift();if(!Fe.test(ot)){if(je){if(Ye=Pe.exec(ot),Ye){Qe=Ye[1].toLowerCase(),$e=Qe!=="*"&&Qe!==ye&&Qe!==Ue;continue}else if($e)continue;if(Ye=we.exec(ot),Ye){Ke(_e+Ye[1],tt);return}}var st=ot.match(Ie);st&&st.length==3&&(ze[st[1]]=Ge(st[2]))}}}tt()}function Ke(Ve,je){L(Ve,function(Le){Be(Le,!1,je)},function(){console.warn(Ve+" not found."),je()})}Be(Ne,!0,function(){Ze(ze)})}L(ve,function(Ne){U+=Ne,Ae(Ne,function(Ze){for(var ze in Ze){var Te,Fe,Pe=ze.lastIndexOf(".");Pe>0?(Te=ze.substring(0,Pe),Fe=ze.substring(Pe+1)):(Te=ze,Fe=K),R[Te]||(R[Te]={}),R[Te][Fe]=Ze[ze]}Ce&&Ce()})},pe)}function ce(ve,ye){ve&&(ve=ve.toLowerCase()),ye=ye||function(){},de(),z=ve;var Ce=he(),pe=Ce.length;if(pe===0){var _e=J();if(_e&&_e.locales&&_e.default_locale){if(console.log("using the embedded JSON directory, early way out"),R=_e.locales[ve],!R){var Ge=_e.default_locale.toLowerCase();for(var Ae in _e.locales)if(Ae=Ae.toLowerCase(),Ae===ve){R=_e.locales[ve];break}else Ae===Ge&&(R=_e.locales[Ge])}ye()}else console.log("no resource to load, early way out");ae="complete";return}var Ne=null,Ze=0;Ne=function(){Ze++,Ze>=pe&&(ye(),ae="complete")};function ze(Pe){var we=Pe.href;this.load=function(Ie,Be){Q(we,Ie,Be,function(){console.warn(we+" not found."),console.warn('"'+Ie+'" resource not found'),z="",Be()})}}for(var Te=0;Te0&&(_e=ve.substring(pe+1),ve=ve.substring(0,pe));var Ge;Ce&&(Ge={},Ge[_e]=Ce);var Ae=oe(ve,ye,Ge);return Ae&&_e in Ae?Ae[_e]:"{{"+ve+"}}"},getData:function(){return R},getText:function(){return U},getLanguage:function(){return z},setLanguage:function(ve,ye){ce(ve,function(){ye&&ye()})},getDirection:function(){var ve=["ar","he","fa","ps","ur"],ye=z.split("-",1)[0];return ve.indexOf(ye)>=0?"rtl":"ltr"},translate:fe,getReadyState:function(){return ae},ready:function(ve){if(ve)ae=="complete"||ae=="interactive"?$.setTimeout(function(){ve()}):D.addEventListener&&D.addEventListener("localized",function ye(){D.removeEventListener("localized",ye),ve()});else return}}}(window,document)},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFFindController=D.FindState=void 0;var R=B(7),U=B(3),K=B(23);function z(Jt,er,Bt){ae(Jt,er),er.set(Jt,Bt)}function e(Jt,er){ae(Jt,er),er.add(Jt)}function ae(Jt,er){if(er.has(Jt))throw new TypeError("Cannot initialize the same private elements twice on an object")}function ie(Jt,er){var Bt=he(Jt,er,"get");return J(Jt,Bt)}function he(Jt,er,Bt){if(!er.has(Jt))throw new TypeError("attempted to "+Bt+" private field on non-instance");return er.get(Jt)}function J(Jt,er){return er.get?er.get.call(Jt):er.value}function W(Jt,er,Bt){if(!er.has(Jt))throw new TypeError("attempted to get private field on non-instance");return Bt}const X={FOUND:0,NOT_FOUND:1,WRAPPED:2,PENDING:3};D.FindState=X;const L=250,Q=-50,ce=-400,de={"‐":"-","‘":"'","’":"'","‚":"'","‛":"'","“":'"',"”":'"',"„":'"',"‟":'"',"¼":"1/4","½":"1/2","¾":"3/4"},se=new Set([12441,12442,2381,2509,2637,2765,2893,3021,3149,3277,3387,3388,3405,3530,3642,3770,3972,4153,4154,5908,5940,6098,6752,6980,7082,7083,7154,7155,11647,43014,43052,43204,43347,43456,43766,44013,3158,3953,3954,3962,3963,3964,3965,3968,3956]),oe=[...se.values()].map(Jt=>String.fromCharCode(Jt)).join(""),me=/\p{M}+/gu,Ee=/([.*+?^${}()|[\]\\])|(\p{P})|(\s+)|(\p{M})|(\p{L})/gu,ke=/([^\p{M}])\p{M}*$/u,xe=/^\p{M}*([^\p{M}])/u,fe=/[\uAC00-\uD7AF\uFA6C\uFACF-\uFAD1\uFAD5-\uFAD7]+/g,ve=new Map,ye="[\\u1100-\\u1112\\ud7a4-\\ud7af\\ud84a\\ud84c\\ud850\\ud854\\ud857\\ud85f]";let Ce=null,pe=null;function _e(Jt){const er=[];let Bt;for(;(Bt=fe.exec(Jt))!==null;){let{index:vt}=Bt;for(const Xt of Bt[0]){let At=ve.get(Xt);At||(At=Xt.normalize("NFD").length,ve.set(Xt,At)),er.push([At,vt++])}}let It;if(er.length===0&&Ce)It=Ce;else if(er.length>0&&pe)It=pe;else{const Xt=`([${Object.keys(de).join("")}])|(\\p{M}+(?:-\\n)?)|(\\S-\\n)|(\\n)`;er.length===0?It=Ce=new RegExp(Xt+"|(\\u0000)","gum"):It=pe=new RegExp(Xt+`|(${ye})`,"gum")}const Dt=[];for(;(Bt=me.exec(Jt))!==null;)Dt.push([Bt[0].length,Bt.index]);let Zt=Jt.normalize("NFD");const gr=[[0,0]];let fr=0,Dr=0,kr=0,cr=0,Ar=0,yt=!1;return Zt=Zt.replace(It,(vt,Xt,At,zt,Br,br,Ur)=>{var un;if(Ur-=cr,Xt){const ur=de[vt],Cr=ur.length;for(let Tr=1;Trfr[0]>=It);Jt[Zt][0]>It&&--Zt;let gr=(0,R.binarySearchFirstItem)(Jt,fr=>fr[0]>=Dt,Zt);return Jt[gr][0]>Dt&&--gr,[It+Jt[Zt][1],Bt+Jt[gr][1]-Jt[Zt][1]]}var Ae=new WeakSet,Ne=new WeakSet,Ze=new WeakMap,ze=new WeakSet,Te=new WeakSet,Fe=new WeakSet,Pe=new WeakSet,we=new WeakSet,Ie=new WeakSet,Be=new WeakSet,Ke=new WeakSet,Ve=new WeakSet,je=new WeakSet,Le=new WeakSet,et=new WeakSet,Qe=new WeakSet,Ue=new WeakSet,$e=new WeakSet,Ye=new WeakSet,tt=new WeakSet;class ot{constructor(er){let{linkService:Bt,eventBus:It}=er;e(this,tt),e(this,Ye),e(this,$e),e(this,Ue),e(this,Qe),e(this,et),e(this,Le),e(this,je),e(this,Ve),e(this,Ke),e(this,Be),e(this,Ie),e(this,we),e(this,Pe),e(this,Fe),e(this,Te),e(this,ze),z(this,Ze,{get:ct,set:void 0}),e(this,Ne),e(this,Ae),this._linkService=Bt,this._eventBus=It,W(this,Ne,dt).call(this),It._on("find",W(this,Ae,st).bind(this)),It._on("findbarclose",W(this,Ue,Mt).bind(this))}get highlightMatches(){return this._highlightMatches}get pageMatches(){return this._pageMatches}get pageMatchesLength(){return this._pageMatchesLength}get selected(){return this._selected}get state(){return this._state}setDocument(er){this._pdfDocument&&W(this,Ne,dt).call(this),er&&(this._pdfDocument=er,this._firstPageCapability.resolve())}scrollMatchIntoView(er){let{element:Bt=null,selectedLeft:It=0,pageIndex:Dt=-1,matchIndex:Zt=-1}=er;if(!this._scrollMatches||!Bt)return;if(Zt===-1||Zt!==this._selected.matchIdx)return;if(Dt===-1||Dt!==this._selected.pageIdx)return;this._scrollMatches=!1;const gr={top:Q,left:It+ce};(0,R.scrollIntoView)(Bt,gr,!0)}}D.PDFFindController=ot;function st(Jt){if(!Jt)return;const er=this._pdfDocument,{type:Bt}=Jt;(this._state===null||W(this,ze,mt).call(this,Jt))&&(this._dirtyMatch=!0),this._state=Jt,Bt!=="highlightallchange"&&W(this,tt,Ft).call(this,X.PENDING),this._firstPageCapability.promise.then(()=>{if(!this._pdfDocument||er&&this._pdfDocument!==er)return;W(this,Ie,St).call(this);const It=!this._highlightMatches,Dt=!!this._findTimeout;this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),Bt?this._dirtyMatch?W(this,Ve,wt).call(this):Bt==="again"?(W(this,Ve,wt).call(this),It&&this._state.highlightAll&&W(this,Ke,pt).call(this)):Bt==="highlightallchange"?(Dt?W(this,Ve,wt).call(this):this._highlightMatches=!0,W(this,Ke,pt).call(this)):W(this,Ve,wt).call(this):this._findTimeout=setTimeout(()=>{W(this,Ve,wt).call(this),this._findTimeout=null},L)})}function dt(){this._highlightMatches=!1,this._scrollMatches=!1,this._pdfDocument=null,this._pageMatches=[],this._pageMatchesLength=[],this._state=null,this._selected={pageIdx:-1,matchIdx:-1},this._offset={pageIdx:null,matchIdx:null,wrapped:!1},this._extractTextPromises=[],this._pageContents=[],this._pageDiffs=[],this._hasDiacritics=[],this._matchesCountTotal=0,this._pagesToSearch=null,this._pendingFindMatches=new Set,this._resumePageIdx=null,this._dirtyMatch=!1,clearTimeout(this._findTimeout),this._findTimeout=null,this._firstPageCapability=(0,U.createPromiseCapability)()}function ct(){return this._state.query!==this._rawQuery&&(this._rawQuery=this._state.query,[this._normalizedQuery]=_e(this._state.query)),this._normalizedQuery}function mt(Jt){if(Jt.query!==this._state.query)return!0;switch(Jt.type){case"again":const er=this._selected.pageIdx+1,Bt=this._linkService;return er>=1&&er<=Bt.pagesCount&&er!==Bt.page&&!Bt.isPageVisible(er);case"highlightallchange":return!1}return!0}function ut(Jt,er,Bt){let It=Jt.slice(0,er).match(ke);if(It){const Dt=Jt.charCodeAt(er),Zt=It[1].charCodeAt(0);if((0,K.getCharacterType)(Dt)===(0,K.getCharacterType)(Zt))return!1}if(It=Jt.slice(er+Bt).match(xe),It){const Dt=Jt.charCodeAt(er+Bt-1),Zt=It[1].charCodeAt(0);if((0,K.getCharacterType)(Dt)===(0,K.getCharacterType)(Zt))return!1}return!0}function rt(Jt,er,Bt,It){const Dt=[],Zt=[],gr=this._pageDiffs[Bt];let fr;for(;(fr=Jt.exec(It))!==null;){if(er&&!W(this,Te,ut).call(this,It,fr.index,fr[0].length))continue;const[Dr,kr]=Ge(gr,fr.index,fr[0].length);kr&&(Dt.push(Dr),Zt.push(kr))}this._pageMatches[Bt]=Dt,this._pageMatchesLength[Bt]=Zt}function He(Jt,er){const{matchDiacritics:Bt}=this._state;let It=!1;Jt=Jt.replace(Ee,(Zt,gr,fr,Dr,kr,cr)=>gr?`[ ]*\\${gr}[ ]*`:fr?`[ ]*${fr}[ ]*`:Dr?"[ ]+":Bt?kr||cr:kr?se.has(kr.charCodeAt(0))?kr:"":er?(It=!0,`${cr}\\p{M}*`):cr);const Dt="[ ]*";return Jt.endsWith(Dt)&&(Jt=Jt.slice(0,Jt.length-Dt.length)),Bt&&er&&(It=!0,Jt=`${Jt}(?=[${oe}]|[^\\p{M}]|$)`),[It,Jt]}function Je(Jt){let er=ie(this,Ze);if(er.length===0)return;const{caseSensitive:Bt,entireWord:It,phraseSearch:Dt}=this._state,Zt=this._pageContents[Jt],gr=this._hasDiacritics[Jt];let fr=!1;if(Dt)[fr,er]=W(this,Pe,He).call(this,er,gr);else{const cr=er.match(/\S+/g);cr&&(er=cr.sort().reverse().map(Ar=>{const[yt,vt]=W(this,Pe,He).call(this,Ar,gr);return fr||(fr=yt),`(${vt})`}).join("|"))}const Dr=`g${fr?"u":""}${Bt?"":"i"}`;er=new RegExp(er,Dr),W(this,Fe,rt).call(this,er,It,Jt,Zt),this._state.highlightAll&&W(this,Be,bt).call(this,Jt),this._resumePageIdx===Jt&&(this._resumePageIdx=null,W(this,Le,Nt).call(this));const kr=this._pageMatches[Jt].length;kr>0&&(this._matchesCountTotal+=kr,W(this,Ye,Yt).call(this))}function St(){if(this._extractTextPromises.length>0)return;let Jt=Promise.resolve();for(let er=0,Bt=this._linkService.pagesCount;erthis._pdfDocument.getPage(er+1).then(Dt=>Dt.getTextContent()).then(Dt=>{const Zt=[];for(const gr of Dt.items)Zt.push(gr.str),gr.hasEOL&&Zt.push(` +`);[this._pageContents[er],this._pageDiffs[er],this._hasDiacritics[er]]=_e(Zt.join("")),It.resolve()},Dt=>{console.error(`Unable to get text content for page ${er+1}`,Dt),this._pageContents[er]="",this._pageDiffs[er]=null,this._hasDiacritics[er]=!1,It.resolve()}))}}function bt(Jt){this._scrollMatches&&this._selected.pageIdx===Jt&&(this._linkService.page=Jt+1),this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:Jt})}function pt(){this._eventBus.dispatch("updatetextlayermatches",{source:this,pageIndex:-1})}function wt(){const Jt=this._state.findPrevious,er=this._linkService.page-1,Bt=this._linkService.pagesCount;if(this._highlightMatches=!0,this._dirtyMatch){this._dirtyMatch=!1,this._selected.pageIdx=this._selected.matchIdx=-1,this._offset.pageIdx=er,this._offset.matchIdx=null,this._offset.wrapped=!1,this._resumePageIdx=null,this._pageMatches.length=0,this._pageMatchesLength.length=0,this._matchesCountTotal=0,W(this,Ke,pt).call(this);for(let Dt=0;Dt{this._pendingFindMatches.delete(Dt),W(this,we,Je).call(this,Dt)}))}if(ie(this,Ze)===""){W(this,tt,Ft).call(this,X.FOUND);return}if(this._resumePageIdx)return;const It=this._offset;if(this._pagesToSearch=Bt,It.matchIdx!==null){const Dt=this._pageMatches[It.pageIdx].length;if(!Jt&&It.matchIdx+10){It.matchIdx=Jt?It.matchIdx-1:It.matchIdx+1,W(this,Qe,Wt).call(this,!0);return}W(this,et,Vt).call(this,Jt)}W(this,Le,Nt).call(this)}function Pt(Jt){const er=this._offset,Bt=Jt.length,It=this._state.findPrevious;return Bt?(er.matchIdx=It?Bt-1:0,W(this,Qe,Wt).call(this,!0),!0):(W(this,et,Vt).call(this,It),er.wrapped&&(er.matchIdx=null,this._pagesToSearch<0)?(W(this,Qe,Wt).call(this,!1),!0):!1)}function Nt(){this._resumePageIdx!==null&&console.error("There can only be one pending page.");let Jt=null;do{const er=this._offset.pageIdx;if(Jt=this._pageMatches[er],!Jt){this._resumePageIdx=er;break}}while(!W(this,je,Pt).call(this,Jt))}function Vt(Jt){const er=this._offset,Bt=this._linkService.pagesCount;er.pageIdx=Jt?er.pageIdx-1:er.pageIdx+1,er.matchIdx=null,this._pagesToSearch--,(er.pageIdx>=Bt||er.pageIdx<0)&&(er.pageIdx=Jt?Bt-1:0,er.wrapped=!0)}function Wt(){let Jt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,er=X.NOT_FOUND;const Bt=this._offset.wrapped;if(this._offset.wrapped=!1,Jt){const It=this._selected.pageIdx;this._selected.pageIdx=this._offset.pageIdx,this._selected.matchIdx=this._offset.matchIdx,er=Bt?X.WRAPPED:X.FOUND,It!==-1&&It!==this._selected.pageIdx&&W(this,Be,bt).call(this,It)}W(this,tt,Ft).call(this,er,this._state.findPrevious),this._selected.pageIdx!==-1&&(this._scrollMatches=!0,W(this,Be,bt).call(this,this._selected.pageIdx))}function Mt(Jt){const er=this._pdfDocument;this._firstPageCapability.promise.then(()=>{!this._pdfDocument||er&&this._pdfDocument!==er||(this._findTimeout&&(clearTimeout(this._findTimeout),this._findTimeout=null),this._resumePageIdx&&(this._resumePageIdx=null,this._dirtyMatch=!0),W(this,tt,Ft).call(this,X.FOUND),this._highlightMatches=!1,W(this,Ke,pt).call(this))})}function $t(){const{pageIdx:Jt,matchIdx:er}=this._selected;let Bt=0,It=this._matchesCountTotal;if(er!==-1){for(let Zt=0;ZtIt)&&(Bt=It=0),{current:Bt,total:It}}function Yt(){this._eventBus.dispatch("updatefindmatchescount",{source:this,matchesCount:W(this,$e,$t).call(this)})}function Ft(Jt){var er,Bt;let It=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this._eventBus.dispatch("updatefindcontrolstate",{source:this,state:Jt,previous:It,matchesCount:W(this,$e,$t).call(this),rawQuery:(er=(Bt=this._state)===null||Bt===void 0?void 0:Bt.query)!==null&&er!==void 0?er:null})}},($,D)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.CharacterType=void 0,D.getCharacterType=X;const B={SPACE:0,ALPHA_LETTER:1,PUNCT:2,HAN_LETTER:3,KATAKANA_LETTER:4,HIRAGANA_LETTER:5,HALFWIDTH_KATAKANA_LETTER:6,THAI_LETTER:7};D.CharacterType=B;function R(L){return L<11904}function U(L){return(L&65408)===0}function K(L){return L>=97&&L<=122||L>=65&&L<=90}function z(L){return L>=48&&L<=57}function e(L){return L===32||L===9||L===13||L===10}function ae(L){return L>=13312&&L<=40959||L>=63744&&L<=64255}function ie(L){return L>=12448&&L<=12543}function he(L){return L>=12352&&L<=12447}function J(L){return L>=65376&&L<=65439}function W(L){return(L&65408)===3584}function X(L){return R(L)?U(L)?e(L)?B.SPACE:K(L)||z(L)||L===95?B.ALPHA_LETTER:B.PUNCT:W(L)?B.THAI_LETTER:L===160?B.SPACE:B.ALPHA_LETTER:ae(L)?B.HAN_LETTER:ie(L)?B.KATAKANA_LETTER:he(L)?B.HIRAGANA_LETTER:J(L)?B.HALFWIDTH_KATAKANA_LETTER:B.ALPHA_LETTER}},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFHistory=void 0,D.isDestArraysEqual=J,D.isDestHashesEqual=he;var R=B(7),U=B(19);const K=1e3,z=50,e=1e3;function ae(){return document.location.hash}class ie{constructor(X){let{linkService:L,eventBus:Q}=X;this.linkService=L,this.eventBus=Q,this._initialized=!1,this._fingerprint="",this.reset(),this._boundEvents=null,this.eventBus._on("pagesinit",()=>{this._isPagesLoaded=!1,this.eventBus._on("pagesloaded",ce=>{this._isPagesLoaded=!!ce.pagesCount},{once:!0})})}initialize(X){let{fingerprint:L,resetHistory:Q=!1,updateUrl:ce=!1}=X;if(!L||typeof L!="string"){console.error('PDFHistory.initialize: The "fingerprint" must be a non-empty string.');return}this._initialized&&this.reset();const de=this._fingerprint!==""&&this._fingerprint!==L;this._fingerprint=L,this._updateUrl=ce===!0,this._initialized=!0,this._bindEvents();const se=window.history.state;if(this._popStateInProgress=!1,this._blockHashChange=0,this._currentHash=ae(),this._numPositionUpdates=0,this._uid=this._maxUid=0,this._destination=null,this._position=null,!this._isValidState(se,!0)||Q){const{hash:me,page:Ee,rotation:ke}=this._parseCurrentHash(!0);if(!me||de||Q){this._pushOrReplaceState(null,!0);return}this._pushOrReplaceState({hash:me,page:Ee,rotation:ke},!0);return}const oe=se.destination;this._updateInternalState(oe,se.uid,!0),oe.rotation!==void 0&&(this._initialRotation=oe.rotation),oe.dest?(this._initialBookmark=JSON.stringify(oe.dest),this._destination.page=null):oe.hash?this._initialBookmark=oe.hash:oe.page&&(this._initialBookmark=`page=${oe.page}`)}reset(){this._initialized&&(this._pageHide(),this._initialized=!1,this._unbindEvents()),this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._initialBookmark=null,this._initialRotation=null}push(X){let{namedDest:L=null,explicitDest:Q,pageNumber:ce}=X;if(!this._initialized)return;if(L&&typeof L!="string"){console.error(`PDFHistory.push: "${L}" is not a valid namedDest parameter.`);return}else if(Array.isArray(Q)){if(!this._isValidPage(ce)&&(ce!==null||this._destination)){console.error(`PDFHistory.push: "${ce}" is not a valid pageNumber parameter.`);return}}else{console.error(`PDFHistory.push: "${Q}" is not a valid explicitDest parameter.`);return}const de=L||JSON.stringify(Q);if(!de)return;let se=!1;if(this._destination&&(he(this._destination.hash,de)||J(this._destination.dest,Q))){if(this._destination.page)return;se=!0}this._popStateInProgress&&!se||(this._pushOrReplaceState({dest:Q,hash:de,page:ce,rotation:this.linkService.rotation},se),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1})))}pushPage(X){var L;if(this._initialized){if(!this._isValidPage(X)){console.error(`PDFHistory.pushPage: "${X}" is not a valid page number.`);return}((L=this._destination)===null||L===void 0?void 0:L.page)!==X&&(this._popStateInProgress||(this._pushOrReplaceState({dest:null,hash:`page=${X}`,page:X,rotation:this.linkService.rotation}),this._popStateInProgress||(this._popStateInProgress=!0,Promise.resolve().then(()=>{this._popStateInProgress=!1}))))}}pushCurrentPosition(){!this._initialized||this._popStateInProgress||this._tryPushCurrentPosition()}back(){if(!this._initialized||this._popStateInProgress)return;const X=window.history.state;this._isValidState(X)&&X.uid>0&&window.history.back()}forward(){if(!this._initialized||this._popStateInProgress)return;const X=window.history.state;this._isValidState(X)&&X.uid0)}get initialBookmark(){return this._initialized?this._initialBookmark:null}get initialRotation(){return this._initialized?this._initialRotation:null}_pushOrReplaceState(X){const Q=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1)||!this._destination,ce={fingerprint:this._fingerprint,uid:Q?this._uid:this._uid+1,destination:X};this._updateInternalState(X,ce.uid);let de;if(this._updateUrl&&X!==null&&X!==void 0&&X.hash){const se=document.location.href.split("#")[0];se.startsWith("file://")||(de=`${se}#${X.hash}`)}Q?window.history.replaceState(ce,"",de):window.history.pushState(ce,"",de)}_tryPushCurrentPosition(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!this._position)return;let L=this._position;if(X&&(L=Object.assign(Object.create(null),this._position),L.temporary=!0),!this._destination){this._pushOrReplaceState(L);return}if(this._destination.temporary){this._pushOrReplaceState(L,!0);return}if(this._destination.hash===L.hash||!this._destination.page&&this._numPositionUpdates<=z)return;let Q=!1;if(this._destination.page>=L.first&&this._destination.page<=L.page){if(this._destination.dest!==void 0||!this._destination.first)return;Q=!0}this._pushOrReplaceState(L,Q)}_isValidPage(X){return Number.isInteger(X)&&X>0&&X<=this.linkService.pagesCount}_isValidState(X){let L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!X)return!1;if(X.fingerprint!==this._fingerprint)if(L){if(typeof X.fingerprint!="string"||X.fingerprint.length!==this._fingerprint.length)return!1;const[Q]=performance.getEntriesByType("navigation");if((Q==null?void 0:Q.type)!=="reload")return!1}else return!1;return!(!Number.isInteger(X.uid)||X.uid<0||X.destination===null||typeof X.destination!="object")}_updateInternalState(X,L){let Q=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),Q&&X!==null&&X!==void 0&&X.temporary&&delete X.temporary,this._destination=X,this._uid=L,this._maxUid=Math.max(this._maxUid,L),this._numPositionUpdates=0}_parseCurrentHash(){let X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;const L=unescape(ae()).substring(1),Q=(0,R.parseQueryString)(L),ce=Q.get("nameddest")||"";let de=Q.get("page")|0;return(!this._isValidPage(de)||X&&ce.length>0)&&(de=null),{hash:L,page:de,rotation:this.linkService.rotation}}_updateViewarea(X){let{location:L}=X;this._updateViewareaTimeout&&(clearTimeout(this._updateViewareaTimeout),this._updateViewareaTimeout=null),this._position={hash:L.pdfOpenParams.substring(1),page:this.linkService.page,first:L.pageNumber,rotation:L.rotation},!this._popStateInProgress&&(this._isPagesLoaded&&this._destination&&!this._destination.page&&this._numPositionUpdates++,this._updateViewareaTimeout=setTimeout(()=>{this._popStateInProgress||this._tryPushCurrentPosition(!0),this._updateViewareaTimeout=null},e))}_popState(X){let{state:L}=X;const Q=ae(),ce=this._currentHash!==Q;if(this._currentHash=Q,!L){this._uid++;const{hash:se,page:oe,rotation:me}=this._parseCurrentHash();this._pushOrReplaceState({hash:se,page:oe,rotation:me},!0);return}if(!this._isValidState(L))return;this._popStateInProgress=!0,ce&&(this._blockHashChange++,(0,U.waitOnEventOrTimeout)({target:window,name:"hashchange",delay:K}).then(()=>{this._blockHashChange--}));const de=L.destination;this._updateInternalState(de,L.uid,!0),(0,R.isValidRotation)(de.rotation)&&(this.linkService.rotation=de.rotation),de.dest?this.linkService.goToDestination(de.dest):de.hash?this.linkService.setHash(de.hash):de.page&&(this.linkService.page=de.page),Promise.resolve().then(()=>{this._popStateInProgress=!1})}_pageHide(){(!this._destination||this._destination.temporary)&&this._tryPushCurrentPosition()}_bindEvents(){this._boundEvents||(this._boundEvents={updateViewarea:this._updateViewarea.bind(this),popState:this._popState.bind(this),pageHide:this._pageHide.bind(this)},this.eventBus._on("updateviewarea",this._boundEvents.updateViewarea),window.addEventListener("popstate",this._boundEvents.popState),window.addEventListener("pagehide",this._boundEvents.pageHide))}_unbindEvents(){this._boundEvents&&(this.eventBus._off("updateviewarea",this._boundEvents.updateViewarea),window.removeEventListener("popstate",this._boundEvents.popState),window.removeEventListener("pagehide",this._boundEvents.pageHide),this._boundEvents=null)}}D.PDFHistory=ie;function he(W,X){return typeof W!="string"||typeof X!="string"?!1:W===X||(0,R.parseQueryString)(W).get("nameddest")===X}function J(W,X){function L(Q,ce){if(typeof Q!=typeof ce||Array.isArray(Q)||Array.isArray(ce))return!1;if(Q!==null&&typeof Q=="object"&&ce!==null){if(Object.keys(Q).length!==Object.keys(ce).length)return!1;for(const de in Q)if(!L(Q[de],ce[de]))return!1;return!0}return Q===ce||Number.isNaN(Q)&&Number.isNaN(ce)}if(!(Array.isArray(W)&&Array.isArray(X))||W.length!==X.length)return!1;for(let Q=0,ce=W.length;Q{Object.defineProperty(D,"__esModule",{value:!0}),D.PDFScriptingManager=void 0;var R=B(7),U=B(3);class K{constructor(e){let{eventBus:ae,sandboxBundleSrc:ie=null,scriptingFactory:he=null,docPropertiesLookup:J=null}=e;this._pdfDocument=null,this._pdfViewer=null,this._closeCapability=null,this._destroyCapability=null,this._scripting=null,this._mouseState=Object.create(null),this._ready=!1,this._eventBus=ae,this._sandboxBundleSrc=ie,this._scriptingFactory=he,this._docPropertiesLookup=J,this._scriptingFactory||window.addEventListener("updatefromsandbox",W=>{this._eventBus.dispatch("updatefromsandbox",{source:window,detail:W.detail})})}setViewer(e){this._pdfViewer=e}async setDocument(e){var ae;if(this._pdfDocument&&await this._destroyScripting(),this._pdfDocument=e,!e)return;const[ie,he,J]=await Promise.all([e.getFieldObjects(),e.getCalculationOrderIds(),e.getJSActions()]);if(!ie&&!J){await this._destroyScripting();return}if(e===this._pdfDocument){try{this._scripting=this._createScripting()}catch(W){console.error(`PDFScriptingManager.setDocument: "${W==null?void 0:W.message}".`),await this._destroyScripting();return}this._internalEvents.set("updatefromsandbox",W=>{(W==null?void 0:W.source)===window&&this._updateFromSandbox(W.detail)}),this._internalEvents.set("dispatcheventinsandbox",W=>{var X;(X=this._scripting)===null||X===void 0||X.dispatchEventInSandbox(W.detail)}),this._internalEvents.set("pagechanging",W=>{let{pageNumber:X,previous:L}=W;X!==L&&(this._dispatchPageClose(L),this._dispatchPageOpen(X))}),this._internalEvents.set("pagerendered",W=>{let{pageNumber:X}=W;this._pageOpenPending.has(X)&&X===this._pdfViewer.currentPageNumber&&this._dispatchPageOpen(X)}),this._internalEvents.set("pagesdestroy",async W=>{var X,L;await this._dispatchPageClose(this._pdfViewer.currentPageNumber),await((X=this._scripting)===null||X===void 0?void 0:X.dispatchEventInSandbox({id:"doc",name:"WillClose"})),(L=this._closeCapability)===null||L===void 0||L.resolve()}),this._domEvents.set("mousedown",W=>{this._mouseState.isDown=!0}),this._domEvents.set("mouseup",W=>{this._mouseState.isDown=!1});for(const[W,X]of this._internalEvents)this._eventBus._on(W,X);for(const[W,X]of this._domEvents)window.addEventListener(W,X,!0);try{const W=await this._getDocProperties();if(e!==this._pdfDocument)return;await this._scripting.createSandbox({objects:ie,calculationOrder:he,appInfo:{platform:navigator.platform,language:navigator.language},docInfo:{...W,actions:J}}),this._eventBus.dispatch("sandboxcreated",{source:this})}catch(W){console.error(`PDFScriptingManager.setDocument: "${W==null?void 0:W.message}".`),await this._destroyScripting();return}await((ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"doc",name:"Open"})),await this._dispatchPageOpen(this._pdfViewer.currentPageNumber,!0),Promise.resolve().then(()=>{e===this._pdfDocument&&(this._ready=!0)})}}async dispatchWillSave(e){var ae;return(ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"doc",name:"WillSave"})}async dispatchDidSave(e){var ae;return(ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"doc",name:"DidSave"})}async dispatchWillPrint(e){var ae;return(ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"doc",name:"WillPrint"})}async dispatchDidPrint(e){var ae;return(ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"doc",name:"DidPrint"})}get mouseState(){return this._mouseState}get destroyPromise(){var e;return((e=this._destroyCapability)===null||e===void 0?void 0:e.promise)||null}get ready(){return this._ready}get _internalEvents(){return(0,U.shadow)(this,"_internalEvents",new Map)}get _domEvents(){return(0,U.shadow)(this,"_domEvents",new Map)}get _pageOpenPending(){return(0,U.shadow)(this,"_pageOpenPending",new Set)}get _visitedPages(){return(0,U.shadow)(this,"_visitedPages",new Map)}async _updateFromSandbox(e){const ae=this._pdfViewer.isInPresentationMode||this._pdfViewer.isChangingPresentationMode,{id:ie,siblings:he,command:J,value:W}=e;if(!ie){switch(J){case"clear":console.clear();break;case"error":console.error(W);break;case"layout":if(ae)return;const Q=(0,R.apiPageLayoutToViewerModes)(W);this._pdfViewer.spreadMode=Q.spreadMode;break;case"page-num":this._pdfViewer.currentPageNumber=W+1;break;case"print":await this._pdfViewer.pagesPromise,this._eventBus.dispatch("print",{source:this});break;case"println":console.log(W);break;case"zoom":if(ae)return;this._pdfViewer.currentScaleValue=W;break;case"SaveAs":this._eventBus.dispatch("download",{source:this});break;case"FirstPage":this._pdfViewer.currentPageNumber=1;break;case"LastPage":this._pdfViewer.currentPageNumber=this._pdfViewer.pagesCount;break;case"NextPage":this._pdfViewer.nextPage();break;case"PrevPage":this._pdfViewer.previousPage();break;case"ZoomViewIn":if(ae)return;this._pdfViewer.increaseScale();break;case"ZoomViewOut":if(ae)return;this._pdfViewer.decreaseScale();break}return}if(ae&&e.focus)return;delete e.id,delete e.siblings;const X=he?[ie,...he]:[ie];for(const Q of X){const ce=document.querySelector(`[data-element-id="${Q}"]`);if(ce)ce.dispatchEvent(new CustomEvent("updatefromsandbox",{detail:e}));else{var L;(L=this._pdfDocument)===null||L===void 0||L.annotationStorage.setValue(Q,e)}}}async _dispatchPageOpen(e){let ae=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const ie=this._pdfDocument,he=this._visitedPages;if(ae&&(this._closeCapability=(0,U.createPromiseCapability)()),!this._closeCapability)return;const J=this._pdfViewer.getPageView(e-1);if((J==null?void 0:J.renderingState)!==R.RenderingStates.FINISHED){this._pageOpenPending.add(e);return}this._pageOpenPending.delete(e);const W=(async()=>{var X,L;const Q=await(he.has(e)?null:(X=J.pdfPage)===null||X===void 0?void 0:X.getJSActions());ie===this._pdfDocument&&await((L=this._scripting)===null||L===void 0?void 0:L.dispatchEventInSandbox({id:"page",name:"PageOpen",pageNumber:e,actions:Q}))})();he.set(e,W)}async _dispatchPageClose(e){var ae;const ie=this._pdfDocument,he=this._visitedPages;if(!this._closeCapability||this._pageOpenPending.has(e))return;const J=he.get(e);J&&(he.set(e,null),await J,ie===this._pdfDocument&&await((ae=this._scripting)===null||ae===void 0?void 0:ae.dispatchEventInSandbox({id:"page",name:"PageClose",pageNumber:e})))}async _getDocProperties(){if(this._docPropertiesLookup)return this._docPropertiesLookup(this._pdfDocument);const{docPropertiesLookup:e}=B(26);return e(this._pdfDocument)}_createScripting(){if(this._destroyCapability=(0,U.createPromiseCapability)(),this._scripting)throw new Error("_createScripting: Scripting already exists.");if(this._scriptingFactory)return this._scriptingFactory.createScripting({sandboxBundleSrc:this._sandboxBundleSrc});const{GenericScripting:e}=B(26);return new e(this._sandboxBundleSrc)}async _destroyScripting(){var e;if(!this._scripting){var ae;this._pdfDocument=null,(ae=this._destroyCapability)===null||ae===void 0||ae.resolve();return}this._closeCapability&&(await Promise.race([this._closeCapability.promise,new Promise(ie=>{setTimeout(ie,1e3)})]).catch(ie=>{}),this._closeCapability=null),this._pdfDocument=null;try{await this._scripting.destroySandbox()}catch{}for(const[ie,he]of this._internalEvents)this._eventBus._off(ie,he);this._internalEvents.clear();for(const[ie,he]of this._domEvents)window.removeEventListener(ie,he,!0);this._domEvents.clear(),this._pageOpenPending.clear(),this._visitedPages.clear(),this._scripting=null,delete this._mouseState.isDown,this._ready=!1,(e=this._destroyCapability)===null||e===void 0||e.resolve()}}D.PDFScriptingManager=K},($,D,B)=>{Object.defineProperty(D,"__esModule",{value:!0}),D.GenericScripting=void 0,D.docPropertiesLookup=U;var R=B(3);async function U(z){const e="",ae=e.split("#")[0];let{info:ie,metadata:he,contentDispositionFilename:J,contentLength:W}=await z.getMetadata();if(!W){const{length:X}=await z.getDownloadInfo();W=X}return{...ie,baseURL:ae,filesize:W,filename:J||(0,R.getPdfFilenameFromUrl)(e),metadata:he==null?void 0:he.getRaw(),authors:he==null?void 0:he.get("dc:creator"),numPages:z.numPages,URL:e}}class K{constructor(e){this._ready=(0,R.loadScript)(e,!0).then(()=>window.pdfjsSandbox.QuickJSSandbox())}async createSandbox(e){(await this._ready).create(e)}async dispatchEventInSandbox(e){const ae=await this._ready;setTimeout(()=>ae.dispatchEvent(e),0)}async destroySandbox(){(await this._ready).nukeSandbox()}}D.GenericScripting=K}],G={};function V($){var D=G[$];if(D!==void 0)return D.exports;var B=G[$]={exports:{}};return M[$](B,B.exports,V),B.exports}var q={};return(()=>{var $=q;Object.defineProperty($,"__esModule",{value:!0}),Object.defineProperty($,"AnnotationLayerBuilder",{enumerable:!0,get:function(){return K.AnnotationLayerBuilder}}),Object.defineProperty($,"DefaultAnnotationLayerFactory",{enumerable:!0,get:function(){return D.DefaultAnnotationLayerFactory}}),Object.defineProperty($,"DefaultStructTreeLayerFactory",{enumerable:!0,get:function(){return D.DefaultStructTreeLayerFactory}}),Object.defineProperty($,"DefaultTextLayerFactory",{enumerable:!0,get:function(){return D.DefaultTextLayerFactory}}),Object.defineProperty($,"DefaultXfaLayerFactory",{enumerable:!0,get:function(){return D.DefaultXfaLayerFactory}}),Object.defineProperty($,"DownloadManager",{enumerable:!0,get:function(){return z.DownloadManager}}),Object.defineProperty($,"EventBus",{enumerable:!0,get:function(){return e.EventBus}}),Object.defineProperty($,"GenericL10n",{enumerable:!0,get:function(){return ae.GenericL10n}}),Object.defineProperty($,"LinkTarget",{enumerable:!0,get:function(){return B.LinkTarget}}),Object.defineProperty($,"NullL10n",{enumerable:!0,get:function(){return ie.NullL10n}}),Object.defineProperty($,"PDFFindController",{enumerable:!0,get:function(){return he.PDFFindController}}),Object.defineProperty($,"PDFHistory",{enumerable:!0,get:function(){return J.PDFHistory}}),Object.defineProperty($,"PDFLinkService",{enumerable:!0,get:function(){return B.PDFLinkService}}),Object.defineProperty($,"PDFPageView",{enumerable:!0,get:function(){return W.PDFPageView}}),Object.defineProperty($,"PDFScriptingManager",{enumerable:!0,get:function(){return X.PDFScriptingManager}}),Object.defineProperty($,"PDFSinglePageViewer",{enumerable:!0,get:function(){return U.PDFSinglePageViewer}}),Object.defineProperty($,"PDFViewer",{enumerable:!0,get:function(){return U.PDFViewer}}),Object.defineProperty($,"ProgressBar",{enumerable:!0,get:function(){return R.ProgressBar}}),Object.defineProperty($,"RenderingStates",{enumerable:!0,get:function(){return R.RenderingStates}}),Object.defineProperty($,"ScrollMode",{enumerable:!0,get:function(){return R.ScrollMode}}),Object.defineProperty($,"SimpleLinkService",{enumerable:!0,get:function(){return B.SimpleLinkService}}),Object.defineProperty($,"SpreadMode",{enumerable:!0,get:function(){return R.SpreadMode}}),Object.defineProperty($,"StructTreeLayerBuilder",{enumerable:!0,get:function(){return L.StructTreeLayerBuilder}}),Object.defineProperty($,"TextLayerBuilder",{enumerable:!0,get:function(){return Q.TextLayerBuilder}}),Object.defineProperty($,"XfaLayerBuilder",{enumerable:!0,get:function(){return ce.XfaLayerBuilder}}),Object.defineProperty($,"parseQueryString",{enumerable:!0,get:function(){return R.parseQueryString}});var D=V(1),B=V(6),R=V(7),U=V(11),K=V(5),z=V(18),e=V(19),ae=V(20),ie=V(4),he=V(22),J=V(24),W=V(13),X=V(25),L=V(8),Q=V(9),ce=V(10)})(),q})())})(pdf_viewer$1);var pdf_viewerExports=pdf_viewer$1.exports;const pdf_viewer="";var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function createCommonjsModule(k,m,M){return M={path:m,exports:{},require:function(G,V){return commonjsRequire(G,V??M.path)}},k(M,M.exports),M.exports}function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var check=function(k){return k&&k.Math==Math&&k},global_1=check(typeof globalThis=="object"&&globalThis)||check(typeof window=="object"&&window)||check(typeof self=="object"&&self)||check(typeof commonjsGlobal=="object"&&commonjsGlobal)||function(){return this}()||Function("return this")(),fails=function(k){try{return!!k()}catch{return!0}},descriptors=!fails(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),$propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor$2=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor$2&&!$propertyIsEnumerable.call({1:2},1),f$4=NASHORN_BUG?function k(m){var M=getOwnPropertyDescriptor$2(this,m);return!!M&&M.enumerable}:$propertyIsEnumerable,objectPropertyIsEnumerable={f:f$4},createPropertyDescriptor=function(k,m){return{enumerable:!(k&1),configurable:!(k&2),writable:!(k&4),value:m}},toString={}.toString,classofRaw=function(k){return toString.call(k).slice(8,-1)},split="".split,indexedObject=fails(function(){return!Object("z").propertyIsEnumerable(0)})?function(k){return classofRaw(k)=="String"?split.call(k,""):Object(k)}:Object,requireObjectCoercible=function(k){if(k==null)throw TypeError("Can't call method on "+k);return k},toIndexedObject=function(k){return indexedObject(requireObjectCoercible(k))},isObject=function(k){return typeof k=="object"?k!==null:typeof k=="function"},aFunction$1=function(k){return typeof k=="function"?k:void 0},getBuiltIn=function(k,m){return arguments.length<2?aFunction$1(global_1[k]):global_1[k]&&global_1[k][m]},engineUserAgent=getBuiltIn("navigator","userAgent")||"",process$1=global_1.process,Deno$1=global_1.Deno,versions=process$1&&process$1.versions||Deno$1&&Deno$1.version,v8=versions&&versions.v8,match,version;v8?(match=v8.split("."),version=match[0]<4?1:match[0]+match[1]):engineUserAgent&&(match=engineUserAgent.match(/Edge\/(\d+)/),(!match||match[1]>=74)&&(match=engineUserAgent.match(/Chrome\/(\d+)/),match&&(version=match[1])));var engineV8Version=version&&+version,nativeSymbol=!!Object.getOwnPropertySymbols&&!fails(function(){var k=Symbol();return!String(k)||!(Object(k)instanceof Symbol)||!Symbol.sham&&engineV8Version&&engineV8Version<41}),useSymbolAsUid=nativeSymbol&&!Symbol.sham&&typeof Symbol.iterator=="symbol",isSymbol=useSymbolAsUid?function(k){return typeof k=="symbol"}:function(k){var m=getBuiltIn("Symbol");return typeof m=="function"&&Object(k)instanceof m},ordinaryToPrimitive=function(k,m){var M,G;if(m==="string"&&typeof(M=k.toString)=="function"&&!isObject(G=M.call(k))||typeof(M=k.valueOf)=="function"&&!isObject(G=M.call(k))||m!=="string"&&typeof(M=k.toString)=="function"&&!isObject(G=M.call(k)))return G;throw TypeError("Can't convert object to primitive value")},setGlobal=function(k,m){try{Object.defineProperty(global_1,k,{value:m,configurable:!0,writable:!0})}catch{global_1[k]=m}return m},SHARED="__core-js_shared__",store$1=global_1[SHARED]||setGlobal(SHARED,{}),sharedStore=store$1,shared=createCommonjsModule(function(k){(k.exports=function(m,M){return sharedStore[m]||(sharedStore[m]=M!==void 0?M:{})})("versions",[]).push({version:"3.17.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),toObject=function(k){return Object(requireObjectCoercible(k))},hasOwnProperty={}.hasOwnProperty,has$1=Object.hasOwn||function k(m,M){return hasOwnProperty.call(toObject(m),M)},id=0,postfix=Math.random(),uid=function(k){return"Symbol("+String(k===void 0?"":k)+")_"+(++id+postfix).toString(36)},WellKnownSymbolsStore=shared("wks"),Symbol$1=global_1.Symbol,createWellKnownSymbol=useSymbolAsUid?Symbol$1:Symbol$1&&Symbol$1.withoutSetter||uid,wellKnownSymbol=function(k){return(!has$1(WellKnownSymbolsStore,k)||!(nativeSymbol||typeof WellKnownSymbolsStore[k]=="string"))&&(nativeSymbol&&has$1(Symbol$1,k)?WellKnownSymbolsStore[k]=Symbol$1[k]:WellKnownSymbolsStore[k]=createWellKnownSymbol("Symbol."+k)),WellKnownSymbolsStore[k]},TO_PRIMITIVE=wellKnownSymbol("toPrimitive"),toPrimitive=function(k,m){if(!isObject(k)||isSymbol(k))return k;var M=k[TO_PRIMITIVE],G;if(M!==void 0){if(m===void 0&&(m="default"),G=M.call(k,m),!isObject(G)||isSymbol(G))return G;throw TypeError("Can't convert object to primitive value")}return m===void 0&&(m="number"),ordinaryToPrimitive(k,m)},toPropertyKey=function(k){var m=toPrimitive(k,"string");return isSymbol(m)?m:String(m)},document$1=global_1.document,EXISTS=isObject(document$1)&&isObject(document$1.createElement),documentCreateElement=function(k){return EXISTS?document$1.createElement(k):{}},ie8DomDefine=!descriptors&&!fails(function(){return Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a!=7}),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,f$3=descriptors?$getOwnPropertyDescriptor:function k(m,M){if(m=toIndexedObject(m),M=toPropertyKey(M),ie8DomDefine)try{return $getOwnPropertyDescriptor(m,M)}catch{}if(has$1(m,M))return createPropertyDescriptor(!objectPropertyIsEnumerable.f.call(m,M),m[M])},objectGetOwnPropertyDescriptor={f:f$3},anObject=function(k){if(!isObject(k))throw TypeError(String(k)+" is not an object");return k},$defineProperty=Object.defineProperty,f$2=descriptors?$defineProperty:function k(m,M,G){if(anObject(m),M=toPropertyKey(M),anObject(G),ie8DomDefine)try{return $defineProperty(m,M,G)}catch{}if("get"in G||"set"in G)throw TypeError("Accessors not supported");return"value"in G&&(m[M]=G.value),m},objectDefineProperty={f:f$2},createNonEnumerableProperty=descriptors?function(k,m,M){return objectDefineProperty.f(k,m,createPropertyDescriptor(1,M))}:function(k,m,M){return k[m]=M,k},functionToString=Function.toString;typeof sharedStore.inspectSource!="function"&&(sharedStore.inspectSource=function(k){return functionToString.call(k)});var inspectSource=sharedStore.inspectSource,WeakMap$1=global_1.WeakMap,nativeWeakMap=typeof WeakMap$1=="function"&&/native code/.test(inspectSource(WeakMap$1)),keys$1=shared("keys"),sharedKey=function(k){return keys$1[k]||(keys$1[k]=uid(k))},hiddenKeys$1={},OBJECT_ALREADY_INITIALIZED="Object already initialized",WeakMap$2=global_1.WeakMap,set,get,has,enforce=function(k){return has(k)?get(k):set(k,{})},getterFor=function(k){return function(m){var M;if(!isObject(m)||(M=get(m)).type!==k)throw TypeError("Incompatible receiver, "+k+" required");return M}};if(nativeWeakMap||sharedStore.state){var store=sharedStore.state||(sharedStore.state=new WeakMap$2),wmget=store.get,wmhas=store.has,wmset=store.set;set=function(k,m){if(wmhas.call(store,k))throw new TypeError(OBJECT_ALREADY_INITIALIZED);return m.facade=k,wmset.call(store,k,m),m},get=function(k){return wmget.call(store,k)||{}},has=function(k){return wmhas.call(store,k)}}else{var STATE=sharedKey("state");hiddenKeys$1[STATE]=!0,set=function(k,m){if(has$1(k,STATE))throw new TypeError(OBJECT_ALREADY_INITIALIZED);return m.facade=k,createNonEnumerableProperty(k,STATE,m),m},get=function(k){return has$1(k,STATE)?k[STATE]:{}},has=function(k){return has$1(k,STATE)}}var internalState={set,get,has,enforce,getterFor},redefine=createCommonjsModule(function(k){var m=internalState.get,M=internalState.enforce,G=String(String).split("String");(k.exports=function(V,q,$,D){var B=D?!!D.unsafe:!1,R=D?!!D.enumerable:!1,U=D?!!D.noTargetGet:!1,K;if(typeof $=="function"&&(typeof q=="string"&&!has$1($,"name")&&createNonEnumerableProperty($,"name",q),K=M($),K.source||(K.source=G.join(typeof q=="string"?q:""))),V===global_1){R?V[q]=$:setGlobal(q,$);return}else B?!U&&V[q]&&(R=!0):delete V[q];R?V[q]=$:createNonEnumerableProperty(V,q,$)})(Function.prototype,"toString",function(){return typeof this=="function"&&m(this).source||inspectSource(this)})}),ceil=Math.ceil,floor=Math.floor,toInteger=function(k){return isNaN(k=+k)?0:(k>0?floor:ceil)(k)},min$1=Math.min,toLength=function(k){return k>0?min$1(toInteger(k),9007199254740991):0},max=Math.max,min=Math.min,toAbsoluteIndex=function(k,m){var M=toInteger(k);return M<0?max(M+m,0):min(M,m)},createMethod$3=function(k){return function(m,M,G){var V=toIndexedObject(m),q=toLength(V.length),$=toAbsoluteIndex(G,q),D;if(k&&M!=M){for(;q>$;)if(D=V[$++],D!=D)return!0}else for(;q>$;$++)if((k||$ in V)&&V[$]===M)return k||$||0;return!k&&-1}},arrayIncludes={includes:createMethod$3(!0),indexOf:createMethod$3(!1)},indexOf=arrayIncludes.indexOf,objectKeysInternal=function(k,m){var M=toIndexedObject(k),G=0,V=[],q;for(q in M)!has$1(hiddenKeys$1,q)&&has$1(M,q)&&V.push(q);for(;m.length>G;)has$1(M,q=m[G++])&&(~indexOf(V,q)||V.push(q));return V},enumBugKeys=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],hiddenKeys=enumBugKeys.concat("length","prototype"),f$1=Object.getOwnPropertyNames||function k(m){return objectKeysInternal(m,hiddenKeys)},objectGetOwnPropertyNames={f:f$1},f=Object.getOwnPropertySymbols,objectGetOwnPropertySymbols={f},ownKeys=getBuiltIn("Reflect","ownKeys")||function k(m){var M=objectGetOwnPropertyNames.f(anObject(m)),G=objectGetOwnPropertySymbols.f;return G?M.concat(G(m)):M},copyConstructorProperties=function(k,m){for(var M=ownKeys(m),G=objectDefineProperty.f,V=objectGetOwnPropertyDescriptor.f,q=0;qhe;he++)if((D||he in e)&&(X=e[he],L=ae(X,he,z),k))if(m)W[he]=L;else if(L)switch(k){case 3:return!0;case 5:return X;case 6:return he;case 2:push.call(W,X)}else switch(k){case 4:return!1;case 7:push.call(W,X)}return q?-1:G||V?V:W}},arrayIteration={forEach:createMethod$2(0),map:createMethod$2(1),filter:createMethod$2(2),some:createMethod$2(3),every:createMethod$2(4),find:createMethod$2(5),findIndex:createMethod$2(6),filterReject:createMethod$2(7)},arrayMethodIsStrict=function(k,m){var M=[][k];return!!M&&fails(function(){M.call(null,m||function(){throw 1},1)})},$forEach=arrayIteration.forEach,STRICT_METHOD=arrayMethodIsStrict("forEach"),arrayForEach=STRICT_METHOD?[].forEach:function k(m){return $forEach(this,m,arguments.length>1?arguments[1]:void 0)};_export({target:"Array",proto:!0,forced:[].forEach!=arrayForEach},{forEach:arrayForEach});var domIterables={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},classList=documentCreateElement("span").classList,DOMTokenListPrototype=classList&&classList.constructor&&classList.constructor.prototype,domTokenListPrototype=DOMTokenListPrototype===Object.prototype?void 0:DOMTokenListPrototype,handlePrototype=function(k){if(k&&k.forEach!==arrayForEach)try{createNonEnumerableProperty(k,"forEach",arrayForEach)}catch{k.forEach=arrayForEach}};for(var COLLECTION_NAME in domIterables)handlePrototype(global_1[COLLECTION_NAME]&&global_1[COLLECTION_NAME].prototype);handlePrototype(domTokenListPrototype);var objectKeys=Object.keys||function k(m){return objectKeysInternal(m,enumBugKeys)},propertyIsEnumerable=objectPropertyIsEnumerable.f,createMethod$1=function(k){return function(m){for(var M=toIndexedObject(m),G=objectKeys(M),V=G.length,q=0,$=[],D;V>q;)D=G[q++],(!descriptors||propertyIsEnumerable.call(M,D))&&$.push(k?[D,M[D]]:M[D]);return $}},objectToArray={entries:createMethod$1(!0),values:createMethod$1(!1)},$entries=objectToArray.entries;_export({target:"Object",stat:!0},{entries:function k(m){return $entries(m)}});var aPossiblePrototype=function(k){if(!isObject(k)&&k!==null)throw TypeError("Can't set "+String(k)+" as a prototype");return k},objectSetPrototypeOf=Object.setPrototypeOf||("__proto__"in{}?function(){var k=!1,m={},M;try{M=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,M.call(m,[]),k=m instanceof Array}catch{}return function(V,q){return anObject(V),aPossiblePrototype(q),k?M.call(V,q):V.__proto__=q,V}}():void 0),inheritIfRequired=function(k,m,M){var G,V;return objectSetPrototypeOf&&typeof(G=m.constructor)=="function"&&G!==M&&isObject(V=G.prototype)&&V!==M.prototype&&objectSetPrototypeOf(k,V),k},objectDefineProperties=descriptors?Object.defineProperties:function k(m,M){anObject(m);for(var G=objectKeys(M),V=G.length,q=0,$;V>q;)objectDefineProperty.f(m,$=G[q++],M[$]);return m},html=getBuiltIn("document","documentElement"),GT=">",LT="<",PROTOTYPE="prototype",SCRIPT="script",IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(k){return LT+SCRIPT+GT+k+LT+"/"+SCRIPT+GT},NullProtoObjectViaActiveX=function(k){k.write(scriptTag("")),k.close();var m=k.parentWindow.Object;return k=null,m},NullProtoObjectViaIFrame=function(){var k=documentCreateElement("iframe"),m="java"+SCRIPT+":",M;return k.style.display="none",html.appendChild(k),k.src=String(m),M=k.contentWindow.document,M.open(),M.write(scriptTag("document.F=Object")),M.close(),M.F},activeXDocument,NullProtoObject=function(){try{activeXDocument=new ActiveXObject("htmlfile")}catch{}NullProtoObject=typeof document<"u"?document.domain&&activeXDocument?NullProtoObjectViaActiveX(activeXDocument):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(activeXDocument);for(var k=enumBugKeys.length;k--;)delete NullProtoObject[PROTOTYPE][enumBugKeys[k]];return NullProtoObject()};hiddenKeys$1[IE_PROTO]=!0;var objectCreate=Object.create||function k(m,M){var G;return m!==null?(EmptyConstructor[PROTOTYPE]=anObject(m),G=new EmptyConstructor,EmptyConstructor[PROTOTYPE]=null,G[IE_PROTO]=m):G=NullProtoObject(),M===void 0?G:objectDefineProperties(G,M)},toString_1=function(k){if(isSymbol(k))throw TypeError("Cannot convert a Symbol value to a string");return String(k)},whitespaces=` +\v\f\r                 \u2028\u2029\uFEFF`,whitespace="["+whitespaces+"]",ltrim=RegExp("^"+whitespace+whitespace+"*"),rtrim=RegExp(whitespace+whitespace+"*$"),createMethod=function(k){return function(m){var M=toString_1(requireObjectCoercible(m));return k&1&&(M=M.replace(ltrim,"")),k&2&&(M=M.replace(rtrim,"")),M}},stringTrim={start:createMethod(1),end:createMethod(2),trim:createMethod(3)},getOwnPropertyNames=objectGetOwnPropertyNames.f,getOwnPropertyDescriptor=objectGetOwnPropertyDescriptor.f,defineProperty=objectDefineProperty.f,trim$1=stringTrim.trim,NUMBER="Number",NativeNumber=global_1[NUMBER],NumberPrototype=NativeNumber.prototype,BROKEN_CLASSOF=classofRaw(objectCreate(NumberPrototype))==NUMBER,toNumber=function(k){if(isSymbol(k))throw TypeError("Cannot convert a Symbol value to a number");var m=toPrimitive(k,"number"),M,G,V,q,$,D,B,R;if(typeof m=="string"&&m.length>2){if(m=trim$1(m),M=m.charCodeAt(0),M===43||M===45){if(G=m.charCodeAt(2),G===88||G===120)return NaN}else if(M===48){switch(m.charCodeAt(1)){case 66:case 98:V=2,q=49;break;case 79:case 111:V=8,q=55;break;default:return+m}for($=m.slice(2),D=$.length,B=0;Bq)return NaN;return parseInt($,V)}}return+m};if(isForced_1(NUMBER,!NativeNumber(" 0o1")||!NativeNumber("0b1")||NativeNumber("+0x1"))){for(var NumberWrapper=function(m){var M=arguments.length<1?0:m,G=this;return G instanceof NumberWrapper&&(BROKEN_CLASSOF?fails(function(){NumberPrototype.valueOf.call(G)}):classofRaw(G)!=NUMBER)?inheritIfRequired(new NativeNumber(toNumber(M)),G,NumberWrapper):toNumber(M)},keys=descriptors?getOwnPropertyNames(NativeNumber):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),j=0,key;keys.length>j;j++)has$1(NativeNumber,key=keys[j])&&!has$1(NumberWrapper,key)&&defineProperty(NumberWrapper,key,getOwnPropertyDescriptor(NativeNumber,key));NumberWrapper.prototype=NumberPrototype,NumberPrototype.constructor=NumberWrapper,redefine(global_1,NUMBER,NumberWrapper)}var trim=stringTrim.trim,$parseFloat=global_1.parseFloat,FORCED=1/$parseFloat(whitespaces+"-0")!==-1/0,numberParseFloat=FORCED?function k(m){var M=trim(toString_1(m)),G=$parseFloat(M);return G===0&&M.charAt(0)=="-"?-0:G}:$parseFloat;_export({global:!0,forced:parseFloat!=numberParseFloat},{parseFloat:numberParseFloat});var slice=[].slice,MSIE=/MSIE .\./.test(engineUserAgent),wrap=function(k){return function(m,M){var G=arguments.length>2,V=G?slice.call(arguments,2):void 0;return k(G?function(){(typeof m=="function"?m:Function(m)).apply(this,V)}:m,M)}};_export({global:!0,bind:!0,forced:MSIE},{setTimeout:wrap(global_1.setTimeout),setInterval:wrap(global_1.setInterval)});function __awaiter(k,m,M,G){function V(q){return q instanceof M?q:new M(function($){$(q)})}return new(M||(M=Promise))(function(q,$){function D(U){try{R(G.next(U))}catch(K){$(K)}}function B(U){try{R(G.throw(U))}catch(K){$(K)}}function R(U){U.done?q(U.value):V(U.value).then(D,B)}R((G=G.apply(k,m||[])).next())})}function __generator(k,m){var M={label:0,sent:function(){if(q[0]&1)throw q[1];return q[1]},trys:[],ops:[]},G,V,q,$;return $={next:D(0),throw:D(1),return:D(2)},typeof Symbol=="function"&&($[Symbol.iterator]=function(){return this}),$;function D(R){return function(U){return B([R,U])}}function B(R){if(G)throw new TypeError("Generator is already executing.");for(;M;)try{if(G=1,V&&(q=R[0]&2?V.return:R[0]?V.throw||((q=V.return)&&q.call(V),0):V.next)&&!(q=q.call(V,R[1])).done)return q;switch(V=0,q&&(R=[R[0]&2,q.value]),R[0]){case 0:case 1:q=R;break;case 4:return M.label++,{value:R[1],done:!1};case 5:M.label++,V=R[1],R=[0];continue;case 7:R=M.ops.pop(),M.trys.pop();continue;default:if(q=M.trys,!(q=q.length>0&&q[q.length-1])&&(R[0]===6||R[0]===2)){M=0;continue}if(R[0]===3&&(!q||R[1]>q[0]&&R[1]"u")){var G=document.head||document.getElementsByTagName("head")[0],V=document.createElement("style");V.type="text/css",M==="top"&&G.firstChild?G.insertBefore(V,G.firstChild):G.appendChild(V),V.styleSheet?V.styleSheet.cssText=k:V.appendChild(document.createTextNode(k))}}var css_248z=".vue-pdf__wrapper{position:relative}.vue-pdf__wrapper-text-layer br{display:none}.vue-pdf__wrapper-annotation-layer{position:absolute}.vue-pdf__wrapper-annotation-layer .linkAnnotation{position:absolute;z-index:1}.vue-pdf__wrapper-annotation-layer .linkAnnotation a{width:100%;height:100%;display:inline-block}";styleInject(css_248z);script.render=render$2;const _hoisted_1$7={class:"flex justify-between items-end w-full bg-transparent"},_hoisted_2$6={key:0,class:"flex flex-nowrap overflow-x-auto scrollbar-hide ml-2"},_hoisted_3$6=["onClick"],_hoisted_4$5=createBaseVNode("div",{class:"flex-1 bg-transparent"},null,-1),_hoisted_5$5={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},_hoisted_6$5={class:"py-1"},_hoisted_7$5=["onClick"],_hoisted_8$4={href:"#",class:"flex w-full items-center px-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_9$4={class:"py-1"},_hoisted_10$3=["onClick"],_hoisted_11$3={href:"#",class:"flex w-full items-center px-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_12$2={class:"menu-container bg-transparent",style:{display:"flex","justify-content":"flex-end"}},_hoisted_13$2={class:"py-1"},_hoisted_14$2=["onClick"],_hoisted_15$2={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_16$2={class:"flex flex-1 justify-center"},_hoisted_17$2={class:"w-28"},_hoisted_18$2={class:"py-1"},_hoisted_19$1=["onClick"],_hoisted_20$1={href:"#",class:"flex w-full items-center pl-0 pr-3 py-1 text-sm hover:bg-opacity dark:hover:bg-gray-700 text-gray-700 dark:text-gray-300"},_hoisted_21={class:"flex flex-1 justify-center"},_hoisted_22={class:"w-28"},_hoisted_23={key:0,class:"flex items-center py-2 px-2 rounded-lg w-full cursor-pointer transition duration-150 ease-in-out"},_hoisted_24=createBaseVNode("p",{class:"text-sm text-gray-500 dark:text-gray-400 flex-grow truncate"}," 使用 @ 搜索应用程序 ",-1),_hoisted_25=[_hoisted_24],_hoisted_26=["onClick"],_hoisted_27={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},_hoisted_28=["src"],_hoisted_29={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},_hoisted_30={class:"text-md font-bold text-gray-600 dark:text-primary-500 mr-3 flex-shrink-0"},_hoisted_31={class:"text-sm text-gray-400 dark:text-gray-400 flex-grow truncate"},_hoisted_32={key:0,class:"self-start w-full bg-opacity dark:bg-gray-700 rounded-lg"},_hoisted_33=["src"],_hoisted_34=["onClick"],_hoisted_35={key:1,class:"relative group w-full"},_hoisted_36={class:"px-3 flex items-center justify-start bg-opacity rounded-t-lg h-12 text-gray-700 dark:text-gray-400"},_hoisted_37={class:"text-gray-500"},_hoisted_38={class:"px-2 flex items-center justify-start rounded-t-lg h-12 text-gray-700 bg-opacity dark:bg-gray-700 dark:text-gray-400 w-full"},_hoisted_39={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},_hoisted_40=["src"],_hoisted_41={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},_hoisted_42={class:"text-md font-bold text-gray-700 dark:text-gray-400 mr-3 flex-shrink-0 flex justify-start"},_hoisted_43={class:"text-sm text-gray-400 dark:text-gray-400 truncate pr-10"},_hoisted_44={class:"px-2 flex items-center justify-start bg-opacity rounded-t-lg h-12 text-gray-700 dark:text-gray-400 w-full dark:bg-gray-700"},_hoisted_45={class:"w-8 h-8 flex-shrink-0 rounded-full flex items-center justify-center overflow-hidden shadow-sm border border-gray-300 mr-3"},_hoisted_46=["src"],_hoisted_47={key:1,class:"w-8 h-8 text-sm font-medium text-gray-700 dark:text-gray-400 rounded-full flex items-center justify-center dark:bg-gray-700"},_hoisted_48={class:"text-md font-bold text-gray-600 dark:text-gray-400 mr-3 flex-shrink-0 flex justify-start"},_hoisted_49={class:"text-sm text-gray-400 dark:text-gray-400 truncate pr-10"},_hoisted_50={class:"flex justify-between flex-grow w-full py-2 px-2"},_hoisted_51={class:"flex justify-start items-end"},_hoisted_52={class:"flex flex-grow items-center justify-center"},_hoisted_53=["placeholder"],_hoisted_54={class:"flex justify-end items-end"},_hoisted_55=["disabled"],_hoisted_56={key:0,class:"w-full flex justify-center items-center text-sm text-gray-500"},_hoisted_57={class:"transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400 ml-2",href:"https://beian.miit.gov.cn",target:"_blank"},_sfc_main$7=defineComponent({__name:"index",emits:["pause-request"],setup(k,{emit:m}){const M=inject("onConversation"),G=useRoute(),V=useGlobalStoreWithOut(),q=useAuthStore(),$=useChatStore(),D=m,B=ref([{id:"square",title:t$3("chat.square1"),values:"1:1",aspectRatio:"1 / 1"},{id:"illustration",title:t$3("chat.illustration"),values:"4:3",aspectRatio:"4 / 3"},{id:"wallpaper",title:t$3("chat.wallpaper"),values:"16:9",aspectRatio:"16 / 9"},{id:"media",title:t$3("chat.media"),values:"3:4",aspectRatio:"3 / 4"},{id:"poster",title:t$3("chat.poster"),values:"9:16",aspectRatio:"9 / 16"}]),R=ref([{title:"6.1",values:"--v 6.1"},{title:"5.2",values:"--v 5.2"},{title:"卡通",values:"--niji 6"}]),U=ref([{title:t$3("chat.imageToImage"),values:"imageToImage"},{title:t$3("chat.faceConsistency"),values:"faceConsistency"},{title:t$3("chat.styleConsistency"),values:"styleConsistency"},{title:"以图生文",values:"imageToText"}]),K=ref([{id:"default",title:t$3("chat.square"),values:"1024x1024",aspectRatio:"1024 / 1024"},{id:"landscape",title:t$3("chat.landscape"),values:"1792x1024",aspectRatio:"1792 / 1024"},{id:"portrait",title:t$3("chat.portrait"),values:"1024x1792",aspectRatio:"1024 / 1792"}]),z=ref(!1),e=ref(!0),ae=ref(),ie=ref(!1),he=ref([]),J=computed(()=>G.path==="/pdf"),W=ref(null),X=ref({size:"",style:""}),L=ref(),Q=ref("--v 6.1"),ce=ref([]),de=ref(K.value[0]),se=ref(U.value[0]),oe=ref(R.value[0]),me=ref(""),Ee=ref(""),ke=ref(""),xe=ref(!1),fe=ref(),ve=ref(!1);let ye=null;const Ce=computed({get:()=>$.prompt,set:Xt=>{$.setPrompt(Xt)}}),pe=computed(()=>q.globalConfig),_e=computed(()=>{var Xt,At;return((Xt=pe.value)==null?void 0:Xt.companyName)&&((At=pe.value)==null?void 0:At.filingNumber)}),{isMobile:Ge}=useBasicLayout(),Ae=computed(()=>$.currentPlugin),Ne=computed(()=>$.isStreamIn!==void 0?$.isStreamIn:!1),Ze=computed(()=>$.chatList),ze=ref("/api/upload/file"),Te=computed(()=>String(Ie==null?void 0:Ie.value.modelInfo.modelName)),Fe=computed(()=>Number(Ie==null?void 0:Ie.value.modelInfo.keyType)),Pe=computed(()=>$.active),we=computed(()=>$.getChatByGroupInfo()),Ie=computed(()=>{var At;const Xt=(At=we.value)==null?void 0:At.config;if(!Xt)return{};try{return JSON.parse(Xt)}catch{return{}}}),Be=computed(()=>{var Xt,At;return String(((At=(Xt=Ie==null?void 0:Ie.value)==null?void 0:Xt.fileInfo)==null?void 0:At.fileParsing)||"")}),Ke=computed(()=>{var Xt,At;return String(((At=(Xt=Ie==null?void 0:Ie.value)==null?void 0:Xt.fileInfo)==null?void 0:At.fileName)||"")}),Ve=computed(()=>{var Xt,At;return String(((At=(Xt=Ie==null?void 0:Ie.value)==null?void 0:Xt.modelInfo)==null?void 0:At.model)??"")}),je=computed(()=>{var Xt,At;return Number((At=(Xt=Ie==null?void 0:Ie.value)==null?void 0:Xt.modelInfo)==null?void 0:At.isFileUpload)}),Le=computed(()=>[1,2,3].includes(je.value)),et=computed(()=>{var Xt;return Ve.value==="dall-e-3"||((Xt=Ae.value)==null?void 0:Xt.parameters)==="dall-e-3"}),Qe=computed(()=>{var Xt;return Ve.value.includes("flux")||((Xt=Ae.value)==null?void 0:Xt.parameters.includes("flux"))}),Ue=computed(()=>{var Xt;return Ve.value==="midjourney"||((Xt=Ae.value)==null?void 0:Xt.parameters)==="midjourney"}),$e=computed(()=>{var Xt;return Ve.value==="ai-ppt"||((Xt=Ae.value)==null?void 0:Xt.parameters)==="ai-ppt"}),Ye=computed(()=>{var Xt;return Ve.value==="luma-video"||((Xt=Ae.value)==null?void 0:Xt.parameters)==="luma-video"}),tt=computed(()=>{var Xt;return Ve.value==="cog-video"||((Xt=Ae.value)==null?void 0:Xt.parameters)==="cog-video"}),ot=computed(()=>V.clipboardText),st=computed(()=>Ge.value?t$3("chat.placeholderMobile"):t$3("chat.placeholder")),dt=computed(()=>Ne.value||(!Ce.value||Ce.value.trim()==="")&&!(Ft.value.length>0)),ct=(Xt,At=16)=>{const[zt,Br]=Xt.split(" / ").map(Number),br=zt/Br;return Br>zt?{width:`${At*br}px`,height:`${At}px`}:{width:`${At}px`,height:`${At/br}px`}},mt=Xt=>{if(Xt.id==="custom"){const At=`${me.value}:${Ee.value}`;de.value={...Xt,values:At,aspectRatio:`${me.value} / ${Ee.value}`},X.value.size=At}else de.value=Xt,X.value.size=Xt.values},ut=Xt=>{oe.value=Xt,Q.value=Xt.values},rt=Xt=>{Ft.value.length>0||$t(),se.value=Xt,L.value=Xt.values},He=()=>{if(W.value){const Xt=W.value,At=8,zt="1.5rem";Xt.style.height=zt;const Br=Ce.value.split(` +`).reduce((sr,ur)=>{const Cr=Math.floor(Xt.clientWidth/8);return sr+Math.ceil(ur.length/Cr)},0),br=parseFloat(window.getComputedStyle(Xt).lineHeight)||20,Ur=br*At,un=br*Br;Xt.style.height=Math.min(un,Ur)+"px"}};watch(Ce,()=>{nextTick(()=>{He()})},{immediate:!0});const Je=async Xt=>{const zt=Xt.target.value;if(xe.value=zt.startsWith("@"),ye&&clearTimeout(ye),xe.value&&!ve.value){const Br=zt.slice(1);ye=setTimeout(async()=>{if(Br.length>0)try{const br=await fetchSearchAppsAPI({keyword:Br});he.value=br.data.rows}catch(br){console.error("Error fetching search results:",br),he.value=[]}else he.value=[]},1e3)}else he.value=[]},St=computed(()=>{var Xt,At;return String(((Xt=Ae==null?void 0:Ae.value)==null?void 0:Xt.pluginImg)||((At=Ie==null?void 0:Ie.value.modelInfo)==null?void 0:At.modelAvatar)||"")}),bt=()=>{var Br;const At=((Br=pe.value)==null?void 0:Br.drawingStyles.split(",")).sort(()=>.5-Math.random()),zt=Ge.value?3:5;ce.value=At.slice(0,zt)};async function pt(Xt){Ce.value&&/,\s*$/.test(Ce.value)?await $.setPrompt(`${Ce.value} ${Xt}`):Ce.value?await $.setPrompt(`${Ce.value}, ${Xt}`):await $.setPrompt(`${Xt}`),W.value.focus(),W.value.scrollTop=W.value.scrollHeight}const wt=inject("createNewChatGroup",()=>Promise.resolve()),Pt=async Xt=>{var Cr,Tr,jt,Wr,ir,Gr,Jr,Xr,fn,cn,nn,ar,xr,Lr;if(Ne.value)return;$.groupList.length===0&&await wt(),$.setStreamIn(!0);let At="";((Cr=Ae.value)==null?void 0:Cr.parameters)==="suno-music"?At="LYRICS":((Tr=Ae.value)==null?void 0:Tr.parameters)==="midjourney"&&(L.value==="imageToText"?At="DESCRIBE":At="IMAGINE");let zt=((jt=fe==null?void 0:fe.value)==null?void 0:jt.model)||($==null?void 0:$.activeModel),Br=((Wr=Ae==null?void 0:Ae.value)==null?void 0:Wr.pluginName)||((ir=fe==null?void 0:fe.value)==null?void 0:ir.name)||Te.value;const br=Fe.value;(Gr=Ae.value)!=null&&Gr.deductType&&((Jr=Ae.value)==null?void 0:Jr.deductType)!==0&&(zt=(Xr=Ae.value)==null?void 0:Xr.parameters);let Ur=((fn=fe==null?void 0:fe.value)==null?void 0:fn.coverImg)||St.value,un;fe!=null&&fe.value?un=(cn=fe==null?void 0:fe.value)==null?void 0:cn.id:un=(nn=we==null?void 0:we.value)==null?void 0:nn.appId;let sr="";console.log(Ce);let ur=Ce.value||"";if($e.value&&sr.length===0&&(ur=`使用 ${Ke} 生成 PPT`),(je.value===1||je.value===2||je.value===3&&((ar=Yt.value[0])!=null&&ar.type.startsWith("image/"))||Ue.value||Ye.value||$e.value||tt.value)&&Ft.value.length>0&&(console.log("满足文件上传条件,开始上传文件"),sr=await Nt(),console.log("文件上传成功,文件 URL:",sr),ie.value=!1,Ft.value=[],Yt.value=[]),zt==="midjourney"&&At==="IMAGINE"){if(sr)switch(L.value){case"faceConsistency":ur=`${ur} --cref ${sr} --cw 100`;break;case"styleConsistency":ur=`${ur} --sref ${sr}`;break;default:ur=`${sr} ${ur}`}if(X.value.size&&!ur.includes("--ar")){let Rr=X.value.size;switch(Rr){case"1024x1024":Rr="1:1";break;case"1792x1024":Rr="16:9";break;case"1024x1792":Rr="9:16";break}ur=`${ur} --ar ${Rr}`}Q.value&&!ur.includes("--v")&&!ur.includes("--niji")&&(ur=`${ur} ${Q.value}`)}if(At==="DESCRIBE"&&sr&&(ur="以图生文"),un)try{Ur=(await fetchQueryOneCatAPI({id:un})).data.modelAvatar}catch{}await $.setPrompt(""),Ft.value=[],Yt.value=[],W.value.style.height="1.5rem",console.log("开始对话",{prompt:Ce,action:At,useModel:zt,useModelName:Br,useModelType:br,modelAvatar:Ur,appId:un,extraParam:X.value,fileUrl:sr,pluginParam:(xr=Ae.value)==null?void 0:xr.parameters}),await M({msg:ur,action:At,model:zt,modelName:Br,modelType:br,modelAvatar:Ur,appId:un,extraParam:X.value,fileUrl:sr,pluginParam:(Lr=Ae.value)==null?void 0:Lr.parameters}),$.setStreamIn(!1),ie.value=!1},Nt=async()=>{ie.value=!0;const Xt=[];try{const At=new Date,zt=At.getFullYear(),Br=String(At.getMonth()+1).padStart(2,"0"),br=String(At.getDate()).padStart(2,"0"),un=`userFiles/${`${zt}${Br}/${br}`}`,sr=Array.from(Yt.value).map(async ur=>{var Tr;const Cr=new FormData;Cr.append("file",ur);try{const jt=await axios.post(`${ze.value}?dir=${encodeURIComponent(un)}`,Cr,{headers:{"Content-Type":"multipart/form-data"}});return(Tr=jt==null?void 0:jt.data)==null?void 0:Tr.data}catch(jt){return console.error(`上传文件 ${ur.name} 失败:`,jt),`上传文件 ${ur.name} 失败`}});Xt.push(...await Promise.all(sr))}catch(At){console.error("上传文件过程中发生错误:",At)}finally{ie.value=!1}return Xt.join(", ")},Vt=async Xt=>{const zt=(Xt.clipboardData||window.clipboardData).items;for(const Br of zt)if(Br.kind==="file"){const br=Br.getAsFile();br&&await Wt(br)}},Wt=async Xt=>{let At=Xt.name;const zt=25,Br=At.split(".").pop()||"";if(At.length>zt&&(At=At.substring(0,zt-Br.length-1)+"…."+Br),Xt.type.startsWith("image/"))e.value=!1,await Mt(),Jt(Xt);else if(e.value=!0,Ft.value=[],Yt.value=[],Jt(Xt),je.value===3&&!$e.value&&!tt.value&&!Ye.value&&!Ue.value){const br=await Dt();br&&await cr({fileName:At,fileParsing:br})}else await cr({fileName:At});$e.value&&await $.setPrompt(`使用 ${At} 生成 PPT`)};async function Mt(){await cr({fileParsing:"",fileName:""});const Xt=Yt.value.filter(zt=>zt.type.startsWith("image/")),At=Ft.value.filter((zt,Br)=>Yt.value[Br]&&Yt.value[Br].type.startsWith("image/"));Yt.value=Xt,Ft.value=At,Yt.value.length>=4&&(Yt.value.shift(),Ft.value.shift())}const $t=()=>{var Xt;(Xt=ae==null?void 0:ae.value)==null||Xt.click()},Yt=ref([]),Ft=ref([]),Jt=async Xt=>{Yt.value.push(Xt);const At=new FileReader;At.onload=zt=>{var br;const Br=(br=zt.target)==null?void 0:br.result;Ft.value.push(Br),console.log(`文件 ${Xt.name} 的 Base64 数据已添加`)},At.readAsDataURL(Xt),ae.value=null},er=async Xt=>{Ft.value.splice(Xt,1),Yt.value.splice(Xt,1),await cr({fileParsing:"",fileName:""})},Bt=async Xt=>{var Br;console.log("文件选择事件触发");const At=Xt.target,zt=(Br=At==null?void 0:At.files)==null?void 0:Br[0];zt&&(await Wt(zt),At.value="")},It=async()=>{he.value=[],xe.value=!1,ve.value=!1,fe.value=null,$.setUsingPlugin(null)},Dt=async()=>{ie.value=!0;try{if(!Yt.value.length)throw new Error("No file selected");const Xt=Yt.value[0],At=Xt.type;let zt="";if(At.startsWith("text/"))zt=await kr(Xt);else switch(At){case"application/pdf":zt=await Zt(Xt);break;case"application/vnd.openxmlformats-officedocument.wordprocessingml.document":zt=await gr(Xt,"word/document.xml","word");break;case"application/vnd.openxmlformats-officedocument.presentationml.presentation":zt=await gr(Xt,"ppt/slides/slide1.xml","ppt");break;case"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":zt=await gr(Xt,"xl/worksheets/sheet1.xml","excel");break;case"application/xml":case"application/javascript":case"application/xslt+xml":case"application/json":case"application/sql":zt=await kr(Xt);break;default:console.warn("Unsupported file type:",At),alert("Unsupported file type")}return zt.length>5e4&&(console.warn("Text exceeds 50000 characters, truncating..."),zt=zt.slice(0,5e4)),zt}catch(Xt){return console.error(Xt),null}finally{ie.value=!1,Ft.value=[],Yt.value=[]}},Zt=async Xt=>{try{const At=await Xt.arrayBuffer(),zt=new Uint8Array(At),br=await createLoadingTask(zt).promise;let Ur="";for(let un=1;un<=br.numPages;un++){const Cr=(await(await br.getPage(un)).getTextContent()).items.map(Tr=>"str"in Tr?Tr.str:"").join(" ");Ur+=`{${Cr}} `}return Ur}catch(At){return console.error("Error reading PDF file:",At),""}},gr=async(Xt,At,zt)=>{try{const Br=await Xt.arrayBuffer(),Ur=(await JSZip.loadAsync(Br)).file(At);if(!Ur)throw new Error(`File path ${At} not found in the ZIP archive`);const un=await Ur.async("text"),sr=await parseStringPromise(un);return fr(sr,zt)}catch(Br){return console.error(`Error reading ${At} file:`,Br),""}},fr=(Xt,At)=>{let zt="";if(At==="word"){const Br=Xt["w:document"]["w:body"][0]["w:p"];zt=Dr(Br)}else if(At==="ppt"){const Br=Xt["p:sld"]["p:cSld"][0]["p:spTree"][0]["p:sp"];Br&&Br.forEach(br=>{if(br["p:txBody"]){const Ur=br["p:txBody"][0]["a:p"].map(un=>un["a:r"]?un["a:r"].map(sr=>sr["a:t"]).filter(Boolean).join(" "):"");zt+=Ur.join(" ")+` `}})}else if(At==="excel"){const Br=Xt.worksheet.sheetData[0].row;Br&&Br.forEach(br=>{const Ur=br.c?br.c.map(un=>un.v).join(" "):"";zt+=Ur+` `})}return zt},Dr=Xt=>{let At="";return Xt&&Xt.forEach(zt=>{const Br=zt["w:r"]?zt["w:r"].map(br=>br["w:t"]).filter(Boolean).join(" "):"";At+=Br+` -`}),At},kr=async Xt=>await Xt.text(),cr=async Xt=>{const{modelInfo:At,fileInfo:zt}=$.activeConfig,Br={modelInfo:{...At},fileInfo:{fileParsing:Xt.fileParsing!==void 0?Xt.fileParsing:zt==null?void 0:zt.fileParsing,fileName:Xt.fileName!==void 0?Xt.fileName:zt==null?void 0:zt.fileName}},br={groupId:Ue.value,config:JSON.stringify(Br)};await fetchUpdateGroupAPI(br),await $.queryMyGroup()},Ar=Xt=>{Ge.value?Xt.key==="Enter"&&Xt.ctrlKey&&(Xt.preventDefault(),Pt()):Xt.key==="Enter"&&!Xt.shiftKey&&(Xt.preventDefault(),Pt())},yt=async Xt=>{var At;fe.value=Xt,ve.value=!0,await $.setPrompt(""),(At=X.value)==null||At.focus()},vt=()=>{D("pause-request"),$.setStreamIn(!1)};return watch([me,Ee],([Xt,At],[zt,Br])=>{Xt&&At&&(Xt!==zt||At!==Br)&&(mt({id:"custom",title:`${Xt}:${At}`,values:`${Xt}:${At}`,aspectRatio:`${Xt} / ${At}`}),ke.value=`${me.value} / ${Ee.value}`)}),watch(ot,async Xt=>{var At;await $.setPrompt(Xt),(At=X.value)==null||At.focus(),X.value.scrollTop=X.value.scrollHeight}),watch(Ze,Xt=>{Xt.length},{immediate:!0}),onMounted(()=>{bt(),$.setPrompt(""),nextTick(()=>{X.value&&!Ge.value&&X.value.focus()})}),(Xt,At)=>{var zt,Br;return openBlock(),createElementBlock(Fragment$1,null,[createBaseVNode("footer",{class:normalizeClass(["flex flex-col items-center justify-center w-full",[unref(Ge)?"px-2 mb-3":"px-10"]])},[J.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["flex pb-2 justify-center w-full flex-col m-auto rounded-lg px-0 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none",[unref(Ge)?" mx-2":" pt-1 mx-10 "]]),style:{maxWidth:"64rem"}},[createBaseVNode("div",_hoisted_1$7,[(et.value||Fe.value||Qe.value)&&!unref(Ge)?(openBlock(),createElementBlock("div",_hoisted_2$6,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(ce.value,(br,Ur)=>(openBlock(),createElementBlock("button",{key:Ur,onClick:un=>pt(br),class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 px-2 py-1 my-1 hover:bg-opacity dark:hover:bg-gray-750 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 whitespace-nowrap"},toDisplayString(br),9,_hoisted_3$6))),128)),createBaseVNode("button",{onClick:bt,class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 px-2 py-1 my-1 hover:bg-opacity dark:hover:bg-gray-750 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 whitespace-nowrap"},[createVNode(unref(ShuffleOne),{theme:"outline",size:"16",class:"my-4"})])])):createCommentVNode("",!0),_hoisted_4$5,createBaseVNode("div",_hoisted_5$5,[Fe.value?(openBlock(),createBlock(unref(ge),{key:0,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(oe.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-28 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_6$5,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(U.value,(br,Ur)=>(openBlock(),createBlock(unref(be),{key:Ur},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:un=>rt(br)},[createBaseVNode("a",_hoisted_8$4,toDisplayString(br.title),1)],8,_hoisted_7$5)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),Fe.value?(openBlock(),createBlock(unref(ge),{key:1,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(" 版本:"+toDisplayString(se.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-28 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_9$4,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(R.value,(br,Ur)=>(openBlock(),createBlock(unref(be),{key:Ur},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:un=>ut(br)},[createBaseVNode("a",_hoisted_11$3,toDisplayString(br.title),1)],8,_hoisted_10$3)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_12$2,[et.value||Qe.value?(openBlock(),createBlock(unref(ge),{key:0,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(t$3)("chat.size")+de.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_13$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(K.value,(br,Ur)=>(openBlock(),createBlock(unref(be),{key:Ur},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:un=>mt(br)},[createBaseVNode("a",_hoisted_15$2,[createBaseVNode("div",_hoisted_16$2,[createBaseVNode("div",{style:normalizeStyle(ct(br.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),createBaseVNode("div",_hoisted_17$2,toDisplayString(br.title),1)])],8,_hoisted_14$2)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),Ye.value||tt.value?(openBlock(),createBlock(unref(ge),{key:1,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap",onClick:$t},{default:withCtx(()=>[createTextVNode(" 图生视频 ")]),_:1})]),_:1})):createCommentVNode("",!0),Fe.value||Ye.value?(openBlock(),createBlock(unref(ge),{key:2,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(t$3)("chat.size")+de.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_18$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(B.value,(br,Ur)=>(openBlock(),createBlock(unref(be),{key:Ur},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:un=>mt(br)},[createBaseVNode("a",_hoisted_20$1,[createBaseVNode("div",_hoisted_21,[createBaseVNode("div",{style:normalizeStyle(ct(br.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),createBaseVNode("div",_hoisted_22,toDisplayString(br.title),1)])],8,_hoisted_19$1)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)])])],2)),xe.value&&!ve.value&&!Te.value&&!J.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["flex mb-2 w-full px-2 py-1 justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 resize-none dark:ring-gray-750 dark:bg-gray-800",[unref(Ge)?"mx-2":"mx-10"]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[he.value.length===0?(openBlock(),createElementBlock("div",_hoisted_23,_hoisted_25)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment$1,null,renderList(he.value,br=>(openBlock(),createElementBlock("div",{key:br.id,onClick:Ur=>yt(br),class:"flex items-center bg-white dark:bg-gray-800 hover:bg-gray-100 py-2 px-2 dark:hover:bg-gray-700 rounded-lg w-full cursor-pointer transition duration-150 ease-in-out"},[createBaseVNode("div",_hoisted_27,[br.coverImg?(openBlock(),createElementBlock("img",{key:0,src:br.coverImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,_hoisted_28)):(openBlock(),createElementBlock("span",_hoisted_29,toDisplayString(br.name.charAt(0)),1))]),createBaseVNode("h3",_hoisted_30,toDisplayString(br.name),1),createBaseVNode("p",_hoisted_31,toDisplayString(br.des),1)],8,_hoisted_26))),128))],2)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["flex mb-2 mt-1 w-full justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-500 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-gray-750 dark:ring-gray-750 dark:bg-gray-750",[unref(Ge)?" mx-2":" mx-10 "]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[Ft.value.length>0||Be.value||ve.value||Te.value?(openBlock(),createElementBlock("div",_hoisted_32,[Ft.value.length>0&&!e.value?(openBlock(!0),createElementBlock(Fragment$1,{key:0},renderList(Ft.value,(br,Ur)=>(openBlock(),createElementBlock("div",{class:"relative inline-block ml-2 mt-2 group",key:Ur},[createBaseVNode("img",{src:br,class:"max-h-16 border border-gray-300 rounded-lg",alt:"预览图片"},null,8,_hoisted_33),createBaseVNode("div",{class:"absolute top-2 right-0 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:un=>er(Ur)},[createVNode(unref(Close),{class:"rounded-full"})],8,_hoisted_34)]))),128)):createCommentVNode("",!0),e.value&&(Ft.value.length>0||Be.value)&&!J.value?(openBlock(),createElementBlock("div",_hoisted_35,[createBaseVNode("div",_hoisted_36,[createBaseVNode("span",_hoisted_37,toDisplayString(Ke.value),1)]),createBaseVNode("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:At[0]||(At[0]=br=>er(0))},[createVNode(unref(Close),{size:"18",class:"rounded-full"})])])):createCommentVNode("",!0),J.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:2,class:"relative group w-full",onMouseover:At[3]||(At[3]=br=>z.value=!0),onMouseleave:At[4]||(At[4]=br=>z.value=!1)},[Te.value?(openBlock(),createElementBlock(Fragment$1,{key:0},[createBaseVNode("div",_hoisted_38,[createBaseVNode("div",_hoisted_39,[Te.value.pluginImg?(openBlock(),createElementBlock("img",{key:0,src:Te.value.pluginImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,_hoisted_40)):(openBlock(),createElementBlock("span",_hoisted_41,toDisplayString(Te.value.pluginName.charAt(0)),1))]),createBaseVNode("h3",_hoisted_42,toDisplayString(Te.value.pluginName),1),createBaseVNode("p",_hoisted_43,toDisplayString(Te.value.description),1)]),createBaseVNode("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:At[1]||(At[1]=br=>It())},[createVNode(unref(Close),{size:"18",class:"rounded-full"})])],64)):createCommentVNode("",!0),ve.value&&!Te.value?(openBlock(),createElementBlock(Fragment$1,{key:1},[createBaseVNode("div",_hoisted_44,[createBaseVNode("div",_hoisted_45,[fe.value.coverImg?(openBlock(),createElementBlock("img",{key:0,src:fe.value.coverImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,_hoisted_46)):(openBlock(),createElementBlock("span",_hoisted_47,toDisplayString(fe.value.name.charAt(0)),1))]),createBaseVNode("h3",_hoisted_48,toDisplayString(fe.value.name),1),createBaseVNode("p",_hoisted_49,toDisplayString(fe.value.des),1)]),createBaseVNode("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:At[2]||(At[2]=br=>It())},[createVNode(unref(Close),{size:"18",class:"rounded-full"})])],64)):createCommentVNode("",!0)],32))])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_50,[createBaseVNode("div",_hoisted_51,[(Le.value&&!Te.value||Fe.value||Ye.value||$e.value||tt.value)&&!ie.value&&!J.value?(openBlock(),createBlock(unref(Link),{key:0,size:"24",class:"p-1 text-gray-400 dark:text-gray-600 dark:hover:text-gray-500",onClick:$t})):createCommentVNode("",!0),ie.value?(openBlock(),createBlock(unref(LoadingFour),{key:1,size:"24",class:"p-1 rotate-icon text-gray-400 dark:text-gray-600 hover:text-gray-500"})):createCommentVNode("",!0),createBaseVNode("input",{ref_key:"fileInput",ref:ae,type:"file",class:"hidden",onChange:Bt,accept:"image/*, .pdf, .txt, .docx, .pptx, .xlsx, .xml, .js, .xslt, .json, .sql"},null,544)]),createBaseVNode("div",_hoisted_52,[withDirectives(createBaseVNode("textarea",{ref_key:"inputRef",ref:X,"onUpdate:modelValue":At[5]||(At[5]=br=>Ce.value=br),placeholder:st.value,class:"w-full border-0 text-gray-800 placeholder:text-gray-400 dark:placeholder:text-gray-500 bg-transparent text-md leading-6 resize-none dark:text-gray-400 px-2 my-1",onInput:He,onKeypress:Ar,onKeyup:Je,onPaste:Vt,style:{maxHeight:"30vh",minHeight:"1.5rem"}},null,40,_hoisted_53),[[vModelText,Ce.value]])]),createBaseVNode("div",_hoisted_54,[Ne.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(["rounded-md text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm dark:text-gray-400",{"bg-primary-600 dark:bg-primary-700":!dt.value,"bg-primary-300 dark:bg-gray-700":dt.value}]),disabled:dt.value,onClick:At[6]||(At[6]=br=>Pt())},[createVNode(unref(SendOne),{size:"16"})],10,_hoisted_55)),Ne.value?(openBlock(),createElementBlock("button",{key:1,type:"button",class:"rounded-md bg-primary-600 text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 dark:bg-primary-900 dark:text-gray-400",onClick:At[7]||(At[7]=br=>vt())},[createVNode(unref(Square$1),{size:"16"})])):createCommentVNode("",!0)])])],2)],2),_e.value&&!unref(Ge)?(openBlock(),createElementBlock("div",_hoisted_56,[createTextVNode(toDisplayString(unref(t$3)("chat.generatedContentDisclaimer"))+" "+toDisplayString((zt=pe.value)==null?void 0:zt.companyName)+" ",1),createBaseVNode("a",_hoisted_57,toDisplayString((Br=pe.value)==null?void 0:Br.filingNumber),1)])):createCommentVNode("",!0)],64)}}}),index_vue_vue_type_style_index_0_lang="",_hoisted_1$6={class:"sticky top-0 left-0 right-0 z-30 dark:border-neutral-800 h-14 select-none"},_hoisted_2$5={class:"relative flex items-center justify-center min-w-0 h-full"},_hoisted_3$5={class:"flex w-full h-full items-center px-4"},_hoisted_4$4={class:"flex items-center pr-2"},_hoisted_5$4={key:0},_hoisted_6$4={class:"flex justify-between items-center h-full w-full"},_hoisted_7$4={class:"py-1"},_hoisted_8$3={class:"py-1"},_hoisted_9$3={class:"py-1"},_hoisted_10$2=["onClick"],_hoisted_11$2={class:"w-7 h-7 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden select-none"},_hoisted_12$1=["src"],_hoisted_13$1={key:1,class:"text-sm font-medium select-none"},_hoisted_14$1={class:"flex flex-col flex-1 select-none"},_hoisted_15$1={href:"#",class:"text-sm select-none"},_hoisted_16$1={key:0,class:"text-xs text-gray-400 line-clamp-1 max-w-60 mr-2 select-none"},_hoisted_17$1={class:"ml-auto"},_hoisted_18$1={key:1,class:"w-4 h-4"},_hoisted_19=["disabled"],_hoisted_20=createBaseVNode("div",{class:"mr-2"},"新对话",-1),_sfc_main$6=defineComponent({__name:"index",emits:["export","toggleUsingContext","clear","scrollBtn"],setup(k,{emit:m}){const M=useAppStore(),G=useChatStore(),V=ref([]),q=ref(null),$=computed(()=>G.groupList),D=computed(()=>M.siderCollapsed),B=computed(()=>G.active),R=computed(()=>G.currentPlugin),{isMobile:U}=useBasicLayout(),K=ref(!1),z=computed(()=>G.getChatByGroupInfo()),e=computed(()=>G.chatList),ae=computed(()=>{var me;const se=(me=z.value)==null?void 0:me.config;if(!se)return{};try{return JSON.parse(se)}catch{return{}}}),ie=computed(()=>{var se,me;return String(((me=(se=ae==null?void 0:ae.value)==null?void 0:se.modelInfo)==null?void 0:me.model)??"")}),he=computed(()=>{var se;return((se=z==null?void 0:z.value)==null?void 0:se.appId)||0});let J=ref({}),X=ref([]);watch(he,se=>{se?W(se):q.value=null},{immediate:!0});async function W(se){const me=await fetchQueryOneCatAPI({id:se});q.value=me.data}const L=computed(()=>{var se,me,Ee,ke;return((se=z==null?void 0:z.value)==null?void 0:se.appId)&&(((me=ae.value.modelInfo)==null?void 0:me.isFixedModel)===1||((Ee=ae.value.modelInfo)==null?void 0:Ee.isGPTs)===1)||R.value&&((ke=R==null?void 0:R.value)==null?void 0:ke.deductType)!==0}),Q=inject("createNewChatGroup",()=>Promise.resolve());function ce(){M.setSiderCollapsed(!D.value)}async function de(se){var Ce;const{modelInfo:me,fileInfo:Ee}=G.activeConfig,{isGPTs:ke,isFixedModel:xe,modelName:fe}=me,ve={modelInfo:{keyType:se.keyType,modelName:((Ce=z==null?void 0:z.value)!=null&&Ce.appId?fe:se.label)||"",model:se.value,deductType:se.deductType,deduct:se.deduct,isFileUpload:se.isFileUpload,modelAvatar:se.modelAvatar||"",isGPTs:ke,isFixedModel:xe},fileInfo:Ee||{}},ye={groupId:B.value,config:JSON.stringify(ve)};await fetchUpdateGroupAPI(ye),await G.queryMyGroup()}async function oe(){try{const se=await fetchQueryModelsListAPI();if(!se.success)return;const{modelMaps:me,modelTypeList:Ee}=se.data;J.value=me,X.value=Ee;const xe=Object.values(me).flat().filter(fe=>fe.keyType===1);V.value=xe.map(fe=>({label:fe.modelName,value:fe.model,deductType:fe.deductType,keyType:fe.keyType,deduct:fe.deduct,isFileUpload:fe.isFileUpload,modelAvatar:fe.modelAvatar,modelDescription:fe.modelDescription}))}catch{}}return onMounted(()=>{oe()}),(se,me)=>(openBlock(),createElementBlock("header",_hoisted_1$6,[createBaseVNode("div",_hoisted_2$5,[createBaseVNode("div",_hoisted_3$5,[createBaseVNode("div",_hoisted_4$4,[createBaseVNode("button",{class:"flex items-center justify-center w-5 h-full dark:text-gray-400 text-gray-500",onClick:ce},[unref(U)?(openBlock(),createBlock(unref(HamburgerButton),{key:1,size:"24"})):(openBlock(),createElementBlock("div",_hoisted_5$4,[D.value?(openBlock(),createBlock(unref(Right),{key:0,theme:"outline",size:"24"})):(openBlock(),createBlock(unref(Left),{key:1,theme:"outline",size:"24"}))]))])]),createBaseVNode("div",_hoisted_6$4,[L.value?(openBlock(),createBlock(unref(ge),{key:0,as:"div",class:"relative flex-1 flex ele-drag items-center justify-between h-full"},{default:withCtx(()=>[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_7$4,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-700"},{default:withCtx(()=>{var Ee,ke;return[createTextVNode(toDisplayString(((Ee=R.value)==null?void 0:Ee.pluginName)||((ke=z.value)==null?void 0:ke.title)||"新对话"),1)]}),_:1})])])]),_:1})):(openBlock(),createBlock(unref(ge),{key:1,as:"div",class:"relative flex-1 flex ele-drag items-center h-full justify-between"},{default:withCtx(()=>[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_8$3,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-750 dark:text-gray-400 text-gray-500",onMouseover:me[0]||(me[0]=Ee=>K.value=!0),onMouseleave:me[1]||(me[1]=Ee=>K.value=!1)},{default:withCtx(()=>{var Ee,ke;return[createTextVNode(toDisplayString(((ke=(Ee=ae.value)==null?void 0:Ee.modelInfo)==null?void 0:ke.modelName)||"新对话")+" ",1),K.value||unref(U)?(openBlock(),createBlock(unref(Right),{key:0,size:"20",class:normalizeClass(["justify-center items-center",{"text-base font-bold":unref(U),"text-sm":!unref(U)}])},null,8,["class"])):createCommentVNode("",!0)]}),_:1})])]),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute top-full z-10 origin-top-left divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900 overflow-y-auto",style:{maxHeight:"60vh"}},{default:withCtx(()=>[createBaseVNode("div",_hoisted_9$3,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(V.value,(Ee,ke)=>(openBlock(),createBlock(unref(be),{key:ke},{default:withCtx(()=>[createBaseVNode("div",{class:"flex items-center space-x-4 mx-2 hover:bg-gray-100 dark:hover:bg-gray-700 p-2 rounded-md select-none",onClick:xe=>de(Ee)},[createBaseVNode("div",_hoisted_11$2,[Ee.modelAvatar?(openBlock(),createElementBlock("img",{key:0,src:Ee.modelAvatar,alt:"app cover",class:"w-full h-full object-cover"},null,8,_hoisted_12$1)):(openBlock(),createElementBlock("span",_hoisted_13$1,toDisplayString(Ee.label.charAt(0)),1))]),createBaseVNode("div",_hoisted_14$1,[createBaseVNode("a",_hoisted_15$1,toDisplayString(Ee.label),1),Ee.modelDescription?(openBlock(),createElementBlock("div",_hoisted_16$1,toDisplayString(Ee.modelDescription),1)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_17$1,[ie.value===Ee.value?(openBlock(),createBlock(unref(CheckOne),{key:0,theme:"filled",size:"16",class:"dark:text-gray-500"})):(openBlock(),createElementBlock("div",_hoisted_18$1))])],8,_hoisted_10$2)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})),createBaseVNode("button",{type:"button",class:"rounded-md py-2 px-3 text-sm focus-visible:outline-none text-gray-500 hover:text-gray-700 dark:hover:text-gray-400 hover:bg-gray-50 flex items-center dark:hover:bg-gray-750 font-semibold",onClick:me[2]||(me[2]=Ee=>unref(Q)()),disabled:e.value.length===0&&!he.value&&$.value.length!==0},[_hoisted_20,createVNode(unref(EditTwo),{size:"20"})],8,_hoisted_19)])])])]))}});function useChat(){const k=useChatStore();return{addGroupChat:V=>{k.addGroupChat(V)},updateGroupChat:(V,q)=>{k.updateGroupChat(V,q)},updateGroupChatSome:(V,q)=>{k.updateGroupChatSome(V,q)}}}function useCopyCode(){function k(){document.querySelectorAll(".code-block-wrapper").forEach(M=>{const G=M.querySelector(".code-block-header__copy"),V=M.querySelector(".code-block-body");G&&V&&G.addEventListener("click",()=>{var q;(q=navigator.clipboard)!=null&&q.writeText?navigator.clipboard.writeText(V.textContent??""):copyText({text:V.textContent??"",origin:!0})})})}onMounted(()=>k()),onUpdated(()=>k())}let isInteracting=!1,interactionTimeoutId;function useScroll(){const k=ref(null);let m=0;const M=async()=>{await nextTick(),k.value&&(k.value.scrollTop=k.value.scrollHeight)},G=async()=>{await nextTick(),k.value&&(k.value.scrollTop=0)};async function V(){if(await nextTick(),k.value){const B=k.value.scrollHeight-k.value.scrollTop-k.value.clientHeight;!isInteracting&&B<=200&&(k.value.scrollTop=k.value.scrollHeight)}}const q=()=>{interactionTimeoutId!==void 0&&clearTimeout(interactionTimeoutId),isInteracting=!0,interactionTimeoutId=window.setTimeout(()=>{isInteracting=!1},2e3)},$=()=>{if(k.value){const D=k.value.scrollTop;D{k.value&&k.value.addEventListener("scroll",$,!0)}),onUnmounted(()=>{k.value&&k.value.removeEventListener("scroll",$,!0)}),{scrollRef:k,scrollToBottom:M,scrollToTop:G,scrollToBottomIfAtBottom:V}}const _hoisted_1$5={class:"h-full flex flex-col pb-2 bg-white dark:bg-gray-800"},_hoisted_2$4={class:"flex-1 overflow-hidden"},_hoisted_3$4={class:"sticky bottom-0 left-0 flex justify-center mb-1 p-1"},_sfc_main$5=defineComponent({__name:"chatBase",setup(k){const m=useRoute(),M=useDialog(),G=useMessage(),{isMobile:V}=useBasicLayout(),{scrollRef:q,scrollToBottom:$,scrollToBottomIfAtBottom:D}=useScroll();useCopyCode();const B=useGlobalStoreWithOut(),R=useAuthStore(),U=useChatStore(),K=ref(),z=ref(!0),e=ref(!1),ae=ref(new AbortController),ie=computed(()=>U.groupList),he=computed(()=>m.query.trade_status),J=computed(()=>m.query.token),X=computed(()=>R.isLogin),W=computed(()=>U.currentPlugin),L=computed(()=>U.chatList),Q=computed(()=>U.active),ce=computed(()=>U.getChatByGroupInfo()),de=computed(()=>m.path==="/pdf"),oe=computed(()=>{var Ie;const we=(Ie=ce.value)==null?void 0:Ie.config;if(!we)return{};try{return JSON.parse(we)}catch{return{}}}),se=computed(()=>{var we,Ie;return String(((Ie=(we=oe==null?void 0:oe.value)==null?void 0:we.fileInfo)==null?void 0:Ie.fileParsing)||"")}),me=computed(()=>{var we,Ie;return String(((Ie=(we=oe==null?void 0:oe.value)==null?void 0:we.modelInfo)==null?void 0:Ie.model)||"")}),Ee=computed(()=>{var we;return String(((we=W==null?void 0:W.value)==null?void 0:we.pluginName)||(oe==null?void 0:oe.value.modelInfo.modelName)||"AI")}),ke=computed(()=>Number((oe==null?void 0:oe.value.modelInfo.keyType)||1)),xe=computed(()=>{var we,Ie;return String(((we=W==null?void 0:W.value)==null?void 0:we.pluginImg)||((Ie=oe==null?void 0:oe.value.modelInfo)==null?void 0:Ie.modelAvatar)||"")}),fe=computed(()=>{var we;return((we=ce==null?void 0:ce.value)==null?void 0:we.appId)||0}),{addGroupChat:ve,updateGroupChat:ye,updateGroupChatSome:Ce}=useChat(),pe=()=>{const we=q.value;if(!we)return;if(!(we.scrollHeight>we.clientHeight)){e.value=!0;return}const Be=K.value.getBoundingClientRect();e.value=Be.top{K.value.scrollIntoView({behavior:"smooth"})},Ge=inject("createNewChatGroup",()=>Promise.resolve()),Te=async({msg:we,action:Ie,drawId:Be,customId:Ke,model:Ve,modelName:je,modelType:Le,modelAvatar:et,appId:Qe,extraParam:Fe,fileUrl:$e,chatId:Ye})=>{var Pt,Nt,Vt,Wt;ie.value.length===0&&await Ge(),console.log(Ie),Ye&&(await U.deleteChatsAfterId(Ye),Ae.value+=1),U.setStreamIn(!0);const tt=je||Ee.value,ot=Le||ke.value||1,st=et||xe.value,dt=Qe||fe.value;let ct=we||"提问",mt=Ve||me.value;ae.value=new AbortController,(Pt=W.value)!=null&&Pt.deductType&&((Nt=W.value)==null?void 0:Nt.deductType)!==0&&(mt=(Vt=W.value)==null?void 0:Vt.parameters),ve({text:ct,model:mt,modelName:je,modelType:Le,inversion:!0,fileInfo:$e});let ut={groupId:+Q.value,fileParsing:se.value};ve({text:"",model:mt,modelName:je,modelType:Le,loading:!0,inversion:!1,error:!1,modelAvatar:st,status:2,pluginParam:(Wt=W.value)==null?void 0:Wt.parameters}),await $();const rt=null;let He=null;U.setStreamIn(!0),B.updateIsChatIn(!0);const Je=async()=>{mt==="dall-e-3"||mt==="midjourney"||mt==="suno-music"||mt==="stable-diffusion"||mt==="luma-video"||mt==="cog-video"||mt.includes("flux")||mt==="ai-ppt"?await St():await bt()},St=async()=>{var Mt;try{const $t=await fetchChatAPIProcess({prompt:ct,fileInfo:$e||"",model:mt,modelName:tt,modelAvatar:st,modelType:2,action:Ie,drawId:Be||"",customId:Ke,options:ut,usingPluginId:((Mt=W.value)==null?void 0:Mt.pluginId)||0,extraParam:Fe||{},signal:ae.value.signal});pt($t)}catch{}},bt=async()=>{var Yt;let Mt="",$t=0;try{await fetchChatAPIProcess({model:mt,modelName:tt,modelType:ot,prompt:we,usingPluginId:((Yt=W.value)==null?void 0:Yt.pluginId)||0,fileInfo:$e,appId:dt||0,modelAvatar:st,options:ut,signal:ae.value.signal,onDownloadProgress:({event:Ft})=>{const er=Ft.target.responseText,Bt=er.substring($t);$t=er.length,Bt.trim().split(` -`).forEach(Dt=>{try{const Zt=JSON.parse(Dt);Zt.userBalance&&R.updateUserBalance(Zt.userBalance),Zt.text&&(Mt+=Zt.text)}catch{}}),ye(L.value.length-1,{chatId:He==null?void 0:He.chatId,text:Mt,modelType:1,modelName:tt,error:!1,loading:!0,fileInfo:He==null?void 0:He.fileInfo}),D()}})}catch(Ft){wt(Ft)}finally{B.updateIsChatIn(!1),await U.queryMyGroup(),Ce(L.value.length-1,{loading:!1})}},pt=Mt=>{if(!Mt)return;const{modelName:$t,model:Yt,drawId:Ft,customId:Jt,text:er,status:Bt,fileInfo:It,userBalance:Dt,pluginParam:Zt}=Mt,gr=L.value.length-1;ye(gr,{text:er,model:Yt,modelType:2,modelName:$t,inversion:!1,drawId:Ft,customId:Jt,error:!1,loading:!1,fileInfo:It,status:Bt,pluginParam:Zt}),$(),Object.keys(Dt).length&&R.updateUserBalance(Dt)},wt=Mt=>{if(console.error("fetchChatAPIProcess error:",Mt),B.updateIsChatIn(!1),clearInterval(rt),U.setStreamIn(!1),(Mt.code===402||Mt!=null&&Mt.message.includes("余额不足")||Mt!=null&&Mt.message.includes("体验额度使用完毕"))&&(X.value?B.updateGoodsDialog(!0):R.setLoginDialog(!0)),Mt.message.includes("手机号绑定")&&(X.value?B.updatePhoneDialog(!0):R.setLoginDialog(!0)),Mt.message.includes("实名认证")&&(X.value?B.updateIdentityDialog(!0):R.setLoginDialog(!0)),Mt.message.includes("违规")&&B.UpdateBadWordsDialog(!0),Mt!=null&&Mt.message.includes("canceled")){Ce(L.value.length-1,{loading:!1}),D(),setTimeout(()=>{R.getUserBalance()},200);return}const $t=L.value[L.value.length-1];ye(L.value.length-1,{chatId:He==null?void 0:He.chatId,ttsUrl:He==null?void 0:He.ttsUrl,taskData:He==null?void 0:He.taskData,videoUrl:He==null?void 0:He.videoUrl,audioUrl:He==null?void 0:He.audioUrl,status:He==null?void 0:He.status,action:He==null?void 0:He.action,text:$t.text===""?"":$t.text,inversion:!1,loading:!1,fileInfo:He==null?void 0:He.fileInfo,conversationOptions:null,pluginParam:He==null?void 0:He.pluginParam}),D()};await Je(),U.setStreamIn(!1),await new Promise(Mt=>setTimeout(Mt,3e3)),await U.queryActiveChatLogList(),await new Promise(Mt=>setTimeout(Mt,200)),await $()},Ne=()=>{ae.value.abort(),U.setStreamIn(!1),setTimeout($,1e3)},Ze=async we=>{try{R.setToken(we),await router.replace({name:"Chat",query:{}}),G.success("账户登录成功、开始体验吧!"),await R.getUserInfo()}catch(Ie){console.error("登录过程中发生错误:",Ie)}},ze=async()=>{he.value.toLowerCase().includes("success")?(G.success("感谢你的购买、祝您使用愉快~",{duration:5e3}),await R.getUserInfo(),router.replace({name:"Chat",query:{}})):G.error("您还没有购买成功哦~")},Ae=ref(0),De=async({chatId:we})=>{M.warning({title:t$3("chat.deleteMessage"),content:t$3("chat.deleteMessageConfirm"),positiveText:t$3("common.yes"),negativeText:t$3("common.no"),onPositiveClick:async()=>{await U.deleteChatById(we),Ae.value+=1,G.success(t$3("chat.deleteSuccess"))}})},Ue=async(we,Ie)=>{if(console.log("index",we),U.groupList.length===0||we===0)return;let Be="";if(we&&typeof we=="number"){const{text:Ke,inversion:Ve}=L.value[we-1];if(Ke&&(Be=Ke),!Ve)return}Te({msg:Be,chatId:Ie-1}),$()};return watch(L,we=>{we.length!==0&&z.value&&(z.value=!1,$())},{immediate:!0}),watch(q,()=>{pe()},{flush:"post"}),onMounted(async()=>{J.value&&Ze(J.value),he.value&&ze(),await nextTick(async()=>{await U.queryActiveChatLogList()})}),onMounted(()=>{const we=q.value;we&&we.addEventListener("scroll",pe)}),provide("onConversation",Te),provide("handleRegenerate",Ue),(we,Ie)=>(openBlock(),createElementBlock("div",_hoisted_1$5,[de.value?createCommentVNode("",!0):(openBlock(),createBlock(_sfc_main$6,{key:0})),createBaseVNode("main",_hoisted_2$4,[createBaseVNode("div",{id:"scrollRef",ref_key:"scrollRef",ref:q,class:"relative h-full overflow-hidden overflow-y-auto scroll-smooth"},[createBaseVNode("div",{id:"image-wrapper",class:normalizeClass(["w-full m-auto h-full mx-auto",[unref(V)?"p-3":"p-3 w-full"]]),style:{maxWidth:"64rem"}},[!L.value.length&&!fe.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["flex justify-center items-center text-center",[unref(V)?"h-full":"h-4/5 "]])},[createVNode(_sfc_main$9)],2)):createCommentVNode("",!0),!L.value.length&&fe.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["flex justify-center items-center",[unref(V)?"h-full":"h-4/5 "]])},[createVNode(_sfc_main$8,{appId:fe.value},null,8,["appId"])],2)):createCommentVNode("",!0),L.value.length?(openBlock(),createElementBlock("div",{key:Ae.value},[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(L.value,(Be,Ke)=>(openBlock(),createBlock(unref(_sfc_main$a),{index:Ke,chatId:Be.chatId,text:Be.text,model:Be.model,modelType:Be.modelType,modelName:Be.modelName,modelAvatar:Be.modelAvatar,status:Be.status,fileInfo:Be.fileInfo,ttsUrl:Be.ttsUrl,taskData:Be.taskData,videoUrl:Be.videoUrl,audioUrl:Be.audioUrl,action:Be.action,inversion:Be.inversion,loading:Be.loading,drawId:Be.drawId,customId:Be.customId,pluginParam:Be.pluginParam,promptReference:Be.promptReference,isLast:Ke===L.value.length-1,onDelete:Ve=>De(Be)},null,8,["index","chatId","text","model","modelType","modelName","modelAvatar","status","fileInfo","ttsUrl","taskData","videoUrl","audioUrl","action","inversion","loading","drawId","customId","pluginParam","promptReference","isLast","onDelete"]))),256)),createBaseVNode("div",_hoisted_3$4,[e.value?createCommentVNode("",!0):(openBlock(),createBlock(unref(DownSmall),{key:0,size:"24",class:"bg-white p-1 shadow-sm rounded-full border text-gray-700 border-gray-400 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-500",onClick:_e,theme:"outline",strokeWidth:2}))])])):createCommentVNode("",!0),createBaseVNode("div",{ref_key:"bottomContainer",ref:K,class:"bottom"},null,512)],2)],512)]),createVNode(_sfc_main$7,{onPauseRequest:Ne})]))}}),chatBase_vue_vue_type_style_index_0_lang="",logo=""+new URL("logo-89dd0dfe.png",import.meta.url).href;function debounce(k,m){let M;return(...G)=>{const V=()=>{clearTimeout(M),k(...G)};clearTimeout(M),M=setTimeout(V,m)}}function render$1(k,m){return openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[createBaseVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function render(k,m){return openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[createBaseVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])}const _hoisted_1$4={class:"mt-3 mb-1 text-xs font-bold"},_hoisted_2$3={class:"ml-1"},_hoisted_3$3=["onClick"],_hoisted_4$3={class:"flex items-center"},_hoisted_5$3=["onUpdate:modelValue","onKeypress"],_hoisted_6$3={key:1,class:"flex-1 truncate max-w-48"},_hoisted_7$3={key:0,class:"absolute z-10 right-2"},_hoisted_8$2={class:"py-1"},_hoisted_9$2=["onClick"],_hoisted_10$1=["onClick"],_hoisted_11$1=["onClick"],_sfc_main$4=defineComponent({__name:"ListItem",props:{dataSources:{},title:{}},emits:["update","delete","sticky","select"],setup(k,{emit:m}){const M=k,G=m,V=M.dataSources,q=useChatStore();async function $(ae){G("select",ae)}function D(ae,ie,he){he==null||he.stopPropagation(),ae.isEdit=ie}async function B(ae,ie){ie==null||ie.stopPropagation(),await q.updateGroupInfo({isSticky:!ae.isSticky,groupId:ae.uuid})}async function R(ae,ie){ie==null||ie.stopPropagation(),G("delete",ae)}const U=debounce(R,600);async function K(ae){const{uuid:ie,title:he}=ae;ae.isEdit=!1,await q.updateGroupInfo({groupId:ie,title:he})}async function z(ae,ie){ie==null||ie.stopPropagation(),ie.key==="Enter"&&K(ae)}function e(ae){return q.active===ae}return(ae,ie)=>{var J;const he=resolveDirective("focus");return openBlock(),createElementBlock(Fragment$1,null,[createBaseVNode("p",_hoisted_1$4,[createTextVNode(toDisplayString(M.title)+" ",1),createBaseVNode("span",_hoisted_2$3,"("+toDisplayString((J=unref(V))==null?void 0:J.length)+")",1)]),(openBlock(!0),createElementBlock(Fragment$1,null,renderList(unref(V),X=>(openBlock(),createElementBlock("div",{key:`${X.uuid}`},[createBaseVNode("div",{class:normalizeClass(["relative flex items-center gap-3 px-3 py-2 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm",e(X.uuid)?["bg-white","text-primary-600","dark:bg-gray-800","dark:text-white"]:["text-gray-700","dark:bg-gray-900","dark:text-gray-400"]]),onClick:W=>$(X)},[createBaseVNode("div",_hoisted_4$3,[X.isEdit?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":W=>X.title=W,type:"text",class:"bg-transparent border border-gray-200 dark:border-gray-400 px-1 shadow-none flex-1 truncate",onKeypress:W=>z(X,W)},null,40,_hoisted_5$3)),[[vModelText,X.title],[he]]):(openBlock(),createElementBlock("span",_hoisted_6$3,toDisplayString(X.title),1)),X.isEdit?(openBlock(),createBlock(unref(render$1),{key:2,class:"h-5 w-5 ml-2","aria-hidden":"true",onClick:W=>K(X)},null,8,["onClick"])):createCommentVNode("",!0)]),e(X.uuid)?(openBlock(),createElementBlock("div",_hoisted_7$3,[X.isEdit?createCommentVNode("",!0):(openBlock(),createBlock(unref(ge),{key:0,as:"div",class:"relative inline-block text-left"},{default:withCtx(()=>[createVNode(unref(Se),{class:"p-1"},{default:withCtx(()=>[createVNode(unref(render),{class:"h-5 w-5","aria-hidden":"true"})]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 z-10 mt-2 w-32 text-gray-700 dark:text-gray-400 origin-top-right text-b rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none bg-primary-100 dark:bg-gray-800"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_8$2,[createVNode(unref(be),{as:"template"},{default:withCtx(({active:W})=>[createBaseVNode("button",{class:normalizeClass([W?"flex items-center bg-gray-100 dark:bg-gray-700 ":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:L=>D(X,!0,L)},toDisplayString(unref(t$3)("chat.rename")),11,_hoisted_9$2)]),_:2},1024),createVNode(unref(be),{as:"template"},{default:withCtx(({active:W})=>[createBaseVNode("button",{class:normalizeClass([W?"flex items-end mr-3 bg-gray-100 dark:bg-gray-700":"flex items-end ","block w-full px-4 py-2 text-left text-sm"]),onClick:L=>B(X,L)},toDisplayString(X.isSticky?unref(t$3)("chat.unfavorite"):unref(t$3)("chat.favoriteConversations")),11,_hoisted_10$1)]),_:2},1024),createVNode(unref(be),{as:"template"},{default:withCtx(({active:W})=>[createBaseVNode("button",{class:normalizeClass([W?"flex items-center bg-gray-100 dark:bg-gray-700":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:L=>unref(U)(X,L)},toDisplayString(unref(t$3)("chat.deleteConversation")),11,_hoisted_11$1)]),_:2},1024)])]),_:2},1024)]),_:2},1024)]),_:2},1024))])):createCommentVNode("",!0)],10,_hoisted_3$3)]))),128))],64)}}}),_hoisted_1$3={class:"flex flex-col gap-3 text-sm"},_hoisted_2$2={key:0,class:"flex flex-col items-center mt-4 text-center text-neutral-300"},_hoisted_3$2={class:"mt-3 mb-1 text-xs font-bold"},_hoisted_4$2=["onClick"],_hoisted_5$2={class:"w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden"},_hoisted_6$2=["src"],_hoisted_7$2={key:1,class:"text-sm font-medium"},_sfc_main$3=defineComponent({__name:"List",setup(k){const{isMobile:m}=useBasicLayout(),M=useRouter(),G=useRoute(),V=useAppStore(),q=useChatStore(),$=useAuthStore(),D=useMessage(),B=ref(100),R=useAppCatStore(),U=ref(!1),K=ref(!1),z=computed(()=>q.groupList),e=computed(()=>q.groupKeyWord);watch(z,()=>B.value=B.value+1),watch(e,()=>B.value=B.value+1);const ae=computed(()=>q.isStreamIn!==void 0?q.isStreamIn:!1);computed(()=>$.isLogin);const ie=inject("createNewChatGroup",async ke=>{}),he=computed(()=>R.mineApps);function J(ke){const fe=new Date(ke).getTime()+8*60*60*1e3;return new Date(fe).getTime()}const X=new Date().setHours(0,0,0,0),W=computed(()=>z.value.filter(ke=>e.value?ke.title.includes(e.value)&&ke.isSticky&&!ke.params:ke.isSticky&&!ke.params)),L=computed(()=>z.value.filter(ke=>e.value?ke.title.includes(e.value)&&!ke.isSticky&&J(ke.updatedAt)>=X&&!ke.params:!ke.isSticky&&J(ke.updatedAt)>=X&&!ke.params)),Q=computed(()=>z.value.filter(ke=>e.value?ke.title.includes(e.value)&&!ke.isSticky&&J(ke.updatedAt)$.isLogin,(ke,xe)=>{ke===!0&&(R.queryMineApps(),q.queryMyGroup())},{immediate:!0}),(ke,xe)=>(openBlock(),createBlock(unref(NScrollbar),{class:"px-4"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$3,[z.value.length?(openBlock(),createElementBlock(Fragment$1,{key:1},[createBaseVNode("p",_hoisted_3$2,toDisplayString(unref(t$3)("chat.myApps")),1),(openBlock(!0),createElementBlock(Fragment$1,null,renderList(K.value?he.value:he.value.slice(0,4),fe=>(openBlock(),createElementBlock("div",{key:fe.appId,onClick:ve=>de(fe.appId),class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'"},[createBaseVNode("div",_hoisted_5$2,[fe.coverImg?(openBlock(),createElementBlock("img",{key:0,src:fe.coverImg,alt:"app cover",class:"w-full h-full object-cover"},null,8,_hoisted_6$2)):(openBlock(),createElementBlock("span",_hoisted_7$2,toDisplayString(fe.appName.charAt(0)),1))]),createBaseVNode("button",null,toDisplayString(fe.appName),1)],8,_hoisted_4$2))),128)),he.value.length>4?(openBlock(),createElementBlock("button",{key:0,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:xe[0]||(xe[0]=fe=>K.value=!K.value)},[createTextVNode(toDisplayString(K.value?unref(t$3)("chat.collapse"):unref(t$3)("chat.more"))+" ",1),K.value?(openBlock(),createBlock(unref(Up),{key:1,theme:"outline",size:"20"})):(openBlock(),createBlock(unref(Down),{key:0,theme:"outline",size:"20"}))])):createCommentVNode("",!0),createBaseVNode("div",{class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'",onClick:Ee},[createVNode(unref(ApplicationTwo),{theme:"outline",size:"25",class:"ml-1 mr-1 text-sm my-1 text-gray-600"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.appSquare")),1)]),W.value.length?(openBlock(),createBlock(_sfc_main$4,{key:`stickyList-${U.value}-${W.value}`,title:unref(t$3)("chat.favorites"),"data-sources":U.value?W.value:W.value.slice(0,5),onSelect:ce,onDelete:oe},null,8,["title","data-sources"])):createCommentVNode("",!0),W.value.length>5?(openBlock(),createElementBlock("button",{key:2,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:xe[1]||(xe[1]=fe=>U.value=!U.value)},[createTextVNode(toDisplayString(U.value?unref(t$3)("chat.collapse"):unref(t$3)("chat.more"))+" ",1),U.value?(openBlock(),createBlock(unref(Up),{key:1,theme:"outline",size:"20"})):(openBlock(),createBlock(unref(Down),{key:0,theme:"outline",size:"20"}))])):createCommentVNode("",!0),L.value.length?(openBlock(),createBlock(_sfc_main$4,{key:3e3+B.value,title:unref(t$3)("chat.todayConversations"),"data-sources":L.value,onSelect:ce,onDelete:oe},null,8,["title","data-sources"])):createCommentVNode("",!0),Q.value.length?(openBlock(),createBlock(_sfc_main$4,{key:4e3+B.value,title:unref(t$3)("chat.historyConversations"),"data-sources":Q.value,onSelect:ce,onDelete:oe},null,8,["title","data-sources"])):createCommentVNode("",!0)],64)):(openBlock(),createElementBlock("div",_hoisted_2$2,[createVNode(unref(_sfc_main$k),{icon:"ri:inbox-line",class:"mb-2 text-3xl"}),createBaseVNode("span",null,toDisplayString(ke.$t("common.noData")),1)]))])]),_:1}))}}),_hoisted_1$2={class:"flex flex-col gap-3 px-4 py-1 overflow-y-auto max-h-full noScrollbar",style:{"-ms-overflow-style":"none","scrollbar-width":"none"}},_hoisted_2$1={class:"flex items-center justify-between w-full my-1"},_hoisted_3$1={class:"flex items-center space-x-2"},_hoisted_4$1={class:"w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-500 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},_hoisted_5$1=["src"],_hoisted_6$1={key:1,class:"text-sm font-medium"},_hoisted_7$1={class:"line-clamp-1 overflow-hidden text-ellipsis w-32 block whitespace-nowrap font-medium text-base text-gray-700 dark:text-gray-100"},_hoisted_8$1=createBaseVNode("span",{"aria-hidden":"true",class:"pointer-events-none absolute h-full w-full rounded-full bg-white dark:bg-transparent"},null,-1),_hoisted_9$1={class:"min-h-[2rem] text-xs line-clamp-2 text-gray-600 dark:text-gray-400 mb-2"},_sfc_main$2=defineComponent({__name:"Plugin",setup(k){const m=useChatStore(),M=ref(100),G=computed(()=>m.groupList),V=computed(()=>m.groupKeyWord),q=[],$=computed(()=>{var R;return(R=m.pluginList)!=null&&R.length?m.pluginList:q});watch(G,()=>M.value=M.value+1),watch(V,()=>M.value=M.value+1);const D=computed(()=>m.currentPlugin);G.value.filter(R=>V.value?R.title.includes(V.value)&&R.isSticky:R.isSticky);function B(R){var U;((U=D.value)==null?void 0:U.parameters)===R.parameters?m.setUsingPlugin(null):m.setUsingPlugin(R)}return onMounted(()=>{m.queryPlugins(),m.queryMyGroup()}),(R,U)=>(openBlock(),createElementBlock("div",_hoisted_1$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList($.value,K=>(openBlock(),createElementBlock("div",{key:K.parameters,class:"select-none relative h-26 bg-white shadow flex flex-col items-start gap-3 px-3 py-1 break-all rounded-lg cursor-pointer group font-medium dark:bg-gray-800"},[createBaseVNode("div",_hoisted_2$1,[createBaseVNode("div",_hoisted_3$1,[createBaseVNode("div",_hoisted_4$1,[K.pluginImg?(openBlock(),createElementBlock("img",{key:0,src:K.pluginImg,alt:"App cover",class:"w-full h-full object-cover"},null,8,_hoisted_5$1)):(openBlock(),createElementBlock("span",_hoisted_6$1,toDisplayString(K.pluginName.charAt(0)),1))]),createBaseVNode("span",_hoisted_7$1,toDisplayString(K.pluginName),1)]),createVNode(unref(ue),{class:normalizeClass(["group relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none"]),onClick:withModifiers(z=>B(K),["prevent"])},{default:withCtx(()=>{var z,e;return[_hoisted_8$1,createBaseVNode("span",{"aria-hidden":"true",class:normalizeClass([((z=D.value)==null?void 0:z.parameters)===K.parameters?"bg-indigo-600":"bg-gray-200 dark:bg-gray-700","pointer-events-none absolute mx-auto h-4 w-9 rounded-full transition-colors duration-200 ease-in-out"])},null,2),createBaseVNode("span",{"aria-hidden":"true",class:normalizeClass([((e=D.value)==null?void 0:e.parameters)===K.parameters?"translate-x-5":"translate-x-0","pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-full border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-500 shadow ring-0 transition-transform duration-200 ease-in-out"])},null,2)]}),_:2},1032,["onClick"])]),createBaseVNode("div",null,[createBaseVNode("span",_hoisted_9$1,toDisplayString(K.description),1)])]))),128))]))}}),_hoisted_1$1={class:"flex flex-col h-full flex-1"},_hoisted_2={key:0,class:"flex bg-opacity w-full justify-between items-center px-4 dark:bg-gray-900 h-14"},_hoisted_3={class:"w-full flex justify-center space-x-2 font-medium rounded-full bg-gray-100 dark:bg-gray-800 shadow-sm"},_hoisted_4={key:1,class:"flex bg-opacity w-full justify-between items-center px-4 dark:bg-gray-900 h-14"},_hoisted_5={class:"w-full py-1 text-primary-600 dark:text-gray-100 text-lg font-bold flex justify-between"},_hoisted_6=["src"],_hoisted_7={class:"mx-auto"},_hoisted_8=createBaseVNode("span",{class:"h-7 w-7"},null,-1),_hoisted_9={class:"flex-1 min-h-0 overflow-hidden"},_hoisted_10={class:"p-4 pb-1 pt-1 border-t-gray-100 dark:border-t-gray-800 flex items-center justify-between text-left w-full"},_hoisted_11={class:"w-8 h-8 mb-2 rounded-full bg-primary-600 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},_hoisted_12=["src"],_hoisted_13={class:"py-1"},_hoisted_14=createBaseVNode("button",{type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-opacity dark:hover:bg-gray-800 w-full"},[createBaseVNode("span",null,"登录 / 注册")],-1),_hoisted_15=[_hoisted_14],_hoisted_16={type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-opacity dark:hover:bg-gray-800 w-full"},_hoisted_17={key:2,class:"w-full flex justify-center items-center pb-3 text-xs text-gray-500"},_hoisted_18={class:"ml-2 transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400",href:"https://beian.miit.gov.cn",target:"_blank"},_sfc_main$1=defineComponent({__name:"index",setup(k){var Ve;const m=useGlobalStoreWithOut(),M=useRouter(),G=useAppStore(),V=useChatStore(),q=useAuthStore(),$=ref(null),D=ref(null),B=ref(null),R=computed(()=>{var je;return Number((je=q.globalConfig)==null?void 0:je.signInStatus)===1}),U=computed(()=>G.theme==="dark"),K=computed(()=>q.userBalance),z=computed(()=>V.currentPlugin),e=useDialog(),ae=ref(0),ie=ref(0),he=ref(0),J=ref(0),X=ref(0),W=ref(0),{isMobile:L}=useBasicLayout(),Q=computed(()=>q.isLogin),ce=computed(()=>q.globalConfig.clientLogoPath||logo);computed(()=>q.globalConfig.clientHomePath||"/");const de=((Ve=q.globalConfig)==null?void 0:Ve.siteName)||"AIWeb",oe=computed(()=>q.globalConfig.model3Name||t$3("chat.ordinaryPoints")),se=computed(()=>q.globalConfig.model4Name)||t$3("chat.advancedPoints"),me=computed(()=>q.globalConfig.drawMjName)||t$3("chat.drawingPoints"),Ee=computed(()=>Number(q.globalConfig.pluginFirst)===1),ke=computed(()=>Number(q.globalConfig.isHidePlugin)===1),xe=computed(()=>q.userInfo.avatar),fe=computed(()=>G.siderCollapsed),ve=ref(!Ee.value||ke.value?"chat":"plugin"),ye=computed(()=>q.globalConfig),Ce=computed(()=>{var je,Le;return((je=ye.value)==null?void 0:je.companyName)&&((Le=ye.value)==null?void 0:Le.filingNumber)}),pe=computed(()=>V.groupList.find(Le=>Le.uuid===V.active)),_e=computed(()=>{var je;try{return JSON.parse(((je=pe.value)==null?void 0:je.config)||"{}")}catch{return{}}}),Ge=computed(()=>V==null?void 0:V.activeModelDeductType),Te=computed(()=>{var Qe;const je=((Qe=z==null?void 0:z.value)==null?void 0:Qe.deductType)||_e.value.deductType||Ge.value;let Le,et;switch(je){case 1:Le=K.value.sumModel3Count||0,et=oe.value;break;case 2:Le=K.value.sumModel4Count||0,et=se.value;break;case 3:Le=K.value.sumDrawMjCount||0,et=me.value;break;default:Le=0,et=t$3("chat.points")}return Le>99999&&(Le="不限",et="次数"),{remainingPoints:Le,buttonText:et}});async function Ne(){await Ze(),M.replace({path:"user-center"})}async function Ze(){return new Promise(je=>{setTimeout(()=>{q.isLogin||M.replace({path:"login"}),je()},100)})}function ze(){const je=U.value?"light":"dark";G.setTheme(je)}async function Ae(){e.warning({title:t$3("chat.clearConversation"),content:t$3("chat.clearAllNonFavoriteConversations"),positiveText:t$3("common.confirm"),negativeText:t$3("common.cancel"),onPositiveClick:async()=>{await V.delAllGroup(),await V.addNewChatGroup()}})}function De(){G.setSiderCollapsed(!fe.value)}function Ue(){Q.value?q.logOut():q.setLoginDialog(!0)}function we(){if(!Q.value){q.setLoginDialog(!0);return}m.updateSignInDialog(!0)}function Ie(){q.logOut(),M.replace("/")}const Be=computed(()=>L.value?{position:"fixed",zIndex:50}:{}),Ke=computed(()=>L.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{});return watch(L,je=>{G.setSiderCollapsed(je)},{immediate:!0,flush:"post"}),watch(()=>q.userBalance.useModel3Token,(je,Le)=>{var et;ae.value=Le||0,ie.value=je||0,(et=$.value)==null||et.play()},{immediate:!0,flush:"post"}),watch(()=>q.userBalance.useModel4Token,(je,Le)=>{var et;he.value=Le||0,J.value=je||0,(et=D.value)==null||et.play()},{immediate:!0,flush:"post"}),watch(()=>q.userBalance.useDrawMjToken,(je,Le)=>{var et;X.value=Le||0,W.value=je||0,(et=B.value)==null||et.play()},{immediate:!0,flush:"post"}),(je,Le)=>(openBlock(),createElementBlock("div",null,[createVNode(unref(NLayoutSider),{collapsed:fe.value,"collapsed-width":0,width:260,"collapse-mode":"transform",position:"absolute",bordered:"",style:normalizeStyle(Be.value),onUpdateCollapsed:De},{default:withCtx(()=>{var et,Qe;return[createBaseVNode("div",{class:"flex flex-col h-full bg-opacity dark:bg-gray-900 select-none",style:normalizeStyle(Ke.value)},[createBaseVNode("main",_hoisted_1$1,[ke.value?(openBlock(),createElementBlock("div",_hoisted_4,[createBaseVNode("button",_hoisted_5,[createBaseVNode("img",{src:ce.value,alt:"Logo",class:"h-7 w-7"},null,8,_hoisted_6),createBaseVNode("span",_hoisted_7,toDisplayString(unref(de)),1),_hoisted_8])])):(openBlock(),createElementBlock("div",_hoisted_2,[createBaseVNode("div",_hoisted_3,[Ee.value?(openBlock(),createElementBlock("button",{key:0,onClick:Le[0]||(Le[0]=Fe=>ve.value="plugin"),class:normalizeClass([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":ve.value==="plugin","dark:text-gray-400":ve.value!=="plugin"},"block w-full rounded-full focus:outline-none py-1"])}," 插件 ",2)):createCommentVNode("",!0),createBaseVNode("button",{onClick:Le[1]||(Le[1]=Fe=>ve.value="chat"),class:normalizeClass([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":ve.value==="chat","dark:text-gray-400":ve.value!=="chat"},"block w-full rounded-full focus:outline-none py-1"])}," 对话 ",2),Ee.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:1,onClick:Le[2]||(Le[2]=Fe=>ve.value="plugin"),class:normalizeClass([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":ve.value==="plugin","dark:text-gray-400":ve.value!=="plugin"},"block w-full rounded-full focus:outline-none py-1"])}," 插件 ",2))])])),createBaseVNode("div",_hoisted_9,[ve.value==="chat"?(openBlock(),createBlock(_sfc_main$3,{key:0})):createCommentVNode("",!0),ve.value==="plugin"?(openBlock(),createBlock(_sfc_main$2,{key:1})):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_10,[Q.value?(openBlock(),createBlock(unref(ge),{key:0,as:"div",class:"relative inline-block text-left"},{default:withCtx(()=>[createBaseVNode("div",null,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md pr-3 py-2 text-sm font-semibold dark:text-gray-400 text-gray-700"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_11,[xe.value?(openBlock(),createElementBlock("img",{key:0,src:xe.value,class:"w-full h-full object-cover"},null,8,_hoisted_12)):createCommentVNode("",!0),xe.value?createCommentVNode("",!0):(openBlock(),createBlock(unref(User),{key:1,theme:"outline",size:"20",class:"text-white"}))])]),_:1})]),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute w-[228px] left-0 bottom-full mb-2 origin-bottom-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 dark:text-gray-400 text-gray-900 z-50"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_13,[createVNode(unref(be),null,{default:withCtx(({active:Fe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([[Fe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"],"border-b border-b-gray-100 dark:border-b-gray-800"]),onClick:Ae},[createVNode(unref(DeleteThemes),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.clear")),1)],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:Fe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Fe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Le[3]||(Le[3]=$e=>unref(m).updateNoticeDialog(!0))},[createVNode(unref(Announcement),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.announcement")),1)],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:Fe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Fe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Le[4]||(Le[4]=$e=>unref(m).updateGoodsDialog(!0))},[createVNode(unref(Commodity),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.pointsMall")),1)],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:Fe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Fe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ze},[createVNode(unref(SunOne),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.toggleTheme")),1)],2)]),_:1}),R.value?(openBlock(),createBlock(unref(be),{key:0},{default:withCtx(({active:Fe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Fe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:we},[createVNode(unref(Calendar),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.signInReward")),1)],2)]),_:1})):createCommentVNode("",!0),createVNode(unref(be),null,{default:withCtx(({active:Fe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Fe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Le[5]||(Le[5]=$e=>Ne())},[createVNode(unref(User),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" 个人中心 ")],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:Fe})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Fe?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Le[6]||(Le[6]=$e=>Ie())},[createVNode(unref(Logout),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" 退出登录 ")],2)]),_:1})])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),Q.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:1,onClick:Ue,class:"flex flex-1 items-center justify-center cursor-pointer"},_hoisted_15)),Q.value?(openBlock(),createElementBlock("div",{key:2,onClick:Le[7]||(Le[7]=Fe=>unref(m).updateGoodsDialog(!0)),class:"flex flex-1 items-center justify-center cursor-pointer"},[createBaseVNode("button",_hoisted_16,[createBaseVNode("span",null,toDisplayString(unref(t$3)("chat.remaining")+`${Te.value.remainingPoints}${Te.value.buttonText}`),1)])])):createCommentVNode("",!0)]),Ce.value&&unref(L)?(openBlock(),createElementBlock("div",_hoisted_17,[createTextVNode(" 版权所有 © "+toDisplayString((et=ye.value)==null?void 0:et.companyName)+" ",1),createBaseVNode("a",_hoisted_18,toDisplayString((Qe=ye.value)==null?void 0:Qe.filingNumber),1)])):createCommentVNode("",!0)])],4)]}),_:1},8,["collapsed","style"]),unref(L)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:"fixed inset-0 z-40 bg-black/40",onClick:De},null,512)),[[vShow,!fe.value]]):createCommentVNode("",!0)]))}}),_hoisted_1={class:"h-full transition-all"},_sfc_main=defineComponent({__name:"chat",setup(k){const m=useMessage(),M=useRoute(),G=useRouter(),V=useAppStore(),q=useChatStore(),$=useAuthStore(),{isMobile:D}=useBasicLayout(),B=computed(()=>$.isLogin),R=computed(()=>V.siderCollapsed),U=computed(()=>M.query.appId),K=ref(0),z=ref(0),e=computed(()=>{var ce;return Number((ce=$.globalConfig)==null?void 0:ce.showWatermark)===1}),ae=ref($.userInfo.id??""),ie=computed(()=>{var ce;return Number((ce=$.globalConfig)==null?void 0:ce.isModelInherited)===1}),he=computed(()=>q.isStreamIn!==void 0?q.isStreamIn:!1);watch(B,async(ce,de)=>{ce&&!de&&(await q.queryMyGroup(),window.location.href="/chat")});const J=computed(()=>D.value?["rounded-none","shadow-none"]:["rounded-none","shadow-md","dark:border-gray-900"]),X=computed(()=>["h-full",{"pl-[260px]":!D.value&&!R.value}]);async function W(ce){if(he.value){m.info("AI回复中,请稍后再试");return}q.setStreamIn(!1);try{if(ce&&ce>0)await q.addNewChatGroup(ce);else{const{modelInfo:de}=q.activeConfig;if(de&&ie.value&&q.activeGroupAppId===0){const oe={modelInfo:de};await q.addNewChatGroup(0,oe)}else await q.addNewChatGroup()}q.setUsingPlugin(null),D.value&&V.setSiderCollapsed(!0)}catch{}}function L(ce){K.value=ce.touches[0].clientX}function Q(ce){z.value=ce.changedTouches[0].clientX,z.value-K.value>100&&D.value&&V.setSiderCollapsed(!1)}return onMounted(()=>{window.addEventListener("touchstart",L),window.addEventListener("touchend",Q)}),onUnmounted(()=>{window.removeEventListener("touchstart",L),window.removeEventListener("touchend",Q)}),provide("createNewChatGroup",W),watch(U,async(ce,de)=>{if(ce){const oe=+ce;G.replace("/chat"),await nextTick(),W(oe)}},{immediate:!0}),(ce,de)=>(openBlock(),createElementBlock(Fragment$1,null,[e.value&&B.value?(openBlock(),createBlock(unref(NWatermark),{key:0,content:"#"+ae.value,cross:"",fullscreen:"","font-size":16,"line-height":16,width:384,height:384,"x-offset":12,"y-offset":60,rotate:-15},null,8,["content"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_1,[createBaseVNode("div",{class:normalizeClass(["h-full overflow-hidden",J.value])},[createVNode(unref(NLayout),{class:normalizeClass(["z-40 transition",X.value]),"has-sider":""},{default:withCtx(()=>[createVNode(_sfc_main$1,{class:"h-full"}),createVNode(_sfc_main$5,{class:"w-full flex-1"})]),_:1},8,["class"])],2)])],64))}});export{_sfc_main as default}; +`}),At},kr=async Xt=>await Xt.text(),cr=async Xt=>{const{modelInfo:At,fileInfo:zt}=$.activeConfig,Br={modelInfo:{...At},fileInfo:{fileParsing:Xt.fileParsing!==void 0?Xt.fileParsing:zt==null?void 0:zt.fileParsing,fileName:Xt.fileName!==void 0?Xt.fileName:zt==null?void 0:zt.fileName}},br={groupId:Pe.value,config:JSON.stringify(Br)};await fetchUpdateGroupAPI(br),await $.queryMyGroup()},Ar=Xt=>{Ge.value?Xt.key==="Enter"&&Xt.ctrlKey&&(Xt.preventDefault(),Pt()):Xt.key==="Enter"&&!Xt.shiftKey&&(Xt.preventDefault(),Pt())},yt=async Xt=>{var At;fe.value=Xt,ve.value=!0,await $.setPrompt(""),(At=W.value)==null||At.focus()},vt=()=>{D("pause-request"),$.setStreamIn(!1)};return watch([me,Ee],([Xt,At],[zt,Br])=>{Xt&&At&&(Xt!==zt||At!==Br)&&(mt({id:"custom",title:`${Xt}:${At}`,values:`${Xt}:${At}`,aspectRatio:`${Xt} / ${At}`}),ke.value=`${me.value} / ${Ee.value}`)}),watch(ot,async Xt=>{var At;await $.setPrompt(Xt),(At=W.value)==null||At.focus(),W.value.scrollTop=W.value.scrollHeight}),watch(Ze,Xt=>{Xt.length},{immediate:!0}),onMounted(()=>{bt(),$.setPrompt(""),nextTick(()=>{W.value&&!Ge.value&&W.value.focus()})}),(Xt,At)=>{var zt,Br;return openBlock(),createElementBlock(Fragment$1,null,[createBaseVNode("footer",{class:normalizeClass(["flex flex-col items-center justify-center w-full",[unref(Ge)?"px-2 mb-3":"px-10"]])},[J.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["flex pb-2 justify-center w-full flex-col m-auto rounded-lg px-0 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none",[unref(Ge)?" mx-2":" pt-1 mx-10 "]]),style:{maxWidth:"64rem"}},[createBaseVNode("div",_hoisted_1$7,[(et.value||Ue.value||Qe.value)&&!unref(Ge)?(openBlock(),createElementBlock("div",_hoisted_2$6,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(ce.value,(br,Ur)=>(openBlock(),createElementBlock("button",{key:Ur,onClick:un=>pt(br),class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 px-2 py-1 my-1 hover:bg-opacity dark:hover:bg-gray-750 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 whitespace-nowrap"},toDisplayString(br),9,_hoisted_3$6))),128)),createBaseVNode("button",{onClick:bt,class:"mx-1 shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 px-2 py-1 my-1 hover:bg-opacity dark:hover:bg-gray-750 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 whitespace-nowrap"},[createVNode(unref(ShuffleOne),{theme:"outline",size:"16",class:"my-4"})])])):createCommentVNode("",!0),_hoisted_4$5,createBaseVNode("div",_hoisted_5$5,[Ue.value?(openBlock(),createBlock(unref(ge),{key:0,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(se.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-28 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_6$5,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(U.value,(br,Ur)=>(openBlock(),createBlock(unref(be),{key:Ur},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:un=>rt(br)},[createBaseVNode("a",_hoisted_8$4,toDisplayString(br.title),1)],8,_hoisted_7$5)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),Ue.value?(openBlock(),createBlock(unref(ge),{key:1,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(" 版本:"+toDisplayString(oe.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-28 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_9$4,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(R.value,(br,Ur)=>(openBlock(),createBlock(unref(be),{key:Ur},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:un=>ut(br)},[createBaseVNode("a",_hoisted_11$3,toDisplayString(br.title),1)],8,_hoisted_10$3)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_12$2,[et.value||Qe.value?(openBlock(),createBlock(unref(ge),{key:0,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(t$3)("chat.size")+de.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_13$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(K.value,(br,Ur)=>(openBlock(),createBlock(unref(be),{key:Ur},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:un=>mt(br)},[createBaseVNode("a",_hoisted_15$2,[createBaseVNode("div",_hoisted_16$2,[createBaseVNode("div",{style:normalizeStyle(ct(br.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),createBaseVNode("div",_hoisted_17$2,toDisplayString(br.title),1)])],8,_hoisted_14$2)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),Ye.value||tt.value?(openBlock(),createBlock(unref(ge),{key:1,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap",onClick:$t},{default:withCtx(()=>[createTextVNode(" 图生视频 ")]),_:1})]),_:1})):createCommentVNode("",!0),Ue.value||Ye.value?(openBlock(),createBlock(unref(ge),{key:2,as:"div",class:"relative hover:bg-opacity dark:hover:bg-gray-750 inline-block text-left group shadow-sm rounded-md ring-1 ring-gray-300 dark:ring-gray-600 dark:bg-gray-800 mr-3 my-1 py-1 px-2"},{default:withCtx(()=>[createVNode(unref(Se),{class:"inline-flex w-full justify-center rounded-md text-sm text-gray-500 group-hover:text-gray-700 dark:text-gray-500 dark:group-hover:text-gray-300 whitespace-nowrap"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(t$3)("chat.size")+de.value.title),1)]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 bottom-full mb-2 w-40 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_18$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(B.value,(br,Ur)=>(openBlock(),createBlock(unref(be),{key:Ur},{default:withCtx(()=>[createBaseVNode("div",{class:"group flex items-center",onClick:un=>mt(br)},[createBaseVNode("a",_hoisted_20$1,[createBaseVNode("div",_hoisted_21,[createBaseVNode("div",{style:normalizeStyle(ct(br.aspectRatio)),class:"flex border border-gray-500 dark:border-gray-300 rounded-sm"},null,4)]),createBaseVNode("div",_hoisted_22,toDisplayString(br.title),1)])],8,_hoisted_19$1)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)])])],2)),xe.value&&!ve.value&&!Ae.value&&!J.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["flex mb-2 w-full px-2 py-1 justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 resize-none dark:ring-gray-750 dark:bg-gray-800",[unref(Ge)?"mx-2":"mx-10"]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[he.value.length===0?(openBlock(),createElementBlock("div",_hoisted_23,_hoisted_25)):createCommentVNode("",!0),(openBlock(!0),createElementBlock(Fragment$1,null,renderList(he.value,br=>(openBlock(),createElementBlock("div",{key:br.id,onClick:Ur=>yt(br),class:"flex items-center bg-white dark:bg-gray-800 hover:bg-gray-100 py-2 px-2 dark:hover:bg-gray-700 rounded-lg w-full cursor-pointer transition duration-150 ease-in-out"},[createBaseVNode("div",_hoisted_27,[br.coverImg?(openBlock(),createElementBlock("img",{key:0,src:br.coverImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,_hoisted_28)):(openBlock(),createElementBlock("span",_hoisted_29,toDisplayString(br.name.charAt(0)),1))]),createBaseVNode("h3",_hoisted_30,toDisplayString(br.name),1),createBaseVNode("p",_hoisted_31,toDisplayString(br.des),1)],8,_hoisted_26))),128))],2)):createCommentVNode("",!0),createBaseVNode("div",{class:normalizeClass(["flex mb-2 mt-1 w-full justify-center items-center flex-col m-auto rounded-lg shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-500 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent sm:text-sm sm:leading-6 resize-none dark:focus:ring-gray-750 dark:ring-gray-750 dark:bg-gray-750",[unref(Ge)?" mx-2":" mx-10 "]]),style:{maxWidth:"64rem",minHeight:"1.5rem"}},[Ft.value.length>0||Be.value||ve.value||Ae.value?(openBlock(),createElementBlock("div",_hoisted_32,[Ft.value.length>0&&!e.value?(openBlock(!0),createElementBlock(Fragment$1,{key:0},renderList(Ft.value,(br,Ur)=>(openBlock(),createElementBlock("div",{class:"relative inline-block ml-2 mt-2 group",key:Ur},[createBaseVNode("img",{src:br,class:"max-h-16 border border-gray-300 rounded-lg",alt:"预览图片"},null,8,_hoisted_33),createBaseVNode("div",{class:"absolute top-2 right-0 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:un=>er(Ur)},[createVNode(unref(Close),{class:"rounded-full"})],8,_hoisted_34)]))),128)):createCommentVNode("",!0),e.value&&(Ft.value.length>0||Be.value)&&!J.value?(openBlock(),createElementBlock("div",_hoisted_35,[createBaseVNode("div",_hoisted_36,[createBaseVNode("span",_hoisted_37,toDisplayString(Ke.value),1)]),createBaseVNode("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:At[0]||(At[0]=br=>er(0))},[createVNode(unref(Close),{size:"18",class:"rounded-full"})])])):createCommentVNode("",!0),J.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:2,class:"relative group w-full",onMouseover:At[3]||(At[3]=br=>z.value=!0),onMouseleave:At[4]||(At[4]=br=>z.value=!1)},[Ae.value?(openBlock(),createElementBlock(Fragment$1,{key:0},[createBaseVNode("div",_hoisted_38,[createBaseVNode("div",_hoisted_39,[Ae.value.pluginImg?(openBlock(),createElementBlock("img",{key:0,src:Ae.value.pluginImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,_hoisted_40)):(openBlock(),createElementBlock("span",_hoisted_41,toDisplayString(Ae.value.pluginName.charAt(0)),1))]),createBaseVNode("h3",_hoisted_42,toDisplayString(Ae.value.pluginName),1),createBaseVNode("p",_hoisted_43,toDisplayString(Ae.value.description),1)]),createBaseVNode("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:At[1]||(At[1]=br=>It())},[createVNode(unref(Close),{size:"18",class:"rounded-full"})])],64)):createCommentVNode("",!0),ve.value&&!Ae.value?(openBlock(),createElementBlock(Fragment$1,{key:1},[createBaseVNode("div",_hoisted_44,[createBaseVNode("div",_hoisted_45,[fe.value.coverImg?(openBlock(),createElementBlock("img",{key:0,src:fe.value.coverImg,alt:"Cover Image",class:"w-8 h-8 rounded-full flex justify-start"},null,8,_hoisted_46)):(openBlock(),createElementBlock("span",_hoisted_47,toDisplayString(fe.value.name.charAt(0)),1))]),createBaseVNode("h3",_hoisted_48,toDisplayString(fe.value.name),1),createBaseVNode("p",_hoisted_49,toDisplayString(fe.value.des),1)]),createBaseVNode("div",{class:"absolute top-1/2 right-2 transform -translate-y-1/2 cursor-pointer text-gray-300 group-hover:text-gray-500",onClick:At[2]||(At[2]=br=>It())},[createVNode(unref(Close),{size:"18",class:"rounded-full"})])],64)):createCommentVNode("",!0)],32))])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_50,[createBaseVNode("div",_hoisted_51,[(Le.value&&!Ae.value||Ue.value||Ye.value||$e.value||tt.value)&&!ie.value&&!J.value?(openBlock(),createBlock(unref(Link),{key:0,size:"24",class:"p-1 text-gray-400 dark:text-gray-600 dark:hover:text-gray-500",onClick:$t})):createCommentVNode("",!0),ie.value?(openBlock(),createBlock(unref(LoadingFour),{key:1,size:"24",class:"p-1 rotate-icon text-gray-400 dark:text-gray-600 hover:text-gray-500"})):createCommentVNode("",!0),createBaseVNode("input",{ref_key:"fileInput",ref:ae,type:"file",class:"hidden",onChange:Bt,accept:"image/*, .pdf, .txt, .docx, .pptx, .xlsx, .xml, .js, .xslt, .json, .sql"},null,544)]),createBaseVNode("div",_hoisted_52,[withDirectives(createBaseVNode("textarea",{ref_key:"inputRef",ref:W,"onUpdate:modelValue":At[5]||(At[5]=br=>Ce.value=br),placeholder:st.value,class:"w-full border-0 text-gray-800 placeholder:text-gray-400 dark:placeholder:text-gray-500 bg-transparent text-md leading-6 resize-none dark:text-gray-400 px-2 my-1",onInput:He,onKeypress:Ar,onKeyup:Je,onPaste:Vt,style:{maxHeight:"30vh",minHeight:"1.5rem"}},null,40,_hoisted_53),[[vModelText,Ce.value]])]),createBaseVNode("div",_hoisted_54,[Ne.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(["rounded-md text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm dark:text-gray-400",{"bg-primary-600 dark:bg-primary-700":!dt.value,"bg-primary-300 dark:bg-gray-700":dt.value}]),disabled:dt.value,onClick:At[6]||(At[6]=br=>Pt())},[createVNode(unref(SendOne),{size:"16"})],10,_hoisted_55)),Ne.value?(openBlock(),createElementBlock("button",{key:1,type:"button",class:"rounded-md bg-primary-600 text-sm font-semibold text-white dark:hover:text-gray-200 p-2 shadow-sm focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-primary-600 dark:bg-primary-900 dark:text-gray-400",onClick:At[7]||(At[7]=br=>vt())},[createVNode(unref(Square$1),{size:"16"})])):createCommentVNode("",!0)])])],2)],2),_e.value&&!unref(Ge)?(openBlock(),createElementBlock("div",_hoisted_56,[createTextVNode(toDisplayString(unref(t$3)("chat.generatedContentDisclaimer"))+" "+toDisplayString((zt=pe.value)==null?void 0:zt.companyName)+" ",1),createBaseVNode("a",_hoisted_57,toDisplayString((Br=pe.value)==null?void 0:Br.filingNumber),1)])):createCommentVNode("",!0)],64)}}}),index_vue_vue_type_style_index_0_lang="",_hoisted_1$6={class:"sticky top-0 left-0 right-0 z-30 dark:border-neutral-800 h-14 select-none"},_hoisted_2$5={class:"relative flex items-center justify-center min-w-0 h-full"},_hoisted_3$5={class:"flex w-full h-full items-center px-4"},_hoisted_4$4={class:"flex items-center pr-2"},_hoisted_5$4={key:0},_hoisted_6$4={class:"flex justify-between items-center h-full w-full"},_hoisted_7$4={class:"py-1"},_hoisted_8$3={class:"py-1"},_hoisted_9$3={class:"py-1"},_hoisted_10$2=["onClick"],_hoisted_11$2={class:"w-7 h-7 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden select-none"},_hoisted_12$1=["src"],_hoisted_13$1={key:1,class:"text-sm font-medium select-none"},_hoisted_14$1={class:"flex flex-col flex-1 select-none"},_hoisted_15$1={href:"#",class:"text-sm select-none"},_hoisted_16$1={key:0,class:"text-xs text-gray-400 line-clamp-1 max-w-60 mr-2 select-none"},_hoisted_17$1={class:"ml-auto"},_hoisted_18$1={key:1,class:"w-4 h-4"},_hoisted_19=["disabled"],_hoisted_20=createBaseVNode("div",{class:"mr-2"},"新对话",-1),_sfc_main$6=defineComponent({__name:"index",emits:["export","toggleUsingContext","clear","scrollBtn"],setup(k,{emit:m}){const M=useAppStore(),G=useChatStore(),V=ref([]),q=ref(null),$=computed(()=>G.groupList),D=computed(()=>M.siderCollapsed),B=computed(()=>G.active),R=computed(()=>G.currentPlugin),{isMobile:U}=useBasicLayout(),K=ref(!1),z=computed(()=>G.getChatByGroupInfo()),e=computed(()=>G.chatList),ae=computed(()=>{var me;const oe=(me=z.value)==null?void 0:me.config;if(!oe)return{};try{return JSON.parse(oe)}catch{return{}}}),ie=computed(()=>{var oe,me;return String(((me=(oe=ae==null?void 0:ae.value)==null?void 0:oe.modelInfo)==null?void 0:me.model)??"")}),he=computed(()=>{var oe;return((oe=z==null?void 0:z.value)==null?void 0:oe.appId)||0});let J=ref({}),W=ref([]);watch(he,oe=>{oe?X(oe):q.value=null},{immediate:!0});async function X(oe){const me=await fetchQueryOneCatAPI({id:oe});q.value=me.data}const L=computed(()=>{var oe,me,Ee,ke;return((oe=z==null?void 0:z.value)==null?void 0:oe.appId)&&(((me=ae.value.modelInfo)==null?void 0:me.isFixedModel)===1||((Ee=ae.value.modelInfo)==null?void 0:Ee.isGPTs)===1)||R.value&&((ke=R==null?void 0:R.value)==null?void 0:ke.deductType)!==0}),Q=inject("createNewChatGroup",()=>Promise.resolve());function ce(){M.setSiderCollapsed(!D.value)}async function de(oe){var Ce;const{modelInfo:me,fileInfo:Ee}=G.activeConfig,{isGPTs:ke,isFixedModel:xe,modelName:fe}=me,ve={modelInfo:{keyType:oe.keyType,modelName:((Ce=z==null?void 0:z.value)!=null&&Ce.appId?fe:oe.label)||"",model:oe.value,deductType:oe.deductType,deduct:oe.deduct,isFileUpload:oe.isFileUpload,modelAvatar:oe.modelAvatar||"",isGPTs:ke,isFixedModel:xe},fileInfo:Ee||{}},ye={groupId:B.value,config:JSON.stringify(ve)};await fetchUpdateGroupAPI(ye),await G.queryMyGroup()}async function se(){try{const oe=await fetchQueryModelsListAPI();if(!oe.success)return;const{modelMaps:me,modelTypeList:Ee}=oe.data;J.value=me,W.value=Ee;const xe=Object.values(me).flat().filter(fe=>fe.keyType===1);V.value=xe.map(fe=>({label:fe.modelName,value:fe.model,deductType:fe.deductType,keyType:fe.keyType,deduct:fe.deduct,isFileUpload:fe.isFileUpload,modelAvatar:fe.modelAvatar,modelDescription:fe.modelDescription}))}catch{}}return onMounted(()=>{se()}),(oe,me)=>(openBlock(),createElementBlock("header",_hoisted_1$6,[createBaseVNode("div",_hoisted_2$5,[createBaseVNode("div",_hoisted_3$5,[createBaseVNode("div",_hoisted_4$4,[createBaseVNode("button",{class:"flex items-center justify-center w-5 h-full dark:text-gray-400 text-gray-500",onClick:ce},[unref(U)?(openBlock(),createBlock(unref(HamburgerButton),{key:1,size:"24"})):(openBlock(),createElementBlock("div",_hoisted_5$4,[D.value?(openBlock(),createBlock(unref(Right),{key:0,theme:"outline",size:"24"})):(openBlock(),createBlock(unref(Left),{key:1,theme:"outline",size:"24"}))]))])]),createBaseVNode("div",_hoisted_6$4,[L.value?(openBlock(),createBlock(unref(ge),{key:0,as:"div",class:"relative flex-1 flex ele-drag items-center justify-between h-full"},{default:withCtx(()=>[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_7$4,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-800 dark:text-gray-400 text-gray-700"},{default:withCtx(()=>{var Ee,ke;return[createTextVNode(toDisplayString(((Ee=R.value)==null?void 0:Ee.pluginName)||((ke=z.value)==null?void 0:ke.title)||"新对话"),1)]}),_:1})])])]),_:1})):(openBlock(),createBlock(unref(ge),{key:1,as:"div",class:"relative flex-1 flex ele-drag items-center h-full justify-between"},{default:withCtx(()=>[createBaseVNode("div",null,[createBaseVNode("div",_hoisted_8$3,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md px-3 py-2 text-sm font-semibold hover:bg-gray-50 dark:hover:bg-gray-750 dark:text-gray-400 text-gray-500",onMouseover:me[0]||(me[0]=Ee=>K.value=!0),onMouseleave:me[1]||(me[1]=Ee=>K.value=!1)},{default:withCtx(()=>{var Ee,ke;return[createTextVNode(toDisplayString(((ke=(Ee=ae.value)==null?void 0:Ee.modelInfo)==null?void 0:ke.modelName)||"新对话")+" ",1),K.value||unref(U)?(openBlock(),createBlock(unref(Right),{key:0,size:"20",class:normalizeClass(["justify-center items-center",{"text-base font-bold":unref(U),"text-sm":!unref(U)}])},null,8,["class"])):createCommentVNode("",!0)]}),_:1})])]),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute top-full z-10 origin-top-left divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 dark:bg-gray-750 dark:text-gray-400 text-gray-900 overflow-y-auto",style:{maxHeight:"60vh"}},{default:withCtx(()=>[createBaseVNode("div",_hoisted_9$3,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(V.value,(Ee,ke)=>(openBlock(),createBlock(unref(be),{key:ke},{default:withCtx(()=>[createBaseVNode("div",{class:"flex items-center space-x-4 mx-2 hover:bg-gray-100 dark:hover:bg-gray-700 p-2 rounded-md select-none",onClick:xe=>de(Ee)},[createBaseVNode("div",_hoisted_11$2,[Ee.modelAvatar?(openBlock(),createElementBlock("img",{key:0,src:Ee.modelAvatar,alt:"app cover",class:"w-full h-full object-cover"},null,8,_hoisted_12$1)):(openBlock(),createElementBlock("span",_hoisted_13$1,toDisplayString(Ee.label.charAt(0)),1))]),createBaseVNode("div",_hoisted_14$1,[createBaseVNode("a",_hoisted_15$1,toDisplayString(Ee.label),1),Ee.modelDescription?(openBlock(),createElementBlock("div",_hoisted_16$1,toDisplayString(Ee.modelDescription),1)):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_17$1,[ie.value===Ee.value?(openBlock(),createBlock(unref(CheckOne),{key:0,theme:"filled",size:"16",class:"dark:text-gray-500"})):(openBlock(),createElementBlock("div",_hoisted_18$1))])],8,_hoisted_10$2)]),_:2},1024))),128))])]),_:1})]),_:1})]),_:1})),createBaseVNode("button",{type:"button",class:"rounded-md py-2 px-3 text-sm focus-visible:outline-none text-gray-500 hover:text-gray-700 dark:hover:text-gray-400 hover:bg-gray-50 flex items-center dark:hover:bg-gray-750 font-semibold",onClick:me[2]||(me[2]=Ee=>unref(Q)()),disabled:e.value.length===0&&!he.value&&$.value.length!==0},[_hoisted_20,createVNode(unref(EditTwo),{size:"20"})],8,_hoisted_19)])])])]))}});function useChat(){const k=useChatStore();return{addGroupChat:V=>{k.addGroupChat(V)},updateGroupChat:(V,q)=>{k.updateGroupChat(V,q)},updateGroupChatSome:(V,q)=>{k.updateGroupChatSome(V,q)}}}function useCopyCode(){function k(){document.querySelectorAll(".code-block-wrapper").forEach(M=>{const G=M.querySelector(".code-block-header__copy"),V=M.querySelector(".code-block-body");G&&V&&G.addEventListener("click",()=>{var q;(q=navigator.clipboard)!=null&&q.writeText?navigator.clipboard.writeText(V.textContent??""):copyText({text:V.textContent??"",origin:!0})})})}onMounted(()=>k()),onUpdated(()=>k())}let isInteracting=!1,interactionTimeoutId;function useScroll(){const k=ref(null);let m=0;const M=async()=>{await nextTick(),k.value&&(k.value.scrollTop=k.value.scrollHeight)},G=async()=>{await nextTick(),k.value&&(k.value.scrollTop=0)};async function V(){if(await nextTick(),k.value){const B=k.value.scrollHeight-k.value.scrollTop-k.value.clientHeight;!isInteracting&&B<=200&&(k.value.scrollTop=k.value.scrollHeight)}}const q=()=>{interactionTimeoutId!==void 0&&clearTimeout(interactionTimeoutId),isInteracting=!0,interactionTimeoutId=window.setTimeout(()=>{isInteracting=!1},2e3)},$=()=>{if(k.value){const D=k.value.scrollTop;D{k.value&&k.value.addEventListener("scroll",$,!0)}),onUnmounted(()=>{k.value&&k.value.removeEventListener("scroll",$,!0)}),{scrollRef:k,scrollToBottom:M,scrollToTop:G,scrollToBottomIfAtBottom:V}}const _hoisted_1$5={class:"h-full flex flex-col pb-2 bg-white dark:bg-gray-800"},_hoisted_2$4={class:"flex-1 overflow-hidden"},_hoisted_3$4={class:"sticky bottom-0 left-0 flex justify-center mb-1 p-1"},_sfc_main$5=defineComponent({__name:"chatBase",setup(k){const m=useRoute(),M=useDialog(),G=useMessage(),{isMobile:V}=useBasicLayout(),{scrollRef:q,scrollToBottom:$,scrollToBottomIfAtBottom:D}=useScroll();useCopyCode();const B=useGlobalStoreWithOut(),R=useAuthStore(),U=useChatStore(),K=ref(),z=ref(!0),e=ref(!1),ae=ref(new AbortController),ie=computed(()=>U.groupList),he=computed(()=>m.query.trade_status),J=computed(()=>m.query.token),W=computed(()=>R.isLogin),X=computed(()=>U.currentPlugin),L=computed(()=>U.chatList),Q=computed(()=>U.active),ce=computed(()=>U.getChatByGroupInfo()),de=computed(()=>m.path==="/pdf"),se=computed(()=>{var Ie;const we=(Ie=ce.value)==null?void 0:Ie.config;if(!we)return{};try{return JSON.parse(we)}catch{return{}}}),oe=computed(()=>{var we,Ie;return String(((Ie=(we=se==null?void 0:se.value)==null?void 0:we.fileInfo)==null?void 0:Ie.fileParsing)||"")}),me=computed(()=>{var we,Ie;return String(((Ie=(we=se==null?void 0:se.value)==null?void 0:we.modelInfo)==null?void 0:Ie.model)||"")}),Ee=computed(()=>{var we;return String(((we=X==null?void 0:X.value)==null?void 0:we.pluginName)||(se==null?void 0:se.value.modelInfo.modelName)||"AI")}),ke=computed(()=>Number((se==null?void 0:se.value.modelInfo.keyType)||1)),xe=computed(()=>{var we,Ie;return String(((we=X==null?void 0:X.value)==null?void 0:we.pluginImg)||((Ie=se==null?void 0:se.value.modelInfo)==null?void 0:Ie.modelAvatar)||"")}),fe=computed(()=>{var we;return((we=ce==null?void 0:ce.value)==null?void 0:we.appId)||0}),{addGroupChat:ve,updateGroupChat:ye,updateGroupChatSome:Ce}=useChat(),pe=()=>{const we=q.value;if(!we)return;if(!(we.scrollHeight>we.clientHeight)){e.value=!0;return}const Be=K.value.getBoundingClientRect();e.value=Be.top{K.value.scrollIntoView({behavior:"smooth"})},Ge=inject("createNewChatGroup",()=>Promise.resolve()),Ae=async({msg:we,action:Ie,drawId:Be,customId:Ke,model:Ve,modelName:je,modelType:Le,modelAvatar:et,appId:Qe,extraParam:Ue,fileUrl:$e,chatId:Ye})=>{var Pt,Nt,Vt,Wt;ie.value.length===0&&await Ge(),console.log(Ie),Ye&&(await U.deleteChatsAfterId(Ye),Te.value+=1),U.setStreamIn(!0);const tt=je||Ee.value,ot=Le||ke.value||1,st=et||xe.value,dt=Qe||fe.value;let ct=we||"提问",mt=Ve||me.value;ae.value=new AbortController,(Pt=X.value)!=null&&Pt.deductType&&((Nt=X.value)==null?void 0:Nt.deductType)!==0&&(mt=(Vt=X.value)==null?void 0:Vt.parameters),ve({text:ct,model:mt,modelName:je,modelType:Le,inversion:!0,fileInfo:$e});let ut={groupId:+Q.value,fileParsing:oe.value};ve({text:"",model:mt,modelName:je,modelType:Le,loading:!0,inversion:!1,error:!1,modelAvatar:st,status:2,pluginParam:(Wt=X.value)==null?void 0:Wt.parameters}),await $();const rt=null;let He=null;U.setStreamIn(!0),B.updateIsChatIn(!0);const Je=async()=>{mt==="dall-e-3"||mt==="midjourney"||mt==="suno-music"||mt==="stable-diffusion"||mt==="luma-video"||mt==="cog-video"||mt.includes("flux")||mt==="ai-ppt"?await St():await bt()},St=async()=>{var Mt;try{const $t=await fetchChatAPIProcess({prompt:ct,fileInfo:$e||"",model:mt,modelName:tt,modelAvatar:st,modelType:2,action:Ie,drawId:Be||"",customId:Ke,options:ut,usingPluginId:((Mt=X.value)==null?void 0:Mt.pluginId)||0,extraParam:Ue||{},signal:ae.value.signal});pt($t)}catch{}},bt=async()=>{var Yt;let Mt="",$t=0;try{await fetchChatAPIProcess({model:mt,modelName:tt,modelType:ot,prompt:we,usingPluginId:((Yt=X.value)==null?void 0:Yt.pluginId)||0,fileInfo:$e,appId:dt||0,modelAvatar:st,options:ut,signal:ae.value.signal,onDownloadProgress:({event:Ft})=>{const er=Ft.target.responseText,Bt=er.substring($t);$t=er.length,Bt.trim().split(` +`).forEach(Dt=>{try{const Zt=JSON.parse(Dt);Zt.userBalance&&R.updateUserBalance(Zt.userBalance),Zt.text&&(Mt+=Zt.text)}catch{}}),ye(L.value.length-1,{chatId:He==null?void 0:He.chatId,text:Mt,modelType:1,modelName:tt,error:!1,loading:!0,fileInfo:He==null?void 0:He.fileInfo}),D()}})}catch(Ft){wt(Ft)}finally{B.updateIsChatIn(!1),await U.queryMyGroup(),Ce(L.value.length-1,{loading:!1})}},pt=Mt=>{if(!Mt)return;const{modelName:$t,model:Yt,drawId:Ft,customId:Jt,text:er,status:Bt,fileInfo:It,userBalance:Dt,pluginParam:Zt}=Mt,gr=L.value.length-1;ye(gr,{text:er,model:Yt,modelType:2,modelName:$t,inversion:!1,drawId:Ft,customId:Jt,error:!1,loading:!1,fileInfo:It,status:Bt,pluginParam:Zt}),$(),Object.keys(Dt).length&&R.updateUserBalance(Dt)},wt=Mt=>{if(console.error("fetchChatAPIProcess error:",Mt),B.updateIsChatIn(!1),clearInterval(rt),U.setStreamIn(!1),(Mt.code===402||Mt!=null&&Mt.message.includes("余额不足")||Mt!=null&&Mt.message.includes("体验额度使用完毕"))&&(W.value?B.updateGoodsDialog(!0):R.setLoginDialog(!0)),Mt.message.includes("手机号绑定")&&(W.value?B.updatePhoneDialog(!0):R.setLoginDialog(!0)),Mt.message.includes("实名认证")&&(W.value?B.updateIdentityDialog(!0):R.setLoginDialog(!0)),Mt.message.includes("违规")&&B.UpdateBadWordsDialog(!0),Mt!=null&&Mt.message.includes("canceled")){Ce(L.value.length-1,{loading:!1}),D(),setTimeout(()=>{R.getUserBalance()},200);return}const $t=L.value[L.value.length-1];ye(L.value.length-1,{chatId:He==null?void 0:He.chatId,ttsUrl:He==null?void 0:He.ttsUrl,taskData:He==null?void 0:He.taskData,videoUrl:He==null?void 0:He.videoUrl,audioUrl:He==null?void 0:He.audioUrl,status:He==null?void 0:He.status,action:He==null?void 0:He.action,text:$t.text===""?"":$t.text,inversion:!1,loading:!1,fileInfo:He==null?void 0:He.fileInfo,conversationOptions:null,pluginParam:He==null?void 0:He.pluginParam}),D()};await Je(),U.setStreamIn(!1),await new Promise(Mt=>setTimeout(Mt,3e3)),await U.queryActiveChatLogList(),await new Promise(Mt=>setTimeout(Mt,200)),await $()},Ne=()=>{ae.value.abort(),U.setStreamIn(!1),setTimeout($,1e3)},Ze=async we=>{try{R.setToken(we),await router.replace({name:"Chat",query:{}}),G.success("账户登录成功、开始体验吧!"),await R.getUserInfo()}catch(Ie){console.error("登录过程中发生错误:",Ie)}},ze=async()=>{he.value.toLowerCase().includes("success")?(G.success("感谢你的购买、祝您使用愉快~",{duration:5e3}),await R.getUserInfo(),router.replace({name:"Chat",query:{}})):G.error("您还没有购买成功哦~")},Te=ref(0),Fe=async({chatId:we})=>{M.warning({title:t$3("chat.deleteMessage"),content:t$3("chat.deleteMessageConfirm"),positiveText:t$3("common.yes"),negativeText:t$3("common.no"),onPositiveClick:async()=>{await U.deleteChatById(we),Te.value+=1,G.success(t$3("chat.deleteSuccess"))}})},Pe=async(we,Ie)=>{if(console.log("index",we),U.groupList.length===0||we===0)return;let Be="";if(we&&typeof we=="number"){const{text:Ke,inversion:Ve}=L.value[we-1];if(Ke&&(Be=Ke),!Ve)return}Ae({msg:Be,chatId:Ie-1}),$()};return watch(L,we=>{we.length!==0&&z.value&&(z.value=!1,$())},{immediate:!0}),watch(q,()=>{pe()},{flush:"post"}),onMounted(async()=>{J.value&&Ze(J.value),he.value&&ze(),await nextTick(async()=>{await U.queryActiveChatLogList()})}),onMounted(()=>{const we=q.value;we&&we.addEventListener("scroll",pe)}),provide("onConversation",Ae),provide("handleRegenerate",Pe),(we,Ie)=>(openBlock(),createElementBlock("div",_hoisted_1$5,[de.value?createCommentVNode("",!0):(openBlock(),createBlock(_sfc_main$6,{key:0})),createBaseVNode("main",_hoisted_2$4,[createBaseVNode("div",{id:"scrollRef",ref_key:"scrollRef",ref:q,class:"relative h-full overflow-hidden overflow-y-auto scroll-smooth"},[createBaseVNode("div",{id:"image-wrapper",class:normalizeClass(["w-full m-auto h-full mx-auto",[unref(V)?"p-3":"p-3 w-full"]]),style:{maxWidth:"64rem"}},[!L.value.length&&!fe.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(["flex justify-center items-center text-center",[unref(V)?"h-full":"h-4/5 "]])},[createVNode(_sfc_main$9)],2)):createCommentVNode("",!0),!L.value.length&&fe.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(["flex justify-center items-center",[unref(V)?"h-full":"h-4/5 "]])},[createVNode(_sfc_main$8,{appId:fe.value},null,8,["appId"])],2)):createCommentVNode("",!0),L.value.length?(openBlock(),createElementBlock("div",{key:Te.value},[(openBlock(!0),createElementBlock(Fragment$1,null,renderList(L.value,(Be,Ke)=>(openBlock(),createBlock(unref(_sfc_main$a),{index:Ke,chatId:Be.chatId,text:Be.text,model:Be.model,modelType:Be.modelType,modelName:Be.modelName,modelAvatar:Be.modelAvatar,status:Be.status,fileInfo:Be.fileInfo,ttsUrl:Be.ttsUrl,taskData:Be.taskData,videoUrl:Be.videoUrl,audioUrl:Be.audioUrl,action:Be.action,inversion:Be.inversion,loading:Be.loading,drawId:Be.drawId,customId:Be.customId,pluginParam:Be.pluginParam,promptReference:Be.promptReference,isLast:Ke===L.value.length-1,onDelete:Ve=>Fe(Be)},null,8,["index","chatId","text","model","modelType","modelName","modelAvatar","status","fileInfo","ttsUrl","taskData","videoUrl","audioUrl","action","inversion","loading","drawId","customId","pluginParam","promptReference","isLast","onDelete"]))),256)),createBaseVNode("div",_hoisted_3$4,[e.value?createCommentVNode("",!0):(openBlock(),createBlock(unref(DownSmall),{key:0,size:"24",class:"bg-white p-1 shadow-sm rounded-full border text-gray-700 border-gray-400 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-500",onClick:_e,theme:"outline",strokeWidth:2}))])])):createCommentVNode("",!0),createBaseVNode("div",{ref_key:"bottomContainer",ref:K,class:"bottom"},null,512)],2)],512)]),createVNode(_sfc_main$7,{onPauseRequest:Ne})]))}}),chatBase_vue_vue_type_style_index_0_lang="",logo=""+new URL("logo-89dd0dfe.png",import.meta.url).href;function debounce(k,m){let M;return(...G)=>{const V=()=>{clearTimeout(M),k(...G)};clearTimeout(M),M=setTimeout(V,m)}}function render$1(k,m){return openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[createBaseVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m4.5 12.75 6 6 9-13.5"})])}function render(k,m){return openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor","aria-hidden":"true","data-slot":"icon"},[createBaseVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM12.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0ZM18.75 12a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0Z"})])}const _hoisted_1$4={class:"mt-3 mb-1 text-xs font-bold"},_hoisted_2$3={class:"ml-1"},_hoisted_3$3=["onClick"],_hoisted_4$3={class:"flex items-center"},_hoisted_5$3=["onUpdate:modelValue","onKeypress"],_hoisted_6$3={key:1,class:"flex-1 truncate max-w-48"},_hoisted_7$3={key:0,class:"absolute z-10 right-2"},_hoisted_8$2={class:"py-1"},_hoisted_9$2=["onClick"],_hoisted_10$1=["onClick"],_hoisted_11$1=["onClick"],_sfc_main$4=defineComponent({__name:"ListItem",props:{dataSources:{},title:{}},emits:["update","delete","sticky","select"],setup(k,{emit:m}){const M=k,G=m,V=M.dataSources,q=useChatStore();async function $(ae){G("select",ae)}function D(ae,ie,he){he==null||he.stopPropagation(),ae.isEdit=ie}async function B(ae,ie){ie==null||ie.stopPropagation(),await q.updateGroupInfo({isSticky:!ae.isSticky,groupId:ae.uuid})}async function R(ae,ie){ie==null||ie.stopPropagation(),G("delete",ae)}const U=debounce(R,600);async function K(ae){const{uuid:ie,title:he}=ae;ae.isEdit=!1,await q.updateGroupInfo({groupId:ie,title:he})}async function z(ae,ie){ie==null||ie.stopPropagation(),ie.key==="Enter"&&K(ae)}function e(ae){return q.active===ae}return(ae,ie)=>{var J;const he=resolveDirective("focus");return openBlock(),createElementBlock(Fragment$1,null,[createBaseVNode("p",_hoisted_1$4,[createTextVNode(toDisplayString(M.title)+" ",1),createBaseVNode("span",_hoisted_2$3,"("+toDisplayString((J=unref(V))==null?void 0:J.length)+")",1)]),(openBlock(!0),createElementBlock(Fragment$1,null,renderList(unref(V),W=>(openBlock(),createElementBlock("div",{key:`${W.uuid}`},[createBaseVNode("div",{class:normalizeClass(["relative flex items-center gap-3 px-3 py-2 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm",e(W.uuid)?["bg-white","text-primary-600","dark:bg-gray-800","dark:text-white"]:["text-gray-700","dark:bg-gray-900","dark:text-gray-400"]]),onClick:X=>$(W)},[createBaseVNode("div",_hoisted_4$3,[W.isEdit?withDirectives((openBlock(),createElementBlock("input",{key:0,"onUpdate:modelValue":X=>W.title=X,type:"text",class:"bg-transparent border border-gray-200 dark:border-gray-400 px-1 shadow-none flex-1 truncate",onKeypress:X=>z(W,X)},null,40,_hoisted_5$3)),[[vModelText,W.title],[he]]):(openBlock(),createElementBlock("span",_hoisted_6$3,toDisplayString(W.title),1)),W.isEdit?(openBlock(),createBlock(unref(render$1),{key:2,class:"h-5 w-5 ml-2","aria-hidden":"true",onClick:X=>K(W)},null,8,["onClick"])):createCommentVNode("",!0)]),e(W.uuid)?(openBlock(),createElementBlock("div",_hoisted_7$3,[W.isEdit?createCommentVNode("",!0):(openBlock(),createBlock(unref(ge),{key:0,as:"div",class:"relative inline-block text-left"},{default:withCtx(()=>[createVNode(unref(Se),{class:"p-1"},{default:withCtx(()=>[createVNode(unref(render),{class:"h-5 w-5","aria-hidden":"true"})]),_:1}),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute right-0 z-10 mt-2 w-32 text-gray-700 dark:text-gray-400 origin-top-right text-b rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none bg-primary-100 dark:bg-gray-800"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_8$2,[createVNode(unref(be),{as:"template"},{default:withCtx(({active:X})=>[createBaseVNode("button",{class:normalizeClass([X?"flex items-center bg-gray-100 dark:bg-gray-700 ":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:L=>D(W,!0,L)},toDisplayString(unref(t$3)("chat.rename")),11,_hoisted_9$2)]),_:2},1024),createVNode(unref(be),{as:"template"},{default:withCtx(({active:X})=>[createBaseVNode("button",{class:normalizeClass([X?"flex items-end mr-3 bg-gray-100 dark:bg-gray-700":"flex items-end ","block w-full px-4 py-2 text-left text-sm"]),onClick:L=>B(W,L)},toDisplayString(W.isSticky?unref(t$3)("chat.unfavorite"):unref(t$3)("chat.favoriteConversations")),11,_hoisted_10$1)]),_:2},1024),createVNode(unref(be),{as:"template"},{default:withCtx(({active:X})=>[createBaseVNode("button",{class:normalizeClass([X?"flex items-center bg-gray-100 dark:bg-gray-700":"flex items-center ","block w-full px-4 py-2 text-left text-sm"]),onClick:L=>unref(U)(W,L)},toDisplayString(unref(t$3)("chat.deleteConversation")),11,_hoisted_11$1)]),_:2},1024)])]),_:2},1024)]),_:2},1024)]),_:2},1024))])):createCommentVNode("",!0)],10,_hoisted_3$3)]))),128))],64)}}}),_hoisted_1$3={class:"flex flex-col gap-3 text-sm"},_hoisted_2$2={key:0,class:"flex flex-col items-center mt-4 text-center text-neutral-300"},_hoisted_3$2={class:"mt-3 mb-1 text-xs font-bold"},_hoisted_4$2=["onClick"],_hoisted_5$2={class:"w-8 h-8 rounded-full bg-gray-200 flex items-center justify-center overflow-hidden"},_hoisted_6$2=["src"],_hoisted_7$2={key:1,class:"text-sm font-medium"},_sfc_main$3=defineComponent({__name:"List",setup(k){const{isMobile:m}=useBasicLayout(),M=useRouter(),G=useRoute(),V=useAppStore(),q=useChatStore(),$=useAuthStore(),D=useMessage(),B=ref(100),R=useAppCatStore(),U=ref(!1),K=ref(!1),z=computed(()=>q.groupList),e=computed(()=>q.groupKeyWord);watch(z,()=>B.value=B.value+1),watch(e,()=>B.value=B.value+1);const ae=computed(()=>q.isStreamIn!==void 0?q.isStreamIn:!1);computed(()=>$.isLogin);const ie=inject("createNewChatGroup",async ke=>{}),he=computed(()=>R.mineApps);function J(ke){const fe=new Date(ke).getTime()+8*60*60*1e3;return new Date(fe).getTime()}const W=new Date().setHours(0,0,0,0),X=computed(()=>z.value.filter(ke=>e.value?ke.title.includes(e.value)&&ke.isSticky&&!ke.params:ke.isSticky&&!ke.params)),L=computed(()=>z.value.filter(ke=>e.value?ke.title.includes(e.value)&&!ke.isSticky&&J(ke.updatedAt)>=W&&!ke.params:!ke.isSticky&&J(ke.updatedAt)>=W&&!ke.params)),Q=computed(()=>z.value.filter(ke=>e.value?ke.title.includes(e.value)&&!ke.isSticky&&J(ke.updatedAt)$.isLogin,(ke,xe)=>{ke===!0&&(R.queryMineApps(),q.queryMyGroup())},{immediate:!0}),(ke,xe)=>(openBlock(),createBlock(unref(NScrollbar),{class:"px-4"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$3,[z.value.length?(openBlock(),createElementBlock(Fragment$1,{key:1},[createBaseVNode("p",_hoisted_3$2,toDisplayString(unref(t$3)("chat.myApps")),1),(openBlock(!0),createElementBlock(Fragment$1,null,renderList(K.value?he.value:he.value.slice(0,4),fe=>(openBlock(),createElementBlock("div",{key:fe.appId,onClick:ve=>de(fe.appId),class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'"},[createBaseVNode("div",_hoisted_5$2,[fe.coverImg?(openBlock(),createElementBlock("img",{key:0,src:fe.coverImg,alt:"app cover",class:"w-full h-full object-cover"},null,8,_hoisted_6$2)):(openBlock(),createElementBlock("span",_hoisted_7$2,toDisplayString(fe.appName.charAt(0)),1))]),createBaseVNode("button",null,toDisplayString(fe.appName),1)],8,_hoisted_4$2))),128)),he.value.length>4?(openBlock(),createElementBlock("button",{key:0,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:xe[0]||(xe[0]=fe=>K.value=!K.value)},[createTextVNode(toDisplayString(K.value?unref(t$3)("chat.collapse"):unref(t$3)("chat.more"))+" ",1),K.value?(openBlock(),createBlock(unref(Up),{key:1,theme:"outline",size:"20"})):(openBlock(),createBlock(unref(Down),{key:0,theme:"outline",size:"20"}))])):createCommentVNode("",!0),createBaseVNode("div",{class:"relative flex items-center gap-3 px-3 py-1 break-all rounded-md cursor-pointer hover:bg-white group dark:hover:bg-gray-800 font-medium text-sm 'text-gray-700', 'dark:bg-gray-900', 'dark:text-gray-400'",onClick:Ee},[createVNode(unref(ApplicationTwo),{theme:"outline",size:"25",class:"ml-1 mr-1 text-sm my-1 text-gray-600"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.appSquare")),1)]),X.value.length?(openBlock(),createBlock(_sfc_main$4,{key:`stickyList-${U.value}-${X.value}`,title:unref(t$3)("chat.favorites"),"data-sources":U.value?X.value:X.value.slice(0,5),onSelect:ce,onDelete:se},null,8,["title","data-sources"])):createCommentVNode("",!0),X.value.length>5?(openBlock(),createElementBlock("button",{key:2,class:"relative flex items-center gap-3 px-3 break-all rounded-md cursor-pointer text-gray-900 dark:text-gray-400 text-xs font-bold",onClick:xe[1]||(xe[1]=fe=>U.value=!U.value)},[createTextVNode(toDisplayString(U.value?unref(t$3)("chat.collapse"):unref(t$3)("chat.more"))+" ",1),U.value?(openBlock(),createBlock(unref(Up),{key:1,theme:"outline",size:"20"})):(openBlock(),createBlock(unref(Down),{key:0,theme:"outline",size:"20"}))])):createCommentVNode("",!0),L.value.length?(openBlock(),createBlock(_sfc_main$4,{key:3e3+B.value,title:unref(t$3)("chat.todayConversations"),"data-sources":L.value,onSelect:ce,onDelete:se},null,8,["title","data-sources"])):createCommentVNode("",!0),Q.value.length?(openBlock(),createBlock(_sfc_main$4,{key:4e3+B.value,title:unref(t$3)("chat.historyConversations"),"data-sources":Q.value,onSelect:ce,onDelete:se},null,8,["title","data-sources"])):createCommentVNode("",!0)],64)):(openBlock(),createElementBlock("div",_hoisted_2$2,[createVNode(unref(_sfc_main$k),{icon:"ri:inbox-line",class:"mb-2 text-3xl"}),createBaseVNode("span",null,toDisplayString(ke.$t("common.noData")),1)]))])]),_:1}))}}),_hoisted_1$2={class:"flex flex-col gap-3 px-4 py-1 overflow-y-auto max-h-full noScrollbar",style:{"-ms-overflow-style":"none","scrollbar-width":"none"}},_hoisted_2$1={class:"flex items-center justify-between w-full my-1"},_hoisted_3$1={class:"flex items-center space-x-2"},_hoisted_4$1={class:"w-8 h-8 rounded-full bg-gray-200 dark:bg-gray-500 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},_hoisted_5$1=["src"],_hoisted_6$1={key:1,class:"text-sm font-medium"},_hoisted_7$1={class:"line-clamp-1 overflow-hidden text-ellipsis w-32 block whitespace-nowrap font-medium text-base text-gray-700 dark:text-gray-100"},_hoisted_8$1=createBaseVNode("span",{"aria-hidden":"true",class:"pointer-events-none absolute h-full w-full rounded-full bg-white dark:bg-transparent"},null,-1),_hoisted_9$1={class:"min-h-[2rem] text-xs line-clamp-2 text-gray-600 dark:text-gray-400 mb-2"},_sfc_main$2=defineComponent({__name:"Plugin",setup(k){const m=useChatStore(),M=ref(100),G=computed(()=>m.groupList),V=computed(()=>m.groupKeyWord),q=[],$=computed(()=>{var R;return(R=m.pluginList)!=null&&R.length?m.pluginList:q});watch(G,()=>M.value=M.value+1),watch(V,()=>M.value=M.value+1);const D=computed(()=>m.currentPlugin);G.value.filter(R=>V.value?R.title.includes(V.value)&&R.isSticky:R.isSticky);function B(R){var U;((U=D.value)==null?void 0:U.parameters)===R.parameters?m.setUsingPlugin(null):m.setUsingPlugin(R)}return onMounted(()=>{m.queryPlugins(),m.queryMyGroup()}),(R,U)=>(openBlock(),createElementBlock("div",_hoisted_1$2,[(openBlock(!0),createElementBlock(Fragment$1,null,renderList($.value,K=>(openBlock(),createElementBlock("div",{key:K.parameters,class:"select-none relative h-26 bg-white shadow flex flex-col items-start gap-3 px-3 py-1 break-all rounded-lg cursor-pointer group font-medium dark:bg-gray-800"},[createBaseVNode("div",_hoisted_2$1,[createBaseVNode("div",_hoisted_3$1,[createBaseVNode("div",_hoisted_4$1,[K.pluginImg?(openBlock(),createElementBlock("img",{key:0,src:K.pluginImg,alt:"App cover",class:"w-full h-full object-cover"},null,8,_hoisted_5$1)):(openBlock(),createElementBlock("span",_hoisted_6$1,toDisplayString(K.pluginName.charAt(0)),1))]),createBaseVNode("span",_hoisted_7$1,toDisplayString(K.pluginName),1)]),createVNode(unref(ue),{class:normalizeClass(["group relative inline-flex h-5 w-10 flex-shrink-0 cursor-pointer items-center justify-center rounded-full focus:outline-none"]),onClick:withModifiers(z=>B(K),["prevent"])},{default:withCtx(()=>{var z,e;return[_hoisted_8$1,createBaseVNode("span",{"aria-hidden":"true",class:normalizeClass([((z=D.value)==null?void 0:z.parameters)===K.parameters?"bg-indigo-600":"bg-gray-200 dark:bg-gray-700","pointer-events-none absolute mx-auto h-4 w-9 rounded-full transition-colors duration-200 ease-in-out"])},null,2),createBaseVNode("span",{"aria-hidden":"true",class:normalizeClass([((e=D.value)==null?void 0:e.parameters)===K.parameters?"translate-x-5":"translate-x-0","pointer-events-none absolute left-0 inline-block h-5 w-5 transform rounded-full border border-gray-200 dark:border-gray-800 bg-white dark:bg-gray-500 shadow ring-0 transition-transform duration-200 ease-in-out"])},null,2)]}),_:2},1032,["onClick"])]),createBaseVNode("div",null,[createBaseVNode("span",_hoisted_9$1,toDisplayString(K.description),1)])]))),128))]))}}),_hoisted_1$1={class:"flex flex-col h-full flex-1"},_hoisted_2={key:0,class:"flex bg-opacity w-full justify-between items-center px-4 dark:bg-gray-900 h-14"},_hoisted_3={class:"w-full flex justify-center space-x-2 font-medium rounded-full bg-gray-100 dark:bg-gray-800 shadow-sm"},_hoisted_4={key:1,class:"flex bg-opacity w-full justify-between items-center px-4 dark:bg-gray-900 h-14"},_hoisted_5={class:"w-full py-1 text-primary-600 dark:text-gray-100 text-lg font-bold flex justify-between"},_hoisted_6=["src"],_hoisted_7={class:"mx-auto"},_hoisted_8=createBaseVNode("span",{class:"h-7 w-7"},null,-1),_hoisted_9={class:"flex-1 min-h-0 overflow-hidden"},_hoisted_10={class:"p-4 pb-1 pt-1 border-t-gray-100 dark:border-t-gray-800 flex items-center justify-between text-left w-full"},_hoisted_11={class:"w-8 h-8 mb-2 rounded-full bg-primary-600 flex items-center justify-center overflow-hidden shadow-sm border border-gray-300"},_hoisted_12=["src"],_hoisted_13={class:"py-1"},_hoisted_14=createBaseVNode("button",{type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-opacity dark:hover:bg-gray-800 w-full"},[createBaseVNode("span",null,"登录 / 注册")],-1),_hoisted_15=[_hoisted_14],_hoisted_16={type:"button",class:"inline-flex mb-2 justify-center items-center rounded-md bg-white dark:bg-gray-900 px-3 py-2 text-sm text-gray-500 shadow-sm ring-1 ring-inset ring-gray-200 dark:ring-gray-800 hover:bg-opacity dark:hover:bg-gray-800 w-full"},_hoisted_17={key:2,class:"w-full flex justify-center items-center pb-3 text-xs text-gray-500"},_hoisted_18={class:"ml-2 transition-all text-gray-500 hover:text-gray-600 dark:hover:text-gray-400",href:"https://beian.miit.gov.cn",target:"_blank"},_sfc_main$1=defineComponent({__name:"index",setup(k){var Ve;const m=useGlobalStoreWithOut(),M=useRouter(),G=useAppStore(),V=useChatStore(),q=useAuthStore(),$=ref(null),D=ref(null),B=ref(null),R=computed(()=>{var je;return Number((je=q.globalConfig)==null?void 0:je.signInStatus)===1}),U=computed(()=>G.theme==="dark"),K=computed(()=>q.userBalance),z=computed(()=>V.currentPlugin),e=useDialog(),ae=ref(0),ie=ref(0),he=ref(0),J=ref(0),W=ref(0),X=ref(0),{isMobile:L}=useBasicLayout(),Q=computed(()=>q.isLogin),ce=computed(()=>q.globalConfig.clientLogoPath||logo);computed(()=>q.globalConfig.clientHomePath||"/");const de=((Ve=q.globalConfig)==null?void 0:Ve.siteName)||"AIWeb",se=computed(()=>q.globalConfig.model3Name||t$3("chat.ordinaryPoints")),oe=computed(()=>q.globalConfig.model4Name)||t$3("chat.advancedPoints"),me=computed(()=>q.globalConfig.drawMjName)||t$3("chat.drawingPoints"),Ee=computed(()=>Number(q.globalConfig.pluginFirst)===1),ke=computed(()=>Number(q.globalConfig.isHidePlugin)===1),xe=computed(()=>q.userInfo.avatar),fe=computed(()=>G.siderCollapsed),ve=ref(!Ee.value||ke.value?"chat":"plugin"),ye=computed(()=>q.globalConfig),Ce=computed(()=>{var je,Le;return((je=ye.value)==null?void 0:je.companyName)&&((Le=ye.value)==null?void 0:Le.filingNumber)}),pe=computed(()=>V.groupList.find(Le=>Le.uuid===V.active)),_e=computed(()=>{var je;try{return JSON.parse(((je=pe.value)==null?void 0:je.config)||"{}")}catch{return{}}}),Ge=computed(()=>V==null?void 0:V.activeModelDeductType),Ae=computed(()=>{var Qe;const je=((Qe=z==null?void 0:z.value)==null?void 0:Qe.deductType)||_e.value.deductType||Ge.value;let Le,et;switch(je){case 1:Le=K.value.sumModel3Count||0,et=se.value;break;case 2:Le=K.value.sumModel4Count||0,et=oe.value;break;case 3:Le=K.value.sumDrawMjCount||0,et=me.value;break;default:Le=0,et=t$3("chat.points")}return Le>99999&&(Le="不限",et="次数"),{remainingPoints:Le,buttonText:et}});async function Ne(){await Ze(),M.replace({path:"user-center"})}async function Ze(){return new Promise(je=>{setTimeout(()=>{q.isLogin||M.replace({path:"login"}),je()},100)})}function ze(){const je=U.value?"light":"dark";G.setTheme(je)}async function Te(){e.warning({title:t$3("chat.clearConversation"),content:t$3("chat.clearAllNonFavoriteConversations"),positiveText:t$3("common.confirm"),negativeText:t$3("common.cancel"),onPositiveClick:async()=>{await V.delAllGroup(),await V.addNewChatGroup()}})}function Fe(){G.setSiderCollapsed(!fe.value)}function Pe(){Q.value?q.logOut():q.setLoginDialog(!0)}function we(){if(!Q.value){q.setLoginDialog(!0);return}m.updateSignInDialog(!0)}function Ie(){q.logOut(),M.replace("/")}const Be=computed(()=>L.value?{position:"fixed",zIndex:50}:{}),Ke=computed(()=>L.value?{paddingBottom:"env(safe-area-inset-bottom)"}:{});return watch(L,je=>{G.setSiderCollapsed(je)},{immediate:!0,flush:"post"}),watch(()=>q.userBalance.useModel3Token,(je,Le)=>{var et;ae.value=Le||0,ie.value=je||0,(et=$.value)==null||et.play()},{immediate:!0,flush:"post"}),watch(()=>q.userBalance.useModel4Token,(je,Le)=>{var et;he.value=Le||0,J.value=je||0,(et=D.value)==null||et.play()},{immediate:!0,flush:"post"}),watch(()=>q.userBalance.useDrawMjToken,(je,Le)=>{var et;W.value=Le||0,X.value=je||0,(et=B.value)==null||et.play()},{immediate:!0,flush:"post"}),(je,Le)=>(openBlock(),createElementBlock("div",null,[createVNode(unref(NLayoutSider),{collapsed:fe.value,"collapsed-width":0,width:260,"collapse-mode":"transform",position:"absolute",bordered:"",style:normalizeStyle(Be.value),onUpdateCollapsed:Fe},{default:withCtx(()=>{var et,Qe;return[createBaseVNode("div",{class:"flex flex-col h-full bg-opacity dark:bg-gray-900 select-none",style:normalizeStyle(Ke.value)},[createBaseVNode("main",_hoisted_1$1,[ke.value?(openBlock(),createElementBlock("div",_hoisted_4,[createBaseVNode("button",_hoisted_5,[createBaseVNode("img",{src:ce.value,alt:"Logo",class:"h-7 w-7"},null,8,_hoisted_6),createBaseVNode("span",_hoisted_7,toDisplayString(unref(de)),1),_hoisted_8])])):(openBlock(),createElementBlock("div",_hoisted_2,[createBaseVNode("div",_hoisted_3,[Ee.value?(openBlock(),createElementBlock("button",{key:0,onClick:Le[0]||(Le[0]=Ue=>ve.value="plugin"),class:normalizeClass([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":ve.value==="plugin","dark:text-gray-400":ve.value!=="plugin"},"block w-full rounded-full focus:outline-none py-1"])}," 插件 ",2)):createCommentVNode("",!0),createBaseVNode("button",{onClick:Le[1]||(Le[1]=Ue=>ve.value="chat"),class:normalizeClass([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":ve.value==="chat","dark:text-gray-400":ve.value!=="chat"},"block w-full rounded-full focus:outline-none py-1"])}," 对话 ",2),Ee.value?createCommentVNode("",!0):(openBlock(),createElementBlock("button",{key:1,onClick:Le[2]||(Le[2]=Ue=>ve.value="plugin"),class:normalizeClass([{"bg-white dark:bg-gray-700 text-primary-600 dark:text-gray-100 ":ve.value==="plugin","dark:text-gray-400":ve.value!=="plugin"},"block w-full rounded-full focus:outline-none py-1"])}," 插件 ",2))])])),createBaseVNode("div",_hoisted_9,[ve.value==="chat"?(openBlock(),createBlock(_sfc_main$3,{key:0})):createCommentVNode("",!0),ve.value==="plugin"?(openBlock(),createBlock(_sfc_main$2,{key:1})):createCommentVNode("",!0)]),createBaseVNode("div",_hoisted_10,[Q.value?(openBlock(),createBlock(unref(ge),{key:0,as:"div",class:"relative inline-block text-left"},{default:withCtx(()=>[createBaseVNode("div",null,[createVNode(unref(Se),{class:"inline-flex w-full justify-center gap-x-1.5 rounded-md pr-3 py-2 text-sm font-semibold dark:text-gray-400 text-gray-700"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_11,[xe.value?(openBlock(),createElementBlock("img",{key:0,src:xe.value,class:"w-full h-full object-cover"},null,8,_hoisted_12)):createCommentVNode("",!0),xe.value?createCommentVNode("",!0):(openBlock(),createBlock(unref(User),{key:1,theme:"outline",size:"20",class:"text-white"}))])]),_:1})]),createVNode(Transition$1,{"enter-active-class":"transition ease-out duration-100","enter-from-class":"transform opacity-0 scale-95","enter-to-class":"transform opacity-100 scale-100","leave-active-class":"transition ease-in duration-75","leave-from-class":"transform opacity-100 scale-100","leave-to-class":"transform opacity-0 scale-95"},{default:withCtx(()=>[createVNode(unref(Me),{class:"absolute w-[228px] left-0 bottom-full mb-2 origin-bottom-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none dark:bg-gray-800 dark:text-gray-400 text-gray-900 z-50"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_13,[createVNode(unref(be),null,{default:withCtx(({active:Ue})=>[createBaseVNode("a",{href:"#",class:normalizeClass([[Ue?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"],"border-b border-b-gray-100 dark:border-b-gray-800"]),onClick:Te},[createVNode(unref(DeleteThemes),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.clear")),1)],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:Ue})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Ue?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Le[3]||(Le[3]=$e=>unref(m).updateNoticeDialog(!0))},[createVNode(unref(Announcement),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.announcement")),1)],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:Ue})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Ue?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Le[4]||(Le[4]=$e=>unref(m).updateGoodsDialog(!0))},[createVNode(unref(Commodity),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.pointsMall")),1)],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:Ue})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Ue?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:ze},[createVNode(unref(SunOne),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.toggleTheme")),1)],2)]),_:1}),R.value?(openBlock(),createBlock(unref(be),{key:0},{default:withCtx(({active:Ue})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Ue?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:we},[createVNode(unref(Calendar),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" "+toDisplayString(unref(t$3)("chat.signInReward")),1)],2)]),_:1})):createCommentVNode("",!0),createVNode(unref(be),null,{default:withCtx(({active:Ue})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Ue?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Le[5]||(Le[5]=$e=>Ne())},[createVNode(unref(User),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" 个人中心 ")],2)]),_:1}),createVNode(unref(be),null,{default:withCtx(({active:Ue})=>[createBaseVNode("a",{href:"#",class:normalizeClass([Ue?"bg-gray-100 dark:bg-gray-700":"","group flex items-center justify-start px-2 py-2 text-sm whitespace-nowrap"]),onClick:Le[6]||(Le[6]=$e=>Ie())},[createVNode(unref(Logout),{theme:"outline",size:"16",class:"mr-2"}),createTextVNode(" 退出登录 ")],2)]),_:1})])]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),Q.value?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:1,onClick:Pe,class:"flex flex-1 items-center justify-center cursor-pointer"},_hoisted_15)),Q.value?(openBlock(),createElementBlock("div",{key:2,onClick:Le[7]||(Le[7]=Ue=>unref(m).updateGoodsDialog(!0)),class:"flex flex-1 items-center justify-center cursor-pointer"},[createBaseVNode("button",_hoisted_16,[createBaseVNode("span",null,toDisplayString(unref(t$3)("chat.remaining")+`${Ae.value.remainingPoints}${Ae.value.buttonText}`),1)])])):createCommentVNode("",!0)]),Ce.value&&unref(L)?(openBlock(),createElementBlock("div",_hoisted_17,[createTextVNode(" 版权所有 © "+toDisplayString((et=ye.value)==null?void 0:et.companyName)+" ",1),createBaseVNode("a",_hoisted_18,toDisplayString((Qe=ye.value)==null?void 0:Qe.filingNumber),1)])):createCommentVNode("",!0)])],4)]}),_:1},8,["collapsed","style"]),unref(L)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:"fixed inset-0 z-40 bg-black/40",onClick:Fe},null,512)),[[vShow,!fe.value]]):createCommentVNode("",!0)]))}}),_hoisted_1={class:"h-full transition-all"},_sfc_main=defineComponent({__name:"chat",setup(k){const m=useMessage(),M=useRoute(),G=useRouter(),V=useAppStore(),q=useChatStore(),$=useAuthStore(),{isMobile:D}=useBasicLayout(),B=computed(()=>$.isLogin),R=computed(()=>V.siderCollapsed),U=computed(()=>M.query.appId),K=ref(0),z=ref(0),e=computed(()=>{var ce;return Number((ce=$.globalConfig)==null?void 0:ce.showWatermark)===1}),ae=ref($.userInfo.id??""),ie=computed(()=>{var ce;return Number((ce=$.globalConfig)==null?void 0:ce.isModelInherited)===1}),he=computed(()=>q.isStreamIn!==void 0?q.isStreamIn:!1);watch(B,async(ce,de)=>{ce&&!de&&(await q.queryMyGroup(),window.location.href="/chat")});const J=computed(()=>D.value?["rounded-none","shadow-none"]:["rounded-none","shadow-md","dark:border-gray-900"]),W=computed(()=>["h-full",{"pl-[260px]":!D.value&&!R.value}]);async function X(ce){if(he.value){m.info("AI回复中,请稍后再试");return}q.setStreamIn(!1);try{if(ce&&ce>0)await q.addNewChatGroup(ce);else{const{modelInfo:de}=q.activeConfig;if(de&&ie.value&&q.activeGroupAppId===0){const se={modelInfo:de};await q.addNewChatGroup(0,se)}else await q.addNewChatGroup()}q.setUsingPlugin(null),D.value&&V.setSiderCollapsed(!0)}catch{}}function L(ce){K.value=ce.touches[0].clientX}function Q(ce){z.value=ce.changedTouches[0].clientX,z.value-K.value>100&&D.value&&V.setSiderCollapsed(!1)}return onMounted(()=>{window.addEventListener("touchstart",L),window.addEventListener("touchend",Q)}),onUnmounted(()=>{window.removeEventListener("touchstart",L),window.removeEventListener("touchend",Q)}),provide("createNewChatGroup",X),watch(U,async(ce,de)=>{if(ce){const se=+ce;G.replace("/chat"),await nextTick(),X(se)}},{immediate:!0}),(ce,de)=>(openBlock(),createElementBlock(Fragment$1,null,[e.value&&B.value?(openBlock(),createBlock(unref(NWatermark),{key:0,content:"#"+ae.value,cross:"",fullscreen:"","font-size":16,"line-height":16,width:384,height:384,"x-offset":12,"y-offset":60,rotate:-15},null,8,["content"])):createCommentVNode("",!0),createBaseVNode("div",_hoisted_1,[createBaseVNode("div",{class:normalizeClass(["h-full overflow-hidden",J.value])},[createVNode(unref(NLayout),{class:normalizeClass(["z-40 transition",W.value]),"has-sider":""},{default:withCtx(()=>[createVNode(_sfc_main$1,{class:"h-full"}),createVNode(_sfc_main$5,{class:"w-full flex-1"})]),_:1},8,["class"])],2)])],64))}});export{_sfc_main as default}; diff --git a/AIWebQuickDeploy/public/chat/assets/chat-fb203400.css b/AIWebQuickDeploy/public/chat/assets/chat-fb203400.css new file mode 100644 index 0000000..6411b32 --- /dev/null +++ b/AIWebQuickDeploy/public/chat/assets/chat-fb203400.css @@ -0,0 +1 @@ +.animate-breathe{animation:breathe 2s infinite ease-in-out}.markdown-body{background-color:transparent;font-size:1rem;max-width:min(80vw,58rem)}.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:#1f2937}.markdown-body code.hljs{padding:0}.markdown-body .code-block-wrapper{position:relative;padding-top:2rem;max-width:min(80vw,58rem);scrollbar-width:none;-ms-overflow-style:none}.markdown-body .code-block-wrapper::-webkit-scrollbar{display:none}.markdown-body .code-block-header{position:absolute;top:5px;right:0;width:100%;padding:0 1rem;display:flex;justify-content:space-between;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}.whitespace-pre-wrap{font-size:1rem}.rotate-icon{animation:rotateAnimation 3s linear infinite;transform-origin:center}@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.5);opacity:.5}}.breathing-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background-color:#000;animation:breathe 2s infinite}@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}.loading-anchor:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;background-color:#000;border-radius:50%;animation:breathe 2s infinite ease-in-out;vertical-align:middle}.textLayer{position:absolute;text-align:initial;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.textLayer span,.textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:#006400}.textLayer ::-moz-selection{background:rgba(0,0,255,1)}.textLayer ::selection{background:rgba(0,0,255,1)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}:root{--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,")}@media (forced-colors: active){.annotationLayer .textWidgetAnnotation input:required,.annotationLayer .textWidgetAnnotation textarea:required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation.checkBox input:required,.annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}.annotationLayer .linkAnnotation>a,.annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}.annotationLayer .linkAnnotation>a:hover,.annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgba(255,255,0,1);box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}.annotationLayer .textWidgetAnnotation input,.annotationLayer .textWidgetAnnotation textarea,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation input:required,.annotationLayer .textWidgetAnnotation textarea:required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation.checkBox input:required,.annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation input[disabled],.annotationLayer .textWidgetAnnotation textarea[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}.annotationLayer .textWidgetAnnotation input:hover,.annotationLayer .textWidgetAnnotation textarea:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgba(0,0,0,1)}.annotationLayer .textWidgetAnnotation input:focus,.annotationLayer .textWidgetAnnotation textarea:focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}.annotationLayer .textWidgetAnnotation input :focus,.annotationLayer .textWidgetAnnotation textarea :focus,.annotationLayer .choiceWidgetAnnotation select :focus,.annotationLayer .buttonWidgetAnnotation.checkBox :focus,.annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--xfa-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,")}@media (forced-colors: active){.xfaLayer *:required{outline:1.5px solid selectedItem}}.xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}.xfaLayer .highlight.appended{position:initial}.xfaLayer .highlight.begin{border-radius:4px 0 0 4px}.xfaLayer .highlight.end{border-radius:0 4px 4px 0}.xfaLayer .highlight.middle{border-radius:0}.xfaLayer .highlight.selected{background-color:#cbdfcb}.xfaLayer ::-moz-selection{background:rgba(0,0,255,1)}.xfaLayer ::selection{background:rgba(0,0,255,1)}.xfaPage{overflow:hidden;position:relative}.xfaContentarea{position:absolute}.xfaPrintOnly{display:none}.xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}.xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}.xfaLayer *:required{outline:1.5px solid red}.xfaLayer div{pointer-events:none}.xfaLayer svg{pointer-events:none}.xfaLayer svg *{pointer-events:none}.xfaLayer a{color:#00f}.xfaRich li{margin-left:3em}.xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}.xfaCaption{overflow:hidden;flex:0 0 auto}.xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}.xfaLabel{height:100%;width:100%}.xfaLeft{display:flex;flex-direction:row;align-items:center}.xfaRight{display:flex;flex-direction:row-reverse;align-items:center}.xfaLeft>.xfaCaption,.xfaLeft>.xfaCaptionForCheckButton,.xfaRight>.xfaCaption,.xfaRight>.xfaCaptionForCheckButton{max-height:100%}.xfaTop{display:flex;flex-direction:column;align-items:flex-start}.xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}.xfaTop>.xfaCaption,.xfaTop>.xfaCaptionForCheckButton,.xfaBottom>.xfaCaption,.xfaBottom>.xfaCaptionForCheckButton{width:100%}.xfaBorder{background-color:transparent;position:absolute;pointer-events:none}.xfaWrapped{width:100%;height:100%}.xfaTextfield:focus,.xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}.xfaCheckbox:focus,.xfaRadio:focus{outline:auto}.xfaTextfield,.xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}.xfaTop>.xfaTextfield,.xfaTop>.xfaSelect,.xfaBottom>.xfaTextfield,.xfaBottom>.xfaSelect{flex:0 1 auto}.xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}.xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}.xfaCheckbox,.xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}.xfaRich{white-space:pre-wrap;width:100%;height:100%}.xfaImage{-o-object-position:left top;object-position:left top;-o-object-fit:contain;object-fit:contain;width:100%;height:100%}.xfaLrTb,.xfaRlTb,.xfaTb{display:flex;flex-direction:column;align-items:stretch}.xfaLr{display:flex;flex-direction:row;align-items:stretch}.xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}.xfaTb>div{justify-content:left}.xfaPosition,.xfaArea{position:relative}.xfaValignMiddle{display:flex;align-items:center}.xfaTable{display:flex;flex-direction:column;align-items:stretch}.xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}.xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}.xfaTable .xfaRlRow>div{flex:1}.xfaNonInteractive input,.xfaNonInteractive textarea,.xfaDisabled input,.xfaDisabled textarea,.xfaReadOnly input,.xfaReadOnly textarea{background:initial}@media print{.xfaTextfield,.xfaSelect{background:transparent}.xfaSelect{-webkit-appearance:none;-moz-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}:root{--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media (forced-colors: active){:root{--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[data-editor-rotation="90"]{transform:rotate(90deg)}[data-editor-rotation="180"]{transform:rotate(180deg)}[data-editor-rotation="270"]{transform:rotate(270deg)}.annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}.annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}.annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}.annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}.annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}.annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}.annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}.annotationEditorLayer .freeTextEditor .internal:focus{outline:none}.annotationEditorLayer .inkEditor.disabled{resize:none}.annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}.annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor),.annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}.annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;cursor:auto}.annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}.annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}:root{--viewer-container-height: 0;--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--spreadHorizontalWrapped-margin-LR: -3.5px;--scale-factor: 1}@media screen and (forced-colors: active){:root{--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}.pdfViewer .canvasWrapper{overflow:hidden}.pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);-o-border-image:var(--page-border-image);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}.pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}.pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}.pdfViewer.singlePageView{display:inline-block}.pdfViewer.singlePageView .page{margin:0;border:none}.pdfViewer.scrollHorizontal,.pdfViewer.scrollWrapped,.spread{margin-left:3.5px;margin-right:3.5px;text-align:center}.pdfViewer.scrollHorizontal,.spread{white-space:nowrap}.pdfViewer.removePageBorders,.pdfViewer.scrollHorizontal .spread,.pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}.spread .page,.spread .dummyPage,.pdfViewer.scrollHorizontal .page,.pdfViewer.scrollWrapped .page,.pdfViewer.scrollHorizontal .spread,.pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}.spread .page,.pdfViewer.scrollHorizontal .page,.pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}.pdfViewer.removePageBorders .spread .page,.pdfViewer.removePageBorders.scrollHorizontal .page,.pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}.pdfViewer .page canvas{margin:0;display:block}.pdfViewer .page canvas[hidden]{display:none}.pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}.pdfViewer .page .loadingIcon.notVisible{background:none}.pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;cursor:not-allowed}.pdfPresentationMode .pdfViewer{padding-bottom:0}.pdfPresentationMode .spread{margin:0}.pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}@keyframes rotateAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}::v-deep .rotate-icon{animation:rotateAnimation 1s linear infinite} diff --git a/public/chat/assets/crami-6a16f6dd.js b/AIWebQuickDeploy/public/chat/assets/crami-173ca461.js similarity index 65% rename from public/chat/assets/crami-6a16f6dd.js rename to AIWebQuickDeploy/public/chat/assets/crami-173ca461.js index ac1c59a..c44ebb2 100644 --- a/public/chat/assets/crami-6a16f6dd.js +++ b/AIWebQuickDeploy/public/chat/assets/crami-173ca461.js @@ -1 +1 @@ -import{g as a,p as e}from"./index-e5cf7f43.js";function c(r){return e({url:"/crami/useCrami",data:r})}function u(r){return a({url:"/crami/queryAllPackage",data:r})}export{c as a,u as f}; +import{g as a,p as e}from"./index-40baf14c.js";function c(r){return e({url:"/crami/useCrami",data:r})}function u(r){return a({url:"/crami/queryAllPackage",data:r})}export{c as a,u as f}; diff --git a/public/chat/assets/dalle-4f19ad1c.png b/AIWebQuickDeploy/public/chat/assets/dalle-4f19ad1c.png similarity index 100% rename from public/chat/assets/dalle-4f19ad1c.png rename to AIWebQuickDeploy/public/chat/assets/dalle-4f19ad1c.png diff --git a/public/chat/assets/favicon-25a41591.ico b/AIWebQuickDeploy/public/chat/assets/favicon-25a41591.ico similarity index 100% rename from public/chat/assets/favicon-25a41591.ico rename to AIWebQuickDeploy/public/chat/assets/favicon-25a41591.ico diff --git a/public/chat/assets/google-6f260bf3.gif b/AIWebQuickDeploy/public/chat/assets/google-6f260bf3.gif similarity index 100% rename from public/chat/assets/google-6f260bf3.gif rename to AIWebQuickDeploy/public/chat/assets/google-6f260bf3.gif diff --git a/public/chat/assets/index-83541074.js b/AIWebQuickDeploy/public/chat/assets/index-1362473a.js similarity index 99% rename from public/chat/assets/index-83541074.js rename to AIWebQuickDeploy/public/chat/assets/index-1362473a.js index ee9c06f..5b719e1 100644 --- a/public/chat/assets/index-83541074.js +++ b/AIWebQuickDeploy/public/chat/assets/index-1362473a.js @@ -1 +1 @@ -import{d as E,n as ae,u as re,t as s,E as ie,F as ce,G as ue,H as de,J as fe}from"./index-e5cf7f43.js";import{u as X}from"./useBasicLayout-18dd2ca5.js";import{d as q,e as c,r as p,f as Z,R as l,S,a2 as t,U as h,V as r,c as k,a4 as a,L as e,a6 as b,W as o,af as se,a8 as pe,j as me,F as _e,a7 as he,a3 as ve,H as xe}from"./vue-c19408e5.js";import{y as $,F as oe,e as ee,G as R,w as ge,H as te,I as H,J as O,K as W,d as we,L as ne,M as be,O as ye,P as Ce,E as ke,C as $e,Q as F,t as G,R as Pe}from"./naive-ui-64ac446a.js";import{a as Ne,f as Se}from"./crami-6a16f6dd.js";import"./vueuse-motion-563da5fd.js";const Q=""+new URL("avatar-e985e5ec.png",import.meta.url).href,Me={class:"flex flex-col justify-center items-center"},Ie={class:"text-2xl text-primary self-start mb-3 flex justify-between w-full"},De=t("span",null,null,-1),Ae={class:"mt-3 text-lg text-[#555]"},Te={class:"text-[#95aac9] mt-2"},Be={class:"self-start"},Le={class:"flex pl-3 pt-3 text-base font-bold text-primary"},Re={key:0,class:"flex pl-3 pt-3 text-base font-bold text-primary"},Ue={class:"flex items-center space-x-4 pl-3 mt-3"},je={class:"flex-shrink-0 w-24 text-primary"},ze={class:"w-[200px]"},We={class:"flex items-center space-x-4 pl-3 mt-3"},He={class:"flex-shrink-0 w-24 text-primary"},Ve={class:"w-[200px]"},Fe={class:"flex items-center space-x-4 pl-3 mt-3"},Ge={class:"flex-shrink-0 w-24 text-primary"},Oe={class:"w-[200px]"},Qe={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},Ee={class:"flex-shrink-0 w-24 text-primary"},qe={class:"w-[200px]"},Ke={key:1},Je=q({__name:"detail",setup(K){const i=E(),n=ae(),{userBalance:d}=i,P=re(),v=c(()=>i.userInfo.email||""),M=c(()=>i.userInfo.isBindWx),A=p(i.userInfo.avatar??Q),T=p(i.userInfo.username??s("usercenter.notLoggedIn"));p(i.userInfo.sign??s("usercenter.defaultSignature"));const L=c(()=>Number(i.globalConfig.wechatRegisterStatus)===1);function B(){i.logOut(),n.replace("/")}const w=c(()=>i.isLogin);return Z(()=>{w.value||i.setLoginDialog(!0)}),(I,y)=>(l(),S("div",Me,[t("div",Ie,[De,w.value?(l(),h(e($),{key:0,tertiary:"",type:"error",onClick:B},{default:r(()=>[k(a(e(s)("usercenter.logOut")),1)]),_:1})):b("",!0),w.value?b("",!0):(l(),h(e($),{key:1,tertiary:"",type:"success",onClick:y[0]||(y[0]=C=>e(i).setLoginDialog(!0))},{default:r(()=>[k(a(e(s)("usercenter.clickToLogin")),1)]),_:1}))]),o(e(oe),{size:148,src:A.value,"fallback-src":e(Q)},null,8,["src","fallback-src"]),t("b",Ae,a(T.value),1),t("span",Te,a(v.value),1),t("div",Be,[t("div",Le,[t("span",null,a(e(s)("usercenter.myUsageRecord")),1)]),e(d).expirationTime?(l(),S("div",Re,[t("span",null,a(e(s)("usercenter.membershipExpiration")),1),t("span",null,a(e(d).expirationTime),1)])):b("",!0),t("div",Ue,[t("span",je,a(e(s)("usercenter.basicModelCredits")),1),t("div",ze,a(e(d).sumModel3Count||"0")+" "+a(e(s)("usercenter.points")),1)]),t("div",We,[t("span",He,a(e(s)("usercenter.advancedModelCredits")),1),t("div",Ve,a(e(d).sumModel4Count||"0")+" "+a(e(s)("usercenter.points")),1)]),t("div",Fe,[t("span",Ge,a(e(s)("usercenter.drawingUsageCredits")),1),t("div",Oe,a(e(d).sumDrawMjCount||"0")+" "+a(e(s)("usercenter.points")),1)]),L.value?(l(),S("div",Qe,[t("span",Ee,a(e(s)("usercenter.bindWeChat")),1),t("div",qe,[M.value?(l(),S("span",Ke,a(e(s)("usercenter.weChatBound")),1)):(l(),h(e($),{key:0,text:"",onClick:y[1]||(y[1]=C=>e(P).updateBindwxDialog(!0))},{default:r(()=>[k(a(e(s)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):b("",!0)])]))}}),Ye={class:"flex justify-between"},Xe={class:"text-[#95AAC9]"},Ze={class:"text-base"},es={class:"text-[#95AAC9] mt-3"},ss={class:"ml-3 text-[#95AAC9] mt-2"},ts={class:"ml-3 text-[#95AAC9] mt-2"},as={class:"ml-3 text-[#95AAC9] mt-2"},rs=q({__name:"password",setup(K){const i=p({password:"",reenteredPassword:""}),n=i,d=p(null),P=p(null),v={password:[{required:!0,message:s("usercenter.enterPassword")}],reenteredPassword:[{required:!0,message:s("usercenter.reenterPassword"),trigger:["input","blur"]},{validator:M,message:s("usercenter.passwordsNotMatch"),trigger:"input"},{validator:A,message:s("usercenter.passwordsNotMatch"),trigger:["blur","password-input"]}]};function M(m,f){return!!i.value.password&&i.value.password.startsWith(f)&&i.value.password.length>=f.length}function A(m,f){return f===i.value.password}function T(){var m;i.value.reenteredPassword&&((m=P.value)==null||m.validate({trigger:"password-input"}))}const{isSmallXl:L}=X(),B=E(),w=ee();async function I(m){await ie(m),w.success(s("usercenter.passwordUpdateSuccess")),y(),B.updatePasswordSuccess()}function y(){i.value={password:"",reenteredPassword:""}}function C(m){var f;m.preventDefault(),(f=d.value)==null||f.validate(async x=>{if(!x){const{password:U}=i.value;I({password:U})}})}return(m,f)=>(l(),h(e(W),null,{header:r(()=>[t("div",null,a(e(s)("usercenter.changeYourPassword")),1)]),default:r(()=>[o(e(O),{"x-gap":24,"y-gap":24,cols:e(L)?1:3,class:"mt-3"},{default:r(()=>[o(e(R),{class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:"2"},{default:r(()=>[o(e(ge),{ref_key:"formRef",ref:d,model:e(n),rules:v},{default:r(()=>[o(e(te),{path:"password",label:e(s)("usercenter.newPassword")},{default:r(()=>[o(e(H),{value:e(n).password,"onUpdate:value":f[0]||(f[0]=x=>e(n).password=x),type:"password",onInput:T,onKeydown:f[1]||(f[1]=se(pe(()=>{},["prevent"]),["enter"]))},null,8,["value"])]),_:1},8,["label"]),o(e(te),{ref_key:"rPasswordFormItemRef",ref:P,first:"",path:"reenteredPassword",label:e(s)("usercenter.confirmPassword")},{default:r(()=>[o(e(H),{value:e(n).reenteredPassword,"onUpdate:value":f[2]||(f[2]=x=>e(n).reenteredPassword=x),disabled:!e(n).password,type:"password",tabindex:"0",onKeyup:se(C,["enter"])},null,8,["value","disabled"])]),_:1},8,["label"]),t("div",Ye,[t("span",Xe,a(e(s)("usercenter.reloginAfterPasswordChange")),1),o(e($),{disabled:e(n).password===null,type:"primary",onClick:C},{default:r(()=>[k(a(e(s)("usercenter.updateYourPassword")),1)]),_:1},8,["disabled"])])]),_:1},8,["model"])]),_:1}),o(e(R),{class:"border rounded-sm p-3 dark:border-[#ffffff17]"},{default:r(()=>[t("b",Ze,a(e(s)("usercenter.passwordRequirements")),1),t("p",es,a(e(s)("usercenter.newPasswordInstructions")),1),t("div",ss,a(e(s)("usercenter.minimumCharacters")),1),t("div",ts,a(e(s)("usercenter.maximumCharacters")),1),t("div",as,a(e(s)("usercenter.requireNumber")),1)]),_:1})]),_:1},8,["cols"])]),_:1}))}}),os={1:s("rechargeTypes.1"),2:s("rechargeTypes.2"),3:s("rechargeTypes.3"),4:s("rechargeTypes.4"),5:s("rechargeTypes.5"),6:s("rechargeTypes.6"),7:s("rechargeTypes.7"),8:s("rechargeTypes.8")};s("orderStatus.0"),s("orderStatus.1"),s("orderStatus.2"),s("orderStatus.3");const ns={class:"flex h-full flex-col"},ls={class:"text-[#95aac9] mb-2 text-base"},is={class:"text-3xl text-[#555]"},cs={class:"ml-4 text-[#989898]"},us={class:"text-[#95aac9] mb-2 text-base"},ds={class:"text-3xl text-[#555]"},fs={class:"ml-4 text-[#989898]"},ps={class:"text-[#95aac9] mb-2 text-base"},ms={class:"text-3xl text-[#555]"},_s={class:"ml-4 text-[#989898]"},hs={class:"text-[#95aac9] mb-2 text-base"},vs={class:"relative"},xs=["src"],gs={class:"flex justify-between items-end min-h-28"},ws={class:"text-sm font-bold mr-1"},bs={class:"font-bold"},ys={class:"flex justify-between items-end min-h-28"},Cs={class:"text-sm font-bold mr-1"},ks={class:"font-bold"},$s={class:"flex justify-between items-end min-h-28"},Ps={class:"text-sm font-bold mr-1"},Ns={class:"font-bold"},Ss={class:"flex justify-between items-end mt-5"},Ms={class:"text-xl text-[red] font-bold"},Is=q({__name:"wallet",setup(K){const{isSmallMd:i,isMobile:n}=X(),d=E(),P=ee();we();const v=c(()=>d.userBalance),M=p(!1),A=p(""),T=p(!1),L=p([]),B=p(!1),w=c(()=>d.globalConfig.model3Name||s("usercenter.basicModelQuota")),I=c(()=>d.globalConfig.model4Name)||s("usercenter.advancedModelQuota"),y=c(()=>d.globalConfig.drawMjName)||s("usercenter.mjDrawingQuota"),C=c(()=>Number(d.globalConfig.isHideModel3Point)===1),m=c(()=>Number(d.globalConfig.isHideModel4Point)===1),f=c(()=>Number(d.globalConfig.isHideDrawMjPoint)===1),x=me({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50],onChange:u=>{x.page=u,j()},onUpdatePageSize:u=>{x.pageSize=u,x.page=1,j()}}),U=c(()=>{const u=[{title:s("usercenter.orderNumber"),key:"uid"},{title:s("usercenter.rechargeType"),key:"rechargeType",render(D){return os[D.rechargeType]}},{title:s("usercenter.validity"),key:"expireDateCn"},{title:s("usercenter.rechargeTime"),key:"createdAt",render(D){return D.createdAt}}];return C.value||u.splice(2,0,{title:w.value,key:"model3Count"}),m.value||u.splice(3,0,{title:I.value,key:"model4Count"}),f.value||u.splice(4,0,{title:y.value,key:"drawMjCount"}),u}),z=p([]);async function j(){const u=await ce({page:x.page,size:x.pageSize}),{rows:D}=u.data;z.value=D}async function V(){P.warning(s("usercenter.enterCardSecret"));try{M.value=!0,await Ne({code:A.value}),P.success(s("usercenter.cardRedeemSuccess")),j(),d.getUserInfo(),M.value=!1}catch{P.error(s("usercenter.unknownError")),M.value=!1}}function J(){T.value=!0}async function Y(){const u=await Se({status:1,size:30});L.value=u.data.rows}const g=c(()=>{var u;return(u=d.globalConfig)==null?void 0:u.buyCramiAddress});function _(){window.open(g.value)}return Z(()=>{j()}),(u,D)=>(l(),S("div",ns,[o(e(W),null,{header:r(()=>[t("div",null,a(e(s)("usercenter.userWalletBalance")),1)]),default:r(()=>[o(e(O),{"x-gap":24,"y-gap":24,cols:e(i)?1:2,class:"mt-3"},{default:r(()=>[C.value?b("",!0):(l(),h(e(R),{key:0,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:r(()=>[t("div",ls,a(w.value),1),t("b",is,a(v.value.sumModel3Count>99999?"无限额度":v.value.sumModel3Count??0),1),t("span",cs,a(e(s)("usercenter.creditUsageNote")),1)]),_:1})),m.value?b("",!0):(l(),h(e(R),{key:1,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:r(()=>[t("div",us,a(e(I)),1),t("b",ds,a(v.value.sumModel4Count>99999?"无限额度":v.value.sumModel4Count??0),1),t("span",fs,a(e(s)("usercenter.modelConsumptionNote")),1)]),_:1})),f.value?b("",!0):(l(),h(e(R),{key:2,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:r(()=>[t("div",ps,a(e(y)),1),t("b",ms,a(v.value.sumDrawMjCount>99999?"无限额度":v.value.sumDrawMjCount??0),1),t("span",_s,a(e(s)("usercenter.drawingConsumptionNote")),1)]),_:1})),o(e(R),{class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:r(()=>[t("div",hs,a(e(s)("usercenter.cardRecharge")),1),o(e(ne),{wrap:!1},{default:r(()=>[o(e(H),{value:A.value,"onUpdate:value":D[0]||(D[0]=N=>A.value=N),placeholder:e(s)("usercenter.enterCardDetails"),class:"mr-3",maxlength:"128","show-count":"",clearable:""},null,8,["value","placeholder"]),o(e($),{type:"primary",loading:M.value,onClick:V},{default:r(()=>[k(a(e(s)("usercenter.exchange")),1)]),_:1},8,["loading"]),g.value?(l(),h(e($),{key:0,type:"success",onClick:J},{default:r(()=>[k(a(e(s)("usercenter.buyCardSecret")),1)]),_:1})):b("",!0)]),_:1})]),_:1})]),_:1},8,["cols"])]),_:1}),o(e(W),{class:"mt-5 flex-1"},{header:r(()=>[t("div",null,a(e(s)("usercenter.rechargeRecords")),1)]),default:r(()=>[o(e(be),{columns:U.value,loading:B.value,"scroll-x":800,data:z.value,"max-height":"280",pagination:x},null,8,["columns","loading","data","pagination"])]),_:1}),o(e(Ce),{show:T.value,"onUpdate:show":D[1]||(D[1]=N=>T.value=N),width:e(i)?"100%":502,"on-after-enter":Y},{default:r(()=>[o(e(ye),{title:"{{ t('usercenter.packagePurchase') }}",closable:""},{default:r(()=>[o(e(O),{"x-gap":15,"y-gap":15,cols:e(i)?1:2,class:"mt-3"},{default:r(()=>[(l(!0),S(_e,null,he(L.value,(N,le)=>(l(),h(e(R),{key:le},{default:r(()=>[o(e(W),{size:"small",embedded:""},{header:r(()=>[t("div",vs,[t("b",null,a(N.name),1)])]),cover:r(()=>[t("img",{src:N.coverImg},null,8,xs)]),default:r(()=>[t("div",null,[t("p",null,a(N.des),1),t("div",gs,[t("span",ws,a(w.value),1),t("span",bs,a(N.model3Count),1)]),t("div",ys,[t("span",Cs,a(e(I)),1),t("span",ks,a(N.model4Count),1)]),t("div",$s,[t("span",Ps,a(e(y)),1),t("span",Ns,a(N.drawMjCount),1)]),t("div",Ss,[t("i",Ms,a(`¥${N.price}`),1),o(e($),{type:"primary",dashed:"",size:"small",onClick:_},{default:r(()=>[k(a(e(s)("usercenter.buyPackage")),1)]),_:1})])])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["cols"])]),_:1})]),_:1},8,["show","width"])]))}}),Ds={class:"flex flex-col justify-center items-center"},As={class:"text-2xl text-primary self-start mb-14 flex justify-between w-full"},Ts={class:"mt-3 text-lg text-[#555]"},Bs={class:"self-start mt-16"},Ls={class:"text-xl text-primary"},Rs={class:"flex items-center space-x-4 pl-3 mt-3"},Us={class:"flex-shrink-0 w-[150px] text-keft text-primary"},js={class:"w-[230px]"},zs={class:"flex items-center space-x-4 pl-3 mt-3"},Ws={class:"flex-shrink-0 w-[150px] text-keft text-primary"},Hs={class:"w-[230px]"},Vs={key:0,class:"flex items-center space-x-4 pl-3 mt-3"},Fs={class:"flex-shrink-0 w-[150px] text-keft text-primary"},Gs={class:"w-[230px]"},Os={key:1},Qs={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},Es={class:"flex-shrink-0 w-[150px] text-keft text-primary"},qs={class:"w-[230px]"},Ks={key:0,class:"flex text-[red] pt-8 text-base font-bold"},Js={key:1},Ys={class:"flex items-center space-x-4"},Xs={class:"flex-shrink-0 w-[60px]"},Zs={class:"flex-1"},et={class:"flex items-center space-x-4 mt-5"},st={class:"flex-shrink-0 w-[60px]"},tt={class:"flex-1"},ct=q({__name:"index",setup(K){const i=re(),n=E(),d=ae(),P=p(0),v=c(()=>n.userBalance),M=c(()=>{var g;return(g=n.globalConfig)==null?void 0:g.isUseWxLogin}),A=c(()=>Number(n.globalConfig.wechatRegisterStatus)===1),T=c(()=>n.globalConfig.model3Name||s("goods.basicModelQuota")),L=c(()=>n.globalConfig.model4Name)||s("goods.advancedModelQuota");c(()=>n.globalConfig.drawMjName)||s("goods.drawingQuota"),c(()=>Number(n.globalConfig.isHideModel3Point)===1),c(()=>Number(n.globalConfig.isHideModel4Point)===1),c(()=>Number(n.globalConfig.isHideDrawMjPoint)===1);const B=p(!0),w=c(()=>n.isLogin),I=ee();c(()=>n.userInfo.email||"");const y=c(()=>n.userInfo.isBindWx),C=p(n.userInfo.avatar??Q),m=p(n.userInfo.username??"未登录");p(n.userInfo.sign??s("usercenter.defaultSignature"));const f=p(!1),{isSmallLg:x,isMobile:U}=X();async function z(){const g=await ue();P.value=g.data||0}async function j(){(await de()).success&&I.success(s("usercenter.syncComplete")),z()}async function V(g){try{f.value=!0;const _=await fe(g);if(f.value=!1,!_.success)return I.error(_.message);I.success(s("common.updateUserSuccess")),n.getUserInfo()}catch{f.value=!1}}function J(){w.value||(d.replace("/"),n.setLoginDialog(!0))}Z(()=>{J(),z()});function Y(){n.logOut(),d.replace("/")}return setTimeout(()=>{B.value=!1},500),(g,_)=>(l(),h(e(ke),{"has-sider":"",class:"flex h-full"},{default:r(()=>[e(x)?b("",!0):(l(),h(e($e),{key:0,"content-style":"padding: 24px;",bordered:"",width:"380"},{default:r(()=>[t("div",Ds,[t("div",As,[t("span",null,a(e(s)("usercenter.personalCenter")),1),o(e($),{tertiary:"",type:"error",onClick:Y},{default:r(()=>[k(a(e(s)("usercenter.logOut")),1)]),_:1})]),o(e(oe),{size:148,src:C.value,"fallback-src":e(Q)},null,8,["src","fallback-src"]),t("b",Ts,a(m.value),1),t("div",Bs,[t("div",Ls,a(e(s)("usercenter.myUsageRecord")),1),t("div",Rs,[t("span",Us,a(T.value),1),t("div",js,a(v.value.useModel3Count||"0")+" "+a(e(s)("usercenter.points")),1)]),t("div",zs,[t("span",Ws,a(e(L)),1),t("div",Hs,a(v.value.useModel4Count||"0")+" "+a(e(s)("usercenter.points")),1)]),M.value&&A.value?(l(),S("div",Vs,[t("span",Fs,a(e(s)("usercenter.bindWeChat")),1),t("div",Gs,[y.value?(l(),S("span",Os,a(e(s)("usercenter.weChatBound")),1)):(l(),h(e($),{key:0,text:"",onClick:_[0]||(_[0]=u=>e(i).updateBindwxDialog(!0))},{default:r(()=>[k(a(e(s)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):b("",!0),P.value>0?(l(),S("div",Qs,[t("span",Es,a(e(s)("usercenter.clickToBindWeChat")),1),t("div",qs,[o(e($),{text:"",onClick:j},{default:r(()=>[k(a(e(s)("usercenter.syncVisitorData")),1)]),_:1})])])):b("",!0)])]),v.value.expirationTime?(l(),S("div",Ks,[t("span",null,a(e(s)("usercenter.membershipExpiration")),1),t("span",null,a(v.value.expirationTime),1)])):b("",!0)]),_:1})),t("div",{class:ve(["flex flex-col",[e(U)?"w-full":"flex-1"]]),style:xe({padding:e(U)?"10px":"0 28px 0 28px"})},[o(e(Pe),{type:"line",animated:"",class:"mt-5 flex-1"},{default:r(()=>[e(x)?(l(),h(e(F),{key:0,name:"detail",tab:e(s)("usercenter.myDetails")},{default:r(()=>[o(Je)]),_:1},8,["tab"])):b("",!0),o(e(F),{name:"account",tab:e(s)("usercenter.myWallet")},{default:r(()=>[o(Is)]),_:1},8,["tab"]),o(e(F),{name:"baseInfo",tab:e(s)("usercenter.basicInfo")},{default:r(()=>[o(e(W),null,{header:r(()=>[B.value||!w.value?(l(),h(e(G),{key:0,size:"medium",width:"20%"})):(l(),S("div",Js,a(e(s)("usercenter.userBasicSettings")),1))]),default:r(()=>[B.value||!w.value?(l(),h(e(ne),{key:0,vertical:""},{default:r(()=>[o(e(G),{height:"40px",size:"medium"}),o(e(G),{height:"40px",size:"medium"}),o(e(G),{height:"80px",size:"medium"})]),_:1})):(l(),h(e(O),{key:1,"x-gap":"12",cols:1},{default:r(()=>[o(e(R),null,{default:r(()=>[t("div",Ys,[t("span",Xs,a(g.$t("setting.avatarLink")),1),t("div",Zs,[o(e(H),{value:C.value,"onUpdate:value":_[1]||(_[1]=u=>C.value=u),placeholder:e(s)("usercenter.avatarPlaceholder")},null,8,["value","placeholder"])]),o(e($),{size:"tiny",text:"",type:"primary",onClick:_[2]||(_[2]=u=>V({avatar:C.value}))},{default:r(()=>[k(a(g.$t("common.update")),1)]),_:1})]),t("div",et,[t("span",st,a(g.$t("setting.name")),1),t("div",tt,[o(e(H),{value:m.value,"onUpdate:value":_[3]||(_[3]=u=>m.value=u),placeholder:e(s)("usercenter.usernamePlaceholder"),maxlength:"12","show-count":"",clearable:""},null,8,["value","placeholder"])]),o(e($),{size:"tiny",text:"",type:"primary",onClick:_[4]||(_[4]=u=>V({username:m.value}))},{default:r(()=>[k(a(g.$t("common.update")),1)]),_:1})])]),_:1})]),_:1}))]),_:1})]),_:1},8,["tab"]),o(e(F),{name:"password",tab:e(s)("usercenter.passwordManagement")},{default:r(()=>[o(rs)]),_:1},8,["tab"])]),_:1})],6)]),_:1}))}});export{ct as default}; +import{d as E,n as ae,u as re,t as s,E as ie,F as ce,G as ue,H as de,J as fe}from"./index-40baf14c.js";import{u as X}from"./useBasicLayout-18dd2ca5.js";import{d as q,e as c,r as p,f as Z,R as l,S,a2 as t,U as h,V as r,c as k,a4 as a,L as e,a6 as b,W as o,af as se,a8 as pe,j as me,F as _e,a7 as he,a3 as ve,H as xe}from"./vue-c19408e5.js";import{y as $,F as oe,e as ee,G as R,w as ge,H as te,I as H,J as O,K as W,d as we,L as ne,M as be,O as ye,P as Ce,E as ke,C as $e,Q as F,t as G,R as Pe}from"./naive-ui-64ac446a.js";import{a as Ne,f as Se}from"./crami-173ca461.js";import"./vueuse-motion-563da5fd.js";const Q=""+new URL("avatar-e985e5ec.png",import.meta.url).href,Me={class:"flex flex-col justify-center items-center"},Ie={class:"text-2xl text-primary self-start mb-3 flex justify-between w-full"},De=t("span",null,null,-1),Ae={class:"mt-3 text-lg text-[#555]"},Te={class:"text-[#95aac9] mt-2"},Be={class:"self-start"},Le={class:"flex pl-3 pt-3 text-base font-bold text-primary"},Re={key:0,class:"flex pl-3 pt-3 text-base font-bold text-primary"},Ue={class:"flex items-center space-x-4 pl-3 mt-3"},je={class:"flex-shrink-0 w-24 text-primary"},ze={class:"w-[200px]"},We={class:"flex items-center space-x-4 pl-3 mt-3"},He={class:"flex-shrink-0 w-24 text-primary"},Ve={class:"w-[200px]"},Fe={class:"flex items-center space-x-4 pl-3 mt-3"},Ge={class:"flex-shrink-0 w-24 text-primary"},Oe={class:"w-[200px]"},Qe={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},Ee={class:"flex-shrink-0 w-24 text-primary"},qe={class:"w-[200px]"},Ke={key:1},Je=q({__name:"detail",setup(K){const i=E(),n=ae(),{userBalance:d}=i,P=re(),v=c(()=>i.userInfo.email||""),M=c(()=>i.userInfo.isBindWx),A=p(i.userInfo.avatar??Q),T=p(i.userInfo.username??s("usercenter.notLoggedIn"));p(i.userInfo.sign??s("usercenter.defaultSignature"));const L=c(()=>Number(i.globalConfig.wechatRegisterStatus)===1);function B(){i.logOut(),n.replace("/")}const w=c(()=>i.isLogin);return Z(()=>{w.value||i.setLoginDialog(!0)}),(I,y)=>(l(),S("div",Me,[t("div",Ie,[De,w.value?(l(),h(e($),{key:0,tertiary:"",type:"error",onClick:B},{default:r(()=>[k(a(e(s)("usercenter.logOut")),1)]),_:1})):b("",!0),w.value?b("",!0):(l(),h(e($),{key:1,tertiary:"",type:"success",onClick:y[0]||(y[0]=C=>e(i).setLoginDialog(!0))},{default:r(()=>[k(a(e(s)("usercenter.clickToLogin")),1)]),_:1}))]),o(e(oe),{size:148,src:A.value,"fallback-src":e(Q)},null,8,["src","fallback-src"]),t("b",Ae,a(T.value),1),t("span",Te,a(v.value),1),t("div",Be,[t("div",Le,[t("span",null,a(e(s)("usercenter.myUsageRecord")),1)]),e(d).expirationTime?(l(),S("div",Re,[t("span",null,a(e(s)("usercenter.membershipExpiration")),1),t("span",null,a(e(d).expirationTime),1)])):b("",!0),t("div",Ue,[t("span",je,a(e(s)("usercenter.basicModelCredits")),1),t("div",ze,a(e(d).sumModel3Count||"0")+" "+a(e(s)("usercenter.points")),1)]),t("div",We,[t("span",He,a(e(s)("usercenter.advancedModelCredits")),1),t("div",Ve,a(e(d).sumModel4Count||"0")+" "+a(e(s)("usercenter.points")),1)]),t("div",Fe,[t("span",Ge,a(e(s)("usercenter.drawingUsageCredits")),1),t("div",Oe,a(e(d).sumDrawMjCount||"0")+" "+a(e(s)("usercenter.points")),1)]),L.value?(l(),S("div",Qe,[t("span",Ee,a(e(s)("usercenter.bindWeChat")),1),t("div",qe,[M.value?(l(),S("span",Ke,a(e(s)("usercenter.weChatBound")),1)):(l(),h(e($),{key:0,text:"",onClick:y[1]||(y[1]=C=>e(P).updateBindwxDialog(!0))},{default:r(()=>[k(a(e(s)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):b("",!0)])]))}}),Ye={class:"flex justify-between"},Xe={class:"text-[#95AAC9]"},Ze={class:"text-base"},es={class:"text-[#95AAC9] mt-3"},ss={class:"ml-3 text-[#95AAC9] mt-2"},ts={class:"ml-3 text-[#95AAC9] mt-2"},as={class:"ml-3 text-[#95AAC9] mt-2"},rs=q({__name:"password",setup(K){const i=p({password:"",reenteredPassword:""}),n=i,d=p(null),P=p(null),v={password:[{required:!0,message:s("usercenter.enterPassword")}],reenteredPassword:[{required:!0,message:s("usercenter.reenterPassword"),trigger:["input","blur"]},{validator:M,message:s("usercenter.passwordsNotMatch"),trigger:"input"},{validator:A,message:s("usercenter.passwordsNotMatch"),trigger:["blur","password-input"]}]};function M(m,f){return!!i.value.password&&i.value.password.startsWith(f)&&i.value.password.length>=f.length}function A(m,f){return f===i.value.password}function T(){var m;i.value.reenteredPassword&&((m=P.value)==null||m.validate({trigger:"password-input"}))}const{isSmallXl:L}=X(),B=E(),w=ee();async function I(m){await ie(m),w.success(s("usercenter.passwordUpdateSuccess")),y(),B.updatePasswordSuccess()}function y(){i.value={password:"",reenteredPassword:""}}function C(m){var f;m.preventDefault(),(f=d.value)==null||f.validate(async x=>{if(!x){const{password:U}=i.value;I({password:U})}})}return(m,f)=>(l(),h(e(W),null,{header:r(()=>[t("div",null,a(e(s)("usercenter.changeYourPassword")),1)]),default:r(()=>[o(e(O),{"x-gap":24,"y-gap":24,cols:e(L)?1:3,class:"mt-3"},{default:r(()=>[o(e(R),{class:"border rounded-sm p-3 dark:border-[#ffffff17]",span:"2"},{default:r(()=>[o(e(ge),{ref_key:"formRef",ref:d,model:e(n),rules:v},{default:r(()=>[o(e(te),{path:"password",label:e(s)("usercenter.newPassword")},{default:r(()=>[o(e(H),{value:e(n).password,"onUpdate:value":f[0]||(f[0]=x=>e(n).password=x),type:"password",onInput:T,onKeydown:f[1]||(f[1]=se(pe(()=>{},["prevent"]),["enter"]))},null,8,["value"])]),_:1},8,["label"]),o(e(te),{ref_key:"rPasswordFormItemRef",ref:P,first:"",path:"reenteredPassword",label:e(s)("usercenter.confirmPassword")},{default:r(()=>[o(e(H),{value:e(n).reenteredPassword,"onUpdate:value":f[2]||(f[2]=x=>e(n).reenteredPassword=x),disabled:!e(n).password,type:"password",tabindex:"0",onKeyup:se(C,["enter"])},null,8,["value","disabled"])]),_:1},8,["label"]),t("div",Ye,[t("span",Xe,a(e(s)("usercenter.reloginAfterPasswordChange")),1),o(e($),{disabled:e(n).password===null,type:"primary",onClick:C},{default:r(()=>[k(a(e(s)("usercenter.updateYourPassword")),1)]),_:1},8,["disabled"])])]),_:1},8,["model"])]),_:1}),o(e(R),{class:"border rounded-sm p-3 dark:border-[#ffffff17]"},{default:r(()=>[t("b",Ze,a(e(s)("usercenter.passwordRequirements")),1),t("p",es,a(e(s)("usercenter.newPasswordInstructions")),1),t("div",ss,a(e(s)("usercenter.minimumCharacters")),1),t("div",ts,a(e(s)("usercenter.maximumCharacters")),1),t("div",as,a(e(s)("usercenter.requireNumber")),1)]),_:1})]),_:1},8,["cols"])]),_:1}))}}),os={1:s("rechargeTypes.1"),2:s("rechargeTypes.2"),3:s("rechargeTypes.3"),4:s("rechargeTypes.4"),5:s("rechargeTypes.5"),6:s("rechargeTypes.6"),7:s("rechargeTypes.7"),8:s("rechargeTypes.8")};s("orderStatus.0"),s("orderStatus.1"),s("orderStatus.2"),s("orderStatus.3");const ns={class:"flex h-full flex-col"},ls={class:"text-[#95aac9] mb-2 text-base"},is={class:"text-3xl text-[#555]"},cs={class:"ml-4 text-[#989898]"},us={class:"text-[#95aac9] mb-2 text-base"},ds={class:"text-3xl text-[#555]"},fs={class:"ml-4 text-[#989898]"},ps={class:"text-[#95aac9] mb-2 text-base"},ms={class:"text-3xl text-[#555]"},_s={class:"ml-4 text-[#989898]"},hs={class:"text-[#95aac9] mb-2 text-base"},vs={class:"relative"},xs=["src"],gs={class:"flex justify-between items-end min-h-28"},ws={class:"text-sm font-bold mr-1"},bs={class:"font-bold"},ys={class:"flex justify-between items-end min-h-28"},Cs={class:"text-sm font-bold mr-1"},ks={class:"font-bold"},$s={class:"flex justify-between items-end min-h-28"},Ps={class:"text-sm font-bold mr-1"},Ns={class:"font-bold"},Ss={class:"flex justify-between items-end mt-5"},Ms={class:"text-xl text-[red] font-bold"},Is=q({__name:"wallet",setup(K){const{isSmallMd:i,isMobile:n}=X(),d=E(),P=ee();we();const v=c(()=>d.userBalance),M=p(!1),A=p(""),T=p(!1),L=p([]),B=p(!1),w=c(()=>d.globalConfig.model3Name||s("usercenter.basicModelQuota")),I=c(()=>d.globalConfig.model4Name)||s("usercenter.advancedModelQuota"),y=c(()=>d.globalConfig.drawMjName)||s("usercenter.mjDrawingQuota"),C=c(()=>Number(d.globalConfig.isHideModel3Point)===1),m=c(()=>Number(d.globalConfig.isHideModel4Point)===1),f=c(()=>Number(d.globalConfig.isHideDrawMjPoint)===1),x=me({page:1,pageSize:10,showSizePicker:!0,pageSizes:[10,20,50],onChange:u=>{x.page=u,j()},onUpdatePageSize:u=>{x.pageSize=u,x.page=1,j()}}),U=c(()=>{const u=[{title:s("usercenter.orderNumber"),key:"uid"},{title:s("usercenter.rechargeType"),key:"rechargeType",render(D){return os[D.rechargeType]}},{title:s("usercenter.validity"),key:"expireDateCn"},{title:s("usercenter.rechargeTime"),key:"createdAt",render(D){return D.createdAt}}];return C.value||u.splice(2,0,{title:w.value,key:"model3Count"}),m.value||u.splice(3,0,{title:I.value,key:"model4Count"}),f.value||u.splice(4,0,{title:y.value,key:"drawMjCount"}),u}),z=p([]);async function j(){const u=await ce({page:x.page,size:x.pageSize}),{rows:D}=u.data;z.value=D}async function V(){P.warning(s("usercenter.enterCardSecret"));try{M.value=!0,await Ne({code:A.value}),P.success(s("usercenter.cardRedeemSuccess")),j(),d.getUserInfo(),M.value=!1}catch{P.error(s("usercenter.unknownError")),M.value=!1}}function J(){T.value=!0}async function Y(){const u=await Se({status:1,size:30});L.value=u.data.rows}const g=c(()=>{var u;return(u=d.globalConfig)==null?void 0:u.buyCramiAddress});function _(){window.open(g.value)}return Z(()=>{j()}),(u,D)=>(l(),S("div",ns,[o(e(W),null,{header:r(()=>[t("div",null,a(e(s)("usercenter.userWalletBalance")),1)]),default:r(()=>[o(e(O),{"x-gap":24,"y-gap":24,cols:e(i)?1:2,class:"mt-3"},{default:r(()=>[C.value?b("",!0):(l(),h(e(R),{key:0,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:r(()=>[t("div",ls,a(w.value),1),t("b",is,a(v.value.sumModel3Count>99999?"无限额度":v.value.sumModel3Count??0),1),t("span",cs,a(e(s)("usercenter.creditUsageNote")),1)]),_:1})),m.value?b("",!0):(l(),h(e(R),{key:1,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:r(()=>[t("div",us,a(e(I)),1),t("b",ds,a(v.value.sumModel4Count>99999?"无限额度":v.value.sumModel4Count??0),1),t("span",fs,a(e(s)("usercenter.modelConsumptionNote")),1)]),_:1})),f.value?b("",!0):(l(),h(e(R),{key:2,class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:r(()=>[t("div",ps,a(e(y)),1),t("b",ms,a(v.value.sumDrawMjCount>99999?"无限额度":v.value.sumDrawMjCount??0),1),t("span",_s,a(e(s)("usercenter.drawingConsumptionNote")),1)]),_:1})),o(e(R),{class:"border dark:border-[#ffffff17] rounded-sm p-3"},{default:r(()=>[t("div",hs,a(e(s)("usercenter.cardRecharge")),1),o(e(ne),{wrap:!1},{default:r(()=>[o(e(H),{value:A.value,"onUpdate:value":D[0]||(D[0]=N=>A.value=N),placeholder:e(s)("usercenter.enterCardDetails"),class:"mr-3",maxlength:"128","show-count":"",clearable:""},null,8,["value","placeholder"]),o(e($),{type:"primary",loading:M.value,onClick:V},{default:r(()=>[k(a(e(s)("usercenter.exchange")),1)]),_:1},8,["loading"]),g.value?(l(),h(e($),{key:0,type:"success",onClick:J},{default:r(()=>[k(a(e(s)("usercenter.buyCardSecret")),1)]),_:1})):b("",!0)]),_:1})]),_:1})]),_:1},8,["cols"])]),_:1}),o(e(W),{class:"mt-5 flex-1"},{header:r(()=>[t("div",null,a(e(s)("usercenter.rechargeRecords")),1)]),default:r(()=>[o(e(be),{columns:U.value,loading:B.value,"scroll-x":800,data:z.value,"max-height":"280",pagination:x},null,8,["columns","loading","data","pagination"])]),_:1}),o(e(Ce),{show:T.value,"onUpdate:show":D[1]||(D[1]=N=>T.value=N),width:e(i)?"100%":502,"on-after-enter":Y},{default:r(()=>[o(e(ye),{title:"{{ t('usercenter.packagePurchase') }}",closable:""},{default:r(()=>[o(e(O),{"x-gap":15,"y-gap":15,cols:e(i)?1:2,class:"mt-3"},{default:r(()=>[(l(!0),S(_e,null,he(L.value,(N,le)=>(l(),h(e(R),{key:le},{default:r(()=>[o(e(W),{size:"small",embedded:""},{header:r(()=>[t("div",vs,[t("b",null,a(N.name),1)])]),cover:r(()=>[t("img",{src:N.coverImg},null,8,xs)]),default:r(()=>[t("div",null,[t("p",null,a(N.des),1),t("div",gs,[t("span",ws,a(w.value),1),t("span",bs,a(N.model3Count),1)]),t("div",ys,[t("span",Cs,a(e(I)),1),t("span",ks,a(N.model4Count),1)]),t("div",$s,[t("span",Ps,a(e(y)),1),t("span",Ns,a(N.drawMjCount),1)]),t("div",Ss,[t("i",Ms,a(`¥${N.price}`),1),o(e($),{type:"primary",dashed:"",size:"small",onClick:_},{default:r(()=>[k(a(e(s)("usercenter.buyPackage")),1)]),_:1})])])]),_:2},1024)]),_:2},1024))),128))]),_:1},8,["cols"])]),_:1})]),_:1},8,["show","width"])]))}}),Ds={class:"flex flex-col justify-center items-center"},As={class:"text-2xl text-primary self-start mb-14 flex justify-between w-full"},Ts={class:"mt-3 text-lg text-[#555]"},Bs={class:"self-start mt-16"},Ls={class:"text-xl text-primary"},Rs={class:"flex items-center space-x-4 pl-3 mt-3"},Us={class:"flex-shrink-0 w-[150px] text-keft text-primary"},js={class:"w-[230px]"},zs={class:"flex items-center space-x-4 pl-3 mt-3"},Ws={class:"flex-shrink-0 w-[150px] text-keft text-primary"},Hs={class:"w-[230px]"},Vs={key:0,class:"flex items-center space-x-4 pl-3 mt-3"},Fs={class:"flex-shrink-0 w-[150px] text-keft text-primary"},Gs={class:"w-[230px]"},Os={key:1},Qs={key:1,class:"flex items-center space-x-4 pl-3 mt-3"},Es={class:"flex-shrink-0 w-[150px] text-keft text-primary"},qs={class:"w-[230px]"},Ks={key:0,class:"flex text-[red] pt-8 text-base font-bold"},Js={key:1},Ys={class:"flex items-center space-x-4"},Xs={class:"flex-shrink-0 w-[60px]"},Zs={class:"flex-1"},et={class:"flex items-center space-x-4 mt-5"},st={class:"flex-shrink-0 w-[60px]"},tt={class:"flex-1"},ct=q({__name:"index",setup(K){const i=re(),n=E(),d=ae(),P=p(0),v=c(()=>n.userBalance),M=c(()=>{var g;return(g=n.globalConfig)==null?void 0:g.isUseWxLogin}),A=c(()=>Number(n.globalConfig.wechatRegisterStatus)===1),T=c(()=>n.globalConfig.model3Name||s("goods.basicModelQuota")),L=c(()=>n.globalConfig.model4Name)||s("goods.advancedModelQuota");c(()=>n.globalConfig.drawMjName)||s("goods.drawingQuota"),c(()=>Number(n.globalConfig.isHideModel3Point)===1),c(()=>Number(n.globalConfig.isHideModel4Point)===1),c(()=>Number(n.globalConfig.isHideDrawMjPoint)===1);const B=p(!0),w=c(()=>n.isLogin),I=ee();c(()=>n.userInfo.email||"");const y=c(()=>n.userInfo.isBindWx),C=p(n.userInfo.avatar??Q),m=p(n.userInfo.username??"未登录");p(n.userInfo.sign??s("usercenter.defaultSignature"));const f=p(!1),{isSmallLg:x,isMobile:U}=X();async function z(){const g=await ue();P.value=g.data||0}async function j(){(await de()).success&&I.success(s("usercenter.syncComplete")),z()}async function V(g){try{f.value=!0;const _=await fe(g);if(f.value=!1,!_.success)return I.error(_.message);I.success(s("common.updateUserSuccess")),n.getUserInfo()}catch{f.value=!1}}function J(){w.value||(d.replace("/"),n.setLoginDialog(!0))}Z(()=>{J(),z()});function Y(){n.logOut(),d.replace("/")}return setTimeout(()=>{B.value=!1},500),(g,_)=>(l(),h(e(ke),{"has-sider":"",class:"flex h-full"},{default:r(()=>[e(x)?b("",!0):(l(),h(e($e),{key:0,"content-style":"padding: 24px;",bordered:"",width:"380"},{default:r(()=>[t("div",Ds,[t("div",As,[t("span",null,a(e(s)("usercenter.personalCenter")),1),o(e($),{tertiary:"",type:"error",onClick:Y},{default:r(()=>[k(a(e(s)("usercenter.logOut")),1)]),_:1})]),o(e(oe),{size:148,src:C.value,"fallback-src":e(Q)},null,8,["src","fallback-src"]),t("b",Ts,a(m.value),1),t("div",Bs,[t("div",Ls,a(e(s)("usercenter.myUsageRecord")),1),t("div",Rs,[t("span",Us,a(T.value),1),t("div",js,a(v.value.useModel3Count||"0")+" "+a(e(s)("usercenter.points")),1)]),t("div",zs,[t("span",Ws,a(e(L)),1),t("div",Hs,a(v.value.useModel4Count||"0")+" "+a(e(s)("usercenter.points")),1)]),M.value&&A.value?(l(),S("div",Vs,[t("span",Fs,a(e(s)("usercenter.bindWeChat")),1),t("div",Gs,[y.value?(l(),S("span",Os,a(e(s)("usercenter.weChatBound")),1)):(l(),h(e($),{key:0,text:"",onClick:_[0]||(_[0]=u=>e(i).updateBindwxDialog(!0))},{default:r(()=>[k(a(e(s)("usercenter.clickToBindWeChat")),1)]),_:1}))])])):b("",!0),P.value>0?(l(),S("div",Qs,[t("span",Es,a(e(s)("usercenter.clickToBindWeChat")),1),t("div",qs,[o(e($),{text:"",onClick:j},{default:r(()=>[k(a(e(s)("usercenter.syncVisitorData")),1)]),_:1})])])):b("",!0)])]),v.value.expirationTime?(l(),S("div",Ks,[t("span",null,a(e(s)("usercenter.membershipExpiration")),1),t("span",null,a(v.value.expirationTime),1)])):b("",!0)]),_:1})),t("div",{class:ve(["flex flex-col",[e(U)?"w-full":"flex-1"]]),style:xe({padding:e(U)?"10px":"0 28px 0 28px"})},[o(e(Pe),{type:"line",animated:"",class:"mt-5 flex-1"},{default:r(()=>[e(x)?(l(),h(e(F),{key:0,name:"detail",tab:e(s)("usercenter.myDetails")},{default:r(()=>[o(Je)]),_:1},8,["tab"])):b("",!0),o(e(F),{name:"account",tab:e(s)("usercenter.myWallet")},{default:r(()=>[o(Is)]),_:1},8,["tab"]),o(e(F),{name:"baseInfo",tab:e(s)("usercenter.basicInfo")},{default:r(()=>[o(e(W),null,{header:r(()=>[B.value||!w.value?(l(),h(e(G),{key:0,size:"medium",width:"20%"})):(l(),S("div",Js,a(e(s)("usercenter.userBasicSettings")),1))]),default:r(()=>[B.value||!w.value?(l(),h(e(ne),{key:0,vertical:""},{default:r(()=>[o(e(G),{height:"40px",size:"medium"}),o(e(G),{height:"40px",size:"medium"}),o(e(G),{height:"80px",size:"medium"})]),_:1})):(l(),h(e(O),{key:1,"x-gap":"12",cols:1},{default:r(()=>[o(e(R),null,{default:r(()=>[t("div",Ys,[t("span",Xs,a(g.$t("setting.avatarLink")),1),t("div",Zs,[o(e(H),{value:C.value,"onUpdate:value":_[1]||(_[1]=u=>C.value=u),placeholder:e(s)("usercenter.avatarPlaceholder")},null,8,["value","placeholder"])]),o(e($),{size:"tiny",text:"",type:"primary",onClick:_[2]||(_[2]=u=>V({avatar:C.value}))},{default:r(()=>[k(a(g.$t("common.update")),1)]),_:1})]),t("div",et,[t("span",st,a(g.$t("setting.name")),1),t("div",tt,[o(e(H),{value:m.value,"onUpdate:value":_[3]||(_[3]=u=>m.value=u),placeholder:e(s)("usercenter.usernamePlaceholder"),maxlength:"12","show-count":"",clearable:""},null,8,["value","placeholder"])]),o(e($),{size:"tiny",text:"",type:"primary",onClick:_[4]||(_[4]=u=>V({username:m.value}))},{default:r(()=>[k(a(g.$t("common.update")),1)]),_:1})])]),_:1})]),_:1}))]),_:1})]),_:1},8,["tab"]),o(e(F),{name:"password",tab:e(s)("usercenter.passwordManagement")},{default:r(()=>[o(rs)]),_:1},8,["tab"])]),_:1})],6)]),_:1}))}});export{ct as default}; diff --git a/public/chat/assets/index-404bb920.css b/AIWebQuickDeploy/public/chat/assets/index-404bb920.css similarity index 100% rename from public/chat/assets/index-404bb920.css rename to AIWebQuickDeploy/public/chat/assets/index-404bb920.css diff --git a/AIWebQuickDeploy/public/chat/assets/index-40baf14c.js b/AIWebQuickDeploy/public/chat/assets/index-40baf14c.js new file mode 100644 index 0000000..cb70227 --- /dev/null +++ b/AIWebQuickDeploy/public/chat/assets/index-40baf14c.js @@ -0,0 +1,62 @@ +import{d as Qe,R as zi,U as Ki,V as Et,W as it,L as ke,m as W0,l as xt,X as ao,r as pr,E as Yi,Y as j0,a as Xe,w as wt,j as Qi,M as Ut,Z as Xi,_ as $0,J as q0,K as G0,n as Ji,$ as V0,e as Ee,g as Ht,f as Zi,G as z0,F as es,x as ts,D as K0,a0 as Y0,p as Tr,O as Q0,a1 as X0}from"./vue-c19408e5.js";import{N as J0,a as Z0,b as ec,c as tc,u as rc,d as nc,e as oc,f as ac,g as ic,h as te,i as sc,j as cc,k as nr,l as lc,m as uc,n as fc,o as Rr}from"./naive-ui-64ac446a.js";import{i as dc}from"./vueuse-motion-563da5fd.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const xc="modulepreload",hc=function(e,t){return new URL(e,t).href},qo={},ot=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=hc(a,n),a in qo)return;qo[a]=!0;const i=a.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const d=o[u];if(d.href===a&&(!i||d.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${l}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":xc,i||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),i)return new Promise((u,d)=>{c.addEventListener("load",u),c.addEventListener("error",()=>d(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})},pc=""+new URL("favicon-25a41591.ico",import.meta.url).href,mc=Qe({__name:"index",setup(e){function t(){window.$loadingBar=rc(),window.$dialog=nc(),window.$message=oc(),window.$notification=ac()}const r=Qe({name:"NaiveProviderContent",setup(){t()},render(){return xt("div")}});return(n,o)=>(zi(),Ki(ke(tc),null,{default:Et(()=>[it(ke(ec),null,{default:Et(()=>[it(ke(J0),null,{default:Et(()=>[it(ke(Z0),null,{default:Et(()=>[W0(n.$slots,"default"),it(ke(r))]),_:3})]),_:3})]),_:3})]),_:3}))}}),Lt=/^[a-z0-9]+(-[a-z0-9]+)*$/,mr=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),f=o.pop(),c={provider:o.length>0?o[0]:n,prefix:f,name:l};return t&&!or(c)?null:c}const a=o[0],i=a.split("-");if(i.length>1){const l={provider:n,prefix:i.shift(),name:i.join("-")};return t&&!or(l)?null:l}if(r&&n===""){const l={provider:n,prefix:"",name:a};return t&&!or(l,r)?null:l}return null},or=(e,t)=>e?!!((e.provider===""||e.provider.match(Lt))&&(t&&e.prefix===""||e.prefix.match(Lt))&&e.name.match(Lt)):!1,rs=Object.freeze({left:0,top:0,width:16,height:16}),fr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),gr=Object.freeze({...rs,...fr}),Fn=Object.freeze({...gr,body:"",hidden:!1});function gc(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function Go(e,t){const r=gc(e,t);for(const n in Fn)n in fr?n in e&&!(n in r)&&(r[n]=fr[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function vc(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function a(i){if(r[i])return o[i]=[];if(!(i in o)){o[i]=null;const l=n[i]&&n[i].parent,f=l&&a(l);f&&(o[i]=[l].concat(f))}return o[i]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(a),o}function bc(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let a={};function i(l){a=Go(n[l]||o[l],a)}return i(t),r.forEach(i),Go(e,a)}function ns(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=vc(e);for(const o in n){const a=n[o];a&&(t(o,bc(e,o,a)),r.push(o))}return r}const Cc={provider:"",aliases:{},not_found:{},...rs};function Ir(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function os(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Ir(e,Cc))return null;const r=t.icons;for(const o in r){const a=r[o];if(!o.match(Lt)||typeof a.body!="string"||!Ir(a,Fn))return null}const n=t.aliases||Object.create(null);for(const o in n){const a=n[o],i=a.parent;if(!o.match(Lt)||typeof i!="string"||!r[i]&&!n[i]||!Ir(a,Fn))return null}return t}const Vo=Object.create(null);function yc(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function ht(e,t){const r=Vo[e]||(Vo[e]=Object.create(null));return r[t]||(r[t]=yc(e,t))}function io(e,t){return os(t)?ns(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function Ec(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Wt=!1;function as(e){return typeof e=="boolean"&&(Wt=e),Wt}function wc(e){const t=typeof e=="string"?mr(e,!0,Wt):e;if(t){const r=ht(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function _c(e,t){const r=mr(e,!0,Wt);if(!r)return!1;const n=ht(r.provider,r.prefix);return Ec(n,r.name,t)}function Ac(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Wt&&!t&&!e.prefix){let o=!1;return os(e)&&(e.prefix="",ns(e,(a,i)=>{i&&_c(a,i)&&(o=!0)})),o}const r=e.prefix;if(!or({provider:t,prefix:r,name:"a"}))return!1;const n=ht(t,r);return!!io(n,e)}const is=Object.freeze({width:null,height:null}),ss=Object.freeze({...is,...fr}),Sc=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Dc=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function zo(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Sc);if(n===null||!n.length)return e;const o=[];let a=n.shift(),i=Dc.test(a);for(;;){if(i){const l=parseFloat(a);isNaN(l)?o.push(a):o.push(Math.ceil(l*t*r)/r)}else o.push(a);if(a=n.shift(),a===void 0)return o.join("");i=!i}}const Bc=e=>e==="unset"||e==="undefined"||e==="none";function Fc(e,t){const r={...gr,...e},n={...ss,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,n].forEach(h=>{const p=[],m=h.hFlip,b=h.vFlip;let g=h.rotate;m?b?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):b&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let v;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:v=o.height/2+o.top,p.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:v=o.width/2+o.left,p.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}g%2===1&&(o.left!==o.top&&(v=o.left,o.left=o.top,o.top=v),o.width!==o.height&&(v=o.width,o.width=o.height,o.height=v)),p.length&&(a=''+a+"")});const i=n.width,l=n.height,f=o.width,c=o.height;let u,d;i===null?(d=l===null?"1em":l==="auto"?c:l,u=zo(d,f/c)):(u=i==="auto"?f:i,d=l===null?zo(u,c/f):l==="auto"?c:l);const s={},x=(h,p)=>{Bc(p)||(s[h]=p.toString())};return x("width",u),x("height",d),s.viewBox=o.left.toString()+" "+o.top.toString()+" "+f.toString()+" "+c.toString(),{attributes:s,body:a}}const Pc=/\sid="(\S+)"/g,kc="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Tc=0;function Rc(e,t=kc){const r=[];let n;for(;n=Pc.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(a=>{const i=typeof t=="function"?t(a):t+(Tc++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const Pn=Object.create(null);function Ic(e,t){Pn[e]=t}function kn(e){return Pn[e]||Pn[""]}function so(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const co=Object.create(null),kt=["https://api.simplesvg.com","https://api.unisvg.com"],ar=[];for(;kt.length>0;)kt.length===1||Math.random()>.5?ar.push(kt.shift()):ar.push(kt.pop());co[""]=so({resources:["https://api.iconify.design"].concat(ar)});function Lc(e,t){const r=so(t);return r===null?!1:(co[e]=r,!0)}function lo(e){return co[e]}const Nc=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Ko=Nc();function Oc(e,t){const r=lo(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(i=>{o=Math.max(o,i.length)});const a=t+".json?icons=";n=r.maxURL-o-r.path.length-a.length}return n}function Mc(e){return e===404}const Uc=(e,t,r)=>{const n=[],o=Oc(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return r.forEach((f,c)=>{l+=f.length+1,l>=o&&c>0&&(n.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=f.length),i.icons.push(f)}),n.push(i),n};function Hc(e){if(typeof e=="string"){const t=lo(e);if(t)return t.path}return"/"}const Wc=(e,t,r)=>{if(!Ko){r("abort",424);return}let n=Hc(t.provider);switch(t.type){case"icons":{const a=t.prefix,l=t.icons.join(","),f=new URLSearchParams({icons:l});n+=a+".json?"+f.toString();break}case"custom":{const a=t.uri;n+=a.slice(0,1)==="/"?a.slice(1):a;break}default:r("abort",400);return}let o=503;Ko(e+n).then(a=>{const i=a.status;if(i!==200){setTimeout(()=>{r(Mc(i)?"abort":"next",i)});return}return o=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?r("abort",a):r("next",o)});return}setTimeout(()=>{r("success",a)})}).catch(()=>{r("next",o)})},jc={prepare:Uc,send:Wc};function $c(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,a)=>o.provider!==a.provider?o.provider.localeCompare(a.provider):o.prefix!==a.prefix?o.prefix.localeCompare(a.prefix):o.name.localeCompare(a.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const a=o.provider,i=o.prefix,l=o.name,f=r[a]||(r[a]=Object.create(null)),c=f[i]||(f[i]=ht(a,i));let u;l in c.icons?u=t.loaded:i===""||c.missing.has(l)?u=t.missing:u=t.pending;const d={provider:a,prefix:i,name:l};u.push(d)}),t}function cs(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function qc(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(a=>{const i=a.icons,l=i.pending.length;i.pending=i.pending.filter(f=>{if(f.prefix!==o)return!0;const c=f.name;if(e.icons[c])i.loaded.push({provider:n,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:n,prefix:o,name:c});else return r=!0,!0;return!1}),i.pending.length!==l&&(r||cs([e],a.id),a.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),a.abort))})}))}let Gc=0;function Vc(e,t,r){const n=Gc++,o=cs.bind(null,r,n);if(!t.pending.length)return o;const a={id:n,icons:t,callback:e,abort:o};return r.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(a)}),o}function zc(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const a=typeof o=="string"?mr(o,t,r):o;a&&n.push(a)}),n}var Kc={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Yc(e,t,r,n){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let y=e.resources.slice(0);for(i=[];y.length>1;){const w=Math.floor(Math.random()*y.length);i.push(y[w]),y=y.slice(0,w).concat(y.slice(w+1))}i=i.concat(y)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let f="pending",c=0,u,d=null,s=[],x=[];typeof n=="function"&&x.push(n);function h(){d&&(clearTimeout(d),d=null)}function p(){f==="pending"&&(f="aborted"),h(),s.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),s=[]}function m(y,w){w&&(x=[]),typeof y=="function"&&x.push(y)}function b(){return{startTime:l,payload:t,status:f,queriesSent:c,queriesPending:s.length,subscribe:m,abort:p}}function g(){f="failed",x.forEach(y=>{y(void 0,u)})}function v(){s.forEach(y=>{y.status==="pending"&&(y.status="aborted")}),s=[]}function C(y,w,D){const F=w!=="success";switch(s=s.filter(S=>S!==y),f){case"pending":break;case"failed":if(F||!e.dataAfterTimeout)return;break;default:return}if(w==="abort"){u=D,g();return}if(F){u=D,s.length||(i.length?E():g());return}if(h(),v(),!e.random){const S=e.resources.indexOf(y.resource);S!==-1&&S!==e.index&&(e.index=S)}f="completed",x.forEach(S=>{S(D)})}function E(){if(f!=="pending")return;h();const y=i.shift();if(y===void 0){if(s.length){d=setTimeout(()=>{h(),f==="pending"&&(v(),g())},e.timeout);return}g();return}const w={status:"pending",resource:y,callback:(D,F)=>{C(w,D,F)}};s.push(w),c++,d=setTimeout(E,e.rotate),r(y,t,w.callback)}return setTimeout(E),b}function ls(e){const t={...Kc,...e};let r=[];function n(){r=r.filter(l=>l().status==="pending")}function o(l,f,c){const u=Yc(t,l,f,(d,s)=>{n(),c&&c(d,s)});return r.push(u),u}function a(l){return r.find(f=>l(f))||null}return{query:o,find:a,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:n}}function Yo(){}const Lr=Object.create(null);function Qc(e){if(!Lr[e]){const t=lo(e);if(!t)return;const r=ls(t),n={config:t,redundancy:r};Lr[e]=n}return Lr[e]}function Xc(e,t,r){let n,o;if(typeof e=="string"){const a=kn(e);if(!a)return r(void 0,424),Yo;o=a.send;const i=Qc(e);i&&(n=i.redundancy)}else{const a=so(e);if(a){n=ls(a);const i=e.resources?e.resources[0]:"",l=kn(i);l&&(o=l.send)}}return!n||!o?(r(void 0,424),Yo):n.query(t,o,r)().abort}const Qo="iconify2",jt="iconify",us=jt+"-count",Xo=jt+"-version",fs=36e5,Jc=168;function Tn(e,t){try{return e.getItem(t)}catch{}}function uo(e,t,r){try{return e.setItem(t,r),!0}catch{}}function Jo(e,t){try{e.removeItem(t)}catch{}}function Rn(e,t){return uo(e,us,t.toString())}function In(e){return parseInt(Tn(e,us))||0}const vr={local:!0,session:!0},ds={local:new Set,session:new Set};let fo=!1;function Zc(e){fo=e}let Zt=typeof window>"u"?{}:window;function xs(e){const t=e+"Storage";try{if(Zt&&Zt[t]&&typeof Zt[t].length=="number")return Zt[t]}catch{}vr[e]=!1}function hs(e,t){const r=xs(e);if(!r)return;const n=Tn(r,Xo);if(n!==Qo){if(n){const l=In(r);for(let f=0;f{const f=jt+l.toString(),c=Tn(r,f);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}Jo(r,f)}};let i=In(r);for(let l=i-1;l>=0;l--)a(l)||(l===i-1?(i--,Rn(r,i)):ds[e].add(l))}function ps(){if(!fo){Zc(!0);for(const e in vr)hs(e,t=>{const r=t.data,n=t.provider,o=r.prefix,a=ht(n,o);if(!io(a,r).length)return!1;const i=r.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,i):i,!0})}}function el(e,t){const r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(const n in vr)hs(n,o=>{const a=o.data;return o.provider!==e.provider||a.prefix!==e.prefix||a.lastModified===t});return!0}function tl(e,t){fo||ps();function r(n){let o;if(!vr[n]||!(o=xs(n)))return;const a=ds[n];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=In(o),!Rn(o,i+1))return;const l={cached:Math.floor(Date.now()/fs),provider:e.provider,data:t};return uo(o,jt+i.toString(),JSON.stringify(l))}t.lastModified&&!el(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),r("local")||r("session"))}function Zo(){}function rl(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,qc(e)}))}function nl(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,o=e.iconsToLoad;delete e.iconsToLoad;let a;if(!o||!(a=kn(r)))return;a.prepare(r,n,o).forEach(l=>{Xc(r,l,f=>{if(typeof f!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=io(e,f);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(d=>{u.delete(d)}),tl(e,f)}catch(c){console.error(c)}rl(e)})})}))}const ol=(e,t)=>{const r=zc(e,!0,as()),n=$c(r);if(!n.pending.length){let f=!0;return t&&setTimeout(()=>{f&&t(n.loaded,n.missing,n.pending,Zo)}),()=>{f=!1}}const o=Object.create(null),a=[];let i,l;return n.pending.forEach(f=>{const{provider:c,prefix:u}=f;if(u===l&&c===i)return;i=c,l=u,a.push(ht(c,u));const d=o[c]||(o[c]=Object.create(null));d[u]||(d[u]=[])}),n.pending.forEach(f=>{const{provider:c,prefix:u,name:d}=f,s=ht(c,u),x=s.pendingIcons||(s.pendingIcons=new Set);x.has(d)||(x.add(d),o[c][u].push(d))}),a.forEach(f=>{const{provider:c,prefix:u}=f;o[c][u].length&&nl(f,o[c][u])}),t?Vc(t,n,a):Zo};function al(e,t){const r={...e};for(const n in t){const o=t[n],a=typeof o;n in is?(o===null||o&&(a==="string"||a==="number"))&&(r[n]=o):a===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const il=/[\s,]+/;function sl(e,t){t.split(il).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function cl(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let a=parseFloat(e.slice(0,e.length-r.length));return isNaN(a)?0:(a=a/o,a%1===0?n(a):0)}}return t}function ll(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'"+e+""}function ul(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function fl(e){return"data:image/svg+xml,"+ul(e)}function dl(e){return'url("'+fl(e)+'")'}const ea={...ss,inline:!1},xl={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},hl={display:"inline-block"},Ln={backgroundColor:"currentColor"},ms={backgroundColor:"transparent"},ta={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},ra={webkitMask:Ln,mask:Ln,background:ms};for(const e in ra){const t=ra[e];for(const r in ta)t[e+r]=ta[r]}const ir={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ir[e+"-flip"]=t,ir[e.slice(0,1)+"-flip"]=t,ir[e+"Flip"]=t});function na(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const oa=(e,t)=>{const r=al(ea,t),n={...xl},o=t.mode||"svg",a={},i=t.style,l=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const m=t[p];if(m!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":r[p]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&sl(r,m);break;case"color":a.color=m;break;case"rotate":typeof m=="string"?r[p]=cl(m):typeof m=="number"&&(r[p]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete n["aria-hidden"];break;default:{const b=ir[p];b?(m===!0||m==="true"||m===1)&&(r[b]=!0):ea[p]===void 0&&(n[p]=m)}}}const f=Fc(e,r),c=f.attributes;if(r.inline&&(a.verticalAlign="-0.125em"),o==="svg"){n.style={...a,...l},Object.assign(n,c);let p=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),n.innerHTML=Rc(f.body,m?()=>m+"ID"+p++:"iconifyVue"),xt("svg",n)}const{body:u,width:d,height:s}=e,x=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),h=ll(u,{...c,width:d+"",height:s+""});return n.style={...a,"--svg":dl(h),width:na(c.width),height:na(c.height),...hl,...x?Ln:ms,...l},xt("span",n)};as(!0);Ic("",jc);if(typeof document<"u"&&typeof window<"u"){ps();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!Ac(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;Lc(r,o)||console.error(n)}catch{console.error(n)}}}}const pl={...gr,body:""},dm=Qe({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=mr(e,!1,!0))===null)return this.abortLoading(),null;const n=wc(r);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:e,abort:ol([r],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const o=["iconify"];return r.prefix!==""&&o.push("iconify--"+r.prefix),r.provider!==""&&o.push("iconify--"+r.provider),{data:n,classes:o}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return oa(pl,e);let r=e;return t.classes&&(r={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),oa({...gr,...t.data},r)}});/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let gs;const br=e=>gs=e,vs=Symbol();function Nn(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Nt;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Nt||(Nt={}));function ml(){const e=ao(!0),t=e.run(()=>pr({}));let r=[],n=[];const o=Yi({install(a){br(o),o._a=a,a.provide(vs,o),a.config.globalProperties.$pinia=o,n.forEach(i=>r.push(i)),n=[]},use(a){return!this._a&&!dc?n.push(a):r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return o}const bs=()=>{};function aa(e,t,r,n=bs){e.push(t);const o=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!r&&q0()&&G0(o),o}function bt(e,...t){e.slice().forEach(r=>{r(...t)})}const gl=e=>e();function On(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],o=e[r];Nn(o)&&Nn(n)&&e.hasOwnProperty(r)&&!Ut(n)&&!Xi(n)?e[r]=On(o,n):e[r]=n}return e}const vl=Symbol();function bl(e){return!Nn(e)||!e.hasOwnProperty(vl)}const{assign:nt}=Object;function Cl(e){return!!(Ut(e)&&e.effect)}function yl(e,t,r,n){const{state:o,actions:a,getters:i}=t,l=r.state.value[e];let f;function c(){l||(r.state.value[e]=o?o():{});const u=V0(r.state.value[e]);return nt(u,a,Object.keys(i||{}).reduce((d,s)=>(d[s]=Yi(Ee(()=>{br(r);const x=r._s.get(e);return i[s].call(x,x)})),d),{}))}return f=Cs(e,c,t,r,n,!0),f}function Cs(e,t,r={},n,o,a){let i;const l=nt({actions:{}},r),f={deep:!0};let c,u,d=[],s=[],x;const h=n.state.value[e];!a&&!h&&(n.state.value[e]={}),pr({});let p;function m(D){let F;c=u=!1,typeof D=="function"?(D(n.state.value[e]),F={type:Nt.patchFunction,storeId:e,events:x}):(On(n.state.value[e],D),F={type:Nt.patchObject,payload:D,storeId:e,events:x});const S=p=Symbol();Ji().then(()=>{p===S&&(c=!0)}),u=!0,bt(d,F,n.state.value[e])}const b=a?function(){const{state:F}=r,S=F?F():{};this.$patch(B=>{nt(B,S)})}:bs;function g(){i.stop(),d=[],s=[],n._s.delete(e)}function v(D,F){return function(){br(n);const S=Array.from(arguments),B=[],T=[];function I(Y){B.push(Y)}function V(Y){T.push(Y)}bt(s,{args:S,name:D,store:E,after:I,onError:V});let q;try{q=F.apply(this&&this.$id===e?this:E,S)}catch(Y){throw bt(T,Y),Y}return q instanceof Promise?q.then(Y=>(bt(B,Y),Y)).catch(Y=>(bt(T,Y),Promise.reject(Y))):(bt(B,q),q)}}const C={_p:n,$id:e,$onAction:aa.bind(null,s),$patch:m,$reset:b,$subscribe(D,F={}){const S=aa(d,D,F.detached,()=>B()),B=i.run(()=>wt(()=>n.state.value[e],T=>{(F.flush==="sync"?u:c)&&D({storeId:e,type:Nt.direct,events:x},T)},nt({},f,F)));return S},$dispose:g},E=Qi(C);n._s.set(e,E);const w=(n._a&&n._a.runWithContext||gl)(()=>n._e.run(()=>(i=ao()).run(t)));for(const D in w){const F=w[D];if(Ut(F)&&!Cl(F)||Xi(F))a||(h&&bl(F)&&(Ut(F)?F.value=h[D]:On(F,h[D])),n.state.value[e][D]=F);else if(typeof F=="function"){const S=v(D,F);w[D]=S,l.actions[D]=F}}return nt(E,w),nt($0(E),w),Object.defineProperty(E,"$state",{get:()=>n.state.value[e],set:D=>{m(F=>{nt(F,D)})}}),n._p.forEach(D=>{nt(E,i.run(()=>D({store:E,app:n._a,pinia:n,options:l})))}),h&&a&&r.hydrate&&r.hydrate(E.$state,h),c=!0,u=!0,E}function pt(e,t,r){let n,o;const a=typeof t=="function";typeof e=="string"?(n=e,o=a?r:t):(o=e,n=e.id);function i(l,f){const c=j0();return l=l||(c?Xe(vs,null):null),l&&br(l),l=gs,l._s.has(n)||(a?Cs(n,t,o,l):yl(n,o,l)),l._s.get(n)}return i.$id=n,i}var ys={exports:{}};function El(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Nr={exports:{}};const wl={},_l=Object.freeze(Object.defineProperty({__proto__:null,default:wl},Symbol.toStringTag,{value:"Module"})),Al=ic(_l);var ia;function fe(){return ia||(ia=1,function(e,t){(function(r,n){e.exports=n()})(te,function(){var r=r||function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof te<"u"&&te.crypto&&(a=te.crypto),!a&&typeof El=="function")try{a=Al}catch{}var i=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function g(){}return function(v){var C;return g.prototype=v,C=new g,g.prototype=null,C}}(),f={},c=f.lib={},u=c.Base=function(){return{extend:function(g){var v=l(this);return g&&v.mixIn(g),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var v in g)g.hasOwnProperty(v)&&(this[v]=g[v]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),d=c.WordArray=u.extend({init:function(g,v){g=this.words=g||[],v!=o?this.sigBytes=v:this.sigBytes=g.length*4},toString:function(g){return(g||x).stringify(this)},concat:function(g){var v=this.words,C=g.words,E=this.sigBytes,y=g.sigBytes;if(this.clamp(),E%4)for(var w=0;w>>2]>>>24-w%4*8&255;v[E+w>>>2]|=D<<24-(E+w)%4*8}else for(var F=0;F>>2]=C[F>>>2];return this.sigBytes+=y,this},clamp:function(){var g=this.words,v=this.sigBytes;g[v>>>2]&=4294967295<<32-v%4*8,g.length=n.ceil(v/4)},clone:function(){var g=u.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var v=[],C=0;C>>2]>>>24-y%4*8&255;E.push((w>>>4).toString(16)),E.push((w&15).toString(16))}return E.join("")},parse:function(g){for(var v=g.length,C=[],E=0;E>>3]|=parseInt(g.substr(E,2),16)<<24-E%8*4;return new d.init(C,v/2)}},h=s.Latin1={stringify:function(g){for(var v=g.words,C=g.sigBytes,E=[],y=0;y>>2]>>>24-y%4*8&255;E.push(String.fromCharCode(w))}return E.join("")},parse:function(g){for(var v=g.length,C=[],E=0;E>>2]|=(g.charCodeAt(E)&255)<<24-E%4*8;return new d.init(C,v)}},p=s.Utf8={stringify:function(g){try{return decodeURIComponent(escape(h.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return h.parse(unescape(encodeURIComponent(g)))}},m=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new d.init,this._nDataBytes=0},_append:function(g){typeof g=="string"&&(g=p.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var v,C=this._data,E=C.words,y=C.sigBytes,w=this.blockSize,D=w*4,F=y/D;g?F=n.ceil(F):F=n.max((F|0)-this._minBufferSize,0);var S=F*w,B=n.min(S*4,y);if(S){for(var T=0;T>>2]|=f[d]<<24-d%4*8;i.call(this,u,c)}else i.apply(this,arguments)};l.prototype=a}}(),r.lib.WordArray})}(Mr)),Mr.exports}var Ur={exports:{}},la;function Dl(){return la||(la=1,function(e,t){(function(r,n){e.exports=n(fe())})(te,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Utf16=i.Utf16BE={stringify:function(f){for(var c=f.words,u=f.sigBytes,d=[],s=0;s>>2]>>>16-s%4*8&65535;d.push(String.fromCharCode(x))}return d.join("")},parse:function(f){for(var c=f.length,u=[],d=0;d>>1]|=f.charCodeAt(d)<<16-d%2*16;return a.create(u,c*2)}},i.Utf16LE={stringify:function(f){for(var c=f.words,u=f.sigBytes,d=[],s=0;s>>2]>>>16-s%4*8&65535);d.push(String.fromCharCode(x))}return d.join("")},parse:function(f){for(var c=f.length,u=[],d=0;d>>1]|=l(f.charCodeAt(d)<<16-d%2*16);return a.create(u,c*2)}};function l(f){return f<<8&4278255360|f>>>8&16711935}}(),r.enc.Utf16})}(Ur)),Ur.exports}var Hr={exports:{}},ua;function mt(){return ua||(ua=1,function(e,t){(function(r,n){e.exports=n(fe())})(te,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64={stringify:function(f){var c=f.words,u=f.sigBytes,d=this._map;f.clamp();for(var s=[],x=0;x>>2]>>>24-x%4*8&255,p=c[x+1>>>2]>>>24-(x+1)%4*8&255,m=c[x+2>>>2]>>>24-(x+2)%4*8&255,b=h<<16|p<<8|m,g=0;g<4&&x+g*.75>>6*(3-g)&63));var v=d.charAt(64);if(v)for(;s.length%4;)s.push(v);return s.join("")},parse:function(f){var c=f.length,u=this._map,d=this._reverseMap;if(!d){d=this._reverseMap=[];for(var s=0;s>>6-x%4*2,m=h|p;d[s>>>2]|=m<<24-s%4*8,s++}return a.create(d,s)}}(),r.enc.Base64})}(Hr)),Hr.exports}var Wr={exports:{}},fa;function Bl(){return fa||(fa=1,function(e,t){(function(r,n){e.exports=n(fe())})(te,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64url={stringify:function(f,c){c===void 0&&(c=!0);var u=f.words,d=f.sigBytes,s=c?this._safe_map:this._map;f.clamp();for(var x=[],h=0;h>>2]>>>24-h%4*8&255,m=u[h+1>>>2]>>>24-(h+1)%4*8&255,b=u[h+2>>>2]>>>24-(h+2)%4*8&255,g=p<<16|m<<8|b,v=0;v<4&&h+v*.75>>6*(3-v)&63));var C=s.charAt(64);if(C)for(;x.length%4;)x.push(C);return x.join("")},parse:function(f,c){c===void 0&&(c=!0);var u=f.length,d=c?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var x=0;x>>6-x%4*2,m=h|p;d[s>>>2]|=m<<24-s%4*8,s++}return a.create(d,s)}}(),r.enc.Base64url})}(Wr)),Wr.exports}var jr={exports:{}},da;function gt(){return da||(da=1,function(e,t){(function(r,n){e.exports=n(fe())})(te,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[];(function(){for(var p=0;p<64;p++)c[p]=n.abs(n.sin(p+1))*4294967296|0})();var u=f.MD5=l.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,m){for(var b=0;b<16;b++){var g=m+b,v=p[g];p[g]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var C=this._hash.words,E=p[m+0],y=p[m+1],w=p[m+2],D=p[m+3],F=p[m+4],S=p[m+5],B=p[m+6],T=p[m+7],I=p[m+8],V=p[m+9],q=p[m+10],Y=p[m+11],ce=p[m+12],se=p[m+13],ae=p[m+14],ie=p[m+15],L=C[0],U=C[1],H=C[2],O=C[3];L=d(L,U,H,O,E,7,c[0]),O=d(O,L,U,H,y,12,c[1]),H=d(H,O,L,U,w,17,c[2]),U=d(U,H,O,L,D,22,c[3]),L=d(L,U,H,O,F,7,c[4]),O=d(O,L,U,H,S,12,c[5]),H=d(H,O,L,U,B,17,c[6]),U=d(U,H,O,L,T,22,c[7]),L=d(L,U,H,O,I,7,c[8]),O=d(O,L,U,H,V,12,c[9]),H=d(H,O,L,U,q,17,c[10]),U=d(U,H,O,L,Y,22,c[11]),L=d(L,U,H,O,ce,7,c[12]),O=d(O,L,U,H,se,12,c[13]),H=d(H,O,L,U,ae,17,c[14]),U=d(U,H,O,L,ie,22,c[15]),L=s(L,U,H,O,y,5,c[16]),O=s(O,L,U,H,B,9,c[17]),H=s(H,O,L,U,Y,14,c[18]),U=s(U,H,O,L,E,20,c[19]),L=s(L,U,H,O,S,5,c[20]),O=s(O,L,U,H,q,9,c[21]),H=s(H,O,L,U,ie,14,c[22]),U=s(U,H,O,L,F,20,c[23]),L=s(L,U,H,O,V,5,c[24]),O=s(O,L,U,H,ae,9,c[25]),H=s(H,O,L,U,D,14,c[26]),U=s(U,H,O,L,I,20,c[27]),L=s(L,U,H,O,se,5,c[28]),O=s(O,L,U,H,w,9,c[29]),H=s(H,O,L,U,T,14,c[30]),U=s(U,H,O,L,ce,20,c[31]),L=x(L,U,H,O,S,4,c[32]),O=x(O,L,U,H,I,11,c[33]),H=x(H,O,L,U,Y,16,c[34]),U=x(U,H,O,L,ae,23,c[35]),L=x(L,U,H,O,y,4,c[36]),O=x(O,L,U,H,F,11,c[37]),H=x(H,O,L,U,T,16,c[38]),U=x(U,H,O,L,q,23,c[39]),L=x(L,U,H,O,se,4,c[40]),O=x(O,L,U,H,E,11,c[41]),H=x(H,O,L,U,D,16,c[42]),U=x(U,H,O,L,B,23,c[43]),L=x(L,U,H,O,V,4,c[44]),O=x(O,L,U,H,ce,11,c[45]),H=x(H,O,L,U,ie,16,c[46]),U=x(U,H,O,L,w,23,c[47]),L=h(L,U,H,O,E,6,c[48]),O=h(O,L,U,H,T,10,c[49]),H=h(H,O,L,U,ae,15,c[50]),U=h(U,H,O,L,S,21,c[51]),L=h(L,U,H,O,ce,6,c[52]),O=h(O,L,U,H,D,10,c[53]),H=h(H,O,L,U,q,15,c[54]),U=h(U,H,O,L,y,21,c[55]),L=h(L,U,H,O,I,6,c[56]),O=h(O,L,U,H,ie,10,c[57]),H=h(H,O,L,U,B,15,c[58]),U=h(U,H,O,L,se,21,c[59]),L=h(L,U,H,O,F,6,c[60]),O=h(O,L,U,H,Y,10,c[61]),H=h(H,O,L,U,w,15,c[62]),U=h(U,H,O,L,V,21,c[63]),C[0]=C[0]+L|0,C[1]=C[1]+U|0,C[2]=C[2]+H|0,C[3]=C[3]+O|0},_doFinalize:function(){var p=this._data,m=p.words,b=this._nDataBytes*8,g=p.sigBytes*8;m[g>>>5]|=128<<24-g%32;var v=n.floor(b/4294967296),C=b;m[(g+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m[(g+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,p.sigBytes=(m.length+1)*4,this._process();for(var E=this._hash,y=E.words,w=0;w<4;w++){var D=y[w];y[w]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return E},clone:function(){var p=l.clone.call(this);return p._hash=this._hash.clone(),p}});function d(p,m,b,g,v,C,E){var y=p+(m&b|~m&g)+v+E;return(y<>>32-C)+m}function s(p,m,b,g,v,C,E){var y=p+(m&g|b&~g)+v+E;return(y<>>32-C)+m}function x(p,m,b,g,v,C,E){var y=p+(m^b^g)+v+E;return(y<>>32-C)+m}function h(p,m,b,g,v,C,E){var y=p+(b^(m|~g))+v+E;return(y<>>32-C)+m}o.MD5=l._createHelper(u),o.HmacMD5=l._createHmacHelper(u)}(Math),r.MD5})}(jr)),jr.exports}var $r={exports:{}},xa;function Es(){return xa||(xa=1,function(e,t){(function(r,n){e.exports=n(fe())})(te,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=o.Hasher,l=n.algo,f=[],c=l.SHA1=i.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,d){for(var s=this._hash.words,x=s[0],h=s[1],p=s[2],m=s[3],b=s[4],g=0;g<80;g++){if(g<16)f[g]=u[d+g]|0;else{var v=f[g-3]^f[g-8]^f[g-14]^f[g-16];f[g]=v<<1|v>>>31}var C=(x<<5|x>>>27)+b+f[g];g<20?C+=(h&p|~h&m)+1518500249:g<40?C+=(h^p^m)+1859775393:g<60?C+=(h&p|h&m|p&m)-1894007588:C+=(h^p^m)-899497514,b=m,m=p,p=h<<30|h>>>2,h=x,x=C}s[0]=s[0]+x|0,s[1]=s[1]+h|0,s[2]=s[2]+p|0,s[3]=s[3]+m|0,s[4]=s[4]+b|0},_doFinalize:function(){var u=this._data,d=u.words,s=this._nDataBytes*8,x=u.sigBytes*8;return d[x>>>5]|=128<<24-x%32,d[(x+64>>>9<<4)+14]=Math.floor(s/4294967296),d[(x+64>>>9<<4)+15]=s,u.sigBytes=d.length*4,this._process(),this._hash},clone:function(){var u=i.clone.call(this);return u._hash=this._hash.clone(),u}});n.SHA1=i._createHelper(c),n.HmacSHA1=i._createHmacHelper(c)}(),r.SHA1})}($r)),$r.exports}var qr={exports:{}},ha;function xo(){return ha||(ha=1,function(e,t){(function(r,n){e.exports=n(fe())})(te,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[],u=[];(function(){function x(b){for(var g=n.sqrt(b),v=2;v<=g;v++)if(!(b%v))return!1;return!0}function h(b){return(b-(b|0))*4294967296|0}for(var p=2,m=0;m<64;)x(p)&&(m<8&&(c[m]=h(n.pow(p,1/2))),u[m]=h(n.pow(p,1/3)),m++),p++})();var d=[],s=f.SHA256=l.extend({_doReset:function(){this._hash=new i.init(c.slice(0))},_doProcessBlock:function(x,h){for(var p=this._hash.words,m=p[0],b=p[1],g=p[2],v=p[3],C=p[4],E=p[5],y=p[6],w=p[7],D=0;D<64;D++){if(D<16)d[D]=x[h+D]|0;else{var F=d[D-15],S=(F<<25|F>>>7)^(F<<14|F>>>18)^F>>>3,B=d[D-2],T=(B<<15|B>>>17)^(B<<13|B>>>19)^B>>>10;d[D]=S+d[D-7]+T+d[D-16]}var I=C&E^~C&y,V=m&b^m&g^b&g,q=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),Y=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),ce=w+Y+I+u[D]+d[D],se=q+V;w=y,y=E,E=C,C=v+ce|0,v=g,g=b,b=m,m=ce+se|0}p[0]=p[0]+m|0,p[1]=p[1]+b|0,p[2]=p[2]+g|0,p[3]=p[3]+v|0,p[4]=p[4]+C|0,p[5]=p[5]+E|0,p[6]=p[6]+y|0,p[7]=p[7]+w|0},_doFinalize:function(){var x=this._data,h=x.words,p=this._nDataBytes*8,m=x.sigBytes*8;return h[m>>>5]|=128<<24-m%32,h[(m+64>>>9<<4)+14]=n.floor(p/4294967296),h[(m+64>>>9<<4)+15]=p,x.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var x=l.clone.call(this);return x._hash=this._hash.clone(),x}});o.SHA256=l._createHelper(s),o.HmacSHA256=l._createHmacHelper(s)}(Math),r.SHA256})}(qr)),qr.exports}var Gr={exports:{}},pa;function Fl(){return pa||(pa=1,function(e,t){(function(r,n,o){e.exports=n(fe(),xo())})(te,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.algo,l=i.SHA256,f=i.SHA224=l.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=4,c}});n.SHA224=l._createHelper(f),n.HmacSHA224=l._createHmacHelper(f)}(),r.SHA224})}(Gr)),Gr.exports}var Vr={exports:{}},ma;function ws(){return ma||(ma=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Cr())})(te,function(r){return function(){var n=r,o=n.lib,a=o.Hasher,i=n.x64,l=i.Word,f=i.WordArray,c=n.algo;function u(){return l.create.apply(l,arguments)}var d=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],s=[];(function(){for(var h=0;h<80;h++)s[h]=u()})();var x=c.SHA512=a.extend({_doReset:function(){this._hash=new f.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(h,p){for(var m=this._hash.words,b=m[0],g=m[1],v=m[2],C=m[3],E=m[4],y=m[5],w=m[6],D=m[7],F=b.high,S=b.low,B=g.high,T=g.low,I=v.high,V=v.low,q=C.high,Y=C.low,ce=E.high,se=E.low,ae=y.high,ie=y.low,L=w.high,U=w.low,H=D.high,O=D.low,he=F,ne=S,R=B,M=T,j=I,z=V,le=q,re=Y,X=ce,K=se,Q=ae,oe=ie,J=L,A=U,_=H,P=O,$=0;$<80;$++){var Z,ee,k=s[$];if($<16)ee=k.high=h[p+$*2]|0,Z=k.low=h[p+$*2+1]|0;else{var W=s[$-15],de=W.high,Ce=W.low,$e=(de>>>1|Ce<<31)^(de>>>8|Ce<<24)^de>>>7,ft=(Ce>>>1|de<<31)^(Ce>>>8|de<<24)^(Ce>>>7|de<<25),qe=s[$-2],Je=qe.high,vt=qe.low,F0=(Je>>>19|vt<<13)^(Je<<3|vt>>>29)^Je>>>6,Lo=(vt>>>19|Je<<13)^(vt<<3|Je>>>29)^(vt>>>6|Je<<26),No=s[$-7],P0=No.high,k0=No.low,Oo=s[$-16],T0=Oo.high,Mo=Oo.low;Z=ft+k0,ee=$e+P0+(Z>>>0>>0?1:0),Z=Z+Lo,ee=ee+F0+(Z>>>0>>0?1:0),Z=Z+Mo,ee=ee+T0+(Z>>>0>>0?1:0),k.high=ee,k.low=Z}var R0=X&Q^~X&J,Uo=K&oe^~K&A,I0=he&R^he&j^R&j,L0=ne&M^ne&z^M&z,N0=(he>>>28|ne<<4)^(he<<30|ne>>>2)^(he<<25|ne>>>7),Ho=(ne>>>28|he<<4)^(ne<<30|he>>>2)^(ne<<25|he>>>7),O0=(X>>>14|K<<18)^(X>>>18|K<<14)^(X<<23|K>>>9),M0=(K>>>14|X<<18)^(K>>>18|X<<14)^(K<<23|X>>>9),Wo=d[$],U0=Wo.high,jo=Wo.low,Ie=P+M0,Ze=_+O0+(Ie>>>0

      >>0?1:0),Ie=Ie+Uo,Ze=Ze+R0+(Ie>>>0>>0?1:0),Ie=Ie+jo,Ze=Ze+U0+(Ie>>>0>>0?1:0),Ie=Ie+Z,Ze=Ze+ee+(Ie>>>0>>0?1:0),$o=Ho+L0,H0=N0+I0+($o>>>0>>0?1:0);_=J,P=A,J=Q,A=oe,Q=X,oe=K,K=re+Ie|0,X=le+Ze+(K>>>0>>0?1:0)|0,le=j,re=z,j=R,z=M,R=he,M=ne,ne=Ie+$o|0,he=Ze+H0+(ne>>>0>>0?1:0)|0}S=b.low=S+ne,b.high=F+he+(S>>>0>>0?1:0),T=g.low=T+M,g.high=B+R+(T>>>0>>0?1:0),V=v.low=V+z,v.high=I+j+(V>>>0>>0?1:0),Y=C.low=Y+re,C.high=q+le+(Y>>>0>>0?1:0),se=E.low=se+K,E.high=ce+X+(se>>>0>>0?1:0),ie=y.low=ie+oe,y.high=ae+Q+(ie>>>0>>0?1:0),U=w.low=U+A,w.high=L+J+(U>>>0>>0?1:0),O=D.low=O+P,D.high=H+_+(O>>>0

      >>0?1:0)},_doFinalize:function(){var h=this._data,p=h.words,m=this._nDataBytes*8,b=h.sigBytes*8;p[b>>>5]|=128<<24-b%32,p[(b+128>>>10<<5)+30]=Math.floor(m/4294967296),p[(b+128>>>10<<5)+31]=m,h.sigBytes=p.length*4,this._process();var g=this._hash.toX32();return g},clone:function(){var h=a.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});n.SHA512=a._createHelper(x),n.HmacSHA512=a._createHmacHelper(x)}(),r.SHA512})}(Vr)),Vr.exports}var zr={exports:{}},ga;function Pl(){return ga||(ga=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Cr(),ws())})(te,function(r){return function(){var n=r,o=n.x64,a=o.Word,i=o.WordArray,l=n.algo,f=l.SHA512,c=l.SHA384=f.extend({_doReset:function(){this._hash=new i.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var u=f._doFinalize.call(this);return u.sigBytes-=16,u}});n.SHA384=f._createHelper(c),n.HmacSHA384=f._createHmacHelper(c)}(),r.SHA384})}(zr)),zr.exports}var Kr={exports:{}},va;function kl(){return va||(va=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Cr())})(te,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.x64,c=f.Word,u=o.algo,d=[],s=[],x=[];(function(){for(var m=1,b=0,g=0;g<24;g++){d[m+5*b]=(g+1)*(g+2)/2%64;var v=b%5,C=(2*m+3*b)%5;m=v,b=C}for(var m=0;m<5;m++)for(var b=0;b<5;b++)s[m+5*b]=b+(2*m+3*b)%5*5;for(var E=1,y=0;y<24;y++){for(var w=0,D=0,F=0;F<7;F++){if(E&1){var S=(1<>>24)&16711935|(E<<24|E>>>8)&4278255360,y=(y<<8|y>>>24)&16711935|(y<<24|y>>>8)&4278255360;var w=g[C];w.high^=y,w.low^=E}for(var D=0;D<24;D++){for(var F=0;F<5;F++){for(var S=0,B=0,T=0;T<5;T++){var w=g[F+5*T];S^=w.high,B^=w.low}var I=h[F];I.high=S,I.low=B}for(var F=0;F<5;F++)for(var V=h[(F+4)%5],q=h[(F+1)%5],Y=q.high,ce=q.low,S=V.high^(Y<<1|ce>>>31),B=V.low^(ce<<1|Y>>>31),T=0;T<5;T++){var w=g[F+5*T];w.high^=S,w.low^=B}for(var se=1;se<25;se++){var S,B,w=g[se],ae=w.high,ie=w.low,L=d[se];L<32?(S=ae<>>32-L,B=ie<>>32-L):(S=ie<>>64-L,B=ae<>>64-L);var U=h[s[se]];U.high=S,U.low=B}var H=h[0],O=g[0];H.high=O.high,H.low=O.low;for(var F=0;F<5;F++)for(var T=0;T<5;T++){var se=F+5*T,w=g[se],he=h[se],ne=h[(F+1)%5+5*T],R=h[(F+2)%5+5*T];w.high=he.high^~ne.high&R.high,w.low=he.low^~ne.low&R.low}var w=g[0],M=x[D];w.high^=M.high,w.low^=M.low}},_doFinalize:function(){var m=this._data,b=m.words;this._nDataBytes*8;var g=m.sigBytes*8,v=this.blockSize*32;b[g>>>5]|=1<<24-g%32,b[(n.ceil((g+1)/v)*v>>>5)-1]|=128,m.sigBytes=b.length*4,this._process();for(var C=this._state,E=this.cfg.outputLength/8,y=E/8,w=[],D=0;D>>24)&16711935|(S<<24|S>>>8)&4278255360,B=(B<<8|B>>>24)&16711935|(B<<24|B>>>8)&4278255360,w.push(B),w.push(S)}return new i.init(w,E)},clone:function(){for(var m=l.clone.call(this),b=m._state=this._state.slice(0),g=0;g<25;g++)b[g]=b[g].clone();return m}});o.SHA3=l._createHelper(p),o.HmacSHA3=l._createHmacHelper(p)}(Math),r.SHA3})}(Kr)),Kr.exports}var Yr={exports:{}},ba;function Tl(){return ba||(ba=1,function(e,t){(function(r,n){e.exports=n(fe())})(te,function(r){/** @preserve + (c) 2012 by Cédric Mesnil. All rights reserved. + + Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: + + - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. + - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),d=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),s=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),x=i.create([0,1518500249,1859775393,2400959708,2840853838]),h=i.create([1352829926,1548603684,1836072691,2053994217,0]),p=f.RIPEMD160=l.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(y,w){for(var D=0;D<16;D++){var F=w+D,S=y[F];y[F]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}var B=this._hash.words,T=x.words,I=h.words,V=c.words,q=u.words,Y=d.words,ce=s.words,se,ae,ie,L,U,H,O,he,ne,R;H=se=B[0],O=ae=B[1],he=ie=B[2],ne=L=B[3],R=U=B[4];for(var M,D=0;D<80;D+=1)M=se+y[w+V[D]]|0,D<16?M+=m(ae,ie,L)+T[0]:D<32?M+=b(ae,ie,L)+T[1]:D<48?M+=g(ae,ie,L)+T[2]:D<64?M+=v(ae,ie,L)+T[3]:M+=C(ae,ie,L)+T[4],M=M|0,M=E(M,Y[D]),M=M+U|0,se=U,U=L,L=E(ie,10),ie=ae,ae=M,M=H+y[w+q[D]]|0,D<16?M+=C(O,he,ne)+I[0]:D<32?M+=v(O,he,ne)+I[1]:D<48?M+=g(O,he,ne)+I[2]:D<64?M+=b(O,he,ne)+I[3]:M+=m(O,he,ne)+I[4],M=M|0,M=E(M,ce[D]),M=M+R|0,H=R,R=ne,ne=E(he,10),he=O,O=M;M=B[1]+ie+ne|0,B[1]=B[2]+L+R|0,B[2]=B[3]+U+H|0,B[3]=B[4]+se+O|0,B[4]=B[0]+ae+he|0,B[0]=M},_doFinalize:function(){var y=this._data,w=y.words,D=this._nDataBytes*8,F=y.sigBytes*8;w[F>>>5]|=128<<24-F%32,w[(F+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,y.sigBytes=(w.length+1)*4,this._process();for(var S=this._hash,B=S.words,T=0;T<5;T++){var I=B[T];B[T]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return S},clone:function(){var y=l.clone.call(this);return y._hash=this._hash.clone(),y}});function m(y,w,D){return y^w^D}function b(y,w,D){return y&w|~y&D}function g(y,w,D){return(y|~w)^D}function v(y,w,D){return y&D|w&~D}function C(y,w,D){return y^(w|~D)}function E(y,w){return y<>>32-w}o.RIPEMD160=l._createHelper(p),o.HmacRIPEMD160=l._createHmacHelper(p)}(),r.RIPEMD160})}(Yr)),Yr.exports}var Qr={exports:{}},Ca;function ho(){return Ca||(Ca=1,function(e,t){(function(r,n){e.exports=n(fe())})(te,function(r){(function(){var n=r,o=n.lib,a=o.Base,i=n.enc,l=i.Utf8,f=n.algo;f.HMAC=a.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=l.parse(u));var d=c.blockSize,s=d*4;u.sigBytes>s&&(u=c.finalize(u)),u.clamp();for(var x=this._oKey=u.clone(),h=this._iKey=u.clone(),p=x.words,m=h.words,b=0;b>>2]&255;S.sigBytes-=B}};a.BlockCipher=x.extend({cfg:x.cfg.extend({mode:m,padding:g}),reset:function(){var S;x.reset.call(this);var B=this.cfg,T=B.iv,I=B.mode;this._xformMode==this._ENC_XFORM_MODE?S=I.createEncryptor:(S=I.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==S?this._mode.init(this,T&&T.words):(this._mode=S.call(I,this,T&&T.words),this._mode.__creator=S)},_doProcessBlock:function(S,B){this._mode.processBlock(S,B)},_doFinalize:function(){var S,B=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(B.pad(this._data,this.blockSize),S=this._process(!0)):(S=this._process(!0),B.unpad(S)),S},blockSize:128/32});var v=a.CipherParams=i.extend({init:function(S){this.mixIn(S)},toString:function(S){return(S||this.formatter).stringify(this)}}),C=o.format={},E=C.OpenSSL={stringify:function(S){var B,T=S.ciphertext,I=S.salt;return I?B=l.create([1398893684,1701076831]).concat(I).concat(T):B=T,B.toString(u)},parse:function(S){var B,T=u.parse(S),I=T.words;return I[0]==1398893684&&I[1]==1701076831&&(B=l.create(I.slice(2,4)),I.splice(0,4),T.sigBytes-=16),v.create({ciphertext:T,salt:B})}},y=a.SerializableCipher=i.extend({cfg:i.extend({format:E}),encrypt:function(S,B,T,I){I=this.cfg.extend(I);var V=S.createEncryptor(T,I),q=V.finalize(B),Y=V.cfg;return v.create({ciphertext:q,key:T,iv:Y.iv,algorithm:S,mode:Y.mode,padding:Y.padding,blockSize:S.blockSize,formatter:I.format})},decrypt:function(S,B,T,I){I=this.cfg.extend(I),B=this._parse(B,I.format);var V=S.createDecryptor(T,I).finalize(B.ciphertext);return V},_parse:function(S,B){return typeof S=="string"?B.parse(S,this):S}}),w=o.kdf={},D=w.OpenSSL={execute:function(S,B,T,I,V){if(I||(I=l.random(64/8)),V)var q=s.create({keySize:B+T,hasher:V}).compute(S,I);else var q=s.create({keySize:B+T}).compute(S,I);var Y=l.create(q.words.slice(B),T*4);return q.sigBytes=B*4,v.create({key:q,iv:Y,salt:I})}},F=a.PasswordBasedCipher=y.extend({cfg:y.cfg.extend({kdf:D}),encrypt:function(S,B,T,I){I=this.cfg.extend(I);var V=I.kdf.execute(T,S.keySize,S.ivSize,I.salt,I.hasher);I.iv=V.iv;var q=y.encrypt.call(this,S,B,V.key,I);return q.mixIn(V),q},decrypt:function(S,B,T,I){I=this.cfg.extend(I),B=this._parse(B,I.format);var V=I.kdf.execute(T,S.keySize,S.ivSize,B.salt,I.hasher);I.iv=V.iv;var q=y.decrypt.call(this,S,B,V.key,I);return q}})}()})}(Zr)),Zr.exports}var en={exports:{}},_a;function Il(){return _a||(_a=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(te,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(a,i){var l=this._cipher,f=l.blockSize;o.call(this,a,i,f,l),this._prevBlock=a.slice(i,i+f)}}),n.Decryptor=n.extend({processBlock:function(a,i){var l=this._cipher,f=l.blockSize,c=a.slice(i,i+f);o.call(this,a,i,f,l),this._prevBlock=c}});function o(a,i,l,f){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,f.encryptBlock(c,0);for(var d=0;d>24&255)===255){var f=l>>16&255,c=l>>8&255,u=l&255;f===255?(f=0,c===255?(c=0,u===255?u=0:++u):++c):++f,l=0,l+=f<<16,l+=c<<8,l+=u}else l+=1<<24;return l}function a(l){return(l[0]=o(l[0]))===0&&(l[1]=o(l[1])),l}var i=n.Encryptor=n.extend({processBlock:function(l,f){var c=this._cipher,u=c.blockSize,d=this._iv,s=this._counter;d&&(s=this._counter=d.slice(0),this._iv=void 0),a(s);var x=s.slice(0);c.encryptBlock(x,0);for(var h=0;h>>2]|=l<<24-f%4*8,n.sigBytes+=l},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Ansix923})}(an)),an.exports}var sn={exports:{}},Pa;function Hl(){return Pa||(Pa=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(te,function(r){return r.pad.Iso10126={pad:function(n,o){var a=o*4,i=a-n.sigBytes%a;n.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Iso10126})}(sn)),sn.exports}var cn={exports:{}},ka;function Wl(){return ka||(ka=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(te,function(r){return r.pad.Iso97971={pad:function(n,o){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,o)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(cn)),cn.exports}var ln={exports:{}},Ta;function jl(){return Ta||(Ta=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(te,function(r){return r.pad.ZeroPadding={pad:function(n,o){var a=o*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var o=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(o[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(ln)),ln.exports}var un={exports:{}},Ra;function $l(){return Ra||(Ra=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(te,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(un)),un.exports}var fn={exports:{}},Ia;function ql(){return Ia||(Ia=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(te,function(r){return function(n){var o=r,a=o.lib,i=a.CipherParams,l=o.enc,f=l.Hex,c=o.format;c.Hex={stringify:function(u){return u.ciphertext.toString(f)},parse:function(u){var d=f.parse(u);return i.create({ciphertext:d})}}}(),r.format.Hex})}(fn)),fn.exports}var dn={exports:{}},La;function Gl(){return La||(La=1,function(e,t){(function(r,n,o){e.exports=n(fe(),mt(),gt(),st(),Be())})(te,function(r){return function(){var n=r,o=n.lib,a=o.BlockCipher,i=n.algo,l=[],f=[],c=[],u=[],d=[],s=[],x=[],h=[],p=[],m=[];(function(){for(var v=[],C=0;C<256;C++)C<128?v[C]=C<<1:v[C]=C<<1^283;for(var E=0,y=0,C=0;C<256;C++){var w=y^y<<1^y<<2^y<<3^y<<4;w=w>>>8^w&255^99,l[E]=w,f[w]=E;var D=v[E],F=v[D],S=v[F],B=v[w]*257^w*16843008;c[E]=B<<24|B>>>8,u[E]=B<<16|B>>>16,d[E]=B<<8|B>>>24,s[E]=B;var B=S*16843009^F*65537^D*257^E*16843008;x[w]=B<<24|B>>>8,h[w]=B<<16|B>>>16,p[w]=B<<8|B>>>24,m[w]=B,E?(E=D^v[v[v[S^D]]],y^=v[v[y]]):E=y=1}})();var b=[0,1,2,4,8,16,32,64,128,27,54],g=i.AES=a.extend({_doReset:function(){var v;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var C=this._keyPriorReset=this._key,E=C.words,y=C.sigBytes/4,w=this._nRounds=y+6,D=(w+1)*4,F=this._keySchedule=[],S=0;S6&&S%y==4&&(v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255]):(v=v<<8|v>>>24,v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255],v^=b[S/y|0]<<24),F[S]=F[S-y]^v);for(var B=this._invKeySchedule=[],T=0;T>>24]]^h[l[v>>>16&255]]^p[l[v>>>8&255]]^m[l[v&255]]}}},encryptBlock:function(v,C){this._doCryptBlock(v,C,this._keySchedule,c,u,d,s,l)},decryptBlock:function(v,C){var E=v[C+1];v[C+1]=v[C+3],v[C+3]=E,this._doCryptBlock(v,C,this._invKeySchedule,x,h,p,m,f);var E=v[C+1];v[C+1]=v[C+3],v[C+3]=E},_doCryptBlock:function(v,C,E,y,w,D,F,S){for(var B=this._nRounds,T=v[C]^E[0],I=v[C+1]^E[1],V=v[C+2]^E[2],q=v[C+3]^E[3],Y=4,ce=1;ce>>24]^w[I>>>16&255]^D[V>>>8&255]^F[q&255]^E[Y++],ae=y[I>>>24]^w[V>>>16&255]^D[q>>>8&255]^F[T&255]^E[Y++],ie=y[V>>>24]^w[q>>>16&255]^D[T>>>8&255]^F[I&255]^E[Y++],L=y[q>>>24]^w[T>>>16&255]^D[I>>>8&255]^F[V&255]^E[Y++];T=se,I=ae,V=ie,q=L}var se=(S[T>>>24]<<24|S[I>>>16&255]<<16|S[V>>>8&255]<<8|S[q&255])^E[Y++],ae=(S[I>>>24]<<24|S[V>>>16&255]<<16|S[q>>>8&255]<<8|S[T&255])^E[Y++],ie=(S[V>>>24]<<24|S[q>>>16&255]<<16|S[T>>>8&255]<<8|S[I&255])^E[Y++],L=(S[q>>>24]<<24|S[T>>>16&255]<<16|S[I>>>8&255]<<8|S[V&255])^E[Y++];v[C]=se,v[C+1]=ae,v[C+2]=ie,v[C+3]=L},keySize:256/32});n.AES=a._createHelper(g)}(),r.AES})}(dn)),dn.exports}var xn={exports:{}},Na;function Vl(){return Na||(Na=1,function(e,t){(function(r,n,o){e.exports=n(fe(),mt(),gt(),st(),Be())})(te,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=o.BlockCipher,l=n.algo,f=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],d=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],s=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],x=l.DES=i.extend({_doReset:function(){for(var b=this._key,g=b.words,v=[],C=0;C<56;C++){var E=f[C]-1;v[C]=g[E>>>5]>>>31-E%32&1}for(var y=this._subKeys=[],w=0;w<16;w++){for(var D=y[w]=[],F=u[w],C=0;C<24;C++)D[C/6|0]|=v[(c[C]-1+F)%28]<<31-C%6,D[4+(C/6|0)]|=v[28+(c[C+24]-1+F)%28]<<31-C%6;D[0]=D[0]<<1|D[0]>>>31;for(var C=1;C<7;C++)D[C]=D[C]>>>(C-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var S=this._invSubKeys=[],C=0;C<16;C++)S[C]=y[15-C]},encryptBlock:function(b,g){this._doCryptBlock(b,g,this._subKeys)},decryptBlock:function(b,g){this._doCryptBlock(b,g,this._invSubKeys)},_doCryptBlock:function(b,g,v){this._lBlock=b[g],this._rBlock=b[g+1],h.call(this,4,252645135),h.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),h.call(this,1,1431655765);for(var C=0;C<16;C++){for(var E=v[C],y=this._lBlock,w=this._rBlock,D=0,F=0;F<8;F++)D|=d[F][((w^E[F])&s[F])>>>0];this._lBlock=w,this._rBlock=y^D}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,h.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),b[g]=this._lBlock,b[g+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(b,g){var v=(this._lBlock>>>b^this._rBlock)&g;this._rBlock^=v,this._lBlock^=v<>>b^this._lBlock)&g;this._lBlock^=v,this._rBlock^=v<192.");var v=g.slice(0,2),C=g.length<4?g.slice(0,2):g.slice(2,4),E=g.length<6?g.slice(0,2):g.slice(4,6);this._des1=x.createEncryptor(a.create(v)),this._des2=x.createEncryptor(a.create(C)),this._des3=x.createEncryptor(a.create(E))},encryptBlock:function(b,g){this._des1.encryptBlock(b,g),this._des2.decryptBlock(b,g),this._des3.encryptBlock(b,g)},decryptBlock:function(b,g){this._des3.decryptBlock(b,g),this._des2.encryptBlock(b,g),this._des1.decryptBlock(b,g)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=i._createHelper(m)}(),r.TripleDES})}(xn)),xn.exports}var hn={exports:{}},Oa;function zl(){return Oa||(Oa=1,function(e,t){(function(r,n,o){e.exports=n(fe(),mt(),gt(),st(),Be())})(te,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=i.RC4=a.extend({_doReset:function(){for(var u=this._key,d=u.words,s=u.sigBytes,x=this._S=[],h=0;h<256;h++)x[h]=h;for(var h=0,p=0;h<256;h++){var m=h%s,b=d[m>>>2]>>>24-m%4*8&255;p=(p+x[h]+b)%256;var g=x[h];x[h]=x[p],x[p]=g}this._i=this._j=0},_doProcessBlock:function(u,d){u[d]^=f.call(this)},keySize:256/32,ivSize:0});function f(){for(var u=this._S,d=this._i,s=this._j,x=0,h=0;h<4;h++){d=(d+1)%256,s=(s+u[d])%256;var p=u[d];u[d]=u[s],u[s]=p,x|=u[(u[d]+u[s])%256]<<24-h*8}return this._i=d,this._j=s,x}n.RC4=a._createHelper(l);var c=i.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)f.call(this)}});n.RC4Drop=a._createHelper(c)}(),r.RC4})}(hn)),hn.exports}var pn={exports:{}},Ma;function Kl(){return Ma||(Ma=1,function(e,t){(function(r,n,o){e.exports=n(fe(),mt(),gt(),st(),Be())})(te,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=[],f=[],c=[],u=i.Rabbit=a.extend({_doReset:function(){for(var s=this._key.words,x=this.cfg.iv,h=0;h<4;h++)s[h]=(s[h]<<8|s[h]>>>24)&16711935|(s[h]<<24|s[h]>>>8)&4278255360;var p=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],m=this._C=[s[2]<<16|s[2]>>>16,s[0]&4294901760|s[1]&65535,s[3]<<16|s[3]>>>16,s[1]&4294901760|s[2]&65535,s[0]<<16|s[0]>>>16,s[2]&4294901760|s[3]&65535,s[1]<<16|s[1]>>>16,s[3]&4294901760|s[0]&65535];this._b=0;for(var h=0;h<4;h++)d.call(this);for(var h=0;h<8;h++)m[h]^=p[h+4&7];if(x){var b=x.words,g=b[0],v=b[1],C=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,E=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,y=C>>>16|E&4294901760,w=E<<16|C&65535;m[0]^=C,m[1]^=y,m[2]^=E,m[3]^=w,m[4]^=C,m[5]^=y,m[6]^=E,m[7]^=w;for(var h=0;h<4;h++)d.call(this)}},_doProcessBlock:function(s,x){var h=this._X;d.call(this),l[0]=h[0]^h[5]>>>16^h[3]<<16,l[1]=h[2]^h[7]>>>16^h[5]<<16,l[2]=h[4]^h[1]>>>16^h[7]<<16,l[3]=h[6]^h[3]>>>16^h[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,s[x+p]^=l[p]},blockSize:128/32,ivSize:64/32});function d(){for(var s=this._X,x=this._C,h=0;h<8;h++)f[h]=x[h];x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0;for(var h=0;h<8;h++){var p=s[h]+x[h],m=p&65535,b=p>>>16,g=((m*m>>>17)+m*b>>>15)+b*b,v=((p&4294901760)*p|0)+((p&65535)*p|0);c[h]=g^v}s[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,s[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,s[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,s[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,s[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,s[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,s[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,s[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.Rabbit=a._createHelper(u)}(),r.Rabbit})}(pn)),pn.exports}var mn={exports:{}},Ua;function Yl(){return Ua||(Ua=1,function(e,t){(function(r,n,o){e.exports=n(fe(),mt(),gt(),st(),Be())})(te,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=[],f=[],c=[],u=i.RabbitLegacy=a.extend({_doReset:function(){var s=this._key.words,x=this.cfg.iv,h=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],p=this._C=[s[2]<<16|s[2]>>>16,s[0]&4294901760|s[1]&65535,s[3]<<16|s[3]>>>16,s[1]&4294901760|s[2]&65535,s[0]<<16|s[0]>>>16,s[2]&4294901760|s[3]&65535,s[1]<<16|s[1]>>>16,s[3]&4294901760|s[0]&65535];this._b=0;for(var m=0;m<4;m++)d.call(this);for(var m=0;m<8;m++)p[m]^=h[m+4&7];if(x){var b=x.words,g=b[0],v=b[1],C=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,E=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,y=C>>>16|E&4294901760,w=E<<16|C&65535;p[0]^=C,p[1]^=y,p[2]^=E,p[3]^=w,p[4]^=C,p[5]^=y,p[6]^=E,p[7]^=w;for(var m=0;m<4;m++)d.call(this)}},_doProcessBlock:function(s,x){var h=this._X;d.call(this),l[0]=h[0]^h[5]>>>16^h[3]<<16,l[1]=h[2]^h[7]>>>16^h[5]<<16,l[2]=h[4]^h[1]>>>16^h[7]<<16,l[3]=h[6]^h[3]>>>16^h[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,s[x+p]^=l[p]},blockSize:128/32,ivSize:64/32});function d(){for(var s=this._X,x=this._C,h=0;h<8;h++)f[h]=x[h];x[0]=x[0]+1295307597+this._b|0,x[1]=x[1]+3545052371+(x[0]>>>0>>0?1:0)|0,x[2]=x[2]+886263092+(x[1]>>>0>>0?1:0)|0,x[3]=x[3]+1295307597+(x[2]>>>0>>0?1:0)|0,x[4]=x[4]+3545052371+(x[3]>>>0>>0?1:0)|0,x[5]=x[5]+886263092+(x[4]>>>0>>0?1:0)|0,x[6]=x[6]+1295307597+(x[5]>>>0>>0?1:0)|0,x[7]=x[7]+3545052371+(x[6]>>>0>>0?1:0)|0,this._b=x[7]>>>0>>0?1:0;for(var h=0;h<8;h++){var p=s[h]+x[h],m=p&65535,b=p>>>16,g=((m*m>>>17)+m*b>>>15)+b*b,v=((p&4294901760)*p|0)+((p&65535)*p|0);c[h]=g^v}s[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,s[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,s[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,s[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,s[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,s[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,s[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,s[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.RabbitLegacy=a._createHelper(u)}(),r.RabbitLegacy})}(mn)),mn.exports}var gn={exports:{}},Ha;function Ql(){return Ha||(Ha=1,function(e,t){(function(r,n,o){e.exports=n(fe(),mt(),gt(),st(),Be())})(te,function(r){return function(){var n=r,o=n.lib,a=o.BlockCipher,i=n.algo;const l=16,f=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function d(m,b){let g=b>>24&255,v=b>>16&255,C=b>>8&255,E=b&255,y=m.sbox[0][g]+m.sbox[1][v];return y=y^m.sbox[2][C],y=y+m.sbox[3][E],y}function s(m,b,g){let v=b,C=g,E;for(let y=0;y1;--y)v=v^m.pbox[y],C=d(m,v)^C,E=v,v=C,C=E;return E=v,v=C,C=E,C=C^m.pbox[1],v=v^m.pbox[0],{left:v,right:C}}function h(m,b,g){for(let w=0;w<4;w++){m.sbox[w]=[];for(let D=0;D<256;D++)m.sbox[w][D]=c[w][D]}let v=0;for(let w=0;w=g&&(v=0);let C=0,E=0,y=0;for(let w=0;w=Date.now())return d}return i(f),null}}function i(f){window.localStorage.removeItem(f)}function l(){window.localStorage.clear()}return{set:o,get:a,remove:i,clear:l}}As();const Fe=As({expire:null,crypto:!1});function eu(){return typeof process<"u"&&(process==null?void 0:process.type)==="renderer"?"electron":typeof wx<"u"?"wechat":typeof window<"u"&&window.matchMedia("(display-mode: standalone)").matches?"webApp":/(Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)?"mobile":"webBrowser"}const Ss="appSetting";function tu(){return{siderCollapsed:!1,theme:"auto",language:"zh-CN",env:eu()}}function ru(){const e=Fe.get(Ss);return{...tu(),...e}}function nu(e){Fe.set(Ss,e)}const Ds=pt("app-store",{state:()=>ru(),actions:{setSiderCollapsed(e){this.siderCollapsed=e,this.recordState()},setTheme(e){localStorage.theme=e,this.theme=e,window.theme=e,this.recordState()},setLanguage(e){this.language!==e&&(this.language=e,this.recordState())},recordState(){nu(this.$state)},setEnv(){const e=/micromessenger/i.test(navigator.userAgent),t=navigator.userAgent.includes("Electron"),r=/(iPhone|iPad|iPod|Android|webOS|BlackBerry|Windows Phone)/i.test(navigator.userAgent);e?this.env="wechat":t?this.env="electron":r?this.env="mobile":!e&&!t&&(this.env="web")}}});function ou(){return Ds(Sr)}function Bs(e,t){return function(){return e.apply(t,arguments)}}const{toString:au}=Object.prototype,{getPrototypeOf:po}=Object,yr=(e=>t=>{const r=au.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),je=e=>(e=e.toLowerCase(),t=>yr(t)===e),Er=e=>t=>typeof t===e,{isArray:Pt}=Array,$t=Er("undefined");function iu(e){return e!==null&&!$t(e)&&e.constructor!==null&&!$t(e.constructor)&&Oe(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Fs=je("ArrayBuffer");function su(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Fs(e.buffer),t}const cu=Er("string"),Oe=Er("function"),Ps=Er("number"),wr=e=>e!==null&&typeof e=="object",lu=e=>e===!0||e===!1,sr=e=>{if(yr(e)!=="object")return!1;const t=po(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},uu=je("Date"),fu=je("File"),du=je("Blob"),xu=je("FileList"),hu=e=>wr(e)&&Oe(e.pipe),pu=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Oe(e.append)&&((t=yr(e))==="formdata"||t==="object"&&Oe(e.toString)&&e.toString()==="[object FormData]"))},mu=je("URLSearchParams"),gu=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Xt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),Pt(e))for(n=0,o=e.length;n0;)if(o=r[n],t===o.toLowerCase())return o;return null}const Ts=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Rs=e=>!$t(e)&&e!==Ts;function Un(){const{caseless:e}=Rs(this)&&this||{},t={},r=(n,o)=>{const a=e&&ks(t,o)||o;sr(t[a])&&sr(n)?t[a]=Un(t[a],n):sr(n)?t[a]=Un({},n):Pt(n)?t[a]=n.slice():t[a]=n};for(let n=0,o=arguments.length;n(Xt(t,(o,a)=>{r&&Oe(o)?e[a]=Bs(o,r):e[a]=o},{allOwnKeys:n}),e),bu=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Cu=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},yu=(e,t,r,n)=>{let o,a,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!n||n(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=r!==!1&&po(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Eu=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},wu=e=>{if(!e)return null;if(Pt(e))return e;let t=e.length;if(!Ps(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},_u=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&po(Uint8Array)),Au=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},Su=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Du=je("HTMLFormElement"),Bu=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Wa=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Fu=je("RegExp"),Is=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Xt(r,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(n[a]=i||o)}),Object.defineProperties(e,n)},Pu=e=>{Is(e,(t,r)=>{if(Oe(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Oe(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},ku=(e,t)=>{const r={},n=o=>{o.forEach(a=>{r[a]=!0})};return Pt(e)?n(e):n(String(e).split(t)),r},Tu=()=>{},Ru=(e,t)=>(e=+e,Number.isFinite(e)?e:t),vn="abcdefghijklmnopqrstuvwxyz",ja="0123456789",Ls={DIGIT:ja,ALPHA:vn,ALPHA_DIGIT:vn+vn.toUpperCase()+ja},Iu=(e=16,t=Ls.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function Lu(e){return!!(e&&Oe(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Nu=e=>{const t=new Array(10),r=(n,o)=>{if(wr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const a=Pt(n)?[]:{};return Xt(n,(i,l)=>{const f=r(i,o+1);!$t(f)&&(a[l]=f)}),t[o]=void 0,a}}return n};return r(e,0)},Ou=je("AsyncFunction"),Mu=e=>e&&(wr(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),N={isArray:Pt,isArrayBuffer:Fs,isBuffer:iu,isFormData:pu,isArrayBufferView:su,isString:cu,isNumber:Ps,isBoolean:lu,isObject:wr,isPlainObject:sr,isUndefined:$t,isDate:uu,isFile:fu,isBlob:du,isRegExp:Fu,isFunction:Oe,isStream:hu,isURLSearchParams:mu,isTypedArray:_u,isFileList:xu,forEach:Xt,merge:Un,extend:vu,trim:gu,stripBOM:bu,inherits:Cu,toFlatObject:yu,kindOf:yr,kindOfTest:je,endsWith:Eu,toArray:wu,forEachEntry:Au,matchAll:Su,isHTMLForm:Du,hasOwnProperty:Wa,hasOwnProp:Wa,reduceDescriptors:Is,freezeMethods:Pu,toObjectSet:ku,toCamelCase:Bu,noop:Tu,toFiniteNumber:Ru,findKey:ks,global:Ts,isContextDefined:Rs,ALPHABET:Ls,generateString:Iu,isSpecCompliantForm:Lu,toJSONObject:Nu,isAsyncFn:Ou,isThenable:Mu};function xe(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}N.inherits(xe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Ns=xe.prototype,Os={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Os[e]={value:e}});Object.defineProperties(xe,Os);Object.defineProperty(Ns,"isAxiosError",{value:!0});xe.from=(e,t,r,n,o,a)=>{const i=Object.create(Ns);return N.toFlatObject(e,i,function(f){return f!==Error.prototype},l=>l!=="isAxiosError"),xe.call(i,e.message,t,r,n,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const Uu=null;function Hn(e){return N.isPlainObject(e)||N.isArray(e)}function Ms(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function $a(e,t,r){return e?e.concat(t).map(function(o,a){return o=Ms(o),!r&&a?"["+o+"]":o}).join(r?".":""):t}function Hu(e){return N.isArray(e)&&!e.some(Hn)}const Wu=N.toFlatObject(N,{},null,function(t){return/^is[A-Z]/.test(t)});function _r(e,t,r){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=N.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,m){return!N.isUndefined(m[p])});const n=r.metaTokens,o=r.visitor||u,a=r.dots,i=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(t);if(!N.isFunction(o))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(N.isDate(h))return h.toISOString();if(!f&&N.isBlob(h))throw new xe("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(h)||N.isTypedArray(h)?f&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function u(h,p,m){let b=h;if(h&&!m&&typeof h=="object"){if(N.endsWith(p,"{}"))p=n?p:p.slice(0,-2),h=JSON.stringify(h);else if(N.isArray(h)&&Hu(h)||(N.isFileList(h)||N.endsWith(p,"[]"))&&(b=N.toArray(h)))return p=Ms(p),b.forEach(function(v,C){!(N.isUndefined(v)||v===null)&&t.append(i===!0?$a([p],C,a):i===null?p:p+"[]",c(v))}),!1}return Hn(h)?!0:(t.append($a(m,p,a),c(h)),!1)}const d=[],s=Object.assign(Wu,{defaultVisitor:u,convertValue:c,isVisitable:Hn});function x(h,p){if(!N.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(h),N.forEach(h,function(b,g){(!(N.isUndefined(b)||b===null)&&o.call(t,b,N.isString(g)?g.trim():g,p,s))===!0&&x(b,p?p.concat(g):[g])}),d.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return x(e),t}function qa(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function mo(e,t){this._pairs=[],e&&_r(e,this,t)}const Us=mo.prototype;Us.append=function(t,r){this._pairs.push([t,r])};Us.toString=function(t){const r=t?function(n){return t.call(this,n,qa)}:qa;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function ju(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Hs(e,t,r){if(!t)return e;const n=r&&r.encode||ju,o=r&&r.serialize;let a;if(o?a=o(t,r):a=N.isURLSearchParams(t)?t.toString():new mo(t,r).toString(n),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class $u{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){N.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Ga=$u,Ws={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qu=typeof URLSearchParams<"u"?URLSearchParams:mo,Gu=typeof FormData<"u"?FormData:null,Vu=typeof Blob<"u"?Blob:null,zu={isBrowser:!0,classes:{URLSearchParams:qu,FormData:Gu,Blob:Vu},protocols:["http","https","file","blob","url","data"]},js=typeof window<"u"&&typeof document<"u",Ku=(e=>js&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Yu=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),Qu=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:js,hasStandardBrowserEnv:Ku,hasStandardBrowserWebWorkerEnv:Yu},Symbol.toStringTag,{value:"Module"})),We={...Qu,...zu};function Xu(e,t){return _r(e,new We.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,a){return We.isNode&&N.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function Ju(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Zu(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n=r.length;return i=!i&&N.isArray(o)?o.length:i,f?(N.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!l):((!o[i]||!N.isObject(o[i]))&&(o[i]=[]),t(r,n,o[i],a)&&N.isArray(o[i])&&(o[i]=Zu(o[i])),!l)}if(N.isFormData(e)&&N.isFunction(e.entries)){const r={};return N.forEachEntry(e,(n,o)=>{t(Ju(n),o,r,0)}),r}return null}function ef(e,t,r){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const go={transitional:Ws,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,a=N.isObject(t);if(a&&N.isHTMLForm(t)&&(t=new FormData(t)),N.isFormData(t))return o?JSON.stringify($s(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return Xu(t,this.formSerializer).toString();if((l=N.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return _r(l?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||o?(r.setContentType("application/json",!1),ef(t)):t}],transformResponse:[function(t){const r=this.transitional||go.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&N.isString(t)&&(n&&!this.responseType||o)){const i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?xe.from(l,xe.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:We.classes.FormData,Blob:We.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],e=>{go.headers[e]={}});const vo=go,tf=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),rf=e=>{const t={};let r,n,o;return e&&e.split(` +`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&tf[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Va=Symbol("internals");function Tt(e){return e&&String(e).trim().toLowerCase()}function cr(e){return e===!1||e==null?e:N.isArray(e)?e.map(cr):String(e)}function nf(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const of=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function bn(e,t,r,n,o){if(N.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!N.isString(t)){if(N.isString(n))return t.indexOf(n)!==-1;if(N.isRegExp(n))return n.test(t)}}function af(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function sf(e,t){const r=N.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0})})}class Ar{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function a(l,f,c){const u=Tt(f);if(!u)throw new Error("header name must be a non-empty string");const d=N.findKey(o,u);(!d||o[d]===void 0||c===!0||c===void 0&&o[d]!==!1)&&(o[d||f]=cr(l))}const i=(l,f)=>N.forEach(l,(c,u)=>a(c,u,f));return N.isPlainObject(t)||t instanceof this.constructor?i(t,r):N.isString(t)&&(t=t.trim())&&!of(t)?i(rf(t),r):t!=null&&a(r,t,n),this}get(t,r){if(t=Tt(t),t){const n=N.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return nf(o);if(N.isFunction(r))return r.call(this,o,n);if(N.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Tt(t),t){const n=N.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||bn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function a(i){if(i=Tt(i),i){const l=N.findKey(n,i);l&&(!r||bn(n,n[l],l,r))&&(delete n[l],o=!0)}}return N.isArray(t)?t.forEach(a):a(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const a=r[n];(!t||bn(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const r=this,n={};return N.forEach(this,(o,a)=>{const i=N.findKey(n,a);if(i){r[i]=cr(o),delete r[a];return}const l=t?af(a):String(a).trim();l!==a&&delete r[a],r[l]=cr(o),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return N.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&N.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[Va]=this[Va]={accessors:{}}).accessors,o=this.prototype;function a(i){const l=Tt(i);n[l]||(sf(o,i),n[l]=!0)}return N.isArray(t)?t.forEach(a):a(t),this}}Ar.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(Ar.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});N.freezeMethods(Ar);const Ye=Ar;function Cn(e,t){const r=this||vo,n=t||r,o=Ye.from(n.headers);let a=n.data;return N.forEach(e,function(l){a=l.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function qs(e){return!!(e&&e.__CANCEL__)}function Jt(e,t,r){xe.call(this,e??"canceled",xe.ERR_CANCELED,t,r),this.name="CanceledError"}N.inherits(Jt,xe,{__CANCEL__:!0});function cf(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new xe("Request failed with status code "+r.status,[xe.ERR_BAD_REQUEST,xe.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const lf=We.hasStandardBrowserEnv?{write(e,t,r,n,o,a){const i=[e+"="+encodeURIComponent(t)];N.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),N.isString(n)&&i.push("path="+n),N.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function uf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ff(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Gs(e,t){return e&&!uf(t)?ff(e,t):t}const df=We.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){const l=N.isString(i)?o(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function xf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function hf(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(f){const c=Date.now(),u=n[a];i||(i=c),r[o]=f,n[o]=c;let d=a,s=0;for(;d!==o;)s+=r[d++],d=d%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i{const a=o.loaded,i=o.lengthComputable?o.total:void 0,l=a-r,f=n(l),c=a<=i;r=a;const u={loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:f||void 0,estimated:f&&i&&c?(i-a)/f:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const pf=typeof XMLHttpRequest<"u",mf=pf&&function(e){return new Promise(function(r,n){let o=e.data;const a=Ye.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,f;function c(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let u;if(N.isFormData(o)){if(We.hasStandardBrowserEnv||We.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((u=a.getContentType())!==!1){const[p,...m]=u?u.split(";").map(b=>b.trim()).filter(Boolean):[];a.setContentType([p||"multipart/form-data",...m].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(p+":"+m))}const s=Gs(e.baseURL,e.url);d.open(e.method.toUpperCase(),Hs(s,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function x(){if(!d)return;const p=Ye.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),b={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:p,config:e,request:d};cf(function(v){r(v),c()},function(v){n(v),c()},b),d=null}if("onloadend"in d?d.onloadend=x:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(x)},d.onabort=function(){d&&(n(new xe("Request aborted",xe.ECONNABORTED,e,d)),d=null)},d.onerror=function(){n(new xe("Network Error",xe.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const b=e.transitional||Ws;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),n(new xe(m,b.clarifyTimeoutError?xe.ETIMEDOUT:xe.ECONNABORTED,e,d)),d=null},We.hasStandardBrowserEnv&&(l&&N.isFunction(l)&&(l=l(e)),l||l!==!1&&df(s))){const p=e.xsrfHeaderName&&e.xsrfCookieName&&lf.read(e.xsrfCookieName);p&&a.set(e.xsrfHeaderName,p)}o===void 0&&a.setContentType(null),"setRequestHeader"in d&&N.forEach(a.toJSON(),function(m,b){d.setRequestHeader(b,m)}),N.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),i&&i!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",za(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",za(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=p=>{d&&(n(!p||p.type?new Jt(null,e,d):p),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const h=xf(s);if(h&&We.protocols.indexOf(h)===-1){n(new xe("Unsupported protocol "+h+":",xe.ERR_BAD_REQUEST,e));return}d.send(o||null)})},Wn={http:Uu,xhr:mf};N.forEach(Wn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ka=e=>`- ${e}`,gf=e=>N.isFunction(e)||e===null||e===!1,Vs={getAdapter:e=>{e=N.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let a=0;a`adapter ${l} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since : +`+a.map(Ka).join(` +`):" "+Ka(a[0]):"as no adapter specified";throw new xe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:Wn};function yn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Jt(null,e)}function Ya(e){return yn(e),e.headers=Ye.from(e.headers),e.data=Cn.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vs.getAdapter(e.adapter||vo.adapter)(e).then(function(n){return yn(e),n.data=Cn.call(e,e.transformResponse,n),n.headers=Ye.from(n.headers),n},function(n){return qs(n)||(yn(e),n&&n.response&&(n.response.data=Cn.call(e,e.transformResponse,n.response),n.response.headers=Ye.from(n.response.headers))),Promise.reject(n)})}const Qa=e=>e instanceof Ye?e.toJSON():e;function _t(e,t){t=t||{};const r={};function n(c,u,d){return N.isPlainObject(c)&&N.isPlainObject(u)?N.merge.call({caseless:d},c,u):N.isPlainObject(u)?N.merge({},u):N.isArray(u)?u.slice():u}function o(c,u,d){if(N.isUndefined(u)){if(!N.isUndefined(c))return n(void 0,c,d)}else return n(c,u,d)}function a(c,u){if(!N.isUndefined(u))return n(void 0,u)}function i(c,u){if(N.isUndefined(u)){if(!N.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function l(c,u,d){if(d in t)return n(c,u);if(d in e)return n(void 0,c)}const f={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,u)=>o(Qa(c),Qa(u),!0)};return N.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=f[u]||o,s=d(e[u],t[u],u);N.isUndefined(s)&&d!==l||(r[u]=s)}),r}const zs="1.6.7",bo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{bo[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Xa={};bo.transitional=function(t,r,n){function o(a,i){return"[Axios v"+zs+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,l)=>{if(t===!1)throw new xe(o(i," has been removed"+(r?" in "+r:"")),xe.ERR_DEPRECATED);return r&&!Xa[i]&&(Xa[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,l):!0}};function vf(e,t,r){if(typeof e!="object")throw new xe("options must be an object",xe.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const l=e[a],f=l===void 0||i(l,a,e);if(f!==!0)throw new xe("option "+a+" must be "+f,xe.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new xe("Unknown option "+a,xe.ERR_BAD_OPTION)}}const jn={assertOptions:vf,validators:bo},et=jn.validators;class dr{constructor(t){this.defaults=t,this.interceptors={request:new Ga,response:new Ga}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=` +`+a):n.stack=a}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=_t(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&jn.assertOptions(n,{silentJSONParsing:et.transitional(et.boolean),forcedJSONParsing:et.transitional(et.boolean),clarifyTimeoutError:et.transitional(et.boolean)},!1),o!=null&&(N.isFunction(o)?r.paramsSerializer={serialize:o}:jn.assertOptions(o,{encode:et.function,serialize:et.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&N.merge(a.common,a[r.method]);a&&N.forEach(["delete","get","head","post","put","patch","common"],h=>{delete a[h]}),r.headers=Ye.concat(i,a);const l=[];let f=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(f=f&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,d=0,s;if(!f){const h=[Ya.bind(this),void 0];for(h.unshift.apply(h,l),h.push.apply(h,c),s=h.length,u=Promise.resolve(r);d{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(l=>{n.subscribe(l),a=l}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,l){n.reason||(n.reason=new Jt(a,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Co(function(o){t=o}),cancel:t}}}const bf=Co;function Cf(e){return function(r){return e.apply(null,r)}}function yf(e){return N.isObject(e)&&e.isAxiosError===!0}const $n={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($n).forEach(([e,t])=>{$n[t]=e});const Ef=$n;function Ks(e){const t=new lr(e),r=Bs(lr.prototype.request,t);return N.extend(r,lr.prototype,t,{allOwnKeys:!0}),N.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return Ks(_t(e,o))},r}const Ae=Ks(vo);Ae.Axios=lr;Ae.CanceledError=Jt;Ae.CancelToken=bf;Ae.isCancel=qs;Ae.VERSION=zs;Ae.toFormData=_r;Ae.AxiosError=xe;Ae.Cancel=Ae.CanceledError;Ae.all=function(t){return Promise.all(t)};Ae.spread=Cf;Ae.isAxiosError=yf;Ae.mergeConfig=_t;Ae.AxiosHeaders=Ye;Ae.formToJSON=e=>$s(N.isHTMLForm(e)?new FormData(e):e);Ae.getAdapter=Vs.getAdapter;Ae.HttpStatusCode=Ef;Ae.default=Ae;const wf=Ae,xr=wf.create({baseURL:"/api",timeout:2400*1e3});xr.interceptors.request.use(e=>{var o;const t=qt().token,r=(o=Xs())==null?void 0:o.fingerprint,n=window.location.origin;return e.headers["X-Website-Domain"]=n,r&&(e.headers.Fingerprint=r),t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e.response));xr.interceptors.response.use(e=>{if([200,201].includes(e.status))return e;throw new Error(e.status.toString())},e=>Promise.reject(e));let Ja=0;const _f=["/chatlog/chatList","/group/query"];function Af(e){return e?_f.some(t=>e.includes(t)):!1}function Ys({url:e,data:t,method:r,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){const f=d=>{const s=qt(),{code:x}=d.data;return x>=200&&x<300||!x?d.data:(x===401&&(s.removeToken(),window.location.reload()),Promise.reject(d.data))},c=d=>{var p,m,b,g,v,C;const s=qt();let x="";if((p=d.response)!=null&&p.data&&(x=d.response.data),l==null||l(),((m=d==null?void 0:d.response)==null?void 0:m.status)===401){if(s.removeToken(),!Af((b=d==null?void 0:d.request)==null?void 0:b.responseURL)){s.loadInit&&s.setLoginDialog(!0);const E=((g=d.response.data)==null?void 0:g.message)||"请先登录后再进行使用!";Date.now()-Ja>3e3&&window.$message.error(E)}Ja=Date.now()}else x&&!(x!=null&&x.success)&&window.$message.error((x==null?void 0:x.message)||"请求接口错误!");throw new Error(((C=(v=d.response)==null?void 0:v.data)==null?void 0:C.message)||d||"Error")};i==null||i(),r=r||"GET";const u=Object.assign(typeof t=="function"?t():t??{},{});return r==="GET"?xr.get(e,{params:u,signal:a,onDownloadProgress:o}).then(f,c):xr.post(e,u,{headers:n,signal:a,onDownloadProgress:o}).then(f,c)}function Re({url:e,data:t,method:r="GET",onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i}){return Ys({url:e,method:r,data:t,onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i})}function De({url:e,data:t,method:r="POST",headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){return Ys({url:e,method:r,data:t,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l})}function Sf(e){return De({url:"/group/create",data:e})}function Df(){return Re({url:"/group/query"})}function Bf(e){return De({url:"/group/update",data:e})}function Ff(e){return De({url:"/group/del",data:e})}function Pf(e){return De({url:"/group/delAll",data:e})}const qn="chatStorage";function kf(){return{active:0,usingContext:!0,usingNetwork:!1,groupList:[],chatList:[],groupKeyWord:"",baseConfig:null,currentPlugin:void 0,pluginList:[],prompt:""}}function Tf(){const e=Fe.get(qn);return{...kf(),...e}}function Rf({active:e}){Fe.set(qn,{...Fe.get(qn),active:e})}function If(e){return De({url:"/chatlog/del",data:e})}function Lf(e){return De({url:"/chatlog/delByGroupId",data:e})}function Nf(e){return De({url:"/chatlog/deleteChatsAfterId",data:e})}function Of(e){return Re({url:"/chatlog/chatList",data:e})}function xm(){return Re({url:"/models/list"})}function Mf(){return Re({url:"/models/baseConfig"})}function Uf(){return Re({url:"/plugin/pluginList"})}const Qs=pt("chat-store",{state:()=>Tf(),getters:{activeConfig:e=>{var o;const t=e.active;if(!t)return{};const r=(o=e.groupList.find(a=>a.uuid===t))==null?void 0:o.config;return r?JSON.parse(r):e.baseConfig},activeGroupAppId:e=>{var r;const t=e.active;return t?(r=e.groupList.find(n=>n.uuid===t))==null?void 0:r.appId:null},activeGroupFileUrl:e=>{var r;const t=e.active;return t?(r=e.groupList.find(n=>n.uuid===t))==null?void 0:r.fileUrl:null},activeModel(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.model},activeModelName(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelName},activeModelAvatar(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelAvatar},activeModelDeductType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deductType},activeModelKeyType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.keyType},activeModelFileUpload(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.isFileUpload},activeModelPrice(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deduct}},actions:{async queryPlugins(){try{const e=await Uf();e.success&&e.code===200&&(this.pluginList=e.data.rows.filter(t=>t.isEnabled===1).map(t=>({pluginId:t.id,pluginName:t.name,description:t.description,pluginImg:t.pluginImg,parameters:t.parameters,deductType:t.deductType})))}catch{}},setGroupKeyWord(e){this.groupKeyWord=e},getChatByGroupInfo(){if(this.active)return this.groupList.find(e=>e.uuid===this.active)},getConfigFromUuid(e){var t;return(t=this.groupList.find(r=>r.uuid===e))==null?void 0:t.config},async addNewChatGroup(e=0,t,r){try{const n=await Sf({appId:e,modelConfig:t,params:r});this.active=n.data.id,await this.queryMyGroup(),await this.setActiveGroup(n.data.id)}catch(n){console.error("新增对话组时出错:",n)}},async getBaseModelConfig(){const e=await Mf();this.baseConfig=e==null?void 0:e.data},async queryMyGroup(){const e=await Df();this.groupList=[...e.data.map(r=>{const{id:n,title:o,isSticky:a,createdAt:i,updatedAt:l,appId:f,config:c,appLogo:u,isFixedModel:d,isGpts:s,params:x,fileUrl:h}=r;return{uuid:n,title:o,isEdit:!1,appId:f,config:c,isSticky:a,appLogo:u,createdAt:i,isFixedModel:d,isGpts:s,params:x,fileUrl:h,updatedAt:new Date(l).getTime()}})];const t=this.groupList.some(r=>Number(r.uuid)===Number(this.active));(!this.active||!t)&&this.groupList.length&&this.setActiveGroup(this.groupList[0].uuid),this.groupList.length===0&&await this.addNewChatGroup(),this.recordState()},async updateGroupInfo(e){await Bf(e),await this.queryMyGroup()},async setActiveGroup(e){this.active=e,this.groupList.forEach(t=>t.isEdit=!1),this.active?await this.queryActiveChatLogList():this.chatList=[],this.recordState()},async deleteGroup(e){const t=this.groupList.findIndex(n=>n.uuid===e.uuid),{uuid:r}=e;await Ff({groupId:r}),await this.queryMyGroup(),this.groupList.length===0&&await this.setActiveGroup(0),t>0&&t0&&await this.setActiveGroup(this.groupList[0].uuid),(t>this.groupList.length||t===0&&this.groupList.length===0)&&await this.setActiveGroup(0),t>0&&t===this.groupList.length&&await this.setActiveGroup(this.groupList[t-1].uuid),this.recordState()},async delAllGroup(){!this.active||!this.groupList.length||(await Pf(),await this.queryMyGroup(),this.groupList.length===0?await this.setActiveGroup(0):await this.setActiveGroup(this.groupList[0].uuid))},async queryActiveChatLogList(){if(!(!this.active||Number(this.active)===0)){try{const e=await Of({groupId:this.active});e&&e.data?this.chatList=e.data:this.chatList=[]}catch(e){console.error("Error fetching chat log list:",e),this.chatList=[]}this.recordState()}},addGroupChat(e){this.chatList=[...this.chatList,e]},updateGroupChat(e,t){this.chatList[e]={...this.chatList[e],...t}},updateGroupChatSome(e,t){this.chatList[e]={...this.chatList[e],...t}},async deleteChatById(e){e&&(await If({id:e}),await this.queryActiveChatLogList())},async deleteChatsAfterId(e){e&&(await Nf({id:e}),await this.queryActiveChatLogList())},setUsingContext(e){this.usingContext=e,this.recordState()},setUsingNetwork(e){this.usingNetwork=e,this.recordState()},setUsingPlugin(e){this.currentPlugin=e||void 0,this.recordState()},async setPrompt(e){console.log("setPrompt:",e),this.prompt=e,this.recordState()},setStreamIn(e){this.isStreamIn=e,this.recordState()},async clearChatByGroupId(){this.active&&(await Lf({groupId:this.active}),await this.queryActiveChatLogList())},recordState(){Rf(this.$state)},clearChat(){this.chatList=[],this.groupList=[],this.active=0,this.recordState()}}});function hm(){return Re({url:"/app/queryCats"})}function pm(){return Re({url:"/app/list"})}function mm(e){return De({url:"/app/searchList",data:e})}function Hf(){return Re({url:"/app/mineApps"})}function gm(e){return De({url:"/app/collect",data:e})}function vm(e){return Re({url:"/app/queryOneCat",data:e})}const bm=pt("app-cat-store",{state:()=>({catId:0,mineApps:[]}),actions:{setCatId(e){this.catId=e},async queryMineApps(){var t;const e=await Hf();this.mineApps=((t=e==null?void 0:e.data)==null?void 0:t.rows)||[]}}});function Cm(e){return De({url:"/chatgpt/chat-process",data:{model:e.model,modelName:e.modelName,modelType:e.modelType,prompt:e.prompt,fileInfo:e==null?void 0:e.fileInfo,extraParam:e==null?void 0:e.extraParam,appId:e==null?void 0:e.appId,options:e.options,action:e==null?void 0:e.action,customId:e==null?void 0:e.customId,usingPluginId:e==null?void 0:e.usingPluginId,drawId:e==null?void 0:e.drawId,modelAvatar:e==null?void 0:e.modelAvatar},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function ym(e){return De({url:"/chatgpt/ppt-cover",data:e})}function Em(e){return De({url:"/chatgpt/tts-process",data:e})}function Wf(){return Re({url:"/auth/getInfo"})}function wm(e){return De({url:"/auth/register",data:e})}function _m(e){return De({url:"/auth/login",data:e})}function Am(e){return De({url:"/user/update",data:e})}function Sm(e){return De({url:"/auth/updatePassword",data:e})}function Dm(e){return De({url:"/auth/sendCode",data:e})}function Bm(e){return De({url:"/auth/sendPhoneCode",data:e})}function Fm(e){return Re({url:"/balance/rechargeLog",data:e})}function jf(){return Re({url:"/balance/query"})}function Pm(){return Re({url:"/balance/getVisitorCount"})}function km(){return De({url:"/balance/inheritVisitorData"})}function $f(e){return Re({url:"/config/queryFronet",data:e})}const yo="SECRET_TOKEN";function qf(){return Fe.get(yo)}function Gf(e){return Fe.set(yo,e)}function En(){return Fe.remove(yo)}const qt=pt("auth-store",{state:()=>({token:qf(),loginDialog:!1,globalConfigLoading:!0,userInfo:{},userBalance:{},globalConfig:{},loadInit:!1}),getters:{isLogin:e=>!!e.token},actions:{async getUserInfo(){try{this.loadInit||await this.getglobalConfig();const e=await Wf();if(!e)return Promise.resolve(e);const{data:t}=e,{userInfo:r,userBalance:n}=t;return this.userInfo={...r},this.userBalance={...n},Promise.resolve(t)}catch(e){return Promise.reject(e)}},updateUserBalance(e){this.userBalance=e},async getUserBalance(){const e=await jf(),{success:t,data:r}=e;t&&(this.userBalance=r)},async getglobalConfig(e=""){const t=await $f({domain:e});this.globalConfig=t.data,this.globalConfigLoading=!1,this.loadInit=!0},setToken(e){this.token=e,Gf(e)},removeToken(){this.token=void 0,En()},setLoginDialog(e){this.loginDialog=e},logOut(){this.token=void 0,En(),this.userInfo={},this.userBalance={},Qs().clearChat(),window.location.reload()},updatePasswordSuccess(){this.token=void 0,En(),this.userInfo={},this.userBalance={},this.loginDialog=!0}}});function Vf(){return qt(Sr)}const Xs=pt("global-store",{state:()=>({payDialog:!1,goodsDialog:!1,noticeDialog:!1,bindWxDialog:!1,signInDialog:!1,appDialog:!1,phoneIdentityDialog:!1,isChatIn:!1,fingerprint:0,model:Fe.get("model")||3,orderInfo:{},iframeUrl:"",clipboardText:"",identityDialog:!1,userAgreementDialog:!1,BadWordsDialog:!1}),actions:{updateClipboardText(e){this.clipboardText=e},updateFingerprint(e){let t=e;t>2147483647&&(t=Number(t.toString().slice(-9)),t=Number(String(Number(t)))),Fe.set("fingerprint",t),this.fingerprint=t},updateIframeUrl(e){this.iframeUrl=e},updatePayDialog(e){this.payDialog=e},updateUserAgreementDialog(e){this.userAgreementDialog=e},UpdateBadWordsDialog(e){this.BadWordsDialog=e},updateIsChatIn(e){this.isChatIn=e},updateGoodsDialog(e){this.goodsDialog=e},updateBindwxDialog(e){this.bindWxDialog=e},updateSignInDialog(e){this.signInDialog=e},updateNoticeDialog(e){this.noticeDialog=e},updateAppDialog(e){this.appDialog=e},updateIdentityDialog(e){this.identityDialog=e},updateOrderInfo(e){this.orderInfo=e},updatePhoneDialog(e){this.phoneIdentityDialog=e},updateModel(e){Fe.set("model",e),this.model=e}}});function zf(){return Xs(Sr)}const Js="promptStore";function Kf(){return Fe.get(Js)??{promptList:[]}}function Yf(e){Fe.set(Js,e)}pt("prompt-store",{state:()=>Kf(),actions:{updatePromptList(e){this.$patch({promptList:e}),Yf({promptList:e})},getPromptList(){return this.$state}}});const Eo="settingsStorage";function Zs(){return{systemMessage:""}}function Qf(){const e=Fe.get(Eo);return{...Zs(),...e}}function Xf(e){Fe.set(Eo,e)}function Jf(){Fe.remove(Eo)}pt("setting-store",{state:()=>Qf(),actions:{updateSetting(e){this.$state={...this.$state,...e},this.recordState()},resetSetting(){this.$state=Zs(),Jf()},recordState(){Xf(this.$state)}}});const Sr=ml();function Zf(e){e.use(Sr)}/*! + * shared v11.1.1 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */const hr=typeof window<"u",ct=(e,t=!1)=>t?Symbol.for(e):Symbol(e),ed=(e,t,r)=>td({l:e,k:t,s:r}),td=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),we=e=>typeof e=="number"&&isFinite(e),rd=e=>wo(e)==="[object Date]",At=e=>wo(e)==="[object RegExp]",Dr=e=>ue(e)&&Object.keys(e).length===0,Se=Object.assign,nd=Object.create,be=(e=null)=>nd(e);let Za;const dt=()=>Za||(Za=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:be());function ei(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const od=Object.prototype.hasOwnProperty;function Me(e,t){return od.call(e,t)}const _e=Array.isArray,ye=e=>typeof e=="function",G=e=>typeof e=="string",pe=e=>typeof e=="boolean",me=e=>e!==null&&typeof e=="object",ad=e=>me(e)&&ye(e.then)&&ye(e.catch),e0=Object.prototype.toString,wo=e=>e0.call(e),ue=e=>wo(e)==="[object Object]",id=e=>e==null?"":_e(e)||ue(e)&&e.toString===e0?JSON.stringify(e,null,2):String(e);function _o(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function sd(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const er=e=>!me(e)||_e(e);function ur(e,t){if(er(e)||er(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:o}=r.pop();Object.keys(n).forEach(a=>{a!=="__proto__"&&(me(n[a])&&!me(o[a])&&(o[a]=Array.isArray(n[a])?[]:be()),er(o[a])||er(n[a])?o[a]=n[a]:r.push({src:n[a],des:o[a]}))})}}/*! + * message-compiler v11.1.1 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function cd(e,t,r){return{line:e,column:t,offset:r}}function Gn(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}const ve={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},ld=17;function Br(e,t,r={}){const{domain:n,messages:o,args:a}=r,i=e,l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=n,l}function ud(e){throw e}const Ge=" ",fd="\r",Pe=` +`,dd=String.fromCharCode(8232),xd=String.fromCharCode(8233);function hd(e){const t=e;let r=0,n=1,o=1,a=0;const i=w=>t[w]===fd&&t[w+1]===Pe,l=w=>t[w]===Pe,f=w=>t[w]===xd,c=w=>t[w]===dd,u=w=>i(w)||l(w)||f(w)||c(w),d=()=>r,s=()=>n,x=()=>o,h=()=>a,p=w=>i(w)||f(w)||c(w)?Pe:t[w],m=()=>p(r),b=()=>p(r+a);function g(){return a=0,u(r)&&(n++,o=0),i(r)&&r++,r++,o++,t[r]}function v(){return i(r+a)&&a++,a++,t[r+a]}function C(){r=0,n=1,o=1,a=0}function E(w=0){a=w}function y(){const w=r+a;for(;w!==r;)g();a=0}return{index:d,line:s,column:x,peekOffset:h,charAt:p,currentChar:m,currentPeek:b,next:g,peek:v,reset:C,resetPeek:E,skipToPeek:y}}const tt=void 0,pd=".",ti="'",md="tokenizer";function gd(e,t={}){const r=t.location!==!1,n=hd(e),o=()=>n.index(),a=()=>cd(n.line(),n.column(),n.index()),i=a(),l=o(),f={currentType:13,offset:l,startLoc:i,endLoc:i,lastType:13,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>f,{onError:u}=t;function d(A,_,P,...$){const Z=c();if(_.column+=P,_.offset+=P,u){const ee=r?Gn(Z.startLoc,_):null,k=Br(A,ee,{domain:md,args:$});u(k)}}function s(A,_,P){A.endLoc=a(),A.currentType=_;const $={type:_};return r&&($.loc=Gn(A.startLoc,A.endLoc)),P!=null&&($.value=P),$}const x=A=>s(A,13);function h(A,_){return A.currentChar()===_?(A.next(),_):(d(ve.EXPECTED_TOKEN,a(),0,_),"")}function p(A){let _="";for(;A.currentPeek()===Ge||A.currentPeek()===Pe;)_+=A.currentPeek(),A.peek();return _}function m(A){const _=p(A);return A.skipToPeek(),_}function b(A){if(A===tt)return!1;const _=A.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_===95}function g(A){if(A===tt)return!1;const _=A.charCodeAt(0);return _>=48&&_<=57}function v(A,_){const{currentType:P}=_;if(P!==2)return!1;p(A);const $=b(A.currentPeek());return A.resetPeek(),$}function C(A,_){const{currentType:P}=_;if(P!==2)return!1;p(A);const $=A.currentPeek()==="-"?A.peek():A.currentPeek(),Z=g($);return A.resetPeek(),Z}function E(A,_){const{currentType:P}=_;if(P!==2)return!1;p(A);const $=A.currentPeek()===ti;return A.resetPeek(),$}function y(A,_){const{currentType:P}=_;if(P!==7)return!1;p(A);const $=A.currentPeek()===".";return A.resetPeek(),$}function w(A,_){const{currentType:P}=_;if(P!==8)return!1;p(A);const $=b(A.currentPeek());return A.resetPeek(),$}function D(A,_){const{currentType:P}=_;if(!(P===7||P===11))return!1;p(A);const $=A.currentPeek()===":";return A.resetPeek(),$}function F(A,_){const{currentType:P}=_;if(P!==9)return!1;const $=()=>{const ee=A.currentPeek();return ee==="{"?b(A.peek()):ee==="@"||ee==="|"||ee===":"||ee==="."||ee===Ge||!ee?!1:ee===Pe?(A.peek(),$()):B(A,!1)},Z=$();return A.resetPeek(),Z}function S(A){p(A);const _=A.currentPeek()==="|";return A.resetPeek(),_}function B(A,_=!0){const P=(Z=!1,ee="")=>{const k=A.currentPeek();return k==="{"||k==="@"||!k?Z:k==="|"?!(ee===Ge||ee===Pe):k===Ge?(A.peek(),P(!0,Ge)):k===Pe?(A.peek(),P(!0,Pe)):!0},$=P();return _&&A.resetPeek(),$}function T(A,_){const P=A.currentChar();return P===tt?tt:_(P)?(A.next(),P):null}function I(A){const _=A.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36}function V(A){return T(A,I)}function q(A){const _=A.charCodeAt(0);return _>=97&&_<=122||_>=65&&_<=90||_>=48&&_<=57||_===95||_===36||_===45}function Y(A){return T(A,q)}function ce(A){const _=A.charCodeAt(0);return _>=48&&_<=57}function se(A){return T(A,ce)}function ae(A){const _=A.charCodeAt(0);return _>=48&&_<=57||_>=65&&_<=70||_>=97&&_<=102}function ie(A){return T(A,ae)}function L(A){let _="",P="";for(;_=se(A);)P+=_;return P}function U(A){let _="";for(;;){const P=A.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P===Ge||P===Pe)if(B(A))_+=P,A.next();else{if(S(A))break;_+=P,A.next()}else _+=P,A.next()}return _}function H(A){m(A);let _="",P="";for(;_=Y(A);)P+=_;return A.currentChar()===tt&&d(ve.UNTERMINATED_CLOSING_BRACE,a(),0),P}function O(A){m(A);let _="";return A.currentChar()==="-"?(A.next(),_+=`-${L(A)}`):_+=L(A),A.currentChar()===tt&&d(ve.UNTERMINATED_CLOSING_BRACE,a(),0),_}function he(A){return A!==ti&&A!==Pe}function ne(A){m(A),h(A,"'");let _="",P="";for(;_=T(A,he);)_==="\\"?P+=R(A):P+=_;const $=A.currentChar();return $===Pe||$===tt?(d(ve.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),$===Pe&&(A.next(),h(A,"'")),P):(h(A,"'"),P)}function R(A){const _=A.currentChar();switch(_){case"\\":case"'":return A.next(),`\\${_}`;case"u":return M(A,_,4);case"U":return M(A,_,6);default:return d(ve.UNKNOWN_ESCAPE_SEQUENCE,a(),0,_),""}}function M(A,_,P){h(A,_);let $="";for(let Z=0;Z{const $=A.currentChar();return $==="{"||$==="@"||$==="|"||$==="("||$===")"||!$||$===Ge?P:(P+=$,A.next(),_(P))};return _("")}function X(A){m(A);const _=h(A,"|");return m(A),_}function K(A,_){let P=null;switch(A.currentChar()){case"{":return _.braceNest>=1&&d(ve.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),A.next(),P=s(_,2,"{"),m(A),_.braceNest++,P;case"}":return _.braceNest>0&&_.currentType===2&&d(ve.EMPTY_PLACEHOLDER,a(),0),A.next(),P=s(_,3,"}"),_.braceNest--,_.braceNest>0&&m(A),_.inLinked&&_.braceNest===0&&(_.inLinked=!1),P;case"@":return _.braceNest>0&&d(ve.UNTERMINATED_CLOSING_BRACE,a(),0),P=Q(A,_)||x(_),_.braceNest=0,P;default:{let Z=!0,ee=!0,k=!0;if(S(A))return _.braceNest>0&&d(ve.UNTERMINATED_CLOSING_BRACE,a(),0),P=s(_,1,X(A)),_.braceNest=0,_.inLinked=!1,P;if(_.braceNest>0&&(_.currentType===4||_.currentType===5||_.currentType===6))return d(ve.UNTERMINATED_CLOSING_BRACE,a(),0),_.braceNest=0,oe(A,_);if(Z=v(A,_))return P=s(_,4,H(A)),m(A),P;if(ee=C(A,_))return P=s(_,5,O(A)),m(A),P;if(k=E(A,_))return P=s(_,6,ne(A)),m(A),P;if(!Z&&!ee&&!k)return P=s(_,12,z(A)),d(ve.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,P.value),m(A),P;break}}return P}function Q(A,_){const{currentType:P}=_;let $=null;const Z=A.currentChar();switch((P===7||P===8||P===11||P===9)&&(Z===Pe||Z===Ge)&&d(ve.INVALID_LINKED_FORMAT,a(),0),Z){case"@":return A.next(),$=s(_,7,"@"),_.inLinked=!0,$;case".":return m(A),A.next(),s(_,8,".");case":":return m(A),A.next(),s(_,9,":");default:return S(A)?($=s(_,1,X(A)),_.braceNest=0,_.inLinked=!1,$):y(A,_)||D(A,_)?(m(A),Q(A,_)):w(A,_)?(m(A),s(_,11,le(A))):F(A,_)?(m(A),Z==="{"?K(A,_)||$:s(_,10,re(A))):(P===7&&d(ve.INVALID_LINKED_FORMAT,a(),0),_.braceNest=0,_.inLinked=!1,oe(A,_))}}function oe(A,_){let P={type:13};if(_.braceNest>0)return K(A,_)||x(_);if(_.inLinked)return Q(A,_)||x(_);switch(A.currentChar()){case"{":return K(A,_)||x(_);case"}":return d(ve.UNBALANCED_CLOSING_BRACE,a(),0),A.next(),s(_,3,"}");case"@":return Q(A,_)||x(_);default:{if(S(A))return P=s(_,1,X(A)),_.braceNest=0,_.inLinked=!1,P;if(B(A))return s(_,0,U(A));break}}return P}function J(){const{currentType:A,offset:_,startLoc:P,endLoc:$}=f;return f.lastType=A,f.lastOffset=_,f.lastStartLoc=P,f.lastEndLoc=$,f.offset=o(),f.startLoc=a(),n.currentChar()===tt?s(f,13):oe(n,f)}return{nextToken:J,currentOffset:o,currentPosition:a,context:c}}const vd="parser",bd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Cd(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function yd(e={}){const t=e.location!==!1,{onError:r}=e;function n(b,g,v,C,...E){const y=b.currentPosition();if(y.offset+=C,y.column+=C,r){const w=t?Gn(v,y):null,D=Br(g,w,{domain:vd,args:E});r(D)}}function o(b,g,v){const C={type:b};return t&&(C.start=g,C.end=g,C.loc={start:v,end:v}),C}function a(b,g,v,C){t&&(b.end=g,b.loc&&(b.loc.end=v))}function i(b,g){const v=b.context(),C=o(3,v.offset,v.startLoc);return C.value=g,a(C,b.currentOffset(),b.currentPosition()),C}function l(b,g){const v=b.context(),{lastOffset:C,lastStartLoc:E}=v,y=o(5,C,E);return y.index=parseInt(g,10),b.nextToken(),a(y,b.currentOffset(),b.currentPosition()),y}function f(b,g){const v=b.context(),{lastOffset:C,lastStartLoc:E}=v,y=o(4,C,E);return y.key=g,b.nextToken(),a(y,b.currentOffset(),b.currentPosition()),y}function c(b,g){const v=b.context(),{lastOffset:C,lastStartLoc:E}=v,y=o(9,C,E);return y.value=g.replace(bd,Cd),b.nextToken(),a(y,b.currentOffset(),b.currentPosition()),y}function u(b){const g=b.nextToken(),v=b.context(),{lastOffset:C,lastStartLoc:E}=v,y=o(8,C,E);return g.type!==11?(n(b,ve.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),y.value="",a(y,C,E),{nextConsumeToken:g,node:y}):(g.value==null&&n(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,He(g)),y.value=g.value||"",a(y,b.currentOffset(),b.currentPosition()),{node:y})}function d(b,g){const v=b.context(),C=o(7,v.offset,v.startLoc);return C.value=g,a(C,b.currentOffset(),b.currentPosition()),C}function s(b){const g=b.context(),v=o(6,g.offset,g.startLoc);let C=b.nextToken();if(C.type===8){const E=u(b);v.modifier=E.node,C=E.nextConsumeToken||b.nextToken()}switch(C.type!==9&&n(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,He(C)),C=b.nextToken(),C.type===2&&(C=b.nextToken()),C.type){case 10:C.value==null&&n(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,He(C)),v.key=d(b,C.value||"");break;case 4:C.value==null&&n(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,He(C)),v.key=f(b,C.value||"");break;case 5:C.value==null&&n(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,He(C)),v.key=l(b,C.value||"");break;case 6:C.value==null&&n(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,He(C)),v.key=c(b,C.value||"");break;default:{n(b,ve.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const E=b.context(),y=o(7,E.offset,E.startLoc);return y.value="",a(y,E.offset,E.startLoc),v.key=y,a(v,E.offset,E.startLoc),{nextConsumeToken:C,node:v}}}return a(v,b.currentOffset(),b.currentPosition()),{node:v}}function x(b){const g=b.context(),v=g.currentType===1?b.currentOffset():g.offset,C=g.currentType===1?g.endLoc:g.startLoc,E=o(2,v,C);E.items=[];let y=null;do{const F=y||b.nextToken();switch(y=null,F.type){case 0:F.value==null&&n(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,He(F)),E.items.push(i(b,F.value||""));break;case 5:F.value==null&&n(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,He(F)),E.items.push(l(b,F.value||""));break;case 4:F.value==null&&n(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,He(F)),E.items.push(f(b,F.value||""));break;case 6:F.value==null&&n(b,ve.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,He(F)),E.items.push(c(b,F.value||""));break;case 7:{const S=s(b);E.items.push(S.node),y=S.nextConsumeToken||null;break}}}while(g.currentType!==13&&g.currentType!==1);const w=g.currentType===1?g.lastOffset:b.currentOffset(),D=g.currentType===1?g.lastEndLoc:b.currentPosition();return a(E,w,D),E}function h(b,g,v,C){const E=b.context();let y=C.items.length===0;const w=o(1,g,v);w.cases=[],w.cases.push(C);do{const D=x(b);y||(y=D.items.length===0),w.cases.push(D)}while(E.currentType!==13);return y&&n(b,ve.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),a(w,b.currentOffset(),b.currentPosition()),w}function p(b){const g=b.context(),{offset:v,startLoc:C}=g,E=x(b);return g.currentType===13?E:h(b,v,C,E)}function m(b){const g=gd(b,Se({},e)),v=g.context(),C=o(0,v.offset,v.startLoc);return t&&C.loc&&(C.loc.source=b),C.body=p(g),e.onCacheKey&&(C.cacheKey=e.onCacheKey(b)),v.currentType!==13&&n(g,ve.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,b[v.offset]||""),a(C,g.currentOffset(),g.currentPosition()),C}return{parse:m}}function He(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Ed(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:a=>(r.helpers.add(a),a)}}function ri(e,t){for(let r=0;rni(r)),e}function ni(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;rl;function c(m,b){l.code+=m}function u(m,b=!0){const g=b?o:"";c(a?g+" ".repeat(m):g)}function d(m=!0){const b=++l.indentLevel;m&&u(b)}function s(m=!0){const b=--l.indentLevel;m&&u(b)}function x(){u(l.indentLevel)}return{context:f,push:c,indent:d,deindent:s,newline:x,helper:m=>`_${m}`,needIndent:()=>l.needIndent}}function Sd(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),St(e,t.key),t.modifier?(e.push(", "),St(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Dd(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let a=0;a1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let a=0;a{const r=G(t.mode)?t.mode:"normal",n=G(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":` +`,i=t.needIndent?t.needIndent:r!=="arrow",l=e.helpers||[],f=Ad(e,{mode:r,filename:n,sourceMap:o,breakLineCode:a,needIndent:i});f.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),f.indent(i),l.length>0&&(f.push(`const { ${_o(l.map(d=>`${d}: _${d}`),", ")} } = ctx`),f.newline()),f.push("return "),St(f,e),f.deindent(i),f.push("}"),delete e.helpers;const{code:c,map:u}=f.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function kd(e,t={}){const r=Se({},t),n=!!r.jit,o=!!r.minify,a=r.optimize==null?!0:r.optimize,l=yd(r).parse(e);return n?(a&&_d(l),o&&Ct(l),{ast:l,code:""}):(wd(l,r),Pd(l,r))}/*! + * core-base v11.1.1 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */function Td(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(dt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(dt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function wn(e){return r=>Rd(r,e)}function Rd(e,t){const r=Ld(t);if(r==null)throw Gt(0);if(So(r)===1){const a=Od(r);return e.plural(a.reduce((i,l)=>[...i,oi(e,l)],[]))}else return oi(e,r)}const Id=["b","body"];function Ld(e){return lt(e,Id)}const Nd=["c","cases"];function Od(e){return lt(e,Nd,[])}function oi(e,t){const r=Ud(t);if(r!=null)return e.type==="text"?r:e.normalize([r]);{const n=Wd(t).reduce((o,a)=>[...o,Vn(e,a)],[]);return e.normalize(n)}}const Md=["s","static"];function Ud(e){return lt(e,Md)}const Hd=["i","items"];function Wd(e){return lt(e,Hd,[])}function Vn(e,t){const r=So(t);switch(r){case 3:return tr(t,r);case 9:return tr(t,r);case 4:{const n=t;if(Me(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Me(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw Gt(r)}case 5:{const n=t;if(Me(n,"i")&&we(n.i))return e.interpolate(e.list(n.i));if(Me(n,"index")&&we(n.index))return e.interpolate(e.list(n.index));throw Gt(r)}case 6:{const n=t,o=Gd(n),a=zd(n);return e.linked(Vn(e,a),o?Vn(e,o):void 0,e.type)}case 7:return tr(t,r);case 8:return tr(t,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}const jd=["t","type"];function So(e){return lt(e,jd)}const $d=["v","value"];function tr(e,t){const r=lt(e,$d);if(r)return r;throw Gt(t)}const qd=["m","modifier"];function Gd(e){return lt(e,qd)}const Vd=["k","key"];function zd(e){const t=lt(e,Vd);if(t)return t;throw Gt(6)}function lt(e,t,r){for(let n=0;ne;let rr=be();function Dt(e){return me(e)&&So(e)===0&&(Me(e,"b")||Me(e,"body"))}function Yd(e,t={}){let r=!1;const n=t.onError||ud;return t.onError=o=>{r=!0,n(o)},{...kd(e,t),detectError:r}}function Qd(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&G(e)){pe(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Kd)(e),o=rr[n];if(o)return o;const{ast:a,detectError:i}=Yd(e,{...t,location:!1,jit:!0}),l=wn(a);return i?l:rr[n]=l}else{const r=e.cacheKey;if(r){const n=rr[r];return n||(rr[r]=wn(e))}else return wn(e)}}let Vt=null;function Xd(e){Vt=e}function Jd(e,t,r){Vt&&Vt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}const Zd=ex("function:translate");function ex(e){return t=>Vt&&Vt.emit(e,t)}const ze={INVALID_ARGUMENT:ld,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},tx=24;function Ke(e){return Br(e,null,void 0)}function Do(e,t){return t.locale!=null?ai(t.locale):ai(e.locale)}let _n;function ai(e){if(G(e))return e;if(ye(e)){if(e.resolvedOnce&&_n!=null)return _n;if(e.constructor.name==="Function"){const t=e();if(ad(t))throw Ke(ze.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return _n=t}else throw Ke(ze.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ke(ze.NOT_SUPPORT_LOCALE_TYPE)}function rx(e,t,r){return[...new Set([r,..._e(t)?t:me(t)?Object.keys(t):G(t)?[t]:[r]])]}function t0(e,t,r){const n=G(r)?r:zt,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(n);if(!a){a=[];let i=[r];for(;_e(i);)i=ii(a,i,t);const l=_e(t)||!ue(t)?t:t.default?t.default:null;i=G(l)?[l]:l,_e(i)&&ii(a,i,!1),o.__localeChainCache.set(n,a)}return a}function ii(e,t,r){let n=!0;for(let o=0;o{i===void 0?i=l:i+=l},s[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},s[2]=()=>{s[0](),o++},s[3]=()=>{if(o>0)o--,n=4,s[0]();else{if(o=0,i===void 0||(i=lx(i),i===!1))return!1;s[1]()}};function x(){const h=e[r+1];if(n===5&&h==="'"||n===6&&h==='"')return r++,l="\\"+h,s[0](),!0}for(;n!==null;)if(r++,a=e[r],!(a==="\\"&&x())){if(f=cx(a),d=ut[n],c=d[f]||d.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=s[c[1]],u&&(l=a,u()===!1))))return;if(n===7)return t}}const si=new Map;function fx(e,t){return me(e)?e[t]:null}function dx(e,t){if(!me(e))return null;let r=si.get(t);if(r||(r=ux(t),r&&si.set(t,r)),!r)return null;const n=r.length;let o=e,a=0;for(;a`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function hx(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&me(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&me(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&G(e)?li(e):t==="vnode"&&me(e)&&"__v_isVNode"in e?li(e.children):e}}let r0;function px(e){r0=e}let n0;function mx(e){n0=e}let o0;function gx(e){o0=e}let a0=null;const vx=e=>{a0=e},bx=()=>a0;let i0=null;const ui=e=>{i0=e},Cx=()=>i0;let fi=0;function yx(e={}){const t=ye(e.onWarn)?e.onWarn:sd,r=G(e.version)?e.version:xx,n=G(e.locale)||ye(e.locale)?e.locale:zt,o=ye(n)?zt:n,a=_e(e.fallbackLocale)||ue(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ue(e.messages)?e.messages:An(o),l=ue(e.datetimeFormats)?e.datetimeFormats:An(o),f=ue(e.numberFormats)?e.numberFormats:An(o),c=Se(be(),e.modifiers,hx()),u=e.pluralRules||be(),d=ye(e.missing)?e.missing:null,s=pe(e.missingWarn)||At(e.missingWarn)?e.missingWarn:!0,x=pe(e.fallbackWarn)||At(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,p=!!e.unresolving,m=ye(e.postTranslation)?e.postTranslation:null,b=ue(e.processor)?e.processor:null,g=pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,C=ye(e.messageCompiler)?e.messageCompiler:r0,E=ye(e.messageResolver)?e.messageResolver:n0||fx,y=ye(e.localeFallbacker)?e.localeFallbacker:o0||rx,w=me(e.fallbackContext)?e.fallbackContext:void 0,D=e,F=me(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,S=me(D.__numberFormatters)?D.__numberFormatters:new Map,B=me(D.__meta)?D.__meta:{};fi++;const T={version:r,cid:fi,locale:n,fallbackLocale:a,messages:i,modifiers:c,pluralRules:u,missing:d,missingWarn:s,fallbackWarn:x,fallbackFormat:h,unresolving:p,postTranslation:m,processor:b,warnHtmlMessage:g,escapeParameter:v,messageCompiler:C,messageResolver:E,localeFallbacker:y,fallbackContext:w,onWarn:t,__meta:B};return T.datetimeFormats=l,T.numberFormats=f,T.__datetimeFormatters=F,T.__numberFormatters=S,__INTLIFY_PROD_DEVTOOLS__&&Jd(T,r,B),T}const An=e=>({[e]:be()});function Bo(e,t,r,n,o){const{missing:a,onWarn:i}=e;if(a!==null){const l=a(e,r,t,o);return G(l)?l:t}else return t}function Rt(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function Ex(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function _x(e,t){const r=t.indexOf(e);if(r===-1)return!1;for(let n=r+1;n{s0.includes(f)?i[f]=r[f]:a[f]=r[f]}),G(n)?a.locale=n:ue(n)&&(i=n),ue(o)&&(i=o),[a.key||"",l,a,i]}function xi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function hi(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e,[f,c,u,d]=Kn(...t),s=pe(u.missingWarn)?u.missingWarn:e.missingWarn;pe(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const x=!!u.part,h=Do(e,u),p=i(e,o,h);if(!G(f)||f==="")return new Intl.NumberFormat(h,d).format(c);let m={},b,g=null;const v="number format";for(let y=0;y{c0.includes(f)?i[f]=r[f]:a[f]=r[f]}),G(n)?a.locale=n:ue(n)&&(i=n),ue(o)&&(i=o),[a.key||"",l,a,i]}function pi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}const Ax=e=>e,Sx=e=>"",Dx="text",Bx=e=>e.length===0?"":_o(e),Fx=id;function mi(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Px(e){const t=we(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(we(e.named.count)||we(e.named.n))?we(e.named.count)?e.named.count:we(e.named.n)?e.named.n:t:t}function kx(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Tx(e={}){const t=e.locale,r=Px(e),n=me(e.pluralRules)&&G(t)&&ye(e.pluralRules[t])?e.pluralRules[t]:mi,o=me(e.pluralRules)&&G(t)&&ye(e.pluralRules[t])?mi:void 0,a=b=>b[n(r,b.length,o)],i=e.list||[],l=b=>i[b],f=e.named||be();we(e.pluralIndex)&&kx(r,f);const c=b=>f[b];function u(b,g){const v=ye(e.messages)?e.messages(b,!!g):me(e.messages)?e.messages[b]:!1;return v||(e.parent?e.parent.message(b):Sx)}const d=b=>e.modifiers?e.modifiers[b]:Ax,s=ue(e.processor)&&ye(e.processor.normalize)?e.processor.normalize:Bx,x=ue(e.processor)&&ye(e.processor.interpolate)?e.processor.interpolate:Fx,h=ue(e.processor)&&G(e.processor.type)?e.processor.type:Dx,m={list:l,named:c,plural:a,linked:(b,...g)=>{const[v,C]=g;let E="text",y="";g.length===1?me(v)?(y=v.modifier||y,E=v.type||E):G(v)&&(y=v||y):g.length===2&&(G(v)&&(y=v||y),G(C)&&(E=C||E));const w=u(b,!0)(m),D=E==="vnode"&&_e(w)&&y?w[0]:w;return y?d(y)(D,E):D},message:u,type:h,interpolate:x,normalize:s,values:Se(be(),i,f)};return m}const gi=()=>"",Ne=e=>ye(e);function vi(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:l}=e,[f,c]=Yn(...t),u=pe(c.missingWarn)?c.missingWarn:e.missingWarn,d=pe(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,s=pe(c.escapeParameter)?c.escapeParameter:e.escapeParameter,x=!!c.resolvedMessage,h=G(c.default)||pe(c.default)?pe(c.default)?a?f:()=>f:c.default:r?a?f:()=>f:null,p=r||h!=null&&(G(h)||ye(h)),m=Do(e,c);s&&Rx(c);let[b,g,v]=x?[f,m,l[m]||be()]:l0(e,f,m,i,d,u),C=b,E=f;if(!x&&!(G(C)||Dt(C)||Ne(C))&&p&&(C=h,E=C),!x&&(!(G(C)||Dt(C)||Ne(C))||!G(g)))return o?Fr:f;let y=!1;const w=()=>{y=!0},D=Ne(C)?C:u0(e,f,g,C,E,w);if(y)return C;const F=Nx(e,g,v,c),S=Tx(F),B=Ix(e,D,S),T=n?n(B,f):B;if(__INTLIFY_PROD_DEVTOOLS__){const I={timestamp:Date.now(),key:G(f)?f:Ne(C)?C.key:"",locale:g||(Ne(C)?C.locale:""),format:G(C)?C:Ne(C)?C.source:"",message:T};I.meta=Se({},e.__meta,bx()||{}),Zd(I)}return T}function Rx(e){_e(e.list)?e.list=e.list.map(t=>G(t)?ei(t):t):me(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=ei(e.named[t]))})}function l0(e,t,r,n,o,a){const{messages:i,onWarn:l,messageResolver:f,localeFallbacker:c}=e,u=c(e,n,r);let d=be(),s,x=null;const h="translate";for(let p=0;pn;return c.locale=r,c.key=t,c}const f=i(n,Lx(e,r,o,n,l,a));return f.locale=r,f.key=t,f.source=n,f}function Ix(e,t,r){return t(r)}function Yn(...e){const[t,r,n]=e,o=be();if(!G(t)&&!we(t)&&!Ne(t)&&!Dt(t))throw Ke(ze.INVALID_ARGUMENT);const a=we(t)?String(t):(Ne(t),t);return we(r)?o.plural=r:G(r)?o.default=r:ue(r)&&!Dr(r)?o.named=r:_e(r)&&(o.list=r),we(n)?o.plural=n:G(n)?o.default=n:ue(n)&&Se(o,n),[a,o]}function Lx(e,t,r,n,o,a){return{locale:t,key:r,warnHtmlMessage:o,onError:i=>{throw a&&a(i),i},onCacheKey:i=>ed(t,r,i)}}function Nx(e,t,r,n){const{modifiers:o,pluralRules:a,messageResolver:i,fallbackLocale:l,fallbackWarn:f,missingWarn:c,fallbackContext:u}=e,s={locale:t,modifiers:o,pluralRules:a,messages:(x,h)=>{let p=i(r,x);if(p==null&&(u||h)){const[,,m]=l0(u||e,x,t,l,f,c);p=i(m,x)}if(G(p)||Dt(p)){let m=!1;const g=u0(e,x,t,p,x,()=>{m=!0});return m?gi:g}else return Ne(p)?p:gi}};return e.processor&&(s.processor=e.processor),n.list&&(s.list=n.list),n.named&&(s.named=n.named),we(n.plural)&&(s.pluralIndex=n.plural),s}Td();/*! + * vue-i18n v11.1.1 + * (c) 2025 kazuya kawaguchi + * Released under the MIT License. + */const Ox="11.1.1";function Mx(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(dt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(dt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(dt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(dt().__INTLIFY_PROD_DEVTOOLS__=!1)}const Te={UNEXPECTED_RETURN_TYPE:tx,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function Le(e,...t){return Br(e,null,void 0)}const Qn=ct("__translateVNode"),Xn=ct("__datetimeParts"),Jn=ct("__numberParts"),f0=ct("__setPluralRules"),d0=ct("__injectWithOption"),Zn=ct("__dispose");function Kt(e){if(!me(e))return e;for(const t in e)if(Me(e,t))if(!t.includes("."))me(e[t])&&Kt(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,a=!1;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:f,resource:c}=l;f?(i[f]=i[f]||be(),ur(c,i[f])):ur(c,i)}else G(l)&&ur(JSON.parse(l),i)}),o==null&&a)for(const l in i)Me(i,l)&&Kt(i[l]);return i}function x0(e){return e.type}function h0(e,t,r){let n=me(t.messages)?t.messages:be();"__i18nGlobal"in r&&(n=Fo(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(me(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(me(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function bi(e){return it(K0,null,e,0)}const Ci="__INTLIFY_META__",yi=()=>[],Ux=()=>!1;let Ei=0;function wi(e){return(t,r,n,o)=>e(r,n,Ht()||void 0,o)}const Hx=()=>{const e=Ht();let t=null;return e&&(t=x0(e)[Ci])?{[Ci]:t}:null};function Po(e={}){const{__root:t,__injectWithOption:r}=e,n=t===void 0,o=e.flatJson,a=hr?pr:ts;let i=pe(e.inheritLocale)?e.inheritLocale:!0;const l=a(t&&i?t.locale.value:G(e.locale)?e.locale:zt),f=a(t&&i?t.fallbackLocale.value:G(e.fallbackLocale)||_e(e.fallbackLocale)||ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),c=a(Fo(l.value,e)),u=a(ue(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),d=a(ue(e.numberFormats)?e.numberFormats:{[l.value]:{}});let s=t?t.missingWarn:pe(e.missingWarn)||At(e.missingWarn)?e.missingWarn:!0,x=t?t.fallbackWarn:pe(e.fallbackWarn)||At(e.fallbackWarn)?e.fallbackWarn:!0,h=t?t.fallbackRoot:pe(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,m=ye(e.missing)?e.missing:null,b=ye(e.missing)?wi(e.missing):null,g=ye(e.postTranslation)?e.postTranslation:null,v=t?t.warnHtmlMessage:pe(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const E=t?t.modifiers:ue(e.modifiers)?e.modifiers:{};let y=e.pluralRules||t&&t.pluralRules,w;w=(()=>{n&&ui(null);const k={version:Ox,locale:l.value,fallbackLocale:f.value,messages:c.value,modifiers:E,pluralRules:y,missing:b===null?void 0:b,missingWarn:s,fallbackWarn:x,fallbackFormat:p,unresolving:!0,postTranslation:g===null?void 0:g,warnHtmlMessage:v,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};k.datetimeFormats=u.value,k.numberFormats=d.value,k.__datetimeFormatters=ue(w)?w.__datetimeFormatters:void 0,k.__numberFormatters=ue(w)?w.__numberFormatters:void 0;const W=yx(k);return n&&ui(W),W})(),Rt(w,l.value,f.value);function F(){return[l.value,f.value,c.value,u.value,d.value]}const S=Ee({get:()=>l.value,set:k=>{w.locale=k,l.value=k}}),B=Ee({get:()=>f.value,set:k=>{w.fallbackLocale=k,f.value=k,Rt(w,l.value,k)}}),T=Ee(()=>c.value),I=Ee(()=>u.value),V=Ee(()=>d.value);function q(){return ye(g)?g:null}function Y(k){g=k,w.postTranslation=k}function ce(){return m}function se(k){k!==null&&(b=wi(k)),m=k,w.missing=b}const ae=(k,W,de,Ce,$e,ft)=>{F();let qe;try{__INTLIFY_PROD_DEVTOOLS__,n||(w.fallbackContext=t?Cx():void 0),qe=k(w)}finally{__INTLIFY_PROD_DEVTOOLS__,n||(w.fallbackContext=void 0)}if(de!=="translate exists"&&we(qe)&&qe===Fr||de==="translate exists"&&!qe){const[Je,vt]=W();return t&&h?Ce(t):$e(Je)}else{if(ft(qe))return qe;throw Le(Te.UNEXPECTED_RETURN_TYPE)}};function ie(...k){return ae(W=>Reflect.apply(vi,null,[W,...k]),()=>Yn(...k),"translate",W=>Reflect.apply(W.t,W,[...k]),W=>W,W=>G(W))}function L(...k){const[W,de,Ce]=k;if(Ce&&!me(Ce))throw Le(Te.INVALID_ARGUMENT);return ie(W,de,Se({resolvedMessage:!0},Ce||{}))}function U(...k){return ae(W=>Reflect.apply(di,null,[W,...k]),()=>zn(...k),"datetime format",W=>Reflect.apply(W.d,W,[...k]),()=>ci,W=>G(W))}function H(...k){return ae(W=>Reflect.apply(hi,null,[W,...k]),()=>Kn(...k),"number format",W=>Reflect.apply(W.n,W,[...k]),()=>ci,W=>G(W))}function O(k){return k.map(W=>G(W)||we(W)||pe(W)?bi(String(W)):W)}const ne={normalize:O,interpolate:k=>k,type:"vnode"};function R(...k){return ae(W=>{let de;const Ce=W;try{Ce.processor=ne,de=Reflect.apply(vi,null,[Ce,...k])}finally{Ce.processor=null}return de},()=>Yn(...k),"translate",W=>W[Qn](...k),W=>[bi(W)],W=>_e(W))}function M(...k){return ae(W=>Reflect.apply(hi,null,[W,...k]),()=>Kn(...k),"number format",W=>W[Jn](...k),yi,W=>G(W)||_e(W))}function j(...k){return ae(W=>Reflect.apply(di,null,[W,...k]),()=>zn(...k),"datetime format",W=>W[Xn](...k),yi,W=>G(W)||_e(W))}function z(k){y=k,w.pluralRules=y}function le(k,W){return ae(()=>{if(!k)return!1;const de=G(W)?W:l.value,Ce=K(de),$e=w.messageResolver(Ce,k);return Dt($e)||Ne($e)||G($e)},()=>[k],"translate exists",de=>Reflect.apply(de.te,de,[k,W]),Ux,de=>pe(de))}function re(k){let W=null;const de=t0(w,f.value,l.value);for(let Ce=0;Ce{i&&(l.value=k,w.locale=k,Rt(w,l.value,f.value))}),wt(t.fallbackLocale,k=>{i&&(f.value=k,w.fallbackLocale=k,Rt(w,l.value,f.value))}));const ee={id:Ei,locale:S,fallbackLocale:B,get inheritLocale(){return i},set inheritLocale(k){i=k,k&&t&&(l.value=t.locale.value,f.value=t.fallbackLocale.value,Rt(w,l.value,f.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:T,get modifiers(){return E},get pluralRules(){return y||{}},get isGlobal(){return n},get missingWarn(){return s},set missingWarn(k){s=k,w.missingWarn=s},get fallbackWarn(){return x},set fallbackWarn(k){x=k,w.fallbackWarn=x},get fallbackRoot(){return h},set fallbackRoot(k){h=k},get fallbackFormat(){return p},set fallbackFormat(k){p=k,w.fallbackFormat=p},get warnHtmlMessage(){return v},set warnHtmlMessage(k){v=k,w.warnHtmlMessage=k},get escapeParameter(){return C},set escapeParameter(k){C=k,w.escapeParameter=k},t:ie,getLocaleMessage:K,setLocaleMessage:Q,mergeLocaleMessage:oe,getPostTranslationHandler:q,setPostTranslationHandler:Y,getMissingHandler:ce,setMissingHandler:se,[f0]:z};return ee.datetimeFormats=I,ee.numberFormats=V,ee.rt=L,ee.te=le,ee.tm=X,ee.d=U,ee.n=H,ee.getDateTimeFormat=J,ee.setDateTimeFormat=A,ee.mergeDateTimeFormat=_,ee.getNumberFormat=P,ee.setNumberFormat=$,ee.mergeNumberFormat=Z,ee[d0]=r,ee[Qn]=R,ee[Xn]=j,ee[Jn]=M,ee}function Wx(e){const t=G(e.locale)?e.locale:zt,r=G(e.fallbackLocale)||_e(e.fallbackLocale)||ue(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=ye(e.missing)?e.missing:void 0,o=pe(e.silentTranslationWarn)||At(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=pe(e.silentFallbackWarn)||At(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=pe(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,f=ue(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=ye(e.postTranslation)?e.postTranslation:void 0,d=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,s=!!e.escapeParameterHtml,x=pe(e.sync)?e.sync:!0;let h=e.messages;if(ue(e.sharedMessages)){const E=e.sharedMessages;h=Object.keys(E).reduce((w,D)=>{const F=w[D]||(w[D]={});return Se(F,E[D]),w},h||{})}const{__i18n:p,__root:m,__injectWithOption:b}=e,g=e.datetimeFormats,v=e.numberFormats,C=e.flatJson;return{locale:t,fallbackLocale:r,messages:h,flatJson:C,datetimeFormats:g,numberFormats:v,missing:n,missingWarn:o,fallbackWarn:a,fallbackRoot:i,fallbackFormat:l,modifiers:f,pluralRules:c,postTranslation:u,warnHtmlMessage:d,escapeParameter:s,messageResolver:e.messageResolver,inheritLocale:x,__i18n:p,__root:m,__injectWithOption:b}}function eo(e={}){const t=Po(Wx(e)),{__extender:r}=e,n={id:t.id,get locale(){return t.locale.value},set locale(o){t.locale.value=o},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(o){t.fallbackLocale.value=o},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(o){t.setMissingHandler(o)},get silentTranslationWarn(){return pe(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(o){t.missingWarn=pe(o)?!o:o},get silentFallbackWarn(){return pe(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(o){t.fallbackWarn=pe(o)?!o:o},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(o){t.fallbackFormat=o},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(o){t.setPostTranslationHandler(o)},get sync(){return t.inheritLocale},set sync(o){t.inheritLocale=o},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){t.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(o){t.escapeParameter=o},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...o){return Reflect.apply(t.t,t,[...o])},rt(...o){return Reflect.apply(t.rt,t,[...o])},te(o,a){return t.te(o,a)},tm(o){return t.tm(o)},getLocaleMessage(o){return t.getLocaleMessage(o)},setLocaleMessage(o,a){t.setLocaleMessage(o,a)},mergeLocaleMessage(o,a){t.mergeLocaleMessage(o,a)},d(...o){return Reflect.apply(t.d,t,[...o])},getDateTimeFormat(o){return t.getDateTimeFormat(o)},setDateTimeFormat(o,a){t.setDateTimeFormat(o,a)},mergeDateTimeFormat(o,a){t.mergeDateTimeFormat(o,a)},n(...o){return Reflect.apply(t.n,t,[...o])},getNumberFormat(o){return t.getNumberFormat(o)},setNumberFormat(o,a){t.setNumberFormat(o,a)},mergeNumberFormat(o,a){t.mergeNumberFormat(o,a)}};return n.__extender=r,n}function jx(e,t,r){return{beforeCreate(){const n=Ht();if(!n)throw Le(Te.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=t,this===this.$root)this.$i18n=_i(e,a);else{a.__injectWithOption=!0,a.__extender=r.__vueI18nExtend,this.$i18n=eo(a);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=_i(e,o);else{this.$i18n=eo({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&h0(t,o,o),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$te=(a,i)=>this.$i18n.te(a,i),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),r.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=Ht();if(!n)throw Le(Te.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function _i(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[f0](t.pluralizationRules||e.pluralizationRules);const r=Fo(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const ko={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function $x({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===es?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},be())}function p0(){return es}const qx=Qe({name:"i18n-t",props:Se({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>we(e)||!isNaN(e)}},ko),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||To({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(r).filter(d=>d!=="_"),i=be();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=G(e.plural)?+e.plural:e.plural);const l=$x(t,a),f=o[Qn](e.keypath,l,i),c=Se(be(),n),u=G(e.tag)||me(e.tag)?e.tag:p0();return xt(u,c,f)}}}),Ai=qx;function Gx(e){return _e(e)&&!G(e[0])}function m0(e,t,r,n){const{slots:o,attrs:a}=t;return()=>{const i={part:!0};let l=be();e.locale&&(i.locale=e.locale),G(e.format)?i.key=e.format:me(e.format)&&(G(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((s,x)=>r.includes(x)?Se(be(),s,{[x]:e.format[x]}):s,be()));const f=n(e.value,i,l);let c=[i.key];_e(f)?c=f.map((s,x)=>{const h=o[s.type],p=h?h({[s.type]:s.value,index:x,parts:f}):[s.value];return Gx(p)&&(p[0].key=`${s.type}-${x}`),p}):G(f)&&(c=[f]);const u=Se(be(),a),d=G(e.tag)||me(e.tag)?e.tag:p0();return xt(d,u,c)}}const Vx=Qe({name:"i18n-n",props:Se({value:{type:Number,required:!0},format:{type:[String,Object]}},ko),setup(e,t){const r=e.i18n||To({useScope:e.scope,__useComponent:!0});return m0(e,t,c0,(...n)=>r[Jn](...n))}}),Si=Vx;function zx(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function Kx(e){const t=i=>{const{instance:l,value:f}=i;if(!l||!l.$)throw Le(Te.UNEXPECTED_ERROR);const c=zx(e,l.$),u=Di(f);return[Reflect.apply(c.t,c,[...Bi(u)]),c]};return{created:(i,l)=>{const[f,c]=t(l);hr&&e.global===c&&(i.__i18nWatcher=wt(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=f},unmounted:i=>{hr&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const f=i.__composer,c=Di(l);i.textContent=Reflect.apply(f.t,f,[...Bi(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function Di(e){if(G(e))return{path:e};if(ue(e)){if(!("path"in e))throw Le(Te.REQUIRED_VALUE,"path");return e}else throw Le(Te.INVALID_VALUE)}function Bi(e){const{path:t,locale:r,args:n,choice:o,plural:a}=e,i={},l=n||{};return G(r)&&(i.locale=r),we(o)&&(i.plural=o),we(a)&&(i.plural=a),[t,l,i]}function Yx(e,t,...r){const n=ue(r[0])?r[0]:{};(pe(n.globalInstall)?n.globalInstall:!0)&&([Ai.name,"I18nT"].forEach(a=>e.component(a,Ai)),[Si.name,"I18nN"].forEach(a=>e.component(a,Si)),[Pi.name,"I18nD"].forEach(a=>e.component(a,Pi))),e.directive("t",Kx(t))}const Qx=ct("global-vue-i18n");function Xx(e={}){const t=__VUE_I18N_LEGACY_API__&&pe(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,r=pe(e.globalInjection)?e.globalInjection:!0,n=new Map,[o,a]=Jx(e,t),i=ct("");function l(d){return n.get(d)||null}function f(d,s){n.set(d,s)}function c(d){n.delete(d)}const u={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(d,...s){if(d.__VUE_I18N_SYMBOL__=i,d.provide(d.__VUE_I18N_SYMBOL__,u),ue(s[0])){const p=s[0];u.__composerExtend=p.__composerExtend,u.__vueI18nExtend=p.__vueI18nExtend}let x=null;!t&&r&&(x=ih(d,u.global)),__VUE_I18N_FULL_INSTALL__&&Yx(d,u,...s),__VUE_I18N_LEGACY_API__&&t&&d.mixin(jx(a,a.__composer,u));const h=d.unmount;d.unmount=()=>{x&&x(),u.dispose(),h()}},get global(){return a},dispose(){o.stop()},__instances:n,__getInstance:l,__setInstance:f,__deleteInstance:c};return u}function To(e={}){const t=Ht();if(t==null)throw Le(Te.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Le(Te.NOT_INSTALLED);const r=Zx(t),n=th(r),o=x0(t),a=eh(e,o);if(a==="global")return h0(n,e,o),n;if(a==="parent"){let f=rh(r,t,e.__useComponent);return f==null&&(f=n),f}const i=r;let l=i.__getInstance(t);if(l==null){const f=Se({},e);"__i18n"in o&&(f.__i18n=o.__i18n),n&&(f.__root=n),l=Po(f),i.__composerExtend&&(l[Zn]=i.__composerExtend(l)),oh(i,t,l),i.__setInstance(t,l)}return l}function Jx(e,t){const r=ao(),n=__VUE_I18N_LEGACY_API__&&t?r.run(()=>eo(e)):r.run(()=>Po(e));if(n==null)throw Le(Te.UNEXPECTED_ERROR);return[r,n]}function Zx(e){const t=Xe(e.isCE?Qx:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Le(e.isCE?Te.NOT_INSTALLED_WITH_PROVIDE:Te.UNEXPECTED_ERROR);return t}function eh(e,t){return Dr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function th(e){return e.mode==="composition"?e.global:e.global.__composer}function rh(e,t,r=!1){let n=null;const o=t.root;let a=nh(t,r);for(;a!=null;){const i=e;if(e.mode==="composition")n=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(a);l!=null&&(n=l.__composer,r&&n&&!n[d0]&&(n=null))}if(n!=null||o===a)break;a=a.parent}return n}function nh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function oh(e,t,r){Zi(()=>{},t),z0(()=>{const n=r;e.__deleteInstance(t);const o=n[Zn];o&&(o(),delete n[Zn])},t)}const ah=["locale","fallbackLocale","availableLocales"],Fi=["t","rt","d","n","tm","te"];function ih(e,t){const r=Object.create(null);return ah.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a)throw Le(Te.UNEXPECTED_ERROR);const i=Ut(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(r,o,i)}),e.config.globalProperties.$i18n=r,Fi.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a||!a.value)throw Le(Te.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,Fi.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}const sh=Qe({name:"i18n-d",props:Se({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},ko),setup(e,t){const r=e.i18n||To({useScope:e.scope,__useComponent:!0});return m0(e,t,s0,(...n)=>r[Xn](...n))}}),Pi=sh;Mx();px(Qd);mx(dx);gx(t0);if(__INTLIFY_PROD_DEVTOOLS__){const e=dt();e.__INTLIFY__=!0,Xd(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ch="en",lh={add:"Add",addSuccess:"Add Success",edit:"Edit",editSuccess:"Edit Success",delete:"Delete",deleteSuccess:"Delete Success",save:"Save",saveSuccess:"Save Success",reset:"Reset",action:"Action",export:"Export",exportSuccess:"Export Success",import:"Import",importSuccess:"Import Success",clear:"Clear",clearSuccess:"Clear Success",yes:"Yes",no:"No",update:"Update",download:"Download",noData:"No Data",wrong:"Something went wrong, please try again later.",success:"Success",failed:"Failed",verify:"Verify",unauthorizedTips:"Unauthorized, please verify first.",confirm:"Confirm",cancel:"Cancel"},uh={newChatButton:"New Chat",placeholder:"Ask me anything...(Shift + Enter = line break)",placeholderMobile:"Ask me anything...",copy:"Copy",copied:"Copied",copyCode:"Copy Code",clearChat:"Clear Chat",clearChatConfirm:"Are you sure to clear this chat?",exportImage:"Export Image",exportImageConfirm:"Are you sure to export this chat to png?",exportSuccess:"Export Success",exportFailed:"Export Failed",usingContext:"Context Mode",turnOnContext:"In the current mode, sending messages will carry previous chat records.",turnOffContext:"In the current mode, sending messages will not carry previous chat records.",deleteMessage:"Delete Message",deleteMessageConfirm:"Are you sure to delete this message?",deleteHistoryConfirm:"Are you sure to clear this history?",clearHistoryConfirm:"Are you sure to clear chat history?",preview:"Preview",showRawText:"Show as raw text",size:"Size:",generatedContentDisclaimer:"AI can make mistakes. Consider checking important information. All rights reserved ©",square1:"Square [1:1]",illustration:"Illustration [4:3]",wallpaper:"Wallpaper [16:9]",media:"Media [3:4]",poster:"Poster [9:16]",square:"Square",landscape:"Landscape",portrait:"Portrait",chatDialogue:"Chat Dialogue",startNewConversationPrompt:"Click the button below to start a new conversation",newConversation:"New Conversation",networkModeEnabledContextInvalid:"Network mode enabled, context invalidated!",networkModeDisabled:"Network mode disabled!",pointsMall:"Points Mall",toggleTheme:"Toggle Theme",signInReward:"Sign-In Reward",networkMode:"Network Mode",searchHistoryConversations:"Search History Conversations",announcement:"Announcement",clear:"Clear",remaining:"",ordinaryPoints:"Ordinary Points",advancedPoints:"Advanced Points",drawingPoints:"Drawing Points",points:"Points",clearConversation:"Clear Conversation",clearAllNonFavoriteConversations:"Clear all non-favorite conversations?",more:"More",collapse:"Collapse",myApps:"My Apps",appSquare:"App Square",favorites:"Favorites",todayConversations:"Today",Conversations:"",historyConversations:"History",favoriteConversations:"Favorite",unfavorite:"Unfavorite",rename:"Rename",deleteConversation:"Delete",me:"You",onlineSearch:"Online Search",mindMap:"Mind Map",fileAnalysis:"File Analysis",delete:"Delete",regenerate:"Regenerate",pause:"Pause",loading:"Loading...",readAloud:"Read Aloud",U1:"🔍 U1",U2:"🔍 U2",U3:"🔍 U3",U4:"🔍 U4",V1:"🪄 V1",V2:"🪄 V2",V3:"🪄 V3",V4:"🪄 V4",panLeft:"⬅️ Pan Left",panRight:"➡️ Pan Right",panUp:"⬆️ Pan Up",panDown:"⬇️ Pan Down",zoomIn15x:"↔️ Zoom 1.5x",zoomIn2x:"↔️ Zoom 2x",minorTransform:"Vary(Subtle)",strongTransform:"Vary(Strong)",enlargeImage:"Enlarge image {order}",transformImage:"Transform image {order}",expandDrawing:"Expand drawing",advancedTransform:"Advanced transform",translateImage:"Translate image",enlargeImagePrefix:"Enlarge image ",enlargeImageSuffix:"",transformImagePrefix:"Transform image ",transformImageSuffix:"",imageToImage:"Image to Image",faceConsistency:"Face Consistency",styleConsistency:"Style Consistency",selectAppOrTopic:"Select an application or topic for quick conversation"},fh={sampleTemplate:"Sample Template",exploreInfinitePossibilities:"Explore infinite possibilities, create a smart future with AI",searchAppNameQuickFind:"Search app names, quick find applications...",allCategories:"All Categories",noModelConfigured:"No specific application model has been configured by the administrator, please contact them to set it up~"},dh={setting:"Setting",general:"General",advanced:"Advanced",config:"Config",avatarLink:"Avatar Link",name:"Name",description:"Description",role:"Role",resetUserInfo:"Reset UserInfo",chatHistory:"ChatHistory",theme:"Theme",language:"Language",api:"API",reverseProxy:"Reverse Proxy",timeout:"Timeout",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API Balance",sign:"Signature"},xh={siderButton:"Prompt Store",local:"Local",online:"Online",title:"Title",description:"Description",clearStoreConfirm:"Whether to clear the data?",importPlaceholder:"Please paste the JSON data here",addRepeatTitleTips:"Title duplicate, please re-enter",addRepeatContentTips:"Content duplicate: {msg}, please re-enter",editRepeatTitleTips:"Title conflict, please revise",editRepeatContentTips:"Content conflict {msg} , please re-modify",importError:"Key value mismatch",importRepeatTitle:"Title repeatedly skipped: {msg}",importRepeatContent:"Content is repeatedly skipped: {msg}",onlineImportWarning:"Note: Please check the JSON file source!",downloadError:"Please check the network status and JSON file validity"},hh={use:"Use",download:"Download",delete:"Delete",zoom:"Zoom:",U1:"U1",U2:"U2",U3:"U3",U4:"U4",regenerateOnce:"Regenerate",transform:"Transform:",V1:"V1",V2:"V2",V3:"V3",V4:"V4",pan:"Pan:",panLeft:"⬅️",panRight:"➡️",panUp:"⬆️",panDown:"⬇️",transformZoom:"Zoom Transform",zoom1_5x:"Zoom 1.5x",zoom2x:"Zoom 2x",minorTransform:"Minor Transform",strongTransform:"Strong Transform",regionalRedraw:"Regional Redraw",regionalRedraw1:"Regional Redraw (Select the Area to Change)",submitTask:"Submit Task",selectSuiteForZoom:"Action: Select a suite to zoom",selectSuiteForTransform:"Action: Select a suite for transformation",regeneratingImage:"Action: Regenerating the image",drawingInProgress:"Action: Rapid drawing in progress...",tryDifferentPrompt:"Execute: Try a different prompt!",statusWaiting:"Waiting",statusDrawing:"Drawing",statusSuccess:"Success",statusFailure:"Failure",statusTimeout:"Timeout",downloadImageTitle:"Download Image",downloadImageContent:"Download the current image",downloadButtonText:"Download",cancelButtonText:"Cancel",deleteRecordTitle:"Delete Record",deleteRecordContent:"Delete the current drawing record?",deleteButtonText:"Delete",submitZoomDrawingSuccess:"Zoom drawing task submitted successfully, please wait for it to finish!",submitRedrawSuccess:"Redraw task submitted successfully, please wait for it to finish!",submitTransformDrawingSuccess:"Transform drawing task submitted successfully, please wait for it to finish!",submitEnlargeDrawingSuccess:"Enlarge drawing task submitted successfully, please wait for it to finish!",submitAdvancedTransformDrawingSuccess:"Advanced transform drawing task submitted successfully, please wait for it to finish!",submitRegionalRedrawSuccess:"Regional redraw task submitted successfully, please wait for it to finish!",drawingRecordDeleted:"Drawing record has been deleted!",queueing:"Queueing...",drawing:"Drawing...",storing:"Storing image...",drawingFailed:"Drawing Failed",pointsRefunded:"Points Refunded!",submitDrawingTaskSuccess:"Drawing task submitted successfully, please wait for it to finish!",defaultStyle:"Default Style",expressiveStyle:"Expressive Style",cuteStyle:"Cute Style",scenicStyle:"Scenic Style",standardQuality:"Standard",generalQuality:"General",highDefinitionQuality:"High Definition",ultraHighDefinitionQuality:"Ultra High Definition",enterDescription:"Please enter descriptive words!",optimizationFailed:"Optimization failed!",professionalDrawing:"Professional Drawing",parameterExplanation:"Parameter Explanation: Generate image size ratio",imageSize:"Image Size",modelSelection:"Model Selection",tooltipMJ:"MJ: General-purpose realistic model",tooltipNIJI:"NIJI: Anime style, suitable for 2D models",version:"Version",style:"Style",parameters:"Parameters",parametersTooltip:"Use parameters wisely to achieve more ideal results!",quality:"Quality",chaos:"Chaos",chaosDescription:"Value range: 0-100, --chaos or --c",chaosExplanation:"Chaos level, can be understood as the space for AI to think outside the box",chaosAdvice:"The smaller the value, the more reliable, with the default of 0 being the most precise",stylization:"Stylization",stylizationDescription:"Stylization: --stylize or --s, range 1-1000",parameterExplanation1:"Parameter explanation: The higher the number, the richer and more artistic the visual presentation",setting:"Setting",carryParameters:"Carry Parameters",autoCarryParameters:"Whether to automatically carry parameters",carryOn:"On: Carries the parameters we have configured",carryOff:"Off: Uses the parameters we customize in the command",imageToImage:"Image to Image",clickOrDrag:"Click or drag an image here to use as input",supportFormats:"Supports PNG and JPG formats",remainingPoints:"Remaining Points",refresh:"Refresh",accountInfo:"Account Information",points:"Points",paintingSingleUse:"Painting:",imageGenerationSingleUse:"Generation:",enlargementSingleUse:"Enlargement:",submitDrawingTask:"Enter keywords, submit drawing task",optimize:"Optimize",enterDrawingKeywords:"Enter drawing keywords. For example: A colorful cat, cute, cartoon",unnecessaryElements:"Unnecessary Elements",exclusionPrompt:"Example: Generate a room image, but exclude the bed, you can fill in 'bed'!",workingContents:"Working Contents",currentTasks:"Current tasks in progress",goToAIDrawingSquare:"Click to go to the AI Drawing Square",tasksInProgress:"tasks are currently in progress. Please wait patiently for the drawing to complete. You can visit other pages and return later to see the results!",myDrawings:"My Drawings",aiDrawingSquare:"AI Drawing Square",sizeAdjustment:"Size Adjustment",keywordSearchPlaceholder:"Prompt Keyword Search"},ph={membershipMarket:"Membership Market",sizeAdjustment:"Size Adjustment",memberPackage:"Limited Time Member Package",permanentAddOnCard:"Permanent Add-On Card",baseModelQuota:"Base Model Quota",advancedModelQuota:"Advanced Model Quota",MJDrawingQuota:"MJ Drawing Quota",packageValidity:"Package Validity",days:"days",permanent:"Permanent",points:"Points",welcomeTipMobile:"Explore freely, welcome to our online store!",welcomeTipDesktop:"Explore freely, welcome to our online store, thank you for choosing us, let's start a delightful shopping journey together!",paymentNotEnabled:"Payment has not been enabled by the admin!",purchaseSuccess:"Purchase successful, enjoy your product!",paymentNotComplete:"You have not completed the payment yet!",wechat:"WeChat",alipay:"Alipay",wechatPay:"WeChat Pay",alipayPay:"Alipay Pay",paymentSuccess:"Congratulations, your payment was successful. Enjoy your purchase!",paymentTimeout:"Payment timeout, please place your order again!",productPayment:"Product Payment",amountDue:"Amount Due:",packageName:"Package Name:",packageDescription:"Package Description:",siteAdminEnabledRedirect:"The site administrator has enabled redirect payment",clickToPay:"Click to Proceed to Payment",completePaymentWithin:"Please complete the payment within",timeToCompletePayment:"!",open:"Open",scanToPay:"Scan to Pay"},mh={title:"Mind Map",yourNeeds:"Your Needs?",inputPlaceholder:"Please enter a brief description of the content you want to generate, AI will produce a complete markdown content and its mind map for you!",generateMindMapButton:"Generate Mind Map",contentRequirements:"Content Requirements",tryDemoButton:"Try a Demo",usageCredits:"Base credits per use: 1",exportHTML:"Export HTML",exportPNG:"Export PNG",exportSVG:"Export SVG"},gh={defaultSignature:"I am an AI robot based on deep learning and natural language processing technologies, aimed at providing users with efficient, accurate, and personalized intelligent services.",syncComplete:"Data synchronization completed",personalCenter:"Personal Center",logOut:"Log Out",myUsageRecord:"My Usage Record on This Site",basicModelCredits:"Basic Model Credits:",advancedModelCredits:"Advanced Model Credits:",basicModelUsage:"Basic Model Usage:",advancedModelUsage:"Advanced Model Usage:",drawingUsageCredits:"Drawing Usage Credits:",bindWeChat:"Bind WeChat:",clickToBindWeChat:"Click to Bind WeChat",weChatBound:"WeChat Bound",syncVisitorData:"Click to Sync Visitor Data",points:"Points",membershipExpiration:"Membership Expiration Date:",editInfoDescription:"Edit personal information, view more details",myDetails:"My Details",myWallet:"My Wallet",basicInfo:"Basic Information",userBasicSettings:"User Basic Settings",avatarPlaceholder:"Please enter your avatar URL",usernamePlaceholder:"Edit your username",signaturePlaceholder:"Edit your signature",passwordManagement:"Password Management",inviteBenefits:"Invite for Benefits",clickToLogin:"Log In",notLoggedIn:"Not Logged In",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",inviteTime:"Invite Time",rewardStatus:"Reward Status",certified:"Certified",notActivated:"Not Activated",rewardReceived:"Reward Received",waitingConfirmation:"Waiting for Confirmation",linkGeneratedSuccess:"Invitation link generated successfully",generateLinkFirst:"Please generate your exclusive invitation link first!",linkCopiedSuccess:"Exclusive invitation link copied successfully!",copyNotSupported:"Automatic copying is not supported on this device, please copy manually!",inviteForBenefits:"Invite Users, Earn Benefits!",myInviteCode:"My Invitation Code",generateInviteCode:"Generate Exclusive Invite Code",copyInviteLink:"Copy Exclusive Invite Link",inviteOneUser:"Inviting a user grants",basicModelCredits1:"basic model credits+",advancedModelCredits1:"advanced model credits+",mjDrawingCredits:"MJ drawing credits",receiveInvitation:"Invited users receive",creditsEnd:"credits",invitationRecord:"Invitation Record",passwordMinLength:"The minimum password length is 6 characters",passwordMaxLength:"The maximum password length is 30 characters",enterPassword:"Please enter a password",reenterPassword:"Please re-enter your password",passwordsNotMatch:"The passwords do not match",passwordUpdateSuccess:"Password updated successfully, please log in again!",changeYourPassword:"Change Your Password",oldPassword:"Old Password",newPassword:"New Password",confirmPassword:"Confirm Password",reloginAfterPasswordChange:"You will need to log in again after updating your password!",updateYourPassword:"Update Your Password",passwordRequirements:"Password Requirements",newPasswordInstructions:"To create a new password, you must meet all the following requirements:",minimumCharacters:"At least 6 characters",maximumCharacters:"No more than 30 characters",requireNumber:"Must contain at least one number",orderNumber:"Order Number",rechargeType:"Recharge Type",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",mjDrawingQuota:"MJ Drawing Quota",validity:"Validity",rechargeTime:"Recharge Time",enterCardSecret:"Please enter the card secret first!",cardRedeemSuccess:"Card redeemed successfully, enjoy your use!",userWalletBalance:"User Wallet Balance",basicModelBalance:"Basic Model Balance",creditUsageNote:"Each conversation consumes different credits depending on the model!",advancedModelBalance:"Advanced Model Balance",modelConsumptionNote:"Each conversation consumes different credits depending on the model!",mjDrawingBalance:"MJ Drawing Balance",drawingConsumptionNote:"Different credits are consumed based on drawing actions!",cardRecharge:"Card Recharge",enterCardDetails:"Please paste or enter your card details!",exchange:"Exchange",buyCardSecret:"Buy Card Secret",rechargeRecords:"Recharge Records",packagePurchase:"Package Purchase",buyPackage:"Buy Package"},vh={signInReward:"Sign-in Reward",themeSwitch:"Theme Switch",personalCenter:"Personal Center",loginAccount:"Log In Account"},bh={doNotRemind24h:"Do not remind again for 24 hours"},Ch={enterUsername:"Please enter your username",usernameLength:"Username must be between 2 and 30 characters",enterPassword:"Please enter your password",passwordLength:"Password must be between 6 and 30 characters",enterEmail:"Please enter your email address",emailValid:"Please enter a valid email address",enterCaptcha:"Please enter the captcha",emailPhone:"Email / Phone",email:"Email",phone:"Phone",registrationSuccess:"Account registration successful, start your experience!",loginSuccess:"Account login successful, start your experience!",registerTitle:"Register",enterContact:"Please provide your ",enterCode:"Please enter the verification code",sendVerificationCode:"Send Verification Code",optionalInvitationCode:"Invitation Code [Optional]",registerAccount:"Register Account",alreadyHaveAccount:"Already have an account?",goToLogin:"Go to Login",password:"Password",enterYourPassword:"Please enter your password",rememberAccount:"Remember account",forgotPassword:"Forgot password?",loginAccount:"Log In Account",noAccount:"Don’t have an account?",register:"Register",orUse:"or use",scanLogin:"Scan to Log In",wechatLogin:"WeChat Login",wechatScanFailed:"Failed WeChat QR code login? Use",useWechatScan:"Use WeChat to Scan and Log In"},yh={orderAmount:"Order Amount",productType:"Product Type",status:"Status",commissionRate:"Commission Rate",commission:"Commission",orderTime:"Order Time",purchasePackage:"Purchase Package",accounted:"Accounted",generateInviteCodeSuccess:"Invitation code generated successfully",withdrawalTime:"Withdrawal Time",withdrawalAmount:"Withdrawal Amount",withdrawalChannel:"Withdrawal Channel",withdrawalStatus:"Withdrawal Status",withdrawalRemarks:"Withdrawal Remarks",auditor:"Auditor",alipay:"Alipay",wechat:"WeChat",paid:"Paid",rejected:"Rejected",inReview:"In Review",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",registered:"Registered",pendingActivation:"Pending Activation",registrationTime:"Registration Time",lastLogin:"Last Login",requestInviteCodeFirst:"Please request your invitation code first",linkCopiedSuccess:"Share link copied successfully",title:"Referral Program",description:"Join us and share in success! Welcome to our distribution page, become our partner and create a bright future together!",defaultSalesOutletName:"Rookie Referral Officer",myReferrals:"My Referrals",currencyUnit:"Yuan",remainingAmount:"Remaining Withdrawable Amount",withdrawingAmount:"Amount in Withdrawal",withdrawNow:"Withdraw Now",minimumWithdrawalPrefix:"Minimum",minimumWithdrawalSuffix:"Yuan Withdrawable",purchaseOrderCount:"Purchase Order Count",promotionLinkVisits:"Promotion Link Visits",registeredUsers:"Registered Users",referralEarnings:"Referral Earnings",referralEarningsDescription:"Commission amount returned after referred users register and buy products",percentage:"Percentage",applyForAdvancedAgent:"Apply to Become an Advanced Agent",contactAdminForAdvancedAgent:"Contact the site owner to apply for an advanced agent to enjoy high commissions",joinAsPartner:"Join Us as a Partner",partnerDescription:"Join us as a partner to co-operate the community, win-win cooperation!",winTogether:"Win Together, Advance Together",referralLink:"Referral Link:",apply:"Apply",referralRecordsTab:"Referral Records",withdrawalRecordsTab:"Withdrawal Records",registeredUsersTab:"Registered Users",inviteFriends:"Invite friends, gift meal cards, and enjoy recharge commissions!",inviteLink:"Invite Link",copy:"Copy",inviteBenefits1:"Both parties enjoy a certain amount of permanent card rewards when inviting friends.",inviteBenefits2Prefix:"Earn a ",inviteBenefits2Suffix:"% commission on your friend's recharge amount.",enterWithdrawalAmount:"Please enter your withdrawal amount!",selectWithdrawalChannel:"Please select your withdrawal channel!",enterContactInfo:"Please provide your contact information and remark!",optionalRemark:"If there are any special circumstances, please remark!",withdrawalSuccess:"Withdrawal application successful, please wait for approval!",withdrawalApplicationForm:"Withdrawal Application Form",contactInformation:"Contact Information",withdrawalRemark:"Withdrawal Remark",enterWithdrawalRemark:"Please enter your withdrawal remarks",applyWithdrawal:"Apply for Withdrawal"},Eh={purchaseSuccess:"Purchase successful, enjoy your item!",paymentNotSuccessful:"You have not completed the payment yet!",orderConfirmationTitle:"Order Confirmation",orderConfirmationContent:"Welcome to purchase, are you sure you want to buy ",thinkAgain:"Let me think again",confirmPurchase:"Confirm Purchase",paymentNotEnabled:"Payment has not been enabled by the administrator!",selectProducts:"Select Products",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",drawingQuota:"Drawing Quota",buyPackage:"Buy Package"},wh={1:"Registration Bonus",2:"Invitation Bonus",3:"Referring Others Bonus",4:"Purchase via Card Code",5:"Admin Bonus",6:"QR Code Purchase",7:"MJ Drawing Failure Refund",8:"Sign-in Reward"},_h={0:"Not Paid",1:"Paid",2:"Payment Failed",3:"Payment Timeout"},Ah={logoutSuccess:"Successfully logged out!"},Sh={language:ch,common:lh,chat:uh,app:fh,setting:dh,store:xh,draw:hh,pay:ph,mindmap:mh,usercenter:gh,siderBar:vh,notice:bh,login:Ch,share:yh,goods:Eh,rechargeTypes:wh,orderStatus:_h,messages:Ah},Dh="中文",Bh={add:"添加",addSuccess:"添加成功",edit:"编辑",editSuccess:"编辑成功",delete:"删除",deleteSuccess:"删除成功",update:"修改",saveSuccess:"保存成功",updateUserSuccess:"修改用户信息成功",reset:"重置",action:"操作",export:"导出",exportSuccess:"导出成功",import:"导入",importSuccess:"导入成功",clear:"清空",clearSuccess:"清空成功",yes:"是",no:"否",download:"下载",noData:"暂无数据",wrong:"好像出错了,请稍后再试。",success:"操作成功",failed:"操作失败",verify:"验证",unauthorizedTips:"未经授权,请先进行验证。",confirm:"确认",cancel:"取消"},Fh={newChatButton:"新建聊天",placeholder:"来说点什么吧...(Shift + Enter = 换行)",placeholderMobile:"来说点什么...",copy:"复制",copied:"复制成功",copyCode:"复制代码",clearChat:"清空会话",clearChatConfirm:"是否清空会话?",exportImage:"保存会话到图片",exportImageConfirm:"是否将会话保存为图片?",exportSuccess:"保存成功",exportFailed:"保存失败",deleteMessage:"删除消息",deleteMessageConfirm:"删除此条对话?",deleteHistoryConfirm:"确定删除此记录?",deleteSuccess:"删除成功",clearHistoryConfirm:"确定清空聊天记录?",preview:"预览",showRawText:"显示原文",size:"尺寸:",generatedContentDisclaimer:"AI 生成内容仅供参考,不代表本平台立场。版权所有 ©",square1:"方形(1:1)",illustration:"配图(4:3)",wallpaper:"壁纸(16:9)",media:"媒体(3:4)",poster:"海报(9:16)",square:"方形",landscape:"宽屏",portrait:"垂直",chatDialogue:"对话聊天",startNewConversationPrompt:"点击下方按钮,开始一个新的对话吧",newConversation:"新对话",networkModeEnabledContextInvalid:"已开启联网模式、上下文状态失效!",networkModeDisabled:"已关闭联网模式!",pointsMall:"积分商城",toggleTheme:"切换主题",signInReward:"签到奖励",networkMode:"联网模式",searchHistoryConversations:"搜索历史对话",announcement:"网站公告",clear:"清空对话",remaining:"剩余:",ordinaryPoints:"普通积分",advancedPoints:"高级积分",drawingPoints:"绘画积分",points:"积分",clearConversation:"清空对话",clearAllNonFavoriteConversations:"清空所有非收藏的对话?",more:"更多",collapse:"折叠",myApps:"我的应用",appSquare:"应用广场",favorites:"收藏",todayConversations:"今日对话",historyConversations:"历史对话",favoriteConversations:"收藏对话",unfavorite:"取消收藏",rename:"重命名",deleteConversation:"删除对话",me:"我",onlineSearch:"联网搜索",mindMap:"思维导图",fileAnalysis:"文件",delete:"删除",regenerate:"重新生成",pause:"暂停",loading:"加载中...",readAloud:"朗读",U1:"🔍 放大左上",U2:"🔍 放大右上",U3:"🔍 放大左下",U4:"🔍 放大右下",V1:"🪄 变换左上",V2:"🪄 变换右上",V3:"🪄 变换左下",V4:"🪄 变换右下",panLeft:"⬅️ 向左平移",panRight:"➡️ 向右平移",panUp:"⬆️ 向上平移",panDown:"⬇️ 向下平移",zoomIn15x:"↔️ 扩图1.5倍",zoomIn2x:"↔️ 扩图2倍",minorTransform:"🖌️ 微变换",strongTransform:"🖌️ 强变换",enlargeImagePrefix:"放大第",enlargeImageSuffix:"张图片",transformImagePrefix:"变换第",transformImageSuffix:"张图片",expandDrawing:"扩图绘制",advancedTransform:"高级变换",translateImage:"平移图片",imageToImage:"以图生图",faceConsistency:"人脸一致",styleConsistency:"风格一致",selectAppOrTopic:"选择应用或话题快速对话"},Ph={sampleTemplate:"示例模板",exploreInfinitePossibilities:"探索无限可能,与 AI 一同开创智慧未来",searchAppNameQuickFind:"搜索应用名称、快速查找应用...",allCategories:"全部分类",noModelConfigured:"管理员未配置特定应用模型、请联系管理员配置~"},kh={setting:"设置",general:"总览",advanced:"高级",personalInfo:"个人信息",avatarLink:"头像链接",name:"用户名称",sign:"用户签名",role:"角色设定",resetUserInfo:"重置用户信息",chatHistory:"聊天记录",theme:"主题",language:"语言",api:"API",reverseProxy:"反向代理",timeout:"超时",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API余额"},Th={siderButton:"提示词商店",local:"本地",online:"在线",title:"标题",description:"描述",clearStoreConfirm:"是否清空数据?",importPlaceholder:"请粘贴 JSON 数据到此处",addRepeatTitleTips:"标题重复,请重新输入",addRepeatContentTips:"内容重复:{msg},请重新输入",editRepeatTitleTips:"标题冲突,请重新修改",editRepeatContentTips:"内容冲突{msg} ,请重新修改",importError:"键值不匹配",importRepeatTitle:"标题重复跳过:{msg}",importRepeatContent:"内容重复跳过:{msg}",onlineImportWarning:"注意:请检查 JSON 文件来源!",downloadError:"请检查网络状态与 JSON 文件有效性"},Rh={use:"使用",download:"下载",delete:"删除",zoom:"放大:",U1:"左上",U2:"右上",U3:"左下",U4:"右下",regenerateOnce:"重新生成一次",transform:"变换:",V1:"左上",V2:"右上",V3:"左下",V4:"右下",pan:"平移:",panLeft:"向左",panRight:"向右",panUp:"向上",panDown:"向下",transformZoom:"扩图变换:",zoom1_5x:"扩图1.5倍",zoom2x:"扩图2倍",minorTransform:"微变换",strongTransform:"强变换",regionalRedraw:"区域重绘",regionalRedraw1:"区域重绘(框选要改变的区域)",submitTask:"提交任务",selectSuiteForZoom:"操作:选中套图进行放大",selectSuiteForTransform:"操作:选中套图进行变换",regeneratingImage:"操作:正在对图片重新生成一次",drawingInProgress:"操作:正在火速绘制中...",tryDifferentPrompt:"执行:换个提示词重新试试吧!",statusWaiting:"等待中",statusDrawing:"绘制中",statusSuccess:"成功",statusFailure:"失败",statusTimeout:"超时",downloadImageTitle:"下载图片",downloadImageContent:"下载当前图片",downloadButtonText:"下载",cancelButtonText:"取消",deleteRecordTitle:"删除记录",deleteRecordContent:"删除当前绘制记录?",deleteButtonText:"删除",submitZoomDrawingSuccess:"提交放大绘制任务成功、请等待绘制结束!",submitRedrawSuccess:"提交重新绘制任务成功、请等待绘制结束!",submitTransformDrawingSuccess:"提交变换绘制任务成功、请等待绘制结束!",submitEnlargeDrawingSuccess:"提交扩图任务成功、请等待绘制结束!",submitAdvancedTransformDrawingSuccess:"提交高级变换绘制任务成功、请等待绘制结束!",submitRegionalRedrawSuccess:"提交区域重绘任务成功、请等待绘制结束!",drawingRecordDeleted:"绘制记录已删除!",queueing:"排队中...",drawing:"正在绘制...",storing:"图片存储中...",drawingFailed:"绘制失败",pointsRefunded:"积分已退还!",submitDrawingTaskSuccess:"提交绘制任务成功、请等待绘制结束!",defaultStyle:"默认风格",expressiveStyle:"表现力风格",cuteStyle:"可爱风格",scenicStyle:"景观风格",standardQuality:"普通",generalQuality:"一般",highDefinitionQuality:"高清",ultraHighDefinitionQuality:"超高清",enterDescription:"请输入描述词!",optimizationFailed:"优化失败了!",professionalDrawing:"专业绘图",parameterExplanation:"参数释义:生成图片尺寸比例",imageSize:"图片尺寸",modelSelection:"模型选择",tooltipMJ:"MJ: 偏真实通用模型",tooltipNIJI:"NIJI: 偏动漫风格、适用于二次元模型",version:"版本",style:"风格",parameters:"参数",parametersTooltip:"合理使用参数绘制更为理想的结果!",quality:"品质",chaos:"混乱",chaosDescription:"取值范围:0-100、 --chaos 或 --c",chaosExplanation:"混乱级别,可以理解为让AI天马行空的空间",chaosAdvice:"值越小越可靠、默认0最为精准",stylization:"风格化",stylizationDescription:"风格化:--stylize 或 --s,范围 1-1000",parameterExplanation1:"参数释义:数值越高,画面表现也会更具丰富性和艺术性",setting:"设定",carryParameters:"携带参数",autoCarryParameters:"是否自动携带参数",carryOn:"打开:携带上述我们配置的参数",carryOff:"关闭:使用指令中的我们自定义的参数",imageToImage:"以图生图",clickOrDrag:"点击或拖拽一个图片到这里作为输入",supportFormats:"支持PNG和JPG格式",remainingPoints:"剩余积分",refresh:"刷新",accountInfo:"账户信息",points:"积分",paintingSingleUse:"绘画单次消耗:",imageGenerationSingleUse:"图生图单次消耗:",enlargementSingleUse:"放大单次消耗:",submitDrawingTask:"输入关键词,提交绘制任务",optimize:"优化",enterDrawingKeywords:"输入绘图关键词。例如:一只五颜六色的猫,可爱,卡通",unnecessaryElements:"不需要的元素",exclusionPrompt:"例:生成房间图片、但是不要床、你可以填bed!",workingContents:"工作中的内容",currentTasks:"当前系统进行中任务",goToAIDrawingSquare:"点击前往 AI 绘画广场",tasksInProgress:"个任务正在进行中、请耐心等候绘制完成、您可以前往其他页面稍后回来查看结果!",myDrawings:"我的绘图",aiDrawingSquare:"AI绘画广场",sizeAdjustment:"尺寸调整",keywordSearchPlaceholder:"prompt关键词搜索"},Ih={membershipMarket:"会员商场",sizeAdjustment:"尺寸调整",memberPackage:"会员限时套餐",permanentAddOnCard:"叠加永久次卡",baseModelQuota:"普通积分",advancedModelQuota:"高级积分",MJDrawingQuota:"绘画积分",packageValidity:"套餐有效期",days:"天",permanent:"永久",points:"积分",welcomeTipMobile:"尽情探索,欢迎光临我们的在线商店!",welcomeTipDesktop:"尽情探索,欢迎光临我们的在线商店、感谢您选择我们、让我们一同开启愉悦的购物之旅!",paymentNotEnabled:"管理员还未开启支付!",purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotComplete:"您还没有支付成功哟!",wechat:"微信",alipay:"支付宝",wechatPay:"微信支付",alipayPay:"支付宝支付",paymentSuccess:"恭喜你支付成功、祝您使用愉快!",paymentTimeout:"支付超时,请重新下单!",productPayment:"商品支付",amountDue:"需要支付:",packageName:"套餐名称:",packageDescription:"套餐描述:",siteAdminEnabledRedirect:"当前站长开通了跳转支付",clickToPay:"点击前往支付",completePaymentWithin:"请在",timeToCompletePayment:"时间内完成支付!",open:"打开",scanToPay:"扫码支付"},Lh={title:"思维导图",yourNeeds:"您的需求?",inputPlaceholder:"请输入您想要生成内容的简单描述、AI将为您输出一份完整的markdown内容及其思维导图!",generateMindMapButton:"智能生成生成思维导图",contentRequirements:"内容需求",tryDemoButton:"试试示例",usageCredits:"每次使用消耗基础积分: 1",exportHTML:"导出HTML",exportPNG:"导出PNG",exportSVG:"导出SVG"},Nh={defaultSignature:"我是一台基于深度学习和自然语言处理技术的 AI 机器人,旨在为用户提供高效、精准、个性化的智能服务。",syncComplete:"已同步数据完成",personalCenter:"个人中心",logOut:"退出登录",myUsageRecord:"我在本站的使用记录",basicModelCredits:"基础模型积分:",advancedModelCredits:"高级模型积分:",basicModelUsage:"基础模型使用:",advancedModelUsage:"高级模型使用:",drawingUsageCredits:"绘画使用积分:",bindWeChat:"绑定微信:",clickToBindWeChat:"点击绑定微信",weChatBound:"已绑定微信",syncVisitorData:"点击同步访客数据",points:"积分",membershipExpiration:"会员过期时间:",editInfoDescription:"编辑个人信息、查看更多详情",myDetails:"我的详情",myWallet:"我的钱包",basicInfo:"基础信息",userBasicSettings:"用户基础设置",avatarPlaceholder:"请填写头像地址",usernamePlaceholder:"请编辑您的用户名",signaturePlaceholder:"请编辑您的签名",passwordManagement:"密码管理",inviteBenefits:"邀请得福利",clickToLogin:"点击登入",notLoggedIn:"未登录",avatar:"头像",username:"用户名称",email:"用户邮箱",inviteeStatus:"受邀人状态",inviteTime:"邀请时间",rewardStatus:"获得奖励状态",certified:"已认证",notActivated:"未激活",rewardReceived:"已领取邀请奖励",waitingConfirmation:"等待受邀人确认",linkGeneratedSuccess:"生成邀请链接成功",generateLinkFirst:"请先生成您的专属邀请链接!",linkCopiedSuccess:"复制专属邀请链接成功!",copyNotSupported:"当前设置不支持自动复制、手动复制吧!",inviteForBenefits:"邀用户、得福利!",myInviteCode:"我的邀请码",generateInviteCode:"生成专属邀请码",copyInviteLink:"复制专属邀请链接",inviteOneUser:"邀请一位用户赠送",basicModelCredits1:"积分基础模型额度+",advancedModelCredits1:"积分高级模型额度+",mjDrawingCredits:"MJ绘画积分额度",receiveInvitation:"收到邀请用户获得",creditsEnd:"积分",invitationRecord:"邀请记录",passwordMinLength:"密码最短长度为6位数",passwordMaxLength:"密码最长长度为30位数",enterPassword:"请输入密码",reenterPassword:"请再次输入密码",passwordsNotMatch:"两次密码输入不一致",passwordUpdateSuccess:"密码更新成功、请重新登录系统!",changeYourPassword:"变更您的密码",oldPassword:"旧密码",newPassword:"新密码",confirmPassword:"确认密码",reloginAfterPasswordChange:"更新密码完成后将重新登录!",updateYourPassword:"更新您的密码",passwordRequirements:"密码要求",newPasswordInstructions:"要创建一个新的密码,你必须满足以下所有要求。",minimumCharacters:"最少6个字符",maximumCharacters:"最多30个字符",requireNumber:"至少带有一个数字",orderNumber:"订单编号",rechargeType:"充值类型",basicModelQuota:"普通积分",advancedModelQuota:"高级积分",mjDrawingQuota:"绘画积分",validity:"有效期",rechargeTime:"充值时间",enterCardSecret:"请先填写卡密!",cardRedeemSuccess:"卡密兑换成功、祝您使用愉快!",userWalletBalance:"用户钱包余额",basicModelBalance:"基础模型余额",creditUsageNote:"每次对话根据模型消费不同积分!",advancedModelBalance:"高级模型余额",modelConsumptionNote:"每次对话根据模型消费不同积分!",mjDrawingBalance:"MJ绘画余额",drawingConsumptionNote:"根据画图动作消耗不同的积分!",cardRecharge:"卡密充值",enterCardDetails:"请粘贴或填写您的卡密信息!",exchange:"兑换",buyCardSecret:"购买卡密",rechargeRecords:"充值记录",packagePurchase:"套餐购买",buyPackage:"购买套餐"},Oh={signInReward:"签到奖励",themeSwitch:"主题切换",personalCenter:"个人中心",loginAccount:"登录账户"},Mh={doNotRemind24h:"我已知晓"},Uh={enterUsername:"请输入用户名",usernameLength:"用户名长度应为 2 到 30 个字符",enterPassword:"请输入密码",passwordLength:"密码长度应为 6 到 30 个字符",enterEmail:"请输入邮箱地址",enterPhone:"请输入手机号码",enterEmailOrPhone:"请输入邮箱地址或手机号码",emailValid:"请输入正确的邮箱地址",enterCaptcha:"请填写图形验证码",emailPhone:"邮箱 / 手机号",email:"邮箱",phone:"手机号",registrationSuccess:"账户注册成功、开始体验吧!",loginSuccess:"账户登录成功、开始体验吧!",registerTitle:"注册",enterContact:"请填写您的",enterCode:"请填写验证码",sendVerificationCode:"发送验证码",optionalInvitationCode:"邀请码[非必填]",registerAccount:"注册账户",alreadyHaveAccount:"已经有帐号?",goToLogin:"去登录",password:"密码",enterYourPassword:"请输入您的账户密码",rememberAccount:"记住帐号",forgotPassword:"忘记密码?",loginAccount:"登录账户",noAccount:"还没有帐号?",register:"去注册",orUse:"或使用",scanLogin:"扫码登录",wechatLogin:"微信登录",wechatScanFailed:"不使用微信扫码登录?试试",useWechatScan:"使用微信扫码登录"},Hh={orderAmount:"订单金额",productType:"商品类型",status:"状态",commissionRate:"佣金比例",commission:"佣金",orderTime:"订购时间",purchasePackage:"购买套餐",accounted:"已入账",generateInviteCodeSuccess:"生成邀请码成功",withdrawalTime:"提现时间",withdrawalAmount:"提现金额",withdrawalChannel:"提现渠道",withdrawalStatus:"提现状态",withdrawalRemarks:"提现备注",auditor:"审核人",alipay:"支付宝",wechat:"微信",paid:"已打款",rejected:"被拒绝",inReview:"审核中",avatar:"头像",username:"用户名",email:"邮箱",inviteeStatus:"受邀人状态",registered:"已注册",pendingActivation:"待激活",registrationTime:"注册时间",lastLogin:"最后登录",requestInviteCodeFirst:"请先申请你的邀请码",linkCopiedSuccess:"复制推荐链接成功",title:"推介计划",description:"加入我们,共享成功!欢迎来到我们的分销页面,成为我们的合作伙伴,一同开创美好未来!",defaultSalesOutletName:"新秀推荐官",myReferrals:"我的推介",currencyUnit:"元",remainingAmount:"剩余可提金额",withdrawingAmount:"提现中金额",withdrawNow:"立即提现",minimumWithdrawalPrefix:"最低",minimumWithdrawalSuffix:"元可提现",purchaseOrderCount:"购买订单数量",promotionLinkVisits:"推广链接访问次数",registeredUsers:"注册用户",referralEarnings:"推介收益",referralEarningsDescription:"推介的用户注册购买产品后返佣金额",percentage:"百分比",applyForAdvancedAgent:"申请成为高级代理",contactAdminForAdvancedAgent:"联系站长申请高级代理可享超高返佣",joinAsPartner:"加入我们成为合伙人",partnerDescription:"加入我们成为合伙人共同运营社区、合作双赢!",winTogether:"合作共赢,携手共进",referralLink:"推荐链接:",apply:"申请",referralRecordsTab:"推介记录",withdrawalRecordsTab:"提现记录",registeredUsersTab:"注册用户",inviteFriends:"邀好友、赠套餐卡密、享充值返佣!",inviteLink:"邀请链接",copy:"复制",inviteBenefits1:"邀请好友双方都可享受一定额度的永久次卡奖励",inviteBenefits2Prefix:"邀请好友充值,您可获得充值金额的",inviteBenefits2Suffix:"%返佣",enterWithdrawalAmount:"请填写你的提款金额!",selectWithdrawalChannel:"请选择你的提款渠道!",enterContactInfo:"请填写您的联系方式并备注!",optionalRemark:"如有特殊情况、请备注说明!",withdrawalSuccess:"申请提现成功、请耐心等待审核!",withdrawalApplicationForm:"提款申请表",contactInformation:"联系方式",withdrawalRemark:"提款备注",enterWithdrawalRemark:"请填写你的提款备注!",applyWithdrawal:"申 请 提 现"},Wh={purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotSuccessful:"您还没有支付成功哟!",orderConfirmationTitle:"订单确认",orderConfirmationContent:"欢迎选购、确定购买",thinkAgain:"我再想想",confirmPurchase:"确认购买",paymentNotEnabled:"管理员还未开启支付!",selectProducts:"选购套餐",basicModelQuota:"基础积分",advancedModelQuota:"高级积分",drawingQuota:"绘画积分",buyPackage:"购买套餐"},jh={1:"注册赠送",2:"受邀请赠送",3:"邀请他人赠送",4:"购买卡密充值",5:"管理员赠送",6:"扫码购买充值",7:"MJ绘画失败退款",8:"签到奖励"},$h={0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},qh={logoutSuccess:"登出账户成功!"},Gh={language:Dh,common:Bh,chat:Fh,app:Ph,setting:kh,store:Th,draw:Rh,pay:Ih,mindmap:Lh,usercenter:Nh,siderBar:Oh,notice:Mh,login:Uh,share:Hh,goods:Wh,rechargeTypes:jh,orderStatus:$h,messages:qh};ou();localStorage.getItem("appLanguage");const Vh="zh-CN",g0=Xx({locale:Vh,fallbackLocale:"en-US",allowComposition:!0,messages:{"en-US":Sh,"zh-CN":Gh}}),Tm=g0.global.t;function zh(e){e.use(g0)}function Kh(){const e=Ds(),t=cc(),r=Ee(()=>e.theme==="auto"?t.value==="dark":e.theme==="dark"),n=Ee(()=>r.value?nr:void 0),o=Ee(()=>r.value?{common:{}}:{common:{primaryColor:"#409eff"}}),a={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF",baseColor:"#ffffff"},Switch:{railColorActive:"#5A91FCFF"},Layout:{}},i={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF"},Skeleton:{color:"#F4F3F3FF",colorEnd:"#F1F0F0FF"},Layout:{}};return wt(()=>r.value,l=>{l?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},{immediate:!0}),{theme:n,themeOverrides:o,lightThemeOverrides:i,darkThemeOverrides:a}}var v0={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(te,function(){return function(r){var n={};function o(a){if(n[a])return n[a].exports;var i=n[a]={i:a,l:!1,exports:{}};return r[a].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=r,o.c=n,o.d=function(a,i,l){o.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:l})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,i){if(1&i&&(a=o(a)),8&i||4&i&&typeof a=="object"&&a&&a.__esModule)return a;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:a}),2&i&&typeof a!="string")for(var f in a)o.d(l,f,(function(c){return a[c]}).bind(null,f));return l},o.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(i,"a",i),i},o.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},o.p="",o(o.s=0)}([function(r,n,o){var a,i,l=o(1)(),f=o(3),c=o(4),u=o(6),d=function(){var s=new c;return a=s.getResult(),i=new u,this};d.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return a},getFingerprint:function(){var s="|",x=a.ua,h=this.getScreenPrint(),p=this.getPlugins(),m=this.getFonts(),b=this.isLocalStorage(),g=this.isSessionStorage(),v=this.getTimeZone(),C=this.getLanguage(),E=this.getSystemLanguage(),y=this.isCookie(),w=this.getCanvasPrint();return f(x+s+h+s+p+s+m+s+b+s+g+s+v+s+C+s+E+s+y+s+w,256)},getCustomFingerprint:function(){for(var s="|",x="",h=0;h>>16)*d&65535)<<16)&4294967295)<<15|x>>>17))*s+(((x>>>16)*s&65535)<<16)&4294967295)<<13|c>>>19))+((5*(c>>>16)&65535)<<16)&4294967295))+((58964+(u>>>16)&65535)<<16);switch(x=0,l){case 3:x^=(255&a.charCodeAt(h+2))<<16;case 2:x^=(255&a.charCodeAt(h+1))<<8;case 1:c^=x=(65535&(x=(x=(65535&(x^=255&a.charCodeAt(h)))*d+(((x>>>16)*d&65535)<<16)&4294967295)<<15|x>>>17))*s+(((x>>>16)*s&65535)<<16)&4294967295}return c^=a.length,c=2246822507*(65535&(c^=c>>>16))+((2246822507*(c>>>16)&65535)<<16)&4294967295,c=3266489909*(65535&(c^=c>>>13))+((3266489909*(c>>>16)&65535)<<16)&4294967295,(c^=c>>>16)>>>0}},function(r,n,o){var a;(function(i,l){var f="function",c="undefined",u="object",d="string",s="model",x="name",h="type",p="vendor",m="version",b="architecture",g="console",v="mobile",C="tablet",E="smarttv",y="wearable",w="embedded",D="Amazon",F="Apple",S="ASUS",B="BlackBerry",T="Firefox",I="Google",V="Huawei",q="LG",Y="Microsoft",ce="Motorola",se="Opera",ae="Samsung",ie="Sony",L="Xiaomi",U="Zebra",H="Facebook",O=function(Q){var oe={};for(var J in Q)oe[Q[J].toUpperCase()]=Q[J];return oe},he=function(Q,oe){return typeof Q===d&&ne(oe).indexOf(ne(Q))!==-1},ne=function(Q){return Q.toLowerCase()},R=function(Q,oe){if(typeof Q===d)return Q=Q.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof oe===c?Q:Q.substring(0,255)},M=function(Q,oe){for(var J,A,_,P,$,Z,ee=0;ee0?P.length==2?typeof P[1]==f?this[P[0]]=P[1].call(this,Z):this[P[0]]=P[1]:P.length==3?typeof P[1]!==f||P[1].exec&&P[1].test?this[P[0]]=Z?Z.replace(P[1],P[2]):l:this[P[0]]=Z?P[1].call(this,Z,P[2]):l:P.length==4&&(this[P[0]]=Z?P[3].call(this,Z.replace(P[1],P[2])):l):this[P]=Z||l;ee+=2}},j=function(Q,oe){for(var J in oe)if(typeof oe[J]===u&&oe[J].length>0){for(var A=0;A255?R(_,255):_,this},this.setUA(J),this};re.VERSION="0.7.30",re.BROWSER=O([x,m,"major"]),re.CPU=O([b]),re.DEVICE=O([s,p,h,g,v,E,C,y,w]),re.ENGINE=re.OS=O([x,m]),typeof n!==c?(typeof r!==c&&r.exports&&(n=r.exports=re),n.UAParser=re):o(5)?(a=(function(){return re}).call(n,o,n,r))===l||(r.exports=a):typeof i!==c&&(i.UAParser=re);var X=typeof i!==c&&(i.jQuery||i.Zepto);if(X&&!X.ua){var K=new re;X.ua=K.getResult(),X.ua.get=function(){return K.getUA()},X.ua.set=function(Q){K.setUA(Q);var oe=K.getResult();for(var J in oe)X.ua[J]=oe[J]}}})(typeof window=="object"?window:this)},function(r,n){(function(o){r.exports=o}).call(this,{})},function(r,n){r.exports=function(){var o=["monospace","sans-serif","serif"],a=document.getElementsByTagName("body")[0],i=document.createElement("span");i.style.fontSize="72px",i.innerHTML="mmmmmmmmmmlli";var l={},f={};for(var c in o)i.style.fontFamily=o[c],a.appendChild(i),l[o[c]]=i.offsetWidth,f[o[c]]=i.offsetHeight,a.removeChild(i);this.detect=function(u){var d=!1;for(var s in o){i.style.fontFamily=u+","+o[s],a.appendChild(i);var x=i.offsetWidth!=l[o[s]]||i.offsetHeight!=f[o[s]];a.removeChild(i),d=d||x}return d}}}])})})(v0);var Yh=v0.exports;/*! + * vue-router v4.3.0 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const yt=typeof document<"u";function Qh(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function Sn(e,t){const r={};for(const n in t){const o=t[n];r[n]=Ue(o)?o.map(e):e(o)}return r}const Ot=()=>{},Ue=Array.isArray,b0=/#/g,Xh=/&/g,Jh=/\//g,Zh=/=/g,ep=/\?/g,C0=/\+/g,tp=/%5B/g,rp=/%5D/g,y0=/%5E/g,np=/%60/g,E0=/%7B/g,op=/%7C/g,w0=/%7D/g,ap=/%20/g;function Ro(e){return encodeURI(""+e).replace(op,"|").replace(tp,"[").replace(rp,"]")}function ip(e){return Ro(e).replace(E0,"{").replace(w0,"}").replace(y0,"^")}function to(e){return Ro(e).replace(C0,"%2B").replace(ap,"+").replace(b0,"%23").replace(Xh,"%26").replace(np,"`").replace(E0,"{").replace(w0,"}").replace(y0,"^")}function sp(e){return to(e).replace(Zh,"%3D")}function cp(e){return Ro(e).replace(b0,"%23").replace(ep,"%3F")}function lp(e){return e==null?"":cp(e).replace(Jh,"%2F")}function Yt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const up=/\/$/,fp=e=>e.replace(up,"");function Dn(e,t,r="/"){let n,o={},a="",i="";const l=t.indexOf("#");let f=t.indexOf("?");return l=0&&(f=-1),f>-1&&(n=t.slice(0,f),a=t.slice(f+1,l>-1?l:t.length),o=e(a)),l>-1&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),n=pp(n??t,r),{fullPath:n+(a&&"?")+a+i,path:n,query:o,hash:Yt(i)}}function dp(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function ki(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function xp(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&Bt(t.matched[n],r.matched[o])&&_0(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function Bt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function _0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!hp(e[r],t[r]))return!1;return!0}function hp(e,t){return Ue(e)?Ti(e,t):Ue(t)?Ti(t,e):e===t}function Ti(e,t){return Ue(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function pp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];(o===".."||o===".")&&n.push("");let a=r.length-1,i,l;for(i=0;i1&&a--;else break;return r.slice(0,a).join("/")+"/"+n.slice(i).join("/")}var Qt;(function(e){e.pop="pop",e.push="push"})(Qt||(Qt={}));var Mt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Mt||(Mt={}));function mp(e){if(!e)if(yt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),fp(e)}const gp=/^[^#]+#/;function vp(e,t){return e.replace(gp,"#")+t}function bp(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const Pr=()=>({left:window.scrollX,top:window.scrollY});function Cp(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=bp(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ri(e,t){return(history.state?history.state.position-t:-1)+e}const ro=new Map;function yp(e,t){ro.set(e,t)}function Ep(e){const t=ro.get(e);return ro.delete(e),t}let wp=()=>location.protocol+"//"+location.host;function A0(e,t){const{pathname:r,search:n,hash:o}=t,a=e.indexOf("#");if(a>-1){let l=o.includes(e.slice(a))?e.slice(a).length:1,f=o.slice(l);return f[0]!=="/"&&(f="/"+f),ki(f,"")}return ki(r,e)+n+o}function _p(e,t,r,n){let o=[],a=[],i=null;const l=({state:s})=>{const x=A0(e,location),h=r.value,p=t.value;let m=0;if(s){if(r.value=x,t.value=s,i&&i===h){i=null;return}m=p?s.position-p.position:0}else n(x);o.forEach(b=>{b(r.value,h,{delta:m,type:Qt.pop,direction:m?m>0?Mt.forward:Mt.back:Mt.unknown})})};function f(){i=r.value}function c(s){o.push(s);const x=()=>{const h=o.indexOf(s);h>-1&&o.splice(h,1)};return a.push(x),x}function u(){const{history:s}=window;s.state&&s.replaceState(ge({},s.state,{scroll:Pr()}),"")}function d(){for(const s of a)s();a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:f,listen:c,destroy:d}}function Ii(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?Pr():null}}function Ap(e){const{history:t,location:r}=window,n={value:A0(e,r)},o={value:t.state};o.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(f,c,u){const d=e.indexOf("#"),s=d>-1?(r.host&&document.querySelector("base")?e:e.slice(d))+f:wp()+e+f;try{t[u?"replaceState":"pushState"](c,"",s),o.value=c}catch(x){console.error(x),r[u?"replace":"assign"](s)}}function i(f,c){const u=ge({},t.state,Ii(o.value.back,f,o.value.forward,!0),c,{position:o.value.position});a(f,u,!0),n.value=f}function l(f,c){const u=ge({},o.value,t.state,{forward:f,scroll:Pr()});a(u.current,u,!0);const d=ge({},Ii(n.value,f,null),{position:u.position+1},c);a(f,d,!1),n.value=f}return{location:n,state:o,push:l,replace:i}}function Sp(e){e=mp(e);const t=Ap(e),r=_p(e,t.state,t.location,t.replace);function n(a,i=!0){i||r.pauseListeners(),history.go(a)}const o=ge({location:"",base:e,go:n,createHref:vp.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function Dp(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Sp(e)}function Bp(e){return typeof e=="string"||e&&typeof e=="object"}function S0(e){return typeof e=="string"||typeof e=="symbol"}const rt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},D0=Symbol("");var Li;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Li||(Li={}));function Ft(e,t){return ge(new Error,{type:e,[D0]:!0},t)}function Ve(e,t){return e instanceof Error&&D0 in e&&(t==null||!!(e.type&t))}const Ni="[^/]+?",Fp={sensitive:!1,strict:!1,start:!0,end:!0},Pp=/[.+*?^${}()[\]/\\]/g;function kp(e,t){const r=ge({},Fp,t),n=[];let o=r.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];r.strict&&!c.length&&(o+="/");for(let d=0;dt.length?t.length===1&&t[0]===40+40?1:-1:0}function Rp(e,t){let r=0;const n=e.score,o=t.score;for(;r0&&t[t.length-1]<0}const Ip={type:0,value:""},Lp=/[a-zA-Z0-9_]/;function Np(e){if(!e)return[[]];if(e==="/")return[[Ip]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(x){throw new Error(`ERR (${r})/"${c}": ${x}`)}let r=0,n=r;const o=[];let a;function i(){a&&o.push(a),a=[]}let l=0,f,c="",u="";function d(){c&&(r===0?a.push({type:0,value:c}):r===1||r===2||r===3?(a.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),c="")}function s(){c+=f}for(;l{i(g)}:Ot}function i(u){if(S0(u)){const d=n.get(u);d&&(n.delete(u),r.splice(r.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=r.indexOf(u);d>-1&&(r.splice(d,1),u.record.name&&n.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return r}function f(u){let d=0;for(;d=0&&(u.record.path!==r[d].record.path||!B0(u,r[d]));)d++;r.splice(d,0,u),u.record.name&&!Ui(u)&&n.set(u.record.name,u)}function c(u,d){let s,x={},h,p;if("name"in u&&u.name){if(s=n.get(u.name),!s)throw Ft(1,{location:u});p=s.record.name,x=ge(Mi(d.params,s.keys.filter(g=>!g.optional).concat(s.parent?s.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&Mi(u.params,s.keys.map(g=>g.name))),h=s.stringify(x)}else if(u.path!=null)h=u.path,s=r.find(g=>g.re.test(h)),s&&(x=s.parse(h),p=s.record.name);else{if(s=d.name?n.get(d.name):r.find(g=>g.re.test(d.path)),!s)throw Ft(1,{location:u,currentLocation:d});p=s.record.name,x=ge({},d.params,u.params),h=s.stringify(x)}const m=[];let b=s;for(;b;)m.unshift(b.record),b=b.parent;return{name:p,path:h,params:x,matched:m,meta:Wp(m)}}return e.forEach(u=>a(u)),{addRoute:a,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:o}}function Mi(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function Up(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Hp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Hp(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function Ui(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Wp(e){return e.reduce((t,r)=>ge(t,r.meta),{})}function Hi(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function B0(e,t){return t.children.some(r=>r===e||B0(e,r))}function jp(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oa&&to(a)):[n&&to(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function $p(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=Ue(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}const qp=Symbol(""),ji=Symbol(""),kr=Symbol(""),Io=Symbol(""),no=Symbol("");function It(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function at(e,t,r,n,o,a=i=>i()){const i=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((l,f)=>{const c=s=>{s===!1?f(Ft(4,{from:r,to:t})):s instanceof Error?f(s):Bp(s)?f(Ft(2,{from:t,to:s})):(i&&n.enterCallbacks[o]===i&&typeof s=="function"&&i.push(s),l())},u=a(()=>e.call(n&&n.instances[o],t,r,c));let d=Promise.resolve(u);e.length<3&&(d=d.then(c)),d.catch(s=>f(s))})}function Bn(e,t,r,n,o=a=>a()){const a=[];for(const i of e)for(const l in i.components){let f=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Gp(f)){const u=(f.__vccOpts||f)[t];u&&a.push(at(u,r,n,i,l,o))}else{let c=f();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const d=Qh(u)?u.default:u;i.components[l]=d;const x=(d.__vccOpts||d)[t];return x&&at(x,r,n,i,l,o)()}))}}return a}function Gp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function $i(e){const t=Xe(kr),r=Xe(Io),n=Ee(()=>t.resolve(ke(e.to))),o=Ee(()=>{const{matched:f}=n.value,{length:c}=f,u=f[c-1],d=r.matched;if(!u||!d.length)return-1;const s=d.findIndex(Bt.bind(null,u));if(s>-1)return s;const x=qi(f[c-2]);return c>1&&qi(u)===x&&d[d.length-1].path!==x?d.findIndex(Bt.bind(null,f[c-2])):s}),a=Ee(()=>o.value>-1&&Yp(r.params,n.value.params)),i=Ee(()=>o.value>-1&&o.value===r.matched.length-1&&_0(r.params,n.value.params));function l(f={}){return Kp(f)?t[ke(e.replace)?"replace":"push"](ke(e.to)).catch(Ot):Promise.resolve()}return{route:n,href:Ee(()=>n.value.href),isActive:a,isExactActive:i,navigate:l}}const Vp=Qe({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:$i,setup(e,{slots:t}){const r=Qi($i(e)),{options:n}=Xe(kr),o=Ee(()=>({[Gi(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Gi(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:xt("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},a)}}}),zp=Vp;function Kp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Yp(e,t){for(const r in t){const n=t[r],o=e[r];if(typeof n=="string"){if(n!==o)return!1}else if(!Ue(o)||o.length!==n.length||n.some((a,i)=>a!==o[i]))return!1}return!0}function qi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Gi=(e,t,r)=>e??t??r,Qp=Qe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=Xe(no),o=Ee(()=>e.route||n.value),a=Xe(ji,0),i=Ee(()=>{let c=ke(a);const{matched:u}=o.value;let d;for(;(d=u[c])&&!d.components;)c++;return c}),l=Ee(()=>o.value.matched[i.value]);Tr(ji,Ee(()=>i.value+1)),Tr(qp,l),Tr(no,o);const f=pr();return wt(()=>[f.value,l.value,e.name],([c,u,d],[s,x,h])=>{u&&(u.instances[d]=c,x&&x!==u&&c&&c===s&&(u.leaveGuards.size||(u.leaveGuards=x.leaveGuards),u.updateGuards.size||(u.updateGuards=x.updateGuards))),c&&u&&(!x||!Bt(u,x)||!s)&&(u.enterCallbacks[d]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,d=l.value,s=d&&d.components[u];if(!s)return Vi(r.default,{Component:s,route:c});const x=d.props[u],h=x?x===!0?c.params:typeof x=="function"?x(c):x:null,m=xt(s,ge({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(d.instances[u]=null)},ref:f}));return Vi(r.default,{Component:m,route:c})||m}}});function Vi(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const Xp=Qp;function Jp(e){const t=Mp(e.routes,e),r=e.parseQuery||jp,n=e.stringifyQuery||Wi,o=e.history,a=It(),i=It(),l=It(),f=ts(rt);let c=rt;yt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Sn.bind(null,R=>""+R),d=Sn.bind(null,lp),s=Sn.bind(null,Yt);function x(R,M){let j,z;return S0(R)?(j=t.getRecordMatcher(R),z=M):z=R,t.addRoute(z,j)}function h(R){const M=t.getRecordMatcher(R);M&&t.removeRoute(M)}function p(){return t.getRoutes().map(R=>R.record)}function m(R){return!!t.getRecordMatcher(R)}function b(R,M){if(M=ge({},M||f.value),typeof R=="string"){const K=Dn(r,R,M.path),Q=t.resolve({path:K.path},M),oe=o.createHref(K.fullPath);return ge(K,Q,{params:s(Q.params),hash:Yt(K.hash),redirectedFrom:void 0,href:oe})}let j;if(R.path!=null)j=ge({},R,{path:Dn(r,R.path,M.path).path});else{const K=ge({},R.params);for(const Q in K)K[Q]==null&&delete K[Q];j=ge({},R,{params:d(K)}),M.params=d(M.params)}const z=t.resolve(j,M),le=R.hash||"";z.params=u(s(z.params));const re=dp(n,ge({},R,{hash:ip(le),path:z.path})),X=o.createHref(re);return ge({fullPath:re,hash:le,query:n===Wi?$p(R.query):R.query||{}},z,{redirectedFrom:void 0,href:X})}function g(R){return typeof R=="string"?Dn(r,R,f.value.path):ge({},R)}function v(R,M){if(c!==R)return Ft(8,{from:M,to:R})}function C(R){return w(R)}function E(R){return C(ge(g(R),{replace:!0}))}function y(R){const M=R.matched[R.matched.length-1];if(M&&M.redirect){const{redirect:j}=M;let z=typeof j=="function"?j(R):j;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=g(z):{path:z},z.params={}),ge({query:R.query,hash:R.hash,params:z.path!=null?{}:R.params},z)}}function w(R,M){const j=c=b(R),z=f.value,le=R.state,re=R.force,X=R.replace===!0,K=y(j);if(K)return w(ge(g(K),{state:typeof K=="object"?ge({},le,K.state):le,force:re,replace:X}),M||j);const Q=j;Q.redirectedFrom=M;let oe;return!re&&xp(n,z,j)&&(oe=Ft(16,{to:Q,from:z}),L(z,z,!0,!1)),(oe?Promise.resolve(oe):S(Q,z)).catch(J=>Ve(J)?Ve(J,2)?J:ie(J):se(J,Q,z)).then(J=>{if(J){if(Ve(J,2))return w(ge({replace:X},g(J.to),{state:typeof J.to=="object"?ge({},le,J.to.state):le,force:re}),M||Q)}else J=T(Q,z,!0,X,le);return B(Q,z,J),J})}function D(R,M){const j=v(R,M);return j?Promise.reject(j):Promise.resolve()}function F(R){const M=O.values().next().value;return M&&typeof M.runWithContext=="function"?M.runWithContext(R):R()}function S(R,M){let j;const[z,le,re]=Zp(R,M);j=Bn(z.reverse(),"beforeRouteLeave",R,M);for(const K of z)K.leaveGuards.forEach(Q=>{j.push(at(Q,R,M))});const X=D.bind(null,R,M);return j.push(X),ne(j).then(()=>{j=[];for(const K of a.list())j.push(at(K,R,M));return j.push(X),ne(j)}).then(()=>{j=Bn(le,"beforeRouteUpdate",R,M);for(const K of le)K.updateGuards.forEach(Q=>{j.push(at(Q,R,M))});return j.push(X),ne(j)}).then(()=>{j=[];for(const K of re)if(K.beforeEnter)if(Ue(K.beforeEnter))for(const Q of K.beforeEnter)j.push(at(Q,R,M));else j.push(at(K.beforeEnter,R,M));return j.push(X),ne(j)}).then(()=>(R.matched.forEach(K=>K.enterCallbacks={}),j=Bn(re,"beforeRouteEnter",R,M,F),j.push(X),ne(j))).then(()=>{j=[];for(const K of i.list())j.push(at(K,R,M));return j.push(X),ne(j)}).catch(K=>Ve(K,8)?K:Promise.reject(K))}function B(R,M,j){l.list().forEach(z=>F(()=>z(R,M,j)))}function T(R,M,j,z,le){const re=v(R,M);if(re)return re;const X=M===rt,K=yt?history.state:{};j&&(z||X?o.replace(R.fullPath,ge({scroll:X&&K&&K.scroll},le)):o.push(R.fullPath,le)),f.value=R,L(R,M,j,X),ie()}let I;function V(){I||(I=o.listen((R,M,j)=>{if(!he.listening)return;const z=b(R),le=y(z);if(le){w(ge(le,{replace:!0}),z).catch(Ot);return}c=z;const re=f.value;yt&&yp(Ri(re.fullPath,j.delta),Pr()),S(z,re).catch(X=>Ve(X,12)?X:Ve(X,2)?(w(X.to,z).then(K=>{Ve(K,20)&&!j.delta&&j.type===Qt.pop&&o.go(-1,!1)}).catch(Ot),Promise.reject()):(j.delta&&o.go(-j.delta,!1),se(X,z,re))).then(X=>{X=X||T(z,re,!1),X&&(j.delta&&!Ve(X,8)?o.go(-j.delta,!1):j.type===Qt.pop&&Ve(X,20)&&o.go(-1,!1)),B(z,re,X)}).catch(Ot)}))}let q=It(),Y=It(),ce;function se(R,M,j){ie(R);const z=Y.list();return z.length?z.forEach(le=>le(R,M,j)):console.error(R),Promise.reject(R)}function ae(){return ce&&f.value!==rt?Promise.resolve():new Promise((R,M)=>{q.add([R,M])})}function ie(R){return ce||(ce=!R,V(),q.list().forEach(([M,j])=>R?j(R):M()),q.reset()),R}function L(R,M,j,z){const{scrollBehavior:le}=e;if(!yt||!le)return Promise.resolve();const re=!j&&Ep(Ri(R.fullPath,0))||(z||!j)&&history.state&&history.state.scroll||null;return Ji().then(()=>le(R,M,re)).then(X=>X&&Cp(X)).catch(X=>se(X,R,M))}const U=R=>o.go(R);let H;const O=new Set,he={currentRoute:f,listening:!0,addRoute:x,removeRoute:h,hasRoute:m,getRoutes:p,resolve:b,options:e,push:C,replace:E,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:a.add,beforeResolve:i.add,afterEach:l.add,onError:Y.add,isReady:ae,install(R){const M=this;R.component("RouterLink",zp),R.component("RouterView",Xp),R.config.globalProperties.$router=M,Object.defineProperty(R.config.globalProperties,"$route",{enumerable:!0,get:()=>ke(f)}),yt&&!H&&f.value===rt&&(H=!0,C(o.location).catch(le=>{}));const j={};for(const le in rt)Object.defineProperty(j,le,{get:()=>f.value[le],enumerable:!0});R.provide(kr,M),R.provide(Io,Y0(j)),R.provide(no,f);const z=R.unmount;O.add(R),R.unmount=function(){O.delete(R),O.size<1&&(c=rt,I&&I(),I=null,f.value=rt,H=!1,ce=!1),z()}}};function ne(R){return R.reduce((M,j)=>M.then(()=>F(j)),Promise.resolve())}return he}function Zp(e,t){const r=[],n=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;iBt(c,l))?n.push(l):r.push(l));const f=e.matched[i];f&&(t.matched.find(c=>Bt(c,f))||o.push(f))}return[r,n,o]}function em(){return Xe(kr)}function Rm(){return Xe(Io)}const tm=Qe({__name:"App",setup(e){const t=new Yh.ClientJS,r=Qs(),n=t.getFingerprint(),o=qt(),a=zf(),i=em();a.updateFingerprint(n);const{theme:l,lightThemeOverrides:f,darkThemeOverrides:c}=Kh(),u=Ee(()=>{var v;return(v=o.globalConfig)==null?void 0:v.clientHomePath}),d=Ee(()=>{var v;return((v=o.globalConfig)==null?void 0:v.clientFavoIconPath)||pc}),s=Ee(()=>{var v;return Number((v=o.globalConfig)==null?void 0:v.isAutoOpenNotice)===1});async function x(){var y;const v=((y=o.globalConfig)==null?void 0:y.baiduCode)||"";if(!v)return;const C=document.createElement("script"),E=v.replace(/([\s\S]*?)<\/script>/gi,"$1");C.innerHTML=E,document.head.appendChild(C)}function h(){var v;document.title=((v=o.globalConfig)==null?void 0:v.siteName)||"AI"}const p=Ee(()=>l.value?c:f);function m(){u.value&&i.replace(u.value)}function b(){const v=Fe.get("showNotice");(!v&&s.value||Date.now()>Number(v)&&s.value)&&a.updateNoticeDialog(!0)}const g=document.createElement("link");return g.rel="shortcut icon",g.href=d.value,document.getElementsByTagName("head")[0].appendChild(g),Zi(async()=>{m(),await r.getBaseModelConfig(),x(),h(),b()}),(v,C)=>{const E=Q0("RouterView");return zi(),Ki(ke(uc),{class:"h-full",theme:ke(l),"theme-overrides":p.value,locale:v.language,"date-locale":ke(lc),"preflight-style-disabled":""},{default:Et(()=>[it(ke(mc),null,{default:Et(()=>[it(E)]),_:1}),it(ke(fc))]),_:1},8,["theme","theme-overrides","locale","date-locale"])}}});function rm(){const e=document.createElement("meta");e.name="naive-ui-style",document.head.appendChild(e)}function nm(){rm()}const om=()=>{var r,n,o,a,i,l;const e=document.createElement("style"),t=` + ::-webkit-scrollbar { + background-color: transparent; + width: ${(r=Rr.Scrollbar.common)==null?void 0:r.scrollbarWidth}; + } + ::-webkit-scrollbar-thumb { + background-color: ${(n=Rr.Scrollbar.common)==null?void 0:n.scrollbarColor}; + border-radius: ${(o=Rr.Scrollbar.common)==null?void 0:o.scrollbarBorderRadius}; + } + html.dark ::-webkit-scrollbar { + background-color: transparent; + width: ${(a=nr.Scrollbar.common)==null?void 0:a.scrollbarWidth}; + } + html.dark ::-webkit-scrollbar-thumb { + background-color: ${(i=nr.Scrollbar.common)==null?void 0:i.scrollbarColor}; + border-radius: ${(l=nr.Scrollbar.common)==null?void 0:l.scrollbarBorderRadius}; + } + `;e.innerHTML=t,document.head.appendChild(e)};function am(e){e.beforeEach(async(t,r,n)=>{var a,i;(a=window.$loadingBar)==null||a.start();const o=Vf();if(o.userInfo.username){const l=(i=o.globalConfig)==null?void 0:i.clientMenuList,f=l?JSON.parse(l):[];f.length&&!f.includes(t.name)&&(o.globalConfig.clientHomePath&&o.globalConfig.clientHomePath!==""?n({path:o.globalConfig.clientHomePath}):n()),n()}else try{if(o.token&&await o.getUserInfo(),o.globalConfigLoading){let l=`${window.location.protocol}//${window.location.hostname}`;window.location.port&&(l+=`:${window.location.port}`),await o.getglobalConfig(l),o.globalConfig.clientHomePath?n({path:o.globalConfig.clientHomePath}):n()}t.path==="/500"?n({path:"/"}):n()}catch{t.path==="/500"?n({path:"/"}):n()}}),e.afterEach(t=>{var r;(r=window.$loadingBar)==null||r.finish()})}const im=[{path:"/",name:"Layout",component:()=>ot(()=>import("./index-fb60d41a.js"),["./index-fb60d41a.js","./user-3d98b148.js","./useBasicLayout-18dd2ca5.js","./vue-c19408e5.js","./Right-153af9c5.js","./naive-ui-64ac446a.js","./_plugin-vue_export-helper-c27b6911.js","./crami-173ca461.js","./vueuse-motion-563da5fd.js","./index-5212be5f.css"],import.meta.url),redirect:"/chat",children:[{path:"/home",name:"Home",component:()=>ot(()=>import("./index-7e813bfa.js"),["./index-7e813bfa.js","./user-3d98b148.js","./vue-c19408e5.js","./_plugin-vue_export-helper-c27b6911.js","./naive-ui-64ac446a.js","./vueuse-motion-563da5fd.js","./index-756d601a.css"],import.meta.url)},{path:"/chat",name:"Chat",component:()=>ot(()=>import("./chat-7eb7de6c.js"),["./chat-7eb7de6c.js","./useBasicLayout-18dd2ca5.js","./vue-c19408e5.js","./naive-ui-64ac446a.js","./Right-153af9c5.js","./_plugin-vue_export-helper-c27b6911.js","./vueuse-motion-563da5fd.js","./chat-fb203400.css"],import.meta.url)},{path:"user-center",name:"UserCenter",component:()=>ot(()=>import("./index-1362473a.js"),["./index-1362473a.js","./useBasicLayout-18dd2ca5.js","./vue-c19408e5.js","./naive-ui-64ac446a.js","./crami-173ca461.js","./vueuse-motion-563da5fd.js"],import.meta.url)}]},{path:"/404",name:"404",component:()=>ot(()=>import("./index-5d3b5439.js"),["./index-5d3b5439.js","./vue-c19408e5.js","./naive-ui-64ac446a.js","./vueuse-motion-563da5fd.js"],import.meta.url)},{path:"/500",name:"500",component:()=>ot(()=>import("./index-e614ee1e.js"),["./index-e614ee1e.js","./vue-c19408e5.js","./naive-ui-64ac446a.js","./vueuse-motion-563da5fd.js","./index-404bb920.css"],import.meta.url)},{path:"/:pathMatch(.*)*",name:"notFound",redirect:"/404"}],oo=Jp({history:Dp(),routes:im,scrollBehavior:()=>({left:0,top:0})});am(oo);async function sm(e){e.use(oo),await oo.isReady()}console.log=function(){};async function cm(){const e=X0(tm);e.directive("focus",{mounted(n){n.focus()}}),nm(),om(),Zf(e),zh(e),await sm(e);const{default:t}=await ot(()=>import("./v-viewer-ead8b014.js"),["./v-viewer-ead8b014.js","./vue-c19408e5.js"],import.meta.url);e.use(t);const{MotionPlugin:r}=await ot(()=>import("./vueuse-motion-563da5fd.js").then(n=>n.b),["./vueuse-motion-563da5fd.js","./vue-c19408e5.js"],import.meta.url);e.use(r),e.mount("#app")}cm();export{wf as A,Bf as B,xm as C,Cm as D,Sm as E,Fm as F,Pm as G,km as H,dm as I,Am as J,ot as _,bm as a,hm as b,gm as c,qt as d,Dm as e,pm as f,Re as g,_m as h,wm as i,Ds as j,Xs as k,Bm as l,Rm as m,em as n,Qs as o,De as p,Em as q,oo as r,Fe as s,Tm as t,zf as u,ym as v,vm as w,El as x,Al as y,mm as z}; diff --git a/public/chat/assets/index-5212be5f.css b/AIWebQuickDeploy/public/chat/assets/index-5212be5f.css similarity index 100% rename from public/chat/assets/index-5212be5f.css rename to AIWebQuickDeploy/public/chat/assets/index-5212be5f.css diff --git a/public/chat/assets/index-a7781fa9.js b/AIWebQuickDeploy/public/chat/assets/index-5d3b5439.js similarity index 93% rename from public/chat/assets/index-a7781fa9.js rename to AIWebQuickDeploy/public/chat/assets/index-5d3b5439.js index 7e0fed9..3e74b93 100644 --- a/public/chat/assets/index-a7781fa9.js +++ b/AIWebQuickDeploy/public/chat/assets/index-5d3b5439.js @@ -1 +1 @@ -import{n as a}from"./index-e5cf7f43.js";import{d as s,S as o,a2 as r,W as c,V as n,L as i,ah as l,R as d,c as m}from"./vue-c19408e5.js";import{y as p}from"./naive-ui-64ac446a.js";import"./vueuse-motion-563da5fd.js";const x=""+new URL("404-0d6db85f.svg",import.meta.url).href,u={class:"flex h-full bg-white dark:bg-gray-900"},_={class:"px-4 m-auto space-y-4 text-center max-[400px]"},f=l('

      404 - 页面迷路了!

      哎呀!页面好像迷路了,找不到了。

      404
      ',3),V=s({__name:"index",setup(h){const e=a();function t(){e.replace("/")}return(v,g)=>(d(),o("div",u,[r("div",_,[f,c(i(p),{type:"primary",onClick:t},{default:n(()=>[m(" Go to Home ")]),_:1})])]))}});export{V as default}; +import{n as a}from"./index-40baf14c.js";import{d as s,S as o,a2 as r,W as c,V as n,L as i,ah as l,R as d,c as m}from"./vue-c19408e5.js";import{y as p}from"./naive-ui-64ac446a.js";import"./vueuse-motion-563da5fd.js";const x=""+new URL("404-0d6db85f.svg",import.meta.url).href,u={class:"flex h-full bg-white dark:bg-gray-900"},_={class:"px-4 m-auto space-y-4 text-center max-[400px]"},f=l('

      404 - 页面迷路了!

      哎呀!页面好像迷路了,找不到了。

      404
      ',3),V=s({__name:"index",setup(h){const e=a();function t(){e.replace("/")}return(v,g)=>(d(),o("div",u,[r("div",_,[f,c(i(p),{type:"primary",onClick:t},{default:n(()=>[m(" Go to Home ")]),_:1})])]))}});export{V as default}; diff --git a/AIWebQuickDeploy/public/chat/assets/index-6e56dfd3.css b/AIWebQuickDeploy/public/chat/assets/index-6e56dfd3.css new file mode 100644 index 0000000..8d7634e --- /dev/null +++ b/AIWebQuickDeploy/public/chat/assets/index-6e56dfd3.css @@ -0,0 +1,10 @@ +html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}html .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);background-color:var(--color-canvas-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=A]{list-style-type:upper-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body ol[type=I]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .markdown-body.markdown-body-generate>dd:last-child):after,:is(.dark .markdown-body.markdown-body-generate>dl:last-child):after,:is(.dark .markdown-body.markdown-body-generate>dt:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h1:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h2:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h3:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h4:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h5:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h6:last-child):after,:is(.dark .markdown-body.markdown-body-generate>li:last-child):after,:is(.dark .markdown-body.markdown-body-generate>ol:last-child li:last-child):after,:is(.dark .markdown-body.markdown-body-generate>p:last-child):after,:is(.dark .markdown-body.markdown-body-generate>pre:last-child code):after,:is(.dark .markdown-body.markdown-body-generate>td:last-child):after,:is(.dark .markdown-body.markdown-body-generate>ul:last-child li:last-child):after{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{border-radius:50%;animation:breathes 2s infinite ease-in-out;vertical-align:middle}@keyframes breathes{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}@keyframes blink{to{visibility:hidden}}html,body,#app{height:100%;overflow:hidden}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica Neue,Arial,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);--tw-text-opacity: 1 !important;color:rgb(13 13 13 / var(--tw-text-opacity))!important}:is(.dark body){--tw-text-opacity: 1 !important;color:rgb(236 236 236 / var(--tw-text-opacity))!important}* :focus{outline:none}/*! + Theme: GitHub Dark + Description: Dark theme as seen on github.com + Author: github.com + Maintainer: @Hirse + Updated: 2021-05-15 + + Outdated base version: https://github.com/primer/github-syntax-dark + Current colors taken from GitHub's CSS +*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e3e3e3}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#b4b4b4}input::placeholder,textarea::placeholder{opacity:1;color:#b4b4b4}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:initial;scrollbar-width:initial}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}@media (min-width: 1750px){.container{max-width:1750px}}@media (min-width: 1870px){.container{max-width:1870px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-right-8{right:-2rem}.bottom-0{bottom:0}.bottom-\[350px\]{bottom:350px}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-full{top:100%}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.m-2{margin:.5rem}.m-auto{margin:auto}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.mb-\[20px\]{margin-bottom:20px}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-\[8px\]{margin-left:8px}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-8{margin-right:2rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[50px\]{margin-top:50px}.box-border{box-sizing:border-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-1\/2{height:50%}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-3{height:.75rem}.h-3\.5{height:.875rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-\[220px\]{height:220px}.h-\[280px\]{height:280px}.h-\[400px\]{height:400px}.h-\[55vh\]{height:55vh}.h-\[600px\]{height:600px}.h-\[60vh\]{height:60vh}.h-\[7rem\]{height:7rem}.h-auto{height:auto}.h-full{height:100%}.max-h-16{max-height:4rem}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-28{min-height:28px}.min-h-\[100px\]{min-height:100px}.min-h-\[200px\]{min-height:200px}.min-h-\[2rem\]{min-height:2rem}.min-h-\[4rem\]{min-height:4rem}.min-h-\[60vh\]{min-height:60vh}.min-h-\[70vh\]{min-height:70vh}.min-h-full{min-height:100%}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3{width:.75rem}.w-3\.5{width:.875rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[150px\]{width:150px}.w-\[200\]{width:200}.w-\[200px\]{width:200px}.w-\[220px\]{width:220px}.w-\[228px\]{width:228px}.w-\[230px\]{width:230px}.w-\[280px\]{width:280px}.w-\[300px\]{width:300px}.w-\[40\%\]{width:40%}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[80vw\]{width:80vw}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-12{min-width:3rem}.min-w-\[35vw\]{min-width:35vw}.min-w-\[8rem\]{min-width:8rem}.min-w-full{min-width:100%}.max-w-3xl{max-width:48rem}.max-w-48{max-width:12rem}.max-w-5xl{max-width:64rem}.max-w-60{max-width:15rem}.max-w-7xl{max-width:80rem}.max-w-\[95vw\]{max-width:95vw}.max-w-full{max-width:100%}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-bottom-right{transform-origin:bottom right}.origin-top-left{transform-origin:top left}.origin-top-right{transform-origin:top right}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(236 236 236 / var(--tw-divide-opacity))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-2xl{border-radius:1rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-b{border-bottom-width:1px}.border-l-2{border-left-width:2px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(236 236 236 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(227 227 227 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(205 205 205 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(180 180 180 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(155 155 155 / var(--tw-border-opacity))}.border-primary-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-b-gray-100{--tw-border-opacity: 1;border-bottom-color:rgb(236 236 236 / var(--tw-border-opacity))}.border-t-gray-100{--tw-border-opacity: 1;border-top-color:rgb(236 236 236 / var(--tw-border-opacity))}.bg-\[\#fff\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/40{background-color:#0006}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-custom-gradient{--tw-bg-opacity: 1;background-color:rgb(244 244 244 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(227 227 227 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(205 205 205 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(180 180 180 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(155 155 155 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity))}.bg-gray-950{--tw-bg-opacity: 1;background-color:rgb(13 13 13 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-opacity{--tw-bg-opacity: 1;background-color:rgb(244 244 244 / var(--tw-bg-opacity))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-primary-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.bg-primary-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-primary-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.bg-primary-gradient{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-custom-gradient{background-image:#f4f4f4}.bg-primary-gradient{background-image:white}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[10px\]{padding:10px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-0{padding-left:0}.pl-12{padding-left:3rem}.pl-20{padding-left:5rem}.pl-28{padding-left:7rem}.pl-3{padding-left:.75rem}.pl-5{padding-left:1.25rem}.pl-8{padding-left:2rem}.pl-\[260px\]{padding-left:260px}.pr-10{padding-right:2.5rem}.pr-12{padding-right:3rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pt-5{padding-top:1.25rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-start{text-align:start}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[20px\]{font-size:20px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.leading-8{line-height:2rem}.leading-9{line-height:2.25rem}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.text-\[\#142D6E\]{--tw-text-opacity: 1;color:rgb(20 45 110 / var(--tw-text-opacity))}.text-\[\#374151\]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-\[\#555\]{--tw-text-opacity: 1;color:rgb(85 85 85 / var(--tw-text-opacity))}.text-\[\#95AAC9\],.text-\[\#95aac9\]{--tw-text-opacity: 1;color:rgb(149 170 201 / var(--tw-text-opacity))}.text-\[\#989898\]{--tw-text-opacity: 1;color:rgb(152 152 152 / var(--tw-text-opacity))}.text-\[\#cbd5e1\]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-\[currentColor\]{color:currentColor}.text-\[red\]{--tw-text-opacity: 1;color:rgb(255 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(103 103 103 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(66 66 66 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(33 33 33 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(13 13 13 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}.text-primary-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-primary-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-0{outline-width:0px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-100{--tw-ring-opacity: 1;--tw-ring-color: rgb(236 236 236 / var(--tw-ring-opacity))}.ring-gray-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 227 227 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(205 205 205 / var(--tw-ring-opacity))}.ring-indigo-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.ring-primary-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(199 210 254 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-100{transition-delay:.1s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.placeholder\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}.focus-within\:ring-2:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-primary-500:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}.group:hover .group-hover\:text-gray-500{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}.group:hover .group-hover\:text-gray-700{--tw-text-opacity: 1;color:rgb(66 66 66 / var(--tw-text-opacity))}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.hover\:border-primary-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:bg-\[\#666161\]:hover{--tw-bg-opacity: 1;background-color:rgb(102 97 97 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(227 227 227 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}.hover\:bg-gray-600:hover{--tw-bg-opacity: 1;background-color:rgb(103 103 103 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-opacity:hover{--tw-bg-opacity: 1;background-color:rgb(244 244 244 / var(--tw-bg-opacity))}.hover\:bg-primary-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-primary-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-primary-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(103 103 103 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(66 66 66 / var(--tw-text-opacity))}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.hover\:text-indigo-500:hover,.hover\:text-primary-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:ring-primary-300:hover{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 180 252 / var(--tw-ring-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(205 205 205 / var(--tw-ring-opacity))}.focus\:ring-indigo-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-indigo-600:focus-visible{outline-color:#4f46e5}.focus-visible\:outline-primary-600:focus-visible{outline-color:#4f46e5}.disabled\:bg-gray-400:disabled{--tw-bg-opacity: 1;background-color:rgb(180 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:border-\[\#ffffff17\]){border-color:#ffffff17}:is(.dark .dark\:border-gray-300){--tw-border-opacity: 1;border-color:rgb(205 205 205 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-400){--tw-border-opacity: 1;border-color:rgb(180 180 180 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(103 103 103 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(66 66 66 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-750){--tw-border-opacity: 1;border-color:rgb(47 47 47 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(33 33 33 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-800){--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-b-gray-800){--tw-border-opacity: 1;border-bottom-color:rgb(33 33 33 / var(--tw-border-opacity))}:is(.dark .dark\:border-t-gray-800){--tw-border-opacity: 1;border-top-color:rgb(33 33 33 / var(--tw-border-opacity))}:is(.dark .dark\:bg-gray-100){--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(155 155 155 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-600){--tw-bg-opacity: 1;background-color:rgb(103 103 103 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-750){--tw-bg-opacity: 1;background-color:rgb(47 47 47 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-800){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-700){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:text-\[\#3a71ff\]){--tw-text-opacity: 1;color:rgb(58 113 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(236 236 236 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(103 103 103 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-200){--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-400){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:ring-gray-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(180 180 180 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-600){--tw-ring-opacity: 1;--tw-ring-color: rgb(103 103 103 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(66 66 66 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-750){--tw-ring-opacity: 1;--tw-ring-color: rgb(47 47 47 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(33 33 33 / var(--tw-ring-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::-moz-placeholder{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::placeholder{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-300){--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-400){--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:bg-\[\#33373c\]:hover){--tw-bg-opacity: 1;background-color:rgb(51 55 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-\[\#414755\]:hover){--tw-bg-opacity: 1;background-color:rgb(65 71 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-500:hover){--tw-bg-opacity: 1;background-color:rgb(155 155 155 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-750:hover){--tw-bg-opacity: 1;background-color:rgb(47 47 47 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-gray-200:hover){--tw-text-opacity: 1;color:rgb(227 227 227 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-500:hover){--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-primary-600:hover){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:ring-gray-600:hover){--tw-ring-opacity: 1;--tw-ring-color: rgb(103 103 103 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(180 180 180 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(103 103 103 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-750:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(47 47 47 / var(--tw-ring-opacity))}@media (min-width: 640px){.sm\:mx-auto{margin-left:auto;margin-right:auto}.sm\:w-1\/2{width:50%}.sm\:w-full{width:100%}.sm\:max-w-sm{max-width:24rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}@media (min-width: 768px){.md\:w-1\/3{width:33.333333%}.md\:max-w-\[40rem\]{max-width:40rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1536px){.\32xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(./KaTeX_AMS-Regular-0cdd387c.woff2) format("woff2"),url(./KaTeX_AMS-Regular-30da91e8.woff) format("woff"),url(./KaTeX_AMS-Regular-68534840.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(./KaTeX_Caligraphic-Bold-de7701e4.woff2) format("woff2"),url(./KaTeX_Caligraphic-Bold-1ae6bd74.woff) format("woff"),url(./KaTeX_Caligraphic-Bold-07d8e303.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(./KaTeX_Caligraphic-Regular-5d53e70a.woff2) format("woff2"),url(./KaTeX_Caligraphic-Regular-3398dd02.woff) format("woff"),url(./KaTeX_Caligraphic-Regular-ed0b7437.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(./KaTeX_Fraktur-Bold-74444efd.woff2) format("woff2"),url(./KaTeX_Fraktur-Bold-9be7ceb8.woff) format("woff"),url(./KaTeX_Fraktur-Bold-9163df9c.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(./KaTeX_Fraktur-Regular-51814d27.woff2) format("woff2"),url(./KaTeX_Fraktur-Regular-5e28753b.woff) format("woff"),url(./KaTeX_Fraktur-Regular-1e6f9579.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(./KaTeX_Main-Bold-0f60d1b8.woff2) format("woff2"),url(./KaTeX_Main-Bold-c76c5d69.woff) format("woff"),url(./KaTeX_Main-Bold-138ac28d.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(./KaTeX_Main-BoldItalic-99cd42a3.woff2) format("woff2"),url(./KaTeX_Main-BoldItalic-a6f7ec0d.woff) format("woff"),url(./KaTeX_Main-BoldItalic-70ee1f64.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(./KaTeX_Main-Italic-97479ca6.woff2) format("woff2"),url(./KaTeX_Main-Italic-f1d6ef86.woff) format("woff"),url(./KaTeX_Main-Italic-0d85ae7c.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(./KaTeX_Main-Regular-c2342cd8.woff2) format("woff2"),url(./KaTeX_Main-Regular-c6368d87.woff) format("woff"),url(./KaTeX_Main-Regular-d0332f52.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(./KaTeX_Math-BoldItalic-dc47344d.woff2) format("woff2"),url(./KaTeX_Math-BoldItalic-850c0af5.woff) format("woff"),url(./KaTeX_Math-BoldItalic-f9377ab0.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(./KaTeX_Math-Italic-7af58c5e.woff2) format("woff2"),url(./KaTeX_Math-Italic-8a8d2445.woff) format("woff"),url(./KaTeX_Math-Italic-08ce98e5.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(./KaTeX_SansSerif-Bold-e99ae511.woff2) format("woff2"),url(./KaTeX_SansSerif-Bold-ece03cfd.woff) format("woff"),url(./KaTeX_SansSerif-Bold-1ece03f7.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(./KaTeX_SansSerif-Italic-00b26ac8.woff2) format("woff2"),url(./KaTeX_SansSerif-Italic-91ee6750.woff) format("woff"),url(./KaTeX_SansSerif-Italic-3931dd81.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(./KaTeX_SansSerif-Regular-68e8c73e.woff2) format("woff2"),url(./KaTeX_SansSerif-Regular-11e4dc8a.woff) format("woff"),url(./KaTeX_SansSerif-Regular-f36ea897.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(./KaTeX_Script-Regular-036d4e95.woff2) format("woff2"),url(./KaTeX_Script-Regular-d96cdf2b.woff) format("woff"),url(./KaTeX_Script-Regular-1c67f068.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(./KaTeX_Size1-Regular-6b47c401.woff2) format("woff2"),url(./KaTeX_Size1-Regular-c943cc98.woff) format("woff"),url(./KaTeX_Size1-Regular-95b6d2f1.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(./KaTeX_Size2-Regular-d04c5421.woff2) format("woff2"),url(./KaTeX_Size2-Regular-2014c523.woff) format("woff"),url(./KaTeX_Size2-Regular-a6b2099f.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(./KaTeX_Size3-Regular-6ab6b62e.woff) format("woff"),url(./KaTeX_Size3-Regular-500e04d5.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(./KaTeX_Size4-Regular-a4af7d41.woff2) format("woff2"),url(./KaTeX_Size4-Regular-99f9c675.woff) format("woff"),url(./KaTeX_Size4-Regular-c647367d.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(./KaTeX_Typewriter-Regular-71d517d6.woff2) format("woff2"),url(./KaTeX_Typewriter-Regular-e14fed02.woff) format("woff"),url(./KaTeX_Typewriter-Regular-f01f3e87.ttf) format("truetype")}.katex{text-rendering:auto;font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo} diff --git a/public/chat/assets/index-756d601a.css b/AIWebQuickDeploy/public/chat/assets/index-756d601a.css similarity index 100% rename from public/chat/assets/index-756d601a.css rename to AIWebQuickDeploy/public/chat/assets/index-756d601a.css diff --git a/public/chat/assets/index-ca77edb1.js b/AIWebQuickDeploy/public/chat/assets/index-7e813bfa.js similarity index 79% rename from public/chat/assets/index-ca77edb1.js rename to AIWebQuickDeploy/public/chat/assets/index-7e813bfa.js index 9d2de69..f0aee37 100644 --- a/public/chat/assets/index-ca77edb1.js +++ b/AIWebQuickDeploy/public/chat/assets/index-7e813bfa.js @@ -1,3 +1,3 @@ -import{n as f,m as _,d as g,_ as h}from"./index-e5cf7f43.js";import{i as w,j as p}from"./user-fa22762f.js";import{d as L,e as i,r as v,f as y,w as P,S as C,a2 as x,R as b}from"./vue-c19408e5.js";import{_ as A}from"./_plugin-vue_export-helper-c27b6911.js";import"./naive-ui-64ac446a.js";import"./vueuse-motion-563da5fd.js";const R={class:"iframe-container"},S=L({__name:"index",setup(k){const n=f();_();const a=g(),r=i(()=>a.isLogin);i(()=>{var o;return Number((o=a.globalConfig)==null?void 0:o.wechatSilentLoginStatus)===1});const s=v(null);async function u(){const t=new URLSearchParams(window.location.search).getAll("code");if(!(t.length>0?t[t.length-1]:null)){const c=window.location.href.split("#")[0],l=await p({url:c});l.success&&(window.location.href=l.data)}}async function d(){const t=new URLSearchParams(window.location.search).getAll("code"),e=t.length>0?t[t.length-1]:null;if(e){const c=await w({code:e});c.success&&(a.setToken(c.data),await a.getUserInfo(),a.setLoginDialog(!1),n.replace("/chat"))}}async function m(){window.navigator.userAgent.toLowerCase().includes("micromessenger")&&await u()}return y(async()=>{var t;if(r.value){n.replace("/chat");return}let o=i(()=>{var e;return((e=a.globalConfig)==null?void 0:e.homeHtml)||""});if(o=i(()=>{var e;return` +import{n as f,m as _,d as g,_ as h}from"./index-40baf14c.js";import{i as w,j as p}from"./user-3d98b148.js";import{d as L,e as i,r as v,f as y,w as P,S as C,a2 as x,R as b}from"./vue-c19408e5.js";import{_ as A}from"./_plugin-vue_export-helper-c27b6911.js";import"./naive-ui-64ac446a.js";import"./vueuse-motion-563da5fd.js";const R={class:"iframe-container"},S=L({__name:"index",setup(k){const n=f();_();const a=g(),r=i(()=>a.isLogin);i(()=>{var o;return Number((o=a.globalConfig)==null?void 0:o.wechatSilentLoginStatus)===1});const s=v(null);async function u(){const t=new URLSearchParams(window.location.search).getAll("code");if(!(t.length>0?t[t.length-1]:null)){const c=window.location.href.split("#")[0],l=await p({url:c});l.success&&(window.location.href=l.data)}}async function d(){const t=new URLSearchParams(window.location.search).getAll("code"),e=t.length>0?t[t.length-1]:null;if(e){const c=await w({code:e});c.success&&(a.setToken(c.data),await a.getUserInfo(),a.setLoginDialog(!1),n.replace("/chat"))}}async function m(){window.navigator.userAgent.toLowerCase().includes("micromessenger")&&await u()}return y(async()=>{var t;if(r.value){n.replace("/chat");return}let o=i(()=>{var e;return((e=a.globalConfig)==null?void 0:e.homeHtml)||""});if(o=i(()=>{var e;return` ${((e=a.globalConfig)==null?void 0:e.homeHtml)||""} - `}),s.value){const e=s.value.contentDocument||((t=s.value.contentWindow)==null?void 0:t.document);e&&(e.open(),e.write(o.value),e.close())}h(()=>import("./chat-f5a1bdb4.js"),["./chat-f5a1bdb4.js","./useBasicLayout-18dd2ca5.js","./vue-c19408e5.js","./index-e5cf7f43.js","./naive-ui-64ac446a.js","./vueuse-motion-563da5fd.js","./index-e4921c26.css","./Right-153af9c5.js","./_plugin-vue_export-helper-c27b6911.js","./chat-07fbf5d6.css"],import.meta.url),window.addEventListener("message",async e=>{e.data==="goToChat"&&(await d(),n.replace("/chat")),e.data==="goToLogin"&&a.setLoginDialog(!0)}),await m()}),P(r,o=>{o&&n.replace("/chat")}),(o,t)=>(b(),C("div",R,[x("iframe",{ref_key:"iframe",ref:s,class:"iframe",frameborder:"0"},null,512)]))}});const W=A(S,[["__scopeId","data-v-bc827095"]]);export{W as default}; + `}),s.value){const e=s.value.contentDocument||((t=s.value.contentWindow)==null?void 0:t.document);e&&(e.open(),e.write(o.value),e.close())}h(()=>import("./chat-7eb7de6c.js"),["./chat-7eb7de6c.js","./useBasicLayout-18dd2ca5.js","./vue-c19408e5.js","./index-40baf14c.js","./naive-ui-64ac446a.js","./vueuse-motion-563da5fd.js","./index-6e56dfd3.css","./Right-153af9c5.js","./_plugin-vue_export-helper-c27b6911.js","./chat-fb203400.css"],import.meta.url),window.addEventListener("message",async e=>{e.data==="goToChat"&&(await d(),n.replace("/chat")),e.data==="goToLogin"&&a.setLoginDialog(!0)}),await m()}),P(r,o=>{o&&n.replace("/chat")}),(o,t)=>(b(),C("div",R,[x("iframe",{ref_key:"iframe",ref:s,class:"iframe",frameborder:"0"},null,512)]))}});const W=A(S,[["__scopeId","data-v-bc827095"]]);export{W as default}; diff --git a/public/chat/assets/index-cff48399.js b/AIWebQuickDeploy/public/chat/assets/index-e614ee1e.js similarity index 99% rename from public/chat/assets/index-cff48399.js rename to AIWebQuickDeploy/public/chat/assets/index-e614ee1e.js index 1168dc4..938760c 100644 --- a/public/chat/assets/index-cff48399.js +++ b/AIWebQuickDeploy/public/chat/assets/index-e614ee1e.js @@ -1 +1 @@ -import{n as c}from"./index-e5cf7f43.js";import{d as i,S as a,a2 as l,ah as s,R as o}from"./vue-c19408e5.js";import"./naive-ui-64ac446a.js";import"./vueuse-motion-563da5fd.js";const n={class:"welcome flex h-full bg-white dark:bg-gray-900"},r=s('出了点小错误...... 出了点小错误、刷新看看呢...... ',20),h=l("path",{fill:"none",class:"stroke",d:"M955.8 846V560.5c0-5.5-4.5-10-10-10H738.6c-5.5 0-10 4.5-10 10V846"},null,-1),p=l("rect",{fill:"#0170BB",x:"730",y:"700",width:"225",height:"15"},null,-1),d=l("polyline",{fill:"none",class:"stroke",points:" 800.8 672.8 842.5 601 883.6 672.8 "},null,-1),f=l("ellipse",{fill:"#FFF",class:"stroke",cx:"842.2",cy:"601",rx:"10",ry:"10"},null,-1),k=l("path",{fill:"#a5c7e4",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),x=l("path",{fill:"none",class:"stroke",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),u=s('',4),z=i({__name:"index",setup(y){const e=c();function t(){e.replace("/chat")}return(F,M)=>(o(),a("div",n,[l("div",{class:"store-container"},[l("div",{class:"border-animation"},[l("svg",{id:"store",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"130 0 1230 930"},[r,l("g",{id:"door"},[h,p,l("g",{id:"sign"},[d,f,k,l("text",{class:"btn",transform:"matrix(1.0027 0 0 1 789.6294 721.7501)",fill:"#FFF","font-family":"Fredoka One","font-size":"38",onClick:t}," HOME "),x])]),u])])])]))}});export{z as default}; +import{n as c}from"./index-40baf14c.js";import{d as i,S as a,a2 as l,ah as s,R as o}from"./vue-c19408e5.js";import"./naive-ui-64ac446a.js";import"./vueuse-motion-563da5fd.js";const n={class:"welcome flex h-full bg-white dark:bg-gray-900"},r=s('出了点小错误...... 出了点小错误、刷新看看呢...... ',20),h=l("path",{fill:"none",class:"stroke",d:"M955.8 846V560.5c0-5.5-4.5-10-10-10H738.6c-5.5 0-10 4.5-10 10V846"},null,-1),p=l("rect",{fill:"#0170BB",x:"730",y:"700",width:"225",height:"15"},null,-1),d=l("polyline",{fill:"none",class:"stroke",points:" 800.8 672.8 842.5 601 883.6 672.8 "},null,-1),f=l("ellipse",{fill:"#FFF",class:"stroke",cx:"842.2",cy:"601",rx:"10",ry:"10"},null,-1),k=l("path",{fill:"#a5c7e4",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),x=l("path",{fill:"none",class:"stroke",d:"M909.3 740.7H775.1c-5.5 0-10-4.5-10-10v-47.9c0-5.5 4.5-10 10-10h134.2c5.5 0 10 4.5 10 10v47.9C919.3 736.2 914.8 740.7 909.3 740.7z"},null,-1),u=s('',4),z=i({__name:"index",setup(y){const e=c();function t(){e.replace("/chat")}return(F,M)=>(o(),a("div",n,[l("div",{class:"store-container"},[l("div",{class:"border-animation"},[l("svg",{id:"store",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"130 0 1230 930"},[r,l("g",{id:"door"},[h,p,l("g",{id:"sign"},[d,f,k,l("text",{class:"btn",transform:"matrix(1.0027 0 0 1 789.6294 721.7501)",fill:"#FFF","font-family":"Fredoka One","font-size":"38",onClick:t}," HOME "),x])]),u])])])]))}});export{z as default}; diff --git a/public/chat/assets/index-eaba389e.js b/AIWebQuickDeploy/public/chat/assets/index-fb60d41a.js similarity index 99% rename from public/chat/assets/index-eaba389e.js rename to AIWebQuickDeploy/public/chat/assets/index-fb60d41a.js index ab36210..63a3b73 100644 --- a/public/chat/assets/index-eaba389e.js +++ b/AIWebQuickDeploy/public/chat/assets/index-fb60d41a.js @@ -1,4 +1,4 @@ -var Mo=Object.defineProperty;var Ro=(e,t,u)=>t in e?Mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[t]=u;var re=(e,t,u)=>(Ro(e,typeof t!="symbol"?t+"":t,u),u),an=(e,t,u)=>{if(!t.has(e))throw TypeError("Cannot "+u)};var g=(e,t,u)=>(an(e,t,"read from private field"),u?u.call(e):t.get(e)),G=(e,t,u)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,u)},H=(e,t,u,n)=>(an(e,t,"write to private field"),n?n.call(e,u):t.set(e,u),u);var vu=(e,t,u,n)=>({set _(r){H(e,t,r,u)},get _(){return g(e,t,n)}}),O=(e,t,u)=>(an(e,t,"access private method"),u);import{f as Po,a as Jr,b as No,c as Oo,d as jo,e as Uo,g as qo,h as Ho,i as Wo,j as Vo}from"./user-fa22762f.js";import{u as Je}from"./useBasicLayout-18dd2ca5.js";import{u as $e,a as Go,f as Xo,b as Zo,t as R,r as Yo,c as Qo,d as Be,p as Kr,g as Un,e as Jo,h as Ko,i as es,_ as ts,j as ei,s as ti,k as us,l as ns,m as rs,n as is}from"./index-e5cf7f43.js";import{W,d as me,r as j,e as M,w as ke,f as Fe,U as ne,V as pe,z as Wu,R as L,S as P,a2 as m,a3 as Z,L as F,a4 as N,k as ae,a5 as _e,a6 as V,F as Ye,a7 as it,a8 as kn,A as os,c as oe,o as qn,H as nt,a9 as tu,n as uu,a as we,p as at,t as ui,x as Bu,G as ss,aa as as,ab as ls,ac as cs,O as ds,ad as fs}from"./vue-c19408e5.js";import{I as ni,L as hs,R as gs,C as _t,a as ps}from"./Right-153af9c5.js";import{e as Ke,p as ms,q as bs,r as ri,s as ii,t as Hn,v as Vu,d as ys,w as Jt,x as xs,y as oi,i as si,z as vs}from"./naive-ui-64ac446a.js";import{_ as Vt}from"./_plugin-vue_export-helper-c27b6911.js";import{f as _s}from"./crami-6a16f6dd.js";import{t as ks,a as ws}from"./vueuse-motion-563da5fd.js";const Cs=ni("search",!0,function(e){return W("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[W("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),W("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),W("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),As=ni("star",!1,function(e){return W("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[W("path",{d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])});function Es(e,t,u){return(t=function(n){var r=function(i,o){if(typeof i!="object"||!i)return i;var s=i[Symbol.toPrimitive];if(s!==void 0){var a=s.call(i,o||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(i)}(n,"string");return typeof r=="symbol"?r:r+""}(t))in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u,e}var zt=[],ai={},cr={};function Ds(e){for(var t=[],u=e.length,n=[],r=0;u>=r;r++)n.push(!0);return li(0,e,[],t,n),t}function li(e,t,u,n,r){var i=t.length;if(e!==i)for(var o=function(){var a=t.substring(e,s+1),l=!1;if(zt.some(function(h){return h.indexOf(a)===0})&&!t[s+1]&&r[s+1]){if(a.length===1)u.push(a);else{var c=[];zt.forEach(function(h){h.indexOf(a)===0&&c.push(h)}),u.push(c)}l=!0}else zt.indexOf(a)!==-1&&r[s+1]&&(u.push(a),l=!0);if(l){var d=n.length;li(s+1,t,u,n,r),n.length===d&&(r[s+1]=!1),u.pop()}},s=e;i>s;s++)o();else n.push(u.join(" "))}function Ss(e,t,u,n){if(!e)return!1;var r=e.split(" ");return r.forEach(function(i){i.length>0&&n&&r.push(i.charAt(0))}),u?r.some(function(i){return i.indexOf(t)===0}):r.indexOf(t)!==-1}function Fs(e,t){if(!e||!t)return!1;e=e.toLowerCase(),t=t.replace(/\s+/g,"").toLowerCase();var u=e.indexOf(t);if(u!==-1)return[u,u+t.length-1];var n=dr(e.split(""),[t.split("")],t);if(n)return n;var r,i,o=function(s){for(var a=[],l=0,c=s.length;c>l;l++){var d=s.charAt(l);a.push(ai[d]||d)}return a}(e);return dr(o,cr[t]||(i=[],Ds(r=t).forEach(function(s){var a=s.split(" "),l=a.length-1;a[l].indexOf(",")?a[l].split(",").forEach(function(c){a.splice(l,1,c),i.push(JSON.parse(JSON.stringify(a)))}):i.push(a)}),i.length!==0&&i[0].length===r.length||i.push(r.split("")),cr=Es({},r,i),i),t)}function dr(e,t,u){for(var n=0;e.length>n;n++)for(var r=0;t.length>r;r++){var i=t[r],o=i.length,s=o===u.length,a=!0,l=0,c=0,d=0;if(e.length>=o){for(;i.length>l;l++)if(l===0&&e[n+l+c]===" ")c+=1,l-=1;else if(e[n+l+d]===" ")d+=1,l-=1;else if(!Ss(e[n+l+d],i[l],!e[n+l+1]||!i[l+1],s)){a=!1;break}if(a)return[n+c,d+n+l-1]}}return!1}var Ts={match:function(e){var t={},u=["ju","jun","jue","juan","qu","qun","que","xuan","xu","xue","yu","yuan","yue","yun","nve","lve"],n=["lv","lve","nv","nve"];return Object.keys(e).forEach(function(r){if(t[r]=e[r],zt.push(r),u.includes(r)){var i=(o=r).indexOf("u")!==-1?o.replace("u","v"):o.replace("v","u");t[i]=e[r],zt.push(i)}var o;if(n.includes(r)){var s=r.replace("v","ü");t[s]=e[r],zt.push(s)}}),ai=function(r){var i={};for(var o in r)for(var s=r[o],a=0,l=s.length;l>a;a++)i[s[a]]=i[s[a]]?i[s[a]]+" "+o:o;return i}(t),Fs}({a:"阿啊呵腌嗄吖锕",e:"额阿俄恶鹅遏鄂厄饿峨扼娥鳄哦蛾噩愕讹锷垩婀鹗萼谔莪腭锇颚呃阏屙苊轭",ai:"爱埃艾碍癌哀挨矮隘蔼唉皑哎霭捱暧嫒嗳瑷嗌锿砹",ei:"诶",xi:"系西席息希习吸喜细析戏洗悉锡溪惜稀袭夕洒晰昔牺腊烯熙媳栖膝隙犀蹊硒兮熄曦禧嬉玺奚汐徙羲铣淅嘻歙熹矽蟋郗唏皙隰樨浠忾蜥檄郄翕阋鳃舾屣葸螅咭粞觋欷僖醯鼷裼穸饩舄禊诶菥蓰",yi:"一以已意议义益亿易医艺食依移衣异伊仪宜射遗疑毅谊亦疫役忆抑尾乙译翼蛇溢椅沂泄逸蚁夷邑怡绎彝裔姨熠贻矣屹颐倚诣胰奕翌疙弈轶蛾驿壹猗臆弋铱旖漪迤佚翊诒怿痍懿饴峄揖眙镒仡黟肄咿翳挹缢呓刈咦嶷羿钇殪荑薏蜴镱噫癔苡悒嗌瘗衤佾埸圯舣酏劓",an:"安案按岸暗鞍氨俺胺铵谙庵黯鹌桉埯犴揞厂广",han:"厂汉韩含旱寒汗涵函喊憾罕焊翰邯撼瀚憨捍酣悍鼾邗颔蚶晗菡旰顸犴焓撖",ang:"昂仰盎肮",ao:"奥澳傲熬凹鳌敖遨鏖袄坳翱嗷拗懊岙螯骜獒鏊艹媪廒聱",wa:"瓦挖娃洼袜蛙凹哇佤娲呙腽",yu:"于与育余预域予遇奥语誉玉鱼雨渔裕愈娱欲吁舆宇羽逾豫郁寓吾狱喻御浴愉禹俞邪榆愚渝尉淤虞屿峪粥驭瑜禺毓钰隅芋熨瘀迂煜昱汩於臾盂聿竽萸妪腴圄谕觎揄龉谀俣馀庾妤瘐鬻欤鹬阈嵛雩鹆圉蜮伛纡窬窳饫蓣狳肀舁蝓燠",niu:"牛纽扭钮拗妞忸狃",o:"哦噢喔",ba:"把八巴拔伯吧坝爸霸罢芭跋扒叭靶疤笆耙鲅粑岜灞钯捌菝魃茇",pa:"怕帕爬扒趴琶啪葩耙杷钯筢",pi:"被批副否皮坏辟啤匹披疲罢僻毗坯脾譬劈媲屁琵邳裨痞癖陂丕枇噼霹吡纰砒铍淠郫埤濞睥芘蚍圮鼙罴蜱疋貔仳庀擗甓陴",bi:"比必币笔毕秘避闭佛辟壁弊彼逼碧鼻臂蔽拂泌璧庇痹毙弼匕鄙陛裨贲敝蓖吡篦纰俾铋毖筚荸薜婢哔跸濞秕荜愎睥妣芘箅髀畀滗狴萆嬖襞舭",bai:"百白败摆伯拜柏佰掰呗擘捭稗",bo:"波博播勃拨薄佛伯玻搏柏泊舶剥渤卜驳簿脖膊簸菠礴箔铂亳钵帛擘饽跛钹趵檗啵鹁擗踣",bei:"北被备倍背杯勃贝辈悲碑臂卑悖惫蓓陂钡狈呗焙碚褙庳鞴孛鹎邶鐾",ban:"办版半班般板颁伴搬斑扮拌扳瓣坂阪绊钣瘢舨癍",pan:"判盘番潘攀盼拚畔胖叛拌蹒磐爿蟠泮袢襻丬",bin:"份宾频滨斌彬濒殡缤鬓槟摈膑玢镔豳髌傧",bang:"帮邦彭旁榜棒膀镑绑傍磅蚌谤梆浜蒡",pang:"旁庞乓磅螃彷滂逄耪",beng:"泵崩蚌蹦迸绷甭嘣甏堋",bao:"报保包宝暴胞薄爆炮饱抱堡剥鲍曝葆瀑豹刨褒雹孢苞煲褓趵鸨龅勹",bu:"不部步布补捕堡埔卜埠簿哺怖钚卟瓿逋晡醭钸",pu:"普暴铺浦朴堡葡谱埔扑仆蒲曝瀑溥莆圃璞濮菩蹼匍噗氆攵镨攴镤",mian:"面棉免绵缅勉眠冕娩腼渑湎沔黾宀眄",po:"破繁坡迫颇朴泊婆泼魄粕鄱珀陂叵笸泺皤钋钷",fan:"反范犯繁饭泛翻凡返番贩烦拚帆樊藩矾梵蕃钒幡畈蘩蹯燔",fu:"府服副负富复福夫妇幅付扶父符附腐赴佛浮覆辅傅伏抚赋辐腹弗肤阜袱缚甫氟斧孚敷俯拂俘咐腑孵芙涪釜脯茯馥宓绂讣呋罘麸蝠匐芾蜉跗凫滏蝮驸绋蚨砩桴赙菔呒趺苻拊阝鲋怫稃郛莩幞祓艴黻黼鳆",ben:"本奔苯笨夯贲锛畚坌",feng:"风丰封峰奉凤锋冯逢缝蜂枫疯讽烽俸沣酆砜葑唪",bian:"变便边编遍辩鞭辨贬匾扁卞汴辫砭苄蝙鳊弁窆笾煸褊碥忭缏",pian:"便片篇偏骗翩扁骈胼蹁谝犏缏",zhen:"镇真针圳振震珍阵诊填侦臻贞枕桢赈祯帧甄斟缜箴疹砧榛鸩轸稹溱蓁胗椹朕畛浈",biao:"表标彪镖裱飚膘飙镳婊骠飑杓髟鳔灬瘭",piao:"票朴漂飘嫖瓢剽缥殍瞟骠嘌莩螵",huo:"和活或货获火伙惑霍祸豁嚯藿锪蠖钬耠镬夥灬劐攉",bie:"别鳖憋瘪蹩",min:"民敏闽闵皿泯岷悯珉抿黾缗玟愍苠鳘",fen:"分份纷奋粉氛芬愤粪坟汾焚酚吩忿棼玢鼢瀵偾鲼",bing:"并病兵冰屏饼炳秉丙摒柄槟禀枋邴冫",geng:"更耕颈庚耿梗埂羹哽赓绠鲠",fang:"方放房防访纺芳仿坊妨肪邡舫彷枋鲂匚钫",xian:"现先县见线限显险献鲜洗宪纤陷闲贤仙衔掀咸嫌掺羡弦腺痫娴舷馅酰铣冼涎暹籼锨苋蚬跹岘藓燹鹇氙莶霰跣猃彡祆筅",fou:"不否缶",ca:"拆擦嚓礤",cha:"查察差茶插叉刹茬楂岔诧碴嚓喳姹杈汊衩搽槎镲苴檫馇锸猹",cai:"才采财材菜彩裁蔡猜踩睬",can:"参残餐灿惨蚕掺璨惭粲孱骖黪",shen:"信深参身神什审申甚沈伸慎渗肾绅莘呻婶娠砷蜃哂椹葚吲糁渖诜谂矧胂",cen:"参岑涔",san:"三参散伞叁糁馓毵",cang:"藏仓苍沧舱臧伧",zang:"藏脏葬赃臧奘驵",chen:"称陈沈沉晨琛臣尘辰衬趁忱郴宸谌碜嗔抻榇伧谶龀肜",cao:"草操曹槽糙嘈漕螬艚屮",ce:"策测册侧厕栅恻",ze:"责则泽择侧咋啧仄箦赜笮舴昃迮帻",zhai:"债择齐宅寨侧摘窄斋祭翟砦瘵哜",dao:"到道导岛倒刀盗稻蹈悼捣叨祷焘氘纛刂帱忉",ceng:"层曾蹭噌",zha:"查扎炸诈闸渣咋乍榨楂札栅眨咤柞喳喋铡蚱吒怍砟揸痄哳齄",chai:"差拆柴钗豺侪虿瘥",ci:"次此差词辞刺瓷磁兹慈茨赐祠伺雌疵鹚糍呲粢",zi:"资自子字齐咨滋仔姿紫兹孜淄籽梓鲻渍姊吱秭恣甾孳訾滓锱辎趑龇赀眦缁呲笫谘嵫髭茈粢觜耔",cuo:"措错磋挫搓撮蹉锉厝嵯痤矬瘥脞鹾",chan:"产单阐崭缠掺禅颤铲蝉搀潺蟾馋忏婵孱觇廛谄谗澶骣羼躔蒇冁",shan:"山单善陕闪衫擅汕扇掺珊禅删膳缮赡鄯栅煽姗跚鳝嬗潸讪舢苫疝掸膻钐剡蟮芟埏彡骟",zhan:"展战占站崭粘湛沾瞻颤詹斩盏辗绽毡栈蘸旃谵搌",xin:"新心信辛欣薪馨鑫芯锌忻莘昕衅歆囟忄镡",lian:"联连练廉炼脸莲恋链帘怜涟敛琏镰濂楝鲢殓潋裢裣臁奁莶蠊蔹",chang:"场长厂常偿昌唱畅倡尝肠敞倘猖娼淌裳徜昶怅嫦菖鲳阊伥苌氅惝鬯",zhang:"长张章障涨掌帐胀彰丈仗漳樟账杖璋嶂仉瘴蟑獐幛鄣嫜",chao:"超朝潮炒钞抄巢吵剿绰嘲晁焯耖怊",zhao:"着照招找召朝赵兆昭肇罩钊沼嘲爪诏濯啁棹笊",zhou:"调州周洲舟骤轴昼宙粥皱肘咒帚胄绉纣妯啁诌繇碡籀酎荮",che:"车彻撤尺扯澈掣坼砗屮",ju:"车局据具举且居剧巨聚渠距句拒俱柜菊拘炬桔惧矩鞠驹锯踞咀瞿枸掬沮莒橘飓疽钜趄踽遽琚龃椐苣裾榘狙倨榉苴讵雎锔窭鞫犋屦醵",cheng:"成程城承称盛抢乘诚呈净惩撑澄秤橙骋逞瞠丞晟铛埕塍蛏柽铖酲裎枨",rong:"容荣融绒溶蓉熔戎榕茸冗嵘肜狨蝾",sheng:"生声升胜盛乘圣剩牲甸省绳笙甥嵊晟渑眚",deng:"等登邓灯澄凳瞪蹬噔磴嶝镫簦戥",zhi:"制之治质职只志至指织支值知识直致执置止植纸拓智殖秩旨址滞氏枝芝脂帜汁肢挚稚酯掷峙炙栉侄芷窒咫吱趾痔蜘郅桎雉祉郦陟痣蛭帙枳踯徵胝栀贽祗豸鸷摭轵卮轾彘觯絷跖埴夂黹忮骘膣踬",zheng:"政正证争整征郑丁症挣蒸睁铮筝拯峥怔诤狰徵钲",tang:"堂唐糖汤塘躺趟倘棠烫淌膛搪镗傥螳溏帑羰樘醣螗耥铴瑭",chi:"持吃池迟赤驰尺斥齿翅匙痴耻炽侈弛叱啻坻眙嗤墀哧茌豉敕笞饬踟蚩柢媸魑篪褫彳鸱螭瘛眵傺",shi:"是时实事市十使世施式势视识师史示石食始士失适试什泽室似诗饰殖释驶氏硕逝湿蚀狮誓拾尸匙仕柿矢峙侍噬嗜栅拭嘘屎恃轼虱耆舐莳铈谥炻豕鲥饣螫酾筮埘弑礻蓍鲺贳",qi:"企其起期气七器汽奇齐启旗棋妻弃揭枝歧欺骑契迄亟漆戚岂稽岐琦栖缉琪泣乞砌祁崎绮祺祈凄淇杞脐麒圻憩芪伎俟畦耆葺沏萋骐鳍綦讫蕲屺颀亓碛柒啐汔綮萁嘁蛴槭欹芑桤丌蜞",chuai:"揣踹啜搋膪",tuo:"托脱拓拖妥驼陀沱鸵驮唾椭坨佗砣跎庹柁橐乇铊沲酡鼍箨柝",duo:"多度夺朵躲铎隋咄堕舵垛惰哆踱跺掇剁柁缍沲裰哚隳",xue:"学血雪削薛穴靴谑噱鳕踅泶彐",chong:"重种充冲涌崇虫宠忡憧舂茺铳艟",chou:"筹抽绸酬愁丑臭仇畴稠瞅踌惆俦瘳雠帱",qiu:"求球秋丘邱仇酋裘龟囚遒鳅虬蚯泅楸湫犰逑巯艽俅蝤赇鼽糗",xiu:"修秀休宿袖绣臭朽锈羞嗅岫溴庥馐咻髹鸺貅",chu:"出处础初助除储畜触楚厨雏矗橱锄滁躇怵绌搐刍蜍黜杵蹰亍樗憷楮",tuan:"团揣湍疃抟彖",zhui:"追坠缀揣椎锥赘惴隹骓缒",chuan:"传川船穿串喘椽舛钏遄氚巛舡",zhuan:"专转传赚砖撰篆馔啭颛",yuan:"元员院原源远愿园援圆缘袁怨渊苑宛冤媛猿垣沅塬垸鸳辕鸢瑗圜爰芫鼋橼螈眢箢掾",cuan:"窜攒篡蹿撺爨汆镩",chuang:"创床窗闯幢疮怆",zhuang:"装状庄壮撞妆幢桩奘僮戆",chui:"吹垂锤炊椎陲槌捶棰",chun:"春纯醇淳唇椿蠢鹑朐莼肫蝽",zhun:"准屯淳谆肫窀",cu:"促趋趣粗簇醋卒蹴猝蹙蔟殂徂",dun:"吨顿盾敦蹲墩囤沌钝炖盹遁趸砘礅",qu:"区去取曲趋渠趣驱屈躯衢娶祛瞿岖龋觑朐蛐癯蛆苣阒诎劬蕖蘧氍黢蠼璩麴鸲磲",xu:"需许续须序徐休蓄畜虚吁绪叙旭邪恤墟栩絮圩婿戌胥嘘浒煦酗诩朐盱蓿溆洫顼勖糈砉醑",chuo:"辍绰戳淖啜龊踔辶",zu:"组族足祖租阻卒俎诅镞菹",ji:"济机其技基记计系期际及集级几给积极己纪即继击既激绩急奇吉季齐疾迹鸡剂辑籍寄挤圾冀亟寂暨脊跻肌稽忌饥祭缉棘矶汲畸姬藉瘠骥羁妓讥稷蓟悸嫉岌叽伎鲫诘楫荠戟箕霁嵇觊麂畿玑笈犄芨唧屐髻戢佶偈笄跽蒺乩咭赍嵴虮掎齑殛鲚剞洎丌墼蕺彐芰哜",cong:"从丛匆聪葱囱琮淙枞骢苁璁",zong:"总从综宗纵踪棕粽鬃偬枞腙",cou:"凑辏腠楱",cui:"衰催崔脆翠萃粹摧璀瘁悴淬啐隹毳榱",wei:"为位委未维卫围违威伟危味微唯谓伪慰尾魏韦胃畏帷喂巍萎蔚纬潍尉渭惟薇苇炜圩娓诿玮崴桅偎逶倭猥囗葳隗痿猬涠嵬韪煨艉隹帏闱洧沩隈鲔軎",cun:"村存寸忖皴",zuo:"作做座左坐昨佐琢撮祚柞唑嘬酢怍笮阼胙",zuan:"钻纂攥缵躜",da:"大达打答搭沓瘩惮嗒哒耷鞑靼褡笪怛妲",dai:"大代带待贷毒戴袋歹呆隶逮岱傣棣怠殆黛甙埭诒绐玳呔迨",tai:"台太态泰抬胎汰钛苔薹肽跆邰鲐酞骀炱",ta:"他它她拓塔踏塌榻沓漯獭嗒挞蹋趿遢铊鳎溻闼",dan:"但单石担丹胆旦弹蛋淡诞氮郸耽殚惮儋眈疸澹掸膻啖箪聃萏瘅赕",lu:"路六陆录绿露鲁卢炉鹿禄赂芦庐碌麓颅泸卤潞鹭辘虏璐漉噜戮鲈掳橹轳逯渌蓼撸鸬栌氇胪镥簏舻辂垆",tan:"谈探坦摊弹炭坛滩贪叹谭潭碳毯瘫檀痰袒坍覃忐昙郯澹钽锬",ren:"人任认仁忍韧刃纫饪妊荏稔壬仞轫亻衽",jie:"家结解价界接节她届介阶街借杰洁截姐揭捷劫戒皆竭桔诫楷秸睫藉拮芥诘碣嗟颉蚧孑婕疖桀讦疥偈羯袷哜喈卩鲒骱",yan:"研严验演言眼烟沿延盐炎燕岩宴艳颜殷彦掩淹阎衍铅雁咽厌焰堰砚唁焉晏檐蜒奄俨腌妍谚兖筵焱偃闫嫣鄢湮赝胭琰滟阉魇酽郾恹崦芫剡鼹菸餍埏谳讠厣罨",dang:"当党档荡挡宕砀铛裆凼菪谠",tao:"套讨跳陶涛逃桃萄淘掏滔韬叨洮啕绦饕鼗",tiao:"条调挑跳迢眺苕窕笤佻啁粜髫铫祧龆蜩鲦",te:"特忑忒铽慝",de:"的地得德底锝",dei:"得",di:"的地第提低底抵弟迪递帝敌堤蒂缔滴涤翟娣笛棣荻谛狄邸嘀砥坻诋嫡镝碲骶氐柢籴羝睇觌",ti:"体提题弟替梯踢惕剔蹄棣啼屉剃涕锑倜悌逖嚏荑醍绨鹈缇裼",tui:"推退弟腿褪颓蜕忒煺",you:"有由又优游油友右邮尤忧幼犹诱悠幽佑釉柚铀鱿囿酉攸黝莠猷蝣疣呦蚴莸莜铕宥繇卣牖鼬尢蚰侑",dian:"电点店典奠甸碘淀殿垫颠滇癫巅惦掂癜玷佃踮靛钿簟坫阽",tian:"天田添填甜甸恬腆佃舔钿阗忝殄畋栝掭",zhu:"主术住注助属逐宁著筑驻朱珠祝猪诸柱竹铸株瞩嘱贮煮烛苎褚蛛拄铢洙竺蛀渚伫杼侏澍诛茱箸炷躅翥潴邾槠舳橥丶瘃麈疰",nian:"年念酿辗碾廿捻撵拈蔫鲶埝鲇辇黏",diao:"调掉雕吊钓刁貂凋碉鲷叼铫铞",yao:"要么约药邀摇耀腰遥姚窑瑶咬尧钥谣肴夭侥吆疟妖幺杳舀窕窈曜鹞爻繇徭轺铫鳐崾珧",die:"跌叠蝶迭碟爹谍牒耋佚喋堞瓞鲽垤揲蹀",she:"设社摄涉射折舍蛇拾舌奢慑赦赊佘麝歙畲厍猞揲滠",ye:"业也夜叶射野液冶喝页爷耶邪咽椰烨掖拽曳晔谒腋噎揶靥邺铘揲",xie:"些解协写血叶谢械鞋胁斜携懈契卸谐泄蟹邪歇泻屑挟燮榭蝎撷偕亵楔颉缬邂鲑瀣勰榍薤绁渫廨獬躞",zhe:"喆这者着著浙折哲蔗遮辙辄柘锗褶蜇蛰鹧谪赭摺乇磔螫",ding:"定订顶丁鼎盯钉锭叮仃铤町酊啶碇腚疔玎耵",diu:"丢铥",ting:"听庭停厅廷挺亭艇婷汀铤烃霆町蜓葶梃莛",dong:"动东董冬洞懂冻栋侗咚峒氡恫胴硐垌鸫岽胨",tong:"同通统童痛铜桶桐筒彤侗佟潼捅酮砼瞳恸峒仝嗵僮垌茼",zhong:"中重种众终钟忠仲衷肿踵冢盅蚣忪锺舯螽夂",dou:"都斗读豆抖兜陡逗窦渎蚪痘蔸钭篼",du:"度都独督读毒渡杜堵赌睹肚镀渎笃竺嘟犊妒牍蠹椟黩芏髑",duan:"断段短端锻缎煅椴簖",dui:"对队追敦兑堆碓镦怼憝",rui:"瑞兑锐睿芮蕊蕤蚋枘",yue:"月说约越乐跃兑阅岳粤悦曰钥栎钺樾瀹龠哕刖",tun:"吞屯囤褪豚臀饨暾氽",hui:"会回挥汇惠辉恢徽绘毁慧灰贿卉悔秽溃荟晖彗讳诲珲堕诙蕙晦睢麾烩茴喙桧蛔洄浍虺恚蟪咴隳缋哕",wu:"务物无五武午吴舞伍污乌误亡恶屋晤悟吾雾芜梧勿巫侮坞毋诬呜钨邬捂鹜兀婺妩於戊鹉浯蜈唔骛仵焐芴鋈庑鼯牾怃圬忤痦迕杌寤阢",ya:"亚压雅牙押鸭呀轧涯崖邪芽哑讶鸦娅衙丫蚜碣垭伢氩桠琊揠吖睚痖疋迓岈砑",he:"和合河何核盖贺喝赫荷盒鹤吓呵苛禾菏壑褐涸阂阖劾诃颌嗬貉曷翮纥盍",wo:"我握窝沃卧挝涡斡渥幄蜗喔倭莴龌肟硪",en:"恩摁蒽",n:"嗯唔",er:"而二尔儿耳迩饵洱贰铒珥佴鸸鲕",fa:"发法罚乏伐阀筏砝垡珐",quan:"全权券泉圈拳劝犬铨痊诠荃醛蜷颧绻犭筌鬈悛辁畎",fei:"费非飞肥废菲肺啡沸匪斐蜚妃诽扉翡霏吠绯腓痱芾淝悱狒榧砩鲱篚镄",pei:"配培坏赔佩陪沛裴胚妃霈淠旆帔呸醅辔锫",ping:"平评凭瓶冯屏萍苹乒坪枰娉俜鲆",fo:"佛",hu:"和护户核湖互乎呼胡戏忽虎沪糊壶葫狐蝴弧瑚浒鹄琥扈唬滹惚祜囫斛笏芴醐猢怙唿戽槲觳煳鹕冱瓠虍岵鹱烀轷",ga:"夹咖嘎尬噶旮伽尕钆尜",ge:"个合各革格歌哥盖隔割阁戈葛鸽搁胳舸疙铬骼蛤咯圪镉颌仡硌嗝鬲膈纥袼搿塥哿虼",ha:"哈蛤铪",xia:"下夏峡厦辖霞夹虾狭吓侠暇遐瞎匣瑕唬呷黠硖罅狎瘕柙",gai:"改该盖概溉钙丐芥赅垓陔戤",hai:"海还害孩亥咳骸骇氦嗨胲醢",gan:"干感赶敢甘肝杆赣乾柑尴竿秆橄矸淦苷擀酐绀泔坩旰疳澉",gang:"港钢刚岗纲冈杠缸扛肛罡戆筻",jiang:"将强江港奖讲降疆蒋姜浆匠酱僵桨绛缰犟豇礓洚茳糨耩",hang:"行航杭巷夯吭桁沆绗颃",gong:"工公共供功红贡攻宫巩龚恭拱躬弓汞蚣珙觥肱廾",hong:"红宏洪轰虹鸿弘哄烘泓訇蕻闳讧荭黉薨",guang:"广光逛潢犷胱咣桄",qiong:"穷琼穹邛茕筇跫蛩銎",gao:"高告搞稿膏糕镐皋羔锆杲郜睾诰藁篙缟槁槔",hao:"好号毫豪耗浩郝皓昊皋蒿壕灏嚎濠蚝貉颢嗥薅嚆",li:"理力利立里李历例离励礼丽黎璃厉厘粒莉梨隶栗荔沥犁漓哩狸藜罹篱鲤砺吏澧俐骊溧砾莅锂笠蠡蛎痢雳俪傈醴栎郦俚枥喱逦娌鹂戾砬唳坜疠蜊黧猁鬲粝蓠呖跞疬缡鲡鳢嫠詈悝苈篥轹",jia:"家加价假佳架甲嘉贾驾嫁夹稼钾挟拮迦伽颊浃枷戛荚痂颉镓笳珈岬胛袈郏葭袷瘕铗跏蛱恝哿",luo:"啰落罗络洛逻螺锣骆萝裸漯烙摞骡咯箩珞捋荦硌雒椤镙跞瘰泺脶猡倮蠃",ke:"可科克客刻课颗渴壳柯棵呵坷恪苛咳磕珂稞瞌溘轲窠嗑疴蝌岢铪颏髁蚵缂氪骒钶锞",qia:"卡恰洽掐髂袷咭葜",gei:"给",gen:"根跟亘艮哏茛",hen:"很狠恨痕哏",gou:"构购够句沟狗钩拘勾苟垢枸篝佝媾诟岣彀缑笱鞲觏遘",kou:"口扣寇叩抠佝蔻芤眍筘",gu:"股古顾故固鼓骨估谷贾姑孤雇辜菇沽咕呱锢钴箍汩梏痼崮轱鸪牯蛊诂毂鹘菰罟嘏臌觚瞽蛄酤牿鲴",pai:"牌排派拍迫徘湃俳哌蒎",gua:"括挂瓜刮寡卦呱褂剐胍诖鸹栝呙",tou:"钭投头透偷愉骰亠",guai:"怪拐乖",kuai:"会快块筷脍蒯侩浍郐蒉狯哙",guan:"关管观馆官贯冠惯灌罐莞纶棺斡矜倌鹳鳏盥掼涫",wan:"万完晚湾玩碗顽挽弯蔓丸莞皖宛婉腕蜿惋烷琬畹豌剜纨绾脘菀芄箢",ne:"呢哪呐讷疒",gui:"规贵归轨桂柜圭鬼硅瑰跪龟匮闺诡癸鳜桧皈鲑刽晷傀眭妫炅庋簋刿宄匦",jun:"军均俊君峻菌竣钧骏龟浚隽郡筠皲麇捃",jiong:"窘炯迥炅冂扃",jue:"决绝角觉掘崛诀獗抉爵嚼倔厥蕨攫珏矍蹶谲镢鳜噱桷噘撅橛孓觖劂爝",gun:"滚棍辊衮磙鲧绲丨",hun:"婚混魂浑昏棍珲荤馄诨溷阍",guo:"国过果郭锅裹帼涡椁囗蝈虢聒埚掴猓崞蜾呙馘",hei:"黑嘿嗨",kan:"看刊勘堪坎砍侃嵌槛瞰阚龛戡凵莰",heng:"衡横恒亨哼珩桁蘅",mo:"万没么模末冒莫摩墨默磨摸漠脉膜魔沫陌抹寞蘑摹蓦馍茉嘿谟秣蟆貉嫫镆殁耱嬷麽瘼貊貘",peng:"鹏朋彭膨蓬碰苹棚捧亨烹篷澎抨硼怦砰嘭蟛堋",hou:"后候厚侯猴喉吼逅篌糇骺後鲎瘊堠",hua:"化华划话花画滑哗豁骅桦猾铧砉",huai:"怀坏淮徊槐踝",huan:"还环换欢患缓唤焕幻痪桓寰涣宦垸洹浣豢奂郇圜獾鲩鬟萑逭漶锾缳擐",xun:"讯训迅孙寻询循旬巡汛勋逊熏徇浚殉驯鲟薰荀浔洵峋埙巽郇醺恂荨窨蕈曛獯",huang:"黄荒煌皇凰慌晃潢谎惶簧璜恍幌湟蝗磺隍徨遑肓篁鳇蟥癀",nai:"能乃奶耐奈鼐萘氖柰佴艿",luan:"乱卵滦峦鸾栾銮挛孪脔娈",qie:"切且契窃茄砌锲怯伽惬妾趄挈郄箧慊",jian:"建间件见坚检健监减简艰践兼鉴键渐柬剑尖肩舰荐箭浅剪俭碱茧奸歼拣捡煎贱溅槛涧堑笺谏饯锏缄睑謇蹇腱菅翦戬毽笕犍硷鞯牮枧湔鲣囝裥踺搛缣鹣蒹谫僭戋趼楗",nan:"南难男楠喃囡赧腩囝蝻",qian:"前千钱签潜迁欠纤牵浅遣谦乾铅歉黔谴嵌倩钳茜虔堑钎骞阡掮钤扦芊犍荨仟芡悭缱佥愆褰凵肷岍搴箝慊椠",qiang:"强抢疆墙枪腔锵呛羌蔷襁羟跄樯戕嫱戗炝镪锖蜣",xiang:"向项相想乡象响香降像享箱羊祥湘详橡巷翔襄厢镶飨饷缃骧芗庠鲞葙蟓",jiao:"教交较校角觉叫脚缴胶轿郊焦骄浇椒礁佼蕉娇矫搅绞酵剿嚼饺窖跤蛟侥狡姣皎茭峤铰醮鲛湫徼鹪僬噍艽挢敫",zhuo:"着著缴桌卓捉琢灼浊酌拙茁涿镯淖啄濯焯倬擢斫棹诼浞禚",qiao:"桥乔侨巧悄敲俏壳雀瞧翘窍峭锹撬荞跷樵憔鞘橇峤诮谯愀鞒硗劁缲",xiao:"小效销消校晓笑肖削孝萧俏潇硝宵啸嚣霄淆哮筱逍姣箫骁枭哓绡蛸崤枵魈",si:"司四思斯食私死似丝饲寺肆撕泗伺嗣祀厮驷嘶锶俟巳蛳咝耜笥纟糸鸶缌澌姒汜厶兕",kai:"开凯慨岂楷恺揩锴铠忾垲剀锎蒈",jin:"进金今近仅紧尽津斤禁锦劲晋谨筋巾浸襟靳瑾烬缙钅矜觐堇馑荩噤廑妗槿赆衿卺",qin:"亲勤侵秦钦琴禽芹沁寝擒覃噙矜嗪揿溱芩衾廑锓吣檎螓",jing:"经京精境竞景警竟井惊径静劲敬净镜睛晶颈荆兢靖泾憬鲸茎腈菁胫阱旌粳靓痉箐儆迳婧肼刭弪獍",ying:"应营影英景迎映硬盈赢颖婴鹰荧莹樱瑛蝇萦莺颍膺缨瀛楹罂荥萤鹦滢蓥郢茔嘤璎嬴瘿媵撄潆",jiu:"就究九酒久救旧纠舅灸疚揪咎韭玖臼柩赳鸠鹫厩啾阄桕僦鬏",zui:"最罪嘴醉咀蕞觜",juan:"卷捐圈眷娟倦绢隽镌涓鹃鄄蠲狷锩桊",suan:"算酸蒜狻",yun:"员运云允孕蕴韵酝耘晕匀芸陨纭郧筠恽韫郓氲殒愠昀菀狁",qun:"群裙逡麇",ka:"卡喀咖咔咯佧胩",kang:"康抗扛慷炕亢糠伉钪闶",keng:"坑铿吭",kao:"考靠烤拷铐栲尻犒",ken:"肯垦恳啃龈裉",yin:"因引银印音饮阴隐姻殷淫尹荫吟瘾寅茵圻垠鄞湮蚓氤胤龈窨喑铟洇狺夤廴吲霪茚堙",kong:"空控孔恐倥崆箜",ku:"苦库哭酷裤枯窟挎骷堀绔刳喾",kua:"跨夸垮挎胯侉",kui:"亏奎愧魁馈溃匮葵窥盔逵睽馗聩喟夔篑岿喹揆隗傀暌跬蒉愦悝蝰",kuan:"款宽髋",kuang:"况矿框狂旷眶匡筐邝圹哐贶夼诳诓纩",que:"确却缺雀鹊阙瘸榷炔阕悫",kun:"困昆坤捆琨锟鲲醌髡悃阃",kuo:"扩括阔廓蛞",la:"拉落垃腊啦辣蜡喇剌旯砬邋瘌",lai:"来莱赖睐徕籁涞赉濑癞崃疠铼",lan:"兰览蓝篮栏岚烂滥缆揽澜拦懒榄斓婪阑褴罱啉谰镧漤",lin:"林临邻赁琳磷淋麟霖鳞凛拎遴蔺吝粼嶙躏廪檩啉辚膦瞵懔",lang:"浪朗郎廊狼琅榔螂阆锒莨啷蒗稂",liang:"量两粮良辆亮梁凉谅粱晾靓踉莨椋魉墚",lao:"老劳落络牢捞涝烙姥佬崂唠酪潦痨醪铑铹栳耢",mu:"目模木亩幕母牧莫穆姆墓慕牟牡募睦缪沐暮拇姥钼苜仫毪坶",le:"了乐勒肋叻鳓嘞仂泐",lei:"类累雷勒泪蕾垒磊擂镭肋羸耒儡嫘缧酹嘞诔檑",sui:"随岁虽碎尿隧遂髓穗绥隋邃睢祟濉燧谇眭荽",lie:"列烈劣裂猎冽咧趔洌鬣埒捩躐",leng:"冷愣棱楞塄",ling:"领令另零灵龄陵岭凌玲铃菱棱伶羚苓聆翎泠瓴囹绫呤棂蛉酃鲮柃",lia:"俩",liao:"了料疗辽廖聊寥缪僚燎缭撂撩嘹潦镣寮蓼獠钌尥鹩",liu:"流刘六留柳瘤硫溜碌浏榴琉馏遛鎏骝绺镏旒熘鹨锍",lun:"论轮伦仑纶沦抡囵",lv:"率律旅绿虑履吕铝屡氯缕滤侣驴榈闾偻褛捋膂稆",lou:"楼露漏陋娄搂篓喽镂偻瘘髅耧蝼嵝蒌",mao:"贸毛矛冒貌茂茅帽猫髦锚懋袤牦卯铆耄峁瑁蟊茆蝥旄泖昴瞀",long:"龙隆弄垄笼拢聋陇胧珑窿茏咙砻垅泷栊癃",nong:"农浓弄脓侬哝",shuang:"双爽霜孀泷",shu:"术书数属树输束述署熟殊蔬舒疏鼠淑叔暑枢墅俞曙抒竖蜀薯梳戍恕孰沭赎庶漱塾倏澍纾姝菽黍腧秫毹殳疋摅",shuai:"率衰帅摔甩蟀",lve:"略掠锊",ma:"么马吗摩麻码妈玛嘛骂抹蚂唛蟆犸杩",me:"么麽",mai:"买卖麦迈脉埋霾荬劢",man:"满慢曼漫埋蔓瞒蛮鳗馒幔谩螨熳缦镘颟墁鞔嫚",mi:"米密秘迷弥蜜谜觅靡泌眯麋猕谧咪糜宓汨醚嘧弭脒冖幂祢縻蘼芈糸敉",men:"们门闷瞒汶扪焖懑鞔钔",mang:"忙盲茫芒氓莽蟒邙硭漭",meng:"蒙盟梦猛孟萌氓朦锰檬勐懵蟒蜢虻黾蠓艨甍艋瞢礞",miao:"苗秒妙描庙瞄缪渺淼藐缈邈鹋杪眇喵",mou:"某谋牟缪眸哞鍪蛑侔厶",miu:"缪谬",mei:"美没每煤梅媒枚妹眉魅霉昧媚玫酶镁湄寐莓袂楣糜嵋镅浼猸鹛",wen:"文问闻稳温纹吻蚊雯紊瘟汶韫刎璺玟阌",mie:"灭蔑篾乜咩蠛",ming:"明名命鸣铭冥茗溟酩瞑螟暝",na:"内南那纳拿哪娜钠呐捺衲镎肭",nei:"内那哪馁",nuo:"难诺挪娜糯懦傩喏搦锘",ruo:"若弱偌箬",nang:"囊馕囔曩攮",nao:"脑闹恼挠瑙淖孬垴铙桡呶硇猱蛲",ni:"你尼呢泥疑拟逆倪妮腻匿霓溺旎昵坭铌鲵伲怩睨猊",nen:"嫩恁",neng:"能",nin:"您恁",niao:"鸟尿溺袅脲茑嬲",nie:"摄聂捏涅镍孽捻蘖啮蹑嗫臬镊颞乜陧",niang:"娘酿",ning:"宁凝拧泞柠咛狞佞聍甯",nu:"努怒奴弩驽帑孥胬",nv:"女钕衄恧",ru:"入如女乳儒辱汝茹褥孺濡蠕嚅缛溽铷洳薷襦颥蓐",nuan:"暖",nve:"虐疟",re:"热若惹喏",ou:"区欧偶殴呕禺藕讴鸥瓯沤耦怄",pao:"跑炮泡抛刨袍咆疱庖狍匏脬",pou:"剖掊裒",pen:"喷盆湓",pie:"瞥撇苤氕丿",pin:"品贫聘频拼拚颦姘嫔榀牝",se:"色塞瑟涩啬穑铯槭",qing:"情青清请亲轻庆倾顷卿晴氢擎氰罄磬蜻箐鲭綮苘黥圊檠謦",zan:"赞暂攒堑昝簪糌瓒錾趱拶",shao:"少绍召烧稍邵哨韶捎勺梢鞘芍苕劭艄筲杓潲",sao:"扫骚嫂梢缫搔瘙臊埽缲鳋",sha:"沙厦杀纱砂啥莎刹杉傻煞鲨霎嗄痧裟挲铩唼歃",xuan:"县选宣券旋悬轩喧玄绚渲璇炫萱癣漩眩暄煊铉楦泫谖痃碹揎镟儇",ran:"然染燃冉苒髯蚺",rang:"让壤攘嚷瓤穰禳",rao:"绕扰饶娆桡荛",reng:"仍扔",ri:"日",rou:"肉柔揉糅鞣蹂",ruan:"软阮朊",run:"润闰",sa:"萨洒撒飒卅仨脎",suo:"所些索缩锁莎梭琐嗦唆唢娑蓑羧挲桫嗍睃",sai:"思赛塞腮噻鳃",shui:"说水税谁睡氵",sang:"桑丧嗓搡颡磉",sen:"森",seng:"僧",shai:"筛晒",shang:"上商尚伤赏汤裳墒晌垧觞殇熵绱",xing:"行省星腥猩惺兴刑型形邢饧醒幸杏性姓陉荇荥擤悻硎",shou:"收手受首售授守寿瘦兽狩绶艏扌",shuo:"说数硕烁朔铄妁槊蒴搠",su:"速素苏诉缩塑肃俗宿粟溯酥夙愫簌稣僳谡涑蔌嗉觫",shua:"刷耍唰",shuan:"栓拴涮闩",shun:"顺瞬舜吮",song:"送松宋讼颂耸诵嵩淞怂悚崧凇忪竦菘",sou:"艘搜擞嗽嗖叟馊薮飕嗾溲锼螋瞍",sun:"损孙笋荪榫隼狲飧",teng:"腾疼藤滕誊",tie:"铁贴帖餮萜",tu:"土突图途徒涂吐屠兔秃凸荼钍菟堍酴",wai:"外歪崴",wang:"王望往网忘亡旺汪枉妄惘罔辋魍",weng:"翁嗡瓮蓊蕹",zhua:"抓挝爪",yang:"样养央阳洋扬杨羊详氧仰秧痒漾疡泱殃恙鸯徉佯怏炀烊鞅蛘",xiong:"雄兄熊胸凶匈汹芎",yo:"哟唷",yong:"用永拥勇涌泳庸俑踊佣咏雍甬镛臃邕蛹恿慵壅痈鳙墉饔喁",za:"杂扎咱砸咋匝咂拶",zai:"在再灾载栽仔宰哉崽甾",zao:"造早遭枣噪灶燥糟凿躁藻皂澡蚤唣",zei:"贼",zen:"怎谮",zeng:"增曾综赠憎锃甑罾缯",zhei:"这",zou:"走邹奏揍诹驺陬楱鄹鲰",zhuai:"转拽",zun:"尊遵鳟樽撙",dia:"嗲",nou:"耨"})};const Is={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},zs={class:"flex justify-between items-start mb-2"},Ls={class:"relative flex flex-1 w-full"},$s={for:"search-field",class:"sr-only"},Bs={class:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"},Ms=["placeholder"],Rs={key:1,class:"relative",style:{"max-width":"60%",margin:"auto"}},Ps=["onClick"],Ns={key:0,class:"flex justify-between items-start my-1 h-14",style:{"max-width":"100%"}},Os=["onClick"],js={class:"w-full flex flex-grow my-2 items-start"},Us=["onClick"],qs={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-full"},Hs=["src"],Ws={class:"text-white text-sm"},Vs={class:"flex-grow flex flex-col"},Gs={class:"flex items-center font-medium text-base text-gray-600 dark:text-gray-400 my-1"},Xs={class:"line-clamp-1 overflow-hidden text-ellipsis block flex-grow whitespace-nowrap"},Zs={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 my-1"},Ys=me({__name:"AppDialog",props:{visible:{type:Boolean}},setup(e){const t=e,{isMobile:u}=Je(),n=$e();function r(){n.updateAppDialog(!1)}const i=Ke(),o=Go(),s=j(""),a=M(()=>o.catId),l=j([]),c=j([]),d=M(()=>o.mineApps),h=j([]),p=j(0);function f(D){return d.value.some(C=>C.appId===D.id)}async function b(){var C;const D=await Xo();l.value=(C=D==null?void 0:D.data)==null?void 0:C.rows.map(E=>(E.loading=!1,E)),c.value=l.value}const k=M(()=>{if(s.value){const D=s.value.toLowerCase();return l.value.filter(C=>Ts.match(C.name,D))}return p.value===0?l.value:l.value.filter(D=>D.catId===p.value)});async function v(D){D.loading=!0;try{const C=await Qo({appId:D.id});i.success(C.data),await o.queryMineApps(),D.loading=!1}catch{D.loading=!1}}async function y(D){const C=Number(D.id);r(),Yo.replace({path:"/chat",query:{appId:C}})}async function x(){var E;const D=await Zo(),C={id:0,name:R("app.allCategories")};h.value=[C,...(E=D==null?void 0:D.data)==null?void 0:E.rows]}function _(D){p.value=D}ke(a,D=>{D?c.value=l.value.filter(C=>C.catId===D):c.value=l.value});function A(){const D=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return D[Math.floor(Math.random()*D.length)]}const T=j(null);function I(){T.value&&T.value.scrollBy({left:-100,behavior:"smooth"})}function w(){T.value&&T.value.scrollBy({left:100,behavior:"smooth"})}return Fe(()=>{x(),b()}),(D,C)=>(L(),ne(Wu,{name:"modal-fade"},{default:pe(()=>[t.visible?(L(),P("div",Is,[m("div",{class:Z(["bg-white dark:bg-gray-900 shadow-lg flex flex-col",[F(u)?"w-full h-full px-2 py-5":"w-[80vw] min-h-[60vh] max-h-[80vh] p-6 rounded-lg"]])},[m("div",zs,[m("div",{class:Z(["mx-1 flex rounded-xl shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-500 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent resize-none dark:focus:ring-gray-600 dark:ring-gray-600 dark:bg-gray-800",[F(u)?"w-full mr-8":"w-[40%]"]])},[m("div",Ls,[m("label",$s,N(F(R)("app.searchAppNameQuickFind")),1),m("div",Bs,[W(F(Cs),{theme:"outline",size:"24",class:"text-gray-400"})]),ae(m("input",{id:"search-field","onUpdate:modelValue":C[0]||(C[0]=E=>s.value=E),class:"z-1 w-full rounded-xl dark:bg-gray-800 pr-3 py-2 font-normal outline-0 delay-100 text-base pl-12 dark:text-gray-400",placeholder:F(R)("app.searchAppNameQuickFind"),type:"search",name:"search"},null,8,Ms),[[_e,s.value]])])],2),F(u)?V("",!0):(L(),ne(F(hs),{key:0,size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:I})),F(u)?V("",!0):(L(),P("div",Rs,[m("div",{ref_key:"scrollContainer",ref:T,class:"flex justify-between items-center scrollbar-hide overflow-x-auto",style:{"max-width":"95%",margin:"auto"}},[(L(!0),P(Ye,null,it(h.value,(E,S)=>(L(),P("div",{key:S,onClick:z=>_(E.id),class:Z([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400":p.value===E.id,"text-gray-500":p.value!==E.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 flex-none"])},N(E.name),11,Ps))),128))],512)])),F(u)?V("",!0):(L(),ne(F(gs),{key:2,size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:w})),W(F(_t),{size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300 ml-3",onClick:r})]),F(u)?(L(),P("div",Ns,[m("div",{ref_key:"scrollContainer",ref:T,class:"flex justify-between items-center overflow-x-auto scrollbar-hide"},[(L(!0),P(Ye,null,it(h.value,(E,S)=>(L(),P("div",{key:S,onClick:z=>_(E.id),class:Z([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400":p.value===E.id,"text-gray-500":p.value!==E.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 flex-none"])},N(E.name),11,Os))),128))],512)])):V("",!0),m("div",js,[W(os,{name:"list",tag:"div",class:Z(["w-full grid overflow-y-auto",[F(u)?"grid-cols-1 max-h-[85vh]":"h-[60vh] grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-3 gap-3"]]),style:{"align-content":"start"}},{default:pe(()=>[(L(!0),P(Ye,null,it(k.value,E=>(L(),P("div",{key:E.id,onClick:S=>y(E),class:"custom-card cursor-pointer h-[7rem] flex items-center gap-5 rounded-xl bg-gray-50 px-3 py-3 mx-2 mb-3 hover:shadow-md dark:bg-gray-800 dark:hover:bg-gray-700"},[E.coverImg?(L(),P("div",qs,[m("img",{src:E.coverImg,class:"rounded-full w-16 h-16",alt:"app-image"},null,8,Hs)])):(L(),P("div",{key:1,class:Z([A(),"flex-shrink-0 dark:ring-gray-400 rounded-full w-16 h-16 flex items-center justify-center"])},[m("span",Ws,N(E.name.slice(0,3)),1)],2)),m("div",Vs,[m("div",Gs,[m("span",Xs,N(E.name),1),W(F(As),{theme:f(E)?"filled":"outline",size:"20",fill:f(E)?"#fde68a":"#e5e7eb",class:"cursor-pointer",onClick:kn(S=>v(E),["stop"])},null,8,["theme","fill","onClick"])]),m("span",Zs,N(E.des),1)])],8,Us))),128))]),_:1},8,["class"])])],2)])):V("",!0)]),_:1}))}});const Qs=Vt(Ys,[["__scopeId","data-v-3044efeb"]]);const Js={key:0,class:"fixed inset-0 z-50 px-2 flex items-center justify-center bg-black bg-opacity-50"},Ks={class:"bg-white dark:bg-gray-900 p-4 rounded-lg shadow-lg w-full max-w-3xl max-h-[80vh] flex flex-col relative"},ea=m("div",{class:"flex justify-between items-center mb-3"},[m("span",{class:"text-xl"},"合理合规须知")],-1),ta=m("div",{class:"flex-1 overflow-y-auto"},[m("p",null,"请合理合规使用,请勿咨询敏感信息或使用敏感词生成图片。"),m("p",null," 多次触发平台风控,将记录【账号/IP】等信息并禁止使用,保留向有关部门提交相关记录的权利。 ")],-1),ua={class:"flex justify-end mt-3"},na=["disabled"],ra={key:0},ia={key:1},oa=me({__name:"BadWordsDialog",props:{visible:{type:Boolean}},setup(e){const t=e,u=Be(),n=$e();M(()=>u.globalConfig);const r=j(15),i=j(!1);function o(){const a=setInterval(()=>{r.value>0?r.value-=1:(i.value=!0,clearInterval(a))},1e3)}function s(){i.value&&(n.UpdateBadWordsDialog(!1),r.value=15,i.value=!1)}return ke(()=>t.visible,a=>{a&&o()},{immediate:!0}),t.visible&&o(),(a,l)=>t.visible?(L(),P("div",Js,[m("div",Ks,[ea,ta,m("div",ua,[m("button",{disabled:!i.value,onClick:s,class:"px-4 py-2 shadow-sm bg-primary-600 text-white rounded-md hover:bg-primary-500 disabled:bg-gray-400"},[i.value?(L(),P("span",ra,"已知晓")):(L(),P("span",ia,"请等待 "+N(r.value)+" 秒",1))],8,na)])])])):V("",!0)}}),sa={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},aa=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),la=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1),ca=[aa,la],da=me({name:"CloseOutline",render:function(t,u){return L(),P("svg",sa,ca)}}),fa={class:"p-5 bg-white rounded-lg shadow-md dark:bg-slate-800 relative"},ha=m("div",{class:"flex items-start justify-start text-xl font-bold mb-5 dark:text-gray-300"},[m("span",{class:"ml-2"},"绑定微信账户")],-1),ga={class:"text-center font-bold text-sm py-5 dark:text-gray-400"},pa={class:"inline-block text-red-500"},ma={class:"my-4 flex justify-center relative"},ba=m("span",{class:"block text-center text-base py-4 dark:text-gray-400"}," 打开微信扫码绑定账户 ",-1),ya=me({__name:"BindWx",props:{visible:{type:Boolean}},setup(e){const t=$e();let u;const n=j(),r=Be(),i=j(!1),o=j(""),s=j(""),a=Ke();async function l(){const b=await Po();b.success&&(s.value=b.data,c())}async function c(){const b=await Jr({sceneStr:s.value});b.success&&(i.value=!0,o.value=b.data,u=setInterval(()=>{d()},1e3))}async function d(){if(!s.value)return;const b=await No({sceneStr:s.value});if(b.data){clearInterval(u);const{status:k,msg:v}=b.data;k?a.success(v):a.error(v),r.getUserInfo(),t.updateBindwxDialog(!1)}}function h(){var b;clearInterval(u),l(),(b=n.value)==null||b.reset()}function p(){l()}function f(){clearInterval(u),o.value="",s.value="",i.value=!1}return(b,k)=>(L(),ne(F(ms),{show:b.visible,style:{width:"90%","max-width":"700px"},"on-after-enter":p,"on-after-leave":f},{default:pe(()=>[m("div",fa,[m("div",{class:"absolute top-3 right-3 cursor-pointer",onClick:k[0]||(k[0]=v=>F(t).updateBindwxDialog(!1))},[W(F(bs),{size:"20",color:"#0e7a0d"},{default:pe(()=>[W(F(da))]),_:1})]),ha,m("div",ga,[m("p",null,[oe(" 请在 "),m("span",pa,[W(F(ri),{ref_key:"countdownRef",ref:n,active:i.value,duration:120*1e3,"on-finish":h},null,8,["active"])]),oe(" 时间内完成绑定 ")])]),m("div",ma,[o.value?(L(),ne(F(ii),{key:0,"preview-disabled":"",width:"230",src:o.value},null,8,["src"])):(L(),ne(F(Hn),{key:1,height:"230px",width:"230px"})),o.value?V("",!0):(L(),ne(F(Vu),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"}))]),ba])]),_:1},8,["show"]))}});function ci(e){return Kr({url:"/order/buy",data:e})}function xa(e){return Un({url:"/order/queryByOrderId",data:e})}const va={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},_a={class:"flex justify-between items-center p-3"},ka={class:"text-xl font-bold"},wa={class:"w-full overflow-y-auto p-4 mx-auto m-2 grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4"},Ca=["onClick"],Aa={class:"relative"},Ea={class:"text-lg font-semibold leading-8"},Da={key:0,class:"flex justify-between items-end min-h-28"},Sa={class:"text-sm font-bold mr-1 w-[120px]"},Fa={class:"font-bold"},Ta={key:1,class:"flex justify-between items-end min-h-28"},Ia={class:"text-sm font-bold mr-1 w-[120px]"},za={class:"font-bold"},La={key:2,class:"flex justify-between items-end min-h-28"},$a={class:"text-sm font-bold mr-1 w-[120px]"},Ba={class:"font-bold"},Ma={class:"mt-6 flex items-baseline gap-x-1"},Ra={class:"text-4xl font-bold tracking-tight"},Pa={class:"mt-6 flex flex-col gap-4"},Na=["onClick"],Oa={role:"list",class:"mt-8 space-y-3 text-sm leading-6 text-gray-600 dark:text-gray-400"},ja=me({__name:"GoodsDialog",props:{visible:{type:Boolean}},setup(e){const t=Be(),u=$e(),n=j(!0),r=j([]),i=Ke();ys();const o=j(!1),s=M(()=>t.globalConfig.model3Name||R("goods.basicModelQuota")),{isMobile:a}=Je(),l=M(()=>t.globalConfig.model4Name)||R("goods.advancedModelQuota"),c=M(()=>t.globalConfig.drawMjName)||R("goods.drawingQuota"),d=M(()=>Number(t.globalConfig.isHideModel3Point)===1),h=M(()=>Number(t.globalConfig.isHideModel4Point)===1),p=M(()=>Number(t.globalConfig.isHideDrawMjPoint)===1),f=M(()=>{var C;const D=window.navigator.userAgent.toLowerCase();return D.match(/MicroMessenger/i)&&((C=D==null?void 0:D.match(/MicroMessenger/i))==null?void 0:C[0])==="micromessenger"}),b=M(()=>{const{payHupiStatus:D,payEpayStatus:C,payMpayStatus:E,payWechatStatus:S,payLtzfStatus:z}=t.globalConfig;return Number(S)===1?"wechat":Number(E)===1?"mpay":Number(D)===1?"hupi":Number(C)===1?"epay":Number(z)===1?"ltzf":null}),k=M(()=>{const{payEpayChannel:D,payMpayChannel:C}=t.globalConfig;return b.value==="mpay"?C?JSON.parse(C):[]:b.value==="epay"?D?JSON.parse(D):[]:b.value==="wechat"?["wxpay"]:b.value==="hupi"?["wxpay"]:b.value==="ltzf"?["wxpay"]:[]});Fe(()=>{_(),f.value&&v()}),qn(()=>{r.value=[],n.value=!0});async function v(){const D=window.location.href.replace(/#.*$/,""),C=await Oo({url:D}),{appId:E,nonceStr:S,timestamp:z,signature:$}=C.data;E&&(wx.config({debug:!1,appId:E,timestamp:z,nonceStr:S,signature:$,jsApiList:["chooseWXPay"]}),wx.ready(()=>{}),wx.error(()=>{}))}function y(D){const{appId:C,timeStamp:E,nonceStr:S,package:z,signType:$,paySign:B}=D;WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:C,timeStamp:E,nonceStr:S,package:z,signType:$,paySign:B},U=>{U.err_msg==="get_brand_wcpay_request:ok"?(i.success(R("goods.purchaseSuccess")),setTimeout(()=>{t.getUserInfo(),u.updateGoodsDialog(!1)},500)):i.success(R("goods.paymentNotSuccessful"))})}async function x(D){if(o.value)return;function C(){const E=window.navigator.userAgent.toLowerCase(),S=E.indexOf("micromessenger")!==-1,z=E.indexOf("windows")===-1&&E.indexOf("macintosh")===-1;return S&&z}if(C()&&b.value==="wechat"&&Number(t.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",y,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",y),document.attachEvent("onWeixinJSBridgeReady",y));else{const E=await ci({goodsId:D.id,payType:"jsapi"}),{success:S,data:z}=E;S&&y(z)}return}u.updateOrderInfo({pkgInfo:D}),u.updateGoodsDialog(!1),u.updatePayDialog(!0)}async function _(){n.value=!0;try{const D=await _s({status:1,size:30});r.value=D.data.rows,n.value=!1}catch{n.value=!1}}const A=j(""),T=D=>{A.value=D.name};function I(D){if(!k.value.length){i.warning(R("goods.paymentNotEnabled"));return}x(D)}function w(D){return D.split(` +var Mo=Object.defineProperty;var Ro=(e,t,u)=>t in e?Mo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[t]=u;var re=(e,t,u)=>(Ro(e,typeof t!="symbol"?t+"":t,u),u),an=(e,t,u)=>{if(!t.has(e))throw TypeError("Cannot "+u)};var g=(e,t,u)=>(an(e,t,"read from private field"),u?u.call(e):t.get(e)),G=(e,t,u)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,u)},H=(e,t,u,n)=>(an(e,t,"write to private field"),n?n.call(e,u):t.set(e,u),u);var vu=(e,t,u,n)=>({set _(r){H(e,t,r,u)},get _(){return g(e,t,n)}}),O=(e,t,u)=>(an(e,t,"access private method"),u);import{f as Po,a as Jr,b as No,c as Oo,d as jo,e as Uo,g as qo,h as Ho,i as Wo,j as Vo}from"./user-3d98b148.js";import{u as Je}from"./useBasicLayout-18dd2ca5.js";import{u as $e,a as Go,f as Xo,b as Zo,t as R,r as Yo,c as Qo,d as Be,p as Kr,g as Un,e as Jo,h as Ko,i as es,_ as ts,j as ei,s as ti,k as us,l as ns,m as rs,n as is}from"./index-40baf14c.js";import{W,d as me,r as j,e as M,w as ke,f as Fe,U as ne,V as pe,z as Wu,R as L,S as P,a2 as m,a3 as Z,L as F,a4 as N,k as ae,a5 as _e,a6 as V,F as Ye,a7 as it,a8 as kn,A as os,c as oe,o as qn,H as nt,a9 as tu,n as uu,a as we,p as at,t as ui,x as Bu,G as ss,aa as as,ab as ls,ac as cs,O as ds,ad as fs}from"./vue-c19408e5.js";import{I as ni,L as hs,R as gs,C as _t,a as ps}from"./Right-153af9c5.js";import{e as Ke,p as ms,q as bs,r as ri,s as ii,t as Hn,v as Vu,d as ys,w as Jt,x as xs,y as oi,i as si,z as vs}from"./naive-ui-64ac446a.js";import{_ as Vt}from"./_plugin-vue_export-helper-c27b6911.js";import{f as _s}from"./crami-173ca461.js";import{t as ks,a as ws}from"./vueuse-motion-563da5fd.js";const Cs=ni("search",!0,function(e){return W("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[W("path",{d:"M21 38C30.3888 38 38 30.3888 38 21C38 11.6112 30.3888 4 21 4C11.6112 4 4 11.6112 4 21C4 30.3888 11.6112 38 21 38Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null),W("path",{d:"M26.657 14.3431C25.2093 12.8954 23.2093 12 21.0001 12C18.791 12 16.791 12.8954 15.3433 14.3431",stroke:e.colors[2],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null),W("path",{d:"M33.2216 33.2217L41.7069 41.707",stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linecap":e.strokeLinecap,"stroke-linejoin":e.strokeLinejoin},null)])}),As=ni("star",!1,function(e){return W("svg",{width:e.size,height:e.size,viewBox:"0 0 48 48",fill:"none"},[W("path",{d:"M23.9986 5L17.8856 17.4776L4 19.4911L14.0589 29.3251L11.6544 43L23.9986 36.4192L36.3454 43L33.9586 29.3251L44 19.4911L30.1913 17.4776L23.9986 5Z",fill:e.colors[1],stroke:e.colors[0],"stroke-width":e.strokeWidth,"stroke-linejoin":e.strokeLinejoin},null)])});function Es(e,t,u){return(t=function(n){var r=function(i,o){if(typeof i!="object"||!i)return i;var s=i[Symbol.toPrimitive];if(s!==void 0){var a=s.call(i,o||"default");if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(i)}(n,"string");return typeof r=="symbol"?r:r+""}(t))in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u,e}var zt=[],ai={},cr={};function Ds(e){for(var t=[],u=e.length,n=[],r=0;u>=r;r++)n.push(!0);return li(0,e,[],t,n),t}function li(e,t,u,n,r){var i=t.length;if(e!==i)for(var o=function(){var a=t.substring(e,s+1),l=!1;if(zt.some(function(h){return h.indexOf(a)===0})&&!t[s+1]&&r[s+1]){if(a.length===1)u.push(a);else{var c=[];zt.forEach(function(h){h.indexOf(a)===0&&c.push(h)}),u.push(c)}l=!0}else zt.indexOf(a)!==-1&&r[s+1]&&(u.push(a),l=!0);if(l){var d=n.length;li(s+1,t,u,n,r),n.length===d&&(r[s+1]=!1),u.pop()}},s=e;i>s;s++)o();else n.push(u.join(" "))}function Ss(e,t,u,n){if(!e)return!1;var r=e.split(" ");return r.forEach(function(i){i.length>0&&n&&r.push(i.charAt(0))}),u?r.some(function(i){return i.indexOf(t)===0}):r.indexOf(t)!==-1}function Fs(e,t){if(!e||!t)return!1;e=e.toLowerCase(),t=t.replace(/\s+/g,"").toLowerCase();var u=e.indexOf(t);if(u!==-1)return[u,u+t.length-1];var n=dr(e.split(""),[t.split("")],t);if(n)return n;var r,i,o=function(s){for(var a=[],l=0,c=s.length;c>l;l++){var d=s.charAt(l);a.push(ai[d]||d)}return a}(e);return dr(o,cr[t]||(i=[],Ds(r=t).forEach(function(s){var a=s.split(" "),l=a.length-1;a[l].indexOf(",")?a[l].split(",").forEach(function(c){a.splice(l,1,c),i.push(JSON.parse(JSON.stringify(a)))}):i.push(a)}),i.length!==0&&i[0].length===r.length||i.push(r.split("")),cr=Es({},r,i),i),t)}function dr(e,t,u){for(var n=0;e.length>n;n++)for(var r=0;t.length>r;r++){var i=t[r],o=i.length,s=o===u.length,a=!0,l=0,c=0,d=0;if(e.length>=o){for(;i.length>l;l++)if(l===0&&e[n+l+c]===" ")c+=1,l-=1;else if(e[n+l+d]===" ")d+=1,l-=1;else if(!Ss(e[n+l+d],i[l],!e[n+l+1]||!i[l+1],s)){a=!1;break}if(a)return[n+c,d+n+l-1]}}return!1}var Ts={match:function(e){var t={},u=["ju","jun","jue","juan","qu","qun","que","xuan","xu","xue","yu","yuan","yue","yun","nve","lve"],n=["lv","lve","nv","nve"];return Object.keys(e).forEach(function(r){if(t[r]=e[r],zt.push(r),u.includes(r)){var i=(o=r).indexOf("u")!==-1?o.replace("u","v"):o.replace("v","u");t[i]=e[r],zt.push(i)}var o;if(n.includes(r)){var s=r.replace("v","ü");t[s]=e[r],zt.push(s)}}),ai=function(r){var i={};for(var o in r)for(var s=r[o],a=0,l=s.length;l>a;a++)i[s[a]]=i[s[a]]?i[s[a]]+" "+o:o;return i}(t),Fs}({a:"阿啊呵腌嗄吖锕",e:"额阿俄恶鹅遏鄂厄饿峨扼娥鳄哦蛾噩愕讹锷垩婀鹗萼谔莪腭锇颚呃阏屙苊轭",ai:"爱埃艾碍癌哀挨矮隘蔼唉皑哎霭捱暧嫒嗳瑷嗌锿砹",ei:"诶",xi:"系西席息希习吸喜细析戏洗悉锡溪惜稀袭夕洒晰昔牺腊烯熙媳栖膝隙犀蹊硒兮熄曦禧嬉玺奚汐徙羲铣淅嘻歙熹矽蟋郗唏皙隰樨浠忾蜥檄郄翕阋鳃舾屣葸螅咭粞觋欷僖醯鼷裼穸饩舄禊诶菥蓰",yi:"一以已意议义益亿易医艺食依移衣异伊仪宜射遗疑毅谊亦疫役忆抑尾乙译翼蛇溢椅沂泄逸蚁夷邑怡绎彝裔姨熠贻矣屹颐倚诣胰奕翌疙弈轶蛾驿壹猗臆弋铱旖漪迤佚翊诒怿痍懿饴峄揖眙镒仡黟肄咿翳挹缢呓刈咦嶷羿钇殪荑薏蜴镱噫癔苡悒嗌瘗衤佾埸圯舣酏劓",an:"安案按岸暗鞍氨俺胺铵谙庵黯鹌桉埯犴揞厂广",han:"厂汉韩含旱寒汗涵函喊憾罕焊翰邯撼瀚憨捍酣悍鼾邗颔蚶晗菡旰顸犴焓撖",ang:"昂仰盎肮",ao:"奥澳傲熬凹鳌敖遨鏖袄坳翱嗷拗懊岙螯骜獒鏊艹媪廒聱",wa:"瓦挖娃洼袜蛙凹哇佤娲呙腽",yu:"于与育余预域予遇奥语誉玉鱼雨渔裕愈娱欲吁舆宇羽逾豫郁寓吾狱喻御浴愉禹俞邪榆愚渝尉淤虞屿峪粥驭瑜禺毓钰隅芋熨瘀迂煜昱汩於臾盂聿竽萸妪腴圄谕觎揄龉谀俣馀庾妤瘐鬻欤鹬阈嵛雩鹆圉蜮伛纡窬窳饫蓣狳肀舁蝓燠",niu:"牛纽扭钮拗妞忸狃",o:"哦噢喔",ba:"把八巴拔伯吧坝爸霸罢芭跋扒叭靶疤笆耙鲅粑岜灞钯捌菝魃茇",pa:"怕帕爬扒趴琶啪葩耙杷钯筢",pi:"被批副否皮坏辟啤匹披疲罢僻毗坯脾譬劈媲屁琵邳裨痞癖陂丕枇噼霹吡纰砒铍淠郫埤濞睥芘蚍圮鼙罴蜱疋貔仳庀擗甓陴",bi:"比必币笔毕秘避闭佛辟壁弊彼逼碧鼻臂蔽拂泌璧庇痹毙弼匕鄙陛裨贲敝蓖吡篦纰俾铋毖筚荸薜婢哔跸濞秕荜愎睥妣芘箅髀畀滗狴萆嬖襞舭",bai:"百白败摆伯拜柏佰掰呗擘捭稗",bo:"波博播勃拨薄佛伯玻搏柏泊舶剥渤卜驳簿脖膊簸菠礴箔铂亳钵帛擘饽跛钹趵檗啵鹁擗踣",bei:"北被备倍背杯勃贝辈悲碑臂卑悖惫蓓陂钡狈呗焙碚褙庳鞴孛鹎邶鐾",ban:"办版半班般板颁伴搬斑扮拌扳瓣坂阪绊钣瘢舨癍",pan:"判盘番潘攀盼拚畔胖叛拌蹒磐爿蟠泮袢襻丬",bin:"份宾频滨斌彬濒殡缤鬓槟摈膑玢镔豳髌傧",bang:"帮邦彭旁榜棒膀镑绑傍磅蚌谤梆浜蒡",pang:"旁庞乓磅螃彷滂逄耪",beng:"泵崩蚌蹦迸绷甭嘣甏堋",bao:"报保包宝暴胞薄爆炮饱抱堡剥鲍曝葆瀑豹刨褒雹孢苞煲褓趵鸨龅勹",bu:"不部步布补捕堡埔卜埠簿哺怖钚卟瓿逋晡醭钸",pu:"普暴铺浦朴堡葡谱埔扑仆蒲曝瀑溥莆圃璞濮菩蹼匍噗氆攵镨攴镤",mian:"面棉免绵缅勉眠冕娩腼渑湎沔黾宀眄",po:"破繁坡迫颇朴泊婆泼魄粕鄱珀陂叵笸泺皤钋钷",fan:"反范犯繁饭泛翻凡返番贩烦拚帆樊藩矾梵蕃钒幡畈蘩蹯燔",fu:"府服副负富复福夫妇幅付扶父符附腐赴佛浮覆辅傅伏抚赋辐腹弗肤阜袱缚甫氟斧孚敷俯拂俘咐腑孵芙涪釜脯茯馥宓绂讣呋罘麸蝠匐芾蜉跗凫滏蝮驸绋蚨砩桴赙菔呒趺苻拊阝鲋怫稃郛莩幞祓艴黻黼鳆",ben:"本奔苯笨夯贲锛畚坌",feng:"风丰封峰奉凤锋冯逢缝蜂枫疯讽烽俸沣酆砜葑唪",bian:"变便边编遍辩鞭辨贬匾扁卞汴辫砭苄蝙鳊弁窆笾煸褊碥忭缏",pian:"便片篇偏骗翩扁骈胼蹁谝犏缏",zhen:"镇真针圳振震珍阵诊填侦臻贞枕桢赈祯帧甄斟缜箴疹砧榛鸩轸稹溱蓁胗椹朕畛浈",biao:"表标彪镖裱飚膘飙镳婊骠飑杓髟鳔灬瘭",piao:"票朴漂飘嫖瓢剽缥殍瞟骠嘌莩螵",huo:"和活或货获火伙惑霍祸豁嚯藿锪蠖钬耠镬夥灬劐攉",bie:"别鳖憋瘪蹩",min:"民敏闽闵皿泯岷悯珉抿黾缗玟愍苠鳘",fen:"分份纷奋粉氛芬愤粪坟汾焚酚吩忿棼玢鼢瀵偾鲼",bing:"并病兵冰屏饼炳秉丙摒柄槟禀枋邴冫",geng:"更耕颈庚耿梗埂羹哽赓绠鲠",fang:"方放房防访纺芳仿坊妨肪邡舫彷枋鲂匚钫",xian:"现先县见线限显险献鲜洗宪纤陷闲贤仙衔掀咸嫌掺羡弦腺痫娴舷馅酰铣冼涎暹籼锨苋蚬跹岘藓燹鹇氙莶霰跣猃彡祆筅",fou:"不否缶",ca:"拆擦嚓礤",cha:"查察差茶插叉刹茬楂岔诧碴嚓喳姹杈汊衩搽槎镲苴檫馇锸猹",cai:"才采财材菜彩裁蔡猜踩睬",can:"参残餐灿惨蚕掺璨惭粲孱骖黪",shen:"信深参身神什审申甚沈伸慎渗肾绅莘呻婶娠砷蜃哂椹葚吲糁渖诜谂矧胂",cen:"参岑涔",san:"三参散伞叁糁馓毵",cang:"藏仓苍沧舱臧伧",zang:"藏脏葬赃臧奘驵",chen:"称陈沈沉晨琛臣尘辰衬趁忱郴宸谌碜嗔抻榇伧谶龀肜",cao:"草操曹槽糙嘈漕螬艚屮",ce:"策测册侧厕栅恻",ze:"责则泽择侧咋啧仄箦赜笮舴昃迮帻",zhai:"债择齐宅寨侧摘窄斋祭翟砦瘵哜",dao:"到道导岛倒刀盗稻蹈悼捣叨祷焘氘纛刂帱忉",ceng:"层曾蹭噌",zha:"查扎炸诈闸渣咋乍榨楂札栅眨咤柞喳喋铡蚱吒怍砟揸痄哳齄",chai:"差拆柴钗豺侪虿瘥",ci:"次此差词辞刺瓷磁兹慈茨赐祠伺雌疵鹚糍呲粢",zi:"资自子字齐咨滋仔姿紫兹孜淄籽梓鲻渍姊吱秭恣甾孳訾滓锱辎趑龇赀眦缁呲笫谘嵫髭茈粢觜耔",cuo:"措错磋挫搓撮蹉锉厝嵯痤矬瘥脞鹾",chan:"产单阐崭缠掺禅颤铲蝉搀潺蟾馋忏婵孱觇廛谄谗澶骣羼躔蒇冁",shan:"山单善陕闪衫擅汕扇掺珊禅删膳缮赡鄯栅煽姗跚鳝嬗潸讪舢苫疝掸膻钐剡蟮芟埏彡骟",zhan:"展战占站崭粘湛沾瞻颤詹斩盏辗绽毡栈蘸旃谵搌",xin:"新心信辛欣薪馨鑫芯锌忻莘昕衅歆囟忄镡",lian:"联连练廉炼脸莲恋链帘怜涟敛琏镰濂楝鲢殓潋裢裣臁奁莶蠊蔹",chang:"场长厂常偿昌唱畅倡尝肠敞倘猖娼淌裳徜昶怅嫦菖鲳阊伥苌氅惝鬯",zhang:"长张章障涨掌帐胀彰丈仗漳樟账杖璋嶂仉瘴蟑獐幛鄣嫜",chao:"超朝潮炒钞抄巢吵剿绰嘲晁焯耖怊",zhao:"着照招找召朝赵兆昭肇罩钊沼嘲爪诏濯啁棹笊",zhou:"调州周洲舟骤轴昼宙粥皱肘咒帚胄绉纣妯啁诌繇碡籀酎荮",che:"车彻撤尺扯澈掣坼砗屮",ju:"车局据具举且居剧巨聚渠距句拒俱柜菊拘炬桔惧矩鞠驹锯踞咀瞿枸掬沮莒橘飓疽钜趄踽遽琚龃椐苣裾榘狙倨榉苴讵雎锔窭鞫犋屦醵",cheng:"成程城承称盛抢乘诚呈净惩撑澄秤橙骋逞瞠丞晟铛埕塍蛏柽铖酲裎枨",rong:"容荣融绒溶蓉熔戎榕茸冗嵘肜狨蝾",sheng:"生声升胜盛乘圣剩牲甸省绳笙甥嵊晟渑眚",deng:"等登邓灯澄凳瞪蹬噔磴嶝镫簦戥",zhi:"制之治质职只志至指织支值知识直致执置止植纸拓智殖秩旨址滞氏枝芝脂帜汁肢挚稚酯掷峙炙栉侄芷窒咫吱趾痔蜘郅桎雉祉郦陟痣蛭帙枳踯徵胝栀贽祗豸鸷摭轵卮轾彘觯絷跖埴夂黹忮骘膣踬",zheng:"政正证争整征郑丁症挣蒸睁铮筝拯峥怔诤狰徵钲",tang:"堂唐糖汤塘躺趟倘棠烫淌膛搪镗傥螳溏帑羰樘醣螗耥铴瑭",chi:"持吃池迟赤驰尺斥齿翅匙痴耻炽侈弛叱啻坻眙嗤墀哧茌豉敕笞饬踟蚩柢媸魑篪褫彳鸱螭瘛眵傺",shi:"是时实事市十使世施式势视识师史示石食始士失适试什泽室似诗饰殖释驶氏硕逝湿蚀狮誓拾尸匙仕柿矢峙侍噬嗜栅拭嘘屎恃轼虱耆舐莳铈谥炻豕鲥饣螫酾筮埘弑礻蓍鲺贳",qi:"企其起期气七器汽奇齐启旗棋妻弃揭枝歧欺骑契迄亟漆戚岂稽岐琦栖缉琪泣乞砌祁崎绮祺祈凄淇杞脐麒圻憩芪伎俟畦耆葺沏萋骐鳍綦讫蕲屺颀亓碛柒啐汔綮萁嘁蛴槭欹芑桤丌蜞",chuai:"揣踹啜搋膪",tuo:"托脱拓拖妥驼陀沱鸵驮唾椭坨佗砣跎庹柁橐乇铊沲酡鼍箨柝",duo:"多度夺朵躲铎隋咄堕舵垛惰哆踱跺掇剁柁缍沲裰哚隳",xue:"学血雪削薛穴靴谑噱鳕踅泶彐",chong:"重种充冲涌崇虫宠忡憧舂茺铳艟",chou:"筹抽绸酬愁丑臭仇畴稠瞅踌惆俦瘳雠帱",qiu:"求球秋丘邱仇酋裘龟囚遒鳅虬蚯泅楸湫犰逑巯艽俅蝤赇鼽糗",xiu:"修秀休宿袖绣臭朽锈羞嗅岫溴庥馐咻髹鸺貅",chu:"出处础初助除储畜触楚厨雏矗橱锄滁躇怵绌搐刍蜍黜杵蹰亍樗憷楮",tuan:"团揣湍疃抟彖",zhui:"追坠缀揣椎锥赘惴隹骓缒",chuan:"传川船穿串喘椽舛钏遄氚巛舡",zhuan:"专转传赚砖撰篆馔啭颛",yuan:"元员院原源远愿园援圆缘袁怨渊苑宛冤媛猿垣沅塬垸鸳辕鸢瑗圜爰芫鼋橼螈眢箢掾",cuan:"窜攒篡蹿撺爨汆镩",chuang:"创床窗闯幢疮怆",zhuang:"装状庄壮撞妆幢桩奘僮戆",chui:"吹垂锤炊椎陲槌捶棰",chun:"春纯醇淳唇椿蠢鹑朐莼肫蝽",zhun:"准屯淳谆肫窀",cu:"促趋趣粗簇醋卒蹴猝蹙蔟殂徂",dun:"吨顿盾敦蹲墩囤沌钝炖盹遁趸砘礅",qu:"区去取曲趋渠趣驱屈躯衢娶祛瞿岖龋觑朐蛐癯蛆苣阒诎劬蕖蘧氍黢蠼璩麴鸲磲",xu:"需许续须序徐休蓄畜虚吁绪叙旭邪恤墟栩絮圩婿戌胥嘘浒煦酗诩朐盱蓿溆洫顼勖糈砉醑",chuo:"辍绰戳淖啜龊踔辶",zu:"组族足祖租阻卒俎诅镞菹",ji:"济机其技基记计系期际及集级几给积极己纪即继击既激绩急奇吉季齐疾迹鸡剂辑籍寄挤圾冀亟寂暨脊跻肌稽忌饥祭缉棘矶汲畸姬藉瘠骥羁妓讥稷蓟悸嫉岌叽伎鲫诘楫荠戟箕霁嵇觊麂畿玑笈犄芨唧屐髻戢佶偈笄跽蒺乩咭赍嵴虮掎齑殛鲚剞洎丌墼蕺彐芰哜",cong:"从丛匆聪葱囱琮淙枞骢苁璁",zong:"总从综宗纵踪棕粽鬃偬枞腙",cou:"凑辏腠楱",cui:"衰催崔脆翠萃粹摧璀瘁悴淬啐隹毳榱",wei:"为位委未维卫围违威伟危味微唯谓伪慰尾魏韦胃畏帷喂巍萎蔚纬潍尉渭惟薇苇炜圩娓诿玮崴桅偎逶倭猥囗葳隗痿猬涠嵬韪煨艉隹帏闱洧沩隈鲔軎",cun:"村存寸忖皴",zuo:"作做座左坐昨佐琢撮祚柞唑嘬酢怍笮阼胙",zuan:"钻纂攥缵躜",da:"大达打答搭沓瘩惮嗒哒耷鞑靼褡笪怛妲",dai:"大代带待贷毒戴袋歹呆隶逮岱傣棣怠殆黛甙埭诒绐玳呔迨",tai:"台太态泰抬胎汰钛苔薹肽跆邰鲐酞骀炱",ta:"他它她拓塔踏塌榻沓漯獭嗒挞蹋趿遢铊鳎溻闼",dan:"但单石担丹胆旦弹蛋淡诞氮郸耽殚惮儋眈疸澹掸膻啖箪聃萏瘅赕",lu:"路六陆录绿露鲁卢炉鹿禄赂芦庐碌麓颅泸卤潞鹭辘虏璐漉噜戮鲈掳橹轳逯渌蓼撸鸬栌氇胪镥簏舻辂垆",tan:"谈探坦摊弹炭坛滩贪叹谭潭碳毯瘫檀痰袒坍覃忐昙郯澹钽锬",ren:"人任认仁忍韧刃纫饪妊荏稔壬仞轫亻衽",jie:"家结解价界接节她届介阶街借杰洁截姐揭捷劫戒皆竭桔诫楷秸睫藉拮芥诘碣嗟颉蚧孑婕疖桀讦疥偈羯袷哜喈卩鲒骱",yan:"研严验演言眼烟沿延盐炎燕岩宴艳颜殷彦掩淹阎衍铅雁咽厌焰堰砚唁焉晏檐蜒奄俨腌妍谚兖筵焱偃闫嫣鄢湮赝胭琰滟阉魇酽郾恹崦芫剡鼹菸餍埏谳讠厣罨",dang:"当党档荡挡宕砀铛裆凼菪谠",tao:"套讨跳陶涛逃桃萄淘掏滔韬叨洮啕绦饕鼗",tiao:"条调挑跳迢眺苕窕笤佻啁粜髫铫祧龆蜩鲦",te:"特忑忒铽慝",de:"的地得德底锝",dei:"得",di:"的地第提低底抵弟迪递帝敌堤蒂缔滴涤翟娣笛棣荻谛狄邸嘀砥坻诋嫡镝碲骶氐柢籴羝睇觌",ti:"体提题弟替梯踢惕剔蹄棣啼屉剃涕锑倜悌逖嚏荑醍绨鹈缇裼",tui:"推退弟腿褪颓蜕忒煺",you:"有由又优游油友右邮尤忧幼犹诱悠幽佑釉柚铀鱿囿酉攸黝莠猷蝣疣呦蚴莸莜铕宥繇卣牖鼬尢蚰侑",dian:"电点店典奠甸碘淀殿垫颠滇癫巅惦掂癜玷佃踮靛钿簟坫阽",tian:"天田添填甜甸恬腆佃舔钿阗忝殄畋栝掭",zhu:"主术住注助属逐宁著筑驻朱珠祝猪诸柱竹铸株瞩嘱贮煮烛苎褚蛛拄铢洙竺蛀渚伫杼侏澍诛茱箸炷躅翥潴邾槠舳橥丶瘃麈疰",nian:"年念酿辗碾廿捻撵拈蔫鲶埝鲇辇黏",diao:"调掉雕吊钓刁貂凋碉鲷叼铫铞",yao:"要么约药邀摇耀腰遥姚窑瑶咬尧钥谣肴夭侥吆疟妖幺杳舀窕窈曜鹞爻繇徭轺铫鳐崾珧",die:"跌叠蝶迭碟爹谍牒耋佚喋堞瓞鲽垤揲蹀",she:"设社摄涉射折舍蛇拾舌奢慑赦赊佘麝歙畲厍猞揲滠",ye:"业也夜叶射野液冶喝页爷耶邪咽椰烨掖拽曳晔谒腋噎揶靥邺铘揲",xie:"些解协写血叶谢械鞋胁斜携懈契卸谐泄蟹邪歇泻屑挟燮榭蝎撷偕亵楔颉缬邂鲑瀣勰榍薤绁渫廨獬躞",zhe:"喆这者着著浙折哲蔗遮辙辄柘锗褶蜇蛰鹧谪赭摺乇磔螫",ding:"定订顶丁鼎盯钉锭叮仃铤町酊啶碇腚疔玎耵",diu:"丢铥",ting:"听庭停厅廷挺亭艇婷汀铤烃霆町蜓葶梃莛",dong:"动东董冬洞懂冻栋侗咚峒氡恫胴硐垌鸫岽胨",tong:"同通统童痛铜桶桐筒彤侗佟潼捅酮砼瞳恸峒仝嗵僮垌茼",zhong:"中重种众终钟忠仲衷肿踵冢盅蚣忪锺舯螽夂",dou:"都斗读豆抖兜陡逗窦渎蚪痘蔸钭篼",du:"度都独督读毒渡杜堵赌睹肚镀渎笃竺嘟犊妒牍蠹椟黩芏髑",duan:"断段短端锻缎煅椴簖",dui:"对队追敦兑堆碓镦怼憝",rui:"瑞兑锐睿芮蕊蕤蚋枘",yue:"月说约越乐跃兑阅岳粤悦曰钥栎钺樾瀹龠哕刖",tun:"吞屯囤褪豚臀饨暾氽",hui:"会回挥汇惠辉恢徽绘毁慧灰贿卉悔秽溃荟晖彗讳诲珲堕诙蕙晦睢麾烩茴喙桧蛔洄浍虺恚蟪咴隳缋哕",wu:"务物无五武午吴舞伍污乌误亡恶屋晤悟吾雾芜梧勿巫侮坞毋诬呜钨邬捂鹜兀婺妩於戊鹉浯蜈唔骛仵焐芴鋈庑鼯牾怃圬忤痦迕杌寤阢",ya:"亚压雅牙押鸭呀轧涯崖邪芽哑讶鸦娅衙丫蚜碣垭伢氩桠琊揠吖睚痖疋迓岈砑",he:"和合河何核盖贺喝赫荷盒鹤吓呵苛禾菏壑褐涸阂阖劾诃颌嗬貉曷翮纥盍",wo:"我握窝沃卧挝涡斡渥幄蜗喔倭莴龌肟硪",en:"恩摁蒽",n:"嗯唔",er:"而二尔儿耳迩饵洱贰铒珥佴鸸鲕",fa:"发法罚乏伐阀筏砝垡珐",quan:"全权券泉圈拳劝犬铨痊诠荃醛蜷颧绻犭筌鬈悛辁畎",fei:"费非飞肥废菲肺啡沸匪斐蜚妃诽扉翡霏吠绯腓痱芾淝悱狒榧砩鲱篚镄",pei:"配培坏赔佩陪沛裴胚妃霈淠旆帔呸醅辔锫",ping:"平评凭瓶冯屏萍苹乒坪枰娉俜鲆",fo:"佛",hu:"和护户核湖互乎呼胡戏忽虎沪糊壶葫狐蝴弧瑚浒鹄琥扈唬滹惚祜囫斛笏芴醐猢怙唿戽槲觳煳鹕冱瓠虍岵鹱烀轷",ga:"夹咖嘎尬噶旮伽尕钆尜",ge:"个合各革格歌哥盖隔割阁戈葛鸽搁胳舸疙铬骼蛤咯圪镉颌仡硌嗝鬲膈纥袼搿塥哿虼",ha:"哈蛤铪",xia:"下夏峡厦辖霞夹虾狭吓侠暇遐瞎匣瑕唬呷黠硖罅狎瘕柙",gai:"改该盖概溉钙丐芥赅垓陔戤",hai:"海还害孩亥咳骸骇氦嗨胲醢",gan:"干感赶敢甘肝杆赣乾柑尴竿秆橄矸淦苷擀酐绀泔坩旰疳澉",gang:"港钢刚岗纲冈杠缸扛肛罡戆筻",jiang:"将强江港奖讲降疆蒋姜浆匠酱僵桨绛缰犟豇礓洚茳糨耩",hang:"行航杭巷夯吭桁沆绗颃",gong:"工公共供功红贡攻宫巩龚恭拱躬弓汞蚣珙觥肱廾",hong:"红宏洪轰虹鸿弘哄烘泓訇蕻闳讧荭黉薨",guang:"广光逛潢犷胱咣桄",qiong:"穷琼穹邛茕筇跫蛩銎",gao:"高告搞稿膏糕镐皋羔锆杲郜睾诰藁篙缟槁槔",hao:"好号毫豪耗浩郝皓昊皋蒿壕灏嚎濠蚝貉颢嗥薅嚆",li:"理力利立里李历例离励礼丽黎璃厉厘粒莉梨隶栗荔沥犁漓哩狸藜罹篱鲤砺吏澧俐骊溧砾莅锂笠蠡蛎痢雳俪傈醴栎郦俚枥喱逦娌鹂戾砬唳坜疠蜊黧猁鬲粝蓠呖跞疬缡鲡鳢嫠詈悝苈篥轹",jia:"家加价假佳架甲嘉贾驾嫁夹稼钾挟拮迦伽颊浃枷戛荚痂颉镓笳珈岬胛袈郏葭袷瘕铗跏蛱恝哿",luo:"啰落罗络洛逻螺锣骆萝裸漯烙摞骡咯箩珞捋荦硌雒椤镙跞瘰泺脶猡倮蠃",ke:"可科克客刻课颗渴壳柯棵呵坷恪苛咳磕珂稞瞌溘轲窠嗑疴蝌岢铪颏髁蚵缂氪骒钶锞",qia:"卡恰洽掐髂袷咭葜",gei:"给",gen:"根跟亘艮哏茛",hen:"很狠恨痕哏",gou:"构购够句沟狗钩拘勾苟垢枸篝佝媾诟岣彀缑笱鞲觏遘",kou:"口扣寇叩抠佝蔻芤眍筘",gu:"股古顾故固鼓骨估谷贾姑孤雇辜菇沽咕呱锢钴箍汩梏痼崮轱鸪牯蛊诂毂鹘菰罟嘏臌觚瞽蛄酤牿鲴",pai:"牌排派拍迫徘湃俳哌蒎",gua:"括挂瓜刮寡卦呱褂剐胍诖鸹栝呙",tou:"钭投头透偷愉骰亠",guai:"怪拐乖",kuai:"会快块筷脍蒯侩浍郐蒉狯哙",guan:"关管观馆官贯冠惯灌罐莞纶棺斡矜倌鹳鳏盥掼涫",wan:"万完晚湾玩碗顽挽弯蔓丸莞皖宛婉腕蜿惋烷琬畹豌剜纨绾脘菀芄箢",ne:"呢哪呐讷疒",gui:"规贵归轨桂柜圭鬼硅瑰跪龟匮闺诡癸鳜桧皈鲑刽晷傀眭妫炅庋簋刿宄匦",jun:"军均俊君峻菌竣钧骏龟浚隽郡筠皲麇捃",jiong:"窘炯迥炅冂扃",jue:"决绝角觉掘崛诀獗抉爵嚼倔厥蕨攫珏矍蹶谲镢鳜噱桷噘撅橛孓觖劂爝",gun:"滚棍辊衮磙鲧绲丨",hun:"婚混魂浑昏棍珲荤馄诨溷阍",guo:"国过果郭锅裹帼涡椁囗蝈虢聒埚掴猓崞蜾呙馘",hei:"黑嘿嗨",kan:"看刊勘堪坎砍侃嵌槛瞰阚龛戡凵莰",heng:"衡横恒亨哼珩桁蘅",mo:"万没么模末冒莫摩墨默磨摸漠脉膜魔沫陌抹寞蘑摹蓦馍茉嘿谟秣蟆貉嫫镆殁耱嬷麽瘼貊貘",peng:"鹏朋彭膨蓬碰苹棚捧亨烹篷澎抨硼怦砰嘭蟛堋",hou:"后候厚侯猴喉吼逅篌糇骺後鲎瘊堠",hua:"化华划话花画滑哗豁骅桦猾铧砉",huai:"怀坏淮徊槐踝",huan:"还环换欢患缓唤焕幻痪桓寰涣宦垸洹浣豢奂郇圜獾鲩鬟萑逭漶锾缳擐",xun:"讯训迅孙寻询循旬巡汛勋逊熏徇浚殉驯鲟薰荀浔洵峋埙巽郇醺恂荨窨蕈曛獯",huang:"黄荒煌皇凰慌晃潢谎惶簧璜恍幌湟蝗磺隍徨遑肓篁鳇蟥癀",nai:"能乃奶耐奈鼐萘氖柰佴艿",luan:"乱卵滦峦鸾栾銮挛孪脔娈",qie:"切且契窃茄砌锲怯伽惬妾趄挈郄箧慊",jian:"建间件见坚检健监减简艰践兼鉴键渐柬剑尖肩舰荐箭浅剪俭碱茧奸歼拣捡煎贱溅槛涧堑笺谏饯锏缄睑謇蹇腱菅翦戬毽笕犍硷鞯牮枧湔鲣囝裥踺搛缣鹣蒹谫僭戋趼楗",nan:"南难男楠喃囡赧腩囝蝻",qian:"前千钱签潜迁欠纤牵浅遣谦乾铅歉黔谴嵌倩钳茜虔堑钎骞阡掮钤扦芊犍荨仟芡悭缱佥愆褰凵肷岍搴箝慊椠",qiang:"强抢疆墙枪腔锵呛羌蔷襁羟跄樯戕嫱戗炝镪锖蜣",xiang:"向项相想乡象响香降像享箱羊祥湘详橡巷翔襄厢镶飨饷缃骧芗庠鲞葙蟓",jiao:"教交较校角觉叫脚缴胶轿郊焦骄浇椒礁佼蕉娇矫搅绞酵剿嚼饺窖跤蛟侥狡姣皎茭峤铰醮鲛湫徼鹪僬噍艽挢敫",zhuo:"着著缴桌卓捉琢灼浊酌拙茁涿镯淖啄濯焯倬擢斫棹诼浞禚",qiao:"桥乔侨巧悄敲俏壳雀瞧翘窍峭锹撬荞跷樵憔鞘橇峤诮谯愀鞒硗劁缲",xiao:"小效销消校晓笑肖削孝萧俏潇硝宵啸嚣霄淆哮筱逍姣箫骁枭哓绡蛸崤枵魈",si:"司四思斯食私死似丝饲寺肆撕泗伺嗣祀厮驷嘶锶俟巳蛳咝耜笥纟糸鸶缌澌姒汜厶兕",kai:"开凯慨岂楷恺揩锴铠忾垲剀锎蒈",jin:"进金今近仅紧尽津斤禁锦劲晋谨筋巾浸襟靳瑾烬缙钅矜觐堇馑荩噤廑妗槿赆衿卺",qin:"亲勤侵秦钦琴禽芹沁寝擒覃噙矜嗪揿溱芩衾廑锓吣檎螓",jing:"经京精境竞景警竟井惊径静劲敬净镜睛晶颈荆兢靖泾憬鲸茎腈菁胫阱旌粳靓痉箐儆迳婧肼刭弪獍",ying:"应营影英景迎映硬盈赢颖婴鹰荧莹樱瑛蝇萦莺颍膺缨瀛楹罂荥萤鹦滢蓥郢茔嘤璎嬴瘿媵撄潆",jiu:"就究九酒久救旧纠舅灸疚揪咎韭玖臼柩赳鸠鹫厩啾阄桕僦鬏",zui:"最罪嘴醉咀蕞觜",juan:"卷捐圈眷娟倦绢隽镌涓鹃鄄蠲狷锩桊",suan:"算酸蒜狻",yun:"员运云允孕蕴韵酝耘晕匀芸陨纭郧筠恽韫郓氲殒愠昀菀狁",qun:"群裙逡麇",ka:"卡喀咖咔咯佧胩",kang:"康抗扛慷炕亢糠伉钪闶",keng:"坑铿吭",kao:"考靠烤拷铐栲尻犒",ken:"肯垦恳啃龈裉",yin:"因引银印音饮阴隐姻殷淫尹荫吟瘾寅茵圻垠鄞湮蚓氤胤龈窨喑铟洇狺夤廴吲霪茚堙",kong:"空控孔恐倥崆箜",ku:"苦库哭酷裤枯窟挎骷堀绔刳喾",kua:"跨夸垮挎胯侉",kui:"亏奎愧魁馈溃匮葵窥盔逵睽馗聩喟夔篑岿喹揆隗傀暌跬蒉愦悝蝰",kuan:"款宽髋",kuang:"况矿框狂旷眶匡筐邝圹哐贶夼诳诓纩",que:"确却缺雀鹊阙瘸榷炔阕悫",kun:"困昆坤捆琨锟鲲醌髡悃阃",kuo:"扩括阔廓蛞",la:"拉落垃腊啦辣蜡喇剌旯砬邋瘌",lai:"来莱赖睐徕籁涞赉濑癞崃疠铼",lan:"兰览蓝篮栏岚烂滥缆揽澜拦懒榄斓婪阑褴罱啉谰镧漤",lin:"林临邻赁琳磷淋麟霖鳞凛拎遴蔺吝粼嶙躏廪檩啉辚膦瞵懔",lang:"浪朗郎廊狼琅榔螂阆锒莨啷蒗稂",liang:"量两粮良辆亮梁凉谅粱晾靓踉莨椋魉墚",lao:"老劳落络牢捞涝烙姥佬崂唠酪潦痨醪铑铹栳耢",mu:"目模木亩幕母牧莫穆姆墓慕牟牡募睦缪沐暮拇姥钼苜仫毪坶",le:"了乐勒肋叻鳓嘞仂泐",lei:"类累雷勒泪蕾垒磊擂镭肋羸耒儡嫘缧酹嘞诔檑",sui:"随岁虽碎尿隧遂髓穗绥隋邃睢祟濉燧谇眭荽",lie:"列烈劣裂猎冽咧趔洌鬣埒捩躐",leng:"冷愣棱楞塄",ling:"领令另零灵龄陵岭凌玲铃菱棱伶羚苓聆翎泠瓴囹绫呤棂蛉酃鲮柃",lia:"俩",liao:"了料疗辽廖聊寥缪僚燎缭撂撩嘹潦镣寮蓼獠钌尥鹩",liu:"流刘六留柳瘤硫溜碌浏榴琉馏遛鎏骝绺镏旒熘鹨锍",lun:"论轮伦仑纶沦抡囵",lv:"率律旅绿虑履吕铝屡氯缕滤侣驴榈闾偻褛捋膂稆",lou:"楼露漏陋娄搂篓喽镂偻瘘髅耧蝼嵝蒌",mao:"贸毛矛冒貌茂茅帽猫髦锚懋袤牦卯铆耄峁瑁蟊茆蝥旄泖昴瞀",long:"龙隆弄垄笼拢聋陇胧珑窿茏咙砻垅泷栊癃",nong:"农浓弄脓侬哝",shuang:"双爽霜孀泷",shu:"术书数属树输束述署熟殊蔬舒疏鼠淑叔暑枢墅俞曙抒竖蜀薯梳戍恕孰沭赎庶漱塾倏澍纾姝菽黍腧秫毹殳疋摅",shuai:"率衰帅摔甩蟀",lve:"略掠锊",ma:"么马吗摩麻码妈玛嘛骂抹蚂唛蟆犸杩",me:"么麽",mai:"买卖麦迈脉埋霾荬劢",man:"满慢曼漫埋蔓瞒蛮鳗馒幔谩螨熳缦镘颟墁鞔嫚",mi:"米密秘迷弥蜜谜觅靡泌眯麋猕谧咪糜宓汨醚嘧弭脒冖幂祢縻蘼芈糸敉",men:"们门闷瞒汶扪焖懑鞔钔",mang:"忙盲茫芒氓莽蟒邙硭漭",meng:"蒙盟梦猛孟萌氓朦锰檬勐懵蟒蜢虻黾蠓艨甍艋瞢礞",miao:"苗秒妙描庙瞄缪渺淼藐缈邈鹋杪眇喵",mou:"某谋牟缪眸哞鍪蛑侔厶",miu:"缪谬",mei:"美没每煤梅媒枚妹眉魅霉昧媚玫酶镁湄寐莓袂楣糜嵋镅浼猸鹛",wen:"文问闻稳温纹吻蚊雯紊瘟汶韫刎璺玟阌",mie:"灭蔑篾乜咩蠛",ming:"明名命鸣铭冥茗溟酩瞑螟暝",na:"内南那纳拿哪娜钠呐捺衲镎肭",nei:"内那哪馁",nuo:"难诺挪娜糯懦傩喏搦锘",ruo:"若弱偌箬",nang:"囊馕囔曩攮",nao:"脑闹恼挠瑙淖孬垴铙桡呶硇猱蛲",ni:"你尼呢泥疑拟逆倪妮腻匿霓溺旎昵坭铌鲵伲怩睨猊",nen:"嫩恁",neng:"能",nin:"您恁",niao:"鸟尿溺袅脲茑嬲",nie:"摄聂捏涅镍孽捻蘖啮蹑嗫臬镊颞乜陧",niang:"娘酿",ning:"宁凝拧泞柠咛狞佞聍甯",nu:"努怒奴弩驽帑孥胬",nv:"女钕衄恧",ru:"入如女乳儒辱汝茹褥孺濡蠕嚅缛溽铷洳薷襦颥蓐",nuan:"暖",nve:"虐疟",re:"热若惹喏",ou:"区欧偶殴呕禺藕讴鸥瓯沤耦怄",pao:"跑炮泡抛刨袍咆疱庖狍匏脬",pou:"剖掊裒",pen:"喷盆湓",pie:"瞥撇苤氕丿",pin:"品贫聘频拼拚颦姘嫔榀牝",se:"色塞瑟涩啬穑铯槭",qing:"情青清请亲轻庆倾顷卿晴氢擎氰罄磬蜻箐鲭綮苘黥圊檠謦",zan:"赞暂攒堑昝簪糌瓒錾趱拶",shao:"少绍召烧稍邵哨韶捎勺梢鞘芍苕劭艄筲杓潲",sao:"扫骚嫂梢缫搔瘙臊埽缲鳋",sha:"沙厦杀纱砂啥莎刹杉傻煞鲨霎嗄痧裟挲铩唼歃",xuan:"县选宣券旋悬轩喧玄绚渲璇炫萱癣漩眩暄煊铉楦泫谖痃碹揎镟儇",ran:"然染燃冉苒髯蚺",rang:"让壤攘嚷瓤穰禳",rao:"绕扰饶娆桡荛",reng:"仍扔",ri:"日",rou:"肉柔揉糅鞣蹂",ruan:"软阮朊",run:"润闰",sa:"萨洒撒飒卅仨脎",suo:"所些索缩锁莎梭琐嗦唆唢娑蓑羧挲桫嗍睃",sai:"思赛塞腮噻鳃",shui:"说水税谁睡氵",sang:"桑丧嗓搡颡磉",sen:"森",seng:"僧",shai:"筛晒",shang:"上商尚伤赏汤裳墒晌垧觞殇熵绱",xing:"行省星腥猩惺兴刑型形邢饧醒幸杏性姓陉荇荥擤悻硎",shou:"收手受首售授守寿瘦兽狩绶艏扌",shuo:"说数硕烁朔铄妁槊蒴搠",su:"速素苏诉缩塑肃俗宿粟溯酥夙愫簌稣僳谡涑蔌嗉觫",shua:"刷耍唰",shuan:"栓拴涮闩",shun:"顺瞬舜吮",song:"送松宋讼颂耸诵嵩淞怂悚崧凇忪竦菘",sou:"艘搜擞嗽嗖叟馊薮飕嗾溲锼螋瞍",sun:"损孙笋荪榫隼狲飧",teng:"腾疼藤滕誊",tie:"铁贴帖餮萜",tu:"土突图途徒涂吐屠兔秃凸荼钍菟堍酴",wai:"外歪崴",wang:"王望往网忘亡旺汪枉妄惘罔辋魍",weng:"翁嗡瓮蓊蕹",zhua:"抓挝爪",yang:"样养央阳洋扬杨羊详氧仰秧痒漾疡泱殃恙鸯徉佯怏炀烊鞅蛘",xiong:"雄兄熊胸凶匈汹芎",yo:"哟唷",yong:"用永拥勇涌泳庸俑踊佣咏雍甬镛臃邕蛹恿慵壅痈鳙墉饔喁",za:"杂扎咱砸咋匝咂拶",zai:"在再灾载栽仔宰哉崽甾",zao:"造早遭枣噪灶燥糟凿躁藻皂澡蚤唣",zei:"贼",zen:"怎谮",zeng:"增曾综赠憎锃甑罾缯",zhei:"这",zou:"走邹奏揍诹驺陬楱鄹鲰",zhuai:"转拽",zun:"尊遵鳟樽撙",dia:"嗲",nou:"耨"})};const Is={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},zs={class:"flex justify-between items-start mb-2"},Ls={class:"relative flex flex-1 w-full"},$s={for:"search-field",class:"sr-only"},Bs={class:"absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none"},Ms=["placeholder"],Rs={key:1,class:"relative",style:{"max-width":"60%",margin:"auto"}},Ps=["onClick"],Ns={key:0,class:"flex justify-between items-start my-1 h-14",style:{"max-width":"100%"}},Os=["onClick"],js={class:"w-full flex flex-grow my-2 items-start"},Us=["onClick"],qs={key:0,class:"flex-shrink-0 dark:ring-gray-400 rounded-full"},Hs=["src"],Ws={class:"text-white text-sm"},Vs={class:"flex-grow flex flex-col"},Gs={class:"flex items-center font-medium text-base text-gray-600 dark:text-gray-400 my-1"},Xs={class:"line-clamp-1 overflow-hidden text-ellipsis block flex-grow whitespace-nowrap"},Zs={class:"text-xs line-clamp-2 text-gray-500 dark:text-gray-400 my-1"},Ys=me({__name:"AppDialog",props:{visible:{type:Boolean}},setup(e){const t=e,{isMobile:u}=Je(),n=$e();function r(){n.updateAppDialog(!1)}const i=Ke(),o=Go(),s=j(""),a=M(()=>o.catId),l=j([]),c=j([]),d=M(()=>o.mineApps),h=j([]),p=j(0);function f(D){return d.value.some(C=>C.appId===D.id)}async function b(){var C;const D=await Xo();l.value=(C=D==null?void 0:D.data)==null?void 0:C.rows.map(E=>(E.loading=!1,E)),c.value=l.value}const k=M(()=>{if(s.value){const D=s.value.toLowerCase();return l.value.filter(C=>Ts.match(C.name,D))}return p.value===0?l.value:l.value.filter(D=>D.catId===p.value)});async function v(D){D.loading=!0;try{const C=await Qo({appId:D.id});i.success(C.data),await o.queryMineApps(),D.loading=!1}catch{D.loading=!1}}async function y(D){const C=Number(D.id);r(),Yo.replace({path:"/chat",query:{appId:C}})}async function x(){var E;const D=await Zo(),C={id:0,name:R("app.allCategories")};h.value=[C,...(E=D==null?void 0:D.data)==null?void 0:E.rows]}function _(D){p.value=D}ke(a,D=>{D?c.value=l.value.filter(C=>C.catId===D):c.value=l.value});function A(){const D=["bg-blue-300","bg-red-300","bg-green-300","bg-yellow-300","bg-purple-300","bg-pink-300"];return D[Math.floor(Math.random()*D.length)]}const T=j(null);function I(){T.value&&T.value.scrollBy({left:-100,behavior:"smooth"})}function w(){T.value&&T.value.scrollBy({left:100,behavior:"smooth"})}return Fe(()=>{x(),b()}),(D,C)=>(L(),ne(Wu,{name:"modal-fade"},{default:pe(()=>[t.visible?(L(),P("div",Is,[m("div",{class:Z(["bg-white dark:bg-gray-900 shadow-lg flex flex-col",[F(u)?"w-full h-full px-2 py-5":"w-[80vw] min-h-[60vh] max-h-[80vh] p-6 rounded-lg"]])},[m("div",zs,[m("div",{class:Z(["mx-1 flex rounded-xl shadow-sm ring-1 ring-gray-300 focus-within:ring-2 focus-within:ring-primary-500 text-gray-900 placeholder:text-gray-400 border-0 bg-transparent resize-none dark:focus:ring-gray-600 dark:ring-gray-600 dark:bg-gray-800",[F(u)?"w-full mr-8":"w-[40%]"]])},[m("div",Ls,[m("label",$s,N(F(R)("app.searchAppNameQuickFind")),1),m("div",Bs,[W(F(Cs),{theme:"outline",size:"24",class:"text-gray-400"})]),ae(m("input",{id:"search-field","onUpdate:modelValue":C[0]||(C[0]=E=>s.value=E),class:"z-1 w-full rounded-xl dark:bg-gray-800 pr-3 py-2 font-normal outline-0 delay-100 text-base pl-12 dark:text-gray-400",placeholder:F(R)("app.searchAppNameQuickFind"),type:"search",name:"search"},null,8,Ms),[[_e,s.value]])])],2),F(u)?V("",!0):(L(),ne(F(hs),{key:0,size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:I})),F(u)?V("",!0):(L(),P("div",Rs,[m("div",{ref_key:"scrollContainer",ref:T,class:"flex justify-between items-center scrollbar-hide overflow-x-auto",style:{"max-width":"95%",margin:"auto"}},[(L(!0),P(Ye,null,it(h.value,(E,S)=>(L(),P("div",{key:S,onClick:z=>_(E.id),class:Z([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400":p.value===E.id,"text-gray-500":p.value!==E.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 flex-none"])},N(E.name),11,Ps))),128))],512)])),F(u)?V("",!0):(L(),ne(F(gs),{key:2,size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:w})),W(F(_t),{size:"18",class:"text-gray-500 py-3 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300 ml-3",onClick:r})]),F(u)?(L(),P("div",Ns,[m("div",{ref_key:"scrollContainer",ref:T,class:"flex justify-between items-center overflow-x-auto scrollbar-hide"},[(L(!0),P(Ye,null,it(h.value,(E,S)=>(L(),P("div",{key:S,onClick:z=>_(E.id),class:Z([{"bg-gray-100 dark:bg-gray-700 text-primary-600 dark:text-gray-400":p.value===E.id,"text-gray-500":p.value!==E.id},"cursor-pointer whitespace-nowrap rounded-full px-4 py-2 flex-none"])},N(E.name),11,Os))),128))],512)])):V("",!0),m("div",js,[W(os,{name:"list",tag:"div",class:Z(["w-full grid overflow-y-auto",[F(u)?"grid-cols-1 max-h-[85vh]":"h-[60vh] grid-cols-1 sm:grid-cols-2 md:grid-cols-2 lg:grid-cols-2 xl:grid-cols-3 2xl:grid-cols-3 gap-3"]]),style:{"align-content":"start"}},{default:pe(()=>[(L(!0),P(Ye,null,it(k.value,E=>(L(),P("div",{key:E.id,onClick:S=>y(E),class:"custom-card cursor-pointer h-[7rem] flex items-center gap-5 rounded-xl bg-gray-50 px-3 py-3 mx-2 mb-3 hover:shadow-md dark:bg-gray-800 dark:hover:bg-gray-700"},[E.coverImg?(L(),P("div",qs,[m("img",{src:E.coverImg,class:"rounded-full w-16 h-16",alt:"app-image"},null,8,Hs)])):(L(),P("div",{key:1,class:Z([A(),"flex-shrink-0 dark:ring-gray-400 rounded-full w-16 h-16 flex items-center justify-center"])},[m("span",Ws,N(E.name.slice(0,3)),1)],2)),m("div",Vs,[m("div",Gs,[m("span",Xs,N(E.name),1),W(F(As),{theme:f(E)?"filled":"outline",size:"20",fill:f(E)?"#fde68a":"#e5e7eb",class:"cursor-pointer",onClick:kn(S=>v(E),["stop"])},null,8,["theme","fill","onClick"])]),m("span",Zs,N(E.des),1)])],8,Us))),128))]),_:1},8,["class"])])],2)])):V("",!0)]),_:1}))}});const Qs=Vt(Ys,[["__scopeId","data-v-3044efeb"]]);const Js={key:0,class:"fixed inset-0 z-50 px-2 flex items-center justify-center bg-black bg-opacity-50"},Ks={class:"bg-white dark:bg-gray-900 p-4 rounded-lg shadow-lg w-full max-w-3xl max-h-[80vh] flex flex-col relative"},ea=m("div",{class:"flex justify-between items-center mb-3"},[m("span",{class:"text-xl"},"合理合规须知")],-1),ta=m("div",{class:"flex-1 overflow-y-auto"},[m("p",null,"请合理合规使用,请勿咨询敏感信息或使用敏感词生成图片。"),m("p",null," 多次触发平台风控,将记录【账号/IP】等信息并禁止使用,保留向有关部门提交相关记录的权利。 ")],-1),ua={class:"flex justify-end mt-3"},na=["disabled"],ra={key:0},ia={key:1},oa=me({__name:"BadWordsDialog",props:{visible:{type:Boolean}},setup(e){const t=e,u=Be(),n=$e();M(()=>u.globalConfig);const r=j(15),i=j(!1);function o(){const a=setInterval(()=>{r.value>0?r.value-=1:(i.value=!0,clearInterval(a))},1e3)}function s(){i.value&&(n.UpdateBadWordsDialog(!1),r.value=15,i.value=!1)}return ke(()=>t.visible,a=>{a&&o()},{immediate:!0}),t.visible&&o(),(a,l)=>t.visible?(L(),P("div",Js,[m("div",Ks,[ea,ta,m("div",ua,[m("button",{disabled:!i.value,onClick:s,class:"px-4 py-2 shadow-sm bg-primary-600 text-white rounded-md hover:bg-primary-500 disabled:bg-gray-400"},[i.value?(L(),P("span",ra,"已知晓")):(L(),P("span",ia,"请等待 "+N(r.value)+" 秒",1))],8,na)])])])):V("",!0)}}),sa={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 512 512"},aa=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 368L144 144"},null,-1),la=m("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"32",d:"M368 144L144 368"},null,-1),ca=[aa,la],da=me({name:"CloseOutline",render:function(t,u){return L(),P("svg",sa,ca)}}),fa={class:"p-5 bg-white rounded-lg shadow-md dark:bg-slate-800 relative"},ha=m("div",{class:"flex items-start justify-start text-xl font-bold mb-5 dark:text-gray-300"},[m("span",{class:"ml-2"},"绑定微信账户")],-1),ga={class:"text-center font-bold text-sm py-5 dark:text-gray-400"},pa={class:"inline-block text-red-500"},ma={class:"my-4 flex justify-center relative"},ba=m("span",{class:"block text-center text-base py-4 dark:text-gray-400"}," 打开微信扫码绑定账户 ",-1),ya=me({__name:"BindWx",props:{visible:{type:Boolean}},setup(e){const t=$e();let u;const n=j(),r=Be(),i=j(!1),o=j(""),s=j(""),a=Ke();async function l(){const b=await Po();b.success&&(s.value=b.data,c())}async function c(){const b=await Jr({sceneStr:s.value});b.success&&(i.value=!0,o.value=b.data,u=setInterval(()=>{d()},1e3))}async function d(){if(!s.value)return;const b=await No({sceneStr:s.value});if(b.data){clearInterval(u);const{status:k,msg:v}=b.data;k?a.success(v):a.error(v),r.getUserInfo(),t.updateBindwxDialog(!1)}}function h(){var b;clearInterval(u),l(),(b=n.value)==null||b.reset()}function p(){l()}function f(){clearInterval(u),o.value="",s.value="",i.value=!1}return(b,k)=>(L(),ne(F(ms),{show:b.visible,style:{width:"90%","max-width":"700px"},"on-after-enter":p,"on-after-leave":f},{default:pe(()=>[m("div",fa,[m("div",{class:"absolute top-3 right-3 cursor-pointer",onClick:k[0]||(k[0]=v=>F(t).updateBindwxDialog(!1))},[W(F(bs),{size:"20",color:"#0e7a0d"},{default:pe(()=>[W(F(da))]),_:1})]),ha,m("div",ga,[m("p",null,[oe(" 请在 "),m("span",pa,[W(F(ri),{ref_key:"countdownRef",ref:n,active:i.value,duration:120*1e3,"on-finish":h},null,8,["active"])]),oe(" 时间内完成绑定 ")])]),m("div",ma,[o.value?(L(),ne(F(ii),{key:0,"preview-disabled":"",width:"230",src:o.value},null,8,["src"])):(L(),ne(F(Hn),{key:1,height:"230px",width:"230px"})),o.value?V("",!0):(L(),ne(F(Vu),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"}))]),ba])]),_:1},8,["show"]))}});function ci(e){return Kr({url:"/order/buy",data:e})}function xa(e){return Un({url:"/order/queryByOrderId",data:e})}const va={key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black bg-opacity-50"},_a={class:"flex justify-between items-center p-3"},ka={class:"text-xl font-bold"},wa={class:"w-full overflow-y-auto p-4 mx-auto m-2 grid grid-cols-1 gap-3 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4"},Ca=["onClick"],Aa={class:"relative"},Ea={class:"text-lg font-semibold leading-8"},Da={key:0,class:"flex justify-between items-end min-h-28"},Sa={class:"text-sm font-bold mr-1 w-[120px]"},Fa={class:"font-bold"},Ta={key:1,class:"flex justify-between items-end min-h-28"},Ia={class:"text-sm font-bold mr-1 w-[120px]"},za={class:"font-bold"},La={key:2,class:"flex justify-between items-end min-h-28"},$a={class:"text-sm font-bold mr-1 w-[120px]"},Ba={class:"font-bold"},Ma={class:"mt-6 flex items-baseline gap-x-1"},Ra={class:"text-4xl font-bold tracking-tight"},Pa={class:"mt-6 flex flex-col gap-4"},Na=["onClick"],Oa={role:"list",class:"mt-8 space-y-3 text-sm leading-6 text-gray-600 dark:text-gray-400"},ja=me({__name:"GoodsDialog",props:{visible:{type:Boolean}},setup(e){const t=Be(),u=$e(),n=j(!0),r=j([]),i=Ke();ys();const o=j(!1),s=M(()=>t.globalConfig.model3Name||R("goods.basicModelQuota")),{isMobile:a}=Je(),l=M(()=>t.globalConfig.model4Name)||R("goods.advancedModelQuota"),c=M(()=>t.globalConfig.drawMjName)||R("goods.drawingQuota"),d=M(()=>Number(t.globalConfig.isHideModel3Point)===1),h=M(()=>Number(t.globalConfig.isHideModel4Point)===1),p=M(()=>Number(t.globalConfig.isHideDrawMjPoint)===1),f=M(()=>{var C;const D=window.navigator.userAgent.toLowerCase();return D.match(/MicroMessenger/i)&&((C=D==null?void 0:D.match(/MicroMessenger/i))==null?void 0:C[0])==="micromessenger"}),b=M(()=>{const{payHupiStatus:D,payEpayStatus:C,payMpayStatus:E,payWechatStatus:S,payLtzfStatus:z}=t.globalConfig;return Number(S)===1?"wechat":Number(E)===1?"mpay":Number(D)===1?"hupi":Number(C)===1?"epay":Number(z)===1?"ltzf":null}),k=M(()=>{const{payEpayChannel:D,payMpayChannel:C}=t.globalConfig;return b.value==="mpay"?C?JSON.parse(C):[]:b.value==="epay"?D?JSON.parse(D):[]:b.value==="wechat"?["wxpay"]:b.value==="hupi"?["wxpay"]:b.value==="ltzf"?["wxpay"]:[]});Fe(()=>{_(),f.value&&v()}),qn(()=>{r.value=[],n.value=!0});async function v(){const D=window.location.href.replace(/#.*$/,""),C=await Oo({url:D}),{appId:E,nonceStr:S,timestamp:z,signature:$}=C.data;E&&(wx.config({debug:!1,appId:E,timestamp:z,nonceStr:S,signature:$,jsApiList:["chooseWXPay"]}),wx.ready(()=>{}),wx.error(()=>{}))}function y(D){const{appId:C,timeStamp:E,nonceStr:S,package:z,signType:$,paySign:B}=D;WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:C,timeStamp:E,nonceStr:S,package:z,signType:$,paySign:B},U=>{U.err_msg==="get_brand_wcpay_request:ok"?(i.success(R("goods.purchaseSuccess")),setTimeout(()=>{t.getUserInfo(),u.updateGoodsDialog(!1)},500)):i.success(R("goods.paymentNotSuccessful"))})}async function x(D){if(o.value)return;function C(){const E=window.navigator.userAgent.toLowerCase(),S=E.indexOf("micromessenger")!==-1,z=E.indexOf("windows")===-1&&E.indexOf("macintosh")===-1;return S&&z}if(C()&&b.value==="wechat"&&Number(t.globalConfig.payWechatStatus)===1){if(typeof WeixinJSBridge>"u")document.addEventListener?document.addEventListener("WeixinJSBridgeReady",y,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",y),document.attachEvent("onWeixinJSBridgeReady",y));else{const E=await ci({goodsId:D.id,payType:"jsapi"}),{success:S,data:z}=E;S&&y(z)}return}u.updateOrderInfo({pkgInfo:D}),u.updateGoodsDialog(!1),u.updatePayDialog(!0)}async function _(){n.value=!0;try{const D=await _s({status:1,size:30});r.value=D.data.rows,n.value=!1}catch{n.value=!1}}const A=j(""),T=D=>{A.value=D.name};function I(D){if(!k.value.length){i.warning(R("goods.paymentNotEnabled"));return}x(D)}function w(D){return D.split(` `)}return(D,C)=>(L(),ne(Wu,{name:"modal-fade"},{default:pe(()=>[D.visible?(L(),P("div",va,[m("div",{class:Z(["bg-white dark:bg-gray-900 flex flex-col relative",F(a)?" w-full h-full":"max-h-[80vh] rounded-lg shadow-lg w-full max-w-7xl p-4 mx-2 "])},[m("div",_a,[m("span",ka,N(F(R)("goods.selectProducts")),1),W(F(_t),{size:"18",class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300",onClick:C[0]||(C[0]=E=>F(u).updateGoodsDialog(!1))})]),m("div",wa,[(L(!0),P(Ye,null,it(r.value,(E,S)=>(L(),P("div",{key:S,class:Z([E.name==A.value?"ring-2 ring-indigo-500 shadow-md":"ring-2 ring-gray-200 dark:ring-gray-800 ","rounded-lg p-8 hover:shadow-md"]),onClick:z=>T(E)},[m("div",Aa,[m("b",Ea,N(E.name),1)]),d.value?V("",!0):(L(),P("div",Da,[m("span",Sa,N(s.value),1),m("span",Fa,N(E.model3Count>99999?"无限额度":E.model3Count),1)])),h.value?V("",!0):(L(),P("div",Ta,[m("span",Ia,N(F(l)),1),m("span",za,N(E.model4Count>99999?"无限额度":E.model4Count),1)])),p.value?V("",!0):(L(),P("div",La,[m("span",$a,N(F(c)),1),m("span",Ba,N(E.drawMjCount>99999?"无限额度":E.drawMjCount),1)])),m("div",Ma,[m("span",Ra,N(`¥${E.price}`),1)]),m("div",Pa,[m("button",{onClick:z=>I(E),class:Z(["block w-full rounded-md shadow-sm px-3 py-2 text-center text-sm font-semibold leading-6",[E.name==A.value?"text-white bg-indigo-600 hover:bg-indigo-500 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 focus-visible:outline focus-visible:outline-2":"ring-1 ring-primary-200 dark:ring-gray-800 dark:bg-gray-800 text-primary-500 hover:ring-primary-300 dark:hover:bg-gray-700"]])},N(F(R)("goods.buyPackage")),11,Na)]),m("ul",Oa,[(L(!0),P(Ye,null,it(w(E.des),(z,$)=>(L(),P("li",{key:$,class:"flex gap-x-3"},[W(F(ps),{theme:"filled",size:"24",class:"text-gray-500"}),oe(" "+N(z),1)]))),128))])],10,Ca))),128))])],2)])):V("",!0)]),_:1}))}});const Ua=Vt(ja,[["__scopeId","data-v-4844baa1"]]),qa="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAELklEQVRYR+2YW2wUZRTH//9vtlCoF9IoIklT3PqgPGi326hoetuaGEhIr9SgCYkkgt2WGOQVCca+GavWdr0GjD4YhG3RB3hply1LQA1tEQIxEXapGI2pEkys9LIzx2ylYWfY6e5sF0oi+7hzzvl+3/9855xvhrjNf7zN+XAHcL4Z+n8o6JWTeYt++W25S596AIZy6TB+n3yo+Nchlk8vmIIVowdXU9c3Q1gDSilBlQwjgBAYFGDvdF58/4milqvZwDpOcXWsb5Uh8hmBqkwXFMhlCN8aX5LXNbRy/T+Z+iXsHAFWRXs3QGQPyLucLDJrK5DgUXdTsxPfjAEro8E3Ce50EtxsKxPTwCPH3U2jTmJkBJgWTnAMxDeGMEoa0xQ+LJQnCD4HYFkCyAC3RdwN3U7gMkpxRTTYrMD91sCJIgCxV5R6O1Jcfy7VwonqLoj9/CqB2kF341qncGkBvRe+ureAWpRgoalCBecMFzcdK24YymZRJz5zprgq1tsJwXYL3CVZGvdGHmwZc7JQtra2gE+f712ep2QUYP714DJhaJrXLqXZQszlZwtYdSHoB9ljVk/ePVrSZFL0ZkAlxzQBVseCT8WhZhRThtFB8plk9Zi/qCi8cv0fNxvKFrDy4oF11NXXIFy2EII4iBcG3Y03VLZT8OqRd5aFPduvOEpxRayvXolxAKB2g6NgEhobBlc1HHYKY7WvHf5wtVAPgegIlbbZ9seUZ7AyFnwewi9pGoUyDmhrB931kfnC1ZwOeKlLP8GZJi6QLSFP2yep4toXSbT3ZQAfX3O6omt8Nhd9r/aHQAUMOQywYBZo5uZD2ThQ2rbPCjlnH6yI9rUryE5DU75ctJaake46Be4DuDjF8dFBNA94/AdtiySVxIlpMlTS8td801o70vMigM9huTda2lhcKHVHPO2HZv/P6LIwX7hk/+qzPSvUJGMkrg8AQYTkroRdXMlE+HH/twsG6BsOdJHYZlaO/lBZ6weOiiSXqs3Gqj0TeAxx+T75DIpgwjC0onD51pQD4JaluPrkR/cpFT9DcoVp84LOgTL/DjtBbglgou+puHwB8lEznPxJw1XSX77VtgizBvQNBw4RMqB7xt4Lc3c8lQKJaQHoO4R8ydz0/7MWoCXk8c85MrMC9J3qaafw/WtQlwXST+F3BnAeYB4obgJ1BJIuG+YtiKAjVOZ/Pd1ZdwzoG+4uBtSPpjaRbhXLcwF3hzytb2TilgVgT5BkYybBrTYC+Rvg5nRpdTRJrIs8+VPXPQXj2i4ItxC4O2NQQUQnN4U9rRcz9nH64p4ceM2lziX5Y4s3KHCdUHwE77ecMkMEp6BwhIa2Z6DslZRvfulgHafYLuCas58WLp2aLCFUga70qxOFU6dPFL2W1feYeaU43Y5z/TxnCuYabMEuC043ckdBp4pZ7f8FE5psOI1g6fwAAAAASUVORK5CYII=";const Ha={props:{canvasWidth:{type:Number,default:310},canvasHeight:{type:Number,default:160},show:{type:Boolean,default:!1},puzzleScale:{type:Number,default:1},sliderSize:{type:Number,default:40},range:{type:Number,default:10},imgs:{type:Array},successText:{type:String,default:"验证通过!"},failText:{type:String,default:"验证失败,请重试"},sliderText:{type:String,default:"拖动滑块完成拼图"}},data(){return{mouseDown:!1,startWidth:50,startX:0,newX:0,pinX:0,pinY:0,loading:!1,isCanSlide:!1,error:!1,infoBoxShow:!1,infoText:"",infoBoxFail:!1,timer1:null,closeDown:!1,isSuccess:!1,imgIndex:-1,isSubmting:!1,resetSvg:qa}},mounted(){document.body.appendChild(this.$el),document.addEventListener("mousemove",this.onRangeMouseMove,!1),document.addEventListener("mouseup",this.onRangeMouseUp,!1),document.addEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.addEventListener("touchend",this.onRangeMouseUp,!1),this.show&&(document.body.classList.add("vue-puzzle-overflow"),this.reset())},beforeDestroy(){clearTimeout(this.timer1),document.body.removeChild(this.$el),document.removeEventListener("mousemove",this.onRangeMouseMove,!1),document.removeEventListener("mouseup",this.onRangeMouseUp,!1),document.removeEventListener("touchmove",this.onRangeMouseMove,{passive:!1}),document.removeEventListener("touchend",this.onRangeMouseUp,!1)},watch:{show(e){e?(document.body.classList.add("vue-puzzle-overflow"),this.reset()):(this.isSubmting=!1,this.isSuccess=!1,this.infoBoxShow=!1,document.body.classList.remove("vue-puzzle-overflow"))}},computed:{styleWidth(){const e=this.startWidth+this.newX-this.startX;return ethis.canvasWidth?this.canvasWidth:e},puzzleBaseSize(){return Math.round(Math.max(Math.min(this.puzzleScale,2),.2)*52.5+6)},sliderBaseSize(){return Math.max(Math.min(Math.round(this.sliderSize),Math.round(this.canvasWidth*.5)),10)}},methods:{onClose(){!this.mouseDown&&!this.isSubmting&&(clearTimeout(this.timer1),this.$emit("close"))},onCloseMouseDown(){this.closeDown=!0},onCloseMouseUp(){this.closeDown&&this.onClose(),this.closeDown=!1},onRangeMouseDown(e){this.isCanSlide&&(this.mouseDown=!0,this.startWidth=this.$refs["range-slider"].clientWidth,this.newX=e.clientX||e.changedTouches[0].clientX,this.startX=e.clientX||e.changedTouches[0].clientX)},onRangeMouseMove(e){this.mouseDown&&(e.preventDefault(),this.newX=e.clientX||e.changedTouches[0].clientX)},onRangeMouseUp(){this.mouseDown&&(this.mouseDown=!1,this.submit())},init(e){if(this.loading&&!e)return;this.loading=!0,this.isCanSlide=!1;const t=this.$refs.canvas1,u=this.$refs.canvas2,n=this.$refs.canvas3,r=t.getContext("2d"),i=u.getContext("2d"),o=n.getContext("2d"),s=navigator.userAgent.indexOf("Firefox")>=0&&navigator.userAgent.indexOf("Windows")>=0,a=document.createElement("img");if(r.fillStyle="rgba(255,255,255,1)",o.fillStyle="rgba(255,255,255,1)",r.clearRect(0,0,this.canvasWidth,this.canvasHeight),i.clearRect(0,0,this.canvasWidth,this.canvasHeight),this.pinX=this.getRandom(this.puzzleBaseSize,this.canvasWidth-this.puzzleBaseSize-20),this.pinY=this.getRandom(20,this.canvasHeight-this.puzzleBaseSize-20),a.crossOrigin="anonymous",a.onload=()=>{const[l,c,d,h]=this.makeImgSize(a);r.save(),this.paintBrick(r),r.closePath(),s?(r.clip(),r.save(),r.shadowOffsetX=0,r.shadowOffsetY=0,r.shadowColor="#000",r.shadowBlur=3,r.fill(),r.restore()):(r.shadowOffsetX=0,r.shadowOffsetY=0,r.shadowColor="#000",r.shadowBlur=3,r.fill(),r.clip()),r.drawImage(a,l,c,d,h),o.fillRect(0,0,this.canvasWidth,this.canvasHeight),o.drawImage(a,l,c,d,h),r.globalCompositeOperation="source-atop",this.paintBrick(r),r.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),this.puzzleBaseSize*1.2,0,Math.PI*2,!0),r.closePath(),r.shadowColor="rgba(255, 255, 255, .8)",r.shadowOffsetX=-1,r.shadowOffsetY=-1,r.shadowBlur=Math.min(Math.ceil(8*this.puzzleScale),12),r.fillStyle="#ffffaa",r.fill();const p=r.getImageData(this.pinX-3,this.pinY-20,this.pinX+this.puzzleBaseSize+5,this.pinY+this.puzzleBaseSize+5);i.putImageData(p,0,this.pinY-20),r.restore(),r.clearRect(0,0,this.canvasWidth,this.canvasHeight),r.save(),this.paintBrick(r),r.globalAlpha=.8,r.fillStyle="#ffffff",r.fill(),r.restore(),r.save(),r.globalCompositeOperation="source-atop",this.paintBrick(r),r.arc(this.pinX+Math.ceil(this.puzzleBaseSize/2),this.pinY+Math.ceil(this.puzzleBaseSize/2),this.puzzleBaseSize*1.2,0,Math.PI*2,!0),r.shadowColor="#000",r.shadowOffsetX=2,r.shadowOffsetY=2,r.shadowBlur=16,r.fill(),r.restore(),r.save(),r.globalCompositeOperation="destination-over",r.drawImage(a,l,c,d,h),r.restore(),this.loading=!1,this.isCanSlide=!0},a.onerror=()=>{this.init(!0)},!e&&this.imgs&&this.imgs.length){let l=this.getRandom(0,this.imgs.length-1);l===this.imgIndex&&(l===this.imgs.length-1?l=0:l++),this.imgIndex=l,a.src=this.imgs[l]}else a.src=this.makeImgWithCanvas()},getRandom(e,t){return Math.ceil(Math.random()*(t-e)+e)},makeImgSize(e){const t=e.width/e.height,u=this.canvasWidth/this.canvasHeight;let n=0,r=0,i=0,o=0;return t>u?(o=this.canvasHeight,i=t*o,r=0,n=(this.canvasWidth-i)/2):(i=this.canvasWidth,o=i/t,n=0,r=(this.canvasHeight-o)/2),[n,r,i,o]},paintBrick(e){const t=Math.ceil(15*this.puzzleScale);e.beginPath(),e.moveTo(this.pinX,this.pinY),e.lineTo(this.pinX+t,this.pinY),e.arcTo(this.pinX+t,this.pinY-t/2,this.pinX+t+t/2,this.pinY-t/2,t/2),e.arcTo(this.pinX+t+t,this.pinY-t/2,this.pinX+t+t,this.pinY,t/2),e.lineTo(this.pinX+t+t+t,this.pinY),e.lineTo(this.pinX+t+t+t,this.pinY+t),e.arcTo(this.pinX+t+t+t+t/2,this.pinY+t,this.pinX+t+t+t+t/2,this.pinY+t+t/2,t/2),e.arcTo(this.pinX+t+t+t+t/2,this.pinY+t+t,this.pinX+t+t+t,this.pinY+t+t,t/2),e.lineTo(this.pinX+t+t+t,this.pinY+t+t+t),e.lineTo(this.pinX,this.pinY+t+t+t),e.lineTo(this.pinX,this.pinY+t+t),e.arcTo(this.pinX+t/2,this.pinY+t+t,this.pinX+t/2,this.pinY+t+t/2,t/2),e.arcTo(this.pinX+t/2,this.pinY+t,this.pinX,this.pinY+t,t/2),e.lineTo(this.pinX,this.pinY)},makeImgWithCanvas(){const e=document.createElement("canvas"),t=e.getContext("2d");e.width=this.canvasWidth,e.height=this.canvasHeight,t.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,t.fillRect(0,0,this.canvasWidth,this.canvasHeight);for(let u=0;u<12;u++)if(t.fillStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,t.strokeStyle=`rgb(${this.getRandom(100,255)},${this.getRandom(100,255)},${this.getRandom(100,255)})`,this.getRandom(0,2)>1)t.save(),t.rotate(this.getRandom(-90,90)*Math.PI/180),t.fillRect(this.getRandom(-20,e.width-20),this.getRandom(-20,e.height-20),this.getRandom(10,e.width/2+10),this.getRandom(10,e.height/2+10)),t.restore();else{t.beginPath();const n=this.getRandom(-Math.PI,Math.PI);t.arc(this.getRandom(0,e.width),this.getRandom(0,e.height),this.getRandom(10,e.height/2+10),n,n+Math.PI*1.5),t.closePath(),t.fill()}return e.toDataURL("image/png")},submit(){this.isSubmting=!0;const e=Math.abs(this.pinX-(this.styleWidth-this.sliderBaseSize)+(this.puzzleBaseSize-this.sliderBaseSize)*((this.styleWidth-this.sliderBaseSize)/(this.canvasWidth-this.sliderBaseSize))-3);e{this.isSubmting=!1,this.$emit("success",e)},800)):(this.infoText=this.failText,this.infoBoxFail=!0,this.infoBoxShow=!0,this.isCanSlide=!1,this.$emit("fail",e),clearTimeout(this.timer1),this.timer1=setTimeout(()=>{this.isSubmting=!1,this.reset()},800))},resetState(){this.infoBoxFail=!1,this.infoBoxShow=!1,this.isCanSlide=!1,this.isSuccess=!1,this.startWidth=this.sliderBaseSize,this.startX=0,this.newX=0},reset(){this.isSubmting||(this.resetState(),this.init())}}},Wa=["width","height"],Va=["width","height"],Ga=["width","height"],Xa=m("div",{class:"loading-gif_"},[m("span"),m("span"),m("span"),m("span"),m("span")],-1),Za=[Xa],Ya=["src"],Qa={class:"auth-control_"},Ja={class:"range-text"},Ka=m("div",null,null,-1),el=m("div",null,null,-1),tl=m("div",null,null,-1),ul=[Ka,el,tl];function nl(e,t,u,n,r,i){return L(),P("div",{class:Z(["vue-puzzle-vcode",{show_:u.show}]),onMousedown:t[5]||(t[5]=(...o)=>i.onCloseMouseDown&&i.onCloseMouseDown(...o)),onMouseup:t[6]||(t[6]=(...o)=>i.onCloseMouseUp&&i.onCloseMouseUp(...o)),onTouchstart:t[7]||(t[7]=(...o)=>i.onCloseMouseDown&&i.onCloseMouseDown(...o)),onTouchend:t[8]||(t[8]=(...o)=>i.onCloseMouseUp&&i.onCloseMouseUp(...o))},[m("div",{class:"vue-auth-box_ rounded-lg bg-white dark:bg-gray-800",onMousedown:t[3]||(t[3]=kn(()=>{},["stop"])),onTouchstart:t[4]||(t[4]=kn(()=>{},["stop"]))},[m("div",{class:"auth-body_",style:nt(`height: ${u.canvasHeight}px`)},[m("canvas",{ref:"canvas1",width:u.canvasWidth,height:u.canvasHeight,style:nt(`width:${u.canvasWidth}px;height:${u.canvasHeight}px`)},null,12,Wa),m("canvas",{ref:"canvas3",class:Z(["auth-canvas3_",{show:r.isSuccess}]),width:u.canvasWidth,height:u.canvasHeight,style:nt(`width:${u.canvasWidth}px;height:${u.canvasHeight}px`)},null,14,Va),m("canvas",{width:i.puzzleBaseSize,class:"auth-canvas2_",height:u.canvasHeight,ref:"canvas2",style:nt(`width:${i.puzzleBaseSize}px;height:${u.canvasHeight}px;transform:translateX(${i.styleWidth-i.sliderBaseSize-(i.puzzleBaseSize-i.sliderBaseSize)*((i.styleWidth-i.sliderBaseSize)/(u.canvasWidth-i.sliderBaseSize))}px)`)},null,12,Ga),m("div",{class:Z(["loading-box_",{hide_:!r.loading}])},Za,2),m("div",{class:Z(["info-box_",{show:r.infoBoxShow},{fail:r.infoBoxFail}])},N(r.infoText),3),m("div",{class:Z(["flash_",{show:r.isSuccess}]),style:nt(`transform: translateX(${r.isSuccess?`${u.canvasWidth+u.canvasHeight*.578}px`:`-${u.canvasHeight*.578}px`}) skew(-30deg, 0);`)},null,6),m("img",{class:"reset_",onClick:t[0]||(t[0]=(...o)=>i.reset&&i.reset(...o)),src:r.resetSvg},null,8,Ya)],4),m("div",Qa,[m("div",{class:"range-box bg-gray-100 dark:bg-gray-700",style:nt(`height:${i.sliderBaseSize}px`)},[m("div",Ja,N(u.sliderText),1),m("div",{class:"range-slider",ref:"range-slider",style:nt(`width:${i.styleWidth}px`)},[m("div",{class:Z(["range-btn",{isDown:r.mouseDown}]),style:nt(`width:${i.sliderBaseSize}px`),onMousedown:t[1]||(t[1]=o=>i.onRangeMouseDown(o)),onTouchstart:t[2]||(t[2]=o=>i.onRangeMouseDown(o))},ul,38)],4)],4)])],32)],34)}const Wn=Vt(Ha,[["render",nl]]),rl={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},il={class:"flex-1 flex flex-col items-center"},ol=m("div",{class:"sm:mx-auto sm:w-full sm:max-w-sm"},[m("h2",{class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"}," 实名认证 ")],-1),sl={class:"mt-4"},al=m("label",{for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},"姓名 ",-1),ll={class:"mt-2"},cl={class:"mt-4"},dl=m("label",{for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},"身份证号 ",-1),fl={class:"mt-2"},hl={key:0,class:"flex items-center justify-between my-3"},gl={class:"flex items-center"},pl={class:"ml-1 text-center text-sm text-gray-500 dark:text-gray-400"},ml=me({__name:"Identity",props:{visible:{type:Boolean}},setup(e){const t=Ke(),{isMobile:u}=Je(),n=j(!1),r=$e(),i=Be(),o=M(()=>i.globalConfig),s=j({name:"",idCard:""}),a={name:[{required:!0,message:"请输入姓名",trigger:"blur"}],idCard:[{required:!0,message:"请输入身份证号",trigger:"blur"}]},l=j(!0);function c(){l.value=!0}function d(){if(l.value===!1&&o.value.isAutoOpenAgreement==="1")return t.error(`请阅读并同意《${o.value.agreementTitle}》`);n.value=!1,jo(s.value).then(h=>{h.code===200?(t.success("认证成功"),r.updateIdentityDialog(!1)):t.error("认证失败")})}return(h,p)=>h.visible?(L(),P("div",rl,[m("div",{class:Z(["bg-white p-6 rounded-lg shadow-lg w-full max-h-[70vh] flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",{"max-w-[95vw]":F(u),"max-w-xl":!F(u)}])},[W(F(_t),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:p[0]||(p[0]=f=>F(r).updateIdentityDialog(!1))}),m("div",il,[m("div",{class:Z(["flex w-full flex-col h-full justify-center",F(u)?"px-5 py-5":"px-10 py-5"])},[W(F(Jt),{ref:"formRef",model:s.value,rules:a,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:pe(()=>[ol,m("div",sl,[al,m("div",ll,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":p[1]||(p[1]=f=>s.value.name=f),placeholder:"请输入姓名",class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,512),[[_e,s.value.name]])])]),m("div",cl,[dl,m("div",fl,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":p[2]||(p[2]=f=>s.value.idCard=f),placeholder:"请输入身份证号",class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,512),[[_e,s.value.idCard]])])]),o.value.isAutoOpenAgreement==="1"?(L(),P("div",hl,[m("div",gl,[ae(m("input",{"onUpdate:modelValue":p[3]||(p[3]=f=>l.value=f),type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,512),[[tu,l.value]]),m("p",pl,[oe(" 已阅读并同意 "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:c},"《"+N(o.value.agreementTitle)+"》",1)])])])):V("",!0),m("div",null,[m("button",{onClick:p[4]||(p[4]=f=>n.value=!0),type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"}," 提交认证 ")])]),_:1},8,["model"])],2)])],2),W(Wn,{show:n.value,onSuccess:p[5]||(p[5]=f=>d()),onClose:p[6]||(p[6]=f=>n.value=!1),class:"bg-red-500"},null,8,["show"])])):V("",!0)}}),bl={class:"sm:mx-auto sm:w-full sm:max-w-sm"},yl={class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},xl={class:"mt-4 flex"},vl=["placeholder"],_l={key:0,class:"mt-4 relative"},kl=["placeholder"],wl=["disabled","loading"],Cl={class:"rounded-lg"},Al={class:"mt-4"},El=["placeholder"],Dl={key:1,class:"flex items-center justify-between my-3"},Sl={class:"flex items-center"},Fl={class:"ml-1 text-center text-sm text-gray-500 dark:text-gray-400"},Tl={key:2,class:"text-center text-sm text-gray-500 dark:text-gray-400"},Il={class:"mb-8 sm:mx-auto sm:w-full sm:max-w-sm"},zl={class:"text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},Ll={class:"mt-4"},$l={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Bl={class:"mt-2"},Ml=["placeholder"],Rl={class:"mt-4"},Pl={class:"mt-2"},Nl={for:"username",class:"block text-sm font-medium leading-6 text-gray-900 dark:text-gray-300"},Ol=["placeholder"],jl={class:"flex items-center justify-between my-3"},Ul={key:0,class:"flex items-center justify-between my-3"},ql={class:"flex items-center"},Hl={class:"ml-1 text-center text-sm text-gray-500 dark:text-gray-400"},Wl={key:0,class:"text-center text-sm text-gray-500 dark:text-gray-400"},Vl={key:0},Gl=m("div",{class:"sm:mx-auto sm:w-full sm:max-w-sm"},[m("h2",{class:"mb-8 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"}," 验证码登录 ")],-1),Xl={class:"mt-4 relative"},Zl=["placeholder"],Yl=["disabled","loading"],Ql={class:"mt-4 flex"},Jl=["placeholder"],Kl={key:0,class:"mt-0 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},e0=me({__name:"Email",emits:["changeLoginType"],setup(e,{emit:t}){const u=t,n=j(null),r=Ke(),i=j(!0),o=j(!1),s=Be(),a=j(0),l=s.globalConfig.siteName,{isMobile:c}=Je(),d=j(!1),h=j(!1),p=$e(),f=M(()=>s.globalConfig),b=j({password:"",contact:"",captchaId:null,code:""}),k=j({username:"",password:"",contact:""}),v={username:[{required:!0,message:R("login.enterUsername"),trigger:"blur"},{min:2,max:30,message:R("login.usernameLength"),trigger:"blur"}],password:[{required:!0,message:R("login.enterPassword"),trigger:"blur"},{min:6,max:30,message:R("login.passwordLength"),trigger:"blur"}],email:[{required:!0,message:R("login.enterEmail"),trigger:"blur"},{type:"email",message:R("login.emailValid"),trigger:["blur","change"]}]},y=M(()=>Number(s.globalConfig.wechatRegisterStatus)===1),x=M(()=>Number(s.globalConfig.phoneLoginStatus)===1),_=M(()=>Number(s.globalConfig.noVerifyRegister)===1),A=M(()=>Number(s.globalConfig.emailLoginStatus)===1),T=j(!0);function I(){T.value=!0,p.updateUserAgreementDialog(!0)}const w=M(()=>{if(A.value&&x.value)return R("login.emailPhone");if(A.value)return R("login.email");if(x.value)return R("login.phone")}),D=M(()=>{if(A.value&&x.value)return R("login.enterEmailOrPhone");if(A.value)return R("login.enterEmail");if(x.value)return R("login.enterPhone")});function C(){a.value>0&&setTimeout(()=>{a.value--,C()},1e3)}async function E(){var z;h.value=!1,(z=n.value)==null||z.validate(async $=>{if(!$)try{const{contact:B,captchaId:U}=b.value,J={contact:B,captchaId:U};let Y;Y=await Jo(J);const{success:se,message:ye}=Y;se?(r.success(Y.data),a.value=60,C()):r.error(ye)}catch{}})}function S(){var z;if(T.value===!1&&f.value.isAutoOpenAgreement==="1")return r.error(`请阅读并同意《${f.value.agreementTitle}》`);(z=n.value)==null||z.validate(async $=>{if(!$)try{o.value=!0;const B=i.value?Ko:es,U=i.value?{username:k.value.username,password:k.value.password}:b.value,J=await B(U);o.value=!1;const{success:Y,message:se}=J;if(!Y)return r.error(se);if(i.value)r.success(R("login.loginSuccess")),s.setToken(J.data),s.getUserInfo(),s.setLoginDialog(!1);else{r.success(R("login.registrationSuccess"));const{contact:ye,password:st}=b.value;k.value.username=ye,k.value.password=st,i.value=!i.value}}catch{o.value=!1}})}return(z,$)=>(L(),P("div",{class:Z(["flex w-full flex-col h-full justify-center",F(c)?"px-5 py-5":"px-10 py-5"])},[!i.value&&!d.value?(L(),ne(F(Jt),{key:0,ref_key:"formRef",ref:n,model:b.value,rules:v,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:pe(()=>[m("div",bl,[m("h2",yl,N(F(l))+" "+N(F(R)("login.registerTitle")),1)]),m("div",xl,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":$[0]||($[0]=B=>b.value.contact=B),placeholder:F(R)("login.enterContact")+w.value,class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,vl),[[_e,b.value.contact]])]),_.value?V("",!0):(L(),P("div",_l,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":$[1]||($[1]=B=>b.value.code=B),placeholder:F(R)("login.enterCode"),class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,kl),[[_e,b.value.code]]),_.value?V("",!0):(L(),P("button",{key:0,block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:o.value,loading:o.value,onClick:$[2]||($[2]=B=>h.value=!0)},N(F(R)("login.sendVerificationCode")),9,wl))])),m("div",Cl,[W(Wn,{show:h.value,onSuccess:$[3]||($[3]=B=>E()),onClose:$[4]||($[4]=B=>h.value=!1),class:"bg-red-500"},null,8,["show"])]),m("div",Al,[ae(m("input",{id:"username",type:"password","onUpdate:modelValue":$[5]||($[5]=B=>b.value.password=B),placeholder:F(R)("login.enterPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,El),[[_e,b.value.password]])]),f.value.isAutoOpenAgreement==="1"?(L(),P("div",Dl,[m("div",Sl,[ae(m("input",{"onUpdate:modelValue":$[6]||($[6]=B=>T.value=B),type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,512),[[tu,T.value]]),m("p",Fl,[oe(" 已阅读并同意 "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:I},"《"+N(f.value.agreementTitle)+"》",1)])])])):V("",!0),m("div",null,[m("button",{onClick:S,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},N(F(R)("login.registerAccount")),1)]),A.value||x.value?(L(),P("p",Tl,[oe(N(F(R)("login.alreadyHaveAccount"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:$[7]||($[7]=B=>i.value=!i.value)},N(F(R)("login.goToLogin")),1)])):V("",!0)]),_:1},8,["model"])):V("",!0),i.value&&!d.value?(L(),ne(F(Jt),{key:1,size:"large",ref_key:"formRef",ref:n,model:k.value,rules:v,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:pe(()=>[m("div",Il,[m("h2",zl,N(F(l))+" 登录 ",1)]),m("div",Ll,[m("label",$l,N(w.value),1),m("div",Bl,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":$[8]||($[8]=B=>k.value.username=B),placeholder:D.value,class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ml),[[_e,k.value.username]])])]),m("div",Rl,[m("div",Pl,[m("label",Nl,N(F(R)("login.password")),1),ae(m("input",{id:"password",type:"password","onUpdate:modelValue":$[9]||($[9]=B=>k.value.password=B),placeholder:F(R)("login.enterYourPassword"),class:"block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Ol),[[_e,k.value.password]])])]),m("div",jl,[f.value.isAutoOpenAgreement==="1"?(L(),P("div",Ul,[m("div",ql,[ae(m("input",{"onUpdate:modelValue":$[10]||($[10]=B=>T.value=B),type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,512),[[tu,T.value]]),m("p",Hl,[oe(" 已阅读并同意 "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:I},"《"+N(f.value.agreementTitle)+"》",1)])])])):V("",!0)]),m("div",null,[m("button",{onClick:S,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"},N(F(R)("login.loginAccount")),1)]),A.value||x.value?(L(),P("p",Wl,[oe(N(F(R)("login.noAccount"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:$[11]||($[11]=B=>i.value=!i.value)},N(F(R)("login.register")),1),y.value?(L(),P("div",Vl,[oe(N(F(R)("login.orUse")),1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:$[12]||($[12]=B=>u("changeLoginType","wechat"))},N(F(R)("login.scanLogin")),1)])):V("",!0)])):V("",!0)]),_:1},8,["model"])):V("",!0),d.value?(L(),ne(F(Jt),{key:2,ref_key:"formRef",ref:n,model:b.value,rules:v,"label-placement":"left","label-width":"auto","require-mark-placement":"right-hanging"},{default:pe(()=>[Gl,m("div",Xl,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":$[13]||($[13]=B=>b.value.contact=B),placeholder:F(R)("login.enterContact")+w.value,class:"block w-full rounded-md border-0 py-2 px-2 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400 pl-3 pr-12"},null,8,Zl),[[_e,b.value.contact]]),m("button",{block:"",class:"absolute right-0 top-1/2 transform -translate-y-1/2 flex justify-center rounded-r-md bg-primary-500 px-2 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",disabled:o.value,loading:o.value,onClick:E},N(F(R)("login.sendVerificationCode")),9,Yl)]),m("div",Ql,[ae(m("input",{id:"username",type:"text","onUpdate:modelValue":$[14]||($[14]=B=>b.value.code=B),placeholder:F(R)("login.enterCode"),class:"flex-1 block w-full rounded-md border-0 py-2 px-3 text-gray-900 shadow-sm dark:text-gray-300 ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-gray-300 sm:text-sm sm:leading-6 dark:bg-gray-800 dark:focus:ring-gray-400"},null,8,Jl),[[_e,b.value.code]])]),m("div",null,[m("button",{onClick:S,type:"submit",class:"flex w-full my-5 justify-center rounded-md bg-primary-500 px-3 py-2 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-primary-400 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600"}," 验证码登录 ")]),A.value||x.value?(L(),P("p",Kl,[oe(" 继续使用密码登录? "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:$[15]||($[15]=B=>d.value=!d.value)},"返回")])):V("",!0)]),_:1},8,["model"])):V("",!0)],2))}}),t0={class:"sm:mx-auto sm:w-full sm:max-w-sm"},u0={class:"pt-5 pb-10 text-center text-2xl font-bold leading-9 tracking-tight text-gray-900 dark:text-gray-300"},n0={key:3,class:"flex items-center justify-between mt-5"},r0={class:"flex items-center"},i0={class:"ml-1 text-center text-sm text-gray-500 dark:text-gray-400"},o0={key:4,class:"mt-3 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},s0={key:5,class:"mt-10 mb-5 text-center text-sm text-gray-500 dark:text-gray-400"},a0=me({__name:"Wechat",emits:["changeLoginType"],setup(e,{emit:t}){const u=j(),n=j(),r=t,i=j(""),o=j(""),s=j(!1),a=Ke(),l=Be(),c=j(),{isMobile:d}=Je(),h=M(()=>Number(l.globalConfig.phoneLoginStatus)===1),p=j(!0),f=$e();function b(){p.value=!0,f.updateUserAgreementDialog(!0)}const k=M(()=>l.globalConfig),v=M(()=>Number(l.globalConfig.emailLoginStatus)===1),y=M(()=>{if(v.value&&h.value)return R("login.emailPhone");if(v.value)return R("login.email");if(h.value)return R("login.phone")});function x(w){return new Promise((D,C)=>{const E=new Image;E.onload=()=>D(E),E.onerror=C,E.src=w})}async function _(){const D=await Uo({});D.success&&(o.value=D.data,T())}async function A(){if(!o.value)return;const w=await qo({sceneStr:o.value});w.data&&(clearInterval(u.value),a.success(R("login.loginSuccess")),l.setToken(w.data),l.getUserInfo(),l.setLoginDialog(!1))}async function T(){const w=await Jr({sceneStr:o.value});w.success&&(s.value=!0,await x(w.data),i.value=w.data,u.value=setInterval(()=>{A()},1e3))}function I(){var w;_(),(w=c.value)==null||w.reset()}return Fe(()=>{I(),n.value!==null&&clearInterval(n.value),n.value=setInterval(I,6e4)}),qn(()=>{u.value!==null&&clearInterval(u.value),n.value!==null&&clearInterval(n.value)}),(w,D)=>(L(),P("div",{class:Z(["w-full h-full flex flex-col items-center",F(d)?"px-10 py-10":" py-10"])},[m("div",t0,[m("h2",u0,N(F(R)("login.wechatLogin")),1)]),i.value&&(p.value||k.value.isAutoOpenAgreement!=="1")?(L(),ne(F(ii),{key:0,"preview-disabled":"",class:"w-[220px] h-[220px] select-none",src:i.value},null,8,["src"])):(L(),ne(F(Hn),{key:1,height:"220px",width:"220px",animated:""})),i.value?V("",!0):(L(),ne(F(Vu),{key:2,size:"large",class:"absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2"})),k.value.isAutoOpenAgreement==="1"?(L(),P("div",n0,[m("div",r0,[ae(m("input",{"onUpdate:modelValue":D[0]||(D[0]=C=>p.value=C),type:"checkbox",class:"h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-600"},null,512),[[tu,p.value]]),m("p",i0,[oe(" 扫码登录及代表同意 "),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:b},"《"+N(k.value.agreementTitle)+"》",1)])])])):V("",!0),v.value||h.value?(L(),P("p",o0,[oe(N(F(R)("login.wechatScanFailed"))+" ",1),m("a",{href:"#",class:"font-semibold leading-6 text-primary-600 hover:text-primary-500 dark:text-primary-500 dark:hover:text-primary-600",onClick:D[1]||(D[1]=C=>r("changeLoginType","email"))},N(y.value),1)])):(L(),P("p",s0,N(F(R)("login.useWechatScan")),1))],2))}});const l0={key:0,class:"fixed inset-0 z-50 flex flex-col items-center justify-center bg-black bg-opacity-50 py-6"},c0={key:0,class:"flex items-center justify-center h-[600px]"},d0={key:1,class:"flex-1 flex flex-col items-center"},f0=me({__name:"Login",props:{visible:{type:Boolean}},setup(e){const t=Be();j(!1),j(""),j("");const u=j(null),n=j(!0),r=j("email"),{isMobile:i}=Je(),o=M(()=>Number(t.globalConfig.emailLoginStatus)===1),s=M(()=>Number(t.globalConfig.wechatRegisterStatus)===1),a=M(()=>Number(t.globalConfig.phoneLoginStatus)===1),l=M(()=>!s.value&&!a.value&&!o.value);function c(d){d==="wechat"?n.value=!0:(n.value=!1,r.value=d,uu(()=>{var h;(h=u.value)==null||h.syncBarPosition()}))}return(d,h)=>d.visible?(L(),P("div",l0,[m("div",{class:Z(["bg-white p-6 rounded-lg shadow-lg w-full max-h-[70vh] flex flex-col dark:bg-gray-900 dark:text-gray-400 relative",{"max-w-[95vw]":F(i),"max-w-xl":!F(i)}])},[W(F(_t),{size:"18",class:"absolute top-3 right-3 cursor-pointer z-30",onClick:h[0]||(h[0]=p=>F(t).setLoginDialog(!1))}),l.value?(L(),P("div",c0,[W(F(xs),{size:"small",status:"403",title:"网站已经关闭注册通道",description:"请联系管理员开通吧"},{footer:pe(()=>[W(F(oi),{size:"small",onClick:h[1]||(h[1]=p=>F(t).setLoginDialog(!1))},{default:pe(()=>[oe(" 知道了 ")]),_:1})]),_:1})])):(L(),P("div",d0,[s.value&&n.value?(L(),ne(a0,{key:0,onChangeLoginType:c})):(L(),ne(e0,{key:1,onChangeLoginType:c}))]))],2)])):V("",!0)}});function h0(){return Un({url:"/config/notice"})}const g0=e=>{const t=typeof e;return t!=="function"&&t!=="object"||e===null},p0=e=>{const t=e.flags===""?void 0:e.flags;return new RegExp(e.source,t)},Yt=(e,t=new WeakMap)=>{if(e===null||g0(e))return e;if(t.has(e))return t.get(e);if(e instanceof RegExp)return p0(e);if(e instanceof Date)return new Date(e.getTime());if(e instanceof Function)return e;if(e instanceof Map){const n=new Map;return t.set(e,n),e.forEach((r,i)=>{n.set(i,Yt(r,t))}),n}if(e instanceof Set){const n=new Set;t.set(e,n);for(const r of e)n.add(Yt(r,t));return n}if(Array.isArray(e)){const n=[];return t.set(e,n),e.forEach(r=>{n.push(Yt(r,t))}),n}const u={};t.set(e,u);for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(u[n]=Yt(e[n],t));return u},di=(e,t=200)=>{let u=0;return(...n)=>new Promise(r=>{u&&(clearTimeout(u),r("cancel")),u=window.setTimeout(()=>{e.apply(void 0,n),u=0,r("done")},t)})},wn=()=>`${Date.now().toString(36)}${Math.random().toString(36).substring(2)}`,fr=e=>e!==null&&typeof e=="object"&&!Array.isArray(e),fi=(e,t)=>{for(const u in t)fr(t[u])&&fr(e[u])?e[u]=fi(e[u],t[u]):e[u]=t[u];return e},q="md-editor",m0="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.js",b0="https://at.alicdn.com/t/c/font_2605852_cmafimm6hot.css",ue="https://cdnjs.cloudflare.com/ajax/libs",y0=`${ue}/highlight.js/11.8.0/highlight.min.js`,hr={main:`${ue}/prettier/2.8.0/standalone.js`,markdown:`${ue}/prettier/2.8.0/parser-markdown.js`},x0={css:`${ue}/cropperjs/1.5.13/cropper.min.css`,js:`${ue}/cropperjs/1.5.13/cropper.min.js`},v0=`${ue}/screenfull.js/5.2.0/screenfull.min.js`,_0=["bold","underline","italic","strikeThrough","-","title","sub","sup","quote","unorderedList","orderedList","task","-","codeRow","code","link","image","table","mermaid","katex","-","revoke","next","save","=","prettier","pageFullscreen","fullscreen","preview","previewOnly","htmlPreview","catalog","github"],k0=["markdownTotal","=","scrollSwitch"],gr={"zh-CN":{toolbarTips:{bold:"加粗",underline:"下划线",italic:"斜体",strikeThrough:"删除线",title:"标题",sub:"下标",sup:"上标",quote:"引用",unorderedList:"无序列表",orderedList:"有序列表",task:"任务列表",codeRow:"行内代码",code:"块级代码",link:"链接",image:"图片",table:"表格",mermaid:"mermaid图",katex:"katex公式",revoke:"后退",next:"前进",save:"保存",prettier:"美化",pageFullscreen:"浏览器全屏",fullscreen:"屏幕全屏",preview:"预览",previewOnly:"仅预览",htmlPreview:"html代码预览",catalog:"目录",github:"源码地址"},titleItem:{h1:"一级标题",h2:"二级标题",h3:"三级标题",h4:"四级标题",h5:"五级标题",h6:"六级标题"},imgTitleItem:{link:"添加链接",upload:"上传图片",clip2upload:"裁剪上传"},linkModalTips:{linkTitle:"添加链接",imageTitle:"添加图片",descLabel:"链接描述:",descLabelPlaceHolder:"请输入描述...",urlLabel:"链接地址:",urlLabelPlaceHolder:"请输入链接...",buttonOK:"确定"},clipModalTips:{title:"裁剪图片上传",buttonUpload:"上传"},copyCode:{text:"复制代码",successTips:"已复制!",failTips:"复制失败!"},mermaid:{flow:"流程图",sequence:"时序图",gantt:"甘特图",class:"类图",state:"状态图",pie:"饼图",relationship:"关系图",journey:"旅程图"},katex:{inline:"行内公式",block:"块级公式"},footer:{markdownTotal:"字数",scrollAuto:"同步滚动"}},"en-US":{toolbarTips:{bold:"bold",underline:"underline",italic:"italic",strikeThrough:"strikeThrough",title:"title",sub:"subscript",sup:"superscript",quote:"quote",unorderedList:"unordered list",orderedList:"ordered list",task:"task list",codeRow:"inline code",code:"block-level code",link:"link",image:"image",table:"table",mermaid:"mermaid",katex:"formula",revoke:"revoke",next:"undo revoke",save:"save",prettier:"prettier",pageFullscreen:"fullscreen in page",fullscreen:"fullscreen",preview:"preview",previewOnly:"preview only",htmlPreview:"html preview",catalog:"catalog",github:"source code"},titleItem:{h1:"Lv1 Heading",h2:"Lv2 Heading",h3:"Lv3 Heading",h4:"Lv4 Heading",h5:"Lv5 Heading",h6:"Lv6 Heading"},imgTitleItem:{link:"Add Img Link",upload:"Upload Img",clip2upload:"Clip Upload"},linkModalTips:{linkTitle:"Add Link",imageTitle:"Add Image",descLabel:"Desc:",descLabelPlaceHolder:"Enter a description...",urlLabel:"Link:",urlLabelPlaceHolder:"Enter a link...",buttonOK:"OK"},clipModalTips:{title:"Crop Image",buttonUpload:"Upload"},copyCode:{text:"Copy",successTips:"Copied!",failTips:"Copy failed!"},mermaid:{flow:"flow",sequence:"sequence",gantt:"gantt",class:"class",state:"state",pie:"pie",relationship:"relationship",journey:"journey"},katex:{inline:"inline",block:"block"},footer:{markdownTotal:"Character Count",scrollAuto:"Scroll Auto"}}},w0=`${ue}/mermaid/10.6.1/mermaid.esm.min.mjs`,C0={js:`${ue}/KaTeX/0.16.9/katex.min.js`,css:`${ue}/KaTeX/0.16.9/katex.min.css`},Cn={a11y:{light:`${ue}/highlight.js/11.8.0/styles/a11y-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/a11y-dark.min.css`},atom:{light:`${ue}/highlight.js/11.8.0/styles/atom-one-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/atom-one-dark.min.css`},github:{light:`${ue}/highlight.js/11.8.0/styles/github.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/github-dark.min.css`},gradient:{light:`${ue}/highlight.js/11.8.0/styles/gradient-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/gradient-dark.min.css`},kimbie:{light:`${ue}/highlight.js/11.8.0/styles/kimbie-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/kimbie-dark.min.css`},paraiso:{light:`${ue}/highlight.js/11.8.0/styles/paraiso-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/paraiso-dark.min.css`},qtcreator:{light:`${ue}/highlight.js/11.8.0/styles/qtcreator-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/qtcreator-dark.min.css`},stackoverflow:{light:`${ue}/highlight.js/11.8.0/styles/stackoverflow-light.min.css`,dark:`${ue}/highlight.js/11.8.0/styles/stackoverflow-dark.min.css`}},Qe={editorExtensions:{highlight:{js:y0,css:Cn},prettier:{standaloneJs:hr.main,parserMarkdownJs:hr.markdown},cropper:{...x0},iconfont:m0,iconfontClass:b0,screenfull:{js:v0},mermaid:{js:w0},katex:{...C0}},editorExtensionsAttrs:{},editorConfig:{languageUserDefined:{},mermaidTemplate:{},renderDelay:500,zIndex:2e4},codeMirrorExtensions:(e,t)=>t,markdownItConfig:()=>{},markdownItPlugins:e=>e,iconfontType:"svg",mermaidConfig:e=>e};var A0=Object.defineProperty,E0=(e,t,u)=>t in e?A0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:u}):e[t]=u,D0=(e,t,u)=>(E0(e,typeof t!="symbol"?t+"":t,u),u);class S0{constructor(){D0(this,"pools",{})}remove(t,u,n){const i=this.pools[t]&&this.pools[t][u];i&&(this.pools[t][u]=i.filter(o=>o!==n))}clear(t){this.pools[t]={}}on(t,u){return this.pools[t]||(this.pools[t]={}),this.pools[t][u.name]||(this.pools[t][u.name]=[]),this.pools[t][u.name].push(u.callback),this.pools[t][u.name].includes(u.callback)}emit(t,u,...n){this.pools[t]||(this.pools[t]={});const i=this.pools[t][u];i&&i.forEach(o=>{try{o(...n)}catch(s){console.error(`${u} monitor event exception!`,s)}})}}const ht=new S0,F0="buildFinished",ln="catalogChanged",T0="pushCatalog",hi="rerender",ot=(e,t,u="")=>{var n;const r=document.getElementById(t.id);if(r)u!==""&&(Reflect.get(window,u)?(n=t.onload)==null||n.call(r,new Event("load")):t.onload&&r.addEventListener("load",t.onload));else{const i={...t};i.onload=null;const o=z0(e,i);t.onload&&o.addEventListener("load",t.onload),document.head.appendChild(o)}},I0=(e,t)=>{const u=document.getElementById(t.id);u==null||u.remove(),ot(e,t)},z0=(e,t)=>{const u=document.createElement(e);return Object.keys(t).forEach(n=>{t[n]!==void 0&&(u[n]=t[n])}),u},L0=e=>{if(!e)return e;const t=e.split(` `),u=['"),`${e}${u.join("")}`},$0=(()=>{let e=0;return t=>t+ ++e})();/*! medium-zoom 1.1.0 | MIT License | https://github.com/francoischalifour/medium-zoom */var wt=Object.assign||function(e){for(var t=1;t - + - + diff --git a/public/chat/safari-pinned-tab.svg b/AIWebQuickDeploy/public/chat/safari-pinned-tab.svg similarity index 100% rename from public/chat/safari-pinned-tab.svg rename to AIWebQuickDeploy/public/chat/safari-pinned-tab.svg diff --git a/README.md b/README.md index 238b421..eefad64 100644 --- a/README.md +++ b/README.md @@ -1,115 +1,77 @@ -# 99 AI 稳定版 +# 🚀 99AI - 聚合 AI 服务平台 -可商业化的 AI Web 应用,旨在提供一个易部署、低门槛的集成化人工智能服务站点,支持多种部署方式。 +
      -为了方便用户部署,项目已经 **打包完成**,可直接运行部署。源码支持商用、二次开发及分发,但请保留[出处](https://github.com/vastxie/99AI),共同维护社区生态。 +[![GitHub stars](https://img.shields.io/github/stars/vastxie/99AI?style=social)](https://github.com/vastxie/99AI/stargazers) +[![开源协议](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](LICENSE) +[![开发指南](https://img.shields.io/badge/开发指南-orange.svg)](./docs/DEVELOPMENT.md) +[![功能介绍](https://img.shields.io/badge/功能介绍-green.svg)](./docs/FEATURES.md) -**二次开发源码** 存放于 `src` 目录下,开发者可以根据需要自由修改和扩展。 +> 🎓 新手入门?查看[部署指南](./docs/DEPLOYMENT.md),快速上手项目部署! +> +> 📢 遇到问题?加入[交流群](#交流群),获取最新动态,与社区伙伴一起学习讨论,共同进步! -## 项目介绍 +
      -### 主要功能 +## 🌟 项目介绍 -- [x] **AI 对话**:支持 OpenAI Chat 格式,后台可自定义模型名称、头像、介绍、代理、key、积分扣除方式、文件上传模式等参数。 +99AI 是一个**可商业化的 AI Web 平台**,提供一站式的人工智能服务解决方案。支持私有化部署,内置多用户管理,适合企业、团队或个人快速构建 AI 服务。 -image +### 🚀 核心优势 -- [x] **多模态模型**:使用`gpt-4o`、`claude-3`等视觉模型,或`gpt-4-all`等逆向模型,完成图像、文件的识别分析。 +- **开箱即用**:基于 Node.js 完整打包,支持 Docker 一键部署 +- **功能丰富**:集成主流 AI 能力,覆盖多场景应用 +- **安全可控**:支持私有化部署,数据自主管理 +- **开发友好**:提供源码级访问,支持二次开发与功能扩展 +- **商业支持**:内置多种支付方式,支持商业化运营,助力变现 -image +### 💡 主要功能 -- [x] **全模型文件分析** +- 🤖 **AI 对话**:支持自定义模型参数,灵活配置 +- 🔍 **智能搜索**:联网实时搜索,突破知识边界 +- 💡 **深度思考**:支持深度思考模型 +- 🔧 **应用拓展**:自定义应用预设,灵活配置场景 +- 🎨 **AI 创作**:绘画、音乐、视频一站式生成 +- 📝 **文件分析**:支持多模态分析,智能解析文档 +- 🗺️ **思维导图**:可视化思维整理工具 +- 🛡️ **风控管理**:支持敏感词过滤,内容安全管控 +- 💼 **知识库**:预设知识模板,提升交互效率 -image +👉 [更多功能介绍及截图](./docs/FEATURES.md) -- [x] **代码预览**: `HTML` 代码的预览与编辑。 +## 🔥 版本对比 -image +| 特性 | 稳定版 | 开发版 | +| -------- | -------------- | -------- | +| 商用许可 | ✅ 支持 | ✅ 支持 | +| 源码状态 | 未编译,可修改 | 已编译 | +| 获取方式 | 开源免费 | 赞助获取 | +| 功能特性 | 基础功能 | 优先更新 | -image +可在[更新日志](./docs/CHANGELOG.md)中查看比对详细的版本差异,或访问[LightAI 助手](https://asst.lightai.cloud)体验最新开发版 -- [x] **联网搜索**:对接[插件系统](https://github.com/vastxie/99AIPlugin),拓展 AI 功能边界。 +## 📦 项目结构 -image - -- [x] **思维导图** - -image - -image - -- [x] **AI 绘画**:对接 `midjourney` 、`dall-e`、`stable-diffusion` 等绘画模型。 - -image - -image - -- [x] **AI 音乐**:对接 `suno-music` 完成音乐创作。 - -image - -image - -- [x] **AI 视频**:对接 `luma-video` 文生视频。 - -image - -image - -- [x] **知识库预设** - -image - -image - -image - -- [x] 更多功能持续开发中 ··· ··· - -## 版本说明 - -| 特性 | 稳定版 | 开发版 | -| :----------- | :------------------- | :------------------------------------------------------------- | -| **商用许可** | 支持商用 | 支持商用 | -| **源码状态** | 未编译,支持自由修改 | 已编译,代码不可二次开发 | -| **获取方式** | 公开项目 | 私有库,需赞助后获取 | -| **页面特性** | 单对话页面 | 包含更多功能页面(如独立的绘画页面、思维导图页面、分销页面等) | - -## 部署指南 - -请参考完整的 [部署文档](./DEPLOYMENT.md) 了解详细信息。 - -部署文档可能不是非常详细,但绝对够用。如果在安装或配置中遇到任何问题,可询问 AI、通过 [issue](https://github.com/vastxie/99AI/issues) 反馈或交流群内提问题。 - -## 项目开发 - -请参考完整的 [开发文档](./src/DEVELOPMENT.md) 了解详细的开发流程和指引。 - -### 目录结构 - -```plaintext +```tree 99AI/ -├── DEPLOYMENT.md # 部署文档 -├── Dockerfile # Docker 配置文件 -├── deploy.sh # 一键部署脚本 -├── docker-compose.yml # Docker Compose 配置文件 -├── dist/ # 打包后的静态资源与后端代码 -├── logs/ # 日志存储目录 -├── public/ # 前端公共静态资源 -└── src/ # 源码目录 - ├── admin/ # 管理端(基于 Fantastic Admin Basic 构建) - ├── chat/ # 用户端(用户对话页面) - ├── service/ # 后端服务(基于 NestJS 构建的核心 API 服务) - └── build.sh # 一键打包脚本 +├── AIWebQuickDeploy/ # 快速部署整合包 +├── src/ # 源码目录 +│ ├── admin/ # 管理后台 +│ ├── chat/ # 用户界面 +│ └── service/ # 后端服务 +└── docs/ # 文档资源 ``` -## 学习交流 +## 💬 交流学习 -扫码添加微信备注 `99`,拉交流群。(不接受私聊技术咨询,有问题优先群内交流) +### 社区参与 -WeChat QR code for joining the group +- 欢迎提交 [Issue](https://github.com/vastxie/99AI/issues) 反馈问题或 Pull Request 共同维护 +- 本项目采用 [Apache 2.0](LICENSE) 开源协议,使用本项目时请保留项目署名和链接 +- 如果觉得项目不错,欢迎 Star ⭐️ -## Star History +### 交流群 -[![Star History Chart](https://api.star-history.com/svg?repos=vastxie/99AI&type=Date)](https://star-history.com/#vastxie/99AI&Date) +添加微信备注「99」进群交流,作者不提供私聊技术咨询,请优先阅读群公告 + + diff --git a/deploy.sh b/deploy.sh deleted file mode 100755 index 3c88869..0000000 --- a/deploy.sh +++ /dev/null @@ -1,425 +0,0 @@ -#!/usr/bin/env bash -export LANG=zh_CN.UTF-8 - -# Set up color variables for output -red='\033[0;31m' -green='\033[0;32m' -plain='\033[0m' - -# Default values -NVM_URL="https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh" -default_node_version="18.16.0" -CHATGPT_PORT=9520 -CONFIG_FILE=docker-compose.yml - -# Welcome message -echo -e "${green}欢迎使用99AI一键部署和升级脚本${plain}" -echo -e "${green}----------------------------------------${plain}" -echo -e "${green}注意:${plain}" -echo -e "${green}1. Node.js 部署方式需要提前安装好 MySQL 和 Redis。${plain}" -echo -e "${green}2. Docker 部署方式可以选择新建 MySQL 和 Redis 容器。${plain}" -echo -e "${green}3. 从旧版本升级 Docker 时,请确保 data 和 SQL 文件已备份到根目录。${plain}" -echo -e "${green}----------------------------------------${plain}" - -check_cpu_arch() { - case "$(uname -m)" in - aarch64) arch=linux_arm64 ;; - i686) arch=linux_386 ;; - arm) arch=linux_arm ;; - x86_64) arch=linux_amd64 ;; - esac -} - -check_os() { - # 检测 macOS - if [[ "$(uname)" == "Darwin" ]]; then - os_name="macOS" - InstallMethod="brew" - - # 检测 Linux 系统 - else - if command -v lsb_release >/dev/null; then - DISTRO=$(lsb_release -i -s) - else - DISTRO=$(grep -oP '^ID=\K.*' /etc/*-release) - fi - - case "$DISTRO" in - Debian|Ubuntu) - os_name="${DISTRO}-based Linux" - InstallMethod="sudo apt-get" - ;; - centos) - # 区分 CentOS 7 和 CentOS 8 - if [[ "$(grep -oP '^VERSION_ID="\K[0-9]+' /etc/*-release)" == "7" ]]; then - os_name="CentOS 7" - InstallMethod="yum" - else - os_name="CentOS 8" - InstallMethod="dnf" - fi - ;; - fedora) - os_name="Fedora" - InstallMethod="dnf" - ;; - opensuse-leap) - os_name="openSUSE Leap" - InstallMethod="sudo zypper" - ;; - *) - echo "未知操作系统,脚本不支持" - exit 1 - ;; - esac - fi -} - -install_if_missing() { - if ! command -v "$1" >/dev/null; then - echo -e "${red}$1 未安装,正在安装 $1...${plain}" - ${InstallMethod} install -y "$1" - echo -e "${green}$1 已安装${plain}" - else - echo -e "${green}$1 已安装${plain}" - fi -} - -install_nvm_and_node() { - if ! command -v node >/dev/null; then - echo -e "${red}node 未安装${plain}" - echo -e "${red}开始安装NVM${plain}" - curl -o- $NVM_URL | bash || wget -qO- $NVM_URL | bash - source ~/.bashrc - export NVM_DIR="$HOME/.nvm" - [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" - [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" - - echo -e "${green}列出node可用版本${plain}" - nvm ls-remote - read -p "请输入要安装的 Node.js 版本号 ,不知道安装啥的请回车[默认版本:$default_node_version]:" node_version - node_version="${node_version:-$default_node_version}" - echo -e "${red}正在安装 node-v$node_version${plain}" - nvm install $node_version - nvm use $node_version - source ~/.bashrc - - if ! command -v node >/dev/null; then - echo -e "${red}Node.js 安装失败,请检查错误信息!${plain}" - exit 1 - fi - installed_version=$(node -v) - if [[ "$installed_version" != "v$node_version" ]]; then - echo -e "${red}Node.js 安装失败,当前安装版本为 $installed_version, 期望安装版本为 v$node_version ${plain}" - exit 1 - fi - echo -e "${green}Node.js 安装完成!${plain}" - else - echo -e "${green}node 已安装${plain}" - fi -} - -install_add_docker() { - if [ -f "/etc/alpine-release" ]; then - echo -e "${red}docker 未安装,正在安装 docker...${plain}" - apk update - apk add docker docker-compose - echo -e "${green}docker 和 docker-compose 已安装${plain}" - rc-update add docker default - service docker start - else - echo -e "${red}docker 未安装,正在安装 docker...${plain}" - curl -fsSL https://get.docker.com | sh - echo -e "${green}docker 已安装${plain}" - ln -s /usr/libexec/docker/cli-plugins/docker-compose /usr/local/bin - echo -e "${green}docker-compose 已安装${plain}" - systemctl start docker - systemctl enable docker - fi - echo -e "${green}docker 和 docker-compose 已安装${plain}" - sleep 2 -} - -docker_install() { - if ! command -v docker &>/dev/null; then - install_add_docker - else - echo "Docker 已经安装" - fi -} - -check_dependencies() { - check_cpu_arch - check_os - - ${InstallMethod} update -y >/dev/null 2>&1 - - install_if_missing git - install_if_missing cat - install_if_missing curl - - if [[ "$operation_choice" == "1" || "$operation_choice" == "2" ]]; then - install_nvm_and_node - install_if_missing npm - - if ! command -v pm2 >/dev/null; then - echo -e "${red}pm2 未安装,正在安装 pm2...${plain}" - npm install -g pm2 - echo -e "${green}pm2 已安装${plain}" - else - echo -e "${green}pm2 已安装${plain}" - fi - elif [[ "$operation_choice" == "3" || "$operation_choice" == "4" ]]; then - docker_install - fi -} - -# Node.js 部署任务 -node_deploy() { - # 选择依赖管理工具 - read -p "请选择依赖管理工具(1. pnpm 2. yarn,输入q退出)[默认: 1]: " package_manager_choice - package_manager_choice=${package_manager_choice:-1} - - if [[ "$package_manager_choice" == "q" ]]; then - echo "退出脚本" - exit - fi - - if [[ "$package_manager_choice" == "2" ]]; then - if ! command -v yarn >/dev/null; then - echo -e "${red}yarn 未安装,正在安装 yarn...${plain}" - npm install -g yarn - echo -e "${green}yarn 已安装${plain}" - else - echo -e "${green}yarn 已安装${plain}" - fi - package_manager="yarn" - else - if ! command -v pnpm >/dev/null; then - echo -e "${red}pnpm 未安装,正在安装 pnpm...${plain}" - npm install -g pnpm - echo -e "${green}pnpm 已安装${plain}" - else - echo -e "${green}pnpm 已安装${plain}" - fi - package_manager="pnpm" - fi - - # 选择安装方式 - read -p "请选择安装方式(1. 全新安装 2. 更新,输入q退出)[默认: 1]: " install_choice - install_choice=${install_choice:-1} - - if [[ "$install_choice" == "q" ]]; then - echo "退出脚本" - exit - fi - - if [[ "$install_choice" == "2" ]]; then - echo "开始安装依赖包" - $package_manager install - echo "安装完成,开始运行99AI" - $package_manager start - pm2 save - exit - fi - - echo -e "${green}请确保已安装MySQL和Redis${plain}" - - echo -e "${green}正在进行运行配置${plain}" - read -p "设置PORT(程序访问端口)为[回车默认: 9520]: " input_port - PORT=${input_port:-9520} - - read -p "设置DB_HOST为(数据库地址)[回车默认: 127.0.0.1]: " input_db_host - DB_HOST=${input_db_host:-127.0.0.1} - - read -p "设置DB_PORT为(数据库端口)[回车默认: 3306]: " input_db_port - DB_PORT=${input_db_port:-3306} - - read -p "设置DB_USER为(数据库用户名)[回车默认: root]: " input_db_user - DB_USER=${input_db_user:-root} - - read -p "设置DB_PASS(数据库密码)为[回车默认: 空]: " input_db_pass - DB_PASS=${input_db_pass:-""} - - read -p "设置DB_DATABASE(数据库名)为: " input_db_database - DB_DATABASE=${input_db_database:-""} - - read -p "设置REDIS_PORT(redis端口)为[回车默认: 6379]: " input_redis_port - REDIS_PORT=${input_redis_port:-6379} - - read -p "设置REDIS_HOST(redis地址)为[回车默认: 127.0.0.1]: " input_redis_host - REDIS_HOST=${input_redis_host:-127.0.0.1} - - read -p "设置REDIS_PASSWORD(redis密码)为[回车默认: 空]: " input_redis_password - REDIS_PASSWORD=${input_redis_password:-""} - - read -p "设置REDIS_DB(redis数据库)为[回车默认: 0]: " input_redis_db - REDIS_DB=${input_redis_db:-"0"} - - cat >.env < /dev/null - } - - if [[ $change_port == "y" ]]; then - while check_port $CHATGPT_PORT; do - read -p "端口 $CHATGPT_PORT 被占用,请重新输入端口: " CHATGPT_PORT - done - echo -e "\e[34m恭喜,端口 $CHATGPT_PORT 可用\e[0m" - sed -E -i "s/[0-9]+:9520/$CHATGPT_PORT:9520/" docker-compose.yml - fi - - start_compose -} - -# Docker-compose 升级任务 -upgrade_compose() { - echo "停止当前服务..." - docker-compose down - echo "重新构建并启动服务..." - docker-compose up -d --build - echo "服务已启动。" - docker-compose ps -} - -# 选择操作 -echo "请选择操作:" -echo "1. Node.js 全新部署" -echo "2. Node.js 升级" -echo "3. Docker-compose 部署" -echo "4. Docker-compose 升级" - -read -p "请输入数字(1-4,输入q退出)[默认: 1]: " operation_choice -operation_choice=${operation_choice:-1} - -if [[ "$operation_choice" == "q" ]]; then - echo "退出脚本" - exit -fi - -check_dependencies - -case $operation_choice in - 1) - echo "Node.js 全新部署选择" - node_deploy - ;; - 2) - echo "Node.js 升级选择" - node_deploy - ;; - 3) - echo "Docker-compose 部署选择" - config_compose - ;; - 4) - echo "Docker-compose 升级选择" - upgrade_compose - ;; - *) - echo "无效选择,退出。" - quit - ;; -esac - -echo -e "==================================================================" -echo -e "\033[32m安装成功!\033[0m" -echo -e "==================================================================" diff --git a/dist/modules/badwords/badwords.controller.js b/dist/modules/badwords/badwords.controller.js deleted file mode 100644 index 83ef24c..0000000 --- a/dist/modules/badwords/badwords.controller.js +++ /dev/null @@ -1,100 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -var __param = (this && this.__param) || function (paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.BadWordsController = void 0; -const adminAuth_guard_1 = require("../../common/auth/adminAuth.guard"); -const superAuth_guard_1 = require("../../common/auth/superAuth.guard"); -const common_1 = require("@nestjs/common"); -const swagger_1 = require("@nestjs/swagger"); -const badWords_service_1 = require("./badWords.service"); -const addBadWords_dto_1 = require("./dto/addBadWords.dto"); -const delBadWords_dto_1 = require("./dto/delBadWords.dto"); -const queryBadWords_dto_1 = require("./dto/queryBadWords.dto"); -const queryViolation_dto_1 = require("./dto/queryViolation.dto"); -const updateBadWords_dto_1 = require("./dto/updateBadWords.dto"); -let BadWordsController = class BadWordsController { - constructor(badWordsService) { - this.badWordsService = badWordsService; - } - queryBadWords(query) { - return this.badWordsService.queryBadWords(query); - } - delBadWords(body) { - return this.badWordsService.delBadWords(body); - } - updateBadWords(body) { - return this.badWordsService.updateBadWords(body); - } - addBadWord(body) { - return this.badWordsService.addBadWord(body); - } - violation(req, query) { - return this.badWordsService.violation(req, query); - } -}; -__decorate([ - (0, common_1.Get)('query'), - (0, swagger_1.ApiOperation)({ summary: '查询所有敏感词' }), - __param(0, (0, common_1.Query)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [queryBadWords_dto_1.QueryBadWordsDto]), - __metadata("design:returntype", void 0) -], BadWordsController.prototype, "queryBadWords", null); -__decorate([ - (0, common_1.Post)('del'), - (0, swagger_1.ApiOperation)({ summary: '删除敏感词' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [delBadWords_dto_1.DelBadWordsDto]), - __metadata("design:returntype", void 0) -], BadWordsController.prototype, "delBadWords", null); -__decorate([ - (0, common_1.Post)('update'), - (0, swagger_1.ApiOperation)({ summary: '更新敏感词' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [updateBadWords_dto_1.UpdateBadWordsDto]), - __metadata("design:returntype", void 0) -], BadWordsController.prototype, "updateBadWords", null); -__decorate([ - (0, common_1.Post)('add'), - (0, swagger_1.ApiOperation)({ summary: '新增敏感词' }), - (0, common_1.UseGuards)(superAuth_guard_1.SuperAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Body)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [addBadWords_dto_1.AddBadWordDto]), - __metadata("design:returntype", void 0) -], BadWordsController.prototype, "addBadWord", null); -__decorate([ - (0, common_1.Get)('violation'), - (0, swagger_1.ApiOperation)({ summary: '查询违规记录' }), - (0, common_1.UseGuards)(adminAuth_guard_1.AdminAuthGuard), - (0, swagger_1.ApiBearerAuth)(), - __param(0, (0, common_1.Req)()), - __param(1, (0, common_1.Query)()), - __metadata("design:type", Function), - __metadata("design:paramtypes", [Object, queryViolation_dto_1.QueryViolationDto]), - __metadata("design:returntype", void 0) -], BadWordsController.prototype, "violation", null); -BadWordsController = __decorate([ - (0, swagger_1.ApiTags)('badWords'), - (0, common_1.Controller)('badWords'), - __metadata("design:paramtypes", [badWords_service_1.BadWordsService]) -], BadWordsController); -exports.BadWordsController = BadWordsController; diff --git a/dist/modules/badwords/badwords.entity.js b/dist/modules/badwords/badwords.entity.js deleted file mode 100644 index 626ca33..0000000 --- a/dist/modules/badwords/badwords.entity.js +++ /dev/null @@ -1,32 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.BadWordsEntity = void 0; -const baseEntity_1 = require("../../common/entity/baseEntity"); -const typeorm_1 = require("typeorm"); -let BadWordsEntity = class BadWordsEntity extends baseEntity_1.BaseEntity { -}; -__decorate([ - (0, typeorm_1.Column)({ length: 20, comment: '敏感词' }), - __metadata("design:type", String) -], BadWordsEntity.prototype, "word", void 0); -__decorate([ - (0, typeorm_1.Column)({ default: 1, comment: '敏感词开启状态' }), - __metadata("design:type", Number) -], BadWordsEntity.prototype, "status", void 0); -__decorate([ - (0, typeorm_1.Column)({ default: 0, comment: '敏感词触发次数' }), - __metadata("design:type", Number) -], BadWordsEntity.prototype, "count", void 0); -BadWordsEntity = __decorate([ - (0, typeorm_1.Entity)({ name: 'bad_words' }) -], BadWordsEntity); -exports.BadWordsEntity = BadWordsEntity; diff --git a/dist/modules/badwords/badwords.module.js b/dist/modules/badwords/badwords.module.js deleted file mode 100644 index 1275fa9..0000000 --- a/dist/modules/badwords/badwords.module.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.BadWordsModule = void 0; -const common_1 = require("@nestjs/common"); -const typeorm_1 = require("@nestjs/typeorm"); -const user_entity_1 = require("../user/user.entity"); -const badWords_controller_1 = require("./badWords.controller"); -const badWords_entity_1 = require("./badWords.entity"); -const badWords_service_1 = require("./badWords.service"); -const violationLog_entity_1 = require("./violationLog.entity"); -let BadWordsModule = class BadWordsModule { -}; -BadWordsModule = __decorate([ - (0, common_1.Global)(), - (0, common_1.Module)({ - imports: [ - typeorm_1.TypeOrmModule.forFeature([badWords_entity_1.BadWordsEntity, violationLog_entity_1.ViolationLogEntity, user_entity_1.UserEntity]), - ], - providers: [badWords_service_1.BadWordsService], - controllers: [badWords_controller_1.BadWordsController], - exports: [badWords_service_1.BadWordsService], - }) -], BadWordsModule); -exports.BadWordsModule = BadWordsModule; diff --git a/dist/modules/badwords/badwords.service.js b/dist/modules/badwords/badwords.service.js deleted file mode 100644 index d6c5361..0000000 --- a/dist/modules/badwords/badwords.service.js +++ /dev/null @@ -1,208 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -var __param = (this && this.__param) || function (paramIndex, decorator) { - return function (target, key) { decorator(target, key, paramIndex); } -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.BadWordsService = void 0; -const utils_1 = require("../../common/utils"); -const common_1 = require("@nestjs/common"); -const typeorm_1 = require("@nestjs/typeorm"); -const axios_1 = require("axios"); -const typeorm_2 = require("typeorm"); -const globalConfig_service_1 = require("../globalConfig/globalConfig.service"); -const user_entity_1 = require("../user/user.entity"); -const badWords_entity_1 = require("./badWords.entity"); -const violationLog_entity_1 = require("./violationLog.entity"); -let BadWordsService = class BadWordsService { - constructor(badWordsEntity, violationLogEntity, userEntity, globalConfigService) { - this.badWordsEntity = badWordsEntity; - this.violationLogEntity = violationLogEntity; - this.userEntity = userEntity; - this.globalConfigService = globalConfigService; - this.badWords = []; - } - async onModuleInit() { - this.loadBadWords(); - } - async customSensitiveWords(content, userId) { - const triggeredWords = []; - for (let i = 0; i < this.badWords.length; i++) { - const word = this.badWords[i]; - if (content.includes(word)) { - triggeredWords.push(word); - } - } - if (triggeredWords.length) { - await this.recordUserBadWords(userId, content, triggeredWords, ['自定义'], '自定义检测'); - } - return triggeredWords; - } - async checkBadWords(content, userId) { - const config = await this.globalConfigService.getSensitiveConfig(); - if (config) { - await this.checkBadWordsByConfig(content, config, userId); - } - return await this.customSensitiveWords(content, userId); - } - async checkBadWordsByConfig(content, config, userId) { - const { useType } = config; - useType === 'baidu' && - (await this.baiduCheckBadWords(content, config.baiduTextAccessToken, userId)); - } - extractContent(str) { - const pattern = /存在(.*?)不合规/; - const match = str.match(pattern); - return match ? match[1] : ''; - } - async baiduCheckBadWords(content, accessToken, userId) { - if (!accessToken) - return; - const url = `https://aip.baidubce.com/rest/2.0/solution/v1/text_censor/v2/user_defined?access_token=${accessToken}}`; - const headers = { - 'Content-Type': 'application/x-www-form-urlencoded', - Accept: 'application/json', - }; - const response = await axios_1.default.post(url, { text: content }, { headers }); - const { conclusion, error_code, error_msg, conclusionType, data } = response.data; - if (error_code) { - console.log('百度文本检测出现错误、请查看配置信息: ', error_msg); - } - if (conclusionType !== 1) { - const types = [ - ...new Set(data.map((item) => this.extractContent(item.msg))), - ]; - await this.recordUserBadWords(userId, content, ['***'], types, '百度云检测'); - const tips = `您提交的信息中包含${types.join(',')}的内容、我们已对您的账户进行标记、请合规使用!`; - throw new common_1.HttpException(tips, common_1.HttpStatus.BAD_REQUEST); - } - } - formarTips(wordList) { - const categorys = wordList.map((t) => t.category); - const unSet = [...new Set(categorys)]; - return `您提交的内容中包含${unSet.join(',')}的信息、我们已对您账号进行标记、请合规使用!`; - } - async loadBadWords() { - const data = await this.badWordsEntity.find({ - where: { status: 1 }, - select: ['word'], - }); - this.badWords = data.map((t) => t.word); - } - async queryBadWords(query) { - const { page = 1, size = 500, word, status } = query; - const where = {}; - [0, 1, '0', '1'].includes(status) && (where.status = status); - word && (where.word = (0, typeorm_2.Like)(`%${word}%`)); - const [rows, count] = await this.badWordsEntity.findAndCount({ - where, - skip: (page - 1) * size, - take: size, - order: { id: 'ASC' }, - }); - return { rows, count }; - } - async delBadWords(body) { - const b = await this.badWordsEntity.findOne({ where: { id: body.id } }); - if (!b) { - throw new common_1.HttpException('敏感词不存在,请检查您的提交信息', common_1.HttpStatus.BAD_REQUEST); - } - const res = await this.badWordsEntity.delete({ id: body.id }); - if (res.affected > 0) { - await this.loadBadWords(); - return '删除敏感词成功'; - } - else { - throw new common_1.HttpException('删除敏感词失败', common_1.HttpStatus.BAD_REQUEST); - } - } - async updateBadWords(body) { - const { id, word, status } = body; - const b = await this.badWordsEntity.findOne({ where: { word } }); - if (b) { - throw new common_1.HttpException('敏感词已经存在了、请勿重复添加', common_1.HttpStatus.BAD_REQUEST); - } - const res = await this.badWordsEntity.update({ id }, { word, status }); - if (res.affected > 0) { - await this.loadBadWords(); - return '更新敏感词成功'; - } - else { - throw new common_1.HttpException('更新敏感词失败', common_1.HttpStatus.BAD_REQUEST); - } - } - async addBadWord(body) { - const { word } = body; - const b = await this.badWordsEntity.findOne({ where: { word } }); - if (b) { - throw new common_1.HttpException('敏感词已存在,请检查您的提交信息', common_1.HttpStatus.BAD_REQUEST); - } - await this.badWordsEntity.save({ word }); - await this.loadBadWords(); - return '添加敏感词成功'; - } - async recordUserBadWords(userId, content, words, typeCn, typeOriginCn) { - const data = { - userId, - content, - words: JSON.stringify(words), - typeCn: JSON.stringify(typeCn), - typeOriginCn, - }; - try { - await this.userEntity - .createQueryBuilder() - .update(user_entity_1.UserEntity) - .set({ violationCount: () => 'violationCount + 1' }) - .where('id = :userId', { userId }) - .execute(); - await this.violationLogEntity.save(data); - } - catch (error) { - console.log('error: ', error); - } - } - async violation(req, query) { - const { role } = req.user; - const { page = 1, size = 10, userId, typeOriginCn } = query; - const where = {}; - userId && (where['userId'] = userId); - typeOriginCn && (where['typeOriginCn'] = typeOriginCn); - const [rows, count] = await this.violationLogEntity.findAndCount({ - where, - skip: (page - 1) * size, - take: size, - order: { id: 'DESC' }, - }); - const userIds = [...new Set(rows.map((t) => t.userId))]; - const usersInfo = await this.userEntity.find({ - where: { id: (0, typeorm_2.In)(userIds) }, - select: ['id', 'avatar', 'username', 'email', 'violationCount', 'status'], - }); - rows.forEach((t) => { - const user = usersInfo.find((u) => u.id === t.userId) || {}; - role !== 'super' && (user.email = (0, utils_1.hideString)(user.email)); - t.userInfo = user; - }); - return { rows, count }; - } -}; -BadWordsService = __decorate([ - (0, common_1.Injectable)(), - __param(0, (0, typeorm_1.InjectRepository)(badWords_entity_1.BadWordsEntity)), - __param(1, (0, typeorm_1.InjectRepository)(violationLog_entity_1.ViolationLogEntity)), - __param(2, (0, typeorm_1.InjectRepository)(user_entity_1.UserEntity)), - __metadata("design:paramtypes", [typeorm_2.Repository, - typeorm_2.Repository, - typeorm_2.Repository, - globalConfig_service_1.GlobalConfigService]) -], BadWordsService); -exports.BadWordsService = BadWordsService; diff --git a/dist/modules/badwords/dto/addBadWords.dto.js b/dist/modules/badwords/dto/addBadWords.dto.js deleted file mode 100644 index cee5e14..0000000 --- a/dist/modules/badwords/dto/addBadWords.dto.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.AddBadWordDto = void 0; -const swagger_1 = require("@nestjs/swagger"); -class AddBadWordDto { -} -__decorate([ - (0, swagger_1.ApiProperty)({ example: 'test', description: '敏感词', required: true }), - __metadata("design:type", String) -], AddBadWordDto.prototype, "word", void 0); -exports.AddBadWordDto = AddBadWordDto; diff --git a/dist/modules/badwords/dto/delBadWords.dto.js b/dist/modules/badwords/dto/delBadWords.dto.js deleted file mode 100644 index af05fed..0000000 --- a/dist/modules/badwords/dto/delBadWords.dto.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.DelBadWordsDto = void 0; -const swagger_1 = require("@nestjs/swagger"); -class DelBadWordsDto { -} -__decorate([ - (0, swagger_1.ApiProperty)({ example: 1, description: '敏感词id', required: true }), - __metadata("design:type", Number) -], DelBadWordsDto.prototype, "id", void 0); -exports.DelBadWordsDto = DelBadWordsDto; diff --git a/dist/modules/badwords/dto/queryBadWords.dto.js b/dist/modules/badwords/dto/queryBadWords.dto.js deleted file mode 100644 index a32266b..0000000 --- a/dist/modules/badwords/dto/queryBadWords.dto.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QueryBadWordsDto = void 0; -const class_validator_1 = require("class-validator"); -const swagger_1 = require("@nestjs/swagger"); -class QueryBadWordsDto { -} -__decorate([ - (0, swagger_1.ApiProperty)({ example: 1, description: '查询页数', required: false }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Number) -], QueryBadWordsDto.prototype, "page", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: 10, description: '每页数量', required: false }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Number) -], QueryBadWordsDto.prototype, "size", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: 'test', description: '敏感词内容', required: false }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) -], QueryBadWordsDto.prototype, "word", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: 1, description: '关键词状态', required: false }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Number) -], QueryBadWordsDto.prototype, "status", void 0); -exports.QueryBadWordsDto = QueryBadWordsDto; diff --git a/dist/modules/badwords/dto/queryViolation.dto.js b/dist/modules/badwords/dto/queryViolation.dto.js deleted file mode 100644 index cac1925..0000000 --- a/dist/modules/badwords/dto/queryViolation.dto.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.QueryViolationDto = void 0; -const class_validator_1 = require("class-validator"); -const swagger_1 = require("@nestjs/swagger"); -class QueryViolationDto { -} -__decorate([ - (0, swagger_1.ApiProperty)({ example: 1, description: '查询页数', required: false }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Number) -], QueryViolationDto.prototype, "page", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: 10, description: '每页数量', required: false }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Number) -], QueryViolationDto.prototype, "size", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: 1, description: '用户ID', required: false }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Number) -], QueryViolationDto.prototype, "userId", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: '百度云检测', description: '检测平台来源', required: false }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) -], QueryViolationDto.prototype, "typeOriginCn", void 0); -exports.QueryViolationDto = QueryViolationDto; diff --git a/dist/modules/badwords/dto/updateBadWords.dto.js b/dist/modules/badwords/dto/updateBadWords.dto.js deleted file mode 100644 index 68115cf..0000000 --- a/dist/modules/badwords/dto/updateBadWords.dto.js +++ /dev/null @@ -1,32 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateBadWordsDto = void 0; -const class_validator_1 = require("class-validator"); -const swagger_1 = require("@nestjs/swagger"); -class UpdateBadWordsDto { -} -__decorate([ - (0, swagger_1.ApiProperty)({ example: 1, description: '敏感词id', required: true }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Number) -], UpdateBadWordsDto.prototype, "id", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: 'test', description: '敏感词内容', required: false }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", String) -], UpdateBadWordsDto.prototype, "word", void 0); -__decorate([ - (0, swagger_1.ApiProperty)({ example: 1, description: '关键词状态', required: false }), - (0, class_validator_1.IsOptional)(), - __metadata("design:type", Number) -], UpdateBadWordsDto.prototype, "status", void 0); -exports.UpdateBadWordsDto = UpdateBadWordsDto; diff --git a/dist/modules/badwords/violationLog.entity.js b/dist/modules/badwords/violationLog.entity.js deleted file mode 100644 index 9a983ff..0000000 --- a/dist/modules/badwords/violationLog.entity.js +++ /dev/null @@ -1,40 +0,0 @@ -"use strict"; -var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { - var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; - if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); - else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; - return c > 3 && r && Object.defineProperty(target, key, r), r; -}; -var __metadata = (this && this.__metadata) || function (k, v) { - if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); -}; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ViolationLogEntity = void 0; -const typeorm_1 = require("typeorm"); -const baseEntity_1 = require("../../common/entity/baseEntity"); -let ViolationLogEntity = class ViolationLogEntity extends baseEntity_1.BaseEntity { -}; -__decorate([ - (0, typeorm_1.Column)({ comment: '用户id' }), - __metadata("design:type", Number) -], ViolationLogEntity.prototype, "userId", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '违规内容', type: 'text' }), - __metadata("design:type", String) -], ViolationLogEntity.prototype, "content", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '敏感词', type: 'text' }), - __metadata("design:type", String) -], ViolationLogEntity.prototype, "words", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '违规类型' }), - __metadata("design:type", String) -], ViolationLogEntity.prototype, "typeCn", void 0); -__decorate([ - (0, typeorm_1.Column)({ comment: '违规检测失败于哪个平台' }), - __metadata("design:type", String) -], ViolationLogEntity.prototype, "typeOriginCn", void 0); -ViolationLogEntity = __decorate([ - (0, typeorm_1.Entity)({ name: 'violation_log' }) -], ViolationLogEntity); -exports.ViolationLogEntity = ViolationLogEntity; diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md new file mode 100644 index 0000000..55730eb --- /dev/null +++ b/docs/CHANGELOG.md @@ -0,0 +1,640 @@ +# 更新日志 + +
      +稳定版 更新日志 + +## 稳定版 v4.1.0 + +### 更新内容 v4.1.0 + +- 前端适配 `` 标签格式的深度思考显示(`reasoning_content` 格式需开发版) +- 剔除使用外部联网插件,改用 API 方式调用联网搜索 +- 联网插件已支持多种方式(需自行登录以下网站,获取对应的 Key): + - [智谱 web-search-pro](https://bigmodel.cn) + - [博查 web-search](https://open.bochaai.com) + - [Tavily](https://app.tavily.com/home) + +### 注意事项 v4.1.0 + +- 升级前请做好数据库备份,本次升级项目结构有所调整,整合包迁移至 `AIWebQuickDeploy` 文件夹下,使用本地存储的文件,需自行迁移 +- 本次升级内容较少,思考推理模型搭配其他模型混合调用、联网搜索详情显示、UI 优化等升级本次不予合并进稳定版 + +## 稳定版 v4.0.0 + +### 开源说明 (v4.0.0) + +- v4.0.0 版本源码已开源,支持二次开发。 +- 部分不再维护的页面已移除,如有多页面需求可继续使用旧版或开发版(赞助获取)。 + +### 更新内容 (v4.0.0) + +- **本地存储**:支持本地数据存储,生成的视频和音乐默认保存到 `/public/file`。 +- **知识库问答**:新增关键词匹配功能,可通过内容预设提升问答效果。 +- **Midjourney 绘图**:支持 `describe` 功能,实现以图生文。 +- **Flux 绘画**:新增内置插件 `flux-draw`,需添加模型后启用。 +- **Suno 音乐生成**:支持歌词调整、音乐类型和风格选择。 +- **TTS 音色**:新增 OpenAI 语音朗读人音色选择功能。 +- **CogVideoX 视频生成**:新增内置插件 `cog-video`,需添加模型后启用。 +- **积分显示优化**:积分超过 99,999 时显示为"无限额度"。 +- **多图分析**:支持单次最多上传 4 张图片进行识别。 +- **更多更新**:功能细节请自行探索。 + +### 注意事项 (v4.0.0) + +- 本地存储功能需配置跨域访问和文件读写权限,更新迁移时请备份 `/public/file`。 + +
      + +## 开发版 v4.0.5 + +### 更新内容 v4.0.5 + +- 新增代码预览页分享功能 +- 新增 [Tavily](https://app.tavily.com/home) 联网支持,需自行登录网站,获取对应的 Key +- 联网搜索新增多 Key 支持,多个 Key 用英文逗号隔开,搜索时随机调用。 +- 实现 luma-video 视频延长拓展能力。 +- 增加一些页面过渡动画,让页面过渡更流畅。调整美化 UI +- 重构部分后端回复逻辑,优化回复流畅度 + +### 注意事项 v4.0.5 + +- 开发版测试有限,可能存在 功能/显示 不稳定情况,请谨慎升级,做好相关备份。 +- 近期对项目底层内容调整较大,可能存在一些新的 bug,有问题可通过[私有库 issues](https://github.com/AIWeb-Team/AIWeb/issues)反馈 + +## 开发版 v4.0.4 + +### 更新内容 v4.0.4 + +- 优化移动端底部边距,适配 iOS 设备的底部安全区域,确保内容不会被滑动条遮挡 +- 修复一些用户端样式显示问题。 +- 允许最多 3 台设备同时登录,暂未开放后台自定义(测试功能)。 +- 联网新增[博查 web-search](https://open.bochaai.com/)(非免费,需自行申请 KEY) +- 优化后端联网搜索逻辑,未搜索到结果不会直接返回空白。 + +### 注意事项 v4.0.4 + +- 开发版测试有限,可能存在 功能/显示 不稳定情况,请谨慎升级,做好相关备份。 +- 此版本无功能行更新,主要是修改前面的一些 bug,个人中心页暂时隐藏,新版聚合设置页即将上线。 + +## 开发版 v4.0.3 + +### 更新内容 v4.0.3 + +- 优化深度思考兼容逻辑,上下文传参剔除 AI 回答部分,节省 tokens 消耗 +- 思考模型(R1)兼容识图功能(需全局模型支持) +- 暂时取消依赖外部联网插件,改用智谱 web-search-pro(限免中),优化联网搜索体验和 UI 展示 +- 修复管理段套餐无法删除的问题 +- 显示设置新增显示卡密兑换开关,开启后将在购买页面显示卡密兑换按钮,可按需开启 +- 调整主页面布局,调整输入框 UI + +### 注意事项 v4.0.3 + +- 开发版测试有限,可能存在 功能/显示 不稳定情况,请谨慎升级,做好相关备份。 +- UI 调整是个长期工作,有问题可在群内反馈,共同打磨优化。 +- 联网搜索功能后期计划适配更多 API,或优化外置联网插件,当前方案可先白嫖[web-search-pro 地址](https://www.bigmodel.cn/invite?icode=oxNMS2FHOlZn63EUMmv8u3HEaazDlIZGj9HxftzTbt4%3D) + +## 开发版 v4.0.2 + +### 更新内容 (v4.0.2) + +- 新增 `deepseek-r1` 相关思考模型思考过程显示. +- 自动兼容 `` 标签及官方`reasoning_content`格式。 +- 调整客户端联网搜索,深度搜索位置,需在 模型管理-模型配置 单个模型中开启。(联网插件配置移动到 模型管理-基础配置) + +### 注意事项 (v4.0.2) + +- 开发版测试有限,可能存在 功能/显示 不稳定情况,请谨慎升级,做好相关备份。 +- 深度思考按钮开启后,将混合调用思考模型(需在 模型管理-基础配置 中配置思考模型)的思考加当前模型的正常回答,相比纯思考模型能力提升有待测试,另可直接在模型配置中增加思考模型。 + +## 开发版 v4.0.1 + +- 更新版本号。 +- 为方便开发,多页面功能已精简,后续不再维护,有相关需求可继续使用历史版本。 +- 版本号说明: v*.*.0 版本为测试后的稳定版,其他版本为日常开发版,可能存在因测试不充分存在的 bug,出现功能性 bug 可以在群内反馈。 + +## 开发版 v3.8.3 + +- 修复微信支付官方渠道电脑端调用支付失败的问题 +- 修复重复上传同一文件点击无反应的问题 +- 修复 flux 插件调用失败的问题,新增 `flux-dev` 、 `flux-pro` 模型支持,之前的 `flux-draw` 需手动修改成`flux`。 +- 新增识图单次多图像分析(最多 4 张)支持。 +- 模型全局设置新增 base64 格式转换开关。开启后,识图时将使用 base64 格式,对于本地/存储桶 链接 API 端无法访问时建议开启。 +- 风控管理-风控安全配置 新增敏感词过滤开关。 + +## 开发版 v3.8.2 + +- 新增 `o1-mini`、`o1-preview` 适配,自动剔除各种附加参数及预设,不支持流式。(仅作为测试功能,用户端会感觉等很久,然后答案一下子跳出来) + +## 开发版 v3.8.1 + +- 修复 数据管理-对话记录 在特殊情况下显示错乱的问题。 +- 风控管理-身份验证设置 新增实名认证设置,可自行设置是否开启强制实名认证及手机号验证。 +- 用户触发自定义敏感词改为弹窗提醒方式,并会将 AI 回答中的敏感词,替换为`*`。 +- 修复移动端,应用广场弹窗显示不全的问题。 +- 访问管理-用户协议配置 新增用户协议设置,开启将在注册/登录页强制要求勾选相关内容。 +- 规范化重命名一些文件名称,对于大小不敏感的系统,可能需要重新拉取仓库。 + +## 开发版 v3.8.0 + +- 新增 CogVideoX(参数:cog-video)、Flux 绘画(参数:flux-draw)插件,均为内置插件,需先适添加模型,然后添加对应插件。 +- 后台模型设置添加 `gpt-4o-2024-08-06`、`gpt-4o-mini-2024-07-18` 模型。 +- 模型管理-全局设置新增 TTS 音色(OpenAI 语音朗读人)选择。 +- 取消支付确认弹窗,调整扫码页面 UI 显示。 +- MJ 绘画新增 `6.1` 模型。 +- 模型积分超过 99999 默认显示无限额度。 + +## 开发版 v3.7.7 + +- 调整水印显示内容,改为 6 位数的字母+数字。(计算方式为用户 `ID✖️123+1亿` 转 36 进制取后六位) +- 修复对话列表中没对话情况下,无法提问及新建对话的问题。 +- 强制欢迎页全屏显示。 + +## 开发版 v3.7.6 + +- 新增自定义欢迎页,跳转样式参考: + + ```html + + + ``` + +- 对于上条回复未完成的,限制新的提问。 +- 水印样式调整为 @用户名+ID 形式。 +- 修复特殊场景下,新对话按钮失效的问题。 + +## 开发版 v3.7.5 + +- 修复以图生文上传图片后,无法提交的问题。 +- 剔除默认显示的新建对话页,限制新建对话的作用范围,当当前页面已经为新对话的情况,禁止继续新建对话。 +- 修复注册提醒 "验证 ID 不能为空" 的问题。 +- 后台显示设置添加 `显示全局水印` 选项,开启后将在对话页显示用户名水印。 +- 后台插件显示-基础显示,新增 `隐藏插件` 选项,开启后,用户端将隐藏插件功能。 +- 内置插件参数不在支持列表内,将以插件参数作为模型,调用对应模型。 +- 继续优化调整暗黑模式 UI。 + +## 开发版 v3.7.4 + +- 精简一些未使用的依赖(更新后建议重新安装下依赖)。 +- 修复新版易支付 `mapi` 接口不支持 get 调用的问题。 +- 取消数字验证码,改为滑块验证,简化注册流程。 +- 修复 SunoMusic 编辑歌词后不生效及一些场景下,只显示音乐封面及标题显示的问题。 +- 修复 MJ 绘画扣费未 ✖️4 的问题。 +- MJ 适配 `describe` ,支持以图生文。 +- 修复 MJ 因开启提示词优化出现的 链接/参数 丢失的问题(一般中转自带翻译,不用开)。 +- 暗黑模式配色调整(有不少地方的颜色还有待调整,只是个初版,介意请延时升级)。 +- 后台显示设置新增 隐藏首页默认预设 设置,可自行选择开启。 + +## 开发版 v3.7.3 + +- 修复 `gpts` 因调用次数计算错误导致的无法调用的问题。 +- 调整 `gpts` 上传控制显示。 +- 修复使用应用,图标无法实时加载的问题。 +- 修复用户对话宽度超出的问题。 + +## 开发版 v3.7.2 + +- 本地存储新增一些文件安全性检测。 +- 调整购买套餐弹窗样式。 +- 修复百度统计 token 过期自动刷新不正常的问题。 +- 优化后端日志显示,新增 MJ 任务提交错误反馈。 +- 修复绘画页区域重绘无效的问题。 +- 开启本地存储后,默认将生成的视频及音乐也保存到本地。 +- 修复应用弹窗标题自动截断导致的显示不全的问题(需自行控制标题长度,太长会造成显示错乱)。 +- 当模型不存在时,将自动切换至全局模型,不再提醒"当前调用模型的 key 未找到"。 +- 后台新增 `gpt-4o-mini` 模型。 +- 调整内置的文件分析逻辑,选择后对于非图片的文本格式,将读取文件内容,作为 system 传给 AI,图片格式按 4o 格式传图。增加容错截断机制,不再依赖外部 API,读取速度更快。(建议搭配 token 关联计费及 `gpt-4o-mini` 使用) + +## 开发版 v3.7.1 + +- 后台新增本地存储(开启后将优先使用本地存储方式保存数据,有些场景需开启跨域访问,可能需额外自行解决读写权限问题。 + 文件存储目录为 `/public/file`,更新迁移时请做好数据维护及备份。) +- 开启插件的时,左上角的名称及使用的积分类型将根据插件类型实时调整实时变动。 +- 修复无法使用第三方自定义插件的问题。 +- 对话页应用广场改为弹窗方式,右上角新增关闭按钮,点击标题直接回到对话页。 +- 新增更多的预设提问(如果预设中出现中出现一些不合适的问题,或者图标不显示的问题,可在群内反馈)。 +- 修复签到页星期显示,改为中文。 +- 微调一些 UI 显示。 +- 将图形验证改为纯数字形式。 +- 修复生成标题失败导致的程序崩溃问题。 +- 调整后台模型频率显示设置限制。 + +## 开发版 v3.7.0 + +- 实现简易版的知识库问答【数据管理】-【内容预设】。会通过检测提问关键词,将匹配到的内容附加到 `system` 参数中。 +- 参考官网,实现问题编辑及答案重新生成。 +- 修复一些显示问题。 + +## 开发版 v3.6.4 + +- 环境变量新增自定义后台路径设置。 +- 修复删除对话后,对话显示错位的问题。 +- 修复表格、代码块显示超宽的问题。 + +## 开发版 v3.6.3 + +- 用户端公告框架改为后台相同框架,后台编辑预览的效果即为用户看到的。 +- 修复后台绘画记录图片无法点开的问题。 +- 修复打开后台会跳转到对话页的问题(有旧版缓存的依然需要清空一次)。 +- 修复手机号注册不受后台控制的问题。 +- 修复模型排序无法通过输入编辑的问题。 +- 修复默认的 AI 头像显示错位的问题。 + +## 开发版 v3.6.2 + +- 尝试修复回复 400 错误。(未测试) +- 调整移动端 HTML 编辑预览逻辑。(注意:有些浏览器不支持预览) +- 新增 AI 回复中,禁止切换、新建对话的限制。 +- 修复一些对话显示问题。 + +## 开发版 v3.6.0 + +- 参考 ChatGPT 官网界面,将对话调整为左右分布。 +- 新增 HTML 代码预览编辑弹窗。 +- 适配 LumaAPI,支持文生视频、图生视频功能。需添加插件(luma-video)及创意模型(luma-video)。(生成时间会比较久,模拟了进度百分比,设置模型的时候,注意调高超时时间) +- Suno 音乐编辑新增风格选择。 +- 优化思维导图编辑弹窗的呼出及移动端端显示。 +- 优化回复中暂停功能。 +- 统一管理端界面及说明,优化设置分类,精简一些不需要的配置。将不再维护的其他页面,移动到其他设置。 +- 管理端新增:【隐藏朗读按钮】、【绘画记录(仅显示对话页绘画记录)】、【图标重新上传】。 +- 调整存储桶文件存放目录,区分`userFiles`、`images`、`midjourney`、`system`、`others`等目录,一些目录下,按时间顺序生成子目录,方便统一管理。 +- 将验证码调整为纯字母/数字方案。 + +## 开发版 v3.5.2 + +- 修复对话消息显示问题,升级需重新安装依赖。(浏览器的缓存可能导致不会及时生效,可以换设备或者无痕浏览测试确认) +- 微信多域名回调保持当前环境变量方式,因回调系统导致的差异需要去检索指定的环境变量值,自行调整域名。 + +## 开发版 v3.5.1 + +请仔细阅读升级说明,升级前前请做好数据库备份 + +- 新增更多的内置对话预设,剔除一些显示不正常的图标。 +- 对话显示公式渲染适配 `/[ /]`、`/( /)` 格式。 +- `插件应用`-`基础设置` 新增 `插件优先显示` 选项,可以自由调整对话页插件、对话显示的优先级。 +- 精简创意模型、特殊模型中不需要的配置项目。 +- 压缩分割用户端 `JS` 文件,提升用户端加载速度。 +- 修复管理端模型类型显示错误问题。 +- 修复专业绘画页积分扣除问题。 +- 修复提问后输入框不回弹的问题。 + +## 开发版 v3.5.0 + +请仔细阅读升级说明,升级前前请做好数据库备份,跨版本降级可能会丢失数据 + +- 优化首页"九宫格"显示(不再依赖后端配置,目前前端预制了 50 个左右的提问,后续会加上更多) +- 适配`luma-video`模型,初步实现文生视频功能,需添加创意模型,然后在插件中添加对应插件,模型,参数均为`luma-video`。(等待时间会比较久,图生视频即将适配) +- 头像点击展开更多处,新增退出登录 +- 网页端对话页新增思维导图编辑功能(当前功能比较基础,后续会继续优化) +- 恢复免验证注册功能(忘记密码和这个有一定的冲突,所以暂时隐藏了,下个版本兼容上) +- 升级管理端框架,调整 UI 显示(node 16 版本不确定是否兼容,使用 node 16 的小伙伴请谨慎升级) +- 管理端模型管理处,默认增加了`claude-3-5-sonnet-20240620`等模型等选择(次处可自由填选) +- 管理端百度统计行增自动更新 AccessToken 功能(未完全测试,次处需设置 ApiKey、SecretKey 等新增内容) +- 后端`.env`新增自定义微信 URL 的支持,默认无需调整,使用微信多域名回调请参考`.env.example`中格式自行修改对应 URL +- 修复下拉到底部按钮,在初始对话也会出现的问题 +- 修复新建应用,对话页还是显示在当前对话的问题(未完全测试,如果依然出现请反馈) +- 修复后台账户明细 userId 显示错误的问题 +- 重构优化后端代码 + +## 开发版 v3.4.2 + +- 新增模型自定义图标及介绍 +- 优化上传逻辑,避免同名文件 + +## 开发版 v3.4.1 + +- 适配 SunoAPI +- 修复了一些东西,具体的忘记了 + +## 开发版 v3.4.0 + +- 后台-系统管理-基础配置 新增 【隐藏侧边菜单】 选项,开启隐藏后用户端将不显示侧边菜单 +- 后台-套餐管理-积分显示 新增【积分显示设置】,可自定义是否显示各种积分以及自定义名称 +- 后台-模型管理-模型全局配置 新增 【继承对话模型】 选项,开启后,新建对话将会继承上一次对话的模型 +- 新增【插件系统】。可自定义插件名称、描述和头像用于前端显示,同时需要设置对应的插件参数。插件系统包含,内置插件和普通插件两种。 +- 内置插件已支持 Suno 音乐(参数:suno-v3)、Midjourney 绘图(参数:midjourney)、Stable Diffusion 绘图(参数:stable-diffusion)、Dalle 绘画(参数:dall-e-3),均需通过创意模型配置对应模型。 +- 普通插件需要外部插件系统支持,具体参数请查看插件系统()文档。需在 插件应用-基础设置 中配置外部插件的地址和 key +- 修复了一些小特性 + +## 开发版 v3.3.5 + +- 后台-模型管理-模型全局配置新增 Temperature 设置(不知道干啥用的不用管) +- 提问输入框新增通过剪切板粘贴图片,文件功能 +- 支持通过环境变量(.env)设置搜索功能的反代 URL + +## 开发版 v3.3.4 + +- 重构联网插件,支持本地搜索,优先使用 bing 搜索,然后是 google/duckduckgo,支持打开网页,深度提取搜索内容。(google/duckduckgo 国内服务器无法直接使用) +- 修复文件分析无法使用的问题 +- 后台可显示当前版本号 + +## 开发版 v3.3.3 + +v3.3.2 + +- 优化对话适配,提高适配范围 +- 修复对话页 mj 绘画上传图片不显示的问题 +- 修复反代后后无法正常获取用户登录 IP 的问题 + +## 开发版 v3.3.2 + +v3.3.3 + +- 合并多操作到左下角头像区域 +- 修复头像被覆盖到问题 +- 微调插件/对话/新建对话布局 +- 修复一些显示问题 + +v3.3.2 + +- 小小更新一个,下个版本将支持开关侧边选择的选项 +- 插件自定义也下个版本 + +## 开发版 v3.3.1 + +- 新增插件系统 +- 新增 @ 调用应用功能 + +- 此版本为尝鲜版,上个版本的很多小问题也还没修复,请按需升级 + +## 开发版 v3.3.0 + +- 修复通过应用广场新建应用时出现的显示错误 +- 优化一些显示上的小问题 +- 修复 Token 关联计费计算导致的在特殊情况下不扣费的问题 +- 修复版本号过低的重大 bug + +- 所有模型都建议开启,基于 token 计费。扣除方式为:扣除的积分 = 单次扣除金额 \_(token 消耗 / token 计费比例)结果向上取整【例如开启 token 计费,单次扣除金额为 3 积分,token 计费比例为 1000,用户调用消耗 1500 token,那么扣除的积分为 3 \*(1500 / 1000)向上取整 6 积分】 +- 原计划的验证码登录功能,将在后面的登录/注册后台重构后再上线 +- 次版本相对稳定,推荐不追求极致更新的小伙伴选择升级 + +## 开发版 v3.2.6 + +## 更新内容 + +- 修复登录页【扫码】【邮箱】【手机】登录的显示问题 +- 修复手机号验证码无法发送/验证问题(未测试) +- 修复未登录状态下可使用卡密进行兑换(未登录状态将无法访问个人中心) +- 修复后台基础配置 上传 网站 ico 实际上传到了 用户端 LOGO +- 删除绘画页 niji 风格参数 +- 旧的应用广场页也重定向到新版应用广场页 +- 新增对话页 midjourney 绘图【图生图】【人脸一致性】【风格一致性】选项 + +## 其他反馈 + +- 用户自定义应用功能丢失(此功能已移除) +- midjourney 的模型 key 设为不启用,绘画时仍然会被调用(关闭用户端显示将在用户端隐藏模型、但不会影响后台的调用、完全不用可删除) +- 手机端没有应用情况无法进入对话界面(反馈不明确) +- 公告那里设置 mermaid 图(饼图,流程图等)后台可以显示出来,然后前台就是黑色的,显示不出来(可以的话私我具体的代码) +- 选择应用后,默认是其他的聊天记录而不是该应用的(旧版本会有,理论上新的修复了) + +## 开发版 v3.2.5 + +- 对话页 midjourney 新增尺寸选择及风格选择 +- 调整登录/注册页 UI 显示,合并手机/邮箱验证码 +- 精简优化后台邮箱配置,新增网页链接选项,用于发信显示 +- 手机/邮箱验证统一用同一个验证码 +- 修复兼容微信支付二维码显示问题 + +## 说明 + +- 登录/注册页选项(用户协议/忘记密码)只是放了个文字,实际功能及配置下个版本再加 +- UI 调整先大致整一个,后面优化 + +## 开发版 v3.2.4 + +- 修复主页九宫格应用点击会新建两条对话的问题 +- 修复上下文错乱问题 +- 修复专业绘画页无法使用全局模型绘画问题 + +- 本次更新作为稳定版的前置版本,强烈推荐升级,上下文错乱比较影响用户体验 + +## 开发版 v3.2.3 + +- 解决了侧边应用偶尔无法点击的问题。 +- 修复了主页九宫格应用点击不直接新建对话的问题。 +- 解决了自动回复功能无效的问题。 +- 修复了在对话界面执行删除操作后没有反应的问题。 +- 修复了未开启微信登录设置时,移动端仍显示绑定微信文字入口的问题,现已实现根据设置自动显示/隐藏。 +- 解决了对话页面未开启签到功能却显示签到入口的问题,签到入口现将根据功能开启状态自动显示/隐藏。 +- 修复了模型设置中 mj 选择绘画积分,但在列表中错误显示为高级积分的问题。 +- 将邮箱配置内容迁移到后台配置中。 +- 对话回复新增错误记录和反馈。 + +- 本次更新主要针对问题修复,需要在后台配置-用户管理-邮件登录配置-SMTP 服务器配置中,重新填写邮箱发件配置。 + +## 开发版 v3.2.2 + +- 模型配置新增【文件上传-文件分析】选项默认不再全模型开启文件分析 +- 创意模型现已针对以下模型特别优化【dalle-e-3】(OpenAI 格式)【midjourney】(Mj-Plus 格式)【stable-diffusion】【suno】(https//:api.lightai.io 中转格式) +- 新增应用收藏功能,收藏的应用将显示在侧边栏的,最新的对话将显示在最前面。(侧边栏对于应用的取消收藏及更多下次再加) +- 不再限制一个应用只能开启一个对话 +- 侧边栏添加公告栏触发按钮 +- 优化 AI 音乐(suno-v3)的匹配范围,匹配结果更精准 +- 调整应用广场显示密度以及文字细节,显示更和谐 +- 修复一些问题,优化逻辑 + +- 本地存储以及对话页思维导图插件暂未完全优化好,下个版本再更 +- 升级使用中有任何问题欢迎在群内反馈 + +## 开发版 v3.2.1 + +- 适配文生音乐,测试版,仅供娱乐 +- 适配 sd 绘图——dalle 的平替 +- 修复推广页注册用户最后登录时间显示问题 +- 修复升级可能出现的应用广场图片丢失问题(本次升级 100% 丢失,所以务必备份好再导入) +- 修改对话的等待动画,参考 ChatGPT 官网 +- 重构流式前后端对话缓存及处理逻辑,可能大概或许会流畅一些 +- 调整文档显示 UI,显示更美观 + +- 接下来会重构梳理下后台逻辑,已经完成一小部份,使用中遇到任何问题欢迎群内反馈 + +## 开发版 v3.1.4 + +- 修复手机绘图"绘制中"显示问题 +- 修复图片上传中的一些问题(已测试 3 种方式均可使用,如果在用不了就是设置的问题,使用区域重绘需开启跨域) +- 新增联网搜索模式 +- 新增全模型文件分析功能(只支持带文字的 pdf,word,ppt,txt,md 等文件) +- 全新设计的应用中心,未设置头像将自动使用应用名称作为头像 +- 联网及模型分析均内置了链接,属于临时方案,后续会支持填写自己的链接 +- 文件分析功能会消耗较多的 tokens,并且没有单独去考虑单独计费,属于尝鲜版本 +- 本次更新内容较多,使用过程中遇到 bug,可在群内反馈 + +## 开发版 v3.1.3 + +- 模型配置新增模型频率限制选择,可控制单用户每小时该模型最大调用频率 +- 修复微信静默登录失效的问题 +- 初步重构应用逻辑,特殊模型中无需配置翻译及导图模型,移至[模型管理-系统应用]中 + +因为应用这块儿有不少不稳定的情况,代重构修复后版本号再升到 3.2.0 + +## 开发版 v3.1.2 + +- 重新排版后台管理菜单,精简一些不需要的配置 +- 删除旧的 dalle 绘画页 +- 对话页新增 dalle 绘画风格选择 +- 应用固定模型可使用绘图模型 +- 修复绘画模式,积分不自动刷新的问题 +- GPTs 或固定模型的时候固定模型切换按钮,积分显示对应模型的消耗 +- 修复使用提交按钮,输入框高度不自动回弹的问题 +- 修复 Midjourney 绘画提交文字显示错误 +- 修复专业绘画页,无法调用全局配置绘画的问题 + +应用这块的客户端模型及积分显示均为较临时方案,有 bug 及时反馈,后面会重构逻辑 + +## 开发版 v3.1.1 + +- 调整输入框样式及上传文件预览位置,支持自动换行,视觉观感更简约 +- 新增 dall-e 模型绘画比例 (方形/宽屏/垂直)选择 +- 新增 dall-e 连续绘画模式,可通过对话调整绘画内容(模型管理-模型全局配置-Dalle 绘图配置) +- 新增蓝兔支付,由@づ淡然萌え微笑 提供(未测试) +- 修复修改 key 后绘画页区域重绘无法使用的问题 +- 修复邀请记录显示问题 +- 修复后台下拉框宽度显示不正常的问题(需重新 pnpm install) + +## 开发版 v3.1.0 + +- 新增 GPTs 适配,修复对话时,不显示应用名称的问题 +- 新增对话页绘画进度反馈 +- 重构对话页绘画逻辑,提升绘画成功率(TODO: 绘画失败退还积分) +- 修复过对话页 Midjourney 绘画扣费不会 ✖️4 的问题 +- 后台新增自选是否开启 mj 翻译(todo,检测到有中文才翻译) +- 后台新建应用时可选是否固定模型,可搭配外部知识库 API 使用 +- 新增模型配置时可选是否开启文件上传模块(区分 ALL/4V 格式) +- 适配 ALL 模型及 GPTs 返回的图片,解决图片显示过大的问题 +- 修改全局字体,优先使用系统默认字体 + +## 开发版 v3.0.4 + +- 修复高级模型及访客模式可能不扣费的问题 +- 修复 key 占用报未配置模型的问题 +- 修复对话组中第一条对话无法重新生成的问题,调整对话重新生成问题 +- 修复在对话页中,点击 Midjourney 不会自动跳转到 Midjourney 模型的问题 +- 加回对话删除功能(有些模型在用户和 AI 对话非完整成组的时候会报错,遇见后请及时反馈,后续会针对性优化) + +- DALL-E 绘画页依旧不可用,对话页可用(并且暂无修复计划) +- 后台务必配置全局代理地址、key 及模型,当前对话页的 DALL-E 回复反馈和标题生成依赖此配置 + +### 开发计划 + +- 除对话页,其他页面后续不太会维护了,绘画附加参数,思维导图功能也会逐渐迁移到对话页 +- 待功能迁移的差不多后,会默认关闭侧边栏页面切换栏,可后台自行开启 +- GPTs 及数据库相关功能会在前两项完成之后才会继续开发 + +## 开发版 v3.0.3 + +- 修复了一些 bug +- 新增根据用户提问内容,自动生成标题功能 + +- 由于数据库兼容性性问题,DALL-E 绘画页绘图暂不可以,后续会将其整合进专业绘画中 + +## 开发版 v3.0.2 + +- 模型配置均迁移到模型管理中,分为普通对话|绘画模型|特殊模型 +- 模型配置支持选择模型扣费类型:普通积分|高级积分|绘画积分 +- 通过模型配置,可以自定义修改 Dall-e 及 Midjourney 使用的 key 及扣费类型和扣费量 +- 使用 TTS 实现对话语音播报(在特殊模型中配置后生效) +- 特殊模型中支持单独配置思维导图及翻译用的 key 及模型(模型样式为功能-模型,例如思维导图使用 gpt-3.5-turbo 即为 mindmap-gpt-3.5-turbo 格式) +- 新增 claude-3.0 模型的选择 + +- 本次更新对模型选择有较大变动,特别是旧版的 Midjourney 配置已不再生效,需及时在模型管理中新增对应绘画模型 + +## 开发版 v3.0.1 + +## 更新说明 + +### 功能优化 + +- 后台对话容错加强,区分失败及停止(初步完成,需进一步具体化) +- 新建对话检测登录状态,未登录弹出登录框 + +### 用户界面调整 + +- 调整网页字体大小及 markdown 代码块显示风格(统一暗色) +- 对话页手机端操作按钮布局异常修复 +- 手机端对话右侧宽度调整 + +### Bug 修复 + +- 修复超时配置无效的 bug +- 修复 model 数据库缺少 timeout + +### 文件管理优化 + +- MJ 存储图片的时候,不根据链接来获取文件名,改成日期+任务 ID 形式 + +## 开发版 v3.0.0 + +- 重构 Midjourney 绘画后端逻辑,新增区域重绘功能(当前仅专业绘画页面支持) +- 对话中支持调用 Dalle 及 Midjourney 模型进行绘画(需在后台配置对应模型) +- 精简 chat 页 UI,参考 ChatGPT 官网布局,美化页面 +- 根据模型自动显示 AI 头像,可在整合包中自定义替换 +- 重构对话上下文的获取方式,允许跨模型连续对话 +- 新增全局请求地址及 Key,免除同一 key 重复填写(次配置为必选配置,翻译及导图依赖次 key) +- 可全局设置 midjourney,是否存储图片,详细配置见管理端后台 +- 后台模型设置区分基础对话及绘画模型 +- 后台支持手动修改用户激活状态 +- midjourney 的 key 及地址可从 [中转](https://api.lightiai.io) 获取或自建 midjourney-proxy-plus + +- 区分绘画类型,支持自定义绘画积分,加强绘画的容错机制,绘制失败不扣除积分(当前版本失败也会扣除对应积分)等功能持续开发中 +- 除 chat 对话页外的其他页面后续会逐渐停止更新及维护 +- 新版数据库有较大变动,升级前请务必做好备份,防止数据丢失 +- 请自行斟酌后选择是否升级,使用中问题可及时在群内反馈 + +## 开发版 v2.5.2 + +### 功能更新 + +1. **修复界面问题**: + + - 解决了 DALL-E 页面绘图不显示的问题,优化用户体验。 + - 修复了 Chat 页面绘图功能需要刷新页面才能显示的问题,提高使用便捷性。 + +2. **优化中文释义**: + + - 对页面中的中文释义进行了调整,使其更准确、易懂。 + +3. **第三方中转推荐**: + - 推荐使用 https://api.lightai.io 作为第三方中转平台,以便于用户更方便地使用服务。 + +- 本次升级 Midjourney 对历史数据不兼容,升级前请做好备份准备。这是为了确保在进行升级过程中,用户的数据安全和服务的连续性不受影响。 + +本次更新旨在提升用户体验,解决已知问题,并持续优化产品功能。我们非常重视用户反馈,欢迎大家使用新版本并分享使用感受。 + +## 开发版 v2.5.1 + +1. **mj-proxy-plus 支持更新**: + + - 新增容错和重试机制,提高稳定性。 + +2. **模型新增排序功能**: + + - 优化模型排序逻辑,提升用户体验。 + +3. **精简 mj 模型配置**: + + - 后台配置现仅需地址和 key,简化操作流程。 + +4. **dall-e 绘画整合进 chat**: + + - dall-e-3 模型可在后台单独配置。 + - 计划废弃现有的 dall-e-3 页面,绘图功能将纳入 chat 组件。 + - 连续绘图功能开发中。 + +5. **文件类型支持扩展**: + + - all 模型除 pdf 外,增加多种文件类型支持。 + +6. **国产模型兼容性修复**: + + - 修复了国产模型添加后无法使用的 bug。 + +7. **界面显示优化**: + - 修复后台及绘画广场的显示问题。 + +- 由于本次 mj-proxy-plus 升级不向下兼容,建议删除数据库中旧的 mj 数据库。 +- 新的 key 可以通过中转平台购买。 +- 如果您之前订阅过,但不想自建 mj-proxy-plus,可以考虑共享账号给我们,以合组账号池。 diff --git a/DEPLOYMENT.md b/docs/DEPLOYMENT.md similarity index 82% rename from DEPLOYMENT.md rename to docs/DEPLOYMENT.md index 97074b8..f76dcdb 100644 --- a/DEPLOYMENT.md +++ b/docs/DEPLOYMENT.md @@ -1,10 +1,18 @@ # 部署指南 +## 目录说明 + +首先,请确保您已经进入 `AIWebQuickDeploy` 目录: + +```bash +cd AIWebQuickDeploy +``` + ## Node.js 部署 ### 1. 安装 Node.js 环境 -推荐使用 `nvm` (Node Version Manager) 来安装 Node.js。 +推荐使用 `nvm` (Node Version Manager) 来安装 Node.js,这样可以方便地管理多个 Node.js 版本。 - 首先,安装 `nvm`,你可以从 [nvm GitHub 仓库](https://github.com/nvm-sh/nvm) 找到安装指南。 @@ -21,17 +29,18 @@ ```shell node -v + npm -v ``` ### 2. 安装 PM2 / PNPM(YARN) -- 使用 npm 安装 PM2: +- 使用 npm 安装 PM2(用于进程管理和自动重启): ```shell npm install pm2 -g ``` -- 使用 npm 安装 pnpm: +- 使用 npm 安装 pnpm(更快的包管理器): ```shell npm install -g pnpm @@ -48,8 +57,14 @@ - 需配置 Redis 数据库以及新建一个 MySQL 数据库。 - 配置环境变量: - - 复制 `.env.example` 文件为 `.env`。 - - 根据需要修改 `.env` 文件中的配置项。 + - 复制 `.env.example` 文件为 `.env`: + ```shell + cp .env.example .env + ``` + - 根据需要修改 `.env` 文件中的配置项,主要包括: + - 数据库连接信息 + - Redis 连接信息 + - 服务端口配置 完成配置并启动后,项目会自动在指定的 MySQL 数据库中创建所需的表结构和初始数据,无需手动导入 SQL 文件。确保 `.env` 文件中的数据库连接信息正确即可。 diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md new file mode 100644 index 0000000..446d3d8 --- /dev/null +++ b/docs/DEVELOPMENT.md @@ -0,0 +1,79 @@ +# 99AI 项目开发文档 + +## 项目概述 + +99AI 是一个基于 Vue.js 和 NestJS 构建的现代化 AI 对话平台,本文档旨在帮助开发者快速理解和参与项目开发。 + +## 项目结构 + +```tree +src/ +├── admin/ # 管理后台 +├── chat/ # 用户对话界面 +├── service/ # 后端服务 +└── build.sh # 项目打包脚本 +``` + +## 核心模块 + +### 1. 用户对话界面(chat) + +- **技术栈:** Vue.js +- **功能特性:** + - AI 智能对话 + +### 2. 管理后台(admin) + +- **技术栈:** [Fantastic Admin Basic](https://github.com/fantastic-admin/basic) +- **功能特性:** + - 多级管理员权限控制 + - 积分系统管理 + - AI 模型配置 + - 用户管理与数据分析 + +### 3. 后端服务(service) + +- **技术栈:** NestJS +- **服务地址:** `http://localhost:9520` +- **功能特性:** + - RESTful API 接口 + - 数据库交互 + +## 开发指南 + +### 项目构建 + +项目提供了便捷的一键构建脚本: + +```bash +./build.sh +``` + +执行后,脚本将自动完成所有模块的构建,构建产物将保存在项目根目录的对应文件夹中。 + +### 开发建议 + +1. 遵循项目既定的代码规范和提交规范 +2. 确保新功能有完整的测试覆盖 +3. 提交代码前进行本地测试 +4. 及时更新文档 + +## 问题反馈 + +如果您在开发过程中遇到任何问题,或有改进建议,欢迎通过以下方式反馈: + +- 提交 [Issue](https://github.com/vastxie/99AI/issues) +- 参与项目讨论 +- 提交 Pull Request + +## 贡献指南 + +我们欢迎所有形式的贡献,包括但不限于: + +- 功能改进 +- Bug 修复 +- 文档完善 +- 性能优化 +- 代码重构 + +请确保您的贡献符合项目的开发规范和质量标准。 diff --git a/docs/FEATURES.md b/docs/FEATURES.md new file mode 100644 index 0000000..a55a8ca --- /dev/null +++ b/docs/FEATURES.md @@ -0,0 +1,5 @@ +# 99AI 详细功能介绍 + +本文档详细介绍 99AI 平台的核心功能和特色。 + +详细内容回头再编 diff --git a/public/admin/assets/index-B26rXOmA.js b/public/admin/assets/index-B26rXOmA.js deleted file mode 100644 index 104c85e..0000000 --- a/public/admin/assets/index-B26rXOmA.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js";import"./HDropdown-BjwO9ikd.js";import"./index-nGFMSQGw.js";import"./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js";import"./use-resolve-button-type-CVaAVCZ2.js";export{o as default}; diff --git a/public/admin/assets/index-B8Qbctk3.js b/public/admin/assets/index-B8Qbctk3.js deleted file mode 100644 index 683849c..0000000 --- a/public/admin/assets/index-B8Qbctk3.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-zkYlqh7B.js";import"./HKbd-By3ZrrUU.js";import"./index-nGFMSQGw.js";import"./index-CeCYhShg.js";import"./item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js";export{o as default}; diff --git a/public/admin/assets/index-BsqAgi1e.js b/public/admin/assets/index-BsqAgi1e.js deleted file mode 100644 index bedbaca..0000000 --- a/public/admin/assets/index-BsqAgi1e.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as m}from"./index.vue_vue_type_script_setup_true_lang-irk5Dcs5.js";import"./index-nGFMSQGw.js";export{m as default}; diff --git a/public/admin/assets/index-CyBqC5az.js b/public/admin/assets/index-CyBqC5az.js deleted file mode 100644 index d63cf89..0000000 --- a/public/admin/assets/index-CyBqC5az.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js";import"./HKbd-By3ZrrUU.js";import"./index-nGFMSQGw.js";export{o as default}; diff --git a/public/admin/assets/index-DilPWwlM.js b/public/admin/assets/index-DilPWwlM.js deleted file mode 100644 index a12aa03..0000000 --- a/public/admin/assets/index-DilPWwlM.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{d as o,u as i,g as r,c as a,e,b as t,y as n,M as m,i as c,l as p}from"./index-nGFMSQGw.js";import{_ as l}from"./leftSide.vue_vue_type_script_setup_true_lang-CY8It3ua.js";import{_}from"./rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js";import"./index-D5jQENXK.js";import"./index-CeCYhShg.js";import"./item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js";import"./index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js";import"./HDropdown-BjwO9ikd.js";import"./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js";import"./use-resolve-button-type-CVaAVCZ2.js";import"./index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js";import"./index-CyI3Kccs.js";import"./index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js";import"./HKbd-By3ZrrUU.js";import"./index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js";import"./useMainPage-C9MASyfo.js";const d={class:"toolbar-container flex items-center justify-between"},f={class:"h-full flex items-center of-hidden pl-2 pr-16",style:{"mask-image":"linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent)"}},u={class:"h-full flex items-center px-2"},h=o({name:"Toolbar",__name:"index",setup(x){const s=i();return(g,b)=>(r(),a("div",d,[e("div",f,[t(l)]),n(e("div",u,[t(_)],512),[[m,["side","single"].includes(c(s).settings.menu.menuMode)]])]))}}),z=p(h,[["__scopeId","data-v-6a8fd0ab"]]);export{z as default}; diff --git a/public/admin/assets/index-do-psu6b.js b/public/admin/assets/index-do-psu6b.js deleted file mode 100644 index f9ec1e5..0000000 --- a/public/admin/assets/index-do-psu6b.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-rI-Pc7n4.js";import"./sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js";import"./index-nGFMSQGw.js";import"./item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js";export{o as default}; diff --git a/public/admin/assets/item-BGs210ro.js b/public/admin/assets/item-BGs210ro.js deleted file mode 100644 index d7007cb..0000000 --- a/public/admin/assets/item-BGs210ro.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js";import"./index-nGFMSQGw.js";export{o as default}; diff --git a/public/admin/assets/item-aUfNz2FD.js b/public/admin/assets/item-aUfNz2FD.js deleted file mode 100644 index d9a9132..0000000 --- a/public/admin/assets/item-aUfNz2FD.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as m}from"./item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js";import"./index-nGFMSQGw.js";export{m as default}; diff --git a/public/admin/assets/item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js b/public/admin/assets/item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js deleted file mode 100644 index 86586c3..0000000 --- a/public/admin/assets/item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as A}from"./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js";import{d as $,W as D,r as H,n as r,p as R,g as o,c as l,b as C,w as i,i as a,z as x,e as E,A as u,Q as s,t as Q,V as T,ai as U,bU as W,ab as F,j as G}from"./index-nGFMSQGw.js";const J="rootMenu",Y=$({__name:"item",props:{uniqueKey:{},item:{},level:{default:0},subMenu:{type:Boolean,default:!1},expand:{type:Boolean,default:!1}},setup(N,{expose:j}){const n=N,t=D(J),p=H(),B=r(()=>n.subMenu?t.subMenus[n.uniqueKey.at(-1)].active:t.activeIndex===n.uniqueKey.at(-1)),m=r(()=>B.value&&(!n.subMenu||t.isMenuPopup)),K=r(()=>t.isMenuPopup?"":`padding-left: ${20*(n.level??0)}px`);return j({ref:p}),(e,L)=>{const I=G,q=A,z=R("router-link");return o(),l("div",{ref_key:"itemRef",ref:p,class:s(["menu-item relative transition-all",{active:a(m)}])},[C(z,{custom:"",to:e.uniqueKey.at(-1)??""},{default:i(({href:S,navigate:V})=>{var f,c,b;return[C(q,{enable:a(t).isMenuPopup&&e.level===0&&!e.subMenu,text:typeof((f=e.item.meta)==null?void 0:f.title)=="function"?(c=e.item.meta)==null?void 0:c.title():(b=e.item.meta)==null?void 0:b.title,placement:"right",class:"h-full w-full"},{default:i(()=>{var v,d,y,M,g;return[(o(),x(F(e.subMenu?"div":"a"),U({...!e.subMenu&&{href:(v=e.item.meta)!=null&&v.link?e.item.meta.link:S,target:(d=e.item.meta)!=null&&d.link?"_blank":"_self",class:"no-underline"}},{class:["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-5 py-4 text-[var(--g-sub-sidebar-menu-color)] transition-all hover-bg-[var(--g-sub-sidebar-menu-hover-bg)] hover-text-[var(--g-sub-sidebar-menu-hover-color)]",{"text-[var(--g-sub-sidebar-menu-active-color)]! bg-[var(--g-sub-sidebar-menu-active-bg)]!":a(m),"px-3!":a(t).isMenuPopup&&e.level===0}],title:typeof((y=e.item.meta)==null?void 0:y.title)=="function"?(M=e.item.meta)==null?void 0:M.title():(g=e.item.meta)==null?void 0:g.title},W({...!e.subMenu&&{click:V}})),{default:i(()=>{var h,w,k,P;return[E("div",{class:s(["inline-flex flex-1 items-center justify-center gap-[12px]",{"flex-col":a(t).isMenuPopup&&e.level===0&&a(t).props.mode==="vertical","gap-1!":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName,"w-full":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName&&a(t).props.mode==="vertical"}]),style:T(a(K))},[(h=n.item.meta)!=null&&h.icon?(o(),x(I,{key:0,name:n.item.meta.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):u("",!0),a(t).isMenuPopup&&e.level===0&&!a(t).props.showCollapseName?u("",!0):(o(),l("span",{key:1,class:s(["w-0 flex-1 truncate text-sm transition-height transition-opacity transition-width",{"opacity-0 w-0 h-0":a(t).isMenuPopup&&e.level===0&&!a(t).props.showCollapseName,"w-full text-center":a(t).isMenuPopup&&e.level===0&&a(t).props.showCollapseName}])},Q(typeof((w=e.item.meta)==null?void 0:w.title)=="function"?(k=e.item.meta)==null?void 0:k.title():(P=e.item.meta)==null?void 0:P.title),3))],6),e.subMenu&&!(a(t).isMenuPopup&&e.level===0)?(o(),l("i",{key:0,class:s(["relative ml-1 w-[10px] after:absolute after:h-[1.5px] after:w-[6px] after:bg-current after:transition-transform-200 after:content-empty after:-translate-y-[1px] before:absolute before:h-[1.5px] before:w-[6px] before:bg-current before:transition-transform-200 before:content-empty before:-translate-y-[1px]",[e.expand?"before:-rotate-45 before:-translate-x-[2px] after:rotate-45 after:translate-x-[2px]":"before:rotate-45 before:-translate-x-[2px] after:-rotate-45 after:translate-x-[2px]",a(t).isMenuPopup&&e.level===0&&"opacity-0",a(t).isMenuPopup&&e.level!==0&&"-rotate-90 -top-[1.5px]"]])},null,2)):u("",!0)]}),_:2},1040,["class","title"]))]}),_:2},1032,["enable","text"])]}),_:1},8,["to"])],2)}}});export{Y as _,J as r}; diff --git a/public/admin/assets/leftSide-oWmuAIUP.js b/public/admin/assets/leftSide-oWmuAIUP.js deleted file mode 100644 index 3e2d8ba..0000000 --- a/public/admin/assets/leftSide-oWmuAIUP.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./leftSide.vue_vue_type_script_setup_true_lang-CY8It3ua.js";import"./index-nGFMSQGw.js";import"./index-D5jQENXK.js";import"./index-CeCYhShg.js";import"./item.vue_vue_type_script_setup_true_lang-B8QwDp3s.js";export{o as default}; diff --git a/public/admin/assets/package-B84yLosq.js b/public/admin/assets/package-B84yLosq.js deleted file mode 100644 index 84b437b..0000000 --- a/public/admin/assets/package-B84yLosq.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as pe}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as me}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as ce,r as c,m as x,n as j,a as fe,p as u,q as _e,g as C,c as T,b as e,w as l,h as d,F as ge,s as be,i as h,y as ve,z as S,t as k,e as v,B as ye,G as y,E as we,j as Ve,_ as Ce,k as D}from"./index-nGFMSQGw.js";import{A as U}from"./package-DNsyP8d5.js";import{i as he,I as ke}from"./index-BE-LteFu.js";import{u as Ue}from"./utcformatTime-Bq4gDWNx.js";const Ie=v("div",{class:"flex items-center gap-4"},"套餐设置",-1),xe=v("div",{class:"text-sm/6"},[v("div",null," 套餐分为不限时套餐和限时套餐。不限时充值积分永不过期,限时套餐在规定时间未使用完毕将清空剩余积分。 "),v("div",null," 如果充值的套餐等级高于或等于当前套餐等级,则叠加充值额度并延长会员到期时间。 "),v("div",null," 如果充值的套餐等级低于当前套餐等级,则只叠加充值额度,不延长会员到期时间也不改变会员等级。 "),d(" 请仔细阅读以上内容并合理配置,套餐有效时间设为-1即为不限时套餐。 ")],-1),Me={class:"mr-5 flex justify-end"},qe=ce({__name:"package",setup(ze){const B=c(`/api/upload/file?dir=${encodeURIComponent("system/others")}`),M=c(),q=c(0),b=c(!1),w=c(!1),m=x({name:"",page:1,size:10,status:""}),V=c(),f=c(0),o=x({name:null,des:null,coverImg:null,price:null,order:null,status:null,weight:null,days:null,model3Count:null,model4Count:null,drawMjCount:null}),F=x({name:[{required:!0,message:"请填写套餐名称",trigger:"blur"}],des:[{required:!0,message:"请填写套餐的详细描述",trigger:"blur"}],deductionType:[{required:!0,message:"请选择扣费形式",trigger:"change"}],coverImg:[{required:!0,message:"请填写或上传封面图地址",trigger:"blur"}],price:[{required:!0,message:"请填写套餐价格",trigger:"blur"}],order:[{required:!0,message:"请填写套餐排序",trigger:"blur"}],status:[{required:!0,message:"请选择套餐开启状态",trigger:"change"}],days:[{required:!0,message:"请填写套餐有效期天数",trigger:"blur"}],model3Count:[{required:!0,message:"请填写套餐中基础模型可使用次数",trigger:"blur"}],model4Count:[{required:!0,message:"请填写套餐中高级模型可使用次数",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写套餐中抽奖次数",trigger:"blur"}]}),z=c([]);async function _(){try{w.value=!0;const n=await U.queryAllPackage(m);w.value=!1;const{rows:a,count:I}=n.data;q.value=I,z.value=a}catch{w.value=!1}}function N(n){n==null||n.resetFields(),_()}const R=n=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(n.type)){if(n.size/1024>2e3)return y.error("当前限制文件最大不超过 2000KB!"),!1}else return y.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1;return!0},G=(n,a)=>{o.coverImg=n.data};async function O(n){await U.delPackage({id:n}),y({type:"success",message:"删除套餐成功!"}),_()}function Y(n){f.value=n.id,we(()=>{Object.assign(o,n),o==null||delete o.createdAt,o==null||delete o.updatedAt,o==null||delete o.deletedAt,o==null||delete o.id}),b.value=!0}const H=j(()=>f.value?"更新套餐":"新增套餐"),K=j(()=>f.value?"确认更新":"确认新增");function L(){var n;f.value=0,b.value=!0,(n=V.value)==null||n.resetFields()}function J(n){f.value=0,n==null||n.resetFields()}async function W(n){n==null||n.validate(async a=>{a&&(f.value?(await U.updatePackage({id:f.value,...o}),y({type:"success",message:"更新套餐成功!"})):(await U.createPackage(o),y({type:"success",message:"创建新的套餐成功!"})),b.value=!1,_())})}return fe(()=>{_()}),(n,a)=>{const I=Ve,Q=Ce,X=me,Z=u("el-option"),E=u("el-select"),r=u("el-form-item"),g=u("el-button"),A=u("el-form"),P=pe,s=u("el-table-column"),ee=u("el-image"),le=u("el-tag"),te=u("el-popconfirm"),ae=u("el-table"),oe=u("el-pagination"),$=u("el-row"),i=u("el-input"),p=u("el-col"),ne=u("el-switch"),ue=u("el-icon"),re=u("el-upload"),se=u("el-dialog"),de=_e("loading");return C(),T("div",null,[e(X,null,{title:l(()=>[Ie]),content:l(()=>[xe]),default:l(()=>[e(Q,{outline:"",onClick:L},{default:l(()=>[e(I,{name:"ic:baseline-plus"}),d(" 创建套餐 ")]),_:1})]),_:1}),e(P,null,{default:l(()=>[e(A,{ref_key:"formRef",ref:M,inline:!0,model:m},{default:l(()=>[e(r,{label:"套餐状态",prop:"status"},{default:l(()=>[e(E,{modelValue:m.status,"onUpdate:modelValue":a[0]||(a[0]=t=>m.status=t),placeholder:"请选择套餐状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(C(!0),T(ge,null,be(h(he),t=>(C(),S(Z,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(r,null,{default:l(()=>[e(g,{type:"primary",onClick:_},{default:l(()=>[d(" 查询 ")]),_:1}),e(g,{onClick:a[1]||(a[1]=t=>N(M.value))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(P,{style:{width:"100%"}},{default:l(()=>[ve((C(),S(ae,{border:"",data:z.value,style:{width:"100%"},size:"large"},{default:l(()=>[e(s,{fixed:"",prop:"name",label:"套餐名称",width:"150"}),e(s,{prop:"order",label:"排序ID",align:"center",width:"100"}),e(s,{prop:"coverImg",label:"套餐封面",width:"150",align:"center"},{default:l(t=>[e(ee,{style:{height:"50px"},src:t.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),e(s,{prop:"price",label:"套餐价格",width:"100",align:"center"}),e(s,{prop:"weight",label:"套餐等级",width:"100",align:"center"}),e(s,{prop:"status",label:"套餐状态",width:"100"},{default:l(t=>[e(le,{type:"info"},{default:l(()=>[d(k(h(ke)[t.row.status]),1)]),_:2},1024)]),_:1}),e(s,{prop:"days",label:"套餐有效期",width:"120"},{default:l(t=>[d(k(t.row.days>0?`${t.row.days}天`:"永久"),1)]),_:1}),e(s,{prop:"model3Count",label:"基础模型额度",width:"100"}),e(s,{prop:"model4Count",label:"高级模型额度",width:"100"}),e(s,{prop:"drawMjCount",label:"绘画额度",width:"100"}),e(s,{prop:"des",label:"套餐描述",width:"300"}),e(s,{prop:"createdAt",label:"创建时间",width:"200"},{default:l(t=>[d(k(h(Ue)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(s,{fixed:"right",label:"操作",width:"200"},{default:l(t=>[e(g,{link:"",type:"primary",size:"small",onClick:ie=>Y(t.row)},{default:l(()=>[d(" 修改套餐 ")]),_:2},1032,["onClick"]),e(te,{title:"确认删除此套餐么?",width:"200","icon-color":"red",onConfirm:ie=>O(t.row)},{reference:l(()=>[e(g,{link:"",type:"danger",size:"small"},{default:l(()=>[d(" 删除套餐 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[de,w.value]]),e($,{class:"mt-5 flex justify-end"},{default:l(()=>[e(oe,{"current-page":m.page,"onUpdate:currentPage":a[2]||(a[2]=t=>m.page=t),"page-size":m.size,"onUpdate:pageSize":a[3]||(a[3]=t=>m.size=t),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:q.value,onSizeChange:_,onCurrentChange:_},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(se,{modelValue:b.value,"onUpdate:modelValue":a[17]||(a[17]=t=>b.value=t),"close-on-click-modal":!1,title:H.value,width:"970",onClose:a[18]||(a[18]=t=>J(V.value))},{footer:l(()=>[v("span",Me,[e(g,{onClick:a[15]||(a[15]=t=>b.value=!1)},{default:l(()=>[d("取消")]),_:1}),e(g,{type:"primary",onClick:a[16]||(a[16]=t=>W(V.value))},{default:l(()=>[d(k(K.value),1)]),_:1})])]),default:l(()=>[e(A,{ref_key:"formPackageRef",ref:V,"label-position":"right","label-width":"120px",model:o,rules:F},{default:l(()=>[e($,null,{default:l(()=>[e(p,{span:11},{default:l(()=>[e(r,{label:"套餐详细名称",prop:"name"},{default:l(()=>[e(i,{modelValue:o.name,"onUpdate:modelValue":a[4]||(a[4]=t=>o.name=t),placeholder:"请填写套餐名称"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:3,offset:2},{default:l(()=>[e(r,{label:"套餐开启状态",prop:"status"},{default:l(()=>[e(ne,{modelValue:o.status,"onUpdate:modelValue":a[5]||(a[5]=t=>o.status=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:7,offset:1},{default:l(()=>[e(r,{label:"套餐等级",prop:"status"},{default:l(()=>[e(i,{modelValue:o.weight,"onUpdate:modelValue":a[6]||(a[6]=t=>o.weight=t),modelModifiers:{number:!0},type:"number",placeholder:"设置套餐等级"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11},{default:l(()=>[e(r,{label:"设置套餐价格",prop:"price"},{default:l(()=>[e(i,{modelValue:o.price,"onUpdate:modelValue":a[7]||(a[7]=t=>o.price=t),modelModifiers:{number:!0},placeholder:"请填写套餐价格(¥)最多两位小数",type:"number"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"套餐有效时间",prop:"days"},{default:l(()=>[e(i,{modelValue:o.days,"onUpdate:modelValue":a[8]||(a[8]=t=>o.days=t),modelModifiers:{number:!0},type:"number",placeholder:"自卡密生成之日有效天数、-1为永久"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:9},{default:l(()=>[e(r,{label:"设置套餐封面",prop:"coverImg"},{default:l(()=>[e(i,{modelValue:o.coverImg,"onUpdate:modelValue":a[9]||(a[9]=t=>o.coverImg=t),class:"flex-1",placeholder:"填写封面地址或点击上传"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:2},{default:l(()=>[e(re,{class:"avatar-uploader",action:B.value,"show-file-list":!1,"on-success":G,"before-upload":R},{default:l(()=>[e(g,null,{default:l(()=>[e(ue,null,{default:l(()=>[e(h(ye))]),_:1})]),_:1})]),_:1},8,["action"])]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"设置套餐排序",prop:"order"},{default:l(()=>[e(i,{modelValue:o.order,"onUpdate:modelValue":a[10]||(a[10]=t=>o.order=t),modelModifiers:{number:!0},type:"number",placeholder:"排序数字越大越靠前|套餐权重等级则反之"},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11},{default:l(()=>[e(r,{label:"设置套餐描述",prop:"des"},{default:l(()=>[e(i,{modelValue:o.des,"onUpdate:modelValue":a[11]||(a[11]=t=>o.des=t),type:"textarea",placeholder:"请填写套餐详细介绍信息、用于对外展示、建议控制套餐价格字数以便于用户端对齐格式...",rows:6},null,8,["modelValue"])]),_:1})]),_:1}),e(p,{span:11,offset:2},{default:l(()=>[e(r,{label:"基础模型积分",prop:"model3Count"},{default:l(()=>[e(i,{modelValue:o.model3Count,"onUpdate:modelValue":a[12]||(a[12]=t=>o.model3Count=t),modelModifiers:{number:!0},type:"number",placeholder:"基础模型积分"},null,8,["modelValue"])]),_:1}),e(r,{label:"高级模型积分",prop:"model4Count"},{default:l(()=>[e(i,{modelValue:o.model4Count,"onUpdate:modelValue":a[13]||(a[13]=t=>o.model4Count=t),modelModifiers:{number:!0},type:"number",placeholder:"高级模型积分"},null,8,["modelValue"])]),_:1}),e(r,{label:"绘画模型积分",prop:"drawMjCount"},{default:l(()=>[e(i,{modelValue:o.drawMjCount,"onUpdate:modelValue":a[14]||(a[14]=t=>o.drawMjCount=t),modelModifiers:{number:!0},type:"number",placeholder:"绘画模型积分"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof D=="function"&&D(qe);export{qe as default}; diff --git a/public/admin/assets/plugin-QW7T5kxH.js b/public/admin/assets/plugin-QW7T5kxH.js deleted file mode 100644 index 38e5cd0..0000000 --- a/public/admin/assets/plugin-QW7T5kxH.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as be}from"./index.vue_vue_type_script_setup_true_lang-DpYLhOHb.js";import{_ as ve}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{I as S,d as ye,r as p,m as A,n as E,a as we,p as i,q as he,g as w,c as O,b as t,w as a,h as c,y as Pe,i as d,z as $,e as r,t as V,F as Ve,s as xe,B as ke,C as Ie,A as Ce,D as Se,E as Ue,G as x,H as L,j as De,_ as ze,k as M}from"./index-nGFMSQGw.js";import{Q as Ae}from"./index-BE-LteFu.js";const U={pluginList:f=>S.get("plugin/pluginList",{params:f}),delPlugin:f=>S.post("plugin/delPlugin",f),createPlugin:f=>S.post("plugin/createPlugin",f),updatePlugin:f=>S.post("plugin/updatePlugin",f)},Oe=r("div",{class:"flex items-center gap-4"},"插件设置",-1),$e=r("div",{class:"text-sm/6"},[r("div",null," 可自定义插件名称、描述和头像用于前端显示,同时需要设置对应的插件参数。 "),r("div",null,"插件系统包含,内置插件和普通插件两种。"),r("div",null," 内置插件已支持Suno音乐(参数:suno-music)、Midjourney绘图(参数:midjourney)、Stable Diffusion绘图(参数:stable-diffusion)、 "),r("div",null," Dalle绘画(参数:dall-e-3)、LumaVideo(参数:luma-video)、CogVideoX(参数:cog-video)、Flux绘画(参数:flux-draw),均需通过创意模型配置对应模型。 "),r("div",null,[c(" 普通插件需外部插件系统支持,具体参数请查看"),r("a",{href:"https://github.com/vastxie/99AIPlugin",target:"_blank"},"插件系统"),c(" 。 ")]),r("div",null," 若内置插件参数不在支持列表内,将以插件参数作为模型,调用对应模型。 ")],-1),je={style:{maxWidth:"350px"}},Fe={style:{maxHeight:"50px",cursor:"pointer"}},qe=["src"],Te={class:"flex justify-end mr-5"},Be=ye({__name:"plugin",setup(f){p();const j=p(0),_=p(!1),k=p(!1),R=["dall-e-3","stable-diffusion","flux-draw","midjourney","suno-music","luma-video","cog-video","net-search","mind-map"],h=A({name:"",pluginImg:"",description:"",demoData:"",isEnabled:1,isSystemPlugin:0,parameters:"",sortOrder:100,page:1,size:10}),F=p(`/api/upload/file?dir=${encodeURIComponent("system/plugin")}`),D=p(),v=p(0),G=p(!1),H=p(0),o=A({name:"",pluginImg:"",description:"",demoData:"",isEnabled:1,isSystemPlugin:0,parameters:"",sortOrder:100}),Q=A({name:[{required:!0,message:"请填写App名称",trigger:"blur"}],description:[{required:!0,message:"请填写App介绍信息、用于对外展示",trigger:"blur"}],pluginImg:[{required:!1,message:"请上传插件封面",trigger:"blur"}],demoData:[{required:!1,message:"请填写演示数据",trigger:"blur"}],isEnabled:[{required:!0,type:"number",message:"请选择插件状态",trigger:"change"}],isSystemPlugin:[{required:!0,type:"number",message:"请选择是否为系统插件",trigger:"change"}],parameters:[{required:!0,message:"请填写调用参数",trigger:"blur"}],sortOrder:[{required:!0,type:"number",message:"请填写排序值",trigger:"change"}]}),q=p([]);p([]);const W=E(()=>v.value?"更新插件":"新增插件"),J=E(()=>v.value?"确认更新":"确认新增");async function P(){try{k.value=!0;const n=await U.pluginList(h),{rows:e,count:s}=n.data;k.value=!1,j.value=s,q.value=e.sort((u,g)=>g.order-u.order)}catch{k.value=!1}}function K(n){v.value=n.id,G.value=n.role==="user",H.value=n.status;const{name:e,pluginImg:s,description:u,demoData:g,isEnabled:z,isSystemPlugin:m,parameters:I,sortOrder:y}=n;Ue(()=>{Object.assign(o,{name:e,pluginImg:s,description:u,demoData:g,isEnabled:z,isSystemPlugin:m,parameters:I,sortOrder:y})}),_.value=!0}function X(n){v.value=0,n==null||n.resetFields()}async function Y(n){await U.delPlugin({id:n.id}),x.success("删除分类成功"),P()}const T=(n,e)=>{console.log("response: ",n.data),o.pluginImg=n.data};async function Z(){if(o.pluginImg){const n=await te(o.pluginImg);ee(n,T)}}function ee(n,e){const s=new FormData;s.append("file",n),L.post(F.value,s,{headers:{"Content-Type":"multipart/form-data"}}).then(u=>{e(u.data)}).catch(u=>{console.error("上传失败",u)})}async function te(n){const e=await L.get(n,{responseType:"blob"});let s="downloaded_file";const u=e.headers["content-disposition"];if(u){const g=/filename="([^"]+)"/.exec(u);g!=null&&g[1]&&(s=g[1])}else s=le(n);return new File([e.data],s,{type:e.data.type})}function le(n){const s=new URL(n).pathname;return s.substring(s.lastIndexOf("/")+1)}const ae=n=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(n.type)){if(n.size/1024>300)return x.error("当前限制文件最大不超过 300KB!"),!1}else return x.error("当前系统仅支持 PNG、JPEG、GIF 和 WebP 格式的图片!"),!1};function ne(n){n==null||n.validate(async e=>{if(e){if(v.value){const s={id:v.value,...o};await U.updatePlugin(s),x({type:"success",message:"更新插件成功!"})}else await U.createPlugin(o),x({type:"success",message:"创建新的插件成功!"});_.value=!1,P()}})}return we(()=>{P()}),(n,e)=>{const s=De,u=ze,g=ve,z=i("el-image"),m=i("el-table-column"),I=i("el-tag"),y=i("el-button"),oe=i("el-popconfirm"),se=i("el-table"),ie=i("el-pagination"),re=i("el-row"),ue=be,C=i("el-input"),b=i("el-form-item"),B=i("el-switch"),de=i("el-option"),pe=i("el-select"),N=i("el-icon"),me=i("el-upload"),ce=i("el-form"),ge=i("el-dialog"),fe=he("loading");return w(),O("div",null,[t(g,null,{title:a(()=>[Oe]),content:a(()=>[$e]),default:a(()=>[t(u,{outline:"",onClick:e[0]||(e[0]=l=>_.value=!0)},{default:a(()=>[t(s,{name:"ic:baseline-plus"}),c(" 添加插件 ")]),_:1})]),_:1}),t(ue,{style:{width:"100%"}},{default:a(()=>[Pe((w(),$(se,{border:"",data:d(q),style:{width:"100%"},size:"large"},{default:a(()=>[t(m,{prop:"pluginImg",label:"封面",width:"100"},{default:a(l=>[t(z,{style:{height:"50px"},src:l.row.pluginImg,fit:"fill"},null,8,["src"])]),_:1}),t(m,{prop:"sortOrder",label:"排序",width:"120"}),c(" /> "),t(m,{prop:"name",label:"名称",width:"120"}),t(m,{prop:"parameters",label:"调用参数",width:"120"}),t(m,{prop:"description",label:"描述信息"},{default:a(l=>[r("template",null,[r("div",je,V(l.row.description),1)]),r("div",Fe,V(l.row.description),1)]),_:1}),t(m,{prop:"isSystemPlugin",label:"分类",width:"100"},{default:a(l=>[t(I,{type:l.row.isSystemPlugin===1?"success":"info"},{default:a(()=>[c(V(l.row.isSystemPlugin===1?"内置插件":"普通插件"),1)]),_:2},1032,["type"])]),_:1}),t(m,{prop:"isEnabled",label:"状态",width:"100"},{default:a(l=>[t(I,{type:l.row.isEnabled===1?"success":"danger"},{default:a(()=>[c(V(d(Ae)[l.row.isEnabled]),1)]),_:2},1032,["type"])]),_:1}),t(m,{label:"操作",width:"200"},{default:a(l=>[t(y,{link:"",type:"primary",size:"small",onClick:_e=>K(l.row)},{default:a(()=>[c(" 编辑 ")]),_:2},1032,["onClick"]),t(oe,{title:"确认删除此插件么?",width:"200","icon-color":"red",onConfirm:_e=>Y(l.row)},{reference:a(()=>[t(y,{link:"",type:"danger",size:"small"},{default:a(()=>[c(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[fe,d(k)]]),t(re,{class:"flex justify-end mt-5"},{default:a(()=>[t(ie,{"current-page":h.page,"onUpdate:currentPage":e[1]||(e[1]=l=>h.page=l),"page-size":h.size,"onUpdate:pageSize":e[2]||(e[2]=l=>h.size=l),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:d(j),onSizeChange:P,onCurrentChange:P},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(ge,{modelValue:d(_),"onUpdate:modelValue":e[12]||(e[12]=l=>Se(_)?_.value=l:null),"close-on-click-modal":!1,title:d(W),width:"570",onClose:e[13]||(e[13]=l=>X(d(D)))},{footer:a(()=>[r("span",Te,[t(y,{onClick:e[10]||(e[10]=l=>_.value=!1)},{default:a(()=>[c("取消")]),_:1}),t(y,{type:"primary",onClick:e[11]||(e[11]=l=>ne(d(D)))},{default:a(()=>[c(V(d(J)),1)]),_:1})])]),default:a(()=>[t(ce,{ref_key:"formPackageRef",ref:D,"label-position":"right","label-width":"100px",model:o,rules:Q},{default:a(()=>[t(b,{label:"插件名称",prop:"name"},{default:a(()=>[t(C,{modelValue:o.name,"onUpdate:modelValue":e[3]||(e[3]=l=>o.name=l),placeholder:"请填写插件名称"},null,8,["modelValue"])]),_:1}),t(b,{label:"插件状态",prop:"isEnabled"},{default:a(()=>[t(B,{modelValue:o.isEnabled,"onUpdate:modelValue":e[4]||(e[4]=l=>o.isEnabled=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),t(b,{label:"插件描述",prop:"description"},{default:a(()=>[t(C,{modelValue:o.description,"onUpdate:modelValue":e[5]||(e[5]=l=>o.description=l),type:"textarea",placeholder:"请填写插件描述、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1}),t(b,{label:"系统插件",prop:"status"},{default:a(()=>[t(B,{modelValue:o.isSystemPlugin,"onUpdate:modelValue":e[6]||(e[6]=l=>o.isSystemPlugin=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),t(b,{label:"插件参数",prop:"parameters"},{default:a(()=>[t(pe,{modelValue:o.parameters,"onUpdate:modelValue":e[7]||(e[7]=l=>o.parameters=l),placeholder:"请选择或填写插件参数",filterable:"","allow-create":"","default-first-option":"",clearable:""},{default:a(()=>[(w(),O(Ve,null,xe(R,l=>t(de,{key:l,label:l,value:l},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),t(b,{label:"插件图标",prop:"pluginImg"},{default:a(()=>[t(C,{modelValue:o.pluginImg,"onUpdate:modelValue":e[8]||(e[8]=l=>o.pluginImg=l),placeholder:"请填写或上传插件图标",clearable:""},{append:a(()=>[t(me,{class:"avatar-uploader",action:d(F),"show-file-list":!1,"on-success":T,"before-upload":ae,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[o.pluginImg?(w(),O("img",{key:0,src:o.pluginImg,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,qe)):(w(),$(N,{key:1,style:{width:"1rem"}},{default:a(()=>[t(d(ke))]),_:1}))]),_:1},8,["action"]),o.pluginImg?(w(),$(N,{key:0,onClick:Z,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[t(d(Ie))]),_:1})):Ce("",!0)]),_:1},8,["modelValue"])]),_:1}),t(b,{label:"排序ID",prop:"sortOrder"},{default:a(()=>[t(C,{modelValue:o.sortOrder,"onUpdate:modelValue":e[9]||(e[9]=l=>o.sortOrder=l),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(Be);export{Be as default}; diff --git a/public/admin/assets/rightSide-DTvA-_sw.js b/public/admin/assets/rightSide-DTvA-_sw.js deleted file mode 100644 index bc220a4..0000000 --- a/public/admin/assets/rightSide-DTvA-_sw.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./rightSide.vue_vue_type_script_setup_true_lang-oHdyjiaC.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-Dgz-jknv.js";import"./index-nGFMSQGw.js";import"./index.vue_vue_type_script_setup_true_lang-1hGRIBXM.js";import"./HDropdown-BjwO9ikd.js";import"./HTabList.vue_vue_type_script_setup_true_lang-P9EIXJZ1.js";import"./use-resolve-button-type-CVaAVCZ2.js";import"./index.vue_vue_type_script_setup_true_lang-BWhJNsuM.js";import"./index-CyI3Kccs.js";import"./index.vue_vue_type_script_setup_true_lang-CXCJ8paG.js";import"./HKbd-By3ZrrUU.js";import"./index.vue_vue_type_script_setup_true_lang-DwWyQI_t.js";import"./useMainPage-C9MASyfo.js";export{o as default}; diff --git a/public/admin/assets/sub-C9kpzA5T.js b/public/admin/assets/sub-C9kpzA5T.js deleted file mode 100644 index b1901a9..0000000 --- a/public/admin/assets/sub-C9kpzA5T.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as o}from"./sub.vue_vue_type_script_setup_true_lang-OSUVSBng.js";import"./index-nGFMSQGw.js";import"./item.vue_vue_type_script_setup_true_lang-DFSQ8avw.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-BEZk-UXU.js";export{o as default}; diff --git a/public/admin/assets/visible-ZdW2endy.js b/public/admin/assets/visible-ZdW2endy.js deleted file mode 100644 index cdb301a..0000000 --- a/public/admin/assets/visible-ZdW2endy.js +++ /dev/null @@ -1,8 +0,0 @@ - -/** - * 由 Fantastic-admin 提供技术支持 - * Powered by Fantastic-admin - * https://fantastic-admin.github.io - */ - -import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-BTce45WY.js";import{d as N,m as j,r as y,a as I,p as o,g as R,c as $,b as e,w as l,h as d,i as b,J as V,e as a,G as h,j as A,_ as E,k}from"./index-nGFMSQGw.js";import{a as w}from"./config-CYXO1pNF.js";const M=a("div",{class:"flex items-center gap-4"},"插件应用基础配置",-1),O=a("div",{class:"text-sm/6"},[a("div",null," 插件基础配置,包括插件地址、插件 Key、隐藏插件、插件优先显示等。 "),a("div",null,[d(" 插件项目"),a("a",{href:"https://github.com/vastxie/99AIPlugin",target:"_blank"},"开源地址"),d(" ,可自行部署,欢迎共同维护。 ")])],-1),S=a("div",{style:{width:"250px"}},[a("p",null,"开启后,将隐藏插件功能")],-1),G=a("div",{style:{width:"250px"}},[a("p",null,"开启后,对话页默认优先显示插件")],-1),J=N({__name:"visible",setup(T){const n=j({pluginUrl:"",pluginKey:"",siteRobotName:"",pluginFirst:"1",isHidePlugin:"0"}),U=y({pluginUrl:[{required:!0,trigger:"blur",message:"请填写插件地址"}],pluginKey:[{required:!0,trigger:"blur",message:"请填写插件key"}]}),p=y();async function _(){const i=await w.queryConfig({keys:["pluginUrl","pluginKey","pluginFirst","isHidePlugin"]});Object.assign(n,i.data)}function K(){var i;(i=p.value)==null||i.validate(async t=>{if(t){try{await w.setConfig({settings:C(n)}),h.success("变更配置信息成功")}catch{}_()}else h.error("请填写完整信息")})}function C(i){return Object.keys(i).map(t=>({configKey:t,configVal:i[t]}))}return I(()=>{_()}),(i,t)=>{const m=A,H=E,P=B,f=o("el-input"),u=o("el-form-item"),r=o("el-col"),c=o("el-row"),g=o("el-switch"),v=o("el-icon"),x=o("el-tooltip"),q=o("el-form"),F=o("el-card");return R(),$("div",null,[e(P,null,{title:l(()=>[M]),content:l(()=>[O]),default:l(()=>[e(H,{outline:"",onClick:K},{default:l(()=>[e(m,{name:"i-ri:file-text-line"}),d(" 保存设置 ")]),_:1})]),_:1}),e(F,{style:{margin:"20px"}},{default:l(()=>[e(q,{ref_key:"formRef",ref:p,rules:U.value,model:n,"label-width":"150px"},{default:l(()=>[e(c,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"插件地址",prop:"pluginUrl"},{default:l(()=>[e(f,{modelValue:n.pluginUrl,"onUpdate:modelValue":t[0]||(t[0]=s=>n.pluginUrl=s),placeholder:"插件地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"插件 Key",prop:"pluginKey"},{default:l(()=>[e(f,{modelValue:n.pluginKey,"onUpdate:modelValue":t[1]||(t[1]=s=>n.pluginKey=s),placeholder:"插件 Key",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"隐藏插件",prop:"isHidePlugin"},{default:l(()=>[e(g,{modelValue:n.isHidePlugin,"onUpdate:modelValue":t[2]||(t[2]=s=>n.isHidePlugin=s),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(x,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[S]),default:l(()=>[e(v,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(b(V))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1}),e(c,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"插件优先显示",prop:"pluginFirst"},{default:l(()=>[e(g,{modelValue:n.pluginFirst,"onUpdate:modelValue":t[3]||(t[3]=s=>n.pluginFirst=s),"active-value":"1","inactive-value":"0"},null,8,["modelValue"]),e(x,{class:"box-item",effect:"dark",placement:"right"},{content:l(()=>[G]),default:l(()=>[e(v,{class:"ml-3 cursor-pointer"},{default:l(()=>[e(b(V))]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof k=="function"&&k(J);export{J as default}; diff --git a/public/chat/assets/chat-07fbf5d6.css b/public/chat/assets/chat-07fbf5d6.css deleted file mode 100644 index a68dfa9..0000000 --- a/public/chat/assets/chat-07fbf5d6.css +++ /dev/null @@ -1 +0,0 @@ -.markdown-body{background-color:transparent;font-size:1rem;max-width:min(80vw,58rem)}.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:#1f2937}.markdown-body code.hljs{padding:0}.markdown-body .code-block-wrapper{position:relative;padding-top:2rem;max-width:min(80vw,58rem);scrollbar-width:none;-ms-overflow-style:none}.markdown-body .code-block-wrapper::-webkit-scrollbar{display:none}.markdown-body .code-block-header{position:absolute;top:5px;right:0;width:100%;padding:0 1rem;display:flex;justify-content:space-between;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}.whitespace-pre-wrap{font-size:1rem}.rotate-icon{animation:rotateAnimation 3s linear infinite;transform-origin:center}@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.5);opacity:.5}}.breathing-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background-color:#000;animation:breathe 2s infinite}@keyframes breathe{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}.loading-anchor:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;background-color:#000;border-radius:50%;animation:breathe 2s infinite ease-in-out;vertical-align:middle}.textLayer{position:absolute;text-align:initial;left:0;top:0;right:0;bottom:0;overflow:hidden;opacity:.2;line-height:1;-webkit-text-size-adjust:none;-moz-text-size-adjust:none;text-size-adjust:none;forced-color-adjust:none}.textLayer span,.textLayer br{color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0% 0%}.textLayer span.markedContent{top:0;height:0}.textLayer .highlight{margin:-1px;padding:1px;background-color:#b400aa;border-radius:4px}.textLayer .highlight.appended{position:initial}.textLayer .highlight.begin{border-radius:4px 0 0 4px}.textLayer .highlight.end{border-radius:0 4px 4px 0}.textLayer .highlight.middle{border-radius:0}.textLayer .highlight.selected{background-color:#006400}.textLayer ::-moz-selection{background:rgba(0,0,255,1)}.textLayer ::selection{background:rgba(0,0,255,1)}.textLayer br::-moz-selection{background:transparent}.textLayer br::selection{background:transparent}.textLayer .endOfContent{display:block;position:absolute;left:0;top:100%;right:0;bottom:0;z-index:-1;cursor:default;-webkit-user-select:none;-moz-user-select:none;user-select:none}.textLayer .endOfContent.active{top:0}:root{--annotation-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,")}@media (forced-colors: active){.annotationLayer .textWidgetAnnotation input:required,.annotationLayer .textWidgetAnnotation textarea:required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation.checkBox input:required,.annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid selectedItem}}.annotationLayer{position:absolute;top:0;left:0;pointer-events:none;transform-origin:0 0}.annotationLayer section{position:absolute;text-align:initial;pointer-events:auto;box-sizing:border-box;transform-origin:0 0}.annotationLayer .linkAnnotation>a,.annotationLayer .buttonWidgetAnnotation.pushButton>a{position:absolute;font-size:1em;top:0;left:0;width:100%;height:100%}.annotationLayer .buttonWidgetAnnotation.pushButton>canvas{width:100%;height:100%}.annotationLayer .linkAnnotation>a:hover,.annotationLayer .buttonWidgetAnnotation.pushButton>a:hover{opacity:.2;background:rgba(255,255,0,1);box-shadow:0 2px 10px #ff0}.annotationLayer .textAnnotation img{position:absolute;cursor:pointer;width:100%;height:100%}.annotationLayer .textWidgetAnnotation input,.annotationLayer .textWidgetAnnotation textarea,.annotationLayer .choiceWidgetAnnotation select,.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{background-image:var(--annotation-unfocused-field-background);border:1px solid transparent;box-sizing:border-box;font:calc(9px * var(--scale-factor)) sans-serif;height:100%;margin:0;vertical-align:top;width:100%}.annotationLayer .textWidgetAnnotation input:required,.annotationLayer .textWidgetAnnotation textarea:required,.annotationLayer .choiceWidgetAnnotation select:required,.annotationLayer .buttonWidgetAnnotation.checkBox input:required,.annotationLayer .buttonWidgetAnnotation.radioButton input:required{outline:1.5px solid red}.annotationLayer .choiceWidgetAnnotation select option{padding:0}.annotationLayer .buttonWidgetAnnotation.radioButton input{border-radius:50%}.annotationLayer .textWidgetAnnotation textarea{resize:none}.annotationLayer .textWidgetAnnotation input[disabled],.annotationLayer .textWidgetAnnotation textarea[disabled],.annotationLayer .choiceWidgetAnnotation select[disabled],.annotationLayer .buttonWidgetAnnotation.checkBox input[disabled],.annotationLayer .buttonWidgetAnnotation.radioButton input[disabled]{background:none;border:1px solid transparent;cursor:not-allowed}.annotationLayer .textWidgetAnnotation input:hover,.annotationLayer .textWidgetAnnotation textarea:hover,.annotationLayer .choiceWidgetAnnotation select:hover,.annotationLayer .buttonWidgetAnnotation.checkBox input:hover,.annotationLayer .buttonWidgetAnnotation.radioButton input:hover{border:1px solid rgba(0,0,0,1)}.annotationLayer .textWidgetAnnotation input:focus,.annotationLayer .textWidgetAnnotation textarea:focus,.annotationLayer .choiceWidgetAnnotation select:focus{background:none;border:1px solid transparent}.annotationLayer .textWidgetAnnotation input :focus,.annotationLayer .textWidgetAnnotation textarea :focus,.annotationLayer .choiceWidgetAnnotation select :focus,.annotationLayer .buttonWidgetAnnotation.checkBox :focus,.annotationLayer .buttonWidgetAnnotation.radioButton :focus{background-image:none;background-color:transparent;outline:auto}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after,.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{background-color:CanvasText;content:"";display:block;position:absolute}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before,.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{height:80%;left:45%;width:1px}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:before{transform:rotate(45deg)}.annotationLayer .buttonWidgetAnnotation.checkBox input:checked:after{transform:rotate(-45deg)}.annotationLayer .buttonWidgetAnnotation.radioButton input:checked:before{border-radius:50%;height:50%;left:30%;top:20%;width:50%}.annotationLayer .textWidgetAnnotation input.comb{font-family:monospace;padding-left:2px;padding-right:0}.annotationLayer .textWidgetAnnotation input.comb:focus{width:103%}.annotationLayer .buttonWidgetAnnotation.checkBox input,.annotationLayer .buttonWidgetAnnotation.radioButton input{-webkit-appearance:none;-moz-appearance:none;appearance:none}.annotationLayer .popupTriggerArea{height:100%;width:100%}.annotationLayer .popupWrapper{position:absolute;font-size:calc(9px * var(--scale-factor));width:100%;min-width:calc(180px * var(--scale-factor));pointer-events:none}.annotationLayer .popup{position:absolute;max-width:calc(180px * var(--scale-factor));background-color:#ff9;box-shadow:0 calc(2px * var(--scale-factor)) calc(5px * var(--scale-factor)) #888;border-radius:calc(2px * var(--scale-factor));padding:calc(6px * var(--scale-factor));margin-left:calc(5px * var(--scale-factor));cursor:pointer;font:message-box;white-space:normal;word-wrap:break-word;pointer-events:auto}.annotationLayer .popup>*{font-size:calc(9px * var(--scale-factor))}.annotationLayer .popup h1{display:inline-block}.annotationLayer .popupDate{display:inline-block;margin-left:calc(5px * var(--scale-factor))}.annotationLayer .popupContent{border-top:1px solid rgba(51,51,51,1);margin-top:calc(2px * var(--scale-factor));padding-top:calc(2px * var(--scale-factor))}.annotationLayer .richText>*{white-space:pre-wrap;font-size:calc(9px * var(--scale-factor))}.annotationLayer .highlightAnnotation,.annotationLayer .underlineAnnotation,.annotationLayer .squigglyAnnotation,.annotationLayer .strikeoutAnnotation,.annotationLayer .freeTextAnnotation,.annotationLayer .lineAnnotation svg line,.annotationLayer .squareAnnotation svg rect,.annotationLayer .circleAnnotation svg ellipse,.annotationLayer .polylineAnnotation svg polyline,.annotationLayer .polygonAnnotation svg polygon,.annotationLayer .caretAnnotation,.annotationLayer .inkAnnotation svg polyline,.annotationLayer .stampAnnotation,.annotationLayer .fileAttachmentAnnotation{cursor:pointer}.annotationLayer section svg{position:absolute;width:100%;height:100%}.annotationLayer .annotationTextContent{position:absolute;width:100%;height:100%;opacity:0;color:transparent;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none}.annotationLayer .annotationTextContent span{width:100%;display:inline-block}:root{--xfa-unfocused-field-background: url("data:image/svg+xml;charset=UTF-8,")}@media (forced-colors: active){.xfaLayer *:required{outline:1.5px solid selectedItem}}.xfaLayer .highlight{margin:-1px;padding:1px;background-color:#efcbed;border-radius:4px}.xfaLayer .highlight.appended{position:initial}.xfaLayer .highlight.begin{border-radius:4px 0 0 4px}.xfaLayer .highlight.end{border-radius:0 4px 4px 0}.xfaLayer .highlight.middle{border-radius:0}.xfaLayer .highlight.selected{background-color:#cbdfcb}.xfaLayer ::-moz-selection{background:rgba(0,0,255,1)}.xfaLayer ::selection{background:rgba(0,0,255,1)}.xfaPage{overflow:hidden;position:relative}.xfaContentarea{position:absolute}.xfaPrintOnly{display:none}.xfaLayer{position:absolute;text-align:initial;top:0;left:0;transform-origin:0 0;line-height:1.2}.xfaLayer *{color:inherit;font:inherit;font-style:inherit;font-weight:inherit;font-kerning:inherit;letter-spacing:-.01px;text-align:inherit;text-decoration:inherit;box-sizing:border-box;background-color:transparent;padding:0;margin:0;pointer-events:auto;line-height:inherit}.xfaLayer *:required{outline:1.5px solid red}.xfaLayer div{pointer-events:none}.xfaLayer svg{pointer-events:none}.xfaLayer svg *{pointer-events:none}.xfaLayer a{color:#00f}.xfaRich li{margin-left:3em}.xfaFont{color:#000;font-weight:400;font-kerning:none;font-size:10px;font-style:normal;letter-spacing:0;text-decoration:none;vertical-align:0}.xfaCaption{overflow:hidden;flex:0 0 auto}.xfaCaptionForCheckButton{overflow:hidden;flex:1 1 auto}.xfaLabel{height:100%;width:100%}.xfaLeft{display:flex;flex-direction:row;align-items:center}.xfaRight{display:flex;flex-direction:row-reverse;align-items:center}.xfaLeft>.xfaCaption,.xfaLeft>.xfaCaptionForCheckButton,.xfaRight>.xfaCaption,.xfaRight>.xfaCaptionForCheckButton{max-height:100%}.xfaTop{display:flex;flex-direction:column;align-items:flex-start}.xfaBottom{display:flex;flex-direction:column-reverse;align-items:flex-start}.xfaTop>.xfaCaption,.xfaTop>.xfaCaptionForCheckButton,.xfaBottom>.xfaCaption,.xfaBottom>.xfaCaptionForCheckButton{width:100%}.xfaBorder{background-color:transparent;position:absolute;pointer-events:none}.xfaWrapped{width:100%;height:100%}.xfaTextfield:focus,.xfaSelect:focus{background-image:none;background-color:transparent;outline:auto;outline-offset:-1px}.xfaCheckbox:focus,.xfaRadio:focus{outline:auto}.xfaTextfield,.xfaSelect{height:100%;width:100%;flex:1 1 auto;border:none;resize:none;background-image:var(--xfa-unfocused-field-background)}.xfaTop>.xfaTextfield,.xfaTop>.xfaSelect,.xfaBottom>.xfaTextfield,.xfaBottom>.xfaSelect{flex:0 1 auto}.xfaButton{cursor:pointer;width:100%;height:100%;border:none;text-align:center}.xfaLink{width:100%;height:100%;position:absolute;top:0;left:0}.xfaCheckbox,.xfaRadio{width:100%;height:100%;flex:0 0 auto;border:none}.xfaRich{white-space:pre-wrap;width:100%;height:100%}.xfaImage{-o-object-position:left top;object-position:left top;-o-object-fit:contain;object-fit:contain;width:100%;height:100%}.xfaLrTb,.xfaRlTb,.xfaTb{display:flex;flex-direction:column;align-items:stretch}.xfaLr{display:flex;flex-direction:row;align-items:stretch}.xfaRl{display:flex;flex-direction:row-reverse;align-items:stretch}.xfaTb>div{justify-content:left}.xfaPosition,.xfaArea{position:relative}.xfaValignMiddle{display:flex;align-items:center}.xfaTable{display:flex;flex-direction:column;align-items:stretch}.xfaTable .xfaRow{display:flex;flex-direction:row;align-items:stretch}.xfaTable .xfaRlRow{display:flex;flex-direction:row-reverse;align-items:stretch;flex:1}.xfaTable .xfaRlRow>div{flex:1}.xfaNonInteractive input,.xfaNonInteractive textarea,.xfaDisabled input,.xfaDisabled textarea,.xfaReadOnly input,.xfaReadOnly textarea{background:initial}@media print{.xfaTextfield,.xfaSelect{background:transparent}.xfaSelect{-webkit-appearance:none;-moz-appearance:none;appearance:none;text-indent:1px;text-overflow:""}}:root{--focus-outline: solid 2px blue;--hover-outline: dashed 2px blue;--freetext-line-height: 1.35;--freetext-padding: 2px;--editorInk-editing-cursor: pointer}@media (forced-colors: active){:root{--focus-outline: solid 3px ButtonText;--hover-outline: dashed 3px ButtonText}}[data-editor-rotation="90"]{transform:rotate(90deg)}[data-editor-rotation="180"]{transform:rotate(180deg)}[data-editor-rotation="270"]{transform:rotate(270deg)}.annotationEditorLayer{background:transparent;position:absolute;top:0;left:0;font-size:calc(100px * var(--scale-factor));transform-origin:0 0}.annotationEditorLayer .selectedEditor{outline:var(--focus-outline);resize:none}.annotationEditorLayer .freeTextEditor{position:absolute;background:transparent;border-radius:3px;padding:calc(var(--freetext-padding) * var(--scale-factor));resize:none;width:auto;height:auto;z-index:1;transform-origin:0 0;touch-action:none}.annotationEditorLayer .freeTextEditor .internal{background:transparent;border:none;top:0;left:0;overflow:visible;white-space:nowrap;resize:none;font:10px sans-serif;line-height:var(--freetext-line-height)}.annotationEditorLayer .freeTextEditor .overlay{position:absolute;display:none;background:transparent;top:0;left:0;width:100%;height:100%}.annotationEditorLayer .freeTextEditor .overlay.enabled{display:block}.annotationEditorLayer .freeTextEditor .internal:empty:before{content:attr(default-content);color:gray}.annotationEditorLayer .freeTextEditor .internal:focus{outline:none}.annotationEditorLayer .inkEditor.disabled{resize:none}.annotationEditorLayer .inkEditor.disabled.selectedEditor{resize:horizontal}.annotationEditorLayer .freeTextEditor:hover:not(.selectedEditor),.annotationEditorLayer .inkEditor:hover:not(.selectedEditor){outline:var(--hover-outline)}.annotationEditorLayer .inkEditor{position:absolute;background:transparent;border-radius:3px;overflow:auto;width:100%;height:100%;z-index:1;transform-origin:0 0;cursor:auto}.annotationEditorLayer .inkEditor.editing{resize:none;cursor:var(--editorInk-editing-cursor),pointer}.annotationEditorLayer .inkEditor .inkEditorCanvas{position:absolute;top:0;left:0;width:100%;height:100%;touch-action:none}:root{--viewer-container-height: 0;--pdfViewer-padding-bottom: 0;--page-margin: 1px auto -8px;--page-border: 9px solid transparent;--page-border-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABMAAAATCAYAAAByUDbMAAAA1ElEQVQ4jbWUWw6EIAxFy2NFs/8NzR4UJhpqLsdi5mOmSSMUOfYWqv3S0gMr4XlYH/64gZa/gN3ANYA7KAXALt4ktoQ5MI9YxqaG8bWmsIysMuT6piSQCa4whZThCu8CM4zP9YJaKci9jicPq3NcBWYoPMGUlhG7ivtkB+gVyFY75wXghOvh8t5mto1Mdim6e+MBqH6XsY+YAwjpq3vGF7weTWQptLEDVCZvPTMl5JZZsdh47FHW6qFMyvLYqjcnmdFfY9Xk/KDOlzCusX2mi/ofM7MPkzBcSp4Q1/wAAAAASUVORK5CYII=) 9 9 repeat;--spreadHorizontalWrapped-margin-LR: -3.5px;--scale-factor: 1}@media screen and (forced-colors: active){:root{--pdfViewer-padding-bottom: 9px;--page-margin: 8px auto -1px;--page-border: 1px solid CanvasText;--page-border-image: none;--spreadHorizontalWrapped-margin-LR: 3.5px}}[data-main-rotation="90"]{transform:rotate(90deg) translateY(-100%)}[data-main-rotation="180"]{transform:rotate(180deg) translate(-100%,-100%)}[data-main-rotation="270"]{transform:rotate(270deg) translate(-100%)}.pdfViewer{padding-bottom:var(--pdfViewer-padding-bottom)}.pdfViewer .canvasWrapper{overflow:hidden}.pdfViewer .page{direction:ltr;width:816px;height:1056px;margin:var(--page-margin);position:relative;overflow:visible;border:var(--page-border);-o-border-image:var(--page-border-image);border-image:var(--page-border-image);background-clip:content-box;background-color:#fff}.pdfViewer .dummyPage{position:relative;width:0;height:var(--viewer-container-height)}.pdfViewer.removePageBorders .page{margin:0 auto 10px;border:none}.pdfViewer.singlePageView{display:inline-block}.pdfViewer.singlePageView .page{margin:0;border:none}.pdfViewer.scrollHorizontal,.pdfViewer.scrollWrapped,.spread{margin-left:3.5px;margin-right:3.5px;text-align:center}.pdfViewer.scrollHorizontal,.spread{white-space:nowrap}.pdfViewer.removePageBorders,.pdfViewer.scrollHorizontal .spread,.pdfViewer.scrollWrapped .spread{margin-left:0;margin-right:0}.spread .page,.spread .dummyPage,.pdfViewer.scrollHorizontal .page,.pdfViewer.scrollWrapped .page,.pdfViewer.scrollHorizontal .spread,.pdfViewer.scrollWrapped .spread{display:inline-block;vertical-align:middle}.spread .page,.pdfViewer.scrollHorizontal .page,.pdfViewer.scrollWrapped .page{margin-left:var(--spreadHorizontalWrapped-margin-LR);margin-right:var(--spreadHorizontalWrapped-margin-LR)}.pdfViewer.removePageBorders .spread .page,.pdfViewer.removePageBorders.scrollHorizontal .page,.pdfViewer.removePageBorders.scrollWrapped .page{margin-left:5px;margin-right:5px}.pdfViewer .page canvas{margin:0;display:block}.pdfViewer .page canvas[hidden]{display:none}.pdfViewer .page .loadingIcon{position:absolute;display:block;left:0;top:0;right:0;bottom:0;background:url(data:image/gif;base64,R0lGODlhGAAYAPQAAP///wAAAM7Ozvr6+uDg4LCwsOjo6I6OjsjIyJycnNjY2KioqMDAwPLy8nZ2doaGhri4uGhoaAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh/hpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh+QQJBwAAACwAAAAAGAAYAAAFriAgjiQAQWVaDgr5POSgkoTDjFE0NoQ8iw8HQZQTDQjDn4jhSABhAAOhoTqSDg7qSUQwxEaEwwFhXHhHgzOA1xshxAnfTzotGRaHglJqkJcaVEqCgyoCBQkJBQKDDXQGDYaIioyOgYSXA36XIgYMBWRzXZoKBQUMmil0lgalLSIClgBpO0g+s26nUWddXyoEDIsACq5SsTMMDIECwUdJPw0Mzsu0qHYkw72bBmozIQAh+QQJBwAAACwAAAAAGAAYAAAFsCAgjiTAMGVaDgR5HKQwqKNxIKPjjFCk0KNXC6ATKSI7oAhxWIhezwhENTCQEoeGCdWIPEgzESGxEIgGBWstEW4QCGGAIJEoxGmGt5ZkgCRQQHkGd2CESoeIIwoMBQUMP4cNeQQGDYuNj4iSb5WJnmeGng0CDGaBlIQEJziHk3sABidDAHBgagButSKvAAoyuHuUYHgCkAZqebw0AgLBQyyzNKO3byNuoSS8x8OfwIchACH5BAkHAAAALAAAAAAYABgAAAW4ICCOJIAgZVoOBJkkpDKoo5EI43GMjNPSokXCINKJCI4HcCRIQEQvqIOhGhBHhUTDhGo4diOZyFAoKEQDxra2mAEgjghOpCgz3LTBIxJ5kgwMBShACREHZ1V4Kg1rS44pBAgMDAg/Sw0GBAQGDZGTlY+YmpyPpSQDiqYiDQoCliqZBqkGAgKIS5kEjQ21VwCyp76dBHiNvz+MR74AqSOdVwbQuo+abppo10ssjdkAnc0rf8vgl8YqIQAh+QQJBwAAACwAAAAAGAAYAAAFrCAgjiQgCGVaDgZZFCQxqKNRKGOSjMjR0qLXTyciHA7AkaLACMIAiwOC1iAxCrMToHHYjWQiA4NBEA0Q1RpWxHg4cMXxNDk4OBxNUkPAQAEXDgllKgMzQA1pSYopBgonCj9JEA8REQ8QjY+RQJOVl4ugoYssBJuMpYYjDQSliwasiQOwNakALKqsqbWvIohFm7V6rQAGP6+JQLlFg7KDQLKJrLjBKbvAor3IKiEAIfkECQcAAAAsAAAAABgAGAAABbUgII4koChlmhokw5DEoI4NQ4xFMQoJO4uuhignMiQWvxGBIQC+AJBEUyUcIRiyE6CR0CllW4HABxBURTUw4nC4FcWo5CDBRpQaCoF7VjgsyCUDYDMNZ0mHdwYEBAaGMwwHDg4HDA2KjI4qkJKUiJ6faJkiA4qAKQkRB3E0i6YpAw8RERAjA4tnBoMApCMQDhFTuySKoSKMJAq6rD4GzASiJYtgi6PUcs9Kew0xh7rNJMqIhYchACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJEAQZZo2JIKQxqCOjWCMDDMqxT2LAgELkBMZCoXfyCBQiFwiRsGpku0EshNgUNAtrYPT0GQVNRBWwSKBMp98P24iISgNDAS4ipGA6JUpA2WAhDR4eWM/CAkHBwkIDYcGiTOLjY+FmZkNlCN3eUoLDmwlDW+AAwcODl5bYl8wCVYMDw5UWzBtnAANEQ8kBIM0oAAGPgcREIQnVloAChEOqARjzgAQEbczg8YkWJq8nSUhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJGAYZZoOpKKQqDoORDMKwkgwtiwSBBYAJ2owGL5RgxBziQQMgkwoMkhNqAEDARPSaiMDFdDIiRSFQowMXE8Z6RdpYHWnEAWGPVkajPmARVZMPUkCBQkJBQINgwaFPoeJi4GVlQ2Qc3VJBQcLV0ptfAMJBwdcIl+FYjALQgimoGNWIhAQZA4HXSpLMQ8PIgkOSHxAQhERPw7ASTSFyCMMDqBTJL8tf3y2fCEAIfkECQcAAAAsAAAAABgAGAAABa8gII4k0DRlmg6kYZCoOg5EDBDEaAi2jLO3nEkgkMEIL4BLpBAkVy3hCTAQKGAznM0AFNFGBAbj2cA9jQixcGZAGgECBu/9HnTp+FGjjezJFAwFBQwKe2Z+KoCChHmNjVMqA21nKQwJEJRlbnUFCQlFXlpeCWcGBUACCwlrdw8RKGImBwktdyMQEQciB7oACwcIeA4RVwAODiIGvHQKERAjxyMIB5QlVSTLYLZ0sW8hACH5BAkHAAAALAAAAAAYABgAAAW0ICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWPM5wNiV0UDUIBNkdoepTfMkA7thIECiyRtUAGq8fm2O4jIBgMBA1eAZ6Knx+gHaJR4QwdCMKBxEJRggFDGgQEREPjjAMBQUKIwIRDhBDC2QNDDEKoEkDoiMHDigICGkJBS2dDA6TAAnAEAkCdQ8ORQcHTAkLcQQODLPMIgIJaCWxJMIkPIoAt3EhACH5BAkHAAAALAAAAAAYABgAAAWtICCOJNA0ZZoOpGGQrDoOBCoSxNgQsQzgMZyIlvOJdi+AS2SoyXrK4umWHM5wNiV0UN3xdLiqr+mENcWpM9TIbrsBkEck8oC0DQqBQGGIz+t3eXtob0ZTPgNrIwQJDgtGAgwCWSIMDg4HiiUIDAxFAAoODwxDBWINCEGdSTQkCQcoegADBaQ6MggHjwAFBZUFCm0HB0kJCUy9bAYHCCPGIwqmRq0jySMGmj6yRiEAIfkECQcAAAAsAAAAABgAGAAABbIgII4k0DRlmg6kYZCsOg4EKhLE2BCxDOAxnIiW84l2L4BLZKipBopW8XRLDkeCiAMyMvQAA+uON4JEIo+vqukkKQ6RhLHplVGN+LyKcXA4Dgx5DWwGDXx+gIKENnqNdzIDaiMECwcFRgQCCowiCAcHCZIlCgICVgSfCEMMnA0CXaU2YSQFoQAKUQMMqjoyAglcAAyBAAIMRUYLCUkFlybDeAYJryLNk6xGNCTQXY0juHghACH5BAkHAAAALAAAAAAYABgAAAWzICCOJNA0ZVoOAmkY5KCSSgSNBDE2hDyLjohClBMNij8RJHIQvZwEVOpIekRQJyJs5AMoHA+GMbE1lnm9EcPhOHRnhpwUl3AsknHDm5RN+v8qCAkHBwkIfw1xBAYNgoSGiIqMgJQifZUjBhAJYj95ewIJCQV7KYpzBAkLLQADCHOtOpY5PgNlAAykAEUsQ1wzCgWdCIdeArczBQVbDJ0NAqyeBb64nQAGArBTt8R8mLuyPyEAOwAAAAAAAAAAAA==) center no-repeat}.pdfViewer .page .loadingIcon.notVisible{background:none}.pdfViewer.enablePermissions .textLayer span{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important;cursor:not-allowed}.pdfPresentationMode .pdfViewer{padding-bottom:0}.pdfPresentationMode .spread{margin:0}.pdfPresentationMode .pdfViewer .page{margin:0 auto;border:2px solid transparent}@keyframes rotateAnimation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}::v-deep .rotate-icon{animation:rotateAnimation 1s linear infinite} diff --git a/public/chat/assets/index-e4921c26.css b/public/chat/assets/index-e4921c26.css deleted file mode 100644 index 7cf0d04..0000000 --- a/public/chat/assets/index-e4921c26.css +++ /dev/null @@ -1,10 +0,0 @@ -html.dark .markdown-body{color-scheme:dark;--color-prettylights-syntax-comment: #8b949e;--color-prettylights-syntax-constant: #79c0ff;--color-prettylights-syntax-entity: #d2a8ff;--color-prettylights-syntax-storage-modifier-import: #c9d1d9;--color-prettylights-syntax-entity-tag: #7ee787;--color-prettylights-syntax-keyword: #ff7b72;--color-prettylights-syntax-string: #a5d6ff;--color-prettylights-syntax-variable: #ffa657;--color-prettylights-syntax-brackethighlighter-unmatched: #f85149;--color-prettylights-syntax-invalid-illegal-text: #f0f6fc;--color-prettylights-syntax-invalid-illegal-bg: #8e1519;--color-prettylights-syntax-carriage-return-text: #f0f6fc;--color-prettylights-syntax-carriage-return-bg: #b62324;--color-prettylights-syntax-string-regexp: #7ee787;--color-prettylights-syntax-markup-list: #f2cc60;--color-prettylights-syntax-markup-heading: #1f6feb;--color-prettylights-syntax-markup-italic: #c9d1d9;--color-prettylights-syntax-markup-bold: #c9d1d9;--color-prettylights-syntax-markup-deleted-text: #ffdcd7;--color-prettylights-syntax-markup-deleted-bg: #67060c;--color-prettylights-syntax-markup-inserted-text: #aff5b4;--color-prettylights-syntax-markup-inserted-bg: #033a16;--color-prettylights-syntax-markup-changed-text: #ffdfb6;--color-prettylights-syntax-markup-changed-bg: #5a1e02;--color-prettylights-syntax-markup-ignored-text: #c9d1d9;--color-prettylights-syntax-markup-ignored-bg: #1158c7;--color-prettylights-syntax-meta-diff-range: #d2a8ff;--color-prettylights-syntax-brackethighlighter-angle: #8b949e;--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58;--color-prettylights-syntax-constant-other-reference-link: #a5d6ff;--color-fg-default: #c9d1d9;--color-fg-muted: #8b949e;--color-fg-subtle: #6e7681;--color-canvas-default: #0d1117;--color-canvas-subtle: #161b22;--color-border-default: #30363d;--color-border-muted: #21262d;--color-neutral-muted: rgba(110, 118, 129, .4);--color-accent-fg: #58a6ff;--color-accent-emphasis: #1f6feb;--color-attention-subtle: rgba(187, 128, 9, .15);--color-danger-fg: #f85149}html .markdown-body{color-scheme:light;--color-prettylights-syntax-comment: #6e7781;--color-prettylights-syntax-constant: #0550ae;--color-prettylights-syntax-entity: #8250df;--color-prettylights-syntax-storage-modifier-import: #24292f;--color-prettylights-syntax-entity-tag: #116329;--color-prettylights-syntax-keyword: #cf222e;--color-prettylights-syntax-string: #0a3069;--color-prettylights-syntax-variable: #953800;--color-prettylights-syntax-brackethighlighter-unmatched: #82071e;--color-prettylights-syntax-invalid-illegal-text: #f6f8fa;--color-prettylights-syntax-invalid-illegal-bg: #82071e;--color-prettylights-syntax-carriage-return-text: #f6f8fa;--color-prettylights-syntax-carriage-return-bg: #cf222e;--color-prettylights-syntax-string-regexp: #116329;--color-prettylights-syntax-markup-list: #3b2300;--color-prettylights-syntax-markup-heading: #0550ae;--color-prettylights-syntax-markup-italic: #24292f;--color-prettylights-syntax-markup-bold: #24292f;--color-prettylights-syntax-markup-deleted-text: #82071e;--color-prettylights-syntax-markup-deleted-bg: #ffebe9;--color-prettylights-syntax-markup-inserted-text: #116329;--color-prettylights-syntax-markup-inserted-bg: #dafbe1;--color-prettylights-syntax-markup-changed-text: #953800;--color-prettylights-syntax-markup-changed-bg: #ffd8b5;--color-prettylights-syntax-markup-ignored-text: #eaeef2;--color-prettylights-syntax-markup-ignored-bg: #0550ae;--color-prettylights-syntax-meta-diff-range: #8250df;--color-prettylights-syntax-brackethighlighter-angle: #57606a;--color-prettylights-syntax-sublimelinter-gutter-mark: #8c959f;--color-prettylights-syntax-constant-other-reference-link: #0a3069;--color-fg-default: #24292f;--color-fg-muted: #57606a;--color-fg-subtle: #6e7781;--color-canvas-default: #ffffff;--color-canvas-subtle: #f6f8fa;--color-border-default: #d0d7de;--color-border-muted: hsl(210, 18%, 87%);--color-neutral-muted: rgba(175, 184, 193, .2);--color-accent-fg: #0969da;--color-accent-emphasis: #0969da;--color-attention-subtle: #fff8c5;--color-danger-fg: #cf222e}.markdown-body{-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;margin:0;color:var(--color-fg-default);background-color:var(--color-canvas-default);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:16px;line-height:1.5;word-wrap:break-word}.markdown-body .octicon{display:inline-block;fill:currentColor;vertical-align:text-bottom}.markdown-body h1:hover .anchor .octicon-link:before,.markdown-body h2:hover .anchor .octicon-link:before,.markdown-body h3:hover .anchor .octicon-link:before,.markdown-body h4:hover .anchor .octicon-link:before,.markdown-body h5:hover .anchor .octicon-link:before,.markdown-body h6:hover .anchor .octicon-link:before{width:16px;height:16px;content:" ";display:inline-block;background-color:currentColor;-webkit-mask-image:url("data:image/svg+xml,");mask-image:url("data:image/svg+xml,")}.markdown-body details,.markdown-body figcaption,.markdown-body figure{display:block}.markdown-body summary{display:list-item}.markdown-body [hidden]{display:none!important}.markdown-body a{background-color:transparent;color:var(--color-accent-fg);text-decoration:none}.markdown-body abbr[title]{border-bottom:none;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.markdown-body b,.markdown-body strong{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dfn{font-style:italic}.markdown-body h1{margin:.67em 0;font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:2em;border-bottom:1px solid var(--color-border-muted)}.markdown-body mark{background-color:var(--color-attention-subtle);color:var(--color-fg-default)}.markdown-body small{font-size:90%}.markdown-body sub,.markdown-body sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}.markdown-body sub{bottom:-.25em}.markdown-body sup{top:-.5em}.markdown-body img{border-style:none;max-width:100%;box-sizing:content-box;background-color:var(--color-canvas-default)}.markdown-body code,.markdown-body kbd,.markdown-body pre,.markdown-body samp{font-family:monospace;font-size:1em}.markdown-body figure{margin:1em 40px}.markdown-body hr{box-sizing:content-box;overflow:hidden;background:transparent;border-bottom:1px solid var(--color-border-muted);height:.25em;padding:0;margin:24px 0;background-color:var(--color-border-default);border:0}.markdown-body input{font:inherit;margin:0;overflow:visible;font-family:inherit;font-size:inherit;line-height:inherit}.markdown-body [type=button],.markdown-body [type=reset],.markdown-body [type=submit]{-webkit-appearance:button}.markdown-body [type=checkbox],.markdown-body [type=radio]{box-sizing:border-box;padding:0}.markdown-body [type=number]::-webkit-inner-spin-button,.markdown-body [type=number]::-webkit-outer-spin-button{height:auto}.markdown-body [type=search]::-webkit-search-cancel-button,.markdown-body [type=search]::-webkit-search-decoration{-webkit-appearance:none}.markdown-body ::-webkit-input-placeholder{color:inherit;opacity:.54}.markdown-body ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}.markdown-body a:hover{text-decoration:underline}.markdown-body ::-moz-placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body ::placeholder{color:var(--color-fg-subtle);opacity:1}.markdown-body hr:before{display:table;content:""}.markdown-body hr:after{display:table;clear:both;content:""}.markdown-body table{border-spacing:0;border-collapse:collapse;display:block;width:-moz-max-content;width:max-content;max-width:100%;overflow:auto}.markdown-body td,.markdown-body th{padding:0}.markdown-body details summary{cursor:pointer}.markdown-body details:not([open])>*:not(summary){display:none!important}.markdown-body a:focus,.markdown-body [role=button]:focus,.markdown-body input[type=radio]:focus,.markdown-body input[type=checkbox]:focus{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:focus:not(:focus-visible),.markdown-body [role=button]:focus:not(:focus-visible),.markdown-body input[type=radio]:focus:not(:focus-visible),.markdown-body input[type=checkbox]:focus:not(:focus-visible){outline:solid 1px transparent}.markdown-body a:focus-visible,.markdown-body [role=button]:focus-visible,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus-visible{outline:2px solid var(--color-accent-fg);outline-offset:-2px;box-shadow:none}.markdown-body a:not([class]):focus,.markdown-body a:not([class]):focus-visible,.markdown-body input[type=radio]:focus,.markdown-body input[type=radio]:focus-visible,.markdown-body input[type=checkbox]:focus,.markdown-body input[type=checkbox]:focus-visible{outline-offset:0}.markdown-body kbd{display:inline-block;padding:3px 5px;font:11px ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;line-height:10px;color:var(--color-fg-default);vertical-align:middle;background-color:var(--color-canvas-subtle);border:solid 1px var(--color-neutral-muted);border-bottom-color:var(--color-neutral-muted);border-radius:6px;box-shadow:inset 0 -1px 0 var(--color-neutral-muted)}.markdown-body h1,.markdown-body h2,.markdown-body h3,.markdown-body h4,.markdown-body h5,.markdown-body h6{margin-top:24px;margin-bottom:16px;font-weight:var(--base-text-weight-semibold, 600);line-height:1.25}.markdown-body h2{font-weight:var(--base-text-weight-semibold, 600);padding-bottom:.3em;font-size:1.5em;border-bottom:1px solid var(--color-border-muted)}.markdown-body h3{font-weight:var(--base-text-weight-semibold, 600);font-size:1.25em}.markdown-body h4{font-weight:var(--base-text-weight-semibold, 600);font-size:1em}.markdown-body h5{font-weight:var(--base-text-weight-semibold, 600);font-size:.875em}.markdown-body h6{font-weight:var(--base-text-weight-semibold, 600);font-size:.85em;color:var(--color-fg-muted)}.markdown-body p{margin-top:0;margin-bottom:10px}.markdown-body blockquote{margin:0;padding:0 1em;color:var(--color-fg-muted);border-left:.25em solid var(--color-border-default)}.markdown-body ul,.markdown-body ol{margin-top:0;margin-bottom:0;padding-left:2em}.markdown-body ol ol,.markdown-body ul ol{list-style-type:lower-roman}.markdown-body ul ul ol,.markdown-body ul ol ol,.markdown-body ol ul ol,.markdown-body ol ol ol{list-style-type:lower-alpha}.markdown-body dd{margin-left:0}.markdown-body tt,.markdown-body code,.markdown-body samp{font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px}.markdown-body pre{margin-top:0;margin-bottom:0;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace;font-size:12px;word-wrap:normal}.markdown-body .octicon{display:inline-block;overflow:visible!important;vertical-align:text-bottom;fill:currentColor}.markdown-body input::-webkit-outer-spin-button,.markdown-body input::-webkit-inner-spin-button{margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.markdown-body:before{display:table;content:""}.markdown-body:after{display:table;clear:both;content:""}.markdown-body>*:first-child{margin-top:0!important}.markdown-body>*:last-child{margin-bottom:0!important}.markdown-body a:not([href]){color:inherit;text-decoration:none}.markdown-body .absent{color:var(--color-danger-fg)}.markdown-body .anchor{float:left;padding-right:4px;margin-left:-20px;line-height:1}.markdown-body .anchor:focus{outline:none}.markdown-body p,.markdown-body blockquote,.markdown-body ul,.markdown-body ol,.markdown-body dl,.markdown-body table,.markdown-body pre,.markdown-body details{margin-top:0;margin-bottom:16px}.markdown-body blockquote>:first-child{margin-top:0}.markdown-body blockquote>:last-child{margin-bottom:0}.markdown-body h1 .octicon-link,.markdown-body h2 .octicon-link,.markdown-body h3 .octicon-link,.markdown-body h4 .octicon-link,.markdown-body h5 .octicon-link,.markdown-body h6 .octicon-link{color:var(--color-fg-default);vertical-align:middle;visibility:hidden}.markdown-body h1:hover .anchor,.markdown-body h2:hover .anchor,.markdown-body h3:hover .anchor,.markdown-body h4:hover .anchor,.markdown-body h5:hover .anchor,.markdown-body h6:hover .anchor{text-decoration:none}.markdown-body h1:hover .anchor .octicon-link,.markdown-body h2:hover .anchor .octicon-link,.markdown-body h3:hover .anchor .octicon-link,.markdown-body h4:hover .anchor .octicon-link,.markdown-body h5:hover .anchor .octicon-link,.markdown-body h6:hover .anchor .octicon-link{visibility:visible}.markdown-body h1 tt,.markdown-body h1 code,.markdown-body h2 tt,.markdown-body h2 code,.markdown-body h3 tt,.markdown-body h3 code,.markdown-body h4 tt,.markdown-body h4 code,.markdown-body h5 tt,.markdown-body h5 code,.markdown-body h6 tt,.markdown-body h6 code{padding:0 .2em;font-size:inherit}.markdown-body summary h1,.markdown-body summary h2,.markdown-body summary h3,.markdown-body summary h4,.markdown-body summary h5,.markdown-body summary h6{display:inline-block}.markdown-body summary h1 .anchor,.markdown-body summary h2 .anchor,.markdown-body summary h3 .anchor,.markdown-body summary h4 .anchor,.markdown-body summary h5 .anchor,.markdown-body summary h6 .anchor{margin-left:-40px}.markdown-body summary h1,.markdown-body summary h2{padding-bottom:0;border-bottom:0}.markdown-body ul.no-list,.markdown-body ol.no-list{padding:0;list-style-type:none}.markdown-body ol[type=a]{list-style-type:lower-alpha}.markdown-body ol[type=A]{list-style-type:upper-alpha}.markdown-body ol[type=i]{list-style-type:lower-roman}.markdown-body ol[type=I]{list-style-type:upper-roman}.markdown-body ol[type="1"]{list-style-type:decimal}.markdown-body div>ol:not([type]){list-style-type:decimal}.markdown-body ul ul,.markdown-body ul ol,.markdown-body ol ol,.markdown-body ol ul{margin-top:0;margin-bottom:0}.markdown-body li>p{margin-top:16px}.markdown-body li+li{margin-top:.25em}.markdown-body dl{padding:0}.markdown-body dl dt{padding:0;margin-top:16px;font-size:1em;font-style:italic;font-weight:var(--base-text-weight-semibold, 600)}.markdown-body dl dd{padding:0 16px;margin-bottom:16px}.markdown-body table th{font-weight:var(--base-text-weight-semibold, 600)}.markdown-body table th,.markdown-body table td{padding:6px 13px;border:1px solid var(--color-border-default)}.markdown-body table tr{background-color:var(--color-canvas-default);border-top:1px solid var(--color-border-muted)}.markdown-body table tr:nth-child(2n){background-color:var(--color-canvas-subtle)}.markdown-body table img{background-color:transparent}.markdown-body img[align=right]{padding-left:20px}.markdown-body img[align=left]{padding-right:20px}.markdown-body .emoji{max-width:none;vertical-align:text-top;background-color:transparent}.markdown-body span.frame{display:block;overflow:hidden}.markdown-body span.frame>span{display:block;float:left;width:auto;padding:7px;margin:13px 0 0;overflow:hidden;border:1px solid var(--color-border-default)}.markdown-body span.frame span img{display:block;float:left}.markdown-body span.frame span span{display:block;padding:5px 0 0;clear:both;color:var(--color-fg-default)}.markdown-body span.align-center{display:block;overflow:hidden;clear:both}.markdown-body span.align-center>span{display:block;margin:13px auto 0;overflow:hidden;text-align:center}.markdown-body span.align-center span img{margin:0 auto;text-align:center}.markdown-body span.align-right{display:block;overflow:hidden;clear:both}.markdown-body span.align-right>span{display:block;margin:13px 0 0;overflow:hidden;text-align:right}.markdown-body span.align-right span img{margin:0;text-align:right}.markdown-body span.float-left{display:block;float:left;margin-right:13px;overflow:hidden}.markdown-body span.float-left span{margin:13px 0 0}.markdown-body span.float-right{display:block;float:right;margin-left:13px;overflow:hidden}.markdown-body span.float-right>span{display:block;margin:13px auto 0;overflow:hidden;text-align:right}.markdown-body code,.markdown-body tt{padding:.2em .4em;margin:0;font-size:85%;white-space:break-spaces;background-color:var(--color-neutral-muted);border-radius:6px}.markdown-body code br,.markdown-body tt br{display:none}.markdown-body del code{text-decoration:inherit}.markdown-body samp{font-size:85%}.markdown-body pre code{font-size:100%}.markdown-body pre>code{padding:0;margin:0;word-break:normal;white-space:pre;background:transparent;border:0}.markdown-body .highlight{margin-bottom:16px}.markdown-body .highlight pre{margin-bottom:0;word-break:normal}.markdown-body .highlight pre,.markdown-body pre{padding:16px;overflow:auto;font-size:85%;line-height:1.45;background-color:var(--color-canvas-subtle);border-radius:6px}.markdown-body pre code,.markdown-body pre tt{display:inline;max-width:auto;padding:0;margin:0;overflow:visible;line-height:inherit;word-wrap:normal;background-color:transparent;border:0}.markdown-body .csv-data td,.markdown-body .csv-data th{padding:5px;overflow:hidden;font-size:12px;line-height:1;text-align:left;white-space:nowrap}.markdown-body .csv-data .blob-num{padding:10px 8px 9px;text-align:right;background:var(--color-canvas-default);border:0}.markdown-body .csv-data tr{border-top:0}.markdown-body .csv-data th{font-weight:var(--base-text-weight-semibold, 600);background:var(--color-canvas-subtle);border-top:0}.markdown-body [data-footnote-ref]:before{content:"["}.markdown-body [data-footnote-ref]:after{content:"]"}.markdown-body .footnotes{font-size:12px;color:var(--color-fg-muted);border-top:1px solid var(--color-border-default)}.markdown-body .footnotes ol{padding-left:16px}.markdown-body .footnotes ol ul{display:inline-block;padding-left:16px;margin-top:16px}.markdown-body .footnotes li{position:relative}.markdown-body .footnotes li:target:before{position:absolute;top:-8px;right:-8px;bottom:-8px;left:-24px;pointer-events:none;content:"";border:2px solid var(--color-accent-emphasis);border-radius:6px}.markdown-body .footnotes li:target{color:var(--color-fg-default)}.markdown-body .footnotes .data-footnote-backref g-emoji{font-family:monospace}.markdown-body .pl-c{color:var(--color-prettylights-syntax-comment)}.markdown-body .pl-c1,.markdown-body .pl-s .pl-v{color:var(--color-prettylights-syntax-constant)}.markdown-body .pl-e,.markdown-body .pl-en{color:var(--color-prettylights-syntax-entity)}.markdown-body .pl-smi,.markdown-body .pl-s .pl-s1{color:var(--color-prettylights-syntax-storage-modifier-import)}.markdown-body .pl-ent{color:var(--color-prettylights-syntax-entity-tag)}.markdown-body .pl-k{color:var(--color-prettylights-syntax-keyword)}.markdown-body .pl-s,.markdown-body .pl-pds,.markdown-body .pl-s .pl-pse .pl-s1,.markdown-body .pl-sr,.markdown-body .pl-sr .pl-cce,.markdown-body .pl-sr .pl-sre,.markdown-body .pl-sr .pl-sra{color:var(--color-prettylights-syntax-string)}.markdown-body .pl-v,.markdown-body .pl-smw{color:var(--color-prettylights-syntax-variable)}.markdown-body .pl-bu{color:var(--color-prettylights-syntax-brackethighlighter-unmatched)}.markdown-body .pl-ii{color:var(--color-prettylights-syntax-invalid-illegal-text);background-color:var(--color-prettylights-syntax-invalid-illegal-bg)}.markdown-body .pl-c2{color:var(--color-prettylights-syntax-carriage-return-text);background-color:var(--color-prettylights-syntax-carriage-return-bg)}.markdown-body .pl-sr .pl-cce{font-weight:700;color:var(--color-prettylights-syntax-string-regexp)}.markdown-body .pl-ml{color:var(--color-prettylights-syntax-markup-list)}.markdown-body .pl-mh,.markdown-body .pl-mh .pl-en,.markdown-body .pl-ms{font-weight:700;color:var(--color-prettylights-syntax-markup-heading)}.markdown-body .pl-mi{font-style:italic;color:var(--color-prettylights-syntax-markup-italic)}.markdown-body .pl-mb{font-weight:700;color:var(--color-prettylights-syntax-markup-bold)}.markdown-body .pl-md{color:var(--color-prettylights-syntax-markup-deleted-text);background-color:var(--color-prettylights-syntax-markup-deleted-bg)}.markdown-body .pl-mi1{color:var(--color-prettylights-syntax-markup-inserted-text);background-color:var(--color-prettylights-syntax-markup-inserted-bg)}.markdown-body .pl-mc{color:var(--color-prettylights-syntax-markup-changed-text);background-color:var(--color-prettylights-syntax-markup-changed-bg)}.markdown-body .pl-mi2{color:var(--color-prettylights-syntax-markup-ignored-text);background-color:var(--color-prettylights-syntax-markup-ignored-bg)}.markdown-body .pl-mdr{font-weight:700;color:var(--color-prettylights-syntax-meta-diff-range)}.markdown-body .pl-ba{color:var(--color-prettylights-syntax-brackethighlighter-angle)}.markdown-body .pl-sg{color:var(--color-prettylights-syntax-sublimelinter-gutter-mark)}.markdown-body .pl-corl{text-decoration:underline;color:var(--color-prettylights-syntax-constant-other-reference-link)}.markdown-body g-emoji{display:inline-block;min-width:1ch;font-family:"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;font-size:1em;font-style:normal!important;font-weight:var(--base-text-weight-normal, 400);line-height:1;vertical-align:-.075em}.markdown-body g-emoji img{width:1em;height:1em}.markdown-body .task-list-item{list-style-type:none}.markdown-body .task-list-item label{font-weight:var(--base-text-weight-normal, 400)}.markdown-body .task-list-item.enabled label{cursor:pointer}.markdown-body .task-list-item+.task-list-item{margin-top:4px}.markdown-body .task-list-item .handle{display:none}.markdown-body .task-list-item-checkbox{margin:0 .2em .25em -1.4em;vertical-align:middle}.markdown-body .contains-task-list:dir(rtl) .task-list-item-checkbox{margin:0 -1.6em .25em .2em}.markdown-body .contains-task-list{position:relative}.markdown-body .contains-task-list:hover .task-list-item-convert-container,.markdown-body .contains-task-list:focus-within .task-list-item-convert-container{display:block;width:auto;height:24px;overflow:visible;clip:auto}.markdown-body ::-webkit-calendar-picker-indicator{filter:invert(50%)}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{content:"";display:inline-block;width:.875em;height:.875em;margin-left:2px;--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .markdown-body.markdown-body-generate>dd:last-child):after,:is(.dark .markdown-body.markdown-body-generate>dl:last-child):after,:is(.dark .markdown-body.markdown-body-generate>dt:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h1:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h2:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h3:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h4:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h5:last-child):after,:is(.dark .markdown-body.markdown-body-generate>h6:last-child):after,:is(.dark .markdown-body.markdown-body-generate>li:last-child):after,:is(.dark .markdown-body.markdown-body-generate>ol:last-child li:last-child):after,:is(.dark .markdown-body.markdown-body-generate>p:last-child):after,:is(.dark .markdown-body.markdown-body-generate>pre:last-child code):after,:is(.dark .markdown-body.markdown-body-generate>td:last-child):after,:is(.dark .markdown-body.markdown-body-generate>ul:last-child li:last-child):after{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.markdown-body.markdown-body-generate>dd:last-child:after,.markdown-body.markdown-body-generate>dl:last-child:after,.markdown-body.markdown-body-generate>dt:last-child:after,.markdown-body.markdown-body-generate>h1:last-child:after,.markdown-body.markdown-body-generate>h2:last-child:after,.markdown-body.markdown-body-generate>h3:last-child:after,.markdown-body.markdown-body-generate>h4:last-child:after,.markdown-body.markdown-body-generate>h5:last-child:after,.markdown-body.markdown-body-generate>h6:last-child:after,.markdown-body.markdown-body-generate>li:last-child:after,.markdown-body.markdown-body-generate>ol:last-child li:last-child:after,.markdown-body.markdown-body-generate>p:last-child:after,.markdown-body.markdown-body-generate>pre:last-child code:after,.markdown-body.markdown-body-generate>td:last-child:after,.markdown-body.markdown-body-generate>ul:last-child li:last-child:after{border-radius:50%;animation:breathes 2s infinite ease-in-out;vertical-align:middle}@keyframes breathes{0%,to{transform:scale(1);opacity:1}50%{transform:scale(.75);opacity:.75}}@keyframes blink{to{visibility:hidden}}html,body,#app{height:100%;overflow:hidden}body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,Helvetica Neue,Arial,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);--tw-text-opacity: 1 !important;color:rgb(13 13 13 / var(--tw-text-opacity))!important}:is(.dark body){--tw-text-opacity: 1 !important;color:rgb(236 236 236 / var(--tw-text-opacity))!important}* :focus{outline:none}/*! - Theme: GitHub Dark - Description: Dark theme as seen on github.com - Author: github.com - Maintainer: @Hirse - Updated: 2021-05-15 - - Outdated base version: https://github.com/primer/github-syntax-dark - Current colors taken from GitHub's CSS -*/.hljs{color:#c9d1d9;background:#0d1117}.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-template-tag,.hljs-template-variable,.hljs-type,.hljs-variable.language_{color:#ff7b72}.hljs-title,.hljs-title.class_,.hljs-title.class_.inherited__,.hljs-title.function_{color:#d2a8ff}.hljs-attr,.hljs-attribute,.hljs-literal,.hljs-meta,.hljs-number,.hljs-operator,.hljs-variable,.hljs-selector-attr,.hljs-selector-class,.hljs-selector-id{color:#79c0ff}.hljs-regexp,.hljs-string,.hljs-meta .hljs-string{color:#a5d6ff}.hljs-built_in,.hljs-symbol{color:#ffa657}.hljs-comment,.hljs-code,.hljs-formula{color:#8b949e}.hljs-name,.hljs-quote,.hljs-selector-tag,.hljs-selector-pseudo{color:#7ee787}.hljs-subst{color:#c9d1d9}.hljs-section{color:#1f6feb;font-weight:700}.hljs-bullet{color:#f2cc60}.hljs-emphasis{color:#c9d1d9;font-style:italic}.hljs-strong{color:#c9d1d9;font-weight:700}.hljs-addition{color:#aff5b4;background-color:#033a16}.hljs-deletion{color:#ffdcd7;background-color:#67060c}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e3e3e3}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#b4b4b4}input::placeholder,textarea::placeholder{opacity:1;color:#b4b4b4}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*{scrollbar-color:initial;scrollbar-width:initial}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}@media (min-width: 1750px){.container{max-width:1750px}}@media (min-width: 1870px){.container{max-width:1870px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.sticky{position:sticky}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-right-8{right:-2rem}.bottom-0{bottom:0}.bottom-\[350px\]{bottom:350px}.bottom-full{bottom:100%}.left-0{left:0}.left-1\/2{left:50%}.left-3{left:.75rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.right-4{right:1rem}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-3{top:.75rem}.top-4{top:1rem}.top-full{top:100%}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.m-2{margin:.5rem}.m-auto{margin:auto}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.mx-2{margin-left:.5rem;margin-right:.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-top:.25rem;margin-bottom:.25rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-3{margin-top:.75rem;margin-bottom:.75rem}.my-4{margin-top:1rem;margin-bottom:1rem}.my-5{margin-top:1.25rem;margin-bottom:1.25rem}.mb-1{margin-bottom:.25rem}.mb-10{margin-bottom:2.5rem}.mb-14{margin-bottom:3.5rem}.mb-16{margin-bottom:4rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-5{margin-bottom:1.25rem}.mb-8{margin-bottom:2rem}.mb-\[20px\]{margin-bottom:20px}.ml-0{margin-left:0}.ml-1{margin-left:.25rem}.ml-10{margin-left:2.5rem}.ml-2{margin-left:.5rem}.ml-20{margin-left:5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-\[8px\]{margin-left:8px}.ml-auto{margin-left:auto}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mr-8{margin-right:2rem}.mt-0{margin-top:0}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-\[50px\]{margin-top:50px}.box-border{box-sizing:border-box}.line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.h-1\/2{height:50%}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-4{height:1rem}.h-4\/5{height:80%}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-\[220px\]{height:220px}.h-\[280px\]{height:280px}.h-\[400px\]{height:400px}.h-\[55vh\]{height:55vh}.h-\[600px\]{height:600px}.h-\[60vh\]{height:60vh}.h-\[7rem\]{height:7rem}.h-auto{height:auto}.h-full{height:100%}.max-h-16{max-height:4rem}.max-h-\[60vh\]{max-height:60vh}.max-h-\[70vh\]{max-height:70vh}.max-h-\[80vh\]{max-height:80vh}.max-h-\[85vh\]{max-height:85vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-28{min-height:28px}.min-h-\[100px\]{min-height:100px}.min-h-\[200px\]{min-height:200px}.min-h-\[2rem\]{min-height:2rem}.min-h-\[4rem\]{min-height:4rem}.min-h-\[60vh\]{min-height:60vh}.min-h-\[70vh\]{min-height:70vh}.min-h-full{min-height:100%}.w-1\/2{width:50%}.w-1\/3{width:33.333333%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-10{width:2.5rem}.w-12{width:3rem}.w-16{width:4rem}.w-20{width:5rem}.w-24{width:6rem}.w-28{width:7rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-40{width:10rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-8{width:2rem}.w-9{width:2.25rem}.w-\[100px\]{width:100px}.w-\[120px\]{width:120px}.w-\[150px\]{width:150px}.w-\[200\]{width:200}.w-\[200px\]{width:200px}.w-\[220px\]{width:220px}.w-\[228px\]{width:228px}.w-\[230px\]{width:230px}.w-\[280px\]{width:280px}.w-\[300px\]{width:300px}.w-\[40\%\]{width:40%}.w-\[600px\]{width:600px}.w-\[60px\]{width:60px}.w-\[80vw\]{width:80vw}.w-auto{width:auto}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-12{min-width:3rem}.min-w-\[35vw\]{min-width:35vw}.min-w-\[8rem\]{min-width:8rem}.min-w-full{min-width:100%}.max-w-3xl{max-width:48rem}.max-w-48{max-width:12rem}.max-w-5xl{max-width:64rem}.max-w-60{max-width:15rem}.max-w-7xl{max-width:80rem}.max-w-\[95vw\]{max-width:95vw}.max-w-full{max-width:100%}.max-w-xl{max-width:36rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.origin-bottom-right{transform-origin:bottom right}.origin-top-left{transform-origin:top left}.origin-top-right{transform-origin:top right}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-0{--tw-translate-x: 0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-5{--tw-translate-x: 1.25rem;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-90{--tw-scale-x: .9;--tw-scale-y: .9;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x: .95;--tw-scale-y: .95;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.resize-none{resize:none}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-7{grid-template-columns:repeat(7,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-row-reverse{flex-direction:row-reverse}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.flex-nowrap{flex-wrap:nowrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-x-1{-moz-column-gap:.25rem;column-gap:.25rem}.gap-x-1\.5{-moz-column-gap:.375rem;column-gap:.375rem}.gap-x-3{-moz-column-gap:.75rem;column-gap:.75rem}.space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1rem * var(--tw-space-x-reverse));margin-left:calc(1rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.5rem * var(--tw-space-y-reverse))}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(1px * var(--tw-divide-y-reverse))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity: 1;border-color:rgb(236 236 236 / var(--tw-divide-opacity))}.self-start{align-self:flex-start}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.scroll-smooth{scroll-behavior:smooth}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.text-wrap{text-wrap:wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-none{border-radius:0}.rounded-sm{border-radius:.125rem}.rounded-xl{border-radius:.75rem}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-0{border-width:0px}.border-2{border-width:2px}.border-4{border-width:4px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.border-solid{border-style:solid}.border-gray-100{--tw-border-opacity: 1;border-color:rgb(236 236 236 / var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(227 227 227 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(205 205 205 / var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity: 1;border-color:rgb(180 180 180 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(155 155 155 / var(--tw-border-opacity))}.border-primary-500{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.border-b-gray-100{--tw-border-opacity: 1;border-bottom-color:rgb(236 236 236 / var(--tw-border-opacity))}.border-t-gray-100{--tw-border-opacity: 1;border-top-color:rgb(236 236 236 / var(--tw-border-opacity))}.bg-\[\#fff\]{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-black\/40{background-color:#0006}.bg-blue-300{--tw-bg-opacity: 1;background-color:rgb(147 197 253 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-custom-gradient{--tw-bg-opacity: 1;background-color:rgb(244 244 244 / var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity: 1;background-color:rgb(227 227 227 / var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity: 1;background-color:rgb(205 205 205 / var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity: 1;background-color:rgb(180 180 180 / var(--tw-bg-opacity))}.bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity: 1;background-color:rgb(155 155 155 / var(--tw-bg-opacity))}.bg-gray-700{--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}.bg-gray-800{--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity))}.bg-green-300{--tw-bg-opacity: 1;background-color:rgb(134 239 172 / var(--tw-bg-opacity))}.bg-indigo-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-opacity{--tw-bg-opacity: 1;background-color:rgb(244 244 244 / var(--tw-bg-opacity))}.bg-pink-300{--tw-bg-opacity: 1;background-color:rgb(249 168 212 / var(--tw-bg-opacity))}.bg-primary-100{--tw-bg-opacity: 1;background-color:rgb(224 231 255 / var(--tw-bg-opacity))}.bg-primary-300{--tw-bg-opacity: 1;background-color:rgb(165 180 252 / var(--tw-bg-opacity))}.bg-primary-500{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.bg-primary-600{--tw-bg-opacity: 1;background-color:rgb(79 70 229 / var(--tw-bg-opacity))}.bg-primary-700{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.bg-primary-gradient{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-purple-300{--tw-bg-opacity: 1;background-color:rgb(216 180 254 / var(--tw-bg-opacity))}.bg-red-300{--tw-bg-opacity: 1;background-color:rgb(252 165 165 / var(--tw-bg-opacity))}.bg-red-500{--tw-bg-opacity: 1;background-color:rgb(239 68 68 / var(--tw-bg-opacity))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-yellow-300{--tw-bg-opacity: 1;background-color:rgb(253 224 71 / var(--tw-bg-opacity))}.bg-opacity-50{--tw-bg-opacity: .5}.bg-custom-gradient{background-image:#f4f4f4}.bg-primary-gradient{background-image:white}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.p-8{padding:2rem}.p-\[10px\]{padding:10px}.px-0{padding-left:0;padding-right:0}.px-1{padding-left:.25rem;padding-right:.25rem}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-1{padding-bottom:.25rem}.pb-10{padding-bottom:2.5rem}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pl-0{padding-left:0}.pl-12{padding-left:3rem}.pl-20{padding-left:5rem}.pl-28{padding-left:7rem}.pl-3{padding-left:.75rem}.pl-8{padding-left:2rem}.pl-\[260px\]{padding-left:260px}.pr-10{padding-right:2.5rem}.pr-12{padding-right:3rem}.pr-2{padding-right:.5rem}.pr-3{padding-right:.75rem}.pt-1{padding-top:.25rem}.pt-3{padding-top:.75rem}.pt-5{padding-top:1.25rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.text-start{text-align:start}.align-top{vertical-align:top}.align-middle{vertical-align:middle}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-\[20px\]{font-size:20px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.leading-6{line-height:1.5rem}.leading-8{line-height:2rem}.leading-9{line-height:2.25rem}.leading-relaxed{line-height:1.625}.tracking-tight{letter-spacing:-.025em}.text-\[\#142D6E\]{--tw-text-opacity: 1;color:rgb(20 45 110 / var(--tw-text-opacity))}.text-\[\#374151\]{--tw-text-opacity: 1;color:rgb(55 65 81 / var(--tw-text-opacity))}.text-\[\#555\]{--tw-text-opacity: 1;color:rgb(85 85 85 / var(--tw-text-opacity))}.text-\[\#95AAC9\],.text-\[\#95aac9\]{--tw-text-opacity: 1;color:rgb(149 170 201 / var(--tw-text-opacity))}.text-\[\#989898\]{--tw-text-opacity: 1;color:rgb(152 152 152 / var(--tw-text-opacity))}.text-\[\#cbd5e1\]{--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}.text-\[currentColor\]{color:currentColor}.text-\[red\]{--tw-text-opacity: 1;color:rgb(255 0 0 / var(--tw-text-opacity))}.text-blue-500{--tw-text-opacity: 1;color:rgb(59 130 246 / var(--tw-text-opacity))}.text-gray-300{--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity: 1;color:rgb(103 103 103 / var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity: 1;color:rgb(66 66 66 / var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity: 1;color:rgb(33 33 33 / var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.text-gray-950{--tw-text-opacity: 1;color:rgb(13 13 13 / var(--tw-text-opacity))}.text-green-500{--tw-text-opacity: 1;color:rgb(34 197 94 / var(--tw-text-opacity))}.text-indigo-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-indigo-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-neutral-300{--tw-text-opacity: 1;color:rgb(212 212 212 / var(--tw-text-opacity))}.text-pink-500{--tw-text-opacity: 1;color:rgb(236 72 153 / var(--tw-text-opacity))}.text-primary-500{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.text-primary-600{--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}.text-purple-500{--tw-text-opacity: 1;color:rgb(168 85 247 / var(--tw-text-opacity))}.text-red-500{--tw-text-opacity: 1;color:rgb(239 68 68 / var(--tw-text-opacity))}.text-slate-500{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.text-slate-800{--tw-text-opacity: 1;color:rgb(30 41 59 / var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.text-yellow-500{--tw-text-opacity: 1;color:rgb(234 179 8 / var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-80{opacity:.8}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline{outline-style:solid}.outline-0{outline-width:0px}.ring-0{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-2{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-inset{--tw-ring-inset: inset}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-gray-100{--tw-ring-opacity: 1;--tw-ring-color: rgb(236 236 236 / var(--tw-ring-opacity))}.ring-gray-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(227 227 227 / var(--tw-ring-opacity))}.ring-gray-300{--tw-ring-opacity: 1;--tw-ring-color: rgb(205 205 205 / var(--tw-ring-opacity))}.ring-indigo-500{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.ring-primary-200{--tw-ring-opacity: 1;--tw-ring-color: rgb(199 210 254 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-100{transition-delay:.1s}.duration-100{transition-duration:.1s}.duration-150{transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.duration-75{transition-duration:75ms}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.placeholder\:text-gray-400::-moz-placeholder{--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}.placeholder\:text-gray-400::placeholder{--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}.focus-within\:ring-2:focus-within{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus-within\:ring-primary-500:focus-within{--tw-ring-opacity: 1;--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity))}.group:hover .group-hover\:block{display:block}.group:hover .group-hover\:bg-gray-100{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.group:hover .group-hover\:bg-gray-50{--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}.group:hover .group-hover\:text-gray-500{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}.group:hover .group-hover\:text-gray-700{--tw-text-opacity: 1;color:rgb(66 66 66 / var(--tw-text-opacity))}.group:hover .group-hover\:text-gray-900{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity))}.group:hover .group-hover\:opacity-100{opacity:1}.hover\:border-primary-500:hover{--tw-border-opacity: 1;border-color:rgb(99 102 241 / var(--tw-border-opacity))}.hover\:bg-\[\#666161\]:hover{--tw-bg-opacity: 1;background-color:rgb(102 97 97 / var(--tw-bg-opacity))}.hover\:bg-blue-700:hover{--tw-bg-opacity: 1;background-color:rgb(29 78 216 / var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity: 1;background-color:rgb(236 236 236 / var(--tw-bg-opacity))}.hover\:bg-gray-200:hover{--tw-bg-opacity: 1;background-color:rgb(227 227 227 / var(--tw-bg-opacity))}.hover\:bg-gray-50:hover{--tw-bg-opacity: 1;background-color:rgb(249 249 249 / var(--tw-bg-opacity))}.hover\:bg-gray-700:hover{--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}.hover\:bg-indigo-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-neutral-100:hover{--tw-bg-opacity: 1;background-color:rgb(245 245 245 / var(--tw-bg-opacity))}.hover\:bg-opacity:hover{--tw-bg-opacity: 1;background-color:rgb(244 244 244 / var(--tw-bg-opacity))}.hover\:bg-primary-400:hover{--tw-bg-opacity: 1;background-color:rgb(129 140 248 / var(--tw-bg-opacity))}.hover\:bg-primary-500:hover{--tw-bg-opacity: 1;background-color:rgb(99 102 241 / var(--tw-bg-opacity))}.hover\:bg-primary-700:hover{--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}.hover\:bg-red-700:hover{--tw-bg-opacity: 1;background-color:rgb(185 28 28 / var(--tw-bg-opacity))}.hover\:bg-white:hover{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.hover\:text-gray-500:hover{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}.hover\:text-gray-600:hover{--tw-text-opacity: 1;color:rgb(103 103 103 / var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity: 1;color:rgb(66 66 66 / var(--tw-text-opacity))}.hover\:text-indigo-500:hover,.hover\:text-primary-500:hover{--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}.hover\:underline:hover{text-decoration-line:underline}.hover\:opacity-80:hover{opacity:.8}.hover\:shadow-md:hover{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.hover\:ring-primary-300:hover{--tw-ring-opacity: 1;--tw-ring-color: rgb(165 180 252 / var(--tw-ring-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.focus\:ring-inset:focus{--tw-ring-inset: inset}.focus\:ring-gray-300:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(205 205 205 / var(--tw-ring-opacity))}.focus\:ring-indigo-600:focus{--tw-ring-opacity: 1;--tw-ring-color: rgb(79 70 229 / var(--tw-ring-opacity))}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline:focus-visible{outline-style:solid}.focus-visible\:outline-2:focus-visible{outline-width:2px}.focus-visible\:outline-offset-2:focus-visible{outline-offset:2px}.focus-visible\:outline-indigo-600:focus-visible{outline-color:#4f46e5}.focus-visible\:outline-primary-600:focus-visible{outline-color:#4f46e5}.disabled\:bg-gray-400:disabled{--tw-bg-opacity: 1;background-color:rgb(180 180 180 / var(--tw-bg-opacity))}:is(.dark .dark\:border-\[\#ffffff17\]){border-color:#ffffff17}:is(.dark .dark\:border-gray-300){--tw-border-opacity: 1;border-color:rgb(205 205 205 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-400){--tw-border-opacity: 1;border-color:rgb(180 180 180 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-600){--tw-border-opacity: 1;border-color:rgb(103 103 103 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-700){--tw-border-opacity: 1;border-color:rgb(66 66 66 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-750){--tw-border-opacity: 1;border-color:rgb(47 47 47 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-800){--tw-border-opacity: 1;border-color:rgb(33 33 33 / var(--tw-border-opacity))}:is(.dark .dark\:border-gray-900){--tw-border-opacity: 1;border-color:rgb(23 23 23 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-700){--tw-border-opacity: 1;border-color:rgb(64 64 64 / var(--tw-border-opacity))}:is(.dark .dark\:border-neutral-800){--tw-border-opacity: 1;border-color:rgb(38 38 38 / var(--tw-border-opacity))}:is(.dark .dark\:border-b-gray-800){--tw-border-opacity: 1;border-bottom-color:rgb(33 33 33 / var(--tw-border-opacity))}:is(.dark .dark\:border-t-gray-800){--tw-border-opacity: 1;border-top-color:rgb(33 33 33 / var(--tw-border-opacity))}:is(.dark .dark\:bg-gray-500){--tw-bg-opacity: 1;background-color:rgb(155 155 155 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-750){--tw-bg-opacity: 1;background-color:rgb(47 47 47 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-800){--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(23 23 23 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-neutral-800){--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-700){--tw-bg-opacity: 1;background-color:rgb(67 56 202 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-primary-900){--tw-bg-opacity: 1;background-color:rgb(49 46 129 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-800){--tw-bg-opacity: 1;background-color:rgb(30 41 59 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-transparent){background-color:transparent}:is(.dark .dark\:text-\[\#3a71ff\]){--tw-text-opacity: 1;color:rgb(58 113 255 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(236 236 236 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-300){--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-500){--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-600){--tw-text-opacity: 1;color:rgb(103 103 103 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-200){--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}:is(.dark .dark\:text-neutral-400){--tw-text-opacity: 1;color:rgb(163 163 163 / var(--tw-text-opacity))}:is(.dark .dark\:text-primary-500){--tw-text-opacity: 1;color:rgb(99 102 241 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-400){--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:text-slate-500){--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:ring-gray-400){--tw-ring-opacity: 1;--tw-ring-color: rgb(180 180 180 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-600){--tw-ring-opacity: 1;--tw-ring-color: rgb(103 103 103 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-700){--tw-ring-opacity: 1;--tw-ring-color: rgb(66 66 66 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-750){--tw-ring-opacity: 1;--tw-ring-color: rgb(47 47 47 / var(--tw-ring-opacity))}:is(.dark .dark\:ring-gray-800){--tw-ring-opacity: 1;--tw-ring-color: rgb(33 33 33 / var(--tw-ring-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::-moz-placeholder{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-gray-500)::placeholder{--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:bg-gray-700){--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-300){--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}:is(.dark .group:hover .dark\:group-hover\:text-gray-400){--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:bg-\[\#33373c\]:hover){--tw-bg-opacity: 1;background-color:rgb(51 55 60 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-\[\#414755\]:hover){--tw-bg-opacity: 1;background-color:rgb(65 71 85 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-700:hover){--tw-bg-opacity: 1;background-color:rgb(66 66 66 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-750:hover){--tw-bg-opacity: 1;background-color:rgb(47 47 47 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:bg-gray-800:hover){--tw-bg-opacity: 1;background-color:rgb(33 33 33 / var(--tw-bg-opacity))}:is(.dark .dark\:hover\:text-gray-200:hover){--tw-text-opacity: 1;color:rgb(227 227 227 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-300:hover){--tw-text-opacity: 1;color:rgb(205 205 205 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-400:hover){--tw-text-opacity: 1;color:rgb(180 180 180 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-500:hover){--tw-text-opacity: 1;color:rgb(155 155 155 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-primary-600:hover){--tw-text-opacity: 1;color:rgb(79 70 229 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:ring-gray-600:hover){--tw-ring-opacity: 1;--tw-ring-color: rgb(103 103 103 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-400:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(180 180 180 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-600:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(103 103 103 / var(--tw-ring-opacity))}:is(.dark .dark\:focus\:ring-gray-750:focus){--tw-ring-opacity: 1;--tw-ring-color: rgb(47 47 47 / var(--tw-ring-opacity))}@media (min-width: 640px){.sm\:mx-auto{margin-left:auto;margin-right:auto}.sm\:w-1\/2{width:50%}.sm\:w-full{width:100%}.sm\:max-w-sm{max-width:24rem}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:leading-6{line-height:1.5rem}}@media (min-width: 768px){.md\:w-1\/3{width:33.333333%}.md\:max-w-\[40rem\]{max-width:40rem}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width: 1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width: 1536px){.\32xl\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}@font-face{font-family:KaTeX_AMS;font-style:normal;font-weight:400;src:url(./KaTeX_AMS-Regular-0cdd387c.woff2) format("woff2"),url(./KaTeX_AMS-Regular-30da91e8.woff) format("woff"),url(./KaTeX_AMS-Regular-68534840.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:700;src:url(./KaTeX_Caligraphic-Bold-de7701e4.woff2) format("woff2"),url(./KaTeX_Caligraphic-Bold-1ae6bd74.woff) format("woff"),url(./KaTeX_Caligraphic-Bold-07d8e303.ttf) format("truetype")}@font-face{font-family:KaTeX_Caligraphic;font-style:normal;font-weight:400;src:url(./KaTeX_Caligraphic-Regular-5d53e70a.woff2) format("woff2"),url(./KaTeX_Caligraphic-Regular-3398dd02.woff) format("woff"),url(./KaTeX_Caligraphic-Regular-ed0b7437.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:700;src:url(./KaTeX_Fraktur-Bold-74444efd.woff2) format("woff2"),url(./KaTeX_Fraktur-Bold-9be7ceb8.woff) format("woff"),url(./KaTeX_Fraktur-Bold-9163df9c.ttf) format("truetype")}@font-face{font-family:KaTeX_Fraktur;font-style:normal;font-weight:400;src:url(./KaTeX_Fraktur-Regular-51814d27.woff2) format("woff2"),url(./KaTeX_Fraktur-Regular-5e28753b.woff) format("woff"),url(./KaTeX_Fraktur-Regular-1e6f9579.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:700;src:url(./KaTeX_Main-Bold-0f60d1b8.woff2) format("woff2"),url(./KaTeX_Main-Bold-c76c5d69.woff) format("woff"),url(./KaTeX_Main-Bold-138ac28d.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:700;src:url(./KaTeX_Main-BoldItalic-99cd42a3.woff2) format("woff2"),url(./KaTeX_Main-BoldItalic-a6f7ec0d.woff) format("woff"),url(./KaTeX_Main-BoldItalic-70ee1f64.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:italic;font-weight:400;src:url(./KaTeX_Main-Italic-97479ca6.woff2) format("woff2"),url(./KaTeX_Main-Italic-f1d6ef86.woff) format("woff"),url(./KaTeX_Main-Italic-0d85ae7c.ttf) format("truetype")}@font-face{font-family:KaTeX_Main;font-style:normal;font-weight:400;src:url(./KaTeX_Main-Regular-c2342cd8.woff2) format("woff2"),url(./KaTeX_Main-Regular-c6368d87.woff) format("woff"),url(./KaTeX_Main-Regular-d0332f52.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:700;src:url(./KaTeX_Math-BoldItalic-dc47344d.woff2) format("woff2"),url(./KaTeX_Math-BoldItalic-850c0af5.woff) format("woff"),url(./KaTeX_Math-BoldItalic-f9377ab0.ttf) format("truetype")}@font-face{font-family:KaTeX_Math;font-style:italic;font-weight:400;src:url(./KaTeX_Math-Italic-7af58c5e.woff2) format("woff2"),url(./KaTeX_Math-Italic-8a8d2445.woff) format("woff"),url(./KaTeX_Math-Italic-08ce98e5.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:700;src:url(./KaTeX_SansSerif-Bold-e99ae511.woff2) format("woff2"),url(./KaTeX_SansSerif-Bold-ece03cfd.woff) format("woff"),url(./KaTeX_SansSerif-Bold-1ece03f7.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:italic;font-weight:400;src:url(./KaTeX_SansSerif-Italic-00b26ac8.woff2) format("woff2"),url(./KaTeX_SansSerif-Italic-91ee6750.woff) format("woff"),url(./KaTeX_SansSerif-Italic-3931dd81.ttf) format("truetype")}@font-face{font-family:KaTeX_SansSerif;font-style:normal;font-weight:400;src:url(./KaTeX_SansSerif-Regular-68e8c73e.woff2) format("woff2"),url(./KaTeX_SansSerif-Regular-11e4dc8a.woff) format("woff"),url(./KaTeX_SansSerif-Regular-f36ea897.ttf) format("truetype")}@font-face{font-family:KaTeX_Script;font-style:normal;font-weight:400;src:url(./KaTeX_Script-Regular-036d4e95.woff2) format("woff2"),url(./KaTeX_Script-Regular-d96cdf2b.woff) format("woff"),url(./KaTeX_Script-Regular-1c67f068.ttf) format("truetype")}@font-face{font-family:KaTeX_Size1;font-style:normal;font-weight:400;src:url(./KaTeX_Size1-Regular-6b47c401.woff2) format("woff2"),url(./KaTeX_Size1-Regular-c943cc98.woff) format("woff"),url(./KaTeX_Size1-Regular-95b6d2f1.ttf) format("truetype")}@font-face{font-family:KaTeX_Size2;font-style:normal;font-weight:400;src:url(./KaTeX_Size2-Regular-d04c5421.woff2) format("woff2"),url(./KaTeX_Size2-Regular-2014c523.woff) format("woff"),url(./KaTeX_Size2-Regular-a6b2099f.ttf) format("truetype")}@font-face{font-family:KaTeX_Size3;font-style:normal;font-weight:400;src:url(data:font/woff2;base64,d09GMgABAAAAAA4oAA4AAAAAHbQAAA3TAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAABmAAgRQIDgmcDBEICo1oijYBNgIkA14LMgAEIAWJAAeBHAyBHBvbGiMRdnO0IkRRkiYDgr9KsJ1NUAf2kILNxgUmgqIgq1P89vcbIcmsQbRps3vCcXdYOKSWEPEKgZgQkprQQsxIXUgq0DqpGKmIvrgkeVGtEQD9DzAO29fM9jYhxZEsL2FeURH2JN4MIcTdO049NCVdxQ/w9NrSYFEBKTDKpLKfNkCGDc1RwjZLQcm3vqJ2UW9Xfa3tgAHz6ivp6vgC2yD4/6352ndnN0X0TL7seypkjZlMsjmZnf0Mm5Q+JykRWQBKCVCVPbARPXWyQtb5VgLB6Biq7/Uixcj2WGqdI8tGSgkuRG+t910GKP2D7AQH0DB9FMDW/obJZ8giFI3Wg8Cvevz0M+5m0rTh7XDBlvo9Y4vm13EXmfttwI4mBo1EG15fxJhUiCLbiiyCf/ZA6MFAhg3pGIZGdGIVjtPn6UcMk9A/UUr9PhoNsCENw1APAq0gpH73e+M+0ueyHbabc3vkbcdtzcf/fiy+NxQEjf9ud/ELBHAXJ0nk4z+MXH2Ev/kWyV4k7SkvpPc9Qr38F6RPWnM9cN6DJ0AdD1BhtgABtmoRoFCvPsBAumNm6soZG2Gk5GyVTo2sJncSyp0jQTYoR6WDvTwaaEcHsxHfvuWhHA3a6bN7twRKtcGok6NsCi7jYRrM2jExsUFMxMQYuJbMhuWNOumEJy9hi29Dmg5zMp/A5+hhPG19j1vBrq8JTLr8ki5VLPmG/PynJHVul440bxg5xuymHUFPBshC+nA9I1FmwbRBTNHAcik3Oae0cxKoI3MOriM42UrPe51nsaGxJ+WfXubAsP84aabUlQSJ1IiE0iPETLUU4CATgfXSCSpuRFRmCGbO+wSpAnzaeaCYW1VNEysRtuXCEL1kUFUbbtMv3Tilt/1c11jt3Q5bbMa84cpWipp8Elw3MZhOHsOlwwVUQM3lAR35JiFQbaYCRnMF2lxAWoOg2gyoIV4PouX8HytNIfLhqpJtXB4vjiViUI8IJ7bkC4ikkQvKksnOTKICwnqWSZ9YS5f0WCxmpgjbIq7EJcM4aI2nmhLNY2JIUgOjXZFWBHb+x5oh6cwb0Tv1ackHdKi0I9OO2wE9aogIOn540CCCziyhN+IaejtgAONKznHlHyutPrHGwCx9S6B8kfS4Mfi4Eyv7OU730bT1SCBjt834cXsf43zVjPUqqJjgrjeGnBxSG4aYAKFuVbeCfkDIjAqMb6yLNIbCuvXhMH2/+k2vkNpkORhR59N1CkzoOENvneIosjYmuTxlhUzaGEJQ/iWqx4dmwpmKjrwTiTGTCVozNAYqk/zXOndWxuWSmJkQpJw3pK5KX6QrLt5LATMqpmPAQhkhK6PUjzHUn7E0gHE0kPE0iKkolgkUx9SZmVAdDgpffdyJKg3k7VmzYGCwVXGz/tXmkOIp+vcWs+EMuhhvN0h9uhfzWJziBQmCREGSIFmQIkgVpAnSBRmC//6hkLZwaVhwxlrJSOdqlFtOYxlau9F2QN5Y98xmIAsiM1HVp2VFX+DHHGg6Ecjh3vmqtidX3qHI2qycTk/iwxSt5UzTmEP92ZBnEWTk4Mx8Mpl78ZDokxg/KWb+Q0QkvdKVmq3TMW+RXEgrsziSAfNXFMhDc60N5N9jQzjfO0kBKpUZl0ZmwJ41j/B9Hz6wmRaJB84niNmQrzp9eSlQCDDzazGDdVi3P36VZQ+Jy4f9UBNp+3zTjqI4abaFAm+GShVaXlsGdF3FYzZcDI6cori4kMxUECl9IjJZpzkvitAoxKue+90pDMvcKRxLl53TmOKCmV/xRolNKSqqUxc6LStOETmFOiLZZptlZepcKiAzteG8PEdpnQpbOMNcMsR4RR2Bs0cKFEvSmIjAFcnarqwUL4lDhHmnVkwu1IwshbiCcgvOheZuYyOteufZZwlcTlLgnZ3o/WcYdzZHW/WGaqaVfmTZ1aWCceJjkbZqsfbkOtcFlUZM/jy+hXHDbaUobWqqXaeWobbLO99yG5N3U4wxco0rQGGcOLASFMXeJoham8M+/x6O2WywK2l4HGbq1CoUyC/IZikQhdq3SiuNrvAEj0AVu9x2x3lp/xWzahaxidezFVtdcb5uEnzyl0ZmYiuKI0exvCd4Xc9CV1KB0db00z92wDPde0kukbvZIWN6jUWFTmPIC/Y4UPCm8UfDTFZpZNon1qLFTkBhxzB+FjQRA2Q/YRJT8pQigslMaUpFyAG8TMlXigiqmAZX4xgijKjRlGpLE0GdplRfCaJo0JQaSxNBk6ZmMzcya0FmrcisDdn0Q3HI2sWSppYigmlM1XT/kLQZSNpMJG0WkjYbSZuDpM1F0uYhFc1HxU4m1QJjDK6iL0S5uSj5rgXc3RejEigtcRBtqYPQsiTskmO5vosV+q4VGIKbOkDg0jtRrq+Em1YloaTFar3EGr1EUC8R0kus1Uus00usL97ABr2BjXoDm/QGNhuWtMVBKOwg/i78lT7hBsAvDmwHc/ao3vmUbBmhjeYySZNWvGkfZAgISDSaDo1SVpzGDsAEkF8B+gEapViUoZgUWXcRIGFZNm6gWbAKk0bp0k1MHG9fLYtV4iS2SmLEQFARzRcnf9PUS0LVn05/J9MiRRBU3v2IrvW974v4N00L7ZMk0wXP1409CHo/an8zTRHD3eSJ6m8D4YMkZNl3M79sqeuAsr/m3f+8/yl7A50aiAEJgeBeMWzu7ui9UfUBCe2TIqZIoOd/3/udRBOQidQZUERzb2/VwZN1H/Sju82ew2H2Wfr6qvfVf3hqwDvAIpkQVFy4B9Pe9e4/XvPeceu7h3dvO56iJPf0+A6cqA2ip18ER+iFgggiuOkvj24bby0N9j2UHIkgqIt+sVgfodC4YghLSMjSZbH0VR/6dMDrYJeKHilKTemt6v6kvzvn3/RrdWtr0GoN/xL+Sex/cPYLUpepx9cz/D46UPU5KXgAQa+NDps1v6J3xP1i2HtaDB0M9aX2deA7SYff//+gUCovMmIK/qfsFcOk+4Y5ZN97XlG6zebqtMbKgeRFi51vnxTQYBUik2rS/Cn6PC8ADR8FGxsRPB82dzfND90gIcshOcYUkfjherBz53odpm6TP8txlwOZ71xmfHHOvq053qFF/MRlS3jP0ELudrf2OeN8DHvp6ZceLe8qKYvWz/7yp0u4dKPfli3CYq0O13Ih71mylJ80tOi10On8wi+F4+LWgDPeJ30msSQt9/vkmHq9/Lvo2b461mP801v3W4xTcs6CbvF9UDdrSt+A8OUbpSh55qAUFXWznBBfdeJ8a4d7ugT5tvxUza3h9m4H7ptTqiG4z0g5dc0X29OcGlhpGFMpQo9ytTS+NViZpNdvU4kWx+LKxNY10kQ1yqGXrhe4/1nvP7E+nd5A92TtaRplbHSqoIdOqtRWti+fkB5/n1+/VvCmz12pG1kpQWsfi1ftlBobm0bpngs16CHkbIwdLnParxtTV3QYRlfJ0KFskH7pdN/YDn+yRuSd7sNH3aO0DYPggk6uWuXrfOc+fa3VTxFVvKaNxHsiHmsXyCLIE5yuOeN3/Jdf8HBL/5M6shjyhxHx9BjB1O0+4NLOnjLLSxwO7ukN4jMbOIcD879KLSi6Pk61Oqm2377n8079PXEEQ7cy7OKEC9nbpet118fxweTafpt69x/Bt8UqGzNQt7aelpc44dn5cqhwf71+qKp/Zf/+a0zcizOUWpl/iBcSXip0pplkatCchoH5c5aUM8I7/dWxAej8WicPL1URFZ9BDJelUwEwTkGqUhgSlydVes95YdXvhh9Gfz/aeFWvgVb4tuLbcv4+wLdutVZv/cUonwBD/6eDlE0aSiKK/uoH3+J1wDE/jMVqY2ysGufN84oIXB0sPzy8ollX/LegY74DgJXJR57sn+VGza0x3DnuIgABFM15LmajjjsNlYj+JEZGbuRYcAMOWxFkPN2w6Wd46xo4gVWQR/X4lyI/R6K/YK0110GzudPRW7Y+UOBGTfNNzHeYT0fiH0taunBpq9HEW8OKSaBGj21L0MqenEmNRWBAWDWAk4CpNoEZJ2tTaPFgbQYj8HxtFilErs3BTRwT8uO1NXQaWfIotchmPkAF5mMBAliEmZiOGVgCG9LgRzpscMAOOwowlT3JhusdazXGSC/hxR3UlmWVwWHpOIKheqONvjyhSiTHIkVUco5bnji8m//zL7PKaT1Vl5I6UE609f+gkr6MZKVyKc7zJRmCahLsdlyA5fdQkRSan9LgnnLEyGSkaKJCJog0wAgvepWBt80+1yKln1bMVtCljfNWDueKLsWwaEbBSfSPTEmVRsUcYYMnEjcjeyCZzBXK9E9BYBXLKjOSpUDR+nEV3TFSUdQaz+ot98QxgXwx0GQ+EEUAKB2qZPkQQ0GqFD8UPFMqyaCHM24BZmSGic9EYMagKizOw9Hz50DMrDLrqqLkTAhplMictiCAx5S3BIUQdeJeLnBy2CNtMfz6cV4u8XKoFZQesbf9YZiIERiHjaNodDW6LgcirX/mPnJIkBGDUpTBhSa0EIr38D5hCIszhCM8URGBqImoWjpvpt1ebu/v3Gl3qJfMnNM+9V+kiRFyROTPHQWOcs1dNW94/ukKMPZBvDi55i5CttdeJz84DLngLqjcdwEZ87bFFR8CIG35OAkDVN6VRDZ7aq67NteYqZ2lpT8oYB2CytoBd6VuAx4WgiAsnuj3WohG+LugzXiQRDeM3XYXlULv4dp5VFYC) format("woff2"),url(./KaTeX_Size3-Regular-6ab6b62e.woff) format("woff"),url(./KaTeX_Size3-Regular-500e04d5.ttf) format("truetype")}@font-face{font-family:KaTeX_Size4;font-style:normal;font-weight:400;src:url(./KaTeX_Size4-Regular-a4af7d41.woff2) format("woff2"),url(./KaTeX_Size4-Regular-99f9c675.woff) format("woff"),url(./KaTeX_Size4-Regular-c647367d.ttf) format("truetype")}@font-face{font-family:KaTeX_Typewriter;font-style:normal;font-weight:400;src:url(./KaTeX_Typewriter-Regular-71d517d6.woff2) format("woff2"),url(./KaTeX_Typewriter-Regular-e14fed02.woff) format("woff"),url(./KaTeX_Typewriter-Regular-f01f3e87.ttf) format("truetype")}.katex{text-rendering:auto;font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.9"}.katex .katex-mathml{clip:rect(1px,1px,1px,1px);border:0;height:1px;overflow:hidden;padding:0;position:absolute;width:1px}.katex .katex-html>.newline{display:block}.katex .base{position:relative;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .base,.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-style:italic;font-weight:700}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{border-collapse:collapse;display:inline-table;table-layout:fixed}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;position:relative;vertical-align:bottom}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;font-size:1px;min-width:2px;vertical-align:bottom;width:2px}.katex .vbox{align-items:baseline;display:inline-flex;flex-direction:column}.katex .hbox{width:100%}.katex .hbox,.katex .thinbox{display:inline-flex;flex-direction:row}.katex .thinbox{max-width:0;width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline,.katex .hline,.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .rule,.katex .underline .underline-line{min-height:1px}.katex .mspace{display:inline-block}.katex .clap,.katex .llap,.katex .rlap{position:relative;width:0}.katex .clap>.inner,.katex .llap>.inner,.katex .rlap>.inner{position:absolute}.katex .clap>.fix,.katex .llap>.fix,.katex .rlap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .clap>.inner,.katex .rlap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{border:0 solid;display:inline-block;position:relative}.katex .hline,.katex .overline .overline-line,.katex .underline .underline-line{border-bottom-style:solid;display:inline-block;width:100%}.katex .hdashline{border-bottom-style:dashed;display:inline-block;width:100%}.katex .sqrt>.root{margin-left:.27777778em;margin-right:-.55555556em}.katex .fontsize-ensurer.reset-size1.size1,.katex .sizing.reset-size1.size1{font-size:1em}.katex .fontsize-ensurer.reset-size1.size2,.katex .sizing.reset-size1.size2{font-size:1.2em}.katex .fontsize-ensurer.reset-size1.size3,.katex .sizing.reset-size1.size3{font-size:1.4em}.katex .fontsize-ensurer.reset-size1.size4,.katex .sizing.reset-size1.size4{font-size:1.6em}.katex .fontsize-ensurer.reset-size1.size5,.katex .sizing.reset-size1.size5{font-size:1.8em}.katex .fontsize-ensurer.reset-size1.size6,.katex .sizing.reset-size1.size6{font-size:2em}.katex .fontsize-ensurer.reset-size1.size7,.katex .sizing.reset-size1.size7{font-size:2.4em}.katex .fontsize-ensurer.reset-size1.size8,.katex .sizing.reset-size1.size8{font-size:2.88em}.katex .fontsize-ensurer.reset-size1.size9,.katex .sizing.reset-size1.size9{font-size:3.456em}.katex .fontsize-ensurer.reset-size1.size10,.katex .sizing.reset-size1.size10{font-size:4.148em}.katex .fontsize-ensurer.reset-size1.size11,.katex .sizing.reset-size1.size11{font-size:4.976em}.katex .fontsize-ensurer.reset-size2.size1,.katex .sizing.reset-size2.size1{font-size:.83333333em}.katex .fontsize-ensurer.reset-size2.size2,.katex .sizing.reset-size2.size2{font-size:1em}.katex .fontsize-ensurer.reset-size2.size3,.katex .sizing.reset-size2.size3{font-size:1.16666667em}.katex .fontsize-ensurer.reset-size2.size4,.katex .sizing.reset-size2.size4{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size2.size5,.katex .sizing.reset-size2.size5{font-size:1.5em}.katex .fontsize-ensurer.reset-size2.size6,.katex .sizing.reset-size2.size6{font-size:1.66666667em}.katex .fontsize-ensurer.reset-size2.size7,.katex .sizing.reset-size2.size7{font-size:2em}.katex .fontsize-ensurer.reset-size2.size8,.katex .sizing.reset-size2.size8{font-size:2.4em}.katex .fontsize-ensurer.reset-size2.size9,.katex .sizing.reset-size2.size9{font-size:2.88em}.katex .fontsize-ensurer.reset-size2.size10,.katex .sizing.reset-size2.size10{font-size:3.45666667em}.katex .fontsize-ensurer.reset-size2.size11,.katex .sizing.reset-size2.size11{font-size:4.14666667em}.katex .fontsize-ensurer.reset-size3.size1,.katex .sizing.reset-size3.size1{font-size:.71428571em}.katex .fontsize-ensurer.reset-size3.size2,.katex .sizing.reset-size3.size2{font-size:.85714286em}.katex .fontsize-ensurer.reset-size3.size3,.katex .sizing.reset-size3.size3{font-size:1em}.katex .fontsize-ensurer.reset-size3.size4,.katex .sizing.reset-size3.size4{font-size:1.14285714em}.katex .fontsize-ensurer.reset-size3.size5,.katex .sizing.reset-size3.size5{font-size:1.28571429em}.katex .fontsize-ensurer.reset-size3.size6,.katex .sizing.reset-size3.size6{font-size:1.42857143em}.katex .fontsize-ensurer.reset-size3.size7,.katex .sizing.reset-size3.size7{font-size:1.71428571em}.katex .fontsize-ensurer.reset-size3.size8,.katex .sizing.reset-size3.size8{font-size:2.05714286em}.katex .fontsize-ensurer.reset-size3.size9,.katex .sizing.reset-size3.size9{font-size:2.46857143em}.katex .fontsize-ensurer.reset-size3.size10,.katex .sizing.reset-size3.size10{font-size:2.96285714em}.katex .fontsize-ensurer.reset-size3.size11,.katex .sizing.reset-size3.size11{font-size:3.55428571em}.katex .fontsize-ensurer.reset-size4.size1,.katex .sizing.reset-size4.size1{font-size:.625em}.katex .fontsize-ensurer.reset-size4.size2,.katex .sizing.reset-size4.size2{font-size:.75em}.katex .fontsize-ensurer.reset-size4.size3,.katex .sizing.reset-size4.size3{font-size:.875em}.katex .fontsize-ensurer.reset-size4.size4,.katex .sizing.reset-size4.size4{font-size:1em}.katex .fontsize-ensurer.reset-size4.size5,.katex .sizing.reset-size4.size5{font-size:1.125em}.katex .fontsize-ensurer.reset-size4.size6,.katex .sizing.reset-size4.size6{font-size:1.25em}.katex .fontsize-ensurer.reset-size4.size7,.katex .sizing.reset-size4.size7{font-size:1.5em}.katex .fontsize-ensurer.reset-size4.size8,.katex .sizing.reset-size4.size8{font-size:1.8em}.katex .fontsize-ensurer.reset-size4.size9,.katex .sizing.reset-size4.size9{font-size:2.16em}.katex .fontsize-ensurer.reset-size4.size10,.katex .sizing.reset-size4.size10{font-size:2.5925em}.katex .fontsize-ensurer.reset-size4.size11,.katex .sizing.reset-size4.size11{font-size:3.11em}.katex .fontsize-ensurer.reset-size5.size1,.katex .sizing.reset-size5.size1{font-size:.55555556em}.katex .fontsize-ensurer.reset-size5.size2,.katex .sizing.reset-size5.size2{font-size:.66666667em}.katex .fontsize-ensurer.reset-size5.size3,.katex .sizing.reset-size5.size3{font-size:.77777778em}.katex .fontsize-ensurer.reset-size5.size4,.katex .sizing.reset-size5.size4{font-size:.88888889em}.katex .fontsize-ensurer.reset-size5.size5,.katex .sizing.reset-size5.size5{font-size:1em}.katex .fontsize-ensurer.reset-size5.size6,.katex .sizing.reset-size5.size6{font-size:1.11111111em}.katex .fontsize-ensurer.reset-size5.size7,.katex .sizing.reset-size5.size7{font-size:1.33333333em}.katex .fontsize-ensurer.reset-size5.size8,.katex .sizing.reset-size5.size8{font-size:1.6em}.katex .fontsize-ensurer.reset-size5.size9,.katex .sizing.reset-size5.size9{font-size:1.92em}.katex .fontsize-ensurer.reset-size5.size10,.katex .sizing.reset-size5.size10{font-size:2.30444444em}.katex .fontsize-ensurer.reset-size5.size11,.katex .sizing.reset-size5.size11{font-size:2.76444444em}.katex .fontsize-ensurer.reset-size6.size1,.katex .sizing.reset-size6.size1{font-size:.5em}.katex .fontsize-ensurer.reset-size6.size2,.katex .sizing.reset-size6.size2{font-size:.6em}.katex .fontsize-ensurer.reset-size6.size3,.katex .sizing.reset-size6.size3{font-size:.7em}.katex .fontsize-ensurer.reset-size6.size4,.katex .sizing.reset-size6.size4{font-size:.8em}.katex .fontsize-ensurer.reset-size6.size5,.katex .sizing.reset-size6.size5{font-size:.9em}.katex .fontsize-ensurer.reset-size6.size6,.katex .sizing.reset-size6.size6{font-size:1em}.katex .fontsize-ensurer.reset-size6.size7,.katex .sizing.reset-size6.size7{font-size:1.2em}.katex .fontsize-ensurer.reset-size6.size8,.katex .sizing.reset-size6.size8{font-size:1.44em}.katex .fontsize-ensurer.reset-size6.size9,.katex .sizing.reset-size6.size9{font-size:1.728em}.katex .fontsize-ensurer.reset-size6.size10,.katex .sizing.reset-size6.size10{font-size:2.074em}.katex .fontsize-ensurer.reset-size6.size11,.katex .sizing.reset-size6.size11{font-size:2.488em}.katex .fontsize-ensurer.reset-size7.size1,.katex .sizing.reset-size7.size1{font-size:.41666667em}.katex .fontsize-ensurer.reset-size7.size2,.katex .sizing.reset-size7.size2{font-size:.5em}.katex .fontsize-ensurer.reset-size7.size3,.katex .sizing.reset-size7.size3{font-size:.58333333em}.katex .fontsize-ensurer.reset-size7.size4,.katex .sizing.reset-size7.size4{font-size:.66666667em}.katex .fontsize-ensurer.reset-size7.size5,.katex .sizing.reset-size7.size5{font-size:.75em}.katex .fontsize-ensurer.reset-size7.size6,.katex .sizing.reset-size7.size6{font-size:.83333333em}.katex .fontsize-ensurer.reset-size7.size7,.katex .sizing.reset-size7.size7{font-size:1em}.katex .fontsize-ensurer.reset-size7.size8,.katex .sizing.reset-size7.size8{font-size:1.2em}.katex .fontsize-ensurer.reset-size7.size9,.katex .sizing.reset-size7.size9{font-size:1.44em}.katex .fontsize-ensurer.reset-size7.size10,.katex .sizing.reset-size7.size10{font-size:1.72833333em}.katex .fontsize-ensurer.reset-size7.size11,.katex .sizing.reset-size7.size11{font-size:2.07333333em}.katex .fontsize-ensurer.reset-size8.size1,.katex .sizing.reset-size8.size1{font-size:.34722222em}.katex .fontsize-ensurer.reset-size8.size2,.katex .sizing.reset-size8.size2{font-size:.41666667em}.katex .fontsize-ensurer.reset-size8.size3,.katex .sizing.reset-size8.size3{font-size:.48611111em}.katex .fontsize-ensurer.reset-size8.size4,.katex .sizing.reset-size8.size4{font-size:.55555556em}.katex .fontsize-ensurer.reset-size8.size5,.katex .sizing.reset-size8.size5{font-size:.625em}.katex .fontsize-ensurer.reset-size8.size6,.katex .sizing.reset-size8.size6{font-size:.69444444em}.katex .fontsize-ensurer.reset-size8.size7,.katex .sizing.reset-size8.size7{font-size:.83333333em}.katex .fontsize-ensurer.reset-size8.size8,.katex .sizing.reset-size8.size8{font-size:1em}.katex .fontsize-ensurer.reset-size8.size9,.katex .sizing.reset-size8.size9{font-size:1.2em}.katex .fontsize-ensurer.reset-size8.size10,.katex .sizing.reset-size8.size10{font-size:1.44027778em}.katex .fontsize-ensurer.reset-size8.size11,.katex .sizing.reset-size8.size11{font-size:1.72777778em}.katex .fontsize-ensurer.reset-size9.size1,.katex .sizing.reset-size9.size1{font-size:.28935185em}.katex .fontsize-ensurer.reset-size9.size2,.katex .sizing.reset-size9.size2{font-size:.34722222em}.katex .fontsize-ensurer.reset-size9.size3,.katex .sizing.reset-size9.size3{font-size:.40509259em}.katex .fontsize-ensurer.reset-size9.size4,.katex .sizing.reset-size9.size4{font-size:.46296296em}.katex .fontsize-ensurer.reset-size9.size5,.katex .sizing.reset-size9.size5{font-size:.52083333em}.katex .fontsize-ensurer.reset-size9.size6,.katex .sizing.reset-size9.size6{font-size:.5787037em}.katex .fontsize-ensurer.reset-size9.size7,.katex .sizing.reset-size9.size7{font-size:.69444444em}.katex .fontsize-ensurer.reset-size9.size8,.katex .sizing.reset-size9.size8{font-size:.83333333em}.katex .fontsize-ensurer.reset-size9.size9,.katex .sizing.reset-size9.size9{font-size:1em}.katex .fontsize-ensurer.reset-size9.size10,.katex .sizing.reset-size9.size10{font-size:1.20023148em}.katex .fontsize-ensurer.reset-size9.size11,.katex .sizing.reset-size9.size11{font-size:1.43981481em}.katex .fontsize-ensurer.reset-size10.size1,.katex .sizing.reset-size10.size1{font-size:.24108004em}.katex .fontsize-ensurer.reset-size10.size2,.katex .sizing.reset-size10.size2{font-size:.28929605em}.katex .fontsize-ensurer.reset-size10.size3,.katex .sizing.reset-size10.size3{font-size:.33751205em}.katex .fontsize-ensurer.reset-size10.size4,.katex .sizing.reset-size10.size4{font-size:.38572806em}.katex .fontsize-ensurer.reset-size10.size5,.katex .sizing.reset-size10.size5{font-size:.43394407em}.katex .fontsize-ensurer.reset-size10.size6,.katex .sizing.reset-size10.size6{font-size:.48216008em}.katex .fontsize-ensurer.reset-size10.size7,.katex .sizing.reset-size10.size7{font-size:.57859209em}.katex .fontsize-ensurer.reset-size10.size8,.katex .sizing.reset-size10.size8{font-size:.69431051em}.katex .fontsize-ensurer.reset-size10.size9,.katex .sizing.reset-size10.size9{font-size:.83317261em}.katex .fontsize-ensurer.reset-size10.size10,.katex .sizing.reset-size10.size10{font-size:1em}.katex .fontsize-ensurer.reset-size10.size11,.katex .sizing.reset-size10.size11{font-size:1.19961427em}.katex .fontsize-ensurer.reset-size11.size1,.katex .sizing.reset-size11.size1{font-size:.20096463em}.katex .fontsize-ensurer.reset-size11.size2,.katex .sizing.reset-size11.size2{font-size:.24115756em}.katex .fontsize-ensurer.reset-size11.size3,.katex .sizing.reset-size11.size3{font-size:.28135048em}.katex .fontsize-ensurer.reset-size11.size4,.katex .sizing.reset-size11.size4{font-size:.32154341em}.katex .fontsize-ensurer.reset-size11.size5,.katex .sizing.reset-size11.size5{font-size:.36173633em}.katex .fontsize-ensurer.reset-size11.size6,.katex .sizing.reset-size11.size6{font-size:.40192926em}.katex .fontsize-ensurer.reset-size11.size7,.katex .sizing.reset-size11.size7{font-size:.48231511em}.katex .fontsize-ensurer.reset-size11.size8,.katex .sizing.reset-size11.size8{font-size:.57877814em}.katex .fontsize-ensurer.reset-size11.size9,.katex .sizing.reset-size11.size9{font-size:.69453376em}.katex .fontsize-ensurer.reset-size11.size10,.katex .sizing.reset-size11.size10{font-size:.83360129em}.katex .fontsize-ensurer.reset-size11.size11,.katex .sizing.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .accent>.vlist-t,.katex .op-limits>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;display:block;height:inherit;position:absolute;width:100%}.katex svg path{stroke:none}.katex img{border-style:none;max-height:none;max-width:none;min-height:0;min-width:0}.katex .stretchy{display:block;overflow:hidden;position:relative;width:100%}.katex .stretchy:after,.katex .stretchy:before{content:""}.katex .hide-tail{overflow:hidden;position:relative;width:100%}.katex .halfarrow-left{left:0;overflow:hidden;position:absolute;width:50.2%}.katex .halfarrow-right{overflow:hidden;position:absolute;right:0;width:50.2%}.katex .brace-left{left:0;overflow:hidden;position:absolute;width:25.1%}.katex .brace-center{left:25%;overflow:hidden;position:absolute;width:50%}.katex .brace-right{overflow:hidden;position:absolute;right:0;width:25.1%}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .mover,.katex .munder,.katex .x-arrow{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{border:.04em solid;box-sizing:border-box}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{border-right:.049em solid;border-top:.049em solid;box-sizing:border-box;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{content:"(" counter(katexEqnNo) ")";counter-increment:katexEqnNo}.katex .mml-eqn-num:before{content:"(" counter(mmlEqnNo) ")";counter-increment:mmlEqnNo}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;left:calc(50% + .3em);position:absolute;text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{padding-left:2em;text-align:left}body{counter-reset:katexEqnNo mmlEqnNo} diff --git a/public/chat/assets/index-e5cf7f43.js b/public/chat/assets/index-e5cf7f43.js deleted file mode 100644 index c2f2833..0000000 --- a/public/chat/assets/index-e5cf7f43.js +++ /dev/null @@ -1,62 +0,0 @@ -import{d as tt,R as zi,U as Ki,V as wt,W as ut,L as Ie,m as z0,l as mt,X as ia,r as Je,E as Yi,Y as K0,a as rt,w as St,j as Xi,M as $t,Z as Qi,_ as Y0,J as X0,K as Q0,n as Ji,$ as J0,e as ge,g as Gt,f as Zi,G as Z0,x as sa,h as ec,F as es,D as tc,a0 as rc,p as Lr,O as nc,a1 as ac}from"./vue-c19408e5.js";import{N as oc,a as ic,b as sc,c as cc,u as lc,d as uc,e as fc,f as dc,g as hc,h as re,i as xc,j as pc,k as nr,l as mc,m as gc,n as vc,o as Rr}from"./naive-ui-64ac446a.js";import{i as Ec}from"./vueuse-motion-563da5fd.js";(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))n(o);new MutationObserver(o=>{for(const a of o)if(a.type==="childList")for(const i of a.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(o){const a={};return o.integrity&&(a.integrity=o.integrity),o.referrerPolicy&&(a.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?a.credentials="include":o.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function n(o){if(o.ep)return;o.ep=!0;const a=r(o);fetch(o.href,a)}})();const bc="modulepreload",Cc=function(e,t){return new URL(e,t).href},Wa={},ct=function(t,r,n){if(!r||r.length===0)return t();const o=document.getElementsByTagName("link");return Promise.all(r.map(a=>{if(a=Cc(a,n),a in Wa)return;Wa[a]=!0;const i=a.endsWith(".css"),l=i?'[rel="stylesheet"]':"";if(!!n)for(let u=o.length-1;u>=0;u--){const h=o[u];if(h.href===a&&(!i||h.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${a}"]${l}`))return;const c=document.createElement("link");if(c.rel=i?"stylesheet":bc,i||(c.as="script",c.crossOrigin=""),c.href=a,document.head.appendChild(c),i)return new Promise((u,h)=>{c.addEventListener("load",u),c.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${a}`)))})})).then(()=>t()).catch(a=>{const i=new Event("vite:preloadError",{cancelable:!0});if(i.payload=a,window.dispatchEvent(i),!i.defaultPrevented)throw a})},_c=""+new URL("favicon-25a41591.ico",import.meta.url).href,yc=tt({__name:"index",setup(e){function t(){window.$loadingBar=lc(),window.$dialog=uc(),window.$message=fc(),window.$notification=dc()}const r=tt({name:"NaiveProviderContent",setup(){t()},render(){return mt("div")}});return(n,o)=>(zi(),Ki(Ie(cc),null,{default:wt(()=>[ut(Ie(sc),null,{default:wt(()=>[ut(Ie(oc),null,{default:wt(()=>[ut(Ie(ic),null,{default:wt(()=>[z0(n.$slots,"default"),ut(Ie(r))]),_:3})]),_:3})]),_:3})]),_:3}))}}),Ut=/^[a-z0-9]+(-[a-z0-9]+)*$/,mr=(e,t,r,n="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;n=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const l=o.pop(),f=o.pop(),c={provider:o.length>0?o[0]:n,prefix:f,name:l};return t&&!ar(c)?null:c}const a=o[0],i=a.split("-");if(i.length>1){const l={provider:n,prefix:i.shift(),name:i.join("-")};return t&&!ar(l)?null:l}if(r&&n===""){const l={provider:n,prefix:"",name:a};return t&&!ar(l,r)?null:l}return null},ar=(e,t)=>e?!!((e.provider===""||e.provider.match(Ut))&&(t&&e.prefix===""||e.prefix.match(Ut))&&e.name.match(Ut)):!1,ts=Object.freeze({left:0,top:0,width:16,height:16}),fr=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),gr=Object.freeze({...ts,...fr}),Pn=Object.freeze({...gr,body:"",hidden:!1});function wc(e,t){const r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);const n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}function ja(e,t){const r=wc(e,t);for(const n in Pn)n in fr?n in e&&!(n in r)&&(r[n]=fr[n]):n in t?r[n]=t[n]:n in e&&(r[n]=e[n]);return r}function Ac(e,t){const r=e.icons,n=e.aliases||Object.create(null),o=Object.create(null);function a(i){if(r[i])return o[i]=[];if(!(i in o)){o[i]=null;const l=n[i]&&n[i].parent,f=l&&a(l);f&&(o[i]=[l].concat(f))}return o[i]}return(t||Object.keys(r).concat(Object.keys(n))).forEach(a),o}function Sc(e,t,r){const n=e.icons,o=e.aliases||Object.create(null);let a={};function i(l){a=ja(n[l]||o[l],a)}return i(t),r.forEach(i),ja(e,a)}function rs(e,t){const r=[];if(typeof e!="object"||typeof e.icons!="object")return r;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),r.push(o)});const n=Ac(e);for(const o in n){const a=n[o];a&&(t(o,Sc(e,o,a)),r.push(o))}return r}const Dc={provider:"",aliases:{},not_found:{},...ts};function Nr(e,t){for(const r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function ns(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!Nr(e,Dc))return null;const r=t.icons;for(const o in r){const a=r[o];if(!o.match(Ut)||typeof a.body!="string"||!Nr(a,Pn))return null}const n=t.aliases||Object.create(null);for(const o in n){const a=n[o],i=a.parent;if(!o.match(Ut)||typeof i!="string"||!r[i]&&!n[i]||!Nr(a,Pn))return null}return t}const $a=Object.create(null);function Bc(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function gt(e,t){const r=$a[e]||($a[e]=Object.create(null));return r[t]||(r[t]=Bc(e,t))}function ca(e,t){return ns(t)?rs(t,(r,n)=>{n?e.icons[r]=n:e.missing.add(r)}):[]}function Fc(e,t,r){try{if(typeof r.body=="string")return e.icons[t]={...r},!0}catch{}return!1}let Vt=!1;function as(e){return typeof e=="boolean"&&(Vt=e),Vt}function Pc(e){const t=typeof e=="string"?mr(e,!0,Vt):e;if(t){const r=gt(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function kc(e,t){const r=mr(e,!0,Vt);if(!r)return!1;const n=gt(r.provider,r.prefix);return Fc(n,r.name,t)}function Tc(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),Vt&&!t&&!e.prefix){let o=!1;return ns(e)&&(e.prefix="",rs(e,(a,i)=>{i&&kc(a,i)&&(o=!0)})),o}const r=e.prefix;if(!ar({provider:t,prefix:r,name:"a"}))return!1;const n=gt(t,r);return!!ca(n,e)}const os=Object.freeze({width:null,height:null}),is=Object.freeze({...os,...fr}),Ic=/(-?[0-9.]*[0-9]+[0-9.]*)/g,Lc=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function Ga(e,t,r){if(t===1)return e;if(r=r||100,typeof e=="number")return Math.ceil(e*t*r)/r;if(typeof e!="string")return e;const n=e.split(Ic);if(n===null||!n.length)return e;const o=[];let a=n.shift(),i=Lc.test(a);for(;;){if(i){const l=parseFloat(a);isNaN(l)?o.push(a):o.push(Math.ceil(l*t*r)/r)}else o.push(a);if(a=n.shift(),a===void 0)return o.join("");i=!i}}const Rc=e=>e==="unset"||e==="undefined"||e==="none";function Nc(e,t){const r={...gr,...e},n={...is,...t},o={left:r.left,top:r.top,width:r.width,height:r.height};let a=r.body;[r,n].forEach(x=>{const p=[],m=x.hFlip,E=x.vFlip;let g=x.rotate;m?E?g+=2:(p.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),p.push("scale(-1 1)"),o.top=o.left=0):E&&(p.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),p.push("scale(1 -1)"),o.top=o.left=0);let v;switch(g<0&&(g-=Math.floor(g/4)*4),g=g%4,g){case 1:v=o.height/2+o.top,p.unshift("rotate(90 "+v.toString()+" "+v.toString()+")");break;case 2:p.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:v=o.width/2+o.left,p.unshift("rotate(-90 "+v.toString()+" "+v.toString()+")");break}g%2===1&&(o.left!==o.top&&(v=o.left,o.left=o.top,o.top=v),o.width!==o.height&&(v=o.width,o.width=o.height,o.height=v)),p.length&&(a=''+a+"")});const i=n.width,l=n.height,f=o.width,c=o.height;let u,h;i===null?(h=l===null?"1em":l==="auto"?c:l,u=Ga(h,f/c)):(u=i==="auto"?f:i,h=l===null?Ga(u,c/f):l==="auto"?c:l);const s={},d=(x,p)=>{Rc(p)||(s[x]=p.toString())};return d("width",u),d("height",h),s.viewBox=o.left.toString()+" "+o.top.toString()+" "+f.toString()+" "+c.toString(),{attributes:s,body:a}}const Oc=/\sid="(\S+)"/g,Mc="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let Uc=0;function Hc(e,t=Mc){const r=[];let n;for(;n=Oc.exec(e);)r.push(n[1]);if(!r.length)return e;const o="suffix"+(Math.random()*16777216|Date.now()).toString(16);return r.forEach(a=>{const i=typeof t=="function"?t(a):t+(Uc++).toString(),l=a.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+l+')([")]|\\.[a-z])',"g"),"$1"+i+o+"$3")}),e=e.replace(new RegExp(o,"g"),""),e}const kn=Object.create(null);function Wc(e,t){kn[e]=t}function Tn(e){return kn[e]||kn[""]}function la(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const ua=Object.create(null),Rt=["https://api.simplesvg.com","https://api.unisvg.com"],or=[];for(;Rt.length>0;)Rt.length===1||Math.random()>.5?or.push(Rt.shift()):or.push(Rt.pop());ua[""]=la({resources:["https://api.iconify.design"].concat(or)});function jc(e,t){const r=la(t);return r===null?!1:(ua[e]=r,!0)}function fa(e){return ua[e]}const $c=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let Va=$c();function Gc(e,t){const r=fa(e);if(!r)return 0;let n;if(!r.maxURL)n=0;else{let o=0;r.resources.forEach(i=>{o=Math.max(o,i.length)});const a=t+".json?icons=";n=r.maxURL-o-r.path.length-a.length}return n}function Vc(e){return e===404}const qc=(e,t,r)=>{const n=[],o=Gc(e,t),a="icons";let i={type:a,provider:e,prefix:t,icons:[]},l=0;return r.forEach((f,c)=>{l+=f.length+1,l>=o&&c>0&&(n.push(i),i={type:a,provider:e,prefix:t,icons:[]},l=f.length),i.icons.push(f)}),n.push(i),n};function zc(e){if(typeof e=="string"){const t=fa(e);if(t)return t.path}return"/"}const Kc=(e,t,r)=>{if(!Va){r("abort",424);return}let n=zc(t.provider);switch(t.type){case"icons":{const a=t.prefix,l=t.icons.join(","),f=new URLSearchParams({icons:l});n+=a+".json?"+f.toString();break}case"custom":{const a=t.uri;n+=a.slice(0,1)==="/"?a.slice(1):a;break}default:r("abort",400);return}let o=503;Va(e+n).then(a=>{const i=a.status;if(i!==200){setTimeout(()=>{r(Vc(i)?"abort":"next",i)});return}return o=501,a.json()}).then(a=>{if(typeof a!="object"||a===null){setTimeout(()=>{a===404?r("abort",a):r("next",o)});return}setTimeout(()=>{r("success",a)})}).catch(()=>{r("next",o)})},Yc={prepare:qc,send:Kc};function Xc(e){const t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((o,a)=>o.provider!==a.provider?o.provider.localeCompare(a.provider):o.prefix!==a.prefix?o.prefix.localeCompare(a.prefix):o.name.localeCompare(a.name));let n={provider:"",prefix:"",name:""};return e.forEach(o=>{if(n.name===o.name&&n.prefix===o.prefix&&n.provider===o.provider)return;n=o;const a=o.provider,i=o.prefix,l=o.name,f=r[a]||(r[a]=Object.create(null)),c=f[i]||(f[i]=gt(a,i));let u;l in c.icons?u=t.loaded:i===""||c.missing.has(l)?u=t.missing:u=t.pending;const h={provider:a,prefix:i,name:l};u.push(h)}),t}function ss(e,t){e.forEach(r=>{const n=r.loaderCallbacks;n&&(r.loaderCallbacks=n.filter(o=>o.id!==t))})}function Qc(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let r=!1;const n=e.provider,o=e.prefix;t.forEach(a=>{const i=a.icons,l=i.pending.length;i.pending=i.pending.filter(f=>{if(f.prefix!==o)return!0;const c=f.name;if(e.icons[c])i.loaded.push({provider:n,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:n,prefix:o,name:c});else return r=!0,!0;return!1}),i.pending.length!==l&&(r||ss([e],a.id),a.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),a.abort))})}))}let Jc=0;function Zc(e,t,r){const n=Jc++,o=ss.bind(null,r,n);if(!t.pending.length)return o;const a={id:n,icons:t,callback:e,abort:o};return r.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(a)}),o}function el(e,t=!0,r=!1){const n=[];return e.forEach(o=>{const a=typeof o=="string"?mr(o,t,r):o;a&&n.push(a)}),n}var tl={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function rl(e,t,r,n){const o=e.resources.length,a=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let _=e.resources.slice(0);for(i=[];_.length>1;){const A=Math.floor(Math.random()*_.length);i.push(_[A]),_=_.slice(0,A).concat(_.slice(A+1))}i=i.concat(_)}else i=e.resources.slice(a).concat(e.resources.slice(0,a));const l=Date.now();let f="pending",c=0,u,h=null,s=[],d=[];typeof n=="function"&&d.push(n);function x(){h&&(clearTimeout(h),h=null)}function p(){f==="pending"&&(f="aborted"),x(),s.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),s=[]}function m(_,A){A&&(d=[]),typeof _=="function"&&d.push(_)}function E(){return{startTime:l,payload:t,status:f,queriesSent:c,queriesPending:s.length,subscribe:m,abort:p}}function g(){f="failed",d.forEach(_=>{_(void 0,u)})}function v(){s.forEach(_=>{_.status==="pending"&&(_.status="aborted")}),s=[]}function b(_,A,D){const B=A!=="success";switch(s=s.filter(S=>S!==_),f){case"pending":break;case"failed":if(B||!e.dataAfterTimeout)return;break;default:return}if(A==="abort"){u=D,g();return}if(B){u=D,s.length||(i.length?y():g());return}if(x(),v(),!e.random){const S=e.resources.indexOf(_.resource);S!==-1&&S!==e.index&&(e.index=S)}f="completed",d.forEach(S=>{S(D)})}function y(){if(f!=="pending")return;x();const _=i.shift();if(_===void 0){if(s.length){h=setTimeout(()=>{x(),f==="pending"&&(v(),g())},e.timeout);return}g();return}const A={status:"pending",resource:_,callback:(D,B)=>{b(A,D,B)}};s.push(A),c++,h=setTimeout(y,e.rotate),r(_,t,A.callback)}return setTimeout(y),E}function cs(e){const t={...tl,...e};let r=[];function n(){r=r.filter(l=>l().status==="pending")}function o(l,f,c){const u=rl(t,l,f,(h,s)=>{n(),c&&c(h,s)});return r.push(u),u}function a(l){return r.find(f=>l(f))||null}return{query:o,find:a,setIndex:l=>{t.index=l},getIndex:()=>t.index,cleanup:n}}function qa(){}const Or=Object.create(null);function nl(e){if(!Or[e]){const t=fa(e);if(!t)return;const r=cs(t),n={config:t,redundancy:r};Or[e]=n}return Or[e]}function al(e,t,r){let n,o;if(typeof e=="string"){const a=Tn(e);if(!a)return r(void 0,424),qa;o=a.send;const i=nl(e);i&&(n=i.redundancy)}else{const a=la(e);if(a){n=cs(a);const i=e.resources?e.resources[0]:"",l=Tn(i);l&&(o=l.send)}}return!n||!o?(r(void 0,424),qa):n.query(t,o,r)().abort}const za="iconify2",qt="iconify",ls=qt+"-count",Ka=qt+"-version",us=36e5,ol=168;function In(e,t){try{return e.getItem(t)}catch{}}function da(e,t,r){try{return e.setItem(t,r),!0}catch{}}function Ya(e,t){try{e.removeItem(t)}catch{}}function Ln(e,t){return da(e,ls,t.toString())}function Rn(e){return parseInt(In(e,ls))||0}const vr={local:!0,session:!0},fs={local:new Set,session:new Set};let ha=!1;function il(e){ha=e}let tr=typeof window>"u"?{}:window;function ds(e){const t=e+"Storage";try{if(tr&&tr[t]&&typeof tr[t].length=="number")return tr[t]}catch{}vr[e]=!1}function hs(e,t){const r=ds(e);if(!r)return;const n=In(r,Ka);if(n!==za){if(n){const l=Rn(r);for(let f=0;f{const f=qt+l.toString(),c=In(r,f);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,l))return!0}catch{}Ya(r,f)}};let i=Rn(r);for(let l=i-1;l>=0;l--)a(l)||(l===i-1?(i--,Ln(r,i)):fs[e].add(l))}function xs(){if(!ha){il(!0);for(const e in vr)hs(e,t=>{const r=t.data,n=t.provider,o=r.prefix,a=gt(n,o);if(!ca(a,r).length)return!1;const i=r.lastModified||-1;return a.lastModifiedCached=a.lastModifiedCached?Math.min(a.lastModifiedCached,i):i,!0})}}function sl(e,t){const r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(const n in vr)hs(n,o=>{const a=o.data;return o.provider!==e.provider||a.prefix!==e.prefix||a.lastModified===t});return!0}function cl(e,t){ha||xs();function r(n){let o;if(!vr[n]||!(o=ds(n)))return;const a=fs[n];let i;if(a.size)a.delete(i=Array.from(a).shift());else if(i=Rn(o),!Ln(o,i+1))return;const l={cached:Math.floor(Date.now()/us),provider:e.provider,data:t};return da(o,qt+i.toString(),JSON.stringify(l))}t.lastModified&&!sl(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&(t=Object.assign({},t),delete t.not_found),r("local")||r("session"))}function Xa(){}function ll(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,Qc(e)}))}function ul(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:r,prefix:n}=e,o=e.iconsToLoad;delete e.iconsToLoad;let a;if(!o||!(a=Tn(r)))return;a.prepare(r,n,o).forEach(l=>{al(r,l,f=>{if(typeof f!="object")l.icons.forEach(c=>{e.missing.add(c)});else try{const c=ca(e,f);if(!c.length)return;const u=e.pendingIcons;u&&c.forEach(h=>{u.delete(h)}),cl(e,f)}catch(c){console.error(c)}ll(e)})})}))}const fl=(e,t)=>{const r=el(e,!0,as()),n=Xc(r);if(!n.pending.length){let f=!0;return t&&setTimeout(()=>{f&&t(n.loaded,n.missing,n.pending,Xa)}),()=>{f=!1}}const o=Object.create(null),a=[];let i,l;return n.pending.forEach(f=>{const{provider:c,prefix:u}=f;if(u===l&&c===i)return;i=c,l=u,a.push(gt(c,u));const h=o[c]||(o[c]=Object.create(null));h[u]||(h[u]=[])}),n.pending.forEach(f=>{const{provider:c,prefix:u,name:h}=f,s=gt(c,u),d=s.pendingIcons||(s.pendingIcons=new Set);d.has(h)||(d.add(h),o[c][u].push(h))}),a.forEach(f=>{const{provider:c,prefix:u}=f;o[c][u].length&&ul(f,o[c][u])}),t?Zc(t,n,a):Xa};function dl(e,t){const r={...e};for(const n in t){const o=t[n],a=typeof o;n in os?(o===null||o&&(a==="string"||a==="number"))&&(r[n]=o):a===typeof r[n]&&(r[n]=n==="rotate"?o%4:o)}return r}const hl=/[\s,]+/;function xl(e,t){t.split(hl).forEach(r=>{switch(r.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function pl(e,t=0){const r=e.replace(/^-?[0-9.]*/,"");function n(o){for(;o<0;)o+=4;return o%4}if(r===""){const o=parseInt(e);return isNaN(o)?0:n(o)}else if(r!==e){let o=0;switch(r){case"%":o=25;break;case"deg":o=90}if(o){let a=parseFloat(e.slice(0,e.length-r.length));return isNaN(a)?0:(a=a/o,a%1===0?n(a):0)}}return t}function ml(e,t){let r=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const n in t)r+=" "+n+'="'+t[n]+'"';return'"+e+""}function gl(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function vl(e){return"data:image/svg+xml,"+gl(e)}function El(e){return'url("'+vl(e)+'")'}const Qa={...is,inline:!1},bl={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Cl={display:"inline-block"},Nn={backgroundColor:"currentColor"},ps={backgroundColor:"transparent"},Ja={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},Za={webkitMask:Nn,mask:Nn,background:ps};for(const e in Za){const t=Za[e];for(const r in Ja)t[e+r]=Ja[r]}const ir={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";ir[e+"-flip"]=t,ir[e.slice(0,1)+"-flip"]=t,ir[e+"Flip"]=t});function eo(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const to=(e,t)=>{const r=dl(Qa,t),n={...bl},o=t.mode||"svg",a={},i=t.style,l=typeof i=="object"&&!(i instanceof Array)?i:{};for(let p in t){const m=t[p];if(m!==void 0)switch(p){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":r[p]=m===!0||m==="true"||m===1;break;case"flip":typeof m=="string"&&xl(r,m);break;case"color":a.color=m;break;case"rotate":typeof m=="string"?r[p]=pl(m):typeof m=="number"&&(r[p]=m);break;case"ariaHidden":case"aria-hidden":m!==!0&&m!=="true"&&delete n["aria-hidden"];break;default:{const E=ir[p];E?(m===!0||m==="true"||m===1)&&(r[E]=!0):Qa[p]===void 0&&(n[p]=m)}}}const f=Nc(e,r),c=f.attributes;if(r.inline&&(a.verticalAlign="-0.125em"),o==="svg"){n.style={...a,...l},Object.assign(n,c);let p=0,m=t.id;return typeof m=="string"&&(m=m.replace(/-/g,"_")),n.innerHTML=Hc(f.body,m?()=>m+"ID"+p++:"iconifyVue"),mt("svg",n)}const{body:u,width:h,height:s}=e,d=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),x=ml(u,{...c,width:h+"",height:s+""});return n.style={...a,"--svg":El(x),width:eo(c.width),height:eo(c.height),...Cl,...d?Nn:ps,...l},mt("span",n)};as(!0);Wc("",Yc);if(typeof document<"u"&&typeof window<"u"){xs();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,r="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(n=>{try{(typeof n!="object"||n===null||n instanceof Array||typeof n.icons!="object"||typeof n.prefix!="string"||!Tc(n))&&console.error(r)}catch{console.error(r)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let r in t){const n="IconifyProviders["+r+"] is invalid.";try{const o=t[r];if(typeof o!="object"||!o||o.resources===void 0)continue;jc(r,o)||console.error(n)}catch{console.error(n)}}}}const _l={...gr,body:""},sm=tt({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let r;if(typeof e!="string"||(r=mr(e,!1,!0))===null)return this.abortLoading(),null;const n=Pc(r);if(!n)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",n!==null&&(this._loadingIcon={name:e,abort:fl([r],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const o=["iconify"];return r.prefix!==""&&o.push("iconify--"+r.prefix),r.provider!==""&&o.push("iconify--"+r.provider),{data:n,classes:o}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return to(_l,e);let r=e;return t.classes&&(r={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),to({...gr,...t.data},r)}});/*! - * pinia v2.1.7 - * (c) 2023 Eduardo San Martin Morote - * @license MIT - */let ms;const Er=e=>ms=e,gs=Symbol();function On(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Ht;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Ht||(Ht={}));function yl(){const e=ia(!0),t=e.run(()=>Je({}));let r=[],n=[];const o=Yi({install(a){Er(o),o._a=a,a.provide(gs,o),a.config.globalProperties.$pinia=o,n.forEach(i=>r.push(i)),n=[]},use(a){return!this._a&&!Ec?n.push(a):r.push(a),this},_p:r,_a:null,_e:e,_s:new Map,state:t});return o}const vs=()=>{};function ro(e,t,r,n=vs){e.push(t);const o=()=>{const a=e.indexOf(t);a>-1&&(e.splice(a,1),n())};return!r&&X0()&&Q0(o),o}function Ct(e,...t){e.slice().forEach(r=>{r(...t)})}const wl=e=>e();function Mn(e,t){e instanceof Map&&t instanceof Map&&t.forEach((r,n)=>e.set(n,r)),e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const r in t){if(!t.hasOwnProperty(r))continue;const n=t[r],o=e[r];On(o)&&On(n)&&e.hasOwnProperty(r)&&!$t(n)&&!Qi(n)?e[r]=Mn(o,n):e[r]=n}return e}const Al=Symbol();function Sl(e){return!On(e)||!e.hasOwnProperty(Al)}const{assign:st}=Object;function Dl(e){return!!($t(e)&&e.effect)}function Bl(e,t,r,n){const{state:o,actions:a,getters:i}=t,l=r.state.value[e];let f;function c(){l||(r.state.value[e]=o?o():{});const u=J0(r.state.value[e]);return st(u,a,Object.keys(i||{}).reduce((h,s)=>(h[s]=Yi(ge(()=>{Er(r);const d=r._s.get(e);return i[s].call(d,d)})),h),{}))}return f=Es(e,c,t,r,n,!0),f}function Es(e,t,r={},n,o,a){let i;const l=st({actions:{}},r),f={deep:!0};let c,u,h=[],s=[],d;const x=n.state.value[e];!a&&!x&&(n.state.value[e]={}),Je({});let p;function m(D){let B;c=u=!1,typeof D=="function"?(D(n.state.value[e]),B={type:Ht.patchFunction,storeId:e,events:d}):(Mn(n.state.value[e],D),B={type:Ht.patchObject,payload:D,storeId:e,events:d});const S=p=Symbol();Ji().then(()=>{p===S&&(c=!0)}),u=!0,Ct(h,B,n.state.value[e])}const E=a?function(){const{state:B}=r,S=B?B():{};this.$patch(P=>{st(P,S)})}:vs;function g(){i.stop(),h=[],s=[],n._s.delete(e)}function v(D,B){return function(){Er(n);const S=Array.from(arguments),P=[],k=[];function I(q){P.push(q)}function K(q){k.push(q)}Ct(s,{args:S,name:D,store:y,after:I,onError:K});let Y;try{Y=B.apply(this&&this.$id===e?this:y,S)}catch(q){throw Ct(k,q),q}return Y instanceof Promise?Y.then(q=>(Ct(P,q),q)).catch(q=>(Ct(k,q),Promise.reject(q))):(Ct(P,Y),Y)}}const b={_p:n,$id:e,$onAction:ro.bind(null,s),$patch:m,$reset:E,$subscribe(D,B={}){const S=ro(h,D,B.detached,()=>P()),P=i.run(()=>St(()=>n.state.value[e],k=>{(B.flush==="sync"?u:c)&&D({storeId:e,type:Ht.direct,events:d},k)},st({},f,B)));return S},$dispose:g},y=Xi(b);n._s.set(e,y);const A=(n._a&&n._a.runWithContext||wl)(()=>n._e.run(()=>(i=ia()).run(t)));for(const D in A){const B=A[D];if($t(B)&&!Dl(B)||Qi(B))a||(x&&Sl(B)&&($t(B)?B.value=x[D]:Mn(B,x[D])),n.state.value[e][D]=B);else if(typeof B=="function"){const S=v(D,B);A[D]=S,l.actions[D]=B}}return st(y,A),st(Y0(y),A),Object.defineProperty(y,"$state",{get:()=>n.state.value[e],set:D=>{m(B=>{st(B,D)})}}),n._p.forEach(D=>{st(y,i.run(()=>D({store:y,app:n._a,pinia:n,options:l})))}),x&&a&&r.hydrate&&r.hydrate(y.$state,x),c=!0,u=!0,y}function vt(e,t,r){let n,o;const a=typeof t=="function";typeof e=="string"?(n=e,o=a?r:t):(o=e,n=e.id);function i(l,f){const c=K0();return l=l||(c?rt(gs,null):null),l&&Er(l),l=ms,l._s.has(n)||(a?Es(n,t,o,l):Bl(n,o,l)),l._s.get(n)}return i.$id=n,i}var bs={exports:{}};function Fl(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var Mr={exports:{}};const Pl={},kl=Object.freeze(Object.defineProperty({__proto__:null,default:Pl},Symbol.toStringTag,{value:"Module"})),Tl=hc(kl);var no;function fe(){return no||(no=1,function(e,t){(function(r,n){e.exports=n()})(re,function(){var r=r||function(n,o){var a;if(typeof window<"u"&&window.crypto&&(a=window.crypto),typeof self<"u"&&self.crypto&&(a=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(a=globalThis.crypto),!a&&typeof window<"u"&&window.msCrypto&&(a=window.msCrypto),!a&&typeof re<"u"&&re.crypto&&(a=re.crypto),!a&&typeof Fl=="function")try{a=Tl}catch{}var i=function(){if(a){if(typeof a.getRandomValues=="function")try{return a.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof a.randomBytes=="function")try{return a.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function g(){}return function(v){var b;return g.prototype=v,b=new g,g.prototype=null,b}}(),f={},c=f.lib={},u=c.Base=function(){return{extend:function(g){var v=l(this);return g&&v.mixIn(g),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var g=this.extend();return g.init.apply(g,arguments),g},init:function(){},mixIn:function(g){for(var v in g)g.hasOwnProperty(v)&&(this[v]=g[v]);g.hasOwnProperty("toString")&&(this.toString=g.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),h=c.WordArray=u.extend({init:function(g,v){g=this.words=g||[],v!=o?this.sigBytes=v:this.sigBytes=g.length*4},toString:function(g){return(g||d).stringify(this)},concat:function(g){var v=this.words,b=g.words,y=this.sigBytes,_=g.sigBytes;if(this.clamp(),y%4)for(var A=0;A<_;A++){var D=b[A>>>2]>>>24-A%4*8&255;v[y+A>>>2]|=D<<24-(y+A)%4*8}else for(var B=0;B<_;B+=4)v[y+B>>>2]=b[B>>>2];return this.sigBytes+=_,this},clamp:function(){var g=this.words,v=this.sigBytes;g[v>>>2]&=4294967295<<32-v%4*8,g.length=n.ceil(v/4)},clone:function(){var g=u.clone.call(this);return g.words=this.words.slice(0),g},random:function(g){for(var v=[],b=0;b>>2]>>>24-_%4*8&255;y.push((A>>>4).toString(16)),y.push((A&15).toString(16))}return y.join("")},parse:function(g){for(var v=g.length,b=[],y=0;y>>3]|=parseInt(g.substr(y,2),16)<<24-y%8*4;return new h.init(b,v/2)}},x=s.Latin1={stringify:function(g){for(var v=g.words,b=g.sigBytes,y=[],_=0;_>>2]>>>24-_%4*8&255;y.push(String.fromCharCode(A))}return y.join("")},parse:function(g){for(var v=g.length,b=[],y=0;y>>2]|=(g.charCodeAt(y)&255)<<24-y%4*8;return new h.init(b,v)}},p=s.Utf8={stringify:function(g){try{return decodeURIComponent(escape(x.stringify(g)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(g){return x.parse(unescape(encodeURIComponent(g)))}},m=c.BufferedBlockAlgorithm=u.extend({reset:function(){this._data=new h.init,this._nDataBytes=0},_append:function(g){typeof g=="string"&&(g=p.parse(g)),this._data.concat(g),this._nDataBytes+=g.sigBytes},_process:function(g){var v,b=this._data,y=b.words,_=b.sigBytes,A=this.blockSize,D=A*4,B=_/D;g?B=n.ceil(B):B=n.max((B|0)-this._minBufferSize,0);var S=B*A,P=n.min(S*4,_);if(S){for(var k=0;k>>2]|=f[h]<<24-h%4*8;i.call(this,u,c)}else i.apply(this,arguments)};l.prototype=a}}(),r.lib.WordArray})}(Hr)),Hr.exports}var Wr={exports:{}},io;function Ll(){return io||(io=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Utf16=i.Utf16BE={stringify:function(f){for(var c=f.words,u=f.sigBytes,h=[],s=0;s>>2]>>>16-s%4*8&65535;h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var c=f.length,u=[],h=0;h>>1]|=f.charCodeAt(h)<<16-h%2*16;return a.create(u,c*2)}},i.Utf16LE={stringify:function(f){for(var c=f.words,u=f.sigBytes,h=[],s=0;s>>2]>>>16-s%4*8&65535);h.push(String.fromCharCode(d))}return h.join("")},parse:function(f){for(var c=f.length,u=[],h=0;h>>1]|=l(f.charCodeAt(h)<<16-h%2*16);return a.create(u,c*2)}};function l(f){return f<<8&4278255360|f>>>8&16711935}}(),r.enc.Utf16})}(Wr)),Wr.exports}var jr={exports:{}},so;function Et(){return so||(so=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64={stringify:function(f){var c=f.words,u=f.sigBytes,h=this._map;f.clamp();for(var s=[],d=0;d>>2]>>>24-d%4*8&255,p=c[d+1>>>2]>>>24-(d+1)%4*8&255,m=c[d+2>>>2]>>>24-(d+2)%4*8&255,E=x<<16|p<<8|m,g=0;g<4&&d+g*.75>>6*(3-g)&63));var v=h.charAt(64);if(v)for(;s.length%4;)s.push(v);return s.join("")},parse:function(f){var c=f.length,u=this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var s=0;s>>6-d%4*2,m=x|p;h[s>>>2]|=m<<24-s%4*8,s++}return a.create(h,s)}}(),r.enc.Base64})}(jr)),jr.exports}var $r={exports:{}},co;function Rl(){return co||(co=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.enc;i.Base64url={stringify:function(f,c){c===void 0&&(c=!0);var u=f.words,h=f.sigBytes,s=c?this._safe_map:this._map;f.clamp();for(var d=[],x=0;x>>2]>>>24-x%4*8&255,m=u[x+1>>>2]>>>24-(x+1)%4*8&255,E=u[x+2>>>2]>>>24-(x+2)%4*8&255,g=p<<16|m<<8|E,v=0;v<4&&x+v*.75>>6*(3-v)&63));var b=s.charAt(64);if(b)for(;d.length%4;)d.push(b);return d.join("")},parse:function(f,c){c===void 0&&(c=!0);var u=f.length,h=c?this._safe_map:this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var d=0;d>>6-d%4*2,m=x|p;h[s>>>2]|=m<<24-s%4*8,s++}return a.create(h,s)}}(),r.enc.Base64url})}($r)),$r.exports}var Gr={exports:{}},lo;function bt(){return lo||(lo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[];(function(){for(var p=0;p<64;p++)c[p]=n.abs(n.sin(p+1))*4294967296|0})();var u=f.MD5=l.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,m){for(var E=0;E<16;E++){var g=m+E,v=p[g];p[g]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var b=this._hash.words,y=p[m+0],_=p[m+1],A=p[m+2],D=p[m+3],B=p[m+4],S=p[m+5],P=p[m+6],k=p[m+7],I=p[m+8],K=p[m+9],Y=p[m+10],q=p[m+11],se=p[m+12],oe=p[m+13],ce=p[m+14],ae=p[m+15],L=b[0],U=b[1],W=b[2],N=b[3];L=h(L,U,W,N,y,7,c[0]),N=h(N,L,U,W,_,12,c[1]),W=h(W,N,L,U,A,17,c[2]),U=h(U,W,N,L,D,22,c[3]),L=h(L,U,W,N,B,7,c[4]),N=h(N,L,U,W,S,12,c[5]),W=h(W,N,L,U,P,17,c[6]),U=h(U,W,N,L,k,22,c[7]),L=h(L,U,W,N,I,7,c[8]),N=h(N,L,U,W,K,12,c[9]),W=h(W,N,L,U,Y,17,c[10]),U=h(U,W,N,L,q,22,c[11]),L=h(L,U,W,N,se,7,c[12]),N=h(N,L,U,W,oe,12,c[13]),W=h(W,N,L,U,ce,17,c[14]),U=h(U,W,N,L,ae,22,c[15]),L=s(L,U,W,N,_,5,c[16]),N=s(N,L,U,W,P,9,c[17]),W=s(W,N,L,U,q,14,c[18]),U=s(U,W,N,L,y,20,c[19]),L=s(L,U,W,N,S,5,c[20]),N=s(N,L,U,W,Y,9,c[21]),W=s(W,N,L,U,ae,14,c[22]),U=s(U,W,N,L,B,20,c[23]),L=s(L,U,W,N,K,5,c[24]),N=s(N,L,U,W,ce,9,c[25]),W=s(W,N,L,U,D,14,c[26]),U=s(U,W,N,L,I,20,c[27]),L=s(L,U,W,N,oe,5,c[28]),N=s(N,L,U,W,A,9,c[29]),W=s(W,N,L,U,k,14,c[30]),U=s(U,W,N,L,se,20,c[31]),L=d(L,U,W,N,S,4,c[32]),N=d(N,L,U,W,I,11,c[33]),W=d(W,N,L,U,q,16,c[34]),U=d(U,W,N,L,ce,23,c[35]),L=d(L,U,W,N,_,4,c[36]),N=d(N,L,U,W,B,11,c[37]),W=d(W,N,L,U,k,16,c[38]),U=d(U,W,N,L,Y,23,c[39]),L=d(L,U,W,N,oe,4,c[40]),N=d(N,L,U,W,y,11,c[41]),W=d(W,N,L,U,D,16,c[42]),U=d(U,W,N,L,P,23,c[43]),L=d(L,U,W,N,K,4,c[44]),N=d(N,L,U,W,se,11,c[45]),W=d(W,N,L,U,ae,16,c[46]),U=d(U,W,N,L,A,23,c[47]),L=x(L,U,W,N,y,6,c[48]),N=x(N,L,U,W,k,10,c[49]),W=x(W,N,L,U,ce,15,c[50]),U=x(U,W,N,L,S,21,c[51]),L=x(L,U,W,N,se,6,c[52]),N=x(N,L,U,W,D,10,c[53]),W=x(W,N,L,U,Y,15,c[54]),U=x(U,W,N,L,_,21,c[55]),L=x(L,U,W,N,I,6,c[56]),N=x(N,L,U,W,ae,10,c[57]),W=x(W,N,L,U,P,15,c[58]),U=x(U,W,N,L,oe,21,c[59]),L=x(L,U,W,N,B,6,c[60]),N=x(N,L,U,W,q,10,c[61]),W=x(W,N,L,U,A,15,c[62]),U=x(U,W,N,L,K,21,c[63]),b[0]=b[0]+L|0,b[1]=b[1]+U|0,b[2]=b[2]+W|0,b[3]=b[3]+N|0},_doFinalize:function(){var p=this._data,m=p.words,E=this._nDataBytes*8,g=p.sigBytes*8;m[g>>>5]|=128<<24-g%32;var v=n.floor(E/4294967296),b=E;m[(g+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,m[(g+64>>>9<<4)+14]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,p.sigBytes=(m.length+1)*4,this._process();for(var y=this._hash,_=y.words,A=0;A<4;A++){var D=_[A];_[A]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return y},clone:function(){var p=l.clone.call(this);return p._hash=this._hash.clone(),p}});function h(p,m,E,g,v,b,y){var _=p+(m&E|~m&g)+v+y;return(_<>>32-b)+m}function s(p,m,E,g,v,b,y){var _=p+(m&g|E&~g)+v+y;return(_<>>32-b)+m}function d(p,m,E,g,v,b,y){var _=p+(m^E^g)+v+y;return(_<>>32-b)+m}function x(p,m,E,g,v,b,y){var _=p+(E^(m|~g))+v+y;return(_<>>32-b)+m}o.MD5=l._createHelper(u),o.HmacMD5=l._createHmacHelper(u)}(Math),r.MD5})}(Gr)),Gr.exports}var Vr={exports:{}},uo;function Cs(){return uo||(uo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=o.Hasher,l=n.algo,f=[],c=l.SHA1=i.extend({_doReset:function(){this._hash=new a.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(u,h){for(var s=this._hash.words,d=s[0],x=s[1],p=s[2],m=s[3],E=s[4],g=0;g<80;g++){if(g<16)f[g]=u[h+g]|0;else{var v=f[g-3]^f[g-8]^f[g-14]^f[g-16];f[g]=v<<1|v>>>31}var b=(d<<5|d>>>27)+E+f[g];g<20?b+=(x&p|~x&m)+1518500249:g<40?b+=(x^p^m)+1859775393:g<60?b+=(x&p|x&m|p&m)-1894007588:b+=(x^p^m)-899497514,E=m,m=p,p=x<<30|x>>>2,x=d,d=b}s[0]=s[0]+d|0,s[1]=s[1]+x|0,s[2]=s[2]+p|0,s[3]=s[3]+m|0,s[4]=s[4]+E|0},_doFinalize:function(){var u=this._data,h=u.words,s=this._nDataBytes*8,d=u.sigBytes*8;return h[d>>>5]|=128<<24-d%32,h[(d+64>>>9<<4)+14]=Math.floor(s/4294967296),h[(d+64>>>9<<4)+15]=s,u.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var u=i.clone.call(this);return u._hash=this._hash.clone(),u}});n.SHA1=i._createHelper(c),n.HmacSHA1=i._createHmacHelper(c)}(),r.SHA1})}(Vr)),Vr.exports}var qr={exports:{}},fo;function xa(){return fo||(fo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=[],u=[];(function(){function d(E){for(var g=n.sqrt(E),v=2;v<=g;v++)if(!(E%v))return!1;return!0}function x(E){return(E-(E|0))*4294967296|0}for(var p=2,m=0;m<64;)d(p)&&(m<8&&(c[m]=x(n.pow(p,1/2))),u[m]=x(n.pow(p,1/3)),m++),p++})();var h=[],s=f.SHA256=l.extend({_doReset:function(){this._hash=new i.init(c.slice(0))},_doProcessBlock:function(d,x){for(var p=this._hash.words,m=p[0],E=p[1],g=p[2],v=p[3],b=p[4],y=p[5],_=p[6],A=p[7],D=0;D<64;D++){if(D<16)h[D]=d[x+D]|0;else{var B=h[D-15],S=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,P=h[D-2],k=(P<<15|P>>>17)^(P<<13|P>>>19)^P>>>10;h[D]=S+h[D-7]+k+h[D-16]}var I=b&y^~b&_,K=m&E^m&g^E&g,Y=(m<<30|m>>>2)^(m<<19|m>>>13)^(m<<10|m>>>22),q=(b<<26|b>>>6)^(b<<21|b>>>11)^(b<<7|b>>>25),se=A+q+I+u[D]+h[D],oe=Y+K;A=_,_=y,y=b,b=v+se|0,v=g,g=E,E=m,m=se+oe|0}p[0]=p[0]+m|0,p[1]=p[1]+E|0,p[2]=p[2]+g|0,p[3]=p[3]+v|0,p[4]=p[4]+b|0,p[5]=p[5]+y|0,p[6]=p[6]+_|0,p[7]=p[7]+A|0},_doFinalize:function(){var d=this._data,x=d.words,p=this._nDataBytes*8,m=d.sigBytes*8;return x[m>>>5]|=128<<24-m%32,x[(m+64>>>9<<4)+14]=n.floor(p/4294967296),x[(m+64>>>9<<4)+15]=p,d.sigBytes=x.length*4,this._process(),this._hash},clone:function(){var d=l.clone.call(this);return d._hash=this._hash.clone(),d}});o.SHA256=l._createHelper(s),o.HmacSHA256=l._createHmacHelper(s)}(Math),r.SHA256})}(qr)),qr.exports}var zr={exports:{}},ho;function Nl(){return ho||(ho=1,function(e,t){(function(r,n,o){e.exports=n(fe(),xa())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=n.algo,l=i.SHA256,f=i.SHA224=l.extend({_doReset:function(){this._hash=new a.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=4,c}});n.SHA224=l._createHelper(f),n.HmacSHA224=l._createHmacHelper(f)}(),r.SHA224})}(zr)),zr.exports}var Kr={exports:{}},xo;function _s(){return xo||(xo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br())})(re,function(r){return function(){var n=r,o=n.lib,a=o.Hasher,i=n.x64,l=i.Word,f=i.WordArray,c=n.algo;function u(){return l.create.apply(l,arguments)}var h=[u(1116352408,3609767458),u(1899447441,602891725),u(3049323471,3964484399),u(3921009573,2173295548),u(961987163,4081628472),u(1508970993,3053834265),u(2453635748,2937671579),u(2870763221,3664609560),u(3624381080,2734883394),u(310598401,1164996542),u(607225278,1323610764),u(1426881987,3590304994),u(1925078388,4068182383),u(2162078206,991336113),u(2614888103,633803317),u(3248222580,3479774868),u(3835390401,2666613458),u(4022224774,944711139),u(264347078,2341262773),u(604807628,2007800933),u(770255983,1495990901),u(1249150122,1856431235),u(1555081692,3175218132),u(1996064986,2198950837),u(2554220882,3999719339),u(2821834349,766784016),u(2952996808,2566594879),u(3210313671,3203337956),u(3336571891,1034457026),u(3584528711,2466948901),u(113926993,3758326383),u(338241895,168717936),u(666307205,1188179964),u(773529912,1546045734),u(1294757372,1522805485),u(1396182291,2643833823),u(1695183700,2343527390),u(1986661051,1014477480),u(2177026350,1206759142),u(2456956037,344077627),u(2730485921,1290863460),u(2820302411,3158454273),u(3259730800,3505952657),u(3345764771,106217008),u(3516065817,3606008344),u(3600352804,1432725776),u(4094571909,1467031594),u(275423344,851169720),u(430227734,3100823752),u(506948616,1363258195),u(659060556,3750685593),u(883997877,3785050280),u(958139571,3318307427),u(1322822218,3812723403),u(1537002063,2003034995),u(1747873779,3602036899),u(1955562222,1575990012),u(2024104815,1125592928),u(2227730452,2716904306),u(2361852424,442776044),u(2428436474,593698344),u(2756734187,3733110249),u(3204031479,2999351573),u(3329325298,3815920427),u(3391569614,3928383900),u(3515267271,566280711),u(3940187606,3454069534),u(4118630271,4000239992),u(116418474,1914138554),u(174292421,2731055270),u(289380356,3203993006),u(460393269,320620315),u(685471733,587496836),u(852142971,1086792851),u(1017036298,365543100),u(1126000580,2618297676),u(1288033470,3409855158),u(1501505948,4234509866),u(1607167915,987167468),u(1816402316,1246189591)],s=[];(function(){for(var x=0;x<80;x++)s[x]=u()})();var d=c.SHA512=a.extend({_doReset:function(){this._hash=new f.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(x,p){for(var m=this._hash.words,E=m[0],g=m[1],v=m[2],b=m[3],y=m[4],_=m[5],A=m[6],D=m[7],B=E.high,S=E.low,P=g.high,k=g.low,I=v.high,K=v.low,Y=b.high,q=b.low,se=y.high,oe=y.low,ce=_.high,ae=_.low,L=A.high,U=A.low,W=D.high,N=D.low,ue=B,te=S,T=P,O=k,G=I,z=K,ie=Y,ee=q,w=se,C=oe,F=ce,H=ae,j=L,J=U,X=W,Q=N,_e=0;_e<80;_e++){var he,ke,Ke=s[_e];if(_e<16)ke=Ke.high=x[p+_e*2]|0,he=Ke.low=x[p+_e*2+1]|0;else{var be=s[_e-15],R=be.high,$=be.low,pe=(R>>>1|$<<31)^(R>>>8|$<<24)^R>>>7,Ce=($>>>1|R<<31)^($>>>8|R<<24)^($>>>7|R<<25),He=s[_e-2],We=He.high,Oe=He.low,Tr=(We>>>19|Oe<<13)^(We<<3|Oe>>>29)^We>>>6,Ir=(Oe>>>19|We<<13)^(Oe<<3|We>>>29)^(Oe>>>6|We<<26),Ia=s[_e-7],N0=Ia.high,O0=Ia.low,La=s[_e-16],M0=La.high,Ra=La.low;he=Ce+O0,ke=pe+N0+(he>>>0>>0?1:0),he=he+Ir,ke=ke+Tr+(he>>>0>>0?1:0),he=he+Ra,ke=ke+M0+(he>>>0>>0?1:0),Ke.high=ke,Ke.low=he}var U0=w&F^~w&j,Na=C&H^~C&J,H0=ue&T^ue&G^T&G,W0=te&O^te&z^O&z,j0=(ue>>>28|te<<4)^(ue<<30|te>>>2)^(ue<<25|te>>>7),Oa=(te>>>28|ue<<4)^(te<<30|ue>>>2)^(te<<25|ue>>>7),$0=(w>>>14|C<<18)^(w>>>18|C<<14)^(w<<23|C>>>9),G0=(C>>>14|w<<18)^(C>>>18|w<<14)^(C<<23|w>>>9),Ma=h[_e],V0=Ma.high,Ua=Ma.low,Ne=Q+G0,nt=X+$0+(Ne>>>0>>0?1:0),Ne=Ne+Na,nt=nt+U0+(Ne>>>0>>0?1:0),Ne=Ne+Ua,nt=nt+V0+(Ne>>>0>>0?1:0),Ne=Ne+he,nt=nt+ke+(Ne>>>0>>0?1:0),Ha=Oa+W0,q0=j0+H0+(Ha>>>0>>0?1:0);X=j,Q=J,j=F,J=H,F=w,H=C,C=ee+Ne|0,w=ie+nt+(C>>>0>>0?1:0)|0,ie=G,ee=z,G=T,z=O,T=ue,O=te,te=Ne+Ha|0,ue=nt+q0+(te>>>0>>0?1:0)|0}S=E.low=S+te,E.high=B+ue+(S>>>0>>0?1:0),k=g.low=k+O,g.high=P+T+(k>>>0>>0?1:0),K=v.low=K+z,v.high=I+G+(K>>>0>>0?1:0),q=b.low=q+ee,b.high=Y+ie+(q>>>0>>0?1:0),oe=y.low=oe+C,y.high=se+w+(oe>>>0>>0?1:0),ae=_.low=ae+H,_.high=ce+F+(ae>>>0>>0?1:0),U=A.low=U+J,A.high=L+j+(U>>>0>>0?1:0),N=D.low=N+Q,D.high=W+X+(N>>>0>>0?1:0)},_doFinalize:function(){var x=this._data,p=x.words,m=this._nDataBytes*8,E=x.sigBytes*8;p[E>>>5]|=128<<24-E%32,p[(E+128>>>10<<5)+30]=Math.floor(m/4294967296),p[(E+128>>>10<<5)+31]=m,x.sigBytes=p.length*4,this._process();var g=this._hash.toX32();return g},clone:function(){var x=a.clone.call(this);return x._hash=this._hash.clone(),x},blockSize:1024/32});n.SHA512=a._createHelper(d),n.HmacSHA512=a._createHmacHelper(d)}(),r.SHA512})}(Kr)),Kr.exports}var Yr={exports:{}},po;function Ol(){return po||(po=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br(),_s())})(re,function(r){return function(){var n=r,o=n.x64,a=o.Word,i=o.WordArray,l=n.algo,f=l.SHA512,c=l.SHA384=f.extend({_doReset:function(){this._hash=new i.init([new a.init(3418070365,3238371032),new a.init(1654270250,914150663),new a.init(2438529370,812702999),new a.init(355462360,4144912697),new a.init(1731405415,4290775857),new a.init(2394180231,1750603025),new a.init(3675008525,1694076839),new a.init(1203062813,3204075428)])},_doFinalize:function(){var u=f._doFinalize.call(this);return u.sigBytes-=16,u}});n.SHA384=f._createHelper(c),n.HmacSHA384=f._createHmacHelper(c)}(),r.SHA384})}(Yr)),Yr.exports}var Xr={exports:{}},mo;function Ml(){return mo||(mo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),br())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.x64,c=f.Word,u=o.algo,h=[],s=[],d=[];(function(){for(var m=1,E=0,g=0;g<24;g++){h[m+5*E]=(g+1)*(g+2)/2%64;var v=E%5,b=(2*m+3*E)%5;m=v,E=b}for(var m=0;m<5;m++)for(var E=0;E<5;E++)s[m+5*E]=E+(2*m+3*E)%5*5;for(var y=1,_=0;_<24;_++){for(var A=0,D=0,B=0;B<7;B++){if(y&1){var S=(1<>>24)&16711935|(y<<24|y>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var A=g[b];A.high^=_,A.low^=y}for(var D=0;D<24;D++){for(var B=0;B<5;B++){for(var S=0,P=0,k=0;k<5;k++){var A=g[B+5*k];S^=A.high,P^=A.low}var I=x[B];I.high=S,I.low=P}for(var B=0;B<5;B++)for(var K=x[(B+4)%5],Y=x[(B+1)%5],q=Y.high,se=Y.low,S=K.high^(q<<1|se>>>31),P=K.low^(se<<1|q>>>31),k=0;k<5;k++){var A=g[B+5*k];A.high^=S,A.low^=P}for(var oe=1;oe<25;oe++){var S,P,A=g[oe],ce=A.high,ae=A.low,L=h[oe];L<32?(S=ce<>>32-L,P=ae<>>32-L):(S=ae<>>64-L,P=ce<>>64-L);var U=x[s[oe]];U.high=S,U.low=P}var W=x[0],N=g[0];W.high=N.high,W.low=N.low;for(var B=0;B<5;B++)for(var k=0;k<5;k++){var oe=B+5*k,A=g[oe],ue=x[oe],te=x[(B+1)%5+5*k],T=x[(B+2)%5+5*k];A.high=ue.high^~te.high&T.high,A.low=ue.low^~te.low&T.low}var A=g[0],O=d[D];A.high^=O.high,A.low^=O.low}},_doFinalize:function(){var m=this._data,E=m.words;this._nDataBytes*8;var g=m.sigBytes*8,v=this.blockSize*32;E[g>>>5]|=1<<24-g%32,E[(n.ceil((g+1)/v)*v>>>5)-1]|=128,m.sigBytes=E.length*4,this._process();for(var b=this._state,y=this.cfg.outputLength/8,_=y/8,A=[],D=0;D<_;D++){var B=b[D],S=B.high,P=B.low;S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,A.push(P),A.push(S)}return new i.init(A,y)},clone:function(){for(var m=l.clone.call(this),E=m._state=this._state.slice(0),g=0;g<25;g++)E[g]=E[g].clone();return m}});o.SHA3=l._createHelper(p),o.HmacSHA3=l._createHmacHelper(p)}(Math),r.SHA3})}(Xr)),Xr.exports}var Qr={exports:{}},go;function Ul(){return go||(go=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){/** @preserve - (c) 2012 by Cédric Mesnil. All rights reserved. - - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - - - Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - */return function(n){var o=r,a=o.lib,i=a.WordArray,l=a.Hasher,f=o.algo,c=i.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),u=i.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),h=i.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),s=i.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),d=i.create([0,1518500249,1859775393,2400959708,2840853838]),x=i.create([1352829926,1548603684,1836072691,2053994217,0]),p=f.RIPEMD160=l.extend({_doReset:function(){this._hash=i.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(_,A){for(var D=0;D<16;D++){var B=A+D,S=_[B];_[B]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}var P=this._hash.words,k=d.words,I=x.words,K=c.words,Y=u.words,q=h.words,se=s.words,oe,ce,ae,L,U,W,N,ue,te,T;W=oe=P[0],N=ce=P[1],ue=ae=P[2],te=L=P[3],T=U=P[4];for(var O,D=0;D<80;D+=1)O=oe+_[A+K[D]]|0,D<16?O+=m(ce,ae,L)+k[0]:D<32?O+=E(ce,ae,L)+k[1]:D<48?O+=g(ce,ae,L)+k[2]:D<64?O+=v(ce,ae,L)+k[3]:O+=b(ce,ae,L)+k[4],O=O|0,O=y(O,q[D]),O=O+U|0,oe=U,U=L,L=y(ae,10),ae=ce,ce=O,O=W+_[A+Y[D]]|0,D<16?O+=b(N,ue,te)+I[0]:D<32?O+=v(N,ue,te)+I[1]:D<48?O+=g(N,ue,te)+I[2]:D<64?O+=E(N,ue,te)+I[3]:O+=m(N,ue,te)+I[4],O=O|0,O=y(O,se[D]),O=O+T|0,W=T,T=te,te=y(ue,10),ue=N,N=O;O=P[1]+ae+te|0,P[1]=P[2]+L+T|0,P[2]=P[3]+U+W|0,P[3]=P[4]+oe+N|0,P[4]=P[0]+ce+ue|0,P[0]=O},_doFinalize:function(){var _=this._data,A=_.words,D=this._nDataBytes*8,B=_.sigBytes*8;A[B>>>5]|=128<<24-B%32,A[(B+64>>>9<<4)+14]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,_.sigBytes=(A.length+1)*4,this._process();for(var S=this._hash,P=S.words,k=0;k<5;k++){var I=P[k];P[k]=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360}return S},clone:function(){var _=l.clone.call(this);return _._hash=this._hash.clone(),_}});function m(_,A,D){return _^A^D}function E(_,A,D){return _&A|~_&D}function g(_,A,D){return(_|~A)^D}function v(_,A,D){return _&D|A&~D}function b(_,A,D){return _^(A|~D)}function y(_,A){return _<>>32-A}o.RIPEMD160=l._createHelper(p),o.HmacRIPEMD160=l._createHmacHelper(p)}(),r.RIPEMD160})}(Qr)),Qr.exports}var Jr={exports:{}},vo;function pa(){return vo||(vo=1,function(e,t){(function(r,n){e.exports=n(fe())})(re,function(r){(function(){var n=r,o=n.lib,a=o.Base,i=n.enc,l=i.Utf8,f=n.algo;f.HMAC=a.extend({init:function(c,u){c=this._hasher=new c.init,typeof u=="string"&&(u=l.parse(u));var h=c.blockSize,s=h*4;u.sigBytes>s&&(u=c.finalize(u)),u.clamp();for(var d=this._oKey=u.clone(),x=this._iKey=u.clone(),p=d.words,m=x.words,E=0;E>>2]&255;S.sigBytes-=P}};a.BlockCipher=d.extend({cfg:d.cfg.extend({mode:m,padding:g}),reset:function(){var S;d.reset.call(this);var P=this.cfg,k=P.iv,I=P.mode;this._xformMode==this._ENC_XFORM_MODE?S=I.createEncryptor:(S=I.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==S?this._mode.init(this,k&&k.words):(this._mode=S.call(I,this,k&&k.words),this._mode.__creator=S)},_doProcessBlock:function(S,P){this._mode.processBlock(S,P)},_doFinalize:function(){var S,P=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(P.pad(this._data,this.blockSize),S=this._process(!0)):(S=this._process(!0),P.unpad(S)),S},blockSize:128/32});var v=a.CipherParams=i.extend({init:function(S){this.mixIn(S)},toString:function(S){return(S||this.formatter).stringify(this)}}),b=o.format={},y=b.OpenSSL={stringify:function(S){var P,k=S.ciphertext,I=S.salt;return I?P=l.create([1398893684,1701076831]).concat(I).concat(k):P=k,P.toString(u)},parse:function(S){var P,k=u.parse(S),I=k.words;return I[0]==1398893684&&I[1]==1701076831&&(P=l.create(I.slice(2,4)),I.splice(0,4),k.sigBytes-=16),v.create({ciphertext:k,salt:P})}},_=a.SerializableCipher=i.extend({cfg:i.extend({format:y}),encrypt:function(S,P,k,I){I=this.cfg.extend(I);var K=S.createEncryptor(k,I),Y=K.finalize(P),q=K.cfg;return v.create({ciphertext:Y,key:k,iv:q.iv,algorithm:S,mode:q.mode,padding:q.padding,blockSize:S.blockSize,formatter:I.format})},decrypt:function(S,P,k,I){I=this.cfg.extend(I),P=this._parse(P,I.format);var K=S.createDecryptor(k,I).finalize(P.ciphertext);return K},_parse:function(S,P){return typeof S=="string"?P.parse(S,this):S}}),A=o.kdf={},D=A.OpenSSL={execute:function(S,P,k,I,K){if(I||(I=l.random(64/8)),K)var Y=s.create({keySize:P+k,hasher:K}).compute(S,I);else var Y=s.create({keySize:P+k}).compute(S,I);var q=l.create(Y.words.slice(P),k*4);return Y.sigBytes=P*4,v.create({key:Y,iv:q,salt:I})}},B=a.PasswordBasedCipher=_.extend({cfg:_.cfg.extend({kdf:D}),encrypt:function(S,P,k,I){I=this.cfg.extend(I);var K=I.kdf.execute(k,S.keySize,S.ivSize,I.salt,I.hasher);I.iv=K.iv;var Y=_.encrypt.call(this,S,P,K.key,I);return Y.mixIn(K),Y},decrypt:function(S,P,k,I){I=this.cfg.extend(I),P=this._parse(P,I.format);var K=I.kdf.execute(k,S.keySize,S.ivSize,P.salt,I.hasher);I.iv=K.iv;var Y=_.decrypt.call(this,S,P,K.key,I);return Y}})}()})}(tn)),tn.exports}var rn={exports:{}},_o;function Wl(){return _o||(_o=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(re,function(r){return r.mode.CFB=function(){var n=r.lib.BlockCipherMode.extend();n.Encryptor=n.extend({processBlock:function(a,i){var l=this._cipher,f=l.blockSize;o.call(this,a,i,f,l),this._prevBlock=a.slice(i,i+f)}}),n.Decryptor=n.extend({processBlock:function(a,i){var l=this._cipher,f=l.blockSize,c=a.slice(i,i+f);o.call(this,a,i,f,l),this._prevBlock=c}});function o(a,i,l,f){var c,u=this._iv;u?(c=u.slice(0),this._iv=void 0):c=this._prevBlock,f.encryptBlock(c,0);for(var h=0;h>24&255)===255){var f=l>>16&255,c=l>>8&255,u=l&255;f===255?(f=0,c===255?(c=0,u===255?u=0:++u):++c):++f,l=0,l+=f<<16,l+=c<<8,l+=u}else l+=1<<24;return l}function a(l){return(l[0]=o(l[0]))===0&&(l[1]=o(l[1])),l}var i=n.Encryptor=n.extend({processBlock:function(l,f){var c=this._cipher,u=c.blockSize,h=this._iv,s=this._counter;h&&(s=this._counter=h.slice(0),this._iv=void 0),a(s);var d=s.slice(0);c.encryptBlock(d,0);for(var x=0;x>>2]|=l<<24-f%4*8,n.sigBytes+=l},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Ansix923})}(cn)),cn.exports}var ln={exports:{}},Bo;function zl(){return Bo||(Bo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(re,function(r){return r.pad.Iso10126={pad:function(n,o){var a=o*4,i=a-n.sigBytes%a;n.concat(r.lib.WordArray.random(i-1)).concat(r.lib.WordArray.create([i<<24],1))},unpad:function(n){var o=n.words[n.sigBytes-1>>>2]&255;n.sigBytes-=o}},r.pad.Iso10126})}(ln)),ln.exports}var un={exports:{}},Fo;function Kl(){return Fo||(Fo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(re,function(r){return r.pad.Iso97971={pad:function(n,o){n.concat(r.lib.WordArray.create([2147483648],1)),r.pad.ZeroPadding.pad(n,o)},unpad:function(n){r.pad.ZeroPadding.unpad(n),n.sigBytes--}},r.pad.Iso97971})}(un)),un.exports}var fn={exports:{}},Po;function Yl(){return Po||(Po=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(re,function(r){return r.pad.ZeroPadding={pad:function(n,o){var a=o*4;n.clamp(),n.sigBytes+=a-(n.sigBytes%a||a)},unpad:function(n){for(var o=n.words,a=n.sigBytes-1,a=n.sigBytes-1;a>=0;a--)if(o[a>>>2]>>>24-a%4*8&255){n.sigBytes=a+1;break}}},r.pad.ZeroPadding})}(fn)),fn.exports}var dn={exports:{}},ko;function Xl(){return ko||(ko=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(re,function(r){return r.pad.NoPadding={pad:function(){},unpad:function(){}},r.pad.NoPadding})}(dn)),dn.exports}var hn={exports:{}},To;function Ql(){return To||(To=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Be())})(re,function(r){return function(n){var o=r,a=o.lib,i=a.CipherParams,l=o.enc,f=l.Hex,c=o.format;c.Hex={stringify:function(u){return u.ciphertext.toString(f)},parse:function(u){var h=f.parse(u);return i.create({ciphertext:h})}}}(),r.format.Hex})}(hn)),hn.exports}var xn={exports:{}},Io;function Jl(){return Io||(Io=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Be())})(re,function(r){return function(){var n=r,o=n.lib,a=o.BlockCipher,i=n.algo,l=[],f=[],c=[],u=[],h=[],s=[],d=[],x=[],p=[],m=[];(function(){for(var v=[],b=0;b<256;b++)b<128?v[b]=b<<1:v[b]=b<<1^283;for(var y=0,_=0,b=0;b<256;b++){var A=_^_<<1^_<<2^_<<3^_<<4;A=A>>>8^A&255^99,l[y]=A,f[A]=y;var D=v[y],B=v[D],S=v[B],P=v[A]*257^A*16843008;c[y]=P<<24|P>>>8,u[y]=P<<16|P>>>16,h[y]=P<<8|P>>>24,s[y]=P;var P=S*16843009^B*65537^D*257^y*16843008;d[A]=P<<24|P>>>8,x[A]=P<<16|P>>>16,p[A]=P<<8|P>>>24,m[A]=P,y?(y=D^v[v[v[S^D]]],_^=v[v[_]]):y=_=1}})();var E=[0,1,2,4,8,16,32,64,128,27,54],g=i.AES=a.extend({_doReset:function(){var v;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var b=this._keyPriorReset=this._key,y=b.words,_=b.sigBytes/4,A=this._nRounds=_+6,D=(A+1)*4,B=this._keySchedule=[],S=0;S6&&S%_==4&&(v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255]):(v=v<<8|v>>>24,v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255],v^=E[S/_|0]<<24),B[S]=B[S-_]^v);for(var P=this._invKeySchedule=[],k=0;k>>24]]^x[l[v>>>16&255]]^p[l[v>>>8&255]]^m[l[v&255]]}}},encryptBlock:function(v,b){this._doCryptBlock(v,b,this._keySchedule,c,u,h,s,l)},decryptBlock:function(v,b){var y=v[b+1];v[b+1]=v[b+3],v[b+3]=y,this._doCryptBlock(v,b,this._invKeySchedule,d,x,p,m,f);var y=v[b+1];v[b+1]=v[b+3],v[b+3]=y},_doCryptBlock:function(v,b,y,_,A,D,B,S){for(var P=this._nRounds,k=v[b]^y[0],I=v[b+1]^y[1],K=v[b+2]^y[2],Y=v[b+3]^y[3],q=4,se=1;se>>24]^A[I>>>16&255]^D[K>>>8&255]^B[Y&255]^y[q++],ce=_[I>>>24]^A[K>>>16&255]^D[Y>>>8&255]^B[k&255]^y[q++],ae=_[K>>>24]^A[Y>>>16&255]^D[k>>>8&255]^B[I&255]^y[q++],L=_[Y>>>24]^A[k>>>16&255]^D[I>>>8&255]^B[K&255]^y[q++];k=oe,I=ce,K=ae,Y=L}var oe=(S[k>>>24]<<24|S[I>>>16&255]<<16|S[K>>>8&255]<<8|S[Y&255])^y[q++],ce=(S[I>>>24]<<24|S[K>>>16&255]<<16|S[Y>>>8&255]<<8|S[k&255])^y[q++],ae=(S[K>>>24]<<24|S[Y>>>16&255]<<16|S[k>>>8&255]<<8|S[I&255])^y[q++],L=(S[Y>>>24]<<24|S[k>>>16&255]<<16|S[I>>>8&255]<<8|S[K&255])^y[q++];v[b]=oe,v[b+1]=ce,v[b+2]=ae,v[b+3]=L},keySize:256/32});n.AES=a._createHelper(g)}(),r.AES})}(xn)),xn.exports}var pn={exports:{}},Lo;function Zl(){return Lo||(Lo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Be())})(re,function(r){return function(){var n=r,o=n.lib,a=o.WordArray,i=o.BlockCipher,l=n.algo,f=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],u=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],h=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],s=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],d=l.DES=i.extend({_doReset:function(){for(var E=this._key,g=E.words,v=[],b=0;b<56;b++){var y=f[b]-1;v[b]=g[y>>>5]>>>31-y%32&1}for(var _=this._subKeys=[],A=0;A<16;A++){for(var D=_[A]=[],B=u[A],b=0;b<24;b++)D[b/6|0]|=v[(c[b]-1+B)%28]<<31-b%6,D[4+(b/6|0)]|=v[28+(c[b+24]-1+B)%28]<<31-b%6;D[0]=D[0]<<1|D[0]>>>31;for(var b=1;b<7;b++)D[b]=D[b]>>>(b-1)*4+3;D[7]=D[7]<<5|D[7]>>>27}for(var S=this._invSubKeys=[],b=0;b<16;b++)S[b]=_[15-b]},encryptBlock:function(E,g){this._doCryptBlock(E,g,this._subKeys)},decryptBlock:function(E,g){this._doCryptBlock(E,g,this._invSubKeys)},_doCryptBlock:function(E,g,v){this._lBlock=E[g],this._rBlock=E[g+1],x.call(this,4,252645135),x.call(this,16,65535),p.call(this,2,858993459),p.call(this,8,16711935),x.call(this,1,1431655765);for(var b=0;b<16;b++){for(var y=v[b],_=this._lBlock,A=this._rBlock,D=0,B=0;B<8;B++)D|=h[B][((A^y[B])&s[B])>>>0];this._lBlock=A,this._rBlock=_^D}var S=this._lBlock;this._lBlock=this._rBlock,this._rBlock=S,x.call(this,1,1431655765),p.call(this,8,16711935),p.call(this,2,858993459),x.call(this,16,65535),x.call(this,4,252645135),E[g]=this._lBlock,E[g+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function x(E,g){var v=(this._lBlock>>>E^this._rBlock)&g;this._rBlock^=v,this._lBlock^=v<>>E^this._lBlock)&g;this._lBlock^=v,this._rBlock^=v<192.");var v=g.slice(0,2),b=g.length<4?g.slice(0,2):g.slice(2,4),y=g.length<6?g.slice(0,2):g.slice(4,6);this._des1=d.createEncryptor(a.create(v)),this._des2=d.createEncryptor(a.create(b)),this._des3=d.createEncryptor(a.create(y))},encryptBlock:function(E,g){this._des1.encryptBlock(E,g),this._des2.decryptBlock(E,g),this._des3.encryptBlock(E,g)},decryptBlock:function(E,g){this._des3.decryptBlock(E,g),this._des2.encryptBlock(E,g),this._des1.decryptBlock(E,g)},keySize:192/32,ivSize:64/32,blockSize:64/32});n.TripleDES=i._createHelper(m)}(),r.TripleDES})}(pn)),pn.exports}var mn={exports:{}},Ro;function eu(){return Ro||(Ro=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Be())})(re,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=i.RC4=a.extend({_doReset:function(){for(var u=this._key,h=u.words,s=u.sigBytes,d=this._S=[],x=0;x<256;x++)d[x]=x;for(var x=0,p=0;x<256;x++){var m=x%s,E=h[m>>>2]>>>24-m%4*8&255;p=(p+d[x]+E)%256;var g=d[x];d[x]=d[p],d[p]=g}this._i=this._j=0},_doProcessBlock:function(u,h){u[h]^=f.call(this)},keySize:256/32,ivSize:0});function f(){for(var u=this._S,h=this._i,s=this._j,d=0,x=0;x<4;x++){h=(h+1)%256,s=(s+u[h])%256;var p=u[h];u[h]=u[s],u[s]=p,d|=u[(u[h]+u[s])%256]<<24-x*8}return this._i=h,this._j=s,d}n.RC4=a._createHelper(l);var c=i.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var u=this.cfg.drop;u>0;u--)f.call(this)}});n.RC4Drop=a._createHelper(c)}(),r.RC4})}(mn)),mn.exports}var gn={exports:{}},No;function tu(){return No||(No=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Be())})(re,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=[],f=[],c=[],u=i.Rabbit=a.extend({_doReset:function(){for(var s=this._key.words,d=this.cfg.iv,x=0;x<4;x++)s[x]=(s[x]<<8|s[x]>>>24)&16711935|(s[x]<<24|s[x]>>>8)&4278255360;var p=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],m=this._C=[s[2]<<16|s[2]>>>16,s[0]&4294901760|s[1]&65535,s[3]<<16|s[3]>>>16,s[1]&4294901760|s[2]&65535,s[0]<<16|s[0]>>>16,s[2]&4294901760|s[3]&65535,s[1]<<16|s[1]>>>16,s[3]&4294901760|s[0]&65535];this._b=0;for(var x=0;x<4;x++)h.call(this);for(var x=0;x<8;x++)m[x]^=p[x+4&7];if(d){var E=d.words,g=E[0],v=E[1],b=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,y=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,_=b>>>16|y&4294901760,A=y<<16|b&65535;m[0]^=b,m[1]^=_,m[2]^=y,m[3]^=A,m[4]^=b,m[5]^=_,m[6]^=y,m[7]^=A;for(var x=0;x<4;x++)h.call(this)}},_doProcessBlock:function(s,d){var x=this._X;h.call(this),l[0]=x[0]^x[5]>>>16^x[3]<<16,l[1]=x[2]^x[7]>>>16^x[5]<<16,l[2]=x[4]^x[1]>>>16^x[7]<<16,l[3]=x[6]^x[3]>>>16^x[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,s[d+p]^=l[p]},blockSize:128/32,ivSize:64/32});function h(){for(var s=this._X,d=this._C,x=0;x<8;x++)f[x]=d[x];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0>>0?1:0)|0,this._b=d[7]>>>0>>0?1:0;for(var x=0;x<8;x++){var p=s[x]+d[x],m=p&65535,E=p>>>16,g=((m*m>>>17)+m*E>>>15)+E*E,v=((p&4294901760)*p|0)+((p&65535)*p|0);c[x]=g^v}s[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,s[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,s[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,s[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,s[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,s[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,s[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,s[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.Rabbit=a._createHelper(u)}(),r.Rabbit})}(gn)),gn.exports}var vn={exports:{}},Oo;function ru(){return Oo||(Oo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Be())})(re,function(r){return function(){var n=r,o=n.lib,a=o.StreamCipher,i=n.algo,l=[],f=[],c=[],u=i.RabbitLegacy=a.extend({_doReset:function(){var s=this._key.words,d=this.cfg.iv,x=this._X=[s[0],s[3]<<16|s[2]>>>16,s[1],s[0]<<16|s[3]>>>16,s[2],s[1]<<16|s[0]>>>16,s[3],s[2]<<16|s[1]>>>16],p=this._C=[s[2]<<16|s[2]>>>16,s[0]&4294901760|s[1]&65535,s[3]<<16|s[3]>>>16,s[1]&4294901760|s[2]&65535,s[0]<<16|s[0]>>>16,s[2]&4294901760|s[3]&65535,s[1]<<16|s[1]>>>16,s[3]&4294901760|s[0]&65535];this._b=0;for(var m=0;m<4;m++)h.call(this);for(var m=0;m<8;m++)p[m]^=x[m+4&7];if(d){var E=d.words,g=E[0],v=E[1],b=(g<<8|g>>>24)&16711935|(g<<24|g>>>8)&4278255360,y=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,_=b>>>16|y&4294901760,A=y<<16|b&65535;p[0]^=b,p[1]^=_,p[2]^=y,p[3]^=A,p[4]^=b,p[5]^=_,p[6]^=y,p[7]^=A;for(var m=0;m<4;m++)h.call(this)}},_doProcessBlock:function(s,d){var x=this._X;h.call(this),l[0]=x[0]^x[5]>>>16^x[3]<<16,l[1]=x[2]^x[7]>>>16^x[5]<<16,l[2]=x[4]^x[1]>>>16^x[7]<<16,l[3]=x[6]^x[3]>>>16^x[1]<<16;for(var p=0;p<4;p++)l[p]=(l[p]<<8|l[p]>>>24)&16711935|(l[p]<<24|l[p]>>>8)&4278255360,s[d+p]^=l[p]},blockSize:128/32,ivSize:64/32});function h(){for(var s=this._X,d=this._C,x=0;x<8;x++)f[x]=d[x];d[0]=d[0]+1295307597+this._b|0,d[1]=d[1]+3545052371+(d[0]>>>0>>0?1:0)|0,d[2]=d[2]+886263092+(d[1]>>>0>>0?1:0)|0,d[3]=d[3]+1295307597+(d[2]>>>0>>0?1:0)|0,d[4]=d[4]+3545052371+(d[3]>>>0>>0?1:0)|0,d[5]=d[5]+886263092+(d[4]>>>0>>0?1:0)|0,d[6]=d[6]+1295307597+(d[5]>>>0>>0?1:0)|0,d[7]=d[7]+3545052371+(d[6]>>>0>>0?1:0)|0,this._b=d[7]>>>0>>0?1:0;for(var x=0;x<8;x++){var p=s[x]+d[x],m=p&65535,E=p>>>16,g=((m*m>>>17)+m*E>>>15)+E*E,v=((p&4294901760)*p|0)+((p&65535)*p|0);c[x]=g^v}s[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,s[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,s[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,s[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,s[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,s[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,s[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,s[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}n.RabbitLegacy=a._createHelper(u)}(),r.RabbitLegacy})}(vn)),vn.exports}var En={exports:{}},Mo;function nu(){return Mo||(Mo=1,function(e,t){(function(r,n,o){e.exports=n(fe(),Et(),bt(),dt(),Be())})(re,function(r){return function(){var n=r,o=n.lib,a=o.BlockCipher,i=n.algo;const l=16,f=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],c=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var u={pbox:[],sbox:[]};function h(m,E){let g=E>>24&255,v=E>>16&255,b=E>>8&255,y=E&255,_=m.sbox[0][g]+m.sbox[1][v];return _=_^m.sbox[2][b],_=_+m.sbox[3][y],_}function s(m,E,g){let v=E,b=g,y;for(let _=0;_1;--_)v=v^m.pbox[_],b=h(m,v)^b,y=v,v=b,b=y;return y=v,v=b,b=y,b=b^m.pbox[1],v=v^m.pbox[0],{left:v,right:b}}function x(m,E,g){for(let A=0;A<4;A++){m.sbox[A]=[];for(let D=0;D<256;D++)m.sbox[A][D]=c[A][D]}let v=0;for(let A=0;A=g&&(v=0);let b=0,y=0,_=0;for(let A=0;A=Date.now())return h}return i(f),null}}function i(f){window.localStorage.removeItem(f)}function l(){window.localStorage.clear()}return{set:o,get:a,remove:i,clear:l}}ws();const Fe=ws({expire:null,crypto:!1});function su(){return typeof process<"u"&&(process==null?void 0:process.type)==="renderer"?"electron":typeof wx<"u"?"wechat":typeof window<"u"&&window.matchMedia("(display-mode: standalone)").matches?"webApp":/(Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone)/i.test(navigator.userAgent)?"mobile":"webBrowser"}const As="appSetting";function cu(){return{siderCollapsed:!1,theme:"auto",language:"zh-CN",env:su()}}function lu(){const e=Fe.get(As);return{...cu(),...e}}function uu(e){Fe.set(As,e)}const Ss=vt("app-store",{state:()=>lu(),actions:{setSiderCollapsed(e){this.siderCollapsed=e,this.recordState()},setTheme(e){localStorage.theme=e,this.theme=e,window.theme=e,this.recordState()},setLanguage(e){this.language!==e&&(this.language=e,this.recordState())},recordState(){uu(this.$state)},setEnv(){const e=/micromessenger/i.test(navigator.userAgent),t=navigator.userAgent.includes("Electron"),r=/(iPhone|iPad|iPod|Android|webOS|BlackBerry|Windows Phone)/i.test(navigator.userAgent);e?this.env="wechat":t?this.env="electron":r?this.env="mobile":!e&&!t&&(this.env="web")}}});function fu(){return Ss(Sr)}function Ds(e,t){return function(){return e.apply(t,arguments)}}const{toString:du}=Object.prototype,{getPrototypeOf:ma}=Object,Cr=(e=>t=>{const r=du.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),ze=e=>(e=e.toLowerCase(),t=>Cr(t)===e),_r=e=>t=>typeof t===e,{isArray:It}=Array,zt=_r("undefined");function hu(e){return e!==null&&!zt(e)&&e.constructor!==null&&!zt(e.constructor)&&Ue(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Bs=ze("ArrayBuffer");function xu(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Bs(e.buffer),t}const pu=_r("string"),Ue=_r("function"),Fs=_r("number"),yr=e=>e!==null&&typeof e=="object",mu=e=>e===!0||e===!1,sr=e=>{if(Cr(e)!=="object")return!1;const t=ma(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},gu=ze("Date"),vu=ze("File"),Eu=ze("Blob"),bu=ze("FileList"),Cu=e=>yr(e)&&Ue(e.pipe),_u=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ue(e.append)&&((t=Cr(e))==="formdata"||t==="object"&&Ue(e.toString)&&e.toString()==="[object FormData]"))},yu=ze("URLSearchParams"),wu=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Zt(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e>"u")return;let n,o;if(typeof e!="object"&&(e=[e]),It(e))for(n=0,o=e.length;n0;)if(o=r[n],t===o.toLowerCase())return o;return null}const ks=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),Ts=e=>!zt(e)&&e!==ks;function Hn(){const{caseless:e}=Ts(this)&&this||{},t={},r=(n,o)=>{const a=e&&Ps(t,o)||o;sr(t[a])&&sr(n)?t[a]=Hn(t[a],n):sr(n)?t[a]=Hn({},n):It(n)?t[a]=n.slice():t[a]=n};for(let n=0,o=arguments.length;n(Zt(t,(o,a)=>{r&&Ue(o)?e[a]=Ds(o,r):e[a]=o},{allOwnKeys:n}),e),Su=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Du=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},Bu=(e,t,r,n)=>{let o,a,i;const l={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),a=o.length;a-- >0;)i=o[a],(!n||n(i,e,t))&&!l[i]&&(t[i]=e[i],l[i]=!0);e=r!==!1&&ma(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},Fu=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},Pu=e=>{if(!e)return null;if(It(e))return e;let t=e.length;if(!Fs(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},ku=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&ma(Uint8Array)),Tu=(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=n.next())&&!o.done;){const a=o.value;t.call(e,a[0],a[1])}},Iu=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},Lu=ze("HTMLFormElement"),Ru=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,o){return n.toUpperCase()+o}),Uo=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),Nu=ze("RegExp"),Is=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};Zt(r,(o,a)=>{let i;(i=t(o,a,e))!==!1&&(n[a]=i||o)}),Object.defineProperties(e,n)},Ou=e=>{Is(e,(t,r)=>{if(Ue(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ue(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},Mu=(e,t)=>{const r={},n=o=>{o.forEach(a=>{r[a]=!0})};return It(e)?n(e):n(String(e).split(t)),r},Uu=()=>{},Hu=(e,t)=>(e=+e,Number.isFinite(e)?e:t),bn="abcdefghijklmnopqrstuvwxyz",Ho="0123456789",Ls={DIGIT:Ho,ALPHA:bn,ALPHA_DIGIT:bn+bn.toUpperCase()+Ho},Wu=(e=16,t=Ls.ALPHA_DIGIT)=>{let r="";const{length:n}=t;for(;e--;)r+=t[Math.random()*n|0];return r};function ju(e){return!!(e&&Ue(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const $u=e=>{const t=new Array(10),r=(n,o)=>{if(yr(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[o]=n;const a=It(n)?[]:{};return Zt(n,(i,l)=>{const f=r(i,o+1);!zt(f)&&(a[l]=f)}),t[o]=void 0,a}}return n};return r(e,0)},Gu=ze("AsyncFunction"),Vu=e=>e&&(yr(e)||Ue(e))&&Ue(e.then)&&Ue(e.catch),M={isArray:It,isArrayBuffer:Bs,isBuffer:hu,isFormData:_u,isArrayBufferView:xu,isString:pu,isNumber:Fs,isBoolean:mu,isObject:yr,isPlainObject:sr,isUndefined:zt,isDate:gu,isFile:vu,isBlob:Eu,isRegExp:Nu,isFunction:Ue,isStream:Cu,isURLSearchParams:yu,isTypedArray:ku,isFileList:bu,forEach:Zt,merge:Hn,extend:Au,trim:wu,stripBOM:Su,inherits:Du,toFlatObject:Bu,kindOf:Cr,kindOfTest:ze,endsWith:Fu,toArray:Pu,forEachEntry:Tu,matchAll:Iu,isHTMLForm:Lu,hasOwnProperty:Uo,hasOwnProp:Uo,reduceDescriptors:Is,freezeMethods:Ou,toObjectSet:Mu,toCamelCase:Ru,noop:Uu,toFiniteNumber:Hu,findKey:Ps,global:ks,isContextDefined:Ts,ALPHABET:Ls,generateString:Wu,isSpecCompliantForm:ju,toJSONObject:$u,isAsyncFn:Gu,isThenable:Vu};function de(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}M.inherits(de,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:M.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Rs=de.prototype,Ns={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{Ns[e]={value:e}});Object.defineProperties(de,Ns);Object.defineProperty(Rs,"isAxiosError",{value:!0});de.from=(e,t,r,n,o,a)=>{const i=Object.create(Rs);return M.toFlatObject(e,i,function(f){return f!==Error.prototype},l=>l!=="isAxiosError"),de.call(i,e.message,t,r,n,o),i.cause=e,i.name=e.name,a&&Object.assign(i,a),i};const qu=null;function Wn(e){return M.isPlainObject(e)||M.isArray(e)}function Os(e){return M.endsWith(e,"[]")?e.slice(0,-2):e}function Wo(e,t,r){return e?e.concat(t).map(function(o,a){return o=Os(o),!r&&a?"["+o+"]":o}).join(r?".":""):t}function zu(e){return M.isArray(e)&&!e.some(Wn)}const Ku=M.toFlatObject(M,{},null,function(t){return/^is[A-Z]/.test(t)});function wr(e,t,r){if(!M.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=M.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,m){return!M.isUndefined(m[p])});const n=r.metaTokens,o=r.visitor||u,a=r.dots,i=r.indexes,f=(r.Blob||typeof Blob<"u"&&Blob)&&M.isSpecCompliantForm(t);if(!M.isFunction(o))throw new TypeError("visitor must be a function");function c(x){if(x===null)return"";if(M.isDate(x))return x.toISOString();if(!f&&M.isBlob(x))throw new de("Blob is not supported. Use a Buffer instead.");return M.isArrayBuffer(x)||M.isTypedArray(x)?f&&typeof Blob=="function"?new Blob([x]):Buffer.from(x):x}function u(x,p,m){let E=x;if(x&&!m&&typeof x=="object"){if(M.endsWith(p,"{}"))p=n?p:p.slice(0,-2),x=JSON.stringify(x);else if(M.isArray(x)&&zu(x)||(M.isFileList(x)||M.endsWith(p,"[]"))&&(E=M.toArray(x)))return p=Os(p),E.forEach(function(v,b){!(M.isUndefined(v)||v===null)&&t.append(i===!0?Wo([p],b,a):i===null?p:p+"[]",c(v))}),!1}return Wn(x)?!0:(t.append(Wo(m,p,a),c(x)),!1)}const h=[],s=Object.assign(Ku,{defaultVisitor:u,convertValue:c,isVisitable:Wn});function d(x,p){if(!M.isUndefined(x)){if(h.indexOf(x)!==-1)throw Error("Circular reference detected in "+p.join("."));h.push(x),M.forEach(x,function(E,g){(!(M.isUndefined(E)||E===null)&&o.call(t,E,M.isString(g)?g.trim():g,p,s))===!0&&d(E,p?p.concat(g):[g])}),h.pop()}}if(!M.isObject(e))throw new TypeError("data must be an object");return d(e),t}function jo(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function ga(e,t){this._pairs=[],e&&wr(e,this,t)}const Ms=ga.prototype;Ms.append=function(t,r){this._pairs.push([t,r])};Ms.toString=function(t){const r=t?function(n){return t.call(this,n,jo)}:jo;return this._pairs.map(function(o){return r(o[0])+"="+r(o[1])},"").join("&")};function Yu(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Us(e,t,r){if(!t)return e;const n=r&&r.encode||Yu,o=r&&r.serialize;let a;if(o?a=o(t,r):a=M.isURLSearchParams(t)?t.toString():new ga(t,r).toString(n),a){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+a}return e}class Xu{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){M.forEach(this.handlers,function(n){n!==null&&t(n)})}}const $o=Xu,Hs={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Qu=typeof URLSearchParams<"u"?URLSearchParams:ga,Ju=typeof FormData<"u"?FormData:null,Zu=typeof Blob<"u"?Blob:null,ef={isBrowser:!0,classes:{URLSearchParams:Qu,FormData:Ju,Blob:Zu},protocols:["http","https","file","blob","url","data"]},Ws=typeof window<"u"&&typeof document<"u",tf=(e=>Ws&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),rf=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),nf=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ws,hasStandardBrowserEnv:tf,hasStandardBrowserWebWorkerEnv:rf},Symbol.toStringTag,{value:"Module"})),Ve={...nf,...ef};function af(e,t){return wr(e,new Ve.classes.URLSearchParams,Object.assign({visitor:function(r,n,o,a){return Ve.isNode&&M.isBuffer(r)?(this.append(n,r.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)}},t))}function of(e){return M.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function sf(e){const t={},r=Object.keys(e);let n;const o=r.length;let a;for(n=0;n=r.length;return i=!i&&M.isArray(o)?o.length:i,f?(M.hasOwnProp(o,i)?o[i]=[o[i],n]:o[i]=n,!l):((!o[i]||!M.isObject(o[i]))&&(o[i]=[]),t(r,n,o[i],a)&&M.isArray(o[i])&&(o[i]=sf(o[i])),!l)}if(M.isFormData(e)&&M.isFunction(e.entries)){const r={};return M.forEachEntry(e,(n,o)=>{t(of(n),o,r,0)}),r}return null}function cf(e,t,r){if(M.isString(e))try{return(t||JSON.parse)(e),M.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const va={transitional:Hs,adapter:["xhr","http"],transformRequest:[function(t,r){const n=r.getContentType()||"",o=n.indexOf("application/json")>-1,a=M.isObject(t);if(a&&M.isHTMLForm(t)&&(t=new FormData(t)),M.isFormData(t))return o?JSON.stringify(js(t)):t;if(M.isArrayBuffer(t)||M.isBuffer(t)||M.isStream(t)||M.isFile(t)||M.isBlob(t))return t;if(M.isArrayBufferView(t))return t.buffer;if(M.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let l;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return af(t,this.formSerializer).toString();if((l=M.isFileList(t))||n.indexOf("multipart/form-data")>-1){const f=this.env&&this.env.FormData;return wr(l?{"files[]":t}:t,f&&new f,this.formSerializer)}}return a||o?(r.setContentType("application/json",!1),cf(t)):t}],transformResponse:[function(t){const r=this.transitional||va.transitional,n=r&&r.forcedJSONParsing,o=this.responseType==="json";if(t&&M.isString(t)&&(n&&!this.responseType||o)){const i=!(r&&r.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(l){if(i)throw l.name==="SyntaxError"?de.from(l,de.ERR_BAD_RESPONSE,this,null,this.response):l}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ve.classes.FormData,Blob:Ve.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};M.forEach(["delete","get","head","post","put","patch"],e=>{va.headers[e]={}});const Ea=va,lf=M.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),uf=e=>{const t={};let r,n,o;return e&&e.split(` -`).forEach(function(i){o=i.indexOf(":"),r=i.substring(0,o).trim().toLowerCase(),n=i.substring(o+1).trim(),!(!r||t[r]&&lf[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},Go=Symbol("internals");function Nt(e){return e&&String(e).trim().toLowerCase()}function cr(e){return e===!1||e==null?e:M.isArray(e)?e.map(cr):String(e)}function ff(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const df=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Cn(e,t,r,n,o){if(M.isFunction(n))return n.call(this,t,r);if(o&&(t=r),!!M.isString(t)){if(M.isString(n))return t.indexOf(n)!==-1;if(M.isRegExp(n))return n.test(t)}}function hf(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function xf(e,t){const r=M.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(o,a,i){return this[n].call(this,t,o,a,i)},configurable:!0})})}class Ar{constructor(t){t&&this.set(t)}set(t,r,n){const o=this;function a(l,f,c){const u=Nt(f);if(!u)throw new Error("header name must be a non-empty string");const h=M.findKey(o,u);(!h||o[h]===void 0||c===!0||c===void 0&&o[h]!==!1)&&(o[h||f]=cr(l))}const i=(l,f)=>M.forEach(l,(c,u)=>a(c,u,f));return M.isPlainObject(t)||t instanceof this.constructor?i(t,r):M.isString(t)&&(t=t.trim())&&!df(t)?i(uf(t),r):t!=null&&a(r,t,n),this}get(t,r){if(t=Nt(t),t){const n=M.findKey(this,t);if(n){const o=this[n];if(!r)return o;if(r===!0)return ff(o);if(M.isFunction(r))return r.call(this,o,n);if(M.isRegExp(r))return r.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Nt(t),t){const n=M.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||Cn(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let o=!1;function a(i){if(i=Nt(i),i){const l=M.findKey(n,i);l&&(!r||Cn(n,n[l],l,r))&&(delete n[l],o=!0)}}return M.isArray(t)?t.forEach(a):a(t),o}clear(t){const r=Object.keys(this);let n=r.length,o=!1;for(;n--;){const a=r[n];(!t||Cn(this,this[a],a,t,!0))&&(delete this[a],o=!0)}return o}normalize(t){const r=this,n={};return M.forEach(this,(o,a)=>{const i=M.findKey(n,a);if(i){r[i]=cr(o),delete r[a];return}const l=t?hf(a):String(a).trim();l!==a&&delete r[a],r[l]=cr(o),n[l]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return M.forEach(this,(n,o)=>{n!=null&&n!==!1&&(r[o]=t&&M.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(o=>n.set(o)),n}static accessor(t){const n=(this[Go]=this[Go]={accessors:{}}).accessors,o=this.prototype;function a(i){const l=Nt(i);n[l]||(xf(o,i),n[l]=!0)}return M.isArray(t)?t.forEach(a):a(t),this}}Ar.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);M.reduceDescriptors(Ar.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});M.freezeMethods(Ar);const et=Ar;function _n(e,t){const r=this||Ea,n=t||r,o=et.from(n.headers);let a=n.data;return M.forEach(e,function(l){a=l.call(r,a,o.normalize(),t?t.status:void 0)}),o.normalize(),a}function $s(e){return!!(e&&e.__CANCEL__)}function er(e,t,r){de.call(this,e??"canceled",de.ERR_CANCELED,t,r),this.name="CanceledError"}M.inherits(er,de,{__CANCEL__:!0});function pf(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new de("Request failed with status code "+r.status,[de.ERR_BAD_REQUEST,de.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const mf=Ve.hasStandardBrowserEnv?{write(e,t,r,n,o,a){const i=[e+"="+encodeURIComponent(t)];M.isNumber(r)&&i.push("expires="+new Date(r).toGMTString()),M.isString(n)&&i.push("path="+n),M.isString(o)&&i.push("domain="+o),a===!0&&i.push("secure"),document.cookie=i.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function gf(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function vf(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Gs(e,t){return e&&!gf(t)?vf(e,t):t}const Ef=Ve.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function o(a){let i=a;return t&&(r.setAttribute("href",i),i=r.href),r.setAttribute("href",i),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=o(window.location.href),function(i){const l=M.isString(i)?o(i):i;return l.protocol===n.protocol&&l.host===n.host}}():function(){return function(){return!0}}();function bf(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Cf(e,t){e=e||10;const r=new Array(e),n=new Array(e);let o=0,a=0,i;return t=t!==void 0?t:1e3,function(f){const c=Date.now(),u=n[a];i||(i=c),r[o]=f,n[o]=c;let h=a,s=0;for(;h!==o;)s+=r[h++],h=h%e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),c-i{const a=o.loaded,i=o.lengthComputable?o.total:void 0,l=a-r,f=n(l),c=a<=i;r=a;const u={loaded:a,total:i,progress:i?a/i:void 0,bytes:l,rate:f||void 0,estimated:f&&i&&c?(i-a)/f:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const _f=typeof XMLHttpRequest<"u",yf=_f&&function(e){return new Promise(function(r,n){let o=e.data;const a=et.from(e.headers).normalize();let{responseType:i,withXSRFToken:l}=e,f;function c(){e.cancelToken&&e.cancelToken.unsubscribe(f),e.signal&&e.signal.removeEventListener("abort",f)}let u;if(M.isFormData(o)){if(Ve.hasStandardBrowserEnv||Ve.hasStandardBrowserWebWorkerEnv)a.setContentType(!1);else if((u=a.getContentType())!==!1){const[p,...m]=u?u.split(";").map(E=>E.trim()).filter(Boolean):[];a.setContentType([p||"multipart/form-data",...m].join("; "))}}let h=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",m=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(p+":"+m))}const s=Gs(e.baseURL,e.url);h.open(e.method.toUpperCase(),Us(s,e.params,e.paramsSerializer),!0),h.timeout=e.timeout;function d(){if(!h)return;const p=et.from("getAllResponseHeaders"in h&&h.getAllResponseHeaders()),E={data:!i||i==="text"||i==="json"?h.responseText:h.response,status:h.status,statusText:h.statusText,headers:p,config:e,request:h};pf(function(v){r(v),c()},function(v){n(v),c()},E),h=null}if("onloadend"in h?h.onloadend=d:h.onreadystatechange=function(){!h||h.readyState!==4||h.status===0&&!(h.responseURL&&h.responseURL.indexOf("file:")===0)||setTimeout(d)},h.onabort=function(){h&&(n(new de("Request aborted",de.ECONNABORTED,e,h)),h=null)},h.onerror=function(){n(new de("Network Error",de.ERR_NETWORK,e,h)),h=null},h.ontimeout=function(){let m=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const E=e.transitional||Hs;e.timeoutErrorMessage&&(m=e.timeoutErrorMessage),n(new de(m,E.clarifyTimeoutError?de.ETIMEDOUT:de.ECONNABORTED,e,h)),h=null},Ve.hasStandardBrowserEnv&&(l&&M.isFunction(l)&&(l=l(e)),l||l!==!1&&Ef(s))){const p=e.xsrfHeaderName&&e.xsrfCookieName&&mf.read(e.xsrfCookieName);p&&a.set(e.xsrfHeaderName,p)}o===void 0&&a.setContentType(null),"setRequestHeader"in h&&M.forEach(a.toJSON(),function(m,E){h.setRequestHeader(E,m)}),M.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),i&&i!=="json"&&(h.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&h.addEventListener("progress",Vo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&h.upload&&h.upload.addEventListener("progress",Vo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(f=p=>{h&&(n(!p||p.type?new er(null,e,h):p),h.abort(),h=null)},e.cancelToken&&e.cancelToken.subscribe(f),e.signal&&(e.signal.aborted?f():e.signal.addEventListener("abort",f)));const x=bf(s);if(x&&Ve.protocols.indexOf(x)===-1){n(new de("Unsupported protocol "+x+":",de.ERR_BAD_REQUEST,e));return}h.send(o||null)})},jn={http:qu,xhr:yf};M.forEach(jn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const qo=e=>`- ${e}`,wf=e=>M.isFunction(e)||e===null||e===!1,Vs={getAdapter:e=>{e=M.isArray(e)?e:[e];const{length:t}=e;let r,n;const o={};for(let a=0;a`adapter ${l} `+(f===!1?"is not supported by the environment":"is not available in the build"));let i=t?a.length>1?`since : -`+a.map(qo).join(` -`):" "+qo(a[0]):"as no adapter specified";throw new de("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return n},adapters:jn};function yn(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new er(null,e)}function zo(e){return yn(e),e.headers=et.from(e.headers),e.data=_n.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Vs.getAdapter(e.adapter||Ea.adapter)(e).then(function(n){return yn(e),n.data=_n.call(e,e.transformResponse,n),n.headers=et.from(n.headers),n},function(n){return $s(n)||(yn(e),n&&n.response&&(n.response.data=_n.call(e,e.transformResponse,n.response),n.response.headers=et.from(n.response.headers))),Promise.reject(n)})}const Ko=e=>e instanceof et?e.toJSON():e;function Dt(e,t){t=t||{};const r={};function n(c,u,h){return M.isPlainObject(c)&&M.isPlainObject(u)?M.merge.call({caseless:h},c,u):M.isPlainObject(u)?M.merge({},u):M.isArray(u)?u.slice():u}function o(c,u,h){if(M.isUndefined(u)){if(!M.isUndefined(c))return n(void 0,c,h)}else return n(c,u,h)}function a(c,u){if(!M.isUndefined(u))return n(void 0,u)}function i(c,u){if(M.isUndefined(u)){if(!M.isUndefined(c))return n(void 0,c)}else return n(void 0,u)}function l(c,u,h){if(h in t)return n(c,u);if(h in e)return n(void 0,c)}const f={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(c,u)=>o(Ko(c),Ko(u),!0)};return M.forEach(Object.keys(Object.assign({},e,t)),function(u){const h=f[u]||o,s=h(e[u],t[u],u);M.isUndefined(s)&&h!==l||(r[u]=s)}),r}const qs="1.6.7",ba={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ba[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Yo={};ba.transitional=function(t,r,n){function o(a,i){return"[Axios v"+qs+"] Transitional option '"+a+"'"+i+(n?". "+n:"")}return(a,i,l)=>{if(t===!1)throw new de(o(i," has been removed"+(r?" in "+r:"")),de.ERR_DEPRECATED);return r&&!Yo[i]&&(Yo[i]=!0,console.warn(o(i," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(a,i,l):!0}};function Af(e,t,r){if(typeof e!="object")throw new de("options must be an object",de.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let o=n.length;for(;o-- >0;){const a=n[o],i=t[a];if(i){const l=e[a],f=l===void 0||i(l,a,e);if(f!==!0)throw new de("option "+a+" must be "+f,de.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new de("Unknown option "+a,de.ERR_BAD_OPTION)}}const $n={assertOptions:Af,validators:ba},at=$n.validators;class dr{constructor(t){this.defaults=t,this.interceptors={request:new $o,response:new $o}}async request(t,r){try{return await this._request(t,r)}catch(n){if(n instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";n.stack?a&&!String(n.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(n.stack+=` -`+a):n.stack=a}throw n}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Dt(this.defaults,r);const{transitional:n,paramsSerializer:o,headers:a}=r;n!==void 0&&$n.assertOptions(n,{silentJSONParsing:at.transitional(at.boolean),forcedJSONParsing:at.transitional(at.boolean),clarifyTimeoutError:at.transitional(at.boolean)},!1),o!=null&&(M.isFunction(o)?r.paramsSerializer={serialize:o}:$n.assertOptions(o,{encode:at.function,serialize:at.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let i=a&&M.merge(a.common,a[r.method]);a&&M.forEach(["delete","get","head","post","put","patch","common"],x=>{delete a[x]}),r.headers=et.concat(i,a);const l=[];let f=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(r)===!1||(f=f&&p.synchronous,l.unshift(p.fulfilled,p.rejected))});const c=[];this.interceptors.response.forEach(function(p){c.push(p.fulfilled,p.rejected)});let u,h=0,s;if(!f){const x=[zo.bind(this),void 0];for(x.unshift.apply(x,l),x.push.apply(x,c),s=x.length,u=Promise.resolve(r);h{if(!n._listeners)return;let a=n._listeners.length;for(;a-- >0;)n._listeners[a](o);n._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(l=>{n.subscribe(l),a=l}).then(o);return i.cancel=function(){n.unsubscribe(a)},i},t(function(a,i,l){n.reason||(n.reason=new er(a,i,l),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}static source(){let t;return{token:new Ca(function(o){t=o}),cancel:t}}}const Sf=Ca;function Df(e){return function(r){return e.apply(null,r)}}function Bf(e){return M.isObject(e)&&e.isAxiosError===!0}const Gn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Gn).forEach(([e,t])=>{Gn[t]=e});const Ff=Gn;function zs(e){const t=new lr(e),r=Ds(lr.prototype.request,t);return M.extend(r,lr.prototype,t,{allOwnKeys:!0}),M.extend(r,t,null,{allOwnKeys:!0}),r.create=function(o){return zs(Dt(e,o))},r}const ye=zs(Ea);ye.Axios=lr;ye.CanceledError=er;ye.CancelToken=Sf;ye.isCancel=$s;ye.VERSION=qs;ye.toFormData=wr;ye.AxiosError=de;ye.Cancel=ye.CanceledError;ye.all=function(t){return Promise.all(t)};ye.spread=Df;ye.isAxiosError=Bf;ye.mergeConfig=Dt;ye.AxiosHeaders=et;ye.formToJSON=e=>js(M.isHTMLForm(e)?new FormData(e):e);ye.getAdapter=Vs.getAdapter;ye.HttpStatusCode=Ff;ye.default=ye;const Pf=ye,hr=Pf.create({baseURL:"/api",timeout:2400*1e3});hr.interceptors.request.use(e=>{var o;const t=Kt().token,r=(o=Xs())==null?void 0:o.fingerprint,n=window.location.origin;return e.headers["X-Website-Domain"]=n,r&&(e.headers.Fingerprint=r),t&&(e.headers.Authorization=`Bearer ${t}`),e},e=>Promise.reject(e.response));hr.interceptors.response.use(e=>{if([200,201].includes(e.status))return e;throw new Error(e.status.toString())},e=>Promise.reject(e));let Xo=0;const kf=["/chatlog/chatList","/group/query"];function Tf(e){return e?kf.some(t=>e.includes(t)):!1}function Ks({url:e,data:t,method:r,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){const f=h=>{const s=Kt(),{code:d}=h.data;return d>=200&&d<300||!d?h.data:(d===401&&(s.removeToken(),window.location.reload()),Promise.reject(h.data))},c=h=>{var p,m,E,g,v,b;const s=Kt();let d="";if((p=h.response)!=null&&p.data&&(d=h.response.data),l==null||l(),((m=h==null?void 0:h.response)==null?void 0:m.status)===401){if(s.removeToken(),!Tf((E=h==null?void 0:h.request)==null?void 0:E.responseURL)){s.loadInit&&s.setLoginDialog(!0);const y=((g=h.response.data)==null?void 0:g.message)||"请先登录后再进行使用!";Date.now()-Xo>3e3&&window.$message.error(y)}Xo=Date.now()}else d&&!(d!=null&&d.success)&&window.$message.error((d==null?void 0:d.message)||"请求接口错误!");throw new Error(((b=(v=h.response)==null?void 0:v.data)==null?void 0:b.message)||h||"Error")};i==null||i(),r=r||"GET";const u=Object.assign(typeof t=="function"?t():t??{},{});return r==="GET"?hr.get(e,{params:u,signal:a,onDownloadProgress:o}).then(f,c):hr.post(e,u,{headers:n,signal:a,onDownloadProgress:o}).then(f,c)}function Re({url:e,data:t,method:r="GET",onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i}){return Ks({url:e,method:r,data:t,onDownloadProgress:n,signal:o,beforeRequest:a,afterRequest:i})}function Se({url:e,data:t,method:r="POST",headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l}){return Ks({url:e,method:r,data:t,headers:n,onDownloadProgress:o,signal:a,beforeRequest:i,afterRequest:l})}function If(e){return Se({url:"/group/create",data:e})}function Lf(){return Re({url:"/group/query"})}function Rf(e){return Se({url:"/group/update",data:e})}function Nf(e){return Se({url:"/group/del",data:e})}function Of(e){return Se({url:"/group/delAll",data:e})}const Vn="chatStorage";function Mf(){return{active:0,usingContext:!0,usingNetwork:!1,groupList:[],chatList:[],groupKeyWord:"",baseConfig:null,currentPlugin:void 0,pluginList:[],prompt:""}}function Uf(){const e=Fe.get(Vn);return{...Mf(),...e}}function Hf({active:e}){Fe.set(Vn,{...Fe.get(Vn),active:e})}function Wf(e){return Se({url:"/chatlog/del",data:e})}function jf(e){return Se({url:"/chatlog/delByGroupId",data:e})}function $f(e){return Se({url:"/chatlog/deleteChatsAfterId",data:e})}function Gf(e){return Re({url:"/chatlog/chatList",data:e})}function cm(){return Re({url:"/models/list"})}function Vf(){return Re({url:"/models/baseConfig"})}function qf(){return Re({url:"/plugin/pluginList"})}const Ys=vt("chat-store",{state:()=>Uf(),getters:{activeConfig:e=>{var o;const t=e.active;if(!t)return{};const r=(o=e.groupList.find(a=>a.uuid===t))==null?void 0:o.config;return r?JSON.parse(r):e.baseConfig},activeGroupAppId:e=>{var r;const t=e.active;return t?(r=e.groupList.find(n=>n.uuid===t))==null?void 0:r.appId:null},activeGroupFileUrl:e=>{var r;const t=e.active;return t?(r=e.groupList.find(n=>n.uuid===t))==null?void 0:r.fileUrl:null},activeModel(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.model},activeModelName(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelName},activeModelAvatar(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.modelAvatar},activeModelDeductType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deductType},activeModelKeyType(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.keyType},activeModelFileUpload(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.isFileUpload},activeModelPrice(e){var t,r;return(r=(t=this.activeConfig)==null?void 0:t.modelInfo)==null?void 0:r.deduct}},actions:{async queryPlugins(){try{const e=await qf();e.success&&e.code===200&&(this.pluginList=e.data.rows.filter(t=>t.isEnabled===1).map(t=>({pluginId:t.id,pluginName:t.name,description:t.description,pluginImg:t.pluginImg,parameters:t.parameters,deductType:t.deductType})))}catch{}},setGroupKeyWord(e){this.groupKeyWord=e},getChatByGroupInfo(){if(this.active)return this.groupList.find(e=>e.uuid===this.active)},getConfigFromUuid(e){var t;return(t=this.groupList.find(r=>r.uuid===e))==null?void 0:t.config},async addNewChatGroup(e=0,t,r){try{const n=await If({appId:e,modelConfig:t,params:r});this.active=n.data.id,await this.queryMyGroup(),await this.setActiveGroup(n.data.id)}catch(n){console.error("新增对话组时出错:",n)}},async getBaseModelConfig(){const e=await Vf();this.baseConfig=e==null?void 0:e.data},async queryMyGroup(){const e=await Lf();this.groupList=[...e.data.map(r=>{const{id:n,title:o,isSticky:a,createdAt:i,updatedAt:l,appId:f,config:c,appLogo:u,isFixedModel:h,isGpts:s,params:d,fileUrl:x}=r;return{uuid:n,title:o,isEdit:!1,appId:f,config:c,isSticky:a,appLogo:u,createdAt:i,isFixedModel:h,isGpts:s,params:d,fileUrl:x,updatedAt:new Date(l).getTime()}})];const t=this.groupList.some(r=>Number(r.uuid)===Number(this.active));(!this.active||!t)&&this.groupList.length&&this.setActiveGroup(this.groupList[0].uuid),this.groupList.length===0&&await this.addNewChatGroup(),this.recordState()},async updateGroupInfo(e){await Rf(e),await this.queryMyGroup()},async setActiveGroup(e){this.active=e,this.groupList.forEach(t=>t.isEdit=!1),this.active?await this.queryActiveChatLogList():this.chatList=[],this.recordState()},async deleteGroup(e){const t=this.groupList.findIndex(n=>n.uuid===e.uuid),{uuid:r}=e;await Nf({groupId:r}),await this.queryMyGroup(),this.groupList.length===0&&await this.setActiveGroup(0),t>0&&t0&&await this.setActiveGroup(this.groupList[0].uuid),(t>this.groupList.length||t===0&&this.groupList.length===0)&&await this.setActiveGroup(0),t>0&&t===this.groupList.length&&await this.setActiveGroup(this.groupList[t-1].uuid),this.recordState()},async delAllGroup(){!this.active||!this.groupList.length||(await Of(),await this.queryMyGroup(),this.groupList.length===0?await this.setActiveGroup(0):await this.setActiveGroup(this.groupList[0].uuid))},async queryActiveChatLogList(){if(!(!this.active||Number(this.active)===0)){try{const e=await Gf({groupId:this.active});e&&e.data?this.chatList=e.data:this.chatList=[]}catch(e){console.error("Error fetching chat log list:",e),this.chatList=[]}this.recordState()}},addGroupChat(e){this.chatList=[...this.chatList,e]},updateGroupChat(e,t){this.chatList[e]={...this.chatList[e],...t}},updateGroupChatSome(e,t){this.chatList[e]={...this.chatList[e],...t}},async deleteChatById(e){e&&(await Wf({id:e}),await this.queryActiveChatLogList())},async deleteChatsAfterId(e){e&&(await $f({id:e}),await this.queryActiveChatLogList())},setUsingContext(e){this.usingContext=e,this.recordState()},setUsingNetwork(e){this.usingNetwork=e,this.recordState()},setUsingPlugin(e){this.currentPlugin=e||void 0,this.recordState()},async setPrompt(e){console.log("setPrompt:",e),this.prompt=e,this.recordState()},setStreamIn(e){this.isStreamIn=e,this.recordState()},async clearChatByGroupId(){this.active&&(await jf({groupId:this.active}),await this.queryActiveChatLogList())},recordState(){Hf(this.$state)},clearChat(){this.chatList=[],this.groupList=[],this.active=0,this.recordState()}}});function lm(){return Re({url:"/app/queryCats"})}function um(){return Re({url:"/app/list"})}function fm(e){return Se({url:"/app/searchList",data:e})}function zf(){return Re({url:"/app/mineApps"})}function dm(e){return Se({url:"/app/collect",data:e})}function hm(e){return Re({url:"/app/queryOneCat",data:e})}const xm=vt("app-cat-store",{state:()=>({catId:0,mineApps:[]}),actions:{setCatId(e){this.catId=e},async queryMineApps(){var t;const e=await zf();this.mineApps=((t=e==null?void 0:e.data)==null?void 0:t.rows)||[]}}});function pm(e){return Se({url:"/chatgpt/chat-process",data:{model:e.model,modelName:e.modelName,modelType:e.modelType,prompt:e.prompt,fileInfo:e==null?void 0:e.fileInfo,extraParam:e==null?void 0:e.extraParam,appId:e==null?void 0:e.appId,options:e.options,action:e==null?void 0:e.action,customId:e==null?void 0:e.customId,usingPluginId:e==null?void 0:e.usingPluginId,drawId:e==null?void 0:e.drawId,modelAvatar:e==null?void 0:e.modelAvatar},signal:e.signal,onDownloadProgress:e.onDownloadProgress})}function mm(e){return Se({url:"/chatgpt/ppt-cover",data:e})}function gm(e){return Se({url:"/chatgpt/tts-process",data:e})}function Kf(){return Re({url:"/auth/getInfo"})}function vm(e){return Se({url:"/auth/register",data:e})}function Em(e){return Se({url:"/auth/login",data:e})}function bm(e){return Se({url:"/user/update",data:e})}function Cm(e){return Se({url:"/auth/updatePassword",data:e})}function _m(e){return Se({url:"/auth/sendCode",data:e})}function ym(e){return Se({url:"/auth/sendPhoneCode",data:e})}function wm(e){return Re({url:"/balance/rechargeLog",data:e})}function Yf(){return Re({url:"/balance/query"})}function Am(){return Re({url:"/balance/getVisitorCount"})}function Sm(){return Se({url:"/balance/inheritVisitorData"})}function Xf(e){return Re({url:"/config/queryFronet",data:e})}const _a="SECRET_TOKEN";function Qf(){return Fe.get(_a)}function Jf(e){return Fe.set(_a,e)}function wn(){return Fe.remove(_a)}const Kt=vt("auth-store",{state:()=>({token:Qf(),loginDialog:!1,globalConfigLoading:!0,userInfo:{},userBalance:{},globalConfig:{},loadInit:!1}),getters:{isLogin:e=>!!e.token},actions:{async getUserInfo(){try{this.loadInit||await this.getglobalConfig();const e=await Kf();if(!e)return Promise.resolve(e);const{data:t}=e,{userInfo:r,userBalance:n}=t;return this.userInfo={...r},this.userBalance={...n},Promise.resolve(t)}catch(e){return Promise.reject(e)}},updateUserBalance(e){this.userBalance=e},async getUserBalance(){const e=await Yf(),{success:t,data:r}=e;t&&(this.userBalance=r)},async getglobalConfig(e=""){const t=await Xf({domain:e});this.globalConfig=t.data,this.globalConfigLoading=!1,this.loadInit=!0},setToken(e){this.token=e,Jf(e)},removeToken(){this.token=void 0,wn()},setLoginDialog(e){this.loginDialog=e},logOut(){this.token=void 0,wn(),this.userInfo={},this.userBalance={},Ys().clearChat(),window.location.reload()},updatePasswordSuccess(){this.token=void 0,wn(),this.userInfo={},this.userBalance={},this.loginDialog=!0}}});function Zf(){return Kt(Sr)}const Xs=vt("global-store",{state:()=>({payDialog:!1,goodsDialog:!1,noticeDialog:!1,bindWxDialog:!1,signInDialog:!1,appDialog:!1,phoneIdentityDialog:!1,isChatIn:!1,fingerprint:0,model:Fe.get("model")||3,orderInfo:{},iframeUrl:"",clipboardText:"",identityDialog:!1,userAgreementDialog:!1,BadWordsDialog:!1}),actions:{updateClipboardText(e){this.clipboardText=e},updateFingerprint(e){let t=e;t>2147483647&&(t=Number(t.toString().slice(-9)),t=Number(String(Number(t)))),Fe.set("fingerprint",t),this.fingerprint=t},updateIframeUrl(e){this.iframeUrl=e},updatePayDialog(e){this.payDialog=e},updateUserAgreementDialog(e){this.userAgreementDialog=e},UpdateBadWordsDialog(e){this.BadWordsDialog=e},updateIsChatIn(e){this.isChatIn=e},updateGoodsDialog(e){this.goodsDialog=e},updateBindwxDialog(e){this.bindWxDialog=e},updateSignInDialog(e){this.signInDialog=e},updateNoticeDialog(e){this.noticeDialog=e},updateAppDialog(e){this.appDialog=e},updateIdentityDialog(e){this.identityDialog=e},updateOrderInfo(e){this.orderInfo=e},updatePhoneDialog(e){this.phoneIdentityDialog=e},updateModel(e){Fe.set("model",e),this.model=e}}});function ed(){return Xs(Sr)}const Qs="promptStore";function td(){return Fe.get(Qs)??{promptList:[]}}function rd(e){Fe.set(Qs,e)}vt("prompt-store",{state:()=>td(),actions:{updatePromptList(e){this.$patch({promptList:e}),rd({promptList:e})},getPromptList(){return this.$state}}});const ya="settingsStorage";function Js(){return{systemMessage:""}}function nd(){const e=Fe.get(ya);return{...Js(),...e}}function ad(e){Fe.set(ya,e)}function od(){Fe.remove(ya)}vt("setting-store",{state:()=>nd(),actions:{updateSetting(e){this.$state={...this.$state,...e},this.recordState()},resetSetting(){this.$state=Js(),od()},recordState(){ad(this.$state)}}});const Sr=yl();function id(e){e.use(Sr)}/*! - * shared v9.10.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */const xr=typeof window<"u",ht=(e,t=!1)=>t?Symbol.for(e):Symbol(e),sd=(e,t,r)=>cd({l:e,k:t,s:r}),cd=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),we=e=>typeof e=="number"&&isFinite(e),ld=e=>e0(e)==="[object Date]",ft=e=>e0(e)==="[object RegExp]",Dr=e=>ne(e)&&Object.keys(e).length===0,Pe=Object.assign;let Qo;const Ze=()=>Qo||(Qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Jo(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const ud=Object.prototype.hasOwnProperty;function pr(e,t){return ud.call(e,t)}const Ee=Array.isArray,ve=e=>typeof e=="function",V=e=>typeof e=="string",le=e=>typeof e=="boolean",xe=e=>e!==null&&typeof e=="object",fd=e=>xe(e)&&ve(e.then)&&ve(e.catch),Zs=Object.prototype.toString,e0=e=>Zs.call(e),ne=e=>{if(!xe(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},dd=e=>e==null?"":Ee(e)||ne(e)&&e.toString===Zs?JSON.stringify(e,null,2):String(e);function hd(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}function wa(e){let t=e;return()=>++t}function xd(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const rr=e=>!xe(e)||Ee(e);function ur(e,t){if(rr(e)||rr(t))throw new Error("Invalid value");const r=[{src:e,des:t}];for(;r.length;){const{src:n,des:o}=r.pop();Object.keys(n).forEach(a=>{rr(n[a])||rr(o[a])?o[a]=n[a]:r.push({src:n[a],des:o[a]})})}}/*! - * message-compiler v9.10.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */function pd(e,t,r){return{line:e,column:t,offset:r}}function qn(e,t,r){const n={start:e,end:t};return r!=null&&(n.source=r),n}const md=/\{([0-9a-zA-Z]+)\}/g;function gd(e,...t){return t.length===1&&vd(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(md,(r,n)=>t.hasOwnProperty(n)?t[n]:"")}const t0=Object.assign,Zo=e=>typeof e=="string",vd=e=>e!==null&&typeof e=="object";function r0(e,t=""){return e.reduce((r,n,o)=>o===0?r+n:r+t+n,"")}const Z={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Ed={[Z.EXPECTED_TOKEN]:"Expected token: '{0}'",[Z.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Z.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Z.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Z.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Z.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Z.EMPTY_PLACEHOLDER]:"Empty placeholder",[Z.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Z.INVALID_LINKED_FORMAT]:"Invalid linked format",[Z.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Z.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Z.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Z.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Z.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Z.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Lt(e,t,r={}){const{domain:n,messages:o,args:a}=r,i=gd((o||Ed)[e]||"",...a||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=n,l}function bd(e){throw e}const Ye=" ",Cd="\r",Te=` -`,_d=String.fromCharCode(8232),yd=String.fromCharCode(8233);function wd(e){const t=e;let r=0,n=1,o=1,a=0;const i=A=>t[A]===Cd&&t[A+1]===Te,l=A=>t[A]===Te,f=A=>t[A]===yd,c=A=>t[A]===_d,u=A=>i(A)||l(A)||f(A)||c(A),h=()=>r,s=()=>n,d=()=>o,x=()=>a,p=A=>i(A)||f(A)||c(A)?Te:t[A],m=()=>p(r),E=()=>p(r+a);function g(){return a=0,u(r)&&(n++,o=0),i(r)&&r++,r++,o++,t[r]}function v(){return i(r+a)&&a++,a++,t[r+a]}function b(){r=0,n=1,o=1,a=0}function y(A=0){a=A}function _(){const A=r+a;for(;A!==r;)g();a=0}return{index:h,line:s,column:d,peekOffset:x,charAt:p,currentChar:m,currentPeek:E,next:g,peek:v,reset:b,resetPeek:y,skipToPeek:_}}const ot=void 0,Ad=".",ei="'",Sd="tokenizer";function Dd(e,t={}){const r=t.location!==!1,n=wd(e),o=()=>n.index(),a=()=>pd(n.line(),n.column(),n.index()),i=a(),l=o(),f={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>f,{onError:u}=t;function h(w,C,F,...H){const j=c();if(C.column+=F,C.offset+=F,u){const J=r?qn(j.startLoc,C):null,X=Lt(w,J,{domain:Sd,args:H});u(X)}}function s(w,C,F){w.endLoc=a(),w.currentType=C;const H={type:C};return r&&(H.loc=qn(w.startLoc,w.endLoc)),F!=null&&(H.value=F),H}const d=w=>s(w,14);function x(w,C){return w.currentChar()===C?(w.next(),C):(h(Z.EXPECTED_TOKEN,a(),0,C),"")}function p(w){let C="";for(;w.currentPeek()===Ye||w.currentPeek()===Te;)C+=w.currentPeek(),w.peek();return C}function m(w){const C=p(w);return w.skipToPeek(),C}function E(w){if(w===ot)return!1;const C=w.charCodeAt(0);return C>=97&&C<=122||C>=65&&C<=90||C===95}function g(w){if(w===ot)return!1;const C=w.charCodeAt(0);return C>=48&&C<=57}function v(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=E(w.currentPeek());return w.resetPeek(),H}function b(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=w.currentPeek()==="-"?w.peek():w.currentPeek(),j=g(H);return w.resetPeek(),j}function y(w,C){const{currentType:F}=C;if(F!==2)return!1;p(w);const H=w.currentPeek()===ei;return w.resetPeek(),H}function _(w,C){const{currentType:F}=C;if(F!==8)return!1;p(w);const H=w.currentPeek()===".";return w.resetPeek(),H}function A(w,C){const{currentType:F}=C;if(F!==9)return!1;p(w);const H=E(w.currentPeek());return w.resetPeek(),H}function D(w,C){const{currentType:F}=C;if(!(F===8||F===12))return!1;p(w);const H=w.currentPeek()===":";return w.resetPeek(),H}function B(w,C){const{currentType:F}=C;if(F!==10)return!1;const H=()=>{const J=w.currentPeek();return J==="{"?E(w.peek()):J==="@"||J==="%"||J==="|"||J===":"||J==="."||J===Ye||!J?!1:J===Te?(w.peek(),H()):E(J)},j=H();return w.resetPeek(),j}function S(w){p(w);const C=w.currentPeek()==="|";return w.resetPeek(),C}function P(w){const C=p(w),F=w.currentPeek()==="%"&&w.peek()==="{";return w.resetPeek(),{isModulo:F,hasSpace:C.length>0}}function k(w,C=!0){const F=(j=!1,J="",X=!1)=>{const Q=w.currentPeek();return Q==="{"?J==="%"?!1:j:Q==="@"||!Q?J==="%"?!0:j:Q==="%"?(w.peek(),F(j,"%",!0)):Q==="|"?J==="%"||X?!0:!(J===Ye||J===Te):Q===Ye?(w.peek(),F(!0,Ye,X)):Q===Te?(w.peek(),F(!0,Te,X)):!0},H=F();return C&&w.resetPeek(),H}function I(w,C){const F=w.currentChar();return F===ot?ot:C(F)?(w.next(),F):null}function K(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=97&&H<=122||H>=65&&H<=90||H>=48&&H<=57||H===95||H===36})}function Y(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=48&&H<=57})}function q(w){return I(w,F=>{const H=F.charCodeAt(0);return H>=48&&H<=57||H>=65&&H<=70||H>=97&&H<=102})}function se(w){let C="",F="";for(;C=Y(w);)F+=C;return F}function oe(w){m(w);const C=w.currentChar();return C!=="%"&&h(Z.EXPECTED_TOKEN,a(),0,C),w.next(),"%"}function ce(w){let C="";for(;;){const F=w.currentChar();if(F==="{"||F==="}"||F==="@"||F==="|"||!F)break;if(F==="%")if(k(w))C+=F,w.next();else break;else if(F===Ye||F===Te)if(k(w))C+=F,w.next();else{if(S(w))break;C+=F,w.next()}else C+=F,w.next()}return C}function ae(w){m(w);let C="",F="";for(;C=K(w);)F+=C;return w.currentChar()===ot&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F}function L(w){m(w);let C="";return w.currentChar()==="-"?(w.next(),C+=`-${se(w)}`):C+=se(w),w.currentChar()===ot&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),C}function U(w){m(w),x(w,"'");let C="",F="";const H=J=>J!==ei&&J!==Te;for(;C=I(w,H);)C==="\\"?F+=W(w):F+=C;const j=w.currentChar();return j===Te||j===ot?(h(Z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),j===Te&&(w.next(),x(w,"'")),F):(x(w,"'"),F)}function W(w){const C=w.currentChar();switch(C){case"\\":case"'":return w.next(),`\\${C}`;case"u":return N(w,C,4);case"U":return N(w,C,6);default:return h(Z.UNKNOWN_ESCAPE_SEQUENCE,a(),0,C),""}}function N(w,C,F){x(w,C);let H="";for(let j=0;jj!=="{"&&j!=="}"&&j!==Ye&&j!==Te;for(;C=I(w,H);)F+=C;return F}function te(w){let C="",F="";for(;C=K(w);)F+=C;return F}function T(w){const C=(F=!1,H)=>{const j=w.currentChar();return j==="{"||j==="%"||j==="@"||j==="|"||j==="("||j===")"||!j||j===Ye?H:j===Te||j===Ad?(H+=j,w.next(),C(F,H)):(H+=j,w.next(),C(!0,H))};return C(!1,"")}function O(w){m(w);const C=x(w,"|");return m(w),C}function G(w,C){let F=null;switch(w.currentChar()){case"{":return C.braceNest>=1&&h(Z.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),w.next(),F=s(C,2,"{"),m(w),C.braceNest++,F;case"}":return C.braceNest>0&&C.currentType===2&&h(Z.EMPTY_PLACEHOLDER,a(),0),w.next(),F=s(C,3,"}"),C.braceNest--,C.braceNest>0&&m(w),C.inLinked&&C.braceNest===0&&(C.inLinked=!1),F;case"@":return C.braceNest>0&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F=z(w,C)||d(C),C.braceNest=0,F;default:let j=!0,J=!0,X=!0;if(S(w))return C.braceNest>0&&h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),F=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,F;if(C.braceNest>0&&(C.currentType===5||C.currentType===6||C.currentType===7))return h(Z.UNTERMINATED_CLOSING_BRACE,a(),0),C.braceNest=0,ie(w,C);if(j=v(w,C))return F=s(C,5,ae(w)),m(w),F;if(J=b(w,C))return F=s(C,6,L(w)),m(w),F;if(X=y(w,C))return F=s(C,7,U(w)),m(w),F;if(!j&&!J&&!X)return F=s(C,13,ue(w)),h(Z.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,F.value),m(w),F;break}return F}function z(w,C){const{currentType:F}=C;let H=null;const j=w.currentChar();switch((F===8||F===9||F===12||F===10)&&(j===Te||j===Ye)&&h(Z.INVALID_LINKED_FORMAT,a(),0),j){case"@":return w.next(),H=s(C,8,"@"),C.inLinked=!0,H;case".":return m(w),w.next(),s(C,9,".");case":":return m(w),w.next(),s(C,10,":");default:return S(w)?(H=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,H):_(w,C)||D(w,C)?(m(w),z(w,C)):A(w,C)?(m(w),s(C,12,te(w))):B(w,C)?(m(w),j==="{"?G(w,C)||H:s(C,11,T(w))):(F===8&&h(Z.INVALID_LINKED_FORMAT,a(),0),C.braceNest=0,C.inLinked=!1,ie(w,C))}}function ie(w,C){let F={type:14};if(C.braceNest>0)return G(w,C)||d(C);if(C.inLinked)return z(w,C)||d(C);switch(w.currentChar()){case"{":return G(w,C)||d(C);case"}":return h(Z.UNBALANCED_CLOSING_BRACE,a(),0),w.next(),s(C,3,"}");case"@":return z(w,C)||d(C);default:if(S(w))return F=s(C,1,O(w)),C.braceNest=0,C.inLinked=!1,F;const{isModulo:j,hasSpace:J}=P(w);if(j)return J?s(C,0,ce(w)):s(C,4,oe(w));if(k(w))return s(C,0,ce(w));break}return F}function ee(){const{currentType:w,offset:C,startLoc:F,endLoc:H}=f;return f.lastType=w,f.lastOffset=C,f.lastStartLoc=F,f.lastEndLoc=H,f.offset=o(),f.startLoc=a(),n.currentChar()===ot?s(f,14):ie(n,f)}return{nextToken:ee,currentOffset:o,currentPosition:a,context:c}}const Bd="parser",Fd=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Pd(e,t,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||r,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function kd(e={}){const t=e.location!==!1,{onError:r}=e;function n(E,g,v,b,...y){const _=E.currentPosition();if(_.offset+=b,_.column+=b,r){const A=t?qn(v,_):null,D=Lt(g,A,{domain:Bd,args:y});r(D)}}function o(E,g,v){const b={type:E};return t&&(b.start=g,b.end=g,b.loc={start:v,end:v}),b}function a(E,g,v,b){b&&(E.type=b),t&&(E.end=g,E.loc&&(E.loc.end=v))}function i(E,g){const v=E.context(),b=o(3,v.offset,v.startLoc);return b.value=g,a(b,E.currentOffset(),E.currentPosition()),b}function l(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(5,b,y);return _.index=parseInt(g,10),E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function f(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(4,b,y);return _.key=g,E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function c(E,g){const v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(9,b,y);return _.value=g.replace(Fd,Pd),E.nextToken(),a(_,E.currentOffset(),E.currentPosition()),_}function u(E){const g=E.nextToken(),v=E.context(),{lastOffset:b,lastStartLoc:y}=v,_=o(8,b,y);return g.type!==12?(n(E,Z.UNEXPECTED_EMPTY_LINKED_MODIFIER,v.lastStartLoc,0),_.value="",a(_,b,y),{nextConsumeToken:g,node:_}):(g.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Ge(g)),_.value=g.value||"",a(_,E.currentOffset(),E.currentPosition()),{node:_})}function h(E,g){const v=E.context(),b=o(7,v.offset,v.startLoc);return b.value=g,a(b,E.currentOffset(),E.currentPosition()),b}function s(E){const g=E.context(),v=o(6,g.offset,g.startLoc);let b=E.nextToken();if(b.type===9){const y=u(E);v.modifier=y.node,b=y.nextConsumeToken||E.nextToken()}switch(b.type!==10&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ge(b)),b=E.nextToken(),b.type===2&&(b=E.nextToken()),b.type){case 11:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ge(b)),v.key=h(E,b.value||"");break;case 5:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ge(b)),v.key=f(E,b.value||"");break;case 6:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ge(b)),v.key=l(E,b.value||"");break;case 7:b.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ge(b)),v.key=c(E,b.value||"");break;default:n(E,Z.UNEXPECTED_EMPTY_LINKED_KEY,g.lastStartLoc,0);const y=E.context(),_=o(7,y.offset,y.startLoc);return _.value="",a(_,y.offset,y.startLoc),v.key=_,a(v,y.offset,y.startLoc),{nextConsumeToken:b,node:v}}return a(v,E.currentOffset(),E.currentPosition()),{node:v}}function d(E){const g=E.context(),v=g.currentType===1?E.currentOffset():g.offset,b=g.currentType===1?g.endLoc:g.startLoc,y=o(2,v,b);y.items=[];let _=null;do{const B=_||E.nextToken();switch(_=null,B.type){case 0:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ge(B)),y.items.push(i(E,B.value||""));break;case 6:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ge(B)),y.items.push(l(E,B.value||""));break;case 5:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ge(B)),y.items.push(f(E,B.value||""));break;case 7:B.value==null&&n(E,Z.UNEXPECTED_LEXICAL_ANALYSIS,g.lastStartLoc,0,Ge(B)),y.items.push(c(E,B.value||""));break;case 8:const S=s(E);y.items.push(S.node),_=S.nextConsumeToken||null;break}}while(g.currentType!==14&&g.currentType!==1);const A=g.currentType===1?g.lastOffset:E.currentOffset(),D=g.currentType===1?g.lastEndLoc:E.currentPosition();return a(y,A,D),y}function x(E,g,v,b){const y=E.context();let _=b.items.length===0;const A=o(1,g,v);A.cases=[],A.cases.push(b);do{const D=d(E);_||(_=D.items.length===0),A.cases.push(D)}while(y.currentType!==14);return _&&n(E,Z.MUST_HAVE_MESSAGES_IN_PLURAL,v,0),a(A,E.currentOffset(),E.currentPosition()),A}function p(E){const g=E.context(),{offset:v,startLoc:b}=g,y=d(E);return g.currentType===14?y:x(E,v,b,y)}function m(E){const g=Dd(E,t0({},e)),v=g.context(),b=o(0,v.offset,v.startLoc);return t&&b.loc&&(b.loc.source=E),b.body=p(g),e.onCacheKey&&(b.cacheKey=e.onCacheKey(E)),v.currentType!==14&&n(g,Z.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,E[v.offset]||""),a(b,g.currentOffset(),g.currentPosition()),b}return{parse:m}}function Ge(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Td(e,t={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:a=>(r.helpers.add(a),a)}}function ti(e,t){for(let r=0;rri(r)),e}function ri(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let r=0;rl;function c(m,E){l.code+=m}function u(m,E=!0){const g=E?o:"";c(a?g+" ".repeat(m):g)}function h(m=!0){const E=++l.indentLevel;m&&u(E)}function s(m=!0){const E=--l.indentLevel;m&&u(E)}function d(){u(l.indentLevel)}return{context:f,push:c,indent:h,deindent:s,newline:d,helper:m=>`_${m}`,needIndent:()=>l.needIndent}}function Md(e,t){const{helper:r}=e;e.push(`${r("linked")}(`),Bt(e,t.key),t.modifier?(e.push(", "),Bt(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Ud(e,t){const{helper:r,needIndent:n}=e;e.push(`${r("normalize")}([`),e.indent(n());const o=t.items.length;for(let a=0;a1){e.push(`${r("plural")}([`),e.indent(n());const o=t.cases.length;for(let a=0;a{const r=Zo(t.mode)?t.mode:"normal",n=Zo(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,a=t.breakLineCode!=null?t.breakLineCode:r==="arrow"?";":` -`,i=t.needIndent?t.needIndent:r!=="arrow",l=e.helpers||[],f=Od(e,{mode:r,filename:n,sourceMap:o,breakLineCode:a,needIndent:i});f.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),f.indent(i),l.length>0&&(f.push(`const { ${r0(l.map(h=>`${h}: _${h}`),", ")} } = ctx`),f.newline()),f.push("return "),Bt(f,e),f.deindent(i),f.push("}"),delete e.helpers;const{code:c,map:u}=f.context();return{ast:e,code:c,map:u?u.toJSON():void 0}};function $d(e,t={}){const r=t0({},t),n=!!r.jit,o=!!r.minify,a=r.optimize==null?!0:r.optimize,l=kd(r).parse(e);return n?(a&&Ld(l),o&&_t(l),{ast:l,code:""}):(Id(l,r),jd(l,r))}/*! - * core-base v9.10.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */function Gd(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ze().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ze().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ze().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const xt=[];xt[0]={w:[0],i:[3,0],"[":[4],o:[7]};xt[1]={w:[1],".":[2],"[":[4],o:[7]};xt[2]={w:[2],i:[3,0],0:[3,0]};xt[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};xt[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};xt[5]={"'":[4,0],o:8,l:[5,0]};xt[6]={'"':[4,0],o:8,l:[6,0]};const Vd=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function qd(e){return Vd.test(e)}function zd(e){const t=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return t===r&&(t===34||t===39)?e.slice(1,-1):e}function Kd(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Yd(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:qd(t)?zd(t):"*"+t}function Xd(e){const t=[];let r=-1,n=0,o=0,a,i,l,f,c,u,h;const s=[];s[0]=()=>{i===void 0?i=l:i+=l},s[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},s[2]=()=>{s[0](),o++},s[3]=()=>{if(o>0)o--,n=4,s[0]();else{if(o=0,i===void 0||(i=Yd(i),i===!1))return!1;s[1]()}};function d(){const x=e[r+1];if(n===5&&x==="'"||n===6&&x==='"')return r++,l="\\"+x,s[0](),!0}for(;n!==null;)if(r++,a=e[r],!(a==="\\"&&d())){if(f=Kd(a),h=xt[n],c=h[f]||h.l||8,c===8||(n=c[0],c[1]!==void 0&&(u=s[c[1]],u&&(l=a,u()===!1))))return;if(n===7)return t}}const ni=new Map;function Qd(e,t){return xe(e)?e[t]:null}function Jd(e,t){if(!xe(e))return null;let r=ni.get(t);if(r||(r=Xd(t),r&&ni.set(t,r)),!r)return null;const n=r.length;let o=e,a=0;for(;ae,eh=e=>"",th="text",rh=e=>e.length===0?"":hd(e),nh=dd;function ai(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ah(e){const t=we(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(we(e.named.count)||we(e.named.n))?we(e.named.count)?e.named.count:we(e.named.n)?e.named.n:t:t}function oh(e,t){t.count||(t.count=e),t.n||(t.n=e)}function ih(e={}){const t=e.locale,r=ah(e),n=xe(e.pluralRules)&&V(t)&&ve(e.pluralRules[t])?e.pluralRules[t]:ai,o=xe(e.pluralRules)&&V(t)&&ve(e.pluralRules[t])?ai:void 0,a=E=>E[n(r,E.length,o)],i=e.list||[],l=E=>i[E],f=e.named||{};we(e.pluralIndex)&&oh(r,f);const c=E=>f[E];function u(E){const g=ve(e.messages)?e.messages(E):xe(e.messages)?e.messages[E]:!1;return g||(e.parent?e.parent.message(E):eh)}const h=E=>e.modifiers?e.modifiers[E]:Zd,s=ne(e.processor)&&ve(e.processor.normalize)?e.processor.normalize:rh,d=ne(e.processor)&&ve(e.processor.interpolate)?e.processor.interpolate:nh,x=ne(e.processor)&&V(e.processor.type)?e.processor.type:th,m={list:l,named:c,plural:a,linked:(E,...g)=>{const[v,b]=g;let y="text",_="";g.length===1?xe(v)?(_=v.modifier||_,y=v.type||y):V(v)&&(_=v||_):g.length===2&&(V(v)&&(_=v||_),V(b)&&(y=b||y));const A=u(E)(m),D=y==="vnode"&&Ee(A)&&_?A[0]:A;return _?h(_)(D,y):D},message:u,type:x,interpolate:d,normalize:s,values:Pe({},i,f)};return m}let Yt=null;function sh(e){Yt=e}function ch(e,t,r){Yt&&Yt.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:r})}const lh=uh("function:translate");function uh(e){return t=>Yt&&Yt.emit(e,t)}const fh={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},n0=Z.__EXTEND_POINT__,pt=wa(n0),je={INVALID_ARGUMENT:n0,INVALID_DATE_ARGUMENT:pt(),INVALID_ISO_DATE_ARGUMENT:pt(),NOT_SUPPORT_NON_STRING_MESSAGE:pt(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:pt(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:pt(),NOT_SUPPORT_LOCALE_TYPE:pt(),__EXTEND_POINT__:pt()};function qe(e){return Lt(e,null,void 0)}function Sa(e,t){return t.locale!=null?oi(t.locale):oi(e.locale)}let An;function oi(e){if(V(e))return e;if(ve(e)){if(e.resolvedOnce&&An!=null)return An;if(e.constructor.name==="Function"){const t=e();if(fd(t))throw qe(je.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return An=t}else throw qe(je.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw qe(je.NOT_SUPPORT_LOCALE_TYPE)}function dh(e,t,r){return[...new Set([r,...Ee(t)?t:xe(t)?Object.keys(t):V(t)?[t]:[r]])]}function a0(e,t,r){const n=V(r)?r:Ft,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let a=o.__localeChainCache.get(n);if(!a){a=[];let i=[r];for(;Ee(i);)i=ii(a,i,t);const l=Ee(t)||!ne(t)?t:t.default?t.default:null;i=V(l)?[l]:l,Ee(i)&&ii(a,i,!1),o.__localeChainCache.set(n,a)}return a}function ii(e,t,r){let n=!0;for(let o=0;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function mh(){return{upper:(e,t)=>t==="text"&&V(e)?e.toUpperCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&V(e)?e.toLowerCase():t==="vnode"&&xe(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&V(e)?ci(e):t==="vnode"&&xe(e)&&"__v_isVNode"in e?ci(e.children):e}}let o0;function li(e){o0=e}let i0;function gh(e){i0=e}let s0;function vh(e){s0=e}let c0=null;const Eh=e=>{c0=e},bh=()=>c0;let l0=null;const ui=e=>{l0=e},Ch=()=>l0;let fi=0;function _h(e={}){const t=ve(e.onWarn)?e.onWarn:xd,r=V(e.version)?e.version:ph,n=V(e.locale)||ve(e.locale)?e.locale:Ft,o=ve(n)?Ft:n,a=Ee(e.fallbackLocale)||ne(e.fallbackLocale)||V(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=ne(e.messages)?e.messages:{[o]:{}},l=ne(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},f=ne(e.numberFormats)?e.numberFormats:{[o]:{}},c=Pe({},e.modifiers||{},mh()),u=e.pluralRules||{},h=ve(e.missing)?e.missing:null,s=le(e.missingWarn)||ft(e.missingWarn)?e.missingWarn:!0,d=le(e.fallbackWarn)||ft(e.fallbackWarn)?e.fallbackWarn:!0,x=!!e.fallbackFormat,p=!!e.unresolving,m=ve(e.postTranslation)?e.postTranslation:null,E=ne(e.processor)?e.processor:null,g=le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=ve(e.messageCompiler)?e.messageCompiler:o0,y=ve(e.messageResolver)?e.messageResolver:i0||Qd,_=ve(e.localeFallbacker)?e.localeFallbacker:s0||dh,A=xe(e.fallbackContext)?e.fallbackContext:void 0,D=e,B=xe(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,S=xe(D.__numberFormatters)?D.__numberFormatters:new Map,P=xe(D.__meta)?D.__meta:{};fi++;const k={version:r,cid:fi,locale:n,fallbackLocale:a,messages:i,modifiers:c,pluralRules:u,missing:h,missingWarn:s,fallbackWarn:d,fallbackFormat:x,unresolving:p,postTranslation:m,processor:E,warnHtmlMessage:g,escapeParameter:v,messageCompiler:b,messageResolver:y,localeFallbacker:_,fallbackContext:A,onWarn:t,__meta:P};return k.datetimeFormats=l,k.numberFormats=f,k.__datetimeFormatters=B,k.__numberFormatters=S,__INTLIFY_PROD_DEVTOOLS__&&ch(k,r,P),k}function Da(e,t,r,n,o){const{missing:a,onWarn:i}=e;if(a!==null){const l=a(e,r,t,o);return V(l)?l:t}else return t}function Ot(e,t,r){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,r,t)}function Sn(e){return r=>yh(r,e)}function yh(e,t){const r=t.b||t.body;if((r.t||r.type)===1){const n=r,o=n.c||n.cases;return e.plural(o.reduce((a,i)=>[...a,di(e,i)],[]))}else return di(e,r)}function di(e,t){const r=t.s||t.static;if(r)return e.type==="text"?r:e.normalize([r]);{const n=(t.i||t.items).reduce((o,a)=>[...o,zn(e,a)],[]);return e.normalize(n)}}function zn(e,t){const r=t.t||t.type;switch(r){case 3:const n=t;return n.v||n.value;case 9:const o=t;return o.v||o.value;case 4:const a=t;return e.interpolate(e.named(a.k||a.key));case 5:const i=t;return e.interpolate(e.list(i.i!=null?i.i:i.index));case 6:const l=t,f=l.m||l.modifier;return e.linked(zn(e,l.k||l.key),f?zn(e,f):void 0,e.type);case 7:const c=t;return c.v||c.value;case 8:const u=t;return u.v||u.value;default:throw new Error(`unhandled node type on format message part: ${r}`)}}const u0=e=>e;let At=Object.create(null);const Pt=e=>xe(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e);function f0(e,t={}){let r=!1;const n=t.onError||bd;return t.onError=o=>{r=!0,n(o)},{...$d(e,t),detectError:r}}const wh=(e,t)=>{if(!V(e))throw qe(je.NOT_SUPPORT_NON_STRING_MESSAGE);{le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||u0)(e),o=At[n];if(o)return o;const{code:a,detectError:i}=f0(e,t),l=new Function(`return ${a}`)();return i?l:At[n]=l}};function Ah(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&V(e)){le(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||u0)(e),o=At[n];if(o)return o;const{ast:a,detectError:i}=f0(e,{...t,location:!1,jit:!0}),l=Sn(a);return i?l:At[n]=l}else{const r=e.cacheKey;if(r){const n=At[r];return n||(At[r]=Sn(e))}else return Sn(e)}}const hi=()=>"",Me=e=>ve(e);function xi(e,...t){const{fallbackFormat:r,postTranslation:n,unresolving:o,messageCompiler:a,fallbackLocale:i,messages:l}=e,[f,c]=Kn(...t),u=le(c.missingWarn)?c.missingWarn:e.missingWarn,h=le(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,s=le(c.escapeParameter)?c.escapeParameter:e.escapeParameter,d=!!c.resolvedMessage,x=V(c.default)||le(c.default)?le(c.default)?a?f:()=>f:c.default:r?a?f:()=>f:"",p=r||x!=="",m=Sa(e,c);s&&Sh(c);let[E,g,v]=d?[f,m,l[m]||{}]:d0(e,f,m,i,h,u),b=E,y=f;if(!d&&!(V(b)||Pt(b)||Me(b))&&p&&(b=x,y=b),!d&&(!(V(b)||Pt(b)||Me(b))||!V(g)))return o?Br:f;let _=!1;const A=()=>{_=!0},D=Me(b)?b:h0(e,f,g,b,y,A);if(_)return b;const B=Fh(e,g,v,c),S=ih(B),P=Dh(e,D,S),k=n?n(P,f):P;if(__INTLIFY_PROD_DEVTOOLS__){const I={timestamp:Date.now(),key:V(f)?f:Me(b)?b.key:"",locale:g||(Me(b)?b.locale:""),format:V(b)?b:Me(b)?b.source:"",message:k};I.meta=Pe({},e.__meta,bh()||{}),lh(I)}return k}function Sh(e){Ee(e.list)?e.list=e.list.map(t=>V(t)?Jo(t):t):xe(e.named)&&Object.keys(e.named).forEach(t=>{V(e.named[t])&&(e.named[t]=Jo(e.named[t]))})}function d0(e,t,r,n,o,a){const{messages:i,onWarn:l,messageResolver:f,localeFallbacker:c}=e,u=c(e,n,r);let h={},s,d=null;const x="translate";for(let p=0;pn;return c.locale=r,c.key=t,c}const f=i(n,Bh(e,r,o,n,l,a));return f.locale=r,f.key=t,f.source=n,f}function Dh(e,t,r){return t(r)}function Kn(...e){const[t,r,n]=e,o={};if(!V(t)&&!we(t)&&!Me(t)&&!Pt(t))throw qe(je.INVALID_ARGUMENT);const a=we(t)?String(t):(Me(t),t);return we(r)?o.plural=r:V(r)?o.default=r:ne(r)&&!Dr(r)?o.named=r:Ee(r)&&(o.list=r),we(n)?o.plural=n:V(n)?o.default=n:ne(n)&&Pe(o,n),[a,o]}function Bh(e,t,r,n,o,a){return{locale:t,key:r,warnHtmlMessage:o,onError:i=>{throw a&&a(i),i},onCacheKey:i=>sd(t,r,i)}}function Fh(e,t,r,n){const{modifiers:o,pluralRules:a,messageResolver:i,fallbackLocale:l,fallbackWarn:f,missingWarn:c,fallbackContext:u}=e,s={locale:t,modifiers:o,pluralRules:a,messages:d=>{let x=i(r,d);if(x==null&&u){const[,,p]=d0(u,d,t,l,f,c);x=i(p,d)}if(V(x)||Pt(x)){let p=!1;const E=h0(e,d,t,x,d,()=>{p=!0});return p?hi:E}else return Me(x)?x:hi}};return e.processor&&(s.processor=e.processor),n.list&&(s.list=n.list),n.named&&(s.named=n.named),we(n.plural)&&(s.pluralIndex=n.plural),s}function pi(e,...t){const{datetimeFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__datetimeFormatters:l}=e,[f,c,u,h]=Yn(...t),s=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,x=Sa(e,u),p=i(e,o,x);if(!V(f)||f==="")return new Intl.DateTimeFormat(x,h).format(c);let m={},E,g=null;const v="datetime format";for(let _=0;_{x0.includes(f)?i[f]=r[f]:a[f]=r[f]}),V(n)?a.locale=n:ne(n)&&(i=n),ne(o)&&(i=o),[a.key||"",l,a,i]}function mi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__datetimeFormatters.has(a)&&n.__datetimeFormatters.delete(a)}}function gi(e,...t){const{numberFormats:r,unresolving:n,fallbackLocale:o,onWarn:a,localeFallbacker:i}=e,{__numberFormatters:l}=e,[f,c,u,h]=Xn(...t),s=le(u.missingWarn)?u.missingWarn:e.missingWarn;le(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const d=!!u.part,x=Sa(e,u),p=i(e,o,x);if(!V(f)||f==="")return new Intl.NumberFormat(x,h).format(c);let m={},E,g=null;const v="number format";for(let _=0;_{p0.includes(f)?i[f]=r[f]:a[f]=r[f]}),V(n)?a.locale=n:ne(n)&&(i=n),ne(o)&&(i=o),[a.key||"",l,a,i]}function vi(e,t,r){const n=e;for(const o in r){const a=`${t}__${o}`;n.__numberFormatters.has(a)&&n.__numberFormatters.delete(a)}}Gd();/*! - * vue-i18n v9.10.1 - * (c) 2024 kazuya kawaguchi - * Released under the MIT License. - */const Ph="9.10.1";function kh(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Ze().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Ze().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Ze().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Ze().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Ze().__INTLIFY_PROD_DEVTOOLS__=!1)}const m0=fh.__EXTEND_POINT__,Xe=wa(m0);Xe(),Xe(),Xe(),Xe(),Xe(),Xe(),Xe(),Xe(),Xe();const g0=je.__EXTEND_POINT__,Le=wa(g0),Ae={UNEXPECTED_RETURN_TYPE:g0,INVALID_ARGUMENT:Le(),MUST_BE_CALL_SETUP_TOP:Le(),NOT_INSTALLED:Le(),NOT_AVAILABLE_IN_LEGACY_MODE:Le(),REQUIRED_VALUE:Le(),INVALID_VALUE:Le(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Le(),NOT_INSTALLED_WITH_PROVIDE:Le(),UNEXPECTED_ERROR:Le(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Le(),BRIDGE_SUPPORT_VUE_2_ONLY:Le(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Le(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Le(),__EXTEND_POINT__:Le()};function De(e,...t){return Lt(e,null,void 0)}const Qn=ht("__translateVNode"),Jn=ht("__datetimeParts"),Zn=ht("__numberParts"),v0=ht("__setPluralRules"),E0=ht("__injectWithOption"),ea=ht("__dispose");function Xt(e){if(!xe(e))return e;for(const t in e)if(pr(e,t))if(!t.includes("."))xe(e[t])&&Xt(e[t]);else{const r=t.split("."),n=r.length-1;let o=e,a=!1;for(let i=0;i{if("locale"in l&&"resource"in l){const{locale:f,resource:c}=l;f?(i[f]=i[f]||{},ur(c,i[f])):ur(c,i)}else V(l)&&ur(JSON.parse(l),i)}),o==null&&a)for(const l in i)pr(i,l)&&Xt(i[l]);return i}function b0(e){return e.type}function C0(e,t,r){let n=xe(t.messages)?t.messages:{};"__i18nGlobal"in r&&(n=Fr(e.locale.value,{messages:n,__i18n:r.__i18nGlobal}));const o=Object.keys(n);o.length&&o.forEach(a=>{e.mergeLocaleMessage(a,n[a])});{if(xe(t.datetimeFormats)){const a=Object.keys(t.datetimeFormats);a.length&&a.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(xe(t.numberFormats)){const a=Object.keys(t.numberFormats);a.length&&a.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ei(e){return ut(tc,null,e,0)}const bi="__INTLIFY_META__",Ci=()=>[],Th=()=>!1;let _i=0;function yi(e){return(t,r,n,o)=>e(r,n,Gt()||void 0,o)}const Ih=()=>{const e=Gt();let t=null;return e&&(t=b0(e)[bi])?{[bi]:t}:null};function Ba(e={},t){const{__root:r,__injectWithOption:n}=e,o=r===void 0,a=e.flatJson,i=xr?Je:sa,l=!!e.translateExistCompatible;let f=le(e.inheritLocale)?e.inheritLocale:!0;const c=i(r&&f?r.locale.value:V(e.locale)?e.locale:Ft),u=i(r&&f?r.fallbackLocale.value:V(e.fallbackLocale)||Ee(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),h=i(Fr(c.value,e)),s=i(ne(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),d=i(ne(e.numberFormats)?e.numberFormats:{[c.value]:{}});let x=r?r.missingWarn:le(e.missingWarn)||ft(e.missingWarn)?e.missingWarn:!0,p=r?r.fallbackWarn:le(e.fallbackWarn)||ft(e.fallbackWarn)?e.fallbackWarn:!0,m=r?r.fallbackRoot:le(e.fallbackRoot)?e.fallbackRoot:!0,E=!!e.fallbackFormat,g=ve(e.missing)?e.missing:null,v=ve(e.missing)?yi(e.missing):null,b=ve(e.postTranslation)?e.postTranslation:null,y=r?r.warnHtmlMessage:le(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter;const A=r?r.modifiers:ne(e.modifiers)?e.modifiers:{};let D=e.pluralRules||r&&r.pluralRules,B;B=(()=>{o&&ui(null);const R={version:Ph,locale:c.value,fallbackLocale:u.value,messages:h.value,modifiers:A,pluralRules:D,missing:v===null?void 0:v,missingWarn:x,fallbackWarn:p,fallbackFormat:E,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:y,escapeParameter:_,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};R.datetimeFormats=s.value,R.numberFormats=d.value,R.__datetimeFormatters=ne(B)?B.__datetimeFormatters:void 0,R.__numberFormatters=ne(B)?B.__numberFormatters:void 0;const $=_h(R);return o&&ui($),$})(),Ot(B,c.value,u.value);function P(){return[c.value,u.value,h.value,s.value,d.value]}const k=ge({get:()=>c.value,set:R=>{c.value=R,B.locale=c.value}}),I=ge({get:()=>u.value,set:R=>{u.value=R,B.fallbackLocale=u.value,Ot(B,c.value,R)}}),K=ge(()=>h.value),Y=ge(()=>s.value),q=ge(()=>d.value);function se(){return ve(b)?b:null}function oe(R){b=R,B.postTranslation=R}function ce(){return g}function ae(R){R!==null&&(v=yi(R)),g=R,B.missing=v}const L=(R,$,pe,Ce,He,We)=>{P();let Oe;try{__INTLIFY_PROD_DEVTOOLS__,o||(B.fallbackContext=r?Ch():void 0),Oe=R(B)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(B.fallbackContext=void 0)}if(pe!=="translate exists"&&we(Oe)&&Oe===Br||pe==="translate exists"&&!Oe){const[Tr,Ir]=$();return r&&m?Ce(r):He(Tr)}else{if(We(Oe))return Oe;throw De(Ae.UNEXPECTED_RETURN_TYPE)}};function U(...R){return L($=>Reflect.apply(xi,null,[$,...R]),()=>Kn(...R),"translate",$=>Reflect.apply($.t,$,[...R]),$=>$,$=>V($))}function W(...R){const[$,pe,Ce]=R;if(Ce&&!xe(Ce))throw De(Ae.INVALID_ARGUMENT);return U($,pe,Pe({resolvedMessage:!0},Ce||{}))}function N(...R){return L($=>Reflect.apply(pi,null,[$,...R]),()=>Yn(...R),"datetime format",$=>Reflect.apply($.d,$,[...R]),()=>si,$=>V($))}function ue(...R){return L($=>Reflect.apply(gi,null,[$,...R]),()=>Xn(...R),"number format",$=>Reflect.apply($.n,$,[...R]),()=>si,$=>V($))}function te(R){return R.map($=>V($)||we($)||le($)?Ei(String($)):$)}const O={normalize:te,interpolate:R=>R,type:"vnode"};function G(...R){return L($=>{let pe;const Ce=$;try{Ce.processor=O,pe=Reflect.apply(xi,null,[Ce,...R])}finally{Ce.processor=null}return pe},()=>Kn(...R),"translate",$=>$[Qn](...R),$=>[Ei($)],$=>Ee($))}function z(...R){return L($=>Reflect.apply(gi,null,[$,...R]),()=>Xn(...R),"number format",$=>$[Zn](...R),Ci,$=>V($)||Ee($))}function ie(...R){return L($=>Reflect.apply(pi,null,[$,...R]),()=>Yn(...R),"datetime format",$=>$[Jn](...R),Ci,$=>V($)||Ee($))}function ee(R){D=R,B.pluralRules=D}function w(R,$){return L(()=>{if(!R)return!1;const pe=V($)?$:c.value,Ce=H(pe),He=B.messageResolver(Ce,R);return l?He!=null:Pt(He)||Me(He)||V(He)},()=>[R],"translate exists",pe=>Reflect.apply(pe.te,pe,[R,$]),Th,pe=>le(pe))}function C(R){let $=null;const pe=a0(B,u.value,c.value);for(let Ce=0;Ce{f&&(c.value=R,B.locale=R,Ot(B,c.value,u.value))}),St(r.fallbackLocale,R=>{f&&(u.value=R,B.fallbackLocale=R,Ot(B,c.value,u.value))}));const be={id:_i,locale:k,fallbackLocale:I,get inheritLocale(){return f},set inheritLocale(R){f=R,R&&r&&(c.value=r.locale.value,u.value=r.fallbackLocale.value,Ot(B,c.value,u.value))},get availableLocales(){return Object.keys(h.value).sort()},messages:K,get modifiers(){return A},get pluralRules(){return D||{}},get isGlobal(){return o},get missingWarn(){return x},set missingWarn(R){x=R,B.missingWarn=x},get fallbackWarn(){return p},set fallbackWarn(R){p=R,B.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(R){m=R},get fallbackFormat(){return E},set fallbackFormat(R){E=R,B.fallbackFormat=E},get warnHtmlMessage(){return y},set warnHtmlMessage(R){y=R,B.warnHtmlMessage=R},get escapeParameter(){return _},set escapeParameter(R){_=R,B.escapeParameter=R},t:U,getLocaleMessage:H,setLocaleMessage:j,mergeLocaleMessage:J,getPostTranslationHandler:se,setPostTranslationHandler:oe,getMissingHandler:ce,setMissingHandler:ae,[v0]:ee};return be.datetimeFormats=Y,be.numberFormats=q,be.rt=W,be.te=w,be.tm=F,be.d=N,be.n=ue,be.getDateTimeFormat=X,be.setDateTimeFormat=Q,be.mergeDateTimeFormat=_e,be.getNumberFormat=he,be.setNumberFormat=ke,be.mergeNumberFormat=Ke,be[E0]=n,be[Qn]=G,be[Jn]=ie,be[Zn]=z,be}function Lh(e){const t=V(e.locale)?e.locale:Ft,r=V(e.fallbackLocale)||Ee(e.fallbackLocale)||ne(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=ve(e.missing)?e.missing:void 0,o=le(e.silentTranslationWarn)||ft(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=le(e.silentFallbackWarn)||ft(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=le(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,f=ne(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=ve(e.postTranslation)?e.postTranslation:void 0,h=V(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,s=!!e.escapeParameterHtml,d=le(e.sync)?e.sync:!0;let x=e.messages;if(ne(e.sharedMessages)){const _=e.sharedMessages;x=Object.keys(_).reduce((D,B)=>{const S=D[B]||(D[B]={});return Pe(S,_[B]),D},x||{})}const{__i18n:p,__root:m,__injectWithOption:E}=e,g=e.datetimeFormats,v=e.numberFormats,b=e.flatJson,y=e.translateExistCompatible;return{locale:t,fallbackLocale:r,messages:x,flatJson:b,datetimeFormats:g,numberFormats:v,missing:n,missingWarn:o,fallbackWarn:a,fallbackRoot:i,fallbackFormat:l,modifiers:f,pluralRules:c,postTranslation:u,warnHtmlMessage:h,escapeParameter:s,messageResolver:e.messageResolver,inheritLocale:d,translateExistCompatible:y,__i18n:p,__root:m,__injectWithOption:E}}function ta(e={},t){{const r=Ba(Lh(e)),{__extender:n}=e,o={id:r.id,get locale(){return r.locale.value},set locale(a){r.locale.value=a},get fallbackLocale(){return r.fallbackLocale.value},set fallbackLocale(a){r.fallbackLocale.value=a},get messages(){return r.messages.value},get datetimeFormats(){return r.datetimeFormats.value},get numberFormats(){return r.numberFormats.value},get availableLocales(){return r.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return r.getMissingHandler()},set missing(a){r.setMissingHandler(a)},get silentTranslationWarn(){return le(r.missingWarn)?!r.missingWarn:r.missingWarn},set silentTranslationWarn(a){r.missingWarn=le(a)?!a:a},get silentFallbackWarn(){return le(r.fallbackWarn)?!r.fallbackWarn:r.fallbackWarn},set silentFallbackWarn(a){r.fallbackWarn=le(a)?!a:a},get modifiers(){return r.modifiers},get formatFallbackMessages(){return r.fallbackFormat},set formatFallbackMessages(a){r.fallbackFormat=a},get postTranslation(){return r.getPostTranslationHandler()},set postTranslation(a){r.setPostTranslationHandler(a)},get sync(){return r.inheritLocale},set sync(a){r.inheritLocale=a},get warnHtmlInMessage(){return r.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){r.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return r.escapeParameter},set escapeParameterHtml(a){r.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return r.pluralRules||{}},__composer:r,t(...a){const[i,l,f]=a,c={};let u=null,h=null;if(!V(i))throw De(Ae.INVALID_ARGUMENT);const s=i;return V(l)?c.locale=l:Ee(l)?u=l:ne(l)&&(h=l),Ee(f)?u=f:ne(f)&&(h=f),Reflect.apply(r.t,r,[s,u||h||{},c])},rt(...a){return Reflect.apply(r.rt,r,[...a])},tc(...a){const[i,l,f]=a,c={plural:1};let u=null,h=null;if(!V(i))throw De(Ae.INVALID_ARGUMENT);const s=i;return V(l)?c.locale=l:we(l)?c.plural=l:Ee(l)?u=l:ne(l)&&(h=l),V(f)?c.locale=f:Ee(f)?u=f:ne(f)&&(h=f),Reflect.apply(r.t,r,[s,u||h||{},c])},te(a,i){return r.te(a,i)},tm(a){return r.tm(a)},getLocaleMessage(a){return r.getLocaleMessage(a)},setLocaleMessage(a,i){r.setLocaleMessage(a,i)},mergeLocaleMessage(a,i){r.mergeLocaleMessage(a,i)},d(...a){return Reflect.apply(r.d,r,[...a])},getDateTimeFormat(a){return r.getDateTimeFormat(a)},setDateTimeFormat(a,i){r.setDateTimeFormat(a,i)},mergeDateTimeFormat(a,i){r.mergeDateTimeFormat(a,i)},n(...a){return Reflect.apply(r.n,r,[...a])},getNumberFormat(a){return r.getNumberFormat(a)},setNumberFormat(a,i){r.setNumberFormat(a,i)},mergeNumberFormat(a,i){r.mergeNumberFormat(a,i)},getChoiceIndex(a,i){return-1}};return o.__extender=n,o}}const Fa={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Rh({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,o)=>[...n,...o.type===es?o.children:[o]],[]):t.reduce((r,n)=>{const o=e[n];return o&&(r[n]=o()),r},{})}function _0(e){return es}const Nh=tt({name:"i18n-t",props:Pe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>we(e)||!isNaN(e)}},Fa),setup(e,t){const{slots:r,attrs:n}=t,o=e.i18n||Pa({useScope:e.scope,__useComponent:!0});return()=>{const a=Object.keys(r).filter(h=>h!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=V(e.plural)?+e.plural:e.plural);const l=Rh(t,a),f=o[Qn](e.keypath,l,i),c=Pe({},n),u=V(e.tag)||xe(e.tag)?e.tag:_0();return mt(u,c,f)}}}),wi=Nh;function Oh(e){return Ee(e)&&!V(e[0])}function y0(e,t,r,n){const{slots:o,attrs:a}=t;return()=>{const i={part:!0};let l={};e.locale&&(i.locale=e.locale),V(e.format)?i.key=e.format:xe(e.format)&&(V(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((s,d)=>r.includes(d)?Pe({},s,{[d]:e.format[d]}):s,{}));const f=n(e.value,i,l);let c=[i.key];Ee(f)?c=f.map((s,d)=>{const x=o[s.type],p=x?x({[s.type]:s.value,index:d,parts:f}):[s.value];return Oh(p)&&(p[0].key=`${s.type}-${d}`),p}):V(f)&&(c=[f]);const u=Pe({},a),h=V(e.tag)||xe(e.tag)?e.tag:_0();return mt(h,u,c)}}const Mh=tt({name:"i18n-n",props:Pe({value:{type:Number,required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const r=e.i18n||Pa({useScope:"parent",__useComponent:!0});return y0(e,t,p0,(...n)=>r[Zn](...n))}}),Ai=Mh,Uh=tt({name:"i18n-d",props:Pe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fa),setup(e,t){const r=e.i18n||Pa({useScope:"parent",__useComponent:!0});return y0(e,t,x0,(...n)=>r[Jn](...n))}}),Si=Uh;function Hh(e,t){const r=e;if(e.mode==="composition")return r.__getInstance(t)||e.global;{const n=r.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function Wh(e){const t=i=>{const{instance:l,modifiers:f,value:c}=i;if(!l||!l.$)throw De(Ae.UNEXPECTED_ERROR);const u=Hh(e,l.$),h=Di(c);return[Reflect.apply(u.t,u,[...Bi(h)]),u]};return{created:(i,l)=>{const[f,c]=t(l);xr&&e.global===c&&(i.__i18nWatcher=St(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=f},unmounted:i=>{xr&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const f=i.__composer,c=Di(l);i.textContent=Reflect.apply(f.t,f,[...Bi(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function Di(e){if(V(e))return{path:e};if(ne(e)){if(!("path"in e))throw De(Ae.REQUIRED_VALUE,"path");return e}else throw De(Ae.INVALID_VALUE)}function Bi(e){const{path:t,locale:r,args:n,choice:o,plural:a}=e,i={},l=n||{};return V(r)&&(i.locale=r),we(o)&&(i.plural=o),we(a)&&(i.plural=a),[t,l,i]}function jh(e,t,...r){const n=ne(r[0])?r[0]:{},o=!!n.useI18nComponentName;(le(n.globalInstall)?n.globalInstall:!0)&&([o?"i18n":wi.name,"I18nT"].forEach(i=>e.component(i,wi)),[Ai.name,"I18nN"].forEach(i=>e.component(i,Ai)),[Si.name,"I18nD"].forEach(i=>e.component(i,Si))),e.directive("t",Wh(t))}function $h(e,t,r){return{beforeCreate(){const n=Gt();if(!n)throw De(Ae.UNEXPECTED_ERROR);const o=this.$options;if(o.i18n){const a=o.i18n;if(o.__i18n&&(a.__i18n=o.__i18n),a.__root=t,this===this.$root)this.$i18n=Fi(e,a);else{a.__injectWithOption=!0,a.__extender=r.__vueI18nExtend,this.$i18n=ta(a);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(o.__i18n)if(this===this.$root)this.$i18n=Fi(e,o);else{this.$i18n=ta({__i18n:o.__i18n,__injectWithOption:!0,__extender:r.__vueI18nExtend,__root:t});const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}else this.$i18n=e;o.__i18nGlobal&&C0(t,o,o),this.$t=(...a)=>this.$i18n.t(...a),this.$rt=(...a)=>this.$i18n.rt(...a),this.$tc=(...a)=>this.$i18n.tc(...a),this.$te=(a,i)=>this.$i18n.te(a,i),this.$d=(...a)=>this.$i18n.d(...a),this.$n=(...a)=>this.$i18n.n(...a),this.$tm=a=>this.$i18n.tm(a),r.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=Gt();if(!n)throw De(Ae.UNEXPECTED_ERROR);const o=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,o.__disposer&&(o.__disposer(),delete o.__disposer,delete o.__extender),r.__deleteInstance(n),delete this.$i18n}}}function Fi(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[v0](t.pluralizationRules||e.pluralizationRules);const r=Fr(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(r).forEach(n=>e.mergeLocaleMessage(n,r[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const Gh=ht("global-vue-i18n");function Vh(e={},t){const r=__VUE_I18N_LEGACY_API__&&le(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=le(e.globalInjection)?e.globalInjection:!0,o=__VUE_I18N_LEGACY_API__&&r?!!e.allowComposition:!0,a=new Map,[i,l]=qh(e,r),f=ht("");function c(s){return a.get(s)||null}function u(s,d){a.set(s,d)}function h(s){a.delete(s)}{const s={get mode(){return __VUE_I18N_LEGACY_API__&&r?"legacy":"composition"},get allowComposition(){return o},async install(d,...x){if(d.__VUE_I18N_SYMBOL__=f,d.provide(d.__VUE_I18N_SYMBOL__,s),ne(x[0])){const E=x[0];s.__composerExtend=E.__composerExtend,s.__vueI18nExtend=E.__vueI18nExtend}let p=null;!r&&n&&(p=tx(d,s.global)),__VUE_I18N_FULL_INSTALL__&&jh(d,s,...x),__VUE_I18N_LEGACY_API__&&r&&d.mixin($h(l,l.__composer,s));const m=d.unmount;d.unmount=()=>{p&&p(),s.dispose(),m()}},get global(){return l},dispose(){i.stop()},__instances:a,__getInstance:c,__setInstance:u,__deleteInstance:h};return s}}function Pa(e={}){const t=Gt();if(t==null)throw De(Ae.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw De(Ae.NOT_INSTALLED);const r=zh(t),n=Yh(r),o=b0(t),a=Kh(e,o);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw De(Ae.NOT_AVAILABLE_IN_LEGACY_MODE);return Zh(t,a,n,e)}if(a==="global")return C0(n,e,o),n;if(a==="parent"){let f=Xh(r,t,e.__useComponent);return f==null&&(f=n),f}const i=r;let l=i.__getInstance(t);if(l==null){const f=Pe({},e);"__i18n"in o&&(f.__i18n=o.__i18n),n&&(f.__root=n),l=Ba(f),i.__composerExtend&&(l[ea]=i.__composerExtend(l)),Jh(i,t,l),i.__setInstance(t,l)}return l}function qh(e,t,r){const n=ia();{const o=__VUE_I18N_LEGACY_API__&&t?n.run(()=>ta(e)):n.run(()=>Ba(e));if(o==null)throw De(Ae.UNEXPECTED_ERROR);return[n,o]}}function zh(e){{const t=rt(e.isCE?Gh:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw De(e.isCE?Ae.NOT_INSTALLED_WITH_PROVIDE:Ae.UNEXPECTED_ERROR);return t}}function Kh(e,t){return Dr(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Yh(e){return e.mode==="composition"?e.global:e.global.__composer}function Xh(e,t,r=!1){let n=null;const o=t.root;let a=Qh(t,r);for(;a!=null;){const i=e;if(e.mode==="composition")n=i.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(a);l!=null&&(n=l.__composer,r&&n&&!n[E0]&&(n=null))}if(n!=null||o===a)break;a=a.parent}return n}function Qh(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function Jh(e,t,r){Zi(()=>{},t),Z0(()=>{const n=r;e.__deleteInstance(t);const o=n[ea];o&&(o(),delete n[ea])},t)}function Zh(e,t,r,n={}){const o=t==="local",a=sa(null);if(o&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw De(Ae.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=le(n.inheritLocale)?n.inheritLocale:!V(n.locale),l=Je(!o||i?r.locale.value:V(n.locale)?n.locale:Ft),f=Je(!o||i?r.fallbackLocale.value:V(n.fallbackLocale)||Ee(n.fallbackLocale)||ne(n.fallbackLocale)||n.fallbackLocale===!1?n.fallbackLocale:l.value),c=Je(Fr(l.value,n)),u=Je(ne(n.datetimeFormats)?n.datetimeFormats:{[l.value]:{}}),h=Je(ne(n.numberFormats)?n.numberFormats:{[l.value]:{}}),s=o?r.missingWarn:le(n.missingWarn)||ft(n.missingWarn)?n.missingWarn:!0,d=o?r.fallbackWarn:le(n.fallbackWarn)||ft(n.fallbackWarn)?n.fallbackWarn:!0,x=o?r.fallbackRoot:le(n.fallbackRoot)?n.fallbackRoot:!0,p=!!n.fallbackFormat,m=ve(n.missing)?n.missing:null,E=ve(n.postTranslation)?n.postTranslation:null,g=o?r.warnHtmlMessage:le(n.warnHtmlMessage)?n.warnHtmlMessage:!0,v=!!n.escapeParameter,b=o?r.modifiers:ne(n.modifiers)?n.modifiers:{},y=n.pluralRules||o&&r.pluralRules;function _(){return[l.value,f.value,c.value,u.value,h.value]}const A=ge({get:()=>a.value?a.value.locale.value:l.value,set:C=>{a.value&&(a.value.locale.value=C),l.value=C}}),D=ge({get:()=>a.value?a.value.fallbackLocale.value:f.value,set:C=>{a.value&&(a.value.fallbackLocale.value=C),f.value=C}}),B=ge(()=>a.value?a.value.messages.value:c.value),S=ge(()=>u.value),P=ge(()=>h.value);function k(){return a.value?a.value.getPostTranslationHandler():E}function I(C){a.value&&a.value.setPostTranslationHandler(C)}function K(){return a.value?a.value.getMissingHandler():m}function Y(C){a.value&&a.value.setMissingHandler(C)}function q(C){return _(),C()}function se(...C){return a.value?q(()=>Reflect.apply(a.value.t,null,[...C])):q(()=>"")}function oe(...C){return a.value?Reflect.apply(a.value.rt,null,[...C]):""}function ce(...C){return a.value?q(()=>Reflect.apply(a.value.d,null,[...C])):q(()=>"")}function ae(...C){return a.value?q(()=>Reflect.apply(a.value.n,null,[...C])):q(()=>"")}function L(C){return a.value?a.value.tm(C):{}}function U(C,F){return a.value?a.value.te(C,F):!1}function W(C){return a.value?a.value.getLocaleMessage(C):{}}function N(C,F){a.value&&(a.value.setLocaleMessage(C,F),c.value[C]=F)}function ue(C,F){a.value&&a.value.mergeLocaleMessage(C,F)}function te(C){return a.value?a.value.getDateTimeFormat(C):{}}function T(C,F){a.value&&(a.value.setDateTimeFormat(C,F),u.value[C]=F)}function O(C,F){a.value&&a.value.mergeDateTimeFormat(C,F)}function G(C){return a.value?a.value.getNumberFormat(C):{}}function z(C,F){a.value&&(a.value.setNumberFormat(C,F),h.value[C]=F)}function ie(C,F){a.value&&a.value.mergeNumberFormat(C,F)}const ee={get id(){return a.value?a.value.id:-1},locale:A,fallbackLocale:D,messages:B,datetimeFormats:S,numberFormats:P,get inheritLocale(){return a.value?a.value.inheritLocale:i},set inheritLocale(C){a.value&&(a.value.inheritLocale=C)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(c.value)},get modifiers(){return a.value?a.value.modifiers:b},get pluralRules(){return a.value?a.value.pluralRules:y},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:s},set missingWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackWarn(){return a.value?a.value.fallbackWarn:d},set fallbackWarn(C){a.value&&(a.value.missingWarn=C)},get fallbackRoot(){return a.value?a.value.fallbackRoot:x},set fallbackRoot(C){a.value&&(a.value.fallbackRoot=C)},get fallbackFormat(){return a.value?a.value.fallbackFormat:p},set fallbackFormat(C){a.value&&(a.value.fallbackFormat=C)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:g},set warnHtmlMessage(C){a.value&&(a.value.warnHtmlMessage=C)},get escapeParameter(){return a.value?a.value.escapeParameter:v},set escapeParameter(C){a.value&&(a.value.escapeParameter=C)},t:se,getPostTranslationHandler:k,setPostTranslationHandler:I,getMissingHandler:K,setMissingHandler:Y,rt:oe,d:ce,n:ae,tm:L,te:U,getLocaleMessage:W,setLocaleMessage:N,mergeLocaleMessage:ue,getDateTimeFormat:te,setDateTimeFormat:T,mergeDateTimeFormat:O,getNumberFormat:G,setNumberFormat:z,mergeNumberFormat:ie};function w(C){C.locale.value=l.value,C.fallbackLocale.value=f.value,Object.keys(c.value).forEach(F=>{C.mergeLocaleMessage(F,c.value[F])}),Object.keys(u.value).forEach(F=>{C.mergeDateTimeFormat(F,u.value[F])}),Object.keys(h.value).forEach(F=>{C.mergeNumberFormat(F,h.value[F])}),C.escapeParameter=v,C.fallbackFormat=p,C.fallbackRoot=x,C.fallbackWarn=d,C.missingWarn=s,C.warnHtmlMessage=g}return ec(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw De(Ae.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const C=a.value=e.proxy.$i18n.__composer;t==="global"?(l.value=C.locale.value,f.value=C.fallbackLocale.value,c.value=C.messages.value,u.value=C.datetimeFormats.value,h.value=C.numberFormats.value):o&&w(C)}),ee}const ex=["locale","fallbackLocale","availableLocales"],Pi=["t","rt","d","n","tm","te"];function tx(e,t){const r=Object.create(null);return ex.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a)throw De(Ae.UNEXPECTED_ERROR);const i=$t(a.value)?{get(){return a.value.value},set(l){a.value.value=l}}:{get(){return a.get&&a.get()}};Object.defineProperty(r,o,i)}),e.config.globalProperties.$i18n=r,Pi.forEach(o=>{const a=Object.getOwnPropertyDescriptor(t,o);if(!a||!a.value)throw De(Ae.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,a)}),()=>{delete e.config.globalProperties.$i18n,Pi.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}kh();__INTLIFY_JIT_COMPILATION__?li(Ah):li(wh);gh(Jd);vh(a0);if(__INTLIFY_PROD_DEVTOOLS__){const e=Ze();e.__INTLIFY__=!0,sh(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const rx="en",nx={add:"Add",addSuccess:"Add Success",edit:"Edit",editSuccess:"Edit Success",delete:"Delete",deleteSuccess:"Delete Success",save:"Save",saveSuccess:"Save Success",reset:"Reset",action:"Action",export:"Export",exportSuccess:"Export Success",import:"Import",importSuccess:"Import Success",clear:"Clear",clearSuccess:"Clear Success",yes:"Yes",no:"No",update:"Update",download:"Download",noData:"No Data",wrong:"Something went wrong, please try again later.",success:"Success",failed:"Failed",verify:"Verify",unauthorizedTips:"Unauthorized, please verify first.",confirm:"Confirm",cancel:"Cancel"},ax={newChatButton:"New Chat",placeholder:"Ask me anything...(Shift + Enter = line break)",placeholderMobile:"Ask me anything...",copy:"Copy",copied:"Copied",copyCode:"Copy Code",clearChat:"Clear Chat",clearChatConfirm:"Are you sure to clear this chat?",exportImage:"Export Image",exportImageConfirm:"Are you sure to export this chat to png?",exportSuccess:"Export Success",exportFailed:"Export Failed",usingContext:"Context Mode",turnOnContext:"In the current mode, sending messages will carry previous chat records.",turnOffContext:"In the current mode, sending messages will not carry previous chat records.",deleteMessage:"Delete Message",deleteMessageConfirm:"Are you sure to delete this message?",deleteHistoryConfirm:"Are you sure to clear this history?",clearHistoryConfirm:"Are you sure to clear chat history?",preview:"Preview",showRawText:"Show as raw text",size:"Size:",generatedContentDisclaimer:"AI can make mistakes. Consider checking important information. All rights reserved ©",square1:"Square [1:1]",illustration:"Illustration [4:3]",wallpaper:"Wallpaper [16:9]",media:"Media [3:4]",poster:"Poster [9:16]",square:"Square",landscape:"Landscape",portrait:"Portrait",chatDialogue:"Chat Dialogue",startNewConversationPrompt:"Click the button below to start a new conversation",newConversation:"New Conversation",networkModeEnabledContextInvalid:"Network mode enabled, context invalidated!",networkModeDisabled:"Network mode disabled!",pointsMall:"Points Mall",toggleTheme:"Toggle Theme",signInReward:"Sign-In Reward",networkMode:"Network Mode",searchHistoryConversations:"Search History Conversations",announcement:"Announcement",clear:"Clear",remaining:"",ordinaryPoints:"Ordinary Points",advancedPoints:"Advanced Points",drawingPoints:"Drawing Points",points:"Points",clearConversation:"Clear Conversation",clearAllNonFavoriteConversations:"Clear all non-favorite conversations?",more:"More",collapse:"Collapse",myApps:"My Apps",appSquare:"App Square",favorites:"Favorites",todayConversations:"Today",Conversations:"",historyConversations:"History",favoriteConversations:"Favorite",unfavorite:"Unfavorite",rename:"Rename",deleteConversation:"Delete",me:"You",onlineSearch:"Online Search",mindMap:"Mind Map",fileAnalysis:"File Analysis",delete:"Delete",regenerate:"Regenerate",pause:"Pause",loading:"Loading...",readAloud:"Read Aloud",U1:"🔍 U1",U2:"🔍 U2",U3:"🔍 U3",U4:"🔍 U4",V1:"🪄 V1",V2:"🪄 V2",V3:"🪄 V3",V4:"🪄 V4",panLeft:"⬅️ Pan Left",panRight:"➡️ Pan Right",panUp:"⬆️ Pan Up",panDown:"⬇️ Pan Down",zoomIn15x:"↔️ Zoom 1.5x",zoomIn2x:"↔️ Zoom 2x",minorTransform:"Vary(Subtle)",strongTransform:"Vary(Strong)",enlargeImage:"Enlarge image {order}",transformImage:"Transform image {order}",expandDrawing:"Expand drawing",advancedTransform:"Advanced transform",translateImage:"Translate image",enlargeImagePrefix:"Enlarge image ",enlargeImageSuffix:"",transformImagePrefix:"Transform image ",transformImageSuffix:"",imageToImage:"Image to Image",faceConsistency:"Face Consistency",styleConsistency:"Style Consistency",selectAppOrTopic:"Select an application or topic for quick conversation"},ox={sampleTemplate:"Sample Template",exploreInfinitePossibilities:"Explore infinite possibilities, create a smart future with AI",searchAppNameQuickFind:"Search app names, quick find applications...",allCategories:"All Categories",noModelConfigured:"No specific application model has been configured by the administrator, please contact them to set it up~"},ix={setting:"Setting",general:"General",advanced:"Advanced",config:"Config",avatarLink:"Avatar Link",name:"Name",description:"Description",role:"Role",resetUserInfo:"Reset UserInfo",chatHistory:"ChatHistory",theme:"Theme",language:"Language",api:"API",reverseProxy:"Reverse Proxy",timeout:"Timeout",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API Balance",sign:"Signature"},sx={siderButton:"Prompt Store",local:"Local",online:"Online",title:"Title",description:"Description",clearStoreConfirm:"Whether to clear the data?",importPlaceholder:"Please paste the JSON data here",addRepeatTitleTips:"Title duplicate, please re-enter",addRepeatContentTips:"Content duplicate: {msg}, please re-enter",editRepeatTitleTips:"Title conflict, please revise",editRepeatContentTips:"Content conflict {msg} , please re-modify",importError:"Key value mismatch",importRepeatTitle:"Title repeatedly skipped: {msg}",importRepeatContent:"Content is repeatedly skipped: {msg}",onlineImportWarning:"Note: Please check the JSON file source!",downloadError:"Please check the network status and JSON file validity"},cx={use:"Use",download:"Download",delete:"Delete",zoom:"Zoom:",U1:"U1",U2:"U2",U3:"U3",U4:"U4",regenerateOnce:"Regenerate",transform:"Transform:",V1:"V1",V2:"V2",V3:"V3",V4:"V4",pan:"Pan:",panLeft:"⬅️",panRight:"➡️",panUp:"⬆️",panDown:"⬇️",transformZoom:"Zoom Transform",zoom1_5x:"Zoom 1.5x",zoom2x:"Zoom 2x",minorTransform:"Minor Transform",strongTransform:"Strong Transform",regionalRedraw:"Regional Redraw",regionalRedraw1:"Regional Redraw (Select the Area to Change)",submitTask:"Submit Task",selectSuiteForZoom:"Action: Select a suite to zoom",selectSuiteForTransform:"Action: Select a suite for transformation",regeneratingImage:"Action: Regenerating the image",drawingInProgress:"Action: Rapid drawing in progress...",tryDifferentPrompt:"Execute: Try a different prompt!",statusWaiting:"Waiting",statusDrawing:"Drawing",statusSuccess:"Success",statusFailure:"Failure",statusTimeout:"Timeout",downloadImageTitle:"Download Image",downloadImageContent:"Download the current image",downloadButtonText:"Download",cancelButtonText:"Cancel",deleteRecordTitle:"Delete Record",deleteRecordContent:"Delete the current drawing record?",deleteButtonText:"Delete",submitZoomDrawingSuccess:"Zoom drawing task submitted successfully, please wait for it to finish!",submitRedrawSuccess:"Redraw task submitted successfully, please wait for it to finish!",submitTransformDrawingSuccess:"Transform drawing task submitted successfully, please wait for it to finish!",submitEnlargeDrawingSuccess:"Enlarge drawing task submitted successfully, please wait for it to finish!",submitAdvancedTransformDrawingSuccess:"Advanced transform drawing task submitted successfully, please wait for it to finish!",submitRegionalRedrawSuccess:"Regional redraw task submitted successfully, please wait for it to finish!",drawingRecordDeleted:"Drawing record has been deleted!",queueing:"Queueing...",drawing:"Drawing...",storing:"Storing image...",drawingFailed:"Drawing Failed",pointsRefunded:"Points Refunded!",submitDrawingTaskSuccess:"Drawing task submitted successfully, please wait for it to finish!",defaultStyle:"Default Style",expressiveStyle:"Expressive Style",cuteStyle:"Cute Style",scenicStyle:"Scenic Style",standardQuality:"Standard",generalQuality:"General",highDefinitionQuality:"High Definition",ultraHighDefinitionQuality:"Ultra High Definition",enterDescription:"Please enter descriptive words!",optimizationFailed:"Optimization failed!",professionalDrawing:"Professional Drawing",parameterExplanation:"Parameter Explanation: Generate image size ratio",imageSize:"Image Size",modelSelection:"Model Selection",tooltipMJ:"MJ: General-purpose realistic model",tooltipNIJI:"NIJI: Anime style, suitable for 2D models",version:"Version",style:"Style",parameters:"Parameters",parametersTooltip:"Use parameters wisely to achieve more ideal results!",quality:"Quality",chaos:"Chaos",chaosDescription:"Value range: 0-100, --chaos or --c",chaosExplanation:"Chaos level, can be understood as the space for AI to think outside the box",chaosAdvice:"The smaller the value, the more reliable, with the default of 0 being the most precise",stylization:"Stylization",stylizationDescription:"Stylization: --stylize or --s, range 1-1000",parameterExplanation1:"Parameter explanation: The higher the number, the richer and more artistic the visual presentation",setting:"Setting",carryParameters:"Carry Parameters",autoCarryParameters:"Whether to automatically carry parameters",carryOn:"On: Carries the parameters we have configured",carryOff:"Off: Uses the parameters we customize in the command",imageToImage:"Image to Image",clickOrDrag:"Click or drag an image here to use as input",supportFormats:"Supports PNG and JPG formats",remainingPoints:"Remaining Points",refresh:"Refresh",accountInfo:"Account Information",points:"Points",paintingSingleUse:"Painting:",imageGenerationSingleUse:"Generation:",enlargementSingleUse:"Enlargement:",submitDrawingTask:"Enter keywords, submit drawing task",optimize:"Optimize",enterDrawingKeywords:"Enter drawing keywords. For example: A colorful cat, cute, cartoon",unnecessaryElements:"Unnecessary Elements",exclusionPrompt:"Example: Generate a room image, but exclude the bed, you can fill in 'bed'!",workingContents:"Working Contents",currentTasks:"Current tasks in progress",goToAIDrawingSquare:"Click to go to the AI Drawing Square",tasksInProgress:"tasks are currently in progress. Please wait patiently for the drawing to complete. You can visit other pages and return later to see the results!",myDrawings:"My Drawings",aiDrawingSquare:"AI Drawing Square",sizeAdjustment:"Size Adjustment",keywordSearchPlaceholder:"Prompt Keyword Search"},lx={membershipMarket:"Membership Market",sizeAdjustment:"Size Adjustment",memberPackage:"Limited Time Member Package",permanentAddOnCard:"Permanent Add-On Card",baseModelQuota:"Base Model Quota",advancedModelQuota:"Advanced Model Quota",MJDrawingQuota:"MJ Drawing Quota",packageValidity:"Package Validity",days:"days",permanent:"Permanent",points:"Points",welcomeTipMobile:"Explore freely, welcome to our online store!",welcomeTipDesktop:"Explore freely, welcome to our online store, thank you for choosing us, let's start a delightful shopping journey together!",paymentNotEnabled:"Payment has not been enabled by the admin!",purchaseSuccess:"Purchase successful, enjoy your product!",paymentNotComplete:"You have not completed the payment yet!",wechat:"WeChat",alipay:"Alipay",wechatPay:"WeChat Pay",alipayPay:"Alipay Pay",paymentSuccess:"Congratulations, your payment was successful. Enjoy your purchase!",paymentTimeout:"Payment timeout, please place your order again!",productPayment:"Product Payment",amountDue:"Amount Due:",packageName:"Package Name:",packageDescription:"Package Description:",siteAdminEnabledRedirect:"The site administrator has enabled redirect payment",clickToPay:"Click to Proceed to Payment",completePaymentWithin:"Please complete the payment within",timeToCompletePayment:"!",open:"Open",scanToPay:"Scan to Pay"},ux={title:"Mind Map",yourNeeds:"Your Needs?",inputPlaceholder:"Please enter a brief description of the content you want to generate, AI will produce a complete markdown content and its mind map for you!",generateMindMapButton:"Generate Mind Map",contentRequirements:"Content Requirements",tryDemoButton:"Try a Demo",usageCredits:"Base credits per use: 1",exportHTML:"Export HTML",exportPNG:"Export PNG",exportSVG:"Export SVG"},fx={defaultSignature:"I am an AI robot based on deep learning and natural language processing technologies, aimed at providing users with efficient, accurate, and personalized intelligent services.",syncComplete:"Data synchronization completed",personalCenter:"Personal Center",logOut:"Log Out",myUsageRecord:"My Usage Record on This Site",basicModelCredits:"Basic Model Credits:",advancedModelCredits:"Advanced Model Credits:",basicModelUsage:"Basic Model Usage:",advancedModelUsage:"Advanced Model Usage:",drawingUsageCredits:"Drawing Usage Credits:",bindWeChat:"Bind WeChat:",clickToBindWeChat:"Click to Bind WeChat",weChatBound:"WeChat Bound",syncVisitorData:"Click to Sync Visitor Data",points:"Points",membershipExpiration:"Membership Expiration Date:",editInfoDescription:"Edit personal information, view more details",myDetails:"My Details",myWallet:"My Wallet",basicInfo:"Basic Information",userBasicSettings:"User Basic Settings",avatarPlaceholder:"Please enter your avatar URL",usernamePlaceholder:"Edit your username",signaturePlaceholder:"Edit your signature",passwordManagement:"Password Management",inviteBenefits:"Invite for Benefits",clickToLogin:"Log In",notLoggedIn:"Not Logged In",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",inviteTime:"Invite Time",rewardStatus:"Reward Status",certified:"Certified",notActivated:"Not Activated",rewardReceived:"Reward Received",waitingConfirmation:"Waiting for Confirmation",linkGeneratedSuccess:"Invitation link generated successfully",generateLinkFirst:"Please generate your exclusive invitation link first!",linkCopiedSuccess:"Exclusive invitation link copied successfully!",copyNotSupported:"Automatic copying is not supported on this device, please copy manually!",inviteForBenefits:"Invite Users, Earn Benefits!",myInviteCode:"My Invitation Code",generateInviteCode:"Generate Exclusive Invite Code",copyInviteLink:"Copy Exclusive Invite Link",inviteOneUser:"Inviting a user grants",basicModelCredits1:"basic model credits+",advancedModelCredits1:"advanced model credits+",mjDrawingCredits:"MJ drawing credits",receiveInvitation:"Invited users receive",creditsEnd:"credits",invitationRecord:"Invitation Record",passwordMinLength:"The minimum password length is 6 characters",passwordMaxLength:"The maximum password length is 30 characters",enterPassword:"Please enter a password",reenterPassword:"Please re-enter your password",passwordsNotMatch:"The passwords do not match",passwordUpdateSuccess:"Password updated successfully, please log in again!",changeYourPassword:"Change Your Password",oldPassword:"Old Password",newPassword:"New Password",confirmPassword:"Confirm Password",reloginAfterPasswordChange:"You will need to log in again after updating your password!",updateYourPassword:"Update Your Password",passwordRequirements:"Password Requirements",newPasswordInstructions:"To create a new password, you must meet all the following requirements:",minimumCharacters:"At least 6 characters",maximumCharacters:"No more than 30 characters",requireNumber:"Must contain at least one number",orderNumber:"Order Number",rechargeType:"Recharge Type",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",mjDrawingQuota:"MJ Drawing Quota",validity:"Validity",rechargeTime:"Recharge Time",enterCardSecret:"Please enter the card secret first!",cardRedeemSuccess:"Card redeemed successfully, enjoy your use!",userWalletBalance:"User Wallet Balance",basicModelBalance:"Basic Model Balance",creditUsageNote:"Each conversation consumes different credits depending on the model!",advancedModelBalance:"Advanced Model Balance",modelConsumptionNote:"Each conversation consumes different credits depending on the model!",mjDrawingBalance:"MJ Drawing Balance",drawingConsumptionNote:"Different credits are consumed based on drawing actions!",cardRecharge:"Card Recharge",enterCardDetails:"Please paste or enter your card details!",exchange:"Exchange",buyCardSecret:"Buy Card Secret",rechargeRecords:"Recharge Records",packagePurchase:"Package Purchase",buyPackage:"Buy Package"},dx={signInReward:"Sign-in Reward",themeSwitch:"Theme Switch",personalCenter:"Personal Center",loginAccount:"Log In Account"},hx={doNotRemind24h:"Do not remind again for 24 hours"},xx={enterUsername:"Please enter your username",usernameLength:"Username must be between 2 and 30 characters",enterPassword:"Please enter your password",passwordLength:"Password must be between 6 and 30 characters",enterEmail:"Please enter your email address",emailValid:"Please enter a valid email address",enterCaptcha:"Please enter the captcha",emailPhone:"Email / Phone",email:"Email",phone:"Phone",registrationSuccess:"Account registration successful, start your experience!",loginSuccess:"Account login successful, start your experience!",registerTitle:"Register",enterContact:"Please provide your ",enterCode:"Please enter the verification code",sendVerificationCode:"Send Verification Code",optionalInvitationCode:"Invitation Code [Optional]",registerAccount:"Register Account",alreadyHaveAccount:"Already have an account?",goToLogin:"Go to Login",password:"Password",enterYourPassword:"Please enter your password",rememberAccount:"Remember account",forgotPassword:"Forgot password?",loginAccount:"Log In Account",noAccount:"Don’t have an account?",register:"Register",orUse:"or use",scanLogin:"Scan to Log In",wechatLogin:"WeChat Login",wechatScanFailed:"Failed WeChat QR code login? Use",useWechatScan:"Use WeChat to Scan and Log In"},px={orderAmount:"Order Amount",productType:"Product Type",status:"Status",commissionRate:"Commission Rate",commission:"Commission",orderTime:"Order Time",purchasePackage:"Purchase Package",accounted:"Accounted",generateInviteCodeSuccess:"Invitation code generated successfully",withdrawalTime:"Withdrawal Time",withdrawalAmount:"Withdrawal Amount",withdrawalChannel:"Withdrawal Channel",withdrawalStatus:"Withdrawal Status",withdrawalRemarks:"Withdrawal Remarks",auditor:"Auditor",alipay:"Alipay",wechat:"WeChat",paid:"Paid",rejected:"Rejected",inReview:"In Review",avatar:"Avatar",username:"Username",email:"Email",inviteeStatus:"Invitee Status",registered:"Registered",pendingActivation:"Pending Activation",registrationTime:"Registration Time",lastLogin:"Last Login",requestInviteCodeFirst:"Please request your invitation code first",linkCopiedSuccess:"Share link copied successfully",title:"Referral Program",description:"Join us and share in success! Welcome to our distribution page, become our partner and create a bright future together!",defaultSalesOutletName:"Rookie Referral Officer",myReferrals:"My Referrals",currencyUnit:"Yuan",remainingAmount:"Remaining Withdrawable Amount",withdrawingAmount:"Amount in Withdrawal",withdrawNow:"Withdraw Now",minimumWithdrawalPrefix:"Minimum",minimumWithdrawalSuffix:"Yuan Withdrawable",purchaseOrderCount:"Purchase Order Count",promotionLinkVisits:"Promotion Link Visits",registeredUsers:"Registered Users",referralEarnings:"Referral Earnings",referralEarningsDescription:"Commission amount returned after referred users register and buy products",percentage:"Percentage",applyForAdvancedAgent:"Apply to Become an Advanced Agent",contactAdminForAdvancedAgent:"Contact the site owner to apply for an advanced agent to enjoy high commissions",joinAsPartner:"Join Us as a Partner",partnerDescription:"Join us as a partner to co-operate the community, win-win cooperation!",winTogether:"Win Together, Advance Together",referralLink:"Referral Link:",apply:"Apply",referralRecordsTab:"Referral Records",withdrawalRecordsTab:"Withdrawal Records",registeredUsersTab:"Registered Users",inviteFriends:"Invite friends, gift meal cards, and enjoy recharge commissions!",inviteLink:"Invite Link",copy:"Copy",inviteBenefits1:"Both parties enjoy a certain amount of permanent card rewards when inviting friends.",inviteBenefits2Prefix:"Earn a ",inviteBenefits2Suffix:"% commission on your friend's recharge amount.",enterWithdrawalAmount:"Please enter your withdrawal amount!",selectWithdrawalChannel:"Please select your withdrawal channel!",enterContactInfo:"Please provide your contact information and remark!",optionalRemark:"If there are any special circumstances, please remark!",withdrawalSuccess:"Withdrawal application successful, please wait for approval!",withdrawalApplicationForm:"Withdrawal Application Form",contactInformation:"Contact Information",withdrawalRemark:"Withdrawal Remark",enterWithdrawalRemark:"Please enter your withdrawal remarks",applyWithdrawal:"Apply for Withdrawal"},mx={purchaseSuccess:"Purchase successful, enjoy your item!",paymentNotSuccessful:"You have not completed the payment yet!",orderConfirmationTitle:"Order Confirmation",orderConfirmationContent:"Welcome to purchase, are you sure you want to buy ",thinkAgain:"Let me think again",confirmPurchase:"Confirm Purchase",paymentNotEnabled:"Payment has not been enabled by the administrator!",selectProducts:"Select Products",basicModelQuota:"Basic Model Quota",advancedModelQuota:"Advanced Model Quota",drawingQuota:"Drawing Quota",buyPackage:"Buy Package"},gx={1:"Registration Bonus",2:"Invitation Bonus",3:"Referring Others Bonus",4:"Purchase via Card Code",5:"Admin Bonus",6:"QR Code Purchase",7:"MJ Drawing Failure Refund",8:"Sign-in Reward"},vx={0:"Not Paid",1:"Paid",2:"Payment Failed",3:"Payment Timeout"},Ex={logoutSuccess:"Successfully logged out!"},bx={language:rx,common:nx,chat:ax,app:ox,setting:ix,store:sx,draw:cx,pay:lx,mindmap:ux,usercenter:fx,siderBar:dx,notice:hx,login:xx,share:px,goods:mx,rechargeTypes:gx,orderStatus:vx,messages:Ex},Cx="中文",_x={add:"添加",addSuccess:"添加成功",edit:"编辑",editSuccess:"编辑成功",delete:"删除",deleteSuccess:"删除成功",update:"修改",saveSuccess:"保存成功",updateUserSuccess:"修改用户信息成功",reset:"重置",action:"操作",export:"导出",exportSuccess:"导出成功",import:"导入",importSuccess:"导入成功",clear:"清空",clearSuccess:"清空成功",yes:"是",no:"否",download:"下载",noData:"暂无数据",wrong:"好像出错了,请稍后再试。",success:"操作成功",failed:"操作失败",verify:"验证",unauthorizedTips:"未经授权,请先进行验证。",confirm:"确认",cancel:"取消"},yx={newChatButton:"新建聊天",placeholder:"来说点什么吧...(Shift + Enter = 换行)",placeholderMobile:"来说点什么...",copy:"复制",copied:"复制成功",copyCode:"复制代码",clearChat:"清空会话",clearChatConfirm:"是否清空会话?",exportImage:"保存会话到图片",exportImageConfirm:"是否将会话保存为图片?",exportSuccess:"保存成功",exportFailed:"保存失败",deleteMessage:"删除消息",deleteMessageConfirm:"删除此条对话?",deleteHistoryConfirm:"确定删除此记录?",deleteSuccess:"删除成功",clearHistoryConfirm:"确定清空聊天记录?",preview:"预览",showRawText:"显示原文",size:"尺寸:",generatedContentDisclaimer:"AI 生成内容仅供参考,不代表本平台立场。版权所有 ©",square1:"方形(1:1)",illustration:"配图(4:3)",wallpaper:"壁纸(16:9)",media:"媒体(3:4)",poster:"海报(9:16)",square:"方形",landscape:"宽屏",portrait:"垂直",chatDialogue:"对话聊天",startNewConversationPrompt:"点击下方按钮,开始一个新的对话吧",newConversation:"新对话",networkModeEnabledContextInvalid:"已开启联网模式、上下文状态失效!",networkModeDisabled:"已关闭联网模式!",pointsMall:"积分商城",toggleTheme:"切换主题",signInReward:"签到奖励",networkMode:"联网模式",searchHistoryConversations:"搜索历史对话",announcement:"网站公告",clear:"清空对话",remaining:"剩余:",ordinaryPoints:"普通积分",advancedPoints:"高级积分",drawingPoints:"绘画积分",points:"积分",clearConversation:"清空对话",clearAllNonFavoriteConversations:"清空所有非收藏的对话?",more:"更多",collapse:"折叠",myApps:"我的应用",appSquare:"应用广场",favorites:"收藏",todayConversations:"今日对话",historyConversations:"历史对话",favoriteConversations:"收藏对话",unfavorite:"取消收藏",rename:"重命名",deleteConversation:"删除对话",me:"我",onlineSearch:"联网搜索",mindMap:"思维导图",fileAnalysis:"文件",delete:"删除",regenerate:"重新生成",pause:"暂停",loading:"加载中...",readAloud:"朗读",U1:"🔍 放大左上",U2:"🔍 放大右上",U3:"🔍 放大左下",U4:"🔍 放大右下",V1:"🪄 变换左上",V2:"🪄 变换右上",V3:"🪄 变换左下",V4:"🪄 变换右下",panLeft:"⬅️ 向左平移",panRight:"➡️ 向右平移",panUp:"⬆️ 向上平移",panDown:"⬇️ 向下平移",zoomIn15x:"↔️ 扩图1.5倍",zoomIn2x:"↔️ 扩图2倍",minorTransform:"🖌️ 微变换",strongTransform:"🖌️ 强变换",enlargeImagePrefix:"放大第",enlargeImageSuffix:"张图片",transformImagePrefix:"变换第",transformImageSuffix:"张图片",expandDrawing:"扩图绘制",advancedTransform:"高级变换",translateImage:"平移图片",imageToImage:"以图生图",faceConsistency:"人脸一致",styleConsistency:"风格一致",selectAppOrTopic:"选择应用或话题快速对话"},Ax={sampleTemplate:"示例模板",exploreInfinitePossibilities:"探索无限可能,与 AI 一同开创智慧未来",searchAppNameQuickFind:"搜索应用名称、快速查找应用...",allCategories:"全部分类",noModelConfigured:"管理员未配置特定应用模型、请联系管理员配置~"},Sx={setting:"设置",general:"总览",advanced:"高级",personalInfo:"个人信息",avatarLink:"头像链接",name:"用户名称",sign:"用户签名",role:"角色设定",resetUserInfo:"重置用户信息",chatHistory:"聊天记录",theme:"主题",language:"语言",api:"API",reverseProxy:"反向代理",timeout:"超时",socks:"Socks",httpsProxy:"HTTPS Proxy",balance:"API余额"},Dx={siderButton:"提示词商店",local:"本地",online:"在线",title:"标题",description:"描述",clearStoreConfirm:"是否清空数据?",importPlaceholder:"请粘贴 JSON 数据到此处",addRepeatTitleTips:"标题重复,请重新输入",addRepeatContentTips:"内容重复:{msg},请重新输入",editRepeatTitleTips:"标题冲突,请重新修改",editRepeatContentTips:"内容冲突{msg} ,请重新修改",importError:"键值不匹配",importRepeatTitle:"标题重复跳过:{msg}",importRepeatContent:"内容重复跳过:{msg}",onlineImportWarning:"注意:请检查 JSON 文件来源!",downloadError:"请检查网络状态与 JSON 文件有效性"},Bx={use:"使用",download:"下载",delete:"删除",zoom:"放大:",U1:"左上",U2:"右上",U3:"左下",U4:"右下",regenerateOnce:"重新生成一次",transform:"变换:",V1:"左上",V2:"右上",V3:"左下",V4:"右下",pan:"平移:",panLeft:"向左",panRight:"向右",panUp:"向上",panDown:"向下",transformZoom:"扩图变换:",zoom1_5x:"扩图1.5倍",zoom2x:"扩图2倍",minorTransform:"微变换",strongTransform:"强变换",regionalRedraw:"区域重绘",regionalRedraw1:"区域重绘(框选要改变的区域)",submitTask:"提交任务",selectSuiteForZoom:"操作:选中套图进行放大",selectSuiteForTransform:"操作:选中套图进行变换",regeneratingImage:"操作:正在对图片重新生成一次",drawingInProgress:"操作:正在火速绘制中...",tryDifferentPrompt:"执行:换个提示词重新试试吧!",statusWaiting:"等待中",statusDrawing:"绘制中",statusSuccess:"成功",statusFailure:"失败",statusTimeout:"超时",downloadImageTitle:"下载图片",downloadImageContent:"下载当前图片",downloadButtonText:"下载",cancelButtonText:"取消",deleteRecordTitle:"删除记录",deleteRecordContent:"删除当前绘制记录?",deleteButtonText:"删除",submitZoomDrawingSuccess:"提交放大绘制任务成功、请等待绘制结束!",submitRedrawSuccess:"提交重新绘制任务成功、请等待绘制结束!",submitTransformDrawingSuccess:"提交变换绘制任务成功、请等待绘制结束!",submitEnlargeDrawingSuccess:"提交扩图任务成功、请等待绘制结束!",submitAdvancedTransformDrawingSuccess:"提交高级变换绘制任务成功、请等待绘制结束!",submitRegionalRedrawSuccess:"提交区域重绘任务成功、请等待绘制结束!",drawingRecordDeleted:"绘制记录已删除!",queueing:"排队中...",drawing:"正在绘制...",storing:"图片存储中...",drawingFailed:"绘制失败",pointsRefunded:"积分已退还!",submitDrawingTaskSuccess:"提交绘制任务成功、请等待绘制结束!",defaultStyle:"默认风格",expressiveStyle:"表现力风格",cuteStyle:"可爱风格",scenicStyle:"景观风格",standardQuality:"普通",generalQuality:"一般",highDefinitionQuality:"高清",ultraHighDefinitionQuality:"超高清",enterDescription:"请输入描述词!",optimizationFailed:"优化失败了!",professionalDrawing:"专业绘图",parameterExplanation:"参数释义:生成图片尺寸比例",imageSize:"图片尺寸",modelSelection:"模型选择",tooltipMJ:"MJ: 偏真实通用模型",tooltipNIJI:"NIJI: 偏动漫风格、适用于二次元模型",version:"版本",style:"风格",parameters:"参数",parametersTooltip:"合理使用参数绘制更为理想的结果!",quality:"品质",chaos:"混乱",chaosDescription:"取值范围:0-100、 --chaos 或 --c",chaosExplanation:"混乱级别,可以理解为让AI天马行空的空间",chaosAdvice:"值越小越可靠、默认0最为精准",stylization:"风格化",stylizationDescription:"风格化:--stylize 或 --s,范围 1-1000",parameterExplanation1:"参数释义:数值越高,画面表现也会更具丰富性和艺术性",setting:"设定",carryParameters:"携带参数",autoCarryParameters:"是否自动携带参数",carryOn:"打开:携带上述我们配置的参数",carryOff:"关闭:使用指令中的我们自定义的参数",imageToImage:"以图生图",clickOrDrag:"点击或拖拽一个图片到这里作为输入",supportFormats:"支持PNG和JPG格式",remainingPoints:"剩余积分",refresh:"刷新",accountInfo:"账户信息",points:"积分",paintingSingleUse:"绘画单次消耗:",imageGenerationSingleUse:"图生图单次消耗:",enlargementSingleUse:"放大单次消耗:",submitDrawingTask:"输入关键词,提交绘制任务",optimize:"优化",enterDrawingKeywords:"输入绘图关键词。例如:一只五颜六色的猫,可爱,卡通",unnecessaryElements:"不需要的元素",exclusionPrompt:"例:生成房间图片、但是不要床、你可以填bed!",workingContents:"工作中的内容",currentTasks:"当前系统进行中任务",goToAIDrawingSquare:"点击前往 AI 绘画广场",tasksInProgress:"个任务正在进行中、请耐心等候绘制完成、您可以前往其他页面稍后回来查看结果!",myDrawings:"我的绘图",aiDrawingSquare:"AI绘画广场",sizeAdjustment:"尺寸调整",keywordSearchPlaceholder:"prompt关键词搜索"},Fx={membershipMarket:"会员商场",sizeAdjustment:"尺寸调整",memberPackage:"会员限时套餐",permanentAddOnCard:"叠加永久次卡",baseModelQuota:"普通积分",advancedModelQuota:"高级积分",MJDrawingQuota:"绘画积分",packageValidity:"套餐有效期",days:"天",permanent:"永久",points:"积分",welcomeTipMobile:"尽情探索,欢迎光临我们的在线商店!",welcomeTipDesktop:"尽情探索,欢迎光临我们的在线商店、感谢您选择我们、让我们一同开启愉悦的购物之旅!",paymentNotEnabled:"管理员还未开启支付!",purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotComplete:"您还没有支付成功哟!",wechat:"微信",alipay:"支付宝",wechatPay:"微信支付",alipayPay:"支付宝支付",paymentSuccess:"恭喜你支付成功、祝您使用愉快!",paymentTimeout:"支付超时,请重新下单!",productPayment:"商品支付",amountDue:"需要支付:",packageName:"套餐名称:",packageDescription:"套餐描述:",siteAdminEnabledRedirect:"当前站长开通了跳转支付",clickToPay:"点击前往支付",completePaymentWithin:"请在",timeToCompletePayment:"时间内完成支付!",open:"打开",scanToPay:"扫码支付"},Px={title:"思维导图",yourNeeds:"您的需求?",inputPlaceholder:"请输入您想要生成内容的简单描述、AI将为您输出一份完整的markdown内容及其思维导图!",generateMindMapButton:"智能生成生成思维导图",contentRequirements:"内容需求",tryDemoButton:"试试示例",usageCredits:"每次使用消耗基础积分: 1",exportHTML:"导出HTML",exportPNG:"导出PNG",exportSVG:"导出SVG"},kx={defaultSignature:"我是一台基于深度学习和自然语言处理技术的 AI 机器人,旨在为用户提供高效、精准、个性化的智能服务。",syncComplete:"已同步数据完成",personalCenter:"个人中心",logOut:"退出登录",myUsageRecord:"我在本站的使用记录",basicModelCredits:"基础模型积分:",advancedModelCredits:"高级模型积分:",basicModelUsage:"基础模型使用:",advancedModelUsage:"高级模型使用:",drawingUsageCredits:"绘画使用积分:",bindWeChat:"绑定微信:",clickToBindWeChat:"点击绑定微信",weChatBound:"已绑定微信",syncVisitorData:"点击同步访客数据",points:"积分",membershipExpiration:"会员过期时间:",editInfoDescription:"编辑个人信息、查看更多详情",myDetails:"我的详情",myWallet:"我的钱包",basicInfo:"基础信息",userBasicSettings:"用户基础设置",avatarPlaceholder:"请填写头像地址",usernamePlaceholder:"请编辑您的用户名",signaturePlaceholder:"请编辑您的签名",passwordManagement:"密码管理",inviteBenefits:"邀请得福利",clickToLogin:"点击登入",notLoggedIn:"未登录",avatar:"头像",username:"用户名称",email:"用户邮箱",inviteeStatus:"受邀人状态",inviteTime:"邀请时间",rewardStatus:"获得奖励状态",certified:"已认证",notActivated:"未激活",rewardReceived:"已领取邀请奖励",waitingConfirmation:"等待受邀人确认",linkGeneratedSuccess:"生成邀请链接成功",generateLinkFirst:"请先生成您的专属邀请链接!",linkCopiedSuccess:"复制专属邀请链接成功!",copyNotSupported:"当前设置不支持自动复制、手动复制吧!",inviteForBenefits:"邀用户、得福利!",myInviteCode:"我的邀请码",generateInviteCode:"生成专属邀请码",copyInviteLink:"复制专属邀请链接",inviteOneUser:"邀请一位用户赠送",basicModelCredits1:"积分基础模型额度+",advancedModelCredits1:"积分高级模型额度+",mjDrawingCredits:"MJ绘画积分额度",receiveInvitation:"收到邀请用户获得",creditsEnd:"积分",invitationRecord:"邀请记录",passwordMinLength:"密码最短长度为6位数",passwordMaxLength:"密码最长长度为30位数",enterPassword:"请输入密码",reenterPassword:"请再次输入密码",passwordsNotMatch:"两次密码输入不一致",passwordUpdateSuccess:"密码更新成功、请重新登录系统!",changeYourPassword:"变更您的密码",oldPassword:"旧密码",newPassword:"新密码",confirmPassword:"确认密码",reloginAfterPasswordChange:"更新密码完成后将重新登录!",updateYourPassword:"更新您的密码",passwordRequirements:"密码要求",newPasswordInstructions:"要创建一个新的密码,你必须满足以下所有要求。",minimumCharacters:"最少6个字符",maximumCharacters:"最多30个字符",requireNumber:"至少带有一个数字",orderNumber:"订单编号",rechargeType:"充值类型",basicModelQuota:"普通积分",advancedModelQuota:"高级积分",mjDrawingQuota:"绘画积分",validity:"有效期",rechargeTime:"充值时间",enterCardSecret:"请先填写卡密!",cardRedeemSuccess:"卡密兑换成功、祝您使用愉快!",userWalletBalance:"用户钱包余额",basicModelBalance:"基础模型余额",creditUsageNote:"每次对话根据模型消费不同积分!",advancedModelBalance:"高级模型余额",modelConsumptionNote:"每次对话根据模型消费不同积分!",mjDrawingBalance:"MJ绘画余额",drawingConsumptionNote:"根据画图动作消耗不同的积分!",cardRecharge:"卡密充值",enterCardDetails:"请粘贴或填写您的卡密信息!",exchange:"兑换",buyCardSecret:"购买卡密",rechargeRecords:"充值记录",packagePurchase:"套餐购买",buyPackage:"购买套餐"},Tx={signInReward:"签到奖励",themeSwitch:"主题切换",personalCenter:"个人中心",loginAccount:"登录账户"},Ix={doNotRemind24h:"我已知晓"},Lx={enterUsername:"请输入用户名",usernameLength:"用户名长度应为 2 到 30 个字符",enterPassword:"请输入密码",passwordLength:"密码长度应为 6 到 30 个字符",enterEmail:"请输入邮箱地址",enterPhone:"请输入手机号码",enterEmailOrPhone:"请输入邮箱地址或手机号码",emailValid:"请输入正确的邮箱地址",enterCaptcha:"请填写图形验证码",emailPhone:"邮箱 / 手机号",email:"邮箱",phone:"手机号",registrationSuccess:"账户注册成功、开始体验吧!",loginSuccess:"账户登录成功、开始体验吧!",registerTitle:"注册",enterContact:"请填写您的",enterCode:"请填写验证码",sendVerificationCode:"发送验证码",optionalInvitationCode:"邀请码[非必填]",registerAccount:"注册账户",alreadyHaveAccount:"已经有帐号?",goToLogin:"去登录",password:"密码",enterYourPassword:"请输入您的账户密码",rememberAccount:"记住帐号",forgotPassword:"忘记密码?",loginAccount:"登录账户",noAccount:"还没有帐号?",register:"去注册",orUse:"或使用",scanLogin:"扫码登录",wechatLogin:"微信登录",wechatScanFailed:"不使用微信扫码登录?试试",useWechatScan:"使用微信扫码登录"},Rx={orderAmount:"订单金额",productType:"商品类型",status:"状态",commissionRate:"佣金比例",commission:"佣金",orderTime:"订购时间",purchasePackage:"购买套餐",accounted:"已入账",generateInviteCodeSuccess:"生成邀请码成功",withdrawalTime:"提现时间",withdrawalAmount:"提现金额",withdrawalChannel:"提现渠道",withdrawalStatus:"提现状态",withdrawalRemarks:"提现备注",auditor:"审核人",alipay:"支付宝",wechat:"微信",paid:"已打款",rejected:"被拒绝",inReview:"审核中",avatar:"头像",username:"用户名",email:"邮箱",inviteeStatus:"受邀人状态",registered:"已注册",pendingActivation:"待激活",registrationTime:"注册时间",lastLogin:"最后登录",requestInviteCodeFirst:"请先申请你的邀请码",linkCopiedSuccess:"复制推荐链接成功",title:"推介计划",description:"加入我们,共享成功!欢迎来到我们的分销页面,成为我们的合作伙伴,一同开创美好未来!",defaultSalesOutletName:"新秀推荐官",myReferrals:"我的推介",currencyUnit:"元",remainingAmount:"剩余可提金额",withdrawingAmount:"提现中金额",withdrawNow:"立即提现",minimumWithdrawalPrefix:"最低",minimumWithdrawalSuffix:"元可提现",purchaseOrderCount:"购买订单数量",promotionLinkVisits:"推广链接访问次数",registeredUsers:"注册用户",referralEarnings:"推介收益",referralEarningsDescription:"推介的用户注册购买产品后返佣金额",percentage:"百分比",applyForAdvancedAgent:"申请成为高级代理",contactAdminForAdvancedAgent:"联系站长申请高级代理可享超高返佣",joinAsPartner:"加入我们成为合伙人",partnerDescription:"加入我们成为合伙人共同运营社区、合作双赢!",winTogether:"合作共赢,携手共进",referralLink:"推荐链接:",apply:"申请",referralRecordsTab:"推介记录",withdrawalRecordsTab:"提现记录",registeredUsersTab:"注册用户",inviteFriends:"邀好友、赠套餐卡密、享充值返佣!",inviteLink:"邀请链接",copy:"复制",inviteBenefits1:"邀请好友双方都可享受一定额度的永久次卡奖励",inviteBenefits2Prefix:"邀请好友充值,您可获得充值金额的",inviteBenefits2Suffix:"%返佣",enterWithdrawalAmount:"请填写你的提款金额!",selectWithdrawalChannel:"请选择你的提款渠道!",enterContactInfo:"请填写您的联系方式并备注!",optionalRemark:"如有特殊情况、请备注说明!",withdrawalSuccess:"申请提现成功、请耐心等待审核!",withdrawalApplicationForm:"提款申请表",contactInformation:"联系方式",withdrawalRemark:"提款备注",enterWithdrawalRemark:"请填写你的提款备注!",applyWithdrawal:"申 请 提 现"},Nx={purchaseSuccess:"购买成功、祝您使用愉快!",paymentNotSuccessful:"您还没有支付成功哟!",orderConfirmationTitle:"订单确认",orderConfirmationContent:"欢迎选购、确定购买",thinkAgain:"我再想想",confirmPurchase:"确认购买",paymentNotEnabled:"管理员还未开启支付!",selectProducts:"选购套餐",basicModelQuota:"基础积分",advancedModelQuota:"高级积分",drawingQuota:"绘画积分",buyPackage:"购买套餐"},Ox={1:"注册赠送",2:"受邀请赠送",3:"邀请他人赠送",4:"购买卡密充值",5:"管理员赠送",6:"扫码购买充值",7:"MJ绘画失败退款",8:"签到奖励"},Mx={0:"未支付",1:"已支付",2:"支付失败",3:"支付超时"},Ux={logoutSuccess:"登出账户成功!"},Hx={language:Cx,common:_x,chat:yx,app:Ax,setting:Sx,store:Dx,draw:Bx,pay:Fx,mindmap:Px,usercenter:kx,siderBar:Tx,notice:Ix,login:Lx,share:Rx,goods:Nx,rechargeTypes:Ox,orderStatus:Mx,messages:Ux};fu();localStorage.getItem("appLanguage");const Wx="zh-CN",w0=Vh({locale:Wx,fallbackLocale:"en-US",allowComposition:!0,messages:{"en-US":bx,"zh-CN":Hx}}),Dm=w0.global.t;function jx(e){e.use(w0)}function $x(){const e=Ss(),t=pc(),r=ge(()=>e.theme==="auto"?t.value==="dark":e.theme==="dark"),n=ge(()=>r.value?nr:void 0),o=ge(()=>r.value?{common:{}}:{common:{primaryColor:"#409eff"}}),a={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF",baseColor:"#ffffff"},Switch:{railColorActive:"#5A91FCFF"},Layout:{}},i={common:{primaryColor:"#5A91FCFF",primaryColorHover:"#3074F8FF",primaryColorPressed:"#3671E4FF"},Skeleton:{color:"#F4F3F3FF",colorEnd:"#F1F0F0FF"},Layout:{}};return St(()=>r.value,l=>{l?document.documentElement.classList.add("dark"):document.documentElement.classList.remove("dark")},{immediate:!0}),{theme:n,themeOverrides:o,lightThemeOverrides:i,darkThemeOverrides:a}}var A0={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(re,function(){return function(r){var n={};function o(a){if(n[a])return n[a].exports;var i=n[a]={i:a,l:!1,exports:{}};return r[a].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=r,o.c=n,o.d=function(a,i,l){o.o(a,i)||Object.defineProperty(a,i,{enumerable:!0,get:l})},o.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},o.t=function(a,i){if(1&i&&(a=o(a)),8&i||4&i&&typeof a=="object"&&a&&a.__esModule)return a;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:a}),2&i&&typeof a!="string")for(var f in a)o.d(l,f,(function(c){return a[c]}).bind(null,f));return l},o.n=function(a){var i=a&&a.__esModule?function(){return a.default}:function(){return a};return o.d(i,"a",i),i},o.o=function(a,i){return Object.prototype.hasOwnProperty.call(a,i)},o.p="",o(o.s=0)}([function(r,n,o){var a,i,l=o(1)(),f=o(3),c=o(4),u=o(6),h=function(){var s=new c;return a=s.getResult(),i=new u,this};h.prototype={getSoftwareVersion:function(){return"0.1.11"},getBrowserData:function(){return a},getFingerprint:function(){var s="|",d=a.ua,x=this.getScreenPrint(),p=this.getPlugins(),m=this.getFonts(),E=this.isLocalStorage(),g=this.isSessionStorage(),v=this.getTimeZone(),b=this.getLanguage(),y=this.getSystemLanguage(),_=this.isCookie(),A=this.getCanvasPrint();return f(d+s+x+s+p+s+m+s+E+s+g+s+v+s+b+s+y+s+_+s+A,256)},getCustomFingerprint:function(){for(var s="|",d="",x=0;x>>16)*h&65535)<<16)&4294967295)<<15|d>>>17))*s+(((d>>>16)*s&65535)<<16)&4294967295)<<13|c>>>19))+((5*(c>>>16)&65535)<<16)&4294967295))+((58964+(u>>>16)&65535)<<16);switch(d=0,l){case 3:d^=(255&a.charCodeAt(x+2))<<16;case 2:d^=(255&a.charCodeAt(x+1))<<8;case 1:c^=d=(65535&(d=(d=(65535&(d^=255&a.charCodeAt(x)))*h+(((d>>>16)*h&65535)<<16)&4294967295)<<15|d>>>17))*s+(((d>>>16)*s&65535)<<16)&4294967295}return c^=a.length,c=2246822507*(65535&(c^=c>>>16))+((2246822507*(c>>>16)&65535)<<16)&4294967295,c=3266489909*(65535&(c^=c>>>13))+((3266489909*(c>>>16)&65535)<<16)&4294967295,(c^=c>>>16)>>>0}},function(r,n,o){var a;(function(i,l){var f="function",c="undefined",u="object",h="string",s="model",d="name",x="type",p="vendor",m="version",E="architecture",g="console",v="mobile",b="tablet",y="smarttv",_="wearable",A="embedded",D="Amazon",B="Apple",S="ASUS",P="BlackBerry",k="Firefox",I="Google",K="Huawei",Y="LG",q="Microsoft",se="Motorola",oe="Opera",ce="Samsung",ae="Sony",L="Xiaomi",U="Zebra",W="Facebook",N=function(F){var H={};for(var j in F)H[F[j].toUpperCase()]=F[j];return H},ue=function(F,H){return typeof F===h&&te(H).indexOf(te(F))!==-1},te=function(F){return F.toLowerCase()},T=function(F,H){if(typeof F===h)return F=F.replace(/^\s\s*/,"").replace(/\s\s*$/,""),typeof H===c?F:F.substring(0,255)},O=function(F,H){for(var j,J,X,Q,_e,he,ke=0;ke0?Q.length==2?typeof Q[1]==f?this[Q[0]]=Q[1].call(this,he):this[Q[0]]=Q[1]:Q.length==3?typeof Q[1]!==f||Q[1].exec&&Q[1].test?this[Q[0]]=he?he.replace(Q[1],Q[2]):l:this[Q[0]]=he?Q[1].call(this,he,Q[2]):l:Q.length==4&&(this[Q[0]]=he?Q[3].call(this,he.replace(Q[1],Q[2])):l):this[Q]=he||l;ke+=2}},G=function(F,H){for(var j in H)if(typeof H[j]===u&&H[j].length>0){for(var J=0;J255?T(X,255):X,this},this.setUA(j),this};ee.VERSION="0.7.30",ee.BROWSER=N([d,m,"major"]),ee.CPU=N([E]),ee.DEVICE=N([s,p,x,g,v,y,b,_,A]),ee.ENGINE=ee.OS=N([d,m]),typeof n!==c?(typeof r!==c&&r.exports&&(n=r.exports=ee),n.UAParser=ee):o(5)?(a=(function(){return ee}).call(n,o,n,r))===l||(r.exports=a):typeof i!==c&&(i.UAParser=ee);var w=typeof i!==c&&(i.jQuery||i.Zepto);if(w&&!w.ua){var C=new ee;w.ua=C.getResult(),w.ua.get=function(){return C.getUA()},w.ua.set=function(F){C.setUA(F);var H=C.getResult();for(var j in H)w.ua[j]=H[j]}}})(typeof window=="object"?window:this)},function(r,n){(function(o){r.exports=o}).call(this,{})},function(r,n){r.exports=function(){var o=["monospace","sans-serif","serif"],a=document.getElementsByTagName("body")[0],i=document.createElement("span");i.style.fontSize="72px",i.innerHTML="mmmmmmmmmmlli";var l={},f={};for(var c in o)i.style.fontFamily=o[c],a.appendChild(i),l[o[c]]=i.offsetWidth,f[o[c]]=i.offsetHeight,a.removeChild(i);this.detect=function(u){var h=!1;for(var s in o){i.style.fontFamily=u+","+o[s],a.appendChild(i);var d=i.offsetWidth!=l[o[s]]||i.offsetHeight!=f[o[s]];a.removeChild(i),h=h||d}return h}}}])})})(A0);var Gx=A0.exports;/*! - * vue-router v4.3.0 - * (c) 2024 Eduardo San Martin Morote - * @license MIT - */const yt=typeof document<"u";function Vx(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const me=Object.assign;function Dn(e,t){const r={};for(const n in t){const o=t[n];r[n]=$e(o)?o.map(e):e(o)}return r}const Wt=()=>{},$e=Array.isArray,S0=/#/g,qx=/&/g,zx=/\//g,Kx=/=/g,Yx=/\?/g,D0=/\+/g,Xx=/%5B/g,Qx=/%5D/g,B0=/%5E/g,Jx=/%60/g,F0=/%7B/g,Zx=/%7C/g,P0=/%7D/g,ep=/%20/g;function ka(e){return encodeURI(""+e).replace(Zx,"|").replace(Xx,"[").replace(Qx,"]")}function tp(e){return ka(e).replace(F0,"{").replace(P0,"}").replace(B0,"^")}function ra(e){return ka(e).replace(D0,"%2B").replace(ep,"+").replace(S0,"%23").replace(qx,"%26").replace(Jx,"`").replace(F0,"{").replace(P0,"}").replace(B0,"^")}function rp(e){return ra(e).replace(Kx,"%3D")}function np(e){return ka(e).replace(S0,"%23").replace(Yx,"%3F")}function ap(e){return e==null?"":np(e).replace(zx,"%2F")}function Qt(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const op=/\/$/,ip=e=>e.replace(op,"");function Bn(e,t,r="/"){let n,o={},a="",i="";const l=t.indexOf("#");let f=t.indexOf("?");return l=0&&(f=-1),f>-1&&(n=t.slice(0,f),a=t.slice(f+1,l>-1?l:t.length),o=e(a)),l>-1&&(n=n||t.slice(0,l),i=t.slice(l,t.length)),n=up(n??t,r),{fullPath:n+(a&&"?")+a+i,path:n,query:o,hash:Qt(i)}}function sp(e,t){const r=t.query?e(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function ki(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function cp(e,t,r){const n=t.matched.length-1,o=r.matched.length-1;return n>-1&&n===o&&kt(t.matched[n],r.matched[o])&&k0(t.params,r.params)&&e(t.query)===e(r.query)&&t.hash===r.hash}function kt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function k0(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const r in e)if(!lp(e[r],t[r]))return!1;return!0}function lp(e,t){return $e(e)?Ti(e,t):$e(t)?Ti(t,e):e===t}function Ti(e,t){return $e(t)?e.length===t.length&&e.every((r,n)=>r===t[n]):e.length===1&&e[0]===t}function up(e,t){if(e.startsWith("/"))return e;if(!e)return t;const r=t.split("/"),n=e.split("/"),o=n[n.length-1];(o===".."||o===".")&&n.push("");let a=r.length-1,i,l;for(i=0;i1&&a--;else break;return r.slice(0,a).join("/")+"/"+n.slice(i).join("/")}var Jt;(function(e){e.pop="pop",e.push="push"})(Jt||(Jt={}));var jt;(function(e){e.back="back",e.forward="forward",e.unknown=""})(jt||(jt={}));function fp(e){if(!e)if(yt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ip(e)}const dp=/^[^#]+#/;function hp(e,t){return e.replace(dp,"#")+t}function xp(e,t){const r=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-r.left-(t.left||0),top:n.top-r.top-(t.top||0)}}const Pr=()=>({left:window.scrollX,top:window.scrollY});function pp(e){let t;if("el"in e){const r=e.el,n=typeof r=="string"&&r.startsWith("#"),o=typeof r=="string"?n?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!o)return;t=xp(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ii(e,t){return(history.state?history.state.position-t:-1)+e}const na=new Map;function mp(e,t){na.set(e,t)}function gp(e){const t=na.get(e);return na.delete(e),t}let vp=()=>location.protocol+"//"+location.host;function T0(e,t){const{pathname:r,search:n,hash:o}=t,a=e.indexOf("#");if(a>-1){let l=o.includes(e.slice(a))?e.slice(a).length:1,f=o.slice(l);return f[0]!=="/"&&(f="/"+f),ki(f,"")}return ki(r,e)+n+o}function Ep(e,t,r,n){let o=[],a=[],i=null;const l=({state:s})=>{const d=T0(e,location),x=r.value,p=t.value;let m=0;if(s){if(r.value=d,t.value=s,i&&i===x){i=null;return}m=p?s.position-p.position:0}else n(d);o.forEach(E=>{E(r.value,x,{delta:m,type:Jt.pop,direction:m?m>0?jt.forward:jt.back:jt.unknown})})};function f(){i=r.value}function c(s){o.push(s);const d=()=>{const x=o.indexOf(s);x>-1&&o.splice(x,1)};return a.push(d),d}function u(){const{history:s}=window;s.state&&s.replaceState(me({},s.state,{scroll:Pr()}),"")}function h(){for(const s of a)s();a=[],window.removeEventListener("popstate",l),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",l),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:f,listen:c,destroy:h}}function Li(e,t,r,n=!1,o=!1){return{back:e,current:t,forward:r,replaced:n,position:window.history.length,scroll:o?Pr():null}}function bp(e){const{history:t,location:r}=window,n={value:T0(e,r)},o={value:t.state};o.value||a(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(f,c,u){const h=e.indexOf("#"),s=h>-1?(r.host&&document.querySelector("base")?e:e.slice(h))+f:vp()+e+f;try{t[u?"replaceState":"pushState"](c,"",s),o.value=c}catch(d){console.error(d),r[u?"replace":"assign"](s)}}function i(f,c){const u=me({},t.state,Li(o.value.back,f,o.value.forward,!0),c,{position:o.value.position});a(f,u,!0),n.value=f}function l(f,c){const u=me({},o.value,t.state,{forward:f,scroll:Pr()});a(u.current,u,!0);const h=me({},Li(n.value,f,null),{position:u.position+1},c);a(f,h,!1),n.value=f}return{location:n,state:o,push:l,replace:i}}function Cp(e){e=fp(e);const t=bp(e),r=Ep(e,t.state,t.location,t.replace);function n(a,i=!0){i||r.pauseListeners(),history.go(a)}const o=me({location:"",base:e,go:n,createHref:hp.bind(null,e)},t,r);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function _p(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Cp(e)}function yp(e){return typeof e=="string"||e&&typeof e=="object"}function I0(e){return typeof e=="string"||typeof e=="symbol"}const it={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},L0=Symbol("");var Ri;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ri||(Ri={}));function Tt(e,t){return me(new Error,{type:e,[L0]:!0},t)}function Qe(e,t){return e instanceof Error&&L0 in e&&(t==null||!!(e.type&t))}const Ni="[^/]+?",wp={sensitive:!1,strict:!1,start:!0,end:!0},Ap=/[.+*?^${}()[\]/\\]/g;function Sp(e,t){const r=me({},wp,t),n=[];let o=r.start?"^":"";const a=[];for(const c of e){const u=c.length?[]:[90];r.strict&&!c.length&&(o+="/");for(let h=0;ht.length?t.length===1&&t[0]===40+40?1:-1:0}function Bp(e,t){let r=0;const n=e.score,o=t.score;for(;r0&&t[t.length-1]<0}const Fp={type:0,value:""},Pp=/[a-zA-Z0-9_]/;function kp(e){if(!e)return[[]];if(e==="/")return[[Fp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(d){throw new Error(`ERR (${r})/"${c}": ${d}`)}let r=0,n=r;const o=[];let a;function i(){a&&o.push(a),a=[]}let l=0,f,c="",u="";function h(){c&&(r===0?a.push({type:0,value:c}):r===1||r===2||r===3?(a.length>1&&(f==="*"||f==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:c,regexp:u,repeatable:f==="*"||f==="+",optional:f==="*"||f==="?"})):t("Invalid state to consume buffer"),c="")}function s(){c+=f}for(;l{i(g)}:Wt}function i(u){if(I0(u)){const h=n.get(u);h&&(n.delete(u),r.splice(r.indexOf(h),1),h.children.forEach(i),h.alias.forEach(i))}else{const h=r.indexOf(u);h>-1&&(r.splice(h,1),u.record.name&&n.delete(u.record.name),u.children.forEach(i),u.alias.forEach(i))}}function l(){return r}function f(u){let h=0;for(;h=0&&(u.record.path!==r[h].record.path||!R0(u,r[h]));)h++;r.splice(h,0,u),u.record.name&&!Ui(u)&&n.set(u.record.name,u)}function c(u,h){let s,d={},x,p;if("name"in u&&u.name){if(s=n.get(u.name),!s)throw Tt(1,{location:u});p=s.record.name,d=me(Mi(h.params,s.keys.filter(g=>!g.optional).concat(s.parent?s.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),u.params&&Mi(u.params,s.keys.map(g=>g.name))),x=s.stringify(d)}else if(u.path!=null)x=u.path,s=r.find(g=>g.re.test(x)),s&&(d=s.parse(x),p=s.record.name);else{if(s=h.name?n.get(h.name):r.find(g=>g.re.test(h.path)),!s)throw Tt(1,{location:u,currentLocation:h});p=s.record.name,d=me({},h.params,u.params),x=s.stringify(d)}const m=[];let E=s;for(;E;)m.unshift(E.record),E=E.parent;return{name:p,path:x,params:d,matched:m,meta:Np(m)}}return e.forEach(u=>a(u)),{addRoute:a,resolve:c,removeRoute:i,getRoutes:l,getRecordMatcher:o}}function Mi(e,t){const r={};for(const n of t)n in e&&(r[n]=e[n]);return r}function Lp(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Rp(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Rp(e){const t={},r=e.props||!1;if("component"in e)t.default=r;else for(const n in e.components)t[n]=typeof r=="object"?r[n]:r;return t}function Ui(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Np(e){return e.reduce((t,r)=>me(t,r.meta),{})}function Hi(e,t){const r={};for(const n in e)r[n]=n in t?t[n]:e[n];return r}function R0(e,t){return t.children.some(r=>r===e||R0(e,r))}function Op(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oa&&ra(a)):[n&&ra(n)]).forEach(a=>{a!==void 0&&(t+=(t.length?"&":"")+r,a!=null&&(t+="="+a))})}return t}function Mp(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=$e(n)?n.map(o=>o==null?null:""+o):n==null?n:""+n)}return t}const Up=Symbol(""),ji=Symbol(""),kr=Symbol(""),Ta=Symbol(""),aa=Symbol("");function Mt(){let e=[];function t(n){return e.push(n),()=>{const o=e.indexOf(n);o>-1&&e.splice(o,1)}}function r(){e=[]}return{add:t,list:()=>e.slice(),reset:r}}function lt(e,t,r,n,o,a=i=>i()){const i=n&&(n.enterCallbacks[o]=n.enterCallbacks[o]||[]);return()=>new Promise((l,f)=>{const c=s=>{s===!1?f(Tt(4,{from:r,to:t})):s instanceof Error?f(s):yp(s)?f(Tt(2,{from:t,to:s})):(i&&n.enterCallbacks[o]===i&&typeof s=="function"&&i.push(s),l())},u=a(()=>e.call(n&&n.instances[o],t,r,c));let h=Promise.resolve(u);e.length<3&&(h=h.then(c)),h.catch(s=>f(s))})}function Fn(e,t,r,n,o=a=>a()){const a=[];for(const i of e)for(const l in i.components){let f=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Hp(f)){const u=(f.__vccOpts||f)[t];u&&a.push(lt(u,r,n,i,l,o))}else{let c=f();a.push(()=>c.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const h=Vx(u)?u.default:u;i.components[l]=h;const d=(h.__vccOpts||h)[t];return d&<(d,r,n,i,l,o)()}))}}return a}function Hp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function $i(e){const t=rt(kr),r=rt(Ta),n=ge(()=>t.resolve(Ie(e.to))),o=ge(()=>{const{matched:f}=n.value,{length:c}=f,u=f[c-1],h=r.matched;if(!u||!h.length)return-1;const s=h.findIndex(kt.bind(null,u));if(s>-1)return s;const d=Gi(f[c-2]);return c>1&&Gi(u)===d&&h[h.length-1].path!==d?h.findIndex(kt.bind(null,f[c-2])):s}),a=ge(()=>o.value>-1&&Gp(r.params,n.value.params)),i=ge(()=>o.value>-1&&o.value===r.matched.length-1&&k0(r.params,n.value.params));function l(f={}){return $p(f)?t[Ie(e.replace)?"replace":"push"](Ie(e.to)).catch(Wt):Promise.resolve()}return{route:n,href:ge(()=>n.value.href),isActive:a,isExactActive:i,navigate:l}}const Wp=tt({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:$i,setup(e,{slots:t}){const r=Xi($i(e)),{options:n}=rt(kr),o=ge(()=>({[Vi(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[Vi(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const a=t.default&&t.default(r);return e.custom?a:mt("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:o.value},a)}}}),jp=Wp;function $p(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Gp(e,t){for(const r in t){const n=t[r],o=e[r];if(typeof n=="string"){if(n!==o)return!1}else if(!$e(o)||o.length!==n.length||n.some((a,i)=>a!==o[i]))return!1}return!0}function Gi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Vi=(e,t,r)=>e??t??r,Vp=tt({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=rt(aa),o=ge(()=>e.route||n.value),a=rt(ji,0),i=ge(()=>{let c=Ie(a);const{matched:u}=o.value;let h;for(;(h=u[c])&&!h.components;)c++;return c}),l=ge(()=>o.value.matched[i.value]);Lr(ji,ge(()=>i.value+1)),Lr(Up,l),Lr(aa,o);const f=Je();return St(()=>[f.value,l.value,e.name],([c,u,h],[s,d,x])=>{u&&(u.instances[h]=c,d&&d!==u&&c&&c===s&&(u.leaveGuards.size||(u.leaveGuards=d.leaveGuards),u.updateGuards.size||(u.updateGuards=d.updateGuards))),c&&u&&(!d||!kt(u,d)||!s)&&(u.enterCallbacks[h]||[]).forEach(p=>p(c))},{flush:"post"}),()=>{const c=o.value,u=e.name,h=l.value,s=h&&h.components[u];if(!s)return qi(r.default,{Component:s,route:c});const d=h.props[u],x=d?d===!0?c.params:typeof d=="function"?d(c):d:null,m=mt(s,me({},x,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(h.instances[u]=null)},ref:f}));return qi(r.default,{Component:m,route:c})||m}}});function qi(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const qp=Vp;function zp(e){const t=Ip(e.routes,e),r=e.parseQuery||Op,n=e.stringifyQuery||Wi,o=e.history,a=Mt(),i=Mt(),l=Mt(),f=sa(it);let c=it;yt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Dn.bind(null,T=>""+T),h=Dn.bind(null,ap),s=Dn.bind(null,Qt);function d(T,O){let G,z;return I0(T)?(G=t.getRecordMatcher(T),z=O):z=T,t.addRoute(z,G)}function x(T){const O=t.getRecordMatcher(T);O&&t.removeRoute(O)}function p(){return t.getRoutes().map(T=>T.record)}function m(T){return!!t.getRecordMatcher(T)}function E(T,O){if(O=me({},O||f.value),typeof T=="string"){const C=Bn(r,T,O.path),F=t.resolve({path:C.path},O),H=o.createHref(C.fullPath);return me(C,F,{params:s(F.params),hash:Qt(C.hash),redirectedFrom:void 0,href:H})}let G;if(T.path!=null)G=me({},T,{path:Bn(r,T.path,O.path).path});else{const C=me({},T.params);for(const F in C)C[F]==null&&delete C[F];G=me({},T,{params:h(C)}),O.params=h(O.params)}const z=t.resolve(G,O),ie=T.hash||"";z.params=u(s(z.params));const ee=sp(n,me({},T,{hash:tp(ie),path:z.path})),w=o.createHref(ee);return me({fullPath:ee,hash:ie,query:n===Wi?Mp(T.query):T.query||{}},z,{redirectedFrom:void 0,href:w})}function g(T){return typeof T=="string"?Bn(r,T,f.value.path):me({},T)}function v(T,O){if(c!==T)return Tt(8,{from:O,to:T})}function b(T){return A(T)}function y(T){return b(me(g(T),{replace:!0}))}function _(T){const O=T.matched[T.matched.length-1];if(O&&O.redirect){const{redirect:G}=O;let z=typeof G=="function"?G(T):G;return typeof z=="string"&&(z=z.includes("?")||z.includes("#")?z=g(z):{path:z},z.params={}),me({query:T.query,hash:T.hash,params:z.path!=null?{}:T.params},z)}}function A(T,O){const G=c=E(T),z=f.value,ie=T.state,ee=T.force,w=T.replace===!0,C=_(G);if(C)return A(me(g(C),{state:typeof C=="object"?me({},ie,C.state):ie,force:ee,replace:w}),O||G);const F=G;F.redirectedFrom=O;let H;return!ee&&cp(n,z,G)&&(H=Tt(16,{to:F,from:z}),L(z,z,!0,!1)),(H?Promise.resolve(H):S(F,z)).catch(j=>Qe(j)?Qe(j,2)?j:ae(j):oe(j,F,z)).then(j=>{if(j){if(Qe(j,2))return A(me({replace:w},g(j.to),{state:typeof j.to=="object"?me({},ie,j.to.state):ie,force:ee}),O||F)}else j=k(F,z,!0,w,ie);return P(F,z,j),j})}function D(T,O){const G=v(T,O);return G?Promise.reject(G):Promise.resolve()}function B(T){const O=N.values().next().value;return O&&typeof O.runWithContext=="function"?O.runWithContext(T):T()}function S(T,O){let G;const[z,ie,ee]=Kp(T,O);G=Fn(z.reverse(),"beforeRouteLeave",T,O);for(const C of z)C.leaveGuards.forEach(F=>{G.push(lt(F,T,O))});const w=D.bind(null,T,O);return G.push(w),te(G).then(()=>{G=[];for(const C of a.list())G.push(lt(C,T,O));return G.push(w),te(G)}).then(()=>{G=Fn(ie,"beforeRouteUpdate",T,O);for(const C of ie)C.updateGuards.forEach(F=>{G.push(lt(F,T,O))});return G.push(w),te(G)}).then(()=>{G=[];for(const C of ee)if(C.beforeEnter)if($e(C.beforeEnter))for(const F of C.beforeEnter)G.push(lt(F,T,O));else G.push(lt(C.beforeEnter,T,O));return G.push(w),te(G)}).then(()=>(T.matched.forEach(C=>C.enterCallbacks={}),G=Fn(ee,"beforeRouteEnter",T,O,B),G.push(w),te(G))).then(()=>{G=[];for(const C of i.list())G.push(lt(C,T,O));return G.push(w),te(G)}).catch(C=>Qe(C,8)?C:Promise.reject(C))}function P(T,O,G){l.list().forEach(z=>B(()=>z(T,O,G)))}function k(T,O,G,z,ie){const ee=v(T,O);if(ee)return ee;const w=O===it,C=yt?history.state:{};G&&(z||w?o.replace(T.fullPath,me({scroll:w&&C&&C.scroll},ie)):o.push(T.fullPath,ie)),f.value=T,L(T,O,G,w),ae()}let I;function K(){I||(I=o.listen((T,O,G)=>{if(!ue.listening)return;const z=E(T),ie=_(z);if(ie){A(me(ie,{replace:!0}),z).catch(Wt);return}c=z;const ee=f.value;yt&&mp(Ii(ee.fullPath,G.delta),Pr()),S(z,ee).catch(w=>Qe(w,12)?w:Qe(w,2)?(A(w.to,z).then(C=>{Qe(C,20)&&!G.delta&&G.type===Jt.pop&&o.go(-1,!1)}).catch(Wt),Promise.reject()):(G.delta&&o.go(-G.delta,!1),oe(w,z,ee))).then(w=>{w=w||k(z,ee,!1),w&&(G.delta&&!Qe(w,8)?o.go(-G.delta,!1):G.type===Jt.pop&&Qe(w,20)&&o.go(-1,!1)),P(z,ee,w)}).catch(Wt)}))}let Y=Mt(),q=Mt(),se;function oe(T,O,G){ae(T);const z=q.list();return z.length?z.forEach(ie=>ie(T,O,G)):console.error(T),Promise.reject(T)}function ce(){return se&&f.value!==it?Promise.resolve():new Promise((T,O)=>{Y.add([T,O])})}function ae(T){return se||(se=!T,K(),Y.list().forEach(([O,G])=>T?G(T):O()),Y.reset()),T}function L(T,O,G,z){const{scrollBehavior:ie}=e;if(!yt||!ie)return Promise.resolve();const ee=!G&&gp(Ii(T.fullPath,0))||(z||!G)&&history.state&&history.state.scroll||null;return Ji().then(()=>ie(T,O,ee)).then(w=>w&&pp(w)).catch(w=>oe(w,T,O))}const U=T=>o.go(T);let W;const N=new Set,ue={currentRoute:f,listening:!0,addRoute:d,removeRoute:x,hasRoute:m,getRoutes:p,resolve:E,options:e,push:b,replace:y,go:U,back:()=>U(-1),forward:()=>U(1),beforeEach:a.add,beforeResolve:i.add,afterEach:l.add,onError:q.add,isReady:ce,install(T){const O=this;T.component("RouterLink",jp),T.component("RouterView",qp),T.config.globalProperties.$router=O,Object.defineProperty(T.config.globalProperties,"$route",{enumerable:!0,get:()=>Ie(f)}),yt&&!W&&f.value===it&&(W=!0,b(o.location).catch(ie=>{}));const G={};for(const ie in it)Object.defineProperty(G,ie,{get:()=>f.value[ie],enumerable:!0});T.provide(kr,O),T.provide(Ta,rc(G)),T.provide(aa,f);const z=T.unmount;N.add(T),T.unmount=function(){N.delete(T),N.size<1&&(c=it,I&&I(),I=null,f.value=it,W=!1,se=!1),z()}}};function te(T){return T.reduce((O,G)=>O.then(()=>B(G)),Promise.resolve())}return ue}function Kp(e,t){const r=[],n=[],o=[],a=Math.max(t.matched.length,e.matched.length);for(let i=0;ikt(c,l))?n.push(l):r.push(l));const f=e.matched[i];f&&(t.matched.find(c=>kt(c,f))||o.push(f))}return[r,n,o]}function Yp(){return rt(kr)}function Bm(){return rt(Ta)}const Xp=tt({__name:"App",setup(e){const t=new Gx.ClientJS,r=Ys(),n=t.getFingerprint(),o=Kt(),a=ed(),i=Yp();a.updateFingerprint(n);const{theme:l,lightThemeOverrides:f,darkThemeOverrides:c}=$x(),u=ge(()=>{var v;return(v=o.globalConfig)==null?void 0:v.clientHomePath}),h=ge(()=>{var v;return((v=o.globalConfig)==null?void 0:v.clientFavoIconPath)||_c}),s=ge(()=>{var v;return Number((v=o.globalConfig)==null?void 0:v.isAutoOpenNotice)===1});async function d(){var _;const v=((_=o.globalConfig)==null?void 0:_.baiduCode)||"";if(!v)return;const b=document.createElement("script"),y=v.replace(/([\s\S]*?)<\/script>/gi,"$1");b.innerHTML=y,document.head.appendChild(b)}function x(){var v;document.title=((v=o.globalConfig)==null?void 0:v.siteName)||"AI"}const p=ge(()=>l.value?c:f);function m(){u.value&&i.replace(u.value)}function E(){const v=Fe.get("showNotice");(!v&&s.value||Date.now()>Number(v)&&s.value)&&a.updateNoticeDialog(!0)}const g=document.createElement("link");return g.rel="shortcut icon",g.href=h.value,document.getElementsByTagName("head")[0].appendChild(g),Zi(async()=>{m(),await r.getBaseModelConfig(),d(),x(),E()}),(v,b)=>{const y=nc("RouterView");return zi(),Ki(Ie(gc),{class:"h-full",theme:Ie(l),"theme-overrides":p.value,locale:v.language,"date-locale":Ie(mc),"preflight-style-disabled":""},{default:wt(()=>[ut(Ie(yc),null,{default:wt(()=>[ut(y)]),_:1}),ut(Ie(vc))]),_:1},8,["theme","theme-overrides","locale","date-locale"])}}});function Qp(){const e=document.createElement("meta");e.name="naive-ui-style",document.head.appendChild(e)}function Jp(){Qp()}const Zp=()=>{var r,n,o,a,i,l;const e=document.createElement("style"),t=` - ::-webkit-scrollbar { - background-color: transparent; - width: ${(r=Rr.Scrollbar.common)==null?void 0:r.scrollbarWidth}; - } - ::-webkit-scrollbar-thumb { - background-color: ${(n=Rr.Scrollbar.common)==null?void 0:n.scrollbarColor}; - border-radius: ${(o=Rr.Scrollbar.common)==null?void 0:o.scrollbarBorderRadius}; - } - html.dark ::-webkit-scrollbar { - background-color: transparent; - width: ${(a=nr.Scrollbar.common)==null?void 0:a.scrollbarWidth}; - } - html.dark ::-webkit-scrollbar-thumb { - background-color: ${(i=nr.Scrollbar.common)==null?void 0:i.scrollbarColor}; - border-radius: ${(l=nr.Scrollbar.common)==null?void 0:l.scrollbarBorderRadius}; - } - `;e.innerHTML=t,document.head.appendChild(e)};function em(e){e.beforeEach(async(t,r,n)=>{var a,i;(a=window.$loadingBar)==null||a.start();const o=Zf();if(o.userInfo.username){const l=(i=o.globalConfig)==null?void 0:i.clientMenuList,f=l?JSON.parse(l):[];f.length&&!f.includes(t.name)&&(o.globalConfig.clientHomePath&&o.globalConfig.clientHomePath!==""?n({path:o.globalConfig.clientHomePath}):n()),n()}else try{if(o.token&&await o.getUserInfo(),o.globalConfigLoading){let l=`${window.location.protocol}//${window.location.hostname}`;window.location.port&&(l+=`:${window.location.port}`),await o.getglobalConfig(l),o.globalConfig.clientHomePath?n({path:o.globalConfig.clientHomePath}):n()}t.path==="/500"?n({path:"/"}):n()}catch{t.path==="/500"?n({path:"/"}):n()}}),e.afterEach(t=>{var r;(r=window.$loadingBar)==null||r.finish()})}const tm=[{path:"/",name:"Layout",component:()=>ct(()=>import("./index-eaba389e.js"),["./index-eaba389e.js","./user-fa22762f.js","./useBasicLayout-18dd2ca5.js","./vue-c19408e5.js","./Right-153af9c5.js","./naive-ui-64ac446a.js","./_plugin-vue_export-helper-c27b6911.js","./crami-6a16f6dd.js","./vueuse-motion-563da5fd.js","./index-5212be5f.css"],import.meta.url),redirect:"/chat",children:[{path:"/home",name:"Home",component:()=>ct(()=>import("./index-ca77edb1.js"),["./index-ca77edb1.js","./user-fa22762f.js","./vue-c19408e5.js","./_plugin-vue_export-helper-c27b6911.js","./naive-ui-64ac446a.js","./vueuse-motion-563da5fd.js","./index-756d601a.css"],import.meta.url)},{path:"/chat",name:"Chat",component:()=>ct(()=>import("./chat-f5a1bdb4.js"),["./chat-f5a1bdb4.js","./useBasicLayout-18dd2ca5.js","./vue-c19408e5.js","./naive-ui-64ac446a.js","./Right-153af9c5.js","./_plugin-vue_export-helper-c27b6911.js","./vueuse-motion-563da5fd.js","./chat-07fbf5d6.css"],import.meta.url)},{path:"user-center",name:"UserCenter",component:()=>ct(()=>import("./index-83541074.js"),["./index-83541074.js","./useBasicLayout-18dd2ca5.js","./vue-c19408e5.js","./naive-ui-64ac446a.js","./crami-6a16f6dd.js","./vueuse-motion-563da5fd.js"],import.meta.url)}]},{path:"/404",name:"404",component:()=>ct(()=>import("./index-a7781fa9.js"),["./index-a7781fa9.js","./vue-c19408e5.js","./naive-ui-64ac446a.js","./vueuse-motion-563da5fd.js"],import.meta.url)},{path:"/500",name:"500",component:()=>ct(()=>import("./index-cff48399.js"),["./index-cff48399.js","./vue-c19408e5.js","./naive-ui-64ac446a.js","./vueuse-motion-563da5fd.js","./index-404bb920.css"],import.meta.url)},{path:"/:pathMatch(.*)*",name:"notFound",redirect:"/404"}],oa=zp({history:_p(),routes:tm,scrollBehavior:()=>({left:0,top:0})});em(oa);async function rm(e){e.use(oa),await oa.isReady()}console.log=function(){};async function nm(){const e=ac(Xp);e.directive("focus",{mounted(n){n.focus()}}),Jp(),Zp(),id(e),jx(e),await rm(e);const{default:t}=await ct(()=>import("./v-viewer-ead8b014.js"),["./v-viewer-ead8b014.js","./vue-c19408e5.js"],import.meta.url);e.use(t);const{MotionPlugin:r}=await ct(()=>import("./vueuse-motion-563da5fd.js").then(n=>n.b),["./vueuse-motion-563da5fd.js","./vue-c19408e5.js"],import.meta.url);e.use(r),e.mount("#app")}nm();export{Pf as A,Rf as B,cm as C,pm as D,Cm as E,wm as F,Am as G,Sm as H,sm as I,bm as J,ct as _,xm as a,lm as b,dm as c,Kt as d,_m as e,um as f,Re as g,Em as h,vm as i,Ss as j,Xs as k,ym as l,Bm as m,Yp as n,Ys as o,Se as p,gm as q,oa as r,Fe as s,Dm as t,ed as u,mm as v,hm as w,Fl as x,Tl as y,fm as z}; diff --git a/src/DEVELOPMENT.md b/src/DEVELOPMENT.md deleted file mode 100644 index efa7d81..0000000 --- a/src/DEVELOPMENT.md +++ /dev/null @@ -1,58 +0,0 @@ -# 99AI 项目开发指引 - -## 项目结构 - -```plaintext -src/ -├── admin/ # 管理端 -├── chat/ # 用户端(对话页) -├── service/ # 后端服务 -└── build.sh # 一键打包脚本 -``` - ---- - -## 模块说明 - -### 1. 用户端(chat) - -- **位置:** `src/chat` -- **功能:** - - 使用 Vue.js 构建。 - - 支持 AI 对话、多模态分析、文件上传与解析等用户功能。 - ---- - -### 2. 管理端(admin) - -- **位置:** `src/admin` -- **功能:** - - 基于 [Fantastic Admin Basic](https://github.com/fantastic-admin/basic) 开源框架构建。 - - 超级管理员和普通管理员的后台管理页面。 - - 支持积分系统管理、模型配置、用户管理等功能。 - ---- - -### 3. 后端服务(service) - -- **位置:** `src/service` -- **功能:** - - 提供 API 接口,负责模型调用、业务逻辑处理与数据库交互。 - - 支持多模态模型、文件分析、用户积分系统等功能。 - - 使用 NestJS 构建,默认运行在 `http://localhost:9520`。 - ---- - -## 一键打包脚本 - -项目提供了 `build.sh` 脚本,用于快速打包整个项目: - -```bash -bash build.sh -``` - -执行后,所有模块将自动构建,构建后的文件存放在项目根目录的文件夹中。 - ---- - -如有其他问题,请查看项目根目录的文档或通过 [issue](https://github.com/vastxie/99AI/issues) 提交反馈。 diff --git a/src/admin/package.json b/src/admin/package.json index 7f0e997..6d18c82 100755 --- a/src/admin/package.json +++ b/src/admin/package.json @@ -1,6 +1,6 @@ { "type": "module", - "version": "4.0.0", + "version": "4.1.0", "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" diff --git a/src/admin/src/layouts/components/Menu/item.vue b/src/admin/src/layouts/components/Menu/item.vue index e21e07a..c28ade8 100644 --- a/src/admin/src/layouts/components/Menu/item.vue +++ b/src/admin/src/layouts/components/Menu/item.vue @@ -1,87 +1,148 @@ - - -